var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opener = _____WB$wombat$assign$function_____("opener");
(globalThis.webpackChunkextract_css=globalThis.webpackChunkextract_css||[]).push([["8016"],{139581:function(b,l,e){"use strict";e.d(l,{uN:()=>jt,we:()=>nt,LB:()=>Mn,Zj:()=>Bn,g4:()=>Ot,LO:()=>on,VT:()=>C,j2:()=>M,Dy:()=>A,Lg:()=>Bt,MA:()=>ze,ey:()=>F,VK:()=>ie,RJ:()=>ot,Ai:()=>Ze,hI:()=>J,Xo:()=>k,Cj:()=>Dr,pE:()=>W,y9:()=>Mr,_8:()=>I,O1:()=>qr});var r=e(174161),o=e(233284),n=e(739676);const a={display:"none"};function i(mn){let{id:Un,value:hr}=mn;return r.createElement("div",{id:Un,style:a},hr)}const c={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};function u(mn){let{id:Un,announcement:hr}=mn;return r.createElement("div",{id:Un,style:c,role:"status","aria-live":"assertive","aria-atomic":!0},hr)}function f(){const[mn,Un]=(0,r.useState)("");return{announce:(0,r.useCallback)(br=>{br!=null&&Un(br)},[]),announcement:mn}}const d=(0,r.createContext)(null);function h(mn){const Un=(0,r.useContext)(d);(0,r.useEffect)(()=>{if(!Un)throw new Error("useDndMonitor must be used within a children of <DndContext>");return Un(mn)},[mn,Un])}function g(){const[mn]=(0,r.useState)(()=>new Set),Un=(0,r.useCallback)(br=>(mn.add(br),()=>mn.delete(br)),[mn]);return[(0,r.useCallback)(br=>{let{type:io,event:Kr}=br;mn.forEach(xo=>{var Ho;return(Ho=xo[io])==null?void 0:Ho.call(xo,Kr)})},[mn]),Un]}const _={draggable:`
    To pick up a draggable item, press the space bar.
    While dragging, use the arrow keys to move the item.
    Press space again to drop the item in its new position, or press escape to cancel.
  `},p={onDragStart(mn){let{active:Un}=mn;return"Picked up draggable item "+Un.id+"."},onDragOver(mn){let{active:Un,over:hr}=mn;return hr?"Draggable item "+Un.id+" was moved over droppable area "+hr.id+".":"Draggable item "+Un.id+" is no longer over a droppable area."},onDragEnd(mn){let{active:Un,over:hr}=mn;return hr?"Draggable item "+Un.id+" was dropped over droppable area "+hr.id:"Draggable item "+Un.id+" was dropped."},onDragCancel(mn){let{active:Un}=mn;return"Dragging was cancelled. Draggable item "+Un.id+" was dropped."}};function y(mn){let{announcements:Un=p,container:hr,hiddenTextDescribedById:br,screenReaderInstructions:io=_}=mn;const{announce:Kr,announcement:xo}=f(),Ho=(0,n.Ld)("DndLiveRegion"),[bo,Ea]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{Ea(!0)},[]),h((0,r.useMemo)(()=>({onDragStart(Da){let{active:Za}=Da;Kr(Un.onDragStart({active:Za}))},onDragMove(Da){let{active:Za,over:Xa}=Da;Un.onDragMove&&Kr(Un.onDragMove({active:Za,over:Xa}))},onDragOver(Da){let{active:Za,over:Xa}=Da;Kr(Un.onDragOver({active:Za,over:Xa}))},onDragEnd(Da){let{active:Za,over:Xa}=Da;Kr(Un.onDragEnd({active:Za,over:Xa}))},onDragCancel(Da){let{active:Za,over:Xa}=Da;Kr(Un.onDragCancel({active:Za,over:Xa}))}}),[Kr,Un])),!bo)return null;const Ia=r.createElement(r.Fragment,null,r.createElement(i,{id:br,value:io.draggable}),r.createElement(u,{id:Ho,announcement:xo}));return hr?(0,o.createPortal)(Ia,hr):Ia}var O;(function(mn){mn.DragStart="dragStart",mn.DragMove="dragMove",mn.DragEnd="dragEnd",mn.DragCancel="dragCancel",mn.DragOver="dragOver",mn.RegisterDroppable="registerDroppable",mn.SetDroppableDisabled="setDroppableDisabled",mn.UnregisterDroppable="unregisterDroppable"})(O||(O={}));function P(){}function C(mn,Un){return(0,r.useMemo)(()=>({sensor:mn,options:Un??{}}),[mn,Un])}function A(){for(var mn=arguments.length,Un=new Array(mn),hr=0;hr<mn;hr++)Un[hr]=arguments[hr];return(0,r.useMemo)(()=>[...Un].filter(br=>br!=null),[...Un])}const S=Object.freeze({x:0,y:0});function T(mn,Un){return Math.sqrt(Math.pow(mn.x-Un.x,2)+Math.pow(mn.y-Un.y,2))}function s(mn,Un){const hr=(0,n.DC)(mn);if(!hr)return"0 0";const br={x:(hr.x-Un.left)/Un.width*100,y:(hr.y-Un.top)/Un.height*100};return br.x+"% "+br.y+"%"}function v(mn,Un){let{data:{value:hr}}=mn,{data:{value:br}}=Un;return hr-br}function m(mn,Un){let{data:{value:hr}}=mn,{data:{value:br}}=Un;return br-hr}function E(mn){let{left:Un,top:hr,height:br,width:io}=mn;return[{x:Un,y:hr},{x:Un+io,y:hr},{x:Un,y:hr+br},{x:Un+io,y:hr+br}]}function I(mn,Un){if(!mn||mn.length===0)return null;const[hr]=mn;return Un?hr[Un]:hr}function L(mn,Un,hr){return Un===void 0&&(Un=mn.left),hr===void 0&&(hr=mn.top),{x:Un+mn.width*.5,y:hr+mn.height*.5}}const W=mn=>{let{collisionRect:Un,droppableRects:hr,droppableContainers:br}=mn;const io=L(Un,Un.left,Un.top),Kr=[];for(const xo of br){const{id:Ho}=xo,bo=hr.get(Ho);if(bo){const Ea=T(L(bo),io);Kr.push({id:Ho,data:{droppableContainer:xo,value:Ea}})}}return Kr.sort(v)},F=mn=>{let{collisionRect:Un,droppableRects:hr,droppableContainers:br}=mn;const io=E(Un),Kr=[];for(const xo of br){const{id:Ho}=xo,bo=hr.get(Ho);if(bo){const Ea=E(bo),Ia=io.reduce((Za,Xa,ba)=>Za+T(Ea[ba],Xa),0),Da=Number((Ia/4).toFixed(4));Kr.push({id:Ho,data:{droppableContainer:xo,value:Da}})}}return Kr.sort(v)};function G(mn,Un){const hr=Math.max(Un.top,mn.top),br=Math.max(Un.left,mn.left),io=Math.min(Un.left+Un.width,mn.left+mn.width),Kr=Math.min(Un.top+Un.height,mn.top+mn.height),xo=io-br,Ho=Kr-hr;if(br<io&&hr<Kr){const bo=Un.width*Un.height,Ea=mn.width*mn.height,Ia=xo*Ho,Da=Ia/(bo+Ea-Ia);return Number(Da.toFixed(4))}return 0}const k=mn=>{let{collisionRect:Un,droppableRects:hr,droppableContainers:br}=mn;const io=[];for(const Kr of br){const{id:xo}=Kr,Ho=hr.get(xo);if(Ho){const bo=G(Ho,Un);bo>0&&io.push({id:xo,data:{droppableContainer:Kr,value:bo}})}}return io.sort(m)};function x(mn,Un){const{top:hr,left:br,bottom:io,right:Kr}=Un;return hr<=mn.y&&mn.y<=io&&br<=mn.x&&mn.x<=Kr}const M=mn=>{let{droppableContainers:Un,droppableRects:hr,pointerCoordinates:br}=mn;if(!br)return[];const io=[];for(const Kr of Un){const{id:xo}=Kr,Ho=hr.get(xo);if(Ho&&x(br,Ho)){const Ea=E(Ho).reduce((Da,Za)=>Da+T(br,Za),0),Ia=Number((Ea/4).toFixed(4));io.push({id:xo,data:{droppableContainer:Kr,value:Ia}})}}return io.sort(v)};function B(mn,Un,hr){return{...mn,scaleX:Un&&hr?Un.width/hr.width:1,scaleY:Un&&hr?Un.height/hr.height:1}}function R(mn,Un){return mn&&Un?{x:mn.left-Un.left,y:mn.top-Un.top}:S}function U(mn){return function(hr){for(var br=arguments.length,io=new Array(br>1?br-1:0),Kr=1;Kr<br;Kr++)io[Kr-1]=arguments[Kr];return io.reduce((xo,Ho)=>({...xo,top:xo.top+mn*Ho.y,bottom:xo.bottom+mn*Ho.y,left:xo.left+mn*Ho.x,right:xo.right+mn*Ho.x}),{...hr})}}const j=U(1);function $(mn){if(mn.startsWith("matrix3d(")){const Un=mn.slice(9,-1).split(/, /);return{x:+Un[12],y:+Un[13],scaleX:+Un[0],scaleY:+Un[5]}}else if(mn.startsWith("matrix(")){const Un=mn.slice(7,-1).split(/, /);return{x:+Un[4],y:+Un[5],scaleX:+Un[0],scaleY:+Un[3]}}return null}function ee(mn,Un,hr){const br=$(Un);if(!br)return mn;const{scaleX:io,scaleY:Kr,x:xo,y:Ho}=br,bo=mn.left-xo-(1-io)*parseFloat(hr),Ea=mn.top-Ho-(1-Kr)*parseFloat(hr.slice(hr.indexOf(" ")+1)),Ia=io?mn.width/io:mn.width,Da=Kr?mn.height/Kr:mn.height;return{width:Ia,height:Da,top:Ea,right:bo+Ia,bottom:Ea+Da,left:bo}}const te={ignoreTransform:!1};function ie(mn,Un){Un===void 0&&(Un=te);let hr=mn.getBoundingClientRect();if(Un.ignoreTransform){const{getComputedStyle:Ea}=(0,n.Jj)(mn),{transform:Ia,transformOrigin:Da}=Ea(mn);Ia&&(hr=ee(hr,Ia,Da))}const{top:br,left:io,width:Kr,height:xo,bottom:Ho,right:bo}=hr;return{top:br,left:io,width:Kr,height:xo,bottom:Ho,right:bo}}function ne(mn){return ie(mn,{ignoreTransform:!0})}function pe(mn){const Un=mn.innerWidth,hr=mn.innerHeight;return{top:0,left:0,right:Un,bottom:hr,width:Un,height:hr}}function oe(mn,Un){return Un===void 0&&(Un=(0,n.Jj)(mn).getComputedStyle(mn)),Un.position==="fixed"}function q(mn,Un){Un===void 0&&(Un=(0,n.Jj)(mn).getComputedStyle(mn));const hr=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(io=>{const Kr=Un[io];return typeof Kr=="string"?hr.test(Kr):!1})}function J(mn,Un){const hr=[];function br(io){if(Un!=null&&hr.length>=Un||!io)return hr;if((0,n.qk)(io)&&io.scrollingElement!=null&&!hr.includes(io.scrollingElement))return hr.push(io.scrollingElement),hr;if(!(0,n.Re)(io)||(0,n.vZ)(io)||hr.includes(io))return hr;const{getComputedStyle:Kr}=(0,n.Jj)(io),xo=Kr(io);return io!==mn&&q(io,xo)&&hr.push(io),oe(io,xo)?hr:br(io.parentNode)}return mn?br(mn):hr}function me(mn){const[Un]=J(mn,1);return Un??null}function re(mn){return!n.Nq||!mn?null:(0,n.FJ)(mn)?mn:(0,n.UG)(mn)?(0,n.qk)(mn)||mn===(0,n.r3)(mn).scrollingElement?window:(0,n.Re)(mn)?mn:null:null}function he(mn){return(0,n.FJ)(mn)?mn.scrollX:mn.scrollLeft}function Ee(mn){return(0,n.FJ)(mn)?mn.scrollY:mn.scrollTop}function fe(mn){return{x:he(mn),y:Ee(mn)}}var H;(function(mn){mn[mn.Forward=1]="Forward",mn[mn.Backward=-1]="Backward"})(H||(H={}));function z(mn){return!n.Nq||!mn?!1:mn===document.scrollingElement}function _e(mn){const Un={x:0,y:0},hr=z(mn)?{height:window.innerHeight,width:window.innerWidth}:{height:mn.clientHeight,width:mn.clientWidth},br={x:mn.scrollWidth-hr.width,y:mn.scrollHeight-hr.height},io=mn.scrollTop<=Un.y,Kr=mn.scrollLeft<=Un.x,xo=mn.scrollTop>=br.y,Ho=mn.scrollLeft>=br.x;return{isTop:io,isLeft:Kr,isBottom:xo,isRight:Ho,maxScroll:br,minScroll:Un}}const ae={x:.2,y:.2};function ge(mn,Un,hr,br,io){let{top:Kr,left:xo,right:Ho,bottom:bo}=hr;br===void 0&&(br=10),io===void 0&&(io=ae);const{isTop:Ea,isBottom:Ia,isLeft:Da,isRight:Za}=_e(mn),Xa={x:0,y:0},ba={x:0,y:0},ns={height:Un.height*io.y,width:Un.width*io.x};return!Ea&&Kr<=Un.top+ns.height?(Xa.y=H.Backward,ba.y=br*Math.abs((Un.top+ns.height-Kr)/ns.height)):!Ia&&bo>=Un.bottom-ns.height&&(Xa.y=H.Forward,ba.y=br*Math.abs((Un.bottom-ns.height-bo)/ns.height)),!Za&&Ho>=Un.right-ns.width?(Xa.x=H.Forward,ba.x=br*Math.abs((Un.right-ns.width-Ho)/ns.width)):!Da&&xo<=Un.left+ns.width&&(Xa.x=H.Backward,ba.x=br*Math.abs((Un.left+ns.width-xo)/ns.width)),{direction:Xa,speed:ba}}function Be(mn){if(mn===document.scrollingElement){const{innerWidth:Kr,innerHeight:xo}=window;return{top:0,left:0,right:Kr,bottom:xo,width:Kr,height:xo}}const{top:Un,left:hr,right:br,bottom:io}=mn.getBoundingClientRect();return{top:Un,left:hr,right:br,bottom:io,width:mn.clientWidth,height:mn.clientHeight}}function Ke(mn){return mn.reduce((Un,hr)=>(0,n.IH)(Un,fe(hr)),S)}function He(mn){return mn.reduce((Un,hr)=>Un+he(hr),0)}function ye(mn){return mn.reduce((Un,hr)=>Un+Ee(hr),0)}function Le(mn,Un){if(Un===void 0&&(Un=ie),!mn)return;const{top:hr,left:br,bottom:io,right:Kr}=Un(mn);me(mn)&&(io<=0||Kr<=0||hr>=window.innerHeight||br>=window.innerWidth)&&mn.scrollIntoView({block:"center",inline:"center"})}const Ue=[["x",["left","right"],He],["y",["top","bottom"],ye]];class Xe{constructor(Un,hr){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const br=J(hr),io=Ke(br);this.rect={...Un},this.width=Un.width,this.height=Un.height;for(const[Kr,xo,Ho]of Ue)for(const bo of xo)Object.defineProperty(this,bo,{get:()=>{const Ea=Ho(br),Ia=io[Kr]-Ea;return this.rect[bo]+Ia},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Fe{constructor(Un){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(hr=>{var br;return(br=this.target)==null?void 0:br.removeEventListener(...hr)})},this.target=Un}add(Un,hr,br){var io;(io=this.target)==null||io.addEventListener(Un,hr,br),this.listeners.push([Un,hr,br])}}function ht(mn){const{EventTarget:Un}=(0,n.Jj)(mn);return mn instanceof Un?mn:(0,n.r3)(mn)}function Ne(mn,Un){const hr=Math.abs(mn.x),br=Math.abs(mn.y);return typeof Un=="number"?Math.sqrt(hr**2+br**2)>Un:"x"in Un&&"y"in Un?hr>Un.x&&br>Un.y:"x"in Un?hr>Un.x:"y"in Un?br>Un.y:!1}var Ce;(function(mn){mn.Click="click",mn.DragStart="dragstart",mn.Keydown="keydown",mn.ContextMenu="contextmenu",mn.Resize="resize",mn.SelectionChange="selectionchange",mn.VisibilityChange="visibilitychange"})(Ce||(Ce={}));function we(mn){mn.preventDefault()}function $e(mn){mn.stopPropagation()}var Ot;(function(mn){mn.Space="Space",mn.Down="ArrowDown",mn.Right="ArrowRight",mn.Left="ArrowLeft",mn.Up="ArrowUp",mn.Esc="Escape",mn.Enter="Enter"})(Ot||(Ot={}));const Pt={start:[Ot.Space,Ot.Enter],cancel:[Ot.Esc],end:[Ot.Space,Ot.Enter]},Ie=(mn,Un)=>{let{currentCoordinates:hr}=Un;switch(mn.code){case Ot.Right:return{...hr,x:hr.x+25};case Ot.Left:return{...hr,x:hr.x-25};case Ot.Down:return{...hr,y:hr.y+25};case Ot.Up:return{...hr,y:hr.y-25}}};class Bt{constructor(Un){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=Un;const{event:{target:hr}}=Un;this.props=Un,this.listeners=new Fe((0,n.r3)(hr)),this.windowListeners=new Fe((0,n.Jj)(hr)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Ce.Resize,this.handleCancel),this.windowListeners.add(Ce.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Ce.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:Un,onStart:hr}=this.props,br=Un.node.current;br&&Le(br),hr(S)}handleKeyDown(Un){if((0,n.vd)(Un)){const{active:hr,context:br,options:io}=this.props,{keyboardCodes:Kr=Pt,coordinateGetter:xo=Ie,scrollBehavior:Ho="smooth"}=io,{code:bo}=Un;if(Kr.end.includes(bo)){this.handleEnd(Un);return}if(Kr.cancel.includes(bo)){this.handleCancel(Un);return}const{collisionRect:Ea}=br.current,Ia=Ea?{x:Ea.left,y:Ea.top}:S;this.referenceCoordinates||(this.referenceCoordinates=Ia);const Da=xo(Un,{active:hr,context:br.current,currentCoordinates:Ia});if(Da){const Za=(0,n.$X)(Da,Ia),Xa={x:0,y:0},{scrollableAncestors:ba}=br.current;for(const ns of ba){const Ja=Un.code,{isTop:Is,isRight:Vr,isLeft:Qr,isBottom:To,maxScroll:xr,minScroll:uo}=_e(ns),Mo=Be(ns),go={x:Math.min(Ja===Ot.Right?Mo.right-Mo.width/2:Mo.right,Math.max(Ja===Ot.Right?Mo.left:Mo.left+Mo.width/2,Da.x)),y:Math.min(Ja===Ot.Down?Mo.bottom-Mo.height/2:Mo.bottom,Math.max(Ja===Ot.Down?Mo.top:Mo.top+Mo.height/2,Da.y))},ea=Ja===Ot.Right&&!Vr||Ja===Ot.Left&&!Qr,ha=Ja===Ot.Down&&!To||Ja===Ot.Up&&!Is;if(ea&&go.x!==Da.x){const yr=ns.scrollLeft+Za.x,Lr=Ja===Ot.Right&&yr<=xr.x||Ja===Ot.Left&&yr>=uo.x;if(Lr&&!Za.y){ns.scrollTo({left:yr,behavior:Ho});return}Lr?Xa.x=ns.scrollLeft-yr:Xa.x=Ja===Ot.Right?ns.scrollLeft-xr.x:ns.scrollLeft-uo.x,Xa.x&&ns.scrollBy({left:-Xa.x,behavior:Ho});break}else if(ha&&go.y!==Da.y){const yr=ns.scrollTop+Za.y,Lr=Ja===Ot.Down&&yr<=xr.y||Ja===Ot.Up&&yr>=uo.y;if(Lr&&!Za.x){ns.scrollTo({top:yr,behavior:Ho});return}Lr?Xa.y=ns.scrollTop-yr:Xa.y=Ja===Ot.Down?ns.scrollTop-xr.y:ns.scrollTop-uo.y,Xa.y&&ns.scrollBy({top:-Xa.y,behavior:Ho});break}}this.handleMove(Un,(0,n.IH)((0,n.$X)(Da,this.referenceCoordinates),Xa))}}}handleMove(Un,hr){const{onMove:br}=this.props;Un.preventDefault(),br(hr)}handleEnd(Un){const{onEnd:hr}=this.props;Un.preventDefault(),this.detach(),hr()}handleCancel(Un){const{onCancel:hr}=this.props;Un.preventDefault(),this.detach(),hr()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Bt.activators=[{eventName:"onKeyDown",handler:(mn,Un,hr)=>{let{keyboardCodes:br=Pt,onActivation:io}=Un,{active:Kr}=hr;const{code:xo}=mn.nativeEvent;if(br.start.includes(xo)){const Ho=Kr.activatorNode.current;return Ho&&mn.target!==Ho?!1:(mn.preventDefault(),io==null||io({event:mn.nativeEvent}),!0)}return!1}}];function mt(mn){return!!(mn&&"distance"in mn)}function rt(mn){return!!(mn&&"delay"in mn)}class ce{constructor(Un,hr,br){var io;br===void 0&&(br=ht(Un.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=Un,this.events=hr;const{event:Kr}=Un,{target:xo}=Kr;this.props=Un,this.events=hr,this.document=(0,n.r3)(xo),this.documentListeners=new Fe(this.document),this.listeners=new Fe(br),this.windowListeners=new Fe((0,n.Jj)(xo)),this.initialCoordinates=(io=(0,n.DC)(Kr))!=null?io:S,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:Un,props:{options:{activationConstraint:hr}}}=this;if(this.listeners.add(Un.move.name,this.handleMove,{passive:!1}),this.listeners.add(Un.end.name,this.handleEnd),this.windowListeners.add(Ce.Resize,this.handleCancel),this.windowListeners.add(Ce.DragStart,we),this.windowListeners.add(Ce.VisibilityChange,this.handleCancel),this.windowListeners.add(Ce.ContextMenu,we),this.documentListeners.add(Ce.Keydown,this.handleKeydown),hr){if(mt(hr))return;if(rt(hr)){this.timeoutId=setTimeout(this.handleStart,hr.delay);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:Un}=this,{onStart:hr}=this.props;Un&&(this.activated=!0,this.documentListeners.add(Ce.Click,$e,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Ce.SelectionChange,this.removeTextSelection),hr(Un))}handleMove(Un){var hr;const{activated:br,initialCoordinates:io,props:Kr}=this,{onMove:xo,options:{activationConstraint:Ho}}=Kr;if(!io)return;const bo=(hr=(0,n.DC)(Un))!=null?hr:S,Ea=(0,n.$X)(io,bo);if(!br&&Ho){if(rt(Ho))return Ne(Ea,Ho.tolerance)?this.handleCancel():void 0;if(mt(Ho))return Ho.tolerance!=null&&Ne(Ea,Ho.tolerance)?this.handleCancel():Ne(Ea,Ho.distance)?this.handleStart():void 0}Un.cancelable&&Un.preventDefault(),xo(bo)}handleEnd(){const{onEnd:Un}=this.props;this.detach(),Un()}handleCancel(){const{onCancel:Un}=this.props;this.detach(),Un()}handleKeydown(Un){Un.code===Ot.Esc&&this.handleCancel()}removeTextSelection(){var Un;(Un=this.document.getSelection())==null||Un.removeAllRanges()}}const Re={move:{name:"pointermove"},end:{name:"pointerup"}};class nt extends ce{constructor(Un){const{event:hr}=Un,br=(0,n.r3)(hr.target);super(Un,Re,br)}}nt.activators=[{eventName:"onPointerDown",handler:(mn,Un)=>{let{nativeEvent:hr}=mn,{onActivation:br}=Un;return!hr.isPrimary||hr.button!==0?!1:(br==null||br({event:hr}),!0)}}];const st={move:{name:"mousemove"},end:{name:"mouseup"}};var vt;(function(mn){mn[mn.RightClick=2]="RightClick"})(vt||(vt={}));class ze extends ce{constructor(Un){super(Un,st,(0,n.r3)(Un.event.target))}}ze.activators=[{eventName:"onMouseDown",handler:(mn,Un)=>{let{nativeEvent:hr}=mn,{onActivation:br}=Un;return hr.button===vt.RightClick?!1:(br==null||br({event:hr}),!0)}}];const It={move:{name:"touchmove"},end:{name:"touchend"}};class on extends ce{constructor(Un){super(Un,It)}static setup(){return window.addEventListener(It.move.name,Un,{capture:!1,passive:!1}),function(){window.removeEventListener(It.move.name,Un)};function Un(){}}}on.activators=[{eventName:"onTouchStart",handler:(mn,Un)=>{let{nativeEvent:hr}=mn,{onActivation:br}=Un;const{touches:io}=hr;return io.length>1?!1:(br==null||br({event:hr}),!0)}}];var Pn;(function(mn){mn[mn.Pointer=0]="Pointer",mn[mn.DraggableRect=1]="DraggableRect"})(Pn||(Pn={}));var Yn;(function(mn){mn[mn.TreeOrder=0]="TreeOrder",mn[mn.ReversedTreeOrder=1]="ReversedTreeOrder"})(Yn||(Yn={}));function Ln(mn){let{acceleration:Un,activator:hr=Pn.Pointer,canScroll:br,draggingRect:io,enabled:Kr,interval:xo=5,order:Ho=Yn.TreeOrder,pointerCoordinates:bo,scrollableAncestors:Ea,scrollableAncestorRects:Ia,delta:Da,threshold:Za}=mn;const Xa=ir({delta:Da,disabled:!Kr}),[ba,ns]=(0,n.Yz)(),Ja=(0,r.useRef)({x:0,y:0}),Is=(0,r.useRef)({x:0,y:0}),Vr=(0,r.useMemo)(()=>{switch(hr){case Pn.Pointer:return bo?{top:bo.y,bottom:bo.y,left:bo.x,right:bo.x}:null;case Pn.DraggableRect:return io}},[hr,io,bo]),Qr=(0,r.useRef)(null),To=(0,r.useCallback)(()=>{const uo=Qr.current;if(!uo)return;const Mo=Ja.current.x*Is.current.x,go=Ja.current.y*Is.current.y;uo.scrollBy(Mo,go)},[]),xr=(0,r.useMemo)(()=>Ho===Yn.TreeOrder?[...Ea].reverse():Ea,[Ho,Ea]);(0,r.useEffect)(()=>{if(!Kr||!Ea.length||!Vr){ns();return}for(const uo of xr){if((br==null?void 0:br(uo))===!1)continue;const Mo=Ea.indexOf(uo),go=Ia[Mo];if(!go)continue;const{direction:ea,speed:ha}=ge(uo,go,Vr,Un,Za);for(const yr of["x","y"])Xa[yr][ea[yr]]||(ha[yr]=0,ea[yr]=0);if(ha.x>0||ha.y>0){ns(),Qr.current=uo,ba(To,xo),Ja.current=ha,Is.current=ea;return}}Ja.current={x:0,y:0},Is.current={x:0,y:0},ns()},[Un,To,br,ns,Kr,xo,JSON.stringify(Vr),JSON.stringify(Xa),ba,Ea,xr,Ia,JSON.stringify(Za)])}const bn={x:{[H.Backward]:!1,[H.Forward]:!1},y:{[H.Backward]:!1,[H.Forward]:!1}};function ir(mn){let{delta:Un,disabled:hr}=mn;const br=(0,n.D9)(Un);return(0,n.Gj)(io=>{if(hr||!br||!io)return bn;const Kr={x:Math.sign(Un.x-br.x),y:Math.sign(Un.y-br.y)};return{x:{[H.Backward]:io.x[H.Backward]||Kr.x===-1,[H.Forward]:io.x[H.Forward]||Kr.x===1},y:{[H.Backward]:io.y[H.Backward]||Kr.y===-1,[H.Forward]:io.y[H.Forward]||Kr.y===1}}},[hr,Un,br])}function Zn(mn,Un){const hr=Un!==null?mn.get(Un):void 0,br=hr?hr.node.current:null;return(0,n.Gj)(io=>{var Kr;return Un===null?null:(Kr=br??io)!=null?Kr:null},[br,Un])}function $n(mn,Un){return(0,r.useMemo)(()=>mn.reduce((hr,br)=>{const{sensor:io}=br,Kr=io.activators.map(xo=>({eventName:xo.eventName,handler:Un(xo.handler,br)}));return[...hr,...Kr]},[]),[mn,Un])}var jt;(function(mn){mn[mn.Always=0]="Always",mn[mn.BeforeDragging=1]="BeforeDragging",mn[mn.WhileDragging=2]="WhileDragging"})(jt||(jt={}));var Rn;(function(mn){mn.Optimized="optimized"})(Rn||(Rn={}));const jn=new Map;function Tn(mn,Un){let{dragging:hr,dependencies:br,config:io}=Un;const[Kr,xo]=(0,r.useState)(null),Ho=Kr!=null,{frequency:bo,measure:Ea,strategy:Ia}=io,Da=(0,r.useRef)(mn),Za=Is(),Xa=(0,n.Ey)(Za),ba=(0,r.useCallback)(function(Vr){Vr===void 0&&(Vr=[]),!Xa.current&&xo(Qr=>Qr?Qr.concat(Vr):Vr)},[Xa]),ns=(0,r.useRef)(null),Ja=(0,n.Gj)(Vr=>{if(Za&&!hr)return jn;const Qr=Kr;if(!Vr||Vr===jn||Da.current!==mn||Qr!=null){const To=new Map;for(let xr of mn){if(!xr)continue;if(Qr&&Qr.length>0&&!Qr.includes(xr.id)&&xr.rect.current){To.set(xr.id,xr.rect.current);continue}const uo=xr.node.current,Mo=uo?new Xe(Ea(uo),uo):null;xr.rect.current=Mo,Mo&&To.set(xr.id,Mo)}return To}return Vr},[mn,Kr,hr,Za,Ea]);return(0,r.useEffect)(()=>{Da.current=mn},[mn]),(0,r.useEffect)(()=>{Za||requestAnimationFrame(()=>ba())},[hr,Za]),(0,r.useEffect)(()=>{Ho&&xo(null)},[Ho]),(0,r.useEffect)(()=>{Za||typeof bo!="number"||ns.current!==null||(ns.current=setTimeout(()=>{ba(),ns.current=null},bo))},[bo,Za,ba,...br]),{droppableRects:Ja,measureDroppableContainers:ba,measuringScheduled:Ho};function Is(){switch(Ia){case jt.Always:return!1;case jt.BeforeDragging:return hr;default:return!hr}}}function Nn(mn,Un){return(0,n.Gj)(hr=>mn?hr||(typeof Un=="function"?Un(mn):mn):null,[Un,mn])}function cn(mn,Un){return Nn(mn,Un)}function or(mn){let{callback:Un,disabled:hr}=mn;const br=(0,n.zX)(Un),io=(0,r.useMemo)(()=>{if(hr||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:Kr}=window;return new Kr(br)},[br,hr]);return(0,r.useEffect)(()=>()=>io==null?void 0:io.disconnect(),[io]),io}function qn(mn){let{callback:Un,disabled:hr}=mn;const br=(0,n.zX)(Un),io=(0,r.useMemo)(()=>{if(hr||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:Kr}=window;return new Kr(br)},[hr]);return(0,r.useEffect)(()=>()=>io==null?void 0:io.disconnect(),[io]),io}function Hr(mn){return new Xe(ie(mn),mn)}function fo(mn,Un,hr){Un===void 0&&(Un=Hr);const[br,io]=(0,r.useReducer)(Ho,null),Kr=or({callback(bo){if(mn)for(const Ea of bo){const{type:Ia,target:Da}=Ea;if(Ia==="childList"&&Da instanceof HTMLElement&&Da.contains(mn)){io();break}}}}),xo=qn({callback:io});return(0,n.LI)(()=>{io(),mn?(xo==null||xo.observe(mn),Kr==null||Kr.observe(document.body,{childList:!0,subtree:!0})):(xo==null||xo.disconnect(),Kr==null||Kr.disconnect())},[mn]),br;function Ho(bo){if(!mn)return null;if(mn.isConnected===!1){var Ea;return(Ea=bo??hr)!=null?Ea:null}const Ia=Un(mn);return JSON.stringify(bo)===JSON.stringify(Ia)?bo:Ia}}function Jr(mn){const Un=Nn(mn);return R(mn,Un)}const ro=[];function Xt(mn){const Un=(0,r.useRef)(mn),hr=(0,n.Gj)(br=>mn?br&&br!==ro&&mn&&Un.current&&mn.parentNode===Un.current.parentNode?br:J(mn):ro,[mn]);return(0,r.useEffect)(()=>{Un.current=mn},[mn]),hr}function Je(mn){const[Un,hr]=(0,r.useState)(null),br=(0,r.useRef)(mn),io=(0,r.useCallback)(Kr=>{const xo=re(Kr.target);xo&&hr(Ho=>Ho?(Ho.set(xo,fe(xo)),new Map(Ho)):null)},[]);return(0,r.useEffect)(()=>{const Kr=br.current;if(mn!==Kr){xo(Kr);const Ho=mn.map(bo=>{const Ea=re(bo);return Ea?(Ea.addEventListener("scroll",io,{passive:!0}),[Ea,fe(Ea)]):null}).filter(bo=>bo!=null);hr(Ho.length?new Map(Ho):null),br.current=mn}return()=>{xo(mn),xo(Kr)};function xo(Ho){Ho.forEach(bo=>{const Ea=re(bo);Ea==null||Ea.removeEventListener("scroll",io)})}},[io,mn]),(0,r.useMemo)(()=>mn.length?Un?Array.from(Un.values()).reduce((Kr,xo)=>(0,n.IH)(Kr,xo),S):Ke(mn):S,[mn,Un])}function At(mn,Un){Un===void 0&&(Un=[]);const hr=(0,r.useRef)(null);return(0,r.useEffect)(()=>{hr.current=null},Un),(0,r.useEffect)(()=>{const br=mn!==S;br&&!hr.current&&(hr.current=mn),!br&&hr.current&&(hr.current=null)},[mn]),hr.current?(0,n.$X)(mn,hr.current):S}function xt(mn){(0,r.useEffect)(()=>{if(!n.Nq)return;const Un=mn.map(hr=>{let{sensor:br}=hr;return br.setup==null?void 0:br.setup()});return()=>{for(const hr of Un)hr==null||hr()}},mn.map(Un=>{let{sensor:hr}=Un;return hr}))}function Qt(mn,Un){return(0,r.useMemo)(()=>mn.reduce((hr,br)=>{let{eventName:io,handler:Kr}=br;return hr[io]=xo=>{Kr(xo,Un)},hr},{}),[mn,Un])}function qt(mn){return(0,r.useMemo)(()=>mn?pe(mn):null,[mn])}const Te=[];function Gt(mn,Un){Un===void 0&&(Un=ie);const[hr]=mn,br=qt(hr?(0,n.Jj)(hr):null),[io,Kr]=(0,r.useReducer)(Ho,Te),xo=qn({callback:Kr});return mn.length>0&&io===Te&&Kr(),(0,n.LI)(()=>{mn.length?mn.forEach(bo=>xo==null?void 0:xo.observe(bo)):(xo==null||xo.disconnect(),Kr())},[mn]),io;function Ho(){return mn.length?mn.map(bo=>z(bo)?br:new Xe(Un(bo),bo)):Te}}function un(mn){if(!mn)return null;if(mn.children.length>1)return mn;const Un=mn.children[0];return(0,n.Re)(Un)?Un:mn}function Vt(mn){let{measure:Un}=mn;const[hr,br]=(0,r.useState)(null),io=(0,r.useCallback)(Ea=>{for(const{target:Ia}of Ea)if((0,n.Re)(Ia)){br(Da=>{const Za=Un(Ia);return Da?{...Da,width:Za.width,height:Za.height}:Za});break}},[Un]),Kr=qn({callback:io}),xo=(0,r.useCallback)(Ea=>{const Ia=un(Ea);Kr==null||Kr.disconnect(),Ia&&(Kr==null||Kr.observe(Ia)),br(Ia?Un(Ia):null)},[Un,Kr]),[Ho,bo]=(0,n.wm)(xo);return(0,r.useMemo)(()=>({nodeRef:Ho,rect:hr,setRef:bo}),[hr,Ho,bo])}const Dn=[{sensor:nt,options:{}},{sensor:Bt,options:{}}],Wt={current:{}},Pe={draggable:{measure:ne},droppable:{measure:ne,strategy:jt.WhileDragging,frequency:Rn.Optimized},dragOverlay:{measure:ie}};class xe extends Map{get(Un){var hr;return Un!=null&&(hr=super.get(Un))!=null?hr:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(Un=>{let{disabled:hr}=Un;return!hr})}getNodeFor(Un){var hr,br;return(hr=(br=this.get(Un))==null?void 0:br.node.current)!=null?hr:void 0}}const Ae={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new xe,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:P},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Pe,measureDroppableContainers:P,windowRect:null,measuringScheduled:!1},qe={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:P,draggableNodes:new Map,over:null,measureDroppableContainers:P},wt=(0,r.createContext)(qe),kt=(0,r.createContext)(Ae);function ut(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new xe}}}function Ft(mn,Un){switch(Un.type){case O.DragStart:return{...mn,draggable:{...mn.draggable,initialCoordinates:Un.initialCoordinates,active:Un.active}};case O.DragMove:return mn.draggable.active?{...mn,draggable:{...mn.draggable,translate:{x:Un.coordinates.x-mn.draggable.initialCoordinates.x,y:Un.coordinates.y-mn.draggable.initialCoordinates.y}}}:mn;case O.DragEnd:case O.DragCancel:return{...mn,draggable:{...mn.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case O.RegisterDroppable:{const{element:hr}=Un,{id:br}=hr,io=new xe(mn.droppable.containers);return io.set(br,hr),{...mn,droppable:{...mn.droppable,containers:io}}}case O.SetDroppableDisabled:{const{id:hr,key:br,disabled:io}=Un,Kr=mn.droppable.containers.get(hr);if(!Kr||br!==Kr.key)return mn;const xo=new xe(mn.droppable.containers);return xo.set(hr,{...Kr,disabled:io}),{...mn,droppable:{...mn.droppable,containers:xo}}}case O.UnregisterDroppable:{const{id:hr,key:br}=Un,io=mn.droppable.containers.get(hr);if(!io||br!==io.key)return mn;const Kr=new xe(mn.droppable.containers);return Kr.delete(hr),{...mn,droppable:{...mn.droppable,containers:Kr}}}default:return mn}}function tn(mn){let{disabled:Un}=mn;const{active:hr,activatorEvent:br,draggableNodes:io}=(0,r.useContext)(wt),Kr=(0,n.D9)(br),xo=(0,n.D9)(hr==null?void 0:hr.id);return(0,r.useEffect)(()=>{if(!Un&&!br&&Kr&&xo!=null){if(!(0,n.vd)(Kr)||document.activeElement===Kr.target)return;const Ho=io.get(xo);if(!Ho)return;const{activatorNode:bo,node:Ea}=Ho;if(!bo.current&&!Ea.current)return;requestAnimationFrame(()=>{for(const Ia of[bo.current,Ea.current]){if(!Ia)continue;const Da=(0,n.so)(Ia);if(Da){Da.focus();break}}})}},[br,Un,io,xo,Kr]),null}function In(mn,Un){let{transform:hr,...br}=Un;return mn!=null&&mn.length?mn.reduce((io,Kr)=>Kr({transform:io,...br}),hr):hr}function rr(mn){return(0,r.useMemo)(()=>({draggable:{...Pe.draggable,...mn==null?void 0:mn.draggable},droppable:{...Pe.droppable,...mn==null?void 0:mn.droppable},dragOverlay:{...Pe.dragOverlay,...mn==null?void 0:mn.dragOverlay}}),[mn==null?void 0:mn.draggable,mn==null?void 0:mn.droppable,mn==null?void 0:mn.dragOverlay])}function Sr(mn){let{activeNode:Un,measure:hr,initialRect:br,config:io=!0}=mn;const Kr=(0,r.useRef)(!1),{x:xo,y:Ho}=typeof io=="boolean"?{x:io,y:io}:io;(0,n.LI)(()=>{if(!xo&&!Ho||!Un){Kr.current=!1;return}if(Kr.current||!br)return;const Ea=Un==null?void 0:Un.node.current;if(!Ea||Ea.isConnected===!1)return;const Ia=hr(Ea),Da=R(Ia,br);if(xo||(Da.x=0),Ho||(Da.y=0),Kr.current=!0,Math.abs(Da.x)>0||Math.abs(Da.y)>0){const Za=me(Ea);Za&&Za.scrollBy({top:Da.y,left:Da.x})}},[Un,xo,Ho,br,hr])}const Yr=(0,r.createContext)({...S,scaleX:1,scaleY:1});var Pr;(function(mn){mn[mn.Uninitialized=0]="Uninitialized",mn[mn.Initializing=1]="Initializing",mn[mn.Initialized=2]="Initialized"})(Pr||(Pr={}));const Mn=(0,r.memo)(function(Un){var hr,br,io,Kr;let{id:xo,accessibility:Ho,autoScroll:bo=!0,children:Ea,sensors:Ia=Dn,collisionDetection:Da=k,measuring:Za,modifiers:Xa,...ba}=Un;const ns=(0,r.useReducer)(Ft,void 0,ut),[Ja,Is]=ns,[Vr,Qr]=g(),[To,xr]=(0,r.useState)(Pr.Uninitialized),uo=To===Pr.Initialized,{draggable:{active:Mo,nodes:go,translate:ea},droppable:{containers:ha}}=Ja,yr=Mo?go.get(Mo):null,Lr=(0,r.useRef)({initial:null,translated:null}),ao=(0,r.useMemo)(()=>{var Tr;return Mo!=null?{id:Mo,data:(Tr=yr==null?void 0:yr.data)!=null?Tr:Wt,rect:Lr}:null},[Mo,yr]),ho=(0,r.useRef)(null),[Lo,Yo]=(0,r.useState)(null),[jo,Xo]=(0,r.useState)(null),Ua=(0,n.Ey)(ba,Object.values(ba)),ds=(0,n.Ld)("DndDescribedBy",xo),us=(0,r.useMemo)(()=>ha.getEnabled(),[ha]),ys=rr(Za),{droppableRects:Ys,measureDroppableContainers:Gs,measuringScheduled:xs}=Tn(us,{dragging:uo,dependencies:[ea.x,ea.y],config:ys.droppable}),Ai=Zn(go,Mo),Pi=(0,r.useMemo)(()=>jo?(0,n.DC)(jo):null,[jo]),ei=mr(),hi=cn(Ai,ys.draggable.measure);Sr({activeNode:Mo?go.get(Mo):null,config:ei.layoutShiftCompensation,initialRect:hi,measure:ys.draggable.measure});const ks=fo(Ai,ys.draggable.measure,hi),Ms=fo(Ai?Ai.parentElement:null),bs=(0,r.useRef)({activatorEvent:null,active:null,activeNode:Ai,collisionRect:null,collisions:null,droppableRects:Ys,draggableNodes:go,draggingNode:null,draggingNodeRect:null,droppableContainers:ha,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Hs=ha.getNodeFor((hr=bs.current.over)==null?void 0:hr.id),Os=Vt({measure:ys.dragOverlay.measure}),Vs=(br=Os.nodeRef.current)!=null?br:Ai,_s=uo?(io=Os.rect)!=null?io:ks:null,fs=!!(Os.nodeRef.current&&Os.rect),Ss=Jr(fs?null:ks),hs=qt(Vs?(0,n.Jj)(Vs):null),li=Xt(uo?Hs??Ai:null),Ni=Gt(li),Ji=In(Xa,{transform:{x:ea.x-Ss.x,y:ea.y-Ss.y,scaleX:1,scaleY:1},activatorEvent:jo,active:ao,activeNodeRect:ks,containerNodeRect:Ms,draggingNodeRect:_s,over:bs.current.over,overlayNodeRect:Os.rect,scrollableAncestors:li,scrollableAncestorRects:Ni,windowRect:hs}),wi=Pi?(0,n.IH)(Pi,ea):null,vi=Je(li),sl=At(vi),Zi=At(vi,[ks]),Zs=(0,n.IH)(Ji,sl),Bs=_s?j(_s,Ji):null,ti=ao&&Bs?Da({active:ao,collisionRect:Bs,droppableRects:Ys,droppableContainers:us,pointerCoordinates:wi}):null,gi=I(ti,"id"),[yi,ki]=(0,r.useState)(null),bi=fs?Ji:(0,n.IH)(Ji,Zi),nl=B(bi,(Kr=yi==null?void 0:yi.rect)!=null?Kr:null,ks),Si=(0,r.useCallback)((Tr,Oo)=>{let{sensor:Uo,options:gt}=Oo;if(ho.current==null)return;const it=go.get(ho.current);if(!it)return;const Lt=Tr.nativeEvent,$t=new Uo({active:ho.current,activeNode:it,event:Lt,options:gt,context:bs,onStart(dn){const Jn=ho.current;if(Jn==null)return;const Hn=go.get(Jn);if(!Hn)return;const{onDragStart:jr}=Ua.current,wo={active:{id:Jn,data:Hn.data,rect:Lr}};(0,o.unstable_batchedUpdates)(()=>{jr==null||jr(wo),xr(Pr.Initializing),Is({type:O.DragStart,initialCoordinates:dn,active:Jn}),Vr({type:"onDragStart",event:wo})})},onMove(dn){Is({type:O.DragMove,coordinates:dn})},onEnd:_n(O.DragEnd),onCancel:_n(O.DragCancel)});(0,o.unstable_batchedUpdates)(()=>{Yo($t),Xo(Tr.nativeEvent)});function _n(dn){return async function(){const{active:Hn,collisions:jr,over:wo,scrollAdjustedTranslate:ko}=bs.current;let Sa=null;if(Hn&&ko){const{cancelDrop:Na}=Ua.current;Sa={activatorEvent:Lt,active:Hn,collisions:jr,delta:ko,over:wo},dn===O.DragEnd&&typeof Na=="function"&&await Promise.resolve(Na(Sa))&&(dn=O.DragCancel)}ho.current=null,(0,o.unstable_batchedUpdates)(()=>{Is({type:dn}),xr(Pr.Uninitialized),ki(null),Yo(null),Xo(null);const Na=dn===O.DragEnd?"onDragEnd":"onDragCancel";if(Sa){const qa=Ua.current[Na];qa==null||qa(Sa),Vr({type:Na,event:Sa})}})}}},[go]),ta=(0,r.useCallback)((Tr,Oo)=>(Uo,gt)=>{const it=Uo.nativeEvent,Lt=go.get(gt);if(ho.current!==null||!Lt||it.dndKit||it.defaultPrevented)return;const $t={active:Lt};Tr(Uo,Oo.options,$t)===!0&&(it.dndKit={capturedBy:Oo.sensor},ho.current=gt,Si(Uo,Oo))},[go,Si]),ke=$n(Ia,ta);xt(Ia),(0,n.LI)(()=>{ks&&To===Pr.Initializing&&xr(Pr.Initialized)},[ks,To]),(0,r.useEffect)(()=>{const{onDragMove:Tr}=Ua.current,{active:Oo,activatorEvent:Uo,collisions:gt,over:it}=bs.current;if(!Oo||!Uo)return;const Lt={active:Oo,activatorEvent:Uo,collisions:gt,delta:{x:Zs.x,y:Zs.y},over:it};(0,o.unstable_batchedUpdates)(()=>{Tr==null||Tr(Lt),Vr({type:"onDragMove",event:Lt})})},[Zs.x,Zs.y]),(0,r.useEffect)(()=>{const{active:Tr,activatorEvent:Oo,collisions:Uo,droppableContainers:gt,scrollAdjustedTranslate:it}=bs.current;if(!Tr||ho.current==null||!Oo||!it)return;const{onDragOver:Lt}=Ua.current,$t=gt.get(gi),_n=$t&&$t.rect.current?{id:$t.id,rect:$t.rect.current,data:$t.data,disabled:$t.disabled}:null,dn={active:Tr,activatorEvent:Oo,collisions:Uo,delta:{x:it.x,y:it.y},over:_n};(0,o.unstable_batchedUpdates)(()=>{ki(_n),Lt==null||Lt(dn),Vr({type:"onDragOver",event:dn})})},[gi]),(0,n.LI)(()=>{bs.current={activatorEvent:jo,active:ao,activeNode:Ai,collisionRect:Bs,collisions:ti,droppableRects:Ys,draggableNodes:go,draggingNode:Vs,draggingNodeRect:_s,droppableContainers:ha,over:yi,scrollableAncestors:li,scrollAdjustedTranslate:Zs},Lr.current={initial:_s,translated:Bs}},[ao,Ai,ti,Bs,go,Vs,_s,Ys,ha,yi,li,Zs]),Ln({...ei,delta:ea,draggingRect:Bs,pointerCoordinates:wi,scrollableAncestors:li,scrollableAncestorRects:Ni});const Jt=(0,r.useMemo)(()=>({active:ao,activeNode:Ai,activeNodeRect:ks,activatorEvent:jo,collisions:ti,containerNodeRect:Ms,dragOverlay:Os,draggableNodes:go,droppableContainers:ha,droppableRects:Ys,over:yi,measureDroppableContainers:Gs,scrollableAncestors:li,scrollableAncestorRects:Ni,measuringConfiguration:ys,measuringScheduled:xs,windowRect:hs}),[ao,Ai,ks,jo,ti,Ms,Os,go,ha,Ys,yi,Gs,li,Ni,ys,xs,hs]),Fn=(0,r.useMemo)(()=>({activatorEvent:jo,activators:ke,active:ao,activeNodeRect:ks,ariaDescribedById:{draggable:ds},dispatch:Is,draggableNodes:go,over:yi,measureDroppableContainers:Gs}),[jo,ke,ao,ks,Is,ds,go,yi,Gs]);return r.createElement(d.Provider,{value:Qr},r.createElement(wt.Provider,{value:Fn},r.createElement(kt.Provider,{value:Jt},r.createElement(Yr.Provider,{value:nl},Ea)),r.createElement(tn,{disabled:(Ho==null?void 0:Ho.restoreFocus)===!1})),r.createElement(y,{...Ho,hiddenTextDescribedById:ds}));function mr(){const Tr=(Lo==null?void 0:Lo.autoScrollEnabled)===!1,Oo=typeof bo=="object"?bo.enabled===!1:bo===!1,Uo=uo&&!Tr&&!Oo;return typeof bo=="object"?{...bo,enabled:Uo}:{enabled:Uo}}}),sr=(0,r.createContext)(null),Ar="button",vr="Droppable";function qr(mn){let{id:Un,data:hr,disabled:br=!1,attributes:io}=mn;const Kr=(0,n.Ld)(vr),{activators:xo,activatorEvent:Ho,active:bo,activeNodeRect:Ea,ariaDescribedById:Ia,draggableNodes:Da,over:Za}=(0,r.useContext)(wt),{role:Xa=Ar,roleDescription:ba="draggable",tabIndex:ns=0}=io??{},Ja=(bo==null?void 0:bo.id)===Un,Is=(0,r.useContext)(Ja?Yr:sr),[Vr,Qr]=(0,n.wm)(),[To,xr]=(0,n.wm)(),uo=Qt(xo,Un),Mo=(0,n.Ey)(hr);(0,n.LI)(()=>(Da.set(Un,{id:Un,key:Kr,node:Vr,activatorNode:To,data:Mo}),()=>{const ea=Da.get(Un);ea&&ea.key===Kr&&Da.delete(Un)}),[Da,Un]);const go=(0,r.useMemo)(()=>({role:Xa,tabIndex:ns,"aria-disabled":br,"aria-pressed":Ja&&Xa===Ar?!0:void 0,"aria-roledescription":ba,"aria-describedby":Ia.draggable}),[br,Xa,ns,Ja,ba,Ia.draggable]);return{active:bo,activatorEvent:Ho,activeNodeRect:Ea,attributes:go,isDragging:Ja,listeners:br?void 0:uo,node:Vr,over:Za,setNodeRef:Qr,setActivatorNodeRef:xr,transform:Is}}function Dr(){return(0,r.useContext)(kt)}const eo="Droppable",Vo={timeout:25};function Bn(mn){let{data:Un,disabled:hr=!1,id:br,resizeObserverConfig:io}=mn;const Kr=(0,n.Ld)(eo),{active:xo,dispatch:Ho,over:bo,measureDroppableContainers:Ea}=(0,r.useContext)(wt),Ia=(0,r.useRef)({disabled:hr}),Da=(0,r.useRef)(!1),Za=(0,r.useRef)(null),Xa=(0,r.useRef)(null),{disabled:ba,updateMeasurementsFor:ns,timeout:Ja}={...Vo,...io},Is=(0,n.Ey)(ns??br),Vr=(0,r.useCallback)(()=>{if(!Da.current){Da.current=!0;return}Xa.current!=null&&clearTimeout(Xa.current),Xa.current=setTimeout(()=>{Ea(Array.isArray(Is.current)?Is.current:[Is.current]),Xa.current=null},Ja)},[Ja]),Qr=qn({callback:Vr,disabled:ba||!xo}),To=(0,r.useCallback)((go,ea)=>{Qr&&(ea&&(Qr.unobserve(ea),Da.current=!1),go&&Qr.observe(go))},[Qr]),[xr,uo]=(0,n.wm)(To),Mo=(0,n.Ey)(Un);return(0,r.useEffect)(()=>{!Qr||!xr.current||(Qr.disconnect(),Da.current=!1,Qr.observe(xr.current))},[xr,Qr]),(0,n.LI)(()=>(Ho({type:O.RegisterDroppable,element:{id:br,key:Kr,disabled:hr,node:xr,rect:Za,data:Mo}}),()=>Ho({type:O.UnregisterDroppable,key:Kr,id:br})),[br]),(0,r.useEffect)(()=>{hr!==Ia.current.disabled&&(Ho({type:O.SetDroppableDisabled,id:br,key:Kr,disabled:hr}),Ia.current.disabled=hr)},[br,Kr,hr,Ho]),{active:xo,rect:Za,isOver:(bo==null?void 0:bo.id)===br,node:xr,over:bo,setNodeRef:uo}}function ar(mn){let{animation:Un,children:hr}=mn;const[br,io]=(0,r.useState)(null),[Kr,xo]=(0,r.useState)(null),Ho=(0,n.D9)(hr);return!hr&&!br&&Ho&&io(Ho),(0,n.LI)(()=>{if(!Kr)return;const bo=br==null?void 0:br.key,Ea=br==null?void 0:br.props.id;if(bo==null||Ea==null){io(null);return}Promise.resolve(Un(Ea,Kr)).then(()=>{io(null)})},[Un,br,Kr]),r.createElement(r.Fragment,null,hr,br?(0,r.cloneElement)(br,{ref:xo}):null)}const rn={x:0,y:0,scaleX:1,scaleY:1};function Rt(mn){let{children:Un}=mn;return r.createElement(wt.Provider,{value:qe},r.createElement(Yr.Provider,{value:rn},Un))}const Qe={position:"fixed",touchAction:"none"},Ye=mn=>(0,n.vd)(mn)?"transform 250ms ease":void 0,yt=(0,r.forwardRef)((mn,Un)=>{let{as:hr,activatorEvent:br,adjustScale:io,children:Kr,className:xo,rect:Ho,style:bo,transform:Ea,transition:Ia=Ye}=mn;if(!Ho)return null;const Da=io?Ea:{...Ea,scaleX:1,scaleY:1},Za={...Qe,width:Ho.width,height:Ho.height,top:Ho.top,left:Ho.left,transform:n.ux.Transform.toString(Da),transformOrigin:io&&br?s(br,Ho):void 0,transition:typeof Ia=="function"?Ia(br):Ia,...bo};return r.createElement(hr,{className:xo,style:Za,ref:Un},Kr)}),Ze=mn=>Un=>{let{active:hr,dragOverlay:br}=Un;const io={},{styles:Kr,className:xo}=mn;if(Kr!=null&&Kr.active)for(const[Ho,bo]of Object.entries(Kr.active))bo!==void 0&&(io[Ho]=hr.node.style.getPropertyValue(Ho),hr.node.style.setProperty(Ho,bo));if(Kr!=null&&Kr.dragOverlay)for(const[Ho,bo]of Object.entries(Kr.dragOverlay))bo!==void 0&&br.node.style.setProperty(Ho,bo);return xo!=null&&xo.active&&hr.node.classList.add(xo.active),xo!=null&&xo.dragOverlay&&br.node.classList.add(xo.dragOverlay),function(){for(const[bo,Ea]of Object.entries(io))hr.node.style.setProperty(bo,Ea);xo!=null&&xo.active&&hr.node.classList.remove(xo.active)}},ot={duration:250,easing:"ease",keyframes:mn=>{let{transform:{initial:Un,final:hr}}=mn;return[{transform:n.ux.Transform.toString(Un)},{transform:n.ux.Transform.toString(hr)}]},sideEffects:Ze({styles:{active:{opacity:"0"}}})};function et(mn){let{config:Un,draggableNodes:hr,droppableContainers:br,measuringConfiguration:io}=mn;return(0,n.zX)((Kr,xo)=>{if(Un===null)return;const Ho=hr.get(Kr);if(!Ho)return;const bo=Ho.node.current;if(!bo)return;const Ea=un(xo);if(!Ea)return;const{transform:Ia}=(0,n.Jj)(xo).getComputedStyle(xo),Da=$(Ia);if(!Da)return;const Za=typeof Un=="function"?Un:St(Un);return Le(bo,io.draggable.measure),Za({active:{id:Kr,data:Ho.data,node:bo,rect:io.draggable.measure(bo)},draggableNodes:hr,dragOverlay:{node:xo,rect:io.dragOverlay.measure(Ea)},droppableContainers:br,measuringConfiguration:io,transform:Da})})}function St(mn){const{duration:Un,easing:hr,sideEffects:br,keyframes:io}={...ot,...mn};return Kr=>{let{active:xo,dragOverlay:Ho,transform:bo,...Ea}=Kr;if(!Un)return;const Ia={x:Ho.rect.left-xo.rect.left,y:Ho.rect.top-xo.rect.top},Da={scaleX:bo.scaleX!==1?xo.rect.width*bo.scaleX/Ho.rect.width:1,scaleY:bo.scaleY!==1?xo.rect.height*bo.scaleY/Ho.rect.height:1},Za={x:bo.x-Ia.x,y:bo.y-Ia.y,...Da},Xa=io({...Ea,active:xo,dragOverlay:Ho,transform:{initial:bo,final:Za}}),[ba]=Xa,ns=Xa[Xa.length-1];if(JSON.stringify(ba)===JSON.stringify(ns))return;const Ja=br==null?void 0:br({active:xo,dragOverlay:Ho,...Ea}),Is=Ho.node.animate(Xa,{duration:Un,easing:hr,fill:"forwards"});return new Promise(Vr=>{Is.onfinish=()=>{Ja==null||Ja(),Vr()}})}}let Ht=0;function er(mn){return(0,r.useMemo)(()=>{if(mn!=null)return Ht++,Ht},[mn])}const Mr=r.memo(mn=>{let{adjustScale:Un=!1,children:hr,dropAnimation:br,style:io,transition:Kr,modifiers:xo,wrapperElement:Ho="div",className:bo,zIndex:Ea=999}=mn;const{activatorEvent:Ia,active:Da,activeNodeRect:Za,containerNodeRect:Xa,draggableNodes:ba,droppableContainers:ns,dragOverlay:Ja,over:Is,measuringConfiguration:Vr,scrollableAncestors:Qr,scrollableAncestorRects:To,windowRect:xr}=Dr(),uo=(0,r.useContext)(Yr),Mo=er(Da==null?void 0:Da.id),go=In(xo,{activatorEvent:Ia,active:Da,activeNodeRect:Za,containerNodeRect:Xa,draggingNodeRect:Ja.rect,over:Is,overlayNodeRect:Ja.rect,scrollableAncestors:Qr,scrollableAncestorRects:To,transform:uo,windowRect:xr}),ea=Nn(Za),ha=et({config:br,draggableNodes:ba,droppableContainers:ns,measuringConfiguration:Vr}),yr=ea?Ja.setRef:void 0;return r.createElement(Rt,null,r.createElement(ar,{animation:ha},Da&&Mo?r.createElement(yt,{key:Mo,id:Da.id,ref:yr,as:Ho,activatorEvent:Ia,adjustScale:Un,className:bo,transition:Kr,rect:ea,style:{zIndex:Ea,...io},transform:go},hr):null))})},743398:function(b,l,e){"use strict";e.d(l,{Fo:()=>T,Rp:()=>a,U2:()=>p,cP:()=>v,is:()=>M,nB:()=>F,qw:()=>P});var r=e(174161),o=e(139581),n=e(739676);function a(U,j,$){const ee=U.slice();return ee.splice($<0?ee.length+$:$,0,ee.splice(j,1)[0]),ee}function i(U,j,$){const ee=U.slice();return ee[j]=U[$],ee[$]=U[j],ee}function c(U,j){return U.reduce(($,ee,te)=>{const ie=j.get(ee);return ie&&($[te]=ie),$},Array(U.length))}function u(U){return U!==null&&U>=0}function f(U,j){if(U===j)return!0;if(U.length!==j.length)return!1;for(let $=0;$<U.length;$++)if(U[$]!==j[$])return!1;return!0}function d(U){return typeof U=="boolean"?{draggable:U,droppable:U}:U}const h=null,g=U=>{var j;let{rects:$,activeNodeRect:ee,activeIndex:te,overIndex:ie,index:ne}=U;const pe=(j=$[te])!=null?j:ee;if(!pe)return null;const oe=_($,ne,te);if(ne===te){const q=$[ie];return q?{x:te<ie?q.left+q.width-(pe.left+pe.width):q.left-pe.left,y:0,...h}:null}return ne>te&&ne<=ie?{x:-pe.width-oe,y:0,...h}:ne<te&&ne>=ie?{x:pe.width+oe,y:0,...h}:{x:0,y:0,...h}};function _(U,j,$){const ee=U[j],te=U[j-1],ie=U[j+1];return!ee||!te&&!ie?0:$<j?te?ee.left-(te.left+te.width):ie.left-(ee.left+ee.width):ie?ie.left-(ee.left+ee.width):ee.left-(te.left+te.width)}const p=U=>{let{rects:j,activeIndex:$,overIndex:ee,index:te}=U;const ie=a(j,ee,$),ne=j[te],pe=ie[te];return!pe||!ne?null:{x:pe.left-ne.left,y:pe.top-ne.top,scaleX:pe.width/ne.width,scaleY:pe.height/ne.height}},y=U=>{let{activeIndex:j,index:$,rects:ee,overIndex:te}=U,ie,ne;return $===j&&(ie=ee[$],ne=ee[te]),$===te&&(ie=ee[$],ne=ee[j]),!ne||!ie?null:{x:ne.left-ie.left,y:ne.top-ie.top,scaleX:ne.width/ie.width,scaleY:ne.height/ie.height}},O={scaleX:1,scaleY:1},P=U=>{var j;let{activeIndex:$,activeNodeRect:ee,index:te,rects:ie,overIndex:ne}=U;const pe=(j=ie[$])!=null?j:ee;if(!pe)return null;if(te===$){const q=ie[ne];return q?{x:0,y:$<ne?q.top+q.height-(pe.top+pe.height):q.top-pe.top,...O}:null}const oe=C(ie,te,$);return te>$&&te<=ne?{x:0,y:-pe.height-oe,...O}:te<$&&te>=ne?{x:0,y:pe.height+oe,...O}:{x:0,y:0,...O}};function C(U,j,$){const ee=U[j],te=U[j-1],ie=U[j+1];return ee?$<j?te?ee.top-(te.top+te.height):ie?ie.top-(ee.top+ee.height):0:ie?ie.top-(ee.top+ee.height):te?ee.top-(te.top+te.height):0:0}const A="Sortable",S=r.createContext({activeIndex:-1,containerId:A,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:p,disabled:{draggable:!1,droppable:!1}});function T(U){let{children:j,id:$,items:ee,strategy:te=p,disabled:ie=!1}=U;const{active:ne,dragOverlay:pe,droppableRects:oe,over:q,measureDroppableContainers:J,measuringScheduled:me}=(0,o.Cj)(),re=(0,n.Ld)(A,$),he=pe.rect!==null,Ee=(0,r.useMemo)(()=>ee.map(He=>typeof He=="object"&&"id"in He?He.id:He),[ee]),fe=ne!=null,H=ne?Ee.indexOf(ne.id):-1,z=q?Ee.indexOf(q.id):-1,_e=(0,r.useRef)(Ee),ae=!f(Ee,_e.current),ge=z!==-1&&H===-1||ae,Be=d(ie);(0,n.LI)(()=>{ae&&fe&&!me&&J(Ee)},[ae,Ee,fe,J,me]),(0,r.useEffect)(()=>{_e.current=Ee},[Ee]);const Ke=(0,r.useMemo)(()=>({activeIndex:H,containerId:re,disabled:Be,disableTransforms:ge,items:Ee,overIndex:z,useDragOverlay:he,sortedRects:c(Ee,oe),strategy:te}),[H,re,Be.draggable,Be.droppable,ge,Ee,z,oe,he,te]);return r.createElement(S.Provider,{value:Ke},j)}const s=U=>{let{id:j,items:$,activeIndex:ee,overIndex:te}=U;return a($,ee,te).indexOf(j)},v=U=>{let{containerId:j,isSorting:$,wasDragging:ee,index:te,items:ie,newIndex:ne,previousItems:pe,previousContainerId:oe,transition:q}=U;return!q||!ee||pe!==ie&&te===ne?!1:$?!0:ne!==te&&j===oe},m={duration:200,easing:"ease"},E="transform",I=n.ux.Transition.toString({property:E,duration:0,easing:"linear"}),L={roleDescription:"sortable"};function W(U){let{disabled:j,index:$,node:ee,rect:te}=U;const[ie,ne]=(0,r.useState)(null),pe=(0,r.useRef)($);return(0,n.LI)(()=>{if(!j&&$!==pe.current&&ee.current){const oe=te.current;if(oe){const q=(0,o.VK)(ee.current,{ignoreTransform:!0}),J={x:oe.left-q.left,y:oe.top-q.top,scaleX:oe.width/q.width,scaleY:oe.height/q.height};(J.x||J.y)&&ne(J)}}$!==pe.current&&(pe.current=$)},[j,$,ee,te]),(0,r.useEffect)(()=>{ie&&requestAnimationFrame(()=>{ne(null)})},[ie]),ie}function F(U){let{animateLayoutChanges:j=v,attributes:$,disabled:ee,data:te,getNewIndex:ie=s,id:ne,strategy:pe,resizeObserverConfig:oe,transition:q=m}=U;const{items:J,containerId:me,activeIndex:re,disabled:he,disableTransforms:Ee,sortedRects:fe,overIndex:H,useDragOverlay:z,strategy:_e}=(0,r.useContext)(S),ae=G(ee,he),ge=J.indexOf(ne),Be=(0,r.useMemo)(()=>({sortable:{containerId:me,index:ge,items:J},...te}),[me,te,ge,J]),Ke=(0,r.useMemo)(()=>J.slice(J.indexOf(ne)),[J,ne]),{rect:He,node:ye,isOver:Le,setNodeRef:Ue}=(0,o.Zj)({id:ne,data:Be,disabled:ae.droppable,resizeObserverConfig:{updateMeasurementsFor:Ke,...oe}}),{active:Xe,activatorEvent:Fe,activeNodeRect:ht,attributes:Ne,setNodeRef:Ce,listeners:we,isDragging:$e,over:Ot,setActivatorNodeRef:Pt,transform:Ie}=(0,o.O1)({id:ne,data:Be,attributes:{...L,...$},disabled:ae.draggable}),Bt=(0,n.HB)(Ue,Ce),mt=!!Xe,rt=mt&&!Ee&&u(re)&&u(H),ce=!z&&$e,Re=ce&&rt?Ie:null,st=rt?Re??(pe??_e)({rects:fe,activeNodeRect:ht,activeIndex:re,overIndex:H,index:ge}):null,vt=u(re)&&u(H)?ie({id:ne,items:J,activeIndex:re,overIndex:H}):ge,ze=Xe==null?void 0:Xe.id,It=(0,r.useRef)({activeId:ze,items:J,newIndex:vt,containerId:me}),on=J!==It.current.items,Pn=j({active:Xe,containerId:me,isDragging:$e,isSorting:mt,id:ne,index:ge,items:J,newIndex:It.current.newIndex,previousItems:It.current.items,previousContainerId:It.current.containerId,transition:q,wasDragging:It.current.activeId!=null}),Yn=W({disabled:!Pn,index:ge,node:ye,rect:He});return(0,r.useEffect)(()=>{mt&&It.current.newIndex!==vt&&(It.current.newIndex=vt),me!==It.current.containerId&&(It.current.containerId=me),J!==It.current.items&&(It.current.items=J)},[mt,vt,me,J]),(0,r.useEffect)(()=>{if(ze===It.current.activeId)return;if(ze&&!It.current.activeId){It.current.activeId=ze;return}const bn=setTimeout(()=>{It.current.activeId=ze},50);return()=>clearTimeout(bn)},[ze]),{active:Xe,activeIndex:re,attributes:Ne,data:Be,rect:He,index:ge,newIndex:vt,items:J,isOver:Le,isSorting:mt,isDragging:$e,listeners:we,node:ye,overIndex:H,over:Ot,setNodeRef:Bt,setActivatorNodeRef:Pt,setDroppableNodeRef:Ue,setDraggableNodeRef:Ce,transform:Yn??st,transition:Ln()};function Ln(){if(Yn||on&&It.current.newIndex===ge)return I;if(!(ce&&!(0,n.vd)(Fe)||!q)&&(mt||Pn))return n.ux.Transition.toString({...q,property:E})}}function G(U,j){var $,ee;return typeof U=="boolean"?{draggable:U,droppable:!1}:{draggable:($=U==null?void 0:U.draggable)!=null?$:j.draggable,droppable:(ee=U==null?void 0:U.droppable)!=null?ee:j.droppable}}function k(U){if(!U)return!1;const j=U.data.current;return!!(j&&"sortable"in j&&typeof j.sortable=="object"&&"containerId"in j.sortable&&"items"in j.sortable&&"index"in j.sortable)}const x=[o.g4.Down,o.g4.Right,o.g4.Up,o.g4.Left],M=(U,j)=>{let{context:{active:$,collisionRect:ee,droppableRects:te,droppableContainers:ie,over:ne,scrollableAncestors:pe}}=j;if(x.includes(U.code)){if(U.preventDefault(),!$||!ee)return;const oe=[];ie.getEnabled().forEach(me=>{if(!me||me!=null&&me.disabled)return;const re=te.get(me.id);if(re)switch(U.code){case o.g4.Down:ee.top<re.top&&oe.push(me);break;case o.g4.Up:ee.top>re.top&&oe.push(me);break;case o.g4.Left:ee.left>re.left&&oe.push(me);break;case o.g4.Right:ee.left<re.left&&oe.push(me);break}});const q=(0,o.ey)({active:$,collisionRect:ee,droppableRects:te,droppableContainers:oe,pointerCoordinates:null});let J=(0,o._8)(q,"id");if(J===(ne==null?void 0:ne.id)&&q.length>1&&(J=q[1].id),J!=null){const me=ie.get($.id),re=ie.get(J),he=re?te.get(re.id):null,Ee=re==null?void 0:re.node.current;if(Ee&&he&&me&&re){const H=(0,o.hI)(Ee).some((Ke,He)=>pe[He]!==Ke),z=B(me,re),_e=R(me,re),ae=H||!z?{x:0,y:0}:{x:_e?ee.width-he.width:0,y:_e?ee.height-he.height:0},ge={x:he.left,y:he.top};return ae.x&&ae.y?ge:(0,n.$X)(ge,ae)}}}};function B(U,j){return!k(U)||!k(j)?!1:U.data.current.sortable.containerId===j.data.current.sortable.containerId}function R(U,j){return!k(U)||!k(j)||!B(U,j)?!1:U.data.current.sortable.index<j.data.current.sortable.index}},739676:function(b,l,e){"use strict";e.d(l,{$X:()=>v,D9:()=>C,DC:()=>L,Ey:()=>y,FJ:()=>a,Gj:()=>O,HB:()=>o,IH:()=>s,Jj:()=>c,LI:()=>g,Ld:()=>S,Nq:()=>n,Re:()=>f,UG:()=>i,Yz:()=>p,qk:()=>u,r3:()=>h,so:()=>G,ux:()=>W,vZ:()=>d,vd:()=>E,wm:()=>P,zX:()=>_});var r=e(174161);function o(...k){return(0,r.useMemo)(()=>x=>{k.forEach(M=>M(x))},k)}const n=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function a(k){const x=Object.prototype.toString.call(k);return x==="[object Window]"||x==="[object global]"}function i(k){return"nodeType"in k}function c(k){var x,M;return k?a(k)?k:i(k)&&(x=(M=k.ownerDocument)==null?void 0:M.defaultView)!=null?x:window:window}function u(k){const{Document:x}=c(k);return k instanceof x}function f(k){return a(k)?!1:k instanceof c(k).HTMLElement}function d(k){return k instanceof c(k).SVGElement}function h(k){return k?a(k)?k.document:i(k)?u(k)?k:f(k)?k.ownerDocument:document:document:document}const g=n?r.useLayoutEffect:r.useEffect;function _(k){const x=(0,r.useRef)(k);return g(()=>{x.current=k}),(0,r.useCallback)(function(...M){return x.current==null?void 0:x.current(...M)},[])}function p(){const k=(0,r.useRef)(null),x=(0,r.useCallback)((B,R)=>{k.current=setInterval(B,R)},[]),M=(0,r.useCallback)(()=>{k.current!==null&&(clearInterval(k.current),k.current=null)},[]);return[x,M]}function y(k,x=[k]){const M=(0,r.useRef)(k);return g(()=>{M.current!==k&&(M.current=k)},x),M}function O(k,x){const M=(0,r.useRef)();return(0,r.useMemo)(()=>{const B=k(M.current);return M.current=B,B},[...x])}function P(k){const x=_(k),M=(0,r.useRef)(null),B=(0,r.useCallback)(R=>{R!==M.current&&(x==null||x(R,M.current)),M.current=R},[]);return[M,B]}function C(k){const x=(0,r.useRef)();return(0,r.useEffect)(()=>{x.current=k},[k]),x.current}let A={};function S(k,x){return(0,r.useMemo)(()=>{if(x)return x;const M=A[k]==null?0:A[k]+1;return A[k]=M,`${k}-${M}`},[k,x])}function T(k){return(x,...M)=>M.reduce((B,R)=>{const U=Object.entries(R);for(const[j,$]of U){const ee=B[j];ee!=null&&(B[j]=ee+k*$)}return B},{...x})}const s=T(1),v=T(-1);function m(k){return"clientX"in k&&"clientY"in k}function E(k){if(!k)return!1;const{KeyboardEvent:x}=c(k.target);return x&&k instanceof x}function I(k){if(!k)return!1;const{TouchEvent:x}=c(k.target);return x&&k instanceof x}function L(k){if(I(k)){if(k.touches&&k.touches.length){const{clientX:x,clientY:M}=k.touches[0];return{x,y:M}}else if(k.changedTouches&&k.changedTouches.length){const{clientX:x,clientY:M}=k.changedTouches[0];return{x,y:M}}}return m(k)?{x:k.clientX,y:k.clientY}:null}const W=Object.freeze({Translate:{toString(k){if(!k)return;const{x,y:M}=k;return`translate3d(${x?Math.round(x):0}px, ${M?Math.round(M):0}px, 0)`}},Scale:{toString(k){if(!k)return;const{scaleX:x,scaleY:M}=k;return`scaleX(${x}) scaleY(${M})`}},Transform:{toString(k){if(k)return[W.Translate.toString(k),W.Scale.toString(k)].join(" ")}},Transition:{toString({property:k,duration:x,easing:M}){return`${k} ${x}ms ${M}`}}}),F="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function G(k){return k.matches(F)?k:k.querySelector(F)}},707925:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>$n});var r=e(807232),o=Math.abs,n=String.fromCharCode,a=Object.assign;function i(jt,Rn){return h(jt,0)^45?(((Rn<<2^h(jt,0))<<2^h(jt,1))<<2^h(jt,2))<<2^h(jt,3):0}function c(jt){return jt.trim()}function u(jt,Rn){return(jt=Rn.exec(jt))?jt[0]:jt}function f(jt,Rn,jn){return jt.replace(Rn,jn)}function d(jt,Rn,jn){return jt.indexOf(Rn,jn)}function h(jt,Rn){return jt.charCodeAt(Rn)|0}function g(jt,Rn,jn){return jt.slice(Rn,jn)}function _(jt){return jt.length}function p(jt){return jt.length}function y(jt,Rn){return Rn.push(jt),jt}function O(jt,Rn){return jt.map(Rn).join("")}function P(jt,Rn){return jt.filter(function(jn){return!u(jn,Rn)})}var C=1,A=1,S=0,T=0,s=0,v="";function m(jt,Rn,jn,Tn,Nn,cn,or,qn){return{value:jt,root:Rn,parent:jn,type:Tn,props:Nn,children:cn,line:C,column:A,length:or,return:"",siblings:qn}}function E(jt,Rn){return a(m("",null,null,"",null,null,0,jt.siblings),jt,{length:-jt.length},Rn)}function I(jt){for(;jt.root;)jt=E(jt.root,{children:[jt]});y(jt,jt.siblings)}function L(){return s}function W(){return s=T>0?h(v,--T):0,A--,s===10&&(A=1,C--),s}function F(){return s=T<S?h(v,T++):0,A++,s===10&&(A=1,C++),s}function G(){return h(v,T)}function k(){return T}function x(jt,Rn){return g(v,jt,Rn)}function M(jt){switch(jt){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function B(jt){return C=A=1,S=_(v=jt),T=0,[]}function R(jt){return v="",jt}function U(jt){return c(x(T-1,ie(jt===91?jt+2:jt===40?jt+1:jt)))}function j(jt){return R(ee(B(jt)))}function $(jt){for(;(s=G())&&s<33;)F();return M(jt)>2||M(s)>3?"":" "}function ee(jt){for(;F();)switch(M(s)){case 0:append(pe(T-1),jt);break;case 2:append(U(s),jt);break;default:append(from(s),jt)}return jt}function te(jt,Rn){for(;--Rn&&F()&&!(s<48||s>102||s>57&&s<65||s>70&&s<97););return x(jt,k()+(Rn<6&&G()==32&&F()==32))}function ie(jt){for(;F();)switch(s){case jt:return T;case 34:case 39:jt!==34&&jt!==39&&ie(s);break;case 40:jt===41&&ie(jt);break;case 92:F();break}return T}function ne(jt,Rn){for(;F()&&jt+s!==57;)if(jt+s===84&&G()===47)break;return"/*"+x(Rn,T-1)+"*"+n(jt===47?jt:F())}function pe(jt){for(;!M(G());)F();return x(jt,T)}var oe="-ms-",q="-moz-",J="-webkit-",me="comm",re="rule",he="decl",Ee="@page",fe="@media",H="@import",z="@charset",_e="@viewport",ae="@supports",ge="@document",Be="@namespace",Ke="@keyframes",He="@font-face",ye="@counter-style",Le="@font-feature-values",Ue="@layer";function Xe(jt,Rn){for(var jn="",Tn=0;Tn<jt.length;Tn++)jn+=Rn(jt[Tn],Tn,jt,Rn)||"";return jn}function Fe(jt,Rn,jn,Tn){switch(jt.type){case Ue:if(jt.children.length)break;case H:case he:return jt.return=jt.return||jt.value;case me:return"";case Ke:return jt.return=jt.value+"{"+Xe(jt.children,Tn)+"}";case re:if(!_(jt.value=jt.props.join(",")))return""}return _(jn=Xe(jt.children,Tn))?jt.return=jt.value+"{"+jn+"}":""}function ht(jt,Rn,jn){switch(i(jt,Rn)){case 5103:return J+"print-"+jt+jt;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return J+jt+jt;case 4789:return q+jt+jt;case 5349:case 4246:case 4810:case 6968:case 2756:return J+jt+q+jt+oe+jt+jt;case 5936:switch(h(jt,Rn+11)){case 114:return J+jt+oe+f(jt,/[svh]\w+-[tblr]{2}/,"tb")+jt;case 108:return J+jt+oe+f(jt,/[svh]\w+-[tblr]{2}/,"tb-rl")+jt;case 45:return J+jt+oe+f(jt,/[svh]\w+-[tblr]{2}/,"lr")+jt}case 6828:case 4268:case 2903:return J+jt+oe+jt+jt;case 6165:return J+jt+oe+"flex-"+jt+jt;case 5187:return J+jt+f(jt,/(\w+).+(:[^]+)/,J+"box-$1$2"+oe+"flex-$1$2")+jt;case 5443:return J+jt+oe+"flex-item-"+f(jt,/flex-|-self/g,"")+(u(jt,/flex-|baseline/)?"":oe+"grid-row-"+f(jt,/flex-|-self/g,""))+jt;case 4675:return J+jt+oe+"flex-line-pack"+f(jt,/align-content|flex-|-self/g,"")+jt;case 5548:return J+jt+oe+f(jt,"shrink","negative")+jt;case 5292:return J+jt+oe+f(jt,"basis","preferred-size")+jt;case 6060:return J+"box-"+f(jt,"-grow","")+J+jt+oe+f(jt,"grow","positive")+jt;case 4554:return J+f(jt,/([^-])(transform)/g,"$1"+J+"$2")+jt;case 6187:return f(f(f(jt,/(zoom-|grab)/,J+"$1"),/(image-set)/,J+"$1"),jt,"")+jt;case 5495:case 3959:return f(jt,/(image-set\([^]*)/,J+"$1$`$1");case 4968:return f(f(jt,/(.+:)(flex-)?(.*)/,J+"box-pack:$3"+oe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+J+jt+jt;case 4200:if(!u(jt,/flex-|baseline/))return oe+"grid-column-align"+g(jt,Rn)+jt;break;case 2592:case 3360:return oe+f(jt,"template-","")+jt;case 4384:case 3616:return jn&&jn.some(function(Tn,Nn){return Rn=Nn,u(Tn.props,/grid-\w+-end/)})?~d(jt+(jn=jn[Rn].value),"span",0)?jt:oe+f(jt,"-start","")+jt+oe+"grid-row-span:"+(~d(jn,"span",0)?u(jn,/\d+/):+u(jn,/\d+/)-+u(jt,/\d+/))+";":oe+f(jt,"-start","")+jt;case 4896:case 4128:return jn&&jn.some(function(Tn){return u(Tn.props,/grid-\w+-start/)})?jt:oe+f(f(jt,"-end","-span"),"span ","")+jt;case 4095:case 3583:case 4068:case 2532:return f(jt,/(.+)-inline(.+)/,J+"$1$2")+jt;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_(jt)-1-Rn>6)switch(h(jt,Rn+1)){case 109:if(h(jt,Rn+4)!==45)break;case 102:return f(jt,/(.+:)(.+)-([^]+)/,"$1"+J+"$2-$3$1"+q+(h(jt,Rn+3)==108?"$3":"$2-$3"))+jt;case 115:return~d(jt,"stretch",0)?ht(f(jt,"stretch","fill-available"),Rn,jn)+jt:jt}break;case 5152:case 5920:return f(jt,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(Tn,Nn,cn,or,qn,Hr,fo){return oe+Nn+":"+cn+fo+(or?oe+Nn+"-span:"+(qn?Hr:+Hr-+cn)+fo:"")+jt});case 4949:if(h(jt,Rn+6)===121)return f(jt,":",":"+J)+jt;break;case 6444:switch(h(jt,h(jt,14)===45?18:11)){case 120:return f(jt,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+J+(h(jt,14)===45?"inline-":"")+"box$3$1"+J+"$2$3$1"+oe+"$2box$3")+jt;case 100:return f(jt,":",":"+oe)+jt}break;case 5719:case 2647:case 2135:case 3927:case 2391:return f(jt,"scroll-","scroll-snap-")+jt}return jt}function Ne(jt){var Rn=p(jt);return function(jn,Tn,Nn,cn){for(var or="",qn=0;qn<Rn;qn++)or+=jt[qn](jn,Tn,Nn,cn)||"";return or}}function Ce(jt){return function(Rn){Rn.root||(Rn=Rn.return)&&jt(Rn)}}function we(jt,Rn,jn,Tn){if(jt.length>-1&&!jt.return)switch(jt.type){case he:jt.return=ht(jt.value,jt.length,jn);return;case Ke:return Xe([E(jt,{value:f(jt.value,"@","@"+J)})],Tn);case re:if(jt.length)return O(jn=jt.props,function(Nn){switch(u(Nn,Tn=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":I(E(jt,{props:[f(Nn,/:(read-\w+)/,":"+q+"$1")]})),I(E(jt,{props:[Nn]})),a(jt,{props:P(jn,Tn)});break;case"::placeholder":I(E(jt,{props:[f(Nn,/:(plac\w+)/,":"+J+"input-$1")]})),I(E(jt,{props:[f(Nn,/:(plac\w+)/,":"+q+"$1")]})),I(E(jt,{props:[f(Nn,/:(plac\w+)/,oe+"input-$1")]})),I(E(jt,{props:[Nn]})),a(jt,{props:P(jn,Tn)});break}return""})}}function $e(jt){switch(jt.type){case RULESET:jt.props=jt.props.map(function(Rn){return combine(tokenize(Rn),function(jn,Tn,Nn){switch(charat(jn,0)){case 12:return substr(jn,1,strlen(jn));case 0:case 40:case 43:case 62:case 126:return jn;case 58:Nn[++Tn]==="global"&&(Nn[Tn]="",Nn[++Tn]="\f"+substr(Nn[Tn],Tn=1,-1));case 32:return Tn===1?"":jn;default:switch(Tn){case 0:return jt=jn,sizeof(Nn)>1?"":jn;case(Tn=sizeof(Nn)-1):case 2:return Tn===2?jn+jt+jt:jn+jt;default:return jn}}})})}}function Ot(jt){return R(Pt("",null,null,null,[""],jt=B(jt),0,[0],jt))}function Pt(jt,Rn,jn,Tn,Nn,cn,or,qn,Hr){for(var fo=0,Jr=0,ro=or,Xt=0,Je=0,At=0,xt=1,Qt=1,qt=1,Te=0,Gt="",un=Nn,Vt=cn,Dn=Tn,Wt=Gt;Qt;)switch(At=Te,Te=F()){case 40:if(At!=108&&h(Wt,ro-1)==58){d(Wt+=f(U(Te),"&","&\f"),"&\f",o(fo?qn[fo-1]:0))!=-1&&(qt=-1);break}case 34:case 39:case 91:Wt+=U(Te);break;case 9:case 10:case 13:case 32:Wt+=$(At);break;case 92:Wt+=te(k()-1,7);continue;case 47:switch(G()){case 42:case 47:y(Bt(ne(F(),k()),Rn,jn,Hr),Hr);break;default:Wt+="/"}break;case 123*xt:qn[fo++]=_(Wt)*qt;case 125*xt:case 59:case 0:switch(Te){case 0:case 125:Qt=0;case 59+Jr:qt==-1&&(Wt=f(Wt,/\f/g,"")),Je>0&&_(Wt)-ro&&y(Je>32?mt(Wt+";",Tn,jn,ro-1,Hr):mt(f(Wt," ","")+";",Tn,jn,ro-2,Hr),Hr);break;case 59:Wt+=";";default:if(y(Dn=Ie(Wt,Rn,jn,fo,Jr,Nn,qn,Gt,un=[],Vt=[],ro,cn),cn),Te===123)if(Jr===0)Pt(Wt,Rn,Dn,Dn,un,cn,ro,qn,Vt);else switch(Xt===99&&h(Wt,3)===110?100:Xt){case 100:case 108:case 109:case 115:Pt(jt,Dn,Dn,Tn&&y(Ie(jt,Dn,Dn,0,0,Nn,qn,Gt,Nn,un=[],ro,Vt),Vt),Nn,Vt,ro,qn,Tn?un:Vt);break;default:Pt(Wt,Dn,Dn,Dn,[""],Vt,0,qn,Vt)}}fo=Jr=Je=0,xt=qt=1,Gt=Wt="",ro=or;break;case 58:ro=1+_(Wt),Je=At;default:if(xt<1){if(Te==123)--xt;else if(Te==125&&xt++==0&&W()==125)continue}switch(Wt+=n(Te),Te*xt){case 38:qt=Jr>0?1:(Wt+="\f",-1);break;case 44:qn[fo++]=(_(Wt)-1)*qt,qt=1;break;case 64:G()===45&&(Wt+=U(F())),Xt=G(),Jr=ro=_(Gt=Wt+=pe(k())),Te++;break;case 45:At===45&&_(Wt)==2&&(xt=0)}}return cn}function Ie(jt,Rn,jn,Tn,Nn,cn,or,qn,Hr,fo,Jr,ro){for(var Xt=Nn-1,Je=Nn===0?cn:[""],At=p(Je),xt=0,Qt=0,qt=0;xt<Tn;++xt)for(var Te=0,Gt=g(jt,Xt+1,Xt=o(Qt=or[xt])),un=jt;Te<At;++Te)(un=c(Qt>0?Je[Te]+" "+Gt:f(Gt,/&\f/g,Je[Te])))&&(Hr[qt++]=un);return m(jt,Rn,jn,Nn===0?re:qn,Hr,fo,Jr,ro)}function Bt(jt,Rn,jn,Tn){return m(jt,Rn,jn,me,n(L()),g(jt,2,-2),0,Tn)}function mt(jt,Rn,jn,Tn,Nn){return m(jt,Rn,jn,he,g(jt,0,Tn),g(jt,Tn+1,-1),Tn,Nn)}var rt=function(Rn){return Rn.length?Rn[Rn.length-1]:null},ce=function(Rn,jn){var Tn=-1,Nn=44;do switch(M(Nn)){case 0:Nn===38&&G()===12&&(jn[Tn]=1),Rn[Tn]+=pe(T-1);break;case 2:Rn[Tn]+=U(Nn);break;case 4:if(Nn===44){Rn[++Tn]=G()===58?"&\f":"",jn[Tn]=Rn[Tn].length;break}default:Rn[Tn]+=n(Nn)}while(Nn=F());return Rn},Re=function(Rn,jn){return R(ce(B(Rn),jn))},nt=new WeakMap,st=function(Rn){if(!(Rn.type!=="rule"||!Rn.parent||!Rn.length)){for(var jn=Rn.value,Tn=Rn.parent,Nn=Rn.column===Tn.column&&Rn.line===Tn.line;Tn.type!=="rule";)if(Tn=Tn.parent,!Tn)return;if(!(Rn.props.length===1&&jn.charCodeAt(0)!==58&&!nt.get(Tn))&&!Nn){nt.set(Rn,!0);for(var cn=[],or=Re(jn,cn),qn=Tn.props,Hr=0,fo=0;Hr<or.length;Hr++)for(var Jr=0;Jr<qn.length;Jr++,fo++)Rn.props[fo]=cn[Hr]?or[Hr].replace(/&\f/g,qn[Jr]):qn[Jr]+" "+or[Hr]}}},vt=function(Rn){if(Rn.type==="decl"){var jn=Rn.value;jn.charCodeAt(0)===108&&jn.charCodeAt(2)===98&&(Rn.return="",Rn.value="")}},ze="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",It=function(Rn){return!!Rn&&Rn.type==="comm"&&Rn.children.indexOf(ze)>-1},on=function(Rn){return function(jn,Tn,Nn){if(jn.type==="rule"){var cn=jn.value.match(/(:first|:nth|:nth-last)-child/g);if(cn&&Rn.compat!==!0){var or=Tn>0?Nn[Tn-1]:null;if(or&&It(rt(or.children)))return;cn.forEach(function(qn){console.error('The pseudo class "'+qn+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+qn.split("-child")[0]+'-of-type".')})}}}},Pn=function(Rn){return Rn.type.charCodeAt(1)===105&&Rn.type.charCodeAt(0)===64},Yn=function(Rn,jn){for(var Tn=Rn-1;Tn>=0;Tn--)if(!Pn(jn[Tn]))return!0;return!1},Ln=function(Rn){Rn.type="",Rn.value="",Rn.return="",Rn.children="",Rn.props=""},bn=function(Rn,jn,Tn){Pn(Rn)&&(Rn.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Ln(Rn)):Yn(jn,Tn)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ln(Rn)))},ir=[we],Zn=function(Rn){var jn=Rn.key;if(jn==="css"){var Tn=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(Tn,function(xt){document.head.appendChild(xt),xt.setAttribute("data-s","")})}var Nn=Rn.stylisPlugins||ir,cn={},or,qn=[];or=Rn.container||document.head,Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion]"),function(xt){var Qt=xt.getAttribute("data-emotion").split(" ");if(Qt[0]===jn){for(var qt=1;qt<Qt.length;qt++)cn[Qt[qt]]=!0;qn.push(xt)}});var Hr,fo=[st,vt];{var Jr,ro=[Fe,Ce(function(xt){Jr.insert(xt)})],Xt=Ne(fo.concat(Nn,ro)),Je=function(Qt){return Xe(Ot(Qt),Xt)};Hr=function(Qt,qt,Te,Gt){Jr=Te,Je(Qt?Qt+"{"+qt.styles+"}":qt.styles),Gt&&(At.inserted[qt.name]=!0)}}var At={key:jn,sheet:new r.StyleSheet({key:jn,container:or,nonce:Rn.nonce,speedy:Rn.speedy,prepend:Rn.prepend}),nonce:Rn.nonce,inserted:cn,registered:{},insert:Hr};return At.sheet.hydrate(qn),At};const $n=Zn},342334:function(b,l,e){l._default=e(812756).default},812756:function(b,l,e){"use strict";var r;r={value:!0};var o=e(603059),n=e(990671);e(955621),e(533036);var a=function(O,P,C){for(var A=0,S=0;A=S,S=n.peek(),A===38&&S===12&&(P[C]=1),!n.token(S);)n.next();return n.slice(O,n.position)},i=function(O,P){var C=-1,A=44;do switch(n.token(A)){case 0:A===38&&n.peek()===12&&(P[C]=1),O[C]+=a(n.position-1,P,C);break;case 2:O[C]+=n.delimit(A);break;case 4:if(A===44){O[++C]=n.peek()===58?"&\f":"",P[C]=O[C].length;break}default:O[C]+=n.from(A)}while(A=n.next());return O},c=function(O,P){return n.dealloc(i(n.alloc(O),P))},u=new WeakMap,f=function(O){if(!(O.type!=="rule"||!O.parent||O.length<1)){for(var P=O.value,C=O.parent,A=O.column===C.column&&O.line===C.line;C.type!=="rule";)if(C=C.parent,!C)return;if(!(O.props.length===1&&P.charCodeAt(0)!==58&&!u.get(C))&&!A){u.set(O,!0);for(var S=[],T=c(P,S),s=C.props,v=0,m=0;v<T.length;v++)for(var E=0;E<s.length;E++,m++)O.props[m]=S[v]?T[v].replace(/&\f/g,s[E]):s[E]+" "+T[v]}}},d=function(O){if(O.type==="decl"){var P=O.value;P.charCodeAt(0)===108&&P.charCodeAt(2)===98&&(O.return="",O.value="")}};function h(y,O){switch(n.hash(y,O)){case 5103:return n.WEBKIT+"print-"+y+y;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return n.WEBKIT+y+y;case 5349:case 4246:case 4810:case 6968:case 2756:return n.WEBKIT+y+n.MOZ+y+n.MS+y+y;case 6828:case 4268:return n.WEBKIT+y+n.MS+y+y;case 6165:return n.WEBKIT+y+n.MS+"flex-"+y+y;case 5187:return n.WEBKIT+y+n.replace(y,/(\w+).+(:[^]+)/,n.WEBKIT+"box-$1$2"+n.MS+"flex-$1$2")+y;case 5443:return n.WEBKIT+y+n.MS+"flex-item-"+n.replace(y,/flex-|-self/,"")+y;case 4675:return n.WEBKIT+y+n.MS+"flex-line-pack"+n.replace(y,/align-content|flex-|-self/,"")+y;case 5548:return n.WEBKIT+y+n.MS+n.replace(y,"shrink","negative")+y;case 5292:return n.WEBKIT+y+n.MS+n.replace(y,"basis","preferred-size")+y;case 6060:return n.WEBKIT+"box-"+n.replace(y,"-grow","")+n.WEBKIT+y+n.MS+n.replace(y,"grow","positive")+y;case 4554:return n.WEBKIT+n.replace(y,/([^-])(transform)/g,"$1"+n.WEBKIT+"$2")+y;case 6187:return n.replace(n.replace(n.replace(y,/(zoom-|grab)/,n.WEBKIT+"$1"),/(image-set)/,n.WEBKIT+"$1"),y,"")+y;case 5495:case 3959:return n.replace(y,/(image-set\([^]*)/,n.WEBKIT+"$1$`$1");case 4968:return n.replace(n.replace(y,/(.+:)(flex-)?(.*)/,n.WEBKIT+"box-pack:$3"+n.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+n.WEBKIT+y+y;case 4095:case 3583:case 4068:case 2532:return n.replace(y,/(.+)-inline(.+)/,n.WEBKIT+"$1$2")+y;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(n.strlen(y)-1-O>6)switch(n.charat(y,O+1)){case 109:if(n.charat(y,O+4)!==45)break;case 102:return n.replace(y,/(.+:)(.+)-([^]+)/,"$1"+n.WEBKIT+"$2-$3$1"+n.MOZ+(n.charat(y,O+3)==108?"$3":"$2-$3"))+y;case 115:return~n.indexof(y,"stretch")?h(n.replace(y,"stretch","fill-available"),O)+y:y}break;case 4949:if(n.charat(y,O+1)!==115)break;case 6444:switch(n.charat(y,n.strlen(y)-3-(~n.indexof(y,"!important")&&10))){case 107:return n.replace(y,":",":"+n.WEBKIT)+y;case 101:return n.replace(y,/(.+:)([^;!]+)(;|!.+)?/,"$1"+n.WEBKIT+(n.charat(y,14)===45?"inline-":"")+"box$3$1"+n.WEBKIT+"$2$3$1"+n.MS+"$2box$3")+y}break;case 5936:switch(n.charat(y,O+11)){case 114:return n.WEBKIT+y+n.MS+n.replace(y,/[svh]\w+-[tblr]{2}/,"tb")+y;case 108:return n.WEBKIT+y+n.MS+n.replace(y,/[svh]\w+-[tblr]{2}/,"tb-rl")+y;case 45:return n.WEBKIT+y+n.MS+n.replace(y,/[svh]\w+-[tblr]{2}/,"lr")+y}return n.WEBKIT+y+n.MS+y+y}return y}var g=function(O,P,C,A){if(O.length>-1&&!O.return)switch(O.type){case n.DECLARATION:O.return=h(O.value,O.length);break;case n.KEYFRAMES:return n.serialize([n.copy(O,{value:n.replace(O.value,"@","@"+n.WEBKIT)})],A);case n.RULESET:if(O.length)return n.combine(O.props,function(S){switch(n.match(S,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return n.serialize([n.copy(O,{props:[n.replace(S,/:(read-\w+)/,":"+n.MOZ+"$1")]})],A);case"::placeholder":return n.serialize([n.copy(O,{props:[n.replace(S,/:(plac\w+)/,":"+n.WEBKIT+"input-$1")]}),n.copy(O,{props:[n.replace(S,/:(plac\w+)/,":"+n.MOZ+"$1")]}),n.copy(O,{props:[n.replace(S,/:(plac\w+)/,n.MS+"input-$1")]})],A)}return""})}},_=[g],p=function(O){var P=O.key;if(P==="css"){var C=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(C,function(G){var k=G.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(G),G.setAttribute("data-s",""))})}var A=O.stylisPlugins||_,S={},T,s=[];T=O.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+P+' "]'),function(G){for(var k=G.getAttribute("data-emotion").split(" "),x=1;x<k.length;x++)S[k[x]]=!0;s.push(G)});var v,m=[f,d];{var E,I=[n.stringify,n.rulesheet(function(G){E.insert(G)})],L=n.middleware(m.concat(A,I)),W=function(k){return n.serialize(n.compile(k),L)};v=function(k,x,M,B){E=M,W(k?k+"{"+x.styles+"}":x.styles),B&&(F.inserted[x.name]=!0)}}var F={key:P,sheet:new o.StyleSheet({key:P,container:T,nonce:O.nonce,speedy:O.speedy,prepend:O.prepend,insertionPoint:O.insertionPoint}),nonce:O.nonce,inserted:S,registered:{},insert:v};return F.sheet.hydrate(s),F};l.default=p},248586:function(b,l,e){l._default=e(26550).default},26550:function(b,l,e){"use strict";b.exports=e(411477)},411477:function(b,l){"use strict";var e;e={value:!0};function r(o){for(var n=0,a,i=0,c=o.length;c>=4;++i,c-=4)a=o.charCodeAt(i)&255|(o.charCodeAt(++i)&255)<<8|(o.charCodeAt(++i)&255)<<16|(o.charCodeAt(++i)&255)<<24,a=(a&65535)*1540483477+((a>>>16)*59797<<16),a^=a>>>24,n=(a&65535)*1540483477+((a>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(c){case 3:n^=(o.charCodeAt(i+2)&255)<<16;case 2:n^=(o.charCodeAt(i+1)&255)<<8;case 1:n^=o.charCodeAt(i)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}l.default=r},33593:function(b,l,e){"use strict";b.exports=e(517113)},517113:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=e(226500);function o(c){return c&&c.__esModule?c:{default:c}}var n=o(r),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=n.default(function(c){return a.test(c)||c.charCodeAt(0)===111&&c.charCodeAt(1)===110&&c.charCodeAt(2)<91});l.default=i},533895:function(b,l,e){l._default=e(599721).default},599721:function(b,l,e){"use strict";b.exports=e(592401)},592401:function(b,l,e){"use strict";var r;r={value:!0};var o=e(226500);function n(u){return u&&u.__esModule?u:{default:u}}var a=n(o),i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,c=a.default(function(u){return i.test(u)||u.charCodeAt(0)===111&&u.charCodeAt(1)===110&&u.charCodeAt(2)<91});l.default=c},652411:function(b,l,e){l._default=e(166526).default},166526:function(b,l,e){"use strict";b.exports=e(54373)},54373:function(b,l){"use strict";var e;e={value:!0};function r(o){var n=Object.create(null);return function(a){return n[a]===void 0&&(n[a]=o(a)),n[a]}}l.default=r},674201:function(b,l,e){l._default=e(267393).default},267393:function(b,l,e){"use strict";b.exports=e(552998)},552998:function(b,l){"use strict";var e;e={value:!0};function r(o){var n=Object.create(null);return function(a){return n[a]===void 0&&(n[a]=o(a)),n[a]}}l.default=r},964864:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=e(192628);function o(i){return i&&i.__esModule?i:{default:i}}var n=o(r),a=function(i,c){return n.default(i,c)};l.default=a},813605:function(b,l,e){"use strict";var r=e(174161),o=e(261247),n=e(160553),a=e(955621),i=e(964864),c=e(176310),u=e(610609),f=e(268452);function d(x){return x&&x.__esModule?x:{default:x}}function h(x){if(x&&x.__esModule)return x;var M=Object.create(null);return x&&Object.keys(x).forEach(function(B){if(B!=="default"){var R=Object.getOwnPropertyDescriptor(x,B);Object.defineProperty(M,B,R.get?R:{enumerable:!0,get:function(){return x[B]}})}}),M.default=x,Object.freeze(M)}var g=h(r),_=d(o),p=d(a),y=!1,O=g.createContext(typeof HTMLElement<"u"?_.default({key:"css"}):null),P=O.Provider,C=function(){return r.useContext(O)},A=function(M){return r.forwardRef(function(B,R){var U=r.useContext(O);return M(B,U,R)})},S=g.createContext({}),T=function(){return g.useContext(S)},s=function(M,B){if(typeof B=="function"){var R=B(M);return R}return n({},M,B)},v=p.default(function(x){return p.default(function(M){return s(x,M)})}),m=function(M){var B=g.useContext(S);return M.theme!==B&&(B=v(B)(M.theme)),g.createElement(S.Provider,{value:B},M.children)};function E(x){var M=x.displayName||x.name||"Component",B=g.forwardRef(function(U,j){var $=g.useContext(S);return g.createElement(x,n({theme:$,ref:j},U))});return B.displayName="WithTheme("+M+")",i.default(B,x)}var I={}.hasOwnProperty,L="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",W=function(M,B){var R={};for(var U in B)I.call(B,U)&&(R[U]=B[U]);return R[L]=M,R},F=function(M){var B=M.cache,R=M.serialized,U=M.isStringTag;return c.registerStyles(B,R,U),f.useInsertionEffectAlwaysWithSyncFallback(function(){return c.insertStyles(B,R,U)}),null},G=A(function(x,M,B){var R=x.css;typeof R=="string"&&M.registered[R]!==void 0&&(R=M.registered[R]);var U=x[L],j=[R],$="";typeof x.className=="string"?$=c.getRegisteredStyles(M.registered,j,x.className):x.className!=null&&($=x.className+" ");var ee=u.serializeStyles(j,void 0,g.useContext(S));$+=M.key+"-"+ee.name;var te={};for(var ie in x)I.call(x,ie)&&ie!=="css"&&ie!==L&&!y&&(te[ie]=x[ie]);return te.className=$,B&&(te.ref=B),g.createElement(g.Fragment,null,g.createElement(F,{cache:M,serialized:ee,isStringTag:typeof U=="string"}),g.createElement(U,te))}),k=G;l.CacheProvider=P,l.Emotion=k,l.ThemeContext=S,l.ThemeProvider=m,l.__unsafe_useEmotionCache=C,l.createEmotionProps=W,l.hasOwn=I,l.isDevelopment=y,l.useTheme=T,l.withEmotionCache=A,l.withTheme=E},517629:function(b,l,e){"use strict";var r;r={value:!0};var o=e(813605),n=e(174161),a=e(176310),i=e(268452),c=e(610609);e(261247),e(160553),e(955621),e(964864),e(192628);function u(P){if(P&&P.__esModule)return P;var C=Object.create(null);return P&&Object.keys(P).forEach(function(A){if(A!=="default"){var S=Object.getOwnPropertyDescriptor(P,A);Object.defineProperty(C,A,S.get?S:{enumerable:!0,get:function(){return P[A]}})}}),C.default=P,Object.freeze(C)}var f=u(n);l.jsx=function(C,A){var S=arguments;if(A==null||!o.hasOwn.call(A,"css"))return f.createElement.apply(void 0,S);var T=S.length,s=new Array(T);s[0]=o.Emotion,s[1]=o.createEmotionProps(C,A);for(var v=2;v<T;v++)s[v]=S[v];return f.createElement.apply(null,s)},function(P){var C;C||(C=P.JSX||(P.JSX={}))}(l.jsx||(l.jsx={}));var d=o.withEmotionCache(function(P,C){var A=P.styles,S=c.serializeStyles([A],void 0,f.useContext(o.ThemeContext)),T=f.useRef();return i.useInsertionEffectWithLayoutFallback(function(){var s=C.key+"-global",v=new C.sheet.constructor({key:s,nonce:C.sheet.nonce,container:C.sheet.container,speedy:C.sheet.isSpeedy}),m=!1,E=document.querySelector('style[data-emotion="'+s+" "+S.name+'"]');return C.sheet.tags.length&&(v.before=C.sheet.tags[0]),E!==null&&(m=!0,E.setAttribute("data-emotion",s),v.hydrate([E])),T.current=[v,m],function(){v.flush()}},[C]),i.useInsertionEffectWithLayoutFallback(function(){var s=T.current,v=s[0],m=s[1];if(m){s[1]=!1;return}if(S.next!==void 0&&a.insertStyles(C,S.next,!0),v.tags.length){var E=v.tags[v.tags.length-1].nextElementSibling;v.before=E,v.flush()}C.insert("",S,v,!1)},[C,S.name]),null});function h(){for(var P=arguments.length,C=new Array(P),A=0;A<P;A++)C[A]=arguments[A];return c.serializeStyles(C)}function g(){var P=h.apply(void 0,arguments),C="animation-"+P.name;return{name:C,styles:"@keyframes "+C+"{"+P.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var _=function P(C){for(var A=C.length,S=0,T="";S<A;S++){var s=C[S];if(s!=null){var v=void 0;switch(typeof s){case"boolean":break;case"object":{if(Array.isArray(s))v=P(s);else{v="";for(var m in s)s[m]&&m&&(v&&(v+=" "),v+=m)}break}default:v=s}v&&(T&&(T+=" "),T+=v)}}return T};function p(P,C,A){var S=[],T=a.getRegisteredStyles(P,S,A);return S.length<2?A:T+C(S)}var y=function(C){var A=C.cache,S=C.serializedArr;return i.useInsertionEffectAlwaysWithSyncFallback(function(){for(var T=0;T<S.length;T++)a.insertStyles(A,S[T],!1)}),null},O=o.withEmotionCache(function(P,C){var A=!1,S=[],T=function(){if(A&&o.isDevelopment)throw new Error("css can only be used during render");for(var I=arguments.length,L=new Array(I),W=0;W<I;W++)L[W]=arguments[W];var F=c.serializeStyles(L,C.registered);return S.push(F),a.registerStyles(C,F,!1),C.key+"-"+F.name},s=function(){if(A&&o.isDevelopment)throw new Error("cx can only be used during render");for(var I=arguments.length,L=new Array(I),W=0;W<I;W++)L[W]=arguments[W];return p(C.registered,T,_(L))},v={css:T,cx:s,theme:f.useContext(o.ThemeContext)},m=P.children(v);return A=!0,f.createElement(f.Fragment,null,f.createElement(y,{cache:C,serializedArr:S}),m)});l.CacheProvider=o.CacheProvider,l.ThemeContext=o.ThemeContext,l.ThemeProvider=o.ThemeProvider,l.__unsafe_useEmotionCache=o.__unsafe_useEmotionCache,l.useTheme=o.useTheme,l.withEmotionCache=o.withEmotionCache,l.withTheme=o.withTheme,l.ClassNames=O,l.Global=d,l.createElement=l.jsx,l.css=h,l.keyframes=g},29309:function(b,l,e){"use strict";b.exports=e(116942)},116942:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=e(928946),o=e(744780),n=e(226500);function a(T){return T&&T.__esModule?T:{default:T}}var i=a(r),c=a(o),u=a(n),f=/[A-Z]|^ms/g,d=/_EMO_([^_]+?)_([^]*?)_EMO_/g,h=function(s){return s.charCodeAt(1)===45},g=function(s){return s!=null&&typeof s!="boolean"},_=u.default(function(T){return h(T)?T:T.replace(f,"-$&").toLowerCase()}),p=function(s,v){switch(s){case"animation":case"animationName":if(typeof v=="string")return v.replace(d,function(m,E,I){return A={name:E,styles:I,next:A},E})}return c.default[s]!==1&&!h(s)&&typeof v=="number"&&v!==0?v+"px":v},y=null;function O(T,s,v){if(v==null)return"";if(v.__emotion_styles!==void 0)return v;switch(typeof v){case"boolean":return"";case"object":{if(v.anim===1)return A={name:v.name,styles:v.styles,next:A},v.name;if(v.styles!==void 0){var m=v.next;if(m!==void 0)for(;m!==void 0;)A={name:m.name,styles:m.styles,next:A},m=m.next;var E=v.styles+";";return E}return P(T,s,v)}case"function":{if(T!==void 0){var I=A,L=v(T);return A=I,O(T,s,L)}break}}if(s==null)return v;var W=s[v];return W!==void 0?W:v}function P(T,s,v){var m="";if(Array.isArray(v))for(var E=0;E<v.length;E++)m+=O(T,s,v[E])+";";else for(var I in v){var L=v[I];if(typeof L!="object")s!=null&&s[L]!==void 0?m+=I+"{"+s[L]+"}":g(L)&&(m+=_(I)+":"+p(I,L)+";");else if(Array.isArray(L)&&typeof L[0]=="string"&&(s==null||s[L[0]]===void 0))for(var W=0;W<L.length;W++)g(L[W])&&(m+=_(I)+":"+p(I,L[W])+";");else{var F=O(T,s,L);switch(I){case"animation":case"animationName":{m+=_(I)+":"+F+";";break}default:m+=I+"{"+F+"}"}}}return m}var C=/label:\s*([^\s;\n{]+)\s*(;|$)/g,A,S=function(s,v,m){if(s.length===1&&typeof s[0]=="object"&&s[0]!==null&&s[0].styles!==void 0)return s[0];var E=!0,I="";A=void 0;var L=s[0];L==null||L.raw===void 0?(E=!1,I+=O(m,v,L)):I+=L[0];for(var W=1;W<s.length;W++)I+=O(m,v,s[W]),E&&(I+=L[W]);C.lastIndex=0;for(var F="",G;(G=C.exec(I))!==null;)F+="-"+G[1];var k=i.default(I)+F;return{name:k,styles:I,next:A}};l.serializeStyles=S},845646:function(b,l,e){"use strict";var r;r={value:!0};var o=e(928946),n=e(896070),a=e(533036);function i(v){return v&&v.__esModule?v:{default:v}}var c=i(o),u=i(n),f=i(a),d=!1,h=/[A-Z]|^ms/g,g=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_=function(m){return m.charCodeAt(1)===45},p=function(m){return m!=null&&typeof m!="boolean"},y=f.default(function(v){return _(v)?v:v.replace(h,"-$&").toLowerCase()}),O=function(m,E){switch(m){case"animation":case"animationName":if(typeof E=="string")return E.replace(g,function(I,L,W){return T={name:L,styles:W,next:T},L})}return u.default[m]!==1&&!_(m)&&typeof E=="number"&&E!==0?E+"px":E},P="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function C(v,m,E){if(E==null)return"";var I=E;if(I.__emotion_styles!==void 0)return I;switch(typeof E){case"boolean":return"";case"object":{var L=E;if(L.anim===1)return T={name:L.name,styles:L.styles,next:T},L.name;var W=E;if(W.styles!==void 0){var F=W.next;if(F!==void 0)for(;F!==void 0;)T={name:F.name,styles:F.styles,next:T},F=F.next;var G=W.styles+";";return G}return A(v,m,E)}case"function":{if(v!==void 0){var k=T,x=E(v);return T=k,C(v,m,x)}break}}var M=E;if(m==null)return M;var B=m[M];return B!==void 0?B:M}function A(v,m,E){var I="";if(Array.isArray(E))for(var L=0;L<E.length;L++)I+=C(v,m,E[L])+";";else for(var W in E){var F=E[W];if(typeof F!="object"){var G=F;m!=null&&m[G]!==void 0?I+=W+"{"+m[G]+"}":p(G)&&(I+=y(W)+":"+O(W,G)+";")}else{if(W==="NO_COMPONENT_SELECTOR"&&d)throw new Error(P);if(Array.isArray(F)&&typeof F[0]=="string"&&(m==null||m[F[0]]===void 0))for(var k=0;k<F.length;k++)p(F[k])&&(I+=y(W)+":"+O(W,F[k])+";");else{var x=C(v,m,F);switch(W){case"animation":case"animationName":{I+=y(W)+":"+x+";";break}default:I+=W+"{"+x+"}"}}}}return I}var S=/label:\s*([^\s;{]+)\s*(;|$)/g,T;function s(v,m,E){if(v.length===1&&typeof v[0]=="object"&&v[0]!==null&&v[0].styles!==void 0)return v[0];var I=!0,L="";T=void 0;var W=v[0];if(W==null||W.raw===void 0)I=!1,L+=C(E,m,W);else{var F=W;L+=F[0]}for(var G=1;G<v.length;G++)if(L+=C(E,m,v[G]),I){var k=W;L+=k[G]}S.lastIndex=0;for(var x="",M;(M=S.exec(L))!==null;)x+="-"+M[1];var B=c.default(L)+x;return{name:B,styles:L,next:T}}l.serializeStyles=s},807232:function(b,l,e){"use strict";b.exports=e(396322)},396322:function(b,l){"use strict";var e;e={value:!0};function r(a){if(a.sheet)return a.sheet;for(var i=0;i<document.styleSheets.length;i++)if(document.styleSheets[i].ownerNode===a)return document.styleSheets[i]}function o(a){var i=document.createElement("style");return i.setAttribute("data-emotion",a.key),a.nonce!==void 0&&i.setAttribute("nonce",a.nonce),i.appendChild(document.createTextNode("")),i.setAttribute("data-s",""),i}var n=function(){function a(c){var u=this;this._insertTag=function(f){var d;u.tags.length===0?u.insertionPoint?d=u.insertionPoint.nextSibling:u.prepend?d=u.container.firstChild:d=u.before:d=u.tags[u.tags.length-1].nextSibling,u.container.insertBefore(f,d),u.tags.push(f)},this.isSpeedy=c.speedy===void 0?!0:c.speedy,this.tags=[],this.ctr=0,this.nonce=c.nonce,this.key=c.key,this.container=c.container,this.prepend=c.prepend,this.insertionPoint=c.insertionPoint,this.before=null}var i=a.prototype;return i.hydrate=function(u){u.forEach(this._insertTag)},i.insert=function(u){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(o(this));var f=this.tags[this.tags.length-1];if(this.isSpeedy){var d=r(f);try{d.insertRule(u,d.cssRules.length)}catch{}}else f.appendChild(document.createTextNode(u));this.ctr++},i.flush=function(){this.tags.forEach(function(u){return u.parentNode&&u.parentNode.removeChild(u)}),this.tags=[],this.ctr=0},a}();l.StyleSheet=n},826582:function(b,l){"use strict";var e;e={value:!0};var r=!1;function o(i){if(i.sheet)return i.sheet;for(var c=0;c<document.styleSheets.length;c++)if(document.styleSheets[c].ownerNode===i)return document.styleSheets[c]}function n(i){var c=document.createElement("style");return c.setAttribute("data-emotion",i.key),i.nonce!==void 0&&c.setAttribute("nonce",i.nonce),c.appendChild(document.createTextNode("")),c.setAttribute("data-s",""),c}var a=function(){function i(u){var f=this;this._insertTag=function(d){var h;f.tags.length===0?f.insertionPoint?h=f.insertionPoint.nextSibling:f.prepend?h=f.container.firstChild:h=f.before:h=f.tags[f.tags.length-1].nextSibling,f.container.insertBefore(d,h),f.tags.push(d)},this.isSpeedy=u.speedy===void 0?!r:u.speedy,this.tags=[],this.ctr=0,this.nonce=u.nonce,this.key=u.key,this.container=u.container,this.prepend=u.prepend,this.insertionPoint=u.insertionPoint,this.before=null}var c=i.prototype;return c.hydrate=function(f){f.forEach(this._insertTag)},c.insert=function(f){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(n(this));var d=this.tags[this.tags.length-1];if(this.isSpeedy){var h=o(d);try{h.insertRule(f,h.cssRules.length)}catch{}}else d.appendChild(document.createTextNode(f));this.ctr++},c.flush=function(){this.tags.forEach(function(f){var d;return(d=f.parentNode)==null?void 0:d.removeChild(f)}),this.tags=[],this.ctr=0},i}();l.StyleSheet=a},674654:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=e(160553),o=e(174161),n=e(33593),a=e(162569),i=e(176310),c=e(29309),u=e(866606);function f(C){return C&&C.__esModule?C:{default:C}}var d=f(n),h=d.default,g=function(A){return A!=="theme"},_=function(A){return typeof A=="string"&&A.charCodeAt(0)>96?h:g},p=function(A,S,T){var s;if(S){var v=S.shouldForwardProp;s=A.__emotion_forwardProp&&v?function(m){return A.__emotion_forwardProp(m)&&v(m)}:v}return typeof s!="function"&&T&&(s=A.__emotion_forwardProp),s},y=typeof document<"u",O=function(A){var S=A.cache,T=A.serialized,s=A.isStringTag;i.registerStyles(S,T,s);var v=u.useInsertionEffectAlwaysWithSyncFallback(function(){return i.insertStyles(S,T,s)});if(!y&&v!==void 0){for(var m,E=T.name,I=T.next;I!==void 0;)E+=" "+I.name,I=I.next;return o.createElement("style",(m={},m["data-emotion"]=S.key+" "+E,m.dangerouslySetInnerHTML={__html:v},m.nonce=S.sheet.nonce,m))}return null},P=function C(A,S){var T=A.__emotion_real===A,s=T&&A.__emotion_base||A,v,m;S!==void 0&&(v=S.label,m=S.target);var E=p(A,S,T),I=E||_(s),L=!I("as");return function(){var W=arguments,F=T&&A.__emotion_styles!==void 0?A.__emotion_styles.slice(0):[];if(v!==void 0&&F.push("label:"+v+";"),W[0]==null||W[0].raw===void 0)F.push.apply(F,W);else{F.push(W[0][0]);for(var G=W.length,k=1;k<G;k++)F.push(W[k],W[0][k])}var x=a.withEmotionCache(function(M,B,R){var U=L&&M.as||s,j="",$=[],ee=M;if(M.theme==null){ee={};for(var te in M)ee[te]=M[te];ee.theme=o.useContext(a.ThemeContext)}typeof M.className=="string"?j=i.getRegisteredStyles(B.registered,$,M.className):M.className!=null&&(j=M.className+" ");var ie=c.serializeStyles(F.concat($),B.registered,ee);j+=B.key+"-"+ie.name,m!==void 0&&(j+=" "+m);var ne=L&&E===void 0?_(U):I,pe={};for(var oe in M)L&&oe==="as"||ne(oe)&&(pe[oe]=M[oe]);return pe.className=j,pe.ref=R,o.createElement(o.Fragment,null,o.createElement(O,{cache:B,serialized:ie,isStringTag:typeof U=="string"}),o.createElement(U,pe))});return x.displayName=v!==void 0?v:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",x.defaultProps=A.defaultProps,x.__emotion_real=x,x.__emotion_base=s,x.__emotion_styles=F,x.__emotion_forwardProp=E,Object.defineProperty(x,"toString",{value:function(){return"."+m}}),x.withComponent=function(M,B){return C(M,r({},S,B,{shouldForwardProp:p(x,B,!0)})).apply(void 0,F)},x}};l.default=P},446482:function(b,l,e){"use strict";b.exports=e(763305)},763305:function(b,l,e){"use strict";var r;r={value:!0},e(160553),e(174161),e(33593);var o=e(674654);e(162569),e(176310),e(29309),e(866606);var n=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],a=o.default.bind();n.forEach(function(i){a[i]=a(i)}),l.default=a},766769:function(b,l,e){l._default=e(104180).default},104180:function(b,l){"use strict";var e;e={value:!0};var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};l.default=r},744780:function(b,l,e){"use strict";b.exports=e(755018)},755018:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};l.default=e},866606:function(b,l,e){"use strict";b.exports=e(302087)},302087:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=e(174161);function o(d){if(d&&d.__esModule)return d;var h=Object.create(null);return d&&Object.keys(d).forEach(function(g){if(g!=="default"){var _=Object.getOwnPropertyDescriptor(d,g);Object.defineProperty(h,g,_.get?_:{enumerable:!0,get:function(){return d[g]}})}}),h.default=d,Object.freeze(h)}var n=o(r),a=typeof document<"u",i=function(h){return h()},c=n.useInsertionEffect?n.useInsertionEffect:!1,u=a&&c||i,f=c||r.useLayoutEffect;l.useInsertionEffectAlwaysWithSyncFallback=u,l.useInsertionEffectWithLayoutFallback=f},258235:function(b,l,e){"use strict";var r;r={value:!0};var o=e(174161);function n(d){if(d&&d.__esModule)return d;var h=Object.create(null);return d&&Object.keys(d).forEach(function(g){if(g!=="default"){var _=Object.getOwnPropertyDescriptor(d,g);Object.defineProperty(h,g,_.get?_:{enumerable:!0,get:function(){return d[g]}})}}),h.default=d,Object.freeze(h)}var a=n(o),i=function(h){return h()},c=a.useInsertionEffect?a.useInsertionEffect:!1,u=c||i,f=c||a.useLayoutEffect;l.useInsertionEffectAlwaysWithSyncFallback=u,l.useInsertionEffectWithLayoutFallback=f},892193:function(b,l){"use strict";var e;e={value:!0};var r=!0;function o(i,c,u){var f="";return u.split(" ").forEach(function(d){i[d]!==void 0?c.push(i[d]+";"):d&&(f+=d+" ")}),f}var n=function(c,u,f){var d=c.key+"-"+u.name;(f===!1||r===!1)&&c.registered[d]===void 0&&(c.registered[d]=u.styles)},a=function(c,u,f){n(c,u,f);var d=c.key+"-"+u.name;if(c.inserted[u.name]===void 0){var h=u;do c.insert(u===h?"."+d:"",h,c.sheet,!0),h=h.next;while(h!==void 0)}};l.getRegisteredStyles=o,l.insertStyles=a,l.registerStyles=n},539975:function(b,l,e){l._default=e(606898).default},606898:function(b,l,e){"use strict";b.exports=e(975029)},975029:function(b,l){"use strict";var e;e={value:!0};var r=function(n){var a=new WeakMap;return function(i){if(a.has(i))return a.get(i);var c=n(i);return a.set(i,c),c}};l.default=r},18653:function(b,l,e){"use strict";e.d(l,{c:()=>g});var r=e(260495),o=function(_,p){var y=typeof Symbol=="function"&&_[Symbol.iterator];if(!y)return _;var O=y.call(_),P,C=[],A;try{for(;(p===void 0||p-- >0)&&!(P=O.next()).done;)C.push(P.value)}catch(S){A={error:S}}finally{try{P&&!P.done&&(y=O.return)&&y.call(O)}finally{if(A)throw A.error}}return C},n=function(_,p,y){if(y||arguments.length===2)for(var O=0,P=p.length,C;O<P;O++)(C||!(O in p))&&(C||(C=Array.prototype.slice.call(p,0,O)),C[O]=p[O]);return _.concat(C||Array.prototype.slice.call(p))},a=function(){function _(){}return _.prototype.active=function(){return r.I},_.prototype.with=function(p,y,O){for(var P=[],C=3;C<arguments.length;C++)P[C-3]=arguments[C];return y.call.apply(y,n([O],o(P),!1))},_.prototype.bind=function(p,y){return y},_.prototype.enable=function(){return this},_.prototype.disable=function(){return this},_}(),i=e(41049),c=e(71017),u=function(_,p){var y=typeof Symbol=="function"&&_[Symbol.iterator];if(!y)return _;var O=y.call(_),P,C=[],A;try{for(;(p===void 0||p-- >0)&&!(P=O.next()).done;)C.push(P.value)}catch(S){A={error:S}}finally{try{P&&!P.done&&(y=O.return)&&y.call(O)}finally{if(A)throw A.error}}return C},f=function(_,p,y){if(y||arguments.length===2)for(var O=0,P=p.length,C;O<P;O++)(C||!(O in p))&&(C||(C=Array.prototype.slice.call(p,0,O)),C[O]=p[O]);return _.concat(C||Array.prototype.slice.call(p))},d="context",h=new a,g=function(){function _(){}return _.getInstance=function(){return this._instance||(this._instance=new _),this._instance},_.prototype.setGlobalContextManager=function(p){return(0,i.TG)(d,p,c.G.instance())},_.prototype.active=function(){return this._getContextManager().active()},_.prototype.with=function(p,y,O){for(var P,C=[],A=3;A<arguments.length;A++)C[A-3]=arguments[A];return(P=this._getContextManager()).with.apply(P,f([p,y,O],u(C),!1))},_.prototype.bind=function(p,y){return this._getContextManager().bind(p,y)},_.prototype._getContextManager=function(){return(0,i.Rd)(d)||h},_.prototype.disable=function(){this._getContextManager().disable(),(0,i.J_)(d,c.G.instance())},_}()},71017:function(b,l,e){"use strict";e.d(l,{G:()=>g});var r=e(41049),o=function(_,p){var y=typeof Symbol=="function"&&_[Symbol.iterator];if(!y)return _;var O=y.call(_),P,C=[],A;try{for(;(p===void 0||p-- >0)&&!(P=O.next()).done;)C.push(P.value)}catch(S){A={error:S}}finally{try{P&&!P.done&&(y=O.return)&&y.call(O)}finally{if(A)throw A.error}}return C},n=function(_,p,y){if(y||arguments.length===2)for(var O=0,P=p.length,C;O<P;O++)(C||!(O in p))&&(C||(C=Array.prototype.slice.call(p,0,O)),C[O]=p[O]);return _.concat(C||Array.prototype.slice.call(p))},a=function(){function _(p){this._namespace=p.namespace||"DiagComponentLogger"}return _.prototype.debug=function(){for(var p=[],y=0;y<arguments.length;y++)p[y]=arguments[y];return i("debug",this._namespace,p)},_.prototype.error=function(){for(var p=[],y=0;y<arguments.length;y++)p[y]=arguments[y];return i("error",this._namespace,p)},_.prototype.info=function(){for(var p=[],y=0;y<arguments.length;y++)p[y]=arguments[y];return i("info",this._namespace,p)},_.prototype.warn=function(){for(var p=[],y=0;y<arguments.length;y++)p[y]=arguments[y];return i("warn",this._namespace,p)},_.prototype.verbose=function(){for(var p=[],y=0;y<arguments.length;y++)p[y]=arguments[y];return i("verbose",this._namespace,p)},_}();function i(_,p,y){var O=(0,r.Rd)("diag");if(O)return y.unshift(p),O[_].apply(O,n([],o(y),!1))}var c=e(887875);function u(_,p){_<c.n.NONE?_=c.n.NONE:_>c.n.ALL&&(_=c.n.ALL),p=p||{};function y(O,P){var C=p[O];return typeof C=="function"&&_>=P?C.bind(p):function(){}}return{error:y("error",c.n.ERROR),warn:y("warn",c.n.WARN),info:y("info",c.n.INFO),debug:y("debug",c.n.DEBUG),verbose:y("verbose",c.n.VERBOSE)}}var f=function(_,p){var y=typeof Symbol=="function"&&_[Symbol.iterator];if(!y)return _;var O=y.call(_),P,C=[],A;try{for(;(p===void 0||p-- >0)&&!(P=O.next()).done;)C.push(P.value)}catch(S){A={error:S}}finally{try{P&&!P.done&&(y=O.return)&&y.call(O)}finally{if(A)throw A.error}}return C},d=function(_,p,y){if(y||arguments.length===2)for(var O=0,P=p.length,C;O<P;O++)(C||!(O in p))&&(C||(C=Array.prototype.slice.call(p,0,O)),C[O]=p[O]);return _.concat(C||Array.prototype.slice.call(p))},h="diag",g=function(){function _(){function p(P){return function(){for(var C=[],A=0;A<arguments.length;A++)C[A]=arguments[A];var S=(0,r.Rd)("diag");if(S)return S[P].apply(S,d([],f(C),!1))}}var y=this,O=function(P,C){var A,S,T;if(C===void 0&&(C={logLevel:c.n.INFO}),P===y){var s=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return y.error((A=s.stack)!==null&&A!==void 0?A:s.message),!1}typeof C=="number"&&(C={logLevel:C});var v=(0,r.Rd)("diag"),m=u((S=C.logLevel)!==null&&S!==void 0?S:c.n.INFO,P);if(v&&!C.suppressOverrideMessage){var E=(T=new Error().stack)!==null&&T!==void 0?T:"<failed to generate stacktrace>";v.warn("Current logger will be overwritten from "+E),m.warn("Current logger will overwrite one already registered from "+E)}return(0,r.TG)("diag",m,y,!0)};y.setLogger=O,y.disable=function(){(0,r.J_)(h,y)},y.createComponentLogger=function(P){return new a(P)},y.verbose=p("verbose"),y.debug=p("debug"),y.info=p("info"),y.warn=p("warn"),y.error=p("error")}return _.instance=function(){return this._instance||(this._instance=new _),this._instance},_}()},38605:function(b,l,e){"use strict";e.d(l,{D:()=>o});var r=e(18653),o=r.c.getInstance()},260495:function(b,l,e){"use strict";e.d(l,{I:()=>n,Y:()=>r});function r(a){return Symbol.for(a)}var o=function(){function a(i){var c=this;c._currentContext=i?new Map(i):new Map,c.getValue=function(u){return c._currentContext.get(u)},c.setValue=function(u,f){var d=new a(c._currentContext);return d._currentContext.set(u,f),d},c.deleteValue=function(u){var f=new a(c._currentContext);return f._currentContext.delete(u),f}}return a}(),n=new o},887875:function(b,l,e){"use strict";e.d(l,{n:()=>r});var r;(function(o){o[o.NONE=0]="NONE",o[o.ERROR=30]="ERROR",o[o.WARN=50]="WARN",o[o.INFO=60]="INFO",o[o.DEBUG=70]="DEBUG",o[o.VERBOSE=80]="VERBOSE",o[o.ALL=9999]="ALL"})(r||(r={}))},41049:function(b,l,e){"use strict";e.d(l,{TG:()=>d,J_:()=>g,Rd:()=>h});var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof e.g=="object"?e.g:{},o="1.3.0",n=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function a(_){var p=new Set([_]),y=new Set,O=_.match(n);if(!O)return function(){return!1};var P={major:+O[1],minor:+O[2],patch:+O[3],prerelease:O[4]};if(P.prerelease!=null)return function(T){return T===_};function C(S){return y.add(S),!1}function A(S){return p.add(S),!0}return function(T){if(p.has(T))return!0;if(y.has(T))return!1;var s=T.match(n);if(!s)return C(T);var v={major:+s[1],minor:+s[2],patch:+s[3],prerelease:s[4]};return v.prerelease!=null||P.major!==v.major?C(T):P.major===0?P.minor===v.minor&&P.patch<=v.patch?A(T):C(T):P.minor<=v.minor?A(T):C(T)}}var i=a(o),c=o.split(".")[0],u=Symbol.for("opentelemetry.js.api."+c),f=r;function d(_,p,y,O){var P;O===void 0&&(O=!1);var C=f[u]=(P=f[u])!==null&&P!==void 0?P:{version:o};if(!O&&C[_]){var A=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+_);return y.error(A.stack||A.message),!1}if(C.version!==o){var A=new Error("@opentelemetry/api: All API registration versions must match");return y.error(A.stack||A.message),!1}return C[_]=p,y.debug("@opentelemetry/api: Registered a global for "+_+" v"+o+"."),!0}function h(_){var p,y,O=(p=f[u])===null||p===void 0?void 0:p.version;if(!(!O||!i(O)))return(y=f[u])===null||y===void 0?void 0:y[_]}function g(_,p){p.debug("@opentelemetry/api: Unregistering a global for "+_+" v"+o+".");var y=f[u];y&&delete y[_]}},128617:function(b,l,e){"use strict";e.d(l,{g:()=>f});var r=e(41049),o=e(735276),n=e(446957),a=e(225559),i=e(71017),c="trace",u=function(){function d(){this._proxyTracerProvider=new o.K,this.wrapSpanContext=n.kw,this.isSpanContextValid=n.BM,this.deleteSpan=a.TW,this.getSpan=a.Br,this.getActiveSpan=a.HN,this.getSpanContext=a.A3,this.setSpan=a.WZ,this.setSpanContext=a.G3}return d.getInstance=function(){return this._instance||(this._instance=new d),this._instance},d.prototype.setGlobalTracerProvider=function(h){var g=(0,r.TG)(c,this._proxyTracerProvider,i.G.instance());return g&&this._proxyTracerProvider.setDelegate(h),g},d.prototype.getTracerProvider=function(){return(0,r.Rd)(c)||this._proxyTracerProvider},d.prototype.getTracer=function(h,g){return this.getTracerProvider().getTracer(h,g)},d.prototype.disable=function(){(0,r.J_)(c,i.G.instance()),this._proxyTracerProvider=new o.K},d}(),f=u.getInstance()},709146:function(b,l,e){"use strict";e.d(l,{s:()=>o});var r=e(447471),o=function(){function n(a){a===void 0&&(a=r.Rr),this._spanContext=a}return n.prototype.spanContext=function(){return this._spanContext},n.prototype.setAttribute=function(a,i){return this},n.prototype.setAttributes=function(a){return this},n.prototype.addEvent=function(a,i){return this},n.prototype.setStatus=function(a){return this},n.prototype.updateName=function(a){return this},n.prototype.end=function(a){},n.prototype.isRecording=function(){return!1},n.prototype.recordException=function(a,i){},n}()},415705:function(b,l,e){"use strict";e.d(l,{E:()=>c});var r=e(18653),o=e(225559),n=e(709146),a=e(446957),i=r.c.getInstance(),c=function(){function f(){}return f.prototype.startSpan=function(d,h,g){var _=!!(h!=null&&h.root);if(_)return new n.s;var p=g&&(0,o.A3)(g);return u(p)&&(0,a.BM)(p)?new n.s(p):new n.s},f.prototype.startActiveSpan=function(d,h,g,_){var p,y,O;if(!(arguments.length<2)){arguments.length===2?O=h:arguments.length===3?(p=h,O=g):(p=h,y=g,O=_);var P=y??i.active(),C=this.startSpan(d,p,P),A=(0,o.WZ)(P,C);return i.with(A,O,void 0,C)}},f}();function u(f){return typeof f=="object"&&typeof f.spanId=="string"&&typeof f.traceId=="string"&&typeof f.traceFlags=="number"}},162857:function(b,l,e){"use strict";e.d(l,{T:()=>n});var r=e(415705),o=new r.E,n=function(){function a(i,c,u,f){this._provider=i,this.name=c,this.version=u,this.options=f}return a.prototype.startSpan=function(i,c,u){return this._getTracer().startSpan(i,c,u)},a.prototype.startActiveSpan=function(i,c,u,f){var d=this._getTracer();return Reflect.apply(d.startActiveSpan,d,arguments)},a.prototype._getTracer=function(){if(this._delegate)return this._delegate;var i=this._provider.getDelegateTracer(this.name,this.version,this.options);return i?(this._delegate=i,this._delegate):o},a}()},735276:function(b,l,e){"use strict";e.d(l,{K:()=>i});var r=e(162857),o=e(415705),n=function(){function c(){}return c.prototype.getTracer=function(u,f,d){return new o.E},c}(),a=new n,i=function(){function c(){}return c.prototype.getTracer=function(u,f,d){var h;return(h=this.getDelegateTracer(u,f,d))!==null&&h!==void 0?h:new r.T(this,u,f,d)},c.prototype.getDelegate=function(){var u;return(u=this._delegate)!==null&&u!==void 0?u:a},c.prototype.setDelegate=function(u){this._delegate=u},c.prototype.getDelegateTracer=function(u,f,d){var h;return(h=this._delegate)===null||h===void 0?void 0:h.getTracer(u,f,d)},c}()},225559:function(b,l,e){"use strict";e.d(l,{A3:()=>h,Br:()=>i,G3:()=>d,HN:()=>c,TW:()=>f,WZ:()=>u});var r=e(260495),o=e(709146),n=e(18653),a=(0,r.Y)("OpenTelemetry Context Key SPAN");function i(g){return g.getValue(a)||void 0}function c(){return i(n.c.getInstance().active())}function u(g,_){return g.setValue(a,_)}function f(g){return g.deleteValue(a)}function d(g,_){return u(g,new o.s(_))}function h(g){var _;return(_=i(g))===null||_===void 0?void 0:_.spanContext()}},447471:function(b,l,e){"use strict";e.d(l,{AE:()=>n,Rr:()=>a,fQ:()=>o});var r=e(300996),o="0000000000000000",n="00000000000000000000000000000000",a={traceId:n,spanId:o,traceFlags:r.r.NONE}},446957:function(b,l,e){"use strict";e.d(l,{BM:()=>u,Lc:()=>c,jN:()=>i,kw:()=>f});var r=e(447471),o=e(709146),n=/^([0-9a-f]{32})$/i,a=/^[0-9a-f]{16}$/i;function i(d){return n.test(d)&&d!==r.AE}function c(d){return a.test(d)&&d!==r.fQ}function u(d){return i(d.traceId)&&c(d.spanId)}function f(d){return new o.s(d)}},300996:function(b,l,e){"use strict";e.d(l,{r:()=>r});var r;(function(o){o[o.NONE=0]="NONE",o[o.SAMPLED=1]="SAMPLED"})(r||(r={}))},999179:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(325394);function o(n,a){var i=a.getRootNode&&a.getRootNode();if(n.contains(a))return!0;if(i&&(0,r.Zq)(i)){var c=a;do{if(c&&n.isSameNode(c))return!0;c=c.parentNode||c.host}while(c)}return!1}},54329:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(325394),o=e(202314),n=e(792374),a=e(872255);function i(c,u,f){u===void 0&&(u=!1),f===void 0&&(f=!1);var d=c.getBoundingClientRect(),h=1,g=1;u&&(0,r.Re)(c)&&(h=c.offsetWidth>0&&(0,o.NM)(d.width)/c.offsetWidth||1,g=c.offsetHeight>0&&(0,o.NM)(d.height)/c.offsetHeight||1);var _=(0,r.kK)(c)?(0,n.Z)(c):window,p=_.visualViewport,y=!(0,a.Z)()&&f,O=(d.left+(y&&p?p.offsetLeft:0))/h,P=(d.top+(y&&p?p.offsetTop:0))/g,C=d.width/h,A=d.height/g;return{width:C,height:A,top:P,right:O+C,bottom:P+A,left:O,x:O,y:P}}},263381:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(792374);function o(n){return(0,r.Z)(n).getComputedStyle(n)}},299355:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(325394);function o(n){return(((0,r.kK)(n)?n.ownerDocument:n.document)||window.document).documentElement}},666292:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(o){return o?(o.nodeName||"").toLowerCase():null}},797235:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(792374),o=e(666292),n=e(263381),a=e(325394);function i(g){return["table","td","th"].indexOf((0,o.Z)(g))>=0}var c=e(746281),u=e(372256);function f(g){return!(0,a.Re)(g)||(0,n.Z)(g).position==="fixed"?null:g.offsetParent}function d(g){var _=/firefox/i.test((0,u.Z)()),p=/Trident/i.test((0,u.Z)());if(p&&(0,a.Re)(g)){var y=(0,n.Z)(g);if(y.position==="fixed")return null}var O=(0,c.Z)(g);for((0,a.Zq)(O)&&(O=O.host);(0,a.Re)(O)&&["html","body"].indexOf((0,o.Z)(O))<0;){var P=(0,n.Z)(O);if(P.transform!=="none"||P.perspective!=="none"||P.contain==="paint"||["transform","perspective"].indexOf(P.willChange)!==-1||_&&P.willChange==="filter"||_&&P.filter&&P.filter!=="none")return O;O=O.parentNode}return null}function h(g){for(var _=(0,r.Z)(g),p=f(g);p&&i(p)&&(0,n.Z)(p).position==="static";)p=f(p);return p&&((0,o.Z)(p)==="html"||(0,o.Z)(p)==="body"&&(0,n.Z)(p).position==="static")?_:p||d(g)||_}},746281:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(666292),o=e(299355),n=e(325394);function a(i){return(0,r.Z)(i)==="html"?i:i.assignedSlot||i.parentNode||((0,n.Zq)(i)?i.host:null)||(0,o.Z)(i)}},792374:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(o){if(o==null)return window;if(o.toString()!=="[object Window]"){var n=o.ownerDocument;return n&&n.defaultView||window}return o}},372207:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(792374);function o(n){var a=(0,r.Z)(n),i=a.pageXOffset,c=a.pageYOffset;return{scrollLeft:i,scrollTop:c}}},929866:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(54329),o=e(299355),n=e(372207);function a(i){return(0,r.Z)((0,o.Z)(i)).left+(0,n.Z)(i).scrollLeft}},325394:function(b,l,e){"use strict";e.d(l,{Re:()=>n,Zq:()=>a,kK:()=>o});var r=e(792374);function o(i){var c=(0,r.Z)(i).Element;return i instanceof c||i instanceof Element}function n(i){var c=(0,r.Z)(i).HTMLElement;return i instanceof c||i instanceof HTMLElement}function a(i){if(typeof ShadowRoot>"u")return!1;var c=(0,r.Z)(i).ShadowRoot;return i instanceof c||i instanceof ShadowRoot}},872255:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(372256);function o(){return!/^((?!chrome|android).)*safari/i.test((0,r.Z)())}},521008:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(263381);function o(n){var a=(0,r.Z)(n),i=a.overflow,c=a.overflowX,u=a.overflowY;return/auto|scroll|overlay|hidden/.test(i+u+c)}},276688:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(746281),o=e(521008),n=e(666292),a=e(325394);function i(f){return["html","body","#document"].indexOf((0,n.Z)(f))>=0?f.ownerDocument.body:(0,a.Re)(f)&&(0,o.Z)(f)?f:i((0,r.Z)(f))}var c=e(792374);function u(f,d){var h;d===void 0&&(d=[]);var g=i(f),_=g===((h=f.ownerDocument)==null?void 0:h.body),p=(0,c.Z)(g),y=_?[p].concat(p.visualViewport||[],(0,o.Z)(g)?g:[]):g,O=d.concat(y);return _?O:O.concat(u((0,r.Z)(y)))}},269483:function(b,l,e){"use strict";e.d(l,{BL:()=>u,Ct:()=>y,F2:()=>n,I:()=>o,Pj:()=>h,YP:()=>_,bw:()=>p,d7:()=>i,k5:()=>g,mv:()=>c,t$:()=>a,ut:()=>f,we:()=>r,xs:()=>E,zV:()=>d});var r="top",o="bottom",n="right",a="left",i="auto",c=[r,o,n,a],u="start",f="end",d="clippingParents",h="viewport",g="popper",_="reference",p=c.reduce(function(I,L){return I.concat([L+"-"+u,L+"-"+f])},[]),y=[].concat(c,[i]).reduce(function(I,L){return I.concat([L,L+"-"+u,L+"-"+f])},[]),O="beforeRead",P="read",C="afterRead",A="beforeMain",S="main",T="afterMain",s="beforeWrite",v="write",m="afterWrite",E=[O,P,C,A,S,T,s,v,m]},973690:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(666292),o=e(325394);function n(c){var u=c.state;Object.keys(u.elements).forEach(function(f){var d=u.styles[f]||{},h=u.attributes[f]||{},g=u.elements[f];!(0,o.Re)(g)||!(0,r.Z)(g)||(Object.assign(g.style,d),Object.keys(h).forEach(function(_){var p=h[_];p===!1?g.removeAttribute(_):g.setAttribute(_,p===!0?"":p)}))})}function a(c){var u=c.state,f={popper:{position:u.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(u.elements.popper.style,f.popper),u.styles=f,u.elements.arrow&&Object.assign(u.elements.arrow.style,f.arrow),function(){Object.keys(u.elements).forEach(function(d){var h=u.elements[d],g=u.attributes[d]||{},_=Object.keys(u.styles.hasOwnProperty(d)?u.styles[d]:f[d]),p=_.reduce(function(y,O){return y[O]="",y},{});!(0,o.Re)(h)||!(0,r.Z)(h)||(Object.assign(h.style,p),Object.keys(g).forEach(function(y){h.removeAttribute(y)}))})}}const i={name:"applyStyles",enabled:!0,phase:"write",fn:n,effect:a,requires:["computeStyles"]}},840615:function(b,l,e){"use strict";e.d(l,{fi:()=>rt});var r=e(54329),o=e(372207),n=e(792374),a=e(325394);function i(ce){return{scrollLeft:ce.scrollLeft,scrollTop:ce.scrollTop}}function c(ce){return ce===(0,n.Z)(ce)||!(0,a.Re)(ce)?(0,o.Z)(ce):i(ce)}var u=e(666292),f=e(929866),d=e(299355),h=e(521008),g=e(202314);function _(ce){var Re=ce.getBoundingClientRect(),nt=(0,g.NM)(Re.width)/ce.offsetWidth||1,st=(0,g.NM)(Re.height)/ce.offsetHeight||1;return nt!==1||st!==1}function p(ce,Re,nt){nt===void 0&&(nt=!1);var st=(0,a.Re)(Re),vt=(0,a.Re)(Re)&&_(Re),ze=(0,d.Z)(Re),It=(0,r.Z)(ce,vt,nt),on={scrollLeft:0,scrollTop:0},Pn={x:0,y:0};return(st||!st&&!nt)&&(((0,u.Z)(Re)!=="body"||(0,h.Z)(ze))&&(on=c(Re)),(0,a.Re)(Re)?(Pn=(0,r.Z)(Re,!0),Pn.x+=Re.clientLeft,Pn.y+=Re.clientTop):ze&&(Pn.x=(0,f.Z)(ze))),{x:It.left+on.scrollLeft-Pn.x,y:It.top+on.scrollTop-Pn.y,width:It.width,height:It.height}}function y(ce){var Re=(0,r.Z)(ce),nt=ce.offsetWidth,st=ce.offsetHeight;return Math.abs(Re.width-nt)<=1&&(nt=Re.width),Math.abs(Re.height-st)<=1&&(st=Re.height),{x:ce.offsetLeft,y:ce.offsetTop,width:nt,height:st}}var O=e(276688),P=e(797235),C=e(269483);function A(ce){var Re=new Map,nt=new Set,st=[];ce.forEach(function(ze){Re.set(ze.name,ze)});function vt(ze){nt.add(ze.name);var It=[].concat(ze.requires||[],ze.requiresIfExists||[]);It.forEach(function(on){if(!nt.has(on)){var Pn=Re.get(on);Pn&&vt(Pn)}}),st.push(ze)}return ce.forEach(function(ze){nt.has(ze.name)||vt(ze)}),st}function S(ce){var Re=A(ce);return C.xs.reduce(function(nt,st){return nt.concat(Re.filter(function(vt){return vt.phase===st}))},[])}function T(ce){var Re;return function(){return Re||(Re=new Promise(function(nt){Promise.resolve().then(function(){Re=void 0,nt(ce())})})),Re}}function s(ce){var Re=ce.reduce(function(nt,st){var vt=nt[st.name];return nt[st.name]=vt?Object.assign({},vt,st,{options:Object.assign({},vt.options,st.options),data:Object.assign({},vt.data,st.data)}):st,nt},{});return Object.keys(Re).map(function(nt){return Re[nt]})}var v="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",m="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",E={placement:"bottom",modifiers:[],strategy:"absolute"};function I(){for(var ce=arguments.length,Re=new Array(ce),nt=0;nt<ce;nt++)Re[nt]=arguments[nt];return!Re.some(function(st){return!(st&&typeof st.getBoundingClientRect=="function")})}function L(ce){ce===void 0&&(ce={});var Re=ce,nt=Re.defaultModifiers,st=nt===void 0?[]:nt,vt=Re.defaultOptions,ze=vt===void 0?E:vt;return function(on,Pn,Yn){Yn===void 0&&(Yn=ze);var Ln={placement:"bottom",orderedModifiers:[],options:Object.assign({},E,ze),modifiersData:{},elements:{reference:on,popper:Pn},attributes:{},styles:{}},bn=[],ir=!1,Zn={state:Ln,setOptions:function(jn){var Tn=typeof jn=="function"?jn(Ln.options):jn;jt(),Ln.options=Object.assign({},ze,Ln.options,Tn),Ln.scrollParents={reference:(0,a.kK)(on)?(0,O.Z)(on):on.contextElement?(0,O.Z)(on.contextElement):[],popper:(0,O.Z)(Pn)};var Nn=S(s([].concat(st,Ln.options.modifiers)));if(Ln.orderedModifiers=Nn.filter(function(Xt){return Xt.enabled}),0)var cn,or,qn,Hr,fo,Jr,ro;return $n(),Zn.update()},forceUpdate:function(){if(!ir){var jn=Ln.elements,Tn=jn.reference,Nn=jn.popper;if(I(Tn,Nn)){Ln.rects={reference:p(Tn,(0,P.Z)(Nn),Ln.options.strategy==="fixed"),popper:y(Nn)},Ln.reset=!1,Ln.placement=Ln.options.placement,Ln.orderedModifiers.forEach(function(Xt){return Ln.modifiersData[Xt.name]=Object.assign({},Xt.data)});for(var cn=0,or=0;or<Ln.orderedModifiers.length;or++){if(Ln.reset===!0){Ln.reset=!1,or=-1;continue}var qn=Ln.orderedModifiers[or],Hr=qn.fn,fo=qn.options,Jr=fo===void 0?{}:fo,ro=qn.name;typeof Hr=="function"&&(Ln=Hr({state:Ln,options:Jr,name:ro,instance:Zn})||Ln)}}}},update:T(function(){return new Promise(function(Rn){Zn.forceUpdate(),Rn(Ln)})}),destroy:function(){jt(),ir=!0}};if(!I(on,Pn))return Zn;Zn.setOptions(Yn).then(function(Rn){!ir&&Yn.onFirstUpdate&&Yn.onFirstUpdate(Rn)});function $n(){Ln.orderedModifiers.forEach(function(Rn){var jn=Rn.name,Tn=Rn.options,Nn=Tn===void 0?{}:Tn,cn=Rn.effect;if(typeof cn=="function"){var or=cn({state:Ln,name:jn,instance:Zn,options:Nn}),qn=function(){};bn.push(or||qn)}})}function jt(){bn.forEach(function(Rn){return Rn()}),bn=[]}return Zn}}var W=null,F={passive:!0};function G(ce){var Re=ce.state,nt=ce.instance,st=ce.options,vt=st.scroll,ze=vt===void 0?!0:vt,It=st.resize,on=It===void 0?!0:It,Pn=(0,n.Z)(Re.elements.popper),Yn=[].concat(Re.scrollParents.reference,Re.scrollParents.popper);return ze&&Yn.forEach(function(Ln){Ln.addEventListener("scroll",nt.update,F)}),on&&Pn.addEventListener("resize",nt.update,F),function(){ze&&Yn.forEach(function(Ln){Ln.removeEventListener("scroll",nt.update,F)}),on&&Pn.removeEventListener("resize",nt.update,F)}}const k={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:G,data:{}};var x=e(982714);function M(ce){var Re=ce.state,nt=ce.name;Re.modifiersData[nt]=(0,x.Z)({reference:Re.rects.reference,element:Re.rects.popper,strategy:"absolute",placement:Re.placement})}const B={name:"popperOffsets",enabled:!0,phase:"read",fn:M,data:{}};var R=e(263381),U=e(476735),j=e(94780),$={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(ce){var Re=ce.x,nt=ce.y,st=window,vt=st.devicePixelRatio||1;return{x:(0,g.NM)(Re*vt)/vt||0,y:(0,g.NM)(nt*vt)/vt||0}}function te(ce){var Re,nt=ce.popper,st=ce.popperRect,vt=ce.placement,ze=ce.variation,It=ce.offsets,on=ce.position,Pn=ce.gpuAcceleration,Yn=ce.adaptive,Ln=ce.roundOffsets,bn=ce.isFixed,ir=It.x,Zn=ir===void 0?0:ir,$n=It.y,jt=$n===void 0?0:$n,Rn=typeof Ln=="function"?Ln({x:Zn,y:jt}):{x:Zn,y:jt};Zn=Rn.x,jt=Rn.y;var jn=It.hasOwnProperty("x"),Tn=It.hasOwnProperty("y"),Nn=C.t$,cn=C.we,or=window;if(Yn){var qn=(0,P.Z)(nt),Hr="clientHeight",fo="clientWidth";if(qn===(0,n.Z)(nt)&&(qn=(0,d.Z)(nt),(0,R.Z)(qn).position!=="static"&&on==="absolute"&&(Hr="scrollHeight",fo="scrollWidth")),qn=qn,vt===C.we||(vt===C.t$||vt===C.F2)&&ze===C.ut){cn=C.I;var Jr=bn&&qn===or&&or.visualViewport?or.visualViewport.height:qn[Hr];jt-=Jr-st.height,jt*=Pn?1:-1}if(vt===C.t$||(vt===C.we||vt===C.I)&&ze===C.ut){Nn=C.F2;var ro=bn&&qn===or&&or.visualViewport?or.visualViewport.width:qn[fo];Zn-=ro-st.width,Zn*=Pn?1:-1}}var Xt=Object.assign({position:on},Yn&&$),Je=Ln===!0?ee({x:Zn,y:jt}):{x:Zn,y:jt};if(Zn=Je.x,jt=Je.y,Pn){var At;return Object.assign({},Xt,(At={},At[cn]=Tn?"0":"",At[Nn]=jn?"0":"",At.transform=(or.devicePixelRatio||1)<=1?"translate("+Zn+"px, "+jt+"px)":"translate3d("+Zn+"px, "+jt+"px, 0)",At))}return Object.assign({},Xt,(Re={},Re[cn]=Tn?jt+"px":"",Re[Nn]=jn?Zn+"px":"",Re.transform="",Re))}function ie(ce){var Re=ce.state,nt=ce.options,st=nt.gpuAcceleration,vt=st===void 0?!0:st,ze=nt.adaptive,It=ze===void 0?!0:ze,on=nt.roundOffsets,Pn=on===void 0?!0:on;if(0)var Yn;var Ln={placement:(0,U.Z)(Re.placement),variation:(0,j.Z)(Re.placement),popper:Re.elements.popper,popperRect:Re.rects.popper,gpuAcceleration:vt,isFixed:Re.options.strategy==="fixed"};Re.modifiersData.popperOffsets!=null&&(Re.styles.popper=Object.assign({},Re.styles.popper,te(Object.assign({},Ln,{offsets:Re.modifiersData.popperOffsets,position:Re.options.strategy,adaptive:It,roundOffsets:Pn})))),Re.modifiersData.arrow!=null&&(Re.styles.arrow=Object.assign({},Re.styles.arrow,te(Object.assign({},Ln,{offsets:Re.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Pn})))),Re.attributes.popper=Object.assign({},Re.attributes.popper,{"data-popper-placement":Re.placement})}const ne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ie,data:{}};var pe=e(973690);function oe(ce,Re,nt){var st=(0,U.Z)(ce),vt=[C.t$,C.we].indexOf(st)>=0?-1:1,ze=typeof nt=="function"?nt(Object.assign({},Re,{placement:ce})):nt,It=ze[0],on=ze[1];return It=It||0,on=(on||0)*vt,[C.t$,C.F2].indexOf(st)>=0?{x:on,y:It}:{x:It,y:on}}function q(ce){var Re=ce.state,nt=ce.options,st=ce.name,vt=nt.offset,ze=vt===void 0?[0,0]:vt,It=C.Ct.reduce(function(Ln,bn){return Ln[bn]=oe(bn,Re.rects,ze),Ln},{}),on=It[Re.placement],Pn=on.x,Yn=on.y;Re.modifiersData.popperOffsets!=null&&(Re.modifiersData.popperOffsets.x+=Pn,Re.modifiersData.popperOffsets.y+=Yn),Re.modifiersData[st]=It}const J={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:q};var me={left:"right",right:"left",bottom:"top",top:"bottom"};function re(ce){return ce.replace(/left|right|bottom|top/g,function(Re){return me[Re]})}var he={start:"end",end:"start"};function Ee(ce){return ce.replace(/start|end/g,function(Re){return he[Re]})}var fe=e(497793);function H(ce,Re){Re===void 0&&(Re={});var nt=Re,st=nt.placement,vt=nt.boundary,ze=nt.rootBoundary,It=nt.padding,on=nt.flipVariations,Pn=nt.allowedAutoPlacements,Yn=Pn===void 0?C.Ct:Pn,Ln=(0,j.Z)(st),bn=Ln?on?C.bw:C.bw.filter(function($n){return(0,j.Z)($n)===Ln}):C.mv,ir=bn.filter(function($n){return Yn.indexOf($n)>=0});ir.length===0&&(ir=bn);var Zn=ir.reduce(function($n,jt){return $n[jt]=(0,fe.Z)(ce,{placement:jt,boundary:vt,rootBoundary:ze,padding:It})[(0,U.Z)(jt)],$n},{});return Object.keys(Zn).sort(function($n,jt){return Zn[$n]-Zn[jt]})}function z(ce){if((0,U.Z)(ce)===C.d7)return[];var Re=re(ce);return[Ee(ce),Re,Ee(Re)]}function _e(ce){var Re=ce.state,nt=ce.options,st=ce.name;if(!Re.modifiersData[st]._skip){for(var vt=nt.mainAxis,ze=vt===void 0?!0:vt,It=nt.altAxis,on=It===void 0?!0:It,Pn=nt.fallbackPlacements,Yn=nt.padding,Ln=nt.boundary,bn=nt.rootBoundary,ir=nt.altBoundary,Zn=nt.flipVariations,$n=Zn===void 0?!0:Zn,jt=nt.allowedAutoPlacements,Rn=Re.options.placement,jn=(0,U.Z)(Rn),Tn=jn===Rn,Nn=Pn||(Tn||!$n?[re(Rn)]:z(Rn)),cn=[Rn].concat(Nn).reduce(function(xe,Ae){return xe.concat((0,U.Z)(Ae)===C.d7?H(Re,{placement:Ae,boundary:Ln,rootBoundary:bn,padding:Yn,flipVariations:$n,allowedAutoPlacements:jt}):Ae)},[]),or=Re.rects.reference,qn=Re.rects.popper,Hr=new Map,fo=!0,Jr=cn[0],ro=0;ro<cn.length;ro++){var Xt=cn[ro],Je=(0,U.Z)(Xt),At=(0,j.Z)(Xt)===C.BL,xt=[C.we,C.I].indexOf(Je)>=0,Qt=xt?"width":"height",qt=(0,fe.Z)(Re,{placement:Xt,boundary:Ln,rootBoundary:bn,altBoundary:ir,padding:Yn}),Te=xt?At?C.F2:C.t$:At?C.I:C.we;or[Qt]>qn[Qt]&&(Te=re(Te));var Gt=re(Te),un=[];if(ze&&un.push(qt[Je]<=0),on&&un.push(qt[Te]<=0,qt[Gt]<=0),un.every(function(xe){return xe})){Jr=Xt,fo=!1;break}Hr.set(Xt,un)}if(fo)for(var Vt=$n?3:1,Dn=function(Ae){var qe=cn.find(function(wt){var kt=Hr.get(wt);if(kt)return kt.slice(0,Ae).every(function(ut){return ut})});if(qe)return Jr=qe,"break"},Wt=Vt;Wt>0;Wt--){var Pe=Dn(Wt);if(Pe==="break")break}Re.placement!==Jr&&(Re.modifiersData[st]._skip=!0,Re.placement=Jr,Re.reset=!0)}}const ae={name:"flip",enabled:!0,phase:"main",fn:_e,requiresIfExists:["offset"],data:{_skip:!1}};var ge=e(902796);function Be(ce){return ce==="x"?"y":"x"}function Ke(ce,Re,nt){return(0,g.Fp)(ce,(0,g.VV)(Re,nt))}function He(ce,Re,nt){var st=Ke(ce,Re,nt);return st>nt?nt:st}var ye=e(470696);function Le(ce){var Re=ce.state,nt=ce.options,st=ce.name,vt=nt.mainAxis,ze=vt===void 0?!0:vt,It=nt.altAxis,on=It===void 0?!1:It,Pn=nt.boundary,Yn=nt.rootBoundary,Ln=nt.altBoundary,bn=nt.padding,ir=nt.tether,Zn=ir===void 0?!0:ir,$n=nt.tetherOffset,jt=$n===void 0?0:$n,Rn=(0,fe.Z)(Re,{boundary:Pn,rootBoundary:Yn,padding:bn,altBoundary:Ln}),jn=(0,U.Z)(Re.placement),Tn=(0,j.Z)(Re.placement),Nn=!Tn,cn=(0,ge.Z)(jn),or=Be(cn),qn=Re.modifiersData.popperOffsets,Hr=Re.rects.reference,fo=Re.rects.popper,Jr=typeof jt=="function"?jt(Object.assign({},Re.rects,{placement:Re.placement})):jt,ro=typeof Jr=="number"?{mainAxis:Jr,altAxis:Jr}:Object.assign({mainAxis:0,altAxis:0},Jr),Xt=Re.modifiersData.offset?Re.modifiersData.offset[Re.placement]:null,Je={x:0,y:0};if(qn){if(ze){var At,xt=cn==="y"?C.we:C.t$,Qt=cn==="y"?C.I:C.F2,qt=cn==="y"?"height":"width",Te=qn[cn],Gt=Te+Rn[xt],un=Te-Rn[Qt],Vt=Zn?-fo[qt]/2:0,Dn=Tn===C.BL?Hr[qt]:fo[qt],Wt=Tn===C.BL?-fo[qt]:-Hr[qt],Pe=Re.elements.arrow,xe=Zn&&Pe?y(Pe):{width:0,height:0},Ae=Re.modifiersData["arrow#persistent"]?Re.modifiersData["arrow#persistent"].padding:(0,ye.Z)(),qe=Ae[xt],wt=Ae[Qt],kt=Ke(0,Hr[qt],xe[qt]),ut=Nn?Hr[qt]/2-Vt-kt-qe-ro.mainAxis:Dn-kt-qe-ro.mainAxis,Ft=Nn?-Hr[qt]/2+Vt+kt+wt+ro.mainAxis:Wt+kt+wt+ro.mainAxis,tn=Re.elements.arrow&&(0,P.Z)(Re.elements.arrow),In=tn?cn==="y"?tn.clientTop||0:tn.clientLeft||0:0,rr=(At=Xt==null?void 0:Xt[cn])!=null?At:0,Sr=Te+ut-rr-In,Yr=Te+Ft-rr,Pr=Ke(Zn?(0,g.VV)(Gt,Sr):Gt,Te,Zn?(0,g.Fp)(un,Yr):un);qn[cn]=Pr,Je[cn]=Pr-Te}if(on){var Mn,sr=cn==="x"?C.we:C.t$,Ar=cn==="x"?C.I:C.F2,vr=qn[or],qr=or==="y"?"height":"width",Dr=vr+Rn[sr],eo=vr-Rn[Ar],Vo=[C.we,C.t$].indexOf(jn)!==-1,Bn=(Mn=Xt==null?void 0:Xt[or])!=null?Mn:0,ar=Vo?Dr:vr-Hr[qr]-fo[qr]-Bn+ro.altAxis,rn=Vo?vr+Hr[qr]+fo[qr]-Bn-ro.altAxis:eo,Rt=Zn&&Vo?He(ar,vr,rn):Ke(Zn?ar:Dr,vr,Zn?rn:eo);qn[or]=Rt,Je[or]=Rt-vr}Re.modifiersData[st]=Je}}const Ue={name:"preventOverflow",enabled:!0,phase:"main",fn:Le,requiresIfExists:["offset"]};var Xe=e(999179),Fe=e(805826),ht=e(927156),Ne=function(Re,nt){return Re=typeof Re=="function"?Re(Object.assign({},nt.rects,{placement:nt.placement})):Re,(0,Fe.Z)(typeof Re!="number"?Re:(0,ht.Z)(Re,C.mv))};function Ce(ce){var Re,nt=ce.state,st=ce.name,vt=ce.options,ze=nt.elements.arrow,It=nt.modifiersData.popperOffsets,on=(0,U.Z)(nt.placement),Pn=(0,ge.Z)(on),Yn=[C.t$,C.F2].indexOf(on)>=0,Ln=Yn?"height":"width";if(!(!ze||!It)){var bn=Ne(vt.padding,nt),ir=y(ze),Zn=Pn==="y"?C.we:C.t$,$n=Pn==="y"?C.I:C.F2,jt=nt.rects.reference[Ln]+nt.rects.reference[Pn]-It[Pn]-nt.rects.popper[Ln],Rn=It[Pn]-nt.rects.reference[Pn],jn=(0,P.Z)(ze),Tn=jn?Pn==="y"?jn.clientHeight||0:jn.clientWidth||0:0,Nn=jt/2-Rn/2,cn=bn[Zn],or=Tn-ir[Ln]-bn[$n],qn=Tn/2-ir[Ln]/2+Nn,Hr=Ke(cn,qn,or),fo=Pn;nt.modifiersData[st]=(Re={},Re[fo]=Hr,Re.centerOffset=Hr-qn,Re)}}function we(ce){var Re=ce.state,nt=ce.options,st=nt.element,vt=st===void 0?"[data-popper-arrow]":st;vt!=null&&(typeof vt=="string"&&(vt=Re.elements.popper.querySelector(vt),!vt)||(0,Xe.Z)(Re.elements.popper,vt)&&(Re.elements.arrow=vt))}const $e={name:"arrow",enabled:!0,phase:"main",fn:Ce,effect:we,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ot(ce,Re,nt){return nt===void 0&&(nt={x:0,y:0}),{top:ce.top-Re.height-nt.y,right:ce.right-Re.width+nt.x,bottom:ce.bottom-Re.height+nt.y,left:ce.left-Re.width-nt.x}}function Pt(ce){return[C.we,C.F2,C.I,C.t$].some(function(Re){return ce[Re]>=0})}function Ie(ce){var Re=ce.state,nt=ce.name,st=Re.rects.reference,vt=Re.rects.popper,ze=Re.modifiersData.preventOverflow,It=(0,fe.Z)(Re,{elementContext:"reference"}),on=(0,fe.Z)(Re,{altBoundary:!0}),Pn=Ot(It,st),Yn=Ot(on,vt,ze),Ln=Pt(Pn),bn=Pt(Yn);Re.modifiersData[nt]={referenceClippingOffsets:Pn,popperEscapeOffsets:Yn,isReferenceHidden:Ln,hasPopperEscaped:bn},Re.attributes.popper=Object.assign({},Re.attributes.popper,{"data-popper-reference-hidden":Ln,"data-popper-escaped":bn})}const Bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ie};var mt=[k,B,ne,pe.Z,J,ae,Ue,$e,Bt],rt=L({defaultModifiers:mt})},982714:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(476735),o=e(94780),n=e(902796),a=e(269483);function i(c){var u=c.reference,f=c.element,d=c.placement,h=d?(0,r.Z)(d):null,g=d?(0,o.Z)(d):null,_=u.x+u.width/2-f.width/2,p=u.y+u.height/2-f.height/2,y;switch(h){case a.we:y={x:_,y:u.y-f.height};break;case a.I:y={x:_,y:u.y+u.height};break;case a.F2:y={x:u.x+u.width,y:p};break;case a.t$:y={x:u.x-f.width,y:p};break;default:y={x:u.x,y:u.y}}var O=h?(0,n.Z)(h):null;if(O!=null){var P=O==="y"?"height":"width";switch(g){case a.BL:y[O]=y[O]-(u[P]/2-f[P]/2);break;case a.ut:y[O]=y[O]+(u[P]/2-f[P]/2);break;default:}}return y}},497793:function(b,l,e){"use strict";e.d(l,{Z:()=>L});var r=e(269483),o=e(792374),n=e(299355),a=e(929866),i=e(872255);function c(W,F){var G=(0,o.Z)(W),k=(0,n.Z)(W),x=G.visualViewport,M=k.clientWidth,B=k.clientHeight,R=0,U=0;if(x){M=x.width,B=x.height;var j=(0,i.Z)();(j||!j&&F==="fixed")&&(R=x.offsetLeft,U=x.offsetTop)}return{width:M,height:B,x:R+(0,a.Z)(W),y:U}}var u=e(263381),f=e(372207),d=e(202314);function h(W){var F,G=(0,n.Z)(W),k=(0,f.Z)(W),x=(F=W.ownerDocument)==null?void 0:F.body,M=(0,d.Fp)(G.scrollWidth,G.clientWidth,x?x.scrollWidth:0,x?x.clientWidth:0),B=(0,d.Fp)(G.scrollHeight,G.clientHeight,x?x.scrollHeight:0,x?x.clientHeight:0),R=-k.scrollLeft+(0,a.Z)(W),U=-k.scrollTop;return(0,u.Z)(x||G).direction==="rtl"&&(R+=(0,d.Fp)(G.clientWidth,x?x.clientWidth:0)-M),{width:M,height:B,x:R,y:U}}var g=e(276688),_=e(797235),p=e(325394),y=e(54329),O=e(746281),P=e(999179),C=e(666292);function A(W){return Object.assign({},W,{left:W.x,top:W.y,right:W.x+W.width,bottom:W.y+W.height})}function S(W,F){var G=(0,y.Z)(W,!1,F==="fixed");return G.top=G.top+W.clientTop,G.left=G.left+W.clientLeft,G.bottom=G.top+W.clientHeight,G.right=G.left+W.clientWidth,G.width=W.clientWidth,G.height=W.clientHeight,G.x=G.left,G.y=G.top,G}function T(W,F,G){return F===r.Pj?A(c(W,G)):(0,p.kK)(F)?S(F,G):A(h((0,n.Z)(W)))}function s(W){var F=(0,g.Z)((0,O.Z)(W)),G=["absolute","fixed"].indexOf((0,u.Z)(W).position)>=0,k=G&&(0,p.Re)(W)?(0,_.Z)(W):W;return(0,p.kK)(k)?F.filter(function(x){return(0,p.kK)(x)&&(0,P.Z)(x,k)&&(0,C.Z)(x)!=="body"}):[]}function v(W,F,G,k){var x=F==="clippingParents"?s(W):[].concat(F),M=[].concat(x,[G]),B=M[0],R=M.reduce(function(U,j){var $=T(W,j,k);return U.top=(0,d.Fp)($.top,U.top),U.right=(0,d.VV)($.right,U.right),U.bottom=(0,d.VV)($.bottom,U.bottom),U.left=(0,d.Fp)($.left,U.left),U},T(W,B,k));return R.width=R.right-R.left,R.height=R.bottom-R.top,R.x=R.left,R.y=R.top,R}var m=e(982714),E=e(805826),I=e(927156);function L(W,F){F===void 0&&(F={});var G=F,k=G.placement,x=k===void 0?W.placement:k,M=G.strategy,B=M===void 0?W.strategy:M,R=G.boundary,U=R===void 0?r.zV:R,j=G.rootBoundary,$=j===void 0?r.Pj:j,ee=G.elementContext,te=ee===void 0?r.k5:ee,ie=G.altBoundary,ne=ie===void 0?!1:ie,pe=G.padding,oe=pe===void 0?0:pe,q=(0,E.Z)(typeof oe!="number"?oe:(0,I.Z)(oe,r.mv)),J=te===r.k5?r.YP:r.k5,me=W.rects.popper,re=W.elements[ne?J:te],he=v((0,p.kK)(re)?re:re.contextElement||(0,n.Z)(W.elements.popper),U,$,B),Ee=(0,y.Z)(W.elements.reference),fe=(0,m.Z)({reference:Ee,element:me,strategy:"absolute",placement:x}),H=A(Object.assign({},me,fe)),z=te===r.k5?H:Ee,_e={top:he.top-z.top+q.top,bottom:z.bottom-he.bottom+q.bottom,left:he.left-z.left+q.left,right:z.right-he.right+q.right},ae=W.modifiersData.offset;if(te===r.k5&&ae){var ge=ae[x];Object.keys(_e).forEach(function(Be){var Ke=[r.F2,r.I].indexOf(Be)>=0?1:-1,He=[r.we,r.I].indexOf(Be)>=0?"y":"x";_e[Be]+=ge[He]*Ke})}return _e}},927156:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(o,n){return n.reduce(function(a,i){return a[i]=o,a},{})}},476735:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(o){return o.split("-")[0]}},470696:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(){return{top:0,right:0,bottom:0,left:0}}},902796:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(o){return["top","bottom"].indexOf(o)>=0?"x":"y"}},94780:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(o){return o.split("-")[1]}},202314:function(b,l,e){"use strict";e.d(l,{Fp:()=>r,NM:()=>n,VV:()=>o});var r=Math.max,o=Math.min,n=Math.round},805826:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(470696);function o(n){return Object.assign({},(0,r.Z)(),n)}},372256:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(){var o=navigator.userAgentData;return o!=null&&o.brands?o.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}},914624:function(b,l,e){"use strict";e.r(l),e.d(l,{ApiProvider:()=>B,QueryStatus:()=>r.oZ,buildCreateApi:()=>r.Tk,copyWithStructuralSharing:()=>r.LQ,coreModule:()=>r.hF,createApi:()=>R,defaultSerializeQueryArgs:()=>r.OL,fakeBaseQuery:()=>r.LK,fetchBaseQuery:()=>r.ni,reactHooksModule:()=>M,retry:()=>r.XD,setupListeners:()=>r.sj,skipSelector:()=>r.JT,skipToken:()=>r.CN});var r=e(849718),o=e(697710),n=e(174161),a=e(331474),i=e(851939),c=e(760636),u=function(U,j){for(var $=0,ee=j.length,te=U.length;$<ee;$++,te++)U[te]=j[$];return U},f=Object.defineProperty,d=Object.defineProperties,h=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,y=function(U,j,$){return j in U?f(U,j,{enumerable:!0,configurable:!0,writable:!0,value:$}):U[j]=$},O=function(U,j){for(var $ in j||(j={}))_.call(j,$)&&y(U,$,j[$]);if(g)for(var ee=0,te=g(j);ee<te.length;ee++){var $=te[ee];p.call(j,$)&&y(U,$,j[$])}return U},P=function(U,j){return d(U,h(j))};function C(U,j,$,ee){var te=(0,n.useMemo)(function(){return{queryArgs:U,serialized:typeof U=="object"?j({queryArgs:U,endpointDefinition:$,endpointName:ee}):U}},[U,j,$,ee]),ie=(0,n.useRef)(te);return(0,n.useEffect)(function(){ie.current.serialized!==te.serialized&&(ie.current=te)},[te]),ie.current.serialized===te.serialized?ie.current.queryArgs:U}var A=Symbol();function S(U){var j=(0,n.useRef)(U);return(0,n.useEffect)(function(){(0,a.shallowEqual)(j.current,U)||(j.current=U)},[U]),(0,a.shallowEqual)(j.current,U)?j.current:U}var T=WeakMap?new WeakMap:void 0,s=function(U){var j=U.endpointName,$=U.queryArgs,ee="",te=T==null?void 0:T.get($);if(typeof te=="string")ee=te;else{var ie=JSON.stringify($,function(ne,pe){return(0,i.isPlainObject)(pe)?Object.keys(pe).sort().reduce(function(oe,q){return oe[q]=pe[q],oe},{}):pe});(0,i.isPlainObject)($)&&(T==null||T.set($,ie)),ee=ie}return j+"("+ee+")"},v=typeof window<"u"&&window.document&&window.document.createElement?n.useLayoutEffect:n.useEffect,m=function(U){return U},E=function(U){return U.isUninitialized?P(O({},U),{isUninitialized:!1,isFetching:!0,isLoading:U.data===void 0,status:r.oZ.pending}):U};function I(U){var j=U.api,$=U.moduleOptions,ee=$.batch,te=$.useDispatch,ie=$.useSelector,ne=$.useStore,pe=$.unstable__sideEffectsInRender,oe=U.serializeQueryArgs,q=U.context,J=pe?function(fe){return fe()}:n.useEffect;return{buildQueryHooks:he,buildMutationHook:Ee,usePrefetch:re};function me(fe,H,z){if(H!=null&&H.endpointName&&fe.isUninitialized){var _e=H.endpointName,ae=q.endpointDefinitions[_e];oe({queryArgs:H.originalArgs,endpointDefinition:ae,endpointName:_e})===oe({queryArgs:z,endpointDefinition:ae,endpointName:_e})&&(H=void 0)}var ge=fe.isSuccess?fe.data:H==null?void 0:H.data;ge===void 0&&(ge=fe.data);var Be=ge!==void 0,Ke=fe.isLoading,He=!Be&&Ke,ye=fe.isSuccess||Ke&&Be;return P(O({},fe),{data:ge,currentData:fe.data,isFetching:Ke,isLoading:He,isSuccess:ye})}function re(fe,H){var z=te(),_e=S(H);return(0,n.useCallback)(function(ae,ge){return z(j.util.prefetch(fe,ae,O(O({},_e),ge)))},[fe,z,_e])}function he(fe){var H=function(ae,ge){var Be=ge===void 0?{}:ge,Ke=Be.refetchOnReconnect,He=Be.refetchOnFocus,ye=Be.refetchOnMountOrArgChange,Le=Be.skip,Ue=Le===void 0?!1:Le,Xe=Be.pollingInterval,Fe=Xe===void 0?0:Xe,ht=j.endpoints[fe].initiate,Ne=te(),Ce=C(Ue?r.CN:ae,s,q.endpointDefinitions[fe],fe),we=S({refetchOnReconnect:Ke,refetchOnFocus:He,pollingInterval:Fe}),$e=(0,n.useRef)(!1),Ot=(0,n.useRef)(),Pt=Ot.current||{},Ie=Pt.queryCacheKey,Bt=Pt.requestId,mt=!1;if(Ie&&Bt){var rt=Ne(j.internalActions.internal_probeSubscription({queryCacheKey:Ie,requestId:Bt}));mt=!!rt}var ce=!mt&&$e.current;return J(function(){$e.current=mt}),J(function(){ce&&(Ot.current=void 0)},[ce]),J(function(){var Re,nt=Ot.current;if(typeof c<"u",Ce===r.CN){nt==null||nt.unsubscribe(),Ot.current=void 0;return}var st=(Re=Ot.current)==null?void 0:Re.subscriptionOptions;if(!nt||nt.arg!==Ce){nt==null||nt.unsubscribe();var vt=Ne(ht(Ce,{subscriptionOptions:we,forceRefetch:ye}));Ot.current=vt}else we!==st&&nt.updateSubscriptionOptions(we)},[Ne,ht,ye,Ce,we,ce]),(0,n.useEffect)(function(){return function(){var Re;(Re=Ot.current)==null||Re.unsubscribe(),Ot.current=void 0}},[]),(0,n.useMemo)(function(){return{refetch:function(){var Re;if(!Ot.current)throw new Error("Cannot refetch a query that has not been started yet.");return(Re=Ot.current)==null?void 0:Re.refetch()}}},[])},z=function(ae){var ge=ae===void 0?{}:ae,Be=ge.refetchOnReconnect,Ke=ge.refetchOnFocus,He=ge.pollingInterval,ye=He===void 0?0:He,Le=j.endpoints[fe].initiate,Ue=te(),Xe=(0,n.useState)(A),Fe=Xe[0],ht=Xe[1],Ne=(0,n.useRef)(),Ce=S({refetchOnReconnect:Be,refetchOnFocus:Ke,pollingInterval:ye});J(function(){var Ot,Pt,Ie=(Ot=Ne.current)==null?void 0:Ot.subscriptionOptions;Ce!==Ie&&((Pt=Ne.current)==null||Pt.updateSubscriptionOptions(Ce))},[Ce]);var we=(0,n.useRef)(Ce);J(function(){we.current=Ce},[Ce]);var $e=(0,n.useCallback)(function(Ot,Pt){Pt===void 0&&(Pt=!1);var Ie;return ee(function(){var Bt;(Bt=Ne.current)==null||Bt.unsubscribe(),Ne.current=Ie=Ue(Le(Ot,{subscriptionOptions:we.current,forceRefetch:!Pt})),ht(Ot)}),Ie},[Ue,Le]);return(0,n.useEffect)(function(){return function(){var Ot;(Ot=Ne==null?void 0:Ne.current)==null||Ot.unsubscribe()}},[]),(0,n.useEffect)(function(){Fe!==A&&!Ne.current&&$e(Fe,!0)},[Fe,$e]),(0,n.useMemo)(function(){return[$e,Fe]},[$e,Fe])},_e=function(ae,ge){var Be=ge===void 0?{}:ge,Ke=Be.skip,He=Ke===void 0?!1:Ke,ye=Be.selectFromResult,Le=j.endpoints[fe].select,Ue=C(He?r.CN:ae,oe,q.endpointDefinitions[fe],fe),Xe=(0,n.useRef)(),Fe=(0,n.useMemo)(function(){return(0,o.P1)([Le(Ue),function($e,Ot){return Ot},function($e){return Ue}],me)},[Le,Ue]),ht=(0,n.useMemo)(function(){return ye?(0,o.P1)([Fe],ye):Fe},[Fe,ye]),Ne=ie(function($e){return ht($e,Xe.current)},a.shallowEqual),Ce=ne(),we=Fe(Ce.getState(),Xe.current);return v(function(){Xe.current=we},[we]),Ne};return{useQueryState:_e,useQuerySubscription:H,useLazyQuerySubscription:z,useLazyQuery:function(ae){var ge=z(ae),Be=ge[0],Ke=ge[1],He=_e(Ke,P(O({},ae),{skip:Ke===A})),ye=(0,n.useMemo)(function(){return{lastArg:Ke}},[Ke]);return(0,n.useMemo)(function(){return[Be,He,ye]},[Be,He,ye])},useQuery:function(ae,ge){var Be=H(ae,ge),Ke=_e(ae,O({selectFromResult:ae===r.CN||ge!=null&&ge.skip?void 0:E},ge)),He=Ke.data,ye=Ke.status,Le=Ke.isLoading,Ue=Ke.isSuccess,Xe=Ke.isError,Fe=Ke.error;return(0,n.useDebugValue)({data:He,status:ye,isLoading:Le,isSuccess:Ue,isError:Xe,error:Fe}),(0,n.useMemo)(function(){return O(O({},Ke),Be)},[Ke,Be])}}}function Ee(fe){return function(H){var z=H===void 0?{}:H,_e=z.selectFromResult,ae=_e===void 0?m:_e,ge=z.fixedCacheKey,Be=j.endpoints[fe],Ke=Be.select,He=Be.initiate,ye=te(),Le=(0,n.useState)(),Ue=Le[0],Xe=Le[1];(0,n.useEffect)(function(){return function(){Ue!=null&&Ue.arg.fixedCacheKey||Ue==null||Ue.reset()}},[Ue]);var Fe=(0,n.useCallback)(function(nt){var st=ye(He(nt,{fixedCacheKey:ge}));return Xe(st),st},[ye,He,ge]),ht=(Ue||{}).requestId,Ne=(0,n.useMemo)(function(){return(0,o.P1)([Ke({fixedCacheKey:ge,requestId:Ue==null?void 0:Ue.requestId})],ae)},[Ke,Ue,ae,ge]),Ce=ie(Ne,a.shallowEqual),we=ge==null?Ue==null?void 0:Ue.arg.originalArgs:void 0,$e=(0,n.useCallback)(function(){ee(function(){Ue&&Xe(void 0),ge&&ye(j.internalActions.removeMutationResult({requestId:ht,fixedCacheKey:ge}))})},[ye,ge,Ue,ht]),Ot=Ce.endpointName,Pt=Ce.data,Ie=Ce.status,Bt=Ce.isLoading,mt=Ce.isSuccess,rt=Ce.isError,ce=Ce.error;(0,n.useDebugValue)({endpointName:Ot,data:Pt,status:Ie,isLoading:Bt,isSuccess:mt,isError:rt,error:ce});var Re=(0,n.useMemo)(function(){return P(O({},Ce),{originalArgs:we,reset:$e})},[Ce,we,$e]);return(0,n.useMemo)(function(){return[Fe,Re]},[Fe,Re])}}}var L;(function(U){U.query="query",U.mutation="mutation"})(L||(L={}));function W(U){return U.type===L.query}function F(U){return U.type===L.mutation}function G(U){return U.replace(U[0],U[0].toUpperCase())}function k(U){for(var j=[],$=1;$<arguments.length;$++)j[$-1]=arguments[$];Object.assign.apply(Object,u([U],j))}var x=Symbol(),M=function(U){var j=U===void 0?{}:U,$=j.batch,ee=$===void 0?a.batch:$,te=j.useDispatch,ie=te===void 0?a.useDispatch:te,ne=j.useSelector,pe=ne===void 0?a.useSelector:ne,oe=j.useStore,q=oe===void 0?a.useStore:oe,J=j.unstable__sideEffectsInRender,me=J===void 0?!1:J;return{name:x,init:function(re,he,Ee){var fe=he.serializeQueryArgs,H=re,z=I({api:re,moduleOptions:{batch:ee,useDispatch:ie,useSelector:pe,useStore:q,unstable__sideEffectsInRender:me},serializeQueryArgs:fe,context:Ee}),_e=z.buildQueryHooks,ae=z.buildMutationHook,ge=z.usePrefetch;return k(H,{usePrefetch:ge}),k(Ee,{batch:ee}),{injectEndpoint:function(Be,Ke){if(W(Ke)){var He=_e(Be),ye=He.useQuery,Le=He.useLazyQuery,Ue=He.useLazyQuerySubscription,Xe=He.useQueryState,Fe=He.useQuerySubscription;k(H.endpoints[Be],{useQuery:ye,useLazyQuery:Le,useLazyQuerySubscription:Ue,useQueryState:Xe,useQuerySubscription:Fe}),re["use"+G(Be)+"Query"]=ye,re["useLazy"+G(Be)+"Query"]=Le}else if(F(Ke)){var ht=ae(Be);k(H.endpoints[Be],{useMutation:ht}),re["use"+G(Be)+"Mutation"]=ht}}}}}};function B(U){var j=n.useState(function(){var $;return(0,i.configureStore)({reducer:($={},$[U.api.reducerPath]=U.api.reducer,$),middleware:function(ee){return ee().concat(U.api.middleware)}})})[0];return(0,n.useEffect)(function(){return U.setupListeners===!1?void 0:(0,r.sj)(j.dispatch,U.setupListeners)},[U.setupListeners,j.dispatch]),n.createElement(a.Provider,{store:j,context:U.context},U.children)}var R=(0,r.Tk)((0,r.hF)(),M())},849718:function(b,l,e){"use strict";e.d(l,{CN:()=>Ce,JT:()=>we,LK:()=>ce,LQ:()=>k,OL:()=>mt,Tk:()=>rt,XD:()=>ne,hF:()=>Tn,ni:()=>U,oZ:()=>T,sj:()=>re});var r=e(851939),o=e(858579),n=e(697710),a=e(269399),i=e(551102),c=e(760636),u=function(cn,or){var qn={label:0,sent:function(){if(Jr[0]&1)throw Jr[1];return Jr[1]},trys:[],ops:[]},Hr,fo,Jr,ro;return ro={next:Xt(0),throw:Xt(1),return:Xt(2)},typeof Symbol=="function"&&(ro[Symbol.iterator]=function(){return this}),ro;function Xt(At){return function(xt){return Je([At,xt])}}function Je(At){if(Hr)throw new TypeError("Generator is already executing.");for(;qn;)try{if(Hr=1,fo&&(Jr=At[0]&2?fo.return:At[0]?fo.throw||((Jr=fo.return)&&Jr.call(fo),0):fo.next)&&!(Jr=Jr.call(fo,At[1])).done)return Jr;switch(fo=0,Jr&&(At=[At[0]&2,Jr.value]),At[0]){case 0:case 1:Jr=At;break;case 4:return qn.label++,{value:At[1],done:!1};case 5:qn.label++,fo=At[1],At=[0];continue;case 7:At=qn.ops.pop(),qn.trys.pop();continue;default:if(Jr=qn.trys,!(Jr=Jr.length>0&&Jr[Jr.length-1])&&(At[0]===6||At[0]===2)){qn=0;continue}if(At[0]===3&&(!Jr||At[1]>Jr[0]&&At[1]<Jr[3])){qn.label=At[1];break}if(At[0]===6&&qn.label<Jr[1]){qn.label=Jr[1],Jr=At;break}if(Jr&&qn.label<Jr[2]){qn.label=Jr[2],qn.ops.push(At);break}Jr[2]&&qn.ops.pop(),qn.trys.pop();continue}At=or.call(cn,qn)}catch(xt){At=[6,xt],fo=0}finally{Hr=Jr=0}if(At[0]&5)throw At[1];return{value:At[0]?At[1]:void 0,done:!0}}},f=function(cn,or){for(var qn=0,Hr=or.length,fo=cn.length;qn<Hr;qn++,fo++)cn[fo]=or[qn];return cn},d=Object.defineProperty,h=Object.defineProperties,g=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,O=function(cn,or,qn){return or in cn?d(cn,or,{enumerable:!0,configurable:!0,writable:!0,value:qn}):cn[or]=qn},P=function(cn,or){for(var qn in or||(or={}))p.call(or,qn)&&O(cn,qn,or[qn]);if(_)for(var Hr=0,fo=_(or);Hr<fo.length;Hr++){var qn=fo[Hr];y.call(or,qn)&&O(cn,qn,or[qn])}return cn},C=function(cn,or){return h(cn,g(or))},A=function(cn,or){var qn={};for(var Hr in cn)p.call(cn,Hr)&&or.indexOf(Hr)<0&&(qn[Hr]=cn[Hr]);if(cn!=null&&_)for(var fo=0,Jr=_(cn);fo<Jr.length;fo++){var Hr=Jr[fo];or.indexOf(Hr)<0&&y.call(cn,Hr)&&(qn[Hr]=cn[Hr])}return qn},S=function(cn,or,qn){return new Promise(function(Hr,fo){var Jr=function(Je){try{Xt(qn.next(Je))}catch(At){fo(At)}},ro=function(Je){try{Xt(qn.throw(Je))}catch(At){fo(At)}},Xt=function(Je){return Je.done?Hr(Je.value):Promise.resolve(Je.value).then(Jr,ro)};Xt((qn=qn.apply(cn,or)).next())})},T;(function(cn){cn.uninitialized="uninitialized",cn.pending="pending",cn.fulfilled="fulfilled",cn.rejected="rejected"})(T||(T={}));function s(cn){return{status:cn,isUninitialized:cn===T.uninitialized,isLoading:cn===T.pending,isSuccess:cn===T.fulfilled,isError:cn===T.rejected}}function v(cn){return new RegExp("(^|:)//").test(cn)}var m=function(cn){return cn.replace(/\/$/,"")},E=function(cn){return cn.replace(/^\//,"")};function I(cn,or){if(!cn)return or;if(!or)return cn;if(v(or))return or;var qn=cn.endsWith("/")||!or.startsWith("?")?"/":"";return cn=m(cn),or=E(or),""+cn+qn+or}var L=function(cn){return[].concat.apply([],cn)};function W(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function F(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var G=r.isPlainObject;function k(cn,or){if(cn===or||!(G(cn)&&G(or)||Array.isArray(cn)&&Array.isArray(or)))return or;for(var qn=Object.keys(or),Hr=Object.keys(cn),fo=qn.length===Hr.length,Jr=Array.isArray(or)?[]:{},ro=0,Xt=qn;ro<Xt.length;ro++){var Je=Xt[ro];Jr[Je]=k(cn[Je],or[Je]),fo&&(fo=cn[Je]===Jr[Je])}return fo?cn:Jr}var x=function(){for(var cn=[],or=0;or<arguments.length;or++)cn[or]=arguments[or];return fetch.apply(void 0,cn)},M=function(cn){return cn.status>=200&&cn.status<=299},B=function(cn){return/ion\/(vnd\.api\+)?json/.test(cn.get("content-type")||"")};function R(cn){if(!(0,r.isPlainObject)(cn))return cn;for(var or=P({},cn),qn=0,Hr=Object.entries(or);qn<Hr.length;qn++){var fo=Hr[qn],Jr=fo[0],ro=fo[1];ro===void 0&&delete or[Jr]}return or}function U(cn){var or=this;cn===void 0&&(cn={});var qn=cn,Hr=qn.baseUrl,fo=qn.prepareHeaders,Jr=fo===void 0?function(Wt){return Wt}:fo,ro=qn.fetchFn,Xt=ro===void 0?x:ro,Je=qn.paramsSerializer,At=qn.isJsonContentType,xt=At===void 0?B:At,Qt=qn.jsonContentType,qt=Qt===void 0?"application/json":Qt,Te=qn.jsonReplacer,Gt=qn.timeout,un=qn.validateStatus,Vt=A(qn,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","validateStatus"]);return typeof fetch>"u"&&Xt===x&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),function(Wt,Pe){return S(or,null,function(){var xe,Ae,qe,wt,kt,ut,Ft,tn,In,rr,Sr,Yr,Pr,Mn,sr,Ar,vr,qr,Dr,eo,Vo,Bn,ar,rn,Rt,Qe,Ye,yt,Ze,Mt,ot,et,St,Ht,er,Mr;return u(this,function(mn){switch(mn.label){case 0:return xe=Pe.signal,Ae=Pe.getState,qe=Pe.extra,wt=Pe.endpoint,kt=Pe.forced,ut=Pe.type,tn=typeof Wt=="string"?{url:Wt}:Wt,In=tn.url,rr=tn.headers,Sr=rr===void 0?new Headers(Vt.headers):rr,Yr=tn.params,Pr=Yr===void 0?void 0:Yr,Mn=tn.responseHandler,sr=Mn===void 0?"json":Mn,Ar=tn.validateStatus,vr=Ar===void 0?un??M:Ar,qr=tn.timeout,Dr=qr===void 0?Gt:qr,eo=A(tn,["url","headers","params","responseHandler","validateStatus","timeout"]),Vo=P(C(P({},Vt),{signal:xe}),eo),Sr=new Headers(R(Sr)),Bn=Vo,[4,Jr(Sr,{getState:Ae,extra:qe,endpoint:wt,forced:kt,type:ut})];case 1:Bn.headers=mn.sent()||Sr,ar=function(Un){return typeof Un=="object"&&((0,r.isPlainObject)(Un)||Array.isArray(Un)||typeof Un.toJSON=="function")},!Vo.headers.has("content-type")&&ar(Vo.body)&&Vo.headers.set("content-type",qt),ar(Vo.body)&&xt(Vo.headers)&&(Vo.body=JSON.stringify(Vo.body,Te)),Pr&&(rn=~In.indexOf("?")?"&":"?",Rt=Je?Je(Pr):new URLSearchParams(R(Pr)),In+=rn+Rt),In=I(Hr,In),Qe=new Request(In,Vo),Ye=Qe.clone(),Ft={request:Ye},Ze=!1,Mt=Dr&&setTimeout(function(){Ze=!0,Pe.abort()},Dr),mn.label=2;case 2:return mn.trys.push([2,4,5,6]),[4,Xt(Qe)];case 3:return yt=mn.sent(),[3,6];case 4:return ot=mn.sent(),[2,{error:{status:Ze?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(ot)},meta:Ft}];case 5:return Mt&&clearTimeout(Mt),[7];case 6:et=yt.clone(),Ft.response=et,Ht="",mn.label=7;case 7:return mn.trys.push([7,9,,10]),[4,Promise.all([Dn(yt,sr).then(function(Un){return St=Un},function(Un){return er=Un}),et.text().then(function(Un){return Ht=Un},function(){})])];case 8:if(mn.sent(),er)throw er;return[3,10];case 9:return Mr=mn.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:yt.status,data:Ht,error:String(Mr)},meta:Ft}];case 10:return[2,vr(yt,St)?{data:St,meta:Ft}:{error:{status:yt.status,data:St},meta:Ft}]}})})};function Dn(Wt,Pe){return S(this,null,function(){var xe;return u(this,function(Ae){switch(Ae.label){case 0:return typeof Pe=="function"?[2,Pe(Wt)]:(Pe==="content-type"&&(Pe=xt(Wt.headers)?"json":"text"),Pe!=="json"?[3,2]:[4,Wt.text()]);case 1:return xe=Ae.sent(),[2,xe.length?JSON.parse(xe):null];case 2:return[2,Wt.text()]}})})}}var j=function(){function cn(or,qn){qn===void 0&&(qn=void 0),this.value=or,this.meta=qn}return cn}();function $(cn,or){return cn===void 0&&(cn=0),or===void 0&&(or=5),S(this,null,function(){var qn,Hr;return u(this,function(fo){switch(fo.label){case 0:return qn=Math.min(cn,or),Hr=~~((Math.random()+.4)*(300<<qn)),[4,new Promise(function(Jr){return setTimeout(function(ro){return Jr(ro)},Hr)})];case 1:return fo.sent(),[2]}})})}function ee(cn){throw Object.assign(new j({error:cn}),{throwImmediately:!0})}var te={},ie=function(cn,or){return function(qn,Hr,fo){return S(void 0,null,function(){var Jr,ro,Xt,Je,At,xt,Qt;return u(this,function(qt){switch(qt.label){case 0:Jr=[5,(or||te).maxRetries,(fo||te).maxRetries].filter(function(Te){return Te!==void 0}),ro=Jr.slice(-1)[0],Xt=function(Te,Gt,un){var Vt=un.attempt;return Vt<=ro},Je=P(P({maxRetries:ro,backoff:$,retryCondition:Xt},or),fo),At=0,qt.label=1;case 1:qt.label=2;case 2:return qt.trys.push([2,4,,6]),[4,cn(qn,Hr,fo)];case 3:if(xt=qt.sent(),xt.error)throw new j(xt);return[2,xt];case 4:if(Qt=qt.sent(),At++,Qt.throwImmediately){if(Qt instanceof j)return[2,Qt.value];throw Qt}return Qt instanceof j&&!Je.retryCondition(Qt.value.error,qn,{attempt:At,baseQueryApi:Hr,extraOptions:fo})?[2,Qt.value]:[4,Je.backoff(At,Je.maxRetries)];case 5:return qt.sent(),[3,6];case 6:return[3,1];case 7:return[2]}})})}},ne=Object.assign(ie,{fail:ee}),pe=(0,r.createAction)("__rtkq/focused"),oe=(0,r.createAction)("__rtkq/unfocused"),q=(0,r.createAction)("__rtkq/online"),J=(0,r.createAction)("__rtkq/offline"),me=!1;function re(cn,or){function qn(){var Hr=function(){return cn(pe())},fo=function(){return cn(oe())},Jr=function(){return cn(q())},ro=function(){return cn(J())},Xt=function(){window.document.visibilityState==="visible"?Hr():fo()};me||typeof window<"u"&&window.addEventListener&&(window.addEventListener("visibilitychange",Xt,!1),window.addEventListener("focus",Hr,!1),window.addEventListener("online",Jr,!1),window.addEventListener("offline",ro,!1),me=!0);var Je=function(){window.removeEventListener("focus",Hr),window.removeEventListener("visibilitychange",Xt),window.removeEventListener("online",Jr),window.removeEventListener("offline",ro),me=!1};return Je}return or?or(cn,{onFocus:pe,onFocusLost:oe,onOffline:J,onOnline:q}):qn()}var he;(function(cn){cn.query="query",cn.mutation="mutation"})(he||(he={}));function Ee(cn){return cn.type===he.query}function fe(cn){return cn.type===he.mutation}function H(cn,or,qn,Hr,fo,Jr){return z(cn)?cn(or,qn,Hr,fo).map(_e).map(Jr):Array.isArray(cn)?cn.map(_e).map(Jr):[]}function z(cn){return typeof cn=="function"}function _e(cn){return typeof cn=="string"?{type:cn}:cn}function ae(cn){return cn!=null}var ge=Symbol("forceQueryFn"),Be=function(cn){return typeof cn[ge]=="function"};function Ke(cn){var or=cn.serializeQueryArgs,qn=cn.queryThunk,Hr=cn.mutationThunk,fo=cn.api,Jr=cn.context,ro=new Map,Xt=new Map,Je=fo.internalActions,At=Je.unsubscribeQueryResult,xt=Je.removeMutationResult,Qt=Je.updateSubscriptionOptions;return{buildInitiateQuery:Pe,buildInitiateMutation:xe,getRunningQueryThunk:Gt,getRunningMutationThunk:un,getRunningQueriesThunk:Vt,getRunningMutationsThunk:Dn,getRunningOperationPromises:Te,removalWarning:qt};function qt(){throw new Error(`This method had to be removed due to a conceptual bug in RTK.
       Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details.
       See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.`)}function Te(){typeof c<"u";var Ae=function(qe){return Array.from(qe.values()).flatMap(function(wt){return wt?Object.values(wt):[]})};return f(f([],Ae(ro)),Ae(Xt)).filter(ae)}function Gt(Ae,qe){return function(wt){var kt,ut=Jr.endpointDefinitions[Ae],Ft=or({queryArgs:qe,endpointDefinition:ut,endpointName:Ae});return(kt=ro.get(wt))==null?void 0:kt[Ft]}}function un(Ae,qe){return function(wt){var kt;return(kt=Xt.get(wt))==null?void 0:kt[qe]}}function Vt(){return function(Ae){return Object.values(ro.get(Ae)||{}).filter(ae)}}function Dn(){return function(Ae){return Object.values(Xt.get(Ae)||{}).filter(ae)}}function Wt(Ae){if(0)var qe}function Pe(Ae,qe){var wt=function(kt,ut){var Ft=ut===void 0?{}:ut,tn=Ft.subscribe,In=tn===void 0?!0:tn,rr=Ft.forceRefetch,Sr=Ft.subscriptionOptions,Yr=ge,Pr=Ft[Yr];return function(Mn,sr){var Ar,vr,qr=or({queryArgs:kt,endpointDefinition:qe,endpointName:Ae}),Dr=qn((Ar={type:"query",subscribe:In,forceRefetch:rr,subscriptionOptions:Sr,endpointName:Ae,originalArgs:kt,queryCacheKey:qr},Ar[ge]=Pr,Ar)),eo=fo.endpoints[Ae].select(kt),Vo=Mn(Dr),Bn=eo(sr());Wt(Mn);var ar=Vo.requestId,rn=Vo.abort,Rt=Bn.requestId!==ar,Qe=(vr=ro.get(Mn))==null?void 0:vr[qr],Ye=function(){return eo(sr())},yt=Object.assign(Pr?Vo.then(Ye):Rt&&!Qe?Promise.resolve(Bn):Promise.all([Qe,Vo]).then(Ye),{arg:kt,requestId:ar,subscriptionOptions:Sr,queryCacheKey:qr,abort:rn,unwrap:function(){return S(this,null,function(){var Mt;return u(this,function(ot){switch(ot.label){case 0:return[4,yt];case 1:if(Mt=ot.sent(),Mt.isError)throw Mt.error;return[2,Mt.data]}})})},refetch:function(){return Mn(wt(kt,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){In&&Mn(At({queryCacheKey:qr,requestId:ar}))},updateSubscriptionOptions:function(Mt){yt.subscriptionOptions=Mt,Mn(Qt({endpointName:Ae,requestId:ar,queryCacheKey:qr,options:Mt}))}});if(!Qe&&!Rt&&!Pr){var Ze=ro.get(Mn)||{};Ze[qr]=yt,ro.set(Mn,Ze),yt.then(function(){delete Ze[qr],Object.keys(Ze).length||ro.delete(Mn)})}return yt}};return wt}function xe(Ae){return function(qe,wt){var kt=wt===void 0?{}:wt,ut=kt.track,Ft=ut===void 0?!0:ut,tn=kt.fixedCacheKey;return function(In,rr){var Sr=Hr({type:"mutation",endpointName:Ae,originalArgs:qe,track:Ft,fixedCacheKey:tn}),Yr=In(Sr);Wt(In);var Pr=Yr.requestId,Mn=Yr.abort,sr=Yr.unwrap,Ar=Yr.unwrap().then(function(eo){return{data:eo}}).catch(function(eo){return{error:eo}}),vr=function(){In(xt({requestId:Pr,fixedCacheKey:tn}))},qr=Object.assign(Ar,{arg:Yr.arg,requestId:Pr,abort:Mn,unwrap:sr,unsubscribe:vr,reset:vr}),Dr=Xt.get(In)||{};return Xt.set(In,Dr),Dr[Pr]=qr,qr.then(function(){delete Dr[Pr],Object.keys(Dr).length||Xt.delete(In)}),tn&&(Dr[tn]=qr,qr.then(function(){Dr[tn]===qr&&(delete Dr[tn],Object.keys(Dr).length||Xt.delete(In))})),qr}}}}function He(cn){return cn}function ye(cn){var or=this,qn=cn.reducerPath,Hr=cn.baseQuery,fo=cn.context.endpointDefinitions,Jr=cn.serializeQueryArgs,ro=cn.api,Xt=function(Pe,xe,Ae){return function(qe){var wt=fo[Pe];qe(ro.internalActions.queryResultPatched({queryCacheKey:Jr({queryArgs:xe,endpointDefinition:wt,endpointName:Pe}),patches:Ae}))}},Je=function(Pe,xe,Ae){return function(qe,wt){var kt,ut,Ft=ro.endpoints[Pe].select(xe)(wt()),tn={patches:[],inversePatches:[],undo:function(){return qe(ro.util.patchQueryData(Pe,xe,tn.inversePatches))}};if(Ft.status===T.uninitialized)return tn;if("data"in Ft)if((0,o.o$)(Ft.data)){var In=(0,o.aS)(Ft.data,Ae),rr=In[1],Sr=In[2];(kt=tn.patches).push.apply(kt,rr),(ut=tn.inversePatches).push.apply(ut,Sr)}else{var Yr=Ae(Ft.data);tn.patches.push({op:"replace",path:[],value:Yr}),tn.inversePatches.push({op:"replace",path:[],value:Ft.data})}return qe(ro.util.patchQueryData(Pe,xe,tn.patches)),tn}},At=function(Pe,xe,Ae){return function(qe){var wt;return qe(ro.endpoints[Pe].initiate(xe,(wt={subscribe:!1,forceRefetch:!0},wt[ge]=function(){return{data:Ae}},wt)))}},xt=function(Pe,xe){return S(or,[Pe,xe],function(Ae,qe){var wt,kt,ut,Ft,tn,In,rr,Sr,Yr,Pr,Mn,sr,Ar,vr,qr,Dr,eo,Vo,Bn=qe.signal,ar=qe.abort,rn=qe.rejectWithValue,Rt=qe.fulfillWithValue,Qe=qe.dispatch,Ye=qe.getState,yt=qe.extra;return u(this,function(Ze){switch(Ze.label){case 0:wt=fo[Ae.endpointName],Ze.label=1;case 1:return Ze.trys.push([1,8,,13]),kt=He,ut=void 0,Ft={signal:Bn,abort:ar,dispatch:Qe,getState:Ye,extra:yt,endpoint:Ae.endpointName,type:Ae.type,forced:Ae.type==="query"?Qt(Ae,Ye()):void 0},tn=Ae.type==="query"?Ae[ge]:void 0,tn?(ut=tn(),[3,6]):[3,2];case 2:return wt.query?[4,Hr(wt.query(Ae.originalArgs),Ft,wt.extraOptions)]:[3,4];case 3:return ut=Ze.sent(),wt.transformResponse&&(kt=wt.transformResponse),[3,6];case 4:return[4,wt.queryFn(Ae.originalArgs,Ft,wt.extraOptions,function(Mt){return Hr(Mt,Ft,wt.extraOptions)})];case 5:ut=Ze.sent(),Ze.label=6;case 6:if(typeof c<"u",ut.error)throw new j(ut.error,ut.meta);return Mn=Rt,[4,kt(ut.data,ut.meta,Ae.originalArgs)];case 7:return[2,Mn.apply(void 0,[Ze.sent(),(eo={fulfilledTimeStamp:Date.now(),baseQueryMeta:ut.meta},eo[r.SHOULD_AUTOBATCH]=!0,eo)])];case 8:if(sr=Ze.sent(),Ar=sr,!(Ar instanceof j))return[3,12];vr=He,wt.query&&wt.transformErrorResponse&&(vr=wt.transformErrorResponse),Ze.label=9;case 9:return Ze.trys.push([9,11,,12]),qr=rn,[4,vr(Ar.value,Ar.meta,Ae.originalArgs)];case 10:return[2,qr.apply(void 0,[Ze.sent(),(Vo={baseQueryMeta:Ar.meta},Vo[r.SHOULD_AUTOBATCH]=!0,Vo)])];case 11:return Dr=Ze.sent(),Ar=Dr,[3,12];case 12:throw typeof c<"u",console.error(Ar),Ar;case 13:return[2]}})})};function Qt(Pe,xe){var Ae,qe,wt,kt,ut=(qe=(Ae=xe[qn])==null?void 0:Ae.queries)==null?void 0:qe[Pe.queryCacheKey],Ft=(wt=xe[qn])==null?void 0:wt.config.refetchOnMountOrArgChange,tn=ut==null?void 0:ut.fulfilledTimeStamp,In=(kt=Pe.forceRefetch)!=null?kt:Pe.subscribe&&Ft;return In?In===!0||(Number(new Date)-Number(tn))/1e3>=In:!1}var qt=(0,r.createAsyncThunk)(qn+"/executeQuery",xt,{getPendingMeta:function(){var Pe;return Pe={startedTimeStamp:Date.now()},Pe[r.SHOULD_AUTOBATCH]=!0,Pe},condition:function(Pe,xe){var Ae=xe.getState,qe,wt,kt,ut=Ae(),Ft=(wt=(qe=ut[qn])==null?void 0:qe.queries)==null?void 0:wt[Pe.queryCacheKey],tn=Ft==null?void 0:Ft.fulfilledTimeStamp,In=Pe.originalArgs,rr=Ft==null?void 0:Ft.originalArgs,Sr=fo[Pe.endpointName];return Be(Pe)?!0:(Ft==null?void 0:Ft.status)==="pending"?!1:Qt(Pe,ut)||Ee(Sr)&&((kt=Sr==null?void 0:Sr.forceRefetch)!=null&&kt.call(Sr,{currentArg:In,previousArg:rr,endpointState:Ft,state:ut}))?!0:!tn},dispatchConditionRejection:!0}),Te=(0,r.createAsyncThunk)(qn+"/executeMutation",xt,{getPendingMeta:function(){var Pe;return Pe={startedTimeStamp:Date.now()},Pe[r.SHOULD_AUTOBATCH]=!0,Pe}}),Gt=function(Pe){return"force"in Pe},un=function(Pe){return"ifOlderThan"in Pe},Vt=function(Pe,xe,Ae){return function(qe,wt){var kt=Gt(Ae)&&Ae.force,ut=un(Ae)&&Ae.ifOlderThan,Ft=function(Sr){return Sr===void 0&&(Sr=!0),ro.endpoints[Pe].initiate(xe,{forceRefetch:Sr})},tn=ro.endpoints[Pe].select(xe)(wt());if(kt)qe(Ft());else if(ut){var In=tn==null?void 0:tn.fulfilledTimeStamp;if(!In){qe(Ft());return}var rr=(Number(new Date)-Number(new Date(In)))/1e3>=ut;rr&&qe(Ft())}else qe(Ft(!1))}};function Dn(Pe){return function(xe){var Ae,qe;return((qe=(Ae=xe==null?void 0:xe.meta)==null?void 0:Ae.arg)==null?void 0:qe.endpointName)===Pe}}function Wt(Pe,xe){return{matchPending:(0,r.isAllOf)((0,r.isPending)(Pe),Dn(xe)),matchFulfilled:(0,r.isAllOf)((0,r.isFulfilled)(Pe),Dn(xe)),matchRejected:(0,r.isAllOf)((0,r.isRejected)(Pe),Dn(xe))}}return{queryThunk:qt,mutationThunk:Te,prefetch:Vt,updateQueryData:Je,upsertQueryData:At,patchQueryData:Xt,buildMatchThunkActions:Wt}}function Le(cn,or,qn,Hr){return H(qn[cn.meta.arg.endpointName][or],(0,r.isFulfilled)(cn)?cn.payload:void 0,(0,r.isRejectedWithValue)(cn)?cn.payload:void 0,cn.meta.arg.originalArgs,"baseQueryMeta"in cn.meta?cn.meta.baseQueryMeta:void 0,Hr)}function Ue(cn,or,qn){var Hr=cn[or];Hr&&qn(Hr)}function Xe(cn){var or;return(or="arg"in cn?cn.arg.fixedCacheKey:cn.fixedCacheKey)!=null?or:cn.requestId}function Fe(cn,or,qn){var Hr=cn[Xe(or)];Hr&&qn(Hr)}var ht={};function Ne(cn){var or=cn.reducerPath,qn=cn.queryThunk,Hr=cn.mutationThunk,fo=cn.context,Jr=fo.endpointDefinitions,ro=fo.apiUid,Xt=fo.extractRehydrationInfo,Je=fo.hasRehydrationInfo,At=cn.assertTagType,xt=cn.config,Qt=(0,r.createAction)(or+"/resetApiState"),qt=(0,r.createSlice)({name:or+"/queries",initialState:ht,reducers:{removeQueryResult:{reducer:function(Ae,qe){var wt=qe.payload.queryCacheKey;delete Ae[wt]},prepare:(0,r.prepareAutoBatched)()},queryResultPatched:function(Ae,qe){var wt=qe.payload,kt=wt.queryCacheKey,ut=wt.patches;Ue(Ae,kt,function(Ft){Ft.data=(0,o.QE)(Ft.data,ut.concat())})}},extraReducers:function(Ae){Ae.addCase(qn.pending,function(qe,wt){var kt=wt.meta,ut=wt.meta.arg,Ft,tn,In=Be(ut);(ut.subscribe||In)&&((tn=qe[Ft=ut.queryCacheKey])!=null||(qe[Ft]={status:T.uninitialized,endpointName:ut.endpointName})),Ue(qe,ut.queryCacheKey,function(rr){rr.status=T.pending,rr.requestId=In&&rr.requestId?rr.requestId:kt.requestId,ut.originalArgs!==void 0&&(rr.originalArgs=ut.originalArgs),rr.startedTimeStamp=kt.startedTimeStamp})}).addCase(qn.fulfilled,function(qe,wt){var kt=wt.meta,ut=wt.payload;Ue(qe,kt.arg.queryCacheKey,function(Ft){var tn;if(!(Ft.requestId!==kt.requestId&&!Be(kt.arg))){var In=Jr[kt.arg.endpointName].merge;if(Ft.status=T.fulfilled,In)if(Ft.data!==void 0){var rr=kt.fulfilledTimeStamp,Sr=kt.arg,Yr=kt.baseQueryMeta,Pr=kt.requestId,Mn=(0,o.ZP)(Ft.data,function(sr){return In(sr,ut,{arg:Sr.originalArgs,baseQueryMeta:Yr,fulfilledTimeStamp:rr,requestId:Pr})});Ft.data=Mn}else Ft.data=ut;else Ft.data=(tn=Jr[kt.arg.endpointName].structuralSharing)==null||tn?k(Ft.data,ut):ut;delete Ft.error,Ft.fulfilledTimeStamp=kt.fulfilledTimeStamp}})}).addCase(qn.rejected,function(qe,wt){var kt=wt.meta,ut=kt.condition,Ft=kt.arg,tn=kt.requestId,In=wt.error,rr=wt.payload;Ue(qe,Ft.queryCacheKey,function(Sr){if(!ut){if(Sr.requestId!==tn)return;Sr.status=T.rejected,Sr.error=rr??In}})}).addMatcher(Je,function(qe,wt){for(var kt=Xt(wt).queries,ut=0,Ft=Object.entries(kt);ut<Ft.length;ut++){var tn=Ft[ut],In=tn[0],rr=tn[1];((rr==null?void 0:rr.status)===T.fulfilled||(rr==null?void 0:rr.status)===T.rejected)&&(qe[In]=rr)}})}}),Te=(0,r.createSlice)({name:or+"/mutations",initialState:ht,reducers:{removeMutationResult:{reducer:function(Ae,qe){var wt=qe.payload,kt=Xe(wt);kt in Ae&&delete Ae[kt]},prepare:(0,r.prepareAutoBatched)()}},extraReducers:function(Ae){Ae.addCase(Hr.pending,function(qe,wt){var kt=wt.meta,ut=wt.meta,Ft=ut.requestId,tn=ut.arg,In=ut.startedTimeStamp;tn.track&&(qe[Xe(kt)]={requestId:Ft,status:T.pending,endpointName:tn.endpointName,startedTimeStamp:In})}).addCase(Hr.fulfilled,function(qe,wt){var kt=wt.payload,ut=wt.meta;ut.arg.track&&Fe(qe,ut,function(Ft){Ft.requestId===ut.requestId&&(Ft.status=T.fulfilled,Ft.data=kt,Ft.fulfilledTimeStamp=ut.fulfilledTimeStamp)})}).addCase(Hr.rejected,function(qe,wt){var kt=wt.payload,ut=wt.error,Ft=wt.meta;Ft.arg.track&&Fe(qe,Ft,function(tn){tn.requestId===Ft.requestId&&(tn.status=T.rejected,tn.error=kt??ut)})}).addMatcher(Je,function(qe,wt){for(var kt=Xt(wt).mutations,ut=0,Ft=Object.entries(kt);ut<Ft.length;ut++){var tn=Ft[ut],In=tn[0],rr=tn[1];((rr==null?void 0:rr.status)===T.fulfilled||(rr==null?void 0:rr.status)===T.rejected)&&In!==(rr==null?void 0:rr.requestId)&&(qe[In]=rr)}})}}),Gt=(0,r.createSlice)({name:or+"/invalidation",initialState:ht,reducers:{},extraReducers:function(Ae){Ae.addCase(qt.actions.removeQueryResult,function(qe,wt){for(var kt=wt.payload.queryCacheKey,ut=0,Ft=Object.values(qe);ut<Ft.length;ut++)for(var tn=Ft[ut],In=0,rr=Object.values(tn);In<rr.length;In++){var Sr=rr[In],Yr=Sr.indexOf(kt);Yr!==-1&&Sr.splice(Yr,1)}}).addMatcher(Je,function(qe,wt){for(var kt,ut,Ft,tn,In=Xt(wt).provided,rr=0,Sr=Object.entries(In);rr<Sr.length;rr++)for(var Yr=Sr[rr],Pr=Yr[0],Mn=Yr[1],sr=0,Ar=Object.entries(Mn);sr<Ar.length;sr++)for(var vr=Ar[sr],qr=vr[0],Dr=vr[1],eo=(tn=(ut=(kt=qe[Pr])!=null?kt:qe[Pr]={})[Ft=qr||"__internal_without_id"])!=null?tn:ut[Ft]=[],Vo=0,Bn=Dr;Vo<Bn.length;Vo++){var ar=Bn[Vo],rn=eo.includes(ar);rn||eo.push(ar)}}).addMatcher((0,r.isAnyOf)((0,r.isFulfilled)(qn),(0,r.isRejectedWithValue)(qn)),function(qe,wt){for(var kt,ut,Ft,tn,In=Le(wt,"providesTags",Jr,At),rr=wt.meta.arg.queryCacheKey,Sr=0,Yr=Object.values(qe);Sr<Yr.length;Sr++)for(var Pr=Yr[Sr],Mn=0,sr=Object.values(Pr);Mn<sr.length;Mn++){var Ar=sr[Mn],vr=Ar.indexOf(rr);vr!==-1&&Ar.splice(vr,1)}for(var qr=0,Dr=In;qr<Dr.length;qr++){var eo=Dr[qr],Vo=eo.type,Bn=eo.id,ar=(tn=(ut=(kt=qe[Vo])!=null?kt:qe[Vo]={})[Ft=Bn||"__internal_without_id"])!=null?tn:ut[Ft]=[],rn=ar.includes(rr);rn||ar.push(rr)}})}}),un=(0,r.createSlice)({name:or+"/subscriptions",initialState:ht,reducers:{updateSubscriptionOptions:function(Ae,qe){},unsubscribeQueryResult:function(Ae,qe){},internal_probeSubscription:function(Ae,qe){}}}),Vt=(0,r.createSlice)({name:or+"/internalSubscriptions",initialState:ht,reducers:{subscriptionsUpdated:function(Ae,qe){return(0,o.QE)(Ae,qe.payload)}}}),Dn=(0,r.createSlice)({name:or+"/config",initialState:P({online:W(),focused:F(),middlewareRegistered:!1},xt),reducers:{middlewareRegistered:function(Ae,qe){var wt=qe.payload;Ae.middlewareRegistered=Ae.middlewareRegistered==="conflict"||ro!==wt?"conflict":!0}},extraReducers:function(Ae){Ae.addCase(q,function(qe){qe.online=!0}).addCase(J,function(qe){qe.online=!1}).addCase(pe,function(qe){qe.focused=!0}).addCase(oe,function(qe){qe.focused=!1}).addMatcher(Je,function(qe){return P({},qe)})}}),Wt=(0,a.combineReducers)({queries:qt.reducer,mutations:Te.reducer,provided:Gt.reducer,subscriptions:Vt.reducer,config:Dn.reducer}),Pe=function(Ae,qe){return Wt(Qt.match(qe)?void 0:Ae,qe)},xe=C(P(P(P(P(P({},Dn.actions),qt.actions),un.actions),Vt.actions),Te.actions),{unsubscribeMutationResult:Te.actions.removeMutationResult,resetApiState:Qt});return{reducer:Pe,actions:xe}}var Ce=Symbol.for("RTKQ/skipToken"),we=Ce,$e={status:T.uninitialized},Ot=(0,o.ZP)($e,function(){}),Pt=(0,o.ZP)($e,function(){});function Ie(cn){var or=cn.serializeQueryArgs,qn=cn.reducerPath,Hr=function(xt){return Ot},fo=function(xt){return Pt};return{buildQuerySelector:Xt,buildMutationSelector:Je,selectInvalidatedBy:At};function Jr(xt){return P(P({},xt),s(xt.status))}function ro(xt){var Qt=xt[qn];return Qt}function Xt(xt,Qt){return function(qt){var Te=or({queryArgs:qt,endpointDefinition:Qt,endpointName:xt}),Gt=function(Vt){var Dn,Wt,Pe;return(Pe=(Wt=(Dn=ro(Vt))==null?void 0:Dn.queries)==null?void 0:Wt[Te])!=null?Pe:Ot},un=qt===Ce?Hr:Gt;return(0,n.P1)(un,Jr)}}function Je(){return function(xt){var Qt,qt;typeof xt=="object"?qt=(Qt=Xe(xt))!=null?Qt:Ce:qt=xt;var Te=function(un){var Vt,Dn,Wt;return(Wt=(Dn=(Vt=ro(un))==null?void 0:Vt.mutations)==null?void 0:Dn[qt])!=null?Wt:Pt},Gt=qt===Ce?fo:Te;return(0,n.P1)(Gt,Jr)}}function At(xt,Qt){for(var qt,Te=xt[qn],Gt=new Set,un=0,Vt=Qt.map(_e);un<Vt.length;un++){var Dn=Vt[un],Wt=Te.provided[Dn.type];if(Wt)for(var Pe=(qt=Dn.id!==void 0?Wt[Dn.id]:L(Object.values(Wt)))!=null?qt:[],xe=0,Ae=Pe;xe<Ae.length;xe++){var qe=Ae[xe];Gt.add(qe)}}return L(Array.from(Gt.values()).map(function(wt){var kt=Te.queries[wt];return kt?[{queryCacheKey:wt,endpointName:kt.endpointName,originalArgs:kt.originalArgs}]:[]}))}}var Bt=WeakMap?new WeakMap:void 0,mt=function(cn){var or=cn.endpointName,qn=cn.queryArgs,Hr="",fo=Bt==null?void 0:Bt.get(qn);if(typeof fo=="string")Hr=fo;else{var Jr=JSON.stringify(qn,function(ro,Xt){return(0,r.isPlainObject)(Xt)?Object.keys(Xt).sort().reduce(function(Je,At){return Je[At]=Xt[At],Je},{}):Xt});(0,r.isPlainObject)(qn)&&(Bt==null||Bt.set(qn,Jr)),Hr=Jr}return or+"("+Hr+")"};function rt(){for(var cn=[],or=0;or<arguments.length;or++)cn[or]=arguments[or];return function(Hr){var fo=(0,i.PW)(function(xt){var Qt,qt;return(qt=Hr.extractRehydrationInfo)==null?void 0:qt.call(Hr,xt,{reducerPath:(Qt=Hr.reducerPath)!=null?Qt:"api"})}),Jr=C(P({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1},Hr),{extractRehydrationInfo:fo,serializeQueryArgs:function(xt){var Qt=mt;if("serializeQueryArgs"in xt.endpointDefinition){var qt=xt.endpointDefinition.serializeQueryArgs;Qt=function(Te){var Gt=qt(Te);return typeof Gt=="string"?Gt:mt(C(P({},Te),{queryArgs:Gt}))}}else Hr.serializeQueryArgs&&(Qt=Hr.serializeQueryArgs);return Qt(xt)},tagTypes:f([],Hr.tagTypes||[])}),ro={endpointDefinitions:{},batch:function(xt){xt()},apiUid:(0,r.nanoid)(),extractRehydrationInfo:fo,hasRehydrationInfo:(0,i.PW)(function(xt){return fo(xt)!=null})},Xt={injectEndpoints:At,enhanceEndpoints:function(xt){var Qt=xt.addTagTypes,qt=xt.endpoints;if(Qt)for(var Te=0,Gt=Qt;Te<Gt.length;Te++){var un=Gt[Te];Jr.tagTypes.includes(un)||Jr.tagTypes.push(un)}if(qt)for(var Vt=0,Dn=Object.entries(qt);Vt<Dn.length;Vt++){var Wt=Dn[Vt],Pe=Wt[0],xe=Wt[1];typeof xe=="function"?xe(ro.endpointDefinitions[Pe]):Object.assign(ro.endpointDefinitions[Pe]||{},xe)}return Xt}},Je=cn.map(function(xt){return xt.init(Xt,Jr,ro)});function At(xt){for(var Qt=xt.endpoints({query:function(xe){return C(P({},xe),{type:he.query})},mutation:function(xe){return C(P({},xe),{type:he.mutation})}}),qt=0,Te=Object.entries(Qt);qt<Te.length;qt++){var Gt=Te[qt],un=Gt[0],Vt=Gt[1];if(!xt.overrideExisting&&un in ro.endpointDefinitions){typeof c<"u";continue}ro.endpointDefinitions[un]=Vt;for(var Dn=0,Wt=Je;Dn<Wt.length;Dn++){var Pe=Wt[Dn];Pe.injectEndpoint(un,Vt)}}return Xt}return Xt.injectEndpoints({endpoints:Hr.endpoints})}}function ce(){return function(){throw new Error("When using `fakeBaseQuery`, all queries & mutations must use the `queryFn` definition syntax.")}}function Re(cn){for(var or in cn)return!1;return!0}var nt=2147483647/1e3-1,st=function(cn){var or=cn.reducerPath,qn=cn.api,Hr=cn.context,fo=cn.internalState,Jr=qn.internalActions,ro=Jr.removeQueryResult,Xt=Jr.unsubscribeQueryResult;function Je(qt){var Te=fo.currentSubscriptions[qt];return!!Te&&!Re(Te)}var At={},xt=function(qt,Te,Gt){var un;if(Xt.match(qt)){var Vt=Te.getState()[or],Dn=qt.payload.queryCacheKey;Qt(Dn,(un=Vt.queries[Dn])==null?void 0:un.endpointName,Te,Vt.config)}if(qn.util.resetApiState.match(qt))for(var Wt=0,Pe=Object.entries(At);Wt<Pe.length;Wt++){var xe=Pe[Wt],Ae=xe[0],qe=xe[1];qe&&clearTimeout(qe),delete At[Ae]}if(Hr.hasRehydrationInfo(qt))for(var Vt=Te.getState()[or],wt=Hr.extractRehydrationInfo(qt).queries,kt=0,ut=Object.entries(wt);kt<ut.length;kt++){var Ft=ut[kt],Dn=Ft[0],tn=Ft[1];Qt(Dn,tn==null?void 0:tn.endpointName,Te,Vt.config)}};function Qt(qt,Te,Gt,un){var Vt,Dn=Hr.endpointDefinitions[Te],Wt=(Vt=Dn==null?void 0:Dn.keepUnusedDataFor)!=null?Vt:un.keepUnusedDataFor;if(Wt!==1/0){var Pe=Math.max(0,Math.min(Wt,nt));if(!Je(qt)){var xe=At[qt];xe&&clearTimeout(xe),At[qt]=setTimeout(function(){Je(qt)||Gt.dispatch(ro({queryCacheKey:qt})),delete At[qt]},Pe*1e3)}}}return xt},vt=function(cn){var or=cn.reducerPath,qn=cn.context,Hr=cn.context.endpointDefinitions,fo=cn.mutationThunk,Jr=cn.api,ro=cn.assertTagType,Xt=cn.refetchQuery,Je=Jr.internalActions.removeQueryResult,At=(0,r.isAnyOf)((0,r.isFulfilled)(fo),(0,r.isRejectedWithValue)(fo)),xt=function(qt,Te){At(qt)&&Qt(Le(qt,"invalidatesTags",Hr,ro),Te),Jr.util.invalidateTags.match(qt)&&Qt(H(qt.payload,void 0,void 0,void 0,void 0,ro),Te)};function Qt(qt,Te){var Gt=Te.getState(),un=Gt[or],Vt=Jr.util.selectInvalidatedBy(Gt,qt);qn.batch(function(){for(var Dn,Wt=Array.from(Vt.values()),Pe=0,xe=Wt;Pe<xe.length;Pe++){var Ae=xe[Pe].queryCacheKey,qe=un.queries[Ae],wt=(Dn=un.subscriptions[Ae])!=null?Dn:{};qe&&(Object.keys(wt).length===0?Te.dispatch(Je({queryCacheKey:Ae})):qe.status!==T.uninitialized&&Te.dispatch(Xt(qe,Ae)))}})}return xt},ze=function(cn){var or=cn.reducerPath,qn=cn.queryThunk,Hr=cn.api,fo=cn.refetchQuery,Jr=cn.internalState,ro={},Xt=function(Te,Gt){(Hr.internalActions.updateSubscriptionOptions.match(Te)||Hr.internalActions.unsubscribeQueryResult.match(Te))&&At(Te.payload,Gt),(qn.pending.match(Te)||qn.rejected.match(Te)&&Te.meta.condition)&&At(Te.meta.arg,Gt),(qn.fulfilled.match(Te)||qn.rejected.match(Te)&&!Te.meta.condition)&&Je(Te.meta.arg,Gt),Hr.util.resetApiState.match(Te)&&Qt()};function Je(Te,Gt){var un=Te.queryCacheKey,Vt=Gt.getState()[or],Dn=Vt.queries[un],Wt=Jr.currentSubscriptions[un];if(!(!Dn||Dn.status===T.uninitialized)){var Pe=qt(Wt);if(Number.isFinite(Pe)){var xe=ro[un];xe!=null&&xe.timeout&&(clearTimeout(xe.timeout),xe.timeout=void 0);var Ae=Date.now()+Pe,qe=ro[un]={nextPollTimestamp:Ae,pollingInterval:Pe,timeout:setTimeout(function(){qe.timeout=void 0,Gt.dispatch(fo(Dn,un))},Pe)}}}}function At(Te,Gt){var un=Te.queryCacheKey,Vt=Gt.getState()[or],Dn=Vt.queries[un],Wt=Jr.currentSubscriptions[un];if(!(!Dn||Dn.status===T.uninitialized)){var Pe=qt(Wt);if(!Number.isFinite(Pe)){xt(un);return}var xe=ro[un],Ae=Date.now()+Pe;(!xe||Ae<xe.nextPollTimestamp)&&Je({queryCacheKey:un},Gt)}}function xt(Te){var Gt=ro[Te];Gt!=null&&Gt.timeout&&clearTimeout(Gt.timeout),delete ro[Te]}function Qt(){for(var Te=0,Gt=Object.keys(ro);Te<Gt.length;Te++){var un=Gt[Te];xt(un)}}function qt(Te){Te===void 0&&(Te={});var Gt=Number.POSITIVE_INFINITY;for(var un in Te)Te[un].pollingInterval&&(Gt=Math.min(Te[un].pollingInterval,Gt));return Gt}return Xt},It=function(cn){var or=cn.reducerPath,qn=cn.context,Hr=cn.api,fo=cn.refetchQuery,Jr=cn.internalState,ro=Hr.internalActions.removeQueryResult,Xt=function(At,xt){pe.match(At)&&Je(xt,"refetchOnFocus"),q.match(At)&&Je(xt,"refetchOnReconnect")};function Je(At,xt){var Qt=At.getState()[or],qt=Qt.queries,Te=Jr.currentSubscriptions;qn.batch(function(){for(var Gt=0,un=Object.keys(Te);Gt<un.length;Gt++){var Vt=un[Gt],Dn=qt[Vt],Wt=Te[Vt];if(!(!Wt||!Dn)){var Pe=Object.values(Wt).some(function(xe){return xe[xt]===!0})||Object.values(Wt).every(function(xe){return xe[xt]===void 0})&&Qt.config[xt];Pe&&(Object.keys(Wt).length===0?At.dispatch(ro({queryCacheKey:Vt})):Dn.status!==T.uninitialized&&At.dispatch(fo(Dn,Vt)))}}})}return Xt},on=new Error("Promise never resolved before cacheEntryRemoved."),Pn=function(cn){var or=cn.api,qn=cn.reducerPath,Hr=cn.context,fo=cn.queryThunk,Jr=cn.mutationThunk,ro=cn.internalState,Xt=(0,r.isAsyncThunkAction)(fo),Je=(0,r.isAsyncThunkAction)(Jr),At=(0,r.isFulfilled)(fo,Jr),xt={},Qt=function(Gt,un,Vt){var Dn=qt(Gt);if(fo.pending.match(Gt)){var Wt=Vt[qn].queries[Dn],Pe=un.getState()[qn].queries[Dn];!Wt&&Pe&&Te(Gt.meta.arg.endpointName,Gt.meta.arg.originalArgs,Dn,un,Gt.meta.requestId)}else if(Jr.pending.match(Gt)){var Pe=un.getState()[qn].mutations[Dn];Pe&&Te(Gt.meta.arg.endpointName,Gt.meta.arg.originalArgs,Dn,un,Gt.meta.requestId)}else if(At(Gt)){var xe=xt[Dn];xe!=null&&xe.valueResolved&&(xe.valueResolved({data:Gt.payload,meta:Gt.meta.baseQueryMeta}),delete xe.valueResolved)}else if(or.internalActions.removeQueryResult.match(Gt)||or.internalActions.removeMutationResult.match(Gt)){var xe=xt[Dn];xe&&(delete xt[Dn],xe.cacheEntryRemoved())}else if(or.util.resetApiState.match(Gt))for(var Ae=0,qe=Object.entries(xt);Ae<qe.length;Ae++){var wt=qe[Ae],kt=wt[0],xe=wt[1];delete xt[kt],xe.cacheEntryRemoved()}};function qt(Gt){return Xt(Gt)?Gt.meta.arg.queryCacheKey:Je(Gt)?Gt.meta.requestId:or.internalActions.removeQueryResult.match(Gt)?Gt.payload.queryCacheKey:or.internalActions.removeMutationResult.match(Gt)?Xe(Gt.payload):""}function Te(Gt,un,Vt,Dn,Wt){var Pe=Hr.endpointDefinitions[Gt],xe=Pe==null?void 0:Pe.onCacheEntryAdded;if(xe){var Ae={},qe=new Promise(function(In){Ae.cacheEntryRemoved=In}),wt=Promise.race([new Promise(function(In){Ae.valueResolved=In}),qe.then(function(){throw on})]);wt.catch(function(){}),xt[Vt]=Ae;var kt=or.endpoints[Gt].select(Pe.type===he.query?un:Vt),ut=Dn.dispatch(function(In,rr,Sr){return Sr}),Ft=C(P({},Dn),{getCacheEntry:function(){return kt(Dn.getState())},requestId:Wt,extra:ut,updateCachedData:Pe.type===he.query?function(In){return Dn.dispatch(or.util.updateQueryData(Gt,un,In))}:void 0,cacheDataLoaded:wt,cacheEntryRemoved:qe}),tn=xe(un,Ft);Promise.resolve(tn).catch(function(In){if(In!==on)throw In})}}return Qt},Yn=function(cn){var or=cn.api,qn=cn.context,Hr=cn.queryThunk,fo=cn.mutationThunk,Jr=(0,r.isPending)(Hr,fo),ro=(0,r.isRejected)(Hr,fo),Xt=(0,r.isFulfilled)(Hr,fo),Je={},At=function(xt,Qt){var qt,Te,Gt;if(Jr(xt)){var un=xt.meta,Vt=un.requestId,Dn=un.arg,Wt=Dn.endpointName,Pe=Dn.originalArgs,xe=qn.endpointDefinitions[Wt],Ae=xe==null?void 0:xe.onQueryStarted;if(Ae){var qe={},wt=new Promise(function(Yr,Pr){qe.resolve=Yr,qe.reject=Pr});wt.catch(function(){}),Je[Vt]=qe;var kt=or.endpoints[Wt].select(xe.type===he.query?Pe:Vt),ut=Qt.dispatch(function(Yr,Pr,Mn){return Mn}),Ft=C(P({},Qt),{getCacheEntry:function(){return kt(Qt.getState())},requestId:Vt,extra:ut,updateCachedData:xe.type===he.query?function(Yr){return Qt.dispatch(or.util.updateQueryData(Wt,Pe,Yr))}:void 0,queryFulfilled:wt});Ae(Pe,Ft)}}else if(Xt(xt)){var tn=xt.meta,Vt=tn.requestId,In=tn.baseQueryMeta;(qt=Je[Vt])==null||qt.resolve({data:xt.payload,meta:In}),delete Je[Vt]}else if(ro(xt)){var rr=xt.meta,Vt=rr.requestId,Sr=rr.rejectedWithValue,In=rr.baseQueryMeta;(Gt=Je[Vt])==null||Gt.reject({error:(Te=xt.payload)!=null?Te:xt.error,isUnhandledError:!Sr,meta:In}),delete Je[Vt]}};return At},Ln=function(cn){var or=cn.api,qn=cn.context.apiUid,Hr=cn.reducerPath;return function(fo,Jr){var ro,Xt;or.util.resetApiState.match(fo)&&Jr.dispatch(or.internalActions.middlewareRegistered(qn)),typeof c<"u"}},bn,ir=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof e.g<"u"?e.g:globalThis):function(cn){return(bn||(bn=Promise.resolve())).then(cn).catch(function(or){return setTimeout(function(){throw or},0)})},Zn=function(cn){var or=cn.api,qn=cn.queryThunk,Hr=cn.internalState,fo=or.reducerPath+"/subscriptions",Jr=null,ro=!1,Xt=or.internalActions,Je=Xt.updateSubscriptionOptions,At=Xt.unsubscribeQueryResult,xt=function(Qt,qt){var Te,Gt,un,Vt,Dn,Wt,Pe,xe,Ae;if(Je.match(qt)){var qe=qt.payload,wt=qe.queryCacheKey,kt=qe.requestId,ut=qe.options;return(Te=Qt==null?void 0:Qt[wt])!=null&&Te[kt]&&(Qt[wt][kt]=ut),!0}if(At.match(qt)){var Ft=qt.payload,wt=Ft.queryCacheKey,kt=Ft.requestId;return Qt[wt]&&delete Qt[wt][kt],!0}if(or.internalActions.removeQueryResult.match(qt))return delete Qt[qt.payload.queryCacheKey],!0;if(qn.pending.match(qt)){var tn=qt.meta,In=tn.arg,kt=tn.requestId;if(In.subscribe){var rr=(un=Qt[Gt=In.queryCacheKey])!=null?un:Qt[Gt]={};return rr[kt]=(Dn=(Vt=In.subscriptionOptions)!=null?Vt:rr[kt])!=null?Dn:{},!0}}if(qn.rejected.match(qt)){var Sr=qt.meta,Yr=Sr.condition,In=Sr.arg,kt=Sr.requestId;if(Yr&&In.subscribe){var rr=(Pe=Qt[Wt=In.queryCacheKey])!=null?Pe:Qt[Wt]={};return rr[kt]=(Ae=(xe=In.subscriptionOptions)!=null?xe:rr[kt])!=null?Ae:{},!0}}return!1};return function(Qt,qt){var Te,Gt;if(Jr||(Jr=JSON.parse(JSON.stringify(Hr.currentSubscriptions))),or.internalActions.internal_probeSubscription.match(Qt)){var un=Qt.payload,Vt=un.queryCacheKey,Dn=un.requestId,Wt=!!((Te=Hr.currentSubscriptions[Vt])!=null&&Te[Dn]);return[!1,Wt]}var Pe=xt(Hr.currentSubscriptions,Qt);if(Pe){ro||(ir(function(){var wt=JSON.parse(JSON.stringify(Hr.currentSubscriptions)),kt=(0,o.aS)(Jr,function(){return wt}),ut=kt[1];qt.next(or.internalActions.subscriptionsUpdated(ut)),Jr=wt,ro=!1}),ro=!0);var xe=!!((Gt=Qt.type)!=null&&Gt.startsWith(fo)),Ae=qn.rejected.match(Qt)&&Qt.meta.condition&&!!Qt.meta.arg.subscribe,qe=!xe&&!Ae;return[qe,!1]}return[!0,!1]}};function $n(cn){var or=cn.reducerPath,qn=cn.queryThunk,Hr=cn.api,fo=cn.context,Jr=fo.apiUid,ro={invalidateTags:(0,r.createAction)(or+"/invalidateTags")},Xt=function(Qt){return!!Qt&&typeof Qt.type=="string"&&Qt.type.startsWith(or+"/")},Je=[Ln,st,vt,ze,Pn,Yn],At=function(Qt){var qt=!1,Te={currentSubscriptions:{}},Gt=C(P({},cn),{internalState:Te,refetchQuery:xt}),un=Je.map(function(Wt){return Wt(Gt)}),Vt=Zn(Gt),Dn=It(Gt);return function(Wt){return function(Pe){qt||(qt=!0,Qt.dispatch(Hr.internalActions.middlewareRegistered(Jr)));var xe=C(P({},Qt),{next:Wt}),Ae=Qt.getState(),qe=Vt(Pe,xe,Ae),wt=qe[0],kt=qe[1],ut;if(wt?ut=Wt(Pe):ut=kt,Qt.getState()[or]&&(Dn(Pe,xe,Ae),Xt(Pe)||fo.hasRehydrationInfo(Pe)))for(var Ft=0,tn=un;Ft<tn.length;Ft++){var In=tn[Ft];In(Pe,xe,Ae)}return ut}}};return{middleware:At,actions:ro};function xt(Qt,qt,Te){return Te===void 0&&(Te={}),qn(P({type:"query",endpointName:Qt.endpointName,originalArgs:Qt.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:qt},Te))}}function jt(cn){}function Rn(cn){for(var or=[],qn=1;qn<arguments.length;qn++)or[qn-1]=arguments[qn];Object.assign.apply(Object,f([cn],or))}var jn=Symbol(),Tn=function(){return{name:jn,init:function(cn,or,qn){var Hr=or.baseQuery,fo=or.tagTypes,Jr=or.reducerPath,ro=or.serializeQueryArgs,Xt=or.keepUnusedDataFor,Je=or.refetchOnMountOrArgChange,At=or.refetchOnFocus,xt=or.refetchOnReconnect;(0,o.vI)();var Qt=function(eo){return typeof c<"u",eo};Object.assign(cn,{reducerPath:Jr,endpoints:{},internalActions:{onOnline:q,onOffline:J,onFocus:pe,onFocusLost:oe},util:{}});var qt=ye({baseQuery:Hr,reducerPath:Jr,context:qn,api:cn,serializeQueryArgs:ro}),Te=qt.queryThunk,Gt=qt.mutationThunk,un=qt.patchQueryData,Vt=qt.updateQueryData,Dn=qt.upsertQueryData,Wt=qt.prefetch,Pe=qt.buildMatchThunkActions,xe=Ne({context:qn,queryThunk:Te,mutationThunk:Gt,reducerPath:Jr,assertTagType:Qt,config:{refetchOnFocus:At,refetchOnReconnect:xt,refetchOnMountOrArgChange:Je,keepUnusedDataFor:Xt,reducerPath:Jr}}),Ae=xe.reducer,qe=xe.actions;Rn(cn.util,{patchQueryData:un,updateQueryData:Vt,upsertQueryData:Dn,prefetch:Wt,resetApiState:qe.resetApiState}),Rn(cn.internalActions,qe);var wt=$n({reducerPath:Jr,context:qn,queryThunk:Te,mutationThunk:Gt,api:cn,assertTagType:Qt}),kt=wt.middleware,ut=wt.actions;Rn(cn.util,ut),Rn(cn,{reducer:Ae,middleware:kt});var Ft=Ie({serializeQueryArgs:ro,reducerPath:Jr}),tn=Ft.buildQuerySelector,In=Ft.buildMutationSelector,rr=Ft.selectInvalidatedBy;Rn(cn.util,{selectInvalidatedBy:rr});var Sr=Ke({queryThunk:Te,mutationThunk:Gt,api:cn,serializeQueryArgs:ro,context:qn}),Yr=Sr.buildInitiateQuery,Pr=Sr.buildInitiateMutation,Mn=Sr.getRunningMutationThunk,sr=Sr.getRunningMutationsThunk,Ar=Sr.getRunningQueriesThunk,vr=Sr.getRunningQueryThunk,qr=Sr.getRunningOperationPromises,Dr=Sr.removalWarning;return Rn(cn.util,{getRunningOperationPromises:qr,getRunningOperationPromise:Dr,getRunningMutationThunk:Mn,getRunningMutationsThunk:sr,getRunningQueryThunk:vr,getRunningQueriesThunk:Ar}),{name:jn,injectEndpoint:function(eo,Vo){var Bn,ar,rn=cn;(ar=(Bn=rn.endpoints)[eo])!=null||(Bn[eo]={}),Ee(Vo)?Rn(rn.endpoints[eo],{name:eo,select:tn(eo,Vo),initiate:Yr(eo,Vo)},Pe(Te,eo)):fe(Vo)&&Rn(rn.endpoints[eo],{name:eo,select:In(),initiate:Pr(eo)},Pe(Gt,eo))}}}}},Nn=rt(Tn())},851939:function(b,l,e){"use strict";e.r(l),e.d(l,{MiddlewareArray:()=>E,SHOULD_AUTOBATCH:()=>Ft,TaskAbortError:()=>Jr,__DO_NOT_USE__ActionTypes:()=>o.__DO_NOT_USE__ActionTypes,addListener:()=>Ae,applyMiddleware:()=>o.applyMiddleware,autoBatchEnhancer:()=>Pr,bindActionCreators:()=>o.bindActionCreators,clearAllListeners:()=>qe,combineReducers:()=>o.combineReducers,compose:()=>o.compose,configureStore:()=>q,createAction:()=>J,createAsyncThunk:()=>mt,createDraftSafeSelector:()=>S,createEntityAdapter:()=>Ce,createImmutableStateInvariantMiddleware:()=>U,createListenerMiddleware:()=>ut,createNextState:()=>r.ZP,createReducer:()=>z,createSelector:()=>n.P1,createSerializableStateInvariantMiddleware:()=>te,createSlice:()=>ge,createStore:()=>o.createStore,current:()=>r.Vk,findNonSerializableValue:()=>$,freeze:()=>r.vV,getDefaultMiddleware:()=>pe,getType:()=>he,isAllOf:()=>vt,isAnyOf:()=>st,isAsyncThunkAction:()=>bn,isDraft:()=>r.mv,isFulfilled:()=>Ln,isImmutableDefault:()=>x,isPending:()=>on,isPlain:()=>j,isPlainObject:()=>v,isRejected:()=>Pn,isRejectedWithValue:()=>Yn,legacy_createStore:()=>o.legacy_createStore,miniSerializeError:()=>Bt,nanoid:()=>$e,original:()=>r.Js,prepareAutoBatched:()=>tn,removeListener:()=>wt,unwrapResult:()=>rt});var r=e(858579),o=e(269399),n=e(697710),a=e(66748),i=e(760636),c=function(){var Mn=function(sr,Ar){return Mn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(vr,qr){vr.__proto__=qr}||function(vr,qr){for(var Dr in qr)Object.prototype.hasOwnProperty.call(qr,Dr)&&(vr[Dr]=qr[Dr])},Mn(sr,Ar)};return function(sr,Ar){if(typeof Ar!="function"&&Ar!==null)throw new TypeError("Class extends value "+String(Ar)+" is not a constructor or null");Mn(sr,Ar);function vr(){this.constructor=sr}sr.prototype=Ar===null?Object.create(Ar):(vr.prototype=Ar.prototype,new vr)}}(),u=function(Mn,sr){var Ar={label:0,sent:function(){if(Dr[0]&1)throw Dr[1];return Dr[1]},trys:[],ops:[]},vr,qr,Dr,eo;return eo={next:Vo(0),throw:Vo(1),return:Vo(2)},typeof Symbol=="function"&&(eo[Symbol.iterator]=function(){return this}),eo;function Vo(ar){return function(rn){return Bn([ar,rn])}}function Bn(ar){if(vr)throw new TypeError("Generator is already executing.");for(;Ar;)try{if(vr=1,qr&&(Dr=ar[0]&2?qr.return:ar[0]?qr.throw||((Dr=qr.return)&&Dr.call(qr),0):qr.next)&&!(Dr=Dr.call(qr,ar[1])).done)return Dr;switch(qr=0,Dr&&(ar=[ar[0]&2,Dr.value]),ar[0]){case 0:case 1:Dr=ar;break;case 4:return Ar.label++,{value:ar[1],done:!1};case 5:Ar.label++,qr=ar[1],ar=[0];continue;case 7:ar=Ar.ops.pop(),Ar.trys.pop();continue;default:if(Dr=Ar.trys,!(Dr=Dr.length>0&&Dr[Dr.length-1])&&(ar[0]===6||ar[0]===2)){Ar=0;continue}if(ar[0]===3&&(!Dr||ar[1]>Dr[0]&&ar[1]<Dr[3])){Ar.label=ar[1];break}if(ar[0]===6&&Ar.label<Dr[1]){Ar.label=Dr[1],Dr=ar;break}if(Dr&&Ar.label<Dr[2]){Ar.label=Dr[2],Ar.ops.push(ar);break}Dr[2]&&Ar.ops.pop(),Ar.trys.pop();continue}ar=sr.call(Mn,Ar)}catch(rn){ar=[6,rn],qr=0}finally{vr=Dr=0}if(ar[0]&5)throw ar[1];return{value:ar[0]?ar[1]:void 0,done:!0}}},f=function(Mn,sr){for(var Ar=0,vr=sr.length,qr=Mn.length;Ar<vr;Ar++,qr++)Mn[qr]=sr[Ar];return Mn},d=Object.defineProperty,h=Object.defineProperties,g=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,O=function(Mn,sr,Ar){return sr in Mn?d(Mn,sr,{enumerable:!0,configurable:!0,writable:!0,value:Ar}):Mn[sr]=Ar},P=function(Mn,sr){for(var Ar in sr||(sr={}))p.call(sr,Ar)&&O(Mn,Ar,sr[Ar]);if(_)for(var vr=0,qr=_(sr);vr<qr.length;vr++){var Ar=qr[vr];y.call(sr,Ar)&&O(Mn,Ar,sr[Ar])}return Mn},C=function(Mn,sr){return h(Mn,g(sr))},A=function(Mn,sr,Ar){return new Promise(function(vr,qr){var Dr=function(Bn){try{Vo(Ar.next(Bn))}catch(ar){qr(ar)}},eo=function(Bn){try{Vo(Ar.throw(Bn))}catch(ar){qr(ar)}},Vo=function(Bn){return Bn.done?vr(Bn.value):Promise.resolve(Bn.value).then(Dr,eo)};Vo((Ar=Ar.apply(Mn,sr)).next())})},S=function(){for(var Mn=[],sr=0;sr<arguments.length;sr++)Mn[sr]=arguments[sr];var Ar=n.P1.apply(void 0,Mn),vr=function(qr){for(var Dr=[],eo=1;eo<arguments.length;eo++)Dr[eo-1]=arguments[eo];return Ar.apply(void 0,f([(0,r.mv)(qr)?(0,r.Vk)(qr):qr],Dr))};return vr},T=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?o.compose:o.compose.apply(null,arguments)},s=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(Mn){return Mn}};function v(Mn){if(typeof Mn!="object"||Mn===null)return!1;var sr=Object.getPrototypeOf(Mn);if(sr===null)return!0;for(var Ar=sr;Object.getPrototypeOf(Ar)!==null;)Ar=Object.getPrototypeOf(Ar);return sr===Ar}function m(Mn,sr){var Ar=0;return{measureTime:function(vr){var qr=Date.now();try{return vr()}finally{var Dr=Date.now();Ar+=Dr-qr}},warnIfExceeded:function(){Ar>Mn&&console.warn(sr+" took "+Ar+"ms, which is more than the warning threshold of "+Mn+`ms. 
If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
It is disabled in production builds, so you don't need to worry about that.`)}}}var E=function(Mn){c(sr,Mn);function sr(){for(var Ar=[],vr=0;vr<arguments.length;vr++)Ar[vr]=arguments[vr];var qr=Mn.apply(this,Ar)||this;return Object.setPrototypeOf(qr,sr.prototype),qr}return Object.defineProperty(sr,Symbol.species,{get:function(){return sr},enumerable:!1,configurable:!0}),sr.prototype.concat=function(){for(var Ar=[],vr=0;vr<arguments.length;vr++)Ar[vr]=arguments[vr];return Mn.prototype.concat.apply(this,Ar)},sr.prototype.prepend=function(){for(var Ar=[],vr=0;vr<arguments.length;vr++)Ar[vr]=arguments[vr];return Ar.length===1&&Array.isArray(Ar[0])?new(sr.bind.apply(sr,f([void 0],Ar[0].concat(this)))):new(sr.bind.apply(sr,f([void 0],Ar.concat(this))))},sr}(Array);function I(Mn){return(0,r.o$)(Mn)?(0,r.ZP)(Mn,function(){}):Mn}var L=!0,W="Invariant failed";function F(Mn,sr){if(!Mn)throw L?new Error(W):new Error(W+": "+(sr||""))}function G(Mn,sr,Ar,vr){return JSON.stringify(Mn,k(sr,vr),Ar)}function k(Mn,sr){var Ar=[],vr=[];return sr||(sr=function(qr,Dr){return Ar[0]===Dr?"[Circular ~]":"[Circular ~."+vr.slice(0,Ar.indexOf(Dr)).join(".")+"]"}),function(qr,Dr){if(Ar.length>0){var eo=Ar.indexOf(this);~eo?Ar.splice(eo+1):Ar.push(this),~eo?vr.splice(eo,1/0,qr):vr.push(qr),~Ar.indexOf(Dr)&&(Dr=sr.call(this,qr,Dr))}else Ar.push(Dr);return Mn==null?Dr:Mn.call(this,qr,Dr)}}function x(Mn){return typeof Mn!="object"||Mn==null||Object.isFrozen(Mn)}function M(Mn,sr,Ar){var vr=B(Mn,sr,Ar);return{detectMutations:function(){return R(Mn,sr,vr,Ar)}}}function B(Mn,sr,Ar,vr){sr===void 0&&(sr=[]),vr===void 0&&(vr="");var qr={value:Ar};if(!Mn(Ar)){qr.children={};for(var Dr in Ar){var eo=vr?vr+"."+Dr:Dr;sr.length&&sr.indexOf(eo)!==-1||(qr.children[Dr]=B(Mn,sr,Ar[Dr],eo))}}return qr}function R(Mn,sr,Ar,vr,qr,Dr){sr===void 0&&(sr=[]),qr===void 0&&(qr=!1),Dr===void 0&&(Dr="");var eo=Ar?Ar.value:void 0,Vo=eo===vr;if(qr&&!Vo&&!Number.isNaN(vr))return{wasMutated:!0,path:Dr};if(Mn(eo)||Mn(vr))return{wasMutated:!1};var Bn={};for(var ar in Ar.children)Bn[ar]=!0;for(var ar in vr)Bn[ar]=!0;var rn=sr.length>0,Rt=function(Ye){var yt=Dr?Dr+"."+Ye:Ye;if(rn){var Ze=sr.some(function(ot){return ot instanceof RegExp?ot.test(yt):yt===ot});if(Ze)return"continue"}var Mt=R(Mn,sr,Ar.children[Ye],vr[Ye],Vo,yt);if(Mt.wasMutated)return{value:Mt}};for(var ar in Bn){var Qe=Rt(ar);if(typeof Qe=="object")return Qe.value}return{wasMutated:!1}}function U(Mn){return Mn===void 0&&(Mn={}),function(){return function(Bn){return function(ar){return Bn(ar)}}};var sr=Mn.isImmutable,Ar=sr===void 0?x:sr,vr=Mn.ignoredPaths,qr=Mn.warnAfter,Dr=qr===void 0?32:qr,eo=Mn.ignore;vr=vr||eo;var Vo=M.bind(null,Ar,vr);return function(Bn){var ar=Bn.getState,rn=ar(),Rt=Vo(rn),Qe;return function(Ye){return function(yt){var Ze=m(Dr,"ImmutableStateInvariantMiddleware");Ze.measureTime(function(){rn=ar(),Qe=Rt.detectMutations(),Rt=Vo(rn),F(!Qe.wasMutated,"A state mutation was detected between dispatches, in the path '"+(Qe.path||"")+"'.  This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")});var Mt=Ye(yt);return Ze.measureTime(function(){rn=ar(),Qe=Rt.detectMutations(),Rt=Vo(rn),Qe.wasMutated&&F(!Qe.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(Qe.path||"")+". Take a look at the reducer(s) handling the action "+G(yt)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}),Ze.warnIfExceeded(),Mt}}}}function j(Mn){var sr=typeof Mn;return Mn==null||sr==="string"||sr==="boolean"||sr==="number"||Array.isArray(Mn)||v(Mn)}function $(Mn,sr,Ar,vr,qr,Dr){sr===void 0&&(sr=""),Ar===void 0&&(Ar=j),qr===void 0&&(qr=[]);var eo;if(!Ar(Mn))return{keyPath:sr||"<root>",value:Mn};if(typeof Mn!="object"||Mn===null||Dr!=null&&Dr.has(Mn))return!1;for(var Vo=vr!=null?vr(Mn):Object.entries(Mn),Bn=qr.length>0,ar=function(Mt,ot){var et=sr?sr+"."+Mt:Mt;if(Bn){var St=qr.some(function(Ht){return Ht instanceof RegExp?Ht.test(et):et===Ht});if(St)return"continue"}if(!Ar(ot))return{value:{keyPath:et,value:ot}};if(typeof ot=="object"&&(eo=$(ot,et,Ar,vr,qr,Dr),eo))return{value:eo}},rn=0,Rt=Vo;rn<Rt.length;rn++){var Qe=Rt[rn],Ye=Qe[0],yt=Qe[1],Ze=ar(Ye,yt);if(typeof Ze=="object")return Ze.value}return Dr&&ee(Mn)&&Dr.add(Mn),!1}function ee(Mn){if(!Object.isFrozen(Mn))return!1;for(var sr=0,Ar=Object.values(Mn);sr<Ar.length;sr++){var vr=Ar[sr];if(!(typeof vr!="object"||vr===null)&&!ee(vr))return!1}return!0}function te(Mn){return Mn===void 0&&(Mn={}),function(){return function(St){return function(Ht){return St(Ht)}}};var sr=Mn.isSerializable,Ar=sr===void 0?j:sr,vr=Mn.getEntries,qr=Mn.ignoredActions,Dr=qr===void 0?[]:qr,eo=Mn.ignoredActionPaths,Vo=eo===void 0?["meta.arg","meta.baseQueryMeta"]:eo,Bn=Mn.ignoredPaths,ar=Bn===void 0?[]:Bn,rn=Mn.warnAfter,Rt=rn===void 0?32:rn,Qe=Mn.ignoreState,Ye=Qe===void 0?!1:Qe,yt=Mn.ignoreActions,Ze=yt===void 0?!1:yt,Mt=Mn.disableCache,ot=Mt===void 0?!1:Mt,et=!ot&&WeakSet?new WeakSet:void 0;return function(St){return function(Ht){return function(er){var Mr=Ht(er),mn=m(Rt,"SerializableStateInvariantMiddleware");return!Ze&&!(Dr.length&&Dr.indexOf(er.type)!==-1)&&mn.measureTime(function(){var Un=$(er,"",Ar,vr,Vo,et);if(Un){var hr=Un.keyPath,br=Un.value;console.error("A non-serializable value was detected in an action, in the path: `"+hr+"`. Value:",br,`
Take a look at the logic that dispatched this action: `,er,`
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),Ye||(mn.measureTime(function(){var Un=St.getState(),hr=$(Un,"",Ar,vr,ar,et);if(hr){var br=hr.keyPath,io=hr.value;console.error("A non-serializable value was detected in the state, in the path: `"+br+"`. Value:",io,`
Take a look at the reducer(s) handling this action type: `+er.type+`.
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),mn.warnIfExceeded()),Mr}}}}function ie(Mn){return typeof Mn=="boolean"}function ne(){return function(sr){return pe(sr)}}function pe(Mn){Mn===void 0&&(Mn={});var sr=Mn.thunk,Ar=sr===void 0?!0:sr,vr=Mn.immutableCheck,qr=vr===void 0?!0:vr,Dr=Mn.serializableCheck,eo=Dr===void 0?!0:Dr,Vo=new E;if(Ar&&(ie(Ar)?Vo.push(a.Z):Vo.push(a.Z.withExtraArgument(Ar.extraArgument))),0)var Bn,ar;return Vo}var oe=!0;function q(Mn){var sr=ne(),Ar=Mn||{},vr=Ar.reducer,qr=vr===void 0?void 0:vr,Dr=Ar.middleware,eo=Dr===void 0?sr():Dr,Vo=Ar.devTools,Bn=Vo===void 0?!0:Vo,ar=Ar.preloadedState,rn=ar===void 0?void 0:ar,Rt=Ar.enhancers,Qe=Rt===void 0?void 0:Rt,Ye;if(typeof qr=="function")Ye=qr;else if(v(qr))Ye=(0,o.combineReducers)(qr);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var yt=eo;if(typeof yt=="function"&&(yt=yt(sr),!oe&&!Array.isArray(yt)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!oe&&yt.some(function(St){return typeof St!="function"}))throw new Error("each middleware provided to configureStore must be a function");var Ze=o.applyMiddleware.apply(void 0,yt),Mt=o.compose;Bn&&(Mt=T(P({trace:!oe},typeof Bn=="object"&&Bn)));var ot=[Ze];Array.isArray(Qe)?ot=f([Ze],Qe):typeof Qe=="function"&&(ot=Qe(ot));var et=Mt.apply(void 0,ot);return(0,o.createStore)(Ye,rn,et)}function J(Mn,sr){function Ar(){for(var vr=[],qr=0;qr<arguments.length;qr++)vr[qr]=arguments[qr];if(sr){var Dr=sr.apply(void 0,vr);if(!Dr)throw new Error("prepareAction did not return an object");return P(P({type:Mn,payload:Dr.payload},"meta"in Dr&&{meta:Dr.meta}),"error"in Dr&&{error:Dr.error})}return{type:Mn,payload:vr[0]}}return Ar.toString=function(){return""+Mn},Ar.type=Mn,Ar.match=function(vr){return vr.type===Mn},Ar}function me(Mn){return v(Mn)&&typeof Mn.type=="string"&&Object.keys(Mn).every(re)}function re(Mn){return["type","payload","error","meta"].indexOf(Mn)>-1}function he(Mn){return""+Mn}function Ee(Mn){var sr={},Ar=[],vr,qr={addCase:function(Dr,eo){var Vo=typeof Dr=="string"?Dr:Dr.type;if(Vo in sr)throw new Error("addCase cannot be called with two reducers for the same action type");return sr[Vo]=eo,qr},addMatcher:function(Dr,eo){return Ar.push({matcher:Dr,reducer:eo}),qr},addDefaultCase:function(Dr){return vr=Dr,qr}};return Mn(qr),[sr,Ar,vr]}function fe(Mn){return typeof Mn=="function"}var H=!1;function z(Mn,sr,Ar,vr){Ar===void 0&&(Ar=[]);var qr=typeof sr=="function"?Ee(sr):[sr,Ar,vr],Dr=qr[0],eo=qr[1],Vo=qr[2],Bn;if(fe(Mn))Bn=function(){return I(Mn())};else{var ar=I(Mn);Bn=function(){return ar}}function rn(Rt,Qe){Rt===void 0&&(Rt=Bn());var Ye=f([Dr[Qe.type]],eo.filter(function(yt){var Ze=yt.matcher;return Ze(Qe)}).map(function(yt){var Ze=yt.reducer;return Ze}));return Ye.filter(function(yt){return!!yt}).length===0&&(Ye=[Vo]),Ye.reduce(function(yt,Ze){if(Ze)if((0,r.mv)(yt)){var Mt=yt,ot=Ze(Mt,Qe);return ot===void 0?yt:ot}else{if((0,r.o$)(yt))return(0,r.ZP)(yt,function(et){return Ze(et,Qe)});var ot=Ze(yt,Qe);if(ot===void 0){if(yt===null)return yt;throw Error("A case reducer on a non-draftable value must not return undefined")}return ot}return yt},Rt)}return rn.getInitialState=Bn,rn}var _e=!1;function ae(Mn,sr){return Mn+"/"+sr}function ge(Mn){var sr=Mn.name;if(!sr)throw new Error("`name` is a required option for createSlice");typeof i<"u";var Ar=typeof Mn.initialState=="function"?Mn.initialState:I(Mn.initialState),vr=Mn.reducers||{},qr=Object.keys(vr),Dr={},eo={},Vo={};qr.forEach(function(rn){var Rt=vr[rn],Qe=ae(sr,rn),Ye,yt;"reducer"in Rt?(Ye=Rt.reducer,yt=Rt.prepare):Ye=Rt,Dr[rn]=Ye,eo[Qe]=Ye,Vo[rn]=yt?J(Qe,yt):J(Qe)});function Bn(){var rn=typeof Mn.extraReducers=="function"?Ee(Mn.extraReducers):[Mn.extraReducers],Rt=rn[0],Qe=Rt===void 0?{}:Rt,Ye=rn[1],yt=Ye===void 0?[]:Ye,Ze=rn[2],Mt=Ze===void 0?void 0:Ze,ot=P(P({},Qe),eo);return z(Ar,function(et){for(var St in ot)et.addCase(St,ot[St]);for(var Ht=0,er=yt;Ht<er.length;Ht++){var Mr=er[Ht];et.addMatcher(Mr.matcher,Mr.reducer)}Mt&&et.addDefaultCase(Mt)})}var ar;return{name:sr,reducer:function(rn,Rt){return ar||(ar=Bn()),ar(rn,Rt)},actions:Vo,caseReducers:Dr,getInitialState:function(){return ar||(ar=Bn()),ar.getInitialState()}}}function Be(){return{ids:[],entities:{}}}function Ke(){function Mn(sr){return sr===void 0&&(sr={}),Object.assign(Be(),sr)}return{getInitialState:Mn}}function He(){function Mn(sr){var Ar=function(ar){return ar.ids},vr=function(ar){return ar.entities},qr=S(Ar,vr,function(ar,rn){return ar.map(function(Rt){return rn[Rt]})}),Dr=function(ar,rn){return rn},eo=function(ar,rn){return ar[rn]},Vo=S(Ar,function(ar){return ar.length});if(!sr)return{selectIds:Ar,selectEntities:vr,selectAll:qr,selectTotal:Vo,selectById:S(vr,Dr,eo)};var Bn=S(sr,vr);return{selectIds:S(sr,Ar),selectEntities:Bn,selectAll:S(sr,qr),selectTotal:S(sr,Vo),selectById:S(Bn,Dr,eo)}}return{getSelectors:Mn}}function ye(Mn){var sr=Le(function(Ar,vr){return Mn(vr)});return function(vr){return sr(vr,void 0)}}function Le(Mn){return function(Ar,vr){function qr(eo){return me(eo)}var Dr=function(eo){qr(vr)?Mn(vr.payload,eo):Mn(vr,eo)};return(0,r.mv)(Ar)?(Dr(Ar),Ar):(0,r.ZP)(Ar,Dr)}}function Ue(Mn,sr){var Ar=sr(Mn);return Ar}function Xe(Mn){return Array.isArray(Mn)||(Mn=Object.values(Mn)),Mn}function Fe(Mn,sr,Ar){Mn=Xe(Mn);for(var vr=[],qr=[],Dr=0,eo=Mn;Dr<eo.length;Dr++){var Vo=eo[Dr],Bn=Ue(Vo,sr);Bn in Ar.entities?qr.push({id:Bn,changes:Vo}):vr.push(Vo)}return[vr,qr]}function ht(Mn){function sr(yt,Ze){var Mt=Ue(yt,Mn);Mt in Ze.entities||(Ze.ids.push(Mt),Ze.entities[Mt]=yt)}function Ar(yt,Ze){yt=Xe(yt);for(var Mt=0,ot=yt;Mt<ot.length;Mt++){var et=ot[Mt];sr(et,Ze)}}function vr(yt,Ze){var Mt=Ue(yt,Mn);Mt in Ze.entities||Ze.ids.push(Mt),Ze.entities[Mt]=yt}function qr(yt,Ze){yt=Xe(yt);for(var Mt=0,ot=yt;Mt<ot.length;Mt++){var et=ot[Mt];vr(et,Ze)}}function Dr(yt,Ze){yt=Xe(yt),Ze.ids=[],Ze.entities={},Ar(yt,Ze)}function eo(yt,Ze){return Vo([yt],Ze)}function Vo(yt,Ze){var Mt=!1;yt.forEach(function(ot){ot in Ze.entities&&(delete Ze.entities[ot],Mt=!0)}),Mt&&(Ze.ids=Ze.ids.filter(function(ot){return ot in Ze.entities}))}function Bn(yt){Object.assign(yt,{ids:[],entities:{}})}function ar(yt,Ze,Mt){var ot=Mt.entities[Ze.id],et=Object.assign({},ot,Ze.changes),St=Ue(et,Mn),Ht=St!==Ze.id;return Ht&&(yt[Ze.id]=St,delete Mt.entities[Ze.id]),Mt.entities[St]=et,Ht}function rn(yt,Ze){return Rt([yt],Ze)}function Rt(yt,Ze){var Mt={},ot={};yt.forEach(function(Ht){Ht.id in Ze.entities&&(ot[Ht.id]={id:Ht.id,changes:P(P({},ot[Ht.id]?ot[Ht.id].changes:null),Ht.changes)})}),yt=Object.values(ot);var et=yt.length>0;if(et){var St=yt.filter(function(Ht){return ar(Mt,Ht,Ze)}).length>0;St&&(Ze.ids=Object.keys(Ze.entities))}}function Qe(yt,Ze){return Ye([yt],Ze)}function Ye(yt,Ze){var Mt=Fe(yt,Mn,Ze),ot=Mt[0],et=Mt[1];Rt(et,Ze),Ar(ot,Ze)}return{removeAll:ye(Bn),addOne:Le(sr),addMany:Le(Ar),setOne:Le(vr),setMany:Le(qr),setAll:Le(Dr),updateOne:Le(rn),updateMany:Le(Rt),upsertOne:Le(Qe),upsertMany:Le(Ye),removeOne:Le(eo),removeMany:Le(Vo)}}function Ne(Mn,sr){var Ar=ht(Mn),vr=Ar.removeOne,qr=Ar.removeMany,Dr=Ar.removeAll;function eo(et,St){return Vo([et],St)}function Vo(et,St){et=Xe(et);var Ht=et.filter(function(er){return!(Ue(er,Mn)in St.entities)});Ht.length!==0&&Mt(Ht,St)}function Bn(et,St){return ar([et],St)}function ar(et,St){et=Xe(et),et.length!==0&&Mt(et,St)}function rn(et,St){et=Xe(et),St.entities={},St.ids=[],Vo(et,St)}function Rt(et,St){return Qe([et],St)}function Qe(et,St){for(var Ht=!1,er=0,Mr=et;er<Mr.length;er++){var mn=Mr[er],Un=St.entities[mn.id];if(Un){Ht=!0,Object.assign(Un,mn.changes);var hr=Mn(Un);mn.id!==hr&&(delete St.entities[mn.id],St.entities[hr]=Un)}}Ht&&ot(St)}function Ye(et,St){return yt([et],St)}function yt(et,St){var Ht=Fe(et,Mn,St),er=Ht[0],Mr=Ht[1];Qe(Mr,St),Vo(er,St)}function Ze(et,St){if(et.length!==St.length)return!1;for(var Ht=0;Ht<et.length&&Ht<St.length;Ht++)if(et[Ht]!==St[Ht])return!1;return!0}function Mt(et,St){et.forEach(function(Ht){St.entities[Mn(Ht)]=Ht}),ot(St)}function ot(et){var St=Object.values(et.entities);St.sort(sr);var Ht=St.map(Mn),er=et.ids;Ze(er,Ht)||(et.ids=Ht)}return{removeOne:vr,removeMany:qr,removeAll:Dr,addOne:Le(eo),updateOne:Le(Rt),upsertOne:Le(Ye),setOne:Le(Bn),setMany:Le(ar),setAll:Le(rn),addMany:Le(Vo),updateMany:Le(Qe),upsertMany:Le(yt)}}function Ce(Mn){Mn===void 0&&(Mn={});var sr=P({sortComparer:!1,selectId:function(Vo){return Vo.id}},Mn),Ar=sr.selectId,vr=sr.sortComparer,qr=Ke(),Dr=He(),eo=vr?Ne(Ar,vr):ht(Ar);return P(P(P({selectId:Ar,sortComparer:vr},qr),Dr),eo)}var we="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",$e=function(Mn){Mn===void 0&&(Mn=21);for(var sr="",Ar=Mn;Ar--;)sr+=we[Math.random()*64|0];return sr},Ot=["name","message","stack","code"],Pt=function(){function Mn(sr,Ar){this.payload=sr,this.meta=Ar}return Mn}(),Ie=function(){function Mn(sr,Ar){this.payload=sr,this.meta=Ar}return Mn}(),Bt=function(Mn){if(typeof Mn=="object"&&Mn!==null){for(var sr={},Ar=0,vr=Ot;Ar<vr.length;Ar++){var qr=vr[Ar];typeof Mn[qr]=="string"&&(sr[qr]=Mn[qr])}return sr}return{message:String(Mn)}},mt=function(){function Mn(sr,Ar,vr){var qr=J(sr+"/fulfilled",function(rn,Rt,Qe,Ye){return{payload:rn,meta:C(P({},Ye||{}),{arg:Qe,requestId:Rt,requestStatus:"fulfilled"})}}),Dr=J(sr+"/pending",function(rn,Rt,Qe){return{payload:void 0,meta:C(P({},Qe||{}),{arg:Rt,requestId:rn,requestStatus:"pending"})}}),eo=J(sr+"/rejected",function(rn,Rt,Qe,Ye,yt){return{payload:Ye,error:(vr&&vr.serializeError||Bt)(rn||"Rejected"),meta:C(P({},yt||{}),{arg:Qe,requestId:Rt,rejectedWithValue:!!Ye,requestStatus:"rejected",aborted:(rn==null?void 0:rn.name)==="AbortError",condition:(rn==null?void 0:rn.name)==="ConditionError"})}}),Vo=!1,Bn=typeof AbortController<"u"?AbortController:function(){function rn(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return rn.prototype.abort=function(){},rn}();function ar(rn){return function(Rt,Qe,Ye){var yt=vr!=null&&vr.idGenerator?vr.idGenerator(rn):$e(),Ze=new Bn,Mt,ot=!1;function et(Ht){Mt=Ht,Ze.abort()}var St=function(){return A(this,null,function(){var Ht,er,Mr,mn,Un,hr,br;return u(this,function(io){switch(io.label){case 0:return io.trys.push([0,4,,5]),mn=(Ht=vr==null?void 0:vr.condition)==null?void 0:Ht.call(vr,rn,{getState:Qe,extra:Ye}),ce(mn)?[4,mn]:[3,2];case 1:mn=io.sent(),io.label=2;case 2:if(mn===!1||Ze.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return ot=!0,Un=new Promise(function(Kr,xo){return Ze.signal.addEventListener("abort",function(){return xo({name:"AbortError",message:Mt||"Aborted"})})}),Rt(Dr(yt,rn,(er=vr==null?void 0:vr.getPendingMeta)==null?void 0:er.call(vr,{requestId:yt,arg:rn},{getState:Qe,extra:Ye}))),[4,Promise.race([Un,Promise.resolve(Ar(rn,{dispatch:Rt,getState:Qe,extra:Ye,requestId:yt,signal:Ze.signal,abort:et,rejectWithValue:function(Kr,xo){return new Pt(Kr,xo)},fulfillWithValue:function(Kr,xo){return new Ie(Kr,xo)}})).then(function(Kr){if(Kr instanceof Pt)throw Kr;return Kr instanceof Ie?qr(Kr.payload,yt,rn,Kr.meta):qr(Kr,yt,rn)})])];case 3:return Mr=io.sent(),[3,5];case 4:return hr=io.sent(),Mr=hr instanceof Pt?eo(null,yt,rn,hr.payload,hr.meta):eo(hr,yt,rn),[3,5];case 5:return br=vr&&!vr.dispatchConditionRejection&&eo.match(Mr)&&Mr.meta.condition,br||Rt(Mr),[2,Mr]}})})}();return Object.assign(St,{abort:et,requestId:yt,arg:rn,unwrap:function(){return St.then(rt)}})}}return Object.assign(ar,{pending:Dr,rejected:eo,fulfilled:qr,typePrefix:sr})}return Mn.withTypes=function(){return Mn},Mn}();function rt(Mn){if(Mn.meta&&Mn.meta.rejectedWithValue)throw Mn.payload;if(Mn.error)throw Mn.error;return Mn.payload}function ce(Mn){return Mn!==null&&typeof Mn=="object"&&typeof Mn.then=="function"}var Re=function(Mn){return Mn&&typeof Mn.match=="function"},nt=function(Mn,sr){return Re(Mn)?Mn.match(sr):Mn(sr)};function st(){for(var Mn=[],sr=0;sr<arguments.length;sr++)Mn[sr]=arguments[sr];return function(Ar){return Mn.some(function(vr){return nt(vr,Ar)})}}function vt(){for(var Mn=[],sr=0;sr<arguments.length;sr++)Mn[sr]=arguments[sr];return function(Ar){return Mn.every(function(vr){return nt(vr,Ar)})}}function ze(Mn,sr){if(!Mn||!Mn.meta)return!1;var Ar=typeof Mn.meta.requestId=="string",vr=sr.indexOf(Mn.meta.requestStatus)>-1;return Ar&&vr}function It(Mn){return typeof Mn[0]=="function"&&"pending"in Mn[0]&&"fulfilled"in Mn[0]&&"rejected"in Mn[0]}function on(){for(var Mn=[],sr=0;sr<arguments.length;sr++)Mn[sr]=arguments[sr];return Mn.length===0?function(Ar){return ze(Ar,["pending"])}:It(Mn)?function(Ar){var vr=Mn.map(function(Dr){return Dr.pending}),qr=st.apply(void 0,vr);return qr(Ar)}:on()(Mn[0])}function Pn(){for(var Mn=[],sr=0;sr<arguments.length;sr++)Mn[sr]=arguments[sr];return Mn.length===0?function(Ar){return ze(Ar,["rejected"])}:It(Mn)?function(Ar){var vr=Mn.map(function(Dr){return Dr.rejected}),qr=st.apply(void 0,vr);return qr(Ar)}:Pn()(Mn[0])}function Yn(){for(var Mn=[],sr=0;sr<arguments.length;sr++)Mn[sr]=arguments[sr];var Ar=function(vr){return vr&&vr.meta&&vr.meta.rejectedWithValue};return Mn.length===0?function(vr){var qr=vt(Pn.apply(void 0,Mn),Ar);return qr(vr)}:It(Mn)?function(vr){var qr=vt(Pn.apply(void 0,Mn),Ar);return qr(vr)}:Yn()(Mn[0])}function Ln(){for(var Mn=[],sr=0;sr<arguments.length;sr++)Mn[sr]=arguments[sr];return Mn.length===0?function(Ar){return ze(Ar,["fulfilled"])}:It(Mn)?function(Ar){var vr=Mn.map(function(Dr){return Dr.fulfilled}),qr=st.apply(void 0,vr);return qr(Ar)}:Ln()(Mn[0])}function bn(){for(var Mn=[],sr=0;sr<arguments.length;sr++)Mn[sr]=arguments[sr];return Mn.length===0?function(Ar){return ze(Ar,["pending","fulfilled","rejected"])}:It(Mn)?function(Ar){for(var vr=[],qr=0,Dr=Mn;qr<Dr.length;qr++){var eo=Dr[qr];vr.push(eo.pending,eo.rejected,eo.fulfilled)}var Vo=st.apply(void 0,vr);return Vo(Ar)}:bn()(Mn[0])}var ir=function(Mn,sr){if(typeof Mn!="function")throw new TypeError(sr+" is not a function")},Zn=function(){},$n=function(Mn,sr){return sr===void 0&&(sr=Zn),Mn.catch(sr),Mn},jt=function(Mn,sr){return Mn.addEventListener("abort",sr,{once:!0}),function(){return Mn.removeEventListener("abort",sr)}},Rn=function(Mn,sr){var Ar=Mn.signal;Ar.aborted||("reason"in Ar||Object.defineProperty(Ar,"reason",{enumerable:!0,value:sr,configurable:!0,writable:!0}),Mn.abort(sr))},jn="task",Tn="listener",Nn="completed",cn="cancelled",or="task-"+cn,qn="task-"+Nn,Hr=Tn+"-"+cn,fo=Tn+"-"+Nn,Jr=function(){function Mn(sr){this.code=sr,this.name="TaskAbortError",this.message=jn+" "+cn+" (reason: "+sr+")"}return Mn}(),ro=function(Mn){if(Mn.aborted)throw new Jr(Mn.reason)};function Xt(Mn,sr){var Ar=Zn;return new Promise(function(vr,qr){var Dr=function(){return qr(new Jr(Mn.reason))};if(Mn.aborted){Dr();return}Ar=jt(Mn,Dr),sr.finally(function(){return Ar()}).then(vr,qr)}).finally(function(){Ar=Zn})}var Je=function(Mn,sr){return A(void 0,null,function(){var Ar,vr;return u(this,function(qr){switch(qr.label){case 0:return qr.trys.push([0,3,4,5]),[4,Promise.resolve()];case 1:return qr.sent(),[4,Mn()];case 2:return Ar=qr.sent(),[2,{status:"ok",value:Ar}];case 3:return vr=qr.sent(),[2,{status:vr instanceof Jr?"cancelled":"rejected",error:vr}];case 4:return sr==null||sr(),[7];case 5:return[2]}})})},At=function(Mn){return function(sr){return $n(Xt(Mn,sr).then(function(Ar){return ro(Mn),Ar}))}},xt=function(Mn){var sr=At(Mn);return function(Ar){return sr(new Promise(function(vr){return setTimeout(vr,Ar)}))}},Qt=Object.assign,qt={},Te="listenerMiddleware",Gt=function(Mn){var sr=function(Ar){return jt(Mn,function(){return Rn(Ar,Mn.reason)})};return function(Ar){ir(Ar,"taskExecutor");var vr=new AbortController;sr(vr);var qr=Je(function(){return A(void 0,null,function(){var Dr;return u(this,function(eo){switch(eo.label){case 0:return ro(Mn),ro(vr.signal),[4,Ar({pause:At(vr.signal),delay:xt(vr.signal),signal:vr.signal})];case 1:return Dr=eo.sent(),ro(vr.signal),[2,Dr]}})})},function(){return Rn(vr,qn)});return{result:At(Mn)(qr),cancel:function(){Rn(vr,or)}}}},un=function(Mn,sr){var Ar=function(vr,qr){return A(void 0,null,function(){var Dr,eo,Vo,Bn;return u(this,function(ar){switch(ar.label){case 0:ro(sr),Dr=function(){},eo=new Promise(function(rn,Rt){var Qe=Mn({predicate:vr,effect:function(Ye,yt){yt.unsubscribe(),rn([Ye,yt.getState(),yt.getOriginalState()])}});Dr=function(){Qe(),Rt()}}),Vo=[eo],qr!=null&&Vo.push(new Promise(function(rn){return setTimeout(rn,qr,null)})),ar.label=1;case 1:return ar.trys.push([1,,3,4]),[4,Xt(sr,Promise.race(Vo))];case 2:return Bn=ar.sent(),ro(sr),[2,Bn];case 3:return Dr(),[7];case 4:return[2]}})})};return function(vr,qr){return $n(Ar(vr,qr))}},Vt=function(Mn){var sr=Mn.type,Ar=Mn.actionCreator,vr=Mn.matcher,qr=Mn.predicate,Dr=Mn.effect;if(sr)qr=J(sr).match;else if(Ar)sr=Ar.type,qr=Ar.match;else if(vr)qr=vr;else if(!qr)throw new Error("Creating or removing a listener requires one of the known fields for matching an action");return ir(Dr,"options.listener"),{predicate:qr,type:sr,effect:Dr}},Dn=function(Mn){var sr=Vt(Mn),Ar=sr.type,vr=sr.predicate,qr=sr.effect,Dr=$e(),eo={id:Dr,effect:qr,type:Ar,predicate:vr,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}};return eo},Wt=function(Mn){Mn.pending.forEach(function(sr){Rn(sr,Hr)})},Pe=function(Mn){return function(){Mn.forEach(Wt),Mn.clear()}},xe=function(Mn,sr,Ar){try{Mn(sr,Ar)}catch(vr){setTimeout(function(){throw vr},0)}},Ae=J(Te+"/add"),qe=J(Te+"/removeAll"),wt=J(Te+"/remove"),kt=function(){for(var Mn=[],sr=0;sr<arguments.length;sr++)Mn[sr]=arguments[sr];console.error.apply(console,f([Te+"/error"],Mn))};function ut(Mn){var sr=this;Mn===void 0&&(Mn={});var Ar=new Map,vr=Mn.extra,qr=Mn.onError,Dr=qr===void 0?kt:qr;ir(Dr,"onError");var eo=function(Ye){return Ye.unsubscribe=function(){return Ar.delete(Ye.id)},Ar.set(Ye.id,Ye),function(yt){Ye.unsubscribe(),yt!=null&&yt.cancelActive&&Wt(Ye)}},Vo=function(Ye){for(var yt=0,Ze=Array.from(Ar.values());yt<Ze.length;yt++){var Mt=Ze[yt];if(Ye(Mt))return Mt}},Bn=function(Ye){var yt=Vo(function(Ze){return Ze.effect===Ye.effect});return yt||(yt=Dn(Ye)),eo(yt)},ar=function(Ye){var yt=Vt(Ye),Ze=yt.type,Mt=yt.effect,ot=yt.predicate,et=Vo(function(St){var Ht=typeof Ze=="string"?St.type===Ze:St.predicate===ot;return Ht&&St.effect===Mt});return et&&(et.unsubscribe(),Ye.cancelActive&&Wt(et)),!!et},rn=function(Ye,yt,Ze,Mt){return A(sr,null,function(){var ot,et,St;return u(this,function(Ht){switch(Ht.label){case 0:ot=new AbortController,et=un(Bn,ot.signal),Ht.label=1;case 1:return Ht.trys.push([1,3,4,5]),Ye.pending.add(ot),[4,Promise.resolve(Ye.effect(yt,Qt({},Ze,{getOriginalState:Mt,condition:function(er,Mr){return et(er,Mr).then(Boolean)},take:et,delay:xt(ot.signal),pause:At(ot.signal),extra:vr,signal:ot.signal,fork:Gt(ot.signal),unsubscribe:Ye.unsubscribe,subscribe:function(){Ar.set(Ye.id,Ye)},cancelActiveListeners:function(){Ye.pending.forEach(function(er,Mr,mn){er!==ot&&(Rn(er,Hr),mn.delete(er))})}})))];case 2:return Ht.sent(),[3,5];case 3:return St=Ht.sent(),St instanceof Jr||xe(Dr,St,{raisedBy:"effect"}),[3,5];case 4:return Rn(ot,fo),Ye.pending.delete(ot),[7];case 5:return[2]}})})},Rt=Pe(Ar),Qe=function(Ye){return function(yt){return function(Ze){if(Ae.match(Ze))return Bn(Ze.payload);if(qe.match(Ze)){Rt();return}if(wt.match(Ze))return ar(Ze.payload);var Mt=Ye.getState(),ot=function(){if(Mt===qt)throw new Error(Te+": getOriginalState can only be called synchronously");return Mt},et;try{if(et=yt(Ze),Ar.size>0)for(var St=Ye.getState(),Ht=Array.from(Ar.values()),er=0,Mr=Ht;er<Mr.length;er++){var mn=Mr[er],Un=!1;try{Un=mn.predicate(Ze,St,Mt)}catch(hr){Un=!1,xe(Dr,hr,{raisedBy:"predicate"})}Un&&rn(mn,Ze,Ye,ot)}}finally{Mt=qt}return et}}};return{middleware:Qe,startListening:Bn,stopListening:ar,clearListeners:Rt}}var Ft="RTK_autoBatch",tn=function(){return function(Mn){var sr;return{payload:Mn,meta:(sr={},sr[Ft]=!0,sr)}}},In,rr=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof e.g<"u"?e.g:globalThis):function(Mn){return(In||(In=Promise.resolve())).then(Mn).catch(function(sr){return setTimeout(function(){throw sr},0)})},Sr=function(Mn){return function(sr){setTimeout(sr,Mn)}},Yr=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Sr(10),Pr=function(Mn){return Mn===void 0&&(Mn={type:"raf"}),function(sr){return function(){for(var Ar=[],vr=0;vr<arguments.length;vr++)Ar[vr]=arguments[vr];var qr=sr.apply(void 0,Ar),Dr=!0,eo=!1,Vo=!1,Bn=new Set,ar=Mn.type==="tick"?rr:Mn.type==="raf"?Yr:Mn.type==="callback"?Mn.queueNotification:Sr(Mn.timeout),rn=function(){Vo=!1,eo&&(eo=!1,Bn.forEach(function(Rt){return Rt()}))};return Object.assign({},qr,{subscribe:function(Rt){var Qe=function(){return Dr&&Rt()},Ye=qr.subscribe(Qe);return Bn.add(Rt),function(){Ye(),Bn.delete(Rt)}},dispatch:function(Rt){var Qe;try{return Dr=!((Qe=Rt==null?void 0:Rt.meta)!=null&&Qe[Ft]),eo=!Dr,eo&&(Vo||(Vo=!0,ar(rn))),qr.dispatch(Rt)}finally{Dr=!0}}})}}};(0,r.pV)()},540915:function(b,l,e){"use strict";e.d(l,{AV:()=>H,Cd:()=>ee,Ep:()=>_,Gn:()=>U,J0:()=>u,LX:()=>j,OF:()=>Xe,PP:()=>a,PQ:()=>He,RQ:()=>re,WK:()=>Fe,WS:()=>s,X3:()=>ae,Zn:()=>te,aU:()=>o,cP:()=>p,cm:()=>q,fZ:()=>Le,fp:()=>S,gx:()=>Ue,i3:()=>ie,lX:()=>i,ov:()=>Ie,p7:()=>Re,pC:()=>J,q_:()=>c,qp:()=>Bt,uX:()=>ye});/**
 * @remix-run/router v1.22.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function r(){return r=Object.assign?Object.assign.bind():function(Bn){for(var ar=1;ar<arguments.length;ar++){var rn=arguments[ar];for(var Rt in rn)Object.prototype.hasOwnProperty.call(rn,Rt)&&(Bn[Rt]=rn[Rt])}return Bn},r.apply(this,arguments)}var o;(function(Bn){Bn.Pop="POP",Bn.Push="PUSH",Bn.Replace="REPLACE"})(o||(o={}));const n="popstate";function a(Bn){Bn===void 0&&(Bn={});let{initialEntries:ar=["/"],initialIndex:rn,v5Compat:Rt=!1}=Bn,Qe;Qe=ar.map((er,Mr)=>et(er,typeof er=="string"?null:er.state,Mr===0?"default":void 0));let Ye=Mt(rn??Qe.length-1),yt=o.Pop,Ze=null;function Mt(er){return Math.min(Math.max(er,0),Qe.length-1)}function ot(){return Qe[Ye]}function et(er,Mr,mn){Mr===void 0&&(Mr=null);let Un=g(Qe?ot().pathname:"/",er,Mr,mn);return f(Un.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(er)),Un}function St(er){return typeof er=="string"?er:_(er)}return{get index(){return Ye},get action(){return yt},get location(){return ot()},createHref:St,createURL(er){return new URL(St(er),"http://localhost")},encodeLocation(er){let Mr=typeof er=="string"?p(er):er;return{pathname:Mr.pathname||"",search:Mr.search||"",hash:Mr.hash||""}},push(er,Mr){yt=o.Push;let mn=et(er,Mr);Ye+=1,Qe.splice(Ye,Qe.length,mn),Rt&&Ze&&Ze({action:yt,location:mn,delta:1})},replace(er,Mr){yt=o.Replace;let mn=et(er,Mr);Qe[Ye]=mn,Rt&&Ze&&Ze({action:yt,location:mn,delta:0})},go(er){yt=o.Pop;let Mr=Mt(Ye+er),mn=Qe[Mr];Ye=Mr,Ze&&Ze({action:yt,location:mn,delta:er})},listen(er){return Ze=er,()=>{Ze=null}}}}function i(Bn){Bn===void 0&&(Bn={});function ar(Rt,Qe){let{pathname:Ye,search:yt,hash:Ze}=Rt.location;return g("",{pathname:Ye,search:yt,hash:Ze},Qe.state&&Qe.state.usr||null,Qe.state&&Qe.state.key||"default")}function rn(Rt,Qe){return typeof Qe=="string"?Qe:_(Qe)}return y(ar,rn,null,Bn)}function c(Bn){Bn===void 0&&(Bn={});function ar(Qe,Ye){let{pathname:yt="/",search:Ze="",hash:Mt=""}=p(Qe.location.hash.substr(1));return!yt.startsWith("/")&&!yt.startsWith(".")&&(yt="/"+yt),g("",{pathname:yt,search:Ze,hash:Mt},Ye.state&&Ye.state.usr||null,Ye.state&&Ye.state.key||"default")}function rn(Qe,Ye){let yt=Qe.document.querySelector("base"),Ze="";if(yt&&yt.getAttribute("href")){let Mt=Qe.location.href,ot=Mt.indexOf("#");Ze=ot===-1?Mt:Mt.slice(0,ot)}return Ze+"#"+(typeof Ye=="string"?Ye:_(Ye))}function Rt(Qe,Ye){f(Qe.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(Ye)+")")}return y(ar,rn,Rt,Bn)}function u(Bn,ar){if(Bn===!1||Bn===null||typeof Bn>"u")throw new Error(ar)}function f(Bn,ar){if(!Bn){typeof console<"u"&&console.warn(ar);try{throw new Error(ar)}catch{}}}function d(){return Math.random().toString(36).substr(2,8)}function h(Bn,ar){return{usr:Bn.state,key:Bn.key,idx:ar}}function g(Bn,ar,rn,Rt){return rn===void 0&&(rn=null),r({pathname:typeof Bn=="string"?Bn:Bn.pathname,search:"",hash:""},typeof ar=="string"?p(ar):ar,{state:rn,key:ar&&ar.key||Rt||d()})}function _(Bn){let{pathname:ar="/",search:rn="",hash:Rt=""}=Bn;return rn&&rn!=="?"&&(ar+=rn.charAt(0)==="?"?rn:"?"+rn),Rt&&Rt!=="#"&&(ar+=Rt.charAt(0)==="#"?Rt:"#"+Rt),ar}function p(Bn){let ar={};if(Bn){let rn=Bn.indexOf("#");rn>=0&&(ar.hash=Bn.substr(rn),Bn=Bn.substr(0,rn));let Rt=Bn.indexOf("?");Rt>=0&&(ar.search=Bn.substr(Rt),Bn=Bn.substr(0,Rt)),Bn&&(ar.pathname=Bn)}return ar}function y(Bn,ar,rn,Rt){Rt===void 0&&(Rt={});let{window:Qe=document.defaultView,v5Compat:Ye=!1}=Rt,yt=Qe.history,Ze=o.Pop,Mt=null,ot=et();ot==null&&(ot=0,yt.replaceState(r({},yt.state,{idx:ot}),""));function et(){return(yt.state||{idx:null}).idx}function St(){Ze=o.Pop;let Un=et(),hr=Un==null?null:Un-ot;ot=Un,Mt&&Mt({action:Ze,location:mn.location,delta:hr})}function Ht(Un,hr){Ze=o.Push;let br=g(mn.location,Un,hr);rn&&rn(br,Un),ot=et()+1;let io=h(br,ot),Kr=mn.createHref(br);try{yt.pushState(io,"",Kr)}catch(xo){if(xo instanceof DOMException&&xo.name==="DataCloneError")throw xo;Qe.location.assign(Kr)}Ye&&Mt&&Mt({action:Ze,location:mn.location,delta:1})}function er(Un,hr){Ze=o.Replace;let br=g(mn.location,Un,hr);rn&&rn(br,Un),ot=et();let io=h(br,ot),Kr=mn.createHref(br);yt.replaceState(io,"",Kr),Ye&&Mt&&Mt({action:Ze,location:mn.location,delta:0})}function Mr(Un){let hr=Qe.location.origin!=="null"?Qe.location.origin:Qe.location.href,br=typeof Un=="string"?Un:_(Un);return br=br.replace(/ $/,"%20"),u(hr,"No window.location.(origin|href) available to create URL for href: "+br),new URL(br,hr)}let mn={get action(){return Ze},get location(){return Bn(Qe,yt)},listen(Un){if(Mt)throw new Error("A history only accepts one active listener");return Qe.addEventListener(n,St),Mt=Un,()=>{Qe.removeEventListener(n,St),Mt=null}},createHref(Un){return ar(Qe,Un)},createURL:Mr,encodeLocation(Un){let hr=Mr(Un);return{pathname:hr.pathname,search:hr.search,hash:hr.hash}},push:Ht,replace:er,go(Un){return yt.go(Un)}};return mn}var O;(function(Bn){Bn.data="data",Bn.deferred="deferred",Bn.redirect="redirect",Bn.error="error"})(O||(O={}));const P=new Set(["lazy","caseSensitive","path","id","index","children"]);function C(Bn){return Bn.index===!0}function A(Bn,ar,rn,Rt){return rn===void 0&&(rn=[]),Rt===void 0&&(Rt={}),Bn.map((Qe,Ye)=>{let yt=[...rn,String(Ye)],Ze=typeof Qe.id=="string"?Qe.id:yt.join("-");if(u(Qe.index!==!0||!Qe.children,"Cannot specify children on an index route"),u(!Rt[Ze],'Found a route id collision on id "'+Ze+`".  Route id's must be globally unique within Data Router usages`),C(Qe)){let Mt=r({},Qe,ar(Qe),{id:Ze});return Rt[Ze]=Mt,Mt}else{let Mt=r({},Qe,ar(Qe),{id:Ze,children:void 0});return Rt[Ze]=Mt,Qe.children&&(Mt.children=A(Qe.children,ar,yt,Rt)),Mt}})}function S(Bn,ar,rn){return rn===void 0&&(rn="/"),T(Bn,ar,rn,!1)}function T(Bn,ar,rn,Rt){let Qe=typeof ar=="string"?p(ar):ar,Ye=te(Qe.pathname||"/",rn);if(Ye==null)return null;let yt=v(Bn);E(yt);let Ze=null;for(let Mt=0;Ze==null&&Mt<yt.length;++Mt){let ot=ee(Ye);Ze=R(yt[Mt],ot,Rt)}return Ze}function s(Bn,ar){let{route:rn,pathname:Rt,params:Qe}=Bn;return{id:rn.id,pathname:Rt,params:Qe,data:ar[rn.id],handle:rn.handle}}function v(Bn,ar,rn,Rt){ar===void 0&&(ar=[]),rn===void 0&&(rn=[]),Rt===void 0&&(Rt="");let Qe=(Ye,yt,Ze)=>{let Mt={relativePath:Ze===void 0?Ye.path||"":Ze,caseSensitive:Ye.caseSensitive===!0,childrenIndex:yt,route:Ye};Mt.relativePath.startsWith("/")&&(u(Mt.relativePath.startsWith(Rt),'Absolute route path "'+Mt.relativePath+'" nested under path '+('"'+Rt+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),Mt.relativePath=Mt.relativePath.slice(Rt.length));let ot=re([Rt,Mt.relativePath]),et=rn.concat(Mt);Ye.children&&Ye.children.length>0&&(u(Ye.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+ot+'".')),v(Ye.children,ar,et,ot)),!(Ye.path==null&&!Ye.index)&&ar.push({path:ot,score:M(ot,Ye.index),routesMeta:et})};return Bn.forEach((Ye,yt)=>{var Ze;if(Ye.path===""||!((Ze=Ye.path)!=null&&Ze.includes("?")))Qe(Ye,yt);else for(let Mt of m(Ye.path))Qe(Ye,yt,Mt)}),ar}function m(Bn){let ar=Bn.split("/");if(ar.length===0)return[];let[rn,...Rt]=ar,Qe=rn.endsWith("?"),Ye=rn.replace(/\?$/,"");if(Rt.length===0)return Qe?[Ye,""]:[Ye];let yt=m(Rt.join("/")),Ze=[];return Ze.push(...yt.map(Mt=>Mt===""?Ye:[Ye,Mt].join("/"))),Qe&&Ze.push(...yt),Ze.map(Mt=>Bn.startsWith("/")&&Mt===""?"/":Mt)}function E(Bn){Bn.sort((ar,rn)=>ar.score!==rn.score?rn.score-ar.score:B(ar.routesMeta.map(Rt=>Rt.childrenIndex),rn.routesMeta.map(Rt=>Rt.childrenIndex)))}const I=/^:[\w-]+$/,L=3,W=2,F=1,G=10,k=-2,x=Bn=>Bn==="*";function M(Bn,ar){let rn=Bn.split("/"),Rt=rn.length;return rn.some(x)&&(Rt+=k),ar&&(Rt+=W),rn.filter(Qe=>!x(Qe)).reduce((Qe,Ye)=>Qe+(I.test(Ye)?L:Ye===""?F:G),Rt)}function B(Bn,ar){return Bn.length===ar.length&&Bn.slice(0,-1).every((Rt,Qe)=>Rt===ar[Qe])?Bn[Bn.length-1]-ar[ar.length-1]:0}function R(Bn,ar,rn){rn===void 0&&(rn=!1);let{routesMeta:Rt}=Bn,Qe={},Ye="/",yt=[];for(let Ze=0;Ze<Rt.length;++Ze){let Mt=Rt[Ze],ot=Ze===Rt.length-1,et=Ye==="/"?ar:ar.slice(Ye.length)||"/",St=j({path:Mt.relativePath,caseSensitive:Mt.caseSensitive,end:ot},et),Ht=Mt.route;if(!St&&ot&&rn&&!Rt[Rt.length-1].route.index&&(St=j({path:Mt.relativePath,caseSensitive:Mt.caseSensitive,end:!1},et)),!St)return null;Object.assign(Qe,St.params),yt.push({params:Qe,pathname:re([Ye,St.pathname]),pathnameBase:he(re([Ye,St.pathnameBase])),route:Ht}),St.pathnameBase!=="/"&&(Ye=re([Ye,St.pathnameBase]))}return yt}function U(Bn,ar){ar===void 0&&(ar={});let rn=Bn;rn.endsWith("*")&&rn!=="*"&&!rn.endsWith("/*")&&(f(!1,'Route path "'+rn+'" will be treated as if it were '+('"'+rn.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+rn.replace(/\*$/,"/*")+'".')),rn=rn.replace(/\*$/,"/*"));const Rt=rn.startsWith("/")?"/":"",Qe=yt=>yt==null?"":typeof yt=="string"?yt:String(yt),Ye=rn.split(/\/+/).map((yt,Ze,Mt)=>{if(Ze===Mt.length-1&&yt==="*")return Qe(ar["*"]);const et=yt.match(/^:([\w-]+)(\??)$/);if(et){const[,St,Ht]=et;let er=ar[St];return u(Ht==="?"||er!=null,'Missing ":'+St+'" param'),Qe(er)}return yt.replace(/\?$/g,"")}).filter(yt=>!!yt);return Rt+Ye.join("/")}function j(Bn,ar){typeof Bn=="string"&&(Bn={path:Bn,caseSensitive:!1,end:!0});let[rn,Rt]=$(Bn.path,Bn.caseSensitive,Bn.end),Qe=ar.match(rn);if(!Qe)return null;let Ye=Qe[0],yt=Ye.replace(/(.)\/+$/,"$1"),Ze=Qe.slice(1);return{params:Rt.reduce((ot,et,St)=>{let{paramName:Ht,isOptional:er}=et;if(Ht==="*"){let mn=Ze[St]||"";yt=Ye.slice(0,Ye.length-mn.length).replace(/(.)\/+$/,"$1")}const Mr=Ze[St];return er&&!Mr?ot[Ht]=void 0:ot[Ht]=(Mr||"").replace(/%2F/g,"/"),ot},{}),pathname:Ye,pathnameBase:yt,pattern:Bn}}function $(Bn,ar,rn){ar===void 0&&(ar=!1),rn===void 0&&(rn=!0),f(Bn==="*"||!Bn.endsWith("*")||Bn.endsWith("/*"),'Route path "'+Bn+'" will be treated as if it were '+('"'+Bn.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+Bn.replace(/\*$/,"/*")+'".'));let Rt=[],Qe="^"+Bn.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(yt,Ze,Mt)=>(Rt.push({paramName:Ze,isOptional:Mt!=null}),Mt?"/?([^\\/]+)?":"/([^\\/]+)"));return Bn.endsWith("*")?(Rt.push({paramName:"*"}),Qe+=Bn==="*"||Bn==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):rn?Qe+="\\/*$":Bn!==""&&Bn!=="/"&&(Qe+="(?:(?=\\/|$))"),[new RegExp(Qe,ar?void 0:"i"),Rt]}function ee(Bn){try{return Bn.split("/").map(ar=>decodeURIComponent(ar).replace(/\//g,"%2F")).join("/")}catch(ar){return f(!1,'The URL path "'+Bn+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+ar+").")),Bn}}function te(Bn,ar){if(ar==="/")return Bn;if(!Bn.toLowerCase().startsWith(ar.toLowerCase()))return null;let rn=ar.endsWith("/")?ar.length-1:ar.length,Rt=Bn.charAt(rn);return Rt&&Rt!=="/"?null:Bn.slice(rn)||"/"}function ie(Bn,ar){ar===void 0&&(ar="/");let{pathname:rn,search:Rt="",hash:Qe=""}=typeof Bn=="string"?p(Bn):Bn;return{pathname:rn?rn.startsWith("/")?rn:ne(rn,ar):ar,search:Ee(Rt),hash:fe(Qe)}}function ne(Bn,ar){let rn=ar.replace(/\/+$/,"").split("/");return Bn.split("/").forEach(Qe=>{Qe===".."?rn.length>1&&rn.pop():Qe!=="."&&rn.push(Qe)}),rn.length>1?rn.join("/"):"/"}function pe(Bn,ar,rn,Rt){return"Cannot include a '"+Bn+"' character in a manually specified "+("`to."+ar+"` field ["+JSON.stringify(Rt)+"].  Please separate it out to the ")+("`to."+rn+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function oe(Bn){return Bn.filter((ar,rn)=>rn===0||ar.route.path&&ar.route.path.length>0)}function q(Bn,ar){let rn=oe(Bn);return ar?rn.map((Rt,Qe)=>Qe===rn.length-1?Rt.pathname:Rt.pathnameBase):rn.map(Rt=>Rt.pathnameBase)}function J(Bn,ar,rn,Rt){Rt===void 0&&(Rt=!1);let Qe;typeof Bn=="string"?Qe=p(Bn):(Qe=r({},Bn),u(!Qe.pathname||!Qe.pathname.includes("?"),pe("?","pathname","search",Qe)),u(!Qe.pathname||!Qe.pathname.includes("#"),pe("#","pathname","hash",Qe)),u(!Qe.search||!Qe.search.includes("#"),pe("#","search","hash",Qe)));let Ye=Bn===""||Qe.pathname==="",yt=Ye?"/":Qe.pathname,Ze;if(yt==null)Ze=rn;else{let St=ar.length-1;if(!Rt&&yt.startsWith("..")){let Ht=yt.split("/");for(;Ht[0]==="..";)Ht.shift(),St-=1;Qe.pathname=Ht.join("/")}Ze=St>=0?ar[St]:"/"}let Mt=ie(Qe,Ze),ot=yt&&yt!=="/"&&yt.endsWith("/"),et=(Ye||yt===".")&&rn.endsWith("/");return!Mt.pathname.endsWith("/")&&(ot||et)&&(Mt.pathname+="/"),Mt}function me(Bn){return Bn===""||Bn.pathname===""?"/":typeof Bn=="string"?p(Bn).pathname:Bn.pathname}const re=Bn=>Bn.join("/").replace(/\/\/+/g,"/"),he=Bn=>Bn.replace(/\/+$/,"").replace(/^\/*/,"/"),Ee=Bn=>!Bn||Bn==="?"?"":Bn.startsWith("?")?Bn:"?"+Bn,fe=Bn=>!Bn||Bn==="#"?"":Bn.startsWith("#")?Bn:"#"+Bn,H=function(ar,rn){rn===void 0&&(rn={});let Rt=typeof rn=="number"?{status:rn}:rn,Qe=new Headers(Rt.headers);return Qe.has("Content-Type")||Qe.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(ar),r({},Rt,{headers:Qe}))};class z{constructor(ar,rn){this.type="DataWithResponseInit",this.data=ar,this.init=rn||null}}function _e(Bn,ar){return new z(Bn,typeof ar=="number"?{status:ar}:ar)}class ae extends Error{}class ge{constructor(ar,rn){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],u(ar&&typeof ar=="object"&&!Array.isArray(ar),"defer() only accepts plain objects");let Rt;this.abortPromise=new Promise((Ye,yt)=>Rt=yt),this.controller=new AbortController;let Qe=()=>Rt(new ae("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",Qe),this.controller.signal.addEventListener("abort",Qe),this.data=Object.entries(ar).reduce((Ye,yt)=>{let[Ze,Mt]=yt;return Object.assign(Ye,{[Ze]:this.trackPromise(Ze,Mt)})},{}),this.done&&this.unlistenAbortSignal(),this.init=rn}trackPromise(ar,rn){if(!(rn instanceof Promise))return rn;this.deferredKeys.push(ar),this.pendingKeysSet.add(ar);let Rt=Promise.race([rn,this.abortPromise]).then(Qe=>this.onSettle(Rt,ar,void 0,Qe),Qe=>this.onSettle(Rt,ar,Qe));return Rt.catch(()=>{}),Object.defineProperty(Rt,"_tracked",{get:()=>!0}),Rt}onSettle(ar,rn,Rt,Qe){if(this.controller.signal.aborted&&Rt instanceof ae)return this.unlistenAbortSignal(),Object.defineProperty(ar,"_error",{get:()=>Rt}),Promise.reject(Rt);if(this.pendingKeysSet.delete(rn),this.done&&this.unlistenAbortSignal(),Rt===void 0&&Qe===void 0){let Ye=new Error('Deferred data for key "'+rn+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(ar,"_error",{get:()=>Ye}),this.emit(!1,rn),Promise.reject(Ye)}return Qe===void 0?(Object.defineProperty(ar,"_error",{get:()=>Rt}),this.emit(!1,rn),Promise.reject(Rt)):(Object.defineProperty(ar,"_data",{get:()=>Qe}),this.emit(!1,rn),Qe)}emit(ar,rn){this.subscribers.forEach(Rt=>Rt(ar,rn))}subscribe(ar){return this.subscribers.add(ar),()=>this.subscribers.delete(ar)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((ar,rn)=>this.pendingKeysSet.delete(rn)),this.emit(!0)}async resolveData(ar){let rn=!1;if(!this.done){let Rt=()=>this.cancel();ar.addEventListener("abort",Rt),rn=await new Promise(Qe=>{this.subscribe(Ye=>{ar.removeEventListener("abort",Rt),(Ye||this.done)&&Qe(Ye)})})}return rn}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return u(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((ar,rn)=>{let[Rt,Qe]=rn;return Object.assign(ar,{[Rt]:Ke(Qe)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function Be(Bn){return Bn instanceof Promise&&Bn._tracked===!0}function Ke(Bn){if(!Be(Bn))return Bn;if(Bn._error)throw Bn._error;return Bn._data}const He=function(ar,rn){rn===void 0&&(rn={});let Rt=typeof rn=="number"?{status:rn}:rn;return new ge(ar,Rt)},ye=function(ar,rn){rn===void 0&&(rn=302);let Rt=rn;typeof Rt=="number"?Rt={status:Rt}:typeof Rt.status>"u"&&(Rt.status=302);let Qe=new Headers(Rt.headers);return Qe.set("Location",ar),new Response(null,r({},Rt,{headers:Qe}))},Le=(Bn,ar)=>{let rn=ye(Bn,ar);return rn.headers.set("X-Remix-Reload-Document","true"),rn},Ue=(Bn,ar)=>{let rn=ye(Bn,ar);return rn.headers.set("X-Remix-Replace","true"),rn};class Xe{constructor(ar,rn,Rt,Qe){Qe===void 0&&(Qe=!1),this.status=ar,this.statusText=rn||"",this.internal=Qe,Rt instanceof Error?(this.data=Rt.toString(),this.error=Rt):this.data=Rt}}function Fe(Bn){return Bn!=null&&typeof Bn.status=="number"&&typeof Bn.statusText=="string"&&typeof Bn.internal=="boolean"&&"data"in Bn}const ht=["post","put","patch","delete"],Ne=new Set(ht),Ce=["get",...ht],we=new Set(Ce),$e=new Set([301,302,303,307,308]),Ot=new Set([307,308]),Pt={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ie={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Bt={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},mt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,rt=Bn=>({hasErrorBoundary:!!Bn.hasErrorBoundary}),ce="remix-router-transitions";function Re(Bn){const ar=Bn.window?Bn.window:typeof window<"u"?window:void 0,rn=typeof ar<"u"&&typeof ar.document<"u"&&typeof ar.document.createElement<"u",Rt=!rn;u(Bn.routes.length>0,"You must provide a non-empty routes array to createRouter");let Qe;if(Bn.mapRouteProperties)Qe=Bn.mapRouteProperties;else if(Bn.detectErrorBoundary){let ta=Bn.detectErrorBoundary;Qe=ke=>({hasErrorBoundary:ta(ke)})}else Qe=rt;let Ye={},yt=A(Bn.routes,Qe,void 0,Ye),Ze,Mt=Bn.basename||"/",ot=Bn.dataStrategy||Tn,et=Bn.patchRoutesOnNavigation,St=r({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},Bn.future),Ht=null,er=new Set,Mr=null,mn=null,Un=null,hr=Bn.hydrationData!=null,br=S(yt,Bn.history.location,Mt),io=!1,Kr=null;if(br==null&&!et){let ta=Te(404,{pathname:Bn.history.location.pathname}),{matches:ke,route:Jt}=qt(yt);br=ke,Kr={[Jt.id]:ta}}br&&!Bn.hydrationData&&ki(br,yt,Bn.history.location.pathname).active&&(br=null);let xo;if(br)if(br.some(ta=>ta.route.lazy))xo=!1;else if(!br.some(ta=>ta.route.loader))xo=!0;else if(St.v7_partialHydration){let ta=Bn.hydrationData?Bn.hydrationData.loaderData:null,ke=Bn.hydrationData?Bn.hydrationData.errors:null;if(ke){let Jt=br.findIndex(Fn=>ke[Fn.route.id]!==void 0);xo=br.slice(0,Jt+1).every(Fn=>!bn(Fn.route,ta,ke))}else xo=br.every(Jt=>!bn(Jt.route,ta,ke))}else xo=Bn.hydrationData!=null;else if(xo=!1,br=[],St.v7_partialHydration){let ta=ki(null,yt,Bn.history.location.pathname);ta.active&&ta.matches&&(io=!0,br=ta.matches)}let Ho,bo={historyAction:Bn.history.action,location:Bn.history.location,matches:br,initialized:xo,navigation:Pt,restoreScrollPosition:Bn.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:Bn.hydrationData&&Bn.hydrationData.loaderData||{},actionData:Bn.hydrationData&&Bn.hydrationData.actionData||null,errors:Bn.hydrationData&&Bn.hydrationData.errors||Kr,fetchers:new Map,blockers:new Map},Ea=o.Pop,Ia=!1,Da,Za=!1,Xa=new Map,ba=null,ns=!1,Ja=!1,Is=[],Vr=new Set,Qr=new Map,To=0,xr=-1,uo=new Map,Mo=new Set,go=new Map,ea=new Map,ha=new Set,yr=new Map,Lr=new Map,ao;function ho(){if(Ht=Bn.history.listen(ta=>{let{action:ke,location:Jt,delta:Fn}=ta;if(ao){ao(),ao=void 0;return}f(Lr.size===0||Fn!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let mr=sl({currentLocation:bo.location,nextLocation:Jt,historyAction:ke});if(mr&&Fn!=null){let Tr=new Promise(Oo=>{ao=Oo});Bn.history.go(Fn*-1),vi(mr,{state:"blocked",location:Jt,proceed(){vi(mr,{state:"proceeding",proceed:void 0,reset:void 0,location:Jt}),Tr.then(()=>Bn.history.go(Fn))},reset(){let Oo=new Map(bo.blockers);Oo.set(mr,Bt),jo({blockers:Oo})}});return}return us(ke,Jt)}),rn){eo(ar,Xa);let ta=()=>Vo(ar,Xa);ar.addEventListener("pagehide",ta),ba=()=>ar.removeEventListener("pagehide",ta)}return bo.initialized||us(o.Pop,bo.location,{initialHydration:!0}),Ho}function Lo(){Ht&&Ht(),ba&&ba(),er.clear(),Da&&Da.abort(),bo.fetchers.forEach((ta,ke)=>_s(ke)),bo.blockers.forEach((ta,ke)=>wi(ke))}function Yo(ta){return er.add(ta),()=>er.delete(ta)}function jo(ta,ke){ke===void 0&&(ke={}),bo=r({},bo,ta);let Jt=[],Fn=[];St.v7_fetcherPersist&&bo.fetchers.forEach((mr,Tr)=>{mr.state==="idle"&&(ha.has(Tr)?Fn.push(Tr):Jt.push(Tr))}),ha.forEach(mr=>{!bo.fetchers.has(mr)&&!Qr.has(mr)&&Fn.push(mr)}),[...er].forEach(mr=>mr(bo,{deletedFetchers:Fn,viewTransitionOpts:ke.viewTransitionOpts,flushSync:ke.flushSync===!0})),St.v7_fetcherPersist?(Jt.forEach(mr=>bo.fetchers.delete(mr)),Fn.forEach(mr=>_s(mr))):Fn.forEach(mr=>ha.delete(mr))}function Xo(ta,ke,Jt){var Fn,mr;let{flushSync:Tr}=Jt===void 0?{}:Jt,Oo=bo.actionData!=null&&bo.navigation.formMethod!=null&&tn(bo.navigation.formMethod)&&bo.navigation.state==="loading"&&((Fn=ta.state)==null?void 0:Fn._isRedirect)!==!0,Uo;ke.actionData?Object.keys(ke.actionData).length>0?Uo=ke.actionData:Uo=null:Oo?Uo=bo.actionData:Uo=null;let gt=ke.loaderData?At(bo.loaderData,ke.loaderData,ke.matches||[],ke.errors):bo.loaderData,it=bo.blockers;it.size>0&&(it=new Map(it),it.forEach((_n,dn)=>it.set(dn,Bt)));let Lt=Ia===!0||bo.navigation.formMethod!=null&&tn(bo.navigation.formMethod)&&((mr=ta.state)==null?void 0:mr._isRedirect)!==!0;Ze&&(yt=Ze,Ze=void 0),ns||Ea===o.Pop||(Ea===o.Push?Bn.history.push(ta,ta.state):Ea===o.Replace&&Bn.history.replace(ta,ta.state));let $t;if(Ea===o.Pop){let _n=Xa.get(bo.location.pathname);_n&&_n.has(ta.pathname)?$t={currentLocation:bo.location,nextLocation:ta}:Xa.has(ta.pathname)&&($t={currentLocation:ta,nextLocation:bo.location})}else if(Za){let _n=Xa.get(bo.location.pathname);_n?_n.add(ta.pathname):(_n=new Set([ta.pathname]),Xa.set(bo.location.pathname,_n)),$t={currentLocation:bo.location,nextLocation:ta}}jo(r({},ke,{actionData:Uo,loaderData:gt,historyAction:Ea,location:ta,initialized:!0,navigation:Pt,revalidation:"idle",restoreScrollPosition:yi(ta,ke.matches||bo.matches),preventScrollReset:Lt,blockers:it}),{viewTransitionOpts:$t,flushSync:Tr===!0}),Ea=o.Pop,Ia=!1,Za=!1,ns=!1,Ja=!1,Is=[]}async function Ua(ta,ke){if(typeof ta=="number"){Bn.history.go(ta);return}let Jt=on(bo.location,bo.matches,Mt,St.v7_prependBasename,ta,St.v7_relativeSplatPath,ke==null?void 0:ke.fromRouteId,ke==null?void 0:ke.relative),{path:Fn,submission:mr,error:Tr}=Pn(St.v7_normalizeFormMethod,!1,Jt,ke),Oo=bo.location,Uo=g(bo.location,Fn,ke&&ke.state);Uo=r({},Uo,Bn.history.encodeLocation(Uo));let gt=ke&&ke.replace!=null?ke.replace:void 0,it=o.Push;gt===!0?it=o.Replace:gt===!1||mr!=null&&tn(mr.formMethod)&&mr.formAction===bo.location.pathname+bo.location.search&&(it=o.Replace);let Lt=ke&&"preventScrollReset"in ke?ke.preventScrollReset===!0:void 0,$t=(ke&&ke.flushSync)===!0,_n=sl({currentLocation:Oo,nextLocation:Uo,historyAction:it});if(_n){vi(_n,{state:"blocked",location:Uo,proceed(){vi(_n,{state:"proceeding",proceed:void 0,reset:void 0,location:Uo}),Ua(ta,ke)},reset(){let dn=new Map(bo.blockers);dn.set(_n,Bt),jo({blockers:dn})}});return}return await us(it,Uo,{submission:mr,pendingError:Tr,preventScrollReset:Lt,replace:ke&&ke.replace,enableViewTransition:ke&&ke.viewTransition,flushSync:$t})}function ds(){if(bs(),jo({revalidation:"loading"}),bo.navigation.state!=="submitting"){if(bo.navigation.state==="idle"){us(bo.historyAction,bo.location,{startUninterruptedRevalidation:!0});return}us(Ea||bo.historyAction,bo.navigation.location,{overrideNavigation:bo.navigation,enableViewTransition:Za===!0})}}async function us(ta,ke,Jt){Da&&Da.abort(),Da=null,Ea=ta,ns=(Jt&&Jt.startUninterruptedRevalidation)===!0,gi(bo.location,bo.matches),Ia=(Jt&&Jt.preventScrollReset)===!0,Za=(Jt&&Jt.enableViewTransition)===!0;let Fn=Ze||yt,mr=Jt&&Jt.overrideNavigation,Tr=Jt!=null&&Jt.initialHydration&&bo.matches&&bo.matches.length>0&&!io?bo.matches:S(Fn,ke,Mt),Oo=(Jt&&Jt.flushSync)===!0,Uo=ki(Tr,Fn,ke.pathname);if(Uo.active&&Uo.matches&&(Tr=Uo.matches),!Tr){let{error:Jn,notFoundMatches:Hn,route:jr}=Zi(ke.pathname);Xo(ke,{matches:Hn,loaderData:{},errors:{[jr.id]:Jn}},{flushSync:Oo});return}if(bo.initialized&&!Ja&&Vt(bo.location,ke)&&!(Jt&&Jt.submission&&tn(Jt.submission.formMethod))){Xo(ke,{matches:Tr},{flushSync:Oo});return}Da=new AbortController;let gt=fo(Bn.history,ke,Da.signal,Jt&&Jt.submission),it;if(Jt&&Jt.pendingError)it=[Qt(Tr).route.id,{type:O.error,error:Jt.pendingError}];else if(Jt&&Jt.submission&&tn(Jt.submission.formMethod)){let Jn=await ys(gt,ke,Jt.submission,Tr,Uo.active,{replace:Jt.replace,flushSync:Oo});if(Jn.shortCircuited)return;if(Jn.pendingActionResult){let[Hn,jr]=Jn.pendingActionResult;if(xe(jr)&&Fe(jr.error)&&jr.error.status===404){Da=null,Xo(ke,{matches:Jn.matches,loaderData:{},errors:{[Hn]:jr.error}});return}}Tr=Jn.matches||Tr,it=Jn.pendingActionResult,mr=sr(ke,Jt.submission),Oo=!1,Uo.active=!1,gt=fo(Bn.history,gt.url,gt.signal)}let{shortCircuited:Lt,matches:$t,loaderData:_n,errors:dn}=await Ys(gt,ke,Tr,Uo.active,mr,Jt&&Jt.submission,Jt&&Jt.fetcherSubmission,Jt&&Jt.replace,Jt&&Jt.initialHydration===!0,Oo,it);Lt||(Da=null,Xo(ke,r({matches:$t||Tr},xt(it),{loaderData:_n,errors:dn})))}async function ys(ta,ke,Jt,Fn,mr,Tr){Tr===void 0&&(Tr={}),bs();let Oo=Ar(ke,Jt);if(jo({navigation:Oo},{flushSync:Tr.flushSync===!0}),mr){let it=await bi(Fn,ke.pathname,ta.signal);if(it.type==="aborted")return{shortCircuited:!0};if(it.type==="error"){let Lt=Qt(it.partialMatches).route.id;return{matches:it.partialMatches,pendingActionResult:[Lt,{type:O.error,error:it.error}]}}else if(it.matches)Fn=it.matches;else{let{notFoundMatches:Lt,error:$t,route:_n}=Zi(ke.pathname);return{matches:Lt,pendingActionResult:[_n.id,{type:O.error,error:$t}]}}}let Uo,gt=Pr(Fn,ke);if(!gt.route.action&&!gt.route.lazy)Uo={type:O.error,error:Te(405,{method:ta.method,pathname:ke.pathname,routeId:gt.route.id})};else if(Uo=(await ks("action",bo,ta,[gt],Fn,null))[gt.route.id],ta.signal.aborted)return{shortCircuited:!0};if(Ae(Uo)){let it;return Tr&&Tr.replace!=null?it=Tr.replace:it=Hr(Uo.response.headers.get("Location"),new URL(ta.url),Mt)===bo.location.pathname+bo.location.search,await hi(ta,Uo,!0,{submission:Jt,replace:it}),{shortCircuited:!0}}if(Pe(Uo))throw Te(400,{type:"defer-action"});if(xe(Uo)){let it=Qt(Fn,gt.route.id);return(Tr&&Tr.replace)!==!0&&(Ea=o.Push),{matches:Fn,pendingActionResult:[it.route.id,Uo]}}return{matches:Fn,pendingActionResult:[gt.route.id,Uo]}}async function Ys(ta,ke,Jt,Fn,mr,Tr,Oo,Uo,gt,it,Lt){let $t=mr||sr(ke,Tr),_n=Tr||Oo||Mn($t),dn=!ns&&(!St.v7_partialHydration||!gt);if(Fn){if(dn){let rl=Gs(Lt);jo(r({navigation:$t},rl!==void 0?{actionData:rl}:{}),{flushSync:it})}let si=await bi(Jt,ke.pathname,ta.signal);if(si.type==="aborted")return{shortCircuited:!0};if(si.type==="error"){let rl=Qt(si.partialMatches).route.id;return{matches:si.partialMatches,loaderData:{},errors:{[rl]:si.error}}}else if(si.matches)Jt=si.matches;else{let{error:rl,notFoundMatches:El,route:Ui}=Zi(ke.pathname);return{matches:El,loaderData:{},errors:{[Ui.id]:rl}}}}let Jn=Ze||yt,[Hn,jr]=Ln(Bn.history,bo,Jt,_n,ke,St.v7_partialHydration&&gt===!0,St.v7_skipActionErrorRevalidation,Ja,Is,Vr,ha,go,Mo,Jn,Mt,Lt);if(Zs(si=>!(Jt&&Jt.some(rl=>rl.route.id===si))||Hn&&Hn.some(rl=>rl.route.id===si)),xr=++To,Hn.length===0&&jr.length===0){let si=li();return Xo(ke,r({matches:Jt,loaderData:{},errors:Lt&&xe(Lt[1])?{[Lt[0]]:Lt[1].error}:null},xt(Lt),si?{fetchers:new Map(bo.fetchers)}:{}),{flushSync:it}),{shortCircuited:!0}}if(dn){let si={};if(!Fn){si.navigation=$t;let rl=Gs(Lt);rl!==void 0&&(si.actionData=rl)}jr.length>0&&(si.fetchers=xs(jr)),jo(si,{flushSync:it})}jr.forEach(si=>{Ss(si.key),si.controller&&Qr.set(si.key,si.controller)});let wo=()=>jr.forEach(si=>Ss(si.key));Da&&Da.signal.addEventListener("abort",wo);let{loaderResults:ko,fetcherResults:Sa}=await Ms(bo,Jt,Hn,jr,ta);if(ta.signal.aborted)return{shortCircuited:!0};Da&&Da.signal.removeEventListener("abort",wo),jr.forEach(si=>Qr.delete(si.key));let Na=Gt(ko);if(Na)return await hi(ta,Na.result,!0,{replace:Uo}),{shortCircuited:!0};if(Na=Gt(Sa),Na)return Mo.add(Na.key),await hi(ta,Na.result,!0,{replace:Uo}),{shortCircuited:!0};let{loaderData:qa,errors:ms}=Je(bo,Jt,ko,Lt,jr,Sa,yr);yr.forEach((si,rl)=>{si.subscribe(El=>{(El||si.done)&&yr.delete(rl)})}),St.v7_partialHydration&&gt&&bo.errors&&(ms=r({},bo.errors,ms));let Us=li(),$i=Ni(xr),Mi=Us||$i||jr.length>0;return r({matches:Jt,loaderData:qa,errors:ms},Mi?{fetchers:new Map(bo.fetchers)}:{})}function Gs(ta){if(ta&&!xe(ta[1]))return{[ta[0]]:ta[1].data};if(bo.actionData)return Object.keys(bo.actionData).length===0?null:bo.actionData}function xs(ta){return ta.forEach(ke=>{let Jt=bo.fetchers.get(ke.key),Fn=vr(void 0,Jt?Jt.data:void 0);bo.fetchers.set(ke.key,Fn)}),new Map(bo.fetchers)}function Ai(ta,ke,Jt,Fn){if(Rt)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Ss(ta);let mr=(Fn&&Fn.flushSync)===!0,Tr=Ze||yt,Oo=on(bo.location,bo.matches,Mt,St.v7_prependBasename,Jt,St.v7_relativeSplatPath,ke,Fn==null?void 0:Fn.relative),Uo=S(Tr,Oo,Mt),gt=ki(Uo,Tr,Oo);if(gt.active&&gt.matches&&(Uo=gt.matches),!Uo){Os(ta,ke,Te(404,{pathname:Oo}),{flushSync:mr});return}let{path:it,submission:Lt,error:$t}=Pn(St.v7_normalizeFormMethod,!0,Oo,Fn);if($t){Os(ta,ke,$t,{flushSync:mr});return}let _n=Pr(Uo,it),dn=(Fn&&Fn.preventScrollReset)===!0;if(Lt&&tn(Lt.formMethod)){Pi(ta,ke,it,_n,Uo,gt.active,mr,dn,Lt);return}go.set(ta,{routeId:ke,path:it}),ei(ta,ke,it,_n,Uo,gt.active,mr,dn,Lt)}async function Pi(ta,ke,Jt,Fn,mr,Tr,Oo,Uo,gt){bs(),go.delete(ta);function it(il){if(!il.route.action&&!il.route.lazy){let fl=Te(405,{method:gt.formMethod,pathname:Jt,routeId:ke});return Os(ta,ke,fl,{flushSync:Oo}),!0}return!1}if(!Tr&&it(Fn))return;let Lt=bo.fetchers.get(ta);Hs(ta,qr(gt,Lt),{flushSync:Oo});let $t=new AbortController,_n=fo(Bn.history,Jt,$t.signal,gt);if(Tr){let il=await bi(mr,new URL(_n.url).pathname,_n.signal);if(il.type==="aborted")return;if(il.type==="error"){Os(ta,ke,il.error,{flushSync:Oo});return}else if(il.matches){if(mr=il.matches,Fn=Pr(mr,Jt),it(Fn))return}else{Os(ta,ke,Te(404,{pathname:Jt}),{flushSync:Oo});return}}Qr.set(ta,$t);let dn=To,Hn=(await ks("action",bo,_n,[Fn],mr,ta))[Fn.route.id];if(_n.signal.aborted){Qr.get(ta)===$t&&Qr.delete(ta);return}if(St.v7_fetcherPersist&&ha.has(ta)){if(Ae(Hn)||xe(Hn)){Hs(ta,Dr(void 0));return}}else{if(Ae(Hn))if(Qr.delete(ta),xr>dn){Hs(ta,Dr(void 0));return}else return Mo.add(ta),Hs(ta,vr(gt)),hi(_n,Hn,!1,{fetcherSubmission:gt,preventScrollReset:Uo});if(xe(Hn)){Os(ta,ke,Hn.error);return}}if(Pe(Hn))throw Te(400,{type:"defer-action"});let jr=bo.navigation.location||bo.location,wo=fo(Bn.history,jr,$t.signal),ko=Ze||yt,Sa=bo.navigation.state!=="idle"?S(ko,bo.navigation.location,Mt):bo.matches;u(Sa,"Didn't find any matches after fetcher action");let Na=++To;uo.set(ta,Na);let qa=vr(gt,Hn.data);bo.fetchers.set(ta,qa);let[ms,Us]=Ln(Bn.history,bo,Sa,gt,jr,!1,St.v7_skipActionErrorRevalidation,Ja,Is,Vr,ha,go,Mo,ko,Mt,[Fn.route.id,Hn]);Us.filter(il=>il.key!==ta).forEach(il=>{let fl=il.key,oi=bo.fetchers.get(fl),Nl=vr(void 0,oi?oi.data:void 0);bo.fetchers.set(fl,Nl),Ss(fl),il.controller&&Qr.set(fl,il.controller)}),jo({fetchers:new Map(bo.fetchers)});let $i=()=>Us.forEach(il=>Ss(il.key));$t.signal.addEventListener("abort",$i);let{loaderResults:Mi,fetcherResults:si}=await Ms(bo,Sa,ms,Us,wo);if($t.signal.aborted)return;$t.signal.removeEventListener("abort",$i),uo.delete(ta),Qr.delete(ta),Us.forEach(il=>Qr.delete(il.key));let rl=Gt(Mi);if(rl)return hi(wo,rl.result,!1,{preventScrollReset:Uo});if(rl=Gt(si),rl)return Mo.add(rl.key),hi(wo,rl.result,!1,{preventScrollReset:Uo});let{loaderData:El,errors:Ui}=Je(bo,Sa,Mi,void 0,Us,si,yr);if(bo.fetchers.has(ta)){let il=Dr(Hn.data);bo.fetchers.set(ta,il)}Ni(Na),bo.navigation.state==="loading"&&Na>xr?(u(Ea,"Expected pending action"),Da&&Da.abort(),Xo(bo.navigation.location,{matches:Sa,loaderData:El,errors:Ui,fetchers:new Map(bo.fetchers)})):(jo({errors:Ui,loaderData:At(bo.loaderData,El,Sa,Ui),fetchers:new Map(bo.fetchers)}),Ja=!1)}async function ei(ta,ke,Jt,Fn,mr,Tr,Oo,Uo,gt){let it=bo.fetchers.get(ta);Hs(ta,vr(gt,it?it.data:void 0),{flushSync:Oo});let Lt=new AbortController,$t=fo(Bn.history,Jt,Lt.signal);if(Tr){let Hn=await bi(mr,new URL($t.url).pathname,$t.signal);if(Hn.type==="aborted")return;if(Hn.type==="error"){Os(ta,ke,Hn.error,{flushSync:Oo});return}else if(Hn.matches)mr=Hn.matches,Fn=Pr(mr,Jt);else{Os(ta,ke,Te(404,{pathname:Jt}),{flushSync:Oo});return}}Qr.set(ta,Lt);let _n=To,Jn=(await ks("loader",bo,$t,[Fn],mr,ta))[Fn.route.id];if(Pe(Jn)&&(Jn=await Sr(Jn,$t.signal,!0)||Jn),Qr.get(ta)===Lt&&Qr.delete(ta),!$t.signal.aborted){if(ha.has(ta)){Hs(ta,Dr(void 0));return}if(Ae(Jn))if(xr>_n){Hs(ta,Dr(void 0));return}else{Mo.add(ta),await hi($t,Jn,!1,{preventScrollReset:Uo});return}if(xe(Jn)){Os(ta,ke,Jn.error);return}u(!Pe(Jn),"Unhandled fetcher deferred data"),Hs(ta,Dr(Jn.data))}}async function hi(ta,ke,Jt,Fn){let{submission:mr,fetcherSubmission:Tr,preventScrollReset:Oo,replace:Uo}=Fn===void 0?{}:Fn;ke.response.headers.has("X-Remix-Revalidate")&&(Ja=!0);let gt=ke.response.headers.get("Location");u(gt,"Expected a Location header on the redirect Response"),gt=Hr(gt,new URL(ta.url),Mt);let it=g(bo.location,gt,{_isRedirect:!0});if(rn){let Hn=!1;if(ke.response.headers.has("X-Remix-Reload-Document"))Hn=!0;else if(mt.test(gt)){const jr=Bn.history.createURL(gt);Hn=jr.origin!==ar.location.origin||te(jr.pathname,Mt)==null}if(Hn){Uo?ar.location.replace(gt):ar.location.assign(gt);return}}Da=null;let Lt=Uo===!0||ke.response.headers.has("X-Remix-Replace")?o.Replace:o.Push,{formMethod:$t,formAction:_n,formEncType:dn}=bo.navigation;!mr&&!Tr&&$t&&_n&&dn&&(mr=Mn(bo.navigation));let Jn=mr||Tr;if(Ot.has(ke.response.status)&&Jn&&tn(Jn.formMethod))await us(Lt,it,{submission:r({},Jn,{formAction:gt}),preventScrollReset:Oo||Ia,enableViewTransition:Jt?Za:void 0});else{let Hn=sr(it,mr);await us(Lt,it,{overrideNavigation:Hn,fetcherSubmission:Tr,preventScrollReset:Oo||Ia,enableViewTransition:Jt?Za:void 0})}}async function ks(ta,ke,Jt,Fn,mr,Tr){let Oo,Uo={};try{Oo=await Nn(ot,ta,ke,Jt,Fn,mr,Tr,Ye,Qe)}catch(gt){return Fn.forEach(it=>{Uo[it.route.id]={type:O.error,error:gt}}),Uo}for(let[gt,it]of Object.entries(Oo))if(Wt(it)){let Lt=it.result;Uo[gt]={type:O.redirect,response:qn(Lt,Jt,gt,mr,Mt,St.v7_relativeSplatPath)}}else Uo[gt]=await or(it);return Uo}async function Ms(ta,ke,Jt,Fn,mr){let Tr=ta.matches,Oo=ks("loader",ta,mr,Jt,ke,null),Uo=Promise.all(Fn.map(async Lt=>{if(Lt.matches&&Lt.match&&Lt.controller){let _n=(await ks("loader",ta,fo(Bn.history,Lt.path,Lt.controller.signal),[Lt.match],Lt.matches,Lt.key))[Lt.match.route.id];return{[Lt.key]:_n}}else return Promise.resolve({[Lt.key]:{type:O.error,error:Te(404,{pathname:Lt.path})}})})),gt=await Oo,it=(await Uo).reduce((Lt,$t)=>Object.assign(Lt,$t),{});return await Promise.all([In(ke,gt,mr.signal,Tr,ta.loaderData),rr(ke,it,Fn)]),{loaderResults:gt,fetcherResults:it}}function bs(){Ja=!0,Is.push(...Zs()),go.forEach((ta,ke)=>{Qr.has(ke)&&Vr.add(ke),Ss(ke)})}function Hs(ta,ke,Jt){Jt===void 0&&(Jt={}),bo.fetchers.set(ta,ke),jo({fetchers:new Map(bo.fetchers)},{flushSync:(Jt&&Jt.flushSync)===!0})}function Os(ta,ke,Jt,Fn){Fn===void 0&&(Fn={});let mr=Qt(bo.matches,ke);_s(ta),jo({errors:{[mr.route.id]:Jt},fetchers:new Map(bo.fetchers)},{flushSync:(Fn&&Fn.flushSync)===!0})}function Vs(ta){return ea.set(ta,(ea.get(ta)||0)+1),ha.has(ta)&&ha.delete(ta),bo.fetchers.get(ta)||Ie}function _s(ta){let ke=bo.fetchers.get(ta);Qr.has(ta)&&!(ke&&ke.state==="loading"&&uo.has(ta))&&Ss(ta),go.delete(ta),uo.delete(ta),Mo.delete(ta),St.v7_fetcherPersist&&ha.delete(ta),Vr.delete(ta),bo.fetchers.delete(ta)}function fs(ta){let ke=(ea.get(ta)||0)-1;ke<=0?(ea.delete(ta),ha.add(ta),St.v7_fetcherPersist||_s(ta)):ea.set(ta,ke),jo({fetchers:new Map(bo.fetchers)})}function Ss(ta){let ke=Qr.get(ta);ke&&(ke.abort(),Qr.delete(ta))}function hs(ta){for(let ke of ta){let Jt=Vs(ke),Fn=Dr(Jt.data);bo.fetchers.set(ke,Fn)}}function li(){let ta=[],ke=!1;for(let Jt of Mo){let Fn=bo.fetchers.get(Jt);u(Fn,"Expected fetcher: "+Jt),Fn.state==="loading"&&(Mo.delete(Jt),ta.push(Jt),ke=!0)}return hs(ta),ke}function Ni(ta){let ke=[];for(let[Jt,Fn]of uo)if(Fn<ta){let mr=bo.fetchers.get(Jt);u(mr,"Expected fetcher: "+Jt),mr.state==="loading"&&(Ss(Jt),uo.delete(Jt),ke.push(Jt))}return hs(ke),ke.length>0}function Ji(ta,ke){let Jt=bo.blockers.get(ta)||Bt;return Lr.get(ta)!==ke&&Lr.set(ta,ke),Jt}function wi(ta){bo.blockers.delete(ta),Lr.delete(ta)}function vi(ta,ke){let Jt=bo.blockers.get(ta)||Bt;u(Jt.state==="unblocked"&&ke.state==="blocked"||Jt.state==="blocked"&&ke.state==="blocked"||Jt.state==="blocked"&&ke.state==="proceeding"||Jt.state==="blocked"&&ke.state==="unblocked"||Jt.state==="proceeding"&&ke.state==="unblocked","Invalid blocker state transition: "+Jt.state+" -> "+ke.state);let Fn=new Map(bo.blockers);Fn.set(ta,ke),jo({blockers:Fn})}function sl(ta){let{currentLocation:ke,nextLocation:Jt,historyAction:Fn}=ta;if(Lr.size===0)return;Lr.size>1&&f(!1,"A router only supports one blocker at a time");let mr=Array.from(Lr.entries()),[Tr,Oo]=mr[mr.length-1],Uo=bo.blockers.get(Tr);if(!(Uo&&Uo.state==="proceeding")&&Oo({currentLocation:ke,nextLocation:Jt,historyAction:Fn}))return Tr}function Zi(ta){let ke=Te(404,{pathname:ta}),Jt=Ze||yt,{matches:Fn,route:mr}=qt(Jt);return Zs(),{notFoundMatches:Fn,route:mr,error:ke}}function Zs(ta){let ke=[];return yr.forEach((Jt,Fn)=>{(!ta||ta(Fn))&&(Jt.cancel(),ke.push(Fn),yr.delete(Fn))}),ke}function Bs(ta,ke,Jt){if(Mr=ta,Un=ke,mn=Jt||null,!hr&&bo.navigation===Pt){hr=!0;let Fn=yi(bo.location,bo.matches);Fn!=null&&jo({restoreScrollPosition:Fn})}return()=>{Mr=null,Un=null,mn=null}}function ti(ta,ke){return mn&&mn(ta,ke.map(Fn=>s(Fn,bo.loaderData)))||ta.key}function gi(ta,ke){if(Mr&&Un){let Jt=ti(ta,ke);Mr[Jt]=Un()}}function yi(ta,ke){if(Mr){let Jt=ti(ta,ke),Fn=Mr[Jt];if(typeof Fn=="number")return Fn}return null}function ki(ta,ke,Jt){if(et)if(ta){if(Object.keys(ta[0].params).length>0)return{active:!0,matches:T(ke,Jt,Mt,!0)}}else return{active:!0,matches:T(ke,Jt,Mt,!0)||[]};return{active:!1,matches:null}}async function bi(ta,ke,Jt){if(!et)return{type:"success",matches:ta};let Fn=ta;for(;;){let mr=Ze==null,Tr=Ze||yt,Oo=Ye;try{await et({signal:Jt,path:ke,matches:Fn,patch:(it,Lt)=>{Jt.aborted||jt(it,Lt,Tr,Oo,Qe)}})}catch(it){return{type:"error",error:it,partialMatches:Fn}}finally{mr&&!Jt.aborted&&(yt=[...yt])}if(Jt.aborted)return{type:"aborted"};let Uo=S(Tr,ke,Mt);if(Uo)return{type:"success",matches:Uo};let gt=T(Tr,ke,Mt,!0);if(!gt||Fn.length===gt.length&&Fn.every((it,Lt)=>it.route.id===gt[Lt].route.id))return{type:"success",matches:null};Fn=gt}}function nl(ta){Ye={},Ze=A(ta,Qe,void 0,Ye)}function Si(ta,ke){let Jt=Ze==null;jt(ta,ke,Ze||yt,Ye,Qe),Jt&&(yt=[...yt],jo({}))}return Ho={get basename(){return Mt},get future(){return St},get state(){return bo},get routes(){return yt},get window(){return ar},initialize:ho,subscribe:Yo,enableScrollRestoration:Bs,navigate:Ua,fetch:Ai,revalidate:ds,createHref:ta=>Bn.history.createHref(ta),encodeLocation:ta=>Bn.history.encodeLocation(ta),getFetcher:Vs,deleteFetcher:fs,dispose:Lo,getBlocker:Ji,deleteBlocker:wi,patchRoutes:Si,_internalFetchControllers:Qr,_internalActiveDeferreds:yr,_internalSetRoutes:nl},Ho}const nt=Symbol("deferred");function st(Bn,ar){u(Bn.length>0,"You must provide a non-empty routes array to createStaticHandler");let rn={},Rt=(ar?ar.basename:null)||"/",Qe;if(ar!=null&&ar.mapRouteProperties)Qe=ar.mapRouteProperties;else if(ar!=null&&ar.detectErrorBoundary){let er=ar.detectErrorBoundary;Qe=Mr=>({hasErrorBoundary:er(Mr)})}else Qe=rt;let Ye=r({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},ar?ar.future:null),yt=A(Bn,Qe,void 0,rn);async function Ze(er,Mr){let{requestContext:mn,skipLoaderErrorBubbling:Un,dataStrategy:hr}=Mr===void 0?{}:Mr,br=new URL(er.url),io=er.method,Kr=g("",_(br),null,"default"),xo=S(yt,Kr,Rt);if(!Ft(io)&&io!=="HEAD"){let bo=Te(405,{method:io}),{matches:Ea,route:Ia}=qt(yt);return{basename:Rt,location:Kr,matches:Ea,loaderData:{},actionData:null,errors:{[Ia.id]:bo},statusCode:bo.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!xo){let bo=Te(404,{pathname:Kr.pathname}),{matches:Ea,route:Ia}=qt(yt);return{basename:Rt,location:Kr,matches:Ea,loaderData:{},actionData:null,errors:{[Ia.id]:bo},statusCode:bo.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let Ho=await ot(er,Kr,xo,mn,hr||null,Un===!0,null);return kt(Ho)?Ho:r({location:Kr,basename:Rt},Ho)}async function Mt(er,Mr){let{routeId:mn,requestContext:Un,dataStrategy:hr}=Mr===void 0?{}:Mr,br=new URL(er.url),io=er.method,Kr=g("",_(br),null,"default"),xo=S(yt,Kr,Rt);if(!Ft(io)&&io!=="HEAD"&&io!=="OPTIONS")throw Te(405,{method:io});if(!xo)throw Te(404,{pathname:Kr.pathname});let Ho=mn?xo.find(Da=>Da.route.id===mn):Pr(xo,Kr);if(mn&&!Ho)throw Te(403,{pathname:Kr.pathname,routeId:mn});if(!Ho)throw Te(404,{pathname:Kr.pathname});let bo=await ot(er,Kr,xo,Un,hr||null,!1,Ho);if(kt(bo))return bo;let Ea=bo.errors?Object.values(bo.errors)[0]:void 0;if(Ea!==void 0)throw Ea;if(bo.actionData)return Object.values(bo.actionData)[0];if(bo.loaderData){var Ia;let Da=Object.values(bo.loaderData)[0];return(Ia=bo.activeDeferreds)!=null&&Ia[Ho.route.id]&&(Da[nt]=bo.activeDeferreds[Ho.route.id]),Da}}async function ot(er,Mr,mn,Un,hr,br,io){u(er.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(tn(er.method.toLowerCase()))return await et(er,mn,io||Pr(mn,Mr),Un,hr,br,io!=null);let Kr=await St(er,mn,Un,hr,br,io);return kt(Kr)?Kr:r({},Kr,{actionData:null,actionHeaders:{}})}catch(Kr){if(Dn(Kr)&&kt(Kr.result)){if(Kr.type===O.error)throw Kr.result;return Kr.result}if(ut(Kr))return Kr;throw Kr}}async function et(er,Mr,mn,Un,hr,br,io){let Kr;if(!mn.route.action&&!mn.route.lazy){let bo=Te(405,{method:er.method,pathname:new URL(er.url).pathname,routeId:mn.route.id});if(io)throw bo;Kr={type:O.error,error:bo}}else Kr=(await Ht("action",er,[mn],Mr,io,Un,hr))[mn.route.id],er.signal.aborted&&ze(er,io,Ye);if(Ae(Kr))throw new Response(null,{status:Kr.response.status,headers:{Location:Kr.response.headers.get("Location")}});if(Pe(Kr)){let bo=Te(400,{type:"defer-action"});if(io)throw bo;Kr={type:O.error,error:bo}}if(io){if(xe(Kr))throw Kr.error;return{matches:[mn],loaderData:{},actionData:{[mn.route.id]:Kr.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let xo=new Request(er.url,{headers:er.headers,redirect:er.redirect,signal:er.signal});if(xe(Kr)){let bo=br?mn:Qt(Mr,mn.route.id),Ea=await St(xo,Mr,Un,hr,br,null,[bo.route.id,Kr]);return r({},Ea,{statusCode:Fe(Kr.error)?Kr.error.status:Kr.statusCode!=null?Kr.statusCode:500,actionData:null,actionHeaders:r({},Kr.headers?{[mn.route.id]:Kr.headers}:{})})}let Ho=await St(xo,Mr,Un,hr,br,null);return r({},Ho,{actionData:{[mn.route.id]:Kr.data}},Kr.statusCode?{statusCode:Kr.statusCode}:{},{actionHeaders:Kr.headers?{[mn.route.id]:Kr.headers}:{}})}async function St(er,Mr,mn,Un,hr,br,io){let Kr=br!=null;if(Kr&&!(br!=null&&br.route.loader)&&!(br!=null&&br.route.lazy))throw Te(400,{method:er.method,pathname:new URL(er.url).pathname,routeId:br==null?void 0:br.route.id});let Ho=(br?[br]:io&&xe(io[1])?Yn(Mr,io[0]):Mr).filter(Za=>Za.route.loader||Za.route.lazy);if(Ho.length===0)return{matches:Mr,loaderData:Mr.reduce((Za,Xa)=>Object.assign(Za,{[Xa.route.id]:null}),{}),errors:io&&xe(io[1])?{[io[0]]:io[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let bo=await Ht("loader",er,Ho,Mr,Kr,mn,Un);er.signal.aborted&&ze(er,Kr,Ye);let Ea=new Map,Ia=Xt(Mr,bo,io,Ea,hr),Da=new Set(Ho.map(Za=>Za.route.id));return Mr.forEach(Za=>{Da.has(Za.route.id)||(Ia.loaderData[Za.route.id]=null)}),r({},Ia,{matches:Mr,activeDeferreds:Ea.size>0?Object.fromEntries(Ea.entries()):null})}async function Ht(er,Mr,mn,Un,hr,br,io){let Kr=await Nn(io||Tn,er,null,Mr,mn,Un,null,rn,Qe,br),xo={};return await Promise.all(Un.map(async Ho=>{if(!(Ho.route.id in Kr))return;let bo=Kr[Ho.route.id];if(Wt(bo)){let Ea=bo.result;throw qn(Ea,Mr,Ho.route.id,Un,Rt,Ye.v7_relativeSplatPath)}if(kt(bo.result)&&hr)throw bo;xo[Ho.route.id]=await or(bo)})),xo}return{dataRoutes:yt,query:Ze,queryRoute:Mt}}function vt(Bn,ar,rn){return r({},ar,{statusCode:Fe(rn)?rn.status:500,errors:{[ar._deepestRenderedBoundaryId||Bn[0].id]:rn}})}function ze(Bn,ar,rn){if(rn.v7_throwAbortReason&&Bn.signal.reason!==void 0)throw Bn.signal.reason;let Rt=ar?"queryRoute":"query";throw new Error(Rt+"() call aborted: "+Bn.method+" "+Bn.url)}function It(Bn){return Bn!=null&&("formData"in Bn&&Bn.formData!=null||"body"in Bn&&Bn.body!==void 0)}function on(Bn,ar,rn,Rt,Qe,Ye,yt,Ze){let Mt,ot;if(yt){Mt=[];for(let St of ar)if(Mt.push(St),St.route.id===yt){ot=St;break}}else Mt=ar,ot=ar[ar.length-1];let et=J(Qe||".",q(Mt,Ye),te(Bn.pathname,rn)||Bn.pathname,Ze==="path");if(Qe==null&&(et.search=Bn.search,et.hash=Bn.hash),(Qe==null||Qe===""||Qe===".")&&ot){let St=Yr(et.search);if(ot.route.index&&!St)et.search=et.search?et.search.replace(/^\?/,"?index&"):"?index";else if(!ot.route.index&&St){let Ht=new URLSearchParams(et.search),er=Ht.getAll("index");Ht.delete("index"),er.filter(mn=>mn).forEach(mn=>Ht.append("index",mn));let Mr=Ht.toString();et.search=Mr?"?"+Mr:""}}return Rt&&rn!=="/"&&(et.pathname=et.pathname==="/"?rn:re([rn,et.pathname])),_(et)}function Pn(Bn,ar,rn,Rt){if(!Rt||!It(Rt))return{path:rn};if(Rt.formMethod&&!Ft(Rt.formMethod))return{path:rn,error:Te(405,{method:Rt.formMethod})};let Qe=()=>({path:rn,error:Te(400,{type:"invalid-body"})}),Ye=Rt.formMethod||"get",yt=Bn?Ye.toUpperCase():Ye.toLowerCase(),Ze=un(rn);if(Rt.body!==void 0){if(Rt.formEncType==="text/plain"){if(!tn(yt))return Qe();let Ht=typeof Rt.body=="string"?Rt.body:Rt.body instanceof FormData||Rt.body instanceof URLSearchParams?Array.from(Rt.body.entries()).reduce((er,Mr)=>{let[mn,Un]=Mr;return""+er+mn+"="+Un+`
`},""):String(Rt.body);return{path:rn,submission:{formMethod:yt,formAction:Ze,formEncType:Rt.formEncType,formData:void 0,json:void 0,text:Ht}}}else if(Rt.formEncType==="application/json"){if(!tn(yt))return Qe();try{let Ht=typeof Rt.body=="string"?JSON.parse(Rt.body):Rt.body;return{path:rn,submission:{formMethod:yt,formAction:Ze,formEncType:Rt.formEncType,formData:void 0,json:Ht,text:void 0}}}catch{return Qe()}}}u(typeof FormData=="function","FormData is not available in this environment");let Mt,ot;if(Rt.formData)Mt=Jr(Rt.formData),ot=Rt.formData;else if(Rt.body instanceof FormData)Mt=Jr(Rt.body),ot=Rt.body;else if(Rt.body instanceof URLSearchParams)Mt=Rt.body,ot=ro(Mt);else if(Rt.body==null)Mt=new URLSearchParams,ot=new FormData;else try{Mt=new URLSearchParams(Rt.body),ot=ro(Mt)}catch{return Qe()}let et={formMethod:yt,formAction:Ze,formEncType:Rt&&Rt.formEncType||"application/x-www-form-urlencoded",formData:ot,json:void 0,text:void 0};if(tn(et.formMethod))return{path:rn,submission:et};let St=p(rn);return ar&&St.search&&Yr(St.search)&&Mt.append("index",""),St.search="?"+Mt,{path:_(St),submission:et}}function Yn(Bn,ar,rn){rn===void 0&&(rn=!1);let Rt=Bn.findIndex(Qe=>Qe.route.id===ar);return Rt>=0?Bn.slice(0,rn?Rt+1:Rt):Bn}function Ln(Bn,ar,rn,Rt,Qe,Ye,yt,Ze,Mt,ot,et,St,Ht,er,Mr,mn){let Un=mn?xe(mn[1])?mn[1].error:mn[1].data:void 0,hr=Bn.createURL(ar.location),br=Bn.createURL(Qe),io=rn;Ye&&ar.errors?io=Yn(rn,Object.keys(ar.errors)[0],!0):mn&&xe(mn[1])&&(io=Yn(rn,mn[0]));let Kr=mn?mn[1].statusCode:void 0,xo=yt&&Kr&&Kr>=400,Ho=io.filter((Ea,Ia)=>{let{route:Da}=Ea;if(Da.lazy)return!0;if(Da.loader==null)return!1;if(Ye)return bn(Da,ar.loaderData,ar.errors);if(ir(ar.loaderData,ar.matches[Ia],Ea)||Mt.some(ba=>ba===Ea.route.id))return!0;let Za=ar.matches[Ia],Xa=Ea;return $n(Ea,r({currentUrl:hr,currentParams:Za.params,nextUrl:br,nextParams:Xa.params},Rt,{actionResult:Un,actionStatus:Kr,defaultShouldRevalidate:xo?!1:Ze||hr.pathname+hr.search===br.pathname+br.search||hr.search!==br.search||Zn(Za,Xa)}))}),bo=[];return St.forEach((Ea,Ia)=>{if(Ye||!rn.some(ns=>ns.route.id===Ea.routeId)||et.has(Ia))return;let Da=S(er,Ea.path,Mr);if(!Da){bo.push({key:Ia,routeId:Ea.routeId,path:Ea.path,matches:null,match:null,controller:null});return}let Za=ar.fetchers.get(Ia),Xa=Pr(Da,Ea.path),ba=!1;Ht.has(Ia)?ba=!1:ot.has(Ia)?(ot.delete(Ia),ba=!0):Za&&Za.state!=="idle"&&Za.data===void 0?ba=Ze:ba=$n(Xa,r({currentUrl:hr,currentParams:ar.matches[ar.matches.length-1].params,nextUrl:br,nextParams:rn[rn.length-1].params},Rt,{actionResult:Un,actionStatus:Kr,defaultShouldRevalidate:xo?!1:Ze})),ba&&bo.push({key:Ia,routeId:Ea.routeId,path:Ea.path,matches:Da,match:Xa,controller:new AbortController})}),[Ho,bo]}function bn(Bn,ar,rn){if(Bn.lazy)return!0;if(!Bn.loader)return!1;let Rt=ar!=null&&ar[Bn.id]!==void 0,Qe=rn!=null&&rn[Bn.id]!==void 0;return!Rt&&Qe?!1:typeof Bn.loader=="function"&&Bn.loader.hydrate===!0?!0:!Rt&&!Qe}function ir(Bn,ar,rn){let Rt=!ar||rn.route.id!==ar.route.id,Qe=Bn[rn.route.id]===void 0;return Rt||Qe}function Zn(Bn,ar){let rn=Bn.route.path;return Bn.pathname!==ar.pathname||rn!=null&&rn.endsWith("*")&&Bn.params["*"]!==ar.params["*"]}function $n(Bn,ar){if(Bn.route.shouldRevalidate){let rn=Bn.route.shouldRevalidate(ar);if(typeof rn=="boolean")return rn}return ar.defaultShouldRevalidate}function jt(Bn,ar,rn,Rt,Qe){var Ye;let yt;if(Bn){let ot=Rt[Bn];u(ot,"No route found to patch children into: routeId = "+Bn),ot.children||(ot.children=[]),yt=ot.children}else yt=rn;let Ze=ar.filter(ot=>!yt.some(et=>Rn(ot,et))),Mt=A(Ze,Qe,[Bn||"_","patch",String(((Ye=yt)==null?void 0:Ye.length)||"0")],Rt);yt.push(...Mt)}function Rn(Bn,ar){return"id"in Bn&&"id"in ar&&Bn.id===ar.id?!0:Bn.index===ar.index&&Bn.path===ar.path&&Bn.caseSensitive===ar.caseSensitive?(!Bn.children||Bn.children.length===0)&&(!ar.children||ar.children.length===0)?!0:Bn.children.every((rn,Rt)=>{var Qe;return(Qe=ar.children)==null?void 0:Qe.some(Ye=>Rn(rn,Ye))}):!1}async function jn(Bn,ar,rn){if(!Bn.lazy)return;let Rt=await Bn.lazy();if(!Bn.lazy)return;let Qe=rn[Bn.id];u(Qe,"No route found in manifest");let Ye={};for(let yt in Rt){let Mt=Qe[yt]!==void 0&&yt!=="hasErrorBoundary";f(!Mt,'Route "'+Qe.id+'" has a static property "'+yt+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+yt+'" will be ignored.')),!Mt&&!P.has(yt)&&(Ye[yt]=Rt[yt])}Object.assign(Qe,Ye),Object.assign(Qe,r({},ar(Qe),{lazy:void 0}))}async function Tn(Bn){let{matches:ar}=Bn,rn=ar.filter(Qe=>Qe.shouldLoad);return(await Promise.all(rn.map(Qe=>Qe.resolve()))).reduce((Qe,Ye,yt)=>Object.assign(Qe,{[rn[yt].route.id]:Ye}),{})}async function Nn(Bn,ar,rn,Rt,Qe,Ye,yt,Ze,Mt,ot){let et=Ye.map(er=>er.route.lazy?jn(er.route,Mt,Ze):void 0),St=Ye.map((er,Mr)=>{let mn=et[Mr],Un=Qe.some(br=>br.route.id===er.route.id);return r({},er,{shouldLoad:Un,resolve:async br=>(br&&Rt.method==="GET"&&(er.route.lazy||er.route.loader)&&(Un=!0),Un?cn(ar,Rt,er,mn,br,ot):Promise.resolve({type:O.data,result:void 0}))})}),Ht=await Bn({matches:St,request:Rt,params:Ye[0].params,fetcherKey:yt,context:ot});try{await Promise.all(et)}catch{}return Ht}async function cn(Bn,ar,rn,Rt,Qe,Ye){let yt,Ze,Mt=ot=>{let et,St=new Promise((Mr,mn)=>et=mn);Ze=()=>et(),ar.signal.addEventListener("abort",Ze);let Ht=Mr=>typeof ot!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+Bn+'" [routeId: '+rn.route.id+"]"))):ot({request:ar,params:rn.params,context:Ye},...Mr!==void 0?[Mr]:[]),er=(async()=>{try{return{type:"data",result:await(Qe?Qe(mn=>Ht(mn)):Ht())}}catch(Mr){return{type:"error",result:Mr}}})();return Promise.race([er,St])};try{let ot=rn.route[Bn];if(Rt)if(ot){let et,[St]=await Promise.all([Mt(ot).catch(Ht=>{et=Ht}),Rt]);if(et!==void 0)throw et;yt=St}else if(await Rt,ot=rn.route[Bn],ot)yt=await Mt(ot);else if(Bn==="action"){let et=new URL(ar.url),St=et.pathname+et.search;throw Te(405,{method:ar.method,pathname:St,routeId:rn.route.id})}else return{type:O.data,result:void 0};else if(ot)yt=await Mt(ot);else{let et=new URL(ar.url),St=et.pathname+et.search;throw Te(404,{pathname:St})}u(yt.result!==void 0,"You defined "+(Bn==="action"?"an action":"a loader")+" for route "+('"'+rn.route.id+"\" but didn't return anything from your `"+Bn+"` ")+"function. Please return a value or `null`.")}catch(ot){return{type:O.error,result:ot}}finally{Ze&&ar.signal.removeEventListener("abort",Ze)}return yt}async function or(Bn){let{result:ar,type:rn}=Bn;if(kt(ar)){let St;try{let Ht=ar.headers.get("Content-Type");Ht&&/\bapplication\/json\b/.test(Ht)?ar.body==null?St=null:St=await ar.json():St=await ar.text()}catch(Ht){return{type:O.error,error:Ht}}return rn===O.error?{type:O.error,error:new Xe(ar.status,ar.statusText,St),statusCode:ar.status,headers:ar.headers}:{type:O.data,data:St,statusCode:ar.status,headers:ar.headers}}if(rn===O.error){if(qe(ar)){var Rt,Qe;if(ar.data instanceof Error){var Ye,yt;return{type:O.error,error:ar.data,statusCode:(Ye=ar.init)==null?void 0:Ye.status,headers:(yt=ar.init)!=null&&yt.headers?new Headers(ar.init.headers):void 0}}return{type:O.error,error:new Xe(((Rt=ar.init)==null?void 0:Rt.status)||500,void 0,ar.data),statusCode:Fe(ar)?ar.status:void 0,headers:(Qe=ar.init)!=null&&Qe.headers?new Headers(ar.init.headers):void 0}}return{type:O.error,error:ar,statusCode:Fe(ar)?ar.status:void 0}}if(wt(ar)){var Ze,Mt;return{type:O.deferred,deferredData:ar,statusCode:(Ze=ar.init)==null?void 0:Ze.status,headers:((Mt=ar.init)==null?void 0:Mt.headers)&&new Headers(ar.init.headers)}}if(qe(ar)){var ot,et;return{type:O.data,data:ar.data,statusCode:(ot=ar.init)==null?void 0:ot.status,headers:(et=ar.init)!=null&&et.headers?new Headers(ar.init.headers):void 0}}return{type:O.data,data:ar}}function qn(Bn,ar,rn,Rt,Qe,Ye){let yt=Bn.headers.get("Location");if(u(yt,"Redirects returned/thrown from loaders/actions must have a Location header"),!mt.test(yt)){let Ze=Rt.slice(0,Rt.findIndex(Mt=>Mt.route.id===rn)+1);yt=on(new URL(ar.url),Ze,Qe,!0,yt,Ye),Bn.headers.set("Location",yt)}return Bn}function Hr(Bn,ar,rn){if(mt.test(Bn)){let Rt=Bn,Qe=Rt.startsWith("//")?new URL(ar.protocol+Rt):new URL(Rt),Ye=te(Qe.pathname,rn)!=null;if(Qe.origin===ar.origin&&Ye)return Qe.pathname+Qe.search+Qe.hash}return Bn}function fo(Bn,ar,rn,Rt){let Qe=Bn.createURL(un(ar)).toString(),Ye={signal:rn};if(Rt&&tn(Rt.formMethod)){let{formMethod:yt,formEncType:Ze}=Rt;Ye.method=yt.toUpperCase(),Ze==="application/json"?(Ye.headers=new Headers({"Content-Type":Ze}),Ye.body=JSON.stringify(Rt.json)):Ze==="text/plain"?Ye.body=Rt.text:Ze==="application/x-www-form-urlencoded"&&Rt.formData?Ye.body=Jr(Rt.formData):Ye.body=Rt.formData}return new Request(Qe,Ye)}function Jr(Bn){let ar=new URLSearchParams;for(let[rn,Rt]of Bn.entries())ar.append(rn,typeof Rt=="string"?Rt:Rt.name);return ar}function ro(Bn){let ar=new FormData;for(let[rn,Rt]of Bn.entries())ar.append(rn,Rt);return ar}function Xt(Bn,ar,rn,Rt,Qe){let Ye={},yt=null,Ze,Mt=!1,ot={},et=rn&&xe(rn[1])?rn[1].error:void 0;return Bn.forEach(St=>{if(!(St.route.id in ar))return;let Ht=St.route.id,er=ar[Ht];if(u(!Ae(er),"Cannot handle redirect results in processLoaderData"),xe(er)){let Mr=er.error;if(et!==void 0&&(Mr=et,et=void 0),yt=yt||{},Qe)yt[Ht]=Mr;else{let mn=Qt(Bn,Ht);yt[mn.route.id]==null&&(yt[mn.route.id]=Mr)}Ye[Ht]=void 0,Mt||(Mt=!0,Ze=Fe(er.error)?er.error.status:500),er.headers&&(ot[Ht]=er.headers)}else Pe(er)?(Rt.set(Ht,er.deferredData),Ye[Ht]=er.deferredData.data,er.statusCode!=null&&er.statusCode!==200&&!Mt&&(Ze=er.statusCode),er.headers&&(ot[Ht]=er.headers)):(Ye[Ht]=er.data,er.statusCode&&er.statusCode!==200&&!Mt&&(Ze=er.statusCode),er.headers&&(ot[Ht]=er.headers))}),et!==void 0&&rn&&(yt={[rn[0]]:et},Ye[rn[0]]=void 0),{loaderData:Ye,errors:yt,statusCode:Ze||200,loaderHeaders:ot}}function Je(Bn,ar,rn,Rt,Qe,Ye,yt){let{loaderData:Ze,errors:Mt}=Xt(ar,rn,Rt,yt,!1);return Qe.forEach(ot=>{let{key:et,match:St,controller:Ht}=ot,er=Ye[et];if(u(er,"Did not find corresponding fetcher result"),!(Ht&&Ht.signal.aborted))if(xe(er)){let Mr=Qt(Bn.matches,St==null?void 0:St.route.id);Mt&&Mt[Mr.route.id]||(Mt=r({},Mt,{[Mr.route.id]:er.error})),Bn.fetchers.delete(et)}else if(Ae(er))u(!1,"Unhandled fetcher revalidation redirect");else if(Pe(er))u(!1,"Unhandled fetcher deferred data");else{let Mr=Dr(er.data);Bn.fetchers.set(et,Mr)}}),{loaderData:Ze,errors:Mt}}function At(Bn,ar,rn,Rt){let Qe=r({},ar);for(let Ye of rn){let yt=Ye.route.id;if(ar.hasOwnProperty(yt)?ar[yt]!==void 0&&(Qe[yt]=ar[yt]):Bn[yt]!==void 0&&Ye.route.loader&&(Qe[yt]=Bn[yt]),Rt&&Rt.hasOwnProperty(yt))break}return Qe}function xt(Bn){return Bn?xe(Bn[1])?{actionData:{}}:{actionData:{[Bn[0]]:Bn[1].data}}:{}}function Qt(Bn,ar){return(ar?Bn.slice(0,Bn.findIndex(Rt=>Rt.route.id===ar)+1):[...Bn]).reverse().find(Rt=>Rt.route.hasErrorBoundary===!0)||Bn[0]}function qt(Bn){let ar=Bn.length===1?Bn[0]:Bn.find(rn=>rn.index||!rn.path||rn.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:ar}],route:ar}}function Te(Bn,ar){let{pathname:rn,routeId:Rt,method:Qe,type:Ye,message:yt}=ar===void 0?{}:ar,Ze="Unknown Server Error",Mt="Unknown @remix-run/router error";return Bn===400?(Ze="Bad Request",Qe&&rn&&Rt?Mt="You made a "+Qe+' request to "'+rn+'" but '+('did not provide a `loader` for route "'+Rt+'", ')+"so there is no way to handle the request.":Ye==="defer-action"?Mt="defer() is not supported in actions":Ye==="invalid-body"&&(Mt="Unable to encode submission body")):Bn===403?(Ze="Forbidden",Mt='Route "'+Rt+'" does not match URL "'+rn+'"'):Bn===404?(Ze="Not Found",Mt='No route matches URL "'+rn+'"'):Bn===405&&(Ze="Method Not Allowed",Qe&&rn&&Rt?Mt="You made a "+Qe.toUpperCase()+' request to "'+rn+'" but '+('did not provide an `action` for route "'+Rt+'", ')+"so there is no way to handle the request.":Qe&&(Mt='Invalid request method "'+Qe.toUpperCase()+'"')),new Xe(Bn||500,Ze,new Error(Mt),!0)}function Gt(Bn){let ar=Object.entries(Bn);for(let rn=ar.length-1;rn>=0;rn--){let[Rt,Qe]=ar[rn];if(Ae(Qe))return{key:Rt,result:Qe}}}function un(Bn){let ar=typeof Bn=="string"?p(Bn):Bn;return _(r({},ar,{hash:""}))}function Vt(Bn,ar){return Bn.pathname!==ar.pathname||Bn.search!==ar.search?!1:Bn.hash===""?ar.hash!=="":Bn.hash===ar.hash?!0:ar.hash!==""}function Dn(Bn){return Bn!=null&&typeof Bn=="object"&&"type"in Bn&&"result"in Bn&&(Bn.type===O.data||Bn.type===O.error)}function Wt(Bn){return kt(Bn.result)&&$e.has(Bn.result.status)}function Pe(Bn){return Bn.type===O.deferred}function xe(Bn){return Bn.type===O.error}function Ae(Bn){return(Bn&&Bn.type)===O.redirect}function qe(Bn){return typeof Bn=="object"&&Bn!=null&&"type"in Bn&&"data"in Bn&&"init"in Bn&&Bn.type==="DataWithResponseInit"}function wt(Bn){let ar=Bn;return ar&&typeof ar=="object"&&typeof ar.data=="object"&&typeof ar.subscribe=="function"&&typeof ar.cancel=="function"&&typeof ar.resolveData=="function"}function kt(Bn){return Bn!=null&&typeof Bn.status=="number"&&typeof Bn.statusText=="string"&&typeof Bn.headers=="object"&&typeof Bn.body<"u"}function ut(Bn){if(!kt(Bn))return!1;let ar=Bn.status,rn=Bn.headers.get("Location");return ar>=300&&ar<=399&&rn!=null}function Ft(Bn){return we.has(Bn.toLowerCase())}function tn(Bn){return Ne.has(Bn.toLowerCase())}async function In(Bn,ar,rn,Rt,Qe){let Ye=Object.entries(ar);for(let yt=0;yt<Ye.length;yt++){let[Ze,Mt]=Ye[yt],ot=Bn.find(Ht=>(Ht==null?void 0:Ht.route.id)===Ze);if(!ot)continue;let et=Rt.find(Ht=>Ht.route.id===ot.route.id),St=et!=null&&!Zn(et,ot)&&(Qe&&Qe[ot.route.id])!==void 0;Pe(Mt)&&St&&await Sr(Mt,rn,!1).then(Ht=>{Ht&&(ar[Ze]=Ht)})}}async function rr(Bn,ar,rn){for(let Rt=0;Rt<rn.length;Rt++){let{key:Qe,routeId:Ye,controller:yt}=rn[Rt],Ze=ar[Qe];Bn.find(ot=>(ot==null?void 0:ot.route.id)===Ye)&&Pe(Ze)&&(u(yt,"Expected an AbortController for revalidating fetcher deferred result"),await Sr(Ze,yt.signal,!0).then(ot=>{ot&&(ar[Qe]=ot)}))}}async function Sr(Bn,ar,rn){if(rn===void 0&&(rn=!1),!await Bn.deferredData.resolveData(ar)){if(rn)try{return{type:O.data,data:Bn.deferredData.unwrappedData}}catch(Qe){return{type:O.error,error:Qe}}return{type:O.data,data:Bn.deferredData.data}}}function Yr(Bn){return new URLSearchParams(Bn).getAll("index").some(ar=>ar==="")}function Pr(Bn,ar){let rn=typeof ar=="string"?p(ar).search:ar.search;if(Bn[Bn.length-1].route.index&&Yr(rn||""))return Bn[Bn.length-1];let Rt=oe(Bn);return Rt[Rt.length-1]}function Mn(Bn){let{formMethod:ar,formAction:rn,formEncType:Rt,text:Qe,formData:Ye,json:yt}=Bn;if(!(!ar||!rn||!Rt)){if(Qe!=null)return{formMethod:ar,formAction:rn,formEncType:Rt,formData:void 0,json:void 0,text:Qe};if(Ye!=null)return{formMethod:ar,formAction:rn,formEncType:Rt,formData:Ye,json:void 0,text:void 0};if(yt!==void 0)return{formMethod:ar,formAction:rn,formEncType:Rt,formData:void 0,json:yt,text:void 0}}}function sr(Bn,ar){return ar?{state:"loading",location:Bn,formMethod:ar.formMethod,formAction:ar.formAction,formEncType:ar.formEncType,formData:ar.formData,json:ar.json,text:ar.text}:{state:"loading",location:Bn,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Ar(Bn,ar){return{state:"submitting",location:Bn,formMethod:ar.formMethod,formAction:ar.formAction,formEncType:ar.formEncType,formData:ar.formData,json:ar.json,text:ar.text}}function vr(Bn,ar){return Bn?{state:"loading",formMethod:Bn.formMethod,formAction:Bn.formAction,formEncType:Bn.formEncType,formData:Bn.formData,json:Bn.json,text:Bn.text,data:ar}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:ar}}function qr(Bn,ar){return{state:"submitting",formMethod:Bn.formMethod,formAction:Bn.formAction,formEncType:Bn.formEncType,formData:Bn.formData,json:Bn.json,text:Bn.text,data:ar?ar.data:void 0}}function Dr(Bn){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:Bn}}function eo(Bn,ar){try{let rn=Bn.sessionStorage.getItem(ce);if(rn){let Rt=JSON.parse(rn);for(let[Qe,Ye]of Object.entries(Rt||{}))Ye&&Array.isArray(Ye)&&ar.set(Qe,new Set(Ye||[]))}}catch{}}function Vo(Bn,ar){if(ar.size>0){let rn={};for(let[Rt,Qe]of ar)rn[Rt]=[...Qe];try{Bn.sessionStorage.setItem(ce,JSON.stringify(rn))}catch(Rt){f(!1,"Failed to save applied view transitions in sessionStorage ("+Rt+").")}}}},616669:function(b){"use strict";b.exports={badge:"NWDT1SXISIE8pgmo",knockoutBadge:"RzMb6i6NVY3pIvFo",knockoutButton:"jcz4z00aAaED7fo7",premiumFeature:"BugSBR0HmcuB166o",standaloneBadge:"isI5uTGVbkdClWnO",clickable:"sidtXuJyoSk1cGrL"}},508054:function(b){"use strict";b.exports={panel:"XhbX_A_m8vjFMtoh",description:"CDDye7tvF98R01D8",learnMore:"INB_gOOwk_4cPfis"}},241858:function(b){"use strict";b.exports={container:"tSpNz0nAcBseqa3S"}},239281:function(b){"use strict";b.exports={handle:"M3E2c_MCk0CZVji8"}},36380:function(b){"use strict";b.exports={fieldContainer:"LcZ0nKKdQeEeWNTq",adapterMode:"Yl8YkBa6Ab48cnQU",flush:"xhac9rLRhhID7dNV",indented:"HupWePyLwJ0mhTXj",indentMultiplier1:"kq0aOemI_hkOa0BR",indentMultiplier1_5:"GytmVhvL9pUyXdPp",indentMultiplier2:"bAOOp70wFZ0C8p4M",indentMultiplier2_5:"sMrwmN0YqJQHB1Rz",indentMultiplier3:"IRPjDpSU4wgy9pc1",indentMultiplier3_5:"DONmTJAPwUYyRsoX",indentMultiplier4:"XXS2jCViy6Mj21ts",indentMultiplier4_5:"nTFRp6A9nYAwm8KY",indentMultiplier5:"FTpNfTsGcaEB_Aiq",floating:"yw9_HkwINlomhn8G"}},984065:function(b){"use strict";b.exports={separator:"OT13rIuSdssfFgTE",adapterMode:"iB74GTgUEAEBYTe2",flush:"QkxW4jo26VALNECQ",dark:"jzsG_VF3iU7LlCnc",animated:"sGhM8MjSTIVIb2Ir",focused:"HbXof9W3iZsjdR3C"}},632199:function(b){"use strict";b.exports={embed:"M8dx4KCVEQE5eoiH",found:"VaPztVnmeMg0FdOr"}},180225:function(b){"use strict";b.exports={container:"mNP_SSinkJ8ymtcI",isFlush:"AhWGAQbLjEIBoabR",layerContainer:"FixTM48JYp4J21qh",focalPoint:"vseGwh0h0gXnJznG",baseLayer:"WQpgGjHJ2gK4rMe9",composeLayer:"UHBdHldeIzwjXtOU"}},612333:function(b){"use strict";b.exports={rowContainer:"f0n7Z6WjCI8DtnGm",rowInputContainer:"ofuAJQjklaYg63fg",rowErrors:"F0FNgaNiHQFotDlD",row:"rtxWgPOAoS0aFcac"}},801264:function(b){"use strict";b.exports={dismissableContainer:"kda41rbivjckSX3t",buttonContainer:"jvwoK5YcTsgZU_iM"}},466664:function(b){"use strict";b.exports={container:"_6qb7hbsuhAq_wVw",top:"RPlR3hz40rNI_IiB",center:"vCOHAPmPrYdZ5hTb",fillHeight:"YrhswFJpN2szpB0y",messageContainer:"pAJzwfapQRsqmPeY",title:"fEoZXnDAsQAS7nrf",message:"mJWEJdjuoPISidv6",afterOpen:"FyHr9bPh0QDUxq_g",beforeClose:"Mjdq__nnYUzwNR5L"}},979792:function(b){"use strict";b.exports={overlay:"MR2Jtq6vqyY5hHAR",content:"z0bybeOQjUz2qu3g",draggable:"elCRbC9n9gxA9pO_",dragHandle:"NMqQLtawGKoYPx9H",isDragging:"_vYsxvrN1YIcQT1N"}},85743:function(b){"use strict";b.exports={icon:"jF7TrUvXyAgyi6h7",fill:"PR5f5gc48ZktMssU",contain:"noPvjufTgs5ekZyu",cover:"rCuE1d9AQUsQ2zm_",none:"taabegSll7YxgpNr"}},102246:function(b){"use strict";b.exports={button:"s_xRCGfK6fAleZCK"}},295080:function(b){"use strict";b.exports={container:"c3Sq0OLdg4AMlwaX",accessory:"o3CMcF3o640EbY5F",beforeInput:"ced0NprUq186kqLr",afterInput:"my2CKO6JjW8OhwG5",input:"R_Yj8WskGBcMwZgK",disabled:"GIgNPJ5EwT1c8FRv"}},525021:function(b){"use strict";b.exports={clear:"aRGe2jrCaZAgLb1Q"}},570928:function(b){"use strict";b.exports={action:"LX1_nroVndcgoqrs",animating:"VbTVtBFfcG4BD9dk",enter:"GVRVuDj7pMJ3i_zN"}},84329:function(b){"use strict";b.exports={label:"WgU4K6p9k805fJxw",disabled:"REvG7LClzIohj11c",grow:"_4GyBT2tT8IyjCMV",padded:"VnLQqZxTIY4i3_Uy",context:"niuRtvi4IxYwsY2x",firstField:"mYnj0KxKmHgVXYhR",indented:"KQiE4a03gJ88cRD8",indentMultiplier1:"Jradla6BMBgjGuXZ",indentMultiplier1_5:"UnYz3n2_KSAMXh1V",indentMultiplier2:"N9bBZvxyE_YBcDTW",indentMultiplier2_5:"UoUcQvKmAxZvVbqg",indentMultiplier3:"ry8dIcRGoqgfqzlf",indentMultiplier3_5:"fMqG2bT9AI4knKqt",indentMultiplier4:"WD7sdEPFkVcJWEaR",indentMultiplier4_5:"lDZxeW47aisLM47v",indentMultiplier5:"GOOgoJ3ShGw3djBL"}},26284:function(b){"use strict";b.exports={button:"Tx6bnDYoZ5stFwBq",primary:"U3NtL7DEAQQn0GJ9",recommend:"vP4WUF_YMoeh7qcT",minor:"LTHRvbdgjgTYgrs5",caution:"ijKb7_KZJMpOzpzl",inset:"XeQHoMWAmKA789VK",text:"rjhdZzmUhsUMfLpN",buttonContainer:"PQ_c2oUZYD0up0h4",aureus:"cn68j4ptim8q8t1l"}},927490:function(b){"use strict";b.exports={shake:"Osv482wO60BF_aLs",shiver:"JAK9q6vDUV0v86cV",shimmy:"kbcj2zNF_GscLan9",spin:"WzKlLeRa8m0KAIsm",pulseBadgeOpacity:"NxnC83JyTaEYfhv2",fadeout:"TBXfmR3ecb8kU0Ub",fadein:"bFkRiecDivgOcbyx",riseandfadein:"IUkdCPoGbMjUwPDS",circleFiller:"npXYta9DnRARzwy_ UgM2fOOtl8YyRIVF",aureusCircleFiller:"araf9zMXI5Eo1rIj jaMdzGD_iuQBTFdc",check:"kTZuABdlQX0FJiXU",circle:"hfq3mI7B7knvMcOW",active:"smetvO1kLOsRvQrm",isDisabled:"xSNNfUUsJHwQBl8G",title:"LM56e4LECsLfUI5J",description:"vWArcrBEox00u5sY",aureus:"G0o8ynO3LI50VFFL"}},506904:function(b){"use strict";b.exports={container:"Ot5i0koowZx6uQQe",option:"WvPyk6unhcgRfkiu"}},961482:function(b){"use strict";b.exports={wrapped:"IckYxkLIjF0TJNMo",title:"el5JxGBkM6EJpIx9 BB3Ea1IS88GKpjmH",text:"rxIJFNmcZuIK4dqq VAqHeH4qVD8CE_QI",aureus:"kppiJOWaw3A0B60Z",midnight:"Iy9PYAzuxrM_ZjYt"}},138900:function(b){"use strict";b.exports={error:"dtKD36kc70EZVfzx"}},877643:function(b){"use strict";b.exports={wrapper:"Km0ZZUvM4wQid206",midnight:"xN6xB2XtZcs2TqxT"}},289050:function(b){"use strict";b.exports={container:"zw1AE1eqyvoXWYrh",option:"b_hes67ghSY2Hmva",active:"xCvBFrLucoA2PFqB",optionActive:"flVQ5f_L9gFhodXD",optionInput:"S6NSExikvNQqWu9V",aureus:"KyMPWqN5Txw2Tqo6"}},922517:function(b){"use strict";b.exports={container:"_QVr8TFS_jIWj3oH",errorMessage:"aBnsAh8jMmQDupB1",childField:"t8Aky4NMT_IvMTmp",inline:"CRBAhajbWLgxPpiZ",midnight:"Nlm7etpoDcUe9QAS",input:"urLl7OjA0mxGxeDo",inputinput:"p478RcLkIhcv3f1J",isFocused:"yf4A0Uh_4rI5PTJr",large:"EEcARJCYtgw351jO",readOnly:"_KpF_Op_08R1PKIF",hasErrors:"PZGxMdzvF1c1IL51",denarius:"G1m3FV16mnkvsh8V",aureus:"GAaJG1R8x0nHuLuQ"}},273620:function(b){"use strict";b.exports={inline:"onoFkYEDwegpm2We",denarius:"P0GGnDxMSovpEYJJ",unlabeled:"W0k_IFnY58KcOMPi",hasValue:"F6yMgI2kTg5kVjRl",isFocused:"WkDRgu4mHScryvyL",aureus:"jpJmwePZ5MGY19Md"}},71081:function(b){"use strict";b.exports={label:"qqJqK1gpXckqv9pW",midnight:"ahiXcOkm6GATY5DS",aureus:"EC3vw6UnGcMRvtII"}},985395:function(b){"use strict";b.exports={option:"LVBi2Mzt54fqqXR8",isDisabled:"pmCNur8oMEOn7e6b",disabledOption:"hyiSUeW3Y0EEdxho",label:"uDj7DgwiIona0fNj",description:"kLeEKsE7f2cJFo1Y",aureus:"xilb0E5_GXss5Vmn"}},812726:function(b){"use strict";b.exports={container:"qghBWnCMcoIGI355",search:"AZaIplZ0rk43MrCT",hiddenSearchIcon:"ZwcNLp9A7A0u64Z4",searchIcon:"YwsZw6_AmkMGqWn5 dxhi30JXkI1OalJ7",resetButton:"zg4zCQlozvg_M9xz N5otEs7xPQIf93U6",buttonHidden:"eoxIr5hq0t0i5DM5",hasErrors:"i4mCOmFeOF42TjXm"}},950728:function(b){"use strict";b.exports={container:"MnjpUgF_JWcVMk5a gCgSlSxYUwkniKm8",light:"YE69V_bj6E6b7j6B",minor:"jxEybsGOqocK_LWu",hasErrors:"owT1PskfCtsrFKSF",selectField:"jekGtva9AFETXG9e",label:"CUhsOBlKS0WFUbJp D_8xvdFzi0wvYAZu",midnight:"TdMW76as5do874J2",isDefaultValue:"PQdw5HmI9nEAPqDG",isFocused:"jjmf4P_raqQbjRKs",denarius:"DOEGOmeXOpoQZ6VA",aureus:"fo2wN2m2cRPyKzGe"}},399710:function(b){"use strict";b.exports={aureus:"ug7FXrwDQy8J1Tfx",hasValue:"hOOySJl6ewMZMMOv",denarius:"TkSDly7yQuQ6Qy07",unlabeled:"jyhQlHzmMMM9t_0V"}},842702:function(b){"use strict";b.exports={container:"xZYzn7otj102HxUB",valueLabel:"xxtXG_BKDBctLisL",slider:"aijwQACT3uAU24nK",aureus:"EbWb9nrV5WQ2TTMc"}},114023:function(b){"use strict";b.exports={container:"gJGeuj_AWcdw6GEJ",textarea:"ox19net3mU_fW_Qu gCgSlSxYUwkniKm8",hasCharCount:"Z52HT0TA0Acehuyx",sizingHelper:"fnyAnM1cLZYY4x5P gCgSlSxYUwkniKm8",denariusContainer:"VfbMzpuIp7U5WSrj",hasErrors:"sYg70rKVB5MMvrbd",readOnly:"XUKTzjxAihcwf2kc",denarius:"_8KGkl3oMFUWQhbC",charCount:"n_SBVqJjuUg8RlKH",charCountError:"NyHpLm1ZL0yKlGr9",aureus:"ldwpdQdxNicIqdU3",aureusContainer:"RzGNkBG9coNLkTLc"}},222629:function(b){"use strict";b.exports={container:"bUAPM0pz34xEEr3P",disabled:"tlLNTB0sNwEiC_it",active:"_qbRLYjPeNIIO048",toggleBackground:"G1lGfNkV9CkwBi_W",handle:"RblBl_Vi9wA0W5kl",on:"lbNIv52meYnX6MC9",off:"QbcvA4HrQ2AQANzL",switchBox:"mCdI9IyBTYIQlo75",toggleBox:"kVEN2SF9BRsk5X_t",handleWrapper:"qes8MzIS_8TtuxKJ",switchShadow:"bHvOe3tJPEbT4p__",small:"AnJLA59DI2sws8Aw"}},153940:function(b){"use strict";b.exports={shake:"VirN1GkmAkg48Dmb",shiver:"wG1SzzXbRzEHTkjI",shimmy:"lI6yIT6pZV4glOmX",spin:"sXfLaYYn1S474So5",pulseBadgeOpacity:"bqqjgsmATbc4TsrX",fadeout:"fSUYWIuNQM8NnJf_",fadein:"OAbeO8YpSvAeyqB0",riseandfadein:"i25te8x_qg9fgmJA"}},732226:function(b){"use strict";b.exports={icon:"gicQBdU8DasYcdMx",redactedInfoContainer:"VZjSJQZsD1IGUhs2"}},28774:function(b){"use strict";b.exports={containerInner:"WCcEoyMWek44y_b4",productImage:"BDWd3gYPlzk6SqBl",iconContainer:"pDxnxN_v0kpkJ7Xx",trashButton:"mNAPAh9JDvotwI5P",trashIcon:"rQIF2va4yxsd3wZG",active:"VKpVlPX0OyYjPAtk"}},50525:function(b){"use strict";b.exports={fullscreenModal:"hSXmI8cWKOswVuDM",modalBackground:"U6SdnhjWtigsTgf8",modalBackgroundEntering:"oTV4R2CVNuAcwksK",modalBackgroundEnteringActive:"qlTqYOqCvKMgm9v9",modalBackgroundExitingActive:"z1MH9tCOiAIt4qGD",modalDialog:"dzD3aLpkxrAc2FhW","slide-from-right":"Q5nx6oFx8gUZTPd8",modalDialogInnerWrapper:"vTQAhDStslMUSuXN","static-from-right":"G957pVZXqmcroE9p",modalDialogExitingActive:"Rr5oPf03cjELIF_I","slide-to-left":"Je4HP4sFgcgilqsx","static-to-left":"yDnjcOQVnygQa4HV",customerLoadingWrapper:"A3b08301T40xddgk",modalBody:"Jq7LwMQZjY0XZu2V",fullBleedModal:"PzgtoY6UssMtHbRP",modalScroll:"dQoM9cZbbkz5_kpk",modalContentAnimationContainer:"RykAjXqNoTod57ln",isInverted:"mvUTOcHKpfoYGM8T",modalContentAnimationInnerWrapper:"UfjIjzQ1EaUbLZu0",fullBleedAnimationInnerWrapper:"VPqXCbtILAX4iZ7p",forward:"ltJKtRKQe46GxpR0",entering:"cAN7w3K9M4cIPQ4D",back:"_MoAlJSzVgoUAz5m",exiting:"Mog1JMtwNOAcUb6c","slide-from-left":"DZ87D7N7JnwWTzPr","static-from-left":"Fr0O5UlAX08DyTf_","overlay-fade":"qFU5e1lYv8ACGKKo"}},236657:function(b){"use strict";b.exports={crossSellContainer:"HG2pW4VOBaUgU0w1","anim-fade-enter-down":"dTLtsdHT5JMHBMkK"}},89960:function(b){"use strict";b.exports={modalHeaderFullBleed:"co1UNbMz8glfBa9Q",modalHeaderSplitScreen:"ZdQrVQ5lmQrFmBHJ",modalHeaderInverted:"fORb_71k4joQUZIA",modalClose:"YI5rXoYEMQE4mVux",modalCloseInverted:"Uy5dd4WHpBsMpY2i"}},37843:function(b){"use strict";b.exports={nav:"i5VBNnCrN0K1u9i0",mobileNav:"dM5XxGyZrlQ30WhX",leftSide:"rtjkBHOVY0HEArJx",rightSide:"_724yRbEuRYlbs8K",closeIcon:"D25VLZNHuqkXrY9n",screenTitle:"URv87oMbREEQGBI8",inverted:"Ouqm5QkXrmAJfDzt",breadcrumb:"ygx1MvkHLYRxinPo",iconContainer:"RCsWN9x5lLEeUMhD"}},137180:function(b){"use strict";b.exports={error:"dI5WQIHCOSYmzrLS",spinner:"_sPYXm98Oe4fgTyn",payButton:"ogycrF_J4EyoQAGi",processingLoadingIndicator:"hI4iT9EJAnn5z8BH",continueButtonGroup:"gcDHvujjbLQxuC2P",disclaimer:"XrjWt5nMYUkZ_RLY"}},362194:function(b){"use strict";b.exports={cellWithTooltip:"G8NJUvptq0GXl1qj",name:"jzMgeRoaM9QLzErg"}},819158:function(b){"use strict";b.exports={screenLayout:"Ndd6hRk11AXfLT36",isFullBleed:"h2LRaJgMe3sjzXQS",contentArea:"RqUBKMFSmEb9D_T2",isSplit:"teKgvNIYDjotamIL",previewArea:"aF2rNhjOVYnh1bgj",withHeader:"Jv4c7sK8uLgexdjn"}},194979:function(b){"use strict";b.exports={screenLayout:"DTAhB6_rzCcBXVB5",screenLayoutSplit:"zJQvq34eoX89BnnL",loadingWrapper:"VeK1ztAZj4iF1CXd",screenLayoutFull:"S_Z_DMz2h0wwiQYI",screenLayoutCentered:"c1s2wcM_SBsGZe8o",screenFullBleed:"T95XVB7Ll14Ih7gR"}},870629:function(b){"use strict";b.exports={animatedText:"ch7UfegN0YWbAQMg","anim-fade-enter-down":"gJXqiPmkxRYN8KBd",title:"eilo2yHMxzg1fHBC",subtitle:"iSOsMASA7tYN2oLj"}},717966:function(b){"use strict";b.exports={paymentSummary:"L4Avpy2mlDA9r2tM","anim-fade-enter-down":"XcROrdKeSmIE6QpE",receipt:"oTAJQuy730kYWVUE",details:"Pi_JaeXjgtIxYtee",ctaContainer:"z_sxS2qX5sCkEZWv"}},73429:function(b){"use strict";b.exports={container:"a9Z0GXjJclH9MlKM",fieldInner:"CKwiM1fXL7IDACEj",buttonContainer:"rK52iwMzS0wJGILg",accessory:"qiXHbNUcDooo5jUc"}},955718:function(b){"use strict";b.exports={link:"XFl6Qw7qhyAgsJx6"}},568645:function(b){"use strict";b.exports={link:"tPhxZtvcgDEONb_B"}},218403:function(b){"use strict";b.exports={checkoutAppContainer:"OD1Tes371EE4i4AC"}},294451:function(b){"use strict";b.exports={videoPlayer:"A5DfCJkqWAYqKu8j"}},334201:function(b){"use strict";b.exports={isCompact:"sYgy_li181g2pM_F"}},50563:function(b){"use strict";b.exports={navigationHeader:"iKe5Ek2I83oUHnOK"}},936980:function(b){"use strict";b.exports={isCompact:"KHkJwkPsisrvsd5u"}},777321:function(b){"use strict";b.exports={container:"WO2TP3kfoh0CSDyV",imageContainer:"PPF72kqsd8AptGgr",image:"_M6DUcLUFMXjyyCW",hasAssetUrl:"LvJfmHFiybQXaGwz",isInImageBlock:"XbnI8gjz1o7GZEOI",imageWrapper:"Q11bzeoVn3EeRi3U",caption:"ifaqYDMdLtgjypnh"}},917697:function(b){"use strict";b.exports={indicator:"I3URPopxIDATmZDZ",cancelButtonMiniFlex:"ckUXx604E90MBFeP",cancelButtonMiniContainer:"sjcXsdlDIHoKi3xk",cancelButtonLargeContainer:"_39XxnEGDJMiXY35",cancelButtonTouchable:"xYvQnV5wZrIPfmxt"}},122357:function(b){"use strict";b.exports={droppableArea:"c_Nj96RCL68DkJkk"}},302198:function(b){"use strict";b.exports={wrapper:"nwugPfd4w05ohppE",contentArea:"pVICSNACVxE3grTg",touchable:"eTPC78FPxHITNinX",isFocused:"kjCwNXMEkrwWitCB",isHovered:"LwDApipsoFgk3evK"}},450953:function(b){"use strict";b.exports={image:"UV53LfVkWQK6cYfR",background:"TBlQk_Gg1Qsf9wI0"}},65266:function(b){"use strict";b.exports={center:"UYx0mZbR1OQKV057"}},694933:function(b){"use strict";b.exports={handle:"Kn7ociuuh4sE54dO",handleDragging:"FrrKR1g3xcBg8m3_"}},693973:function(b){"use strict";b.exports={container:"EY7NDmfJyCsF5PUz",empty:"Bvz5XMSkf6I80oT0",error:"MjgmRueDd4Y8Nfce",image:"sBRCyXEEIcYrxQR5",loaded:"wuo5tVJfQpsH3I6i",transparent:"OkfMAxoMB70_jCkA"}},79158:function(b){"use strict";b.exports={spinner:"RSarsmzMZG82t_V5","valign-top":"QXbYB5b9U3sJrJfy","valign-bottom":"XD9cC3fpInQ_Kb4h","valign-center":"evMjH6K49KcygEvw","halign-left":"pj1Oy2lE8PoapKiQ","halign-right":"KcdkJH3KxjMgIeg1","halign-center":"HBMiTNAZr6Q5bKOi",overlay:"nD3n4aBeB3Ai2JaS",light:"Pl84rfyApDgSJBHL",dark:"phjXPyPJe0sHNLLM","extra-small":"zKU7b3Z20WA3nMEC",small:"Z1ptMmr4Urs6rO_1",default:"yl7nki3O_KcwAIgA",medium:"KMin_Q_9atcxYegJ",large:"eyBjPyLJ_BwG8PuL","extra-large":"_6zn8BzssEgU7UJF","xx-large":"cBBww5npf5YiTpAb",custom:"yAmVupSvH14LI8hM"}},892562:function(b){"use strict";b.exports={body:"cpWwmpHW1M8ztIN6",parent:"cWeX_bAXdETNr6Hm",midnight:"PrH0P25PnSQEbK_u"}},435111:function(b){"use strict";b.exports={button:"DKcl7WbxT3AH6zV8",minor:"HYCdH4op4t4HsrXQ aOK70lHSfs4WLKOR _5iYlpKgPzcyibdB",primary:"lfcRgbzo2nsW_VAN oKKxLwy1pAwuEqoG _5iYlpKgPzcyibdB",caution:"UO2pASi_FScFRZSp GR1ThjRGxRYNMgzB _5iYlpKgPzcyibdB",aureus:"jKAvfuaOTAE0Plc9"}},307248:function(b){"use strict";b.exports={headerWithoutBody:"okl5WXoLMQ2f4Ees"}},186100:function(b){"use strict";b.exports={container:"O32PxByH32Issr3L",dialogHeader:"RTPW69TSwqYu_7sY",dialogBody:"p3IZ1_bNWJEM5aqX",dialogFooter:"em7XYTWmzIcqHPxQ",isHidingFooter:"Ml5obZxSFFsP_gb0",fixedHeight:"mYiqoPHKP44Tqz2x",scrollWrapper:"Q3n5XRFOOkS7EMTq",arrow:"PnrBy599bushsXHK",toLeft:"J3tjX3COujgqHty6",toRight:"KJIfqHLL_YQWaMEW",toTop:"l8VfkKt4oRMyZ4tR",toBottom:"uUdz2GLN51g0cFra"}},259549:function(b){"use strict";b.exports={pointer:"yRx5QK8oRQPxLQZv",TOP_LEFT:"gh5JJY7n3d0fXuic",CENTER_LEFT:"HnUiQkDQnIvSDelO",BOTTOM_LEFT:"xmchDjERv2wqvBgy",right:"QRnJB88K0KkG3avo",TOP_RIGHT:"lbw0uKcJoY8xNiSB",CENTER_RIGHT:"MkwTgz9H3Y4YTAHe",BOTTOM_RIGHT:"JYpXp0sn_h82phJj",left:"OBNEnMGKniYP9yxK",TOP_CENTER:"Q_VHvCaBGIV_VEFl",top:"xc8pqLPxRy04LctW",BOTTOM_CENTER:"CVv6J_CcgsEkezW7",bottom:"hMFEpZxpNO40SbGG",center:"TS0xV2JFRYEQEneR"}},18755:function(b){"use strict";b.exports={footer:"CnglfHpPHP8Ks8sc fdWcL3z19VkbAP23",aureus:"HzDYUK7LhDE507jS",damask:"alYJMjYUr1oN045f",midnight:"exK1esm9S4oPD9GY"}},555234:function(b){"use strict";b.exports={header:"qL8H3m1vlmE0jnMu BB3Ea1IS88GKpjmH",hasRule:"Yb_0VKQci00TSPzp",midnight:"tc7vT8lZ4fAYaqKm",aureus:"aQIUOM11qCwbtfU_"}},184747:function(b){"use strict";b.exports={overlay:"kKBan_ps90I_oM9o",hideOverlay:"IRDi7XFGEOIDQnbm",content:"H4sJ1aaV23EpijMu",positionToPoint:"BP4MXWbdH2IIvGJG",container:"Yb9B6UkYjQk90uLk MgH2fIsoysc30YkN",midnight:"M2Ya9PA6jIZRCix4",fields:"EozQ03PaeqsWRpgf","check-field-wrapper":"FNkTMighDQoE021t","field-description":"keCbRue9rMl3w4Di",aureus:"taAWyDBi3GkCxQST"}},590979:function(b){"use strict";b.exports={dragContainer:"ZSKGltp5HscHmdGv","childItem-dragging":"NJhzEPCwgV8ohaDC","childItem-multiReordering":"PQJtdvIswVQC2Sjr",proxy:"JevZezoITXgrfhcK","proxy-multipleItems":"v7vNDSEHEYEyAkBo"}},633305:function(b){"use strict";b.exports={portal:"VSbnNUHJEQwEwr0g"}},586091:function(b){"use strict";b.exports={container:"ZnpBZBowbZ4hnLl0 MgH2fIsoysc30YkN",title:"Pz8zngbw3Uc1Ki1p BB3Ea1IS88GKpjmH",description:"cX4qdqQZsT42ToLx",left:"HGEp6s6FhE0cO51c",right:"mGYZf_3h2Yq3QNjV",isClosing:"DWbZU9qVOfs4QxJ3"}},414809:function(b){"use strict";b.exports={fileInput:"qMJCaSME0axxGomm",containerMSEdge:"Q7AKytTbnoRyLdck"}},319340:function(b){"use strict";b.exports={}},464208:function(b){"use strict";b.exports={AccountDiscountBannerPromoModalDialog:"lw80IEmSUUokZBIJ",TOCButton:"eytyXdlcJvMr9AEx"}},556556:function(b){"use strict";b.exports={circleMemberTag:"ZL_boCp8cDUSExJL"}},655729:function(b){"use strict";b.exports={tableSpacer:"MUqDJe8DtAk6fouf",sticky:"U6qCJyEQI5wxqEi6",stickyDivider:"TU3bKLro6DkofifB",headerSelector:"bTTWx6ineUcOM61Q",columns2:"o0lPzSZJp0UMfVTc",columns3:"uctTUbv6lE8K48qy",columns4:"uvgFRiC49KIMb_WS",columns5:"ckvuu7MN7zMLMSJr",billingPeriodContainer:"crjRybwFEbYEtwMg",planPricingSelector:"skZVpFQpuM8ChiGB",mostPopularCell:"vVnTxtbiak8h9dG_"}},61742:function(b){"use strict";b.exports={feature:"QvyRGH3Au0A0J4FY"}},966449:function(b){"use strict";b.exports={featureRow:"LY37KuHSVgG37hIr",featureName:"TRvhT3fw284CX5xQ",popOver:"WklFzRJLA4MOKYqr",tooltipAnchor:"s0gW_QFWg8IkT3gD"}},859947:function(b){"use strict";b.exports={featureCategory:"u5uJ2hFCI7EQbmar",featureCategoryExpanded:"f0zcxm_weQMBwj7W",categoryLabel:"_EJInZKYcLinl0D2"}},951129:function(b){"use strict";b.exports={featuresTable:"bMGSGgnKYA1TRzCG",categoryRow:"il8n2hjvols66NsQ",columns2:"Bt0AatM8rKMYxHMs",columns3:"_YXYeAhY7v06dXwi",columns4:"LJ60p3J3E_MqlpgG",columns5:"ejebAHhyktkS4we0",categoryLabel:"nSggNAMoNUYw2UWo",featureRow:"iyPe_jfo89V9j_i0",spacerRow:"Tc_DiD9f7Q_fJckw",featureName:"hF5JvVVgdHEYPR6N"}},920389:function(b){"use strict";b.exports={contents:"NfmJ1Op8I_vQjiOy",sticky:"ttJs3evivJ8S0jfe",stickySentinel:"_lU4Nx9X4kT276BW",stickyBorder:"XDCOmb8irtcXDjCu",stickyMargin:"_AanqwduUl4G9BxU"}},866264:function(b){"use strict";b.exports={card:"ms7IZJyqxqcYUXHB",highlightedPlan:"AUzTEUJidfo0ICUs",featureInformation:"kHoREoNbfkQX88eW"}},289041:function(b){"use strict";b.exports={contents:"i_ZBhOccRMXELWAq",analogousPlanContents:"ZTBR3m9qQPIYqPJT",name:"nFwgrPTKiFknby89",darkerDescription:"UQNECwLjUj0CcvCZ",currency:"D9HFoXcPfLsxkYtB"}},464792:function(b){"use strict";b.exports={featureIndicator:"lrqs3rXO1YYz269B",featureIndicatorIcon:"OMSnb2mruE7cONRM",hideMonthly:"ssQ_tZCLSXwaZXsx"}},847844:function(b){"use strict";b.exports={banner:"dXyfuHaVcEsDtoVD",bannerTag:"bxic_nuopOkZ3l18",bannerBody:"VDqecaQFCQMdhbq4"}},325625:function(b){"use strict";b.exports={modalDialog:"EGvOQCsYwjXAoFXO",modalClose:"g3ZnhLj1i48dCCkm",modalBody:"ANkFBmRhQ8wJxxce",modalHeading:"fKWKn6LYrPkTR97J",modalBodyContent:"kSg35LzZcq0lX0Sc"}},48007:function(b){"use strict";b.exports={violationModalMessage:"ZztUdW3ieJUueujv",violation:"x3bGTeMmgSkRt2jC"}},880330:function(b){"use strict";b.exports={container:"YDWKxNPxA0gerdR3",isReorderingList:"UaKz02pk9RUcbZnS",allyButton:"gi9PZegvDHMMlhOm",label:"oh23TOWluKgoISq7"}},828071:function(b){"use strict";b.exports={deleteButton:"nskSQ1McN2kccjmY",deleteIcon:"EZLUgJIiMIHTFmO3",settingsButton:"mQ6_2bjhViMjgDwd",settingsIcon:"ZQz_tpTBGr4mtuuJ",disabled:"gGzllCGRwI8rV0_B",pagePermissionIcon:"IUC7EOD0hKUeEbUI",homepageIcon:"lptkHRoPqWQMZspl",mobile:"J6gDXVLAebdd4bsj",activeItem:"BFTkIJmLXJE2M4IT",dragging:"uiXYqX1dkxUmJSnK",isSelected:"jAmmz04wpVsQ39Zz",item:"gNgBTx_nDdw5L6kw",isNameEditing:"eZlHIwvtgA7KqsTE",labelContainer:"lsuJG_HzcaEN2D2F",paywalledLabel:"IyK4je7J5c4r_Dpr",label:"GO9Bpru61I6hCYfQ",input:"hUCWds72y8wu6kof",demo:"J66YfXoCew2L_aPe",collapseArrow:"dxH5BCFXJMxWPS7n",rightArrow:"ZCrNfmATyv8xIfZY",collapseIcon:"XogPeUv5XpQbzhgp",rightIcon:"g98yjgeb_X8vEAPC",showsPaywallStatus:"jzYOa4JBgZMsqsL0",showsInProgressStatus:"v_65RQ1gAsOS2EsR",isDraft:"mtscYdCvTBspJswV",caption:"B9PxqTfu7cR5B5bc",timestamp:"TdVV8zJjUagWBgv_",isFocused:"NGwvBdr4SAID7C8O",isFocusedByClick:"OtZQGIVoeYERqB0D",contentBox:"T9Wx5YRsTaIR5nu5"}},976490:function(b){"use strict";b.exports={yuiIcon:"scSgugg8jcI_ICz3"}},189067:function(b){"use strict";b.exports={modal:"zrv7zrM8AnM23s1_",spinner:"SHb_TnGKgA7Jcz0M"}},114527:function(b){"use strict";b.exports={welcomeModal:"SnFfOlNbRGYLMnk0",welcomeModalTitle:"pw679PLCy5ElmXIM",welcomeModalText:"PPxHYDGsGNUKuJqr",welcomeDismissButton:"L7XkjhEqIyAW_WB0"}},965935:function(b){"use strict";b.exports={billingCyclesHeader:"Zb7MukR6gJEjvJXN"}},579206:function(b){"use strict";b.exports={tooltipAnchor:"SwfA88h34nAQM2Tg"}},871832:function(b){"use strict";b.exports={tooltipAnchor:"O8rVy3R0zaEID4xG"}},502572:function(b){"use strict";b.exports={centeredPlanSelectorScreenWrapper:"ofgtrbuolgmQkmrG"}},689929:function(b){"use strict";b.exports={message:"mnzJTR8NpS4vQVli",title:"sbvzSERWJPE2TlhC",subTitle:"MMxP8sa6jcduHslr",upgradeButton:"JQlzPqSIvEw0v8cN"}},382035:function(b){"use strict";b.exports={}},148289:function(b){"use strict";b.exports={}},69037:function(b,l,e){var r=e(791484),o=e(578174),n={};for(var a in r)r.hasOwnProperty(a)&&(n[r[a]]=a);var i=b.exports={to:{}};i.get=function(f){var d=f.substring(0,3).toLowerCase(),h,g;switch(d){case"hsl":h=i.get.hsl(f),g="hsl";break;case"hwb":h=i.get.hwb(f),g="hwb";break;default:h=i.get.rgb(f),g="rgb";break}return h?{model:g,value:h}:null},i.get.rgb=function(f){if(!f)return null;var d=/^#([a-fA-F0-9]{3})$/,h=/^#([a-fA-F0-9]{6})$/,g=/^(rgba?)\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?\d*\.?\d+)\s*)?\)$/,_=/^(rgba?)\(\s*([+-]?\d*\.?\d+)\%\s*,\s*([+-]?\d*\.?\d+)\%\s*,\s*([+-]?\d*\.?\d+)\%\s*(?:,\s*([+-]?\d*\.?\d+)\s*)?\)$/,p=/(\D+)/,y=[0,0,0,1],O,P,C;if(O=f.match(d))for(O=O[1],P=0;P<3;P++)y[P]=parseInt(O[P]+O[P],16);else if(O=f.match(h))for(O=O[1],P=0;P<3;P++){var A=P*2;y[P]=parseInt(O.slice(A,A+2),16)}else if(O=f.match(g)){if(C=O[5],C&&O[1]==="rgb"||!C&&O[1]==="rgba")return null;for(P=0;P<3;P++)y[P]=parseInt(O[P+2],0);C&&(y[3]=parseFloat(C))}else if(O=f.match(_)){if(C=O[5],C&&O[1]==="rgb"||!C&&O[1]==="rgba")return null;for(P=0;P<3;P++)y[P]=Math.round(parseFloat(O[P+2])*2.55);C&&(y[3]=parseFloat(C))}else return(O=f.match(p))?O[1]==="transparent"?[0,0,0,0]:(y=r[O[1]],y?(y[3]=1,y):null):null;for(P=0;P<y.length;P++)y[P]=c(y[P],0,255);return y[3]=c(y[3],0,1),y},i.get.hsl=function(f){if(!f)return null;var d=/^(hsla?)\(\s*([+-]?\d*\.?\d+)(?:deg)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)\s*)?\)$/,h=f.match(d);if(h){var g=h[5];if(g&&h[1]==="hsl"||!g&&h[1]==="hsla")return null;var _=g?parseFloat(g):1,p=(parseFloat(h[2])%360+360)%360,y=c(parseFloat(h[3]),0,100),O=c(parseFloat(h[4]),0,100),P=c(_,0,1);return[p,y,O,P]}return null},i.get.hwb=function(f){if(!f)return null;var d=/^hwb\(\s*([+-]?\d*\.?\d+)(?:deg)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)\s*)?\)$/,h=f.match(d);if(h){var g=parseFloat(h[4]),_=(parseFloat(h[1])%360+360)%360,p=c(parseFloat(h[2]),0,100),y=c(parseFloat(h[3]),0,100),O=c(isNaN(g)?1:g,0,1);return[_,p,y,O]}return null},i.to.hex=function(f){return"#"+u(f[0])+u(f[1])+u(f[2])},i.to.rgb=function(){var f=o(arguments);return f.length<4||f[3]===1?"rgb("+Math.round(f[0])+", "+Math.round(f[1])+", "+Math.round(f[2])+")":"rgba("+Math.round(f[0])+", "+Math.round(f[1])+", "+Math.round(f[2])+", "+f[3]+")"},i.to.rgb.percent=function(){var f=o(arguments),d=Math.round(f[0]/255*100),h=Math.round(f[1]/255*100),g=Math.round(f[2]/255*100);return f.length<4||f[3]===1?"rgb("+d+"%, "+h+"%, "+g+"%)":"rgba("+d+"%, "+h+"%, "+g+"%, "+f[3]+")"},i.to.hsl=function(){var f=o(arguments);return f.length<4||f[3]===1?"hsl("+f[0]+", "+f[1]+"%, "+f[2]+"%)":"hsla("+f[0]+", "+f[1]+"%, "+f[2]+"%, "+f[3]+")"},i.to.hwb=function(){var f=o(arguments),d="";return f.length>=4&&f[3]!==1&&(d=", "+f[3]),"hwb("+f[0]+", "+f[1]+"%, "+f[2]+"%"+d+")"},i.to.keyword=function(f){return n[f.slice(0,3)]};function c(f,d,h){return Math.min(Math.max(d,f),h)}function u(f){var d=f.toString(16).toUpperCase();return d.length<2?"0"+d:d}},358073:function(b,l,e){"use strict";e.d(l,{Z:()=>E});var r=e(59794),o=e(555912),n=e(743115),a=(0,n.Z)(),i=new r.default(a),c=new o.default(a),u=i.T,f=i.Plural,d=i.FormattedCurrency,h=i.FormattedNumber,g=i.FormattedDateTime,_=i.RelativeTime,p=a.formatNumber,y=a.formatCurrency,O=a.formatCurrencyToParts,P=a.getCurrencySymbol,C=a.formatQuantity,A=a.formatDateTime,S=a.formatRelativeTime,T=a.translate,s=a.pluralize,v=c.formatIcuMessage,m={EUR:{code:"EUR",currencyName:T("Euro",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:978},USD:{code:"USD",currencyName:T("US Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:840},AUD:{code:"AUD",currencyName:T("Australian Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:36},NOK:{code:"NOK",currencyName:T("Norwegian Krone",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:578},CAD:{code:"CAD",currencyName:T("Canadian Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:124},NZD:{code:"NZD",currencyName:T("New Zealand Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:554},DKK:{code:"DKK",currencyName:T("Danish Krone",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:208},GBP:{code:"GBP",currencyName:T("Pound Sterling",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:826},HKD:{code:"HKD",currencyName:T("Hong Kong Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:344},CHF:{code:"CHF",currencyName:T("Swiss Franc",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:756},MXN:{code:"MXN",currencyName:T("Mexican Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:484},SGD:{code:"SGD",currencyName:T("SingaporeDollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:702},SEK:{code:"SEK",currencyName:T("Swedish Krona",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:752},CZK:{code:"CZK",currencyName:T("Czech Koruna",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:203},ILS:{code:"ILS",currencyName:T("Israeli New Shegel",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:376},PHP:{code:"PHP",currencyName:T("Philippine Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:608},RUB:{code:"RUB",currencyName:T("Russian Ruble",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:643},PLN:{code:"PLN",currencyName:T("Polish Zloty",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:616},THB:{code:"THB",currencyName:T("Thai Baht",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:764},MYR:{code:"MYR",currencyName:T("Malaysian Ringgit",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:458},ARS:{code:"ARS",currencyName:T("Argentine Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:32},BRL:{code:"BRL",currencyName:T("Brazilian Real",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:986},COP:{code:"COP",currencyName:T("Colombian Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:170},IDR:{code:"IDR",currencyName:T("Indonesian Rupiah",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:360},INR:{code:"INR",currencyName:T("Indian Rupee",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:356},JPY:{code:"JPY",currencyName:T("Yen",null,{project:"libs.Currency"}),fractionDigits:0,numericCode:392},ZAR:{code:"ZAR",currencyName:T("South African Rand",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:710}};const E=m},64205:function(b,l,e){"use strict";e.d(l,{AM:()=>u,Ft:()=>n,Gw:()=>a,I8:()=>c,hU:()=>i});var r=e(392338),o=e.n(r);function n(f){var d=f.currencyCode,h=f.sign,g=f.value;return"".concat(h).concat(g," ").concat(d).trim()}function a(f){var d=f.sign,h=f.symbol,g=f.value;return"".concat(d).concat(h).concat(g).trim()}function i(f){var d=f.sign,h=f.symbol,g=f.value;return"".concat(d).concat(h," ").concat(g).trim()}function c(f){var d=f.currencyCode,h=f.sign,g=f.symbol,_=f.value;return"".concat(h).concat(g).concat(_," ").concat(d).trim()}function u(f){var d=f.sign,h=f.symbol,g=f.value;return"".concat(d).concat(g," ").concat(h).trim()}},743115:function(b,l,e){"use strict";e.d(l,{U:()=>c,Z:()=>i});var r=e(638204),o="libs.Currency";function n(u){return e(437030)("./".concat(o,".").concat(u,".yaml"))}var a=(0,r.setupLibrary)(o,n),i=a.getI18nInstance,c=a.setI18nInstance},631755:function(b,l,e){"use strict";e.d(l,{dj:()=>i.T,Am:()=>r.Z,ZP:()=>u.Z,Nd:()=>o.Z,WP:()=>c.F});var r=e(540169),o=e(424261),n=e(696049);function a(f,d){var h=getFractionDigits(d),g=parseFloat(f)/Math.pow(10,h);return new Money(g,d)}var i=e(138244),c=e(17148),u=e(358073)},540169:function(b,l,e){"use strict";e.d(l,{Z:()=>m});var r=e(392338),o=e(642979),n=e.n(o),a=e(675523),i=e.n(a),c=e(668595),u=e.n(c),f=e(805187),d=e(792495),h=e.n(d),g=e(138244),_=e(17148),p=/^(\d+)(\d{3})/;function y(E){for(var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",";E.match(p);)E=E.replace(p,"$1".concat(I,"$2"));return E}var O=e(691059),P=e.n(O),C=e(424261);function A(E,I,L){return L.trimCents&&P()(E)?0:(0,C.Z)(I)}function S(E){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:".";return E.replace(".",I)}function T(E,I){var L=Object.keys(E);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(E);I&&(W=W.filter(function(F){return Object.getOwnPropertyDescriptor(E,F).enumerable})),L.push.apply(L,W)}return L}function s(E){for(var I=1;I<arguments.length;I++){var L=arguments[I]!=null?arguments[I]:{};I%2?T(Object(L),!0).forEach(function(W){n()(E,W,L[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(L)):T(Object(L)).forEach(function(W){Object.defineProperty(E,W,Object.getOwnPropertyDescriptor(L,W))})}return E}var v={trimCents:!1,useGrouping:!0,valueOnly:!1},m=function(){function E(I){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_.F,W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;i()(this,E),this.templates=L[I]||{},W&&E.enableDebugging(),this.locale=I}return u()(E,[{key:"format",value:function(L){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};W=s(s({},v),W);var F=E.debug?"\u{1F4B0}":"",G=L.toFloat(),k=Math.abs(G),x=G<0?"-":"",M=L.currencyCode,B=s(s({},g.T),this.templates[M]),R=A(G,M,W),U=String(h()(k,R).toFixed(R));U=S(U,B.decimalSeparator),W.useGrouping&&(U=y(U,B.thousandsSeparator));var j=B.symbol;if(W.symbolOnly)return j;var $=B.formatter,ee=W.valueOnly?$({symbol:"",value:U,currencyCode:"",sign:x}):$({symbol:j,value:U,currencyCode:M,sign:x});return F+ee+F}}],[{key:"enableDebugging",value:function(){E.debug=!0}},{key:"disableDebugging",value:function(){E.debug=!1}}]),E}()},17148:function(b,l,e){"use strict";e.d(l,{F:()=>a});var r=e(642979),o=e.n(r),n=e(64205),a=o()({"en-US":{AUD:{symbol:"A$",formatter:n.Gw},CAD:{symbol:"CA$",formatter:n.Gw},EUR:{symbol:"\u20AC",formatter:n.Gw},GBP:{symbol:"\xA3",formatter:n.Gw},HKD:{symbol:"HK$",formatter:n.Gw},USD:{symbol:"$",formatter:n.Gw}},native:{ARS:{symbol:"$",formatter:n.I8},AUD:{symbol:"$",formatter:n.I8},BRL:{symbol:"R$",formatter:n.Gw},CAD:{symbol:"$",formatter:n.I8},CHF:{symbol:"CHF",formatter:n.Gw},COP:{symbol:"COL$",formatter:n.Gw},DKK:{symbol:"kr",formatter:n.AM},EUR:{symbol:"\u20AC",formatter:n.Gw},GBP:{symbol:"\xA3",formatter:n.Gw},HKD:{symbol:"HK$",formatter:n.Gw},MXN:{symbol:"$",formatter:n.Gw},NOK:{symbol:"kr",formatter:n.AM},NZD:{symbol:"$",formatter:n.Gw},SEK:{symbol:"kr",formatter:n.AM},SGD:{symbol:"S$",formatter:n.Gw},USD:{symbol:"$",formatter:n.Gw},CZK:{symbol:"K\u010D",formatter:n.AM},IDR:{symbol:"Rp",formatter:n.Gw},ILS:{symbol:"\u20AA",formatter:n.hU},INR:{symbol:"\u20B9",formatter:n.Gw},JPY:{symbol:"\xA5",formatter:n.Gw},PHP:{symbol:"Php",formatter:n.Gw},RUB:{symbol:"p.",formatter:n.AM},PLN:{symbol:"z\u0142",formatter:n.AM},THB:{symbol:"\u0E3F",formatter:n.Gw},MYR:{symbol:"RM",formatter:n.Gw},ZAR:{symbol:"R",formatter:n.Gw}}},"__test__",{AAA:{symbol:"$",decimalSeparator:",",thousandsSeparator:"."}})},138244:function(b,l,e){"use strict";e.d(l,{T:()=>g});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(461761),c=e.n(i),u=e(64205),f=e(17148);function d(p,y){var O=Object.keys(p);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(p);y&&(P=P.filter(function(C){return Object.getOwnPropertyDescriptor(p,C).enumerable})),O.push.apply(O,P)}return O}function h(p){for(var y=1;y<arguments.length;y++){var O=arguments[y]!=null?arguments[y]:{};y%2?d(Object(O),!0).forEach(function(P){_defineProperty(p,P,O[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(O)):d(Object(O)).forEach(function(P){Object.defineProperty(p,P,Object.getOwnPropertyDescriptor(O,P))})}return p}var g=Object.freeze({symbol:"",thousandsSeparator:",",decimalSeparator:".",maxIntegerPlaces:15,formatter:u.Ft}),_=function(y,O){var P=get(StandardCurrencyTemplates,[y,O],{});return h(h({},g),P)}},424261:function(b,l,e){"use strict";e.d(l,{Z:()=>n});function r(a,i){return i in a}var o=e(358073);function n(a){if(r(o.Z,a)){var i=o.Z[a];return i.fractionDigits}return 2}},437030:function(b,l,e){var r={"./libs.Currency.en-US.yaml":"863027"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=437030},997968:function(b,l,e){"use strict";e.r(l),e.d(l,{EmbedResolvers:()=>r.H,default:()=>r.Z});var r=e(822087)},322684:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>r.Z});var r=e(156257)},947793:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(642979),o=e.n(r),n=e(174161),a=e(845076),i=e.n(a),c=e(795478),u=e.n(c),f=e(616669),d=e.n(f),h=e(328998);class g extends n.Component{renderBadge(){var y=this.props,O=y.className,P=y.knockout,C=y.premiumFeatureLabel,A=y.onLearnMoreClick,S=i()(d().badge,O,{[d().knockoutBadge]:P,[d().knockoutButton]:P&&A,[d().standaloneBadge]:A});return n.createElement("div",{className:S},n.createElement("div",{className:d().premiumFeature},C),n.createElement(h.Z,{premiumFeatureLabel:C,small:!P,withoutBackground:P}))}render(){var y=this.props.onLearnMoreClick;return y?n.createElement("span",{className:d().clickable,onClick:y,role:"link",tabIndex:"0"},this.renderBadge()):this.renderBadge()}}o()(g,"propTypes",{premiumFeatureLabel:u().string.isRequired,knockout:u().bool,onLearnMoreClick:u().func}),o()(g,"defaultProps",{knockout:!1});const _=g},328998:function(b,l,e){"use strict";e.d(l,{Z:()=>g});var r=e(642979),o=e.n(r),n=e(174161),a=e(795478),i=e.n(a),c=e(213865),u=e(863903),f=e.n(u),d={logo:{opacity:1,width:16,height:16,display:"inline-flex",alignItems:"center",justifyContent:"center"},background:{background:c.colors.blue[100],borderRadius:"50%"},glyph:{width:10,height:10},small:{transform:"scale(.75)"},clickable:{border:"none",outline:"none",cursor:"pointer",paddingLeft:6,paddingRight:6,background:"transparent"}};class h extends n.Component{renderLogo(){var p=this.props,y=p.className,O=p.small,P=p.premiumFeatureLabel,C=p.withoutBackground;return n.createElement("span",{className:y,style:Object.assign({},d.logo,O?d.small:{},C?{}:d.background),title:P},n.createElement("img",{alt:P,src:f(),style:d.glyph}))}render(){var p=this.props,y=p.onLearnMoreClick,O=p.premiumFeatureLabel;return y?n.createElement("button",{onClick:y,style:d.clickable,title:O},this.renderLogo()):this.renderLogo()}}o()(h,"propTypes",{small:i().bool,withoutBackground:i().bool,premiumFeatureLabel:i().string.isRequired,onLearnMoreClick:i().func}),o()(h,"defaultProps",{small:!1,withoutBackground:!1});const g=h},398310:function(b,l,e){"use strict";e.d(l,{Z:()=>y});var r=e(642979),o=e.n(r),n=e(392338),a=e.n(n),i=e(174161),c=e(795478),u=e.n(c),f=e(845076),d=e.n(f),h=e(508054),g=e.n(h),_=e(947793);class p extends i.Component{renderLearnMoreLink(){var P=this.props,C=P.onLearnMoreClick,A=P.learnMoreLabel;return C&&A&&i.createElement("span",{className:g().learnMore,onClick:C,role:"link",tabIndex:"0"},A)}render(){var P=this.props,C=P.description,A=P.premiumFeatureLabel,S=P.className;return i.createElement("div",{className:d()(g().panel,S)},i.createElement(_.Z,{knockout:!0,premiumFeatureLabel:A}),i.createElement("div",{className:g().description},C," ",this.renderLearnMoreLink()))}}o()(p,"propTypes",{description:u().string.isRequired,learnMoreLabel:u().string.isRequired,premiumFeatureLabel:u().string.isRequired,onLearnMoreClick:u().func});const y=p},609295:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(174161),c=e(239281),u=e.n(c),f=["onKeyDown","style"],d=g=>{var _=g.onKeyDown,p=g.style,y=a()(g,f);return i.createElement("div",o()({className:u().handle,onKeyDown:_,role:"button",style:p,tabIndex:0},y))};const h=d},951748:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(997803);const n=r.Z},453722:function(b,l,e){"use strict";e.d(l,{c:()=>r});var r="error-message"},805942:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(392338),o=e.n(r),n=e(630646);const a=Object.keys(n).sort()},934387:function(b,l,e){"use strict";e.d(l,{I5:()=>o,L8:()=>r,Wh:()=>n});var r=/^[0-9a-fA-F]{24}$/,o=/^\s*data:image\/.*$/i,n=/(http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/},564985:function(b,l,e){"use strict";e.d(l,{Z:()=>B});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(642979),c=e.n(i),u=e(392338),f=e(174161),d=e(845076),h=e.n(d),g=e(795478),_=e.n(g),p=e(860921),y=e.n(p),O=e(881707);const P=f.createContext();var C=e(984065),A=e.n(C),S=e(276107),T=R=>{var U=R.animateOnFocus,j=R.className,$=(0,f.useContext)(P),ee=$.isFocused,te=$.isDark,ie=(0,f.useContext)(S.W);return f.createElement(O.Z,{bg:te?"transparent":"gray.800",className:h()(A().separator,j,{[A().focused]:ee,[A().animated]:U,[A().dark]:te,[A().adapterMode]:ie})})};T.propTypes={adapterMode:_().bool,animateOnFocus:_().bool,className:_().string},T.defaultProps={animateOnFocus:!0};const v=T;class m extends f.Component{}c()(m,"Separator",v),c()(m,"propTypes",{children:_().node,flush:_().bool,isDark:_().bool,indented:_().bool,style:_().object});const E=m;var I=e(70699),L=e(36380),W=e.n(L),F=["captureRef","className","children","dataField","isDark","flush","htmlAttributes","htmlFor","is","indented","style"];function G(R,U){var j=Object.keys(R);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(R);U&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(R,ee).enumerable})),j.push.apply(j,$)}return j}function k(R){for(var U=1;U<arguments.length;U++){var j=arguments[U]!=null?arguments[U]:{};U%2?G(Object(j),!0).forEach(function($){c()(R,$,j[$])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(j)):G(Object(j)).forEach(function($){Object.defineProperty(R,$,Object.getOwnPropertyDescriptor(j,$))})}return R}class x extends E{constructor(){super(...arguments),c()(this,"state",{fieldContext:{isDark:this.props.isDark,isFocused:!1}}),c()(this,"handleFocus",U=>{this.props.isFocusable&&(this.setState({fieldContext:k(k({},this.state.fieldContext),{},{isFocused:!0})}),this.props.onFocus(U))}),c()(this,"handleBlur",U=>{this.props.isFocusable&&(this.setState({fieldContext:k(k({},this.state.fieldContext),{},{isFocused:!1})}),this.props.onBlur(U))})}static getDerivedStateFromProps(U,j){return U.isDark!==j.fieldContext.isDark?{fieldContext:k(k({},j.fieldContext),{},{isDark:U.isDark})}:null}render(){var U=this.props,j=U.captureRef,$=U.className,ee=U.children,te=U.dataField,ie=U.isDark,ne=U.flush,pe=U.htmlAttributes,oe=U.htmlFor,q=U.is,J=U.indented,me=U.style,re=a()(U,F),he=this.context,Ee=he||ne;return f.createElement(P.Provider,{value:this.state.fieldContext},f.createElement(q,o()({},pe,(0,I.Z)(re),{ref:j,className:h()(W().fieldContainer,{[W().focused]:this.state.fieldContext.isFocused,[W().floating]:ie,[W().flush]:Ee,[W().indented]:J,[W().adapterMode]:he},$),"data-field":te,htmlFor:oe,onBlur:this.handleBlur,onFocus:this.handleFocus,style:me}),ee))}}c()(x,"propTypes",k(k({},E.propTypes),{},{captureRef:_().func,className:_().string,dataField:_().bool,isFocusable:_().bool,htmlAttributes:_().object,htmlFor:_().string,is:_().oneOf(["label","div","a"]),onBlur:_().func,onFocus:_().func,onMouseEnter:_().func,onMouseLeave:_().func})),c()(x,"defaultProps",{dataField:!0,isFocusable:!0,onBlur:y(),onFocus:y(),onMouseEnter:y(),onMouseLeave:y(),is:"label"}),x.contextType=S.W;const B=x},954194:function(b,l,e){"use strict";e.d(l,{Z:()=>g});var r=e(642979),o=e.n(r),n=e(860921),a=e.n(n),i=e(392338),c=e.n(i),u=e(174161),f=e(795478),d=e.n(f);class h extends u.Component{constructor(){super(...arguments),o()(this,"onChange",p=>{this.props.onChange(p)})}}o()(h,"propTypes",{htmlAttributes:d().object,onChange:d().func,errors:d().object,value:d().any,dataField:d().bool,onMouseEnter:d().func,className:d().string}),o()(h,"defaultProps",{errors:{},onChange:a(),dataField:!0,onMouseEnter:a()});const g=h},619972:function(b,l,e){"use strict";e.d(l,{Z:()=>O});var r=e(680180),o=e.n(r),n=e(642979),a=e.n(n),i=e(304003),c=e.n(i),u=e(392338),f=e(142982),d=e(54112),h=e(515619);const g=h;function _(P,C){var A=Object.keys(P);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(P);C&&(S=S.filter(function(T){return Object.getOwnPropertyDescriptor(P,T).enumerable})),A.push.apply(A,S)}return A}function p(P){for(var C=1;C<arguments.length;C++){var A=arguments[C]!=null?arguments[C]:{};C%2?_(Object(A),!0).forEach(function(S){a()(P,S,A[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(A)):_(Object(A)).forEach(function(S){Object.defineProperty(P,S,Object.getOwnPropertyDescriptor(A,S))})}return P}class y{constructor(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};a()(this,"checkErrors",A=>this.provider.checkErr?this.provider.checkErr(A,this.validationOptions):A),this.provider=null,this.providerName=null,this.validationOptions=C}canProcess(C,A){var S=new RegExp(A,"g");return C.match(S)}augmentEmbed(C){return C}process(C,A,S){var T=A||[...Object.keys(d.Z),...Object.keys(S)],s=Object.entries(p(p({},d.Z),S)).sort((F,G)=>{var k=o()(F,2),x=k[1],M=o()(G,2),B=M[1];return B.config.priority-x.config.priority}).filter(F=>{var G=o()(F,2),k=G[0],x=G[1];return T.includes(k)&&this.canProcess(C,x.config.pattern)});if(!s.length)return Promise.reject({message:"No providers for url: ".concat(C)});this.providerName=s[0][0],this.provider=s[0][1];var v=this.provider.config;if(typeof v.fetch=="function")return v.fetch(C);var m=g;v.format==="json"&&(m=fetch);var E=f.Z.parseUrl(v.serviceUrl),I=E.url,L=E.query,W="".concat(I,"?").concat(f.Z.stringify(p(p({},L),{},{url:C})));return m(W).then(F=>F.json()).then(F=>this.camelCaseDataKeys(F)).then(F=>this.sanitizeResolvedData(F,C)).then(F=>this.checkErrors(F))}getCleanedHTML(C,A){if(!C.html)return null;if(this.provider.cleanHTML){var S=this.provider.cleanHTML(C,A);C.html=S||C.html}return this.augmentEmbed(C.html.trim())}camelCaseDataKeys(C){return["author_name","author_url","provider_name","provider_url","thumbnail_url"].reduce((A,S)=>(A[c()(S)]=C[S],delete C[S],A),C)}sanitizeResolvedData(C,A){return this.provider.sanitizeData&&(C=this.provider.sanitizeData(C)),Object.assign(C,{url:A,html:this.getCleanedHTML(C,A),resolveObject:this.provider.config.objectName,resolvedBy:this.providerName,resolved:!0})}}const O=y},54112:function(b,l,e){"use strict";e.d(l,{Z:()=>$});var r={priority:1,serviceName:"Animoto",pattern:"^https?://(?:www\\.)?animoto.com/play/",serviceUrl:"https://animoto.com/oembeds/create?format=json&ssl=true&callback={callback}",objectName:"Video",type:"video"};const o={config:r};var n=e(392338),a="61d05c9d54e8455ea7a9677c366be814",i="json",c="api.embed.ly",u="1";const f={url:"https://".concat(c,"/").concat(u,"/oembed?key=").concat(a,"&format=").concat(i)};var d={priority:0,serviceName:"Embedly",pattern:"^(http://www.|https://www.|http://|https://)?[a-z0-9]+([-.]{1}[a-z0-9]+)*.[a-z]{2,5}(:[0-9]{1,5})?(/.*)?$",serviceUrl:f.url};const h={config:d};var g={priority:1,serviceName:"Flickr",pattern:"^https?://[a-zA-Z\\.]*flickr.com/[^ ]*$",serviceUrl:"https://www.flickr.com/services/oembed?format=json&jsoncallback={callback}",objectName:"Picture"};const _={config:g};var p={priority:1,serviceName:"Instagram",pattern:"^https?://[a-zA-Z\\.]*(instagr.am|instagram.com)/p[^ ]*$",serviceUrl:"https://api.instagram.com/oembed?",objectName:"Picture",format:"json"},y=ee=>(ee["instagram-url"]=ee.thumbnail_url,ee),O=ee=>ee.html;const P={config:p,sanitizeData:y,cleanHTML:O};var C={priority:1,serviceName:"Sketchfab",pattern:"^https?://sketchfab.com[^ ]*$",serviceUrl:f.url,objectName:"3dModel"};const A={config:C};var S={priority:1,serviceName:"SlideShare",pattern:"^https?://www.slideshare.net[^ ]*$",serviceUrl:"https://www.slideshare.net/api/oembed/2?format=json&callback={callback}",objectName:"Presentation"};const T={config:S};var s={priority:1,serviceName:"SoundCloud",pattern:"^https?://soundcloud.com[^ ]*$",serviceUrl:"https://soundcloud.com/oembed?format=js&callback={callback}",objectName:"Audio"};const v={config:s};var m={priority:1,serviceName:"Twitter",pattern:"^https?://twitter.com[^ ]*$",serviceUrl:"https://api.twitter.com/1/statuses/oembed.json?c=c",objectName:"Tweet"};const E={config:m};var I=e(40077),L={priority:1,serviceName:"Vimeo",pattern:"^https?://(?:www\\.)?vimeo.com/",serviceUrl:"https://vimeo.com/api/oembed.json?callback={callback}",objectName:"Video",type:"video"},W=(ee,te)=>{if(!te.allowVimeoBasicAuthorEmbed&&ee.account_type==="basic")throw(0,I.t)("Vimeo Basic accounts are unsupported. Please share a video from a different account.",{},{project:"core-components"});return ee};const F={config:L,checkErr:W};var G={priority:1,serviceName:"Wikipedia",pattern:"^https?://en.wikipedia.org/wiki/[^ ]*$",serviceUrl:f.url,objectName:"Article"};const k={config:G};var x={priority:1,serviceName:"Wistia",pattern:"https?://(.+)?(wistia.com|wi.st)/(medias|embed)/.*",serviceUrl:"https://fast.wistia.com/oembed?callback={callback}",objectName:"Video",type:"video"};const M={config:x};var B={priority:1,serviceName:"Youtube",pattern:"^https?://[a-zA-Z\\.]*((?:youtube.com/(watch|playlist))|(?:.be/))[^ ]*$",serviceUrl:f.url,objectName:"Video",type:"video"},R=ee=>{var te=/(^|\&)(?:v=)(?:[^#\&]*)(\&|$)/,ie=/(^|\&)(?:t=)([^#\&]*)/g;return ee=ee.replace(te,function(ne,pe,oe){return pe&&oe?"&":""}),ee=ee.replace(ie,function(ne,pe,oe){var q=pe||"",J=0,me=oe.match(/\d+\D/g);return me.forEach(re=>{var he=oe.slice(-1),Ee=parseInt(re,10);switch(he){case"h":J+=Ee*3600;break;case"m":J+=Ee*60;break;case"s":J+=Ee;break;default:console.warn("[embedResolver] parameter `t` contains unknown character")}}),typeof J!="number"||J===0?ne:"".concat(q,"start=").concat(J)}),ee},U=(ee,te)=>{var ie=/^.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/,ne=(te.match(ie)||["",""])[1],pe=te.split("?")[1]||"";pe&&(pe="?"+R(pe))};const $={animoto:o,embedly:h,flickr:_,instagram:P,sketchfab:A,slideshare:T,soundcloud:v,twitter:E,youtube:{config:B,resolveYouTubeParams:R,cleanHTML:U},vimeo:F,wikipedia:k,wistia:M}},822087:function(b,l,e){"use strict";e.d(l,{H:()=>M.Z,Z:()=>B});var r=e(392338),o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(174161),u=e(845076),f=e.n(u),d=e(860921),h=e.n(d),g=e(805187),_=e.n(g),p=e(210750),y=e.n(p),O=e(795478),P=e.n(O),C=e(879283),A=e(40077),S=e(954194),T=e(619972);function s(R,U){var j=Object.keys(R);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(R);U&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(R,ee).enumerable})),j.push.apply(j,$)}return j}function v(R){for(var U=1;U<arguments.length;U++){var j=arguments[U]!=null?arguments[U]:{};U%2?s(Object(j),!0).forEach(function($){i()(R,$,j[$])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(j)):s(Object(j)).forEach(function($){Object.defineProperty(R,$,Object.getOwnPropertyDescriptor(j,$))})}return R}class m extends S.Z{constructor(U,j){super(U,j),i()(this,"resolve",y()($=>{this.resolver.process($,this.props.providers,this.props.providerConfigurations).then(ee=>{this.onChange(ee),this.setState({isError:!1,processLabel:(0,A.t)("Successfully located",{},{project:"core-components"})})}).catch(ee=>{this.onChange({}),this.setState({isError:!0,processLabel:typeof ee=="string"?ee:(0,A.t)("Unable to locate content",{},{project:"core-components"})})})},500)),i()(this,"processUrl",$=>{if(this.setState({url:$}),!(0,C.isURL)($)){_()(this.props.value)||(this.onChange({url:"",html:""}),this.setState({processLabel:""}));return}$.search(/^https?:\/\//)!==0&&($="http://"+$.replace(/^\/\//,"")),this.setState({processLabel:(0,A.t)("Searching",{},{project:"core-components"}),isError:!1}),this.resolve($)}),this.state={processLabel:"",url:U.value.url||"",isError:!1}}UNSAFE_componentWillMount(){this.resolver=new T.Z({allowVimeoBasicAuthorEmbed:this.props.allowVimeoBasicAuthorEmbed}),this.props.value&&this.props.value.url&&this.processUrl(this.props.value.url)}UNSAFE_componentWillReceiveProps(U){typeof this.state.url=="string"&&typeof U.value.url=="string"&&!this.state.url.startsWith(U.value.url)&&!U.value.url.startsWith(this.state.url)&&this.setState({url:U.value.url})}}i()(m,"propTypes",v(v({},S.Z.propTypes),{},{label:P().string,placeholder:P().string,providers:P().arrayOf(P().string),dataField:P().bool,onMouseEnter:P().func,allowVimeoBasicAuthorEmbed:P().bool,providerConfigurations:P().objectOf(P().shape({priority:P().number,serviceName:P().string,pattern:P().string,fetch:P().func,objectName:P().string,type:P().string}))})),i()(m,"defaultProps",v(v({},S.Z.defaultProps),{},{dataField:!0,onMouseEnter:h(),value:{url:""},allowVimeoBasicAuthorEmbed:!1,providerConfigurations:{}}));const E=m;var I=e(339170),L=e(632199),W=e.n(L);function F(R,U){var j=Object.keys(R);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(R);U&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(R,ee).enumerable})),j.push.apply(j,$)}return j}function G(R){for(var U=1;U<arguments.length;U++){var j=arguments[U]!=null?arguments[U]:{};U%2?F(Object(j),!0).forEach(function($){i()(R,$,j[$])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(j)):F(Object(j)).forEach(function($){Object.defineProperty(R,$,Object.getOwnPropertyDescriptor(j,$))})}return R}class k extends E{render(){return c.createElement(I.Z,n()({},this.props,{className:f()(this.props.className,{[W().embed]:this.props.underlined!==!0}),errorClassName:this.state.isError?"":W().found,errors:{message:this.state.processLabel},onChange:this.processUrl,secondaryAction:"clear",underlined:!!this.props.underlined,value:this.state.url}))}}i()(k,"propTypes",G({},E.propTypes)),i()(k,"defaultProps",G({},E.defaultProps));const x=k;var M=e(54112);const B=x},156257:function(b,l,e){"use strict";e.d(l,{Z:()=>Be});var r=e(737968),o=e.n(r),n=e(160553),a=e.n(n),i=e(642979),c=e.n(i),u=e(392338),f=e(174161),d=e(795478),h=e.n(d),g=e(845076),_=e.n(g),p=e(881707),y=e(184791),O=e(70699),P=e(276107),C=e(680180),A=e.n(C),S=e(375377),T=e.n(S),s=e(860921),v=e.n(s),m=e(954194),E=e(201375),I=e(584815),L=e(911336);function W(Ke,He){var ye=Object.keys(Ke);if(Object.getOwnPropertySymbols){var Le=Object.getOwnPropertySymbols(Ke);He&&(Le=Le.filter(function(Ue){return Object.getOwnPropertyDescriptor(Ke,Ue).enumerable})),ye.push.apply(ye,Le)}return ye}function F(Ke){for(var He=1;He<arguments.length;He++){var ye=arguments[He]!=null?arguments[He]:{};He%2?W(Object(ye),!0).forEach(function(Le){c()(Ke,Le,ye[Le])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors(ye)):W(Object(ye)).forEach(function(Le){Object.defineProperty(Ke,Le,Object.getOwnPropertyDescriptor(ye,Le))})}return Ke}function G(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var Ke,He,ye=typeof Symbol=="function"?Symbol:{},Le=ye.iterator||"@@iterator",Ue=ye.toStringTag||"@@toStringTag";function Xe(Pt,Ie,Bt,mt){var rt=Ie&&Ie.prototype instanceof ht?Ie:ht,ce=Object.create(rt.prototype);return k(ce,"_invoke",function(Re,nt,st){var vt,ze,It,on=0,Pn=st||[],Yn=!1,Ln={p:0,n:0,v:Ke,a:bn,f:bn.bind(Ke,4),d:function(Zn,$n){return vt=Zn,ze=0,It=Ke,Ln.n=$n,Fe}};function bn(ir,Zn){for(ze=ir,It=Zn,He=0;!Yn&&on&&!$n&&He<Pn.length;He++){var $n,jt=Pn[He],Rn=Ln.p,jn=jt[2];ir>3?($n=jn===Zn)&&(It=jt[(ze=jt[4])?5:(ze=3,3)],jt[4]=jt[5]=Ke):jt[0]<=Rn&&(($n=ir<2&&Rn<jt[1])?(ze=0,Ln.v=Zn,Ln.n=jt[1]):Rn<jn&&($n=ir<3||jt[0]>Zn||Zn>jn)&&(jt[4]=ir,jt[5]=Zn,Ln.n=jn,ze=0))}if($n||ir>1)return Fe;throw Yn=!0,Zn}return function(ir,Zn,$n){if(on>1)throw TypeError("Generator is already running");for(Yn&&Zn===1&&bn(Zn,$n),ze=Zn,It=$n;(He=ze<2?Ke:It)||!Yn;){vt||(ze?ze<3?(ze>1&&(Ln.n=-1),bn(ze,It)):Ln.n=It:Ln.v=It);try{if(on=2,vt){if(ze||(ir="next"),He=vt[ir]){if(!(He=He.call(vt,It)))throw TypeError("iterator result is not an object");if(!He.done)return He;It=He.value,ze<2&&(ze=0)}else ze===1&&(He=vt.return)&&He.call(vt),ze<2&&(It=TypeError("The iterator does not provide a '"+ir+"' method"),ze=1);vt=Ke}else if((He=(Yn=Ln.n<0)?It:Re.call(nt,Ln))!==Fe)break}catch(jt){vt=Ke,ze=1,It=jt}finally{on=1}}return{value:He,done:Yn}}}(Pt,Bt,mt),!0),ce}var Fe={};function ht(){}function Ne(){}function Ce(){}He=Object.getPrototypeOf;var we=[][Le]?He(He([][Le]())):(k(He={},Le,function(){return this}),He),$e=Ce.prototype=ht.prototype=Object.create(we);function Ot(Pt){return Object.setPrototypeOf?Object.setPrototypeOf(Pt,Ce):(Pt.__proto__=Ce,k(Pt,Ue,"GeneratorFunction")),Pt.prototype=Object.create($e),Pt}return Ne.prototype=Ce,k($e,"constructor",Ce),k(Ce,"constructor",Ne),Ne.displayName="GeneratorFunction",k(Ce,Ue,"GeneratorFunction"),k($e),k($e,Ue,"Generator"),k($e,Le,function(){return this}),k($e,"toString",function(){return"[object Generator]"}),(G=function(){return{w:Xe,m:Ot}})()}function k(Ke,He,ye,Le){var Ue=Object.defineProperty;try{Ue({},"",{})}catch{Ue=0}k=function(Fe,ht,Ne,Ce){function we($e,Ot){k(Fe,$e,function(Pt){return this._invoke($e,Ot,Pt)})}ht?Ue?Ue(Fe,ht,{value:Ne,enumerable:!Ce,configurable:!Ce,writable:!Ce}):Fe[ht]=Ne:(we("next",0),we("throw",1),we("return",2))},k(Ke,He,ye,Le)}var x={TOP_LEFT:"topLeft",TOP_RIGHT:"topRight",BOTTOM_LEFT:"bottomLeft",BOTTOM_RIGHT:"bottomRight"},M={[x.TOP_LEFT]:(Ke,He)=>({left:Ke,top:He}),[x.TOP_RIGHT]:(Ke,He)=>({right:Ke,top:He}),[x.BOTTOM_LEFT]:(Ke,He)=>({left:Ke,bottom:He}),[x.BOTTOM_RIGHT]:(Ke,He)=>({right:Ke,bottom:He})};class B extends m.Z{constructor(){super(...arguments),c()(this,"imagePromiseLookup",{}),c()(this,"state",{isReady:!1,images:[]})}componentDidMount(){this.requestImages(this.props)}UNSAFE_componentWillReceiveProps(He){this.requestImages(He)}toPct(He,ye){return typeof He=="string"&&He.endsWith("%")?He:"".concat(parseFloat(He)/ye*100,"%")}normalizeValue(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,ye=He.alt,Le=He.value,Ue=He.token;return Le?Array.isArray(Le)?Le:[{src:Le,alt:ye,token:Ue}]:[]}requestImage(He){var ye=this;return T()(G().m(function Le(){var Ue,Xe,Fe,ht,Ne,Ce,we,$e,Ot;return G().w(function(Pt){for(;;)switch(Pt.n){case 0:if(Ue=He.src,Xe=He.formatSize,Fe=He.alt,ht=He.token,Ne=Ue,!I.ZP.isContentItemId(Ue)){Pt.n=2;break}return Pt.n=1,(0,E.hn)(Ue,ht);case 1:Ce=Pt.v,Ne=Ce.data.assetUrl;case 2:return(0,L.gy)(Ne)||typeof Ne=="number"?we=Ne:($e=new URLSearchParams,$e.set("format",Xe+"w"),ht&&$e.set("token",ht),we="".concat(Ne,"?").concat($e)),Pt.n=3,ye.getImageFromUrl(we,Fe,ht);case 3:return Ot=Pt.v,Pt.a(2,Ot)}},Le)}))()}requestImages(He){var ye=!1,Le=this.normalizeValue(He),Ue=Le.map(Xe=>{var Fe=Xe.formatSize,ht=Fe===void 0?500:Fe,Ne=Xe.src,Ce=Xe.alt,we=Xe.token,$e=this.imagePromiseLookup[Ne];return $e||(ye=!0,$e=this.requestImage({src:Ne,formatSize:ht,alt:Ce,token:we}),this.imagePromiseLookup[Ne]=$e),$e});ye&&this.setState({isReady:!1}),Promise.all(Ue).then(Xe=>{this.setState({isReady:!0,images:Xe})})}calculateLayerStyle(He,ye,Le,Ue){var Xe=He.anchor,Fe=Xe===void 0?x.TOP_LEFT:Xe,ht=He.fixedScale,Ne=ht===void 0?!1:ht,Ce=He.fixedOffset,we=Ce===void 0?!1:Ce,$e=He.offset,Ot=$e===void 0?[0,0]:$e,Pt=He.scale,Ie=Pt===void 0?1:Pt,Bt=this.state.images[0],mt=Bt.naturalWidth,rt=Bt.naturalHeight;Ie=Array.isArray(Ie)?Ie:[Ie,Ie];var ce=A()(Ot,2),Re=ce[0],nt=ce[1],st=Ie[0]*ye,vt=Ie[1]*Le;return Ne?Ue&&(st="".concat(st,"px"),vt="".concat(vt,"px")):(st=this.toPct(st,mt),vt=this.toPct(vt,rt)),we||(Re=this.toPct(Re,mt),nt=this.toPct(nt,rt)),Re=Ue&&typeof Re=="number"?"".concat(Re,"px"):Re,nt=Ue&&typeof nt=="number"?"".concat(nt,"px"):nt,F(F({},M[Fe](Re,nt)),{},{width:st,height:vt})}getFocalMapProps(){var He=this.props,ye=He.focalPoint,Le=He.onFocalPointChange;return{centerSnapRadius:18,maxX:1,maxY:1,onChange:Le,x:ye.x,y:ye.y}}getImageFromUrl(){throw"getImageFromUrl(...) method not defined in base class."}}c()(B,"Anchor",x),c()(B,"propTypes",F(F({},m.Z.propTypes),{},{alt:h().string,focalPoint:h().shape({x:h().number.isRequired,y:h().number.isRequired}),maxHeight:h().number,noBorder:h().bool,onFocalPointChange:h().func,value:h().oneOfType([h().string,h().arrayOf(h().shape({anchor:h().oneOf(Object.values(x)),fixedScale:h().bool,fixedOffset:h().bool,formatSize:h().number,token:h().string,offset:h().arrayOf(h().number),scale:h().oneOfType([h().number,h().arrayOf(h().number)]),src:h().string.isRequired,alt:h().string.isRequired}))])})),c()(B,"defaultProps",F(F({},m.Z.defaultProps),{},{alt:"",maxHeight:Number.MAX_SAFE_INTEGER,noBorder:!1,onFocalPointChange:v(),resizeMode:"contain"}));var R=e(700436),U=e.n(R),j=e(134521),$=e.n(j),ee=(Ke,He,ye,Le,Ue)=>{var Xe=Ke-ye,Fe=He-Le;return Xe*Xe+Fe*Fe<Ue*Ue};class te extends f.Component{constructor(){super(...arguments),c()(this,"width",0),c()(this,"height",0),c()(this,"containerRef",He=>{this.container=He}),c()(this,"pointerRef",He=>{this.pointer=He}),c()(this,"handleChange",$()((He,ye)=>{var Le=this.props,Ue=Le.centerSnapRadius,Xe=Le.maxX,Fe=Le.maxY,ht=Le.onChange,Ne=Le.x,Ce=Le.y;if(Ue){var we=this.width/2,$e=this.height/2;ee(He,ye,we,$e,Ue)&&(He=this.width/2,ye=this.height/2)}var Ot=this.pixelsToScaled(He,ye,Xe,Fe);(Ot.x!==Ne||Ot.y!==Ce)&&ht(Ot.x,Ot.y)},16))}scaledToPixels(He,ye,Le,Ue){var Xe=U()(He/Le,0,1)*this.width,Fe=U()(ye/Ue,0,1)*this.height;return{x:Xe,y:Fe}}pixelsToScaled(He,ye,Le,Ue){var Xe=U()(He/this.width,0,1)*Le,Fe=U()(ye/this.height,0,1)*Ue;return{x:Xe,y:Fe}}}c()(te,"propTypes",{centerSnapRadius:h().number,maxX:h().number.isRequired,maxY:h().number.isRequired,onChange:h().func.isRequired,x:h().number.isRequired,y:h().number.isRequired});var ie=e(85463),ne=e(609295),pe=e(241858),oe=e.n(pe);function q(Ke,He){var ye=Object.keys(Ke);if(Object.getOwnPropertySymbols){var Le=Object.getOwnPropertySymbols(Ke);He&&(Le=Le.filter(function(Ue){return Object.getOwnPropertyDescriptor(Ke,Ue).enumerable})),ye.push.apply(ye,Le)}return ye}function J(Ke){for(var He=1;He<arguments.length;He++){var ye=arguments[He]!=null?arguments[He]:{};He%2?q(Object(ye),!0).forEach(function(Le){c()(Ke,Le,ye[Le])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors(ye)):q(Object(ye)).forEach(function(Le){Object.defineProperty(Ke,Le,Object.getOwnPropertyDescriptor(ye,Le))})}return Ke}var me=Ke=>{if(ie.Z.isArrowLeft(Ke))return{x:-1,y:0};if(ie.Z.isArrowUp(Ke))return{x:0,y:1};if(ie.Z.isArrowRight(Ke))return{x:1,y:0};if(ie.Z.isArrowDown(Ke))return{x:0,y:-1}},re=Ke=>(Ke.touches&&(Ke=Ke.touches[0]),{x:Ke.clientX,y:Ke.clientY});class he extends te{constructor(){super(...arguments),c()(this,"handleUpdate",He=>{var ye=re(He);this.handleCursorChange(ye.x,ye.y)}),c()(this,"startUpdates",He=>{if(He.target.tagName==="INPUT"){He.stopPropagation();return}He.preventDefault(),document.addEventListener("mousemove",this.handleUpdate),document.addEventListener("touchmove",this.handleUpdate),document.addEventListener("mouseup",this.stopUpdates),document.addEventListener("mouseleave",this.stopUpdates),document.addEventListener("touchend",this.stopUpdates),this.iframes=Array.from(document.querySelectorAll("iframe")),this.iframes.forEach(Xe=>{Xe.contentDocument&&Xe.contentDocument.addEventListener("mouseup",this.stopUpdates)});var ye=re(He),Le=ye.x,Ue=ye.y;this.handleCursorChange(Le,Ue)}),c()(this,"stopUpdates",()=>{document.removeEventListener("mousemove",this.handleUpdate),document.removeEventListener("touchmove",this.handleUpdate),document.removeEventListener("mouseleave",this.stopUpdates),document.removeEventListener("mouseup",this.stopUpdates),document.removeEventListener("touchend",this.stopUpdates),this.iframes.forEach(He=>{He.contentDocument&&He.contentDocument.removeEventListener("mouseup",this.stopUpdates)}),this.iframes=[]}),c()(this,"handleKeyDown",He=>{var ye=me(He);if(ye){He.preventDefault();var Le=this.props,Ue=Le.arrowKeyStep,Xe=Le.maxX,Fe=Le.maxY,ht=Le.onChange,Ne=Le.x,Ce=Le.y;Ue||(Ue=Math.max(Xe,Fe)*.1),Ne=U()(Ne+ye.x*Ue,0,Xe),Ce=U()(Ce+ye.y*Ue,0,Fe),ht(Ne,Ce)}})}componentDidMount(){this.container.addEventListener("touchstart",this.startUpdates,{passive:!1})}componentWillUnmount(){this.container.removeEventListener("touchstart",this.startUpdates)}handleCursorChange(He,ye){var Le=this.container.getBoundingClientRect();this.width=Le.width,this.height=Le.height,this.handleChange(He-Le.left,Le.bottom-ye)}render(){var He=this.props,ye=He.children,Le=He.className,Ue=He.maxX,Xe=He.maxY,Fe=He.pointerStyle,ht=He.style,Ne=He.x,Ce=He.y;return f.createElement("div",{ref:this.containerRef,className:_()(oe().container,Le),onMouseDown:this.startUpdates,style:ht},f.createElement(ne.Z,{onKeyDown:this.handleKeyDown,style:J(J({},Fe),{},{left:"".concat(Ne/Ue*100,"%"),bottom:"".concat(Ce/Xe*100,"%")})}),ye)}}c()(he,"propTypes",J(J({},te.propTypes),{},{arrowKeyStep:h().number,className:h().string,pointerClassName:h().string,pointerStyle:h().object}));const Ee=he;var fe=e(180225),H=e.n(fe),z=["className","dataField","htmlAttributes","noBorder","onMouseEnter"];function _e(Ke,He){var ye=Object.keys(Ke);if(Object.getOwnPropertySymbols){var Le=Object.getOwnPropertySymbols(Ke);He&&(Le=Le.filter(function(Ue){return Object.getOwnPropertyDescriptor(Ke,Ue).enumerable})),ye.push.apply(ye,Le)}return ye}function ae(Ke){for(var He=1;He<arguments.length;He++){var ye=arguments[He]!=null?arguments[He]:{};He%2?_e(Object(ye),!0).forEach(function(Le){c()(Ke,Le,ye[Le])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors(ye)):_e(Object(ye)).forEach(function(Le){Object.defineProperty(Ke,Le,Object.getOwnPropertyDescriptor(ye,Le))})}return Ke}class ge extends B{constructor(){super(...arguments),c()(this,"renderLayer",(He,ye)=>{if(!this.state.images[ye])return null;var Le=this.state.images[ye],Ue=Le.src,Xe=Le.alt,Fe=Le.naturalWidth,ht=Le.naturalHeight,Ne=Le.crossOrigin,Ce,we;return ye===0?(Ce=null,we=H().baseLayer):(Ce=this.calculateLayerStyle(He,Fe,ht,!0),we=H().composeLayer),f.createElement("img",{key:ye,alt:Xe,className:we,crossOrigin:Ne||"",loading:"lazy",src:Ue,style:Ce})})}getImageFromUrl(He,ye,Le){var Ue=new Image;return new Promise((Xe,Fe)=>{Le&&(Ue.crossOrigin="anonymous"),Ue.onload=()=>Xe(Ue),Ue.onerror=ht=>Fe(ht.message),Ue.alt=ye,Ue.src=He})}calculateContainerStyle(){var He=this.props,ye=He.maxHeight,Le=He.imageContainerStyle;if(Le)return Le;var Ue,Xe=this.state.images[0];if(Xe){var Fe=Xe.naturalWidth,ht=Xe.naturalHeight,Ne=Fe/ht;Ue=ye*Ne}return{maxWidth:Ue,maxHeight:ye}}renderInnerContainer(){var He=this.state.isReady,ye=this.props.focalPoint;if(!He)return f.createElement(y.Z,null);var Le=this.normalizeValue().map(this.renderLayer),Ue={className:H().layerContainer,style:this.calculateContainerStyle()};return ye?f.createElement(Ee,a()({},Ue,this.getFocalMapProps(),{pointerClassName:H().focalPoint}),Le):f.createElement("div",Ue,Le)}render(){var He=this.props,ye=He.className,Le=He.dataField,Ue=He.htmlAttributes,Xe=He.noBorder,Fe=He.onMouseEnter,ht=o()(He,z),Ne=this.state.isReady,Ce=this.context===!0,we=_()(H().container,{[H().isFlush]:Ce},ye);return f.createElement(p.Z,a()({},(0,O.Z)(ht),Ue,{bg:"base",borderColor:Xe||!Ne?"transparent":"gray.800",borderStyle:"solid",borderWidth:1,className:we,"data-field":Le,onMouseEnter:Fe}),this.renderInnerContainer())}}c()(ge,"propTypes",ae(ae({},B.propTypes),{},{className:h().string})),ge.contextType=P.W;const Be=ge},339170:function(b,l,e){"use strict";e.d(l,{Z:()=>M});var r=e(392338),o=e(737968),n=e.n(o),a=e(160553),i=e.n(a),c=e(642979),u=e.n(c),f=e(174161),d=e(788454),h=e(719484),g=e(795478),_=e.n(g),p=e(860921),y=e.n(p),O=e(954194);function P(B,R){var U=Object.keys(B);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(B);R&&(j=j.filter(function($){return Object.getOwnPropertyDescriptor(B,$).enumerable})),U.push.apply(U,j)}return U}function C(B){for(var R=1;R<arguments.length;R++){var U=arguments[R]!=null?arguments[R]:{};R%2?P(Object(U),!0).forEach(function(j){u()(B,j,U[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(U)):P(Object(U)).forEach(function(j){Object.defineProperty(B,j,Object.getOwnPropertyDescriptor(U,j))})}return B}class A extends O.Z{constructor(){super(...arguments),u()(this,"state",{hovering:!1}),u()(this,"setInputRef",R=>{this.inputRef=R,this.props.inputRef(R)})}}u()(A,"propTypes",C(C({},O.Z.propTypes),{},{afterInput:_().oneOfType([_().func,_().element,_().string,_().number]),beforeInput:_().oneOfType([_().func,_().element,_().string,_().number]),dataField:_().bool,focusable:_().bool,inline:_().bool,inputRef:_().func,isDisabled:_().bool,errors:_().object,label:_().string,maxLength:_().number,onBlur:_().func,onChange:_().func.isRequired,onFocus:_().func,onKeyDown:_().func,onKeyUp:_().func,onMouseEnter:_().func,onMouseLeave:_().func,placeholder:_().string,readOnly:_().bool,rightAlign:_().bool,secondaryAction:_().oneOfType([_().oneOf(["clear","copy"]),_().shape({ariaLabel:_().string,component:_().oneOfType([_().node,_().func]),hideWhenEmpty:_().bool,icon:_().oneOfType([_().string,_().number]),onClick:_().func})]),secondaryActionShowOnHover:_().bool,type:_().oneOf(["email","number","password","tel","text"]),value:_().string})),u()(A,"defaultProps",C(C({},O.Z.defaultProps),{},{dataField:!0,inline:!0,inputRef:y(),isDisabled:!1,label:"",focusable:!0,onBlur:y(),onFocus:y(),onMouseEnter:y(),onMouseLeave:y(),placeholder:"",secondaryActionShowOnHover:!1,readOnly:!1,rightAlign:!1,type:"text"}));const S=A;var T=e(564985),s=e(441079),v=e(612333),m=e.n(v),E=e(240830),I=e(626959),L=e(453722),W=e(460672),F=["className","containerRef","dataField","errorClassName","errors","flush","focused","forceFocus","focusable","indented","inline","isDark","label","underlined"];function G(B,R){var U=Object.keys(B);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(B);R&&(j=j.filter(function($){return Object.getOwnPropertyDescriptor(B,$).enumerable})),U.push.apply(U,j)}return U}function k(B){for(var R=1;R<arguments.length;R++){var U=arguments[R]!=null?arguments[R]:{};R%2?G(Object(U),!0).forEach(function(j){u()(B,j,U[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(U)):G(Object(U)).forEach(function(j){Object.defineProperty(B,j,Object.getOwnPropertyDescriptor(U,j))})}return B}class x extends S{constructor(R){super(R),u()(this,"handleFocus",U=>{this.props.secondaryActionShowOnHover&&setTimeout(()=>{this.setState({hovering:!0})}),this.props.onFocus(U)}),u()(this,"handleBlur",U=>{this.props.secondaryActionShowOnHover&&setTimeout(()=>{document.activeElement!==this.inputRef&&this.setState({hovering:!1})},0),this.props.onBlur(U)}),u()(this,"handleMouseEnter",U=>{this.props.secondaryActionShowOnHover&&setTimeout(()=>{this.setState({hovering:!0})}),this.props.onMouseEnter(U)}),u()(this,"handleMouseLeave",U=>{this.props.secondaryActionShowOnHover&&this.setState({hovering:!1}),this.props.onMouseLeave(U)}),u()(this,"renderInlineLabel",()=>{var U=this.props.label;return U&&f.createElement(h.Z.Body,{as:"label",css:{textOverflow:"ellipsis",width:"38%"},display:"block",flexGrow:0,flexShrink:0,htmlFor:this._inputId,lineHeight:1,overflow:"hidden",pr:3,title:U},U)}),u()(this,"renderNonInlineLabel",()=>{var U=this.props,j=U.label,$=U.fieldIndex;return j&&f.createElement(W.Z,{htmlFor:this._inputId,mt:$===0?0:6},j)}),u()(this,"renderInput",U=>{var j=this.props,$=j.afterInput,ee=j.beforeInput,te=j.isDisabled,ie=j.htmlAttributes,ne=j.inputContainerClassName,pe=j.inputStyle,oe=j.maxLength,q=j.onKeyDown,J=j.onKeyUp,me=j.rightAlign,re=j.placeholder,he=j.readOnly,Ee=j.secondaryAction,fe=j.secondaryActionShowOnHover,H=j.type,z=j.autoComplete,_e=j.value,ae=this.props.ariaLabel||this.props.label||re;return f.createElement(E.Z,i()({},U,{afterInput:$,ariaLabel:ae,autoComplete:z,beforeInput:ee,containerClassName:ne,hovering:this.state.hovering,htmlAttributes:ie,id:this._inputId,inputRef:this.setInputRef,isDisabled:te,maxLength:oe,onBlur:this.handleBlur,onChange:this.onChange,onFocus:this.handleFocus,onKeyDown:q,onKeyUp:J,placeholder:re,readOnly:he,rightAlign:me,secondaryAction:Ee,secondaryActionShowOnHover:fe,style:pe,type:H,value:_e}))}),this._inputId=this.props.id||(0,s.Z)("StringField")}render(){var R=this.props,U=R.className,j=R.containerRef,$=R.dataField,ee=R.errorClassName,te=R.errors,ie=R.flush,ne=R.focused,pe=R.forceFocus,oe=R.focusable,q=R.indented,J=R.inline,me=R.isDark,re=R.label,he=R.underlined,Ee=n()(R,F),fe=me||pe,H=(0,d.Z)(te);return f.createElement(f.Fragment,null,!J&&this.renderNonInlineLabel(),f.createElement(T.Z,{captureRef:j,className:U,dataField:$,flush:ie,focusable:oe,htmlFor:this._inputId,indented:q,isDark:fe,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},f.createElement("div",{className:m().row},J&&this.renderInlineLabel(),this.renderInput(Ee)),H.length>0&&f.createElement(h.Z.Caption,{className:ee,color:"red.300","data-test":L.c,display:"block",mt:-2,pb:2},H[0]),he!==!1&&f.createElement(T.Z.Separator,null)))}}u()(x,"propTypes",k(k({},S.propTypes),{},{ariaLabel:_().string,errorClassName:_().string,forceFocus:_().bool})),u()(x,"defaultProps",k({},S.defaultProps));const M=(0,I.Z)(x)},626959:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(392338),c=e.n(i),u=e(174161),f=e(795478),d=e.n(f),h=e(860921),g=e.n(h);const _=p=>{class y extends u.Component{constructor(){super(...arguments),a()(this,"state",{focused:!1}),a()(this,"handleFocus",P=>{this.props.onFocus(P),this.setState({focused:!0})}),a()(this,"handleBlur",P=>{this.props.onBlur(P),this.setState({focused:!1})})}static getDerivedStateFromProps(P){return typeof P.focused<"u"?{focused:P.focused}:null}render(){return u.createElement(p,o()({},this.props,{focused:this.state.focused,onBlur:this.handleBlur,onFocus:this.handleFocus}))}}return a()(y,"propTypes",{onFocus:d().func,onBlur:d().func}),a()(y,"defaultProps",{onFocus:g(),onBlur:g()}),y.displayName="WithFocus(".concat(p.displayName||p.name||"Component",")"),y}},40077:function(b,l,e){"use strict";e.r(l),e.d(l,{Plural:()=>f,T:()=>u,formatCurrency:()=>g,formatDateTime:()=>d,formatNumber:()=>h,formatQuantity:()=>p,getCountries:()=>_,numberParser:()=>c,pluralize:()=>O,t:()=>y});var r=e(59794),o=e(470407),n=e(319),a=(0,n.Z)(),i=new r.default(a),c=new o.default(a),u=i.T,f=i.Plural,d=a.formatDateTime,h=a.formatNumber,g=a.formatCurrency,_=a.getCountries,p=a.formatQuantity,y=a.translate,O=a.pluralize},319:function(b,l,e){"use strict";e.d(l,{U:()=>f,Z:()=>u});var r=e(392338),o=e.n(r),n=e(638204),a="core-components";function i(d){return e(206370)("./".concat(a,".").concat(d,".yaml"))}var c=(0,n.setupLibrary)(a,i),u=c.getI18nInstance,f=c.setI18nInstance},630646:function(b,l,e){"use strict";e.r(l),e.d(l,{dropdown:()=>Rn(),folderOpen:()=>Gt(),searchSmall:()=>er(),trashCanRed:()=>Ja(),arrowDownLight:()=>P(),variation:()=>Mo,membersbadge:()=>Pr(),video:()=>ea(),addBlock:()=>o(),closeGrey:()=>Re(),arrowUpDark:()=>c(),clear:()=>Pt(),info:()=>kt(),chevronLargeUpDark:()=>Xe(),settings:()=>hr(),tablet:()=>Ia(),chevronSmallRightDark:()=>z(),cancelGrey:()=>R(),arrowRightLight:()=>T(),helpFilled:()=>Wt(),close:()=>rt(),desktop:()=>bn(),indexPage:()=>qe(),externalLink:()=>xt(),phone:()=>ar(),email:()=>ro(),helpStroke:()=>xe(),ellipsesLight:()=>fo(),calendar:()=>L(),chevronLargeDownDark:()=>ht(),visitLink:()=>ao(),chevronSmallDownDark:()=>he(),chevronLargeLeftLight:()=>He(),dotPage:()=>ir,redo:()=>ot(),trashCanLight:()=>ba(),dropdownDark:()=>Tn(),arrowRightDark:()=>_(),chevronLargeLeftDark:()=>Ce(),chevronSmallLeftLight:()=>pe(),coverPage:()=>on(),chevronSmallDownLight:()=>ie(),clearDark:()=>Bt(),chevronSmallUpLight:()=>ee(),duplicate:()=>cn(),arrowDownDark:()=>f(),chevronSmallUpDark:()=>me(),arrowLeftDark:()=>h(),chevronLargeDownLight:()=>Be(),passwordhide:()=>Dr(),chevronLargeRightLight:()=>Le(),error:()=>Je(),files:()=>qt(),album:()=>a(),cancel:()=>F(),blog:()=>E(),infoPage:()=>Ft(),settingsHeavy:()=>io(),url:()=>uo(),chevronLargeUpLight:()=>ae(),closeWhite:()=>st(),mobile:()=>sr(),page:()=>vr(),passwordshow:()=>Vo(),searchSmallDisabled:()=>mn(),videoIcon:()=>yr(),checkmark:()=>j(),stepperPlus:()=>bo(),stepperMinus:()=>xo(),ellipses:()=>qn(),backChevron:()=>v(),upload:()=>To(),del:()=>Yn(),drag:()=>$n(),lock:()=>Sr(),trashCanDark:()=>Za(),arrowLeftLight:()=>A(),arrowUpLight:()=>y(),cancelDark:()=>M(),chevronLargeRightDark:()=>$e(),content:()=>ze(),products:()=>Ye(),project:()=>Ze(),searchDark:()=>St(),gallery:()=>Vt(),link:()=>In(),chevronSmallRightLight:()=>q(),undo:()=>Vr(),cancelBlack:()=>k(),chevronSmallLeftDark:()=>fe(),preview:()=>Rt()});var r=e(568918),o=e.n(r),n=e(252846),a=e.n(n),i=e(592e3),c=e.n(i),u=e(143999),f=e.n(u),d=e(648684),h=e.n(d),g=e(148714),_=e.n(g),p=e(482212),y=e.n(p),O=e(882010),P=e.n(O),C=e(27642),A=e.n(C),S=e(957448),T=e.n(S),s=e(519827),v=e.n(s),m=e(812706),E=e.n(m),I=e(914953),L=e.n(I),W=e(339086),F=e.n(W),G=e(765481),k=e.n(G),x=e(529882),M=e.n(x),B=e(213074),R=e.n(B),U=e(340437),j=e.n(U),$=e(636002),ee=e.n($),te=e(500435),ie=e.n(te),ne=e(735223),pe=e.n(ne),oe=e(717849),q=e.n(oe),J=e(101403),me=e.n(J),re=e(835442),he=e.n(re),Ee=e(743915),fe=e.n(Ee),H=e(724980),z=e.n(H),_e=e(802369),ae=e.n(_e),ge=e(608666),Be=e.n(ge),Ke=e(496415),He=e.n(Ke),ye=e(535298),Le=e.n(ye),Ue=e(764515),Xe=e.n(Ue),Fe=e(860299),ht=e.n(Fe),Ne=e(41759),Ce=e.n(Ne),we=e(836644),$e=e.n(we),Ot=e(437324),Pt=e.n(Ot),Ie=e(100192),Bt=e.n(Ie),mt=e(120406),rt=e.n(mt),ce=e(226904),Re=e.n(ce),nt=e(570798),st=e.n(nt),vt=e(74619),ze=e.n(vt),It=e(493974),on=e.n(It),Pn=e(221361),Yn=e.n(Pn),Ln=e(636779),bn=e.n(Ln);const ir="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAEJJREFUOBFjYKAS+A80B4RhgFQ+imaYIYRoZAsJqaWDPDnOAethooPj6GTFaBig5gNigx0jHSAHJIhNiE+sRfjVAQA9phXxsrXrEQAAAABJRU5ErkJggg==";var Zn=e(529810),$n=e.n(Zn),jt=e(281175),Rn=e.n(jt),jn=e(891164),Tn=e.n(jn),Nn=e(170737),cn=e.n(Nn),or=e(380926),qn=e.n(or),Hr=e(949305),fo=e.n(Hr),Jr=e(768766),ro=e.n(Jr),Xt=e(155172),Je=e.n(Xt),At=e(869157),xt=e.n(At),Qt=e(451279),qt=e.n(Qt),Te=e(496469),Gt=e.n(Te),un=e(368319),Vt=e.n(un),Dn=e(512036),Wt=e.n(Dn),Pe=e(724052),xe=e.n(Pe),Ae=e(726430),qe=e.n(Ae),wt=e(987274),kt=e.n(wt),ut=e(244405),Ft=e.n(ut),tn=e(996876),In=e.n(tn),rr=e(479301),Sr=e.n(rr),Yr=e(895863),Pr=e.n(Yr),Mn=e(579587),sr=e.n(Mn),Ar=e(219142),vr=e.n(Ar),qr=e(399950),Dr=e.n(qr),eo=e(273951),Vo=e.n(eo),Bn=e(217820),ar=e.n(Bn),rn=e(663565),Rt=e.n(rn),Qe=e(708318),Ye=e.n(Qe),yt=e(619258),Ze=e.n(yt),Mt=e(969702),ot=e.n(Mt),et=e(454596),St=e.n(et),Ht=e(997918),er=e.n(Ht),Mr=e(849258),mn=e.n(Mr),Un=e(634053),hr=e.n(Un),br=e(267229),io=e.n(br),Kr=e(234982),xo=e.n(Kr),Ho=e(33114),bo=e.n(Ho),Ea=e(610478),Ia=e.n(Ea),Da=e(53763),Za=e.n(Da),Xa=e(736457),ba=e.n(Xa),ns=e(824488),Ja=e.n(ns),Is=e(455406),Vr=e.n(Is),Qr=e(778959),To=e.n(Qr),xr=e(830663),uo=e.n(xr);const Mo="data:image/png;base64, ";var go=e(745536),ea=e.n(go),ha=e(975749),yr=e.n(ha),Lr=e(40076),ao=e.n(Lr)},460672:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(160553),o=e.n(r),n=e(174161),a=e(719484),i=e(276107);function c(f){var d=n.useContext(i.W);return n.createElement(a.Z.Label,o()({as:"label",color:"gray.300",css:{textOverflow:"ellipsis"},display:"block",mt:6,overflow:"hidden",px:d?0:4},f))}c.displayName="Label";const u=c},238761:function(b,l,e){"use strict";e.d(l,{Z:()=>g});var r=e(642979),o=e.n(r),n=e(392338),a=e.n(n),i=e(174161),c=e(795478),u=e.n(c),f=e(40077),d=e(171730),h=e(597835);class g extends i.Component{constructor(){super(...arguments),o()(this,"renderButtons",()=>{var p=this.props,y=p.cancelHtmlAttributes,O=p.cancelLabel,P=p.cancelStyle,C=p.confirmHtmlAttributes,A=p.confirmLabel,S=p.confirmStyle,T=p.onConfirm,s=p.onDismiss;return[i.createElement(h.Z,{key:"cancel",color:P,htmlAttributes:y,label:O,onClick:s}),i.createElement(h.Z,{key:"confirm",color:S,htmlAttributes:C,label:A,onClick:T})]})}render(){var p=this.props,y=p.baseZIndex,O=p.clientX,P=p.clientY,C=p.htmlAttributes,A=p.hasOverlay,S=p.isOpen,T=p.margin,s=p.message,v=p.onAfterOpen,m=p.onAfterClose,E=p.onRequestClose,I=p.position,L=p.title;return E||((0,d.e)("ConfirmModal"),E=this.props.onDismiss),i.createElement(d.Z,{baseZIndex:y,clientX:O,clientY:P,hasOverlay:A,htmlAttributes:C,isOpen:S,margin:T,message:s,onAfterClose:m,onAfterOpen:v,onRequestClose:E,position:I,renderBtns:this.renderButtons,shouldCloseOnOverlayClick:!1,title:L})}}o()(g,"propTypes",{baseZIndex:u().number,cancelHtmlAttributes:u().object,cancelLabel:u().oneOfType([u().string,u().node]),cancelStyle:u().oneOf(["primary","default","warning"]),clientX:u().number,clientY:u().number,confirmHtmlAttributes:u().object,confirmLabel:u().oneOfType([u().string,u().node]),confirmStyle:u().oneOf(["primary","default","warning"]),htmlAttributes:u().object,hasOverlay:u().bool,isOpen:u().bool,margin:u().oneOfType([u().string,u().number]),message:u().oneOfType([u().string,u().node]),onConfirm:u().func,onDismiss:u().func,onRequestClose:u().func,position:u().oneOf(["left","top","center"]),title:u().oneOfType([u().string,u().node])}),o()(g,"defaultProps",{isOpen:!1,cancelLabel:(0,f.t)("Cancel",{},{project:"core-components"}),cancelStyle:"default",confirmLabel:(0,f.t)("Confirm",{},{project:"core-components"}),confirmStyle:"default"})},171730:function(b,l,e){"use strict";e.d(l,{Z:()=>C,e:()=>P});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(174161),c=e(795478),u=e.n(c),f=e(845076),d=e.n(f),h=e(934388),g=e(923980),_=e(801264),p=e.n(_);function y(A,S){var T=Object.keys(A);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(A);S&&(s=s.filter(function(v){return Object.getOwnPropertyDescriptor(A,v).enumerable})),T.push.apply(T,s)}return T}function O(A){for(var S=1;S<arguments.length;S++){var T=arguments[S]!=null?arguments[S]:{};S%2?y(Object(T),!0).forEach(function(s){a()(A,s,T[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(T)):y(Object(T)).forEach(function(s){Object.defineProperty(A,s,Object.getOwnPropertyDescriptor(T,s))})}return A}var P=A=>{(0,h.a1)(`
There was a bug where `.concat(A,` prop "onDismiss" would incorrectly be called
when pressing the escape or by clicking the modal overlay. The prop "onRequestClose"
should be used for this instead.

Differentiation:
- onDismiss is ONLY called when the Cancel button is pressed.
- onRequestClose is ONLY called when clicking the overlay or pressing escape.

All 3 of these modals are affected:
  - AlertModal
  - ConfirmModal
  - ReviewingChangesModal

Please make sure they all have a prop for "onRequestClose", like so:

<`).concat(A,`
  onDismiss={
    () => console.log('Cancel button was pressed.')
  }
  onRequestClose={
    () => console.log('Overlay was clicked or escape was pressed.')
  }
/>
`),"4.0.0")};class C extends i.Component{render(){var S=this.props,T=S.baseZIndex,s=S.clientX,v=S.clientY,m=S.customClassNames,E=S.customStyles,I=S.htmlAttributes,L=S.hasOverlay,W=S.isOpen,F=S.margin,G=S.message,k=S.onAfterOpen,x=S.onRequestClose,M=S.onAfterClose,B=S.position,R=S.renderBtns,U=S.title,j=s?{left:s}:{},$=v?{top:v}:{};return i.createElement(g.ZP,{baseZIndex:T,customClassNames:d()(p().dismissableContainer,m),customStyles:O(O(O({},j),$),E),hasOverlay:L,htmlAttributes:I,isOpen:W,margin:F,message:G,onAfterClose:M,onAfterOpen:k,onRequestClose:x,position:B,shouldCloseOnOverlayClick:L,shouldFocusAfterRender:!0,title:U},R&&i.createElement("div",{className:p().buttonContainer},R()))}}a()(C,"propTypes",{baseZIndex:u().number,buttonLabel:u().oneOfType([u().string,u().node]),buttonStyle:u().oneOf(["primary","default","warning"]),clientX:u().number,clientY:u().number,customClassNames:u().string,customStyles:u().object,htmlAttributes:u().object,hasOverlay:u().bool,isOpen:u().bool,margin:u().oneOfType([u().string,u().number]),message:u().oneOfType([u().string,u().node]),onRequestClose:u().func,position:u().oneOf(["left","top","center"]),renderBtns:u().func,title:u().oneOfType([u().string,u().node])}),a()(C,"defaultProps",{customStyles:{},isOpen:!1,hasOverlay:!0})},923980:function(b,l,e){"use strict";e.d(l,{IX:()=>G,DW:()=>ne,ZP:()=>pe});var r=e(642979),o=e.n(r),n=e(392338),a=e(174161),i=e(795478),c=e.n(i),u=e(860921),f=e.n(u),d=e(845076),h=e.n(d),g=e(47932),_=e(18724),p=e(854842),y=e(160553),O=e.n(y),P=e(233284),C=e(861673),A=e(951748),S=e(979792),T=e.n(S),s=e(365519);function v(oe,q){var J=Object.keys(oe);if(Object.getOwnPropertySymbols){var me=Object.getOwnPropertySymbols(oe);q&&(me=me.filter(function(re){return Object.getOwnPropertyDescriptor(oe,re).enumerable})),J.push.apply(J,me)}return J}function m(oe){for(var q=1;q<arguments.length;q++){var J=arguments[q]!=null?arguments[q]:{};q%2?v(Object(J),!0).forEach(function(me){o()(oe,me,J[me])}):Object.getOwnPropertyDescriptors?Object.defineProperties(oe,Object.getOwnPropertyDescriptors(J)):v(Object(J)).forEach(function(me){Object.defineProperty(oe,me,Object.getOwnPropertyDescriptor(J,me))})}return oe}var E={overlay:{base:"CCModalOverlay",afterOpen:"CCModalOverlay--after-open",beforeClose:"CCModalOverlay--before-close"},content:{base:"CCModalContent",afterOpen:"CCModalContent--after-open",beforeClose:"CCModalContent--before-close"}};class I extends a.Component{constructor(q){super(q),o()(this,"setFocusAfterRender",J=>{this.focusAfterRender=this.props.shouldFocusAfterRender&&J}),o()(this,"setContentRef",J=>{this.content=J,this.props.contentRef&&this.props.contentRef(J)}),o()(this,"setOverlayRef",J=>{this.overlay=J,this.props.overlayRef&&this.props.overlayRef(J)}),o()(this,"afterClose",()=>{var J=this.props,me=J.bodyOpenClassName,re=J.onAfterClose;document.body.classList.remove(me),re&&re()}),o()(this,"open",()=>{var J=this.state,me=J.afterOpen,re=J.beforeClose,he=this.props,Ee=he.onAfterOpen,fe=he.shouldFocusAfterRender;this.beforeOpen(),me&&re?(clearTimeout(this.closeTimer),this.setState({beforeClose:!1})):this.setState({isOpen:!0},()=>{setTimeout(()=>{this.setState({afterOpen:!0},()=>{Ee&&Ee()})},0)})}),o()(this,"close",()=>{var J=this.props,me=J.closeTimeoutMS,re=J.onBeforeClose;re&&re(),me>0?this.closeWithTimeout():this.closeWithoutTimeout()}),o()(this,"focusContent",()=>{this.content&&!this.contentHasFocus()&&this.content.focus()}),o()(this,"closeWithTimeout",()=>{var J=Date.now()+this.props.closeTimeoutMS;this.setState({beforeClose:!0,closesAt:J},()=>{this.closeTimer=setTimeout(this.closeWithoutTimeout,this.state.closesAt-Date.now())})}),o()(this,"closeWithoutTimeout",()=>{this.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},this.afterClose)}),o()(this,"handleOverlayOnClick",J=>{this.shouldClose===null&&(this.shouldClose=!0),this.shouldClose&&this.props.shouldCloseOnOverlayClick&&(this.ownerHandlesClose()?this.requestClose(J):this.focusContent()),this.shouldClose=null,this.moveFromContentToOverlay=null}),o()(this,"handleOverlayOnMouseUp",()=>{this.moveFromContentToOverlay===null&&(this.shouldClose=!1),this.props.shouldCloseOnOverlayClick&&(this.shouldClose=!0)}),o()(this,"handleContentOnMouseUp",()=>{this.shouldClose=!1}),o()(this,"handleOverlayOnMouseDown",J=>{!this.props.shouldCloseOnOverlayClick&&J.target===this.overlay&&J.preventDefault(),this.moveFromContentToOverlay=!1}),o()(this,"handleContentOnClick",()=>{this.shouldClose=!1}),o()(this,"handleContentOnMouseDown",()=>{this.shouldClose=!1,this.moveFromContentToOverlay=!1}),o()(this,"requestClose",J=>{this.ownerHandlesClose()&&this.props.onRequestClose(J)}),o()(this,"ownerHandlesClose",()=>this.props.onRequestClose),o()(this,"shouldBeClosed",()=>!this.state.isOpen&&!this.state.beforeClose),o()(this,"contentHasFocus",()=>document.activeElement===this.content||this.content.contains(document.activeElement)),o()(this,"ariaAttributes",J=>Object.keys(J).reduce((me,re)=>(me["aria-".concat(re)]=J[re],me),{})),o()(this,"handleDragStart",()=>{var J=this.state,me=J.top,re=J.left;if(typeof re!="number"||typeof me!="number"){var he=this.content.getClientRects()[0];me=he.top,re=he.left}this.setState({isDragging:!0,top:me,left:re})}),o()(this,"handleDrag",J=>{var me=J.deltaX,re=J.deltaY;this.setState(he=>{var Ee=he.top,fe=he.left;return{top:Ee+re,left:fe+me}})}),o()(this,"handleDragEnd",()=>{this.setState({isDragging:!1})}),this.state={afterOpen:!1,beforeClose:!1,top:0,left:0,isDragging:!1},this.shouldClose=null,this.moveFromContentToOverlay=null}componentDidMount(){this.props.isOpen&&(this.setFocusAfterRender(!0),this.open())}componentDidUpdate(q){if(!q.isOpen&&this.props.isOpen?(this.setFocusAfterRender(!0),this.open()):q.isOpen&&!this.props.isOpen&&this.close(),this.focusAfterRender&&(this.focusContent(),this.setFocusAfterRender(!1)),this.props.dragHandleSelector&&this.overlay instanceof HTMLElement){var J=this.overlay.querySelector(this.props.dragHandleSelector);J&&(J.classList.add(T().dragHandle),J.classList.toggle(T().isDragging,this.state.isDragging))}}componentWillUnmount(){this.afterClose(),clearTimeout(this.closeTimer)}beforeOpen(){var q=this.props,J=q.bodyOpenClassName,me=q.onBeforeOpen;document.body.classList.add(J),me&&me()}buildClassName(q,J){var me=E[q],re=this.state,he=re.afterOpen,Ee=re.beforeClose,fe={};return typeof J=="object"&&(J.base&&(fe[J.base]=!0),J.afterOpen&&(fe[J.afterOpen]=he),J.beforeClose&&(fe[J.beforeClose]=Ee)),h()(T()[q],me.base,{[me.afterOpen]:he,[me.beforeClose]:Ee},{[J]:typeof J=="string"},m({},fe))}renderModal(q){var J=this.props,me=J.aria,re=J.children,he=J.contentLabel,Ee=J.className,fe=J.dragHandleSelector,H=J.isDraggable,z=J.htmlAttributes,_e=J.hasOverlay,ae=J.onKeyDown,ge=J.position,Be=J.role,Ke=J.style,He=J.zIndex,ye=this.state,Le=ye.top,Ue=ye.left,Xe=ye.isDragging,Fe=null;if(Ke&&Ke.content&&(Fe=m({},Ke.content)),_e||(Fe=Fe||{},Fe.zIndex=He||q),Le||Ue){var ht=ge!=="left"?"calc(-50% - ".concat(Ke.content.margin,"px + ").concat(Ue,"px)"):"".concat(Ue,"px"),Ne=ge==="center"?"calc(-50% - ".concat(Ke.content.margin,"px + ").concat(Le,"px)"):"".concat(Le,"px");Fe=m(m({},Fe),{},{transform:"translate(".concat(ht,", ").concat(Ne,")")})}var Ce=a.createElement("div",O()({ref:this.setContentRef,"aria-label":he,className:h()(T().content,this.buildClassName("content",Ee),{[T().draggable]:H,[T().dragHandle]:H&&!fe,[T().isDragging]:H&&!fe&&Xe}),onClick:this.handleContentOnClick,onKeyDown:ae,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,role:Be,style:Fe,tabIndex:"0"},z,this.ariaAttributes(me||{})),re);return H?a.createElement(C.DragTrigger,{handleSelector:this.props.dragHandleSelector,onDrag:this.handleDrag,onDragEnd:this.handleDragEnd,onDragStart:this.handleDragStart},Ce):Ce}renderModalWithOverlay(q){var J=this.props,me=J.overlayClassName,re=J.style,he=J.zIndex,Ee=null;return re&&re.overlay&&(Ee=m({},re.overlay)),a.createElement("div",{ref:this.setOverlayRef,"aria-modal":"true",className:h()(T().overlay,[this.buildClassName("overlay",me)]),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown,onMouseUp:this.handleOverlayOnMouseUp,style:m(m({},Ee),{},{zIndex:he||q})},this.renderModal())}render(){var q=this.props,J=q.hasOverlay,me=q.baseZIndex;return this.shouldBeClosed()?null:J?a.createElement(A.Z,{baseIndex:me},re=>this.renderModalWithOverlay(re)):a.createElement(A.Z,{baseIndex:me},re=>this.renderModal(re))}}o()(I,"propTypes",{aria:c().object,ariaHideApp:c().bool,bodyOpenClassName:c().string,children:c().node,className:c().oneOfType([c().string,c().shape({base:c().string,afterOpen:c().string,beforeClose:c().string})]),closeTimeoutMS:c().number,contentLabel:c().string,contentRef:c().func,dragHandleSelector:c().string,isDraggable:c().bool,isOpen:c().bool.isRequired,onAfterClose:c().func,onAfterOpen:c().func,onBeforeClose:c().func,onBeforeOpen:c().func,onKeyDown:c().func,onRequestClose:c().func,overlayClassName:c().oneOfType([c().string,c().object]),overlayRef:c().func,role:c().string,shouldCloseOnOverlayClick:c().bool,shouldFocusAfterRender:c().bool,shouldReturnFocusAfterClose:c().bool,style:c().shape({content:c().object,overlay:c().object}),zIndex:s.Z,hasOverlay:c().bool,htmlAttributes:c().object,appElement:c().instanceOf(Element)}),o()(I,"defaultProps",{bodyOpenClassName:"CCModalBody--open",style:{content:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},isDraggable:!1});const L=I;var W="CCModalPortal";class F extends a.Component{constructor(){super(...arguments),o()(this,"getMountNode",()=>{var q=this.props.mountAt,J=q||document.body;return J}),o()(this,"removePortal",()=>{var q=this.getMountNode();q.removeChild(this.node)}),o()(this,"portalRef",q=>{this.portal=q})}componentDidMount(){this.node.className=W,this.getMountNode().appendChild(this.node)}componentWillUnmount(){if(!(!this.node||!this.portal)){var q=this.portal.state,J=Date.now(),me=q.isOpen&&this.props.closeTimeoutMS&&(q.closesAt||J+this.props.closeTimeoutMS);me?(q.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,me-J)):this.removePortal()}}createPortal(){this.node||(this.node=document.createElement("div"))}render(){return this.createPortal(),P.createPortal(a.createElement(L,O()({ref:this.portalRef},this.props)),this.node)}}o()(F,"propTypes",{appElement:c().instanceOf(Element),aria:c().object,ariaHideApp:c().bool,bodyOpenClassName:c().string,className:c().oneOfType([c().string,c().shape({afterOpen:c().string,base:c().string,beforeClose:c().string})]),closeTimeoutMS:c().number,contentLabel:c().string,contentRef:c().func,dragHandleSelector:c().string,hasOverlay:c().bool,htmlAttributes:c().object,isDraggable:c().bool,isOpen:c().bool.isRequired,mountAt:c().shape({tagName:c().string}),onAfterClose:c().func,onAfterOpen:c().func,onBeforeClose:c().func,onBeforeOpen:c().func,onRequestClose:c().func,overlayClassName:c().oneOfType([c().string,c().shape({afterOpen:c().string.isRequired,base:c().string.isRequired,beforeClose:c().string.isRequired})]),role:c().string,shouldCloseOnEsc:c().bool,shouldCloseOnOverlayClick:c().bool,shouldFocusAfterRender:c().bool,shouldReturnFocusAfterClose:c().bool,style:c().shape({content:c().object,overlay:c().object}),zIndex:s.Z}),o()(F,"defaultProps",{ariaHideApp:!0,closeTimeoutMS:0,isDraggable:!1,isOpen:!1,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldFocusAfterRender:!0,shouldReturnFocusAfterClose:!0});const G=F;var k=e(575796),x=e.n(k),M=e(85463);class B{constructor(){o()(this,"getLastItemInMap",q=>{var J=[];return q.forEach((me,re)=>{J.push([re,me])}),J[q.size-1]}),o()(this,"onEvent",(q,J)=>{if(M.Z.isEsc(J)&&q==="keyup"&&this.listenables.size>0){var me=this.getLastItemInMap(this.listenables)[1];me.handler(J)}}),o()(this,"addListenable",q=>{var J=x().bind(null,"active_event_");return this.listenables.set(J,q),J}),o()(this,"removeListenable",q=>{this.listenables.delete(q)}),o()(this,"unbindAllListenables",()=>{this.listenables.clear()}),o()(this,"setActiveOverlayOnModalOpen",q=>{var J=x().bind(null,"overlay_");return this.overlays.set(J,q),this.overlays.size>0&&this.removeActiveClass(J),this.addActiveClass(J),J}),o()(this,"setActiveOverlayOnModalClose",q=>{if(this.overlays.delete(q),this.overlays.size>0){var J=this.getLastItemInMap(this.overlays)[0];this.addActiveClass(J)}}),o()(this,"addActiveClass",q=>{var J=this.overlays.get(q);J&&J.classList.add("overlay-active")}),o()(this,"removeActiveClass",q=>{this.overlays.forEach((J,me)=>{me!==q&&J.classList.remove("overlay-active")})}),o()(this,"hideAria",(q,J)=>{if(this.ariaHiddenElements.length<1){this.ariaHiddenElements.push(q,J),q.setAttribute("aria-hidden","true");return}var me=this.ariaHiddenElements[this.ariaHiddenElements.length-1];me&&me.setAttribute("aria-hidden","true"),this.ariaHiddenElements.push(J)}),o()(this,"unhideAria",()=>{this.ariaHiddenElements.pop();var q=this.ariaHiddenElements[this.ariaHiddenElements.length-1];q&&q.removeAttribute("aria-hidden")}),this.ariaHiddenElements=[],typeof document<"u"&&document.addEventListener("keyup",this.onEvent.bind(null,"keyup")),this.listenables=new Map,this.overlays=new Map}}const R=B;var U=e(466664),j=e.n(U),$;function ee(oe,q){var J=Object.keys(oe);if(Object.getOwnPropertySymbols){var me=Object.getOwnPropertySymbols(oe);q&&(me=me.filter(function(re){return Object.getOwnPropertyDescriptor(oe,re).enumerable})),J.push.apply(J,me)}return J}function te(oe){for(var q=1;q<arguments.length;q++){var J=arguments[q]!=null?arguments[q]:{};q%2?ee(Object(J),!0).forEach(function(me){o()(oe,me,J[me])}):Object.getOwnPropertyDescriptors?Object.defineProperties(oe,Object.getOwnPropertyDescriptors(J)):ee(Object(J)).forEach(function(me){Object.defineProperty(oe,me,Object.getOwnPropertyDescriptor(J,me))})}return oe}var ie="".concat(p.GRID_SIZE_PX,"px");class ne extends a.Component{constructor(q,J){super(q,J),o()(this,"handleBeforeClose",()=>{this.props.onBeforeClose&&this.props.onBeforeClose(),ne.modalManager.unhideAria(),ne.modalManager.removeListenable(this.eventToken)}),o()(this,"handleAfterClose",()=>{this.setState({afterOpen:!1,beforeClose:!1}),this.props.onAfterClose&&this.props.onAfterClose(),this.props.hasOverlay&&ne.modalManager.setActiveOverlayOnModalClose(this.activeOverlay)}),o()(this,"handleAfterOpen",()=>{ne.modalManager.hideAria(this.getAppElement(),this.content),this.setState({afterOpen:!0,beforeClose:!0}),this.eventToken=ne.modalManager.addListenable({type:"keyup",handler:this.handleKeyUp}),this.props.onAfterOpen&&this.props.onAfterOpen(),this.props.hasOverlay&&(this.activeOverlay=ne.modalManager.setActiveOverlayOnModalOpen(this.overlay))}),o()(this,"handleKeyUp",me=>{me.stopPropagation(),this.props.onRequestClose&&this.props.onRequestClose(me)}),o()(this,"setOverlayRef",me=>{this.overlay=me}),o()(this,"setContentRef",me=>{this.content=me}),this.state={afterOpen:!1,hasOpened:!1}}static getDerivedStateFromProps(q,J){return q.isOpen&&!J.hasOpened?{hasOpened:!0}:null}getAppElement(){return this.props.appElement||document.body}getBaseModalClassNames(){var q=this.props,J=q.customClassNames,me=q.maxHeight,re=q.position,he=typeof J=="string"?{base:J}:J,Ee=he.base,fe=he.afterOpen,H=he.beforeClose;return{base:h()(j().container,Ee,j()[re],{[j().fillHeight]:me&&me!=="none"}),afterOpen:h()(j().afterOpen,fe),beforeClose:h()(j().beforeClose,H)}}render(){var q=this.props,J=q.baseZIndex,me=q.children,re=q.closeTimeoutMS,he=q.customStyles,Ee=q.htmlAttributes,fe=q.hasOverlay,H=q.dragHandleSelector,z=q.isDraggable,_e=q.isOpen,ae=q.margin,ge=q.maxWidth,Be=q.maxHeight,Ke=q.message,He=q.onBeforeOpen,ye=q.onRequestClose,Le=q.overlayClassName,Ue=q.position,Xe=q.shouldCloseOnEsc,Fe=q.shouldCloseOnOverlayClick,ht=q.title,Ne=q.theme,Ce=q.zIndex,we=this.state.afterOpen,$e=typeof ae=="number"?ae+"px":ae,Ot=Ue!=="left"?"translateX(-50%) translateX(-".concat($e,")"):0,Pt;Ue==="center"?Pt=we?"translateY(-50%) translateY(-".concat($e,")"):"translateY(-50%) translateY(-".concat($e,") translateY(").concat(ie,")"):Pt=we?"translateY(0)":"translateY(".concat(ie,")");var Ie=Ot+" "+Pt;return a.createElement(g.Z.Provider,{theme:Ne||_.rosetta.white},a.createElement(G,{appElement:this.getAppElement(),baseZIndex:J,className:this.getBaseModalClassNames(),closeTimeoutMS:re,contentRef:this.setContentRef,dragHandleSelector:H,hasOverlay:fe,htmlAttributes:Ee,isDraggable:z,isOpen:_e,onAfterClose:this.handleAfterClose,onAfterOpen:this.handleAfterOpen,onBeforeClose:this.handleBeforeClose,onBeforeOpen:He,onRequestClose:ye,overlayClassName:Le,overlayRef:fe&&this.setOverlayRef,position:Ue,shouldCloseOnEsc:Xe,shouldCloseOnOverlayClick:Fe,style:{content:te({maxWidth:ge,maxHeight:Be,margin:ae,transform:Ie},he)},zIndex:Ce},(ht||Ke)&&a.createElement("div",{className:j().messageContainer},ht&&a.createElement("h3",{className:j().title},ht),Ke&&a.createElement("div",{className:j().message},Ke)),me))}}$=ne,o()(ne,"modalManager",$.modalManager||new R),o()(ne,"propTypes",{appElement:c().instanceOf(Element),ariaHideApp:c().bool,baseZIndex:c().number,closeTimeoutMS:c().number,contentRef:c().func,customClassNames:c().oneOfType([c().string,c().shape({base:c().string,afterOpen:c().string,beforeClose:c().string})]),customStyles:c().object,htmlAttributes:c().object,hasOverlay:c().bool,dragHandleSelector:c().string,isDraggable:c().bool,isOpen:c().bool,margin:c().oneOfType([c().string,c().number]),maxWidth:c().oneOfType([c().string,c().number]),maxHeight:c().oneOfType([c().string,c().number]),message:c().oneOfType([c().string,c().node]),onAfterClose:c().func,onAfterOpen:c().func,onBeforeClose:c().func,onBeforeOpen:c().func,onRequestClose:c().func,overlayClassName:c().oneOfType([c().string,c().shape({base:c().string,afterOpen:c().string,beforeClose:c().string})]),overlayRef:c().func,position:c().oneOf(["left","top","center"]),shouldCloseOnEsc:c().bool,shouldCloseOnOverlayClick:c().bool,shouldFocusAfterRender:c().bool,title:c().oneOfType([c().string,c().node]),theme:c().object}),o()(ne,"defaultProps",{baseZIndex:3e4,closeTimeoutMS:400,customClassNames:{},hasOverlay:!0,isDraggable:!1,isOpen:!1,position:"center",margin:p.GRID_SIZE_PX*4,onAfterClose:f(),onAfterOpen:f(),onBeforeClose:f(),onBeforeOpen:f(),shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldFocusAfterRender:!0});const pe=ne},365519:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(795478),o=e.n(r);const n=o().oneOfType([o().number,o().oneOf(["inherit","initial","auto",!1])])},597835:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(160553),o=e.n(r),n=e(174161),a=e(526427),i=e(934388);const c=n.forwardRef((u,f)=>((0,i.a1)("Core Components Button primitive is deprecated. Simply switch your import from `import { Button } from '@sqs/rosetta-primitives';`"),n.createElement(a.Z,o()({},u,{ref:f}))))},391114:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(174161),o=e(934388),n=e(184791),a=u=>{var f=u.color,d=u.size,h=u.className,g=u.style;return(0,o.a1)(`
      CircularProgressIndicator is deprecated. Please use 'import { ActivityIndicator } from '@sqs/rosetta-elements'.
      Migration Guide: https://design-platform.squarespace.net/libraries/core-components/migration
    `),r.createElement(n.Z,{className:h,color:f,size:d==="large"?1:0,style:g})};const c=a},515517:function(b,l,e){"use strict";e.d(l,{Z:()=>ut});var r={};e.r(r),e.d(r,{additionalFormatting:()=>s(),blockquote:()=>m(),centerAlign:()=>I(),clearFormatting:()=>W(),close:()=>G(),code:()=>x(),h:()=>B(),h1:()=>U(),h2:()=>$(),h3:()=>te(),h4:()=>ne(),h5:()=>oe(),h6:()=>J(),hr:()=>re(),indent:()=>Ee(),italic:()=>H(),leftAlign:()=>_e(),link:()=>ge(),more:()=>Ke(),numbers:()=>ye(),orderedList:()=>Ue(),outdent:()=>Fe(),p1:()=>Ne(),p2:()=>we(),p3:()=>Ot(),p4:()=>Ie(),p5:()=>mt(),p6:()=>ce(),paragraph:()=>nt(),redo:()=>vt(),redoDisabled:()=>It(),reset:()=>Pn(),rightAlign:()=>Ln(),strikethrough:()=>ir(),strong:()=>$n(),subscript:()=>Rn(),superscript:()=>Tn(),underline:()=>cn(),undo:()=>qn(),unorderedList:()=>fo()});var o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(737968),u=e.n(c),f=e(392338),d=e(174161),h=e(795478),g=e.n(h),_=e(845076),p=e.n(_),y=e(690411),O=e.n(y),P=e(40077),C=e(85743),A=e.n(C),S=e(630646),T=e(704314),s=e.n(T),v=e(827319),m=e.n(v),E=e(379160),I=e.n(E),L=e(846277),W=e.n(L),F=e(660555),G=e.n(F),k=e(558382),x=e.n(k),M=e(638240),B=e.n(M),R=e(230925),U=e.n(R),j=e(716653),$=e.n(j),ee=e(193565),te=e.n(ee),ie=e(547861),ne=e.n(ie),pe=e(233629),oe=e.n(pe),q=e(970132),J=e.n(q),me=e(364026),re=e.n(me),he=e(142617),Ee=e.n(he),fe=e(986138),H=e.n(fe),z=e(557462),_e=e.n(z),ae=e(163533),ge=e.n(ae),Be=e(913091),Ke=e.n(Be),He=e(640342),ye=e.n(He),Le=e(579854),Ue=e.n(Le),Xe=e(568822),Fe=e.n(Xe),ht=e(202671),Ne=e.n(ht),Ce=e(549631),we=e.n(Ce),$e=e(127206),Ot=e.n($e),Pt=e(102546),Ie=e.n(Pt),Bt=e(432090),mt=e.n(Bt),rt=e(186901),ce=e.n(rt),Re=e(319207),nt=e.n(Re),st=e(665430),vt=e.n(st),ze=e(603334),It=e.n(ze),on=e(858828),Pn=e.n(on),Yn=e(844183),Ln=e.n(Yn),bn=e(81808),ir=e.n(bn),Zn=e(856033),$n=e.n(Zn),jt=e(182258),Rn=e.n(jt),jn=e(656974),Tn=e.n(jn),Nn=e(414110),cn=e.n(Nn),or=e(9848),qn=e.n(or),Hr=e(627896),fo=e.n(Hr),Jr=e(805942),ro=e(70699),Xt=e(934388),Je={backArrow:"arrowLeftDark",backArrowDark:"arrowLeftDark",backArrowDisabled:"arrowLeftLight",nextArrow:"arrowRightDark",nextArrowDisabled:"arrowRightLight",chevronUp:"chevronSmallUpDark",chevronDown:"chevronSmallDownDark",chevronLeft:"chevronSmallLeftDark",chevronRight:"chevronSmallRightDark"},At=Ft=>{var tn=Je[Ft];return tn?((0,Xt.a1)("The ".concat(Ft," icon is deprecated. Use ").concat(tn," instead."),void 0,!1),tn):null},xt=["alt","ariaLabel","className","height","isRTE","name","resizeMode","url","width"];function Qt(Ft,tn){var In=Object.keys(Ft);if(Object.getOwnPropertySymbols){var rr=Object.getOwnPropertySymbols(Ft);tn&&(rr=rr.filter(function(Sr){return Object.getOwnPropertyDescriptor(Ft,Sr).enumerable})),In.push.apply(In,rr)}return In}function qt(Ft){for(var tn=1;tn<arguments.length;tn++){var In=arguments[tn]!=null?arguments[tn]:{};tn%2?Qt(Object(In),!0).forEach(function(rr){i()(Ft,rr,In[rr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ft,Object.getOwnPropertyDescriptors(In)):Qt(Object(In)).forEach(function(rr){Object.defineProperty(Ft,rr,Object.getOwnPropertyDescriptor(In,rr))})}return Ft}var Te=Ft=>{switch(Ft){case"contain":return A().contain;case"cover":return A().cover;case"none":return A().none;default:return A().fill}},Gt=Ft=>typeof Ft=="string"?Ft:"".concat(Ft,"px"),un=Ft=>{var tn=Ft.alt,In=Ft.ariaLabel,rr=Ft.className,Sr=Ft.height,Yr=Ft.isRTE,Pr=Ft.name,Mn=Ft.resizeMode,sr=Ft.url,Ar=sr===void 0?"":sr,vr=Ft.width,qr=u()(Ft,xt);Pr=At(Pr)||Pr;var Dr=Yr?r[Pr]:S[Pr];if(!Dr&&!Ar)return null;var eo=qt({},qr.style);return vr&&(eo.width=Gt(vr)),Sr&&(eo.height=Gt(Sr)),d.createElement("img",n()({},(0,ro.Z)(qr),{alt:tn||In||(0,P.t)("{iconName} icon",{iconName:O()(Pr)},{project:"core-components"}),"aria-label":In,className:p()(A().icon,Te(Mn),rr),src:Dr||Ar,style:eo}))};un.propTypes={alt:g().string,ariaLabel:g().string,className:g().string,height:g().oneOfType([g().number,g().string]),isRTE:g().bool,name:g().oneOfType([g().string,g().oneOf(Jr.Z)]),resizeMode:g().oneOf(["cover","contain","none","stretch"]),url:g().string,width:g().oneOfType([g().number,g().string])},un.defaultProps={resizeMode:"stretch"};const Vt=un;var Dn=e(680180),Wt=e.n(Dn),Pe=e(276107),xe=["name"],Ae=Ft=>({icons:Ft,mapping:{addBlock:{Component:Ft.Plus},arrowDownDark:{Component:Ft.ArrowDown},arrowDownLight:{Component:Ft.ArrowDown,props:{color:"gray.600"}},arrowUpDark:{Component:Ft.ArrowUp},arrowUpLight:{Component:Ft.ArrowUp,props:{color:"gray.600"}},arrowLeftDark:{Component:Ft.ArrowLeft},arrowLeftLight:{Component:Ft.ArrowLeft,props:{color:"gray.600"}},arrowRightDark:{Component:Ft.ArrowRight},arrowRightLight:{Component:Ft.ArrowRight,props:{color:"gray.600"}},backChevron:{Component:Ft.ChevronSmallLeft},cancel:{Component:Ft.CrossSmall,props:{color:"white",backgroundColor:"gray.600",style:{borderRadius:"50%"}}},cancelBlack:{Component:Ft.CrossSmall},cancelDark:{Component:Ft.CrossSmall,props:{backgroundColor:"gray.300",sx:{borderRadius:"50%",color:"white"}}},cancelGrey:{Component:Ft.CrossSmall,props:{color:"gray.300"}},chevronLargeUpDark:{Component:Ft.ChevronLargeUp},chevronLargeUpLight:{Component:Ft.ChevronLargeUp,props:{color:"gray.600"}},chevronLargeLeftDark:{Component:Ft.ChevronLargeLeft},chevronLargeLeftLight:{Component:Ft.ChevronLargeLeft,props:{color:"gray.600"}},chevronLargeRightDark:{Component:Ft.ChevronLargeRight},chevronLargeRightLight:{Component:Ft.ChevronLargeRight,props:{color:"gray.600"}},chevronLargeDownDark:{Component:Ft.ChevronLargeDown},chevronLargeDownLight:{Component:Ft.ChevronLargeDown,props:{color:"gray.600"}},chevronSmallUpDark:{Component:Ft.ChevronSmallUp},chevronSmallUpLight:{Component:Ft.ChevronSmallUp,props:{color:"gray.600"}},chevronSmallLeftDark:{Component:Ft.ChevronSmallLeft},chevronSmallLeftLight:{Component:Ft.ChevronSmallLeft,props:{color:"gray.600"}},chevronSmallRightDark:{Component:Ft.ChevronSmallRight},chevronSmallRightLight:{Component:Ft.ChevronSmallRight,props:{color:"gray.600"}},chevronSmallDownDark:{Component:Ft.ChevronSmallDown},chevronSmallDownLight:{Component:Ft.ChevronSmallDown,props:{color:"gray.600"}},close:{Component:Ft.CrossLarge},closeGrey:{Component:Ft.CrossLarge,props:{color:"gray.600"}},closeWhite:{Component:Ft.CrossLarge,props:{color:"white"}},content:{Component:Ft.Page},del:{Component:Ft.MinusCircle,props:{color:"red.300"}},dotPage:{Component:Ft.EmptyPage},email:{Component:Ft.Mail},files:{Component:Ft.Folder},folderOpen:{Component:Ft.Folder,props:{color:"gray.600"}},dropdown:{Component:Ft.ChevronSmallDown,props:{color:"black"}},dropdownDark:{Component:Ft.ChevronSmallDown},trashCanDark:{Component:Ft.Trash},trashCanLight:{Component:Ft.Trash,props:{color:"white"}},ellipses:{Component:Ft.Ellipses},ellipsesLight:{Component:Ft.Ellipses,props:{color:"white"}},url:{Component:Ft.Link},preview:{Component:Ft.SitePreview},info:{Component:Ft.InfoCircle},variation:{Component:Ft.BarChart},calendar:{Component:Ft.Events},error:{Component:Ft.ExclamationMarkCircle,props:{color:"red.300"}},membersbadge:{Component:Ft.People},helpFilled:{Component:Ft.QuestionMarkCircle},helpStroke:{Component:Ft.QuestionMarkCircle},indexPage:{Component:Ft.Index},passwordhide:{Component:Ft.Hide},passwordshow:{Component:Ft.Show},searchDark:{Component:Ft.Search},searchSmall:{Component:Ft.Search,props:{color:"gray.600"}},searchSmallDisabled:{Component:Ft.Search,props:{color:"gray.600"}},settingsHeavy:{Component:Ft.Settings},stepperMinus:{Component:Ft.Minus},stepperPlus:{Component:Ft.Plus},trashCanRed:{Component:Ft.Trash,props:{color:"colors.red"}},videoIcon:{Component:Ft.Play},visitLink:{Component:Ft.ExternalLink},products:{Component:Ft.Product},clearDark:{Component:Ft.CrossSmall}}});function qe(){var Ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",tn=arguments.length>1?arguments[1]:void 0,In=tn.mapping,rr=tn.icons;if(In){if(In[Ft])return In[Ft];var Sr=Object.keys(rr).find(Yr=>Yr.toLowerCase()===Ft.toLowerCase());return Sr?rr[Sr]:void 0}}function wt(Ft){return function(In){var rr=d.useContext(Pe.W),Sr=(0,d.useState)(!0),Yr=Wt()(Sr,2),Pr=Yr[0],Mn=Yr[1],sr=(0,d.useState)({}),Ar=Wt()(sr,2),vr=Ar[0],qr=Ar[1];if((0,d.useEffect)(()=>{rr&&Promise.all([e.e("79876"),e.e("3675")]).then(e.bind(e,347533)).then(Rt=>{qr(Ae(Rt))}).finally(()=>{Mn(!1)})},[rr]),rr!==!0)return d.createElement(Ft,In);var Dr=In.name,eo=u()(In,xe),Vo=qe(Dr,vr);if(Vo===void 0)return Pr?null:d.createElement(Ft,n()({name:Dr},eo));if(Vo.Component){var Bn=Vo.Component,ar=Vo.props,rn=ar===void 0?{}:ar;return d.createElement(Bn,n()({},rn,In))}return d.createElement(Vo,In)}}const ut=wt(Vt)},347338:function(b,l,e){"use strict";e.d(l,{Z:()=>P});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(174161),c=e(795478),u=e.n(c),f=e(845076),d=e.n(f),h=e(102246),g=e.n(h),_=e(70699),p=["ariaLabel","aria-label","children","className","htmlAttributes","isDisabled","onClick"],y=C=>{var A=C.ariaLabel,S=C["aria-label"],T=C.children,s=C.className,v=C.htmlAttributes,m=C.isDisabled,E=C.onClick,I=a()(C,p);return i.createElement("button",o()({},(0,_.Z)(I),v,{"aria-label":S||A,className:d()(g().button,s),disabled:m,onClick:E}),T)};y.propTypes={ariaLabel:u().string,"aria-label":u().string,children:u().node,className:u().string,hidden:u().bool,htmlAttributes:u().object,isDisabled:u().bool.isRequired,onClick:u().func},y.defaultProps={hidden:!1,isDisabled:!1};const P=y},846906:function(b,l,e){"use strict";e.d(l,{Z:()=>Fe});var r=e(642979),o=e.n(r),n=e(392338),a=e(174161),i=e(845076),c=e.n(i),u=e(721247),f=e(40077),d=e(795478),h=e.n(d);/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function g(ht,Ne,Ce,we){return new(Ce||(Ce=Promise))(function($e,Ot){function Pt(mt){try{Bt(we.next(mt))}catch(rt){Ot(rt)}}function Ie(mt){try{Bt(we.throw(mt))}catch(rt){Ot(rt)}}function Bt(mt){var rt;mt.done?$e(mt.value):(rt=mt.value,rt instanceof Ce?rt:new Ce(function(ce){ce(rt)})).then(Pt,Ie)}Bt((we=we.apply(ht,Ne||[])).next())})}function _(ht,Ne){var Ce,we,$e,Ot,Pt={label:0,sent:function(){if(1&$e[0])throw $e[1];return $e[1]},trys:[],ops:[]};return Ot={next:Ie(0),throw:Ie(1),return:Ie(2)},typeof Symbol=="function"&&(Ot[Symbol.iterator]=function(){return this}),Ot;function Ie(Bt){return function(mt){return function(rt){if(Ce)throw new TypeError("Generator is already executing.");for(;Pt;)try{if(Ce=1,we&&($e=2&rt[0]?we.return:rt[0]?we.throw||(($e=we.return)&&$e.call(we),0):we.next)&&!($e=$e.call(we,rt[1])).done)return $e;switch(we=0,$e&&(rt=[2&rt[0],$e.value]),rt[0]){case 0:case 1:$e=rt;break;case 4:return Pt.label++,{value:rt[1],done:!1};case 5:Pt.label++,we=rt[1],rt=[0];continue;case 7:rt=Pt.ops.pop(),Pt.trys.pop();continue;default:if($e=Pt.trys,!(($e=$e.length>0&&$e[$e.length-1])||rt[0]!==6&&rt[0]!==2)){Pt=0;continue}if(rt[0]===3&&(!$e||rt[1]>$e[0]&&rt[1]<$e[3])){Pt.label=rt[1];break}if(rt[0]===6&&Pt.label<$e[1]){Pt.label=$e[1],$e=rt;break}if($e&&Pt.label<$e[2]){Pt.label=$e[2],Pt.ops.push(rt);break}$e[2]&&Pt.ops.pop(),Pt.trys.pop();continue}rt=Ne.call(ht,Pt)}catch(ce){rt=[6,ce],we=0}finally{Ce=$e=0}if(5&rt[0])throw rt[1];return{value:rt[0]?rt[1]:void 0,done:!0}}([Bt,mt])}}}var p=function(ht){};function y(ht){p(ht)}function O(ht){p=ht}var P=null;function C(){P=!1}function A(){return P}(function(){(console.warn||console.log).apply(console,arguments)}).bind("[clipboard-polyfill]");var S,T,s,v,m=typeof navigator>"u"?void 0:navigator,E=m==null?void 0:m.clipboard,I=(S=E==null?void 0:E.read)===null||S===void 0?void 0:S.bind(E),L=(T=E==null?void 0:E.readText)===null||T===void 0?void 0:T.bind(E),W=(s=E==null?void 0:E.write)===null||s===void 0?void 0:s.bind(E),F=(v=E==null?void 0:E.writeText)===null||v===void 0?void 0:v.bind(E),G=typeof window>"u"?void 0:window,k=G==null?void 0:G.ClipboardItem,x=G;function M(){return typeof ClipboardEvent>"u"&&x.clipboardData!==void 0&&x.clipboardData.setData!==void 0}function B(){return g(this,void 0,void 0,function(){var ht;return _(this,function(Ne){if((ht=x.clipboardData.getData("Text"))==="")throw new Error("Empty clipboard or could not read plain text from clipboard");return[2,ht]})})}var R=function(){this.success=!1};function U(ht,Ne,Ce){for(var we in y("listener called"),ht.success=!0,Ne){var $e=Ne[we],Ot=Ce.clipboardData;Ot.setData(we,$e),we==="text/plain"&&Ot.getData(we)!==$e&&(y("setting text/plain failed"),ht.success=!1)}Ce.preventDefault()}function j(ht){var Ne=new R,Ce=U.bind(this,Ne,ht);document.addEventListener("copy",Ce);try{document.execCommand("copy")}finally{document.removeEventListener("copy",Ce)}return Ne.success}function $(ht,Ne){ee(ht);var Ce=j(Ne);return te(),Ce}function ee(ht){var Ne=document.getSelection();if(Ne){var Ce=document.createRange();Ce.selectNodeContents(ht),Ne.removeAllRanges(),Ne.addRange(Ce)}}function te(){var ht=document.getSelection();ht&&ht.removeAllRanges()}function ie(ht){return g(this,void 0,void 0,function(){var Ne;return _(this,function(Ce){if(Ne="text/plain"in ht,M()){if(!Ne)throw new Error("No `text/plain` value was specified.");if(we=ht["text/plain"],x.clipboardData.setData("Text",we))return[2,!0];throw new Error("Copying failed, possibly because the user rejected it.")}var we;return j(ht)?(y("regular execCopy worked"),[2,!0]):navigator.userAgent.indexOf("Edge")>-1?(y('UA "Edge" => assuming success'),[2,!0]):$(document.body,ht)?(y("copyUsingTempSelection worked"),[2,!0]):function($e){var Ot=document.createElement("div");Ot.setAttribute("style","-webkit-user-select: text !important"),Ot.textContent="temporary element",document.body.appendChild(Ot);var Pt=$(Ot,$e);return document.body.removeChild(Ot),Pt}(ht)?(y("copyUsingTempElem worked"),[2,!0]):function($e){y("copyTextUsingDOM");var Ot=document.createElement("div");Ot.setAttribute("style","-webkit-user-select: text !important");var Pt=Ot;Ot.attachShadow&&(y("Using shadow DOM."),Pt=Ot.attachShadow({mode:"open"}));var Ie=document.createElement("span");Ie.innerText=$e,Pt.appendChild(Ie),document.body.appendChild(Ot),ee(Ie);var Bt=document.execCommand("copy");return te(),document.body.removeChild(Ot),Bt}(ht["text/plain"])?(y("copyTextUsingDOM worked"),[2,!0]):[2,!1]})})}function ne(ht){return g(this,void 0,void 0,function(){return _(this,function(Ne){if(F)return y("Using `navigator.clipboard.writeText()`."),[2,F(ht)];if(!ie(function(Ce){var we={};return we["text/plain"]=Ce,we}(ht)))throw new Error("writeText() failed");return[2]})})}function pe(){return g(this,void 0,void 0,function(){return _(this,function(ht){if(L)return y("Using `navigator.clipboard.readText()`."),[2,L()];if(M())return y("Reading text using IE strategy."),[2,B()];throw new Error("Read is not supported in your browser.")})})}function oe(ht,Ne){for(var Ce=0,we=ht;Ce<we.length;Ce++)if(we[Ce].types.indexOf(Ne)!==-1)return!0;return!1}var q=function(){function ht(Ne,Ce){var we;for(var $e in Ce===void 0&&(Ce={}),this.types=Object.keys(Ne),this._items={},Ne){var Ot=Ne[$e];this._items[$e]=typeof Ot=="string"?J($e,Ot):Ot}this.presentationStyle=(we=Ce==null?void 0:Ce.presentationStyle)!==null&&we!==void 0?we:"unspecified"}return ht.prototype.getType=function(Ne){return g(this,void 0,void 0,function(){return _(this,function(Ce){return[2,this._items[Ne]]})})},ht}();function J(ht,Ne){return new Blob([Ne],{type:ht})}function me(ht){return g(this,void 0,void 0,function(){return _(this,function(Ne){return[2,new Promise(function(Ce,we){var $e=new FileReader;$e.addEventListener("load",function(){var Ot=$e.result;typeof Ot=="string"?Ce(Ot):we("could not convert blob to string")}),$e.readAsText(ht)})]})})}function re(ht){return g(this,void 0,void 0,function(){var Ne,Ce,we,$e,Ot,Pt,Ie;return _(this,function(Bt){switch(Bt.label){case 0:Ne={},Ce=0,we=ht.types,Bt.label=1;case 1:return Ce<we.length?($e=we[Ce],Ot=Ne,Pt=$e,[4,ht.getType($e)]):[3,4];case 2:Ot[Pt]=Bt.sent(),Bt.label=3;case 3:return Ce++,[3,1];case 4:return Ie={},ht.presentationStyle&&(Ie.presentationStyle=ht.presentationStyle),[2,new k(Ne,Ie)]}})})}function he(ht){var Ne={};return Ne["text/plain"]=J(ht,"text/plain"),new q(Ne)}function Ee(ht,Ne){return g(this,void 0,void 0,function(){return _(this,function(Ce){switch(Ce.label){case 0:return[4,ht.getType(Ne)];case 1:return[4,me(Ce.sent())];case 2:return[2,Ce.sent()]}})})}function fe(ht){return g(this,void 0,void 0,function(){var Ne,Ce,we,$e,Ot,Pt;return _(this,function(Ie){switch(Ie.label){case 0:Ne={},Ce=0,we=ht.types,Ie.label=1;case 1:return Ce<we.length?($e=we[Ce],Ot=Ne,Pt=$e,[4,Ee(ht,$e)]):[3,4];case 2:Ot[Pt]=Ie.sent(),Ie.label=3;case 3:return Ce++,[3,1];case 4:return[2,Ne]}})})}function H(ht){return g(this,void 0,void 0,function(){var Ne,Ce,we,$e;return _(this,function(Ot){switch(Ot.label){case 0:return W&&k?(y("Using `navigator.clipboard.write()`."),[4,Promise.all(ht.map(re))]):[3,5];case 1:Ne=Ot.sent(),Ot.label=2;case 2:return Ot.trys.push([2,4,,5]),[4,W(Ne)];case 3:return[2,Ot.sent()];case 4:if(Ce=Ot.sent(),!oe(ht,"text/plain")&&!oe(ht,"text/html"))throw Ce;return[3,5];case 5:return we=oe(ht,"text/plain"),A&&!we&&y("clipboard.write() was called without a `text/plain` data type. On some platforms, this may result in an empty clipboard. Call suppressWarnings() to suppress this warning."),$e=ie,[4,fe(ht[0])];case 6:if(!$e.apply(void 0,[Ot.sent()]))throw new Error("write() failed");return[2]}})})}function z(){return g(this,void 0,void 0,function(){var ht;return _(this,function(Ne){switch(Ne.label){case 0:return I?(y("Using `navigator.clipboard.read()`."),[2,I()]):(ht=he,[4,pe()]);case 1:return[2,[ht.apply(void 0,[Ne.sent()])]]}})})}var _e=ht=>ne(ht);const ae={DEFAULT:"COPY",COPIED:"COPIED"};class ge extends a.Component{constructor(){super(...arguments),o()(this,"state",{state:ae.DEFAULT,isAnimating:!1}),o()(this,"updateText",()=>{this.setState(()=>({state:ae.COPIED,isAnimating:!0}),()=>{this.animationTimeout=setTimeout(()=>{this.setState({state:ae.DEFAULT,isAnimating:!1})},2e3)})}),o()(this,"handleClick",()=>{this.state.isAnimating||(_e(this.props.value),this.updateText(),this.props.onClick&&this.props.onClick())})}componentWillUnmount(){this.animationTimeout&&clearTimeout(this.animationTimeout)}}o()(ge,"propTypes",{value:h().string,onClick:h().func});const Be=ge;var Ke=e(570928),He=e.n(Ke);function ye(ht,Ne){var Ce=Object.keys(ht);if(Object.getOwnPropertySymbols){var we=Object.getOwnPropertySymbols(ht);Ne&&(we=we.filter(function($e){return Object.getOwnPropertyDescriptor(ht,$e).enumerable})),Ce.push.apply(Ce,we)}return Ce}function Le(ht){for(var Ne=1;Ne<arguments.length;Ne++){var Ce=arguments[Ne]!=null?arguments[Ne]:{};Ne%2?ye(Object(Ce),!0).forEach(function(we){o()(ht,we,Ce[we])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ht,Object.getOwnPropertyDescriptors(Ce)):ye(Object(Ce)).forEach(function(we){Object.defineProperty(ht,we,Object.getOwnPropertyDescriptor(Ce,we))})}return ht}var Ue={enter:{className:He().enter,from:{opacity:.2},to:{opacity:1}}};class Xe extends Be{render(){return a.createElement("div",{onClick:this.handleClick},a.createElement(u.CSSTransitionGroup,{transitions:Ue},a.createElement("span",{key:this.state.state,className:c()(He().action,{[He().animating]:this.state.isAnimating})},this.state.state===ae.DEFAULT?a.createElement(f.T,{project:"core-components"},"Copy"):a.createElement(f.T,{project:"core-components"},"Copied"))))}}o()(Xe,"propTypes",Le({},Be.propTypes));const Fe=Xe},240830:function(b,l,e){"use strict";e.d(l,{Z:()=>F});var r=e(392338),o=e(160553),n=e.n(o),a=e(737968),i=e.n(a),c=e(642979),u=e.n(c),f=e(174161),d=e(8483),h=e(845076),g=e.n(h),_=e(795478),p=e.n(_),y=e(860921),O=e.n(y),P=e(288143),C=e(786040);class A extends f.Component{constructor(){super(...arguments),u()(this,"captureInputRef",k=>{this.inputRef=k,this.props.inputRef&&this.props.inputRef(k)}),u()(this,"state",{focused:!1}),u()(this,"handleBlur",k=>{this.setState({focused:!1}),this.props.onBlur(k)}),u()(this,"handleFocus",k=>{this.setState({focused:!0}),this.props.onFocus(k)}),u()(this,"renderPresetAction",(k,x)=>{var M=this.props,B=M.onChange,R=M.secondaryActionShowOnHover,U=M.hovering;if(R&&!U)return null;switch(k){case"copy":return P.Z.copy({onClick:()=>{this.inputRef.focus()},value:x});case"clear":return P.Z.clear({onClick:j=>(j.preventDefault(),j.stopPropagation(),B(""),this.inputRef.focus(),j),value:x});default:return console.error("No action preset for value "+k),null}})}renderAction(k,x){if(typeof k=="string")return this.renderPresetAction(k,x);if(typeof k=="object")return this.renderActionFromObject(k,x)}renderActionFromObject(k,x){var M=k.component,B=k.icon,R=k.hideWhenEmpty,U=k.showWhenFocused,j=this.state.focused;return!x&&R||U&&!j?null:M?(0,C.$)(M,{value:x}):B?P.Z.default(k):null}}u()(A,"propTypes",{afterInput:p().oneOfType([p().func,p().element,p().string,p().number]),beforeInput:p().oneOfType([p().func,p().element,p().string,p().number]),inputRef:p().func,isDisabled:p().bool,autoFocus:p().bool,maxLength:p().number,onBlur:p().func,onChange:p().func.isRequired,onFocus:p().func,onKeyDown:p().func,onKeyUp:p().func,onMouseEnter:p().func,placeholder:p().string,readOnly:p().bool,rightAlign:p().bool,secondaryAction:p().oneOfType([p().oneOf(["clear","copy"]),p().shape({ariaLabel:p().string,component:p().oneOfType([p().node,p().func]),hideWhenEmpty:p().bool,icon:p().oneOfType([p().string,p().number]),onClick:p().func})]),secondaryActionShowOnHover:p().bool,type:p().oneOf(["email","number","password","tel","text"]),value:p().string}),u()(A,"defaultProps",{inputRef:O(),isDisabled:!1,onBlur:O(),onFocus:O(),onMouseEnter:O(),placeholder:"",secondaryActionShowOnHover:!1,readOnly:!1,rightAlign:!1,type:"text"});const S=A;var T=e(295080),s=e.n(T),v=e(515517),m=e(70699),E=["afterInput","ariaLabel","autoComplete","autoFocus","beforeInput","className","containerClassName","htmlAttributes","id","isDisabled","maxLength","onChange","placeholder","readOnly","rightAlign","secondaryAction","style","type","value"];function I(G,k){var x=Object.keys(G);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(G);k&&(M=M.filter(function(B){return Object.getOwnPropertyDescriptor(G,B).enumerable})),x.push.apply(x,M)}return x}function L(G){for(var k=1;k<arguments.length;k++){var x=arguments[k]!=null?arguments[k]:{};k%2?I(Object(x),!0).forEach(function(M){u()(G,M,x[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(x)):I(Object(x)).forEach(function(M){Object.defineProperty(G,M,Object.getOwnPropertyDescriptor(x,M))})}return G}class W extends S{renderAccessory(k,x){if(typeof k=="function")return k();if(f.isValidElement(k))return k;var M=x==="before"?s().beforeInput:s().afterInput;return f.createElement(v.Z,{className:g()(s().accessory,M),url:k})}render(){var k=this.props,x=k.afterInput,M=k.ariaLabel,B=k.autoComplete,R=k.autoFocus,U=k.beforeInput,j=k.className,$=k.containerClassName,ee=k.htmlAttributes,te=k.id,ie=k.isDisabled,ne=k.maxLength,pe=k.onChange,oe=k.placeholder,q=k.readOnly,J=k.rightAlign,me=k.secondaryAction,re=k.style,he=k.type,Ee=k.value,fe=i()(k,E),H=g()(s().input,j),z=J?"right":"left";return f.createElement("div",{className:g()(s().container,$)},!!U&&this.renderAccessory(U,"before"),f.createElement(d.Z,n()({},(0,m.Z)(fe),ee,{ref:this.captureInputRef,"aria-label":M||oe,autoComplete:B,autoFocus:R,className:H,disabled:ie,id:te,maxLength:ne,onBlur:this.handleBlur,onChange:pe,onFocus:this.handleFocus,placeholder:oe,readOnly:q,style:re,textAlign:z,type:he,value:Ee})),!!x&&this.renderAccessory(x,"after"),!!me&&this.renderAction(me,Ee))}}u()(W,"propTypes",L({},S.propTypes)),u()(W,"defaultProps",L({},S.defaultProps)),W.secondaryActions=P.Z;const F=W},288143:function(b,l,e){"use strict";e.d(l,{Z:()=>p});var r=e(174161),o=e(515517),n=e(347338),a=e(846906),i=e(642979),c=e.n(i),u=e(392338),f=e(854842),d=e(525021),h=e.n(d);class g extends r.Component{constructor(){super(...arguments),c()(this,"state",{hovering:!1}),c()(this,"handleMouseEnter",()=>{this.setState({hovering:!0})}),c()(this,"handleMouseLeave",()=>{this.setState({hovering:!1})})}render(){var O=this.props.onClick;return r.createElement(n.Z,{ariaLabel:"clear",className:h().clear,onClick:O},r.createElement(o.Z,{height:f.GRID_SIZE_PX*2,name:this.state.hovering?"clearDark":"clear",onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,width:f.GRID_SIZE_PX*2}))}}const _=g,p={default:y=>{var O=y.ariaLabel,P=y.children,C=y.className,A=y.htmlAttributes,S=y.icon,T=y.isDisabled,s=y.onClick;return P=typeof P=="function"?P():P,r.createElement(n.Z,{ariaLabel:O,className:C,htmlAttributes:A,isDisabled:T,onClick:s},P||r.createElement(o.Z,{url:S}))},copy:y=>{var O=y.onClick,P=y.value;return r.createElement(a.Z,{onClick:O,value:P})},clear:y=>{var O=y.onClick,P=y.value;return P?r.createElement(_,{onClick:O}):null}}},207250:function(b,l,e){"use strict";e.d(l,{Z:()=>C});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(174161),c=e(795478),u=e.n(c),f=e(845076),d=e.n(f),h=e(84329),g=e.n(h),_=e(70699),p=e(833786),y=["children","context","fieldIndex","grow","hasPadding","htmlFor","indented","label","isDisabled","style"];function O(A){var S=A.children,T=A.context,s=A.fieldIndex,v=A.grow,m=A.hasPadding,E=A.htmlFor,I=A.indented,L=A.label,W=A.isDisabled,F=A.style,G=a()(A,y);if(!L&&!S)return null;var k=d()(g().label,{[g().grow]:v,[g().context]:T,[g().padded]:m,[g().firstField]:s===0,[g().indented]:I,[g().disabled]:W,[g()[(0,p.a6)(I)]]:typeof I=="number"},"cc-label",A.className);return i.createElement("label",o()({},(0,_.Z)(G),{className:k,htmlFor:E,style:F}),S||L)}O.propTypes={className:u().string,fieldIndex:u().number,isDisabled:u().bool,htmlFor:u().string,indented:u().oneOfType([u().bool,u().oneOf((0,p.PV)())]),label:u().string,grow:u().bool,hasPadding:u().bool,context:u().bool};const C=O},201375:function(b,l,e){"use strict";e.d(l,{PQ:()=>h,_I:()=>c,hn:()=>u,jM:()=>f,mb:()=>d,yC:()=>g});var r=e(392338),o=e.n(r),n=e(628787),a="/api/content-items",i=(_,p)=>"".concat(a,"/").concat(_).concat(p?"?token=".concat(p):""),c=_=>n.Z.delete(i(_)),u=(_,p)=>n.Z.get(i(_,p)),f=i("search"),d=_=>n.Z.get(i(""),{params:_}),h=_=>n.Z.put(i(_.id),_),g=_=>n.Z.get(i("search"),{params:_})},85463:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(66232);const o=r.Z},276107:function(b,l,e){"use strict";e.d(l,{W:()=>o,Z:()=>a});var r=e(174161),o=r.createContext(!1),n=i=>{var c=i.children,u=i.enabled,f=u===void 0?!0:u;return r.createElement(o.Provider,{value:f},c)};const a=n},911336:function(b,l,e){"use strict";e.d(l,{PT:()=>u,gy:()=>c,zb:()=>i});var r=e(392338),o=e.n(r),n=f=>f/(1024*1024),a=f=>f/1024,i=f=>f>1e5?"".concat(n(f).toFixed(2),"MB"):"".concat(a(f).toFixed(2),"KB"),c=f=>typeof f=="string"&&f.startsWith("data:"),u=(f,d)=>f.split(".").slice(-1)[0]===d?f:f.trim()+"."+d},70699:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(944545);const o=r.Z},441079:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(75902);const o=r.Z},833786:function(b,l,e){"use strict";e.d(l,{PV:()=>h,a6:()=>g});var r=e(642979),o=e.n(r),n=e(392338),a=e.n(n),i=e(854842);function c(p,y){var O=Object.keys(p);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(p);y&&(P=P.filter(function(C){return Object.getOwnPropertyDescriptor(p,C).enumerable})),O.push.apply(O,P)}return O}function u(p){for(var y=1;y<arguments.length;y++){var O=arguments[y]!=null?arguments[y]:{};y%2?c(Object(O),!0).forEach(function(P){_defineProperty(p,P,O[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(O)):c(Object(O)).forEach(function(P){Object.defineProperty(p,P,Object.getOwnPropertyDescriptor(O,P))})}return p}var f=.5,d=5,h=()=>{for(var p=[],y=d;y>0;)p.push(y),y=y-f;return p},g=p=>{var y=typeof p=="number"?"".concat(p).replace(/(\.)/,"_"):null;return"indentMultiplier".concat(y)},_=()=>u({indented:{marginLeft:GRID_SIZE_PX*2}},h().reduce((p,y)=>(p[g(y)]={marginLeft:GRID_SIZE_PX*y},p),{}))},628787:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(392338),o=e.n(r),n=e(64745),a=e(994336),i=e.n(a),c={apiStubServerUrl:"localhost:6007"},u=n.Z.create();u.interceptors.request.use(d=>(d&&d.url&&d.url.startsWith("/api/")&&(d.headers["X-CSRF-Token"]=i().get("crumb"),window.USE_STUB_API&&(d.url="http://"+c.apiStubServerUrl+d.url)),d),d=>Promise.reject(d));const f=u},584815:function(b,l,e){"use strict";e.d(l,{CB:()=>h,R8:()=>g,ZP:()=>P,_M:()=>O,dY:()=>f,fm:()=>p,un:()=>y});var r=e(392338),o=e.n(r),n=e(461761),a=e.n(n),i=e(934387),c=/(^\s+)|(\s*$)/g;function u(C){return typeof C=="number"?parseFloat(C.toString().replace(c,"")):C.replace(c,"")}function f(C){return i.I5.test(C)}function d(C){return i.L8.test(C)}function h(C){return i.Wh.test(C)}function g(C){return C.startsWith("/")||C.startsWith("file://")}function _(C){return typeof C=="string"?u(C)==="":!1}function p(C){return C.charAt(0).toUpperCase()+C.slice(1)}var y=C=>{for(var A=0,S=C.length,T=0;T<S;T++)A=A*31+C.charCodeAt(T),A=A&A;return String(A)},O=(C,A)=>(A&&(C=a()(C,A)),C===void 0||typeof C=="string"?C:JSON.stringify(C));const P={capitalizeFirstLetter:p,isBase64Image:f,isContentItemId:d,isUrl:h,isLocalUrl:g,trimSurroundingWhitespace:u,isEmpty:_,stringifyValue:O}},444531:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>r.Z});var r=e(391114)},431262:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>r.Z});var r=e(328998)},325384:function(b,l,e){"use strict";e.d(l,{Z:()=>r.Z});var r=e(398310)},338527:function(b,l,e){"use strict";e.d(l,{IX:()=>r.IX,ZP:()=>r.ZP});var r=e(923980)},122606:function(b,l,e){"use strict";e.d(l,{Z:()=>r.Z});var r=e(597835)},206370:function(b,l,e){var r={"./core-components.en-US.json":"30844","./core-components.en-US.yaml":"806211"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=206370},238569:function(b,l,e){"use strict";e.d(l,{Z:()=>r.Z});var r=e(238761)},954142:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>r.Z});var r=e(597835)},169393:function(b,l,e){"use strict";e.d(l,{Z:()=>r.Z});var r=e(207250)},102577:function(b){var l,e,r,o;function n(f){return f&&f.window===f}function a(){l=o.innerWidth,e=o.screen.availHeight,r=o.outerHeight}function i(f){return function(d){(o.innerWidth!==l||o.screen.availHeight!==e||o.outerHeight!==r)&&f(d)}}function c(f,d){d||(d=window),!o&&n(d)&&(o=d);var h=i(f);return o.addEventListener("resize",h),o.removeEventListener("resize",a),o.addEventListener("resize",a),h}function u(f){o.removeEventListener("resize",f)}b.exports={addListener:c,removeListener:u}},995793:function(b,l,e){"use strict";var r=e(241225),o=r(e(675523)),n=r(e(668595)),a=r(e(910575)),i=r(e(892232)),c=r(e(590670)),u=r(e(20104)),f=r(e(848664)),d=r(e(642979));function h(S,T){var s=Object.keys(S);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(S);T&&(v=v.filter(function(m){return Object.getOwnPropertyDescriptor(S,m).enumerable})),s.push.apply(s,v)}return s}function g(S){for(var T=1;T<arguments.length;T++){var s=arguments[T]!=null?arguments[T]:{};T%2?h(Object(s),!0).forEach(function(v){(0,d.default)(S,v,s[v])}):Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(s)):h(Object(s)).forEach(function(v){Object.defineProperty(S,v,Object.getOwnPropertyDescriptor(s,v))})}return S}function _(S){var T=p();return function(){var v=(0,f.default)(S),m;if(T){var E=(0,f.default)(this).constructor;m=Reflect.construct(v,arguments,E)}else m=v.apply(this,arguments);return(0,u.default)(this,m)}}function p(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var y=e(795478),O=e(233284),P=e(424546),C=e(369912),A=function(T){var s;return s=function(v){(0,c.default)(E,v);var m=_(E);function E(){var I;(0,o.default)(this,E);for(var L=arguments.length,W=new Array(L),F=0;F<L;F++)W[F]=arguments[F];return I=m.call.apply(m,[this].concat(W)),(0,d.default)((0,a.default)(I),"state",{dragging:I.props.enterDragging}),I}return(0,n.default)(E,[{key:"componentDidMount",value:function(){(0,i.default)((0,f.default)(E.prototype),"componentDidMount",this).call(this);var L=this.node=O.findDOMNode(this);L.dataset.draggable="true",this.props.registerToDelegator(this,L,this.props.group,this.state.dragging)}},{key:"componentDidUpdate",value:function(L){!L.enterDragging&&this.props.enterDragging&&this.setState({dragging:!0});var W=O.findDOMNode(this);if(this.node!==W){var F=this.node;this.node=W,W.dataset.draggable="true",this.props.deregisterFromDelegator(this,F),this.props.registerToDelegator(this,W,this.props.group,this.state.dragging)}}},{key:"componentWillUnmount",value:function(){(0,i.default)((0,f.default)(E.prototype),"componentWillUnmount",this).call(this),this.props.deregisterFromDelegator(this,this.node),this.node=null}},{key:"shouldDragStart",value:function(L,W){var F=this.props,G=F.locked,k=F.handleSelector;return!G&&(!k||!!P(W,k,L))}},{key:"onDragStart",value:function(L){this.executeCallbacks("onDragStart",L),this.setState({dragging:!0,dragOver:!1})}},{key:"onDrag",value:function(L){this.executeCallbacks("onDrag",L)}},{key:"onDragEnd",value:function(){this.setState({dragging:!1,dragOver:!1}),this.executeCallbacks("onDragEnd")}},{key:"render",value:function(){return(0,i.default)((0,f.default)(E.prototype),"render",this).call(this)}}]),E}(C),(0,d.default)(s,"propTypes",g(g({},C.propTypes),{},{locked:y.bool,handleSelector:y.string,registerToDelegator:y.func.isRequired,deregisterFromDelegator:y.func.isRequired,enterDragging:y.bool})),(0,d.default)(s,"defaultProps",g(g({},C.defaultProps),T)),s};b.exports=A},846567:function(b,l,e){"use strict";var r=e(241225),o=r(e(160553)),n=r(e(680180)),a=r(e(675523)),i=r(e(668595)),c=r(e(910575)),u=r(e(590670)),f=r(e(20104)),d=r(e(848664)),h=r(e(642979));function g(A,S){var T=Object.keys(A);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(A);S&&(s=s.filter(function(v){return Object.getOwnPropertyDescriptor(A,v).enumerable})),T.push.apply(T,s)}return T}function _(A){for(var S=1;S<arguments.length;S++){var T=arguments[S]!=null?arguments[S]:{};S%2?g(Object(T),!0).forEach(function(s){(0,h.default)(A,s,T[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(T)):g(Object(T)).forEach(function(s){Object.defineProperty(A,s,Object.getOwnPropertyDescriptor(T,s))})}return A}function p(A){var S=y();return function(){var s=(0,d.default)(A),v;if(S){var m=(0,d.default)(this).constructor;v=Reflect.construct(s,arguments,m)}else v=s.apply(this,arguments);return(0,f.default)(this,v)}}function y(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var O=e(795478),P=e(174161),C=function(A){(0,u.default)(T,A);var S=p(T);function T(){var s;(0,a.default)(this,T);for(var v=arguments.length,m=new Array(v),E=0;E<v;E++)m[E]=arguments[E];return s=S.call.apply(S,[this].concat(m)),(0,h.default)((0,c.default)(s),"state",{prevPropsCloneFrom:s.props.cloneFrom,startingOffsets:T.getStartingOffsets(s.props.cloneFrom,s.props.container)}),(0,h.default)((0,c.default)(s),"getDataAttributes",function(){var I=s.props.cloneFrom.dataset;return Object.keys(I).reduce(function(L,W){var F=W.replace(/[A-Z]/g,function(G){return"-".concat(G.toLowerCase())});return L["data-".concat(F)]=I[W],L},{})}),(0,h.default)((0,c.default)(s),"getClassName",function(){var I=s.props,L=I.className,W=I.cloneFrom;return(L||"")+" "+(W.getAttribute("class")||"")}),(0,h.default)((0,c.default)(s),"getInlineStyles",function(){for(var I=s.props.cloneFrom.style,L=I.length,W={},F=0;F<L;F++){var G=I.item(F),k=G.replace(/\-(\w)/g,function(x,M){return M.toUpperCase()});W[k]=I[G]}return W}),(0,h.default)((0,c.default)(s),"getInnerHTMLToCopy",function(){return s.props.cloneFrom.innerHTML.replace(/\s+id="[^"]*"/g,"")}),s}return(0,i.default)(T,[{key:"shouldComponentUpdate",value:function(v,m){return v.cloneFrom!==this.props.cloneFrom||v.visible!==this.props.visible||v.className!==this.props.className}},{key:"render",value:function(){var v=this.state.startingOffsets,m=this.props,E=m.cloneFrom,I=m.visible,L=E.nodeName.toLowerCase(),W=E.ownerDocument.defaultView.getComputedStyle(E),F=this.getInlineStyles(),G=(0,n.default)(v,2),k=G[0],x=G[1],M=_(_({},F),{},{width:W.width,height:W.height,position:"absolute",zIndex:this.props.zIndex,opacity:parseFloat(F.opacity)===0?1:F.opacity,visibility:I?"visible":"hidden",left:k,top:x});return P.createElement(L,(0,o.default)({key:"proxy",className:this.getClassName(),style:M},this.getDataAttributes(),{dangerouslySetInnerHTML:{__html:this.getInnerHTMLToCopy()}}))}}],[{key:"getDerivedStateFromProps",value:function(v,m){return v.cloneFrom!==m.prevPropsCloneFrom?{prevPropsCloneFrom:v.cloneFrom,startingOffsets:T.getStartingOffsets(v.cloneFrom,v.container)}:null}}]),T}(P.Component);(0,h.default)(C,"propTypes",{cloneFrom:O.object,container:O.object,visible:O.bool,className:O.string,zIndex:O.number}),(0,h.default)(C,"getStartingOffsets",function(A,S){var T=A.getClientRects()[0],s=S.getClientRects()[0];return[T.left-s.left,T.top-s.top]}),b.exports=C},696109:function(b,l,e){"use strict";var r=e(241225),o=r(e(279794)),n=r(e(675523)),a=r(e(668595)),i=r(e(892232)),c=r(e(590670)),u=r(e(20104)),f=r(e(848664)),d=r(e(642979));function h(v,m){var E=Object.keys(v);if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(v);m&&(I=I.filter(function(L){return Object.getOwnPropertyDescriptor(v,L).enumerable})),E.push.apply(E,I)}return E}function g(v){for(var m=1;m<arguments.length;m++){var E=arguments[m]!=null?arguments[m]:{};m%2?h(Object(E),!0).forEach(function(I){(0,d.default)(v,I,E[I])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(E)):h(Object(E)).forEach(function(I){Object.defineProperty(v,I,Object.getOwnPropertyDescriptor(E,I))})}return v}function _(v){var m=p();return function(){var I=(0,f.default)(v),L;if(m){var W=(0,f.default)(this).constructor;L=Reflect.construct(I,arguments,W)}else L=I.apply(this,arguments);return(0,u.default)(this,L)}}function p(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var y=e(795478),O=e(174161),P=e(233284),C=e(394470),A=e(367305),S=e(995793),T=e(846567),s=function(v){(0,c.default)(E,v);var m=_(E);function E(I){var L;return(0,n.default)(this,E),L=m.call(this,I),L.items=new Map,L}return(0,a.default)(E,[{key:"shouldComponentUpdate",value:function(L,W){var F=this.props,G=F.className,k=F.proxyClassName,x=F.useProxy,M=this.state,B=M.dragNode,R=M.dragging;return(0,i.default)((0,f.default)(E.prototype),"shouldComponentUpdate",this).call(this,L,W)||G!==L.className||k!==L.proxyClassName||x!==L.useProxy||B!==W.dragNode||R!==W.dragging}},{key:"componentWillUnmount",value:function(){this.items&&(this.items.clear(),this.items=null),(0,i.default)((0,f.default)(E.prototype),"componentWillUnmount",this).call(this)}},{key:"registerToConnector",value:function(){}},{key:"deregisterFromConnector",value:function(){}},{key:"onMouseDown",value:function(L,W){this.setState({dragNode:W}),(0,i.default)((0,f.default)(E.prototype),"onMouseDown",this).call(this,L,W)}},{key:"onDragStart",value:function(L){var W=this.state.dragNode,F=this.props.useProxy?this.getProxyNode():W,G=this.items.get(W);G&&G.component&&G.component.onDragStart(L);var k=G&&G.group||this.props.group;(0,i.default)((0,f.default)(E.prototype),"onDragStart",this).call(this,L,W,{draggingNode:F},k)}},{key:"onDragEnd",value:function(){var L=this.state.dragNode,W=this.props,F=W.release,G=W.useProxy;!F&&G&&this.copyNodePosition(L,this.getProxyNode()),(0,i.default)((0,f.default)(E.prototype),"onDragEnd",this).call(this,L,{dragNode:null});var k=this.items.get(L);k&&k.component&&k.component.onDragEnd()}},{key:"release",value:function(L){var W=this.props,F=W.useProxy,G=W.releaseEasing;if(F){if(G){var k=this.getComputedStylePosition(L);this.copyNodePosition(L,this.getProxyNode()),this.releaseWithAnimation.apply(this,[L].concat((0,o.default)(k)))}return}(0,i.default)((0,f.default)(E.prototype),"release",this).call(this,L)}},{key:"copyNodePosition",value:function(L,W){var F=L.getClientRects()[0],G=W.getClientRects()[0];if(!F){console.warn("dragNode doesn't exist in DOM");return}var k=this.getComputedStylePosition(L);L.style.left="".concat(k[0]+G.left-F.left,"px"),L.style.top="".concat(k[1]+G.top-F.top,"px")}},{key:"executeCallbacks",value:function(L,W){var F=this.state.dragging,G=W!==void 0?[W]:[];if(G.push({dragging:F}),this.props[L]){var k;(k=this.props)[L].apply(k,G)}}},{key:"getDragItem",value:function(){return this.DragItem||(this.DragItem=S({group:this.props.group,registerToDelegator:this.registerDragItem.bind(this),deregisterFromDelegator:this.deregisterDragItem.bind(this)})),this.DragItem}},{key:"registerDragItem",value:function(L,W,F,G){this.items.set(W,{group:F,component:L}),G&&this.resetDragNode(W,{dragNode:W,draggingNode:this.props.useProxy?this.state.draggingNode:W})}},{key:"deregisterDragItem",value:function(L,W){this.items&&this.items.delete(W)}},{key:"getNodeSelector",value:function(){return function(L){return!!L.dataset.draggable}}},{key:"shouldDragStart",value:function(L,W){var F=this.props.shouldDragStart;if(F&&!F(L,W))return!1;var G=this.items.get(L);return G&&G.component.shouldDragStart(L.component,W)}},{key:"getProxyNode",value:function(){var L=this.proxy;return L?P.findDOMNode(L):null}},{key:"renderProxyNode",value:function(L,W){var F=this,G=this.props,k=G.dragNodeZIndex,x=G.proxyClassName;return O.createElement(T,{key:"proxy",ref:function(B){F.proxy=B},container:this.container,visible:W,cloneFrom:L,zIndex:k,className:x})}},{key:"getPropsToPass",value:function(){var L=C(this.props,["className","proxyClassName","useProxy","style","nodeSelector","handleSelector","shouldDragStart"]);return Object.assign((0,i.default)((0,f.default)(E.prototype),"getPropsToPass",this).call(this,L),{nodeSelector:this.getNodeSelector(),shouldDragStart:this.shouldDragStart})}},{key:"renderOnlyChildren",value:function(){var L=this,W=this.props,F=W.className,G=W.children,k=W.useProxy,x=W.style,M=this.state,B=M.dragging,R=M.dragNode,U={position:"relative"};return x&&Object.assign(U,x),O.createElement("div",{key:"container",ref:function($){L.container=$},className:F,style:U},typeof G=="function"?G(B,this.getDragItem()):G,k&&R&&this.renderProxyNode(R,B))}}]),E}(A);(0,d.default)(s,"propTypes",g(g({},A.propTypes),{},{className:y.string,proxyClassName:y.string,useProxy:y.bool})),(0,d.default)(s,"defaultProps",g(g({},A.defaultProps),{},{useProxy:!0})),b.exports=s},116939:function(b,l,e){"use strict";var r=e(241225),o=r(e(279794)),n=e(259456),a=e(134521),i=e(210750),c=e(171585),u=e(254229),f=e(824885),d=f.LOG,h=c.addScrollListenerToParents,g=c.removeScrollListenerFromParents,_="global",p={},y={},O=!1,P=!1,C="",A=null,S=[],T=[],s=function(ie){A&&A[ie]()},v=function(ie,ne,pe){return pe&&ie>=pe.left&&ie<=pe.right&&ne>=pe.top&&ne<=pe.bottom},m=a(function(te,ie){!O||P||!y[C]||(S=S.filter(function(ne){return v(te,ie,ne.getCoords())?!0:(d("[DropZone] leaving...",ne.id),d("[DragItem] leaving...",A?A.id:"NO ACTIVE DRAG ITEM!"),ne.onDropLeave(),s("onDropLeave"),!1)}),y[C].forEach(function(ne){v(te,ie,ne.getCoords())&&S.indexOf(ne)===-1&&(d("[DropZone] entering...",ne.id),d("[DragItem] entering...",A?A.id:"NO ACTIVE DRAG ITEM!"),ne.onDropEnter(),s("onDropEnter"),S.push(ne))}))},40,{leading:!0,trailing:!0}),E=i(function(){P=!0},80,{leading:!0,trailing:!1}),I=i(function(){P=!1,O&&T.length>0&&m.apply(void 0,(0,o.default)(T))},80,{leading:!1,trailing:!0}),L=function(ie){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_;O&&(P=!1,h(ie,E),h(ie,I),A=p[ne]?p[ne].get(ie):null,d("[DragItem] updated active item, with component:",A&&A.id))},W=function(ie){P=!1,g(ie,E),g(ie,I),A=null},F=function(ie){ie.activateDrop(function(){O&&T.length>0&&m.apply(void 0,(0,o.default)(T))})},G=function(ie){if(ie&&(ie.deactivateDrop(),O)){var ne=S.indexOf(ie);ne>-1&&(S.splice(ne,1),ie.onDropLeave(),s("onDropLeave"))}},k=function(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_;C&&y[C]&&y[C].forEach(G),S=[],C=""},x=function(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_;!O||ie===C||(C&&k(C),S=[],C=ie,y[C]&&y[C].forEach(F))},M=function(ie,ne){var pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_,oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;d("[DragItem] register",ie.id,pe),p[pe]||(p[pe]=new Map),p[pe].set(ne,ie),oe&&(L(ne,pe),x(pe))},B=function(ie,ne){var pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_,oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;d("[DragItem] deregister",ie.id,pe),oe&&W(ne),p[pe]&&(p[pe].delete(ne),p[pe].size===0&&delete p[pe])},R=function(ie,ne){d("[DropZone] register",ie.id,ne),ne=ne||_,y[ne]||(y[ne]=[]),y[ne].push(ie),O&&C===ne&&F(ie)},U=function(ie,ne){if(d("[DropZone] deregister",ie.id,ne),ne=ne||_,O&&C===ne&&G(ie),y[ne]){var pe=n(y[ne],function(oe){return oe===ie});pe>-1&&y[ne].splice(pe,1),y[ne].length===0&&delete y[ne]}},j=function(ie){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_;if(d("Drag START!"),O)return!1;O=!0,T=[],L(ie,ne),x(ne)},$=function(ie){var ne=ie.mouseX,pe=ie.mouseY,oe=ie.minX,q=ie.minY,J=ie.maxX,me=ie.maxY;oe!==void 0&&(ne=u(ne,oe,J),pe=u(pe,q,me)),T=[ne,pe],m(ne,pe)},ee=function(ie,ne){d("Drag END!");var pe=[].concat(S);O=!1,k(ne),pe.forEach(function(oe){return oe.onDropped()}),pe.length>0?s("onDropHit"):s("onDropMiss"),W(ie),T=[]};b.exports={defaultGroup:_,onDragStart:j,onDrag:$,onDragEnd:ee,registerDragItem:M,deregisterDragItem:B,registerDropZone:R,deregisterDropZone:U}},369912:function(b,l,e){"use strict";var r=e(241225),o=r(e(675523)),n=r(e(668595)),a=r(e(590670)),i=r(e(20104)),c=r(e(848664)),u=r(e(642979));function f(T){var s=d();return function(){var m=(0,c.default)(T),E;if(s){var I=(0,c.default)(this).constructor;E=Reflect.construct(m,arguments,I)}else E=m.apply(this,arguments);return(0,i.default)(this,E)}}function d(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var h=e(795478),g=e(174161),_=e(233284),p=e(394470),y=e(116939),O=e(824885),P=O.DEBUG,C=O.LOG,A=0,S=function(T){(0,a.default)(v,T);var s=f(v);function v(m){var E;return(0,o.default)(this,v),E=s.call(this,m),E.state={dragging:!1,dragOver:!1},E}return(0,n.default)(v,[{key:"componentDidMount",value:function(){P&&(this.id="drag-id-".concat(A++),C("[DragItem] mounted",this.id)),this.registerToConnector(this.props)}},{key:"componentDidUpdate",value:function(E){E.group!==this.props.group&&(this.deregisterFromConnector(),this.registerToConnector(this.props))}},{key:"shouldComponentUpdate",value:function(E,I){var L=this.state,W=L.dragging,F=L.dragOver,G=I.dragging,k=I.dragOver;return W!==G||F!==k||this.props.children!==E.children}},{key:"componentWillUnmount",value:function(){C("[DragItem] unmounting",this.id),this.deregisterFromConnector()}},{key:"registerToConnector",value:function(E){var I=_.findDOMNode(this),L=this.state.dragging;y.registerDragItem(this,I,E.group,L)}},{key:"deregisterFromConnector",value:function(){var E=_.findDOMNode(this),I=this.state.dragging;y.deregisterDragItem(this,E,this.props.group,I)}},{key:"relayToConnector",value:function(E,I,L){y[E](I,L||this.props.group)}},{key:"executeCallbacks",value:function(E,I){var L=this.state,W=L.dragging,F=L.dragOver,G=I!==void 0?[I]:[];if(G.push({dragging:W,dragOver:F}),this.props[E]){var k;(k=this.props)[E].apply(k,G)}}},{key:"onDragStart",value:function(E,I,L,W){this.relayToConnector("onDragStart",I,L),this.executeCallbacks("onDragStart",E),this.setState(Object.assign({dragging:!0,dragOver:!1},W))}},{key:"onDrag",value:function(E){this.relayToConnector("onDrag",E),this.executeCallbacks("onDrag",E)}},{key:"onDragEnd",value:function(E,I){this.relayToConnector("onDragEnd",E),this.setState(Object.assign({dragging:!1,dragOver:!1},I)),this.executeCallbacks("onDragEnd")}},{key:"onDropEnter",value:function(){this.executeCallbacks("onDropEnter"),this.setState({dragOver:!0})}},{key:"onDropLeave",value:function(){this.setState({dragOver:!1}),this.executeCallbacks("onDropLeave")}},{key:"onDropHit",value:function(){this.executeCallbacks("onDropHit")}},{key:"onDropMiss",value:function(){this.executeCallbacks("onDropMiss")}},{key:"getPropsToPass",value:function(E){return E=E||this.props,p(E,["children","group","onDragStart","onDrag","onDragEnd","onDropEnter","onDropLeave","onDropHit","onDropMiss"])}},{key:"renderOnlyChildren",value:function(){var E=this.props.children,I=this.state,L=I.dragging,W=I.dragOver;return g.Children.only(typeof E=="function"?E(L,W):E)}},{key:"render",value:function(){return this.renderOnlyChildren()}}]),v}(g.Component);(0,u.default)(S,"propTypes",{group:h.string,onDragStart:h.func,onDrag:h.func,onDragEnd:h.func,onDropEnter:h.func,onDropLeave:h.func,onDropHit:h.func,onDropMiss:h.func}),(0,u.default)(S,"defaultProps",{group:y.defaultGroup}),b.exports=S},618993:function(b,l,e){"use strict";var r=e(241225),o=r(e(680180)),n=r(e(675523)),a=r(e(668595)),i=r(e(642979)),c,u;function f(L,W){var F=Object.keys(L);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(L);W&&(G=G.filter(function(k){return Object.getOwnPropertyDescriptor(L,k).enumerable})),F.push.apply(F,G)}return F}function d(L){for(var W=1;W<arguments.length;W++){var F=arguments[W]!=null?arguments[W]:{};W%2?f(Object(F),!0).forEach(function(G){(0,i.default)(L,G,F[G])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(F)):f(Object(F)).forEach(function(G){Object.defineProperty(L,G,Object.getOwnPropertyDescriptor(F,G))})}return L}var h=e(795478),g=e(107261),_=e(322470),p=e(254229),y=e(912459),O=e(791252),P=e(684619),C=e(633559),A=0,S=-1,T=1,s=-1,v=1,m=(c={},(0,i.default)(c,-1,"top"),(0,i.default)(c,1,"bottom"),c),E=(u={},(0,i.default)(u,-1,"left"),(0,i.default)(u,1,"right"),u),I=function(){function L(W,F){var G=this;(0,n.default)(this,L),(0,i.default)(this,"update",function(k,x){var M=x.pointerType,B=k.autoScroll;B!==G.props.autoScroll&&G.setState({hScrollEnabled:B===!0||!!B.horizontal,vScrollEnabled:B===!0||!!B.vertical});var R=M==="touch";G.setState({scrollThresh:R?k.touchScrollThresh:k.scrollThresh,scrollSpeed:R?k.maxScrollSpeed:k.scrollSpeed}),G.props=Object.assign({},G.props,k)}),(0,i.default)(this,"prepScroll",function(k,x,M){G.setScrollables(k,x,M),G.setState({hDirection:A,vDirection:A,scrolling:null})}),(0,i.default)(this,"unprepScroll",function(){G.endScroll(),G.cleanScrollables()}),(0,i.default)(this,"cleanScrollables",function(){G.state.scrollables.forEach(function(k){var x=k.coordsTracker;x.destroy()})}),(0,i.default)(this,"setScrollables",function(k,x,M){var B=G.props,R=B.autoScroll,U=B.scrollNode,j=R&&U||k;if(j){var $=!1,ee=[];O(j,j!==k).forEach(function(te,ie){var ne;x&&!$&&y(x,te)?($=!0,ne=d({},M)):ie>0&&(ne=ee[ie-1].coordsTracker.getCoords());var pe=P(te),oe=new C(te);ee.push(d({node:pe,coordsTracker:oe},G.getMinMaxScrollPosition(pe,ne,oe.getCoords())))}),G.setState({scrollables:ee})}}),(0,i.default)(this,"checkScroll",function(){if(G.props.autoScroll){var k=G.state.scrollables.reduce(G.calculateDirection,{hDirection:A,vDirection:A,distance:null,scrollableToScroll:null}),x=k.hDirection,M=k.vDirection,B=k.distance,R=k.scrollableToScroll,U=G.state;G.setState({hDirection:x,vDirection:M,scrolling:G.directionsAreNone(x,M)?null:R,pointerDistance:B}),G.triggerScrollStart(U)}}),(0,i.default)(this,"calculateDirection",function(k,x,M){if(!G.directionsAreNone(k.hDirection,k.vDirection))return k;var B=G.state,R=B.scrollThresh,U=B.hScrollEnabled,j=B.vScrollEnabled,$=G.getCoords(),ee=$.mouseX,te=$.mouseY,ie=x.node,ne=x.minScrollLeft,pe=x.maxScrollLeft,oe=x.minScrollTop,q=x.maxScrollTop,J=ie.scrollLeft,me=ie.scrollTop,re=G.getScrollablesMinRect(M),he=k.distance={left:ee-re.left,right:re.right-ee,top:te-re.top,bottom:re.bottom-te};return U&&(he.left<R&&J>ne?k.hDirection=s:he.right<R&&J<pe&&(k.hDirection=v)),j&&(he.top<R&&me>oe?k.vDirection=S:he.bottom<R&&me<q&&(k.vDirection=T)),k.scrollableToScroll=x,k}),(0,i.default)(this,"startScroll",function(){typeof G.props.onScrollStart=="function"&&G.props.onScrollStart(),G.scrollAnimation=g(G.scroll)}),(0,i.default)(this,"scroll",function(){var k=G.state.scrolling;if(k){var x=k.node,M=k.minScrollLeft,B=k.maxScrollLeft,R=k.minScrollTop,U=k.maxScrollTop,j=x.scrollLeft,$=x.scrollTop,ee=G.getDeltaXY(),te=(0,o.default)(ee,2),ie=te[0],ne=te[1],pe=j+ie;ie>0?pe=Math.min(pe,B):ie<0&&(pe=Math.max(pe,M));var oe=$+ne;if(ne>0?oe=Math.min(oe,U):ne<0&&(oe=Math.max(oe,R)),pe===j&&oe===$){G.endScroll(),G.checkScroll();return}x.scrollLeft=pe,x.scrollTop=oe,G.scrollAnimation=g(G.scroll)}}),this.props=Object.assign({},L.defaultProps,_(W,Object.keys(L.propTypes))),this.state=this.getInitialState(),this.setState=function(k){G.state=Object.assign({},G.state,k)},this.getCoords=F}return(0,a.default)(L,[{key:"getInitialState",value:function(){var F=this.props,G=F.autoScroll,k=F.scrollThresh,x=F.scrollSpeed;return{scrollables:[],scrolling:null,scrollThresh:k,scrollSpeed:x,hScrollEnabled:G===!0||!!G.horizontal,vScrollEnabled:G===!0||!!G.vertical,hDirection:A,vDirection:A,pointerDistance:{top:k,left:k,bottom:k,right:k}}}},{key:"getMinMaxScrollPosition",value:function(F,G,k){var x=F.scrollWidth,M=F.clientWidth,B=F.scrollHeight,R=F.clientHeight,U=0,j=0,$=x-M,ee=B-R;if(G){var te=k.left,ie=k.top,ne=F.scrollLeft,pe=F.scrollTop,oe=this.props.scrollGutter;U=p(G.left-te+ne-oe,U,$),j=p(G.top-ie+pe-oe,j,ee),$=p(G.right-M-te+ne+oe,U,$),ee=p(G.bottom-R-ie+pe+oe,j,ee)}return{minScrollLeft:U,minScrollTop:j,maxScrollLeft:$,maxScrollTop:ee}}},{key:"getScrollablesMinRect",value:function(F){for(var G=this.state.scrollables,k=G.length,x=G[F].coordsTracker.getCoords(),M=x.left,B=x.right,R=x.top,U=x.bottom;++F<k;){var j=G[F].coordsTracker.getCoords();M=Math.max(M,j.left),B=Math.min(B,j.right),R=Math.max(R,j.top),U=Math.min(U,j.bottom)}return{left:M,right:B,top:R,bottom:U}}},{key:"directionsAreNone",value:function(F,G){return F===A&&G===A}},{key:"cancelDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"triggerScrollStart",value:function(F){var G=this.state,k=G.hDirection,x=G.vDirection,M=G.scrolling;(x&&x!==F.vDirection||k&&k!==F.hDirection||M&&M!==F.scrolling)&&(this.cancelDelayTimer(),this.delayTimer=setTimeout(this.startScroll,this.props.scrollDelay))}},{key:"endScroll",value:function(){var F=!!this.scrollAnimation;this.cancelDelayTimer(),this.cancelScrollAnimation(),F&&typeof this.props.onScrollEnd=="function"&&this.props.onScrollEnd()}},{key:"getDeltaXY",value:function(){var F=this.props.maxScrollSpeed,G=this.state,k=G.scrollThresh,x=G.pointerDistance,M=G.scrollSpeed,B=G.hDirection,R=G.vDirection,U=0,j=0;if(B!==A){var $=x[E[B]];U=B*Math.min(Math.ceil(M*(k-$)/k),F)}if(R!==A){var ee=x[m[R]];j=R*Math.min(Math.ceil(M*(k-ee)/k),F)}return[U,j]}},{key:"cancelScrollAnimation",value:function(){this.scrollAnimation&&(g.cancel(this.scrollAnimation),this.scrollAnimation=null)}}]),L}();(0,i.default)(I,"propTypes",{autoScroll:h.oneOfType([h.shape({horizontal:h.bool,vertical:h.bool}),h.bool]),scrollNode:h.object,scrollGutter:h.number,scrollThresh:h.number,touchScrollThresh:h.number,scrollDelay:h.number,scrollSpeed:h.number,maxScrollSpeed:h.number,onScrollStart:h.func,onScrollEnd:h.func}),(0,i.default)(I,"defaultProps",{autoScroll:!1,scrollNode:null,scrollGutter:30,scrollThresh:40,touchScrollThresh:110,scrollDelay:100,scrollSpeed:12,maxScrollSpeed:80}),b.exports=I},658792:function(b,l,e){"use strict";var r=e(241225),o=r(e(406039)),n=r(e(675523)),a=r(e(668595)),i=r(e(642979)),c=e(795478),u=e(233284),f=e(633559),d=e(824885),h=d.DEBUG,g={top:0,bottom:0,left:0,right:0},_=function(){function p(y,O){var P=this,C=y.constraint;(0,n.default)(this,p),(0,i.default)(this,"update",function(A){P.props.constraint!==A.constraint&&P.setState(P.normalizedConstraint(A.constraint)),P.props=Object.assign({},P.props,A)}),(0,i.default)(this,"getConstraintNode",function(){var A=P.state.constraintEnabled;return A?P.extractConstraintNode(P.props.constraint):null}),(0,i.default)(this,"getConstraintNodeCoords",function(){return P.constraintNodeCoordsTracker?P.constraintNodeCoordsTracker.getCoords():{}}),(0,i.default)(this,"prepConstraint",function(){var A=P.state.constraintEnabled;if(A){var S=P.getConstraintNode();S&&(h&&P.setConstraintDebugMode(S),P.constraintNodeCoordsTracker=new f(S))}}),(0,i.default)(this,"unprepConstraint",function(){P.constraintNodeCoordsTracker&&(P.constraintNodeCoordsTracker.destroy(),P.constraintNodeCoordsTracker=null),P.resetConstraintNodeDebugMode&&(P.resetConstraintNodeDebugMode(),P.resetConstraintNodeDebugMode=null)}),(0,i.default)(this,"updateConstraintCoords",function(A){var S=P.state,T=S.constraintEnabled,s=S.xAxisConstraint,v=S.yAxisConstraint,m=S.constraintOffsets,E=A.startX,I=A.startY;if(T){if(P.constraintNodeCoordsTracker){var L=P.constraintNodeCoordsTracker.getCoords();Object.assign(A,{minX:L.left+m.left,maxX:L.right-m.right,minY:L.top+m.top,maxY:L.bottom-m.bottom})}s&&Object.assign(A,{minY:I,maxY:I}),v&&Object.assign(A,{minX:E,maxX:E})}}),this.props=Object.assign({},p.defaultProps,{constraint:C}),this.state=this.getInitialState(),this.setState=function(A){P.state=Object.assign({},P.state,A)},this.getDOMNode=O}return(0,a.default)(p,[{key:"getInitialState",value:function(){return this.normalizedConstraint(this.props.constraint)}},{key:"normalizedConstraint",value:function(O){if(!O)return{constraintEnabled:!1,constraintOffsets:0};var P=O.offsets;return{constraintEnabled:!0,xAxisConstraint:!!O.xAxis,yAxisConstraint:!!O.yAxis,constraintOffsets:typeof P=="number"?{top:P,left:P,bottom:P,right:P}:Object.assign({},g,P)}}},{key:"extractConstraintNode",value:function(O){if(O instanceof Node)return O;if(typeof O=="function")return this.extractConstraintNode(O());if((0,o.default)(O)==="object")return this.extractConstraintFromObject(O);var P=this.getDOMNode();return O==="window"?(P?P.ownerDocument:document).documentElement:P}},{key:"extractConstraintFromObject",value:function(O){if(O.node)return this.extractConstraintNode(O.node);if(O.current)return O.current;try{return u.findDOMNode(O)}catch{return null}}},{key:"setConstraintDebugMode",value:function(O){var P=this.state.constraintOffsets,C=P.top,A=P.left,S=P.bottom,T=P.right,s="rgba(255, 0, 0, 0.1)",v=O.style.boxShadow;this.resetConstraintNodeDebugMode=function(){O.style.boxShadow=v},O.style.boxShadow="inset 0 0 0 1px red"+",".concat(A>=0?"inset":""," ").concat(A,"px 0 ").concat(s)+",".concat(C>=0?"inset":""," 0 ").concat(C,"px ").concat(s)+",".concat(T>=0?"inset":""," ").concat(-T,"px 0 ").concat(s)+",".concat(S>=0?"inset":""," 0 ").concat(-S,"px ").concat(s)+(A<0&&C<0?", ".concat(A,"px ").concat(C,"px ").concat(s):"")+(T<0&&C<0?", ".concat(-T,"px ").concat(C,"px ").concat(s):"")+(A<0&&S<0?", ".concat(A,"px ").concat(-S,"px ").concat(s):"")+(T<0&&S<0?", ".concat(-T,"px ").concat(-S,"px ").concat(s):"")}}]),p}();(0,i.default)(_,"propTypes",{constraint:c.oneOfType([c.bool,c.string,c.element,c.instanceOf(Node),c.func,c.shape({node:c.oneOfType([c.string,c.element,c.instanceOf(Node),c.func]),offsets:c.oneOfType([c.number,c.shape({top:c.number,left:c.number,right:c.number,bottom:c.number})])})])}),(0,i.default)(_,"defaultProps",{constraint:!1}),b.exports=_},764790:function(b,l,e){"use strict";var r=e(241225),o=r(e(675523)),n=r(e(668595)),a=r(e(910575)),i=r(e(590670)),c=r(e(20104)),u=r(e(848664)),f=r(e(642979));function d(W,F){var G=Object.keys(W);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(W);F&&(k=k.filter(function(x){return Object.getOwnPropertyDescriptor(W,x).enumerable})),G.push.apply(G,k)}return G}function h(W){for(var F=1;F<arguments.length;F++){var G=arguments[F]!=null?arguments[F]:{};F%2?d(Object(G),!0).forEach(function(k){(0,f.default)(W,k,G[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(G)):d(Object(G)).forEach(function(k){Object.defineProperty(W,k,Object.getOwnPropertyDescriptor(G,k))})}return W}function g(W){var F=_();return function(){var k=(0,u.default)(W),x;if(F){var M=(0,u.default)(this).constructor;x=Reflect.construct(k,arguments,M)}else x=k.apply(this,arguments);return(0,c.default)(this,x)}}function _(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e(457427);var p=e(795478),y=e(174161),O=e(233284),P=e(618993),C=e(658792),A=e(937280),S=e(171585),T=e(424546),s=e(69141),v=e(105229),m=S.addScrollListenerToParents,E=S.removeScrollListenerFromParents,I=[],L=function(W){(0,i.default)(G,W);var F=g(G);function G(k){var x;return(0,o.default)(this,G),x=F.call(this,k),(0,f.default)((0,a.default)(x),"onPointerDown",function(M){if(!(M.button!==0||M.ctrlKey)){if(!M.isPrimary){x.endDrag();return}var B=x.getDragNodeFromPointerEvent(M);if(B){if(M.pointerType==="mouse"&&x._lastTouchEndTime&&M.timeStamp-x._lastTouchEndTime<100){window.addEventListener("click",x.preventClick,!0);return}x.inhibitHTML5Drag(M.target),x.prepBeforeDrag(M,B)}}}),(0,f.default)((0,a.default)(x),"triggerDragStartOnPointerMove",function(M){var B=x.props.pixelThreshold;(Math.abs(M.clientX-x.coords.startX)>B||Math.abs(M.clientY-x.coords.startY)>B)&&(M.preventDefault(),x.triggerDragStart())}),(0,f.default)((0,a.default)(x),"onDrag",function(M){M.preventDefault();var B=x.coords,R=B.mouseX,U=B.mouseY,j=x.state.dragNode;Object.assign(x.coords,{mouseX:M.clientX,mouseY:M.clientY,deltaX:M.clientX-R,deltaY:M.clientY-U}),x.props.onDrag(h({},x.coords),j),A(x.DragAutoScroll,"checkScroll")}),(0,f.default)((0,a.default)(x),"onScroll",function(){var M=x.state.dragNode;A(x.DragConstraint,"updateConstraintCoords",x.coords);var B=x.props.onScroll;B&&B(Object.assign({},x.coords),M)}),(0,f.default)((0,a.default)(x),"endDrag",function(M){var B=x.props.onDragEnd,R=x.state,U=R.dragNode,j=R.dragging;x.cleanAfterDrag(),j&&(M.pointerType!=="mouse"&&(x._lastTouchEndTime=M.timeStamp),window.addEventListener("click",x.preventClick,!0),B&&B(U)),x.setState({dragging:!1,dragNode:null,targetNode:null,pointerType:""},function(){setTimeout(function(){window.removeEventListener("click",x.preventClick,!0)},10)})}),(0,f.default)((0,a.default)(x),"cleanAfterDrag",function(){for(clearTimeout(x.timeout),window.removeEventListener("pointermove",x.triggerDragStartOnPointerMove),window.removeEventListener("click",x.preventClick,!0),window.removeEventListener("pointerup",x.endDrag),window.removeEventListener("pointercancel",x.endDrag),window.removeEventListener("pointermove",x.onDrag);I.length>0;){var M=I.pop(),B=M.iFrame,R=M.pointerEvent;B.style.pointerEvents=R}x.resetInhibitedHTML5Drag(),x.resetInhibitedTouchSelect();var U=x.state.dragNode;E(U,x.onScroll),A(x.DragConstraint,"unprepConstraint"),A(x.DragAutoScroll,"unprepScroll")}),(0,f.default)((0,a.default)(x),"preventClick",function(M){window.removeEventListener("click",x.preventClick,!0),M.preventDefault(),M.stopImmediatePropagation()}),x.state={dragging:!1,dragNode:null,pointerType:""},x.initConstraintMixin(x.props.constraint,x.props),x.initAutoScrollMixin(x.props.autoScroll,x.props),x}return(0,n.default)(G,[{key:"componentDidMount",value:function(){var x=O.findDOMNode(this);x.setAttribute("touch-action","auto"),x.addEventListener("pointerdown",this.onPointerDown)}},{key:"shouldComponentUpdate",value:function(x,M){var B=this.props.children,R=this.state,U=R.dragging,j=R.dragNode;return B!==x.children||U!==M.dragging||!!j!=!!M.dragNode}},{key:"componentDidUpdate",value:function(x,M){M.dragNode!==this.state.dragNode&&this.state.dragNode&&(this.resetInhibitedTouchSelect(),this.inhibitTouchSelect(this.state.dragNode)),this.state.dragging&&!M.dragging&&this.startDrag(),!x.autoScroll&&this.props.autoScroll&&this.initAutoScrollMixin(this.props.autoScroll,this.props),!x.constraint&&this.props.constraint&&this.initConstraintMixin(this.props.constraint,this.props),A(this.DragConstraint,"update",this.props,this.state),A(this.DragAutoScroll,"update",this.props,this.state)}},{key:"componentWillUnmount",value:function(){O.findDOMNode(this).removeEventListener("pointerdown",this.onPointerDown),this.cleanAfterDrag()}},{key:"initConstraintMixin",value:function(x,M){var B=this;x&&!this.DragConstraint&&(this.DragConstraint=new C(M,function(){return O.findDOMNode(B)}))}},{key:"initAutoScrollMixin",value:function(x,M){var B=this;x&&!this.DragAutoScroll&&(this.DragAutoScroll=new P(M,function(){return B.coords}))}},{key:"getDragNodeFromPointerEvent",value:function(x){var M=this.props,B=M.nodeSelector,R=M.handleSelector,U=O.findDOMNode(this),j=x.target;return R&&(j=T(j,R,U)),j?B?T(j,B,U):U:null}},{key:"prepBeforeDrag",value:function(x,M){var B=this;A(this.DragConstraint,"prepConstraint"),this.initializeCoordsFromPointerEvent(x),window.addEventListener("pointerup",this.endDrag),window.addEventListener("pointercancel",this.endDrag),this.setState({targetNode:x.target,dragNode:M,pointerType:x.pointerType});var R=this.props.onMouseDown;R&&R(x,M),window.addEventListener("pointermove",this.triggerDragStartOnPointerMove),this.timeout=setTimeout(function(){x.preventDefault(),B.triggerDragStart()},this.props.timeThreshold)}},{key:"initializeCoordsFromPointerEvent",value:function(x){this.coords={startX:x.clientX,startY:x.clientY,mouseX:x.clientX,mouseY:x.clientY,deltaX:0,deltaY:0},A(this.DragConstraint,"updateConstraintCoords",this.coords)}},{key:"triggerDragStart",value:function(){var x=this.props.shouldDragStart;clearTimeout(this.timeout),window.removeEventListener("pointermove",this.triggerDragStartOnPointerMove),(!x||x(this.state.dragNode,this.state.targetNode))&&(document.selection?document.selection.empty():window.getSelection().removeAllRanges(),Array.from(document.getElementsByTagName("iframe")).forEach(function(M){I.push({iFrame:M,pointerEvent:M.style.pointerEvents}),M.style.pointerEvents="none"}),this.setState({dragging:!0}))}},{key:"startDrag",value:function(){var x=this.props.onDragStart,M=this.state.dragNode;window.addEventListener("pointermove",this.onDrag),m(M,this.onScroll);var B=A(this.DragConstraint,"getConstraintNode"),R=A(this.DragConstraint,"getConstraintNodeCoords");A(this.DragAutoScroll,"prepScroll",M,B,R),x&&x(h({},this.coords),M),window.removeEventListener("click",this.preventClick,!0),window.addEventListener("click",this.preventClick,!0)}},{key:"inhibitTouchSelect",value:function(x){if(x){var M=v("userSelect"),B=v("touchCallout"),R={userSelect:document.body.style[M],touchCallout:x.style[B]};this.revertSelectStyles=function(){document.body.style[M]=R.userSelect,x.style[B]=R.touchCallout},document.body.style[M]="none",x.style[B]="none"}}},{key:"inhibitHTML5Drag",value:function(x){var M=this.HTML5DraggableNodes=s(x,function(B){return B.draggable}).map(function(B){return{node:B,savedAttr:B.getAttribute("draggable")}});x.draggable&&M.unshift({node:x,savedAttr:x.getAttribute("draggable")}),M.forEach(function(B){var R=B.node;return R.setAttribute("draggable",!1)})}},{key:"resetInhibitedTouchSelect",value:function(){this.revertSelectStyles&&(this.revertSelectStyles(),this.revertSelectStyles=null)}},{key:"resetInhibitedHTML5Drag",value:function(){this.HTML5DraggableNodes&&(this.HTML5DraggableNodes.forEach(function(x){var M=x.node,B=x.savedAttr;M.setAttribute("draggable",B)}),this.HTML5DraggableNodes=null)}},{key:"resetDragNode",value:function(x){if(this.state.dragging){var M=this.state.dragNode;E(M,this.onScroll),A(this.DragAutoScroll,"cleanScrollables"),m(x,this.onScroll),A(this.DragAutoScroll,"setScrollables"),this.setState({dragNode:x})}}},{key:"render",value:function(){var x=this.props.children,M=this.state,B=M.dragNode,R=M.dragging;return y.Children.only(typeof x=="function"?x(B,R):x)}}]),G}(y.Component);(0,f.default)(L,"propTypes",h(h({pixelThreshold:p.number,timeThreshold:p.number,nodeSelector:p.oneOfType([p.func,p.string]),handleSelector:p.string,shouldDragStart:p.func,onMouseDown:p.func,onDragStart:p.func,onDrag:p.func.isRequired,onDragEnd:p.func,onScroll:p.func,autoScroll:p.oneOfType([p.object,p.bool])},P.propTypes),C.propTypes)),(0,f.default)(L,"defaultProps",h(h({pixelThreshold:14,timeThreshold:400,shouldDragStart:function(){return!0},onDrag:function(){}},P.defaultProps),C.defaultProps)),b.exports=L},367305:function(b,l,e){"use strict";var r=e(241225),o=r(e(160553)),n=r(e(279794)),a=r(e(680180)),i=r(e(675523)),c=r(e(668595)),u=r(e(910575)),f=r(e(892232)),d=r(e(590670)),h=r(e(20104)),g=r(e(848664)),_=r(e(642979));function p(k,x){var M=Object.keys(k);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(k);x&&(B=B.filter(function(R){return Object.getOwnPropertyDescriptor(k,R).enumerable})),M.push.apply(M,B)}return M}function y(k){for(var x=1;x<arguments.length;x++){var M=arguments[x]!=null?arguments[x]:{};x%2?p(Object(M),!0).forEach(function(B){(0,_.default)(k,B,M[B])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(M)):p(Object(M)).forEach(function(B){Object.defineProperty(k,B,Object.getOwnPropertyDescriptor(M,B))})}return k}function O(k){var x=P();return function(){var B=(0,g.default)(k),R;if(x){var U=(0,g.default)(this).constructor;R=Reflect.construct(B,arguments,U)}else R=B.apply(this,arguments);return(0,h.default)(this,R)}}function P(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var C=e(795478),A=e(107261),S=e(174161),T=e(394470),s=e(633559),v=e(49500),m=e(254229),E=e(952353),I=e(369912),L=e(764790),W=function(x){var M=Number.parseInt(x,10);return Number.isNaN(M)?0:M},F="easeOutQuart",G=function(k){(0,d.default)(M,k);var x=O(M);function M(B){var R;return(0,i.default)(this,M),R=x.call(this,B),Object.assign(R.state,{draggingNode:null,savedStyle:{},startPos:[],pointerOffset:{}}),R.shouldDragStart=R.shouldDragStart.bind((0,u.default)(R)),R.onMouseDown=R.onMouseDown.bind((0,u.default)(R)),R.onDragStart=R.onDragStart.bind((0,u.default)(R)),R.onDrag=R.onDrag.bind((0,u.default)(R)),R.onDrag=R.onDrag.bind((0,u.default)(R)),R.onDragEnd=R.onDragEnd.bind((0,u.default)(R)),R.saveTrigger=R.saveTrigger.bind((0,u.default)(R)),R}return(0,c.default)(M,[{key:"getComputedStylePosition",value:function(R){var U=E(R),j=U.left,$=U.top;return[W(j),W($)]}},{key:"onMouseDown",value:function(R,U){this.executeCallbacks("onMouseDown",R)}},{key:"shouldDragStart",value:function(R,U){var j=this.props,$=j.locked,ee=j.shouldDragStart;return!$||!ee||ee(R,U)}},{key:"onDragStart",value:function(R,U){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},$=arguments.length>3&&arguments[3]!==void 0?arguments[3]:this.props.group,ee=j.draggingNode||U,te=U.style,ie=te.left,ne=te.top,pe=te.zIndex;this.nodeCoordsTracker=new s(ee);var oe=this.nodeCoordsTracker.getCoords();U===ee&&(U.style.zIndex=this.props.dragNodeZIndex),(0,f.default)((0,g.default)(M.prototype),"onDragStart",this).call(this,R,U,$,y({draggingNode:ee,savedStyle:{left:ie,top:ne,zIndex:pe},startPos:this.getComputedStylePosition(ee),pointerOffset:{left:R.startX-oe.left,top:R.startY-oe.top,right:oe.right-R.startX,bottom:oe.bottom-R.startY}},j))}},{key:"onDrag",value:function(R,U){this.requestMove(R),(0,f.default)((0,g.default)(M.prototype),"onDrag",this).call(this,R,U)}},{key:"requestMove",value:function(R){var U=this;this.requestedMove&&A.cancel(this.requestedMove),this.requestedMove=A(function(){U.requestedMove=null,U.moveNode(R)})}},{key:"moveNode",value:function(R){var U=this.props.snap,j=this.state,$=j.draggingNode,ee=j.startPos,te=j.pointerOffset,ie=R.mouseX,ne=R.mouseY,pe=R.startX,oe=R.startY,q=R.minX,J=R.minY,me=R.maxX,re=R.maxY,he=this.nodeCoordsTracker.getOffsets(),Ee=ie-pe-he.left,fe=ne-oe-he.top;if(q!==void 0&&(q+=te.left,me-=te.right,q<=me?(ie=m(ie,q,me),Ee=ie-pe-he.left):Ee=0),J!==void 0&&(J+=te.top,re-=te.bottom,J<=re?(ne=m(ne,J,re),fe=ne-oe-he.top):fe=0),U){var H=U(Object.assign({},R,{diffX:Ee,diffY:fe})),z=(0,a.default)(H,2);Ee=z[0],fe=z[1]}$.style.left="".concat(ee[0]+Ee,"px"),$.style.top="".concat(ee[1]+fe,"px")}},{key:"resetDragNode",value:function(R){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.state.dragging){var j=R.style,$=j.left,ee=j.top,te=j.zIndex,ie=U.draggingNode||R,ne=this.state,pe=ne.dragNode,oe=ne.draggingNode,q=ne.startPos;this.resetNodeStyle(pe),ie!==oe&&(this.nodeCoordsTracker&&this.nodeCoordsTracker.destroy(),this.nodeCoordsTracker=new s(ie),q=this.getComputedStylePosition(ie)),R===ie&&(R.style.zIndex=this.props.dragNodeZIndex),this.trigger.resetDragNode(R),this.setState(y({draggingNode:ie,startPos:q,savedStyle:{left:$,top:ee,zIndex:te}},U))}}},{key:"onDragEnd",value:function(R){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},j=this.props.release;this.nodeCoordsTracker&&(this.nodeCoordsTracker.destroy(),this.nodeCoordsTracker=null),this.requestedMove&&(A.cancel(this.requestedMove),this.requestedMove=null),j&&this.release(R),(0,f.default)((0,g.default)(M.prototype),"onDragEnd",this).call(this,R,Object.assign({draggingNode:null,savedStyle:{},startPos:[],pointerOffset:{}},U))}},{key:"resetNodeStyle",value:function(R){var U=this.state.savedStyle,j=U.left,$=U.top,ee=U.zIndex;R.style.left=j||"",R.style.top=$||"",R.style.zIndex=ee||""}},{key:"release",value:function(R){var U=this.props.releaseEasing,j=this.state.startPos;U?this.releaseWithAnimation.apply(this,[R].concat((0,n.default)(j))):this.resetNodeStyle(R)}},{key:"releaseWithAnimation",value:function(R,U,j){var $=this,ee=this.props.releaseEasing,te=W(R.style.left),ie=W(R.style.top),ne=U-te,pe=j-ie,oe=new v(function(q){R.style.left="".concat(te+ne*q,"px"),R.style.top="".concat(ie+pe*q,"px")},{duration:m(Math.round(Math.max(Math.abs(ne),Math.abs(pe))/200)*100,100,600),easing:typeof ee=="string"?ee:F,onEnd:function(){return $.resetNodeStyle(R)}});R.style.zIndex=this.props.dragNodeZIndex,oe.start()}},{key:"saveTrigger",value:function(R){this.trigger=R}},{key:"getPropsToPass",value:function(R){var U=T(R||this.props,["release","releaseEasing","dragNodeZIndex","nodeSelector"]);return U.autoScroll===void 0&&(U.autoScroll=!0),(0,f.default)((0,g.default)(M.prototype),"getPropsToPass",this).call(this,U)}},{key:"render",value:function(){return S.createElement(L,(0,o.default)({ref:this.saveTrigger,key:"trigger",shouldDragStart:this.shouldDragStart},this.getPropsToPass(),{onMouseDown:this.onMouseDown,onDragStart:this.onDragStart,onDrag:this.onDrag,onScroll:this.onDrag,onDragEnd:this.onDragEnd}),this.renderOnlyChildren())}}]),M}(I);(0,_.default)(G,"propTypes",y(y({},I.propTypes),{},{release:C.bool,releaseEasing:C.oneOfType([C.bool,C.string]),locked:C.bool,shouldDragStart:C.func,onMouseDown:C.func,onDragStart:C.func,onDrag:C.func,onDragEnd:C.func,dragNodeZIndex:C.number,snap:C.func})),(0,_.default)(G,"defaultProps",y(y({},I.defaultProps),{},{dragNodeZIndex:100,release:!1,releaseEasing:F})),b.exports=G},903581:function(b,l,e){"use strict";var r=e(241225),o=r(e(675523)),n=r(e(668595)),a=r(e(910575)),i=r(e(590670)),c=r(e(20104)),u=r(e(848664)),f=r(e(642979));function d(E,I){var L=Object.keys(E);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(E);I&&(W=W.filter(function(F){return Object.getOwnPropertyDescriptor(E,F).enumerable})),L.push.apply(L,W)}return L}function h(E){for(var I=1;I<arguments.length;I++){var L=arguments[I]!=null?arguments[I]:{};I%2?d(Object(L),!0).forEach(function(W){(0,f.default)(E,W,L[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(L)):d(Object(L)).forEach(function(W){Object.defineProperty(E,W,Object.getOwnPropertyDescriptor(L,W))})}return E}function g(E){var I=_();return function(){var W=(0,u.default)(E),F;if(I){var G=(0,u.default)(this).constructor;F=Reflect.construct(W,arguments,G)}else F=W.apply(this,arguments);return(0,c.default)(this,F)}}function _(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var p=e(795478),y=e(174161),O=e(233284),P=e(416203),C=e(116939),A=e(633559),S=e(824885),T=S.DEBUG,s=S.LOG,v=0,m=function(E){(0,i.default)(L,E);var I=g(L);function L(W){var F;(0,o.default)(this,L),F=I.call(this,W),(0,f.default)((0,a.default)(F),"getCoords",function(){return F.coordsTracker?F.coordsTracker.getCoords():null}),(0,f.default)((0,a.default)(F),"executeCallbacks",function(k){F.props[k]&&F.props[k](h({},F.state))}),(0,f.default)((0,a.default)(F),"activateDrop",function(k){F.setState({dropActive:!0},k)}),(0,f.default)((0,a.default)(F),"deactivateDrop",function(){F.setState({dropOver:!1,dropActive:!1})}),(0,f.default)((0,a.default)(F),"onDropActivated",function(){F.coordsTracker=new A(O.findDOMNode((0,a.default)(F))),F.executeCallbacks("onDropActivated")}),(0,f.default)((0,a.default)(F),"onDropDeactivated",function(){F.destroyCoordsTracker(),F.executeCallbacks("onDropDeactivated")}),(0,f.default)((0,a.default)(F),"onDropEnter",function(){F.setState({dropOver:!0}),F.executeCallbacks("onDropEnter")}),(0,f.default)((0,a.default)(F),"onDropLeave",function(){F.setState({dropOver:!1}),F.executeCallbacks("onDropLeave")}),(0,f.default)((0,a.default)(F),"onDropped",function(){F.executeCallbacks("onDrop")}),(0,f.default)((0,a.default)(F),"destroyCoordsTracker",function(){F.coordsTracker&&(F.coordsTracker.destroy(),F.coordsTracker=null)}),(0,f.default)((0,a.default)(F),"resetPositionCoords",function(){F.coordsTracker&&F.coordsTracker.resetCoords()}),(0,f.default)((0,a.default)(F),"registerDropZoneGroups",function(){var k=F.state.groups;k.forEach(function(x){return C.registerDropZone((0,a.default)(F),x)})}),(0,f.default)((0,a.default)(F),"deregisterDropZoneGroups",function(){var k=F.state.groups;k.forEach(function(x){return C.deregisterDropZone((0,a.default)(F),x)})});var G=W.group;return F.state={dropActive:!1,dropOver:!1,groups:[].concat(G)},F}return(0,n.default)(L,[{key:"componentDidMount",value:function(){var F=this.props.locked;T&&(this.id="drop-id-".concat(v++),s("[DropZone] mounted",this.id)),F||this.registerDropZoneGroups()}},{key:"getSnapshotBeforeUpdate",value:function(F,G){return{prevLocked:F.locked,prevGroups:G.groups}}},{key:"shouldComponentUpdate",value:function(F,G){var k=this.props,x=k.children,M=k.position,B=k.locked,R=F.children,U=F.position,j=F.locked,$=this.state,ee=$.dropActive,te=$.dropOver,ie=G.dropActive,ne=G.dropOver;return U!==M||j!==B||ie!==ee||ne!==te||!ie&&R!==x}},{key:"componentDidUpdate",value:function(F,G,k){var x=k.prevLocked,M=k.prevGroups,B=this.state,R=B.dropActive,U=B.groups,j=this.props,$=j.position,ee=j.locked,te=P(M,U).length>0,ie=x!==ee;(te||ie&&ee)&&this.deregisterDropZoneGroups(),!ee&&(te||ie)&&this.registerDropZoneGroups(),$!==F.position&&this.resetPositionCoords(),R!==G.dropActive&&(R?this.onDropActivated():this.onDropDeactivated())}},{key:"componentWillUnmount",value:function(){s("[DropZone] unmounting",this.id),this.deregisterDropZoneGroups(),this.destroyCoordsTracker()}},{key:"render",value:function(){var F=this.props.children,G=this.state,k=G.dropActive,x=G.dropOver;return y.Children.only(typeof F=="function"?F(k,x):F)}}],[{key:"getDerivedStateFromProps",value:function(F){return{groups:F.group?[].concat(F.group):[]}}}]),L}(y.Component);(0,f.default)(m,"propTypes",{position:p.any,group:p.oneOfType([p.string,p.array]),onDropActivated:p.func,onDropDeactivated:p.func,onDropEnter:p.func,onDropLeave:p.func,onDrop:p.func,locked:p.bool}),(0,f.default)(m,"defaultProps",{group:[C.defaultGroup]}),b.exports=m},824885:function(b){"use strict";var l=!1,e=function(){};typeof __DEBUG__=="boolean"&&(l=__DEBUG__),l&&(e=function(){var o;(o=console).log.apply(o,arguments)}),b.exports={DEBUG:l,LOG:e}},861673:function(b,l,e){"use strict";b.exports={DragTrigger:e(764790),Draggable:e(367305),DropZone:e(903581),DragDelegator:e(696109)}},722448:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.AUTHENTICATED_NO_SITE_PERMISSIONS=0,o.CONFIG=1,o.ADMIN=2,o.CONFIG_CONTENT_MANAGER=11,o.CONFIG_SETTINGS=12,o.CONFIG_ACTIVITY=13,o.CONFIG_COMMERCE=14,o.CONFIG_NEWSLETTER=15,o.CONFIG_DAMASK=17,o.CONFIG_CRM=18,o.CONFIG_CHANGE_STRUCTURE=1110,o.CONFIG_TRUSTED_COMMENTER=1111,o.CONFIG_JOBS_DELETE=1112,o.CONFIG_SETTINGS_GENERAL=1210,o.CONFIG_SETTINGS_LOCALE=1211,o.CONFIG_SETTINGS_SOCIAL_ACCOUNT=1212,o.CONFIG_SETTINGS_FACEBOOK=1213,o.CONFIG_SETTINGS_SOCIAL_SETTINGS=1214,o.CONFIG_SETTINGS_MEMBER_ACCOUNTS=1215,o.CONFIG_SETTINGS_DOMAIN=1216,o.CONFIG_SETTINGS_TEMPLATE=1217,o.CONFIG_SETTINGS_IMPORT=1218,o.CONFIG_SETTINGS_CODEINJECT=1219,o.CONFIG_SETTINGS_ADVANCED=1220,o.CONFIG_SETTINGS_DEVELOPER=1221,o.CONFIG_SETTINGS_SESSIONS=1222,o.CONFIG_SETTINGS_MOBILE=1223,o.CONFIG_SETTINGS_BILLING=1224,o.CONFIG_SETTINGS_SUPPORT=1225,o.CONFIG_SETTINGS_SITE=1226,o.CONFIG_SETTINGS_LABS=1227,o.CONFIG_SETTINGS_ADVERTISING=1228,o.CONFIG_SETTINGS_USER_ACCOUNTS=1229,o.CONFIG_SETTINGS_REMOVE_WEBSITE=1230,o.CONFIG_SETTINGS_CIRCLE_LABS=1231,o.CONFIG_SETTINGS_INTERNAL_LABS=1232,o.CONFIG_SETTINGS_PROJECT_TITLE=1233,o.CONFIG_SETTINGS_SSO=1234,o.CONFIG_ORG_CONTENT_LIBRARY=1135,o.CONFIG_ACTIVITY_STATS=1310,o.CONFIG_ACTIVITY_COMMENTS=1311,o.CONFIG_COMMERCE_ORDERS=1410,o.CONFIG_COMMERCE_STORE_SETTINGS=1411,o.CONFIG_COMMERCE_SHIPPING=1412,o.CONFIG_COMMERCE_COUPONS=1413,o.CONFIG_COMMERCE_TAXES=1414,o.CONFIG_COMMERCE_EMAIL_NOTIFICATIONS=1415,o.CONFIG_COMMERCE_INVENTORY=1416,o.CONFIG_COMMERCE_DONATIONS=1417,o.CONFIG_COMMERCE_ACCOUNTING=1418,o.CONFIG_COMMERCE_DISCOUNTS=1419,o.CONFIG_COMMERCE_PAYMENTS=1420,o.CONFIG_COMMERCE_POS=1421,o.CONFIG_COMMERCE_PRODUCT_REVIEWS=1422,o.CONFIG_COMMERCE_PROJECT_MANAGEMENT=1423,o.CONFIG_COMMERCE_FINANCE_DASHBOARD=1424,o.CONFIG_COMMERCE_CONTENT_MEMBERSHIPS_DASHBOARD=1425,o.CONFIG_NEWSLETTER_READ_SUBSCRIBER=1510,o.CONFIG_NEWSLETTER_WRITE_SUBSCRIBER=1511,o.CONFIG_NEWSLETTER_READ_GROUP=1512,o.CONFIG_NEWSLETTER_WRITE_GROUP=1513,o.CONFIG_NEWSLETTER_READ_MESSAGE=1514,o.CONFIG_NEWSLETTER_WRITE_MESSAGE=1515,o.CONFIG_NEWSLETTER_READ_SETTINGS=1516,o.CONFIG_NEWSLETTER_WRITE_SETTINGS=1517,o.CONFIG_ACCEPT_TOS=1610,o.CONFIG_DOMAINS_REMOVE=1611,o.CONFIG_DOMAINS_ADD=1612,o.CONFIG_CONTENT_VIEW=1700,o.CONFIG_CONTENT_EDIT=1701,o.CONFIG_CRM_COMMERCE_CUSTOMERS=1810,o.CONFIG_MARKETING=1910,o.CONFIG_MARKETING_CAMPAIGNS=1911,o.CONFIG_MARKETING_LOCAL_LISTINGS=1912,o.CONFIG_SCHEDULING=1920,o.CONFIG_ASSET_LIBRARY=1921,o.CONFIG_DRAFT_PUBLISH=1930,o.CONFIG_DRAFT_CREATE=1931,o.CONFIG_DRAFT_EDIT=1932,o.ADMIN_GRANT_ACCESS=2010,o.ADMIN_BILLING_READ=2011,o.ADMIN_BILLING_WRITE=2012,o.ADMIN_READ_CUSTOMER_DATA=2013,o.ADMIN_WRITE_CUSTOMER_DATA=2014,o.ADMIN_DEV_SETTINGS=2015,o.ADMIN_MARKETING_READ=2016,o.ADMIN_MARKETING_WRITE=2017,o.ADMIN_LOGINAS=2018,o.ADMIN_TEMPLATE_SETTINGS=2019,o.ADMIN_SYSTEM_JSON_VIEW=2020,o.ADMIN_TAXONOMY=2021,o.ADMIN_CHANGE_USER_EMAIL=2022,o.ADMIN_ADD_NOTE=2023,o.ADMIN_EDIT_OTHER_NOTES=2024,o.ADMIN_EXTEND_TRIAL=2025,o.ADMIN_BIZPIPE_STATS_MOBILE_ACCESS=2026,o.ADMIN_REFERRALS_WRITE=2027,o.ADMIN_BILLING_REFUND=2028,o.ADMIN_BILLING_APPLY_EDU_DISCOUNT=2029,o.ADMIN_DEACTIVATE_SQUARESPACE_ACCOUNT=2030,o.ADMIN_BILLING_EXPIRE=2031,o.ADMIN_CHANGE_MAX_COMPS=2032,o.ADMIN_CHANGE_GUILDS=2033,o.ADMIN_DOMAIN_WRITE=2034,o.ADMIN_GOOGLE_APPS_WRITE=2035,o.ADMIN_ADD_CONTRIBUTER=2036,o.ADMIN_CHANGE_WEBSITE_OWNER=2037,o.ADMIN_REMOVE_CONTRIBUTER=2038,o.ADMIN_TAXATION_READ=2039,o.ADMIN_SUSPEND=2040,o.ADMIN_TAXATION_WRITE=2041,o.ADMIN_LOGINAS_PUBLIC=2042,o.ADMIN_MASS_REMOVAL=2043,o.ADMIN_REMOVE_SITE=2044,o.ADMIN_TERMINATE_MEMBER_ACCOUNT=2045,o.ADMIN_DOMAIN_REMOVE=2046,o.ADMIN_GOOGLE_APPS_LINK=2047,o.ADMIN_REFERRALS_READ=2048,o.ADMIN_SURVEYS=2049,o.ADMIN_REPORTING_CREDIT_TILL=2050,o.ADMIN_TWO_FACTOR=2051,o.ADMIN_READ_IDENTIFIABLE_CUSTOMER_DATA=2052,o.ADMIN_BILLING_CHANGE_PLAN=2053,o.ADMIN_CAMPAIGNS_REVIEW_EMAIL=2054,o.ADMIN_PRESERVE_MEMBER_ACCOUNT=2055,o.ADMIN_LOCK_MEMBER_ACCOUNT=2056,o.ADMIN_REDACT_SITE_USERS=2057,o.ADMIN_BILLING_MIGRATE_RIPLEY=2058,o.ADMIN_ENTERPRISE=2059,o.ADMIN_BILLING_ADD_CREDIT=2060,o.ADMIN_FRAUD_DETECTION_READ=2061,o.ADMIN_FRAUD_DETECTION_WRITE=2062,o.ADMIN_FRAUD_DETECTION_SEND_EMAIL=2063,o.ADMIN_INTERNAL_CAMPAIGNS_SENDER=2064,o.SITEL_DENY_TEST_TOGGLE=2065,o.ADMIN_BILLING_DELETE_PAYMENT_METHOD=2066,o.ADMIN_EXTENSIONS_CONSOLE=2067,o.ADMIN_EXTENSIONS_CONSOLE_INTERNAL_CLIENTS=2068,o.ADMIN_SUSPEND_ASSET_LIBRARY=2069,o.ADMIN_PURGE_ASSET_LIBRARY=2070,o.ADMIN_CLONE_SITE=2071,o.ADMIN_SQSP_PAYMENTS_ACCOUNT_OWNERSHIP_TRANSFER=2072,o.ADMIN_CREATE_FRIENDS_AND_FAMILY_COUPON=2073,o.ADMIN_SQSP_PAYMENTS_ACCOUNT_DETACH=2074,o.ADMIN_SQSP_PAYMENTS_ACCOUNT_REATTACH=2075,o.ADMIN_SQSP_PAYMENTS_ACCOUNT_DISCONNECT=2076,o.ADMIN_ACCOUNT_HISTORY_APP=2077,o.ADMIN_ACCOUNT_SEARCH_APP=2078,o.ADMIN_ADMIN_ROLES_APP=2079,o.ADMIN_BILLING_ACCOUNTS_APP=2080,o.ADMIN_BLOCK_REDUCE_APP=2081,o.ADMIN_CAMPAIGNS_SUPPORT_APP=2082,o.ADMIN_CATEGORY_CLEANUP_APP=2083,o.ADMIN_COPY_COLLECTION_APP=2084,o.ADMIN_EDUCATION_RELATIONSHIPS_APP=2085,o.ADMIN_EMAIL_TEMPLATE_PREVIEW_APP=2086,o.ADMIN_EMAIL_TROUBLESHOOTING_APP=2087,o.ADMIN_FRAUD_TRANSACTIONS_APP=2088,o.ADMIN_FULLSTORY_LOOKUP_APP=2089,o.ADMIN_LOOKUP_LOGO_APP=2090,o.ADMIN_MARKETING_COUPONS_APP=2091,o.ADMIN_MASS_REMOVAL_APP=2092,o.ADMIN_SITE_SEARCH_APP=2093,o.ADMIN_SUBSCRIPTION_EVENTS_APP=2094,o.ADMIN_VIEW_ALL_FRIENDS_FAMILY_COUPONS=2095,o.ADMIN_COMP_SITE=2096,o.ADMIN_CHANGE_CIRCLE_TIER=2097,o.ADMIN_SITE_SEARCH_APP_BILLING_TAB=2098,o.ADMIN_SITE_SEARCH_APP_DOMAINS_TAB=2099,o.ADMIN_SITE_SEARCH_APP_GOOGLE_WORKSPACE_TAB=3e3,o.ADMIN_HIGH_VALUE_DOMAIN_WRITE=3001})(e||(e={}));var r=l.default=e;b.exports=l.default},92286:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.LIVE_STORE="live_store",o.TEST_ACHIEVEMENT="test1",o.ADDED_DONATION_BLOCK="added_donation_block",o.ADDED_SHIPPING_OPTION="added_shipping_option",o.PURCHASED_SITE="purchased_site",o.PURCHASED_DOMAIN="purchased_domain",o.PURCHASED_SCHEDULING="purchased_scheduling",o.PURCHASED_CAMPAIGNS="purchased_campaigns",o.PURCHASED_MEMBER_AREAS="purchased_member_areas",o.ATTRIBUTION_SURVEY_SHOWN="attribution_survey",o.FIRST_LOGIN="first_login",o.GIFT_CARD_ISSUED="gift_card_issued",o.POS_ORDER_PLACED="pos_order_placed",o.COMMERCE_ONBOARDED="commerce_onboarded",o.PRODUCT_CREATED="product_created",o.THIRD_PARTY_ORDER_CREATED="third_party_order_created",o.PRODUCT_CREATED_PRODUCT_COMPOSER="product_created_product_composer",o.PRODUCT_SAVED="product_saved",o.STORE_SETUP_COMPLETE="store_setup_complete",o.ETSY_INTENT_EXPRESSED="etsy_intent_expressed",o.COMMERCE_NPS_SURVEY_DAY_28_COMPLETED="commerce_nps_survey_day28_completed",o.COMMERCE_NPS_SURVEY_DAY_88_COMPLETED="commerce_nps_survey_day88_completed",o.COMMERCE_NPS_SURVEY_DAY_179_COMPLETED="commerce_nps_survey_day179_completed",o.COMMERCE_NPS_SURVEY_DAY_340_COMPLETED="commerce_nps_survey_day340_completed",o.COMMERCE_ORDERS_PANEL_M1_SURVEY_COMPLETED="commerce_orders_panel_m1_survey_completed",o.COMMERCE_ORDERS_PANEL_M2_SURVEY_COMPLETED="commerce_orders_panel_m2_survey_completed",o.MULTILINGUAL_EMAILS_SURVEY_COMPLETED="multilingual_emails_survey_completed",o.MULTILINGUAL_EDIT_WARNING_SUPPRESSED="multilingual_edit_warning_suppressed",o.COMMERCE_ORDER_STATUS_BETA_SURVEY_COMPLETED="commerce_order_status_beta_survey_completed",o.COMMERCE_MEMBERSHIPS_SIGN_UP_BLOCK_CONNECTED="commerce_memberships_sign_up_block_connected",o.COMMERCE_MEMBERSHIPS_VIEWED_DPC="commerce_memberships_viewed_dpc",o.ATTACHED_MEMBER_SITE_TO_PRICING_PLAN="attached_member_site_to_pricing_plan",o.CREATED_PRICING_PLAN="created_pricing_plan",o.DISMISSED_SELLING_DASHBOARD_DP_BANNER="dismissed_selling_dashboard_dp_banner",o.SELLING_TOOLS_SETTINGS_CARD_DISMISSED="selling_tools_settings_card_dismissed",o.SUBSCRIPTION_ACTIVATION_PROMO_2025_CREATED_SUBSCRIPTION_PRODUCT="subscription_activation_promo_2025_created_subscription_product"})(e||(e={}));var r=l.default=e;b.exports=l.default},144771:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.WEBSITE="website",o.DOMAIN="domain",o.GOOGLE_APPS="google-apps",o.GETTY_IMAGE="getty-image",o.CAMPAIGNS="campaigns",o.SCHEDULING="scheduling",o.MEMBER_AREAS="member-areas",o.SHIPPING_LABEL="shipping-label"})(e||(e={}));var r=l.default=e;b.exports=l.default},400013:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.PROCESSING="processing",o.REQUIRES_ACTION="requires-action",o.AWAITING_ASYNC_PAYMENT="awaiting-async-payment",o.COMPLETED="completed",o.FAILED="failed"})(e||(e={}));var r=l.default=e;b.exports=l.default},851546:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.TRIAL="trial",o.CONTRACT="contract",o.EXTERNAL_SUBSCRIPTION="external-subscription",o.ENTERPRISE="enterprise",o.COMPED="comped"})(e||(e={}));var r=l.default=e;b.exports=l.default},199598:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.PENDING="pending",o.TRANSFERRING="transferring",o.ACTIVE="active",o.EXPIRED="expired"})(e||(e={}));var r=l.default=e;b.exports=l.default},55302:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.FREE=1,o.LINKED=2,o.SUBSCRIBED=3,o.TRIAL=4,o.RESOLD=5,o.RESOLD_GRACE_PERIOD=6})(e||(e={}));var r=l.default=e;b.exports=l.default},59507:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.NORMAL="normal",o.MULTIPLY="multiply",o.SCREEN="screen",o.OVERLAY="overlay",o.DARKEN="darken",o.LIGHTEN="lighten",o.COLOR_DODGE="color-dodge",o.COLOR_BURN="color-burn",o.HARD_LIGHT="hard-light",o.SOFT_LIGHT="soft-light",o.DIFFERENCE="difference",o.EXCLUSION="exclusion",o.HUE="hue",o.SATURATION="saturation",o.COLOR="color",o.LUMINOSITY="luminosity"})(e||(e={}));var r=l.default=e;b.exports=l.default},673028:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.BUTTON_BLOCK=1,o.POPUP_OVERLAY=2})(e||(e={}));var r=l.default=e;b.exports=l.default},168849:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.PRIMARY="primary",o.SECONDARY="secondary",o.TERTIARY="tertiary"})(e||(e={}));var r=l.default=e;b.exports=l.default},43017:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.PAGE_VIEW=1,o.SITE_SEARCH=2,o.HEARTBEAT=10,o.AUDIO=20,o.VIDEO=21})(e||(e={}));var r=l.default=e;b.exports=l.default},163301:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.CONNECTED=1,o.DISCONNECTING=2})(e||(e={}));var r=l.default=e;b.exports=l.default},648134:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.SILVER="silver",o.GOLD="gold",o.PLATINUM="platinum"})(e||(e={}));var r=l.default=e;b.exports=l.default},274414:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.USER=1,o.CHRONOLOGICAL=2,o.CUSTOM=3,o.CALENDAR=4,o.MUSIC_ALBUM=5,o.KNOWLEDGE_BASE=6})(e||(e={}));var r=l.default=e;b.exports=l.default},530149:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.COLLECTION_TYPE_GENERIC=1,o.COLLECTION_TYPE_SUBSCRIPTION=2,o.TWITTER=3,o.FOURSQUARE=4,o.INSTAGRAM=5,o.GALLERY_BLOCK=6,o.TEMPLATE_PAGE=7,o.SPLASH_PAGE=8,o.COLLECTION_TYPE_PAGE=10,o.FIVEHUNDREDPIX=11,o.FLICKR=12,o.PRODUCTS=13,o.SLIDE_GALLERY=15,o.SLIDE_ALBUM=16,o.SLIDE_VIDEO=17,o.ALBUM_BLOCK=18,o.SECTION_CATALOG=20,o.PAGE_CATALOG=21,o.ITEM_CATALOG=22,o.PORTFOLIO=23,o.LESSONS=24,o.COURSE=25,o.MOSAIC=14,o.PROJECT=19})(e||(e={}));var r=l.default=e;b.exports=l.default},668558:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ENABLED=1,o.DISABLED=2})(e||(e={}));var r=l.default=e;b.exports=l.default},802888:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ABSTRACT="abstract",o.CANDID="candid",o.CLOSE_UP="close_up",o.COPY_SPACE="copy_space",o.CUT_OUT="cut_out",o.FULL_FRAME="full_frame",o.FULL_LENGTH="full_length",o.HEADSHOT="headshot",o.LOOKING_AT_CAMERA="looking_at_camera",o.MACRO="macro",o.PORTRAIT="portrait",o.SPARSE="sparse",o.STILL_LIFE="still_life",o.THREE_QUARTER_LENGTH="three_quarter_length",o.WAIST_UP="waist_up"})(e||(e={}));var r=l.default=e;b.exports=l.default},795767:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.AO="AO",o.AG="AG",o.AW="AW",o.AZ="AZ",o.BS="BS",o.BZ="BZ",o.BJ="BJ",o.BW="BW",o.BQ="BQ",o.BF="BF",o.BI="BI",o.CM="CM",o.CF="CF",o.KM="KM",o.CG="CG",o.CD="CD",o.CK="CK",o.CI="CI",o.CW="CW",o.DJ="DJ",o.CO="CO",o.DM="DM",o.GQ="GQ",o.ER="ER",o.FJ="FJ",o.TF="TF",o.GM="GM",o.GH="GH",o.GD="GD",o.GY="GY",o.HK="HK",o.JM="JM",o.KI="KI",o.LY="LY",o.MO="MO",o.MW="MW",o.ML="ML",o.MR="MR",o.NR="NR",o.NU="NU",o.KP="KP",o.QA="QA",o.RW="RW",o.KN="KN",o.ST="ST",o.SC="SC",o.SL="SL",o.SB="SB",o.SR="SR",o.SY="SY",o.TL="TL",o.TG="TG",o.TK="TK",o.TO="TO",o.TV="TV",o.UG="UG",o.AE="AE",o.VU="VU",o.YE="YE",o.ZW="ZW",o.TZ="TZ",o.GN="GN",o.SV="SV",o.IL="IL",o.PE="PE",o.CL="CL",o.PH="PH",o.VN="VN",o.ID="ID",o.CY="CY",o.TH="TH",o.KZ="KZ",o.BG="BG",o.TN="TN",o.GT="GT",o.DZ="DZ",o.AR="AR",o.IE="IE",o.LC="LC",o.SA="SA",o.ME="ME",o.AM="AM",o.AD="AD",o.KH="KH",o.BO="BO",o.EC="EC",o.EG="EG",o.KE="KE",o.OM="OM",o.PA="PA",o.PK="PK",o.SI="SI",o.SS="SS",o.UM="UM",o.VG="VG"})(e||(e={}));var r=l.default=e;b.exports=l.default},810276:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.COURSE="COURSE",o.VIDEO_COLLECTION="VIDEO_COLLECTION",o.MEMBER_SITE="MEMBER_SITE",o.BLOG="BLOG"})(e||(e={}));var r=l.default=e;b.exports=l.default},169295:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.SHOULD_APPLY_TO_CART="SHOULD_APPLY_TO_CART",o.NOT_APPLICABLE_TO_CART="NOT_APPLICABLE_TO_CART",o.BETTER_DISCOUNT_AVAILABLE="BETTER_DISCOUNT_AVAILABLE"})(e||(e={}));var r=l.default=e;b.exports=l.default},961812:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.NEW_PURCHASE="NEW_PURCHASE",o.REACTIVATION="REACTIVATION",o.RESOLD_DOMAIN_PURCHASE="RESOLD_DOMAIN_PURCHASE",o.DOMAIN_MIGRATION="DOMAIN_MIGRATION"})(e||(e={}));var r=l.default=e;b.exports=l.default},787586:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.IN_USE=1,o.INVALID_SYNTAX=2,o.INVALID_NAME=3,o.VALID=4})(e||(e={}));var r=l.default=e;b.exports=l.default},541339:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.FREE="forever-free",o.BASIC="basic",o.PREMIUM_I="premium_i",o.PREMIUM_II="premium_ii",o.PREMIUM_III="premium_iii",o.PREMIUM_IV="premium_iv",o.PREMIUM_V="premium_v",o.PREMIUM_VI="premium_vi",o.PREMIUM_VII="premium_vii",o.PREMIUM_VIII="premium_viii",o.PREMIUM_IX="premium_ix",o.PREMIUM_X="premium_x",o.PREMIUM_XI="premium_xi",o.PREMIUM_XII="premium_xii",o.PREMIUM_XIII="premium_xiii",o.PREMIUM_XIV="premium_xiv",o.PREMIUM_XV="premium_xv",o.PREMIUM_XVI="premium_xvi",o.PREMIUM_XVII="premium_xvii",o.PREMIUM_XVIII="premium_xviii",o.PREMIUM_XIX="premium_xix",o.PREMIUM_XX="premium_xx",o.PREMIUM_XXI="premium_xxi",o.DOMAIN_COM="domain_com",o.DOMAIN_INFO="domain_info",o.DOMAIN_IO="domain_io",o.DOMAIN_NET="domain_net",o.DOMAIN_ORG="domain_org",o.DOMAIN_CA="domain_ca",o.DOMAIN_UK="domain_uk",o.DOMAIN_CO_UK="domain_co_uk",o.DOMAIN_AU="domain_au",o.DOMAIN_COM_AU="domain_com_au",o.DOMAIN_FR="domain_fr",o.DOMAIN_DE="domain_de",o.DOMAIN_NL="domain_nl",o.DOMAIN_EU="domain_eu",o.DOMAIN_ART="domain_art",o.DOMAIN_SITE="domain_site",o.DOMAIN_ONLINE="domain_online",o.BASIC_DISCOUNT="basic_discount"})(e||(e={}));var r=l.default=e;b.exports=l.default},351210:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.UNKNOWN=1,o.GO_DADDY=2,o.GOOGLE=3,o.OPEN_SRS=4,o.NAMECHEAP=5,o.ENOM=6,o.NETWORK_SOLUTIONS=7,o.DREAMHOST=8,o.BLUEHOST=9,o.I_WANT_MY_NAME=10,o.NAME_COM=11,o.HOVER=12,o.DOMAINS101=13,o.ONE_AND_ONE=14,o.DOTSTER=15,o.DYN_AND_NETTICA=16,o.DYNADOT=17,o.EASY_DNS=18,o.REGISTER_COM=19,o.WORDPRESS=20,o.YAHOO=21})(e||(e={}));var r=l.default=e;b.exports=l.default},999603:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ACTIVE=1,o.EXPIRED=2,o.PASTDUE=3,o.PENDING=4})(e||(e={}));var r=l.default=e;b.exports=l.default},881893:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.APPLICATION=1,o.LINKED=2,o.SQUARESPACE=3,o.GOOGLE=4,o.RESOLD=5})(e||(e={}));var r=l.default=e;b.exports=l.default},750253:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.VERIFIED="verified",o.PENDING="pending",o.SUSPENDED="suspended",o.UNVERIFIED="unverified"})(e||(e={}));var r=l.default=e;b.exports=l.default},894616:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.FLUID_ENGINE="fluid_engine",o.LAYOUT_ENGINE="layout_engine"})(e||(e={}));var r=l.default=e;b.exports=l.default},389186:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.APPLEPODCAST=56,o.BANDSINTOWN=29,o.BEHANCE=30,o.BLUESKY_UNAUTH=86,o.CHOWNOW=49,o.CODEPEN=31,o.DISCORD_UNAUTH=81,o.DRIBBBLE=18,o.DROPBOX=9,o.DROPBOX2=40,o.DROPBOX2017=55,o.EMAIL=20,o.FACEBOOK=2,o.FACEBOOK_UNAUTH=60,o.FIVEHUNDREDPIX=16,o.FIVEHUNDREDPIX_UNAUTH=67,o.FLICKR=3,o.FLICKR_UNAUTH=63,o.FOURSQUARE=1,o.FOURSQUARE_UNAUTH=72,o.GITHUB=23,o.GITHUB_UNAUTH=73,o.GOODREADS=52,o.GOOGLE=5,o.GOOGLEAUTH2=21,o.GOOGLEDOCS2=22,o.GOOGLEPLAY=28,o.GOOGLESEARCHCONSOLE=57,o.GOOGLE_SPREADSHEET=6,o.HOUZZ=42,o.IMDB=51,o.INSTAGRAM=10,o.INSTAGRAM_2019=77,o.INSTAGRAM_UNAUTH=64,o.ITUNES=27,o.LINKEDIN=14,o.LINKEDIN_UNAUTH=65,o.MAILCHIMP=13,o.MEDIUM=32,o.MEETUP=33,o.PAYPAL_LIVE_BILLING=48,o.PAYPAL_LIVE_ONBOARDING=46,o.PAYPAL_SANDBOX_BILLING=47,o.PAYPAL_SANDBOX_ONBOARDING=45,o.PINTEREST=19,o.PINTEREST_UNAUTH=61,o.RDIO=34,o.REDDIT=43,o.SMUGMUG=17,o.SMUGMUG_UNAUTH=75,o.SNAPCHAT=50,o.SOUNDCLOUD=25,o.SOUNDCLOUD_UNAUTH=70,o.SPOTIFY=26,o.SPOTIFY_UNAUTH=71,o.SQUARE=76,o.SQUARE_SANDBOX=78,o.STITCHER=53,o.STRIPE=15,o.STUMBLEUPON=44,o.THEDOTS=58,o.THREADS_UNAUTH=83,o.TIDAL=54,o.TIKTOK_UNAUTH=82,o.TRIPADVISOR=59,o.TUMBLR=8,o.TUMBLR_UNAUTH=66,o.TWITCH=35,o.TWITTER=4,o.TWITTER_UNAUTH=62,o.URL=74,o.VEVO=36,o.VIMEO=12,o.VIMEO_UNAUTH=68,o.VINE=37,o.VSCO=38,o.WEGLOT=80,o.X_FORMERLY_TWITTER_UNAUTH=85,o.XERO=24,o.YELP=39,o.YOUTUBE=11,o.YOUTUBE_UNAUTH=69,o.FACEBOOK_COMMERCE=79,o.PINTEREST_V5=84})(e||(e={}));var r=l.default=e;b.exports=l.default},887347:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.CHOWNOW=49,o.WEGLOT=80})(e||(e={}));var r=l.default=e;b.exports=l.default},212004:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.WEBSITE_COVER_PAGE="cover_page",o.WEBSITE_LEGACY_PERSONAL="personal",o.WEBSITE_LEGACY_PROFESSIONAL="professional",o.WEBSITE_LEGACY_BUSINESS="commerce",o.WEBSITE_CLASSIC_PERSONAL="classic_personal",o.WEBSITE_CLASSIC_PERSONAL_GATED_TEST="classic_personal_gated",o.WEBSITE_CLASSIC_PERSONAL_RESOLD="classic_personal_resold",o.WEBSITE_CLASSIC_BUSINESS="classic_business",o.WEBSITE_CLASSIC_BUSINESS_RESOLD="classic_business_resold",o.CLASSIC_BUSINESS_PRIORITY_SUPPORT="classic_business_priority_support",o.WEBSITE_COMMERCE_BASIC="commerce_basic",o.WEBSITE_COMMERCE_BASIC_RESOLD="commerce_basic_resold",o.WEBSITE_COMMERCE_ADVANCED="commerce_advanced",o.WEBSITE_COMMERCE_ADVANCED_CALLBACKS="commerce_advanced_callbacks",o.WEBSITE_COMMERCE_ADVANCED_RESOLD="commerce_advanced_resold",o.COMMERCE_ADVANCED_PRIORITY_SUPPORT="commerce_advanced_priority_support",o.WEBSITE_COMMERCE_ADVANCED_TRX_FEE="commerce_advanced_trx_fee",o.WEBSITE_ENTERPRISE_SELECT="enterprise_select",o.WEBSITE_PARKING_PAGE="parking_page",o.WEBSITE_BUSINESS_PRICE_TEST_AUG_2017="website_business_price_test_aug_2017",o.WEBSITE_BASIC="website_basic",o.WEBSITE_CORE="website_core",o.WEBSITE_PLUS="website_plus",o.WEBSITE_ADVANCED="website_advanced",o.DOMAIN_COM="domain_com",o.DOMAIN_INFO="domain_info",o.DOMAIN_IO="domain_io",o.DOMAIN_NET="domain_net",o.DOMAIN_ORG="domain_org",o.DOMAIN_CA="domain_ca",o.DOMAIN_UK="domain_uk",o.DOMAIN_CO_UK="domain_co_uk",o.DOMAIN_AU="domain_au",o.DOMAIN_COM_AU="domain_com_au",o.DOMAIN_FR="domain_fr",o.DOMAIN_DE="domain_de",o.DOMAIN_NL="domain_nl",o.DOMAIN_EU="domain_eu",o.DOMAIN_ART="domain_art",o.DOMAIN_SITE="domain_site",o.DOMAIN_ONLINE="domain_online",o.DOMAIN_FREE="forever-free",o.DOMAIN_BASIC="basic",o.DOMAIN_BASIC_DISCOUNT="basic_discount",o.DOMAIN_TLD="domain_tld",o.DOMAIN_PREMIUM_I="premium_i",o.DOMAIN_PREMIUM_II="premium_ii",o.DOMAIN_PREMIUM_III="premium_iii",o.DOMAIN_PREMIUM_IV="premium_iv",o.DOMAIN_PREMIUM_V="premium_v",o.DOMAIN_PREMIUM_VI="premium_vi",o.DOMAIN_PREMIUM_VII="premium_vii",o.DOMAIN_PREMIUM_VIII="premium_viii",o.DOMAIN_PREMIUM_IX="premium_ix",o.DOMAIN_PREMIUM_X="premium_x",o.DOMAIN_PREMIUM_XI="premium_xi",o.DOMAIN_PREMIUM_XII="premium_xii",o.DOMAIN_PREMIUM_XIII="premium_xiii",o.DOMAIN_PREMIUM_XIV="premium_xiv",o.DOMAIN_PREMIUM_XV="premium_xv",o.DOMAIN_PREMIUM_XVI="premium_xvi",o.DOMAIN_PREMIUM_XVII="premium_xvii",o.DOMAIN_PREMIUM_XVIII="premium_xviii",o.DOMAIN_PREMIUM_XIX="premium_xix",o.DOMAIN_PREMIUM_XX="premium_xx",o.DOMAIN_PREMIUM_XXI="premium_xxi",o.GOOGLE_APPS_DEFAULT="google-apps-default",o.GOOGLE_WORKSPACE_STARTER="google_workspace_starter",o.GOOGLE_WORKSPACE_STANDARD="google_workspace_standard",o.GOOGLE_WORKSPACE_PLUS="google_workspace_plus",o.CAMPAIGNS_STARTER="campaigns_starter",o.CAMPAIGNS_PLUS="campaigns_plus",o.CAMPAIGNS_PRO="campaigns_pro",o.CAMPAIGNS_CORE="campaigns_core",o.CAMPAIGNS_STARTER_UNLIMITED="campaigns_starter_unlimited",o.CAMPAIGNS_CORE_UNLIMITED="campaigns_core_unlimited",o.CAMPAIGNS_PRO_UNLIMITED="campaigns_pro_unlimited",o.CAMPAIGNS_MAX="campaigns_max",o.CAMPAIGNS_10000="campaigns_10000",o.CAMPAIGNS_25000="campaigns_25000",o.CAMPAIGNS_100000="campaigns_100000",o.CAMPAIGNS_150000="campaigns_150000",o.SCHEDULING_EMERGING="scheduling_emerging",o.SCHEDULING_GROWING="scheduling_growing",o.SCHEDULING_POWERHOUSE="scheduling_powerhouse",o.MEMBER_AREAS_STARTER="member-areas_starter",o.MEMBER_AREAS_CORE="member-areas_core",o.MEMBER_AREAS_PRO="member-areas_pro",o.SHIPPING_LABEL_DEFAULT="shipping-label-default",o.GETTY_IMAGE_DEFAULT="getty-image-default"})(e||(e={}));var r=l.default=e;b.exports=l.default},960489:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ADD_PAGES=1,o.ADD_CONTRIBUTORS=2,o.ADD_COMMERCE_PRODUCTS=3,o.DEVELOPER_SDK=4,o.MOBILE_PORTFOLIO=5,o.COMMERCE=6,o.ACCOUNTING=7,o.SHIPSTATION_INTEGRATION=8,o.ABANDONED_CART_RECOVERY=9,o.REAL_TIME_SHIPPING_RATES=10,o.COMMERCE_TRANSACTION_FEE=11,o.FREE_GOOGLE_APPS_INBOX=12,o.GOOGLE_AD_WORDS_CREDIT=13,o.VAT_COLLECTION_BETA=14,o.MULTICURRENCY_BETA=15,o.STRICT_GOOGLE_APPS_FREE_INBOX_POLICY=16,o.CRM=17,o.AUTO_TRIGGERED_DISCOUNTS=18,o.ACUITY=19,o.COMMERCE_CHECKOUT_ON_DOMAIN=20,o.POPUP_OVERLAY=21,o.SUPPORT_CALLBACKS=22,o.FREE_GOOGLE_APPS_INBOX_WITHIN_ONE_YEAR=23,o.FREE_DOMAIN_WITHIN_ONE_YEAR=24,o.ANALYTICS_COMMERCE_ADVANCED=25,o.MOBILE_INFO_BAR=26,o.ANNOUNCEMENT_BAR=27,o.CODE_INJECTION=28,o.SITE_USER_ACCOUNTS=29,o.BLOCK_ACUITY=30,o.BLOCK_DONATION=31,o.BLOCK_OPENTABLE=32,o.BLOCK_AMAZON=33,o.BLOCK_MENU=34,o.CHOW_NOW_INTEGRATION=35,o.GOOGLE_ANALYTICS_INTEGRATION=36,o.MAILCHIMP_INTEGRATION=37,o.BLOCK_CODE=38,o.ANALYTICS_COMMERCE_BASIC=39,o.GIFT_CARDS=40,o.FORMS_API=41,o.ORDERS_API=42,o.LIMITED_USE_DISCOUNTS=43,o.ANALYTICS_BUSINESS=44,o.PRODUCTS_ON_INSTAGRAM=45,o.BLOCK_CODE_WITH_MEDIA=46,o.COMMERCE_POSTAL_CODE_SHIPPING=47,o.FACEBOOK_PIXEL=48,o.MARKETING_CAMPAIGN_TRACKER=49,o.COMMERCE_SUBSCRIPTIONS=50,o.FACEBOOK_DYNAMIC_ADS=51,o.LIMITED_AVAILABILITY_ALERTS=52,o.INVENTORY_API=53,o.COMMERCE_RESTOCK_NOTIFICATIONS=54,o.COMMERCE_RELATED_PRODUCTS=55,o.COMMERCE_POINT_OF_SALE=56,o.COMMERCE_BULK_MANAGER=57,o.TRANSACTIONS_API=58,o.EXTERNAL_LOCATION_MANAGEMENT=59,o.IN_APP_LIVE_CHAT=60,o.COVID_TEMP_GIFT_CARDS_MESSAGING=61,o.PRODUCTS_API=62,o.AUTOMATIC_TAX_CALCS=63,o.COMMERCE_AFTERPAY=64,o.PROFILES_API=65,o.COMMERCE_NATIVE_PRODUCT_REVIEWS=66,o.COMMERCE_IMPORTED_PRODUCT_REVIEWS=67,o.COMMERCE_CLEARPAY=68,o.PRIORITY_SUPPORT=69,o.COMMERCE_KLARNA=70,o.COMMERCE_INVOICING=71,o.COMMERCE_PROPOSALS_FULL=72,o.ANALYTICS_TRAFFIC_SOURCES_COMMERCE=73,o.ANALYTICS_TRAFFIC_SOURCES_FULL_PAID_DETAILS=74,o.ANALYTICS_CONVERSIONS=75,o.ANALYTICS_SALES_OVERVIEW=76,o.ANALYTICS_SALES_OVERVIEW_IF_SELLING=77,o.ANALYTICS_PURCHASE_FUNNEL=78,o.ANALYTICS_SALES_BY_PRODUCT=79,o.ANALYTICS_TRAFFIC_ALERTS=80,o.ANALYTICS_TOP_PRODUCTS=81,o.DIGITAL_PRODUCTS_TRANSACTION_FEE=82,o.VIDEO_STORAGE=83,o.COMMERCE_LOW_STOCK_ALERTS=84,o.DONATION_TRANSACTION_FEE=85,o.GOOGLE_SHOPPING=86,o.SHIPPING_LABELS=87,o.BUY_X_GET_Y_DISCOUNTS=88,o.BASIC_DISCOUNTS=89,o.STRIPE_TAX=90,o.BASIC_PAYMENT_LINKS=91,o.ADVANCED_PAYMENT_LINKS=92,o.COMMERCE_SHIPPING_LYOC=93})(e||(e={}));var r=l.default=e;b.exports=l.default},762918:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ELEMENT="element",o.BACKDROP="backdrop"})(e||(e={}));var r=l.default=e;b.exports=l.default},521237:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.INDEX=1,o.REDIRECT=2,o.NONE=3,o.VARIATION=4})(e||(e={}));var r=l.default=e;b.exports=l.default},223215:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.LEFT="left",o.CENTER="center",o.RIGHT="right"})(e||(e={}));var r=l.default=e;b.exports=l.default},898730:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.MASK="mask",o.CSS_STYLES="css_styles"})(e||(e={}));var r=l.default=e;b.exports=l.default},341493:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.CREATIVE="creative",o.EDITORIAL="editorial"})(e||(e={}));var r=l.default=e;b.exports=l.default},799357:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ARCHED_WINDOW="arched-window",o.AWARD="award",o.BOTTOM_LEFT_CURVE="bottom-left-curve",o.CIRCLE="circle",o.DESCENDING_RAMP="descending-ramp",o.DESCENDING_STAIRS="descending-stairs",o.DIAMOND="diamond",o.EGG="egg",o.EIGHT_SIDED_SHIELD="eight-sided-shield",o.FLOWER="flower",o.FOUR_PETAL_FLOWER="four-petal-flower",o.FOUR_POINT_STAR="four-point-star",o.GEAR="gear",o.HORIZONTAL_OVAL="horizontal-oval",o.HORIZONTAL_RIGHT_LEANING_OVAL="horizontal-right-leaning-oval",o.HORIZONTAL_STACKED_CIRCLES="horizontal-stacked-circles",o.HOURGLASS="hourglass",o.KEYSTONE="keystone",o.NARROW_HORIZONTAL_STACKED_PILLS="narrow-horizontal-stacked-pills",o.NARROW_POW="narrow-pow",o.OCTAGON="octagon",o.OPEN_BOOK="open-book",o.POINTED_WINDOW="pointed-window",o.RABBET="rabbet",o.ROUNDED_PENTAGON="rounded-pentagon",o.STEPPED_CROSS="stepped-cross",o.TV="tv",o.VERTICAL_OVAL="vertical-oval",o.VERTICAL_PARALLELOGRAM="vertical-parallelogram",o.VERTICAL_RIGHT_LEANING_OVAL="vertical-right-leaning-oval",o.VERTICAL_STACKED_CIRCLES="vertical-stacked-circles",o.WIDE_EIGHT_SIDED_SHIELD="wide-eight-sided-shield",o.WIDE_HORIZONTAL_STACKED_PILLS="wide-horizontal-stacked-pills",o.WIDE_OPEN_BOOK="wide-open-book",o.WIDE_VERTICAL_STACKED_PILLS="wide-vertical-stacked-pills"})(e||(e={}));var r=l.default=e;b.exports=l.default},583458:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.UNPAID=1,o.PAID=2,o.FORGIVEN=3})(e||(e={}));var r=l.default=e;b.exports=l.default},437327:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.WAITING=1,o.PROCESSING=2,o.SUCCESS=3,o.FAILURE=4,o.CANCELLED=5,o.SCHEDULED=6})(e||(e={}));var r=l.default=e;b.exports=l.default},798893:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.IMAGE_PROCESSING=2,o.IMPORTING=3,o.PUSH=4,o.S3=6,o.SMTP=7,o.DESK_TICKET=8,o.INSTAGRAM=10,o.SOCIAL_PULL=11,o.FOURSQUARE=12,o.DYNECT=13,o.BETAEND=14,o.EXPORTING_WORDPRESS=16,o.EXPORTING_INTERNAL=17,o.COLLECTION_SYNC=18,o.CONTENT_STATS_REGENERATION=19,o.SEARCH_REALTIME=20,o.GENERATE_SITEMAP=21,o.IMAGE_FOCAL_POINT=22,o.MIGRATE_CONTENT_STATS=23,o.DELETE_WEBSITE=24,o.RESTORE_DELETED_WEBSITE=25,o.STATS_MIGRATION=26,o.STATS_COPY=27,o.AUDIO_PROCESSING=28,o.SEND_NEWSLETTER_MESSAGE=29,o.PUBLISH_SCHEDULED_POST=30,o.DISABLE_COMMENTS=31,o.XERO_MANUAL_EXPORT=32,o.SIGNUP=33,o.GOOGLE_APPS_REGISTRATION=34,o.DELINQUENT_BILLING_MAIL=35,o.ONBOARDING_TRIAL_EMAIL=36,o.DOMAIN_BATCH_REGISTRATION=37,o.DOMAIN_BATCH_CONFIRMATION_EMAIL=38,o.PINTEREST_DOMAIN_VERIFICATION_POLL=39,o.SEND_FREE_INBOX_REMINDER=40,o.DROPBOX2_TEMPLATE_PUSH=41,o.CREATIVE_WELCOME_EMAIL=42,o.MASS_REMOVAL_PARENT=43,o.MASS_REMOVAL_SUBSCRIPTION=44,o.IMAGE_SCALING=45,o.GLOBAL_MIGRATION=46,o.DOMAIN_TRANSFER_REQUEST=47,o.PARKING_PAGE_SIGNUP=48,o.RETRY_PAST_DUE_PARENT=49,o.RETRY_PAST_DUE_SUBSCRIPTION=50,o.CALLBACKS_EMAIL=51,o.EXPORTING_INVENTORY=52,o.CLONE_AND_TRANSLATE_SITE=53,o.SCHEDULE_FORM_ORPHAN_DETECTION=54,o.FULFILL_RENEWAL=55,o.DOMAIN_TRANSFER_UPDATER=56,o.RIPLEY_SYNC_GOOGLE_APPS_SUB=57,o.RIPLEY_DOMAIN_BATCH_CONFIRMATION_EMAIL=58,o.RIPLEY_DOMAIN_TRANSFER_REQUEST=59,o.RIPLEY_GOOGLE_APPS_SUBSCRIPTION=60,o.GOOGLE_IMPORT_CONTACTS=61,o.RIPLEY_SIGNUP=62,o.RIPLEY_MASS_REMOVAL_PARENT=63,o.RIPLEY_MASS_REMOVAL_SUBSCRIPTION=64,o.CONTENT_INJECTION_ARCHETYPE_CREATION_PARENT=65,o.CLEANUP_SOCIAL_LINKS=66,o.TRIAL_DELETION_EMAIL=67,o.BULK_MANAGE_PRODUCTS=68,o.WEBSITE_CLONE=69,o.RIPLEY_WEBSITE_CLONE=70,o.EXTRACT_TRANSLATABLE_STRINGS=71,o.IMAGE_ITEM_REHOST=72,o.NESTED_CATEGORIES_MIGRATION=73,o.SEVEN_ONE_MIGRATION=74,o.COLLECTION_CLONE=75,o.GITHUB_REPO_SETUP=76,o.GITHUB_INTERNAL_TEMPLATE_DEPLOY=77,o.INTERNAL_TEMPLATE_DEPLOY_V2=78,o.EXPORT_ROLES=79,o.ASSET_IMPORT=80,o.ONBOARDING_TRIAL_IN_PRODUCT_NOTIFICATION=81})(e||(e={}));var r=l.default=e;b.exports=l.default},544255:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.GETTY=1,o.UNSPLASH=2})(e||(e={}));var r=l.default=e;b.exports=l.default},312887:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.SQUARE="square",o.ROUND="round"})(e||(e={}));var r=l.default=e;b.exports=l.default},244764:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.MAPPING=1,o.VERIFICATION=2})(e||(e={}));var r=l.default=e;b.exports=l.default},102852:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.LEFT="left",o.RIGHT="right"})(e||(e={}));var r=l.default=e;b.exports=l.default},704602:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.IMPERIAL=1,o.METRIC=2})(e||(e={}));var r=l.default=e;b.exports=l.default},861623:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.QUEUED=1,o.PROCESSING=2,o.READY=3,o.ERROR=4,o.DOWNLOAD_ERROR=5,o.ERROR_TOO_LARGE=6,o.ERROR_FILE_NOT_FOUND=7,o.ERROR_UNSUPPORTED_IMAGE_TYPE=8,o.ERROR_UNSUPPORTED_AUDIO_TYPE=9})(e||(e={}));var r=l.default=e;b.exports=l.default},341293:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.CIRCLE_USER=1,o.DEVELOPER=2,o.ENTERPRISE=3})(e||(e={}));var r=l.default=e;b.exports=l.default},620748:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.NONE=1,o.LIGHT=2,o.DARK=3})(e||(e={}));var r=l.default=e;b.exports=l.default},697848:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ASCENDING=1,o.DESCENDING=2})(e||(e={}));var r=l.default=e;b.exports=l.default},955432:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.HORIZONTAL="Horizontal",o.VERTICAL="Vertical",o.SQUARE="Square",o.PANORAMIC_HORIZONTAL="PanoramicHorizontal",o.PANORAMIC_VERTICAL="PanoramicVertical"})(e||(e={}));var r=l.default=e;b.exports=l.default},739316:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.PREVIOUS=1,o.NEXT=2})(e||(e={}));var r=l.default=e;b.exports=l.default},750954:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ABOUT="ABOUT",o.APPOINTMENTS="APPOINTMENTS",o.BLOG="BLOG",o.BOOK_APPOINTMENT="BOOK_APPOINTMENT",o.BOOK_CONSULTATION="BOOK_CONSULTATION",o.CALENDAR="CALENDAR",o.CAMPAIGN="CAMPAIGN",o.CONTACT="CONTACT",o.CONTENT_AND_MEMBERSHIPS="CONTENT_AND_MEMBERSHIPS",o.COURSE="COURSE",o.DESIGNER_LAYOUTS="DESIGNER_LAYOUTS",o.DIGITAL_PRODUCTS="DIGITAL_PRODUCTS",o.DONATE="DONATE",o.DONATIONS="DONATIONS",o.EVENTS="EVENTS",o.FAQS="FAQS",o.FEATURED="FEATURED",o.GALLERY="GALLERY",o.GENERAL="GENERAL",o.GIVING_PAGES="GIVING_PAGES",o.GROUP_EVENTS="GROUP_EVENTS",o.HOME="HOME",o.IMPRINT="IMPRINT",o.IMPRINT_INDIVIDUAL_ENTREPRENEUR="IMPRINT - INDIVIDUAL ENTREPRENEUR",o.LESSONS="LESSONS",o.MEMBER_AREAS="MEMBER_AREAS",o.MEMBER_SITE="MEMBER_SITE",o.MEMBER_SITE_HOMEPAGE="MEMBER_SITE_HOMEPAGE",o.MENU="MENU",o.MUSIC="MUSIC",o.PORTFOLIO="PORTFOLIO",o.PRIVACY_POLICY="PRIVACY_POLICY",o.PRODUCTS="PRODUCTS",o.PROJECT="PROJECT",o.REVIEWS="REVIEWS",o.RSVP="RSVP",o.SALES_PAGE="SALES_PAGE",o.SCHEDULING="SCHEDULING",o.SERVICES="SERVICES",o.STAGING="STAGING",o.STORE="STORE",o.TEAM="TEAM",o.TOS="TOS",o.VIDEOS="VIDEOS",o.VOLUNTEER="VOLUNTEER"})(e||(e={}));var r=l.default=e;b.exports=l.default},445208:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.NONE=1,o.SCRYPT_HASH=2,o.ACL_ID=3,o.MEMBER_SITE=4,o.PRICING_PLAN=5,o.SSO=6})(e||(e={}));var r=l.default=e;b.exports=l.default},882450:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.MAIN_CONTENT=1,o.CONTENT_COLLECTION=1,o.PAGE=2,o.SPLASH_PAGE=3,o.CONTENT_ITEM=50,o.NOT_FOUND=100,o.ERROR=101,o.SEARCH=102,o.LOCK_SCREEN=103,o.POPUP_OVERLAY=104,o.PROTECTED_CONTENT=105,o.MEMBER_AREA_ACCESS_DENIED=106,o.PAYWALL=107,o.SHOW_CART=200,o.CHECKOUT=201,o.ORDER_CONFIRMED=202,o.DONATE=203,o.CONTRIBUTION_CONFIRMED=204,o.COMMERCE_CART_V2=205,o.SUBSCRIPTION_CONFIRMED=206,o.ORDER_RECEIVED=207,o.MEMBERSHIP_CONFIRMED=208,o.REVIEWS_REQUEST=209,o.DIGITAL_PRODUCT_COMPOSER_PREVIEW=210,o.ORDER_STATUS=211,o.NEWSLETTER_UNSUBSCRIBE=300,o.COMMERCE_EMAIL_PREVIEW=301,o.SSO_PAGE=400})(e||(e={}));var r=l.default=e;b.exports=l.default},386292:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.STRIPE="STRIPE",o.STRIPE_SIL="STRIPE_SIL",o.PAYPAL="PAYPAL"})(e||(e={}));var r=l.default=e;b.exports=l.default},825238:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.VISA="visa",o.MASTERCARD="mastercard",o.DISCOVER="discover",o.AMERICAN_EXPRESS="amex",o.JCB="jcb",o.DINERS_CLUB="dinersclub",o.OTHER_CARD="other_card",o.SEPA_DEBIT="sepa_debit",o.PAYPAL_WALLET="paypal_wallet"})(e||(e={}));var r=l.default=e;b.exports=l.default},108351:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.CARD="card",o.SEPA_DEBIT="sepa_debit",o.PAYPAL_WALLET="paypal_wallet",o.INTERNAL="internal"})(e||(e={}));var r=l.default=e;b.exports=l.default},831650:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.STRIPE=1,o.PAYPAL=2,o.GIFT_CARD=3,o.COMPOSITE=4,o.NO_OP=5,o.CASH=6,o.SQUARE=7,o.THIRD_PARTY_CHANNEL=8,o.SQSP_PAYMENTS=9,o.WALLET=10})(e||(e={}));var r=l.default=e;b.exports=l.default},815248:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.PARKING=-2,o.STARTER=-1,o.STANDARD=1,o.UNLIMITED=2,o.BUSINESS=3,o.COMMERCE_ADVANCED=4,o.ENTERPRISE_SELECT=5,o.GOOGLE_WORKSPACE_STARTER=7,o.GOOGLE_WORKSPACE_STANDARD=8,o.GOOGLE_WORKSPACE_PLUS=9})(e||(e={}));var r=l.default=e;b.exports=l.default},37943:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.SQUARESPACE_PRESENCE="squarespace-presence",o.SQUARESPACE_COMMERCE="squarespace-commerce",o.DOMAIN="domain",o.RESOLD_DOMAIN="resold-domain",o.SCHEDULING="scheduling",o.WEBSITE_CLASSIC="website-classic",o.WEBSITE_COMMERCE="website-commerce",o.WEBSITE_ENTERPRISE="website-enterprise",o.WEBSITE_PARKING_PAGE="website-parking-page",o.WEBSITE_COVER_PAGE="website-cover-page",o.RESOLD_WEBSITE="resold-website",o.MEMBER_AREAS="member-areas",o.CAMPAIGNS="campaigns",o.GOOGLE_WORKSPACE="google-apps",o.SHIPPING_LABEL="shipping-label",o.GETTY_IMAGE="getty-image"})(e||(e={}));var r=l.default=e;b.exports=l.default},276406:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.SQUARESPACE="squarespace",o.DOMAIN="domain",o.RESOLD_DOMAIN="resold-domain",o.SCHEDULING="scheduling",o.WEBSITE="website",o.RESOLD_WEBSITE="resold-website",o.MEMBER_AREAS="member-areas",o.CAMPAIGNS="campaigns",o.GOOGLE_WORKSPACE="google-apps",o.SHIPPING_LABEL="shipping-label",o.GETTY_IMAGE="getty-image"})(e||(e={}));var r=l.default=e;b.exports=l.default},55449:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.PRICE_REFRESH="price_refresh",o.CUSTOMER_INITIATED="customer_initiated",o.CUSTOMER_INITIATED_FORCED="customer_initiated_forced"})(e||(e={}));var r=l.default=e;b.exports=l.default},674310:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.STANDARD=1,o.EXPANDED=2})(e||(e={}));var r=l.default=e;b.exports=l.default},282655:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.NONE=1,o.SHOW=2})(e||(e={}));var r=l.default=e;b.exports=l.default},175577:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.NONE="none",o.COLLECTION_ONLY="collection_only",o.COLLECTION_AND_ALL_ITEMS="collection_and_all_items",o.ITEMS_ONLY="items_only"})(e||(e={}));var r=l.default=e;b.exports=l.default},676749:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.NONE=0,o.COLLECTION_ONLY=1,o.COLLECTION_AND_ALL_ITEMS=2,o.ITEMS_ONLY=3})(e||(e={}));var r=l.default=e;b.exports=l.default},793275:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.FREE="FREE",o.FIXED_AMOUNT="FIXED_AMOUNT",o.RECURRING="RECURRING"})(e||(e={}));var r=l.default=e;b.exports=l.default},125943:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ACTIVE="active",o.EXPIRED="expired",o.ACTIVE_TRIAL="active_trial",o.EXPIRED_TRIAL="expired_trial"})(e||(e={}));var r=l.default=e;b.exports=l.default},921533:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.COVER_PAGE="cover_page",o.CLASSIC="classic",o.COMMERCE="commerce",o.ENTERPRISE="enterprise",o.DOMAIN="domain",o.PARKING_PAGE="parking-page",o.GOOGLE_APPS="google-apps",o.CAMPAIGNS="campaigns",o.SCHEDULING="scheduling",o.MEMBER_AREAS="member-areas",o.SHIPPING_LABEL="shipping-label",o.CONTAINER="container"})(e||(e={}));var r=l.default=e;b.exports=l.default},500233:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.PHYSICAL=1,o.DIGITAL=2,o.SERVICE=3,o.GIFT_CARD=4,o.PAYWALL=5})(e||(e={}));var r=l.default=e;b.exports=l.default},528456:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ADD="add",o.REMOVE="remove"})(e||(e={}));var r=l.default=e;b.exports=l.default},270848:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.TEXT=1,o.IMAGE=2,o.QUOTE=4,o.LINK=5,o.CHAT=6,o.AUDIO=7,o.VIDEO=8,o.VIDEO_DEPRECATED=9,o.REVIEW=10,o.STORE_ITEM=11,o.EVENT=12,o.THREAD=13,o.GALLERY=14,o.BINARY=15,o.CSSASSET=16,o.TWEAKASSET=17,o.DIGITALGOOD=18,o.ATTACHMENT=19,o.EXPORT_WORDPRESS=20,o.EXPORT_INTERNAL=21,o.TEXT_PROSE_MIRROR=22,o.EXPORT_ROLES=23,o.TWEET=50,o.RSS=51,o.CHECKIN=52,o.DELICIOUS=53,o.KBARTICLE=54,o.PROJECT_ITEM=55,o.COLLECTION_TAXONOMY=56,o.SECTION_TAXONOMY=57,o.ITEM_TAXONOMY=58,o.PORTFOLIO_ITEM=59,o.EXPORT_TRANSLATABLE_STRINGS=60,o.SQSP_VIDEO=61,o.LESSON=62,o.COURSE_ITEM=63})(e||(e={}));var r=l.default=e;b.exports=l.default},401823:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.NONE=1,o.BLACK=2,o.WHITE=3})(e||(e={}));var r=l.default=e;b.exports=l.default},120108:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.GENERATIVE="generative",o.IMAGE="image",o.VIDEO="video"})(e||(e={}));var r=l.default=e;b.exports=l.default},31966:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ABOUT="ABOUT",o.APPOINTMENTS="APPOINTMENTS",o.AUDIO="AUDIO",o.BANNER="BANNER",o.BENEFITS="BENEFITS",o.BOOK_APPOINTMENT="BOOK_APPOINTMENT",o.CALENDAR="CALENDAR",o.CHART="CHART",o.CHARTS="CHARTS",o.CLIENT_LIST="CLIENT_LIST",o.CONTACT="CONTACT",o.CONTENT_AND_MEMBERSHIPS="CONTENT_AND_MEMBERSHIPS",o.DETAILS="DETAILS",o.DIGITAL_PRODUCTS="DIGITAL_PRODUCTS",o.DONATE="DONATE",o.DONATION="DONATION",o.DONATIONS="DONATIONS",o.EVENTS="EVENTS",o.FAQS="FAQS",o.FEATURED="FEATURED",o.FOOTER="FOOTER",o.FORM="FORM",o.GALLERY="GALLERY",o.GROUP_EVENTS="GROUP_EVENTS",o.HEADLINES="HEADLINES",o.IMAGES="IMAGES",o.INTRO="INTRO",o.ITINERARY="ITINERARY",o.LIST="LIST",o.LOCATION="LOCATION",o.LOGO_WALL="LOGO_WALL",o.MEMBERS="MEMBERS",o.MENU="MENU",o.MENUS="MENUS",o.MUSIC="MUSIC",o.NEWSLETTER="NEWSLETTER",o.OFFERINGS="OFFERINGS",o.ORGANIZATION="ORGANIZATION",o.PEOPLE="PEOPLE",o.POLICIES="POLICIES",o.PORTFOLIO="PORTFOLIO",o.PORTFOLIOS="PORTFOLIOS",o.PRICING="PRICING",o.PRICING_PLANS="PRICING_PLANS",o.PRO_USER="PRO_USER",o.PRODUCTS="PRODUCTS",o.QUOTE="QUOTE",o.REGISTRY="REGISTRY",o.RESERVATIONS="RESERVATIONS",o.RESUME="RESUME",o.SAVED_SECTIONS="SAVED_SECTIONS",o.SCHEDULING="SCHEDULING",o.SERVICES="SERVICES",o.SOCIAL="SOCIAL",o.STAGING="STAGING",o.SUMMARY="SUMMARY",o.TEAM="TEAM",o.TESTIMONIALS="TESTIMONIALS",o.TEXT="TEXT",o.TOUR_DATES="TOUR_DATES",o.VIDEO="VIDEO",o.VIDEOS="VIDEOS",o.VOLUNTEER="VOLUNTEER"})(e||(e={}));var r=l.default=e;b.exports=l.default},146171:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.NONE="none",o.SOFT_CORNERS="soft-corners",o.ROUNDED="rounded",o.SLANTED="slanted",o.SCALLOPED="scalloped",o.WAVY="wavy",o.POINTED="pointed",o.JAGGED="jagged"})(e||(e={}));var r=l.default=e;b.exports=l.default},35849:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.PENDING="PENDING",o.IN_PROGRESS="IN_PROGRESS",o.COMPLETED="COMPLETED",o.FAILED="FAILED",o.STOPPED="STOPPED",o.CANCELLED="CANCELLED",o.LIVE="LIVE",o.SCANNED="SCANNED"})(e||(e={}));var r=l.default=e;b.exports=l.default},77886:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ADIRONDACK_TEMPLATE_ID="5093f261e4b0979eac7cb299",o.AVENUE_TEMPLATE_ID="4fd11f32c4aad9b01c9e624c",o.AVIATOR_TEMPLATE_ID="507c1fdf84ae362b5e7be44e",o.BEDFORD_TEMPLATE_ID="52a74dafe4b073a80cd253c5",o.BUREAU_TEMPLATE_ID="54d3906fe4b04c1c9981b00e",o.DONCAB_TEMPLATE_ID="55dccafee4b04b8e0d7b6d4d",o.DOSSIER_OLD_TEMPLATE_ID="544e5898e4b0001029059b0e",o.DOSSIER_TEMPLATE_ID="5630efcfe4b076f55fe4837f",o.ENDEAVOR_TEMPLATE_ID="56d9c12107eaa07660adbcad",o.FIVE_TEMPLATE_ID="503ba86de4b04953d0f49846",o.FLATIRON_TEMPLATE_ID="4fba57fde4b0f79d428daa8b",o.FORTE_TEMPLATE_ID="51e6b9e4e4b062dafa7099b9",o.GALAPAGOS_TEMPLATE_ID="5230da18e4b0a637f7e627c5",o.ISHIMOTO_TEMPLATE_ID="4fb7a14224ac99c5fee12515",o.MARQUEE_TEMPLATE_ID="515c7bd0e4b054dae3fcf003",o.MOMENTUM_TEMPLATE_ID="50130f5be4b00a22f5c5a82a",o.MONTAUK_TEMPLATE_ID="50521cf884aeb45fa5cfdb80",o.NATIVE_TEMPLATE_ID="4f6a1392e4b07090d46e7ec9",o.PACIFIC_TEMPLATE_ID="52e96934e4b0ea14d0f64568",o.SUPPLY_TEMPLATE_ID="5253022fe4b0d0363260861e",o.WELLS_TEMPLATE_ID="4f9adc1524ac5df956fdf98f",o.WEXLEY_TEMPLATE_ID="4fbff70b84aeca67fb3a3c56",o.WRIGHT_TEMPLATE_ID="55f0aac0e4b0f0a5b7e0b22e"})(e||(e={}));var r=l.default=e;b.exports=l.default},380250:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ARCHED_WINDOW="arched-window",o.AWARD="award",o.CIRCLE="circle",o.DIAMOND="diamond",o.EGG="egg",o.EYE="eye",o.EIGHT_SIDED_SHIELD="eight-sided-shield",o.FLOWER="flower",o.FOUR_LEAF_CLOVER="four-leaf-clover",o.FOUR_PETAL_FLOWER="four-petal-flower",o.FOUR_POINT_STAR="four-point-star",o.GEAR="gear",o.HORIZONTAL_RIGHT_LEANING_OVAL="horizontal-right-leaning-oval",o.HORIZONTAL_STACKED_CIRCLES="horizontal-stacked-circles",o.HOURGLASS="hourglass",o.KEYSTONE="keystone",o.NARROW_CORSET="narrow-corset",o.NARROW_POW="narrow-pow",o.NARROW_RIBBON="narrow-ribbon",o.NARROW_VERTICAL_STACKED_PILLS="narrow-vertical-stacked-pills",o.OCTAGON="octagon",o.OPEN_BOOK="open-book",o.PARALLELOGRAM="parallelogram",o.PENTAGON="pentagon",o.POINTED_STAR="pointed-star",o.POINTED_WINDOW="pointed-window",o.RABBET="rabbet",o.RECTANGLE="rectangle",o.ROUNDED_ARCHED_WINDOW="rounded-arched-window",o.ROUNDED_DIAMOND="rounded-diamond",o.ROUNDED_EIGHT_POINT_STAR="rounded-eight-point-star",o.ROUNDED_FOUR_POINT_STAR="rounded-four-point-star",o.ROUNDED_PENTAGON="rounded-pentagon",o.ROUNDED_RIBBON="rounded-ribbon",o.ROUNDED_STAR="rounded-star",o.ROUNDED_TEN_POINT_STAR="rounded-ten-point-star",o.STEPPED_CROSS="stepped-cross",o.TRIANGLE="triangle",o.TV="tv",o.VERTICAL_PARALLELOGRAM="vertical-parallelogram",o.WIDE_HORIZONTAL_STACKED_PILLS="wide-horizontal-stacked-pills",o.WIDE_VERTICAL_STACKED_PILLS="wide-vertical-stacked-pills"})(e||(e={}));var r=l.default=e;b.exports=l.default},160248:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.TWITTER=1,o.FACEBOOK=2,o.GOOGLE=3,o.LINKEDIN=4,o.STUMBLE=5,o.REDDIT=6,o.PINTEREST=7,o.TUMBLR=8})(e||(e={}));var r=l.default=e;b.exports=l.default},732574:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.BEST_MATCH="best_match",o.MOST_POPULAR="most_popular",o.NEWEST="newest"})(e||(e={}));var r=l.default=e;b.exports=l.default},582388:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.EXPIRED=1,o.PASTDUE=2,o.TRIAL=3,o.BETA=4,o.REMOVED=5,o.INTERNAL=6,o.COMPED=7,o.PAID=8,o.V5_LINKED=11,o.ACTIVE_PARKING_PAGE=12,o.RESOLD=13,o.RESOLD_GRACE_PERIOD=14,o.ENTERPRISE=15,o.CONTAINER=16})(e||(e={}));var r=l.default=e;b.exports=l.default},857712:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.NONE="none",o.SOLID="solid",o.DASHED="dashed"})(e||(e={}));var r=l.default=e;b.exports=l.default},835956:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.NOT_PRORATED="not-prorated",o.PRORATED_REFUND="prorated-refund",o.PRORATED_CHARGE="prorated-charge",o.MOVE_RECEIVED="move-received",o.MOVE_SENT="move-sent",o.MANUAL_REFUND="manual-refund",o.BUNDLE_DISCOUNT_FORFEITURE="bundle-discount-forfeiture"})(e||(e={}));var r=l.default=e;b.exports=l.default},660671:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.INPUT="INPUT",o.DROP_DOWN="DROP_DOWN",o.DATE="DATE",o.CHECKBOX="CHECKBOX",o.DISPLAY="DISPLAY"})(e||(e={}));var r=l.default=e;b.exports=l.default},175235:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.APO="apo",o.BOROUGH="borough",o.CITY="city",o.COUNTRY="country",o.COUNTY="county",o.DISTRICT="district",o.FPO="fpo",o.LOCAL_IMPROVEMENT_DISTRICT="local_improvement_district",o.PARISH="parish",o.PROVINCE="province",o.SPECIAL_PURPOSE_DISTRICT="special_purpose_district",o.STATE="state",o.TERRITORY="territory",o.TOWNSHIP="township",o.TRADE_BLOCK="trade_block",o.TRANSIT_DISTRICT="transit_district"})(e||(e={}));var r=l.default=e;b.exports=l.default},58140:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.PHYSICAL="PHYSICAL",o.DIGITAL="DIGITAL",o.SERVICE="SERVICE",o.GIFT_CARD="GIFT_CARD",o.PAYWALL="PAYWALL",o.CUSTOM_SALE="CUSTOM_SALE",o.DONATION="DONATION"})(e||(e={}));var r=l.default=e;b.exports=l.default},448710:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.US_SALES="us-sales",o.GST="gst",o.VAT="vat",o.VAT_PROVINCE="vat_province",o.VAT_AND_LEVIES="vat_and_levies",o.JCT="jct",o.NONE="none"})(e||(e={}));var r=l.default=e;b.exports=l.default},247380:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.OWNERLESS="OWNERLESS",o.COMMERCE_MERCH="COMMERCE_MERCH",o.COMMERCE_INVENTORY="COMMERCE_INVENTORY",o.COMMERCE_ACTIVATION="COMMERCE_ACTIVATION",o.COMMERCE_CHANNELS="COMMERCE_CHANNELS",o.COMMERCE_DIGITAL_PRODUCTS_AND_DONATIONS="COMMERCE_DIGITAL_PRODUCTS_AND_DONATIONS",o.COMMERCE_PRINT_ON_DEMAND="COMMERCE_PRINT_ON_DEMAND",o.COMMERCE_ONLINE_MERCH="COMMERCE_ONLINE_MERCH",o.COMMERCE_PROJECT_SUCCESS="COMMERCE_PROJECT_SUCCESS",o.COMMERCE_INVOICING_TOOLS="COMMERCE_INVOICING_TOOLS",o.COMMERCE_MERCHANDISING="COMMERCE_MERCHANDISING",o.COMMERCE_MONETIZATION="COMMERCE_MONETIZATION",o.COMMERCE_TX="COMMERCE_TX",o.COMMERCE_CAPITAL="COMMERCE_CAPITAL",o.COMMERCE_RISK_AND_PLATFORM="COMMERCE_RISK_AND_PLATFORM",o.COMMERCE_PAYMENTS="COMMERCE_PAYMENTS",o.COMMERCE_ORDERS="COMMERCE_ORDERS",o.COMMERCE_ENGAGEMENT="COMMERCE_ENGAGEMENT",o.COMMERCE_CORE="COMMERCE_CORE",o.COMMERCE_SELLER_OPERATIONS="COMMERCE_SELLER_OPERATIONS",o.COMMERCE_CHECKOUT="COMMERCE_CHECKOUT",o.COMMERCE_MEMBERSHIPS="COMMERCE_MEMBERSHIPS",o.CAMPAIGNS_COMPOSER="CAMPAIGNS_COMPOSER",o.CAMPAIGNS_DELIVERY="CAMPAIGNS_DELIVERY",o.DISTRIBUTION="DISTRIBUTION",o.ANALYTICS="ANALYTICS",o.CRM_PRODUCT="CRM_PRODUCT",o.INTERFACE_ARCHITECTURE="INTERFACE_ARCHITECTURE",o.I18N_PLATFORM="I18N_PLATFORM",o.CORE_UI="CORE_UI",o.FORMS_FIELDS="FORMS_FIELDS",o.CONTENT_DATA="CONTENT_DATA",o.COMMUNICATION_PLATFORM="COMMUNICATION_PLATFORM",o.MACHINE_LEARNING="MACHINE_LEARNING",o.TEMPLATES="TEMPLATES",o.CONTENT_EDITING="CONTENT_EDITING",o.CONTENT_RENDERING="CONTENT_RENDERING",o.WEBSITE_CONTENT_COMPONENTS="WEBSITE_CONTENT_COMPONENTS",o.WEB_CONCEPTS="WEB_CONCEPTS",o.WEB_PERFORMANCE="WEB_PERFORMANCE",o.CORE_CMS="CORE_CMS",o.ASSET_MANAGEMENT="ASSET_MANAGEMENT",o.ACCOUNTS="ACCOUNTS",o.DOMAINS="DOMAINS",o.G_SUITE="G_SUITE",o.EMAIL_PRODUCT="EMAIL_PRODUCT",o.DOMAIN_REGISTRAR="DOMAIN_REGISTRAR",o.CORE_MOBILE="CORE_MOBILE",o.RESELLER_API="RESELLER_API",o.DISCOVERY="DISCOVERY",o.CMS_RENDERING="CMS_RENDERING",o.PHENSLEY="PHENSLEY",o.BRAND_SYSTEM="BRAND_SYSTEM",o.EDITING_SYSTEM="EDITING_SYSTEM",o.DIGITAL_PRODUCT_ACTIVATION="DIGITAL_PRODUCT_ACTIVATION",o.DIGITAL_PRODUCT_MONETIZATION="DIGITAL_PRODUCT_MONETIZATION",o.DIGITAL_PRODUCT_CONTENT="DIGITAL_PRODUCT_CONTENT",o.DIGITAL_PRODUCT_VIDEO_ASSETS="DIGITAL_PRODUCT_VIDEO_ASSETS",o.WEBSITE_LAYOUT_AND_STYLING="WEBSITE_LAYOUT_AND_STYLING",o.WEBSITE_EDITOR="WEBSITE_EDITOR",o.WEBSITES_CONTENT="WEBSITES_CONTENT",o.WEBSITE_CHARACTER="WEBSITE_CHARACTER",o.WEBSITE_PLATFORM_API_APPLICATION="WEBSITE_PLATFORM_API_APPLICATION",o.WEBSITE_PLATFORM_RENDERING_EXTENSIBILITY="WEBSITE_PLATFORM_RENDERING_EXTENSIBILITY",o.CORE_LAYOUT="CORE_LAYOUT",o.STYLING_SYSTEM="STYLING_SYSTEM",o.I18N_PRODUCT="I18N_PRODUCT",o.CONTEXTUAL_LAYOUT="CONTEXTUAL_LAYOUT",o.WEBSITES="WEBSITES",o.FRONTSITE="FRONTSITE",o.CONVERSION="CONVERSION",o.TRIAL_EXPERIENCE="TRIAL_EXPERIENCE",o.BUSINESS_CONCIERGE="BUSINESS_CONCIERGE",o.CUSTOMER_LIFECYCLE="CUSTOMER_LIFECYCLE",o.BILLING="BILLING",o.GROWTH_TOOLS="GROWTH_TOOLS",o.CUSTOM_STARTING_POINTS="CUSTOM_STARTING_POINTS",o.CORE_SERVICES="CORE_SERVICES",o.SITE_INFRASTRUCTURE="SITE_INFRASTRUCTURE",o.ENTERPRISE="ENTERPRISE",o.MEDIA_INFRASTRUCTURE="MEDIA_INFRASTRUCTURE",o.CHECKOUT_PAYMENTS="CHECKOUT_PAYMENTS",o.CUSTOPS_ENGINEERING="CUSTOPS_ENGINEERING",o.INTERNAL_PRODUCTS="INTERNAL_PRODUCTS",o.MEDIA_PLATFORM="MEDIA_PLATFORM",o.ACTIVATION="ACTIVATION",o.CROSS_PRODUCT_SUCCESS="CROSS_PRODUCT_SUCCESS",o.USER_PLATFORM="USER_PLATFORM",o.IDENTITY_PLATFORM="IDENTITY_PLATFORM",o.API_AND_DEV_PLATFORM="API_AND_DEV_PLATFORM",o.PRICING_MERCHANDISING="PRICING_MERCHANDISING",o.SCHEDULING_PLATFORM="SCHEDULING_PLATFORM",o.SCHEDULING_GROWTH="SCHEDULING_GROWTH",o.PROVISIONING="PROVISIONING",o.I18N_ENG="I18N_ENG",o.CONFIG_FRONTEND_ENG="CONFIG_FRONTEND_ENG",o.PROTECTION_PLATFORM="PROTECTION_PLATFORM",o.ACTIVATION_ENGINE="ACTIVATION_ENGINE",o.ACTIVATION_FUNNEL="ACTIVATION_FUNNEL",o.CORPORATE_APPLICATIONS="CORPORATE_APPLICATIONS"})(e||(e={}));var r=l.default=e;b.exports=l.default},720406:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.SEVEN="7",o.SEVEN_ONE="7.1",o.EIGHT="8"})(e||(e={}));var r=l.default=e;b.exports=l.default},197749:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.AVAILABLE="AVAILABLE",o.UNSUPPORTED_TLD="UNSUPPORTED_TLD",o.DOMAIN_EXISTS="DOMAIN_EXISTS",o.SQUARESPACE_MANAGED="SQUARESPACE_MANAGED",o.LINKED_ON_ANOTHER_SITE="LINKED_ON_ANOTHER_SITE",o.TRANSFER_IN_PROGRESS="TRANSFER_IN_PROGRESS",o.NOT_REGISTERED="NOT_REGISTERED",o.NEW_REGISTRATION="NEW_REGISTRATION",o.LOCKED="LOCKED",o.TRADE_LOCK="TRADE_LOCK",o.EXCEEDS_MAX_PERIOD="EXCEEDS_MAX_PERIOD",o.PREMIUM="PREMIUM",o.UNKNOWN="UNKNOWN",o.PROTECTED_KEYWORD="PROTECTED_KEYWORD",o.WITHIN_EXPIRATION_PERIOD="WITHIN_EXPIRATION_PERIOD"})(e||(e={}));var r=l.default=e;b.exports=l.default},714584:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ASCIO_TECH="ASCIO_TECH",o.AUTOMATTIC="AUTOMATTIC",o.CLOUD_GROUP="CLOUD_GROUP",o.DOMAIN_ROBOT="DOMAIN_ROBOT",o.DOMAIN_COM="DOMAIN_COM",o.DOMAINPEOPLE="DOMAINPEOPLE",o.DREAMHOST="DREAMHOST",o.DREAMSCAPE="DREAMSCAPE",o.EASYSPACE="EASYSPACE",o.EASYSTREET="EASYSTREET",o.ENOM="ENOM",o.EPAG="EPAG",o.FASTDOMAIN="FASTDOMAIN",o.GANDI="GANDI",o.GODADDY="GODADDY",o.GOOGLE="GOOGLE",o.HOSTINGER="HOSTINGER",o.HOSTNET="HOSTNET",o.IN2NET="IN2NET",o.KEY_SYSTEMS="KEY_SYSTEMS",o.LAUNCHPAD="LAUNCHPAD",o.LIVEDOMAINS="LIVEDOMAINS",o.MARKMONITOR="MARKMONITOR",o.MESH_DIGITAL="MESH_DIGITAL",o.METAREGISTRAR="METAREGISTRAR",o.NAME="NAME",o.NAMECHEAP="NAMECHEAP",o.NAMESILO="NAMESILO",o.NAMESPRO="NAMESPRO",o.NETWORK_SOLUTIONS="NETWORK_SOLUTIONS",o.ONEANDONE="ONEANDONE",o.ONE_API="ONE_API",o.ONE_TWO_THREE_REG="ONE_TWO_THREE_REG",o.ONE_COM="ONE_COM",o.OPEN_TLD="OPEN_TLD",o.PARAGON_INTERNET="PARAGON_INTERNET",o.PDR_LTD="PDR_LTD",o.PORKBUN="PORKBUN",o.REALTIME_REGISTER="REALTIME_REGISTER",o.REBEL_CA="REBEL_CA",o.REGISTER="REGISTER",o.SQUARESPACE_DOMAINS="SQUARESPACE_DOMAINS",o.TUCOWS="TUCOWS",o.WHC_ONLINE="WHC_ONLINE",o.WILD_WEST="WILD_WEST",o.UNKNOWN="UNKNOWN"})(e||(e={}));var r=l.default=e;b.exports=l.default},35496:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ANALYTICS_APP_BADGE_SHOWN="analytics-app-badge-shown",o.ANALYTICS_UPGRADE_ABANDONED_CART="analytics-upgrade-abandoned-cart",o.ANALYTICS_UPGRADE_CONVERSIONS="analytics-upgrade-conversions",o.ANALYTICS_UPGRADE_PURCHASE_FUNNEL="analytics-upgrade-purchase-funnel",o.ANALYTICS_UPGRADE_SALES_BY_PRODUCT="analytics-upgrade-sales-by-product",o.ANALYTICS_UPGRADE_TRAFFIC_SOURCES="analytics-upgrade-traffic-sources",o.ASSISTANT_BUSINESS_GUIDANCE="assistant-business-guidance-card-in-nav",o.BLOG_MONETIZATION_CARD_DISMISSED="blog_monetization_card_dismissed",o.BUTTONS_UPDATE="buttons_update",o.CAMPAIGNS_BLOG_TO_EMAIL_MODAL="CAMPAIGNS_BLOG_TO_EMAIL_MODAL",o.COMMERCE_APP_REDIRECT_INVENTORY_PANEL="commerce-app-redirect-inventory-panel",o.COMMERCE_APP_REDIRECT_ORDERS_PANEL="commerce-app-redirect-orders-panel",o.COURSE_SALES_PAGE_SETUP="courses-sales-page-setup",o.COURSE_FIND_EXPERT_CARD_DISMISSED="course_find_expert_card_dismissed",o.CONTENT_BLOCKERS_SURVEY="CONTENT_BLOCKERS_SURVEY",o.DEVICE_VIEW="deviceview",o.DIGITAL_PRODUCTS_SALES_PAGE_SETUP="digital-products-sales-page-setup",o.ENGAGING_CONTENT_ONBOARDING="analytics-engaging-content-onboarding",o.EXPLICIT_THUMBNAILS_TUTORIAL_KEY="explicit_thumbnails_tutorial_2021",o.FLUID_ENGINE_MOBILE_TUTORIAL="has-seen-fluid-engine-mobile-changes-notification",o.FLUID_ENGINE_SAVED_SECTIONS="fe-saved-sections",o.FLUID_ENGINE_TUTORIAL_ID="fe-onboarding-wizard",o.FLYOUT_DISCOVERABILITY_AB_TEST="FLYOUT_DISCOVERABILITY_AB_TEST",o.FONTS_PANEL_SUBPANEL_TOAST="fonts-panel-subpanel-toast",o.FORM_IMPROVEMENTS_TUTORIAL_NAME="form-improvements-promotion-banner",o.GENERAL_ONBOARDING="analytics-general-onboarding",o.GLOBAL_SETTINGS_CONTEXTUAL_TOOLTIP="global-settings-contextual-tooltip",o.GLOBAL_SETTINGS_PANEL_TOOLTIP="global-settings-panel-tooltip",o.IN_EDITOR_SURVEY="in_editor_survey",o.IN_PRODUCT_SURVEY="IN_PRODUCT_SURVEY",o.INTRODUCING_SITE_STYLES="tutorial-introducing-site-styles",o.JANUARY_2021_DATA_DELAY="analytics-january-2021-data-delay",o.MOBILE_PREVIEW_EDITING_WARNING_TUTORIAL_ID="mobile-preview-editing-warning",o.PRINT_ON_DEMAND_TUTORIAL="analytics-print-on-demand-tutorial",o.SHIPPING_LABELS_TUTORIAL_NAME="commerce_shipping_labels_order_panel",o.SITE_CONTENT_NEW_ENGAGEMENT="analytics-site-content-new-engagement",o.STYLE_TARGETING_MODAL_ID="style-targeting-modal",o.TEMPLATE_SWITCHING_TEST="template-switching-test",o.TEXT_BLOCK_IMPROVEMENTS="text-block-improvements",o.TUTORIAL_ADD_PREMIUM_BLOCK="tutorial-add-premium-block",o.TUTORIAL_ADD_BLOCK_BUTTON="layout-add-block-button",o.TUTORIAL_LAYOUT_ENGINE="le2-welcome",o.TUTORIAL_ID_CHANGE_STYLES="tutorial-change-styles",o.TUTORIAL_ID_REFRESHED_PRESETS="tutorial-font-and-color-presets-refresh-2022H1",o.WELCOME_WIZARD_TUTORIAL_NAME="commerce_customer_notifications_welcome_wizard",o.WELCOME_MESSAGE="image-editor-1-welcome-message",o.DP_ADDONS_UPSELL_BANNER_DISMISSED="dp-addons-upsell-banner-dismissed",o.DP_SELLING_DASHBOARD_BANNER_DISMISSED="dp-selling-dashboard-banner-dismissed",o.DP_DASHBOARD_MATURE_STATE="dp-dashboard-mature-state",o.DP_DASHBOARD_SETUP_STATE="dp-dashboard-setup-state",o.SUBSCRIPTION_ACTIVATION_2025_PROMOTION_BANNER_DISMISSED="subscription-activation-2025-promotion-banner-dismissed",o.SEARCH_ORDERS_BY_PRODUCT_TOOLTIP_SHOWN="search-orders-by-product-tooltip-shown"})(e||(e={}));var r=l.default=e;b.exports=l.default},413543:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.COLOR=1,o.HUE=2,o.FONT=3,o.IMAGE=4,o.VALUE=5,o.MARGIN=6,o.PADDING=7,o.DROPDOWN=8,o.CHECKBOX=9,o.COLORPALETTE=10})(e||(e={}));var r=l.default=e;b.exports=l.default},623795:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.CH="ch",o.EM="em",o.PERCENT="%",o.PIXEL="px",o.REM="rem",o.VIEWPORT_HEIGHT="vh",o.VIEWPORT_WIDTH="vw",o.VMAX="vmax",o.VMIN="vmin"})(e||(e={}));var r=l.default=e;b.exports=l.default},310955:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.BOTTOM="bottom",o.CENTER="center",o.TOP="top"})(e||(e={}));var r=l.default=e;b.exports=l.default},141654:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.ADMIN=1,o.BILLING=2,o.REPORTING=3,o.EDITOR=4,o.MODERATOR=6,o.COMMENTER=7,o.STORE_MANAGER=8,o.SCHEDULING=9,o.VIEWER=10,o.CAMPAIGNS_EDITOR=11,o.SCHEDULING_VIEWER=12,o.SCHEDULING_EDITOR=13,o.NONE=14,o.WEBSITE_MANAGER=15,o.DRAFT_EDITOR=16})(e||(e={}));var r=l.default=e;b.exports=l.default},28365:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.CLASSIC=1,o.COVER_PAGE=2,o.PARKING_PAGE=3,o.COMMERCE=4,o.ENTERPRISE=5,o.CONTAINER=6})(e||(e={}));var r=l.default=e;b.exports=l.default},667735:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.PUBLISHED=1,o.SCHEDULED=2,o.NEEDS_REVIEW=3,o.DRAFT=4,o.PRIVATE=5,o.DELETED=6})(e||(e={}));var r=l.default=e;b.exports=l.default},742693:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.EPISODIC=0,o.SERIAL=1})(e||(e={}));var r=l.default=e;b.exports=l.default},648191:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(o){o.NONE=0,o.MOVING_TO_SQUARESPACE=1,o.MOVING_AWAY_FROM_SQUARESPACE=2,o.EXTERNAL_FEED_SERVICE=3})(e||(e={}));var r=l.default=e;b.exports=l.default},936177:function(b,l,e){var r=e(461761),o=e(210750),n=e(994336),a=[],i=0,c=20,u=10,f=5e3,d=function(){if(!(!a||a.length===0)){var _=new XMLHttpRequest;_.open("POST","/api/events/RecordJavascriptErrors",!0),_.setRequestHeader("Content-type","application/json;charset=UTF-8"),_.setRequestHeader("X-CSRF-Token",n.get("crumb"));try{_.send(JSON.stringify(a))}catch{}a=[],i++}},h={trackUncaughtError:function(_,p,y,O,P,C,A){var S=A?A.stack:"",T={app:_,message:y,stack:S,file:O,line:P,column:C,custom:p()};this.enqueueError("interface_error_"+_,T)},enqueueError:function(_,p){var y={},O=r(window,"Static.SQUARESPACE_CONTEXT",{});if(!this.hasExceededMaxReporting()){y.websiteId=r(O,"website.id"),y.templateId=r(O,"templateId"),p.stack&&p.stack.length>f&&(p.stack=p.stack.substring(0,f)+`
 [STACK TRACE TRUNCATED]`),y.url=window.location.href||"",y.userAgent=window.navigator.userAgent;try{a.push({event:_,data:JSON.stringify(Object.assign(y,p)),timestamp:Date.now()})}catch(P){console.warn("Could not push error: ".concat(P))}this.debouncedSend()}},hasExceededMaxReporting:function(){return i>=c||a.length>=u},getStack:function(){var _=new Error;return _.stack||""},wrapAppErrorCallback:function(_){return function(){if(!_)return{};try{return _()}catch{return{errorInCallback:!0}}}},debouncedSend:o(d,1e3)};b.exports={bindUncaughtErrorReporter:function(_,p){_||(console.error("Error Reporter Missing App Name configuration",h.getStack()),_="unknown");var y=h.wrapAppErrorCallback(p);window.onerror&&(window.onerror=null),window.onerror=h.trackUncaughtError.bind(h,_,y)},trackCaughtError:function(_,p){var y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h.getStack();h.enqueueError("interface_error_"+_,{app:_,message:p,stack:y})}}},724415:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(642979)),a=r(e(174161)),i=r(e(845076)),c=r(e(860921)),u=r(e(324143)),f=r(e(26284)),d=function(_){var p=_.attributes,y=_.children,O=_.className,P=_.hasErrors,C=_.isDisabled,A=_.onClick,S=_.testId,T=_.theme,s=_.type,v=(0,i.default)("u-field-button",f.default.button,f.default[T],f.default[s],O,(0,n.default)({},f.default.hasErrors,P));return a.default.createElement("button",(0,o.default)({},p,{className:v,"data-test":S,disabled:C,onClick:A}),y)};d.defaultProps={isDisabled:!1,onClick:c.default,testId:"button",theme:"damask",type:"minor"};var h=d;l.default=h,b.exports=l.default},563908:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(174161)),a=r(e(322470)),i=r(e(103372)),c=r(e(324143)),u=r(e(485028)),f=r(e(930555)),d=r(e(724415)),h=Object.keys(c.default),g=function(y){var O=y.children,P=y.errorClassName,C=y.errorMessage,A=y.label,S=y.theme,T=y.wrapperClassName,s=(0,a.default)(y,h),v=(0,i.default)(s.hasErrors)?!!C:s.hasErrors;return n.default.createElement(f.default,{className:T,errorClassName:P,errorMessage:C,label:A,theme:S},n.default.createElement(d.default,(0,o.default)({},s,{hasErrors:v}),O))},_=g;l.default=_,b.exports=l.default},851670:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"BaseButton",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,"Button",{enumerable:!0,get:function(){return n.default}}),l.default=void 0;var o=r(e(724415)),n=r(e(563908)),a=n.default;l.default=a},324143:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(795478)),a=r(e(609817));function i(d,h){var g=Object.keys(d);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(d);h&&(_=_.filter(function(p){return Object.getOwnPropertyDescriptor(d,p).enumerable})),g.push.apply(g,_)}return g}function c(d){for(var h=1;h<arguments.length;h++){var g=arguments[h]!=null?arguments[h]:{};h%2?i(Object(g),!0).forEach(function(_){(0,o.default)(d,_,g[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(g)):i(Object(g)).forEach(function(_){Object.defineProperty(d,_,Object.getOwnPropertyDescriptor(g,_))})}return d}var u=c(c({},a.default),{},{attributes:n.default.object,isDisabled:n.default.bool,onClick:n.default.func,type:n.default.oneOf(["caution","inset","minor","primary","recommend","text"])}),f=u;l.default=f,b.exports=l.default},773052:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(174161)),a=r(e(845076)),i=r(e(952151)),c=r(e(927490)),u=function(h){var g,_=h.children,p=h.className,y=h.hasErrors,O=h.isDisabled,P=h.onChange,C=h.testId,A=h.theme,S=h.title,T=h.value,s=function(F){O||P(!T,F)},v=(0,a.default)("u-field-check",c.default[A],c.default.check,p,(g={"u-field-check-active":T,"u-field-check-disabled":O},(0,o.default)(g,c.default.active,T),(0,o.default)(g,c.default.hasErrors,y),(0,o.default)(g,c.default.isDisabled,O),g)),m=(0,a.default)("u-field-check-title",c.default.title),E=(0,a.default)("u-field-check-description",c.default.description),I=(0,a.default)("u-field-check-circle",c.default.circle),L=(0,a.default)("u-field-check-circle-filler",c.default.circleFiller,c.default["".concat(A,"CircleFiller")]);return n.default.createElement("div",{className:v,onClick:s,"data-test":C},n.default.createElement("div",{className:I}),S&&n.default.createElement("div",{className:m},S),_&&n.default.createElement("div",{className:E},_),n.default.createElement("div",{className:L}))};u.defaultProps={isDisabled:!1,testId:"check",theme:"damask",value:!1};var f=u;l.default=f,b.exports=l.default},125861:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(174161)),a=r(e(322470)),i=r(e(103372)),c=r(e(952151)),u=r(e(485028)),f=r(e(930555)),d=r(e(773052)),h=Object.keys(c.default),g=function(y){var O=y.children,P=y.errorClassName,C=y.errorMessage,A=y.label,S=y.theme,T=y.wrapperClassName,s=(0,a.default)(y,h),v=(0,i.default)(s.hasErrors)?!!C:s.hasErrors;return n.default.createElement(f.default,{className:T,errorClassName:P,errorMessage:C,label:A,theme:S},n.default.createElement(d.default,(0,o.default)({},s,{hasErrors:v}),O))},_=g;l.default=_,b.exports=l.default},117012:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"BaseCheck",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,"Check",{enumerable:!0,get:function(){return n.default}}),l.default=void 0;var o=r(e(773052)),n=r(e(125861)),a=n.default;l.default=a},952151:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(795478)),a=r(e(609817));function i(d,h){var g=Object.keys(d);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(d);h&&(_=_.filter(function(p){return Object.getOwnPropertyDescriptor(d,p).enumerable})),g.push.apply(g,_)}return g}function c(d){for(var h=1;h<arguments.length;h++){var g=arguments[h]!=null?arguments[h]:{};h%2?i(Object(g),!0).forEach(function(_){(0,o.default)(d,_,g[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(g)):i(Object(g)).forEach(function(_){Object.defineProperty(d,_,Object.getOwnPropertyDescriptor(g,_))})}return d}var u=c(c({},a.default),{},{isDisabled:n.default.bool,onChange:n.default.func.isRequired,title:n.default.oneOfType([n.default.element,n.default.string]),value:n.default.bool}),f=u;l.default=f,b.exports=l.default},248475:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(174161)),a=r(e(845076)),i=r(e(806124)),c=r(e(506904)),u=r(e(773052)),f=function(g){var _=g.className,p=g.hasErrors,y=g.isDisabled,O=g.onChange,P=g.options,C=g.testId,A=g.theme,S=g.value,T=function(m,E,I){y||O(Object.assign({},S,(0,o.default)({},m,E)),I)},s=(0,a.default)("u-field-checkbox-group",c.default[A],c.default.container,_,(0,o.default)({},c.default.hasErrors,p));return n.default.createElement("div",{className:s,"data-test":C},P.map(function(v){return n.default.createElement("div",{className:c.default.option,key:v.key},n.default.createElement(u.default,{isDisabled:y,onChange:function(E,I){return T(v.key,E,I)},testId:v.testId,theme:A,title:v.label||v.key,value:S[v.key]}))}))};f.defaultProps={options:[],testId:"checkbox-group",theme:"damask",value:{}};var d=f;l.default=d,b.exports=l.default},406100:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(174161)),a=r(e(322470)),i=r(e(103372)),c=r(e(806124)),u=r(e(485028)),f=r(e(930555)),d=r(e(248475)),h=Object.keys(c.default),g=function(y){var O=y.children,P=y.errorClassName,C=y.errorMessage,A=y.label,S=y.theme,T=y.wrapperClassName,s=(0,a.default)(y,h),v=(0,i.default)(s.hasErrors)?!!C:s.hasErrors;return n.default.createElement(f.default,{className:T,errorClassName:P,errorMessage:C,label:A,theme:S},n.default.createElement(d.default,(0,o.default)({},s,{hasErrors:v})),O)},_=g;l.default=_,b.exports=l.default},661360:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"BaseCheckboxGroup",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,"CheckboxGroup",{enumerable:!0,get:function(){return n.default}}),l.default=void 0;var o=r(e(248475)),n=r(e(406100)),a=n.default;l.default=a},806124:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(795478)),a=r(e(609817));function i(d,h){var g=Object.keys(d);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(d);h&&(_=_.filter(function(p){return Object.getOwnPropertyDescriptor(d,p).enumerable})),g.push.apply(g,_)}return g}function c(d){for(var h=1;h<arguments.length;h++){var g=arguments[h]!=null?arguments[h]:{};h%2?i(Object(g),!0).forEach(function(_){(0,o.default)(d,_,g[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(g)):i(Object(g)).forEach(function(_){Object.defineProperty(d,_,Object.getOwnPropertyDescriptor(g,_))})}return d}var u=c(c({},a.default),{},{isDisabled:n.default.bool,onChange:n.default.func.isRequired,options:n.default.arrayOf(n.default.shape({key:n.default.string.isRequired,label:n.default.string,testId:n.default.string})),value:n.default.objectOf(n.default.bool)}),f=u;l.default=f,b.exports=l.default},766887:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(174161)),n=r(e(845076)),a=r(e(335361)),i=r(e(961482)),c=function(d){var h=d.children,g=d.className,_=d.testId,p=d.theme,y=d.title,O=(0,n.default)("u-field-description",i.default[p],g),P=(0,n.default)("u-field-description-title",i.default.title),C=(0,n.default)("u-field-description-text",i.default.text);return o.default.createElement("div",{className:O,"data-test":_},y&&o.default.createElement("div",{className:P},y),h&&o.default.createElement("div",{className:C},h))};c.defaultProps={testId:"description",theme:"damask"};var u=c;l.default=u,b.exports=l.default},613133:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(174161)),n=r(e(322470)),a=r(e(845076)),i=r(e(335361)),c=r(e(485028)),u=r(e(930555)),f=r(e(766887)),d=r(e(961482)),h=Object.keys(i.default),g=function(y){var O=y.wrapperClassName,P=y.theme,C=y.label,A=y.children,S=(0,n.default)(y,h);return S.className=(0,a.default)(d.default.wrapped,S.className),o.default.createElement(u.default,{className:O,theme:P,label:C},o.default.createElement(f.default,S,A))},_=g;l.default=_,b.exports=l.default},698877:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"BaseDescription",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,"Description",{enumerable:!0,get:function(){return n.default}}),l.default=void 0;var o=r(e(766887)),n=r(e(613133)),a=n.default;l.default=a},335361:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(795478)),n=r(e(246306)),a={className:o.default.string,testId:o.default.string,theme:n.default,title:o.default.node},i=a;l.default=i,b.exports=l.default},319257:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(795478)),n=r(e(174161)),a=r(e(845076)),i=r(e(246306)),c=r(e(138900)),u=function(h){var g=h.children,_=h.className,p=h.testId,y=h.theme,O=(0,a.default)("u-field-error",c.default.error,c.default[y],_);return n.default.createElement("div",{className:O,"data-test":p},g)};u.defaultProps={testId:"error",theme:"damask"};var f=u;l.default=f,b.exports=l.default},930555:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(795478)),n=r(e(174161)),a=r(e(845076)),i=r(e(246306)),c=r(e(113990)),u=r(e(319257)),f=r(e(877643)),d=function(_){var p=_.children,y=_.className,O=_.errorClassName,P=_.errorMessage,C=_.label,A=_.testId,S=_.theme,T=(0,a.default)("u-field-wrapper",f.default.wrapper,f.default[S],y);return n.default.createElement("div",{className:T,"data-test":A},C&&n.default.createElement(c.default,{theme:S},C),p,P&&n.default.createElement(u.default,{theme:S,className:O},P))};d.defaultProps={testId:"wrapper",theme:"damask"};var h=d;l.default=h,b.exports=l.default},568429:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(174161)),a=r(e(845076)),i=r(e(860921)),c=r(e(646363)),u=r(e(289050)),f=function(g){var _=g.className,p=g.hasErrors,y=g.isFixedWidth,O=g.name,P=g.onChange,C=g.options,A=g.testId,S=g.theme,T=g.value,s=function(I){P(I.target.value,I)},v=(0,a.default)("u-field-flat-select",u.default.container,u.default[S],_,(0,o.default)({},u.default.hasErrors,p)),m=(0,a.default)("u-field-flat-select-input",u.default.optionInput);return n.default.createElement("div",{className:v,"data-test":A},C.map(function(E){var I=E.value===T,L=(0,a.default)("u-field-flat-select-option",u.default.option,(0,o.default)({},u.default.optionActive,I));return n.default.createElement("label",{className:L,key:E.value,style:y?{width:100/C.length+"%"}:{}},n.default.createElement("input",{checked:I,className:m,"data-test":E.testId,name:O,onChange:s,type:"radio",value:E.value}),E.label||E.value)}))};f.defaultProps={isFixedWidth:!0,onChange:i.default,options:[],testId:"flat-select",theme:"damask"};var d=f;l.default=d,b.exports=l.default},825331:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(174161)),a=r(e(322470)),i=r(e(103372)),c=r(e(646363)),u=r(e(485028)),f=r(e(930555)),d=r(e(568429)),h=Object.keys(c.default),g=function(y){var O=y.children,P=y.errorClassName,C=y.errorMessage,A=y.label,S=y.theme,T=y.wrapperClassName,s=(0,a.default)(y,h),v=(0,i.default)(s.hasErrors)?!!C:s.hasErrors;return n.default.createElement(f.default,{className:T,errorClassName:P,errorMessage:C,label:A,theme:S},n.default.createElement(d.default,(0,o.default)({},s,{hasErrors:v})),O)},_=g;l.default=_,b.exports=l.default},684394:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"BaseFlatSelect",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,"FlatSelect",{enumerable:!0,get:function(){return n.default}}),l.default=void 0;var o=r(e(568429)),n=r(e(825331)),a=n.default;l.default=a},646363:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(795478)),a=r(e(609817));function i(d,h){var g=Object.keys(d);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(d);h&&(_=_.filter(function(p){return Object.getOwnPropertyDescriptor(d,p).enumerable})),g.push.apply(g,_)}return g}function c(d){for(var h=1;h<arguments.length;h++){var g=arguments[h]!=null?arguments[h]:{};h%2?i(Object(g),!0).forEach(function(_){(0,o.default)(d,_,g[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(g)):i(Object(g)).forEach(function(_){Object.defineProperty(d,_,Object.getOwnPropertyDescriptor(g,_))})}return d}var u=c(c({},a.default),{},{isFixedWidth:n.default.bool,name:n.default.string,onChange:n.default.func.isRequired,options:n.default.arrayOf(n.default.shape({label:n.default.string,testId:n.default.string,value:n.default.string.isRequired})),value:n.default.any}),f=u;l.default=f,b.exports=l.default},225326:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(675523)),a=r(e(668595)),i=r(e(910575)),c=r(e(590670)),u=r(e(20104)),f=r(e(848664)),d=r(e(642979)),h=r(e(174161)),g=r(e(845076)),_=r(e(860921)),p=r(e(740144)),y=r(e(922517));function O(S){var T=P();return function(){var v=(0,f.default)(S),m;if(T){var E=(0,f.default)(this).constructor;m=Reflect.construct(v,arguments,E)}else m=v.apply(this,arguments);return(0,u.default)(this,m)}}function P(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var C=function(S){(0,c.default)(s,S);var T=O(s);function s(v){var m;return(0,n.default)(this,s),m=T.call(this,v),(0,d.default)((0,i.default)(m),"handleBlur",function(E){var I=m.props.onBlur;m.setState({isFocused:!1}),I(E)}),(0,d.default)((0,i.default)(m),"handleFocus",function(E){var I=m.props.onFocus;m.setState({isFocused:!0}),I(E)}),(0,d.default)((0,i.default)(m),"handleChange",function(E){var I=m.props.onChange;I(E.target.value,E)}),(0,d.default)((0,i.default)(m),"handleRef",function(E){m.input=E,m.props.inputRef&&m.props.inputRef(E)}),m.state={isFocused:!1},m}return(0,a.default)(s,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"render",value:function(){var m,E=this.state.isFocused,I=this.props,L=I.attributes,W=I.autoComplete,F=I.autoCorrect,G=I.className,k=I.defaultValue,x=I.hasErrors,M=I.isDisabled,B=I.max,R=I.maxLength,U=I.min,j=I.onClick,$=I.onKeyDown,ee=I.onKeyUp,te=I.onMouseDown,ie=I.placeholder,ne=I.readOnly,pe=I.size,oe=I.step,q=I.testId,J=I.theme,me=I.type,re=I.value,he=(0,g.default)("u-field-input",y.default.input,y.default[J],y.default[pe],G,(m={},(0,d.default)(m,y.default.hasErrors,x),(0,d.default)(m,y.default.hasValue,!!re),(0,d.default)(m,y.default.isFocused,E),(0,d.default)(m,y.default.readOnly,ne),m));return h.default.createElement("input",(0,o.default)({},L,{autoComplete:W,autoCorrect:F,className:he,"data-test":q,defaultValue:k,disabled:M,max:B,maxLength:R,min:U,onBlur:this.handleBlur,onChange:this.handleChange,onClick:j,onFocus:this.handleFocus,onKeyDown:$,onKeyUp:ee,onMouseDown:te,placeholder:ie,readOnly:ne,ref:this.handleRef,step:oe,type:me,value:re}))}}]),s}(h.default.Component);C.defaultProps={isDisabled:!1,onBlur:_.default,onChange:_.default,onFocus:_.default,onKeyDown:_.default,onKeyUp:_.default,onMouseDown:_.default,readOnly:!1,testId:"input",theme:"damask",type:"text"};var A=C;l.default=A,b.exports=l.default},862888:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(675523)),a=r(e(668595)),i=r(e(910575)),c=r(e(590670)),u=r(e(20104)),f=r(e(848664)),d=r(e(642979)),h=r(e(795478)),g=r(e(174161)),_=r(e(845076)),p=r(e(322470)),y=r(e(103372)),O=r(e(860921)),P=r(e(485028)),C=r(e(740144)),A=r(e(930555)),S=r(e(225326)),T=r(e(273620));function s(L){var W=v();return function(){var G=(0,f.default)(L),k;if(W){var x=(0,f.default)(this).constructor;k=Reflect.construct(G,arguments,x)}else k=G.apply(this,arguments);return(0,u.default)(this,k)}}function v(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var m=Object.keys(C.default),E=function(L){(0,c.default)(F,L);var W=s(F);function F(G){var k;return(0,n.default)(this,F),k=W.call(this,G),(0,d.default)((0,i.default)(k),"handleInputFocus",function(x){var M=k.props.onFocus;k.setState({isFocused:!0}),M(x)}),(0,d.default)((0,i.default)(k),"handleInputBlur",function(x){var M=k.props.onBlur;k.setState({isFocused:!1}),M(x)}),(0,d.default)((0,i.default)(k),"handleRef",function(x){k.baseInput=x}),k.state={isFocused:!1},k}return(0,a.default)(F,[{key:"focus",value:function(){this.baseInput.focus()}},{key:"blur",value:function(){this.baseInput.blur()}},{key:"select",value:function(){this.baseInput.select()}},{key:"render",value:function(){var k,x=this.props,M=x.children,B=x.errorClassName,R=x.errorMessage,U=x.inline,j=x.inputRef,$=x.label,ee=x.theme,te=x.wrapperClassName,ie=this.state.isFocused,ne=(0,p.default)(this.props,m),pe=$;ee==="midnight"&&!ne.value&&(ne.placeholder=ne.placeholder||$,pe=null);var oe=(0,y.default)(ne.hasErrors)?!!R:ne.hasErrors,q=(0,_.default)(T.default[ee],te,(k={},(0,d.default)(k,T.default.hasValue,!!ne.value),(0,d.default)(k,T.default.inline,U),(0,d.default)(k,T.default.isFocused,ie),(0,d.default)(k,T.default.unlabeled,!$),k));return g.default.createElement(A.default,{className:q,errorClassName:B,errorMessage:R,label:pe,theme:ee},g.default.createElement(S.default,(0,o.default)({},ne,{onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,hasErrors:oe,ref:this.handleRef,inputRef:j})),M)}}]),F}(g.default.Component);E.defaultProps={inline:!1,onBlur:O.default,onFocus:O.default};var I=E;l.default=I,b.exports=l.default},912273:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"BaseInput",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,"Input",{enumerable:!0,get:function(){return n.default}}),l.default=void 0;var o=r(e(225326)),n=r(e(862888)),a=n.default;l.default=a},740144:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(795478)),a=r(e(609817));function i(d,h){var g=Object.keys(d);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(d);h&&(_=_.filter(function(p){return Object.getOwnPropertyDescriptor(d,p).enumerable})),g.push.apply(g,_)}return g}function c(d){for(var h=1;h<arguments.length;h++){var g=arguments[h]!=null?arguments[h]:{};h%2?i(Object(g),!0).forEach(function(_){(0,o.default)(d,_,g[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(g)):i(Object(g)).forEach(function(_){Object.defineProperty(d,_,Object.getOwnPropertyDescriptor(g,_))})}return d}var u=c(c({},a.default),{},{attributes:n.default.object,autoComplete:n.default.string,autoCorrect:n.default.string,defaultValue:n.default.any,isDisabled:n.default.bool,inputRef:n.default.func,max:n.default.oneOfType([n.default.number,n.default.string]),maxLength:n.default.number,min:n.default.oneOfType([n.default.number,n.default.string]),onBlur:n.default.func,onChange:n.default.func,onClick:n.default.func,onFocus:n.default.func,onKeyDown:n.default.func,onKeyUp:n.default.func,onMouseDown:n.default.func,placeholder:n.default.string,readOnly:n.default.bool,size:n.default.oneOf(["large"]),step:n.default.number,type:n.default.oneOf(["email","number","password","tel","text"]),value:n.default.any}),f=u;l.default=f,b.exports=l.default},113990:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(795478)),n=r(e(174161)),a=r(e(845076)),i=r(e(246306)),c=r(e(71081)),u=function(h){var g=h.children,_=h.className,p=h.testId,y=h.theme,O=(0,a.default)("u-field-label",c.default.label,c.default[y],_);return n.default.createElement("div",{className:O,"data-test":p},g)};u.defaultProps={testId:"label",theme:"damask"};var f=u;l.default=f,b.exports=l.default},711704:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(174161)),a=r(e(845076)),i=r(e(860921)),c=r(e(147069)),u=r(e(985395)),f=function(g){var _=g.className,p=g.hasErrors,y=g.isDisabled,O=g.name,P=g.onChange,C=g.options,A=g.testId,S=g.theme,T=g.value,s=function(F){P(F.target.value,F)},v=(0,a.default)("u-field-radio-group",u.default.container,u.default[S],_,(0,o.default)({},u.default.hasErrors,p)),m=(0,a.default)("u-field-radio-group-option",u.default.option,(0,o.default)({},u.default.isDisabled,y)),E=(0,a.default)("u-field-radio-group-input",u.default.optionInput),I=(0,a.default)("u-field-radio-group-label",u.default.label),L=(0,a.default)("u-field-radio-group-description",u.default.description);return n.default.createElement("div",{className:v,"data-test":A},C.map(function(W){var F=y||W.isDisabled,G=n.default.createElement("label",{key:W.value,className:(0,a.default)(m,W.optionClassList)},n.default.createElement("input",{checked:W.value===T,className:E,"data-test":W.testId,disabled:F,name:O,onChange:s,type:"radio",value:W.value}),n.default.createElement("div",{className:(0,a.default)(I,W.labelClassList,(0,o.default)({},u.default.disabledOption,F))},W.label||W.value,W.description&&n.default.createElement("div",{className:L},W.description))),k=W.wrappedComponent;if(k){var x=k;return n.default.createElement(x,null,G)}return G}))};f.defaultProps={isDisabled:!1,onChange:i.default,options:[],testId:"radio-group",theme:"damask"};var d=f;l.default=d,b.exports=l.default},966085:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(174161)),a=r(e(322470)),i=r(e(103372)),c=r(e(147069)),u=r(e(485028)),f=r(e(930555)),d=r(e(711704)),h=Object.keys(c.default),g=function(y){var O=y.children,P=y.errorClassName,C=y.errorMessage,A=y.label,S=y.theme,T=y.wrapperClassName,s=(0,a.default)(y,h),v=(0,i.default)(s.hasErrors)?!!C:s.hasErrors;return n.default.createElement(f.default,{className:T,errorClassName:P,errorMessage:C,label:A,theme:S},n.default.createElement(d.default,(0,o.default)({},s,{hasErrors:v})),O)},_=g;l.default=_,b.exports=l.default},550849:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"BaseRadioGroup",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,"RadioGroup",{enumerable:!0,get:function(){return n.default}}),l.default=void 0;var o=r(e(711704)),n=r(e(966085)),a=n.default;l.default=a},147069:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(795478)),a=r(e(609817));function i(d,h){var g=Object.keys(d);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(d);h&&(_=_.filter(function(p){return Object.getOwnPropertyDescriptor(d,p).enumerable})),g.push.apply(g,_)}return g}function c(d){for(var h=1;h<arguments.length;h++){var g=arguments[h]!=null?arguments[h]:{};h%2?i(Object(g),!0).forEach(function(_){(0,o.default)(d,_,g[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(g)):i(Object(g)).forEach(function(_){Object.defineProperty(d,_,Object.getOwnPropertyDescriptor(g,_))})}return d}var u=c(c({},a.default),{},{isDisabled:n.default.bool,name:n.default.string,onChange:n.default.func.isRequired,options:n.default.arrayOf(n.default.shape({description:n.default.node,label:n.default.node,testId:n.default.string,value:n.default.string.isRequired})),value:n.default.any}),f=u;l.default=f,b.exports=l.default},377256:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(675523)),a=r(e(668595)),i=r(e(910575)),c=r(e(590670)),u=r(e(20104)),f=r(e(848664)),d=r(e(642979)),h=r(e(174161)),g=r(e(845076)),_=r(e(860921)),p=r(e(206470)),y=r(e(812726));function O(S){var T=P();return function(){var v=(0,f.default)(S),m;if(T){var E=(0,f.default)(this).constructor;m=Reflect.construct(v,arguments,E)}else m=v.apply(this,arguments);return(0,u.default)(this,m)}}function P(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var C=function(S){(0,c.default)(s,S);var T=O(s);function s(v){var m;return(0,n.default)(this,s),m=T.call(this,v),(0,d.default)((0,i.default)(m),"handleChange",function(E){var I=m.props.onChange;I(E.target.value,E)}),(0,d.default)((0,i.default)(m),"handleReset",function(E){var I=m.props,L=I.onChange,W=I.onReset;L("",E),W(E)}),(0,d.default)((0,i.default)(m),"handleRef",function(E){m.input=E}),m}return(0,a.default)(s,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"renderResetButton",value:function(){var m=this.props.value,E=(0,g.default)("u-field-search-reset",y.default.resetButton,(0,d.default)({},y.default.buttonHidden,typeof m=="string"&&m.trim()===""));return h.default.createElement("div",{"data-selector":"search-reset-button",className:E,onClick:this.handleReset})}},{key:"render",value:function(){var m,E=this.props,I=E.attributes,L=E.className,W=E.hasErrors,F=E.hideSearchIcon,G=E.isDisabled,k=E.onBlur,x=E.onFocus,M=E.onKeyDown,B=E.onKeyUp,R=E.placeholder,U=E.testId,j=E.theme,$=E.value,ee=(0,g.default)("u-field-search",y.default.search,y.default[j],L,(m={},(0,d.default)(m,y.default.hasErrors,W),(0,d.default)(m,y.default.hiddenSearchIcon,F),m));return h.default.createElement("div",{className:y.default.container},h.default.createElement("input",(0,o.default)({},I,{className:ee,"data-test":U,"data-selector":"search-input",disabled:G,onBlur:k,onChange:this.handleChange,onFocus:x,onKeyDown:M,onKeyUp:B,placeholder:R,ref:this.handleRef,type:"text",value:$})),!F&&h.default.createElement("div",{"data-selector":"search-icon",className:y.default.searchIcon}),!G&&this.renderResetButton())}}]),s}(h.default.Component);C.defaultProps={isDisabled:!1,onBlur:_.default,onChange:_.default,onFocus:_.default,onKeyDown:_.default,onKeyUp:_.default,onReset:_.default,testId:"search",theme:"damask",value:""};var A=C;l.default=A,b.exports=l.default},849938:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(675523)),a=r(e(668595)),i=r(e(910575)),c=r(e(590670)),u=r(e(20104)),f=r(e(848664)),d=r(e(642979)),h=r(e(174161)),g=r(e(322470)),_=r(e(103372)),p=r(e(206470)),y=r(e(485028)),O=r(e(930555)),P=r(e(377256));function C(v){var m=A();return function(){var I=(0,f.default)(v),L;if(m){var W=(0,f.default)(this).constructor;L=Reflect.construct(I,arguments,W)}else L=I.apply(this,arguments);return(0,u.default)(this,L)}}function A(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var S=Object.keys(p.default),T=function(v){(0,c.default)(E,v);var m=C(E);function E(I){var L;return(0,n.default)(this,E),L=m.call(this,I),(0,d.default)((0,i.default)(L),"handleRef",function(W){L.baseSearch=W}),L}return(0,a.default)(E,[{key:"focus",value:function(){this.baseSearch.focus()}},{key:"blur",value:function(){this.baseSearch.blur()}},{key:"render",value:function(){var L=this.props,W=L.children,F=L.errorClassName,G=L.errorMessage,k=L.label,x=L.theme,M=L.wrapperClassName,B=(0,g.default)(this.props,S),R=(0,_.default)(B.hasErrors)?!!G:B.hasErrors;return h.default.createElement(O.default,{className:M,errorClassName:F,errorMessage:G,label:k,theme:x},h.default.createElement(P.default,(0,o.default)({},B,{hasErrors:R,ref:this.handleRef})),W)}}]),E}(h.default.Component),s=T;l.default=s,b.exports=l.default},615057:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"BaseSearch",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,"Search",{enumerable:!0,get:function(){return n.default}}),l.default=void 0;var o=r(e(377256)),n=r(e(849938)),a=n.default;l.default=a},206470:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(795478)),a=r(e(609817));function i(d,h){var g=Object.keys(d);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(d);h&&(_=_.filter(function(p){return Object.getOwnPropertyDescriptor(d,p).enumerable})),g.push.apply(g,_)}return g}function c(d){for(var h=1;h<arguments.length;h++){var g=arguments[h]!=null?arguments[h]:{};h%2?i(Object(g),!0).forEach(function(_){(0,o.default)(d,_,g[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(g)):i(Object(g)).forEach(function(_){Object.defineProperty(d,_,Object.getOwnPropertyDescriptor(g,_))})}return d}var u=c(c({},a.default),{},{attributes:n.default.object,hideSearchIcon:n.default.bool,isDisabled:n.default.bool,onBlur:n.default.func,onChange:n.default.func,onFocus:n.default.func,onKeyDown:n.default.func,onKeyUp:n.default.func,onReset:n.default.func,placeholder:n.default.string,value:n.default.any.isRequired}),f=u;l.default=f,b.exports=l.default},415570:function(b,l,e){"use strict";var r=e(711998),o=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=o(e(160553)),a=o(e(675523)),i=o(e(668595)),c=o(e(910575)),u=o(e(590670)),f=o(e(20104)),d=o(e(848664)),h=o(e(642979)),g=r(e(174161)),_=o(e(845076)),p=o(e(103372)),y=o(e(860921)),O=o(e(247334)),P=o(e(950728));function C(s){var v=A();return function(){var E=(0,d.default)(s),I;if(v){var L=(0,d.default)(this).constructor;I=Reflect.construct(E,arguments,L)}else I=E.apply(this,arguments);return(0,f.default)(this,I)}}function A(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var S=function(s){(0,u.default)(m,s);var v=C(m);function m(E){var I;return(0,a.default)(this,m),I=v.call(this,E),(0,h.default)((0,c.default)(I),"handleBlur",function(L){var W=I.props.onBlur;I.setState({isFocused:!1}),W(L)}),(0,h.default)((0,c.default)(I),"handleFocus",function(L){var W=I.props.onFocus;I.setState({isFocused:!0}),W(L)}),(0,h.default)((0,c.default)(I),"handleChange",function(L){var W=I.props.onChange;W(L.target.value,L)}),I.state={isFocused:!1},I}return(0,i.default)(m,[{key:"getSelectedOption",value:function(){var I=this.props,L=I.value,W=I.defaultValue,F=I.children,G=(0,p.default)(L)?W:L,k=function(B){return B&&(B.props.value===G||B.props.value===parseInt(G,10))},x;return g.Children.forEach(F,function(M){M&&M.type==="optgroup"?g.default.Children.forEach(M.props.children,function(B){k(B)&&(x=B)}):k(M)&&(x=M)}),x}},{key:"getLabel",value:function(){var I=this.props.renderLabel,L=this.getSelectedOption();return I?I(L?L.props:""):L?L.props.children:""}},{key:"render",value:function(){var I,L=this.state.isFocused,W=this.props,F=W.attributes,G=W.children,k=W.className,x=W.hasErrors,M=W.isDisabled,B=W.onClick,R=W.placeholder,U=W.testId,j=W.theme,$=W.type,ee=W.value,te=(0,_.default)("u-field-select",P.default.container,P.default[$],P.default[j],k,(I={},(0,h.default)(I,P.default.hasErrors,x),(0,h.default)(I,P.default.isFocused,L),(0,h.default)(I,P.default.isDefaultValue,!ee),I));return g.default.createElement("div",{className:te},g.default.createElement("div",{className:P.default.label},this.getLabel()),g.default.createElement("select",(0,n.default)({},F,{className:P.default.selectField,"data-test":U,disabled:M,onBlur:this.handleBlur,onChange:this.handleChange,onClick:B,onFocus:this.handleFocus,value:ee}),G),!!R&&!ee&&g.default.createElement("div",null,R))}}]),m}(g.Component);S.defaultProps={isDisabled:!1,onBlur:y.default,onChange:y.default,onClick:y.default,onFocus:y.default,testId:"select",theme:"damask",type:"primary"};var T=S;l.default=T,b.exports=l.default},697712:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(642979)),a=r(e(174161)),i=r(e(845076)),c=r(e(322470)),u=r(e(103372)),f=r(e(247334)),d=r(e(485028)),h=r(e(930555)),g=r(e(415570)),_=r(e(399710)),p=Object.keys(f.default),y=function(C){var A,S=C.children,T=C.errorClassName,s=C.errorMessage,v=C.label,m=C.theme,E=C.wrapperClassName,I=(0,c.default)(C,p),L=(0,u.default)(I.hasErrors)?!!s:I.hasErrors,W=(0,i.default)(_.default[m],E,(A={},(0,n.default)(A,_.default.hasValue,!!I.value),(0,n.default)(A,_.default.unlabeled,!v),A)),F=v;return m==="midnight"&&!I.value&&(F=null),a.default.createElement(h.default,{className:W,errorClassName:T,errorMessage:s,label:F,theme:m},a.default.createElement(g.default,(0,o.default)({},I,{hasErrors:L}),S))},O=y;l.default=O,b.exports=l.default},526607:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"BaseSelect",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,"Select",{enumerable:!0,get:function(){return n.default}}),l.default=void 0;var o=r(e(415570)),n=r(e(697712)),a=n.default;l.default=a},247334:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(795478)),a=r(e(609817));function i(d,h){var g=Object.keys(d);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(d);h&&(_=_.filter(function(p){return Object.getOwnPropertyDescriptor(d,p).enumerable})),g.push.apply(g,_)}return g}function c(d){for(var h=1;h<arguments.length;h++){var g=arguments[h]!=null?arguments[h]:{};h%2?i(Object(g),!0).forEach(function(_){(0,o.default)(d,_,g[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(g)):i(Object(g)).forEach(function(_){Object.defineProperty(d,_,Object.getOwnPropertyDescriptor(g,_))})}return d}var u=c(c({},a.default),{},{attributes:n.default.object,defaultValue:n.default.any,isDisabled:n.default.bool,onBlur:n.default.func,onChange:n.default.func.isRequired,onClick:n.default.func,onFocus:n.default.func,placeholder:n.default.string,type:n.default.oneOf(["light","minor","primary"]),value:n.default.any,renderLabel:n.default.func}),f=u;l.default=f,b.exports=l.default},603792:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(642979)),a=r(e(174161)),i=r(e(845076)),c=r(e(860921)),u=r(e(312479)),f=r(e(842702)),d=r(e(882999)),h=function(p){var y=p.attributes,O=p.className,P=p.hasErrors,C=p.labelWidth,A=p.max,S=p.min,T=p.onChange,s=p.parseValue,v=p.renderValue,m=p.step,E=p.testId,I=p.theme,L=p.value,W=function(B){T(s(B.target.value),B)},F=Object.assign(v?{paddingLeft:C}:{},y?y.style:{});F.webkitAppearance="none";var G=(0,i.default)("u-field-slider",f.default.container,f.default[I],O,(0,n.default)({},f.default.hasErrors,P)),k=(0,i.default)("u-field-slider-value",f.default.valueLabel),x=(0,i.default)("u-field-slider-input",f.default.slider);return a.default.createElement("div",{className:G},v&&a.default.createElement("div",{className:k,style:{width:C}},v(L)),a.default.createElement("input",(0,o.default)({},y,{className:x,"data-test":E,max:A,min:S,onChange:W,step:m,style:F,type:"range",value:L})))};h.defaultProps={labelWidth:d.default.globalGrid*3,max:100,min:0,onChange:c.default,parseValue:function(p){return parseFloat(p)},renderValue:function(p){return p},step:1,testId:"slider",theme:"damask"};var g=h;l.default=g,b.exports=l.default},604884:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(174161)),a=r(e(322470)),i=r(e(103372)),c=r(e(312479)),u=r(e(485028)),f=r(e(930555)),d=r(e(603792)),h=Object.keys(c.default),g=function(y){var O=y.children,P=y.errorClassName,C=y.errorMessage,A=y.label,S=y.theme,T=y.wrapperClassName,s=(0,a.default)(y,h),v=(0,i.default)(s.hasErrors)?!!C:s.hasErrors;return n.default.createElement(f.default,{className:T,errorClassName:P,errorMessage:C,label:A,theme:S},n.default.createElement(d.default,(0,o.default)({},s,{hasErrors:v})),O)},_=g;l.default=_,b.exports=l.default},759768:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"BaseSlider",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,"Slider",{enumerable:!0,get:function(){return n.default}}),l.default=void 0;var o=r(e(603792)),n=r(e(604884)),a=n.default;l.default=a},312479:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(795478)),a=r(e(609817));function i(d,h){var g=Object.keys(d);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(d);h&&(_=_.filter(function(p){return Object.getOwnPropertyDescriptor(d,p).enumerable})),g.push.apply(g,_)}return g}function c(d){for(var h=1;h<arguments.length;h++){var g=arguments[h]!=null?arguments[h]:{};h%2?i(Object(g),!0).forEach(function(_){(0,o.default)(d,_,g[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(g)):i(Object(g)).forEach(function(_){Object.defineProperty(d,_,Object.getOwnPropertyDescriptor(g,_))})}return d}var u=c(c({},a.default),{},{attributes:n.default.object,labelWidth:n.default.number,max:n.default.number,min:n.default.number,onChange:n.default.func.isRequired,parseValue:n.default.func,renderValue:n.default.oneOfType([n.default.bool,n.default.func]),step:n.default.number,value:n.default.number.isRequired}),f=u;l.default=f,b.exports=l.default},593423:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(675523)),a=r(e(668595)),i=r(e(910575)),c=r(e(590670)),u=r(e(20104)),f=r(e(848664)),d=r(e(642979)),h=r(e(174161)),g=r(e(845076)),_=r(e(860921)),p=r(e(324136)),y=r(e(114023)),O=e(635489),P=e(321846);function C(m){var E=A();return function(){var L=(0,f.default)(m),W;if(E){var F=(0,f.default)(this).constructor;W=Reflect.construct(L,arguments,F)}else W=L.apply(this,arguments);return(0,u.default)(this,W)}}function A(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var S={damask:0,midnight:1,denarius:2},T={damask:O.BASE_LINE_HEIGHT_PX,midnight:O.GRID_PX,denarius:P.BASE_LINE_HEIGHT_PX},s=function(m){(0,c.default)(I,m);var E=C(I);function I(L){var W;return(0,n.default)(this,I),W=E.call(this,L),(0,d.default)((0,i.default)(W),"updateMinMaxHeight",function(){var F=W.props,G=F.maxRows,k=F.minRows,x=F.theme,M=W.state,B=M.maxHeight,R=M.minHeight,U=T[x],j=O.GRID_PX+S[x],$=G*U+j,ee=k*U+j;$===B&&ee===R||W.setState({maxHeight:$,minHeight:ee})}),(0,d.default)((0,i.default)(W),"handleChange",function(F){var G=W.props.onChange;G(F.target.value,F)}),(0,d.default)((0,i.default)(W),"renderSizingHelper",function(){var F=W.props.value,G=W.state,k=G.maxHeight,x=G.minHeight,M=!F||F.lastIndexOf(`
`)===F.length-1,B=M?(F||"")+"&nbsp;":F;return h.default.createElement("div",{className:y.default.sizingHelper,ref:function(U){W.sizingHelper=U},style:{maxHeight:k,minHeight:x}},B)}),(0,d.default)((0,i.default)(W),"renderCharacterCountText",function(){var F=W.props,G=F.value,k=F.characterCountLimit,x=k-G.length,M=x<0;return h.default.createElement("div",{className:(0,g.default)(y.default.charCount,(0,d.default)({},y.default.charCountError,M))},x)}),W.state={maxHeight:Number.MAX_VALUE,minHeight:0},W}return(0,a.default)(I,[{key:"componentDidMount",value:function(){this.updateMinMaxHeight()}},{key:"componentDidUpdate",value:function(W){var F=this.props,G=F.maxRows,k=F.minRows;W.maxRows===G&&W.minRows===k||this.updateMinMaxHeight()}},{key:"render",value:function(){var W,F=this.props,G=F.attributes,k=F.characterCountLimit,x=F.className,M=F.hasErrors,B=F.maxLength,R=F.onBlur,U=F.onFocus,j=F.onKeyPress,$=F.placeholder,ee=F.readOnly,te=F.testId,ie=F.theme,ne=F.value,pe=!!k||k===0,oe=(0,g.default)("u-field-textarea",y.default.textarea,y.default[ie],x,(W={},(0,d.default)(W,y.default.hasErrors,M),(0,d.default)(W,y.default.readOnly,ee),W));return h.default.createElement("div",{className:(0,g.default)(y.default.container,y.default[ie+"Container"],(0,d.default)({},y.default.hasCharCount,pe))},h.default.createElement("textarea",(0,o.default)({},G,{autoCapitalize:"sentences",autoComplete:"off",className:oe,"data-test":te,maxLength:B,onBlur:R,onChange:this.handleChange,onFocus:U,onKeyPress:j,placeholder:$,readOnly:ee,spellCheck:!0,value:ne})),pe&&this.renderCharacterCountText(),this.renderSizingHelper())}}]),I}(h.default.Component);s.defaultProps={maxLength:1e4,maxRows:10,minRows:2,onBlur:_.default,onChange:_.default,onFocus:_.default,onKeyPress:_.default,readOnly:!1,testId:"text-area",theme:"damask"};var v=s;l.default=v,b.exports=l.default},258445:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(174161)),a=r(e(322470)),i=r(e(103372)),c=r(e(324136)),u=r(e(485028)),f=r(e(930555)),d=r(e(593423)),h=Object.keys(c.default),g=function(y){var O=y.children,P=y.errorClassName,C=y.errorMessage,A=y.label,S=y.theme,T=y.wrapperClassName,s=(0,a.default)(y,h),v=(0,i.default)(s.hasErrors)?!!C:s.hasErrors;return n.default.createElement(f.default,{className:T,errorClassName:P,errorMessage:C,label:A,theme:S},n.default.createElement(d.default,(0,o.default)({},s,{hasErrors:v})),O)},_=g;l.default=_,b.exports=l.default},311727:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"BaseTextArea",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,"TextArea",{enumerable:!0,get:function(){return n.default}}),l.default=void 0;var o=r(e(593423)),n=r(e(258445)),a=n.default;l.default=a},324136:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(795478)),a=r(e(609817));function i(d,h){var g=Object.keys(d);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(d);h&&(_=_.filter(function(p){return Object.getOwnPropertyDescriptor(d,p).enumerable})),g.push.apply(g,_)}return g}function c(d){for(var h=1;h<arguments.length;h++){var g=arguments[h]!=null?arguments[h]:{};h%2?i(Object(g),!0).forEach(function(_){(0,o.default)(d,_,g[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(g)):i(Object(g)).forEach(function(_){Object.defineProperty(d,_,Object.getOwnPropertyDescriptor(g,_))})}return d}var u=c(c({},a.default),{},{attributes:n.default.object,characterCountLimit:n.default.number,maxLength:n.default.number,maxRows:n.default.number,minRows:n.default.number,onBlur:n.default.func,onChange:n.default.func,onFocus:n.default.func,onKeyPress:n.default.func,placeholder:n.default.string,readOnly:n.default.bool,value:n.default.string}),f=u;l.default=f,b.exports=l.default},415316:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(174161)),a=r(e(845076)),i=r(e(567250)),c=r(e(222629)),u=function(h){var g,_=h.className,p=h.hasErrors,y=h.isDisabled,O=h.onChange,P=h.size,C=h.testId,A=h.theme,S=h.value,T=function(m){y||O(!S,m)},s=(0,a.default)("u-field-toggle",c.default.container,c.default[A],c.default[P],_,(g={},(0,o.default)(g,c.default.active,S),(0,o.default)(g,c.default.disabled,y),(0,o.default)(g,c.default.hasErrors,p),g));return n.default.createElement("div",{className:s,onClick:T,"data-test":C},n.default.createElement("div",{className:c.default.switchBox},n.default.createElement("div",{className:c.default.toggleBox},n.default.createElement("div",{className:c.default.toggleBackground},n.default.createElement("div",{className:c.default.on}),n.default.createElement("div",{className:c.default.off})))),n.default.createElement("div",{className:c.default.switchShadow},"\xA0"),n.default.createElement("div",{className:c.default.handleWrapper},n.default.createElement("div",{className:c.default.handle},"\xA0")))};u.defaultProps={isDisabled:!1,size:"large",testId:"toggle",theme:"damask",value:!1};var f=u;l.default=f,b.exports=l.default},632784:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=r(e(174161)),a=r(e(322470)),i=r(e(103372)),c=r(e(567250)),u=r(e(485028)),f=r(e(930555)),d=r(e(415316)),h=Object.keys(c.default),g=function(y){var O=y.children,P=y.errorClassName,C=y.errorMessage,A=y.label,S=y.theme,T=y.wrapperClassName,s=(0,a.default)(y,h),v=(0,i.default)(s.hasErrors)?!!C:s.hasErrors;return n.default.createElement(f.default,{className:T,errorClassName:P,errorMessage:C,label:A,theme:S},n.default.createElement(d.default,(0,o.default)({},s,{hasErrors:v})),O)},_=g;l.default=_,b.exports=l.default},645870:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"BaseToggle",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,"Toggle",{enumerable:!0,get:function(){return n.default}}),l.default=void 0;var o=r(e(415316)),n=r(e(632784)),a=n.default;l.default=a},567250:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(795478)),a=r(e(609817));function i(d,h){var g=Object.keys(d);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(d);h&&(_=_.filter(function(p){return Object.getOwnPropertyDescriptor(d,p).enumerable})),g.push.apply(g,_)}return g}function c(d){for(var h=1;h<arguments.length;h++){var g=arguments[h]!=null?arguments[h]:{};h%2?i(Object(g),!0).forEach(function(_){(0,o.default)(d,_,g[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(g)):i(Object(g)).forEach(function(_){Object.defineProperty(d,_,Object.getOwnPropertyDescriptor(g,_))})}return d}var u=c(c({},a.default),{},{isDisabled:n.default.bool,onChange:n.default.func.isRequired,size:n.default.oneOf(["large","small"]),value:n.default.bool}),f=u;l.default=f,b.exports=l.default},965885:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"BaseButton",{enumerable:!0,get:function(){return o.BaseButton}}),Object.defineProperty(l,"Button",{enumerable:!0,get:function(){return o.Button}}),Object.defineProperty(l,"BaseCheck",{enumerable:!0,get:function(){return n.BaseCheck}}),Object.defineProperty(l,"Check",{enumerable:!0,get:function(){return n.Check}}),Object.defineProperty(l,"BaseCheckboxGroup",{enumerable:!0,get:function(){return a.BaseCheckboxGroup}}),Object.defineProperty(l,"CheckboxGroup",{enumerable:!0,get:function(){return a.CheckboxGroup}}),Object.defineProperty(l,"BaseDescription",{enumerable:!0,get:function(){return i.BaseDescription}}),Object.defineProperty(l,"Description",{enumerable:!0,get:function(){return i.Description}}),Object.defineProperty(l,"ErrorMessage",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(l,"BaseFlatSelect",{enumerable:!0,get:function(){return u.BaseFlatSelect}}),Object.defineProperty(l,"FlatSelect",{enumerable:!0,get:function(){return u.FlatSelect}}),Object.defineProperty(l,"BaseInput",{enumerable:!0,get:function(){return f.BaseInput}}),Object.defineProperty(l,"Input",{enumerable:!0,get:function(){return f.Input}}),Object.defineProperty(l,"Label",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(l,"BaseRadioGroup",{enumerable:!0,get:function(){return h.BaseRadioGroup}}),Object.defineProperty(l,"RadioGroup",{enumerable:!0,get:function(){return h.RadioGroup}}),Object.defineProperty(l,"BaseSearch",{enumerable:!0,get:function(){return g.BaseSearch}}),Object.defineProperty(l,"Search",{enumerable:!0,get:function(){return g.Search}}),Object.defineProperty(l,"BaseSelect",{enumerable:!0,get:function(){return _.BaseSelect}}),Object.defineProperty(l,"Select",{enumerable:!0,get:function(){return _.Select}}),Object.defineProperty(l,"BaseSlider",{enumerable:!0,get:function(){return p.BaseSlider}}),Object.defineProperty(l,"Slider",{enumerable:!0,get:function(){return p.Slider}}),Object.defineProperty(l,"BaseTextArea",{enumerable:!0,get:function(){return y.BaseTextArea}}),Object.defineProperty(l,"TextArea",{enumerable:!0,get:function(){return y.TextArea}}),Object.defineProperty(l,"BaseToggle",{enumerable:!0,get:function(){return O.BaseToggle}}),Object.defineProperty(l,"Toggle",{enumerable:!0,get:function(){return O.Toggle}}),Object.defineProperty(l,"FieldWrapper",{enumerable:!0,get:function(){return P.default}});var o=e(851670),n=e(117012),a=e(661360),i=e(698877),c=r(e(319257)),u=e(684394),f=e(912273),d=r(e(113990)),h=e(550849),g=e(615057),_=e(526607),p=e(759768),y=e(311727),O=e(645870),P=r(e(930555))},882999:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e=22,r=e*12,o={animationDurationInMs:500,globalColumnWidth:r,globalGrid:e,globalMenuWidth:r,globalPanelWidth:r*1.5,globalUiPadding:e*1.5,globalWidePanelWidth:r*2},n=o;l.default=n,b.exports=l.default},609817:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(795478)),n=r(e(246306)),a={className:o.default.string,hasErrors:o.default.bool,testId:o.default.string,theme:n.default},i=a;l.default=i,b.exports=l.default},246306:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(795478)),n=o.default.oneOf(["damask","denarius","midnight"]),a=n;l.default=a,b.exports=l.default},485028:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(795478)),n=r(e(246306)),a={errorClassName:o.default.string,errorMessage:o.default.string,label:o.default.string,theme:n.default,wrapperClassName:o.default.string},i=a;l.default=i,b.exports=l.default},342034:function(b,l,e){"use strict";e.d(l,{j2:()=>ge,j:()=>_e,Rd:()=>Be});var r=e(642979),o=e.n(r),n=e(279794),a=e.n(n),i=e(375377),c=e.n(i),u=e(457728),f=e.n(u),d=e(392338),h=e(859256),g=e(212974);function _(Ke){return function(){if(0)var He,ye,Le,Ue}}function p(Ke,He,ye){return y.apply(this,arguments)}function y(){return y=c()(f().mark(function Ke(He,ye,Le){return f().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return Xe.abrupt("return",new Promise(function(Fe){var ht=0,Ne=setInterval(function(){He()?(clearInterval(Ne),Fe(!0)):ht>=Le&&(clearInterval(Ne),Fe(!1)),ht+=ye},ye)}));case 1:case"end":return Xe.stop()}},Ke)})),y.apply(this,arguments)}var O={info:_("info"),log:_("log"),warn:_("warn"),error:_("error")},P=function(He){return typeof He=="function"},C=function(){var He;if(P((He=window)===null||He===void 0?void 0:He.FS))return window.FS;try{var ye;if(P((ye=window)===null||ye===void 0||(ye=ye.top)===null||ye===void 0?void 0:ye.FS)){var Le;return(Le=window.top)===null||Le===void 0?void 0:Le.FS}}catch(Ue){console.error("Failed to access window.top.FS. This might be due to cross-origin restrictions. Assuming FullStory is not available.",Ue)}},A=1e4,S=100,T=2,s="force_enable_fullstory",v="true",m={orgId:"17E67V"},E=[{countryISOCode:"AT",blockedRegions:[]},{countryISOCode:"AU",blockedRegions:[]},{countryISOCode:"BE",blockedRegions:[]},{countryISOCode:"BR",blockedRegions:[]},{countryISOCode:"CA",blockedRegions:[]},{countryISOCode:"CH",blockedRegions:[]},{countryISOCode:"DE",blockedRegions:[]},{countryISOCode:"DK",blockedRegions:[]},{countryISOCode:"ES",blockedRegions:[]},{countryISOCode:"FI",blockedRegions:[]},{countryISOCode:"FR",blockedRegions:[]},{countryISOCode:"GB",blockedRegions:[]},{countryISOCode:"HK",blockedRegions:[]},{countryISOCode:"IE",blockedRegions:[]},{countryISOCode:"IN",blockedRegions:[]},{countryISOCode:"IS",blockedRegions:[]},{countryISOCode:"IT",blockedRegions:[]},{countryISOCode:"JP",blockedRegions:[]},{countryISOCode:"KP",blockedRegions:[]},{countryISOCode:"LU",blockedRegions:[]},{countryISOCode:"MX",blockedRegions:[]},{countryISOCode:"NL",blockedRegions:[]},{countryISOCode:"NO",blockedRegions:[]},{countryISOCode:"NZ",blockedRegions:[]},{countryISOCode:"PT",blockedRegions:[]},{countryISOCode:"SE",blockedRegions:[]},{countryISOCode:"SG",blockedRegions:[]},{countryISOCode:"US",blockedRegions:["CA","PA","MA","WA"]}],I=function(He,ye){var Le;return(Le=He.find(function(Ue){return Ue.type.toLowerCase()===ye}))===null||Le===void 0?void 0:Le.code.toUpperCase()},L=function(He,ye,Le){var Ue;return Le.countryISOCode!==He?!1:(Ue=Le.blockedRegions)!==null&&Ue!==void 0&&Ue.length&&ye?!Le.blockedRegions.includes(ye):!0};function W(){return F.apply(this,arguments)}function F(){return F=c()(f().mark(function Ke(){var He,ye,Le;return f().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return Xe.prev=0,Xe.next=3,h.Z.getLocation();case 3:if(He=Xe.sent,He){Xe.next=7;break}return O.error("Failed to fetch location data."),Xe.abrupt("return",!1);case 7:if(ye=I(He,"country"),ye){Xe.next=11;break}return O.error("Failed to retrieve country code from location data."),Xe.abrupt("return",!1);case 11:return Le=I(He,"region"),Xe.abrupt("return",E.some(function(Fe){return L(ye,Le,Fe)}));case 15:return Xe.prev=15,Xe.t0=Xe.catch(0),O.error("Geo-region check failed:",Xe.t0),Xe.abrupt("return",!1);case 19:case"end":return Xe.stop()}},Ke,null,[[0,15]])})),F.apply(this,arguments)}function G(Ke,He){var ye=Object.keys(Ke);if(Object.getOwnPropertySymbols){var Le=Object.getOwnPropertySymbols(Ke);He&&(Le=Le.filter(function(Ue){return Object.getOwnPropertyDescriptor(Ke,Ue).enumerable})),ye.push.apply(ye,Le)}return ye}function k(Ke){for(var He=1;He<arguments.length;He++){var ye=arguments[He]!=null?arguments[He]:{};He%2?G(Object(ye),!0).forEach(function(Le){o()(Ke,Le,ye[Le])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors(ye)):G(Object(ye)).forEach(function(Le){Object.defineProperty(Ke,Le,Object.getOwnPropertyDescriptor(ye,Le))})}return Ke}var x={initialized:C()!==void 0,eventQueue:[],initOptions:{}},M=function(){return k({},x)},B=function(He){return Object.assign(x,He)},R=function(Ke){return Ke.INVALID_GEO="Geo-restriction",Ke.INVALID_TRUSTARC_CONSENT="No functional cookie consent",Ke.INVALID_CLIENT="Client ineligible",Ke}({}),U=function(){var He,ye=new URLSearchParams(window.location.search.toLowerCase());return ye.has(s)&&((He=ye.get(s))===null||He===void 0?void 0:He.toLowerCase().trim())===v},j=function(){var Ke=c()(f().mark(function He(ye){var Le;return f().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return Xe.next=2,W();case 2:if(Le=Xe.sent,B({isEnabledGeoRegion:Le}),Le){Xe.next=7;break}return B({hasFunctionalCookieConsent:!1}),Xe.abrupt("return");case 7:return Xe.next=9,ye.checkConsent(A);case 9:case"end":return Xe.stop()}},He)}));return function(ye){return Ke.apply(this,arguments)}}(),$=function(){var Ke=c()(f().mark(function He(ye,Le){var Ue,Xe,Fe,ht;return f().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(!U()){Ce.next=3;break}return B({isEnabledGeoRegion:!0,hasFunctionalCookieConsent:!0}),Ce.abrupt("return",{canInitialize:!0});case 3:if(Ue=M(),![Ue.hasFunctionalCookieConsent,Ue.isEnabledGeoRegion].some(function(we){return we===void 0})){Ce.next=7;break}return Ce.next=7,j(Le);case 7:if(Xe=M(),Fe=Xe.isEnabledGeoRegion,ht=Xe.hasFunctionalCookieConsent,Fe){Ce.next=10;break}return Ce.abrupt("return",{canInitialize:!1,reason:R.INVALID_GEO});case 10:if(ht){Ce.next=12;break}return Ce.abrupt("return",{canInitialize:!1,reason:R.INVALID_TRUSTARC_CONSENT});case 12:return Ce.abrupt("return",ye().then(function(we){return{canInitialize:we,reason:we?void 0:R.INVALID_CLIENT}}));case 13:case"end":return Ce.stop()}},He)}));return function(ye,Le){return Ke.apply(this,arguments)}}(),ee=null;function te(){return ie.apply(this,arguments)}function ie(){return ie=c()(f().mark(function Ke(){return f().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(ee){ye.next=11;break}return ye.prev=1,ye.next=4,e.e("30082").then(e.bind(e,743529));case 4:ee=ye.sent,ye.next=11;break;case 7:throw ye.prev=7,ye.t0=ye.catch(1),O.error("Failed to load the FullStory SDK: ",ye.t0),ye.t0;case 11:return ye.abrupt("return",ee);case 12:case"end":return ye.stop()}},Ke,null,[[1,7]])})),ie.apply(this,arguments)}var ne=e(675523),pe=e.n(ne),oe=e(668595),q=e.n(oe),J=function(){function Ke(){pe()(this,Ke)}return q()(Ke,[{key:"checkConsent",value:function(){var He=c()(f().mark(function Le(){return f().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:B({hasFunctionalCookieConsent:!0});case 1:case"end":return Xe.stop()}},Le)}));function ye(){return He.apply(this,arguments)}return ye}()},{key:"listenForConsentChange",value:function(ye){return function(){}}}])}(),me=function(){function Ke(){pe()(this,Ke)}return q()(Ke,[{key:"checkConsent",value:function(){var He=c()(f().mark(function Le(Ue){var Xe,Fe,ht,Ne,Ce,we;return f().wrap(function(Ot){for(;;)switch(Ot.prev=Ot.next){case 0:return Ot.next=2,p(function(){return typeof window.truste<"u"},S,Ue);case 2:if(Xe=Ot.sent,Xe||(O.error("TrustArc SDK not loaded after waiting for",Ue,"ms"),B({hasFunctionalCookieConsent:!1})),Ot.prev=4,ht=(Fe=window.truste)===null||Fe===void 0?void 0:Fe.cma.callApi("getGDPRConsentDecision",window.location.host,"fullstory.com"),ht){Ot.next=9;break}return B({hasFunctionalCookieConsent:!1}),Ot.abrupt("return");case 9:Ne=ht.consentDecision,Ce=ht.source,we=Ce==="unprovisioned"||Ce==="asserted"&&Array.isArray(Ne)&&Ne.includes(T),B({hasFunctionalCookieConsent:we}),Ot.next=18;break;case 14:Ot.prev=14,Ot.t0=Ot.catch(4),O.error("Consent check failed:",Ot.t0),B({hasFunctionalCookieConsent:!1});case 18:case"end":return Ot.stop()}},Le,null,[[4,14]])}));function ye(Le){return He.apply(this,arguments)}return ye}()},{key:"listenForConsentChange",value:function(ye){var Le=this,Ue=function(Fe){if(Le.isConsentChangeMessage(Fe)){O.log("Consent change message received:",Fe.data);var ht=JSON.parse(Fe.data).data.split(",").map(function(Ce){return parseInt(Ce,10)}).filter(function(Ce){return typeof Ce=="number"&&!Number.isNaN(Ce)}),Ne=ht.includes(T-1);ye(Ne?"consent-granted":"consent-revoked")}};return window.addEventListener("message",Ue),function(){return window.removeEventListener("message",Ue)}}},{key:"isConsentChangeMessage",value:function(ye){try{var Le=JSON.parse(ye.data);return Le&&(Le==null?void 0:Le.source)==="preference_manager"&&(Le==null?void 0:Le.message)==="submit_preferences"&&typeof(Le==null?void 0:Le.data)=="string"}catch{return!1}}}])}(),re=new Map([["trustArc",me],["none",J]]),he=function(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"trustArc",ye=re.get(He);if(!ye){var Le=Array.from(re.keys()).map(function(Ue){return'"'.concat(Ue,'"')}).join(", ");throw new Error('Invalid consent mode: "'.concat(He,'". Valid modes are: ').concat(Le))}return O.info("Creating consent strategy for consentMode:",He),new ye};function Ee(Ke,He){var ye=Object.keys(Ke);if(Object.getOwnPropertySymbols){var Le=Object.getOwnPropertySymbols(Ke);He&&(Le=Le.filter(function(Ue){return Object.getOwnPropertyDescriptor(Ke,Ue).enumerable})),ye.push.apply(ye,Le)}return ye}function fe(Ke){for(var He=1;He<arguments.length;He++){var ye=arguments[He]!=null?arguments[He]:{};He%2?Ee(Object(ye),!0).forEach(function(Le){o()(Ke,Le,ye[Le])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ke,Object.getOwnPropertyDescriptors(ye)):Ee(Object(ye)).forEach(function(Le){Object.defineProperty(Ke,Le,Object.getOwnPropertyDescriptor(ye,Le))})}return Ke}var H,z=function(){var Ke=c()(f().mark(function He(){var ye,Le;return f().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return ye=M(),Xe.next=3,te();case 3:Le=Xe.sent,ye.eventQueue.forEach(function(Fe){var ht=Fe.eventName,Ne=Fe.properties;Le==null||Le.FullStory("trackEvent",{name:ht,properties:Ne})}),B({eventQueue:[]});case 6:case"end":return Xe.stop()}},He)}));return function(){return Ke.apply(this,arguments)}}(),_e=function(){var Ke=c()(f().mark(function He(ye){var Le,Ue,Xe,Fe=arguments;return f().wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:if(Le=Fe.length>1&&Fe[1]!==void 0?Fe[1]:{},Ue=M(),Ue.initialized){Ne.next=6;break}return B({eventQueue:[].concat(a()(Ue.eventQueue),[{eventName:ye,properties:Le}])}),O.warn("FullStory is not initialized. Queued event: ".concat(ye)),Ne.abrupt("return");case 6:return Ne.next=8,te();case 8:Xe=Ne.sent,Xe==null||Xe.FullStory("trackEvent",{name:ye,properties:Le});case 10:case"end":return Ne.stop()}},He)}));return function(ye){return Ke.apply(this,arguments)}}(),ae=function(){var Ke=c()(f().mark(function He(ye){var Le,Ue;return f().wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:if(Le=M(),Le.initialized){Fe.next=4;break}return O.info("FullStory is not initialized. Calling shutdown is a noop."),Fe.abrupt("return");case 4:return Fe.next=6,te();case 6:return Ue=Fe.sent,Fe.next=9,Ue==null?void 0:Ue.FullStory("shutdownAsync");case 9:B({initialized:!1}),O.info("FullStory shutdown."),ye==null||ye();case 12:case"end":return Fe.stop()}},He)}));return function(ye){return Ke.apply(this,arguments)}}(),ge=function(){var Ke=c()(f().mark(function He(ye){var Le,Ue,Xe,Fe,ht,Ne,Ce,we,$e,Ot,Pt;return f().wrap(function(Bt){for(;;)switch(Bt.prev=Bt.next){case 0:if(Le=ye.initOptions,Ue=ye.readyCallback,Xe=ye.isEligible,Fe=ye.consentMode,ht=Fe===void 0?"trustArc":Fe,H&&(H(),H=void 0),Ne=M(),!Ne.initialized){Bt.next=6;break}return O.info("FullStory is already initialized. Calling initialize again is a noop."),Bt.abrupt("return");case 6:return Ce=he(ht),B({initOptions:fe(fe({},m),Le||{})}),Bt.next=10,$(Xe,Ce);case 10:if(we=Bt.sent,$e=we.canInitialize,Ot=we.reason,$e){Bt.next=16;break}return O.warn("FullStory cannot initialize: ".concat(Ot)),Bt.abrupt("return");case 16:return Bt.next=18,te();case 18:Pt=Bt.sent,Pt==null||Pt.init(M().initOptions,function(mt){B({initialized:!0}),z(),O.info("FullStory initialized."),Ue==null||Ue(Pt.FullStory,mt)}),H=Ce.listenForConsentChange(function(){var mt=c()(f().mark(function rt(ce){var Re,nt;return f().wrap(function(vt){for(;;)switch(vt.prev=vt.next){case 0:if(B({hasFunctionalCookieConsent:ce==="consent-granted"}),ce!=="consent-granted"){vt.next=16;break}return O.info("consent granted"),vt.next=5,$(Xe,Ce);case 5:if(Re=vt.sent,!Re.canInitialize){vt.next=14;break}if(nt=C(),!nt){vt.next=12;break}nt("restart"),vt.next=14;break;case 12:return vt.next=14,ge({initOptions:Le,readyCallback:Ue,isEligible:Xe,consentMode:ht});case 14:vt.next=17;break;case 16:ce==="consent-revoked"&&(O.info("consent revoked"),ae(function(){O.info("Shutdown reason: user revoked consent.")}));case 17:case"end":return vt.stop()}},rt)}));return function(rt){return mt.apply(this,arguments)}}());case 21:case"end":return Bt.stop()}},He)}));return function(ye){return Ke.apply(this,arguments)}}(),Be=function(){var He=M();if(He.initialized)return C();O.warn("FullStory is not initialized. Call initialize() first.")}},549193:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TaskType=l.SurfaceArea=l.GuideType=l.DerivedTaskType=l.Achievement=void 0;var e;(function(i){i.ADDED_DONATION_BLOCK="ADDED_DONATION_BLOCK",i.COMMERCE_MEMBERSHIPS_SIGN_UP_BLOCK_CONNECTED="COMMERCE_MEMBERSHIPS_SIGN_UP_BLOCK_CONNECTED",i.PRODUCT_SAVED="PRODUCT_SAVED"})(e||(l.Achievement=e={}));var r;(function(i){i.ADD_DIGITAL_PRODUCT="ADD_DIGITAL_PRODUCT",i.ADD_FAVICON="ADD_FAVICON",i.ADD_FULFILLMENT_METHOD="ADD_FULFILLMENT_METHOD",i.CONNECT_PAYMENT_PROCESSOR="CONNECT_PAYMENT_PROCESSOR",i.CREATE_GIFT_CARD="CREATE_GIFT_CARD",i.ENABLE_CART_RECOVERY="ENABLE_CART_RECOVERY",i.ENABLE_PRODUCT_WAITLISTS="ENABLE_PRODUCT_WAITLISTS"})(r||(l.DerivedTaskType=r={}));var o;(function(i){i.DISCOVER_WEBSITE_SETUP="DISCOVER_WEBSITE_SETUP",i.HOLIDAY_GAIN_NEW_CUSTOMERS="HOLIDAY_GAIN_NEW_CUSTOMERS",i.HOLIDAY_INCREASE_CONVERSION_RATE="HOLIDAY_INCREASE_CONVERSION_RATE",i.REGISTRATION_SELLERS="REGISTRATION_SELLERS",i.SETUP_CONTENT_AND_MEMBERSHIPS="SETUP_CONTENT_AND_MEMBERSHIPS",i.SETUP_DONATIONS="SETUP_DONATIONS",i.SETUP_INVOICING="SETUP_INVOICING",i.SETUP_PHYSICAL_STORE="SETUP_PHYSICAL_STORE",i.SETUP_SCHEDULING="SETUP_SCHEDULING",i.SETUP_SEO="SETUP_SEO",i.SETUP_SEO_AND_AIO="SETUP_SEO_AND_AIO",i.SETUP_SERVICES_STORE="SETUP_SERVICES_STORE",i.WEBSITE_ESSENTIALS="WEBSITE_ESSENTIALS"})(o||(l.GuideType=o={}));var n;(function(i){i.CONTENT_AND_MEMBERSHIPS="CONTENT_AND_MEMBERSHIPS",i.DONATIONS="DONATIONS",i.INVOICING="INVOICING",i.PRODUCTS_AND_SERVICES="PRODUCTS_AND_SERVICES",i.SEO_DASHBOARD="SEO_DASHBOARD",i.SETUP_GUIDE="SETUP_GUIDE",i.HOME_DASHBOARD="HOME_DASHBOARD"})(n||(l.SurfaceArea=n={}));var a;(function(i){i.ADD_CONTACT_FORM="ADD_CONTACT_FORM",i.ADD_DIGITAL_PRODUCT="ADD_DIGITAL_PRODUCT",i.ADD_EXPERIENCE="ADD_EXPERIENCE",i.ADD_FAVICON="ADD_FAVICON",i.ADD_FULFILLMENT_METHOD="ADD_FULFILLMENT_METHOD",i.ADD_GROUP_EVENT="ADD_GROUP_EVENT",i.ADD_LOGO_OR_EDIT_SITE_TITLE="ADD_LOGO_OR_EDIT_SITE_TITLE",i.ADD_PAGES_WITH_SECTIONS_AND_BLOCKS="ADD_PAGES_WITH_SECTIONS_AND_BLOCKS",i.ADD_PHYSICAL_PRODUCT="ADD_PHYSICAL_PRODUCT",i.ADD_PRODUCT_OR_SERVICES="ADD_PRODUCT_OR_SERVICES",i.ADD_SCHEDULING_PAGE="ADD_SCHEDULING_PAGE",i.ADD_FAQ_PAGE="ADD_FAQ_PAGE",i.ADD_SERVICE_PRODUCT="ADD_SERVICE_PRODUCT",i.ATTACH_PRICING_PLAN="ATTACH_PRICING_PLAN",i.BUY_DOMAIN="BUY_DOMAIN",i.CONNECT_GOOGLE_SEARCH_CONSOLE="CONNECT_GOOGLE_SEARCH_CONSOLE",i.CONNECT_PAYMENT_PROCESSOR="CONNECT_PAYMENT_PROCESSOR",i.CREATE_GIFT_CARD="CREATE_GIFT_CARD",i.CREATE_GIVING_PAGE="CREATE_GIVING_PAGE",i.CREATE_INVOICE="CREATE_INVOICE",i.CREATE_RECURRING_SERIES="CREATE_RECURRING_SERIES",i.CUSTOMIZE_CHECKOUT="CUSTOMIZE_CHECKOUT",i.CUSTOMIZE_PAYWALL="CUSTOMIZE_PAYWALL",i.CUSTOMIZE_RECEIPT="CUSTOMIZE_RECEIPT",i.CUSTOMIZE_SITE_LOOK_AND_FEEL="CUSTOMIZE_SITE_LOOK_AND_FEEL",i.DOWNLOAD_SCHEDULING_APP="DOWNLOAD_SCHEDULING_APP",i.EDIT_SEO="EDIT_SEO",i.ENABLE_CART_RECOVERY="ENABLE_CART_RECOVERY",i.ENABLE_PRODUCT_WAITLISTS="ENABLE_PRODUCT_WAITLISTS",i.EXPLORE_AIO_RESOURCES="EXPLORE_AIO_RESOURCES",i.EXPLORE_SCHEDULING="EXPLORE_SCHEDULING",i.HOLIDAY_2024_CREATE_DISCOUNT="HOLIDAY_2024_CREATE_DISCOUNT",i.HOLIDAY_2024_CREATE_GIFT_WRAPPING_ADDON="HOLIDAY_2024_CREATE_GIFT_WRAPPING_ADDON",i.HOLIDAY_2024_VIEW_BLACK_FRIDAY_PLAYBOOK="HOLIDAY_2024_VIEW_BLACK_FRIDAY_PLAYBOOK",i.PUBLISH_SITE="PUBLISH_SITE",i.READ_SEO_CHECKLIST="READ_SEO_CHECKLIST",i.SUBSCRIBE="SUBSCRIBE"})(a||(l.TaskType=a={}))},534246:function(b,l,e){"use strict";var r=this&&this.__createBinding||(Object.create?function(n,a,i,c){c===void 0&&(c=i);var u=Object.getOwnPropertyDescriptor(a,i);(!u||("get"in u?!a.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,c,u)}:function(n,a,i,c){c===void 0&&(c=i),n[c]=a[i]}),o=this&&this.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&r(a,n,i)};Object.defineProperty(l,"__esModule",{value:!0}),o(e(549193),l)},797057:function(){YUI.add("@sqs/layout-engine/aspect-ratio-manager",function(b){var l=b.Base.create("AspectRatioManager",b.Base,[],{initializeBlock:function(e,r){var o=r;b.Lang.isObject(o)&&(o=o.aspectRatio),b.Lang.isValue(o)&&(e.addClass("sqs-intrinsic"),e.setStyle("paddingBottom",o+"%"),e.one("> div")&&e.one("> div").addClass("sqs-intrinsic-content"))},destroyBlock:function(e){var r=e.one(".sqs-intrinsic");r&&(r.removeClass("sqs-intrinsic"),r.setStyle("padding-bottom",null),r.one(".sqs-intrinsic-content")&&r.one(".sqs-intrinsic-content").removeClass("sqs-intrinsic-content"))},initAllBlocks:function(){var e=b.all(".sqs-block[data-aspect-ratio]:not(.sqs-block-image)");e.each(function(r){b.SQS.LayoutEngine.AspectRatioManager.initializeBlock(r.one(".sqs-block-content"),b.JSON.parse(r.getAttribute("data-aspect-ratio")))},this)}});b.namespace("SQS.LayoutEngine"),b.SQS.LayoutEngine.AspectRatioManager=new l,b.config.win.Squarespace&&b.config.win.Squarespace.onInitialize&&b.config.win.Squarespace.onInitialize(b,b.SQS.LayoutEngine.AspectRatioManager.initAllBlocks)},"1.0",{requires:["base"]})},84687:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(424546),o=e.n(r);function n(a,i,c,u){var f=a.getDOMNode?a.getDOMNode():a;return c||(f=f&&f.parentElement),f?o()(f,i,u):null}},609794:function(){YUI.add("squarespace-anim-raf",function(b){var l=b.config.win,e=l.requestAnimationFrame,r=l.cancelAnimationFrame||l.cancelRequestAnimationFrame,o=["moz","webkit"],n;for(n=0;n<o.length&&!e;n++)e=l[o[n]+"RequestAnimationFrame"],r=l[o[n]+"CancelAnimationFrame"]||l[o[n]+"CancelRequestAnimationFrame"];if(r&&e){var a=null;b.Anim._startTimer=function(){a||(a=e(b.Anim._runAnimFrame))},b.Anim._stopTimer=function(){a&&(r(a),a=null)},b.Anim._runAnimFrame=function(){a&&(a=e(b.Anim._runAnimFrame),b.Anim._runFrame())}}},"1.0",{requires:["anim"]})},476008:function(){YUI.add("squarespace-animations",function(b){b.namespace("Squarespace.Animations");var l="display-status-",e="-plugged",r="shown",o="hidden";b.Squarespace.Animations.Expandable=b.Base.create("expandable",b.Plugin.Base,[],{initializer:function(n){this.doBefore("show",this.open),this.doBefore("hide",this.close),this._running=!1},close:function(n){var a=this.get("host"),i=this.get("easing"),c=this.get("duration"),u,f;return n=a.inDoc()?n:!0,a.fire("close"),n?this._hardClose():this._running||(this._running=!0,a.wrap('<div class="expandable-plugin-wrapper"></div>'),f=a.ancestor(".expandable-plugin-wrapper"),f.setStyles({overflow:"hidden",height:a.get("offsetHeight")}),this._closeWrapper=f,u=new b.Anim({node:f,to:{height:0},easing:i,duration:c}),u.on("end",function(){a.inDoc()&&(a.setStyles({height:0,overflow:"hidden",display:"none"}),a.unwrap(),a.addClass("expandable-hidden")),this._running=!1,a.fire("closed")},this),this._closeAnim=u,u.run()),new b.Do.Prevent("Expandable prevented default hide.")},_hardClose:function(){var n=this.get("host");n.setStyles({height:0,overflow:"hidden",display:"none"}),n.addClass("expandable-hidden"),n.fire("closed")},_hardOpen:function(){var n=this.get("host");n.setStyles({height:null,display:null}),n.removeClass("expandable-hidden"),n.fire("opened")},open:function(n){var a=this.get("host"),i=this.get("easing"),c=this.get("duration"),u,f,d,h;return n=a.inDoc()?n:!0,a.fire("open"),n?this._hardOpen():this._running||(this._running=!0,a.getComputedStyle("display")==="none"&&a.setStyle("display",null),d=a.cloneNode(!0),d.setStyles({height:"auto",visibility:"hidden",display:null,position:"absolute",width:a.get("offsetWidth")}),a.insert(d,"before"),f=d.get("offsetHeight")+parseInt(d.getComputedStyle("marginTop"),10)+parseInt(d.getComputedStyle("marginBottom"),10),d.remove(!0),a.wrap('<div class="expandable-plugin-wrapper"></div>'),h=a.ancestor(".expandable-plugin-wrapper"),h.setStyles({overflow:"hidden",height:0}),a.setStyles({height:null,overflow:null}),this._openWrapper=h,u=new b.Anim({node:h,to:{height:f},easing:i,duration:c}),u.on("end",function(){var g=this.get("host");g&&(this._running=!1,g.unwrap(),g.removeClass("expandable-hidden"),g.fire("opened"))},this),this._openAnim=u,u.run()),new b.Do.Prevent("Expandable prevented default show.")},destructor:function(){this._closeWrapper&&this._closeWrapper.remove(!0),this._openWrapper&&this._openWrapper.remove(!0),this._openAnim&&this._openAnim.stop().destroy(),this._closeAnim&&this._closeAnim.stop().destroy()}},{NS:"expandablePlugin",ATTRS:{duration:{value:.3,validator:b.Lang.isNumber},easing:{value:b.Easing.easeOutStrong}}}),b.Squarespace.Animations.Fadeable=b.Base.create("fadeable",b.Plugin.Base,[],{initializer:function(n){this.beforeHostMethod("show",this.show),this.beforeHostMethod("hide",this.hide),this.get("host").addClass(this.name+e),this._onlyUseOpacity=n.onlyUseOpacity===void 0?!1:n.onlyUseOpacity,this._running=!1},destructor:function(){this._anim&&this._anim.stop().destroy(),this.get("host").removeClass(this.name+e)},show:function(n){return this._changeVisibility(!0,n)},hide:function(n){return this._changeVisibility(!1,n)},_changeVisibility:function(n,a){var i=this.get("host");return a=i.inDoc()?a:!0,n&&i.removeClass(l+"hidden"),a?this._hardChangeVisibility(n):(this._anim&&(this._anim.stop().destroy(),this._anim=null),n&&i.getComputedStyle("display")==="none"&&i.setStyle("display",null),this._anim=new b.Anim({node:i,to:{opacity:n?this.get("opacity"):0},easing:this.get("easing"),duration:this.get("duration")}),this._anim.onceAfter("end",function(){this._hardChangeVisibility(n),this._running=!1,!n&&!this._onlyUseOpacity&&i.getDOMNode()&&i.setStyle("display","none"),i.fire(n?"shown":"hidden"),delete this._anim},this),this._anim.run()),new b.Do.Prevent("Fadeable prevented default "+(n?"show":"hide")+" and used its own.")},_hardChangeVisibility:function(n){var a=this.get("host");n||a.addClass(l+"hidden"),a.setStyles({opacity:n?this.get("opacity"):0}),this._anim=null,a.fire(n?r:o)}},{NS:"fadeablePlugin",ATTRS:{duration:{value:.3,validator:b.Lang.isNumber},easing:{value:b.Easing.easeOutStrong},opacity:{value:1}}}),b.Squarespace.Animations.Scalable=b.Base.create("scalable",b.Plugin.Base,[],{initializer:function(n){this.doBefore("show",this.show),this.doBefore("hide",this.hide),this._running=!1},show:function(n){return this._changeVisibility(!0,n)},hide:function(n){return this._changeVisibility(!1,n)},_changeVisibility:function(n,a){var i=this.get("host"),c=this.get("duration");if(this.fire(n?"show":"hide"),i.fire(n?"show":"hide"),n&&i.removeClass("sqs-scalable-hidden"),a=i.inDoc()?a:!0,a)this._hardChangeVisibility(n),n||i.addClass("sqs-scalable-hidden");else if(!this._running){this._running=!0;var u=!1,f=b.bind(function(){u||(u=!0,i.getDOMNode()&&(this._running=!1,n||i.addClass("sqs-scalable-hidden"),this.fire(n?r:o),i.fire(n?r:o)))},this);i.setStyles({transition:["opacity "+c+"s ease-out","visibility "+c+"s ease-out","transform "+c+"s ease-out"].join(", ")}),b.config.win.setTimeout(function(){i&&(n?i.setStyles({opacity:1,visibility:"visible",transform:"scale(1)"}):i.setStyles({opacity:0,visibility:"hidden",transform:"scale(0.94)"}))},1),b.config.win.setTimeout(function(){f()},1e3*c)}return new b.Do.Prevent("Scalable prevented default "+(n?"show":"hide")+" and used its own.")},_hardChangeVisibility:function(n){var a=this.get("host"),i=!!(this.get("host").getDOMNode().style.transitionDuration||b.DOM.CUSTOM_STYLES.transitionDuration);i?a.setStyles({visibility:n?"visible":"hidden",opacity:n?1:0,transform:"scale("+(n?"1":"0.94")+")"}):a.setStyles({visibility:n?"visible":"hidden",opacity:n?1:0}),a.fire(n?r:o)}},{NS:"scalablePlugin",ATTRS:{duration:{value:.3,validator:b.Lang.isNumber},easing:{value:b.Easing.easeOutStrong},opacity:{value:1}}})},"1.0",{requires:["anim","anim-easing","base","plugin","transition"]})},399296:function(){YUI.add("squarespace-anims",function(b){b.namespace("Squarespace");function l(e){l.superclass.constructor.apply(this,arguments)}b.Squarespace.Anims=b.extend(l,b.Base,{initializer:function(){this._items=[]},destructor:function(){var e=[];this.each(function(r){e.push(r)}),b.Array.each(e,function(r){r.get("running")&&r.stop(!1),r.destroy()}),b.detach(this.get("id")+"|*")},add:function(e){if(!e.get("node"))throw new Error(this.name+": Animation doesn't specify a node");e.on(this.get("id")+"|end",function(r){this.remove(e)},this),this._items.push(e)},remove:function(e){if(b.Lang.isNumber(e))return this._items.splice(e,1);var r=this._items.indexOf(e);if(r!==-1)return this._items.splice(this._items.indexOf(e),1)}},{NAME:"anims"}),b.augment(l,b.ArrayList)},"1.0",{requires:["arraylist","base","base-build"]})},654618:function(){YUI.add("squarespace-attr-validators",function(b){b.namespace("Squarespace");function l(r,o,n,a){if(0)var i}var e=b.Squarespace.AttrValidators={isBoolean:function(r,o){return b.Lang.isBoolean(r)?!0:(l.call(this,"boolean",r,o),!1)},isNumber:function(r,o){return b.Lang.isNumber(r)?!0:(l.call(this,"number",r,o),!1)},isString:function(r,o){return b.Lang.isString(r)?!0:(l.call(this,"string",r,o),!1)},isNonArrayObject:function(r,o){return b.Lang.isArray(r)?(l.call(this,"Array",r,o,"[{attrName}] Validation Error: Expected {expectedVal}, got Array instead."),!1):b.Lang.isObject(r)?!0:(l.call(this,"Object",r,o),!1)},isObject:function(r,o){return b.Lang.isObject(r)?!0:(l.call(this,"Object",r,o),!1)},isArray:function(r,o){return b.Lang.isArray(r)?!0:(l.call(this,"Array",r,o),!1)},isFunction:function(r,o){return b.Lang.isFunction(r)?!0:(l.call(this,"Function",r,o),!1)},isNode:function(r,o){return b.instanceOf(r,b.Node)?!0:(l.call(this,"Node",r,o),!1)},isNodeList:function(r,o){return b.instanceOf(r,b.NodeList)?!0:(l.call(this,"NodeList",r,o),!1)},isNullOr:function(r){return b.Lang.isFunction(r)?function(o,n){return b.Lang.isNull(o)?!0:r(o,n)}:(console.error("The validator function argument is required."),!1)},isInstanceOf:function(r){return r?b.Lang.isString(r)?(r=r.split("."),function(o,n){return o instanceof b.Squarespace.Damask.ContextGlobals.fromTop(r)||o instanceof b.Squarespace.Damask.ContextGlobals.fromFrame(r)?!0:(l.call(this,r.join("."),o,n,"[{attrName}] Validation Error: {actualVal} is not an instance of {expectedVal}."),!1)}):function(o,n){return o instanceof r?!0:(l.call(this,r,o,n,"[{attrName}] Validation Error: {actualVal} is not an instance of {expectedVal}."),!1)}:!1},isExtensionOf:function(r){return b.Lang.isFunction(r)?function(o,n){var a=b.Lang.isFunction(o.prototype._getClasses)&&o.prototype._getClasses();return a&&b.Array.indexOf(a,r)!==-1?!0:(l.call(this,r,o,n,"[{attrName}] Validation Error: {actualVal} is not an extension of the {expectedVal}."),!1)}:!1},isTypeOf:function(r){return r?function(o,n){return typeof o===r?!0:(l.call(this,r,o,n,'[{attrName}] Validation Error: {actualVal} is not of type "{expectedVal}".'),!1)}:!1},isValueIn:function(r){return b.Lang.isObject(r)?b.Lang.isArray(r)?function(o,n){return b.Array.indexOf(r,o)!==-1?!0:(l.call(this,r,o,n,"[{attrName}] Validation Error: {actualVal} is not a value in {expectedVal}"),!1)}:function(o,n){return b.Object.values(r).indexOf(o)!==-1?!0:(l.call(this,r,o,n,"[{attrName}] Validation Error: {actualVal} is not a value in {expectedVal}"),!1)}:!1}};e.isNullOrInstanceOf=function(r){return e.isNullOr(e.isInstanceOf(r))},e.isNullOrExtensionOf=function(r){return e.isNullOr(e.isExtensionOf(r))},e.isNullOrOfType=function(r){return e.isNullOr(e.isTypeOf(r))},e.isNullOrValueIn=function(r){return e.isNullOr(e.isValueIn(r))},e.isDate=e.isInstanceOf(Date),e.isNullOrString=e.isNullOr(e.isString),e.isNullOrDate=e.isNullOr(e.isDate),e.isNullOrBoolean=e.isNullOr(e.isBoolean),e.isNullOrNumber=e.isNullOr(e.isNumber),e.isNullOrObject=e.isNullOr(e.isObject),e.isNullOrNonArrayObject=e.isNullOr(e.isNonArrayObject),e.isNullOrArray=e.isNullOr(e.isArray),e.isNullOrFunction=e.isNullOr(e.isFunction),e.isNullOrNode=e.isNullOr(e.isNode),e.isNullOrNodeList=e.isNullOr(e.isNodeList)},"1.0",{requires:["squarespace-damask-context-globals"]})},484989:function(){YUI.add("squarespace-beforeunload",function(b){var l="gallery-dom0beforeunload",e=b.config.win.onbeforeunload;b.config.win.onbeforeunload=function(r){var o=r||b.config.win.event;e&&e(o);var n=new b.DOMEventFacade(o),a;if(b.fire(l,n),a=n.returnValue,a)return o.returnValue=a,a;b.config.win.onbeforeunload=e},b.Env.evt.plugins.beforeunload={on:function(r,o){var n=b.Array(arguments,0,!0);return n[0]=l,b.on.apply(b,n)}}},"1.0",{requires:[]})},960692:function(){YUI.add("squarespace-browser-patches",function(b){if(b.Base){if(b.Color){var l=b.Color.toRGB;b.Color.re_RGBA=/^rgba\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+),\s*(\d+(?:\.\d+)?)\)$/i,b.Color.toRGB=function(n){return b.Color.re_RGBA.exec(n)?"rgb("+RegExp.$1+","+RegExp.$2+","+RegExp.$3+")":l(n)}}b.SQSAnim=b.Base.create("SQSAnim",b.Anim,[],{run:function(){return this.get("destroyed")||this.get("node")._node===null||!this.get("node").inDoc()?(this.fire("end"),this):b.Anim.prototype.run.call(this)}});var e=function(n,a,i,c){return n/=c/2,n<1?i/2*n*n*n+a:(n-=2,i/2*(n*n*n+2)+a)};b.augment(b.Node,Class.create({anim:function(n,a,i){return a=b.merge({node:this,duration:.5,easing:e,to:n},a),this.activeAnim&&this.activeAnim.stop(!0),this.activeAnim=new b.SQSAnim(a),this.activeAnim.on("end",function(){delete this.activeAnim},this),a.end&&this.activeAnim.on("end",a.end,i||a.context),a.start&&this.activeAnim.on("start",a.start,i||a.context),this.nodedestroynotifier||this.plug(b.Squarespace.NodeDestroyNotifier,{onDestroy:function(){this.activeAnim&&this.activeAnim.stop(!0)},context:this}),this.activeAnim},getAdjustedDimensions:function(n){var a=this;n||(n={}),n.scale||(n.scale="cover"),n.align||(n.align="center");var i=a.get("parentNode"),c=this.getAttribute("data-image-dimensions"),u,f;if(c)c=c.split("x"),c={width:parseInt(c[0],10),height:parseInt(c[1],10)},u=c.width,f=c.height;else{!a.getData("width")&&!a.getData("height")&&(a.setData("width",n&&n.width?parseInt(n.width,10):a.getAttribute("width")||a.get("offsetWidth")),a.setData("height",n&&n.height?parseInt(n.height,10):a.getAttribute("height")||a.get("offsetHeight")));var d=a.getData("width");typeof d=="string"&&d.indexOf("%")>0?u=i.get("offsetWidth")*(parseInt(d,10)/100):u=parseInt(a.getData("width"),10);var h=a.getData("height");typeof h=="string"&&h.indexOf("%")>0?f=i.get("offsetHeight")*(parseInt(h,10)/100):f=parseInt(a.getData("height"),10)}var g=n.containerWidth||i.get("offsetWidth")-(i.get("offsetWidth")-i.get("clientWidth")),_=n.containerHeight||i.get("offsetHeight")-(i.get("offsetHeight")-i.get("clientHeight")),p=u/f,y=g/_,O,P,C;n.scale&&i.getStyle("overflow")!=="hidden"&&i.setStyle("overflow","hidden"),n.sizeOnly?C=g/u:n.scale==="contain"?C=p>y?g/u:_/f:C=p>y?_/f:g/u;var A=u,S=f;return n.scale==="contain"?(A=u*C,S=f*C,O=S<_?(_-S)/2:0,P=A<g?(g-A)/2:0,n.align.indexOf("left")!==-1?P=0:n.align.indexOf("right")!==-1&&(P=g-A),n.align.indexOf("top")!==-1?O=0:n.align.indexOf("bottom")!==-1&&(O=_-S),A-=this.get("offsetWidth")-this.get("clientWidth"),S-=this.get("offsetHeight")-this.get("clientHeight")):n.scale==="cover"&&(A=u*C,S=f*C,O=S>_?(S-_)/-2:0,P=A>g?(A-g)/-2:0,n.focalPoint&&(P=Math.min(Math.max(g/2-A*n.focalPoint[0],g-A),0),O=Math.min(Math.max(_/2-S*n.focalPoint[1],_-S),0))),{top:O,left:P,width:A,height:S}},resizeToParent:function(n){var a=this.getAdjustedDimensions(n),i=this.getStyle("position");if(n.sizeOnly){this.setStyles({width:a.width,height:a.height});var c=this.one("embed");if(c&&this.one("embed").setStyles({width:a.width,height:a.height}),this.test("iframe")){var u=this.getAttribute("src");if(u)if(u.indexOf("?")!==-1){var f=u.split("?");f[1].indexOf("wmode=transparent")===-1&&this.setAttribute("src",f[0]+"?wmode=transparent&"+f[1])}else this.setAttribute("src",u+"?wmode=transparent")}c&&c.getAttribute("wmode")!=="transparent"&&this.one("embed").setAttribute("wmode","transparent")}else{var d=5;this.setStyles({position:i!=="relative"&&i!=="absolute"?"relative":i,top:a.top.toFixed(d),left:a.left.toFixed(d),width:a.width.toFixed(d),height:a.height.toFixed(d)})}},width:function(){return this.get("offsetWidth")},height:function(){return this.get("offsetHeight")},setWidth:function(n){this.setStyle("width",n)},setHeight:function(n){this.setStyle("height",n)}}));var r=["Webkit","Moz","O","ms"],o=["transition","transitionProperty","transitionDuration","transitionTimingFunction","transitionDelay","backfaceVisibility","userSelect","borderBottomLeftRadius","borderBottomRightRadius"];b.Array.each(r,function(n){b.Array.each(o,function(a){var i=n+a.charAt(0).toUpperCase()+a.slice(1);i in b.config.doc.documentElement.style&&(b.DOM.CUSTOM_STYLES[a]={set:function(c,u,f){f[i]=u,f[a]=u},get:function(c,u){b.DOM.getComputedStyle(c,i)}})})}),b.IO.prototype._destroy=function(n){b.config.win&&!n.notify&&!n.xdr&&(!n.upload&&n.c?n.c.onreadystatechange=null:n.upload&&(n.c.upload.onprogress=null,n.c.onload=null,n.c.onerror=null)),n=n.c=null}}},"1.0",{requires:["anim","base","event","io","json","jsonp","node","node-event-delegate","plugin","promise","querystring","selector","squarespace-anim-raf","squarespace-data","squarespace-dom-emitters-resize","squarespace-logger","squarespace-plugin-node-destroy-notifier","squarespace-public-api","squarespace-system-error","squarespace-ui-base","yui-later"]})},162995:function(b,l,e){"use strict";var r=e(994336),o=e.n(r),n=e(704602),a=e.n(n),i=e(500233),c=e.n(i),u=e(667735),f=e.n(u),d=e(714487),h=e(979221),g=e(746429),_=e(554468),p=e(461761),y=e.n(p),O=e(861288),P=e.n(O),C=e(985913);YUI.add("squarespace-commerce-utils",function(A){A.namespace("Squarespace"),A.Squarespace.Commerce={COMMERCE_DATE_TIME_FORMAT:"lllLT",isExpressCheckout:function(){return Static.SQUARESPACE_CONTEXT.websiteSettings.storeSettings.expressCheckout},measurementStandard:function(){return A.Object.getValue(Static,["SQUARESPACE_CONTEXT","websiteSettings","storeSettings","measurementStandard"])},weightUnit:function(){return this.measurementStandard()===a().IMPERIAL?"lbs":"kg"},dimensionUnit:function(){return this.measurementStandard()===a().IMPERIAL?'"':"cm"},maxes:function(){return{productPrice:1e8,skuStringLength:60}},goToCheckoutPage:function(){if(!(o().get("hasCart")==="true"||A.Lang.isValue(o().get("CART")))){alert((0,d.t)("Either your session has expired or you do not have cookies enabled. We cannot continue to checkout.",null,{project:"scripts-v6-root"}));return}window.top.location="/commerce/goto-checkout"},goToSubscriptionPage:function(S){S&&(window.top.location="/checkout/subscribe?cartToken="+S)},goToDonatePage:function(S){var T="/checkout/donate?donatePageId="+S;(0,C.F)(A)?window.top.location=T:window.location=T},goToGiftCardPage:function(S,T){S=encodeURIComponent(S);var s=T?encodeURIComponent(T.sku):null,v=Static.SQUARESPACE_CONTEXT.website.id,m="/checkout/giftcard?websiteId="+v+"&giftCardProductId="+S+(T?"&sku="+s:"");(0,C.F)(A)?window.top.location=m:window.location=m},isValidUSZip:function(S){return/^\d{5}$/.test(S)},variantFormat:function(S,T){for(var s=[],v=S.optionValues,m=0;m<v.length;m++){var E=v[m].value;s.push(T?E:A.Escape.html(E))}return s.join(" / ")},moneyString:function(S,T){var s=_.Z.getStoreCurrency(),v=(0,g.Wy)(S,s),m={trimZeroFractions:T};return h.h.formatter.format(v,m)},priceString:function(S){var T=this.normalPrice(S),s=S.structuredContent;switch(s.productType){case c().PHYSICAL:case c().SERVICE:return this.onSale(S)?this.variedPrices(S)?(0,d.t)("from {startingPrice}",{startingPrice:this.moneyString(this.fromPrice(S))},{project:"scripts-v6-root"}):this.moneyString(this.salePrice(S))+' <span class="original-price">'+this.moneyString(T)+"</span>":this.variedPrices(S)?(0,d.t)("from {startingPrice}",{startingPrice:this.moneyString(this.fromPrice(S))},{project:"scripts-v6-root"}):this.moneyString(T);case c().DIGITAL:return this.onSale(S)?this.moneyString(this.salePrice(S))+' <span class="original-price">'+this.moneyString(T)+"</span>":this.moneyString(T);case c().GIFT_CARD:return this.variedPrices(S)?(0,d.t)("from {startingPrice}",{startingPrice:this.moneyString(T)},{project:"scripts-v6-root"}):this.moneyString(T);default:break}},isFiniteSubscriptionPlan:function(S){return!!Number(S.numBillingCycles)},merchantSubscriptionDetailsString:function(S){if(!S)return"";var T=S.billingPeriod.value,s=S.billingPeriod.unit.toLowerCase()+"ly",v=this.isFiniteSubscriptionPlan(S);if(v)var m=S.numBillingCycles;return y()({"magnitude == 1":{weekly:{indefinite:(0,d.t)("renews every week",null,{project:"scripts-v6-root"}),finite:(0,d.t)("renews every week for {p} payments",{p:m},{project:"scripts-v6-root"})},monthly:{indefinite:(0,d.t)("renews every month",null,{project:"scripts-v6-root"}),finite:(0,d.t)("renews every month for {p} payments",{p:m},{project:"scripts-v6-root"})},yearly:{indefinite:(0,d.t)("renews every year",null,{project:"scripts-v6-root"}),finite:(0,d.t)("renews every year for {p} payments",{p:m},{project:"scripts-v6-root"})}},"magnitude > 1":{weekly:{indefinite:(0,d.t)("renews every {n} weeks",{n:T},{project:"scripts-v6-root"}),finite:(0,d.t)("renews every {n} weeks for {p} payments",{n:T,p:m},{project:"scripts-v6-root"})},monthly:{indefinite:(0,d.t)("renews every {n} months",{n:T},{project:"scripts-v6-root"}),finite:(0,d.t)("renews every {n} months for {p} payments",{n:T,p:m},{project:"scripts-v6-root"})},yearly:{indefinite:(0,d.t)("renews every {n} years",{n:T},{project:"scripts-v6-root"}),finite:(0,d.t)("renews every {n} years for {p} payments",{n:T,p:m},{project:"scripts-v6-root"})}}},[T===1?"magnitude == 1":"magnitude > 1",s,v?"finite":"indefinite"])},getTotalStockRemaining:function(S){var T=S.structuredContent;if(T.productType===c().DIGITAL)return 1/0;for(var s=0,v=0;v<T.variants.length;v++){var m=T.variants[v];if(m.unlimited)return 1/0;s+=m.qtyInStock}return s},summaryFormFieldString:function(S){var T,s;A.Lang.isObject(S.values)&&(s=A.Array.reduce(A.Object.keys(S.values),{},function(F,G){return A.Object.setValue(F,G,A.Squarespace.Escaping.escapeForHtml(S.values[G]))}));function v(F){var G;switch(F){case"-2":G=(0,d.t)("Strongly Disagree",null,{project:"scripts-v6-root"});break;case"-1":G=(0,d.t)("Disagree",null,{project:"scripts-v6-root"});break;case"0":G=(0,d.t)("Neutral",null,{project:"scripts-v6-root"});break;case"1":G=(0,d.t)("Agree",null,{project:"scripts-v6-root"});break;case"2":G=(0,d.t)("Strongly Agree",null,{project:"scripts-v6-root"});break}return G}switch(S.type){case"name":T=s.First+" "+s.Last;break;case"phone":var m=s.Country;T="",m&&m!==""&&(T+="+"+m+" "),T+=s.Areacode+"-"+s.Prefix+"-"+s.Line;break;case"likert":T='<div style="padding-left:5px;">';for(var E in s){var I=s[E];T+='<div><span style="font-weight:bold;">'+E+":</span> "+v(I)+"</div>"}T+="</div>";break;case"address":T='<div style="padding-left:5px;"><div>'+s.Line1+"</div>";var L=s.Line2;L&&L!==""&&(T+="<div>"+L+"</div>"),T+="<div>"+s.City+", "+s.State+" "+s.Zip+" "+s.Country+"</div></div>";break;case"date":T=s.Month+"/"+s.Day+"/"+s.Year;break;case"time":T=(s.Hour||"00")+":"+(s.Minute||"00")+":"+(s.Second||"00")+" "+s.Ampm;break;case"checkbox":var W=S.value;!A.Lang.isValue(s)&&A.Lang.isValue(W)?s=[W]:A.Lang.isValue(s)&&(s=A.Object.values(s)),T=s.join(", ");break;default:T=A.Squarespace.Escaping.escapeForHtml(S.value);break}return T===""&&(T=(0,d.t)("N/A",null,{project:"scripts-v6-root"})),'<div style="margin-top:3px;"><span style="font-weight:bold;">'+S.rawTitle+":</span> "+T+"</div>"},hasVariants:function(S){var T=S.structuredContent;return T.productType!==c().DIGITAL&&T.variants.length>=1},variedPrices:function(S){var T=S.structuredContent;switch(T.productType){case c().PHYSICAL:case c().SERVICE:case c().GIFT_CARD:var s=T.variants;if(s.length<=1)return!1;for(var v=s[0],m=1;m<s.length;m++){var E=s[m];if(E.onSale!==v.onSale||v.onSale&&E.salePrice!==v.salePrice||E.price!==v.price)return!0}return!1;case c().DIGITAL:return!1}},onSale:function(S){var T=S.structuredContent;switch(T.productType){case c().PHYSICAL:case c().SERVICE:for(var s=T.variants,v=!1,m=0;m<s.length;m++){var E=s[m];if(E.onSale){v=!0;break}}return v;case c().DIGITAL:return T.onSale}},soldOut:function(S){var T=S.structuredContent;switch(T.productType){case c().PHYSICAL:case c().SERVICE:for(var s=T.variants,v=!0,m=0;m<s.length;m++){var E=s[m];if(E.unlimited||E.qtyInStock>0){v=!1;break}}return v;case c().DIGITAL:return!1}},normalPrice:function(S){var T=S.structuredContent,s=T.variants;switch(T.productType){case c().PHYSICAL:case c().SERVICE:if(s.length===0)return 0;for(var v=s[0].price,m=1;m<s.length;m++){var E=s[m].price;E>v&&(v=E)}return v;case c().DIGITAL:return A.Lang.isUndefined(T.priceCents)?0:T.priceCents;case c().GIFT_CARD:return s[0].price;default:break}},salePrice:function(S){var T=S.structuredContent;switch(T.productType){case c().PHYSICAL:case c().SERVICE:var s=T.variants;if(s.length===0)return 0;for(var v=null,m=0;m<s.length;m++){var E=s[m],I=E.salePrice;E.onSale&&(v===null||E.salePrice<v)&&(v=I)}return v;case c().DIGITAL:return A.Lang.isUndefined(T.salePriceCents)?0:T.salePriceCents}},fromPrice:function(S){var T=S.structuredContent;switch(T.productType){case c().PHYSICAL:case c().SERVICE:var s=T.variants;if(s.length===0)return 0;for(var v=s[0],m=v.onSale?v.salePrice:v.price,E=1;E<s.length;E++){var I=s[E],L=I.onSale?I.salePrice:I.price;L<m&&(m=L)}return m;case c().DIGITAL:return A.Lang.isUndefined(T.priceCents)?0:T.priceCents}},capitalizeFirst:function(S){S=S.toLowerCase();var T=S.split(new RegExp("\\s+")),s=A.Array.map(T,function(v){return v.charAt(0).toUpperCase()+v.substr(1)});return s.join(" ")},generateVariantId:function(){return P()()},generateSKU:function(){var S="",T="0123456789",s=function(){for(var v="",m=0;m<7;++m){var E=Math.floor(Math.random()*T.length);v+=T.charAt(E)}return"SQ"+v};return S=s(),S},getLabelForWorkflowState:function(S){switch(S){case f().PUBLISHED:return(0,d.t)("Available",null,{project:"scripts-v6-root"});case f().SCHEDULED:return(0,d.t)("Scheduled",null,{project:"scripts-v6-root"});case f().DRAFT:return(0,d.t)("Hidden",null,{project:"scripts-v6-root"});default:return(0,d.t)("Unsupported",null,{project:"scripts-v6-root"})}}}},"1.0",{requires:["escape","node","squarespace-escaping-utils"]})},743932:function(b,l,e){"use strict";var r=e(367915),o=e(153088),n=e(714487),a=e(869670);(0,a.U)(n.ZP);var i=e(914960),c=e(998402),u=e(793903),f=e(461761),d=e.n(f),h=e(860921),g=e.n(h),_=e(387582),p=e(965658),y=e(784874),O=e(823268),P=e.n(O),C=e(882450),A=e.n(C),S=e(141654),T=e.n(S),s=e(822054),v=e(118415),m=e(476086),E=e(59507),I=e.n(E),L=e(767665);function W(Xt){const Je=JSON.parse(Xt.getAttribute("data-blur")),At=JSON.parse(Xt.getAttribute("data-border-radii")),xt=Xt.getAttribute("data-blend-mode");(0,L.Hv)(Xt,I()[xt]),(0,L.O)(Xt,null,Je,At)}var F=e(353844),G=e(40500);const k=0,x="menu-select-labels--active";function M(Xt){const Je=[...Xt.querySelectorAll(".js-menu-select-labels")],At=Je.length;if(At===0)return;const xt=[...Xt.querySelectorAll(".js-menu")];function Qt(qt,Te){Je.forEach((Gt,un)=>{un===qt?(Gt.setAttribute("tabindex",0),Gt.setAttribute("aria-selected",!0),Gt.classList.add(x),Te&&Gt.focus()):(Gt.setAttribute("tabindex",-1),Gt.setAttribute("aria-selected",!1),Gt.classList.remove(x))}),xt.forEach((Gt,un)=>{un===qt?Gt.style.display="block":Gt.style.display="none"})}Qt(k,!1),Je.forEach((qt,Te)=>{qt.addEventListener("click",()=>{Qt(Te,!0)}),qt.addEventListener("keydown",Gt=>{Gt.keyCode===13||Gt.keyCode===32?(Gt.stopPropagation(),Qt(Te,!0)):Gt.keyCode===37?(Gt.stopPropagation(),Qt((Te-1+At)%At,!0)):Gt.keyCode===39&&(Gt.stopPropagation(),Qt((Te+1)%At,!0))})})}var B=e(226782),R=e(537312),U=e(968174),j=e(423394),$=e(942703),ee=e(673028),te=e.n(ee),ie=e(759352);function ne(Xt){const Je=Xt.one("a");if(!Je||Je.getAttribute("data-initialized"))return;const At=Je.get("parentNode"),Qt=Je.ancestor(".sqs-block-button").getAttribute("id"),qt=Je.getAttribute("href"),Te=Je.hasAttribute("target"),Gt=(0,ie.ID)(qt),un={id:Qt,buttonText:Je.get("innerHTML"),clickthroughUrl:qt,alignment:At.getAttribute("data-alignment"),size:At.getAttribute("data-button-size"),newWindow:Te,context:te().BUTTON_BLOCK};(0,R.TP)(un),Je.on("click",function(Vt){if(Je.hasAttribute("data-tracked")){Je.removeAttribute("data-tracked");return}const Dn=(!Te||Vt.metaKey||Vt.ctrlKey||Vt.shiftKey)&&!Gt;Dn&&(Vt.preventDefault(),Vt.stopImmediatePropagation()),(0,R.kO)(un).then(function(){Dn&&(Je.setAttribute("data-tracked",!0),Je.simulate("click"))})}),Je.setAttribute("data-initialized",!0)}const pe=ne;var oe=e(629539),q=e(76902),J=e(916661),me=e(689700),re=e(809468);const he=Xt=>!!Xt.getAttribute("data-loader"),Ee=(Xt,Je)=>{const At=Xt.one("img[data-image]");if(!At)return;const xt=At.loader,Qt={title:(0,n.t)("Image",null,{project:"src.shared"})};if(xt)Qt.content=xt.getBareElement();else if(he(At))Qt.content=At;else return;const qt=Xt.getAttribute("data-description");qt&&(Qt.meta=qt);const Te=Xt.getAttribute("data-lightbox-theme");Te&&(Qt.theme=Te),Xt.plug(Je.Squarespace.Lightbox2Plug,{lightboxOptions:Qt})},fe=(Xt,Je)=>{he(Xt)||Xt.setStyles({position:null,top:null,left:null,width:null,height:null});const At=!!Xt.ancestor(".sized,.content-fill");if(At){let Qt=Je.on("resize",function(){Xt.getDOMNode()&&Xt.inDoc()?Xt.fire("refresh"):(Qt.detach(),Qt=null)},Je.config.win);const qt=Xt.ancestor(".image-block-wrapper"),Te=Xt.ancestor(".sqs-layout");qt&&Te&&!Te.hasClass("editing")&&Xt.setStyles({maxWidth:"none"})}const xt=!!Xt.ancestor(".has-aspect-ratio");he(Xt)||Xt.plug(Je.Squarespace.Loader2,{mode:xt||At?"fill":"none",fixedRatio:xt})},z={initializeImageBlock:(Xt,Je)=>{fe(Xt,Je);const At=Xt.ancestor(".sqs-block");if(!At)return;const xt=At.one(".lightbox");if(xt&&Ee(xt,Je),!At.hasClass("sqs-block-image"))return;const Qt=Xt.getDOMNode();(0,me.OD)(Qt)&&((0,me.sZ)(Qt),re.Z.createImageEffect(Qt));let qt=!1;const Te=At.one(".image-block-outer-wrapper");if(Te){const un=Te.get("offsetWidth")<415;Te.toggleClass("sqs-narrow-width",un),un&&(qt=!0)}const Gt=At.one(".sqs-dynamic-text-container");Gt&&(0,q.Z)(Gt.getDOMNode()),At.addClass("sqs-text-ready"),!he(Xt)&&qt&&(J.Z.isSevenOne()&&Je.config.win.ImageLoader.loadLazy?Je.config.win.ImageLoader.loadLazy:Je.config.win.ImageLoader.load).bind(Je.config.win.ImageLoader)(Xt)},initializeBasicBlockWithImage:fe},_e=(Xt,Je)=>{const At=Je.config.win;At.Squarespace.onInitialize(Je,function(){const xt=At.SQUARESPACE_LOGIN&&At.SQUARESPACE_LOGIN.isLoggedIn(),Qt=Je.config.doc.location.protocol==="https:",qt=Xt.one(".OT_Faux_Block"),Te=Xt.one("#OT_form:not(.OT_Faux_Block)");function Gt(){Te&&Te.remove(),qt.removeClass("sqs-block-opentable-hidden")}xt?(Gt(),qt.all(".OT_list li").removeClass("sqs-block-opentable-hidden"),qt.on("click",function(un){un.preventDefault(),Je.Squarespace.Widgets.Alert({"strings.title":"Preview Only","strings.message":"Please log out of your Squarespace account in order to use the OpenTable Block."})})):(At.Squarespace.SQUARESPACE_INITIALIZED_ONCE||Qt)&&Gt()}),At.Squarespace.onDestroy(Je,function(){Je.one("#ui-datepicker-div")&&Je.one("#ui-datepicker-div").hide()})};var ae=e(865206),ge=e(960970),Be=e(623040),Ke=e(91258);function He(Xt,Je){Xt.getDOMNode&&(Xt=Xt.getDOMNode());let At;try{At=JSON.parse(Xt.getAttribute("data-block-json"))}catch(xt){return console.warn("Issue with decoding the JSON: ",xt),Promise.reject()}return(0,Ke.O)({blockWidgetJson:{type:Je,id:Xt.getAttribute("id").replace("block-",""),value:At}}).then(xt=>{let{html:Qt}=xt;const qt=Xt.querySelector(".sqs-block-content");qt&&Qt&&(qt.innerHTML=Qt)})}var ye=e(502397),Le=e(649297),Ue=e(896093),Xe=e(555827),Fe=e.n(Xe),ht=e(750438),Ne=e(687808),Ce=e(3841),we=e(651961);const $e="sqs-background-enabled";function Ot(Xt){const Je=Xt.closest(".sqs-block-html");if(!Je)return;const At=Je.querySelector(".TextAttributes-props");if(!At)return;const xt=At!=null&&At.textContent?JSON.parse(At.textContent):{};return Fe()(xt,"id")}function Pt(Xt){var Je;const xt=Xt.closest(".sqs-block-html").classList.contains($e),Qt=Ot(Xt),qt=Xt.getAttribute("data-text-attribute-id");let Te=Qt==null||(Je=Qt[qt])===null||Je===void 0?void 0:Je.color;if((Te==null?void 0:Te.type)===we.dd.THEME_COLOR){let un="--text-highlight-color";return xt&&(un="--text-highlight-color-on-background"),`var(${un})`}else{if((Te==null?void 0:Te.type)===we.dd.SITE_PALETTE_COLOR)return`hsla(var(--${Te.sitePaletteColor.colorName}-hsl),${Te.sitePaletteColor.alphaModifier})`;if((Te==null?void 0:Te.type)===we.dd.CUSTOM_COLOR){var Gt;return!((Gt=Te.customColor)===null||Gt===void 0)&&Gt.hslaValue&&(Te=(0,Ne.di)(Te)),(0,Ce.stringifyPaletteColorValue)(Te.customColor)}}}function Ie(Xt){if(!Xt)return;const Je=Ot(Xt),At=Pt(Xt),xt=Xt.getAttribute("data-text-attribute-id");if(Je&&At)Je[xt].color=At;else return;const Qt=Xt.closest(".sqs-block-content");return new ht.Z(Xt,Je,Qt)}function Bt(Xt){if(!Xt.node)return;const Je=Pt(Xt.node);Xt.onStateChange({color:Je})}var mt=e(630459);function rt(Xt){(0,mt.z6)(Xt)}var ce=e(175918),Re=e(528215),nt=e(985913),st=e(684353),vt=e(72664),ze=e(792105),It=e(478278),on=e(304212),Pn=e(673951);function Yn(Xt){try{const Je=Xt.top!==Xt,At=d()(Xt,"top.YUI.Env",!1);return Je&&At}catch{}return!1}function Ln(Xt){return Xt.top.Static.SQUARESPACE_CONTEXT}function bn(Xt){if(!(Pn.pe||Yn(Xt)))return;Xt.YUI.Env.globalEvents=Xt.top.YUI.Env.globalEvents;const At=d()(Xt,"StaticActions.bootstrap",null);if(!At)return;const xt=Ln(Xt);At(xt)}const ir=[".image-block-v2 .sqs-dynamic-text-container"].join(",");function Zn(){let Xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window,Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ir;[...Xt.document.querySelectorAll(Je)].forEach(At=>(0,q.Z)(At))}const $n=(Xt,Je)=>{if(!Xt)return;const At=Xt.getAttribute("data-block-json");if(At){const xt=Je.JSON.parse(At);xt&&xt.providerName!=="Twitter"&&Xt.get("children").each(Qt=>Qt.resizetoparent({sizeonly:!0}))}Xt.setStyles({visibility:"visible",opacity:1,height:"auto"})},Rn=(Xt,Je,At)=>{const xt=Xt.one(".sqs-block-content");if(!xt)return;if((0,ie.N$)(xt),xt.test(".sqs-block-video .sqs-block-content")){const Te=xt.one(".sqs-video-wrapper");Te&&At.Squarespace.initializeVideoBlock(Te,Je);return}xt.one(".intrinsic")||$n(xt,Je)};function jn(Xt){Xt.Static.SQUARESPACE_CONTEXT.collection&&(Xt.Static.SQUARESPACE_CONTEXT.collectionId=Xt.Static.SQUARESPACE_CONTEXT.collection.id),Xt.Static.SQUARESPACE_CONTEXT.item&&(Xt.Static.SQUARESPACE_CONTEXT.itemId=Xt.Static.SQUARESPACE_CONTEXT.item.id)}const Tn=[],Nn=[],cn=(Xt,Je)=>{Tn.map(At=>At.toString()).indexOf(Je.toString())===-1&&(Xt.config.win.Squarespace.INITIALIZED&&Je(),Tn.push(Je))},or=(Xt,Je)=>{Nn.map(At=>At.toString()).indexOf(Je.toString())===-1&&Nn.push(Je)},qn=Xt=>{Xt.config.win.Squarespace.INITIALIZED||(Tn.forEach(Je=>{try{Je()}catch(At){console.error("[mercury.markReady] Error invoking initializer.",At)}}),Xt.config.win.Squarespace.INITIALIZED=!0,Xt.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE=!0)},Hr=Xt=>{Xt.config.win.Squarespace.INITIALIZED&&(Xt.config.win.Squarespace.INITIALIZED=!1,Nn.forEach(Je=>Je()))},fo=Xt=>{Xt.Squarespace=Xt.Squarespace||{},Xt.Squarespace.onInitialize=cn,Xt.Squarespace.onDestroy=or,Xt.Squarespace.globalMarkReady=qn,Xt.Squarespace.globalDestroy=Hr},Jr=/Trident.*rv[ :]*11\./.test(navigator.userAgent);window.Common=function(Je){if(Je.COMMON_ALREADY_RAN){console.warn("Detected second run, this is bad.");return}Je.COMMON_ALREADY_RAN=!0,Je.Static=Je.Static||{},Je.noop=g(),Je.Singleton=Be.Z,Je.Class={create:function(Vt){let Dn;return Vt.initialize?Dn=function(){this.initialize.apply(this,arguments)}:Dn=function(){},Dn.prototype=Vt,Dn.extend=function(Wt){return Je.Class.extend(this,Wt)},Dn.specialize=function(Wt,Pe){const xe=Je.Class.specialize(this,Wt);return xe._parent=Pe,xe},Dn},extend:function(Vt,Dn){Dn.initialize||(Dn.initialize=Vt.prototype.initialize);const Wt=Je.Class.create(Dn);var Pe=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;for(const xe in Vt.prototype)Wt.prototype[xe]?typeof Wt.prototype[xe]=="function"&&Pe.test(Wt.prototype[xe])&&(Wt.prototype[xe]=function(Ae,qe){return function(){const wt=this._super;this._super=Vt.prototype[Ae];const kt=qe.apply(this,arguments);return this._super=wt,kt}}(xe,Wt.prototype[xe])):Wt.prototype[xe]=Vt.prototype[xe];return Wt.prototype.superclass=Vt.prototype,Wt},specialize:function(Vt,Dn){const Wt=Je.Class.extend(Vt,Dn);return new Wt}},Je.Squarespace=Je.Squarespace||{},Je.Squarespace.INITIALIZED=!1,Je.Squarespace.SQUARESPACE_INITIALIZED_ONCE=!1,fo(Je),Je.Squarespace.shouldRedirectToConfig=function(Vt){const Dn="noredirect",Wt=["noredirect"];if(Vt.location.hostname==="localhost"||this.getSession(Dn,Vt))return!1;for(let Pe=0;Pe<Wt.length;Pe++)if(Vt.location.search.indexOf(Wt[Pe])!==-1)return this.setSession(Dn,!0,Vt),!1;return Vt.Static.SQUARESPACE_CONTEXT.websiteSettings&&Vt.Static.SQUARESPACE_CONTEXT.authenticatedAccount&&!Vt.Static.SQUARESPACE_CONTEXT.website.developerMode&&!Vt.Static.SQUARESPACE_CONTEXT.website.cloneable&&!this._userHasViewerRole(Vt.Static.SQUARESPACE_CONTEXT.websiteRoles)&&Vt.top===Vt},Je.Squarespace.getSession=function(Vt,Dn){try{if(Dn.sessionStorage&&Dn.sessionStorage[Vt])return Dn.sessionStorage[Vt]}catch{return null}return null},Je.Squarespace.setSession=function(Vt,Dn,Wt){try{if(Wt.sessionStorage)return Wt.sessionStorage[Vt]=Dn,{success:!0,error:null}}catch(Pe){return{success:!1,error:Pe}}return{success:!1,error:"Browser does not support session storage"}},Je.Squarespace.createCookie=function(Vt,Dn,Wt,Pe,xe){let Ae;if(Wt){const qe=new Date;qe.setTime(qe.getTime()+Wt*24*60*60*1e3),Ae="; expires="+qe.toGMTString()}else Ae="";xe.document.cookie=Vt+"="+Dn+Ae+"; path="+Pe},Je.Squarespace.load=function(Vt){if(Vt||(console.error("Squarespace.load running with an assumed window context! Results may vary!"),Vt=window),this.shouldRedirectToConfig(Vt)){Vt.stop&&Vt.stop(),this.createCookie(_.Z.PREVIEW_FRAME_EXPANDED_COOKIE,!0,null,"/",Vt);const Wt=encodeURIComponent(Vt.location.pathname+Vt.location.search);Vt.location.href="/config/?frameUrl="+Wt;return}bn(Vt),Vt.document.addEventListener("DOMContentLoaded",function(){Zn(Vt)}),Vt.Y=Vt.YUI(function(){const Wt={};for(const Pe in Vt.YUI_CONFIG)Wt[Pe]=Vt.YUI_CONFIG[Pe];return Wt}()),jn(Vt),Vt.Y.use("squarespace-image-loader"),Vt.Y.use("squarespace-public-api"),Vt.Y.on("domready",Vt.Squarespace.afterBodyLoad,Vt.Squarespace);const Dn=(0,j.G2)();(0,n.i_)(st.translationLocale,Dn)},Je.Squarespace.injectRollups=function(Vt){try{if(Vt.top.YUI!==Vt.YUI){var Dn;for(const xe in Vt.top.YUI.Env.mods)Vt.YUI.Env.mods.hasOwnProperty(xe)||(Vt.YUI.Env.mods[xe]=Vt.top.YUI.Env.mods[xe]);const Wt=(Dn=Vt.parent.document.getElementById("squarespace-frame-rollups"))===null||Dn===void 0?void 0:Dn.innerHTML,Pe=JSON.parse(Wt);for(const xe in Pe)Pe[xe].css&&this._injectStylesheetFromTopFrame(Pe[xe].css,Vt.document)}}catch{}},Je.Squarespace._injectStylesheetFromTopFrame=function(Vt,Dn){const Wt='<link rel="stylesheet" href="'+Vt+'" type="text/css" />';Dn.head?Je.Y.one(Dn.head).append(Wt):Dn.write(Wt)};const At="squarespace-commerce_email_preview",xt=["squarespace-error_reporter"];function Qt(Vt){const Dn=Je.Y.clone(Vt),Wt=Dn[At];Je.Y.Lang.isValue(Wt)&&(Dn["squarespace-commerce-email-preview"]=Wt,delete Dn[At]);for(const Pe of xt)Dn.hasOwnProperty(Pe)&&delete Dn[Pe];return Dn}Je.Squarespace._humanizeAllDates=function(Vt){Y.all(Vt).each(function(Dn){const Wt=parseInt(Dn.getAttribute("data-date"),10);if(!Y.Lang.isNumber(Wt)){console.warn("Invalid date on node: ",Dn);return}Dn.set("innerHTML",(0,oe.Z)(Wt).capitalize())})},Je.Squarespace.afterBodyLoad=function(){const Vt=Je.Y,Dn=Vt.config.doc.readyState==="loading",Wt=(0,nt.F)(Vt);if(!Dn&&Wt&&Je.top.YUI_NOT_YET_LOADED){Vt.use(Object.keys(Qt(Vt.config.win.SQUARESPACE_ROLLUPS)),g());return}if(Dn&&Wt){Vt.once("domready",Vt.config.win.Squarespace.afterBodyLoad,Vt.config.win.Squarespace);return}this.AFTER_BODY_LOADED||(this.AFTER_BODY_LOADED=!0,Wt&&this.injectRollups(Je),Vt.use(function(Pe){const xe=Vt.Object.keys(Qt(Pe));return Wt&&["squarespace-management"].forEach(function(qe){xe.indexOf(qe)===-1&&xe.push(qe)}),xe}(Vt.config.win.SQUARESPACE_ROLLUPS),Je.Squarespace.globalInit))},Je.Squarespace.addLoadTrigger=function(Vt,Dn){const Wt=Je.Y;if(!Wt.one(Vt))return;if((0,nt.F)(Wt)){const Ae=[];Wt.Array.each(Dn,function(qe){Wt.Lang.isObject(Je.YUI.Env.mods[qe])&&Ae.push(qe)}),Dn=Wt.Array.filter(Dn,function(qe){return!Ae.includes(qe)}),Wt.Array.each(Ae,function(qe){Wt.use(qe);const wt=Wt.config.win.Static.SQUARESPACE_CONTEXT.rollups[qe];if(!wt){console.warn("Unable to load module '"+qe+"' for trigger '"+Vt+"'");return}if(wt.css){const kt=wt.css.split(",");Wt.Array.each(kt,function(ut){this._injectStylesheetFromTopFrame(ut,Wt.config.doc)},this)}},this),Dn.length>0&&console.error("addLoadTrigger","There are modules that were requested, that were not available in the Seven top frame.",Dn)}if(Dn.length===0)return;const Pe=[],xe=[];for(let Ae=0,qe=Dn.length;Ae<qe;++Ae){const wt=Dn[Ae],kt=Wt.config.win.Static.SQUARESPACE_CONTEXT.rollups[wt];if(!kt){console.warn("Unable to load module '"+wt+"' for trigger '"+Vt+"'");return}kt.js&&Wt.Array.each(kt.js.split(","),function(ut){ut.length>0&&Pe.push(ut)}),kt.css&&Wt.Array.each(kt.css.split(","),function(ut){ut.length>0&&xe.push(ut)})}Wt.Get.load([].concat(Pe,xe),{win:Wt.config.win},function(Ae){Wt.use(Dn)})},Je.Squarespace.globalInit=function(Vt){var Dn,Wt;jn(Je),J.Z.isSevenOne()&&Vt.one("body").addClass("seven-one-global-animations"),Vt.Squarespace.EscManager&&Vt.Squarespace.EscManager.attach(Vt.one(Vt.config.win)),(0,R.tS)(),(0,R.D_)(),Vt.config.win.Squarespace._humanizeAllDates(".timesince"),Vt.config.win.Squarespace.initializeLayoutBlocks(Vt),Vt.config.win.Squarespace.initializeImageBlockDynamicElements(Vt),Vt.config.win.Squarespace.initializeGlobalLightbox(Vt),Vt.config.win.Squarespace.initializeWebsiteComponent(Vt),Vt.config.win.Squarespace.initializeVideo(Vt),Vt.config.win.Squarespace.initializeNativeVideo(Vt,{isVisitorWebsite:!0}),Vt.config.win.Squarespace.initializeCartPage(Vt),Vt.config.win.Squarespace.initializeSvgs(Vt);const Pe=Je.Static.SQUARESPACE_CONTEXT.websiteSettings.disqusShortname;if(Vt.Lang.isValue(Pe)&&Pe!==""&&Vt.config.win.Squarespace.initializeDisqusCommentLinks(Vt),Vt.config.doc.location.href.indexOf("logout=true")!==-1&&Vt.on("domready",function(){new Vt.Squarespace.Widgets.Information({"strings.title":(0,n.t)("Logout Successful",null,{project:"scripts-v6-root"}),"strings.message":(0,n.t)("You have been successfully logged out.",null,{project:"scripts-v6-root"})})}),Je.Static.SQUARESPACE_CONTEXT.websiteSettings.commentsEnabled){const rr=Je.Static.SQUARESPACE_CONTEXT.demoCollections,Sr=Je.Static.SQUARESPACE_CONTEXT.collectionId;let Yr=!1;Vt.Lang.isArray(rr)&&Vt.Lang.isValue(Sr)&&Vt.Array.map(rr,function(Mn){return Mn.collectionId}).indexOf(Sr)!==-1&&(Yr=!0),Yr||Vt.config.win.Squarespace.addLoadTrigger(".squarespace-comments",["squarespace-dialog","squarespace-comments"])}let xe;(0,nt.F)(Vt)?xe=Je.top.SQUARESPACE_LOGIN&&Je.top.SQUARESPACE_LOGIN.isLoggedIn():xe=Je.SQUARESPACE_LOGIN&&Je.SQUARESPACE_LOGIN.isLoggedIn();const Ae=Je.Static.SQUARESPACE_CONTEXT.showAnnouncementBar;(xe||Ae)&&Vt.config.win.Squarespace.addLoadTrigger("body",["squarespace-announcement-bar"]);const qe=Le.Z.shouldShowSSBadge({websiteSettings:Je.Static.SQUARESPACE_CONTEXT.websiteSettings}),wt=Le.Z.shouldShowMobileInformationBar({win:Vt.config.win,isMobile:Vt.UA.mobile,settings:Je.Static.SQUARESPACE_CONTEXT.websiteSettings.mobileInfoBarSettings}),kt=Le.Z.shouldShowLicensedAssetsBar({YNodeBody:Vt.one(Vt.config.doc.body)});(xe||qe||wt||kt)&&Vt.config.win.Squarespace.addLoadTrigger("body",["squarespace-website-overlays-manager"]);const ut=Je.Static.SQUARESPACE_CONTEXT.websiteSettings.popupOverlaySettings,Ft=ut&&Le.Z.shouldShowPopupOverlay({settings:ut,context:{pageType:Je.Static.SQUARESPACE_CONTEXT.pageType,collection:Je.Static.SQUARESPACE_CONTEXT.collection},isMobile:Vt.UA.mobile,urlSearch:window.location.search});(xe||Ft)&&Vt.config.win.Squarespace.addLoadTrigger("body",["squarespace-popup-overlay"]),(Je==null||(Wt=Je.Static)===null||Wt===void 0||(Dn=Wt.SQUARESPACE_CONTEXT)===null||Dn===void 0?void 0:Dn.pageType)===A().REVIEWS_REQUEST&&e.e("61612").then(e.bind(e,291429)).then(rr=>{let{bootstrapProductReviewsPage:Sr}=rr;Sr()}),window.UserAccountApi||(document.querySelector(".join-button")||document.querySelector(".sign-in-button"))&&Promise.all([e.e("49035"),e.e("41901"),e.e("78293")]).then(e.bind(e,569609)),e.e("47623").then(e.bind(e,564709)).then(rr=>{let{renderCookieBannerManager:Sr}=rr;!Vt||!d()(Vt,"config.win.Static.COOKIE_BANNER_CAPABLE")||(Sr(),document.addEventListener(v.h,Yr=>{Sr(Yr.detail)}))}),Vt.config.win.Squarespace.addLoadTrigger(".sqs-audio-embed, .sqs-audio-playlist, .sqs-album-block",["squarespace-audio-player"]),Vt.Lang.isObject(Je.Static.SQUARESPACE_CONTEXT.websiteSettings.pinterestOverlayOptions)&&Je.Static.SQUARESPACE_CONTEXT.websiteSettings.pinterestOverlayOptions.mode!=="disabled"&&Vt.config.win.Squarespace.addLoadTrigger(p.Z.TRIGGER_SELECTORS.join(","),["squarespace-pinterest"]),Vt.config.win.Squarespace.addLoadTrigger(".collection-type-products.view-list .products-collection-v2",["squarespace-products-collection-list-v2"]),Vt.config.win.Squarespace.addLoadTrigger(".collection-type-products.view-item .products-collection-v2",["squarespace-products-collection-item-v2"]),Vt.config.win.Squarespace.addLoadTrigger(".sqs-image-zoom-area",["squarespace-image-zoom"]),Vt.config.win.Squarespace.addLoadTrigger(".collection-type-blog.view-list .sqs-blog-list",["squarespace-blog-collection-list"]),Vt.config.win.Squarespace.addLoadTrigger(".collection-type-gallery .sqs-gallery-list",["squarespace-gallery-collection-list"]),Vt.config.win.Squarespace.addLoadTrigger(".sqs-block-calendar",["squarespace-calendar-block-renderer"]),Vt.config.win.Squarespace.addLoadTrigger(".collection-type-events.view-list",["squarespace-events-collection"]),Vt.config.win.Squarespace.addLoadTrigger(".sqs-product-quick-view-button[data-id]",["squarespace-product-quick-view","squarespace-image-zoom","squarespace-products-collection-item-v2"]),Vt.config.win.Squarespace.addLoadTrigger(".sqs-block-chart",["squarespace-chartjs-helpers"]),Vt.config.win.Squarespace.addLoadTrigger(".sqs-block-tourdates[data-block-json]",["squarespace-tourdates"]),Vt.config.win.Squarespace.addLoadTrigger(".sqs-search-page",["squarespace-search-page"]),Vt.config.win.Squarespace.addLoadTrigger(".sqs-simple-like",["squarespace-simple-liking"]),Vt.config.win.Squarespace.addLoadTrigger(".squarespace-social-buttons",["squarespace-social-buttons"]),Vt.one(".sqs-share-buttons")&&e.e("21977").then(e.bind(e,792377)).then(rr=>{let{initializeShareButtons:Sr,destroyShareButtons:Yr}=rr;Je.Squarespace.onInitialize(Vt,function(){Sr(Vt)}),Je.Squarespace.onDestroy(Vt,function(){Yr(Vt)})}),(0,G.K9)(Vt.config.win);function tn(rr){(0,G.AA)(rr)}let In=Vt.Global.on("_syncBodyClasses",tn);Je.addEventListener("beforeunload",function(){In.detach(),In=null},{once:!0}),qn(Vt)},Je.Squarespace.initializeDisqusCommentLinks=function(Vt){const Dn="#disqus_thread",Wt="#comment-{id}",Pe=Vt.all(".sqs-comment-link"),xe="href",Ae="data-id";let qe;const wt=Je.Static.SQUARESPACE_CONTEXT.websiteSettings.disqusShortname,kt=Vt.Lang.isString(wt)&&wt!=="";kt?qe=function(ut){return Je.Static.SQUARESPACE_CONTEXT.website.baseUrl+ut.getAttribute(xe)+Dn}:qe=function(ut){return Je.Static.SQUARESPACE_CONTEXT.website.baseUrl+ut.getAttribute(xe)+Vt.substitute(Wt,{id:ut.getAttribute(Ae)})},Pe.each(function(ut){ut.setHTML("Comments"),ut.setAttribute(xe,qe(ut))},this),kt&&(Je.disqus_shortname=wt,Vt.Get.script("//"+wt+".disqus.com/count.js"))},Je.Squarespace.initializeCollectionPages=function(Vt,Dn){Vt.Squarespace.EventsCollection?(Dn.all(".sqs-events-collection-list").each(Vt.Squarespace.EventsCollection.initializeListView),Dn.all(".sqs-events-collection-calendar").each(Vt.Squarespace.EventsCollection.initializeCalendarView)):Vt.config.win.Squarespace.addLoadTrigger(".sqs-events-collection-list, .sqs-events-collection-calendar",["squarespace-events-collection"])},Je.Squarespace.initializeLayoutBlocks=function(Vt,Dn){const Wt=Dn?Dn.getDOMNode():document,Pe=Dn||Vt;Wt.querySelectorAll(".sqs-position-sticky").forEach(function(ut){const Ft=(0,ce.Z)(ut);Je.Squarespace.onDestroy(Vt,function(){Ft.destroy()})}),this.initializeSummaryV2Block(Vt,Pe),Pe.all([".sqs-block-video",".sqs-block-embed"].join(",")).each(function(ut){Rn(ut,Vt,Je)}),Pe.all(".sqs-block-image img[data-image]").each(function(ut){z.initializeImageBlock(ut,Vt)}),Pe.all(".sqs-block-shape").each(function(ut){rt(ut.getDOMNode())});const xe=[".sqs-block-product img[data-image]"];Vt.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE&&xe.push(".sqs-block-collectionlink img[data-image]"),Pe.all(xe.join(",")).each(function(ut){z.initializeBasicBlockWithImage(ut,Vt)}),Pe.all(".sqs-block-soundcloud").each(function(ut){Je.Squarespace.initializeSoundcloudBlock(ut,Vt)}),Pe.all(".sqs-block-map[data-block-json]").each(ut=>{const Ft=Vt.JSON.parse(ut.getAttribute("data-block-json")),tn=(0,U.Ei)(Ft),In=(0,j.uu)();ut.setAttribute("data-animation-role","image"),J.Z.isSevenOne()&&(tn.ui=Vt.merge({},tn.ui,{scrollwheel:!1})),P().createView(tn.ui,tn.location,ut.one(".sqs-block-content").getDOMNode(),In)}),Je.Squarespace.initializeFormBlocks(Pe,Vt),Pe.all(".sqs-block-newsletter").each(function(ut){Je.Squarespace.initializeNewsletterBlock(ut,Vt)}),Pe.all(".sqs-block-donation").each(function(ut){Je.Squarespace.initializeDonationButton(ut,Vt)}),Wt.querySelectorAll(".sqs-block-accordion").forEach(function(ut){Je.Squarespace.initializeAccordionBlock(ut),Je.Squarespace.initializeContainerStyles(ut)}),Wt.querySelectorAll(".sqs-block-marquee").forEach(function(ut){Je.Squarespace.initializeMarqueeBlock(ut),Je.Squarespace.initializeContainerStyles(ut)}),Wt.querySelectorAll(".sqsrte-scaled-text-container").forEach(function(ut){Je.Squarespace.initializeScaledText(ut)}),Wt.querySelectorAll(".sqs-block-html .sqsrte-text-highlight").forEach(function(ut){Je.Squarespace.initializeTextHighlight(ut)}),document.querySelectorAll(".sqs-block-html[data-blend-mode], .sqs-block-html[data-blur]").forEach(function(ut){Je.Squarespace.initializeContainerStyles(ut)}),document.querySelectorAll(".sqs-block-quote[data-blend-mode], .sqs-block-quote[data-blur]").forEach(function(ut){Je.Squarespace.initializeContainerStyles(ut)}),Pe.all(".sqs-block-button").each(function(ut){Je.Squarespace.initializeButtonBlock(ut,Vt)}),Pe.all(".sqs-block-pricing-plan").each(function(ut){Je.Squarespace.initializePricingPlanBlock(ut,Vt)}),Je.Squarespace.initializeAspectRatioBlocks(Vt);const Ae=[".sqs-block-gallery",".sqs-block-video"].join(",");Pe.all(Ae).each(function(ut){Vt.SQS.Gallery.Manager.initializeBlock(ut)}),[{selector:".sqs-block-flickr",blockType:y.Z.FLICKR},{selector:".sqs-block-instagram",blockType:y.Z.INSTAGRAM},{selector:".sqs-block-fivehundredpix",blockType:y.Z.FIVEHUNDREDPIX}].forEach(function(ut){Pe.all(ut.selector).each(function(Ft){const tn=Ft.one(".sqs-gallery-container");tn&&tn.getAttribute("data-async-rendering-enabled")==="true"?He(Ft,ut.blockType).then(function(){Squarespace.initializeAspectRatioBlocks(Vt),Vt.SQS.Gallery.Manager.initializeBlock(Ft)}):Vt.SQS.Gallery.Manager.initializeBlock(Ft)})}),Pe.all(".sqs-block-opentable").each(function(ut){Je.Squarespace.initializeOpenTableBlock(ut,Vt)}),Pe.all(".sqs-block-opentable-v2").each(function(ut){Je.Squarespace.initializeOpenTableV2Block(ut.getDOMNode())}),Pe.all(".sqs-block-tock").each(function(ut){(0,B.Z)(ut.getDOMNode())}),Vt.Squarespace.Widgets.AudioPlayer?Pe.all(".sqs-audio-embed").each(Vt.Squarespace.Widgets.AudioPlayer.initializeNode):Vt.config.win.Squarespace.addLoadTrigger(".sqs-audio-embed, .sqs-audio-playlist, .sqs-album-block",["squarespace-audio-player"]),Vt.Squarespace.Tourdates?Pe.all(".sqs-block-tourdates[data-block-json]").each(Vt.Squarespace.Tourdates.initializeNode):Vt.config.win.Squarespace.addLoadTrigger(".sqs-block-tourdates[data-block-json]",["squarespace-tourdates"]),Vt.Squarespace.CalendarBlockRenderer?Pe.all(".sqs-block.calendar-block[data-block-json]").each(Vt.Squarespace.CalendarBlockRenderer.initializeNode):Vt.config.win.Squarespace.addLoadTrigger(".sqs-block.calendar-block[data-block-json]",["squarespace-calendar-block-renderer"]);const wt=Pe.one(".sqs-block-zola");wt&&this.initializeZolaBlocks(wt,Vt);const kt=Pe.one(".sqs-block-acuity");kt&&this.initializeAcuityBlocks(kt,Vt),this.initializeSearchBlock(Vt),this.initializeChartBlock(Vt),this.initializeSocialLinks(Vt),this.initializeMenuBlock(Vt)},Je.Squarespace.initializeSocialLinks=function(Vt){Vt.UA.gecko<=0||Vt.all('use[class^="SocialLinks"][*|href]').each(function(Dn){const Wt=Dn.getAttribute("xlink:href"),Pe=Wt.indexOf("#");Pe!==-1&&Dn.setAttribute("xlink:href",Vt.config.win.location.origin+Vt.config.win.location.pathname+Wt.substr(Pe))})},Je.Squarespace.initializeMenuBlock=function(Vt){Vt.all(".menu-wrapper").each(function(Dn){M(Dn._node)})},Je.Squarespace.initializePageContent=function(Vt,Dn){Je.Squarespace.initializeLayoutBlocks(Vt,Dn),Je.Squarespace.initializeWebsiteComponentForContentPreview(Vt,Dn),Je.Squarespace.initializeCollectionPages(Vt,Dn)},Je.Squarespace.initializeImageBlockDynamicElements=function(Vt){const Dn=Vt.config.win;function Wt(){Vt.all(".image-block-v2").each(function(Pe){Pe.toggleClass("sqs-narrow-width",Pe.get("offsetWidth")<415);const xe=Pe.one("img");xe&&Dn.ImageLoader.load(xe)}),Zn(Dn)}this._resizeEmitter=new Vt.Squarespace.ResizeEmitter,this._resizeEmitter.on("resize",Wt,this),Vt.Global.on("tweak:change",Wt)},Je.Squarespace.initializeSummaryV2Block=function(Vt,Dn){Dn.all(".sqs-block-summary-v2").each(function(Wt){(0,ye.Z)(Wt).then(function(){var Pe,xe;let Ae;Wt.hasAttribute("data-block-json")&&(Ae=JSON.parse(Wt.getAttribute("data-block-json")).imageAspectRatio),(Pe=Wt.one(".summary-block-collection-type-lessons"))===null||Pe===void 0||Pe.all(".summary-description").each(function(qe){qe._node.style.visibility="visible";let wt=qe._node.innerHTML;wt=wt.replaceAll(/<p[^>]*>/g,""),wt=wt.slice(0,-4),wt=wt.replaceAll("</p>","<br/>"),wt="<p>"+wt+"</p>",qe._node.innerHTML=wt}),(xe=Wt.one(".summary-block-collection-type-lessons"))===null||xe===void 0||xe.all("img").each(function(qe){qe.once("load",function(){window.dispatchEvent(new Event("resize"))},this)}),Wt.all(".sqsSummaryBlockThumbnailPlaceholder").each(qe=>{const wt=(0,ye.U)(Ae);qe.setStyle("paddingBottom",wt+"%"),qe.get("parentNode").setStyle("paddingBottom",wt+"%")}),Vt.SQS.Gallery.Manager.initializeBlock(Wt),Wt.all(".sqsSummaryBlockThumbnailPlaceholder").each(qe=>{qe.ancestor(".summary-item").getDOMNode().classList.remove("no-image")}),Je.Squarespace.initializeContainerStyles(Wt._node)})})},Je.Squarespace.initializeButtonBlock=function(Vt,Dn){pe(Vt)},Je.Squarespace.initializeOpenTableBlock=function(Vt,Dn){_e(Vt,Dn)},Je.Squarespace.initializeOpenTableV2Block=function(Vt){(0,ae.Z)(Vt)},Je.Squarespace.initializeZolaBlocks=function(Vt,Dn){const Wt="zola-wjs",Pe=Dn.config.win.document.getElementById(Wt);if(Pe){if(!Dn.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE)return;if(Dn.config.win.ZolaWidget){Dn.config.win.ZolaWidget.init();return}Pe.remove()}const xe=document.createElement("script");xe.src=Vt.one("[data-zola-script-src]").getAttribute("data-zola-script-src"),xe.id=Wt,xe.async=!0,Dn.config.win.document.head.appendChild(xe)},Je.Squarespace.initializeAcuityBlocks=function(Vt,Dn){if(!Dn.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE)return;const Wt=Vt.one("script"),Pe=document.createElement("script");Pe.src=Wt.getAttribute("src"),Pe.async=!0,Wt.remove(),Vt.appendChild(Pe)},Je.Squarespace.initializeSoundcloudBlock=function(Vt,Dn){const Wt=Vt.one("iframe");if(Wt){const Pe=Wt.getAttribute("src");try{const xe=Dn.QueryString.parse(Pe).url;if(xe){const Ae=xe.indexOf("/playlists/")>=0;Vt.toggleClass("isPlaylist",Ae)}}catch(xe){console.error("Issue parsing SoundCloud url: "+Pe,xe)}}},Je.Squarespace.initializeVideoBlock=function(Vt,Dn){Vt.videoloader||Vt.plug(Dn.Squarespace.VideoLoader)},Je.Squarespace.initializeContainerStyles=function(Vt){(Vt.hasAttribute("data-blend-mode")||Vt.hasAttribute("data-blur"))&&W(Vt)};function qt(Vt){let{win:Dn,formEl:Wt}=Vt;try{if(Re.qH(Wt)){const Ae=(0,on.Z)(Dn);Re.DU(Dn,Ae),Re.bI({formEl:Wt,win:Dn})}const xe=Wt.getAttribute("data-form-id");xe&&(0,R.if)(xe)}catch(Pe){console.error("Could not render form",{formEl:Wt,error:Pe})}}Je.Squarespace.initializeFormBlocks=function(Vt,Dn){const Wt=Vt.all(`.sqs-block-form:not([data-block-type="${y.Z.WEBSITE_COMPONENT}"])`);Wt.size()&&Promise.all([e.e("65012"),e.e("66451"),e.e("83769")]).then(e.bind(e,288633)).then(Ae=>{let{bootstrapVisitorForms:qe,updateVisitorForms:wt}=Ae;qe(Dn);let kt=Dn.Global.on("tweak:change",ut=>{ut.getName()==="form-submit-button-style"&&wt({previewSubmitButtonStyle:ut.getValue()})});window.addEventListener("beforeunload",()=>{kt&&(kt.detach(),kt=null)},{once:!0})}),Wt.each(function(qe){const wt=qe.one("form");wt&&(qt({win:Dn.config.win,formEl:wt.getDOMNode()}),Je.Squarespace.initializeContainerStyles(qe._node))}),(0,ge.Z)(Dn.config.doc);const Pe=".sqs-block-form:not(.sqs-block-website-component) .lightbox-handle";if(!Vt.all(Pe).isEmpty()){if(Dn.Squarespace.FormRenderingUtils){Dn.Squarespace.FormRenderingUtils.initializeFormLightbox(Vt);return}Dn.config.win.Squarespace.addLoadTrigger(Pe,["squarespace-form-rendering-utils"])}},Je.Squarespace.initializeNewsletterBlock=function(Vt,Dn){const Wt=Vt.one(".newsletter-form");if(!Wt)return;qt({win:Dn.config.win,formEl:Wt.getDOMNode()}),Je.Squarespace.initializeContainerStyles(Vt._node);const Pe=Vt.ancestor();Vt.toggleClass("newsletter-form-has-small-container",Pe.get("offsetWidth")<320).addClass("rendered")},Je.Squarespace.initializeAccordionBlock=function(Vt){(0,m.Sw)(Vt)},Je.Squarespace.initializeMarqueeBlock=function(Vt){(0,F.Z)(Vt,Y)},Je.Squarespace.initializeScaledText=function(Vt){(0,Ue.Z)(Vt)},Je.Squarespace.initializeTextHighlight=function(Vt){const Dn=Ie(Vt);Y.Global.on("colors:updateThemeStyles",()=>{Bt(Dn)})},Je.Squarespace.initializeDonationButton=function(Vt,Dn){const Wt=Vt.one(".sqs-donate-button");if(!Wt){console.error("Careful, there was no button found inside this node!",Vt.getDOMNode());return}const Pe=()=>{Dn.Squarespace.Commerce.goToDonatePage(Wt.getAttribute("data-donate-page-id"))};Wt.on("click",Pe),Wt.on("keydown",xe=>{(xe.keyCode===13||xe.keyCode===32)&&Pe()})},Je.Squarespace.initializePricingPlanBlock=function(Vt,Dn){(0,$.ci)(Vt)},Je.Squarespace.initializeGlobalLightbox=function(Vt){Vt.all('[rel="lightbox"][data-lightbox]').plug(Vt.Squarespace.Lightbox2Plug)},Je.Squarespace.initializeCommerce=function(Vt){if(!Vt.Squarespace.Commerce.initializeCommerce){console.warn("Commerce rollup not loaded, exiting initializeCommerce() invocation.");return}Vt.Squarespace.Commerce.initializeCommerce(Vt)},Je.Squarespace.initializeChartBlock=function(Vt){Vt.ChartJS&&Vt.ChartJS.initializeCharts?Vt.ChartJS.initializeCharts():Vt.config.win.Squarespace.addLoadTrigger(".sqs-block-chart",["squarespace-chartjs-helpers"])},Je.Squarespace.initializeWebsiteComponent=async function(Vt){const Dn=await(0,vt.k)();(Vt.all('[data-definition-name="website.components.form"]').size()||(0,nt.F)(Vt))&&await Promise.all([e.e("65012"),e.e("66451"),e.e("74522")]).then(e.bind(e,899465)).then(Wt=>{Je.Squarespace.renderReactFormForWebsiteComponent=Wt.renderFormPreviewForWebsiteComponent}),Vt.all(".sqs-block-website-component[data-definition-name]").each(function(Wt){const Pe=Wt.getDOMNode(),xe=Pe.dataset.definitionName,Ae=Pe.id;xe&&Ae&&Dn.load(xe,Ae,Pe)}),(Vt.all('[data-definition-name="website.components.donation"]').size()||(0,nt.F)(Vt))&&await Promise.all([e.e("65012"),e.e("66451"),e.e("74522")]).then(e.bind(e,832080)).then(Wt=>{Je.Squarespace.renderReactDonationFormForWebsiteComponent=Wt.renderDonationFormForWebsiteComponent}),Vt.all('.sqs-block-website-component[data-definition-name="website.components.product"]').each(function(Wt){const Pe=new It.Z(Wt.getDOMNode());Je.Squarespace.onDestroy(Vt,function(){Pe.destroy()})})},Je.Squarespace.initializeWebsiteComponentForContentPreview=async function(Vt,Dn){Dn||(Dn=Vt);const Wt=await(0,vt.k)();Dn.all(".sqs-block-website-component[data-definition-name]").each(async function(Pe){const xe=Pe.getDOMNode(),Ae=xe.dataset.definitionName,qe=xe.id,wt=!0;if(Ae&&qe){const kt=Vt.config.win.document;await ze.Z.load(Ae,kt),Wt.load(Ae,qe,xe,wt)}})},Je.Squarespace.initializeVideo=function(Vt){Vt.all(".sqs-video-wrapper").each(function(Dn){!Dn.videoloader&&!Dn.ancestor(".sqs-block-video")&&!Dn.ancestor(".slide")&&Dn.plug(Vt.Squarespace.VideoLoader,{load:Dn.getAttribute("data-load")!=="false"})})},Je.Squarespace.initializeNativeVideo=function(Vt,Dn){const{parentElement:Wt,isVisitorWebsite:Pe}=Dn,xe=".sqs-native-video",Ae=Wt?Wt.all(xe):Vt.all(xe);Ae.isEmpty()||Promise.all([e.e("15700"),e.e("12499")]).then(e.bind(e,581509)).then(()=>{Vt.use("squarespace-native-video-loader"),Ae.each(function(qe){qe.plug(Vt.Squarespace.NativeVideoLoader,{isVisitorWebsite:Pe})})})},Je.Squarespace.initializeSearchBlock=function(Vt){if(!Vt.all(".sqs-search-ui-text-input").isEmpty()){if(!Vt.Squarespace.Widgets.SearchPreview&&Vt.one(".sqs-search-ui-text-input")){Promise.all([e.e("10093"),e.e("73158"),e.e("21163")]).then(e.bind(e,902711)).then(()=>{Vt.use("squarespace-search-preview")});return}Vt.Squarespace.Widgets.SearchPreview.renderAllSearchPreviewNodes()}};const Te=function(Vt){const Dn=d()(Vt,"SQS.LayoutEngine.AspectRatioManager");Dn&&Dn.initAllBlocks()};Je.Squarespace.initializeAspectRatioBlocks=Te,Je.Squarespace._userHasViewerRole=function(Vt){return Vt?Object.keys(Vt).length>0&&Vt[T().VIEWER]:!1},Je.Squarespace.initializeCartPage=function(Vt){(0,s.Z)(Je)&&Promise.all([e.e("56365"),e.e("99025")]).then(e.bind(e,919676)).then(Dn=>{let{bootstrapCartPage:Wt,unmountCartPage:Pe}=Dn;Je.Squarespace.onInitialize(Vt,function(){(0,s.Z)(Je)&&Wt({setLocale:n.i_})}),Je.Squarespace.onDestroy(Vt,function(){(0,s.Z)(Je)&&Pe()})})},Je.Squarespace.initializeSvgs=function(Vt){Vt.config.win.Squarespace.onInitialize(Vt,function(){Vt.on("domready",function(){Jr&&e.e("75788").then(e.bind(e,7595)).then(Dn=>{let{default:Wt}=Dn;Wt.parse()})})})};function Gt(){window.Squarespace.load(window),window.Squarespace.afterBodyLoad(window.Y)}function un(){return!!document.getElementById("order-status-page-root")}J.Z.isSevenOne()&&Je.document.addEventListener("DOMContentLoaded",function(){un()||Gt()})},Common(window);var ro=e(382035);YUI.add("squarespace-common",function(Xt){},"1.0",{requires:["get","intl","@sqs/layout-engine/aspect-ratio-manager","squarespace-promises","squarespace-attr-validators","squarespace-commerce-utils","squarespace-cookie-banner-styles","squarespace-currency-symbols","squarespace-deprecated-modules","squarespace-damask-context-globals","squarespace-escmanager","squarespace-follow-buttons","squarespace-form-submit","squarespace-gallery","squarespace-gallery-manager","squarespace-gallery-ng","squarespace-image-loader","squarespace-models-shopping-cart-facade","squarespace-plugin-lightbox2","squarespace-spinner","squarespace-ui-base","squarespace-util","squarespace-video-loader","squarespace-widgets-alert","squarespace-widgets-information","thirdparty-modernizr","yui-throttle"]})},513626:function(){YUI.add("squarespace-cookie-banner-styles",function(b){},"1.0",{requires:[]})},865378:function(){YUI.add("squarespace-currency-symbols",function(b){},"1.0",{requires:[]})},820067:function(){YUI.add("squarespace-damask-context-globals",function(b){b.namespace("Squarespace.Damask"),b.Squarespace.Damask.ContextGlobals={isDamask:function(){return b.Lang.isValue(CONFIG_PANEL)},frameWindow:function(){return b.Lang.isValue(b.config.win.frames["sqs-site-frame"])?CONFIG_PANEL.getFrameContentWindow():(console.warn("[ContextGlobals] frameWindow method called from a non-damask frame."),b.config.win)},topWindow:function(){var l=b.config.win;try{b.Lang.isValue(l.frameElement)&&l.frameElement.id==="sqs-site-frame"&&(l=l.parent)}catch{}return b.one(l)},fromFrame:function(l){var e=this.frameWindow();return b.Lang.isValue(l)?b.Lang.isArray(l)?b.Object.getValue(e.get(l[0]),l.slice(1)):e.get(l):e},fromTop:function(l){var e=this.topWindow();return b.Lang.isValue(l)?b.Lang.isArray(l)?b.Object.getValue(e.get(l[0]),l.slice(1)):e.get(l):e},get:function(l){return this.isDamask()?this.fromFrame(l):this.fromTop(l)},getWindow:function(){return this.isDamask()?this.frameWindow():this.topWindow()},relative:function(l,e){if(this.isDamask()){var r=this.fromFrame("Y");if(l.inDoc(r.config.doc))return this.fromFrame(e)}var o=this.fromTop("Y");return l.inDoc(o.config.doc)?this.fromTop(e):null}}},"1.0",{requires:[]})},27538:function(b,l,e){"use strict";var r=e(994336),o=e.n(r),n=e(714487),a=e(747002),i=e(759352),c=e(312713);YUI.add("squarespace-data",function(u){u.io&&u.on("io:xdrReady",function(f){u.Data.TRANSPORT_READY=!0}),u.Data={DEBUG:!1,TRANSPORT_READY:!0,addCrumb:function(f){var d=o().get("crumb");if(d){var h=f.split("?"),g=h[1]?u.QueryString.parse(h[1]):{};g.crumb=d,f=h[0]+"?"+u.QueryString.stringify(g)}return f},sendForm:function(f,d,h){d.data||(d.data={});var g=f.getData();for(var _ in g){var p=g[_];u.Lang.isUndefined(p)||u.Lang.isNull(p)||u.Lang.isObject(p)&&u.Object.isEmpty(p)||(u.Lang.isObject(p)&&!u.Lang.isArray(p)?d.data[_]=u.JSON.stringify(p):d.data[_]=p)}var y={dialog:f};typeof d.failure=="function"&&(y.failure=d.failure),d.failure=y,this.post(d,h)},cleanObjectForConsole:function(f){var d={};for(var h in f){var g=!1;if(u.Lang.isString(f[h])){try{g=f[h]?JSON.parse(f[h]):null}catch{}g&&u.Lang.isObject(g)?d[h]=g:d[h]=f[h]}else d[h]=f[h]}return d},get:function(f,d){this._go("GET",f,d)},post:function(f,d){this._go("POST",f,d)},put:function(f,d){this._go("PUT",f,d)},del:function(f,d){this._go("DELETE",f,d)},_go:function(f,d,h){if(d.context=h,d.method=f,u.Data.DEBUG,d.success||(d.success=this._genericSuccess),d.responseFormat||(d.responseFormat="json"),d.secure&&Static.SQUARESPACE_CONTEXT){var g=["squarespace.com","sqsp.com","sqsp.net","squarespace.net","sqsp6.com"],_=u.Array.some(g,function(O){return window.location.host.endsWith(O)});i.Bw()||(_=!1),!_&&!d.url.startsWith("https://")&&(d.url="https://"+a.uT(Static.SQUARESPACE_CONTEXT.website)+d.url),_||(d.xdr={},d.xdr.credentials=!0)}for(var p in d.data)u.Lang.isUndefined(d.data[p])&&delete d.data[p];if(d.testResponse)d.testResponseDelay?u.later(d.testResponseDelay,this,function(){u.Data._connectionSuccessRouter(d,!0,{responseText:u.JSON.stringify(d.testResponse)})}):u.Data._connectionSuccessRouter(d,!0,{responseText:u.JSON.stringify(d.testResponse)});else{var y=u.bind(function(){if(d._url=d.url,d.url=this.addCrumb(d.url),f==="POST"||f==="PUT"){if(d.json)u.Lang.isObject(d.data)&&(d.data=u.JSON.stringify(d.data)),u.Lang.isObject(d.headers)||(d.headers={}),d.headers["Content-Type"]="application/json",d.headers.charset="UTF-8";else if(!u.Lang.isString(d.data))for(var O in d.data){var P=d.data[O];u.Lang.isObject(P)&&!u.Lang.isArray(P)&&(d.data[O]=u.JSON.stringify(P))}}var C={method:f,arguments:d.arguments,data:d.data,on:{success:u.bind(u.Data._connectionSuccessRouter,u.Data,d),failure:u.bind(u.Data._connectionFailureRouter,u.Data,d)}},A=d.headers;u.Lang.isObject(A)&&(C.headers=A),d.xdr&&(C.xdr=d.xdr,C.headers={"Content-Type":(0,n.t)("application/x-www-form-urlencoded; charset=UTF-8",null,{project:"scripts-v6-root"})},C.data=u.QueryString.stringify(d.data)),d.queue?u.io.queue(d.url,C):u.io(d.url,C)},u.Data);d.testResponseDelay?u.later(d.testResponseDelay,this,y):y()}},_genericSuccess:function(f){},_connectionSuccessRouter:function(f,d,h,g){if(f.responseFormat==="json"){var _={};if(h.status!==204&&h.status!==1223)try{_=u.JSON.parse(h.responseText)}catch{this._error(f,{error:(0,n.t)("Internal Error: Unable to parse server response from ({url}) as JSON: {message}",{url:f.url,message:h.responseText},{project:"scripts-v6-root"})});return}_.error?this._error(f,_,g):(u.Data.DEBUG,f.success.apply(f.context,[_,g]))}else f.responseFormat==="raw"&&(u.Data.DEBUG,f.success.apply(f.context,[h.responseText,g]))},_connectionFailureRouter:function(f,d,h,g){if(!(!h||h.readyState!==4)){var _={400:!0,401:!0,500:!0,502:!0};if(f.responseFormat==="json"&&_[h.status]){var p;try{p=u.JSON.parse(h.responseText)}catch{this._error(f,{error:(0,n.t)("Internal Error: Unable to parse server response from ({sub1}) as JSON: {sub2}",{sub1:f.url,sub2:h.responseText},{project:"scripts-v6-root"})});return}if(p.error||p.message||p.billingErrorCode){this._error(f,p,g);return}}var y=(0,n.t)("Unable to connect\u2026",null,{project:"scripts-v6-root"});switch(h.status){case 401:case 403:y=(0,n.t)("Unauthorized request",null,{project:"scripts-v6-root"});break;case 500:case 501:y=(0,n.t)("Internal server error. Please try again later.",null,{project:"scripts-v6-root"});break;case 503:y=(0,n.t)("This service is temporarily unavailable. Please try again later.",null,{project:"scripts-v6-root"});break;default:if(f.retry){f.retry-=1,u.later(200,this,function(){u.Data._go(f.method,f,f.context)});return}break}this._error(f,{status:h.status,error:y,errorKey:u.Lang.isFunction(window.btoa)?btoa(f.url):"",network:!0})}},_error:function(f,d,h){if(u.Data.DEBUG,d.loginRequired){var g=function(){window.SQUARESPACE_LOGIN&&window.SQUARESPACE_LOGIN.fire("login-required")};u.Lang.isFunction(f.failure)?(f.loginHasPriorityOnFailure&&g(),f.failure.apply(f.context,[d,h])):g()}else d.authorizationFail?new u.Squarespace.SystemError(f.url,d,"json").show():d.crumbFail&&f._retry!==!0&&(0,c.z)()?(o().set("crumb",d.crumb,{path:"/"}),f._retry=!0,f.url=f._url,console.log("crumb check failed, will attempt a retry"),this._go(f.method,f,f.context)):typeof f.failure=="function"?f.failure.apply(f.context,[d,h]):u.Lang.isObject(f.failure)&&u.Lang.isFunction(f.failure.failure)?f.failure.failure.apply(f.context,[d,h]):f.failure&&f.failure.dialog&&d.errors?(f.failure.dialog.showErrors(d.errors),f.failure.failure&&f.failure.failure.apply(f.context,[d,h])):new u.Squarespace.SystemError(f.url,d,"json").show()}}},"1.0",{requires:["io","squarespace-system-error","squarespace-util"]})},439343:function(b,l,e){"use strict";var r=e(461761),o=e.n(r),n=e(687048),a=e.n(n),i=e(971676),c=e.n(i),u=e(413019);YUI.add("squarespace-deprecated-modules",function(d){function h(p,y,O){return function(){return console.warn('[DEPRECATED] Called `Y."'+y+"`. "+O),(0,u.L8)("deprecated_yui_module_used",{detail:y}),p.apply(this,arguments)}}function g(p,y,O){var P=o()(d,p);if(a()(P)){var C=y(P,p,O);c()(d,p,C)}}function _(p,y,O){var P=o()(d,p,{});Object.keys(P).forEach(function(A){var S=[p,A].join(".");g(S,y,O)})}_("Cookie",h,"Use @sqs/cookie-cutter instead.")},"1.0",{requires:["cookie"]})},523572:function(){YUI.add("squarespace-dom-emitters-resize",function(b){b.Squarespace.ResizeEmitter=b.SQS.Gallery.ResizeEmitter},"1.0",{requires:["@sqs/yui-gallery/resize-emitter"]})},753:function(){YUI.add("squarespace-escaping-utils",function(b){b.namespace("Squarespace"),b.Squarespace.Escaping={escapeForHtml:function(l){return l&&l.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;")},escapeForHtmlTag:function(l){return l&&l.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/`/g,"&#x60;")}}},"1.0",{requires:[]})},577089:function(b,l,e){"use strict";var r=e(324270),o=e(208935),n=e(985913),a=[".add-page-popover"];YUI.add("squarespace-escmanager",function(i){i.Squarespace.STANDARD_CONTROL_CLASSES=[".standard-dialog-wrapper",".yui3-panel-type-tooltip",".sqsp-tooltip",".tooltip",".inline-field-title",".workflow-flyout",".page-map",".map-widget",".dialog-element",".error-message-wrapper",".squarespace-block",".sqs-block",".buttons a",".sqs-shopping-cart",".panel-menu-item",".flyout-variant-edit",".image-focal-point","a.return-button","a#deactivated-account-link",".site-chooser-glyph",".lightbox-inner",".sqs-configuration-menu .site-title-text",".sqs-configuration-menu .user-id",".sqs-add-to-cart-button",".additional-fields",".rte",".sqs-scroll-ac-item",".sqs-layout-insert-block-menu",".sqs-widgets-confirmation",".sqs-password-prompt",".tag-bubble",".sqs-fullscreen-overlay-imagepicker",".u-ActionButtons-container",".ReactModal__Overlay","."+o.ESCMANAGER_IGNORE_CLASSNAME,".CCLinkEditorModal",".CCPageDropDown",".sqs-dialog-field:not(.sqs-dialog-layout-wrapper)"],i.namespace("SQS.DDWrappers").STANDARD_CONTROL_CLASSES=i.Squarespace.STANDARD_CONTROL_CLASSES,i.Squarespace.EscManager={closeTargets:[],attached:[],attach:function(c){c=c||i.one(i.config.win);var u=c.generateID();if(this.attached.indexOf(u)===-1){var f=i.Squarespace.EscManager;(0,n.F)(i)&&(f=i.Squarespace.Damask.ContextGlobals.fromTop("Y.Squarespace.EscManager"));var d=c;d.on("keyup",f.onKeyUp,f),d.on("click",f.onBodyClick,f),d.on("mousedown",f._onBodyDown,f),d.on("mouseup",f._onBodyUp,f),this.attached.push(u),this._disabled=!1}},destroy:function(){this.detach(),this._bodyDownTarget=null,this._bodyUpTarget=null},detach:function(c){c=c||i.one(i.config.win),c.detachAll()},disable:function(){this._disabled=!0},enable:function(){this._disabled=!1},onEsc:function(c){c.target.ancestor(a.join(", "))||(i.config.win.Static&&Static.IN_BACKEND?i.one("html").hasClass("sqs-guide-open")?window.CONFIG_PANEL.closeGuide():r.default.toggleFullScreenPreviewMode():window.SQUARESPACE_LOGIN&&window.SQUARESPACE_LOGIN.getAccount()&&this._redirectToConfig())},addTarget:function(c){this.closeTargets.push(c)},removeTarget:function(c){var u=this.closeTargets.indexOf(c);u!==-1&&this.closeTargets.splice(u,1)},onKeyUp:function(c){if(c.keyCode===27&&!this._disabled)if(c.halt(),this.closeTargets.length>0){var u=this.closeTargets.pop();this._closeTarget(u,c)}else i.later(10,this,this.onEsc,c)},_redirectToConfig:function(){var c=i.config.win.location,u="https://"+Static.SQUARESPACE_CONTEXT.website.identifier+"."+Static.SQUARESPACE_CONTEXT.appDomain+"/config/?frameUrl="+c.pathname+c.search;i.config.win.location=u},_closeTarget:function(c,u){i.Lang.isFunction(c.close)?c.close(u,(function(f){f===!1&&this.closeTargets.push(c)}).bind(this)):i.Lang.isFunction(c.cancel)?c.cancel(u):i.Lang.isFunction(c.hide)&&c.hide(u)},_onBodyDown:function(c){this._bodyDownTarget=c.target},_onBodyUp:function(c){this._bodyUpTarget=c.target},_didMouseDownMouseUpMatch:function(){var c=this._bodyDownTarget===this._bodyUpTarget;return this._bodyDownTarget=null,this._bodyUpTarget=null,c},onBodyClick:function(c){if(this.closeTargets&&this.closeTargets.length>0){var u=this.closeTargets[this.closeTargets.length-1];if(!this._didMouseDownMouseUpMatch()||u.ignoreBodyClicks)return;var f=c.clientX,d=c.clientY,h=c.target.get("winWidth"),g=c.target.get("winHeight");if(f<0||f>h||d<0||d>g)return;u.activeFlyout?c.target.ancestor(u.activeFlyout.constraintClasses,!0)||(u.activeFlyout.field.closeFlyout(),u.activeFlyout=null,i.fire("target-closed",{target:u})):c.target.ancestor(i.Squarespace.STANDARD_CONTROL_CLASSES.join(", "),!0)||(i.fire("target-closed",{target:u}),c.halt(),this.closeTargets.pop(),this._closeTarget(u,c))}}},typeof window<"u"&&(window.ESC_MANAGER?i.Squarespace.EscManager=window.ESC_MANAGER:window.ESC_MANAGER=i.Squarespace.EscManager)},"1.0",{requires:["event","node","squarespace-damask-context-globals","squarespace-util"]})},250172:function(b,l,e){"use strict";var r=e(714487),o=e(408549);YUI.add("squarespace-follow-button",function(n){n.namespace("Squarespace.Widgets").FollowButton=n.Base.create("followButton",n.Widget,[],{renderUI:function(){this.get("contentBox").setContent((0,o.Z)('<a href="https://twitter.com/{username}" class="twitter-follow-button" data-show-count="false">'+(0,r.t)("Follow @{username}",null,{project:"scripts-v6-root"})+"</a>",{username:this.get("username")}))},syncUI:function(){var a=function(){},i=function(){this.show()};n.Get.script("https://platform.twitter.com/widgets.js",{onSuccess:i,onFailure:a,onTimeout:a,timeout:1e4,context:this,win:n.config.win})}},{ATTRS:{username:{value:""},visible:{value:!1}},CSS_PREFIX:"sqs-follow-button"})},"1.0",{requires:["base","widget"]})},418360:function(b,l,e){"use strict";var r=e(148289),o=e.n(r);YUI.add("squarespace-follow-buttons",function(n){n.namespace("Squarespace"),n.Squarespace.FollowButtonUtils=function(){var a=function(c){var u=c.one(".sqs-follow-button");if(u){var f=n.Widget.getByNode(u);f&&f.destroy()}},i=function(c){a(c);var u=c.getAttribute("data-username");u&&u.length&&new n.Squarespace.Widgets.FollowButton({username:u}).render(c)};return{renderAll:function(){n.all(".squarespace-follow-button").each(function(c){i(c)})}}}(),n.on("domready",function(){n.Squarespace.FollowButtonUtils.renderAll()})},"1.0",{requires:["squarespace-follow-button"]})},852490:function(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){"use strict";var _sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(935662),_sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0__),_sqs_universal_flags__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(762379),shared_utils_commerce_trackEvent__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(371467),_sqs_network__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(456903),_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(963327),_sqs_websites_constants__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(607371),_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(882450),_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_3__),shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(582136),shared_utils_census_CensusUtils__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(537312),_sqs_utils_focus__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(999762),_sqs_enterprise_recaptcha_api__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(528215);YUI.add("squarespace-form-submit",function(Y){Y.namespace("Squarespace");var FormSubmitV1=Y.Base.create("FormSubmitV1",Y.Base,[],{initializer:function(){this._submitButton=this.get("formNode").one("[type=submit]"),this._submitButtonText=this._submitButton.get("value");var b=this._getMultiFieldVal;this._typeGetterMap={date:b,name:b,time:b,address:b,phone:this._getPhoneFieldVal,radio:this._getRadioFieldVal,checkbox:this._getCheckFieldVal,select:this._getSelectVal,likert:this._getLikertVal,hidden:this._getHiddenVal},this._defaultGetter=this._getSingleFieldVal,Y.Global.publish("form:submitSuccess")},submit:function(l,e,r,o,n){var a=this.get("formNode"),i;typeof l=="object"?(i=l.formId,e=l.collectionId,r=l.objectName,o=l.isOverlayForm,n=l.submitButtonText):i=l;try{if(a.hasClass("submitting"))return;this._clearErrors(),this._lock();var c=Y.config.win.Static.SQUARESPACE_CONTEXT.pageType===_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_3___default().SPLASH_PAGE,u=c?_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_8__.getCaptchaContainer(Y.config.win,this.get("formNode").getDOMNode()):_sqs_enterprise_recaptcha_api__WEBPACK_IMPORTED_MODULE_7__.qH(this.get("formNode").getDOMNode());if(!u)this._saveFormSubmission(i,e,r,o,n);else if(c){var f=_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_8__.validate(Y.config.win,u);f?this._saveFormSubmission(i,e,r,o,n,f):this._submitFailure(shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_4__.Z.strings.CAPTCHA_INCOMPLETE_ERROR,o)}else{var d=a.hasClass("newsletter-form")&&!o,h=a.hasClass("newsletter-form")&&o,g=h?_sqs_enterprise_recaptcha_api__WEBPACK_IMPORTED_MODULE_7__.aI.PROMO_POPUP:d?_sqs_enterprise_recaptcha_api__WEBPACK_IMPORTED_MODULE_7__.aI.NEWSLETTER_BLOCK:_sqs_enterprise_recaptcha_api__WEBPACK_IMPORTED_MODULE_7__.aI.FORM_BLOCK;_sqs_enterprise_recaptcha_api__WEBPACK_IMPORTED_MODULE_7__.TJ(Y.config.win,g).then((function(_){this._saveFormSubmission(i,e,r,o,n,null,_)}).bind(this))}}catch{this._submitFailure(shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_4__.Z.strings.SUBMIT_ERROR,o)}finally{return!1}},_createErrorNode:function(b,l){return l?Y.Node.create('<div class="field-error" style="display:inline-block">'+b+"</div>"):Y.Node.create('<div class="field-error">'+b+"</div>")},_clearErrors:function(){var b=this.get("formNode");b.all(".field-error").each(function(l){l.remove()}),b.all(".form-item.error").each(function(l){l.removeClass("error")})},_lock:function(){this.get("formNode").addClass("submitting"),this._submitButton.set("value",shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_4__.Z.strings.SUBMIT_TEXT_IN_PROGRESS)},_unlock:function(){this.get("formNode").removeClass("submitting"),this._submitButton.set("value",this._submitButtonText)},_saveFormSubmission:function(b,l,e,r,o,n,a){var i={withCredentials:!0};_sqs_network__WEBPACK_IMPORTED_MODULE_2__.default.post("/api/form/FormSubmissionKey",{},i).then((function(c){if(c.data.key){var u={key:c.data.key,formId:b,collectionId:l,objectName:e,isOverlayForm:r,submitButtonText:o,form:Y.JSON.stringify(this._getData()),captchaKey:n,recaptchaEnterpriseV3Token:a};shared_utils_census_CensusUtils__WEBPACK_IMPORTED_MODULE_5__._5(u),_sqs_network__WEBPACK_IMPORTED_MODULE_2__.default.post("/api/form/SaveFormSubmission",u,i).then(this._submitSuccess.bind(this)).catch((function(f){this._submitFailure(f.response,r)}).bind(this))}else this._submitFailure(c,r)}).bind(this)).catch((function(c){this._submitFailure(c.response,r)}).bind(this))},_submitSuccess:function(){var b=this.get("formNode");b&&(b.hasClass("newsletter-form")||b.getById(_sqs_websites_constants__WEBPACK_IMPORTED_MODULE_9__.Z.NEWSLETTER_OVERLAY_NODE_ID))&&shared_utils_commerce_trackEvent__WEBPACK_IMPORTED_MODULE_1__.gW(),Y.Global.fire("form:submitSuccess");var l=b.getData("success-redirect");l&&(window.history.replaceState&&window.history.propertyIsEnumerable({},document.title,window.location.href),window.location.href=l),this._unlock(),this._renderSuccess()},_submitFailure:function(b,l){var e=this.get("formNode"),r=e.hasClass("newsletter-form"),o=b.status===401&&r,n=r&&o&&!l,a=null;if(Y.Lang.isString(b)?a=b:o?a=b.data.message:shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_4__.Z.errorCodes[b.status]?a=shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_4__.Z.errorCodes[b.status]:b.status===400&&b.data.errors?(Y.Object.each(b.data.errors,function(h,g){var _=e.one('[id="'+g+'"]');if(_){var p=_.one(".title");p.insert(this._createErrorNode(h),"before"),_.addClass("error")}},this),r||(a=shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_4__.Z.strings.ERROR_ABOVE)):b.data.error?a=b.data.error:a=shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_4__.Z.strings.UNKNOWN_ERROR,a){var i=this._createErrorNode(a,n);r?e.insertBefore(i,e.one(".newsletter-form-body")):e.prepend(i),i.setAttribute("tabindex",-1),i.focus()}else{var c=e.one(".error");if(c){var u=c.getDOMNode().matches(_sqs_utils_focus__WEBPACK_IMPORTED_MODULE_6__.focusableSelector)&&c||c.one(_sqs_utils_focus__WEBPACK_IMPORTED_MODULE_6__.focusableSelector);u&&u.focus()}}var f=e.one(".captcha-container");if(f){var d=this._submitButton.getDOMNode();d&&d.getAttribute("data-captcha-bound")&&(d.disabled=!0),_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_8__.reset(Y.config.win,f)}this._unlock()},_renderSuccess:function(){var formEl=this.get("formNode"),messageNode=formEl.one(".form-submission-text"),htmlNode=formEl.one(".form-submission-html"),postSubmitHtml=htmlNode.getData("submission-html");formEl.all("*").each(function(b){b.addClass("hidden")}),htmlNode.setHTML(postSubmitHtml),htmlNode.removeClass("hidden"),messageNode.removeClass("hidden"),messageNode.all("*").each(function(b){b.removeClass("hidden")});var movedFocus=!1;function focusOn(b){b.setAttribute("tabindex",-1),b.focus(),movedFocus=!0}if(messageNode.getDOMNode().textContent.trim().length>0?focusOn(messageNode):htmlNode.getDOMNode().textContent.trim().length>0&&focusOn(htmlNode),!movedFocus){var win=Y.config.win,formElY=formEl.getY();formElY<win.scrollY&&win.scrollTo(0,formElY-25)}htmlNode.all("script").each(function(script){if(script.hasAttribute("src")){var dupeScriptDOMNode=document.createElement("script"),attributes=script.getDOMNode().attributes;Y.Array.each(attributes,function(b){dupeScriptDOMNode[b.name]=b.value}),script.replace(dupeScriptDOMNode)}else try{eval(script.getHTML())}catch(b){}},this)},_getData:function(){var b={};return this.get("formNode").all(".form-item").each(function(l){b[l.get("id")]=this._getFieldData(l)},this),b},_getFieldData:function(b){var l=this._typeGetterMap,e=b.get("className").split(new RegExp("\\s")),r,o=!1;if(Y.Array.each(e,function(n){Y.Object.hasKey(l,n)?r=l[n]:n==="section"&&(o=!0)},this),!o)return r||(r=this._defaultGetter),r.call(this,b)},_getSingleFieldVal:function(b){var l=b.one(".field-element");return l?l.get("value"):null},_getMultiFieldVal:function(b){var l=[];return b.all(".field-element").each(function(e){l.push(e.get("value"))}),l},_getPhoneFieldVal:function(b){var l=this._getMultiFieldVal(b);return l&&l.length===3&&l.unshift(""),l},_getRadioFieldVal:function(b){return this._getCheckFieldVal(b)[0]},_getCheckFieldVal:function(b){var l=[];return b.all("input").each(function(e){e.get("checked")&&l.push(e.get("value"))},this),l},_getSelectVal:function(b){return b.one("select").get("value")},_getLikertVal:function(b){var l={};return b.all(".item").each(function(e){var r;e.all("input").each(function(o){o.get("checked")&&(r=o.get("value"))}),Y.Lang.isValue(r)&&(l[e.getAttribute("data-question")]=r)}),l},_getHiddenVal:function(b){var l;Y.Lang.isValue(this._query)||(this._query=Y.QueryString.parse(window.location.search.replace(/^\?/,"")));var e=b.get("name");return Y.Object.hasKey(this._query,e)?l=this._query[e]:l=b.get("value"),l.toString()}},{ATTRS:{formNode:{value:null,validator:Y.Squarespace.AttrValidators.isNullOrInstanceOf(Y.Node),writeOnce:"initOnly"}}});Y.Squarespace.FormSubmit=function(b){var l;return b instanceof Element?l=_sqs_universal_flags__WEBPACK_IMPORTED_MODULE_10__.Z.isFeatureEnabled(_sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0___default().VANILLA_FORM_HANDLER)?new shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_4__.Z(Y.config.win,b):new FormSubmitV1({formNode:Y.Node(b)}):l=new FormSubmitV1(b),this.submit=l.submit.bind(l),_sqs_universal_flags__WEBPACK_IMPORTED_MODULE_10__.Z.isFeatureEnabled(_sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0___default().VANILLA_FORM_HANDLER)?(this.clearErrors=l.clearErrors.bind(l),this.createErrorNode=l.createErrorNode.bind(l)):(this.clearErrors=l._clearErrors.bind(l),this.createErrorNode=l._createErrorNode.bind(l)),this}},"1.0",{requires:["base","json","node","querystring-parse","squarespace-attr-validators","squarespace-util"]})},405144:function(){var b=".js-gallery-lightbox-opener";YUI.add("squarespace-gallery-manager",function(l){var e={lightboxify:function(r,o){if(this._destroyLightbox(),!r||!o||!o.size()){this.unlightboxify(o);return}var n=!!o.item(0).ancestor(".sqs-system-gallery"),a=[];o.each(function(i,c){a.push(this._createLightboxItem(i));var u=i.getAttribute("data-click-through-url");if(!u){var f=i.one(b)||i;if(f){var d={index:c,slideHitArea:f,lightboxSet:a,isFromHash:n},h=this._makeOpenLightbox(d).bind(this);f.on("click",h,this),f.on("keydown",function(g){var _=g.keyCode===13,p=g.keyCode===32;(_||p)&&h(g)},this)}}},this),n&&this._openInitialSlide(o,a)},unlightboxify:function(r){if(this._destroyLightbox(),!!r){var o;r.each(function(n){o=n.one(b),o&&(o.detach("click"),o.detach("keydown"))})}},_destroyLightbox:function(){this.lightbox&&(this.lightbox.destroy(),delete this.lightbox)},_createLightboxItem:function(r){if(r.getAttribute("data-type")==="video"){var o=r.one(".sqs-video-wrapper"),n=o.videoloader.get("overlay");return n&&n.detach("click"),{content:o}}var a,i,c;return r.hasAttribute("data-title")?a=r.getAttribute("data-title"):r.one("[data-title]")?a=r.one("[data-title]").getAttribute("data-title"):r.one(".title")&&(a=r.one(".title").getHTML()),r.hasAttribute("data-description")?i=r.getAttribute("data-description"):r.one("[data-description]")?i=r.one("[data-description]").getAttribute("data-description"):r.one(".description")&&(i=r.one(".description").getHTML()),r.hasAttribute("data-lightbox-theme")?c=r.getAttribute("data-lightbox-theme"):r.one("[data-lightbox-theme]")?c=r.one("[data-lightbox-theme]").getAttribute("data-lightbox-theme"):r.one(".lightbox-theme")&&(c=r.one(".lightbox-theme").getHTML()),{theme:c,content:r.one("img"),meta:(a?"<h1>"+a+"</h1>":"")+(i||"")}},_getLightboxTheme:function(r){var o=r.ancestor("[data-lightbox-theme]",!0);return o&&o.getAttribute("data-lightbox-theme")==="light"?"light":"dark"},_makeOpenLightbox:function(r){return function(o){o.halt(),this._destroyLightbox(),this.lightbox=new l.Squarespace.Lightbox2({controls:{previous:!0,next:!0},set:r.lightboxSet,currentSetIndex:r.index,historyHash:r.isFromHash,theme:this._getLightboxTheme(r.slideHitArea)}),this.lightbox.render(),r.isFromHash&&this.lightbox._slideshow.set("currentIndex",r.index)}},_getInitialSlideId:function(r){var o=new l.HistoryHash,n=o.get("itemId");if(n)return n;if(r&&r.size()){var a="",i=r.item(0).ancestor(".slides");if(i)return a=i.getAttribute("data-collection-full-url"),window.location.pathname.replace(a,"")}var c=window.location.pathname.split("/");return c[c.length-1]},_getSlideIndexByLink:function(r,o){var n=-1;return r.some(function(i,c){if(i.ancestor(".sqs-layout"))return!1;var u=i.getAttribute("data-slide-url");return i.getAttribute("data-slide-id")!==o&&u!==o?!1:(n=c,!0)},this),n},_getSlideIndexByRoughUrl:function(r,o){var n=-1;return r.some(function(i,c){if(i.ancestor(".sqs-layout"))return!1;var u=i.getAttribute("data-slide-url"),f=u.substr(u.length-o.length)===o,d=u.indexOf("/"+o)>-1;return!f||!d?!1:(n=c,!0)},this),n},_openInitialSlide:function(r,o){var n=this._getInitialSlideId();if(n){var a=this._getSlideIndexByLink(r,n);a===-1&&(a=this._getSlideIndexByRoughUrl(r,n),a===-1)||(this._destroyLightbox(),this.lightbox=new l.Squarespace.Lightbox2({controls:{previous:!0,next:!0},set:o,currentSetIndex:a,historyHash:"yui-throttle"}),this.lightbox.render())}}};l.mix(l.SQS.Gallery.Manager,e,!0),l.Squarespace.GalleryManager=l.SQS.Gallery.Manager},"1.0",{requires:["squarespace-image-loader","squarespace-plugin-lightbox2","squarespace-video-loader","squarespace-widgets-lightbox2","@sqs/yui-gallery/manager"]})},976309:function(){YUI.add("squarespace-gallery-ng",function(b){b.namespace("Squarespace"),b.Squarespace.Gallery2=b.SQS.Gallery.Gallery2,b.Squarespace.GalleryDesigns2=b.SQS.Gallery.Designs},"1.0",{requires:["@sqs/yui-gallery"]})},800180:function(b,l,e){"use strict";var r=e(936177),o=e.n(r);YUI.add("squarespace-gallery",function(n){n.namespace("Squarespace");var a=!1,i=n.Squarespace.Legacy.Class;n.augment(n.Node,i.create({outerWidth:function(c){var u=parseFloat(this.getComputedStyle("marginLeft")),f=parseFloat(this.getComputedStyle("marginRight"));return o().trackCaughtError("squarespace-gallery-deprecation","YNode#outerWidth invoked"),this.get("offsetWidth")+u+f},outerHeight:function(c){var u=parseFloat(this.getComputedStyle("marginTop")),f=parseFloat(this.getComputedStyle("marginBottom"));return o().trackCaughtError("squarespace-gallery-deprecation","YNode#outerHeight invoked"),this.get("offsetHeight")+u+f}})),n.Squarespace.Gallery=i.create({defaultOpts:{previous:!1,next:!1,itemSelector:!1,startIndex:0,loop:!1,design:"off",designOptions:{},autoplay:!1,autoplayOptions:{timeout:1e3,resumeAfter:1e3,randomize:!1},currentIndex:!1,totalSlides:!1,linked:!1,keyboard:{previous:"down:37",next:"down:39"},renderWithCanvas:!1,loaderOptions:{},updateContainerHeight:!1,focusOnClick:!1},getContainer:function(){return this.elems.container},getSlide:function(c){return this.elems.slides.item(c)},getCurrentSlide:function(){return this.elems.slides.item(this.data.currentIndex)},getCurrentSlideId:function(){return this.getCurrentSlide().getAttribute("data-slide-id")||this.data.currentIndex},getSlides:function(){return this.elems.slides},initialize:function(c){o().trackCaughtError("squarespace-gallery-deprecation","Y.Squarespace.Gallery initialized!"),n.Lang.isBoolean(c.keyboard)&&c.keyboard&&delete c.keyboard,this.params=n.merge(this.defaultOpts,c),this.elems={};var u=n.one(this.params.slideshowElement);if(n.Lang.isNull(u))throw new Error("No gallery '"+this.params.slideshowElement+"' container found.");var f=this.params.itemSelector?u.all(this.params.itemSelector):u.get("children");if(this.elems.container=u,this.elems.slides=f,this.getContainer().getData("galleryInstance")){this.getContainer().getData("galleryInstance")._debug.warn("Node already bound to gallery instance.");return}if(this._debug=new n.Squarespace.Debugger({name:"Gallery",uid:!0}),this.getContainer().setData("galleryInstance",this),this.history=new n.HistoryHash,this.params.historyHash||this.history.get("itemId")){this.history=new n.HistoryHash;var d=this.history.get("itemId")||this.history.get(this.params.historyHash),h;d&&(this.elems.slides.each(function(y,O){y.getAttribute("data-slide-id")===d&&(h=O)}),n.Lang.isNumber(h)||(h=parseInt(this.history.get(this.params.historyHash),10)),this.history.get("itemId")&&this.history.replaceValue("itemId",null),n.Lang.isNumber(h)&&(this.params.startIndex=h))}if(this.data={currentIndex:this.params.startIndex,totalSlides:f.size()},this.events=[],this.data.totalSlides<=0)return!1;if(!n.Squarespace.GalleryDesigns[this.params.design]){var g=[];for(var _ in n.Squarespace.GalleryDesigns)g.push(_);throw new Error("Design '"+this.params.design+"' not found. Currently loaded designs: ["+g.join(", ")+"].")}if(this.design=new n.Squarespace.GalleryDesigns[this.params.design],this.design.gallery=this,this.design.options=n.merge(this.design.options,this.params.designOptions),this.params.previous&&n.all(this.params.previous).each(function(y){this.events.push(y.on("click",function(O){O.halt(),this.previousSlide()},this))},this),this.params.next&&n.all(this.params.next).each(function(y){this.events.push(y.on("click",function(O){O.halt(),this.nextSlide()},this))},this),this.params.focusOnClick&&f.each(function(y){y.on("click",function(){this.fire("changeIndex",f.indexOf(y))},this)},this),this.params.keyboard){var p=function(){return this.params.keyboardWhenInFrame?this.getContainer().inRegion(n.one(this.params.keyboardWhenInFrame).get("region")):!0};this.params.keyboard.previous&&this.events.push(n.on("key",function(){p.call(this)&&this.previousSlide()},window,this.params.keyboard.previous,this)),this.params.keyboard.next&&this.events.push(n.on("key",function(){p.call(this)&&this.nextSlide()},window,this.params.keyboard.next,this))}this.params.linked&&n.Array.each(this.params.linked,function(y){this.linkGallery(y)},this),this.setup(),this.fire("changeIndex",this.params.startIndex),this.isInitialized=!0},linkGallery:function(c){function u(f,d){f&&this._changeIndex(d),n.Array.each(this.elems.linked,function(h){f!==h&&h._changeIndex(d)})}this.elems.linked||(this.on("changeIndex",function(f){u.call(this,!1,f)},this),this.elems.linked=[]),this.elems.linked.push(c),c.on("changeIndex",function(f){u.call(this,c,f)},this)},setup:function(){if(this.on("changeIndex",this._changeIndex),this.loadSlides(),this.design.setup(this.elems.container,this.elems.slides),this.params.autoplay){var c=this;setInterval(function(){if(c.params.autoplayOptions.randomize){for(var u=Math.ceil(Math.random()*c.data.totalSlides);u===c.data.currentIndex;)u=Math.ceil(Math.random()*c.data.totalSlides);c.fire("changeIndex",u)}else c.nextSlide()},this.params.autoplayOptions.timeout)}a&&console.log("Y.Squarespace.Gallery.setup",[this.params,this.data,this.elems]),this.params.updateContainerHeight&&this.on("changeIndex",this.updateContainerHeight)},getSlideDimension:function(c,u){var f=this.elems.slides.item(c),d=f;f.one("img,canvas")&&(d=f.one("img,canvas")),d&&f.getStyle("display")==="inline"&&(f=d);var h=u==="width"?"offsetWidth":"offsetHeight";return d.loader?d.loader.get("loaded")?d.loader.get("node").get(h):d.loader.getDimensionForValue(u,f.get(u==="width"?"offsetHeight":"offsetWidth")):f.get(h)},updateContainerHeight:function(){var c={container:this.elems.container};n.Lang.isObject(this.params.updateContainerHeight)&&(c=n.merge(c,this.params.updateContainerHeight));var u=this.getSlideDimension(this.data.currentIndex,"height");c.maxHeight&&u>c.maxHeight&&(u=c.maxHeight);var f=n.all(c.container);c.anim&&this._updateContainerHeightRanOnce?f.each(function(d){d.anim({},n.merge({to:{height:u},duration:.3,easing:n.Easing.easeOutStrong},c.anim)).run()}):f.setStyles({height:u}),this._updateContainerHeightRanOnce=!0},previousSlide:function(){var c=this.data.currentIndex-1;c<0&&!this.params.loop||this.fire("changeIndex",c)},nextSlide:function(){var c=this.data.currentIndex+1;c>=this.data.totalSlides&&!this.params.loop||this.fire("changeIndex",c)},beforeChange:function(c){this.params.loop||(this.params.next&&(c.toIndex>=this.data.totalSlides-1?n.all(this.params.next).addClass("disabled"):n.all(this.params.next).removeClass("disabled")),this.params.previous&&(c.toIndex<=0?n.all(this.params.previous).addClass("disabled"):n.all(this.params.previous).removeClass("disabled"))),this.fire("before-change",c)},afterChange:function(c){(this.params.currentIndex||this.params.totalSlides)&&(n.all(this.params.currentIndex).each(function(u){u.set("innerHTML",this.data.currentIndex+1)},this),n.all(this.params.totalSlides).each(function(u){u.set("innerHTML",this.data.totalSlides)},this)),this.params.historyHash&&this.history.replaceValue(this.params.historyHash,this.getCurrentSlideId()),this.fire("after-change",c)},changeIndex:function(c){this.fire("changeIndex",c)},_changeIndex:function(c){if(!n.Lang.isObject(c)&&(this.params.loop||(c<0&&(c=0),c>=this.data.totalSlides&&(c=this.data.totalSlides-1)),c<0&&(c=this.data.totalSlides+c),!(this.isInitialized&&this.data.currentIndex===c))){a&&console.log("Y.Squarespace.Gallery.changeIndex",[c]);var u=this.data.currentIndex,f=c%this.data.totalSlides,d=this.elems.slides,h=u===this.data.totalSlides-1&&f===0,g=u===0&&f===this.data.totalSlides-1,_;u<f&&!h&&!g||u>f&&h&&!g?_="fwd":(u>f&&!g||u<f&&g)&&(_="rev");var p={fromIndex:u,toIndex:f,direction:_};this.beforeChange(p),d.filter(".active").removeClass("active"),d.item(f).addClass("active"),this.fire("change",p),this.data.currentIndex=f,this.afterChange(p)}},loadSlides:function(c){var u=this.elems.container.all("img[data-src][data-image-dimensions][data-image-focal-point]");u.plug(n.Squarespace.Loader2,this.params.loaderOptions)}}),n.augment(n.Squarespace.Gallery,n.EventTarget),n.Squarespace.GalleryDesigns={},n.Squarespace.GalleryDesigns.off=i.create({gallery:!1,options:{},beforeChange:function(c){},afterChange:function(c){},change:function(c,u){},setup:function(){},getGallery:function(){return this.gallery},events:[]})},"1.0",{requires:["node","event-key","squarespace-image-loader","squarespace-legacy-class","squarespace-ui-base","history"]})},872801:function(){YUI.add("squarespace-gismo",function(b){b.Squarespace.GismoBase=function(){this._gismoEvents={},this._timers={},this._anims=this._anims||[]},b.Squarespace.GismoBase.prototype={destructor:function(){b.Object.each(this._gismoEvents,function(l,e){b.Array.invoke(l,"detach"),this._gismoEvents[e]=null},this),b.Object.each(this._timers,function(l,e){b.Array.invoke(l,"cancel"),this._timers[e]=null},this),this._anims.shift?(b.Array.invoke(this._anims,"destroy"),this._anims=null):this._anims.destructor&&this._anims.destructor()},_anim:function(l,e,r){var o=l.anim(e,r||{});return o.on("end",function(){this._anims.remove(o)},this),this._anims.push(o),o},_event:function(l,e){e=e||"generic",this._gismoEvents[e]=this._gismoEvents[e]||[],this._gismoEvents[e].push(l)},_getEvents:function(l){return this._gismoEvents[l||"generic"]},_flushEvents:function(l){var e=this._gismoEvents[l||"generic"];e&&(b.Array.invoke(e,"detach"),this._gismoEvents[l]=null)},_timer:function(l,e){e=e||"generic",this._timers[e]=this._timers[e]||[],this._timers[e].push(l)}}},"1.0",{requires:["array-invoke","squarespace-anims"]})},397302:function(b,l,e){"use strict";var r=e(916661);YUI.add("squarespace-image-loader",function(o){o.namespace("Squarespace"),o.Squarespace.Loader=o.Base.create("Loader",o.Base,[],{initializer:function(){this.get("frames")&&this._processFrames(),this.get("img")&&this._processImages()},_processFrames:function(){this._getNodeList("frames").each(function(n){n.getAttribute("data-embed")&&n.resizeToParent({scale:"contain",sizeOnly:!0})})},_processImages:function(){this._getNodeList("img").each(function(n){var a=!1;n.loader&&(a=!0),n.plug(o.Squarespace.Loader2,this.get("loaderOptions")||{}),a&&n.fire("refresh")},this)},_getNodeList:function(n){var a=this.get(n);return o.Lang.isString(a)?o.all(a):a.size?a:new o.NodeList(a)}},{ATTRS:{frames:{},img:{},loaderOptions:{}}}),o.Squarespace.Loader2=o.Base.create("Loader2",o.Plugin.Base,[],{initializer:function(){var n=this.get("host"),a=100,i=0;function c(){!n.inDoc()&&++i<a?o.later(10,this,c):this.load()}c.call(this),this.on("refresh",this.load,this),this.afterHostEvent("refresh",this.load,this)},_isInvalidHost:function(){return this.get("host").getDOMNode()===null||!this.get("host").inDoc()},load:function(){var n=this.get("host");if(n.getAttribute("src")&&n.get("complete")&&n.fire("loaded"),this.afterHostEvent("load",function(){this._isInvalidHost()||(this.get("host").removeClass("loading").addClass("loaded"),this.get("host").fire("loaded"))},this),this.afterHostEvent("loaded",function(){this.get("host").removeClass("loading").addClass("loaded")},this),!this._isInvalidHost()){var a=this.get("load"),i=r.Z.isSevenOne()&&o.config.win.ImageLoader.loadLazy&&a!=="viewport",c=(i?o.config.win.ImageLoader.loadLazy:o.config.win.ImageLoader.load).bind(o.config.win.ImageLoader),u=n.getDOMNode();!u||!u.ownerDocument.defaultView||c(u,o.merge(this.getAttrs(),{load:a}))}},getDimensionForValue:function(n,a){var i=this.get("host").getDOMNode(),c=o.config.win.ImageLoader._getDataFromNode(i);return o.config.win.ImageLoader.getDimensionForValue(n,a,c)},getBareElement:function(){var n=this.get("host"),a=o.Node.create("<img />");return a.setAttribute("data-src",n.getAttribute("data-src")),a.setAttribute("data-image-dimensions",n.getAttribute("data-image-dimensions")),a.setAttribute("data-image-focal-point",n.getAttribute("data-image-focal-point")),a.setAttribute("alt",n.getAttribute("alt")),a},destructor:function(){}},{NS:"loader",ATTRS:{stretch:{},load:{value:!0},source:{},fixedRatio:{value:!1},fitAlignment:{},fit:{value:!1,setter:function(n){n&&this.set("mode","fit")}},fill:{value:!1,setter:function(n){n&&this.set("mode","fill")}},focalPoint:{setter:function(n){return o.config.win.ImageLoader.load(this.get("host").getDOMNode(),{focalPoint:n.x+","+n.y}),n}},mode:{validator:function(n){return["fit","fill","none",null].indexOf(n)!==-1}},refreshOnResize:{value:!1},useBgImage:{validator:function(n){return o.Lang.isBoolean(n)}}}}),o.Squarespace.ImageLoadManager=new(o.Base.create("ImageLoadManager",o.Base,[],{refreshAll:function(){o.all("img[data-src]").each(function(n){n.fire("refresh")})}})),o.augment(o.Node,Class.create({refresh:function(){this.fire("refresh")}}))},"1.0",{requires:["base","node","plugin"]})},475123:function(){YUI.add("squarespace-legacy-class",function(b){b.namespace("Squarespace.Legacy"),b.Squarespace.Legacy.Class={create:function(l){var e;return l.initialize?e=function(){this.initialize.apply(this,arguments)}:e=function(){},e.prototype=l,e.extend=function(r){return Class.extend(this,r)},e.specialize=function(r,o){var n=Class.specialize(this,r);return n._parent=o,n},e},extend:function(l,e){e.initialize||(e.initialize=l.prototype.initialize);var r=Class.create(e),o=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;for(var n in l.prototype)r.prototype[n]?typeof r.prototype[n]=="function"&&o.test(r.prototype[n])&&(r.prototype[n]=function(a,i){return function(){var c=this._super;this._super=l.prototype[a];var u=i.apply(this,arguments);return this._super=c,u}}(n,r.prototype[n])):r.prototype[n]=l.prototype[n];return r.prototype.superclass=l.prototype,r},specialize:function(l,e){var r=Class.extend(l,e);return new r}}},"1.0",{requires:[]})},399603:function(b,l,e){"use strict";var r=e(408549);YUI.add("squarespace-logger",function(o){var n=[],a=null,i=o.Base.create("Logger",o.Base,[],{initializer:function(){o.one(o.config.win).on("beforeunload",this.flush,this),this._syncDebugActiveElement(),this.after("debugActiveElementChange",this._syncDebugActiveElement,this)},_syncDebugActiveElement:function(){this._debugActiveElementTimer&&this._debugActiveElementTimer.cancel(),this.get("debugActiveElement")&&(this._debugActiveElementTimer=o.later(500,this,function(){this.debug({focusElement:this._getDOMNodeDescriptor(o.config.doc.activeElement)})},null,!0))},_getDOMNodeDescriptor:function(c){c=o.one(c);var u=c.get("tagName").toLowerCase(),f=c.getAttribute("id"),d=c.get("className").split(" "),h="";return d.length>0&&(h="."+d.join("."),h.length>20&&(h=h.substr(0,20)+"\u2026")),u+(f?"#"+f:"")+h},enqueue:function(c){n.push(c),this.wait()},flush:function(c){try{clearTimeout(a)}catch{}a=null,n.length>0&&o.Data.post({url:"/api/events/Trace",data:{data:JSON.stringify(n)},failure:function(){}}),n=[]},wait:function(){a===null&&(a=setTimeout(o.bind(this.flush,this),this.get("timerLength")))},log:function(c,u){o.Lang.isValue(c)&&this.enqueue({pageUrl:document.location.href,type:c,data:JSON.stringify(o.Lang.isValue(u)?u:{})})},trace:function(c,u){try{var f={};f.lalala()}catch(d){this.log(c,o.merge(u,{stack:d.stack}))}},debug:function(c){var u=o.one("#logger-debug")||o.one(o.config.doc.body).appendChild(o.Node.create('<div id="logger-debug"></div>'));u.setStyles({position:"fixed",right:50,top:50,background:"rgba(150,100,100,0.9)",border:"solid 1px white",color:"white",borderRadius:"3px",padding:20,zIndex:1e7,fontSize:"10px"}),u.setContent((0,r.Z)('<xmp style="margin:0">{sub1}</xmp>',{sub1:JSON.stringify(c,null,2)}))}},{ATTRS:{timerLength:{value:30*1e3},debugActiveElement:{value:!1}}});o.namespace("Squarespace"),o.Squarespace.Logger||(o.Squarespace.Logger=new i)},"1.0",{requires:["base","event","io-base","node"]})},148475:function(){YUI.add("squarespace-mixins-event-registrar",function(b){b.namespace("Squarespace.Mixins"),b.Squarespace.Mixins.EventRegistrar=b.Base.create("eventRegistrar",b.Base,[],{destructor:function(){b.Array.invoke(this.get("eventListeners"),"detach")},_registerEvent:function(){if(b.Lang.isArray(arguments[0]))this._registerEvent.apply(this,arguments[0]);else for(var l=0,e=arguments.length;l<e;l++)b.Lang.isValue(arguments[l])&&this.get("eventListeners").push(arguments[l])}},{ATTRS:{eventListeners:{value:[]}}})},"1.0",{requires:["array-invoke","base"]})},97889:function(b,l,e){"use strict";var r=e(746429);YUI.add("squarespace-models-shopping-cart-facade",function(o){o.namespace("Squarespace.Singletons");var n=o.Base.create("ShoppingCartFacade",o.Base,[],{},{ATTRS:{id:{validator:o.Lang.isString},websiteId:{validator:o.Lang.isString},orderId:{validator:o.Lang.isString},created:{getter:function(a){return o.Lang.isValue(a)?new Date(a):null},setter:function(a){return o.Lang.isDate(a)?a.getTime():a},validator:o.Lang.isNumber},isPurchased:{value:!1,validator:o.Lang.isBoolean},entries:{value:[],validator:o.Lang.isArray},shippingOptions:{value:[],validator:o.Lang.isArray},selectedShippingOption:{validator:o.Lang.isObject},shippingLocation:{validator:o.Lang.isObject},applicableTaxRules:{value:[],validator:o.Lang.isArray},coupons:{value:[],validator:o.Lang.isArray},validCoupons:{value:[],validator:o.Lang.isArray},invalidCoupons:{value:[],validator:o.Lang.isArray},subtotalCents:{validator:o.Lang.isNumber,value:0},subtotalAmount:{value:(0,r.Wy)(0,"USD")},taxCents:{validator:o.Lang.isNumber,value:0},shippingCostCents:{validator:o.Lang.isNumber,value:0},discountCents:{validator:o.Lang.isNumber,value:0},grandTotalCents:{validator:o.Lang.isNumber,value:0},totalQuantity:{validator:o.Lang.isNumber,value:0},hasDigital:{validator:o.Lang.isBoolean,value:!1},purelyDigital:{validator:o.Lang.isBoolean,value:!1},requiresShipping:{validator:o.Lang.isBoolean,value:!1}}});o.Squarespace.Singletons.ShoppingCart=new n},"1.0",{requires:["base"]})},460974:function(){YUI.add("squarespace-plugin-lightbox2",function(b){b.namespace("Squarespace.Plugin"),b.Squarespace.Lightbox2Plug=b.Squarespace.Plugin.Lightbox2=b.Base.create("Lightbox2Plug",b.Plugin.Base,[b.Squarespace.GismoBase],{initializer:function(){this._event(this.get("host").on("click",function(l){l.preventDefault();var e=this;b.use("squarespace-ui-base",function(){var r=new b.Squarespace.Lightbox2(b.merge({content:b.Node.create(e.get("host").getAttribute("data-lightbox"))},e.get("lightboxOptions")));r.render()})},this))},destructor:function(){var l=this.get("lightboxOptions.content");l instanceof b.Node&&l.destroy(!0)}},{NS:"lightbox2plugin",ATTRS:{lightboxOptions:{}}})},"1.0",{requires:["base","node","plugin","squarespace-gismo","squarespace-widgets-lightbox2"]})},321010:function(){YUI.add("squarespace-plugin-node-destroy-notifier",function(b){b.Squarespace.NodeDestroyNotifier=b.SQS.Gallery.NodeDestroyNotifier},"1.0",{requires:["@sqs/yui-gallery/node-destroy-notifier"]})},669476:function(){YUI.add("squarespace-plugin-scroll-lock",function(b){b.namespace("Squarespace.Plugin").ScrollLock=b.Base.create("ScrollLock",b.Plugin.Base,[],{initializer:function(l){var e=this.get("host"),r=e.getDOMNode();this.listener=function(o){if(o.stopPropagation(),!b.Lang.isNumber(r.scrollTop))return o.preventDefault(),!1;var n=parseInt(e.getComputedStyle("height"),10),a=r.scrollTop,i=r.scrollHeight-n,c=o.wheelDelta||-o.detail;if(a<=0&&c>0||a>=i&&c<0)return o.preventDefault(),!1},r.addEventListener?(r.addEventListener("mousewheel",this.listener),r.addEventListener("DOMMouseScroll",this.listener),r.addEventListener("MozMousePixelScroll",this.listener)):r.attachEvent&&r.attachEvent("onmousewheel",this.listener)},destructor:function(){var l=this.get("host").getDOMNode();l.removeEventListener?(l.removeEventListener("mousewheel",this.listener),l.removeEventListener("DOMMouseScroll",this.listener),l.removeEventListener("MozMousePixelScroll",this.listener)):l.detachEvent&&l.detachEvent("onmousewheel",this.listener)}},{NS:"ScrollLock",ATTRS:{}})},"1.0",{requires:["base","node","plugin"]})},179760:function(){YUI.add("squarespace-promises",function(b){function l(){}var e=b.namespace("Squarespace.Promises");e.all=function(){var r=new b.Array(arguments);return new b.Promise(function(o,n){var a=[],i=r.length,c=0,u=function(f){return function(d){c++,a[f]=d,c>=i&&o(a)}};if(i===0)return o([]);b.Array.each(r,function(f,d){b.when(f).then(u(d),n)})})},e.resolve=function(r,o){return r.then(o)},e.reject=function(r,o){return r.then(l,o)},e.rejectWith=function(r){return b.Squarespace.Promises.create(function(o,n){n(r)})},e.finish=function(r,o){return r.then(o,o)},e.chainFns=function(r,o){return function(){o=o||this;var n=r.length>0?r.shift().apply(o,arguments):b.when(),a=function(i,c){return b.Squarespace.Promises.resolve(b.when(i),b.bind(c,o))};return b.Array.reduce(r,n,a)}},e.create=function(r,o){return new b.Promise(b.bind(r,o))}},"1.0",{requires:["promise"]})},775:function(b,l,e){"use strict";var r=e(924270),o=e.n(r),n=e(754299),a=e.n(n),i=e(714487),c=e(623040),u=e(916661);YUI.add("squarespace-public-api",function(f){f.namespace("Squarespace");var d=u.Z.isSevenOne();d?(f.config.win.ImageLoader=new(a()).Builder({allowConcurrentLoads:!0}).withLazyLoading().build(),f.config.win.ImageLoader.bootstrap=f.config.win.ImageLoader.loadAllLazy):(f.config.win.ImageLoader=new(o())({allowConcurrentLoads:!0}),f.config.win.ImageLoader.bootstrap=f.config.win.ImageLoader.loadAll),f.Squarespace.Template=c.Z.create({getTweakValue:function(g){if(g&&f.config.win.Static.SQUARESPACE_CONTEXT.tweakJSON)return f.config.win.Static.SQUARESPACE_CONTEXT.tweakJSON[g]||f.config.win.Static.SQUARESPACE_CONTEXT.tweakJSON[g.replace("@","").replace(".","")]}}),f.augment(f.Node,f.Squarespace.Legacy.Class.create({width:function(){return this.get("offsetWidth")},height:function(){return this.get("offsetHeight")}}));var h=[];f.config.win.JSTween={tween:function(g,_){console.error((0,i.t)("You are using the Squarespace provided global JSTween which is no longer supported. Please either remove your usage of JSTween or include JSTween yourself.",null,{project:"scripts-v6-root"})),h.push({node:g,config:_})},play:function(){h.forEach(function(g){console.error((0,i.t)("You are using the Squarespace provided global JSTween which is no longer supported. Please either remove your usage of JSTween or include JSTween yourself.",null,{project:"scripts-v6-root"}));var _=g.node,p=g.config,y={},O={},P=[],C=[];for(var A in p)y[A]=p[A].start,O[A]=p[A].stop,p[A].onStart&&P.push(p[A].onStart),p[A].onStop&&C.push(p[A].onStop);f.one(_).anim(O,{from:y,duration:p[Object.keys(p)[0]].duration,start:function(){P.forEach(function(S){S()})},end:function(){C.forEach(function(S){S()})}}).run()}),h=[]}}},"1.0",{requires:["history","node","node-event-simulate","node-load","squarespace-dom-emitters-resize","squarespace-gallery-manager","squarespace-gallery-ng","squarespace-legacy-class","thirdparty-modernizr","yui-throttle"]})},964129:function(b,l,e){"use strict";var r=e(131626),o=e.n(r);YUI.add("querystring-parse",function(n,a){var i=n.namespace("QueryString");i.parse=function(c){return o().parse(c)},i.unescape=function(c){return decodeURIComponent(c.replace(/\+/g," "))}},"3.17.2",{requires:["yui-base","array-extras"]})},510399:function(b,l,e){"use strict";var r=e(341237),o=e.n(r),n=e(941856),a=e.n(n),i=e(743932),c=e(474863),u=e.n(c),f=e(51852),d=e.n(f),h=e(159585),g=e.n(h),_=e(606536),p=e.n(_),y=e(797057),O=e.n(y),P=e(922770),C=e.n(P),A=e(917645),S=e.n(A),T=e(659413),s=e.n(T),v=e(132266),m=e.n(v),E=e(756426),I=e.n(E),L=e(60471),W=e.n(L),F=e(115470),G=e.n(F),k=e(585784),x=e.n(k),M=e(786763),B=e.n(M),R=e(508996),U=e.n(R),j=e(230070),$=e.n(j),ee=e(179760),te=e.n(ee),ie=e(244345),ne=e.n(ie),pe=e(287917),oe=e.n(pe),q=e(654618),J=e.n(q),me=e(820067),re=e.n(me),he=e(162995),Ee=e(514054),fe=e.n(Ee),H=e(317375),z=e.n(H),_e=e(68367),ae=e.n(_e),ge=e(577679),Be=e.n(ge),Ke=e(239429),He=e.n(Ke),ye=e(723949),Le=e.n(ye),Ue=e(383324),Xe=e.n(Ue),Fe=e(134495),ht=e.n(Fe),Ne=e(743384),Ce=e.n(Ne),we=e(630173),$e=e.n(we),Ot=e(33146),Pt=e.n(Ot),Ie=e(24717),Bt=e.n(Ie),mt=e(402359),rt=e.n(mt),ce=e(353015),Re=e.n(ce),nt=e(657649),st=e.n(nt),vt=e(753),ze=e.n(vt),It=e(513626),on=e.n(It),Pn=e(865378),Yn=e.n(Pn),Ln=e(439343),bn=e(975042),ir=e.n(bn),Zn=e(577089),$n=e(245518),jt=e.n($n),Rn=e(989746),jn=e.n(Rn),Tn=e(481133),Nn=e.n(Tn),cn=e(125057),or=e.n(cn),qn=e(541903),Hr=e.n(qn),fo=e(950122),Jr=e.n(fo),ro=e(130110),Xt=e.n(ro),Je=e(105495),At=e.n(Je),xt=e(540856),Qt=e.n(xt),qt=e(559747),Te=e.n(qt),Gt=e(192312),un=e.n(Gt),Vt=e(773452),Dn=e.n(Vt),Wt=e(924999),Pe=e.n(Wt),xe=e(931619),Ae=e.n(xe),qe=e(85548),wt=e(960692),kt=e.n(wt),ut=e(878515),Ft=e.n(ut),tn=e(794783),In=e.n(tn),rr=e(568096),Sr=e.n(rr),Yr=e(263446),Pr=e.n(Yr),Mn=e(605585),sr=e.n(Mn),Ar=e(699993),vr=e.n(Ar),qr=e(305531),Dr=e.n(qr),eo=e(991950),Vo=e.n(eo),Bn=e(918916),ar=e.n(Bn),rn=e(668205),Rt=e.n(rn),Qe=e(480149),Ye=e.n(Qe),yt=e(95084),Ze=e.n(yt),Mt=e(479839),ot=e.n(Mt),et=e(343140),St=e.n(et),Ht=e(821303),er=e.n(Ht),Mr=e(18709),mn=e.n(Mr),Un=e(98315),hr=e.n(Un),br=e(522353),io=e.n(br),Kr=e(614722),xo=e.n(Kr),Ho=e(693373),bo=e.n(Ho),Ea=e(964129),Ia=e(3299),Da=e.n(Ia),Za=e(794964),Xa=e.n(Za),ba=e(609794),ns=e.n(ba),Ja=e(27538),Is=e(694671),Vr=e(523572),Qr=e.n(Vr),To=e(913518),xr=e.n(To),uo=e(399603),Mo=e(321010),go=e.n(Mo),ea=e(843326),ha=e.n(ea),yr=e(775),Lr=e(163562),ao=e.n(Lr),ho=e(213978),Lo=e.n(ho),Yo=e(484989),jo=e.n(Yo),Xo=e(827476),Ua=e.n(Xo),ds=e(277200),us=e.n(ds),ys=e(859077),Ys=e.n(ys),Gs=e(489565),xs=e.n(Gs),Ai=e(599302),Pi=e.n(Ai),ei=e(983810),hi=e.n(ei),ks=e(687596),Ms=e.n(ks),bs=e(405144),Hs=e.n(bs),Os=e(397302),Vs=e(460974),_s=e.n(Vs),fs=e(872801),Ss=e.n(fs),hs=e(623339),li=e.n(hs),Ni=e(399296),Ji=e.n(Ni),wi=e(241601),vi=e.n(wi),sl=e(554671),Zi=e(819406),Zs=e.n(Zi),Bs=e(476008),ti=e.n(Bs),gi=e(165221),yi=e.n(gi),ki=e(669476),bi=e.n(ki),nl=e(127714),Si=e.n(nl),ta=e(331623),ke=e.n(ta),Jt=e(330171),Fn=e(741471),mr=e(725707),Tr=e.n(mr),Oo=e(100602),Uo=e.n(Oo),gt=e(649253),it=e.n(gt),Lt=e(521956),$t=e.n(Lt),_n=e(221634),dn=e.n(_n),Jn=e(34813),Hn=e.n(Jn),jr=e(398089),wo=e.n(jr),ko=e(455677),Sa=e.n(ko),Na=e(677582),qa=e.n(Na),ms=e(464180),Us=e.n(ms),$i=e(869525),Mi=e.n($i),si=e(185222),rl=e.n(si),El=e(367919),Ui=e.n(El),il=e(82422),fl=e.n(il),oi=e(112514),Nl=e.n(oi),xl=e(367608),Ic=e.n(xl),Kl=e(849541),Jl=e.n(Kl),Vi=e(297613),_c=e.n(Vi),mc=e(975986),zl=e.n(mc),$l=e(500393),ln=e.n($l),sn=e(584872),zn=e.n(sn),Er=e(648276),zr=e.n(Er),Ao=e(755579),Zo=e.n(Ao),ia=e(991206),So=e.n(ia),Ha=e(548543),is=e.n(Ha),as=e(553502),es=e.n(as),Qs=e(591321),Rs=e.n(Qs),rs=e(652762),Cs=e.n(rs),Fs=e(926654),Ks=e.n(Fs),Ls=e(400982),Js=e.n(Ls),Ts=e(527191),zs=e.n(Ts),Bi=e(482462),qs=e.n(Bi),Ti=e(976309),ui=e.n(Ti),qi=e(475123),Ko=e.n(qi),Ur=e(232630),aa=e.n(Ur),ca=e(418360),As=e(250172),Ri=e(852490),Ei=e(800180),pi=e(97889),Gi=e(178577),Eo=e.n(Gi),_l=e(217713),Al=e(815464),Pl=e(148475),Wi=e.n(Pl),Mc=e(551375),Fc=e.n(Mc),Ou=e(14590),Rl=e.n(Ou)},178577:function(){YUI.add("squarespace-spinner",function(b){b.namespace("Squarespace").Spinner=b.Base.create("Spinner",b.Widget,[],{renderUI:function(){this.get("boundingBox").addClass(this.get("color"));var l=this.get("size");b.Lang.isNumber(l)||this.get("boundingBox").addClass(l)},spin:function(){this.get("boundingBox").show()},stop:function(){this.get("boundingBox").hide()},addClass:function(l){this.get("boundingBox").addClass(l)}},{CSS_PREFIX:"sqs-spin",NS:"spinner",ATTRS:{size:{value:"default",setter:function(l){return b.Lang.isNumber(l)&&(this.set("width",l),this.set("height",l)),l}},color:{value:"light"}}})},"1.0",{requires:["base","widget"]})},694671:function(b,l,e){"use strict";var r=e(714487),o=e(408549),n=e(924647),a=e(659519);YUI.add("squarespace-system-error",function(i){i.namespace("Squarespace"),i.Squarespace.SystemError=Class.create({initialize:function(c,u,f){this.url=i.Squarespace.Escaping.escapeForHtml(c),this.data=u,this.format=f,i.config.win.__clearError=this.clear},clear:function(){i.one(".sqs-system-error").remove(),i.one(n.j8+".sqs-system-error-overlay").remove()},show:function(){var c,u="";if(this.data.cleaned)c='<div style="font-weight: normal; font-size: 22px; margin-top: -2px;">'+(0,r.t)("Something Went Wrong!",null,{project:"scripts-v6-root"})+'</div><div style="font-weight: normal; font-size: 13px; padding-top: 5px;">'+(0,r.t)("Our system has encountered an error.  This exception has been automatically logged and reported.  We will return shortly.",null,{project:"scripts-v6-root"})+"</div>";else if(this.data.network){if(u=(0,r.t)("Unable to connect to Squarespace.  Please try again.",null,{project:"scripts-v6-root"}),i.Lang.isString(this.data.error)&&this.data.error.length>0&&(u=this.data.error),c='<div style="font-weight: normal; font-size: 17px;">'+u+"</div>",this.url)try{(0,a.Z)("system_network_error",{urlRequested:this.url})}catch{}}else u=i.Squarespace.Escaping.escapeForHtml(this.data.error||this.data.message||""),c=(0,o.Z)('<div style="font-weight: normal; font-size: 17px;">{sub1} &nbsp;<span style="color: #888;">({sub2})</span></div><br/><pre>{sub3}</pre>',{sub1:this.url,sub2:this.format.toUpperCase(),sub3:u.replace(new RegExp(`
`,"g"),"<br/>")});if(!i.one(".sqs-system-error")){var f='<input type="button" value="Clear" onclick="Y.config.win.__clearError();"/>',d="position: absolute; -webkit-user-select: text; left: 25px; top: 25px; right: 25px; font-size: 12px; color: #fff; padding: 26px 20px 20px 80px; border-radius: 5px; overflow: auto; height: 90%; z-index: 10000001;",h=c+'<br/><br/><input type="button" value="'+(0,r.t)("Reload Page",null,{project:"scripts-v6-root"})+'" onclick="Y.config.doc.location.reload();"/> &nbsp; ';h+=f+"<br/><br/><br/>",this.data.errorKey&&(h+='<span style="color: #777; font-size: 10px;">'+this.data.errorKey+"</span>"),this.errorEl=i.Node.create('<div class="sqs-system-error" style="'+d+'">'+h+"</div>"),i.one(i.config.doc.body).append(this.errorEl),this.overlayEl=i.Node.create('<div class="'+n.jI+' sqs-system-error-overlay"></div>'),this.overlayEl.setStyles({zIndex:1e7}),i.one(i.config.doc.body).append(this.overlayEl);var g=new i.Anim({node:this.overlayEl,to:{opacity:1},duration:.35,easing:i.Easing.easeOutStrong});g.run()}}})},"1.0",{requires:["squarespace-escaping-utils","squarespace-util"]})},127714:function(){YUI.add("squarespace-touch-event-listener",function(b){b.Squarespace.TouchEventListener=b.SQS.Gallery.TouchEventListener},"1.0",{requires:["@sqs/yui-gallery/touch-event-listener"]})},741471:function(b,l,e){"use strict";var r=e(714487),o=e(629539),n=e(924647);YUI.add("squarespace-ui-base",function(a){a.namespace("Squarespace"),a.mix(a.Node.DOM_EVENTS,{message:!0}),a.Squarespace.DIALOG_ZINDEX_BASE=n.Ue.BASE,a.Anim._intervalTime=10;var i=Number;a.Anim.DEFAULT_SETTER=function(c,u,f,d,h,g,_,p){var y=c._node,O=y._node,P=_(h,i(f),i(d)-i(f),g);y._node!==null&&(O?"style"in O&&(u in O.style||u in a.DOM.CUSTOM_STYLES)?(p=p||"",y.setStyle(u,P+p)):"attributes"in O&&u in O.attributes?y.setAttribute(u,P):u in O&&(O[u]=P):y.set?y.set(u,P):u in y&&(y[u]=P))},a.Squarespace.TextShrink=a.Base.create("TextShrink",a.Plugin.Base,[],{initializer:function(){var c=this.get("host");a.Lang.isValue(this.get("parentEl"))||this.set("parentEl",c.ancestor()),this._setupEl(),a.on("domready",this.refresh,this),this._resizeEvent=a.on("resize",function(){this._timeout&&this._timeout.cancel(),this._timeout=a.later(100,this,this.refresh)},a.config.win,this),this._tweakChange=a.Global.on("tweak:change",this.refresh,this),this._tweakSaveResetClose=a.Global.on(["tweak:save","tweak:reset","tweak:close"],this.refresh,this)},refresh:function(){this._reset(),this._setupEl(),this._adjust()},isOverflowing:function(){var c=this._getWidths();return Math.abs(c.el-c.parentEl)<=3&&(c.el=c.parentEl=Math.min(c.el,c.parentEl)),c.el>c.parentEl},_adjust:function(){var c=this.get("host"),u=this._getWidths();if(this.isOverflowing()){var f=this._getStyleValue(c,"fontSize");f=u.parentEl/u.el*f,this._setFontSize(Math.floor(f))}return!0},_setFontSize:function(c){var u=this.get("host"),f=this.get("minFontSize");f&&c<f&&(c=f),isNaN(c)||u.setStyle("fontSize",c+"px")},_getStyleValue:function(c,u){return parseInt(c.getStyle(u),10)},_getWidths:function(){var c=this.get("host"),u=this.get("parentEl"),f=c.get("scrollWidth"),d=this._getStyleValue(u,"paddingLeft")+this._getStyleValue(u,"paddingRight"),h=u.get("offsetWidth")-d;return(f===0||!a.Lang.isValue(f))&&(f=c.get("offsetWidth")),{parentEl:h,el:f}},_setupEl:function(){var c=this.get("host");c.setAttribute("data-shrink-original-size",this._getStyleValue(c,"fontSize")),this.letterSpacing=this._getStyleValue(c,"letterSpacing")/c.getAttribute("data-shrink-original-size")+"em",c.setStyle("letterSpacing",this.letterSpacing)},_reset:function(){var c=this.get("host");c.setStyles({letterSpacing:null,fontSize:null})},destructor:function(){this._resizeEvent&&this._resizeEvent.detach(),this._tweakChange&&this._tweakChange.detach(),this._tweakSaveResetClose&&this._tweakSaveResetClose.detach()}},{ATTRS:{minFontSize:{value:11},parentEl:{value:null}},NS:"TextShrink"}),a.Squarespace.SimpleFlexibleGrid=a.Base.create("SimpleFlexibleGrid",a.Plugin.Base,[],{initializer:function(){this._stylesheetEl=a.Node.create("<style></style>"),this.get("host").append(this._stylesheetEl),this._resizeEvent=a.on("resize",this.syncUI,a.config.win,this),this.syncUI()},syncUI:function(){var c;this.get("minWidth")?c=Math.floor(this.get("container").get("offsetWidth")/this.get("minWidth")):c=Math.ceil(this.get("container").get("offsetWidth")/this.get("maxWidth")),this._stylesheetEl.set("innerHTML",this.get("selector")+"{width:"+100/c+"% !important;}"),this.get("host").fire("simpleFlexibleGridSyncUI")},destructor:function(){this._stylesheetEl.remove(),this._resizeEvent.detach()}},{ATTRS:{container:{},selector:{},maxWidth:{},minWidth:{}},NS:"simple-flexible-grid"}),a.Squarespace.Mouse={lastX:100,lastY:100,client:{lastX:100,lastY:100},debug:function(){this.isDebugging=!0,this._debugNode||(this._debugNode=a.one(a.config.doc.body).appendChild("<div></div>"),this._debugNode.setStyles({position:"fixed",width:50,height:50,borderRadius:"50%",background:"rgba(20, 170, 255, 0.5)",marginLeft:-25,marginTop:-25,zIndex:Math.pow(10,5),pointerEvents:"none"})),this._debugNode.setStyles({top:a.Squarespace.Mouse.lastY,left:a.Squarespace.Mouse.lastX})}},a.Object.getValue(a.config.win,"Static.SQUARESPACE_CONTEXT.authenticatedAccount".split("."))&&a.on(a.UA.mobile?"touchmove":"mousemove",function(c){a.Squarespace.Mouse.lastX=c.pageX,a.Squarespace.Mouse.lastY=c.pageY,a.Squarespace.Mouse.client.lastX=c.clientX,a.Squarespace.Mouse.client.lastY=c.clientY,a.Squarespace.Mouse.isDebugging&&a.Squarespace.Mouse.debug()},a.one("html")),a.Squarespace.Image={loadAndFit:function(c,u){var f=new Image;f.src=u,a.one(f).on("load",function(d,h,g){h.set("src",g.src),h.resizeToParent({scale:"cover"})},this,c,f)},straighten:function(c,u,f,d){var h=(d<0?360-d:d)%360,g=h;h>=90&&(g=h%90-90),h>=180&&(g=-1*h%180-180),h>=270&&(g=h%270-90);var _=Math.abs(g)*(Math.PI/180),p;f>u?p=(u*Math.cos(_)+f*Math.sin(_))/u:p=(f*Math.cos(_)+u*Math.sin(_))/f,c.setStyle("transform","rotate("+d+"deg) scale("+Math.abs(p)+")")}},a.Squarespace.Position=Class.create({initialize:function(c){this.EDGE_MARGIN=20,this.avoidElX=c.avoidElX,this.avoidElY=c.avoidElY,this.xdir=c.xdir,this.ydir=c.ydir,this.x=c.x,this.y=c.y,this.xo=c.xo?c.xo:0,this.yo=c.yo?c.yo:0,this.w=c.w,this.h=c.h,this.initialX=this.getX(),this.initialY=this.getY()},setX:function(c){this.x=c},setY:function(c){this.y=c},getX:function(){return this.x+this.getXO()},getY:function(){return this.y+this.getYO()},getXY:function(){return[this.getX(),this.getY()]},getXAdj:function(){return this.initialX-this.getX()},getYAdj:function(){return this.initialY-this.getY()},getXO:function(){return(this.avoidElX&&this.xdir==="right"?this.avoidElX.get("offsetWidth"):0)+this.xo},getYO:function(){return(this.avoidElY&&this.ydir==="top"?-this.avoidElY.get("offsetHeight"):0)+this.yo},isRightViolation:function(){return this.x+this.w-Math.abs(this.getXO())+this.EDGE_MARGIN>a.one(document.body).get("winWidth")},isLeftViolation:function(){return this.x-Math.abs(this.getXO())-this.EDGE_MARGIN<0},isTopViolation:function(){return this.y-Math.abs(this.getYO())-this.EDGE_MARGIN<a.one(document.body).get("docScrollY")},isBottomViolation:function(){return this.y+this.h-Math.abs(this.getYO())+this.EDGE_MARGIN>a.one(document.body).get("winHeight")+a.one(document.body).get("docScrollY")},reflectFix:function(){this.xdir==="right"&&this.isRightViolation()?(this.xdir="left",this.getX=function(){return this.x-this.w-this.getXO()+11}):this.xdir==="left"&&this.isLeftViolation()&&(this.xdir="right",this.getX=function(){return this.x+this.w+this.getXO()}),this.ydir==="bottom"&&this.isBottomViolation()?(this.ydir="top",this.getY=function(){return this.y-this.h-this.getYO()},console.log("bottom violation .. now "+this.getY())):this.ydir==="top"&&this.isTopViolation()&&(this.ydir="bottom",this.getY=function(){return this.y+this.h+this.getYO()},console.log("top violation")),this.getY()-this.EDGE_MARGIN<0?(this.getY=function(){return a.one(document.body).get("winHeight")-this.h-this.EDGE_MARGIN},this.ydir="bottom"):this.getY()+this.h+this.EDGE_MARGIN>a.one(document.body).get("winHeight")+a.one(document.body).get("docScrollY")&&(this.getY=function(){return a.one(document.body).get("winHeight")+a.one(document.body).get("docScrollY")-this.EDGE_MARGIN-this.h},this.ydir="top"),this.getX()-this.EDGE_MARGIN<0?(this.getX=function(){return this.EDGE_MARGIN},this.ydir="left"):this.getX()+this.w+this.EDGE_MARGIN>a.one(document.body).get("winWidth")&&(this.getX=function(){return a.one(document.body).get("winWidth")-this.w-this.EDGE_MARGIN},this.ydir="right"),this.getY()<a.one(document.body).get("docScrollY")&&(console.log("fixing y offscreen issues."),this.yo=a.one(document.body).get("docScrollY")+this.EDGE_MARGIN-this.y)},nudgeFix:function(){this.isRightViolation()?this.getX=function(){return a.one(document.body).get("winWidth")+a.one(document.body).get("docScrollX")-this.w-this.EDGE_MARGIN}:this.isLeftViolation()&&(this.getX=function(){return this.EDGE_MARGIN}),this.isBottomViolation()?this.getY=function(){return a.one(document.body).get("winHeight")+a.one(document.body).get("docScrollY")-this.h-this.EDGE_MARGIN}:this.isTopViolation()&&(this.getY=function(){return this.EDGE_MARGIN})},overflowFix:function(){this.isRightViolation()?this.x=a.one(document.body).get("winWidth")+a.one(document.body).get("docScrollX")-this.w-this.EDGE_MARGIN:this.isLeftViolation()&&(this.x=this.EDGE_MARGIN),this.isBottomViolation()?this.y=a.one(document.body).get("winHeight")+a.one(document.body).get("docScrollY")-this.h-this.EDGE_MARGIN:this.y-Math.abs(this.getXO())-this.EDGE_MARGIN<0&&(this.y=this.EDGE_MARGIN)}}),a.Squarespace.ToolTipManager={canShow:!0,disableTooltips:function(){this.canShow=!1,this.currentTip&&(this.currentTip.hide(),this.currentTip=null)},enableTooltips:function(){this.canShow=!0}},a.Squarespace.ToolTip=Class.create({initialize:function(c){this.params=c;var u=a.all(this.params.target);u.size()!==0&&(this.params.showTimeout===void 0&&(this.params.showTimeout=1200),this.params.width===void 0&&(this.params.width=250),this.params.style===void 0&&(this.params.style="info"),this.mouseOffset=15,this.events=[],u.each(function(f){this.events.push(f.on("mouseover",function(d){this.lastX=d.pageX,this.lastY=d.pageY,this.move(),!this.showTimer&&(this.showTimer=a.later(this.params.showTimeout,this,this.show))},this)),this.events.push(f.on("mouseout",function(d){this.showTimer&&(this.showTimer.cancel(),this.showTimer=null),this.hide()},this)),this.events.push(f.on("click",function(d){this.params.clickToShow?(this.show(),d.halt()):this.hide()},this))},this),this.events.push(a.Global.on("manager:change-mode",function(f){this.hide()},this)))},destroy:function(){for(var c=0;c<this.events.length;++c)this.events[c].detach();this.el&&(this.el.remove(),this.el=null),this.events=[],this.destroyed=!0,this.shown=!1},move:function(){this.el&&(this.position.x=this.lastX,this.position.y=this.lastY,this.a?this.el.setStyles({left:this.position.getX()+"px"}):this.el.setStyles({left:this.position.getX()+"px",top:this.position.getY()+"px"}))},show:function(){this.el||this.destroyed||this.shown||!a.Squarespace.ToolTipManager.canShow&&!this.params.dialogTooltip||(this.el=a.Node.create('<div class="sqsp-tooltip "'+this.params.style+'><div class="title">'+this.params.title+"</div></div>"),this.params.body&&this.el.append('<div class="description">'+this.params.body+"</div>"),a.one(document.body).append(this.el),this.position=new a.Squarespace.Position({xdir:"right",ydir:"bottom",x:this.lastX,y:this.lastY,xo:this.mouseOffset,yo:this.mouseOffset,w:this.el.get("offsetWidth"),h:this.el.get("offsetHeight")}),this.position.reflectFix(),this.el.setStyles({left:this.position.getX()+"px",top:this.position.getY()-this.position.yo+"px",width:this.params.width+"px",zIndex:2000000001,opacity:0}),this.params.icon&&this.el.setStyle("backgroundImage","url("+this.params.icon+")"),this.shown=!0,this.a=new a.Anim({node:this.el,to:{top:this.position.getY(),opacity:1},duration:.3,easing:a.Easing.easeOutStrong}),this.a.on("end",function(){this.a=null},this),this.a.run(),a.Squarespace.ToolTipManager.currentTip=this)},hide:function(){if(this.el){var c=new a.Anim({node:this.el,to:{top:this.position.getY()+15,opacity:0},duration:.3,easing:a.Easing.easeOutStrong});c.on("end",function(){this.get("node").remove()}),c.run(),this.el=null,this.a=null,this.shown=!1}}}),a.Squarespace.Lightbox=Class.create({defaultOpts:{overlayShowDuration:.35,contentShowDuration:.6,margin:0,opacity:1,transition:"fade",clickAnywhereToExit:!0,name:null,content:"<div>&nbsp;</div>",theme:"black",overlayStyle:"orb"},name:"Lightbox",initialize:function(c){this.enabled=!0,this.params=a.merge(this.defaultOpts,c),this.params.containerNode||(this.params.containerNode=a.one("body")),this.params.transition||(this.params.transition="fade"),this.params.zIndex||(a.Squarespace.DIALOG_ZINDEX_BASE+=10,this.params.zIndex=a.Squarespace.DIALOG_ZINDEX_BASE),this.events=[]},enable:function(){this.enabled=!0,this.overlayEl&&this.overlayEl.setStyle("display","block")},disable:function(){this.enabled=!1,this.overlayEl&&this.overlayEl.setStyle("display","none")},getContentEl:function(){return this.contentEl},show:function(){var c="sqs-lightbox"+(this.params.name?" sqs-lightbox-"+this.params.name:"");if(a.Lang.isArray(this.params.classNames)&&(c=c+" "+this.params.classNames.join(" ")),this.contentEl=a.Node.create('<div class="'+c+'"></div>'),a.Lang.isArray(this.params.content)?this.params.content.forEach(function(f){this.contentEl.append(f)},this):this.contentEl.append(this.params.content),this.contentEl.setStyles({position:"fixed",opacity:"0",zIndex:this.params.zIndex}),this.events.push(a.on("resize",this.position,a.one(window),this)),this.params.disableNormalClose||a.Squarespace.EscManager.addTarget(this),this.params.containerNode.append(this.contentEl),this.params.contentOnly)this._showContent();else{var u="sqs-lightbox-overlay"+(this.params.name?" sqs-lightbox-overlay-"+this.params.name:"")+" "+this.params.theme;this.params.name&&(u+=" sqs-lightbox-overlay-"+this.params.name),this.params.overlayStyle&&(u+=" sqs-lightbox-overlay-style-"+this.params.overlayStyle),a.Lang.isArray(this.params.classNames)&&(u=u+" "+this.params.classNames.join(" ")),this.overlayEl=a.Node.create('<div class="'+u+'"></div>'),this.overlayEl.setStyles({zIndex:this.params.zIndex-1}),this.params.containerNode.append(this.overlayEl),this.fire("showing"),this.a=a.Squarespace.Transitions.getTransition({el:this.overlayEl,opacity:this.params.opacity,name:"fade",direction:"in",duration:this.params.overlayShowDuration}),this.a.on("end",function(){this.fire("overlay-visible"),this.a=null,this._showContent()},this),this.a.run(),this.params.disableNormalClose?this.events.push(a.on("click",function(f){f.halt()},this.overlayEl,this)):this.events.push(a.on("click",this.close,this.overlayEl,this))}this.params.clickAnywhereToExit&&this.events.push(a.on("click",this.hide,this.contentEl,this))},position:function(){if(this.enabled){var c=a.one(document).get("winWidth"),u=a.one(document).get("winHeight"),f,d;c<this.naturalW+this.params.margin*2?f=c-this.params.margin*2:f=this.naturalW,u<this.naturalH+this.params.margin*2?d=u-this.params.margin*2:d=this.naturalH;var h=(c-f)/2,g=(u-d)/2;this.contentAttached&&(this.contentEl.setStyles({left:h+"px",top:g+"px",width:f+"px"}),this.params.noHeightConstrain||this.contentEl.setStyles({height:d+"px"}),this.resizeTarget&&this.resizeTarget.resizeToParent({scale:"contain"})),this.fire("position",{width:f,height:d,verticalWidth:c,verticalHeight:u,maxWidth:c-this.params.margin*2,maxHeight:u-this.params.margin*2})}},_showContent:function(){this.contentAttached=!0,this.resizeTarget=this.contentEl.one(".resize-target"),this.naturalW=this.contentEl.one("*").get("offsetWidth"),this.naturalH=this.params.height||this.contentEl.one("*").get("offsetHeight"),this.position(),this.fire("content-ready");var c=a.Squarespace.Transitions.getTransition({el:this.contentEl,name:this.params.transition,direction:"in",duration:this.params.contentShowDuration});c.on("end",function(){this.fire("content-visible")},this),c.run()},close:function(c){!this.params.clickAnywhereToExit&&(!c||this.overlayEl&&this.overlayEl.compareTo(c.target))||this.hide()},hide:function(){var c;this.enabled&&(this.a&&this.a.stop(),this.a=null,this.fire("hiding"),a.Squarespace.EscManager.removeTarget(this),this.overlayEl&&(c=a.Squarespace.Transitions.getTransition({el:this.overlayEl,name:"fade",direction:"out",duration:this.params.overlayShowDuration}),this.params.overlayShowDuration>this.params.contentShowDuration&&(this.a=c),c.run()),c=a.Squarespace.Transitions.getTransition({el:this.contentEl,name:this.params.transition,direction:"out",duration:this.params.contentShowDuration}),this.a||(this.a=c),c.run(),this.a.on("end",function(){this.destroy(),this.fire("hidden")},this))},destroy:function(){for(var c=0;c<this.events.length;++c)this.events[c].detach();this.contentEl&&this.contentEl.remove(),this.overlayEl&&this.overlayEl.remove(),this.contentEl=null,this.overlayEl=null,this.events=[]}}),a.augment(a.Squarespace.Lightbox,a.EventTarget),a.Squarespace.CustomAnim=Class.create({initialize:function(c){this.params=c},cancel:function(){},stop:function(){}}),a.augment(a.Squarespace.CustomAnim,a.EventTarget),a.augment(a.Squarespace.CustomAnim,a.Attribute),a.Squarespace.Transitions={STANDARD_DURATION:.3,getTransition:function(c){return!c.el||!c.el._node?new a.Anim:(c.duration||(c.duration=a.Squarespace.Transitions.STANDARD_DURATION),a.Squarespace.Transitions.transitionsByName[c.name](c))},transitionsByName:{fade:function(c){return new a.Anim({node:c.el,to:{opacity:a.Lang.isValue(c.opacity)?c.opacity:c.direction==="in"?1:0},duration:a.Squarespace.Transitions.STANDARD_DURATION,easing:a.Easing.easeOutStrong})},scale:function(c){return new(Class.extend(a.Squarespace.CustomAnim,{run:function(){c.opacity||(c.opacity=1),a.Lang.isValue(c.duration)||(c.duration=a.Squarespace.Transitions.STANDARD_DURATION);var u=this.params.el;this.params.direction==="in"?(u.setStyles({transform:"scale(.95)",opacity:0}),a.later(10,u,u.setStyles,{transitionProperty:"transform, opacity",transitionDuration:c.duration+"s",transitionTimingFunction:"ease-out","backface-visibility":"hidden"}),a.later(20,u,u.setStyles,{transform:"scale(1)",opacity:c.opacity})):(u.setStyles({transform:"scale(1)",opacity:c.opacity}),a.later(10,u,u.setStyles,{transitionProperty:"transform, opacity",transitionDuration:c.duration+"s",transitionTimingFunction:"ease-out",backfaceVisibility:"hidden"}),a.later(20,u,u.setStyles,{transform:"scale(.95)",opacity:0})),a.later(c.duration*1e3+100,this,function(){this.fire("end",{_event:!0})})}}))(c)},none:function(c){return new(Class.extend(a.Squarespace.CustomAnim,{run:function(){this.params.direction==="in"?this.el.setStyle("opacity",1):this.el.setStyle("opacity",0),this.fire("end")}}))(c)}}},a.Squarespace.Effects={bounce:function(c){c.setStyles({transform:"scale(1)"}),a.later(10,c,c.setStyles,{transitionProperty:"transform, opacity",transitionDuration:".1s",transitionTimingFunction:"ease-out",backfaceVisibility:"hidden"}),a.later(20,c,c.setStyles,{transform:"scale(1.1)"}),a.later(100,c,c.setStyles,{transform:"scale(1)"})},focus:function(c){c.setStyles({boxShadow:"0px 0px 0px rgb(20, 170, 255)"}),a.later(10,c,c.setStyles,{transitionProperty:"boxShadow",transitionDuration:".2s",transitionTimingFunction:"ease-out"}),a.later(20,c,c.setStyles,{boxShadow:"0px 0px 10px rgb(20, 170, 255)"}),a.later(200,c,c.setStyles,{boxShadow:null})},blink:function(c){var u=new a.Anim({node:c,to:{opacity:0},duration:.6,easing:a.Easing.easeOutStrong});u.on("end",function(){var f=new a.Anim({node:this.get("node"),to:{opacity:1},duration:.6,easing:a.Easing.easeOutStrong});f.on("end",function(){}),f.run()}),u.run()},shimmy:function(c){c.setStyles({transform:"translateX(0px)"}),a.UA.safari?a.later(10,c,c.setStyles,{webkitTransitionProperty:"-webkit-transform",webkitTransitionDuration:".3s",webkitTransitionTimingFunction:"cubic-bezier(0.175, 0.885, 0.32, 1.275)"}):a.later(10,c,c.setStyles,{transitionProperty:"transform",transitionDuration:".3s",transitionTimingFunction:"cubic-bezier(0.175, 0.885, 0.32, 1.275)"}),a.later(20,c,c.setStyles,{transform:"translateX(-33px)"}),a.later(200,c,c.setStyles,{transform:null})}},a.augment(a.Node,Class.create({intersectXY:function(c,u){var f=this.get("region");return f.left<c&&c<f.right&&f.top<u&&u<f.bottom},forceClass:function(c,u){this.toggleClass(c,!!u)},data:function(c){var u=this._node;if(c)for(;u;){if(u.data&&u.className.indexOf(c)!==-1)return u.data;u=u.parentNode}else for(;u;){if(u.data)return u.data;u=u.parentNode}return null},setNodeData:function(c){this._node.data=c}})),a.Squarespace.RelativeTimeDisplay=a.Base.create("RelativeTimeDisplay",a.Plugin.Base,[],{initializer:function(){this.timer=a.later(this.get("interval"),this,this.syncUI,{},!0),this.syncUI()},syncUI:function(){var c=Math.floor((new Date().getTime()-this.get("date").getTime())/1e3);c<60?c===0?this.get("host").setContent((0,r.t)("just now",null,{project:"scripts-v6-root"})):this.get("host").setContent((0,r.t)("about {secondsDifference} seconds ago",{secondsDifference:c},{project:"scripts-v6-root"})):this.get("host").setContent((0,o.Z)(this.get("date"),!0))},destructor:function(){this.timer.cancel()}},{NS:"RelativeTimeDisplay",CSS_NAMESPACE:"sqs-action-overlay",ATTRS:{date:{valueFn:function(){return new Date}},interval:{value:5e3}}}),a.Squarespace.PositionAnimator=a.Base.create("PositionAnimator",a.Plugin.Base,[],{hold:function(){this.set("originalTop",this.get("host").get("offsetTop")),this.set("originalLeft",this.get("host").get("offsetLeft")),this.previousPosition=this.get("host").getStyle("position")},release:function(c){var u=this.get("host").get("offsetTop"),f=this.get("host").get("offsetLeft"),d=this.get("baseSpeed")+(c?0:Math.random()*.2),h=c?0:200*Math.random(),g=this.get("originalTop")-u,_=this.get("originalLeft")-f;this.get("host").setStyles({position:"relative",top:g,left:_,transition:"none"});var p=this,y=this.get("host").anim({top:0,left:0},{from:{top:g,left:_},duration:d,end:function(){this.get("node")._node&&(this.get("node").setStyles({position:this.previousPosition,top:null,left:null,transition:null}),p.get("releasedFn")&&p.get("releasedFn")(),p.fire("released"))}});a.later(h,y,y.run)},destructor:function(){}},{NS:"positionAnimator",ATTRS:{originalTop:{},originalLeft:{},releasedFn:{value:!1},baseSpeed:{value:.2}}}),a.Anim.behaviors.translate={set:function(c,u,f,d,h,g,_){var p=_(h,parseInt(f[0],10),parseInt(d[0],10)-parseInt(f[0],10),g),y=_(h,parseInt(f[1],10),parseInt(d[1],10)-parseInt(f[1],10),g);c._node.setStyles({transform:"translate("+p+"px, "+y+"px)"})},get:function(c){return[0,0]}}},"1.0",{requires:["anim","attribute","base","event-custom","node","plugin"]})},85548:function(b,l,e){"use strict";var r=e(659519),o=e(985913),n=e(312713),a=e(635845);function i(c,u,f){for(var d=arguments.length,h=new Array(d>3?d-3:0),g=3;g<d;g++)h[g-3]=arguments[g];return c.on("click",u,f,...h)}YUI.add("squarespace-util",function(c){c.Squarespace.API_ROOT="/api/",c.Squarespace.REST_API_ROOT="/api/rest/",c.Squarespace.Utils={isInDamaskFrame:function(){return(0,o.F)(c)},areCookiesEnabled:function(){return(0,n.z)()},storeSharedSSIdentity:function(){return(0,a.m)()},removeSharedSSIdentity:function(){return(0,a.W)()},onPointerAction:function(){return i.apply(this,Array.prototype.slice.call(arguments))}},c.Squarespace.Analytics={trackInternal:function(u,f,d){(0,r.Z)(u,f).then(d)}}},"1.0",{requires:["squarespace-browser-patches"]})},330171:function(b,l,e){"use strict";var r=e(714487),o=e(994336),n=e.n(o);function a(){var f;return(f=window.Static)===null||f===void 0?void 0:f.SQUARESPACE_CONTEXT}function i(){const{website:f}=a();return!!(f!=null&&f.cloneable)}function c(){const{cookieSettings:f}=a(),{isRestrictiveCookiePolicyEnabled:d,isCookieBannerEnabled:h}=f;if(i())return!0;const g=n().get("ss_performanceCookiesAllowed"),_=n().get("ss_marketingCookiesAllowed");return f&&d&&(!h||!g||g==="false"||!_||_==="false")}var u=e(759352);YUI.add("squarespace-video-loader",function(f){f.namespace("Squarespace"),f.Squarespace.VideoLoader=f.Base.create("VideoLoader",f.Plugin.Base,[],{initializer:function(){var d=this.get("host");d.plug(f.Squarespace.NodeDestroyNotifier,{onDestroy:function(){this.destroy()},context:this}),this._setVariables(),this._resizeEmitter=new f.Squarespace.ResizeEmitter({timeout:1e3}),this._onFullscreenChangeHandler=this.handleFullScreenChange.bind(this),this._modeClass="video-"+this.get("mode"),d.addClass(this._modeClass),this.once("loaded",this.bindUI,this),this.get("load")&&this.load(),this.after("forceAutoplayChange",function(){this._augmentVideoSrc()})},destructor:function(){this.prefixedFullScreenEvents.forEach((function(d){f.config.doc.removeEventListener(d,this._onFullscreenChangeHandler)}).bind(this)),this._resizeEmitter.destroy()},load:function(){if(!this._loaded){this.get("type")==="invalid"&&(this._intrinsic=!1,this.get("overlay")&&(this.get("overlay").remove(),this._set("overlay",null)));var d=this.get("host"),h=this.get("mode");d.removeClass(this._modeClass),this._modeClass="video-"+h,d.addClass(this._modeClass);var g,_;if(this._intrinsic){var p=this.getWidth(),y=this.getHeight(),O;p&&y?O=y/p*100:O=56.3,g=this._getOrCreateNode(".intrinsic",'<div class="intrinsic"></div>'),_=this._getOrCreateNode(".intrinsic-inner",'<div class="intrinsic-inner"></div>'),_.setStyle("paddingBottom",O+"%");var P=d.get("parentNode"),C=P.getComputedStyle("position");h==="fit"?(d.setStyles(d.getAdjustedDimensions({scale:"contain",width:this.getWidth(),height:this.getHeight()})),C==="static"&&P.setStyle("position","relative")):h==="fill"&&C==="static"&&P.setStyle("position","relative"),this.get("overlay")?(this.get("overlay").wrap(_),_.wrap(g)):(g.appendChild(_),d.appendChild(g))}var A=this.get("overlay");if(A){A.setStyle("opacity",1);var S=A.one(".sqs-video-opaque");S||(S=f.Node.create('<div class="sqs-video-opaque"></div>'),A.appendChild(S));var T=A.one(".sqs-video-icon");T||(T=f.Node.create('<div class="sqs-video-icon"></div>'),A.appendChild(T)),this._setPlayButtonAttributes(this.get("inactive")),this.after("inactiveChange",function(v){this._setPlayButtonAttributes(v.newVal)},this);var s=A.one("img");s&&(s.fire("refresh"),s.plug(f.Squarespace.Loader2,{load:!0,mode:"fill"}),s.fire("refresh"))}else g?_.appendChild(this.get("video")):d.appendChild(this.get("video")),this._set("showingVideo",!0);this._cacheOverlayWrapperHeight(),this.fire("loaded"),this._loaded=!0}},_setPlayButtonAttributes:function(d){var h=this.get("overlay").one(".sqs-video-icon");d?(h.removeAttribute("tabindex"),h.removeAttribute("role"),h.removeAttribute("aria-label")):(h.setAttribute("tabindex",0),h.setAttribute("role","button"),h.setAttribute("aria-label",(0,r.t)("Play",null,{project:"scripts-v6-root",notes:"Play video button label"})))},_cacheOverlayWrapperHeight:function(){var d=this.get("host").get("parentNode"),h=d.get("offsetHeight");d.setData("cached-height",h)},_getOrCreateNode:function(d,h){var g=this.get("host").one(d);return g||f.Node.create(h)},unload:function(){var d=this.get("host");d.setStyles({top:null}),this.showOverlay(),this.get("overlay")&&this.get("overlay").remove(),this.get("video").remove(),this._intrinsic&&d.one(".intrinsic").remove(!0),this.get("overlay")&&(this.get("overlay").setStyle("opacity",0),d.appendChild(this.get("overlay"))),this._setIntrinsic(),this._loaded=!1},reload:function(){this.unload(),this.load()},handleFullScreenChange:function(d){this.isFullScreen=!this.isFullScreen},showVideoIfNotInactive:function(){this.get("inactive")||this.showVideo()},bindUI:function(){this.get("overlay")&&(this.get("overlay").on("click",this.showVideoIfNotInactive,this),this.get("overlay").one(".sqs-video-icon").on("keydown",function(d){var h=d.keyCode===13,g=d.keyCode===32;(h||g)&&this.showVideoIfNotInactive()},this)),this.after("modeChange",this.reload,this),this._resizeEmitter.on("resize",function(){if(this.get("mode")==="fit"&&this._resetFitTop(),this.get("overlay")){var d=this.get("overlay").one("img");d&&d.fire("refresh")}},this),this._resizeEmitter.on("resize:end",function(){this.get("mode")==="fit"&&!this.isFullScreen&&(this._cacheOverlayWrapperHeight(),this._resetFitTop())},this),this.prefixedFullScreenEvents.forEach((function(d){f.config.doc.addEventListener(d,this._onFullscreenChangeHandler)}).bind(this)),f.Global.on("tweak:aftershow",function(){this.get("mode")==="fit"&&this._resetFitTop()},this),f.Global.after("tweak:afterclose",function(){this.get("mode")==="fit"&&setTimeout(f.bind(function(){this._resetFitTop()},this),1e3)},this)},showVideo:function(){if(!(this.get("showingVideo")||!this.get("overlay"))){this._set("showingVideo",!0),this._showOverlayOnOthers();var d=this.get("video");d.setStyle("opacity",0),this._intrinsic?this.get("host").one(".intrinsic-inner").appendChild(d):this.get("host").appendChild(d);var h=this.get("overlay"),g=h.one(".sqs-video-opaque");g.anim({opacity:1},{duration:1,start:function(){h.one(".sqs-video-icon").setStyle("visibility","hidden")},end:function(){this.get("video").setStyle("opacity",1),this.get("showingVideo")&&h.setStyle("visibility","hidden"),h.hasClass("no-thumb")?g.setStyle("opacity",1):g.setStyle("opacity",0),h.one(".sqs-video-icon").setStyle("visibility",null)},context:this}).run()}},showOverlay:function(){if(!(!this.get("showingVideo")||!this.get("overlay"))){this._set("showingVideo",!1),this.get("overlay").setStyle("opacity",0),this.get("overlay").setStyle("visibility",null);var d=this.get("video");d.anim({opacity:0},{duration:.3,start:function(){this.get("overlay").anim({opacity:1},{duration:.3}).run()},end:function(){d.remove()},context:this}).run()}},refreshVideo:function(){if(this.get("showingVideo")){var d=this.get("video");if(this.get("type")==="object"){d.remove();var h=this.get("host");this._intrinsic?h.one(".intrinsic-inner").appendChild(d):h.appendChild(d)}else this.get("type")==="iframe"&&d.setAttribute("src",d.getAttribute("src"))}},play:function(){if(this.get("apiFriendly")){var d=this.get("video").getDOMNode().contentWindow;switch(this._providerName){case"Vimeo":d.postMessage('{"method": "play", "value": "true"}',"*");break;case"YouTube":d.postMessage('{"event":"command","func":"playVideo","args":""}',"*");break}}},pause:function(){if(this.get("apiFriendly")){var d=this.get("video").getDOMNode().contentWindow;switch(this._providerName){case"Vimeo":d.postMessage('{"method": "pause", "value": "true"}',"*");break;case"YouTube":d.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");break}}},getWidth:function(){return this.get("video").getAttribute("width")},getHeight:function(){return this.get("video").getAttribute("height")},_setVariables:function(){var d=this.get("host");this._setIntrinsic(),this._set("overlay",d.one(".sqs-video-overlay"));var h=f.Node.create(d.getAttribute("data-html")),g=f.Node.create('<div class="sqs-video-invalid-wrapper"><div class="state-message">'+(0,r.t)("Custom featured images only available with embedded videos. Go back into embed settings to turn off featured images.",null,{project:"scripts-v6-root"})+"</div></div>"),_=f.Node.create('<div class="sqs-video-invalid-wrapper"><div class="state-message">'+(0,r.t)("Invalid video embed.",null,{project:"scripts-v6-root"})+"</div></div>"),p;h?h.test("iframe")?(p=h,this._set("type","iframe")):h.test("object")?(p=h,this._set("type","object")):h.one("iframe")?(p=h.one("iframe"),this._set("type","iframe")):h.one("object")?h.one("embed")?(p=h.one("object"),this._set("type","object")):(p=_,this._set("type","invalid")):this.get("overlay")?(p=g,this._set("type","invalid")):(p=_,this._set("type","invalid")):(p=_,this._set("type","invalid")),this._set("video",p);var y=d.getAttribute("data-provider-name");if((!y||y==="")&&this.get("type")!=="invalid"){var O=this.get("video").getAttribute("src");O.match("player.vimeo.com")?y="Vimeo":O.match("www.youtube.com")&&(y="YouTube")}this._providerName=y,this.isFullScreen=f.config.doc.fullScreen||f.config.doc.mozFullScreen||f.config.doc.webkitIsFullScreen,this.prefixedFullScreenEvents=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],this.get("type")==="invalid"?d.addClass("video-invalid"):(this._augmentVideoSrc(),d.removeClass("video-invalid"))},_setIntrinsic:function(){this._intrinsic=this.get("mode")==="none"||this.get("mode")==="fit"},_resetFitTop:function(){var d=this.get("host"),h=d.get("parentNode").get("offsetHeight");h>f.config.win.innerHeight&&(h=d.get("parentNode").getData("cached-height")||f.config.win.innerHeight);var g=d.one(".intrinsic");g.setStyle("top",null);var _=g.get("offsetHeight");d.setStyle("top",(h-_)/2+"px")},_augmentVideoSrc:function(){var d=this.get("type"),h=this.get("video"),g=d==="iframe"?h:h.one("embed")||h,_=g.test("object")?"data":"src",p=g.getAttribute(_),y=p.split("?"),O=y[0],P=y[1]||"",C=f.QueryString.parse(P),A=this._providerName;(this.get("overlay")||this.get("forceAutoplay"))&&(A===(0,r.t)("Wistia, Inc.",null,{project:"scripts-v6-root"})?C.autoPlay="true":A==="Animoto"?C.options="autostart":C.autoplay=1);var S=["Vimeo","YouTube","Wistia, Inc.","Animoto"];if((d==="object"||S.indexOf(A)!==-1)&&u.Bw()&&(O=u.is(O)),O=O.replace("http:////","//"),O=O.replace("https:////","//"),A==="YouTube"&&c()&&(O=O.replace("https://www.youtube.com","https://www.youtube-nocookie.com")),d==="iframe")switch(A){case"YouTube":C.enablejsapi=1,this._set("apiFriendly",!0);break}p=O+"?"+f.QueryString.stringify(C),g.setAttribute(_,p)},_showOverlayOnOthers:function(){f.all(".sqs-video-wrapper").each(function(d){d!==this.get("host")&&d.videoloader.showOverlay()},this)}},{NS:"videoloader",ATTRS:{apiFriendly:{value:!1,readOnly:!0},inactive:{value:!1},load:{value:!0},mode:{value:"none",validator:function(d){return["none","fit","fill",null].indexOf(d)!==-1}},overlay:{value:null,readOnly:!0},showingVideo:{value:!1,readOnly:!0},type:{value:null,readOnly:!0},video:{value:null,readOnly:!0},forceAutoplay:{value:!1}}})},"1.0",{requires:["base","node","plugin","querystring","squarespace-dom-emitters-resize","squarespace-image-loader","squarespace-plugin-node-destroy-notifier","squarespace-ui-base"]})},217713:function(b,l,e){"use strict";var r=e(714487);YUI.add("squarespace-widgets-alert",function(o){o.namespace("Squarespace.Widgets");var n=o.Squarespace.Widgets.Alert=o.Base.create("alert",o.Squarespace.Widgets.Confirmation,[],{},{CSS_PREFIX:"sqs-widgets-confirmation",TYPE:o.Squarespace.Widgets.Confirmation.TYPE,ANCHOR:o.Squarespace.Widgets.Confirmation.ANCHOR,TEMPLATE:o.Squarespace.Widgets.Confirmation.TEMPLATE,show:function(a){return new n(a)},ATTRS:{className:{value:"alert"},style:{value:o.Squarespace.Widgets.Confirmation.TYPE.CONFIRM_ONLY},"strings.confirm":{value:(0,r.t)("Okay",null,{project:"scripts-v6.widgets"})}}})},"1.0",{requires:["base","squarespace-widgets-confirmation"]})},815464:function(b,l,e){"use strict";var r=e(714487),o=e(798589),n=e(999762);YUI.add("squarespace-widgets-confirmation",function(a){a.namespace("Squarespace.Widgets");var i={CONFIRM_OR_REJECT:0,CONFIRM_OR_CANCEL:1,CONFIRM_ONLY:2,NO_BUTTONS:3},c=a.Squarespace.Widgets.Confirmation=a.Base.create("confirmation",a.Widget,[a.Squarespace.Mixins.EventRegistrar],{initializer:function(){this._posHelper=new a.Squarespace.Widgets.PositionHelper(this.get("position"),this.get("padding")),this._resizeEmitter=new a.Squarespace.ResizeEmitter,this.get("escToCancel")&&(a.Squarespace.EscManager.addTarget(this),this.ignoreBodyClicks=!0);var u=["show","hide","confirm","reject","cancel"];a.Array.each(u,function(f){this.publish(f,{emitFacade:!0,broadcast:2})},this),this._timers=[]},destructor:function(){for(a.Squarespace.EscManager.removeTarget(this),this._resizeEmitter.destroy(),this._resizeEmitter=null,this._posHelper=null,this._overlay=null,this._buttonsNode=null,this._cancelButton=null,this._rejectButton=null,this._confirmButton=null;this._timers.length!==0;)this._timers.shift().cancel();this._timers=null,this.detachAll()},renderUI:function(){c.superclass.renderUI.call(this);var u=this.get("zIndex"),f=this.get("boundingBox"),d=this.get("contentBox"),h=this.constructor.TEMPLATE;a.Lang.isString(h)&&d.prepend(h),f.addClass(this.get("className")),a.Lang.isValue(u)&&f.setStyle("z-index",u),d.addClass("clear"),d.one(".title").setContent(this.get("strings.title"));var g=a.guid();d.one(".title").setAttribute("id",g),d.one(".message").setContent(this.get("strings.message"));var _=a.guid();d.one(".message").setAttribute("id",_),d.setAttribute("role","dialog"),d.setAttribute("aria-labelledby",g+" "+_),this._buttonsNode=d.one(".buttons"),this._renderButtons(),this.get("visible")&&this.show()},bindUI:function(){var u=a.bind(function(g){return function(p){p.halt(),this._handleResponse(g)}},this),f=a.bind(function(g){return function(p){(p.keyCode===32||p.keyCode===13)&&(p.halt(),this._handleResponse(g))}},this);a.Lang.isValue(this._confirmButton)&&(this._confirmButton.on("click",u("confirm"),this),this._confirmButton.on("keydown",f("confirm"),this)),a.Lang.isValue(this._cancelButton)&&(this._cancelButton.on("click",u("cancel"),this),this._cancelButton.on("keydown",f("cancel"),this)),a.Lang.isValue(this._rejectButton)&&(this._rejectButton.on("click",u("reject"),this),this._rejectButton.on("keydown",f("reject"),this)),this.after("positionChange",function(){this._posHelper=new a.Squarespace.Widgets.PositionHelper(this.get("position"),this.get("padding"))},this),this.get("position")!==a.Squarespace.Widgets.PositionHelper.ANCHOR.MOUSE&&this._registerEvent(this._resizeEmitter.on("resize",this._updatePosition,this));var d=this.get("hideAfterTime");a.Lang.isNumber(d)&&this._registerTimer(a.later(d,this,this._hideAfterTime)),this.get("destroyOnHide")&&this.onceAfter("hide",this.destroy,this),this.before("hide",function(){this._revertFocusContainment(),a.Lang.isValue(this._overlay)&&this._overlay.remove(!0)},this),this.on("cancel",this.hide,this),this.onceAfter("confirm",this.hide,this),this.onceAfter("reject",this.hide,this)},_handleResponse:function(u){this.fire(u)},_renderButtons:function(){var u=this.get("style");u!==i.NO_BUTTONS&&(u!==i.CONFIRM_ONLY&&(this._cancelButton=this._buttonsNode.appendChild(this._createButton("cancel"))),u===i.CONFIRM_OR_REJECT&&(this._rejectButton=this._buttonsNode.appendChild(this._createButton("reject"))),this._confirmButton=this._buttonsNode.appendChild(this._createButton("confirm")))},_createButton:function(u){var f="div";return a.Node.create(a.Lang.sub('<{element} role="button" tabindex="0" class="confirmation-button no-frame {type}">{sub1}</{element}>',{type:u,sub1:this.get("strings."+u),element:f}))},_updatePosition:function(){var u=this.get("boundingBox"),f=this._posHelper.fetch(u,this.get("anchor"));u.setStyles(f)},_renderOverlay:function(){var u=this.get("boundingBox"),f=this.get("zIndex")||parseInt(u.getStyle("z-index"),10);this._overlay=u.insertBefore("<div></div>",u),this._overlay.addClass(this.getClassName("overlay")),this._overlay.setStyle("z-index",f-1),this.get("showOverlay")||this._overlay.setStyle("opacity","0"),this._overlay.on("click",function(d){d.halt(),this._handleResponse("cancel")},this)},show:function(){a.Lang.isValue(this._overlay)||this._renderOverlay();var u=this.get("boundingBox");this.set("visible",!0),u.setStyle("width",this.get("width")),this._updatePosition(),u.addClass("shown"),this._revertFocusContainment=(0,n.containFocus)({container:u.getDOMNode(),root:a.one("body").getDOMNode(),setFocusOnContain:this._confirmButton&&this._confirmButton.getDOMNode()||!0}),this.fire("show")},hide:function(u){var f=function(g,_){var p=g.addClass;_&&(p=g.removeClass),a.bind(p,g,"hiding")(),a.Lang.isValue(a.UA.mobile)&&a.bind(p,g,"mobile")()},d=this.get("boundingBox"),h=function(){a.Lang.isValue(d.getDOMNode())&&d.hasClass("hiding")&&(f(d,!0),this.set("visible",!1),this.fire("hide"))};a.Lang.isBoolean(u)&&u?h.call(this):(f(d),d.once(["transitionend","oTransitionEnd","otransitionend","webkitTransitionEnd"],h,this),this._registerTimer(a.later(600,this,h)))},_hideAfterTime:function(){this.hide()},_registerTimer:function(u){this._timers.push(u)}},{CSS_PREFIX:"sqs-widgets-confirmation",TEMPLATE:'<div class="title"></div><div class="message"></div><div class="buttons"></div>',TYPE:i,ANCHOR:a.Squarespace.Widgets.PositionHelper.ANCHOR,show:function(u){return new c(u)},ATTRS:{className:{value:"question",validator:a.Lang.isString},escToCancel:{value:!0,validator:a.Lang.isBoolean},hideAfterTime:{validator:a.Squarespace.AttrValidators.isNullOrNumber},destroyOnHide:{value:!0,validator:a.Lang.isBoolean},position:{getter:function(u){return a.Lang.isValue(u)?u:a.Lang.isValue(a.UA.mobile)||o.isSubDesktop()?a.Squarespace.Widgets.PositionHelper.ANCHOR.CENTER:a.Squarespace.Widgets.PositionHelper.ANCHOR.MOUSE},validator:a.Lang.isFunction},anchor:{},padding:{value:20,validator:a.Lang.isNumber},render:{valueFn:function(){var u=a.one(a.Squarespace.Damask.ContextGlobals.fromTop("Y.config.doc.body"));return a.Lang.isValue(u)?u:a.one(a.config.doc.body)}},style:{value:i.CONFIRM_OR_CANCEL,validator:a.Lang.isNumber},showOverlay:{value:!1,validator:a.Lang.isBoolean},strings:{value:{title:"",message:"",confirm:(0,r.t)("Confirm",null,{project:"scripts-v6.widgets",notes:"Confirm text for 3 option dialog; oldKey: dialogConfirm"}),cancel:(0,r.t)("Cancel",null,{project:"scripts-v6.widgets",notes:"Cancel text for 3 option dialog; oldKey: dialogCancel"}),reject:(0,r.t)("Reject",null,{project:"scripts-v6.widgets",notes:"Reject text for 3 option dialog; oldKey: dialogReject"})}},width:{value:350},zIndex:{validator:a.Squarespace.AttrValidators.isNullOrNumber},instrumentationTitle:{value:null}}})},"1.0",{requires:["base","squarespace-damask-context-globals","squarespace-dom-emitters-resize","squarespace-escmanager","squarespace-mixins-event-registrar","squarespace-util","squarespace-widgets-position-helper"]})},100602:function(){YUI.add("squarespace-widgets-gismo",function(b){b.namespace("Squarespace.Widgets"),b.Squarespace.Widgets.Gismo=b.Base.create("Gismo",b.Widget,[b.Squarespace.GismoBase])},"1.0",{requires:["base","squarespace-gismo","widget"]})},14590:function(){YUI.add("squarespace-widgets-information",function(b){b.namespace("Squarespace.Widgets");var l=b.Squarespace.Widgets.Information=b.Base.create("information",b.Squarespace.Widgets.Confirmation,[],{_hideAfterTime:function(){this.hide(),this._handleResponse("confirm")},_renderOverlay:function(){this.get("showOverlay")&&l.superclass._renderOverlay.call(this)}},{CSS_PREFIX:"sqs-widgets-confirmation",TYPE:b.Squarespace.Widgets.Confirmation.TYPE,ANCHOR:b.Squarespace.Widgets.Confirmation.ANCHOR,TEMPLATE:b.Squarespace.Widgets.Confirmation.TEMPLATE,show:function(e){return new l(e)},ATTRS:{className:{value:"okay"},style:{value:b.Squarespace.Widgets.Confirmation.TYPE.NO_BUTTONS},position:{value:b.Squarespace.Widgets.PositionHelper.ANCHOR.TOP_RIGHT},hideAfterTime:{value:2e3},escToCancel:{value:!1}}})},"1.0",{requires:["base","squarespace-widgets-confirmation","squarespace-widgets-position-helper"]})},455677:function(){YUI.add("squarespace-widgets-lightbox2-overlay",function(b){b.namespace("Squarespace.Widgets"),b.Squarespace.Widgets.Lightbox2Overlay=b.Squarespace.Lightbox2Overlay=b.Base.create("LightboxOverlay",b.Squarespace.Widgets.Gismo,[],{destructor:function(){b.Lang.isValue(this._overlayEl)&&(this._overlayEl.destroy(!0),this._overlayEl=null)},renderUI:function(){this._overlayEl=b.Node.create('<div class="sqs-lightbox-overlay"></div>'),this._overlayEl.addClass("sqs-lightbox-overlay-"+this.get("overlayStyle")),this.get("theme")==="light"&&this._overlayEl.addClass("light"),this.get("contentBox").appendChild(this._overlayEl),this.get("contentBox").plug(b.Squarespace.Plugin.ScrollLock),this.show()},show:function(){this._overlayEl.setStyles({zIndex:"10000000"});var l=this._anim(this._overlayEl,{opacity:this.get("opacity")},{duration:this.get("speed")});l.on("end",function(){this.fire("shown")},this),l.run()},overlayHideAndDestroy:function(){this.once("hidden",this.destroy),this._hide()},_hide:function(){this.fire("hide");var l=this._anim(this._overlayEl,{opacity:0},{duration:this.get("speed")});l.on("end",function(){this.fire("hidden")},this),this.get("destroyed")?this.fire("hidden"):l.run()},_getContainer:function(){return this._overlayEl}},{NS:"overlay",ATTRS:{opacity:{value:.95},overlayStyle:{value:"default"},theme:{value:"dark"},container:{getter:"_getContainer"},speed:{value:.3}}})},"1.0",{requires:["base","node","squarespace-plugin-scroll-lock","squarespace-widgets-gismo"]})},554671:function(b,l,e){"use strict";var r=e(714487),o=e(406167),n=e.n(o),a=e(102577),i=e.n(a),c=e(100514),u=e(999762);function f(d,h){var g=d._node,_=h._node,p=g.clientWidth,y=g.clientHeight,O=p/y,P=_.getAttribute("width"),C=_.getAttribute("height"),A=P/C,S=O>A?"height":"width";if(h.setStyle("position","relative"),h.setStyle("object-fit","contain"),S==="height"){var T=y*A;h.setStyle("width",T+"px"),h.setStyle("height",y+"px"),h.setStyle("left",p/2-T/2+"px"),h.setStyle("top","0px")}else{var s=p/A;h.setStyle("height",s+"px"),h.setStyle("width",p+"px"),h.setStyle("left","0px"),h.setStyle("top",y/2-s/2+"px")}var v=100*(p/Y.config.win.innerWidth),m=100*(y/Y.config.win.innerHeight);_.sizes="min("+v+"vw,"+m*A+"vh)"}YUI.add("squarespace-widgets-lightbox2",function(d){d.namespace("Squarespace.Widgets"),d.Squarespace.Widgets.Lightbox2=d.Squarespace.Lightbox2=d.Base.create("Lightbox2",d.Squarespace.Widgets.Gismo,[],{initializer:function(){d.config.win.ACTIVE_LIGHTBOX=this;var h=this.get("contentBox");h.set("role","dialog"),h.set("aria-label",this.get("title")),this._overlay=new d.Squarespace.Lightbox2Overlay({theme:this.get("theme")}),this._overlay.on("hide",this.hideAndDestroy,this),this.bMobile=d.SQS.Gallery.Manager.isMobile(),this.requestUpdateHeightAndRefresh=(0,c.Z)(this.updateHeightAndRefresh.bind(this))},destructor:function(){this._flushEvents(),d.Lang.isValue(this._slideshow)&&(this._slideshow.destroy(),this._slideshow=null),this._overlay.destroy(),this._overlay=null,d.config.win.ACTIVE_LIGHTBOX=null,this.crossBrowserResizeHandle&&i().removeListener(this.crossBrowserResizeHandle)},renderUI:function(){d.Squarespace.Lightbox2.superclass.renderUI.call(this),d.one("body").addClass("sqs-lightbox-open");var h=this.get("contentBox");this._overlay.render(h);var g=(0,r.t)("Close",null,{project:"scripts-v6.widgets"});if(this._closeEl=d.Node.create('<a class="sqs-lightbox-close" role="button" tabindex="0" aria-label="'+g+'"></a>').appendTo(h).hide(),this.get("set").length>1){if(!this.bMobile&&this.get("controls.previous")){var _=(0,r.t)("Previous Item",null,{project:"scripts-v6.widgets"});this._previousEl=d.Node.create('<a class="sqs-lightbox-previous" role="button" tabindex="0" aria-label="'+_+'"></a>'),h.appendChild(this._previousEl)}if(!this.bMobile&&this.get("controls.next")){var p=(0,r.t)("Next Item",null,{project:"scripts-v6.widgets"});this._nextEl=d.Node.create('<a class="sqs-lightbox-next" role="button" tabindex="0" aria-label="'+p+'"></a>'),h.appendChild(this._nextEl)}}else this.get("set").length||this.set("set",[{content:this.get("content"),meta:this.get("meta")}]);if(this._slideshow=this.createSlideshow(h),this._lightboxContentEl=this._slideshow.get("container"),this.bMobile){var y=(0,r.t)("Toggle Caption",null,{project:"scripts-v6.widgets"});this._metaTriggerEl=d.Node.create('<a class="sqs-lightbox-meta-trigger" role="button" tabindex="0" aria-label="'+y+'">&bull;</a>').appendTo(h)}this._lightboxContentEl.setStyles({opacity:1}),this._overlay.once("shown",function(){if(this.ignoreBodyClicks=!0,d.Squarespace.EscManager.addTarget(this),this._lightboxContentEl.show(),this._closeEl&&this._closeEl.show(),this._slideshow){var O=this._slideshow.get("slides").item(this._slideshow.get("currentIndex")).one(".sqs-video-wrapper");O&&O.videoloader.showVideo()}this.revertFocusContainment=(0,u.containFocus)({container:h._node})},this),h.plug(d.Squarespace.Plugin.ScrollLock)},bindClickAndKeyDownEvents:function(h,g,_){this._event(h.on("click",g,this),_),this._event(h.on("keydown",function(p){(p.keyCode===13||p.keyCode===32)&&g.call(this,p)},this),_)},bindUI:function(){if(d.Squarespace.Lightbox2.superclass.bindUI.call(this),this._slideshow.after("currentIndexChange",d.bind(function(_){this.set("currentSetIndex",_.newVal),this.syncUI()},this)),d.config.win.orientation!==void 0&&this._event(d.one(d.config.win).on("orientationchange",this.requestUpdateHeightAndRefresh,this)),this._closeEl&&this.bindClickAndKeyDownEvents(this._closeEl,function(_){_.halt(),this.hideAndDestroy(!0)}),this._metaTriggerEl&&this.bindClickAndKeyDownEvents(this._metaTriggerEl,function(){this.toggleMeta()},"meta-trigger"),this._previousEl){this.bindClickAndKeyDownEvents(this._previousEl,function(_){_.halt(),this.previous()},"previous-click");var h=d.throttle(d.bind(this.previous,this),200);this._event(d.on("key",function(_){_.halt(),h()},d.config.win,"down:37",this),"keyboard")}if(this._nextEl){this.bindClickAndKeyDownEvents(this._nextEl,function(_){_.halt(),this.next()},"next-click");var g=d.throttle(d.bind(this.next,this),200);this._event(d.on("key",function(_){_.halt(),g()},d.config.win,"down:39",this),"keyboard"),this.bMobile||this.setupNavigationFade()}this.isMobile||this._event(this.get("contentBox").on("click",this.onContentBoxClick,this)),this._event(d.on("transition:scroll:tapped",function(_){this.onContentBoxClick(_.touchEvent)},this)),this.crossBrowserResizeHandle=i().addListener(this.requestUpdateHeightAndRefresh.bind(this))},syncUI:function(){var h=n()(d.config.doc).scrollTop;this.get("contentBox").setStyles({top:h,height:d.config.win.innerHeight});var g=this._slideshow._currentSlide(),_=g.one(".sqs-lightbox-meta")||this.createMetaEl(g);if(_)if(d.Lang.isValue(this._metaTriggerEl)&&this._metaTriggerEl.show(),this.bMobile)_.appendTo(g),_.setStyles({bottom:this.bMetaEnabled?0:"-5000px",left:0,right:0}),_.addClass("overlay-description-visible");else{var p=g.one(".sqs-lightbox-padder").get("children").item(0);_.setStyles({bottom:parseInt(p.getStyle("top"),10)-1+"px",left:p.getStyle("left"),right:parseInt(p.getStyle("left"),10)-1+"px"})}else d.Lang.isValue(this._metaTriggerEl)&&this._metaTriggerEl.hide()},updateHeightAndRefresh:function(){this.syncUI(),this._slideshow.refresh()},onContentBoxClick:function(h){if(!h.target.ancestor("a",!0)){if(h.halt(),h.target.ancestor(".sqs-video-wrapper")){h.target.ancestor(".sqs-video-wrapper").videoloader.showVideo();return}if(!this.bMobile){var g=d.one("body").get("winWidth"),_=d.one("body").get("winHeight"),p=.02;if(h.clientX>g*p&&h.clientX<g*(1-p)&&h.clientY>_*p&&h.clientY<_*(1-p)){if(h.clientX>=g/2&&this._nextEl){this.next();return}else if(h.clientX<d.one("body").get("winWidth")/2&&this._previousEl){this.previous();return}}}if(h.target.ancestor("img",!0))return;this.hideAndDestroy(!0)}},previous:function(){this._slideshow.previousSlide()},next:function(){this._slideshow.nextSlide()},close:function(){this.hideAndDestroy()},toggleMeta:function(){this.get("contentBox").all(".sqs-lightbox-meta").each(d.bind(function(h){this.bMetaEnabled=parseInt(h.getStyle("bottom"),10)===0,this._anim(h,{bottom:this.bMetaEnabled?"-5000px":"0"},{duration:this.get("speed")}).run(),this.bMetaEnabled=!this.bMetaEnabled},this))},hideAndDestroy:function(h){d.Lang.isBoolean(h)&&h?this._overlay.overlayHideAndDestroy():(this.once("hidden",this.destroy),this.hide()),d.one("body").removeClass("sqs-lightbox-open"),this.revertFocusContainment&&this.revertFocusContainment(),this.get("historyHash")&&this._slideshow.set("currentIndex",null)},hide:function(){var h=this.get("speed"),g;this.get("contentBox").setStyles({transition:"opacity "+h+"s ease",zIndex:889,opacity:0}),g=d.later(h*1e3,this,function(){d.Squarespace.EscManager.removeTarget(this),this.fire("hidden"),g.cancel(),g=null})},setupNavigationFade:function(){var h,g=function(){h&&h.cancel()},_=function(p){g(),p&&p.inViewportRegion()&&(p.addClass("mouseover").siblings().removeClass("mouseover"),h=d.later(500,this,function(){p&&p.inViewportRegion()&&p.removeClass("mouseover")}))};this._event(this._nextEl.on("mouseenter",function(){g()}),"nav-next-onmouse"),this._event(this._previousEl.on("mouseenter",function(){g()}),"nav-prev-onmouse"),this._event(this._lightboxContentEl.on("mousemove",d.bind(function(p){p.clientX<d.one("body").get("winWidth")/2?_(this._previousEl):_(this._nextEl)},this)),"container-hovering")},createSlideshow:function(h){for(var g=d.Node.create('<div class="sqs-lightbox-slideshow"></div>').appendTo(h),_=this.get("set"),p=0;p<_.length;p++){var y=d.Node.create('<div class="sqs-lightbox-slide"></div>').appendTo(g),O=d.Node.create('<div class="sqs-lightbox-padder"></div>').appendTo(y),P=d.one(_[p].content.cloneNode(!0)).appendTo(O).setAttribute("data-image-stretch","false").setStyle("opacity",null).setStyle("visibility","visible").removeClass("video-fill");P.getAttribute("data-loader")&&f(O,P);var C=_[p].content.ancestor();this.get("historyHash")&&C&&(C.getAttribute("data-slide-url")&&y.setAttribute("data-slide-url",C.getAttribute("data-slide-url")),C.getAttribute("data-slide-id")&&y.setAttribute("data-slide-id",C.getAttribute("data-slide-id"))),P.all("iframe").remove()}var A=new d.SQS.Gallery.Gallery2({container:g,currentIndex:this.get("currentSetIndex"),loop:!this.bMobile,autoplay:!1,refreshOnResize:!0,refreshOnOrientationChange:!0,design:"stacked",keyboard:!1,designOptions:{clickBehavior:!1,easing:d.Easing.easeInOutExpo,speed:.6,autoHeight:!1,transition:this.bMobile?"scroll":"fade",transitionOptions:{direction:"horizontal",allowPageScroll:!1}},loaderOptions:{mode:"fit"},lazyLoad:!0,videoLoaderOptions:this.get("videoLoaderOptions"),historyHash:this.get("historyHash")});return A},createMetaEl:function(h){h=h.one(".sqs-lightbox-padder");var g=this.getCurrentElMeta();if(g){var _=d.Node.create('<div class="sqs-lightbox-meta"></div>');return _.appendChild(g),h.appendChild(_),this.bMobile||(this._event(h.one(":first-child").on("mouseenter",function(){_.addClass("overlay-description-visible")},this),"meta-hovering"),this._event(h.one(":first-child").on("mouseleave",function(){_.removeClass("overlay-description-visible")},this),"meta-hovering"),this._event(_.on("mouseenter",function(){_.addClass("overlay-description-visible")},this),"meta-hovering"),this._event(_.on("mouseleave",function(){_.removeClass("overlay-description-visible")},this),"meta-hovering")),_}},getCurrentElContent:function(){return this.get("set").length>0?this.get("set")[this.get("currentSetIndex")].content:this.get("content")},getCurrentElMeta:function(){return this.get("set").length>0?this.get("set")[this.get("currentSetIndex")].meta:this.get("meta")}},{NS:"lightbox2",ATTRS:{content:{},controls:{value:{previous:!1,next:!1}},currentSetIndex:{value:0},meta:{},padding:{value:100},set:{value:[]},speed:{value:.6},theme:{value:"dark"},title:{value:(0,r.t)("Gallery",null,{project:"scripts-v6.widgets"})},videoLoaderOptions:{value:{}},historyHash:{value:!1}}})},"1.0",{requires:["base","dom-style-ie","event-key","event-mouseenter","node","plugin","squarespace-animations","squarespace-dom-emitters-resize","squarespace-escmanager","squarespace-plugin-scroll-lock","squarespace-touch-event-listener","squarespace-video-loader","squarespace-widgets-gismo","squarespace-widgets-lightbox2-overlay","yui-throttle"]})},551375:function(){YUI.add("squarespace-widgets-position-helper",function(b){b.namespace("Squarespace.Widgets");var l=20;function e(h,g,_,p){var y;try{y=b.Squarespace.Damask.ContextGlobals.relative(p,"Y")}catch{y=b}var O=y.DOM.viewportRegion(),P=O.width,C=O.height,A={x:_,y:_};return h.x+g.width>=P&&(h.x=P-g.width-_),h.x<=A.x&&(h.x=A.x),h.y+g.height>=C&&(h.y=C-g.height-_),h.y<=A.y&&(h.y=A.y),h}function r(h,g,_){var p=h.get("className").split(" ").map(function(C){return"."+C}).join(""),y=b.all(p).size(),O=_;if(y===1)return O;var P;switch(g){case"top":case"bottom":P=h.get("offsetHeight");break;case"left":case"right":P=h.get("offsetWidth");break}return O=P*(y-1)+_*y,O}var o=function(h){var g={x:b.Squarespace.Mouse.client.lastX,y:b.Squarespace.Mouse.client.lastY},_={width:h.get("offsetWidth"),height:h.get("offsetHeight")},p=e({x:g.x-Math.floor(_.width/2),y:g.y-Math.floor(_.height/2)},_,this.padding,h);return{position:"fixed",top:p.y,left:p.x}},n=function(h){return{position:"fixed",top:r(h,"top",this.padding),left:this.padding}},a=function(h){return{position:"fixed",top:r(h,"top",this.padding),right:this.padding}},i=function(h){return{position:"fixed",bottom:r(h,"bottom",this.padding),left:this.padding}},c=function(h){return{position:"fixed",bottom:r(h,"bottom",this.padding),right:this.padding}},u=function(h,g){if(!b.Lang.isValue(g))return o(h);var _=g.getX()+g.get("offsetWidth")+this.padding,p={width:h.get("offsetWidth"),height:h.get("offsetHeight")},y=e({x:_,y:g.getY()},p,this.padding,h);return{top:y.y,left:y.x}},f=function(h){var g={x:Math.floor(b.DOM.winWidth()/2),y:Math.floor(b.DOM.winHeight()/2)},_={width:Math.floor(h.get("offsetWidth")/2),height:Math.floor(h.get("offsetHeight")/2)},p=e({x:g.x-_.width,y:g.y-_.height},_,this.padding,h);return{position:"fixed",top:p.y,left:p.x}},d={MOUSE:o,TOP_LEFT:n,TOP_RIGHT:a,BOTTOM_LEFT:i,BOTTOM_RIGHT:c,ELEMENT:u,CENTER:f};b.Squarespace.Widgets.PositionHelper=function(h,g){return{padding:g||l,fetch:function(_,p){return h.call(this,_,p)}}},b.Squarespace.Widgets.PositionHelper.ANCHOR=d},"1.0",{requires:["dom-base","squarespace-damask-context-globals","squarespace-ui-base"]})},341237:function(){window.YUI_CONFIG={base:"/universal/yui3/3.17.2/",allowRollup:!1,combine:!1,fetchCSS:!1,bootstrap:!1},SQUARESPACE_ROLLUPS=window.SQUARESPACE_ROLLUPS||{}},863027:function(b){b.exports={"01fb62e40a53a33e5d65ca11d9b3f596":"Russian Ruble","0eaa64bf0518af1b56f1361788019021":"Brazilian Real","1143e77a8117d709c6c948f011d80ae6":"Philippine Peso","1300c30965a65bfee8b199f57b089fd7":"Polish Zloty","13c914b755a73e8424a94a230ae72847":"Malaysian Ringgit","3052b264edfac037a8040616ccb2897f":"Pound Sterling","3789725f6415ef2ceddfbc6b83fc04ad":"US Dollar","409fda210bf6729456afb4d6634e076c":"Mexican Peso","42e081709609f07ac588e1dd003e5c65":"Australian Dollar","51a13414472b5fdcf7a78aca7785b5a1":"South African Rand","524e38351732f98b76179b9a3c3f6edc":"Swedish Krona","5321b280fb9e2dc6ccfee6dec92d939b":"Argentine Peso","55ae299bf1fa2aa3ec2782a881e29797":"Indonesian Rupiah","58315fbd08cb4905f5e6deb12983d641":"Swiss Franc","5867da54cd7a941c1d269487d7beef33":"Yen","6f4e5612522aa84c64dd9212080b7970":"Colombian Peso","7541effe88bfc86ae2e2f6c2af1e5231":"Israeli New Shegel","84197e7d10946ba76e486c3d58885fb3":"Indian Rupee","9e82060226d15053b47bb51445d8e270":"Danish Krone",a0c1d7b744c642633f8405d0f5c6663f:"New Zealand Dollar",a3aa04c3b1c2ad3f0204ab76e2cb5286:"Hong Kong Dollar",ad822fcc719d08203b61f2d7297e0cbc:"Thai Baht",b1cefb15f16fac503df3f3fceedc5e06:"Euro",ca323e7e8602a6e96651c97fe5239fee:"Czech Koruna",d919b1a9ba5aecd82502345d3ce73a15:"SingaporeDollar",df55757b688b358856e171715e8d1332:"Norwegian Krone",e7824f6e94cf6e9505f542a4ab5f8927:"Canadian Dollar"}},806211:function(b){b.exports={"0141fa9f0be4194399a88f5fef0bb639":"You don't have any mailing lists. Please create one before continuing","014f07868f87665f18306a866f821b4e":"Right Align","0206ac1674549234236fec1e3e5d40a3":"Text","030bdb7ec8e8cd347fad389b2f0b6c1b":"Choose File","0340e8c7dd3b68223fb050892f8bd266":"Delete","04a7bd5e2847095c55fe21aef7ba243a":"BCC","0664e194e9297b284bbcac4e63018203":"Code editor","069be74a4cdfee594e42ea8c19cd697d":"Connected to","08e2b66460598d026a23e49b7eb2bfe4":"{val} is not a valid page URL","09272f8adb7bef3c15f86216821503e7":"https://example.com","09641cfbf347c23f2f1401c80f111c97":"Successfully located","0b22febf82c502f8aeab55ad8d8dbd64":"Text Color","0dd5449144543955db89be693d31d57f":"Medium Paragraph","118737dd09c4bbca2668f0ec74575fc8":"Paragraph","11d1442e08568a65c839815601447d81":"City, State, Zip","11f8cb2f0b6422accf1ad23d68aeede4":"Drop your files to upload","14697aa8558e29f76b2bcc93d804b555":"Delete attachment","151d7ef9ce161d0b824a5fa9410739c9":"Please enter a valid email","178ebbe3d6ece8c96fe884badf3c80fa":"Other","17be4afc8553a37bd0cc3954a1fd189a":"Add Avatar","1997da20c166ee10ae426e2de942b84e":"Bulleted List","19b496d2615bfe692e80803e27512331":"+1 (555) 555-0198","1a1ceff67be3b165dc4f36019c134d32":"Uncollapse","1c8c3ac4a67e7bf87bb1b9197b38862b":{one:"{%n} Zap connected",other:"{%n} Zaps connected"},"1d7f80c88662cd563c4aba35fd514aca":"Fonts can affect your site\u2019s load time. Use as few as possible. {learnMore}","1dcf4e15170e20de94cc73e716440378":"Load More","1eb42c6cb31f4879bee51821f8eb7325":"Slab Serif","2077e4e46fc6729c384f71c84203e519":"Color","212e00b324a1c7c5d72d865990dfddf1":"Formatting","22c9c6155c64fe02952ee31183ef8907":"Learn more.","2384a4a0e2a5214730400c656b365044":"Link Editor","23f807a2f3c5be6d5ba441fd24552ff1":"Hue","23fbe79152d053260378139870172f6b":"Outdent List Item","29e233771e82810a7524b9a11dc75f85":"Redo","2b7c3f88becae796299fabf22f72cc1d":"Filter {tagType}","2bb219534e372498719faf7f52cb39ba":"Form submissions will no longer be sent to your Mailchimp account.","2ca1e029f2b3386fec8059b51f67c7aa":"Cancel","2cd6bbc51b3ca422689c44221e056d1d":"{iconName} icon","2da54f567ea151fb27983f192f2aad8c":"Disconnect","2f326f1782f80c9602c5c0f480acd569":"Paragraph Large","2f6a0800f9e821ae9608cdaf642557f0":"Vimeo Basic accounts are unsupported. Please share a video from a different account.","2ff55fa5f44efe909ee9def4151063f1":"Typekit (Deprecated)","32144adc818f13fb069a69c974e555d2":"Numbered List","33b4a38d4c03582be06aba8926c9c14f":"Spreadsheet Name","35faa1b1781d6eee40b5c56f42416bda":"Connect to","36db0be5456697b047ea71d4d02d61d4":"angle","374214587a58fe562f282bd87d910f48":"Underline","37b0da5136508f27aeb51d39807e7cd0":"Add Image","380e408440d5350ce9283c22e2a8f794":"Save","3a5153db7e24f2c8e1cf69dc005c6708":"Are you sure you would like to remove these {tagType}? All items with these {tagType} will be updated.","3a5b7465353838c731874f86ea1aa182":"Unable to Rename File","3ac4f28c1044cd8ab918fc8e903d7ed1":"Small Paragraph","3ddb7b6d6f0ea53f8b3d049604cc70fa":"Preview","3ee12af588444226d8a6c70eabc1a861":"Normal","3fbb497ad30ec1098bb7044d92877aa1":"Please enter a file name","40c91431b506393d2248c447df7e2cf6":"Choose (Optional)","413b73a3b3765ea111c90d1dae3af96d":"Something went wrong","43319d0ffa28e455372df25fb2889fea":"File processing failed","45367d0f7e6221f48aaf784019ec8004":"Unable to locate content","45684454c4df145adeae75dfb9a70ef4":"No {tagType} found","45d23bed6f2d26afac6aace1ecaaeb65":"Outdent","46fe088a0c01a7b06a77a8ca5079fc92":"Hide password","481779894da47202c80a84709b2ad7f3":"Web Address","4852c876d60b3e5f297df19ebfef03d4":"Link Name","48693a3724983c379ea489a4942a11ea":"Upload File","49177d13ba152a915e72dc0e890cd082":"Open Link Editor","491a80eddb896f15e739ee582e456dd2":"One or more rows was missing data","4ae0e29701ea00a4795705f7f4f67b8e":"Search","4c935026efb5ca6ce50019a7f55e0c49":"Phone","4ca565cf2cb136e23a32ce8dff588024":"Clear Formatting","4de17d8e8a40ba9e62d9ccab4a3b7b7f":"Browse all fonts","4df8418beddf738dffc2e96e0f0a1270":"Private","4ff476d1a620c5f518f26d8d217ea9f8":"None","516701691e5b1ce51b58f68ed6035ef3":"Unable to load preview for {fontName}","51b30c554db0a8684523fd96862edde4":"Pages","522807ea28a266bda049cb8637443f23":"Display Source","54eff37a52f8c9e9e4b646646e044e9c":"Email","56a5fe7b7fc2fcf6b546b69cb860a184":"There was a problem while renaming your file.","57f8d22cd814c756620c329e163a6200":"Categories","5997f29d9262297d2d50c139c1d84662":"Bold","5c977b6a6cc52387fa09f2d1e2db2450":"Numbers","5cd58303f11dd3aa71d98ef3e0370500":"Manage","5dc2131cfc51ceae8044261cdddc1624":"Open in New Window","5ec935856879645040f14c4e1adb8366":"Quote","5f0d09d3dc41398751fe5b0b22b0bd7d":"Include country code","5f33f9f096cd3c0d262a97dfd9738388":"Text Alignment","62444f8044cfff2cc1d6ce2704c905de":"Align","6374d59b53e351cc597bdb6f308c8152":"Replace","63d751064eb90fb6e472fd79547b2fc6":"Address","650ba9bb4296879d6e8f20a587873c5e":"Info for attachment","663ddcc4a909596ab82ee1c1de1e3b94":"Are you sure you would like to remove this {tagType}? All items with this {tagType} will be updated.","66633ba9d6dc5cff1c6d2be997e26259":"Update","669a9180ff79f1bdc7737218a576b5c5":"Add Audio","6795c93795031ea3c966e70aa8fb6d67":"Remove","6ae06a254fa8578e3db796db2b5e50cc":"Emails must be formatted as email@example.com","6d5a11f2853e61c87f02430972402414":"Fonts in Style Guide","6defec7d03d58b1fb2d4b4d20f3274cf":"Add File","6f28effcf4f76d080abc7893d30966bf":"Mode","6f3604dda971f07bb57da9ed8f1f74c7":"Back","70c8b21cdb4a7faaa871414c404f5a37":"Search fonts","71b6c516b67aed7ce1e157767622a048":"Confirm","71c84b01aa8158c57b404805381738b0":"Open in a New Window","721e0782a77212923abb2d89fdc26afb":"Color map thumb","749e2a5e7698f9a588c816febc23cd19":"{val} is not one of the expected options","74fc7fe880ed4b94e3d44a3aed8607a6":"More","760c1b49f8bb84ca5dd9b1bcaabb69d8":"Apply","7703bb4cabe682a18285c33fe767c27e":"Add swatch","78701bfa2ba7a789b450ebda20ec0ca7":"Country","787d1e95c6bf94e4a854c3874d9ff861":"File Detail","79bdbafac4b2414ee12d9a2fea229ec0":"Phone Number","7aaafe0be804d1ce3c7cb30d58480912":"Body","7d07f870886c600ed5bc37af39266284":"New Series","7d327a3dbb804e3e33ab53a29a6c284c":"Advanced","7e7e4159319301ac15a7fa8d80efa843":"Paragraph Small","7e8e27c5a3313b556c0d93914e7d5b65":"Fonts can affect your site's load time. Use as few as possible. {learnMoreLink}","7f23747871cddef936eaa7b5afaa71e9":"The file {fileName} does not appear to be a supported {fileTypeMessage}file.","7fd030bff942f8f5eacf9c36e7b5cb86":"tag","8030c7d4ef639c31baebe4305012f265":"No Results","81d7722f3035ed5883cec1194b4c6945":"Indent","82ec412180360729918933152c71ea4c":"Needs Review","83c193e0aa96fd9c0766ae9c8c2bdf73":"Enter some data!","83d9a5ee9a18de4adb020cfd8354726a":"Ok","849ab3fbded7172ed0020bcdbe5c91b3":"Sans Serif","84ed1a818812875886ea82e56730eab6":"Discard","882491ba729c91194caa753228b4df2c":"Your dataset must have at least one row","8825c051a8218175fe6857bfd0142e68":"undo","8906b1a292dbe303c0505bbaf1d5272e":"Serif","8914865196496d62a20e28b8f944e218":"File processing failed to complete","8962d92b3137f6e4607a410c5710c3e4":"Display","8acc6203bd4681ba291f5c0b5e97d7ed":"Heading 6","8b47c8126228b030d2083d2b6fb04f25":"Tags","8b7872adc28e449ef45d5d5e7c0ec8d8":"Dismiss","8e48ee7b1c007b3ebe2df3aec389665d":"Merge","8e54777e38ddfa70e40e8df6478588ea":"{len} selected","8e5e94ff1880763ffb58d6d02b5097ee":"Undo","8e696cb6fa1ffcbe9e9cabff061298c5":"Opacity","8ffb0b6e8d79d3200ef6609f96a3cb10":"No variants","9195c6f74ed2b2dfa567f6330937cacc":"Label","91ef0a624b69b77fcd60ea19caffa31a":"Error uploading","92b558a38285983831bb65464610e5e5":"Add {tagType} here","92f0a8337f22baf3997d5f20a17c9c76":"Delete '{filename}'?","949c8ae9a4aac58b07d317989b33e354":"This {tagType} already exists","958dba67087058b4a48e8b08d11d8321":"Heading 5","96c3071b61722c35b731c1d538e248e8":"example@example.com","97094a1a218f5a6217b996fe88395f05":"Remove {tagType}","993450215333ab73150f2831db4a2ce9":"Searching","9a80011dc1ba3a237c2691fd6f5c9904":"Close","9b7ef9a0b95dca7366b8736a3cbc56a8":"file upload","9bf25392999569e076b9349b042dce6e":"Network error","9c02b62381f6c17374b7f5b7fff7159c":"Unable to Upload File","9d1e2410516960f174defb07ee3f1c5f":"Filter by product","9d9f520137959df43cbc65161f4325a0":"Superscript","9df97aed8e7e6fe1088d1826518b354e":"Strikethrough","9ea9aa76d5378aa3b553a4a5f4ff78ea":"Awaiting Connection to Zapier",a140e097ba2c31b7eafdd5ac3883e7e1:"There was a problem while uploading your file.",a1a1f0c3723b927b0bde4eee49540dbb:"Link",a3c0b94fefbd7fe93950ffcd33241a6b:"Existing Files",a4076f49f4f9f6c95b24a985487c3cf0:"Markdown",a48b9ccb25ed66eebf2753494b24f0ae:"Links",a4959ad90934fe5ab29b8795813181d2:"tags",a4d0b8f2606818c557192a09324a39da:"This page is locked",a77460fff4aaad92b3f81522d194d909:"By {authors}",a7b5c41b6f9ae8df24aab7be61000ec2:"New {tagType}",a7e614da684a289259a757da5b11ffd5:"Mono",a8697f6224225817130c31996d9b002c:"Heading 2",a9aa595714d8537a0bcfde92bd39ffc1:"Deprecated",aa561aef75cd3063ab9058e4287381ce:"Your dataset has been truncated to {maxRows} rows",ad2d0dc63b854af0e32e0b5e92784436:"Extra Large Heading",ad6805ba5b472b9af26e2d3154e20dae:"Typekit Kit",afeb3edda64e60f7d173bc806ed5df0b:"You may only edit one {tagType} at a time",b0695c36098e6fd43cc9a45c711bd504:"File processing cancelled",b125de8dd82b809475f4ffb299eafc69:"Left Align",b213f944635c2a9c751d2793df0d0e8d:{one:"{%n} variant",other:"{%n} variants"},b321efb5ce7a2271e72c171bf15b3bdc:"superscript",b4f1b32c617e24e50bb7033674cf3c8d:"Subject",b60fd254e7986e8f740ea8af4c039df0:"Unable to connect. Please try again",b7044b7c3ef0d585024616a719cfa684:"Edit",b8302fe3a3f4d7531e53b59e47e367e3:"Navigate to {label}",b90258a24f3d53aca75cba38a8bd3c20:"Learn More",b93679c1ac66c43fec0490f125e9db13:"Script",b956ecc6b9594bd69c184dfbbe22f2c8:"To",bad635ed8fb7219810ebde3b1a9a0efd:"Styles",bb7ebc4c739f0a717a26ac4837b6b869:"Medium Heading",bc7be137f1fc59c5d423dc8fbc1773bf:"Your dataset must have at least one column",bc953956c9f0d80b05cbffefc18084dc:"Okay",be44967e5703076dbc561a8d79649e54:"Bullets",bfd10ff05b9b5d2caa24bfe7c56e93f2:"Add Video",c02b852487eac31511d6eaa00deafffb:"Monospace",c1dba888bcd3d31b52df76a31f121c4f:"Code editing is not available on Android.",c20bed6c7f08006c9a3f9ae14e04754b:"Value",c221bf00aeb374c630caff3330e5a535:"Time",c2416f8a5134d87050ec363288ed0d03:"List",c25ab9ad01bdf00bb7f452e95e63b6f0:"Background Color",c3217028372c185247852049760b18f8:"Edit {tagType}",c594ece23f5f0fa322c76440751c9544:"{type} slider thumb",c7b5c995edce272debb484a3c06682bf:"File",c7f2b0955d5d2bbb65fb94fb4c50b271:"Subscript",c88fea453ce4c95d68025d0ebe76505f:"Select List",c99a079c1ce7638c2a631036133d2d6f:"Heading 3",ca7275020461405b490ae5720dd2bda0:"You have made changes. Do you want to save or discard them?",cab1596094df6aed2367bd5bd7bd8dec:"Type",cb15768afa8bd5e155c1e0e9d6fc6de4:"Key",cd0a71e417130da0adce22e20ecd695b:"Done",ce5a9d2f97c93d32e21cb6a36a73dfb0:"Retry",ce9ad473a45a1902d7d59291432bd77c:"Error",cf15f5fd78794de679f918b108299eaf:"color value",cfe26156925fcee6678e5b61455ad18c:"Draft",d053134c28f054c41b20703bdb37d54f:"Center Align",d16871b45111bfd36e18b0ef7413f465:"Show password",d1a8e5e08c3ea6780699aff8f18f99b1:"Large Heading",d1e907460980b778073d990159b8fb45:"empty string",d23a6457ddfe95a261fae253f6baddaf:"Indent List Item",d67a7a90682d75e37f3c27ee21d026b0:"Copy",d68f61f4086356e95d50469b69a9c22d:"No response data from job request",d832399295ed36ab36c788c87697dcb7:"Heading 1",d93f2d5359a07a3c963fc68ba1408390:"No switchable variants available",d9b60f4548586a037380e87894bd147a:"Add new preset color",d9e07a1b6b1ef8477e421a01c62ce452:"Unable to load. Try again.",daf528d2d7e023e01b8e6ff51dddfecd:"Review Changes",db39fb9157d6710250d81c38b1613997:"No results",db97fab57a2aca7cd0515625f26e466e:"Page",def0cbd08315d1fc26bf40c7a50049b6:"Rename",df9be7e86078cb381ddd5ff507dabe8c:"Require double opt-in",e177098aea680490c086d33dc5eda903:"Large Paragraph",e18a2305c03b9feb02f21eb8d07e44b5:"Disconnect MailChimp?",e1bc8c4c42d51461bb4a0964c2a92f10:"redo",e20198dbc25f5146ada4538c745b5c41:"Remove swatch",e3351a087228c575cc0d85705b28d23f:"Decrement",e38848bae5b39dad125df53483b3877e:"Copied",e57ab92d7c7d59bac7879b6768173f9d:"File name",e7cc78291fd0136e5a1f76c3643c47b1:"name@example.com",e9857cd422b6ef9194e9b2b031bdb776:"Starring {actors}",eb26c105ccd50f2bbd662fcadf2df707:"Strike Through",ec15704a9e34434bd57c23fcbd365ca5:"Heading 4",ec39193d6a268594c60c24aeac543ac3:"A List must be selected",ec950bb151f7f08d8465272ac1c23f82:"Add Code Here",ed926e73b1c30d34fa09d25d1d37281a:"CC",ef1e8f0b8b6a4a0763ca66e4dc7ef3fc:"By {artists}",efe464900e7ef25fab7017e9e0af4911:"Code",f03deaabf42910ca5fd5b6e1e620af94:"Save changes",f0f30d83e145c2299e544b3099522e44:"Try again",f117333d4b1c7838a4fc31a764138526:"Small Heading",f2d0ff0165dd94142db90c664704e7a8:"Connect",f3e698aa47a54daf732dd37ace0d76ec:"This can't be undone. Make sure to update all links to this file.",f45f1b3f27ab384a8845c73b96952504:"SubScript",f4a5e49a842d041881c4954d545c15f4:"Italic",f4f06cb1e212075f2986ba2ca08e1831:"Links must be formatted as www.example.com or example.com",f521cce613ccc40972dbdbed1f75096d:"Your dataset has been truncated to {maxColumns} columns",f5f7cdbd93d03c377d39d2dc86fc6cf9:"Add an email subject",f762c2e3781aef4cdd0c2437d714f922:"No collections in this navigation.",f7a48a78d10d3d506472dca8b922b1f9:"Options",f9822b211ebefa6e37378622271a545a:"Increment",f9b89a2781302453b4c84fea706541e8:"Optional",fc11121d2c0b9cd040eb497150f090ac:"The file {fileName} is too large. The maximum allowed file size is {maxSize}.",fd637ba0ba0cb87b366d91f80b84ce5a:"Unable to load collections",fea729b2b5863418f65e8c43e93e3231:"Scheduled",ffa0167016aedc8800f617213d51fc13:"File upload failed to complete",ffa35ae7f040da586d8939eb0292358d:"Merge {tagType}",ffd9fbbc58371a58cec4459cc2c2ed96:"Unable to load fonts"}},189915:function(b){b.exports={"0252a6ae7aa26277a31d1a65c62ca22e":"Get it on Google Play","05d466d42813d0e45e5c68a9e32d09cd":"Color format","08881d6eb0dee247ca166f9e53ac8a3e":"{numberOfRows} rows","0e3b33b1a65371edf32090e6b0e838c0":"Hex","15e35f987f7167a5686096618b6d6efa":"clear search","16deed513e967cd15d9a92e437e0b43f":"Open filter","1bc7d0695061625921a28281f789e1dc":"cancel","1d263460e537ff6f47b8d3cb750135e3":"Previous page","24e29296ba76212419ceee81e52501f5":"Search: showing {matchingRows} out of {totalRows} records matching: {searchTerm}.","24f84eb85af930c8a5e5d9aed365796d":"Matching ({searchTerm})","2a6b02e829f07de003011314e2e0fba7":"Select an option...","32165099c664472652d7f6302ddc9b8f":"Next","3b475b89ff8ec4fe7c71d052e2e43f8e":"{type} slider","402addd5fbf4e90fabb005e25e881b48":"Open create menu","422c724a0b4e8afebf86bb05abe0f501":"Color","43a5f640fadc1f17a18c691e0cfd89d4":"close {filterGroup}","48b564f163815e9f5164fcc03855b82b":"Add...","4c5bbfbf1b16664fcf4679f269792959":"Page {currentPage}","4e8169cce4d2139b1d8030702b6a8057":"No results found","5228c61af5586cd28882733ac1490be3":"Previous Month","548a749f9317ca2930988b600c63a040":"Save","584ba2643bd90457eb835e01dfbe9e4d":"Click to open text field","59405aac712ed0be6e2150956fb21f1c":"Deselect all rows. ","5b8f316caff04de6ee2f27f09126ebdb":"Save View","5c674514403d1a0dd658a23513d5e41b":"Next page","5dbd235db659b619ea0f922e64502421":"Back","5ea69e4018912bf2447edf4a547e62fb":"Blue","65bf371008afb97c21289a2efb8741d4":"More links","673d85574a578df404548ed39ca06812":"Sort By","68471e83549f8e93ac94f4e84da92337":"Create ","6ce2c86c522f658d279379225766d76d":"Download on the App Store","6eb176a1b59a112ddb73ab79fbc2adf5":" of {itemsAmount}","70518ad85555154a69d1d6ff2cd5522e":"Filter","72a2677777eeb2bb52a9365417432753":"Sort by options","7471bab81fbfbc5735ce8c21afc4986f":"Red","7805d57405c9e59ff2d0dc0101b61926":"Next Month","7a6a469de5bfc972ad5e600ea7c9335a":"Cancel","808af46f454f5f547defa96115a7aa9f":"Search","8e6462a1be9fa66b511e3138d9c5e6b0":"Sort by {label}","8efd7e19ac06d33fb4ec877e9b544943":"Unable to load results","901857f18995e3e0eb85880fddfa6f1d":"Unsorted","959d587a82db540fba997b5a2893e750":"Saturation","963a3712611efff380083cc6f67e9332":"{currentStepNumber} of {stepCount}","980bfbe7743b95b18963402cbb39fa66":"Sort by","9e0a029f54f43193ad0db80c74ef17b7":"Page",a271012d40d6477f47c6d4f27dd43f1b:"HSL",a4aeed2cd609cf3258760ed8a894a773:"Select all rows. ",a58964b3158817f741c5433317a67905:"{filterLabel} \u2022 {filterValue}",a5f22b4ad5aed1cdfbe50444012cadff:"Breadcrumbs",a724e07a8223eb4b064e2bedd19349fc:"Color Map",a76a57d9bb9bf2047d69c6573fda55a0:"Green",aaeb2c431e04933a97178fbabba1c2e3:"Remove filter",ad1dc32e55a07d150a0e5c83ac169c85:"{perPage} per page",ad65efce4a5eb0eab2cba5cf04acf6a1:"Done",ae609a6f4f091c550073e7aba5c22601:"Sort by {colHeader}",ae836be5aa762b2c791800debf99e3c8:"Sort by column header",b0507aa68523e414b4f7eb8817948c94:"Close",b3a47a3e61efe8c601b143393c2c4160:"Type to search",b3f0d951e69fc06eba0db441e4254f0e:"Try again",b827dfbfeb0a3a17e872f007d39742eb:"{firstNum}-{lastNum}",ba1e725cedcd008945a381c5a9fd3c26:"Hue",bf2a987bac959b1d9a9bfdee3f2db326:" of {itemsAmount} items",c00f3cdfe2016fe147b92e5f156d3eef:'Failed to load timezone "{timeZone}". Retry connection or verify Squarespace site availability.',c2c2776426813b2689e9802ed170bc93:"More Options",c47629aa520ba46cd208c4d0613b5254:"Select Color Format",c7e5f5f6a796ab77a315b6a199825d74:"Reset",caf3c5ca716a861d4d40fdd6cc0f166f:"Saved \u2022 {filterGroup}",d0bd8e70760169c8a435f5c07c397fc6:"Close",d332cad340e522dfd76e2b4e05f5485f:"Showing {firstNum}-{lastNum} out of {itemsAmount} records",d51c21d88522993a1de8833166afc7bc:"Lightness",d761186f9ce3873e7dbd7b53fb64841d:"chevron icon",dba8ac51011da181a09eddddff5dea5e:"Layout: grid",e145e7aa98c87d33187b625f90ca0608:"Layout settings",e6a67840fd60a2ed0a769cd18ffc50aa:{one:"{%n} selected",other:"{%n} selected"},e8aa17dd7915009aac21940b8df7bb50:"Select",f3389f4087b781033ef5a0f4987f6733:"Continue",f8c9cc30c8e896485abadff6561a134b:"Opacity",f97f065a995142dcab2ee24030e65a60:"RGB",fa2036fe27fbc63a1cad0bc0578ef569:"Layout: list",fd0b0c42f0f842e2de6d4136c24b4dfb:"Alpha"}},456857:function(b){b.exports={"07d7bcf0b9e7e5714f17c83383ec2f40":"decrement","14fe19c550d9f692967d4bf3fb948418":"increment","6862c62ba693b4de3c94f6861af8991f":"Close notification","7207411965ab9aff33e75d642471280b":"Delete","8a4c5f30aee8483373272dfcd6f270de":"Cancel",a4aa9f3b93d1133d04837a978fa4ebb7:"Back",af1e53845e046c18e015666e8c192b91:"(Opens external site)"}},203102:function(b){b.exports={"0147cc9a0096526e325ffb2afc8feb08":"https://example.com","082a7cb6792aeae19003598b23acab79":"Heading 1","0a37f3b6d9d52a7f55fa6d2c654c302c":"Indent","0dd0c1d8bd149c844f8230469fa2d93f":"Decrease letter spacing","12616c9f48e2239fa5affe6189f942b2":"Paragraph 1","155086a8a1fcb9412adf8bf85ff2d962":"Paragraph","1d5c016fdd8000ab33f1005ad44ebc07":"Italic","1f5a252e20b27eec586f939dcba26cbf":"Link","25095e439d928da7de2ab06f9c564942":"Styles","3c813d67cda8f84403a7e130f1df1552":"Left Align","3dfc1243defbc055c0c653c7b26f6983":"Paragraph 2","3e7e8ba6a31a45138231af22cb3b47eb":"Remove","40a7f0d4475ee0201e2d4fffc3b8fa1b":"Bold","5035f4b7f93400a87a9546fc15b72f30":"Underline","57d16e279733a5a1b4f552cac20dad4c":"Uncollapse","5dcccc7761e9e06d2c3cfc0cda9591c6":"Background Color","5edb745ecd914b9f36bce680572f119f":"Text Alignment","6407e7b19973764582e104cb0a296d9a":"Redo","6480bc8e2e75edab8daccd874b15f4ca":"Subscript","7f77b2aadcf22049539786227f6c6736":"Text Color","85c6810811983696737d178554b2aad9":"Heading 4","8a100b80af8d5da8eb9d6a6df649c16e":"Heading 6","8bbcd2b7f0dda07277e2426526cc1d24":"Increase letter spacing",a48755a5d7bd1e9e38476aadb3a68aef:"Numbered List",a7d3faab866912c97e1340504a01322f:"Link Name",b077bf6ecbd319b1f52e5332fd157d97:"Clear Formatting",b12be74ec9f08fcc011b12e40517c759:"Bulleted List",b3e2dac907dddb13c7604143285b6622:"Paragraph 3",b3f321c3551bbc94a45f93304320847d:"Superscript",b74484542c7b8166144f1af046e6eb44:"Formatting",ba293ca39278b37717ef961ba9878aa4:"Apply",bedd0c30a8277bb3d68b96f5e1217a00:"Right Align",c2d9f7cc4844871f6ea181d31d7becfd:"Letter Spacing",c3d157e41a15b7d5e143122dd8161ac3:"Strikethrough",c7820be12ca8365f85c123f018c679fc:"Quote",ce898db0d5ed776bd333d8ec5e85f2e3:"Monospace",d437ff4e2241441152a805e541262add:"Heading 5",dac797b72e89f4f9adfd4a7689fe98be:"Undo",de74deacf0c2acb046851afa41815788:"Justify Align",e274dcd65b3d74b9ab5ec41ceebc1f6b:"List",e53e3474f7abd06596b021f9187c9da6:"Center Align",e9575eeada51935e2552cafd9c3e68df:"Heading 3",f0a72d650a0c26febd51d167d5484a58:"Heading 2",f181b7abbdec23ac2468cb0fa24c5ced:"Outdent",f2b218e1df78fbd471cd575d545c82e1:"Close"}},616863:function(b){b.exports={"00c661d47d20cacb2bf11eff6aaee2b2":"address one","04baea085f6d4329a394abf8cebaa98b":"We\u2019ll email you a copy of your receipt.{br}If you don\u2019t receive it or have any questions {contactLink}.","0574a00706c45e12c4118a3744611286":"Website","071166b9b1200d938c5b4f2737ae08ea":"Launch Your Website","082e8605e24b3ed3c6b2315476776245":"Learn More","098f063eba79471d0f34e7a9edf8c92b":"Ontario","0ab73416160b5e59f2c1624fa226c797":"Check that all card information is correct before trying again.","0b1eb2576d2929992451fdaff8408e4e":"There\u2019s no summary for your order. Try reloading the page. If the problem persists, {contactLink}.","0c5da84e0c6312e0aa499754c2266a18":"Street Address","0d2564b3f99182821b0a095a2d5d6cab":"SEPA Direct Debit","0e292956ab684a6e2c996af0a51a7440":"Edit Billing","11b1320334387b5ba6f06c29169db93b":"Amount Refunded Today","13c5dbe36481544fa3947eea0934f30a":"Commerce","16df4edafb52f9ba7c4019bfa410af7a":"Refund for the remainder of your current plan ({plan}).","1881f7c67b3b54173f50c7b068848c4f":"Card Number","192b5943b0a670b8f9e432ff19f2e0c2":"Squarespace logo","199c36785879de9b012301934521cfc5":"Payment Method","1c3d73618902d580561b4ac0bb804781":"We weren\u2019t able to save your SEPA direct debit information. Try saving again. If this issue persists, reload the page to start over.","1d44353ac54265fe4a66178cb91db9d6":"Checkout navigation","1d979206c8588f389f6363193fe0a812":"Address, Apt #","1e375e5548095403992f4c1e3a86bcf2":"Discard Changes","1e6b52766e34a55b8f2c886195f04fa7":"There was an error loading your cart. Refresh your page to try again.","2029696a3c8f3a688d7004645b3e7821":"Your payment method was successfully updated.","24395f4e0a448e0bfa3e3186198ca210":"Previous Balance","2595b91eb0724b9e6ca3fc1411b2a6d4":"Save Billing Address","2755ef90c04f465b43cc57de92a0406d":"Subtotal","290acff7b4d4d2ffd6edd5c6e81e46d5":"Save Payment Method","29647b5c179f8865f09d659c1ddef987":"Manitoba","297d82fbb5e89c546316a0937337b316":"Yukon","2b0850dcb3b76e0f9e4bb3a96618530d":"The greatest eligible discount is already applied.","2dbf5b1ba5033e4bf04e88606e95d940":"All your payment information is securely submitted.","2e5f5d3d67e3796c284201eed1ad9cc5":"exclamation mark","2fea4e652bdded01570e9f7fdec02448":"The VAT Registration Number provided is invalid and is subject to VAT.","30aead407b33df2713798d7b83710291":"Remove","319b7769640d062731e6a85d2caf9c54":"SSL Encrypted Payment","3319a51b26443ef2831031cc44e23706":"Renews on {date} for {price}","3578da0b76847c0cad8e49b9faab58fa":"Payment Authorization Required","36257a54f71b3d201e70fb79f2708918":"Close","36d8688dd951696db73ac29f6d443cde":"Get professional email from your domain, plus collaboration and productivity tools from Google by adding a subscription to {productName}.","38b9e393f8e7fa5dfe7a3cf2d35b3d35":"We are unable to add PayPal as your payment method. Please try again.","39351ae7232e791b52f7d310a1272f70":"Billing Address","3a238f934bb204e3f8f5f16ffd00e521":"Your changes will not be saved if you navigate away from this page.","3a35a1534a9605836eab3a8be1f2924e":"Couldn\u2019t Save Card","3d6b782bdbd2ff4f2fda3c462501d51d":"Your subscription changes will take place at the end of your current billing cycle.","3f8201d0a8ab0e2f34a8c81294985fea":"LOGGED IN AS:","40341c93d1a3d18f3b99349c7b0a296b":"Confirm","406503984c42db8067cdaabb0e7720f7":"Payment Information","40893c8e98d069db8fa2038d88614c7d":"Credit or Debit Card","41afdd8ce22a458b904e286bb349e5cf":"VAT Registration Number","41fdb29dff462a680edc38ee679ab4ca":"Get a free Domain for a year","43b2b0fb9ee03e9213c996eddae6ed21":"You can change your plan or billing cycle later. No questions asked.","45e28d9c36579b2c726a091c535d5c05":"Renews on {renewsOn} at {price} {frequency} + taxes","46e312ee6c3876cdb4e0d38d147367b6":"Refresh page","4704fc88f6d98c19d28c70c645baedd0":"The GSTN provided is invalid and is subject to GST.","47350d19231da58582d04102d5357fea":"Promo code is not valid for this product type.","48312d2ad8c2fa95d510e5af515f8634":"Exempt","48578e92739c5e64cb0ba8c45202ec73":"By clicking Confirm Payment, you agree that:","4961304d95a944c187894b987394ea0a":"Something went wrong","4ac4a24354657343966e43a0219b3813":"Billing Address","4b8893e4dcbe897ffe04788ed7157a92":"Nova Scotia","4bc30ccb166a28d72adaf34b452a0b44":"Northwest Territories","4c6f0381184c2c9c917f0de032796c21":"Payment Method","4d5be92c58914d7ba7b7df00409f46fd":"Tax","4e85e9403b52ff7d4e12e0b18ab7491f":"Are you exempt from GST? Enter your GST Registration Number and business name and confirm your GST registration.","4f2b283ea0140034521153c4b4329885":"Free","500ceb01172e29f474219f9e4072e39e":"Choose","5019f6bedc8714f944c222f447f0c63c":"Edit Card","506ffcaff73fc5532eb06b464f3abd0d":"Prorated monthly payment","5178c566a57d300aab692fd91ac79329":"A component needed for payment could not be loaded. This problem can be caused by some anti-virus software. Try again with anti-virus disabled, or contact our {customerCareLink} team.","52265838fbf3cc608b52b3ce3a86c4cc":"Nunavut","522ef0b202e51bf0900ca35a43e50325":"Add a Digital Products Plan","543f5d92404a0a895795c93268368612":"Newfoundland and Labrador","54f1e022b207479c5d1b212f687b1db1":"Pending Payments","5628bf1373ac3fc6d320a695bff822ce":"Purchase Error","583d065943669217da18582b71dc7285":"Start Booking Appointments","5897a77e1a9b3c7d4aaa323572f73cf2":"VAT Status (Optional)","58cd36863a96cacef0f9a9dd97605448":"Prince Edward Island","58d83a57cc7e29a0f20f7f1f68cfeaac":"Saskatchewan","59016c6318b1b5577b56dd319f36380e":"Customer Care","59041be6dbf879c29fdbfb7746de4ce4":"Remove Domain","5a7a6c86aaddf30649c46f9516443f2f":"Google Workspace","5cd759d31365d1216c2becea15a7535e":"Add Payment Method","5d2a67c997e7f4a62f4840a7028d1c95":"Your plan does not allow purchasing add-on products. To switch plans, go to your {billingPanel}.","5df6301cecabe5d50b6c6a8fdb5c67db":"Only annual website plans include a free domain for the first year.","5f160be860c6d32d8a23431ef9a0c2d7":"Access more video storage and lower transaction fees for selling courses, video, and memberships.","60fa9ccacc8703cd3b242afade642f87":"With Acuity Scheduling\u2019s automated booking software, you can accept payments, send reminders, and onboard new clients. Try Acuity Scheduling now.","6194848033b50738d04a2c9bc7a0d5d1":"Edit Payment","629f1485aead58d27365292ece74312a":"Your payment method was successfully updated and your authentication has been confirmed.","6362252ab8ba3821f4c2772220f900f6":"contact us","65e4a65f2e1b20df59f7f9e009e4e6d4":"Ok","678e0e1dc60d898ec9ec15eab95e2759":"Sell products, build email campaigns, or schedule appointments \u2013 all in one place.","67c0266118bbc489d7b87e1895c8fee6":"Unable To Save Card","6bae96635de9b3d6133702d336eb0ab3":"Tax Exemption Information","6ceeaaee39121f1fe8e4754d7a844469":"Domain","6d181bf897be8df1069a18098ac724e3":"Add Code","6d5d8e6dc1fd1057d9be69f4c16ab737":{one:"{plan}{separator}{%n} Seat",other:"{plan}{separator}{%n} Seats"},"6d6cdeeddc6331a31434f0080f0af392":"Learn more about eligible domains","6e114a56e17adf7d196cc4ce499557df":"billing panel","6e5f4e5cd61d1a38952de072622fa6a3":"Build a beautiful website","6f7065595ffc045c4f7eb0fee81b515e":"Apply","703c8d533c339092eb7e125b24153675":"Your pending payment was successfully authorized.","718df0e6092e3e3de3ad55bdd2fafd43":"Your payment method has expired.","725416dc9a6498b5ce19973469ccd9a0":"Quebec","7273841e1e9158063ad27e880cc44205":"Amount","7636c35a9cf91c30a27a23bf81cb708b":"Amount Paid Today","768d1415b2a9656a2e3ba320ced78b20":"Amount Refunded","76ac66dc3424f21aca5b81fef9cf4908":"GST Registration Number","76e904b4d57cc88a6c83cda18b38746a":"Pending","773ca9a37da507f83935699af5d48bb9":"Order Summary","782880885cc45e95e2a672b72a8c7d1e":"Annual subscription","789075c4ec6e28c1f356f5947c9ef260":"Renews for {price}","79f007f4dbb7f686f12e53d0ef80fb90":"Credit Applied","7abb5a1c78d9c4f6e620d657984174d2":"Getty Image","7b6a6c32d569e0b628e79bddc4a61356":"{itemName} will be removed from your order.","7ba7ee54d8181362340e326139a5b312":"Couldn\u2019t Save SEPA Direct Debit","7d73ad0cffce251101546a43d8d0e208":"Province","813302a48e67c70810e7ceb82498cf6e":"Please enter a valid input.","817e8e0e3da1ff796c54f410fa26eced":"Postal Code","81a2ee557bcacd10aef87bb653100e5b":"Help your business stand out with the perfect domain name. Easy-to-manage domains from Squarespace are affordable, with built in privacy, and no hidden fees.","833987c70fd92f428878d08cf8c54666":"biennially","83a0b10fede77fb9a091aef32f657d34":"Shipping label","83addea938cb548edfe9d85a427240e0":"Review Order","849b85199688280f68eeebd0b6191a09":"By saving your card details, you authorize Squarespace to save your information for future purchases, subscriptions and renewals.","86033d862c2d71e7d5f8674b1ac86b49":"GST Status","8664e47f468ab2f4b34e02d58fa9acb4":"Are you exempt from VAT? Enter your Value Added Tax Number and business name and confirm your VAT registration.","8729ae3364e0a47596c8181602ad2437":"Your subscription changes will take place immediately.","894a3ee6dc98b6603a540140a7b053c1":"British Columbia","89cb18df88d261449cc08ec505b3b855":"Due Today","8a4c8ef1ab5f6fbca09e9116a990aac6":"VAT Status","8b2e3e524bfb3ab0f56ffcdb6ca67c6a":"monthly","8c988be5b8eda2e39d6f18b3d7eab227":"Unknown Error","8dda0027dca448eb3ef87e370b87a8a4":"Are you exempt from GST? Enter your Australian Business Number and business name and confirm your GST registration.","90717ccd132693dba593e2db914cd50b":"Try reloading the page. If this issue persists, contact us.","908b15d89963d4c17a2973106b3d27b9":"Squarespace Circle Member, save {percentOff} on your Squarespace plan for the first year when you pay annually.","9159ad197cb54b175ad824749feaef77":"Full Name","91634d89c0cd28de19cd2f376067323e":"Expires on {date} unless verified","9175295bcdebc46c3d3363c5e1b87cce":"Get professional email from Google","942ec70dab21d0fb85af464b6efbeaed":"New Brunswick","948a7a79833677eb9134f4dc3f6dcc9b":"{name} registration number provided is invalid.","94984ce1d06985affa2a86237dba71c4":"You'll be redirected to PayPal to select your payment method.","956fcc4b51a651fa8aefb6f2b088d087":"Authentication Verification Failed","95e1481ec4147aa1d0ce317a65bf58ed":"Your billing address was successfully updated.","96e32a1e0ed4a4f7da61fb09a1e1fe32":"Estimated Total","96f77e0fc82fd9cd09be30fe6d9a823a":"Cancel","977ed9a810f62bb7972a730de9beb80d":"Norwegian Organization Number","9acc16589535139a6e329036d6389de0":"You\u2019re using SEPA direct debit","9ad42d88df92c97c85e6e1f36dc62a76":"{planName} plan","9af74e1c2ecd10160651d9c783cbd22b":"Alberta","9e5317ee29b1df748fb37a38fde9d698":"IBAN","9e77536903955bd9bb0bdf6153695aa7":"Your Cart",a07cce0654a614499f08b9c65f5ad791:"Couldn\u2019t process your payment. Make sure your payment details are correct and try again.",a080cca606be76234f00cbbc759865b3:"Business Name",a100df2ab42810c6d9327e125b066d12:"Required field",a14cf69eeabaf32a498f3b962e33a12e:"Go back",a22010a086845b6af1fec4b3a50ece0f:"Your purchase includes one (1) free domain registration for one (1) year. All domains registered through this promotion will renew at our standard rate plus applicable taxes, after the first year.",a2bea75727f8d36a15890b565a083c9a:"Edit",a35186be0b7af4bbacc9e0b171e1e2cb:"Canadian Tax Exemption (Optional)",a55eba2976b8850f0d3a03bebdbd2a04:"Review",a6480c84ade7a819f6b112adaabb472f:"We are unable to save your billing address. Please try again.",a735f0c275c63be3b4bd7a7cfbfb5077:"Payment pending. We are awaiting confirmation from your payment provider.",a9723bb61350508ab1eba4895e35981a:"Save and Continue",aa6349d749a6ab5217fc962ff9342be3:"City",aab60ddc978d16016be4381596d756c1:"VAT",abd45935f5f232a62d7bad571bdcceb7:"GST",acfb8d05b42080372498612e4d66bbf9:"Monthly subscription",aeaf3aa3bd4975ef2d507e3f90d65783:"{number} digit registration number",b03f96b38da27c6b640fc18adb32e225:"Acuity Scheduling",b0fc45b8d15a91697f1978819171c1a7:"Cancel",b1352e9851c9116a07ceb74165a7e5e1:"Get a whole year\u2019s worth of industry leading productivity and collaboration tools for free from Google - including Gmail, Docs, and Sheets.",b1637db859dfb8e28bc6715d78fdf2e7:"JCT",b2e25ff17c54cf2ff6a153c3edbcfaa5:"Reload",b2ff102a8916ac877263d89014bbab90:"Purchases made with SEPA are not covered by our 14-day money back guarantee.",b3438fa1b8322a160d64c06c8a365053:"QST",b3828ea01ea69f1117d711d0812f3c07:"Squarespace Email Campaigns make it easy to grow your audience by marketing your business or idea in a way that\u2019s beautifully consistent with your website.",b4dcc8f64401c720637e7981cc77d23e:"Check that card information is correct and wait 24 hours before trying to save this card information again.",b4fad71992bfd2a48864e9beef6b8c14:"Description",b684f98e68ae61c6449a5604b46c5c2a:"Leave this page",b80c9d38583123bbcc570dd3ea2f28bf:"Pay {amount} + applicable taxes",bbc78e4a6e12d45775c2eaa1848fd8af:"Terms of Service",bd40c2c336fda4d58606f28203ee7c54:"State",bf282b1e4819b6b15d97369ba99ec968:"Stay on this page",bfd66499c9317092d901f0c9a79476e9:"Processing...",bfe65b1bdbef50984cf8cb5ef8b7cd24:"Payment",c04a16f948264ef4a38d7e667fd49d0a:"Thank you for your purchase",c0d4d4feb6d6e35d99d9cce94cd63e22:"You can pay with Visa, Mastercard, American Express, JCB, or Diner\u2019s Club.",c1817f74290cd229601add1f21feca51:"Payment Summary",c35813af36a7f1dc0f557dbb32889a08:"We are unable to authorize your payment. Please try again.",c3988ca15e98a89ded53a14e3fffd7c0:"Invalid postal code",c39d2deb825230cb6fcd713cbe95f5fc:"Get a year of free professional email from Google",c3d74578d7ce69231cad59bf642e1903:"Country",c4b8619120f0ce39c246b6fa140a7d1c:"Couldn\u2019t Load Information",c570d4face3013b5ff089bc522dcce8a:"Saving...",c58408290c36e86409d6a1ed64e206fa:"* Choose any eligible domain. {learnMoreLink}.",c6178fdd7959823da906618cf0b1176b:"Authorization on your credit card failed. Try again or pick a different payment method.",c6658ce5bc0a15f24f2c6f85584e83e8:"Refund",c7a3247e6be33ec096c80283dac8892e:"{currentPageNumber} of {totalPages}",ca4602b3a1362ab7da98787a470d7d79:"Total Discounts",cae122a514496d8feaf777c2a336f63f:"Taxes",cb0ea6293091c66ddd0079bfa0fbd704:"PayPal",cb6db07116117a23803fd17a955e154c:"Digital Products",cbaf678011f8a1f6e018692658d364ad:"Try Squarespace Email Campaigns",cea91b1d7f38b6c020cd3298fa750335:"Authorize Payment",cff93cd6de26f66222896b82238bad9f:"Get a Domain",d127a063d9b2555e00dbda49b77b11ae:"Choose a subscription plan that works for you.",d13b7a9ec5f93071ebe5257e3c887fdd:"OK",d17d1a5336e4ceb4adf48160fdf9de40:"Australian Business Number (ABN)",d3963a2ae8328a08ffa8cfbc84c06683:"GST/HST",d40f0453a8a5c572d599da1a52e6b3d4:"Are you sure?",d42842b2a73231f866bddc8c394b1af1:"GST / HST",d4383000511e9bd2216bf59fa8dfa909:"semiannually",d4526fba57dab6e0e0cca788ffee5a50:"I certify that my business is registered for {taxDisplayString}.",d646d4efe9b29ec708d41e5c5830f4bf:"Try Again",d6e4e62d239dea50208840f65a729b7a:"14-day money back guarantee",d81f335d8e0c952bd23731448d7661f5:"Resave your payment information and try authenticating again. Otherwise, we may not be able to process your next payment.",d89283f53a008579e5964d3cdad58627:"Subscription(s) will begin immediately and set to continuous auto-renewal. You authorize us to take monthly or annual subscription payments, as set out above, from your stored payment method. Cancel or disable auto-renewal at any time from your Billing panel, or by contacting {customerCareLink}. You also agree to our {tosLink} and confirm you have read and understood our {ppLink}.",da60a449b8cbc4b131fa2fd70d31d463:"We couldn\u2019t load your cart",dab1d50abf498a781dada70f2c6cf9f4:"Try saving again. If this issue persists, reload the page to start over, or contact your financial institution.",dac305908427b4a7162fdecc5d5b5be2:"Done",dafbcc5fe198146ca77892a1797d095f:"We weren\u2019t able to save your card. Try saving again. If this issue persists, reload the page to start over.",dc166a82090e7b7ad04657b343f3d8c2:"Biennial subscription",de20562c4bf1bafa36b9f5fd549e9c5e:"The ABN provided is invalid and is subject to GST.",df0a1f0e9e71c1665d017d16262264a0:"Get a great, easy-to-manage domain name to go with your website. Even better, they come with included privacy tools and are free for a year with your annual subscription*.",e46ee7a2bbf2c39c41154d3dedf4a7d4:"Check the box to confirm the statement and continue.",e559d18414a467db4b701c1f89902d18:"Sales Tax",e734c26c0804be303a2088ac7d796dfc:"You'll be redirected to PayPal to change your payment method.",e880d214f861dac89ab77859f3be2395:"Contact your card issuer or bank to authorize this payment.",eab028ab3def67a2dd7b81114feea01f:"Due on {date}",eb9b43350b96bfef82ebcadc89cee41f:"or",ebcaeaef4f1cb4ac0d87916adcfd42ad:"Campaigns",ee23b4d884725822266eaf89d861f849:"Promo Code",ee9e09f8e04807cb3f5ce0107acb262f:"Confirm Payment",ef4f4fcbc7a3b2c46f6d8437dc589b3e:"Remove {cartItemTitle} from cart",f0927c34db7a53366077f2c7512dd65b:"Your billing address is incomplete. You will need to update your billing address in order to make changes to your payment method.",f2a1f0f6d8da30de2c352510c246a1d9:"Cancel your annual plan within 14 days for a full refund.",f45fe52603f5d2a3b3266ae4af49382f:"GST Status (Optional)",f65f4b9a94e1e21d65482f6c1f0f3087:"PayPal",f6e2728120c88da5c02df6ba99672ff0:"Prorated annual payment",fa1c7ebfed216a54fda4ad3e126ab0d8:"Checkout",faa38fa82a4d1675cd9f86440554fd65:"Edit",faca7c2202aa7d5bc1b90f21f36d24a0:"Could not apply promotion.",fc69916476ea98404a9f97ffecf15d25:"Address",fd64eb39d5c0217470d5487ea6d7cf60:"For your security, your card issuer or bank requires you to verify these purchases.",fdf8823e7e0133bf3085ab268ec8b503:"annually",fee4204bef82fa3fa1370587f60f8d5d:"Privacy Policy"}},572856:function(b){b.exports={f1ba0c59072add186c918e0f1f747ade:"Unable to load video. Try again later."}},375392:function(b){b.exports={"0891983c1c60d3e89101260386941078":`Squarespace AI
Text selection exceeds allowed length.`,"0931d74d1c8608105279bc5c8f4316e0":"Custom","0bc40645d76e90457d9d011e9669ef4d":"Squarespace AI","121c2e869412e89f54cc0b7df95f1490":"Describe your site or business...","16aa0069bdfe453ef041aeada0bead42":"The prompt is too long. Please try a shorter prompt.","1c9b2472bd627b8d51a9d23f3ee68a15":"Ok","208b097cf3c2af10e588e70acc46b098":"Paragraph","254888b1006d6d3c93914e04ff54ae04":"What do you need?","296ceef99c97acf4f0b7589c0ed26079":"Innovative","2aa6a83a77cf5869875b5c1e6a519a14":{one:"You have hit the limit for number of AI uses. You\u2019ll need to wait {%n} second before trying again.",other:"You have hit the limit for number of AI uses. You\u2019ll need to wait {%n} seconds before trying again."},"2d186d85993b55789aaa7e093dcba45f":"By using Squarespace AI, you agree to the {termsLink} and that you are publishing the text and responsible for any use.","2ebb7c7bca07790352185bd77fa67433":"Personality","33a22ea61535b0bacceb93291de43401":"See how to create","34318431a1cb9d0c636498fc10d3b119":"Write a blurb about ","361731a8c7a610712dc82a63a3ba11a7":"Learn more","38e65abc96238907aa4392ea3eed93f8":"Save","3954a41319f0489d5185fb125099449e":"Describe what your site or business is about, your values, what you sell if anything, where you're located, who's involved, etc.","3ee14f652a6b9ad7a7c809f50ca431aa":"You\xA0ve made changes, are you sure you want to discard them?","3f4412461deb09dea72df5255b1d56f1":"Error Creating Preview","43d3d6c9262ebe1a8ec33737476a90df":"Text generation timed out, please try again.","4757f888950a7869be1a4b7f50430886":"OK","4925120b2094ee0f2bc418bc40b423fb":"Squarespace AI is a generative writing assistant which uses artificial intelligence to get you from blank page to first draft in a flash.","49c05a3f37fc7e2a1813bec801473978":"Lengthen","4dd5698d552f918071e69fa4ef55a4f3":"Something went wrong. Please try again later.","4e01fec5dd84606289b9f5546b790976":"Discard","563bcc000ad8f3edadf5c081f308088e":"Squarespace AI is currently unavailable, please try again later.","593a37b4cc8ae4e628e1e47ffb675854":"Simplify","5e392a63784e2639fa44f897b7d1c6e4":"Bold","678723320f728bf05b30d73ec70fd4f7":"Describe your brand personality...","6a6bd649d2e5617ca690b5dc28d38e4c":"Close","7a274060d2196ee4af529903f8d281d5":"Write a paragraph about ","7f4886e46d38dc8db2667c2afff7caa7":"Squarespace AI is Unavailable","80473c20839b1a89b498659d773f7788":"Creating Preview...","828f876e48dd97980ce82f967d0c94f9":"Preview","82b5648d1eb5101b8ae1795bdefb6516":"Error Saving","842fcdf2d5a8ebc95db1bcf46e3dafbc":"Stop","8a0e3572c2be16a0228c776b46d44ada":"Sophisticated","8b4d66f9752656d2ce3ae075c6a3340e":"Discard Changes?",ac272c03fd39432f22252e063f66105e:"Write",aef4553019709318b9fb3bd834e2e5e4:"Playful",af612b7263994176a4ee2ad39ae71dbc:"Write a sales pitch about ",b0c271d2eb0bd74cc3d385070668b8dd:"Friendly",b5aba344d1490c0df6257d71f934577e:"{aiTutorialLink} personalized AI content for your website.",b9fce7474eafffe1e11b57774ef5381a:"This form is out of date. Please refresh the page and try again.",bd4bf4df003613a7d7a83ae81497627c:"Cancel",be2c7eaddc1799fdcab83d4a2d58a123:"Blurb",be45a4476e4a7b355b3781b3a2ddc541:"Content Generation Terms",d19737f916c17662db0d0dcfaea69c0d:"Professional",d605cc14358700cc68bcfeb39dde8712:"Introducing Squarespace AI",df265bf50622f0032eb3716b5c519d18:"Squarespace AI (Unavailable)",dfa2800e11cb870b07df36a67373871a:"Blurb",e0dc42af2f2d17a56880c8a92b1e7621:"Quirky",e68ca503a505376791ea8c29a6009172:"Description",f36673fbbc18bac5e74893fa3d4212c1:"Brand Identity",f3ba8e07c5efe4522140452b26c9da75:"Pitch",f55c46978040a4f688683891595f4edf:"Back",f81f7410f5c09271237eb5b63b0ad368:"A Brand Identity describes who you are, what you do and what makes you special. Squarespace AI uses this to generate better content.",fcb164b6c488e57c07c87c7fbe248ecb:"Email Campaign",ff66637dc26c6824835de89adc8106f3:"Shorten"}},886122:function(b){b.exports={"003efad0ebb484352ee7c22cae162d7a":"Folder doesn't exist","004cac44912116b13c220c0e6fb4aa00":"{numFiles} files are used in proposals and sent emails. Deleting will display them as broken files but can be restored from Trash within 30 days.","00d1ceb8bda38eac9d6830219c63b1e6":"{formattedSeconds} used","02e31448fb98098d3db8dd003aee530c":"Type","03c58bcc641dd767175863becb14784a":"OK","03e1c9865a6a24fc2dde99402b59499f":"A folder with the same name already exists here. Rename the folder or choose a new location.","0516dcdaa8788fb2c1acdc66b836f4bf":"Search","060bb73a45ec95b71cc1402cca6fc3b5":"Folder ","0b587c1b0f13d7259f9a4802d739e40a":"Error deleting","1066b44f7a4219b401f60965dc5cc846":"Organize your files in the Asset Library for quick access while editing your site.","16ef506f965b9edc450e9ee2a09669e8":"Folder name is too long. Max is 1000 characters.","1804fa28805deaaa8d1ac45d2ac319d3":"Dimensions","1deb7dd666926175281709a61c0be6a0":"{formattedHours} and {formattedMinutes} left","2596c4e2f6509ef55d3f2bb533520572":"Deleted items are moved to Trash in the Asset Library","2957348f9f61472e8230ea2090ff0937":"Deleted items will appear here and will be permanently deleted after 30 days.","2a9fd7d92170a23f62d35fadf6711dcc":"Some of the files failed to delete. Try again.","2c5f8e309313903541950f652c57659d":"All Files","2de30cb65ad816f8b4319ddf57867cce":"Moving item(s) failed. Try again.","2fb7ce4814b6b2e4aa65de2b1dd7e9e3":"Back to all files","31f22bfb972543c79e53ae952e91d699":"Checking file usage...","32218b719dea9f9cb8889da30e2551bf":"Something went wrong","3505fe2e106e2e2844f3649c24457e85":"{numFiles} files are used in sent emails. Deleting will display them as broken files but can be restored from Trash within 30 days.","3548cd0ae78b10bb4687336365242b18":"{formattedMinutes} left","365a6304b48265e10c2f286926615dfc":"View Plans","3698594de999ccf94bcb83ff878d9fa9":"Asset ","3803aea7f556b4b3835ba90751554c50":"{formattedHours} left","3fa6de9c5803c2aea6997c3f97e8bd90":"{formattedHours} used","3ff42cf2aa4261b4b994561f0fdd056e":"{numFiles} files are used in proposals. Deleting will display them as broken files but can be restored from Trash within 30 days.","458d960281e411863a12c451d956b56e":"Name Z-A","468f6381c89bcb1bf8161aa48ea48caf":"Rename File","48e1c2d73a28058301a292d99b09a5b1":"{num} Selected","49daf8ccc13acda725d57222d1f4ae52":"Days Remaining","4bc52c25dea917784edaf460938d60cb":"Folder","4c5e93c3638663358e3ee8ed0b537fb0":"File name is too long. Max is 255 characters.","4fb13042652af3e1aec6c5514e4e9c17":"{formattedSeconds} left","506d4805a7033120f99a4845f38669e2":"Your plan includes unlimited video storage.","509c28add32e50efc8ef64f5bd38c46e":"{filename} may be used on your website, proposals, and sent emails. Deleting will display it as a broken file but can be restored from Trash within 30 days.","523860c5fb1d0398c56a417f6db6b2cd":"Video Storage","56e1d32a371579d19b48195f3966a761":"Rename","5967604b242b40806b88b3a782f9bea5":"Permanently delete","5aaef5140613aba8acc58fc2e31c1a12":"Uploaded files will show here in your library for quick access when editing your site.","5c355522f334c0341e6c0bb6516a146d":"{filename} may be used on your website and sent emails. Deleting will display it as a broken file but can be restored from Trash within 30 days.","6162300f170ba32b06f9183f882dee35":"{formattedHours}, {formattedMinutes} used","644aaad530c5f01fde13c581a2fdcc22":"Too many levels of nested folders. Max is 40.","65c8dc660d714937ee4cf33bb67ba878":"{formattedMinutes} used","663aea3f9f330a1aebad5eb5d4949d63":"Please refresh the page and try again.","68cf9275c856097562940f9407dc6689":"{filename} is used in sent emails. Deleting will display it as a broken file but can be restored from Trash within 30 days.","6b107b709df111b84deee2fa8c6f9252":"{numFiles} files failed to delete because they don't exist. Refresh the page and try again.","6f0848db30903123550e108410f5a626":"File Type","70a2668435afc9de4433838688c618bc":"Folder is not empty","70a7bbdc374434f52b4b273f2e345969":"File already has this name. Please enter a new name.","710d7ed91910fc0ec659d70d1226fecf":"Folder name taken","726da9ff5ae6f7ca200682321c04c721":"Added","7391805f177658eed8f34a0e694ee49e":"No items in trash","77f51268890b3681607c27ed9ca69391":"Name A-Z","78c475f28c04e76c7c387cbe49e4263c":"{formattedHours} left","78c56466c8bd1b19f7f18a21de031d24":"Try using different keywords.","794638b4485c0aa7dd7bf330bb212c56":"Only 75 files can be moved at one time.","7a34636d5281609f1e178acb178264b4":"Something went wrong. Please try again.","7b89d7da3d704e57c6223b9b7aeca032":"No folders in here","7c4ed5d279baa35071c2350f1bd4d407":"Folders","7dfaf336e4a4bdc347578468832000c3":"Folder operation is not permitted","7f8d9b8c5543ccf91eb75fb9df435d5a":"View as list","813ec04c5e80007588d8de678ac45db3":"Restore","8282e1a987f402b218220ba56ee115cf":"Your plan includes {formattedHours} of free uploaded video storage.","85282dbef5d6c3a1d83c5e2f088aff99":"Files","8963b4b25a70b6961b4715d6d015c94e":"{numFiles} files may be used on your website and proposals. Deleting will display them as broken files but can be restored from Trash within 30 days.","8aaf2237c8ab0477ea4862aa481e5801":"This folder has been deleted.","8aec1b15d2e1dd15fd0f41e3c229a7a1":"Invalid folder ID provided","8e8f51430c9397955e57ee6b2775a642":"{formattedSeconds} left","8f4aae6b1e86f199b3cf314e9de78736":"Parent folder does not exist","8fb42240a78dbe1985294a1e1b71b5c0":"You can restore or permanently delete items from Trash. Items in Trash will be permanently deleted after 30 days.","916c54769898a81a1159ca83936aa590":"Newest","91e82927c6dfff4c1f2ba2ee452b3518":"Delete","94d31e8bd7696faa3f3cab2c0b6b1cfc":"click to type a search string","960aceedf1ac9c0272cf0bedce7d37bb":"Select All","97151c58635bae6dc37fe48efd35940e":"Deleting...","976970c8a0ca290c119ea9be9c856db6":"Date Added","97c84a45c942e7b9179ac5ca7fcda2aa":"Invalid folder creation. Please try again.","983b3a251bafa49c62f094e15d49a794":"{formattedHours} and {formattedMinutes} used","987f4fbb901f9b2e3794816ff6a6ffd6":"Dismiss","98b04586706ae77d9270af74ebdf1a36":"File failed to delete. Try again.","9d4df275020e3c477c8f3c69fa08426e":"{formattedHours} used",a2d49f1a228fe2e1b0152ce49053f667:"Size",a4886d5f5db2159f629918562f2f674f:"Asset",a655de3131bb1608cae9ccad25b982d2:"Deleted items are moved to Trash",a71481dff475fbc5874fc21a30c5d5b4:"Save",a920eeadd7c60762838e5670404b404f:"Your plan includes {formattedMinutes} of free uploaded video storage.",a98b44d340a981f74a890828828f8946:"No files",aa291d0fa5ab8fb0c2f28f81945063f1:"Your plan includes {formattedHours} and {formattedMinutes} of free uploaded video storage.",abf5f9f69ba8b69f00fd50c1e0f5fd66:"View as grid",adfb572dd67abbadccc8a5d7cb5d867a:"Create a new folder by using the Add New button in the library.",ae83abc0e39e541bbc35127c4eae76c6:"Folder name cannot be empty",af908d2edd2b1dfa8555d3b99ca91233:"An error occurred while loading the results. Please try again",b287a4472bdf801a36dba0e684627cae:"Folder name is already taken. Choose a different name.",b29cf329d3cbf082832c7de73193cc71:"Upgrade Now",b2f4a994dd6d76bc0136c679dc9007f2:"Your plan includes {formattedSeconds} of free uploaded video storage.",b4447b063a236d5c602eacc4fb711b27:"Open storage dialog",b720a129b5c3496e71e631169f169d40:"Too many child folders. Max is 300.",b927e5ef2130001f8aea9ab684bf2275:"{formattedSeconds} used",b95344dd6b0214a20568d2052eb1f4b0:"Oldest",bc1b803ff9f097429f59720960b08603:"{filename} may be used on your website and proposals. Deleting will display it as a broken file but can be restored from Trash within 30 days.",bde883af915a1c58ebf6d6be52d6c810:"Move to...",bf18046909cb69ee3011c654fa0aaea0:"Ok",c2bc84903827390bc068146bcc647830:"File name cannot be empty",c6466896446dcad9e0e4e111ac6806e3:"File details",c66e35695b3366e522bf8905d3b466e8:"Unlimited",c80f100ea64f2887871c74774ce7379c:{one:"{%n} day",other:"{%n} days"},cd1431dac39a7d69501636cae24a0faa:"{numFiles} files may be used on your website and sent emails. Deleting will display them as broken files but can be restored from Trash within 30 days.",cd53c4fb3820b710adbfd2ef1ad20b9c:"{numFolders} folders may include files that are in use. Deleting will display them as broken files but can be restored from Trash within 30 days.",cfb4eae85bee2ed82ca1ecbf8953ce01:"{filename} is used in proposals and sent emails. Deleting will display it as a broken file but can be restored from Trash within 30 days.",d2324709cdc57f5c91b2d9033310d9bd:"Asset menu for ",d2ae1c19aff6727a89ac98bc2d0429f2:"Learn more",d4a63482e3bbd95a0fd4f6e6fb188c17:"{filename} is used in proposals. Deleting will display it as a broken file but can be restored from Trash within 30 days.",d4fbf142a2dd3070dc322ba20599fbc6:"{numFiles} files may be used on your website. Deleting will display them as broken files but can be restored from Trash within 30 days.",d6aec2f327a175e64839f85f25942649:"Cancel",d6f14068d4bfd2bd470a977b8e880ede:"{numItems} items may include files that are in use. Deleting will display them as broken files but can be restored from Trash within 30 days.",d729ab4e05218c2bde5e4f476ce10cb4:"You have exceeded your video storage. Please upgrade your storage to perform this action.",da957fb2e64b21ca5d8a3b8e4ca8066c:"Close",db3ffff59bc2350329c470a2e5f22665:"Deselect All",debc54cf6dd7d3b2f75ae8f67dda0663:"Error",e3297225661123a65ee0dc3eeac279cc:"Application Unavailable. Try again later.",e3ddc160857f3ba0d1edcd253e0e8cca:"{formattedHours}, {formattedMinutes} left",e6f642af6fdea1241cbb9d9497e990d2:"Duration",e7681055bba6901fa1cf811d88ac9559:"Filename",e834f8daffff0b97502bd7fb2e09a1fd:"{folderName} may include files that are in use. Deleting will display them as broken files but can be restored from Trash within 30 days.",ea2f19768fa52b1abbc2fe97bf446cf3:"No results",ea4107789f8f023cc659ab7bf4c74d97:"{numFiles} files may be used on your website, proposals, and sent emails. Deleting will display them as broken files but can be restored from Trash within 30 days.",ec325308c2c513501d8307299ced29bc:"Folder {folderName} can't be moved into itself.",ee4bae1ee02d292471be316f311bb8ed:"Files failed to delete. Try again.",efa1f9fe26cb7196d5f74f676551f3d3:"Move Here",f1bcac3a08ca2009dc6b72fa2af08566:"{formattedMinutes} left",f62b123feb5add514559e8fed4a18227:"File failed to delete because it doesn't exist. Refresh the page and try again.",f70114c79bef732078d633b3ec6c9717:"{filename} may be used on your website. Deleting will display it as a broken file but can be restored from Trash within 30 days.",f782a2dd3589a3bede049fd032d6ba94:"Move to",f9cf7ca641a80c87993bfba5c8946036:"Name",fab5e9df72df755361bdb8afdc9ddb94:"Delete?",fb7d8a80075095fdfc604409d5748701:"{formattedMinutes} used",ffa7db0afd125ada983273e21c478915:"Empty trash"}},111209:function(b){b.exports={"11203e9cf760aacd417dcbd9b77754fe":"Permanently delete","19063ed362bb860202ec1c2fe1fb9a45":"Upload files","202cc9afd838b342dab10a26a46c78c4":"Restored items are moved back to their original location","23169c9e536494b1c0fce06f861c9b1a":"Cancel","2b5f32f7b2cad5ce912e38b2e6feafd0":"Upload","3092755c38c4e0129875164851f0d44d":"Permanently delete?","44ebb24dd3fa51d51e62fe1b6ab43c09":"Create folder","48511fec91d38d68a7985a0399f58fb2":"New Folder","495464a603edd36641ce5f766f0078ff":"Empty trash","4bc1e2902bc98eda361fdbf564e42786":"Rename Folder","5629da077bac85cac40959dc3220ce9b":"Deleting...","5fa7491789ad6a82b00e8ec2bd38ff51":"Folder failed to create. Try again.","6b3127b9cb8997f15e0be6f66eef343d":"Some files failed to restore because of a network error. Try again.","6eecae4c76537d07688c140a79ebd0fa":"Restore","76b9e6b6b64ad9368f9fe1da0bf56b9c":"File Details","77be37cae2d8210fe51f2b547982e686":"Folder menu for ","7c8a57e56d16e14b641c67d21208c133":"Something went wrong. Please try again.","7cb736dda151ec8a3f946d01fdfbdf59":"Items in trash will be permanently deleted after 30 days. If any of those items are in use, restoring them will fix broken files.","7cc0e4ce5a30d572318417311044e304":"No files","828b8448994bdea96330e35ade45a9bc":"Error restoring","8752390121f3d5f37f7f1d9816548fd8":"All items in Trash will be permanently deleted. This can't be undone.","8ade407bccd873d8e46a6ed067522b40":"Error deleting","90d07b1a2d838ae535cd45644cf8061c":"Asset Library","92d43c48f62fd6d6e6f4f866df11c441":"Deleting from Trash is permanent and can't be undone.","96543926991a8c22b16b6d4e20b3b608":"Ok",a16013416e5834adb485c83f7a5e0377:"Trash",a5d232f78681643c74183b18d502e0ed:"Delete",a8644fc64b0b72df19e07d2586f6ec60:"Drag files here to upload and use them on your site.",b0925beffaf9d60eb39dbd32944cd9e7:"Folder already has this name. Please enter a new name.",b8da18faf07f5cf221ff5ea8f060aa1b:"Rename",c4f8371d6e8f4c35a4a698e28269c708:"Add Folder",c671c3c3cf3cad1d1596db4b726c4550:{one:"{%n} File",other:"{%n} Files"},cd17ee4f0c3a58ab7ce96ec637be641b:"Back",d02c4fdd834f362957253aa15be75138:"Files",d3fb26a271a2ad27dcc9e4fd8f1d0f6a:"Create",d5fac8e447a443e0cbf3ba4ee5d231e1:"Restoring...",df0d1923d4e9be8356894f04a60b9991:"If an item's original location no longer exists, it will be moved to All Files.",dfb8fbacdbe93293ba090f7dfdc00d61:"Empty trash?",e090013673c1dffd35f07cf4f39272f6:"Move To...",e0b3359b907672089fb8baeb7049fa10:"File failed to restore because of a network error. Try again.",e51e370d18cb09dec8c83e7988e58cc6:"Save",fa0aa593dab3cc9d4bf8849e3d7d7803:"Add folder name..."}},523447:function(b){b.exports={"06efae40ae0dfc30fd120b2a4ae8a562":"Preview on site","0737c5ce520e2651943de0ba061a3245":"Close","0ad3d455a7b25e53282cc10b1f98cfa7":"{name} Unsplash profile image","0e3c517c6d54896efc06133e738f1c30":"Free","0f60457468fe7d3c62937050140564f6":'This image is provided by a third party called Unsplash; it is not provided by Squarespace. By clicking "Add Image", you are agreeing to {termsLink} and you understand that you are publishing the image and are responsible for it. {learnMore}',"10616785e4ac4c7444a57a31673eee00":"Images","12265fafc6b88b1098fb5df0a4fc7b97":"Add to site","12e256231140f41f6d5fba9cf702f29d":"Copy Space","13d3c9bd3621ae6974d886e425e97580":{one:"video",other:"videos"},"1597b62cd4d064f4c50058a3bb627b1e":"Reset","16dc79537956ef47d722a8d485b08559":"Wallpaper","18b214f23ecc81638719aceb475efa7e":"Plain Background","28919b4d8e5066213d9cc875224534b1":"Maximum number of {formattedAssetType} have been added","32ae33903185d89d3d5bedc6f459e34c":"Add","395e3ac9cc43d5b907a27f8c0241d119":"Unsplash","39f38ecce0092cce01bf125b1e39e180":"Unsplash's Terms","3c0ad39ece2e16ede081db95304b645e":"Gradients","42279366ccda1f82c02d224d621649ca":"My Library","45465544b982eb1f3e29d83df9707e7f":"Library","4a877dee97cb3c79316785e39d626c4e":"Apply","4e5c7dc7f973aff120df7d86a8bd6ca0":"Portrait","52e5fcc75fbf99cf3f18e3a70b86f4a3":"Learn more","53425bfd948d1a25d607df0d4d869ca7":"Image Style","53e466febbda9648c2edbf17257e5fe6":"Abstract","5500fa9d36f301e129513c252c0e38c1":"Vertical","55bc730eed21b5dcc6119297e5334913":"Orientations","575a61c2d4a19516039a6c77e5777c51":"Image Family","5760cb8c65621dc2573652e048312171":"Editorial","5a9e29a3c0719a3f0f7d8a1c7d8fb83f":"Add Image","5e5a96566e495f0e4dc71e160a564304":"License this image for {localizedPrice} after previewing on your site.","5fb19e30e677e96ea19b7b5dd91471b8":"Only {addLimit} {formattedAssetType} can be added","6c08b78418ac61ca37c4e71717ed33a3":"Newest","70823729d57cd74ce0810116ccd80234":"Panoramic Vertical","7272601a98442dc301917c84f0ae6c29":"By: {artist}","7882dbef037546ba552bc5b2c436d909":"Free","7997f9792a69c3a8736d3bc036c41d94":"Horizontal","7a835876c0b5c007e433eafdc88808bf":{one:"file",other:"files"},"836b95085a0e9d76a2dac3dc923b127e":"Square","8594a10dc9cc45c898b9c72d44d9d999":"Close up","868a73b03212aebcb53e9f2c6fcd71ca":"Delete",a3bcd8369269db70789a5418a981ebf3:"Only {addLimit} files can be added at a time",ac120a697803259298cf357e301aeb41:"Best Match",b0c79571bb7e8f92aafd9870e1c85328:"Creative",b153821b46e0994c39e577a5150ed9c9:"Product Specific Terms",b1ad6d5b02ce7b1f938c6c92798ef86a:"Stock Images",b2fe9509d5ed6c3280670cab6e6a3aac:"Filter",b3398682c1a6e50bd2adff13f5bf4f7e:"Powered by {attributionLink}",b3ca42407614a2a6db8f0151279bae6f:"Getty",b4ca64322e72019437e188f014a5a87c:"Panoramic Horizontal",b4f6a34e8bec6ba5935a60b17e5e93fc:"Most Popular",bbf0c28db194df10149bdd192bead85d:"Learn more.",c03580a53cc0db913ab47e2dc98662e6:"Premium",c26a544a282cff149e62528f4d46f88b:"Premium Images",c502afa66fc772f089a1729ad7d4272e:"Still Life",c5ca0dcbe04b1894c317e1bbab3aee76:"Free Images",cb72490121fd1fe1d9735945b43ae6ac:{one:"image",other:"images"},d5e7a529f3c1d6dbbcc21e7a7300d25d:"Premium",d6d6ec30880c3e2b5835c53f065efc4e:`This image was generated by third party AI and is Licensed Content. By clicking "Add Image", you agree to Squarespace's {productSpecificTermsLink} and that you are publishing the image and responsible for any use. {learnMoreLink}`,e2185bd8b198c6c0b6fd7e45173f9dff:"Purchased",e243f6390fc24c625d7be2ea9b31a8ba:"Stock Backgrounds",f6b89d04c299dcb4e9a0c9cf70463c7d:"Patterns",feb8eb33fb399f68756f4b2321003350:"Minimal"}},959588:function(b){b.exports={"0253c13f05fcd79e05df90a0d19f5482":"Your authorization has expired. Refresh the page and try again.","02c110012e118fc1605f92b067deac6d":"Close","09354c6cf95c253dc2a293c1e60dcbca":"Audio must be less than {maxSize}.","0a2a1af26831cfe6f4e39ded1722b0b0":"Learn more","0c0d60e210206fce2731bd176b33991e":"Scan this QR code to download the latest version on an iOS or Android device.","0c436cafd84ac3bd079fe9bf935ff4e6":"Fonts must be an {fileTypes1}, or {fileTypes2} file.","1265c04c774bb13f06cf062a486eec5c":"Resend Push","154d30e3f822a886d0677069e5144f0b":"Image","1768b4d4b9a6910cfe5d19b234e81c58":"{maxFileSize} max.","1839729f1d97455103029905fa919545":"The file is corrupted or invalid","21b5a83a7173e34ef386b93e5e9cd1d8":"Back","29c6daf9d122d50ad7217cb20f97a05b":"Push notification sent","29db57a05cd734b5455c61bc377f2841":"Edit","31b63d577f7e4a5e4c144ca35a4e6ec3":"Video must be less than {maxSize}.","346d365448ee80b2026aa4bc0b2746d5":"{maxVideoDuration} max.","355b0c52841a6807f880b91a5e06d0ff":"This file is missing a video stream.","38f7141229af517be4206180ec8b3321":"File must be JPG, PNG, GIF, MP4, MOV, M4V.","3935296bf534bc18eedbb79572141afd":"Files must be less than {maxSize}.","3c4f787e72cc86c49722c46ac4fbd595":"Select an image to upload to your site","3caf8c9900a16ee4213fea2fc1bc63ad":"Resolution must be less than 4K.","3dabbd8580b229c14e60d241bc373267":"Couldn\u2019t upload","3e0b556da775f7473b9dc51d91173d85":"Queued","452c87cbe3948e12a7349bdcc97eb187":"Resolution must be less than 60 megapixels.","457f6116bb3c7b69882b05b6577077e7":"File types accepted are {fileTypes1}, and {fileTypes2}.","4641dbae5767afbd0f6a3380c9dea472":"Image must be less than {maxSize}.","464f1649b977c3ad275a394879ad293b":"{durationLimit} max","473e4d316b01fbe0a03518aa2198cf40":"Focal Point","4842f59ab399a6a3694124e07397180f":"{sizeLimit} max","48728297a75665be0f22e4e04545d8c0":"Squarespace App QR code","4d4a24097d0be557b2f058afab7c6562":"The file type is not supported","55a55ac5e5f65d7086543c149ca9a4cd":"Send Push","58e85c56a5b2817364450ad44fa87468":"Filename must be less than {maxFilenameLength} characters.","5d51ff24480264d7794f41ad583e475c":"Troubleshooting Steps","61eefef561a3217941bd69e5e25eed41":"Video codec must be H264, MPEG4, HEVC or ProRes.","68581b83fdc749d50dbd007b936d0933":"Stock images cannot be added.","69621efac604adae2497a769e682481e":"Video","6df2f1c4d5753ed39a4bb70eecb70b8a":"Drag and drop your fonts","71a8af216d4616b0cde8f869ec89847a":"Video must be less than {maxDuration}.","76abf8c13c51a9f38c4a5bb4b8c25e50":"Check your device\u2019s settings to ensure push notifications from Squarespace App are enabled.","76d8c0322efdf45244e6c66094c1a651":"Troubleshoot","78d3bbeb6ae05f0afd7f7c0c070cd325":"Done","7b064cd66d33a43325d44eb862aba5f2":"Add a Video","7df6fa342a5ef369209818f3f314051f":"Purchase","7e4f47b4038f5583797aad236be8ba79":"({fileTypes} only)","837745885ebc7345c53f8ac0e536c33d":"Sign into the app using the account associated with your Squarespace site.","98aef0d9859e1cc6a474f5cff2fd913f":"Quickly upload images from your device to your site","9c77a57376628287947a7694301e0b79":"Scan using an iOS or Android device to get the latest version of Squarespace App.",a05d27d9274da5677ff142fe87dd9932:"Uploads",a4e1cfd1d3bf9c891b32da375733db16:"The file is too large",a7986d33e0aca5a86c2930cc020a5d7a:"Video must be an {fileTypes1}, or {fileTypes2} file.",a9ebd1b176332e3dd1ca57dcf025e7dc:"Get the latest version of Squarespace App for your iOS or Android device.",b0060a7a5b2a61d4ab624e1ee02c568c:"Add an Image",b17fdf464649f26056e5d50427b9efb7:"Use another file.",b423d0e9f20684ddcd7f645814bbdd83:"You've reached the sitewide limit for video content. Trim this video or delete {timeExceeded} of other content to upload this video.",b4e07a5a0500934034fd4c1c30e8a5ca:"New from Squarespace App",b90e409ed0ba0650b21d1d845e0ae52e:"Image must be an {fileTypes1}, or {fileTypes2} file.",be937543dcae77d486fa6b1dd052c1f4:"We\u2019ll send a push notification",c83956cb89ef36369e1ad27200f1a1d5:"Upload cancelled.",ca7c66f251125fdfee596b665f7a408d:"Audio must be an {fileTypes1}, or {fileTypes2} file.",cc147815856b016418c619209f2bad6b:"{imageLabel} Preview",cdb2893961a3366329410c3d471d3efb:"Move the focal point to determine which part of the image stays focused in the frame.",d5fae14c8c8c6426ae916e086c2be0fb:"Make sure push notifications are enabled for Squarespace App. You can verify these permissions from your device\u2019s settings.",d9880e37f0922e94a7c23d30c5556cb2:"There was an error, retry with the same file.",dba86c0e7544ee06df5d97073c5ac999:"Cancel",df7cd092c054afde7292c07d58deb8ca:"Try again with another file.",e0c17d9f67fc766ef62cee0e0f2e6b86:"Get the latest version of Squarespace App and sign in with your account to get started.",e1cd78cef12a20c25c52cf357b548800:"The file codec is not supported",e26bbbcd7ca6393759618bf5889d8bb3:"We\u2019ve sent a push notification to your phone or tablet with Squarespace App. Continue uploading from that device.",e5a4287e70dcca84e524678936df0e8f:"This is an unlicensed preview image. To purchase its license, select \u201CPurchase\u201D above. Watermarks will be removed after purchase.",e701a1099f5f6dca15fe522d2eb7fb81:"Dismiss",e98f9a5d91521b7b5e89da310f150d35:"Replace",e9a2ecad23410f25dd20790f47c33c46:"Resolution must be at least 360 pixels.",ea0ae4f6547098a1c1cb3ce8b97b4342:"You've reached the max video limit for your plan.",eda3ba92734b701b79606e244e8ff75d:"Filename too long.",f1ef7647c3c5102d3d795ceff4af1715:"Continue",fb510edf77d230d49a81d32b30bfe728:"Upload an image"}},719405:function(b){b.exports={"07cabfe09c8634db6076b09b376be6ff":"Palette not found","2055687ac7ba1bcedc3580e70012238d":"Example string to prevent console errors","52b2893992de2524dcb36511b572935e":"Site Palette","913e0c6ca267b38cf6830c7b37291f46":"Local Palette",a7716651258876c175ec2303b9c89739:"We\u2019re unable to locate your site colors. To add additional colors, click on Email palette."}},920123:function(b){b.exports={"0e22934f1bb1f55f2ae607fb010691c5":"Customize Sidebar","16237771942eea31130c54491d35e1ab":"dummy-string","29fa819991d34ea1a45adfa41888abd3":"Stop editing","30374e996693a4477bf84f6e0f1b60d0":"subscribe to a website plan","488c29039ccd1830d1c2bfe94ed31deb":"Reorder item","65413e4cdf5cfab0ecbe100e7a6e8a1d":"Publish update to access","835c6e591683293fbc163db45bf56dde":"To customize your sidebar, {upgradeLink}.",cff9ea5b008bb51d3c135dc0d7d9c16f:"Your website has expired",df12700aded098ff4a0211fdb555256a:"Toggle visibility"}},600255:function(b){b.exports={"0020158b3cb48dd35c5f545855d7a45a":"Customize your checkout","004e0dc35bca0ead423712662c39abb4":"Explore AIO resources in our blog","006a978a61b40cc8a7edb5ca1d5e7f09":"Add product or service","011237fc88d65e90b16f73e57a04eb88":"Done","06036a22ddb50caf34a1b6247ddd25ee":"Set up your scheduling page","06eeb2fddf3285dd96f6265a8bf5f133":"Personalize your site header and logo","07d4ca8a6761e7c410e32a5cca6e16ed":"Set up to sell your content","07f3ee2100d44d9cbaa7cd075bb1aa30":"Cancel","08a8ae819d18aae1617cabfe562dc3b3":"You're ready to start collecting donations","0e8976246b0a4f14164e7694eca46452":"Modify SEO for search","1636d3bcad06db4d27011d831c577f9a":"Customize your paywall","166b71b2912246394303fbf833b5cce4":"Dismiss checklist?","1985e8c6febbc8e5db5a61832dcbeb06":"Enable abandoned cart","32430589628c88e8b0f9cea772bba649":"Add an experience","362e3e945b5ea4ad1330bce3d0598f5b":"Create first invoice","379967ea7d4df823daf82358b54ee96f":"Unable to load checklist. Refresh the page to try again.","48b3bb3bbc7f58ab8a2e6e4c5bf70008":"Download the mobile app","4dab489f5b936aacff7e203885e7ab8e":"Continue your SEO journey","4e267c2ed5fd4132b5f932f4616e8343":"Add a service","4e81adcbb7474417304a983ea7e1b8ef":"Create a holiday discount code","533f6c020d895f83297899e2473d889e":"Dismiss task?","5555396ccf35a96f0a44f021711d295c":"Add a favicon to your site","55838c3c9e7c400807de5f0d3f06453d":"You're set up for SEO / AIO","594fcaad223800a6c7295641a674fff0":"Sell gift cards","59d84ef785466d94e90c092c7b61e285":"Set up invoicing","62aa135a9dd6afc7c7bad5cca3e53a92":"Enable waitlists","63d9453fecc91d4f63cc35065657f046":"Add a group event","67b59f67967945193417c4f0a2931b0d":"You're ready to sell services","6a7453e50f0c1e17a652788813489d78":"If dismissed, you will no longer see this checklist.","6bc48f07492cee64936dd5656b869d09":"Customize your brand style","6ee1749f0e12dffb0a709359c25aaa29":"You're ready to make your first online sale","70c2e478accb0abe6af33f9d0de4ba1c":"Set up scheduling","74b16985df79c8cccca6a56e864810bf":"Start selling your physical products","7683da6f3228812d8add377f042021d6":"Start selling services","78b18d111309e8ca410527793eed5f85":"Read our SEO Checklist","7a91f9be4aa8de20c22c54a328ecbf70":"Build your website","8056bb7ba950a84c5079f93cff7fce93":"You cannot undo this action.","8662d77f24b079d34d1a40918d799b2f":"Add a contact form","8bdf6c5c722e62e3b838d0ae9a05ac6b":"You're ready to sell group events","975baed12be1ed2847597f5d3146f226":"You're set up for SEO",ab299d5eb76f806c60bf3b59a3aab91b:"Create a sales page with pricing plans",ac095f3428bebe58793f3d9d82091c39:"Convert your subscribers",b1b4bd5e4c2d108556963d2620c5e2a8:"Add a scheduling page to your website",b351404b3c57fe587921ae65344735e6:"You're ready to accept appointments",b9ed810a5f8dc242095f2df5e0f3d0b5:"Include a gift wrapping add-on",bb75c559eb7283332f2f6c094f321d75:"Continue your SEO / AIO journey",bb8e40d64e88dbff97084767a04e8811:"Add a giving page",bc50772d4921a34f45c2e97e45d2102f:"Create a product",cc564a2a5a2331c5b6fdecd4a729fb6b:"You're ready to make a sale",d3b766d449b0a01b5819bbbe9f2155ac:"Customize the donation receipt",d4fbc2c560ada98bf24b429c978cee88:"Add a product",d7d7d3ba65cd9757267fdf0b50a9c686:"Add an FAQ to boost visibility in AI-generated search results",dc5afc6da939d86feb7b8ed0ea29a49e:"Dismiss",dc7bdf8cfde0affe0e441c0f9cc2ec3f:"Publish your site",e415447720784acf218ecc35c3f8a932:"Set up to sell group events",e5bc39d375941ee27c456e18878d68a3:"Connect a payment processor",e71d7c303983649c014a9ddfc1193d1e:"Set up your website",f12151907fdd21475bc2366e8b593120:"You're ready to sell physical products",f34f3eab6fc8d67680d235a6e18b11ab:"Add a fulfillment method",f7b939b37af644776f7898f821d766c4:"Review keywords on Google Search Console",fbc73ba76f69335bf2ca95299516cf54:"Set up a recurring invoice",fbee6e8f13d5b5ede6304fa78ee45b33:"You have dismissed all your tasks",fc39b5f7638c227b8f0f683bf1bf9855:"Start collecting donations"}},300378:function(b){b.exports={"019314322a4ddbdb2af9f8d3a63fff9d":"Edit","055602537d95e5854443196860608eab":"Portfolio Categories","0a89363d2c6566ca56260450705c3ad2":"Uploaded Files","0d52f8855eea2a2f54979e3d62a85994":"Drop to upload","122518b4beca68133c0abfd36f39e563":"CC","1727eb178923b859f6fcd7b9694e81f4":"Gallery Tags","1baf0f3a541f57bba54dcd0d893335ab":"Enter link, search, or add files","200367d066820f9e9aa7726936270bd5":"Video Tags","21bef8798642deb7c1ab4682457c1349":"CC","28a504d836dfd2af4d563e7184ee9c76":"Secondary Navigation","293892a74d8472b07bb39b015a2e2c2f":"Phone","299c2acf3d367eeba567455fde95a2b9":"Course Categories","2b47d436719b69afc356fef16dc74bd2":"Email","33a2eeb6c5fa875566f7ab709139826c":"Blog Tags","37fd48533166024478200ef41f315239":"To","41d37e2a7b62c169726d3092b2002f2d":"Event Categories","472764187a7c6e201a72853979f08bb1":"Project Tags","490f42833fe12e2ee17d53fd7e813fce":"Enter phone number","56e048bf49acb22bc02dcc6c22abf262":"Search files","5e91c9557414d1e70114cc43e12611cb":"Delete file","646323d45f3e58af019318e7e796aaea":"Enter email address","65eea372f5549153aedab57a18d7c9ab":"Course Tags","71cb0e1b4fd96da2bde135661af63584":"File not found","79e3b5be6ce0f4902ff0b35efa0f217f":"No Results","7cde02ffe7c2600b01aa3d2dfc90eb0a":"Blog Categories","8750fd0453991af8011c106a3e4593fe":"Other Tags","87723728821f1e06e53d2b9e0dafa84f":"Upload cancelled.","8dc269dc8798982fc1e5be69de48dc9f":"Lesson Tags","8fd93c76cca49e68186c862c243d936a":"Event Tags","91c8a9d2f1b915695124e4989564b152":"Main Navigation","92ad3f34aac6251b90f4bd731c338162":"Footer Navigation","93a3857c1f9e4f2eff9eab31b866fcc2":"Video Categories","9a1755ba105632738e11c70dc2c5cefb":"Lesson Categories",a0687e7b274d5c94bf2594515181aa30:"Product Categories",a3f0cef80390ac9d191f411c7b9d4509:"Hidden Navigation",a7ad1d20eeda6944d7668b7ac80ca916:"Edit filename",a9b59b494616076c933a554ca9a87048:"Album Tags",af5470f12f4f45d5078342b78422376a:"Body",af8e3103bdbbfdb2722923a72e30647e:"Text",b3ea7500871d051a1299532a82acb1a0:"Products",b46059cb8054ed985f2ff19adecb06d0:"Couldn\u2019t upload. This file is corrupted or invalid.",b84fa1b8ca75c93f8c85a42186678e23:"Portfolio Tags",bb7e3ef948bd7250dd4cda8f3e4af5ed:"Remove Link",bd6e36d04267a0e5aff7ee34444176d3:"File",c1cd8409d6a1d0f5cad6e011ceec72eb:"Open link in new tab",c5fc1fda7cee89a06064827a4eca1663:"Album Categories",c8b8b3869829f83129e9f85635b57f65:"Call",c91bc3acb4d9f41eabdd1fb79a6e82dd:"BCC",d16d43a47d9e38113c0973db3f47610b:"Copy",d609c804c90a5500560367bc703fd6f3:"File with that name already exists",d7090bca6ffcb483fb8056c26c136421:"Learn more",e0ff38c3c1f8091e606f87463011e4c0:"Product Tags",e1de534acd9e0ca3351ce523d7437e97:"Project Categories",e81c4c88097aebb1b8004eb5cc2cab41:"Member Area",f200cf61abddeb481999e339b4e8b570:"Gallery Categories",f2170609d21f0219f410a2497b7b75e2:"Call",f2854e8e45264680595cf79e421c604e:"Other Categories",f340a825eebce022c1a85da0b7f3e40a:"Text",f48b5e331093b9c882d77308335ef2f4:"Subject",f4eda29f748ec49f64ac2f69eb50edfa:"BCC",f7c7ad02281c40410230bdf7b18dd276:"URL",fc918bc988a2fd60e028041ed04ca7f7:"Link Copied"}},765745:function(b){b.exports={"0093b256b5454c3db3e3bb77c579af4b":"{paymentMethod} now available! Start today for a low 1% transaction fee on bank payments","00a7abf6be35869c4e7937b5ff3b307a":"Review updates on your reserve","0125bcdef13389edafbd77200a0da98b":"Turn On Squarespace Payments","0198f384236522a789e5112eb52d0a6e":"Continue setting up Squarespace Payments","01b6f3fa214fc2705973db7614a0dd3c":"We'll send you an email when Squarespace Payments is connected.","01c9f6ae45ec5b952ad0f6d735e1f10f":"This can take up to 60 seconds to complete. Don't close this window or refresh the page until the import is finished.","02a40b7b7ca59d3cce7af0c94b8297a1":"This could result in a debit from your Squarespace Payments account.","034ab36c67dcf8f5beca831bafbaae4a":"View all rates","0415a6e4baaf6556e876e424f60ad738":"Lower rates now available with our new plans.","046a72dd2b59a06f73b7615365a81b00":"Your bank account authorisation is required to finish setting up payouts for your account.","04ffeed5eb4981be3636152fa002b6f4":"Payouts won't process through Squarespace Payments.","051f6603517d9c3cb02f916fa29e61a5":"Payment and payout management on Squarespace","053dd92ad1d19e1e2ff24060d3b7f898":"Squarespace Privacy Policy","05affeaecb8ba01ca688ad0aac12ce7f":"I would like to request an appeal to use Squarespace Payments on my site, {websiteURL}","06011cf4044f152b95bc50c9429ed9e7":"Take advantage of our discounted rate of {lineBreak}{promoRate} on all card transactions until {promoExpiry}. Setup takes 2 steps.","061129574278f72ed6fe46a8aedc00a2":"Please wait a minute and try again.","06ee7bdf47ff590605e88caea6996cae":"Privacy Policy","076853cc6dbe29cf6cb88c6416e6fe25":"switch to Squarespace Payments","07c7851284d11adbca47333e720f2393":"Your account no longer requires reserves","09fd511609dd6b84f7ccb7790360a5b5":"The only Squarespace login that\u2019s able to:","0b52d5d24da7ef21ddde8189ec39abef":"Need to start over?","0b73e12a85ce64b415d7fbfc1fcc190c":"Close","0bd8fb16852aadc132b31e93fc18452e":"create a new Squarespace Payments account","0ca9c4d3783cfb8bded2c0ed0ab2a2f5":"Learn more","0cb652d46401461fa7f156f0d36b5fd4":"Payouts will be sent the next business day after incoming payments process.","0d2cf5a5cfe327e03dcc5f36226ae9db":"Verify your email address to protect your account","0d4aa8ee13ae0d2dd2d96ab7768fb87b":"{actionButton} to enable payouts.","0f474b1bd7e5dbf8257d28736249fd22":"View Rates","0f72a082193673b1b715b3b84523f87d":"Payments toward your financing will be automatically applied from your Squarespace Payments sales. {learnMoreLink}","0fce5fafd6f3af89a5dbe792282ff88d":"Payouts are pending","105e01f57e00dea268f3de89b09c32e3":"Squarespace Payments connected","10fba45106a5a6905586eb57ce030fbc":"Powerful payments designed for your business.","110f402e2f22f59dba227b23469d928e":"To receive payouts, your bank account must use {currency}. Alternative currency payouts are not supported.","11978ea90f265f04ec2cf5ccd8b884d0":"Squarespace Payments is not set as your primary payment processor. Orders placed with previously saved payment methods will still be processed. ","12b9de1dd5e63798a9568a40beb6612e":"Learn more","13238429c2d3f7cec4aaa1ae9437398c":"{paymentMethod} now available! Start today for a low {achRate} processing rate on bank payments","13b99ecf490f175b3f83ad83daf2f8d0":"Start accepting payments right away. Customers can pay with all major credit cards, Klarna, and Apple Pay \u2014 with more methods coming soon.","1458e47f4a704c4567679843aafd0451":"Something went wrong. Please try submitting again.","1504e787c88571b1ee94685f4c8748c1":"Activate lower rates with more payment methods, including all major credit cards, ACH, Apple Pay, and Afterpay","152a9446088801e0aeba30e555e74c8a":"Manage all payments and payouts directly on Squarespace","15c400c7795e4d6a48d2353907f23958":"Unable to accept payments","164da4dffe4bbe3ce7dae72608022f88":"Access to flexible business financing through Squarespace Capital","16c8b1e11e3b0c134f2a3d5d4395aadb":"Start accepting payments right away. Customers can pay with all major credit cards, Klarna, Apple Pay, Google Pay and Afterpay \u2014 with more methods coming soon.","16d78ebb0fbeca138962c7119c8ad051":"Explore plans","172cb6b0f308bebc7f8886182c64b725":"Subscribe to start accepting payments with new low rates.","175ffaf2c0d4f38dd564108b28809e51":{one:"The holding period for your reserves is now 1 day.",other:"The holding period for your reserves is now {%n} days."},"181139b6d5e410dcebe0b4b53bc11b9e":"Your Stripe account will be disconnected from Squarespace","182044e9bebb724975383db67721294c":"PROCESSING RATES","1972a357c9c511e66be3dacef4bb875f":"This may take another minute or two.","1994254b77e481817a75229f58e64de9":"This may be due to lack of funds, permissions issues, or an unknown error with your bank. To fix this, please contact your bank or connect a new bank account. We will attempt to resolve the negative balance to unlock payouts and refunds.","1acc8376698d2ec8d14bdfe2fe70954d":"We are working on verifying your information.","1b32faae24710a41b4c902e8d632e211":"Start accepting invoice payments right away. Clients can pay with all major credit cards, {optionalACHText} Klarna, Apple Pay, and Afterpay \u2014 with more methods coming soon.","1b682b877834131f9859b21b17063c70":"ACH processing rates","1bb27c98a5c762c4c5ea3d58d7a32644":"Your verification code is included on the deposit we added to your recently connected bank account.","1c0fe698b5920a061a508f09178ff943":"LIMITED TIME OFFER","1c267d497f1f27eac52d44c9aaca58fa":"We may ask for some additional information if it's been a while since you set up Stripe.","1c7cf7421551b69a94dedadd10677a0c":"Activate your new ACH rates with Squarespace Payments","1c92f01210f770fcffb4d50bc756747e":"Your customers\u2019 saved payment information will be transferred in 3\u201310 days.","1da596b6fd8d80a5d88116ebd0e8161e":"The new bank account you connected is a savings account. To change your payout account, you'll need to connect a {CHECKING_ACCOUNT_STRING} to Squarespace Payments.","1dad4133523456888feab431ff2f687e":"connect a {CHECKING_ACCOUNT_STRING}","1db1311007a59bbd14b2573a5b3b3cbd":"You'll be ready to accept payments as soon as we finish verifying your information. This may take a couple of minutes.","1df8a5885ae43c554244ad5d8733023c":"Accept all major credit cards, Klarna, Apple Pay, and Afterpay \u2014 with even more payment methods coming soon","1f79f252eb8dabaaac8e3df62ea26956":"Update your information","21793d090ef2ee13aecf6113c4f9af42":"Your account is suspended. {actionButton} for help.","22a5061df7ff5362cbe1f3f251649ab7":"Credit card rates as low as {feeRatePlusConstant} on {selectPlansLink}","22b8c2cb55d3f02be61873db77c8c994":"Learn more","232a83c140d1e34e4db63933e19ad080":"Activating your account...","233440aa1b7d7e9de89fc013195d7d9a":"You're connected to Squarespace Payments","237e2ff2997b930c648c872d672a2203":"Savings accounts can't be used for payouts","23f355af2ed37c553f1f69c8a383a015":"CHANGE BANK ACCOUNT","24b4ab3871eca1fe9957a20b6af6c1da":"Payments Manager","24cdd1d7ffe205990954317a563be11c":"Automated verification usually takes less than a few minutes and is secure.","2561a61c173d15ad215f416621e94327":"Manage payments and payouts directly on Squarespace","25f97a541639ac69ea04645e6c4ad3ed":"{verificationButton} to verify your {CHECKING_ACCOUNT_STRING}. {actionButton}","26554f420574111dfc73b67cd787758c":"Your Squarespace Payments account now requires reserves","268232de48e82598b2db43d5c674ea09":"You're ready to start selling","26b7e7d749edc4468e979dbe8f5ff3d3":"Pending","273e7cd5bafb045f63881144bea0e230":"Domestic American Express cards and Corporate or Business card issued by Visa and Mastercard.","282145f1dbeed4a14b52990d41902816":"Upgrade for lower rates","2836377817bc3fe9abab031b7e87cf53":"Accept all major credit cards, Klarna, and Apple Pay \u2014 with even more payment methods coming soon","288a0de071571c4b0d4d42c96ba6233e":"Importing your information","28e6653a7573d978a54ad56a92a95f32":"Accept and continue","28ed0bd6063dabd480755773579a5ea3":"AUTHORISE BANK DEBITS","2911a70673928198414041b157dfae4e":"Add feedback","2a738c588a3698cc5505293586c3ee66":"You'll need to cancel your pending bank verification in order to edit your payout account. Canceling verification will remove your pending bank connection from Squarespace Payments and keep your current bank as the default payout bank account.","2a95961a4171193793a0375bc9db397d":"connecting a {CHECKING_ACCOUNT_STRING}","2ae7fd72fb92d33d13f73531da5d07be":"Due to a persistent negative balance of {availableBalance}, your Squarespace Payments account has been suspended. Your online store will no longer be able to accept payments through Squarespace Payments, and you will see a limited version of your account dashboard. Customer Support will reach out to you with next steps to unlock your account.","2b2cace922064b4785e136760d6730eb":"Set up automated tax.","2b451d00038dd9da10c6bc99d8b9fcea":"Submit your information to keep your account active.","2c796e84ffe1b2a0f9cd5d3fe77535bb":"Due to a persistent negative balance, your Squarespace Payments account has been suspended. Your online store will no longer be able to accept payments through Squarespace Payments, and you will see a limited version of your account dashboard. Customer Support will reach out to you with next steps to unlock your account.","2c85d9bb03344922199112e6f64e0582":"Recommended","2d9d72f9f637a4ad5c9706dc0a75d97e":"Close","2f29ab343d1b8fea2661a1395ab816e4":"Check your email for a link to verify your email address.","2f72fe8ad3153cc6c3929e977865ed6e":"Authorise debits to activate payouts","2fe9106714c1f25bb3071de29f37fc14":"Test","3060d456f8c20f8b8ca87e35fb08cb34":"Activating your account is taking longer than expected. In the meantime, payments will continue to process through Stripe.","30b2e080931747e0eb0888260d0439c5":"Provide information about your business to start using Squarespace Payments.","32922651dd2938e5cdca072e8988846c":"{rate} for credit cards","32da54116001ec51fe5cfa7a4d43abd9":"Low fees starting at only {feeRatePlusConstant} per transaction. {learnMoreAboutFeesLink}","32e6c5b7103838d770c90093ec030280":"Connect your preferred {CHECKING_ACCOUNT_STRING} for no interruption in payouts.","332851f0cdbb4a51ecd27cfab628645e":"Clearpay","33eae1abdedfde1a812499c40e86d150":"bank account","33fe1bc364cd5e9805d9d8e7e83a3e28":"Restart setup","345c43798e25bb474c7ce43a5c742a96":"Your bank account {last4} is connected. {actionButton}","35c310dffb509c76c4ea513d269d1f17":"LEARN MORE","35d14b49e2acc11667933436ac2e4dda":"This is a required field.","36a0e3dbfa5ede66639b3a71dd388060":"VERIFY IDENTITY","371ec0bb10b0185f7cdd1ad4a6349371":"Start accepting invoice payments right away. Clients can pay with all major credit cards, Klarna, Apple Pay, and Afterpay \u2014 with more methods coming soon.","374fdfeabbf71e3263d88e9bf232966c":"Get product-specific tax codes and real-time tax rates for over 100 countries.","379ee8e848345bdedcd7095d633eab08":"STANDARD FEE","3878b9c84add65e4dd17aab97396efcc":"checking account","39eebd8c372a7879cbec8f73c1e5ba72":"on the advanced plan","3a3f5dd232403d6a6f30886626c44f25":"(You)","3a6392f3e82353116e1867dca2a74d73":"Your subscription plan only supports Squarespace Payments for businesses operating in the United States. {paymentProcessorsLink}","3a673b6b76789f830fdeea67eb423ea5":"Verify your ownership of your bank account by uploading a bank statement from that account. Verification usually takes 1-2 business days. Payouts will be enabled after your information is verified.","3a78c24a2118cdc13d87a8ea95601b39":"We're verifying your new {CHECKING_ACCOUNT_STRING} with a deposit","3a996582beb4d34bab072a6f41f2caac":"Confirm","3b9e3221de087577fcb269c573ab0849":"Existing customer subscriptions and saved payment methods will remain active through Stripe.","3c38913ec687138f60a6bbdf5d120b5d":"Import and activate","3ce818fd3b7068eb5c216444d158e31e":"ACH","3cf8606b640fb7801dfc70bc8ca84be1":"Your account requires reserves","3cf8abacb5b764441b6ccfa054af19a0":"This will clear any information you've already entered.","3d645aa8268315c2c4e048e09e679541":"Accept payment methods like Klarna and manage your business on Squarespace. Setup takes 2 steps.","3d84b18da160a91b39aed4bced0a2ac9":"Canceled","3e6d1861d73dfa83bcdb8dc04482d5a6":"turn on squarespace payments","3e78c0b8baf44e81b91e624659e0cbde":"Credit card rates as low as","3ecbd9a008abf187572ff2081bdd6446":"You're now the Squarespace Payments manager","3ed773bd5375688d00692bd40b82fd79":"CLOSE","3f763d11f2528304a90f3a7b42732201":"Safe and secure checkout with data encryption and instant risk monitoring","3f9111a5c2f779ca43d6e7368887e686":"Only the Squarespace Payments account owner can take this action while logged into their account. They can also transfer ownership to another admin by contacting Customer Support. {learnMoreLink}","400c374c48d0f0bd574645fcef8f4269":"Instant payout","4069afd5a65aec760579bb570f1e8216":"Rates apply to each transaction based on your country of business operation and customer payment methods. {learnMoreLink}","416becbb11a324d10d0bbb8a170c4d51":"ACTIVE PAYMENT METHODS","4274944ce9f8103a29fb99c9ea77a394":"Help","42b46adfd5e94429208961a10d9ef9bb":"Refunded","439c62427048cf75eab90008296a9d2d":"Close","43b19d4207ea40d63a5e9f302242219a":"START IMPORT","4400c680742ff93441e2baf4cf3f76ea":"What to know before you switch","44424899460a45e149cbc897ffef205e":"Detached","44a593177cc5a46e20295e257ab8b50e":"This usually takes 1-2 business days. We'll send you an automatic update when the verification is complete. Payouts to your new account will be enabled after your information is verified.","453cc3581c39dd62dccb76d7d10d2d61":"The {CHECKING_ACCOUNT_STRING} you connected could not be verified. Try again with an account in good standing and registered to {legalBusinessName}. Your first payout will be sent 15-19 days after successfully connecting your account.","46d1d8d5ab92edbadcd47d5de5c12758":"DO THIS LATER","46dba3ff84849124c3f41ad26f3c67dd":"Dismiss Capital offer banner","4712e82782f051703e1708d8ac05977c":"View more options","47b4b012a615d38491e19e463b08679f":"Paused","48dc1c3da4171124440360add91541fe":"UPDATE BANK","48e2e381a19ca7b0a591abd9a2c2cf47":"We need some more information","49467b62c6fe78dbcdfda69dac821f05":"Welcome to Squarespace Payments","49667b42839935f0f7de0fdcc0b4a328":"Failed","49c3df268cd812c733936cd1577af02f":"PROCESSING RATES ON YOUR PLAN","4a073f99fa036e79afa2eef9faa0dcef":"Get our lowest card rates with new Plus and Advanced plans","4a26201edf7851defd90117f517a48b3":"Everything you get with Squarespace Payments","4a8c22e0db790310198f024bf1f8df86":"upgrade for lower rates","4ae5de145944f3a02e100db953b87e74":"Your payments will now be processed through Squarespace Payments. Customers' existing subscriptions and saved payment information could take up to 10 days to transfer.","4ae89be19437245a95b464093605789c":"Learn more","4b37319958de319a3d68200a8df2239a":"Activate your new processing rates with Squarespace Payments. Setup takes 2 steps.","4b477f48ea63e87d3ff477c6c9ea139d":"CLOSE & SAVE FOR LATER","4b821f66d0e49b0a65f6f8b9addce593":"Payments won't process through Squarespace Payments.","4b84c1a8fbb72ec5785e1b0effbe5d97":"Payments from your customers will start coming through Squarespace Payments. Connect your preferred {CHECKING_ACCOUNT_STRING} for no interruption in payouts.","4ba6dc0c8539172c29d0f2b850772307":"Review a recent payment dispute","4d02db1db81557c368b9a617d9f746f6":"chequing account","4d827823343a0aef073356fb7d82ddf6":"We're still verifying your account information. We'll send you an email when Squarespace Payments is connected.","4da056cc5c7e55c93a2373c5e3448c16":"Learn more","4e6f2a271c8dd2ebcfdf124f463cf878":"Blocked","4e94ceee1c1c7424858aed55ed4e3426":"Complete account setup and {actionButton}.","4ed60cd9fb8450d621ffef2fd7beddc8":"Your Squarespace Payments account is suspended. Contact Support for help.","4eea55fd8b0635a5f29ca8bd3f7d614b":"Connect or update bank accounts","4ef7c490e6cec5e4a1a9929ec125971d":"Your information is in review.","4f31a390f5857320daf4ea02201a5c04":"The {CHECKING_ACCOUNT_STRING} you connect must be registered to {legalBusinessName}.","4fde5d2ebb72f3f7e6d172c5f2018731":"CLOSE","4fe2ffd8b26ff2f006b4c674ef7d5fde":"If you don't want to transfer your information, {createAccountButton} instead. {additionalCopy}","502f8a8e60e4600530d636120e2b962d":"Unable to receive payouts","505e486574f531c470ad024fdc2ca4b5":"TRY AGAIN","50e3ca9eb28d736c7c46e97ea2f84b4e":"VIEW RATES","5116a08b00179d5e2160af2741aa34e7":"CLOSE","513e09f0b95fd6e4a4eb78a1f621897c":"We're still verifying your recently connected bank account","51c3f816cf5cbc5b32ec86320d82ad8f":"Save with discounted card rates of {promoRates} when you use Squarespace Payments. {promoExpiryString}. {learnMore}","51d903694a812782663197c3c13eedb2":"activate lower rates","51df6fddd604fcf214be6f853d863664":"Payments automatically convert to the default currency in your store. Squarespace uses the exchange rate at the time of the charge.","5272793caf16e129b2c03bb193b1bf6e":"By clicking Start Import, you agree to the {termsLink} and have read and understood our {policyLink}.","53717bca43f1efe6aa13b0c78fe50639":"Your first payout will be sent in 15-19 days. After that, available payouts will be sent the next business day.","55d3478c2ec7de97e6be8edcbd4bec08":"Complete account setup and {actionButton}.","566f929b400a916dab25d0374a493963":"VIEW DETAILS","579112b1d9145ae8e550d430fb82dcf5":"You haven't finished connecting your Squarespace Payments account.","5836bfe57a9bc5a2ab63c36df18e66f2":"Process card payments at {feeRatePlusConstant} per transaction.","5a175423db3158fb3d5433da898e882a":"The holding period for your reserves has changed.","5b946a057f60989dab1ea016a4bee58f":"Refresh the page to try again.","5bc33cdcde9f56f361869ca2a88b4f4e":"Verify your business to continue using Squarespace Payments","5bc96aaef2bab5631f0f71ff33197a7e":"Only the Squarespace Payments manager can take this action. If you believe you should have access, ask the current payments manager to transfer ownership to you.","5bffd162df1d796db0e16ada5276d8f2":"What do you think of Squarespace Payments so far?","5cac623df92c75b9100d524a34f9c2d8":"Get one low standard rate on all card transactions with Squarespace Payments.","5d5b7a11239b1ea0ff152bf9528203e7":"turn on Squarespace Payments","5d80b469317a95f4554d085fda810429":"SUBMIT INFORMATION","5dbf8034969fb3620aa954a77c9fe24f":"Activate your new rates with Squarespace Payments","5e2a5fdd1e8bc2a7b0ad5e1e76092eed":"We are always looking to improve and would love your feedback.","5e4ce36a7692c27a88317db691b7937e":"Start accepting payments right away. Customers can pay with all major credit cards, Klarna, Apple Pay, {optionalACHText} and Afterpay \u2014 with more methods coming soon.","5fbb9585a6449bed7f070165da957b18":"Ready to receive payouts","5fd5f9de5343ce0eb981912479185488":"Reserves are temporary holds on a portion of incoming payments that help cover refunds, chargebacks, and other losses. Your reserves will automatically be added to future payouts if no refunds or chargebacks occur.","5ff03055acf7004e4630a5d20e24ed11":"Reconnect your bank account","605811fa16a2fd239bbbae7ed8183324":"CONNECT {CHECKING_ACCOUNT_STRING}","616d1ec60c4b34b672df0d1dde5bef16":"Your discounted processing rates are active","617df3f7968a0fa2f5660b78903086c2":"Domestic American Express cards.","619b0ba8dc5212bb24f32e7a74b51b0f":"CONTINUE","6223232596fd174867a56420ee6545ab":"The payment amount and fees {totalDisputeAmount} were debited from your Squarespace Payments account.","628159704e7347612f82410a93e95bc0":"Upload a bank statement to verify your account","62e0461d8610ea5ee8f3565b6a4f2e88":"Start using Squarespace Payments","62fa0fb3e3a59aea34976b53bb8595c5":"Import your account from Stripe for instant setup, no change in fees, and no business interruption","630178e85730f5c3aa5a121d2d8b1d89":"Verify with Plaid","630547b6168e1532328fe1be0b6ec395":"Explore answers to common questions about setting up Squarespace Payments.","63419714e83994ddcb9d5e094830a7f8":"Your negative balance has been resolved","6347fd319ab2407388457409e2b0f907":"More options","634842e5cb6b592633be0981baeb1f67":"More information is needed for Squarespace Payments","63a1034c8d7bcd741eb52bed02565cb3":"All of your customer information and past orders will still be accessible on Squarespace.","63e686beff4d94c6e04401afed1afc5c":"Cardholders disputed payments made in your store. {learnMoreLink}","64bbea331471489224f6dd94ca87c0e0":"Verify your business to receive payouts","65e504ecdc70df36734b10e2ef019acb":"Squarespace Payments is not set as your primary payment processor. Orders placed with previously saved payment methods will still be processed. {actionButton}","665b718b2a3eee3b61fc4521ac807c10":"We've received your information","6684a66c465812b13f356735fa737fc7":"Your Squarespace Payments account is being activated","6863a16e2c330c30aaf8ddd197c5a364":"Something went wrong","6a424fb72900e6f80feacf3916638759":"{percentRate} + {currencyConstantFee}","6a5c76923991f191391819fb6de9b37a":"+{percentRate}","6a63ae78fa74c0f7ceac6de374ca14e5":"Turn on Squarespace Payments","6a650c7a8ff9310ec9fcc71bff364ae3":"We were unable to resolve your negative balance due to issues with your connected bank account","6af92d5902e06d4ec7de4a3a2bdbf1c0":"Automatically apply payments towards your pre-existing Stripe financing with every sale","6b0ab8a22d9a7b49049fd742ff94e495":"Verify your identity to continue using Squarespace Payments and receiving payouts.","6d49fc9f569b2a7304ab56e2b4774af2":"MANAGE PAYMENT METHODS","6d549110adb2590cc6ea2a6a4250fe38":"Orders from your store won't process through Squarespace Payments, and you won't receive payouts.","6dd369553b30fb375f6239bb20acca79":"SUBMIT","6e5f0e31a756a96335aab77b99b12186":"switch to Squarespace Payments","6ee80f6fa173c801e74c009f49d0f4f6":"Additional fees may apply. {learnMoreLink}","6f0a64f6a003dd8a7d543953848dc0d0":"In transit","6f40666e4bf99f306ed4650e415ce906":"Connect a {CHECKING_ACCOUNT_STRING} to receive payouts","6f75af9008ad22a29aba093aa1075e58":"{legalBusinessNameA} or {legalBusinessNameB}","6fc63f8beb63847b79ad4cce986934e6":"Your Squarespace Payments account information is in review","7166166144c79723c55189afe9a6b57d":"Standard processing rate: {processingRate} per transaction for domestic personal credit and debit cards. {viewRatesModalLink}","734d55f422216dfead21df28624d5636":"reconnect with a {CHECKING_ACCOUNT_STRING}","738edd399819a204d10256ae909d7af1":"Simplify taxes with automated tax","74c6437f1fcb99cb1469e8403c4de32b":"Domestic card payments will now process at {rate} per transaction.","74ecd25446245ec8ef9aa18dce140597":"Start accepting payments right away. Customers can pay with all major credit cards, Klarna, Apple Pay, and Clearpay \u2014 with more methods coming soon.","7537b4ed57bbdb787fcd745e5f2d1576":"You\u2019re currently unable to accept payments with Squarespace Payments. Funds in your account balance have been moved to reserves to cover chargebacks, refunds, and other losses.","75b4fecc4087dc0ed561e240794cbdc8":"Standard processing rate: {processingRate} per transaction for domestic credit and debit cards. {viewRatesModalLink}","76ba4113a941d5efe2310fd5bc39e634":"Failed","77096571a7048998a05df0124fb8bb5a":"Squarespace Payments - Suspended Account","7751a6dbf138207f52ade7e0061a59d9":"Couldn't load account information","782ab1f670805ab34aa98ab147fa5b78":"Complete account setup","784c6cd8bbed5ab0f58858ad6c6d2198":"Identity information needed for Squarespace Payments","792bfb23dacc704273ea85a047bb03ae":"VIEW DETAILS","7957c8f80ae54670110739b4b4853dad":"You have received new payments that resolved your negative balance. However, you still need to connect a new bank account to unlock payouts.","79eb69ce8e94ecfa9293e320222fbeea":"Payouts are paused","79f1f1600f6decfecbf90b72ed453c65":"Get access to lower card rates and more payment methods, including all major credit cards, Klarna, and bank debits","7a0e5c415a3d46f2ba7d27f5e1acf7b1":"We encountered an error when importing your information. Please try connecting to Squarespace Payments again.","7a1e252f242897627dadd09a90a13787":"Your Squarespace Payments account has been suspended","7b072ea95d735f05c4a67b33b7b325bd":"Your Stripe account will be detached from Squarespace","7b5c0f95a4d433d80811f952a03acb69":"After your first payment, you'll connect a bank account to process payouts.","7c4c36359ced061327be6b308e30e60f":"Act as the financial beneficiary for this business","7cc21d5f4a6777159267182d6a3f0d23":"Action needed to accept payments","7ec96bac5fae71364bdc0405d2f043be":"All other new orders will be processed through Squarespace Payments.","7fceb648089cc2490f668d6e8174faa2":"When you select \u201CVerify Identity\u201D below, you will be taken to our partner Plaid to have your identity verified in accordance with the {privacyPolicyLink}.","81706eab8518483cfe5ce9992868fc4d":"Discounted card processing rates of {feeRatePlusConstant} per transaction.","81763ff17215cb861b309a83a2f31ee4":"Customers' saved payment methods will not be transferred and some transactions may continue to process on Stripe.","8187683d4fa20aaa0326bd1a66358334":"Your avatar","824ca3b1d99b823f38f4ac5bcd2964a0":"Select country","8259649760b7b52ed5c873ad6cc390fd":"Built-in dispute tool helps you monitor chargebacks and protect your business","836667d97b32f9ce83bc07292f99d7f8":"START VERIFICATION","847525f933c58d7588cec7c233a6eb1f":'By clicking "Start verification", you consent to automated identity verification with our third party vendor Plaid.View the {privacyPolicyLink} for more information.',"84d54b73d59bfe8f49f499d115eb3ac2":"We'll import your identity and business information from Stripe to activate Squarespace Payments.","869a501f85d92f914ce3d77f7a6263c5":"Manage your money where you make it. Switch instantly with no interruption to your business or checkout experience.","86c0d04baa5209909f9a0ad8ea4a93e3":"Until this problem is resolved you will not be able to receive payouts or process refunds, but your store can continue to accept purchases. To fix this, please reach out to your bank or connect a new bank account.","8710119ae8217893315c1008bfade578":"Payments are not yet enabled","883a5c98eb53324131a8a35474313640":"Credit and debit cards","8853d2b8cf1a0bff0ae77b8c94936414":"Manage all your payments directly on Squarespace, so you can get back to focusing on your business.","8863812a823439d838c0a4e5af051c33":"Paid","88a868600ffe0b3e43f8f1f9d40e1c1d":"Refund in progress","899ad7ee08fc97450af0bc4552cc1072":"We need some more time","89b4447497843fb95738eebf21044503":"Squarespace Payments is suspended on my site, {websiteURL}","8c355a7915673e8186c20637e21def6a":"Select the country where your bank is located.","8c851ad6d4b9f3b161a0c71f098d6f47":"Turn on Squarespace Payments to start accepting ACH payments at {rate} per transaction. ","8ca44c2f3746f276c6c67382ab203732":"A disputed payment was debited from your account","8d1137f1b6f97e75e21dc2bde60cf0ce":"CHANGE PAYOUT ACCOUNT","8d76eeab14cff2c903d2eea5257ebcd5":"Verification complete and payouts enabled","8d84e60d7a12e389e4dfa53738abbf82":"Branch Sort Code","8da492f1f830456e82e6f5a21e23b425":"Response submitted","8dcfd6a19ee92a07152e74e82e41b481":"Cancel","8e3cbfb603e29cd9e0310ffc6358a7b1":"You can now accept payments in your store.","8e6819031f0428da127cc095079a2aa1":"You have until {actionRequiredBy} to review and respond.","8f8b29b616cd6c67928435ca5b43a836":"Payouts are paused while we review your account. There's no action needed from you right now \u2014 reviews may take 2\u20133 days. You can still accept new payments during the review process.","8fc2f96df528dacb4cb3e3a02f3a0d48":"Activate payouts by {actionButton}","906a4ad5a31ca64ee4f666736359a59c":"The {CHECKING_ACCOUNT_STRING} you connected could not be verified. Try again with an account in good standing. Your first payout will be sent 15-19 days after successfully connecting your account.","90cad24d82386298df7d58c58c0fb304":"Providing this information will help us protect your account and ensure no interruption in payments or payouts.","90d9e438214bc145e4eee53c68c9665c":"Premium cards","91f8a5a56700297fdec12671cf0c3d8e":"Rates vary based on your location and payment methods.","92190dbb51755a3596867d5dbdc38859":"HELP CENTER","92843ee5daf4573dd60c180436ccd5f3":"Your bank account is connected. {actionButton}","9293060305779502be0953f9d5ae69bf":"ACH rates as low as","92ca2f7458904050619b6778f721bfae":"Instant Payout","92fcad82cf60f29e652aa1acc9b719f6":"Accept payment methods like Klarna and ACH, and manage your business on Squarespace. Setup takes 2 steps.","938a46d6c592569db9f972ef1317ef5c":"Bank account connected","93ed1113b2e92292a24808a3214f7415":"BACK","93eeb2f9e8a4a9d4c2ebe9a04b5d2560":"Start accepting donations right away. Donors can support you with all major credit cards and Apple Pay \u2014 with more payment methods coming soon.","94263a893080c76e1e9cecabff0e711c":"Switch to Squarespace Payments","958a9fec513f148078563c23d2728b5a":"Get processing rates as low as {feeRatePlusConstant} with our new plans.","95f17d18f1379fd3d531b91366d13395":"CLOSE","96e8606f09129ebce4c362dc8d1c2f2f":"American Express, Corporate or Business Cards issued by Visa and Mastercard, and International Cards.","96ef5960e5f6a2132b03e698a9ca8605":"Postal Code","9735e8ab52b5a7468ed8bb70f26a94bc":"Action needed to accept new payments","98c11856ce7bc6b317a0cda793b0b1d9":"REQUEST APPEAL","9a1ed910b8bda218aa4854dff6191505":"Dispute lost","9a373356c6540a748e8dd2a730d90eba":"Are you sure you want to restart?","9a698f60005a4e2291b5f1a6fe10a88b":"Account ownership required","9b84850249fbd5077d9ae22338e2fc19":"All new payments will move directly to your upcoming payouts after processing. Funds that are currently on hold will release into future payouts on their scheduled release date.","9bd97d09c94fb951240c8a09faccf7b1":"Finish setting up Squarespace Payments by connecting your {CHECKING_ACCOUNT_STRING}. Your first payout will be sent 15-19 days after you connect your account.","9c0679e8ecb3797ff07f00512800210a":"We encountered an error while processing your information. Please try submitting it again.","9ccd44b9f87715b30ffd4c90bed25cb0":"Learn more about fees","9cddf8e627eb91d3b9f4429b0801ddab":"Submit your information by {actionRequiredByDate} to keep your account active.","9d0da3290262d12a0d741b1c83b4e6c4":"Thanks for verifying your account information. Your payouts are enabled and will be sent to your bank account ending in {last4Formatted}.","9d4059c02b501e4469dc0223a133f82d":"Squarespace Payments account suspended","9de8dcdb519624662d7c26f4a5907c44":"Customers can check out from your store. {actionButton}","9f4aeb6a8dbba4a517f981c53719c3dd":"We're verifying your {CHECKING_ACCOUNT_STRING} with a deposit","9f5ca8116f7bc619ecb3f00982e52581":"As low as {rate} for credit cards on {selectPlansLink}","9f6d3fef950cd6e1cb46e750c3b81108":"CANCEL VERIFICATION",a0644dd51fc045e888ad9d2c40d700ca:"Payments will continue to process through Stripe until you provide this information.",a16d9b02b53c75a3738d90eadb9a2ccb:"Bank account successfully connected",a276b707ef84a79edda4db99544dbe0f:"Open dispute",a28619aa0ddd5bf08c359b64ec8c9eca:"Have questions?",a345bc75c1486ab9482b6e2e817b44ec:"Competitive credit card rates starting at {rate} {viewDetailsLink}",a3c63a5cc3ee1cae97b753e7e13ebb39:"Contact Support",a41abbd8eb2b0deae34517f805b381c4:"Successfully cancelled bank verification",a526b940fb4555b4fedd131dde978448:"Verify Identity",a545f947e93d447a8c7414e4ace18c8b:"Offer expires {promoExpiry}",a5b68fe291c70229e77e8967757bcd74:"Currency conversion",a649d2f0fe74d01e019aa7d3d2afb843:"PROCESSING RATES STARTING AT",a69e10a38489880dfdec705395e8fcf0:"CONNECT {CHECKING_ACCOUNT_STRING}",a6b3b9f1db62093c318170283dc7ea78:"Bank account couldn\u2019t be updated",a705c60caab035295757f0108a653fba:"ACH payments will now process at {rate} per transaction. ",a70da118393ed17b188f7595f031d433:"GET STARTED",a756896a01b7509c7983fb2ffd52f49e:"RESTART SETUP",a8249f678711f9b896c6de06a9e656d2:"Switch to Squarespace Payments and get {cardRate} on all card transactions. Expires {expiry}.",a88f4264c06454f1d042aa4ee054488b:"Use the account owner\u2019s information to complete Squarespace Payments setup. You\u2019ll be able to transfer management access after you create the account.",a8a4802e9d73499ed2a8c15f2cec9074:'This will make Squarespace Payments your primary payment processor, and your Stripe account will be <strong style="font-weight: bold;">detached</strong>. This means:',a92a8cea63972720df502652c1bafb05:"Your payouts are paused",a96cf9a22a06aad914ffab8279cfb877:"You won\u2019t be able to accept payments or receive payouts through Squarespace Payments.",aa1ea2492bb35877e0c4d77cd3663f94:"Domestic personal cards issued by Visa, Mastercard, and other major providers.",aa494bfc7d84b86d28b77947296606a7:"A portion of your available balance has been moved to reserves for a fixed period of time, to help cover refunds, chargebacks and other losses. Your reserves will automatically be added to future payouts if no refunds or chargebacks occur by the expiration date.",ab3706bf5be3b642d1f9427dcaedd6d9:"You don't have any payouts",abfde25d7d990c1ae49fd0d83fa5bf02:"UPDATE INFORMATION",ac364958704a923b35be335442cae145:"Refund failed",ac5fb41bd3d3d749fb0c93eb4a082e63:"Squarespace Payments Processing Rates",ade7630f6995d2aa6f99e89cba2fb4d4:"Discounted card rates as low as {feeRatePlusConstant} on {selectPlansButton}.",ae0e5cbc696a7b857491edee32e9b1e8:"Something went wrong with your bank account connection. To resume payouts, reconnect your bank account to Squarespace Payments.",ae25a76035e07c611c50e4087c73e374:"Your subscription plan only supports Squarespace Payments for businesses operating in {country}. {paymentProcessorsLink}",ae64b52f89e7649085a0efffa6661f6a:"The bank account you connected is a savings account. You'll need to connect a {CHECKING_ACCOUNT_STRING} to Squarespace Payments to receive payouts.",aec38e4690b10cdb0e794d7cd5c57c97:"CONTACT SUPPORT",afc4a2f33a9aa3ad8d750f2734950628:"Your customers' payment information will be transferred to your Squarespace Payments account in 3-10 days",b0ca1a9f710a4ef841c0733ae478a779:"{actionButton} to enable payments.",b11b58389bc2a987d720d39251e32eab:"The {CHECKING_ACCOUNT_STRING} you connected could not be verified. Try again with an account in good standing and registered to {legalBusinessName}.",b16e500362932b4c6730ea962bd6b92c:"Payouts automatically sent to your bank",b1e7867d45550b691be3c1b3520225fa:"CLOSE",b2c1027da98c6339c9353ccb1dd1fecd:"Plaid will create a biometric scan using a live photo and photo ID that you submit. View the {kbGuideTitleLink} for more information.",b2e868e04dd731818bf2169daddd7b7d:"Payments manager permissions required",b2f0ba9b7703571eac25ff8bbcaf7bf1:"Your customer information and past orders will still be accessible on Squarespace",b3a4880500f89dfc42435575ed95d1b2:"Update payments access in the future",b4ce8c15a88315bd2c310187296bd6a5:"{actionButton} to resume payouts.",b6c466e13acc856ae827cd59224877aa:"CLOSE",b79837058c25f3ec268ec0f475ad9553:"Bank Account Holder",b7c93a82bef19a845cee492e0b464046:"GO BACK",b7feebb83a25f42bedf8c53d0a77d2c9:"on select plans",b806422e5fbfb6fab46b58ed3707d7a4:"By selecting \u201CVerify Identity\u201D, you consent to your identity being verified by Plaid using biometric data in accordance with the {privacyPolicyLink}.\xA0Please reach out to {idvVerificationEmailLink} for an alternative, manual verification.",b8d4eb48995c4c1ee96fac199a2a3d13:"Your {CHECKING_ACCOUNT_STRING} is being verified. {actionButton}",b8dba32218c6aebdb2e8bf9b48badc17:"Afterpay",b9a9632354f24b62ee378c8960a12653:"We'll send you an email when your account is activated.",bb3017432fb6f5020786c4437a786fbe:"You can view your financing history and previous payments processed with Stripe on stripe.com.",bb5fc16fdeee1b0efeb41e770ae6a311:"SEE DETAILS",bb8e4f883433f7cc8315a28f3cac2b5b:"Your bank account could not be verified",bbb8fbe78937544ca26b3ef7cf6e79b7:"We'll use this information to verify your identity and keep your account safe.",bbebdd37f2307d5d7a608341c27a1a4c:"Error: Unable to cancel bank verification",bc4980bc6c42fe451b82627ab4b6820c:"Close",bc8d9e8732747c5f425ea310e043fd07:"Bank Account Debit Authorisation",bcae5d9a3b3722747f2f25b7c7eedac4:"Something went wrong",bce4208fa9c2155c0969eca278fae9f8:"Thank you for updating your connected account. We will attempt to debit your account again to resolve your negative balance so that payouts can resume and refunds can be processed.\xA0\xA0",bd9b8a55247982d090946bad905c2cd3:"We were unable to resolve your negative balance by debiting your connected bank account",bda8ad9f532ccb7b911b40bfa571cae1:"Continue setup",bf0a79dd7b941a3b7afa2338a1583768:"Make sure all personal information in your Squarespace Payments account is up-to-date for accurate tax filing and future verification requests.",bfd0d11b421778da5476282b60d153aa:"Empower your customers to pay how they want with all major credit cards and popular payment methods",c18c489e22a12af0f6b25fbd347aa25c:"Credit and debit card processing rate: {feeRatePlusConstant}",c1b97164c41e77bc1888598756d3a26f:"UPLOAD STATEMENT",c2faedf6968e64023a1a0bf0083b8c94:"Your selling history will be preserved",c3ef2a3206e49e48044a6581c3eb5f01:"Domestic cards",c4696b37b38a07c43772a55cec608ed8:"Unable to verify business information",c4e0e9eaded0ea69d5f8372d019d2a7b:"Start accepting invoice payments right away. Clients can pay with all major credit cards, Klarna, Apple Pay, and Clearpay \u2014 with more methods coming soon.",c4f4a5a0263b88183df7948a8d0acc7b:"Bank or Building Society",c57d90baa6d1e5bd792474d9741ae0a7:"Authorise Bank Debits",c69f29812f34eec1aec8414dff41cf1b:"Squarespace Payments Terms",c9eaf5328b791eca1c0018720d7c57b2:"Accept ACH bank payments for a low 1% fee, as well as all major credit cards, Klarna, Apple Pay, and Afterpay",ca688b56332d9cc04bbc401dcd99b187:"By clicking \u201CAgree\u201D, I authorize Squarespace Ireland Limited to debit my bank account through the Single Euro Payments Area (SEPA) if my (or my organization's) account goes negative or for any other reason required pursuant to the {termsLink}. I confirm that I am the only person required to authorize debits from this bank account, and that I have read and agreed to the {authorizationLink}, including the SEPA Direct Debit Mandate.",cae7a992ba5a66e77ae07e3e8bb04dc9:"Your account has been debited and your negative balance has been resolved. Your payout and refund capability has been restored, and no further action is required.",cc50e5a9a2dd19c03d17810db2990369:"switch to squarespace payments",ccdd74c5117d7d5558190b3b9a68a843:"AGREE",cd07a5e58747cb11dec62d1d0b0ad756:"Finish setting up Squarespace Payments by connecting your {CHECKING_ACCOUNT_STRING}.",cdf2ae3aea5b19624cf8c9282f7fd402:"{rate} for credit cards until {expiry}",ce1a1bc59a3b083eb7a9ac5fece91cb9:"Credit card rates",ce416a1b0bf1693b7cd3dc8243de9cef:"Payments and payouts have been paused until your information is verified. This may take a few days.",ceff4980b1671972cd32b8a1ad1bc6e3:"select plans",cf3ac96f768c14fce0cfeb85855f3981:"By clicking \u201CAgree\u201D, I authorise Squarespace Ireland Limited to electronically debit my bank account if my (or my organisation's) account goes negative or for any other reason required pursuant to the {termsLink}, subject to the safeguards assured by the Bankers' Automated Clearing Services (Bacs) Direct Debit Guarantee. I confirm that I am the only person required to authorise debits from this bank account, and that I have read and agree to the {authorizationLink}, including the Bacs Direct Debit Instructions.",cf412155cee2a1a094388d04bc4a142b:"Squarespace Payments - Appeal Request",d04f242ebe013f9e63801b150f7ef31f:"Thanks for verifying your account information. Your payouts are enabled and will be sent to your bank account.",d16bb25e218ed2fcaca036a2d456de7a:"Unable to send payouts",d1d5c40f639b18c788094f6dc247633a:"KB Guide title",d2601e9521d5f2add23e011a2adefdf2:"ACH Direct Debit",d3427ed9136171ec9f995ab164bc5b70:"select plans",d3525c381217699c675db4e437a7e52c:"select plans",d37d06bc978535e59e6ed96ed5f3660c:"Add Squarespace Payments and get {cardRate} on all card transactions. Expires {expiry}.",d38d06ea87672288d739307b7b672e73:"View all payment processors",d3bc57be4dfec2e69fd3e8f18c9501c6:"IBAN",d3f0e9191a2ea9a86b5b3ea8f5219525:"CLOSE",d5e6b5a0481636038203513d35f36e1d:"A cardholder disputed a payment made in your store.",d619f85610fdcd11bff550fd676e098b:"Your Bank Information",d66e9e5795a9e37f1da96c8bcd410461:"RECONNECT BANK",d6821007e2b2b06acf97fad8160ef529:"contact support",d7757cf4b86dce2439951f1dd192e5b5:"Accept all major credit cards, Klarna, Apple Pay, and Clearpay \u2014 with even more payment methods coming soon",d86a01e356f11091d168f7e9f409be63:"Your account has been successfully imported, but there are a few details we're still missing.",d91b28055fe04aab7f827fb8baa8f32c:"Verify your ownership of your bank account {last4Formatted} by uploading a bank statement from that account. Verification usually takes 1-2 business days. Payouts will be enabled after your information is verified.",d946527779151303a448721b7cc2ee35:"Connect a new bank account to unlock payouts",da3b8edc5a37c689647de54637df7a82:"VIEW ALL PAYMENT OPTIONS",db0700ae8ffbc46ba7699de09de32e21:"Plaid will create a biometric scan using a live photo and photo ID that you submit. If you don't want to use Plaid for verification, you can {manualIdentityVerificationLink}.",db8537352cea09b46c1f4a925037812d:"CONTINUE",dc4ed776896a5e075a22b060b627c271:"Information imported!",dcd8f60da523b76ae35f365983ec8738:"Bank Account Number",dd319ab3e76c04d56648f00875ddf2aa:"Discounted ACH processing rate of {achRate} per transaction.",dd32881298b2b110c46ebcbe8124d077:"Until this problem is resolved, you will not be able to receive payouts or process refunds. To fix this, update your bank account details.\xA0",dd4e2dba514f0be4b9c3413033d46fc4:"Enter deposit verification code",de346e013915a7e170c69b552295e48d:"{rate} per transaction",deb35e0eaf859ea6eca7b5baa73e5691:"Klarna",df811221fdda12d77c8478b5a3444789:"Enter your deposit verification code",dffe06b153cd9c1285dc0c98095f01ab:"Qualify for new financing offers through Squarespace Capital",e14df74cbc0d2afad7108f765aa71539:"Something went wrong",e15a3fe97f0c5d416a83f84a2db87ab2:"Are you setting this up for someone else?",e1d8cd377534cca7e6faf274e2d703e6:"The {CHECKING_ACCOUNT_STRING} you connect must be registered to {legalBusinessName}. Your first payout will be sent 15-19 days after you connect your account.",e2a12d73b3f99aad3a117c921cbd33e3:"Payments from your customers will now come through Squarespace Payments. Connect your preferred {CHECKING_ACCOUNT_STRING} for no interruption in payouts.",e2d5d0c4bafb98e805fae289326b3b10:"Your pre-existing Stripe financing will continue to be paid without interruption",e3c639662243102c852b1501951697de:"Review {groupSize} recent payment disputes",e3cd5956aeff50ddbf27bf2befcdacff:"country of business operation",e400778941eec636198ce89dc813749c:"Ready to accept payments",e40a5bbcbbe1ee69ca424e2c78288611:"ACCEPT CREDIT CARDS AND MORE",e4fd7a7de68061c1c94027bef023e081:"Respond to verification requests",e4ff1fb1a140188c8885966789625dac:"After you complete account setup, you'll connect a {CHECKING_ACCOUNT_STRING}.",e55230f484f707d6c00d23bc6e251b55:"Select country",e553cc9bb59353ac6df24a3ffecc9b43:"The {CHECKING_ACCOUNT_STRING} you connected could not be verified. Try again with an account in good standing.",e5f3a5e45bca3bb2b7bf97f8ed0d7f23:"Start accepting payments right away. Customers can pay with all major credit cards, Klarna, Apple Pay, and Afterpay \u2014 with more methods coming soon.",e60a9f831fca6c34be34a6fcd86bd989:"Successful",e61fe35bf12eb5da4a85a09eaa458580:"The original payment amount and fees {totalDisputeAmount} were debited from your Squarespace Payments account.",e633cd0900a5d1cb94af9a0c4bd0231a:"International cards",e7f8cf901ab19bfd232ac464ad0be0ff:"Squarespace Payments Terms",e81bd462271c073f1a95df986dd7b0d0:"Switching to Squarespace Payments is a permanent change.",e8bb30d0d52ea6b6db9a93e787ba2c97:"Your account requires an additional one-time reserve",e9098a13675c8137f7a1907d288b31ac:"ENTER CODE",e94a583e951b043057705fcb50ce4908:"Discounted card fees starting at {feeRatePlusConstant} until {expiry}. {learnMoreLink}",e962e6d13f6b7309e940277b52a23af9:"LEARN MORE",e9958242fe74036e17cb4e04dee35aec:"authorise your account",ea5b2a43506e490862dbfa75410fdae5:"Close",eb642df1399078f986fed400b6643205:"Payment processing rates are determined by your country of business operation. {learnMoreLink}",ebf5be89f4bbacff1ebfd75450b181fc:"Your payouts from Squarespace Payments have been paused until you submit information for review.",ec31dafcdcdd9a5188a60fea8c0bf925:"For a limited time, the standard rate applies to all card transactions, with no charge for currency conversions. {learnMoreLink}",ec7665fa4ccff3c8350d429bdaf3577c:"We need some additional information to finish activating your Squarespace Payments account.",ed8170dfa9ca3958ead0454ede0ac27c:"Your bank account must use your country's official currency",ee08695a79a627dbab61671d322861fd:"Fulfilled",ee20444994d2a0019322b49a7e76efe6:"Canceled",ee2c8e2268a5f9edfec7cc154f3b1ddc:"CONTINUE SETUP",eee362321ac0c9f7a2cd798c9ac4476b:"CONNECT BANK",efa09b96e546626a5e7a3bb3da3bbf48:"We're adding a small deposit into your bank account to test your bank connection. We'll send you an automatic update within 1\u20132 business days when this process is complete.",f025ed481999bb54d92794849a8b89cf:"Rates vary based on payment method.",f23f78a5c9f0960e41309d4c98fa1a40:"Connected bank account is not compatible",f3120a95d064f9a958cd6703574506c9:"You won't be able to accept payments or receive payouts until you submit your information for review.",f3507f214a11372a5a8795dd19d34ad3:"{actionButton} to activate your account.",f3820c885a0697f2e7be5aeae8a43395:"{rate} per transaction",f3b51c5bb673d65fde7e9ca2eed16cdb:"Keep in mind",f52c042b0e7a5f5c485820d2daa19311:"To receive payouts, your bank account must use {currency}. Alternative currency payouts are not supported. If you would still like to change your bank details, please choose a bank account that uses {currency}.",f540c1c074ccf7ab14f1807c0751cd64:"We're adding a small deposit into your new bank account to test your bank connection. We'll send you an automatic update within 1\u20132 business days when this process is complete.",f623e181bc99f326b0cbddd066c09b60:"Learn more",f64ef14f715dccadd414d97c79db912c:"Standard cards",f65c111a41546e04870f2f80f31f7f54:"onboarding modal background",f6830e808225c07cfc792193b688fa8b:"continue",f6a77fbe331554896c4da6fb25e157fe:"Dispute won",f6ab9c8bbb9e78d77bb06ba5534213a2:"Country of Account Holder",f6dc32ea7672e700a3f72e277ab639ee:"TRY AGAIN",f72129f94b2dcb0cc8fa5930155e20ab:"Disconnect your savings account and {actionButton}.",f725db588caa0651ff457e4b0e36c097:"ACH is only available for payments of $250.00 or more. The total fee is capped at {maxFee} with your Advanced plan.",f728cf6730427f73269baf111f8072f4:"Turn on Squarespace Payments to start accepting card payments at {rate} per transaction.",f735a29d39aff58545aaa80f0b8cb96d:"Must match the name on your bank account exactly.",f7baa1e313364a201c80eff079840bc1:"We'll send you an email when you're ready to accept payments.",f892240f23794be7e8b71977fe121c93:"Payments are paused",f8c58cc62c0cc022ec4a29aeb9a648ab:"request a manual identity verification",f9135af7c98f8f47a4f0dde55a2dc7ea:"Provide your authorisation of bank debits to finish setting up payouts.",f96c89de6f251a7a7a6d44e42b7d3e8c:"Action needed to receive payouts",f97c19014009168df96fdacdae7f8849:"Restart available soon",fa1e3daea693db04041e2d5a4ea75132:"Couldn't load account active payment methods",faa254c0e9137fb03ba18c32c233201d:"In progress",fadf4ebfe22c5883451d465ebf46772e:"We're verifying your bank account information",fc4df6a2d76af30e51566ec5d79fb707:"Partially refunded",fca5e9672be4739187baac9c7315fd9b:"Let's set up your account",fdc4d1b35c6b34bbde423801ee6f2e40:"To keep your account safe, we need to verify your identity. Payouts on Squarespace Payments will be paused until you complete identity verification."}},751621:function(b){b.exports={"02f6f2aa87de23ac4807870857069b8c":"Underline","04d2df866ab6d359be3d44ba02b1ed23":"right","051d3343218f4216662c56a0f1fcfdc0":"Bold","0bac61760aebeb94ef257da1c64c904e":"Paragraph 3","0c097270574b1aead5d30f3f1ca14fa6":"More options","10838479b1ceb262fb4bed398137ff4b":"Heading 2","164c77d9e6e195af5e804b8187eed50d":"Custom","19127e6ac82201abd0c92c4fd5e1d97e":"Text align: {alignment}","1efe9d5995709250025f66a04518b6d3":"Align Left","27605843574c2da775b2f3029bc5b947":"Outdent","2be7658c88a3d88501fbcaaf8987cf39":"Text Alignment","2d203b70cd914295854e67ca80e62e27":"Align Center","32813028f24cff647c142e4928ae449b":"left","3623816f9afc401078a22aff297a325d":"Monospace","363f13f6c500c68ffdaa8218fde6146c":"Redo","37308c72bbfad11ae5bf4c8e9faffb3d":"Text Highlight","43c21d74d376d6d8c07f322596e1bfca":"Quote","44a7dbe9b2bc72c81ce233d950a5c84f":"Numbered List","46fc2c96881160da2d76568fd15a3382":"Italic","51e2bd3f0abcdad5d2f4738fbbaeb8f1":"Text Color","543bb4e8c363dced30c78d3d69ea316e":"Align Justify","5724d3c77e5e092d349cbad25f93469e":"Text Style","724aa3e3638d1504bb1ccfceef590ff8":"center","736612067d67c7fa856af884fb2f8cb4":"Clear Formatting","737add551fe00fa4a1a7b0b93740db5f":"Palette","73dd8deb27c177564c945e32fb4016ed":"Superscript","77d398f9bc973d1ede0121b81e1a1ddb":"Align Right","797a2deb38d2f1f005c6d0424b0d608d":"Heading 1","7a5e5306d84b4a081f701cb223a20f57":"Paragraph 1","7a644c17ac320b189643cf8c5a2cce31":"Indent","7d8df9ecf0131e86519cefe790039347":"justify","7e33995c930ea88648129c9548ed480b":"Strike","8003c805746eead5ae6eeccc899f5f81":"Decrease","93ab334193422a9956dfa990c64251af":"Heading 4",a3e524b990757420d74244d99cec1a91:"Scaled Text",ada94ffbb171e053cb9faf443421bfd9:"Link",ae26e707f8552a33028ccf0203780ae9:"Undo",ba225087f5523259de6465e88465b724:"Letter Spacing",bb52077a00738de58cf41ea082bd3b7a:"Heading 3",bcda5c44c32f0299ed867025995d15ea:"Increase",ce18f44132646416ff5c1f9737e6b242:"Paragraph 2",e0e3ec3a24305220a5e806d93953ece0:"Bullet List",e9d673cf4806ca3b012f959c465bee6a:"Subscript",f220e1bec31a96cb371f6952dd55674e:"{letterSpacing}\xD7"}},129916:function(b){b.exports={"03adf30365ff808c7bcd6289ca9e8bc1":"Dismiss","2187ac4778f8a53428493389e217ec24":"Save","21bc199b33622728b4125b48cd19088e":"Review Changes","3907dd9680b8086b78e1cab443949143":"Your unsaved changes will be deleted.","7c0daf93b64de43168955614f1c6a320":"Discard","87e113b00e3b82b6278cd8a257ee4f0e":"New","9438fc2fc56de468b90e5466fbe14591":"You have made changes. Do you want to save or discard them?",ad70c4b68dde5d43b60d5f651f0b527b:"Cancel",b5c84e92624b823c9fb074984093bdf1:"Error",bae7f9df3c090023424d8356489601ec:"Leave page without saving?",c8c57080626934d8d44915496284f6b5:"Leave",e0995f3a9533066c152544956c8228e3:"Stay"}},579174:function(b){b.exports={"10529d3bd6df3dc419ce5ebdc127154a":"Confirm","1f7ee0a38c3830b545679cfe58150b80":"Cancel","2ae2aed893548520920135f1de65695e":"The following files exceed the size limit.","2ae32a2b1ffbd0b0d75d9a6b54e7bdce":"Invalid File Type","2cb8750b3569016f0952600575515788":"Modal","3f9825350724ba93b52dd5a7a73b1d4d":"Search","418739da5eac59cd936e0c482bb6ab14":"The following files are of invalid file types.","437eee3f3c3a89d111904555f0215fec":"Only {validFileTypes} files are accepted.","5b32b25ffba4bb2128014e75428136fa":"Discard Changes","623a043a2bee4e127cd2db21befaa7b3":"Image Focal Point","818a0e0959ffeec3e0dc6a12f8b47a1a":"Error loading image","8e8207a7d81876e3345aa590bc4546ae":"An image focal point allows Squarespace to make better cropping decisions when the image is placed within a thumbnail. Drag the circle to change the focal point in the image so it displays to your preference.","974b63dca7ecd2733ad807b47eac5411":"File Size Limit Exceeded",acb4feb31b6060eba7becef98c5e92f4:"Save Changes",bbf7c6cb8dcfd36339b6d43e33ea5dab:"The file {oversizedFileName} is too large. The maximum allowed file size is {maxSizeMBs}.",bcbb0abdb78ca414779efa42fccb869d:"Something Happened",d2648d3ccaf7b49ed8a8a903c21e5c56:"Okay",dc4ebf2d22be2d599930e903063f3e6a:"{maxSize}MB",e81840baf0af02f16e25e3fcf2e9cc5a:"Try again",ec946332b17d22ef8785e4dd090415cc:"Are you sure?"}},153506:function(b){b.exports={"100da6b29b923fa8d2424ecc2234843f":"New Template Page","15e944b2a7b46901af7f987d34063bd2":"Subscription","177f5c1c6939710e1956e04f3088051f":"New Subscription","19c373b79ffd1b063b9781e5fc4deea9":"Add Product","23ea853b7741f7393f9fedcc919ea357":"New Dropdown","40497777b556af9728a5c7a8823c51d3":"Page","5ac8705519eb16fd9319e382cc4875e8":"Cover Page",ae610eeb38fbfcbb8c4dafe8469c653d:"New Gallery Block",c9e52fc88d01978921866a51c992ec9c:"New Cover Page",cdfcf3589b0022c0d3480eae946c43a1:"Gallery Block",dde0331a511d3effb1c4658f5c270275:"Store",ea86b5594ffb3be3617f49b45bcb336d:"New Page",ec63212c8ad5615e72dc32cc6b43dcdc:"Dropdown",ece102984664a1ec3e4dbeb96e96bdab:"Template Page",f622b0f868f43c1a03a91e550d8c0b0e:"Add Block"}},995265:function(b){b.exports={"10a7bdac33c0cfacb77dc380bf77e56d":"or {numInstallments} interest-free payments of {amount} with","251529e490cc8f71672b879d8687bc29":"More information","5ed1ad6425ddddce7926ac560a67e7f1":"available for orders over {amount}","6ff73a34da0878e5c2c211f893802d86":"Installments by {afterpayButton}","9f773505bb70d151e1f3504da46a16e8":"available for orders up to {amount}",a0e08d61d25e36151ba681132d6ec330:"Close Popup",dc982e89fd0ff84f89b6c640afb673c5:"Afterpay Information Popup",e57957d5526503eb0180d7fa08abfb43:"{numInstallments} interest-free payments of {amount}"}},281928:function(b){b.exports={"03ed8a0a8208f38d91ea43fcfb2674fa":"Cart","129d605196848a5638c140d2ee728388":"Checkout","177e608763b10b394a59507332431b9e":"Update the missing or invalid information above.","267b971d79b2fd102479491abeece7a1":"Unable to update quantity","379317016f8f9e771879bf7dd63c15b6":"Continue Shopping","4f37e4b63223b240b7d8d53b357fa762":"Close","4f4eb57cee331e4bce9b9b2b9e8787ec":"{price}, total price for {item}","4f7eec6a53703ee7e5f759e1d5e2a932":"{item} alert information","5594067ec2eb7899758e4961f9edc86b":"Unable to update form","5b0c6983e64dfd82f5948970fdb62cd4":"Remove {item}","76034908ec4e681b5486eb2040618f52":"Summary","7f1359b2385766869c9cbec90c29645c":"Add to cart","823e8fd2d89128022ff0fef0e9cb8c0f":"{productName} was added to your cart.","87bb6b3e520f3909e9e90f2386e89960":"Save","896b6eee6556a3723e31ad740e64d38a":"Shopping Cart","8dbc0b4f78369772fd9d831f990d543c":"{name} variant for {item}","8e733ed90c5bf49d5613c720508a60dd":"Please try again.","8ee71d998d748ba00e9e80234ce3a89d":"Subtotal label","90f2d72735116a9f7d4ec2aef34957bb":{one:"One item in cart",other:"{%n} items in cart"},"97a89a6a325cbc309ebe4e597f9fc1f9":"Subtotal price","9f6b08d833a751dcd0af336891007285":"No image",a4cde40c49be65e0781faad94fcbe519:"Quantity, {item}",a8958871ab8577d6667b57be6ef975ed:"{item}",b22005e29f0c7dd253328702493c917e:"Unable to open form",b97b63060e510629f77447c892a821ab:"Edit {item} details",bffdc4040665ab2a6af115da4073829a:"To check out, your order subtotal must be {subtotal} or more.",c43a6b7311c1eb75a85be7748c0cf830:"Customers also bought",ca02eaf2ea5e4b8b5f41df0576414393:{one:"More than one item in cart",other:"More than {%n} items in cart"},cadbd64edd794291e3a686905bacc208:"Unable to add item",d043e6155f48bd75d2b2c48f3b0e9258:"Please check your internet connection.",d16d3227422da60a63f98c59082c1029:"Subtotal",d16fa1f1d19313d233e2e75b13a1ddf3:"{item} image",dd5ce0a01f6e1c36fa9177510819e3d6:"Edit product details",e66ff745b1e97900c957e5a0a9f01ead:"Cancel",ea8d571cae88f8ae3cf5a6e7b007fa5f:"You have nothing in your shopping cart.",f62e405c0a46f7352e63fede4db0d913:"Okay",f8ab967379a4c6bbb037e255f201604a:"Edit Details",fd657139d48231170d72b9031b2a97c7:"Unable to remove item"}},299435:function(b){b.exports={"00794e235c81c0a5b3c65f00d8666c11":"Occitania","01d1a645f6d7b7324d7a198e1b49cd24":"Valladolid","02511067b344867cd943c98e9b476a77":"North Dakota","0270e6b7acc1a7acc76a3550411fc1e8":"provinces","0346a482a04dc36280be82fa8fec813e":"Kronoberg","05b06b52e541cbcc582e8f51461c60cc":"Gisborne","0687d17ffc9bcbd0ab13d8230d111506":"Ceuta","077c10366202f7ec452ae13cc9e803ce":"\xCEle-de-France","0808199fa2e671d728d1fee367975f8a":"Louth","0978dccf17e930a1b52b67f8556ed870":"Nova Scotia","0bf0234d37bbb3f702fa4e30141d02cf":"Huesca","0d74dff2e9a13ea130f7ff28ef0d4691":"Kentucky","0e524b7679b904b8f1f311738de4a68f":"Arkansas","1135481a862f86872932c54311c652b8":"Las Palmas","117d731310c483264f7fb2d8c3824fdb":"(e.g. 08038, 47005, 29001)","137f2f5c9e9c100dd2c33c89308d79bd":"M\xF8re og Romsdal","1381611281c052f0434e1bf47593917f":"Texas","13a40658a0d5f4e39bfadd2e82870637":"Donegal","14a6b0b4e51af164259b6afed3de5909":"Otago","153ced282870e60b6ba8e83362e7b052":"Troms","1542b68a80cdf235c3ebeb796653f29e":"Alaska","165f0c9e332b86bf171e7b27e511f987":"Aust-Agder","170417bb175ec5e99d1822ad48ffce7a":"Zaragoza","176136fc8abcf757e97b802d43a8c613":"Hauts-de-France","1763e15ccd97b07cdd49c37a08876737":"Limerick","182586f387bf50106d62856d97f45382":"Alabama","18aa59ce458c0219a0adf165d374d225":"Oklahoma","192868c327d0f389647902c07623158c":"New Mexico","194ca742aeb30222ffa2df3424a5b728":"South Dakota","195216682921da71f3d783c5fc98edb9":"Mecklenburg-Western Pomerania","19f9d974758cbf91246c1e57f44fabba":"Ourense","1a164818d6d4777b328fed84eef4611d":"Halland","1bcf8074ab04db419da8ad6e6b0e4a19":"G\xE4vleborg","1c4af4f28fccf4d844c30f767c1151af":"North Brabant","1c8ae8f5a218f0f6886967f897f98bcf":"North Holland","1cc8e8b456b21a9e981ccedc6a2b8211":"Northern Territory","1d71b2c7b3651565be6d1879d2932aa7":"counties","1d84f8847db367e5c86c606c043595c6":"Virginia","1e892d882bc5755f4d8227791ebc96ee":{one:"region",other:"regions"},"1f4e32a79fa44d45a3b3a81a9f0914c9":"South Australia","1fe81e41cf7ac06067bfe4718dfd5393":{one:"state",other:"states"},"20b29717bb499ee4a68b928a297203ab":"Nelson","20c648bbbe4d07489be07f8aec1977b7":"Southland","216f18ab530f0ebda76e769cbf89495b":"Louisiana","220805dd357ff5d672e86d67cd68b15e":"Brandenburg","22c8e3991c4c68a6421969e840e52e7f":"Zamora","23a6abb325643c790b36eadc5cf6b446":"Brittany","241d6168fe753871b8c42512e114da10":"address","24f9d3855f97e5b314c40d5316491da3":"Connecticut","25715d36c9ca9d059bbf11ff729612c6":"{priceString} every month for 1 year","2610dd839fd8d1ced7580c94a202eb42":"(e.g. A65, P75, H14)","2763ee6c4ae4c83f9df6e39de182d498":"Albacete","2795f1b9e418d0997e90e4c1bd569f84":"Toledo","27c57fa72b332e1a50afeca1f937d316":"J\xF6nk\xF6ping","2830f0e5ecd81d74ff488970a77820c8":{one:"region",other:"regions"},"2b6d1ee7ade56d9e1b797a2ae6f72fc6":"West Coast","2c250d0489f32d561c726074e98d9c64":"{priceString} every year","2c928b5ab7347db5e359067ecaac8414":"Tasmania","2cf4f62ddd9b263cd8f21aeea263f26a":{one:"postcode",other:"postcodes"},"2d6925de78b6c2fc313499e78f5b6f7a":"A Coru\xF1a","311d8fd9442cfd72f305129f734b4004":"Gotland","31aea3c0445794d775198e80cc0e09ac":"Western Australia","335cea1e6cdebd4ccc01355d80751f5b":"(e.g. BT, BT1, NW, NW8)","33cf1972faded073a0d24dab24981e90":"Stockholm","34108357ce9e11e2dd021b85f9a11647":"address 2","3602fe0caa22b39a92a82798a5bc30e3":"Arizona","3635c5151692a06a3a4cd5f9dfe2baca":"V\xE4stmanland","366c3ba7657f4d5c0c357419d1788d20":"Waikato","38033c64c1f39cd5ec57ea37c95a1e09":"Manawatu Whanganui","38e394787c7f6fafc2b2f542eef5dd20":"V\xE4sterbotten","39315bf58049755c9f10613fac50b13a":"Tarragona","3b62d3d92962bf8c99a92889bad68553":"Oregon","3ba41533352e348194d49fba601a4723":"Asturias","3d8b6b930539ce2133de0524f89eb9a1":"New York","3e5f1fc5e9018e241126e7d9114e0786":"British Columbia","3e6ea031dda6b84a38275c545c42186b":"Thuringia","3efc4ed492e3ed4cb87fcfbc86d055f8":"Corsica","3f2ef65bf2087f6a514a9da80352ea37":"Maryland","3f5c4b9326df576ed5619ab0f9518ac0":"C\xE1diz","401d45dec40fb73ef057b46c976b7278":"Carlow","406e080fcda8691c94749a29dd1c74dd":"C\xF3rdoba","4188f3a12f0f94bda92dc4b3fc8449c5":"Hedmark","420925cfb55265ab3242ae6610a985ce":"V\xE4stra G\xF6taland","422392285d295577d68f9f5845c1b41d":"Kansas","42345b71edcf191e987578381fd804a7":{one:"province",other:"provinces"},"4281555fda83ae89990f238c4dcba1cb":"Colorado","42859f6128248121c17b306fa16971c7":"{priceString} every {billingPeriodValue} months for {durationValue} months","435b21e64dd9341235ae3ad8610162e8":"Badajoz","445fd33d4640a41cd66fb5d924dbd220":"Dublin","44f5b584bb133a8f4798505b6bea727f":"Chatham Islands Territory","4520100dfa7e98892d81bc0d0511ff7f":"J\xE4mtland","457a2a91ddb30a52adb7165b957b88ff":"{priceString} every {billingPeriodValue} weeks","46b4f499eec735aa2c2d7b58f1e7a1d5":"Unavailable","4706d1dfe81fa89aad3b4b7c5616dc84":"{priceString} every {billingPeriodValue} weeks for {durationValue} years","4883833618214bd8573eb084047cdae3":"(e.g. V2Y, M4N, H3P)","49fb27691f6ec5ea7b15a5993bd89c3a":"Murcia","4aa38087a0cae1f21d31e48dd975d905":"{priceString} every week for {durationValue} years","4ae288419b3a4d6b7704e574763d5d76":"Kilkenny","4b3e1cb6e224ba0e35bb00ef6898c284":"{priceString} every week for {durationValue} weeks","4e3bd09c43cb807cd145c92f33e16d18":"Galway","4ec2668795801ada82125b7c8b5f2395":"Schleswig-Holstein","528ca8c718a049e3b5e7d56a803c2125":"Saxony","53b704a1c0d8149625b2d7486c71a52d":"District of Columbia","53c21394e229bacfa96b17d49c399555":"Akershus","53e6d4cacab49879c5a331593bd40434":"{priceString} every month","544a40d02f0b60623648a5d73e2c5e91":"ZIP Codes","554b278669b65e819db579b9ff2fdf9a":"Bourgogne-Franche-Comt\xE9","580d1b84a1b41084f141189f9897d067":"Quebec","5a3bd4310718229e7471735641a27f14":"provinces/territories","5a77a5bf55b6b914b1a2742d4655ece9":"Auvergne-Rh\xF4ne-Alpes","5ac7244935c1d35e8c2b0a92cc8d67e3":"Clare","5acf8858e88a14b49b132487873449dd":"Alberta","5afdd73dcc581a60cef9a6facc45f2f0":"New Jersey","5be599424f113ce0b0032b5efb38fdfc":"Rhineland-Palatinate","5ccb5c0b07da3ce648787fd47d7486b3":"Sogn og Fjordane","5d12f441612e08c8e684b01ad7e2d0bc":"Flevoland","5d1ba45280cb01f1dec6e7f906b37924":"Utrecht","5e0eb33d828c277416946e10c0c1d9f7":"Nunavut","5e1fea28199a19bae2bb1aab910baf23":"Cantabria","5ea149f54a7526b63bbadfec811dbd07":"Nordland","5fc15f3d7a61e2d053330fdf4626a30c":"Maine","6097e2621d32437b3c2cca7693d55326":"Bavaria","60e5e1686c5e4eecdd2794b6c6e2d79f":"Roscommon","619642454553e621baf20d99a1ce90be":"Illinois","6202468538a8bbb745e744efdd3e8769":"Biscay","6222b9241b94bfd6a6550790f7b79b31":"Postal Codes need to be 4 digits.","6281b842ad5889c1a9a486a24e57e531":"(e.g. 90210, 33139, 10004)","629069f4431a4cf99abc9fece1039eeb":"Sligo","62a8c803cf16804f100c34ccfeb0fe5d":"Normandy","6322a811b44c117b7e8b3fe9b2b8678a":"Northland","632bca4e1d2acdb68934bdf318f812bb":{one:"postcode",other:"postcodes"},"6399844b49c3a6f061d4a3dd39f84d49":"Delaware","64a151599777e45cc6cda44d7a05693e":"Soria","65a84f0a64ac82819b88f4b548de4a57":{one:"postal code",other:"postal codes"},"66d129e30f7f84e782a6711477dac2ad":"M\xE1laga","67419679d30956360ec30f19ca1c37c9":"Gipuzkoa","676092447b62dd1a4d5db37244930d47":"Cork","68337f9d09b5b5f26257226d5c6df769":"Postal Codes need to be 4 digits","68b440e755248b1e70c5a79bb773c0f7":{one:"region",other:"regions"},"6b6ddf6c118212b74013955b0b8e25c6":"Tennessee","6bd247675e5a7363fe05c4dc022728e9":"Auckland","6c769007d2cc3f555c82b00f383ba5ea":"New South Wales","6d33d36bd17b7313988d10ee3ca3c1a7":"(e.g. 31400, 64200, 86360, 65000)","6fc80c7927a76a0bf99388da18a2fb3a":"Queensland","6ff809107d64ea178111062880aa0035":"South Holland","70fecd544497cbd5261fb633076c61b8":"North Rhine-Westphalia","71a4b7cfd04b56caef7497cbf018b00a":"Alicante","72501aeb82a01809ce1845d0341a5b20":"Waterford","72c79a43de0a0eff8eceae5b9d7e35e1":"Wicklow","732c8c0f18bcc0d65c016911504f0278":"Northwest Territories","73971392005d45d4c5c3cef9f5f2eca5":"{priceString} every year for {durationValue} years","73b4fdac4be99aafbe3dedafaeaf9ded":"Baden-W\xFCrttemberg","74b43eab3cd0b33ede94d16f0f5db809":"Scotland","74edf8f5cfb317933ae3167f10136667":"Friesland","759ab6f0c50c0a334ce0e951a0b174c4":"Postal Codes","75d6a44002d0ded38c87ce5fa74c4abc":"Bremen","7673697dd252aa5bc2cab41f464f8d6d":"Melilla","76932256ba828114d0c77fea17c07474":"Longford","78e36540d457e4a5ed4e2423e0a5b87d":"Routing keys ","79048ecc251a03f31442bc92e5ba6037":"Grand Est","796e5fce7f722e897fe7a12bcd80dc09":"Pays de la Loire","79cec9d55621a01ed077d24d4373dc92":"Pennsylvania","7a52729707011758e864cf7012281785":"Zeeland","7c01be4628810b8735ad64018ece4e1b":"C\xE1ceres","7c1bb5340fce0986e5bff68d6e6e26ea":"Salamanca","7c4933a8044968a06c5083327cece2e3":"Enter only the 1-4 character outcode portion of postcodes.","7d78fc3a1424b11ea3d4ffcac3bde101":"Provence-Alpes-C\xF4te d'Azur","7e08d20a9c40434e0855ce0076dd68e1":"Ja\xE9n","7efc0133e670ae2f5ec8b55e40bf85c0":"Limburg","813d5ee34ad786b034ecfe8e3f505e63":"Teruel","81cc5acabef91de078ac51597778689c":"Barcelona","829b73bf0c6722ff0fb22b9d529b836c":"Saskatchewan","82c0874073e66bdb99f1342b7c166330":{one:"province",other:"provinces"},"83447dc7eea1072e83526fc026c0cd72":"Nebraska","83b38fef76da2cf445ebec30dbd2449c":"Groningen","83c2ba8d3348f79e0356517f5c2752f4":"Burgos","849e13273c8e0cfef11c94f24ae313fb":"Armed Forces Americas","84c1c31745e3af33cefc1b89bab9c4ed":{one:"city",other:"cities"},"84d9bd7c02e6dfbdab6ec24e99ebf0e1":"Invalid postal code.","851bd939bf219723089e51c993634aad":"Rogaland","86d1b5828370ac648c68549c89c9722e":{one:"province/territory",other:"provinces/territories"},"880ed991b5db2d9205e5ff4752c926a3":"Dalarna","8930f9d8c4db23794d9908cca3281ffa":"La Rioja","89640a0416b629bed0f6f9d5da13caf2":"FSAs","897b4b6438770afcc0e30554a71aa1b3":"Hordaland","899e5669540fdcd49579f95fa8e7d4c4":{one:"ZIP code",other:"ZIP codes"},"89a6d50d54f46e8c3254d63c4b9672e1":"Navarre","8b5104d6eae17ccc8ed3c36734cbea4f":"Uppsala","8b5bcb5a54c615e16d9f00633b2d64ab":"California","8b9a0ef25a0741513bd4bb7499ac3f0c":{one:"FSA",other:"FSAs"},"8bd0da24e1f9504ce036d12507cc1eeb":"\xD6rebro","8c2ddf39204be943ddb4b6bd0c852ee0":"Florida","8d9030e87a2ce2a253ccb5ff6babe735":"Guadalajara","8ebf289a4c40f54be5a64b11127f7433":"\xD8stfold","8f9523d0f412bb7cb57fb7c574dd2d3c":"Mayo","9193a72666b1fda265aaf6f2fd2e569c":"Tasman","92671cc805b81d8e331709bb6725d2e7":"Saarland","938d5242ef45ddb77bcf20077deae782":"V\xE4rmland","93b58f0baf45be64087f1bb6b5057816":"Minnesota","94eb8523959c0442994c223a91d02a4a":"{priceString} every {billingPeriodValue} months for 1 year","9526d379f130fb4dbc3188e94a9a1fe4":"Finnmark","95fdded56e1b4fbe25527cb2990a67b1":"Kildare","9682fd3c408871db9a5c27f6eb59f91e":"Postcodes","9825dc9ff60b61ca6b1a51689c15718b":"Hamburg","98839fdd678824f7e29b56e44c02a92a":"Greater Wellington","98c3f4f1f696a02e6dd67d1940177ae9":"Girona","99025daa1dfc7337d3248543d4d6fbee":"{priceString} every {billingPeriodValue} months for {durationValue} years","9a6fcf2ae7782f225b35c7423074ad2c":"Hawkes Bay","9c389d07dcc5ef2603005128c1154983":"{priceString} every month for {durationValue} months","9d2eac64219d1191b2c6faf26bff4b98":"Michigan","9e68d01bf5a6a0b83aa0550ee1de6c80":"Tipperary","9ede47f1c1594df88fa28ede6e8cefb5":"Massachusetts","9eea9206fadd139220c267f2a30f3321":"Canterbury","9fcc50849e474d728b90b05ed71dc614":"Granada",a2715a9854e692a29c2fc832be8c6737:"Kerry",a2772fa7b259737830752aaca9c3efd3:"Hawaii",a39d7f43cf9a3b70e6162fe223deaa6d:"Buskerud",a3ab943178476033be432946c87f08a8:"Wales",a50c5916726c3627e7bb1380149222a0:"Saxony-Anhalt",a64cc60fb0c125664d1b69e93da0bf2b:"Enter only the first three characters of the Eircode",a683578c1b53fea131c5186757fdb852:"Drenthe",a76097100e99514993c67ce0a504d944:"Sk\xE5ne",aa2172f3e598d9dfa66c2e0874204dea:"Lleida",ab5fbf5fdfbab516b63c37c02b29ab8e:"states/territories",ac9482c4ce2dc144b9b6b58f0222d3ed:"Rhode Island",ad27f468e6b4148aba6f36972b011e3f:{one:"postcode",other:"postcodes"},ad4ab0550173ec2165e0cb3ff0d333e4:"New Hampshire",ae82578614359d78fa820b7d1fa9f462:"Vestfold",af950c6eb7920f799f4bfb8ef84fc061:"(e.g. 6021, 7420, 9371, 9382)",b1147e0b504af60bf3ac5879a445f0f8:"Telemark",b1eb566afe99f03326e038eb60c5d50e:"Tr\xF8ndelag",b30919b3a6af76982b2dc0b93db98674:"Le\xF3n",b35b1c285ae2b545da5dda0454d14775:"Armed Forces Europe",b3ec6c03ea56ed39aa1b38b42f184c55:"South Carolina",b449964d3a7e0ccba8e2958cd75af5e7:"Offaly",b452bd33ae2508b1fbf7b92e928719b6:"Australian Capital Territory",b48cbd2f5953d9a6ce8386ca452f23ef:"S\xF6dermanland",b49ad7bc53c5c3012aef78d5ab10a14f:"Ciudad Real",b4d7fc95cf6edfecfeb39eab7ed921f7:"Seville",b4eeec148e01c98787e939b35e75bd4c:"Monaghan",b503ccc15acfba32b443b15f9be7dc86:"{priceString} every {billingPeriodValue} years for {durationValue} years",b5564cc8c07496b41008182caac73d7a:"Montana",b60ff2beb875dc27a48879f4c01ac9d4:"Kalmar",b6e1bf28d28b6d5a6d6c859a2db1e224:"Nouvelle-Aquitaine",b7ad07308f56fb48852c530294d1b431:"Georgia",b7b297b78bccf9f0ade60f32b9adf35e:"postal codes",bc4942e6eb5560957076ee72bd450a87:"{priceString} every month for {durationValue} years",bc631d5e0bce55647f3576a1af3ac1c2:"Taranaki",bdf385760f3426c6fd05a852ca4ede89:"\xC1vila",bebbfb2e4919958bb71fae9322f00b8e:{one:"postcode",other:"postcodes"},bf61e95e1cd58efbe24116b64da48a69:"Postal Codes need to be 5 digits",bfce69c10e569bca8cf0016e9b6efcea:"regions",bfd537f1ea3d1fb2121c7e26ea1dff49:"Prince Edward Island",c0568ce398250cdb239e54dd003d820b:"Newfoundland and Labrador",c094c50bc552dc153f05bff562907c74:"Blekinge",c0e66a8eed23b71c0f86e2ca0e73767e:"West Virginia",c15e09a8ed4f3c9735e1945cc876a50c:"England",c1e72926285018781f7d6b79f5cf3496:"Ontario",c34bdd6b3756914076d13924d02f51cd:"Meath",c3a3c06fe28ba162e43a4427299619ab:"Indiana",c54d472d4ad44af8de6efe2f4af8da2a:"Pontevedra",c7094898f54b9d547da8e1c71ec88eca:"{priceString} every {billingPeriodValue} years",c763ae30b068c1e5c35ef0affaced3ca:"Idaho",c823faa7c2a8d899cc4e722e007bde77:{one:"county",other:"counties"},c8ec364dd6f5adcf82319820e33ed55f:"Iowa",c9eef945d0594d2449c06c16e5b7057f:"Cuenca",cb02edc9d115111d1e997a8436f6efad:"{priceString} every {billingPeriodValue} weeks for 1 year",cb2cc71b312a7d03f3edf35864206646:{one:"state/territory",other:"states/territories"},cc274f785a6a71bc0104670463e763c6:"Hesse",cc7462d80069ef888a48eb9ecb8b8080:"Laois",cd960236c981110601aa1134588e1964:"V\xE4sternorrland",cdcfade044d0d795cf16710dbb7b3055:"Nevada",ce2add86a7731213e45b14f1d77bed0b:"Leitrim",ce4ddaa3edf143287cd65dd2d362f329:"Madrid",ceaf28d892a92b9f5d7885d4c95cccfc:"Huelva",cec8c4ab63e9486281305ce5dc37be56:"Bay of Plenty",cef01d22bd1d40fe4c3a5f6f83738e86:"Castell\xF3n",cf77a8c222c1a75c8182b6997d3360db:"Palencia",d070acc40388b34ce7c70cdbc26f33ba:"North Carolina",d09ab56d97d63c0580cc32891860168c:"Oppland",d2438fce35bb14ef915bd91d9372ed13:"New Brunswick",d281968e97640002fc5e3762fea02393:"Northern Ireland",d2f51fa44a8861091301bdf78881248d:"Overijssel",d2ff9e34f7d4722e357d9718abf632ff:"An FSA code is invalid.",d538d096e60d6a8bdf37b942451bf583:"Marlborough",d5821f13892eba500f079f657f8c9bb8:"Gelderland",d62034f3ffac6a74673302b5aef4e5c0:"{priceString} every {billingPeriodValue} months",d633d098ea9cf64e37abba123ca1a802:"Cavan",d70c8cf7790980effe60d5e82935b0cb:"Vest-Agder",d7da7078e417d85a5d6153914df94501:"Missouri",d84414dbe7057f074c6e7481c34ffa21:"Santa Cruz de Tenerife",d8e75c7f5819c9c506237eac488a59d9:"Manitoba",dac0934ed119c944592735e1ed9d0970:"Victoria",db2f219fa4c4b9633b22f0fe4e6f9532:"Balearic Islands",dd21aee6f89a601924a4e78dbaa52a18:"{priceString} every {billingPeriodValue} weeks for {durationValue} weeks",dd8d4fa7fd177e08efbdeed9ecaad813:"Wisconsin",dde9f4074d67e2029dec0f54cc968270:"Vermont",de7a226f0c826c00321fb3d4d6d727f2:"Enter up to 3 digits of the postcode",de84d3928afa47555e2e272d36eefa5a:"Postcodes need to be 4 digits",df35d12405760684b7b991ba29a05d9d:"Utah",df419542c1f676c32375ed2b2ddbb5c8:"Oslo",dfae2f6d1ba22473879169a6de7c1ce7:"Almer\xEDa",e2078f67b578417c25534c3821602d73:"Mississippi",e28e32dbe68fd12344816f1a90571cc2:"Armed Forces Pacific",e4f13be78f017226a1e6d93301bb8eb4:"{priceString} every week",e6180cdcaaf9443809d523ba6a0c4126:"(e.g. 6856, 9105, 9170, 2609)",e65c72558f8ccfeefb68d42336065d46:"Berlin",e66afd9f4a2df5d4ade657fffa315204:"\xC1lava",e7d550c035572999ab58d93951ecb924:"Segovia",eb9336e5d12f1338e99f4fa79d2794f6:"ZIP Codes need to be 5 digits.",ecc3775091857144a16df81e16759d6e:"Westmeath",eee136534c2508dae589a49a0f488804:"Ohio",f1921be45352fa2fe9386ecc5d886b39:"{priceString} every week for 1 year",f27d6696ed0009b179da2153bf8dcd48:"Wexford",f3a1a530696bcd3ae71366f207e8f678:{one:"postcode",other:"postcodes"},f3d2f3bf9e84107ecb9b6b5b4a1d6ede:"Norbotten",f46b2482f974c6abc61d291931c550df:"Centre-Val de Loire",f4b2754b1b500596959387f8fa62723d:{one:"eircode",other:"eircodes"},f87ac4b4279f33e09e9ec8ab482677a6:"\xD6sterg\xF6tland",fa23b141c855e64dd3294c956c390b61:"Wyoming",fb1687072ff2dc75246f2c3f40c75f6d:"(e.g. 1, 203, 42)",fb181024d334a1bbcce9323742bbd75d:"Lower Saxony",fb58c1679f034996e115ce5abe5193d9:"Valencia",fd66039016906ea77616fcb25a2bf78d:"Yukon",fe8f3827350c82c928a653157dbfa1f6:"Washington",feb80631fb1afc9f370e3b3c5ff89e9e:"Lugo"}},251707:function(b){b.exports={"035d6db48366598d55c20c93e0c44ae4":"Thanks for your feedback","10d06f3cc584f88f516b460f757876b7":"You have already reviewed this purchase","14c484b8f59becfc9289037e340c3a5d":"Continue Shopping","162bc6da1abeb8f06f87b62c96d22bf7":"Something went wrong","2701f1d9dcb3d93702ea50717cce9354":"Try submitting your review again","384b3777b20b19cd61953eaa7e051043":"Review","623c88477a8b3fef5dd67843fa8dbf7e":"Submit","75e6c93da70e9792d0a01dae20499ad7":"Close",b063faac29a0c4f947fdf9586a0a1d2f:"Rating (required)",cf99e3390d505a466a43de7d194687b4:"Please select a star rating",d00161a7f82400bab5d2f6be1c43885a:{one:"Rate your other purchase",other:"Rate your other purchases"},d517f2bae8e7873c9b13cd3d52839410:"Your review request has expired",e0c04bc42f2ab551c09d41345fd25155:"Rate your purchase",e3a6618e2010bfff8207009bc3ef07b4:"There are no products to review",e4398ec9a661fe01116cd3c6bb35a7e2:"characters left",efa2df24f7875c0a02986e53f90d467c:"Describe your experience"}},709262:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getNormalizedDate=void 0;var r=e(850169),o=function(a){var i,c,u=(c=(i=Intl==null?void 0:Intl.DateTimeFormat())===null||i===void 0?void 0:i.resolvedOptions())===null||c===void 0?void 0:c.timeZone;return a instanceof Date||typeof a=="number"?{date:a,zoneId:u}:a.zoneId?a:{date:a.date,zoneId:u}};l.getNormalizedDate=o;var n=function(){function a(i){if(i.constructor.name==="GregorianDate"){this._d=i;return}var c=(0,l.getNormalizedDate)(i),u=typeof c.date=="number"?c.date:c.date.getTime();this._d=r.GregorianDate.fromUnixEpoch(u,c.zoneId||"UTC")}return a.now=function(i){return new a({date:Date.now(),zoneId:i})},a.prototype.add=function(i){return new a(this._d.add(i))},a.prototype.set=function(i){return new a(this._d.set(i))},a.prototype.startOf=function(i){return new a(this._d.startOf(i))},a.prototype.endOf=function(i){return new a(this._d.endOf(i))},a.prototype.dayOfMonth=function(){return this._d.dayOfMonth()},a.prototype.dayOfYear=function(){return this._d.dayOfYear()},a.prototype.weekOfYear=function(){return this._d.weekOfYear()},a.prototype.unixEpoch=function(){return this._d.unixEpoch()},a.prototype.until=function(i,c){return this._d.until(i._d,c)},a.prototype.since=function(i,c){return this._d.since(i._d,c)},a.prototype.fields=function(){return this._d.fields()},a.prototype.dayOfWeek=function(){return this._d.dayOfWeek()},a.prototype.month=function(){return this._d.month()},a.prototype.compare=function(i){return this._d.compare(i._d)},a}();l.default=n},458902:function(b,l,e){"use strict";var r;r={value:!0},l.getNormalizedDate=r=void 0;var o=e(415412),n=e(709262);r={enumerable:!0,get:function(){return o.__importDefault(n).default}},Object.defineProperty(l,"getNormalizedDate",{enumerable:!0,get:function(){return n.getNormalizedDate}});var a=o.__importDefault(e(709262));r=a.default},847339:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getPluralHash=l.getTranslateHash=void 0;var r=e(415412),o=r.__importDefault(e(625392)),n=r.__importDefault(e(412139)),a=["one","other"],i=function(p){return p.replace(/\n/g,"\\n")},c=function(p,y,O){return p+"value:".concat(i(y))+(O?"notes:".concat(i(O)):"")};function u(p,y,O){var P=O??"";return c(y,p,P)}function f(p,y,O){var P=O??"",C=Object.keys(p).map(function(A){return a.includes(A)?"".concat(A,":").concat(p[A]):""}).join("");return c(y,C,P)}var d=(0,o.default)(function(p,y,O){return(0,n.default)(u(p,y,O))},u),h=(0,o.default)(function(p,y,O){return(0,n.default)(f(p,y,O))},f),g=function(p,y){return d(p,y.project,y.notes)};l.getTranslateHash=g;var _=function(p,y){return h(p,y.project,y.notes)};l.getPluralHash=_},33101:function(b,l,e){"use strict";var r;r={value:!0},l.getPluralHash=l.getTranslateHash=void 0;var o=e(847339);Object.defineProperty(l,"getTranslateHash",{enumerable:!0,get:function(){return o.getTranslateHash}}),Object.defineProperty(l,"getPluralHash",{enumerable:!0,get:function(){return o.getPluralHash}})},491067:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.regexpEscape=void 0;var e=function(r){return r.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")};l.regexpEscape=e},623282:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.numberFormatProperties=void 0;var r=e(324133),o=e(842544),n=e(314195),a="0123456789",i=function(c,u,f){f=f||{},c=c.split(";");var d=c[0],h=c[1]||"-"+d,g=(0,r.numberPatternProperties)(h),_=g[0],p=g[10],y=(0,o.numberRound)(f.round);y.generatorString=function(){return"numberRound("+(f.round?'"'+f.round+'"':"")+")"};var O=(0,r.numberPatternProperties)(d).concat([d,_+d+p,_,p,y,u.infinity,u.nan,(0,n.numberSymbolMap)(u),a]);function P(C,A){C in f&&(O[A]=f[C])}return P("minimumIntegerDigits",2),P("minimumFractionDigits",3),P("maximumFractionDigits",4),P("minimumSignificantDigits",5),P("maximumSignificantDigits",6),f.group===!1&&(O[8]=null),"minimumFractionDigits"in f&&!("maximumFractionDigits"in f)?O[4]=Math.max(O[3],O[4]):!("minimumFractionDigits"in f)&&"maximumFractionDigits"in f&&(O[3]=Math.min(O[3],O[4])),O};l.numberFormatProperties=i},641547:function(b,l,e){"use strict";var r;r={value:!0},l.parseNumber=l.numberParseProperties=l.numberFormatProperties=void 0;var o=e(623282);Object.defineProperty(l,"numberFormatProperties",{enumerable:!0,get:function(){return o.numberFormatProperties}});var n=e(525467);Object.defineProperty(l,"numberParseProperties",{enumerable:!0,get:function(){return n.numberParseProperties}});var a=e(180490);Object.defineProperty(l,"parseNumber",{enumerable:!0,get:function(){return a.parseNumber}})},900351:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.looseMatching=void 0;var r=e(931875),o=e(961143),n=e(411762),a=function(i){return i.replace(r.regexpCfG,"").replace(o.regexpDashG,"-").replace(n.regexpZsG," ")};l.looseMatching=a},545891:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.objectMap=void 0;var e=function(r,o){return Object.keys(r).map(function(n){return o([n,r[n]])}).reduce(function(n,a){return n[a[0]]=a[1],n},{})};l.objectMap=e},525467:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.numberParseProperties=void 0;var r=e(900351),o=e(545891),n=e(491067),a=e(966228),i=function(c){var u,f,d,h,g,_,p;_=(0,r.looseMatching)(c[0]);var y=c[4],O=c[5],P=c[6],C=c[8],A=c[9];p=(0,r.looseMatching)(c[10]),d=(0,r.looseMatching)(c[13]),h=(0,r.looseMatching)(c[14]);var S=(0,r.looseMatching)(c[16]),T=(0,r.looseMatching)(c[17]),s=(0,o.objectMap)(c[18],function(W){return[W[0],(0,r.looseMatching)(W[1])]}),v=c[19],m=(0,o.objectMap)(s,function(W){return[(0,r.looseMatching)(W[0]),W[1]]}),E=v?"["+v+"]":"\\d",I=(0,n.regexpEscape)(s[","]),L=(0,n.regexpEscape)(s["."]);return v&&(f=v.split("").reduce(function(W,F,G){return W[F]=String(G),W},{})),u=[_,p,d,h].map(function(W){return W.replace(/('([^']|'')+'|'')|./g,function(F,G){return G?(0,a.removeLiteralQuotes)(G):(F=F.replace(/[\-+E%\u2030]/,function(k){return s[k]}),F)})}),_=u[0],p=u[1],d=u[2],h=u[3],g=E+"+",C&&(A?u=E+"{1,"+A+"}(("+I+E+"{"+A+"})*("+I+E+"{"+C+"}))":u=E+"{1,"+C+"}("+I+E+"{"+C+"})+",g="("+u+"|"+g+")"),(!isNaN(O*P)||y)&&(u=L+E+"+",g=g+"("+u+"|"+L+")?|("+g+")?"+u,g="("+g+")"),[m,f,{infinity:new RegExp("^"+(0,n.regexpEscape)(S)),nan:new RegExp("^"+(0,n.regexpEscape)(T)),negativePrefix:new RegExp("^"+(0,n.regexpEscape)(d)),negativeSuffix:new RegExp("^"+(0,n.regexpEscape)(h)),number:new RegExp("^"+g),prefix:new RegExp("^"+(0,n.regexpEscape)(_)),suffix:new RegExp("^"+(0,n.regexpEscape)(p))}]};l.numberParseProperties=i},180490:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.parseNumber=void 0;var r=e(900351),o=function(n,a){var i,c,u,f,d=[["nan"],["prefix","infinity","suffix"],["prefix","number","suffix"],["negativePrefix","infinity","negativeSuffix"],["negativePrefix","number","negativeSuffix"]],h=a[0],g=a[1]||{},_=a[2];n=(0,r.looseMatching)(n);function p(C){return function(A){switch(A=A.split("").map(function(S){return h[S]||g[S]||S}).join(""),C){case"infinity":c=1/0;break;case"nan":c=NaN;break;case"number":A=A.replace(/,/g,""),c=+A;break;case"prefix":case"negativePrefix":u=A;break;case"suffix":f=A;break;case"negativeSuffix":f=A,i=!0;break;default:throw new Error("Internal error")}return""}}function y(C){return d.some(function(A){return A.every(function(S){return C.match(_[S])===null?!1:(C=C.replace(_[S],p(S)),!0)})&&!C.length})}var O=y(n,d);if(!O||isNaN(c))return NaN;var P=""+u+f;return P.indexOf("%")!==-1?c/=100:P.indexOf("\u2030")!==-1&&(c/=1e3),i&&(c*=-1),c};l.parseNumber=o},324133:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.numberPatternProperties=void 0;var r=e(201301),o=function(n){var a,i,c,u,f,d,h,g,_,p,y,O;if(n=n.match(r.numberPatternRe),!n)throw new Error("Invalid pattern: "+n);var P=n[1],C=n[4],A=n[5],S=n[9],T=n[11];return S?S.replace(/(@+)(#*)/,function(s,v,m){_=v.length,d=_+m.length}):(c=n[8],u=n[7],c?(c.replace(/[0-9]+/,function(s){h=s}),h?(y=+("0."+h),h=h.length):h=0,f=c.length-1):(h=0,f=0),u.replace(/0+$/,function(s){g=s.length})),(a=A.lastIndexOf(","))!==-1&&(i=A.split(".")[0],p=i.length-a-1,(i=A.lastIndexOf(",",a-1))!==-1&&(O=a-1-i)),[P,C,g,h,f,_,d,y,p,O,T]};l.numberPatternProperties=o},201301:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.numberPatternRe=void 0,l.numberPatternRe=/^(('([^']|'')*'|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/},931875:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.regexpCfG=void 0,l.regexpCfG=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g},961143:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.regexpDashG=void 0,l.regexpDashG=/[\-\u058A\u05BE\u1400\u1806\u2010-\u2015\u2E17\u2E1A\u2E3A\u2E3B\u2E40\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D\u2212]/g},411762:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.regexpZsG=void 0,l.regexpZsG=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/g},966228:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.removeLiteralQuotes=void 0;var e=function(r){return r[0]+r[r.length-1]!=="''"?r:r==="''"?"":r.replace(/''/g,"'").slice(1,-1)};l.removeLiteralQuotes=e},842544:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.numberRound=void 0;var r=e(620189),o=function(n){return n=n||"round",n=n==="truncate"?r.numberTruncate:Math[n],function(a,i){var c,u;if(a=+a,isNaN(a))return NaN;if(typeof i=="object"&&i.exponent){if(c=+i.exponent,u=1,c===0)return n(a);if(!(typeof c=="number"&&c%1===0))return NaN}else{if(u=+i||1,u===1)return n(a);if(isNaN(u))return NaN;u=u.toExponential().split("e"),c=+u[1],u=+u[0]}return a=a.toString().split("e"),a[0]=+a[0]/u,a[1]=a[1]?+a[1]-c:-c,a=n(+(a[0]+"e"+a[1])),a=a.toString().split("e"),a[0]=+a[0]*u,a[1]=a[1]?+a[1]+c:c,+(a[0]+"e"+a[1])}};l.numberRound=o},314195:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.numberSymbolMap=void 0;var e={".":"decimal",",":"group","%":"percentSign","+":"plusSign","-":"minusSign",E:"exponential","\u2030":"perMille"},r=function(o){var n,a={};for(n in e)a[n]=o[e[n]];return a};l.numberSymbolMap=r},620189:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.numberTruncate=void 0;var e=function(r){return isNaN(r)?NaN:Math[r<0?"ceil":"floor"](r)};l.numberTruncate=e},135801:function(b,l,e){"use strict";var r;r={value:!0};var o=e(174161);l.default=(0,o.createContext)(null)},705825:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(135801);const o=r.default},556807:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(850169),o=e(625392),n=e.n(o),a=e(402514),i=function(d){return e(95547)("./".concat(d,".json"))},c=function(d){var h=d.loader,g=h===void 0?i:h;return new r.CLDRFramework({loader:g,config:a.config})};const u=n()(c,function(f){var d=f.loader;return d})},616755:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(174161),o=e(705825),n=e(165743),a=e(556807);function i(){var u=(0,r.useContext)(o.Z);if(u===null)throw new Error(n.uM);var f=u.cldrLoader,d=u.translationLocale,h=(0,a.Z)({loader:f});return(0,r.useMemo)(function(){return h.get(d)},[h,d])}const c=i},228856:function(b,l,e){"use strict";e.d(l,{Z:()=>oe});var r=e(392338),o=e(642979),n=e.n(o),a=e(174161),i=e(705825),c=e(165743),u=e(556807);function f(){var q=(0,a.useContext)(i.Z);if(q===null)throw new Error(c.uM);var J=q.cldrLoader,me=q.formattingLocale,re=(0,u.Z)({loader:J});return(0,a.useMemo)(function(){return re.get(me)},[re,me])}const d=f;function h(q,J){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(q);J&&(re=re.filter(function(he){return Object.getOwnPropertyDescriptor(q,he).enumerable})),me.push.apply(me,re)}return me}function g(q){for(var J=1;J<arguments.length;J++){var me=arguments[J]!=null?arguments[J]:{};J%2?h(Object(me),!0).forEach(function(re){n()(q,re,me[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):h(Object(me)).forEach(function(re){Object.defineProperty(q,re,Object.getOwnPropertyDescriptor(me,re))})}return q}var _={group:!0,round:"half-up"};function p(q){var J=(0,a.useCallback)(function(Ee,fe,H){var z=g(g({},_),H);return isNaN(Ee)?String(NaN):q.Numbers.formatCurrency(Ee,fe,z)},[q]),me=(0,a.useCallback)(function(Ee,fe,H){var z=g(g({},_),H);return q.Numbers.formatCurrencyToParts(Ee,fe,z)},[q]),re=(0,a.useCallback)(function(Ee){return q.Numbers.getCurrencyFractions(Ee)},[q]),he=(0,a.useCallback)(function(Ee,fe){return q.Numbers.getCurrencySymbol(Ee,fe)},[q]);return{formatCurrency:J,formatCurrencyToParts:me,getCurrencySymbol:he,getCurrencyFractions:re}}const y=p;var O=e(737968),P=e.n(O),C=e(458902),A=e(635338),S=function(J){var me=[A.gd.SUN,A.gd.MON,A.gd.TUE,A.gd.WED,A.gd.THU,A.gd.FRI,A.gd.SAT];return me[J.dayOfWeek()-1]},T=function(J,me,re){var he=J.Calendars.formatDate(me,{time:"short"});return J.Calendars.formatDateWrapper(re,he,{atTime:!1,width:"full"})},s=["usePreferredHourCycle"],v=["usePreferredHourCycle"];function m(q,J){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(q);J&&(re=re.filter(function(he){return Object.getOwnPropertyDescriptor(q,he).enumerable})),me.push.apply(me,re)}return me}function E(q){for(var J=1;J<arguments.length;J++){var me=arguments[J]!=null?arguments[J]:{};J%2?m(Object(me),!0).forEach(function(re){n()(q,re,me[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):m(Object(me)).forEach(function(re){Object.defineProperty(q,re,Object.getOwnPropertyDescriptor(me,re))})}return q}var I={date:"medium"};function L(q){var J=(0,a.useCallback)(function(_e){var ae=q.Calendars.timeData(),ge=ae.preferred;return _e.replace(/h/gi,ge)},[q]),me=(0,a.useCallback)(function(_e){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:I,ge=ae.usePreferredHourCycle,Be=P()(ae,s),Ke=Be.skeleton;ge&&Ke&&(Be.skeleton=J(Ke));var He=(0,C.getNormalizedDate)(_e);return q.Calendars.formatDate(He,Be)},[q,J]),re=(0,a.useCallback)(function(_e,ae,ge){var Be={ca:"gregory",date:"yMMMd",time:J("yMMMdHm")},Ke=E(E({},Be),ge),He=Ke.usePreferredHourCycle,ye=P()(Ke,v),Le=ye.date,Ue=ye.time,Xe=ye.skeleton;He&&(Le&&(ye.date=J(Le)),Ue&&(ye.time=J(Ue)),Xe&&(ye.skeleton=J(Xe)));var Fe=(0,C.getNormalizedDate)(_e),ht=(0,C.getNormalizedDate)(ae);return q.Calendars.formatDateInterval(Fe,ht,ye)},[q,J]),he=(0,a.useCallback)(function(_e,ae,ge){var Be=(0,C.getNormalizedDate)(_e),Ke=(0,C.getNormalizedDate)(ae),He=q.Calendars.toGregorianDate(Be),ye=q.Calendars.toGregorianDate(Ke),Le=He.differenceSigned(ye);if([Le.week,Le.month,Le.year].some(function(Ne){return Ne})||Le.day>=7)return me(ae,E(E({},I),{},{context:ge==null?void 0:ge.context}));if(Le.day<=-2){var Ue=-1,Xe=q.Calendars.formatRelativeTimeField(Ue,S(ye),{context:ge==null?void 0:ge.context});return T(q,ye,Xe)}if(Le.day>=2){var Fe=me(Ke,{skeleton:"EEEE",context:ge==null?void 0:ge.context});return T(q,ye,Fe)}var ht=q.Calendars.formatRelativeTime(Be,Ke,{field:"day",context:ge==null?void 0:ge.context});return T(q,ye,ht)},[q,me]),Ee=(0,a.useCallback)(function(_e){return q.Calendars.timeZoneInfo(_e)},[q]),fe=(0,a.useCallback)(function(_e,ae){return q.Calendars.timeZoneFromUTC(_e,ae)},[q]),H=(0,a.useCallback)(function(_e){return q.Calendars.weekdays(_e)},[q]),z=(0,a.useCallback)(function(){return q.Calendars.firstDayOfWeek()},[q]);return{formatDate:me,formatDateInterval:re,formatRelativeTime:he,getTimeZoneInfo:Ee,getTimeZoneInfoFromUTC:fe,getWeekdayNames:H,getFirstDayOfWeek:z}}const W=L;function F(q){var J=(0,a.useCallback)(function(me,re){return q.General.formatList(me,re)},[q]);return{formatList:J}}const G=F;function k(q,J){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(q);J&&(re=re.filter(function(he){return Object.getOwnPropertyDescriptor(q,he).enumerable})),me.push.apply(me,re)}return me}function x(q){for(var J=1;J<arguments.length;J++){var me=arguments[J]!=null?arguments[J]:{};J%2?k(Object(me),!0).forEach(function(re){n()(q,re,me[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):k(Object(me)).forEach(function(re){Object.defineProperty(q,re,Object.getOwnPropertyDescriptor(me,re))})}return q}var M={group:!0,round:"half-up",errors:["nan"]};function B(q){var J=(0,a.useCallback)(function(re,he){return q.Numbers.formatDecimal(re,x(x({},M),he))},[q]),me=(0,a.useCallback)(function(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"latn",he=q.General.bundle(),Ee=q.Schema.Numbers.numberSystem.get(re);if(!Ee)throw new Error("[@sqs/i18n-react]: missing number system: ".concat(re));return{symbols:Ee.symbols.mapping(he),pattern:Ee.decimalFormats.standard.get(he)}},[q]);return{formatDecimal:J,getNumberSystemMetadata:me}}const R=B;function U(q,J){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(q);J&&(re=re.filter(function(he){return Object.getOwnPropertyDescriptor(q,he).enumerable})),me.push.apply(me,re)}return me}function j(q){for(var J=1;J<arguments.length;J++){var me=arguments[J]!=null?arguments[J]:{};J%2?U(Object(me),!0).forEach(function(re){n()(q,re,me[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):U(Object(me)).forEach(function(re){Object.defineProperty(q,re,Object.getOwnPropertyDescriptor(me,re))})}return q}var $={group:!0,round:"half-up",length:"long"};function ee(q){var J=(0,a.useCallback)(function(re,he){return q.Units.formatQuantity(re,j(j({},$),he))},[q]),me=(0,a.useCallback)(function(){return q.Units.availableUnits()},[q]);return{formatQuantity:J,getAvailableUnits:me}}const te=ee;function ie(q,J){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(q);J&&(re=re.filter(function(he){return Object.getOwnPropertyDescriptor(q,he).enumerable})),me.push.apply(me,re)}return me}function ne(q){for(var J=1;J<arguments.length;J++){var me=arguments[J]!=null?arguments[J]:{};J%2?ie(Object(me),!0).forEach(function(re){n()(q,re,me[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):ie(Object(me)).forEach(function(re){Object.defineProperty(q,re,Object.getOwnPropertyDescriptor(me,re))})}return q}function pe(){var q=d(),J=y(q),me=W(q),re=G(q),he=te(q),Ee=R(q);return ne(ne(ne(ne(ne({},J),me),re),he),Ee)}const oe=pe},892311:function(b,l,e){"use strict";e.d(l,{Z:()=>y});var r=e(680180),o=e.n(r),n=e(392338),a=e.n(n),i=e(174161),c=e(491714),u=e(616755),f=e(522057),d=e(165743),h={context:"standalone"},g={context:"standalone"},_={context:"ui-list-or-menu"};function p(){var O=(0,u.Z)(),P=(0,f.Z)(),C=(0,i.useCallback)(function(m){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h;return O.General.getRegionDisplayName(m,E)},[O]),A=(0,i.useCallback)(function(m){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:g;return O.General.getLanguageDisplayName(m,E)},[O]),S=(0,i.useCallback)(function(m){var E,I=c.LocaleResolver.parseLocale(m).language();return(E=d.dY[I])!==null&&E!==void 0?E:A(m)},[A]),T=(0,i.useCallback)(function(m,E){var I=m.map(function(L){return[L,C(L,E)]});return I.sort(function(L,W){var F=o()(L,2),G=F[1],k=o()(W,2),x=k[1];return G.localeCompare(x,P)}).reduce(function(L,W){var F=o()(W,2),G=F[0],k=F[1];return L[G]=k,L},{})},[C,P]),s=(0,i.useCallback)(function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_;return T(d.od,m)},[T]),v=(0,i.useCallback)(function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_;return T(d.nP,m)},[T]);return{getCountryName:C,getLanguageName:A,getNativeLanguageName:S,getCountries:s,getOfacCountries:v}}const y=p},482756:function(b,l,e){"use strict";e.d(l,{Bx:()=>g,Gf:()=>O,HW:()=>y,Z4:()=>_,cx:()=>h,gs:()=>p});var r=e(680180),o=e.n(r),n=e(392338),a=e.n(n),i=e(485774),c=e.n(i),u=e(174161),f=/\{([^}]+)\}/g;function d(P,C){var A=C.map(function(S){return{key:S,index:P.indexOf(S)}}).filter(function(S){var T=S.index;return T!==-1}).sort(function(S,T){return S.index-T.index});return A[0]||null}function h(P,C){return Object.entries(P).reduce(function(A,S){var T=o()(S,2),s=T[0],v=T[1];return(!Object.values(C).includes(v)||!Object.keys(C).includes(s))&&(A[s]=v),A},{})}function g(P){if(!P)return[];var C=P.match(f);if(C===null)return[P];for(var A=[];P.length;){var S=d(P,C);if(S===null)break;A.push(P.slice(0,S.index)),A.push(S.key),P=P.slice(S.index+(S.key?S.key.length:0))}return A.push(P),A}function _(P,C){var A=g(P),S=[];return C&&(A=A.map(function(T){var s=c()(C,function(v,m){return"{".concat(m,"}")===T});return s?u.isValidElement(C[s])&&C[s].key===null?(S=S.concat(s),u.cloneElement(C[s],{key:s})):C[s]:T})),{children:A,replaced:S}}function p(P,C){var A={project:P};return C&&Object.assign(A,{notes:C}),A}var y=function(C,A,S){return S??{}};function O(P){return P.displayName||P.name||"Component"}},165743:function(b,l,e){"use strict";e.d(l,{b3:()=>o,dY:()=>i,nP:()=>a,od:()=>n,uM:()=>r});var r=`Missing I18nContext value. <I18nContext.Provider /> Must be present higher up the component tree for your React root.
If <I18nContext.Provider /> appears to be present higher in the component tree, there may be multiple copies of 
<I18nContext.Provider />, which can happen with multiple versions of React or multiple versions of @sqs/i18n-react.`,o="useTranslate() requires a translations dictionary",n=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],a=["CU","IR","KP","SD","SY"],i={ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",ca:"Catal\xE0",cs:"\u010Ce\u0161tina",da:"Dansk",de:"Deutsch",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",en:"English",es:"Espa\xF1ol",et:"Eesti",fi:"Suomi",fr:"Fran\xE7ais",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",hr:"Hrvatski",hu:"Magyar",is:"\xCDslenska",it:"Italiano",iw:"\u05E2\u05D1\u05E8\u05D9\u05EA",ja:"\u65E5\u672C\u8A9E",ko:"\uD55C\uAD6D\uC5B4",lt:"Lietuvi\u0173",lv:"Latvie\u0161u",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438",nl:"Nederlands",no:"Norsk",pl:"Polski",pt:"Portugu\xEAs (Brasil)",ro:"Rom\xE2n\u0103",ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",sh:"Srpskohrvatski",sr:"\u0421\u0440\u043F\u0441\u043A\u0438",sk:"Sloven\u010Dina",sl:"Sloven\u0161\u010Dina",sq:"Shqip",sv:"Svenska",th:"\u0E44\u0E17\u0E22",tr:"T\xFCrk\xE7e",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",zh:"\u4E2D\u6587"}},781796:function(b,l,e){"use strict";e.d(l,{Y:()=>o});var r=e(174161);function o(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"span";if(typeof i!="string")throw new Error("The wrapper element must use a standard HTML tag");return r.createElement(i,a,n)}},847054:function(b,l,e){"use strict";e.d(l,{r:()=>h});var r=e(392338),o=e.n(r),n=e(625392),a=e.n(n),i=/({[^}]+})/g,c=/{([^}]+)}/,u=a()(function(g){return g.split(i)}),f=function(_,p){return"".concat(_.join(""),"-").concat(JSON.stringify(p))},d=a()(function(g,_){return g.map(function(p){var y=p.match(c);return y&&_[y[1]]?_[y[1]]:p}).join("")},f),h=function(_,p){var y=u(_);return d(y,p)}},633343:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(272934),o=new r.VisualContext({source:"@sqs/i18n-react"});const n=o},522057:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(174161),o=e(705825),n=e(165743),a=function(){var u=(0,r.useContext)(o.Z);if(u===null)throw new Error(n.uM);return u.translationLocale};const i=a},360534:function(b,l,e){"use strict";e.d(l,{w:()=>C});var r=e(392338),o=e.n(r),n=e(668595),a=e.n(n),i=e(675523),c=e.n(i),u=e(20104),f=e.n(u),d=e(848664),h=e.n(d),g=e(590670),_=e.n(g),p=e(778978),y=e.n(p);function O(A,S,T){return S=h()(S),f()(A,P()?Reflect.construct(S,T||[],h()(A).constructor):S.apply(A,T))}function P(){try{var A=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(P=function(){return!!A})()}var C=function(A){function S(){var T;c()(this,S);for(var s=arguments.length,v=new Array(s),m=0;m<s;m++)v[m]=arguments[m];return T=O(this,S,[].concat(v)),T.name="TranslationsLoadError",T}return _()(S,A),a()(S)}(y()(Error))},881829:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(392338),o=e.n(r),n=e(174161),a=e(705825),i=e(165743),c=e(360534),u=function(g){console.error(g)};function f(h){var g=(0,n.useContext)(a.Z);if(g===null)throw new Error(i.uM);var _=g.translationLocale,p=g.translationsLoadErrorCallback,y=p===void 0?u:p;if(!h.translationsLoader)throw new Error("useLoadTranslations() requires a passed translationsLoader function");var O=h.translationsLoader;return(0,n.useMemo)(function(){try{return O(_)}catch(C){var P=new c.w('Failed to load translations for locale "'.concat(_,'": ').concat(C instanceof Error?C.message:String(C)),{cause:C});return y&&y(P,{translationLocale:_}),{}}},[y,_,O])}const d=f},926306:function(b,l,e){"use strict";e.d(l,{Z:()=>v});var r=e(392338),o=e.n(r),n=e(737968),a=e.n(n),i=e(642979),c=e.n(i),u=e(291341),f=e.n(u),d=e(174161),h=e(33101),g=e(705825),_=e(616755),p=e(482756),y=e(165743),O=e(781796),P=e(847054),C=e(633343),A=["forms","n","project","notes"];function S(m,E){var I=Object.keys(m);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(m);E&&(L=L.filter(function(W){return Object.getOwnPropertyDescriptor(m,W).enumerable})),I.push.apply(I,L)}return I}function T(m){for(var E=1;E<arguments.length;E++){var I=arguments[E]!=null?arguments[E]:{};E%2?S(Object(I),!0).forEach(function(L){c()(m,L,I[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(I)):S(Object(I)).forEach(function(L){Object.defineProperty(m,L,Object.getOwnPropertyDescriptor(I,L))})}return m}function s(m){var E=(0,d.useContext)(g.Z);if(E===null)throw new Error(y.uM);if(!m||!m.translations)throw new Error("usePlural() requires a translations dictionary");var I=E.htmlAttributesTransform,L=I===void 0?p.HW:I,W=m.translations,F=(0,_.Z)(),G=(0,d.useCallback)(function(x,M,B,R){var U,j=m.l10nLoaderMode;j&&!R&&(R={});var $=(0,h.getPluralHash)(x,R),ee=F.Numbers.getPluralCardinal(M),te=(U=W[$])!==null&&U!==void 0?U:x,ie=te[ee],ne=T(T({},B),{},{"%n":F.Numbers.formatDecimal(M,{group:!0,round:"half-up",errors:["nan"]})}),pe=(0,P.r)(ie,ne);return C.Z.isExtensionEnabled&&C.Z.updateStringMap($,pe),pe},[F,W,m]),k=(0,d.useCallback)(function(x){var M=x.forms,B=x.n,R=x.project,U=x.notes,j=a()(x,A),$={},ee={},te=M&&M.other?M.other:null;if(typeof B!="number"||!te)return null;if(typeof te!="string")return(0,O.Y)(te);Object.keys(j).forEach(function(Ee){var fe=j[Ee];d.isValidElement(fe)?$[Ee]=fe:ee[Ee]=fe});var ie=(0,p.gs)(R,U),ne=G(M,B,ee,ie),pe=(0,p.Bx)(Object.values(M).join(",")),oe=f()(ee,function(Ee,fe){return!pe.includes("{".concat(fe,"}"))}),q=(0,p.cx)(ee,oe),J={strings:Object.keys(q)};if(Object.keys($).length>0){var me=(0,p.Z4)(ne,$),re=me.children,he=me.replaced;return J.components=he,oe=L(ne,J,oe),(0,O.Y)(re,oe)}return oe=L(ne,J,oe),(0,O.Y)(ne,oe)},[G,L]);return k.displayName="PluralWrapper",{pluralize:G,Plural:k}}const v=s},553070:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(881829),o=e(926306),n=function(c){var u=(0,r.Z)({translationsLoader:c}),f=(0,o.Z)({translations:u});return f};const a=n},21338:function(b,l,e){"use strict";e.d(l,{Z:()=>A});var r=e(737968),o=e.n(r),n=e(392338),a=e.n(n),i=e(291341),c=e.n(i),u=e(174161),f=e(33101),d=e(272934),h=e(705825),g=e(482756),_=e(165743),p=e(781796),y=e(847054),O=e(633343),P=["children","project","notes","as"];function C(S){var T=(0,u.useContext)(h.Z);if(T===null)throw new Error(_.uM);if(!S||!S.translations)throw new Error(_.b3);var s=T.htmlAttributesTransform,v=s===void 0?g.HW:s,m=S.translations,E=S.l10nLoaderMode,I=(0,u.useCallback)(function(F,G,k){E&&!k&&(k={});var x=(0,f.getTranslateHash)(F,k),M=m[x],B=M??F,R=G?(0,y.r)(B,G):B;return R},[E,m]),L=(0,u.useCallback)(function(F){var G=F.children,k=F.project,x=F.notes,M=F.as,B=o()(F,P),R={},U={},j=G;if(!j)return null;if(typeof j!="string")return(0,p.Y)(j,{},M);Object.keys(B).forEach(function(me){var re=B[me];u.isValidElement(re)?R[me]=re:U[me]=re});var $=(0,g.gs)(k,x),ee=I(j,U,$),te=(0,g.Bx)(j),ie=c()(U,function(me,re){return!te.includes("{".concat(re,"}"))}),ne=(0,g.cx)(U,ie),pe={strings:Object.keys(ne)};if(Object.keys(R).length>0){var oe=(0,g.Z4)(ee,R),q=oe.children,J=oe.replaced;return pe.components=J,ie=v(ee,pe,ie),(0,p.Y)(q,ie,M)}return ie=v(ee,pe,ie),(0,p.Y)(ee,ie,M)},[I,v]);L.displayName="TWrapper";var W=(0,u.useCallback)(function(F,G,k){E&&!k&&(console.log("tWithEncodedStringId(): l10n-loader mode detected and options are missing. String ID encoding/decoding will not work for the Visual Context Extension."),k={});var x=(0,f.getTranslateHash)(F,k),M=m[x],B=M??F;O.Z.updateStringMap(x,B);var R=G?(0,y.r)(B,G):B;return(0,d.encodeStringWithId)(R,x)},[E,m]);return{t:O.Z.isExtensionEnabled?W:I,T:L}}const A=C},36890:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(881829),o=e(21338),n=function(c){var u=(0,r.Z)({translationsLoader:c}),f=(0,o.Z)({translations:u});return f};const a=n},646896:function(b,l,e){"use strict";e.d(l,{Z:()=>S});var r=e(392338),o=e.n(r),n=e(160553),a=e.n(n),i=e(642979),c=e.n(i),u=e(192628),f=e.n(u),d=e(174161),h=e(228856),g=e(892311),_=e(553070),p=e(36890),y=e(482756);function O(T,s){var v=Object.keys(T);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(T);s&&(m=m.filter(function(E){return Object.getOwnPropertyDescriptor(T,E).enumerable})),v.push.apply(v,m)}return v}function P(T){for(var s=1;s<arguments.length;s++){var v=arguments[s]!=null?arguments[s]:{};s%2?O(Object(v),!0).forEach(function(m){c()(T,m,v[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(v)):O(Object(v)).forEach(function(m){Object.defineProperty(T,m,Object.getOwnPropertyDescriptor(v,m))})}return T}var C=function(){return{}},A=function(s){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=v.translationsLoader,E=m===void 0?C:m,I=function(W){var F=(0,p.Z)(E),G=F.t,k=F.T,x=(0,_.Z)(E),M=x.pluralize,B=x.Plural,R=P(P({t:G,T:k,pluralize:M,Plural:B},(0,h.Z)()),(0,g.Z)());return d.createElement(s,a()({},W,{i18n:R}))};return I.displayName="withI18n(".concat((0,y.Gf)(s),")"),f()(I,s)};const S=A},555912:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>A});var r=e(642979),o=e.n(r),n=e(392338),a=e(255919),i=e(296194);function c(S){this.mf=S,this.lc=null,this.locales={},this.runtime={},this.formatters={}}c.propname=function(S,T){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(S)&&["break","continue","delete","else","for","function","if","in","new","return","this","typeof","var","void","while","with","case","catch","default","do","finally","instanceof","switch","throw","try"].indexOf(S)<0)return T?T+"."+S:S;var s=JSON.stringify(S);return T?T+"["+s+"]":s},c.funcname=function(S){var T=S.trim().replace(/\W+/g,"_");return a.check(T,"es2015",!0)||/^\d/.test(T)?"_"+T:T},c.bidiMarkText=function(S,T){function s(m){var E=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"];return new RegExp("^"+E.join("|^")).test(m)}var v=JSON.stringify(s(T)?"\u200F":"\u200E");return v+" + "+S+" + "+v},c.prototype.cases=function(S,T){var s=!0,v=S.cases.map(function(m){m.key==="other"&&(s=!1);var E=m.tokens.map(function(I){return this.token(I,T)},this);return c.propname(m.key)+": "+(E.join(" + ")||'""')},this);if(s)throw new Error("No 'other' form found in "+JSON.stringify(S));return"{ "+v.join(", ")+" }"},c.prototype.token=function(S,T){if(typeof S=="string")return JSON.stringify(S);var s,v=[c.propname(S.arg,"d")];switch(S.type){case"argument":return this.mf.bidiSupport?c.bidiMarkText(v[0],this.lc):v[0];case"select":s="select",v.push(this.cases(S,this.mf.strictNumberSign?null:T)),this.runtime.select=!0;break;case"selectordinal":s="plural",v.push(0,c.funcname(this.lc),this.cases(S,S),1),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"plural":s="plural",v.push(S.offset||0,c.funcname(this.lc),this.cases(S,S)),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"function":if(this.mf.intlSupport&&!(S.key in this.mf.fmt)&&S.key in this.mf.constructor.formatters){var m=this.mf.constructor.formatters[S.key];this.mf.fmt[S.key]=typeof m(this.mf)=="function"?m(this.mf):m}if(!this.mf.fmt[S.key])throw new Error("Formatting function "+JSON.stringify(S.key)+" not found!");if(v.push(JSON.stringify(this.lc)),S.params)switch(S.params.length){case 0:break;case 1:v.push(JSON.stringify(S.params[0]));break;default:v.push(JSON.stringify(S.params));break}s=c.propname(S.key,"fmt"),this.formatters[S.key]=!0;break;case"octothorpe":if(!T)return'"#"';s="number",v=[c.propname(T.arg,"d"),JSON.stringify(T.arg)],T.offset&&v.push(T.offset),this.runtime.number=!0;break}if(!s)throw new Error("Parser error for token "+JSON.stringify(S));return s+"("+v.join(", ")+")"},c.prototype.compile=function(S,T,s){if(typeof S!="object"){this.lc=T;var v=s[T]||{cardinal:[],ordinal:[]},m=(0,i.parse)(S,v).map(function(W){return this.token(W)},this);return"function(d) { return "+(m.join(" + ")||'""')+"; }"}var E={};for(var I in S){var L=s.hasOwnProperty(I)?I:T;E[I]=this.compile(S[I],L,s)}return E};const u=c;function f(S){this.mf=S,this.setStrictNumber(S.strictNumberSign)}function d(S,T,s){if(!s)return S;if(isNaN(S))throw new Error("Can't apply offset:"+s+" to argument `"+T+"` with non-numerical value "+JSON.stringify(S)+".");return S-s}function h(S,T,s){if(isNaN(S))throw new Error("Argument `"+T+"` has non-numerical value "+JSON.stringify(S)+".");return S-(s||0)}f.prototype.setStrictNumber=function(S){this.number=S?h:d},f.prototype.plural=function(S,T,s,v,m){if({}.hasOwnProperty.call(v,S))return v[S];T&&(S-=T);var E=s(S,m);return E in v?v[E]:v.other},f.prototype.select=function(S,T){return{}.hasOwnProperty.call(T,S)?T[S]:T.other},f.prototype.toString=function(S,T){function s(I,L){if(typeof I!="object"){var W=I.toString().replace(/^(function )\w*/,"$1"),k=/([ \t]*)\S.*$/.exec(W);return k?W.replace(new RegExp("^"+k[1],"mg"),""):W}var F=[];for(var G in I)L==0?F.push("var "+G+" = "+s(I[G],L+1)+`;
`):F.push(u.propname(G)+": "+s(I[G],L+1));if(L==0)return F.join("");if(F.length==0)return"{}";for(var k="  ";--L;)k+="  ";return`{
`+F.join(`,
`).replace(/^/gm,k)+`
}`}var v={};Object.keys(T.locales).forEach(function(I){v[u.funcname(I)]=S[I]}),Object.keys(T.runtime).forEach(function(I){v[I]=this[I]},this);var m=Object.keys(T.formatters),E=this.mf.fmt;return m.length&&(v.fmt=m.reduce(function(I,L){return I[L]=E[L],I},{})),s(v,0)};const g=f;/** @file messageformat.js - ICU PluralFormat + SelectFormat for JavaScript
 *
 * @author Alex Sexton - @SlexAxton, Eemeli Aro
 * @version 1.0.2
 * @copyright 2012-2016 Alex Sexton, Eemeli Aro, and Contributors
 * @license To use or fork, MIT. To contribute back, JS Foundation CLA
 */function _(S){if(this.pluralFuncs={},S){if(typeof S!="object")throw new Error("Must be initialized with plural functions");for(var T in S)if(S.hasOwnProperty(T)){if(typeof S[T]!="function")throw new Error("Expected function value for locale "+JSON.stringify(T));this.pluralFuncs[T]=S[T]}}this.fmt={},this.runtime=new g(this)}_.defaultLocale="en",_.escape=function(S){return S.replace(/[#{}\\]/g,"\\$&")},_.formatters={number:function(T){return new Function("v,lc,p",`return new Intl.NumberFormat(lc,
    p=='integer' ? {maximumFractionDigits:0}
  : p=='percent' ? {style:'percent'}
  : p=='currency' ? {style:'currency', currency:'`+(T.currency||"USD")+`', minimumFractionDigits:2, maximumFractionDigits:2}
  : {}).format(v)`)},date:function(T,s,v){var m={day:"numeric",month:"short",year:"numeric"};switch(v){case"full":m.weekday="long";case"long":m.month="long";break;case"short":m.month="numeric"}return new Date(T).toLocaleDateString(s,m)},time:function(T,s,v){var m={second:"numeric",minute:"numeric",hour:"numeric"};switch(v){case"full":case"long":m.timeZoneName="short";break;case"short":delete m.second}return new Date(T).toLocaleTimeString(s,m)}},_.prototype.addFormatters=function(S){for(var T in S)S.hasOwnProperty(T)&&(this.fmt[T]=S[T]);return this},_.prototype.disablePluralKeyChecks=function(){this.noPluralKeyChecks=!0;for(var S in this.pluralFuncs)this.pluralFuncs.hasOwnProperty(S)&&(this.pluralFuncs[S].cardinal=[],this.pluralFuncs[S].ordinal=[]);return this},_.prototype.setBiDiSupport=function(S){return this.bidiSupport=!!S||typeof S>"u",this},_.prototype.setIntlSupport=function(S){return this.intlSupport=!!S||typeof S>"u",this},_.prototype.setStrictNumberSign=function(S){return this.strictNumberSign=!!S||typeof S>"u",this.runtime.setStrictNumber(this.strictNumberSign),this},_.prototype.compile=function(S,T){function s(k,x){if(x||(x=0),typeof k!="object")return k;for(var M=[],B="",R=0;R<x;++R)B+="  ";for(var U in k)M.push(`
`+B+"  "+u.propname(U)+": "+s(k[U],x+1));return"{"+M.join(",")+`
`+B+"}"}var v;if(Object.keys(this.pluralFuncs).length==0)T||(T=_.defaultLocale),v={},v[T]=getPluralFunc(T,this.noPluralKeyChecks);else if(T){if(v={},v[T]=this.pluralFuncs[T],!v[T])throw new Error("Locale "+JSON.stringify(T)+"not found in "+JSON.stringify(this.pluralFuncs)+"!")}else v=this.pluralFuncs,T=Object.keys(v)[0];var m=new u(this),E=m.compile(S,T,v);if(typeof S!="object"){var I=new Function("number, plural, select, fmt",u.funcname(T),"return "+E),L=this.runtime;return I(L.number,L.plural,L.select,this.fmt,v[T])}var W=this.runtime.toString(v,m)+`
`,F=s(E),G=new Function(W+"return "+F)();if(G.hasOwnProperty("toString"))throw new Error("The top-level message key `toString` is reserved");return G.toString=function(k){switch(k||""){case"exports":var x=[];for(var M in E)x.push(u.propname(M,"exports")+" = "+s(E[M]));return W+x.join(`;
`);case"module.exports":return W+"module.exports = "+F;case"export default":return W+"export default "+F;case"":return W+"return "+F;default:return k.indexOf(".")>-1?W+k+" = "+F:W+["(function (root, G) {",'  if (typeof define === "function" && define.amd) { define(G); }','  else if (typeof exports === "object") { module.exports = G; }',"  else { "+u.propname(k,"root")+" = G; }","})(this, "+F+");"].join(`
`)}},G};const p=_;function y(S){var T=this;return function(s,v){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],E=Array.isArray(m)?m:[m],I=E.some(W=>W.includes("|"));if(!E.length||!I)return S.apply(T,[s,...E]);var L=E.reduce((W,F)=>{var G=F.split("|"),k=G[0],x=G[1]||G[0];return W[k]=isNaN(x)?x:parseFloat(x),W},{});return S(s,L)}}var O=S=>{for(var T=0,s=S.length,v=0;v<s;v++)T=T*31+S.charCodeAt(v),T=T&T;return String(T)};class P{constructor(T){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.dictionary={},this.icuInstance=new p(T),this.icuInstance.addFormatters(this.wrapFormatters(s))}wrapFormatters(T){return Object.keys(T).reduce((s,v)=>(s[v]=new y(T[v]),s),{})}compileMessage(T,s){var v=this.icuInstance.compile(T);return this.dictionary[s]=v,v}translate(T){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=O(T),m=this.dictionary[v];return m||(m=this.compileMessage(T,v)),m(s)}}const C=P;class A{constructor(T){o()(this,"formatIcuMessage",(s,v)=>this.icuFormatter.translate(s,v)),this.icuFormatter=new C({pluralGenerator:(s,v)=>v?T.pluralOrdinal(s):T.plural(s)},{formatNumber:T.formatNumber,formatCurrency:T.formatCurrency,formatDateTime:T.formatDateTime,formatRelativeTime:T.formatRelativeTime})}}},638204:function(b,l,e){"use strict";e.r(l),e.d(l,{setupLibrary:()=>n,transformJsonStringsToDictionary:()=>a});var r=e(392338),o=e.n(r);function n(i,c){var u;if(!i||typeof i!="string"||i==="")throw new Error("[@sqs/i18n-ui] setupLibrary: packageName is required and must be a non-empty string");if(!c||typeof c!="function")throw new Error("[@sqs/i18n-ui] package=".concat(i,", setupLibrary requires a valid translationLoader function to be passed"));return{setI18nInstance:function(d){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};u=d;var g=h.translationsLoadErrorCallback;try{u.loadTranslations(c,g,i)}catch(p){var _=p.message;throw new Error("[".concat(i,`] Unable to load library's translations
`)+_)}},getI18nInstance:()=>{if(!u)throw new Error("[".concat(i,`] An instance of I18nUI has not be initialized.
`)+'Ensure that the consuming application/library is calling "setI18nInstance"');return u}}}function a(i){return Object.keys(i).filter(c=>c!=="smartling").reduce((c,u)=>{var f;return c[u]=i==null||(f=i[u])===null||f===void 0?void 0:f.translation,c},{})}},470407:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>i});var r=e(642979),o=e.n(r),n=e(641547),a=e(870956);class i{constructor(u){var f=this;o()(this,"getNumberSystemMetadata",function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"latn",h=f.i18nInstance.formattingCldr.General.bundle(),g=f.i18nInstance.formattingCldr.Schema.Numbers.numberSystem.get(d);return{symbols:g.symbols.mapping(h),pattern:g.decimalFormats.standard.get(h)}}),o()(this,"parseNumber",function(d){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=f.getNumberSystemMetadata(),_=(0,n.numberFormatProperties)(g.pattern,g.symbols,h),p=(0,n.numberParseProperties)(_),y=(0,n.parseNumber)(d,p);return f.i18nInstance.isDebugMode?(0,a.Z)(y):y}),this.i18nInstance=u}}},59794:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>re});var r=e(737968),o=e.n(r),n=e(160553),a=e.n(n),i=e(642979),c=e.n(i),u=e(174161),f=e(795478),d=e.n(f),h=(he,Ee)=>u.createElement("span",he,Ee),g=function(Ee){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return u.createElement("span",fe,Ee)};function _(he){var Ee=he.formatter,fe=he.value,H=he.format,z=he.className;return h({className:z},Ee(fe,H))}_.propTypes={value:d().oneOfType([d().string,d().number,d().shape({_isAMomentObject:d().bool}),d().instanceOf(Date)]),format:d().string,className:d().string,formatter:d().func.isRequired};const p=_;function y(he){var Ee=he.formatter,fe=he.value,H=he.from,z=he.tooltipTitle,_e=he.className;return h({title:z,className:_e},Ee(fe,H))}y.propTypes={value:d().oneOfType([d().string,d().number,d().shape({_isAMomentObject:d().bool}),d().instanceOf(Date)]),from:d().oneOfType([d().string,d().number,d().shape({_isAMomentObject:d().bool}),d().instanceOf(Date)]),tooltipTitle:d().string,className:d().string,formatter:d().func.isRequired};const O=y;function P(he){var Ee=he.className,fe=he.formatter,H=he.value,z=he.currencyCode,_e=he.options;return h({className:Ee},fe(H,z,_e))}P.propTypes={className:d().string,currencyCode:d().string.isRequired,options:d().object,formatter:d().func.isRequired,value:d().number.isRequired};const C=P;function A(he){var Ee=he.value,fe=he.format,H=he.formatter,z=he.className;return h({className:z},H(Ee,fe))}A.propTypes={className:d().string,format:d().object,formatter:d().func.isRequired,value:d().number.isRequired};const S=A;function T(he){var Ee=he.quantity,fe=he.options,H=he.formatter,z=he.className;return h({className:z},H(Ee,fe))}T.propTypes={className:d().string,formatter:d().func.isRequired,quantity:d().object.isRequired,options:d().object};const s=T;var v=["isNegative","value","cldrCurrencyOpts","formatter","freeIfZero","freeLabel"],m=he=>{var Ee=he.isNegative,fe=he.value,H=he.cldrCurrencyOpts,z=he.formatter,_e=he.freeIfZero,ae=_e===void 0?!1:_e,ge=he.freeLabel,Be=ge===void 0?"":ge,Ke=o()(he,v);if(ae&&!Be)throw new Error('A Free label is required, and it should be a wrapped string. i.e: t("Free") or <T>Free</T>');var He=(0,u.useMemo)(()=>ae&&fe.isZero()?Be:z(fe,H),[Be,ae,fe,H,z]);return u.createElement("span",Ke,Ee&&"- ",He)};const E=m;var I=e(392338),L=e(291341),W=e.n(L),F=e(680180),G=e.n(F),k=e(485774),x=e.n(k),M=/\{([^}]+)\}/g,B=(he,Ee)=>{var fe=Ee.map(H=>({key:H,index:he.indexOf(H)})).filter(H=>{var z=H.index;return z!==-1}).sort((H,z)=>H.index-z.index);return fe[0]||null},R=(he,Ee)=>Object.entries(he).reduce((fe,H)=>{var z=G()(H,2),_e=z[0],ae=z[1];return(!Object.values(Ee).includes(ae)||!Object.keys(Ee).includes(_e))&&(fe[_e]=ae),fe},{}),U=he=>{if(!he)return[];var Ee=he.match(M);if(Ee===null)return[he];for(var fe=[];he.length;){var H=B(he,Ee);if(H===null)break;fe.push(he.slice(0,H.index)),fe.push(H.key),he=he.slice(H.index+(H.key?H.key.length:0))}return fe.push(he),fe},j=(he,Ee)=>{var fe=U(he),H=[];return Ee&&(fe=fe.map(z=>{var _e=x()(Ee,(ae,ge)=>"{".concat(ge,"}")===z);return _e?u.isValidElement(Ee[_e])&&Ee[_e].key===null?(H=H.concat(_e),u.cloneElement(Ee[_e],{key:_e})):Ee[_e]:z})),{children:fe,replaced:H}},$=(he,Ee)=>{var fe={project:he};return Ee&&Object.assign(fe,{notes:Ee}),fe},ee=["children","formatter","locale","notes","project","htmlAttributesTransform"],te=he=>{var Ee=he.children,fe=he.formatter,H=he.locale,z=he.notes,_e=he.project,ae=he.htmlAttributesTransform,ge=o()(he,ee),Be={},Ke={},He=Ee;if(!He)return null;if(typeof He!="string")return h(null,He);Object.keys(ge).forEach($e=>{var Ot=ge[$e];u.isValidElement(Ot)?Be[$e]=Ot:Ke[$e]=Ot});var ye=$(_e,z),Le=fe(He,Ke,ye),Ue=U(He),Xe=W()(Ke,($e,Ot)=>!Ue.includes("{".concat(Ot,"}"))),Fe=R(Ke,Xe),ht={strings:Object.keys(Fe)};if(Object.keys(Be).length>0){var Ne=j(Le,Be),Ce=Ne.children,we=Ne.replaced;return ht.components=we,Xe=ae(Le,ht,Xe),g(Ce,Xe)}return Xe=ae(Le,ht,Xe),h(Xe,Le)};te.propTypes={children:d().oneOfType([d().string,d().array,d().element]),formatter:d().func.isRequired,notes:d().string,project:d().string.isRequired};const ie=te;var ne=e(497681),pe=e.n(ne),oe=["n","forms","locale","formatter","project","notes","htmlAttributesTransform"],q=he=>{var Ee=he.n,fe=he.forms,H=he.locale,z=he.formatter,_e=he.project,ae=he.notes,ge=he.htmlAttributesTransform,Be=o()(he,oe),Ke={},He={},ye=fe&&fe.other?fe.other:null;if(pe()(!Be.hasOwnProperty("children"),"The Plural component does not support children."),typeof Ee!="number"||!ye)return null;if(typeof ye!="string")return h(null,ye);Object.keys(Be).forEach(Ot=>{var Pt=Be[Ot];u.isValidElement(Pt)?Ke[Ot]=Pt:He[Ot]=Pt});var Le=$(_e,ae),Ue=z(fe,Ee,He,Le),Xe=U(Object.values(fe).join(",")),Fe=W()(He,(Ot,Pt)=>!Xe.includes("{".concat(Pt,"}"))),ht=R(He,Fe),Ne={strings:Object.keys(ht)};if(Object.keys(Ke).length>0){var Ce=j(Ue,Ke),we=Ce.children,$e=Ce.replaced;return Ne.components=$e,Fe=ge(Ue,Ne,Fe),g(we,Fe)}return Fe=ge(Ue,Ne,Fe),h(Fe,Ue)};q.propTypes={n:d().number,forms:d().shape({one:d().string,other:d().string.isRequired,zero:d().string,many:d().string,few:d().string,two:d().string}),formatter:d().func.isRequired,project:d().string.isRequired,notes:d().string};const J=q;var me=["children","project"];class re{constructor(Ee){c()(this,"FormattedCurrency",fe=>u.createElement(C,a()({},fe,{formatter:this.i18nInstance.formatCurrency}))),c()(this,"FormattedMoney",fe=>u.createElement(E,a()({},fe,{formatter:this.i18nInstance.formatMoney}))),c()(this,"FormattedNumber",fe=>u.createElement(S,a()({},fe,{formatter:this.i18nInstance.formatNumber}))),c()(this,"FormattedQuantity",fe=>u.createElement(s,a()({},fe,{formatter:this.i18nInstance.formatQuantity}))),c()(this,"FormattedDateTime",fe=>u.createElement(p,a()({},fe,{formatter:this.i18nInstance.formatDateTime}))),c()(this,"RelativeTime",fe=>u.createElement(O,a()({},fe,{formatter:this.i18nInstance.formatRelativeTime}))),c()(this,"T",fe=>{var H=fe.children,z=fe.project,_e=o()(fe,me);return u.createElement(ie,a()({},_e,{project:z,formatter:this.i18nInstance.translate,htmlAttributesTransform:this.i18nInstance.htmlAttributesTransform}),H)}),c()(this,"Plural",fe=>u.createElement(J,a()({},fe,{project:fe.project,forms:fe.forms,n:fe.n,formatter:this.i18nInstance.pluralize,htmlAttributesTransform:this.i18nInstance.htmlAttributesTransform}))),this.i18nInstance=Ee,this.T.displayName="TWrapper",this.Plural.displayName="PluralWrapper",this.FormattedCurrency.displayName="FormattedCurrencyWrapper",this.FormattedMoney.displayName="FormattedMoneyWrapper",this.FormattedNumber.displayName="FormattedNumberWrapper",this.FormattedQuantity.displayName="FormattedQuantityWrapper",this.FormattedDateTime.displayName="FormattedDateTimeWrapper",this.RelativeTime.displayName="RelativeTimeWrapper"}}},638464:function(b,l,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var r=e(495576),o=e(594422),n=e(449391);function a(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")}function i(d,h){for(var g,_=0;_<h.length;_++)g=h[_],g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}function c(d,h,g){return h&&i(d.prototype,h),g&&i(d,g),d}var u=function(){function d(){var h=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};a(this,d);var g=(0,o.checkFeatureSupport)();this.doesSupportSrcset=g.doesSupportSrcset,this.doesSupportObjectFit=g.doesSupportObjectFit,this.doesSupportObjectPosition=g.doesSupportObjectPosition,this.configure(h)}return c(d,[{key:"configure",value:function(g){var _=this,p={allowConcurrentLoads:!1,debuggerEnabled:!1,sizes:r.SQUARESPACE_SIZES};Object.assign(this,p,g),this.sizes.sort(function(y,O){return O-y}),this.debuggerEnabled&&Object.keys(this).forEach(function(y){console.log(y,_[y])})}},{key:"load",value:function(g,_){var p=(0,o.validatedImage)(g,this);if(!p)return!1;var y=(0,n.getLoadingConfiguration)(p,_);if(y.load==="false"&&!y.forceImageUpdate)return this.debuggerEnabled&&console.warn("".concat(p,' load mode is "false".')),!1;if(y.hasImageDimensionData&&y.cropMode!=="none"){var O=(0,o.positionCroppedImage)(p,y,this);if(!O)return!1}if(p.getAttribute("srcset")){if(this.doesSupportSrcset)return this.setImageUsingSrcset(p,y);var P=(0,o.getAssetUrl)(p.getAttribute("srcset"),y);y.source=P,p.setAttribute("data-src",P)}var C=(0,o.getIntendedImageSize)(p,y,this);return typeof C!="string"||y.load==="viewport"?C:y.forceImageUpdate||(0,o.shouldUpdateResolution)(p,C)?this.setImageSource(p,y,C,_):C}},{key:"loadAll",value:function(){var g=this,_=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},p=1<arguments.length&&arguments[1]!==void 0?arguments[1]:document.body;if(!p||!p.nodeName||!("querySelectorAll"in p))return new Error("".concat(p," is not a valid node."));var y=p.querySelectorAll("img[data-src]","img[data-srcset]","img[srcset]");y.forEach(function(O){g.load(O,_)})}},{key:"getDimensionForValue",value:function(g,_,p){return(0,o.getDimensionForValue)(g,_,p)}},{key:"setImageSource",value:function(g,_,p,y){var O=this,P=(0,o.getUrl)(_,p);if(!P)return!1;var C=function(){(0,o.removeClass)(g,r.IMAGE_LOADING_CLASS),(0,o.removeClass)(g,r.LEGACY_IMAGE_LOADING_CLASS)},A=function(){C(),g.removeEventListener("load",A)};return g.addEventListener("load",A),this.debuggerEnabled&&g.setAttribute("data-version","module"),!(g.getAttribute("src")&&_.load!=="true"&&_.forceImageUpdate!==!0)&&((0,o.addClass)(g,r.IMAGE_LOADING_CLASS),(0,o.addClass)(g,r.LEGACY_IMAGE_LOADING_CLASS),_.hasImageDimensionData?(g.dataset.imageResolution=p,g.setAttribute("src",P),C(),_.useBgImage&&(g.parentNode.style.backgroundImage="url("+P+")"),!0):((0,o.preloadImage)(P,function(S){O.debuggerEnabled&&console.log("Loaded ".concat(P," to get image dimensions.")),g.setAttribute("data-image-dimensions",S.width+"x"+S.height),C(),O.load(g,y)},function(S,T){g.setAttribute("src",T),C(),O.debuggerEnabled&&console.log("".concat(T," failed to load."))}),!1))}},{key:"setImageUsingSrcset",value:function(g,_){var p=function(){(0,o.removeClass)(g,r.IMAGE_LOADING_CLASS),(0,o.removeClass)(g,r.LEGACY_IMAGE_LOADING_CLASS);var y;"currentSrc"in Image.prototype&&(y=(0,o.getSizeFromUrl)(g.currentSrc,_),g.setAttribute("data-image-resolution",y)),g.removeEventListener("load",p)};return g.addEventListener("load",p),g.complete&&p(),!0}},{key:"_getDataFromNode",value:function(g,_){return(0,n.getLoadingConfiguration)(g,_)}}]),d}(),f=u;l.default=f,b.exports=l.default},495576:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.CROP_ARGUMENT_TO_CROP_MODE=l.FIT_ALIGNMENT_TO_OBJECT_POSITION=l.LEGACY_IMAGE_LOADING_CLASS=l.IMAGE_LOADING_CLASS=l.SQUARESPACE_SIZES=void 0;var e=[2500,1500,1e3,750,500,300,100];l.SQUARESPACE_SIZES=e;var r="sqs-image-loading";l.IMAGE_LOADING_CLASS="sqs-image-loading";var o="loading";l.LEGACY_IMAGE_LOADING_CLASS="loading";var n={horizontal:{center:"50%",left:"0%",right:"100%"},vertical:{bottom:"100%",center:"50%",top:"0%"}};l.FIT_ALIGNMENT_TO_OBJECT_POSITION=n;var a={"content-fill":"cover",fill:"cover",cover:"cover","content-fit":"contain",fit:"contain",contain:"contain"};l.CROP_ARGUMENT_TO_CROP_MODE=a},924270:function(b,l,e){"use strict";var r=o(e(638464));Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;function o(i){return i&&i.__esModule?i:{default:i}}var n=function(){return r.default},a=n();l.default=a,b.exports=l.default},754299:function(b,l,e){"use strict";e(392338),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var r=a(e(638464)),o=a(e(928269)),n=a(e(372241));function a(h){return h&&h.__esModule?h:{default:h}}function i(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}function c(h,g){for(var _,p=0;p<g.length;p++)_=g[p],_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(h,_.key,_)}function u(h,g,_){return g&&c(h.prototype,g),_&&c(h,_),h}var f=function(){return r.default.Builder=function(){var h=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},g=function(){function _(){var p=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};i(this,_),this.opts=p,this.imageloader=r.default}return u(_,[{key:"withPromises",value:function(){return this.imageloader=(0,o.default)(this.imageloader),this}},{key:"withLazyLoading",value:function(){return this.imageloader=(0,n.default)(this.imageloader),this}},{key:"build",value:function(){return new this.imageloader(this.opts)}}]),_}();return new g(h)},r.default},d=f();l.default=d,b.exports=l.default},372241:function(b,l,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;function r(O){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},r(O)}function o(O,P){if(!(O instanceof P))throw new TypeError("Cannot call a class as a function")}function n(O,P){for(var C,A=0;A<P.length;A++)C=P[A],C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(O,C.key,C)}function a(O,P,C){return P&&n(O.prototype,P),C&&n(O,C),O}function i(O,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(P&&P.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),P&&c(O,P)}function c(O,P){return c=Object.setPrototypeOf||function(C,A){return C.__proto__=A,C},c(O,P)}function u(O){var P=h();return function(){var C,A=g(O);if(P){var S=g(this).constructor;C=Reflect.construct(A,arguments,S)}else C=A.apply(this,arguments);return f(this,C)}}function f(O,P){return P&&(r(P)==="object"||typeof P=="function")?P:d(O)}function d(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function h(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function g(O){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},g(O)}var _={root:null,rootMargin:"200px 200px 200px 200px",thresholds:[0]},p=function(){var O=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return function(P){function C(){var S,T=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return o(this,C),S=A.call(this,T),S.intersectionObserverEntries=[],S.lazyLoadObserver=null,S.boundImageLoadHandler=S._unobserverOnLoad.bind(d(S)),S}i(C,P);var A=u(C);return a(C,[{key:"loadLazy",value:function(T){var s=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:_;return T&&T.tagName==="IMG"?self.IntersectionObserver?(this.lazyLoadObserver||(this.observerRootNode=v.root||self.document.body,this.lazyLoadObserver=new IntersectionObserver(this._onObserverChange.bind(this),v)),this._observe(T,s),this.lazyLoadObserver):(this.load(T,s),!1):new Error("No image")}},{key:"loadAllLazy",value:function(){var T=this,s=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},v=1<arguments.length&&arguments[1]!==void 0?arguments[1]:document.body,m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:_;if(v===null||!v.querySelectorAll)return new Error("".concat(v," is not a valid node."));var E=v.querySelectorAll("img[data-src]","img[data-srcset]","img[srcset]");return E.length===0?null:self.IntersectionObserver?(this.observerRootNode=m.root||self.document.body,this.lazyLoadObserver=new IntersectionObserver(this._onObserverChange.bind(this),m),E.forEach(function(I){T._observe(I,s)}),this.lazyLoadObserver):(this.loadAll(s,v),!1)}},{key:"_observe",value:function(T,s){var v=this._getTargetNode(T);return this.intersectionObserverEntries.findIndex(function(m){return m.target===v})===-1&&(T.addEventListener("load",this.boundImageLoadHandler),this.lazyLoadObserver.observe(v),void this.intersectionObserverEntries.push({target:v,params:s}))}},{key:"_onObserverChange",value:function(T){var s=this;T.forEach(function(v){v.isIntersecting&&self.requestAnimationFrame(function(){var m=v.target.tagName==="IMG"?v.target:v.target.querySelector("img"),E={};s.intersectionObserverEntries=s.intersectionObserverEntries.filter(function(I){return I.target===v.target&&(E=I.params),I.target!==v.target}),s.load(m,E),s.lazyLoadObserver.unobserve(v.target)})})}},{key:"_unobserverOnLoad",value:function(T){var s=T.currentTarget,v=this._getTargetNode(T.currentTarget);this.lazyLoadObserver.unobserve(v),s.removeEventListener("load",this.boundImageLoadHandler)}},{key:"_getTargetNode",value:function(T){var s=T.parentNode;return s===this.observerRootNode||T.offsetHeight!==0?T:s}}]),C}(O)},y=p;l.default=y,b.exports=l.default},928269:function(b,l,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;function r(y){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},r(y)}function o(y,O){if(!(y instanceof O))throw new TypeError("Cannot call a class as a function")}function n(y,O){for(var P,C=0;C<O.length;C++)P=O[C],P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(y,P.key,P)}function a(y,O,P){return O&&n(y.prototype,O),P&&n(y,P),y}function i(y,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(O&&O.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),O&&c(y,O)}function c(y,O){return c=Object.setPrototypeOf||function(P,C){return P.__proto__=C,P},c(y,O)}function u(y){var O=h();return function(){var P,C=g(y);if(O){var A=g(this).constructor;P=Reflect.construct(C,arguments,A)}else P=C.apply(this,arguments);return f(this,P)}}function f(y,O){return O&&(r(O)==="object"||typeof O=="function")?O:d(y)}function d(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function h(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function g(y){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)},g(y)}var _=function(){var y=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return function(O){function P(){var A=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return o(this,P),C.call(this,A)}i(P,O);var C=u(P);return a(P,[{key:"loadAsync",value:function(S){var T=this,s=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{};if(!S)return Promise.reject(new Error("No images"));var v,m,E=function(L,W){L.removeEventListener("load",v),L.removeEventListener("error",m),W.resolve(L)},I=function(L,W){L.removeEventListener("load",v),L.removeEventListener("error",m),W.reject(new Error(L+" not loaded"))};return new Promise(function(L,W){v=E.bind(null,S,{resolve:L,reject:W}),m=I.bind(null,S,{resolve:L,reject:W}),S.addEventListener("load",v),S.addEventListener("error",m);var F=T.load(S,s);(typeof F=="string"||F===!1)&&E(S,{resolve:L,reject:W})})}},{key:"loadAllAsync",value:function(){var S=this,T=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},s=1<arguments.length&&arguments[1]!==void 0?arguments[1]:document.body,v=2<arguments.length?arguments[2]:void 0;if(s===null)return Promise.reject(new Error("No root node"));var m=s.querySelectorAll("img[data-src]","img[data-srcset]","img[srcset]");if(m.length===0)return Promise.reject(new Error("No images"));var E=Array.from(m).map(function(I){return S.loadAsync(I,T,v)});return Promise.all(E)}}]),P}(y)},p=_;l.default=p,b.exports=l.default},594422:function(b,l,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(l,"__esModule",{value:!0}),l.validatedImage=l.shouldUpdateResolution=l.removeClass=l.positionImage=l.positionCroppedImage=l.isSquarespaceUrl=l.hasClass=l.getUrl=l.getTargetDimensions=l.getSizeFromUrl=l.getOffsetForAlignment=l.getObjectPositionForAlignment=l.getIntendedImageSize=l.getImageScale=l.preloadImage=l.getDimensionForValue=l.getComputedStyle=l.getAssetUrl=l.checkFeatureSupport=l.calculateParentDimensions=l.addClass=void 0;var r=e(495576),o=e(719076);function n(M){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},n(M)}var a=function(M,B){return M.className.indexOf(B)!==-1};l.hasClass=a;var i=function(M,B){return!a(M,B)&&(M.className+=(M.className?" ":"")+B,!0)};l.addClass=i;var c=function(M,B){return!!a(M,B)&&(M.className=M.className.replace(B," ").trim(),!0)};l.removeClass=c;var u=function(M){return["?","#"].forEach(function(B){var R=M.indexOf(B);0<R&&(M=M.substring(0,R))}),-1<M.indexOf("squarespace-cdn.com")||-1<M.indexOf("squarespace.com")||-1<M.indexOf("squarespace.net")||-1<M.indexOf("sqsp.net")||-1<M.indexOf("sqspcdn.com")};l.isSquarespaceUrl=u;var f=function(M,B,R){var U=M.ownerDocument.defaultView;return M.currentStyle?M.currentStyle[R||B]:U.getComputedStyle?U.getComputedStyle(M,null).getPropertyValue(B):""};l.getComputedStyle=f;var d=function(M,B,R){var U=new Image;U.addEventListener("load",function(j){var $=j.currentTarget;B($)}),U.addEventListener("error",function(j){R(j,M)}),U.src=M};l.preloadImage=d;var h=function(){var M=function(){var U=document.createElement("img"),j="srcset"in U;return U=null,j}(),B=function(){var U=document.createElement("div"),j="objectFit"in U.style;return U=null,j}(),R=function(){var U=document.createElement("div"),j="objectPosition"in U.style;return U=null,j}();return{doesSupportSrcset:M,doesSupportObjectPosition:R,doesSupportObjectFit:B}};l.checkFeatureSupport=h;var g=function(M,B){M.getDOMNode&&(M=M.getDOMNode());var R=M.nodeName==="IMG"&&M;if(!R)return console.warn("Element is not a valid image element."),!1;var U=a(M,r.IMAGE_LOADING_CLASS);if(U){var j=B.allowConcurrentLoads;if(B.debuggerEnabled&&console.warn("".concat(M,' contains the class "').concat(r.IMAGE_LOADING_CLASS,'"; it will ').concat(j?"":"not ","be processed.")),!j)return!1}return R};l.validatedImage=g;var _=function(M,B,R){var U=R.dimensions.width,j=R.dimensions.height;M===0&&B===0?(M=U,B=j):M===0?M=B*U/j:B===0&&(B=M*j/U);var $=M/B;return{parentWidth:M,parentHeight:B,parentRatio:$}};l.calculateParentDimensions=_;var p=function(M,B){var R=M.cropMode,U=B.parentNode,j=M.dimensions.width,$=M.dimensions.height,ee=j/$,te={height:U.clientHeight,width:U.clientWidth},ie=_(te.width,te.height,M),ne=ie.parentRatio,pe=ne.toFixed(1);B.getAttribute("data-parent-ratio")!==pe&&B.setAttribute("data-parent-ratio",pe);var oe;return oe=R==="cover"&&ee>ne||R==="contain"&&ee<ne?te.height/$:te.width/j,M.stretch||R!=="contain"||(oe=Math.min(oe,1)),oe};l.getImageScale=p;var y=function(M,B,R,U){M&&n(M)==="object"||(console.warn('Missing alignment for "content-fit" image.'),M={center:!0});var j=B;return j.left=M.left?0:M.right?R-j.width:j.width<R?(R-j.width)/2:0,j.top=M.top?0:M.bottom?U-j.height:j.height<U?(U-j.height)/2:0,j};l.getOffsetForAlignment=y;var O=function(M,B){var R=M.getAttribute("alt"),U=R&&0<R.length&&!M.getAttribute("src");if(U){var j=M.style.display;M.removeAttribute("alt"),M.style.display="none",M.focus(),M.style.display=j}B(),U&&M.setAttribute("alt",R)},P=function(M,B){var R=M.parentNode,U=B.cropMode,j=B.dimensions.width,$=B.dimensions.height,ee=j/$,te=_(R.clientWidth,R.clientHeight,B),ie=te.parentRatio,ne=te.parentWidth,pe=te.parentHeight,oe={};if(B.fixedRatio)oe.unit="%",U==="cover"&&ie>ee||U==="contain"&&ie<ee?(oe.width=100,oe.height=100*(ie/ee),oe.top=(100-oe.height)*B.focalPoint.y,oe.left=0):(oe.width=100*(ee/ie),oe.height=100,oe.top=0,oe.left=(100-oe.width)*B.focalPoint.x);else{oe.unit="px";var q=p(B,M);oe.width=j*q,oe.height=$*q,U==="cover"?(oe.left=Math.min(Math.max(ne/2-oe.width*B.focalPoint.x,ne-oe.width),0),oe.top=Math.min(Math.max(pe/2-oe.height*B.focalPoint.y,pe-oe.height),0)):Object.assign(oe,y(B.fitAlignment,oe,ne,pe))}return f(M,"display")==="inline"&&(M.style.fontSize="0px"),O(M,function(){oe.width-=M.offsetHeight-M.clientHeight,oe.height-=M.offsetWidth-M.clientWidth}),{top:oe.top,left:oe.left,width:oe.width,height:oe.height,unit:oe.unit}};l.getTargetDimensions=P;var C=function(M,B){var R=M.parentNode,U=B.cropMode,j=P(M,B);M.style.left=j.left+j.unit,M.style.top=j.top+j.unit,M.style.width=j.width+j.unit,M.style.height=j.height+j.unit;var $=f(R,"position");return M.style.position=$==="relative"?"absolute":"relative",U==="cover"&&(R.style.overflow="hidden"),!0};l.positionImage=C;var A=function(M){M||(console.warn('Missing alignment for "content-fit" image.'),M={center:!0});var B={horizontal:"50%",vertical:"50%"};return Object.keys(M).forEach(function(R){M[R]===!0&&(r.FIT_ALIGNMENT_TO_OBJECT_POSITION.horizontal[R]?B.horizontal=r.FIT_ALIGNMENT_TO_OBJECT_POSITION.horizontal[R]:B.vertical=r.FIT_ALIGNMENT_TO_OBJECT_POSITION.vertical[R])}),B};l.getObjectPositionForAlignment=A;var S=function(M,B,R){var U=p(B,M),j=M.parentNode,$=Math.ceil(B.dimensions.width*U),ee=Math.ceil(B.dimensions.height*U),te=R==="width"?j.offsetWidth:j.offsetHeight,ie=R==="width"?$:ee,ne=R==="width"?B.focalPoint.x:B.focalPoint.y,pe=ie-te;if(pe===0)return ne;var oe=Math.max(Math.min(ie*ne-.5*te,pe),0)/pe;return oe},T=function(M,B,R){var U=(M.parentNode.offsetWidth/M.parentNode.offsetHeight).toFixed(1),j=M.getAttribute("data-parent-ratio")!==U,$="".concat(B.focalPoint.x,",").concat(B.focalPoint.y),ee=M.getAttribute("data-image-focal-point")!==$;return ee?(M.setAttribute("data-image-focal-point",$),!0):!!j||(R.debuggerEnabled&&console.log("skipping repositioning"),!1)},s=function(M,B,R){if(B.useAdvancedPositioning&&R.doesSupportObjectFit&&R.doesSupportObjectPosition){if(!T(M,B,R))return!0;if(M.style.width="100%",M.style.height="100%",B.cropMode==="cover"){var U={x:S(M,B,"width"),y:S(M,B,"height")};M.style.objectPosition="".concat(100*U.x,"% ").concat(100*U.y,"%"),M.style.objectFit="cover"}else if(B.cropMode==="contain"){var j=A(B.fitAlignment);M.style.objectPosition="".concat(j.horizontal," ").concat(j.vertical),M.style.objectFit="contain"}return R.debuggerEnabled&&console.log("advanced position used"),B.isUsingAdvancedPositioning=!0,!0}if(B.useBgImage&&B.cropMode==="cover"&&"backgroundSize"in document.documentElement.style){if(!T(M,B,R))return!0;M.style.visibility="hidden",M.parentNode.style.backgroundSize="cover";var $={x:S(M,B,"width"),y:S(M,B,"height")};return M.parentNode.style.backgroundPosition="".concat(100*$.x,"% ").concat(100*$.y,"%"),B.isUsingAdvancedPositioning=!0,!0}return!1},v=function(M,B,R){var U=M.parentNode;return U?!!s(M,B,R)||C(M,B,R):(console.warn("Image element has no parentNode."),!1)};l.positionCroppedImage=v;var m=function(M,B,R){var U=R.dimensions.width,j=R.dimensions.height;if(M==="width")return U/j*B;if(M==="height")return j/U*B;throw new Error("Value for ".concat(M," is NaN."))};l.getDimensionForValue=m;var E=function(M){return M.substr(0,1).toUpperCase()+M.substr(1)},I=function(M){return typeof M=="string"&&-1<M.indexOf("%")?"percentage":isNaN(parseInt(M,10))?NaN:"number"},L=function(M,B,R){var U,j,$=function(ee,te){B.cropMode==="none"&&(M.style.width=null,M.style.height=null);var ie=parseFloat(M.getAttribute(ee)),ne=parseFloat(M.getAttribute(ee));if((!ne||isNaN(ne))&&(ie=f(M,ee),ne=parseFloat(ie)),(!ne||isNaN(ne))&&(ie=f(M,"max-"+ee,"max"+E(ee)),ne=parseFloat(ie)),te===0||ie)switch(I(ie)){case"percentage":te=parseInt(ie,10)/100*M.parentNode["offset"+E(ee)];break;case"number":te=parseInt(ie,10)}return ne||te===0||M.getAttribute("src")||(te=0),te};return B.isUsingAdvancedPositioning?(U=M.parentNode.offsetWidth,j=M.parentNode.offsetHeight):(U=M.offsetWidth,j=M.offsetHeight,O(M,function(){U=$("width",U),j=$("height",j)})),U===0&&j===0?(U=B.dimensions.width,j=B.dimensions.height):U===0?U=m("width",j,B):j===0&&(j=m("height",U,B)),B.load==="viewport"&&(M.style.width="".concat(Math.floor(U),"px"),M.style.height="".concat(Math.floor(j),"px")),(0,o.getSquarespaceSize)(B,U,j,R)};l.getIntendedImageSize=L;var W=function(M,B){var R=M.getAttribute("data-image-resolution");return B=parseInt(B,10),R=parseInt(R,10),!!(isNaN(B)||isNaN(R))||B>R};l.shouldUpdateResolution=W;var F=function(M,B){var R=M.source;if(!R||!R[0])return console.warn("Invalid or missing image source."),!1;if(B&&(R[0]==="/"||u(R))){if(M.sizeFormat==="queryString"&&R.indexOf("format="+B)===-1)return R=R+(-1<R.indexOf("?")?"&":"?")+"format="+B,R;if(M.sizeFormat==="filename"&&R.indexOf("-"+B)===-1){var U=R.slice(R.lastIndexOf("."));return R=R.replace(U,"-"+B+U),R}}return R};l.getUrl=F;var G=function(M){return M.sizeFormat==="queryString"?/(=)(\d{3,}w)*(original)*/i:/(-)(\d{3,}w)*(original)*/i},k=function(M,B){var R=G(B);return M.match(R)[2]||M.match(R)[3]};l.getSizeFromUrl=k;var x=function(M,B){var R;return B.sizeFormat==="queryString"&&(R=/(\S{1,})(\?format=)(\d{3,}w)/i),M.match(R)[1]};l.getAssetUrl=x},449391:function(b,l,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(l,"__esModule",{value:!0}),l.getLoadingConfiguration=void 0;var r=e(495576),o=e(594422),n=function(a){var i=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},c={dimensions:function(){if(i.dimensions)return i.dimensions;var f=a.getAttribute("data-image-dimensions");return f&&(f=f.split("x"))&&f.length===2?{width:parseInt(f[0],10),height:parseInt(f[1],10)}:{width:null,height:null}}(),fixedRatio:function(){if(i.fixedRatio)return i.fixedRatio;var f=a.getAttribute("data-fixed-ratio");return!!f&&f==="true"}(),focalPoint:function(){if(i.focalPoint&&!isNaN(parseFloat(i.focalPoint.x))&&!isNaN(parseFloat(i.focalPoint.y)))return i.focalPoint;var f=a.getAttribute("data-image-focal-point");return f&&(f=f.split(",").map(parseFloat))&&f.length===2?{x:f[0],y:f[1]}:{x:.5,y:.5}}(),load:function(){if(i.load||i.load===!1)return i.load.toString();var f=a.getAttribute("data-load");return f||"true"}(),forceImageUpdate:function(){if(i.forceImageUpdate||i.forceImageUpdate===!1)return i.forceImageUpdate;var f=a.getAttribute("data-force-image-update");return!!f&&f==="true"}(),cropMode:function(){if(i.mode)return r.CROP_ARGUMENT_TO_CROP_MODE[i.mode]||"none";var f=r.CROP_ARGUMENT_TO_CROP_MODE[a.getAttribute("data-mode")];if(f)return f;if(!a.parentNode)return"none";var d=a.parentNode.className;return-1<d.indexOf("content-fill")?r.CROP_ARGUMENT_TO_CROP_MODE["content-fill"]:-1<d.indexOf("content-fit")?r.CROP_ARGUMENT_TO_CROP_MODE["content-fit"]:"none"}(),sizeAdjustment:function(){var f=function(d){return d=parseFloat(d),isNaN(d)?1:Math.max(d,0)};return typeof i.sizeAdjustment>"u"?f(a.getAttribute("data-size-adjustment")):f(i.sizeAdjustment)}(),sizeFormat:function(){if(i.sizeFormat)return i.sizeFormat;var f=a.getAttribute("data-size-format");return f==="filename"?"filename":"queryString"}(),source:function(){if(i.source)return i.source;var f=a.getAttribute("data-src");if(f)return(0,o.isSquarespaceUrl)(f)&&(f=f.replace(/(http:\/\/)/g,"https://")),f}(),stretch:function(){if(typeof i.stretch<"u")return i.stretch;var f=a.getAttribute("data-image-stretch");return!f||f==="true"}(),useBgImage:function(){if(typeof i.useBgImage<"u")return i.useBgImage;var f=a.getAttribute("data-use-bg-image");return!!f&&f==="true"}(),useAdvancedPositioning:function(){if(typeof i.useAdvancedPositioning<"u")return i.useAdvancedPositioning;var f=a.getAttribute("data-use-advanced-positioning");return!!f&&f==="true"}()};if(c.allowSaveData="allowSaveData"in i?i.allowSaveData:a.getAttribute("data-allow-save-data")==="true",c.dprMax="dprMax"in i?i.dprMax:parseInt(a.getAttribute("data-dpr-max"),10)||1/0,c.dprMin="dprMin"in i?i.dprMin:parseInt(a.getAttribute("data-dpr-min"),10)||0,c.cropMode==="contain"&&a.parentNode){var u=i.fitAlignment||a.getAttribute("data-alignment")||a.parentNode.getAttribute("data-alignment")||"center";u&&(c.fitAlignment=["top","left","center","right","bottom"].reduce(function(f,d){return f[d]=-1<u.indexOf(d),f},{}))}return c.dimensions&&c.dimensions.width&&c.dimensions.height&&(c.hasImageDimensionData=!0),c};l.getLoadingConfiguration=n},719076:function(b,l,e){"use strict";var r=e(594422);Object.defineProperty(l,"__esModule",{value:!0}),l.getSquarespaceSize=void 0;function o(a){if(typeof app<"u"||typeof window.devicePixelRatio!="number")return a.sizeAdjustment;var i=a.allowSaveData&&"navigator"in window&&"connection"in window.navigator&&window.navigator.connection.saveData?Math.min(window.devicePixelRatio,1):window.devicePixelRatio;return Math.max(a.dprMin,Math.min(a.dprMax,i))*a.sizeAdjustment}var n=function(a,i,c,u){for(var f=(0,r.getDimensionForValue)("width",c,a),d=Math.max(f,i)*o(a),h=u.sizes.length,g=1;g<h;g++)if(d>u.sizes[g])return u.sizes[g-1]+"w";return u.sizes[h-1]+"w"};l.getSquarespaceSize=n},970784:function(b){(function(e,r){if(1)b.exports=r();else var o,n})(typeof self<"u"?self:this,function(){return function(l){var e={};function r(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return l[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=l,r.c=e,r.d=function(o,n,a){r.o(o,n)||Object.defineProperty(o,n,{enumerable:!0,get:a})},r.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},r.t=function(o,n){if(n&1&&(o=r(o)),n&8||n&4&&typeof o=="object"&&o&&o.__esModule)return o;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:o}),n&2&&typeof o!="string")for(var i in o)r.d(a,i,(function(c){return o[c]}).bind(null,i));return a},r.n=function(o){var n=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(n,"a",n),n},r.o=function(o,n){return Object.prototype.hasOwnProperty.call(o,n)},r.p="",r(r.s="./packages/constants/src/index.ts")}({"./packages/constants/src/index.ts":function(l,e,r){"use strict";r.r(e);var o=r("./packages/constants/src/properties.ts");r.d(e,"properties",function(){return o});var n=r("./packages/constants/src/scope.ts");r.d(e,"scope",function(){return n})},"./packages/constants/src/properties.ts":function(l,e,r){"use strict";r.r(e),r.d(e,"MAPPING_KEY",function(){return o}),r.d(e,"CONDITIONAL_KEY",function(){return n}),r.d(e,"CONDITION_KEY",function(){return a}),r.d(e,"CONDITIONAL_VALUES_KEY",function(){return i}),r.d(e,"SCOPE_ID_KEY",function(){return c}),r.d(e,"ROUTE_KEY",function(){return u}),r.d(e,"SIDE_EFFECTS_KEY",function(){return f}),r.d(e,"LEGACY_SCOPE_ID_KEY",function(){return d});var o="$mapping",n="$conditional",a="$if",i="$then",c="scope",u="$route",f="$sideEffects",d="$configurationId"},"./packages/constants/src/scope.ts":function(l,e,r){"use strict";r.r(e),r.d(e,"DEFAULT_SCOPE_ID",function(){return o}),r.d(e,"INTERNAL_SCOPE_ID_PREFIX",function(){return n});var o="default",n="__INTERNAL__::"}})})},86851:function(b,l,e){(function(o,n){if(1)b.exports=n();else var a,i})(typeof self<"u"?self:this,function(){return function(r){var o={};function n(a){if(o[a])return o[a].exports;var i=o[a]={i:a,l:!1,exports:{}};return r[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=r,n.c=o,n.d=function(a,i,c){n.o(a,i)||Object.defineProperty(a,i,{enumerable:!0,get:c})},n.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},n.t=function(a,i){if(i&1&&(a=n(a)),i&8||i&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(n.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),i&2&&typeof a!="string")for(var u in a)n.d(c,u,(function(f){return a[f]}).bind(null,u));return c},n.n=function(a){var i=a&&a.__esModule?function(){return a.default}:function(){return a};return n.d(i,"a",i),i},n.o=function(a,i){return Object.prototype.hasOwnProperty.call(a,i)},n.p="",n(n.s="./packages/utils/src/index.ts")}({"./packages/utils/src/arrayUtils.ts":function(r,o,n){"use strict";n.r(o),n.d(o,"ensureArray",function(){return Be}),n.d(o,"resolvePathWithPlaceholders",function(){return Ke}),n.d(o,"resolvePathWithIndexes",function(){return He}),n.d(o,"getItemsPathFromSchema",function(){return ye});var a=n("core-js/modules/es.symbol.js"),i=n.n(a),c=n("core-js/modules/es.symbol.description.js"),u=n.n(c),f=n("core-js/modules/es.symbol.iterator.js"),d=n.n(f),h=n("core-js/modules/es.array.concat.js"),g=n.n(h),_=n("core-js/modules/es.array.from.js"),p=n.n(_),y=n("core-js/modules/es.array.index-of.js"),O=n.n(y),P=n("core-js/modules/es.array.is-array.js"),C=n.n(P),A=n("core-js/modules/es.array.iterator.js"),S=n.n(A),T=n("core-js/modules/es.array.join.js"),s=n.n(T),v=n("core-js/modules/es.array.map.js"),m=n.n(v),E=n("core-js/modules/es.array.reduce.js"),I=n.n(E),L=n("core-js/modules/es.array.slice.js"),W=n.n(L),F=n("core-js/modules/es.date.to-string.js"),G=n.n(F),k=n("core-js/modules/es.function.name.js"),x=n.n(k),M=n("core-js/modules/es.object.entries.js"),B=n.n(M),R=n("core-js/modules/es.object.to-string.js"),U=n.n(R),j=n("core-js/modules/es.regexp.exec.js"),$=n.n(j),ee=n("core-js/modules/es.regexp.to-string.js"),te=n.n(ee),ie=n("core-js/modules/es.string.iterator.js"),ne=n.n(ie),pe=n("core-js/modules/es.string.match.js"),oe=n.n(pe),q=n("core-js/modules/es.string.replace.js"),J=n.n(q),me=n("core-js/modules/web.dom-collections.iterator.js"),re=n.n(me),he=n("./packages/utils/src/objectUtils.ts");function Ee(Le){"@babel/helpers - typeof";return Ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ue){return typeof Ue}:function(Ue){return Ue&&typeof Symbol=="function"&&Ue.constructor===Symbol&&Ue!==Symbol.prototype?"symbol":typeof Ue},Ee(Le)}function fe(Le,Ue){return ge(Le)||ae(Le,Ue)||z(Le,Ue)||H()}function H(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function z(Le,Ue){if(Le){if(typeof Le=="string")return _e(Le,Ue);var Xe={}.toString.call(Le).slice(8,-1);return Xe==="Object"&&Le.constructor&&(Xe=Le.constructor.name),Xe==="Map"||Xe==="Set"?Array.from(Le):Xe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Xe)?_e(Le,Ue):void 0}}function _e(Le,Ue){(Ue==null||Ue>Le.length)&&(Ue=Le.length);for(var Xe=0,Fe=Array(Ue);Xe<Ue;Xe++)Fe[Xe]=Le[Xe];return Fe}function ae(Le,Ue){var Xe=Le==null?null:typeof Symbol<"u"&&Le[Symbol.iterator]||Le["@@iterator"];if(Xe!=null){var Fe,ht,Ne,Ce,we=[],$e=!0,Ot=!1;try{if(Ne=(Xe=Xe.call(Le)).next,Ue===0){if(Object(Xe)!==Xe)return;$e=!1}else for(;!($e=(Fe=Ne.call(Xe)).done)&&(we.push(Fe.value),we.length!==Ue);$e=!0);}catch(Pt){Ot=!0,ht=Pt}finally{try{if(!$e&&Xe.return!=null&&(Ce=Xe.return(),Object(Ce)!==Ce))return}finally{if(Ot)throw ht}}return we}}function ge(Le){if(Array.isArray(Le))return Le}var Be=function(Ue){return Array.isArray(Ue)?Ue:[Ue]},Ke=function(Ue){return typeof Ue!="string"?Ue:Ue.split("/").map(function(Xe){return isNaN(Xe)?Xe:"-"}).join("/")},He=function(Ue){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Fe=Be(Xe),ht=Ue&&Fe.length&&(typeof Ue!="string"||Ue.indexOf("/-")!==-1);if(!ht)return Ue;var Ne=function($e){for(var Ot=($e.match(/\/-/g)||[]).length,Pt=Fe.length<=Ot?Fe:Fe.slice(Math.max(Fe.length-Ot,0)),Ie=0;Ie<Pt.length;Ie++)$e=$e.replace("/-","/".concat(Pt[Ie]));return $e},Ce=function($e){var Ot=Object(he.flatten)($e),Pt=Object.entries(Ot).reduce(function(Ie,Bt){var mt=fe(Bt,2),rt=mt[0],ce=mt[1];return Ie[rt]=Ne(ce),Ie},{});return Object(he.unflatten)(Pt)};return Ee(Ue)==="object"?Ce(Ue):Ne(Ue)},ye=function(Ue){if(!(Ue===null||Ee(Ue)!=="object"||Ee(Ue.items)!=="object")){var Xe=["items"];return Array.isArray(Ue.items.anyOf)?Xe=Xe.concat("anyOf"):Array.isArray(Ue.items.oneOf)&&(Xe=Xe.concat("oneOf")),Xe.join("/")}};o.default={ensureArray:Be,getItemsPathFromSchema:ye,resolvePathWithIndexes:He}},"./packages/utils/src/conditionalUtils.ts":function(r,o,n){"use strict";n.r(o),n.d(o,"inArray",function(){return Ce}),n.d(o,"COMMAND_METHOD_MAP",function(){return we}),n.d(o,"VALIDATE",function(){return $e}),n.d(o,"standardizeConditional",function(){return Pt}),n.d(o,"executeConditions",function(){return Ie}),n.d(o,"evaluateConditionGroup",function(){return Bt}),n.d(o,"evaluateConditional",function(){return mt}),n.d(o,"mergeConditionalProperties",function(){return rt}),n.d(o,"getConditionalPropertiesToApply",function(){return ce}),n.d(o,"getEvaluatedConditionalFieldConfig",function(){return Re});var a=n("core-js/modules/es.symbol.js"),i=n.n(a),c=n("core-js/modules/es.symbol.description.js"),u=n.n(c),f=n("core-js/modules/es.symbol.iterator.js"),d=n.n(f),h=n("core-js/modules/es.symbol.to-primitive.js"),g=n.n(h),_=n("core-js/modules/es.array.concat.js"),p=n.n(_),y=n("core-js/modules/es.array.every.js"),O=n.n(y),P=n("core-js/modules/es.array.find.js"),C=n.n(P),A=n("core-js/modules/es.array.includes.js"),S=n.n(A),T=n("core-js/modules/es.array.is-array.js"),s=n.n(T),v=n("core-js/modules/es.array.iterator.js"),m=n.n(v),E=n("core-js/modules/es.array.reduce.js"),I=n.n(E),L=n("core-js/modules/es.array.some.js"),W=n.n(L),F=n("core-js/modules/es.date.to-primitive.js"),G=n.n(F),k=n("core-js/modules/es.number.constructor.js"),x=n.n(k),M=n("core-js/modules/es.object.define-property.js"),B=n.n(M),R=n("core-js/modules/es.object.keys.js"),U=n.n(R),j=n("core-js/modules/es.object.to-string.js"),$=n.n(j),ee=n("core-js/modules/es.string.includes.js"),te=n.n(ee),ie=n("core-js/modules/es.string.iterator.js"),ne=n.n(ie),pe=n("core-js/modules/web.dom-collections.iterator.js"),oe=n.n(pe),q=n("lodash/isEqual"),J=n.n(q),me=n("lodash/mergeWith"),re=n.n(me),he=n("lodash/omit"),Ee=n.n(he),fe=n("lodash/get"),H=n.n(fe),z=n("memoize-one"),_e=n.n(z),ae=n("./packages/utils/src/objectUtils.ts"),ge=n("./packages/utils/src/jsonPointerUtils.ts"),Be=n("./packages/utils/src/arrayUtils.ts"),Ke=n("@sqs/jsf-constants"),He=n.n(Ke);function ye(nt,st,vt){return(st=Le(st))in nt?Object.defineProperty(nt,st,{value:vt,enumerable:!0,configurable:!0,writable:!0}):nt[st]=vt,nt}function Le(nt){var st=Ue(nt,"string");return Xe(st)=="symbol"?st:st+""}function Ue(nt,st){if(Xe(nt)!="object"||!nt)return nt;var vt=nt[Symbol.toPrimitive];if(vt!==void 0){var ze=vt.call(nt,st||"default");if(Xe(ze)!="object")return ze;throw new TypeError("@@toPrimitive must return a primitive value.")}return(st==="string"?String:Number)(nt)}function Xe(nt){"@babel/helpers - typeof";return Xe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(st){return typeof st}:function(st){return st&&typeof Symbol=="function"&&st.constructor===Symbol&&st!==Symbol.prototype?"symbol":typeof st},Xe(nt)}var Fe=Ke.properties.CONDITIONAL_KEY,ht=Ke.properties.CONDITIONAL_VALUES_KEY,Ne="allOf",Ce=function(st,vt){return Array.isArray(vt)&&vt.some(function(ze){return J()(ze,st)})},we={anyOf:"some",allOf:"every"},$e={in:Ce,nin:function(st,vt){return!Ce(st,vt)},gte:function(st,vt){return st>=vt},gt:function(st,vt){return st>vt},eq:function(st,vt){return J()(st,vt)},ne:function(st,vt){return st!==vt},lt:function(st,vt){return st<vt},lte:function(st,vt){return st<=vt},exists:function(st,vt){return typeof st<"u"===vt},count:function(st,vt,ze){var It=Object(ae.firstKey)(vt),on=$e[It],Pn=Ot(vt[It],ze);return Array.isArray(st)&&typeof on=="function"&&on(st.length,Pn)}};function Ot(nt,st){var vt=st.value,ze=st.arrayItemIndices;if(nt&&Xe(nt)==="object"&&nt.$data){var It=Object(ge.jsonPointerToObjectPath)(Object(Be.resolvePathWithIndexes)(nt.$data,ze));return H()(vt,It)}return nt}var Pt=function(st){return we[Object(ae.firstKey)(st)]?st:ye({},Ne,[st])},Ie=function(st,vt){var ze=Pt(st),It=Object(ae.firstKey)(ze),on=we[It];return ze[It][on](vt)},Bt=function(st,vt,ze,It){var on=Object.keys(we);if(st&&st.$pointer){var Pn=st.$pointer,Yn=st.$comparator,Ln=st.scope,bn=Ln||It;if(Object(ge.isValidJsonPointer)(bn)){var ir=vt[It];if(bn=Object(ge.getJsonPointerValue)(ir.value,bn),!bn)return console.error("Unable to resolve scope at ".concat(bn," inside ").concat(It)),!1}var Zn=vt[bn]||{},$n=Zn.value,jt=Object(ge.jsonPointerToObjectPath)(Object(Be.resolvePathWithIndexes)(Pn,ze)),Rn=Object(ae.firstKey)(Yn),jn=Yn[Rn],Tn=H()($n,jt),Nn={value:$n,arrayItemIndices:ze};return $e[Object(ae.firstKey)(Yn)](Tn,Ot(jn,Nn),Nn)}return typeof st=="function"?st({configurations:vt,activeScope:It,arrayItemIndices:ze}):Object.keys(st).every(function(cn){if(on.includes(cn))return mt(st,vt,ze,It);var or=Object(ge.jsonPointerToObjectPath)(Object(Be.resolvePathWithIndexes)(cn,ze));return Ie(st[cn],function(qn){var Hr=Object(ae.firstKey)(qn),fo=vt[It]||{},Jr=fo.value,ro=H()(Jr,or),Xt={value:Jr,arrayItemIndices:ze};return $e[Hr](ro,Ot(qn[Hr],Xt),Xt)})})},mt=function(st,vt,ze,It){return Ie(st,function(on){return Bt(on,vt,ze,It)})},rt=function(st,vt){var ze=Ee()(st,Fe);return Array.isArray(vt)?vt.reduce(function(It,on){return rt(It,on)},ze):re()({},ze,vt,function(It,on,Pn){return Pn==="children"?on:void 0})},ce=_e()(function(nt,st,vt){var ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Ke.scope.DEFAULT_SCOPE_ID;if(Array.isArray(nt))return nt.reduce(function(Pn,Yn){var Ln=ce(Yn,st,vt,ze);return Ln&&Pn.push(Ln),Pn},[]);var It=nt.switch||[nt],on=It.find(function(Pn){return mt(Pn[Ke.properties.CONDITION_KEY],st,vt,ze)})||{};return on[Ke.properties.CONDITIONAL_VALUES_KEY]}),Re=function(st,vt){return!st||!st[Fe]?st:vt?rt(st,st[Fe][ht]):Ee()(st,Fe)}},"./packages/utils/src/index.ts":function(r,o,n){"use strict";n.r(o);var a=n("./packages/utils/src/arrayUtils.ts");n.d(o,"arrayUtils",function(){return a});var i=n("./packages/utils/src/conditionalUtils.ts");n.d(o,"conditionalUtils",function(){return i});var c=n("./packages/utils/src/jsonPointerUtils.ts");n.d(o,"jsonPointerUtils",function(){return c});var u=n("./packages/utils/src/objectUtils.ts");n.d(o,"objectUtils",function(){return u});var f=n("./packages/utils/src/schemaPaths.ts");n.d(o,"schemaPaths",function(){return f});var d=n("./packages/utils/src/schemaUtils.ts");n.d(o,"schemaUtils",function(){return d});var h=n("./packages/utils/src/stringUtils.ts");n.d(o,"stringUtils",function(){return h})},"./packages/utils/src/jsonPointerUtils.ts":function(r,o,n){"use strict";n.r(o),n.d(o,"trimJsonPointer",function(){return Je}),n.d(o,"parseJsonPointer",function(){return At}),n.d(o,"isValidJsonPointer",function(){return xt}),n.d(o,"jsonPointerToObjectPath",function(){return Qt}),n.d(o,"objectPathToJsonPointer",function(){return qt}),n.d(o,"jsonPointerToArrayPlaceholderPointer",function(){return Te}),n.d(o,"jsonPointerToArrayPlaceholderAndIndices",function(){return Gt}),n.d(o,"setJsonPointerValue",function(){return un}),n.d(o,"getJsonPointerObjectValue",function(){return Vt}),n.d(o,"getJsonPointerValue",function(){return Dn});var a=n("core-js/modules/es.symbol.js"),i=n.n(a),c=n("core-js/modules/es.symbol.description.js"),u=n.n(c),f=n("core-js/modules/es.symbol.iterator.js"),d=n.n(f),h=n("core-js/modules/es.symbol.to-primitive.js"),g=n.n(h),_=n("core-js/modules/es.array.every.js"),p=n.n(_),y=n("core-js/modules/es.array.filter.js"),O=n.n(y),P=n("core-js/modules/es.array.for-each.js"),C=n.n(P),A=n("core-js/modules/es.array.from.js"),S=n.n(A),T=n("core-js/modules/es.array.includes.js"),s=n.n(T),v=n("core-js/modules/es.array.is-array.js"),m=n.n(v),E=n("core-js/modules/es.array.iterator.js"),I=n.n(E),L=n("core-js/modules/es.array.join.js"),W=n.n(L),F=n("core-js/modules/es.array.map.js"),G=n.n(F),k=n("core-js/modules/es.array.reduce.js"),x=n.n(k),M=n("core-js/modules/es.array.slice.js"),B=n.n(M),R=n("core-js/modules/es.date.to-primitive.js"),U=n.n(R),j=n("core-js/modules/es.date.to-string.js"),$=n.n(j),ee=n("core-js/modules/es.function.name.js"),te=n.n(ee),ie=n("core-js/modules/es.number.constructor.js"),ne=n.n(ie),pe=n("core-js/modules/es.object.define-properties.js"),oe=n.n(pe),q=n("core-js/modules/es.object.define-property.js"),J=n.n(q),me=n("core-js/modules/es.object.entries.js"),re=n.n(me),he=n("core-js/modules/es.object.get-own-property-descriptor.js"),Ee=n.n(he),fe=n("core-js/modules/es.object.get-own-property-descriptors.js"),H=n.n(fe),z=n("core-js/modules/es.object.keys.js"),_e=n.n(z),ae=n("core-js/modules/es.object.to-string.js"),ge=n.n(ae),Be=n("core-js/modules/es.parse-float.js"),Ke=n.n(Be),He=n("core-js/modules/es.regexp.exec.js"),ye=n.n(He),Le=n("core-js/modules/es.regexp.to-string.js"),Ue=n.n(Le),Xe=n("core-js/modules/es.string.includes.js"),Fe=n.n(Xe),ht=n("core-js/modules/es.string.iterator.js"),Ne=n.n(ht),Ce=n("core-js/modules/es.string.match.js"),we=n.n(Ce),$e=n("core-js/modules/es.string.replace.js"),Ot=n.n($e),Pt=n("core-js/modules/es.string.starts-with.js"),Ie=n.n(Pt),Bt=n("core-js/modules/web.dom-collections.for-each.js"),mt=n.n(Bt),rt=n("core-js/modules/web.dom-collections.iterator.js"),ce=n.n(rt),Re=n("lodash/isArray"),nt=n.n(Re),st=n("lodash/get"),vt=n.n(st),ze=n("json-pointer"),It=n.n(ze),on=n("./packages/utils/src/arrayUtils.ts"),Pn=n("./packages/utils/src/stringUtils.ts");function Yn(Pe,xe){return Jr(Pe)||Ln(Pe,xe)||qn(Pe,xe)||or()}function Ln(Pe,xe){var Ae=Pe==null?null:typeof Symbol<"u"&&Pe[Symbol.iterator]||Pe["@@iterator"];if(Ae!=null){var qe,wt,kt,ut,Ft=[],tn=!0,In=!1;try{if(kt=(Ae=Ae.call(Pe)).next,xe===0){if(Object(Ae)!==Ae)return;tn=!1}else for(;!(tn=(qe=kt.call(Ae)).done)&&(Ft.push(qe.value),Ft.length!==xe);tn=!0);}catch(rr){In=!0,wt=rr}finally{try{if(!tn&&Ae.return!=null&&(ut=Ae.return(),Object(ut)!==ut))return}finally{if(In)throw wt}}return Ft}}function bn(Pe){"@babel/helpers - typeof";return bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(xe){return typeof xe}:function(xe){return xe&&typeof Symbol=="function"&&xe.constructor===Symbol&&xe!==Symbol.prototype?"symbol":typeof xe},bn(Pe)}function ir(Pe,xe){var Ae=Object.keys(Pe);if(Object.getOwnPropertySymbols){var qe=Object.getOwnPropertySymbols(Pe);xe&&(qe=qe.filter(function(wt){return Object.getOwnPropertyDescriptor(Pe,wt).enumerable})),Ae.push.apply(Ae,qe)}return Ae}function Zn(Pe){for(var xe=1;xe<arguments.length;xe++){var Ae=arguments[xe]!=null?arguments[xe]:{};xe%2?ir(Object(Ae),!0).forEach(function(qe){$n(Pe,qe,Ae[qe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Pe,Object.getOwnPropertyDescriptors(Ae)):ir(Object(Ae)).forEach(function(qe){Object.defineProperty(Pe,qe,Object.getOwnPropertyDescriptor(Ae,qe))})}return Pe}function $n(Pe,xe,Ae){return(xe=jt(xe))in Pe?Object.defineProperty(Pe,xe,{value:Ae,enumerable:!0,configurable:!0,writable:!0}):Pe[xe]=Ae,Pe}function jt(Pe){var xe=Rn(Pe,"string");return bn(xe)=="symbol"?xe:xe+""}function Rn(Pe,xe){if(bn(Pe)!="object"||!Pe)return Pe;var Ae=Pe[Symbol.toPrimitive];if(Ae!==void 0){var qe=Ae.call(Pe,xe||"default");if(bn(qe)!="object")return qe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(xe==="string"?String:Number)(Pe)}function jn(Pe){return Nn(Pe)||fo(Pe)||qn(Pe)||Tn()}function Tn(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nn(Pe){if(Array.isArray(Pe))return Hr(Pe)}function cn(Pe){return Jr(Pe)||fo(Pe)||qn(Pe)||or()}function or(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qn(Pe,xe){if(Pe){if(typeof Pe=="string")return Hr(Pe,xe);var Ae={}.toString.call(Pe).slice(8,-1);return Ae==="Object"&&Pe.constructor&&(Ae=Pe.constructor.name),Ae==="Map"||Ae==="Set"?Array.from(Pe):Ae==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ae)?Hr(Pe,xe):void 0}}function Hr(Pe,xe){(xe==null||xe>Pe.length)&&(xe=Pe.length);for(var Ae=0,qe=Array(xe);Ae<xe;Ae++)qe[Ae]=Pe[Ae];return qe}function fo(Pe){if(typeof Symbol<"u"&&Pe[Symbol.iterator]!=null||Pe["@@iterator"]!=null)return Array.from(Pe)}function Jr(Pe){if(Array.isArray(Pe))return Pe}var ro={},Xt={},Je=function(xe){return xe.replace("#","")},At=function(xe){return It.a.parse(Je(xe))},xt=function(xe){try{return!!xe&&!!It.a.parse(Je(xe))}catch{return!1}},Qt=function(xe){if(ro[xe])return ro[xe];var Ae=It.a.parse(Je(xe)),qe=Ae.reduce(function(wt,kt,ut){if(kt==="")return wt;var Ft=kt;return typeof Object(Pn.numberFromString)(kt)=="number"||kt==="-"?Ft="[".concat(kt,"]"):ut&&(Ft=".".concat(kt)),wt+=Ft,wt},"");return ro[xe]=qe,qe},qt=function(xe){if(Xt[xe])return Xt[xe];var Ae=xe.startsWith(".")?xe:".".concat(xe),qe="#".concat(Ae.split(".").join("/")),wt=qe.match(/\[\d+\]/g);return wt&&wt.forEach(function(kt){var ut=kt.replace("[","/").replace("]","");qe=qe.replace(kt,ut)}),Xt[xe]=qe,qe},Te=function(xe){return xe.split("/").map(function(Ae){return Object(Pn.isNumeric)(Ae)?"-":Ae}).join("/")},Gt=function(xe){var Ae=xe.split("/").reduce(function(kt,ut){return Object(Pn.isNumeric)(ut)?(kt.pointerParts.push("-"),kt.indices.push(parseFloat(ut))):kt.pointerParts.push(ut),kt},{pointerParts:[],indices:[]}),qe=Ae.pointerParts,wt=Ae.indices;return{indices:wt,jsonPointer:qe.join("/")}},un=function(xe,Ae,qe){var wt=function(ut){var Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],tn=cn(Ft),In=tn[0],rr=tn.slice(1),Sr=arguments.length>2?arguments[2]:void 0,Yr=Object(Pn.numberFromString)(In);typeof Yr=="number"?(In=Yr,ut=ut||[]):ut=ut||{};var Pr=nt()(ut)?jn(ut):Zn({},ut);return Pr[In]=rr.length?wt(ut[In],rr,Sr):Sr,Pr};return Ae==="#"||Ae==="#/"?qe:wt(xe,At(Je(Ae)),qe)},Vt=function(xe,Ae){if(!xe||bn(xe)!=="object")throw new Error("Calling getJsonPointerObjectValue without an object to resolve");return Object.entries(Ae).reduce(function(qe,wt){var kt=Yn(wt,2),ut=kt[0],Ft=kt[1];return Ae[ut]&&bn(Ae[ut])==="object"?qe[ut]=Vt(xe,Ae[ut]):xt(Ft)?qe[ut]=Dn(xe,Ft):qe[ut]=Ft,qe},{})},Dn=function(xe,Ae){if(Ae.includes("/*"))return Wt(xe,Ae).map(function(kt){return Dn(xe,kt)});var qe=Qt(Ae),wt=qe===""?xe:vt()(xe,qe);return wt},Wt=function(xe,Ae){return Ae=on.default.ensureArray(Ae),Ae.every(function(qe){return!qe.includes("/*")})?Ae:Wt(xe,Ae.reduce(function(qe,wt){if(wt.includes("/*")){var kt=wt.split("/*"),ut=Dn(xe,kt[0])||[];return ut.map(function(Ft,tn){return wt.replace("/*","/".concat(tn))})}return qe},[]))}},"./packages/utils/src/objectUtils.ts":function(r,o,n){"use strict";n.r(o),n.d(o,"get",function(){return P}),n.d(o,"firstKey",function(){return C}),n.d(o,"unflatten",function(){return A}),n.d(o,"flatten",function(){return S});var a=n("core-js/modules/es.array.concat.js"),i=n.n(a),c=n("core-js/modules/es.array.is-array.js"),u=n.n(c),f=n("core-js/modules/es.object.keys.js"),d=n.n(f),h=n("core-js/modules/es.regexp.exec.js"),g=n.n(h),_=n("lodash/get"),p=n.n(_),y=n("memoize-one"),O=n.n(y),P=function(s,v){return v===""||Array.isArray(v)&&v.length===1&&v[0]===""?s:p()(s,v)},C=function(s){return Object.keys(s)[0]},A=O()(function(T){if(Object(T)!==T||Array.isArray(T))return T;var s=/\.?([^.\[\]]+)|\[(\d+)\]/g,v={};for(var m in T){for(var E=v,I="",L=void 0;L=s.exec(m);)E=E[I]||(E[I]=L[2]?[]:{}),I=L[2]||L[1];E[I]=T[m]}return v[""]||v}),S=O()(function(T){var s={},v=function(E,I){if(Object(E)!==E)s[I]=E;else if(Array.isArray(E)){for(var L=0,W=E.length;L<W;L++)v(E[L],I+"[".concat(L,"]"));W===0&&(s[I]=[])}else{var F=!0;for(var G in E){F=!1;var k=I?"".concat(I,".").concat(G):G;typeof E[G]=="function"?s[k]=E[G]:v(E[G],k)}F&&I&&(s[I]={})}};return v(T,""),s});o.default={firstKey:C,flatten:S,unflatten:A}},"./packages/utils/src/schemaPaths.ts":function(r,o,n){"use strict";n.r(o),n.d(o,"generateSchemaPathToObjectPathMap",function(){return Ue});var a=n("core-js/modules/es.symbol.js"),i=n.n(a),c=n("core-js/modules/es.symbol.description.js"),u=n.n(c),f=n("core-js/modules/es.symbol.iterator.js"),d=n.n(f),h=n("core-js/modules/es.symbol.to-primitive.js"),g=n.n(h),_=n("core-js/modules/es.array.concat.js"),p=n.n(_),y=n("core-js/modules/es.array.filter.js"),O=n.n(y),P=n("core-js/modules/es.array.find.js"),C=n.n(P),A=n("core-js/modules/es.array.for-each.js"),S=n.n(A),T=n("core-js/modules/es.array.includes.js"),s=n.n(T),v=n("core-js/modules/es.array.is-array.js"),m=n.n(v),E=n("core-js/modules/es.array.iterator.js"),I=n.n(E),L=n("core-js/modules/es.array.reduce.js"),W=n.n(L),F=n("core-js/modules/es.date.to-primitive.js"),G=n.n(F),k=n("core-js/modules/es.number.constructor.js"),x=n.n(k),M=n("core-js/modules/es.object.define-properties.js"),B=n.n(M),R=n("core-js/modules/es.object.define-property.js"),U=n.n(R),j=n("core-js/modules/es.object.get-own-property-descriptor.js"),$=n.n(j),ee=n("core-js/modules/es.object.get-own-property-descriptors.js"),te=n.n(ee),ie=n("core-js/modules/es.object.keys.js"),ne=n.n(ie),pe=n("core-js/modules/es.object.to-string.js"),oe=n.n(pe),q=n("core-js/modules/es.string.iterator.js"),J=n.n(q),me=n("core-js/modules/web.dom-collections.for-each.js"),re=n.n(me),he=n("core-js/modules/web.dom-collections.iterator.js"),Ee=n.n(he),fe=n("lodash/isPlainObject"),H=n.n(fe);function z(Xe){"@babel/helpers - typeof";return z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fe){return typeof Fe}:function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe},z(Xe)}function _e(Xe,Fe){var ht=Object.keys(Xe);if(Object.getOwnPropertySymbols){var Ne=Object.getOwnPropertySymbols(Xe);Fe&&(Ne=Ne.filter(function(Ce){return Object.getOwnPropertyDescriptor(Xe,Ce).enumerable})),ht.push.apply(ht,Ne)}return ht}function ae(Xe){for(var Fe=1;Fe<arguments.length;Fe++){var ht=arguments[Fe]!=null?arguments[Fe]:{};Fe%2?_e(Object(ht),!0).forEach(function(Ne){ge(Xe,Ne,ht[Ne])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Xe,Object.getOwnPropertyDescriptors(ht)):_e(Object(ht)).forEach(function(Ne){Object.defineProperty(Xe,Ne,Object.getOwnPropertyDescriptor(ht,Ne))})}return Xe}function ge(Xe,Fe,ht){return(Fe=Be(Fe))in Xe?Object.defineProperty(Xe,Fe,{value:ht,enumerable:!0,configurable:!0,writable:!0}):Xe[Fe]=ht,Xe}function Be(Xe){var Fe=Ke(Xe,"string");return z(Fe)=="symbol"?Fe:Fe+""}function Ke(Xe,Fe){if(z(Xe)!="object"||!Xe)return Xe;var ht=Xe[Symbol.toPrimitive];if(ht!==void 0){var Ne=ht.call(Xe,Fe||"default");if(z(Ne)!="object")return Ne;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Fe==="string"?String:Number)(Xe)}var He=[{canRead:function(Fe,ht){return Array.isArray(ht)},getPath:function(Fe,ht){return Fe}},{canRead:function(Fe,ht){return["object","string","number","integer","boolean","null"].includes(Fe.type)&&ht.type!=="array"},getPath:function(Fe,ht){return"".concat(Fe,"/").concat(ht)}},{canRead:function(Fe,ht){return Fe.type==="array"&&ht.type==="array"},getPath:function(Fe,ht){return"".concat(Fe,"/-")}},{canRead:function(Fe,ht){return Fe.type==="array"},getPath:function(Fe,ht){return"".concat(Fe,"/").concat(ht)}},{canRead:function(Fe,ht){return ht.type==="array"},getPath:function(Fe,ht){return"".concat(Fe,"/-")}},{canRead:function(Fe,ht){return!!Fe.oneOf||!!Fe.anyOf||!!Fe.enum},getPath:function(Fe,ht){return"".concat(Fe,"/").concat(ht)}},{canRead:function(Fe,ht){return!0},getPath:function(Fe,ht){return Fe}}],ye=function(Fe,ht,Ne,Ce){var we=He.find(function($e){return $e.canRead(Fe,ht)});return we?we.getPath(Ce,Ne):""},Le=function(Fe){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#",Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#";return Fe?Object.keys(Fe).reduce(function(Ce,we){var $e=Fe[we];return $e&&($e instanceof Object&&!(Ne==="#"&&we==="definitions")&&(Ce=ae(ae({},Ce),Le($e,"".concat(ht,"/").concat(we),ye($e,Fe,we,Ne)))),$e.type||(Fe.type?Ce[ht]=Ne:H()($e)&&!$e.oneOf&&!$e.anyOf&&(Ce[ht+"/"+we]=Ne+"/"+we))),Ce},{}):ge({},ht,Ne)},Ue=function(Fe){return Le(Fe)}},"./packages/utils/src/schemaUtils.ts":function(r,o,n){"use strict";n.r(o),n.d(o,"getSchemaPathForJsonPointer",function(){return C}),n.d(o,"getSchemaForUiMapping",function(){return A});var a=n("core-js/modules/es.array.map.js"),i=n.n(a),c=n("core-js/modules/es.array.reduce.js"),u=n.n(c),f=n("core-js/modules/es.array.slice.js"),d=n.n(f),h=n("core-js/modules/es.object.keys.js"),g=n.n(h),_=n("core-js/modules/es.object.to-string.js"),p=n.n(_),y=n("core-js/modules/es.string.ends-with.js"),O=n.n(y),P=n("./packages/utils/src/jsonPointerUtils.ts"),C=function(T,s){if(!(!T||!s||typeof T!="string")){T.endsWith("/")&&(T=T.slice(0,-1));var v=Object(P.jsonPointerToArrayPlaceholderPointer)(T);return Object.keys(s).reduce(function(m,E){return s[E]===v&&m.push(E),m},[])}},A=function(T,s,v){var m=C(T,s);if(!(!m||!m.length)){var E=m.map(function(I){return Object(P.getJsonPointerValue)(v,I)});return E.length>1,E[0]}}},"./packages/utils/src/stringUtils.ts":function(r,o,n){"use strict";n.r(o),n.d(o,"regExpEscape",function(){return y}),n.d(o,"replaceStringEnding",function(){return O}),n.d(o,"isNumeric",function(){return P}),n.d(o,"hashCode",function(){return C}),n.d(o,"numberFromString",function(){return A});var a=n("core-js/modules/es.number.constructor.js"),i=n.n(a),c=n("core-js/modules/es.regexp.constructor.js"),u=n.n(c),f=n("core-js/modules/es.regexp.exec.js"),d=n.n(f),h=n("core-js/modules/es.regexp.to-string.js"),g=n.n(h),_=n("core-js/modules/es.string.replace.js"),p=n.n(_),y=function(T){return T.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},O=function(T,s,v){return T.replace(new RegExp("(".concat(y(s),")$")),v)},P=function(T){return T===""?!1:!isNaN(T)},C=function(T){for(var s=0,v=T.length,m=0;m<v;m++)s=s*31+T.charCodeAt(m),s=s&s;return String(s)},A=function(T){if(!(typeof T=="string"&&!T.length)){var s=Number(T);if(P(s))return s}}},"@sqs/jsf-constants":function(r,o){r.exports=e(970784)},"core-js/modules/es.array.concat.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.array.every.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.array.filter.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.array.find.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.array.for-each.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.array.from.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.array.includes.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.array.index-of.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.array.is-array.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.array.iterator.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.array.join.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.array.map.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.array.reduce.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.array.slice.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.array.some.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.date.to-primitive.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.date.to-string.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.function.name.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.number.constructor.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.object.define-properties.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.object.define-property.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.object.entries.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.object.get-own-property-descriptor.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.object.get-own-property-descriptors.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.object.keys.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.object.to-string.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.parse-float.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.regexp.constructor.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.regexp.exec.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.regexp.to-string.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.string.ends-with.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.string.includes.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.string.iterator.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.string.match.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.string.replace.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.string.starts-with.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.symbol.description.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.symbol.iterator.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.symbol.js":function(r,o){r.exports=e(392338)},"core-js/modules/es.symbol.to-primitive.js":function(r,o){r.exports=e(392338)},"core-js/modules/web.dom-collections.for-each.js":function(r,o){r.exports=e(392338)},"core-js/modules/web.dom-collections.iterator.js":function(r,o){r.exports=e(392338)},"json-pointer":function(r,o){r.exports=e(362775)},"lodash/get":function(r,o){r.exports=e(461761)},"lodash/isArray":function(r,o){r.exports=e(195593)},"lodash/isEqual":function(r,o){r.exports=e(976003)},"lodash/isPlainObject":function(r,o){r.exports=e(540039)},"lodash/mergeWith":function(r,o){r.exports=e(185942)},"lodash/omit":function(r,o){r.exports=e(394470)},"memoize-one":function(r,o){r.exports=e(620477)}})})},859256:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(392338),o=e.n(r),n=e(64745),a="sqs-location",i="https://location.squarespace.com/api/1/location/ips/mine",c=0,u={getLocation:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i;c&&console.info("[Location] getLocation");var g=this.getCachedLocation();return g?Promise.resolve(g):this.fetchLocation(h)},fetchLocation:function(){var h=this,g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i,_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return c&&console.info("[Location] fetchLocation"),n.Z.get(g,{headers:_}).then(function(p){return c&&console.info("[Location] API response",p.status,p.data),p.status===200?p.data&&p.data.locationComponents?(h.saveLocation(p.data.locationComponents),p.data.locationComponents):(console.error("Unknown Location API response"),null):(console.error("Location API is unavailable"),null)}).catch(function(p){console.error("Unable to connect with Location API",p)})},saveLocation:function(h){try{if(typeof h>"u")throw new Error("Refusing to set undefined location");return sessionStorage.setItem(a,btoa(JSON.stringify(h)).toString()),!0}catch(g){return console.error("sessionStorage unavailable",g),!1}},getCachedLocation:function(){try{var h=sessionStorage.getItem(a);return h?(h=JSON.parse(atob(h)),c&&console.info("[Location] cache hit: ",h),h):(c&&console.info("[Location] cache miss"),null)}catch{return c&&console.info("[Location] unable to read from sessionStorage"),null}}};const f=u},296194:function(b){"use strict";function l(o,n){function a(){this.constructor=o}a.prototype=n.prototype,o.prototype=new a}function e(o,n,a,i){this.message=o,this.expected=n,this.found=a,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,e)}l(e,Error),e.buildMessage=function(o,n){var a={literal:function(g){return'"'+c(g.text)+'"'},class:function(g){var _="",p;for(p=0;p<g.parts.length;p++)_+=g.parts[p]instanceof Array?u(g.parts[p][0])+"-"+u(g.parts[p][1]):u(g.parts[p]);return"["+(g.inverted?"^":"")+_+"]"},any:function(g){return"any character"},end:function(g){return"end of input"},other:function(g){return g.description}};function i(g){return g.charCodeAt(0).toString(16).toUpperCase()}function c(g){return g.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(_){return"\\x0"+i(_)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(_){return"\\x"+i(_)})}function u(g){return g.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(_){return"\\x0"+i(_)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(_){return"\\x"+i(_)})}function f(g){return a[g.type](g)}function d(g){var _=new Array(g.length),p,y;for(p=0;p<g.length;p++)_[p]=f(g[p]);if(_.sort(),_.length>0){for(p=1,y=1;p<_.length;p++)_[p-1]!==_[p]&&(_[y]=_[p],y++);_.length=y}switch(_.length){case 1:return _[0];case 2:return _[0]+" or "+_[1];default:return _.slice(0,-1).join(", ")+", or "+_[_.length-1]}}function h(g){return g?'"'+c(g)+'"':"end of input"}return"Expected "+d(o)+" but "+h(n)+" found."};function r(o,n){n=n!==void 0?n:{};var a={},i={start:Vt},c=Vt,u="#",f=ro("#",!1),d=function(){return Qe},h=function(){return{type:"octothorpe"}},g=function(Ze){return Ze.join("")},_="{",p=ro("{",!1),y="}",O=ro("}",!1),P=function(Ze){return{type:"argument",arg:Ze}},C=",",A=ro(",",!1),S="select",T=ro("select",!1),s=function(Ze,Mt){return n.strictNumberSign&&(Qe=!1),Mt},v=function(Ze,Mt){return{type:"select",arg:Ze,cases:Mt}},m="plural",E=ro("plural",!1),I="selectordinal",L=ro("selectordinal",!1),W=function(Ze,Mt){return Qe=!0,Mt},F=function(Ze,Mt,ot,et){var St=(Mt==="selectordinal"?n.ordinal:n.cardinal)||["zero","one","two","few","many","other"];return St&&St.length&&et.forEach(function(Ht){if(isNaN(Ht.key)&&St.indexOf(Ht.key)<0)throw new Error("Invalid key `"+Ht.key+"` for argument `"+Ze+"`. Valid "+Mt+" keys for this locale are `"+St.join("`, `")+"`, and explicit keys like `=0`.")}),Qe=!1,{type:Mt,arg:Ze,offset:ot||0,cases:et}},G=function(Ze,Mt,ot){return{type:"function",arg:Ze,key:Mt,params:ot}},k=/^[^\t-\r \x85\u200E\u200F\u2028\u2029!-,;-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,x=Xt([["	","\r"]," ","\x85","\u200E","\u200F","\u2028","\u2029",["!",","],[";","@"],["[","^"],"`",["{","~"],["\xA1","\xA7"],"\xA9","\xAB","\xAC","\xAE","\xB0","\xB1","\xB6","\xBB","\xBF","\xD7","\xF7",["\u2010","\u2027"],["\u2030","\u203E"],["\u2041","\u2053"],["\u2055","\u205E"],["\u2190","\u245F"],["\u2500","\u2775"],["\u2794","\u2BFF"],["\u2E00","\u2E7F"],["\u3001","\u3003"],["\u3008","\u3020"],"\u3030","\uFD3E","\uFD3F","\uFE45","\uFE46"],!0,!1),M=function(Ze,Mt){return{key:Ze,tokens:Mt}},B=function(Ze){return Ze},R="offset",U=ro("offset",!1),j=":",$=ro(":",!1),ee=function(Ze){return Ze},te="=",ie=ro("=",!1),ne=function(Ze){return n.strictFunctionParams},pe=function(Ze){return Ze},oe=function(Ze){return Ze.replace(yt,"")},q="''",J=ro("''",!1),me=function(){return"'"},re=/^[^']/,he=Xt(["'"],!0,!1),Ee="'{",fe=ro("'{",!1),H="'",z=ro("'",!1),_e=function(Ze){return"{"+Ze.join("")},ae="'}",ge=ro("'}",!1),Be=function(Ze){return"}"+Ze.join("")},Ke="'#",He=ro("'#",!1),ye=function(Ze){return"#"+Ze.join("")},Le=function(Ze){return Ze[0]},Ue=function(Ze){return!Qe},Xe=function(Ze){return Ze},Fe=/^[^{}#\\\0-\x08\x0E-\x1F\x7F]/,ht=Xt(["{","}","#","\\",["\0","\b"],["",""],"\x7F"],!0,!1),Ne="\\\\",Ce=ro("\\\\",!1),we=function(){return"\\"},$e="\\#",Ot=ro("\\#",!1),Pt=function(){return"#"},Ie="\\{",Bt=ro("\\{",!1),mt=function(){return"{"},rt="\\}",ce=ro("\\}",!1),Re=function(){return"}"},nt="\\u",st=ro("\\u",!1),vt=function(Ze,Mt,ot,et){return String.fromCharCode(parseInt("0x"+Ze+Mt+ot+et))},ze=/^[^',}]/,It=Xt(["'",",","}"],!0,!1),on=/^[^'}]/,Pn=Xt(["'","}"],!0,!1),Yn=/^[0-9]/,Ln=Xt([["0","9"]],!1,!1),bn=/^[0-9a-fA-F]/,ir=Xt([["0","9"],["a","f"],["A","F"]],!1,!1),Zn=/^[\t-\r \x85\u200E\u200F\u2028\u2029]/,$n=Xt([["	","\r"]," ","\x85","\u200E","\u200F","\u2028","\u2029"],!1,!1),jt=0,Rn=0,jn=[{line:1,column:1}],Tn=0,Nn=[],cn=0,or;if("startRule"in n){if(!(n.startRule in i))throw new Error(`Can't start parsing from rule "`+n.startRule+'".');c=i[n.startRule]}function qn(){return o.substring(Rn,jt)}function Hr(){return qt(Rn,jt)}function fo(Ze,Mt){throw Mt=Mt!==void 0?Mt:qt(Rn,jt),un([xt(Ze)],o.substring(Rn,jt),Mt)}function Jr(Ze,Mt){throw Mt=Mt!==void 0?Mt:qt(Rn,jt),Gt(Ze,Mt)}function ro(Ze,Mt){return{type:"literal",text:Ze,ignoreCase:Mt}}function Xt(Ze,Mt,ot){return{type:"class",parts:Ze,inverted:Mt,ignoreCase:ot}}function Je(){return{type:"any"}}function At(){return{type:"end"}}function xt(Ze){return{type:"other",description:Ze}}function Qt(Ze){var Mt=jn[Ze],ot;if(Mt)return Mt;for(ot=Ze-1;!jn[ot];)ot--;for(Mt=jn[ot],Mt={line:Mt.line,column:Mt.column};ot<Ze;)o.charCodeAt(ot)===10?(Mt.line++,Mt.column=1):Mt.column++,ot++;return jn[Ze]=Mt,Mt}function qt(Ze,Mt){var ot=Qt(Ze),et=Qt(Mt);return{start:{offset:Ze,line:ot.line,column:ot.column},end:{offset:Mt,line:et.line,column:et.column}}}function Te(Ze){jt<Tn||(jt>Tn&&(Tn=jt,Nn=[]),Nn.push(Ze))}function Gt(Ze,Mt){return new e(Ze,null,null,Mt)}function un(Ze,Mt,ot){return new e(e.buildMessage(Ze,Mt),Ze,Mt,ot)}function Vt(){var Ze,Mt;for(Ze=[],Mt=Dn();Mt!==a;)Ze.push(Mt),Mt=Dn();return Ze}function Dn(){var Ze,Mt,ot;if(Ze=Wt(),Ze===a&&(Ze=Pe(),Ze===a&&(Ze=xe(),Ze===a&&(Ze=Ae(),Ze===a&&(Ze=jt,o.charCodeAt(jt)===35?(Mt=u,jt++):(Mt=a,cn===0&&Te(f)),Mt!==a?(Rn=jt,ot=d(),ot?ot=void 0:ot=a,ot!==a?(Rn=Ze,Mt=h(),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a),Ze===a))))){if(Ze=jt,Mt=[],ot=Dr(),ot!==a)for(;ot!==a;)Mt.push(ot),ot=Dr();else Mt=a;Mt!==a&&(Rn=Ze,Mt=g(Mt)),Ze=Mt}return Ze}function Wt(){var Ze,Mt,ot,et,St,Ht;return Ze=jt,o.charCodeAt(jt)===123?(Mt=_,jt++):(Mt=a,cn===0&&Te(p)),Mt!==a?(ot=Rt(),ot!==a?(et=qe(),et!==a?(St=Rt(),St!==a?(o.charCodeAt(jt)===125?(Ht=y,jt++):(Ht=a,cn===0&&Te(O)),Ht!==a?(Rn=Ze,Mt=P(et),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a),Ze}function Pe(){var Ze,Mt,ot,et,St,Ht,er,Mr,mn,Un,hr,br,io,Kr;if(Ze=jt,o.charCodeAt(jt)===123?(Mt=_,jt++):(Mt=a,cn===0&&Te(p)),Mt!==a)if(ot=Rt(),ot!==a)if(et=qe(),et!==a)if(St=Rt(),St!==a)if(o.charCodeAt(jt)===44?(Ht=C,jt++):(Ht=a,cn===0&&Te(A)),Ht!==a)if(er=Rt(),er!==a)if(Mr=jt,o.substr(jt,6)===S?(mn=S,jt+=6):(mn=a,cn===0&&Te(T)),mn!==a&&(Rn=Mr,mn=s(et,mn)),Mr=mn,Mr!==a)if(mn=Rt(),mn!==a)if(o.charCodeAt(jt)===44?(Un=C,jt++):(Un=a,cn===0&&Te(A)),Un!==a)if(hr=Rt(),hr!==a){if(br=[],io=ut(),io!==a)for(;io!==a;)br.push(io),io=ut();else br=a;br!==a?(io=Rt(),io!==a?(o.charCodeAt(jt)===125?(Kr=y,jt++):(Kr=a,cn===0&&Te(O)),Kr!==a?(Rn=Ze,Mt=v(et,br),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)}else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;return Ze}function xe(){var Ze,Mt,ot,et,St,Ht,er,Mr,mn,Un,hr,br,io,Kr,xo;if(Ze=jt,o.charCodeAt(jt)===123?(Mt=_,jt++):(Mt=a,cn===0&&Te(p)),Mt!==a)if(ot=Rt(),ot!==a)if(et=qe(),et!==a)if(St=Rt(),St!==a)if(o.charCodeAt(jt)===44?(Ht=C,jt++):(Ht=a,cn===0&&Te(A)),Ht!==a)if(er=Rt(),er!==a)if(Mr=jt,o.substr(jt,6)===m?(mn=m,jt+=6):(mn=a,cn===0&&Te(E)),mn===a&&(o.substr(jt,13)===I?(mn=I,jt+=13):(mn=a,cn===0&&Te(L))),mn!==a&&(Rn=Mr,mn=W(et,mn)),Mr=mn,Mr!==a)if(mn=Rt(),mn!==a)if(o.charCodeAt(jt)===44?(Un=C,jt++):(Un=a,cn===0&&Te(A)),Un!==a)if(hr=Rt(),hr!==a)if(br=In(),br===a&&(br=null),br!==a){if(io=[],Kr=Ft(),Kr!==a)for(;Kr!==a;)io.push(Kr),Kr=Ft();else io=a;io!==a?(Kr=Rt(),Kr!==a?(o.charCodeAt(jt)===125?(xo=y,jt++):(xo=a,cn===0&&Te(O)),xo!==a?(Rn=Ze,Mt=F(et,Mr,br,io),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)}else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;else jt=Ze,Ze=a;return Ze}function Ae(){var Ze,Mt,ot,et,St,Ht,er,Mr,mn,Un,hr;return Ze=jt,o.charCodeAt(jt)===123?(Mt=_,jt++):(Mt=a,cn===0&&Te(p)),Mt!==a?(ot=Rt(),ot!==a?(et=qe(),et!==a?(St=Rt(),St!==a?(o.charCodeAt(jt)===44?(Ht=C,jt++):(Ht=a,cn===0&&Te(A)),Ht!==a?(er=Rt(),er!==a?(Mr=jt,mn=qe(),mn!==a&&(Rn=Mr,mn=s(et,mn)),Mr=mn,Mr!==a?(mn=Rt(),mn!==a?(Un=Sr(),Un!==a?(o.charCodeAt(jt)===125?(hr=y,jt++):(hr=a,cn===0&&Te(O)),hr!==a?(Rn=Ze,Mt=G(et,Mr,Un),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a),Ze}function qe(){var Ze,Mt,ot;if(Ze=jt,Mt=[],k.test(o.charAt(jt))?(ot=o.charAt(jt),jt++):(ot=a,cn===0&&Te(x)),ot!==a)for(;ot!==a;)Mt.push(ot),k.test(o.charAt(jt))?(ot=o.charAt(jt),jt++):(ot=a,cn===0&&Te(x));else Mt=a;return Mt!==a?Ze=o.substring(Ze,jt):Ze=Mt,Ze}function wt(){var Ze,Mt,ot;if(Ze=jt,Mt=[],ot=Vo(),ot!==a)for(;ot!==a;)Mt.push(ot),ot=Vo();else Mt=a;return Mt!==a&&(Rn=Ze,Mt=g(Mt)),Ze=Mt,Ze}function kt(){var Ze,Mt,ot;if(Ze=jt,Mt=[],ot=Bn(),ot!==a)for(;ot!==a;)Mt.push(ot),ot=Bn();else Mt=a;return Mt!==a&&(Rn=Ze,Mt=g(Mt)),Ze=Mt,Ze}function ut(){var Ze,Mt,ot,et,St;return Ze=jt,Mt=Rt(),Mt!==a?(ot=qe(),ot!==a?(et=Rt(),et!==a?(St=tn(),St!==a?(Rn=Ze,Mt=M(ot,St),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a),Ze}function Ft(){var Ze,Mt,ot,et,St;return Ze=jt,Mt=Rt(),Mt!==a?(ot=rr(),ot!==a?(et=Rt(),et!==a?(St=tn(),St!==a?(Rn=Ze,Mt=M(ot,St),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a),Ze}function tn(){var Ze,Mt,ot,et,St,Ht;if(Ze=jt,o.charCodeAt(jt)===123?(Mt=_,jt++):(Mt=a,cn===0&&Te(p)),Mt!==a)if(ot=jt,et=Rt(),et!==a?(St=jt,cn++,o.charCodeAt(jt)===123?(Ht=_,jt++):(Ht=a,cn===0&&Te(p)),cn--,Ht!==a?(jt=St,St=void 0):St=a,St!==a?(et=[et,St],ot=et):(jt=ot,ot=a)):(jt=ot,ot=a),ot===a&&(ot=null),ot!==a){for(et=[],St=Dn();St!==a;)et.push(St),St=Dn();et!==a?(St=Rt(),St!==a?(o.charCodeAt(jt)===125?(Ht=y,jt++):(Ht=a,cn===0&&Te(O)),Ht!==a?(Rn=Ze,Mt=B(et),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)}else jt=Ze,Ze=a;else jt=Ze,Ze=a;return Ze}function In(){var Ze,Mt,ot,et,St,Ht,er,Mr;return Ze=jt,Mt=Rt(),Mt!==a?(o.substr(jt,6)===R?(ot=R,jt+=6):(ot=a,cn===0&&Te(U)),ot!==a?(et=Rt(),et!==a?(o.charCodeAt(jt)===58?(St=j,jt++):(St=a,cn===0&&Te($)),St!==a?(Ht=Rt(),Ht!==a?(er=ar(),er!==a?(Mr=Rt(),Mr!==a?(Rn=Ze,Mt=ee(er),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a),Ze}function rr(){var Ze,Mt,ot;return Ze=qe(),Ze===a&&(Ze=jt,o.charCodeAt(jt)===61?(Mt=te,jt++):(Mt=a,cn===0&&Te(ie)),Mt!==a?(ot=ar(),ot!==a?(Rn=Ze,Mt=ee(ot),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)),Ze}function Sr(){var Ze,Mt,ot;for(Ze=jt,Mt=[],ot=Pr();ot!==a;)Mt.push(ot),ot=Pr();if(Mt!==a?(Rn=jt,ot=ne(Mt),ot?ot=a:ot=void 0,ot!==a?(Rn=Ze,Mt=pe(Mt),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a),Ze===a){for(Ze=jt,Mt=[],ot=Yr();ot!==a;)Mt.push(ot),ot=Yr();Mt!==a?(Rn=jt,ot=ne(Mt),ot?ot=void 0:ot=a,ot!==a?(Rn=Ze,Mt=pe(Mt),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)}return Ze}function Yr(){var Ze,Mt,ot,et;return Ze=jt,Mt=Rt(),Mt!==a?(o.charCodeAt(jt)===44?(ot=C,jt++):(ot=a,cn===0&&Te(A)),ot!==a?(et=kt(),et!==a?(Rn=Ze,Mt=pe(et),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a),Ze}function Pr(){var Ze,Mt,ot,et,St,Ht;return Ze=jt,Mt=Rt(),Mt!==a?(o.charCodeAt(jt)===44?(ot=C,jt++):(ot=a,cn===0&&Te(A)),ot!==a?(et=Rt(),et!==a?(St=wt(),St!==a?(Ht=Rt(),Ht!==a?(Rn=Ze,Mt=oe(St),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a),Ze}function Mn(){var Ze,Mt;return Ze=jt,o.substr(jt,2)===q?(Mt=q,jt+=2):(Mt=a,cn===0&&Te(J)),Mt!==a&&(Rn=Ze,Mt=me()),Ze=Mt,Ze}function sr(){var Ze,Mt,ot;if(Ze=Mn(),Ze===a){if(Ze=jt,Mt=[],re.test(o.charAt(jt))?(ot=o.charAt(jt),jt++):(ot=a,cn===0&&Te(he)),ot!==a)for(;ot!==a;)Mt.push(ot),re.test(o.charAt(jt))?(ot=o.charAt(jt),jt++):(ot=a,cn===0&&Te(he));else Mt=a;Mt!==a&&(Rn=Ze,Mt=g(Mt)),Ze=Mt}return Ze}function Ar(){var Ze,Mt,ot,et;if(Ze=jt,o.substr(jt,2)===Ee?(Mt=Ee,jt+=2):(Mt=a,cn===0&&Te(fe)),Mt!==a){for(ot=[],et=sr();et!==a;)ot.push(et),et=sr();ot!==a?(o.charCodeAt(jt)===39?(et=H,jt++):(et=a,cn===0&&Te(z)),et!==a?(Rn=Ze,Mt=_e(ot),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)}else jt=Ze,Ze=a;if(Ze===a)if(Ze=jt,o.substr(jt,2)===ae?(Mt=ae,jt+=2):(Mt=a,cn===0&&Te(ge)),Mt!==a){for(ot=[],et=sr();et!==a;)ot.push(et),et=sr();ot!==a?(o.charCodeAt(jt)===39?(et=H,jt++):(et=a,cn===0&&Te(z)),et!==a?(Rn=Ze,Mt=Be(ot),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)}else jt=Ze,Ze=a;return Ze}function vr(){var Ze,Mt,ot,et,St,Ht;if(Ze=Ar(),Ze===a){if(Ze=jt,Mt=jt,ot=jt,o.substr(jt,2)===Ke?(et=Ke,jt+=2):(et=a,cn===0&&Te(He)),et!==a){for(St=[],Ht=sr();Ht!==a;)St.push(Ht),Ht=sr();St!==a?(o.charCodeAt(jt)===39?(Ht=H,jt++):(Ht=a,cn===0&&Te(z)),Ht!==a?(Rn=ot,et=ye(St),ot=et):(jt=ot,ot=a)):(jt=ot,ot=a)}else jt=ot,ot=a;ot!==a?(Rn=jt,et=d(),et?et=void 0:et=a,et!==a?(ot=[ot,et],Mt=ot):(jt=Mt,Mt=a)):(jt=Mt,Mt=a),Mt!==a&&(Rn=Ze,Mt=Le(Mt)),Ze=Mt,Ze===a&&(o.charCodeAt(jt)===39?(Ze=H,jt++):(Ze=a,cn===0&&Te(z)))}return Ze}function qr(){var Ze;return Ze=Ar(),Ze===a&&(o.charCodeAt(jt)===39?(Ze=H,jt++):(Ze=a,cn===0&&Te(z))),Ze}function Dr(){var Ze,Mt,ot,et,St,Ht;return Ze=Mn(),Ze===a&&(Ze=vr(),Ze===a&&(Ze=jt,o.charCodeAt(jt)===35?(Mt=u,jt++):(Mt=a,cn===0&&Te(f)),Mt!==a?(Rn=jt,ot=Ue(Mt),ot?ot=void 0:ot=a,ot!==a?(Rn=Ze,Mt=Xe(Mt),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a),Ze===a&&(Fe.test(o.charAt(jt))?(Ze=o.charAt(jt),jt++):(Ze=a,cn===0&&Te(ht)),Ze===a&&(Ze=jt,o.substr(jt,2)===Ne?(Mt=Ne,jt+=2):(Mt=a,cn===0&&Te(Ce)),Mt!==a&&(Rn=Ze,Mt=we()),Ze=Mt,Ze===a&&(Ze=jt,o.substr(jt,2)===$e?(Mt=$e,jt+=2):(Mt=a,cn===0&&Te(Ot)),Mt!==a&&(Rn=Ze,Mt=Pt()),Ze=Mt,Ze===a&&(Ze=jt,o.substr(jt,2)===Ie?(Mt=Ie,jt+=2):(Mt=a,cn===0&&Te(Bt)),Mt!==a&&(Rn=Ze,Mt=mt()),Ze=Mt,Ze===a&&(Ze=jt,o.substr(jt,2)===rt?(Mt=rt,jt+=2):(Mt=a,cn===0&&Te(ce)),Mt!==a&&(Rn=Ze,Mt=Re()),Ze=Mt,Ze===a&&(Ze=jt,o.substr(jt,2)===nt?(Mt=nt,jt+=2):(Mt=a,cn===0&&Te(st)),Mt!==a?(ot=rn(),ot!==a?(et=rn(),et!==a?(St=rn(),St!==a?(Ht=rn(),Ht!==a?(Rn=Ze,Mt=vt(ot,et,St,Ht),Ze=Mt):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a)):(jt=Ze,Ze=a))))))))),Ze}function eo(){var Ze;return Ze=Mn(),Ze===a&&(Ze=qr()),Ze}function Vo(){var Ze,Mt,ot;if(Ze=eo(),Ze===a){if(Ze=jt,Mt=[],ze.test(o.charAt(jt))?(ot=o.charAt(jt),jt++):(ot=a,cn===0&&Te(It)),ot!==a)for(;ot!==a;)Mt.push(ot),ze.test(o.charAt(jt))?(ot=o.charAt(jt),jt++):(ot=a,cn===0&&Te(It));else Mt=a;Mt!==a&&(Rn=Ze,Mt=g(Mt)),Ze=Mt}return Ze}function Bn(){var Ze,Mt,ot;if(Ze=eo(),Ze===a){if(Ze=jt,Mt=[],on.test(o.charAt(jt))?(ot=o.charAt(jt),jt++):(ot=a,cn===0&&Te(Pn)),ot!==a)for(;ot!==a;)Mt.push(ot),on.test(o.charAt(jt))?(ot=o.charAt(jt),jt++):(ot=a,cn===0&&Te(Pn));else Mt=a;Mt!==a&&(Rn=Ze,Mt=g(Mt)),Ze=Mt}return Ze}function ar(){var Ze,Mt,ot;if(Ze=jt,Mt=[],Yn.test(o.charAt(jt))?(ot=o.charAt(jt),jt++):(ot=a,cn===0&&Te(Ln)),ot!==a)for(;ot!==a;)Mt.push(ot),Yn.test(o.charAt(jt))?(ot=o.charAt(jt),jt++):(ot=a,cn===0&&Te(Ln));else Mt=a;return Mt!==a?Ze=o.substring(Ze,jt):Ze=Mt,Ze}function rn(){var Ze;return bn.test(o.charAt(jt))?(Ze=o.charAt(jt),jt++):(Ze=a,cn===0&&Te(ir)),Ze}function Rt(){var Ze,Mt,ot;for(Ze=jt,Mt=[],Zn.test(o.charAt(jt))?(ot=o.charAt(jt),jt++):(ot=a,cn===0&&Te($n));ot!==a;)Mt.push(ot),Zn.test(o.charAt(jt))?(ot=o.charAt(jt),jt++):(ot=a,cn===0&&Te($n));return Mt!==a?Ze=o.substring(Ze,jt):Ze=Mt,Ze}var Qe=!1,Ye="[	-\r \x85\u200E\u200F\u2028\u2029]*",yt=new RegExp("^"+Ye+"|"+Ye+"$","g");if(or=c(),or!==a&&jt===o.length)return or;throw or!==a&&jt<o.length&&Te(At()),un(Nn,Tn<o.length?o.charAt(Tn):null,Tn<o.length?qt(Tn,Tn+1):qt(Tn,Tn))}b.exports={SyntaxError:e,parse:r}},746632:function(b,l,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(675523)),n=r(e(668595)),a=r(e(642979));e(392338),e(392338),e(392338),e(392338);var i=e(610886),c=e(555670);function u(O,P){var C=Object.keys(O);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(O);P&&(A=A.filter(function(S){return Object.getOwnPropertyDescriptor(O,S).enumerable})),C.push.apply(C,A)}return C}function f(O){for(var P=1;P<arguments.length;P++){var C=arguments[P]!=null?arguments[P]:{};P%2?u(Object(C),!0).forEach(function(A){(0,a.default)(O,A,C[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(C)):u(Object(C)).forEach(function(A){Object.defineProperty(O,A,Object.getOwnPropertyDescriptor(C,A))})}return O}var d=function(P){return function(C,A){var S=P(C);if(!S){console.error("[JS -> Native Bridge] ".concat(C," not found"));return}S(A)}},h=function(){return d(function(P){var C,A=(C=window)===null||C===void 0||(C=C.webkit)===null||C===void 0||(C=C.messageHandlers)===null||C===void 0?void 0:C[P];if(!(!A||!A.postMessage))return A.postMessage.bind(A)})},g=function(P){return d(function(C){if(!(!window.NativeApp||!window.NativeApp[C]))return function(A){return window.NativeApp[C](P,JSON.stringify(A))}})},_={},p=function(){function O(){if((0,o.default)(this,O),(0,a.default)(this,"messenger",void 0),c.IS_NATIVE_IOS_APP)this.messenger=h();else if(c.IS_NATIVE_ANDROID_APP){var P=window.NativeApp&&window.NativeApp.getBridgeId&&window.NativeApp.getBridgeId();this.messenger=g(P)}else this.messenger=function(){throw new Error("mobile platform not correctly identified")}}return(0,n.default)(O,[{key:"postMessageToNative",value:function(C){var A=this,S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(T,s){var v=S.promiseId||A.storeRequest(T,s),m=f(f({},S),{},{promiseId:v}),E=A.messenger(C,m);if(E instanceof Error)return s(E);S.promiseId&&T(m)})}},{key:"storeRequest",value:function(C,A){var S=(0,i.v4)();return _[S]={resolve:C,reject:A},S}},{key:"retrieveRequest",value:function(C){var A=_[C];return delete _[C],A}},{key:"resolveRequest",value:function(C,A){var S=this.retrieveRequest(C);S&&S.resolve(A)}},{key:"rejectRequest",value:function(C,A){var S=this.retrieveRequest(C);S&&S.reject(A)}}])}(),y=l.default=p;b.exports=l.default},555670:function(b,l,e){"use strict";e(392338);var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.IS_NATIVE_MOBILE_APP=l.IS_NATIVE_IOS_APP=l.IS_NATIVE_ANDROID_APP=l.IS_LEGACY_APP=void 0;var o=r(e(680180));e(392338),e(392338),e(392338),e(392338),e(392338);function n(h){var g={},_=h[0]==="?"?h.substring(1):h,p=_.split("&");return p.forEach(function(y){var O=y.split("="),P=(0,o.default)(O,2),C=P[0],A=P[1];g[decodeURIComponent(C)]=decodeURIComponent(A||"")}),g}var a=n(window.location.search),i=a.platform,c=l.IS_NATIVE_IOS_APP=!!(window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.isNativeApp),u=l.IS_NATIVE_ANDROID_APP=!!(window.NativeApp&&window.NativeApp.isNativeApp),f=l.IS_NATIVE_MOBILE_APP=u||c,d=l.IS_LEGACY_APP=i==="mobile-app"&&!f},102825:function(b,l,e){"use strict";var r;e(392338);var o=e(241225);r={value:!0},l.sendEvent=l.isNativeApp=r=l.dismiss=l.default=void 0,e(392338),e(392338);var n=o(e(746632)),a=e(555670),i=new n.default;window.MobileWebContainer={resolve:function(_){var p=_.promiseId,y=_.response;i.resolveRequest(p,y)},reject:function(_){var p=_.promiseId,y=_.response;i.rejectRequest(p,y)}};var c=l.isNativeApp=function(){return a.IS_NATIVE_MOBILE_APP||a.IS_LEGACY_APP},u=r=function(){return i.postMessageToNative("info")},f=l.sendEvent=function(_,p){return i.postMessageToNative("sendEvent",{name:_,body:p})},d=l.dismiss=function(){return a.IS_LEGACY_APP?(window.location="squarespace-mobile://back",Promise.resolve()):i.postMessageToNative("dismiss")},h=l.default={isNativeApp:c,info:u,sendEvent:f,dismiss:d}},211926:function(b,l,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(642979)),n=r(e(675523)),a=r(e(668595));e(392338),e(392338),e(392338),e(392338);var i=e(752569),c=e(562266);function u(O,P){var C=Object.keys(O);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(O);P&&(A=A.filter(function(S){return Object.getOwnPropertyDescriptor(O,S).enumerable})),C.push.apply(C,A)}return C}function f(O){for(var P=1;P<arguments.length;P++){var C=arguments[P]!=null?arguments[P]:{};P%2?u(Object(C),!0).forEach(function(A){(0,o.default)(O,A,C[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(C)):u(Object(C)).forEach(function(A){Object.defineProperty(O,A,Object.getOwnPropertyDescriptor(C,A))})}return O}var d=function(P){return function(C,A){var S=P(C);if(!S){console.error("[JS -> Native Bridge] ".concat(C," not found"));return}S(A)}},h=function(){return d(function(P){var C,A=(C=window)===null||C===void 0||(C=C.webkit)===null||C===void 0||(C=C.messageHandlers)===null||C===void 0?void 0:C[P];if(!(!A||!A.postMessage))return A.postMessage.bind(A)})},g=function(P){return d(function(C){if(!(!window.NativeApp||!window.NativeApp[C]))return function(A){return window.NativeApp[C](P,JSON.stringify(A))}})},_={},p=function(){function O(){if((0,n.default)(this,O),c.IS_NATIVE_IOS_APP)this.messenger=h();else if(c.IS_NATIVE_ANDROID_APP){var P=window.NativeApp&&window.NativeApp.getBridgeId&&window.NativeApp.getBridgeId();this.messenger=g(P)}else this.messenger=function(){throw new Error("mobile platform not correctly identified")}}return(0,a.default)(O,[{key:"postMessageToNative",value:function(C){var A=this,S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(T,s){var v=S.promiseId||A.storeRequest(T,s),m=f(f({},S),{},{promiseId:v}),E=A.messenger(C,m);if(E instanceof Error)return s(E);S.promiseId&&T(m)})}},{key:"storeRequest",value:function(C,A){var S=(0,i.v4)();return _[S]={resolve:C,reject:A},S}},{key:"retrieveRequest",value:function(C){var A=_[C];return delete _[C],A}},{key:"resolveRequest",value:function(C,A){var S=this.retrieveRequest(C);S&&S.resolve(A)}},{key:"rejectRequest",value:function(C,A){var S=this.retrieveRequest(C);S&&S.reject(A)}}])}(),y=l.default=p;b.exports=l.default},562266:function(b,l,e){"use strict";e(392338);var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.IS_NATIVE_MOBILE_APP=l.IS_NATIVE_IOS_APP=l.IS_NATIVE_ANDROID_APP=l.IS_LEGACY_APP=void 0;var o=r(e(680180));e(392338),e(392338),e(392338),e(392338),e(392338);function n(h){var g={},_=h[0]==="?"?h.substring(1):h,p=_.split("&");return p.forEach(function(y){var O=y.split("="),P=(0,o.default)(O,2),C=P[0],A=P[1];g[decodeURIComponent(C)]=decodeURIComponent(A||"")}),g}var a=n(window.location.search),i=a.platform,c=l.IS_NATIVE_IOS_APP=!!(window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.isNativeApp),u=l.IS_NATIVE_ANDROID_APP=!!(window.NativeApp&&window.NativeApp.isNativeApp),f=l.IS_NATIVE_MOBILE_APP=u||c,d=l.IS_LEGACY_APP=i==="mobile-app"&&!f},46854:function(b,l,e){"use strict";var r;e(392338);var o=e(241225);r={value:!0},r=l.isNativeApp=r=r=r=r=void 0,e(392338),e(392338);var n=o(e(211926)),a=e(562266),i=new n.default;window.MobileWebContainer={resolve:function(p){var y=p.promiseId,O=p.response;i.resolveRequest(y,O)},reject:function(p){var y=p.promiseId,O=p.response;i.rejectRequest(y,O)}};var c=l.isNativeApp=function(){return a.IS_NATIVE_MOBILE_APP||a.IS_LEGACY_APP},u=r=function(){return i.postMessageToNative("info")},f=r=function(p,y){return i.postMessageToNative("sendEvent",{name:p,body:y})},d=r=function(){return a.IS_LEGACY_APP?(window.location="squarespace-mobile://back",Promise.resolve()):i.postMessageToNative("dismiss")},h=r=function(p){return i.postMessageToNative("canHandleEvent",{event:p})},g=r={isNativeApp:c,info:u,sendEvent:f,dismiss:d}},164097:function(b,l,e){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(c){for(var u,f=1,d=arguments.length;f<d;f++){u=arguments[f];for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&(c[h]=u[h])}return c},r.apply(this,arguments)};Object.defineProperty(l,"__esModule",{value:!0}),l.handleActions=l.defineAction=void 0;var o=e(879345);function n(c,u){return function(f,d){var h=function(g){return f(typeof g=="object"?r({type:u},g):g)};return c(h,d)}}function a(c,u,f){c=c.toString();var d=function(){for(var h=[],g=0;g<arguments.length;g++)h[g]=arguments[g];var _={type:c};if(u){if(_.payload=u.apply(void 0,h),typeof _.payload=="function")return n(_.payload,c)}else h.length&&(_.payload=h[0]);return f&&(_.meta=f.apply(void 0,h)),_.payload instanceof Error&&(_.error=!0),_};return d.toString=function(){return c},d.type=c,d.resolved=c+o.RESOLVED_SUFFIX,d.rejected=c+o.REJECTED_SUFFIX,d}l.defineAction=a;function i(c,u){return function(f,d){f===void 0&&(f=u);var h=c[d.type];return h?h(f,d):f}}l.handleActions=i},818584:function(b,l,e){"use strict";var r=this&&this.__createBinding||(Object.create?function(c,u,f,d){d===void 0&&(d=f),Object.defineProperty(c,d,{enumerable:!0,get:function(){return u[f]}})}:function(c,u,f,d){d===void 0&&(d=f),c[d]=u[f]}),o=this&&this.__exportStar||function(c,u){for(var f in c)f!=="default"&&!Object.prototype.hasOwnProperty.call(u,f)&&r(u,c,f)};Object.defineProperty(l,"__esModule",{value:!0}),l.diff=l.onChangeEnhancer=l.REJECTED_SUFFIX=l.RESOLVED_SUFFIX=l.promiseMiddleware=void 0,o(e(164097),l);var n=e(879345);Object.defineProperty(l,"promiseMiddleware",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(l,"RESOLVED_SUFFIX",{enumerable:!0,get:function(){return n.RESOLVED_SUFFIX}}),Object.defineProperty(l,"REJECTED_SUFFIX",{enumerable:!0,get:function(){return n.REJECTED_SUFFIX}});var a=e(443554);Object.defineProperty(l,"onChangeEnhancer",{enumerable:!0,get:function(){return a.default}});var i=e(242928);Object.defineProperty(l,"diff",{enumerable:!0,get:function(){return i.default}})},443554:function(b,l,e){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(i){for(var c,u=1,f=arguments.length;u<f;u++){c=arguments[u];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(i[d]=c[d])}return i},r.apply(this,arguments)};Object.defineProperty(l,"__esModule",{value:!0});var o=e(461761),n=e(876678),a=e(242928);l.default=function(i){return function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];return r(r({},i.apply(void 0,c)),{onChange:function(f,d,h){var g=this;arguments.length===2?(h=d,d=function(y){return y}):arguments.length===1&&(h=f,f=null);var _=function(){return typeof f=="string"?o.default(g.getState(),f):typeof f=="function"?f(g.getState()):g.getState()},p=_();return this.subscribe(function(){var y=p,O=_();p=O,(typeof f=="string"||!O||!y?O!==y:!n.shallowEquals(O,y))&&(h.length<3?h(O,y):h(O,y,a.default(y,O,d)))})}})}}},879345:function(b,l){"use strict";var e=this&&this.__assign||function(){return e=Object.assign||function(o){for(var n,a=1,i=arguments.length;a<i;a++){n=arguments[a];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(o[c]=n[c])}return o},e.apply(this,arguments)};Object.defineProperty(l,"__esModule",{value:!0}),l.REJECTED_SUFFIX=l.RESOLVED_SUFFIX=void 0,l.RESOLVED_SUFFIX="_RESOLVED",l.REJECTED_SUFFIX="_REJECTED";var r=function(o){var n=o.dispatch;return function(a){return function(i){if(!i.payload||typeof i.payload.then!="function")return a(i);var c=e({},i);return delete c.payload,a(c),i.payload.then(function(u){n(e(e({},i),{type:i.type+l.RESOLVED_SUFFIX,payload:u}))},function(u){n(e(e({},i),{type:i.type+l.REJECTED_SUFFIX,payload:u,error:!0}))}),i.payload}}};l.default=r},242928:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=e(712182),o=e(992474),n=e(195593),a=e(540039),i=e(130399);function c(u,f,d,h){if(d===void 0&&(d=function(_){return _}),h===void 0&&(h=function(_,p){return _===p}),(!n.default(u)&&!a.default(u)||n.default(u)&&a.default(f)||a.default(u)&&n.default(f))&&(u=a.default(f)?{}:[]),!n.default(f)&&!a.default(f)&&(f=a.default(u)?{}:[]),a.default(u)){var g=c(Object.entries(u),Object.entries(f),function(_){return _[0]},function(_,p){return h(_[1],p[1])});return i.default(g,o.default)}return{added:r.default(f,u,d),removed:r.default(u,f,d),changed:f.reduce(function(_,p){var y=u.find(function(O){return d(O)===d(p)});return typeof y<"u"&&!h(y,p)&&_.push(p),_},[])}}l.default=c},876678:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.shallowEquals=void 0;function e(r,o){if(Object.is(r,o))return!0;var n=Object.keys(r),a=Object.keys(o);if(n.length!==a.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(o,n[i])||!Object.is(r[n[i]],o[n[i]]))return!1;return!0}l.shallowEquals=e},102200:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(174161),o=e(213865),n=e(471184),a=e(688720),i=e(199946),c=e(938408),u=(0,n.Z)("svg")((0,a.Z)(i.Dh,c.iv,c.sx)),f=h=>{var g=h.className,_=h.sx,p=_===void 0?{}:_,y=h.direction,O=y===void 0?"right":y,P=h.inverted,C=h.isDisabled;return r.createElement(u,{className:g,fill:"none",height:"16",sx:p,viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:O==="right"?"M6.25 15H9L16 8L9 1L6.25 1L12.25 7L0 7V9L12.25 9L6.25 15Z":"M9.75 15H7L0 8L7 1L9.75 1L3.75 7L16 7V9L3.75 9L9.75 15Z",fill:P?o.colors.white:C?o.colors.gray[600]:o.colors.gray[100]}))};const d=f},968779:function(b,l,e){"use strict";e.d(l,{Z:()=>oe});var r=e(680180),o=e.n(r),n=e(392338),a=e(174161),i=a.createContext({getKey:()=>0,isDisabled:!1,isItemOpen:()=>!1,onToggleItem:()=>{}});function c(q){var J=q.allowMultipleItemsOpen,me=q.children,re=q.getKey,he=q.disabled,Ee=he===void 0?!1:he,fe=q.isItemOpen,H=q.onToggleItem,z=a.useState([]),_e=o()(z,2),ae=_e[0],ge=_e[1],Be=a.useRef(0),Ke=a.useCallback(Fe=>{ge(ht=>J?[...ht,Fe]:[Fe])},[J]),He=a.useCallback(Fe=>{ge(ht=>ht.filter(Ne=>Ne!==Fe))},[]),ye=a.useCallback(Fe=>ae.includes(Fe),[ae]),Le=a.useCallback(Fe=>{Ee||(ye(Fe)?He(Fe):Ke(Fe))},[He,Ee,ye,Ke]),Ue=a.useCallback(()=>++Be.current,[]),Xe=a.useMemo(()=>({getKey:re||Ue,isDisabled:Ee,isItemOpen:fe||ye,onToggleItem:H||Le}),[Ue,re,Ee,ye,fe,Le,H]);return a.createElement(i.Provider,{value:Xe},me)}const u=c;var f=e(160553),d=e.n(f),h=e(642979),g=e.n(h),_=e(737968),p=e.n(_),y=e(199025),O=e(881707),P=e(272578),C=["children","isOpen","onToggle","disabled"],A=a.createContext({bodyId:void 0,headerId:void 0,isDisabled:!1,isFocused:!1,isOpen:!1,setHeaderRef:()=>{},toggle:()=>{}});function S(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(q){var J=Math.random()*16|0,me=q==="x"?J:J&3|8;return me.toString(16)})}function T(q){var J=q.children,me=q.isOpen,re=q.onToggle,he=q.disabled,Ee=he===void 0?!1:he,fe=p()(q,C),H=a.useContext(i),z=H.getKey,_e=H.onToggleItem,ae=H.isItemOpen,ge=H.isDisabled,Be=a.useRef(),Ke=a.useState(),He=o()(Ke,2),ye=He[0],Le=He[1],Ue=(0,P.Z)(ye),Xe=a.useMemo(S,[]),Fe=a.useMemo(S,[]),ht=a.useState(),Ne=o()(ht,2),Ce=Ne[0],we=Ne[1];a.useEffect(()=>{we(z(Be.current))},[z]);var $e=a.useCallback(()=>{if(me!==void 0&&re){re();return}Ce!==void 0&&_e(Ce)},[me,re,_e,Ce]);a.useEffect(()=>{Ce!==void 0&&(me===!0&&!ae(Ce)||me===!1&&ae(Ce))&&_e(Ce)},[Ce,me,ae,_e]);var Ot=Ce!==void 0&&ae(Ce),Pt=a.useMemo(()=>({bodyId:Fe,headerId:Xe,isDisabled:ge||Ee,isFocused:Ue,isOpen:Ot,setHeaderRef:Le,toggle:$e}),[Fe,Xe,ge,Ee,Ue,Ot,$e]);return a.createElement(O.Z,d()({},fe,{ref:Be}),a.createElement(A.Provider,{value:Pt},J))}T.Context=A;const s=T;var v=e(425740),m=["isHover","children"];function E(q){var J=q.isHover,me=q.children,re=p()(q,m),he=a.useContext(A),Ee=he.isOpen,fe=he.isFocused,H=fe||J?"gray.100":"gray.300",z=me?typeof me=="function"?me(H):a.cloneElement(a.Children.only(me),{color:H}):a.createElement(v.Z,{color:H,sx:{display:"block",verticalAlign:"middle"}});return a.createElement(O.Z,d()({sx:{transform:Ee?"rotateZ(90deg)":void 0,transformOrigin:"center"},transitionDuration:300,transitionProperty:"transform",transitionTimingFunction:"default"},re),z)}const I=E;var L=e(425629),W=["children"];function F(q){var J=q.children,me=p()(q,W),re=a.useContext(A),he=re.isOpen,Ee=re.toggle,fe=re.setHeaderRef,H=re.isDisabled,z=re.bodyId,_e=re.headerId,ae=a.useCallback(()=>{he||Ee()},[he,Ee]),ge=a.useCallback(()=>{he&&Ee()},[he,Ee]);return a.createElement(L.Z,d()({ref:fe,"aria-controls":z,"aria-expanded":he,disabled:H,interaction:L.Z.WithoutFeedback,onClick:Ee,textAlign:"start",type:"button",width:"100%"},me),typeof J=="function"?J({close:ge,headerId:_e,isDisabled:H,open:ae,toggle:Ee}):J)}const G=F;var k=["error","children"];function x(q,J){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(q);J&&(re=re.filter(function(he){return Object.getOwnPropertyDescriptor(q,he).enumerable})),me.push.apply(me,re)}return me}function M(q){for(var J=1;J<arguments.length;J++){var me=arguments[J]!=null?arguments[J]:{};J%2?x(Object(me),!0).forEach(function(re){g()(q,re,me[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):x(Object(me)).forEach(function(re){Object.defineProperty(q,re,Object.getOwnPropertyDescriptor(me,re))})}return q}function B(q){var J=q.error,me=q.children,re=p()(q,k),he=a.useContext(A),Ee=he.isFocused,fe=he.isDisabled,H=he.headerId,z=a.useState(!1),_e=o()(z,2),ae=_e[0],ge=_e[1],Be=a.useCallback(()=>ge(!0),[]),Ke=a.useCallback(()=>ge(!1),[]);return a.createElement(G,{position:"relative"},a.createElement(y.Z,d()({as:"label",id:H,interiorPre:a.createElement(I,{isHover:ae}),isDisabled:fe,onMouseEnter:Be,onMouseLeave:Ke},re,{sx:M(M({},Ee?{"&:after":{content:'""',position:"absolute",left:"-6px",top:"0",width:"calc(100% + 12px)",height:"calc(100% + 1px)",borderStyle:"solid",borderWidth:"2px",borderColor:"gray.100"}}:{}),re.sx)})))}const R=B;var U=e(719501),j=e(488609),$=["isFocused"],ee=q=>{var J=q.isFocused,me=p()(q,$);return a.createElement(j.Z,d()({bg:J?"gray.100":"gray.800",transitionProperty:"opacity"},me))};const te=ee;var ie=["children","exitTransitionDuration","enterTransitionDuration","exitTransitionTimingFunction","enterTransitionTimingFunction","skipInitialAnimation","renderDivider"];function ne(q){var J=q.children,me=q.exitTransitionDuration,re=q.enterTransitionDuration,he=q.exitTransitionTimingFunction,Ee=q.enterTransitionTimingFunction,fe=q.skipInitialAnimation,H=fe===void 0?!1:fe,z=q.renderDivider,_e=z===void 0?te:z,ae=p()(q,ie),ge=a.useContext(A),Be=ge.isOpen,Ke=ge.isFocused,He=ge.bodyId,ye=ge.headerId;return a.createElement(a.Fragment,null,a.createElement(U.Z,{enterTransitionDuration:re,enterTransitionTimingFunction:Ee,exitTransitionDuration:me,exitTransitionTimingFunction:he,isOpen:Be,skipInitialAnimation:H},a.createElement(O.Z,d()({"aria-hidden":Be?"false":"true","aria-labelledby":ye,id:He,ml:6,role:"region"},ae),J)),a.createElement(_e,{isFocused:Ke}))}const oe=Object.assign(u,{Chevron:I,Body:ne,Divider:te,Header:R,Item:s,Toggle:G})},8301:function(b,l,e){"use strict";e.d(l,{Z:()=>oe});var r=e(680180),o=e.n(r),n=e(392338),a=e(174161),i=e(134521),c=e.n(i),u=e(600994),f=e(412166),d=e(881707),h=e(719484),g=e(425629),_=e(47932),p=e(146964);function y(){var q=React.useState(!1),J=_slicedToArray(q,2),me=J[0],re=J[1],he=React.useCallback(()=>{re(fe=>!fe)},[]),Ee=React.useCallback(()=>{re(!1)},[]);return{isMoreMenuOpen:me,onClickMoreButton:he,hideMenu:Ee}}function O(q){return a.useCallback(J=>{"label"in J&&(J.onClick(),J.preserveSelection||q())},[q])}var P=e(285814);function C(q){var J=q.itemSelectedNumber,me=q.anchor,re=q.children;return a.createElement(P.Z,{anchor:me,anchorPoint:{x:"left",y:"bottom"},boxShadow:300,"data-test":"actionbar-animated-container",hideArrow:!0,isOpen:!0,mountAt:me,offset:10,role:"toolbar",style:{overflow:"hidden",transform:J===0?"translateY(66px) translateX(-6px)":"translateY(11px) translateX(-6px)",width:"100%"},transition:{boxShadow:{duration:200,function:"product.default"},transform:{duration:200,function:"product.default"}}},re)}const A=C;var S=e(642979),T=e.n(S),s=e(422391);function v(q,J){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(q);J&&(re=re.filter(function(he){return Object.getOwnPropertyDescriptor(q,he).enumerable})),me.push.apply(me,re)}return me}function m(q){for(var J=1;J<arguments.length;J++){var me=arguments[J]!=null?arguments[J]:{};J%2?v(Object(me),!0).forEach(function(re){T()(q,re,me[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):v(Object(me)).forEach(function(re){Object.defineProperty(q,re,Object.getOwnPropertyDescriptor(me,re))})}return q}var E=window.ResizeObserver||s.d,I=a.createContext({width:void 0,left:0,setContainerRef:()=>null});function L(q){var J=0,me=0;if(q!=null&&q.firstElementChild){var re=q.firstElementChild,he=re.getBoundingClientRect()||{left:0,width:0},Ee=re?window.getComputedStyle(re):{marginLeft:"0",marginRight:"0",paddingLeft:"0",paddingRight:"0"},fe=parseInt(Ee.paddingLeft||"0",10),H=parseInt(Ee.marginLeft||"0",10),z=parseInt(Ee.paddingRight||"0",10),_e=parseInt(Ee.marginRight||"0",10);J=he.left+fe+H,me=he.width-fe-z-H-_e}return{left:J,width:me}}function W(q){var J=a.useState({left:0,width:0}),me=o()(J,2),re=me[0],he=me[1],Ee=a.useRef(null);return a.useEffect(()=>{q&&he(L(q))},[q]),a.useEffect(()=>(q&&(Ee.current=new E(function(){he(L(q))}),Ee.current.observe(q)),()=>{if(q){var fe;Ee==null||(fe=Ee.current)===null||fe===void 0||fe.unobserve(q)}}),[q]),re}function F(q){var J=q.children,me=a.useState(),re=o()(me,2),he=re[0],Ee=re[1],fe=W(he),H=a.useMemo(()=>m(m({},fe),{},{setContainerRef:Ee}),[fe]);return a.createElement(I.Provider,{value:H},J)}var G=q=>(0,a.isValidElement)(q)&&"ref"in q;function k(q){var J=q.children,me=a.useContext(I),re=me.setContainerRef,he=a.useCallback(Ee=>{var fe=a.Children.only(J);G(fe)&&(typeof fe.ref=="function"?fe.ref(Ee):fe.ref!==null&&"current"in fe.ref&&(fe.ref.current=Ee)),re(Ee)},[J,re]);return a.createElement(d.Z,{ref:he},J)}function x(q){var J=q.children,me=a.useContext(I),re=me.left,he=me.width;return a.createElement(a.Fragment,null,a.createElement(d.Z,{ml:re,width:he},J))}const M={Context:I,Provider:F,Target:k,Container:x};var B=e(414569),R=e(522129);function U(q){var J=q.onDeselectItems,me=q.onSelectAllItems,re=q.itemSelectedNumber,he=q.maxItemsNumber,Ee=q.label,fe=(0,R.Q)(),H=fe.t,z=a.useCallback(()=>{re===he?J():me()},[re,he,J,me]);return a.createElement(f.Z,{justifyContent:"center",pl:2,pr:2},a.createElement(B.Z,{"aria-label":(re!==he?H("Select all rows. ",{},{project:"rosetta-compositions"}):H("Deselect all rows. ",{},{project:"rosetta-compositions"}))+Ee,checked:re===he,indeterminate:re!==0&&re!==he,onChange:z,value:re!==he?"Select all":"Deselect all"}))}var j=e(882684);function $(q){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;a.useEffect(()=>(J.addEventListener("resize",q),()=>{J.removeEventListener("resize",q)}),[q,J])}function ee(q){return q.element!==void 0}function te(q){return ee(q)?q.key:q.key||q.label}function ie(q,J,me){var re=ee(q)?q.element:a.createElement(u.Z.Tertiary,{animationBackgroundColor:"none",animationDirection:"none","aria-label":q.label,css:{whiteSpace:"nowrap"},onClick:()=>me(q),pr:5},q.label);return a.createElement(f.Z,{key:te(q),alignItems:"center","data-action-bar-item":te(q),justifyContent:"center",pr:J?6:3},re)}function ne(q){var J=q.actions,me=q.itemSelectedNumber,re=q.maxItemsNumber,he=q.mountNode,Ee=q.onDeselectItems,fe=q.onSelectAllItems,H=a.useRef(),z=a.useRef(),_e=a.useState(),ae=o()(_e,2),ge=ae[0],Be=ae[1],Ke=a.useState([]),He=o()(Ke,2),ye=He[0],Le=He[1],Ue=a.useContext(M.Context),Xe=Ue.width,Fe=(0,R.Q)(),ht=Fe.pluralize,Ne=Fe.t,Ce=(0,_.F)(),we=Ce.borders,$e=a.useMemo(()=>c()(()=>{var Ie,Bt=H.current;if(Bt){var mt=[],rt=Bt.querySelectorAll("[data-action-bar-item]");rt==null||rt.forEach(st=>{st.style.display="flex"});for(var ce=Bt.offsetWidth-(((Ie=z.current)===null||Ie===void 0?void 0:Ie.offsetWidth)||0)-((ge==null?void 0:ge.offsetWidth)||0),Re=0;Re<rt.length;Re++){var nt=rt[Re];ce-=nt.offsetWidth,ce<0&&(nt.style.display="none",mt.push(J[Re]))}ge&&(mt.length>0?ge.style.display="block":ge.style.display="none",Le(mt))}},200),[ge,J]);a.useEffect($e,[$e,Xe]),$($e,he);var Ot=O(Ee),Pt=ht({one:"{%n} selected",other:"{%n} selected"},me,null,{project:"rosetta-compositions"});return a.createElement(a.Fragment,null,a.createElement(d.Z,{py:2},a.createElement(f.Z,{ref:H,alignContent:"center",justifyContent:"space-between",overflow:"visible"},a.createElement(f.Z,{ref:z,alignItems:"center",pr:5},a.createElement(U,{itemSelectedNumber:me,label:Pt,maxItemsNumber:re,onDeselectItems:Ee,onSelectAllItems:fe}),a.createElement(h.Z,{color:"black",fontSize:3,m:0,sx:{whiteSpace:"nowrap"}},Pt)),a.createElement(f.Z,null,J.map((Ie,Bt)=>ie(Ie,J.length-1===Bt,Ot)),a.createElement(d.Z,{ref:Be},a.createElement(j.Z.PopOver,{renderTrigger:Ie=>{var Bt=Ie.toggleActionListOpen,mt=Ie.isOpen;return a.createElement(g.Z.Element.Icon,{"aria-haspopup":"true","aria-label":Ne("More Options",null,{project:"rosetta-compositions"}),"data-test":"ActionBar-More-Options-Icon",height:"sizes.200",onClick:rt=>{rt.stopPropagation(),rt.preventDefault(),Bt()},style:{margin:0},sx:{borderRadius:"circle",outline:mt?we[2]:"none",outlineColor:"gray.100",outlineOffset:"2px"},width:36},a.createElement(p.Z,null))}},Ie=>{var Bt=Ie.onRequestClose;return a.createElement(f.Z,{as:"ul",bg:"base",flexDirection:"column",role:"menu"},ye.map(mt=>a.createElement(j.Z.Item,{key:te(mt),"data-action-bar-item-expanded":te(mt),onClick:()=>{Bt(),Ot(mt)}},ee(mt)?mt.element:mt.label)))}))))))}ne.AnimatedContainer=A,ne.AutoSizing=M;const oe=ne},882684:function(b,l,e){"use strict";e.d(l,{Z:()=>ne});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(174161),c=e(285814),u=e(47932),f=e(130527),d=e(881707),h=e(642979),g=e.n(h),_=e(392338),p=e(719484),y=e(425629),O=e(146964),P=e(66232),C=e(302720),A=e(326096),S=e.n(A),T=e(860921),s=e.n(T),v=e(305170);function m(pe,oe){var q=Object.keys(pe);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(pe);oe&&(J=J.filter(function(me){return Object.getOwnPropertyDescriptor(pe,me).enumerable})),q.push.apply(q,J)}return q}function E(pe){for(var oe=1;oe<arguments.length;oe++){var q=arguments[oe]!=null?arguments[oe]:{};oe%2?m(Object(q),!0).forEach(function(J){g()(pe,J,q[J])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(q)):m(Object(q)).forEach(function(J){Object.defineProperty(pe,J,Object.getOwnPropertyDescriptor(q,J))})}return pe}var I=pe=>i.isValidElement(pe)&&pe.type===p.Z.Action;class L extends i.Component{constructor(){super(...arguments),g()(this,"state",{isOpen:!1,listItems:[],navigableListItems:[]}),g()(this,"ignoreTargetSelector","ignore-selector-".concat((0,v.Z)())),g()(this,"listId",(0,v.Z)()),g()(this,"openActionList",()=>{this.setState({isOpen:!0},()=>{var oe=document.querySelector('[data-action-list-index="list-item-'.concat(this.listId,'-0"]'));oe==null||oe.focus()})}),g()(this,"closeActionList",()=>{this.setState({isOpen:!1})}),g()(this,"setFocusToMenuitem",oe=>{var q=this.state.navigableListItems,J=q.map(me=>{var re=me===oe,he=re?0:-1;return i.cloneElement(me,{tabIndex:he})});this.setState({navigableListItems:J},()=>{var me=oe.props["data-action-list-index"],re=document.querySelector('[data-action-list-index="'.concat(me,'"]'));re==null||re.focus()})}),g()(this,"setFocusToPreviousMenuitem",oe=>{var q,J=this.state.navigableListItems,me,re=J[0];if(((q=oe.dataset)===null||q===void 0?void 0:q.actionListIndex)===re.props["data-action-list-index"])me=J[J.length-1];else{var he=J.findIndex(Ee=>{var fe;return Ee.props["data-action-list-index"]===((fe=oe.dataset)===null||fe===void 0?void 0:fe.actionListIndex)});me=J[he-1]}this.setFocusToMenuitem(me)}),g()(this,"setFocusToNextMenuitem",oe=>{var q,J=this.state.navigableListItems,me,re=J[J.length-1];if(((q=oe.dataset)===null||q===void 0?void 0:q.actionListIndex)===re.props["data-action-list-index"])me=J[0];else{var he=J.findIndex(Ee=>{var fe;return Ee.props["data-action-list-index"]===((fe=oe.dataset)===null||fe===void 0?void 0:fe.actionListIndex)});me=J[he+1]}this.setFocusToMenuitem(me)}),g()(this,"onKeyDown",oe=>{var q=this.state.navigableListItems,J=oe.currentTarget instanceof HTMLElement?oe.currentTarget:null,me=q.find(Ee=>Ee.props["data-action-list-index"]===(J==null?void 0:J.dataset.actionListIndex));if(P.Z.isEsc(oe))oe.preventDefault(),oe.stopPropagation(),this.toggleIsOpen();else if(J&&P.Z.isArrowDown(oe))oe.preventDefault(),oe.stopPropagation(),this.setFocusToNextMenuitem(J);else if(J&&P.Z.isArrowUp(oe))oe.preventDefault(),oe.stopPropagation(),this.setFocusToPreviousMenuitem(J);else if(me!=null&&me.props.onClick){if(P.Z.isEnter(oe)){var re,he;oe.preventDefault(),oe.stopPropagation(),(re=(he=me.props).onClick)===null||re===void 0||re.call(he),this.closeActionList()}}else return null}),g()(this,"hydrateOptions",oe=>{var q=0,J=[],me=[];i.Children.toArray(oe==null?void 0:oe.props.children).forEach(re=>{if((0,i.isValidElement)(re)){var he=re.props||{};if(I(re)){var Ee,fe=i.cloneElement(re,E(E({},he),{},{"data-action-list-index":"list-item-".concat(this.listId,"-").concat(q),onKeyDown:H=>{var z;this.onKeyDown(H),(z=he.onKeyDown)===null||z===void 0||z.call(he,H)},tabIndex:(Ee=he.tabIndex)!==null&&Ee!==void 0?Ee:q===0?0:-1}));J.push(fe),me.push(fe),q++}else J.push(re)}}),this.setState({listItems:J,navigableListItems:me})}),g()(this,"toggleIsOpen",oe=>{var q=this.props,J=q.onRequestOpen,me=J===void 0?s():J,re=q.onRequestClose,he=re===void 0?s():re,Ee=q.isOpen,fe=S()(oe)?oe:!this.state.isOpen,H=fe?this.openActionList:this.closeActionList;S()(Ee)&&(H=fe?me:he),H()}),g()(this,"renderTrigger",()=>{var oe=this.props.renderTrigger,q=(0,C.Z)(this.props),J=q.spread;return i.createElement(u.Z.Consumer,null,me=>i.createElement(d.Z,{ref:re=>{this.ref=re},className:this.ignoreTargetSelector,display:"inline-block"},typeof oe=="function"?oe({toggleActionListOpen:this.toggleIsOpen,isOpen:this.state.isOpen}):i.createElement(y.Z.Element.Icon,o()({"aria-haspopup":"true",onClick:re=>{re.stopPropagation(),re.preventDefault(),this.toggleIsOpen()},sx:{borderRadius:"circle",outline:this.state.isOpen?me.borders[2]:"none",outlineColor:"gray.100",outlineOffset:"2px"}},J),i.createElement(O.Z,null))))})}static getDerivedStateFromProps(oe,q){return{isOpen:oe.hasOwnProperty("isOpen")?oe.isOpen:q.isOpen}}}var W=["children","focusLockIsDisabled","onRequestOpen","returnFocus"],F=i.createContext(()=>{});class G extends L{componentDidMount(){var oe=this.props.children;this.hydrateOptions(oe({onRequestClose:this.toggleIsOpen}))}componentDidUpdate(oe){var q=this.props.children;q!==oe.children&&this.hydrateOptions(q({onRequestClose:this.toggleIsOpen}))}render(){var oe=this.props,q=oe.children,J=oe.focusLockIsDisabled,me=J===void 0?!1:J,re=oe.onRequestOpen,he=oe.returnFocus,Ee=he===void 0?!0:he,fe=a()(oe,W),H=z=>i.cloneElement(q({onRequestClose:this.toggleIsOpen}),{role:"menu"},z);return i.createElement(i.Fragment,null,this.renderTrigger(),i.createElement(u.Z.Consumer,null,z=>i.createElement(c.Z,o()({anchor:this.ref,arrowStyles:{display:"none"},bodyStyles:{borderRadius:z.radii[0]},closeOnClickOutside:!0,closeOnEsc:!0,hideArrow:!0,ignoreTargetSelectors:[".".concat(this.ignoreTargetSelector)],isOpen:this.state.isOpen,onRequestClose:()=>this.toggleIsOpen(),style:{borderRadius:z.radii[0],boxShadow:z.shadows[200],ul:{margin:0,padding:0}}},fe),i.createElement(f.ZP,{disabled:me||!this.state.isOpen,returnFocus:Ee},i.createElement(F.Provider,{value:this.toggleIsOpen},i.createElement(d.Z,{"data-keyboard-nav-container":"nav-container-".concat(this.listId)},H(this.state.listItems)))))))}}var k=e(20561),x=["children","focusLockIsDisabled","renderHeader","renderBody"];function M(pe,oe){var q=Object.keys(pe);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(pe);oe&&(J=J.filter(function(me){return Object.getOwnPropertyDescriptor(pe,me).enumerable})),q.push.apply(q,J)}return q}function B(pe){for(var oe=1;oe<arguments.length;oe++){var q=arguments[oe]!=null?arguments[oe]:{};oe%2?M(Object(q),!0).forEach(function(J){g()(pe,J,q[J])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(q)):M(Object(q)).forEach(function(J){Object.defineProperty(pe,J,Object.getOwnPropertyDescriptor(q,J))})}return pe}var R=i.createContext(()=>{});class U extends L{constructor(){super(...arguments),g()(this,"renderHeader",oe=>{var q=this.props.renderHeader;return typeof q=="function"?q(B(B({},oe),{},{onRequestClose:this.toggleIsOpen})):null}),g()(this,"renderBody",oe=>{var q=this.props.children,J=me=>i.cloneElement(q(B(B({},oe),{},{onRequestClose:this.toggleIsOpen})),{role:"menu"},me);return J(this.state.listItems)})}componentDidMount(){var oe=this.props.children;this.hydrateOptions(oe({onRequestClose:this.toggleIsOpen}))}componentDidUpdate(oe){var q=this.props.children;q!==oe.children&&this.hydrateOptions(q({onRequestClose:this.toggleIsOpen}))}render(){var oe=this.props,q=oe.children,J=oe.focusLockIsDisabled,me=J===void 0?!1:J,re=oe.renderHeader,he=oe.renderBody,Ee=a()(oe,x);return i.createElement(i.Fragment,null,this.renderTrigger(),i.createElement(k.Z.Portal,null,i.createElement(R.Provider,{value:this.toggleIsOpen},i.createElement(d.Z,{"data-keyboard-nav-container":"nav-container-".concat(this.listId)},i.createElement(f.ZP,{disabled:me||!this.state.isOpen,returnFocus:!0},i.createElement(k.Z.Container,null,this.state.isOpen&&i.createElement(k.Z.Overlay,{onClick:()=>this.toggleIsOpen()}),i.createElement(k.Z.Drawer,o()({currentDockIndex:this.state.isOpen?1:0,docks:[0,window.innerHeight/2],renderBody:this.renderBody,renderHeader:this.renderHeader},Ee))))))))}}var j=["children","isDisabled","onClick","sx"];function $(pe,oe){var q=Object.keys(pe);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(pe);oe&&(J=J.filter(function(me){return Object.getOwnPropertyDescriptor(pe,me).enumerable})),q.push.apply(q,J)}return q}function ee(pe){for(var oe=1;oe<arguments.length;oe++){var q=arguments[oe]!=null?arguments[oe]:{};oe%2?$(Object(q),!0).forEach(function(J){g()(pe,J,q[J])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(q)):$(Object(q)).forEach(function(J){Object.defineProperty(pe,J,Object.getOwnPropertyDescriptor(q,J))})}return pe}var te=pe=>{var oe=pe.children,q=pe.isDisabled,J=pe.onClick,me=pe.sx,re=a()(pe,j),he=i.useContext(F),Ee=i.useContext(R);return i.createElement(p.Z,o()({"aria-disabled":q,as:"li",color:q?"gray.600":"gray.100","data-keyboard-navigable":"keyboard-navigable-list-item",onClick:q?null:J,onKeyDown:fe=>{var H,z=fe.currentTarget instanceof HTMLElement?fe.currentTarget:null,_e=z==null?void 0:z.closest("[data-keyboard-nav-container]"),ae=[];if(Array.from((H=_e==null?void 0:_e.querySelectorAll("[data-keyboard-navigable]"))!==null&&H!==void 0?H:[]).forEach(He=>{(He.getAttribute("aria-disabled")===null||He.getAttribute("aria-disabled")==="false")&&ae.push(He)}),ae.length>0){var ge=Array.prototype.indexOf.call(ae,z);if(P.Z.isEsc(fe))fe.preventDefault(),Ee==null||Ee();else if(P.Z.isArrowDown(fe)){fe.preventDefault(),fe.stopPropagation();var Be=(ge+1)%ae.length;ae[Be].focus()}else if(P.Z.isArrowUp(fe)){fe.preventDefault(),fe.stopPropagation();var Ke=(ge-1+ae.length)%ae.length;ae[Ke].focus()}else P.Z.isEnter(fe)&&(fe.preventDefault(),fe.stopPropagation(),J==null||J(fe),he==null||he(),Ee==null||Ee())}},px:4,py:2,role:"menuitem",sx:ee({"&:focus":{"&:after":{border:q?0:2,borderColor:"gray.100",boxSizing:"border-box",content:'""',height:"100%",position:"absolute",width:"100%",top:0,left:0},outline:"none",overflow:"visible"},"&:focus:not(:focus-visible)":{"&:after":{display:"none"}},"&:hover":{backgroundColor:"gray.900"},cursor:q?"not-allowed":"pointer",listStyle:"none",position:"relative"},me),tabIndex:!q&&"-1",textStyle:"action"},re),oe)};te.displayName="ActionListItem";const ne={Item:te,PopOver:G,Sheet:U}},162807:function(b,l,e){"use strict";e.d(l,{Z:()=>oe});var r=e(392338),o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(680180),u=e.n(c),f=e(737968),d=e.n(f),h=e(174161),g=e(719484),_=e(412166),p=e(184791),y=e(579531),O=e(872765),P=e(556353),C=e(881707),A=e(600994),S=e(522129),T=["cta","message","revalidate"],s=q=>{var J=q.cta,me=q.message,re=q.revalidate,he=d()(q,T),Ee=(0,S.Q)(),fe=Ee.t;return J||(J=fe("Try again",null,{project:"rosetta-compositions"})),me||(me=fe("Unable to load results",null,{project:"rosetta-compositions"})),h.createElement(_.Z,n()({px:2,py:8},he),h.createElement(C.Z,{css:{textAlign:"center"},m:"0 auto",maxWidth:"sizes.750"},h.createElement(g.Z.Body,{color:"gray.400"},me),re?h.createElement(C.Z,{mt:4},h.createElement(A.Z.Secondary,{onClick:re,size:"large"},J)):null))};const v=s;var m=e(199025),E=e(903638),I=e(18724),L=e(47932),W=e(976003),F=e.n(W);const G="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAAASCAYAAAC0PldrAAAIHElEQVR4Ae3ZBXDbWB7H8efglpmZGW0HlhzJDpSZmZkZ3W3s2DpmZmbmKx0zM/NdoGhotxTf9x9LHY027paW85v5bBRQopn32weqasqzk5Jw7BE9nHijHo5/Rw/HfqaHYl/keldZ8GJ7qBeqZ/6PNGlPUT5DeVKNqkyc18PJ6VDPtfEfnvUJz0dmpbwfmzMW6k5YFy96pBRTkCnL4MUDiy94oS0F+ZVZlD/5qxLLfNFkz0D0fBtfKOkpCcffrFfG6vVQ4hDUc6ypQLdDFmMdMiWIcjywaOHEB8zynPEFa1pCOWnHLw2Bej5oKtDzqEC+cGyoWZ5YaTDeGer57r4LRPLRCi40liy0QR4eVB5CG2QhU3KQneG+TM/qQhvk424L1Bwt73P22d9QoFD8bVB3KxVUWTX+gqW1mvvLtbr7Z7V+z6frNM/UlFIuKAD83I2v5y69eiL3y9dPZP/s2tdyPn39ZN7UVEq5oCz8x+WvjC/SQrEv8/u/z/O9siSUKNfC8agWSbrRaIH+p3lH1Pg976jxe38gz8JzzLM/g2QhpmIuIjCwB/0cg6HjGAxEsQQtIZmCtbBnLbY4BngZptkGaQmiMHAUhbCyEJMxCxGsh6QFltruOwIv7BmEfTAQwWwsvYMCTcMqGKat6AJJCXYjD1ZcWIdZsEdK8K50gZLroez4+l4G8j1PURlfAJWaMye7Vvd+otbvTVVr7hvVmvc/ci0YyNdAidTHVPa1EzmfuH4iN0WBbnD9H7lu8PXc10CJYDCVxanvffI8nAZvloQTNenZMXYt/YyJ5Y3tgar9nkCt5n2y4Tl073+5TprPEIYSknW2ARpkWosQOkFSiijK0BtuHME2ZGMMDLSDpBMMU29bYaIYBxfW4wBGojcmw8BIWM8Vwjq40QMubMR+231TYGAYJN1QhVUYgEHYgMgdFCiCBeiLYdiJI2iO9og6St4XBgZnKpAWjm2AsmNZO+E8jdlnqzrdvS49aO4fndWLekDVlbmHMoB/MQewAorCrDML86P6E816QD35lbyhzER/SZcouwJKq0oskd9PSX9aVnm5F1RJVbKQr13IVKCU251b7Xf/WwpcqxfMkVnngm9MW+sZ6gJeD24N1BHkwUouDmI28hDGBNjTDwZGIR9hFEOiYyu2YRIkY1GFhzAABvrCnpVYbyvQAeTAyiBHKa2sNUnmY5/jvnwcvYMCbXDMmG1QBR2SJdhu+5l52NXYMsqA7EsXI/5OKBvEhnMKK7LwtePpgYy9HIpB+lbDIGmFbihLTcAzs6FAuueDUJTkW0hdO5XrhrJc/1reTPk6BfsgZMY7iZS/KumFsmihxIFMBaoNeHxmiT/6H5+7Y41esJcl7K/pmdD9N64n4tZALYQzs7EDvTMMmgtBW7GWYyUk26DDj/1wYYHt+z7bUhixMXDMVqDFznG5zX1HIdmDGbDnTvdAGpzZhGWO/2n6ojnCKIIzDNClwQ1LRmU8ETCS3aEysU5r7FHmQckAyUD9sWJgPpSlNlA4SL7O0vJNqGtfz/6bFKX+SyofyvLk1/IGNcxAX8v9JpS8QpDfX/Ha+nwoC8vplIwFYq/TUFbN+w9Zxqr93vpq3fOFWn/BJFlioYQ1UEvgzHxsRQ8Y6NdIgY6jDBI3wugGA53QxVa+IAogeQwR9EB3h27IVGwfqjLc1xWSnZgNZ5bdQYECcGabrcgubMUCPIZjtztQWPsOZpjvPRq52A7KSatKTpV3QfxcXenL61tASUFk8M7q7gIoiywl6UF1fwBKCmLONAVQlhsn8+aYX/8AVEll4pQ8h7x7grLIRj9TgWo0z8Ppsnqv1eqeyP98hX2hZClrrEDH0QpWWuIYJiMbQcx1TNWjYWCQbY8TwQbshJXdWI+obdPdEwbGwJ7ipylQH2vZdN5nK9AMHEVzx1JUeQcF2uVY+rojimJYGY8q7MdEZIy8MGTwfmHuhf5JkTbJex/fyxJdtcpLDzNob5JNrbn/mQMl2ECvNpeKn1sDV6MVjGEz/U9zWSmFYuO82tzr/PzK6fy+UFdP5o6hNP9M742ySyFL1VJrDxSIXu4NJUunvAXPVCApCfufP5p7rg1y2pMZkeswX/u+zIawF0jtwyOmvThiK5UXBhbDgwkIY7mjVKthoBRWymE0MngLbXsrN+bbS5WhQC4sRggVjvtGQ9IWQexGMR7BfjxxBwV6AptRgBIcxU7kwkoODiOCtrhtZOZhkD52m3/KiFGs+VCAdYT3fsicAer5WIcU4DGghPzcta/nfKjhFPa13HrUybW5fBlQQk5hWmXi/fL3rNnuTk5hdX6Pl79/wTwNXrJOYbIXOh9w98atgVqAx7EPx7AUHWDPSGy2la0MOY38zCp0gZWuWNXIbJONAPYhhK0YDSsTocGZbJRmuM9KJ6zAceyHD489zYyxCGMwGYdts24LOLMWi3DHkQ0sg/QqWU5KwvEf4HPMDHseDcc6QTnJUiH7EGajz8g7GPYiH2EWKoOyk/c9vAeax6zzGcryAz5+5PrJ7DIoO37QxTufhRT0C+zLvst11FrC5JQG5f7IrJd5Pjzzx56Pzh4CJc76CnryHugVPMe3OcqfYTkLymkMCpk30RnTlG62jfQLIr5gKkf+wVY29lAWWULTM2HsMah70VSgu888bIULL4hw2pqRPhEmfiMbadmbyWzE/utqSSj2nznBVB7UvWgq0N2lLSIYhxdOWL5k+Xzq/it2mdcGAah7ZV00eQlgxvFRpNfJeyc+Bn2RK32h7sf/AesqcHB02e65AAAAAElFTkSuQmCC",k="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAAASCAQAAAAeN5/gAAAFQ0lEQVR4Ae2WA4BkvRKFX8+sftu2bdvW2rZt27Zt27Zt2xz0Oeflortvz+zgYb016ORUpW7ypW46/7oSjR+gFWZhKUazpO4Ic1033omh8hiO6Pf/PSsGS3r9slkkaqB5WH8EcyVvpG7HSgmbmYOP6Ha+jfYgK119gAZrelj/MGonc2QvCTN4S0jhc8HmdUB8VsJJ3hfPceEB8RbdL1+orxR8SDcna9K38mFFehWlUSqPL8Lj8fEh3pIQIN6Z1NJZVkKnhP2KYBaMwVIM5S+Jaj5mNNp8NOF3qq+3vID4EjpjAcYxncsD/dFC3eGXsIGfuikr4ZgEYAjvNRHNMdVdyFQschaM4Whlkt2FIaCEg8rr5mqKTvBjpslyN4bZvgPM6S7vG2yVjLcLhsUD1AoTZNlivmQiy2Gdsz3yYRo6BuO6SCzgwdU98MMMJjYSgyQAeyQJzUzI+TUfetjaQQmxkrKHAOlrREnYizMS6jg0p1sL4jfGNRVn9bx9hAK1+D6zYT+WKqVhKT1uIp+XJL5vgwEzKQIzsYN/8n00kfiHnesMpjGb3jK+udjGP4yvucSfzZjXEI0J/MJgmgV/PEB+9OFH/AWrsZ938QnAQc6PJH4XBqhgsDdZQbMgKq8N+GFrptgq8fvza2bmwjI+Ylrv45gXkFJiN/z6Rz7dji0S33YA7edN9mRuwC501s04p/ruHn0q8S/egigWMr1KWIKlaGxaGRGj2/iFxI/cyY7DDDvXDqZ2qkXie65vCqaY/72xxfXdgkPxAM12CpoPI4YVjTIUKywFPbFWvrBXrGuw9yLft35QU0IjEzvTXZIx/imhTwKaAct3Xa2CFxA/kzBAd7OsXevb+KMDqH9oh7CS7zlV4hbjEQsWRmKs+b+MFVkZ243ax/Sd6QJ+60fCUTvXIPfBFcN8B83oDWgbfM6guIBYIdieh+Hu1nzEuxDF/KE4PiPhDB+K/83GdOZzq6Q0nsgZCWgbPdovYYDSSdiBKBCj+ZMiA6/YkNCjsIRvSvw0cMDhJGqZNNkQxVclPscXLXw4wtxGLQm/3tLrzg9f9cJmWcTwzaDvFZN7DTqH7j3xAFULtpdakOXDEvRhCRzjTWGRPSTM996e+QuAQ1YUZoQqQ/9I6JWANkXiO65WPgzQhxJiUM8+UHwhQCf5gNXivTiKJkqFI+jhFnxaSV/bt9dYzMJqS8M6zAR4r1HfsXfONhaKA+gDiX8FfS+bce1wkHe6r9HpuICw1tlTvQ6ykB2VBTHYjgbh1aLbsFzCLhbmc3yAH6INIOkfe0QuCcv5hH3e7ZT4TQJaVglL9ah9Bh31AlKkVV0soAimRh3M5zMuIGxlURbBZuzX/W7Swcqu+ojCKAcVJkqoYbfqSIHloT/OoR6zorfE9F5A8mEQzqKu60trlEcNhvUsyKLYhhNxAek4FjAPy+EQVvMGS2Nq7INfj8a/S2OAPIaTTB+s9z4SiEO23iBBzYdeAQ0xXkDWpuOYhBM4I2GrHnUA9WUpbMUxDONTgeMMCyxsqKU0QWU8X7Rbr5hWYEqpWA1bcAZLnD1Ew+BZYnyoga0hn/09MgYnsY1lWAINwxY9kOnRxAAxtct7AiqmaGAC96G3TfQULMBIk+uesHtWWgwzej9+m4SWAaMxFw1YQWIWa+ZazOfc+m6M2ZrOarrddN1dvwzNPvM+uhCZlUK/81mnjbYSP0ko8rIGhJ5aLN8FAfS7hDV8W7cxI6KxR6muQEB6FLHMfIFy+9BUruGsvk4iHE1Y+fIDxNS6W5EXMP9naInerKbHk4r8N92vxYnZpeVdAAAAAElFTkSuQmCC";var x=["theme"],M=q=>F()(q,I.rosetta.dark)||F()(q,I.rosetta.darkest),B=q=>{var J=q.theme,me=d()(q,x),re=(0,L.F)(),he=J||re||I.rosetta.white,Ee=M(he)?k:G;return h.createElement(m.Z,n()({body:h.createElement(C.Z,null,h.createElement(E.Z,{src:Ee})),px:2},me))};const U=B;var j=e(201117),$=e(154642),ee=["attribution","debounceTime","numberOfResults","onChange","query","usePlaceSearch"];function te(q,J){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(q);J&&(re=re.filter(function(he){return Object.getOwnPropertyDescriptor(q,he).enumerable})),me.push.apply(me,re)}return me}function ie(q){for(var J=1;J<arguments.length;J++){var me=arguments[J]!=null?arguments[J]:{};J%2?te(Object(me),!0).forEach(function(re){i()(q,re,me[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):te(Object(me)).forEach(function(re){Object.defineProperty(q,re,Object.getOwnPropertyDescriptor(me,re))})}return q}var ne=(0,y.q)((q,J)=>{var me=q.attribution,re=me===void 0?h.createElement(U,null):me,he=q.debounceTime,Ee=he===void 0?250:he,fe=q.numberOfResults,H=q.onChange,z=q.query,_e=z===void 0?"":z,ae=q.usePlaceSearch,ge=ae===void 0?O._:ae,Be=d()(q,ee),Ke=(0,S.Q)(),He=Ke.t,ye=(0,P.Z)(_e,Ee),Le=u()(ye,1),Ue=Le[0],Xe=h.useState([]),Fe=u()(Xe,2),ht=Fe[0],Ne=Fe[1],Ce=h.useState(!1),we=u()(Ce,2),$e=we[0],Ot=we[1],Pt=ge(Ue),Ie=Pt.data,Bt=Pt.error,mt=Pt.getPlaceDetails,rt=Pt.isValidating,ce=Pt.revalidate;h.useEffect(()=>{Ie&&!rt&&!Bt?Ne(Ie):Bt&&Ne([]),Ot(rt)},[Ie,rt,Bt]);var Re=h.useCallback(vt=>{var ze=vt!=null&&vt.place_id?ie(ie({},vt),{},{getPlaceDetails:It=>mt(vt.place_id,It)}):vt;H(ze)},[mt,H]),nt=!Bt&&ht&&ht.length&&Ue,st=Ue&&!$e&&!Bt;return h.createElement($.Z,n()({ref:J,onChange:Re},Be),Array.isArray(ht)&&ht.length&&Ue?ht.slice(0,fe??ht.length).map(vt=>h.createElement(j.Z.Option,{key:vt.place_id,value:vt},vt.description)):st?h.createElement(g.Z.Body,{p:2},He("No results found",null,{project:"rosetta-compositions"})):null,nt?re:null,rt?h.createElement(_.Z,{alignItems:"center",height:"100%",justifyContent:"center",p:3,position:"absolute",top:0,width:"100%"},h.createElement(p.Z,null)):Bt?h.createElement(v,{message:Bt.message,revalidate:ce}):null)});const oe=ne},411722:function(b,l,e){"use strict";e.d(l,{Z:()=>m});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(392338),c=e(174161),u=e(725538),f=e(719484),d=e(412166),h=e(600994),g=e(705198),_=e(786040),p=e(934388),y=e(47932),O=e(305170),P=["buttons","message","title","children"],C=["buttonRef","color"],A=u.Z.Dialog;function S(){var E=c.useRef((0,O.Z)());return"sqs-".concat(E.current)}var T=E=>{var I=E.buttons,L=E.message,W=E.title,F=E.children,G=a()(E,P),k=(0,y.F)(),x=S(),M=S(),B=E.titleId||x,R=E.descriptionId||M;return c.createElement(A,o()({"aria-describedby":R,"aria-labelledby":B,maxWidth:"sizes.700",pb:"3",pt:"5",px:"6",width:"calc(100vw - ".concat(parseInt(k.space[3],10)*2,"px)")},G),U=>{var j=U.onRequestClose;return F?typeof F=="function"?F({onRequestClose:j,descriptionId:R,titleId:B}):F:c.createElement(c.Fragment,null,typeof W=="string"||(0,g.Z)(W)?c.createElement(f.Z.Subtitle,{as:"h3",fontWeight:"semibold",id:B,m:0,mb:2,width:"100%"},W):W,typeof L=="string"||(0,g.Z)(L)?c.createElement(f.Z.Body,{id:R,m:0,width:"100%"},L):L,c.createElement(d.Z,{flexWrap:"wrap",justifyContent:"flex-end",marginTop:2},I.map(($,ee)=>(0,_.$)($,{key:ee,onRequestClose:j}))))})},s=c.forwardRef((E,I)=>{var L=E.buttonRef,W=E.color,F=a()(E,C);return L&&(0,p.a1)("AlertDialog.Button buttonRef prop has been renamed to ref and is deprecated."),W&&(0,p.a1)("AlertDialog.Button color prop is deprecated. Please switch to using `variant`. See https://design-platform.squarespace.net/libraries/rosetta/primitives/components/Button for my details on Button props."),c.createElement(h.Z,o()({ref:I||L,ml:4,variant:W==="warning"?"danger":"tertiary"},F))});s.displayName="AlertDialog.Button";const m=Object.assign(T,{Button:s})},720420:function(b,l,e){"use strict";e.d(l,{Z:()=>ee});var r=e(680180),o=e.n(r),n=e(174161),a=e(412166),i=e(600994),c=e(860921),u=e.n(c),f=e(210750),d=e.n(f),h=e(856166),g=e(771132),_=e.n(g),p=e(16765),y=e.n(p),O=e(522129),P=te=>{var ie=te.dataTest,ne=te.className,pe=te.label,oe=te.href,q=te.target,J=q===void 0?"_blank":q,me=te.onClick,re=me===void 0?u():me,he=(0,O.Q)(),Ee=he.t,fe={default:{src:"",alt:""},ios:{src:_(),alt:Ee("Download on the App Store",null,{project:"rosetta-compositions"})},android:{src:y(),alt:Ee("Get it on Google Play",null,{project:"rosetta-compositions"})}},H=h.t.selectOS(fe),z=H.src,_e=H.alt;return n.createElement(i.Z.Primary,{as:"a",borderRadius:0,className:ne,"data-test":ie,display:"flex",href:oe,mb:0,mt:"auto",onClick:re,sx:{alignItems:"center",justifyContent:"center"},target:J},pe||n.createElement("img",{alt:_e,src:z,style:{pointerEvents:"none"}}))};P.displayName="AppCard.AppStoreButton";const C=P;var A=e(392338),S=e(160553),T=e.n(S),s=e(642979),v=e.n(s),m=e(737968),E=e.n(m),I=e(881707),L=e(47932),W=["className","sx"];function F(te,ie){var ne=Object.keys(te);if(Object.getOwnPropertySymbols){var pe=Object.getOwnPropertySymbols(te);ie&&(pe=pe.filter(function(oe){return Object.getOwnPropertyDescriptor(te,oe).enumerable})),ne.push.apply(ne,pe)}return ne}function G(te){for(var ie=1;ie<arguments.length;ie++){var ne=arguments[ie]!=null?arguments[ie]:{};ie%2?F(Object(ne),!0).forEach(function(pe){v()(te,pe,ne[pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(te,Object.getOwnPropertyDescriptors(ne)):F(Object(ne)).forEach(function(pe){Object.defineProperty(te,pe,Object.getOwnPropertyDescriptor(ne,pe))})}return te}var k=te=>{var ie=te.className,ne=te.sx,pe=ne===void 0?{}:ne,oe=E()(te,W),q=(0,L.F)(),J=q.space;return n.createElement(I.Z,T()({backgroundColor:"gray.900",backgroundPosition:"center center",backgroundSize:"cover",className:ie,flexBasis:"calc(50% - ".concat(J[10],")"),sx:G({"@media (orientation: landscape)":{order:1,flexBasis:"50%"}},pe),width:"100%"},oe))};k.displayName="AppCard.Banner";const x=k;var M=e(719484),B=te=>{var ie=te.children,ne=te.title,pe=te.titleClassName,oe=te.description,q=te.descriptionClassName;return n.createElement(a.Z,{flex:1,flexDirection:"column",padding:4,sx:{"@media (orientation: landscape)":{paddingTop:"85px",px:6,paddingBottom:6}}},ne&&n.createElement(M.Z.Title,{className:pe,m:0},ne),oe&&n.createElement(M.Z.Subtitle,{className:q,color:"gray.300",my:{_:3,"mobile-*":2}},oe),ie)};B.displayName="AppCard.Content";const R=B;var U=e(102200);function j(te){var ie=te.children,ne=te.className,pe=te.closeButtonLabel,oe=te.continueButtonLabel,q=te.onRequestContinue,J=te.closeButtonDataTest,me=te.continueButtonDataTest,re=te.onRequestClose,he=re===void 0?u():re,Ee=(0,n.useState)(window.innerHeight),fe=o()(Ee,2),H=fe[0],z=fe[1],_e=(0,O.Q)(),ae=_e.t;return pe||(pe=ae("Close",null,{project:"rosetta-compositions"})),oe||(oe=ae("Continue",null,{project:"rosetta-compositions"})),(0,n.useEffect)(()=>{var ge=()=>d()(()=>{z(window.innerHeight)});return window.addEventListener("resize",ge),window.addEventListener("orientationchange",ge),()=>{window.removeEventListener("resize",ge),window.removeEventListener("orientationchange",ge)}},[]),n.createElement(a.Z,{background:"base",className:ne,flexDirection:"column",height:"100vh",position:"relative",style:{height:H},sx:{"@media (orientation: landscape)":{flexDirection:"row",maxHeight:"400px"}},width:"100vw"},n.createElement(a.Z,{alignItems:"center",bg:"white",height:"sizes.300",justifyContent:"space-between",px:1,py:0,sx:{"@media (orientation: landscape)":{position:"absolute",top:4,left:0,width:"50%",height:"initial",py:0,px:3}}},n.createElement(i.Z.Tertiary,{"data-test":J,onClick:he},pe),q&&n.createElement(i.Z.Tertiary,{css:{alignItems:"center"},"data-test":me,display:"flex",onClick:q},oe,n.createElement(U.Z,{direction:"right",sx:{marginLeft:2}}))),ie)}const ee=Object.assign(j,{AppStoreButton:C,Content:R,Banner:x})},350803:function(b,l,e){"use strict";e.d(l,{Z:()=>_e});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(392338),c=e(174161),u=e(305170),f=e(642979),d=e.n(f),h=e(719484),g=e(881707),_=e(705198),p=["children","layout"];function y(ae,ge){var Be=Object.keys(ae);if(Object.getOwnPropertySymbols){var Ke=Object.getOwnPropertySymbols(ae);ge&&(Ke=Ke.filter(function(He){return Object.getOwnPropertyDescriptor(ae,He).enumerable})),Be.push.apply(Be,Ke)}return Be}function O(ae){for(var ge=1;ge<arguments.length;ge++){var Be=arguments[ge]!=null?arguments[ge]:{};ge%2?y(Object(Be),!0).forEach(function(Ke){d()(ae,Ke,Be[Ke])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ae,Object.getOwnPropertyDescriptors(Be)):y(Object(Be)).forEach(function(Ke){Object.defineProperty(ae,Ke,Object.getOwnPropertyDescriptor(Be,Ke))})}return ae}var P=c.forwardRef(function(ge,Be){var Ke=ge.children,He=ge.layout,ye=a()(ge,p),Le=O(O({},He==="row"?{width:"100%"}:{mb:"1",alignSelf:"flex-start"}),{color:"inherit"});return Ke?typeof Ke=="string"||(0,_.Z)(Ke)?c.createElement(h.Z.Body,o()({ref:Be,m:0},Le,ye),Ke):c.createElement(g.Z,o()({ref:Be,m:0},Le,ye),Ke):null});const C=P;var A=e(378638),S=["children","layout"],T=c.forwardRef((ae,ge)=>{var Be=ae.children,Ke=ae.layout,He=a()(ae,S);return Be?c.createElement(A.Z,o()({ref:ge,alignItems:"center",direction:"row",flexShrink:"0",flexWrap:Ke==="row"?"nowrap":"wrap",space:4,width:Ke==="row"?"auto":"100%"},He),Be):null});T.displayName="Buttons";const s=T;var v=e(579531),m=e(122003),E=e(619461),I=e(125820),L={default:{color:"gray.100",borderColor:"transparent",IconName:m.Z,bgColor:"gray.800"},caution:{color:"yellow.200",borderColor:"yellow.400",IconName:E.Z,bgColor:"yellow.800"},error:{color:"red.200",borderColor:"red.400",IconName:E.Z,bgColor:"red.800"},info:{color:"blue.200",borderColor:"blue.400",IconName:m.Z,bgColor:"blue.800"},success:{color:"green.200",borderColor:"green.400",IconName:I.Z,bgColor:"green.800"}},W=ae=>ae in L,F=ae=>{var ge=W(ae)?L[ae].borderColor:ae;return{borderLeftColor:ge,borderLeftWidth:"2",borderLeftStyle:"solid"}},G=ae=>W(ae)?L[ae]:{borderColor:ae,color:L.default.color,IconName:L.default.IconName,bgColor:L.default.bgColor},k=(ae,ge,Be,Ke)=>c.createElement(ae,o()({},(0,c.isValidElement)(ge)?ge.props:{},Ke),(0,c.isValidElement)(ge)&&ge.props?ge.props.children:Be),x=["children","sx","variant"];function M(ae,ge){var Be=Object.keys(ae);if(Object.getOwnPropertySymbols){var Ke=Object.getOwnPropertySymbols(ae);ge&&(Ke=Ke.filter(function(He){return Object.getOwnPropertyDescriptor(ae,He).enumerable})),Be.push.apply(Be,Ke)}return Be}function B(ae){for(var ge=1;ge<arguments.length;ge++){var Be=arguments[ge]!=null?arguments[ge]:{};ge%2?M(Object(Be),!0).forEach(function(Ke){d()(ae,Ke,Be[Ke])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ae,Object.getOwnPropertyDescriptors(Be)):M(Object(Be)).forEach(function(Ke){Object.defineProperty(ae,Ke,Object.getOwnPropertyDescriptor(Be,Ke))})}return ae}var R=(0,v.q)((ae,ge)=>{var Be=ae.children,Ke=ae.sx,He=ae.variant,ye=He===void 0?"default":He,Le=a()(ae,x),Ue=G(ye),Xe=Ue.color,Fe=Ue.IconName,ht=B({color:Le.color?Le.color:Xe,sx:B({minWidth:"sizes.150"},Ke),ref:ge,"aria-hidden":!0},Le);return Be?c.createElement(g.Z,ht,Be):c.createElement(Fe,ht)});R.displayName="Icon";const U=R;var j=["children","layout"];function $(ae,ge){var Be=Object.keys(ae);if(Object.getOwnPropertySymbols){var Ke=Object.getOwnPropertySymbols(ae);ge&&(Ke=Ke.filter(function(He){return Object.getOwnPropertyDescriptor(ae,He).enumerable})),Be.push.apply(Be,Ke)}return Be}function ee(ae){for(var ge=1;ge<arguments.length;ge++){var Be=arguments[ge]!=null?arguments[ge]:{};ge%2?$(Object(Be),!0).forEach(function(Ke){d()(ae,Ke,Be[Ke])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ae,Object.getOwnPropertyDescriptors(Be)):$(Object(Be)).forEach(function(Ke){Object.defineProperty(ae,Ke,Object.getOwnPropertyDescriptor(Be,Ke))})}return ae}var te=c.forwardRef(function(ge,Be){var Ke=ge.children,He=ge.layout,ye=a()(ge,j),Le=ee(ee({},He==="row"?{}:{mb:"1",mr:"4",flex:1}),{color:"inherit"});return Ke?typeof Ke=="string"||(0,_.Z)(Ke)?c.createElement(h.Z.Body,o()({ref:Be,alignSelf:"flex-start",fontWeight:"semibold",m:0},Le,ye),Ke):c.createElement(g.Z,o()({ref:Be,alignSelf:"flex-start",m:0},Le,ye),Ke):null});const ie=te;var ne=e(412166),pe=ae=>{var ge=ae.body,Be=ae.bodyComponent,Ke=ae.hasBody,He=Ke===void 0?ge||Be:Ke,ye=ae.buttons,Le=ae.buttonsComponent,Ue=ae.hasButtons,Xe=Ue===void 0?ye||Le:Ue,Fe=ae.icon,ht=ae.iconComponent,Ne=ae.layout,Ce=ae.title,we=ae.titleComponent,$e=ae.titleId,Ot=ae.hasTitle,Pt=Ot===void 0?Ce||we:Ot,Ie=ae.variant;return c.createElement(c.Fragment,null,c.createElement(ne.Z,{flexDirection:"row"},k(U,ht,Fe,{variant:Ie}),c.createElement(ne.Z,{flexDirection:"column",mx:4},Pt&&k(ie,we,Ce,{layout:Ne,id:$e}),He&&k(C,Be,ge,{layout:Ne}))),Xe&&k(s,Le,ye,{layout:Ne}))};const oe=pe;var q=ae=>{var ge=ae.body,Be=ae.bodyComponent,Ke=ae.hasBody,He=Ke===void 0?ge||Be:Ke,ye=ae.buttons,Le=ae.buttonsComponent,Ue=ae.hasButtons,Xe=Ue===void 0?ye||Le:Ue,Fe=ae.icon,ht=ae.iconComponent,Ne=ae.layout,Ce=ae.title,we=ae.titleComponent,$e=ae.titleId,Ot=ae.hasTitle,Pt=Ot===void 0?Ce||we:Ot,Ie=ae.variant;return c.createElement(c.Fragment,null,c.createElement(ne.Z,{flexDirection:"row",justifyContent:"space-between",width:"100%"},Pt?k(ie,we,Ce,{layout:Ne,id:$e}):He&&k(C,Be,ge,{layout:Ne}),k(U,ht,Fe,{variant:Ie})),Pt&&He&&k(C,Be,ge,{layout:Ne}),Xe&&k(s,Le,ye,{layout:Ne}))};const J=q;var me=["aria-label","content","layout","flexWrap","padding","variant","titleId"],re=c.forwardRef((ae,ge)=>{var Be=ae["aria-label"],Ke=ae.content,He=ae.layout,ye=He===void 0?"column":He,Le=ae.flexWrap,Ue=Le===void 0?ye==="row"?"nowrap":"wrap":Le,Xe=ae.padding,Fe=Xe===void 0?"4":Xe,ht=ae.variant,Ne=ae.titleId,Ce=a()(ae,me);return c.createElement(ne.Z,o()({},ht?F(ht):void 0,{ref:ge,"aria-label":Be,"aria-labelledby":Be?void 0:Ke.titleId,backgroundColor:ht?G(ht).bgColor:"transparent",color:ht?G(ht).color:void 0,flexDirection:ye,flexWrap:Ue,justifyContent:"space-between",overflowX:"hidden",pb:ye==="row"?Fe:"2",pt:Fe,px:Fe,role:"group"},Ce),ye==="row"?c.createElement(oe,o()({layout:ye,variant:ht},Ke)):c.createElement(J,o()({layout:ye,variant:ht},Ke)))});re.displayName="Wrapper";const he=re;var Ee=["body","bodyComponent","buttons","buttonsComponent","children","className","icon","iconComponent","layout","sx","title","titleComponent","variant"];function fe(){var ae=c.useRef((0,u.Z)());return"sqs-banner-".concat(ae.current)}var H=c.forwardRef((ae,ge)=>{var Be,Ke=ae.body,He=ae.bodyComponent,ye=ae.buttons,Le=ae.buttonsComponent,Ue=ae.children,Xe=ae.className,Fe=ae.icon,ht=ae.iconComponent,Ne=ae.layout,Ce=Ne===void 0?"column":Ne,we=ae.sx,$e=ae.title,Ot=ae.titleComponent,Pt=ae.variant,Ie=Pt===void 0?"default":Pt,Bt=a()(ae,Ee);c.Children.forEach(Ue,ce=>{ce&&(ce.type.displayName===C.displayName&&(He=ce),ce.type.displayName===s.displayName&&(Le=ce),ce.type.displayName===U.displayName&&(ht=ce),ce.type.displayName===ie.displayName&&(Ot=ce))});var mt=c.isValidElement(Ot)&&((Be=Ot.props)===null||Be===void 0?void 0:Be.id)||fe(),rt={body:Ke,bodyComponent:He,buttons:ye,buttonsComponent:Le,children:Ue,icon:Fe,iconComponent:ht,titleId:mt,title:$e,titleComponent:Ot};return c.createElement(he,o()({ref:ge,className:Xe,content:rt,layout:Ce,sx:we,variant:Ie},Bt))});H.displayName="Banner",C.displayName="Banner.Body",s.displayName="Banner.Buttons",U.displayName="Banner.Icon",ie.displayName="Banner.Title",he.displayName="Banner.Wrapper";const _e=Object.assign(H,{Body:C,Buttons:s,Icon:U,Title:ie,Wrapper:he})},807025:function(b,l,e){"use strict";e.d(l,{A:()=>U});var r=e(160553),o=e.n(r),n=e(680180),a=e.n(n),i=e(737968),c=e.n(i),u=e(174161),f=e(725538),d=e(748599),h=(0,u.createContext)({addDescriptionId:()=>{},addLabelId:()=>{}}),g=["children"],_=f.Z.Dialog,p=j=>{var $=j.children,ee=c()(j,g),te=(0,d.Z)(),ie=a()(te,2),ne=ie[0],pe=ie[1],oe=(0,d.Z)(),q=a()(oe,2),J=q[0],me=q[1],re=(0,u.useMemo)(()=>({addDescriptionId:me,addLabelId:pe}),[me,pe]);return u.createElement(h.Provider,{value:re},u.createElement(_,o()({"aria-describedby":J,"aria-labelledby":ne,borderRadius:2,overflow:"visible !important",width:{_:"sizes.700","mobile-*":"296px"}},ee),$))},y=e(412166),O=["children"],P=j=>{var $=j.children,ee=c()(j,O);return u.createElement(y.Z,o()({bg:"border.default",borderBottomLeftRadius:2,borderBottomRightRadius:2,borderTop:1,borderTopColor:"border.default",gap:"1px",justifyContent:"stretch",overflow:"visible"},ee),$)},C=e(392338),A=e(642979),S=e.n(A),T=e(600994),s=["children","sx"];function v(j,$){var ee=Object.keys(j);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(j);$&&(te=te.filter(function(ie){return Object.getOwnPropertyDescriptor(j,ie).enumerable})),ee.push.apply(ee,te)}return ee}function m(j){for(var $=1;$<arguments.length;$++){var ee=arguments[$]!=null?arguments[$]:{};$%2?v(Object(ee),!0).forEach(function(te){S()(j,te,ee[te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(j,Object.getOwnPropertyDescriptors(ee)):v(Object(ee)).forEach(function(te){Object.defineProperty(j,te,Object.getOwnPropertyDescriptor(ee,te))})}return j}var E=j=>{var $=j.children,ee=j.sx,te=c()(j,s);return u.createElement(T.Z.Secondary,o()({borderWidth:0,outlineColor:"fg.default",type:"button"},te,{sx:m({bg:"bg.base",flexGrow:1,height:"sizes.250",":focus":{boxShadow:"none",outlineColor:"unset",outlineOffset:"-2px",zIndex:1},":first-of-type":{borderBottomLeftRadius:2},":last-of-type":{borderBottomRightRadius:2}},ee)}),$)},I=j=>u.createElement(E,o()({color:"fg.danger"},j)),L=Object.assign(E,{Danger:I}),W=["children"],F=j=>{var $=j.children,ee=c()(j,W);return u.createElement(y.Z,o()({flexDirection:"column",gap:2,px:6,py:4},ee),$)},G=e(719484),k=e(322533),x=["children","id"],M=j=>{var $=j.children,ee=j.id,te=c()(j,x),ie=(0,u.useContext)(h),ne=ie.addDescriptionId,pe=(0,k.Z)(ne,ee);return u.createElement(G.Z.Body,o()({id:pe},te),$)},B=["children","id"],R=j=>{var $=j.children,ee=j.id,te=c()(j,B),ie=(0,u.useContext)(h),ne=ie.addLabelId,pe=(0,k.Z)(ne,ee);return u.createElement(G.Z.Subtitle,o()({as:"h1",id:pe},te),$)},U=Object.assign(p,{Button:L,Actions:P,Content:F,Description:M,Title:R})},112686:function(b,l,e){"use strict";e.d(l,{O:()=>Pt});var r=e(737968),o=e.n(r),n=e(392338),a=e(174161),i=e(160553),c=e.n(i),u=e(642979),f=e.n(u),d=e(680180),h=e.n(d),g=e(247509),_=e(224353),p=e(881707),y=["children"],O=["children","href"];function P(Ie,Bt){var mt=Object.keys(Ie);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(Ie);Bt&&(rt=rt.filter(function(ce){return Object.getOwnPropertyDescriptor(Ie,ce).enumerable})),mt.push.apply(mt,rt)}return mt}function C(Ie){for(var Bt=1;Bt<arguments.length;Bt++){var mt=arguments[Bt]!=null?arguments[Bt]:{};Bt%2?P(Object(mt),!0).forEach(function(rt){f()(Ie,rt,mt[rt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ie,Object.getOwnPropertyDescriptors(mt)):P(Object(mt)).forEach(function(rt){Object.defineProperty(Ie,rt,Object.getOwnPropertyDescriptor(mt,rt))})}return Ie}var A=Ie=>{var Bt=(0,a.useState)(!1),mt=h()(Bt,2),rt=mt[0],ce=mt[1];return(0,a.useEffect)(()=>{if(Ie){var Re=new ResizeObserver(nt=>{var st=h()(nt,1),vt=st[0];vt.target instanceof HTMLElement&&ce(vt.target.offsetWidth<vt.target.scrollWidth)});return Re.observe(Ie),()=>{Re.disconnect()}}},[Ie]),rt},S=()=>a.createElement(p.Z,{height:"sizes.200",position:"absolute",sx:{transform:"translateY(-50%)"},top:"50%",width:"100%"}),T=(0,a.forwardRef)((Ie,Bt)=>{var mt=Ie.children,rt=o()(Ie,y);return a.createElement(p.Z,c()({ref:Bt,maxWidth:"100%"},rt,{sx:C({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},rt.sx)}),mt)});T.displayName="CrumbTruncationContainer";var s=Ie=>{var Bt=Ie.children,mt=Ie.href,rt=o()(Ie,O),ce=(0,a.useState)(null),Re=h()(ce,2),nt=Re[0],st=Re[1],vt=(0,a.useState)(!1),ze=h()(vt,2),It=ze[0],on=ze[1],Pn=A(nt);return a.createElement(a.Fragment,null,a.createElement(g.Z,c()({href:mt,onMouseEnter:()=>on(!0),onMouseLeave:()=>on(!1),sx:{"&:visited":{color:"fg.default"},color:"fg.default",fontWeight:"medium",maxWidth:"100%",position:"relative",whiteSpace:"nowrap"},textStyle:"caption"},rt),a.createElement(S,null),a.createElement(T,{ref:st},Bt)),a.createElement(_.Z,{anchor:nt,isOpen:It&&Pn,placement:"top"},Bt))},v=e(412166),m=["children"],E=Ie=>{var Bt=Ie.children,mt=o()(Ie,m);return a.createElement(v.Z,c()({alignItems:"center",as:"li",maxWidth:"100%",minWidth:0},mt),Bt)},I=e(719484),L=["children"];function W(Ie,Bt){var mt=Object.keys(Ie);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(Ie);Bt&&(rt=rt.filter(function(ce){return Object.getOwnPropertyDescriptor(Ie,ce).enumerable})),mt.push.apply(mt,rt)}return mt}function F(Ie){for(var Bt=1;Bt<arguments.length;Bt++){var mt=arguments[Bt]!=null?arguments[Bt]:{};Bt%2?W(Object(mt),!0).forEach(function(rt){f()(Ie,rt,mt[rt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ie,Object.getOwnPropertyDescriptors(mt)):W(Object(mt)).forEach(function(rt){Object.defineProperty(Ie,rt,Object.getOwnPropertyDescriptor(mt,rt))})}return Ie}var G=Ie=>{var Bt=Ie.children,mt=o()(Ie,L);return a.createElement(I.Z.Caption,c()({color:"fg.muted",display:"block",fontWeight:"medium"},mt,{sx:F({whiteSpace:"nowrap"},mt.sx)}),Bt)},k=Ie=>a.createElement("li",c()({"aria-current":"page"},Ie)),x=Ie=>a.createElement(I.Z.Caption,c()({"aria-hidden":"true",as:"li",color:"gray.800",fontWeight:"medium"},Ie),"/"),M=e(882684),B=e(47932),R=e(885630),U=()=>{var Ie=(0,B.F)(),Bt=Ie.breakpoints,mt=(0,R.i)(Bt),rt=mt.platform,ce=rt==="mobile";return ce},j=["children"];function $(Ie,Bt){var mt=Object.keys(Ie);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(Ie);Bt&&(rt=rt.filter(function(ce){return Object.getOwnPropertyDescriptor(Ie,ce).enumerable})),mt.push.apply(mt,rt)}return mt}function ee(Ie){for(var Bt=1;Bt<arguments.length;Bt++){var mt=arguments[Bt]!=null?arguments[Bt]:{};Bt%2?$(Object(mt),!0).forEach(function(rt){f()(Ie,rt,mt[rt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ie,Object.getOwnPropertyDescriptors(mt)):$(Object(mt)).forEach(function(rt){Object.defineProperty(Ie,rt,Object.getOwnPropertyDescriptor(mt,rt))})}return Ie}var te=Ie=>{var Bt=Ie.children,mt=o()(Ie,j);return a.createElement(p.Z,c()({as:"li",height:"sizes.125",mx:"-3px",position:"relative"},mt,{sx:ee({lineHeight:1},mt.sx)}),Bt)},ie=e(146964),ne=e(425629),pe=["children","sx"];function oe(Ie,Bt){var mt=Object.keys(Ie);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(Ie);Bt&&(rt=rt.filter(function(ce){return Object.getOwnPropertyDescriptor(Ie,ce).enumerable})),mt.push.apply(mt,rt)}return mt}function q(Ie){for(var Bt=1;Bt<arguments.length;Bt++){var mt=arguments[Bt]!=null?arguments[Bt]:{};Bt%2?oe(Object(mt),!0).forEach(function(rt){f()(Ie,rt,mt[rt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ie,Object.getOwnPropertyDescriptors(mt)):oe(Object(mt)).forEach(function(rt){Object.defineProperty(Ie,rt,Object.getOwnPropertyDescriptor(mt,rt))})}return Ie}var J=()=>a.createElement(p.Z,{left:"50%",position:"absolute",size:"sizes.200",sx:{transform:"translate(-50%,-50%)"},top:"50%"}),me=()=>a.createElement(ie.Z,{sx:{borderBottomColor:"border.strong",borderBottomStyle:"solid",borderWidth:1,size:"sizes.100","a:hover &, button:hover &":{borderBottomColor:"transparent"}}}),re=(0,a.forwardRef)((Ie,Bt)=>{var mt=Ie.children,rt=Ie.sx,ce=o()(Ie,pe),Re=(0,B.F)(),nt=Re.borderWidths;return a.createElement(ne.Z.Element.WithoutFeedback,c()({ref:Bt},ce,{sx:q(q({alignItems:"center",display:"flex",justifyContent:"center",size:"sizes.125","&:focus":{}},rt),{},{"&:focus-visible":q({outlineColor:"gray.200",outlineOffset:"2px",outlineStyle:"solid",outlineWidth:nt[2]},rt==null?void 0:rt["&:focus-visible"])})}),a.createElement(J,null),a.createElement(me,null))});re.displayName="TruncationTrigger";var he=e(522129),Ee=["children"],fe=Ie=>{var Bt=Ie.children,mt=o()(Ie,Ee),rt=U(),ce=(0,he.Q)(),Re=ce.t;return a.createElement(M.Z.PopOver,c()({position:"bottom",renderTrigger:nt=>{var st=nt.toggleActionListOpen;return a.createElement(re,{"aria-label":Re("More links",null,{project:"rosetta-compositions"}),as:"button",onClick:()=>{st()}})},style:rt?{width:"calc(100vw - 22px)"}:void 0},mt),Bt)},H=e(305170),z=["children","href","onBlur","onFocus","onMouseEnter","onMouseLeave"],_e=Ie=>{var Bt=Ie.children,mt=Ie.href,rt=Ie.onBlur,ce=Ie.onFocus,Re=Ie.onMouseEnter,nt=Ie.onMouseLeave,st=o()(Ie,z),vt=(0,a.useState)(null),ze=h()(vt,2),It=ze[0],on=ze[1],Pn=(0,a.useState)(!1),Yn=h()(Pn,2),Ln=Yn[0],bn=Yn[1],ir=(0,a.useState)(!1),Zn=h()(ir,2),$n=Zn[0],jt=Zn[1],Rn=(0,a.useState)(!1),jn=h()(Rn,2),Tn=jn[0],Nn=jn[1],cn=(0,a.useMemo)(H.Z,[]);return(0,a.useEffect)(()=>{Nn($n||Ln)},[Ln,$n]),a.createElement(a.Fragment,null,a.createElement(re,c()({ref:on,"aria-labelledby":cn,as:"a",href:mt,onBlur:or=>{bn(!1),rt==null||rt(or)},onFocus:or=>{bn(!0),ce==null||ce(or)},onMouseEnter:or=>{jt(!0),Re==null||Re(or)},onMouseLeave:or=>{jt(!1),nt==null||nt(or)}},st)),a.createElement(_.Z,{anchor:It,id:cn,isOpen:Tn,placement:"top"},Bt))},ae=["children","key","href"],ge=Ie=>{var Bt=Ie.crumbs;return a.createElement(fe,null,()=>a.createElement(v.Z,{bg:"white",flexDirection:"column",py:1},Bt.map((mt,rt)=>{var ce,Re=mt.children,nt=mt.key,st=mt.href,vt=o()(mt,ae);return a.createElement(M.Z.Item,c()({key:(ce=nt??st)!==null&&ce!==void 0?ce:rt,as:"a",href:st,sx:{color:"fg.default",textDecoration:"none",borderBottom:"none","&:hover":{color:"fg.default",bg:"bg.default",textDecoration:"none"}},textStyle:"body"},vt),Re)})))},Be=Ie=>{var Bt=Ie.crumbs,mt=U(),rt=Bt.length===1,ce=rt&&!mt;return a.createElement(te,null,ce?a.createElement(_e,Bt[0]):a.createElement(ge,{crumbs:Bt}))},Ke=e(469080),He=e.n(Ke),ye=Ie=>{var Bt=He()(Ie),mt=Bt[0],rt=Bt.slice(1),ce=rt.pop(),Re=[];return mt&&Re.push(mt),rt.length&&Re.push(rt),ce&&Re.push(ce),Re},Le=Ie=>{var Bt=U(),mt=!Bt,rt=[...Ie];return mt&&rt.shift(),ye(rt)},Ue=Ie=>{var Bt=(0,he.Q)(),mt=Bt.t;return a.createElement(p.Z,c()({"aria-label":mt("Breadcrumbs",null,{project:"rosetta-compositions",notes:"A list of links to the parent pages of the current page in hierarchical order."}),as:"nav",my:2},Ie))},Xe=Ie=>a.createElement(v.Z,c()({alignItems:"center",as:"ol",flexWrap:"nowrap",gap:1,margin:0,maxWidth:"100%",padding:0,sx:{listStyle:"none"}},Ie)),Fe=["crumbs","currentPage","useTruncation"],ht=Ie=>Array.isArray(Ie),Ne=Ie=>{var Bt=Ie.crumbs,mt=Ie.currentPage,rt=Ie.useTruncation,ce=rt===void 0?Le:rt,Re=o()(Ie,Fe),nt=ce(Bt),st=U(),vt=!st,ze=nt.length>0;return a.createElement(Ue,Re,a.createElement(Xe,null,nt.map((It,on)=>{var Pn=on===0,Yn=Pn?null:a.createElement(x,null);if(ht(It)){if(It.length>0)return a.createElement(a.Fragment,{key:"truncated-crumbs-".concat(on)},Yn,a.createElement(Be,{crumbs:It}))}else{var Ln,bn;return a.createElement(a.Fragment,{key:(Ln=(bn=It.key)!==null&&bn!==void 0?bn:It.href)!==null&&Ln!==void 0?Ln:on},Yn,a.createElement(E,null,a.createElement(s,It)))}}),vt&&a.createElement(a.Fragment,null,ze&&a.createElement(x,null),a.createElement(k,null,a.createElement(G,mt)))))},Ce=["onClick"];function we(Ie,Bt){var mt=Object.keys(Ie);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(Ie);Bt&&(rt=rt.filter(function(ce){return Object.getOwnPropertyDescriptor(Ie,ce).enumerable})),mt.push.apply(mt,rt)}return mt}function $e(Ie){for(var Bt=1;Bt<arguments.length;Bt++){var mt=arguments[Bt]!=null?arguments[Bt]:{};Bt%2?we(Object(mt),!0).forEach(function(rt){f()(Ie,rt,mt[rt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ie,Object.getOwnPropertyDescriptors(mt)):we(Object(mt)).forEach(function(rt){Object.defineProperty(Ie,rt,Object.getOwnPropertyDescriptor(mt,rt))})}return Ie}var Ot=Ie=>{var Bt=Ie.onClick,mt=o()(Ie,Ce);return $e($e({},mt),{},{href:"#",onClick:rt=>(rt.preventDefault(),Bt(rt),!1)})},Pt=Object.assign(Ne,{createOnClickCrumb:Ot,useSimpleTruncation:ye})},258292:function(b,l,e){"use strict";e.d(l,{Z:()=>G});var r=e(160553),o=e.n(r),n=e(680180),a=e.n(n),i=e(737968),c=e.n(i),u=e(860921),f=e.n(u),d=e(392338),h=e(174161),g=e(881707),_=e(199025),p=e(488609),y=e(8483),O=e(51408),P=e(942085),C=e(302720),A=e(66232),S=e(486238),T=e(579531),s=["isDisabled","onClose","label","internalInputRef","internalChipRef"],v=(0,T.q)((k,x)=>{var M=k.isDisabled,B=k.onClose,R=k.label,U=k.internalInputRef,j=k.internalChipRef,$=j===void 0?q=>q:j,ee=c()(k,s),te=(0,P.Z)(x,$),ie=(0,h.useState)(!1),ne=a()(ie,2),pe=ne[0],oe=ne[1];return h.createElement(S.Z,o()({ref:te,accessory:h.createElement(S.Z.CloseButton,{isDisabled:M,onClick:B,tabIndex:-1}),isDisabled:M,isSelected:pe,label:R,mr:2,mt:2,onBlur:()=>oe(!1),onClick:q=>{oe(!0),q.stopPropagation(),q.preventDefault()},onKeyDown:q=>{(A.Z.isBackspace(q)||A.Z.isDelete(q))&&(U==null||U.focus(),B())},tabIndex:M?-1:0},ee))});v.displayName="Chip";const m=v;var E=e(522129),I=["children","onChange","onInput","placeholder","inputProps"],L=(0,O.Z)(_.Z,p.Z),W=(0,h.forwardRef)((k,x)=>{var M=k.children,B=k.onChange,R=k.onInput,U=R===void 0?f():R,j=k.placeholder,$=k.inputProps,ee=c()(k,I),te=(0,E.Q)(),ie=te.t;j||(j=ie("Add...",null,{project:"rosetta-compositions"}));var ne=(0,h.useRef)([]),pe=(0,h.useState)(null),oe=a()(pe,2),q=oe[0],J=oe[1],me=(0,P.Z)(x,J),re=(0,h.useState)(""),he=a()(re,2),Ee=he[0],fe=he[1],H=(0,C.Z)(ee),z=H.forward,_e=H.spread,ae=()=>{B(Ee),fe("")};return h.createElement(g.Z,{width:"100%"},h.createElement(L,o()({body:h.createElement(g.Z,{mt:-2,width:"100%"},h.Children.map(M,(ge,Be)=>h.cloneElement(ge,{internalChipRef:Ke=>ne.current[Be]=Ke,internalInputRef:q})),h.createElement(y.Z,o()({ref:me,mt:2,onChange:fe,onCompositionEnd:ae,onInput:ge=>U(ge.target.value),onKeyDown:ge=>{if(Ee!==""&&(A.Z.isEnter(ge)||A.Z.isComma(ge))){if(ge.nativeEvent.isComposing){var Be=new CompositionEvent("compositionend",{data:Ee,bubbles:!0});q==null||q.dispatchEvent(Be)}ae(),ge.stopPropagation(),ge.preventDefault()}else if(Ee===""&&(A.Z.isBackspace(ge)||A.Z.isDelete(ge))){var Ke=Object.values(ne.current).filter(He=>He!==null).pop();Ke&&Ke.focus()}},placeholder:j,value:Ee},_e,$))),onClick:()=>q==null?void 0:q.focus()},z)))});W.displayName="ChipInput";const G=Object.assign(W,{Chip:m})},60327:function(b,l,e){"use strict";e.d(l,{Z:()=>Ae});var r=e(680180),o=e.n(r),n=e(174161),a=e(392338),i=e(160553),c=e.n(i),u=e(642979),f=e.n(u),d=e(700436),h=e.n(d),g=e(968681),_=e.n(g),p=e(881707),y=e(47932),O=e(737968),P=e.n(O),C=["css","isFocused"];function A(qe,wt){var kt=Object.keys(qe);if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(qe);wt&&(ut=ut.filter(function(Ft){return Object.getOwnPropertyDescriptor(qe,Ft).enumerable})),kt.push.apply(kt,ut)}return kt}function S(qe){for(var wt=1;wt<arguments.length;wt++){var kt=arguments[wt]!=null?arguments[wt]:{};wt%2?A(Object(kt),!0).forEach(function(ut){f()(qe,ut,kt[ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(kt)):A(Object(kt)).forEach(function(ut){Object.defineProperty(qe,ut,Object.getOwnPropertyDescriptor(kt,ut))})}return qe}var T=qe=>{var wt=qe.css,kt=qe.isFocused,ut=P()(qe,C),Ft="#767676";return n.createElement(p.Z,c()({borderRadius:"100%",bottom:"50%",boxSizing:"border-box",css:S({background:"transparent",border:"3px solid white",boxShadow:"0 0 0 1px ".concat(Ft,", inset 0 0 0 1px ").concat(Ft),outline:"none",willChange:"left, bottom"},wt),height:"sizes.125",left:"50%",mb:"-8px",ml:"-8px",position:"absolute",role:"slider",width:"sizes.125"},ut))};const v=T;var m=e(134521),E=e.n(m),I=qe=>{var wt=qe.containerRef,kt=qe.updatePosition,ut=(0,n.useCallback)(rr=>{var Sr="touches"in rr?rr.touches[0]:rr;return{x:Sr.clientX,y:Sr.clientY}},[]),Ft=(0,n.useMemo)(()=>E()(rr=>{var Sr=ut(rr);kt(Sr.x,Sr.y)},1e3/30),[ut,kt]),tn=(0,n.useCallback)(()=>{document.removeEventListener("mouseleave",tn),document.removeEventListener("mousemove",Ft),document.removeEventListener("mouseup",tn),document.removeEventListener("touchend",tn),document.removeEventListener("touchmove",Ft);var rr=document.getElementsByTagName("iframe");Array.from(rr).forEach(Sr=>{Sr&&Sr.contentDocument&&Sr.contentDocument.removeEventListener("mouseup",tn)})},[Ft]),In=(0,n.useCallback)(rr=>{var Sr,Yr;if(((Sr=rr.target)===null||Sr===void 0?void 0:Sr.tagName)==="INPUT"){rr.stopPropagation();return}wt==null||(Yr=wt.current)===null||Yr===void 0||Yr.focus(),rr.preventDefault(),document.addEventListener("mouseleave",tn),document.addEventListener("mousemove",Ft),document.addEventListener("mouseup",tn),document.addEventListener("touchend",tn),document.addEventListener("touchmove",Ft);var Pr=document.getElementsByTagName("iframe");Array.from(Pr).forEach(vr=>{vr&&vr.contentDocument&&vr.contentDocument.addEventListener("mouseup",tn)});var Mn=ut(rr),sr=Mn.x,Ar=Mn.y;kt(sr,Ar)},[wt,tn,Ft,ut,kt]);return(0,n.useEffect)(()=>{var rr=wt.current;return rr&&rr.addEventListener("touchstart",In,{passive:!1}),()=>{rr&&rr.removeEventListener("touchstart",In)}},[wt,In]),{startUpdates:In}};const L=I;var W=e(66232),F=qe=>{var wt=W.Z.isShiftAccessory(qe)?10:1;if(W.Z.isArrowLeft(qe))return{axis:"x",value:-wt};if(W.Z.isArrowUp(qe))return{axis:"y",value:wt};if(W.Z.isArrowRight(qe))return{axis:"x",value:wt};if(W.Z.isArrowDown(qe))return{axis:"y",value:-wt}},G=(qe,wt)=>"".concat(qe/wt*100,"%"),k=(qe,wt)=>Math.round(h()(qe,0,1)*wt*100)/100,x=(0,n.createContext)(void 0),M=()=>{var qe=(0,n.useContext)(x);if(qe===void 0)throw new Error("Context must be used within a Provider");return qe};const B=x;var R=e(522129);function U(qe,wt){var kt=Object.keys(qe);if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(qe);wt&&(ut=ut.filter(function(Ft){return Object.getOwnPropertyDescriptor(qe,Ft).enumerable})),kt.push.apply(kt,ut)}return kt}function j(qe){for(var wt=1;wt<arguments.length;wt++){var kt=arguments[wt]!=null?arguments[wt]:{};wt%2?U(Object(kt),!0).forEach(function(ut){f()(qe,ut,kt[ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(kt)):U(Object(kt)).forEach(function(ut){Object.defineProperty(qe,ut,Object.getOwnPropertyDescriptor(kt,ut))})}return qe}var $=qe=>{var wt=(0,n.useRef)(),kt=(0,n.useState)(!1),ut=o()(kt,2),Ft=ut[0],tn=ut[1],In=M(),rr=In.color,Sr=In.setColor,Yr=(0,y.F)(),Pr=Yr.sizes,Mn=rr.saturation,sr=rr.value,Ar=(ar,rn)=>{if(wt.current){var Rt=wt.current.getBoundingClientRect(),Qe=(ar-Rt.left)/Rt.width,Ye=(Rt.bottom-rn)/Rt.height;Qe=k(Qe,100),Ye=k(Ye,100),Sr(j(j({},rr),{},{alpha:rr.alpha,saturation:Qe,value:Ye}))}},vr=L({containerRef:wt,updatePosition:Ar}),qr=vr.startUpdates,Dr=ar=>{var rn=F(ar);if(rn){ar.preventDefault();var Rt={x:Mn,y:sr,[rn.axis]:h()({x:Mn,y:sr}[rn.axis]+rn.value,0,100)};Sr(j(j({},rr),{},{alpha:rr.alpha,saturation:Rt.x,value:Rt.y}))}},eo=_()(rr,"hsl"),Vo=(0,R.Q)(),Bn=Vo.t;return n.createElement(p.Z,{position:"relative"},n.createElement(p.Z,c()({ref:wt,borderRadius:1,height:parseInt(Pr.sizes[800],10)/2,mb:2,onBlur:()=>tn(!1),onFocus:()=>tn(!0),onKeyDown:Dr,onMouseDown:qr,position:"relative",sx:{"&:focus":{outline:2,outlineColor:"gray.100",outlineOffset:"2px"},"&:focus:not(:focus-visible)":{outline:"none"},cursor:"pointer",overflow:"hidden",userSelect:"none"},tabIndex:0,width:"100%"},qe),n.createElement(p.Z,{css:{"&::before, &::after":{bottom:0,content:"''",display:"block",left:0,position:"absolute",right:0,top:0},"&::after":{background:"linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%)"},"&::before":{background:"linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%)"}},height:"100%",left:"0",position:"absolute",style:{backgroundColor:_()({alpha:1,hue:rr.hue,saturation:100,value:100},"hsl")},top:"0",width:"100%"})),n.createElement(v,{"aria-label":Bn("Color Map",{},{project:"rosetta-compositions"}),"aria-valuenow":eo,css:{background:eo,cursor:"pointer"},isFocused:Ft,onMouseDown:qr,style:{bottom:G(sr,100),left:G(Mn,100)}}))};const te=$;var ie=e(412166),ne=e(199025),pe=e(488609),oe=e(51408),q=e(579531),J=e(302720),me=e(8483),re=e(880743),he=e(942085),Ee=["onChange","value","floatOptions","integerOptions"],fe=(0,q.q)(function(wt,kt){var ut=wt.onChange,Ft=wt.value,tn=wt.floatOptions,In=wt.integerOptions,rr=P()(wt,Ee),Sr=(0,re.Z)({floatOptions:tn,integerOptions:In,onChange:ut,value:Ft}),Yr=Sr.ariaRole,Pr=Sr.onKeyDown,Mn=Sr.onWheel,sr=Sr.setInputRef,Ar=(0,he.Z)(kt,sr);return n.createElement(me.Z,c()({ref:Ar,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",onChange:ut,onKeyDown:Pr,onWheel:Mn,role:Yr,spellCheck:!1,value:Ft},rr))});const H=fe;function z(qe,wt){var kt=Object.keys(qe);if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(qe);wt&&(ut=ut.filter(function(Ft){return Object.getOwnPropertyDescriptor(qe,Ft).enumerable})),kt.push.apply(kt,ut)}return kt}function _e(qe){for(var wt=1;wt<arguments.length;wt++){var kt=arguments[wt]!=null?arguments[wt]:{};wt%2?z(Object(kt),!0).forEach(function(ut){f()(qe,ut,kt[ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(kt)):z(Object(kt)).forEach(function(ut){Object.defineProperty(qe,ut,Object.getOwnPropertyDescriptor(kt,ut))})}return qe}var ae=(0,oe.Z)(ne.Z,pe.Z),ge=(0,q.q)((qe,wt)=>{var kt=M(),ut=kt.color,Ft=kt.setColor,tn=(0,J.Z)(qe),In=tn.forward,rr=tn.spread,Sr=(0,R.Q)(),Yr=Sr.t,Pr=Mn=>{var sr=parseFloat("".concat(parseInt(Mn,10)/100));isNaN(sr)||Ft(_e(_e({},ut),{},{alpha:sr}))};return n.createElement(p.Z,{width:"100%"},n.createElement(ae,c()({body:n.createElement(H,c()({ref:wt,"aria-label":Yr("Alpha",{},{project:"rosetta-compositions"}),"data-test":"ColorPicker.Input.Alpha",integerOptions:{max:100,min:0},onChange:Pr,value:"".concat(h()(Math.round(ut.alpha*100),0,100),"%")},rr))},In)))});ge.displayName="Alpha";const Be=ge;var Ke=e(825473),He=e.n(Ke);function ye(qe,wt){var kt=Object.keys(qe);if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(qe);wt&&(ut=ut.filter(function(Ft){return Object.getOwnPropertyDescriptor(qe,Ft).enumerable})),kt.push.apply(kt,ut)}return kt}function Le(qe){for(var wt=1;wt<arguments.length;wt++){var kt=arguments[wt]!=null?arguments[wt]:{};wt%2?ye(Object(kt),!0).forEach(function(ut){f()(qe,ut,kt[ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(kt)):ye(Object(kt)).forEach(function(ut){Object.defineProperty(qe,ut,Object.getOwnPropertyDescriptor(kt,ut))})}return qe}var Ue={HEX:"hex",HSLA:"hsla",RGBA:"rgba"},Xe=qe=>{if(qe.length!==4)return qe;var wt=qe.replace("#","").split("").map(function(kt){return kt+kt}).join("");return"#".concat(wt)},Fe=qe=>qe.startsWith("#")?Ue.HEX:qe.startsWith("rgb")?Ue.RGBA:qe.startsWith("hsl")?Ue.HSLA:Ue.HEX,ht=qe=>{switch(qe.type){case Ue.HEX:return _()(Le(Le({},qe),{},{alpha:1}),"hex");case Ue.RGBA:return _()(qe,"rgb");case Ue.HSLA:return _()(qe,"hsl")}},Ne=qe=>{var wt=He()(qe,"hsv",!0),kt=Fe(qe);return Le(Le({},wt),{},{type:kt})};function Ce(qe,wt){var kt=Object.keys(qe);if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(qe);wt&&(ut=ut.filter(function(Ft){return Object.getOwnPropertyDescriptor(qe,Ft).enumerable})),kt.push.apply(kt,ut)}return kt}function we(qe){for(var wt=1;wt<arguments.length;wt++){var kt=arguments[wt]!=null?arguments[wt]:{};wt%2?Ce(Object(kt),!0).forEach(function(ut){f()(qe,ut,kt[ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(kt)):Ce(Object(kt)).forEach(function(ut){Object.defineProperty(qe,ut,Object.getOwnPropertyDescriptor(kt,ut))})}return qe}var $e=(0,oe.Z)(ne.Z,pe.Z),Ot=(0,n.forwardRef)(function(wt,kt){var ut=M(),Ft=ut.color,tn=ut.setColor,In=(0,J.Z)(wt),rr=In.forward,Sr=In.spread,Yr=(0,R.Q)(),Pr=Yr.t,Mn=(0,n.useState)(_()(we(we({},Ft),{},{alpha:1}),"hex")),sr=o()(Mn,2),Ar=sr[0],vr=sr[1];(0,n.useEffect)(()=>{var Dr=_()(we(we({},Ft),{},{alpha:1}),"hex");vr(eo=>{var Vo=Xe(eo).toLowerCase();return Dr.toLowerCase()!==Vo?Dr:eo})},[Ft]);var qr=Dr=>{vr(Dr);var eo=He()(Dr,"hsv",!0);if(eo){var Vo=Fe(Dr);tn(we(we(we({},Ft),eo),{},{type:Vo}))}};return n.createElement(p.Z,{width:"100%"},n.createElement($e,c()({body:n.createElement(H,c()({ref:kt,"aria-label":Pr("Hex",{},{project:"rosetta-compositions"}),"data-test":"ColorPicker.Input.HEX",onChange:qr,value:"".concat(Ar)},Sr))},rr)))});const Pt=Ot;function Ie(qe,wt){var kt=Object.keys(qe);if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(qe);wt&&(ut=ut.filter(function(Ft){return Object.getOwnPropertyDescriptor(qe,Ft).enumerable})),kt.push.apply(kt,ut)}return kt}function Bt(qe){for(var wt=1;wt<arguments.length;wt++){var kt=arguments[wt]!=null?arguments[wt]:{};wt%2?Ie(Object(kt),!0).forEach(function(ut){f()(qe,ut,kt[ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(kt)):Ie(Object(kt)).forEach(function(ut){Object.defineProperty(qe,ut,Object.getOwnPropertyDescriptor(kt,ut))})}return qe}var mt=(0,oe.Z)(ne.Z,pe.Z),rt=qe=>{var wt,kt=M(),ut=kt.color,Ft=kt.setColor,tn=(0,y.F)(),In=tn.space,rr=(0,R.Q)(),Sr=rr.t,Yr=(0,J.Z)(qe),Pr=Yr.forward,Mn=(0,J.Z)(qe,Bn=>Bn.startsWith("hue")),sr=Mn.spread,Ar=(0,J.Z)(qe,Bn=>Bn.startsWith("saturation")),vr=Ar.spread,qr=(0,J.Z)(qe,Bn=>Bn.startsWith("lightness")),Dr=qr.spread,eo=He()((wt=ht(ut))!==null&&wt!==void 0?wt:"","hsl",!0),Vo=Bn=>{var ar=Bt(Bt({},eo),Bn),rn=He()("hsl(".concat(ar.hue,", ").concat(ar.saturation,"%, ").concat(ar.lightness,"%)"),"hsv",!0);rn&&Ft(Bt(Bt(Bt({},ut),rn),{},{alpha:ut.alpha}))};return n.createElement(p.Z,{width:"100%"},n.createElement(mt,c()({body:n.createElement(p.Z,{display:"flex"},n.createElement(H,c()({"aria-label":Sr("Hue",{},{project:"rosetta-compositions"}),"data-test":"ColorPicker.Input.HSLA.Hue",integerOptions:{max:360,min:0},onChange:Bn=>Vo({hue:Bn}),value:"".concat(eo.hue),width:In[6]},sr.hue)),n.createElement(H,c()({"aria-label":Sr("Saturation",{},{project:"rosetta-compositions"}),"data-test":"ColorPicker.Input.HSLA.Saturation",integerOptions:{max:100,min:0},onChange:Bn=>Vo({saturation:Bn}),value:"".concat(eo.saturation),width:In[6]},vr.saturation)),n.createElement(H,c()({"aria-label":Sr("Lightness",{},{project:"rosetta-compositions"}),"data-test":"ColorPicker.Input.HSLA.Lightness",integerOptions:{max:100,min:0},onChange:Bn=>Vo({lightness:Bn}),value:"".concat(eo.lightness),width:In[6]},Dr.lightness)))},Pr)))};const ce=rt;function Re(qe,wt){var kt=Object.keys(qe);if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(qe);wt&&(ut=ut.filter(function(Ft){return Object.getOwnPropertyDescriptor(qe,Ft).enumerable})),kt.push.apply(kt,ut)}return kt}function nt(qe){for(var wt=1;wt<arguments.length;wt++){var kt=arguments[wt]!=null?arguments[wt]:{};wt%2?Re(Object(kt),!0).forEach(function(ut){f()(qe,ut,kt[ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(kt)):Re(Object(kt)).forEach(function(ut){Object.defineProperty(qe,ut,Object.getOwnPropertyDescriptor(kt,ut))})}return qe}var st=(0,oe.Z)(ne.Z,pe.Z),vt=255,ze=0,It=qe=>{var wt,kt=M(),ut=kt.color,Ft=kt.setColor,tn=(0,y.F)(),In=tn.space,rr=(0,R.Q)(),Sr=rr.t,Yr=(0,J.Z)(qe),Pr=Yr.forward,Mn=(0,J.Z)(qe,Bn=>Bn.startsWith("red")),sr=Mn.spread,Ar=(0,J.Z)(qe,Bn=>Bn.startsWith("green")),vr=Ar.spread,qr=(0,J.Z)(qe,Bn=>Bn.startsWith("blue")),Dr=qr.spread,eo=He()((wt=ht(ut))!==null&&wt!==void 0?wt:"","rgb",!0),Vo=Bn=>{var ar=nt(nt({},eo),Bn),rn=He()("rgb(".concat(ar.red,", ").concat(ar.green,", ").concat(ar.blue,")"),"hsv",!0);rn&&Ft(nt(nt(nt({},ut),rn),{},{alpha:ut.alpha}))};return n.createElement(p.Z,{width:"100%"},n.createElement(st,c()({body:n.createElement(p.Z,{display:"flex"},n.createElement(H,c()({"aria-label":Sr("Red",{},{project:"rosetta-compositions"}),"data-test":"ColorPicker.Input.RGBA.Red",integerOptions:{max:vt,min:ze},onChange:Bn=>Vo({red:Bn}),value:"".concat(eo.red),width:In[6]},sr.red)),n.createElement(H,c()({"aria-label":Sr("Green",{},{project:"rosetta-compositions"}),"data-test":"ColorPicker.Input.RGBA.Green",integerOptions:{max:vt,min:ze},onChange:Bn=>Vo({green:Bn}),value:"".concat(eo.green),width:In[6]},vr.green)),n.createElement(H,c()({"aria-label":Sr("Blue",{},{project:"rosetta-compositions"}),"data-test":"ColorPicker.Input.RGBA.Blue",integerOptions:{max:vt,min:ze},onChange:Bn=>Vo({blue:Bn}),value:"".concat(eo.blue),width:In[6]},Dr.blue)))},Pr)))};const on=It;var Pn=e(201117);function Yn(qe,wt){var kt=Object.keys(qe);if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(qe);wt&&(ut=ut.filter(function(Ft){return Object.getOwnPropertyDescriptor(qe,Ft).enumerable})),kt.push.apply(kt,ut)}return kt}function Ln(qe){for(var wt=1;wt<arguments.length;wt++){var kt=arguments[wt]!=null?arguments[wt]:{};wt%2?Yn(Object(kt),!0).forEach(function(ut){f()(qe,ut,kt[ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(kt)):Yn(Object(kt)).forEach(function(ut){Object.defineProperty(qe,ut,Object.getOwnPropertyDescriptor(kt,ut))})}return qe}var bn=()=>{var qe=(0,R.Q)(),wt=qe.t;return[{label:wt("Hex",{},{project:"rosetta-compositions"}),value:Ue.HEX},{label:wt("RGB",{},{project:"rosetta-compositions"}),value:Ue.RGBA},{label:wt("HSL",{},{project:"rosetta-compositions"}),value:Ue.HSLA}]},ir=(0,n.forwardRef)((qe,wt)=>{var kt=M(),ut=kt.color,Ft=kt.setColor,tn=(0,J.Z)(qe),In=tn.forward,rr=tn.spread,Sr=(0,R.Q)(),Yr=Sr.t;return n.createElement(p.Z,c()({width:"100%"},In),n.createElement(Pn.Z,c()({ref:wt,"aria-label":Yr("Color format",{},{project:"rosetta-compositions"}),"data-test":"ColorPicker.Input.Type",onChange:Pr=>Ft(Ln(Ln({},ut),{},{type:Pr})),placeholder:Yr("Select Color Format",{},{project:"rosetta-compositions"}),value:ut.type},rr),bn().map(Pr=>n.createElement(Pn.Z.Option,{key:Pr.value,value:Pr.value},Pr.label))))});ir.displayName="Type";const Zn=ir;var $n=["hideAlpha"],jt={[Ue.HEX]:n.createElement(Pt,null),[Ue.HSLA]:n.createElement(ce,null),[Ue.RGBA]:n.createElement(on,null)},Rn=qe=>{var wt=qe.hideAlpha,kt=wt===void 0?!1:wt,ut=P()(qe,$n),Ft=M(),tn=Ft.color;return n.createElement(p.Z,c()({width:"100%"},ut),n.createElement(ie.Z,{flexGrow:"1",width:"100%"},n.createElement(ie.Z,{flexDirection:"column"},n.createElement(p.Z,{width:"sizes.450"},n.createElement(Zn,null))),n.createElement(ie.Z,{flexDirection:"column",flexGrow:"1",mx:2},jt[tn.type]),!kt&&n.createElement(ie.Z,{flexDirection:"column"},n.createElement(p.Z,{width:"sizes.250"},n.createElement(Be,null)))))};Rn.Alpha=Be,Rn.HEX=Pt,Rn.HSL=ce,Rn.RGB=on,Rn.Type=Zn;const jn=Rn;var Tn=["type","max","step"];function Nn(qe,wt){var kt=Object.keys(qe);if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(qe);wt&&(ut=ut.filter(function(Ft){return Object.getOwnPropertyDescriptor(qe,Ft).enumerable})),kt.push.apply(kt,ut)}return kt}function cn(qe){for(var wt=1;wt<arguments.length;wt++){var kt=arguments[wt]!=null?arguments[wt]:{};wt%2?Nn(Object(kt),!0).forEach(function(ut){f()(qe,ut,kt[ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(kt)):Nn(Object(kt)).forEach(function(ut){Object.defineProperty(qe,ut,Object.getOwnPropertyDescriptor(kt,ut))})}return qe}var or=qe=>{var wt=(0,R.Q)(),kt=wt.t;switch(qe){case"alpha":return kt("Opacity",{},{project:"rosetta-compositions"});case"hue":return kt("Hue",{},{project:"rosetta-compositions"});default:return kt("Color",{},{project:"rosetta-compositions"})}},qn=qe=>{var wt=qe.type,kt=qe.max,ut=qe.step,Ft=P()(qe,Tn),tn=(0,n.useRef)(),In=M(),rr=In.color,Sr=In.setColor,Yr=(0,R.Q)(),Pr=Yr.t,Mn=(0,n.useState)(!1),sr=o()(Mn,2),Ar=sr[0],vr=sr[1],qr=rr[wt],Dr=Rt=>{Sr(cn(cn({},rr),Rt))},eo=Rt=>{var Qe,Ye=(Qe=tn.current)===null||Qe===void 0?void 0:Qe.getBoundingClientRect();if(Ye){var yt=(Rt-Ye.left)/Ye.width;Dr({[wt]:k(yt,kt)})}},Vo=L({containerRef:tn,updatePosition:eo}),Bn=Vo.startUpdates,ar=Rt=>{var Qe=F(Rt);if(Qe){Rt.preventDefault();var Ye=(qr+Qe.value*ut).toFixed(2);Dr({[wt]:h()(parseFloat(Ye),0,kt)})}},rn=wt==="alpha"?"linear-gradient(to right, transparent 0%, ".concat(_()(cn(cn({},rr),{},{alpha:1}),"hsl")," 100%"):`
        linear-gradient(to left,
          #FF0000 0%,
          #FF0099 10%,
          #CD00FF 20%,
          #3200FF 30%,
          #0066FF 40%,
          #00FFFD 50%,
          #00FF66 60%,
          #35FF00 70%,
          #CDFF00 80%,
          #FF9900 90%,
          #FF0000 100%
        )
      `;return n.createElement(p.Z,c()({ref:tn,borderRadius:1,height:"sizes.150",mb:1,ml:"-2px",onBlur:()=>vr(!1),onFocus:()=>vr(!0),onKeyDown:ar,onMouseDown:Bn,position:"relative",px:2,sx:cn({"&:focus":{outline:2,outlineColor:"gray.100",outlineOffset:"2px"},"&:focus:not(:focus-visible)":{outline:"none"},boxShadow:"inset 0 0 0 1px rgb(14 14 14 / 16%)",cursor:"pointer",outline:"none",overflow:"hidden",userSelect:"none"},wt==="alpha"?{backgroundImage:`
            linear-gradient(45deg, #E7E7E7 25%, transparent 25%),
            linear-gradient(-45deg, #E7E7E7 25%, transparent 25%),
            linear-gradient(45deg, transparent 75%, #E7E7E7 75%),
            linear-gradient(-45deg, transparent 75%, #E7E7E7 75%)
          `,backgroundPosition:"0 0, 0 6px, 6px -6px, -6px 0px",backgroundSize:"12px 12px"}:{}),tabIndex:0,width:"calc(100% + 4px)"},Ft),n.createElement(p.Z,{height:"100%",left:"0",position:"absolute",style:{background:rn},top:"0",width:"100%"}),n.createElement(p.Z,{height:"100%",position:"relative",width:"100%"},n.createElement(v,{"aria-label":Pr("{type} slider",{type:or(wt)},{project:"rosetta-compositions"}),"aria-valuemax":kt,"aria-valuemin":0,"aria-valuenow":qr,css:{cursor:"pointer"},isFocused:Ar,style:{left:G(qr,kt)}})))};const Hr=qn;var fo=["max","step","type"],Jr=["max","step","type"],ro=qe=>{var wt=qe.max,kt=wt===void 0?1:wt,ut=qe.step,Ft=ut===void 0?.01:ut,tn=qe.type,In=tn===void 0?"alpha":tn,rr=P()(qe,fo);return n.createElement(Hr,c()({max:kt,step:Ft,type:In},rr))},Xt=qe=>{var wt=qe.max,kt=wt===void 0?359:wt,ut=qe.step,Ft=ut===void 0?1:ut,tn=qe.type,In=tn===void 0?"hue":tn,rr=P()(qe,Jr);return n.createElement(Hr,c()({max:kt,step:Ft,type:In},rr))};const Je=Object.assign(Hr,{Alpha:ro,Hue:Xt});var At=["isSelected","onChange"],xt=qe=>{var wt=qe.isSelected,kt=wt===void 0?!1:wt,ut=qe.onChange,Ft=P()(qe,At);return n.createElement(p.Z,c()({as:"input",checked:kt,css:{cursor:"pointer"},height:"100%",left:0,margin:0,onChange:tn=>ut&&ut(tn.target.checked),opacity:0,position:"absolute",top:0,type:"checkbox",width:"100%"},Ft))};const Qt=xt;var qt=["color","isSelected","isFocused","isHoverable","children","size"],Te=["children","color","isSelected","onChange","size"];function Gt(qe,wt){var kt=Object.keys(qe);if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(qe);wt&&(ut=ut.filter(function(Ft){return Object.getOwnPropertyDescriptor(qe,Ft).enumerable})),kt.push.apply(kt,ut)}return kt}function un(qe){for(var wt=1;wt<arguments.length;wt++){var kt=arguments[wt]!=null?arguments[wt]:{};wt%2?Gt(Object(kt),!0).forEach(function(ut){f()(qe,ut,kt[ut])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(kt)):Gt(Object(kt)).forEach(function(ut){Object.defineProperty(qe,ut,Object.getOwnPropertyDescriptor(kt,ut))})}return qe}var Vt=qe=>{var wt=qe.color,kt=qe.isSelected,ut=qe.isFocused,Ft=qe.isHoverable,tn=qe.children,In=qe.size,rr=In===void 0?"sizes.200":In,Sr=P()(qe,qt),Yr=(0,y.F)(),Pr=Yr.colors;return n.createElement(p.Z,c()({border:"1",borderColor:ut?"gray.100":"gray.800",borderRadius:"circle",size:rr},Sr,{css:un({backgroundImage:`
            linear-gradient(45deg, #E7E7E7 25%, transparent 25%),
            linear-gradient(-45deg, #E7E7E7 25%, transparent 25%),
            linear-gradient(45deg, transparent 75%, #E7E7E7 75%),
            linear-gradient(-45deg, transparent 75%, #E7E7E7 75%)
          `,backgroundPosition:"0 0, 0 6px, 6px -6px, -6px 0px",backgroundSize:"12px 12px",boxShadow:kt?"0 0 0 2px white, 0 0 0 4px #0e0e0e":void 0,outline:"none",overflow:"hidden",userSelect:"none"},Sr.css),sx:un(un({},!kt&&!ut&&Ft?{"&:hover":{boxShadow:"0 0 0 3px ".concat(Pr.gray[800])}}:{}),Sr.sx)}),n.createElement(ie.Z,{alignItems:"center",css:{background:wt,overflow:"hidden"},height:"100%",justifyContent:"center",position:"relative",width:"100%"},tn))};Vt.displayName="Swatch";var Dn=(0,n.forwardRef)((qe,wt)=>{var kt=qe.children,ut=qe.color,Ft=qe.isSelected,tn=Ft===void 0?!1:Ft,In=qe.onChange,rr=In===void 0?()=>{}:In,Sr=qe.size,Yr=P()(qe,Te),Pr=(0,J.Z)(Yr),Mn=Pr.forward,sr=Pr.spread,Ar=(0,n.useState)(!1),vr=o()(Ar,2),qr=vr[0],Dr=vr[1];return n.createElement(Vt,c()({color:ut,isFocused:qr,isHoverable:!0,isSelected:tn,size:Sr},Mn),kt,n.createElement(Qt,c()({ref:wt,isSelected:tn,onBlur:()=>Dr(!1),onChange:rr,onFocus:()=>Dr(!0)},sr)))});Dn.displayName="Swatch.Selectable",Vt.Selectable=Dn;const Pe=Vt;var xe=qe=>{var wt=qe.value,kt=qe.onChange,ut=qe.children,Ft=(0,n.useState)(()=>Ne(wt)),tn=o()(Ft,2),In=tn[0],rr=tn[1],Sr=(0,n.useRef)(!1);(0,n.useEffect)(()=>{Sr.current||rr(Ne(wt)),Sr.current=!1},[wt]);var Yr=Pr=>{Sr.current=!0,rr(Pr);var Mn=ht(Pr);Mn&&kt(Mn,Pr)};return n.createElement(B.Provider,{value:{color:In,setColor:Yr}},ut||n.createElement(n.Fragment,null,n.createElement(te,null),n.createElement(Je.Alpha,null),n.createElement(Je.Hue,null),n.createElement(jn,null)))};xe.Alpha=Je.Alpha,xe.Context=B,xe.Hue=Je.Hue,xe.Input=jn,xe.Map=te,xe.Swatch=Pe;const Ae=xe},614456:function(b,l,e){"use strict";e.d(l,{Z:()=>c,s:()=>i});var r=e(174161),o=e(545334),n=e.n(o),a=e(662457),i=(0,a.Z)(n().utc);const c=(0,r.createContext)(i)},662457:function(b,l,e){"use strict";e.d(l,{Z:()=>S});var r=e(642979),o=e.n(r),n=e(392338),a=e(103372),i=e.n(a),c=e(691059),u=e.n(c),f={SU:1,MO:2,TU:3,WE:4,TH:5,FR:6,SA:7},d={after:(T,s)=>{var v=s.after,m=v==null?void 0:v.valueOf();return m!==void 0&&T.valueOf()>(typeof m=="string"?parseInt(m):m)},before:(T,s)=>{var v=s.before,m=v==null?void 0:v.valueOf();return m!==void 0&&T.valueOf()<(typeof m=="string"?parseInt(m):m)},between:(T,s)=>{var v=s.between;return v!==void 0&&T.isBetween(v[0],v[1],null,"[]")},byDay:(T,s)=>{var v=s.byDay,m=T.day()+1;return(v==null?void 0:v.find(E=>m===f[E]))!==void 0},byMonth:(T,s)=>{var v=s.byMonth,m=T.month()+1;return(v==null?void 0:v.find(E=>m===E))!==void 0},byMonthDay:(T,s)=>{var v=s.byMonthDay,m=T.diff(T.clone().startOf("month"),"day")+1;return(v==null?void 0:v.find(E=>m===E))!==void 0},byYearDay:(T,s)=>{var v=s.byYearDay,m=T.diff(T.clone().startOf("year"),"day")+1;return(v==null?void 0:v.find(E=>m===E))!==void 0},byYearWeek:(T,s)=>{var v=s.byYearWeek,m=T.diff(T.clone().startOf("year"),"week")+1;return(v==null?void 0:v.find(E=>m===E))!==void 0},dates:(T,s)=>{var v=s.dates;return(v==null?void 0:v.find(m=>T.isSame(m,"day")))!==void 0},fn:(T,s)=>{var v=s.fn;return!!(v!=null&&v(T.clone()))}},h=Object.keys(d),g=(T,s)=>h.every(v=>T[v]?d[v](s,T):!0),_=(T,s)=>T.some(v=>g(v,s));const p=_;var y=e(869968);function O(T,s){var v=Object.keys(T);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(T);s&&(m=m.filter(function(E){return Object.getOwnPropertyDescriptor(T,E).enumerable})),v.push.apply(v,m)}return v}function P(T){for(var s=1;s<arguments.length;s++){var v=arguments[s]!=null?arguments[s]:{};s%2?O(Object(v),!0).forEach(function(m){o()(T,m,v[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(v)):O(Object(v)).forEach(function(m){Object.defineProperty(T,m,Object.getOwnPropertyDescriptor(v,m))})}return T}var C=T=>(T=T.toLowerCase(),T==="en-us"||T==="en"),A=function(s){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s().locale();function m(J){return s(J).locale(v)}function E(J){return u()(J)}function I(J){return s(J).isValid()}function L(J){return s(J).valueOf()}function W(J){return s(J).toISOString()}function F(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,me=arguments.length>1?arguments[1]:void 0;return s(J).startOf(me).valueOf()}function G(J,me){return s(J).endOf(me).valueOf()}function k(J,me,re){return s(me).diff(s(J),re)}function x(J,me,re){return s(J).add(me,re).valueOf()}function M(J){return s(J).date()}function B(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,me=arguments.length>1?arguments[1]:void 0,re=i()(J)?"00:00":s(J).format("HH:mm"),he=s(me).format("YYYY-MM-DD");return s("".concat(he," ").concat(re)).valueOf()}function R(J){return m(J).day()}function U(J){return m(0).day(J).format("dddd")}function j(J){var me=["S","M","T","W","T","F","S"];return C(v)?me[J]:m(0).day(J).format("dd")}function $(J){var me=C(v)?"h:mm A":"LT";return m(J).format(me)}function ee(J){return m(J).format("YYYY")}function te(J){return m(J).format("MMMM")}function ie(J){var me=v.split("-")[0],re=y.Yj[me]||y.Yj.default;return m(J).format(re)}function ne(J){return m(J).format("L")}var pe=m(0).startOf("week").day();function oe(){return pe}function q(J){var me=J.map(re=>{var he=P({},re);return i()(re.after)||(he.after=s(re.after)),i()(re.before)||(he.before=s(re.before)),i()(re.between)||(he.between=[s(re.between[0]),s(re.between[1])]),i()(re.dates)||(he.dates=re.dates.map(Ee=>s(Ee))),he});return re=>p(me,s(re).startOf("day"))}return{isValidTime:E,isValidISOString:I,getTime:L,getISOString:W,getStartOf:F,getEndOf:G,getDiff:k,addDelta:x,getDayOfMonth:M,getDateWithPreservedMinutes:B,getDayIndex:R,getDayLongName:U,getDayShortName:j,getFormattedTime:$,getFormattedYear:ee,getFormattedMonth:te,getFormattedMonthYear:ie,getFormattedDay:ne,getStartOfWeekIndex:oe,createRuleChecker:q}};const S=A},869968:function(b,l,e){"use strict";e.d(l,{Eo:()=>i,IK:()=>a,NV:()=>u,Yj:()=>f,ee:()=>c,yY:()=>n});var r=e(392338),o=e.n(r),n=function(d){return d.ISO_8601="iso-8601",d.UNIX_TIMESTAMP="unix-timestamp",d}({}),a=function(d){return d.DATE="date",d.RANGE="range",d.RANGE_INCLUSIVE="range_inclusive",d}({}),i=function(d){return d.FROM="from",d.TO="to",d}({}),c=7,u=Array.from(Array(c)),f={de:"MMMM YYYY",da:"MMMM YYYY",en:"MMMM YYYY",es:"MMMM [de] YYYY",fi:"MMMM[ta] YYYY",fr:"MMMM YYYY",it:"MMMM YYYY",ja:"YYYY\u5E74M\u6708",nl:"MMMM YYYY",pt:"MMMM [de] YYYY",sv:"MMMM [de] YYYY",tr:"MMMM YYYY",default:"MMMM YYYY"}},225347:function(b,l,e){"use strict";e.d(l,{Z:()=>Zn});var r=e(737968),o=e.n(r),n=e(174161),a=e(160553),i=e.n(a),c=e(680180),u=e.n(c),f=e(392338),d=e(860921),h=e.n(d),g=e(881707),_=e(412166),p=e(719484),y=e(47932),O=$n=>{var jt=$n.message,Rn=(0,y.F)(),jn=Rn.sizes,Tn=Rn.space,Nn=parseInt(jn.sizes[200],10),cn=parseInt(jn.sizes[200],10),or=Nn*5+cn+2*parseInt(Tn[1],10);return n.createElement(_.Z,{alignItems:"center",css:{textAlign:"center"},height:or,justifyContent:"center"},n.createElement(p.Z.Body,null,jt))};O.displayName="BoundaryMessage";const P=O;var C=e(856166),A=e(614456),S=e(869968),T=$n=>{var jt=$n.longName,Rn=$n.shortName;return n.createElement(_.Z,{alignItems:"center",flex:1,height:"sizes.200",justifyContent:"center",py:1,title:jt},n.createElement(p.Z.Body,{color:"gray.400",m:0},Rn))};const s=T;var v=()=>{var $n=(0,n.useContext)(A.Z),jt=$n.getStartOfWeekIndex();return n.createElement(_.Z,{flexDirection:"row"},S.NV.map((Rn,jn)=>{var Tn=(jn+jt)%S.ee;return n.createElement(s,{key:jn,longName:$n.getDayLongName(Tn),shortName:$n.getDayShortName(Tn)})}))};const m=v;var E=function(jt){var Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:NaN,Tn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:NaN,Nn=arguments.length>4?arguments[4]:void 0,cn=arguments.length>5?arguments[5]:void 0;return Nn===S.IK.DATE?jt===Rn:!Rn&&!jn?!1:cn===S.Eo.FROM&&Tn&&Tn<=jn?jt>=Tn&&jt<=jn:cn===S.Eo.TO&&Tn&&Tn>=Rn?jt<=Tn&&jt>=Rn:jt<Rn||jt>jn?!1:jn?Rn?jt<=jn:jt===jn:Tn&&Tn>Rn&&cn!==S.Eo.FROM?jt<=Tn:jt<=Rn},I=function(jt){var Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:NaN,Tn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:NaN,Nn=arguments.length>4?arguments[4]:void 0,cn=arguments.length>5?arguments[5]:void 0;return Nn===S.IK.DATE?jt===Rn:cn===S.Eo.TO&&Tn&&Tn>=Rn?jt===Tn:jn?jt===jn:Tn&&Tn>Rn&&cn!==S.Eo.FROM?jt===Tn:jt===Rn},L=function(jt){var Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:NaN,Tn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:NaN,Nn=arguments.length>4?arguments[4]:void 0;return Nn===S.Eo.FROM&&Tn&&Tn<=jn?jt===Tn:jn&&!Rn?jt===jn:jt===Rn},W=$n=>typeof $n=="number"||typeof $n>"u",F=$n=>typeof $n=="string"||typeof $n>"u",G=$n=>Array.isArray($n)&&$n.length===2&&(W($n[0])&&W($n[1])||F($n[0])&&F($n[1])),k=$n=>Array.isArray($n)&&($n==null?void 0:$n.length)>0&&$n[0]!==void 0&&(W($n[0])||F($n[0])),x=$n=>Array.isArray($n)&&($n==null?void 0:$n.length)===2&&$n[1]!==void 0&&(W($n[1])||F($n[1])),M=$n=>!$n[0]||!$n[1]?$n:$n.sort(),B=($n,jt)=>!$n||!jt?!1:$n<jt,R=($n,jt)=>{if(!x($n)||B($n[1],jt)){var Rn=[jt,void 0];return G(Rn)?Rn:[void 0,void 0]}var jn=[jt,$n[1]];return G(jn)?jn:[void 0,void 0]},U=($n,jt)=>{if(!k($n)||B(jt,$n[0])){var Rn=[void 0,jt];return G(Rn)?Rn:[void 0,void 0]}var jn=[$n[0],jt];return G(jn)?jn:[void 0,void 0]},j=e(642979),$=e.n(j),ee=e(66232);function te($n,jt){var Rn=Object.keys($n);if(Object.getOwnPropertySymbols){var jn=Object.getOwnPropertySymbols($n);jt&&(jn=jn.filter(function(Tn){return Object.getOwnPropertyDescriptor($n,Tn).enumerable})),Rn.push.apply(Rn,jn)}return Rn}function ie($n){for(var jt=1;jt<arguments.length;jt++){var Rn=arguments[jt]!=null?arguments[jt]:{};jt%2?te(Object(Rn),!0).forEach(function(jn){$()($n,jn,Rn[jn])}):Object.getOwnPropertyDescriptors?Object.defineProperties($n,Object.getOwnPropertyDescriptors(Rn)):te(Object(Rn)).forEach(function(jn){Object.defineProperty($n,jn,Object.getOwnPropertyDescriptor(Rn,jn))})}return $n}function ne($n,jt,Rn){var jn=(0,y.F)(),Tn=jn.colors,Nn;return $n&&(!jt||!Rn)&&(Nn=Tn.gray[800],jt&&!Rn?Nn="linear-gradient(to right, transparent 0%, transparent 50%, ".concat(Tn.gray[800]," 50%)"):Rn&&!jt&&(Nn="linear-gradient(to right, ".concat(Tn.gray[800]," 0%, ").concat(Tn.gray[800]," 50%, transparent 50%)"))),Nn}var pe=$n=>{var jt=$n.children,Rn=$n.unixDate,jn=$n.isFirst,Tn=jn===void 0?!0:jn,Nn=$n.isHidden,cn=$n.isDateDisabled,or=$n.isHovered,qn=or===void 0?!1:or,Hr=$n.isLast,fo=Hr===void 0?!0:Hr,Jr=$n.isOutside,ro=$n.isSelected,Xt=$n.isToday,Je=$n.onClick,At=$n.unixDisplayedMonth,xt=$n.onChange,Qt=$n.onMouseEnter,qt=$n.setFocusedDate,Te=$n.onMouseLeave,Gt=ne(ro,Tn,fo),un=n.useState(!1),Vt=u()(un,2),Dn=Vt[0],Wt=Vt[1],Pe=(0,n.useContext)(A.Z),xe=cn(Rn),Ae=wt=>{for(var kt=1;kt<40;++kt){var ut=Pe.addDelta(Rn,kt*wt,"day");if(!cn(ut)){qt(ut);return}}},qe=wt=>{var kt=ee.Z.isSpace(wt)||ee.Z.isEnter(wt),ut=ee.Z.isArrowLeft(wt),Ft=ee.Z.isArrowRight(wt),tn=ee.Z.isArrowUp(wt),In=ee.Z.isArrowDown(wt);(kt||ut||Ft||tn||In)&&(wt.preventDefault(),kt?xt(Rn):ut?Ae(-1):Ft?Ae(1):tn?Ae(-7):In&&Ae(7))};return n.createElement(g.Z,{"aria-label":Pe.getFormattedDay(Rn),"aria-pressed":ro,"data-test-cell-selected":ro?"1":"0","data-value":Rn,height:"sizes.250",onBlur:()=>Wt(!1),onClick:xe?void 0:Je,onFocus:()=>Wt(!0),onKeyDown:qe,onMouseEnter:Qt,onMouseLeave:Te,py:1,role:"button",sx:{cursor:xe?"not-allowed":Nn?"none":"pointer",flex:1,visibility:Nn?"hidden":void 0,outline:"none"},tabIndex:At===Rn?0:-1,width:"sizes.250"},n.createElement(_.Z,{background:Gt,justifyContent:"center"},n.createElement(_.Z,{alignItems:"center",backgroundColor:ro?"gray.800":"transparent",bg:ro?"gray.800":"transparent",borderColor:Dn?"gray.200":"transparent",borderRadius:"circle",borderStyle:"solid",borderWidth:Dn?2:0,height:"sizes.200",justifyContent:"center",sx:ie(ie({},qn&&{backgroundColor:ro?"gray.800":"base",borderColor:xe?"transparent":"gray.300"}),{},{outline:ro&&"2px solid transparent"}),textDecoration:ro?"underline":void 0,width:"sizes.200"},n.createElement(p.Z.Body,{color:(xe||Jr)&&!ro?"gray.600":"gray.100",css:{textDecoration:Xt?"underline":void 0},m:0},jt))))};const oe=pe;var q=$n=>{var jt=(0,n.useContext)(A.Z),Rn=jt.getStartOfWeekIndex(),jn=jt.getEndOf($n,"month"),Tn=(jt.getDayIndex($n)+S.ee-Rn)%S.ee,Nn=(Rn+6-jt.getDayIndex(jn))%S.ee,cn=jt.addDelta($n,-Tn,"day"),or=jt.addDelta(jn,Nn,"day"),qn=jt.getDiff(cn,or,"day")+1,Hr=Math.ceil(qn/S.ee);return{firstDay:cn,lastOfMonth:jn,weekCount:Hr}},J=$n=>{var jt=$n.onClick,Rn=$n.setFocusedDate,jn=$n.onMouseEnter,Tn=$n.onMouseLeave,Nn=$n.unixHoveredDate,cn=$n.hideOutsideDays,or=$n.isDateDisabled,qn=$n.mode,Hr=$n.rangePosition,fo=$n.onChange,Jr=$n.unixDisplayedMonth,ro=$n.unixSelectedDateFrom,Xt=$n.unixSelectedDateTo,Je=(0,n.useContext)(A.Z),At=Je.getStartOf(Date.now(),"day"),xt=q(Jr),Qt=xt.firstDay,qt=xt.lastOfMonth,Te=xt.weekCount,Gt=0;return n.createElement(n.Fragment,null,Array.from(Array(Te)).map((un,Vt)=>n.createElement(_.Z,{key:Vt,flexDirection:"row"},S.NV.map(()=>{var Dn=Je.addDelta(Qt,Gt++,"day"),Wt=Dn<Jr||Dn>qt;return n.createElement(oe,{key:Dn,isDateDisabled:or,isFirst:L(Dn,ro,Xt,Nn,Hr),isHidden:cn&&Wt,isHovered:Dn===Nn,isLast:I(Dn,ro,Xt,Nn,qn,Hr),isOutside:Wt,isSelected:E(Dn,ro,Xt,Nn,qn,Hr),isToday:Dn===At,onChange:fo,onClick:jt||(()=>fo(Dn)),onMouseEnter:jn,onMouseLeave:Tn,setFocusedDate:Rn,unixDate:Dn,unixDisplayedMonth:Jr},Je.getDayOfMonth(Dn))}))))};const me=J;var re=$n=>{var jt=$n.currentTarget.getAttribute("data-value");return jt===null?NaN:parseInt(jt,10)},he=$n=>{var jt=$n.hideOutsideDays,Rn=$n.isDateDisabled,jn=$n.mode,Tn=$n.rangePosition,Nn=$n.onChange,cn=$n.setUnixDisplayedMonth,or=$n.unixDisplayedMonth,qn=$n.unixSelectedDateFrom,Hr=$n.unixSelectedDateTo,fo=(0,n.useState)(),Jr=u()(fo,2),ro=Jr[0],Xt=Jr[1],Je=(0,n.useState)(),At=u()(Je,2),xt=At[0],Qt=At[1],qt=(0,n.useRef)(),Te=Gt=>{cn(Gt),Xt(Gt)};return n.useEffect(()=>{var Gt,un=(Gt=qt.current)===null||Gt===void 0?void 0:Gt.querySelector("[data-value='".concat(ro,"']"));un==null||un.focus()},[ro]),n.createElement(g.Z,{ref:qt,css:{outline:"none"}},n.createElement(m,null),n.createElement(me,{hideOutsideDays:jt,isDateDisabled:Rn,mode:jn,onChange:Nn,onClick:C.t.isWeb()?Gt=>{var un=re(Gt);Xt(un),Nn(un)}:void 0,onMouseEnter:Gt=>{Qt(re(Gt))},onMouseLeave:()=>{Qt(void 0)},rangePosition:Tn,setFocusedDate:Te,unixDisplayedMonth:or,unixHoveredDate:xt,unixSelectedDateFrom:qn,unixSelectedDateTo:Hr}))};const Ee=he;var fe=e(425629),H=e(707039),z=e(848201),_e=["Icon","isDisabled"],ae=$n=>{var jt=$n.Icon,Rn=$n.isDisabled,jn=o()($n,_e);return n.createElement(fe.Z.Element.Icon,i()({disabled:Rn,type:"button"},jn),n.createElement(jt,{color:Rn?"gray.600":"gray.100"}))};ae.displayName="Arrow";var ge=$n=>n.createElement(ae,i()({},$n,{Icon:H.Z}));ge.displayName="Left";var Be=$n=>n.createElement(ae,i()({},$n,{Icon:z.Z}));Be.displayName="Right";const Ke={Left:ge,Right:Be};var He=e(522129),ye=$n=>{var jt=$n.infiniteNavPrevious,Rn=jt===void 0?!1:jt,jn=$n.infiniteNavNext,Tn=jn===void 0?!1:jn,Nn=$n.setUnixDisplayedMonth,cn=$n.unixDisplayedMonth,or=$n.unixNavStart,qn=$n.unixNavEnd,Hr=(0,n.useContext)(A.Z),fo=(0,He.Q)(),Jr=fo.t;return n.createElement(_.Z,{alignItems:"center",flexDirection:"row",justifyContent:"space-between"},n.createElement(p.Z.Body,{"data-test":"nav-text",m:1},Hr.getFormattedMonthYear(cn)),n.createElement(_.Z,{flexDirection:"row",justifyContent:"space-between",m:2,width:"sizes.350"},n.createElement(Ke.Left,{"aria-label":Jr("Previous Month",{},{project:"rosetta-compositions"}),"data-test":"month-nav-previous",isDisabled:Hr.addDelta(cn,-1,"month")<or&&!Rn,onClick:()=>Nn(Hr.addDelta(cn,-1,"month"))}),n.createElement(Ke.Right,{"aria-label":Jr("Next Month",{},{project:"rosetta-compositions"}),"data-test":"month-nav-next",isDisabled:Hr.addDelta(cn,1,"month")>qn&&!Tn,onClick:()=>Nn(Hr.addDelta(cn,1,"month"))})))};const Le=ye;var Ue=e(103372),Xe=e.n(Ue),Fe=$n=>{var jt=(0,n.useContext)(A.Z);return $n?Array.isArray($n)?[$n[0]?jt.getStartOf($n[0],"minute"):void 0,$n[1]?jt.getStartOf($n[1],"minute"):void 0]:[jt.getStartOf($n,"minute")]:[]},ht=($n,jt,Rn,jn)=>{var Tn=(0,n.useContext)(A.Z),Nn=Fe($n),cn=u()(Nn,2),or=cn[0],qn=cn[1],Hr=Xe()(jt)?Number.NEGATIVE_INFINITY:Tn.getStartOf(jt,"month"),fo=Xe()(Rn)?Number.POSITIVE_INFINITY:Tn.getEndOf(Rn,"month"),Jr=Tn.createRuleChecker([...jn?Array.isArray(jn)?jn:[jn]:[],{before:Hr},{after:fo}]);return{isDateDisabled:Jr,unixCurrentMonth:Tn.getStartOf(qn||or,"month"),unixNavEnd:fo,unixNavStart:Hr,unixSelectedDateFrom:or?Tn.getStartOf(or,"day"):void 0,unixSelectedDateTo:qn?Tn.getStartOf(qn,"day"):void 0,unixValue:Nn}},Ne=["boundaryMessages","disable","fromMonth","hideOutsideDays","mode","onChange","toMonth","value","rangePosition","valueType"];function Ce($n){return typeof $n=="string"||typeof $n=="number"}function we($n){return Array.isArray($n)&&!$n.length}function $e($n){return Array.isArray($n)&&$n.length===2}var Ot=$n=>{var jt=$n.boundaryMessages,Rn=jt===void 0?{}:jt,jn=$n.disable,Tn=jn===void 0?[]:jn,Nn=$n.fromMonth,cn=$n.hideOutsideDays,or=cn===void 0?!1:cn,qn=$n.mode,Hr=qn===void 0?S.IK.DATE:qn,fo=$n.onChange,Jr=fo===void 0?h():fo,ro=$n.toMonth,Xt=$n.value,Je=$n.rangePosition,At=$n.valueType,xt=At===void 0?S.yY.UNIX_TIMESTAMP:At,Qt=o()($n,Ne),qt=(0,n.useContext)(A.Z),Te=ht(Xt,Nn,ro,Tn),Gt=Te.isDateDisabled,un=Te.unixCurrentMonth,Vt=Te.unixNavEnd,Dn=Te.unixNavStart,Wt=Te.unixSelectedDateFrom,Pe=Te.unixSelectedDateTo,xe=Te.unixValue,Ae=(0,n.useState)(un),qe=u()(Ae,2),wt=qe[0],kt=qe[1],ut;Rn.before&&wt<Dn?ut=Rn.before:Rn.after&&wt>Vt&&(ut=Rn.after);var Ft=rr=>typeof rr=="number"&&xt===S.yY.ISO_8601?qt.getISOString(rr):typeof rr=="string"&&xt===S.yY.UNIX_TIMESTAMP?qt.getTime(rr):rr,tn=rr=>{var Sr=qt.getStartOf(rr,"month");kt(Sr)},In=rr=>{var Sr=qt.getStartOf(rr,"month");kt(Sr);var Yr=Jr;if(Hr===S.IK.DATE)Yr(Ft(qt.getDateWithPreservedMinutes(xe[0],rr)));else if(Hr===S.IK.RANGE||Hr===S.IK.RANGE_INCLUSIVE)if(Ce(Xt)||we(Xt)||$e(Xt)||xt===S.yY.UNIX_TIMESTAMP&&!qt.isValidTime(Xt[0])||xt===S.yY.ISO_8601&&typeof Xt[0]=="string"&&!qt.isValidISOString(Xt[0])){var Pr=Ft(rr);if(Yr([Pr]),Je===S.Eo.FROM){var Mn=R(Xt,Pr);Yr(M(Mn))}if(Je===S.Eo.TO){var sr=U(Xt,Pr);Hr===S.IK.RANGE_INCLUSIVE&&sr[1]&&(sr[1]=Ft(qt.getEndOf(sr[1],"day"))),Yr(M(sr))}}else{var Ar=[Ft(Xt[0]),Ft(rr)].sort();G(Ar)&&(Hr===S.IK.RANGE_INCLUSIVE&&Ar[1]&&(Ar[1]=Ft(qt.getEndOf(Ar[1],"day"))),Yr(Ar))}else console.warn('Invalid value: "'.concat(Hr,'" provided for "mode" prop. Valid options'),Object.values(S.IK))};return n.createElement(g.Z,i()({role:"group"},Qt),n.createElement(Le,{infiniteNavNext:!!Rn.after,infiniteNavPrevious:!!Rn.before,setUnixDisplayedMonth:tn,unixDisplayedMonth:wt,unixNavEnd:Vt,unixNavStart:Dn}),ut?n.createElement(P,{message:ut}):n.createElement(Ee,{hideOutsideDays:or,isDateDisabled:Gt,mode:Hr,onChange:In,rangePosition:Je,setUnixDisplayedMonth:tn,unixDisplayedMonth:wt,unixSelectedDateFrom:Wt,unixSelectedDateTo:Pe}))};const Pt=Ot;var Ie=e(184791),Bt=e(619461),mt=e(545334),rt=e.n(mt),ce=e(662457),Re=A.Z.Provider,nt=$n=>{var jt=$n.children,Rn=$n.isUTC,jn=$n.locale,Tn=(0,n.useMemo)(()=>(0,ce.Z)(Rn?rt().utc:rt(),jn),[Rn,jn]);return n.createElement(Re,{value:Tn},jt)};const st=nt;var vt=n.lazy(()=>Promise.all([e.e("35633"),e.e("28128")]).then(e.bind(e,807141))),ze=$n=>{var jt=$n.children;return n.createElement(_.Z,{alignItems:"center",height:"sizes.750",justifyContent:"center"},jt)},It=()=>n.createElement(ze,null,n.createElement(Ie.Z,null));function on($n){var jt=$n.timeZone,Rn=(0,He.Q)(),jn=Rn.t;return n.createElement(ze,null,n.createElement(g.Z,null,n.createElement(Bt.Z,{color:"red.500",display:"block"})),n.createElement(p.Z.Body,{m:0,pl:1},jn('Failed to load timezone "{timeZone}". Retry connection or verify Squarespace site availability.',{timeZone:jt},{project:"rosetta-compositions"})))}class Pn extends n.Component{constructor(){super(...arguments),$()(this,"state",{error:null})}componentDidCatch(jt){this.setState({error:jt})}render(){var jt=this.props,Rn=jt.children,jn=jt.timeZone;return this.state.error?n.createElement(on,{timeZone:jn}):Rn}}var Yn=$n=>{var jt=$n.children,Rn=$n.locale,jn=$n.timeZone,Tn=jn==="Etc/UTC";return!jn||Tn?n.createElement(st,{isUTC:Tn,locale:Rn},jt):n.createElement(Pn,{timeZone:jn},n.createElement(n.Suspense,{fallback:n.createElement(It,null)},n.createElement(vt,{locale:Rn,timeZone:jn},jt)))};const Ln=Yn;var bn=["locale","timeZone"],ir=$n=>{var jt=$n.locale,Rn=jt===void 0?void 0:jt,jn=$n.timeZone,Tn=jn===void 0?void 0:jn,Nn=o()($n,bn),cn=(0,n.useContext)(A.Z),or=cn!==A.s;return or?n.createElement(Pt,Nn):n.createElement(Ln,{locale:Rn,timeZone:Tn},n.createElement(Pt,Nn))};const Zn=Object.assign(ir,{MODE:S.IK,VALUE_TYPE:S.yY,RANGE_POSITION:S.Eo,DateUtilContext:A.Z,DateUtilProvider:Ln,createDateUtil:ce.Z,useUnixValues:ht})},789935:function(b,l,e){"use strict";e.d(l,{V:()=>Ce});var r=e(725538),o=e(160553),n=e.n(o),a=e(174161),i=e(343701),c=e(425629),u=e(522129),f=we=>{var $e=(0,u.Q)(),Ot=$e.t;return a.createElement(c.Z.Element.Icon,n()({"aria-label":Ot("Close",null,{project:"rosetta-compositions",notes:"close a modal dialog"})},we),a.createElement(i.Z,null))},d=e(392338),h=e(642979),g=e.n(h),_=e(737968),p=e.n(_),y=e(412166),O=["children","sx"];function P(we,$e){var Ot=Object.keys(we);if(Object.getOwnPropertySymbols){var Pt=Object.getOwnPropertySymbols(we);$e&&(Pt=Pt.filter(function(Ie){return Object.getOwnPropertyDescriptor(we,Ie).enumerable})),Ot.push.apply(Ot,Pt)}return Ot}function C(we){for(var $e=1;$e<arguments.length;$e++){var Ot=arguments[$e]!=null?arguments[$e]:{};$e%2?P(Object(Ot),!0).forEach(function(Pt){g()(we,Pt,Ot[Pt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(we,Object.getOwnPropertyDescriptors(Ot)):P(Object(Ot)).forEach(function(Pt){Object.defineProperty(we,Pt,Object.getOwnPropertyDescriptor(Ot,Pt))})}return we}var A=we=>{var $e=we.children,Ot=we.sx,Pt=Ot===void 0?{}:Ot,Ie=p()(we,O);return a.createElement(y.Z,n()({flexGrow:1,flexShrink:1,mt:{_:4,"mobile-*":3},pb:{_:6,"mobile-*":4},px:{_:6,"mobile-*":4},overflowY:"auto"},Ie,{sx:C({scrollbarWidth:"thin"},Pt)}),$e)},S=e(881707),T=["children"],s=["children","sx"];function v(we,$e){var Ot=Object.keys(we);if(Object.getOwnPropertySymbols){var Pt=Object.getOwnPropertySymbols(we);$e&&(Pt=Pt.filter(function(Ie){return Object.getOwnPropertyDescriptor(we,Ie).enumerable})),Ot.push.apply(Ot,Pt)}return Ot}function m(we){for(var $e=1;$e<arguments.length;$e++){var Ot=arguments[$e]!=null?arguments[$e]:{};$e%2?v(Object(Ot),!0).forEach(function(Pt){g()(we,Pt,Ot[Pt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(we,Object.getOwnPropertyDescriptors(Ot)):v(Object(Ot)).forEach(function(Pt){Object.defineProperty(we,Pt,Object.getOwnPropertyDescriptor(Ot,Pt))})}return we}var E=we=>{var $e=we.children,Ot=p()(we,T);return a.createElement(y.Z,n()({alignItems:{"mobile-*":"stretch"},borderTop:1,borderTopColor:"border.default",flexDirection:{_:"row","mobile-*":"column"},gap:2,px:{_:6,"mobile-*":4},py:{_:4,"mobile-*":3}},Ot),$e)},I=we=>{var $e=we.children,Ot=we.sx,Pt=p()(we,s);return a.createElement(S.Z,n()({borderTop:1,borderTopColor:"border.default",display:"grid",px:{_:6,"mobile-*":4},py:{_:4,"mobile-*":3},sx:m({gridTemplateColumns:"1fr auto 1fr",gap:2,justifyItems:"center",alignItems:"center"},Ot)},Pt),$e)},L=Object.assign(E,{Grid:I}),W=e(719484),F=e(322533),G=(0,a.createContext)({addDescriptionId:()=>{},addLabelId:()=>{}}),k=["children"],x=["children"],M=["children"],B=["children"],R=["id"],U=["id"],j=["id"],$=we=>{var $e=we.children,Ot=p()(we,k);return a.createElement(y.Z,n()({alignItems:"start",gap:2,justifyContent:"space-between",px:{_:6,"mobile-*":4}},Ot),$e)},ee=we=>{var $e=we.children,Ot=p()(we,x);return a.createElement($,n()({pt:{_:6,"mobile-*":4}},Ot),$e)},te=we=>{var $e=we.children,Ot=p()(we,M);return a.createElement(ee,n()({pb:2},Ot),$e)},ie=we=>{var $e=we.children,Ot=p()(we,B);return a.createElement($,n()({borderBottom:1,borderBottomColor:"border.default",py:4},Ot),$e)},ne=we=>{var $e=we.id,Ot=p()(we,R),Pt=(0,a.useContext)(G),Ie=Pt.addLabelId,Bt=(0,F.Z)(Ie,$e);return a.createElement(W.Z.Subtitle,n()({as:"h1",id:Bt},Ot))},pe=we=>{var $e=we.id,Ot=p()(we,U),Pt=(0,a.useContext)(G),Ie=Pt.addLabelId,Bt=(0,F.Z)(Ie,$e);return a.createElement(W.Z.Title,n()({as:"h1",id:Bt},Ot))},oe=we=>{var $e=we.id,Ot=p()(we,j),Pt=(0,a.useContext)(G),Ie=Pt.addDescriptionId,Bt=(0,F.Z)(Ie,$e);return a.createElement(W.Z.Body,n()({color:"fg.muted",fontWeight:"medium",id:Bt},Ot))},q=Object.assign(ee,{Description:oe,Large:te,Title:Object.assign(ne,{Large:pe}),WithBar:ie}),J=e(411094),me=e(47932),re=["sx","variant"];function he(we,$e){var Ot=Object.keys(we);if(Object.getOwnPropertySymbols){var Pt=Object.getOwnPropertySymbols(we);$e&&(Pt=Pt.filter(function(Ie){return Object.getOwnPropertyDescriptor(we,Ie).enumerable})),Ot.push.apply(Ot,Pt)}return Ot}function Ee(we){for(var $e=1;$e<arguments.length;$e++){var Ot=arguments[$e]!=null?arguments[$e]:{};$e%2?he(Object(Ot),!0).forEach(function(Pt){g()(we,Pt,Ot[Pt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(we,Object.getOwnPropertyDescriptors(Ot)):he(Object(Ot)).forEach(function(Pt){Object.defineProperty(we,Pt,Object.getOwnPropertyDescriptor(Ot,Pt))})}return we}var fe=we=>{var $e=we.sx,Ot=we.variant,Pt=Ot===void 0?"light":Ot,Ie=p()(we,re),Bt=(0,me.F)(),mt=Bt.sizes,rt=(0,u.Q)(),ce=rt.t,Re=Pt==="light";return a.createElement(c.Z.Element.Icon,n()({"aria-label":ce("Close",null,{project:"rosetta-compositions",notes:"close a modal dialog"}),bg:Re?"gray.900":"bg.strong",borderRadius:"circle",right:mt.sizes[150],size:"sizes.150",top:mt.sizes[150]},Ie,{sx:Ee({":focus:before":{outlineColor:Re?"gray.900":void 0},position:"absolute"},$e)}),a.createElement(J.Z,{color:Re?"fg.default":"gray.900"}))},H=we=>a.createElement(S.Z,n()({pt:3},we)),z=e(680180),_e=e.n(z),ae=e(748599),ge=()=>{var we=(0,me.F)(),$e=we.sizes,Ot=$e.sizes[900],Pt=(0,a.useMemo)(()=>["@media (max-width: calc(".concat(Ot," - 1px))"),"@media (min-width: ".concat(Ot,")")],[Ot]);return Pt},Be=["children","size","sx"];function Ke(we,$e){var Ot=Object.keys(we);if(Object.getOwnPropertySymbols){var Pt=Object.getOwnPropertySymbols(we);$e&&(Pt=Pt.filter(function(Ie){return Object.getOwnPropertyDescriptor(we,Ie).enumerable})),Ot.push.apply(Ot,Pt)}return Ot}function He(we){for(var $e=1;$e<arguments.length;$e++){var Ot=arguments[$e]!=null?arguments[$e]:{};$e%2?Ke(Object(Ot),!0).forEach(function(Pt){g()(we,Pt,Ot[Pt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(we,Object.getOwnPropertyDescriptors(Ot)):Ke(Object(Ot)).forEach(function(Pt){Object.defineProperty(we,Pt,Object.getOwnPropertyDescriptor(Ot,Pt))})}return we}var ye=r.Z.ModalContext,Le=r.Z.TransitionContext,Ue={small:"sizes.800",medium:"sizes.900"},Xe=we=>{var $e=we.children,Ot=we.size,Pt=Ot===void 0?"small":Ot,Ie=we.sx,Bt=p()(we,Be),mt=(0,a.useContext)(ye),rt=mt.id,ce=(0,a.useContext)(Le),Re=ce.phase,nt=ce.phaseDuration,st=(0,ae.Z)(),vt=_e()(st,2),ze=vt[0],It=vt[1],on=(0,ae.Z)(),Pn=_e()(on,2),Yn=Pn[0],Ln=Pn[1],bn=(0,a.useMemo)(()=>({addDescriptionId:Ln,addLabelId:It}),[Ln,It]),ir=(0,me.F)(),Zn=ir.space,$n=ge(),jt=_e()($n,1),Rn=jt[0];return a.createElement(G.Provider,{value:bn},a.createElement(y.Z,n()({alignItems:"stretch","aria-describedby":Yn,"aria-labelledby":ze,"aria-modal":!0,bg:"bg.base",borderBottomLeftRadius:{"mobile-*":0},borderBottomRightRadius:{"mobile-*":0},borderRadius:6,boxShadow:500,"data-modal-id":rt,"data-phase":Re,flexDirection:"column",height:{"mobile-*":"calc(100svh - var(--mobile-top))"},margin:"auto",maxHeight:{_:"600px","mobile-*":"unset"},maxWidth:{"mobile-*":"100svw"},minHeight:{_:"450px","mobile-*":"unset"},minWidth:{"mobile-*":"328px"},opacity:{_:"var(--opacity)","mobile-*":1},overflow:"hidden",position:{_:"fixed","mobile-*":"relative"},role:"dialog",style:{transitionDuration:Re?"".concat(nt,"ms"):0},top:{"mobile-*":"var(--mobile-top)"},transform:{_:"scale(var(--scale))","mobile-*":"translateY(var(--translate-y))"},transitionProperty:{_:"opacity, transform","mobile-*":"transform"}},Bt,{sx:He(He({"--mobile-top":Zn[2],"--translate-y":"var(--translate-y-when-open)","--translate-y-when-open":"0","--translate-y-when-closed":"100svh",inset:0,width:Ue[Pt]},Ie),{},{[Rn]:He({width:Ue.small},Ie==null?void 0:Ie[Rn]),"@starting-style":He({"--opacity":"0","--scale":"0.92","--translate-y":"var(--translate-y-when-closed)"},Ie==null?void 0:Ie["@starting-style"]),'&[data-phase="entering"]':He({"--opacity":"0","--scale":"0.92","--translate-y":"var(--translate-y-when-closed)"},Ie==null?void 0:Ie['&[data-phase="entering"]']),'&[data-phase="enteringActive"]':He({"--opacity":"1","--scale":"1","--translate-y":"var(--translate-y-when-open)",transitionTimingFunction:"ease-out"},Ie==null?void 0:Ie['&[data-phase="enteringActive"]']),'&[data-phase="exiting"]':He({"--opacity":"1","--scale":"1","--translate-y":"var(--translate-y-when-open)"},Ie==null?void 0:Ie['&[data-phase="exiting"]']),'&[data-phase="exitingActive"]':He({"--opacity":"0","--scale":"0.92","--translate-y":"var(--translate-y-when-closed)",transitionTimingFunction:"ease-in"},Ie==null?void 0:Ie['&[data-phase="exitingActive"]'])})}),$e))},Fe=e(885630),ht=["children"],Ne=we=>{var $e=we.children,Ot=p()(we,ht),Pt=(0,me.F)(),Ie=Pt.breakpoints,Bt=(0,Fe.i)(Ie),mt=Bt.platform,rt=mt==="mobile"?300:void 0;return a.createElement(r.Z.Transition,n()({duration:rt},Ot),$e)},Ce=Object.assign(Xe,{CloseButton:f,Content:A,Footer:L,Header:q,ImageCloseButton:fe,ImageSpacer:H,Modal:r.Z.Base,Overlay:r.Z.Overlay,Transition:Ne,useSizeMediaQuery:ge})},617938:function(b,l,e){"use strict";e.d(l,{s:()=>ar});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(174161),c=function(rn,Rt,Qe,Ye){function yt(Ze){return Ze instanceof Qe?Ze:new Qe(function(Mt){Mt(Ze)})}return new(Qe||(Qe=Promise))(function(Ze,Mt){function ot(Ht){try{St(Ye.next(Ht))}catch(er){Mt(er)}}function et(Ht){try{St(Ye.throw(Ht))}catch(er){Mt(er)}}function St(Ht){Ht.done?Ze(Ht.value):yt(Ht.value).then(ot,et)}St((Ye=Ye.apply(rn,Rt||[])).next())})},u=function(rn,Rt){var Qe={label:0,sent:function(){if(Ze[0]&1)throw Ze[1];return Ze[1]},trys:[],ops:[]},Ye,yt,Ze,Mt;return Mt={next:ot(0),throw:ot(1),return:ot(2)},typeof Symbol=="function"&&(Mt[Symbol.iterator]=function(){return this}),Mt;function ot(St){return function(Ht){return et([St,Ht])}}function et(St){if(Ye)throw new TypeError("Generator is already executing.");for(;Mt&&(Mt=0,St[0]&&(Qe=0)),Qe;)try{if(Ye=1,yt&&(Ze=St[0]&2?yt.return:St[0]?yt.throw||((Ze=yt.return)&&Ze.call(yt),0):yt.next)&&!(Ze=Ze.call(yt,St[1])).done)return Ze;switch(yt=0,Ze&&(St=[St[0]&2,Ze.value]),St[0]){case 0:case 1:Ze=St;break;case 4:return Qe.label++,{value:St[1],done:!1};case 5:Qe.label++,yt=St[1],St=[0];continue;case 7:St=Qe.ops.pop(),Qe.trys.pop();continue;default:if(Ze=Qe.trys,!(Ze=Ze.length>0&&Ze[Ze.length-1])&&(St[0]===6||St[0]===2)){Qe=0;continue}if(St[0]===3&&(!Ze||St[1]>Ze[0]&&St[1]<Ze[3])){Qe.label=St[1];break}if(St[0]===6&&Qe.label<Ze[1]){Qe.label=Ze[1],Ze=St;break}if(Ze&&Qe.label<Ze[2]){Qe.label=Ze[2],Qe.ops.push(St);break}Ze[2]&&Qe.ops.pop(),Qe.trys.pop();continue}St=Rt.call(rn,Qe)}catch(Ht){St=[6,Ht],yt=0}finally{Ye=Ze=0}if(St[0]&5)throw St[1];return{value:St[0]?St[1]:void 0,done:!0}}},f=function(){function rn(Rt){this.handlerCount=0,this.handlers=[],this.options=Rt}return Object.defineProperty(rn.prototype,"numberOfHandlers",{get:function(){return this.handlers.filter(function(Rt){return!!Rt}).length},enumerable:!1,configurable:!0}),rn.prototype.emit=function(Rt){var Qe,Ye;return c(this,void 0,void 0,function(){var yt,Ze,Mt,ot,et;return u(this,function(St){switch(St.label){case 0:for(yt=[],(Ye=(Qe=this.options)===null||Qe===void 0?void 0:Qe.logger)===null||Ye===void 0||Ye.call(Qe,"emit",Rt),Ze=0,Mt=this.handlers;Ze<Mt.length;Ze++)ot=Mt[Ze],ot&&(et=ot(Rt),typeof(et==null?void 0:et.then)=="function"&&yt.push(et));return[4,Promise.all(yt)];case 1:return St.sent(),[2]}})})},rn.prototype.on=function(Rt){var Qe,Ye;return(Ye=(Qe=this.options)===null||Qe===void 0?void 0:Qe.logger)===null||Ye===void 0||Ye.call(Qe,"on"),this.handlers.push(Rt),this.handlerCount++},rn.prototype.off=function(Rt){this.delete(Rt)},rn.prototype.delete=function(Rt){var Qe,Ye;(Ye=(Qe=this.options)===null||Qe===void 0?void 0:Qe.logger)===null||Ye===void 0||Ye.call(Qe,"off"),this.handlers[Rt]=null},rn}(),d=function(rn,Rt,Qe,Ye){function yt(Ze){return Ze instanceof Qe?Ze:new Qe(function(Mt){Mt(Ze)})}return new(Qe||(Qe=Promise))(function(Ze,Mt){function ot(Ht){try{St(Ye.next(Ht))}catch(er){Mt(er)}}function et(Ht){try{St(Ye.throw(Ht))}catch(er){Mt(er)}}function St(Ht){Ht.done?Ze(Ht.value):yt(Ht.value).then(ot,et)}St((Ye=Ye.apply(rn,Rt||[])).next())})},h=function(rn,Rt){var Qe={label:0,sent:function(){if(Ze[0]&1)throw Ze[1];return Ze[1]},trys:[],ops:[]},Ye,yt,Ze,Mt;return Mt={next:ot(0),throw:ot(1),return:ot(2)},typeof Symbol=="function"&&(Mt[Symbol.iterator]=function(){return this}),Mt;function ot(St){return function(Ht){return et([St,Ht])}}function et(St){if(Ye)throw new TypeError("Generator is already executing.");for(;Mt&&(Mt=0,St[0]&&(Qe=0)),Qe;)try{if(Ye=1,yt&&(Ze=St[0]&2?yt.return:St[0]?yt.throw||((Ze=yt.return)&&Ze.call(yt),0):yt.next)&&!(Ze=Ze.call(yt,St[1])).done)return Ze;switch(yt=0,Ze&&(St=[St[0]&2,Ze.value]),St[0]){case 0:case 1:Ze=St;break;case 4:return Qe.label++,{value:St[1],done:!1};case 5:Qe.label++,yt=St[1],St=[0];continue;case 7:St=Qe.ops.pop(),Qe.trys.pop();continue;default:if(Ze=Qe.trys,!(Ze=Ze.length>0&&Ze[Ze.length-1])&&(St[0]===6||St[0]===2)){Qe=0;continue}if(St[0]===3&&(!Ze||St[1]>Ze[0]&&St[1]<Ze[3])){Qe.label=St[1];break}if(St[0]===6&&Qe.label<Ze[1]){Qe.label=Ze[1],Ze=St;break}if(Ze&&Qe.label<Ze[2]){Qe.label=Ze[2],Qe.ops.push(St);break}Ze[2]&&Qe.ops.pop(),Qe.trys.pop();continue}St=Rt.call(rn,Qe)}catch(Ht){St=[6,Ht],yt=0}finally{Ye=Ze=0}if(St[0]&5)throw St[1];return{value:St[0]?St[1]:void 0,done:!0}}},g=function(){function rn(Rt,Qe){this.onDidChangeTreeDataEmitter=new f,this.data={items:Rt},this.setItemName=Qe}return rn.prototype.getTreeItem=function(Rt){return d(this,void 0,void 0,function(){return h(this,function(Qe){return[2,this.data.items[Rt]]})})},rn.prototype.onChangeItemChildren=function(Rt,Qe){return d(this,void 0,void 0,function(){return h(this,function(Ye){return this.data.items[Rt].children=Qe,this.onDidChangeTreeDataEmitter.emit([Rt]),[2]})})},rn.prototype.onDidChangeTreeData=function(Rt){var Qe=this,Ye=this.onDidChangeTreeDataEmitter.on(function(yt){return Rt(yt)});return{dispose:function(){return Qe.onDidChangeTreeDataEmitter.off(Ye)}}},rn.prototype.onRenameItem=function(Rt,Qe){return d(this,void 0,void 0,function(){return h(this,function(Ye){return this.setItemName&&(this.data.items[Rt.index]=this.setItemName(Rt,Qe)),[2]})})},rn}(),_;(function(rn){rn.DoubleClickItemToExpand="double-click-item-to-expand",rn.ClickItemToExpand="click-item-to-expand",rn.ClickArrowToExpand="click-arrow-to-expand"})(_||(_={}));var p=function(){return p=Object.assign||function(rn){for(var Rt,Qe=1,Ye=arguments.length;Qe<Ye;Qe++){Rt=arguments[Qe];for(var yt in Rt)Object.prototype.hasOwnProperty.call(Rt,yt)&&(rn[yt]=Rt[yt])}return rn},p.apply(this,arguments)},y=function(rn,Rt){return{mode:rn.mode,createInteractiveElementProps:function(Qe,Ye,yt,Ze){return p(p({},Rt.createInteractiveElementProps(Qe,Ye,yt,Ze)),rn.createInteractiveElementProps(Qe,Ye,yt,Ze))}}},O=function(rn){return rn.ctrlKey||navigator.platform.toUpperCase().indexOf("MAC")>=0&&rn.metaKey},P=function(){function rn(Rt){this.mode=_.DoubleClickItemToExpand,this.environment=Rt}return rn.prototype.createInteractiveElementProps=function(Rt,Qe,Ye,yt){var Ze=this;return{onClick:function(Mt){Ye.focusItem(),Mt.shiftKey?Ye.selectUpTo(!O(Mt)):O(Mt)?yt.isSelected?Ye.unselectItem():Ye.addToSelectedItems():Ye.selectItem()},onDoubleClick:function(){Ye.focusItem(),Ye.selectItem(),Rt.isFolder&&Ye.toggleExpandedState(),(!Rt.isFolder||Ze.environment.canInvokePrimaryActionOnItemContainer)&&Ye.primaryAction()},onFocus:function(){Ye.focusItem()},onDragStart:function(Mt){Mt.dataTransfer.dropEffect="move",Ye.startDragging()},onDragOver:function(Mt){Mt.preventDefault()},draggable:yt.canDrag&&!yt.isRenaming,tabIndex:yt.isRenaming?void 0:yt.isFocused?0:-1}},rn}(),C=function(){function rn(Rt){this.mode=_.ClickItemToExpand,this.environment=Rt}return rn.prototype.createInteractiveElementProps=function(Rt,Qe,Ye,yt){var Ze=this;return{onClick:function(Mt){Ye.focusItem(),Mt.shiftKey?Ye.selectUpTo(!O(Mt)):O(Mt)?yt.isSelected?Ye.unselectItem():Ye.addToSelectedItems():(Rt.isFolder&&Ye.toggleExpandedState(),Ye.selectItem(),(!Rt.isFolder||Ze.environment.canInvokePrimaryActionOnItemContainer)&&Ye.primaryAction())},onFocus:function(){Ye.focusItem()},onDragStart:function(Mt){Mt.dataTransfer.dropEffect="move",Ye.startDragging()},onDragOver:function(Mt){Mt.preventDefault()},draggable:yt.canDrag&&!yt.isRenaming,tabIndex:yt.isRenaming?void 0:yt.isFocused?0:-1}},rn}(),A=function(){function rn(Rt){this.mode=_.ClickItemToExpand,this.environment=Rt}return rn.prototype.createInteractiveElementProps=function(Rt,Qe,Ye,yt){var Ze=this;return{onClick:function(Mt){Ye.focusItem(),Mt.shiftKey?Ye.selectUpTo(!O(Mt)):O(Mt)?yt.isSelected?Ye.unselectItem():Ye.addToSelectedItems():(Ye.selectItem(),(!Rt.isFolder||Ze.environment.canInvokePrimaryActionOnItemContainer)&&Ye.primaryAction())},onFocus:function(){Ye.focusItem()},onDragStart:function(Mt){Mt.dataTransfer.dropEffect="move",Ye.startDragging()},onDragOver:function(Mt){Mt.preventDefault()},draggable:yt.canDrag&&!yt.isRenaming,tabIndex:yt.isRenaming?void 0:yt.isFocused?0:-1}},rn}(),S=function(rn,Rt){switch(rn){case _.DoubleClickItemToExpand:return new P(Rt);case _.ClickItemToExpand:return new C(Rt);case _.ClickArrowToExpand:return new A(Rt);default:throw Error("Unknown interaction mode ".concat(rn))}},T=i.createContext(null),s=function(){return i.useContext(T)},v=function(rn){var Rt=rn.children,Qe=Ne(),Ye=Qe.defaultInteractionMode,yt=(0,i.useMemo)(function(){var Ze;return Ye&&typeof Ye!="string"?Ye.extends?y(Ye,S(Ye.extends,Qe)):Ye:S((Ze=Ye)!==null&&Ze!==void 0?Ze:_.ClickItemToExpand,Qe)},[]);return i.createElement(T.Provider,{value:yt},Rt)},m=function(){var rn=Ne();return(0,i.useCallback)(function(Rt,Qe){for(var Ye=rn.linearItems[Qe],yt=Ye[Rt].depth,Ze=Rt;Ye[Ze]&&Ye[Ze].depth!==yt-1;Ze-=1);var Mt=Ye[Ze];return Mt||(Mt={item:rn.trees[Qe].rootItem,depth:0},Ze=0),{parent:Mt,parentLinearIndex:Ze}},[rn.linearItems,rn.trees])},E=function(){return E=Object.assign||function(rn){for(var Rt,Qe=1,Ye=arguments.length;Qe<Ye;Qe++){Rt=arguments[Qe];for(var yt in Rt)Object.prototype.hasOwnProperty.call(Rt,yt)&&(rn[yt]=Rt[yt])}return rn},E.apply(this,arguments)},I=function(rn,Rt){return rn.map(function(Qe){return[Qe,Rt(Qe)]}).reduce(function(Qe,Ye){var yt,Ze=Ye[0],Mt=Ye[1];return E(E({},Qe),(yt={},yt[Ze]=Mt,yt))},{})},L=function(){return typeof document<"u"?document:void 0},W=function(rn){var Rt,Qe,Ye=(Rt=L())===null||Rt===void 0?void 0:Rt.querySelector('[data-rct-tree="'.concat(rn,'"] [data-rct-item-container="true"]'));return(Qe=Ye==null?void 0:Ye.offsetHeight)!==null&&Qe!==void 0?Qe:5},F=function(rn,Rt){return rn.clientX<Rt.left||rn.clientX>Rt.right||rn.clientY<Rt.top||rn.clientY>Rt.bottom},G=function(rn){var Rt=(0,i.useRef)(rn);return Rt.current=rn,Rt},k=function(rn){var Rt=G(rn);return(0,i.useCallback)(function(){for(var Qe=[],Ye=0;Ye<arguments.length;Ye++)Qe[Ye]=arguments[Ye];return Rt.current.apply(Rt,Qe)},[Rt])},x=function(rn,Rt,Qe,Ye,yt,Ze,Mt,ot,et){var St=(rn-Rt)/Qe,Ht=Ye[yt],er=Math.max(0,Math.floor(St));if(er>Ht.length-1)return{linearIndex:Ht.length-1,offset:"bottom",veryBottom:!0};var Mr=Ht[er],mn=Ze[Mr.item],Un,hr=et?mn!=null&&mn.isFolder&&Mt||ot?.2:.5:0;return St%1<hr?Un="top":St%1>1-hr&&(Un="bottom"),{linearIndex:er,offset:Un}},M=function(){var rn=m(),Rt=function(Qe,Ye,yt){var Ze=rn(Ye,Qe),Mt=Ze.parentLinearIndex,ot=Ze.parent;return yt.find(function(et){return et.index===ot.item})?!0:ot.depth===0?!1:Rt(Qe,Mt,yt)};return Rt},B=function(rn,Rt,Qe,Ye,yt,Ze){var Mt=Ne(),ot=Mt.canDropOnFolder,et=Mt.canDropOnNonFolder,St=Mt.canDragAndDrop,Ht=Mt.linearItems,er=Mt.items,Mr=Mt.canReorderItems,mn=Mt.trees,Un=Mt.canDropBelowOpenFolders,hr=m(),br=M();return k(function(io,Kr,xo){var Ho,bo,Ea,Ia;if(Qe&&St&&xo.current&&!(io.clientX<0||io.clientY<0)){var Da=xo.current.getBoundingClientRect(),Za=F(io,Da);if(Ht[Kr].length===0){Ze({targetType:"root",treeId:Kr,depth:0,linearIndex:0,targetItem:mn[Kr].rootItem});return}var Xa=x(io.clientY,Da.top,Ye,Ht,Kr,er,ot,et,Mr),ba=Xa.linearIndex,ns=Xa.offset,Ja=Xa.veryBottom,Is=Za?"outside":"".concat(Kr).concat(ba).concat(ns??"").concat(Ja&&"vb");if(rn!==Is){if(Rt(Is),Za){yt(void 0);return}if(ba<0||ba>=Ht[Kr].length){yt(void 0);return}var Vr=Ht[Kr][ba],Qr=!Mr&&!et&&!er[Vr.item].isFolder;if(Qr){var To=hr(ba,Kr),xr=To.parentLinearIndex,uo=To.parent;Vr=uo,ba=xr}if(br(Kr,ba,Qe)){yt(void 0);return}var Mo=Ht[Kr][ba+1],go=!Un&&Mo&&Vr.depth===Mo.depth-1&&ns==="bottom";go&&(Vr=Mo,ba+=1,ns="top");var ea=Vr.depth,ha=er[Vr.item];if(!ns&&!et&&!ha.isFolder){yt(void 0);return}if(!ns&&!ot&&ha.isFolder){yt(void 0);return}if(ns&&!Mr){yt(void 0);return}var yr=hr(ba,Kr).parent;if(Qe.some(function(Lo){return Lo.index===Vr.item})){yt(void 0);return}var Lr=er[yr.item].children.indexOf(Vr.item)+(ns==="top"?0:1);ns==="top"&&ea===((bo=(Ho=Ht[Kr][ba-1])===null||Ho===void 0?void 0:Ho.depth)!==null&&bo!==void 0?bo:-1)&&(ns="bottom",ba-=1);var ao;if(Ja){var ho=mn[Kr].rootItem;ao={targetType:"between-items",treeId:Kr,parentItem:ho,depth:0,linearIndex:ba+1,childIndex:(Ia=(Ea=er[ho].children)===null||Ea===void 0?void 0:Ea.length)!==null&&Ia!==void 0?Ia:0,linePosition:"bottom"}}else ns?ao={targetType:"between-items",treeId:Kr,parentItem:yr.item,depth:Vr.depth,linearIndex:ba+(ns==="top"?0:1),childIndex:Lr,linePosition:ns}:ao={targetType:"item",treeId:Kr,parentItem:yr.item,targetItem:Vr.item,depth:Vr.depth,linearIndex:ba};Ze(ao)}}})},R=function(){var rn=Ne();return(0,i.useCallback)(function(Rt,Qe){if(Rt.targetType==="between-items"){if(!rn.canReorderItems)return!1}else if(Rt.targetType==="root"){if(!rn.canDropOnFolder)return!1}else{var Ye=rn.items[Rt.targetItem];if(!Ye||!rn.canDropOnFolder&&Ye.isFolder||!rn.canDropOnNonFolder&&!Ye.isFolder)return!1}return!(rn.canDropAt&&(!Qe||!rn.canDropAt(Qe,Rt)))},[rn])},U=function(rn,Rt,Qe){if(Qe||arguments.length===2)for(var Ye=0,yt=Rt.length,Ze;Ye<yt;Ye++)(Ze||!(Ye in Rt))&&(Ze||(Ze=Array.prototype.slice.call(Rt,0,Ye)),Ze[Ye]=Rt[Ye]);return rn.concat(Ze||Array.prototype.slice.call(Rt))},j=function(){var rn=Ne(),Rt=m(),Qe=R();return(0,i.useCallback)(function(Ye,yt){var Ze=rn.linearItems[Ye];return Ze.map(function(Mt,ot){var et,St,Ht=Mt.item,er=Mt.depth,Mr=Rt(ot,Ye).parent,mn=rn.items[Mr.item].children.indexOf(Ht),Un={targetType:"item",parentItem:Mr.item,targetItem:Ht,linearIndex:ot,depth:er,treeId:Ye},hr={targetType:"between-items",parentItem:Mr.item,linePosition:"top",childIndex:mn,depth:er,treeId:Ye,linearIndex:ot},br={targetType:"between-items",parentItem:Mr.item,linePosition:"bottom",linearIndex:ot+1,childIndex:mn+1,depth:er,treeId:Ye},io=er===((St=(et=Ze[ot-1])===null||et===void 0?void 0:et.depth)!==null&&St!==void 0?St:-1);return io?[Un,br]:[hr,Un,br]}).reduce(function(Mt,ot){return U(U([],Mt,!0),ot,!0)},[]).filter(function(Mt){return Qe(Mt,yt)})},[Qe,rn.items,rn.linearItems,Rt])},$=function(rn,Rt,Qe){if(Qe||arguments.length===2)for(var Ye=0,yt=Rt.length,Ze;Ye<yt;Ye++)(Ze||!(Ye in Rt))&&(Ze||(Ze=Array.prototype.slice.call(Rt,0,Ye)),Ze[Ye]=Rt[Ye]);return rn.concat(Ze||Array.prototype.slice.call(Rt))},ee=function(rn,Rt,Qe){var Ye=(0,i.useRef)();(0,i.useEffect)(function(){if(!Ye.current)Ye.current=$([],Qe,!0),rn();else{var yt=Ye.current.some(function(Ze,Mt){return Ze!==Qe[Mt]});yt&&(Ye.current=$([],Qe,!0),rn())}},$($([],Rt,!0),Qe,!0))};function te(rn){rn===void 0&&(rn=!1);var Rt=(0,i.useRef)(new Array);return(0,i.useEffect)(function(){if(rn)return function(){};var Qe=Rt.current;return function(){return Qe.forEach(function(Ye){return cancelAnimationFrame(Ye)})}},[rn,Rt]),(0,i.useCallback)(function(Qe){var Ye=requestAnimationFrame(function(){Rt.current.splice(Rt.current.indexOf(Ye),1),Qe()});Rt.current.push(Ye)},[Rt])}var ie=function(){var rn=Ne();return k(function(Rt,Qe){return Qe.map(function(Ye){return[Ye,rn.linearItems[Rt].findIndex(function(yt){return yt.item===Ye.index})]}).sort(function(Ye,yt){var Ze=Ye[0],Mt=Ye[1],ot=yt[0],et=yt[1];return Mt-et}).map(function(Ye){var yt=Ye[0];return yt})})},ne=i.createContext(null),pe=function(){return i.useContext(ne)},oe=function(rn){var Rt=rn.children,Qe=Ne(),Ye=(0,i.useState)(!1),yt=Ye[0],Ze=Ye[1],Mt=(0,i.useState)(4),ot=Mt[0],et=Mt[1],St=(0,i.useState)({}),Ht=St[0],er=St[1],Mr=(0,i.useState)(0),mn=Mr[0],Un=Mr[1],hr=(0,i.useState)(),br=hr[0],io=hr[1],Kr=(0,i.useState)(),xo=Kr[0],Ho=Kr[1],bo=(0,i.useState)("_nodrag"),Ea=bo[0],Ia=bo[1],Da=j(),Za=te(),Xa=ie(),ba=(0,i.useCallback)(function(yr,Lr){var ao;if(Qe.activeTreeId&&(!((ao=Qe.viewState[Qe.activeTreeId])===null||ao===void 0)&&ao.focusedItem)&&Qe.linearItems&&Lr){var ho=Qe.viewState[Qe.activeTreeId].focusedItem,Lo=Da(Qe.activeTreeId,Lr),Yo=Lo.findIndex(function(jo){return jo.targetType==="item"?jo.targetItem===ho:jo.targetType==="between-items"?Qe.items[jo.parentItem].children[jo.childIndex]===ho:!1});Un(Yo?Math.min(Yo+1,Lo.length-1):0)}else Un(0)},[Qe.activeTreeId,Qe.items,Qe.linearItems,Qe.viewState,Da]),ns=(0,i.useCallback)(function(){Ze(!1),et(4),er({}),Un(0),io(void 0),Ho(void 0),Ia("_nodrag")},[]);ee(function(){Qe.activeTreeId&&Qe.linearItems[Qe.activeTreeId]&&Ht[Qe.activeTreeId]&&ba(Ht[Qe.activeTreeId],br)},[br,Qe.activeTreeId,Qe.linearItems,ba,Ht],[Qe.activeTreeId]),ee(function(){yt&&Qe.activeTreeId&&Ho(Ht[Qe.activeTreeId][mn])},[mn,Qe.activeTreeId,yt,Ht],[mn,Qe.activeTreeId]);var Ja=R(),Is=function(yr){var Lr;br&&!Ja(yr,br)||(Ho(yr),Qe.setActiveTree(yr.treeId),br&&Qe.activeTreeId!==yr.treeId&&((Lr=Qe.onSelectItems)===null||Lr===void 0||Lr.call(Qe,br.map(function(ao){return ao.index}),yr.treeId)))},Vr=B(Ea,Ia,br,ot,Ho,Is),Qr=k(function(){br&&xo&&Qe.onDrop&&(Qe.onDrop(br,xo),Za(function(){var yr;(yr=Qe.onFocusItem)===null||yr===void 0||yr.call(Qe,br[0],xo.treeId),ns()}))}),To=(0,i.useCallback)(function(yr,Lr){var ao=I(Qe.treeIds,function(Lo){return Da(Lo,yr)}),ho=W(Lr);et(ho),io(yr),er(ao),Qe.activeTreeId&&ba(ao[Qe.activeTreeId],yr)},[Qe.activeTreeId,Qe.treeIds,Da,ba]),xr=(0,i.useCallback)(function(){var yr,Lr,ao;if(Qe.canDragAndDrop&&Qe.activeTreeId){var ho=(Lr=(yr=Qe.viewState[Qe.activeTreeId])===null||yr===void 0?void 0:yr.selectedItems)!==null&&Lr!==void 0?Lr:[(ao=Qe.viewState[Qe.activeTreeId])===null||ao===void 0?void 0:ao.focusedItem];if(ho.length===0||ho[0]===void 0)return;var Lo=Xa(Qe.activeTreeId,ho.map(function(Yo){return Qe.items[Yo]}));if(Qe.canDrag&&!Qe.canDrag(Lo))return;To(Lo,Qe.activeTreeId),setTimeout(function(){Ze(!0)})}},[Qe,Xa,To]),uo=(0,i.useCallback)(function(){ns()},[ns]),Mo=(0,i.useCallback)(function(){Qr(),ns()},[Qr,ns]),go=(0,i.useCallback)(function(){Un(function(yr){return Math.max(0,yr-1)})},[]),ea=(0,i.useCallback)(function(){Qe.activeTreeId&&Un(function(yr){return Math.min(Ht[Qe.activeTreeId].length,yr+1)})},[Qe.activeTreeId,Ht]),ha=(0,i.useMemo)(function(){return{onStartDraggingItems:To,startProgrammaticDrag:xr,abortProgrammaticDrag:uo,completeProgrammaticDrag:Mo,programmaticDragUp:go,programmaticDragDown:ea,draggingItems:br,draggingPosition:xo,itemHeight:ot,isProgrammaticallyDragging:yt,onDragOverTreeHandler:Vr,viableDragPositions:Ht}},[To,xr,uo,Mo,go,ea,br,xo,ot,yt,Vr,Ht]);return(0,i.useEffect)(function(){return window.addEventListener("dragend",ns),window.addEventListener("drop",Qr),function(){window.removeEventListener("dragend",ns),window.removeEventListener("drop",Qr)}},[Qr,ns]),i.createElement(ne.Provider,{value:ha},Rt)},q=function(){return q=Object.assign||function(rn){for(var Rt,Qe=1,Ye=arguments.length;Qe<Ye;Qe++){Rt=arguments[Qe];for(var yt in Rt)Object.prototype.hasOwnProperty.call(Rt,yt)&&(rn[yt]=Rt[yt])}return rn},q.apply(this,arguments)},J=function(rn,Rt){var Qe=Ne(),Ye=pe();(0,i.useImperativeHandle)(rn,function(){return q(q(q({},Rt),Qe),{treeEnvironmentContext:Qe,dragAndDropContext:Ye})})},me=function(rn,Rt,Qe){return Rt===void 0&&(Rt=50),Qe===void 0&&(Qe=1e4),new Promise(function(Ye){rn()&&Ye();var yt,Ze=setInterval(function(){rn()&&yt()},Rt),Mt=setTimeout(function(){yt()},Qe);yt=function(){clearInterval(Ze),clearTimeout(Mt),Ye()}})},re=function(rn,Rt,Qe,Ye){function yt(Ze){return Ze instanceof Qe?Ze:new Qe(function(Mt){Mt(Ze)})}return new(Qe||(Qe=Promise))(function(Ze,Mt){function ot(Ht){try{St(Ye.next(Ht))}catch(er){Mt(er)}}function et(Ht){try{St(Ye.throw(Ht))}catch(er){Mt(er)}}function St(Ht){Ht.done?Ze(Ht.value):yt(Ht.value).then(ot,et)}St((Ye=Ye.apply(rn,Rt||[])).next())})},he=function(rn,Rt){var Qe={label:0,sent:function(){if(Ze[0]&1)throw Ze[1];return Ze[1]},trys:[],ops:[]},Ye,yt,Ze,Mt;return Mt={next:ot(0),throw:ot(1),return:ot(2)},typeof Symbol=="function"&&(Mt[Symbol.iterator]=function(){return this}),Mt;function ot(St){return function(Ht){return et([St,Ht])}}function et(St){if(Ye)throw new TypeError("Generator is already executing.");for(;Mt&&(Mt=0,St[0]&&(Qe=0)),Qe;)try{if(Ye=1,yt&&(Ze=St[0]&2?yt.return:St[0]?yt.throw||((Ze=yt.return)&&Ze.call(yt),0):yt.next)&&!(Ze=Ze.call(yt,St[1])).done)return Ze;switch(yt=0,Ze&&(St=[St[0]&2,Ze.value]),St[0]){case 0:case 1:Ze=St;break;case 4:return Qe.label++,{value:St[1],done:!1};case 5:Qe.label++,yt=St[1],St=[0];continue;case 7:St=Qe.ops.pop(),Qe.trys.pop();continue;default:if(Ze=Qe.trys,!(Ze=Ze.length>0&&Ze[Ze.length-1])&&(St[0]===6||St[0]===2)){Qe=0;continue}if(St[0]===3&&(!Ze||St[1]>Ze[0]&&St[1]<Ze[3])){Qe.label=St[1];break}if(St[0]===6&&Qe.label<Ze[1]){Qe.label=Ze[1],Ze=St;break}if(Ze&&Qe.label<Ze[2]){Qe.label=Ze[2],Qe.ops.push(St);break}Ze[2]&&Qe.ops.pop(),Qe.trys.pop();continue}St=Rt.call(rn,Qe)}catch(Ht){St=[6,Ht],yt=0}finally{Ye=Ze=0}if(St[0]&5)throw St[1];return{value:St[0]?St[1]:void 0,done:!0}}},Ee=function(rn,Rt,Qe){if(Qe||arguments.length===2)for(var Ye=0,yt=Rt.length,Ze;Ye<yt;Ye++)(Ze||!(Ye in Rt))&&(Ze||(Ze=Array.prototype.slice.call(Rt,0,Ye)),Ze[Ye]=Rt[Ye]);return rn.concat(Ze||Array.prototype.slice.call(Rt))},fe=i.createContext(null),H=function(){return i.useContext(fe)},z=function(rn,Rt,Qe){return re(void 0,void 0,void 0,function(){var Ye,yt,Ze,Mt,ot,et,St;return he(this,function(Ht){for(Ye=function(er){me(function(){var Mr;return!!(!((Mr=Rt.current)===null||Mr===void 0)&&Mr[er])}).then(function(){var Mr,mn=(Mr=Rt.current)===null||Mr===void 0?void 0:Mr[er];mn!=null&&mn.isFolder&&(Qe(mn),z(er,Rt,Qe))})},yt=0,Ze=(St=(et=(ot=Rt.current)===null||ot===void 0?void 0:ot[rn])===null||et===void 0?void 0:et.children)!==null&&St!==void 0?St:[];yt<Ze.length;yt++)Mt=Ze[yt],Ye(Mt);return[2]})})},_e=i.forwardRef(function(rn,Rt){var Qe=Ne(),Ye=Qe.onCollapseItem,yt=Qe.items,Ze=Qe.trees,Mt=Qe.viewState,ot=Qe.onExpandItem,et=Qe.onFocusItem,St=Qe.setActiveTree,Ht=Qe.onRenameItem,er=Qe.onSelectItems,Mr=Qe.onPrimaryAction,mn=Qe.linearItems,Un=pe(),hr=Un.abortProgrammaticDrag,br=Un.completeProgrammaticDrag,io=Un.programmaticDragDown,Kr=Un.programmaticDragUp,xo=Un.startProgrammaticDrag,Ho=G(yt),bo=(0,i.useCallback)(function(Mo,go){Ye==null||Ye(yt[Mo],go)},[yt,Ye]),Ea=(0,i.useCallback)(function(Mo,go){ot==null||ot(yt[Mo],go)},[yt,ot]),Ia=(0,i.useCallback)(function(Mo,go,ea){ea===void 0&&(ea=!0),et==null||et(yt[Mo],go,ea)},[yt,et]),Da=(0,i.useCallback)(function(Mo,go){go===void 0&&(go=!0),St(Mo,go)},[St]),Za=(0,i.useCallback)(function(Mo){var go=mn[Mo],ea=go.findIndex(function(Lr){var ao,ho=Lr.item;return ho===((ao=Mt[Mo])===null||ao===void 0?void 0:ao.focusedItem)}),ha=ea!==void 0?Math.min(go.length-1,ea+1):0,yr=yt[go[ha].item];et==null||et(yr,Mo)},[yt,mn,et,Mt]),Xa=(0,i.useCallback)(function(Mo){var go=mn[Mo],ea=go.findIndex(function(Lr){var ao,ho=Lr.item;return ho===((ao=Mt[Mo])===null||ao===void 0?void 0:ao.focusedItem)}),ha=ea!==void 0?Math.max(0,ea-1):0,yr=yt[go[ha].item];et==null||et(yr,Mo)},[yt,mn,et,Mt]),ba=(0,i.useCallback)(function(Mo,go,ea){Ht==null||Ht(yt[Mo],go,ea)},[yt,Ht]),ns=(0,i.useCallback)(function(Mo,go){er==null||er(Mo,go)},[er]),Ja=(0,i.useCallback)(function(Mo,go){var ea,ha;!((ha=(ea=Mt[go])===null||ea===void 0?void 0:ea.expandedItems)===null||ha===void 0)&&ha.includes(Mo)?Ye==null||Ye(yt[Mo],go):ot==null||ot(yt[Mo],go)},[yt,Ye,ot,Mt]),Is=(0,i.useCallback)(function(Mo,go){var ea,ha,yr,Lr,ao;!((ha=(ea=Mt[go])===null||ea===void 0?void 0:ea.selectedItems)===null||ha===void 0)&&ha.includes(Mo)?er==null||er((Lr=(yr=Mt[go].selectedItems)===null||yr===void 0?void 0:yr.filter(function(ho){return ho!==Mo}))!==null&&Lr!==void 0?Lr:[],go):er==null||er(Ee(Ee([],(ao=Mt[go].selectedItems)!==null&&ao!==void 0?ao:[],!0),[Mo],!1),go)},[er,Mt]),Vr=(0,i.useCallback)(function(Mo,go){Mr==null||Mr(yt[Mo],go)},[yt,Mr]),Qr=(0,i.useCallback)(function(Mo,go){return re(void 0,void 0,void 0,function(){var ea,ha;return he(this,function(yr){switch(yr.label){case 0:return ea=go[0],ha=go.slice(1),[4,me(function(){var Lr;return!!(!((Lr=Ho.current)===null||Lr===void 0)&&Lr[ea])}).then(function(){var Lr=Ho.current[ea];Lr&&(ot==null||ot(Lr,Mo),Qr(Mo,ha))})];case 1:return yr.sent(),[2]}})})},[Ho,ot]),To=(0,i.useCallback)(function(Mo){return re(void 0,void 0,void 0,function(){return he(this,function(go){switch(go.label){case 0:return[4,z(Ze[Mo].rootItem,Ho,function(ea){return ot==null?void 0:ot(ea,Mo)})];case 1:return go.sent(),[2]}})})},[Ho,ot,Ze]),xr=(0,i.useCallback)(function(Mo){for(var go,ea,ha=0,yr=(ea=(go=Mt[Mo])===null||go===void 0?void 0:go.expandedItems)!==null&&ea!==void 0?ea:[];ha<yr.length;ha++){var Lr=yr[ha];Ye==null||Ye(yt[Lr],Mo)}},[yt,Ye,Mt]),uo=(0,i.useMemo)(function(){return{collapseItem:bo,expandItem:Ea,focusItem:Ia,focusTree:Da,moveFocusDown:Za,moveFocusUp:Xa,renameItem:ba,selectItems:ns,toggleItemExpandedState:Ja,toggleItemSelectStatus:Is,invokePrimaryAction:Vr,expandAll:To,expandSubsequently:Qr,collapseAll:xr,abortProgrammaticDrag:hr,completeProgrammaticDrag:br,moveProgrammaticDragPositionDown:io,moveProgrammaticDragPositionUp:Kr,startProgrammaticDrag:xo}},[bo,Ea,Ia,Da,Za,Xa,ba,ns,Ja,Is,Vr,To,Qr,xr,hr,br,io,Kr,xo]);return J(Rt,uo),i.createElement(fe.Provider,{value:uo},rn.children)}),ae=function(rn){var Rt,Qe,Ye,yt;if(rn)if(rn.scrollIntoViewIfNeeded)rn.scrollIntoViewIfNeeded();else{var Ze=rn.getBoundingClientRect(),Mt=Ze.top>=0&&Ze.left>=0&&Ze.bottom<=(window.innerHeight||!!(!((Qe=(Rt=L())===null||Rt===void 0?void 0:Rt.documentElement)===null||Qe===void 0)&&Qe.clientHeight))&&Ze.right<=(window.innerWidth||!!(!((yt=(Ye=L())===null||Ye===void 0?void 0:Ye.documentElement)===null||yt===void 0)&&yt.clientWidth));Mt||rn.scrollIntoView()}},ge=function(){return ge=Object.assign||function(rn){for(var Rt,Qe=1,Ye=arguments.length;Qe<Ye;Qe++){Rt=arguments[Qe];for(var yt in Rt)Object.prototype.hasOwnProperty.call(Rt,yt)&&(rn[yt]=Rt[yt])}return rn},ge.apply(this,arguments)},Be=function(){for(var rn=[],Rt=0;Rt<arguments.length;Rt++)rn[Rt]=arguments[Rt];return rn.filter(function(Qe){return!!Qe}).join(" ")},Ke=function(rn){return{renderItemTitle:function(Rt){var Qe=Rt.title,Ye=Rt.context,yt=Rt.info;if(!yt.isSearching||!Ye.isSearchMatching)return Qe;var Ze=Qe.toLowerCase().indexOf(yt.search.toLowerCase());return i.createElement(i.Fragment,null,Ze>0&&i.createElement("span",null,Qe.slice(0,Ze)),i.createElement("span",{className:"rct-tree-item-search-highlight"},Qe.slice(Ze,Ze+yt.search.length)),Ze+yt.search.length<Qe.length&&i.createElement("span",null,Qe.slice(Ze+yt.search.length,Qe.length)))},renderItemArrow:function(Rt){var Qe=Rt.item,Ye=Rt.context;return i.createElement("div",ge({className:Be(Qe.isFolder&&"rct-tree-item-arrow-isFolder","rct-tree-item-arrow")},Ye.arrowProps),Qe.isFolder&&(Ye.isExpanded?i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 16 16",enableBackground:"new 0 0 16 16",xmlSpace:"preserve"},i.createElement("g",null,i.createElement("g",null,i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z",className:"rct-tree-item-arrow-path"})))):i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 16 16",enableBackground:"new 0 0 16 16",xmlSpace:"preserve"},i.createElement("g",null,i.createElement("g",null,i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z",className:"rct-tree-item-arrow-path"}))))))},renderItem:function(Rt){var Qe=Rt.item,Ye=Rt.depth,yt=Rt.children,Ze=Rt.title,Mt=Rt.context,ot=Rt.arrow,et=Mt.isRenaming?"div":"button",St=Mt.isRenaming?void 0:"button";return i.createElement("li",ge({},Mt.itemContainerWithChildrenProps,{className:Be("rct-tree-item-li",Qe.isFolder&&"rct-tree-item-li-isFolder",Mt.isSelected&&"rct-tree-item-li-selected",Mt.isExpanded&&"rct-tree-item-li-expanded",Mt.isFocused&&"rct-tree-item-li-focused",Mt.isDraggingOver&&"rct-tree-item-li-dragging-over",Mt.isSearchMatching&&"rct-tree-item-li-search-match")}),i.createElement("div",ge({},Mt.itemContainerWithoutChildrenProps,{style:{paddingLeft:"".concat((Ye+1)*rn,"px")},className:Be("rct-tree-item-title-container",Qe.isFolder&&"rct-tree-item-title-container-isFolder",Mt.isSelected&&"rct-tree-item-title-container-selected",Mt.isExpanded&&"rct-tree-item-title-container-expanded",Mt.isFocused&&"rct-tree-item-title-container-focused",Mt.isDraggingOver&&"rct-tree-item-title-container-dragging-over",Mt.isSearchMatching&&"rct-tree-item-title-container-search-match")}),ot,i.createElement(et,ge({type:St},Mt.interactiveElementProps,{className:Be("rct-tree-item-button",Qe.isFolder&&"rct-tree-item-button-isFolder",Mt.isSelected&&"rct-tree-item-button-selected",Mt.isExpanded&&"rct-tree-item-button-expanded",Mt.isFocused&&"rct-tree-item-button-focused",Mt.isDraggingOver&&"rct-tree-item-button-dragging-over",Mt.isSearchMatching&&"rct-tree-item-button-search-match")}),Ze)),yt)},renderRenameInput:function(Rt){var Qe=Rt.inputProps,Ye=Rt.inputRef,yt=Rt.submitButtonProps,Ze=Rt.submitButtonRef,Mt=Rt.formProps;return i.createElement("form",ge({},Mt,{className:"rct-tree-item-renaming-form"}),i.createElement("input",ge({},Qe,{ref:Ye,className:"rct-tree-item-renaming-input"})),i.createElement("input",ge({},yt,{ref:Ze,type:"submit",className:"rct-tree-item-renaming-submit-button",value:"\u{1F5F8}"})))},renderTreeContainer:function(Rt){var Qe=Rt.children,Ye=Rt.containerProps,yt=Rt.info;return i.createElement("div",{className:Be("rct-tree-root",yt.isFocused&&"rct-tree-root-focus",yt.isRenaming&&"rct-tree-root-renaming",yt.areItemsSelected&&"rct-tree-root-itemsselected")},i.createElement("div",ge({},Ye,{style:ge({minHeight:"30px"},Ye.style)}),Qe))},renderItemsContainer:function(Rt){var Qe=Rt.children,Ye=Rt.containerProps;return i.createElement("ul",ge({},Ye,{className:"rct-tree-items-container"}),Qe)},renderDragBetweenLine:function(Rt){var Qe=Rt.draggingPosition,Ye=Rt.lineProps;return i.createElement("div",ge({},Ye,{style:{left:"".concat(Qe.depth*rn,"px")},className:Be("rct-tree-drag-between-line",Qe.targetType==="between-items"&&Qe.linePosition==="top"&&"rct-tree-drag-between-line-top",Qe.targetType==="between-items"&&Qe.linePosition==="bottom"&&"rct-tree-drag-between-line-bottom")}))},renderSearchInput:function(Rt){var Qe=Rt.inputProps;return i.createElement("div",{className:Be("rct-tree-search-input-container")},i.createElement("span",{className:"rct-tree-input-icon"}),i.createElement("input",ge({},Qe,{className:Be("rct-tree-search-input")})))},renderLiveDescriptorContainer:function(Rt){var Qe=Rt.tree,Ye=Rt.children;return i.createElement("div",{id:"rct-livedescription-".concat(Qe.treeId),style:{clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"}},Ye)},renderDepthOffset:rn}},He=function(rn){var Rt=rn.renderItem,Qe=rn.renderItemTitle,Ye=rn.renderItemArrow,yt=rn.renderRenameInput,Ze=rn.renderItemsContainer,Mt=rn.renderTreeContainer,ot=rn.renderDragBetweenLine,et=rn.renderSearchInput,St=rn.renderLiveDescriptorContainer,Ht=rn.renderDepthOffset,er=(0,i.useMemo)(function(){return Ke(Ht??10)},[Ht]),Mr={renderItem:Rt,renderItemTitle:Qe,renderItemArrow:Ye,renderRenameInput:yt,renderItemsContainer:Ze,renderTreeContainer:Mt,renderDragBetweenLine:ot,renderSearchInput:et,renderLiveDescriptorContainer:St,renderDepthOffset:Ht},mn=Object.entries(er).reduce(function(Un,hr){var br=hr[0],io=hr[1],Kr=br;return Mr[Kr]?Un[Kr]=Mr[Kr]:Un[Kr]=io,Un},{});return mn.renderItem.displayName="RenderItem",mn.renderItemTitle.displayName="RenderItemTitle",mn.renderItemArrow.displayName="RenderItemArrow",mn.renderRenameInput.displayName="RenderRenameInput",mn.renderItemsContainer.displayName="RenderItemsContainer",mn.renderTreeContainer.displayName="RenderTreeContainer",mn.renderDragBetweenLine.displayName="RenderDragBetweenLine",mn.renderSearchInput.displayName="RenderSearchInput",mn},ye=function(rn,Rt,Qe,Ye){var yt,Ze,Mt;Ye===void 0&&(Ye=0);for(var ot=[],et=0,St=(Ze=(yt=Qe[rn])===null||yt===void 0?void 0:yt.children)!==null&&Ze!==void 0?Ze:[];et<St.length;et++){var Ht=St[et],er=Qe[Ht];ot.push({item:Ht,depth:Ye}),er&&er.isFolder&&er.children&&(!((Mt=Rt.expandedItems)===null||Mt===void 0)&&Mt.includes(Ht))&&ot.push.apply(ot,ye(Ht,Rt,Qe,Ye+1))}return ot},Le=function(){return Le=Object.assign||function(rn){for(var Rt,Qe=1,Ye=arguments.length;Qe<Ye;Qe++){Rt=arguments[Qe];for(var yt in Rt)Object.prototype.hasOwnProperty.call(Rt,yt)&&(rn[yt]=Rt[yt])}return rn},Le.apply(this,arguments)},Ue=function(rn,Rt){var Qe={};for(var Ye in rn)Object.prototype.hasOwnProperty.call(rn,Ye)&&Rt.indexOf(Ye)<0&&(Qe[Ye]=rn[Ye]);if(rn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,Ye=Object.getOwnPropertySymbols(rn);yt<Ye.length;yt++)Rt.indexOf(Ye[yt])<0&&Object.prototype.propertyIsEnumerable.call(rn,Ye[yt])&&(Qe[Ye[yt]]=rn[Ye[yt]]);return Qe},Xe=function(rn){var Rt=rn.onExpandItem,Qe=rn.onCollapseItem,Ye=rn.onDrop,yt=Ue(rn,["onExpandItem","onCollapseItem","onDrop"]),Ze=(0,i.useState)({}),Mt=Ze[0],ot=Ze[1],et=(0,i.useState)(),St=et[0],Ht=et[1],er=(0,i.useMemo)(function(){return Object.keys(Mt)},[Mt]),Mr=yt.onFocusItem,mn=yt.autoFocus,Un=yt.onRegisterTree,hr=yt.onUnregisterTree,br=yt.items,io=yt.viewState,Kr=G(Mr),xo=G(io),Ho=(0,i.useMemo)(function(){return I(er,function(Is){var Vr;return ye(Mt[Is].rootItem,(Vr=io[Is])!==null&&Vr!==void 0?Vr:{},br)})},[Mt,br,er,io]),bo=(0,i.useCallback)(function(Is,Vr,Qr){var To,xr,uo,Mo,go,ea,ha;if(Qr===void 0&&(Qr=!0),(mn??!0)&&Qr){var yr=(To=L())===null||To===void 0?void 0:To.querySelector('[data-rct-tree="'.concat(Vr,'"] [data-rct-item-id="').concat(Is.index,'"]'));((Mo=(uo=(xr=L())===null||xr===void 0?void 0:xr.activeElement)===null||uo===void 0?void 0:uo.attributes.getNamedItem("data-rct-search-input"))===null||Mo===void 0?void 0:Mo.value)!=="true"?(go=yr==null?void 0:yr.focus)===null||go===void 0||go.call(yr):ae(yr)}((ea=xo.current[Vr])===null||ea===void 0?void 0:ea.focusedItem)!==Is.index&&((ha=Kr.current)===null||ha===void 0||ha.call(Kr,Is,Vr))},[mn,Kr,xo]),Ea=(0,i.useCallback)(function(Is){ot(function(Vr){var Qr;return Le(Le({},Vr),(Qr={},Qr[Is.treeId]=Is,Qr))}),Un==null||Un(Is)},[Un]),Ia=(0,i.useCallback)(function(Is){hr==null||hr(Mt[Is]),delete Mt[Is],ot(Mt)},[hr,Mt]),Da=(0,i.useCallback)(function(Is,Vr){Qe==null||Qe(Is,Vr),ot(function(Qr){return Qr})},[Qe]),Za=(0,i.useCallback)(function(Is,Vr){Rt==null||Rt(Is,Vr),ot(function(Qr){return Qr})},[Rt]),Xa=(0,i.useCallback)(function(Is,Vr){Ye==null||Ye(Is,Vr),ot(function(Qr){return Qr})},[Ye]),ba=(0,i.useCallback)(function(Is){var Vr,Qr,To=(Vr=L())===null||Vr===void 0?void 0:Vr.querySelector('[data-rct-tree="'.concat(Is,'"] [data-rct-item-focus="true"]'));(Qr=To==null?void 0:To.focus)===null||Qr===void 0||Qr.call(To)},[]),ns=(0,i.useCallback)(function(Is,Vr){Vr===void 0&&(Vr=!0);var Qr=function(xr){var uo,Mo;Vr&&(mn??!0)&&xr&&!(!((Mo=(uo=L())===null||uo===void 0?void 0:uo.querySelector('[data-rct-tree="'.concat(xr,'"]')))===null||Mo===void 0)&&Mo.contains(document.activeElement))&&ba(xr)};if(typeof Is=="function")Ht(function(xr){var uo=Is(xr);return uo!==xr&&Qr(uo),uo});else{var To=Is;Ht(To),Qr(To)}},[mn,ba]),Ja=He(yt);return Le(Le(Le({},Ja),yt),{onFocusItem:bo,registerTree:Ea,unregisterTree:Ia,onExpandItem:Za,onCollapseItem:Da,onDrop:Xa,setActiveTree:ns,treeIds:er,trees:Mt,activeTreeId:St,linearItems:Ho})},Fe=function(){return Fe=Object.assign||function(rn){for(var Rt,Qe=1,Ye=arguments.length;Qe<Ye;Qe++){Rt=arguments[Qe];for(var yt in Rt)Object.prototype.hasOwnProperty.call(Rt,yt)&&(rn[yt]=Rt[yt])}return rn},Fe.apply(this,arguments)},ht=i.createContext(null),Ne=function(){return(0,i.useContext)(ht)},Ce=i.forwardRef(function(rn,Rt){for(var Qe,Ye,yt,Ze=Xe(rn),Mt=rn.viewState,ot=0,et=Object.keys(Ze.trees);ot<et.length;ot++){var St=et[ot];!(!((Qe=Mt[St])===null||Qe===void 0)&&Qe.focusedItem)&&Ze.trees[St]&&(Mt[St]=Fe(Fe({},Mt[St]),{focusedItem:(yt=(Ye=rn.items[Ze.trees[St].rootItem])===null||Ye===void 0?void 0:Ye.children)===null||yt===void 0?void 0:yt[0]}))}return i.createElement(ht.Provider,{value:Ze},i.createElement(v,null,i.createElement(oe,null,i.createElement(_e,{ref:Rt},rn.children))))}),we=function(rn,Rt,Qe,Ye){function yt(Ze){return Ze instanceof Qe?Ze:new Qe(function(Mt){Mt(Ze)})}return new(Qe||(Qe=Promise))(function(Ze,Mt){function ot(Ht){try{St(Ye.next(Ht))}catch(er){Mt(er)}}function et(Ht){try{St(Ye.throw(Ht))}catch(er){Mt(er)}}function St(Ht){Ht.done?Ze(Ht.value):yt(Ht.value).then(ot,et)}St((Ye=Ye.apply(rn,Rt||[])).next())})},$e=function(rn,Rt){var Qe={label:0,sent:function(){if(Ze[0]&1)throw Ze[1];return Ze[1]},trys:[],ops:[]},Ye,yt,Ze,Mt;return Mt={next:ot(0),throw:ot(1),return:ot(2)},typeof Symbol=="function"&&(Mt[Symbol.iterator]=function(){return this}),Mt;function ot(St){return function(Ht){return et([St,Ht])}}function et(St){if(Ye)throw new TypeError("Generator is already executing.");for(;Mt&&(Mt=0,St[0]&&(Qe=0)),Qe;)try{if(Ye=1,yt&&(Ze=St[0]&2?yt.return:St[0]?yt.throw||((Ze=yt.return)&&Ze.call(yt),0):yt.next)&&!(Ze=Ze.call(yt,St[1])).done)return Ze;switch(yt=0,Ze&&(St=[St[0]&2,Ze.value]),St[0]){case 0:case 1:Ze=St;break;case 4:return Qe.label++,{value:St[1],done:!1};case 5:Qe.label++,yt=St[1],St=[0];continue;case 7:St=Qe.ops.pop(),Qe.trys.pop();continue;default:if(Ze=Qe.trys,!(Ze=Ze.length>0&&Ze[Ze.length-1])&&(St[0]===6||St[0]===2)){Qe=0;continue}if(St[0]===3&&(!Ze||St[1]>Ze[0]&&St[1]<Ze[3])){Qe.label=St[1];break}if(St[0]===6&&Qe.label<Ze[1]){Qe.label=Ze[1],Ze=St;break}if(Ze&&Qe.label<Ze[2]){Qe.label=Ze[2],Qe.ops.push(St);break}Ze[2]&&Qe.ops.pop(),Qe.trys.pop();continue}St=Rt.call(rn,Qe)}catch(Ht){St=[6,Ht],yt=0}finally{Ye=Ze=0}if(St[0]&5)throw St[1];return{value:St[0]?St[1]:void 0,done:!0}}},Ot=function(){function rn(Rt){this.provider=Rt}return rn.prototype.getTreeItem=function(Rt){return we(this,void 0,void 0,function(){return $e(this,function(Qe){return[2,this.provider.getTreeItem(Rt)]})})},rn.prototype.getTreeItems=function(Rt){return we(this,void 0,void 0,function(){var Qe=this;return $e(this,function(Ye){return[2,this.provider.getTreeItems?this.provider.getTreeItems(Rt):Promise.all(Rt.map(function(yt){return Qe.provider.getTreeItem(yt)}))]})})},rn.prototype.onChangeItemChildren=function(Rt,Qe){var Ye,yt;return we(this,void 0,void 0,function(){return $e(this,function(Ze){return[2,(yt=(Ye=this.provider).onChangeItemChildren)===null||yt===void 0?void 0:yt.call(Ye,Rt,Qe)]})})},rn.prototype.onDidChangeTreeData=function(Rt){return this.provider.onDidChangeTreeData?this.provider.onDidChangeTreeData(Rt):{dispose:function(){}}},rn.prototype.onRenameItem=function(Rt,Qe){var Ye,yt;return we(this,void 0,void 0,function(){return $e(this,function(Ze){return[2,(yt=(Ye=this.provider).onRenameItem)===null||yt===void 0?void 0:yt.call(Ye,Rt,Qe)]})})},rn}(),Pt=function(){var rn=(0,i.useRef)(!1);return(0,i.useEffect)(function(){return rn.current=!0,function(){rn.current=!1}},[]),rn},Ie=function(){return Ie=Object.assign||function(rn){for(var Rt,Qe=1,Ye=arguments.length;Qe<Ye;Qe++){Rt=arguments[Qe];for(var yt in Rt)Object.prototype.hasOwnProperty.call(Rt,yt)&&(rn[yt]=Rt[yt])}return rn},Ie.apply(this,arguments)},Bt=function(rn,Rt,Qe,Ye){function yt(Ze){return Ze instanceof Qe?Ze:new Qe(function(Mt){Mt(Ze)})}return new(Qe||(Qe=Promise))(function(Ze,Mt){function ot(Ht){try{St(Ye.next(Ht))}catch(er){Mt(er)}}function et(Ht){try{St(Ye.throw(Ht))}catch(er){Mt(er)}}function St(Ht){Ht.done?Ze(Ht.value):yt(Ht.value).then(ot,et)}St((Ye=Ye.apply(rn,Rt||[])).next())})},mt=function(rn,Rt){var Qe={label:0,sent:function(){if(Ze[0]&1)throw Ze[1];return Ze[1]},trys:[],ops:[]},Ye,yt,Ze,Mt;return Mt={next:ot(0),throw:ot(1),return:ot(2)},typeof Symbol=="function"&&(Mt[Symbol.iterator]=function(){return this}),Mt;function ot(St){return function(Ht){return et([St,Ht])}}function et(St){if(Ye)throw new TypeError("Generator is already executing.");for(;Mt&&(Mt=0,St[0]&&(Qe=0)),Qe;)try{if(Ye=1,yt&&(Ze=St[0]&2?yt.return:St[0]?yt.throw||((Ze=yt.return)&&Ze.call(yt),0):yt.next)&&!(Ze=Ze.call(yt,St[1])).done)return Ze;switch(yt=0,Ze&&(St=[St[0]&2,Ze.value]),St[0]){case 0:case 1:Ze=St;break;case 4:return Qe.label++,{value:St[1],done:!1};case 5:Qe.label++,yt=St[1],St=[0];continue;case 7:St=Qe.ops.pop(),Qe.trys.pop();continue;default:if(Ze=Qe.trys,!(Ze=Ze.length>0&&Ze[Ze.length-1])&&(St[0]===6||St[0]===2)){Qe=0;continue}if(St[0]===3&&(!Ze||St[1]>Ze[0]&&St[1]<Ze[3])){Qe.label=St[1];break}if(St[0]===6&&Qe.label<Ze[1]){Qe.label=Ze[1],Ze=St;break}if(Ze&&Qe.label<Ze[2]){Qe.label=Ze[2],Qe.ops.push(St);break}Ze[2]&&Qe.ops.pop(),Qe.trys.pop();continue}St=Rt.call(rn,Qe)}catch(Ht){St=[6,Ht],yt=0}finally{Ye=Ze=0}if(St[0]&5)throw St[1];return{value:St[0]?St[1]:void 0,done:!0}}},rt=function(rn,Rt,Qe){if(Qe||arguments.length===2)for(var Ye=0,yt=Rt.length,Ze;Ye<yt;Ye++)(Ze||!(Ye in Rt))&&(Ze||(Ze=Array.prototype.slice.call(Rt,0,Ye)),Ze[Ye]=Rt[Ye]);return rn.concat(Ze||Array.prototype.slice.call(Rt))},ce=i.forwardRef(function(rn,Rt){var Qe=(0,i.useState)({}),Ye=Qe[0],yt=Qe[1],Ze=(0,i.useState)(rn.viewState),Mt=Ze[0],ot=Ze[1],et=G(Mt),St=(0,i.useRef)([]),Ht=(0,i.useMemo)(function(){return new Ot(rn.dataProvider)},[rn.dataProvider]),er=Pt(),Mr=(0,i.useCallback)(function(Un){er.current&&yt(function(hr){return Ie(Ie({},hr),Un)})},[er]),mn=(0,i.useCallback)(function(Un,hr){ot(function(br){var io,Kr;return Ie(Ie({},br),(io={},io[Un]=Ie(Ie({},br[Un]),hr((Kr=br[Un])!==null&&Kr!==void 0?Kr:{})),io))})},[]);return(0,i.useEffect)(function(){var Un=Ht.onDidChangeTreeData(function(hr){Ht.getTreeItems(hr).then(function(br){Mr(br.map(function(io){var Kr;return Kr={},Kr[io.index]=io,Kr}).reduce(function(io,Kr){return Ie(Ie({},io),Kr)},{}))})}).dispose;return Un},[Ht,Mr]),i.createElement(Ce,Ie({},rn,{ref:Rt,viewState:Mt,items:Ye,onExpandItem:function(Un,hr){var br;mn(hr,function(io){var Kr;return Ie(Ie({},io),{expandedItems:rt(rt([],(Kr=io.expandedItems)!==null&&Kr!==void 0?Kr:[],!0),[Un.index],!1)})}),(br=rn.onExpandItem)===null||br===void 0||br.call(rn,Un,hr)},onCollapseItem:function(Un,hr){var br;mn(hr,function(io){var Kr;return Ie(Ie({},io),{expandedItems:(Kr=io.expandedItems)===null||Kr===void 0?void 0:Kr.filter(function(xo){return xo!==Un.index})})}),(br=rn.onCollapseItem)===null||br===void 0||br.call(rn,Un,hr)},onSelectItems:function(Un,hr){var br,io,Kr,xo=(br=et.current[hr])===null||br===void 0?void 0:br.focusedItem;if(rn.disableMultiselect){var Ho=xo?[xo]:[];(io=rn.onSelectItems)===null||io===void 0||io.call(rn,Ho,hr),mn(hr,function(bo){return Ie(Ie({},bo),{selectedItems:Ho})})}else(Kr=rn.onSelectItems)===null||Kr===void 0||Kr.call(rn,Un,hr),mn(hr,function(bo){return Ie(Ie({},bo),{selectedItems:Un})})},onFocusItem:function(Un,hr){var br;mn(hr,function(io){return Ie(Ie({},io),{focusedItem:Un.index})}),(br=rn.onFocusItem)===null||br===void 0||br.call(rn,Un,hr)},onRenameItem:function(Un,hr,br){return Bt(void 0,void 0,void 0,function(){var io,Kr,xo;return mt(this,function(Ho){switch(Ho.label){case 0:return[4,Ht.onRenameItem(Un,hr)];case 1:return Ho.sent(),mn(br,function(bo){return Ie(Ie({},bo),{renamingItem:void 0})}),[4,Ht.getTreeItem(Un.index)];case 2:return io=Ho.sent(),Mr((Kr={},Kr[Un.index]=io,Kr)),(xo=rn.onRenameItem)===null||xo===void 0||xo.call(rn,Un,hr,br),[2]}})})},onDrop:function(Un,hr){return Bt(void 0,void 0,void 0,function(){var br,io,Kr,xo,Ho,bo,Ea,Ia,Da,Za,Xa,ba;return mt(this,function(ns){switch(ns.label){case 0:for(br=[],io=hr.targetType==="between-items"?rt([],Un,!0).reverse():Un,Kr=function(Ja){var Is=Object.values(Ye).find(function(xr){var uo;return(uo=xr.children)===null||uo===void 0?void 0:uo.includes(Ja.index)});if(!Is)throw Error('Could not find parent of item "'.concat(Ja.index,'"'));if(!Is.children)throw Error('Parent "'.concat(Is.index,'" of item "').concat(Ja.index,'" did not have any children'));if(hr.targetType==="item"||hr.targetType==="root")hr.targetItem===Is.index||(br.push(Ht.onChangeItemChildren(Is.index,Is.children.filter(function(xr){return xr!==Ja.index}))),br.push(Ht.onChangeItemChildren(hr.targetItem,rt(rt([],(Ia=Ye[hr.targetItem].children)!==null&&Ia!==void 0?Ia:[],!0),[Ja.index],!1))));else{var Vr=Ye[hr.parentItem],Qr=rt([],(Da=Vr.children)!==null&&Da!==void 0?Da:[],!0).filter(function(xr){return xr!==Ja.index});if(hr.parentItem===Ja.index)return{value:void 0};if(hr.parentItem===Is.index){var To=((Xa=((Za=Vr.children)!==null&&Za!==void 0?Za:[]).findIndex(function(xr){return xr===Ja.index}))!==null&&Xa!==void 0?Xa:1/0)<hr.childIndex;Qr.splice(hr.childIndex-(To?1:0),0,Ja.index),br.push(Ht.onChangeItemChildren(hr.parentItem,Qr))}else Qr.splice(hr.childIndex,0,Ja.index),br.push(Ht.onChangeItemChildren(Is.index,Is.children.filter(function(xr){return xr!==Ja.index}))),br.push(Ht.onChangeItemChildren(hr.parentItem,Qr))}},xo=0,Ho=io;xo<Ho.length;xo++)if(bo=Ho[xo],Ea=Kr(bo),typeof Ea=="object")return[2,Ea.value];return[4,Promise.all(br)];case 1:return ns.sent(),(ba=rn.onDrop)===null||ba===void 0||ba.call(rn,Un,hr),[2]}})})},onMissingItems:function(Un){var hr,br;St.current.length===0&&setTimeout(function(){Ht.getTreeItems(St.current).then(function(io){Mr(io.map(function(Kr){var xo;return xo={},xo[Kr==null?void 0:Kr.index]=Kr,xo}).reduce(function(Kr,xo){return Ie(Ie({},Kr),xo)},{}))}),St.current=[]}),(hr=St.current).push.apply(hr,Un),(br=rn.onMissingItems)===null||br===void 0||br.call(rn,Un)}}),rn.children)}),Re=function(){var rn,Rt=wt().treeId,Qe=Ne().viewState;return(rn=Qe[Rt])!==null&&rn!==void 0?rn:{}},nt=function(rn,Rt,Qe){return Qe.toLowerCase().includes(rn.toLowerCase())},st=function(rn){return Ne().linearItems[rn]},vt=function(rn,Rt,Qe){if(Qe||arguments.length===2)for(var Ye=0,yt=Rt.length,Ze;Ye<yt;Ye++)(Ze||!(Ye in Rt))&&(Ze||(Ze=Array.prototype.slice.call(Rt,0,Ye)),Ze[Ye]=Rt[Ye]);return rn.concat(Ze||Array.prototype.slice.call(Rt))},ze=function(rn){var Rt=(0,i.useRef)({target:rn,previous:void 0});return Rt.current.target!==rn&&(Rt.current.previous=Rt.current.target,Rt.current.target=rn),Rt.current.previous},It=function(rn){var Rt=Re(),Qe=wt().treeId,Ye=st(Qe),yt=Ne().onSelectItems,Ze=ze(Rt.focusedItem);return(0,i.useCallback)(function(Mt,ot){var et,St;ot===void 0&&(ot=!1);var Ht=Mt.index,er=function(br,io){var Kr=vt(vt([],ot?[]:br,!0),io.filter(function(xo){return ot||!br.includes(xo)}),!0);yt==null||yt(Kr,Qe)};if(Rt&&Rt.selectedItems&&Rt.selectedItems.length>0){var Mr=Rt.focusedItem===Ht?Ze:Rt.focusedItem,mn=rn==="last-focus"?Ye.findIndex(function(br){return Mr===br.item}):Ye.findIndex(function(br){var io;return(io=Rt.selectedItems)===null||io===void 0?void 0:io.includes(br.item)}),Un=Ye.findIndex(function(br){return br.item===Ht});if(mn<Un){var hr=Ye.slice(mn,Un+1).map(function(br){var io=br.item;return io});er((et=Rt.selectedItems)!==null&&et!==void 0?et:[],hr)}else{var hr=Ye.slice(Un,mn+1).map(function(io){var Kr=io.item;return Kr});er((St=Rt.selectedItems)!==null&&St!==void 0?St:[],hr)}}else yt==null||yt([Ht],Qe)},[Rt,yt,Qe,rn,Ye,Ze])},on=function(){return on=Object.assign||function(rn){for(var Rt,Qe=1,Ye=arguments.length;Qe<Ye;Qe++){Rt=arguments[Qe];for(var yt in Rt)Object.prototype.hasOwnProperty.call(Rt,yt)&&(rn[yt]=Rt[yt])}return rn},on.apply(this,arguments)},Pn=function(rn,Rt,Qe){if(Qe||arguments.length===2)for(var Ye=0,yt=Rt.length,Ze;Ye<yt;Ye++)(Ze||!(Ye in Rt))&&(Ze||(Ze=Array.prototype.slice.call(Rt,0,Ye)),Ze[Ye]=Rt[Ye]);return rn.concat(Ze||Array.prototype.slice.call(Rt))},Yn=function(rn){var Rt,Qe,Ye,yt,Ze=wt(),Mt=Ze.treeId,ot=Ze.search,et=Ze.renamingItem,St=Ze.setRenamingItem,Ht=Ne(),er=s(),Mr=pe(),mn=It("last-focus"),Un=rn&&Ht.getItemTitle(rn),hr=ie(),br=(0,i.useMemo)(function(){var Ho;return ot===null||ot.length===0||!rn||!Un?!1:((Ho=Ht.doesSearchMatchItem)!==null&&Ho!==void 0?Ho:nt)(ot,rn,Un)},[ot,rn,Un,Ht.doesSearchMatchItem]),io=rn&&((Qe=(Rt=Ht.viewState[Mt])===null||Rt===void 0?void 0:Rt.selectedItems)===null||Qe===void 0?void 0:Qe.includes(rn.index)),Kr=rn&&((yt=(Ye=Ht.viewState[Mt])===null||Ye===void 0?void 0:Ye.expandedItems)===null||yt===void 0?void 0:yt.includes(rn.index)),xo=rn&&et===rn.index;return(0,i.useMemo)(function(){var Ho,bo,Ea,Ia,Da,Za,Xa,ba,ns;if(rn){var Ja=Ht.viewState[Mt],Is=((bo=(Ho=Ja==null?void 0:Ja.selectedItems)===null||Ho===void 0?void 0:Ho.map(function(ho){return Ht.items[ho]}))!==null&&bo!==void 0?bo:Ja!=null&&Ja.focusedItem?[Ht.items[Ja==null?void 0:Ja.focusedItem]]:[]).filter(function(ho){return!!ho}),Vr=!!Is.find(function(ho){return ho.index===rn.index}),Qr=Is&&((Ia=(Ea=Ht.canDrag)===null||Ea===void 0?void 0:Ea.call(Ht,Is))!==null&&Ia!==void 0?Ia:!0)&&Is.map(function(ho){var Lo;return(Lo=ho.canMove)!==null&&Lo!==void 0?Lo:!0}).reduce(function(ho,Lo){return ho&&Lo},!0),To=((Za=(Da=Ht.canDrag)===null||Da===void 0?void 0:Da.call(Ht,[rn]))!==null&&Za!==void 0?Za:!0)&&((Xa=rn.canMove)!==null&&Xa!==void 0?Xa:!0),xr=Ht.canDragAndDrop&&(Vr&&Qr||!Vr&&To),uo=Ht.canDragAndDrop&&!!(!((ns=(ba=Mr.viableDragPositions)===null||ba===void 0?void 0:ba[Mt])===null||ns===void 0)&&ns.find(function(ho){return ho.targetType==="item"&&ho.targetItem===rn.index})),Mo={primaryAction:function(){var ho;(ho=Ht.onPrimaryAction)===null||ho===void 0||ho.call(Ht,Ht.items[rn.index],Mt)},collapseItem:function(){var ho;(ho=Ht.onCollapseItem)===null||ho===void 0||ho.call(Ht,rn,Mt)},expandItem:function(){var ho;(ho=Ht.onExpandItem)===null||ho===void 0||ho.call(Ht,rn,Mt)},toggleExpandedState:function(){var ho,Lo;Kr?(ho=Ht.onCollapseItem)===null||ho===void 0||ho.call(Ht,rn,Mt):(Lo=Ht.onExpandItem)===null||Lo===void 0||Lo.call(Ht,rn,Mt)},selectItem:function(){var ho;(ho=Ht.onSelectItems)===null||ho===void 0||ho.call(Ht,[rn.index],Mt)},addToSelectedItems:function(){var ho,Lo;(ho=Ht.onSelectItems)===null||ho===void 0||ho.call(Ht,Pn(Pn([],(Lo=Ja==null?void 0:Ja.selectedItems)!==null&&Lo!==void 0?Lo:[],!0),[rn.index],!1),Mt)},unselectItem:function(){var ho,Lo,Yo;(ho=Ht.onSelectItems)===null||ho===void 0||ho.call(Ht,(Yo=(Lo=Ja==null?void 0:Ja.selectedItems)===null||Lo===void 0?void 0:Lo.filter(function(jo){return jo!==rn.index}))!==null&&Yo!==void 0?Yo:[],Mt)},selectUpTo:function(ho){mn(rn,ho)},startRenamingItem:function(){St(rn.index)},stopRenamingItem:function(){St(null)},focusItem:function(ho){var Lo;ho===void 0&&(ho=!0),(Lo=Ht.onFocusItem)===null||Lo===void 0||Lo.call(Ht,rn,Mt,ho)},startDragging:function(){var ho,Lo,Yo=(ho=Ja==null?void 0:Ja.selectedItems)!==null&&ho!==void 0?ho:[];if(Yo.includes(rn.index)||(Yo=[rn.index],(Lo=Ht.onSelectItems)===null||Lo===void 0||Lo.call(Ht,Yo,Mt)),xr){var jo=hr(Mt,Yo.map(function(Xo){return Ht.items[Xo]}));Mr.onStartDraggingItems(jo,Mt)}}},go={isSelected:io,isExpanded:Kr,isFocused:(Ja==null?void 0:Ja.focusedItem)===rn.index,isRenaming:xo,isDraggingOver:Mr.draggingPosition&&Mr.draggingPosition.targetType==="item"&&Mr.draggingPosition.targetItem===rn.index&&Mr.draggingPosition.treeId===Mt,isDraggingOverParent:!1,isSearchMatching:br,canDrag:xr,canDropOn:uo},ea=on(on({},er.createInteractiveElementProps(rn,Mt,Mo,go,Ja)),{"data-rct-item-interactive":!0,"data-rct-item-focus":go.isFocused?"true":"false","data-rct-item-id":rn.index}),ha=on({},{"data-rct-item-container":"true"}),yr={role:"treeitem","aria-selected":go.isSelected,"aria-expanded":rn.isFolder?go.isExpanded?"true":"false":void 0},Lr={onClick:function(){rn.isFolder&&Mo.toggleExpandedState(),Mo.selectItem()},onFocus:function(){Mo.focusItem()},onDragOver:function(ho){ho.preventDefault()},"aria-hidden":!0,tabIndex:-1},ao=Ja?Object.entries(Ja).reduce(function(ho,Lo){var Yo=Lo[0],jo=Lo[1];return ho[Yo]=Array.isArray(jo)?jo.includes(rn.index):jo===rn.index,ho},{}):{};return on(on(on({},Mo),go),{interactiveElementProps:ea,itemContainerWithChildrenProps:yr,itemContainerWithoutChildrenProps:ha,arrowProps:Lr,viewStateFlags:ao})}},[rn,Ht,Mt,Mr,io,Kr,xo,br,er,mn,St,hr])},Ln=function(rn,Rt,Qe){var Ye=k(Qe);(0,i.useEffect)(function(){return rn?(rn.addEventListener(Rt,Ye),function(){return rn.removeEventListener(Rt,Ye)}):function(){}},[rn,Ye,Rt])},bn={expandSiblings:["control+*"],moveFocusToFirstItem:["home"],moveFocusToLastItem:["end"],primaryAction:["enter"],renameItem:["f2"],abortRenameItem:["escape"],toggleSelectItem:["control+space"],abortSearch:["escape","enter"],startSearch:[],selectAll:["control+a"],startProgrammaticDnd:["control+d"],completeProgrammaticDnd:["enter"],abortProgrammaticDnd:["escape"]},ir=function(){return ir=Object.assign||function(rn){for(var Rt,Qe=1,Ye=arguments.length;Qe<Ye;Qe++){Rt=arguments[Qe];for(var yt in Rt)Object.prototype.hasOwnProperty.call(Rt,yt)&&(rn[yt]=Rt[yt])}return rn},ir.apply(this,arguments)},Zn=function(){var rn=Ne();return(0,i.useMemo)(function(){return rn.keyboardBindings?ir(ir({},bn),rn.keyboardBindings):bn},[rn.keyboardBindings])},$n=["input","textarea"],jt=function(rn,Rt,Qe,Ye){Ye===void 0&&(Ye=!1);var yt=(0,i.useRef)([]),Ze=Zn(),Mt=te(),ot=(0,i.useMemo)(function(){return Ze[rn].map(function(et){return et.split("+")})},[rn,Ze]);Ln(L(),"keydown",function(et){var St;if(Qe!==!1&&!(($n.includes((St=et.target.tagName)===null||St===void 0?void 0:St.toLowerCase())||et.target.isContentEditable)&&!Ye)&&!yt.current.includes(et.key)){yt.current.push(et.key);var Ht=yt.current.map(function(Mr){return Mr.toLowerCase()}),er=ot.map(function(Mr){return Ht.map(function(mn){return Mr.includes(mn.toLowerCase())}).reduce(function(mn,Un){return mn&&Un},!0)}).reduce(function(Mr,mn){return Mr||mn},!1);er&&(yt.current.length>1||!/^[a-zA-Z]$/.test(et.key))&&et.preventDefault()}}),Ln(L(),"keyup",function(et){if(Qe!==!1){var St=yt.current.map(function(er){return er.toLowerCase()}),Ht=ot.map(function(er){return er.map(function(Mr){return St.includes(Mr.toLowerCase())}).reduce(function(Mr,mn){return Mr&&mn},!0)}).reduce(function(er,Mr){return er||Mr},!1);Ht&&Mt(function(){return Rt(et)}),yt.current=yt.current.filter(function(er){return er!==et.key})}})},Rn=function(rn){var Rt=wt(),Qe=Rt.renderers,Ye=Rt.treeInformation,yt=Rt.setRenamingItem,Ze=Rt.treeId,Mt=Ne(),ot=(0,i.useRef)(null),et=(0,i.useRef)(null),St=Mt.items[rn.itemIndex],Ht=(0,i.useState)(Mt.getItemTitle(St)),er=Ht[0],Mr=Ht[1],mn=te(!0),Un=function(){var xo;(xo=Mt.onAbortRenamingItem)===null||xo===void 0||xo.call(Mt,St,Ye.treeId),yt(null),mn(function(){Mt.setActiveTree(Ze)})},hr=function(){var xo;(xo=Mt.onRenameItem)===null||xo===void 0||xo.call(Mt,St,er,Ye.treeId),yt(null),mn(function(){Mt.setActiveTree(Ze)})};ee(function(){var xo,Ho,bo,Ea;Mt.setActiveTree(Ze),(!((xo=Mt.autoFocus)!==null&&xo!==void 0)||xo)&&((Ho=ot.current)===null||Ho===void 0||Ho.select(),(Ea=(bo=ot.current)===null||bo===void 0?void 0:bo.focus)===null||Ea===void 0||Ea.call(bo))},[Mt,Ze],[]),jt("abortRenameItem",function(){Un()},!0,!0);var br={value:er,onChange:function(xo){Mr(xo.target.value)},onBlur:function(xo){xo.relatedTarget!==et.current&&Un()},"aria-label":"New item name",tabIndex:0},io={onClick:function(xo){xo.stopPropagation(),hr()}},Kr={onSubmit:function(xo){xo.preventDefault(),hr()}};return Qe.renderRenameInput({item:St,inputRef:ot,submitButtonProps:io,submitButtonRef:et,formProps:Kr,inputProps:br})},jn=function(rn){var Rt,Qe,Ye,yt,Ze=(0,i.useState)(!1),Mt=Ze[0],ot=Ze[1],et=wt(),St=et.renderers,Ht=et.treeInformation,er=et.renamingItem,Mr=Ne(),mn=Re(),Un=Mr.items[rn.itemIndex],hr=(0,i.useMemo)(function(){var Ea;return(Ea=mn.expandedItems)===null||Ea===void 0?void 0:Ea.includes(rn.itemIndex)},[rn.itemIndex,mn.expandedItems]),br=Yn(Un);if(Un===void 0||br===void 0)return Mt||(ot(!0),(Rt=Mr.onMissingItems)===null||Rt===void 0||Rt.call(Mr,[rn.itemIndex])),null;var io=(Ye=(Qe=Mr.shouldRenderChildren)===null||Qe===void 0?void 0:Qe.call(Mr,Un,br))!==null&&Ye!==void 0?Ye:Un.isFolder&&hr,Kr=Un.children&&io&&i.createElement(Tn,{depth:rn.depth+1,parentId:rn.itemIndex},Un.children),xo=Mr.getItemTitle(Un),Ho=er===rn.itemIndex?i.createElement(Rn,{itemIndex:rn.itemIndex}):St.renderItemTitle({info:Ht,context:br,title:xo,item:Un}),bo=St.renderItemArrow({info:Ht,context:br,item:Mr.items[rn.itemIndex]});return(yt=St.renderItem({item:Mr.items[rn.itemIndex],depth:rn.depth,title:Ho,arrow:bo,context:br,info:Ht,children:Kr}))!==null&&yt!==void 0?yt:null},Tn=function(rn){for(var Rt=wt(),Qe=Rt.renderers,Ye=Rt.treeInformation,yt=[],Ze=0,Mt=rn.children;Ze<Mt.length;Ze++){var ot=Mt[Ze];yt.push(i.createElement(jn,{key:ot,itemIndex:ot,depth:rn.depth}))}if(yt.length===0)return null;var et={role:rn.depth!==0?"group":void 0};return Qe.renderItemsContainer({children:yt,info:Ye,containerProps:et,depth:rn.depth,parentId:rn.parentId})},Nn=function(rn){var Rt,Qe=rn.treeId,Ye=pe(),yt=Ye.draggingPosition,Ze=Ye.itemHeight,Mt=wt().renderers,ot=yt&&yt.targetType==="between-items"&&yt.treeId===Qe;if(!ot)return null;var et={onDragOver:function(St){return St.preventDefault()}};return i.createElement("div",{style:{position:"absolute",left:"0",right:"0",top:"".concat(((Rt=yt==null?void 0:yt.linearIndex)!==null&&Rt!==void 0?Rt:0)*Ze,"px")}},Mt.renderDragBetweenLine({draggingPosition:yt,lineProps:et}))},cn=function(rn,Rt,Qe){var Ye=(0,i.useState)(!1),yt=Ye[0],Ze=Ye[1],Mt=(0,i.useRef)(!1),ot=te();return Ln(rn,"focusin",function(){yt||(Ze(!0),Rt==null||Rt()),Mt.current&&(Mt.current=!1)}),Ln(rn,"focusout",function(){Mt.current=!0,ot(function(){Mt.current&&!(rn!=null&&rn.contains(document.activeElement))&&(Qe==null||Qe(),Mt.current=!1,Ze(!1))})}),yt},or=function(rn,Rt,Qe){Ln(L(),"keydown",function(Ye){Qe&&Qe&&rn.toLowerCase()===Ye.key.toLowerCase()&&Rt(Ye)})},qn=function(){var rn=wt().treeId,Rt=Ne(),Qe=Rt.onFocusItem,Ye=Rt.items,yt=st(rn),Ze=Re();return k(function(Mt){var ot,et=(ot=yt.findIndex(function(Mr){return Mr.item===Ze.focusedItem}))!==null&&ot!==void 0?ot:0,St=Mt(et,yt),Ht=Math.max(0,Math.min(yt.length-1,St)),er=Ye[yt[Ht].item];return Qe==null||Qe(er,rn),er})},Hr=function(rn,Rt,Qe){if(Qe||arguments.length===2)for(var Ye=0,yt=Rt.length,Ze;Ye<yt;Ye++)(Ze||!(Ye in Rt))&&(Ze||(Ze=Array.prototype.slice.call(Rt,0,Ye)),Ze[Ye]=Rt[Ye]);return rn.concat(Ze||Array.prototype.slice.call(Rt))},fo=function(){var rn,Rt=Ne(),Qe=wt(),Ye=Qe.treeId,yt=Qe.setRenamingItem,Ze=Qe.setSearch,Mt=Qe.renamingItem,ot=st(Ye),et=pe(),St=Re(),Ht=qn(),er=It("first-selected"),Mr=Rt.activeTreeId===Ye,mn=!!Mt;or("arrowdown",function(Un){if(Un.preventDefault(),et.isProgrammaticallyDragging)et.programmaticDragDown();else{var hr=Ht(function(br){return br+1});Un.shiftKey&&er(hr)}},Mr&&!mn),or("arrowup",function(Un){if(Un.preventDefault(),et.isProgrammaticallyDragging)et.programmaticDragUp();else{var hr=Ht(function(br){return br-1});Un.shiftKey&&er(hr)}},Mr&&!mn),jt("moveFocusToFirstItem",function(Un){Un.preventDefault(),Ht(function(){return 0})},Mr&&!et.isProgrammaticallyDragging&&!mn),jt("moveFocusToLastItem",function(Un){Un.preventDefault(),Ht(function(hr,br){return br.length-1})},Mr&&!et.isProgrammaticallyDragging&&!mn),or("arrowright",function(Un){Un.preventDefault(),Ht(function(hr,br){var io,Kr,xo=Rt.items[br[hr].item];if(xo.isFolder){if(!((io=St.expandedItems)===null||io===void 0)&&io.includes(xo.index))return hr+1;(Kr=Rt.onExpandItem)===null||Kr===void 0||Kr.call(Rt,xo,Ye)}return hr})},Mr&&!et.isProgrammaticallyDragging&&!mn),or("arrowleft",function(Un){Un.preventDefault(),Ht(function(hr,br){var io,Kr,xo=Rt.items[br[hr].item],Ho=br[hr].depth;if(xo.isFolder&&(!((io=St.expandedItems)===null||io===void 0)&&io.includes(xo.index)))(Kr=Rt.onCollapseItem)===null||Kr===void 0||Kr.call(Rt,xo,Ye);else if(Ho>0){var bo=hr;for(bo;br[bo].depth!==Ho-1;bo-=1);return bo}return hr})},Mr&&!et.isProgrammaticallyDragging&&!mn),jt("primaryAction",function(Un){var hr,br;Un.preventDefault(),St.focusedItem!==void 0&&((hr=Rt.onSelectItems)===null||hr===void 0||hr.call(Rt,[St.focusedItem],Ye),(br=Rt.onPrimaryAction)===null||br===void 0||br.call(Rt,Rt.items[St.focusedItem],Ye))},Mr&&!et.isProgrammaticallyDragging&&!mn),jt("toggleSelectItem",function(Un){var hr,br,io;Un.preventDefault(),St.focusedItem!==void 0&&(St.selectedItems&&St.selectedItems.includes(St.focusedItem)?(hr=Rt.onSelectItems)===null||hr===void 0||hr.call(Rt,St.selectedItems.filter(function(Kr){return Kr!==St.focusedItem}),Ye):(br=Rt.onSelectItems)===null||br===void 0||br.call(Rt,Hr(Hr([],(io=St.selectedItems)!==null&&io!==void 0?io:[],!0),[St.focusedItem],!1),Ye))},Mr&&!et.isProgrammaticallyDragging&&!mn),jt("selectAll",function(Un){var hr;Un.preventDefault(),(hr=Rt.onSelectItems)===null||hr===void 0||hr.call(Rt,ot.map(function(br){var io=br.item;return io}),Ye)},Mr&&!et.isProgrammaticallyDragging&&!mn),jt("renameItem",function(Un){var hr;if(St.focusedItem!==void 0){Un.preventDefault();var br=Rt.items[St.focusedItem];br.canRename!==!1&&((hr=Rt.onStartRenamingItem)===null||hr===void 0||hr.call(Rt,br,Ye),yt(br.index))}},Mr&&((rn=Rt.canRename)!==null&&rn!==void 0?rn:!0)&&!mn),jt("startSearch",function(Un){var hr,br;Un.preventDefault(),Ze(""),(br=(hr=document.querySelector('[data-rct-search-input="true"]'))===null||hr===void 0?void 0:hr.focus)===null||br===void 0||br.call(hr)},Mr&&!et.isProgrammaticallyDragging&&!mn),jt("startProgrammaticDnd",function(Un){Un.preventDefault(),et.startProgrammaticDrag()},Mr&&!mn),jt("completeProgrammaticDnd",function(Un){Un.preventDefault(),et.completeProgrammaticDrag()},Mr&&et.isProgrammaticallyDragging&&!mn),jt("abortProgrammaticDnd",function(Un){Un.preventDefault(),et.abortProgrammaticDrag()},Mr&&et.isProgrammaticallyDragging&&!mn)},Jr=function(){var rn=Ne(),Rt=rn.doesSearchMatchItem,Qe=rn.items,Ye=rn.getItemTitle,yt=rn.onFocusItem,Ze=wt(),Mt=Ze.search,ot=Ze.treeId,et=st(ot),St=te();ee(function(){Mt&&Mt.length>0&&St(function(){var Ht=et.find(function(er){var Mr=er.item;return(Rt??nt)(Mt,Qe[Mr],Ye(Qe[Mr]))});Ht&&(yt==null||yt(Qe[Ht.item],ot))})},[Rt,Ye,et,Qe,yt,Mt,ot,St],[Mt])},ro=function(){return ro=Object.assign||function(rn){for(var Rt,Qe=1,Ye=arguments.length;Qe<Ye;Qe++){Rt=arguments[Qe];for(var yt in Rt)Object.prototype.hasOwnProperty.call(Rt,yt)&&(rn[yt]=Rt[yt])}return rn},ro.apply(this,arguments)},Xt=function(rn){var Rt,Qe=rn.containerRef,Ye=wt(),yt=Ye.search,Ze=Ye.setSearch,Mt=Ye.treeId,ot=Ye.renderers,et=Ye.renamingItem,St=Ne();Re();var Ht=St.activeTreeId===Mt,er=te();Jr();var Mr=function(){var mn,Un,hr;if(Ze(null),!((mn=St.autoFocus)!==null&&mn!==void 0)||mn){var br=(Un=L())===null||Un===void 0?void 0:Un.querySelector('[data-rct-tree="'.concat(Mt,'"] [data-rct-item-focus="true"]'));(hr=br==null?void 0:br.focus)===null||hr===void 0||hr.call(br)}};return jt("abortSearch",function(){er(function(){Mr()})},Ht&&yt!==null,!0),Ln(Qe,"keydown",function(mn){var Un,hr,br=mn.key.charCodeAt(0);(!((Un=St.canSearch)!==null&&Un!==void 0)||Un)&&(!((hr=St.canSearchByStartingTyping)!==null&&hr!==void 0)||hr)&&Ht&&yt===null&&!et&&!mn.ctrlKey&&!mn.shiftKey&&!mn.altKey&&!mn.metaKey&&(br>=48&&br<=57||br>=97&&br<=122)&&Ze("")}),!(!((Rt=St.canSearch)!==null&&Rt!==void 0)||Rt)||yt===null?null:ot.renderSearchInput({inputProps:ro({value:yt,onChange:function(mn){return Ze(mn.target.value)},onBlur:function(){Mr()},ref:function(mn){var Un;(Un=mn==null?void 0:mn.focus)===null||Un===void 0||Un.call(mn)},"aria-label":"Search for items"},{"data-rct-search-input":"true"})})},Je={introduction:`
    <p>Accessibility guide for tree {treeLabel}.</p>
    <p>
      Navigate the tree with the arrow keys. Common tree hotkeys apply. Further keybindings are available:
    </p>
    <ul>
      <li>{keybinding:primaryAction} to execute primary action on focused item</li>
      <li>{keybinding:renameItem} to start renaming the focused item</li>
      <li>{keybinding:abortRenameItem} to abort renaming an item</li>
      <li>{keybinding:startProgrammaticDnd} to start dragging selected items</li>
    </ul>
  `,renamingItem:`
    <p>Renaming the item {renamingItem}.</p>
    <p>Use the keybinding {keybinding:abortRenameItem} to abort renaming.</p>
  `,searching:`
    <p>Searching</p>
  `,programmaticallyDragging:`
    <p>Dragging items {dragItems}.</p>
    <p>Press the arrow keys to move the drag target.</p>
    <p>Press {keybinding:completeProgrammaticDnd} to drop or {keybinding:abortProgrammaticDnd} to abort.</p>
  `,programmaticallyDraggingTarget:`
    <p>Drop target is {dropTarget}.</p>
  `},At=function(rn,Rt,Qe,Ye,yt){var Ze=function(Mt){return Rt.getItemTitle(Rt.items[Mt])};return rn.replace(/({[^\s}]+)}/g,function(Mt){var ot,et,St,Ht=Mt.slice(1,-1);switch(Ht){case"treeLabel":return(ot=Ye.treeLabel)!==null&&ot!==void 0?ot:"";case"renamingItem":return Ye.renamingItem?Ze(Ye.renamingItem):"None";case"dragItems":return(St=(et=Qe.draggingItems)===null||et===void 0?void 0:et.map(function(mn){return Rt.getItemTitle(mn)}).join(", "))!==null&&St!==void 0?St:"None";case"dropTarget":{if(!Qe.draggingPosition)return"None";if(Qe.draggingPosition.targetType==="item"||Qe.draggingPosition.targetType==="root")return"within ".concat(Ze(Qe.draggingPosition.targetItem));var er=Rt.items[Qe.draggingPosition.parentItem],Mr=Rt.getItemTitle(er);return Qe.draggingPosition.childIndex===0?"within ".concat(Mr," at the start"):"within ".concat(Mr," after ").concat(Ze(er.children[Qe.draggingPosition.childIndex-1]))}default:if(Ht.startsWith("keybinding:"))return yt[Ht.slice(11)][0];throw Error("Unknown live descriptor variable {".concat(Ht,"}"))}})},xt=function(rn){var Rt=rn.children,Qe=rn.live;return i.createElement("div",{"aria-live":Qe,dangerouslySetInnerHTML:{__html:Rt}})},Qt=function(){var rn=Ne(),Rt=wt(),Qe=pe(),Ye=Zn(),yt=(0,i.useMemo)(function(){var Mt;return(Mt=rn.liveDescriptors)!==null&&Mt!==void 0?Mt:Je},[rn.liveDescriptors]),Ze=Rt.renderers.renderLiveDescriptorContainer;return Rt.treeInformation.isRenaming?i.createElement(Ze,{tree:Rt},i.createElement(xt,{live:"polite"},At(yt.renamingItem,rn,Qe,Rt,Ye))):Rt.treeInformation.isSearching?i.createElement(Ze,{tree:Rt},i.createElement(xt,{live:"polite"},At(yt.searching,rn,Qe,Rt,Ye))):Rt.treeInformation.isProgrammaticallyDragging?i.createElement(Ze,{tree:Rt},i.createElement(xt,{live:"polite"},At(yt.programmaticallyDragging,rn,Qe,Rt,Ye)),i.createElement(xt,{live:"assertive"},At(yt.programmaticallyDraggingTarget,rn,Qe,Rt,Ye))):i.createElement(Ze,{tree:Rt},i.createElement(xt,{live:"off"},At(yt.introduction,rn,Qe,Rt,Ye)))},qt=function(){var rn,Rt=Ne();return!((rn=Rt.showLiveDescription)!==null&&rn!==void 0)||rn?i.createElement(Qt,null):null},Te=function(){return Te=Object.assign||function(rn){for(var Rt,Qe=1,Ye=arguments.length;Qe<Ye;Qe++){Rt=arguments[Qe];for(var yt in Rt)Object.prototype.hasOwnProperty.call(Rt,yt)&&(rn[yt]=Rt[yt])}return rn},Te.apply(this,arguments)},Gt=function(){var rn=wt(),Rt=rn.treeId,Qe=rn.rootItem,Ye=rn.renderers,yt=rn.treeInformation,Ze=Ne(),Mt=(0,i.useRef)(),ot=pe();fo(),cn(Mt.current,function(){Ze.setActiveTree(Rt)},function(){Ze.setActiveTree(function(er){return er===Rt?void 0:er})});var et=Ze.items[Qe].children,St=i.createElement(i.Fragment,null,i.createElement(qt,null),i.createElement(Tn,{depth:0,parentId:Qe},et??[]),i.createElement(Nn,{treeId:Rt}),i.createElement(Xt,{containerRef:Mt.current})),Ht=Te({onDragOver:function(er){er.preventDefault(),ot.onDragOverTreeHandler(er,Rt,Mt)},onMouseDown:function(){return ot.abortProgrammaticDrag()},ref:Mt,style:{position:"relative"},role:"tree","aria-label":yt.treeLabelledBy?void 0:yt.treeLabel,"aria-labelledby":yt.treeLabelledBy},{"data-rct-tree":Rt});return Ye.renderTreeContainer({children:St,info:yt,containerProps:Ht})},un=function(rn,Rt,Qe){var Ye,yt=Ne(),Ze=pe(),Mt=(Ye=yt.viewState[rn.treeId])===null||Ye===void 0?void 0:Ye.selectedItems;return(0,i.useMemo)(function(){var ot,et;return{isFocused:yt.activeTreeId===rn.treeId,isRenaming:!!Rt,areItemsSelected:((ot=Mt==null?void 0:Mt.length)!==null&&ot!==void 0?ot:0)>0,isSearching:Qe!==null,search:Qe,isProgrammaticallyDragging:(et=Ze.isProgrammaticallyDragging)!==null&&et!==void 0?et:!1,treeId:rn.treeId,rootItem:rn.rootItem,treeLabel:rn.treeLabel,treeLabelledBy:rn.treeLabelledBy}},[yt.activeTreeId,rn.treeId,rn.rootItem,rn.treeLabel,rn.treeLabelledBy,Rt,Mt==null?void 0:Mt.length,Qe,Ze.isProgrammaticallyDragging])},Vt=function(){return Vt=Object.assign||function(rn){for(var Rt,Qe=1,Ye=arguments.length;Qe<Ye;Qe++){Rt=arguments[Qe];for(var yt in Rt)Object.prototype.hasOwnProperty.call(Rt,yt)&&(rn[yt]=Rt[yt])}return rn},Vt.apply(this,arguments)},Dn=function(rn,Rt){var Qe=Ne(),Ye=wt(),yt=pe();(0,i.useImperativeHandle)(rn,function(){return Vt(Vt(Vt({},Rt),{treeEnvironmentContext:Qe,dragAndDropContext:yt,treeContext:Ye}),Ye.treeInformation)})},Wt=i.createContext(null),Pe=function(){return React.useContext(Wt)},xe=i.forwardRef(function(rn,Rt){Ne();var Qe=wt();pe();var Ye=H(),yt=(0,i.useMemo)(function(){return{abortRenamingItem:function(){Qe.setRenamingItem(null)},abortSearch:function(){Qe.setSearch(null)},collapseItem:function(Ze){Ye.collapseItem(Ze,Qe.treeId)},completeRenamingItem:function(){},expandItem:function(Ze){Ye.expandItem(Ze,Qe.treeId)},focusItem:function(Ze,Mt){Mt===void 0&&(Mt=!0),Ye.focusItem(Ze,Qe.treeId,Mt)},focusTree:function(Ze){Ze===void 0&&(Ze=!0),Ye.focusTree(Qe.treeId,Ze)},invokePrimaryAction:function(Ze){Ye.invokePrimaryAction(Ze,Qe.treeId)},moveFocusDown:function(){Ye.moveFocusDown(Qe.treeId)},moveFocusUp:function(){Ye.moveFocusUp(Qe.treeId)},renameItem:function(Ze,Mt){Ye.renameItem(Ze,Mt,Qe.treeId)},selectItems:function(Ze){Ye.selectItems(Ze,Qe.treeId)},setSearch:function(Ze){Qe.setSearch(Ze)},startRenamingItem:function(Ze){Qe.setRenamingItem(Ze)},stopRenamingItem:function(){Qe.setRenamingItem(null)},toggleItemExpandedState:function(Ze){Ye.toggleItemExpandedState(Ze,Qe.treeId)},toggleItemSelectStatus:function(Ze){Ye.toggleItemSelectStatus(Ze,Qe.treeId)},expandAll:function(){Ye.expandAll(Qe.treeId)},collapseAll:function(){Ye.collapseAll(Qe.treeId)},expandSubsequently:function(Ze){return Ye.expandSubsequently(Qe.treeId,Ze)}}},[Ye,Qe]);return Dn(Rt,yt),i.createElement(Wt.Provider,{value:yt},rn.children)}),Ae=function(){return Ae=Object.assign||function(rn){for(var Rt,Qe=1,Ye=arguments.length;Qe<Ye;Qe++){Rt=arguments[Qe];for(var yt in Rt)Object.prototype.hasOwnProperty.call(Rt,yt)&&(rn[yt]=Rt[yt])}return rn},Ae.apply(this,arguments)},qe=i.createContext(null),wt=function(){return(0,i.useContext)(qe)},kt=i.forwardRef(function(rn,Rt){var Qe,Ye=Ne(),yt=(0,i.useMemo)(function(){return Ae(Ae({},Ye),rn)},[rn,Ye]),Ze=(0,i.useState)(null),Mt=Ze[0],ot=Ze[1],et=(0,i.useState)(null),St=et[0],Ht=et[1],er=Ye.items[rn.rootItem],Mr=Ye.viewState[rn.treeId];(0,i.useEffect)(function(){return Ye.registerTree({treeId:rn.treeId,rootItem:rn.rootItem}),function(){return Ye.unregisterTree(rn.treeId)}},[rn.treeId,rn.rootItem]);var mn=un(rn,St,Mt),Un=(0,i.useMemo)(function(){return{treeId:rn.treeId,rootItem:rn.rootItem,treeLabel:rn.treeLabel,treeLabelledBy:rn.treeLabelledBy,getItemsLinearly:function(){return ye(rn.rootItem,Mr??{},Ye.items)},treeInformation:mn,search:Mt,setSearch:ot,renamingItem:St,setRenamingItem:Ht,renderers:yt}},[Ye.items,rn.rootItem,rn.treeId,rn.treeLabel,rn.treeLabelledBy,St,yt,Mt,mn,Mr]);return er===void 0?((Qe=Ye.onMissingItems)===null||Qe===void 0||Qe.call(Ye,[rn.rootItem]),null):i.createElement(qe.Provider,{value:Un},i.createElement(xe,{ref:Rt},i.createElement(Gt,null)))}),ut=e(412166),Ft=e(221204),tn=e(193279),In=e(178757),rr=e(47932),Sr=e(885630),Yr=rn=>{var Rt=rn.glyph,Qe=rn.isSelected;return i.createElement(ut.Z,{sx:{svg:{fill:Qe?"fg.default":"fg.muted"}}},Rt)},Pr=e(719484),Mn=e(881707),sr=rn=>{var Rt=rn.label,Qe=rn.isSelected;return typeof Rt=="string"?i.createElement(Pr.Z.Body,{color:Qe?"fg.default":"fg.muted",fontWeight:"medium"},Rt):i.createElement(Mn.Z,{sx:{"is:(p,h1,h2,h3)":{color:Qe?"fg.default":"fg.muted"}}},Rt)},Ar=rn=>{var Rt=rn.accessory,Qe=rn.isSelected;return typeof Rt=="string"?i.createElement(Pr.Z.Body,{color:Qe?"fg.default":"fg.muted"},Rt):i.createElement(Mn.Z,{sx:{"is:(p,h1,h2,h3)":{color:Qe?"fg.default":"fg.muted"}}},Rt)},vr=rn=>{var Rt=rn.pre,Qe=rn.isSelected,Ye=rn.isExpanded;return i.createElement(ut.Z,{sx:{svg:{color:Qe?"fg.default":"fg.muted",transition:"transform 0.3s",transform:Ye?"rotate(90deg)":void 0,transformOrigin:"center"}}},Rt)},qr=rn=>{var Rt=(0,rr.F)(),Qe=Rt.breakpoints,Ye=(0,Sr.i)(Qe),yt=Ye.platform,Ze=rn.item.isFolder,Mt=rn.item.data,ot=Mt.pre,et=ot===void 0?Ze?i.createElement(Ft.Z,null):null:ot,St=Mt.glyph,Ht=St===void 0?Ze?i.createElement(tn.Z,null):i.createElement(In.Z,null):St,er=Mt.label,Mr=Mt.accessory,mn=Mt.onClick,Un=Mt.onKeyDown,hr=Mt.onDoubleClick,br=rn.context,io=br.isSelected,Kr=br.isExpanded,xo=yt==="mobile"?{py:"9px",px:1}:{p:1};return i.createElement(ut.Z,o()({as:"li",flexDirection:"column"},rn.context.itemContainerWithChildrenProps),i.createElement(ut.Z,o()({alignItems:"center",bg:io?"bg.default":"none",borderRadius:1,gap:1},xo,{sx:{"&:hover":{cursor:"pointer",backgroundColor:"bg.inset"},"&:focus-visible":{outline:2,outlineOffset:"-2px",outlineColor:"border.strong",backgroundColor:"bg.inset"},"&:active":{backgroundColor:"gray.800"}}},rn.context.itemContainerWithoutChildrenProps,rn.context.interactiveElementProps,{onClick:Ho=>{var bo,Ea;mn==null||mn(Ho),(bo=(Ea=rn.context.interactiveElementProps).onClick)===null||bo===void 0||bo.call(Ea,Ho)},onDoubleClick:hr,onKeyDown:Un}),et?i.createElement(vr,{isExpanded:Kr,isSelected:io,pre:et}):null,i.createElement(ut.Z,{alignItems:"center",justifyContent:"space-between",width:"100%"},i.createElement(ut.Z,{alignItems:"center",gap:1},i.createElement(Yr,{glyph:Ht,isSelected:io}),i.createElement(sr,{isSelected:io,label:er})),i.createElement(Ar,{accessory:Mr,isSelected:io}))),rn.children&&i.createElement(ut.Z,{as:"ul",flexDirection:"column",ml:4,role:"group"},rn.children))},Dr={renderTreeContainer:rn=>i.createElement(ut.Z,o()({as:"ul",flexDirection:"column",p:2,role:"tree"},rn.containerProps),rn.children),renderItemsContainer:rn=>i.createElement(i.Fragment,null,rn.children),renderItem:rn=>i.createElement(qr,rn)},eo=["treeData","treeProps"],Vo=rn=>rn instanceof g,Bn=rn=>{var Rt=rn.treeData,Qe=rn.treeProps,Ye=a()(rn,eo);return i.createElement(ce,o()({dataProvider:Vo(Rt)?Rt:new g(Rt),getItemTitle:yt=>yt.data,showLiveDescription:!1},Dr,Ye),i.createElement(kt,Qe))},ar=Object.assign(Bn,{StaticTreeDataProvider:g})},327543:function(b,l,e){"use strict";e.d(l,{d:()=>Ie});var r=e(160553),o=e.n(r),n=e(412166),a=e(174161),i=Bt=>a.createElement(n.Z,o()({flexDirection:"column",flexGrow:1,overflowY:"auto"},Bt)),c=e(343701),u=e(425629),f=e(522129),d=Bt=>{var mt=(0,f.Q)(),rt=mt.t;return a.createElement(u.Z.Element.Icon,o()({"aria-label":rt("Close",{},{project:"rosetta-compositions"})},Bt),a.createElement(c.Z,null))},h=e(737968),g=e.n(h),_=["children"],p=Bt=>{var mt=Bt.children,rt=g()(Bt,_);return a.createElement(n.Z,o()({borderTop:1,borderTopColor:"border.default",gap:2,px:{_:6,"mobile-*":4},py:{_:4,"mobile-*":3}},rt),mt)},y=e(392338),O=e(642979),P=e.n(O),C=e(719484),A=e(322533),S=(0,a.createContext)({addDescriptionId:()=>{},addLabelId:()=>{}}),T=["children"],s=["children"],v=["children"],m=["children"],E=["children"],I=["id","sx"],L=["id","sx"],W=["id"];function F(Bt,mt){var rt=Object.keys(Bt);if(Object.getOwnPropertySymbols){var ce=Object.getOwnPropertySymbols(Bt);mt&&(ce=ce.filter(function(Re){return Object.getOwnPropertyDescriptor(Bt,Re).enumerable})),rt.push.apply(rt,ce)}return rt}function G(Bt){for(var mt=1;mt<arguments.length;mt++){var rt=arguments[mt]!=null?arguments[mt]:{};mt%2?F(Object(rt),!0).forEach(function(ce){P()(Bt,ce,rt[ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Bt,Object.getOwnPropertyDescriptors(rt)):F(Object(rt)).forEach(function(ce){Object.defineProperty(Bt,ce,Object.getOwnPropertyDescriptor(rt,ce))})}return Bt}var k=Bt=>{var mt=Bt.children,rt=g()(Bt,T);return a.createElement(n.Z,o()({borderTopLeftRadius:2,borderTopRightRadius:2,flexDirection:"column",gap:4,px:{_:6,"mobile-*":4}},rt),mt)},x=Bt=>{var mt=Bt.children,rt=g()(Bt,s);return a.createElement(k,o()({pt:{_:6,"mobile-*":4}},rt),mt)},M=Bt=>{var mt=Bt.children,rt=g()(Bt,v);return a.createElement(k,o()({borderBottom:1,borderBottomColor:"border.default"},rt),mt)},B=Bt=>{var mt=Bt.children,rt=g()(Bt,m);return a.createElement(M,o()({py:4},rt),mt)},R=Bt=>{var mt=Bt.children,rt=g()(Bt,E);return a.createElement(x,o()({pb:2},rt),mt)},U=Bt=>a.createElement(n.Z,o()({alignItems:"start",gap:2,justifyContent:"space-between"},Bt)),j=Bt=>{var mt=Bt.id,rt=Bt.sx,ce=g()(Bt,I),Re=(0,a.useContext)(S),nt=Re.addLabelId,st=(0,A.Z)(nt,mt);return a.createElement(C.Z.Subtitle,o()({as:"h1",id:st},ce,{sx:G({textWrap:"pretty"},rt)}))},$=Bt=>{var mt=Bt.id,rt=Bt.sx,ce=g()(Bt,L),Re=(0,a.useContext)(S),nt=Re.addLabelId,st=(0,A.Z)(nt,mt);return a.createElement(C.Z.Title,o()({as:"h1",id:st},ce,{sx:G({textWrap:"pretty"},rt)}))},ee=Bt=>{var mt=Bt.id,rt=g()(Bt,W),ce=(0,a.useContext)(S),Re=ce.addDescriptionId,nt=(0,A.Z)(Re,mt);return a.createElement(C.Z.Body,o()({color:"fg.muted",fontWeight:"medium",id:nt},rt))},te=Object.assign(B,{Description:ee,Title:Object.assign(j,{Large:$}),TitleRow:U,WithoutBar:Object.assign(x,{Large:R})}),ie=e(725538),ne=ie.Z.Base,pe=e(881707),oe=["show","children"],q=Bt=>{var mt=Bt.show,rt=Bt.children,ce=g()(Bt,oe);return a.createElement(ie.Z.TouchScroll,null,a.createElement(pe.Z,o()({bg:"bg.base",borderRight:{_:1,"mobile-*":0},borderRightColor:"border.default",boxShadow:{"mobile-*":100},maxHeight:{"mobile-*":"var(--mobile-max-height)"},pb:2,style:{"--mobile-max-height":mt?"100%":0,paddingBottom:mt?void 0:0},sx:{flexShrink:0,overflowY:"scroll"},transitionDuration:300,transitionProperty:"max-height, padding-bottom",transitionTimingFunction:"product.default"},ce),rt))},J=300,me=Bt=>a.createElement(ie.Z.Overlay,o()({transitionDuration:J},Bt)),re=e(47932),he=e(680180),Ee=e.n(he),fe=e(748599),H=["children","sx"];function z(Bt,mt){var rt=Object.keys(Bt);if(Object.getOwnPropertySymbols){var ce=Object.getOwnPropertySymbols(Bt);mt&&(ce=ce.filter(function(Re){return Object.getOwnPropertyDescriptor(Bt,Re).enumerable})),rt.push.apply(rt,ce)}return rt}function _e(Bt){for(var mt=1;mt<arguments.length;mt++){var rt=arguments[mt]!=null?arguments[mt]:{};mt%2?z(Object(rt),!0).forEach(function(ce){P()(Bt,ce,rt[ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Bt,Object.getOwnPropertyDescriptors(rt)):z(Object(rt)).forEach(function(ce){Object.defineProperty(Bt,ce,Object.getOwnPropertyDescriptor(rt,ce))})}return Bt}var ae=ie.Z.ModalContext,ge=ie.Z.TransitionContext,Be=Bt=>{var mt=Bt.children,rt=Bt.sx,ce=g()(Bt,H),Re=(0,a.useContext)(ae),nt=Re.id,st=(0,a.useContext)(ge),vt=st.phase,ze=st.phaseDuration,It=(0,fe.Z)(),on=Ee()(It,2),Pn=on[0],Yn=on[1],Ln=(0,fe.Z)(),bn=Ee()(Ln,2),ir=bn[0],Zn=bn[1],$n=(0,a.useMemo)(()=>({addLabelId:Yn,addDescriptionId:Zn}),[Yn,Zn]);return a.createElement(S.Provider,{value:$n},a.createElement(n.Z,o()({"aria-describedby":ir,"aria-labelledby":Pn,"aria-modal":!0,bg:"bg.base",boxShadow:500,"data-modal-id":nt,"data-phase":vt,flexDirection:"column",role:"dialog",style:{transitionDuration:"".concat(ze,"ms")},transitionProperty:"transform"},ce,{sx:_e({"--translate":"var(--translate-when-open)","--translate-when-open":"0","--translate-when-closed":"100%","@media (prefers-reduced-motion: reduce)":{transitionDuration:"0ms !important"},"@starting-style":{"--translate":"var(--translate-when-closed)"},'&[data-phase="entering"]':{"--translate":"var(--translate-when-closed)"},'&[data-phase="enteringActive"]':{"--translate":"var(--translate-when-open)",transitionTimingFunction:"product.entrance"},'&[data-phase="exiting"]':{"--translate":"var(--translate-when-open)"},'&[data-phase="exitingActive"]':{"--translate":"var(--translate-when-closed)",transitionTimingFunction:"product.exit"}},rt)}),mt))},Ke=["children","sx"];function He(Bt,mt){var rt=Object.keys(Bt);if(Object.getOwnPropertySymbols){var ce=Object.getOwnPropertySymbols(Bt);mt&&(ce=ce.filter(function(Re){return Object.getOwnPropertyDescriptor(Bt,Re).enumerable})),rt.push.apply(rt,ce)}return rt}function ye(Bt){for(var mt=1;mt<arguments.length;mt++){var rt=arguments[mt]!=null?arguments[mt]:{};mt%2?He(Object(rt),!0).forEach(function(ce){P()(Bt,ce,rt[ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Bt,Object.getOwnPropertyDescriptors(rt)):He(Object(rt)).forEach(function(ce){Object.defineProperty(Bt,ce,Object.getOwnPropertyDescriptor(rt,ce))})}return Bt}var Le=Bt=>{var mt=Bt.children,rt=Bt.sx,ce=g()(Bt,Ke),Re=(0,re.F)(),nt=Re.space;return a.createElement(Be,o()({borderTopLeftRadius:2,borderTopRightRadius:2,height:{_:"calc(100svh - var(--top))","mobile-*":"calc(100svh - var(--mobile-top))"},position:"relative",top:{_:"var(--top)","mobile-*":"var(--mobile-top)"}},ce,{sx:ye({"--top":nt[5],"--mobile-top":nt[2],transform:"translateY(var(--translate))"},rt)}),mt)},Ue=e(726658),Xe=e(37041),Fe=e(600994),ht=Bt=>{var mt=Bt.children,rt=Bt.show,ce=Bt.onClick;return a.createElement(Fe.Z.Base,{onClick:ce,sx:{display:{_:"none","mobile-*":"flex"}},width:"fit-content"},a.createElement(n.Z,{alignItems:"center",gap:1},a.createElement(C.Z.Caption,{color:"fg.default",fontWeight:"medium"},mt),rt?a.createElement(Ue.Z,{color:"fg.muted"}):a.createElement(Xe.Z,{color:"fg.muted"})))},Ne=["children","sx"];function Ce(Bt,mt){var rt=Object.keys(Bt);if(Object.getOwnPropertySymbols){var ce=Object.getOwnPropertySymbols(Bt);mt&&(ce=ce.filter(function(Re){return Object.getOwnPropertyDescriptor(Bt,Re).enumerable})),rt.push.apply(rt,ce)}return rt}function we(Bt){for(var mt=1;mt<arguments.length;mt++){var rt=arguments[mt]!=null?arguments[mt]:{};mt%2?Ce(Object(rt),!0).forEach(function(ce){P()(Bt,ce,rt[ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Bt,Object.getOwnPropertyDescriptors(rt)):Ce(Object(rt)).forEach(function(ce){Object.defineProperty(Bt,ce,Object.getOwnPropertyDescriptor(rt,ce))})}return Bt}var $e={borderBottomLeftRadius:0,borderBottomRightRadius:0,borderTopLeftRadius:2,borderTopRightRadius:2,height:"calc(100svh - var(--mobile-top))",top:"var(--mobile-top)",transform:"translateY(var(--translate))"},Ot=Bt=>{var mt=Bt.children,rt=Bt.sx,ce=g()(Bt,Ne),Re=(0,re.F)(),nt=Re.breakpoints,st=Re.space;return a.createElement(Be,o()({borderBottomLeftRadius:2,borderTopLeftRadius:2,height:"100svh",maxWidth:"100svw",position:"fixed",right:0,top:0,width:"sizes.800"},ce,{sx:we({"--mobile-top":st[2],transform:"translateX(var(--translate))",[nt["mobile-0"]]:$e,[nt["mobile-100"]]:$e},rt)}),mt)},Pt=Bt=>a.createElement(ie.Z.Transition,o()({duration:J},Bt)),Ie={Body:i,CloseButton:d,Footer:p,Header:te,Modal:ne,Overlay:me,Sheet:Le,SideSheet:Ot,NavigationContainer:q,ShowNavigationButton:ht,Transition:Pt}},630628:function(b,l,e){"use strict";e.d(l,{Z:()=>M});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(680180),c=e.n(i),u=e(737968),f=e.n(u),d=e(392338),h=e(174161),g=e(233284),_=e(671872),p=e(130527),y=e(47932),O=e(159945),P=e(942085),C=e(662781),A=e(997803),S=e(881707),T=e(18724),s=e(269010);function v(B,R){var U=Object.keys(B);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(B);R&&(j=j.filter(function($){return Object.getOwnPropertyDescriptor(B,$).enumerable})),U.push.apply(U,j)}return U}function m(B){for(var R=1;R<arguments.length;R++){var U=arguments[R]!=null?arguments[R]:{};R%2?v(Object(U),!0).forEach(function(j){a()(B,j,U[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(U)):v(Object(U)).forEach(function(j){Object.defineProperty(B,j,Object.getOwnPropertyDescriptor(U,j))})}return B}var E=(B,R,U)=>-Math.min(B.offsetTop+B.offsetHeight,R.getBoundingClientRect().bottom-U),I={name:"applyMaxSize",enabled:!0,phase:"beforeWrite",requires:["maxSize"],fn(B){var R=B.state,U=R.modifiersData,j=U.maxSize.height;R.styles.popper.maxHeight="".concat(j,"px")}},L=B=>!!(B&&typeof B=="object"&&"offsetTop"in B),W=B=>{var R=B.displayNode,U=B.placement,j=U===void 0?"bottom":U,$=B.selectedNode,ee=B.space;return{placement:j==="over"?"bottom":j,strategy:"absolute",modifiers:[{name:"offset",options:{offset:j==="over"&&L($)?[0,E($,R,parseFloat(ee[4]))]:[0,parseFloat(ee[1])]}},m(m({},s.Z),{},{options:{padding:parseFloat(ee[4])}}),I]}};const F=W;var G=["children","className","displayRef","enableOverlay","focusIndex","focusLockIsDisabled","isMulti","isOpen","isOptionSelected","mountAt","onBlur","options","optionRefs","returnFocus","placement","scrollLockIsDisabled","setFocusIndex","setIsOpen","overlayProps","sx","style","theme","value"];function k(B,R){var U=Object.keys(B);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(B);R&&(j=j.filter(function($){return Object.getOwnPropertyDescriptor(B,$).enumerable})),U.push.apply(U,j)}return U}function x(B){for(var R=1;R<arguments.length;R++){var U=arguments[R]!=null?arguments[R]:{};R%2?k(Object(U),!0).forEach(function(j){a()(B,j,U[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(U)):k(Object(U)).forEach(function(j){Object.defineProperty(B,j,Object.getOwnPropertyDescriptor(U,j))})}return B}const M=B=>{var R=B.children,U=B.className,j=B.displayRef,$=B.enableOverlay,ee=$===void 0?!0:$,te=B.focusIndex,ie=B.focusLockIsDisabled,ne=ie===void 0?!0:ie,pe=B.isMulti,oe=B.isOpen,q=B.isOptionSelected,J=B.mountAt,me=J===void 0?document.body:J,re=B.onBlur,he=B.options,Ee=B.optionRefs,fe=B.returnFocus,H=B.placement,z=B.scrollLockIsDisabled,_e=B.setFocusIndex,ae=B.setIsOpen,ge=B.overlayProps,Be=B.sx,Ke=B.style,He=B.theme,ye=B.value,Le=f()(B,G),Ue=(0,y.F)(),Xe=He||Ue||T.rosetta.white,Fe=Xe.space,ht=Xe.borders,Ne=h.useState(null),Ce=c()(Ne,2),we=Ce[0],$e=Ce[1],Ot=h.useState(null),Pt=c()(Ot,2),Ie=Pt[0],Bt=Pt[1],mt=(0,O.Z)(),rt=c()(mt,2),ce=rt[0],Re=rt[1],nt=(0,P.Z)($e,ce),st=he.findIndex(Pn=>Pn.value===ye),vt=we?we.childNodes[st]||we.childNodes[0]:void 0,ze=(0,C.D)(j.current,Ie,F({displayNode:j.current,placement:H,space:Fe,selectedNode:vt})),It=ze.styles;(0,h.useEffect)(()=>{if(typeof te=="number"&&te>=0&&we&&Re){var Pn=Array.from(we.querySelectorAll('*[role="option"]'));if(!Pn||Pn.length<te)return;var Yn=Pn[te];if(!Yn)return;var Ln=Yn.getBoundingClientRect(),bn=NaN;Ln.bottom>Re.bottom?bn=Ln.bottom-Re.bottom:Ln.top<Re.top&&(bn=Ln.top-Re.top),bn&&(we.scrollTop+=bn)}},[te,we,Re]);var on=typeof me=="function"?me():me;return g.createPortal(h.createElement(y.Z.Provider,{theme:(0,T.getContextualTheme)(Xe,T.THEME_USAGE_CONTEXTS.ELEVATED)},h.createElement(_.default,{isActive:!z},h.createElement(A.Z,null,Pn=>{var Yn;return h.createElement(h.Fragment,null,h.createElement(S.Z,{className:ge==null?void 0:ge.className,onClick:re||(()=>{ae==null||ae(!1),_e(-1)}),style:{zIndex:Pn},sx:ee?{position:"fixed",top:0,left:0,width:"100%",height:"100%"}:void 0}),h.createElement(p.ZP,{disabled:ne,returnFocus:fe},h.createElement(S.Z,{ref:Bt,backgroundColor:"base",boxShadow:200,className:U,css:{"&:hover":{outline:"none"}},display:"flex",flexDirection:"column",minHeight:"sizes.200",opacity:Ie?1:0,overflow:"auto",position:"fixed",py:1,role:"document",style:x(x({width:(Yn=j.current)===null||Yn===void 0?void 0:Yn.offsetWidth,zIndex:Pn},It.popper),Ke),transition:"opacity 200ms ease-out"},h.createElement(_.TouchScrollable,null,h.createElement(S.Z,o()({ref:nt,"aria-multiselectable":pe,as:"ul",margin:0,p:0,role:"listbox",sx:x({flexGrow:1,listStyle:"none",outline:ht[1],outlineColor:"transparent",outlineOffset:"-1px",overflow:"auto",textIndent:0},Be),tabIndex:0},Le),R)))))}))),on)}},20751:function(b,l,e){"use strict";e.d(l,{Z:()=>A});var r=e(392338),o=e.n(r),n=e(160553),a=e.n(n),i=e(642979),c=e.n(i),u=e(737968),f=e.n(u),d=e(174161),h=e(936609),g=e(47932),_=e(630628),p=e(155846),y=["theme"];function O(S,T){var s=Object.keys(S);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(S);T&&(v=v.filter(function(m){return Object.getOwnPropertyDescriptor(S,m).enumerable})),s.push.apply(s,v)}return s}function P(S){for(var T=1;T<arguments.length;T++){var s=arguments[T]!=null?arguments[T]:{};T%2?O(Object(s),!0).forEach(function(v){c()(S,v,s[v])}):Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(s)):O(Object(s)).forEach(function(v){Object.defineProperty(S,v,Object.getOwnPropertyDescriptor(s,v))})}return S}var C=d.forwardRef((S,T)=>{var s=S.theme,v=f()(S,y),m=(0,g.F)();return d.createElement(h.Z.Renderer,a()({ref:T,theme:s??m},v,{render:P({default:_.Z,"mobile-0":p.Z,"mobile-100":p.Z},v.render)}))});C.displayName="Dropdown";const A=Object.assign(C,{Overlay:_.Z,Sheet:p.Z})},155846:function(b,l,e){"use strict";e.d(l,{Z:()=>k});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(680180),c=e.n(i),u=e(737968),f=e.n(u),d=e(392338),h=e.n(d),g=e(174161),_=e(700436),p=e.n(_),y=e(881707),O=e(412166),P=e(719484),C=e(600994),A=e(20561),S=e(378638),T=e(488609),s=e(159945),v=e(47932),m=e(671872),E=e(618801),I=e(522129),L=["children","sheetContainerClassName","label","mountAt","onBlur","zIndex","draggable","scrollLockIsDisabled"];function W(x,M){var B=Object.keys(x);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(x);M&&(R=R.filter(function(U){return Object.getOwnPropertyDescriptor(x,U).enumerable})),B.push.apply(B,R)}return B}function F(x){for(var M=1;M<arguments.length;M++){var B=arguments[M]!=null?arguments[M]:{};M%2?W(Object(B),!0).forEach(function(R){a()(x,R,B[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(B)):W(Object(B)).forEach(function(R){Object.defineProperty(x,R,Object.getOwnPropertyDescriptor(B,R))})}return x}var G=x=>{var M=x.children,B=x.sheetContainerClassName,R=x.label,U=x.mountAt,j=x.onBlur,$=x.zIndex,ee=x.draggable,te=x.scrollLockIsDisabled,ie=f()(x,L),ne=(0,I.Q)(),pe=ne.t;R||(R=pe("Select",null,{project:"rosetta-compositions"}));var oe=(0,g.useState)(1),q=c()(oe,2),J=q[0],me=q[1],re=(0,s.Z)(),he=c()(re,2),Ee=he[0],fe=he[1],H=(0,s.Z)(),z=c()(H,2),_e=z[0],ae=z[1],ge=(0,v.F)(),Be=ge.sizes,Ke=fe.height>0?fe.height:parseFloat(Be.sizes[300]),He=g.useMemo(()=>typeof U=="function"?U:U?()=>U:void 0,[U]);return g.useEffect(()=>{J===0&&(j==null||j())},[J,j]),g.createElement(A.Z.Portal,{mountAt:He},g.createElement(A.Z.Overlay,{onClick:()=>me(0),zIndex:$}),g.createElement(m.default,{isActive:!te},g.createElement(A.Z.Container,{className:B,zIndex:$},g.createElement(A.Z.Drawer,o()({currentDockIndex:J,docks:[0,p()(Ke+ae.height,Ke+parseFloat(Be.sizes[450]),window.innerHeight),window.innerHeight],draggable:ee,onDockIndexChange:me,renderBody:()=>g.createElement(m.TouchScrollable,null,g.createElement(y.Z,{ref:_e,maxHeight:window.innerHeight,pb:6,pt:2,px:3},g.createElement(S.Z,{divider:g.createElement(T.Z,null)},g.Children.map(M,(ye,Le)=>(0,g.isValidElement)(ye)?(0,E.k)(ye)?g.cloneElement(ye,F(F({},ye.props),{},{children:g.createElement(S.Z,{divider:T.Z},ye.props.children),pt:Le>0?2:void 0})):g.cloneElement(ye,F(F(F({},ye.props),(0,E.q)(ye)?{as:"div"}:{}),{},{isFocused:!1})):ye)),g.createElement(T.Z,null))),renderHeader:()=>g.createElement(O.Z,{ref:Ee,alignItems:"center",gap:3,justifyContent:"space-between",minHeight:"sizes.300",px:3},g.createElement(P.Z.Body,{fontWeight:"medium",m:0,sx:{textWrap:"balance"}},R),g.createElement(C.Z.Tertiary,{css:{flexShrink:0},onClick:j},pe("Done",null,{project:"rosetta-compositions"})))},ie)))))};G.displayName="DropdownMobile";const k=G},300367:function(b,l,e){"use strict";e.d(l,{Z:()=>y});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(174161),c=e(719484),u=e(881707),f=e(305170),d=["children","isDisabled"],h=["isDisabled","label","children","renderLabel"];function g(){var O=(0,i.useRef)((0,f.Z)());return"sqs-".concat(O.current)}var _=O=>{var P=O.children,C=O.isDisabled,A=a()(O,d);return i.createElement(c.Z.Label,o()({as:"li",sx:{color:C?"gray.600":"gray.300",px:{_:2,"mobile-0":0},py:2}},A),P)},p=O=>{var P=O.isDisabled,C=P===void 0?!1:P,A=O.label,S=O.children,T=O.renderLabel,s=T===void 0?_:T,v=a()(O,h),m=g();return i.createElement("li",{role:"presentation"},i.createElement(u.Z,o()({as:"ul"},v,{"aria-labelledby":m,role:"group"}),i.createElement(s,{id:m,isDisabled:C,role:"presentation"},A),S))};const y=p},734260:function(b,l,e){"use strict";e.d(l,{Z:()=>C});var r=e(392338),o=e.n(r),n=e(160553),a=e.n(n),i=e(642979),c=e.n(i),u=e(737968),f=e.n(u),d=e(174161),h=e(199025),g=e(826788),_=e(47932),p=["children","index","isDisabled","isFocused","isOptionSelected","onSelectOption","setFocusIndex","css","value"];function y(A,S){var T=Object.keys(A);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(A);S&&(s=s.filter(function(v){return Object.getOwnPropertyDescriptor(A,v).enumerable})),T.push.apply(T,s)}return T}function O(A){for(var S=1;S<arguments.length;S++){var T=arguments[S]!=null?arguments[S]:{};S%2?y(Object(T),!0).forEach(function(s){c()(A,s,T[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(T)):y(Object(T)).forEach(function(s){Object.defineProperty(A,s,Object.getOwnPropertyDescriptor(T,s))})}return A}var P=d.forwardRef((A,S)=>{var T=A.children,s=A.index,v=A.isDisabled,m=A.isFocused,E=A.isOptionSelected,I=A.onSelectOption,L=A.setFocusIndex,W=A.css,F=A.value,G=f()(A,p),k=E==null?void 0:E(F),x=(0,_.F)(),M=x.colors,B=x.borders;return d.createElement(h.Z,a()({ref:S,"aria-disabled":v,"aria-selected":!!k,as:"li",css:O(O({cursor:v?"not-allowed":"pointer",outline:B[1],outlineColor:"transparent"},m&&{outline:B[2],outlineColor:M.gray[100],outlineOffset:"-2px"}),{},{"&:hover":{backgroundColor:"".concat(M.gray[900])}},W),exteriorAccessory:k?d.createElement(g.Z,{color:"gray.100"}):null,isDisabled:v,label:T,onClick:v?null:()=>{I==null||I(F)},px:{_:2,"mobile-*":0},role:"option"},G))});P.displayName="Option";const C=d.memo(P)},201117:function(b,l,e){"use strict";e.d(l,{Z:()=>H});var r=e(160553),o=e.n(r),n=e(488609),a=e(174161),i=e(680180),c=e.n(i),u=e(737968),f=e.n(u),d=e(642979),h=e.n(d),g=e(392338),_=e(976003),p=e.n(_),y=e(305170),O=e(942085),P=e(11790),C=e(47932),A=e(199025),S=e(719484),T=e(881707),s=e(272578),v=e(66232),m=e(599433),E=e(604934),I=["css","detail","errors","isDisabled","isLabelPlaceholder","isDetailPlaceholder","isOpen","label","setFocusIndex","setIsOpen","exteriorAccessory","interiorAccessory"];function L(z,_e){var ae=Object.keys(z);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(z);_e&&(ge=ge.filter(function(Be){return Object.getOwnPropertyDescriptor(z,Be).enumerable})),ae.push.apply(ae,ge)}return ae}function W(z){for(var _e=1;_e<arguments.length;_e++){var ae=arguments[_e]!=null?arguments[_e]:{};_e%2?L(Object(ae),!0).forEach(function(ge){h()(z,ge,ae[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(ae)):L(Object(ae)).forEach(function(ge){Object.defineProperty(z,ge,Object.getOwnPropertyDescriptor(ae,ge))})}return z}var F=a.forwardRef((z,_e)=>{var ae=z.css,ge=z.detail,Be=z.errors,Ke=z.isDisabled,He=z.isLabelPlaceholder,ye=z.isDetailPlaceholder,Le=z.isOpen,Ue=z.label,Xe=z.setFocusIndex,Fe=z.setIsOpen,ht=z.exteriorAccessory,Ne=z.interiorAccessory,Ce=f()(z,I),we=(0,a.useState)(!1),$e=c()(we,2),Ot=$e[0],Pt=$e[1],Ie=(0,a.useState)(null),Bt=c()(Ie,2),mt=Bt[0],rt=Bt[1],ce=(0,C.F)(),Re=ce.borders,nt=(0,s.Z)(mt),st=(0,O.Z)(rt,_e),vt=Le?a.createElement(m.Z,{color:"gray.100"}):a.createElement(E.Z,{color:Ke?"gray.600":Ot||nt?"gray.100":"gray.300"}),ze=ge?a.createElement(S.Z.Body,{as:T.Z,color:Ke?"gray.600":ye?"gray.500":"gray.100",m:0},ge):null;return a.createElement(A.Z,o()({ref:st,"aria-disabled":Ke,"aria-expanded":Le,"aria-haspopup":"listbox",css:W({cursor:Ke?"not-allowed":"pointer",userSelect:"none",outline:Re[1],outlineColor:"transparent"},ae),exteriorAccessory:ht!==void 0?ht:vt,interiorAccessory:Ne!==void 0?Ne:ze,label:a.createElement(S.Z.Body,{as:T.Z,color:Ke?"gray.600":He?"gray.500":"gray.100",m:0},Ue),onClick:Ke?void 0:()=>{Xe(-1),Fe(!Le)},onKeyDown:It=>{Ke||((v.Z.isSpace(It)||v.Z.isArrowUp(It)||v.Z.isArrowDown(It))&&(It.preventDefault(),It.stopPropagation(),Fe(!0)),v.Z.isTab(It)&&(Fe(!1),Xe(-1)))},onMouseEnter:()=>Pt(!0),onMouseLeave:()=>Pt(!1),post:Be?a.createElement(S.Z.Caption,{color:"red",display:"block"},Be.message):null,role:"combobox",tabIndex:Ke?-1:0},Ce))});F.displayName="Display";const G=F;var k=e(20751),x=e(522129),M=["isMulti","selectedOptions","detail","label","placeholder","value"];function B(z,_e){var ae=Object.keys(z);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(z);_e&&(ge=ge.filter(function(Be){return Object.getOwnPropertyDescriptor(z,Be).enumerable})),ae.push.apply(ae,ge)}return ae}function R(z){for(var _e=1;_e<arguments.length;_e++){var ae=arguments[_e]!=null?arguments[_e]:{};_e%2?B(Object(ae),!0).forEach(function(ge){h()(z,ge,ae[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(ae)):B(Object(ae)).forEach(function(ge){Object.defineProperty(z,ge,Object.getOwnPropertyDescriptor(ae,ge))})}return z}var U=z=>{var _e=z.selectedOptions,ae=z.detail,ge=z.label,Be=z.placeholder,Ke=z.value,He=_e.length,ye=(0,x.Q)(),Le=ye.pluralize;if(He>1){var Ue=Le({one:"{%n} selected",other:"{%n} selected"},He,null,{project:"rosetta-compositions"});return ge?{label:ge,detail:Ue}:{label:Ue}}if(He===1){var Xe=_e[0].props||{};return{label:Xe.children||Xe.label||Ke}}return ge?R({label:ge},ae?{detail:ae}:{detail:Be,isDetailPlaceholder:!0}):{label:Be,isLabelPlaceholder:!0,detail:ae}},j=z=>{var _e=z.selectedOptions,ae=z.detail,ge=z.label,Be=z.placeholder,Ke=z.value,He=_e.length?_e[0]:null;if(!He)return ge!==void 0?R({label:ge},ae?{detail:ae}:{detail:Be,isDetailPlaceholder:!0}):{label:Be,isLabelPlaceholder:!0,detail:ae};var ye=He.props||{},Le=ye.children||ye.label||Ke;return ge!==void 0?{label:ge,detail:Le}:{label:Le}},$=z=>{var _e=z.isMulti,ae=z.selectedOptions,ge=z.detail,Be=z.label,Ke=z.placeholder,He=z.value,ye=f()(z,M);return _e?U(R({selectedOptions:ae,detail:ge,label:Be,placeholder:Ke,value:He},ye)):j(R({selectedOptions:ae,detail:ge,label:Be,placeholder:Ke,value:He},ye))},ee=e(618801),te=["children","detail","errors","id","isDisabled","isMulti","label","onChange","placeholder","placement","renderDisplay","renderDropdown","sx","value","variant","zIndex","aria-labelledby","aria-label"];function ie(z,_e){var ae=Object.keys(z);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(z);_e&&(ge=ge.filter(function(Be){return Object.getOwnPropertyDescriptor(z,Be).enumerable})),ae.push.apply(ae,ge)}return ae}function ne(z){for(var _e=1;_e<arguments.length;_e++){var ae=arguments[_e]!=null?arguments[_e]:{};_e%2?ie(Object(ae),!0).forEach(function(ge){h()(z,ge,ae[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(ae)):ie(Object(ae)).forEach(function(ge){Object.defineProperty(z,ge,Object.getOwnPropertyDescriptor(ae,ge))})}return z}var pe=(z,_e)=>_e<0?"".concat(z,"-0"):"".concat(z,"-").concat(_e);function oe(){var z=(0,a.useRef)((0,y.Z)());return"sqs-".concat(z.current)}var q=z=>{var _e=a.Children.toArray(z.children),ae=_e.reduce((ge,Be)=>{if(a.isValidElement(Be))if((0,ee.k)(Be)){var Ke=Be.props,He=a.Children.toArray(Ke.children).filter(ee.q).map(ye=>a.cloneElement(ye,ne(ne({},ye.props),{},{isDisabled:ye.props.isDisabled||Ke.isDisabled})));ge.push(...He)}else(0,ee.q)(Be)&&ge.push(Be);return ge},[]);return{options:ae.map(ge=>{var Be=ge.props,Ke=Be.children,He=Be.isDisabled,ye=Be.value;return{isDisabled:He,label:typeof Ke=="string"?Ke:"",value:ye}}),selectedOptions:z.isMulti?ae.filter(ge=>(0,ee.q)(ge)&&!!z.value.some(Be=>p()(ge.props.value,Be))):ae.filter(ge=>(0,ee.q)(ge)&&p()(z.value,ge.props.value))}},J=(z,_e)=>{var ae=_e.optionIdPrefix,ge=_e.isOptionSelected,Be=_e.focusIndex,Ke=_e.setFocusIndex,He=_e.onSelectOption,ye=0,Le=[];return a.Children.toArray(z).forEach(Ue=>{if(a.isValidElement(Ue)){var Xe=Ue.props||{},Fe=(0,ee.k)(Ue),ht=(0,ee.q)(Ue);if(Fe){var Ne=Xe.isDisabled,Ce=[];a.Children.toArray(Xe.children).forEach($e=>{if(a.isValidElement($e)){var Ot=$e.props||{},Pt=Ot.isDisabled||Ne;(0,ee.q)($e)?(Ce.push(a.cloneElement($e,ne({id:pe(ae,ye),index:ye,isDisabled:Pt,isFocused:!Pt&&ye===Be,isOptionSelected:ge,onSelectOption:He,setFocusIndex:Ke},$e.props||{}))),ye++):(0,ee.k)($e)||Ce.push($e)}}),Le.push(a.cloneElement(Ue,ne(ne({},Xe),{},{children:Ce})))}else if(ht){var we=Xe.isDisabled;Le.push(a.cloneElement(Ue,ne({id:pe(ae,ye),index:ye,isFocused:!we&&ye===Be,isOptionSelected:ge,onSelectOption:He,setFocusIndex:Ke},Xe))),ye++}else Le.push(Ue)}}),Le},me=a.forwardRef((z,_e)=>{var ae=z.children,ge=z.detail,Be=z.errors,Ke=z.id,He=z.isDisabled,ye=He===void 0?!1:He,Le=z.isMulti,Ue=Le===void 0?!1:Le,Xe=z.label,Fe=z.onChange,ht=z.placeholder,Ne=ht===void 0?"":ht,Ce=z.placement,we=Ce===void 0?Ue?"bottom":"over":Ce,$e=z.renderDisplay,Ot=$e===void 0?G:$e,Pt=z.renderDropdown,Ie=Pt===void 0?k.Z:Pt,Bt=z.sx,mt=z.value,rt=z.variant,ce=z.zIndex,Re=z["aria-labelledby"],nt=z["aria-label"],st=f()(z,te),vt=a.useState(!1),ze=c()(vt,2),It=ze[0],on=ze[1],Pn=It,Yn=on;typeof st.isOpen<"u"&&st.setIsOpen&&(Pn=st.isOpen,Yn=st.setIsOpen);var Ln=a.useRef(),bn=(0,O.Z)(_e,Ln),ir=oe(),Zn=oe(),$n=q({children:ae,isMulti:Ue,value:mt}),jt=$n.options,Rn=$n.selectedOptions,jn=(0,C.F)(),Tn=jn.space,Nn=$({detail:ge,isMulti:Ue,label:Xe,placeholder:Ne,selectedOptions:Rn}),cn=(0,P.Z)({isMulti:Ue,isOpen:Pn,onSelect:Fe,options:jt,setIsOpen:Yn,value:mt}),or=cn.isOptionSelected,qn=cn.focusIndex,Hr=cn.setFocusIndex,fo=cn.onKeyUp,Jr=cn.onSelectOption;return a.createElement(a.Fragment,null,a.createElement(Ot,o()({ref:bn,"aria-activedescendant":Pn?pe(ir,qn):void 0,"aria-controls":Ke??Zn,"aria-label":nt,"aria-labelledby":Re,errors:Be,isDisabled:ye,isOpen:Pn,onChange:Fe,onKeyUp:fo,placeholder:Ne,setFocusIndex:Hr,setIsOpen:Yn,sx:ne(ne({},!Pn&&{position:"relative",":focus":{"&:after":{outline:2,outlineColor:"gray.100",outlineOffset:"-2px",content:'""',height:"100%",position:"absolute",width:rt==="floating"?"100%":"calc(100% + ".concat(parseInt(Tn[1])*2,"px)"),top:0,left:rt==="floating"?"0px":"-".concat(Tn[1])},outline:"none",overflow:"visible"},":focus:not(:focus-visible)":{"&:after":{display:"none"}}}),Bt),value:mt,variant:rt},Nn,st)),!Pn||!Ln.current?null:a.createElement(Ie,{"aria-label":nt,"aria-labelledby":Re,"data-test":st["data-test"],displayRef:Ln,errors:Be,focusIndex:qn,id:Ke??Zn,isMulti:Ue,isOpen:Pn,isOptionSelected:or,label:Nn.label,onBlur:()=>{Yn(!1),Hr(-1)},onChange:Jr,onKeyUp:fo,options:jt,placement:we,setFocusIndex:Hr,setIsOpen:Yn,value:mt,zIndex:ce},J(ae,{focusIndex:qn,isOptionSelected:or,onSelectOption:Jr,optionIdPrefix:ir,setFocusIndex:Hr})))});me.displayName="Dropdown";const re=me;var he=e(734260),Ee=e(300367),fe=a.forwardRef((z,_e)=>a.createElement(a.Fragment,null,a.createElement(re,o()({ref:_e},z)),a.createElement(n.Z,null)));fe.displayName="DropdownSelectWithDivider";const H=Object.assign(fe,{Base:re,Display:G,Dropdown:k.Z,OptGroup:Ee.Z,Option:he.Z})},618801:function(b,l,e){"use strict";e.d(l,{k:()=>i,q:()=>a});var r=e(174161),o=e(734260),n=e(300367),a=c=>r.isValidElement(c)&&c.type===o.Z,i=c=>r.isValidElement(c)&&c.type===n.Z},197272:function(b,l,e){"use strict";e.d(l,{Z:()=>Xe});var r=e(392338),o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(737968),u=e.n(c),f=e(174161),d=e(412166),h=e(47932),g=e(803366),_=e.n(g),p=e(719484),y=e(488609),O=e(680180),P=e.n(O),C=e(881707),A=e(224353),S=e(608371),T=e(685656),s=e(705198),v=e(305170),m=e(885630),E=()=>{var Fe=(0,h.F)(),ht=Fe.breakpoints,Ne=(0,m.i)(ht),Ce=Ne.platform;return Ce==="mobile"},I=["title","figure","tooltip","footer","sx"];function L(Fe,ht){var Ne=Object.keys(Fe);if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(Fe);ht&&(Ce=Ce.filter(function(we){return Object.getOwnPropertyDescriptor(Fe,we).enumerable})),Ne.push.apply(Ne,Ce)}return Ne}function W(Fe){for(var ht=1;ht<arguments.length;ht++){var Ne=arguments[ht]!=null?arguments[ht]:{};ht%2?L(Object(Ne),!0).forEach(function(Ce){i()(Fe,Ce,Ne[Ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Fe,Object.getOwnPropertyDescriptors(Ne)):L(Object(Ne)).forEach(function(Ce){Object.defineProperty(Fe,Ce,Object.getOwnPropertyDescriptor(Ne,Ce))})}return Fe}var F=f.createContext({isTooltipOpen:!1}),G=f.forwardRef((Fe,ht)=>{var Ne=Fe.title,Ce=Fe.figure,we=Fe.tooltip,$e=Fe.footer,Ot=Fe.sx,Pt=u()(Fe,I),Ie=(0,h.F)(),Bt=Ie.colors,mt=f.useState(!1),rt=P()(mt,2),ce=rt[0],Re=rt[1],nt=E(),st=nt?void 0:()=>Re(!0),vt=nt?void 0:()=>Re(!1),ze=()=>{if(!Ne&&$e)return"rowHero";if(Ne&&!$e)return"titledRowHero";if(Ne&&$e)return"figure"};return f.createElement(C.Z,n()({ref:ht,pb:2,pt:{"mobile-*":Ne&&$e?2:0,_:2},px:{"mobile-*":0,_:6}},Pt,{sx:W(W({},W(W({},!nt&&{minWidth:"220px",maxWidth:"33%",width:"100%"}),{},{"&:not(:first-of-type)":{boxShadow:nt?"0 1px 0 ".concat(Bt.border.default," inset"):"1px 0 0 ".concat(Bt.border.default," inset")}})),Ot)}),f.createElement(F.Provider,{value:{itemDetailType:ze(),isTooltipOpen:ce}},f.createElement(d.Z,{alignItems:"center",display:Ne?"flex":"none",gap:1,justifyContent:"space-between",onBlur:vt,onClick:nt?()=>Re(!0):void 0,onFocus:st,onMouseLeave:vt,onMouseOver:st,py:2},Ne,we),Ce,$e))});G.displayName="KeyFigures.ItemDetailCard";const k=G;var x=["children"],M=f.forwardRef((Fe,ht)=>{var Ne=Fe.children,Ce=u()(Fe,x),we=f.useContext(ye),$e=f.useContext(F),Ot=$e.isTooltipOpen,Pt=f.useState(Ot??!1),Ie=P()(Pt,2),Bt=Ie[0],mt=Ie[1];f.useEffect(()=>{mt(Ot)},[Ot]);var rt=f.useState(null),ce=P()(rt,2),Re=ce[0],nt=ce[1],st=(0,v.Z)(),vt=E(),ze=we==="itemDetail"?T.Z:S.Z,It=vt?void 0:()=>mt(!0),on=vt?void 0:()=>mt(!1);return Ne&&(typeof Ne=="string"||(0,s.Z)(Ne))?f.createElement(f.Fragment,null,f.createElement(C.Z,n()({ref:nt,onBlur:on,onClick:vt?()=>mt(!0):void 0,onFocus:It,onMouseLeave:on,onMouseOver:It},we!=="itemDetail"&&{position:"absolute",right:20,top:20},Ce),f.createElement(ze,{"aria-describedby":"tooltip-keyfigurescard-".concat(st),color:"fg.muted",display:"block",sx:{"&:focus":{outline:2,outlineColor:"border.strong",outlineOffset:"2px",borderRadius:"50%"},"&:focus:not(:focus-visible)":{outline:"none"}},tabIndex:"0"})),f.createElement(A.Z,{ref:ht,anchor:Re,id:"tooltip-keyfigurescard-".concat(st),isOpen:Bt,onRequestClose:vt?()=>mt(!1):void 0,position:"top"},Ne)):null});M.displayName="KeyFigures.Card.Tooltip";const B=M;var R=e(66232),U=["tooltip","title","figure","footer","onToggle","isActive","sx"];function j(Fe,ht){var Ne=Object.keys(Fe);if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(Fe);ht&&(Ce=Ce.filter(function(we){return Object.getOwnPropertyDescriptor(Fe,we).enumerable})),Ne.push.apply(Ne,Ce)}return Ne}function $(Fe){for(var ht=1;ht<arguments.length;ht++){var Ne=arguments[ht]!=null?arguments[ht]:{};ht%2?j(Object(Ne),!0).forEach(function(Ce){i()(Fe,Ce,Ne[Ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Fe,Object.getOwnPropertyDescriptors(Ne)):j(Object(Ne)).forEach(function(Ce){Object.defineProperty(Fe,Ce,Object.getOwnPropertyDescriptor(Ne,Ce))})}return Fe}var ee=f.createContext(!1),te=f.forwardRef((Fe,ht)=>{var Ne=Fe.tooltip,Ce=Fe.title,we=Fe.figure,$e=Fe.footer,Ot=Fe.onToggle,Pt=Fe.isActive,Ie=Pt===void 0?!1:Pt,Bt=Fe.sx,mt=u()(Fe,U),rt=(0,h.F)(),ce=rt.colors;return f.createElement(C.Z,n()({ref:ht,onClick:Re=>{Ot==null||Ot(Re)},onKeyDown:Re=>{(R.Z.isEnter(Re)||R.Z.isSpace(Re))&&(Re.preventDefault(),Re.stopPropagation(),Ot==null||Ot(Re))},pb:{"mobile-*":2,_:4},pt:4,px:{"mobile-*":3,_:4}},mt,{sx:$($({position:"relative",":focus-visible":{"&:after":{border:2,borderColor:"gray.100",content:'""',height:"100%",position:"absolute",width:"100%",top:0,left:0},outline:"none"},backgroundColor:Ie?"base":"bg.default",width:{"mobile-*":"".concat(84*.75,"%"),_:"100%"},minWidth:"220px",maxWidth:"sizes.700","&:hover":{backgroundColor:Ie?"base":"bg.inset",cursor:"pointer"},"&:active":{backgroundColor:Ie?"base":"gray.800"}},Ie?{boxShadow:"1px 0 0 ".concat(ce.border.default," inset, -1px 0 0 ").concat(ce.border.default," inset, 0 1px 0 ").concat(ce.border.default," inset")}:{"&:first-of-type":{boxShadow:"0 -1px 0 ".concat(ce.border.default," inset")},"&:not(:first-of-type)":{boxShadow:"1px 0 0 ".concat(ce.border.default," inset, 0 -1px 0 ").concat(ce.border.default," inset")}}),Bt),tabIndex:0}),f.createElement(ee.Provider,{value:Ie},Ne,Ce,we,$e))});te.displayName="KeyFigures.AnalyticsTab";const ie=te;var ne=["title","subtitle","figure","tooltip","footer","sx"];function pe(Fe,ht){var Ne=Object.keys(Fe);if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(Fe);ht&&(Ce=Ce.filter(function(we){return Object.getOwnPropertyDescriptor(Fe,we).enumerable})),Ne.push.apply(Ne,Ce)}return Ne}function oe(Fe){for(var ht=1;ht<arguments.length;ht++){var Ne=arguments[ht]!=null?arguments[ht]:{};ht%2?pe(Object(Ne),!0).forEach(function(Ce){i()(Fe,Ce,Ne[Ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Fe,Object.getOwnPropertyDescriptors(Ne)):pe(Object(Ne)).forEach(function(Ce){Object.defineProperty(Fe,Ce,Object.getOwnPropertyDescriptor(Ne,Ce))})}return Fe}var q=f.forwardRef((Fe,ht)=>{var Ne=Fe.title,Ce=Fe.subtitle,we=Fe.figure,$e=Fe.tooltip,Ot=Fe.footer,Pt=Fe.sx,Ie=u()(Fe,ne),Bt=(0,h.F)(),mt=Bt.colors;return f.createElement(C.Z,n()({ref:ht,pb:2,pt:4,px:{"mobile-*":3,_:4}},Ie,{sx:oe({outline:"1px solid ".concat(mt.gray[800]),minWidth:"220px",width:"100%",position:"relative"},Pt)}),$e,Ne,Ce,we,Ot)});q.displayName="KeyFigures.DashboardCard";const J=q;var me=["children"],re=["caption","accessory"],he=Fe=>{var ht=Object.assign({},(_()(Fe),Fe)),Ne=f.useContext(ye),Ce=f.useContext(ee);return f.createElement(p.Z,n()({flexGrow:Ne==="dashboard"?1:0,fontSize:Ne==="itemDetail"?3:4,fontWeight:"medium",maxWidth:"calc(100% - 22px)",mb:Ne==="dashboard"?1:"0px",minHeight:Ne==="itemDetail"?16:22,textStyle:"body",width:Ne==="dashboard"?"fit-content":"auto"},ht,Ne==="analytics"&&!Ce&&{color:"fg.muted"}))};he.displayName="KeyFigures.Card.Title";var Ee=Fe=>{var ht=Object.assign({},(_()(Fe),Fe));return f.createElement(p.Z,n()({minHeight:16,textStyle:"caption"},ht))};Ee.displayName="KeyFigures.Card.Subtitle";var fe=Fe=>{var ht=Fe.children,Ne=u()(Fe,me),Ce=f.useContext(ye),we=f.useContext(F),$e=we.itemDetailType,Ot=f.useContext(ee),Pt=()=>{switch($e){case"rowHero":return{pt:{"mobile-*":0,_:5}};case"titledRowHero":return{pt:{"mobile-*":1,_:3},pb:2};case"figure":return{pt:2};default:return{}}},Ie=()=>Ce==="itemDetail"?f.createElement(d.Z,n()({alignItems:"center",boxSizing:"content-box",height:22,pt:{"mobile-*":1,_:2},width:33},Ne),f.createElement(y.Z,{bg:"fg.disabled"})):f.createElement(d.Z,n()({pt:6},Ne),f.createElement(y.Z,{bg:"fg.disabled",my:4,width:44}));return ht?f.createElement(p.Z,n()({pt:6,textStyle:Ce==="itemDetail"&&$e==="figure"?"subtitle":"figure"},Ce==="itemDetail"&&Pt(),Ne,Ce==="analytics"&&!Ot&&{color:"fg.muted"}),ht):Ie()};fe.displayName="KeyFigures.Card.Figure";var H=Fe=>{var ht=Fe.caption,Ne=Fe.accessory,Ce=u()(Fe,re),we=f.useContext(ye);return f.createElement(d.Z,n()({alignItems:"center",justifyContent:"space-between",pb:we==="analytics"?0:2,pt:2},Ce),ht,we!=="analytics"&&Ne)};H.displayName="KeyFigures.Card.Footer";var z=Fe=>{var ht=Object.assign({},(_()(Fe),Fe)),Ne=f.useContext(ye),Ce=f.useContext(ee);return f.createElement(p.Z,n()({minHeight:16,pb:{"mobile-*":2,_:0},textAlign:"left",textStyle:"caption"},ht,Ne==="analytics"&&!Ce&&{color:"fg.muted"}))};z.displayName="KeyFigures.Card.Footer.Caption";var _e=Fe=>{var ht=Object.assign({},(_()(Fe),Fe));return f.createElement(d.Z,n()({justifyContent:"flex-end",minHeight:16,ml:4,pb:{"mobile-*":2,_:0},sx:{"*":{textAlign:"right"}}},ht))};_e.displayName="KeyFigures.Card.Footer.Accessory";var ae=f.forwardRef((Fe,ht)=>{var Ne=Object.assign({},(_()(Fe),Fe)),Ce=f.useContext(ye);switch(Ce){case"itemDetail":return f.createElement(k,n()({ref:ht},Ne));case"analytics":return f.createElement(ie,n()({ref:ht},Ne));default:return f.createElement(J,n()({ref:ht},Ne))}});ae.displayName="KeyFigures.Card";const ge=Object.assign(ae,{Tooltip:B,Title:he,Figure:fe,Subtitle:Ee,Footer:Object.assign(H,{Accessory:_e,Caption:z})});var Be=["variant","children","sx"];function Ke(Fe,ht){var Ne=Object.keys(Fe);if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(Fe);ht&&(Ce=Ce.filter(function(we){return Object.getOwnPropertyDescriptor(Fe,we).enumerable})),Ne.push.apply(Ne,Ce)}return Ne}function He(Fe){for(var ht=1;ht<arguments.length;ht++){var Ne=arguments[ht]!=null?arguments[ht]:{};ht%2?Ke(Object(Ne),!0).forEach(function(Ce){i()(Fe,Ce,Ne[Ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Fe,Object.getOwnPropertyDescriptors(Ne)):Ke(Object(Ne)).forEach(function(Ce){Object.defineProperty(Fe,Ce,Object.getOwnPropertyDescriptor(Ne,Ce))})}return Fe}var ye=f.createContext("dashboard"),Le=f.forwardRef((Fe,ht)=>{var Ne=Fe.variant,Ce=Ne===void 0?"dashboard":Ne,we=Fe.children,$e=Fe.sx,Ot=u()(Fe,Be),Pt=(0,h.F)(),Ie=Pt.colors;return f.createElement(d.Z,n()({ref:ht,flexDirection:{_:"row","mobile-*":Ce==="itemDetail"?"column":"row"},flexWrap:Ce==="dashboard"?{_:"wrap","tablet-100":"unset","desktop-*":"unset"}:"unset"},Ot,{sx:He({px:{"mobile-*":0,_:6},pt:{"mobile-*":6,_:9},pb:Ce==="itemDetail"?{"mobile-*":0,_:8}:{"mobile-*":6,_:8},gap:Ce==="dashboard"?2:0,width:"100%","&:after":He({},Ce==="analytics"&&{content:'""',flexGrow:1,boxShadow:"0 -1px 0 ".concat(Ie.border.default," inset")})},$e)}),f.createElement(ye.Provider,{value:Ce},we))});Le.displayName="KeyFigures";const Xe=Object.assign(Le,{Card:ge})},859765:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(174161);const o=r.createContext({})},640714:function(b,l,e){"use strict";e.d(l,{Z:()=>Rn});var r=e(392338),o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(737968),u=e.n(c),f=e(174161),d=e(725538),h=["children","className"],g=d.Z.Dialog,_=jn=>{var Tn=jn.children,Nn=jn.className,cn=u()(jn,h);return f.createElement(g,n()({alignItems:"stretch",className:Nn,display:"flex"},cn),Tn)};const y=_;var O=e(680180),P=e.n(O),C=e(662613),A=e(457743),S=e(881707),T=e(412166),s=e(47932),v=e(859765),m=e(817936);const E=f.createContext({page:"0",transitionTitleOnScroll:!0});var I=["className","children"],L=jn=>{var Tn=jn.className,Nn=jn.children,cn=u()(jn,I);return f.createElement(m.Z.ContentTitle,n()({className:Tn,color:"gray.100",display:"block",fontSize:6,fontWeight:"medium",marginBottom:6,paddingLeft:4},cn),Nn)};const W=L;var F=["children","className","sx"];function G(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function k(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?G(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):G(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var x=d.Z.Dialog.ResponsiveContext,M="19px",B=jn=>{var Tn=jn.children,Nn=jn.className,cn=jn.sx,or=cn===void 0?{}:cn,qn=u()(jn,F),Hr=(0,f.useContext)(E),fo=Hr.page,Jr=(0,f.useContext)(x),ro=Jr.isFullscreen,Xt=(0,s.F)(),Je=Xt.fontSizes,At=Xt.space,xt=Xt.sizes;return f.createElement(m.Z.Content,n()({key:fo,className:Nn,padding:"calc(".concat(xt.sizes[350]," + ").concat(M,") ").concat(At[6]," 0 ").concat(At[6])},ro?{paddingLeft:0,paddingRight:0}:{},{overflowX:"hidden",overflowY:"auto",sx:k({fontSize:Je[3],flex:1,zIndex:0,"&:after":{content:'""',height:At[6],display:"block"}},or)},qn),Tn)};B.Title=W;const U=B;var j=["children"],$=jn=>{var Tn=jn.children,Nn=u()(jn,j);return f.createElement(m.Z.HeaderTitle,n()({color:"gray.100"},Nn),Tn)};const ee=$;var te=["children","className","sx"];function ie(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function ne(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?ie(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):ie(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var pe=jn=>{var Tn=jn.children,Nn=jn.className,cn=jn.sx,or=cn===void 0?{}:cn,qn=u()(jn,te);return f.createElement(S.Z,n()({className:Nn,sx:ne({display:"flex",alignItems:"center"},or)},qn),Tn)};pe.displayName="HeaderSection";var oe=function(){var Tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Nn=>f.createElement(pe,n()({},Nn,{className:Nn.className,sx:Tn}))},q=oe({}),J=oe({position:"absolute",left:"50%",transform:"translate(-50%)"}),me=oe({marginLeft:"auto"});const re=null;var he=["children","className","sx"];function Ee(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function fe(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?Ee(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):Ee(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var H=d.Z.Dialog.ResponsiveContext,z=jn=>{var Tn=jn.children,Nn=jn.className,cn=jn.sx,or=cn===void 0?{}:cn,qn=u()(jn,he),Hr=(0,f.useContext)(H),fo=Hr.isFullscreen;return f.createElement(m.Z.Header,n()({alignItems:"center",className:Nn,display:"flex",height:"sizes.400"},fo?{paddingLeft:4,paddingRight:4,left:0,right:0}:{},{sx:fe({position:"absolute",top:0,left:6,right:6,justifyContent:"space-between"},or)},qn),Tn)};z.Title=ee,z.Left=q,z.Center=J,z.Right=me;const ae=z;var ge=["children","className"],Be=["children","className","sx"];function Ke(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function He(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?Ke(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):Ke(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var ye=jn=>{var Tn=jn.children,Nn=jn.className,cn=u()(jn,ge),or=f.useContext(E),qn=or.transitionTitleOnScroll;return f.createElement(m.Z.Provider,{isActive:qn},f.createElement(T.Z,n()({backgroundColor:"base",className:Nn,flex:1,flexDirection:"column",position:"relative"},cn),Tn))};ye.displayName="Body";var Le=jn=>{var Tn=jn.children,Nn=jn.className,cn=jn.sx,or=cn===void 0?{}:cn,qn=u()(jn,Be);return f.createElement(ae,n()({backgroundColor:"base",className:Nn,sx:He({zIndex:1},or)},qn),Tn)};Le.Title=ae.Title,Le.Left=ae.Left,Le.Center=ae.Center,Le.Right=ae.Right,ye.Header=Le,ye.Content=U;const Xe=ye;var Fe=["children","className"],ht="19px",Ne=jn=>{var Tn=jn.children,Nn=jn.className,cn=u()(jn,Fe),or=(0,s.F)(),qn=or.space;return f.createElement("div",n()({className:Nn,style:{flex:1,paddingTop:"calc(".concat(qn[10]," + ").concat(ht,")")}},cn),Tn)};const we=Ne;var $e=["children"];function Ot(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function Pt(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?Ot(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):Ot(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var Ie=jn=>{var Tn=jn.children,Nn=u()(jn,$e);return f.createElement(T.Z,n()({},Nn,{sx:Pt({position:"relative",flexDirection:"column",width:"36%",backgroundColor:"gray.900"},Nn.sx)}),Tn)};Ie.displayName="Sidebar",Ie.Header=ae,Ie.Content=we;const mt=Ie;var rt=["className","displayResponsiveBackButton","displayResponsiveActiveMenuItem"];function ce(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function Re(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?ce(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):ce(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var nt=d.Z.Dialog;class st extends f.Component{constructor(){super(...arguments),i()(this,"state",{showBody:!1}),i()(this,"onNavItemSelect",()=>{this.setState({showBody:!0})}),i()(this,"getModalBody",()=>{var Tn=this.props,Nn=Tn.children,cn=Tn.dimensions,or=Tn.displayResponsiveBackButton;if(Array.isArray(Nn)){var qn=Nn.find(Hr=>Hr.type.displayName===Xe.displayName);return f.createElement(S.Z,{position:"relative"},f.cloneElement(qn,{style:cn}),f.createElement(C.Z,{display:or?void 0:"none",onClick:()=>{this.setState({showBody:!1})},position:"absolute",sx:{fontSize:3,top:"16px",left:"17px",zIndex:1}}))}return f.cloneElement(Nn,{style:cn})}),i()(this,"renderContent",()=>{var Tn=this.props,Nn=Tn.children,cn=Tn.dimensions,or=Tn.theme;if(Array.isArray(Nn)){var qn=Nn.find(Hr=>Hr.type.displayName===mt.displayName);return f.createElement(T.Z,{css:{overflow:"hidden",width:"200vw"},style:cn},f.createElement(S.Z,{css:Re({transition:"".concat(or.time[300]," ").concat(or.easing.product.default)},this.state.showBody?{transform:"translate3d(-20vw, 0, 0)",opacity:0}:{}),style:cn},f.cloneElement(qn,{style:Re(Re({},cn),{},{overflow:"auto"})})),f.createElement(S.Z,{css:{transition:"".concat(or.time[300]," ").concat(or.easing.product.default),transform:this.state.showBody&&"translate3d(-100vw, 0, 0)"},style:cn},this.getModalBody()))}return this.getModalBody()})}render(){var Tn=this.props,Nn=Tn.className,cn=Tn.displayResponsiveBackButton,or=Tn.displayResponsiveActiveMenuItem,qn=u()(Tn,rt);return f.createElement(v.Z.Provider,{value:{onNavItemSelect:this.onNavItemSelect,displayResponsiveActiveMenuItem:or}},f.createElement(nt,n()({className:Nn,overflowX:"hidden"},qn),this.renderContent()))}}i()(st,"contextType",nt.ResponsiveContext);var vt=jn=>{var Tn,Nn=(0,A.Z)({window:(Tn=jn.window)!==null&&Tn!==void 0?Tn:window}),cn=P()(Nn,2),or=cn[0],qn=cn[1],Hr=(0,s.F)();return f.createElement(st,n()({},jn,{dimensions:{width:or,height:qn},theme:Hr}))};vt.displayName="FullscreenNavDialogWrapper";const It=vt;var on=["children","displayResponsiveActiveMenuItem","displayResponsiveBackButton"],Pn=["page","responsiveProviderProps","transitionTitleOnScroll"];function Yn(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function Ln(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?Yn(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):Yn(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var bn=d.Z.Dialog,ir=bn.ResponsiveContext,Zn=bn.ResponsiveProvider,$n=jn=>{var Tn=jn.children,Nn=jn.displayResponsiveActiveMenuItem,cn=Nn===void 0?!1:Nn,or=jn.displayResponsiveBackButton,qn=or===void 0?!0:or,Hr=u()(jn,on),fo=(0,f.useContext)(ir),Jr=fo.isFullscreen,ro=fo.style,Xt=Ln(Ln({},Hr.style),ro);return Jr?f.createElement(It,n()({},Hr,{displayResponsiveActiveMenuItem:cn,displayResponsiveBackButton:qn,style:Xt}),Tn):f.createElement(y,n()({},Hr,{style:Xt}),Tn)},jt=jn=>{var Tn,Nn=jn.page,cn=jn.responsiveProviderProps,or=jn.transitionTitleOnScroll,qn=or===void 0?!0:or,Hr=u()(jn,Pn);return f.createElement(Zn,cn,f.createElement(E.Provider,{value:{page:Nn,transitionTitleOnScroll:qn}},f.createElement($n,n()({window:(Tn=cn==null?void 0:cn.window)!==null&&Tn!==void 0?Tn:window},Hr))))};jt.Sidebar=mt,jt.Body=Xe;const Rn=jt},737368:function(b,l,e){"use strict";e.d(l,{Z:()=>oe});var r=e(642979),o=e.n(r),n=e(392338),a=e(174161),i=e(725538),c=e(881707),u=e(160553),f=e.n(u),d=e(737968),h=e.n(d),g=e(934388),_=e(944545),p=e(517629),y=e(47932),O=["aria-label","children","className","is","isSelected","onFocus","onBlur"],P=a.createContext({});class C extends a.Component{constructor(){super(...arguments),o()(this,"state",{isFocused:!1,isHovered:!1}),o()(this,"captureRef",J=>{this.ref=J}),o()(this,"handleMouseEnter",J=>{this.setState({isHovered:!0}),this.props.onMouseEnter&&this.props.onMouseEnter(J)}),o()(this,"handleMouseLeave",J=>{this.setState({isHovered:!1}),this.props.onMouseLeave&&this.props.onMouseLeave(J)}),o()(this,"handleFocus",J=>{this.setState({isFocused:!0}),this.props.onFocus&&this.props.onFocus(J)}),o()(this,"handleBlur",J=>{this.setState({isFocused:!1}),this.props.onBlur&&this.props.onBlur(J)})}render(){var J=this.props,me=J["aria-label"],re=J.children,he=J.className,Ee=J.is,fe=Ee===void 0?C.defaultProps.is:Ee,H=J.isSelected,z=J.onFocus,_e=J.onBlur,ae=h()(J,O),ge=this.state,Be=ge.isFocused,Ke=ge.isHovered,He=typeof fe=="string"?(0,_.Z)(ae):ae;return(0,p.jsx)(P.Provider,{value:{isSelected:H,isFocused:Be,isHovered:Ke}},(0,p.jsx)(y.Z.Consumer,null,ye=>(0,p.jsx)(c.Z,{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,sx:{"&:has(:focus-visible)":{position:"relative","&:after":{border:2,borderColor:"gray.100",top:0,content:'""',height:"100%",position:"absolute",width:"calc(100% + ".concat(parseInt(ye.space[1])*2,"px)"),left:"-".concat(ye.space[1]),zIndex:-1},cursor:"pointer",outline:"none",overflow:"visible",zIndex:0},"&:not(:has(:focus-visible))":{color:"gray.100"}}},(0,p.jsx)(fe,f()({},He,{className:he,css:{display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",color:"inherit",textDecoration:"none",outline:"none",border:"none"},tabIndex:"-1"}),re,(0,p.jsx)("input",{ref:this.captureRef,"aria-label":me,onBlur:this.handleBlur,onFocus:this.handleFocus,style:{border:0,clip:"rect(0,0,0,0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},type:"button"})))))}}o()(C,"defaultProps",{is:"a",isSelected:!1});var A=e(425629),S=e(719484),T=["children","className","css","fontWeight","is","isHovered","isSelected","variant"];function s(q,J){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(q);J&&(re=re.filter(function(he){return Object.getOwnPropertyDescriptor(q,he).enumerable})),me.push.apply(me,re)}return me}function v(q){for(var J=1;J<arguments.length;J++){var me=arguments[J]!=null?arguments[J]:{};J%2?s(Object(me),!0).forEach(function(re){o()(q,re,me[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):s(Object(me)).forEach(function(re){Object.defineProperty(q,re,Object.getOwnPropertyDescriptor(me,re))})}return q}var m={label:{display:"flex",my:2},body:{my:2},subtitle:{my:{_:1,"mobile-*":2}},title:{my:1},description:{mt:1,mb:{_:2,"mobile-*":0}}};class E extends a.PureComponent{constructor(){super(...arguments),o()(this,"state",{isSelected:!1,isFocused:!1})}static getDerivedStateFromProps(J,me){var re=J.isSelected&&!me.isSelected;return{isSelected:J.isSelected,isFocused:re?!1:J.isFocused}}render(){var J=this.props,me=J.children,re=J.className,he=J.css,Ee=J.fontWeight,fe=J.is,H=J.isHovered,z=J.isSelected,_e=J.variant,ae=h()(J,T),ge=()=>{switch(_e){case"description":return{textStyle:"subtitle",color:"gray.300"};case"title":return{textStyle:_e,fontWeight:Ee||"medium"};default:return{textStyle:_e}}};return a.createElement(c.Z,f()({},(0,_.Z)(ae),{className:re,css:v({flexBasis:0,flexGrow:1},he),display:"inline-block",position:"relative",sx:{color:"gray.100"}},_e?m[_e]:void 0),a.createElement(A.Z,{as:"span",display:"flex",interaction:Be=>a.createElement(A.Z.Underline,f()({},Be,{bottom:"-2px",height:_e==="body"?1:2,isActive:H||z||!1}))},a.createElement(S.Z,f()({as:fe},ge(),{display:"inline-block",m:0,position:"relative"}),me)))}}o()(E,"defaultProps",{css:{}});var I=q=>a.createElement(P.Consumer,null,J=>a.createElement(E,f()({},q,J)));I.displayName="NavText";const L=I;var W=["children","htmlAttributes","isSelected","onClick","value"];class F extends a.PureComponent{render(){var J=this.props,me=J.children,re=J.htmlAttributes,he=J.isSelected,Ee=J.onClick,fe=Ee===void 0?()=>{}:Ee,H=J.value,z=h()(J,W);return re&&((0,g.a1)(`
NavItem props.htmlAttributes is deprecated. Please use ...rest props instead, like so:

<NavItem data-test="xyz">...</NavItem>
`,"5.0.0"),z=re),typeof me=="string"&&((0,g.a1)(`
NavItem props.children as a string is deprecated. Please use the <NavText> component instead, like so:

<NavItem>
  <NavText variant="subtitle">Text</NavText>
</NavItem>

NavText variants: 'body', 'label', 'subtitle', 'title'
`,"5.0.0"),me=a.createElement(L,{variant:"subtitle"},me)),a.createElement(C,f()({isSelected:he,onClick:fe},z),me)}}var G=["children","is","variant"];class k extends a.PureComponent{render(){var J=this.props,me=J.children,re=J.is,he=J.variant,Ee=h()(J,G);return a.createElement(S.Z,f()({as:re,color:"gray.300",css:{overflow:"hidden",textAlign:"right",textOverflow:"ellipsis",whiteSpace:"nowrap"},display:"block",m:0,ml:4,position:"relative",textStyle:he},Ee),me)}}const x=k;var M=["children","className"],B=q=>{var J=q.children,me=q.className,re=h()(q,M),he=(0,y.F)(),Ee=he.space;return a.createElement("div",f()({},(0,_.Z)(re),{className:me,style:{paddingTop:Ee[4]}}),J)};const R=B;var U=["name","children","className"];class j extends a.PureComponent{render(){var J=this.props,me=J.name,re=J.children,he=J.className,Ee=h()(J,U);return me&&(0,g.a1)(`
NavGroup props.name has been deprecated. Please use the <NavText> component with variant="label" instead, like so:

<NavGroup>
  <NavText variant="label">Group Name</NavText>
  <NavItem>...</NavItem>
  ...
</NavGroup>
`,"5.0.0"),a.createElement(R,f()({className:he},Ee),!!me&&a.createElement(L,{variant:"label"},me),re)}}class $ extends a.PureComponent{render(){var J=this.props,me=J.className,re=J.children,he=J.is;return(0,g.a1)('NavTitle has been deprecated. Use <NavText variant="title"> instead.',"5.0.0"),a.createElement(L,{className:me,is:he,variant:"title"},re)}}var ee=e(859765),te=i.Z.Dialog.ResponsiveContext,ie=q=>(0,a.isValidElement)(q)&&q.type===F,ne=q=>(0,a.isValidElement)(q)&&q.type===j;class pe extends a.Component{mapChildren(J,me){var re=this.props,he=re.value,Ee=re.onChange,fe=me.onNavItemSelect,H=me.displayResponsiveActiveMenuItem;return a.Children.map(J,z=>{if(!z||!(0,a.isValidElement)(z))return z;if(ie(z)&&typeof z.props.value<"u"){var _e;return a.cloneElement(z,{onClick(ae){typeof z.props.onClick=="function"&&z.props.onClick(ae),typeof Ee=="function"&&he!==z.props.value&&Ee(z.props.value),fe&&fe(z.props.value)},isSelected:(_e=z.props.isSelected)!==null&&_e!==void 0?_e:fe&&!H?!1:z.props.value===he})}return ne(z)?a.cloneElement(z,{},this.mapChildren(z.props.children,me)):z})}render(){var J=this.props,me=J.className,re=J.children,he=J.style;return a.createElement(te.Consumer,null,Ee=>{var fe=Ee.isFullscreen;return a.createElement(c.Z,{className:me,paddingX:fe?4:6,style:he},a.createElement(ee.Z.Consumer,null,H=>this.mapChildren(re,H)))})}}o()(pe,"NavItem",F),o()(pe,"NavItemAccessory",x),o()(pe,"NavGroup",j),o()(pe,"NavText",L),o()(pe,"NavTitle",$);const oe=pe},298275:function(b,l,e){"use strict";e.d(l,{Z:()=>he});var r=e(737968),o=e.n(r),n=e(160553),a=e.n(n),i=e(642979),c=e.n(i),u=e(392338),f=e(174161),d=e(999324),h=e.n(d),g=e(721247),_=e(817936),p=e(881707),y=e(662613),O=e(47932),P=e(517629),C=e(522129),A=["backTitle","canGoBack","className","leftBarButton","pop","push","rightBarButton","title"];function S(Ee,fe){var H=Object.keys(Ee);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(Ee);fe&&(z=z.filter(function(_e){return Object.getOwnPropertyDescriptor(Ee,_e).enumerable})),H.push.apply(H,z)}return H}function T(Ee){for(var fe=1;fe<arguments.length;fe++){var H=arguments[fe]!=null?arguments[fe]:{};fe%2?S(Object(H),!0).forEach(function(z){c()(Ee,z,H[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ee,Object.getOwnPropertyDescriptors(H)):S(Object(H)).forEach(function(z){Object.defineProperty(Ee,z,Object.getOwnPropertyDescriptor(H,z))})}return Ee}function s(Ee){var fe=Ee.backTitle,H=Ee.canGoBack,z=Ee.className,_e=Ee.leftBarButton,ae=Ee.pop,ge=Ee.push,Be=Ee.rightBarButton,Ke=Ee.title,He=o()(Ee,A),ye=(0,C.Q)(),Le=ye.t,Ue=(0,O.F)(),Xe=Ue.sizes,Fe=Ue.space,ht=Ue.fontSizes,Ne=Ue.colors,Ce=Ue.fontWeights;fe||(fe=Le("Back",{},{project:"rosetta-compositions"}));function we(Pt,Ie){return Pt?f.isValidElement(Pt)?f.cloneElement(Pt,T(T({canGoBack:Ie},Pt.props),{},{pop:ae,push:ge})):(0,P.jsx)(Pt,{canGoBack:Ie,pop:ae,push:ge}):null}function $e(){return _e?we(_e,H):H?(0,P.jsx)(y.Z,{label:fe,onClick:ae}):null}function Ot(){return Be?we(Be,H):null}return(0,P.jsx)(_.Z.Header,a()({className:z,css:{height:Xe.sizes[300],position:"relative",fontSize:ht[3],display:"flex",justifyContent:"space-around",alignItems:"center",padding:"".concat(Fe[0]," ").concat(Fe[4])}},He),(0,P.jsx)("span",{style:{flex:1}},$e()),(0,P.jsx)(_.Z.HeaderTitle,{css:{color:Ne.black,flex:3,textAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontWeight:Ce.medium},is:"span"},Ke),(0,P.jsx)("span",{style:{flex:1,textAlign:"right"}},Ot()))}const v=s;var m=e(845076),E=e.n(m);function I(Ee,fe){var H=Object.keys(Ee);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(Ee);fe&&(z=z.filter(function(_e){return Object.getOwnPropertyDescriptor(Ee,_e).enumerable})),H.push.apply(H,z)}return H}function L(Ee){for(var fe=1;fe<arguments.length;fe++){var H=arguments[fe]!=null?arguments[fe]:{};fe%2?I(Object(H),!0).forEach(function(z){c()(Ee,z,H[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ee,Object.getOwnPropertyDescriptors(H)):I(Object(H)).forEach(function(z){Object.defineProperty(Ee,z,Object.getOwnPropertyDescriptor(H,z))})}return Ee}var W=1,F=400,G=F*W,k="cubic-bezier(0.250, 0.100, 0.250, 1.000)",x=g.CSSTransitionGroupPresets.Slide.transitions,M=x.toLeft,B=x.toRight,R=g.utils.loadStyles("CSSTG-panel-animation",{".transition-slide":{"transition-property":"opacity, transform, min-height, max-height","transition-duration":"".concat(G,"ms"),"transition-timing-function":"ease, ".concat(k,", ").concat(k,", ").concat(k)}}),U=Ee=>{var fe=Ee.enter,H=Ee.leave;return{enter:{className:E()(fe.className,R["transition-slide"]),from:L(L({},fe.from),{},{opacity:0}),to:L(L({},fe.to),{},{opacity:1})},leave:{className:E()(H.className,R["transition-slide"]),from:L(L({},H.from),{},{opacity:1}),to:L(L({},H.to),{},{opacity:0})}}},j={PUSH:"PUSH",POP:"POP",NONE:"NONE"},$={[j.PUSH]:U(M),[j.POP]:U(B),[j.NONE]:{}},ee=Ee=>Ee>=0?j.PUSH:j.POP,te=Ee=>$[Ee];const ie=null;var ne=["className","headerClassName","leftBarButton","rightBarButton","style","transitionTitleOnScroll","headerSx","title"],pe=["children","is"],oe=["children","is"];function q(Ee,fe){var H=Object.keys(Ee);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(Ee);fe&&(z=z.filter(function(_e){return Object.getOwnPropertyDescriptor(Ee,_e).enumerable})),H.push.apply(H,z)}return H}function J(Ee){for(var fe=1;fe<arguments.length;fe++){var H=arguments[fe]!=null?arguments[fe]:{};fe%2?q(Object(H),!0).forEach(function(z){c()(Ee,z,H[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ee,Object.getOwnPropertyDescriptors(H)):q(Object(H)).forEach(function(z){Object.defineProperty(Ee,z,Object.getOwnPropertyDescriptor(H,z))})}return Ee}class me extends f.Component{constructor(fe){super(fe),c()(this,"pop",()=>{var H=this.state.historyStack;H.length<=1||this.setState({animationType:ee(-1),historyStack:H.slice(0,H.length-1)})}),c()(this,"push",H=>{var z=H.title,_e=H.backTitle,ae=H.component,ge=this.state.historyStack;this.setState({animationType:ee(1),historyStack:[...ge,{title:z,backTitle:_e,component:ae}]})}),c()(this,"setLeftBarButton",H=>{this.setState({leftBarButtonComponent:H})}),c()(this,"setRightBarButton",H=>{this.setState({rightBarButtonComponent:H})}),this.state={historyStack:[{title:fe.title||"",backTitle:fe.backTitle||"",component:fe.children}],animationType:ee(1)}}getBackTitle(){var fe=this.state.historyStack,H=fe.length-2,z=fe[H]||{};return z.backTitle}getContent(){return h()(this.state.historyStack)}getPanelChildren(){var fe,H=this.props.panelProps,z=(fe=this.getContent())!==null&&fe!==void 0?fe:{},_e=z.component;return f.isValidElement(_e)?f.cloneElement(f.Children.only(_e),J(J(J({},_e.props),H),{},{setLeftBarButton:this.setLeftBarButton,setRightBarButton:this.setRightBarButton,pop:this.pop,push:this.push})):_e?f.createElement(_e,a()({},H,{pop:this.pop,push:this.push,setLeftBarButton:this.setLeftBarButton,setRightBarButton:this.setRightBarButton})):void 0}render(){var fe,H=this.state,z=H.leftBarButtonComponent,_e=H.rightBarButtonComponent,ae=this.props,ge=ae.className,Be=ae.headerClassName,Ke=ae.leftBarButton,He=ae.rightBarButton,ye=ae.style,Le=ae.transitionTitleOnScroll,Ue=ae.headerSx,Xe=ae.title,Fe=o()(ae,ne),ht=this.state,Ne=ht.animationType,Ce=ht.historyStack,we=(fe=this.getContent())!==null&&fe!==void 0?fe:{},$e=we.title,Ot=$e===void 0?"":$e;return f.createElement(p.Z,a()({className:ge,style:ye},Fe),f.createElement(_.Z.Provider,{isActive:Le},f.createElement(v,{backTitle:this.getBackTitle(),canGoBack:Ce.length>1,className:Be,leftBarButton:z||Ke,pop:this.pop,push:this.push,rightBarButton:_e||He,sx:Ue,title:Ot}),f.createElement(g.CSSTransitionGroup,{className:"panelContainer",style:{position:"relative",overflowY:"auto",overflowX:"hidden"},transitions:te(Ne)||{},wrapChildWithTag:!1},f.createElement("div",{key:"panel-".concat(Ce.length)},this.getPanelChildren()))))}}c()(me,"defaultProps",{panelProps:{},transitionTitleOnScroll:!0}),c()(me,"Content",Ee=>{var fe=Ee.children,H=Ee.is,z=o()(Ee,pe);return f.createElement(_.Z.Content,a()({},z,{is:H}),fe)}),c()(me,"ContentTitle",Ee=>{var fe=Ee.children,H=Ee.is,z=o()(Ee,oe);return f.createElement(_.Z.ContentTitle,a()({},z,{is:H}),fe)});const he=me},194807:function(b,l,e){"use strict";e.d(l,{Z:()=>ht});var r=e(392338),o=e(642979),n=e.n(o),a=e(737968),i=e.n(a),c=e(160553),u=e.n(c),f=e(803366),d=e.n(f),h=e(297761),g=e(881707),_=e(719484),p=e(174161),y=["children"];function O(Ne,Ce){var we=Object.keys(Ne);if(Object.getOwnPropertySymbols){var $e=Object.getOwnPropertySymbols(Ne);Ce&&($e=$e.filter(function(Ot){return Object.getOwnPropertyDescriptor(Ne,Ot).enumerable})),we.push.apply(we,$e)}return we}function P(Ne){for(var Ce=1;Ce<arguments.length;Ce++){var we=arguments[Ce]!=null?arguments[Ce]:{};Ce%2?O(Object(we),!0).forEach(function($e){n()(Ne,$e,we[$e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ne,Object.getOwnPropertyDescriptors(we)):O(Object(we)).forEach(function($e){Object.defineProperty(Ne,$e,Object.getOwnPropertyDescriptor(we,$e))})}return Ne}var C=Ne=>{var Ce=Object.assign({},(d()(Ne),Ne));return p.createElement(h.Z,u()({borderRadius:6,boxShadow:200,display:"flex",flexDirection:"column",overflow:"hidden",width:"sizes.700"},Ce))},A=Ne=>{var Ce=Object.assign({},(d()(Ne),Ne));return p.createElement(g.Z,u()({backgroundColor:"gray.900",overflow:"hidden",p:6},Ce))},S=Ne=>{var Ce=Ne.children,we=i()(Ne,y);return p.createElement(h.Z.Body,u()({flexDirection:"column",gap:2,sx:P({pt:4,pr:6,pl:6,pb:6},we.sx)},we),Ce)},T=Ne=>{var Ce=Object.assign({},(d()(Ne),Ne));return p.createElement(_.Z.Subtitle,u()({color:"gray.100",fontWeight:"medium"},Ce))},s=Ne=>{var Ce=Object.assign({},(d()(Ne),Ne));return p.createElement(_.Z.Subtitle,u()({color:"fg.muted",fontWeight:"regular"},Ce))};const v=C;var m=e(412166),E=e(112686),I=e(47932),L=e(885630),W=()=>{var Ne=(0,I.F)(),Ce=Ne.breakpoints,we=(0,L.i)(Ce),$e=we.platform;return $e==="mobile"},F=["breadcrumbs","isConstrainedLayout","children"];function G(Ne,Ce){var we=Object.keys(Ne);if(Object.getOwnPropertySymbols){var $e=Object.getOwnPropertySymbols(Ne);Ce&&($e=$e.filter(function(Ot){return Object.getOwnPropertyDescriptor(Ne,Ot).enumerable})),we.push.apply(we,$e)}return we}function k(Ne){for(var Ce=1;Ce<arguments.length;Ce++){var we=arguments[Ce]!=null?arguments[Ce]:{};Ce%2?G(Object(we),!0).forEach(function($e){n()(Ne,$e,we[$e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ne,Object.getOwnPropertyDescriptors(we)):G(Object(we)).forEach(function($e){Object.defineProperty(Ne,$e,Object.getOwnPropertyDescriptor(we,$e))})}return Ne}var x=Ne=>{var Ce=Ne.breadcrumbs,we=Ne.isConstrainedLayout,$e=Ne.children,Ot=i()(Ne,F),Pt=W(),Ie=we&&!Pt?{alignItems:"center"}:{},Bt=we&&!Pt?{width:"50%",maxWidth:"720px"}:{},mt=()=>Pt?5:we?4:8,rt=()=>{if(Ce){if(p.isValidElement(Ce))return Ce;if(typeof Ce=="object")return p.createElement(E.O,u()({alignSelf:"flex-start",m:0},Ce))}};return p.createElement(m.Z,u()({css:k({},Ie),flexDirection:"column",gap:6,maxWidth:"sizes.1000",mb:6,pt:5,px:6},Ot),rt(),p.createElement(m.Z,{css:k({},Bt),flexDirection:"column",gap:mt()},$e))};const M=null;var B=e(680180),R=e.n(B),U=e(285814),j=e(600994),$=e(47979),ee=e(882684),te=e(522129),ie=["cardContent"],ne=["children"],pe=p.createContext(null),oe=Ne=>{var Ce=Ne.cardContent,we=i()(Ne,ie),$e=p.useContext(pe);if(!$e)return null;var Ot=$e.setCardContent,Pt=$e.setOpenPopOver;return p.createElement(ee.Z.Item,u()({onMouseOver:()=>{Ot(Ce)}},we,{onClick:Ie=>{Pt(!1),we.onClick&&we.onClick(Ie)}}))},q=p.forwardRef((Ne,Ce)=>{var we=Object.assign({},(d()(Ne),Ne));return p.createElement(U.Z,u()({anchor:Ce,anchorPoint:{x:"left",y:"top"},bodyStyles:{borderRadius:1,overflow:"hidden"},borderRadius:6,hideArrow:!0,offset:{x:6,y:0},position:"bottom-left"},we))});q.displayName="PageHeader.CardPopOver";var J=Ne=>{var Ce=Ne.children,we=i()(Ne,ne),$e=p.useState(!1),Ot=R()($e,2),Pt=Ot[0],Ie=Ot[1],Bt=p.useState(null),mt=R()(Bt,2),rt=mt[0],ce=mt[1],Re=p.useState(null),nt=R()(Re,2),st=nt[0],vt=nt[1],ze=(0,te.Q)(),It=ze.t;return p.createElement(pe.Provider,{value:{setOpenPopOver:Ie,setCardContent:ce,setCardRef:vt}},p.createElement(q,{ref:st,isOpen:Pt},rt),p.createElement(ee.Z.PopOver,u()({anchorPoint:{x:"right",y:"bottom"},offset:{x:0,y:6},position:"bottom-left",renderTrigger:on=>{var Pn=on.toggleActionListOpen;return p.createElement(j.Z.Primary,{"aria-label":It("Open create menu",null,{project:"rosetta-compositions"}),onClick:Pn,sx:{gap:2}},It("Create ",null,{project:"rosetta-compositions"}),p.createElement($.Z,{"aria-label":It("chevron icon",null,{project:"rosetta-compositions"}),color:"fg.onStrong",role:"img"}))}},we),Ce))},me=Ne=>{var Ce=Object.assign({},(d()(Ne),Ne)),we=p.useContext(pe);if(!we)return null;var $e=we.setOpenPopOver,Ot=we.setCardRef;return p.createElement(m.Z,u()({as:"ul",bg:"bg.base",flexDirection:"column",onMouseOut:()=>{$e(!1)},onMouseOver:()=>{$e(!0)}},Ce,{ref:Ot}))};const re=null;var he=Ne=>{var Ce=Ne.children,we=Ne.subtitle,$e=Ne.title,Ot=Ne.titleAccessory;return p.createElement(m.Z,{flex:"1",flexDirection:"column",gap:2},p.createElement(m.Z,{alignItems:"center",gap:2},typeof $e=="string"?p.createElement(_.Z.DisplayTitle,{as:"h1",color:"fg.default"},$e):$e,Ot),typeof we=="string"?p.createElement(_.Z.Subtitle,{color:"fg.muted",maxWidth:"sizes.900"},we):we,Ce)};he.displayName="PageHeader.Title";var Ee=["children"],fe=Ne=>{var Ce=Ne.children,we=i()(Ne,Ee),$e=W();return p.createElement(m.Z,u()({alignItems:"center",gap:$e?2:4,justifyContent:$e?"space-between":"flex-end",width:$e?"100%":"auto"},we),Ce)};fe.displayName="PageHeader.Actions";var H=["children"],z=Ne=>{var Ce=Ne.children,we=i()(Ne,H);return p.createElement(m.Z,we,Ce)};z.displayName="PageHeader.ItemMeta";var _e=["children"],ae=Ne=>{var Ce=Ne.children,we=i()(Ne,_e),$e=W();return p.createElement(m.Z,u()({alignItems:"flex-start",flexDirection:$e?"column":"row",gap:$e?5:6},we),Ce)};ae.displayName="PageHeader.Body";var ge=e(425629),Be=e(239161),Ke=e(201117),He=["children"],ye=p.forwardRef((Ne,Ce)=>{var we=Ne.mobileIcon,$e=Ne.isDisabled,Ot=Ne.isOpen,Pt=Ne.setIsOpen;return p.createElement(ge.Z.Element.Icon,{ref:Ce,"aria-label":"Dropdown trigger",disabled:$e,onClick:()=>{$e||Pt&&Pt(!Ot)}},we||p.createElement(Be.Z,null))});ye.displayName="PageHeader.Dropdown.Mobile";var Le=Ne=>{var Ce=Ne.children,we=i()(Ne,He),$e=W(),Ot=$e?{renderDisplay:ye}:{height:"sizes.250",width:"200px"},Pt=$e?Ke.Z.Base:Ke.Z,Ie=$e?p.Fragment:g.Z;return p.createElement(Ie,null,p.createElement(Pt,u()({},Ot,we),Ce))};Le.displayName="PageHeader.Dropdown";var Ue=e(350803),Xe=["children"],Fe=Ne=>{var Ce=Ne.children,we=i()(Ne,Xe),$e=W();return p.createElement(Ue.Z,u()({borderLeft:"none",layout:$e?"column":"row"},we),Ce)};Fe.displayName="PageHeader.Banner";const ht=Object.assign(x,{Actions:fe,Body:ae,ItemMeta:z,Dropdown:Le,Banner:Fe,Title:he,CardPopOver:q,MenuPopOver:J,MenuListContainer:me,MenuItem:oe,Card:Object.assign(v,{Title:T,Description:s,Body:S,ImageContainer:A})})},154642:function(b,l,e){"use strict";e.d(l,{Z:()=>H});var r=e(160553),o=e.n(r),n=e(174161),a=e(20751),i=e(737968),c=e.n(i),u=e(630628),f=["children","renderHeader"],d=n.forwardRef((z,_e)=>{var ae=z.children,ge=z.renderHeader,Be=c()(z,f);return n.Children.count(ae)>0?n.createElement(u.Z,o()({ref:_e},Be,{"data-test":"".concat(Be["data-test"]||"search","-dropdown"),focusLockIsDisabled:!0,placement:"bottom"}),ae):null});d.displayName="Search.DropdownDesktop";const h=d;var g=e(155846),_=e(680180),p=e.n(_),y=e(412166),O=e(881707),P=e(600994),C=e(942085),A=e(860921),S=e.n(A),T=e(199025),s=e(8483),v=e(343701),m=e(252345),E=e(425629),I=e(719484),L=e(936609),W=e(522129),F=["aria-label","autoFocus","error","exteriorAccessory","exteriorPre","inputRef","inputValue","isDisabled","isOpen","label","onChange","onInput","onClear","onBlur","onFocus","onKeyDown","onKeyPress","onKeyUp","placeholder","setIsOpen","size","textInputProps","value"],G=n.forwardRef((z,_e)=>{var ae=z["aria-label"],ge=z.autoFocus,Be=ge===void 0?!1:ge,Ke=z.error,He=z.exteriorAccessory,ye=z.exteriorPre,Le=z.inputRef,Ue=z.inputValue,Xe=z.isDisabled,Fe=z.isOpen,ht=z.label,Ne=z.onChange,Ce=Ne===void 0?S():Ne,we=z.onInput,$e=we===void 0?S():we,Ot=z.onClear,Pt=Ot===void 0?()=>{$e==null||$e(""),Ce==null||Ce("")}:Ot,Ie=z.onBlur,Bt=z.onFocus,mt=Bt===void 0?S():Bt,rt=z.onKeyDown,ce=z.onKeyPress,Re=z.onKeyUp,nt=z.placeholder,st=z.setIsOpen,vt=st===void 0?S():st,ze=z.size,It=z.textInputProps,on=z.value,Pn=c()(z,F),Yn=Ue!==void 0?Ue:on,Ln=(0,n.useContext)(L.Z.Context),bn=(0,W.Q)(),ir=bn.t,Zn=(0,n.useRef)(),$n=Le?(0,C.Z)(Zn,Le):Zn;return n.createElement(T.Z,o()({ref:_e,body:n.createElement(s.Z,o()({ref:$n,"aria-label":ae,autoComplete:"off",autoFocus:Be,isDisabled:Xe,onBlur:Ie,onChange:Ce,onFocus:jt=>{!Fe&&Ln.name==="mobile-0"&&vt(!0),mt(jt)},onInput:jt=>$e(jt.target.value),onKeyDown:rt,onKeyPress:ce,onKeyUp:Re,placeholder:nt,py:2,size:ze,value:Yn},It)),exteriorAccessory:typeof He<"u"?He:Yn?n.createElement(E.Z.Element.Icon,{"aria-label":ir("clear search",null,{project:"rosetta-compositions"}),my:-4,onClick:()=>{var jt;Pt(),Zn==null||(jt=Zn.current)===null||jt===void 0||jt.focus()}},n.createElement(v.Z,null)):null,exteriorPre:typeof ye>"u"?n.createElement(m.Z,{color:Xe?"gray.600":"gray.100"}):ye,interiorPre:ht&&n.createElement(I.Z.Body,{color:Xe?"gray.600":"gray.100"},ht),post:Ke&&Ke.message?n.createElement(I.Z.Caption,{color:"red.300",m:0},Ke.message):null,py:0},Pn))});G.displayName="Input";const k=G;var x=n.createContext({ariaLabel:void 0,inputValue:void 0,exteriorPre:void 0,isOpen:!1,onChange:()=>{},onInput:()=>{},setIsOpen:()=>{},value:void 0,variant:void 0});const M=x;var B=(0,n.forwardRef)((z,_e)=>{var ae=z["aria-label"],ge=z.exteriorPre,Be=z.inputValue,Ke=z.isOpen,He=z.onChange,ye=z.onInput,Le=z.onClear,Ue=Le===void 0?()=>ye(""):Le,Xe=z.placeholder,Fe=z.setIsOpen,ht=z.value,Ne=z.variant,Ce=(0,n.useState)(null),we=p()(Ce,2),$e=we[0],Ot=we[1],Pt=(0,C.Z)(_e,Ot),Ie=(0,W.Q)(),Bt=Ie.t;return(0,n.useEffect)(()=>{$e&&$e.focus()},[$e]),n.createElement(y.Z,{flexDirection:"row",justifyContent:"space-between",p:3},n.createElement(O.Z,{css:{flexGrow:1},pr:3},n.createElement(k,{"aria-label":ae,exteriorPre:ge,inputRef:Pt,inputValue:Be,isOpen:Ke,onChange:ye,onClear:Ue,placeholder:Xe,setIsOpen:Fe,size:10,value:ht,variant:Ne})),n.createElement(P.Z.Tertiary,{onClick:()=>{He(ht),Fe==null||Fe(!1)}},Bt("cancel",null,{project:"rosetta-compositions"})))});B.displayName="MobileHeader";var R=(0,n.forwardRef)((z,_e)=>{var ae=(0,n.useContext)(M),ge=ae.ariaLabel,Be=ae.exteriorPre,Ke=ae.inputValue,He=ae.isOpen,ye=ae.onChange,Le=ae.onInput,Ue=ae.placeholder,Xe=ae.setIsOpen,Fe=ae.value,ht=ae.variant;return n.createElement(B,o()({ref:_e,"aria-label":ge,exteriorPre:Be,inputValue:Ke,isOpen:He,onChange:ye,onClear:()=>Le(""),onInput:Le,placeholder:Ue,setIsOpen:Xe,value:Fe,variant:ht},z))});R.displayName="MobileHeaderWithContext";const U=R;var j=()=>n.createElement(U,null),$=(0,n.forwardRef)((z,_e)=>n.createElement(g.Z,o()({ref:_e,renderHeader:j},z,{"data-test":"".concat(z["data-test"]||"search","-dropdown"),docks:[0,window.innerHeight],draggable:!1})));$.displayName="Search.DropdownMobile";const ee=$;var te=n.forwardRef((z,_e)=>n.createElement(a.Z,o()({ref:_e},z,{render:{default:h,"mobile-0":ee}})));te.displayName="SearchDropdown";const ie=Object.assign(te,{Overlay:h,Sheet:ee});var ne=e(66232),pe=["onChange","onInput","onKeyUp","onKeyDown","setIsOpen"],oe=n.forwardRef((z,_e)=>{var ae=z.onChange,ge=z.onInput,Be=z.onKeyUp,Ke=z.onKeyDown,He=z.setIsOpen,ye=c()(z,pe);return n.createElement(k,o()({ref:_e,onChange:ge,onClear:()=>ae(""),onKeyDown:Le=>{ne.Z.isTab(Le)&&He(!1),Ke&&Ke(Le)},onKeyUp:Le=>{He(!0),Be&&Be(Le)},setIsOpen:He},ye))});oe.displayName="Display";const q=oe;var J=e(201117),me=["children","label"],re=z=>n.forwardRef((_e,ae)=>{var ge,Be,Ke=_e.children,He=_e.label,ye=He===void 0?"":He,Le=c()(_e,me),Ue=n.useState(!1),Xe=p()(Ue,2),Fe=Xe[0],ht=Xe[1],Ne=Le["aria-label"],Ce=Le.exteriorPre,we=Le.inputValue,$e=Le.onChange,Ot=Le.onInput,Pt=Le.placeholder,Ie=Le.value,Bt=Le.variant;return n.createElement(L.Z.Provider,null,n.createElement(M.Provider,{value:{ariaLabel:Ne,exteriorPre:Ce,inputValue:we,isOpen:(ge=Le.isOpen)!==null&&ge!==void 0?ge:Fe,onChange:$e,onInput:Ot,placeholder:Pt,setIsOpen:(Be=Le.setIsOpen)!==null&&Be!==void 0?Be:ht,value:Ie,variant:Bt}},n.createElement(z,o()({ref:ae,exteriorPre:Ce,isOpen:Fe,label:ye,renderDisplay:q,renderDropdown:ie,setIsOpen:ht},Le),Ke)))}),he=re(J.Z.Base);he.displayName="Search.Base";var Ee=re(J.Z);Ee.displayName="Search";const fe=Object.assign(Ee,{Base:he}),H=Object.assign(fe,{Display:q,Dropdown:ie,Input:k,MobileHeader:U})},504386:function(b,l,e){"use strict";e.d(l,{i:()=>kr});var r=e(392338),o=e(642979),n=e.n(o),a=e(737968),i=e.n(a),c=e(174161),u=e(719484);/**
   * table-core
   *
   * Copyright (c) TanStack
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE.md file in the root directory of this source tree.
   *
   * @license MIT
   */function f(Ge,An){return typeof Ge=="function"?Ge(An):Ge}function d(){}function h(Ge,An){return Yt=>{An.setState(fn=>({...fn,[Ge]:f(Yt,fn[Ge])}))}}function g(Ge){return Ge instanceof Function}function _(Ge){return Array.isArray(Ge)&&Ge.every(An=>typeof An=="number")}function p(Ge,An){const Yt=[],fn=Br=>{Br.forEach(yo=>{Yt.push(yo);const Jo=An(yo);Jo!=null&&Jo.length&&fn(Jo)})};return fn(Ge),Yt}function y(Ge,An,Yt){let fn=[],Br;return yo=>{let Jo;Yt.key&&Yt.debug&&(Jo=Date.now());const sa=Ge(yo);if(!(sa.length!==fn.length||sa.some((Ra,Ya)=>fn[Ya]!==Ra)))return Br;fn=sa;let va;if(Yt.key&&Yt.debug&&(va=Date.now()),Br=An(...sa),Yt==null||Yt.onChange==null||Yt.onChange(Br),Yt.key&&Yt.debug&&Yt!=null&&Yt.debug()){const Ra=Math.round((Date.now()-Jo)*100)/100,Ya=Math.round((Date.now()-va)*100)/100,wa=Ya/16,xa=(Ds,ws)=>{for(Ds=String(Ds);Ds.length<ws;)Ds=" "+Ds;return Ds};console.info(`%c\u23F1 ${xa(Ya,5)} /${xa(Ra,5)} ms`,`
            font-size: .6rem;
            font-weight: bold;
            color: hsl(${Math.max(0,Math.min(120-120*wa,120))}deg 100% 31%);`,Yt==null?void 0:Yt.key)}return Br}}function O(Ge,An,Yt,fn){return{debug:()=>{var Br;return(Br=Ge==null?void 0:Ge.debugAll)!=null?Br:Ge[An]},key:!1,onChange:fn}}function P(Ge,An,Yt,fn){var Br,yo;const sa={...Ge._getDefaultColumnDef(),...An},la=sa.accessorKey;let va=(Br=(yo=sa.id)!=null?yo:la?la.replace(".","_"):void 0)!=null?Br:typeof sa.header=="string"?sa.header:void 0,Ra;if(sa.accessorFn?Ra=sa.accessorFn:la&&(la.includes(".")?Ra=wa=>{let xa=wa;for(const ws of la.split(".")){var Ds;xa=(Ds=xa)==null?void 0:Ds[ws]}return xa}:Ra=wa=>wa[sa.accessorKey]),!va)throw new Error;let Ya={id:`${String(va)}`,accessorFn:Ra,parent:fn,depth:Yt,columnDef:sa,columns:[],getFlatColumns:y(()=>[!0],()=>{var wa;return[Ya,...(wa=Ya.columns)==null?void 0:wa.flatMap(xa=>xa.getFlatColumns())]},O(Ge.options,"debugColumns","column.getFlatColumns")),getLeafColumns:y(()=>[Ge._getOrderColumnsFn()],wa=>{var xa;if((xa=Ya.columns)!=null&&xa.length){let Ds=Ya.columns.flatMap(ws=>ws.getLeafColumns());return wa(Ds)}return[Ya]},O(Ge.options,"debugColumns","column.getLeafColumns"))};for(const wa of Ge._features)wa.createColumn==null||wa.createColumn(Ya,Ge);return Ya}const C="debugHeaders";function A(Ge,An,Yt){var fn;let yo={id:(fn=Yt.id)!=null?fn:An.id,column:An,index:Yt.index,isPlaceholder:!!Yt.isPlaceholder,placeholderId:Yt.placeholderId,depth:Yt.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const Jo=[],sa=la=>{la.subHeaders&&la.subHeaders.length&&la.subHeaders.map(sa),Jo.push(la)};return sa(yo),Jo},getContext:()=>({table:Ge,header:yo,column:An})};return Ge._features.forEach(Jo=>{Jo.createHeader==null||Jo.createHeader(yo,Ge)}),yo}const S={createTable:Ge=>{Ge.getHeaderGroups=y(()=>[Ge.getAllColumns(),Ge.getVisibleLeafColumns(),Ge.getState().columnPinning.left,Ge.getState().columnPinning.right],(An,Yt,fn,Br)=>{var yo,Jo;const sa=(yo=fn==null?void 0:fn.map(Ya=>Yt.find(wa=>wa.id===Ya)).filter(Boolean))!=null?yo:[],la=(Jo=Br==null?void 0:Br.map(Ya=>Yt.find(wa=>wa.id===Ya)).filter(Boolean))!=null?Jo:[],va=Yt.filter(Ya=>!(fn!=null&&fn.includes(Ya.id))&&!(Br!=null&&Br.includes(Ya.id)));return T(An,[...sa,...va,...la],Ge)},O(Ge.options,C,"getHeaderGroups")),Ge.getCenterHeaderGroups=y(()=>[Ge.getAllColumns(),Ge.getVisibleLeafColumns(),Ge.getState().columnPinning.left,Ge.getState().columnPinning.right],(An,Yt,fn,Br)=>(Yt=Yt.filter(yo=>!(fn!=null&&fn.includes(yo.id))&&!(Br!=null&&Br.includes(yo.id))),T(An,Yt,Ge,"center")),O(Ge.options,C,"getCenterHeaderGroups")),Ge.getLeftHeaderGroups=y(()=>[Ge.getAllColumns(),Ge.getVisibleLeafColumns(),Ge.getState().columnPinning.left],(An,Yt,fn)=>{var Br;const yo=(Br=fn==null?void 0:fn.map(Jo=>Yt.find(sa=>sa.id===Jo)).filter(Boolean))!=null?Br:[];return T(An,yo,Ge,"left")},O(Ge.options,C,"getLeftHeaderGroups")),Ge.getRightHeaderGroups=y(()=>[Ge.getAllColumns(),Ge.getVisibleLeafColumns(),Ge.getState().columnPinning.right],(An,Yt,fn)=>{var Br;const yo=(Br=fn==null?void 0:fn.map(Jo=>Yt.find(sa=>sa.id===Jo)).filter(Boolean))!=null?Br:[];return T(An,yo,Ge,"right")},O(Ge.options,C,"getRightHeaderGroups")),Ge.getFooterGroups=y(()=>[Ge.getHeaderGroups()],An=>[...An].reverse(),O(Ge.options,C,"getFooterGroups")),Ge.getLeftFooterGroups=y(()=>[Ge.getLeftHeaderGroups()],An=>[...An].reverse(),O(Ge.options,C,"getLeftFooterGroups")),Ge.getCenterFooterGroups=y(()=>[Ge.getCenterHeaderGroups()],An=>[...An].reverse(),O(Ge.options,C,"getCenterFooterGroups")),Ge.getRightFooterGroups=y(()=>[Ge.getRightHeaderGroups()],An=>[...An].reverse(),O(Ge.options,C,"getRightFooterGroups")),Ge.getFlatHeaders=y(()=>[Ge.getHeaderGroups()],An=>An.map(Yt=>Yt.headers).flat(),O(Ge.options,C,"getFlatHeaders")),Ge.getLeftFlatHeaders=y(()=>[Ge.getLeftHeaderGroups()],An=>An.map(Yt=>Yt.headers).flat(),O(Ge.options,C,"getLeftFlatHeaders")),Ge.getCenterFlatHeaders=y(()=>[Ge.getCenterHeaderGroups()],An=>An.map(Yt=>Yt.headers).flat(),O(Ge.options,C,"getCenterFlatHeaders")),Ge.getRightFlatHeaders=y(()=>[Ge.getRightHeaderGroups()],An=>An.map(Yt=>Yt.headers).flat(),O(Ge.options,C,"getRightFlatHeaders")),Ge.getCenterLeafHeaders=y(()=>[Ge.getCenterFlatHeaders()],An=>An.filter(Yt=>{var fn;return!((fn=Yt.subHeaders)!=null&&fn.length)}),O(Ge.options,C,"getCenterLeafHeaders")),Ge.getLeftLeafHeaders=y(()=>[Ge.getLeftFlatHeaders()],An=>An.filter(Yt=>{var fn;return!((fn=Yt.subHeaders)!=null&&fn.length)}),O(Ge.options,C,"getLeftLeafHeaders")),Ge.getRightLeafHeaders=y(()=>[Ge.getRightFlatHeaders()],An=>An.filter(Yt=>{var fn;return!((fn=Yt.subHeaders)!=null&&fn.length)}),O(Ge.options,C,"getRightLeafHeaders")),Ge.getLeafHeaders=y(()=>[Ge.getLeftHeaderGroups(),Ge.getCenterHeaderGroups(),Ge.getRightHeaderGroups()],(An,Yt,fn)=>{var Br,yo,Jo,sa,la,va;return[...(Br=(yo=An[0])==null?void 0:yo.headers)!=null?Br:[],...(Jo=(sa=Yt[0])==null?void 0:sa.headers)!=null?Jo:[],...(la=(va=fn[0])==null?void 0:va.headers)!=null?la:[]].map(Ra=>Ra.getLeafHeaders()).flat()},O(Ge.options,C,"getLeafHeaders"))}};function T(Ge,An,Yt,fn){var Br,yo;let Jo=0;const sa=function(wa,xa){xa===void 0&&(xa=1),Jo=Math.max(Jo,xa),wa.filter(Ds=>Ds.getIsVisible()).forEach(Ds=>{var ws;(ws=Ds.columns)!=null&&ws.length&&sa(Ds.columns,xa+1)},0)};sa(Ge);let la=[];const va=(wa,xa)=>{const Ds={depth:xa,id:[fn,`${xa}`].filter(Boolean).join("_"),headers:[]},ws=[];wa.forEach(Di=>{const ai=[...ws].reverse()[0],yl=Di.column.depth===Ds.depth;let ml,Ii=!1;if(yl&&Di.column.parent?ml=Di.column.parent:(ml=Di.column,Ii=!0),ai&&(ai==null?void 0:ai.column)===ml)ai.subHeaders.push(Di);else{const Xi=A(Yt,ml,{id:[fn,xa,ml.id,Di==null?void 0:Di.id].filter(Boolean).join("_"),isPlaceholder:Ii,placeholderId:Ii?`${ws.filter(zi=>zi.column===ml).length}`:void 0,depth:xa,index:ws.length});Xi.subHeaders.push(Di),ws.push(Xi)}Ds.headers.push(Di),Di.headerGroup=Ds}),la.push(Ds),xa>0&&va(ws,xa-1)},Ra=An.map((wa,xa)=>A(Yt,wa,{depth:Jo,index:xa}));va(Ra,Jo-1),la.reverse();const Ya=wa=>wa.filter(Ds=>Ds.column.getIsVisible()).map(Ds=>{let ws=0,Di=0,ai=[0];Ds.subHeaders&&Ds.subHeaders.length?(ai=[],Ya(Ds.subHeaders).forEach(ml=>{let{colSpan:Ii,rowSpan:Xi}=ml;ws+=Ii,ai.push(Xi)})):ws=1;const yl=Math.min(...ai);return Di=Di+yl,Ds.colSpan=ws,Ds.rowSpan=Di,{colSpan:ws,rowSpan:Di}});return Ya((Br=(yo=la[0])==null?void 0:yo.headers)!=null?Br:[]),la}const s={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},v=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),m={getDefaultColumnDef:()=>s,getInitialState:Ge=>({columnSizing:{},columnSizingInfo:v(),...Ge}),getDefaultOptions:Ge=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:h("columnSizing",Ge),onColumnSizingInfoChange:h("columnSizingInfo",Ge)}),createColumn:(Ge,An)=>{Ge.getSize=()=>{var Yt,fn,Br;const yo=An.getState().columnSizing[Ge.id];return Math.min(Math.max((Yt=Ge.columnDef.minSize)!=null?Yt:s.minSize,(fn=yo??Ge.columnDef.size)!=null?fn:s.size),(Br=Ge.columnDef.maxSize)!=null?Br:s.maxSize)},Ge.getStart=y(Yt=>[Yt,vt(An,Yt),An.getState().columnSizing],(Yt,fn)=>fn.slice(0,Ge.getIndex(Yt)).reduce((Br,yo)=>Br+yo.getSize(),0),O(An.options,"debugColumns","getStart")),Ge.getAfter=y(Yt=>[Yt,vt(An,Yt),An.getState().columnSizing],(Yt,fn)=>fn.slice(Ge.getIndex(Yt)+1).reduce((Br,yo)=>Br+yo.getSize(),0),O(An.options,"debugColumns","getAfter")),Ge.resetSize=()=>{An.setColumnSizing(Yt=>{let{[Ge.id]:fn,...Br}=Yt;return Br})},Ge.getCanResize=()=>{var Yt,fn;return((Yt=Ge.columnDef.enableResizing)!=null?Yt:!0)&&((fn=An.options.enableColumnResizing)!=null?fn:!0)},Ge.getIsResizing=()=>An.getState().columnSizingInfo.isResizingColumn===Ge.id},createHeader:(Ge,An)=>{Ge.getSize=()=>{let Yt=0;const fn=Br=>{if(Br.subHeaders.length)Br.subHeaders.forEach(fn);else{var yo;Yt+=(yo=Br.column.getSize())!=null?yo:0}};return fn(Ge),Yt},Ge.getStart=()=>{if(Ge.index>0){const Yt=Ge.headerGroup.headers[Ge.index-1];return Yt.getStart()+Yt.getSize()}return 0},Ge.getResizeHandler=Yt=>{const fn=An.getColumn(Ge.column.id),Br=fn==null?void 0:fn.getCanResize();return yo=>{if(!fn||!Br||(yo.persist==null||yo.persist(),L(yo)&&yo.touches&&yo.touches.length>1))return;const Jo=Ge.getSize(),sa=Ge?Ge.getLeafHeaders().map(ai=>[ai.column.id,ai.column.getSize()]):[[fn.id,fn.getSize()]],la=L(yo)?Math.round(yo.touches[0].clientX):yo.clientX,va={},Ra=(ai,yl)=>{typeof yl=="number"&&(An.setColumnSizingInfo(ml=>{var Ii,Xi;const zi=An.options.columnResizeDirection==="rtl"?-1:1,Sl=(yl-((Ii=ml==null?void 0:ml.startOffset)!=null?Ii:0))*zi,gc=Math.max(Sl/((Xi=ml==null?void 0:ml.startSize)!=null?Xi:0),-.999999);return ml.columnSizingStart.forEach(Xl=>{let[yc,Zc]=Xl;va[yc]=Math.round(Math.max(Zc+Zc*gc,0)*100)/100}),{...ml,deltaOffset:Sl,deltaPercentage:gc}}),(An.options.columnResizeMode==="onChange"||ai==="end")&&An.setColumnSizing(ml=>({...ml,...va})))},Ya=ai=>Ra("move",ai),wa=ai=>{Ra("end",ai),An.setColumnSizingInfo(yl=>({...yl,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},xa=Yt||typeof document<"u"?document:null,Ds={moveHandler:ai=>Ya(ai.clientX),upHandler:ai=>{xa==null||xa.removeEventListener("mousemove",Ds.moveHandler),xa==null||xa.removeEventListener("mouseup",Ds.upHandler),wa(ai.clientX)}},ws={moveHandler:ai=>(ai.cancelable&&(ai.preventDefault(),ai.stopPropagation()),Ya(ai.touches[0].clientX),!1),upHandler:ai=>{var yl;xa==null||xa.removeEventListener("touchmove",ws.moveHandler),xa==null||xa.removeEventListener("touchend",ws.upHandler),ai.cancelable&&(ai.preventDefault(),ai.stopPropagation()),wa((yl=ai.touches[0])==null?void 0:yl.clientX)}},Di=I()?{passive:!1}:!1;L(yo)?(xa==null||xa.addEventListener("touchmove",ws.moveHandler,Di),xa==null||xa.addEventListener("touchend",ws.upHandler,Di)):(xa==null||xa.addEventListener("mousemove",Ds.moveHandler,Di),xa==null||xa.addEventListener("mouseup",Ds.upHandler,Di)),An.setColumnSizingInfo(ai=>({...ai,startOffset:la,startSize:Jo,deltaOffset:0,deltaPercentage:0,columnSizingStart:sa,isResizingColumn:fn.id}))}}},createTable:Ge=>{Ge.setColumnSizing=An=>Ge.options.onColumnSizingChange==null?void 0:Ge.options.onColumnSizingChange(An),Ge.setColumnSizingInfo=An=>Ge.options.onColumnSizingInfoChange==null?void 0:Ge.options.onColumnSizingInfoChange(An),Ge.resetColumnSizing=An=>{var Yt;Ge.setColumnSizing(An?{}:(Yt=Ge.initialState.columnSizing)!=null?Yt:{})},Ge.resetHeaderSizeInfo=An=>{var Yt;Ge.setColumnSizingInfo(An?v():(Yt=Ge.initialState.columnSizingInfo)!=null?Yt:v())},Ge.getTotalSize=()=>{var An,Yt;return(An=(Yt=Ge.getHeaderGroups()[0])==null?void 0:Yt.headers.reduce((fn,Br)=>fn+Br.getSize(),0))!=null?An:0},Ge.getLeftTotalSize=()=>{var An,Yt;return(An=(Yt=Ge.getLeftHeaderGroups()[0])==null?void 0:Yt.headers.reduce((fn,Br)=>fn+Br.getSize(),0))!=null?An:0},Ge.getCenterTotalSize=()=>{var An,Yt;return(An=(Yt=Ge.getCenterHeaderGroups()[0])==null?void 0:Yt.headers.reduce((fn,Br)=>fn+Br.getSize(),0))!=null?An:0},Ge.getRightTotalSize=()=>{var An,Yt;return(An=(Yt=Ge.getRightHeaderGroups()[0])==null?void 0:Yt.headers.reduce((fn,Br)=>fn+Br.getSize(),0))!=null?An:0}}};let E=null;function I(){if(typeof E=="boolean")return E;let Ge=!1;try{const An={get passive(){return Ge=!0,!1}},Yt=()=>{};window.addEventListener("test",Yt,An),window.removeEventListener("test",Yt)}catch{Ge=!1}return E=Ge,E}function L(Ge){return Ge.type==="touchstart"}const W={getInitialState:Ge=>({expanded:{},...Ge}),getDefaultOptions:Ge=>({onExpandedChange:h("expanded",Ge),paginateExpandedRows:!0}),createTable:Ge=>{let An=!1,Yt=!1;Ge._autoResetExpanded=()=>{var fn,Br;if(!An){Ge._queue(()=>{An=!0});return}if((fn=(Br=Ge.options.autoResetAll)!=null?Br:Ge.options.autoResetExpanded)!=null?fn:!Ge.options.manualExpanding){if(Yt)return;Yt=!0,Ge._queue(()=>{Ge.resetExpanded(),Yt=!1})}},Ge.setExpanded=fn=>Ge.options.onExpandedChange==null?void 0:Ge.options.onExpandedChange(fn),Ge.toggleAllRowsExpanded=fn=>{fn??!Ge.getIsAllRowsExpanded()?Ge.setExpanded(!0):Ge.setExpanded({})},Ge.resetExpanded=fn=>{var Br,yo;Ge.setExpanded(fn?{}:(Br=(yo=Ge.initialState)==null?void 0:yo.expanded)!=null?Br:{})},Ge.getCanSomeRowsExpand=()=>Ge.getPrePaginationRowModel().flatRows.some(fn=>fn.getCanExpand()),Ge.getToggleAllRowsExpandedHandler=()=>fn=>{fn.persist==null||fn.persist(),Ge.toggleAllRowsExpanded()},Ge.getIsSomeRowsExpanded=()=>{const fn=Ge.getState().expanded;return fn===!0||Object.values(fn).some(Boolean)},Ge.getIsAllRowsExpanded=()=>{const fn=Ge.getState().expanded;return typeof fn=="boolean"?fn===!0:!(!Object.keys(fn).length||Ge.getRowModel().flatRows.some(Br=>!Br.getIsExpanded()))},Ge.getExpandedDepth=()=>{let fn=0;return(Ge.getState().expanded===!0?Object.keys(Ge.getRowModel().rowsById):Object.keys(Ge.getState().expanded)).forEach(yo=>{const Jo=yo.split(".");fn=Math.max(fn,Jo.length)}),fn},Ge.getPreExpandedRowModel=()=>Ge.getSortedRowModel(),Ge.getExpandedRowModel=()=>(!Ge._getExpandedRowModel&&Ge.options.getExpandedRowModel&&(Ge._getExpandedRowModel=Ge.options.getExpandedRowModel(Ge)),Ge.options.manualExpanding||!Ge._getExpandedRowModel?Ge.getPreExpandedRowModel():Ge._getExpandedRowModel())},createRow:(Ge,An)=>{Ge.toggleExpanded=Yt=>{An.setExpanded(fn=>{var Br;const yo=fn===!0?!0:!!(fn!=null&&fn[Ge.id]);let Jo={};if(fn===!0?Object.keys(An.getRowModel().rowsById).forEach(sa=>{Jo[sa]=!0}):Jo=fn,Yt=(Br=Yt)!=null?Br:!yo,!yo&&Yt)return{...Jo,[Ge.id]:!0};if(yo&&!Yt){const{[Ge.id]:sa,...la}=Jo;return la}return fn})},Ge.getIsExpanded=()=>{var Yt;const fn=An.getState().expanded;return!!((Yt=An.options.getIsRowExpanded==null?void 0:An.options.getIsRowExpanded(Ge))!=null?Yt:fn===!0||fn!=null&&fn[Ge.id])},Ge.getCanExpand=()=>{var Yt,fn,Br;return(Yt=An.options.getRowCanExpand==null?void 0:An.options.getRowCanExpand(Ge))!=null?Yt:((fn=An.options.enableExpanding)!=null?fn:!0)&&!!((Br=Ge.subRows)!=null&&Br.length)},Ge.getIsAllParentsExpanded=()=>{let Yt=!0,fn=Ge;for(;Yt&&fn.parentId;)fn=An.getRow(fn.parentId,!0),Yt=fn.getIsExpanded();return Yt},Ge.getToggleExpandedHandler=()=>{const Yt=Ge.getCanExpand();return()=>{Yt&&Ge.toggleExpanded()}}}},F=(Ge,An,Yt)=>{var fn;const Br=Yt.toLowerCase();return!!(!((fn=Ge.getValue(An))==null||(fn=fn.toString())==null||(fn=fn.toLowerCase())==null)&&fn.includes(Br))};F.autoRemove=Ge=>ee(Ge);const G=(Ge,An,Yt)=>{var fn;return!!(!((fn=Ge.getValue(An))==null||(fn=fn.toString())==null)&&fn.includes(Yt))};G.autoRemove=Ge=>ee(Ge);const k=(Ge,An,Yt)=>{var fn;return((fn=Ge.getValue(An))==null||(fn=fn.toString())==null?void 0:fn.toLowerCase())===(Yt==null?void 0:Yt.toLowerCase())};k.autoRemove=Ge=>ee(Ge);const x=(Ge,An,Yt)=>{var fn;return(fn=Ge.getValue(An))==null?void 0:fn.includes(Yt)};x.autoRemove=Ge=>ee(Ge)||!(Ge!=null&&Ge.length);const M=(Ge,An,Yt)=>!Yt.some(fn=>{var Br;return!((Br=Ge.getValue(An))!=null&&Br.includes(fn))});M.autoRemove=Ge=>ee(Ge)||!(Ge!=null&&Ge.length);const B=(Ge,An,Yt)=>Yt.some(fn=>{var Br;return(Br=Ge.getValue(An))==null?void 0:Br.includes(fn)});B.autoRemove=Ge=>ee(Ge)||!(Ge!=null&&Ge.length);const R=(Ge,An,Yt)=>Ge.getValue(An)===Yt;R.autoRemove=Ge=>ee(Ge);const U=(Ge,An,Yt)=>Ge.getValue(An)==Yt;U.autoRemove=Ge=>ee(Ge);const j=(Ge,An,Yt)=>{let[fn,Br]=Yt;const yo=Ge.getValue(An);return yo>=fn&&yo<=Br};j.resolveFilterValue=Ge=>{let[An,Yt]=Ge,fn=typeof An!="number"?parseFloat(An):An,Br=typeof Yt!="number"?parseFloat(Yt):Yt,yo=An===null||Number.isNaN(fn)?-1/0:fn,Jo=Yt===null||Number.isNaN(Br)?1/0:Br;if(yo>Jo){const sa=yo;yo=Jo,Jo=sa}return[yo,Jo]},j.autoRemove=Ge=>ee(Ge)||ee(Ge[0])&&ee(Ge[1]);const $={includesString:F,includesStringSensitive:G,equalsString:k,arrIncludes:x,arrIncludesAll:M,arrIncludesSome:B,equals:R,weakEquals:U,inNumberRange:j};function ee(Ge){return Ge==null||Ge===""}const te={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:Ge=>({columnFilters:[],globalFilter:void 0,...Ge}),getDefaultOptions:Ge=>({onColumnFiltersChange:h("columnFilters",Ge),onGlobalFilterChange:h("globalFilter",Ge),filterFromLeafRows:!1,maxLeafRowFilterDepth:100,globalFilterFn:"auto",getColumnCanGlobalFilter:An=>{var Yt;const fn=(Yt=Ge.getCoreRowModel().flatRows[0])==null||(Yt=Yt._getAllCellsByColumnId()[An.id])==null?void 0:Yt.getValue();return typeof fn=="string"||typeof fn=="number"}}),createColumn:(Ge,An)=>{Ge.getAutoFilterFn=()=>{const Yt=An.getCoreRowModel().flatRows[0],fn=Yt==null?void 0:Yt.getValue(Ge.id);return typeof fn=="string"?$.includesString:typeof fn=="number"?$.inNumberRange:typeof fn=="boolean"||fn!==null&&typeof fn=="object"?$.equals:Array.isArray(fn)?$.arrIncludes:$.weakEquals},Ge.getFilterFn=()=>{var Yt,fn;return g(Ge.columnDef.filterFn)?Ge.columnDef.filterFn:Ge.columnDef.filterFn==="auto"?Ge.getAutoFilterFn():(Yt=(fn=An.options.filterFns)==null?void 0:fn[Ge.columnDef.filterFn])!=null?Yt:$[Ge.columnDef.filterFn]},Ge.getCanFilter=()=>{var Yt,fn,Br;return((Yt=Ge.columnDef.enableColumnFilter)!=null?Yt:!0)&&((fn=An.options.enableColumnFilters)!=null?fn:!0)&&((Br=An.options.enableFilters)!=null?Br:!0)&&!!Ge.accessorFn},Ge.getCanGlobalFilter=()=>{var Yt,fn,Br,yo;return((Yt=Ge.columnDef.enableGlobalFilter)!=null?Yt:!0)&&((fn=An.options.enableGlobalFilter)!=null?fn:!0)&&((Br=An.options.enableFilters)!=null?Br:!0)&&((yo=An.options.getColumnCanGlobalFilter==null?void 0:An.options.getColumnCanGlobalFilter(Ge))!=null?yo:!0)&&!!Ge.accessorFn},Ge.getIsFiltered=()=>Ge.getFilterIndex()>-1,Ge.getFilterValue=()=>{var Yt;return(Yt=An.getState().columnFilters)==null||(Yt=Yt.find(fn=>fn.id===Ge.id))==null?void 0:Yt.value},Ge.getFilterIndex=()=>{var Yt,fn;return(Yt=(fn=An.getState().columnFilters)==null?void 0:fn.findIndex(Br=>Br.id===Ge.id))!=null?Yt:-1},Ge.setFilterValue=Yt=>{An.setColumnFilters(fn=>{const Br=Ge.getFilterFn(),yo=fn==null?void 0:fn.find(Ra=>Ra.id===Ge.id),Jo=f(Yt,yo?yo.value:void 0);if(ie(Br,Jo,Ge)){var sa;return(sa=fn==null?void 0:fn.filter(Ra=>Ra.id!==Ge.id))!=null?sa:[]}const la={id:Ge.id,value:Jo};if(yo){var va;return(va=fn==null?void 0:fn.map(Ra=>Ra.id===Ge.id?la:Ra))!=null?va:[]}return fn!=null&&fn.length?[...fn,la]:[la]})},Ge._getFacetedRowModel=An.options.getFacetedRowModel&&An.options.getFacetedRowModel(An,Ge.id),Ge.getFacetedRowModel=()=>Ge._getFacetedRowModel?Ge._getFacetedRowModel():An.getPreFilteredRowModel(),Ge._getFacetedUniqueValues=An.options.getFacetedUniqueValues&&An.options.getFacetedUniqueValues(An,Ge.id),Ge.getFacetedUniqueValues=()=>Ge._getFacetedUniqueValues?Ge._getFacetedUniqueValues():new Map,Ge._getFacetedMinMaxValues=An.options.getFacetedMinMaxValues&&An.options.getFacetedMinMaxValues(An,Ge.id),Ge.getFacetedMinMaxValues=()=>{if(Ge._getFacetedMinMaxValues)return Ge._getFacetedMinMaxValues()}},createRow:(Ge,An)=>{Ge.columnFilters={},Ge.columnFiltersMeta={}},createTable:Ge=>{Ge.getGlobalAutoFilterFn=()=>$.includesString,Ge.getGlobalFilterFn=()=>{var An,Yt;const{globalFilterFn:fn}=Ge.options;return g(fn)?fn:fn==="auto"?Ge.getGlobalAutoFilterFn():(An=(Yt=Ge.options.filterFns)==null?void 0:Yt[fn])!=null?An:$[fn]},Ge.setColumnFilters=An=>{const Yt=Ge.getAllLeafColumns(),fn=Br=>{var yo;return(yo=f(An,Br))==null?void 0:yo.filter(Jo=>{const sa=Yt.find(la=>la.id===Jo.id);if(sa){const la=sa.getFilterFn();if(ie(la,Jo.value,sa))return!1}return!0})};Ge.options.onColumnFiltersChange==null||Ge.options.onColumnFiltersChange(fn)},Ge.setGlobalFilter=An=>{Ge.options.onGlobalFilterChange==null||Ge.options.onGlobalFilterChange(An)},Ge.resetGlobalFilter=An=>{Ge.setGlobalFilter(An?void 0:Ge.initialState.globalFilter)},Ge.resetColumnFilters=An=>{var Yt,fn;Ge.setColumnFilters(An?[]:(Yt=(fn=Ge.initialState)==null?void 0:fn.columnFilters)!=null?Yt:[])},Ge.getPreFilteredRowModel=()=>Ge.getCoreRowModel(),Ge.getFilteredRowModel=()=>(!Ge._getFilteredRowModel&&Ge.options.getFilteredRowModel&&(Ge._getFilteredRowModel=Ge.options.getFilteredRowModel(Ge)),Ge.options.manualFiltering||!Ge._getFilteredRowModel?Ge.getPreFilteredRowModel():Ge._getFilteredRowModel()),Ge._getGlobalFacetedRowModel=Ge.options.getFacetedRowModel&&Ge.options.getFacetedRowModel(Ge,"__global__"),Ge.getGlobalFacetedRowModel=()=>Ge.options.manualFiltering||!Ge._getGlobalFacetedRowModel?Ge.getPreFilteredRowModel():Ge._getGlobalFacetedRowModel(),Ge._getGlobalFacetedUniqueValues=Ge.options.getFacetedUniqueValues&&Ge.options.getFacetedUniqueValues(Ge,"__global__"),Ge.getGlobalFacetedUniqueValues=()=>Ge._getGlobalFacetedUniqueValues?Ge._getGlobalFacetedUniqueValues():new Map,Ge._getGlobalFacetedMinMaxValues=Ge.options.getFacetedMinMaxValues&&Ge.options.getFacetedMinMaxValues(Ge,"__global__"),Ge.getGlobalFacetedMinMaxValues=()=>{if(Ge._getGlobalFacetedMinMaxValues)return Ge._getGlobalFacetedMinMaxValues()}}};function ie(Ge,An,Yt){return(Ge&&Ge.autoRemove?Ge.autoRemove(An,Yt):!1)||typeof An>"u"||typeof An=="string"&&!An}const fe={sum:(Ge,An,Yt)=>Yt.reduce((fn,Br)=>{const yo=Br.getValue(Ge);return fn+(typeof yo=="number"?yo:0)},0),min:(Ge,An,Yt)=>{let fn;return Yt.forEach(Br=>{const yo=Br.getValue(Ge);yo!=null&&(fn>yo||fn===void 0&&yo>=yo)&&(fn=yo)}),fn},max:(Ge,An,Yt)=>{let fn;return Yt.forEach(Br=>{const yo=Br.getValue(Ge);yo!=null&&(fn<yo||fn===void 0&&yo>=yo)&&(fn=yo)}),fn},extent:(Ge,An,Yt)=>{let fn,Br;return Yt.forEach(yo=>{const Jo=yo.getValue(Ge);Jo!=null&&(fn===void 0?Jo>=Jo&&(fn=Br=Jo):(fn>Jo&&(fn=Jo),Br<Jo&&(Br=Jo)))}),[fn,Br]},mean:(Ge,An)=>{let Yt=0,fn=0;if(An.forEach(Br=>{let yo=Br.getValue(Ge);yo!=null&&(yo=+yo)>=yo&&(++Yt,fn+=yo)}),Yt)return fn/Yt},median:(Ge,An)=>{if(!An.length)return;const Yt=An.map(yo=>yo.getValue(Ge));if(!_(Yt))return;if(Yt.length===1)return Yt[0];const fn=Math.floor(Yt.length/2),Br=Yt.sort((yo,Jo)=>yo-Jo);return Yt.length%2!==0?Br[fn]:(Br[fn-1]+Br[fn])/2},unique:(Ge,An)=>Array.from(new Set(An.map(Yt=>Yt.getValue(Ge))).values()),uniqueCount:(Ge,An)=>new Set(An.map(Yt=>Yt.getValue(Ge))).size,count:(Ge,An)=>An.length},H={getDefaultColumnDef:()=>({aggregatedCell:Ge=>{var An,Yt;return(An=(Yt=Ge.getValue())==null||Yt.toString==null?void 0:Yt.toString())!=null?An:null},aggregationFn:"auto"}),getInitialState:Ge=>({grouping:[],...Ge}),getDefaultOptions:Ge=>({onGroupingChange:h("grouping",Ge),groupedColumnMode:"reorder"}),createColumn:(Ge,An)=>{Ge.toggleGrouping=()=>{An.setGrouping(Yt=>Yt!=null&&Yt.includes(Ge.id)?Yt.filter(fn=>fn!==Ge.id):[...Yt??[],Ge.id])},Ge.getCanGroup=()=>{var Yt,fn,Br,yo;return(Yt=(fn=(Br=(yo=Ge.columnDef.enableGrouping)!=null?yo:!0)!=null?Br:An.options.enableGrouping)!=null?fn:!0)!=null?Yt:!!Ge.accessorFn},Ge.getIsGrouped=()=>{var Yt;return(Yt=An.getState().grouping)==null?void 0:Yt.includes(Ge.id)},Ge.getGroupedIndex=()=>{var Yt;return(Yt=An.getState().grouping)==null?void 0:Yt.indexOf(Ge.id)},Ge.getToggleGroupingHandler=()=>{const Yt=Ge.getCanGroup();return()=>{Yt&&Ge.toggleGrouping()}},Ge.getAutoAggregationFn=()=>{const Yt=An.getCoreRowModel().flatRows[0],fn=Yt==null?void 0:Yt.getValue(Ge.id);if(typeof fn=="number")return fe.sum;if(Object.prototype.toString.call(fn)==="[object Date]")return fe.extent},Ge.getAggregationFn=()=>{var Yt,fn;if(!Ge)throw new Error;return g(Ge.columnDef.aggregationFn)?Ge.columnDef.aggregationFn:Ge.columnDef.aggregationFn==="auto"?Ge.getAutoAggregationFn():(Yt=(fn=An.options.aggregationFns)==null?void 0:fn[Ge.columnDef.aggregationFn])!=null?Yt:fe[Ge.columnDef.aggregationFn]}},createTable:Ge=>{Ge.setGrouping=An=>Ge.options.onGroupingChange==null?void 0:Ge.options.onGroupingChange(An),Ge.resetGrouping=An=>{var Yt,fn;Ge.setGrouping(An?[]:(Yt=(fn=Ge.initialState)==null?void 0:fn.grouping)!=null?Yt:[])},Ge.getPreGroupedRowModel=()=>Ge.getFilteredRowModel(),Ge.getGroupedRowModel=()=>(!Ge._getGroupedRowModel&&Ge.options.getGroupedRowModel&&(Ge._getGroupedRowModel=Ge.options.getGroupedRowModel(Ge)),Ge.options.manualGrouping||!Ge._getGroupedRowModel?Ge.getPreGroupedRowModel():Ge._getGroupedRowModel())},createRow:(Ge,An)=>{Ge.getIsGrouped=()=>!!Ge.groupingColumnId,Ge.getGroupingValue=Yt=>{if(Ge._groupingValuesCache.hasOwnProperty(Yt))return Ge._groupingValuesCache[Yt];const fn=An.getColumn(Yt);return fn!=null&&fn.columnDef.getGroupingValue?(Ge._groupingValuesCache[Yt]=fn.columnDef.getGroupingValue(Ge.original),Ge._groupingValuesCache[Yt]):Ge.getValue(Yt)},Ge._groupingValuesCache={}},createCell:(Ge,An,Yt,fn)=>{Ge.getIsGrouped=()=>An.getIsGrouped()&&An.id===Yt.groupingColumnId,Ge.getIsPlaceholder=()=>!Ge.getIsGrouped()&&An.getIsGrouped(),Ge.getIsAggregated=()=>{var Br;return!Ge.getIsGrouped()&&!Ge.getIsPlaceholder()&&!!((Br=Yt.subRows)!=null&&Br.length)}}};function z(Ge,An,Yt){if(!(An!=null&&An.length)||!Yt)return Ge;const fn=Ge.filter(yo=>!An.includes(yo.id));return Yt==="remove"?fn:[...An.map(yo=>Ge.find(Jo=>Jo.id===yo)).filter(Boolean),...fn]}const _e={getInitialState:Ge=>({columnOrder:[],...Ge}),getDefaultOptions:Ge=>({onColumnOrderChange:h("columnOrder",Ge)}),createColumn:(Ge,An)=>{Ge.getIndex=y(Yt=>[vt(An,Yt)],Yt=>Yt.findIndex(fn=>fn.id===Ge.id),O(An.options,"debugColumns","getIndex")),Ge.getIsFirstColumn=Yt=>{var fn;return((fn=vt(An,Yt)[0])==null?void 0:fn.id)===Ge.id},Ge.getIsLastColumn=Yt=>{var fn;const Br=vt(An,Yt);return((fn=Br[Br.length-1])==null?void 0:fn.id)===Ge.id}},createTable:Ge=>{Ge.setColumnOrder=An=>Ge.options.onColumnOrderChange==null?void 0:Ge.options.onColumnOrderChange(An),Ge.resetColumnOrder=An=>{var Yt;Ge.setColumnOrder(An?[]:(Yt=Ge.initialState.columnOrder)!=null?Yt:[])},Ge._getOrderColumnsFn=y(()=>[Ge.getState().columnOrder,Ge.getState().grouping,Ge.options.groupedColumnMode],(An,Yt,fn)=>Br=>{let yo=[];if(!(An!=null&&An.length))yo=Br;else{const Jo=[...An],sa=[...Br];for(;sa.length&&Jo.length;){const la=Jo.shift(),va=sa.findIndex(Ra=>Ra.id===la);va>-1&&yo.push(sa.splice(va,1)[0])}yo=[...yo,...sa]}return z(yo,Yt,fn)},O(Ge.options,"debugTable","_getOrderColumnsFn"))}},ae=0,ge=10,Be=()=>({pageIndex:ae,pageSize:ge}),Ke={getInitialState:Ge=>({...Ge,pagination:{...Be(),...Ge==null?void 0:Ge.pagination}}),getDefaultOptions:Ge=>({onPaginationChange:h("pagination",Ge)}),createTable:Ge=>{let An=!1,Yt=!1;Ge._autoResetPageIndex=()=>{var fn,Br;if(!An){Ge._queue(()=>{An=!0});return}if((fn=(Br=Ge.options.autoResetAll)!=null?Br:Ge.options.autoResetPageIndex)!=null?fn:!Ge.options.manualPagination){if(Yt)return;Yt=!0,Ge._queue(()=>{Ge.resetPageIndex(),Yt=!1})}},Ge.setPagination=fn=>{const Br=yo=>f(fn,yo);return Ge.options.onPaginationChange==null?void 0:Ge.options.onPaginationChange(Br)},Ge.resetPagination=fn=>{var Br;Ge.setPagination(fn?Be():(Br=Ge.initialState.pagination)!=null?Br:Be())},Ge.setPageIndex=fn=>{Ge.setPagination(Br=>{let yo=f(fn,Br.pageIndex);const Jo=typeof Ge.options.pageCount>"u"||Ge.options.pageCount===-1?Number.MAX_SAFE_INTEGER:Ge.options.pageCount-1;return yo=Math.max(0,Math.min(yo,Jo)),{...Br,pageIndex:yo}})},Ge.resetPageIndex=fn=>{var Br,yo;Ge.setPageIndex(fn?ae:(Br=(yo=Ge.initialState)==null||(yo=yo.pagination)==null?void 0:yo.pageIndex)!=null?Br:ae)},Ge.resetPageSize=fn=>{var Br,yo;Ge.setPageSize(fn?ge:(Br=(yo=Ge.initialState)==null||(yo=yo.pagination)==null?void 0:yo.pageSize)!=null?Br:ge)},Ge.setPageSize=fn=>{Ge.setPagination(Br=>{const yo=Math.max(1,f(fn,Br.pageSize)),Jo=Br.pageSize*Br.pageIndex,sa=Math.floor(Jo/yo);return{...Br,pageIndex:sa,pageSize:yo}})},Ge.setPageCount=fn=>Ge.setPagination(Br=>{var yo;let Jo=f(fn,(yo=Ge.options.pageCount)!=null?yo:-1);return typeof Jo=="number"&&(Jo=Math.max(-1,Jo)),{...Br,pageCount:Jo}}),Ge.getPageOptions=y(()=>[Ge.getPageCount()],fn=>{let Br=[];return fn&&fn>0&&(Br=[...new Array(fn)].fill(null).map((yo,Jo)=>Jo)),Br},O(Ge.options,"debugTable","getPageOptions")),Ge.getCanPreviousPage=()=>Ge.getState().pagination.pageIndex>0,Ge.getCanNextPage=()=>{const{pageIndex:fn}=Ge.getState().pagination,Br=Ge.getPageCount();return Br===-1?!0:Br===0?!1:fn<Br-1},Ge.previousPage=()=>Ge.setPageIndex(fn=>fn-1),Ge.nextPage=()=>Ge.setPageIndex(fn=>fn+1),Ge.firstPage=()=>Ge.setPageIndex(0),Ge.lastPage=()=>Ge.setPageIndex(Ge.getPageCount()-1),Ge.getPrePaginationRowModel=()=>Ge.getExpandedRowModel(),Ge.getPaginationRowModel=()=>(!Ge._getPaginationRowModel&&Ge.options.getPaginationRowModel&&(Ge._getPaginationRowModel=Ge.options.getPaginationRowModel(Ge)),Ge.options.manualPagination||!Ge._getPaginationRowModel?Ge.getPrePaginationRowModel():Ge._getPaginationRowModel()),Ge.getPageCount=()=>{var fn;return(fn=Ge.options.pageCount)!=null?fn:Math.ceil(Ge.getRowCount()/Ge.getState().pagination.pageSize)},Ge.getRowCount=()=>{var fn;return(fn=Ge.options.rowCount)!=null?fn:Ge.getPrePaginationRowModel().rows.length}}},He=()=>({left:[],right:[]}),ye=()=>({top:[],bottom:[]}),Le={getInitialState:Ge=>({columnPinning:He(),rowPinning:ye(),...Ge}),getDefaultOptions:Ge=>({onColumnPinningChange:h("columnPinning",Ge),onRowPinningChange:h("rowPinning",Ge)}),createColumn:(Ge,An)=>{Ge.pin=Yt=>{const fn=Ge.getLeafColumns().map(Br=>Br.id).filter(Boolean);An.setColumnPinning(Br=>{var yo,Jo;if(Yt==="right"){var sa,la;return{left:((sa=Br==null?void 0:Br.left)!=null?sa:[]).filter(Ya=>!(fn!=null&&fn.includes(Ya))),right:[...((la=Br==null?void 0:Br.right)!=null?la:[]).filter(Ya=>!(fn!=null&&fn.includes(Ya))),...fn]}}if(Yt==="left"){var va,Ra;return{left:[...((va=Br==null?void 0:Br.left)!=null?va:[]).filter(Ya=>!(fn!=null&&fn.includes(Ya))),...fn],right:((Ra=Br==null?void 0:Br.right)!=null?Ra:[]).filter(Ya=>!(fn!=null&&fn.includes(Ya)))}}return{left:((yo=Br==null?void 0:Br.left)!=null?yo:[]).filter(Ya=>!(fn!=null&&fn.includes(Ya))),right:((Jo=Br==null?void 0:Br.right)!=null?Jo:[]).filter(Ya=>!(fn!=null&&fn.includes(Ya)))}})},Ge.getCanPin=()=>Ge.getLeafColumns().some(fn=>{var Br,yo,Jo;return((Br=fn.columnDef.enablePinning)!=null?Br:!0)&&((yo=(Jo=An.options.enableColumnPinning)!=null?Jo:An.options.enablePinning)!=null?yo:!0)}),Ge.getIsPinned=()=>{const Yt=Ge.getLeafColumns().map(sa=>sa.id),{left:fn,right:Br}=An.getState().columnPinning,yo=Yt.some(sa=>fn==null?void 0:fn.includes(sa)),Jo=Yt.some(sa=>Br==null?void 0:Br.includes(sa));return yo?"left":Jo?"right":!1},Ge.getPinnedIndex=()=>{var Yt,fn;const Br=Ge.getIsPinned();return Br?(Yt=(fn=An.getState().columnPinning)==null||(fn=fn[Br])==null?void 0:fn.indexOf(Ge.id))!=null?Yt:-1:0}},createRow:(Ge,An)=>{Ge.pin=(Yt,fn,Br)=>{const yo=fn?Ge.getLeafRows().map(la=>{let{id:va}=la;return va}):[],Jo=Br?Ge.getParentRows().map(la=>{let{id:va}=la;return va}):[],sa=new Set([...Jo,Ge.id,...yo]);An.setRowPinning(la=>{var va,Ra;if(Yt==="bottom"){var Ya,wa;return{top:((Ya=la==null?void 0:la.top)!=null?Ya:[]).filter(ws=>!(sa!=null&&sa.has(ws))),bottom:[...((wa=la==null?void 0:la.bottom)!=null?wa:[]).filter(ws=>!(sa!=null&&sa.has(ws))),...Array.from(sa)]}}if(Yt==="top"){var xa,Ds;return{top:[...((xa=la==null?void 0:la.top)!=null?xa:[]).filter(ws=>!(sa!=null&&sa.has(ws))),...Array.from(sa)],bottom:((Ds=la==null?void 0:la.bottom)!=null?Ds:[]).filter(ws=>!(sa!=null&&sa.has(ws)))}}return{top:((va=la==null?void 0:la.top)!=null?va:[]).filter(ws=>!(sa!=null&&sa.has(ws))),bottom:((Ra=la==null?void 0:la.bottom)!=null?Ra:[]).filter(ws=>!(sa!=null&&sa.has(ws)))}})},Ge.getCanPin=()=>{var Yt;const{enableRowPinning:fn,enablePinning:Br}=An.options;return typeof fn=="function"?fn(Ge):(Yt=fn??Br)!=null?Yt:!0},Ge.getIsPinned=()=>{const Yt=[Ge.id],{top:fn,bottom:Br}=An.getState().rowPinning,yo=Yt.some(sa=>fn==null?void 0:fn.includes(sa)),Jo=Yt.some(sa=>Br==null?void 0:Br.includes(sa));return yo?"top":Jo?"bottom":!1},Ge.getPinnedIndex=()=>{var Yt,fn;const Br=Ge.getIsPinned();if(!Br)return-1;const yo=(Yt=An._getPinnedRows(Br))==null?void 0:Yt.map(Jo=>{let{id:sa}=Jo;return sa});return(fn=yo==null?void 0:yo.indexOf(Ge.id))!=null?fn:-1},Ge.getCenterVisibleCells=y(()=>[Ge._getAllVisibleCells(),An.getState().columnPinning.left,An.getState().columnPinning.right],(Yt,fn,Br)=>{const yo=[...fn??[],...Br??[]];return Yt.filter(Jo=>!yo.includes(Jo.column.id))},O(An.options,"debugRows","getCenterVisibleCells")),Ge.getLeftVisibleCells=y(()=>[Ge._getAllVisibleCells(),An.getState().columnPinning.left],(Yt,fn)=>(fn??[]).map(yo=>Yt.find(Jo=>Jo.column.id===yo)).filter(Boolean).map(yo=>({...yo,position:"left"})),O(An.options,"debugRows","getLeftVisibleCells")),Ge.getRightVisibleCells=y(()=>[Ge._getAllVisibleCells(),An.getState().columnPinning.right],(Yt,fn)=>(fn??[]).map(yo=>Yt.find(Jo=>Jo.column.id===yo)).filter(Boolean).map(yo=>({...yo,position:"right"})),O(An.options,"debugRows","getRightVisibleCells"))},createTable:Ge=>{Ge.setColumnPinning=An=>Ge.options.onColumnPinningChange==null?void 0:Ge.options.onColumnPinningChange(An),Ge.resetColumnPinning=An=>{var Yt,fn;return Ge.setColumnPinning(An?He():(Yt=(fn=Ge.initialState)==null?void 0:fn.columnPinning)!=null?Yt:He())},Ge.getIsSomeColumnsPinned=An=>{var Yt;const fn=Ge.getState().columnPinning;if(!An){var Br,yo;return!!((Br=fn.left)!=null&&Br.length||(yo=fn.right)!=null&&yo.length)}return!!((Yt=fn[An])!=null&&Yt.length)},Ge.getLeftLeafColumns=y(()=>[Ge.getAllLeafColumns(),Ge.getState().columnPinning.left],(An,Yt)=>(Yt??[]).map(fn=>An.find(Br=>Br.id===fn)).filter(Boolean),O(Ge.options,"debugColumns","getLeftLeafColumns")),Ge.getRightLeafColumns=y(()=>[Ge.getAllLeafColumns(),Ge.getState().columnPinning.right],(An,Yt)=>(Yt??[]).map(fn=>An.find(Br=>Br.id===fn)).filter(Boolean),O(Ge.options,"debugColumns","getRightLeafColumns")),Ge.getCenterLeafColumns=y(()=>[Ge.getAllLeafColumns(),Ge.getState().columnPinning.left,Ge.getState().columnPinning.right],(An,Yt,fn)=>{const Br=[...Yt??[],...fn??[]];return An.filter(yo=>!Br.includes(yo.id))},O(Ge.options,"debugColumns","getCenterLeafColumns")),Ge.setRowPinning=An=>Ge.options.onRowPinningChange==null?void 0:Ge.options.onRowPinningChange(An),Ge.resetRowPinning=An=>{var Yt,fn;return Ge.setRowPinning(An?ye():(Yt=(fn=Ge.initialState)==null?void 0:fn.rowPinning)!=null?Yt:ye())},Ge.getIsSomeRowsPinned=An=>{var Yt;const fn=Ge.getState().rowPinning;if(!An){var Br,yo;return!!((Br=fn.top)!=null&&Br.length||(yo=fn.bottom)!=null&&yo.length)}return!!((Yt=fn[An])!=null&&Yt.length)},Ge._getPinnedRows=y(An=>[Ge.getRowModel().rows,Ge.getState().rowPinning[An],An],(An,Yt,fn)=>{var Br;return((Br=Ge.options.keepPinnedRows)==null||Br?(Yt??[]).map(Jo=>{const sa=Ge.getRow(Jo,!0);return sa.getIsAllParentsExpanded()?sa:null}):(Yt??[]).map(Jo=>An.find(sa=>sa.id===Jo))).filter(Boolean).map(Jo=>({...Jo,position:fn}))},O(Ge.options,"debugRows","_getPinnedRows")),Ge.getTopRows=()=>Ge._getPinnedRows("top"),Ge.getBottomRows=()=>Ge._getPinnedRows("bottom"),Ge.getCenterRows=y(()=>[Ge.getRowModel().rows,Ge.getState().rowPinning.top,Ge.getState().rowPinning.bottom],(An,Yt,fn)=>{const Br=new Set([...Yt??[],...fn??[]]);return An.filter(yo=>!Br.has(yo.id))},O(Ge.options,"debugRows","getCenterRows"))}},Ue={getInitialState:Ge=>({rowSelection:{},...Ge}),getDefaultOptions:Ge=>({onRowSelectionChange:h("rowSelection",Ge),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:Ge=>{Ge.setRowSelection=An=>Ge.options.onRowSelectionChange==null?void 0:Ge.options.onRowSelectionChange(An),Ge.resetRowSelection=An=>{var Yt;return Ge.setRowSelection(An?{}:(Yt=Ge.initialState.rowSelection)!=null?Yt:{})},Ge.toggleAllRowsSelected=An=>{Ge.setRowSelection(Yt=>{An=typeof An<"u"?An:!Ge.getIsAllRowsSelected();const fn={...Yt},Br=Ge.getPreGroupedRowModel().flatRows;return An?Br.forEach(yo=>{yo.getCanSelect()&&(fn[yo.id]=!0)}):Br.forEach(yo=>{delete fn[yo.id]}),fn})},Ge.toggleAllPageRowsSelected=An=>Ge.setRowSelection(Yt=>{const fn=typeof An<"u"?An:!Ge.getIsAllPageRowsSelected(),Br={...Yt};return Ge.getRowModel().rows.forEach(yo=>{Xe(Br,yo.id,fn,!0,Ge)}),Br}),Ge.getPreSelectedRowModel=()=>Ge.getCoreRowModel(),Ge.getSelectedRowModel=y(()=>[Ge.getState().rowSelection,Ge.getCoreRowModel()],(An,Yt)=>Object.keys(An).length?Fe(Ge,Yt):{rows:[],flatRows:[],rowsById:{}},O(Ge.options,"debugTable","getSelectedRowModel")),Ge.getFilteredSelectedRowModel=y(()=>[Ge.getState().rowSelection,Ge.getFilteredRowModel()],(An,Yt)=>Object.keys(An).length?Fe(Ge,Yt):{rows:[],flatRows:[],rowsById:{}},O(Ge.options,"debugTable","getFilteredSelectedRowModel")),Ge.getGroupedSelectedRowModel=y(()=>[Ge.getState().rowSelection,Ge.getSortedRowModel()],(An,Yt)=>Object.keys(An).length?Fe(Ge,Yt):{rows:[],flatRows:[],rowsById:{}},O(Ge.options,"debugTable","getGroupedSelectedRowModel")),Ge.getIsAllRowsSelected=()=>{const An=Ge.getFilteredRowModel().flatRows,{rowSelection:Yt}=Ge.getState();let fn=!!(An.length&&Object.keys(Yt).length);return fn&&An.some(Br=>Br.getCanSelect()&&!Yt[Br.id])&&(fn=!1),fn},Ge.getIsAllPageRowsSelected=()=>{const An=Ge.getPaginationRowModel().flatRows.filter(Br=>Br.getCanSelect()),{rowSelection:Yt}=Ge.getState();let fn=!!An.length;return fn&&An.some(Br=>!Yt[Br.id])&&(fn=!1),fn},Ge.getIsSomeRowsSelected=()=>{var An;const Yt=Object.keys((An=Ge.getState().rowSelection)!=null?An:{}).length;return Yt>0&&Yt<Ge.getFilteredRowModel().flatRows.length},Ge.getIsSomePageRowsSelected=()=>{const An=Ge.getPaginationRowModel().flatRows;return Ge.getIsAllPageRowsSelected()?!1:An.filter(Yt=>Yt.getCanSelect()).some(Yt=>Yt.getIsSelected()||Yt.getIsSomeSelected())},Ge.getToggleAllRowsSelectedHandler=()=>An=>{Ge.toggleAllRowsSelected(An.target.checked)},Ge.getToggleAllPageRowsSelectedHandler=()=>An=>{Ge.toggleAllPageRowsSelected(An.target.checked)}},createRow:(Ge,An)=>{Ge.toggleSelected=(Yt,fn)=>{const Br=Ge.getIsSelected();An.setRowSelection(yo=>{var Jo;if(Yt=typeof Yt<"u"?Yt:!Br,Ge.getCanSelect()&&Br===Yt)return yo;const sa={...yo};return Xe(sa,Ge.id,Yt,(Jo=fn==null?void 0:fn.selectChildren)!=null?Jo:!0,An),sa})},Ge.getIsSelected=()=>{const{rowSelection:Yt}=An.getState();return ht(Ge,Yt)},Ge.getIsSomeSelected=()=>{const{rowSelection:Yt}=An.getState();return Ne(Ge,Yt)==="some"},Ge.getIsAllSubRowsSelected=()=>{const{rowSelection:Yt}=An.getState();return Ne(Ge,Yt)==="all"},Ge.getCanSelect=()=>{var Yt;return typeof An.options.enableRowSelection=="function"?An.options.enableRowSelection(Ge):(Yt=An.options.enableRowSelection)!=null?Yt:!0},Ge.getCanSelectSubRows=()=>{var Yt;return typeof An.options.enableSubRowSelection=="function"?An.options.enableSubRowSelection(Ge):(Yt=An.options.enableSubRowSelection)!=null?Yt:!0},Ge.getCanMultiSelect=()=>{var Yt;return typeof An.options.enableMultiRowSelection=="function"?An.options.enableMultiRowSelection(Ge):(Yt=An.options.enableMultiRowSelection)!=null?Yt:!0},Ge.getToggleSelectedHandler=()=>{const Yt=Ge.getCanSelect();return fn=>{var Br;Yt&&Ge.toggleSelected((Br=fn.target)==null?void 0:Br.checked)}}}},Xe=(Ge,An,Yt,fn,Br)=>{var yo;const Jo=Br.getRow(An,!0);Yt?(Jo.getCanMultiSelect()||Object.keys(Ge).forEach(sa=>delete Ge[sa]),Jo.getCanSelect()&&(Ge[An]=!0)):delete Ge[An],fn&&(yo=Jo.subRows)!=null&&yo.length&&Jo.getCanSelectSubRows()&&Jo.subRows.forEach(sa=>Xe(Ge,sa.id,Yt,fn,Br))};function Fe(Ge,An){const Yt=Ge.getState().rowSelection,fn=[],Br={},yo=function(Jo,sa){return Jo.map(la=>{var va;const Ra=ht(la,Yt);if(Ra&&(fn.push(la),Br[la.id]=la),(va=la.subRows)!=null&&va.length&&(la={...la,subRows:yo(la.subRows)}),Ra)return la}).filter(Boolean)};return{rows:yo(An.rows),flatRows:fn,rowsById:Br}}function ht(Ge,An){var Yt;return(Yt=An[Ge.id])!=null?Yt:!1}function Ne(Ge,An,Yt){var fn;if(!((fn=Ge.subRows)!=null&&fn.length))return!1;let Br=!0,yo=!1;return Ge.subRows.forEach(Jo=>{if(!(yo&&!Br)&&(Jo.getCanSelect()&&(ht(Jo,An)?yo=!0:Br=!1),Jo.subRows&&Jo.subRows.length)){const sa=Ne(Jo,An);sa==="all"?yo=!0:(sa==="some"&&(yo=!0),Br=!1)}}),Br?"all":yo?"some":!1}const Ce=/([0-9]+)/gm,we=(Ge,An,Yt)=>ce(rt(Ge.getValue(Yt)).toLowerCase(),rt(An.getValue(Yt)).toLowerCase()),$e=(Ge,An,Yt)=>ce(rt(Ge.getValue(Yt)),rt(An.getValue(Yt))),Ot=(Ge,An,Yt)=>mt(rt(Ge.getValue(Yt)).toLowerCase(),rt(An.getValue(Yt)).toLowerCase()),Pt=(Ge,An,Yt)=>mt(rt(Ge.getValue(Yt)),rt(An.getValue(Yt))),Ie=(Ge,An,Yt)=>{const fn=Ge.getValue(Yt),Br=An.getValue(Yt);return fn>Br?1:fn<Br?-1:0},Bt=(Ge,An,Yt)=>mt(Ge.getValue(Yt),An.getValue(Yt));function mt(Ge,An){return Ge===An?0:Ge>An?1:-1}function rt(Ge){return typeof Ge=="number"?isNaN(Ge)||Ge===1/0||Ge===-1/0?"":String(Ge):typeof Ge=="string"?Ge:""}function ce(Ge,An){const Yt=Ge.split(Ce).filter(Boolean),fn=An.split(Ce).filter(Boolean);for(;Yt.length&&fn.length;){const Br=Yt.shift(),yo=fn.shift(),Jo=parseInt(Br,10),sa=parseInt(yo,10),la=[Jo,sa].sort();if(isNaN(la[0])){if(Br>yo)return 1;if(yo>Br)return-1;continue}if(isNaN(la[1]))return isNaN(Jo)?-1:1;if(Jo>sa)return 1;if(sa>Jo)return-1}return Yt.length-fn.length}const Re={alphanumeric:we,alphanumericCaseSensitive:$e,text:Ot,textCaseSensitive:Pt,datetime:Ie,basic:Bt},nt={getInitialState:Ge=>({sorting:[],...Ge}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:Ge=>({onSortingChange:h("sorting",Ge),isMultiSortEvent:An=>An.shiftKey}),createColumn:(Ge,An)=>{Ge.getAutoSortingFn=()=>{const Yt=An.getFilteredRowModel().flatRows.slice(10);let fn=!1;for(const Br of Yt){const yo=Br==null?void 0:Br.getValue(Ge.id);if(Object.prototype.toString.call(yo)==="[object Date]")return Re.datetime;if(typeof yo=="string"&&(fn=!0,yo.split(Ce).length>1))return Re.alphanumeric}return fn?Re.text:Re.basic},Ge.getAutoSortDir=()=>{const Yt=An.getFilteredRowModel().flatRows[0];return typeof(Yt==null?void 0:Yt.getValue(Ge.id))=="string"?"asc":"desc"},Ge.getSortingFn=()=>{var Yt,fn;if(!Ge)throw new Error;return g(Ge.columnDef.sortingFn)?Ge.columnDef.sortingFn:Ge.columnDef.sortingFn==="auto"?Ge.getAutoSortingFn():(Yt=(fn=An.options.sortingFns)==null?void 0:fn[Ge.columnDef.sortingFn])!=null?Yt:Re[Ge.columnDef.sortingFn]},Ge.toggleSorting=(Yt,fn)=>{const Br=Ge.getNextSortingOrder(),yo=typeof Yt<"u"&&Yt!==null;An.setSorting(Jo=>{const sa=Jo==null?void 0:Jo.find(xa=>xa.id===Ge.id),la=Jo==null?void 0:Jo.findIndex(xa=>xa.id===Ge.id);let va=[],Ra,Ya=yo?Yt:Br==="desc";if(Jo!=null&&Jo.length&&Ge.getCanMultiSort()&&fn?sa?Ra="toggle":Ra="add":Jo!=null&&Jo.length&&la!==Jo.length-1?Ra="replace":sa?Ra="toggle":Ra="replace",Ra==="toggle"&&(yo||Br||(Ra="remove")),Ra==="add"){var wa;va=[...Jo,{id:Ge.id,desc:Ya}],va.splice(0,va.length-((wa=An.options.maxMultiSortColCount)!=null?wa:Number.MAX_SAFE_INTEGER))}else Ra==="toggle"?va=Jo.map(xa=>xa.id===Ge.id?{...xa,desc:Ya}:xa):Ra==="remove"?va=Jo.filter(xa=>xa.id!==Ge.id):va=[{id:Ge.id,desc:Ya}];return va})},Ge.getFirstSortDir=()=>{var Yt,fn;return((Yt=(fn=Ge.columnDef.sortDescFirst)!=null?fn:An.options.sortDescFirst)!=null?Yt:Ge.getAutoSortDir()==="desc")?"desc":"asc"},Ge.getNextSortingOrder=Yt=>{var fn,Br;const yo=Ge.getFirstSortDir(),Jo=Ge.getIsSorted();return Jo?Jo!==yo&&((fn=An.options.enableSortingRemoval)==null||fn)&&(!(Yt&&(Br=An.options.enableMultiRemove)!=null)||Br)?!1:Jo==="desc"?"asc":"desc":yo},Ge.getCanSort=()=>{var Yt,fn;return((Yt=Ge.columnDef.enableSorting)!=null?Yt:!0)&&((fn=An.options.enableSorting)!=null?fn:!0)&&!!Ge.accessorFn},Ge.getCanMultiSort=()=>{var Yt,fn;return(Yt=(fn=Ge.columnDef.enableMultiSort)!=null?fn:An.options.enableMultiSort)!=null?Yt:!!Ge.accessorFn},Ge.getIsSorted=()=>{var Yt;const fn=(Yt=An.getState().sorting)==null?void 0:Yt.find(Br=>Br.id===Ge.id);return fn?fn.desc?"desc":"asc":!1},Ge.getSortIndex=()=>{var Yt,fn;return(Yt=(fn=An.getState().sorting)==null?void 0:fn.findIndex(Br=>Br.id===Ge.id))!=null?Yt:-1},Ge.clearSorting=()=>{An.setSorting(Yt=>Yt!=null&&Yt.length?Yt.filter(fn=>fn.id!==Ge.id):[])},Ge.getToggleSortingHandler=()=>{const Yt=Ge.getCanSort();return fn=>{Yt&&(fn.persist==null||fn.persist(),Ge.toggleSorting==null||Ge.toggleSorting(void 0,Ge.getCanMultiSort()?An.options.isMultiSortEvent==null?void 0:An.options.isMultiSortEvent(fn):!1))}}},createTable:Ge=>{Ge.setSorting=An=>Ge.options.onSortingChange==null?void 0:Ge.options.onSortingChange(An),Ge.resetSorting=An=>{var Yt,fn;Ge.setSorting(An?[]:(Yt=(fn=Ge.initialState)==null?void 0:fn.sorting)!=null?Yt:[])},Ge.getPreSortedRowModel=()=>Ge.getGroupedRowModel(),Ge.getSortedRowModel=()=>(!Ge._getSortedRowModel&&Ge.options.getSortedRowModel&&(Ge._getSortedRowModel=Ge.options.getSortedRowModel(Ge)),Ge.options.manualSorting||!Ge._getSortedRowModel?Ge.getPreSortedRowModel():Ge._getSortedRowModel())}},st={getInitialState:Ge=>({columnVisibility:{},...Ge}),getDefaultOptions:Ge=>({onColumnVisibilityChange:h("columnVisibility",Ge)}),createColumn:(Ge,An)=>{Ge.toggleVisibility=Yt=>{Ge.getCanHide()&&An.setColumnVisibility(fn=>({...fn,[Ge.id]:Yt??!Ge.getIsVisible()}))},Ge.getIsVisible=()=>{var Yt,fn;const Br=Ge.columns;return(Yt=Br.length?Br.some(yo=>yo.getIsVisible()):(fn=An.getState().columnVisibility)==null?void 0:fn[Ge.id])!=null?Yt:!0},Ge.getCanHide=()=>{var Yt,fn;return((Yt=Ge.columnDef.enableHiding)!=null?Yt:!0)&&((fn=An.options.enableHiding)!=null?fn:!0)},Ge.getToggleVisibilityHandler=()=>Yt=>{Ge.toggleVisibility==null||Ge.toggleVisibility(Yt.target.checked)}},createRow:(Ge,An)=>{Ge._getAllVisibleCells=y(()=>[Ge.getAllCells(),An.getState().columnVisibility],Yt=>Yt.filter(fn=>fn.column.getIsVisible()),O(An.options,"debugRows","_getAllVisibleCells")),Ge.getVisibleCells=y(()=>[Ge.getLeftVisibleCells(),Ge.getCenterVisibleCells(),Ge.getRightVisibleCells()],(Yt,fn,Br)=>[...Yt,...fn,...Br],O(An.options,"debugRows","getVisibleCells"))},createTable:Ge=>{const An=(Yt,fn)=>y(()=>[fn(),fn().filter(Br=>Br.getIsVisible()).map(Br=>Br.id).join("_")],Br=>Br.filter(yo=>yo.getIsVisible==null?void 0:yo.getIsVisible()),O(Ge.options,"debugColumns",Yt));Ge.getVisibleFlatColumns=An("getVisibleFlatColumns",()=>Ge.getAllFlatColumns()),Ge.getVisibleLeafColumns=An("getVisibleLeafColumns",()=>Ge.getAllLeafColumns()),Ge.getLeftVisibleLeafColumns=An("getLeftVisibleLeafColumns",()=>Ge.getLeftLeafColumns()),Ge.getRightVisibleLeafColumns=An("getRightVisibleLeafColumns",()=>Ge.getRightLeafColumns()),Ge.getCenterVisibleLeafColumns=An("getCenterVisibleLeafColumns",()=>Ge.getCenterLeafColumns()),Ge.setColumnVisibility=Yt=>Ge.options.onColumnVisibilityChange==null?void 0:Ge.options.onColumnVisibilityChange(Yt),Ge.resetColumnVisibility=Yt=>{var fn;Ge.setColumnVisibility(Yt?{}:(fn=Ge.initialState.columnVisibility)!=null?fn:{})},Ge.toggleAllColumnsVisible=Yt=>{var fn;Yt=(fn=Yt)!=null?fn:!Ge.getIsAllColumnsVisible(),Ge.setColumnVisibility(Ge.getAllLeafColumns().reduce((Br,yo)=>({...Br,[yo.id]:Yt||!(yo.getCanHide!=null&&yo.getCanHide())}),{}))},Ge.getIsAllColumnsVisible=()=>!Ge.getAllLeafColumns().some(Yt=>!(Yt.getIsVisible!=null&&Yt.getIsVisible())),Ge.getIsSomeColumnsVisible=()=>Ge.getAllLeafColumns().some(Yt=>Yt.getIsVisible==null?void 0:Yt.getIsVisible()),Ge.getToggleAllColumnsVisibilityHandler=()=>Yt=>{var fn;Ge.toggleAllColumnsVisible((fn=Yt.target)==null?void 0:fn.checked)}}};function vt(Ge,An){return An?An==="center"?Ge.getCenterVisibleLeafColumns():An==="left"?Ge.getLeftVisibleLeafColumns():Ge.getRightVisibleLeafColumns():Ge.getVisibleLeafColumns()}const ze=[S,st,_e,Le,te,nt,H,W,Ke,Ue,m];function It(Ge){var An;(Ge.debugAll||Ge.debugTable)&&console.info("Creating Table Instance...");let Yt={_features:ze};const fn=Yt._features.reduce((Ra,Ya)=>Object.assign(Ra,Ya.getDefaultOptions==null?void 0:Ya.getDefaultOptions(Yt)),{}),Br=Ra=>Yt.options.mergeOptions?Yt.options.mergeOptions(fn,Ra):{...fn,...Ra};let Jo={...{},...(An=Ge.initialState)!=null?An:{}};Yt._features.forEach(Ra=>{var Ya;Jo=(Ya=Ra.getInitialState==null?void 0:Ra.getInitialState(Jo))!=null?Ya:Jo});const sa=[];let la=!1;const va={_features:ze,options:{...fn,...Ge},initialState:Jo,_queue:Ra=>{sa.push(Ra),la||(la=!0,Promise.resolve().then(()=>{for(;sa.length;)sa.shift()();la=!1}).catch(Ya=>setTimeout(()=>{throw Ya})))},reset:()=>{Yt.setState(Yt.initialState)},setOptions:Ra=>{const Ya=f(Ra,Yt.options);Yt.options=Br(Ya)},getState:()=>Yt.options.state,setState:Ra=>{Yt.options.onStateChange==null||Yt.options.onStateChange(Ra)},_getRowId:(Ra,Ya,wa)=>{var xa;return(xa=Yt.options.getRowId==null?void 0:Yt.options.getRowId(Ra,Ya,wa))!=null?xa:`${wa?[wa.id,Ya].join("."):Ya}`},getCoreRowModel:()=>(Yt._getCoreRowModel||(Yt._getCoreRowModel=Yt.options.getCoreRowModel(Yt)),Yt._getCoreRowModel()),getRowModel:()=>Yt.getPaginationRowModel(),getRow:(Ra,Ya)=>{let wa=(Ya?Yt.getPrePaginationRowModel():Yt.getRowModel()).rowsById[Ra];if(!wa&&(wa=Yt.getCoreRowModel().rowsById[Ra],!wa))throw new Error;return wa},_getDefaultColumnDef:y(()=>[Yt.options.defaultColumn],Ra=>{var Ya;return Ra=(Ya=Ra)!=null?Ya:{},{header:wa=>{const xa=wa.header.column.columnDef;return xa.accessorKey?xa.accessorKey:xa.accessorFn?xa.id:null},cell:wa=>{var xa,Ds;return(xa=(Ds=wa.renderValue())==null||Ds.toString==null?void 0:Ds.toString())!=null?xa:null},...Yt._features.reduce((wa,xa)=>Object.assign(wa,xa.getDefaultColumnDef==null?void 0:xa.getDefaultColumnDef()),{}),...Ra}},O(Ge,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>Yt.options.columns,getAllColumns:y(()=>[Yt._getColumnDefs()],Ra=>{const Ya=function(wa,xa,Ds){return Ds===void 0&&(Ds=0),wa.map(ws=>{const Di=P(Yt,ws,Ds,xa),ai=ws;return Di.columns=ai.columns?Ya(ai.columns,Di,Ds+1):[],Di})};return Ya(Ra)},O(Ge,"debugColumns","getAllColumns")),getAllFlatColumns:y(()=>[Yt.getAllColumns()],Ra=>Ra.flatMap(Ya=>Ya.getFlatColumns()),O(Ge,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:y(()=>[Yt.getAllFlatColumns()],Ra=>Ra.reduce((Ya,wa)=>(Ya[wa.id]=wa,Ya),{}),O(Ge,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:y(()=>[Yt.getAllColumns(),Yt._getOrderColumnsFn()],(Ra,Ya)=>{let wa=Ra.flatMap(xa=>xa.getLeafColumns());return Ya(wa)},O(Ge,"debugColumns","getAllLeafColumns")),getColumn:Ra=>Yt._getAllFlatColumnsById()[Ra]};Object.assign(Yt,va);for(let Ra=0;Ra<Yt._features.length;Ra++){const Ya=Yt._features[Ra];Ya==null||Ya.createTable==null||Ya.createTable(Yt)}return Yt}function on(Ge,An,Yt,fn){const Br=()=>{var Jo;return(Jo=yo.getValue())!=null?Jo:Ge.options.renderFallbackValue},yo={id:`${An.id}_${Yt.id}`,row:An,column:Yt,getValue:()=>An.getValue(fn),renderValue:Br,getContext:y(()=>[Ge,Yt,An,yo],(Jo,sa,la,va)=>({table:Jo,column:sa,row:la,cell:va,getValue:va.getValue,renderValue:va.renderValue}),O(Ge.options,"debugCells","cell.getContext"))};return Ge._features.forEach(Jo=>{Jo.createCell==null||Jo.createCell(yo,Yt,An,Ge)},{}),yo}const Pn=(Ge,An,Yt,fn,Br,yo,Jo)=>{let sa={id:An,index:fn,original:Yt,depth:Br,parentId:Jo,_valuesCache:{},_uniqueValuesCache:{},getValue:la=>{if(sa._valuesCache.hasOwnProperty(la))return sa._valuesCache[la];const va=Ge.getColumn(la);if(va!=null&&va.accessorFn)return sa._valuesCache[la]=va.accessorFn(sa.original,fn),sa._valuesCache[la]},getUniqueValues:la=>{if(sa._uniqueValuesCache.hasOwnProperty(la))return sa._uniqueValuesCache[la];const va=Ge.getColumn(la);if(va!=null&&va.accessorFn)return va.columnDef.getUniqueValues?(sa._uniqueValuesCache[la]=va.columnDef.getUniqueValues(sa.original,fn),sa._uniqueValuesCache[la]):(sa._uniqueValuesCache[la]=[sa.getValue(la)],sa._uniqueValuesCache[la])},renderValue:la=>{var va;return(va=sa.getValue(la))!=null?va:Ge.options.renderFallbackValue},subRows:yo??[],getLeafRows:()=>p(sa.subRows,la=>la.subRows),getParentRow:()=>sa.parentId?Ge.getRow(sa.parentId,!0):void 0,getParentRows:()=>{let la=[],va=sa;for(;;){const Ra=va.getParentRow();if(!Ra)break;la.push(Ra),va=Ra}return la.reverse()},getAllCells:y(()=>[Ge.getAllLeafColumns()],la=>la.map(va=>on(Ge,sa,va,va.id)),O(Ge.options,"debugRows","getAllCells")),_getAllCellsByColumnId:y(()=>[sa.getAllCells()],la=>la.reduce((va,Ra)=>(va[Ra.column.id]=Ra,va),{}),O(Ge.options,"debugRows","getAllCellsByColumnId"))};for(let la=0;la<Ge._features.length;la++){const va=Ge._features[la];va==null||va.createRow==null||va.createRow(sa,Ge)}return sa};function Yn(){return{accessor:(Ge,An)=>typeof Ge=="function"?{...An,accessorFn:Ge}:{...An,accessorKey:Ge},display:Ge=>Ge,group:Ge=>Ge}}function Ln(){return Ge=>y(()=>[Ge.options.data],An=>{const Yt={rows:[],flatRows:[],rowsById:{}},fn=function(Br,yo,Jo){yo===void 0&&(yo=0);const sa=[];for(let va=0;va<Br.length;va++){const Ra=Pn(Ge,Ge._getRowId(Br[va],va,Jo),Br[va],va,yo,void 0,Jo==null?void 0:Jo.id);if(Yt.flatRows.push(Ra),Yt.rowsById[Ra.id]=Ra,sa.push(Ra),Ge.options.getSubRows){var la;Ra.originalSubRows=Ge.options.getSubRows(Br[va],va),(la=Ra.originalSubRows)!=null&&la.length&&(Ra.subRows=fn(Ra.originalSubRows,yo+1,Ra))}}return sa};return Yt.rows=fn(An),Yt},O(Ge.options,"debugTable","getRowModel",()=>Ge._autoResetPageIndex()))}function bn(Ge,An,Yt){return Yt.options.filterFromLeafRows?ir(Ge,An,Yt):Zn(Ge,An,Yt)}function ir(Ge,An,Yt){var fn;const Br=[],yo={},Jo=(fn=Yt.options.maxLeafRowFilterDepth)!=null?fn:100,sa=function(la,va){va===void 0&&(va=0);const Ra=[];for(let wa=0;wa<la.length;wa++){var Ya;let xa=la[wa];const Ds=Pn(Yt,xa.id,xa.original,xa.index,xa.depth,void 0,xa.parentId);if(Ds.columnFilters=xa.columnFilters,(Ya=xa.subRows)!=null&&Ya.length&&va<Jo){if(Ds.subRows=sa(xa.subRows,va+1),xa=Ds,An(xa)&&!Ds.subRows.length){Ra.push(xa),yo[xa.id]=xa,Br.push(xa);continue}if(An(xa)||Ds.subRows.length){Ra.push(xa),yo[xa.id]=xa,Br.push(xa);continue}}else xa=Ds,An(xa)&&(Ra.push(xa),yo[xa.id]=xa,Br.push(xa))}return Ra};return{rows:sa(Ge),flatRows:Br,rowsById:yo}}function Zn(Ge,An,Yt){var fn;const Br=[],yo={},Jo=(fn=Yt.options.maxLeafRowFilterDepth)!=null?fn:100,sa=function(la,va){va===void 0&&(va=0);const Ra=[];for(let wa=0;wa<la.length;wa++){let xa=la[wa];if(An(xa)){var Ya;if((Ya=xa.subRows)!=null&&Ya.length&&va<Jo){const ws=Pn(Yt,xa.id,xa.original,xa.index,xa.depth,void 0,xa.parentId);ws.subRows=sa(xa.subRows,va+1),xa=ws}Ra.push(xa),Br.push(xa),yo[xa.id]=xa}}return Ra};return{rows:sa(Ge),flatRows:Br,rowsById:yo}}function $n(){return Ge=>y(()=>[Ge.getPreFilteredRowModel(),Ge.getState().columnFilters,Ge.getState().globalFilter],(An,Yt,fn)=>{if(!An.rows.length||!(Yt!=null&&Yt.length)&&!fn){for(let wa=0;wa<An.flatRows.length;wa++)An.flatRows[wa].columnFilters={},An.flatRows[wa].columnFiltersMeta={};return An}const Br=[],yo=[];(Yt??[]).forEach(wa=>{var xa;const Ds=Ge.getColumn(wa.id);if(!Ds)return;const ws=Ds.getFilterFn();ws&&Br.push({id:wa.id,filterFn:ws,resolvedValue:(xa=ws.resolveFilterValue==null?void 0:ws.resolveFilterValue(wa.value))!=null?xa:wa.value})});const Jo=Yt.map(wa=>wa.id),sa=Ge.getGlobalFilterFn(),la=Ge.getAllLeafColumns().filter(wa=>wa.getCanGlobalFilter());fn&&sa&&la.length&&(Jo.push("__global__"),la.forEach(wa=>{var xa;yo.push({id:wa.id,filterFn:sa,resolvedValue:(xa=sa.resolveFilterValue==null?void 0:sa.resolveFilterValue(fn))!=null?xa:fn})}));let va,Ra;for(let wa=0;wa<An.flatRows.length;wa++){const xa=An.flatRows[wa];if(xa.columnFilters={},Br.length)for(let Ds=0;Ds<Br.length;Ds++){va=Br[Ds];const ws=va.id;xa.columnFilters[ws]=va.filterFn(xa,ws,va.resolvedValue,Di=>{xa.columnFiltersMeta[ws]=Di})}if(yo.length){for(let Ds=0;Ds<yo.length;Ds++){Ra=yo[Ds];const ws=Ra.id;if(Ra.filterFn(xa,ws,Ra.resolvedValue,Di=>{xa.columnFiltersMeta[ws]=Di})){xa.columnFilters.__global__=!0;break}}xa.columnFilters.__global__!==!0&&(xa.columnFilters.__global__=!1)}}const Ya=wa=>{for(let xa=0;xa<Jo.length;xa++)if(wa.columnFilters[Jo[xa]]===!1)return!1;return!0};return bn(An.rows,Ya,Ge)},O(Ge.options,"debugTable","getFilteredRowModel",()=>Ge._autoResetPageIndex()))}function jt(){return(Ge,An)=>y(()=>[Ge.getPreFilteredRowModel(),Ge.getState().columnFilters,Ge.getState().globalFilter,Ge.getFilteredRowModel()],(Yt,fn,Br)=>{if(!Yt.rows.length||!(fn!=null&&fn.length)&&!Br)return Yt;const yo=[...fn.map(sa=>sa.id).filter(sa=>sa!==An),Br?"__global__":void 0].filter(Boolean),Jo=sa=>{for(let la=0;la<yo.length;la++)if(sa.columnFilters[yo[la]]===!1)return!1;return!0};return bn(Yt.rows,Jo,Ge)},O(Ge.options,"debugTable","getFacetedRowModel"))}function Rn(){return(Ge,An)=>y(()=>{var Yt;return[(Yt=Ge.getColumn(An))==null?void 0:Yt.getFacetedRowModel()]},Yt=>{if(!Yt)return new Map;let fn=new Map;for(let yo=0;yo<Yt.flatRows.length;yo++){const Jo=Yt.flatRows[yo].getUniqueValues(An);for(let sa=0;sa<Jo.length;sa++){const la=Jo[sa];if(fn.has(la)){var Br;fn.set(la,((Br=fn.get(la))!=null?Br:0)+1)}else fn.set(la,1)}}return fn},O(Ge.options,"debugTable",`getFacetedUniqueValues_${An}`))}function jn(){return(Ge,An)=>y(()=>{var Yt;return[(Yt=Ge.getColumn(An))==null?void 0:Yt.getFacetedRowModel()]},Yt=>{var fn;if(!Yt)return;const Br=(fn=Yt.flatRows[0])==null?void 0:fn.getUniqueValues(An);if(typeof Br>"u")return;let yo=[Br,Br];for(let Jo=0;Jo<Yt.flatRows.length;Jo++){const sa=Yt.flatRows[Jo].getUniqueValues(An);for(let la=0;la<sa.length;la++){const va=sa[la];va<yo[0]?yo[0]=va:va>yo[1]&&(yo[1]=va)}}return yo},O(Ge.options,"debugTable","getFacetedMinMaxValues"))}function Tn(){return Ge=>y(()=>[Ge.getState().sorting,Ge.getPreSortedRowModel()],(An,Yt)=>{if(!Yt.rows.length||!(An!=null&&An.length))return Yt;const fn=Ge.getState().sorting,Br=[],yo=fn.filter(la=>{var va;return(va=Ge.getColumn(la.id))==null?void 0:va.getCanSort()}),Jo={};yo.forEach(la=>{const va=Ge.getColumn(la.id);va&&(Jo[la.id]={sortUndefined:va.columnDef.sortUndefined,invertSorting:va.columnDef.invertSorting,sortingFn:va.getSortingFn()})});const sa=la=>{const va=la.map(Ra=>({...Ra}));return va.sort((Ra,Ya)=>{for(let xa=0;xa<yo.length;xa+=1){var wa;const Ds=yo[xa],ws=Jo[Ds.id],Di=(wa=Ds==null?void 0:Ds.desc)!=null?wa:!1;let ai=0;if(ws.sortUndefined){const yl=Ra.getValue(Ds.id),ml=Ya.getValue(Ds.id),Ii=yl===void 0,Xi=ml===void 0;(Ii||Xi)&&(ai=Ii&&Xi?0:Ii?ws.sortUndefined:-ws.sortUndefined)}if(ai===0&&(ai=ws.sortingFn(Ra,Ya,Ds.id)),ai!==0)return Di&&(ai*=-1),ws.invertSorting&&(ai*=-1),ai}return Ra.index-Ya.index}),va.forEach(Ra=>{var Ya;Br.push(Ra),(Ya=Ra.subRows)!=null&&Ya.length&&(Ra.subRows=sa(Ra.subRows))}),va};return{rows:sa(Yt.rows),flatRows:Br,rowsById:Yt.rowsById}},O(Ge.options,"debugTable","getSortedRowModel",()=>Ge._autoResetPageIndex()))}function Nn(){return Ge=>y(()=>[Ge.getState().grouping,Ge.getPreGroupedRowModel()],(An,Yt)=>{if(!Yt.rows.length||!An.length)return Yt;const fn=An.filter(la=>Ge.getColumn(la)),Br=[],yo={},Jo=function(la,va,Ra){if(va===void 0&&(va=0),va>=fn.length)return la.map(Ds=>(Ds.depth=va,Br.push(Ds),yo[Ds.id]=Ds,Ds.subRows&&(Ds.subRows=Jo(Ds.subRows,va+1,Ds.id)),Ds));const Ya=fn[va],wa=cn(la,Ya);return Array.from(wa.entries()).map((Ds,ws)=>{let[Di,ai]=Ds,yl=`${Ya}:${Di}`;yl=Ra?`${Ra}>${yl}`:yl;const ml=Jo(ai,va+1,yl),Ii=va?p(ai,zi=>zi.subRows):ai,Xi=Pn(Ge,yl,Ii[0].original,ws,va,void 0,Ra);return Object.assign(Xi,{groupingColumnId:Ya,groupingValue:Di,subRows:ml,leafRows:Ii,getValue:zi=>{if(fn.includes(zi)){if(Xi._valuesCache.hasOwnProperty(zi))return Xi._valuesCache[zi];if(ai[0]){var Sl;Xi._valuesCache[zi]=(Sl=ai[0].getValue(zi))!=null?Sl:void 0}return Xi._valuesCache[zi]}if(Xi._groupingValuesCache.hasOwnProperty(zi))return Xi._groupingValuesCache[zi];const gc=Ge.getColumn(zi),Xl=gc==null?void 0:gc.getAggregationFn();if(Xl)return Xi._groupingValuesCache[zi]=Xl(zi,Ii,ai),Xi._groupingValuesCache[zi]}}),ml.forEach(zi=>{Br.push(zi),yo[zi.id]=zi}),Xi})},sa=Jo(Yt.rows,0);return sa.forEach(la=>{Br.push(la),yo[la.id]=la}),{rows:sa,flatRows:Br,rowsById:yo}},O(Ge.options,"debugTable","getGroupedRowModel",()=>{Ge._queue(()=>{Ge._autoResetExpanded(),Ge._autoResetPageIndex()})}))}function cn(Ge,An){const Yt=new Map;return Ge.reduce((fn,Br)=>{const yo=`${Br.getGroupingValue(An)}`,Jo=fn.get(yo);return Jo?Jo.push(Br):fn.set(yo,[Br]),fn},Yt)}function or(){return Ge=>y(()=>[Ge.getState().expanded,Ge.getPreExpandedRowModel(),Ge.options.paginateExpandedRows],(An,Yt,fn)=>!Yt.rows.length||An!==!0&&!Object.keys(An??{}).length||!fn?Yt:qn(Yt),O(Ge.options,"debugTable","getExpandedRowModel"))}function qn(Ge){const An=[],Yt=fn=>{var Br;An.push(fn),(Br=fn.subRows)!=null&&Br.length&&fn.getIsExpanded()&&fn.subRows.forEach(Yt)};return Ge.rows.forEach(Yt),{rows:An,flatRows:Ge.flatRows,rowsById:Ge.rowsById}}function Hr(Ge){return An=>y(()=>[An.getState().pagination,An.getPrePaginationRowModel(),An.options.paginateExpandedRows?void 0:An.getState().expanded],(Yt,fn)=>{if(!fn.rows.length)return fn;const{pageSize:Br,pageIndex:yo}=Yt;let{rows:Jo,flatRows:sa,rowsById:la}=fn;const va=Br*yo,Ra=va+Br;Jo=Jo.slice(va,Ra);let Ya;An.options.paginateExpandedRows?Ya={rows:Jo,flatRows:sa,rowsById:la}:Ya=qn({rows:Jo,flatRows:sa,rowsById:la}),Ya.flatRows=[];const wa=xa=>{Ya.flatRows.push(xa),xa.subRows.length&&xa.subRows.forEach(wa)};return Ya.rows.forEach(wa),Ya},O(An.options,"debugTable","getPaginationRowModel"))}/**
   * react-table
   *
   * Copyright (c) TanStack
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE.md file in the root directory of this source tree.
   *
   * @license MIT
   */function fo(Ge,An){return Ge?Jr(Ge)?c.createElement(Ge,An):Ge:null}function Jr(Ge){return ro(Ge)||typeof Ge=="function"||Xt(Ge)}function ro(Ge){return typeof Ge=="function"&&(()=>{const An=Object.getPrototypeOf(Ge);return An.prototype&&An.prototype.isReactComponent})()}function Xt(Ge){return typeof Ge=="object"&&typeof Ge.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(Ge.$$typeof.description)}function Je(Ge){const An={state:{},onStateChange:()=>{},renderFallbackValue:null,...Ge},[Yt]=c.useState(()=>({current:It(An)})),[fn,Br]=c.useState(()=>Yt.current.initialState);return Yt.current.setOptions(yo=>({...yo,...Ge,state:{...fn,...Ge.state},onStateChange:Jo=>{Br(Jo),Ge.onStateChange==null||Ge.onStateChange(Jo)}})),Yt.current}var At=e(160553),xt=e.n(At),Qt=e(425740),qt=e(604934),Te=e(47932),Gt=e(425629),un=e(412166),Vt=e(881707),Dn=["children","row","variant","css"];function Wt(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function Pe(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?Wt(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):Wt(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}function xe(Ge){var An=Ge.children,Yt=Ge.row,fn=Ge.variant,Br=Ge.css,yo=i()(Ge,Dn),Jo=(0,Te.F)(),sa=Jo.easing,la=Jo.time,va=Jo.borders;return c.createElement(Gt.Z,xt()({"aria-expanded":Yt.getIsExpanded(),css:Pe({"&:focus":{outline:va[2],outlineColor:"currentColor",textDecoration:"none"},"&:focus:not(:focus-visible)":{outline:"none",textDecoration:"underline"}},Br),interaction:Gt.Z.WithoutFeedback,onClick:Ra=>{Ra.stopPropagation(),Ra.preventDefault(),Yt.getToggleExpandedHandler()()}},yo),c.createElement(un.Z,null,fn==="header"?c.createElement(Qt.Z,{sx:{transform:Yt.getIsExpanded()?"rotateZ(90deg)":void 0,transition:"transform ".concat(la[200]," ").concat(sa.product.default)}}):void 0,An,fn==="button"?c.createElement(qt.Z,{sx:{transform:Yt.getIsExpanded()?"rotateZ(180deg)":void 0,transition:"transform ".concat(la[200]," ").concat(sa.product.default)}}):void 0))}function Ae(Ge){var An=Ge.children,Yt=Ge.cell,fn=Ge.variant,Br=fn===void 0?"header":fn,yo=c.createElement(Vt.Z,{marginLeft:"1"},An);return c.createElement(Vt.Z,null,Yt.row.getCanExpand()?c.createElement(xe,{row:Yt.row,variant:Br},yo):yo)}var wt={buildHeaderGroups:T,createCell:on,createColumn:P,Expandable:Ae,createColumnHelper:Yn,getExpandedRowModel:or,getSortedRowModel:Tn,getPaginationRowModel:Hr,useReactTable:Je,getCoreRowModel:Ln,flexRender:fo,getFacetedRowModel:jt,getFilteredRowModel:$n,createTable:It,defaultColumnSizing:s,expandRows:qn,flattenBy:p,getFacetedMinMaxValues:jn,getFacetedUniqueValues:Rn,getGroupedRowModel:Nn,isFunction:g,isRowSelected:ht,isSubRowSelected:Ne,makeStateUpdater:h,memo:y,noop:d,orderColumns:z,reSplitAlphaNumeric:Ce,selectRowsFn:Fe,shouldAutoRemoveFilter:ie},kt=c.createContext({}),ut=()=>c.useContext(kt),Ft=["children","columns","data","defaultColumn","enablePagination","enableSearch","enableSort","enableFilter","enableRowSelection","onGlobalFilterChange","onRowSelectionChange","manualFiltering","manualSearching","rowSelection","initialState","enableColumnHeaderSort","getSubRows","sortingFns","expandOnRowClick"];function tn(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function In(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?tn(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):tn(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var rr=wt.useReactTable,Sr=wt.getCoreRowModel,Yr=wt.getPaginationRowModel,Pr=wt.getFacetedRowModel,Mn=wt.getSortedRowModel,sr=wt.getExpandedRowModel,Ar=wt.getFilteredRowModel,vr={},qr=Ge=>{var An=Ge.getValue();return typeof An=="string"||typeof An=="number"?c.createElement(u.Z.Body,{color:"gray.100",m:0},An):An},Dr=Ge=>{var An=Ge.children,Yt=Ge.columns,fn=Ge.data,Br=Ge.defaultColumn,yo=Ge.enablePagination,Jo=Ge.enableSearch,sa=Ge.enableSort,la=Ge.enableFilter,va=Ge.enableRowSelection,Ra=Ge.onGlobalFilterChange,Ya=Ge.onRowSelectionChange,wa=Ge.manualFiltering,xa=Ge.manualSearching,Ds=Ge.rowSelection,ws=Ge.initialState,Di=Ge.enableColumnHeaderSort,ai=Ge.getSubRows,yl=Ge.sortingFns,ml=yl===void 0?vr:yl,Ii=Ge.expandOnRowClick,Xi=i()(Ge,Ft),zi=rr(In(In(In(In({data:fn,columns:Yt,defaultColumn:In({cell:qr},Br),enableGlobalFilter:Jo,getCoreRowModel:Sr(),getPaginationRowModel:yo?Yr():void 0,getFacetedRowModel:Jo||la?Pr():void 0,getFilteredRowModel:Jo||la?Ar():void 0,getSortedRowModel:sa||Di?Mn():void 0,enableSortingRemoval:!1,getSubRows:ai,getExpandedRowModel:ai?sr():void 0,enableRowSelection:va},Ya?{onRowSelectionChange:Ya}:{}),Ra?{onGlobalFilterChange:Ra}:{}),{},{initialState:ws,manualFiltering:xa??wa,sortingFns:ml,autoResetAll:!1},yo?{paginateExpandedRows:!1}:{}),Xi));zi.setOptions(gc=>In(In({},gc),{},{state:Ds?In(In({},gc.state),{},{rowSelection:Ds}):In({},gc.state)}));var Sl=kt.Provider;return c.createElement(Sl,{value:In(In({},zi),{},{enableColumnHeaderSort:Di,expandOnRowClick:Ii})},typeof An=="function"?An({table:zi}):An)};const eo=Dr;var Vo=e(854594),Bn=["cell"];function ar(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function rn(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?ar(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):ar(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var Rt=Ge=>{var An,Yt,fn=Ge.cell,Br=i()(Ge,Bn),yo=wt.flexRender(fn.column.columnDef.cell,fn.getContext());return c.createElement(Vt.Z,xt()({as:"td",px:2,py:4},(An=fn.column.columnDef.meta)===null||An===void 0?void 0:An.bodyCellProps,Br,{sx:rn(rn({textAlign:"left"},(Yt=fn.column.columnDef.meta)===null||Yt===void 0||(Yt=Yt.bodyCellProps)===null||Yt===void 0?void 0:Yt.sx),Br.sx)}),yo)};Rt.displayName="Table.List.Body.Cell";const Qe=Rt;var Ye=["row","renderBodyCell"];function yt(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function Ze(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?yt(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):yt(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var Mt=(0,c.forwardRef)((Ge,An)=>{var Yt=Ge.row,fn=Ge.renderBodyCell,Br=fn===void 0?Qe:fn,yo=i()(Ge,Ye),Jo=ut();if(!Object.keys(Jo).length)throw new Error("Table.List.Body.Row has to be used within <Table>");var sa=Jo.expandOnRowClick,la=(0,Te.F)(),va=la.space,Ra=sa&&Yt.getCanExpand(),Ya=()=>{var wa=parseInt(va[2]);return Yt.depth>0&&(Ra?wa=parseInt(va[2])*(Yt.depth*2):wa=parseInt(va[2])*(Yt.depth*2+1)),wa};return c.createElement(Vt.Z,xt()({key:Yt.id,ref:An,as:"tr",borderBottom:1,borderBottomColor:"gray.800",display:"table-row",onClick:sa&&Yt.getCanExpand()?Yt.getToggleExpandedHandler():void 0},yo,{sx:Ze({cursor:Ra?"pointer":void 0,"&:hover":{backgroundColor:"gray.950"},"&:active":{backgroundColor:"gray.900"},"&>:first-of-type":{paddingLeft:Ya()}},yo.sx)}),Yt.getVisibleCells().map(wa=>c.createElement(Br,{children:wt.flexRender(wa.column.columnDef.cell,wa.getContext()),key:wa.id,cell:wa})))});Mt.displayName="Table.List.Body.Row";const ot=Mt;var et=["renderBodyRow"];function St(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function Ht(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?St(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):St(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var er={[Vo.cn]:{opacity:1},[Vo.d0]:{opacity:1},[Vo.Wj]:{opacity:0},[Vo.Ix]:{opacity:0},[Vo.$r]:{opacity:0}},Mr=Ge=>{var An=Ge.renderBodyRow,Yt=An===void 0?ot:An,fn=i()(Ge,et),Br=ut(),yo=(0,c.useRef)();if(!Object.keys(Br).length)throw new Error("Table.List.Body has to be used within <Table>");var Jo=(0,Te.F)(),sa=Jo.time,la=Jo.easing;return c.createElement(Vt.Z,xt()({as:"tbody"},fn),Br.getRowModel().rows.map(va=>va.depth===0?c.createElement(Yt,{key:va.id,row:va}):c.createElement(Vo.ZP,{key:va.id,appear:!0,in:!0,nodeRef:yo,timeout:parseInt(sa[300]),unmountOnExit:!0},Ra=>c.createElement(Yt,{row:va,sx:Ht(Ht({},er[Ra]),{},{transition:"opacity ".concat(sa[300]," ").concat(la.product.entrance)})}))))};Mr.displayName="Table.List.Body";const mn=Mr;var Un=["footer"];function hr(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function br(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?hr(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):hr(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var io=Ge=>{var An,Yt,fn=Ge.footer,Br=i()(Ge,Un),yo=wt.flexRender(fn.column.columnDef.footer,fn.getContext()),Jo=!fn.isPlaceholder&&(typeof fn.column.columnDef.footer=="string"?c.createElement(u.Z.Label,{color:"gray.300",m:0},yo):yo);return c.createElement(Vt.Z,xt()({as:"td",p:2},(An=fn.column.columnDef.meta)===null||An===void 0?void 0:An.footerCellProps,Br,{sx:br(br({textAlign:"left"},(Yt=fn.column.columnDef.meta)===null||Yt===void 0||(Yt=Yt.footerCellProps)===null||Yt===void 0?void 0:Yt.sx),Br.sx)}),Jo)};io.displayName="Table.List.Footer.Cell";const Kr=io;var xo=["footerGroup","renderFooterCell"],Ho=Ge=>{var An=Ge.footerGroup,Yt=Ge.renderFooterCell,fn=Yt===void 0?Kr:Yt,Br=i()(Ge,xo);return c.createElement(Vt.Z,xt()({key:An.id,as:"tr",borderBottom:1,borderBottomColor:"gray.800"},Br),An.headers.map(yo=>c.createElement(fn,{key:yo.id,footer:yo})))};Ho.displayName="Table.List.Footer.Row";const bo=Ho;var Ea=["renderFooterRow"],Ia=(0,c.forwardRef)((Ge,An)=>{var Yt=Ge.renderFooterRow,fn=Yt===void 0?bo:Yt,Br=i()(Ge,Ea),yo=ut();if(!Object.keys(yo).length)throw new Error("Table.List.Footer has to be used within <Table>");var Jo=()=>yo.getFooterGroups().some(sa=>sa.headers.some(la=>typeof la.column.columnDef.footer<"u"));return Jo()?c.createElement(Vt.Z,xt()({as:"tfoot"},Br,{ref:An}),yo.getFooterGroups().map(sa=>c.createElement(fn,{key:sa.id,footerGroup:sa}))):null});Ia.displayName="Table.List.Footer";const Da=Ia;var Za=e(66232),Xa=e(471184),ba=e(938408),ns=(0,Xa.Z)("svg")(ba.$_),Ja=(0,Xa.Z)("path")(ba.$_),Is=Ge=>{var An=Ge.mainColor,Yt=An===void 0?"gray.300":An,fn=Ge.secondaryColor,Br=fn===void 0?"gray.600":fn;return c.createElement(ns,{color:Yt,fill:"currentColor",height:8,viewBox:"0 0 8 8",width:8,xmlns:"http://www.w3.org/2000/StlyedSVG"},c.createElement(Ja,{d:"M4 0L7.4641 3H0.535898L4 0Z",fill:"currentColor"}),c.createElement(Ja,{color:Br,d:"M4 8L0.535899 5L7.4641 5L4 8Z",fill:"currentColor"}))};const Vr=Is;var Qr=Ge=>{var An=Ge.mainColor,Yt=An===void 0?"gray.300":An,fn=Ge.secondaryColor,Br=fn===void 0?"gray.600":fn;return c.createElement(ns,{color:Yt,fill:"currentColor",height:8,viewBox:"0 0 8 8",width:8,xmlns:"http://www.w3.org/2000/StlyedSVG"},c.createElement(Ja,{color:Br,d:"M4 0L7.4641 3H0.535898L4 0Z",fill:"currentColor"}),c.createElement(Ja,{d:"M4 8L0.535899 5L7.4641 5L4 8Z",fill:"currentColor"}))};const To=Qr;var xr=Ge=>{var An=Ge.mainColor,Yt=An===void 0?"gray.300":An;return c.createElement(ns,{color:Yt,fill:"currentColor",height:8,viewBox:"0 0 8 8",width:8,xmlns:"http://www.w3.org/2000/StlyedSVG"},c.createElement(Ja,{d:"M4 0L7.4641 3H0.535898L4 0Z",fill:"currentColor"}),c.createElement(Ja,{d:"M4 8L0.535899 5L7.4641 5L4 8Z",fill:"currentColor"}))};const uo=xr;var Mo=["header"];function go(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function ea(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?go(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):go(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var ha=Ge=>{var An,Yt,fn=Ge.header,Br=i()(Ge,Mo),yo=ut(),Jo=yo.enableColumnHeaderSort,sa=wt.flexRender(fn.column.columnDef.header,fn.getContext()),la=Jo&&fn.column.getCanSort(),va=fn.column.getIsSorted(),Ra=fn.column.getToggleSortingHandler(),Ya=la?{"aria-sort":va==="desc"?"descending":"ascending"}:{},wa=!fn.isPlaceholder&&(typeof fn.column.columnDef.header=="string"?c.createElement(u.Z.Label,{color:va?"gray.100":"gray.300",css:{cursor:la?"pointer":"unset",userSelect:la?"none":void 0},m:0},sa):sa);return c.createElement(Vt.Z,xt()({as:"th"},Ya,{p:2},(An=fn.column.columnDef.meta)===null||An===void 0?void 0:An.headCellProps,Br,{sx:ea(ea({textAlign:"left"},(Yt=fn.column.columnDef.meta)===null||Yt===void 0||(Yt=Yt.headCellProps)===null||Yt===void 0?void 0:Yt.sx),Br.sx)}),la?c.createElement(un.Z,{alignItems:"center",css:{cursor:"pointer",width:"fit-content"},onClick:Ra,onKeyDown:xa=>{(Za.Z.isSpace(xa)||Za.Z.isEnter(xa))&&(xa.preventDefault(),Ra==null||Ra(xa))},role:"button",sx:{"&:focus":{outline:2,outlineColor:"currentColor",outlineOffset:2},"&:focus:not(:focus-visible)":{outline:"none"}},tabIndex:la?"0":null},wa,c.createElement(un.Z,{alignItems:"center",ml:1},va?{asc:c.createElement(Vr,null),desc:c.createElement(To,null)}[va]:c.createElement(uo,null))):wa)};ha.displayName="Table.List.Head.Cell";const yr=ha;var Lr=["headerGroup","renderHeadCell"],ao=Ge=>{var An=Ge.headerGroup,Yt=Ge.renderHeadCell,fn=Yt===void 0?yr:Yt,Br=i()(Ge,Lr);return c.createElement(Vt.Z,xt()({key:An.id,as:"tr",borderBottom:1,borderBottomColor:"gray.800"},Br),An.headers.map(yo=>c.createElement(fn,{key:yo.id,header:yo})))};ao.displayName="Table.List.Head.Row";const ho=ao;var Lo=["renderHeadRow"],Yo=(0,c.forwardRef)((Ge,An)=>{var Yt=Ge.renderHeadRow,fn=Yt===void 0?ho:Yt,Br=i()(Ge,Lo),yo=ut();if(!Object.keys(yo).length)throw new Error("Table.List.Head has to be used within <Table>");return c.createElement(Vt.Z,xt()({as:"thead"},Br,{ref:An}),yo.getHeaderGroups().map(Jo=>c.createElement(fn,{key:Jo.id,headerGroup:Jo})))});Yo.displayName="Table.List.Head";const jo=Yo;var Xo=e(711900),Ua=e(848201),ds=e(707039),us=["children","headerHeight"],ys=Ge=>{var An=Ge.children,Yt=Ge.headerHeight,fn=i()(Ge,us);return c.createElement(Xo.Z,xt()({listElements:[],renderNextButton:Br=>c.createElement(Xo.Z.NextButton,xt()({},Br,{alignItems:"unset",containerProps:{height:"100%",right:"-1px"},icon:Yt?c.createElement(un.Z,{alignItems:"center",height:Yt*.95,justifyContent:"flex-end",position:"absolute",right:1,top:0,width:"24px"},c.createElement(Ua.Z,null)):null,mt:0})),renderPreviousButton:Br=>c.createElement(Xo.Z.PreviousButton,xt()({},Br,{alignItems:"unset",containerProps:{height:"100%",left:"-1px"},icon:Yt?c.createElement(un.Z,{alignItems:"center",height:Yt&&Yt*.95,justifyContent:"flex-start",left:1,position:"absolute",top:0,width:"24px"},c.createElement(ds.Z,null)):null,mt:0}))},fn),An)};ys.displayName="Table.OverflowContainer";const Ys=ys;var Gs=e(680180),xs=e.n(Gs),Ai=["children","containerProps","enableOverflow","sx"];function Pi(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function ei(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?Pi(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):Pi(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var hi=Ge=>{var An=Ge.children,Yt=Ge.containerProps,fn=Ge.enableOverflow,Br=fn===void 0?!0:fn,yo=Ge.sx,Jo=yo===void 0?{}:yo,sa=i()(Ge,Ai),la=c.useState(0),va=xs()(la,2),Ra=va[0],Ya=va[1],wa=Br&&!An?Ys:Vt.Z,xa=Br&&!An?{headerHeight:Ra,containerProps:ei({onFocus:()=>{}},Yt)}:ei({width:"100%"},Yt);return c.createElement(wa,xa,c.createElement(Vt.Z,xt()({as:"table",display:"table",width:"100%"},sa,{sx:ei({borderCollapse:"collapse"},Jo)}),An??c.createElement(c.Fragment,null,c.createElement(jo,{ref:Ds=>{Ds&&Br&&Ya(Ds.clientHeight)}}),c.createElement(mn,null),c.createElement(Da,null))))};hi.displayName="Table.List";const Ms=Object.assign(hi,{Body:Object.assign(mn,{Cell:Qe,Row:ot}),Head:Object.assign(jo,{Cell:yr,Row:ho}),Footer:Object.assign(Da,{Cell:Kr,Row:bo}),OverflowContainer:Ys});var bs=e(578851),Hs=e(838270),Os=e(600994),Vs=e(305170),_s=e(579531),fs=e(522129),Ss=e(201117),hs=["children"],li=["children","renderHeader","onBlur"],Ni=(0,_s.q)((Ge,An)=>{var Yt=Ge.children,fn=i()(Ge,hs);return c.createElement(Ss.Z.Dropdown.Overlay,xt()({ref:An},fn,{focusLockIsDisabled:!1,placement:"bottom-start",style:{minWidth:"fit-content"}}),Yt)});Ni.displayName="Table.Sort.DropdownDesktop";var Ji=(0,_s.q)((Ge,An)=>{var Yt=Ge.children,fn=Ge.renderHeader,Br=Ge.onBlur,yo=i()(Ge,li),Jo=(0,fs.Q)(),sa=Jo.t;return c.createElement(Ss.Z.Dropdown.Sheet,xt()({ref:An,onBlur:Br,renderHeader:fn||(()=>c.createElement(un.Z,{alignItems:"center",height:"sizes.300",justifyContent:"space-between",px:3},c.createElement(Vt.Z,{width:"33%"}),c.createElement(u.Z.Body,{fontWeight:"medium",m:0,textAlign:"center",width:"33%"},sa("Sort By",null,{project:"rosetta-compositions"})),c.createElement(Os.Z.Tertiary,{css:{justifyContent:"flex-end"},onClick:Br,size:"small",width:"33%"},sa("Done",null,{project:"rosetta-compositions"}))))},yo,{zIndex:1}),Yt)});Ji.displayName="Table.Sort.DropdownMobile";var wi=(0,_s.q)((Ge,An)=>{var Yt=(0,fs.Q)(),fn=Yt.t;return c.createElement(Ss.Z.Dropdown,xt()({ref:An,"aria-label":fn("Sort by options",null,{project:"rosetta-compositions"})},Ge,{render:{default:Ni,"mobile-0":Ji,"mobile-100":Ji}}))});wi.displayName="Sort.Dropdown";function vi(Ge,An){return An.getState().sorting.map(Yt=>{var fn=Yt.id,Br=Yt.desc;return Ge.find(yo=>yo.id===fn&&yo.desc===Br)})}function sl(Ge){var An=c.useMemo(()=>Ge.reduce((Yt,fn)=>(fn.ascLabel&&Yt.push({id:fn.id,label:fn.ascLabel,desc:!1}),fn.descLabel&&Yt.push({id:fn.id,label:fn.descLabel,desc:!0}),Yt),[]),[Ge]);return An}var Zi=e(885630),Zs=()=>{var Ge=(0,Te.F)(),An=Ge.breakpoints,Yt=(0,Zi.i)(An),fn=Yt.platform;return fn==="mobile"},Bs=["disabled","innerRef","label","onClick","sortDirection"];function ti(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function gi(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?ti(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):ti(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var yi=Ge=>{var An=Ge.disabled,Yt=Ge.label,fn=Ge.sortDirection,Br=Zs();return c.createElement(un.Z,{alignItems:"center"},fn==="up"?c.createElement(bs.Z,{color:"inherit",sx:{mr:Br?0:1}}):c.createElement(Hs.Z,{color:"inherit",sx:{mr:Br?0:1}}),!Br&&c.createElement(u.Z.Body,{color:An?"fg.disabled":"inherit",fontSize:3,fontWeight:"medium",sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"keep-all"}},Yt))},ki=Ge=>{var An=Ge.disabled,Yt=Ge.innerRef,fn=Ge.label,Br=Ge.onClick,yo=Ge.sortDirection,Jo=i()(Ge,Bs),sa=(0,Te.F)(),la=sa.colors,va=(0,fs.Q)(),Ra=va.t,Ya=Ra("Sort by",null,{project:"rosetta-compositions"}),wa=fn?Ra("Sort by {label}",{label:fn},{project:"rosetta-compositions"}):Ya;return c.createElement(Os.Z.Base,xt()({ref:Yt,"aria-label":wa,disabled:An,onClick:Br,size:"medium",sx:{overflow:"visible","&:focus":{boxShadow:"0px 0px 0px 2px ".concat(la.gray[100])},"&:hover":{color:"fg.muted"},textTransform:"unset",letterSpacing:"unset",wordBreak:"keep-all"}},Jo),c.createElement(yi,{disabled:An,label:fn||Ya,sortDirection:yo!=null&&yo.desc?"down":"up"}))},bi=(Ge,An)=>{var Yt=c.forwardRef((fn,Br)=>{var yo=fn.isOpen,Jo=fn.setIsOpen;return c.createElement(ki,{disabled:Ge,innerRef:Br,label:An==null?void 0:An.label,onClick:()=>Jo(!yo),sortDirection:An})});return Yt.displayName="Table.Sort.DropdownDisplay",Yt};function nl(Ge){var An=Ge.disabled,Yt=An===void 0?!1:An,fn=Ge.sortingOptions,Br=ut();if(!Object.keys(Br).length)throw new Error("Table.Sort has to be used within <Table>");var yo="sqs-".concat((0,c.useRef)((0,Vs.Z)()).current),Jo=sl(fn),sa=c.useState(vi(Jo,Br)[0]),la=xs()(sa,2),va=la[0],Ra=la[1];function Ya(ws){if(!Object.keys(Br).length)throw new Error("Table.Sort has to be used within <Table>");Ra(ws),Br.setSorting(ws?[{id:String(ws.id),desc:ws.desc}]:[])}if(!Br.options.getSortedRowModel){var wa="You are using the Table.Sort component on a table with sorting disabled.\nPlease pass `enableSort` to the `<Table />` component";console.error(wa)}if(fn.length===1&&Br){var xa=va||Jo[0],Ds=xa.desc?fn[0].descLabel:fn[0].ascLabel;return c.createElement(ki,{disabled:Yt,label:Ds,onClick:()=>{Ya(gi(gi({},Jo[0]),{},{desc:!xa.desc}))},sortDirection:xa})}return c.createElement(Ss.Z.Base,{"aria-controls":yo,exteriorAccessory:null,id:yo,interiorAccessory:null,onChange:Ya,placement:"bottom-end",py:0,renderDisplay:bi(Yt,va),renderDropdown:wi,value:va},Jo.map(ws=>c.createElement(Ss.Z.Option,{key:"".concat(String(ws.id),"-").concat(ws.desc),value:ws},c.createElement(u.Z.Body,{m:0},ws.label))))}const ta=nl;var ke=["options"],Jt=(0,_s.q)((Ge,An)=>{var Yt=(0,fs.Q)(),fn=Yt.t;return c.createElement(Ss.Z.Display,xt()({},Ge,{ref:An,"aria-label":fn("{perPage} per page",{perPage:Ge.value},{project:"rosetta-compositions"}),label:fn("{perPage} per page",{perPage:Ge.value},{project:"rosetta-compositions"})}))});Jt.displayName="PageCountDropdownDisplay";var Fn=[10,20,50];function mr(Ge){var An=Ge.options,Yt=i()(Ge,ke),fn=ut(),Br=(0,fs.Q)(),yo=Br.t,Jo=Br.formatDecimal;if(!fn||!Object.keys(fn).length)throw new Error("Table.Pagination.PageCount has to be used within <Table>");var sa=fn==null?void 0:fn.getState().pagination,la=An?An[0]:sa.pageSize,va=c.useState(la),Ra=xs()(va,2),Ya=Ra[0],wa=Ra[1],xa=An??Fn;if(!fn.options.getPaginationRowModel){var Ds="You are using the table pagination component on a table with pagination disabled.\nPlease pass `enablePagination` to the `<Table />` component";console.error(Ds)}function ws(Di){wa(Di),fn==null||fn.setPageSize(Di)}return c.createElement(Ss.Z.Base,xt()({onChange:ws,renderDisplay:Jt,renderDropdown:Ss.Z.Dropdown,value:Ya},Yt),xa.map(Di=>c.createElement(Ss.Z.Option,{key:Di,value:Di},yo("{numberOfRows} rows",{numberOfRows:Jo(Di)},{project:"rosetta-compositions"}))))}const Tr=mr;var Oo=e(210679),Uo=e(272578);function gt(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function it(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?gt(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):gt(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}function Lt(Ge){var An=Ge.children,Yt=ut(),fn=(0,fs.Q)(),Br=fn.t;if(!Yt)throw new Error("Table.Pagination has to be used within <Table>");var yo=Yt.getState().pagination,Jo=c.useState(!1),sa=xs()(Jo,2),la=sa[0],va=sa[1],Ra=c.useState((yo.pageIndex+1).toString()),Ya=xs()(Ra,2),wa=Ya[0],xa=Ya[1],Ds=c.useRef(null),ws=c.useState(null),Di=xs()(ws,2),ai=Di[0],yl=Di[1],ml=(0,Uo.Z)(ai),Ii=(0,Te.F)(),Xi=Ii.borders;return c.useEffect(()=>{if(la){var zi;xa((yo.pageIndex+1).toString());var Sl=(zi=Ds.current)===null||zi===void 0?void 0:zi.querySelector("label");Sl&&(Sl.style.fontWeight="500",Sl.focus())}},[la,yo]),c.createElement(Vt.Z,{position:"relative",sx:it({},!la&&{outline:ml?Xi[2]:Xi[1],outlineColor:ml?"border.strong":"border.default"})},c.createElement(Gt.Z,{ref:yl,"aria-describedby":Br("Click to open text field",null,{project:"rosetta-compositions"}),"aria-hidden":la,disabled:la,onClick:()=>{va(!la)},sx:it({},la&&{opacity:0,pointerEvents:"none",tabIndex:-1})},An),la&&c.createElement(Oo.Z,{ref:Ds,appearance:"cell",inputProps:{fontWeight:"medium",value:wa,type:"number",onChange:xa,onBlur:()=>{va(!1)},onKeyDown:zi=>{Za.Z.isEnter(zi)?(Number.isInteger(+wa)&&Yt.setPageIndex(Math.min(Yt.getPageCount()-1,Math.max(0,Number.parseInt(wa)-1))),va(!1)):Za.Z.isEsc(zi)&&(zi.preventDefault(),va(!1))}},interiorPost:"/ ".concat(Yt.getPageCount()),label:Br("Page",null,{project:"rosetta-compositions"}),left:0,marginLeft:"auto",marginRight:"auto",position:"absolute",top:0}))}const $t=Lt;function _n(Ge){var An=Ge.enableJump,Yt=An===void 0?!1:An,fn=ut(),Br=(0,fs.Q)(),yo=Br.t,Jo=Br.formatDecimal;if(!Object.keys(fn).length)throw new Error("Table.Pagination.PageLabel has to be used within <Table>");var sa=fn.getState().pagination,la=c.createElement(u.Z.Body,{alignItems:"center",fontWeight:"book",mx:3,my:2,sx:{fontVariantNumeric:"tabular-nums"}},c.createElement(u.Z.Body,{as:"span",fontWeight:"medium"},yo("Page {currentPage}",{currentPage:Jo(sa.pageIndex+1)},{project:"rosetta-compositions"}))," ","/ ",fn.getPageCount());return Yt?c.createElement($t,null,la):la}const dn=_n;function Jn(Ge){var An=Ge.enableJump,Yt=An===void 0?!1:An,fn=ut(),Br=(0,fs.Q)(),yo=Br.t,Jo=Br.formatDecimal;if(!Object.keys(fn).length)throw new Error("Table.Pagination.ItemRangeLabel has to be used within <Table>");var sa=fn.getState().pagination,la=sa.pageIndex*sa.pageSize+1,va=(sa.pageIndex+1)*sa.pageSize,Ra=fn.getRowCount(),Ya=Zs(),wa=Ya?yo(" of {itemsAmount}",{itemsAmount:Jo(Ra)},{project:"rosetta-compositions"}):yo(" of {itemsAmount} items",{itemsAmount:Jo(Ra)},{project:"rosetta-compositions"}),xa=c.createElement(u.Z.Body,{alignItems:"center",fontWeight:"book",mx:3,my:2,sx:{whiteSpace:"pre-wrap",fontVariantNumeric:"tabular-nums"}},c.createElement(u.Z.Body,{as:"span",fontWeight:"medium"},yo("{firstNum}-{lastNum}",{firstNum:Jo(Math.min(Ra,la)),lastNum:Jo(Math.min(Ra,va))},{project:"rosetta-compositions"})),wa);return Yt?c.createElement($t,null,xa):xa}const Hn=Jn;function jr(Ge){var An=Ge.children,Yt=ut(),fn=(0,fs.Q)(),Br=fn.t;if(!Yt)throw new Error("Table.Pagination has to be used within <Table>");if(!Yt.options.getPaginationRowModel){var yo="You are using the table pagination component on a table with pagination disabled.\nPlease pass `enablePagination` to the `<Table />` component";console.error(yo)}return c.createElement(un.Z,{alignItems:"center",as:"nav",height:"sizes.350",justifyContent:"normal"},c.createElement(Gt.Z.Element.Icon,{"aria-label":Br("Previous page",null,{project:"rosetta-compositions"}),disabled:!Yt.getCanPreviousPage(),mx:1,onClick:()=>Yt.previousPage()},c.createElement(ds.Z,{color:Yt.getCanPreviousPage()?"fg.default":"fg.disabled"})),An,c.createElement(Gt.Z.Element.Icon,{"aria-label":Br("Next page",null,{project:"rosetta-compositions"}),disabled:!Yt.getCanNextPage(),mx:1,onClick:()=>Yt.nextPage()},c.createElement(Ua.Z,{color:Yt.getCanNextPage()?"fg.default":"fg.disabled"})))}const wo=Object.assign(jr,{PageCount:Tr,PageLabel:dn,ItemRangeLabel:Hn});function ko(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function Sa(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?ko(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):ko(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}function Na(Ge){var An=ut(),Yt=(0,fs.Q)(),fn=Yt.t,Br=Yt.formatDecimal;if(!Object.keys(An).length)throw new Error("Table.RecordCount has to be used within <Table>");var yo=An.getState().pagination,Jo=yo.pageIndex*yo.pageSize+1,sa=(yo.pageIndex+1)*yo.pageSize,la=An==null?void 0:An.getRowCount();return c.createElement(u.Z.Caption,xt()({as:"p",role:"status"},Ge,{sx:Sa({overflow:"hidden",whiteSpace:"nowrap"},Ge.sx)}),fn("Showing {firstNum}-{lastNum} out of {itemsAmount} records",{firstNum:Br(Math.min(la,Jo)),lastNum:Br(Math.min(la,sa)),itemsAmount:Br(la)},{project:"rosetta-compositions"}))}const qa=Na;var ms=e(803366),Us=e.n(ms),$i=e(971071);function Mi(Ge){var An=Object.assign({},(Us()(Ge),Ge)),Yt=ut(),fn=(0,fs.Q)(),Br=fn.t;if(!Object.keys(Yt).length)throw new Error("Table.RecordSearch has to be used within <Table>");var yo=Yt.getState().globalFilter,Jo=typeof yo=="string"&&yo.length>0;return Jo?c.createElement(u.Z.Caption,xt()({as:"p",display:"inline-flex",gap:"3px",role:"status"},An),c.createElement($i.Z,{color:"fg.muted"}),Br("Matching ({searchTerm})",{searchTerm:yo},{project:"rosetta-compositions",notes:"Matching a search term"})):null}const si=Mi;var rl=["children","sx"],El=["children","sx"],Ui=["children","sx"],il=["children","showBottomBorder","showTopBorder","sx"];function fl(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function oi(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?fl(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):fl(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var Nl=Ge=>{var An=Ge.children,Yt=Ge.sx,fn=i()(Ge,rl);return c.createElement(un.Z,xt()({sx:oi({alignItems:"center",gap:2},Yt)},fn),An)},xl=Ge=>{var An=Ge.children,Yt=Ge.sx,fn=i()(Ge,El);return c.createElement(Nl,xt()({justifyContent:"flex-start",sx:oi({ml:0,mr:"auto"},Yt)},fn),An)},Ic=Ge=>{var An=Ge.children,Yt=Ge.sx,fn=i()(Ge,Ui);return c.createElement(Nl,xt()({justifyContent:"flex-end",sx:oi({ml:"auto",mr:"0"},Yt)},fn),An)},Kl=Ge=>{var An=Ge.children,Yt=Ge.showBottomBorder,fn=Yt===void 0?!1:Yt,Br=Ge.showTopBorder,yo=Br===void 0?!1:Br,Jo=Ge.sx,sa=i()(Ge,il),la=(0,Te.F)(),va=la.breakpoints,Ra=(0,Zi.i)(va).platform==="desktop";return c.createElement(un.Z,xt()({alignItems:"center",borderBottom:fn?1:0,borderBottomColor:"border.default",borderTop:yo?1:0,borderTopColor:"border.default",gap:"2",justifyContent:Ra?"space-between":"stretch",maxHeight:"sizes.450",sx:oi({width:"100%"},Jo)},sa),An)},Jl=e(488609),Vi=()=>c.createElement(Jl.Z.Vertical,{height:"sizes.150"});const _c=Object.assign(Kl,{Slot:Nl,Left:xl,Right:Ic,Divider:Vi});var mc=e(556353),zl=e(154642),$l=["disabled","isDisabled","placeholder","sx"];function ln(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function sn(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?ln(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):ln(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var zn=()=>{var Ge=ut(),An=(0,fs.Q)(),Yt=An.t,fn=Yt("Type to search",null,{project:"rosetta-compositions"}),Br=Ge.getState().globalFilter;if(!Br)return fn;var yo=Ge.getPreFilteredRowModel().rows.length,Jo=Ge.getFilteredRowModel().rows.length;return Yt("Search: showing {matchingRows} out of {totalRows} records matching: {searchTerm}.",{matchingRows:Jo.toString(),searchTerm:Br,totalRows:yo.toString()},{project:"rosetta-compositions"})},Er=Ge=>{var An=Ge.disabled,Yt=Ge.isDisabled,fn=Yt===void 0?!1:Yt,Br=Ge.placeholder,yo=Ge.sx,Jo=i()(Ge,$l),sa=(0,fs.Q)(),la=sa.t;Br||(Br=la("Search",null,{project:"rosetta-compositions"}));var va=c.useRef(null),Ra=ut(),Ya=(0,Te.F)(),wa=Ya.breakpoints,xa=(0,Zi.i)(wa).platform==="mobile";if(!Object.keys(Ra).length)throw new Error("Table.Search has to be used within <Table>");if(!Ra.options.enableGlobalFilter){var Ds="You are using the Table.Search component on a table with search disabled.\nPlease pass `enableSearch` to the `<Table />` component";console.error(Ds)}var ws=Ra.resetPageIndex,Di=Ra.setGlobalFilter,ai=Ra.getState().globalFilter||"",yl=(0,c.useState)(ai),ml=xs()(yl,2),Ii=ml[0],Xi=ml[1],zi=(0,mc.Z)(Ii,500,{maxWait:1e3}),Sl=xs()(zi,1),gc=Sl[0];return Ra.options.onGlobalFilterChange||Ra.setOptions(Xl=>sn(sn({},Xl),{},{onGlobalFilterChange:Xi})),(0,c.useEffect)(()=>{Di(gc),ws()},[gc,ws,Di]),c.createElement(zl.Z.Input,xt()({"aria-label":zn(),inputRef:va,inputValue:Ii,isDisabled:An||fn,onChange:Xi,onInput:Xi,onKeyDown:Xl=>{Za.Z.isEnter(Xl)&&(Xl.preventDefault(),Xl.stopPropagation(),Xi(Ii)),Za.Z.isEsc(Xl)&&Xl.stopPropagation()},placeholder:Br,sx:sn({overflow:"hidden",paddingX:2,textOverflow:"ellipsis",whiteSpace:"nowrap",wordBreak:"keep-all",width:xa?"auto":"100%",zIndex:1,"&:focus-within":{outline:"2px solid",outlineColor:"border.strong"}},yo),textInputProps:{width:"100%"},value:Ii},Jo))};const zr=Er;var Ao=e(997803),Zo=e(8301),ia=["position","actions","sx"];function So(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function Ha(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?So(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):So(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}function is(Ge){return Ge.element!==void 0}function as(Ge){var An=Ge.position,Yt=An===void 0?"inline":An,fn=Ge.actions,Br=Ge.sx,yo=i()(Ge,ia),Jo=(0,Te.F)(),sa=Jo.time,la=Jo.easing,va=ut(),Ra=c.useMemo(()=>fn.map(wa=>is(wa)?Ha(Ha({},wa),{},{element:wa.element(va)}):Ha(Ha({},wa),{},{onClick:()=>wa.onClick(va)})),[fn,va]),Ya=va.getSelectedRowModel().rows.length||va.getIsSomeRowsSelected();return c.createElement(Ao.Z,null,wa=>c.createElement(Vt.Z,{height:Yt==="inline"&&Ya?"auto":0,sx:{pointerEvents:Ya?"auto":"none",position:"sticky",top:0,transitionProperty:"height",transitionDuration:sa[200],transitionTimingFunction:Ya?la.product.entrance:la.product.exit},zIndex:wa},c.createElement(Vt.Z,{backgroundColor:"bg.base",boxShadow:Ya?300:0,floating:"hidden",position:Yt==="inline"?"sticky":"absolute",sx:Ha({bottom:0,transform:Ya?"translateY(0px)":"translateY(-100%)",transitionProperty:"box-shadow, visibility, opacity, transform",transitionDuration:sa[200],transitionTimingFunction:Ya?la.product.entrance:la.product.exit,opacity:Ya?1:0,visibility:Ya?"visible":"hidden",clipPath:"inset(0px 0px -20px 0px)"},Br),width:"100%"},c.createElement(Zo.Z,xt()({actions:Ra,itemSelectedNumber:va.getSelectedRowModel().rows.length,maxItemsNumber:va.getIsAllRowsSelected()?va.getSelectedRowModel().rows.length:Number.MAX_SAFE_INTEGER,onDeselectItems:()=>va.toggleAllRowsSelected(!1),onSelectAllItems:()=>va.toggleAllRowsSelected(!0)},yo)))))}const es=as;var Qs=e(750384),Rs=e(983515),rs=["label"];function Cs(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function Fs(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?Cs(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):Cs(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var Ks=c.forwardRef((Ge,An)=>{var Yt=Ge.label,fn=i()(Ge,rs),Br=ut(),yo=(0,fs.Q)(),Jo=yo.t,sa=Zs(),la=(0,Te.F)(),va=la.colors;if(!Object.keys(Br).length)throw new Error("Table.Filter has to be used within <Table>");if(!Br.options.getFacetedRowModel||!Br.options.getFilteredRowModel){var Ra="You are using the Table.Filter component on a table with filter disabled.\nPlease pass `enableFilter` to the `<Table />` component";console.error(Ra)}var Ya=Br.getState().columnFilters,wa=Ya==null?void 0:Ya.some(xa=>xa.value&&Array.isArray(xa.value)&&xa.value.length>0);return c.createElement(Os.Z.Base,xt()({ref:An,"aria-label":Yt??Jo("Open filter",null,{project:"rosetta-compositions"}),fontSize:3,size:"medium"},fn,{sx:Fs({"&:focus":{boxShadow:"0px 0px 0px 2px ".concat(va.gray[100])},"&:hover":{color:"fg.muted"},overflow:"visible",textTransform:"unset",letterSpacing:"unset"},fn.sx)}),c.createElement(un.Z,{alignItems:"center",mr:sa?0:1,width:wa?"32px":"22px"},c.createElement(Qs.Z,{color:"inherit"}),wa&&c.createElement(Rs.Z,{sx:{color:"fg.accent",left:"16px",position:"absolute",top:"4px"}})),Yt??(!sa&&c.createElement(u.Z.Body,{color:"inherit",fontSize:3,fontWeight:"medium",wordBreak:"keep-all"},Jo("Filter",null,{project:"rosetta-compositions"}))))});Ks.displayName="Filter";var Ls=e(486238),Js=e(193279),Ts=["children","containerProps","listElements"];function zs(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function Bi(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?zs(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):zs(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var qs=Ge=>{var An=Ge.children,Yt=Ge.containerProps,fn=Ge.listElements,Br=fn===void 0?[]:fn,yo=i()(Ge,Ts),Jo=c.useState(!1),sa=xs()(Jo,2),la=sa[0],va=sa[1];return c.createElement(Xo.Z,xt()({containerProps:Bi({onMouseEnter:()=>va(!0),onMouseLeave:()=>va(!1),display:"inline-grid",height:"fit-content",maxWidth:"100%"},Yt),listElements:Br,renderNextButton:Ra=>c.createElement(Xo.Z.NextButton,xt()({},Ra,!la&&{icon:null},{containerProps:{right:-2},mt:0})),renderPreviousButton:Ra=>c.createElement(Xo.Z.PreviousButton,xt()({},Ra,!la&&{icon:null},{containerProps:{left:-2},mt:0}))},yo),An)};qs.displayName="Filter.Bar.Overflow";function Ti(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function ui(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?Ti(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):Ti(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var qi=Ge=>{var An=Ge.enableOverflow,Yt=An===void 0?!0:An,fn=Ge.containerProps,Br=Ge.activeSavedView,yo=Ge.hideSavedViews,Jo=Ge.getLabel,sa=ut(),la=(0,fs.Q)(),va=la.t;if(!Object.keys(sa).length)throw new Error("Table.Filter.Bar has to be used within <Table>");var Ra=[],Ya=Yt?qs:Vt.Z,wa=sa.getAllColumns().some(ws=>{var Di=ws.getFilterValue();return Array.isArray(Di)&&Di.length||!!Di}),xa=(ws,Di)=>Br==null?void 0:Br.filters.some(ai=>ai.id===ws&&Array.isArray(ai.value)&&ai.value.includes(Di)),Ds=()=>{Br==null||Br.filters.forEach(ws=>{var Di;(Di=sa.getColumn(ws.id))===null||Di===void 0||Di.setFilterValue(!1)})};return wa?c.createElement(Ya,xt()({},Yt?{listElements:Ra,containerProps:fn}:ui({},fn),{sx:ui({whiteSpace:"nowrap"},fn==null?void 0:fn.sx)}),Br&&c.createElement(Ls.Z.Container,{key:"saved-view-".concat(Br.name),minWidth:"unset",mr:2,status:"info"},c.createElement(un.Z,{alignItems:"center"},c.createElement(Js.Z,{color:"blue.300",role:"img"}),c.createElement(Ls.Z.Label,{ml:1,sx:{whiteSpace:"nowrap",wordBreak:"keep-all"}},va("Saved \u2022 {filterGroup}",{filterGroup:Br.name},{project:"rosetta-compositions"})),c.createElement(Ls.Z.CloseButton,{"aria-label":va("close {filterGroup}",{filterGroup:Br.name},{project:"rosetta-compositions"}),onClick:Ds}))),sa.getAllColumns().map(ws=>{var Di=ws.getFilterValue();return Di?(Array.isArray(Di)?Di:[Di]).map((ai,yl,ml)=>{var Ii;return!yo&&!Br&&!xa(ws.id,ai)&&c.createElement(Ls.Z.Container,{key:"active-filter-".concat(yl),ref:Xi=>{Xi&&(Ra[yl]=Xi)},minWidth:"unset",mr:2,my:1},c.createElement(un.Z,{alignItems:"center"},c.createElement(Ls.Z.Label,{sx:{whiteSpace:"nowrap",wordBreak:"keep-all"}},(Ii=Jo==null?void 0:Jo({column:ws,filterValue:ai}))!==null&&Ii!==void 0?Ii:va("{filterLabel} \u2022 {filterValue}",{filterLabel:ws.id,filterValue:ai},{project:"rosetta-compositions"})),c.createElement(Ls.Z.CloseButton,{"aria-label":va("Remove filter",null,{project:"rosetta-compositions"}),onClick:()=>{var Xi;(Xi=sa.getColumn(ws.id))===null||Xi===void 0||Xi.setFilterValue(ml.filter(zi=>ai!==zi))}})))}):null})):null};qi.displayName="Filter.Bar";var Ko=["label","onClick"];function Ur(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function aa(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?Ur(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):Ur(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var ca=c.forwardRef((Ge,An)=>{var Yt=Ge.label,fn=Ge.onClick,Br=i()(Ge,Ko),yo=ut(),Jo=(0,fs.Q)(),sa=Jo.t;if(!Object.keys(yo).length)throw new Error("Table.Filter.Reset has to be used within <Table>");var la=yo.getAllColumns().some(va=>{var Ra,Ya=va.getFilterValue();return(Ra=Array.isArray(Ya)&&Ya.length)!==null&&Ra!==void 0?Ra:Ya});return la?c.createElement(Os.Z.Base,xt()({ref:An,onClick:va=>{yo.resetColumnFilters(),fn==null||fn(va)}},Br,{sx:aa({"&:hover":{color:"fg.muted"},overflow:"visible",textTransform:"unset",letterSpacing:"unset"},Br.sx)}),c.createElement(u.Z.Body,{color:"inherit",fontSize:3,fontWeight:"medium",wordBreak:"keep-all"},Yt??sa("Reset",null,{project:"rosetta-compositions"}))):null});ca.displayName="Filter.Reset";var As=e(249443),Ri=["label","onClick"];function Ei(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function pi(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?Ei(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):Ei(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var Gi=c.forwardRef((Ge,An)=>{var Yt=Ge.label,fn=Ge.onClick,Br=i()(Ge,Ri),yo=ut(),Jo=(0,fs.Q)(),sa=Jo.t;if(!Object.keys(yo).length)throw new Error("Table.Filter.Save has to be used within <Table>");var la=Zs(),va=yo.getAllColumns().some(Ra=>{var Ya,wa=Ra.getFilterValue();return(Ya=Array.isArray(wa)&&wa.length)!==null&&Ya!==void 0?Ya:wa});return va?c.createElement(Os.Z.Base,xt()({ref:An,onClick:Ra=>{fn==null||fn(Ra)}},Br,{sx:pi({"&:hover":{color:"fg.muted"},overflow:"visible",textTransform:"unset",letterSpacing:"unset"},Br.sx)}),c.createElement(un.Z,{alignItems:"center"},c.createElement(As.Z,{css:{alignSelf:"center",color:"inherit",mr:la?0:1}}),c.createElement(u.Z.Body,{color:"inherit",fontSize:3,fontWeight:"medium",sx:{whiteSpace:"nowrap",wordBreak:"keep-all"}},Yt??(!la&&sa("Save View",null,{project:"rosetta-compositions"}))))):null});Gi.displayName="Filter.Save";const Eo=Object.assign(Ks,{Bar:qi,Reset:ca,Save:Gi,BarOverflow:qs});var _l=["cell"],Al=Ge=>{var An=Ge.cell,Yt=i()(Ge,_l);if(An){var fn=wt.flexRender(An.column.columnDef.cell,An.getContext());return c.createElement(Vt.Z,Yt,typeof An.column.columnDef.cell=="string"?c.createElement(u.Z.Body,{color:"gray.100",m:0},fn):fn)}return null};Al.displayName="Table.Grid.Record.Cell";const Pl=Al;var Wi=["children","record"];function Mc(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function Fc(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?Mc(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):Mc(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var Ou=Ge=>{var An=Ge.children,Yt=Ge.record,fn=i()(Ge,Wi);return c.createElement(Vt.Z,xt()({},fn,{sx:Fc({outline:1,outlineColor:"border.default"},fn.sx)}),An??(Yt==null?void 0:Yt.getVisibleCells().map(Br=>c.createElement(Pl,{key:Br.id,cell:Br}))))};Ou.displayName="Table.Grid.Record";const Rl=Ou;var gu=["renderRecord"];function Hl(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function Cl(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?Hl(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):Hl(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var Dl=Ge=>{var An=Ge.renderRecord,Yt=An===void 0?Rl:An,fn=i()(Ge,gu),Br=ut();if(!Object.keys(Br).length)throw new Error("Table.Grid has to be used within <Table>");return c.createElement(Vt.Z,xt()({display:"grid"},fn,{sx:Cl({gap:3},fn.sx)}),Br.getRowModel().rows.map(yo=>c.createElement(Yt,{key:yo.id,record:yo})))};Dl.displayName="Table.Grid";const ll=Object.assign(Dl,{Record:Object.assign(Rl,{Cell:Pl})});var el=e(64569),vc=e(489835),Bl=e(432752),oc=e(199025),Wc=e(20561),Ll=e(483824),Qa=e(414569),Eu=e(130527),Ul=e(51408);function ql(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function Sc(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?ql(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):ql(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var Rc=(0,Ul.Z)(oc.Z,Jl.Z),Mu=Ge=>{var An=Ge.isOpen,Yt=Ge.setIsOpen,fn=Ge.layout,Br=Ge.setLayout,yo=Ge.columnsConfig,Jo=ut();if(!Object.keys(Jo).length)throw new Error("Table.LayoutSettings has to be used within <Table>");var sa=Jo.getAllColumns(),la=(0,Te.F)(),va=la.space,Ra=c.useState(yo??Object.fromEntries(sa.map(yl=>[yl.id,!0]))),Ya=xs()(Ra,2),wa=Ya[0],xa=Ya[1],Ds=c.useState(fn),ws=xs()(Ds,2),Di=ws[0],ai=ws[1];return c.createElement(Wc.Z.Portal,null,c.createElement(Eu.ZP,{disabled:!An,returnFocus:!0},c.createElement(Wc.Z.Container,null,An&&c.createElement(Wc.Z.Overlay,{onClick:()=>Yt(!1)}),c.createElement(Wc.Z.Drawer,{currentDockIndex:An?1:0,docks:[0,window.innerHeight/2],renderBody:()=>c.createElement(Vt.Z,{px:3},c.createElement(un.Z,{justifyContent:"space-between",py:2},c.createElement(Os.Z.Tertiary,{onClick:()=>{Yt(!1)},size:"small"},"Cancel"),c.createElement(Os.Z.Tertiary,{onClick:()=>{xa(yo??Object.fromEntries(sa.map(yl=>[yl.id,!0])))},size:"small"},"Reset to default")),c.createElement(Vt.Z,{pb:2,pt:3},c.createElement(Rc,{interiorAccessory:c.createElement(Ll.Z,{onChange:ai,value:Di,variant:"compact"},c.createElement(Ll.Z.Option,{label:"List",name:"layout",value:"List",width:"calc(2 * ".concat(va[10],")")},c.createElement(un.Z,{gap:2},c.createElement(vc.Z,null),c.createElement(u.Z.Body,null,"List"))),c.createElement(Ll.Z.Option,{label:"Grid",name:"layout",value:"Grid",width:"calc(2 * ".concat(va[10],")")},c.createElement(un.Z,{gap:2},c.createElement(el.Z,null),c.createElement(u.Z.Body,null,"Grid")))),label:"View as",py:1})),c.createElement(u.Z.Label,{py:2},"Show Information"),c.createElement(Vt.Z,{display:"grid",sx:{gridTemplateColumns:"1fr"}},Object.entries(wa).map(yl=>{var ml,Ii=xs()(yl,2),Xi=Ii[0],zi=Ii[1],Sl=Jo.getColumn(Xi),gc=Sl==null||(ml=Sl.columnDef.header)===null||ml===void 0?void 0:ml.toString();return c.createElement(u.Z.Body,{key:"checkbox-".concat(Xi),as:"label",css:{display:"inline-flex"},py:2},c.createElement(Qa.Z,{checked:zi,mr:2,name:gc,onChange:Xl=>{xa(Sc(Sc({},wa),{},{[Xi]:Xl}))},value:gc}),gc)})),c.createElement(Os.Z.Primary,{my:2,onClick:()=>{Br(Di),Jo.setColumnVisibility(yl=>Sc(Sc({},yl),wa)),Yt(!1)},size:"medium",width:"100%"},"Apply Settings"))}))))};const dc=Mu;var ec=e(285814),tc=["anchor","isOpen","setIsOpen","layout","setLayout","columnsConfig"];function qc(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function hu(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?qc(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):qc(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var Tc=(0,Ul.Z)(oc.Z,Jl.Z),ac=Ge=>{var An=Ge.anchor,Yt=Ge.isOpen,fn=Ge.setIsOpen,Br=Ge.layout,yo=Ge.setLayout,Jo=Ge.columnsConfig,sa=i()(Ge,tc),la=ut();if(!Object.keys(la).length)throw new Error("Table.LayoutSettings has to be used within <Table>");var va=la.getAllColumns(),Ra=(0,Te.F)(),Ya=Ra.space,wa=c.useState(Jo??Object.fromEntries(va.map(Ii=>[Ii.id,!0]))),xa=xs()(wa,2),Ds=xa[0],ws=xa[1],Di=c.useState(Br),ai=xs()(Di,2),yl=ai[0],ml=ai[1];return c.createElement(ec.Z,xt()({anchor:An,closeOnClickOutside:!0,closeOnEsc:!0,hideArrow:!0,isOpen:Yt,onRequestClose:()=>{fn(!1)},onRequestOpen:()=>{},position:"bottom"},sa),c.createElement(Eu.ZP,{disabled:!Yt,returnFocus:!0},c.createElement(Vt.Z,{maxHeight:"478px",p:6,width:"496px"},c.createElement(un.Z,{justifyContent:"space-between"},c.createElement(Os.Z.Tertiary,{onClick:()=>{fn(!1)}},"Cancel"),c.createElement(Os.Z.Tertiary,{onClick:()=>{ws(Jo??Object.fromEntries(va.map(Ii=>[Ii.id,!0])))}},"Reset to default")),c.createElement(Tc,{interiorAccessory:c.createElement(Ll.Z,{onChange:ml,value:yl,variant:"compact"},c.createElement(Ll.Z.Option,{label:"List",name:"layout",value:"list",width:"calc(2 * ".concat(Ya[10],")")},c.createElement(un.Z,{gap:2},c.createElement(vc.Z,null),c.createElement(u.Z.Body,null,"List"))),c.createElement(Ll.Z.Option,{label:"Grid",name:"layout",value:"grid",width:"calc(2 * ".concat(Ya[10],")")},c.createElement(un.Z,{gap:2},c.createElement(el.Z,null),c.createElement(u.Z.Body,null,"Grid")))),label:"View as",pb:2,pt:3}),c.createElement(u.Z.Label,{py:3},"Show Information"),c.createElement(Vt.Z,{display:"grid",sx:{gridTemplateColumns:"1fr 1fr"}},Object.entries(Ds).map(Ii=>{var Xi,zi=xs()(Ii,2),Sl=zi[0],gc=zi[1],Xl=la.getColumn(Sl),yc=Xl==null||(Xi=Xl.columnDef.header)===null||Xi===void 0?void 0:Xi.toString();return c.createElement(u.Z.Body,{key:"checkbox-".concat(Sl),as:"label",css:{display:"inline-flex"},py:2},c.createElement(Qa.Z,{checked:gc,mr:2,name:yc,onChange:Zc=>{ws(hu(hu({},Ds),{},{[Sl]:Zc}))},value:yc}),yc)})),c.createElement(Os.Z.Primary,{my:2,onClick:()=>{yo(yl),la.setColumnVisibility(Ii=>hu(hu({},Ii),Ds)),fn(!1)},size:"medium",width:"100%"},"Apply Settings"))))};const sc=ac;var wc=["layout","setLayout"],Nc=["onClick","layout","setLayout","toggleOnly"];function Kc(Ge,An){var Yt=Object.keys(Ge);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(Ge);An&&(fn=fn.filter(function(Br){return Object.getOwnPropertyDescriptor(Ge,Br).enumerable})),Yt.push.apply(Yt,fn)}return Yt}function Yl(Ge){for(var An=1;An<arguments.length;An++){var Yt=arguments[An]!=null?arguments[An]:{};An%2?Kc(Object(Yt),!0).forEach(function(fn){n()(Ge,fn,Yt[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(Yt)):Kc(Object(Yt)).forEach(function(fn){Object.defineProperty(Ge,fn,Object.getOwnPropertyDescriptor(Yt,fn))})}return Ge}var ou=Ge=>{var An=Ge.layout,Yt=Ge.setLayout,fn=i()(Ge,wc),Br=(0,Te.F)(),yo=Br.colors,Jo=(0,fs.Q)(),sa=Jo.t;return c.createElement(Os.Z.Base,xt()({"aria-label":An==="grid"?sa("Layout: grid",{},{project:"rosetta-compositions"}):sa("Layout: list",{},{project:"rosetta-compositions"}),onClick:()=>Yt(An==="grid"?"list":"grid")},fn,{sx:Yl({"&:focus":{boxShadow:"0px 0px 0px 2px ".concat(yo.gray[100])},"&:hover":{color:"fg.muted"},minHeight:"44px",overflow:"visible",textTransform:"unset",wordBreak:"keep-all"},fn==null?void 0:fn.sx)}),An==="grid"?c.createElement(el.Z,{color:"inherit"}):c.createElement(vc.Z,{color:"inherit"}))},ur=Ge=>{var An=Ge.onClick,Yt=Ge.layout,fn=Ge.setLayout,Br=Ge.toggleOnly,yo=Br===void 0?!1:Br,Jo=i()(Ge,Nc),sa=c.useState(!1),la=xs()(sa,2),va=la[0],Ra=la[1],Ya=c.useState(null),wa=xs()(Ya,2),xa=wa[0],Ds=wa[1],ws=Zs(),Di=(0,Te.F)(),ai=Di.colors,yl=(0,fs.Q)(),ml=yl.t;return yo?c.createElement(ou,{layout:Yt,setLayout:fn}):c.createElement(c.Fragment,null,c.createElement(Os.Z.Base,xt()({ref:Ds,"aria-label":ml("Layout settings",{},{project:"rosetta-compositions"}),onClick:()=>Ra(!va),sx:{"&:focus":{boxShadow:"0px 0px 0px 2px ".concat(ai.gray[100])},"&:hover":{color:"fg.muted"},minHeight:"44px",overflow:"visible",textTransform:"unset"}},Jo),c.createElement(Bl.Z,{color:"inherit"})),ws?c.createElement(dc,{isOpen:va,layout:Yt,setIsOpen:Ra,setLayout:fn}):c.createElement(sc,{anchor:xa,isOpen:va,layout:Yt,setIsOpen:Ra,setLayout:fn}))},kr=Object.assign(eo,{useTable:ut,Sort:ta,List:Ms,Grid:ll,Pagination:wo,LayoutSettings:ur,RecordCount:qa,Utils:wt,RecordSearch:si,Controls:_c,Search:zr,Filter:Eo,ActionBar:es})},90410:function(b,l,e){"use strict";e.d(l,{Z:()=>ae});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(47932),c=e(412166),u=e(885630),f=e(174161),d=e(392338),h=e(642979),g=e.n(h),_=e(680180),p=e.n(_),y=e(711900),O=e(343701),P=e(881707),C=e(254972),A=e(265898),S=e(490167),T=e(588055),s=["children","placement","open","onOpenChange","floatingPortalProps","isDisabled","renderTrigger","zIndex"];function v(ge,Be){var Ke=Object.keys(ge);if(Object.getOwnPropertySymbols){var He=Object.getOwnPropertySymbols(ge);Be&&(He=He.filter(function(ye){return Object.getOwnPropertyDescriptor(ge,ye).enumerable})),Ke.push.apply(Ke,He)}return Ke}function m(ge){for(var Be=1;Be<arguments.length;Be++){var Ke=arguments[Be]!=null?arguments[Be]:{};Be%2?v(Object(Ke),!0).forEach(function(He){g()(ge,He,Ke[He])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ge,Object.getOwnPropertyDescriptors(Ke)):v(Object(Ke)).forEach(function(He){Object.defineProperty(ge,He,Object.getOwnPropertyDescriptor(Ke,He))})}return ge}var E=y.Z.NextButton,I=y.Z.PreviousButton;function L(ge){var Be=ge.children,Ke=ge.placement,He=ge.open,ye=ge.onOpenChange,Le=ge.floatingPortalProps,Ue=Le===void 0?{}:Le,Xe=ge.isDisabled,Fe=Xe===void 0?!1:Xe,ht=ge.renderTrigger,Ne=ge.zIndex,Ce=a()(ge,s),we=(0,f.useState)(!1),$e=p()(we,2),Ot=$e[0],Pt=$e[1],Ie=f.useContext(T.Z),Bt=(0,i.F)(),mt=Bt.breakpoints,rt=(0,u.i)(mt),ce=rt.platform,Re=ce==="mobile",nt=(0,C.jV)(),st=He??Ot,vt=ye??Pt,ze=(0,C.YF)({nodeId:nt,open:st,onOpenChange:vt,middleware:[(0,A.RR)({crossAxis:!1}),(0,A.uY)(),(0,A.cv)(Re?12:6)],placement:Ke,whileElementsMounted:S.Me}),It=ze.x,on=ze.y,Pn=ze.refs,Yn=ze.strategy,Ln=ze.context,bn=(0,C.eS)(Ln,{keyboardHandlers:!1}),ir=(0,C.bQ)(Ln),Zn=(0,C.NI)([bn,ir]),$n=Zn.getReferenceProps,jt=Zn.getFloatingProps,Rn=Ie==="top"?{top:0,left:0}:{bottom:0,left:0},jn=Re?Rn:{left:It??0,top:on??0},Tn={drawerRef:Pn.setReference,isDisabled:Fe,isMobile:Re,open:st,setOpen:vt,getReferenceProps:$n};return f.createElement(f.Fragment,null,ht(Tn),f.createElement(C.mN,{id:nt},!Fe&&st&&f.createElement(C.ll,Ue,f.createElement(C.wD,{context:Ln,modal:!1,order:["reference","content"]},f.createElement(c.Z,o()({ref:Pn.setFloating,width:ce==="mobile"?"100%":"fit-content"},jt({style:m({position:Yn},jn)})),Re?f.createElement(c.Z,{alignItems:"center",bg:"base",gap:2,width:"100%",zIndex:Ne},f.createElement(P.Z,{flex:"0 0 90%",overflow:"hidden"},f.createElement(y.Z,{listElements:[],renderNextButton:Nn=>f.createElement(E,o()({},Nn,{sx:{marginRight:"5px"}})),renderPreviousButton:Nn=>f.createElement(I,o()({},Nn,{sx:{marginLeft:"5px"}}))},f.createElement(c.Z,o()({alignItems:"center",flexDirection:"row",p:"4px"},Ce),Be))),f.createElement(O.Z,{onClick:()=>vt(!1)})):f.createElement(c.Z,o()({alignItems:"center",bg:"base",borderRadius:2,boxShadow:300,p:"4px",zIndex:Ne},Ce),Be))))))}L.displayName="Tool.Drawer";var W=e(942085),F=e(224353),G=["drawerRef","isDisabled","isMobile","label","open","setOpen","getReferenceProps","children","isActive"],k=(0,f.forwardRef)((ge,Be)=>{var Ke=ge.drawerRef,He=ge.isDisabled,ye=ge.isMobile,Le=ge.label,Ue=ge.open,Xe=ge.setOpen,Fe=ge.getReferenceProps,ht=ge.children,Ne=ge.isActive,Ce=a()(ge,G),we=(0,f.useState)(!1),$e=p()(we,2),Ot=$e[0],Pt=$e[1],Ie=(0,f.useRef)(null),Bt=ye?void 0:()=>Pt(!0),mt=ye?void 0:()=>Pt(!1),rt=Ue&&!He||Ne?"gray.800":"inherit",ce=(0,W.Z)(Ke,Ie,Be);return f.createElement(ae,o()({ref:ce,alt:"","aria-label":Le,bg:rt},He?{}:Fe({ref:ce}),{onBlur:mt,onFocus:Bt,onKeyDown:Re=>{(Re.key==="Enter"||Re.key===" ")&&!He&&Xe(!Ue)},onMouseDown:Re=>Re.preventDefault(),onMouseEnter:Bt,onMouseLeave:mt,role:"button",sx:{"&:focus":{outline:2,outlineColor:"gray.100"},"&:focus:not(:focus-visible)":{outline:"none"},"&:hover":{backgroundColor:Ue&&!He?"gray.800":"gray.900",cursor:He?"not-allowed":"pointer"}},tabIndex:He?-1:0},Ce),He&&f.isValidElement(ht)?f.cloneElement(ht,{color:"gray.600",isDisabled:!0}):ht,Le&&!ye&&f.createElement(F.Z,{anchor:Ie.current,isOpen:Ot&&!Ue,px:2,py:1},Le))});k.displayName="Tool.Drawer.Trigger";var x=["children","value","onChange","sx"];function M(ge,Be){var Ke=Object.keys(ge);if(Object.getOwnPropertySymbols){var He=Object.getOwnPropertySymbols(ge);Be&&(He=He.filter(function(ye){return Object.getOwnPropertyDescriptor(ge,ye).enumerable})),Ke.push.apply(Ke,He)}return Ke}function B(ge){for(var Be=1;Be<arguments.length;Be++){var Ke=arguments[Be]!=null?arguments[Be]:{};Be%2?M(Object(Ke),!0).forEach(function(He){g()(ge,He,Ke[He])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ge,Object.getOwnPropertyDescriptors(Ke)):M(Object(Ke)).forEach(function(He){Object.defineProperty(ge,He,Object.getOwnPropertyDescriptor(Ke,He))})}return ge}function R(ge){var Be=ge.children,Ke=ge.value,He=ge.onChange,ye=ge.sx,Le=ye===void 0?{}:ye,Ue=a()(ge,x),Xe=(0,i.F)(),Fe=Xe.colors;return f.createElement(c.Z,o()({alignItems:"center",borderRadius:1,gap:2,onClick:()=>He(Ke),onKeyDown:ht=>{(ht.key==="Enter"||ht.key===" ")&&He(Ke)},onMouseDown:ht=>ht.preventDefault(),p:2,sx:B(B({},Le),{},{"&:focus":B({outline:"2px solid ".concat(Fe.gray[100])},Le&&Le["&:focus"]),"&:focus:not(:focus-visible)":{outline:"none"},"&:hover":B({cursor:"pointer"},Le&&Le["&:hover"]),li:{flex:"1 0 auto"}}),tabIndex:0},Ue),Be)}R.displayName="Tool.Drawer.Item";var U=Object.assign(L,{Item:R,Trigger:k}),j=e(719484),$=["icon","isDisabled","label","onClick","role","sx"];function ee(ge,Be){var Ke=Object.keys(ge);if(Object.getOwnPropertySymbols){var He=Object.getOwnPropertySymbols(ge);Be&&(He=He.filter(function(ye){return Object.getOwnPropertyDescriptor(ge,ye).enumerable})),Ke.push.apply(Ke,He)}return Ke}function te(ge){for(var Be=1;Be<arguments.length;Be++){var Ke=arguments[Be]!=null?arguments[Be]:{};Be%2?ee(Object(Ke),!0).forEach(function(He){g()(ge,He,Ke[He])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ge,Object.getOwnPropertyDescriptors(Ke)):ee(Object(Ke)).forEach(function(He){Object.defineProperty(ge,He,Object.getOwnPropertyDescriptor(Ke,He))})}return ge}function ie(ge){var Be=ge.icon,Ke=ge.isDisabled,He=Ke===void 0?!1:Ke,ye=ge.label,Le=ge.onClick,Ue=ge.role,Xe=Ue===void 0?"button":Ue,Fe=ge.sx,ht=Fe===void 0?{}:Fe,Ne=a()(ge,$),Ce=f.useState(null),we=p()(Ce,2),$e=we[0],Ot=we[1],Pt=f.useState(!1),Ie=p()(Pt,2),Bt=Ie[0],mt=Ie[1],rt=(0,i.F)(),ce=rt.breakpoints,Re=(0,u.i)(ce),nt=Re.platform,st=nt==="mobile",vt=st?"sizes.250":"sizes.200",ze=Be&&!st?{p:"4px"}:{},It=st?void 0:()=>mt(!0),on=st?void 0:()=>mt(!1);return f.createElement(ae,o()({ref:Ot,alt:"","aria-label":ye,onBlur:on,onClick:Pn=>{He||(mt(!1),Le(Pn))},onFocus:It,onKeyDown:Pn=>{(Pn.key==="Enter"||Pn.key===" ")&&!He&&Le(Pn)},onMouseDown:Pn=>Pn.preventDefault(),onMouseLeave:on,onMouseOver:It,opacity:He?.5:1,role:Xe,sx:te(te({},ht),{},{"&:focus":te({outline:2,outlineColor:"gray.100"},ht["&:focus"]),"&:focus:not(:focus-visible)":{outline:"none"},"&:hover":te({backgroundColor:!st&&!He&&"gray.900",cursor:He?"not-allowed":"pointer"},ht["&:hover"])}),tabIndex:He?-1:0,width:Be?vt:"fit-content"},ze,Ne),Be||f.createElement(j.Z.Action,{fontWeight:"medium"},ye),Be&&!st&&f.createElement(F.Z,{anchor:$e,isOpen:Bt,px:2,py:1},ye))}ie.displayName="Tool.Action";const ne=ie;var pe=e(604934),oe=["isDisabled","label"];function q(ge){var Be=ge.isDisabled,Ke=Be===void 0?!1:Be,He=ge.label,ye=a()(ge,oe);return f.createElement(c.Z,o()({alignItems:"center",flexDirection:"row",gap:"6px"},ye),f.createElement(j.Z.Body,{color:Ke?"gray.600":"gray.100",fontWeight:"medium"},He),f.createElement(pe.Z,{color:Ke?"gray.600":"gray.100"}))}q.displayName="Tool.Dropdown";const J=q;var me=["label"];function re(ge){var Be=ge.label,Ke=a()(ge,me);return f.createElement(ae,Ke,f.createElement(j.Z.Body,{fontWeight:"medium"},Be))}re.displayName="Tool.Label";const he=re;var Ee=["onClick","isActive","icon","label"];function fe(ge){var Be=ge.onClick,Ke=ge.isActive,He=ge.icon,ye=ge.label,Le=a()(ge,Ee);return f.createElement(ae.Action,o()({"aria-checked":Ke,backgroundColor:Ke?"gray.800":"inherit",icon:He,label:ye,onClick:Be,onMouseDown:Ue=>Ue.preventDefault(),role:"checkbox",sx:{"&:hover":{backgroundColor:Ke?"gray.800":"gray.900"}}},Le))}fe.displayName="Tool.Toggleable";const H=fe;var z=["children"],_e=f.forwardRef((ge,Be)=>{var Ke=ge.children,He=a()(ge,z),ye=(0,i.F)(),Le=ye.breakpoints,Ue=(0,u.i)(Le),Xe=Ue.platform;return f.createElement(c.Z,o()({ref:Be,alignItems:"center",borderRadius:1,height:Xe==="mobile"?"sizes.250":"sizes.200",justifyContent:"center",p:{_:"7px","mobile-*":"11px"},width:"fit-content"},He),Ke)});_e.displayName="Tool";const ae=Object.assign(_e,{Action:ne,Drawer:U,Dropdown:J,Label:he,Toggleable:H})},953435:function(b,l,e){"use strict";e.d(l,{Z:()=>ne});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(711900),c=e(936609),u=e(174161),f=e(412166),d=e(392338),h=e(642979),g=e.n(h),_=e(680180),p=e.n(_),y=e(881707),O=e(265898),P=e(254972),C=e(490167),A=e(588055),S=120,T=2,s=5;function v(pe){try{for(var oe=pe;oe.parent!==oe;)oe=oe.parent;return oe}catch{return pe}}function m(pe){var oe=pe.refs,q=pe.platform,J=(0,u.useState)({left:0,right:0}),me=p()(J,2),re=me[0],he=me[1],Ee=oe.floating.current;return(0,u.useEffect)(()=>{if(q==="mobile"&&Ee){var fe,H=()=>{if(Ee){var ae=Ee.getBoundingClientRect(),ge=ae.height,Be=v(window),Ke=Be.visualViewport;if(Ke){var He=window.innerHeight-Ke.height>S,ye=Ke.height+Ke.offsetTop-ge-(He?T:s);he({top:ye,left:0,right:0})}}},z=setInterval(H,1e3);H();var _e=v(window);return(fe=_e.visualViewport)===null||fe===void 0||fe.addEventListener("resize",H),()=>{var ae;clearInterval(z),(ae=_e.visualViewport)===null||ae===void 0||ae.removeEventListener("resize",H)}}},[q,Ee]),re}var E=["children"];function I(pe,oe){var q=Object.keys(pe);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(pe);oe&&(J=J.filter(function(me){return Object.getOwnPropertyDescriptor(pe,me).enumerable})),q.push.apply(q,J)}return q}function L(pe){for(var oe=1;oe<arguments.length;oe++){var q=arguments[oe]!=null?arguments[oe]:{};oe%2?I(Object(q),!0).forEach(function(J){g()(pe,J,q[J])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(q)):I(Object(q)).forEach(function(J){Object.defineProperty(pe,J,Object.getOwnPropertyDescriptor(q,J))})}return pe}function W(){return/iPad|iPhone|iPod/.test(navigator.platform)}var F=768;function G(pe){var oe=pe.children,q=pe.desktopPlacement,J=pe.floatingOffset,me=J===void 0?void 0:J,re=pe.floatingPortalProps,he=re===void 0?{}:re,Ee=pe.mobilePlacement,fe=Ee===void 0?"bottom":Ee,H=pe.trigger,z=pe.middleware,_e=z===void 0?[(0,O.RR)({crossAxis:!1}),(0,O.uY)(),(0,O.cv)(me)]:z,ae=pe.open,ge=pe.onOpenChange,Be=window.innerWidth<=F,Ke=(0,u.useState)(!1),He=p()(Ke,2),ye=He[0],Le=He[1],Ue=(0,P.jV)(),Xe=ae??ye,Fe=ge??Le,ht=(0,P.YF)({nodeId:Ue,open:Xe,onOpenChange:Fe,middleware:_e,placement:q,whileElementsMounted:C.Me}),Ne=ht.x,Ce=ht.y,we=ht.refs,$e=ht.strategy,Ot=ht.context,Pt=(0,P.eS)(Ot,{toggle:!1,keyboardHandlers:!1}),Ie=(0,P.bQ)(Ot),Bt=(0,P.NI)([Pt,Ie]),mt=Bt.getReferenceProps,rt=Bt.getFloatingProps,ce=m({refs:we,platform:Be?"mobile":"desktop"}),Re=fe==="bottom"?L(L({},ce),W()?{}:{top:"unset",bottom:15}):{top:0,left:0,right:0},nt=Be?Re:{left:Ne??0,top:Ce??0};return u.createElement(u.Fragment,null,u.cloneElement(H,mt(L(L({ref:we.setReference},H.props),{},{onFocus:()=>Fe(!0)}))),u.createElement(P.mN,{id:Ue},Xe&&u.createElement(P.ll,he,u.createElement(P.wD,{context:Ot,modal:!1,order:["reference","content"]},u.createElement(f.Z,o()({ref:we.setFloating},rt({style:L({position:$e},nt)}),{width:Be?"100%":"fit-content"}),u.createElement(A.Z.Provider,{value:fe},u.createElement(y.Z,{sx:Be?{width:"100%"}:{}},oe)))))))}function k(pe){var oe=pe.children,q=a()(pe,E),J=(0,P.Zm)();return J===null?u.createElement(P.RB,null,u.createElement(G,q,oe)):u.createElement(G,q,oe)}k.displayName="Toolbox.Position";const x=k;var M=["horizontal"];function B(pe){var oe=pe.horizontal,q=oe===void 0?!1:oe,J=a()(pe,M);return q?u.createElement(y.Z,o()({bg:"gray.800",height:"sizes.25",mx:"7px",width:"auto"},J)):u.createElement(y.Z,o()({bg:"gray.800",height:"auto",my:"7px",width:"sizes.25"},J))}B.displayName="Toolbox.Divider";var R=["inline","overflow","children","zIndex"],U=["overflow","children","zIndex"],j=i.Z.NextButton,$=i.Z.PreviousButton,ee=pe=>{var oe=pe.inline,q=oe===void 0?!1:oe,J=pe.overflow,me=J===void 0?!1:J,re=pe.children,he=pe.zIndex,Ee=a()(pe,R),fe=q?{}:{bg:"base",borderRadius:2,boxShadow:300},H={height:"fit-content",minHeight:"sizes.250",p:"4px",gap:"4px",width:"fit-content"};return me?u.createElement(i.Z,o()({listElements:[],renderNextButton:z=>u.createElement(j,o()({},z,{containerProps:{borderRadius:2},sx:{marginRight:"5px"}})),renderPreviousButton:z=>u.createElement($,o()({},z,{containerProps:{borderRadius:2},sx:{marginLeft:"5px"}})),sx:{zIndex:he},useMaskImage:!1},fe),u.createElement(f.Z,o()({},H,Ee),re)):u.createElement(f.Z,o()({},H,fe,{position:"relative",zIndex:he},Ee),re)},te=pe=>{var oe=pe.overflow,q=oe===void 0?!0:oe,J=pe.children,me=pe.zIndex,re=a()(pe,U),he={bg:"base",boxShadow:300},Ee={p:"5px",gap:"5px",width:"100%"};return q?u.createElement(i.Z,o()({listElements:[],renderNextButton:fe=>u.createElement(j,o()({},fe,{sx:{marginRight:"5px"}})),renderPreviousButton:fe=>u.createElement($,o()({},fe,{sx:{marginLeft:"5px"}})),sx:{zIndex:me},useMaskImage:!1},he),u.createElement(f.Z,o()({},Ee,re),J)):u.createElement(f.Z,o()({},Ee,he,{position:"relative",zIndex:me},re),J)};function ie(pe){return u.createElement(c.Z.Provider,null,u.createElement(c.Z.Renderer,o()({},pe,{render:{default:ee,"mobile-0":te}})))}ee.displayName="Toolbox.Desktop",te.displayName="Toolbox.Mobile",ie.displayName="Toolbox";const ne=Object.assign(ie,{Desktop:ee,Mobile:te,Position:x,Divider:B})},588055:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(174161),o=r.createContext("bottom");const n=o},446269:function(b,l,e){"use strict";e.d(l,{Z:()=>ro});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(174161),c=e(881707),u=e(860921),f=e.n(u),d=e(392338),h=e(412166),g=e(725538),_=e(954879);const p=i.createContext({isSplitScreen:!1});var y=e(642979),O=e.n(y),P=e(600994),C=["icon","htmlAttributes","isDisabled","inverted","label","iconPosition","css"];function A(Xt,Je){var At=Object.keys(Xt);if(Object.getOwnPropertySymbols){var xt=Object.getOwnPropertySymbols(Xt);Je&&(xt=xt.filter(function(Qt){return Object.getOwnPropertyDescriptor(Xt,Qt).enumerable})),At.push.apply(At,xt)}return At}function S(Xt){for(var Je=1;Je<arguments.length;Je++){var At=arguments[Je]!=null?arguments[Je]:{};Je%2?A(Object(At),!0).forEach(function(xt){O()(Xt,xt,At[xt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Xt,Object.getOwnPropertyDescriptors(At)):A(Object(At)).forEach(function(xt){Object.defineProperty(Xt,xt,Object.getOwnPropertyDescriptor(At,xt))})}return Xt}function T(Xt){var Je=Xt.icon,At=Xt.htmlAttributes,xt=Xt.isDisabled,Qt=Xt.inverted,qt=Xt.label,Te=Xt.iconPosition,Gt=Te===void 0?"left":Te,un=Xt.css,Vt=a()(Xt,C),Dn=Qt?P.Z.Primary:P.Z.Secondary;return i.createElement(Dn,o()({},At,Vt,{animationDirection:"none",css:S({alignItems:"center",pointerEvents:"all"},un),disabled:xt,display:"flex",size:2}),i.createElement(c.Z,{as:"span",mt:"1px"},qt),Je&&i.createElement(c.Z,{as:"span",css:{lineHeight:0},ml:qt&&Gt==="right"?2:0,mr:qt&&Gt==="left"?2:0},Je))}const v=T;var m=e(102200),E=e(522129);function I(Xt,Je){var At=Object.keys(Xt);if(Object.getOwnPropertySymbols){var xt=Object.getOwnPropertySymbols(Xt);Je&&(xt=xt.filter(function(Qt){return Object.getOwnPropertyDescriptor(Xt,Qt).enumerable})),At.push.apply(At,xt)}return At}function L(Xt){for(var Je=1;Je<arguments.length;Je++){var At=arguments[Je]!=null?arguments[Je]:{};Je%2?I(Object(At),!0).forEach(function(xt){O()(Xt,xt,At[xt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Xt,Object.getOwnPropertyDescriptors(At)):I(Object(At)).forEach(function(xt){Object.defineProperty(Xt,xt,Object.getOwnPropertyDescriptor(At,xt))})}return Xt}var W=Xt=>{var Je=Xt.inverted,At=Xt.isDisabled;return i.createElement(v,o()({icon:i.createElement(m.Z,{direction:"left",inverted:Je,isDisabled:At})},Xt))},F=Xt=>{var Je=Xt.inverted,At=Xt.isDisabled,xt=(0,E.Q)(),Qt=xt.t;return i.createElement(v,o()({"data-autofocus":!0,icon:i.createElement(m.Z,{direction:"right",inverted:Je,isDisabled:At}),iconPosition:"right",label:Qt("Next",{},{project:"rosetta-compositions"})},Xt,{css:L({marginLeft:"auto"},Xt.css)}))},G=e(124575);const k=i.createContext({back:()=>{},currentStepId:"",goToStep:()=>{},next:()=>{},stepCount:NaN,history:new G.Z,defaultRenderers:{}});var x=g.Z.Dialog.ResponsiveContext,M=Xt=>{var Je=Xt.children,At=(0,i.useContext)(x),xt=At.isFullscreen,Qt=(0,i.useContext)(p),qt=Qt.isSplitScreen;return i.createElement(_.Z.Container,{gridConstraint:12},i.createElement(_.Z.Item,{as:h.Z,columns:12,sx:{backgroundColor:xt||qt?"white":"transparent",pt:2,pb:xt?3:6,position:"relative",justifyContent:"space-between"}},Je))};function B(Xt){var Je=Xt.backButtonProps,At=Je===void 0?{}:Je,xt=Xt.nextButtonProps,Qt=xt===void 0?{}:xt,qt=Xt.hideBack,Te=Xt.hideNext,Gt=(0,i.useContext)(k),un=Gt.history,Vt=Gt.back,Dn=Gt.next;return i.createElement(M,null,un.getLength()>1&&!qt&&i.createElement(W,o()({onClick:Vt},At)),!Te&&i.createElement(F,o()({onClick:Dn},Qt)))}const R=B,U=R;var j=e(719484);function $(Xt){var Je=Xt.currentStepNumber,At=(0,E.Q)(),xt=At.t,Qt=(0,i.useContext)(k),qt=Qt.stepCount;return i.createElement(j.Z.Action,{color:"gray.300",marginLeft:"auto"},xt("{currentStepNumber} of {stepCount}",{currentStepNumber:Je.toString(),stepCount:qt.toString()},{project:"rosetta-compositions"}))}const te=$;function ie(Xt){var Je=Xt.closeButtonProps,At=Xt.currentStepId,xt=Xt.stepCount,Qt=Xt.children,qt=Xt.history,Te=Xt.onRequestStep,Gt=Te===void 0?f():Te,un=Xt.renderNavigation,Vt=un===void 0?Ft=>i.createElement(U,Ft):un,Dn=Xt.renderProgress,Wt=Dn===void 0?Ft=>i.createElement(te,Ft):Dn,Pe=()=>{qt.getPreviousStepId()===At?qt.pop():qt.getCurrentStepId()!==At&&qt.push(At)},xe=()=>{if(Array.isArray(Qt)){var Ft=Qt.find(tn=>tn.props.id===At);return Ft??Qt.at(0)}return Qt},Ae=Ft=>{Ft&&Gt(Ft)},qe=()=>{var Ft=qt.getPreviousStepId();Ft!==null&&Ae(Ft)},wt=()=>{var Ft,tn=xe();tn!=null&&(Ft=tn.props)!==null&&Ft!==void 0&&Ft.nextStepId&&Ae(tn.props.nextStepId)},kt=Ft=>{Ae(Ft)},ut=()=>(Pe(),{back:qe,closeButtonProps:Je,currentStepId:At,goToStep:kt,history:qt,next:wt,stepCount:xt||i.Children.count(Qt),defaultRenderers:{renderNavigation:Vt,renderProgress:Wt}});return i.createElement(k.Provider,{value:ut()},xe())}const ne=ie;var pe=e(934388),oe=["children"];function q(Xt,Je){var At=Object.keys(Xt);if(Object.getOwnPropertySymbols){var xt=Object.getOwnPropertySymbols(Xt);Je&&(xt=xt.filter(function(Qt){return Object.getOwnPropertyDescriptor(Xt,Qt).enumerable})),At.push.apply(At,xt)}return At}function J(Xt){for(var Je=1;Je<arguments.length;Je++){var At=arguments[Je]!=null?arguments[Je]:{};Je%2?q(Object(At),!0).forEach(function(xt){O()(Xt,xt,At[xt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Xt,Object.getOwnPropertyDescriptors(At)):q(Object(At)).forEach(function(xt){Object.defineProperty(Xt,xt,Object.getOwnPropertyDescriptor(At,xt))})}return Xt}var me=g.Z.Dialog.ResponsiveContext,re=Xt=>{var Je=Xt.children,At=a()(Xt,oe),xt=(0,i.useContext)(p),Qt=xt.isSplitScreen,qt=(0,i.useContext)(me),Te=qt.isFullscreenPortrait;return i.createElement(c.Z,o()({css:J({width:"50%",flex:1},Qt&&Te&&{width:"100%","&:nth-of-type(1)":{overflow:"hidden"},"&:nth-of-type(2)":{flex:"unset",height:265}})},At),Je)};const he=re;var Ee=["children","reversed"];function fe(Xt,Je){var At=Object.keys(Xt);if(Object.getOwnPropertySymbols){var xt=Object.getOwnPropertySymbols(Xt);Je&&(xt=xt.filter(function(Qt){return Object.getOwnPropertyDescriptor(Xt,Qt).enumerable})),At.push.apply(At,xt)}return At}function H(Xt){for(var Je=1;Je<arguments.length;Je++){var At=arguments[Je]!=null?arguments[Je]:{};Je%2?fe(Object(At),!0).forEach(function(xt){O()(Xt,xt,At[xt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Xt,Object.getOwnPropertyDescriptors(At)):fe(Object(At)).forEach(function(xt){Object.defineProperty(Xt,xt,Object.getOwnPropertyDescriptor(At,xt))})}return Xt}var z=(Xt,Je)=>{var At=!1;return typeof Xt=="string"&&((0,pe.a1)("Wizard.SplitScreen props.reversed is now a boolean."),At=Je&&(Xt==="always"||Xt==="mobile"),Xt=Xt==="always"||At||!Je&&Xt==="desktop"),At?"column":Je?"column-reverse":Xt?"row-reverse":"row"},_e=g.Z.Dialog.ResponsiveContext,ae=Xt=>{var Je=Xt.children,At=Xt.reversed,xt=At===void 0?!1:At,Qt=a()(Xt,Ee),qt=(0,i.useContext)(_e),Te=qt.isFullscreenPortrait;return i.createElement(p.Provider,{value:{isSplitScreen:!0}},i.createElement(h.Z,o()({},Qt,{css:H({flexDirection:z(xt,Te),width:"100%",height:"100%",alignItems:"stretch"},Qt.css)}),Je,Te&&i.createElement(c.Z,{sx:{height:"sizes.300"}})))};const Be=Object.assign(ae,{Panel:he});var Ke=e(817936),He=g.Z.Dialog.ResponsiveContext,ye=Xt=>{var Je=Xt.children,At=(0,i.useContext)(p),xt=At.isSplitScreen,Qt=(0,i.useContext)(He),qt=Qt.isFullscreen,Te=Qt.isFullscreenPortrait;return i.createElement(c.Z,{left:0,position:xt&&Te?"fixed":"absolute",right:0,top:0,zIndex:1},i.createElement(_.Z.Container,{gridConstraint:12},i.createElement(_.Z.Item,{as:h.Z,columns:12,sx:{alignItems:"center",backgroundColor:"white",height:qt?"sizes.300":"sizes.400",justifyContent:"space-between"}},Je)))};const Le=ye,Ue=i.createContext({currentStepNumber:NaN});var Xe=["closeButtonProps","history","defaultRenderers"];function Fe(Xt,Je){var At=Object.keys(Xt);if(Object.getOwnPropertySymbols){var xt=Object.getOwnPropertySymbols(Xt);Je&&(xt=xt.filter(function(Qt){return Object.getOwnPropertyDescriptor(Xt,Qt).enumerable})),At.push.apply(At,xt)}return At}function ht(Xt){for(var Je=1;Je<arguments.length;Je++){var At=arguments[Je]!=null?arguments[Je]:{};Je%2?Fe(Object(At),!0).forEach(function(xt){O()(Xt,xt,At[xt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Xt,Object.getOwnPropertyDescriptors(At)):Fe(Object(At)).forEach(function(xt){Object.defineProperty(Xt,xt,Object.getOwnPropertyDescriptor(At,xt))})}return Xt}function Ne(Xt){var Je=Xt.backButtonProps,At=Xt.children,xt=Xt.hideBack,Qt=Xt.hideCloseButton,qt=Xt.hideHeader,Te=Xt.hideNext,Gt=Xt.hideNavigation,un=Xt.hideProgress,Vt=Xt.nextButtonProps,Dn=Xt.nextStepId,Wt=Xt.stepNumber,Pe=Xt.renderProgress,xe=Xt.renderNavigation,Ae=(0,E.Q)(),qe=Ae.t,wt=(0,i.useContext)(k),kt=wt.closeButtonProps,ut=wt.history,Ft=wt.defaultRenderers,tn=a()(wt,Xe),In=Wt||ut.getLength(),rr=()=>kt?i.createElement(P.Z,o()({variant:"tertiary"},kt),kt.children||qe("Close",{},{project:"rosetta-compositions"})):null,Sr=Pr=>{var Mn;return xe?i.createElement(M,null,xe(Pr)):(Mn=Ft.renderNavigation)===null||Mn===void 0?void 0:Mn.call(Ft,Pr)},Yr=Pr=>{var Mn;return Pe?Pe(Pr):(Mn=Ft.renderProgress)===null||Mn===void 0?void 0:Mn.call(Ft,Pr)};return i.createElement(i.Fragment,null,!qt&&i.createElement(Le,null,!Qt&&rr(),!un&&Yr({currentStepNumber:In})),i.createElement(Ue.Provider,{value:{hideNavigation:Gt,backButtonProps:Je,nextButtonProps:Vt,currentStepNumber:In,hideBack:xt,hideNext:!Dn||Te,renderNavigation:Sr}},typeof At=="function"?At(ht({history:ut,currentStepNumber:In,defaultRenderers:Ft},tn)):At))}const Ce=Ne;var we=["children"];function $e(Xt){var Je=Xt.children,At=a()(Xt,we);return i.createElement(Ke.Z.ContentTitle,o()({is:j.Z.Title,m:0,py:1},At),Je)}const Ot=$e;var Pt=g.Z.Dialog.ResponsiveContext;function Ie(){var Xt=(0,i.useContext)(Pt),Je=Xt.isFullscreen,At=Xt.isFullscreenPortrait,xt=(0,i.useContext)(p),Qt=xt.isSplitScreen;return Qt&&At?null:i.createElement(c.Z,{css:{flexShrink:0},sx:{height:Je?"sizes.300":"sizes.400"}})}const Bt=Ie;var mt=e(47932),rt=g.Z.Dialog.ResponsiveContext,ce=(Xt,Je,At)=>{var xt=0;return At&&Je?xt=5:Xt&&(xt=3),{pt:xt}},Re=Xt=>(0,i.isValidElement)(Xt)&&Xt.type===_.Z.Container;function nt(Xt){var Je=Xt.children,At=Xt.className,xt=(0,i.useContext)(rt),Qt=xt.isFullscreen,qt=xt.isFullscreenPortrait,Te=(0,i.useContext)(p),Gt=Te.isSplitScreen,un=(0,mt.F)(),Vt=un.buttonSizes,Dn=(0,i.useContext)(Ue),Wt=Dn.hideNavigation;return i.createElement(c.Z,{className:At,css:{flex:1},sx:ce(Qt,qt,Gt)},Re(Je)?Je:i.createElement(_.Z.Container,{breakpoints:[559,679,828,1199,1679,1/0],gridConstraint:[12,12,8,6,4,4]},i.createElement(_.Z.Item,{columns:12},Je)),Gt&&!Qt&&!Wt&&i.createElement(c.Z,{css:{boxSizing:"content-box"},sx:{height:Vt[2],pt:2,pb:6}}))}const st=nt;var vt=["hideNavigation","renderNavigation"],ze=g.Z.Dialog.ResponsiveContext;function It(){var Xt=(0,i.useContext)(ze),Je=Xt.isFullscreen,At=(0,i.useContext)(Ue),xt=At.hideNavigation,Qt=At.renderNavigation,qt=a()(At,vt);return xt?null:i.createElement(c.Z,{css:{pointerEvents:"none",position:Je?"relative":"absolute",bottom:0,width:"100%"}},Qt==null?void 0:Qt(qt))}const on=It;var Pn=["className","children","htmlAttributes","innerContainerClassName"],Yn=Xt=>{var Je=Xt.className,At=Xt.children,xt=Xt.htmlAttributes,Qt=Xt.innerContainerClassName,qt=a()(Xt,Pn);return i.createElement(g.Z.TouchScroll,null,i.createElement(Ke.Z.Content,o()({},qt,xt,{className:Je,css:{width:"100%",height:"100%",overflow:"auto",flexDirection:"column"},is:h.Z}),i.createElement(Bt,null),i.createElement(st,{className:Qt},At),i.createElement(on,null)))};Yn.displayName="Wizard.Step.Content";const bn=Object.assign(Yn,{Title:Ot});var ir=["children","className"],Zn=g.Z.Dialog.ResponsiveContext;function $n(Xt){var Je=Xt.children,At=Xt.className,xt=a()(Xt,ir),Qt=(0,i.useContext)(p),qt=Qt.isSplitScreen,Te=(0,i.useContext)(Zn),Gt=Te.isFullscreen,un=Te.isFullscreenPortrait;return i.createElement(Ke.Z.Header,{css:{display:"flex",justifyContent:"center",alignItems:"center",top:0,zIndex:2,position:qt&&un?"fixed":"absolute",left:"50%",transform:"translateX(-50%)"},sx:{height:Gt?"sizes.300":"sizes.400"}},i.createElement(Ke.Z.HeaderTitle,o()({className:At,color:"gray.100",fontWeight:"medium",is:j.Z.Body,m:0},xt),Je))}const Rn=$n;var jn=["id","children"],Tn=g.Z.Dialog.ResponsiveContext,Nn=Xt=>{var Je=Xt.children,At=(0,i.useContext)(p),xt=At.isSplitScreen,Qt=(0,i.useContext)(Tn),qt=Qt.isFullscreenPortrait;return i.createElement(Ke.Z.Provider,{contentOffset:xt&&qt?265:0},Je)},cn=Xt=>{var Je=Xt.id,At=Xt.children,xt=a()(Xt,jn);return i.createElement(Nn,{key:Je},i.createElement(Ce,o()({id:Je},xt),At))};cn.displayName="Wizard.Step";const qn=Object.assign(cn,{Content:bn,HeaderTitle:Rn});var Hr=["children","className","htmlAttributes","onRequestStep","renderNavigation","renderProgress"];function fo(Xt){var Je=Xt.children,At=Xt.className,xt=Xt.htmlAttributes,Qt=Xt.onRequestStep,qt=Qt===void 0?f():Qt,Te=Xt.renderNavigation,Gt=Te===void 0?Wt=>i.createElement(U,Wt):Te,un=Xt.renderProgress,Vt=un===void 0?Wt=>i.createElement(te,Wt):un,Dn=a()(Xt,Hr);return i.createElement(c.Z,o()({},xt,{className:At,height:"100%",isolation:"isolate",position:"relative",width:"100%"}),i.createElement(ne,o()({},Dn,{onRequestStep:qt,renderNavigation:Gt,renderProgress:Vt}),Je))}const ro=Object.assign(fo,{Step:qn,History:G.Z,Button:v,Navigation:R,SplitScreen:Be})},124575:function(b,l,e){"use strict";e.d(l,{Z:()=>o});class r{constructor(){this.history=[]}push(a){this.history.push(a)}getLength(){return this.history.length}getCurrentStepId(){return this.history.length?this.history[this.history.length-1]:null}getPreviousStepId(){return this.history.length>1?this.history[this.history.length-2]:null}pop(){return this.history.pop()}}const o=r},522129:function(b,l,e){"use strict";e.d(l,{Q:()=>c});var r=e(36890),o=e(553070),n=e(228856),a=e(892311);function i(u){return e(628649)("./rosetta-compositions.".concat(u,".yaml"))}function c(){var u=(0,r.Z)(i),f=u.t,d=u.T,h=(0,o.Z)(i),g=h.pluralize,_=(0,n.Z)(),p=_.formatDate,y=_.formatDecimal,O=(0,a.Z)(),P=O.getCountries;return{t:f,T:d,pluralize:g,formatDate:p,formatDecimal:y,getCountries:P}}},320596:function(b,l,e){"use strict";e.r(l),e.d(l,{ColorPicker:()=>Vc.Z,Toolbox:()=>$s.Z,Table:()=>Cd.i,ChipInput:()=>h.Z,Accordion:()=>r.Z,EditableDropdown:()=>Bd,PageHeader:()=>zd.Z,NavMenu:()=>hd.Z,WizardHistory:()=>ru.Z,Dialog:()=>lu.V,Wizard:()=>Ki.Z,NavDialog:()=>Fl.Z,BasicDialog:()=>f.A,ActionBar:()=>o.Z,DirectoryTree:()=>Lu.s,AddressInput:()=>a.Z,AlertDialog:()=>i.Z,CodeInput:()=>Zl,DatePicker:()=>tu.Z,ActionList:()=>n.Z,NavigationController:()=>Gd.Z,Drawer:()=>yu.d,KeyFigures:()=>Pc.Z,Tool:()=>xn.Z,Banner:()=>u.Z,Dropdown:()=>ic.Z,AppCard:()=>c.Z,Breadcrumbs:()=>d.O,Search:()=>Pd.Z});var r=e(968779),o=e(8301),n=e(882684),a=e(162807),i=e(411722),c=e(720420),u=e(350803),f=e(807025),d=e(112686),h=e(258292),g=e(160553),_=e.n(g),p=e(680180),y=e.n(p),O=e(737968),P=e.n(O),C=e(174161),A=e(233158),S=e(942085),T=e(881707),s=e(317150),v=function(){var Kt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Sn=Kt.dispatch,wn=Kt.parent,_r=Kt.root,Ve=Kt.state,tt=(0,C.useMemo)(()=>new s.tk({dispatch:Sn,parent:wn,root:_r,state:Ve}),[Sn,wn,_r,Ve]);return(0,C.useEffect)(()=>()=>{tt.destroy()},[tt]),tt};const m=v;var E=function(Kt){var Sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],wn=(0,C.useMemo)(()=>new A.Compartment,[]),_r=(0,C.useRef)(wn.of(Sn));(0,C.useEffect)(()=>{Kt.dispatch({effects:A.StateEffect.appendConfig.of(_r.current)})},[Kt]),(0,C.useEffect)(()=>{var Ve=wn.get(Kt.state)===Sn;Ve||Kt.dispatch({effects:wn.reconfigure(Sn)})},[wn,Sn,Kt])};const I=E;var L=Zt=>s.tk.updateListener.of(Kt=>{Kt.docChanged&&Zt(Kt.state.doc)});const W=L;var F=function(Kt){var Sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kt.state.doc,wn=(0,C.useState)(Sn),_r=y()(wn,2),Ve=_r[0],tt=_r[1];return(0,C.useEffect)(()=>{var bt=new A.Compartment;return Kt.dispatch({effects:A.StateEffect.appendConfig.of(bt.of(W(tt)))}),()=>{Kt.dispatch({effects:bt.reconfigure([])})}},[Kt]),(0,C.useEffect)(()=>{var bt=!Kt.state.doc.eq(Ve);bt&&Kt.dispatch(Kt.state.update({changes:{from:0,insert:Ve,to:Kt.state.doc.length}}))},[Ve,Kt]),[Ve,tt]};const G=F;var k=(Zt,Kt,Sn)=>{var wn=G(Zt,Kt),_r=y()(wn,2),Ve=_r[0],tt=_r[1];(0,C.useEffect)(()=>{Ve.eq(Kt)||Sn(Ve)},[Ve,Sn,Kt]),(0,C.useEffect)(()=>{tt(bt=>bt.eq(Kt)?bt:Kt)},[tt,Kt])};const x=k;var M=s.tk.editable.of(!1),B=s.tk.editable.of(!0),R=s.tk.theme({"& .cm-content":{cursor:"not-allowed",opacity:.5}}),U=function(Kt){var Sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;I(Kt,Sn?M:B),I(Kt,Sn?R:[])};const j=U;var $=(Zt,Kt)=>{var Sn=(0,C.useMemo)(()=>Kt?(0,s.W$)(Kt):[],[Kt]);I(Zt,Sn)};const ee=$;var te=e(87389),ie=function(Kt){var Sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},wn=(0,te.Z)(Sn),_r=(0,C.useState)(()=>s.tk.contentAttributes.of(wn)),Ve=y()(_r,2),tt=Ve[0],bt=Ve[1];(0,C.useEffect)(()=>{bt(s.tk.contentAttributes.of(wn))},[wn]),I(Kt,tt)};const ne=ie;var pe=function(Kt){var Sn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},wn=(0,te.Z)(Sn),_r=(0,C.useState)(()=>s.tk.editorAttributes.of(wn)),Ve=y()(_r,2),tt=Ve[0],bt=Ve[1];(0,C.useEffect)(()=>{bt(s.tk.editorAttributes.of(wn))},[wn]),I(Kt,tt)};const oe=pe;var q=e(155307),J=e(554305),me=(0,J.nF)(q.$d),re=Zt=>(I(Zt,me),Zt.dom.outerHTML);const he=re;var Ee=(Zt,Kt)=>{var Sn=(0,C.useMemo)(()=>s.tk.domEventHandlers(Kt),[Kt]);I(Zt,Sn)};const fe=Ee;var H=e(47932),z=()=>{var Zt=(0,H.F)(),Kt=Zt.colors,Sn=Zt.fonts,wn=Zt.fontSizes,_r=Zt.lineHeights,Ve=Zt.space,tt=Zt.borders;return(0,C.useMemo)(()=>s.tk.theme({"&":{backgroundColor:Kt.gray[900],color:Kt.gray[100],height:"100%",minHeight:"calc(7 * ".concat(_r[2],")"),width:"100%"},"& .cm-activeLineGutter.cm-gutterElement, & .cm-activeLine":{backgroundColor:Kt.gray[700]+"44"},"& .cm-content":{padding:"".concat(Ve[2]," 0")},"& .cm-gutters":{backgroundColor:Kt.gray[900],color:Kt.gray[300]},"& .cm-line, & .cm-lineNumbers .cm-gutterElement":{paddingLeft:Ve[1]},"& .cm-scroller":{fontFamily:Sn.mono,fontSize:wn[3],lineHeight:_r[2]},"&.cm-focused":{outline:"".concat(tt[2]," !important")}}),[Kt.gray,wn,Sn.mono,_r,Ve,tt])};const _e=z;var ae=Zt=>{var Kt=_e();I(Zt,Kt)};const ge=ae,Be="#e5c07b",Ke="#e06c75",He="#56b6c2",ye="#ffffff",Le="#abb2bf",Ue="#7d8799",Xe="#61afef",Fe="#98c379",ht="#d19a66",Ne="#c678dd",Ce="#21252b",we="#2c313a",$e="#282c34",Ot="#353a42",Pt="#3E4451",Ie="#528bff",Bt=null,mt=s.tk.theme({"&":{color:Le,backgroundColor:$e},".cm-content":{caretColor:Ie},".cm-cursor, .cm-dropCursor":{borderLeftColor:Ie},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:Pt},".cm-panels":{backgroundColor:Ce,color:Le},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:$e,color:Ue,border:"none"},".cm-activeLineGutter":{backgroundColor:we},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:Ot},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Ot,borderBottomColor:Ot},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:we,color:Le}}},{dark:!0}),rt=J.Qf.define([{tag:q.pJ.keyword,color:Ne},{tag:[q.pJ.name,q.pJ.deleted,q.pJ.character,q.pJ.propertyName,q.pJ.macroName],color:Ke},{tag:[q.pJ.function(q.pJ.variableName),q.pJ.labelName],color:Xe},{tag:[q.pJ.color,q.pJ.constant(q.pJ.name),q.pJ.standard(q.pJ.name)],color:ht},{tag:[q.pJ.definition(q.pJ.name),q.pJ.separator],color:Le},{tag:[q.pJ.typeName,q.pJ.className,q.pJ.number,q.pJ.changed,q.pJ.annotation,q.pJ.modifier,q.pJ.self,q.pJ.namespace],color:Be},{tag:[q.pJ.operator,q.pJ.operatorKeyword,q.pJ.url,q.pJ.escape,q.pJ.regexp,q.pJ.link,q.pJ.special(q.pJ.string)],color:He},{tag:[q.pJ.meta,q.pJ.comment],color:Ue},{tag:q.pJ.strong,fontWeight:"bold"},{tag:q.pJ.emphasis,fontStyle:"italic"},{tag:q.pJ.strikethrough,textDecoration:"line-through"},{tag:q.pJ.link,color:Ue,textDecoration:"underline"},{tag:q.pJ.heading,fontWeight:"bold",color:Ke},{tag:[q.pJ.atom,q.pJ.bool,q.pJ.special(q.pJ.variableName)],color:ht},{tag:[q.pJ.processingInstruction,q.pJ.string,q.pJ.inserted],color:Fe},{tag:q.pJ.invalid,color:ye}]),ce=[mt,(0,J.nF)(rt)];var Re=e(392338),nt=e(18724),st=new Set([nt.rosetta.dark.colors.base,nt.rosetta.darkest.colors.base]),vt=()=>{var Zt=(0,H.F)(),Kt=Zt.colors;return st.has(Kt.base)};const ze=vt;var It=(0,J.nF)(rt),on=(0,J.nF)(J.R_),Pn=Zt=>{var Kt=ze(),Sn=Kt?It:on;I(Zt,Sn)};const Yn=Pn;var Ln=["contentAttributes","domEventHandlers","editorAttributes","extensions","isDisabled","onChange","onSourceChange","onViewChange","placeholder","value"],bn=(0,C.forwardRef)(function(Kt,Sn){var wn=Kt.contentAttributes,_r=Kt.domEventHandlers,Ve=_r===void 0?{}:_r,tt=Kt.editorAttributes,bt=Kt.extensions,an=bt===void 0?[]:bt,Wn=Kt.isDisabled,nr=Wn===void 0?!1:Wn,Nr=Kt.onChange,to=Kt.onSourceChange,qo=to===void 0?()=>{}:to,Pa=Kt.onViewChange,$a=Pa===void 0?()=>{}:Pa,ss=Kt.placeholder,cs=ss===void 0?"":ss,Ns=Kt.value,Fi=P()(Kt,Ln),xi=(0,C.useRef)(Ns),ni=(0,C.useMemo)(()=>A.EditorState.create({doc:xi.current}),[]),dl=(0,C.useState)(),Ec=y()(dl,2),ri=Ec[0],cc=Ec[1],su=(0,S.Z)(Sn,cc),zc=m({parent:ri,state:ni});(0,C.useEffect)(()=>{$a(zc)},[$a,zc]);var $c=he(zc);return(0,C.useEffect)(()=>{qo($c)},[qo,$c]),Yn(zc),ge(zc),ne(zc,wn),x(zc,Ns,Nr),j(zc,nr),oe(zc,tt),ee(zc,cs),fe(zc,Ve),I(zc,an),C.createElement(T.Z,_()({ref:su,py:0},Fi))});const ir=bn;var Zn=e(776728);const $n=Zt=>{let{state:Kt}=Zt,Sn=Kt.doc.lineAt(Kt.selection.main.from),wn=Hr(Zt.state,Sn.from);return wn.line?Rn(Zt):wn.block?qn(Zt):!1};function jt(Zt,Kt){return({state:Sn,dispatch:wn})=>{if(Sn.readOnly)return!1;let _r=Zt(Kt,Sn);return _r?(wn(Sn.update(_r)),!0):!1}}const Rn=jt(Je,0),jn=null,Tn=null,Nn=jt(Xt,0),cn=null,or=null,qn=jt((Zt,Kt)=>Xt(Zt,Kt,ro(Kt)),0);function Hr(Zt,Kt){let Sn=Zt.languageDataAt("commentTokens",Kt);return Sn.length?Sn[0]:{}}const fo=50;function Jr(Zt,{open:Kt,close:Sn},wn,_r){let Ve=Zt.sliceDoc(wn-fo,wn),tt=Zt.sliceDoc(_r,_r+fo),bt=/\s*$/.exec(Ve)[0].length,an=/^\s*/.exec(tt)[0].length,Wn=Ve.length-bt;if(Ve.slice(Wn-Kt.length,Wn)==Kt&&tt.slice(an,an+Sn.length)==Sn)return{open:{pos:wn-bt,margin:bt&&1},close:{pos:_r+an,margin:an&&1}};let nr,Nr;_r-wn<=2*fo?nr=Nr=Zt.sliceDoc(wn,_r):(nr=Zt.sliceDoc(wn,wn+fo),Nr=Zt.sliceDoc(_r-fo,_r));let to=/^\s*/.exec(nr)[0].length,qo=/\s*$/.exec(Nr)[0].length,Pa=Nr.length-qo-Sn.length;return nr.slice(to,to+Kt.length)==Kt&&Nr.slice(Pa,Pa+Sn.length)==Sn?{open:{pos:wn+to+Kt.length,margin:/\s/.test(nr.charAt(to+Kt.length))?1:0},close:{pos:_r-qo-Sn.length,margin:/\s/.test(Nr.charAt(Pa-1))?1:0}}:null}function ro(Zt){let Kt=[];for(let Sn of Zt.selection.ranges){let wn=Zt.doc.lineAt(Sn.from),_r=Sn.to<=wn.to?wn:Zt.doc.lineAt(Sn.to);_r.from>wn.from&&_r.from==Sn.to&&(_r=Sn.to==wn.to+1?wn:Zt.doc.lineAt(Sn.to-1));let Ve=Kt.length-1;Ve>=0&&Kt[Ve].to>wn.from?Kt[Ve].to=_r.to:Kt.push({from:wn.from+/^\s*/.exec(wn.text)[0].length,to:_r.to})}return Kt}function Xt(Zt,Kt,Sn=Kt.selection.ranges){let wn=Sn.map(Ve=>Hr(Kt,Ve.from).block);if(!wn.every(Ve=>Ve))return null;let _r=Sn.map((Ve,tt)=>Jr(Kt,wn[tt],Ve.from,Ve.to));if(Zt!=2&&!_r.every(Ve=>Ve))return{changes:Kt.changes(Sn.map((Ve,tt)=>_r[tt]?[]:[{from:Ve.from,insert:wn[tt].open+" "},{from:Ve.to,insert:" "+wn[tt].close}]))};if(Zt!=1&&_r.some(Ve=>Ve)){let Ve=[];for(let tt=0,bt;tt<_r.length;tt++)if(bt=_r[tt]){let an=wn[tt],{open:Wn,close:nr}=bt;Ve.push({from:Wn.pos-an.open.length,to:Wn.pos+Wn.margin},{from:nr.pos-nr.margin,to:nr.pos+an.close.length})}return{changes:Ve}}return null}function Je(Zt,Kt,Sn=Kt.selection.ranges){let wn=[],_r=-1;for(let{from:Ve,to:tt}of Sn){let bt=wn.length,an=1e9,Wn=Hr(Kt,Ve).line;if(Wn){for(let nr=Ve;nr<=tt;){let Nr=Kt.doc.lineAt(nr);if(Nr.from>_r&&(Ve==tt||tt>Nr.from)){_r=Nr.from;let to=/^\s*/.exec(Nr.text)[0].length,qo=to==Nr.length,Pa=Nr.text.slice(to,to+Wn.length)==Wn?to:-1;to<Nr.text.length&&to<an&&(an=to),wn.push({line:Nr,comment:Pa,token:Wn,indent:to,empty:qo,single:!1})}nr=Nr.to+1}if(an<1e9)for(let nr=bt;nr<wn.length;nr++)wn[nr].indent<wn[nr].line.text.length&&(wn[nr].indent=an);wn.length==bt+1&&(wn[bt].single=!0)}}if(Zt!=2&&wn.some(Ve=>Ve.comment<0&&(!Ve.empty||Ve.single))){let Ve=[];for(let{line:bt,token:an,indent:Wn,empty:nr,single:Nr}of wn)(Nr||!nr)&&Ve.push({from:bt.from+Wn,insert:an+" "});let tt=Kt.changes(Ve);return{changes:tt,selection:Kt.selection.map(tt,1)}}else if(Zt!=1&&wn.some(Ve=>Ve.comment>=0)){let Ve=[];for(let{line:tt,comment:bt,token:an}of wn)if(bt>=0){let Wn=tt.from+bt,nr=Wn+an.length;tt.text[nr-tt.from]==" "&&nr++,Ve.push({from:Wn,to:nr})}return{changes:Ve}}return null}const At=A.Annotation.define(),xt=A.Annotation.define(),Qt=A.Facet.define(),qt=A.Facet.define({combine(Zt){return(0,A.combineConfig)(Zt,{minDepth:100,newGroupDelay:500,joinToEvent:(Kt,Sn)=>Sn},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(Kt,Sn)=>(wn,_r)=>Kt(wn,_r)||Sn(wn,_r)})}}),Te=A.StateField.define({create(){return vr.empty},update(Zt,Kt){let Sn=Kt.state.facet(qt),wn=Kt.annotation(At);if(wn){let an=kt.fromTransaction(Kt,wn.selection),Wn=wn.side,nr=Wn==0?Zt.undone:Zt.done;return an?nr=ut(nr,nr.length,Sn.minDepth,an):nr=Yr(nr,Kt.startState.selection),new vr(Wn==0?wn.rest:nr,Wn==0?nr:wn.rest)}let _r=Kt.annotation(xt);if((_r=="full"||_r=="before")&&(Zt=Zt.isolate()),Kt.annotation(A.Transaction.addToHistory)===!1)return Kt.changes.empty?Zt:Zt.addMapping(Kt.changes.desc);let Ve=kt.fromTransaction(Kt),tt=Kt.annotation(A.Transaction.time),bt=Kt.annotation(A.Transaction.userEvent);return Ve?Zt=Zt.addChanges(Ve,tt,bt,Sn,Kt):Kt.selection&&(Zt=Zt.addSelection(Kt.startState.selection,tt,bt,Sn.newGroupDelay)),(_r=="full"||_r=="after")&&(Zt=Zt.isolate()),Zt},toJSON(Zt){return{done:Zt.done.map(Kt=>Kt.toJSON()),undone:Zt.undone.map(Kt=>Kt.toJSON())}},fromJSON(Zt){return new vr(Zt.done.map(kt.fromJSON),Zt.undone.map(kt.fromJSON))}});function Gt(Zt={}){return[Te,qt.of(Zt),s.tk.domEventHandlers({beforeinput(Kt,Sn){let wn=Kt.inputType=="historyUndo"?Dn:Kt.inputType=="historyRedo"?Wt:null;return wn?(Kt.preventDefault(),wn(Sn)):!1}})]}const un=null;function Vt(Zt,Kt){return function({state:Sn,dispatch:wn}){if(!Kt&&Sn.readOnly)return!1;let _r=Sn.field(Te,!1);if(!_r)return!1;let Ve=_r.pop(Zt,Sn,Kt);return Ve?(wn(Ve),!0):!1}}const Dn=Vt(0,!1),Wt=Vt(1,!1),Pe=Vt(0,!0),xe=Vt(1,!0);function Ae(Zt){return function(Kt){let Sn=Kt.field(Te,!1);if(!Sn)return 0;let wn=Zt==0?Sn.done:Sn.undone;return wn.length-(wn.length&&!wn[0].changes?1:0)}}const qe=null,wt=null;class kt{constructor(Kt,Sn,wn,_r,Ve){this.changes=Kt,this.effects=Sn,this.mapped=wn,this.startSelection=_r,this.selectionsAfter=Ve}setSelAfter(Kt){return new kt(this.changes,this.effects,this.mapped,this.startSelection,Kt)}toJSON(){var Kt,Sn,wn;return{changes:(Kt=this.changes)===null||Kt===void 0?void 0:Kt.toJSON(),mapped:(Sn=this.mapped)===null||Sn===void 0?void 0:Sn.toJSON(),startSelection:(wn=this.startSelection)===null||wn===void 0?void 0:wn.toJSON(),selectionsAfter:this.selectionsAfter.map(_r=>_r.toJSON())}}static fromJSON(Kt){return new kt(Kt.changes&&A.ChangeSet.fromJSON(Kt.changes),[],Kt.mapped&&A.ChangeDesc.fromJSON(Kt.mapped),Kt.startSelection&&A.EditorSelection.fromJSON(Kt.startSelection),Kt.selectionsAfter.map(A.EditorSelection.fromJSON))}static fromTransaction(Kt,Sn){let wn=rr;for(let _r of Kt.startState.facet(Qt)){let Ve=_r(Kt);Ve.length&&(wn=wn.concat(Ve))}return!wn.length&&Kt.changes.empty?null:new kt(Kt.changes.invert(Kt.startState.doc),wn,void 0,Sn||Kt.startState.selection,rr)}static selection(Kt){return new kt(void 0,rr,void 0,void 0,Kt)}}function ut(Zt,Kt,Sn,wn){let _r=Kt+1>Sn+20?Kt-Sn-1:0,Ve=Zt.slice(_r,Kt);return Ve.push(wn),Ve}function Ft(Zt,Kt){let Sn=[],wn=!1;return Zt.iterChangedRanges((_r,Ve)=>Sn.push(_r,Ve)),Kt.iterChangedRanges((_r,Ve,tt,bt)=>{for(let an=0;an<Sn.length;){let Wn=Sn[an++],nr=Sn[an++];bt>=Wn&&tt<=nr&&(wn=!0)}}),wn}function tn(Zt,Kt){return Zt.ranges.length==Kt.ranges.length&&Zt.ranges.filter((Sn,wn)=>Sn.empty!=Kt.ranges[wn].empty).length===0}function In(Zt,Kt){return Zt.length?Kt.length?Zt.concat(Kt):Zt:Kt}const rr=[],Sr=200;function Yr(Zt,Kt){if(Zt.length){let Sn=Zt[Zt.length-1],wn=Sn.selectionsAfter.slice(Math.max(0,Sn.selectionsAfter.length-Sr));return wn.length&&wn[wn.length-1].eq(Kt)?Zt:(wn.push(Kt),ut(Zt,Zt.length-1,1e9,Sn.setSelAfter(wn)))}else return[kt.selection([Kt])]}function Pr(Zt){let Kt=Zt[Zt.length-1],Sn=Zt.slice();return Sn[Zt.length-1]=Kt.setSelAfter(Kt.selectionsAfter.slice(0,Kt.selectionsAfter.length-1)),Sn}function Mn(Zt,Kt){if(!Zt.length)return Zt;let Sn=Zt.length,wn=rr;for(;Sn;){let _r=sr(Zt[Sn-1],Kt,wn);if(_r.changes&&!_r.changes.empty||_r.effects.length){let Ve=Zt.slice(0,Sn);return Ve[Sn-1]=_r,Ve}else Kt=_r.mapped,Sn--,wn=_r.selectionsAfter}return wn.length?[kt.selection(wn)]:rr}function sr(Zt,Kt,Sn){let wn=In(Zt.selectionsAfter.length?Zt.selectionsAfter.map(bt=>bt.map(Kt)):rr,Sn);if(!Zt.changes)return kt.selection(wn);let _r=Zt.changes.map(Kt),Ve=Kt.mapDesc(Zt.changes,!0),tt=Zt.mapped?Zt.mapped.composeDesc(Ve):Ve;return new kt(_r,A.StateEffect.mapEffects(Zt.effects,Kt),tt,Zt.startSelection.map(Ve),wn)}const Ar=/^(input\.type|delete)($|\.)/;class vr{constructor(Kt,Sn,wn=0,_r=void 0){this.done=Kt,this.undone=Sn,this.prevTime=wn,this.prevUserEvent=_r}isolate(){return this.prevTime?new vr(this.done,this.undone):this}addChanges(Kt,Sn,wn,_r,Ve){let tt=this.done,bt=tt[tt.length-1];return bt&&bt.changes&&!bt.changes.empty&&Kt.changes&&(!wn||Ar.test(wn))&&(!bt.selectionsAfter.length&&Sn-this.prevTime<_r.newGroupDelay&&_r.joinToEvent(Ve,Ft(bt.changes,Kt.changes))||wn=="input.type.compose")?tt=ut(tt,tt.length-1,_r.minDepth,new kt(Kt.changes.compose(bt.changes),In(A.StateEffect.mapEffects(Kt.effects,bt.changes),bt.effects),bt.mapped,bt.startSelection,rr)):tt=ut(tt,tt.length,_r.minDepth,Kt),new vr(tt,rr,Sn,wn)}addSelection(Kt,Sn,wn,_r){let Ve=this.done.length?this.done[this.done.length-1].selectionsAfter:rr;return Ve.length>0&&Sn-this.prevTime<_r&&wn==this.prevUserEvent&&wn&&/^select($|\.)/.test(wn)&&tn(Ve[Ve.length-1],Kt)?this:new vr(Yr(this.done,Kt),this.undone,Sn,wn)}addMapping(Kt){return new vr(Mn(this.done,Kt),Mn(this.undone,Kt),this.prevTime,this.prevUserEvent)}pop(Kt,Sn,wn){let _r=Kt==0?this.done:this.undone;if(_r.length==0)return null;let Ve=_r[_r.length-1],tt=Ve.selectionsAfter[0]||Sn.selection;if(wn&&Ve.selectionsAfter.length)return Sn.update({selection:Ve.selectionsAfter[Ve.selectionsAfter.length-1],annotations:At.of({side:Kt,rest:Pr(_r),selection:tt}),userEvent:Kt==0?"select.undo":"select.redo",scrollIntoView:!0});if(Ve.changes){let bt=_r.length==1?rr:_r.slice(0,_r.length-1);return Ve.mapped&&(bt=Mn(bt,Ve.mapped)),Sn.update({changes:Ve.changes,selection:Ve.startSelection,effects:Ve.effects,annotations:At.of({side:Kt,rest:bt,selection:tt}),filter:!1,userEvent:Kt==0?"undo":"redo",scrollIntoView:!0})}else return null}}vr.empty=new vr(rr,rr);const qr=[{key:"Mod-z",run:Dn,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:Wt,preventDefault:!0},{linux:"Ctrl-Shift-z",run:Wt,preventDefault:!0},{key:"Mod-u",run:Pe,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:xe,preventDefault:!0}];function Dr(Zt,Kt){return A.EditorSelection.create(Zt.ranges.map(Kt),Zt.mainIndex)}function eo(Zt,Kt){return Zt.update({selection:Kt,scrollIntoView:!0,userEvent:"select"})}function Vo({state:Zt,dispatch:Kt},Sn){let wn=Dr(Zt.selection,Sn);return wn.eq(Zt.selection,!0)?!1:(Kt(eo(Zt,wn)),!0)}function Bn(Zt,Kt){return A.EditorSelection.cursor(Kt?Zt.to:Zt.from)}function ar(Zt,Kt){return Vo(Zt,Sn=>Sn.empty?Zt.moveByChar(Sn,Kt):Bn(Sn,Kt))}function rn(Zt){return Zt.textDirectionAt(Zt.state.selection.main.head)==s.Nm.LTR}const Rt=Zt=>ar(Zt,!rn(Zt)),Qe=Zt=>ar(Zt,rn(Zt)),Ye=Zt=>ar(Zt,!0),yt=Zt=>ar(Zt,!1);function Ze(Zt,Kt,Sn){let wn=Kt.head,_r=Zt.doc.lineAt(wn);return wn==(Sn?_r.to:_r.from)?wn=Sn?Math.min(Zt.doc.length,_r.to+1):Math.max(0,_r.from-1):wn=_r.from+findClusterBreak(_r.text,wn-_r.from,Sn),EditorSelection.cursor(wn,Sn?-1:1)}function Mt(Zt,Kt){return Vo(Zt,Sn=>Sn.empty?Ze(Zt.state,Sn,Kt):Bn(Sn,Kt))}const ot=Zt=>Mt(Zt,!0),et=Zt=>Mt(Zt,!1);function St(Zt,Kt){return Vo(Zt,Sn=>Sn.empty?Zt.moveByGroup(Sn,Kt):Bn(Sn,Kt))}const Ht=Zt=>St(Zt,!rn(Zt)),er=Zt=>St(Zt,rn(Zt)),Mr=Zt=>St(Zt,!0),mn=Zt=>St(Zt,!1),Un=typeof Intl<"u"&&Intl.Segmenter?new Intl.Segmenter(void 0,{granularity:"word"}):null;function hr(Zt,Kt,Sn){let wn=Zt.state.charCategorizer(Kt.from),_r=CharCategory.Space,Ve=Kt.from,tt=0,bt=!1,an=!1,Wn=!1,nr=to=>{if(bt)return!1;Ve+=Sn?to.length:-to.length;let qo=wn(to),Pa;if(qo==CharCategory.Word&&to.charCodeAt(0)<128&&/[\W_]/.test(to)&&(qo=-1),_r==CharCategory.Space&&(_r=qo),_r!=qo)return!1;if(_r==CharCategory.Word)if(to.toLowerCase()==to){if(!Sn&&an)return!1;Wn=!0}else if(Wn){if(Sn)return!1;bt=!0}else{if(an&&Sn&&wn(Pa=Zt.state.sliceDoc(Ve,Ve+1))==CharCategory.Word&&Pa.toLowerCase()==Pa)return!1;an=!0}return tt++,!0},Nr=Zt.moveByChar(Kt,Sn,to=>(nr(to),nr));if(Un&&_r==CharCategory.Word&&Nr.from==Kt.from+tt*(Sn?1:-1)){let to=Math.min(Kt.head,Nr.head),qo=Math.max(Kt.head,Nr.head),Pa=Zt.state.sliceDoc(to,qo);if(Pa.length>1&&/[\u4E00-\uffff]/.test(Pa)){let $a=Array.from(Un.segment(Pa));if($a.length>1)return Sn?EditorSelection.cursor(Kt.head+$a[1].index,-1):EditorSelection.cursor(Nr.head+$a[$a.length-1].index,1)}}return Nr}function br(Zt,Kt){return Vo(Zt,Sn=>Sn.empty?hr(Zt,Sn,Kt):Bn(Sn,Kt))}const io=Zt=>br(Zt,!0),Kr=Zt=>br(Zt,!1);function xo(Zt,Kt,Sn){if(Kt.type.prop(Sn))return!0;let wn=Kt.to-Kt.from;return wn&&(wn>2||/[^\s,.;:]/.test(Zt.sliceDoc(Kt.from,Kt.to)))||Kt.firstChild}function Ho(Zt,Kt,Sn){let wn=(0,J.qz)(Zt).resolveInner(Kt.head),_r=Sn?Zn.md.closedBy:Zn.md.openedBy;for(let an=Kt.head;;){let Wn=Sn?wn.childAfter(an):wn.childBefore(an);if(!Wn)break;xo(Zt,Wn,_r)?wn=Wn:an=Sn?Wn.to:Wn.from}let Ve=wn.type.prop(_r),tt,bt;return Ve&&(tt=Sn?(0,J.Um)(Zt,wn.from,1):(0,J.Um)(Zt,wn.to,-1))&&tt.matched?bt=Sn?tt.end.to:tt.end.from:bt=Sn?wn.to:wn.from,A.EditorSelection.cursor(bt,Sn?-1:1)}const bo=Zt=>Vo(Zt,Kt=>Ho(Zt.state,Kt,!rn(Zt))),Ea=Zt=>Vo(Zt,Kt=>Ho(Zt.state,Kt,rn(Zt)));function Ia(Zt,Kt){return Vo(Zt,Sn=>{if(!Sn.empty)return Bn(Sn,Kt);let wn=Zt.moveVertically(Sn,Kt);return wn.head!=Sn.head?wn:Zt.moveToLineBoundary(Sn,Kt)})}const Da=Zt=>Ia(Zt,!1),Za=Zt=>Ia(Zt,!0);function Xa(Zt){let Kt=Zt.scrollDOM.clientHeight<Zt.scrollDOM.scrollHeight-2,Sn=0,wn=0,_r;if(Kt){for(let Ve of Zt.state.facet(s.tk.scrollMargins)){let tt=Ve(Zt);tt!=null&&tt.top&&(Sn=Math.max(tt==null?void 0:tt.top,Sn)),tt!=null&&tt.bottom&&(wn=Math.max(tt==null?void 0:tt.bottom,wn))}_r=Zt.scrollDOM.clientHeight-Sn-wn}else _r=(Zt.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:Sn,marginBottom:wn,selfScroll:Kt,height:Math.max(Zt.defaultLineHeight,_r-5)}}function ba(Zt,Kt){let Sn=Xa(Zt),{state:wn}=Zt,_r=Dr(wn.selection,tt=>tt.empty?Zt.moveVertically(tt,Kt,Sn.height):Bn(tt,Kt));if(_r.eq(wn.selection))return!1;let Ve;if(Sn.selfScroll){let tt=Zt.coordsAtPos(wn.selection.main.head),bt=Zt.scrollDOM.getBoundingClientRect(),an=bt.top+Sn.marginTop,Wn=bt.bottom-Sn.marginBottom;tt&&tt.top>an&&tt.bottom<Wn&&(Ve=s.tk.scrollIntoView(_r.main.head,{y:"start",yMargin:tt.top-an}))}return Zt.dispatch(eo(wn,_r),{effects:Ve}),!0}const ns=Zt=>ba(Zt,!1),Ja=Zt=>ba(Zt,!0);function Is(Zt,Kt,Sn){let wn=Zt.lineBlockAt(Kt.head),_r=Zt.moveToLineBoundary(Kt,Sn);if(_r.head==Kt.head&&_r.head!=(Sn?wn.to:wn.from)&&(_r=Zt.moveToLineBoundary(Kt,Sn,!1)),!Sn&&_r.head==wn.from&&wn.length){let Ve=/^\s*/.exec(Zt.state.sliceDoc(wn.from,Math.min(wn.from+100,wn.to)))[0].length;Ve&&Kt.head!=wn.from+Ve&&(_r=A.EditorSelection.cursor(wn.from+Ve))}return _r}const Vr=Zt=>Vo(Zt,Kt=>Is(Zt,Kt,!0)),Qr=Zt=>Vo(Zt,Kt=>Is(Zt,Kt,!1)),To=Zt=>Vo(Zt,Kt=>Is(Zt,Kt,!rn(Zt))),xr=Zt=>Vo(Zt,Kt=>Is(Zt,Kt,rn(Zt))),uo=Zt=>Vo(Zt,Kt=>A.EditorSelection.cursor(Zt.lineBlockAt(Kt.head).from,1)),Mo=Zt=>Vo(Zt,Kt=>A.EditorSelection.cursor(Zt.lineBlockAt(Kt.head).to,-1));function go(Zt,Kt,Sn){let wn=!1,_r=Dr(Zt.selection,Ve=>{let tt=(0,J.Um)(Zt,Ve.head,-1)||(0,J.Um)(Zt,Ve.head,1)||Ve.head>0&&(0,J.Um)(Zt,Ve.head-1,1)||Ve.head<Zt.doc.length&&(0,J.Um)(Zt,Ve.head+1,-1);if(!tt||!tt.end)return Ve;wn=!0;let bt=tt.start.from==Ve.head?tt.end.to:tt.end.from;return Sn?A.EditorSelection.range(Ve.anchor,bt):A.EditorSelection.cursor(bt)});return wn?(Kt(eo(Zt,_r)),!0):!1}const ea=({state:Zt,dispatch:Kt})=>go(Zt,Kt,!1),ha=({state:Zt,dispatch:Kt})=>go(Zt,Kt,!0);function yr(Zt,Kt){let Sn=Dr(Zt.state.selection,wn=>{let _r=Kt(wn);return A.EditorSelection.range(wn.anchor,_r.head,_r.goalColumn,_r.bidiLevel||void 0)});return Sn.eq(Zt.state.selection)?!1:(Zt.dispatch(eo(Zt.state,Sn)),!0)}function Lr(Zt,Kt){return yr(Zt,Sn=>Zt.moveByChar(Sn,Kt))}const ao=Zt=>Lr(Zt,!rn(Zt)),ho=Zt=>Lr(Zt,rn(Zt)),Lo=Zt=>Lr(Zt,!0),Yo=Zt=>Lr(Zt,!1),jo=Zt=>yr(Zt,Kt=>Ze(Zt.state,Kt,!0)),Xo=Zt=>yr(Zt,Kt=>Ze(Zt.state,Kt,!1));function Ua(Zt,Kt){return yr(Zt,Sn=>Zt.moveByGroup(Sn,Kt))}const ds=Zt=>Ua(Zt,!rn(Zt)),us=Zt=>Ua(Zt,rn(Zt)),ys=Zt=>Ua(Zt,!0),Ys=Zt=>Ua(Zt,!1);function Gs(Zt,Kt){return yr(Zt,Sn=>hr(Zt,Sn,Kt))}const xs=Zt=>Gs(Zt,!0),Ai=Zt=>Gs(Zt,!1),Pi=Zt=>yr(Zt,Kt=>Ho(Zt.state,Kt,!rn(Zt))),ei=Zt=>yr(Zt,Kt=>Ho(Zt.state,Kt,rn(Zt)));function hi(Zt,Kt){return yr(Zt,Sn=>Zt.moveVertically(Sn,Kt))}const ks=Zt=>hi(Zt,!1),Ms=Zt=>hi(Zt,!0);function bs(Zt,Kt){return yr(Zt,Sn=>Zt.moveVertically(Sn,Kt,Xa(Zt).height))}const Hs=Zt=>bs(Zt,!1),Os=Zt=>bs(Zt,!0),Vs=Zt=>yr(Zt,Kt=>Is(Zt,Kt,!0)),_s=Zt=>yr(Zt,Kt=>Is(Zt,Kt,!1)),fs=Zt=>yr(Zt,Kt=>Is(Zt,Kt,!rn(Zt))),Ss=Zt=>yr(Zt,Kt=>Is(Zt,Kt,rn(Zt))),hs=Zt=>yr(Zt,Kt=>A.EditorSelection.cursor(Zt.lineBlockAt(Kt.head).from)),li=Zt=>yr(Zt,Kt=>A.EditorSelection.cursor(Zt.lineBlockAt(Kt.head).to)),Ni=({state:Zt,dispatch:Kt})=>(Kt(eo(Zt,{anchor:0})),!0),Ji=({state:Zt,dispatch:Kt})=>(Kt(eo(Zt,{anchor:Zt.doc.length})),!0),wi=({state:Zt,dispatch:Kt})=>(Kt(eo(Zt,{anchor:Zt.selection.main.anchor,head:0})),!0),vi=({state:Zt,dispatch:Kt})=>(Kt(eo(Zt,{anchor:Zt.selection.main.anchor,head:Zt.doc.length})),!0),sl=({state:Zt,dispatch:Kt})=>(Kt(Zt.update({selection:{anchor:0,head:Zt.doc.length},userEvent:"select"})),!0),Zi=({state:Zt,dispatch:Kt})=>{let Sn=it(Zt).map(({from:wn,to:_r})=>A.EditorSelection.range(wn,Math.min(_r+1,Zt.doc.length)));return Kt(Zt.update({selection:A.EditorSelection.create(Sn),userEvent:"select"})),!0},Zs=({state:Zt,dispatch:Kt})=>{let Sn=Dr(Zt.selection,wn=>{let _r=(0,J.qz)(Zt),Ve=_r.resolveStack(wn.from,1);if(wn.empty){let tt=_r.resolveStack(wn.from,-1);tt.node.from>=Ve.node.from&&tt.node.to<=Ve.node.to&&(Ve=tt)}for(let tt=Ve;tt;tt=tt.next){let{node:bt}=tt;if((bt.from<wn.from&&bt.to>=wn.to||bt.to>wn.to&&bt.from<=wn.from)&&tt.next)return A.EditorSelection.range(bt.to,bt.from)}return wn});return Sn.eq(Zt.selection)?!1:(Kt(eo(Zt,Sn)),!0)},Bs=({state:Zt,dispatch:Kt})=>{let Sn=Zt.selection,wn=null;return Sn.ranges.length>1?wn=A.EditorSelection.create([Sn.main]):Sn.main.empty||(wn=A.EditorSelection.create([A.EditorSelection.cursor(Sn.main.head)])),wn?(Kt(eo(Zt,wn)),!0):!1};function ti(Zt,Kt){if(Zt.state.readOnly)return!1;let Sn="delete.selection",{state:wn}=Zt,_r=wn.changeByRange(Ve=>{let{from:tt,to:bt}=Ve;if(tt==bt){let an=Kt(Ve);an<tt?(Sn="delete.backward",an=gi(Zt,an,!1)):an>tt&&(Sn="delete.forward",an=gi(Zt,an,!0)),tt=Math.min(tt,an),bt=Math.max(bt,an)}else tt=gi(Zt,tt,!1),bt=gi(Zt,bt,!0);return tt==bt?{range:Ve}:{changes:{from:tt,to:bt},range:A.EditorSelection.cursor(tt,tt<Ve.head?-1:1)}});return _r.changes.empty?!1:(Zt.dispatch(wn.update(_r,{scrollIntoView:!0,userEvent:Sn,effects:Sn=="delete.selection"?s.tk.announce.of(wn.phrase("Selection deleted")):void 0})),!0)}function gi(Zt,Kt,Sn){if(Zt instanceof s.tk)for(let wn of Zt.state.facet(s.tk.atomicRanges).map(_r=>_r(Zt)))wn.between(Kt,Kt,(_r,Ve)=>{_r<Kt&&Ve>Kt&&(Kt=Sn?Ve:_r)});return Kt}const yi=(Zt,Kt,Sn)=>ti(Zt,wn=>{let _r=wn.from,{state:Ve}=Zt,tt=Ve.doc.lineAt(_r),bt,an;if(Sn&&!Kt&&_r>tt.from&&_r<tt.from+200&&!/[^ \t]/.test(bt=tt.text.slice(0,_r-tt.from))){if(bt[bt.length-1]=="	")return _r-1;let Wn=(0,A.countColumn)(bt,Ve.tabSize),nr=Wn%(0,J.y1)(Ve)||(0,J.y1)(Ve);for(let Nr=0;Nr<nr&&bt[bt.length-1-Nr]==" ";Nr++)_r--;an=_r}else an=(0,A.findClusterBreak)(tt.text,_r-tt.from,Kt,Kt)+tt.from,an==_r&&tt.number!=(Kt?Ve.doc.lines:1)?an+=Kt?1:-1:!Kt&&/[\ufe00-\ufe0f]/.test(tt.text.slice(an-tt.from,_r-tt.from))&&(an=(0,A.findClusterBreak)(tt.text,an-tt.from,!1,!1)+tt.from);return an}),ki=Zt=>yi(Zt,!1,!0),bi=Zt=>yi(Zt,!1,!1),nl=Zt=>yi(Zt,!0,!1),Si=(Zt,Kt)=>ti(Zt,Sn=>{let wn=Sn.head,{state:_r}=Zt,Ve=_r.doc.lineAt(wn),tt=_r.charCategorizer(wn);for(let bt=null;;){if(wn==(Kt?Ve.to:Ve.from)){wn==Sn.head&&Ve.number!=(Kt?_r.doc.lines:1)&&(wn+=Kt?1:-1);break}let an=(0,A.findClusterBreak)(Ve.text,wn-Ve.from,Kt)+Ve.from,Wn=Ve.text.slice(Math.min(wn,an)-Ve.from,Math.max(wn,an)-Ve.from),nr=tt(Wn);if(bt!=null&&nr!=bt)break;(Wn!=" "||wn!=Sn.head)&&(bt=nr),wn=an}return wn}),ta=Zt=>Si(Zt,!1),ke=Zt=>Si(Zt,!0),Jt=Zt=>ti(Zt,Kt=>{let Sn=Zt.lineBlockAt(Kt.head).to;return Kt.head<Sn?Sn:Math.min(Zt.state.doc.length,Kt.head+1)}),Fn=Zt=>ti(Zt,Kt=>{let Sn=Zt.lineBlockAt(Kt.head).from;return Kt.head>Sn?Sn:Math.max(0,Kt.head-1)}),mr=Zt=>ti(Zt,Kt=>{let Sn=Zt.moveToLineBoundary(Kt,!1).head;return Kt.head>Sn?Sn:Math.max(0,Kt.head-1)}),Tr=Zt=>ti(Zt,Kt=>{let Sn=Zt.moveToLineBoundary(Kt,!0).head;return Kt.head<Sn?Sn:Math.min(Zt.state.doc.length,Kt.head+1)}),Oo=({state:Zt,dispatch:Kt})=>{if(Zt.readOnly)return!1;let Sn=[];for(let wn=0,_r="",Ve=Zt.doc.iter();;){if(Ve.next(),Ve.lineBreak||Ve.done){let tt=_r.search(/\s+$/);if(tt>-1&&Sn.push({from:wn-(_r.length-tt),to:wn}),Ve.done)break;_r=""}else _r=Ve.value;wn+=Ve.value.length}return Sn.length?(Kt(Zt.update({changes:Sn,userEvent:"delete"})),!0):!1},Uo=({state:Zt,dispatch:Kt})=>{if(Zt.readOnly)return!1;let Sn=Zt.changeByRange(wn=>({changes:{from:wn.from,to:wn.to,insert:A.Text.of(["",""])},range:A.EditorSelection.cursor(wn.from)}));return Kt(Zt.update(Sn,{scrollIntoView:!0,userEvent:"input"})),!0},gt=({state:Zt,dispatch:Kt})=>{if(Zt.readOnly)return!1;let Sn=Zt.changeByRange(wn=>{if(!wn.empty||wn.from==0||wn.from==Zt.doc.length)return{range:wn};let _r=wn.from,Ve=Zt.doc.lineAt(_r),tt=_r==Ve.from?_r-1:(0,A.findClusterBreak)(Ve.text,_r-Ve.from,!1)+Ve.from,bt=_r==Ve.to?_r+1:(0,A.findClusterBreak)(Ve.text,_r-Ve.from,!0)+Ve.from;return{changes:{from:tt,to:bt,insert:Zt.doc.slice(_r,bt).append(Zt.doc.slice(tt,_r))},range:A.EditorSelection.cursor(bt)}});return Sn.changes.empty?!1:(Kt(Zt.update(Sn,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function it(Zt){let Kt=[],Sn=-1;for(let wn of Zt.selection.ranges){let _r=Zt.doc.lineAt(wn.from),Ve=Zt.doc.lineAt(wn.to);if(!wn.empty&&wn.to==Ve.from&&(Ve=Zt.doc.lineAt(wn.to-1)),Sn>=_r.number){let tt=Kt[Kt.length-1];tt.to=Ve.to,tt.ranges.push(wn)}else Kt.push({from:_r.from,to:Ve.to,ranges:[wn]});Sn=Ve.number+1}return Kt}function Lt(Zt,Kt,Sn){if(Zt.readOnly)return!1;let wn=[],_r=[];for(let Ve of it(Zt)){if(Sn?Ve.to==Zt.doc.length:Ve.from==0)continue;let tt=Zt.doc.lineAt(Sn?Ve.to+1:Ve.from-1),bt=tt.length+1;if(Sn){wn.push({from:Ve.to,to:tt.to},{from:Ve.from,insert:tt.text+Zt.lineBreak});for(let an of Ve.ranges)_r.push(A.EditorSelection.range(Math.min(Zt.doc.length,an.anchor+bt),Math.min(Zt.doc.length,an.head+bt)))}else{wn.push({from:tt.from,to:Ve.from},{from:Ve.to,insert:Zt.lineBreak+tt.text});for(let an of Ve.ranges)_r.push(A.EditorSelection.range(an.anchor-bt,an.head-bt))}}return wn.length?(Kt(Zt.update({changes:wn,scrollIntoView:!0,selection:A.EditorSelection.create(_r,Zt.selection.mainIndex),userEvent:"move.line"})),!0):!1}const $t=({state:Zt,dispatch:Kt})=>Lt(Zt,Kt,!1),_n=({state:Zt,dispatch:Kt})=>Lt(Zt,Kt,!0);function dn(Zt,Kt,Sn){if(Zt.readOnly)return!1;let wn=[];for(let _r of it(Zt))Sn?wn.push({from:_r.from,insert:Zt.doc.slice(_r.from,_r.to)+Zt.lineBreak}):wn.push({from:_r.to,insert:Zt.lineBreak+Zt.doc.slice(_r.from,_r.to)});return Kt(Zt.update({changes:wn,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const Jn=({state:Zt,dispatch:Kt})=>dn(Zt,Kt,!1),Hn=({state:Zt,dispatch:Kt})=>dn(Zt,Kt,!0),jr=Zt=>{if(Zt.state.readOnly)return!1;let{state:Kt}=Zt,Sn=Kt.changes(it(Kt).map(({from:_r,to:Ve})=>(_r>0?_r--:Ve<Kt.doc.length&&Ve++,{from:_r,to:Ve}))),wn=Dr(Kt.selection,_r=>{let Ve;if(Zt.lineWrapping){let tt=Zt.lineBlockAt(_r.head),bt=Zt.coordsAtPos(_r.head,_r.assoc||1);bt&&(Ve=tt.bottom+Zt.documentTop-bt.bottom+Zt.defaultLineHeight/2)}return Zt.moveVertically(_r,!0,Ve)}).map(Sn);return Zt.dispatch({changes:Sn,selection:wn,scrollIntoView:!0,userEvent:"delete.line"}),!0},wo=({state:Zt,dispatch:Kt})=>(Kt(Zt.update(Zt.replaceSelection(Zt.lineBreak),{scrollIntoView:!0,userEvent:"input"})),!0),ko=({state:Zt,dispatch:Kt})=>(Kt(Zt.update(Zt.changeByRange(Sn=>{let wn=/^\s*/.exec(Zt.doc.lineAt(Sn.from).text)[0];return{changes:{from:Sn.from,to:Sn.to,insert:Zt.lineBreak+wn},range:EditorSelection.cursor(Sn.from+wn.length+1)}}),{scrollIntoView:!0,userEvent:"input"})),!0);function Sa(Zt,Kt){if(/\(\)|\[\]|\{\}/.test(Zt.sliceDoc(Kt-1,Kt+1)))return{from:Kt,to:Kt};let Sn=(0,J.qz)(Zt).resolveInner(Kt),wn=Sn.childBefore(Kt),_r=Sn.childAfter(Kt),Ve;return wn&&_r&&wn.to<=Kt&&_r.from>=Kt&&(Ve=wn.type.prop(Zn.md.closedBy))&&Ve.indexOf(_r.name)>-1&&Zt.doc.lineAt(wn.to).from==Zt.doc.lineAt(_r.from).from&&!/\S/.test(Zt.sliceDoc(wn.to,_r.from))?{from:wn.to,to:_r.from}:null}const Na=ms(!1),qa=ms(!0);function ms(Zt){return({state:Kt,dispatch:Sn})=>{if(Kt.readOnly)return!1;let wn=Kt.changeByRange(_r=>{let{from:Ve,to:tt}=_r,bt=Kt.doc.lineAt(Ve),an=!Zt&&Ve==tt&&Sa(Kt,Ve);Zt&&(Ve=tt=(tt<=bt.to?bt:Kt.doc.lineAt(tt)).to);let Wn=new J.Gn(Kt,{simulateBreak:Ve,simulateDoubleBreak:!!an}),nr=(0,J.K0)(Wn,Ve);for(nr==null&&(nr=(0,A.countColumn)(/^\s*/.exec(Kt.doc.lineAt(Ve).text)[0],Kt.tabSize));tt<bt.to&&/\s/.test(bt.text[tt-bt.from]);)tt++;an?{from:Ve,to:tt}=an:Ve>bt.from&&Ve<bt.from+100&&!/\S/.test(bt.text.slice(0,Ve))&&(Ve=bt.from);let Nr=["",(0,J.SS)(Kt,nr)];return an&&Nr.push((0,J.SS)(Kt,Wn.lineIndent(bt.from,-1))),{changes:{from:Ve,to:tt,insert:A.Text.of(Nr)},range:A.EditorSelection.cursor(Ve+1+Nr[1].length)}});return Sn(Kt.update(wn,{scrollIntoView:!0,userEvent:"input"})),!0}}function Us(Zt,Kt){let Sn=-1;return Zt.changeByRange(wn=>{let _r=[];for(let tt=wn.from;tt<=wn.to;){let bt=Zt.doc.lineAt(tt);bt.number>Sn&&(wn.empty||wn.to>bt.from)&&(Kt(bt,_r,wn),Sn=bt.number),tt=bt.to+1}let Ve=Zt.changes(_r);return{changes:_r,range:A.EditorSelection.range(Ve.mapPos(wn.anchor,1),Ve.mapPos(wn.head,1))}})}const $i=({state:Zt,dispatch:Kt})=>{if(Zt.readOnly)return!1;let Sn=Object.create(null),wn=new J.Gn(Zt,{overrideIndentation:Ve=>{let tt=Sn[Ve];return tt??-1}}),_r=Us(Zt,(Ve,tt,bt)=>{let an=(0,J.K0)(wn,Ve.from);if(an==null)return;/\S/.test(Ve.text)||(an=0);let Wn=/^\s*/.exec(Ve.text)[0],nr=(0,J.SS)(Zt,an);(Wn!=nr||bt.from<Ve.from+Wn.length)&&(Sn[Ve.from]=an,tt.push({from:Ve.from,to:Ve.from+Wn.length,insert:nr}))});return _r.changes.empty||Kt(Zt.update(_r,{userEvent:"indent"})),!0},Mi=({state:Zt,dispatch:Kt})=>Zt.readOnly?!1:(Kt(Zt.update(Us(Zt,(Sn,wn)=>{wn.push({from:Sn.from,insert:Zt.facet(J.c)})}),{userEvent:"input.indent"})),!0),si=({state:Zt,dispatch:Kt})=>Zt.readOnly?!1:(Kt(Zt.update(Us(Zt,(Sn,wn)=>{let _r=/^\s*/.exec(Sn.text)[0];if(!_r)return;let Ve=(0,A.countColumn)(_r,Zt.tabSize),tt=0,bt=(0,J.SS)(Zt,Math.max(0,Ve-(0,J.y1)(Zt)));for(;tt<_r.length&&tt<bt.length&&_r.charCodeAt(tt)==bt.charCodeAt(tt);)tt++;wn.push({from:Sn.from+tt,to:Sn.from+_r.length,insert:bt.slice(tt)})}),{userEvent:"delete.dedent"})),!0),rl=Zt=>(Zt.setTabFocusMode(),!0),El=Zt=>(Zt.setTabFocusMode(2e3),!0),Ui=({state:Zt,dispatch:Kt})=>Zt.selection.ranges.some(Sn=>!Sn.empty)?Mi({state:Zt,dispatch:Kt}):(Kt(Zt.update(Zt.replaceSelection("	"),{scrollIntoView:!0,userEvent:"input"})),!0),il=[{key:"Ctrl-b",run:Rt,shift:ao,preventDefault:!0},{key:"Ctrl-f",run:Qe,shift:ho},{key:"Ctrl-p",run:Da,shift:ks},{key:"Ctrl-n",run:Za,shift:Ms},{key:"Ctrl-a",run:uo,shift:hs},{key:"Ctrl-e",run:Mo,shift:li},{key:"Ctrl-d",run:nl},{key:"Ctrl-h",run:ki},{key:"Ctrl-k",run:Jt},{key:"Ctrl-Alt-h",run:ta},{key:"Ctrl-o",run:Uo},{key:"Ctrl-t",run:gt},{key:"Ctrl-v",run:Ja}],fl=[{key:"ArrowLeft",run:Rt,shift:ao,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:Ht,shift:ds,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:To,shift:fs,preventDefault:!0},{key:"ArrowRight",run:Qe,shift:ho,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:er,shift:us,preventDefault:!0},{mac:"Cmd-ArrowRight",run:xr,shift:Ss,preventDefault:!0},{key:"ArrowUp",run:Da,shift:ks,preventDefault:!0},{mac:"Cmd-ArrowUp",run:Ni,shift:wi},{mac:"Ctrl-ArrowUp",run:ns,shift:Hs},{key:"ArrowDown",run:Za,shift:Ms,preventDefault:!0},{mac:"Cmd-ArrowDown",run:Ji,shift:vi},{mac:"Ctrl-ArrowDown",run:Ja,shift:Os},{key:"PageUp",run:ns,shift:Hs},{key:"PageDown",run:Ja,shift:Os},{key:"Home",run:Qr,shift:_s,preventDefault:!0},{key:"Mod-Home",run:Ni,shift:wi},{key:"End",run:Vr,shift:Vs,preventDefault:!0},{key:"Mod-End",run:Ji,shift:vi},{key:"Enter",run:Na,shift:Na},{key:"Mod-a",run:sl},{key:"Backspace",run:ki,shift:ki},{key:"Delete",run:nl},{key:"Mod-Backspace",mac:"Alt-Backspace",run:ta},{key:"Mod-Delete",mac:"Alt-Delete",run:ke},{mac:"Mod-Backspace",run:mr},{mac:"Mod-Delete",run:Tr}].concat(il.map(Zt=>({mac:Zt.key,run:Zt.run,shift:Zt.shift}))),oi=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:bo,shift:Pi},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Ea,shift:ei},{key:"Alt-ArrowUp",run:$t},{key:"Shift-Alt-ArrowUp",run:Jn},{key:"Alt-ArrowDown",run:_n},{key:"Shift-Alt-ArrowDown",run:Hn},{key:"Escape",run:Bs},{key:"Mod-Enter",run:qa},{key:"Alt-l",mac:"Ctrl-l",run:Zi},{key:"Mod-i",run:Zs,preventDefault:!0},{key:"Mod-[",run:si},{key:"Mod-]",run:Mi},{key:"Mod-Alt-\\",run:$i},{key:"Shift-Mod-k",run:jr},{key:"Shift-Mod-\\",run:ea},{key:"Mod-/",run:$n},{key:"Alt-A",run:Nn},{key:"Ctrl-m",mac:"Shift-Alt-m",run:rl}].concat(fl),Nl=null;class xl{constructor(Kt,Sn,wn,_r){this.state=Kt,this.pos=Sn,this.explicit=wn,this.view=_r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(Kt){let Sn=(0,J.qz)(this.state).resolveInner(this.pos,-1);for(;Sn&&Kt.indexOf(Sn.name)<0;)Sn=Sn.parent;return Sn?{from:Sn.from,to:this.pos,text:this.state.sliceDoc(Sn.from,this.pos),type:Sn.type}:null}matchBefore(Kt){let Sn=this.state.doc.lineAt(this.pos),wn=Math.max(Sn.from,this.pos-250),_r=Sn.text.slice(wn-Sn.from,this.pos-Sn.from),Ve=_r.search($l(Kt,!1));return Ve<0?null:{from:wn+Ve,to:this.pos,text:_r.slice(Ve)}}get aborted(){return this.abortListeners==null}addEventListener(Kt,Sn,wn){Kt=="abort"&&this.abortListeners&&(this.abortListeners.push(Sn),wn&&wn.onDocChange&&(this.abortOnDocChange=!0))}}function Ic(Zt){let Kt=Object.keys(Zt).join(""),Sn=/\w/.test(Kt);return Sn&&(Kt=Kt.replace(/\w/g,"")),`[${Sn?"\\w":""}${Kt.replace(/[^\w\s]/g,"\\$&")}]`}function Kl(Zt){let Kt=Object.create(null),Sn=Object.create(null);for(let{label:_r}of Zt){Kt[_r[0]]=!0;for(let Ve=1;Ve<_r.length;Ve++)Sn[_r[Ve]]=!0}let wn=Ic(Kt)+Ic(Sn)+"*$";return[new RegExp("^"+wn),new RegExp(wn)]}function Jl(Zt){let Kt=Zt.map(_r=>typeof _r=="string"?{label:_r}:_r),[Sn,wn]=Kt.every(_r=>/^\w+$/.test(_r.label))?[/\w*$/,/\w+$/]:Kl(Kt);return _r=>{let Ve=_r.matchBefore(wn);return Ve||_r.explicit?{from:Ve?Ve.from:_r.pos,options:Kt,validFor:Sn}:null}}function Vi(Zt,Kt){return Sn=>{for(let wn=syntaxTree(Sn.state).resolveInner(Sn.pos,-1);wn;wn=wn.parent){if(Zt.indexOf(wn.name)>-1)return Kt(Sn);if(wn.type.isTop)break}return null}}function _c(Zt,Kt){return Sn=>{for(let wn=syntaxTree(Sn.state).resolveInner(Sn.pos,-1);wn;wn=wn.parent){if(Zt.indexOf(wn.name)>-1)return null;if(wn.type.isTop)break}return Kt(Sn)}}class mc{constructor(Kt,Sn,wn,_r){this.completion=Kt,this.source=Sn,this.match=wn,this.score=_r}}function zl(Zt){return Zt.selection.main.from}function $l(Zt,Kt){var Sn;let{source:wn}=Zt,_r=Kt&&wn[0]!="^",Ve=wn[wn.length-1]!="$";return!_r&&!Ve?Zt:new RegExp(`${_r?"^":""}(?:${wn})${Ve?"$":""}`,(Sn=Zt.flags)!==null&&Sn!==void 0?Sn:Zt.ignoreCase?"i":"")}const ln=A.Annotation.define();function sn(Zt,Kt,Sn,wn){let{main:_r}=Zt.selection,Ve=Sn-_r.from,tt=wn-_r.from;return Object.assign(Object.assign({},Zt.changeByRange(bt=>{if(bt!=_r&&Sn!=wn&&Zt.sliceDoc(bt.from+Ve,bt.from+tt)!=Zt.sliceDoc(Sn,wn))return{range:bt};let an=Zt.toText(Kt);return{changes:{from:bt.from+Ve,to:wn==_r.from?bt.to:bt.from+tt,insert:an},range:A.EditorSelection.cursor(bt.from+Ve+an.length)}})),{scrollIntoView:!0,userEvent:"input.complete"})}const zn=new WeakMap;function Er(Zt){if(!Array.isArray(Zt))return Zt;let Kt=zn.get(Zt);return Kt||zn.set(Zt,Kt=Jl(Zt)),Kt}const zr=A.StateEffect.define(),Ao=A.StateEffect.define();class Zo{constructor(Kt){this.pattern=Kt,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let Sn=0;Sn<Kt.length;){let wn=(0,A.codePointAt)(Kt,Sn),_r=(0,A.codePointSize)(wn);this.chars.push(wn);let Ve=Kt.slice(Sn,Sn+_r),tt=Ve.toUpperCase();this.folded.push((0,A.codePointAt)(tt==Ve?Ve.toLowerCase():tt,0)),Sn+=_r}this.astral=Kt.length!=this.chars.length}ret(Kt,Sn){return this.score=Kt,this.matched=Sn,this}match(Kt){if(this.pattern.length==0)return this.ret(-100,[]);if(Kt.length<this.pattern.length)return null;let{chars:Sn,folded:wn,any:_r,precise:Ve,byWord:tt}=this;if(Sn.length==1){let Ns=(0,A.codePointAt)(Kt,0),Fi=(0,A.codePointSize)(Ns),xi=Fi==Kt.length?0:-100;if(Ns!=Sn[0])if(Ns==wn[0])xi+=-200;else return null;return this.ret(xi,[0,Fi])}let bt=Kt.indexOf(this.pattern);if(bt==0)return this.ret(Kt.length==this.pattern.length?0:-100,[0,this.pattern.length]);let an=Sn.length,Wn=0;if(bt<0){for(let Ns=0,Fi=Math.min(Kt.length,200);Ns<Fi&&Wn<an;){let xi=(0,A.codePointAt)(Kt,Ns);(xi==Sn[Wn]||xi==wn[Wn])&&(_r[Wn++]=Ns),Ns+=(0,A.codePointSize)(xi)}if(Wn<an)return null}let nr=0,Nr=0,to=!1,qo=0,Pa=-1,$a=-1,ss=/[a-z]/.test(Kt),cs=!0;for(let Ns=0,Fi=Math.min(Kt.length,200),xi=0;Ns<Fi&&Nr<an;){let ni=(0,A.codePointAt)(Kt,Ns);bt<0&&(nr<an&&ni==Sn[nr]&&(Ve[nr++]=Ns),qo<an&&(ni==Sn[qo]||ni==wn[qo]?(qo==0&&(Pa=Ns),$a=Ns+1,qo++):qo=0));let dl,Ec=ni<255?ni>=48&&ni<=57||ni>=97&&ni<=122?2:ni>=65&&ni<=90?1:0:(dl=(0,A.fromCodePoint)(ni))!=dl.toLowerCase()?1:dl!=dl.toUpperCase()?2:0;(!Ns||Ec==1&&ss||xi==0&&Ec!=0)&&(Sn[Nr]==ni||wn[Nr]==ni&&(to=!0)?tt[Nr++]=Ns:tt.length&&(cs=!1)),xi=Ec,Ns+=(0,A.codePointSize)(ni)}return Nr==an&&tt[0]==0&&cs?this.result(-100+(to?-200:0),tt,Kt):qo==an&&Pa==0?this.ret(-200-Kt.length+($a==Kt.length?0:-100),[0,$a]):bt>-1?this.ret(-700-Kt.length,[bt,bt+this.pattern.length]):qo==an?this.ret(-900-Kt.length,[Pa,$a]):Nr==an?this.result(-100+(to?-200:0)+-700+(cs?0:-1100),tt,Kt):Sn.length==2?null:this.result((_r[0]?-700:0)+-200+-1100,_r,Kt)}result(Kt,Sn,wn){let _r=[],Ve=0;for(let tt of Sn){let bt=tt+(this.astral?(0,A.codePointSize)((0,A.codePointAt)(wn,tt)):1);Ve&&_r[Ve-1]==tt?_r[Ve-1]=bt:(_r[Ve++]=tt,_r[Ve++]=bt)}return this.ret(Kt-wn.length,_r)}}class ia{constructor(Kt){this.pattern=Kt,this.matched=[],this.score=0,this.folded=Kt.toLowerCase()}match(Kt){if(Kt.length<this.pattern.length)return null;let Sn=Kt.slice(0,this.pattern.length),wn=Sn==this.pattern?0:Sn.toLowerCase()==this.folded?-200:null;return wn==null?null:(this.matched=[0,Sn.length],this.score=wn+(Kt.length==this.pattern.length?0:-100),this)}}const So=A.Facet.define({combine(Zt){return(0,A.combineConfig)(Zt,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:is,filterStrict:!1,compareCompletions:(Kt,Sn)=>Kt.label.localeCompare(Sn.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(Kt,Sn)=>Kt&&Sn,closeOnBlur:(Kt,Sn)=>Kt&&Sn,icons:(Kt,Sn)=>Kt&&Sn,tooltipClass:(Kt,Sn)=>wn=>Ha(Kt(wn),Sn(wn)),optionClass:(Kt,Sn)=>wn=>Ha(Kt(wn),Sn(wn)),addToOptions:(Kt,Sn)=>Kt.concat(Sn),filterStrict:(Kt,Sn)=>Kt||Sn})}});function Ha(Zt,Kt){return Zt?Kt?Zt+" "+Kt:Zt:Kt}function is(Zt,Kt,Sn,wn,_r,Ve){let tt=Zt.textDirection==s.Nm.RTL,bt=tt,an=!1,Wn="top",nr,Nr,to=Kt.left-_r.left,qo=_r.right-Kt.right,Pa=wn.right-wn.left,$a=wn.bottom-wn.top;if(bt&&to<Math.min(Pa,qo)?bt=!1:!bt&&qo<Math.min(Pa,to)&&(bt=!0),Pa<=(bt?to:qo))nr=Math.max(_r.top,Math.min(Sn.top,_r.bottom-$a))-Kt.top,Nr=Math.min(400,bt?to:qo);else{an=!0,Nr=Math.min(400,(tt?Kt.right:_r.right-Kt.left)-30);let Ns=_r.bottom-Kt.bottom;Ns>=$a||Ns>Kt.top?nr=Sn.bottom-Kt.top:(Wn="bottom",nr=Kt.bottom-Sn.top)}let ss=(Kt.bottom-Kt.top)/Ve.offsetHeight,cs=(Kt.right-Kt.left)/Ve.offsetWidth;return{style:`${Wn}: ${nr/ss}px; max-width: ${Nr/cs}px`,class:"cm-completionInfo-"+(an?tt?"left-narrow":"right-narrow":bt?"left":"right")}}function as(Zt){let Kt=Zt.addToOptions.slice();return Zt.icons&&Kt.push({render(Sn){let wn=document.createElement("div");return wn.classList.add("cm-completionIcon"),Sn.type&&wn.classList.add(...Sn.type.split(/\s+/g).map(_r=>"cm-completionIcon-"+_r)),wn.setAttribute("aria-hidden","true"),wn},position:20}),Kt.push({render(Sn,wn,_r,Ve){let tt=document.createElement("span");tt.className="cm-completionLabel";let bt=Sn.displayLabel||Sn.label,an=0;for(let Wn=0;Wn<Ve.length;){let nr=Ve[Wn++],Nr=Ve[Wn++];nr>an&&tt.appendChild(document.createTextNode(bt.slice(an,nr)));let to=tt.appendChild(document.createElement("span"));to.appendChild(document.createTextNode(bt.slice(nr,Nr))),to.className="cm-completionMatchedText",an=Nr}return an<bt.length&&tt.appendChild(document.createTextNode(bt.slice(an))),tt},position:50},{render(Sn){if(!Sn.detail)return null;let wn=document.createElement("span");return wn.className="cm-completionDetail",wn.textContent=Sn.detail,wn},position:80}),Kt.sort((Sn,wn)=>Sn.position-wn.position).map(Sn=>Sn.render)}function es(Zt,Kt,Sn){if(Zt<=Sn)return{from:0,to:Zt};if(Kt<0&&(Kt=0),Kt<=Zt>>1){let _r=Math.floor(Kt/Sn);return{from:_r*Sn,to:(_r+1)*Sn}}let wn=Math.floor((Zt-Kt)/Sn);return{from:Zt-(wn+1)*Sn,to:Zt-wn*Sn}}class Qs{constructor(Kt,Sn,wn){this.view=Kt,this.stateField=Sn,this.applyCompletion=wn,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:an=>this.placeInfo(an),key:this},this.space=null,this.currentClass="";let _r=Kt.state.field(Sn),{options:Ve,selected:tt}=_r.open,bt=Kt.state.facet(So);this.optionContent=as(bt),this.optionClass=bt.optionClass,this.tooltipClass=bt.tooltipClass,this.range=es(Ve.length,tt,bt.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(Kt.state),this.dom.addEventListener("mousedown",an=>{let{options:Wn}=Kt.state.field(Sn).open;for(let nr=an.target,Nr;nr&&nr!=this.dom;nr=nr.parentNode)if(nr.nodeName=="LI"&&(Nr=/-(\d+)$/.exec(nr.id))&&+Nr[1]<Wn.length){this.applyCompletion(Kt,Wn[+Nr[1]]),an.preventDefault();return}}),this.dom.addEventListener("focusout",an=>{let Wn=Kt.state.field(this.stateField,!1);Wn&&Wn.tooltip&&Kt.state.facet(So).closeOnBlur&&an.relatedTarget!=Kt.contentDOM&&Kt.dispatch({effects:Ao.of(null)})}),this.showOptions(Ve,_r.id)}mount(){this.updateSel()}showOptions(Kt,Sn){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(Kt,Sn,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(Kt){var Sn;let wn=Kt.state.field(this.stateField),_r=Kt.startState.field(this.stateField);if(this.updateTooltipClass(Kt.state),wn!=_r){let{options:Ve,selected:tt,disabled:bt}=wn.open;(!_r.open||_r.open.options!=Ve)&&(this.range=es(Ve.length,tt,Kt.state.facet(So).maxRenderedOptions),this.showOptions(Ve,wn.id)),this.updateSel(),bt!=((Sn=_r.open)===null||Sn===void 0?void 0:Sn.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!bt)}}updateTooltipClass(Kt){let Sn=this.tooltipClass(Kt);if(Sn!=this.currentClass){for(let wn of this.currentClass.split(" "))wn&&this.dom.classList.remove(wn);for(let wn of Sn.split(" "))wn&&this.dom.classList.add(wn);this.currentClass=Sn}}positioned(Kt){this.space=Kt,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let Kt=this.view.state.field(this.stateField),Sn=Kt.open;if((Sn.selected>-1&&Sn.selected<this.range.from||Sn.selected>=this.range.to)&&(this.range=es(Sn.options.length,Sn.selected,this.view.state.facet(So).maxRenderedOptions),this.showOptions(Sn.options,Kt.id)),this.updateSelectedOption(Sn.selected)){this.destroyInfo();let{completion:wn}=Sn.options[Sn.selected],{info:_r}=wn;if(!_r)return;let Ve=typeof _r=="string"?document.createTextNode(_r):_r(wn);if(!Ve)return;"then"in Ve?Ve.then(tt=>{tt&&this.view.state.field(this.stateField,!1)==Kt&&this.addInfoPane(tt,wn)}).catch(tt=>(0,s.OO)(this.view.state,tt,"completion info")):this.addInfoPane(Ve,wn)}}addInfoPane(Kt,Sn){this.destroyInfo();let wn=this.info=document.createElement("div");if(wn.className="cm-tooltip cm-completionInfo",Kt.nodeType!=null)wn.appendChild(Kt),this.infoDestroy=null;else{let{dom:_r,destroy:Ve}=Kt;wn.appendChild(_r),this.infoDestroy=Ve||null}this.dom.appendChild(wn),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(Kt){let Sn=null;for(let wn=this.list.firstChild,_r=this.range.from;wn;wn=wn.nextSibling,_r++)wn.nodeName!="LI"||!wn.id?_r--:_r==Kt?wn.hasAttribute("aria-selected")||(wn.setAttribute("aria-selected","true"),Sn=wn):wn.hasAttribute("aria-selected")&&wn.removeAttribute("aria-selected");return Sn&&rs(this.list,Sn),Sn}measureInfo(){let Kt=this.dom.querySelector("[aria-selected]");if(!Kt||!this.info)return null;let Sn=this.dom.getBoundingClientRect(),wn=this.info.getBoundingClientRect(),_r=Kt.getBoundingClientRect(),Ve=this.space;if(!Ve){let tt=this.dom.ownerDocument.defaultView||window;Ve={left:0,top:0,right:tt.innerWidth,bottom:tt.innerHeight}}return _r.top>Math.min(Ve.bottom,Sn.bottom)-10||_r.bottom<Math.max(Ve.top,Sn.top)+10?null:this.view.state.facet(So).positionInfo(this.view,Sn,_r,wn,Ve,this.dom)}placeInfo(Kt){this.info&&(Kt?(Kt.style&&(this.info.style.cssText=Kt.style),this.info.className="cm-tooltip cm-completionInfo "+(Kt.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(Kt,Sn,wn){const _r=document.createElement("ul");_r.id=Sn,_r.setAttribute("role","listbox"),_r.setAttribute("aria-expanded","true"),_r.setAttribute("aria-label",this.view.state.phrase("Completions"));let Ve=null;for(let tt=wn.from;tt<wn.to;tt++){let{completion:bt,match:an}=Kt[tt],{section:Wn}=bt;if(Wn){let to=typeof Wn=="string"?Wn:Wn.name;if(to!=Ve&&(tt>wn.from||wn.from==0))if(Ve=to,typeof Wn!="string"&&Wn.header)_r.appendChild(Wn.header(Wn));else{let qo=_r.appendChild(document.createElement("completion-section"));qo.textContent=to}}const nr=_r.appendChild(document.createElement("li"));nr.id=Sn+"-"+tt,nr.setAttribute("role","option");let Nr=this.optionClass(bt);Nr&&(nr.className=Nr);for(let to of this.optionContent){let qo=to(bt,this.view.state,this.view,an);qo&&nr.appendChild(qo)}}return wn.from&&_r.classList.add("cm-completionListIncompleteTop"),wn.to<Kt.length&&_r.classList.add("cm-completionListIncompleteBottom"),_r}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function Rs(Zt,Kt){return Sn=>new Qs(Sn,Zt,Kt)}function rs(Zt,Kt){let Sn=Zt.getBoundingClientRect(),wn=Kt.getBoundingClientRect(),_r=Sn.height/Zt.offsetHeight;wn.top<Sn.top?Zt.scrollTop-=(Sn.top-wn.top)/_r:wn.bottom>Sn.bottom&&(Zt.scrollTop+=(wn.bottom-Sn.bottom)/_r)}function Cs(Zt){return(Zt.boost||0)*100+(Zt.apply?10:0)+(Zt.info?5:0)+(Zt.type?1:0)}function Fs(Zt,Kt){let Sn=[],wn=null,_r=Wn=>{Sn.push(Wn);let{section:nr}=Wn.completion;if(nr){wn||(wn=[]);let Nr=typeof nr=="string"?nr:nr.name;wn.some(to=>to.name==Nr)||wn.push(typeof nr=="string"?{name:Nr}:nr)}},Ve=Kt.facet(So);for(let Wn of Zt)if(Wn.hasResult()){let nr=Wn.result.getMatch;if(Wn.result.filter===!1)for(let Nr of Wn.result.options)_r(new mc(Nr,Wn.source,nr?nr(Nr):[],1e9-Sn.length));else{let Nr=Kt.sliceDoc(Wn.from,Wn.to),to,qo=Ve.filterStrict?new ia(Nr):new Zo(Nr);for(let Pa of Wn.result.options)if(to=qo.match(Pa.label)){let $a=Pa.displayLabel?nr?nr(Pa,to.matched):[]:to.matched;_r(new mc(Pa,Wn.source,$a,to.score+(Pa.boost||0)))}}}if(wn){let Wn=Object.create(null),nr=0,Nr=(to,qo)=>{var Pa,$a;return((Pa=to.rank)!==null&&Pa!==void 0?Pa:1e9)-(($a=qo.rank)!==null&&$a!==void 0?$a:1e9)||(to.name<qo.name?-1:1)};for(let to of wn.sort(Nr))nr-=1e5,Wn[to.name]=nr;for(let to of Sn){let{section:qo}=to.completion;qo&&(to.score+=Wn[typeof qo=="string"?qo:qo.name])}}let tt=[],bt=null,an=Ve.compareCompletions;for(let Wn of Sn.sort((nr,Nr)=>Nr.score-nr.score||an(nr.completion,Nr.completion))){let nr=Wn.completion;!bt||bt.label!=nr.label||bt.detail!=nr.detail||bt.type!=null&&nr.type!=null&&bt.type!=nr.type||bt.apply!=nr.apply||bt.boost!=nr.boost?tt.push(Wn):Cs(Wn.completion)>Cs(bt)&&(tt[tt.length-1]=Wn),bt=Wn.completion}return tt}class Ks{constructor(Kt,Sn,wn,_r,Ve,tt){this.options=Kt,this.attrs=Sn,this.tooltip=wn,this.timestamp=_r,this.selected=Ve,this.disabled=tt}setSelected(Kt,Sn){return Kt==this.selected||Kt>=this.options.length?this:new Ks(this.options,Bi(Sn,Kt),this.tooltip,this.timestamp,Kt,this.disabled)}static build(Kt,Sn,wn,_r,Ve,tt){if(_r&&!tt&&Kt.some(Wn=>Wn.state==1))return _r.setDisabled();let bt=Fs(Kt,Sn);if(!bt.length)return _r&&Kt.some(Wn=>Wn.state==1)?_r.setDisabled():null;let an=Sn.facet(So).selectOnOpen?0:-1;if(_r&&_r.selected!=an&&_r.selected!=-1){let Wn=_r.options[_r.selected].completion;for(let nr=0;nr<bt.length;nr++)if(bt[nr].completion==Wn){an=nr;break}}return new Ks(bt,Bi(wn,an),{pos:Kt.reduce((Wn,nr)=>nr.hasResult()?Math.min(Wn,nr.from):Wn,1e8),create:Ri,above:Ve.aboveCursor},_r?_r.timestamp:Date.now(),an,!1)}map(Kt){return new Ks(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:Kt.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}setDisabled(){return new Ks(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class Ls{constructor(Kt,Sn,wn){this.active=Kt,this.id=Sn,this.open=wn}static start(){return new Ls(qs,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(Kt){let{state:Sn}=Kt,wn=Sn.facet(So),Ve=(wn.override||Sn.languageDataAt("autocomplete",zl(Sn)).map(Er)).map(an=>(this.active.find(nr=>nr.source==an)||new ui(an,this.active.some(nr=>nr.state!=0)?1:0)).update(Kt,wn));Ve.length==this.active.length&&Ve.every((an,Wn)=>an==this.active[Wn])&&(Ve=this.active);let tt=this.open,bt=Kt.effects.some(an=>an.is(Ur));tt&&Kt.docChanged&&(tt=tt.map(Kt.changes)),Kt.selection||Ve.some(an=>an.hasResult()&&Kt.changes.touchesRange(an.from,an.to))||!Js(Ve,this.active)||bt?tt=Ks.build(Ve,Sn,this.id,tt,wn,bt):tt&&tt.disabled&&!Ve.some(an=>an.state==1)&&(tt=null),!tt&&Ve.every(an=>an.state!=1)&&Ve.some(an=>an.hasResult())&&(Ve=Ve.map(an=>an.hasResult()?new ui(an.source,0):an));for(let an of Kt.effects)an.is(aa)&&(tt=tt&&tt.setSelected(an.value,this.id));return Ve==this.active&&tt==this.open?this:new Ls(Ve,this.id,tt)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?Ts:zs}}function Js(Zt,Kt){if(Zt==Kt)return!0;for(let Sn=0,wn=0;;){for(;Sn<Zt.length&&!Zt[Sn].hasResult;)Sn++;for(;wn<Kt.length&&!Kt[wn].hasResult;)wn++;let _r=Sn==Zt.length,Ve=wn==Kt.length;if(_r||Ve)return _r==Ve;if(Zt[Sn++].result!=Kt[wn++].result)return!1}}const Ts={"aria-autocomplete":"list"},zs={};function Bi(Zt,Kt){let Sn={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":Zt};return Kt>-1&&(Sn["aria-activedescendant"]=Zt+"-"+Kt),Sn}const qs=[];function Ti(Zt,Kt){if(Zt.isUserEvent("input.complete")){let wn=Zt.annotation(ln);if(wn&&Kt.activateOnCompletion(wn))return 12}let Sn=Zt.isUserEvent("input.type");return Sn&&Kt.activateOnTyping?5:Sn?1:Zt.isUserEvent("delete.backward")?2:Zt.selection?8:Zt.docChanged?16:0}class ui{constructor(Kt,Sn,wn=-1){this.source=Kt,this.state=Sn,this.explicitPos=wn}hasResult(){return!1}update(Kt,Sn){let wn=Ti(Kt,Sn),_r=this;(wn&8||wn&16&&this.touches(Kt))&&(_r=new ui(_r.source,0)),wn&4&&_r.state==0&&(_r=new ui(this.source,1)),_r=_r.updateFor(Kt,wn);for(let Ve of Kt.effects)if(Ve.is(zr))_r=new ui(_r.source,1,Ve.value?zl(Kt.state):-1);else if(Ve.is(Ao))_r=new ui(_r.source,0);else if(Ve.is(Ur))for(let tt of Ve.value)tt.source==_r.source&&(_r=tt);return _r}updateFor(Kt,Sn){return this.map(Kt.changes)}map(Kt){return Kt.empty||this.explicitPos<0?this:new ui(this.source,this.state,Kt.mapPos(this.explicitPos))}touches(Kt){return Kt.changes.touchesRange(zl(Kt.state))}}class qi extends ui{constructor(Kt,Sn,wn,_r,Ve){super(Kt,2,Sn),this.result=wn,this.from=_r,this.to=Ve}hasResult(){return!0}updateFor(Kt,Sn){var wn;if(!(Sn&3))return this.map(Kt.changes);let _r=this.result;_r.map&&!Kt.changes.empty&&(_r=_r.map(_r,Kt.changes));let Ve=Kt.changes.mapPos(this.from),tt=Kt.changes.mapPos(this.to,1),bt=zl(Kt.state);if((this.explicitPos<0?bt<=Ve:bt<this.from)||bt>tt||!_r||Sn&2&&zl(Kt.startState)==this.from)return new ui(this.source,Sn&4?1:0);let an=this.explicitPos<0?-1:Kt.changes.mapPos(this.explicitPos);return Ko(_r.validFor,Kt.state,Ve,tt)?new qi(this.source,an,_r,Ve,tt):_r.update&&(_r=_r.update(_r,Ve,tt,new xl(Kt.state,bt,an>=0)))?new qi(this.source,an,_r,_r.from,(wn=_r.to)!==null&&wn!==void 0?wn:zl(Kt.state)):new ui(this.source,1,an)}map(Kt){return Kt.empty?this:(this.result.map?this.result.map(this.result,Kt):this.result)?new qi(this.source,this.explicitPos<0?-1:Kt.mapPos(this.explicitPos),this.result,Kt.mapPos(this.from),Kt.mapPos(this.to,1)):new ui(this.source,0)}touches(Kt){return Kt.changes.touchesRange(this.from,this.to)}}function Ko(Zt,Kt,Sn,wn){if(!Zt)return!1;let _r=Kt.sliceDoc(Sn,wn);return typeof Zt=="function"?Zt(_r,Sn,wn,Kt):$l(Zt,!0).test(_r)}const Ur=A.StateEffect.define({map(Zt,Kt){return Zt.map(Sn=>Sn.map(Kt))}}),aa=A.StateEffect.define(),ca=A.StateField.define({create(){return Ls.start()},update(Zt,Kt){return Zt.update(Kt)},provide:Zt=>[s.hJ.from(Zt,Kt=>Kt.tooltip),s.tk.contentAttributes.from(Zt,Kt=>Kt.attrs)]});function As(Zt,Kt){const Sn=Kt.completion.apply||Kt.completion.label;let wn=Zt.state.field(ca).active.find(_r=>_r.source==Kt.source);return wn instanceof qi?(typeof Sn=="string"?Zt.dispatch(Object.assign(Object.assign({},sn(Zt.state,Sn,wn.from,wn.to)),{annotations:ln.of(Kt.completion)})):Sn(Zt,Kt.completion,wn.from,wn.to),!0):!1}const Ri=Rs(ca,As);function Ei(Zt,Kt="option"){return Sn=>{let wn=Sn.state.field(ca,!1);if(!wn||!wn.open||wn.open.disabled||Date.now()-wn.open.timestamp<Sn.state.facet(So).interactionDelay)return!1;let _r=1,Ve;Kt=="page"&&(Ve=(0,s.gB)(Sn,wn.open.tooltip))&&(_r=Math.max(2,Math.floor(Ve.dom.offsetHeight/Ve.dom.querySelector("li").offsetHeight)-1));let{length:tt}=wn.open.options,bt=wn.open.selected>-1?wn.open.selected+_r*(Zt?1:-1):Zt?0:tt-1;return bt<0?bt=Kt=="page"?0:tt-1:bt>=tt&&(bt=Kt=="page"?tt-1:0),Sn.dispatch({effects:aa.of(bt)}),!0}}const pi=Zt=>{let Kt=Zt.state.field(ca,!1);return Zt.state.readOnly||!Kt||!Kt.open||Kt.open.selected<0||Kt.open.disabled||Date.now()-Kt.open.timestamp<Zt.state.facet(So).interactionDelay?!1:As(Zt,Kt.open.options[Kt.open.selected])},Gi=Zt=>Zt.state.field(ca,!1)?(Zt.dispatch({effects:zr.of(!0)}),!0):!1,Eo=Zt=>{let Kt=Zt.state.field(ca,!1);return!Kt||!Kt.active.some(Sn=>Sn.state!=0)?!1:(Zt.dispatch({effects:Ao.of(null)}),!0)};class _l{constructor(Kt,Sn){this.active=Kt,this.context=Sn,this.time=Date.now(),this.updates=[],this.done=void 0}}const Al=50,Pl=1e3,Wi=s.lg.fromClass(class{constructor(Zt){this.view=Zt,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let Kt of Zt.state.field(ca).active)Kt.state==1&&this.startQuery(Kt)}update(Zt){let Kt=Zt.state.field(ca),Sn=Zt.state.facet(So);if(!Zt.selectionSet&&!Zt.docChanged&&Zt.startState.field(ca)==Kt)return;let wn=Zt.transactions.some(Ve=>{let tt=Ti(Ve,Sn);return tt&8||(Ve.selection||Ve.docChanged)&&!(tt&3)});for(let Ve=0;Ve<this.running.length;Ve++){let tt=this.running[Ve];if(wn||tt.context.abortOnDocChange&&Zt.docChanged||tt.updates.length+Zt.transactions.length>Al&&Date.now()-tt.time>Pl){for(let bt of tt.context.abortListeners)try{bt()}catch(an){(0,s.OO)(this.view.state,an)}tt.context.abortListeners=null,this.running.splice(Ve--,1)}else tt.updates.push(...Zt.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),Zt.transactions.some(Ve=>Ve.effects.some(tt=>tt.is(zr)))&&(this.pendingStart=!0);let _r=this.pendingStart?50:Sn.activateOnTypingDelay;if(this.debounceUpdate=Kt.active.some(Ve=>Ve.state==1&&!this.running.some(tt=>tt.active.source==Ve.source))?setTimeout(()=>this.startUpdate(),_r):-1,this.composing!=0)for(let Ve of Zt.transactions)Ve.isUserEvent("input.type")?this.composing=2:this.composing==2&&Ve.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:Zt}=this.view,Kt=Zt.field(ca);for(let Sn of Kt.active)Sn.state==1&&!this.running.some(wn=>wn.active.source==Sn.source)&&this.startQuery(Sn);this.running.length&&Kt.open&&Kt.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(So).updateSyncTime))}startQuery(Zt){let{state:Kt}=this.view,Sn=zl(Kt),wn=new xl(Kt,Sn,Zt.explicitPos==Sn,this.view),_r=new _l(Zt,wn);this.running.push(_r),Promise.resolve(Zt.source(wn)).then(Ve=>{_r.context.aborted||(_r.done=Ve||null,this.scheduleAccept())},Ve=>{this.view.dispatch({effects:Ao.of(null)}),(0,s.OO)(this.view.state,Ve)})}scheduleAccept(){this.running.every(Zt=>Zt.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(So).updateSyncTime))}accept(){var Zt;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let Kt=[],Sn=this.view.state.facet(So),wn=this.view.state.field(ca);for(let _r=0;_r<this.running.length;_r++){let Ve=this.running[_r];if(Ve.done===void 0)continue;if(this.running.splice(_r--,1),Ve.done){let bt=new qi(Ve.active.source,Ve.active.explicitPos,Ve.done,Ve.done.from,(Zt=Ve.done.to)!==null&&Zt!==void 0?Zt:zl(Ve.updates.length?Ve.updates[0].startState:this.view.state));for(let an of Ve.updates)bt=bt.update(an,Sn);if(bt.hasResult()){Kt.push(bt);continue}}let tt=wn.active.find(bt=>bt.source==Ve.active.source);if(tt&&tt.state==1)if(Ve.done==null){let bt=new ui(Ve.active.source,0);for(let an of Ve.updates)bt=bt.update(an,Sn);bt.state!=1&&Kt.push(bt)}else this.startQuery(tt)}(Kt.length||wn.open&&wn.open.disabled)&&this.view.dispatch({effects:Ur.of(Kt)})}},{eventHandlers:{blur(Zt){let Kt=this.view.state.field(ca,!1);if(Kt&&Kt.tooltip&&this.view.state.facet(So).closeOnBlur){let Sn=Kt.open&&(0,s.gB)(this.view,Kt.open.tooltip);(!Sn||!Sn.dom.contains(Zt.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:Ao.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:zr.of(!1)}),20),this.composing=0}}}),Mc=typeof navigator=="object"&&/Win/.test(navigator.platform),Fc=A.Prec.highest(s.tk.domEventHandlers({keydown(Zt,Kt){let Sn=Kt.state.field(ca,!1);if(!Sn||!Sn.open||Sn.open.disabled||Sn.open.selected<0||Zt.key.length>1||Zt.ctrlKey&&!(Mc&&Zt.altKey)||Zt.metaKey)return!1;let wn=Sn.open.options[Sn.open.selected],_r=Sn.active.find(tt=>tt.source==wn.source),Ve=wn.completion.commitCharacters||_r.result.commitCharacters;return Ve&&Ve.indexOf(Zt.key)>-1&&As(Kt,wn),!1}})),Ou=s.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xB7\xB7\xB7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'\u0192'"}},".cm-completionIcon-class":{"&:after":{content:"'\u25CB'"}},".cm-completionIcon-interface":{"&:after":{content:"'\u25CC'"}},".cm-completionIcon-variable":{"&:after":{content:"'\u{1D465}'"}},".cm-completionIcon-constant":{"&:after":{content:"'\u{1D436}'"}},".cm-completionIcon-type":{"&:after":{content:"'\u{1D461}'"}},".cm-completionIcon-enum":{"&:after":{content:"'\u222A'"}},".cm-completionIcon-property":{"&:after":{content:"'\u25A1'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\u{1F511}\uFE0E'"}},".cm-completionIcon-namespace":{"&:after":{content:"'\u25A2'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class Rl{constructor(Kt,Sn,wn,_r){this.field=Kt,this.line=Sn,this.from=wn,this.to=_r}}class gu{constructor(Kt,Sn,wn){this.field=Kt,this.from=Sn,this.to=wn}map(Kt){let Sn=Kt.mapPos(this.from,-1,MapMode.TrackDel),wn=Kt.mapPos(this.to,1,MapMode.TrackDel);return Sn==null||wn==null?null:new gu(this.field,Sn,wn)}}class Hl{constructor(Kt,Sn){this.lines=Kt,this.fieldPositions=Sn}instantiate(Kt,Sn){let wn=[],_r=[Sn],Ve=Kt.doc.lineAt(Sn),tt=/^\s*/.exec(Ve.text)[0];for(let an of this.lines){if(wn.length){let Wn=tt,nr=/^\t*/.exec(an)[0].length;for(let Nr=0;Nr<nr;Nr++)Wn+=Kt.facet(indentUnit);_r.push(Sn+Wn.length-nr),an=Wn+an.slice(nr)}wn.push(an),Sn+=an.length+1}let bt=this.fieldPositions.map(an=>new gu(an.field,_r[an.line]+an.from,_r[an.line]+an.to));return{text:wn,ranges:bt}}static parse(Kt){let Sn=[],wn=[],_r=[],Ve;for(let tt of Kt.split(/\r\n?|\n/)){for(;Ve=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(tt);){let bt=Ve[1]?+Ve[1]:null,an=Ve[2]||Ve[3]||"",Wn=-1,nr=an.replace(/\\[{}]/g,Nr=>Nr[1]);for(let Nr=0;Nr<Sn.length;Nr++)(bt!=null?Sn[Nr].seq==bt:nr&&Sn[Nr].name==nr)&&(Wn=Nr);if(Wn<0){let Nr=0;for(;Nr<Sn.length&&(bt==null||Sn[Nr].seq!=null&&Sn[Nr].seq<bt);)Nr++;Sn.splice(Nr,0,{seq:bt,name:nr}),Wn=Nr;for(let to of _r)to.field>=Wn&&to.field++}_r.push(new Rl(Wn,wn.length,Ve.index,Ve.index+nr.length)),tt=tt.slice(0,Ve.index)+an+tt.slice(Ve.index+Ve[0].length)}tt=tt.replace(/\\([{}])/g,(bt,an,Wn)=>{for(let nr of _r)nr.line==wn.length&&nr.from>Wn&&(nr.from--,nr.to--);return an}),wn.push(tt)}return new Hl(wn,_r)}}let Cl=s.p.widget({widget:new class extends s.l9{toDOM(){let Zt=document.createElement("span");return Zt.className="cm-snippetFieldPosition",Zt}ignoreEvent(){return!1}}}),Dl=s.p.mark({class:"cm-snippetField"});class kl{constructor(Kt,Sn){this.ranges=Kt,this.active=Sn,this.deco=s.p.set(Kt.map(wn=>(wn.from==wn.to?Cl:Dl).range(wn.from,wn.to)))}map(Kt){let Sn=[];for(let wn of this.ranges){let _r=wn.map(Kt);if(!_r)return null;Sn.push(_r)}return new kl(Sn,this.active)}selectionInsideField(Kt){return Kt.ranges.every(Sn=>this.ranges.some(wn=>wn.field==this.active&&wn.from<=Sn.from&&wn.to>=Sn.to))}}const ll=null,el=null,vc=null;function Bl(Zt,Kt){return EditorSelection.create(Zt.filter(Sn=>Sn.field==Kt).map(Sn=>EditorSelection.range(Sn.from,Sn.to)))}function oc(Zt){let Kt=Hl.parse(Zt);return(Sn,wn,_r,Ve)=>{let{text:tt,ranges:bt}=Kt.instantiate(Sn.state,_r),an={changes:{from:_r,to:Ve,insert:Text.of(tt)},scrollIntoView:!0,annotations:wn?[ln.of(wn),Transaction.userEvent.of("input.complete")]:void 0};if(bt.length&&(an.selection=Bl(bt,0)),bt.some(Wn=>Wn.field>0)){let Wn=new kl(bt,0),nr=an.effects=[ll.of(Wn)];Sn.state.field(vc,!1)===void 0&&nr.push(StateEffect.appendConfig.of([vc,Mu,ec,Ou]))}Sn.dispatch(Sn.state.update(an))}}function Wc(Zt){return({state:Kt,dispatch:Sn})=>{let wn=Kt.field(vc,!1);if(!wn||Zt<0&&wn.active==0)return!1;let _r=wn.active+Zt,Ve=Zt>0&&!wn.ranges.some(tt=>tt.field==_r+Zt);return Sn(Kt.update({selection:Bl(wn.ranges,_r),effects:ll.of(Ve?null:new kl(wn.ranges,_r)),scrollIntoView:!0})),!0}}const Ll=({state:Zt,dispatch:Kt})=>Zt.field(vc,!1)?(Kt(Zt.update({effects:ll.of(null)})),!0):!1,Qa=null,Eu=null;function Ul(Zt){let Kt=Zt.field(vc,!1);return!!(Kt&&Kt.ranges.some(Sn=>Sn.field==Kt.active+1))}function ql(Zt){let Kt=Zt.field(vc,!1);return!!(Kt&&Kt.active>0)}const Sc=null,Rc=null,Mu=null;function dc(Zt,Kt){return Object.assign(Object.assign({},Kt),{apply:oc(Zt)})}const ec=null;function tc(Zt){let Kt=Zt.replace(/[\]\-\\]/g,"\\$&");try{return new RegExp(`[\\p{Alphabetic}\\p{Number}_${Kt}]+`,"ug")}catch{return new RegExp(`[w${Kt}]`,"g")}}function qc(Zt,Kt){return new RegExp(Kt(Zt.source),Zt.unicode?"u":"")}const hu=null;function Tc(Zt){return hu[Zt]||(hu[Zt]=new WeakMap)}function ac(Zt,Kt,Sn,wn,_r){for(let Ve=Zt.iterLines(),tt=0;!Ve.next().done;){let{value:bt}=Ve,an;for(Kt.lastIndex=0;an=Kt.exec(bt);)if(!wn[an[0]]&&tt+an.index!=_r&&(Sn.push({type:"text",label:an[0]}),wn[an[0]]=!0,Sn.length>=2e3))return;tt+=bt.length+1}}function sc(Zt,Kt,Sn,wn,_r){let Ve=Zt.length>=1e3,tt=Ve&&Kt.get(Zt);if(tt)return tt;let bt=[],an=Object.create(null);if(Zt.children){let Wn=0;for(let nr of Zt.children){if(nr.length>=1e3)for(let Nr of sc(nr,Kt,Sn,wn-Wn,_r-Wn))an[Nr.label]||(an[Nr.label]=!0,bt.push(Nr));else ac(nr,Sn,bt,an,_r-Wn);Wn+=nr.length+1}}else ac(Zt,Sn,bt,an,_r);return Ve&&bt.length<2e3&&Kt.set(Zt,bt),bt}const wc=Zt=>{let Kt=Zt.state.languageDataAt("wordChars",Zt.pos).join(""),Sn=tc(Kt),wn=Zt.matchBefore(qc(Sn,tt=>tt+"$"));if(!wn&&!Zt.explicit)return null;let _r=wn?wn.from:Zt.pos,Ve=sc(Zt.state.doc,Tc(Kt),Sn,5e4,_r);return{from:_r,options:Ve,validFor:qc(Sn,tt=>"^"+tt)}},Nc={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Kc=A.StateEffect.define({map(Zt,Kt){let Sn=Kt.mapPos(Zt,-1,A.MapMode.TrackAfter);return Sn??void 0}}),Yl=new class extends A.RangeValue{};Yl.startSide=1,Yl.endSide=-1;const ou=A.StateField.define({create(){return A.RangeSet.empty},update(Zt,Kt){if(Zt=Zt.map(Kt.changes),Kt.selection){let Sn=Kt.state.doc.lineAt(Kt.selection.main.head);Zt=Zt.update({filter:wn=>wn>=Sn.from&&wn<=Sn.to})}for(let Sn of Kt.effects)Sn.is(Kc)&&(Zt=Zt.update({add:[Yl.range(Sn.value,Sn.value+1)]}));return Zt}});function ur(){return[An,ou]}const Xr="()[]{}<>";function Fr(Zt){for(let Kt=0;Kt<Xr.length;Kt+=2)if(Xr.charCodeAt(Kt)==Zt)return Xr.charAt(Kt+1);return(0,A.fromCodePoint)(Zt<128?Zt:Zt+1)}function kr(Zt,Kt){return Zt.languageDataAt("closeBrackets",Kt)[0]||Nc}const Ge=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),An=s.tk.inputHandler.of((Zt,Kt,Sn,wn)=>{if((Ge?Zt.composing:Zt.compositionStarted)||Zt.state.readOnly)return!1;let _r=Zt.state.selection.main;if(wn.length>2||wn.length==2&&(0,A.codePointSize)((0,A.codePointAt)(wn,0))==1||Kt!=_r.from||Sn!=_r.to)return!1;let Ve=Br(Zt.state,wn);return Ve?(Zt.dispatch(Ve),!0):!1}),fn=[{key:"Backspace",run:({state:Zt,dispatch:Kt})=>{if(Zt.readOnly)return!1;let wn=kr(Zt,Zt.selection.main.head).brackets||Nc.brackets,_r=null,Ve=Zt.changeByRange(tt=>{if(tt.empty){let bt=sa(Zt.doc,tt.head);for(let an of wn)if(an==bt&&Jo(Zt.doc,tt.head)==Fr((0,A.codePointAt)(an,0)))return{changes:{from:tt.head-an.length,to:tt.head+an.length},range:A.EditorSelection.cursor(tt.head-an.length)}}return{range:_r=tt}});return _r||Kt(Zt.update(Ve,{scrollIntoView:!0,userEvent:"delete.backward"})),!_r}}];function Br(Zt,Kt){let Sn=kr(Zt,Zt.selection.main.head),wn=Sn.brackets||Nc.brackets;for(let _r of wn){let Ve=Fr((0,A.codePointAt)(_r,0));if(Kt==_r)return Ve==_r?Ra(Zt,_r,wn.indexOf(_r+_r+_r)>-1,Sn):la(Zt,_r,Ve,Sn.before||Nc.before);if(Kt==Ve&&yo(Zt,Zt.selection.main.from))return va(Zt,_r,Ve)}return null}function yo(Zt,Kt){let Sn=!1;return Zt.field(ou).between(0,Zt.doc.length,wn=>{wn==Kt&&(Sn=!0)}),Sn}function Jo(Zt,Kt){let Sn=Zt.sliceString(Kt,Kt+2);return Sn.slice(0,(0,A.codePointSize)((0,A.codePointAt)(Sn,0)))}function sa(Zt,Kt){let Sn=Zt.sliceString(Kt-2,Kt);return(0,A.codePointSize)((0,A.codePointAt)(Sn,0))==Sn.length?Sn:Sn.slice(1)}function la(Zt,Kt,Sn,wn){let _r=null,Ve=Zt.changeByRange(tt=>{if(!tt.empty)return{changes:[{insert:Kt,from:tt.from},{insert:Sn,from:tt.to}],effects:Kc.of(tt.to+Kt.length),range:A.EditorSelection.range(tt.anchor+Kt.length,tt.head+Kt.length)};let bt=Jo(Zt.doc,tt.head);return!bt||/\s/.test(bt)||wn.indexOf(bt)>-1?{changes:{insert:Kt+Sn,from:tt.head},effects:Kc.of(tt.head+Kt.length),range:A.EditorSelection.cursor(tt.head+Kt.length)}:{range:_r=tt}});return _r?null:Zt.update(Ve,{scrollIntoView:!0,userEvent:"input.type"})}function va(Zt,Kt,Sn){let wn=null,_r=Zt.changeByRange(Ve=>Ve.empty&&Jo(Zt.doc,Ve.head)==Sn?{changes:{from:Ve.head,to:Ve.head+Sn.length,insert:Sn},range:A.EditorSelection.cursor(Ve.head+Sn.length)}:wn={range:Ve});return wn?null:Zt.update(_r,{scrollIntoView:!0,userEvent:"input.type"})}function Ra(Zt,Kt,Sn,wn){let _r=wn.stringPrefixes||Nc.stringPrefixes,Ve=null,tt=Zt.changeByRange(bt=>{if(!bt.empty)return{changes:[{insert:Kt,from:bt.from},{insert:Kt,from:bt.to}],effects:Kc.of(bt.to+Kt.length),range:A.EditorSelection.range(bt.anchor+Kt.length,bt.head+Kt.length)};let an=bt.head,Wn=Jo(Zt.doc,an),nr;if(Wn==Kt){if(Ya(Zt,an))return{changes:{insert:Kt+Kt,from:an},effects:Kc.of(an+Kt.length),range:A.EditorSelection.cursor(an+Kt.length)};if(yo(Zt,an)){let to=Sn&&Zt.sliceDoc(an,an+Kt.length*3)==Kt+Kt+Kt?Kt+Kt+Kt:Kt;return{changes:{from:an,to:an+to.length,insert:to},range:A.EditorSelection.cursor(an+to.length)}}}else{if(Sn&&Zt.sliceDoc(an-2*Kt.length,an)==Kt+Kt&&(nr=xa(Zt,an-2*Kt.length,_r))>-1&&Ya(Zt,nr))return{changes:{insert:Kt+Kt+Kt+Kt,from:an},effects:Kc.of(an+Kt.length),range:A.EditorSelection.cursor(an+Kt.length)};if(Zt.charCategorizer(an)(Wn)!=A.CharCategory.Word&&xa(Zt,an,_r)>-1&&!wa(Zt,an,Kt,_r))return{changes:{insert:Kt+Kt,from:an},effects:Kc.of(an+Kt.length),range:A.EditorSelection.cursor(an+Kt.length)}}return{range:Ve=bt}});return Ve?null:Zt.update(tt,{scrollIntoView:!0,userEvent:"input.type"})}function Ya(Zt,Kt){let Sn=(0,J.qz)(Zt).resolveInner(Kt+1);return Sn.parent&&Sn.from==Kt}function wa(Zt,Kt,Sn,wn){let _r=(0,J.qz)(Zt).resolveInner(Kt,-1),Ve=wn.reduce((tt,bt)=>Math.max(tt,bt.length),0);for(let tt=0;tt<5;tt++){let bt=Zt.sliceDoc(_r.from,Math.min(_r.to,_r.from+Sn.length+Ve)),an=bt.indexOf(Sn);if(!an||an>-1&&wn.indexOf(bt.slice(0,an))>-1){let nr=_r.firstChild;for(;nr&&nr.from==_r.from&&nr.to-nr.from>Sn.length+an;){if(Zt.sliceDoc(nr.to-Sn.length,nr.to)==Sn)return!1;nr=nr.firstChild}return!0}let Wn=_r.to==Kt&&_r.parent;if(!Wn)break;_r=Wn}return!1}function xa(Zt,Kt,Sn){let wn=Zt.charCategorizer(Kt);if(wn(Zt.sliceDoc(Kt-1,Kt))!=A.CharCategory.Word)return Kt;for(let _r of Sn){let Ve=Kt-_r.length;if(Zt.sliceDoc(Ve,Kt)==_r&&wn(Zt.sliceDoc(Ve-1,Ve))!=A.CharCategory.Word)return Ve}return-1}function Ds(Zt={}){return[Fc,ca,So.of(Zt),Wi,Di,Ou]}const ws=[{key:"Ctrl-Space",run:Gi},{mac:"Alt-`",run:Gi},{key:"Escape",run:Eo},{key:"ArrowDown",run:Ei(!0)},{key:"ArrowUp",run:Ei(!1)},{key:"PageDown",run:Ei(!0,"page")},{key:"PageUp",run:Ei(!1,"page")},{key:"Enter",run:pi}],Di=A.Prec.highest(s.$f.computeN([So],Zt=>Zt.facet(So).defaultKeymap?[ws]:[]));function ai(Zt){let Kt=Zt.field(ca,!1);return Kt&&Kt.active.some(Sn=>Sn.state==1)?"pending":Kt&&Kt.active.some(Sn=>Sn.state!=0)?"active":null}const yl=new WeakMap;function ml(Zt){var Kt;let Sn=(Kt=Zt.field(ca,!1))===null||Kt===void 0?void 0:Kt.open;if(!Sn||Sn.disabled)return[];let wn=yl.get(Sn.options);return wn||yl.set(Sn.options,wn=Sn.options.map(_r=>_r.completion)),wn}function Ii(Zt){var Kt;let Sn=(Kt=Zt.field(ca,!1))===null||Kt===void 0?void 0:Kt.open;return Sn&&!Sn.disabled&&Sn.selected>=0?Sn.options[Sn.selected].completion:null}function Xi(Zt){var Kt;let Sn=(Kt=Zt.field(ca,!1))===null||Kt===void 0?void 0:Kt.open;return Sn&&!Sn.disabled&&Sn.selected>=0?Sn.selected:null}function zi(Zt){return aa.of(Zt)}function Sl(){var Zt=arguments[0];typeof Zt=="string"&&(Zt=document.createElement(Zt));var Kt=1,Sn=arguments[1];if(Sn&&typeof Sn=="object"&&Sn.nodeType==null&&!Array.isArray(Sn)){for(var wn in Sn)if(Object.prototype.hasOwnProperty.call(Sn,wn)){var _r=Sn[wn];typeof _r=="string"?Zt.setAttribute(wn,_r):_r!=null&&(Zt[wn]=_r)}Kt++}for(;Kt<arguments.length;Kt++)gc(Zt,arguments[Kt]);return Zt}function gc(Zt,Kt){if(typeof Kt=="string")Zt.appendChild(document.createTextNode(Kt));else if(Kt!=null)if(Kt.nodeType!=null)Zt.appendChild(Kt);else if(Array.isArray(Kt))for(var Sn=0;Sn<Kt.length;Sn++)gc(Zt,Kt[Sn]);else throw new RangeError("Unsupported child node: "+Kt)}class Xl{constructor(Kt,Sn,wn){this.from=Kt,this.to=Sn,this.diagnostic=wn}}class yc{constructor(Kt,Sn,wn){this.diagnostics=Kt,this.panel=Sn,this.selected=wn}static init(Kt,Sn,wn){let _r=Kt,Ve=wn.facet(Bc).markerFilter;Ve&&(_r=Ve(_r,wn));let tt=s.p.set(_r.map(bt=>bt.from==bt.to||bt.from==bt.to-1&&wn.doc.lineAt(bt.from).to==bt.from?s.p.widget({widget:new De(bt),diagnostic:bt}).range(bt.from):s.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+bt.severity+(bt.markClass?" "+bt.markClass:"")},diagnostic:bt}).range(bt.from,bt.to)),!0);return new yc(tt,Sn,Zc(tt))}}function Zc(Zt,Kt=null,Sn=0){let wn=null;return Zt.between(Sn,1e9,(_r,Ve,{spec:tt})=>{if(!(Kt&&tt.diagnostic!=Kt))return wn=new Xl(_r,Ve,tt.diagnostic),!1}),wn}function Rd(Zt,Kt){let Sn=Kt.pos,wn=Kt.end||Sn,_r=Zt.state.facet(Bc).hideOn(Zt,Sn,wn);if(_r!=null)return _r;let Ve=Zt.startState.doc.lineAt(Kt.pos);return!!(Zt.effects.some(tt=>tt.is(Hu))||Zt.changes.touchesRange(Ve.from,Math.max(Ve.to,wn)))}function _u(Zt,Kt){return Zt.field(Oc,!1)?Kt:Kt.concat(A.StateEffect.appendConfig.of(fi))}function td(Zt,Kt){return{effects:_u(Zt,[Hu.of(Kt)])}}const Hu=A.StateEffect.define(),Ru=A.StateEffect.define(),Pu=A.StateEffect.define(),Oc=A.StateField.define({create(){return new yc(s.p.none,null,null)},update(Zt,Kt){if(Kt.docChanged&&Zt.diagnostics.size){let Sn=Zt.diagnostics.map(Kt.changes),wn=null,_r=Zt.panel;if(Zt.selected){let Ve=Kt.changes.mapPos(Zt.selected.from,1);wn=Zc(Sn,Zt.selected.diagnostic,Ve)||Zc(Sn,null,Ve)}!Sn.size&&_r&&Kt.state.facet(Bc).autoPanel&&(_r=null),Zt=new yc(Sn,_r,wn)}for(let Sn of Kt.effects)if(Sn.is(Hu)){let wn=Kt.state.facet(Bc).autoPanel?Sn.value.length?Dt.open:null:Zt.panel;Zt=yc.init(Sn.value,wn,Kt.state)}else Sn.is(Ru)?Zt=new yc(Zt.diagnostics,Sn.value?Dt.open:null,Zt.selected):Sn.is(Pu)&&(Zt=new yc(Zt.diagnostics,Zt.panel,Sn.value));return Zt},provide:Zt=>[s.mH.from(Zt,Kt=>Kt.panel),s.tk.decorations.from(Zt,Kt=>Kt.diagnostics)]});function vf(Zt){let Kt=Zt.field(Oc,!1);return Kt?Kt.diagnostics.size:0}const nd=s.p.mark({class:"cm-lintRange cm-lintRange-active"});function ld(Zt,Kt,Sn){let{diagnostics:wn}=Zt.state.field(Oc),_r=[],Ve=2e8,tt=0;wn.between(Kt-(Sn<0?1:0),Kt+(Sn>0?1:0),(an,Wn,{spec:nr})=>{Kt>=an&&Kt<=Wn&&(an==Wn||(Kt>an||Sn>0)&&(Kt<Wn||Sn<0))&&(_r.push(nr.diagnostic),Ve=Math.min(an,Ve),tt=Math.max(Wn,tt))});let bt=Zt.state.facet(Bc).tooltipFilter;return bt&&(_r=bt(_r,Zt.state)),_r.length?{pos:Ve,end:tt,above:Zt.state.doc.lineAt(Ve).to<tt,create(){return{dom:Wl(Zt,_r)}}}:null}function Wl(Zt,Kt){return Sl("ul",{class:"cm-tooltip-lint"},Kt.map(Sn=>Q(Zt,Sn,!1)))}const Ql=Zt=>{let Kt=Zt.state.field(Oc,!1);(!Kt||!Kt.panel)&&Zt.dispatch({effects:_u(Zt.state,[Ru.of(!0)])});let Sn=(0,s.Sd)(Zt,Dt.open);return Sn&&Sn.dom.querySelector(".cm-panel-lint ul").focus(),!0},gd=Zt=>{let Kt=Zt.state.field(Oc,!1);return!Kt||!Kt.panel?!1:(Zt.dispatch({effects:Ru.of(!1)}),!0)},rd=Zt=>{let Kt=Zt.state.field(Oc,!1);if(!Kt)return!1;let Sn=Zt.state.selection.main,wn=Kt.diagnostics.iter(Sn.to+1);return!wn.value&&(wn=Kt.diagnostics.iter(0),!wn.value||wn.from==Sn.from&&wn.to==Sn.to)?!1:(Zt.dispatch({selection:{anchor:wn.from,head:wn.to},scrollIntoView:!0}),!0)},Zu=Zt=>{let{state:Kt}=Zt,Sn=Kt.field(Oc,!1);if(!Sn)return!1;let wn=Kt.selection.main,_r,Ve,tt,bt;return Sn.diagnostics.between(0,Kt.doc.length,(an,Wn)=>{Wn<wn.to&&(_r==null||_r<an)&&(_r=an,Ve=Wn),(tt==null||an>tt)&&(tt=an,bt=Wn)}),tt==null||_r==null&&tt==wn.from?!1:(Zt.dispatch({selection:{anchor:_r??tt,head:Ve??bt},scrollIntoView:!0}),!0)},Cu=[{key:"Mod-Shift-m",run:Ql,preventDefault:!0},{key:"F8",run:rd}],eu=null;function Uu(Zt,Kt,Sn){let wn=[],_r=-1;for(let Ve of Zt)Ve.then(tt=>{wn.push(tt),clearTimeout(_r),wn.length==Zt.length?Kt(wn):setTimeout(()=>Kt(wn),200)},Sn)}const Bc=A.Facet.define({combine(Zt){return Object.assign({sources:Zt.map(Kt=>Kt.source).filter(Kt=>Kt!=null)},(0,A.combineConfig)(Zt.map(Kt=>Kt.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(Kt,Sn)=>Kt?Sn?wn=>Kt(wn)||Sn(wn):Kt:Sn}))}});function Ed(Zt,Kt={}){return[Bc.of({source:Zt,config:Kt}),eu,fi]}function Fu(Zt){let Kt=Zt.plugin(eu);Kt&&Kt.force()}function Ut(Zt){let Kt=[];if(Zt)e:for(let{name:Sn}of Zt){for(let wn=0;wn<Sn.length;wn++){let _r=Sn[wn];if(/[a-zA-Z]/.test(_r)&&!Kt.some(Ve=>Ve.toLowerCase()==_r.toLowerCase())){Kt.push(_r);continue e}}Kt.push("")}return Kt}function Q(Zt,Kt,Sn){var wn;let _r=Sn?Ut(Kt.actions):[];return Sl("li",{class:"cm-diagnostic cm-diagnostic-"+Kt.severity},Sl("span",{class:"cm-diagnosticText"},Kt.renderMessage?Kt.renderMessage(Zt):Kt.message),(wn=Kt.actions)===null||wn===void 0?void 0:wn.map((Ve,tt)=>{let bt=!1,an=to=>{if(to.preventDefault(),bt)return;bt=!0;let qo=Zc(Zt.state.field(Oc).diagnostics,Kt);qo&&Ve.apply(Zt,qo.from,qo.to)},{name:Wn}=Ve,nr=_r[tt]?Wn.indexOf(_r[tt]):-1,Nr=nr<0?Wn:[Wn.slice(0,nr),Sl("u",Wn.slice(nr,nr+1)),Wn.slice(nr+1)];return Sl("button",{type:"button",class:"cm-diagnosticAction",onclick:an,onmousedown:an,"aria-label":` Action: ${Wn}${nr<0?"":` (access key "${_r[tt]})"`}.`},Nr)}),Kt.source&&Sl("div",{class:"cm-diagnosticSource"},Kt.source))}class De extends s.l9{constructor(Kt){super(),this.diagnostic=Kt}eq(Kt){return Kt.diagnostic==this.diagnostic}toDOM(){return Sl("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class at{constructor(Kt,Sn){this.diagnostic=Sn,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=Q(Kt,Sn,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Dt{constructor(Kt){this.view=Kt,this.items=[];let Sn=_r=>{if(_r.keyCode==27)gd(this.view),this.view.focus();else if(_r.keyCode==38||_r.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(_r.keyCode==40||_r.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(_r.keyCode==36)this.moveSelection(0);else if(_r.keyCode==35)this.moveSelection(this.items.length-1);else if(_r.keyCode==13)this.view.focus();else if(_r.keyCode>=65&&_r.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:Ve}=this.items[this.selectedIndex],tt=Ut(Ve.actions);for(let bt=0;bt<tt.length;bt++)if(tt[bt].toUpperCase().charCodeAt(0)==_r.keyCode){let an=Zc(this.view.state.field(Oc).diagnostics,Ve);an&&Ve.actions[bt].apply(Kt,an.from,an.to)}}else return;_r.preventDefault()},wn=_r=>{for(let Ve=0;Ve<this.items.length;Ve++)this.items[Ve].dom.contains(_r.target)&&this.moveSelection(Ve)};this.list=Sl("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:Sn,onclick:wn}),this.dom=Sl("div",{class:"cm-panel-lint"},this.list,Sl("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>gd(this.view)},"\xD7")),this.update()}get selectedIndex(){let Kt=this.view.state.field(Oc).selected;if(!Kt)return-1;for(let Sn=0;Sn<this.items.length;Sn++)if(this.items[Sn].diagnostic==Kt.diagnostic)return Sn;return-1}update(){let{diagnostics:Kt,selected:Sn}=this.view.state.field(Oc),wn=0,_r=!1,Ve=null;for(Kt.between(0,this.view.state.doc.length,(tt,bt,{spec:an})=>{let Wn=-1,nr;for(let Nr=wn;Nr<this.items.length;Nr++)if(this.items[Nr].diagnostic==an.diagnostic){Wn=Nr;break}Wn<0?(nr=new at(this.view,an.diagnostic),this.items.splice(wn,0,nr),_r=!0):(nr=this.items[Wn],Wn>wn&&(this.items.splice(wn,Wn-wn),_r=!0)),Sn&&nr.diagnostic==Sn.diagnostic?nr.dom.hasAttribute("aria-selected")||(nr.dom.setAttribute("aria-selected","true"),Ve=nr):nr.dom.hasAttribute("aria-selected")&&nr.dom.removeAttribute("aria-selected"),wn++});wn<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)_r=!0,this.items.pop();this.items.length==0&&(this.items.push(new at(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),_r=!0),Ve?(this.list.setAttribute("aria-activedescendant",Ve.id),this.view.requestMeasure({key:this,read:()=>({sel:Ve.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:tt,panel:bt})=>{let an=bt.height/this.list.offsetHeight;tt.top<bt.top?this.list.scrollTop-=(bt.top-tt.top)/an:tt.bottom>bt.bottom&&(this.list.scrollTop+=(tt.bottom-bt.bottom)/an)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),_r&&this.sync()}sync(){let Kt=this.list.firstChild;function Sn(){let wn=Kt;Kt=wn.nextSibling,wn.remove()}for(let wn of this.items)if(wn.dom.parentNode==this.list){for(;Kt!=wn.dom;)Sn();Kt=wn.dom.nextSibling}else this.list.insertBefore(wn.dom,Kt);for(;Kt;)Sn()}moveSelection(Kt){if(this.selectedIndex<0)return;let Sn=this.view.state.field(Oc),wn=Zc(Sn.diagnostics,this.items[Kt].diagnostic);wn&&this.view.dispatch({selection:{anchor:wn.from,head:wn.to},scrollIntoView:!0,effects:Pu.of(wn)})}static open(Kt){return new Dt(Kt)}}function zt(Zt,Kt='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${Kt}>${encodeURIComponent(Zt)}</svg>')`}function Qn(Zt){return zt(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${Zt}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const Cr=s.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Qn("#d11")},".cm-lintRange-warning":{backgroundImage:Qn("orange")},".cm-lintRange-info":{backgroundImage:Qn("#999")},".cm-lintRange-hint":{backgroundImage:Qn("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function wr(Zt){return Zt=="error"?4:Zt=="warning"?3:Zt=="info"?2:1}class No extends s.SJ{constructor(Kt){super(),this.diagnostics=Kt,this.severity=Kt.reduce((Sn,wn)=>wr(Sn)<wr(wn.severity)?wn.severity:Sn,"hint")}toDOM(Kt){let Sn=document.createElement("div");Sn.className="cm-lint-marker cm-lint-marker-"+this.severity;let wn=this.diagnostics,_r=Kt.state.facet(Bo).tooltipFilter;return _r&&(wn=_r(wn,Kt.state)),wn.length&&(Sn.onmouseover=()=>Ro(Kt,Sn,wn)),Sn}}function Co(Zt,Kt){let Sn=wn=>{let _r=Kt.getBoundingClientRect();if(!(wn.clientX>_r.left-10&&wn.clientX<_r.right+10&&wn.clientY>_r.top-10&&wn.clientY<_r.bottom+10)){for(let Ve=wn.target;Ve;Ve=Ve.parentNode)if(Ve.nodeType==1&&Ve.classList.contains("cm-tooltip-lint"))return;window.removeEventListener("mousemove",Sn),Zt.state.field(vs)&&Zt.dispatch({effects:ls.of(null)})}};window.addEventListener("mousemove",Sn)}function Ro(Zt,Kt,Sn){function wn(){let tt=Zt.elementAtHeight(Kt.getBoundingClientRect().top+5-Zt.documentTop);Zt.coordsAtPos(tt.from)&&Zt.dispatch({effects:ls.of({pos:tt.from,above:!1,create(){return{dom:Wl(Zt,Sn),getCoords:()=>Kt.getBoundingClientRect()}}})}),Kt.onmouseout=Kt.onmousemove=null,Co(Zt,Kt)}let{hoverTime:_r}=Zt.state.facet(Bo),Ve=setTimeout(wn,_r);Kt.onmouseout=()=>{clearTimeout(Ve),Kt.onmouseout=Kt.onmousemove=null},Kt.onmousemove=()=>{clearTimeout(Ve),Ve=setTimeout(wn,_r)}}function Qo(Zt,Kt){let Sn=Object.create(null);for(let _r of Kt){let Ve=Zt.lineAt(_r.from);(Sn[Ve.from]||(Sn[Ve.from]=[])).push(_r)}let wn=[];for(let _r in Sn)wn.push(new No(Sn[_r]).range(+_r));return RangeSet.of(wn,!0)}const ka=null,Ca=null,ls=A.StateEffect.define(),vs=A.StateField.define({create(){return null},update(Zt,Kt){return Zt&&Kt.docChanged&&(Zt=Rd(Kt,Zt)?null:Object.assign(Object.assign({},Zt),{pos:Kt.changes.mapPos(Zt.pos)})),Kt.effects.reduce((Sn,wn)=>wn.is(ls)?wn.value:Sn,Zt)},provide:Zt=>s.hJ.from(Zt)}),Es=s.tk.baseTheme({".cm-gutter-lint":{width:"1.4em","& .cm-gutterElement":{padding:".2em"}},".cm-lint-marker":{width:"1em",height:"1em"},".cm-lint-marker-info":{content:zt('<path fill="#aaf" stroke="#77e" stroke-width="6" stroke-linejoin="round" d="M5 5L35 5L35 35L5 35Z"/>')},".cm-lint-marker-warning":{content:zt('<path fill="#fe8" stroke="#fd7" stroke-width="6" stroke-linejoin="round" d="M20 6L37 35L3 35Z"/>')},".cm-lint-marker-error":{content:zt('<circle cx="20" cy="20" r="15" fill="#f87" stroke="#f43" stroke-width="6"/>')}}),fi=[Oc,s.tk.decorations.compute([Oc],Zt=>{let{selected:Kt,panel:Sn}=Zt.field(Oc);return!Kt||!Sn||Kt.from==Kt.to?s.p.none:s.p.set([nd.range(Kt.from,Kt.to)])}),(0,s.bF)(ld,{hideOn:Rd}),Cr],Bo=A.Facet.define({combine(Zt){return(0,A.combineConfig)(Zt,{hoverTime:300,markerFilter:null,tooltipFilter:null})}});function Hi(Zt={}){return[Bo.of(Zt),Ca,ka,Es,vs]}function Qi(Zt,Kt){let Sn=Zt.field(Oc,!1);if(Sn&&Sn.diagnostics.size)for(let wn=RangeSet.iter([Sn.diagnostics]);wn.value;wn.next())Kt(wn.value.spec.diagnostic,wn.from,wn.to)}var Li=[(0,s.Eu)(),(0,s.HQ)(),(0,s.AE)(),Gt(),(0,J.mi)(),(0,s.Uw)(),A.EditorState.allowMultipleSelections.of(!0),(0,J.nY)(),(0,J.nF)(J.R_,{fallback:!0}),(0,J.n$)(),ur(),Ds(),(0,s.Zs)(),(0,s.ZO)(),s.$f.of([...fn,...oi,...qr,...J.e7,...ws,...Cu])];const Zl=Object.assign(ir,{DocChangeListener:W,basicSetup:Li,useContentAttributes:ne,useControlledValue:x,useDOMEventHandlers:fe,useDisabledEditor:j,useEditorAttributes:oe,useEditorHighlights:Yn,useEditorTheme:ge,usePlaceholder:ee,useReplaceableExtensions:I,useRosettaTheme:_e,useSource:he,useValue:G,useView:m});var Vc=e(60327),tu=e(225347),lu=e(789935),Lu=e(617938),yu=e(327543),ic=e(201117),kc=e(642979),cu=e.n(kc),Au=e(233284),au=e(579531),jc=e(662781),lc=e(997803),Nu=e(130527),Zd=e(934388);function _d(Zt,Kt){var Sn=Object.keys(Zt);if(Object.getOwnPropertySymbols){var wn=Object.getOwnPropertySymbols(Zt);Kt&&(wn=wn.filter(function(_r){return Object.getOwnPropertyDescriptor(Zt,_r).enumerable})),Sn.push.apply(Sn,wn)}return Sn}function pu(Zt){for(var Kt=1;Kt<arguments.length;Kt++){var Sn=arguments[Kt]!=null?arguments[Kt]:{};Kt%2?_d(Object(Sn),!0).forEach(function(wn){cu()(Zt,wn,Sn[wn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Zt,Object.getOwnPropertyDescriptors(Sn)):_d(Object(Sn)).forEach(function(wn){Object.defineProperty(Zt,wn,Object.getOwnPropertyDescriptor(Sn,wn))})}return Zt}var Lc=function(Zt){return Zt[Zt.SET_ANCHOR_ELEMENT=0]="SET_ANCHOR_ELEMENT",Zt[Zt.SET_DIALOG_ELEMENT=1]="SET_DIALOG_ELEMENT",Zt[Zt.SET_INPUT_ELEMENT=2]="SET_INPUT_ELEMENT",Zt[Zt.SET_SHEET_ELEMENT=3]="SET_SHEET_ELEMENT",Zt[Zt.SET_OPEN=4]="SET_OPEN",Zt[Zt.SET_CLOSED=5]="SET_CLOSED",Zt[Zt.SET_FOCUS_LOCK=6]="SET_FOCUS_LOCK",Zt}(Lc||{}),od=()=>{},yd=C.createContext({setAnchorElement:od,setClosed:od,setDialogElement:od,setFocusLockEnabled:od,setInputElement:od,setOpen:od,setSheetElement:od,state:{anchorElement:null,dialogElement:null,focusLockEnabled:!1,inputElement:null,isOpen:!1,sheetElement:null}}),cd=(Zt,Kt)=>{var Sn,wn,_r,Ve;switch(Kt.type){case Lc.SET_ANCHOR_ELEMENT:return pu(pu({},Zt),{},{anchorElement:(Sn=Kt.anchorElement)!==null&&Sn!==void 0?Sn:null});case Lc.SET_DIALOG_ELEMENT:{var tt;return pu(pu({},Zt),{},{dialogElement:(tt=Kt.dialogElement)!==null&&tt!==void 0?tt:null})}case Lc.SET_INPUT_ELEMENT:return pu(pu({},Zt),{},{inputElement:(wn=Kt.inputElement)!==null&&wn!==void 0?wn:null});case Lc.SET_SHEET_ELEMENT:return pu(pu({},Zt),{},{sheetElement:(_r=Kt.sheetElement)!==null&&_r!==void 0?_r:null});case Lc.SET_OPEN:return pu(pu({},Zt),{},{isOpen:!0});case Lc.SET_CLOSED:return pu(pu({},Zt),{},{isOpen:!1,focusLockEnabled:!1});case Lc.SET_FOCUS_LOCK:return pu(pu({},Zt),{},{focusLockEnabled:(Ve=Kt.focusLockEnabled)!==null&&Ve!==void 0?Ve:!1})}},Vd=50,Od=Zt=>{var Kt=Zt.children;(0,Zd.a1)(`
      Rosetta Compositions EditableDropdown is deprecated. Please use 'import { Dropdown } from '@sqs/rosetta-composition'.
      Example here: https://design-platform.squarespace.net/develop/compositions/components/Dropdown?story=editable-dropdown-with-date-range-selection
    `);var Sn=(0,C.useReducer)(cd,{anchorElement:null,dialogElement:null,focusLockEnabled:!1,inputElement:null,isOpen:!1,sheetElement:null}),wn=y()(Sn,2),_r=wn[0],Ve=wn[1],tt=(0,C.useRef)(),bt=(0,C.useCallback)(Pa=>Ve({type:Lc.SET_ANCHOR_ELEMENT,anchorElement:Pa}),[]),an=(0,C.useCallback)(()=>{var Pa;tt.current=(Pa=window)===null||Pa===void 0?void 0:Pa.setTimeout(()=>{Ve({type:Lc.SET_CLOSED})},Vd)},[]),Wn=(0,C.useCallback)(Pa=>Ve({type:Lc.SET_DIALOG_ELEMENT,dialogElement:Pa}),[]),nr=(0,C.useCallback)(Pa=>Ve({type:Lc.SET_FOCUS_LOCK,focusLockEnabled:Pa}),[]),Nr=(0,C.useCallback)(Pa=>Ve({type:Lc.SET_INPUT_ELEMENT,inputElement:Pa}),[]),to=(0,C.useCallback)(Pa=>{nr(Pa),setTimeout(()=>{clearTimeout(tt.current),Ve({type:Lc.SET_OPEN})},0)},[nr]),qo=(0,C.useCallback)(Pa=>Ve({type:Lc.SET_SHEET_ELEMENT,sheetElement:Pa}),[]);return C.createElement(yd.Provider,{value:{setAnchorElement:bt,setClosed:an,setDialogElement:Wn,setFocusLockEnabled:nr,setInputElement:Nr,setOpen:to,setSheetElement:qo,state:_r}},Kt)};const ud=Od;var Tl=["children","mountAt","onChange","value"];function nu(Zt,Kt){var Sn=Object.keys(Zt);if(Object.getOwnPropertySymbols){var wn=Object.getOwnPropertySymbols(Zt);Kt&&(wn=wn.filter(function(_r){return Object.getOwnPropertyDescriptor(Zt,_r).enumerable})),Sn.push.apply(Sn,wn)}return Sn}function uu(Zt){for(var Kt=1;Kt<arguments.length;Kt++){var Sn=arguments[Kt]!=null?arguments[Kt]:{};Kt%2?nu(Object(Sn),!0).forEach(function(wn){cu()(Zt,wn,Sn[wn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Zt,Object.getOwnPropertyDescriptors(Sn)):nu(Object(Sn)).forEach(function(wn){Object.defineProperty(Zt,wn,Object.getOwnPropertyDescriptor(Sn,wn))})}return Zt}var dd=()=>document.body,Tu=(0,au.q)(function(Kt,Sn){var wn=Kt.children,_r=Kt.mountAt,Ve=_r===void 0?dd:_r,tt=Kt.onChange,bt=Kt.value,an=P()(Kt,Tl),Wn=(0,C.useContext)(yd),nr=Wn.setDialogElement,Nr=Wn.state,to=Nr.anchorElement,qo=Nr.focusLockEnabled,Pa=Nr.isOpen,$a=(0,C.useState)(null),ss=y()($a,2),cs=ss[0],Ns=ss[1],Fi=(0,H.F)(),xi=Fi.space,ni=(0,S.Z)(Ns,nr,Sn),dl=(0,jc.D)(to,cs,{modifiers:[{name:"flip"},{name:"offset",options:{offset:[0,parseInt(xi[1],10)]}}]}),Ec=dl.styles;return Pa?Au.createPortal(C.createElement(lc.Z,null,ri=>C.createElement(T.Z,_()({ref:ni,bg:"white",boxShadow:500,p:2},an,{style:uu(uu({minWidth:to?to.clientWidth+parseInt(xi[2],10)*2:0,zIndex:ri},Ec.popper),an)}),C.createElement(Nu.ZP,{autoFocus:!0,disabled:!qo},wn({onChange:tt,value:bt})))),Ve()):null});const Wd=Tu;var qd=e(199025),af=e(488609),Kd=e(8483),ad=e(719484),Vu=e(51408),zu=e(66232),Wu=(0,Vu.Z)(qd.Z,af.Z),Ld=(Zt,Kt)=>{if(!Kt||!Zt)return!1;if(Zt===Kt)return!0;var Sn=Kt.compareDocumentPosition(Zt);return(Sn&Node.DOCUMENT_POSITION_CONTAINED_BY)!==0},sf=C.forwardRef((Zt,Kt)=>{var Sn=Zt.errorMessage,wn=Zt.iconElement,_r=Zt.inputRef,Ve=Zt.label,tt=Zt.onChange,bt=Zt.placeholder,an=Zt.value,Wn=(0,C.useContext)(yd),nr=Wn.setOpen,Nr=Wn.setClosed,to=Wn.setAnchorElement,qo=Wn.setInputElement,Pa=Wn.state,$a=Pa.dialogElement,ss=Pa.inputElement,cs=Pa.sheetElement,Ns=(0,S.Z)(to,Kt),Fi=(0,S.Z)(qo,_r??null),xi=(0,C.useState)(an),ni=y()(xi,2),dl=ni[0],Ec=ni[1];(0,C.useEffect)(()=>{Ec(an)},[an]);var ri=(0,C.useCallback)(()=>{tt(dl)},[dl,tt]),cc=(0,C.useCallback)(su=>{zu.Z.isEnter(su)&&tt(dl)},[dl,tt]);return(0,C.useEffect)(()=>{if(ss){var su=-21,zc=$c=>{var Ad=$c.target,df=$c.timeStamp;Math.abs(df-su)<20||(su=df,Ad?Ld(Ad,ss)?nr(!1):($a&&Ld(Ad,$a)||cs&&Ld(Ad,cs))&&nr(!0):Nr())};return document.body.addEventListener("focusin",zc,!0),document.body.addEventListener("mousedown",zc,!0),()=>{document.body.removeEventListener("focusin",zc,!0),document.body.removeEventListener("mousedown",zc,!0)}}},[$a,ss,Nr,nr,cs]),C.createElement(T.Z,{ref:Ns},C.createElement(Wu,{body:C.createElement(Kd.Z,{ref:Fi,onBlur:ri,onChange:Ec,onKeyDown:cc,placeholder:bt,textAlign:"right",value:dl}),exteriorPre:wn,interiorPre:Ve,post:Sn?C.createElement(ad.Z.Caption,{color:"red.500"},Sn):null}))});sf.displayName="Input";const lf=sf;var xd=e(860921),wd=e.n(xd),kd=e(412166),fd=e(600994),sd=e(20561),cf=e(628955),uf=e(522129),$u=C.forwardRef((Zt,Kt)=>{var Sn=Zt.bodyRef,wn=Zt.cancelText,_r=Zt.children,Ve=Zt.onCancel,tt=Ve===void 0?wd():Ve,bt=Zt.onChange,an=bt===void 0?wd():bt,Wn=Zt.headerRef,nr=Zt.saveText,Nr=Zt.titleText,to=Zt.value,qo=!0,Pa=1,$a=0,ss=(0,uf.Q)(),cs=ss.t;wn||(wn=cs("Cancel",{},{project:"rosetta-compositions"})),nr||(nr=cs("Save",{},{project:"rosetta-compositions"}));var Ns=(0,C.useContext)(yd),Fi=Ns.setClosed,xi=Ns.setFocusLockEnabled,ni=Ns.setSheetElement,dl=Ns.state,Ec=dl.focusLockEnabled,ri=dl.isOpen,cc=(0,cf.Z)(ri),su=(0,H.F)(),zc=su.easing,$c=su.time,Ad=(0,S.Z)(ni,Kt),df=(0,C.useState)(to),$d=y()(df,2),ff=$d[0],bd=$d[1];(0,C.useEffect)(()=>{ri&&!cc&&(xi(!0),bd(to))},[ri,xi,to,cc]);var gf=(0,C.useCallback)(()=>{$a<=0&&Fi(),tt()},[tt,Fi]),Ku=(0,C.useCallback)(()=>{$a+1>=Pa&&Fi(),an(ff)},[an,ff,Fi]);return C.createElement(sd.Z.Portal,null,C.createElement(lc.Z,null,ef=>C.createElement(Nu.ZP,{ref:Ad,autoFocus:!0,disabled:!Ec},C.createElement(sd.Z.Container,{zIndex:ef},C.createElement(sd.Z.Overlay,{css:{transition:"background ".concat($c[500]," ").concat(zc.product.default),pointerEvents:ri?"initial":"none",background:ri?"rgba(0, 0, 0, 0.4)":"none"}}),C.createElement(sd.Z.Drawer,{currentDockIndex:ri?1:0,docks:[0,window.innerHeight],draggable:!1,renderBody:()=>C.createElement(T.Z,{ref:Sn,"data-autofocus-inside":!0,px:3},_r({onChange:bd,value:ff})),renderHeader:()=>C.createElement(kd.Z,{ref:Wn,alignItems:"center",height:"sizes.300",justifyContent:"space-between",px:3},C.createElement(fd.Z.Tertiary,{onClick:gf},wn),C.createElement(ad.Z.Body,{fontWeight:"medium",m:0,textAlign:"center"},Nr),C.createElement(fd.Z.Tertiary,{disabled:!qo,onClick:Ku},nr))})))))});$u.displayName="SheetContainer";const Bd={Context:yd,DialogContainer:Wd,Input:lf,Provider:ud,SheetContainer:$u};var Pc=e(197272),Fl=e(640714),Gd=e(298275),hd=e(737368),zd=e(194807),Pd=e(154642),Cd=e(504386),xn=e(90410),$s=e(953435),Ki=e(446269),ru=e(124575)},628649:function(b,l,e){var r={"./rosetta-compositions.en-US.json":"444335","./rosetta-compositions.en-US.yaml":"189915"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=628649},184791:function(b,l,e){"use strict";e.d(l,{Z:()=>v});var r=e(392338),o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(737968),u=e.n(c),f=e(174161),d=e(517629),h=e(47932),g=e(881707),_=e(680180),p=e.n(_),y=m=>{var E=(0,f.useState)(!1),I=p()(E,2),L=I[0],W=I[1];return(0,f.useEffect)(()=>{var F=setTimeout(()=>{W(!0)},m);return()=>{clearTimeout(F)}},[m]),L};const O=y;var P=["className","color","delay","size","sx"];function C(m,E){var I=Object.keys(m);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(m);E&&(L=L.filter(function(W){return Object.getOwnPropertyDescriptor(m,W).enumerable})),I.push.apply(I,L)}return I}function A(m){for(var E=1;E<arguments.length;E++){var I=arguments[E]!=null?arguments[E]:{};E%2?C(Object(I),!0).forEach(function(L){i()(m,L,I[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(I)):C(Object(I)).forEach(function(L){Object.defineProperty(m,L,Object.getOwnPropertyDescriptor(I,L))})}return m}var S=(0,d.keyframes)({"0%":{transform:"rotateY(0deg)"},"12.5%":{transform:"rotateY(0deg)"},"50%":{transform:"rotateY(180deg)"},"62.5%":{transform:"rotateY(180deg)"},"100%":{transform:"rotateZ(180deg)"}}),T=m=>{var E=m.className,I=m.color,L=I===void 0?"dark":I,W=m.delay,F=W===void 0?100:W,G=m.size,k=G===void 0?1:G,x=m.sx,M=x===void 0?{}:x,B=u()(m,P),R=(0,h.F)(),U=typeof k=="string"?k:k===0?"sizes.100":"sizes.150",j=O(F);return j?f.createElement(g.Z,n()({className:E,size:U,sx:A({perspective:"80px"},M)},B),f.createElement(g.Z,{bg:L==="dark"?"gray.100":"white",size:U,sx:{animationName:"".concat(S),animationDuration:"1.6s",animationIterationCount:"infinite",animationTimingFunction:R.easing.product.entrance,transformStyle:"preserve-3d"}})):null};const v=T},662613:function(b,l,e){"use strict";e.d(l,{Z:()=>W});var r=e(392338),o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(680180),u=e.n(c),f=e(737968),d=e.n(f),h=e(174161),g=e(600994),_=e(412166),p=e(719484),y=e(705198),O=e(47932),P=e(854594);function C(F,G){var k=Object.keys(F);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(F);G&&(x=x.filter(function(M){return Object.getOwnPropertyDescriptor(F,M).enumerable})),k.push.apply(k,x)}return k}function A(F){for(var G=1;G<arguments.length;G++){var k=arguments[G]!=null?arguments[G]:{};G%2?C(Object(k),!0).forEach(function(x){i()(F,x,k[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(k)):C(Object(k)).forEach(function(x){Object.defineProperty(F,x,Object.getOwnPropertyDescriptor(k,x))})}return F}var S=F=>{var G=F.color,k=F.hovered,x=(0,h.useRef)(null),M=(0,O.F)(),B={transitionProperty:"transform, width",transitionDuration:M.time[200],transitionTimingFunction:M.easing.product.entrance,transform:"translate(0)"},R={transitionProperty:"transform, width",transitionDuration:M.time[200],transitionTimingFunction:M.easing.product.exit,transform:"translate(-6px)"},U={entering:B,entered:R,exiting:R,exited:B,unmounted:{}};return h.createElement(P.ZP,{in:k,nodeRef:x,timeout:0},j=>h.createElement("svg",{ref:x,color:G,fill:"currentColor",height:"22",viewBox:"0 0 22 22",width:"22",xmlns:"http://www.w3.org/2000/svg"},h.createElement("rect",{height:"2",style:A({width:j==="entering"||j==="exited"?"0":"15px"},U[j]),width:"0",x:"7",y:"10"}),h.createElement("path",{d:"M15.75 4H13L6 11L13 18H15.75L8.75 11L15.75 4Z",style:A({},U[j])})))};const T=S;var s=e(251156),v=["css","icon","label","type"];function m(F,G){var k=Object.keys(F);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(F);G&&(x=x.filter(function(M){return Object.getOwnPropertyDescriptor(F,M).enumerable})),k.push.apply(k,x)}return k}function E(F){for(var G=1;G<arguments.length;G++){var k=arguments[G]!=null?arguments[G]:{};G%2?m(Object(k),!0).forEach(function(x){i()(F,x,k[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(k)):m(Object(k)).forEach(function(x){Object.defineProperty(F,x,Object.getOwnPropertyDescriptor(k,x))})}return F}var I=h.forwardRef(function(G,k){var x=G.css,M=x===void 0?{}:x,B=G.icon,R=G.label,U=G.type,j=U===void 0?"button":U,$=d()(G,v),ee=(0,s.Q)(),te=ee.t;R||(R=te("Back",{},{project:"rosetta-elements"}));var ie=(0,h.useState)(!1),ne=u()(ie,2),pe=ne[0],oe=ne[1],q=()=>oe(!0),J=()=>oe(!1),me=B?{}:{overflow:"visible"},re=(0,O.F)(),he=re.borders,Ee={":focus":{"&:after":{border:he[2],borderColor:"gray.100",content:'""',height:"calc(100% - 18px)",left:B?"-6px":"-14px",position:"absolute",top:"9px",width:"calc(100% + ".concat(B?"10px":"16px",")")},boxShadow:"none",outline:"none",overflow:"visible"},":focus:not(:focus-visible)":{"&:after":{display:"none"}}};return h.createElement(g.Z.Base,n()({ref:k,css:E(E(E({},me),Ee),M),display:"inline-block",onBlur:J,onFocus:q,onMouseLeave:J,onMouseOver:q,p:0,pb:2,pr:1,pt:2,textAlign:"left",type:j},$),h.createElement(_.Z,{alignItems:"center",css:{transform:"translate3d(0, 0, 0)"}},B||h.createElement(_.Z,{ml:-1},h.createElement(T,{hovered:pe})),typeof R=="string"||(0,y.Z)(R)?h.createElement(p.Z.Action,null,R):R))});const W=I},526427:function(b,l,e){"use strict";e.d(l,{Z:()=>v});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(680180),c=e.n(i),u=e(737968),f=e.n(u),d=e(392338),h=e(47932),g=e(517629),_=e(174161),p=e(934388),y=e(944545),O=e(936481),P=["captureInputRef","children","className","color","htmlAttributes","inverted","isDisabled","label","linkProps","onClick","size","tabIndex","type","style"];function C(m,E){var I=Object.keys(m);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(m);E&&(L=L.filter(function(W){return Object.getOwnPropertyDescriptor(m,W).enumerable})),I.push.apply(I,L)}return I}function A(m){for(var E=1;E<arguments.length;E++){var I=arguments[E]!=null?arguments[E]:{};E%2?C(Object(I),!0).forEach(function(L){a()(m,L,I[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(I)):C(Object(I)).forEach(function(L){Object.defineProperty(m,L,Object.getOwnPropertyDescriptor(I,L))})}return m}var S=m=>{var E=m.captureInputRef,I=m.children,L=m.className,W=m.color,F=W===void 0?"default":W,G=m.htmlAttributes,k=m.inverted,x=k===void 0?!1:k,M=m.isDisabled,B=M===void 0?!1:M,R=m.label,U=m.linkProps,j=m.onClick,$=m.size,ee=$===void 0?"large":$,te=m.tabIndex,ie=m.type,ne=m.style,pe=f()(m,P);(0,p.a1)(`
      'Button' from @sqs/rosetta-elements is deprecated. Please use 'Button' from @sqs/rosetta-primitives.
      Docs: https://design-platform.squarespace.net/develop/primitives/components/Button/
    `);var oe=(0,h.F)(),q=oe.sizes,J=oe.fontSizes,me=oe.space,re=oe.colors,he=oe.radii,Ee=_.useState(!1),fe=c()(Ee,2),H=fe[0],z=fe[1],_e=U?"a":"button",ae="18px",ge=q.sizes[250],Be="calc( (".concat(ge," - ").concat(ae,") / 2 )"),Ke="calc( (32px - ".concat(ae,") / 2 )"),He="calc( (37px - ".concat(ae,") / 2 )"),ye=ee==="small"?Ke:ee==="medium"?He:Be,Le=x&&F;return(0,g.jsx)(_e,o()({},(0,y.Z)(pe),G,U,{ref:E,className:L,css:A(A(A(A({fontSize:J[3],border:"none",padding:"".concat(ye," ").concat(me[1]),borderRadius:he[1],userSelect:"none",lineHeight:ae,textDecoration:"none",margin:0,cursor:"pointer",color:Le?re.white:re.black,backgroundColor:Le?re.gray[100]:"transparent"},B?Le?{color:re.gray[600],backgroundColor:re.gray[800],cursor:"not-allowed"}:{color:re.gray[600],cursor:"not-allowed"}:{}),H?Le?{outline:"none",backgroundColor:re.gray[300]}:{outline:"none"}:{}),{},{":-moz-focus-inner":{border:0}},F==="warning"?{color:re.red[300]}:F==="primary"?{color:re.blue[300]}:{}),ne),disabled:B,onBlur:()=>z(!1),onClick:j,onFocus:()=>z(!0),tabIndex:te,type:ie||"button"}),I||R)},T=(0,O.Z)(S);const v=T},297761:function(b,l,e){"use strict";e.d(l,{Z:()=>he});var r=e(392338),o=e(680180),n=e.n(o),a=e(737968),i=e.n(a),c=e(642979),u=e.n(c),f=e(160553),d=e.n(f),h=e(174161),g=e(881707),_=e(47932),p=e(471184),y=e(938408),O=e(272578),P=e(934388),C=e(860921),A=e.n(C),S=["isActive","isDisabled","onBlur","onChange","onFocus"],T=h.forwardRef((Ee,fe)=>{var H=Ee.isActive,z=H===void 0?!1:H,_e=Ee.isDisabled,ae=_e===void 0?!1:_e,ge=Ee.onBlur,Be=ge===void 0?A():ge,Ke=Ee.onChange,He=Ke===void 0?A():Ke,ye=Ee.onFocus,Le=ye===void 0?A():ye,Ue=i()(Ee,S);return h.createElement(g.Z,d()({ref:fe,as:"input",checked:z,css:{cursor:"pointer"},disabled:ae,height:"100%",left:0,margin:0,onBlur:Be,onChange:Xe=>He(Xe.target.checked,Xe),onFocus:Le,opacity:0,position:"absolute",top:0,type:"checkbox",width:"100%"},Ue))});T.displayName="HiddenSelectable";const s=T,v={default:Ee=>{var fe=Ee.isActive,H=fe===void 0?!1:fe,z=Ee.isFocusVisible,_e=z===void 0?!1:z;return{borderColor:H?"gray.100":"gray.800",borderStyle:"solid",borderWidth:1,outline:_e?"2px solid":void 0,outlineColor:"gray.100",outlineOffset:2,"&:hover":{borderColor:H?"gray.100":"gray.800"}}},quiet:Ee=>{var fe=Ee.isActive,H=fe===void 0?!1:fe,z=Ee.isFocusVisible,_e=z===void 0?!1:z;return{borderColor:H?"gray.100":"transparent",borderStyle:"solid",borderWidth:1,outline:_e?"2px solid":void 0,outlineColor:"gray.100",outlineOffset:2,"&:hover":{borderColor:H?"gray.100":"transparent"}}}};var m=e(688720),E=e(194243),I=e(481103),L=e(279523),W=e(958112),F=e(99378),G=e(199946),k=Ee=>(0,m.Z)(Ee,E.O,I.C,y.ix,y.$_,L.b,y.Kl,W.F,F.A,G.Dh,y.sx,y.iv),x={DEFAULT:"default",QUIET:"quiet"},M=x.DEFAULT,B=h.createContext(M),R=(0,p.Z)(g.Z)({},k((0,y.bU)({variants:{default:{px:4,py:3},quiet:{px:2,py:3}}}))),U=Ee=>{var fe=(0,h.useContext)(B);return h.createElement(R,d()({variant:fe},Ee))};U.displayName="Card.Body";const j=U;var $=["isActive","isDisabled","onChange","children","inputAriaLabel","hiddenSelectableProps"],ee=["isSelectable","variant"];function te(Ee,fe){var H=Object.keys(Ee);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(Ee);fe&&(z=z.filter(function(_e){return Object.getOwnPropertyDescriptor(Ee,_e).enumerable})),H.push.apply(H,z)}return H}function ie(Ee){for(var fe=1;fe<arguments.length;fe++){var H=arguments[fe]!=null?arguments[fe]:{};fe%2?te(Object(H),!0).forEach(function(z){u()(Ee,z,H[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ee,Object.getOwnPropertyDescriptors(H)):te(Object(H)).forEach(function(z){Object.defineProperty(Ee,z,Object.getOwnPropertyDescriptor(H,z))})}return Ee}var ne=h.forwardRef((Ee,fe)=>{var H=(0,_.F)();return h.createElement(g.Z,d()({ref:fe,theme:H},Ee))});ne.displayName="Card";var pe=(0,p.Z)(ne)(Ee=>{var fe=Ee.isHoverable,H=Ee.isSelectable,z=Ee.isInputFocused,_e=Ee.flexDirection,ae=_e===void 0?"column":_e,ge=Ee.theme;return ie({display:"flex",flexDirection:ae,overflow:"hidden",position:"relative"},(fe||H)&&(0,y.sx)({sx:{backgroundColor:z?"gray.900":void 0,"&:hover, &:focus":{backgroundColor:"gray.900"}},theme:ge}))},k((0,y.bU)({variants:v}))),oe=Ee=>{var fe=Ee.isActive,H=Ee.isDisabled,z=Ee.onChange,_e=Ee.children,ae=Ee.inputAriaLabel,ge=Ee.hiddenSelectableProps,Be=i()(Ee,$),Ke=h.useState(!1),He=n()(Ke,2),ye=He[0],Le=He[1],Ue=h.useState(null),Xe=n()(Ue,2),Fe=Xe[0],ht=Xe[1],Ne=(0,O.Z)(Fe);return h.createElement(pe,d()({isActive:fe,isFocusVisible:Ne,isInputFocused:ye,isSelectable:!H},Be),_e,h.createElement(s,d()({ref:ht,"aria-label":ae,isActive:fe,isDisabled:H,onBlur:()=>Le(!1),onChange:z,onFocus:()=>Le(!0)},ge)))},q=Ee=>h.createElement(me,d()({isSelectable:!0},Ee)),J=Ee=>((0,P.a1)("Card.TextContainer is deprecated. Please use 'Card.Body' for the generic container."),h.createElement(j,Ee)),me=Ee=>{var fe=Ee.isSelectable,H=fe===void 0?!1:fe,z=Ee.variant,_e=z===void 0?M:z,ae=i()(Ee,ee),ge=H?oe:pe;return h.createElement(B.Provider,{value:_e},h.createElement(ge,d()({variant:_e},ae)))};me.Selectable=q,me.TextContainer=J,me.Body=j;const he=me},199025:function(b,l,e){"use strict";e.d(l,{Z:()=>re});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(392338),c=e(174161),u=e(412166),f=e(881707),d=e(712606),h=e(938408),g=e(719484),_=e(705198),p={body:function(){var Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return{color:Ee?"gray.600":"gray.100"}},caption:function(){var Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return{color:Ee?"gray.600":"gray.300"}}},y=he=>{var Ee=he.children,fe=he.isDisabled,H=fe===void 0?!1:fe,z=he.textStyle,_e=z===void 0?"body":z;if(typeof Ee=="function")return c.createElement(Ee);if(typeof Ee=="string"||(0,_.Z)(Ee)){var ae=p[_e]||p.body;return c.createElement(g.Z,o()({m:0,textStyle:_e},ae(H)),Ee)}return(0,c.isValidElement)(Ee)?Ee:c.createElement(c.Fragment,null,Ee)};const O=y;var P=e(642979),C=e.n(P);const A={Container:{display:"block"}};var S=["children","isDisabled","sx"];function T(he,Ee){var fe=Object.keys(he);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(he);Ee&&(H=H.filter(function(z){return Object.getOwnPropertyDescriptor(he,z).enumerable})),fe.push.apply(fe,H)}return fe}function s(he){for(var Ee=1;Ee<arguments.length;Ee++){var fe=arguments[Ee]!=null?arguments[Ee]:{};Ee%2?T(Object(fe),!0).forEach(function(H){C()(he,H,fe[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(he,Object.getOwnPropertyDescriptors(fe)):T(Object(fe)).forEach(function(H){Object.defineProperty(he,H,Object.getOwnPropertyDescriptor(fe,H))})}return he}var v=c.forwardRef((he,Ee)=>{var fe=he.children,H=he.isDisabled,z=he.sx,_e=a()(he,S);return c.createElement(f.Z,o()({ref:Ee},A.Container,{minHeight:"sizes.250",py:2,sx:s({cursor:H?"not-allowed":"inherit"},z)},_e),fe)});v.displayName="DefaultContainerBase";const m=v;var E=["sx"];function I(he,Ee){var fe=Object.keys(he);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(he);Ee&&(H=H.filter(function(z){return Object.getOwnPropertyDescriptor(he,z).enumerable})),fe.push.apply(fe,H)}return fe}function L(he){for(var Ee=1;Ee<arguments.length;Ee++){var fe=arguments[Ee]!=null?arguments[Ee]:{};Ee%2?I(Object(fe),!0).forEach(function(H){C()(he,H,fe[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(he,Object.getOwnPropertyDescriptors(fe)):I(Object(fe)).forEach(function(H){Object.defineProperty(he,H,Object.getOwnPropertyDescriptor(fe,H))})}return he}var W=c.forwardRef((he,Ee)=>{var fe=he.sx,H=a()(he,E);return c.createElement(m,o()({ref:Ee,sx:L({hyphens:"auto"},fe)},H))});W.displayName="DefaultContainer";const F=W;var G=["children"],k=["children"],x=["children"],M=["children"],B=["children"],R=["children"],U=["children"],j=["label","body","description","interiorPre","exteriorPre","interiorAccessory","isDisabled","exteriorAccessory","post","space"],$=c.forwardRef((he,Ee)=>{var fe=he.children,H=a()(he,G);return c.createElement(u.Z,o()({ref:Ee,alignItems:"center",flexDirection:"row",justifyContent:"space-between"},H),fe)});$.displayName="Shell";var ee=(0,d.Z)(F)((0,h.bU)({variants:{default:{},floating:{px:2,backgroundColor:"gray.900"}}})),te=c.forwardRef((he,Ee)=>{var fe=he.children,H=a()(he,k);return c.createElement(u.Z,o()({ref:Ee,flex:1,flexDirection:"column",justifyContent:"space-between",width:"50%"},H),fe)});te.displayName="Body";var ie=c.forwardRef((he,Ee)=>{var fe=he.children,H=a()(he,x);return fe?c.createElement(u.Z,o()({ref:Ee,alignItems:"center",mr:2},H),c.createElement(O,null,fe)):null});ie.displayName="InteriorPre";var ne=c.forwardRef((he,Ee)=>{var fe=he.children,H=a()(he,M);return fe?c.createElement(u.Z,o()({ref:Ee,alignItems:"center",justifyContent:"flex-start",mr:2},H),c.createElement(O,null,fe)):null});ne.displayName="ExteriorPre";var pe=c.forwardRef((he,Ee)=>{var fe=he.children,H=a()(he,B);return fe?c.createElement(u.Z,o()({ref:Ee,alignItems:"center",ml:2,textAlign:"right"},H),c.createElement(O,null,fe)):null});pe.displayName="InteriorAccessory";var oe=c.forwardRef((he,Ee)=>{var fe=he.children,H=a()(he,R);return fe?c.createElement(u.Z,o()({ref:Ee,alignItems:"center",justifyContent:"flex-end",ml:2,textAlign:"right"},H),c.createElement(O,null,fe)):null});oe.displayName="ExteriorAccessory";var q=c.forwardRef((he,Ee)=>{var fe=he.children,H=a()(he,U);return fe?c.createElement(f.Z,o()({ref:Ee,pt:1},H),c.createElement(O,null,fe)):null});q.displayName="Post";var J=c.forwardRef((he,Ee)=>{var fe=he.label,H=he.body,z=he.description,_e=he.interiorPre,ae=he.exteriorPre,ge=he.interiorAccessory,Be=he.isDisabled,Ke=he.exteriorAccessory,He=he.post,ye=he.space,Le=ye===void 0?2:ye,Ue=a()(he,j);return c.createElement(ee,o()({},Ue,{ref:Ee,isDisabled:Be}),c.createElement($,null,c.createElement(ne,{mr:Le},ae),c.createElement(ie,{mr:Le},_e),c.createElement(te,null,H||c.createElement(c.Fragment,null,c.createElement(O,{isDisabled:Be},fe),c.createElement(O,{isDisabled:Be,textStyle:"caption"},z))),c.createElement(pe,{ml:Le},ge),c.createElement(oe,{ml:Le},Ke)),c.createElement(q,null,He))});J.displayName="Cell";const re=Object.assign(J,{Container:ee,ExteriorPre:ne,InteriorPre:ie,Body:te,InteriorAccessory:pe,Shell:$,ExteriorAccessory:oe,Post:q})},414569:function(b,l,e){"use strict";e.d(l,{Z:()=>F});var r=e(392338),o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(680180),u=e.n(c),f=e(737968),d=e.n(f),h=e(174161),g=e(412166),_=e(881707),p=e(579531),y=e(942085),O=e(272578),P=e(47932),C=e(826788),A=G=>{var k=G.className,x=G.fill,M=x===void 0?"#313131":x;return h.createElement("svg",{className:k,fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg"},h.createElement("rect",{fill:M,height:"2",width:"10",x:"3",y:"7"}))};A.displayName="IndeterminateIcon";const S=A;var T=["checked","className","indeterminate","isActive","isDisabled"],s=G=>{var k=G.checked,x=G.className,M=G.indeterminate,B=G.isActive,R=G.isDisabled,U=d()(G,T),j=(0,P.F)(),$=j.colors;if(!k&&!M)return null;var ee=B?$.gray[500]:$.fg.onStrong;return M?h.createElement(S,n()({className:x,fill:ee},U)):h.createElement(C.Z,n()({className:x,fill:ee},U))};const v=s;var m=["aria-label","appearance","checked","id","indeterminate","isDisabled","name","onChange","tabIndex","touchable","value","data-test"];function E(G,k){var x=Object.keys(G);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(G);k&&(M=M.filter(function(B){return Object.getOwnPropertyDescriptor(G,B).enumerable})),x.push.apply(x,M)}return x}function I(G){for(var k=1;k<arguments.length;k++){var x=arguments[k]!=null?arguments[k]:{};k%2?E(Object(x),!0).forEach(function(M){i()(G,M,x[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(x)):E(Object(x)).forEach(function(M){Object.defineProperty(G,M,Object.getOwnPropertyDescriptor(x,M))})}return G}var L=(0,p.q)((G,k)=>{var x=G["aria-label"],M=G.appearance,B=M===void 0?"default":M,R=G.checked,U=R===void 0?!1:R,j=G.id,$=G.indeterminate,ee=$===void 0?!1:$,te=G.isDisabled,ie=te===void 0?!1:te,ne=G.name,pe=G.onChange,oe=G.tabIndex,q=G.touchable,J=G.value,me=G["data-test"],re=d()(G,m),he=(0,h.useState)(null),Ee=u()(he,2),fe=Ee[0],H=Ee[1],z=(0,y.Z)(H,k),_e=(0,O.Z)(fe),ae=(0,P.F)(),ge=ae.borders,Be=h.useState(!1),Ke=u()(Be,2),He=Ke[0],ye=Ke[1],Le=()=>{ye(!0)},Ue=()=>{ye(!1)},Xe=Pt=>{(Pt.key==="Enter"||Pt.key===" ")&&ye(!0)},Fe=Pt=>{(Pt.key==="Enter"||Pt.key===" ")&&ye(!1)},ht=B==="round"?{height:"sizes.100",width:"sizes.100"}:{},Ne="gray.300",Ce=He?"gray.500":"bg.base",we=U||ee?"gray.300":Ce,$e=U||ee?He?"gray.300":"gray.200":He?"gray.500":"gray.600";ie&&(Ne="gray.600",we=U||ee?"gray.600":"bg.base");var Ot={height:"sizes.125",width:"sizes.125",backgroundColor:we,border:1,borderColor:Ne,borderRadius:B==="round"?"circle":"0"};return(0,h.useEffect)(()=>{fe&&(fe.indeterminate=ee)},[ee,fe]),h.createElement(g.Z,n()({alignItems:"center",height:"sizes.150",justifyContent:"center",position:"relative",width:"sizes.150"},re),h.createElement(_.Z,{as:"span",css:{alignItems:"center",display:"inline-flex",justifyContent:"center",overflow:"hidden",position:"relative",transition:"background-color 0.2s ease-in-out"},sx:q&&!ie?{"&:before":I(I({},Ot),{},{content:'""',position:"absolute"}),"&:hover":{backgroundColor:He?"gray.800":"bg.default","&:before":{borderColor:"gray.200",backgroundColor:$e}},"& svg":{maxHeight:B==="round"?"sizes.125":"sizes.150",maxWidth:B==="round"?"sizes.125":"sizes.150"},"&:hover svg":{fill:He?"gray.500":"gray.600"},backgroundColor:_e||He?"gray.800":"",borderRadius:"circle",marginLeft:"-14px",marginRight:"-14px",outline:_e?ge[2]:"none",outlineColor:"border.strong",height:"sizes.200",width:"sizes.200",display:"block"}:I(I({},Ot),ie?{}:I({"&:hover":{borderColor:"gray.200",backgroundColor:$e},"&:hover svg":{fill:He?"gray.500":"gray.600"},"& svg":{"@media (forced-colors: active)":{fill:"border.strong"}}},_e&&{outline:1,outlineColor:"border.strong",outlineOffset:"2px"}))},h.createElement(g.Z,{pointerEvents:"none",position:"absolute"},h.createElement(v,n()({checked:U,indeterminate:ee,isActive:He,isDisabled:ie},ht))),h.createElement("input",{ref:z,"aria-label":x,checked:U,"data-test":me,disabled:ie,id:j,name:ne,onChange:Pt=>pe&&pe(!!Pt.target.checked,Pt),onKeyDown:Xe,onKeyUp:Fe,onMouseDown:Le,onMouseLeave:Ue,onMouseUp:Ue,style:{position:"absolute",width:"100%",height:"100%",margin:0,top:0,left:0,opacity:0,cursor:ie?"not-allowed":"pointer"},tabIndex:oe,type:"checkbox",value:J})))});L.displayName="Checkbox";const F=L},486238:function(b,l,e){"use strict";e.d(l,{Z:()=>rt});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(174161),c=e(305170),u=e(392338),f=e(642979),d=e.n(f),h=e(680180),g=e.n(h),_=e(461761),p=e.n(_),y=e(412166),O=e(425629),P=e(47932),C=(0,i.createContext)(!1);const A=C;var S=(0,i.createContext)(!1);const T=S;var s={isAccessoryHovered:!1,setIsAccessoryHovered:()=>{}},v=(0,i.createContext)(s);const m=v;var E={default:{backgroundColor:"gray.800",backgroundColorHover:"gray.700",borderColor:"fg.disabled",color:"fg.default",colorHover:"fg.default"},disabled:{backgroundColor:"bg.default",backgroundColorHover:"bg.default",borderColor:"transparent",color:"fg.disabled",colorHover:"fg.disabled"},error:{backgroundColor:"red.800",backgroundColorHover:"red.700",borderColor:"red.600",color:"fg.danger",colorHover:"red.200"},info:{backgroundColor:"blue.800",backgroundColorHover:"blue.700",borderColor:"blue.600",color:"fg.accent",colorHover:"blue.200"},success:{backgroundColor:"green.800",backgroundColorHover:"green.700",borderColor:"green.600",color:"fg.success",colorHover:"green.200"},warning:{backgroundColor:"yellow.800",backgroundColorHover:"yellow.700",borderColor:"yellow.600",color:"fg.warning",colorHover:"yellow.200"}};const I=E;var L=(0,i.createContext)(I.default);const W=L;var F={badge:{marginY:"3px",paddingX:"8px",pictoMargin:"4px",size:"sizes.150"},default:{marginY:1,paddingX:2,pictoMargin:"4px",size:"sizes.175"}};const G=F;var k=(0,i.createContext)(G.default);const x=k;var M=["children","isDisabled","onClick","isSelected","status","sx","usage"];function B(ce,Re){var nt=Object.keys(ce);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(ce);Re&&(st=st.filter(function(vt){return Object.getOwnPropertyDescriptor(ce,vt).enumerable})),nt.push.apply(nt,st)}return nt}function R(ce){for(var Re=1;Re<arguments.length;Re++){var nt=arguments[Re]!=null?arguments[Re]:{};Re%2?B(Object(nt),!0).forEach(function(st){d()(ce,st,nt[st])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ce,Object.getOwnPropertyDescriptors(nt)):B(Object(nt)).forEach(function(st){Object.defineProperty(ce,st,Object.getOwnPropertyDescriptor(nt,st))})}return ce}var U=(0,i.forwardRef)((ce,Re)=>{var nt=ce.children,st=ce.isDisabled,vt=st===void 0?!1:st,ze=ce.onClick,It=ce.isSelected,on=It===void 0?!1:It,Pn=ce.status,Yn=Pn===void 0?"default":Pn,Ln=ce.sx,bn=Ln===void 0?{}:Ln,ir=ce.usage,Zn=ir===void 0?"default":ir,$n=a()(ce,M),jt=(0,P.F)(),Rn=jt.sizes,jn=I[vt?"disabled":Yn],Tn=jn.backgroundColor,Nn=jn.backgroundColorHover,cn=jn.borderColor,or=jn.color,qn=jn.colorHover,Hr=G[Zn],fo=Hr.paddingX,Jr=Hr.size,ro=parseInt(p()(Rn,Jr,Jr),10)/2+"px",Xt=(0,i.useState)(!1),Je=g()(Xt,2),At=Je[0],xt=Je[1],Qt=(0,i.useState)(!1),qt=g()(Qt,2),Te=qt[0],Gt=qt[1],un=(0,i.useState)(!1),Vt=g()(un,2),Dn=Vt[0],Wt=Vt[1],Pe=ze!==void 0,xe=Pe&&Te||Dn,Ae=xe?Nn:Tn,qe=xe?qn:or;return i.createElement(y.Z,o()({ref:Re,alignItems:"center",as:ze?O.Z.Element.WithoutFeedback:void 0,bg:Ae,border:1,borderColor:on?"gray.300":"transparent",borderRadius:ro,color:qe,disabled:vt,display:"inline-flex",minHeight:Jr,minWidth:Jr,onBlur:wt=>{xt(!1),typeof $n.onBlur=="function"&&$n.onBlur(wt)},onClick:ze,onFocus:wt=>{var kt=wt.target;try{kt.matches(":focus-visible")?xt(!0):xt(!1)}catch{xt(!0)}typeof $n.onFocus=="function"&&$n.onFocus(wt)},onMouseEnter:wt=>{Gt(!0),typeof $n.onMouseEnter=="function"&&$n.onMouseEnter(wt)},onMouseLeave:wt=>{Gt(!1),typeof $n.onMouseLeave=="function"&&$n.onMouseLeave(wt)},px:fo,width:"initial"},$n,{sx:R(R({},bn),{},{"&:focus":R({outline:2,outlineColor:"border.strong",outlineOffset:"2px"},bn["&:focus"]),"&:focus:not(:focus-visible)":R({outline:"none"},bn["&:focus:not(:focus-visible)"]),"&:disabled":R({bg:I.disabled.backgroundColor,borderColor:I.disabled.borderColor,color:I.disabled.color},bn["&:disabled"]),"&:active":Pe||Dn?{bg:Nn,borderColor:cn,color:qn}:{}})}),i.createElement(W.Provider,{value:jn},i.createElement(x.Provider,{value:Hr},i.createElement(A.Provider,{value:At},i.createElement(T.Provider,{value:Te},i.createElement(m.Provider,{value:{isAccessoryHovered:Dn,setIsAccessoryHovered:Wt}},nt))))))});U.displayName="Container";const j=U;var $=e(719484),ee=["children"],te=(0,i.forwardRef)((ce,Re)=>{var nt=ce.children,st=a()(ce,ee),vt=(0,P.F)(),ze=vt.borderWidths,It=vt.space,on=(0,i.useContext)(x),Pn=on.marginY,Yn=parseInt(p()(It,Pn,Pn),10)-parseInt(String(ze[1]),10)+"px";return i.createElement($.Z.Caption,o()({ref:Re,color:"inherit",marginY:Yn},st),nt)});te.displayName="Label";const ie=te;function ne(ce,Re){var nt=Object.keys(ce);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(ce);Re&&(st=st.filter(function(vt){return Object.getOwnPropertyDescriptor(ce,vt).enumerable})),nt.push.apply(nt,st)}return nt}function pe(ce){for(var Re=1;Re<arguments.length;Re++){var nt=arguments[Re]!=null?arguments[Re]:{};Re%2?ne(Object(nt),!0).forEach(function(st){d()(ce,st,nt[st])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ce,Object.getOwnPropertyDescriptors(nt)):ne(Object(nt)).forEach(function(st){Object.defineProperty(ce,st,Object.getOwnPropertyDescriptor(nt,st))})}return ce}var oe=G.default.pictoMargin,q={color:"inherit",css:{marginRight:oe}},J=ce=>{var Re=ce.children;return(0,i.isValidElement)(Re)?(0,i.cloneElement)(Re,pe(pe({},Re.props),q)):Re};J.displayName="Glyph";const me=J;var re=["accessory","glyph","label"],he=(0,i.forwardRef)((ce,Re)=>{var nt=ce.accessory,st=ce.glyph,vt=ce.label,ze=a()(ce,re),It=(0,i.useMemo)(c.Z,[]);return i.createElement(j,o()({ref:Re,"aria-labelledby":vt?It:void 0},ze),st&&i.createElement(me,null,st),vt&&i.createElement(ie,{id:It},vt),nt)});he.displayName="Chip";const Ee=he;var fe=e(37041),H=["isDisabled"];function z(ce,Re){var nt=Object.keys(ce);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(ce);Re&&(st=st.filter(function(vt){return Object.getOwnPropertyDescriptor(ce,vt).enumerable})),nt.push.apply(nt,st)}return nt}function _e(ce){for(var Re=1;Re<arguments.length;Re++){var nt=arguments[Re]!=null?arguments[Re]:{};Re%2?z(Object(nt),!0).forEach(function(st){d()(ce,st,nt[st])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ce,Object.getOwnPropertyDescriptors(nt)):z(Object(nt)).forEach(function(st){Object.defineProperty(ce,st,Object.getOwnPropertyDescriptor(nt,st))})}return ce}var ae=G.default.pictoMargin,ge=(0,i.forwardRef)((ce,Re)=>{var nt=ce.isDisabled,st=nt===void 0?!1:nt,vt=a()(ce,H);return i.createElement(fe.Z,o()({ref:Re,color:st?"fg.disabled":"inherit"},vt,{sx:_e({flexShrink:0,marginLeft:ae,my:-1},vt.sx)}))});ge.displayName="ChevronDown";const Be=ge;var Ke=e(726658),He=["isDisabled"];function ye(ce,Re){var nt=Object.keys(ce);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(ce);Re&&(st=st.filter(function(vt){return Object.getOwnPropertyDescriptor(ce,vt).enumerable})),nt.push.apply(nt,st)}return nt}function Le(ce){for(var Re=1;Re<arguments.length;Re++){var nt=arguments[Re]!=null?arguments[Re]:{};Re%2?ye(Object(nt),!0).forEach(function(st){d()(ce,st,nt[st])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ce,Object.getOwnPropertyDescriptors(nt)):ye(Object(nt)).forEach(function(st){Object.defineProperty(ce,st,Object.getOwnPropertyDescriptor(nt,st))})}return ce}var Ue=G.default.pictoMargin,Xe=(0,i.forwardRef)((ce,Re)=>{var nt=ce.isDisabled,st=nt===void 0?!1:nt,vt=a()(ce,He);return i.createElement(Ke.Z,o()({ref:Re,color:st?"fg.disabled":"inherit"},vt,{sx:Le({flexShrink:0,marginLeft:Ue,my:-1},vt.sx)}))});Xe.displayName="ChevronUp";const Fe=Xe;var ht=e(411094),Ne=e(579531),Ce=e(251156),we=["&:disabled","&:hover"],$e=["isDisabled","sx"];function Ot(ce,Re){var nt=Object.keys(ce);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(ce);Re&&(st=st.filter(function(vt){return Object.getOwnPropertyDescriptor(ce,vt).enumerable})),nt.push.apply(nt,st)}return nt}function Pt(ce){for(var Re=1;Re<arguments.length;Re++){var nt=arguments[Re]!=null?arguments[Re]:{};Re%2?Ot(Object(nt),!0).forEach(function(st){d()(ce,st,nt[st])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ce,Object.getOwnPropertyDescriptors(nt)):Ot(Object(nt)).forEach(function(st){Object.defineProperty(ce,st,Object.getOwnPropertyDescriptor(nt,st))})}return ce}var Ie=G.default.pictoMargin,Bt=(0,Ne.q)((ce,Re)=>{var nt=ce.isDisabled,st=ce.sx,vt=st===void 0?{}:st,ze=vt["&:disabled"],It=vt["&:hover"],on=a()(vt,we),Pn=a()(ce,$e),Yn=(0,i.useContext)(m),Ln=Yn.isAccessoryHovered,bn=Yn.setIsAccessoryHovered,ir=(0,i.useContext)(W),Zn=ir.color,$n=ir.colorHover,jt=(0,Ce.Q)(),Rn=jt.t;return i.createElement(O.Z.Element.Icon,o()({ref:Re,"aria-label":Rn("Delete",{},{project:"rosetta-elements"}),color:Ln?$n:Zn,disabled:nt,interaction:O.Z.WithoutFeedback,onMouseEnter:()=>bn(!0),onMouseLeave:()=>bn(!1),size:"sizes.125",verticalAlign:"middle",width:"initial"},Pn,{sx:Pt(Pt({flexShrink:0,marginLeft:Ie},on),{},{"&:hover":Pt({bg:"transparent"},It),"&:disabled":Pt({color:"fg.disabled"},ze)})}),i.createElement(ht.Z,{color:"inherit"}))});Bt.displayName="CloseButton";const rt=Object.assign(Ee,{ChevronDown:Be,ChevronUp:Fe,CloseButton:Bt,Container:j,Glyph:me,IsFocusVisibleContext:A,IsHoveredContext:T,Label:ie,StatusVariantContext:W})},488609:function(b,l,e){"use strict";e.d(l,{Z:()=>v});var r=e(392338),o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(737968),u=e.n(c),f=e(174161),d=e(881707),h=m=>Object.keys(m).reduce((E,I)=>(!I.startsWith("data-")&&I!=="id"&&(E[I]=m[I]),E),{}),g=["width","css"],_=["css","focused","width"],p=["focused","height"],y=["orientation"];function O(m,E){var I=Object.keys(m);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(m);E&&(L=L.filter(function(W){return Object.getOwnPropertyDescriptor(m,W).enumerable})),I.push.apply(I,L)}return I}function P(m){for(var E=1;E<arguments.length;E++){var I=arguments[E]!=null?arguments[E]:{};E%2?O(Object(I),!0).forEach(function(L){i()(m,L,I[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(I)):O(Object(I)).forEach(function(L){Object.defineProperty(m,L,Object.getOwnPropertyDescriptor(I,L))})}return m}var C=m=>{var E=m.width,I=m.css,L=u()(m,g);return f.createElement(d.Z,n()({backgroundColor:"gray.100",height:"sizes.25",width:E},L,{css:P({transition:"all 0.3s cubic-bezier(0.32, 0.94, 0.60, 1.00)"},I)}))},A=m=>{var E=m.css,I=m.focused,L=m.width,W=L===void 0?"100%":L,F=u()(m,_),G=h(F);return f.createElement(d.Z,n()({"aria-hidden":"true","aria-orientation":"horizontal",bg:"gray.800",height:"sizes.25",role:"separator",width:W},F),f.createElement(C,n()({css:E,width:I?"100%":0},G)))},S=m=>{var E=m.focused,I=m.height,L=I===void 0?"auto":I,W=u()(m,p);return f.createElement(d.Z,n()({"aria-hidden":"true","aria-orientation":"vertical",bg:"gray.800",height:L,role:"separator",width:"sizes.25"},W))},T=m=>{var E=m.orientation,I=E===void 0?"horizontal":E,L=u()(m,y);return I==="vertical"?f.createElement(S,L):f.createElement(A,L)};const s=T;T.Horizontal=A,T.Vertical=S;const v=s},954879:function(b,l,e){"use strict";e.d(l,{Z:()=>B});var r=e(160553),o=e.n(r),n=e(174161),a=e(881707),i=n.forwardRef((R,U)=>n.createElement(a.Z,o()({ref:U,overflowX:"hidden"},R)));i.displayName="BoundingBox";const c=i;var u=e(642979),f=e.n(u),d=e(737968),h=e.n(d),g=e(680180),_=e.n(g),p=e(392338),y=e(412166),O=e(47932),P=e(422391),C=e(936609),A={mobile:{breakpoints:[1/0],gridConstraint:[12],margin:[3]}},S=R=>{var U=j=>{var $=(0,n.useContext)(C.Z.Context),ee=$.platform,te=ee==="mobile"?A[ee]:{};return n.createElement(R,o()({},te,j))};return U.displayName="WithMobileWebDefaults(".concat(R.displayName||R.name||"WrappedComponent",")"),U};const T=S;var s=["columns"],v=12,m=R=>{var U=R.columns,j=U===void 0?v:U,$=h()(R,s);return n.createElement(a.Z,o()({display:j!==0?void 0:"none"},$))};const E=m;var I=["as","children","breakpoints","columns","gridConstraint","gutter","margin"];function L(R,U){var j=Object.keys(R);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(R);U&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(R,ee).enumerable})),j.push.apply(j,$)}return j}function W(R){for(var U=1;U<arguments.length;U++){var j=arguments[U]!=null?arguments[U]:{};U%2?L(Object(j),!0).forEach(function($){f()(R,$,j[$])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(j)):L(Object(j)).forEach(function($){Object.defineProperty(R,$,Object.getOwnPropertyDescriptor(j,$))})}return R}var F=(R,U)=>{if(!Array.isArray(R))return R;if(R[U]!==void 0)return R[U];for(var j=U;j>=0;j--)if(R[j]!==void 0)return R[j];throw new Error("Responsive property does not contain configuration for breakpoint index ".concat(U))},G=R=>{var U=n.useState(),j=_()(U,2),$=j[0],ee=j[1];return n.useLayoutEffect(()=>{if(R){ee(R.getBoundingClientRect().width);var te=new P.d(ie=>{var ne=_()(ie,1),pe=ne[0];ee(pe.contentRect.width)});return te.observe(R),()=>{te.disconnect()}}},[R]),$},k=(R,U)=>"".concat(R/U*100,"%"),x=R=>{var U=R.as,j=U===void 0?c:U,$=R.children,ee=R.breakpoints,te=ee===void 0?[559,679,879,1199,1679,1/0]:ee,ie=R.columns,ne=ie===void 0?12:ie,pe=R.gridConstraint,oe=pe===void 0?[12,10,8,6,4,4]:pe,q=R.gutter,J=q===void 0?[3,3,3,6,6,6]:q,me=R.margin,re=me===void 0?[6,6,6,6,6,6]:me,he=h()(R,I),Ee=(0,O.F)(),fe=Ee.space,H=n.useState(null),z=_()(H,2),_e=z[0],ae=z[1],ge=G(_e),Be=ge?te.findIndex(Ue=>ge<Ue):0,Ke=fe[F(J,Be)],He=parseFloat(Ke)/2,ye=n.Children.map($,Ue=>{var Xe;if(!Ue||!(0,n.isValidElement)(Ue))return Ue;var Fe=F((Xe=Ue.props.columns)!==null&&Xe!==void 0?Xe:v,Be);return W(W({},Ue),{},{props:W(W({},Ue.props),{},{columns:Fe,sx:W({width:k(Fe,ne),px:"".concat(He,"px")},Ue.props.sx)})})}),Le=k(F(oe,Be),ne);return n.createElement(j,{ref:ae},n.createElement(a.Z,{mx:"".concat(-He,"px"),px:F(re,Be),sx:{opacity:ge?"100%":"0%"}},n.createElement(y.Z,o()({flexDirection:"row",flexWrap:"wrap",maxWidth:Le,mx:"auto"},he),ye)))};const M=T(x),B={BoundingBox:c,Container:M,Item:E}},903638:function(b,l,e){"use strict";e.d(l,{Z:()=>F});var r=e(392338),o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(680180),u=e.n(c),f=e(737968),d=e.n(f),h=e(174161),g=e(942085),_=e(688720),p=e(194243),y=e(481103),O=e(938408),P=e(279523),C=e(958112),A=e(99378),S=e(199946),T=e(471184),s=["src","error","fallback","srcSet","crossOrigin","loading","preventLayoutShift","onLoad","onError","sx"];function v(G,k){var x=Object.keys(G);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(G);k&&(M=M.filter(function(B){return Object.getOwnPropertyDescriptor(G,B).enumerable})),x.push.apply(x,M)}return x}function m(G){for(var k=1;k<arguments.length;k++){var x=arguments[k]!=null?arguments[k]:{};k%2?v(Object(x),!0).forEach(function(M){i()(G,M,x[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(x)):v(Object(x)).forEach(function(M){Object.defineProperty(G,M,Object.getOwnPropertyDescriptor(x,M))})}return G}var E=(0,_.Z)(p.O,y.C,O.ix,O.$_,P.b,C.F,A.A,S.Dh,O.sx,O.iv,O.eR),I=T.Z.Image(E);I.displayName="Image";var L=h.forwardRef((G,k)=>{var x=G.src,M=G.error,B=G.fallback,R=G.srcSet,U=G.crossOrigin,j=G.loading,$=j===void 0?"lazy":j,ee=G.preventLayoutShift,te=ee===void 0?!1:ee,ie=G.onLoad,ne=G.onError,pe=G.sx,oe=d()(G,s),q=h.useState("loading"),J=u()(q,2),me=J[0],re=J[1],he=h.useState(null),Ee=u()(he,2),fe=Ee[0],H=Ee[1],z=(0,g.Z)(k,H),_e=ge=>{ie==null||ie(ge),x&&re("loaded")},ae=ge=>{ne==null||ne(ge),re("error")};return(0,h.useEffect)(()=>{if(x){var ge=(fe==null?void 0:fe.complete)&&(fe==null?void 0:fe.naturalWidth)>0;re(ge?"loaded":"loading")}},[fe,x]),h.createElement(h.Fragment,null,me==="loading"&&B,me==="error"&&M,h.createElement(I,n()({key:x,ref:z,crossOrigin:U,loading:$},oe,{onError:ae,onLoad:_e,src:x,srcSet:R,sx:m(m({},pe),te||me==="loaded"||!B&&!M?{}:{width:"0",height:"0"})})))});L.displayName="Image";const F=L},725538:function(b,l,e){"use strict";e.d(l,{Z:()=>kt});var r=e(392338),o=e(160553),n=e.n(o),a=e(737968),i=e.n(a),c=e(642979),u=e.n(c),f=e(174161),d=e(233284),h=e(130527),g=e(671872),_=e(997803),p=e(66232),y=e(860921),O=e.n(y),P=function(ut){if(typeof document>"u")return null;var Ft=Array.isArray(ut)?ut[0]:ut;return Ft.ownerDocument.body},C=new WeakMap,A=new WeakMap,S={},T=0,s=function(ut){return ut&&(ut.host||s(ut.parentNode))},v=function(ut,Ft){return Ft.map(function(tn){if(ut.contains(tn))return tn;var In=s(tn);return In&&ut.contains(In)?In:(console.error("aria-hidden",tn,"in not contained inside",ut,". Doing nothing"),null)}).filter(function(tn){return!!tn})},m=function(ut,Ft,tn,In){var rr=v(Ft,Array.isArray(ut)?ut:[ut]);S[tn]||(S[tn]=new WeakMap);var Sr=S[tn],Yr=[],Pr=new Set,Mn=new Set(rr),sr=function(vr){!vr||Pr.has(vr)||(Pr.add(vr),sr(vr.parentNode))};rr.forEach(sr);var Ar=function(vr){!vr||Mn.has(vr)||Array.prototype.forEach.call(vr.children,function(qr){if(Pr.has(qr))Ar(qr);else try{var Dr=qr.getAttribute(In),eo=Dr!==null&&Dr!=="false",Vo=(C.get(qr)||0)+1,Bn=(Sr.get(qr)||0)+1;C.set(qr,Vo),Sr.set(qr,Bn),Yr.push(qr),Vo===1&&eo&&A.set(qr,!0),Bn===1&&qr.setAttribute(tn,"true"),eo||qr.setAttribute(In,"true")}catch(ar){console.error("aria-hidden: cannot operate on ",qr,ar)}})};return Ar(Ft),Pr.clear(),T++,function(){Yr.forEach(function(vr){var qr=C.get(vr)-1,Dr=Sr.get(vr)-1;C.set(vr,qr),Sr.set(vr,Dr),qr||(A.has(vr)||vr.removeAttribute(In),A.delete(vr)),Dr||vr.removeAttribute(tn)}),T--,T||(C=new WeakMap,C=new WeakMap,A=new WeakMap,S={})}},E=function(ut,Ft,tn){tn===void 0&&(tn="data-aria-hidden");var In=Array.from(Array.isArray(ut)?ut:[ut]),rr=Ft||P(ut);return rr?(In.push.apply(In,Array.from(rr.querySelectorAll("[aria-live], script"))),m(In,rr,tn,"aria-hidden")):function(){return null}},I=function(ut,Ft,tn){tn===void 0&&(tn="data-inert-ed");var In=Ft||P(ut);return In?m(ut,In,tn,"inert"):function(){return null}},L=function(){return typeof HTMLElement<"u"&&HTMLElement.prototype.hasOwnProperty("inert")},W=function(ut,Ft,tn){return tn===void 0&&(tn="data-suppressed"),(L()?I:E)(ut,Ft,tn)},F=e(881707),G=e(999324),k=e.n(G),x=e(305170),M={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",CENTER:"center",FULL_SCREEN:"fullscreen",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"},B=null,R={ENTERING:"entering",EXITING:"exiting"},U={ESC_KEY:"esc",HASH_CHANGE:"hash_change",OVERLAY:"overlay_click"},j=[];class ${constructor(){u()(this,"getNextId",()=>"m"+(0,x.Z)()),u()(this,"handleHashChange",Ft=>{var tn=k()(j),In=Ft.oldURL.split("#")[1];if(tn&&In===tn.id){var rr,Sr;(rr=(Sr=tn.props).onRequestClose)===null||rr===void 0||rr.call(Sr,{event:Ft,source:U.HASH_CHANGE}),this.remove(tn,!1)}}),u()(this,"add",(Ft,tn)=>{tn&&(window.location.hash="#".concat(Ft.id)),j.push(Ft)}),u()(this,"remove",(Ft,tn)=>{j=j.filter(rr=>rr!==Ft);var In=window.location.hash.slice(1);tn&&Ft.id===In&&window.history.go(-1)}),u()(this,"getModals",()=>j),window.addEventListener("hashchange",this.handleHashChange)}}const ee=new $;var te=f.createContext({});const ie=te;var ne=e(845076),pe=e.n(ne),oe=e(47932),q=e(18724);const J=f.createContext({setDragHandle:()=>{}});var me={addListener:O(),phaseDuration:0,removeListener:O()};const re=f.createContext(me),he=f.createContext({isResponsive:!1,isFullscreen:!1,isFullscreenPortrait:!1,style:{}});var Ee=e(680180),fe=e.n(Ee),H=e(457743),z=e(936609),_e=["children"],ae=["aspectRatio","children","margin","maxWidth","minWidth"];function ge(ut,Ft){var tn=Object.keys(ut);if(Object.getOwnPropertySymbols){var In=Object.getOwnPropertySymbols(ut);Ft&&(In=In.filter(function(rr){return Object.getOwnPropertyDescriptor(ut,rr).enumerable})),tn.push.apply(tn,In)}return tn}function Be(ut){for(var Ft=1;Ft<arguments.length;Ft++){var tn=arguments[Ft]!=null?arguments[Ft]:{};Ft%2?ge(Object(tn),!0).forEach(function(In){u()(ut,In,tn[In])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ut,Object.getOwnPropertyDescriptors(tn)):ge(Object(tn)).forEach(function(In){Object.defineProperty(ut,In,Object.getOwnPropertyDescriptor(tn,In))})}return ut}var Ke=()=>window.innerWidth<window.innerHeight,He="overlay",ye="scaledOverlay",Le="fullscreen",Ue=ut=>{var Ft=ut.name,tn=ut.aspectRatio,In=tn===void 0?1:tn,rr=ut.margin,Sr=rr===void 0?0:rr,Yr=ut.maxHeight,Pr=ut.maxWidth,Mn=ut.window,sr=(0,H.Z)({window:Mn}),Ar=fe()(sr,2),vr=Ar[0],qr=Ar[1];switch(Ft){case He:return{isResponsive:!0,isFullscreen:!1,isFullscreenPortrait:!1,style:{width:Pr,height:Yr}};case ye:return{isResponsive:!0,isFullscreen:!1,isFullscreenPortrait:!1,style:{width:"calc(100vw - ".concat(Sr*2,"px)"),height:"calc((100vw - ".concat(Sr*2,"px) * ").concat(1/In,")"),maxHeight:"calc(100vh - ".concat(Sr*2,"px)"),maxWidth:"calc((100vh - ".concat(Sr*2,"px) * ").concat(In,")")}};case Le:default:return{isResponsive:!0,isFullscreen:!0,isFullscreenPortrait:Ke(),style:{width:vr,height:qr}}}},Xe=ut=>{var Ft=ut.children,tn=i()(ut,_e),In=(0,f.useContext)(z.Z.Context),rr=In.name,Sr=Ue(Be({name:rr},tn));return f.createElement(he.Provider,{value:Sr},Ft)},Fe=ut=>{var Ft,tn,In=ut.aspectRatio,rr=In===void 0?4/3:In,Sr=ut.children,Yr=ut.margin,Pr=Yr===void 0?33:Yr,Mn=ut.maxWidth,sr=Mn===void 0?900:Mn,Ar=ut.minWidth,vr=Ar===void 0?702:Ar,qr=i()(ut,ae),Dr=(0,oe.F)(),eo=Dr.breakpoints,Vo=2*Pr,Bn=Math.round(vr/rr),ar=Math.round(sr/rr),rn=vr+Vo,Rt=Bn+Vo,Qe=sr+Vo,Ye=ar+Vo;return f.createElement(z.Z.Provider,{breakpoints:{[He]:"only screen and (min-width: ".concat(Qe,"px) and (min-height: ").concat(Ye,"px)"),[ye]:"only screen and (min-width: ".concat(rn,"px) and (min-height: ").concat(Rt,"px)"),[Le]:"only screen"},window:(Ft=qr.window)!==null&&Ft!==void 0?Ft:window},f.createElement(Xe,n()({},qr,{aspectRatio:rr,margin:Pr,maxHeight:ar,maxWidth:sr,minWidth:vr}),f.createElement(z.Z.Provider,{breakpoints:eo,window:(tn=qr.window)!==null&&tn!==void 0?tn:window},Sr)))};Fe.displayName="Dialog.ResponsiveProvider";const ht=Fe;var Ne=["children","className","css","hasShadow","htmlAttributes","maxWidth","style","theme","transitionClassNames","transitionStyles"];function Ce(ut,Ft){var tn=Object.keys(ut);if(Object.getOwnPropertySymbols){var In=Object.getOwnPropertySymbols(ut);Ft&&(In=In.filter(function(rr){return Object.getOwnPropertyDescriptor(ut,rr).enumerable})),tn.push.apply(tn,In)}return tn}function we(ut){for(var Ft=1;Ft<arguments.length;Ft++){var tn=arguments[Ft]!=null?arguments[Ft]:{};Ft%2?Ce(Object(tn),!0).forEach(function(In){u()(ut,In,tn[In])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ut,Object.getOwnPropertyDescriptors(tn)):Ce(Object(tn)).forEach(function(In){Object.defineProperty(ut,In,Object.getOwnPropertyDescriptor(tn,In))})}return ut}var $e={entering:{opacity:0,transform:"scale(0.92)"},enteringActive:{opacity:1,transform:"scale(1)",transitionDuration:"200ms",transitionTimingFunction:"ease-out",transitionProperty:"opacity, transform"},exiting:{opacity:1,transform:"scale(1)"},exitingActive:{opacity:0,transform:"scale(0.92)",transitionDuration:"150ms",transitionTimingFunction:"ease-in",transitionProperty:"opacity, transform"}},Ot=(0,f.forwardRef)((ut,Ft)=>{var tn=ut.children,In=ut.className,rr=ut.css,Sr=ut.hasShadow,Yr=Sr===void 0?!0:Sr,Pr=ut.htmlAttributes,Mn=ut.maxWidth,sr=ut.style,Ar=ut.theme,vr=ut.transitionClassNames,qr=ut.transitionStyles,Dr=qr===void 0?$e:qr,eo=i()(ut,Ne),Vo=(0,f.useContext)(re),Bn=Vo.phase,ar=Vo.phaseDuration,rn=(0,f.useContext)(J),Rt=rn.position,Qe=(0,f.useContext)(ie),Ye=Qe.id,yt=Qe.onRequestClose,Ze=(0,f.useContext)(he),Mt=(0,oe.F)(),ot=Ar||(0,q.getContextualTheme)(Mt||q.rosetta.white,q.THEME_USAGE_CONTEXTS.ELEVATED),et=ot.shadows;return f.createElement(he.Provider,{value:we(we({},Ze),{},{style:{}})},f.createElement(oe.Z.Provider,{theme:ot},f.createElement(F.Z,n()({ref:Ft},eo,Pr,{bg:"white",boxShadow:Yr?et[500]:void 0,className:pe()(vr&&Bn&&(vr==null?void 0:vr[Bn]),In),css:we(we(we({overflow:"auto",maxHeight:"100vh","@supports (-webkit-touch-callout: none)":{maxHeight:"-webkit-fill-available"}},Rt===M.FULL_SCREEN?{width:"100vw",height:"100vh",boxShadow:"unset","@supports (-webkit-touch-callout: none)":{height:"-webkit-fill-available"}}:{}),rr),Bn&&(Dr==null?void 0:Dr[Bn])),"data-modal-id":Ye,maxWidth:Mn||"100vw",onClick:St=>St.stopPropagation(),role:"dialog",style:we(we({},Ze.style),sr),transitionDuration:ar}),typeof tn=="function"?tn({onRequestClose:yt}):tn)))});Ot.displayName="Modal.Dialog";const Ie=Object.assign(Ot,{ResponsiveContext:he,ResponsiveProvider:ht});var Bt=["children","className","transitionClassNames","sx"];function mt(ut,Ft){var tn=Object.keys(ut);if(Object.getOwnPropertySymbols){var In=Object.getOwnPropertySymbols(ut);Ft&&(In=In.filter(function(rr){return Object.getOwnPropertyDescriptor(ut,rr).enumerable})),tn.push.apply(tn,In)}return tn}function rt(ut){for(var Ft=1;Ft<arguments.length;Ft++){var tn=arguments[Ft]!=null?arguments[Ft]:{};Ft%2?mt(Object(tn),!0).forEach(function(In){u()(ut,In,tn[In])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ut,Object.getOwnPropertyDescriptors(tn)):mt(Object(tn)).forEach(function(In){Object.defineProperty(ut,In,Object.getOwnPropertyDescriptor(tn,In))})}return ut}function ce(ut,Ft){if(!ut||!Ft||!Ft[ut])return null;if(typeof Ft[ut]=="string"){var tn=Ft[ut];return tn?{classname:tn}:null}return{styles:Ft[ut]}}var Re=ut=>{var Ft=ut.children,tn=ut.className,In=ut.transitionClassNames,rr=In===void 0?{entering:{opacity:0},enteringActive:{opacity:.4,transitionDuration:200,transitionTimingFunction:"product-entrance",transitionProperty:"opacity"},exiting:{opacity:.4},exitingActive:{opacity:0,transitionDuration:150,transitionTimingFunction:"product-exit",transitionProperty:"opacity"}}:In,Sr=ut.sx,Yr=Sr===void 0?{}:Sr,Pr=i()(ut,Bt),Mn=(0,f.useContext)(re),sr=Mn.phase,Ar=Mn.phaseDuration,vr=(0,f.useContext)(ie),qr=vr.onRequestClose,Dr=vr.closeOnOverlayClicked,eo=ce(sr,rr);return f.createElement(F.Z,n()({transitionDuration:Ar},Pr,{className:pe()(eo&&"classname"in eo&&eo.classname,tn),onClick:Vo=>{Dr&&(qr==null||qr({event:Vo,source:U.OVERLAY}))},sx:rt(rt({position:"absolute",left:0,right:0,bottom:0,top:0,backgroundColor:"#000000",opacity:.4},eo&&"styles"in eo&&eo.styles||{}),Yr)}),Ft)};const st=Re;var vt=e(944545),ze=e(861673),It=e(700436),on=e.n(It),Pn=e(416542),Yn=e.n(Pn),Ln=e(103372),bn=e.n(Ln),ir=e(792495),Zn=e.n(ir),$n=["children"];function jt(){var ut=f.useState(x.Z),Ft=fe()(ut,1),tn=Ft[0];return"drag-handle-".concat(tn)}function Rn(ut){var Ft=ut.children,tn=i()(ut,$n),In=(0,f.useState)(!1),rr=fe()(In,2),Sr=rr[0],Yr=rr[1],Pr=(0,f.useContext)(J),Mn=Pr.setDragHandle,sr=jt();return(0,f.useEffect)(()=>{var Ar=()=>Yr(!1);return window.addEventListener("mouseup",Ar),Mn('[data-drag-handle-id="'.concat(sr,'"]')),()=>{window.removeEventListener("mouseup",Ar)}},[Mn,sr]),f.createElement("div",n()({},tn,{"data-drag-handle-id":sr,onMouseDown:()=>Yr(!0),role:"button",style:{backgroundColor:"transparent",outline:"none",cursor:Sr?"grabbing":"grab"},tabIndex:-1}),Ft)}const jn=Rn;function Tn(ut,Ft){var tn=Object.keys(ut);if(Object.getOwnPropertySymbols){var In=Object.getOwnPropertySymbols(ut);Ft&&(In=In.filter(function(rr){return Object.getOwnPropertyDescriptor(ut,rr).enumerable})),tn.push.apply(tn,In)}return tn}function Nn(ut){for(var Ft=1;Ft<arguments.length;Ft++){var tn=arguments[Ft]!=null?arguments[Ft]:{};Ft%2?Tn(Object(tn),!0).forEach(function(In){u()(ut,In,tn[In])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ut,Object.getOwnPropertyDescriptors(tn)):Tn(Object(tn)).forEach(function(In){Object.defineProperty(ut,In,Object.getOwnPropertyDescriptor(tn,In))})}return ut}var cn=.92,or={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",CENTER:"center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right"},qn=ut=>ut.children,Hr=ut=>Yn()(ut),fo=function(){var Ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"window",tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{x:0,y:0};if(Hr(Ft)){var In=Ft,rr=In.getBoundingClientRect(),Sr=rr.left,Yr=rr.right,Pr=rr.top,Mn=rr.bottom,sr={left:Zn()(on()(Sr+tn.x,0,window.innerWidth)),top:Zn()(on()(Pr+tn.y,0,window.innerHeight)),right:Zn()(on()(window.innerWidth-Yr-tn.x,0,window.innerWidth)),bottom:Zn()(on()(window.innerHeight-Mn-tn.y,0,window.innerHeight)),isOffscreen:Mn<0||Pr>window.innerHeight||Yr<0||Sr>window.innerWidth};return sr}if(typeof Ft=="string")return{left:tn.x,right:tn.y,top:tn.x,bottom:tn.y,isOffscreen:!1};var Ar=Ft;return{left:Ar.left+tn.x,top:Ar.top+tn.y,right:Ar.right-tn.x,bottom:Ar.bottom-tn.y,isOffscreen:!1}},Jr={[M.CENTER]:{justifyContent:"center",alignItems:"center"},[M.TOP_LEFT]:{},[M.TOP_RIGHT]:{justifyContent:"flex-end"},[M.BOTTOM_RIGHT]:{justifyContent:"flex-end",alignItems:"flex-end"},[M.BOTTOM_LEFT]:{alignItems:"flex-end"},[M.FULL_SCREEN]:{position:"fixed",top:0,left:0,right:0,margin:0}};class ro extends f.Component{constructor(Ft){var tn;super(Ft),tn=this,u()(this,"animationId",null),u()(this,"node",f.createRef()),u()(this,"shouldWatchPosition",()=>this.props.shouldFollowPosition?Hr(this.props.position)||this.props.position!==null&&typeof this.props.position=="object":!1),u()(this,"watchConstraintAndPosition",()=>{var Yr=!1;if(this.shouldWatchPosition()){var Pr;Yr=!0;var Mn=this.getUpdatedPositionCoords()||{},sr=Mn.x,Ar=Mn.y,vr=((Pr=this.state.positionKey)===null||Pr===void 0?void 0:Pr.split("-"))||[],qr=fe()(vr,2),Dr=qr[0],eo=qr[1];if("".concat(sr)!==Dr||"".concat(Ar)!==eo){var Vo={positionKey:"".concat(sr,"-").concat(Ar)};this.props.shouldClearDragTranslateOnPositionChange&&Object.assign(Vo,{translate:{x:0,y:0}}),this.setState(Vo)}}this.state.shouldWatchConstraintNode&&(this.updateConstraintBox(),Yr=!0),Yr&&(this.animationId=window.requestAnimationFrame(this.watchConstraintAndPosition))}),u()(this,"getUpdatedPositionCoords",()=>{var Yr=this.props,Pr=Yr.position,Mn=Yr.positionPoint,sr=Mn===void 0?ro.defaultProps.positionPoint:Mn;if(Hr(Pr)){var Ar=Pr,vr=Ar.getBoundingClientRect();return{x:sr.includes("left")?vr.left:vr.right,y:sr.includes("top")?vr.top:vr.bottom}}if(!bn()(Pr)&&typeof Pr=="object")return Pr}),u()(this,"getConstraintOverlap",(Yr,Pr)=>{var Mn={top:!1,bottom:!1},sr={left:!1,right:!1};return Yr.right>window.innerWidth-Pr.right&&(sr.right=!0),Yr.left<Pr.left&&(sr.left=!0),Yr.bottom>window.innerHeight-Pr.bottom&&(Mn.bottom=!0),Yr.top<=Pr.top&&(Mn.top=!0),{horizontalOverlap:sr,verticalOverlap:Mn}}),u()(this,"updateConstraintBox",()=>{var Yr=this.getDialog();if(Yr){var Pr=this.props.constrainTo;if(!(Hr(Pr)&&!Pr.isConnected)){var Mn=fo(this.props.constrainTo,this.props.constrainOffset),sr=window.innerWidth-Mn.left-Mn.right,Ar=window.innerHeight-Mn.top-Mn.bottom,vr=Yr.getBoundingClientRect(),qr={x:0,y:0},Dr=this.getConstraintOverlap(vr,Mn),eo=Dr.verticalOverlap,Vo=Dr.horizontalOverlap;eo.bottom&&eo.top?Mn.top===0&&Mn.bottom!==0?qr.y=vr.top-Mn.top:Mn.top!==0&&Mn.bottom===0&&(qr.y=vr.bottom-window.innerHeight):Ar<vr.height||eo.top?qr.y=vr.top-Mn.top:eo.bottom&&(qr.y=vr.bottom-(window.innerHeight-Mn.bottom)),Vo.left&&Vo.right?Mn.left===0&&Mn.right!==0?qr.x=vr.left-Mn.left:Mn.left!==0&&Mn.right===0&&(qr.x=vr.right-(window.innerWidth-Mn.right)):sr<vr.width||Vo.left?qr.x=vr.left-Mn.left:Vo.right&&(qr.x=vr.right-(window.innerWidth-Mn.right));var Bn=vr.bottom-qr.y>window.innerHeight||vr.top-qr.y<0,ar=vr.left-qr.x<0||vr.right-qr.x>window.innerWidth;this.setState(rn=>({constraintBox:{left:Mn.left,top:Mn.top,width:sr,height:Ar,isOffscreen:Mn.isOffscreen},constrainBoxDiff:{width:sr-rn.initialConstrainBox.width,height:Ar-rn.initialConstrainBox.height},translate:{x:ar?rn.translate.x:rn.translate.x-qr.x,y:Bn?rn.translate.y:rn.translate.y-qr.y}}))}}}),u()(this,"onClick",Yr=>{var Pr,Mn,sr=this.props,Ar=sr.onRequestClose,vr=sr.closeOnOverlayClicked;vr&&(Ar==null||Ar({event:Yr,source:U.OVERLAY})),(Pr=(Mn=this.props).onClick)===null||Pr===void 0||Pr.call(Mn,Yr)}),u()(this,"getDialog",()=>document.body.querySelector('[data-modal-id="'.concat(this.props.id,'"]'))),u()(this,"adjustDialog",Yr=>{if(Yr===R.ENTERING){var Pr=this.state.constraintBox,Mn,sr,Ar=this.getDialog();if(!Ar)return;var vr=Ar.getBoundingClientRect(),qr=vr.bottom,Dr=vr.right,eo=vr.width,Vo=vr.height,Bn=vr.left,ar=vr.top,rn=this.getAnchorOffsets({width:eo,height:Vo,left:Bn,top:ar});ar+rn.y<Pr.top&&(Mn=(Pr.top-ar)/cn),Bn+rn.x<Pr.left&&(sr=(Pr.left-Bn)/cn),qr+rn.y>Pr.top+Pr.height&&(Mn=(Pr.top+Pr.height-(qr+rn.y))/cn),Dr+rn.x>Pr.left+Pr.width&&(sr=(Pr.left+Pr.width-(Dr+rn.x))/cn),this.setState(Rt=>({initialDialogBox:{width:eo,height:Vo,left:Bn,top:ar},offset:{x:Rt.offset.x+sr||0,y:Rt.offset.y+Mn||0}}))}}),u()(this,"getTranslationConstraints",()=>{var Yr=this.props,Pr=Yr.constrainTo,Mn=Yr.position,sr=this.state,Ar=sr.offset,vr=sr.initialDialogBox,qr=sr.constraintBox,Dr=sr.constrainBoxDiff,eo=this.getAnchorOffsets();if(vr){var Vo=vr.left,Bn=vr.top;if(typeof Mn=="object"){if(!Hr(Mn)){var ar=Mn;Vo=ar.x,Bn=ar.y}Vo+=Ar.x,Bn+=Ar.y}if(Pr){var rn={minX:qr.left-eo.x,minY:qr.top-eo.y,maxX:qr.left+qr.width-eo.x,maxY:qr.top+qr.height-eo.y},Rt=this.positionNeedsWindowAdjustment(Mn),Qe=fe()(Rt,2),Ye=Qe[0],yt=Qe[1];return{left:Zn()(rn.minX-Vo-Dr.width*Ye),right:Zn()(rn.maxX-(Vo+vr.width)-Dr.width*Ye),top:Zn()(rn.minY-Bn-Dr.height*yt),bottom:Zn()(rn.maxY-(Bn+vr.height)-Dr.height*yt)}}return{left:-Number.MAX_SAFE_INTEGER,right:Number.MAX_SAFE_INTEGER,top:-Number.MAX_SAFE_INTEGER,bottom:Number.MAX_SAFE_INTEGER}}}),u()(this,"handleDrag",Yr=>{var Pr,Mn,sr,Ar=this.state.translate,vr=(Pr=this.getTranslationConstraints())!==null&&Pr!==void 0?Pr:{},qr=vr.left,Dr=qr===void 0?0:qr,eo=vr.right,Vo=eo===void 0?Number.MAX_SAFE_INTEGER:eo,Bn=vr.top,ar=Bn===void 0?0:Bn,rn=vr.bottom,Rt=rn===void 0?Number.MAX_SAFE_INTEGER:rn,Qe=Ar.x,Ye=Ar.y;(Mn=(sr=this.props).onDrag)===null||Mn===void 0||Mn.call(sr),this.setState({translate:{x:on()(Qe+Yr.deltaX,Dr,Vo),y:on()(Ye+Yr.deltaY,ar,Rt)}})}),u()(this,"setDragHandle",Yr=>{this.setState({dragHandle:Yr})}),u()(this,"contextValue",{setDragHandle:this.setDragHandle}),u()(this,"getAnchorOffsets",function(){var Yr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tn.state.initialDialogBox,Pr=tn.props.anchor;if(Yr)switch(Pr){case or.TOP_LEFT:return{x:0,y:0};case or.TOP_RIGHT:return{x:-Yr.width,y:0};case or.BOTTOM_RIGHT:return{x:-Yr.width,y:-Yr.height};case or.BOTTOM_LEFT:return{x:0,y:-Yr.height};case or.CENTER:return{x:-Yr.width/2,y:-Yr.height/2};default:return{x:0,y:0}}return{x:0,y:0}}),window.addEventListener("resize",this.updateConstraintBox);var In=fo(Ft.constrainTo,Ft.constrainOffset),rr={left:In.left,top:In.top,width:window.innerWidth-In.left-In.right,height:window.innerHeight-In.top-In.bottom},Sr=Hr(Ft.constrainTo);(Sr||this.shouldWatchPosition())&&(this.animationId=window.requestAnimationFrame(this.watchConstraintAndPosition)),this.state={shouldWatchConstraintNode:Sr,initialConstrainBox:rr,constraintBox:rr,constrainBoxDiff:{width:0,height:0},offset:{x:0,y:0},translate:{x:0,y:0},positionKey:"0-0"}}componentWillUnmount(){var Ft,tn;window.removeEventListener("resize",this.updateConstraintBox),this.animationId&&window.cancelAnimationFrame(this.animationId),(Ft=(tn=this.props).removeListener)===null||Ft===void 0||Ft.call(tn,"onTransitionStart",this.adjustDialog)}componentDidUpdate(Ft,tn){var In=this.state.constraintBox,rr=tn.constraintBox;if(rr.isOffscreen&&!In.isOffscreen){var Sr,Yr;(Sr=(Yr=this.props).onConstraintEnterViewport)===null||Sr===void 0||Sr.call(Yr)}else if(!rr.isOffscreen&&In.isOffscreen){var Pr,Mn;(Pr=(Mn=this.props).onConstraintLeaveViewport)===null||Pr===void 0||Pr.call(Mn)}}componentDidMount(){var Ft,tn;typeof this.props.position=="string"&&this.props.draggable===!1||((Ft=(tn=this.props).addListener)===null||Ft===void 0||Ft.call(tn,"onTransitionStart",this.adjustDialog),this.setInitialDialogBox())}setInitialDialogBox(){var Ft=this.getDialog();if(Ft){var tn=Ft.getBoundingClientRect(),In=tn.width,rr=tn.height,Sr=tn.left,Yr=tn.top;this.setState(()=>({initialDialogBox:{width:In,height:rr,left:Sr,top:Yr}}),this.updateConstraintBox)}}positionNeedsWindowAdjustment(Ft){switch(Ft){case"top-right":return[1,0];case"bottom-right":return[1,1];case"bottom-left":return[0,1];case"center":return[.5,.5];default:return[0,0]}}render(){var Ft=this.props,tn=Ft.position,In=Ft.positionPoint,rr=In===void 0?ro.defaultProps.positionPoint:In,Sr=Ft.draggable,Yr=Ft.sx,Pr=this.state,Mn=Pr.offset,sr=Pr.translate,Ar=Pr.dragHandle,vr=0,qr=0;this.contextValue.position=tn;var Dr=typeof tn=="string"&&Jr[tn]||{},eo=Nn(Nn({position:"fixed",top:0,left:0,right:0,bottom:0,display:"flex"},Dr),Yr);if(typeof tn=="object"){var Vo=0,Bn=0;if(Hr(tn)){var ar=tn,rn=ar.getBoundingClientRect();Vo=rr.includes("left")?rn.left:rn.right,Bn=rr.includes("top")?rn.top:rn.bottom}else{var Rt=tn;Vo=Rt.x,Bn=Rt.y}vr=Vo+Mn.x,qr=Bn+Mn.y}var Qe=this.getAnchorOffsets();qr+=sr.y+Qe.y,vr+=sr.x+Qe.x;var Ye=Sr&&tn!==M.FULL_SCREEN?ze.DragTrigger:qn;return f.createElement(J.Provider,{value:this.contextValue},f.createElement(F.Z,n()({},(0,vt.Z)(this.props),{className:this.props.className,sx:eo}),f.createElement(F.Z,{bottom:0,left:0,onClick:this.onClick,position:"fixed",right:0,top:0}),f.createElement(Ye,{autoScroll:!1,handleSelector:Ar,onDrag:this.handleDrag},f.createElement("div",{ref:this.node,style:{height:"fit-content",transform:"translate(".concat(Zn()(vr),"px, ").concat(Zn()(qr),"px)")}},this.props.children))))}}u()(ro,"defaultProps",{onClick:O(),onDrag:O(),draggable:!1,constrainTo:"window",positionPoint:"top-left",shouldClearDragTranslateOnPositionChange:!1,shouldFollowPosition:!0,onConstraintLeaveViewport:O(),onConstraintEnterViewport:O(),addListener:O(),removeListener:O()}),u()(ro,"DragHandle",jn),u()(ro,"POSITIONS",M);const Xt=ro;var Je=ut=>{var Ft=(0,f.useContext)(re),tn=Ft.addListener,In=Ft.removeListener,rr=(0,f.useContext)(ie),Sr=rr.onRequestClose,Yr=rr.id,Pr=rr.closeOnOverlayClicked;return f.createElement(Xt,n()({addListener:tn,closeOnOverlayClicked:Pr,id:Yr,onRequestClose:Sr,removeListener:In},ut))};Je.DragHandle=Xt.DragHandle,Je.POSITIONS=Xt.POSITIONS;const At=Je;var xt=e(845193),Qt=e.n(xt);function qt(ut,Ft){var tn=Object.keys(ut);if(Object.getOwnPropertySymbols){var In=Object.getOwnPropertySymbols(ut);Ft&&(In=In.filter(function(rr){return Object.getOwnPropertyDescriptor(ut,rr).enumerable})),tn.push.apply(tn,In)}return tn}function Te(ut){for(var Ft=1;Ft<arguments.length;Ft++){var tn=arguments[Ft]!=null?arguments[Ft]:{};Ft%2?qt(Object(tn),!0).forEach(function(In){u()(ut,In,tn[In])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ut,Object.getOwnPropertyDescriptors(tn)):qt(Object(tn)).forEach(function(In){Object.defineProperty(ut,In,Object.getOwnPropertyDescriptor(tn,In))})}return ut}var Gt=ut=>!!ut&&f.Children.count(ut)===1;function un(ut,Ft){return typeof ut=="object"?ut[Ft]:ut}class Vt extends f.Component{constructor(Ft){var tn;super(Ft),tn=this,u()(this,"timers",[]),u()(this,"listeners",{onTransitionEnd:[],onTransitionStart:[]}),u()(this,"addListener",(In,rr)=>{this.listeners[In].push(rr)}),u()(this,"removeListener",(In,rr)=>{this.listeners[In]=this.listeners[In].filter(Sr=>Sr!==rr)}),u()(this,"updateTransitionState",function(In){var rr=In.isAnimating,Sr=In.phase,Yr=In.delay,Pr=In.newState,Mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:O();tn.defer(()=>{tn.setState(sr=>Te(Te({isAnimating:rr},Pr),{},{context:Te(Te({},sr.context),{},{phase:Sr})})),Mn()},Yr)}),u()(this,"defer",(In,rr)=>{Qt()(rr)&&rr>=0?this.timers.push(setTimeout(In,rr)):In()}),u()(this,"triggerPhase",In=>{var rr=this.props.duration,Sr=rr===void 0?0:rr,Yr=un(Sr,In),Pr=In===R.EXITING?{children:null}:null;this.listeners.onTransitionStart.forEach(Mn=>Mn(In)),this.updateTransitionState({isAnimating:!0,phase:In}),this.updateTransitionState({delay:16,isAnimating:!0,phase:In+"Active"}),this.updateTransitionState({delay:Yr,isAnimating:!1,newState:Pr,phase:void 0},()=>this.listeners.onTransitionEnd.forEach(Mn=>Mn(In)))}),u()(this,"trigger",()=>{this.state.context.phase===R.ENTERING&&!this.state.isAnimating&&this.triggerPhase(R.ENTERING),this.state.context.phase===R.EXITING&&!this.state.isAnimating&&this.triggerPhase(R.EXITING)}),this.listeners={onTransitionEnd:[],onTransitionStart:[]},Ft.onTransitionStart&&this.addListener("onTransitionStart",Ft.onTransitionStart),Ft.onTransitionEnd&&this.addListener("onTransitionEnd",Ft.onTransitionEnd),this.state={children:null,context:{phaseDuration:Ft.duration,addListener:this.addListener,removeListener:this.removeListener},isAnimating:!1}}static getDerivedStateFromProps(Ft,tn){if(Gt(Ft.children)&&!Gt(tn.children)){var In;return{children:Ft.children,context:Te(Te({},tn.context),{},{phase:R.ENTERING,phaseDuration:un((In=Ft.duration)!==null&&In!==void 0?In:0,R.ENTERING)})}}if(!Gt(Ft.children)&&Gt(tn.children)){var rr;if(tn.isAnimating){var Sr=f.Children.only(tn.children);return{children:(0,f.isValidElement)(Sr)?f.cloneElement(Sr):Sr}}return{children:tn.children,context:Te(Te({},tn.context),{},{phase:R.EXITING,phaseDuration:un((rr=Ft.duration)!==null&&rr!==void 0?rr:0,R.EXITING)})}}return{children:Ft.children}}componentDidMount(){this.trigger()}componentDidUpdate(){this.trigger()}componentWillUnmount(){this.timers.forEach(Ft=>{clearTimeout(Ft)})}render(){return this.state.children?f.createElement(re.Provider,{value:Te({},this.state.context)},this.state.children):null}}u()(Vt,"defaultProps",{duration:{[R.ENTERING]:200,[R.EXITING]:150}});const Wt=Vt;var Pe=["children","zIndex","lockScroll","lockFocus","lockFocusOptions","closeOnBackButton","closeOnEsc","closeOnOverlayClicked","mountAt","onRequestClose","sx"];function xe(ut,Ft){var tn=Object.keys(ut);if(Object.getOwnPropertySymbols){var In=Object.getOwnPropertySymbols(ut);Ft&&(In=In.filter(function(rr){return Object.getOwnPropertyDescriptor(ut,rr).enumerable})),tn.push.apply(tn,In)}return tn}function Ae(ut){for(var Ft=1;Ft<arguments.length;Ft++){var tn=arguments[Ft]!=null?arguments[Ft]:{};Ft%2?xe(Object(tn),!0).forEach(function(In){u()(ut,In,tn[In])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ut,Object.getOwnPropertyDescriptors(tn)):xe(Object(tn)).forEach(function(In){Object.defineProperty(ut,In,Object.getOwnPropertyDescriptor(tn,In))})}return ut}class qe extends f.Component{constructor(Ft){super(Ft),u()(this,"state",{contextValue:{}}),u()(this,"node",document.createElement("div")),u()(this,"undoAriaHide",O()),u()(this,"renderModal",()=>{var tn=this.props,In=tn.children,rr=tn.zIndex,Sr=tn.lockScroll,Yr=tn.lockFocus,Pr=tn.lockFocusOptions,Mn=tn.closeOnBackButton,sr=tn.closeOnEsc,Ar=tn.closeOnOverlayClicked,vr=tn.mountAt,qr=tn.onRequestClose,Dr=tn.sx,eo=Dr===void 0?{}:Dr,Vo=i()(tn,Pe);return f.createElement(_.Z,{baseIndex:rr},Bn=>{var ar;return f.createElement(ie.Provider,{value:this.state.contextValue},f.createElement(g.default,{isActive:Sr},f.createElement(h.ZP,{autoFocus:Pr==null?void 0:Pr.autoFocus,disabled:!Yr||(Pr==null?void 0:Pr.disabled),returnFocus:(ar=Pr==null?void 0:Pr.returnFocus)!==null&&ar!==void 0?ar:{preventScroll:!0}},f.createElement(F.Z,n()({onKeyUp:rn=>{p.Z.isEsc(rn)&&sr&&(rn.preventDefault(),rn.stopPropagation(),qr==null||qr({event:rn,source:U.ESC_KEY}))},tabIndex:-1},Vo,{className:Vo.className,style:Ae(Ae({},Vo.style),{},{zIndex:Bn}),sx:Ae({position:"fixed",left:0,right:0,top:0,bottom:0},eo)}),In))))})}),this.node=document.createElement("div"),this.id=ee.getNextId(),this.getMountNode().appendChild(this.node),ee.add(this,Ft.closeOnBackButton),this.undoAriaHide=E(this.node),this.state={contextValue:{closeOnOverlayClicked:Ft.closeOnOverlayClicked,id:this.id,onRequestClose:Ft.onRequestClose}}}getMountNode(){return this.props.mountAt||document.body}static getDerivedStateFromProps(Ft,tn){var In=tn.contextValue,rr=In.onRequestClose,Sr=In.closeOnOverlayClicked;return Ft.onRequestClose!==rr||Ft.closeOnOverlayClicked!==Sr?{contextValue:Ae(Ae({},tn.contextValue),{},{closeOnOverlayClicked:Ft.closeOnOverlayClicked,onRequestClose:Ft.onRequestClose})}:null}componentWillUnmount(){this.undoAriaHide(),this.getMountNode().removeChild(this.node),ee.remove(this,this.props.closeOnBackButton)}render(){return d.createPortal(this.renderModal(),this.node)}}u()(qe,"defaultProps",{closeOnEsc:!0,closeOnOverlayClicked:!0,lockFocus:!0,lockFocusOptions:{autoFocus:!0,disabled:!1,returnFocus:{preventScroll:!0}},lockScroll:!0,mountAt:document.body,onRequestClose:O()});const kt=Object.assign(qe,{Base:qe,Dialog:Ie,ModalContext:ie,Overlay:st,Position:At,Transition:Wt,TransitionContext:re,TouchScroll:g.TouchScrollable})},711900:function(b,l,e){"use strict";e.d(l,{Z:()=>ee});var r=e(642979),o=e.n(r),n=e(680180),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(392338),h=e(174161),g=e(47932),_=e(881707),p=e(412166),y=e(272578),O=e(422391),P=e(72138),C=e(304437),A=e(6566),S=e(707039),T=e(425740),s=e(848201),v=e(936609),m=["background","margin","showButton","overflowMargin","isPreviousButton","onClick","containerProps","icon","sx"];function E(te,ie){var ne=Object.keys(te);if(Object.getOwnPropertySymbols){var pe=Object.getOwnPropertySymbols(te);ie&&(pe=pe.filter(function(oe){return Object.getOwnPropertyDescriptor(te,oe).enumerable})),ne.push.apply(ne,pe)}return ne}function I(te){for(var ie=1;ie<arguments.length;ie++){var ne=arguments[ie]!=null?arguments[ie]:{};ie%2?E(Object(ne),!0).forEach(function(pe){o()(te,pe,ne[pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(te,Object.getOwnPropertyDescriptors(ne)):E(Object(ne)).forEach(function(pe){Object.defineProperty(te,pe,Object.getOwnPropertyDescriptor(ne,pe))})}return te}var L=()=>h.createElement(v.Z.Provider,null,h.createElement(v.Z.Renderer,{render:{default:()=>h.createElement(A.Z,{"aria-hidden":!0,width:"24px"}),"mobile-0":()=>h.createElement(S.Z,{"aria-hidden":!0,width:"24px"})}})),W=()=>h.createElement(v.Z.Provider,null,h.createElement(v.Z.Renderer,{render:{default:()=>h.createElement(T.Z,{"aria-hidden":!0,width:"24px"}),"mobile-0":()=>h.createElement(s.Z,{"aria-hidden":!0,width:"24px"})}})),F=te=>{var ie=te.background,ne=te.margin,pe=te.showButton,oe=te.overflowMargin,q=te.isPreviousButton,J=te.onClick,me=te.containerProps,re=te.icon,he=re===void 0?q?h.createElement(L,null):h.createElement(W,null):re,Ee=te.sx,fe=c()(te,m),H=q?{justifyContent:"flex-start",left:0}:{justifyContent:"flex-end",right:0};return h.createElement(p.Z,f()({alignItems:"center",background:ie&&"linear-gradient(270deg, ".concat(ie.startColor,", ").concat(ie.endColor,")"),bottom:0,css:{transition:"all 0.1s ease-in-out"},m:ne,opacity:pe?1:0,position:"absolute",top:0,width:oe&&"".concat(oe+4,"px"),zIndex:pe?1:-1},H,me),h.createElement(p.Z,f()({alignItems:"center",css:{cursor:pe?"pointer":"default"},"data-cy":q?"previous-button":"next-button",height:"100%",mt:"3px",onClick:J,sx:I({"&:hover":{"& svg":{fill:"gray.100"}},svg:{fill:"gray.300"},transform:"translateX(".concat(q?"-":"","8px)")},Ee)},fe),he))};F.displayName="OverflowButton";const G=F;var k=["children","listElements","renderPreviousButton","renderNextButton","sx","containerProps","useMaskImage"];function x(te,ie){var ne=Object.keys(te);if(Object.getOwnPropertySymbols){var pe=Object.getOwnPropertySymbols(te);ie&&(pe=pe.filter(function(oe){return Object.getOwnPropertyDescriptor(te,oe).enumerable})),ne.push.apply(ne,pe)}return ne}function M(te){for(var ie=1;ie<arguments.length;ie++){var ne=arguments[ie]!=null?arguments[ie]:{};ie%2?x(Object(ne),!0).forEach(function(pe){o()(te,pe,ne[pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(te,Object.getOwnPropertyDescriptors(ne)):x(Object(ne)).forEach(function(pe){Object.defineProperty(te,pe,Object.getOwnPropertyDescriptor(ne,pe))})}return te}var B=te=>h.createElement(G,f()({isPreviousButton:!0},te));B.displayName="OverflowBox.PreviousButton";var R=te=>h.createElement(G,f()({isPreviousButton:!1},te));R.displayName="OverflowBox.NextButton";var U=40;function j(te){var ie,ne,pe=te.children,oe=te.listElements,q=te.renderPreviousButton,J=q===void 0?B:q,me=te.renderNextButton,re=me===void 0?R:me,he=te.sx,Ee=he===void 0?{}:he,fe=te.containerProps,H=te.useMaskImage,z=H===void 0?!0:H,_e=c()(te,k),ae=(0,g.F)(),ge=ae.colors,Be=ae.time,Ke=h.useState(),He=a()(Ke,2),ye=He[0],Le=He[1],Ue=h.useState(!1),Xe=a()(Ue,2),Fe=Xe[0],ht=Xe[1],Ne=h.useState(!1),Ce=a()(Ne,2),we=Ce[0],$e=Ce[1],Ot=h.useState(),Pt=a()(Ot,2),Ie=Pt[0],Bt=Pt[1],mt=(0,y.Z)(ye),rt=h.useCallback(()=>{if(ye){var vt=ye.scrollLeft,ze=ye.scrollWidth,It=ye.clientWidth;ht(vt>0),$e(Math.round(vt)<ze-It)}},[ye]),ce=h.useCallback(()=>{ye&&(Ie===0?ye.scrollTo({behavior:"smooth",left:0}):Ie===oe.length-1&&ye.scrollTo({behavior:"smooth",left:ye.scrollWidth}))},[Ie,oe,ye]);h.useEffect(()=>{var vt,ze=new O.d(()=>{rt(),vt=setTimeout(()=>ce(),100)});return ye&&(ye.addEventListener("scroll",rt),ze.observe(ye)),()=>{ye&&(ye.removeEventListener("scroll",rt),ze.unobserve(ye)),clearTimeout(vt)}},[ye,rt,ce]);var Re=vt=>{Bt(void 0);var ze=oe.findIndex(on=>on.contains(vt.target)),It=oe[ze];It&&(0,P.z)(It,{behavior:"smooth",block:"nearest"},{duration:parseInt(Be[200],10)})},nt=vt=>{var ze=oe.findIndex(It=>vt.target===It);Bt(ze)},st=vt=>{Bt(void 0),ye&&(0,C.yZ)(ye,{behavior:"smooth",left:vt},{duration:parseInt(Be[400],10)})};return h.createElement(_.Z,f()({css:{"& *::-webkit-scrollbar":{display:"none"},"*":{msOverflowStyle:"none",scrollMargin:"".concat(U,"px"),scrollbarWidth:"none"},boxShadow:mt?"0px 0px 0px 2px ".concat(ge.base,", 0px 0px 0px 4px ").concat(ge.gray[100]):"unset"},"data-cy":"overflow-container",onClick:Re,onFocus:nt,onWheel:()=>Bt(void 0),position:"relative",sx:Ee},fe),J(M({m:(ie=_e.m)!==null&&ie!==void 0?ie:void 0,onClick:()=>st(-200),overflowMargin:U,showButton:Fe},!z&&{background:{endColor:"".concat(ge.base," 40%"),startColor:"rgba(255, 255, 255, 0) 0%"}})),h.createElement(p.Z,f()({},_e,{ref:Le,overflow:"scroll",sx:M(M(M({outline:"none"},z&&Fe&&{maskImage:"linear-gradient(to right, transparent 20px, black ".concat(U+20,"px)")}),z&&we&&{maskImage:"linear-gradient(to left, transparent 20px, black ".concat(U+20,"px)")}),z&&Fe&&we&&{maskImage:"linear-gradient(to right, transparent 20px, black ".concat(U+20,"px, black calc( 100% - ").concat(U+20,"px ), transparent calc( 100% - 20px ))")}),tabIndex:Fe||we?0:-1}),pe),re(M({m:(ne=_e.m)!==null&&ne!==void 0?ne:void 0,onClick:()=>st(200),overflowMargin:U,showButton:we},!z&&{background:{endColor:"rgba(255, 255, 255, 0) 100%",startColor:"".concat(ge.base," 60%")}})))}const ee=Object.assign(j,{PreviousButton:B,NextButton:R})},285814:function(b,l,e){"use strict";e.d(l,{Z:()=>ie});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(392338),c=e(174161),u=e(210750),f=e.n(u),d=e(597350),h=e.n(d),g=e(860921),_=e.n(g),p=e(424546),y=e.n(p),O=e(540533),P=e(997803),C=e(836418),A=e(760193),S=e(881707),T=e(47932),s=e(700436),v=e.n(s),m=20,E=6,I=(ne,pe,oe)=>v()(ne-m/2,pe+E,oe-E-m),L=["top","left","right","bottom"];class W extends c.Component{constructor(pe){super(pe),a()(this,"positionArrow",(oe,q)=>{if(!(!oe||!q||!this.node)){var J=q.left,me=q.top,re=q.width,he=q.height,Ee={},fe;oe[1]<me?(Ee.top=-E,Ee.left=I(oe[0]-J,0,re)):oe[1]>me+he?(Ee.bottom=-E,Ee.left=I(oe[0]-J,0,re)):oe[0]<J?(Ee.left=-E,Ee.top=I(oe[1]-me,0,he)):oe[0]>J+re?(Ee.right=-E,Ee.top=I(oe[1]-me,0,he)):fe="0";var H=this.node;return L.forEach(z=>{var _e=typeof Ee[z]=="number"?"".concat(Ee[z],"px"):"";H.style[z]=_e}),fe&&(H.style.opacity=fe),Ee}}),this.props.getUpdatePosition(this.positionArrow)}render(){var pe=this.props.style;return c.createElement(S.Z,{ref:oe=>{this.node=oe},bg:"base",borderRadius:"2px",boxShadow:300,position:"absolute",size:m+"px",style:pe,sx:{transform:"rotate(45deg)",transformOrigin:"center"},zIndex:-1})}}const F=W;function G(ne,pe){var oe=Object.keys(ne);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(ne);pe&&(q=q.filter(function(J){return Object.getOwnPropertyDescriptor(ne,J).enumerable})),oe.push.apply(oe,q)}return oe}function k(ne){for(var pe=1;pe<arguments.length;pe++){var oe=arguments[pe]!=null?arguments[pe]:{};pe%2?G(Object(oe),!0).forEach(function(q){a()(ne,q,oe[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ne,Object.getOwnPropertyDescriptors(oe)):G(Object(oe)).forEach(function(q){Object.defineProperty(ne,q,Object.getOwnPropertyDescriptor(oe,q))})}return ne}var x=O.ZP.calculateRect,M=O.ZP.didPositionRectChange,B=22,R=-16,U=180;class j extends c.Component{constructor(pe,oe){var q,J,me;super(pe,oe),q=this,a()(this,"node",document.createElement("div")),a()(this,"state",{shown:!1}),a()(this,"getMountNode",()=>this.props.mountAt||document.body),a()(this,"handleKeyUp",re=>{(re.code==="Escape"||re.key==="Escape"||re.key==="Esc"||re.keyCode===27)&&this.props.closeOnEsc&&(re.preventDefault(),re.stopPropagation(),this.requestClose(re))}),a()(this,"requestCloseWithIgnoreTargets",re=>this.requestCloseOnMouseDown(re,this.props.ignoreTargetSelectors)),a()(this,"requestClose",re=>{var he=this.props.onRequestClose;if(!he){console.error("Cannot close - request close handler is not implemented");return}he(re)}),a()(this,"requestCloseOnMouseDown",function(re){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ee=q.getMountNode().ownerDocument,fe=h()(he.map(H=>Array.from(Ee.querySelectorAll(H))));q.containerRef.current&&fe.push(q.containerRef.current),fe.every(H=>!y()(re.target,H))&&q.requestClose(re)}),a()(this,"isOffScreen",re=>"right"in re&&(re.right<0||re.bottom<0||re.top>window.innerHeight||re.left>window.innerWidth)),a()(this,"resolveOffset",re=>{if(typeof re=="number")return{x:re,y:re};if(typeof re=="object"){var he=re.x,Ee=re.y;return{x:typeof he=="number"?he:B,y:typeof Ee=="number"?Ee:B}}return{x:B,y:B}}),a()(this,"updatePosition",function(re,he){var Ee=re.anchorCoords,fe=re.position,H=re.width,z=re.height,_e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(q.containerRef.current){var ae=q.props,ge=ae.hideArrow,Be=ae.offset,Ke=ae.updateArrowPosition,He=q.resolveOffset(Be),ye=he.constrainToScreen,Le=he.updateThreshold,Ue=fe.horizontal,Xe=fe.vertical,Fe=!ge&&Ue!==fe.main?R:He.x,ht=!ge&&Xe!==fe.main?R:He.y,Ne=x({anchorCoords:Ee,constrainToScreen:ye?Object.assign({offset:He.x/2},ye):void 0,height:z,offsetX:Fe,offsetY:ht,position:fe,width:H}),Ce=q.isOffScreen(Ee),we=Ce&&q.state.shown,$e=!Ce&&!q.state.shown,Ot=window.innerWidth<=H-2*Fe;if(we?q.hide(0):$e&&q.show(),!Ke&&!_e&&!M(q.rect,Ne,Le))return q.rect;q.rect=Ne,q.position=Ne.position?Ne.position.main:fe.main;var Pt=q.containerRef.current;return Pt.style.top="".concat(Ne.top,"px"),Pt.style.left="".concat(Ne.left,"px"),Pt.style.right=Ot?"".concat(Ne.left,"px"):"auto",q._updateArrowPos&&q._updateArrowPos(Ee,Ne),Ne}}),this.closeAfterTimeout=f()(this.requestClose,pe.closeTimeoutMS),this.containerRef=c.createRef(),(J=(me=this.props).getUpdatePosition)===null||J===void 0||J.call(me,this.updatePosition)}componentDidMount(){var pe=this.props.isOpen;pe&&this.handleOpen()}componentDidUpdate(pe){var oe=this.props.isOpen;!oe&&pe.isOpen?(this.rect=void 0,this.handleClose()):oe&&!pe.isOpen&&this.handleOpen()}componentWillUnmount(){this.detachMouseDownHandler(),this.closeAfterTimeout.cancel(),this._hideTimer&&clearTimeout(this._hideTimer),this._showTimer&&clearTimeout(this._showTimer)}handleOpen(){var pe=this.props,oe=pe.closeOnClickOutside,q=pe.closeOnTimeout,J=pe.closeOnEsc;oe&&this.attachMouseDownHandler(),q&&this.closeAfterTimeout(),J&&window.addEventListener("keyup",this.handleKeyUp,!0),this.show()}handleClose(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,oe=pe.closeOnClickOutside,q=pe.closeOnTimeout,J=pe.closeOnEsc;oe&&this.detachMouseDownHandler(),q&&this.closeAfterTimeout.cancel(),J&&window.removeEventListener("keyup",this.handleKeyUp,!0),this.hide()}show(){clearTimeout(this._hideTimer),clearTimeout(this._showTimer),this._showTimer=setTimeout(()=>{var pe,oe,q,J;this.setState({shown:!0}),(pe=(oe=this.props).onRequestOpen)===null||pe===void 0||pe.call(oe),(q=(J=this.props).onVisibilityChange)===null||q===void 0||q.call(J,!0)},0)}hide(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:U;clearTimeout(this._hideTimer),this._hideTimer=setTimeout(()=>{var oe,q;this.setState({shown:!1}),(oe=(q=this.props).onVisibilityChange)===null||oe===void 0||oe.call(q,!1)},pe)}attachMouseDownHandler(){var pe=this.getMountNode(),oe=["mousedown","touchstart"];oe.forEach(q=>pe.ownerDocument.addEventListener(q,this.requestCloseWithIgnoreTargets,!0))}detachMouseDownHandler(){var pe=this.getMountNode(),oe=["mousedown","touchstart"];oe.forEach(q=>pe.ownerDocument.removeEventListener(q,this.requestCloseWithIgnoreTargets,!0))}renderInside(){var pe=this.props,oe=pe.arrowStyles,q=pe.bodyClassName,J=pe.bodyRef,me=pe.bodyStyles,re=pe.children,he=pe.className,Ee=pe.hideArrow,fe=pe.isOpen,H=pe.role,z=pe.style,_e=pe.zIndex,ae=this.state.shown,ge=typeof _e<"u"?{zIndex:_e}:null,Be=fe&&ae;return c.createElement(P.Z,{baseIndex:_e},Ke=>c.createElement(T.Z.Consumer,null,He=>{var ye=He.time;return c.createElement(S.Z,{ref:this.containerRef,boxShadow:300,className:he,opacity:Be?1:0,position:"fixed",role:H,sx:k(k(k({pointerEvents:Be?void 0:"none",transition:Be?"transform ".concat(ye[150]," ease ").concat(ye[50],", opacity ").concat(ye[200]," ease"):"transform ".concat(ye[200]," ease, opacity ").concat(ye[200]," ease")},ge),z),{},{zIndex:Ke})},!Ee&&c.createElement(F,{getUpdatePosition:Le=>{this._updateArrowPos=Le},style:oe}),c.createElement(S.Z,{ref:J,bg:"base",className:q,sx:k({overflow:"auto"},me)},re))}))}render(){return!this.state.shown&&!this.props.isOpen?null:c.createElement(C.Z,{mountAt:this.getMountNode},this.renderInside())}}a()(j,"defaultProps",{arrowStyles:{},bodyStyles:{},closeTimeoutMS:4e3,hideArrow:!1,ignoreTargetSelectors:[],isOpen:!1,mountAt:document.body,offset:{x:B,y:B},onRequestOpen:_(),position:"top",updateArrowPosition:!1,style:{}});var $=c.forwardRef((ne,pe)=>c.createElement(j,o()({bodyRef:pe},ne))),ee=(0,A.Z)($,"isOpen",!0);const ie=Object.assign(ee,{PopOverWithRefForwarding:$})},136382:function(b,l,e){"use strict";e.d(l,{Z:()=>F});var r=e(174161),o=e(392338),n=e(160553),a=e.n(n),i=e(642979),c=e.n(i),u=e(737968),f=e.n(u),d=e(881707),h=["css"];function g(G,k){var x=Object.keys(G);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(G);k&&(M=M.filter(function(B){return Object.getOwnPropertyDescriptor(G,B).enumerable})),x.push.apply(x,M)}return x}function _(G){for(var k=1;k<arguments.length;k++){var x=arguments[k]!=null?arguments[k]:{};k%2?g(Object(x),!0).forEach(function(M){c()(G,M,x[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(x)):g(Object(x)).forEach(function(M){Object.defineProperty(G,M,Object.getOwnPropertyDescriptor(x,M))})}return G}var p=G=>{var k=G.css,x=f()(G,h);return r.createElement(d.Z,a()({backgroundColor:"gray.800",css:_({overflow:"hidden"},k),height:"sizes.50",position:"relative"},x))};const y=p;var O=e(517629),P=e(47932),C=e(700436),A=e.n(C),S=(G,k,x)=>A()((G-k)*100/(x-k),0,100),T=["isIndeterminate","max","min","value","css"];function s(G,k){var x=Object.keys(G);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(G);k&&(M=M.filter(function(B){return Object.getOwnPropertyDescriptor(G,B).enumerable})),x.push.apply(x,M)}return x}function v(G){for(var k=1;k<arguments.length;k++){var x=arguments[k]!=null?arguments[k]:{};k%2?s(Object(x),!0).forEach(function(M){c()(G,M,x[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(x)):s(Object(x)).forEach(function(M){Object.defineProperty(G,M,Object.getOwnPropertyDescriptor(x,M))})}return G}var m=(0,O.keyframes)({"0%":{left:0,marginLeft:0,right:"100%"},"50%":{left:0,right:0},"100%":{left:"100%",marginLeft:"33%",right:0}}),E=G=>{var k=G.isIndeterminate,x=k===void 0?!1:k,M=G.max,B=M===void 0?100:M,R=G.min,U=R===void 0?0:R,j=G.value,$=j===void 0?0:j,ee=G.css,te=f()(G,T),ie=(0,P.F)(),ne=S($,U,B),pe=v(v({transition:"width ".concat(ie.time[200]," linear"),width:"".concat(ne,"%")},x&&{animationDuration:"2600ms",animationIterationCount:"infinite",animationName:m,animationTimingFunction:ie.easing.product.entrance,position:"absolute",width:"auto",willChange:"left, right"}),ee);return r.createElement(d.Z,a()({"aria-valuemax":B,"aria-valuemin":U,"aria-valuenow":x?void 0:$,backgroundColor:"gray.100",css:pe,height:"100%",role:"progressbar"},te))};const I=E;var L=G=>r.createElement(y,null,r.createElement(I,G));L.Container=y,L.Track=I;const F=L},905222:function(b,l,e){"use strict";e.d(l,{Z:()=>F});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(174161),c=e(881707),u=["trigger","body","variant"],f=i.createContext("default"),d=(0,i.forwardRef)((G,k)=>{var x=G.trigger,M=G.body,B=G.variant,R=B===void 0?"default":B,U=a()(G,u);return i.createElement(c.Z,o()({display:"inline"},U,{ref:k}),i.createElement(f.Provider,{value:R},x,M))});d.displayName="Reveal";const h=d;var g=e(392338),_=e(642979),p=e.n(_),y=e(719484),O=e(412166),P=e(425740),C=e(705198),A=e(66232),S=["children","isOpen","onToggle","sx","containerStyles"];function T(G,k){var x=Object.keys(G);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(G);k&&(M=M.filter(function(B){return Object.getOwnPropertyDescriptor(G,B).enumerable})),x.push.apply(x,M)}return x}function s(G){for(var k=1;k<arguments.length;k++){var x=arguments[k]!=null?arguments[k]:{};k%2?T(Object(x),!0).forEach(function(M){p()(G,M,x[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(x)):T(Object(x)).forEach(function(M){Object.defineProperty(G,M,Object.getOwnPropertyDescriptor(x,M))})}return G}var v=G=>{var k=G.children,x=G.isOpen,M=G.onToggle,B=G.sx,R=G.containerStyles,U=a()(G,S),j=i.useContext(f),$=typeof k=="string"||(0,C.Z)(k),ee=$?i.createElement(y.Z.Body,{color:"inherit",display:"inline",sx:{textDecoration:j==="contained"&&"underline"}},k):k;return i.createElement(O.Z,o()({alignItems:"center",color:"fg.accent",display:$?"inline":void 0,onClick:te=>{M==null||M(te)},onKeyPress:te=>{(A.Z.isEnter(te)||A.Z.isSpace(te))&&(te.stopPropagation(),M==null||M(te))},role:"button",sx:s({cursor:"pointer","&:focus":{outline:2,outlineOffset:2,outlineColor:"border.strong"},"&:focus:not(:focus-visible)":{outline:"none"}},B),tabIndex:0,width:"fit-content"},U),j==="default"?i.createElement(O.Z,o()({alignItems:"center",display:"inline-flex"},R),i.createElement(P.Z,{color:"inherit",sx:{transition:"transform 0.3s",transform:x?"rotate(90deg)":void 0,transformOrigin:"center"}}),ee):ee)};v.displayName="Reveal.Trigger";const m=v;var E=e(719501),I=["children","isOpen","exitTransitionDuration","enterTransitionDuration","exitTransitionTimingFunction","enterTransitionTimingFunction","skipInitialAnimation"],L=G=>{var k=G.children,x=G.isOpen,M=G.exitTransitionDuration,B=G.enterTransitionDuration,R=G.exitTransitionTimingFunction,U=G.enterTransitionTimingFunction,j=G.skipInitialAnimation,$=j===void 0?!1:j,ee=a()(G,I),te=i.useContext(f),ie=typeof k=="string"||(0,C.Z)(k);return i.createElement(E.Z,{enterTransitionDuration:B,enterTransitionTimingFunction:U,exitTransitionDuration:M,exitTransitionTimingFunction:R,isOpen:x,skipInitialAnimation:$},i.createElement(O.Z,o()({"aria-hidden":x?"false":"true",color:"fg.muted",display:x?void 0:"none",flexDirection:"column",gap:1,ml:te==="contained"?0:4,mt:1},ee),ie?i.createElement(y.Z.Body,{color:"inherit"},k):k))};L.displayName="Reveal.Body";const F=Object.assign(h,{Trigger:m,Body:L})},483824:function(b,l,e){"use strict";e.d(l,{Z:()=>Ee});var r=e(642979),o=e.n(r),n=e(160553),a=e.n(n),i=e(680180),c=e.n(i),u=e(737968),f=e.n(u),d=e(392338),h=e(174161),g=e(412166),_=e(881707),p=e(942085),y=e(66232),O=e(47932),P=e(976003),C=e.n(P),A=(fe,H)=>{if(H===void 0)return 0;var z=fe.findIndex(_e=>C()(_e,H));return z===-1?0:z},S=fe=>h.Children.map(fe,H=>{var z=H.props.value;return z});function T(fe,H){var z=Object.keys(fe);if(Object.getOwnPropertySymbols){var _e=Object.getOwnPropertySymbols(fe);H&&(_e=_e.filter(function(ae){return Object.getOwnPropertyDescriptor(fe,ae).enumerable})),z.push.apply(z,_e)}return z}function s(fe){for(var H=1;H<arguments.length;H++){var z=arguments[H]!=null?arguments[H]:{};H%2?T(Object(z),!0).forEach(function(_e){o()(fe,_e,z[_e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(fe,Object.getOwnPropertyDescriptors(z)):T(Object(z)).forEach(function(_e){Object.defineProperty(fe,_e,Object.getOwnPropertyDescriptor(z,_e))})}return fe}var v=(fe,H)=>typeof fe=="string"?"".concat(fe.replace(/ /g,"-"),"-tab"):"".concat(H,"-tab"),m=(fe,H)=>{var z=A(fe,H),_e=fe.length,ae=h.useCallback(()=>{var ge=100/_e,Be=z===-1?0:z,Ke={width:ge,left:ge*Be};return s(s({},Ke),{},{left:"".concat(Ke.left,"%"),width:"".concat(Ke.width,"%")})},[z,_e]);return{animateTo:ae,focusedIndex:z}},E=e(719484),I=e(579531),L=e(327836),W=e(860921),F=e.n(W),G=e(425629),k=e(471184),x=e(688720),M=e(938408),B=["children","onClick","selected","sx","label","isDisabled","name"];function R(fe,H){var z=Object.keys(fe);if(Object.getOwnPropertySymbols){var _e=Object.getOwnPropertySymbols(fe);H&&(_e=_e.filter(function(ae){return Object.getOwnPropertyDescriptor(fe,ae).enumerable})),z.push.apply(z,_e)}return z}function U(fe){for(var H=1;H<arguments.length;H++){var z=arguments[H]!=null?arguments[H]:{};H%2?R(Object(z),!0).forEach(function(_e){o()(fe,_e,z[_e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(fe,Object.getOwnPropertyDescriptors(z)):R(Object(z)).forEach(function(_e){Object.defineProperty(fe,_e,Object.getOwnPropertyDescriptor(z,_e))})}return fe}var j=(0,k.Z)("input")((0,x.Z)(M.iv,M.sx)),$=(0,I.q)((fe,H)=>{var z=fe.children,_e=fe.onClick,ae=_e===void 0?F():_e,ge=fe.selected,Be=fe.sx,Ke=fe.label,He=fe.isDisabled,ye=fe.name,Le=f()(fe,B),Ue=Ke||Le["aria-label"]||(typeof z=="string"?z:void 0),Xe=typeof z=="string"?h.createElement(E.Z.Action,{sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",px:1}},z):z;return h.createElement(G.Z.Solid,a()({ref:H,as:"label",backgroundColor:ge?"gray.800":void 0,borderRadius:"1",color:He?"fg.disabled":"gray.100",disabled:He,minHeight:"sizes.200",minWidth:"sizes.200",sx:U({":not(:last-child)":{marginRight:"1"},cursor:He?"not-allowed":"pointer",svg:{color:"inherit"}},Be),title:Ue},Le),h.createElement(j,{"aria-label":Ue,checked:ge,disabled:He,name:ye,onChange:ae,sx:{"&:focus ~ .content":{outline:2,outlineColor:"gray.100",outlineOffset:"2px",zIndex:0},"&:focus:not(:focus-visible) ~ .content":{outline:"none"},height:0,opacity:0,position:"absolute",width:0},tabIndex:ge?0:-1,type:"radio"}),h.createElement(g.Z,{alignItems:"center",borderRadius:"1",className:"content",height:"100%",justifyContent:"center",width:"100%"},h.Children.map(Xe,Fe=>(0,h.isValidElement)(Fe)?h.cloneElement(Fe,{isDisabled:He,color:He?"fg.disabled":void 0}):Fe)))});$.displayName="CompactOption";const ee=$;var te=["children","index","isDisabled","label","onClick","onClickOption","onFocus","onKeyDown","onKeyDownOption","selected","sx","value","variant","ariaLabel","name"];function ie(fe,H){var z=Object.keys(fe);if(Object.getOwnPropertySymbols){var _e=Object.getOwnPropertySymbols(fe);H&&(_e=_e.filter(function(ae){return Object.getOwnPropertyDescriptor(fe,ae).enumerable})),z.push.apply(z,_e)}return z}function ne(fe){for(var H=1;H<arguments.length;H++){var z=arguments[H]!=null?arguments[H]:{};H%2?ie(Object(z),!0).forEach(function(_e){o()(fe,_e,z[_e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(fe,Object.getOwnPropertyDescriptors(z)):ie(Object(z)).forEach(function(_e){Object.defineProperty(fe,_e,Object.getOwnPropertyDescriptor(z,_e))})}return fe}var pe=(0,I.q)((fe,H)=>{var z=fe.children,_e=fe.index,ae=_e===void 0?0:_e,ge=fe.isDisabled,Be=fe.label,Ke=fe.onClick,He=Ke===void 0?F():Ke,ye=fe.onClickOption,Le=fe.onFocus,Ue=Le===void 0?F():Le,Xe=fe.onKeyDown,Fe=Xe===void 0?F():Xe,ht=fe.onKeyDownOption,Ne=fe.selected,Ce=Ne===void 0?!1:Ne,we=fe.sx,$e=fe.value,Ot=fe.variant,Pt=fe.ariaLabel,Ie=fe.name,Bt=f()(fe,te),mt=ce=>{ye==null||ye(ce,ae),He(ce)},rt=ce=>{ht==null||ht(ce,ae),Fe(ce)};return Ot==="compact"?h.createElement(ee,a()({isDisabled:ge,label:Be,name:Ie,onClick:mt,selected:Ce,sx:we,value:$e},Bt),z):h.createElement(E.Z.Body,a()({ref:H,alignItems:"center","aria-controls":v($e,ae),"aria-label":Pt,"aria-selected":Ce,as:"button",backgroundColor:"transparent",border:"none",borderRadius:"2px",color:ge?"fg.disabled":Ce?"gray.100":"gray.300",disabled:ge,display:"flex",flex:"1",fontWeight:"medium",height:"inherit",justifyContent:"center",onClick:mt,onFocus:Ue,onKeyDown:rt,padding:"0",role:"tab",sx:ne({"&:focus":{outline:2,outlineColor:"gray.100",outlineOffset:"2px"},"&:focus:not(:focus-visible)":{outline:"none"},"&:hover:not(:focus)":{color:ge?"fg.disabled":"gray.100"},cursor:ge?"not-allowed":"pointer",overflow:"hidden",svg:{color:"inherit"},textOverflow:"ellipsis",whiteSpace:"nowrap"},we),tabIndex:Ce?0:-1,textAlign:"center",value:$e},Bt),z)});pe.displayName="Option";const oe=pe;var q=["children","isDisabled","onChange","value","variant","name"];function J(fe,H){var z=Object.keys(fe);if(Object.getOwnPropertySymbols){var _e=Object.getOwnPropertySymbols(fe);H&&(_e=_e.filter(function(ae){return Object.getOwnPropertyDescriptor(fe,ae).enumerable})),z.push.apply(z,_e)}return z}function me(fe){for(var H=1;H<arguments.length;H++){var z=arguments[H]!=null?arguments[H]:{};H%2?J(Object(z),!0).forEach(function(_e){o()(fe,_e,z[_e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(fe,Object.getOwnPropertyDescriptors(z)):J(Object(z)).forEach(function(_e){Object.defineProperty(fe,_e,Object.getOwnPropertyDescriptor(z,_e))})}return fe}var re=(0,h.forwardRef)((fe,H)=>{var z=fe.children,_e=fe.isDisabled,ae=fe.onChange,ge=fe.value,Be=fe.variant,Ke=fe.name,He=f()(fe,q),ye=S(z),Le=m(ye,ge),Ue=Le.animateTo,Xe=Le.focusedIndex,Fe=(0,h.useState)(null),ht=c()(Fe,2),Ne=ht[0],Ce=ht[1],we=H?(0,p.Z)(Ce,H):Ce,$e=(0,O.F)(),Ot=$e.sizes,Pt=parseInt(Ot.sizes[50],10)*2,Ie={_:parseInt(Ot.sizes[200],10)-Pt,"mobile-*":parseInt(Ot.sizes[250],10)-Pt},Bt=(0,h.useCallback)(ce=>{var Re=null;if(y.Z.isArrowLeft(ce)?Re=Xe===0?ye.length-1:Xe-1:y.Z.isArrowRight(ce)&&(Re=Xe===ye.length-1?0:Xe+1),Re!==null){var nt;ae(ye[Re]),Ne==null||(nt=Ne.querySelectorAll('*[role="tab"]')[Re])===null||nt===void 0||nt.focus()}},[Xe,ae,ye,Ne]),mt=(ce,Re)=>{(y.Z.isEnter(ce)||y.Z.isSpace(ce))&&(ce.preventDefault(),ce.stopPropagation(),ae(ye[Re]))},rt=(ce,Re)=>{ce.preventDefault(),ae(ye[Re])};return Be==="compact"?h.createElement(g.Z,a()({ref:H,boxSizing:"border-box",flexDirection:"row",height:"sizes.200",role:"radiogroup"},He),h.Children.map(z,(ce,Re)=>h.cloneElement(ce,{index:Re,isDisabled:_e||ce.props.isDisabled,key:ce.props.label,name:Ke||ce.props.name,onClickOption:rt,onKeyDownOption:mt,selected:Re===Xe,variant:Be}))):h.createElement(_.Z,a()({ref:we,backgroundColor:"gray.900",borderColor:"gray.900",borderRadius:"1",borderStyle:"solid",borderWidth:Ot.sizes[50],boxSizing:"border-box",height:{_:"sizes.200","mobile-*":"sizes.250"},position:"relative",width:"100%"},He,{css:{isolation:"isolate"}}),h.createElement(_.Z,{backgroundColor:"white",borderRadius:"2px",css:me({transition:"left 0.15s cubic-bezier(0.32, 0.94, 0.6, 1), width 0.15s cubic-bezier(0.32, 0.94, 0.6, 1)"},Ue()),height:Ie,outline:"0",position:"absolute",top:"0",zIndex:"1"}),h.createElement(g.Z,{css:{outline:"none"},flexDirection:"row",height:Ie,justifyContent:"space-around",onKeyDown:Bt,position:"relative",role:"tablist",tabIndex:"-1",zIndex:"2"},h.Children.map(z,(ce,Re)=>h.cloneElement(ce,{flexBasis:"".concat(100/ye.length,"%"),index:Re,onClickOption:rt,onKeyDownOption:mt,selected:Re===Xe,ariaLabel:ce.props.ariaLabel,isDisabled:_e||ce.props.isDisabled}))))});re.displayName="SegmentedControl";const Ee=Object.assign(re,{Option:oe})},20561:function(b,l,e){"use strict";e.d(l,{Z:()=>oe});var r=e(836418),o=e(642979),n=e.n(o),a=e(392338),i=e(174161),c=e(997803),u=e(881707);function f(q,J){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(q);J&&(re=re.filter(function(he){return Object.getOwnPropertyDescriptor(q,he).enumerable})),me.push.apply(me,re)}return me}function d(q){for(var J=1;J<arguments.length;J++){var me=arguments[J]!=null?arguments[J]:{};J%2?f(Object(me),!0).forEach(function(re){n()(q,re,me[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):f(Object(me)).forEach(function(re){Object.defineProperty(q,re,Object.getOwnPropertyDescriptor(me,re))})}return q}class h extends i.Component{constructor(){super(...arguments),n()(this,"renderContent",J=>{var me=this.props,re=me.className,he=me.sx,Ee=he===void 0?{}:he;return i.createElement(u.Z,{className:re,style:{zIndex:J},sx:d({position:"fixed",height:"100%",width:"100%",top:"100%",left:"0px"},Ee)},this.props.children)})}render(){return i.createElement(c.Z,{baseIndex:this.props.zIndex},this.renderContent)}}n()(h,"defaultProps",{zIndex:0});const g=h;var _=e(860921),p=e.n(_),y=e(47932),O=e(18724),P=q=>{var J=q.children;return i.createElement("div",{style:{height:"100%",overflow:"auto",touchAction:"auto",WebkitOverflowScrolling:"touch"}},J)};const C=P;var A=e(861673),S=e(771649);class T extends i.Component{constructor(){var J;super(...arguments),J=this,n()(this,"node",null),n()(this,"renderContent",function(){var me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{ref:void 0};return i.createElement("div",{ref:me.ref},J.props.children)})}render(){var J=this.props,me=J.draggable,re=J.dragIntentThreshold,he=J.onDragStart,Ee=J.onDrag,fe=J.onDragEnd,H=J.onResize;return me?i.createElement(A.DragTrigger,{autoScroll:!1,onDrag:Ee,onDragEnd:fe,onDragStart:he,timeThreshold:re},i.createElement(S.Z,{onResize:H},this.renderContent)):this.renderContent()}}n()(T,"defaultProps",{dragIntentThreshold:200});const s=T;function v(q,J){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(q);J&&(re=re.filter(function(he){return Object.getOwnPropertyDescriptor(q,he).enumerable})),me.push.apply(me,re)}return me}function m(q){for(var J=1;J<arguments.length;J++){var me=arguments[J]!=null?arguments[J]:{};J%2?v(Object(me),!0).forEach(function(re){n()(q,re,me[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):v(Object(me)).forEach(function(re){Object.defineProperty(q,re,Object.getOwnPropertyDescriptor(me,re))})}return q}var E="cubic-bezier(0.66, 0.00, 0.34, 1.00)",I="cubic-bezier(0.32, 0.94, 0.60, 1.00)",L="cubic-bezier(0.40, 0.00, 0.68, 0.06)",W=500,F=1.25,G=.2,k={docks:[50,window.innerHeight],draggable:!0,flickThreshold:25,onDockIndexChange:p(),onHeaderResize:p(),renderBody:()=>null,renderHeader:()=>null};class x extends i.Component{constructor(){var J;super(...arguments),J=this,n()(this,"state",{currentDockIndex:0,dragCoords:null,dragging:!1,headerHeight:0,transitionDuration:W,transitionEasing:E}),n()(this,"setDockIndex",me=>{var re=this.state.currentDockIndex,he=this.props,Ee=he.docks,fe=Ee===void 0?k.docks:Ee,H=he.onDockIndexChange,z=fe[re],_e=fe[me];if(_e===void 0){console.error("Setting dock index to an unavailable dock index",fe);return}setTimeout(()=>{this.setState({currentDockIndex:me,transitionDuration:this.getTransitionDuration(z,_e),transitionEasing:this.getTransitionEasing(z,_e)},()=>H==null?void 0:H(me,re))})}),n()(this,"getDragDistance",()=>{var me=this.state.dragCoords;if(me){var re=me.startY,he=me.mouseY;return re-he}return 0}),n()(this,"getYPositon",function(){var me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,re=J.props.docks,he=re===void 0?k.docks:re,Ee=J.state,fe=Ee.currentDockIndex,H=Ee.dragging,z=Ee.dragCoords,_e=he[fe];if(!H)return _e;var ae=z??{},ge=ae.deltaY,Be=ge===void 0?0:ge,Ke=me?Be:0,He=J.getDragDistance();return _e+He+Ke}),n()(this,"getClosestDockIndex",me=>{var re=this.props.docks,he=re===void 0?k.docks:re,Ee=Math.abs(me),fe=he.reduce((H,z)=>Math.abs(z-Ee)<Math.abs(H-Ee)?z:H);return he.indexOf(fe)}),n()(this,"getCssVariables",me=>({"--header-height":"".concat(this.state.headerHeight,"px"),"--top":"".concat(me,"px"),"--transition-duration":"".concat(this.state.transitionDuration,"ms"),"--transition-easing":this.state.transitionEasing})),n()(this,"getTransitionDuration",(me,re)=>{var he=Math.abs(me-re),Ee=F*he;return Math.min(Ee,W)}),n()(this,"getTransitionEasing",(me,re)=>{var he=me<=0?I:E;return re<=0&&(he=L),he}),n()(this,"onDrag",(me,re)=>{this.setState({dragging:!0,dragCoords:me}),this.props.onDrag&&this.props.onDrag(me,re)}),n()(this,"onDragEnd",me=>{var re=this.state,he=re.currentDockIndex,Ee=re.dragCoords,fe=this.props,H=fe.docks,z=H===void 0?k.docks:H,_e=fe.flickThreshold,ae=_e===void 0?k.flickThreshold:_e,ge=fe.onDockIndexChange,Be=fe.onDragEnd,Ke=z[he],He=this.getYPositon(!0);if(Ee){var ye=Ee.deltaY,Le=Ee.mouseY,Ue=Ee.startY,Xe=Math.abs(ye)>=ae,Fe=Le-Ue,ht=Fe<0?Math.min(he+1,z.length-1):Math.max(he-1,0);if(!Xe){var Ne=z[ht],Ce=this.getDragDistance(),we=Math.abs(Ce/(Ke-Ne));we<G&&(ht=he)}var $e=z[ht];this.setState({currentDockIndex:ht,dragCoords:null,dragging:!1,transitionDuration:this.getTransitionDuration(He,$e),transitionEasing:this.getTransitionEasing(He,$e)},()=>{ge==null||ge(ht,he),Be&&Be(me)})}}),n()(this,"onHeaderResize",me=>{var re,he,Ee=me.height;this.setState({headerHeight:Ee}),(re=(he=this.props).onHeaderResize)===null||re===void 0||re.call(he,me)})}static getDerivedStateFromProps(J,me){return{currentDockIndex:typeof J.currentDockIndex=="number"?J.currentDockIndex:me.currentDockIndex}}render(){var J=this.props,me=J.className,re=J.draggable,he=re===void 0?k.draggable:re,Ee=J.dragIntentThreshold,fe=J.onDragStart,H=J.renderBody,z=H===void 0?k.renderBody:H,_e=J.renderHeader,ae=_e===void 0?k.renderHeader:_e,ge=this.getYPositon(),Be=m(m({},this.state),{},{yPosition:ge});return i.createElement(y.Z.Consumer,null,Ke=>i.createElement(y.Z.Provider,{theme:(0,O.getContextualTheme)(Ke||O.rosetta.white,O.THEME_USAGE_CONTEXTS.ELEVATED)},i.createElement(u.Z,{bg:"base",boxShadow:300,className:me,"data-dock-index":this.state.currentDockIndex,style:this.getCssVariables(ge),sx:{boxSizing:"border-box",height:"100vh",paddingBottom:"calc(100vh - var(--top) + var(--header-height))",touchAction:"none",transition:this.state.dragging?"none":"transform var(--transition-duration) var(--transition-easing)",transform:"translate3d(0, calc(var(--top) * -1), 0)"}},i.createElement(s,{dragIntentThreshold:Ee,draggable:he,onDrag:this.onDrag,onDragEnd:this.onDragEnd,onDragStart:fe,onResize:this.onHeaderResize},ae(Be)),i.createElement(C,null,z(Be)))))}}n()(x,"defaultProps",k);const M=x;var B=e(160553),R=e.n(B),U=e(737968),j=e.n(U),$=["className","zIndex","sx"];function ee(q,J){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(q);J&&(re=re.filter(function(he){return Object.getOwnPropertyDescriptor(q,he).enumerable})),me.push.apply(me,re)}return me}function te(q){for(var J=1;J<arguments.length;J++){var me=arguments[J]!=null?arguments[J]:{};J%2?ee(Object(me),!0).forEach(function(re){n()(q,re,me[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):ee(Object(me)).forEach(function(re){Object.defineProperty(q,re,Object.getOwnPropertyDescriptor(me,re))})}return q}var ie={position:"fixed",top:0,left:0,width:"100%",height:"100%",background:"rgba(0, 0, 0, 0.4)"},ne=q=>{var J=q.className,me=J===void 0?"":J,re=q.zIndex,he=q.sx,Ee=he===void 0?{}:he,fe=j()(q,$);return re?i.createElement(c.Z,{baseIndex:re},H=>i.createElement(u.Z,R()({className:me,style:{zIndex:H},sx:te(te({},ie),Ee)},fe))):i.createElement(u.Z,R()({className:me,sx:te(te({},ie),Ee)},fe))};const oe={Container:g,Drawer:M,Header:s,Overlay:ne,Portal:r.Z}},782293:function(b,l,e){"use strict";e.d(l,{O:()=>P});var r=e(392338),o=e.n(r),n=e(160553),a=e.n(n),i=e(642979),c=e.n(i),u=e(737968),f=e.n(u),d=e(174161),h=e(47932),g=e(517629),_=e(881707),p=["children","loading","sx","height","width","inline"];function y(C,A){var S=Object.keys(C);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(C);A&&(T=T.filter(function(s){return Object.getOwnPropertyDescriptor(C,s).enumerable})),S.push.apply(S,T)}return S}function O(C){for(var A=1;A<arguments.length;A++){var S=arguments[A]!=null?arguments[A]:{};A%2?y(Object(S),!0).forEach(function(T){c()(C,T,S[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(S)):y(Object(S)).forEach(function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(S,T))})}return C}var P=C=>{var A=C.children,S=C.loading,T=S===void 0?!0:S,s=C.sx,v=C.height,m=C.width,E=C.inline,I=E===void 0?!1:E,L=f()(C,p),W=(0,h.F)(),F=W.colors,G=(0,g.keyframes)({"0%, 100%":{backgroundColor:F.gray[900]},"50%":{backgroundColor:F.gray[800]}});return T?d.createElement(_.Z,a()({as:I?"span":"div",sx:O(O({borderRadius:1,animation:"".concat(G," 2.5s cubic-bezier(0.53, 0.12, 0.53, 0.87) infinite"),backgroundColor:"gray.900",pointerEvents:"none",userSelect:"none",cursor:"default",color:"transparent"},A?{height:v??"auto",width:m??"fit-content"}:{height:v??"sizes.175",width:m??"100%"}),{},{boxDecorationBreak:"clone","& > *":{visibility:"hidden"}},s)},L),A):d.createElement(d.Fragment,null,A)}},211278:function(b,l,e){"use strict";e.d(l,{Z:()=>ne});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(392338),c=e(174161),u=e(881707),f=e(642979),d=e.n(f),h=e(471184),g=e(688720),_=e(938408),p=e(279523),y=e(199946),O=e(47932),P=e(700436),C=e.n(P),A=(pe,oe)=>q=>C()(100*(q-pe)/(oe-pe),0,100),S=pe=>{var oe=pe.value,q=pe.min,J=pe.max,me=pe.step,re=Math.round(oe/me)*me,he=A(q,J),Ee=he(0),fe=he(re),H=fe<Ee,z=H?fe:Ee,_e=H?Ee:fe;return{start:z,end:_e}};const T=S;var s=["isDisabled","height","max","min","onChange","showTrackFill","step","value","className","css","style","sx"];function v(pe,oe){var q=Object.keys(pe);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(pe);oe&&(J=J.filter(function(me){return Object.getOwnPropertyDescriptor(pe,me).enumerable})),q.push.apply(q,J)}return q}function m(pe){for(var oe=1;oe<arguments.length;oe++){var q=arguments[oe]!=null?arguments[oe]:{};oe%2?v(Object(q),!0).forEach(function(J){d()(pe,J,q[J])}):Object.getOwnPropertyDescriptors?Object.defineProperties(pe,Object.getOwnPropertyDescriptors(q)):v(Object(q)).forEach(function(J){Object.defineProperty(pe,J,Object.getOwnPropertyDescriptor(q,J))})}return pe}var E=(0,h.Z)("input")((0,g.Z)(_.iv,p.b,y.Dh,_.sx)),I=pe=>({"&::-webkit-slider-runnable-track":pe,"&::-moz-range-track":pe,"&::-ms-track":m({color:"transparent"},pe)}),L=pe=>({"&::-webkit-slider-thumb":pe,"&::-moz-range-thumb":pe,"&::-ms-thumb":pe}),W=pe=>{var oe=pe.isDisabled,q=oe===void 0?!1:oe,J=pe.height,me=J===void 0?"sizes.250":J,re=pe.max,he=pe.min,Ee=pe.onChange,fe=pe.showTrackFill,H=fe===void 0?!0:fe,z=pe.step,_e=z===void 0?1:z,ae=pe.value,ge=pe.className,Be=pe.css,Ke=pe.style,He=pe.sx,ye=a()(pe,s),Le=(0,O.F)(),Ue=Le.colors,Xe=Le.borders,Fe=Le.sizes,ht=Ue.gray[800],Ne=q?Ue.gray[600]:Ue.gray[100],Ce=Fe.sizes[50],we=Ue.base,$e="8px",Ot=Fe.sizes[125],Pt=()=>{var vt=T({value:ae,min:he,max:re,step:_e}),ze=vt.start,It=vt.end;return`linear-gradient(90deg,
      `.concat(ht," ").concat(ze,`%,
      `).concat(Ne," ").concat(ze,`%,
      `).concat(Ne," ").concat(It,`%,
      `).concat(ht," ").concat(It,`%
    )`)},Ie=H?Pt():"linear-gradient(".concat(ht,", ").concat(ht,")"),Bt=function(){var ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return{boxShadow:`
    0 0 0 `.concat(ze,"px ").concat(Ne,`,
    0 0 0 `).concat(ze+2,"px ").concat(we,`,
    0 0 0 `).concat(ze+4,"px ").concat(Ne),outline:Xe[2],outlineColor:"transparent",outlineOffset:"".concat(2+ze,"px")}},mt=m(m({},Bt(4)),{},{cursor:"col-resize"}),rt=L(Bt()),ce=vt=>"".concat(-(parseInt(vt)-parseInt(Ce))/2,"px"),Re=ce($e),nt=ce(Ot),st={borderRadius:"circle",backgroundColor:Ne,"&:hover":{cursor:"col-resize",boxShadow:"0 0 0 4px ".concat(Ne)},"&:active":mt};return c.createElement(E,o()({key:"field",className:ge,css:m(m({MozAppearance:"none",WebkitAppearance:"none",backgroundColor:"inherit",background:"transparent",border:0,boxSizing:"border-box",color:"transparent",cursor:"pointer",display:"block",margin:0,outline:"none",overflow:"visible",padding:0,position:"relative",width:"100%",backgroundClip:"content-box",backgroundRepeat:"no-repeat",backgroundPosition:"left center","::-ms-thumb":{marginTop:"auto !important",border:"none"},"::-ms-fill-upper":{backgroundColor:"transparent"},"::-ms-fill-lower":{backgroundColor:"transparent"},"::-webkit-slider-thumb":{WebkitAppearance:"none"},"::-moz-range-thumb":{border:"none"},"::-ms-tooltip":{display:"none"},"::-moz-focus-outer":{border:"none"},"&:focus":m({outline:"none"},rt)},I({height:Ce,background:"transparent",border:"none"})),{},{"&:active":L(mt),"&:disabled":{pointerEvents:"none"}},Be),disabled:q,height:me,max:re,min:he,onChange:vt=>{Ee(Number(vt.target.value))},step:_e,style:m({backgroundImage:Ie,backgroundSize:"100% ".concat(Ce)},Ke),sx:m(m({},L({_:m(m({},st),{},{height:$e,width:$e,marginTop:Re,transition:"box-shadow 350ms cubic-bezier(0.175, 0.885, 0.32, 1.15)"}),"mobile-*":m(m({},st),{},{height:Ot,width:Ot,marginTop:nt,transition:"none"})})),He),type:"range",value:ae},ye))};const F=W;var G=["borderRadius"],k=pe=>{var oe=pe.borderRadius,q=oe===void 0?"circle":oe,J=a()(pe,G);return c.createElement(u.Z,o()({bg:"gray.800",borderRadius:q,css:{pointerEvents:"none"},height:"sizes.75",width:"sizes.75"},J))};const x=k;var M=e(412166),B=["children","mx"],R=pe=>{var oe=pe.children,q=pe.mx,J=a()(pe,B);return c.createElement(M.Z,o()({alignItems:"center",bottom:0,css:{pointerEvents:"none"},flexDirection:"row",justifyContent:"space-between",left:0,mx:q,position:"absolute",right:0,top:0},J),oe)};const U=R;var j=pe=>{var oe=pe.max,q=pe.min,J=pe.step,me=J===void 0?1:J,re=Math.floor((oe-q)/me+1),he=Array(re).fill(0).map((Ee,fe)=>q+fe*me);return he};const $=j;var ee=["aria-label","isDisabled","height","max","min","onBlur","onChange","onFocus","showTicks","step","value","width"],te=pe=>{var oe=pe["aria-label"],q=pe.isDisabled,J=q===void 0?!1:q,me=pe.height,re=me===void 0?"sizes.250":me,he=pe.max,Ee=pe.min,fe=pe.onBlur,H=pe.onChange,z=pe.onFocus,_e=pe.showTicks,ae=_e===void 0?!1:_e,ge=pe.step,Be=ge===void 0?1:ge,Ke=pe.value,He=pe.width,ye=He===void 0?"100%":He,Le=a()(pe,ee);return c.createElement(u.Z,o()({height:re,position:"relative",width:ye},Le),ae&&c.createElement(U,null,$({min:Ee,max:he,step:Be}).map(Ue=>c.createElement(x,{key:"tick-".concat(Ue),borderRadius:"circle"}))),c.createElement(F,{"aria-label":oe,isDisabled:J,max:he,min:Ee,onBlur:fe,onChange:H,onFocus:z,showTrackFill:!ae,step:Be,value:Ke}))};te.TickContainer=U,te.Tick=x,te.createValueArray=$,te.Input=F;const ne=te},378638:function(b,l,e){"use strict";e.d(l,{Z:()=>m});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(392338),c=e(174161),u=e(412166),f=(0,c.forwardRef)((E,I)=>c.createElement(u.Z,o()({ref:I,as:"ul",m:0,p:0},E)));f.displayName="StackContainer";const d=f;var h=e(642979),g=e.n(h),_=e(881707),p=["sx"];function y(E,I){var L=Object.keys(E);if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(E);I&&(W=W.filter(function(F){return Object.getOwnPropertyDescriptor(E,F).enumerable})),L.push.apply(L,W)}return L}function O(E){for(var I=1;I<arguments.length;I++){var L=arguments[I]!=null?arguments[I]:{};I%2?y(Object(L),!0).forEach(function(W){g()(E,W,L[W])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(L)):y(Object(L)).forEach(function(W){Object.defineProperty(E,W,Object.getOwnPropertyDescriptor(L,W))})}return E}var P=(0,c.forwardRef)((E,I)=>{var L=E.sx,W=a()(E,p);return c.createElement(_.Z,o()({ref:I,as:"li",m:0,p:0,sx:O({listStyle:"none"},L)},W))});P.displayName="StackItemContainer";const C=P;var A=["as","children","direction","divider","of","space"],S={ROW:"row",COLUMN:"column"},T={[S.ROW]:{FIRST:"mr",LAST:"ml",BOTH:"mx",SINGLE:"mr"},[S.COLUMN]:{FIRST:"mb",LAST:"mt",BOTH:"my",SINGLE:"mb"}},s=(0,c.forwardRef)((E,I)=>{var L=E.as,W=L===void 0?d:L,F=E.children,G=E.direction,k=G===void 0?S.COLUMN:G,x=E.divider,M=E.of,B=M===void 0?C:M,R=E.space,U=R===void 0?0:R,j=a()(E,A),$=c.Children.toArray(F).filter(ie=>ie).reduce((ie,ne)=>c.isValidElement(ne)&&ne.type===c.Fragment?[...ie,...c.Children.toArray(ne.props.children)]:[...ie,ne],[]),ee=$.length,te=(ie,ne)=>{var pe=ee===1,oe=ne+1>=ee,q=ne===0,J=null;!oe&&x&&(J=typeof x=="function"?x({index:ne,row:ie}):x);var me={};if(U!==void 0&&!pe){var re=T[k]||T[S.COLUMN];x?oe?me[re.LAST]=U:q?me[re.FIRST]=U:J?me[re.BOTH]=U:me[re.SINGLE]=U:oe||(me[re.SINGLE]=U)}return c.createElement(c.Fragment,{key:ne},c.createElement(B,{sx:me},ie),J||null)};return c.createElement(W,o()({ref:I,flexDirection:k},j),$.map(te))});s.displayName="Stack";const m=Object.assign(s,{StackContainer:d,StackItemContainer:C})},777379:function(b,l,e){"use strict";e.d(l,{O:()=>vt});var r=e(160553),o=e.n(r),n=e(680180),a=e.n(n),i=e(737968),c=e.n(i),u=e(392338),f=e(174161);function d(ze){const It=(0,f.useRef)(null);return It.current===null&&(It.current=ze()),It.current}function h(ze){return(0,f.useEffect)(()=>()=>ze(),[])}class g{constructor(It){this.stop=()=>this.runAll("stop"),this.animations=It.filter(Boolean)}get finished(){return Promise.all(this.animations.map(It=>It.finished))}getAll(It){return this.animations[0][It]}setAll(It,on){for(let Pn=0;Pn<this.animations.length;Pn++)this.animations[Pn][It]=on}attachTimeline(It){const on=this.animations.map(Pn=>Pn.attachTimeline(It));return()=>{on.forEach((Pn,Yn)=>{Pn&&Pn(),this.animations[Yn].stop()})}}get time(){return this.getAll("time")}set time(It){this.setAll("time",It)}get speed(){return this.getAll("speed")}set speed(It){this.setAll("speed",It)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let It=0;for(let on=0;on<this.animations.length;on++)It=Math.max(It,this.animations[on].duration);return It}runAll(It){this.animations.forEach(on=>on[It]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class _ extends g{then(It,on){return this.finished.finally(It).then(()=>{})}}function p(ze,It,on){if(ze instanceof EventTarget)return[ze];if(typeof ze=="string"){let Pn=document;It&&(Pn=It.current);const Yn=(on==null?void 0:on[ze])??Pn.querySelectorAll(ze);return Yn?Array.from(Yn):[]}return Array.from(ze)}function y(ze,It){return(ze==null?void 0:ze[It])??(ze==null?void 0:ze.default)??ze}const O=new WeakMap,P=(ze,It="")=>`${ze}:${It}`;function C(ze){const It=O.get(ze)||new Map;return O.set(ze,It),It}const A=ze=>ze.startsWith("--");function S(ze,It){const on=window.getComputedStyle(ze);return A(It)?on.getPropertyValue(It):on[It]}function T(ze){for(let It=1;It<ze.length;It++)ze[It]??(ze[It]=ze[It-1])}const s=new Set(["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius","radius","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","width","maxWidth","height","maxHeight","top","right","bottom","left","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginTop","marginRight","marginBottom","marginLeft","backgroundPositionX","backgroundPositionY"]);function v(ze,It){for(let on=0;on<ze.length;on++)typeof ze[on]=="number"&&s.has(It)&&(ze[on]=ze[on]+"px")}let m=()=>{},E=()=>{};const I=ze=>ze*1e3,L=ze=>ze/1e3,W=ze=>ze;function F(ze,It,on){A(It)?ze.style.setProperty(It,on):ze.style[It]=on}function G(ze){let It;return()=>(It===void 0&&(It=ze()),It)}const k=G(()=>window.ScrollTimeline!==void 0),x=ze=>ze!==null;function M(ze,{repeat:It,repeatType:on="loop"},Pn,Yn=1){const Ln=ze.filter(x),ir=Yn<0||It&&on!=="loop"&&It%2===1?0:Ln.length-1;return!ir||Pn===void 0?Ln[ir]:Pn}class B{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(It=>{this.resolve=It})}notifyFinished(){this.resolve()}then(It,on){return this.finished.then(It,on)}}const R={layout:0,mainThread:0,waapi:0},U={value:null,addProjectionMetrics:null},j=ze=>Array.isArray(ze)&&typeof ze[0]=="number",$={};function ee(ze,It){const on=G(ze);return()=>$[It]??on()}const te=ee(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ie=(ze,It,on=10)=>{let Pn="";const Yn=Math.max(Math.round(It/on),2);for(let Ln=0;Ln<Yn;Ln++)Pn+=Math.round(ze(Ln/(Yn-1))*1e4)/1e4+", ";return`linear(${Pn.substring(0,Pn.length-2)})`},ne=([ze,It,on,Pn])=>`cubic-bezier(${ze}, ${It}, ${on}, ${Pn})`,pe={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ne([0,.65,.55,1]),circOut:ne([.55,0,1,.45]),backIn:ne([.31,.01,.66,-.59]),backOut:ne([.33,1.53,.69,.99])};function oe(ze,It){if(ze)return typeof ze=="function"?te()?ie(ze,It):"ease-out":j(ze)?ne(ze):Array.isArray(ze)?ze.map(on=>oe(on,It)||pe.easeOut):pe[ze]}function q(ze,It,on,{delay:Pn=0,duration:Yn=300,repeat:Ln=0,repeatType:bn="loop",ease:ir="easeOut",times:Zn}={},$n=void 0){const jt={[It]:on};Zn&&(jt.offset=Zn);const Rn=oe(ir,Yn);Array.isArray(Rn)&&(jt.easing=Rn),U.value&&R.waapi++;const jn={delay:Pn,duration:Yn,easing:Array.isArray(Rn)?"linear":Rn,fill:"both",iterations:Ln+1,direction:bn==="reverse"?"alternate":"normal"};$n&&(jn.pseudoElement=$n);const Tn=ze.animate(jt,jn);return U.value&&Tn.finished.finally(()=>{R.waapi--}),Tn}function J(ze){return typeof ze=="function"&&"applyToOptions"in ze}function me({type:ze,...It}){return J(ze)&&te()?ze.applyToOptions(It):(It.duration??(It.duration=300),It.ease??(It.ease="easeOut"),It)}class re extends B{constructor(It){if(super(),this.finishedTime=null,this.isStopped=!1,!It)return;const{element:on,name:Pn,keyframes:Yn,pseudoElement:Ln,allowFlatten:bn=!1,finalKeyframe:ir,onComplete:Zn}=It;this.isPseudoElement=!!Ln,this.allowFlatten=bn,this.options=It,E(typeof It.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const $n=me(It);this.animation=q(on,Pn,Yn,$n,Ln),$n.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!Ln){const jt=M(Yn,this.options,ir,this.speed);this.updateMotionValue?this.updateMotionValue(jt):F(on,Pn,jt),this.animation.cancel()}Zn==null||Zn(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var It,on;(on=(It=this.animation).finish)==null||on.call(It)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:It}=this;It==="idle"||It==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var It,on;this.isPseudoElement||(on=(It=this.animation).commitStyles)==null||on.call(It)}get duration(){var on,Pn;const It=((Pn=(on=this.animation.effect)==null?void 0:on.getComputedTiming)==null?void 0:Pn.call(on).duration)||0;return L(Number(It))}get time(){return L(Number(this.animation.currentTime)||0)}set time(It){this.finishedTime=null,this.animation.currentTime=I(It)}get speed(){return this.animation.playbackRate}set speed(It){It<0&&(this.finishedTime=null),this.animation.playbackRate=It}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(It){this.animation.startTime=It}attachTimeline({timeline:It,observe:on}){var Pn;return this.allowFlatten&&((Pn=this.animation.effect)==null||Pn.updateTiming({easing:"linear"})),this.animation.onfinish=null,It&&k()?(this.animation.timeline=It,W):on(this)}}function he(ze,It,on,Pn){const Yn=p(ze,Pn),Ln=Yn.length;E(!!Ln,"No valid elements provided.","no-valid-elements");const bn=[];for(let Zn=0;Zn<Ln;Zn++){const $n=Yn[Zn],jt={...on};typeof jt.delay=="function"&&(jt.delay=jt.delay(Zn,Ln));for(const Rn in It){let jn=It[Rn];Array.isArray(jn)||(jn=[jn]);const Tn={...y(jt,Rn)};Tn.duration&&(Tn.duration=I(Tn.duration)),Tn.delay&&(Tn.delay=I(Tn.delay));const Nn=C($n),cn=P(Rn,Tn.pseudoElement||""),or=Nn.get(cn);or&&or.stop(),bn.push({map:Nn,key:cn,unresolvedKeyframes:jn,options:{...Tn,element:$n,name:Rn,allowFlatten:!jt.type&&!jt.ease}})}}for(let Zn=0;Zn<bn.length;Zn++){const{unresolvedKeyframes:$n,options:jt}=bn[Zn],{element:Rn,name:jn,pseudoElement:Tn}=jt;!Tn&&$n[0]===null&&($n[0]=S(Rn,jn)),T($n),v($n,jn),!Tn&&$n.length<2&&$n.unshift(S(Rn,jn)),jt.keyframes=$n}const ir=[];for(let Zn=0;Zn<bn.length;Zn++){const{map:$n,key:jt,options:Rn}=bn[Zn],jn=new re(Rn);$n.set(jt,jn),jn.finished.finally(()=>$n.delete(jt)),ir.push(jn)}return ir}const Ee=ze=>{function It(on,Pn,Yn){return new _(he(on,Pn,Yn,ze))}return It},fe=null;function H(){const ze=d(()=>({current:null,animations:[]})),It=d(()=>Ee(ze));return h(()=>{ze.animations.forEach(on=>on.stop())}),[ze,It]}const z=(ze,It,on)=>on>It?It:on<ze?ze:on,_e=2e4;function ae(ze){let It=0;const on=50;let Pn=ze.next(It);for(;!Pn.done&&It<_e;)It+=on,Pn=ze.next(It);return It>=_e?1/0:It}function ge(ze,It=100,on){const Pn=on({...ze,keyframes:[0,It]}),Yn=Math.min(ae(Pn),_e);return{type:"keyframes",ease:Ln=>Pn.next(Yn*Ln).value/It,duration:L(Yn)}}function Be(ze,It){return It?ze*(1e3/It):0}const Ke=5;function He(ze,It,on){const Pn=Math.max(It-Ke,0);return Be(on-ze(Pn),It-Pn)}const ye={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Le=.001;function Ue({duration:ze=ye.duration,bounce:It=ye.bounce,velocity:on=ye.velocity,mass:Pn=ye.mass}){let Yn,Ln;m(ze<=I(ye.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let bn=1-It;bn=z(ye.minDamping,ye.maxDamping,bn),ze=z(ye.minDuration,ye.maxDuration,L(ze)),bn<1?(Yn=$n=>{const jt=$n*bn,Rn=jt*ze,jn=jt-on,Tn=ht($n,bn),Nn=Math.exp(-Rn);return Le-jn/Tn*Nn},Ln=$n=>{const Rn=$n*bn*ze,jn=Rn*on+on,Tn=Math.pow(bn,2)*Math.pow($n,2)*ze,Nn=Math.exp(-Rn),cn=ht(Math.pow($n,2),bn);return(-Yn($n)+Le>0?-1:1)*((jn-Tn)*Nn)/cn}):(Yn=$n=>{const jt=Math.exp(-$n*ze),Rn=($n-on)*ze+1;return-Le+jt*Rn},Ln=$n=>{const jt=Math.exp(-$n*ze),Rn=(on-$n)*(ze*ze);return jt*Rn});const ir=5/ze,Zn=Fe(Yn,Ln,ir);if(ze=I(ze),isNaN(Zn))return{stiffness:ye.stiffness,damping:ye.damping,duration:ze};{const $n=Math.pow(Zn,2)*Pn;return{stiffness:$n,damping:bn*2*Math.sqrt(Pn*$n),duration:ze}}}const Xe=12;function Fe(ze,It,on){let Pn=on;for(let Yn=1;Yn<Xe;Yn++)Pn=Pn-ze(Pn)/It(Pn);return Pn}function ht(ze,It){return ze*Math.sqrt(1-It*It)}const Ne=["duration","bounce"],Ce=["stiffness","damping","mass"];function we(ze,It){return It.some(on=>ze[on]!==void 0)}function $e(ze){let It={velocity:ye.velocity,stiffness:ye.stiffness,damping:ye.damping,mass:ye.mass,isResolvedFromDuration:!1,...ze};if(!we(ze,Ce)&&we(ze,Ne))if(ze.visualDuration){const on=ze.visualDuration,Pn=2*Math.PI/(on*1.2),Yn=Pn*Pn,Ln=2*z(.05,1,1-(ze.bounce||0))*Math.sqrt(Yn);It={...It,mass:ye.mass,stiffness:Yn,damping:Ln}}else{const on=Ue(ze);It={...It,...on,mass:ye.mass},It.isResolvedFromDuration=!0}return It}function Ot(ze=ye.visualDuration,It=ye.bounce){const on=typeof ze!="object"?{visualDuration:ze,keyframes:[0,1],bounce:It}:ze;let{restSpeed:Pn,restDelta:Yn}=on;const Ln=on.keyframes[0],bn=on.keyframes[on.keyframes.length-1],ir={done:!1,value:Ln},{stiffness:Zn,damping:$n,mass:jt,duration:Rn,velocity:jn,isResolvedFromDuration:Tn}=$e({...on,velocity:-L(on.velocity||0)}),Nn=jn||0,cn=$n/(2*Math.sqrt(Zn*jt)),or=bn-Ln,qn=L(Math.sqrt(Zn/jt)),Hr=Math.abs(or)<5;Pn||(Pn=Hr?ye.restSpeed.granular:ye.restSpeed.default),Yn||(Yn=Hr?ye.restDelta.granular:ye.restDelta.default);let fo;if(cn<1){const ro=ht(qn,cn);fo=Xt=>{const Je=Math.exp(-cn*qn*Xt);return bn-Je*((Nn+cn*qn*or)/ro*Math.sin(ro*Xt)+or*Math.cos(ro*Xt))}}else if(cn===1)fo=ro=>bn-Math.exp(-qn*ro)*(or+(Nn+qn*or)*ro);else{const ro=qn*Math.sqrt(cn*cn-1);fo=Xt=>{const Je=Math.exp(-cn*qn*Xt),At=Math.min(ro*Xt,300);return bn-Je*((Nn+cn*qn*or)*Math.sinh(At)+ro*or*Math.cosh(At))/ro}}const Jr={calculatedDuration:Tn&&Rn||null,next:ro=>{const Xt=fo(ro);if(Tn)ir.done=ro>=Rn;else{let Je=ro===0?Nn:0;cn<1&&(Je=ro===0?I(Nn):He(fo,ro,Xt));const At=Math.abs(Je)<=Pn,xt=Math.abs(bn-Xt)<=Yn;ir.done=At&&xt}return ir.value=ir.done?bn:Xt,ir},toString:()=>{const ro=Math.min(ae(Jr),_e),Xt=ie(Je=>Jr.next(ro*Je).value,ro,30);return ro+"ms "+Xt},toTransition:()=>{}};return Jr}Ot.applyToOptions=ze=>{const It=ge(ze,100,Ot);return ze.ease=It.ease,ze.duration=I(It.duration),ze.type="keyframes",ze};var Pt=e(412166),Ie=e(881707),Bt=e(719484),mt=["isComplete","isActive","onClick","text"],rt=(0,f.forwardRef)((ze,It)=>{var on=ze.isComplete,Pn=on===void 0?!1:on,Yn=ze.isActive,Ln=Yn===void 0?!1:Yn,bn=ze.onClick,ir=ze.text,Zn=ir===void 0?"":ir,$n=c()(ze,mt),jt=()=>Ln?"fg.default":Pn?"fg.muted":"fg.disabled";return f.createElement(Pt.Z,{alignItems:"center",gap:2,justifyContent:"center"},f.createElement(Ie.Z,o()({ref:It,bg:Pn?"fg.onStrong":"fg.disabled",border:Pn||Ln?1:0,borderColor:Pn?"border.strong":"",borderRadius:"circle",size:"sizes.75"},$n)),Zn&&f.createElement(Bt.Z.Body,{color:jt(),css:{transitionDuration:"150ms",transitionProperty:"color",transitionTimingFunction:"ease-in-out"},fontWeight:"medium",transitionDuration:"200",transitionProperty:"color",transitionTimingFunction:"ease-in-out"},Zn))});rt.displayName="Step";var ce=["currentStep","setCurrentStep","children","stepPositions"],Re=ze=>{var It=ze.currentStep,on=ze.setCurrentStep,Pn=ze.children,Yn=ze.stepPositions,Ln=c()(ze,ce),bn=(0,f.useState)(It??{position:0}),ir=a()(bn,2),Zn=ir[0],$n=ir[1],jt=(0,f.useState)(),Rn=a()(jt,2),jn=Rn[0],Tn=Rn[1],Nn=(0,f.useRef)(new Array(Yn.length).fill(null)),cn=H(),or=a()(cn,2),qn=or[0],Hr=or[1],fo=It??Zn,Jr=on??$n;(0,f.useEffect)(()=>{var Xt=()=>{var Je=fo.position-1;if(jn&&Nn.current[Je]){var At=jn.getBoundingClientRect(),xt=Nn.current[Je].getBoundingClientRect(),Qt=xt.width/2,qt=11.5,Te=xt.left-At.left-(Qt+qt);Hr(qn.current,{transform:"translateX(".concat(Te,"px)")},{type:Ot,stiffness:175,damping:24})}};return Yn.forEach((Je,At)=>{if(Nn.current[At]){var xt;(xt=Nn.current[At])===null||xt===void 0||xt.addEventListener("transitionend",Xt)}}),Xt(),window.addEventListener("resize",Xt),()=>{window.removeEventListener("resize",Xt)}},[Hr,jn,qn,fo,Yn]);var ro=Xt=>{Jr({position:Xt+1})};return f.createElement(Pt.Z,o()({ref:Tn,alignItems:"baseline",flexShrink:0,gap:2,position:"relative",zIndex:0},Ln),f.createElement(Ie.Z,{ref:qn,bg:"bg.strong",borderRadius:1,height:"sizes.75",position:"absolute",width:"sizes.200"}),Yn.map((Xt,Je)=>{var At,xt=fo.position-1;return f.createElement(rt,{key:Xt.position,ref:Qt=>Nn.current[Je]=Qt,"aria-label":(At=Xt.text)!==null&&At!==void 0?At:"Step ".concat(Je+1),isActive:Je===xt,isComplete:Je<=xt,mx:Je===xt?3:0,onClick:()=>ro(Je),transitionDuration:"150",transitionProperty:"margin, background-color, border",transitionTimingFunction:"ease-in-out"})}))},nt=["currentStep","setCurrentStep","children","stepPositions"],st=ze=>{var It=ze.currentStep,on=ze.setCurrentStep,Pn=ze.children,Yn=ze.stepPositions,Ln=c()(ze,nt),bn=(0,f.useState)(It??{position:0}),ir=a()(bn,2),Zn=ir[0],$n=ir[1],jt=(0,f.useState)(),Rn=a()(jt,2),jn=Rn[0],Tn=Rn[1],Nn=(0,f.useRef)(new Array(Yn.length).fill(null)),cn=H(),or=a()(cn,2),qn=or[0],Hr=or[1],fo=It??Zn,Jr=on??$n;(0,f.useEffect)(()=>{var Xt=()=>{var Je=fo.position-1;if(jn&&Nn.current[Je]){var At=jn.getBoundingClientRect(),xt=Nn.current[Je].getBoundingClientRect(),Qt=xt.height/2,qt=10.5,Te=xt.top-At.top-(Qt+qt);Hr(qn.current,{transform:"translateY(".concat(Te,"px)")},{type:Ot,stiffness:225,damping:20})}};return Xt(),window.addEventListener("resize",Xt),()=>{window.removeEventListener("resize",Xt)}},[Hr,jn,qn,fo,Yn]);var ro=Xt=>{Jr({position:Xt+1})};return f.createElement(Pt.Z,o()({ref:Tn,alignItems:"baseline",flexDirection:"column",gap:4,position:"relative",zIndex:0},Ln),f.createElement(Ie.Z,{ref:qn,bg:"bg.strong",borderRadius:1,height:"33px",position:"absolute",width:"4px"}),Yn.map((Xt,Je)=>{var At,xt=fo.position-1;return f.createElement(rt,{key:Xt.position,ref:Qt=>Nn.current[Je]=Qt,"aria-label":(At=Xt.text)!==null&&At!==void 0?At:"Step ".concat(Je+1),isActive:Je===xt,isComplete:Je<=xt,onClick:()=>ro(Je),opacity:Je===xt?0:1,text:Xt.text,transitionDuration:"150",transitionProperty:"background-color, border, opacity",transitionTimingFunction:"ease-in-out"})}))},vt={Horizontal:Re,Vertical:st}},506209:function(b,l,e){"use strict";e.d(l,{Z:()=>W});var r=e(737968),o=e.n(r),n=e(642979),a=e.n(n),i=e(160553),c=e.n(i),u=e(392338),f=e(174161),d=e(327836),h=e(719484),g=e(881707),_=e(579531),p=e(75902),y=e(944545),O=e(471184),P=e(938408),C=e(47932),A=e(711900),S=["className","label","value","htmlAttributes","isDisabled","sx","onFocus","onBlur"],T=["className","dataField","htmlAttributes","onMouseEnter","options","fitted","overflow"];function s(F,G){var k=Object.keys(F);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(F);G&&(x=x.filter(function(M){return Object.getOwnPropertyDescriptor(F,M).enumerable})),k.push.apply(k,x)}return k}function v(F){for(var G=1;G<arguments.length;G++){var k=arguments[G]!=null?arguments[G]:{};G%2?s(Object(k),!0).forEach(function(x){a()(F,x,k[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(k)):s(Object(k)).forEach(function(x){Object.defineProperty(F,x,Object.getOwnPropertyDescriptor(k,x))})}return F}var m=O.Z.Button(P.sx),E=(0,_.q)((F,G)=>{var k=(0,C.F)();return f.createElement(m,c()({ref:G,theme:k},F))});E.displayName="TabsRawButton";var I=2;class L extends f.Component{constructor(){super(...arguments),a()(this,"activeRef",null),a()(this,"tabHeight",0),a()(this,"tabButtonRefs",[]),a()(this,"groupName",(0,p.Z)("TabsField")),a()(this,"state",{indicatorLeft:0,indicatorWidth:0,isFocusVisible:!1}),a()(this,"updateIndicatorPosition",()=>{var G,k=this.props.value;if(k===null||!((G=this.activeRef)!==null&&G!==void 0&&G.parentElement))return this.setState({indicatorLeft:0,indicatorWidth:0});this.setState({indicatorLeft:this.activeRef.parentElement.offsetLeft,indicatorWidth:this.activeRef.parentElement.offsetWidth})}),a()(this,"createHandleFocus",G=>k=>{typeof G=="function"&&G(k),"focusVisibleAdded"in k.target.dataset?this.setState({isFocusVisible:!0}):this.setState({isFocusVisible:!1})}),a()(this,"createHandleBlur",G=>k=>{typeof G=="function"&&G(k),this.setState({isFocusVisible:!1})}),a()(this,"findNextTab",G=>{for(var k=this.props.options,x=G+1;x<k.length;x++)if(!k[x].isDisabled)return x;for(var M=0;M<G;M++)if(!k[M].isDisabled)return M;return G}),a()(this,"findPreviousTab",G=>{for(var k=this.props.options,x=G-1;x>=0;x--)if(!k[x].isDisabled)return x;for(var M=k.length-1;M>=G;M--)if(!k[M].isDisabled)return M;return G}),a()(this,"handleKeyDown",G=>{var k=this.props,x=k.onChange,M=k.options,B=k.value,R=G.key,U=M.findIndex(ee=>ee.value===B);if(R==="ArrowRight"){var j=this.findNextTab(U);x==null||x(M[j].value),this.tabButtonRefs[j].focus()}if(R==="ArrowLeft"){var $=this.findPreviousTab(U);x==null||x(M[$].value),this.tabButtonRefs[$].focus()}}),a()(this,"getAriaLabel",G=>{var k=G["aria-label"],x=G.ariaLabel,M=G.label;if(typeof k=="string")return k;if(typeof x=="string")return x;if(typeof M=="string")return M}),a()(this,"getTabLabel",(G,k)=>{if(typeof G=="function")return G(k);if(f.isValidElement(G))return f.cloneElement(G,{color:k});if(typeof G=="string")return f.createElement(h.Z.Body,{as:"span",color:k,fontWeight:"medium"},G)}),a()(this,"renderTab",(G,k)=>{var x=this.props,M=x.fitted,B=x.onChange,R=x.value,U=G.className,j=G.label,$=G.value,ee=G.htmlAttributes,te=G.isDisabled,ie=G.sx,ne=ie===void 0?{}:ie,pe=G.onFocus,oe=G.onBlur,q=o()(G,S),J=$===R,me=J?"gray.100":"gray.300",re=te?"gray.600":me,he=this.getAriaLabel(G);return f.createElement(g.Z,c()({},ee,q,{key:$,className:U,color:re,css:{flex:M?1:"initial",hyphens:M?"auto":"manual",wordWrap:M?"break-word":"normal"},display:"inline-flex",mr:M?void 0:3,pl:M?1:void 0,position:"relative",pr:M?1:void 0,sx:v(v({},ne),{},{minHeight:"sizes.300",fontSize:3,justifyContent:"center",alignItems:"center",textAlign:"center",outline:"none","*":{transitionProperty:"all",transitionTimingFunction:"product-default",transitionDuration:200},"& svg":{fill:re},"&:hover":{"& *":{color:!te&&"gray.100",fill:!te&&"gray.100"}}})}),f.createElement(E,{ref:Ee=>{J&&(this.activeRef=Ee,this.tabHeight=Ee==null?void 0:Ee.clientHeight),this.tabButtonRefs[k]=Ee},"aria-label":he,"aria-selected":J,disabled:te,id:"tab_".concat($),name:this.groupName,onBlur:this.createHandleBlur(oe),onClick:()=>{B==null||B($)},onFocus:this.createHandleFocus(pe),onKeyDown:this.handleKeyDown,role:"tab",sx:{backgroundColor:"inherit",border:"none",boxSizing:"border-box",cursor:"pointer",height:"100%",margin:0,outline:"none",padding:0,width:"100%","&:disabled":{cursor:"not-allowed"}},tabIndex:J?0:-1,type:"button",value:$},this.getTabLabel(j,re)))})}componentDidMount(){this.updateTimer=window.setTimeout(this.updateIndicatorPosition)}componentWillUnmount(){clearTimeout(this.updateTimer)}componentDidUpdate(G){G.value!==this.props.value&&this.updateIndicatorPosition()}renderIndicator(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,k=this.state,x=k.indicatorWidth,M=k.indicatorLeft;return x?this.activeRef&&f.createElement(C.Z.Consumer,null,B=>f.createElement(g.Z,{bg:"gray.100",border:B.borders[1],borderColor:"gray.100",bottom:G?"".concat(2*I,"px"):"0",height:"sizes.50",left:"".concat(M,"px"),position:"absolute",transitionDuration:350,transitionProperty:"all",transitionTimingFunction:"product.default",width:x})):null}renderFocusState(){var G=this.state,k=G.indicatorWidth,x=G.indicatorLeft,M=G.isFocusVisible;return k?this.activeRef&&M&&f.createElement(C.Z.Consumer,null,B=>f.createElement(g.Z,{height:"".concat(this.tabHeight,"px"),left:"".concat(x,"px"),position:"absolute",sx:{outline:B.borders[2],outlineColor:"gray.100",outlineOffset:"".concat(I,"px")},transitionDuration:350,transitionProperty:"all",transitionTimingFunction:"product.default",width:"".concat(k,"px")})):null}render(){var G=this.props,k=G.className,x=G.dataField,M=G.htmlAttributes,B=G.onMouseEnter,R=G.options,U=G.fitted,j=G.overflow,$=o()(G,T),ee=j&&!U,te=ee?A.Z:g.Z;return f.createElement(te,c()({},(0,y.Z)($),M,{"aria-owns":R.map(ie=>"tab_".concat(ie.value)).join(" "),boxSizing:"border-box",className:k,"data-field":x,display:"flex",id:this.groupName,onMouseEnter:B,position:"relative",role:"tablist",sx:{"&:before":{backgroundColor:"gray.800",bottom:ee?"".concat(2*I,"px"):"0px",content:'""',height:"1px",left:"0",position:"absolute",width:"100%"}}},ee&&{listElements:this.tabButtonRefs,m:"0 -".concat(2*I,"px"),p:"".concat(2*I,"px"),containerProps:{height:"95%"}}),R.map((ie,ne)=>this.renderTab(ie,ne)),this.renderFocusState(),this.renderIndicator(ee))}}const W=L},210679:function(b,l,e){"use strict";e.d(l,{Z:()=>q});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(174161),c=e(392338),u=e(642979),f=e.n(u),d=e(881707),h=e(719484),g=e(412166),_=e(305170),p=e(47932),y=e(279523),O=e(471184),P=e(688720),C=e(481103),A=e(938408),S=e(199946),T=e(358485),s=["size"],v=J=>{var me=J.size,re=a()(J,s);return(0,y.b)(re)},m=O.Z.TextInput((0,P.Z)(C.C,A.$_,v,S.Dh,T.c,A.sx,A.iv)),E=m;const I=E;var L=["disabled","onChange","sx","color","type"];function W(J,me){var re=Object.keys(J);if(Object.getOwnPropertySymbols){var he=Object.getOwnPropertySymbols(J);me&&(he=he.filter(function(Ee){return Object.getOwnPropertyDescriptor(J,Ee).enumerable})),re.push.apply(re,he)}return re}function F(J){for(var me=1;me<arguments.length;me++){var re=arguments[me]!=null?arguments[me]:{};me%2?W(Object(re),!0).forEach(function(he){f()(J,he,re[he])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(re)):W(Object(re)).forEach(function(he){Object.defineProperty(J,he,Object.getOwnPropertyDescriptor(re,he))})}return J}var G=(0,i.forwardRef)((J,me)=>{var re=J.disabled,he=re===void 0?!1:re,Ee=J.onChange,fe=J.sx,H=J.color,z=H===void 0?"gray.100":H,_e=J.type,ae=_e===void 0?"text":_e,ge=a()(J,L),Be=(0,p.F)(),Ke=Be.colors;return i.createElement(I,o()({ref:me,bg:"transparent",border:"none",color:z,disabled:he,fontSize:3,onChange:He=>{Ee==null||Ee(He.target.value,He)},pl:1,pr:1,sx:F({"&:focus":{outline:"2px solid",outlineColor:"gray.100",backgroundColor:"gray.900"},'&[type="search"]::-webkit-search-cancel-button':{display:"none"},caretColor:Ke.gray[100],"&::placeholder":{color:"gray.500"},"&:disabled":{WebkitTextFillColor:"gray.600",color:"gray.600",cursor:"not-allowed",opacity:1},flex:1,fontFamily:"ui",lineHeight:2},fe),type:ae},ge))});G.displayName="TextFieldInput";const k=G;var x=["error","errorText","interiorPost","interiorPre","helperText","label","labelPlacement","successText","sx","inputProps"];function M(J,me){var re=Object.keys(J);if(Object.getOwnPropertySymbols){var he=Object.getOwnPropertySymbols(J);me&&(he=he.filter(function(Ee){return Object.getOwnPropertyDescriptor(J,Ee).enumerable})),re.push.apply(re,he)}return re}function B(J){for(var me=1;me<arguments.length;me++){var re=arguments[me]!=null?arguments[me]:{};me%2?M(Object(re),!0).forEach(function(he){f()(J,he,re[he])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(re)):M(Object(re)).forEach(function(he){Object.defineProperty(J,he,Object.getOwnPropertyDescriptor(re,he))})}return J}var R=(0,i.forwardRef)((J,me)=>{var re=J.error,he=re===void 0?!1:re,Ee=J.errorText,fe=J.interiorPost,H=J.interiorPre,z=J.helperText,_e=J.label,ae=J.labelPlacement,ge=ae===void 0?"inline":ae,Be=J.successText,Ke=J.sx,He=J.inputProps,ye=a()(J,x),Le=i.useMemo(()=>{var Ue;return(Ue=He==null?void 0:He.id)!==null&&Ue!==void 0?Ue:(0,_.Z)()},[He==null?void 0:He.id]);return i.createElement(d.Z,o()({ref:me,sx:B({cursor:He!=null&&He.disabled?"not-allowed":"text"},Ke)},ye),i.createElement(d.Z,{borderBottom:1,borderBottomColor:he||Ee?"red.300":"gray.800",display:"block",mb:1,position:"relative",sx:{"&:focus-within:after":{animation:"growAnimation .25s ease-out",backgroundColor:"gray.100",boxSizing:"border-box",content:'""',height:"2px",position:"absolute",width:"100%",bottom:"-1px",outline:"1px solid transparent",outlineOffset:"-1px","@keyframes growAnimation":{from:{width:"0"},to:{width:"100%"}}}}},ge==="top"&&i.createElement(h.Z.Label,{color:"gray.300",htmlFor:Le,pb:1,sx:{cursor:He!=null&&He.disabled?"not-allowed":"text"}},_e),i.createElement(g.Z,{alignItems:"center",minHeight:"sizes.250",py:2,sx:{lineHeight:1,"&:focus-within":{outline:"2px solid transparent",outlineOffset:"2px"}}},H&&i.createElement(d.Z,{pr:1},H),ge==="inline"&&i.createElement(h.Z.Body,{as:"label",color:"gray.100",htmlFor:Le,maxWidth:"max-content",mr:1,sx:{cursor:He!=null&&He.disabled?"not-allowed":"text"},width:"100%"},_e),i.createElement(k,o()({"aria-describedby":"desc-"+Le,"aria-invalid":he||!!Ee,id:Le,px:0,sx:B({"&:focus":{outline:"none"}},He==null?void 0:He.sx),textAlign:ge==="top"?"left":"right",width:"100%"},He)),fe&&i.createElement(d.Z,{ml:1},fe))),i.createElement(g.Z,{flexDirection:"column",id:"desc-"+Le},Ee&&i.createElement(h.Z.Caption,{color:"red.300"},Ee),Be&&i.createElement(h.Z.Caption,{color:"green.300"},Be),z&&i.createElement(h.Z.Caption,null,z)))});R.displayName="TextFieldCell";const U=R;var j=["error","errorText","interiorPost","helperText","interiorPre","label","labelPlacement","successText","sx","inputProps"];function $(J,me){var re=Object.keys(J);if(Object.getOwnPropertySymbols){var he=Object.getOwnPropertySymbols(J);me&&(he=he.filter(function(Ee){return Object.getOwnPropertyDescriptor(J,Ee).enumerable})),re.push.apply(re,he)}return re}function ee(J){for(var me=1;me<arguments.length;me++){var re=arguments[me]!=null?arguments[me]:{};me%2?$(Object(re),!0).forEach(function(he){f()(J,he,re[he])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(re)):$(Object(re)).forEach(function(he){Object.defineProperty(J,he,Object.getOwnPropertyDescriptor(re,he))})}return J}var te=(0,i.forwardRef)((J,me)=>{var re=J.error,he=re===void 0?!1:re,Ee=J.errorText,fe=J.interiorPost,H=J.helperText,z=J.interiorPre,_e=J.label,ae=J.labelPlacement,ge=ae===void 0?"top":ae,Be=J.successText,Ke=J.sx,He=J.inputProps,ye=a()(J,j),Le=i.useMemo(()=>{var Ue;return(Ue=He==null?void 0:He.id)!==null&&Ue!==void 0?Ue:(0,_.Z)()},[He==null?void 0:He.id]);return i.createElement(d.Z,o()({ref:me,sx:ee({cursor:He!=null&&He.disabled?"not-allowed":"text"},Ke)},ye),ge==="top"&&i.createElement(h.Z.Label,{color:"gray.300",htmlFor:Le,lineHeight:"1.5",pb:1,sx:{cursor:He!=null&&He.disabled?"not-allowed":"text"}},_e),i.createElement(g.Z,{alignItems:"center",backgroundColor:"gray.900",justifyContent:"space-between",mb:1,minHeight:"sizes.250",p:2,sx:ee(ee({},(he||Ee)&&{outline:"1px solid",outlineColor:"red.300"}),{},{"&:focus-within":{outline:"2px solid",outlineColor:"gray.100"},lineHeight:1})},z&&i.createElement(d.Z,{pr:1},z),ge==="inline"&&i.createElement(h.Z.Body,{as:"label",color:"gray.100",htmlFor:Le,maxWidth:"max-content",mr:1,sx:{cursor:He!=null&&He.disabled?"not-allowed":"text"},width:"100%"},_e),i.createElement(k,o()({"aria-describedby":"desc-"+Le,"aria-invalid":he||!!Ee,id:Le,px:0,sx:ee({"&:focus":{outline:"none"}},He==null?void 0:He.sx),textAlign:ge==="inline"?"right":"left",width:"100%"},He)),fe&&i.createElement(d.Z,{ml:1},fe)),i.createElement(g.Z,{flexDirection:"column",id:"desc-"+Le},Ee?i.createElement(h.Z.Caption,{color:"red.300"},Ee):null,Be?i.createElement(h.Z.Caption,{color:"green.300"},Be):null,H?i.createElement(h.Z.Caption,null,H):null))});te.displayName="TextFieldFloating";const ie=te;var ne=["appearance"],pe=(0,i.forwardRef)((J,me)=>{var re=J.appearance,he=a()(J,ne);switch(re){case"cell":return i.createElement(U,o()({ref:me},he));case"default":default:return i.createElement(ie,o()({ref:me},he))}});pe.displayName="TextField";const q=Object.assign(pe,{Input:k})},8483:function(b,l,e){"use strict";e.d(l,{Z:()=>B});var r=e(392338),o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(737968),u=e.n(c),f=e(174161),d=e(47932),h=e(860921),g=e.n(h),_=e(322533),p=e(881121),y=e(279523),O=e(471184),P=e(688720),C=e(481103),A=e(938408),S=e(962743),T=e(199946),s=e(358485),v=["size"],m=R=>{var U=R.size,j=u()(R,v);return(0,y.b)(j)},E=O.Z.TextInput((0,P.Z)(C.C,A.$_,S.GQ,m,T.Dh,s.c,A.sx,A.iv));const I=E;var L={bg:"transparent",flex:1,fontFamily:"ui",lineHeight:2,padding:0};const W=L;var F=["disabled","isDisabled","onChange","textAlign","sx","id"];function G(R,U){var j=Object.keys(R);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(R);U&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(R,ee).enumerable})),j.push.apply(j,$)}return j}function k(R){for(var U=1;U<arguments.length;U++){var j=arguments[U]!=null?arguments[U]:{};U%2?G(Object(j),!0).forEach(function($){i()(R,$,j[$])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(j)):G(Object(j)).forEach(function($){Object.defineProperty(R,$,Object.getOwnPropertyDescriptor(j,$))})}return R}var x=(0,f.forwardRef)((R,U)=>{var j,$=R.disabled,ee=R.isDisabled,te=R.onChange,ie=te===void 0?g():te,ne=R.textAlign,pe=ne===void 0?"left":ne,oe=R.sx,q=R.id,J=u()(R,F),me=(0,d.F)(),re=me.colors,he=(0,f.useContext)(p.g.Context),Ee=he.disabled,fe=he.descriptionIds,H=he.addInputId,z=(j=ee??$)!==null&&j!==void 0?j:Ee,_e=(0,_.Z)(H,q);return f.createElement(I,n()({ref:U,"aria-describedby":fe,color:"gray.100",disabled:z,fontSize:{_:3,"mobile-*":4},id:_e,onChange:ae=>{ie(ae.target.value,ae)},textAlign:pe},W,{border:"none",sx:k({"&:focus":{outline:"none"},"&::-ms-clear":{display:"none"},'&[type="search"]::-webkit-search-cancel-button':{display:"none"},caretColor:"black","&::placeholder":{color:"gray.500"},"&:disabled":{WebkitTextFillColor:re.gray[600],color:re.gray[600],cursor:"not-allowed",opacity:1}},oe)},J))});x.displayName="TextInput";const B=x},247509:function(b,l,e){"use strict";e.d(l,{Z:()=>C});var r=e(392338),o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(737968),u=e.n(c),f=e(174161),d=e(719484),h=["href","children","textStyle","sx"];function g(A,S){var T=Object.keys(A);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(A);S&&(s=s.filter(function(v){return Object.getOwnPropertyDescriptor(A,v).enumerable})),T.push.apply(T,s)}return T}function _(A){for(var S=1;S<arguments.length;S++){var T=arguments[S]!=null?arguments[S]:{};S%2?g(Object(T),!0).forEach(function(s){i()(A,s,T[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(T)):g(Object(T)).forEach(function(s){Object.defineProperty(A,s,Object.getOwnPropertyDescriptor(T,s))})}return A}var p=(0,f.forwardRef)((A,S)=>{var T=A.href,s=A.children,v=A.textStyle,m=A.sx,E=u()(A,h);return f.createElement(d.Z,n()({ref:S,as:"a",display:"inline",href:T,textStyle:v},E,{sx:_(_({color:"inherit",cursor:"pointer",textDecoration:"underline",borderBottom:0},m),{},{"&:visited":_({textDecoration:"underline",color:"gray.300"},m==null?void 0:m["&:visited"]),"&:focus":_({outline:2,outlineOffset:"2px",outlineColor:"currentColor",color:"gray.200"},m==null?void 0:m["&:focus"]),"&:focus:not(:focus-visible)":{outline:"none"},"&:hover":_({textDecoration:"none",color:"gray.200"},m==null?void 0:m["&:hover"])})}),s)});p.displayName="TextLink";const y=p;var O=e(251156),P=A=>{var S=(0,O.Q)(),T=S.t;return f.createElement("span",n()({"aria-label":T("(Opens external site)",{},{project:"rosetta-elements"})},A),"\u2197")};const C=Object.assign(y,{ExternalLink:P})},222831:function(b,l,e){"use strict";e.d(l,{Z:()=>F});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(642979),c=e.n(i),u=e(680180),f=e.n(u),d=e(392338),h=e(174161),g=e(47932),_=e(461761),p=e.n(_),y=e(700436),O=e.n(y),P=e(942085),C=e(322533),A=e(881121),S=e(8483),T=["id","isDisabled","maxHeight","rows"];function s(G,k){var x=Object.keys(G);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(G);k&&(M=M.filter(function(B){return Object.getOwnPropertyDescriptor(G,B).enumerable})),x.push.apply(x,M)}return x}function v(G){for(var k=1;k<arguments.length;k++){var x=arguments[k]!=null?arguments[k]:{};k%2?s(Object(x),!0).forEach(function(M){c()(G,M,x[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(x)):s(Object(x)).forEach(function(M){Object.defineProperty(G,M,Object.getOwnPropertyDescriptor(x,M))})}return G}var m=G=>G==="id"||G.startsWith("aria-")||G.startsWith("data-"),E=G=>Object.entries(G).reduce((k,x)=>{var M=f()(x,2),B=M[0],R=M[1];return k[B]=m(B)?null:R,k},{}),I=(G,k)=>{var x=k.width,M=k.ref;return h.cloneElement(G,v(v({},E(G.props)),{},{"data-test":"rosetta-textarea-shadow-element",ref:M,tabIndex:-1,style:v(v({},G.props.style),{},{width:x,height:0,visibility:"hidden",position:"absolute",overflow:"hidden",top:0,left:0,transform:"translateZ(0)"})}))},L=(0,h.forwardRef)((G,k)=>{var x=G.id,M=G.isDisabled,B=G.maxHeight,R=B===void 0?Number.MAX_SAFE_INTEGER:B,U=G.rows,j=a()(G,T),$=(0,g.F)(),ee=$.sizes,te=h.useState(null),ie=f()(te,2),ne=ie[0],pe=ie[1],oe=h.createRef(),q=h.useState(0),J=f()(q,2),me=J[0],re=J[1],he=h.useState(0),Ee=f()(he,2),fe=Ee[0],H=Ee[1],z=(0,P.Z)(k,pe),_e=(0,h.useContext)(A.g.Context),ae=_e.addInputId,ge=_e.descriptionIds,Be=_e.disabled,Ke=M??Be,He=(0,C.Z)(ae,x);(0,h.useLayoutEffect)(()=>{var Ue=p()(oe,"current.scrollHeight"),Xe=p()(ne,"current.offsetWidth")||p()(ne,"offsetWidth");Ue&&re(Ue),Xe&&H(Xe)},[ne,oe]);var ye=(0,h.useMemo)(()=>O()(me,0,parseFloat(p()(ee,"".concat(R),"".concat(R)))),[me,R,ee]),Le=h.createElement(S.Z,o()({ref:z,"aria-describedby":ge,as:"textarea",css:v({overflow:U?"auto":me<=ye&&"hidden",resize:"none"},j.css),disabled:Ke,height:U?"auto":ye,id:He,rows:U},j));return h.createElement(h.Fragment,null,Le,I(Le,{width:fe,ref:oe}))});L.displayName="TextArea";const F=L},544049:function(b,l,e){"use strict";e.d(l,{Z:()=>J});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(642979),c=e.n(i),u=e(392338),f=e(174161),d=e(233284),h=e(881707),g=e(412166),_=e(997803),p=e(47932),y=e(18724),O=me=>{var re=me.theme,he=me.children,Ee=re||y.rosetta.darkest;return f.createElement(p.Z.Provider,{theme:Ee},he)};const P=O;function C(me,re){var he=Object.keys(me);if(Object.getOwnPropertySymbols){var Ee=Object.getOwnPropertySymbols(me);re&&(Ee=Ee.filter(function(fe){return Object.getOwnPropertyDescriptor(me,fe).enumerable})),he.push.apply(he,Ee)}return he}function A(me){for(var re=1;re<arguments.length;re++){var he=arguments[re]!=null?arguments[re]:{};re%2?C(Object(he),!0).forEach(function(Ee){c()(me,Ee,he[Ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(me,Object.getOwnPropertyDescriptors(he)):C(Object(he)).forEach(function(Ee){Object.defineProperty(me,Ee,Object.getOwnPropertyDescriptor(he,Ee))})}return me}var S=0,T=Date.now(),s=()=>{var me=S;return S+=1,"".concat(T,"-").concat(me)};class v extends f.Component{constructor(){super(...arguments),c()(this,"state",{queue:[]}),c()(this,"add",re=>{var he,Ee=typeof re=="function"?{children:re,id:s()}:A(A({},re),{},{id:(he=re.id)!==null&&he!==void 0?he:s()});this.setState(fe=>{var H=fe.queue,z=H.map(ae=>ae.id).indexOf(Ee.id),_e=H.concat();return z!==-1?_e.splice(z,1,Ee):_e.push(Ee),{queue:_e}})}),c()(this,"pop",re=>{this.setState(he=>{var Ee=he.queue;return{queue:Ee.filter(fe=>{var H=fe.id;return H!==re})}})})}}const m=v;var E=e(680180),I=e.n(E),L=e(425629),W=e(719484),F=e(343701),G=e(341455),k=e(996866),x=e(646263),M=e(854594),B=e(579531),R=e(251156),U=["action","children","content","glyph","css","duration","id","onClose","variant"];function j(me,re){var he=Object.keys(me);if(Object.getOwnPropertySymbols){var Ee=Object.getOwnPropertySymbols(me);re&&(Ee=Ee.filter(function(fe){return Object.getOwnPropertyDescriptor(me,fe).enumerable})),he.push.apply(he,Ee)}return he}function $(me){for(var re=1;re<arguments.length;re++){var he=arguments[re]!=null?arguments[re]:{};re%2?j(Object(he),!0).forEach(function(Ee){c()(me,Ee,he[Ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(me,Object.getOwnPropertyDescriptors(he)):j(Object(he)).forEach(function(Ee){Object.defineProperty(me,Ee,Object.getOwnPropertyDescriptor(he,Ee))})}return me}var ee=me=>{var re=me.remove,he=(0,R.Q)(),Ee=he.t;return f.createElement(L.Z.Element.Icon,{"aria-label":Ee("Close notification",null,{project:"rosetta-elements"}),onClick:re,size:"sizes.175"},f.createElement(F.Z,{color:"gray.100"}))},te=(0,B.q)((me,re)=>{var he=me.action,Ee=he===void 0?ee:he,fe=me.children,H=me.content,z=me.glyph,_e=me.css,ae=me.duration,ge=ae===void 0?4e3:ae,Be=me.id,Ke=me.onClose,He=me.variant,ye=He===void 0?"default":He,Le=a()(me,U),Ue=(0,f.useState)(!0),Xe=I()(Ue,2),Fe=Xe[0],ht=Xe[1],Ne=(0,p.F)(),Ce=Ne.easing,we=Ne.time,$e=Ne.space,Ot=null,Pt={default:{color:"fg.muted",glyph:null},success:{color:"bg.success.strong",glyph:f.createElement(G.Z,{color:"bg.success.strong"})},error:{color:"bg.danger.strong",glyph:f.createElement(k.Z,{color:"bg.danger.strong"})},warning:{color:"bg.warning.strong",glyph:f.createElement(x.Z,{color:"bg.warning.strong"})}},Ie=z??Pt[ye].glyph,Bt=(0,f.useMemo)(()=>({entering:{opacity:0,transform:"translateY(".concat($e[4],")")},entered:{opacity:1,transform:"translateY(".concat($e[0],")")},exiting:{opacity:0,transition:"all ".concat(we[200]," ").concat(Ce.product.exit)},exited:{opacity:0},unmounted:{}}),[Ce,we,$e]),mt=()=>{Ot&&ge!==null&&(clearTimeout(Ot),Ot=null)},rt=Re=>{Re==null||Re.stopPropagation(),ht(!1),mt()},ce=()=>{if(ge!==null){var Re;Ot=(Re=window)===null||Re===void 0?void 0:Re.setTimeout(()=>{rt()},ge)}};return f.createElement(M.ZP,{key:Be,appear:!0,in:Fe,nodeRef:re,onEntered:()=>{mt(),ce()},onExited:()=>{mt(),Be!==void 0&&(Ke==null||Ke(Be))},timeout:{enter:parseInt(we[300],10),exit:parseInt(we[200],10)},unmountOnExit:!0},Re=>f.createElement(g.Z,o()({ref:re,alignItems:"center",alignSelf:"center","aria-live":"polite",backgroundColor:"base",borderTopColor:Pt[ye].color,borderTopStyle:"solid",borderTopWidth:2,css:$($({opacity:0,transition:"all ".concat(we[300]," ").concat(Ce.product.entrance)},Bt[Re]),_e),flexDirection:"row",justifyContent:"space-between",maxWidth:"sizes.800",mb:0,mt:2,mx:3,onMouseEnter:mt,onMouseLeave:ce,position:"relative",px:4,py:3,role:"alert",verticalAlign:"middle",width:"auto"},Le),fe||f.createElement(f.Fragment,null,f.createElement(g.Z,{alignItems:"center",flex:1,gap:2,mr:3},Ie,typeof H=="string"?f.createElement(W.Z.Body,null,H):H),f.createElement(g.Z,{alignItems:"flex-end"},f.createElement(Ee,{remove:rt})))))});te.displayName="Toast";const ie=te;var ne=["id","onClose","children"],pe=["mountAt","theme"];class oe extends m{constructor(){super(...arguments),c()(this,"show",re=>{this.add(re)}),c()(this,"remove",re=>{this.pop(re)}),c()(this,"toastMap",()=>{var re=this.state.queue;return re.map(he=>{var Ee=he.id,fe=he.onClose,H=he.children,z=a()(he,ne);return H?typeof H=="function"?H({remove:()=>this.pop(Ee)}):H:f.createElement(ie,o()({key:Ee,id:Ee,onClose:()=>{this.pop(Ee),fe==null||fe(Ee)}},z,{sx:{pointerEvents:"auto"}}))})})}render(){var re=this.props,he=re.mountAt,Ee=he===void 0?document.body:he,fe=re.theme,H=a()(re,pe);return d.createPortal(f.createElement(P,{theme:fe},f.createElement(_.Z,null,z=>f.createElement(h.Z,o()({bottom:"0",left:"0",position:"fixed",width:"100%",zIndex:z},H),f.createElement(g.Z,{bottom:6,flexDirection:"column",justifyContent:"center",position:"absolute",sx:{pointerEvents:"none"},width:"100%"},this.toastMap())))),Ee)}}const J=Object.assign(ie,{Container:oe})},668100:function(b,l,e){"use strict";e.d(l,{Z:()=>U});var r=e(392338),o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(680180),u=e.n(c),f=e(737968),d=e.n(f),h=e(174161),g=e(412166),_=e(47932),p=e(579531),y=e(942085),O=e(272578),P=e(826788),C=e(688720),A=e(194243),S=e(481103),T=e(938408),s=e(279523),v=e(958112),m=e(99378),E=e(199946),I=e(471184),L=(0,C.Z)(A.O,S.C,T.ix,T.$_,s.b,v.F,m.A,E.Dh,T.sx,T.iv),W=(0,I.Z)("input")(L);const F=W;var G=["value","css","disabled","data-test","checked","defaultChecked","onBlur","onChange","onFocus","tabIndex","readOnly","aria-labelledby","aria-invalid","aria-label","name","inputProps"];function k(j,$){var ee=Object.keys(j);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(j);$&&(te=te.filter(function(ie){return Object.getOwnPropertyDescriptor(j,ie).enumerable})),ee.push.apply(ee,te)}return ee}function x(j){for(var $=1;$<arguments.length;$++){var ee=arguments[$]!=null?arguments[$]:{};$%2?k(Object(ee),!0).forEach(function(te){i()(j,te,ee[te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(j,Object.getOwnPropertyDescriptors(ee)):k(Object(ee)).forEach(function(te){Object.defineProperty(j,te,Object.getOwnPropertyDescriptor(ee,te))})}return j}var M={outline:1,outlineColor:"transparent"},B=(0,p.q)((j,$)=>{var ee=j.value,te=j.css,ie=j.disabled,ne=j["data-test"],pe=j.checked,oe=j.defaultChecked,q=j.onBlur,J=j.onChange,me=j.onFocus,re=j.tabIndex,he=j.readOnly,Ee=j["aria-labelledby"],fe=j["aria-invalid"],H=j["aria-label"],z=j.name,_e=j.inputProps,ae=d()(j,G),ge=(0,_.F)(),Be=ge.sizes,Ke=(0,h.useState)(null),He=u()(Ke,2),ye=He[0],Le=He[1],Ue=(0,y.Z)(Le,$),Xe=(0,O.Z)(ye),Fe=pe?"green.500":"gray.300";ie&&(Fe="gray.600");var ht=parseInt(Be.sizes[125],10)-parseInt(Be.sizes[50],10)*2;return h.createElement(g.Z,n()({alignItems:"center",as:"label",backgroundColor:Fe,borderRadius:"2",boxSizing:"border-box",css:x({cursor:ie?"not-allowed":"pointer",transition:"background-color 300ms cubic-bezier(0.32, 0.94, 0.60, 1)"},te),height:"sizes.125",position:"relative",sx:x(x({},M),Xe&&{outline:2,outlineColor:"gray.100",outlineOffset:"2px"}),width:"sizes.175"},ae),h.createElement(F,n()({ref:Ue,"aria-invalid":fe,"aria-label":H,"aria-labelledby":Ee,backgroundColor:"white",borderRadius:"circle",boxSizing:"border-box",checked:pe,"data-test":ne,"data-toggle-input":!0,defaultChecked:oe,disabled:ie,height:ht,margin:"2px",name:z,onBlur:q,onChange:Ne=>!he&&J&&J(!!Ne.target.checked,Ne),onFocus:me,readOnly:he,tabIndex:re,type:"checkbox",value:ee,width:ht},M,_e,{css:x({"&::-ms-check":{display:"none"},"&:checked":{transform:"translateX(".concat(ht,"px)"),"@media (forced-colors: active)":{outline:"none"}},MozAppearance:"none",WebkitAppearance:"none",cursor:ie?"not-allowed":"pointer",transition:"all 300ms cubic-bezier(0.32, 0.94, 0.60, 1)"},_e==null?void 0:_e.css)})),h.createElement(P.Z,{sx:{display:"none","@media (forced-colors: active)":{"[data-toggle-input]:checked ~  &":{alignSelf:"center",display:"block",zIndex:1}}}}))});B.displayName="Toggle";const U=B},464664:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(174161),c=e(526427),u=["children","className","color","inverted","isDisabled"],f=g=>{var _=g.children,p=g.className,y=g.color,O=y===void 0?"default":y,P=g.inverted,C=P===void 0?!1:P,A=g.isDisabled,S=A===void 0?!1:A,T=a()(g,u);return i.createElement(c.Z,o()({className:p,color:O,inverted:C,isDisabled:S,sx:{"&:focus":{backgroundColor:"transparent",opacity:"0.7"}}},T),_)};const h=f},224353:function(b,l,e){"use strict";e.d(l,{Z:()=>k});var r=e(392338),o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(737968),u=e.n(c),f=e(680180),d=e.n(f),h=e(174161),g=e(233284),_=e(213865),p=e(343701),y=e(412166),O=e(719484),P=e(881707),C=e(885630),A=e(662781),S=e(997803),T=e(705198),s=e(47932),v=["anchor","children","css","delay","isOpen","margin","placement","position","popperConfig","onRequestClose","style"],m=["mountAt"];function E(x,M){var B=Object.keys(x);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(x);M&&(R=R.filter(function(U){return Object.getOwnPropertyDescriptor(x,U).enumerable})),B.push.apply(B,R)}return B}function I(x){for(var M=1;M<arguments.length;M++){var B=arguments[M]!=null?arguments[M]:{};M%2?E(Object(B),!0).forEach(function(R){i()(x,R,B[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(B)):E(Object(B)).forEach(function(R){Object.defineProperty(x,R,Object.getOwnPropertyDescriptor(B,R))})}return x}var L=(x,M)=>{var B=typeof x=="object"?x[M]:x;return B||0},W=(x,M)=>{var B=(0,h.useState)(!1),R=d()(B,2),U=R[0],j=R[1];return(0,h.useEffect)(()=>{var $=setTimeout(()=>{j(M)},L(x,M?"enter":"exit"));return()=>clearTimeout($)},[x,M]),U},F=x=>{var M=x.anchor,B=x.children,R=x.css,U=x.delay,j=U===void 0?0:U,$=x.isOpen,ee=x.margin,te=ee===void 0?11:ee,ie=x.placement,ne=x.position,pe=ne===void 0?"bottom":ne,oe=x.popperConfig,q=x.onRequestClose,J=x.style,me=u()(x,v),re=(0,C.i)(_.breakpoints),he=re.platform,Ee=(0,h.useState)(),fe=d()(Ee,2),H=fe[0],z=fe[1],_e=(0,s.F)(),ae=_e.borders,ge=(0,h.useMemo)(()=>oe||{placement:ie||pe,modifiers:[{name:"offset",options:{offset:[0,te]}}]},[te,ie,oe,pe]),Be=W(j,$),Ke=Be,He=(0,A.D)(M,Ke?H:null,ge),ye=He.styles,Le=He.update;(0,h.useEffect)(()=>{Le&&Be&&Le()},[Be,Le]);var Ue=he!=="desktop"&&q,Xe=Be?{}:{display:"none"},Fe=I(I(I({},ye.popper),J),Xe);return h.createElement(S.Z,null,ht=>h.createElement(y.Z,n()({ref:z,alignItems:"start",bg:"gray.100",boxShadow:2,css:I({maxWidth:"320px",overflow:"hidden",pointerEvents:Ue&&$?"all":"none",position:"fixed",zIndex:ht,outline:ae[1],outlineColor:"transparent"},R),px:3,py:2,role:"tooltip",style:Fe},me),h.createElement(y.Z,{css:{flex:1}},(0,h.isValidElement)(B)&&!(0,T.Z)(B)?B:h.createElement(O.Z.Body,{color:"white",m:0},B)),Ue&&h.createElement(P.Z,{as:"button",bg:"transparent",border:0,cursor:"pointer",ml:2,onClick:q,outline:0,p:0,pointerEvents:"all",position:"relative",right:-4,width:"sizes.150"},h.createElement(p.Z,{color:"gray.300"}))))};const k=x=>{var M=x.mountAt,B=M===void 0?document.body:M,R=u()(x,m);return g.createPortal(h.createElement(F,R),B)}},817936:function(b,l,e){"use strict";e.d(l,{Z:()=>ie});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(174161),c=e(881707),u=e(942085),f=e(642979),d=e.n(f),h=e(392338),g=e(700436),_=e.n(g),p=e(860921),y=e.n(p),O=0,P=i.createContext({ratio:O,setContentRef:y(),setHeaderRef:y(),titleStyle:{},onScroll:y()}),C=ne=>ne?ne.querySelector("[data-transition-header-title]"):null,A=ne=>ne?ne.querySelector("[data-transition-content-title]"):null,S=(ne,pe)=>{var oe=ne.contentOffset,q=ne.threshold,J=pe.contentRef,me=pe.headerRef;if(!J||!me)return pe;var re=C(me);if(!re)return pe;var he=A(J);if(!he)return pe;var Ee=me.getBoundingClientRect(),fe=Ee.bottom,H=Ee.height,z=he.getBoundingClientRect(),_e=z.top,ae=z.height;if(q===void 0||oe===void 0)return pe;var ge=_e+ae*q-fe-oe,Be=re.clientHeight,Ke=Math.floor((H+Be)/2-Be),He=Ke===0?0:_()(-ge/Ke,0,1);return He===pe.ratio&&Ke===pe.maxTranslateY?pe:{ratio:He,maxTranslateY:Ke,forceSmoothTransition:(He===0||He===1)&&Math.abs(pe.ratio-He)>.3}};function T(){var ne=(0,i.useContext)(P),pe=ne.ratio;return{ratio:pe}}class s extends i.Component{constructor(){super(...arguments),d()(this,"state",{forceSmoothTransition:!1,ratio:O}),d()(this,"setContentRef",pe=>{var oe=!0;this.props.preventNullRefs&&(oe=!!pe),oe&&this.setState({contentRef:pe})}),d()(this,"setHeaderRef",pe=>{var oe=!0;this.props.preventNullRefs&&(oe=!!pe),oe&&this.setState({headerRef:pe})}),d()(this,"handleScroll",()=>{var pe=S(this.props,this.state);pe!==this.state&&this.setState(pe)})}static getDerivedStateFromProps(pe,oe){return S(pe,oe)}componentDidMount(){this.reset()}componentDidUpdate(pe,oe){this.state.contentRef!==oe.contentRef&&this.reset()}reset(){this.setState({forceSmoothTransition:!1,ratio:A(this.state.contentRef)?0:1})}render(){var pe=this.props,oe=pe.children,q=pe.isActive;if(!q)return oe;var J=this.state,me=J.ratio,re=J.forceSmoothTransition,he=J.maxTranslateY,Ee=he===void 0?0:he,fe={opacity:me,userSelect:me===0?"none":void 0,transition:re?"transform 200ms ease-in-out, opacity 200ms ease-in-out":void 0,transform:"translateY(".concat((1-me)*(Ee||0),"px)")};return i.createElement(P.Provider,{value:{ratio:me,setContentRef:this.setContentRef,setHeaderRef:this.setHeaderRef,titleStyle:fe,onScroll:this.handleScroll}},oe)}}d()(s,"defaultProps",{contentOffset:0,isActive:!0,preventNullRefs:!0,threshold:.6}),d()(s,"displayName","TitleTransition.Provider");const v=s;var m=["as","children","is"],E=i.forwardRef((ne,pe)=>{var oe=ne.as,q=oe===void 0?c.Z:oe,J=ne.children,me=ne.is,re=a()(ne,m),he=me||q,Ee=i.useContext(P),fe=Ee.onScroll,H=Ee.setContentRef,z=(0,u.Z)(pe,H);return i.createElement(he,o()({},re,{ref:z,onScroll:fe}),J)});E.displayName="TitleTransition.Content";const I=E;var L=e(719484),W=["as","children","is"],F=ne=>i.createElement(L.Z.Title,o()({as:"span"},ne));F.displayName="As";var G=ne=>{var pe=ne.as,oe=pe===void 0?F:pe,q=ne.children,J=ne.is,me=a()(ne,W),re=J||oe;return i.createElement(re,o()({},me,{"data-transition-content-title":!0}),q)};G.displayName="TitleTransition.ContentTitle";const k=G;var x=["as","children","is"],M=ne=>{var pe=ne.as,oe=pe===void 0?c.Z:pe,q=ne.children,J=ne.is,me=a()(ne,x),re=J||oe,he=i.useContext(P),Ee=he.setHeaderRef;return i.createElement(re,o()({},me,{ref:Ee}),q)};M.displayName="TitleTransition.Header";const B=M;var R=["as","children","is","style"];function U(ne,pe){var oe=Object.keys(ne);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(ne);pe&&(q=q.filter(function(J){return Object.getOwnPropertyDescriptor(ne,J).enumerable})),oe.push.apply(oe,q)}return oe}function j(ne){for(var pe=1;pe<arguments.length;pe++){var oe=arguments[pe]!=null?arguments[pe]:{};pe%2?U(Object(oe),!0).forEach(function(q){d()(ne,q,oe[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ne,Object.getOwnPropertyDescriptors(oe)):U(Object(oe)).forEach(function(q){Object.defineProperty(ne,q,Object.getOwnPropertyDescriptor(oe,q))})}return ne}var $=ne=>i.createElement(L.Z.Body,o()({as:"span",fontWeight:"medium"},ne));$.displayName="As";var ee=ne=>{var pe=ne.as,oe=pe===void 0?$:pe,q=ne.children,J=ne.is,me=ne.style,re=a()(ne,R),he=J||oe,Ee=i.useContext(P),fe=Ee.titleStyle;return i.createElement(he,o()({},re,{"data-transition-header-title":!0,style:j(j({},fe),me)}),q)};ee.displayName="TitleTransition.HeaderTitle";const ie={Content:I,ContentTitle:k,Header:B,HeaderTitle:ee,Provider:v,useOffsetRatio:T}},251156:function(b,l,e){"use strict";e.d(l,{Q:()=>a});var r=e(36890),o=e(228856);function n(i){return e(560765)("./rosetta-elements.".concat(i,".yaml"))}function a(){var i=(0,r.Z)(n),c=i.t,u=i.T,f=(0,o.Z)(),d=f.formatDate;return{t:c,T:u,formatDate:d}}},20462:function(b,l,e){"use strict";e.r(l),e.d(l,{ActivityIndicator:()=>r.Z,Divider:()=>f.Z,SegmentedControl:()=>P.Z,BackButton:()=>o.Z,Grid:()=>d.Z,StepIndicator:()=>Dn.O,Tabs:()=>s.Z,TextInput:()=>E.Z,Reveal:()=>O.Z,Cell:()=>i.Z,Card:()=>a.Z,Checkbox:()=>c.Z,ProgressIndicator:()=>y.Z,Toast:()=>qt.Z,OverflowBox:()=>_.Z,TitleTransition:()=>Vt.Z,Modal:()=>g.Z,NumberInput:()=>xt,Tooltip:()=>un.Z,Slider:()=>S.Z,Toggle:()=>Te.Z,Image:()=>h.Z,PopOver:()=>p.Z,Chip:()=>u.Z,TextField:()=>m.Z,Button:()=>n.Z,Stack:()=>T.Z,TextLink:()=>Qt.Z,Skeleton:()=>A.O,ToolbarButton:()=>Gt.Z,Sheet:()=>C.Z,Textarea:()=>v.Z});var r=e(184791),o=e(662613),n=e(526427),a=e(297761),i=e(199025),c=e(414569),u=e(486238),f=e(488609),d=e(954879),h=e(903638),g=e(725538),_=e(711900),p=e(285814),y=e(136382),O=e(905222),P=e(483824),C=e(20561),A=e(782293),S=e(211278),T=e(378638),s=e(506209),v=e(222831),m=e(210679),E=e(8483),I=e(160553),L=e.n(I),W=e(680180),F=e.n(W),G=e(737968),k=e.n(G),x=e(174161),M=e(942085),B=e(881121),R=e(128201),U=e(392338),j=e(642979),$=e.n(j),ee=e(47932),te=e(322533),ie=e(279523),ne=e(471184),pe=e(688720),oe=e(481103),q=e(938408),J=e(962743),me=e(199946),re=e(358485),he=["size"],Ee=Wt=>{var Pe=Wt.size,xe=k()(Wt,he);return(0,ie.b)(xe)},fe=ne.Z.TextInput((0,pe.Z)(oe.C,q.$_,J.GQ,me.Dh,re.c,Ee,q.sx,q.iv));fe.displayName="StyledTextInputControl";const H=fe;var z=["id","sx","disabled","type"];function _e(Wt,Pe){var xe=Object.keys(Wt);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(Wt);Pe&&(Ae=Ae.filter(function(qe){return Object.getOwnPropertyDescriptor(Wt,qe).enumerable})),xe.push.apply(xe,Ae)}return xe}function ae(Wt){for(var Pe=1;Pe<arguments.length;Pe++){var xe=arguments[Pe]!=null?arguments[Pe]:{};Pe%2?_e(Object(xe),!0).forEach(function(Ae){$()(Wt,Ae,xe[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Wt,Object.getOwnPropertyDescriptors(xe)):_e(Object(xe)).forEach(function(Ae){Object.defineProperty(Wt,Ae,Object.getOwnPropertyDescriptor(xe,Ae))})}return Wt}var ge=(0,x.forwardRef)((Wt,Pe)=>{var xe,Ae=Wt.id,qe=Wt.sx,wt=Wt.disabled,kt=Wt.type,ut=kt===void 0?"text":kt,Ft=k()(Wt,z),tn=(0,ee.F)(),In=tn.colors,rr=(0,x.useContext)(B.g.Context),Sr=rr.disabled,Yr=rr.invalid,Pr=rr.descriptionIds,Mn=rr.addInputId,sr=(0,x.useContext)(R.p.Context),Ar=sr.disabled,vr=sr.invalid,qr=(xe=wt??Sr)!==null&&xe!==void 0?xe:Ar,Dr=Yr??vr,eo=(0,te.Z)(Mn,Ae);return x.createElement(H,L()({ref:Pe,"aria-describedby":Pr,"aria-invalid":Dr,backgroundColor:"transparent",border:"none",borderRadius:"2px",color:"fg.default","data-textinput-control":!0,"data-textinput-control-invalid":Dr,disabled:qr,flex:"1",fontFamily:"ui",id:eo,lineHeight:"2",padding:"1",sx:ae(ae({fontSize:{_:3,"mobile-*":4}},qe),{},{"&:hover":ae({backgroundColor:qr?void 0:"bg.default"},qe==null?void 0:qe["&:hover"]),"&:focus":ae({outline:2,outlineColor:"border.strong"},qe==null?void 0:qe["&:focus"]),"[data-textinput-root] &":ae({padding:0,borderRadius:0,"&:focus":{outline:"none"},"&:hover":{backgroundColor:"transparent"}},qe==null?void 0:qe["[data-textinput-root] &"]),"&::-ms-clear":{display:"none"},'&[type="search"]::-webkit-search-cancel-button':{display:"none"},caretColor:"black","&::placeholder":ae({color:"gray.400"},qe==null?void 0:qe["&::placeholder"]),"&:disabled":ae({WebkitTextFillColor:In.gray[600],color:In.gray[600],cursor:"not-allowed",opacity:1},qe==null?void 0:qe["&:disabled"])}),textAlign:"left",type:ut},Ft))});ge.displayName="TextInput.Control";const Be=ge;var Ke=e(412166),He=["children","sx"];function ye(Wt,Pe){var xe=Object.keys(Wt);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(Wt);Pe&&(Ae=Ae.filter(function(qe){return Object.getOwnPropertyDescriptor(Wt,qe).enumerable})),xe.push.apply(xe,Ae)}return xe}function Le(Wt){for(var Pe=1;Pe<arguments.length;Pe++){var xe=arguments[Pe]!=null?arguments[Pe]:{};Pe%2?ye(Object(xe),!0).forEach(function(Ae){$()(Wt,Ae,xe[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Wt,Object.getOwnPropertyDescriptors(xe)):ye(Object(xe)).forEach(function(Ae){Object.defineProperty(Wt,Ae,Object.getOwnPropertyDescriptor(xe,Ae))})}return Wt}var Ue=Wt=>{var Pe=Wt.children,xe=Wt.sx,Ae=k()(Wt,He);return x.createElement(Ke.Z,L()({"data-textinput-group":!0,sx:Le(Le({outline:1,outlineColor:"transparent",borderRadius:"2px"},xe),{},{"> *:first-of-type":Le({borderTopLeftRadius:"2px",borderBottomLeftRadius:"2px",borderTopRightRadius:0,borderBottomRightRadius:0},xe==null?void 0:xe["> *:first-of-type"]),"> *:last-child":Le({borderTopRightRadius:"2px",borderBottomRightRadius:"2px",borderTopLeftRadius:0,borderBottomLeftRadius:0},xe==null?void 0:xe["> *:last-child"]),"> *:not(:first-of-type):not(:last-child)":Le({borderRadius:0},xe==null?void 0:xe["> *:not(:first-of-type):not(:last-child)"]),"> *:not(:last-child)":Le({borderRightWidth:1,borderRightStyle:"solid",borderRightColor:"border.default"},xe==null?void 0:xe["> *:not(:last-child)"]),"> *:only-child":Le({borderRadius:"2px"},xe==null?void 0:xe["> *:only-child"]),'&:has([data-textinput-control-invalid="true"])':Le({outline:1,outlineColor:"border.danger"},xe==null?void 0:xe['&:has([data-textinput-control-invalid="true"])'])}),width:"fit-content"},Ae),Pe)};const Xe=Ue;var Fe=["sx","children","focusOnClick","onClick","size","variant"];function ht(Wt,Pe){var xe=Object.keys(Wt);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(Wt);Pe&&(Ae=Ae.filter(function(qe){return Object.getOwnPropertyDescriptor(Wt,qe).enumerable})),xe.push.apply(xe,Ae)}return xe}function Ne(Wt){for(var Pe=1;Pe<arguments.length;Pe++){var xe=arguments[Pe]!=null?arguments[Pe]:{};Pe%2?ht(Object(xe),!0).forEach(function(Ae){$()(Wt,Ae,xe[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Wt,Object.getOwnPropertyDescriptors(xe)):ht(Object(xe)).forEach(function(Ae){Object.defineProperty(Wt,Ae,Object.getOwnPropertyDescriptor(xe,Ae))})}return Wt}var Ce=Wt=>{var Pe,xe=Wt.sx,Ae=Wt.children,qe=Wt.focusOnClick,wt=qe===void 0?!0:qe,kt=Wt.onClick,ut=Wt.size,Ft=ut===void 0?"medium":ut,tn=Wt.variant,In=tn===void 0?"default":tn,rr=k()(Wt,Fe),Sr=(0,x.useContext)(B.g.Context),Yr=Sr.inputId,Pr=Mn=>{if(kt==null||kt(Mn),!(Mn.defaultPrevented||!wt)){var sr=Mn.target,Ar=sr.closest('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(!Ar){var vr=Yr&&document.getElementById(Yr)?document.getElementById(Yr):Mn.currentTarget.querySelector("input");vr==null||vr.focus()}}};return x.createElement(Ke.Z,L()({"data-textinput-root":!0,"data-textinput-root-variant":In,onClick:Pr,sx:Ne(Ne({alignItems:"center",px:2,py:Ft==="small"?"7px":2,backgroundColor:In==="default"?"bg.default":"bg.base",borderRadius:"2px",gap:1,cursor:"text",outline:1,outlineColor:"transparent"},xe),{},{"&:hover":Ne({backgroundColor:In==="default"?"border.default":"bg.inset"},xe==null?void 0:xe["&:hover"]),"&:has([data-textinput-control]:focus)":Ne(Ne({outline:2,outlineColor:"border.strong"},xe==null?void 0:xe["&:has([data-textinput-control]:focus)"]),{},{"[data-textinput-group] &":{zIndex:1}}),'&:has([data-textinput-control-invalid="true"])':Ne(Ne({outline:1,outlineColor:"border.danger"},xe==null?void 0:xe['&:has([data-textinput-control-invalid="true"])']),{},{"&:has([data-textinput-control]:focus)":Ne({outline:2,outlineColor:"border.danger"},xe==null||(Pe=xe['&:has([data-textinput-control-invalid="true"])'])===null||Pe===void 0?void 0:Pe["&:has([data-textinput-control]:focus)"])}),"&:has([data-textinput-control]:disabled)":Ne({backgroundColor:"bg.inset",cursor:"not-allowed","&:hover":Ne({backgroundColor:void 0},xe==null?void 0:xe["&:has([data-textinput-control]:disabled) &:hover"])},xe==null?void 0:xe["&:has([data-textinput-control]:disabled)"])})},rr),Ae)};Ce.displayName="TextInput.Root";var $e={Control:Be,Group:Xe,Root:Ce},Ot=(0,x.createContext)({handleIncrement:()=>{},handleDecrement:()=>{},handleKeyDown:()=>{},handleWheel:()=>{},handleChange:()=>{},inputRef:null}),Pt=["disabled"],Ie=(0,x.forwardRef)((Wt,Pe)=>{var xe,Ae,qe=Wt.disabled,wt=k()(Wt,Pt),kt=(0,x.useState)(null),ut=F()(kt,2),Ft=ut[0],tn=ut[1],In=(0,x.useContext)(Ot),rr=In.disabled,Sr=In.value,Yr=In.inputRef,Pr=In.min,Mn=In.max,sr=In.handleKeyDown,Ar=In.handleWheel,vr=In.handleChange,qr=(0,x.useContext)(B.g.Context),Dr=qr.disabled,eo=(0,x.useContext)(R.p.Context),Vo=eo.disabled,Bn=(0,M.Z)(Pe,Yr,tn),ar=(xe=(Ae=qe??rr)!==null&&Ae!==void 0?Ae:Dr)!==null&&xe!==void 0?xe:Vo;return(0,x.useEffect)(()=>{var rn=new AbortController,Rt=Qe=>Qe.preventDefault();return Ft==null||Ft.addEventListener("wheel",Rt,{passive:!1,signal:rn.signal}),()=>rn.abort()},[Ft]),x.createElement($e.Control,L()({ref:Bn,disabled:ar,inputMode:"numeric",max:Mn,min:Pr,onChange:vr,onKeyDown:sr,onWheel:Ar,role:"spinbutton",type:"text",value:Sr},wt))});Ie.displayName="NumberInput.Control";const Bt=Ie;var mt=e(37041),rt=e(251156),ce=e(425629),Re=["sx","children","onClick","disabled"];function nt(Wt,Pe){var xe=Object.keys(Wt);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(Wt);Pe&&(Ae=Ae.filter(function(qe){return Object.getOwnPropertyDescriptor(Wt,qe).enumerable})),xe.push.apply(xe,Ae)}return xe}function st(Wt){for(var Pe=1;Pe<arguments.length;Pe++){var xe=arguments[Pe]!=null?arguments[Pe]:{};Pe%2?nt(Object(xe),!0).forEach(function(Ae){$()(Wt,Ae,xe[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Wt,Object.getOwnPropertyDescriptors(xe)):nt(Object(xe)).forEach(function(Ae){Object.defineProperty(Wt,Ae,Object.getOwnPropertyDescriptor(xe,Ae))})}return Wt}var vt=Wt=>{var Pe,xe,Ae=Wt.sx,qe=Wt.children,wt=Wt.onClick,kt=Wt.disabled,ut=k()(Wt,Re),Ft=(0,x.useContext)(Ot),tn=Ft.disabled,In=(0,x.useContext)(B.g.Context),rr=In.disabled,Sr=(0,x.useContext)(R.p.Context),Yr=Sr.disabled,Pr=(Pe=(xe=kt??tn)!==null&&xe!==void 0?xe:rr)!==null&&Pe!==void 0?Pe:Yr,Mn=(0,x.useRef)(null),sr=(0,x.useRef)(null),Ar=(0,x.useCallback)(()=>{Pr||!wt||(wt({}),sr.current=setTimeout(()=>{Mn.current=setInterval(()=>{wt({})},60)},200))},[wt,Pr]),vr=(0,x.useCallback)(()=>{sr.current&&(clearTimeout(sr.current),sr.current=null),Mn.current&&(clearInterval(Mn.current),Mn.current=null)},[]);return x.createElement(ce.Z,L()({disabled:Pr,interaction:qr=>x.createElement(ce.Z.Solid,L()({display:"flex",size:"100%",sx:{backgroundColor:"bg.default","&:hover":{backgroundColor:Pr?"bg.default":"gray.800"},"&:active":{backgroundColor:Pr?"bg.default":"gray.700"},'[data-textinput-root-variant="base"] ~ [data-numberinput-column] &':{backgroundColor:"bg.base","&:hover":{backgroundColor:Pr?"bg.base":"gray.800"},"&:active":{backgroundColor:Pr?"bg.base":"gray.700"}},"[data-textinput-group]:has([data-textinput-control]:disabled) &":{backgroundColor:"bg.inset",cursor:"not-allowed","&:hover":{backgroundColor:void 0}}}},qr)),onMouseDown:Ar,onMouseLeave:vr,onMouseUp:vr,sx:st({flex:1,backgroundColor:"inherit",alignItems:"center",justifyContent:"center","& svg":{color:Pr?"fg.disabled":"fg.default"}},Ae),tabIndex:-1,type:"button"},ut),qe)};vt.displayName="NumberInput.Button";var ze=["children"],It=(Wt,Pe)=>{if(!(Wt===void 0||Wt===""))return parseFloat(Wt)===Pe},on=Wt=>{var Pe=Wt.children,xe=Pe===void 0?x.createElement(mt.Z,null):Pe,Ae=k()(Wt,ze),qe=(0,rt.Q)(),wt=qe.t,kt=(0,x.useContext)(Ot),ut=kt.handleDecrement,Ft=kt.min,tn=kt.value,In=It(tn,Ft);return x.createElement(vt,L()({"aria-label":wt("decrement",null,{project:"rosetta-elements"}),disabled:In,onClick:ut},Ae),xe)};on.displayName="NumberInput.Decrement";const Pn=on;var Yn=e(726658),Ln=["children"],bn=(Wt,Pe)=>{if(!(Wt===void 0||Wt===""))return parseFloat(Wt)===Pe},ir=Wt=>{var Pe=Wt.children,xe=Pe===void 0?x.createElement(Yn.Z,null):Pe,Ae=k()(Wt,Ln),qe=(0,rt.Q)(),wt=qe.t,kt=(0,x.useContext)(Ot),ut=kt.handleIncrement,Ft=kt.max,tn=kt.value,In=bn(tn,Ft);return x.createElement(vt,L()({"aria-label":wt("increment",null,{project:"rosetta-elements"}),disabled:In,onClick:ut},Ae),xe)};ir.displayName="NumberInput.Increment";const Zn=ir;var $n=["sx","children"];function jt(Wt,Pe){var xe=Object.keys(Wt);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(Wt);Pe&&(Ae=Ae.filter(function(qe){return Object.getOwnPropertyDescriptor(Wt,qe).enumerable})),xe.push.apply(xe,Ae)}return xe}function Rn(Wt){for(var Pe=1;Pe<arguments.length;Pe++){var xe=arguments[Pe]!=null?arguments[Pe]:{};Pe%2?jt(Object(xe),!0).forEach(function(Ae){$()(Wt,Ae,xe[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Wt,Object.getOwnPropertyDescriptors(xe)):jt(Object(xe)).forEach(function(Ae){Object.defineProperty(Wt,Ae,Object.getOwnPropertyDescriptor(xe,Ae))})}return Wt}var jn=Wt=>{var Pe,xe=Wt.sx,Ae=Wt.children,qe=k()(Wt,$n);return x.createElement($e.Root,L()({sx:Rn(Rn({},xe),{},{"&:has([data-textinput-control]:focus)":Rn({outline:0},xe==null?void 0:xe["&:has([data-textinput-control]:focus)"]),'&:has([data-textinput-control-invalid="true"])':Rn(Rn({outline:0},xe==null?void 0:xe['&:has([data-textinput-control-invalid="true"])']),{},{"&:has([data-textinput-control]:focus)":Rn({outline:0},xe==null||(Pe=xe['&:has([data-textinput-control-invalid="true"])'])===null||Pe===void 0?void 0:Pe["&:has([data-textinput-control]:focus)"])})})},qe),Ae)};const Tn=jn;var Nn=Wt=>{var Pe=Wt.inputRef,xe=Wt.value,Ae=Wt.min,qe=Wt.max,wt=Wt.step,kt=wt===void 0?1:wt,ut=Wt.onValueChange,Ft=Wt.onIncrement,tn=Wt.onDecrement,In=Wt.onKeyDown,rr=Wt.onWheel,Sr=(0,x.useCallback)(()=>{if(Pe){var Dr,eo=(Dr=Pe.current)===null||Dr===void 0?void 0:Dr.value,Vo=parseFloat(eo??"");return!Vo||isNaN(Vo)?0:Vo}var Bn=parseFloat(xe??"");return!Bn||isNaN(Bn)?0:Bn},[Pe,xe]),Yr=(0,x.useCallback)(Dr=>Dr===""||Dr==="-"||Dr==="."?!0:!isNaN(parseFloat(Dr))&&isFinite(parseFloat(Dr)),[]),Pr=(0,x.useCallback)(Dr=>{var eo=Dr;return Ae!==void 0&&eo<Ae&&(eo=Ae),qe!==void 0&&eo>qe&&(eo=qe),eo},[Ae,qe]),Mn=(0,x.useCallback)(()=>{Ft?Ft():ut&&ut(Pr(Sr()+kt).toString())},[Ft,ut,Sr,Pr,kt]),sr=(0,x.useCallback)(()=>{tn?tn():ut&&ut(Pr(Sr()-kt).toString())},[tn,ut,Sr,Pr,kt]),Ar=(0,x.useCallback)(Dr=>{switch(Dr.key){case"ArrowUp":{Dr.preventDefault(),Mn();break}case"ArrowDown":{Dr.preventDefault(),sr();break}case"Home":{Ae!==void 0&&(Dr.preventDefault(),ut==null||ut(Ae.toString()));break}case"End":{qe!==void 0&&(Dr.preventDefault(),ut==null||ut(qe.toString()));break}case"PageUp":{Dr.preventDefault(),ut==null||ut(Pr(Sr()+kt*10).toString());break}case"PageDown":{Dr.preventDefault(),ut==null||ut(Pr(Sr()-kt*10).toString());break}default:break}In==null||In(Dr)},[Mn,sr,Ae,qe,kt,ut,Sr,Pr,In]),vr=(0,x.useCallback)(Dr=>{document.activeElement===(Pe==null?void 0:Pe.current)&&(Dr.deltaY<0?Mn():Dr.deltaY>0&&sr()),rr==null||rr(Dr)},[Mn,sr,Pe,rr]),qr=(0,x.useCallback)(Dr=>{var eo=Dr.target.value;(eo===""||Yr(eo))&&(ut==null||ut(Dr.target.value))},[ut,Yr]);return{handleIncrement:Mn,handleDecrement:sr,handleKeyDown:Ar,handleWheel:vr,handleChange:qr}},cn=["sx","children","min","max","step","onIncrement","onDecrement","onKeyDown","onWheel","value","onValueChange","disabled"];function or(Wt,Pe){var xe=Object.keys(Wt);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(Wt);Pe&&(Ae=Ae.filter(function(qe){return Object.getOwnPropertyDescriptor(Wt,qe).enumerable})),xe.push.apply(xe,Ae)}return xe}function qn(Wt){for(var Pe=1;Pe<arguments.length;Pe++){var xe=arguments[Pe]!=null?arguments[Pe]:{};Pe%2?or(Object(xe),!0).forEach(function(Ae){$()(Wt,Ae,xe[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Wt,Object.getOwnPropertyDescriptors(xe)):or(Object(xe)).forEach(function(Ae){Object.defineProperty(Wt,Ae,Object.getOwnPropertyDescriptor(xe,Ae))})}return Wt}var Hr=Wt=>{var Pe,xe=Wt.sx,Ae=Wt.children,qe=Wt.min,wt=Wt.max,kt=Wt.step,ut=kt===void 0?1:kt,Ft=Wt.onIncrement,tn=Wt.onDecrement,In=Wt.onKeyDown,rr=Wt.onWheel,Sr=Wt.value,Yr=Wt.onValueChange,Pr=Wt.disabled,Mn=k()(Wt,cn),sr=(0,x.useRef)(null),Ar=(0,x.useState)(""),vr=F()(Ar,2),qr=vr[0],Dr=vr[1],eo=Sr??qr,Vo=Yr??Dr,Bn=Nn({inputRef:sr,value:eo,min:qe,max:wt,step:ut,onIncrement:Ft,onDecrement:tn,onKeyDown:In,onWheel:rr,onValueChange:Vo}),ar=Bn.handleIncrement,rn=Bn.handleDecrement,Rt=Bn.handleKeyDown,Qe=Bn.handleWheel,Ye=Bn.handleChange,yt=(0,x.useMemo)(()=>({handleIncrement:ar,handleDecrement:rn,min:qe,max:wt,step:ut,inputRef:sr,handleKeyDown:Rt,handleWheel:Qe,handleChange:Ye,value:eo,disabled:Pr}),[ar,rn,qe,wt,ut,sr,Rt,Qe,Ye,eo,Pr]);return x.createElement(Ot.Provider,{value:yt},x.createElement($e.Group,L()({sx:qn(qn({},xe),{},{"&:focus-within":qn(qn({outline:2,outlineColor:"border.strong"},xe==null?void 0:xe["&:focus-within"]),{},{'&:has([data-textinput-control-invalid="true"])':qn({outline:2,outlineColor:"border.danger"},xe==null||(Pe=xe["&:focus-within"])===null||Pe===void 0?void 0:Pe['&:has([data-textinput-control-invalid="true"])'])})})},Mn),Ae))};Hr.displayName="NumberInput.Group";const fo=Hr;var Jr=["sx","children"];function ro(Wt,Pe){var xe=Object.keys(Wt);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(Wt);Pe&&(Ae=Ae.filter(function(qe){return Object.getOwnPropertyDescriptor(Wt,qe).enumerable})),xe.push.apply(xe,Ae)}return xe}function Xt(Wt){for(var Pe=1;Pe<arguments.length;Pe++){var xe=arguments[Pe]!=null?arguments[Pe]:{};Pe%2?ro(Object(xe),!0).forEach(function(Ae){$()(Wt,Ae,xe[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Wt,Object.getOwnPropertyDescriptors(xe)):ro(Object(xe)).forEach(function(Ae){Object.defineProperty(Wt,Ae,Object.getOwnPropertyDescriptor(xe,Ae))})}return Wt}var Je=Wt=>{var Pe=Wt.sx,xe=Wt.children,Ae=k()(Wt,Jr),qe=(0,ee.F)(),wt=qe.space;return x.createElement(Ke.Z,L()({align:"center","data-numberinput-column":!0,flexDirection:"column",overflow:"hidden",sx:Xt({"> *:not(:last-child)":{borderBottomWidth:1,borderBottomStyle:"solid",borderBottomColor:"border.default"}},Pe),width:wt[6]},Ae),xe)},xt={Control:Bt,Group:fo,Root:Tn,Increment:Zn,Decrement:Pn,Column:Je},Qt=e(247509),qt=e(544049),Te=e(668100),Gt=e(464664),un=e(224353),Vt=e(817936),Dn=e(777379)},560765:function(b,l,e){var r={"./rosetta-elements.en-US.json":"27233","./rosetta-elements.en-US.yaml":"456857"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=560765},983171:function(b,l,e){"use strict";e.d(l,{Ct:()=>C,g8:()=>me,zx:()=>L,Yz:()=>I,__:()=>j});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(174161),c=e(270104),u=e(412166),f=e(719484),d=e(712606),h=e(938408),g=["variant","children"],_=(0,d.Z)(u.Z)((0,h.bU)({variants:{default:{},filled:{bg:"blue.100",borderRadius:"11px",pl:2}}})),p=(0,d.Z)(f.Z.Action)((0,h.bU)({variants:{default:{},filled:{color:"base"}}})),y=(0,d.Z)(c.Z)((0,h.bU)({variants:{default:{color:"blue.100"},filled:{color:"base"}}})),O=re=>{var he=re.variant,Ee=he===void 0?"default":he,fe=re.children,H=a()(re,g);return i.createElement(_,o()({display:"inline-flex",variant:Ee},H),i.createElement(p,{mr:1,variant:Ee},fe),i.createElement(y,{variant:Ee}))};O.displayName="Badge";const C=O;var A=e(600994),S=["variant"],T=i.forwardRef((re,he)=>i.createElement(A.Z,o()({ref:he,animationBackgroundColor:"blue.200",backgroundColor:"blue.100",variant:"primary"},re))),s=i.forwardRef((re,he)=>i.createElement(A.Z,o()({ref:he,color:"blue.100",variant:"secondary"},re))),v=i.forwardRef((re,he)=>i.createElement(A.Z,o()({ref:he,color:"blue.100",variant:"tertiary"},re))),m=re=>{var he=re.variant,Ee=he===void 0?"primary":he,fe=a()(re,S);switch(Ee){case"primary":return i.createElement(T,fe);case"secondary":return i.createElement(s,fe);case"tertiary":return i.createElement(v,fe);default:return null}};T.displayName="UpgradeButton.Primary",s.displayName="UpgradeButton.Secondary",v.displayName="UpgradeButton.Tertiary",m.Primary=T,m.Secondary=s,m.Tertiary=v;const I=m,L=I;var W=e(392338),F=e(642979),G=e.n(F),k=e(100638),x=["children","sx"];function M(re,he){var Ee=Object.keys(re);if(Object.getOwnPropertySymbols){var fe=Object.getOwnPropertySymbols(re);he&&(fe=fe.filter(function(H){return Object.getOwnPropertyDescriptor(re,H).enumerable})),Ee.push.apply(Ee,fe)}return Ee}function B(re){for(var he=1;he<arguments.length;he++){var Ee=arguments[he]!=null?arguments[he]:{};he%2?M(Object(Ee),!0).forEach(function(fe){G()(re,fe,Ee[fe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(re,Object.getOwnPropertyDescriptors(Ee)):M(Object(Ee)).forEach(function(fe){Object.defineProperty(re,fe,Object.getOwnPropertyDescriptor(Ee,fe))})}return re}var R=re=>{var he=re.children,Ee=re.sx,fe=a()(re,x),H=fe.animationDirection==="none"?A.Z.Base:A.Z.Tertiary;return i.createElement(H,o()({color:"blue.100",sx:B({"&:focus:after":{borderColor:"blue.100",borderStyle:"solid",borderWidth:"2px",content:'""',height:"calc(100% + 6px)",position:"absolute",width:"calc(100% + 16px)"},"&:focus:not(:focus-visible):after":{display:"none"},minHeight:4},Ee)},fe),he,i.createElement(k.Z,{color:"blue.100",sx:{ml:1}}))};const j=Object.assign(R);var $=["children","isFeatureGated"],ee=["children","isFeatureGated"],te=["children","isFeatureGated"],ie=["variant"],ne=re=>{var he=re.children,Ee=re.isFeatureGated,fe=Ee===void 0?!0:Ee,H=a()(re,$);return i.createElement(A.Z.Primary,H,he,fe&&i.createElement(k.Z,{color:"blue.400",sx:{ml:1}}))};ne.displayName="GateButton.Primary";var pe=re=>{var he=re.children,Ee=re.isFeatureGated,fe=Ee===void 0?!0:Ee,H=a()(re,ee);return i.createElement(A.Z.Secondary,H,he,fe&&i.createElement(k.Z,{color:"blue.100",sx:{ml:1}}))};pe.displayName="GateButton.Secondary";var oe=re=>{var he=re.children,Ee=re.isFeatureGated,fe=Ee===void 0?!0:Ee,H=a()(re,te);return i.createElement(A.Z.Tertiary,H,he,fe&&i.createElement(k.Z,{color:"blue.100",sx:{ml:1}}))};oe.displayName="GateButton.Tertiary";var q=re=>{var he=re.variant,Ee=he===void 0?"primary":he,fe=a()(re,ie);switch(Ee){case"primary":return i.createElement(ne,fe);case"secondary":return i.createElement(pe,fe);case"tertiary":return i.createElement(oe,fe)}};const me=Object.assign(q,{Primary:ne,Secondary:pe,Tertiary:oe})},139575:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11.44 4.081L13 5.642V13H5.642l-1.56-1.56h6.244L3 4.112 4.113 3l7.326 7.326V4.081z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},933676:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11.774 7.25L7.54 3h2.117l4.98 4.998L9.657 13H7.538l4.232-4.25H2v-1.5h9.774z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},467232:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11.431 11.942l1.565-1.565V3H5.619L4.054 4.565h6.322L3 11.941 4.06 13l7.371-7.37v6.311z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},530808:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M8 1.195l5.75 2.3v3.258h-1.5v2.5h1.5v4.5H2.25v-4.5h1.5v-2.5h-1.5V3.495L8 1.195zM3.75 5.253h8.5v-.742L8 2.81l-4.25 1.7v.742zm1.5 1.5v2.5h2v-2.5h-2zm3.5 0v2.5h2v-2.5h-2zm-5 4v1.5h8.5v-1.5h-8.5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},140102:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M11.044 6.665l.967.967 1.042-1.042L7.463 1 6.421 2.042l.967.967L2 5.702v6.35h6.35l2.694-5.387zM9.946 5.567l-2.507 5.012H4.516L7.31 7.784 6.268 6.742 3.474 9.537V6.613l5.012-2.506 1.46 1.46z",fillRule:"evenodd"}),d.createElement("path",{d:"M2 15h12v-1.474H2V15z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},197452:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M5.5 1v1.5h5.25V1h1.5v1.5H14V14H2V2.5h2V1h1.5zm-2 3h9v1.5h-9V4zm9 3v5.5h-9V7h9z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},877932:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M3.8 2.398v11.2h8.4v-11.2H3.8zm7 1.4H5.2v8.4h5.6v-8.4z",fillRule:"evenodd"}),d.createElement("path",{d:"M1 12.898v-9.8h1.4v9.8H1zM13.6 3.098v9.8H15v-9.8h-1.4z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},939094:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12.975 4H13v2.166l-5.875 6.267L4 9.067V6.863l3.13 3.371L12.975 4z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},341455:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10.92 7.608V5.486L7.147 9.258l-2.062-2.22v2.204l2.022 2.177 3.811-3.811z"}),d.createElement("path",{clipRule:"evenodd",d:"M15 8A7 7 0 111 8a7 7 0 0114 0zm-1.5 0a5.5 5.5 0 11-11 0 5.5 5.5 0 0111 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},983515:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M8 15A7 7 0 108 1a7 7 0 000 14zm3.5-7.796V5L6.981 9.866 4.5 7.396v2.116l2.524 2.513 4.476-4.82z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},37041:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M3 7.059V4.937l5 5 5-5V7.06l-5 5-5-5z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},961295:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11.121 3l-5 5 5 5H9L4 8l5-5h2.121z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},221204:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M5 13l5-5-5-5h2.121l5 5-5 5H5z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},726658:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M3 11.059V8.938l5-5 5 5v2.12l-5-5-5 5z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},429278:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M15 8A7 7 0 111 8a7 7 0 0114 0zm-1.5 0a5.5 5.5 0 11-11 0 5.5 5.5 0 0111 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},975885:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M5.5 7.75v-1.5h5v1.5h-5zM10.5 10.75v-1.5h-5v1.5h5z"}),d.createElement("path",{clipRule:"evenodd",d:"M8 .5A1.5 1.5 0 019.5 2h4v12h-11V2h4A1.5 1.5 0 018 .5zm-2.5 3v1.25h5V3.5H12v9H4v-9h1.5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},152625:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10.527 1L7 15H5.473L9 1h1.527z"}),d.createElement("path",{clipRule:"evenodd",d:"M4.364 4.484v1.749l-2.65 1.766 2.65 1.766v1.748L0 8.603v-1.21l4.364-2.909zM11.636 4.484v1.749l2.65 1.766-2.65 1.766v1.748L16 8.603v-1.21l-4.364-2.909z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},39188:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11.151 8.7a1.05 1.05 0 100 2.1 1.05 1.05 0 000-2.1z"}),d.createElement("path",{clipRule:"evenodd",d:"M1 4.499c0-1.16.94-2.1 2.1-2.1h9.801c1.16 0 2.1.94 2.1 2.1v7a2.1 2.1 0 01-2.1 2.1h-9.8A2.1 2.1 0 011 11.5v-7zm2.1-.7a.7.7 0 00-.7.7v.7h11.201v-.7a.7.7 0 00-.7-.7h-9.8zm-.7 7.7V7.3h11.201v4.2a.7.7 0 01-.7.7h-9.8a.7.7 0 01-.7-.7z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},411094:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M8.001 9.062l3.94 3.94 1.06-1.06L9.062 8l3.94-3.94L11.942 3l-3.94 3.94L4.061 3 3 4.06l3.94 3.941L3 11.941l1.06 1.06 3.941-3.94z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},996866:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M6.94 8L4.97 6.03l1.06-1.06L8 6.94l1.97-1.97 1.06 1.06L9.06 8l1.97 1.97-1.06 1.06L8 9.06l-1.97 1.97-1.06-1.06L6.94 8z"}),d.createElement("path",{clipRule:"evenodd",d:"M1 10.546L5.455 15h5.09L15 10.546V5.455L10.546 1H5.455L1 5.455v5.09zM9.924 13.5L13.5 9.924V6.076L9.924 2.5H6.076L2.5 6.076v3.848L6.076 13.5h3.848z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},216684:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M5.455 15h5.09L15 10.546V5.455L10.546 1H5.455L1 5.455v5.09L5.455 15zm4.515-3.97L8 9.06l-1.97 1.97-1.06-1.06L6.94 8 4.97 6.03l1.06-1.06L8 6.94l1.97-1.97 1.06 1.06L9.06 8l1.97 1.97-1.06 1.06z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},198911:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M1 2.398V13.6h14.001V2.398H1zm12.601 2.8h-7v1.4h7v-1.4zm-11.2 0h2.8v1.4H2.4v-1.4zM2.4 8h2.8v1.4H2.4V8zm0 2.8h2.8v1.4H2.4v-1.4zm4.2 0v1.4h7v-1.4h-7zm0-2.8v1.4h7V8h-7z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},223249:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M8 10.095a2.1 2.1 0 100-4.201 2.1 2.1 0 000 4.2z"}),d.createElement("path",{clipRule:"evenodd",d:"M1 3.094v9.8h14.001v-9.8H1zm12.601 7v-4.2h-1.4v-1.4h-8.4v1.4H2.4v4.2h1.4v1.4h8.4v-1.4h1.4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},377192:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M10.9 1L15 5.029 5.1 15H1v-4.029L10.9 1zM9.535 4.502l1.377-1.386 1.96 1.926-1.4 1.41-1.937-1.95zM8.479 5.567L2.5 11.589V13.5h1.976l5.94-5.983-1.937-1.95z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},646263:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M8.75 4.503v4.083h-1.5V4.503h1.5zM7.125 11.5V9.75h1.75v1.75h-1.75z"}),d.createElement("path",{clipRule:"evenodd",d:"M15 8A7 7 0 111 8a7 7 0 0114 0zm-1.5 0a5.5 5.5 0 11-11 0 5.5 5.5 0 0111 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},472569:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M8 15A7 7 0 108 1a7 7 0 000 14zm.75-10.497v4.083h-1.5V4.503h1.5zM7.125 11.5V9.75h1.75v1.75h-1.75z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},934492:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("g",{clipPath:"url(#prefix__clip0_11340_17)"},d.createElement("path",{d:"M8.724 0h-.728L3.633 10.182h3.636V16h.727L12.36 5.818H8.724V0z"})),d.createElement("defs",null,d.createElement("clipPath",{id:"prefix__clip0_11340_17"},d.createElement("path",{d:"M0 0h16v16H0z",fill:"#fff"})))),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},193279:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M8 2H2v10.5h12v-9H8V2zm-4.5 9V5h9v6h-9z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},8011:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M15 4l-4.5 5.5V15h-3l-2-1.5v-4L1 4V1h14v3zm-5.95 9.55H7.983l-1.033-.775V8.982L4.285 5.725h7.43L9.05 8.982v4.568zm3.851-9.275l.649-.793V2.45H2.45v1.032l.648.793h9.803z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},401686:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M9.05 4.5a1.05 1.05 0 110 2.1 1.05 1.05 0 010-2.1z"}),d.createElement("path",{clipRule:"evenodd",d:"M12.197 5.203h2.805v8.399H3.805v-2.797H1V2.406h11.197v2.797zm0 5.602H5.203V12.2h8.399V6.602h-1.405v4.203zm-8.748-1.4h.356v-.003h1.398v.002h2.445l-1.75-2.1H5.2l-1.75 2.1zm-1.05-.7l2.45-2.8h1.4l3.15 3.5h1.399v-5.6H2.399v4.9z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},711879:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M15 8A7 7 0 101 8a7 7 0 0014 0zm-9.983.75c.078 1.711.42 3.238.93 4.354A5.506 5.506 0 012.55 8.75h2.466zm1.502 0c.073 1.461.357 2.719.738 3.609.224.522.452.849.629 1.023.049.049.087.079.114.098a.872.872 0 00.114-.098c.177-.174.405-.5.629-1.023.381-.89.665-2.148.738-3.609H6.52zm2.962-1.5H6.52c.073-1.461.357-2.719.738-3.609.224-.522.452-.849.629-1.023A.868.868 0 018 2.52a.868.868 0 01.114.098c.177.174.405.5.629 1.023.381.89.665 2.148.738 3.609zm1.502 1.5c-.078 1.711-.42 3.238-.93 4.354A5.506 5.506 0 0013.45 8.75h-2.466zm2.466-1.5h-2.466c-.078-1.711-.42-3.238-.93-4.354A5.506 5.506 0 0113.45 7.25zm-8.432 0H2.551a5.506 5.506 0 013.396-4.354c-.51 1.116-.852 2.643-.93 4.354z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},217707:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M2 4.77V2h2.77v2.77H2zM6.615 4.77V2h2.77v2.77h-2.77zM11.23 2v2.77H14V2h-2.77zM2 9.385v-2.77h2.77v2.77H2zM6.615 6.615v2.77h2.77v-2.77h-2.77zM11.23 9.385v-2.77H14v2.77h-2.77zM2 11.23V14h2.77v-2.77H2zM6.615 14v-2.77h2.77V14h-2.77zM11.23 11.23V14H14v-2.77h-2.77z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},905394:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M5.443 15l8.083-14h-1.732L10.65 2.98a7.448 7.448 0 00-2.655-.48c-2.593 0-4.454 1.268-5.616 2.448A10.07 10.07 0 001 6.708v2.584l.089.142c.282.44.708 1.027 1.29 1.618a8.448 8.448 0 002.568 1.806L3.711 15h1.732zm.26-3.45C3.169 10.505 1.995 8 1.995 8s1.875-4 6-4c.694 0 1.324.113 1.892.302L9.06 5.736A2.5 2.5 0 008.001 5.5h-.006a2.5 2.5 0 00-1.428 4.553l-.864 1.497z",fillRule:"evenodd"}),d.createElement("path",{d:"M7.77 13.497l.225.003c2.592 0 4.454-1.268 5.615-2.448A10.068 10.068 0 0015 9.275v-2.55a10.068 10.068 0 00-1.39-1.777 9.179 9.179 0 00-.587-.548l-.765 1.325A8.18 8.18 0 0113.995 8s-1.675 3.572-5.34 3.965l-.884 1.532z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},826081:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M8.875 6.25h-1.75V4.5h1.75v1.75zM7.25 11.498V7.414h1.5v4.084h-1.5z"}),d.createElement("path",{clipRule:"evenodd",d:"M15 8A7 7 0 111 8a7 7 0 0114 0zm-1.5 0a5.5 5.5 0 11-11 0 5.5 5.5 0 0111 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},826310:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M8 15A7 7 0 108 1a7 7 0 000 14zm.875-8.75h-1.75V4.5h1.75v1.75zM7.25 11.498V7.414h1.5v4.084h-1.5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},971753:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M1 1h14v14H1V1zm1.75 1.75v10.5h4.375V2.75H2.75zm10.5 10.5H8.875V8.875h4.375v4.375zm0-6.125V2.75H8.875v4.375h4.375z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},667e3:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M15 .875L10.976 6.91H5.94L2.41 12.2 1 11.326l4.024-6.034h5.035L13.59 0 15 .875zM14.714 15H1.286v-1.618h13.428V15z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},822885:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M1 8a4.5 4.5 0 014.5-4.5H7V5H5.5a3 3 0 000 6H7v1.5H5.5A4.5 4.5 0 011 8zm8-4.5h1.5a4.5 4.5 0 110 9H9V11h1.5a3 3 0 100-6H9V3.5zm2 5.25H5v-1.5h6v1.5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},485669:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M7.298 8.4v2.8h1.4V8.4h-1.4z"}),d.createElement("path",{clipRule:"evenodd",d:"M4.498 3.5v2.1h-2.1V14h11.2V5.6h-2.1V3.5a3.5 3.5 0 10-7 0zm3.5-2.1a2.1 2.1 0 00-2.1 2.1v2.1h4.2V3.5a2.1 2.1 0 00-2.1-2.1zM3.798 7v5.6h8.4V7h-8.4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},85426:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M15 2.5H1v11h14v-11zM9.102 9H6.898L2.5 4.916V12h11V4.916L9.102 9zM3.718 4h8.564L8 7.977 3.718 4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},589197:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M14 8.75H2v-1.5h12v1.5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},735098:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M13.444 1H6.12L2.555 4.567V15h10.889V1zM7.22 2.556h4.667v10.888H4.11V5.667h3.111V2.556z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},192500:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("g",{clipPath:"url(#prefix__clip0_8477_206)"},d.createElement("path",{clipRule:"evenodd",d:"M8 2.5a1 1 0 110 2 1 1 0 010-2zm-2.5 1a2.5 2.5 0 105 0 2.5 2.5 0 00-5 0zM2.5 7a2 2 0 100-4 2 2 0 000 4zM0 9.5s.938-1 2.5-1c.662 0 1.212.18 1.626.386C4.534 8.536 5.922 7.5 8 7.5c2.078 0 3.466 1.037 3.874 1.386A3.62 3.62 0 0113.5 8.5c1.563 0 2.5 1 2.5 1V15H0V9.5zM13.5 7a2 2 0 100-4 2 2 0 000 4zM8 9a4.618 4.618 0 00-2.5.734V13.5h5V9.734A4.618 4.618 0 008 9z",fillRule:"evenodd"})),d.createElement("defs",null,d.createElement("clipPath",{id:"prefix__clip0_8477_206"},d.createElement("path",{d:"M0 0h16v16H0z",fill:"#fff"})))),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},178757:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M15 13.5H1v-11h14v11zM3.405 12h7.535L7.02 8.082 3.405 12zM2.5 10.77L5.98 7h2.08l5 5h.44V4h-11v6.77zM11 5.5a1 1 0 110 2 1 1 0 010-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},127649:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M9.31 3.972l2.188-2.187L10.476.75l-2.19 2.19-1.641-1.65-1.603 1.613-.266 1.342-2.783 2.799v3.221L.86 11.406l.741.746-1.006 1.014 2.077 2.088 1.006-1.013.834.84 1.134-1.142h3.201l2.782-2.8 1.334-.268 1.603-1.612-1.606-1.616 2.44-2.442-1.021-1.034-2.445 2.444-2.622-2.639zM3.445 7.648L6.11 4.964l.267-1.342.267-.268 5.869 5.905-.267.268-1.334.269-2.667 2.684H5.044l-.533.537-1.601-1.61.534-.538V7.65z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},32692:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M7.25 7.25V2h1.5v5.25H14v1.5H8.75V14h-1.5V8.75H2v-1.5h5.25z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},742283:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("g",{clipPath:"url(#prefix__clip0_10386_79)"},d.createElement("path",{d:"M7.034 5.001h-4v3h4v-3zM8 5.001h2v3H8v-3z"}),d.createElement("path",{clipRule:"evenodd",d:"M0 2.001L13 2v3l3 .001v9H3.034v-3H0v-9zm11.546 7.544v-6.09l-10.091.001v6.09h10.09zM13 6.455V11l-8.511.001v1.546h10.056V6.456L13 6.455z",fillRule:"evenodd"})),d.createElement("defs",null,d.createElement("clipPath",{id:"prefix__clip0_10386_79"},d.createElement("path",{d:"M0 0h16v16H0z",fill:"#fff"})))),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},685656:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M6.102 4.977C6.5 4.478 7.138 4.039 8 4.039c.914 0 1.566.421 1.967.956.378.504.533 1.102.533 1.544 0 .575-.147 1.038-.39 1.421-.233.367-.533.624-.762.81-.538.436-.598.495-.598.686h-1.5c0-.953.669-1.473 1.046-1.766l.106-.084c.208-.17.346-.3.441-.45C8.928 7.023 9 6.84 9 6.54c0-.14-.063-.418-.233-.644-.145-.194-.369-.356-.767-.356-.305 0-.542.144-.727.375-.203.254-.273.53-.273.625H5.5c0-.489.222-1.087.602-1.562zM8.875 10.328v1.75h-1.75v-1.75h1.75z"}),d.createElement("path",{clipRule:"evenodd",d:"M15 8A7 7 0 111 8a7 7 0 0114 0zm-1.5 0a5.5 5.5 0 11-11 0 5.5 5.5 0 0111 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},971071:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M10.185 11.246a5.128 5.128 0 111.06-1.06l2.685 2.683-1.06 1.06-2.685-2.683zm.571-4.118a3.628 3.628 0 11-7.256 0 3.628 3.628 0 017.256 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},430652:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M10.546 3.455H1.455V2H12v3h1.818L16 8.088v4.458h-1.09a1.455 1.455 0 01-2.91 0H5.955a1.455 1.455 0 01-2.91 0H1V11h9.546V3.455zM12 11V6.455h1.04l1.506 2.073V11H12z",fillRule:"evenodd"}),d.createElement("path",{d:"M0 6.455V5h8v1.455H0zM0 9.543V8h6v1.543H0z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},344202:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M6.977 7.523a1 1 0 11-2 0 1 1 0 012 0zM9.977 8.523a1 1 0 100-2 1 1 0 000 2z"}),d.createElement("path",{clipRule:"evenodd",d:"M5.07 3.523c0-1.606 1.302-3 2.909-3 1.606 0 2.909 1.394 2.909 3h3.089v11.955H2.023V3.523H5.07zm2.909-1.545c.803 0 1.454.742 1.454 1.545H6.524c0-.803.651-1.545 1.455-1.545zm-4.501 3v9.045h9.044V4.978H3.478z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},161999:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10.495 8a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z"}),d.createElement("path",{clipRule:"evenodd",d:"M15 6.725v2.55l-.1.16c-.282.44-.708 1.026-1.29 1.617-1.161 1.18-3.023 2.448-5.615 2.448-2.593 0-4.454-1.268-5.616-2.448A10.07 10.07 0 011 9.292V6.708l.089-.142c.282-.44.708-1.027 1.29-1.618C3.54 3.768 5.402 2.5 7.995 2.5c2.592 0 4.454 1.268 5.615 2.448A10.067 10.067 0 0115 6.725zM7.995 4c-4.125 0-6 4-6 4s1.875 4 6 4 6-4 6-4-1.875-4-6-4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},490807:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M10.772 1H9.149L7.954 4.032 5 5.197V6.88l2.954 1.165L9.119 11h1.684l1.165-2.954L15 6.85V5.228l-3.032-1.196L10.772 1zm.04 4.188L9.96 3.031 9.11 5.188l-2.157.85 2.157.851.85 2.157.851-2.157 2.157-.85-2.157-.85z",fillRule:"evenodd"}),d.createElement("path",{d:"M3.722 9l-.735 1.987L1 11.723v.554l1.987.736L3.722 15h.556l.735-1.987L7 12.277v-.554l-1.987-.736L4.278 9h-.556z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},469859:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("g",{clipPath:"url(#prefix__clip0_10386_66)"},d.createElement("path",{clipRule:"evenodd",d:"M.898 1h3.455v2.545h10.749L13.284 11H2.898V2.455h-2V1zm3.455 4v4.545h7.795L13.24 5H4.353z",fillRule:"evenodd"}),d.createElement("path",{d:"M5.898 13.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM9.398 15a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"})),d.createElement("defs",null,d.createElement("clipPath",{id:"prefix__clip0_10386_66"},d.createElement("path",{d:"M0 0h16v16H0z",fill:"#fff"})))),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},727230:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M9.6 6.4A.99.99 0 1011 5a.99.99 0 00-1.4 1.4z"}),d.createElement("path",{clipRule:"evenodd",d:"M7.5 1.5h5.6l1.4 1.4v5.6l-7 7-7-7 7-7zm-4.9 7l5.515-5.515h4.37l.53.53v4.37L7.5 13.4 2.6 8.5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},701537:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M7.25 8.313l2.553 2.553 1.06-1.06L8.75 7.692v-3.19h-1.5v3.811z"}),d.createElement("path",{clipRule:"evenodd",d:"M15 8A7 7 0 111 8a7 7 0 0114 0zm-1.5 0a5.5 5.5 0 11-11 0 5.5 5.5 0 0111 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},886314:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10 2.5h4V4h-.5v9.5l-.008.153a1.5 1.5 0 01-1.339 1.34L12 15H4l-.153-.008A1.5 1.5 0 012.5 13.5V4H2V2.5h4V1h4v1.5zm-6 11h8V4H4v9.5zM7 12H5.5V5.5H7V12zm3.5 0H9V5.5h1.5V12z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},28304:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M7.222 8.222h-3.11v3.111h3.11v-3.11zM8.778 9h3.11v1.556h-3.11V9z"}),d.createElement("path",{clipRule:"evenodd",d:"M1 2h14v12.444H1V2zm1.556 3.111h10.888V3.556H2.556V5.11zm10.888 1.556H2.556v6.222h10.888V6.667z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},252631:function(b,l,e){"use strict";e.r(l),e.d(l,{Unlink:()=>oc,Key:()=>uo,VideoEmpty:()=>hu,ArrowLeft:()=>W,People:()=>Uo.Z,ArrowDownRight:()=>T.Z,ArrowDownLeft:()=>S,Strike:()=>_l,Website:()=>Tc.Z,Location:()=>ks,Ellipses:()=>Pr,Funnel:()=>et.Z,ExclamationMarkCircleFilled:()=>sr.Z,Lock:()=>Ms.Z,Flash:()=>Mt.Z,Grid3X3:()=>er.Z,Fitness:()=>Ze,CrossOctagon:()=>It.Z,ArrowUpLeft:()=>Ee,Store:()=>ca.Z,CrossOctagonFilled:()=>on.Z,Link:()=>Ys.Z,Duplicate:()=>kt,PointOfSale:()=>Vi,ExclamationMarkCircle:()=>Mn.Z,Cross:()=>ze.Z,Folder:()=>ot.Z,Weight:()=>ou,CheckmarkCircleFilled:()=>ht.Z,Show:()=>zs.Z,Unlock:()=>Sc,Edit:()=>ut.Z,Message:()=>hs,Donation:()=>xt,ChevronRight:()=>we.Z,Minus:()=>li.Z,Shipping:()=>Js.Z,Time:()=>Pl.Z,Checkmark:()=>Xe.Z,CheckmarkCircle:()=>Fe.Z,ExternalLink:()=>Bn,Bank:()=>H.Z,Circle:()=>Ot.Z,Invoice:()=>ns,ArrowRight:()=>F.Z,Layout:()=>ho.Z,ArrowUpRight:()=>fe.Z,ArrowUp:()=>pe,Csv:()=>Pn.Z,ChevronLeft:()=>Ce.Z,Search:()=>es.Z,ContactCard:()=>st,Phone:()=>El,ChevronUp:()=>$e.Z,Sparkles:()=>Bi.Z,Timer:()=>Hl,LineHeight:()=>ys,Infinity:()=>xo,MinusSmall:()=>Zs,Code:()=>Ie.Z,ShoppingBag:()=>Ts.Z,InfoCircle:()=>Ho.Z,Carousel:()=>Ue.Z,Download:()=>Dn,Diamond:()=>Rn,NumberedList:()=>Tr,Percent:()=>Jn,Photo:()=>Ui.Z,InfoCircleFilled:()=>bo.Z,ArrowSmallDown:()=>U,Gallery:()=>St.Z,Mail:()=>bs.Z,Plug:()=>il.Z,Plus:()=>fl.Z,Capital:()=>Le,Hide:()=>Mr.Z,QuestionMarkCircle:()=>mc.Z,Star:()=>aa,Calendar:()=>_e.Z,DollarSign:()=>Hr,QuestionMarkCircleFilled:()=>zr,Layers:()=>ao,ChevronDown:()=>Ne.Z,Currency:()=>Yn.Z,Blog:()=>z.Z,Clipboard:()=>Pt.Z,CreditCard:()=>vt.Z,Project:()=>_c.Z,SetupGuide:()=>Ls,Global:()=>Ht.Z,Receipt:()=>as,Mobile:()=>nl,Page:()=>Oo.Z,Performance:()=>qa,Tag:()=>Al.Z,Trash:()=>Cl.Z,LineChart:()=>Lo.Z});var r=e(392338),o=e(642979),n=e.n(o),a=e(737968),i=e.n(a),c=e(160553),u=e.n(c),f=e(174161),d=e(471184),h=e(85059),g=e(688720),_=e(938408),p=["sx"];function y(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function O(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?y(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):y(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var P=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M4.56 4.081L3 5.642V13h7.358l1.56-1.56H5.675L13 4.112 11.887 3l-7.326 7.326V4.081z"})),C=(0,d.Z)(P,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),A=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,p);return f.createElement(C,O(O({color:"gray.100"},kr),{},{sx:O({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const S=A;var T=e(139575),s=["sx"];function v(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function m(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?v(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):v(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var E=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M4.863 7.25L9.097 3H6.98L2 7.998 6.98 13h2.118L4.865 8.75h9.772v-1.5H4.863z"})),I=(0,d.Z)(E,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),L=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,s);return f.createElement(I,m(m({color:"gray.100"},kr),{},{sx:m({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const W=L;var F=e(933676),G=["sx"];function k(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function x(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?k(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):k(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var M=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M8.75 11.372V2h-1.5v9.374L3 7.14v2.117l4.998 4.98L13 9.257V7.138l-4.25 4.233z"})),B=(0,d.Z)(M,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),R=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,G);return f.createElement(B,x(x({color:"gray.100"},kr),{},{sx:x({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const U=R;var j=["sx"];function $(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function ee(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?$(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):$(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var te=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M8.75 4.863L13 9.097V6.98L8.002 2 3 6.98v2.118l4.25-4.233v9.769h1.5V4.863z"})),ie=(0,d.Z)(te,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),ne=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,j);return f.createElement(ie,ee(ee({color:"gray.100"},kr),{},{sx:ee({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const pe=ne;var oe=["sx"];function q(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function J(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?q(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):q(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var me=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M4.565 11.942L3 10.377V3h7.377l1.565 1.565H5.626l7.373 7.373-1.061 1.06-7.373-7.372v6.316z"})),re=(0,d.Z)(me,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),he=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,oe);return f.createElement(re,J(J({color:"gray.100"},kr),{},{sx:J({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Ee=he;var fe=e(467232),H=e(530808),z=e(140102),_e=e(197452),ae=["sx"];function ge(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function Be(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?ge(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):ge(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Ke=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("g",{clipPath:"url(#prefix__clip0_11008_5)"},f.createElement("path",{d:"M7.494 0h1.453v1.25h1.998v1.5h-3.75a.5.5 0 000 1h2.5a2 2 0 110 4H8.95L8.947 9H7.492l.004-1.25h-2.05v-1.5h4.25a.5.5 0 000-1h-2.5a2 2 0 110-4h.296L7.494 0z"}),f.createElement("path",{clipRule:"evenodd",d:"M2.126 9.88a1.455 1.455 0 011.029-.427h5.153c.607 0 1.144.297 1.475.754l2.067-1.206a2.182 2.182 0 013.169 1.195l.31.929L10.047 16H.672v-4.666l1.454-1.455zm0 4.665h7.352l4.174-3.852-.013-.037a.727.727 0 00-1.056-.398l-2.513 1.466a1.819 1.819 0 01-1.762 1.365H5.036v-1.454h3.272a.364.364 0 100-.727H3.155l-1.029 1.028v2.61z",fillRule:"evenodd"})),f.createElement("defs",null,f.createElement("clipPath",{id:"prefix__clip0_11008_5"},f.createElement("path",{d:"M0 0h16v16H0z",fill:"#fff"})))),He=(0,d.Z)(Ke,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),ye=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,ae);return f.createElement(He,Be(Be({color:"gray.100"},kr),{},{sx:Be({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Le=ye;var Ue=e(877932),Xe=e(939094),Fe=e(341455),ht=e(983515),Ne=e(37041),Ce=e(961295),we=e(221204),$e=e(726658),Ot=e(429278),Pt=e(975885),Ie=e(152625),Bt=["sx"];function mt(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function rt(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?mt(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):mt(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var ce=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M15 13.5H1v-11h14v11zM2.5 12H5v-1.577c.013-.01 1.136-.923 3-.923s2.987.912 3 .923V12h2.5V4h-11v8zM8 5a1.75 1.75 0 110 3.5A1.75 1.75 0 018 5z"})),Re=(0,d.Z)(ce,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),nt=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Bt);return f.createElement(Re,rt(rt({color:"gray.100"},kr),{},{sx:rt({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const st=nt;var vt=e(39188),ze=e(411094),It=e(996866),on=e(216684),Pn=e(198911),Yn=e(223249),Ln=["sx"];function bn(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function ir(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?bn(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):bn(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Zn=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{clipRule:"evenodd",d:"M12 1H4L1 6v1.5L7 15h2l6-7.5V6l-3-5zM4.26 3.395L2.804 5.818h3.586L4.26 3.395zm1.109-.94L8 5.445l2.631-2.99H5.37zm7.826 3.363H9.609l2.132-2.423 1.454 2.423zm-5.922 7.194L2.68 7.272h4.592v5.74zm1.454 0l4.592-5.74H8.727v5.74z",fillRule:"evenodd"})),$n=(0,d.Z)(Zn,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),jt=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Ln);return f.createElement($n,ir(ir({color:"gray.100"},kr),{},{sx:ir({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Rn=jt;var jn=["sx"];function Tn(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function Nn(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Tn(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Tn(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var cn=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M8.5 2.883h2.73v1.5H6.365a1.248 1.248 0 00-.244 2.472l3.998.8a2.825 2.825 0 01-.555 5.595H8.5V15H7v-1.75H4v-1.5h5.564a1.325 1.325 0 00.26-2.624l-3.998-.8a2.749 2.749 0 01.54-5.443H7V1h1.5v1.883z"})),or=(0,d.Z)(cn,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),qn=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,jn);return f.createElement(or,Nn(Nn({color:"gray.100"},kr),{},{sx:Nn({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Hr=qn;var fo=["sx"];function Jr(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function ro(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Jr(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Jr(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Xt=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("g",{clipPath:"url(#prefix__clip0_10967_30)"},f.createElement("path",{d:"M7.195 3.242v-3.25h1.5v3.25h3.25v1.5h-3.25v3.25h-1.5v-3.25h-3.25v-1.5h3.25z"}),f.createElement("path",{clipRule:"evenodd",d:"M9.789 10.17l2.05-1.197a2.205 2.205 0 013.202 1.207l.314.943-5.298 4.891H.695v-2.57H.648v-2.128L2.11 9.855a1.477 1.477 0 011.044-.433h5.154c.607 0 1.145.294 1.48.747zm2.806.099a.704.704 0 011.023.386l.008.023-4.156 3.836H2.195v-1.431h-.047v-1.146l1.016-1.015h5.144a.34.34 0 110 .682H5.035v1.5h3.273c.854 0 1.573-.583 1.78-1.373l2.507-1.462z",fillRule:"evenodd"})),f.createElement("defs",null,f.createElement("clipPath",{id:"prefix__clip0_10967_30"},f.createElement("path",{d:"M0 0h16v16H0z",fill:"#fff"})))),Je=(0,d.Z)(Xt,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),At=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,fo);return f.createElement(Je,ro(ro({color:"gray.100"},kr),{},{sx:ro({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const xt=At;var Qt=["sx"];function qt(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function Te(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?qt(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):qt(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Gt=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M8.75 2v6.238L12 5.381v1.997l-4.001 3.518L4 7.38V5.38L7.25 8.24V2h1.5zM2 14h12v-1.5H2V14z"})),un=(0,d.Z)(Gt,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Vt=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Qt);return f.createElement(un,Te(Te({color:"gray.100"},kr),{},{sx:Te({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Dn=Vt;var Wt=["sx"];function Pe(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function xe(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Pe(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Pe(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Ae=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{clipRule:"evenodd",d:"M2 11.333V2h9.333v2.667H14V14H4.667v-2.667H2zm1.333-8H10V10H3.333V3.333zm2.667 8v1.334h6.667V6h-1.334v5.333H6z",fillRule:"evenodd"})),qe=(0,d.Z)(Ae,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),wt=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Wt);return f.createElement(qe,xe(xe({color:"gray.100"},kr),{},{sx:xe({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const kt=wt;var ut=e(377192),Ft=["sx"];function tn(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function In(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?tn(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):tn(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var rr=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M3 9a1 1 0 100-2 1 1 0 000 2zM9 8a1 1 0 11-2 0 1 1 0 012 0zM13 9a1 1 0 100-2 1 1 0 000 2z"})),Sr=(0,d.Z)(rr,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Yr=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Ft);return f.createElement(Sr,In(In({color:"gray.100"},kr),{},{sx:In({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Pr=Yr;var Mn=e(646263),sr=e(472569),Ar=["sx"];function vr(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function qr(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?vr(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):vr(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Dr=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M2 2h5v1.5H3.5v9h9V9H14v5H2V2z"}),f.createElement("path",{d:"M9 3.5h2.44L6.97 7.97l1.06 1.06 4.47-4.47V7H14V2H9v1.5z"})),eo=(0,d.Z)(Dr,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Vo=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Ar);return f.createElement(eo,qr(qr({color:"gray.100"},kr),{},{sx:qr({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Bn=Vo;var ar=["sx"];function rn(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function Rt(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?rn(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):rn(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Qe=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("g",{clipPath:"url(#prefix__clip0_11521_78)"},f.createElement("path",{d:"M3.44 13.571l-1.519 1.52-1.013-1.013 1.52-1.52L3.44 13.57z"}),f.createElement("path",{d:"M2.428 10.532l3.039 3.039 1.013-1.013-3.04-3.04-1.012 1.014zm3.593 4.51l-.06.054a.784.784 0 01-.99 0l-.059-.053-3.956-3.957-.053-.059a.784.784 0 010-.99l.053-.06 1.93-1.93a.784.784 0 011.05-.053l.06.053 3.955 3.956.054.06a.784.784 0 01-.054 1.05l-1.93 1.93z"}),f.createElement("path",{d:"M10.532 6.48L6.48 10.532 5.467 9.519l4.052-4.052 1.013 1.013zM13.571 5.467l-3.04-3.04L9.52 3.442l3.039 3.039 1.013-1.013zM9.977.957l.06-.054a.784.784 0 01.99 0l.06.053 3.956 3.956.053.06a.784.784 0 010 .99l-.053.06-1.93 1.93a.784.784 0 01-1.05.053l-.06-.054-3.956-3.956-.053-.06a.784.784 0 01.053-1.049l1.93-1.93z"}),f.createElement("path",{d:"M15.09 1.921l-1.52 1.52-1.012-1.013 1.52-1.52 1.013 1.013z"})),f.createElement("defs",null,f.createElement("clipPath",{id:"prefix__clip0_11521_78"},f.createElement("path",{d:"M0 0h16v16H0z",fill:"#fff"})))),Ye=(0,d.Z)(Qe,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),yt=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,ar);return f.createElement(Ye,Rt(Rt({color:"gray.100"},kr),{},{sx:Rt({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Ze=yt;var Mt=e(934492),ot=e(193279),et=e(8011),St=e(401686),Ht=e(711879),er=e(217707),Mr=e(905394),mn=["sx"];function Un(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function hr(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Un(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Un(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var br=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{clipRule:"evenodd",d:"M8 6.8c-.12-.137-.255-.285-.402-.435-.574-.585-1.46-1.347-2.448-1.548-1.93-.394-3.9.984-3.9 3.183 0 2.198 1.97 3.576 3.9 3.182.988-.201 1.874-.963 2.448-1.548.147-.15.282-.298.402-.435.12.137.255.285.402.435.574.585 1.46 1.347 2.448 1.548 1.93.394 3.9-.984 3.9-3.182 0-2.2-1.97-3.577-3.9-3.183-.988.201-1.874.963-2.448 1.548-.147.15-.282.298-.402.435zM2.75 8c0-1.181 1.03-1.931 2.1-1.713.512.104 1.126.567 1.677 1.129.205.208.383.413.525.584-.142.17-.32.375-.525.584-.55.561-1.165 1.024-1.677 1.128-1.07.219-2.1-.532-2.1-1.712zm10.5 0c0-1.181-1.03-1.931-2.1-1.713-.513.104-1.126.567-1.677 1.129A9.354 9.354 0 008.948 8c.142.17.32.375.525.584.55.561 1.164 1.024 1.677 1.128 1.07.219 2.1-.532 2.1-1.712z",fillRule:"evenodd"})),io=(0,d.Z)(br,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Kr=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,mn);return f.createElement(io,hr(hr({color:"gray.100"},kr),{},{sx:hr({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const xo=Kr;var Ho=e(826081),bo=e(826310),Ea=["sx"];function Ia(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function Da(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Ia(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Ia(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Za=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M13 1.5H6.241L3 4.788v9.756h4V13H4.5V6h3V3h4l-.013 1.5H13v-3z"}),f.createElement("path",{d:"M11.43 7.75a2 2 0 100 4h1.738a.625.625 0 010 1.25H9.503v1.5H11.5V16H13v-1.5h.168a2.125 2.125 0 000-4.25H11.43a.5.5 0 110-1h3.477v-1.5H13V6h-1.5v1.75h-.07z"})),Xa=(0,d.Z)(Za,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),ba=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Ea);return f.createElement(Xa,Da(Da({color:"gray.100"},kr),{},{sx:Da({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const ns=ba;var Ja=["sx"];function Is(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function Vr(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Is(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Is(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Qr=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M10.667 7.003a1.333 1.333 0 100-2.667 1.333 1.333 0 000 2.667z"}),f.createElement("path",{clipRule:"evenodd",d:"M5 14.003v-.667h.667l.666-.667v-.666h.584l1.187-1.04a5 5 0 10-2.95-3.392L1 11.727v2.943h3.333L5 14.003zm1.333-7.667a3.667 3.667 0 111.968 3.25l-.405-.212-1.48 1.295H5v1.334H3.667v1.333H2.333v-1.057l4.341-4.341-.138-.395a3.66 3.66 0 01-.203-1.207z",fillRule:"evenodd"})),To=(0,d.Z)(Qr,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),xr=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Ja);return f.createElement(To,Vr(Vr({color:"gray.100"},kr),{},{sx:Vr({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const uo=xr;var Mo=["sx"];function go(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function ea(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?go(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):go(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var ha=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M8.004 13.604L15 10.152v1.673l-6.664 3.288h-.664L1 11.821v-1.673l7.004 3.457z"}),f.createElement("path",{d:"M8.004 10.604L15 7.152v1.673l-6.664 3.288h-.664L1 8.821V7.148l7.004 3.457z"}),f.createElement("path",{clipRule:"evenodd",d:"M15 4.154v1.681L8.335 9.123h-.664L1 5.832V4.157L7.664.781h.678L15 4.154zm-12.32.833l5.323 2.626 5.322-2.626L8.003 2.29 2.68 4.987z",fillRule:"evenodd"})),yr=(0,d.Z)(ha,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Lr=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Mo);return f.createElement(yr,ea(ea({color:"gray.100"},kr),{},{sx:ea({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const ao=Lr;var ho=e(971753),Lo=e(667e3),Yo=["sx"];function jo(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function Xo(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?jo(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):jo(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Ua=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M15.272 1.453H.727v1.455h14.545V1.453z"}),f.createElement("path",{clipRule:"evenodd",d:"M7.026 4.362h1.976l2.524 6.842v.43h-1.352L9.458 9.6H6.47l-.715 2.036H4.472v-.431l2.554-6.842zm.672 1.777c-.104.3-.232.669-.427 1.218l-.373 1.037h2.154l-.355-1.038a90.186 90.186 0 01-.6-1.77H7.89l-.192.553z",fillRule:"evenodd"}),f.createElement("path",{d:"M15.272 13.09H.727v1.454h14.545v-1.455z"})),ds=(0,d.Z)(Ua,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),us=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Yo);return f.createElement(ds,Xo(Xo({color:"gray.100"},kr),{},{sx:Xo({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const ys=us;var Ys=e(822885),Gs=["sx"];function xs(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function Ai(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?xs(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):xs(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Pi=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M8 1c2.697 0 5.5 1.927 5.5 5.438 0 .929-.335 1.888-.767 2.753-.437.878-1.011 1.735-1.57 2.476a26.5 26.5 0 01-2.033 2.375l-.443.458H7.313l-.443-.458a26.517 26.517 0 01-2.032-2.375c-.56-.741-1.134-1.598-1.571-2.476-.432-.865-.767-1.824-.767-2.754C2.5 2.928 5.303 1 8 1zm0 1.5c-2.03 0-4 1.407-4 3.938 0 .593.223 1.308.61 2.084.381.767.898 1.541 1.425 2.24A25.04 25.04 0 007.95 13h.102a25.04 25.04 0 001.914-2.237c.527-.7 1.044-1.474 1.426-2.24.386-.777.609-1.492.609-2.085C12 3.908 10.03 2.5 8 2.5zM8 5a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"})),ei=(0,d.Z)(Pi,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),hi=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Gs);return f.createElement(ei,Ai(Ai({color:"gray.100"},kr),{},{sx:Ai({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const ks=hi;var Ms=e(485669),bs=e(85426),Hs=["sx"];function Os(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function Vs(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Os(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Os(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var _s=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M4.11 5.113h7.777v1.555H4.11V5.113zM11.887 8.222H4.11v1.556h7.778V8.222z"}),f.createElement("path",{clipRule:"evenodd",d:"M4.889 12.889l-2.333 2.333H1V2h14v10.889H4.889zm8.555-1.556h-9.2l-1.688 1.69V3.555h10.888v7.777z",fillRule:"evenodd"})),fs=(0,d.Z)(_s,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Ss=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Hs);return f.createElement(fs,Vs(Vs({color:"gray.100"},kr),{},{sx:Vs({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const hs=Ss;var li=e(589197),Ni=["sx"];function Ji(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function wi(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Ji(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Ji(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var vi=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{clipRule:"evenodd",d:"M4 7.25v1.5h8v-1.5H4z",fillRule:"evenodd"})),sl=(0,d.Z)(vi,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Zi=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Ni);return f.createElement(sl,wi(wi({color:"gray.100"},kr),{},{sx:wi({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Zs=Zi;var Bs=["sx"];function ti(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function gi(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?ti(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):ti(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var yi=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M10.096 11.499h-4.2v1.4h4.2v-1.4z"}),f.createElement("path",{clipRule:"evenodd",d:"M10.096 1h-4.2a2.1 2.1 0 00-2.1 2.1v9.799c0 1.16.941 2.1 2.1 2.1h4.2a2.1 2.1 0 002.1-2.1v-9.8A2.1 2.1 0 0010.096 1zm-4.9 2.1a.7.7 0 01.7-.7h4.2a.7.7 0 01.7.7v9.799a.7.7 0 01-.7.7h-4.2a.7.7 0 01-.7-.7v-9.8z",fillRule:"evenodd"})),ki=(0,d.Z)(yi,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),bi=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Bs);return f.createElement(ki,gi(gi({color:"gray.100"},kr),{},{sx:gi({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const nl=bi;var Si=["sx"];function ta(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function ke(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?ta(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):ta(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Jt=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M2.556 3.676c0 .212.174.383.388.383h.39v.765H1v-.765h.389a.386.386 0 00.389-.383V2.53H1v-.764c.43 0 .778-.343.778-.765h.778v2.676zM15 2.53H5.667v1.529H15v-1.53zM15 7.118H5.667v1.53H15v-1.53zM5.667 11.706H15v1.53H5.667v-1.53zM1 9.412v-.383c0-.371.121-.66.341-.876l1.101-1.082a.385.385 0 00.114-.27c0-.277-.175-.448-.39-.448a.386.386 0 00-.388.382v.383H1v-.383c0-.632.523-1.147 1.167-1.147.643 0 1.166.515 1.166 1.147 0 .372-.121.66-.341.877L1.939 8.647h1.394v.765H1zM2.169 10.177c.642 0 1.164.514 1.164 1.146 0 .296-.116.562-.303.765.187.204.303.47.303.765 0 .632-.522 1.147-1.164 1.147A1.16 1.16 0 011 12.86l.776-.007c.001.212.176.382.388.382a.387.387 0 00.393-.382.386.386 0 00-.388-.382h-.388v-.765h.388a.386.386 0 00.388-.383.386.386 0 00-.388-.382.386.386 0 00-.388.382h-.776c0-.632.522-1.146 1.164-1.146z"})),Fn=(0,d.Z)(Jt,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),mr=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Si);return f.createElement(Fn,ke(ke({color:"gray.100"},kr),{},{sx:ke({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Tr=mr;var Oo=e(735098),Uo=e(192500),gt=["sx"];function it(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function Lt(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?it(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):it(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var $t=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{clipRule:"evenodd",d:"M4.063 7.125a3.063 3.063 0 100-6.125 3.063 3.063 0 000 6.125zm0-1.75a1.313 1.313 0 100-2.625 1.313 1.313 0 000 2.625zM11.938 15a3.062 3.062 0 100-6.125 3.062 3.062 0 000 6.125zm0-1.75a1.312 1.312 0 100-2.625 1.312 1.312 0 000 2.625z",fillRule:"evenodd"}),f.createElement("path",{d:"M10.418 1L3.625 15h1.957l6.793-14h-1.957z"})),_n=(0,d.Z)($t,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),dn=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,gt);return f.createElement(_n,Lt(Lt({color:"gray.100"},kr),{},{sx:Lt({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Jn=dn;var Hn=["sx"];function jr(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function wo(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?jr(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):jr(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var ko=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("g",{clipPath:"url(#prefix__clip0_11644_105)"},f.createElement("path",{d:"M7.999 2.531a7.296 7.296 0 016.321 10.934l-1.343-.672a5.796 5.796 0 10-9.978-.035l-1.344.672A7.296 7.296 0 018 2.532z"}),f.createElement("path",{d:"M10.287 6.972l-1.644 4.181-.778 1.348-1.732-1 .777-1.348 2.8-3.515.577.334z"})),f.createElement("defs",null,f.createElement("clipPath",{id:"prefix__clip0_11644_105"},f.createElement("path",{d:"M0 0h16v16H0z",fill:"#fff"})))),Sa=(0,d.Z)(ko,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Na=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Hn);return f.createElement(Sa,wo(wo({color:"gray.100"},kr),{},{sx:wo({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const qa=Na;var ms=["sx"];function Us(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function $i(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Us(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Us(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Mi=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M5.332 1.75l1.833 1.937-.875 2.57-.133.39.257.322 2 2.5.315.391.481-.14 3.086-.902 1.954 1.849v3.583h-.027c-3.785 0-6.904-1.335-9.077-3.563C2.974 8.459 1.75 5.339 1.75 1.777V1.75h3.582z",stroke:"#0E0E0E",strokeWidth:1.5})),si=(0,d.Z)(Mi,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),rl=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,ms);return f.createElement(si,$i($i({color:"gray.100"},kr),{},{sx:$i({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const El=rl;var Ui=e(178757),il=e(127649),fl=e(32692),oi=["sx"];function Nl(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function xl(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Nl(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Nl(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Ic=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("g",{clipPath:"url(#prefix__clip0_12484_66)",fill:ur.color},f.createElement("path",{d:"M8.984 4.5h-6.25a.25.25 0 00-.25.25L2.488 6H9v1.5H2.493l.015 4.75c0 .138.112.25.25.25h10.5a.25.25 0 00.25-.25L13.484 8h1.5l.024 4.25a1.75 1.75 0 01-1.75 1.75h-10.5a1.75 1.75 0 01-1.75-1.75l-.024-7.5c0-.966.784-1.75 1.75-1.75h6.25v1.5z"}),f.createElement("path",{d:"M5 9a1 1 0 110 2 1 1 0 010-2zM11 4a2 2 0 012 2h-2V4zM11 1.25A4.75 4.75 0 0115.75 6h-1.5A3.25 3.25 0 0011 2.75v-1.5z"})),f.createElement("defs",null,f.createElement("clipPath",{id:"prefix__clip0_12484_66"},f.createElement("path",{d:"M0 0h16v16H0z",fill:"#fff"})))),Kl=(0,d.Z)(Ic,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Jl=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,oi);return f.createElement(Kl,xl(xl({color:"gray.100"},kr),{},{sx:xl({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Vi=Jl;var _c=e(742283),mc=e(685656),zl=["sx"];function $l(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function ln(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?$l(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):$l(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var sn=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{clipRule:"evenodd",d:"M8 15A7 7 0 108 1a7 7 0 000 14zM6.102 4.977C6.5 4.478 7.138 4.039 8 4.039c.914 0 1.566.421 1.967.956.378.504.533 1.102.533 1.544 0 .575-.147 1.038-.39 1.421-.233.367-.533.624-.762.81-.538.436-.598.495-.598.686h-1.5c0-.953.669-1.473 1.046-1.766l.106-.084c.208-.17.346-.3.441-.45C8.928 7.023 9 6.84 9 6.54c0-.14-.063-.418-.233-.644-.145-.194-.369-.356-.767-.356-.305 0-.542.144-.727.375-.203.254-.273.53-.273.625H5.5c0-.489.222-1.087.602-1.562zm2.773 5.351v1.75h-1.75v-1.75h1.75z",fillRule:"evenodd"})),zn=(0,d.Z)(sn,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Er=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,zl);return f.createElement(zn,ln(ln({color:"gray.100"},kr),{},{sx:ln({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const zr=Er;var Ao=["sx"];function Zo(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function ia(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Zo(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Zo(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var So=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M5.667 5.732v1.493h4.666V5.732H5.667zM5.667 8.717v1.493h3.11V8.717h-3.11z"}),f.createElement("path",{clipRule:"evenodd",d:"M1 2v2.24h1.556v9.605L3.587 15l1.442-1.21L6.5 14.886l1.5-1.12 1.5 1.12 1.47-1.098L12.413 15l1.032-1.155V4.239H15V2H1zm3.111 1.493h7.778v9.084l-.86-.722L9.5 12.996 8 11.876l-1.5 1.12-1.53-1.141-.859.722V3.493z",fillRule:"evenodd"})),Ha=(0,d.Z)(So,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),is=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Ao);return f.createElement(Ha,ia(ia({color:"gray.100"},kr),{},{sx:ia({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const as=is;var es=e(971071),Qs=["sx"];function Rs(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function rs(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Rs(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Rs(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Cs=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M13.609 2.391L15 2.906v.388l-1.391.515-.515 1.391h-.388l-.515-1.391-1.391-.515v-.388l1.391-.515L12.706 1h.388l.515 1.391zM8.57 1.7l-.343.927-.927.343v.26l.927.343.343.927h.26l.343-.927.927-.343v-.26l-.927-.343L8.83 1.7h-.26zM12.427 6.827l.344-.927h.258l.344.927.927.343v.26l-.927.343-.343.927h-.26l-.343-.927-.927-.343v-.26l.927-.343zM10.1 8V6.015l-3.5 3.5-2.1-2.1V9.4l2.1 2.1L10.1 8z"}),f.createElement("path",{d:"M3.915 5.157a4.9 4.9 0 012.239-1.221l-.327-1.361a6.3 6.3 0 107.553 7.774l-1.35-.367a4.901 4.901 0 11-8.115-4.825z"})),Fs=(0,d.Z)(Cs,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Ks=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Qs);return f.createElement(Fs,rs(rs({color:"gray.100"},kr),{},{sx:rs({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Ls=Ks;var Js=e(430652),Ts=e(344202),zs=e(161999),Bi=e(490807),qs=["sx"];function Ti(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function ui(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Ti(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Ti(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var qi=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{clipRule:"evenodd",d:"M10.163 5.383L8 1 5.837 5.383 1 6.086l3.5 3.411-.826 4.818L8 12.04l4.326 2.275-.826-4.818L15 6.086l-4.837-.703zm1.494 1.789L9.13 6.805 8 4.515l-1.13 2.29-2.527.367L6.17 8.954l-.431 2.517L8 10.283l2.26 1.188-.431-2.517 1.828-1.782z",fillRule:"evenodd"})),Ko=(0,d.Z)(qi,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Ur=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,qs);return f.createElement(Ko,ui(ui({color:"gray.100"},kr),{},{sx:ui({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const aa=Ur;var ca=e(469859),As=["sx"];function Ri(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function Ei(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Ri(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Ri(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var pi=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{clipRule:"evenodd",d:"M15 8A7 7 0 111 8a7 7 0 0114 0zm-1.5 0a5.5 5.5 0 01-8.881 4.338l7.72-7.72A5.476 5.476 0 0113.5 8zm-9.928 3.264l7.692-7.692a5.5 5.5 0 00-7.691 7.691z",fillRule:"evenodd"})),Gi=(0,d.Z)(pi,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Eo=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,As);return f.createElement(Gi,Ei(Ei({color:"gray.100"},kr),{},{sx:Ei({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const _l=Eo;var Al=e(727230),Pl=e(701537),Wi=["sx"];function Mc(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function Fc(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Mc(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Mc(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Ou=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M5 1.508h6v-1.5H5v1.5zM8.656 6v4h-1.5V6h1.5z"}),f.createElement("path",{clipRule:"evenodd",d:"M13.996 9A5.999 5.999 0 112 9a5.999 5.999 0 019.952-4.512L12.97 3.47l1.06 1.06-1.081 1.082A5.973 5.973 0 0113.996 9zm-1.5 0a4.5 4.5 0 11-4.498-4.5A4.499 4.499 0 0112.496 9z",fillRule:"evenodd"})),Rl=(0,d.Z)(Ou,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),gu=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Wi);return f.createElement(Rl,Fc(Fc({color:"gray.100"},kr),{},{sx:Fc({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Hl=gu;var Cl=e(886314),Dl=["sx"];function kl(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function ll(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?kl(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):kl(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var el=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M5.664 14h-2L6.58 8.75H5v-1.5h2.414L10.33 2h2L5.664 14zM13.057 4.297A4.5 4.5 0 0110.5 12.5H9V11h1.5a3 3 0 003-3c0-.971-.463-1.832-1.179-2.38l.736-1.323z"}),f.createElement("path",{d:"M7 5H5.5a3 3 0 00-3 3c0 .97.463 1.83 1.178 2.379l-.736 1.323A4.5 4.5 0 015.5 3.5H7V5z"})),vc=(0,d.Z)(el,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Bl=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Dl);return f.createElement(vc,ll(ll({color:"gray.100"},kr),{},{sx:ll({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const oc=Bl;var Wc=["sx"];function Ll(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function Qa(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Ll(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Ll(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Eu=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M9.398 10.5h-2.8V9.1h2.8v1.4z"}),f.createElement("path",{clipRule:"evenodd",d:"M7.998 1.4a2.1 2.1 0 00-2.1 2.1v2.1h7.7V14h-11.2V5.6h2.1V3.5a3.5 3.5 0 016.93-.7h-1.45a2.1 2.1 0 00-1.98-1.4zm4.2 11.2V7h-8.4v5.6h8.4z",fillRule:"evenodd"})),Ul=(0,d.Z)(Eu,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),ql=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Wc);return f.createElement(Ul,Qa(Qa({color:"gray.100"},kr),{},{sx:Qa({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const Sc=ql;var Rc=["sx"];function Mu(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function dc(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?Mu(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):Mu(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var ec=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{d:"M1 2.555h1.556V4.11H1V2.555zM4.111 2.555h1.556V4.11H4.11V2.555zM7.222 2.555h1.556V4.11H7.222V2.555zM10.333 2.555h1.556V4.11h-1.556V2.555zM13.444 2.555H15V4.11h-1.556V2.555zM1 11.888h1.556v1.556H1v-1.556zM4.111 11.888h1.556v1.556H4.11v-1.556zM7.222 11.888h1.556v1.556H7.222v-1.556zM10.333 11.888h1.556v1.556h-1.556v-1.556zM13.444 11.888H15v1.556h-1.556v-1.556zM1 5.666h1.556V7.22H1V5.666zM13.444 5.666H15V7.22h-1.556V5.666zM1 8.777h1.556v1.556H1V8.776zM13.444 8.777H15v1.556h-1.556V8.776zM6.444 10.566V5.432L10.722 8l-4.278 2.566z"})),tc=(0,d.Z)(ec,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),qc=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,Rc);return f.createElement(tc,dc(dc({color:"gray.100"},kr),{},{sx:dc({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const hu=qc;var Tc=e(28304),ac=["sx"];function sc(ur,Xr){var Fr=Object.keys(ur);if(Object.getOwnPropertySymbols){var kr=Object.getOwnPropertySymbols(ur);Xr&&(kr=kr.filter(function(Ge){return Object.getOwnPropertyDescriptor(ur,Ge).enumerable})),Fr.push.apply(Fr,kr)}return Fr}function wc(ur){for(var Xr=1;Xr<arguments.length;Xr++){var Fr=arguments[Xr]!=null?arguments[Xr]:{};Xr%2?sc(Object(Fr),!0).forEach(function(kr){n()(ur,kr,Fr[kr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ur,Object.getOwnPropertyDescriptors(Fr)):sc(Object(Fr)).forEach(function(kr){Object.defineProperty(ur,kr,Object.getOwnPropertyDescriptor(Fr,kr))})}return ur}var Nc=ur=>f.createElement("svg",u()({color:ur.color,fill:"currentColor",height:16,viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg"},ur),f.createElement("path",{clipRule:"evenodd",d:"M2.848 3.8H13.05L14 15H2l.848-11.2zm1.218 1.4l-.635 8.4h9.125l-.712-8.4H4.066zM13.278 2.4H2.715V1h10.563v1.4z",fillRule:"evenodd"}),f.createElement("path",{clipRule:"evenodd",d:"M7.336 4.5V1.7h1.32v2.8h-1.32zM7.997 11.5c1.093 0 1.98-.94 1.98-2.1 0-1.16-.887-2.1-1.98-2.1-1.094 0-1.98.94-1.98 2.1 0 1.16.886 2.1 1.98 2.1zm0 1.4c1.823 0 3.3-1.567 3.3-3.5s-1.477-3.5-3.3-3.5c-1.823 0-3.301 1.567-3.301 3.5s1.478 3.5 3.3 3.5z",fillRule:"evenodd"}),f.createElement("path",{clipRule:"evenodd",d:"M8.657 8.7v3.5h-1.32V8.7h1.32z",fillRule:"evenodd"})),Kc=(0,d.Z)(Nc,{shouldForwardProp:h.ZP})((0,g.Z)(_.$_,_.sx,_.iv)),Yl=ur=>{var Xr=ur.sx,Fr=Xr===void 0?{}:Xr,kr=i()(ur,ac);return f.createElement(Kc,wc(wc({color:"gray.100"},kr),{},{sx:wc({"@media (forced-colors: active)":{color:"inherit"}},Fr)}))};const ou=Yl},445328:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M3 4h16V2H3v2z"}),d.createElement("path",{clipRule:"evenodd",d:"M3 6v10h16V6H3zm14 2H5v6h12V8z",fillRule:"evenodd"}),d.createElement("path",{d:"M3 20v-2h16v2H3z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},230540:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M9 5a1 1 0 11-2 0 1 1 0 012 0zm1.83 1a3.001 3.001 0 01-5.66 0H3V4h2.17a3.001 3.001 0 015.66 0H19v2h-8.17zM15 11a1 1 0 11-2 0 1 1 0 012 0zm1.83 1a3.001 3.001 0 01-5.66 0H3v-2h8.17a3.001 3.001 0 015.66 0H19v2h-2.17zM8 18a1 1 0 100-2 1 1 0 000 2zm0 2a3.001 3.001 0 002.83-2H19v-2h-8.17a3.001 3.001 0 00-5.66 0H3v2h2.17A3.001 3.001 0 008 20z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},477556:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M6.956 1.839h-.008A5.95 5.95 0 001 7.79a5.95 5.95 0 005.948 5.951h.008a5.95 5.95 0 005.948-5.951 5.95 5.95 0 00-5.948-5.952zM7.008 17.758v.003a2.4 2.4 0 004.803 0v-.003a2.4 2.4 0 00-4.803 0zM21 13.272v-.005c0-2.075-1.706-3.757-3.811-3.757s-3.812 1.682-3.812 3.757v.005c0 2.075 1.707 3.757 3.812 3.757 2.105 0 3.811-1.682 3.811-3.757z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},357379:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M3 3h16v16H3V3zm2 2v12h12V5H5z",fillRule:"evenodd"}),d.createElement("path",{d:"M14 7h-4v4a2 2 0 102 2V9h2V7z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},677818:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10 20V2h2v18h-2zM17.328 12H22v-2h-4.672l3-3H17.5l-4 4 4 4h2.828l-3-3zM0 12h4.672l-3 3H4.5l4-4-4-4H1.672l3 3H0v2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},919389:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M2 2v18h2V2H2zM16 12H9.328l3 3H9.5l-4-4 4-4h2.829l-3 3H16v2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},198678:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M20 20V2h-2v18h2zM6 10h6.672l-3-3H12.5l4 4-4 4H9.672l3-3H6v-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},502814:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12 6v6.672l3-3V12.5l-4 4-4-4V9.672l3 3V6h2zM2 20h18v-2H2v2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},20203:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10 0v4.672l-3-3V4.5l4 4 4-4V1.672l-3 3V0h-2zM2 10h18v2H2v-2zM10 17.328V22h2v-4.672l3 3V17.5l-4-4-4 4v2.828l3-3z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},893326:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M20 2H2v2h18V2zM10 16V9.328l-3 3V9.5l4-4 4 4v2.829l-3-3V16h-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},909437:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M2 2v8h8V2H2zm6 2H4v4h4V4zM2 12h8v8H2v-8zm2 2h4v4H4v-4zM12 12h8v8h-8v-8zm2 2h4v4h-4v-4z",fillRule:"evenodd"}),d.createElement("path",{d:"M15 2h2v3h3v2h-3v3h-2V7h-3V5h3V2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},390414:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M2.012 19a1 1 0 110 2 1 1 0 010-2zM5.012 19a1 1 0 110 2 1 1 0 010-2zM8.012 19a1 1 0 110 2 1 1 0 010-2zM11.012 19a1 1 0 110 2 1 1 0 010-2zM14.012 19a1 1 0 110 2 1 1 0 010-2zM17.012 19a1 1 0 110 2 1 1 0 010-2zM20.012 19a1 1 0 110 2 1 1 0 010-2zM5.012 16a1 1 0 110 2 1 1 0 010-2zM8.012 16a1 1 0 110 2 1 1 0 010-2zM11.012 16a1 1 0 110 2 1 1 0 010-2zM14.012 16a1 1 0 110 2 1 1 0 010-2zM17.012 16a1 1 0 110 2 1 1 0 010-2z"}),d.createElement("path",{clipRule:"evenodd",d:"M15.012 1a6 6 0 11-2.824 11.294l-.529 1.976a1 1 0 01-1.124.729l-.1-.022-8.694-2.33-.097-.03a1.001 1.001 0 01-.631-1.094l.021-.1 2.33-8.694c.142-.533.692-.85 1.225-.707l5.545 1.486A5.991 5.991 0 0115.012 1zM3.225 10.975l6.761 1.811.496-1.853A6.002 6.002 0 019.245 5.34L5.037 4.213l-1.812 6.762zM15.012 3a4 4 0 100 8 4 4 0 000-8z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},249443:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M9 12H7v4h8v-4h-2v2H9v-2z"}),d.createElement("path",{clipRule:"evenodd",d:"M5 8V2h12v6h2v12H3V8h2zm2-4h8v4H7V4zm10 6H5v8h12v-8z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},300195:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M18 9.25V12l-7 7-7-7V9.25l6 6V3h2v12.25l6-6z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},993850:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12.75 18H10l-7-7 7-7h2.75l-6 6H19v2H6.75l6 6z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},109045:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M9.25 18H12l7-7-7-7H9.25l6 6H3v2h12.25l-6 6z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},529746:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M4 12.75V10l7-7 7 7v2.75l-6-6V19h-2V6.75l-6 6z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},389475:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M11 20a9 9 0 100-18 9 9 0 000 18zm.002-14.5L15.5 9.98v2.823L12 9.318V16h-2V9.32l-3.5 3.482V9.98l4.502-4.48z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},437277:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M19 14V8H3v6h16zm2-8H1v10h20V6z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},528720:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M17 5H5v12h12V5zM3 3v16h16V3H3z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},523194:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M15 4H7v14h8V4zM5 2v18h12V2H5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},476548:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M18 7H4v8h14V7zM2 5v12h18V5H2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},232496:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M16 18V4H6v14h10zm2-16H4v18h14V2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},593896:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M18 6H4v10h14V6zM2 4v14h18V4H2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},220777:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M20 13V9H2v4h18zm2-6H0v8h22V7z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},266073:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M8 12h2v-2H8v2zM14 12h-2v-2h2v2z"}),d.createElement("path",{clipRule:"evenodd",d:"M2 4v14h18V4H2zm16 2H4v4h2v2H4v4h8v-2h2v2h4V6z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},351839:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M4 2H3v6h6V2H4zm1 4V4h2v2H5zm6-2h5a4 4 0 010 8H7a2 2 0 100 4h1.5v-2H9l3 3-3 3h-.5v-2H7a4 4 0 010-8h9a2 2 0 100-4h-5V4zm5.75 9.75a3.25 3.25 0 100 6.5 3.25 3.25 0 000-6.5zM15.5 17a1.25 1.25 0 112.5 0 1.25 1.25 0 01-2.5 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},743921:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M4 9H2V5l8.3-4h1.4L20 5v4h-2v5h2v6H2v-6h2V9zm7.243-6L18 6.256V7H4v-.744L10.757 3h.486zM6 9v5h2V9H6zm4 0v5h2V9h-2zm4 0v5h2V9h-2zM4 16v2h14v-2H4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},822751:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M15 2h4v14h-4V2zM13 7H9v9h4V7zM7 12H3v4h4v-4zM19 18H3v2h16v-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},412010:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M15.274 8.688L16.586 10 18 8.586 10.414 1 9 2.414l1.312 1.312L3 7.382V16h8.618l3.656-7.312zm-1.49-1.49L10.381 14H6.414l3.793-3.793-1.414-1.414L5 12.586V8.618l6.803-3.401 1.98 1.98z",fillRule:"evenodd"}),d.createElement("path",{d:"M3 20h16v-2H3v2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},784347:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M15.274 8.688L16.586 10 18 8.586 10.414 1 9 2.414l1.312 1.312L3 7.382V16h8.618l3.656-7.312zm-1.49-1.49L10.381 14H6.414l3.793-3.793-1.414-1.414L5 12.586V8.618l6.803-3.401 1.98 1.98z",fillRule:"evenodd"}),d.createElement("path",{d:"M3 20h8.618v-2H3v2z"}),d.createElement("path",{clipRule:"evenodd",d:"M15 15h-1v6h8v-6h-1v-1a3 3 0 10-6 0v1zm4 0v-1a1 1 0 10-2 0v1h2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},745697:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M5 4h6.5a4 4 0 013.42 6.076A4.5 4.5 0 0112 18H5V4zm3 3h3.5a1 1 0 110 2H8V7zm0 5v3h4a1.5 1.5 0 000-3H8z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},755210:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12 4V0h-2v4h2z"}),d.createElement("path",{clipRule:"evenodd",d:"M9 21h4a2 2 0 012-2h5V7h-4a5.994 5.994 0 00-5 2.682A5.994 5.994 0 006 7H2v12h5a2 2 0 012 2zm-2-4a3.99 3.99 0 013 1.354V13a4 4 0 00-4-4H4v8h3zm8 0a3.99 3.99 0 00-3 1.354V13a4 4 0 014-4h2v8h-3z",fillRule:"evenodd"}),d.createElement("path",{d:"M6.006 1.543L8.834 4.37 7.42 5.786 4.592 2.957l1.414-1.414zM14.58 5.786l2.828-2.829-1.414-1.414-2.828 2.828 1.414 1.415z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},493106:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12 0v4h-2V0h2z"}),d.createElement("path",{clipRule:"evenodd",d:"M12 21v-8a4 4 0 014-4h4V7h-4a5.994 5.994 0 00-5 2.682A5.994 5.994 0 006 7H2v12h5a2 2 0 012 2h3zm-2-2.646A3.99 3.99 0 007 17H4V9h2a4 4 0 014 4v5.354z",fillRule:"evenodd"}),d.createElement("path",{d:"M6.006 1.543L8.834 4.37 7.42 5.786 4.592 2.957l1.414-1.414zM15.994 1.543l1.414 1.414-2.828 2.829-1.414-1.415 2.828-2.828z"}),d.createElement("path",{clipRule:"evenodd",d:"M14 15h1v-1a3 3 0 116 0v1h1v6h-8v-6zm5-1v1h-2v-1a1 1 0 112 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},132858:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M4 4v14h14V4H4zm12 2H6v10h10V6z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},263615:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M18 6h-2V4h2v2zM16 10h2V8h-2v2zM18 14h-2v-2h2v2zM18 18H4v-2h14v2zM4 14h2v-2H4v2zM6 10H4V8h2v2zM4 6h2V4H4v2zM10 6H8V4h2v2zM12 6h2V4h-2v2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},72881:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M4 6.8a1.8 1.8 0 100-3.6 1.8 1.8 0 000 3.6zM4 12.8a1.8 1.8 0 100-3.6 1.8 1.8 0 000 3.6zM4 18.8a1.8 1.8 0 100-3.6 1.8 1.8 0 000 3.6z",fillRule:"evenodd"}),d.createElement("path",{d:"M8 4h12v2H8V4zM8 10h12v2H8v-2zM8 16h12v2H8v-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},124760:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10 6h2v2h-2V6zM8 10H6v2h2v-2zM12 10h-2v2h2v-2zM8 6H6v2h2V6z"}),d.createElement("path",{clipRule:"evenodd",d:"M16 10h4v10H2V2h14v8zm0 2h2v2h-2v-2zm-2-8H4v14h2v-4h6v4h2V4zm-4 14H8v-2h2v2zm6 0h2v-2h-2v2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},400904:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M3 19V3h16v8h-2V9H5v8h5v2H3zM5 5h12v2H5V5z",fillRule:"evenodd"}),d.createElement("path",{d:"M17.47 14.977L16 12l-1.47 2.977-3.285.478 2.377 2.318-.56 3.272L16 19.5l2.939 1.545-.561-3.273 2.377-2.317-3.285-.478z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},639757:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M17 5H5v12h12V5zM3 3v16h16V3H3z",fillRule:"evenodd"}),d.createElement("path",{d:"M15 7v2.996l-5 5-3-3V9l3 3 5-5z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},826788:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M17 5.164V8l-8 8-4-4V9.164l4 4 8-8z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},125820:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M15 10V7.164l-5 5-3-3V12l3 3 5-5z"}),d.createElement("path",{clipRule:"evenodd",d:"M11 2a9 9 0 100 18 9 9 0 000-18zm-7 9a7 7 0 1114 0 7 7 0 01-14 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},518249:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M10.299 2h1.402l3.557 1.533L19 4.161l-.562 10.179L14.5 20h-7l-3.938-5.66L3 4.16l3.742-.627L10.3 2zm.408 2L7.305 5.467l-2.221.372.432 7.821L8.536 18h4.928l3.02-4.34.432-7.82-2.221-.373L11.293 4h-.586z",fillRule:"evenodd"}),d.createElement("path",{clipRule:"evenodd",d:"M14.5 9.938L9.821 14.5 7.5 12.236V9.798l2.321 2.264L14.5 7.5v2.438z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},47979:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M18 6.25V9l-7 7-7-7V6.25l7 7 7-7z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},707039:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M15.75 4H13l-7 7 7 7h2.75l-7-7 7-7z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},848201:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M6.25 4H9l7 7-7 7H6.25l7-7-7-7z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},607378:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M4 16v-2.75l7-7 7 7V16l-7-7-7 7z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},604934:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M6 7.5V10l5 5 5-5V7.5l-5 5-5-5z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},6566:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M14.5 16H12l-5-5 5-5h2.5l-5 5 5 5z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},425740:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M7.5 16H10l5-5-5-5H7.5l5 5-5 5z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},599433:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M16 14.5V12l-5-5-5 5v2.5l5-5 5 5z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},17096:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M11 18a7 7 0 100-14 7 7 0 000 14zm0 2a9 9 0 100-18 9 9 0 000 18z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},174638:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M4 4v2h4.929L5.5 18h2l3.429-12H16V4H4zM11.293 12.707L13.586 15l-2.293 2.293 1.414 1.414L15 16.414l2.293 2.293 1.414-1.414L16.414 15l2.293-2.293-1.414-1.414L15 13.586l-2.293-2.293-1.414 1.414z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},543900:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M7 10.5v-2h8v2H7z"}),d.createElement("path",{clipRule:"evenodd",d:"M11 0a2 2 0 00-2 2H3v18h16V2h-6a2 2 0 00-2-2zm4 6V4h2v14H5V4h2v2h8z",fillRule:"evenodd"}),d.createElement("path",{d:"M7 15v-2h8v2H7z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},514968:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M8 10V8h6v2h-2v5h-2v-5H8z"}),d.createElement("path",{clipRule:"evenodd",d:"M11 0a2 2 0 00-2 2H3v18h16V2h-6a2 2 0 00-2-2zm4 6V4h2v14H5V4h2v2h8z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},994765:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M14.55 2l-5 18h-2.1l5-18h2.1z"}),d.createElement("path",{clipRule:"evenodd",d:"M6 6.168v2.404L2.357 11 6 13.428v2.404l-6-4v-1.664l6-4zM16 6.168v2.404L19.642 11 16 13.428v2.404l6-4v-1.664l-6-4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},702094:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M4 11l8-8 8 8-8 8-8-8zm8-5.172L17.172 11H6.828L12 5.828z",fillRule:"evenodd"}),d.createElement("path",{d:"M3.5 13s-2 2.757-2 4.054c0 1.075.895 1.946 2 1.946s2-.871 2-1.946c0-1.297-2-4.054-2-4.054z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},331232:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M9 10a2 2 0 114 0 2 2 0 01-4 0z"}),d.createElement("path",{clipRule:"evenodd",d:"M2 4v14h18V4H2zm16 2H4v10h3v-1.571C7.857 13.57 9.571 13 11 13c1.429 0 3.143.571 4 1.429V16h3V6z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},849610:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M8 13.586l6-6v2.828l-6 6v-2.828z"}),d.createElement("path",{clipRule:"evenodd",d:"M8.586 2H18v18H4V6.586L8.586 2zM16 4h-6v4H6v10h10V4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},484004:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M15.5 12a1.5 1.5 0 100 3 1.5 1.5 0 000-3z"}),d.createElement("path",{clipRule:"evenodd",d:"M1 6a3 3 0 013-3h14a3 3 0 013 3v10a3 3 0 01-3 3H4a3 3 0 01-3-3V6zm3-1a1 1 0 00-1 1v1h16V6a1 1 0 00-1-1H4zM3 16v-6h16v6a1 1 0 01-1 1H4a1 1 0 01-1-1z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},343701:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11 9.586l5.293-5.293 1.414 1.414L12.414 11l5.293 5.293-1.414 1.414L11 12.414l-5.293 5.293-1.414-1.414L9.586 11 4.293 5.707l1.414-1.414L11 9.586z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},482112:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M18 13.444L13.444 18H8.556L4 13.444V8.556L8.556 4h4.888L18 8.556v4.888zM7.727 20L2 14.273V7.727L7.727 2h6.546L20 7.727v6.546L14.273 20H7.727zm.773-5.086l2.5-2.5L13.586 15 15 13.586 12.414 11 15 8.414 13.586 7 11 9.586 8.414 7 7 8.414 9.586 11l-2.5 2.5L8.5 14.914z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},838481:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11 12.414l-3.293 3.293-1.414-1.414L9.586 11 6.293 7.707l1.414-1.414L11 9.586l3.293-3.293 1.414 1.414L12.414 11l3.293 3.293-1.414 1.414L11 12.414z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},807181:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M8 15.414l3-3 3 3L15.414 14l-3-3 3-3L14 6.586l-3 3-3-3L6.586 8l3 3-3 3L8 15.414z"}),d.createElement("path",{clipRule:"evenodd",d:"M20 11a9 9 0 11-18 0 9 9 0 0118 0zm-2 0a7 7 0 11-14 0 7 7 0 0114 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},912309:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M1 3v16h20V3H1zm18 4H9v2h10V7zM3 7h4v2H3V7zm0 4h4v2H3v-2zm0 4h4v2H3v-2zm6 0v2h10v-2H9zm0-4v2h10v-2H9z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},453905:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11 14a3 3 0 100-6 3 3 0 000 6z"}),d.createElement("path",{clipRule:"evenodd",d:"M1 4v14h20V4H1zm18 10V8h-2V6H5v2H3v6h2v2h12v-2h2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},127260:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M2 4h18v2H2V4zM11 8h9v2h-9V8zM11 12h9v2h-9v-2zM2 16h18v2H2v-2zM4.5 8h2.83l-3 3 3 3H4.5l-3-3 3-3z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},91548:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M2 3h18v13h-8v2h3v2H7v-2h3v-2H2V3zm2 2v9h14V5H4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},230021:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M17 10.5V7.75l-5 5V2h-2v10.75l-5-5v2.75l6 6 6-6zM19 20v-2H3v2h16z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},807830:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M8 6h2v2H8V6zM10 10H8v2h2v-2zM10 14H8v2h2v-2zM14 10h-2v2h2v-2zM12 14h2v2h-2v-2zM14 6h-2v2h2V6z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},604127:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M15 13.5l-3-3V9h6v1.5l-3 3z"}),d.createElement("path",{clipRule:"evenodd",d:"M0 5v12h22V5H0zm20 2H2v8h18V7z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},729387:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M2 16V2h14v4h4v14H6v-4H2zM4 4h10v10H4V4zm4 12v2h10V8h-2v8H8z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},899407:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M18.037 4.016l1 .037-.075 1.998-1-.037c-3.237-.12-5.018.542-6.062 1.418-1.05.88-1.533 2.12-1.862 3.574-.168.745-.277 1.445-.427 2.214-.141.73-.315 1.49-.605 2.17-.295.693-.73 1.354-1.424 1.832-.696.48-1.557.709-2.582.709H4v-2h1c.724 0 1.161-.159 1.447-.356.29-.199.522-.505.719-.969.202-.475.345-1.06.482-1.768.13-.669.264-1.498.439-2.273.359-1.588.969-3.358 2.528-4.666 1.468-1.23 3.62-1.923 6.778-1.898l.644.015z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},666146:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M20.5 6.5L7 20H2v-5L15.5 1.5l5 5zm-7.823.651L4 15.828V18h2.172l8.677-8.677-2.172-2.172zm3.586.758L17.672 6.5 15.5 4.328l-1.409 1.41 2.172 2.17z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},146964:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12.8 11a1.8 1.8 0 11-3.6 0 1.8 1.8 0 013.6 0zM4.8 11a1.8 1.8 0 11-3.6 0 1.8 1.8 0 013.6 0zM19 12.8a1.8 1.8 0 100-3.6 1.8 1.8 0 000 3.6z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},570978:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M14 2h-2v2h2V2zM18 2h-2v2h2V2zM4 14h2v2H4v-2zM18 10h-2v2h2v-2zM16 6h2v2h-2V6zM6 10H4v2h2v-2zM16 14h2v2h-2v-2zM6 18H4v2h2v-2zM8 18h2v2H8v-2zM14 18h-2v2h2v-2zM16 18h2v2h-2v-2zM4 6.5L8.5 2H10v6H4V6.5z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},239161:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M14 16a2 2 0 100-4 2 2 0 000 4z"}),d.createElement("path",{clipRule:"evenodd",d:"M3 3h16v16H3V3zm14 2v2H5V5h12zM5 17V9h12v8H5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},619461:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M11 4a7 7 0 100 14 7 7 0 000-14zm-9 7a9 9 0 1118 0 9 9 0 01-18 0z",fillRule:"evenodd"}),d.createElement("path",{clipRule:"evenodd",d:"M10 13V6h2v7h-2z",fillRule:"evenodd"}),d.createElement("path",{d:"M10 14h2v2h-2v-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},183691:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M3 3h6v2H5v4H3V3zM19 3h-6v2h4v4h2V3zM9 19H3v-6h2v4h4v2zM19 19h-6v-2h4v-4h2v6z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},113830:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11 3H3v16h16v-8h-2v6H5V5h6V3z"}),d.createElement("path",{d:"M19 3h-6v2h2.586l-5.293 5.293 1.414 1.414L17 6.414V9h2V3z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},270104:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M11 19a8 8 0 100-16 8 8 0 000 16zm3-5l-3-6.5L8 14l3-1.55L14 14z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},100638:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M7 8V5.7C7 3.56 8.893 2 11 2s4 1.56 4 3.7V8h2v8H5V8h2zm2-2.3c0-.842.794-1.7 2-1.7s2 .858 2 1.7V8H9V5.7zm1 4.3v4h2v-4h-2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},172660:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 21 22",width:21,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12 0h-1L5 14h5v8h1l6-14h-5V0z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},23101:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M5 2v6h13L5 2zm0 18v-6h13L5 20zM2 10v2h2v-2H2zm4 2v-2h2v2H6zm4-2v2h2v-2h-2zm4 2v-2h2v2h-2zm4-2v2h2v-2h-2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},788922:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M2 17h6V4L2 17zM20 17h-6V4l6 13zM10 20h2v-2h-2v2zM12 16h-2v-2h2v2zM10 12h2v-2h-2v2zM12 8h-2V6h2v2zM10 4h2V2h-2v2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},16930:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M2 2h9v2h9v14H2V2zm2 14h14V6H4v10z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},199101:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M2 16.334v-.558c.586-1.668 1.204-3.403 1.823-5.138C4.44 8.903 5.06 7.168 5.646 5.5h3.197l3.617 10.276v.558h-2.113l-.954-2.807H4.966l-.94 2.807H2zm4.065-6.217l-.506 1.57h3.284l-.506-1.555a54.496 54.496 0 01-.547-1.795v-.001c-.079-.267-.161-.548-.25-.844h-.665c-.144.513-.463 1.539-.81 2.625zM20 16.334h-1.75v-.317c0-.136 0-.347.014-.483h-.043c-.42.559-1.172.966-2.344.966-1.707 0-2.836-.935-2.836-2.414 0-1.57 1.042-2.158 2.821-2.49l1.462-.272c.55-.105.665-.21.665-.558 0-.528-.42-.996-1.316-.996-.926 0-1.404.528-1.476 1.253l-1.91-.151c.145-1.51 1.375-2.701 3.414-2.701 2.098 0 3.284.98 3.284 3.168v4.542c0 .1.004.169.008.236.004.065.007.128.007.217zm-1.968-3.078v-.242c0-.12 0-.21.015-.332-.137.041-.214.054-.348.077l-.245.044-.767.136c-.94.166-1.606.347-1.606 1.086 0 .619.463.966 1.201.966 1.027 0 1.75-.634 1.75-1.735z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},750384:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M20 3V2H2v3.762l.232.278L8 12.962V18.618l.553.276 2 1 .21.106H14v-7.038l5.768-6.922.232-.278V3zM4 5.038V4h14v1.038L17.198 6H4.802L4 5.038zM6.468 8l3.3 3.96.232.278v5.144l1.236.618H12V12.238l.232-.278 3.3-3.96H6.468z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},762283:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M1 3h16v4h4v12H5v-4H1V3zm14 2v8h-2L8.5 8h-2L3 12V5h12zm4 4h-2v6H7v2h12V9zm-8.5 4h-6L7 10h1l2.5 3zm2-4a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},824229:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M4.283 4.002a2.782 2.782 0 014.43-2.438l2.293 1.698 2.39-1.735a2.764 2.764 0 014.377 2.475H19v7h-1v8H4v-8H3v-7h1.283zm10.288-.856a.764.764 0 011.174.856h-2.353l1.18-.856zm-5.926.856L7.523 3.17a.782.782 0 00-1.22.83h2.342zm7.987 2l.008.009.01-.01H17v3h-5v-3h4.632zm-.632 11h-4v-6h4v6zm-6-8v-3H5v3h5zm0 8v-6H6v6h4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},367446:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11 9.779C11 9 10.076 8 9.425 8 8.362 8 7.5 8.82 7.5 9.833 7.5 12 11.003 14 11.003 14S14.5 12 14.5 9.833C14.5 8.821 13.638 8 12.575 8 11.924 8 11 9 11 9.779z"}),d.createElement("path",{clipRule:"evenodd",d:"M4 3a3 3 0 00-3 3v10a3 3 0 003 3h14a3 3 0 003-3V6a3 3 0 00-3-3H4zM3 6a1 1 0 011-1h14a1 1 0 011 1v10a1 1 0 01-1 1H4a1 1 0 01-1-1V6z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},223826:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M11 20a9 9 0 100-18 9 9 0 000 18zm.42-2.292c-.25.282-.395.292-.42.292-.025 0-.17-.01-.42-.292-.248-.28-.518-.744-.765-1.402-.412-1.1-.707-2.598-.79-4.306h3.95c-.083 1.708-.378 3.207-.79 4.306-.247.658-.517 1.121-.766 1.402zM12.976 10H9.024c.084-1.708.379-3.207.791-4.306.247-.658.517-1.121.766-1.402C10.83 4.01 10.975 4 11 4c.025 0 .17.01.42.292.248.28.518.744.765 1.402.412 1.1.707 2.598.79 4.306zm2.002 2c-.085 1.91-.413 3.655-.92 5.008-.046.121-.093.24-.143.358A7.008 7.008 0 0017.93 12h-2.951zm2.951-2h-2.951c-.085-1.91-.413-3.655-.92-5.008a9.56 9.56 0 00-.143-.358A7.008 7.008 0 0117.93 10zM7.022 10c.085-1.91.413-3.655.92-5.008.046-.121.093-.24.143-.358A7.008 7.008 0 004.07 10h2.951zm-2.951 2a7.008 7.008 0 004.014 5.366 9.71 9.71 0 01-.143-.358c-.507-1.353-.835-3.098-.92-5.008H4.071z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},878741:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M7 6.25v-.5L10.75 2h.5L15 5.75v.5L11.25 10h-.5L7 6.25zm4 1.172L12.422 6 11 4.578 9.578 6 11 7.422zM2 11.25v-.5L5.75 7h.5L10 10.75v.5L6.25 15h-.5L2 11.25zm4 1.172L7.422 11 6 9.578 4.578 11 6 12.422zM7 16.25v-.5L10.75 12h.5L15 15.75v.5L11.25 20h-.5L7 16.25zm4 1.172L12.422 16 11 14.578 9.578 16 11 17.422zM12 11.25L15.75 15h.5L20 11.25v-.5L16.25 7h-.5L12 10.75v.5zm5.422-.25L16 12.422 14.578 11 16 9.578 17.422 11z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},560271:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M4 7.23V4h3.23v3.23H4zM9.385 7.23V4h3.23v3.23h-3.23zM14.77 4v3.23H18V4h-3.23zM4 12.615v-3.23h3.23v3.23H4zM9.385 9.385v3.23h3.23v-3.23h-3.23zM14.77 12.615v-3.23H18v3.23h-3.23zM4 14.77V18h3.23v-3.23H4zM9.385 18v-3.23h3.23V18h-3.23zM14.77 14.77V18H18v-3.23h-3.23z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},155311:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M9 17v-5H3v5H1V5h2v5h6V5h2v12H9zM21 17h-8v-2h3V9h-3V7.25c2 0 3-.75 3-2.25l2 .01V15h3v2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},777508:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M15.8 15H21v2h-8v-1.9c.34-.302.697-.59 1.09-.905.672-.539 1.448-1.162 2.417-2.088 1.62-1.553 2.293-2.288 2.293-3.574 0-1.102-.723-1.933-1.876-1.933-1.352 0-1.953.998-1.97 2.334L12.9 8.85c.016-2.187 1.403-4.05 4.024-4.05 2.472 0 3.958 1.579 3.958 3.683C20.882 11.5 18.05 13.5 15.8 15zM9 17v-5H3v5H1V5h2v5h6V5h2v12H9z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},735287:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M16.808 17.217c-2.538 0-3.991-1.536-4.141-3.674l2.02-.083c.1 1.235.819 2.037 2.155 2.037 1.269 0 2.07-.902 2.07-2.054 0-1.443-.915-1.943-2.454-1.943h-.461V9.752c1.386 0 2.415-.434 2.415-1.703 0-.986-.719-1.549-1.604-1.549-1.018 0-1.586.697-1.686 1.682l-1.92-.083c.066-1.92 1.452-3.299 3.656-3.299 2.171 0 3.59 1.312 3.59 3.165 0 1.186-.7 2.004-1.67 2.489v.033C20.216 10.955 21 12.04 21 13.51c0 2.204-1.637 3.707-4.192 3.707zM9 17v-5H3v5H1V5h2v5h6V5h2v12H9z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},534437:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M9 17v-5H3v5H1V5h2v5h6V5h2v12H9zM21.5 15H20v2h-2v-2h-5.25v-1.75L15.5 5h2.05L15 13h3V8.5h2V13h1.5v2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},475017:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M9 17v-5H3v5H1V5h2v5h6V5h2v12H9zM21 12.995c0-2.372-1.5-4.104-3.7-4.104-1.25 0-1.862.545-2.306 1l.399-2.9h4.587V5h-6.283l-.797 6.49 2.048.307c.3-.601.914-1.106 1.849-1.106 1.349 0 2.132 1.09 2.132 2.409 0 1.402-.783 2.421-2.165 2.421-1.216 0-1.899-.768-2.065-1.804l-2.049.067c.217 2.038 1.799 3.44 4.147 3.44 2.498 0 4.203-1.808 4.203-4.23z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},453512:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M17.2 4.78c2.259 0 3.614 1.372 3.865 3.312l-2.041.067c-.134-.92-.736-1.622-1.857-1.622-1.74 0-2.41 1.756-2.46 3.764h.034c.485-.57 1.389-1.138 2.744-1.138 2.258 0 3.747 1.606 3.747 3.965 0 2.376-1.706 4.082-4.166 4.082-2.91 0-4.366-2.075-4.366-5.738 0-4.2 1.456-6.692 4.5-6.692zm1.974 8.365c0-1.339-.87-2.309-2.141-2.309-1.255 0-2.141.92-2.141 2.275 0 1.372.853 2.292 2.158 2.292 1.254 0 2.124-.953 2.124-2.258z",fillRule:"evenodd"}),d.createElement("path",{d:"M9 12v5h2V5H9v5H3V5H1v12h2v-5h6z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},130774:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M6.5 2c1.86 0 3.505.923 4.5 2.337A5.5 5.5 0 0121 7.5c0 3.498-2.39 6.624-4.546 8.762a29.584 29.584 0 01-3.025 2.604c-.533.4-1.08.781-1.64 1.134h-1.561s-1.274-.81-1.638-1.07a26.864 26.864 0 01-3.036-2.525C3.38 14.295 1 11.172 1 7.5A5.5 5.5 0 016.5 2zM3 7.5a3.5 3.5 0 117 0V8h2v-.5a3.5 3.5 0 117 0c0 2.642-1.86 5.266-3.954 7.342A27.578 27.578 0 0111.2 18h-.418a24.856 24.856 0 01-3.837-3.03C4.87 12.955 3 10.328 3 7.5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},650355:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M15 2h2L7 20H5l1.593-2.87a10.926 10.926 0 01-3.296-2.188 11.662 11.662 0 01-1.712-2.078 9.866 9.866 0 01-.532-.935 4.533 4.533 0 01-.034-.072l-.012-.025-.004-.01L1 11.816v-1.634l.003-.004.004-.01.012-.025a4.533 4.533 0 01.148-.295 9.87 9.87 0 01.418-.712c.367-.57.927-1.323 1.712-2.078C4.885 5.531 7.403 4 10.997 4c.986 0 1.89.115 2.717.314L14.999 2zM2.825 11s2.229-5 8.171-5c.605 0 1.17.052 1.7.145l-1.068 1.922a3 3 0 00-2.788 5.019L7.57 15.37C4.176 14.026 2.827 11 2.827 11z",fillRule:"evenodd"}),d.createElement("path",{d:"M10.127 17.97l1.096-1.972C16.997 15.874 19.169 11 19.169 11s-.93-2.086-3.19-3.564l.973-1.751c.674.428 1.255.9 1.746 1.373a11.664 11.664 0 011.712 2.078 9.894 9.894 0 01.532.935l.034.072.012.025.004.01.002.004.001.002v.315L21 10.5v1l-.003.001v.315l-.002.002-.002.004-.004.01-.012.025-.034.072a9.89 9.89 0 01-.532.934c-.367.571-.927 1.324-1.712 2.079C17.11 16.469 14.592 18 10.998 18c-.298 0-.588-.01-.87-.03z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},117008:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M11.866 2h-1.732L3 8.036V20h16V8.036L11.866 2zM5 8.964L10.866 4h.268L17 8.964V18h-4v-6H9v6H5V8.964z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},366929:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M19 15.5l-3.5 1 2 3.5-1.5 1-2-3.5-3 2.5-1-11 9 6.5zM6.5 16.25a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5zM3.5 13.25a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5zM2.5 9.25a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5zM18.5 9.25a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5zM3.5 5.25a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5zM17.5 5.25a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5zM6.5 2.25a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5zM14.5 2.25a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5zM10.5 1.25a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},224728:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M15 11a2 2 0 100-4 2 2 0 000 4z"}),d.createElement("path",{clipRule:"evenodd",d:"M2 4h18v14H2V4zm2 2v8.586L8.586 10h1.828l6 6H18V6H4zm9.586 10H5.414l4-4h.172l4 4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},710560:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M18 6H4v10h14V6zM2 4v14h18V4H2z",fillRule:"evenodd"}),d.createElement("path",{d:"M6 10h10v2H6v-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},252245:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12.283 4.59c.771-.565 1.713-.78 2.742-.4.941.348 1.849 1.154 2.766 2.341l.611.791-1.582 1.224-.611-.791c-.832-1.077-1.457-1.534-1.875-1.689-.33-.121-.576-.077-.867.137-.352.258-.736.752-1.144 1.501-.398.733-.77 1.614-1.143 2.557-.364.92-.738 1.925-1.11 2.804-.372.878-.786 1.738-1.27 2.384-.462.62-1.175 1.286-2.177 1.245-.84-.034-1.552-.56-2.164-1.28l-.256-.321-.604-.797 1.594-1.208.604.797.205.255c.448.523.683.555.703.556a.07.07 0 00.024-.004.352.352 0 00.085-.044c.092-.06.223-.18.385-.396.33-.44.666-1.112 1.029-1.967.36-.853.706-1.782 1.092-2.76.377-.953.787-1.93 1.247-2.777.452-.83 1.006-1.636 1.716-2.157z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},76817:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M18.063 4.017l.998.062-.125 1.996-.998-.062c-1.684-.106-2.62.445-3.303 1.284-.762.936-1.239 2.256-1.822 3.835-.554 1.495-1.202 3.21-2.359 4.526C9.24 17.041 7.524 17.931 5 17.931H4v-2h1c1.977 0 3.136-.663 3.952-1.592.874-.995 1.414-2.354 1.986-3.9.54-1.463 1.127-3.153 2.146-4.405 1.03-1.264 2.469-2.058 4.553-2.033l.425.016z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},162930:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M2 4h18v2H2V4zM11 8h9v2h-9V8zM11 12h9v2h-9v-2zM2 16h18v2H2v-2zM4.5 8H1.67l3 3-3 3H4.5l3-3-3-3z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},583955:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M19 4H3v2h16V4zM3 8h16v2H3V8zM19 12H3v2h16v-2zM19 16H3v2h16v-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},941580:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M3 10V3h16v7H3zm2-5h12v3H5V5zM3 19v-7h16v7H3zm2-5h12v3H5v-3z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},509144:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M15.804 6.02C18.852 5.41 22 7.537 22 11c0 3.462-3.148 5.59-6.196 4.981-1.563-.313-2.994-1.506-3.949-2.46a17.367 17.367 0 01-.855-.925c-.242.28-.53.599-.855.924-.955.955-2.386 2.149-3.949 2.461C3.148 16.591 0 14.462 0 11.001c0-3.463 3.148-5.592 6.196-4.982 1.563.313 2.994 1.507 3.949 2.462.325.325.613.642.855.922.242-.28.53-.597.855-.922.955-.955 2.386-2.15 3.949-2.462zm-10 1.961C3.852 7.591 2 8.94 2 11.001c0 2.06 1.853 3.408 3.804 3.018.937-.187 2.006-.993 2.926-1.913.404-.404.747-.8 1-1.106-.253-.308-.596-.701-1-1.105-.92-.92-1.989-1.726-2.926-1.914zM20 11.001c0-2.061-1.852-3.41-3.804-3.02-.937.188-2.006.994-2.927 1.914-.403.404-.746.797-1 1.105.254.307.597.702 1 1.106.92.92 1.99 1.726 2.927 1.913 1.951.39 3.804-.958 3.804-3.018z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},122003:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M11 18a7 7 0 100-14 7 7 0 000 14zm9-7a9 9 0 11-18 0 9 9 0 0118 0z",fillRule:"evenodd"}),d.createElement("path",{clipRule:"evenodd",d:"M12 9v7h-2V9h2z",fillRule:"evenodd"}),d.createElement("path",{d:"M12 8h-2V6h2v2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},228287:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M17 1H7.586L3 5.586V19h7v-2H5V7h4V3h6v4h2V1z"}),d.createElement("path",{d:"M17 9h-2v2h-.5a2.5 2.5 0 000 5h3a.5.5 0 010 1h-5v2H15v2h2v-2h.5a2.5 2.5 0 000-5h-3a.5.5 0 010-1h5v-2H17V9z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},255235:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M13.429 6L10.57 16H13v2H6v-2h2.571L11.43 6H9V4h7v2h-2.571z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},397040:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M14.5 9.5a2 2 0 100-4 2 2 0 000 4z"}),d.createElement("path",{clipRule:"evenodd",d:"M6 20v-1h1l1-1v-1h.876l1.78-1.558a7.5 7.5 0 10-4.425-5.087L0 16.584V21h5l1-1zM8 8.5a5.5 5.5 0 112.951 4.875l-.607-.318L8.124 15H6v2H4v2H2v-1.586l6.511-6.51-.206-.593A5.49 5.49 0 018 8.5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},274218:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M4 14h2v-2H4v2zM6 10H4V8h2v2zM8 10h2V8H8v2zM14 10h-2V8h2v2zM16 10h2V8h-2v2zM18 14h-2v-2h2v2zM8 14h6v-2H8v2z"}),d.createElement("path",{clipRule:"evenodd",d:"M0 6a2 2 0 012-2h18a2 2 0 012 2v10a2 2 0 01-2 2H2a2 2 0 01-2-2V6zm2 0h18v10H2V6z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},326703:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M20.996 16l-8.994 4H10l-9-4v-2l10 4.25L20.996 14v2z"}),d.createElement("path",{d:"M20.996 12l-8.994 4H10l-9-4v-2l10 4.25L20.996 10v2z"}),d.createElement("path",{clipRule:"evenodd",d:"M20.996 6v2l-8.994 4H10L1 8V6l9-4h2.004l8.992 4zM3.5 7l7.5 3.25L18.5 7 11 3.75 3.5 7z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},46883:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M3 3h16v16H3V3zm2 2v12h5V5H5zm12 12h-5v-5h5v5zm0-7V5h-5v5h5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},898780:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M3 2H1v18h2V2zM21 2h-2v18h2V2z"}),d.createElement("path",{clipRule:"evenodd",d:"M9.662 6h2.717l3.47 9.407V16h-1.86l-.983-2.8H8.898L7.914 16H6.15v-.593L9.662 6zm.923 2.443c-.143.412-.318.92-.586 1.675l-.513 1.426h2.961l-.488-1.427c-.407-1.17-.638-1.86-.825-2.433h-.284c-.085.24-.167.478-.265.76z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},201511:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M22 12H0v-2h22v2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},222115:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M19.341 2.54L14.546 10h-6L4.34 16.54 2.66 15.46 7.454 8h6l4.205-6.54 1.682 1.08zM19 20H3v-2h16v2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},882769:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M6 12H0v-2h6v2zM14 12H8v-2h6v2zM22 12h-6v-2h6v2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},819927:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M18.91 5.118L3.881 17.825 2.59 16.298 17.618 3.59l1.291 1.527z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},318039:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M1 11a6 6 0 016-6h3v2H7a4 4 0 100 8h3v2H7a6 6 0 01-6-6z"}),d.createElement("path",{d:"M15 12H7v-2h8v2z"}),d.createElement("path",{d:"M15 5a6 6 0 010 12h-3v-2h3a4 4 0 000-8h-3V5h3z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},807390:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M13 9a2 2 0 11-4 0 2 2 0 014 0z"}),d.createElement("path",{clipRule:"evenodd",d:"M11.914 21h-1.828c-.461-.461-.91-.933-1.346-1.418a39.985 39.985 0 01-2.293-2.798c-.833-1.122-1.684-2.41-2.33-3.726C3.48 11.756 3 10.345 3 9c0-5.144 4.044-8 8-8 3.956 0 8 2.856 8 8 0 1.345-.48 2.756-1.118 4.058-.646 1.316-1.496 2.604-2.33 3.726a39.97 39.97 0 01-2.292 2.798A36.93 36.93 0 0111.914 21zM5 9c0-3.856 2.956-6 6-6s6 2.144 6 6c0 .905-.333 1.994-.913 3.177-.573 1.168-1.348 2.349-2.14 3.414A38.017 38.017 0 0111.077 19h-.153a37.998 37.998 0 01-2.871-3.409c-.792-1.065-1.566-2.246-2.14-3.414C5.333 10.994 5 9.905 5 9z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},327828:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10 12v4h2v-4h-2z"}),d.createElement("path",{clipRule:"evenodd",d:"M6 5v3H3v12h16V8h-3V5A5 5 0 006 5zm5-3a3 3 0 00-3 3v3h6V5a3 3 0 00-3-3zm-6 8v8h12v-8H5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},650523:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M6.449 13.827c.004.01.097.269.15.397a5.872 5.872 0 001.263 1.872 5.866 5.866 0 004.167 1.726 5.868 5.868 0 004.166-1.726 5.873 5.873 0 001.726-4.166 5.871 5.871 0 00-1.726-4.166 5.874 5.874 0 00-4.166-1.727c-.805 0-1.61.16-2.326.464-.572.242-1.542.866-2.11 1.45l-.002.004V3.107h8.145c.296-.004.296-.418.296-.554 0-.136 0-.55-.297-.553H6.928c-.24 0-.388.2-.388.384V9.21c0 .22.274.38.529.434.497.106.613-.053.734-.22L7.82 9.4c.186-.277.767-.862.773-.868a4.796 4.796 0 013.417-1.407c1.29 0 2.5.5 3.407 1.407a4.776 4.776 0 011.412 3.398 4.772 4.772 0 01-1.405 3.397 4.875 4.875 0 01-3.428 1.407 4.66 4.66 0 01-2.429-.67l.004-4.15c0-.554.24-1.155.642-1.61a2.355 2.355 0 011.784-.805c.67 0 1.295.254 1.76.715.462.458.717 1.069.717 1.719a2.452 2.452 0 01-2.483 2.473c-.268 0-.756-.119-.776-.123-.281-.084-.4.306-.44.435-.151.494.076.593.123.607.448.139.742.165 1.127.165 1.966 0 3.564-1.6 3.564-3.566 0-1.95-1.598-3.537-3.561-3.537-.962 0-1.866.368-2.545 1.035-.646.636-1.017 1.484-1.017 2.326v.021c-.003.105-.005 2.593-.006 3.41l-.004-.005c-.369-.409-.734-1.035-.976-1.675-.095-.25-.31-.206-.602-.116-.128.04-.516.16-.43.44v.004zm4.186-.975c.002.12.11.224.176.286l.02.02c.112.11.219.166.317.166a.217.217 0 00.149-.055c.05-.046.606-.61.66-.665l.62.62c.058.065.12.097.194.1.099 0 .207-.06.321-.176.268-.274.134-.422.07-.493l-.63-.63.656-.661c.144-.156.017-.322-.11-.448-.184-.185-.361-.232-.475-.127l-.653.654-.66-.66a.181.181 0 00-.127-.051c-.088 0-.193.06-.31.177-.203.203-.246.343-.14.455l.66.658-.657.658a.24.24 0 00-.08.172zm1.439-8.923c-1.056 0-2.178.213-3.003.57a.235.235 0 00-.152.204c-.01.094.014.218.077.379.052.13.187.478.45.378a7.572 7.572 0 012.628-.5c.963 0 1.898.189 2.777.56.7.296 1.359.723 2.075 1.345a.25.25 0 00.165.068c.14 0 .274-.137.389-.266.191-.215.323-.393.134-.572a7.657 7.657 0 00-2.36-1.524 8.11 8.11 0 00-3.18-.642zm5.687 13.032c-.127-.127-.235-.201-.33-.228a.239.239 0 00-.248.059l-.063.062a7.096 7.096 0 01-5.036 2.086 7.095 7.095 0 01-5.036-2.086 6.815 6.815 0 01-1.526-2.263c-.323-.8-.429-1.403-.464-1.6l-.008-.044c-.044-.233-.258-.25-.567-.202-.128.02-.518.08-.48.36v.006a8.15 8.15 0 002.295 4.492A8.156 8.156 0 0012.084 20a8.147 8.147 0 005.785-2.397l.065-.067c.083-.09.155-.248-.173-.575z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},206667:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M.04 16.52c.067-.107.173-.113.32-.02 3.333 1.933 6.96 2.9 10.88 2.9 2.613 0 5.193-.487 7.74-1.46l.29-.12a5.12 5.12 0 00.27-.12c.2-.08.357-.04.47.12.113.16.077.307-.11.44-.24.173-.547.373-.92.6-1.147.68-2.427 1.207-3.84 1.58-1.413.373-2.793.56-4.14.56-2.08 0-4.047-.363-5.9-1.09a16.246 16.246 0 01-4.98-3.07c-.08-.067-.12-.133-.12-.2 0-.04.013-.08.04-.12zm6.02-5.7c0-.92.227-1.707.68-2.36.453-.653 1.073-1.147 1.86-1.48.72-.307 1.607-.527 2.66-.66.36-.04.947-.093 1.76-.16v-.34c0-.853-.093-1.427-.28-1.72-.28-.4-.72-.6-1.32-.6h-.16c-.44.04-.82.18-1.14.42-.32.24-.527.573-.62 1-.053.267-.187.42-.4.46L6.8 5.1c-.227-.053-.34-.173-.34-.36 0-.04.007-.087.02-.14.227-1.187.783-2.067 1.67-2.64.887-.573 1.923-.893 3.11-.96h.5c1.52 0 2.707.393 3.56 1.18.134.134.258.278.37.43.113.153.203.29.27.41s.127.293.18.52c.053.227.093.383.12.47.027.087.047.273.06.56.013.287.02.457.02.51v4.84c0 .347.05.663.15.95.1.287.197.493.29.62.093.127.247.33.46.61.08.12.12.227.12.32 0 .107-.053.2-.16.28l-1.8 1.56c-.16.12-.353.133-.58.04a6.773 6.773 0 01-.49-.46c-.14-.147-.24-.253-.3-.32a4.443 4.443 0 01-.29-.39 8.232 8.232 0 00-.28-.39c-.747.813-1.48 1.32-2.2 1.52-.453.133-1.013.2-1.68.2-1.027 0-1.87-.317-2.53-.95-.66-.633-.99-1.53-.99-2.69zm3.44-.4c0 .52.13.937.39 1.25.26.313.61.47 1.05.47.04 0 .097-.007.17-.02.073-.013.123-.02.15-.02.56-.147.993-.507 1.3-1.08.147-.253.257-.53.33-.83.073-.3.113-.543.12-.73.007-.187.01-.493.01-.92v-.5c-.773 0-1.36.053-1.76.16-1.173.333-1.76 1.073-1.76 2.22zm8.4 6.44a.627.627 0 01.12-.16c.333-.227.653-.38.96-.46.507-.133 1-.207 1.48-.22.133-.013.26-.007.38.02.6.053.96.153 1.08.3.053.08.08.2.08.36v.14c0 .467-.127 1.017-.38 1.65s-.607 1.143-1.06 1.53c-.067.053-.127.08-.18.08a.178.178 0 01-.08-.02c-.08-.04-.1-.113-.06-.22.493-1.16.74-1.967.74-2.42 0-.147-.027-.253-.08-.32-.133-.16-.507-.24-1.12-.24-.227 0-.493.013-.8.04-.333.04-.64.08-.92.12-.08 0-.133-.013-.16-.04-.027-.027-.033-.053-.02-.08 0-.013.007-.033.02-.06z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},605388:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M3.5 19V3h3.1v13.078h8.797v-.857H7.485V12.3h11.011V19H3.5z"}),d.createElement("path",{d:"M15.397 3h3.07v8.207h-3.07V3zM11.293 7.31h3.07v3.897h-3.07V7.31zM10.467 7.31h-3.07v3.897h3.07V7.31z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},491653:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M19.333 6.667H13.5V5h5.833v1.667zM20.772 15c-.369 1.08-1.691 2.5-4.251 2.5-2.562 0-4.637-1.441-4.637-4.73 0-3.258 1.938-4.933 4.555-4.933 2.568 0 4.137 1.485 4.48 3.689.064.421.09.99.078 1.783h-6.689c.108 2.676 2.903 2.76 3.823 1.69h2.64zm-6.405-3.333h4.137c-.088-1.29-.947-1.85-2.064-1.85-1.222 0-1.898.64-2.074 1.85zM6.388 17.49H1V5.018h5.794c4.563.067 4.65 4.536 2.267 5.754 2.884 1.05 2.98 6.718-2.673 6.718zM3.5 10h2.987c2.09 0 2.421-2.5-.26-2.5H3.5V10zm2.826 2.5H3.5v2.513h2.784c2.546 0 2.39-2.513.042-2.513z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},661077:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M14.68 18.943c1.16-.159 2.07-.624 2.924-1.496.618-.63 1.005-1.313 1.257-2.22.105-.376.114-.56.133-2.77.015-1.667.003-2.449-.04-2.646-.064-.286-.242-.551-.446-.662-.063-.034-.464-.077-.893-.096-.717-.032-.797-.046-1.024-.179-.36-.21-.458-.438-.459-1.055-.002-1.178-.493-2.273-1.462-3.26-.691-.704-1.462-1.18-2.341-1.448-.21-.064-.682-.085-2.261-.104-2.478-.03-3.028.022-3.872.357-1.555.62-2.672 1.925-3.08 3.598-.076.314-.091.818-.11 3.71-.022 3.625.003 4.157.23 4.875.187.594.376.957.765 1.474.74.983 1.851 1.693 2.962 1.894.528.095 7.048.119 7.716.028zm-6.853-9.95c-.594-.163-.816-1.015-.38-1.455.28-.282.357-.292 2.102-.292 1.568 0 1.62.003 1.85.12.333.167.478.404.478.781 0 .34-.136.58-.439.771-.163.103-.26.11-1.795.119-.948.005-1.704-.013-1.816-.044zm-.608 5.038a.999.999 0 00.533.693c.127.055.816.1 3.247.071l2.766-.032.531-.087c.517-.292.607-1.005.179-1.405-.043-.04-.08-.074-.12-.104-.244-.178-.62-.177-3.368-.175-3.111.002-3.222.01-3.475.239-.2.181-.332.54-.293.8z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},722406:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M5.335 3.38c2.293 1.722 4.76 5.212 5.665 7.085.906-1.873 3.372-5.363 5.665-7.084C18.319 2.138 21 1.177 21 4.236c0 .61-.35 5.13-.556 5.864-.713 2.551-3.315 3.202-5.629 2.808 4.045.689 5.074 2.969 2.852 5.25-4.22 4.33-6.066-1.087-6.54-2.476-.086-.254-.126-.373-.127-.272 0-.101-.041.018-.128.272-.473 1.389-2.318 6.806-6.539 2.475-2.222-2.28-1.193-4.56 2.852-5.249-2.314.394-4.916-.257-5.63-2.808C1.35 9.366 1 4.846 1 4.236c0-3.059 2.68-2.098 4.335-.855z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},30591:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M20 10a9 9 0 10-17.992.374c-.008.398.034 1.292.448 2.462a8.98 8.98 0 001.747 3.063c1.228 1.53 3.133 3.178 6.087 4.693a1.56 1.56 0 001.42 0c2.955-1.516 4.86-3.163 6.087-4.693a9.005 9.005 0 001.747-3.063c.415-1.17.457-2.064.449-2.462.004-.124.007-.248.007-.374zM7.354 5.955a.722.722 0 011.042.023l1.9 2.059-.824.893-2.095-1.932a.721.721 0 01-.023-1.043zm8.754 7.424a.122.122 0 01-.173 0l-1.77-2.003a.31.31 0 10-.44.439l1.788 1.987a.223.223 0 010 .313.223.223 0 01-.314 0l-1.987-1.787a.31.31 0 00-.438.439l2.002 1.77a.122.122 0 01-.129.2s-1.387-.517-2.089-1.218c-.432-.433-.647-.952-.656-1.441l-.002.002c-.004-.488.063-.809-.355-1.236l-.532-.49-.559.514c-.418.536-.322.894-.324 1.332l-.002-.002c-.01.519-.237 1.07-.696 1.528-.856.856-2.44 1.321-3.13.632-.69-.69-.225-2.274.631-3.131.459-.46 1.009-.687 1.528-.696l-.003-.003c.435-.002.785.086 1.295-.345l3.879-4.205a.722.722 0 111.02 1.02L11.78 9.647l.466.505c.425.413.746.348 1.232.35l-.002.003c.49.009 1.009.223 1.442.656.704.704 1.217 2.086 1.217 2.086a.123.123 0 01-.027.132z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},405309:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M19.993 8.155l-.006-.034a.84.84 0 00-.014-.065l-.011-.037a.893.893 0 00-.02-.056c-.005-.013-.012-.026-.018-.038a.666.666 0 00-.026-.051l-.021-.036a.776.776 0 00-.033-.047l-.027-.034-.038-.041c-.01-.01-.02-.021-.032-.03a.768.768 0 00-.078-.064l-.013-.01-8.227-5.484a.774.774 0 00-.858 0L2.344 7.613l-.013.009a.736.736 0 00-.11.094.61.61 0 00-.038.041l-.027.034a.632.632 0 00-.032.047l-.022.036a.786.786 0 00-.064.145l-.011.037c-.006.021-.01.043-.014.065l-.006.034A.775.775 0 002 8.256v5.484c0 .034.002.068.007.101.001.012.004.023.006.033a.822.822 0 00.014.066l.011.037.02.056a.781.781 0 00.066.124l.032.047a.498.498 0 00.066.075.505.505 0 00.075.068c.01.01.023.018.034.027l.013.01 8.227 5.484a.77.77 0 00.858 0l8.227-5.485.013-.01c.011-.008.023-.016.034-.026a.596.596 0 00.044-.037l.03-.03c.014-.013.027-.028.04-.042a.505.505 0 00.026-.034c.012-.014.022-.03.033-.047l.022-.035a.692.692 0 00.026-.052l.017-.037c.008-.018.014-.038.02-.056l.012-.037a.703.703 0 00.013-.066l.007-.033a.791.791 0 00.006-.1V8.255a.69.69 0 00-.006-.101zm-8.22-3.938l6.06 4.04-2.706 1.81-3.354-2.243V4.217zm-1.547 0v3.607l-3.353 2.244-2.707-1.811 6.06-4.04zM3.547 9.704l1.935 1.294-1.935 1.295V9.704zm6.68 8.075l-6.06-4.04 2.706-1.81 3.353 2.243v3.607zM11 12.828l-2.735-1.83L11 9.168l2.736 1.83L11 12.828zm.774 4.951v-3.607l3.353-2.243 2.707 1.81-6.06 4.04zm6.679-5.487l-1.935-1.294 1.935-1.295v2.59z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},399808:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M4.874 2h12.252C18.159 2 19 2.84 19 3.882v16.392l-1.966-1.736-1.106-1.024-1.17-1.087.484 1.69H4.874A1.878 1.878 0 013 16.235V3.882C3 2.841 3.841 2 4.874 2zm8.12 11.193c.273.347.603.74.603.74 2.02-.064 2.797-1.39 2.797-1.39 0-2.941-1.316-5.326-1.316-5.326-1.317-.987-2.57-.96-2.57-.96l-.127.147c1.554.475 2.276 1.16 2.276 1.16a7.456 7.456 0 00-4.599-.859c-.048 0-.089.007-.135.015l-.02.004c-.32.027-1.097.146-2.076.575-.338.156-.539.265-.539.265s.759-.721 2.405-1.197l-.092-.11s-1.252-.027-2.569.96c0 0-1.317 2.385-1.317 5.327 0 0 .768 1.325 2.789 1.389 0 0 .338-.411.613-.759-1.162-.347-1.6-1.078-1.6-1.078s.091.064.256.155c.009.01.018.019.036.028.014.01.028.016.041.023a5.358 5.358 0 00.709.334c.375.146.823.292 1.344.392.686.128 1.49.174 2.368.01a6.02 6.02 0 001.326-.394c.32-.118.676-.292 1.051-.539 0 0-.457.75-1.655 1.088zM8.412 10.68c0-.557.411-1.014.932-1.014.521 0 .942.457.933 1.014 0 .557-.412 1.014-.933 1.014-.512 0-.932-.457-.932-1.014zm3.337 0c0-.557.411-1.014.932-1.014.521 0 .933.457.933 1.014 0 .557-.412 1.014-.933 1.014-.512 0-.932-.457-.932-1.014z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},480185:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M11 2c-4.969 0-9 4.031-9 9s4.031 9 9 9c4.959 0 9-4.031 9-9s-4.041-9-9-9zm5.945 4.149a7.652 7.652 0 011.737 4.783c-.254-.05-2.791-.566-5.349-.244-.059-.127-.107-.264-.166-.4a22.8 22.8 0 00-.508-1.113c2.831-1.152 4.12-2.812 4.286-3.026zM11 3.328a7.67 7.67 0 015.095 1.932c-.136.196-1.298 1.748-4.031 2.773-1.26-2.314-2.655-4.208-2.87-4.5A7.818 7.818 0 0111 3.328zm-3.27.722a48.518 48.518 0 012.85 4.441c-3.592.957-6.764.937-7.106.937A7.723 7.723 0 017.73 4.05zm-4.422 6.96v-.235c.332.01 4.06.06 7.897-1.093.225.43.43.869.625 1.308-.098.03-.205.059-.303.088-3.963 1.279-6.071 4.773-6.247 5.066a7.67 7.67 0 01-1.972-5.134zM11 18.692a7.634 7.634 0 01-4.715-1.62c.137-.284 1.699-3.29 6.033-4.803.02-.01.03-.01.049-.02a31.777 31.777 0 011.64 5.828 7.56 7.56 0 01-3.007.615zm4.285-1.318c-.078-.468-.488-2.713-1.493-5.476 2.41-.38 4.52.244 4.783.332a7.621 7.621 0 01-3.29 5.144z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},507674:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11.013 6.194L6.006 9.388l5.007 3.193-5.007 3.194L1 12.565 6.006 9.37 1 6.194 6.006 3l5.007 3.194zM5.98 16.802l5.006-3.194 5.006 3.194-5.006 3.194-5.006-3.194zm5.032-4.238l5.006-3.194-5.006-3.176L15.993 3 21 6.194l-5.007 3.194L21 12.58l-5.007 3.194-4.98-3.21z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},684344:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M20 11a9 9 0 10-10.406 8.89v-6.288H7.309V11h2.285V9.017c0-2.255 1.343-3.501 3.4-3.501.984 0 2.014.175 2.014.175v2.215h-1.135c-1.118 0-1.467.694-1.467 1.406V11h2.496l-.399 2.602h-2.097v6.289C16.71 19.216 20 15.492 20 11z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},270084:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M7 14a3 3 0 100-6 3 3 0 000 6zM15 14a3 3 0 100-6 3 3 0 000 6z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},742732:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M15.76 4.601l-.43 2.077c-.056.225-.262.43-.524.43h-3.743a.759.759 0 00-.767.768v.45c0 .43.337.766.767.766h3.163c.3 0 .561.281.486.6-.056.317-.393 1.945-.43 2.114a.533.533 0 01-.524.412h-2.582c-.543.018-.655.018-.974.411-.318.393-3.162 3.949-3.162 3.949-.02.037-.056.019-.056-.019V4.49a.52.52 0 01.523-.505h7.767c.3 0 .561.262.486.617zM16.322 2h-9.6C5.393 2 5 2.992 5 3.61v15.27c0 .767.393.973.599 1.066.206.075.767.131 1.16-.262 0 0 4.547-5.314 4.622-5.39.075-.093.131-.093.169-.093h2.882c1.235 0 1.478-.842 1.59-1.366.113-.43 1.385-6.587 1.778-8.552C18.118 2.786 17.744 2 16.322 2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},775863:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M10.25 3.56c-1.473 0-2.5 1.055-2.5 2.388s1.027 2.388 2.5 2.388a2.365 2.365 0 002.361-2.388A2.365 2.365 0 0010.25 3.56zM7.167 17.111c0 1.111.944 1.611 3.833 1.611 2.222 0 2.972-1.11 2.972-1.61 0-.668-1.027-1.667-4.361-1.667-1.889 0-2.444 1.055-2.444 1.666zM17.222 3.337c-.805 0-1.695 0-2.223.334.445.61.779 1.443.779 2.554 0 2.722-1.834 4.666-5.445 4.666-1.5 0-2.695.056-2.695.889 0 2.333 9.5-.833 9.5 4.943 0 2.056-2.083 4.277-6.694 4.277C6.556 21 4 19.834 4 17.556c0-1.805 1.36-2.666 2.61-2.666v-.055c-.666-.416-2.138-.778-2.138-2.333 0-1.389 1.61-2.444 2.25-2.638C5.528 8.89 4.583 7.78 4.583 6.03c0-2.527 1.944-5.026 5.695-5.026 1.222 0 2.666.5 3.555 1.277.667-.889 1.75-1.333 3.389-1.277v2.332z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},894857:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M11 2c-4.972 0-9 4.028-9 9 0 3.98 2.58 7.35 6.155 8.543.447.083.613-.193.613-.436 0-.216-.006-.78-.011-1.53-2.503.54-3.033-1.205-3.033-1.205-.41-1.04-1-1.321-1-1.321-.818-.558.06-.547.06-.547.901.066 1.382.928 1.382.928.8 1.376 2.105.978 2.619.746.082-.58.314-.978.569-1.204-1.995-.221-4.094-.995-4.094-4.443 0-.983.348-1.784.928-2.414-.094-.232-.403-1.144.083-2.382 0 0 .757-.243 2.475.923A8.733 8.733 0 0111 6.354a8.766 8.766 0 012.254.304c1.718-1.166 2.475-.923 2.475-.923.492 1.238.183 2.155.089 2.382.574.63.922 1.43.922 2.414 0 3.46-2.105 4.216-4.11 4.443.32.276.613.828.613 1.668 0 1.205-.011 2.172-.011 2.47 0 .243.16.52.619.431A9.001 9.001 0 0020 11.006 9 9 0 0011 2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},955053:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M10.942 15.046c2.337-.018 4-1.1 4.986-3.247h.051v3.274c0 .244-.017.622-.051 1.137-.07.532-.258 1.105-.563 1.718-.306.578-.799 1.07-1.479 1.475-.672.442-1.61.672-2.814.69-1.16 0-2.142-.28-2.945-.839-.82-.55-1.3-1.443-1.439-2.679h-1.02c.104 1.606.658 2.752 1.661 3.437.977.658 2.216.988 3.717.988 1.483 0 2.64-.257 3.468-.771.82-.496 1.408-1.115 1.767-1.854.357-.74.57-1.444.64-2.111.053-.668.079-1.146.079-1.435V1.325h-1.021v2.977h-.052c-.392-1.092-1.042-1.917-1.95-2.476A5.785 5.785 0 0010.941 1c-1.929.036-3.394.726-4.397 2.07C5.514 4.405 5 6.052 5 8.01c0 2.011.488 3.675 1.465 4.992.987 1.345 2.478 2.026 4.477 2.044zM7.252 3.802c.801-1.218 2.032-1.85 3.69-1.895 1.7.045 2.961.659 3.782 1.84.82 1.183 1.23 2.603 1.23 4.263 0 1.66-.41 3.072-1.23 4.235-.821 1.236-2.081 1.868-3.782 1.895-1.606-.027-2.828-.64-3.665-1.84-.846-1.164-1.27-2.594-1.27-4.29 0-1.588.415-2.99 1.244-4.208z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},374078:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M19.5 11.132c0-.607-.05-1.217-.154-1.814h-8.42v3.438h4.822a4.132 4.132 0 01-1.784 2.712v.002c-.8.543-1.832.85-3.034.85-2.33 0-4.304-1.57-5.012-3.683h-.003a5.347 5.347 0 010-3.417c.705-2.116 2.683-3.687 5.011-3.687a4.85 4.85 0 013.425 1.338l2.548-2.548A8.579 8.579 0 0010.926 2 8.925 8.925 0 002.95 6.92a8.934 8.934 0 000 8.016 8.928 8.928 0 007.976 4.916c2.408 0 4.438-.79 5.917-2.155l-.001-.001c1.688-1.555 2.658-3.85 2.658-6.565z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},21976:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M5.464 2.292c-.69-.393-1.486-.43-2.018.137a.563.563 0 00-.008.01C3.136 2.767 3 3.217 3 3.714v14.572c0 .496.136.963.452 1.29l.003.004c.532.557 1.324.519 2.01.128l9.624-5.468.005-.003 3.216-1.821.001-.001c.557-.318.959-.81.959-1.414 0-.604-.403-1.096-.96-1.41L15.088 7.76l-.007-.004-9.618-5.464zm6.577 7.96l-6.959-6.96 8.879 5.045-1.92 1.915zm-.75.748L4.06 18.233V3.767L11.292 11zm1.505 0l2.12-2.12 2.87 1.632h.002c.365.206.423.403.423.489 0 .086-.06.285-.424.494l-2.87 1.626L12.796 11zm-7.712 7.706l8.877-5.043-1.914-1.914-6.963 6.957z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},867474:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M13 20h6V9.5l-12-3V2H3v18h6v-6h4v6z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},760997:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M3.694 5.744C.792 9.778 1.71 15.402 5.746 18.304A8.999 8.999 0 1016.254 3.696C12.22.792 6.596 1.71 3.694 5.744zm13.8 9.928A8 8 0 0015.67 4.507a7.998 7.998 0 10-9.34 12.986 7.999 7.999 0 0011.165-1.82z",fillRule:"evenodd"}),d.createElement("path",{d:"M13.51 14.876c.472-.139.806-.477.943-.954l.04-.14.006-3.763c.003-2.818 0-3.78-.016-3.832a.348.348 0 00-.076-.14.334.334 0 00-.179-.047c-.047 0-.21.023-.363.05-.674.124-4.647.918-4.715.943a.506.506 0 00-.258.23l-.042.084s-.02 5.897-.05 5.963a.453.453 0 01-.244.228 5.93 5.93 0 01-.394.089c-.797.159-1.093.274-1.344.52-.142.14-.247.332-.293.533-.043.192-.029.479.033.653.065.183.17.34.307.462.124.096.27.168.436.21.365.094 1.048-.01 1.397-.213a1.53 1.53 0 00.432-.41c.038-.057.097-.174.13-.258.113-.297.116-5.58.131-5.647a.286.286 0 01.207-.224c.096-.025 3.922-.784 4.03-.8.094-.012.184.018.232.079a.193.193 0 01.07.062c.032.047.034.138.039 1.811.005 1.925.007 1.88-.097 2.002-.076.088-.17.122-.56.202-.591.121-.793.179-1.02.29-.283.139-.44.29-.562.543a1.03 1.03 0 00-.117.49c0 .318.11.567.356.81l.067.063c.125.096.251.154.41.19.24.056.729.02 1.063-.079z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},880012:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M0 7h2v8.992H0V7zM7 7l-.5 4L6 7H3v8.992h2v-5.937l.75 5.937h1.5L8 9.922v6.07h2V7H7zM13.673 8.618a.37.37 0 01.173.252c.025.115.038.376.038.782v3.486c0 .599-.038.965-.114 1.1-.075.135-.443.203-.77.203V8.538c.248 0 .583.027.673.08zm-.023 7.374c.545 0 .954-.03 1.225-.091a1.6 1.6 0 00.683-.322 1.22 1.22 0 00.388-.638c.074-.271.118-.81.118-1.616v-3.158c0-.85-.033-1.421-.083-1.711a1.631 1.631 0 00-.38-.79c-.202-.237-.498-.407-.886-.51C14.326 7.051 13.692 7 12.589 7H11v8.992h2.65zM19.802 13.81c0 .435-.02.71-.063.825-.042.114-.226.172-.365.172-.135 0-.226-.056-.272-.166-.045-.111-.102-.364-.102-.759v-2.376c0-.41.054-.665.094-.767.04-.101.128-.152.264-.152.139 0 .325.058.373.174.047.116.071.365.071.745v2.304zM17 7v8.992h1.89l.142-.573c.186.23.39.403.614.518.223.116.557.173.816.173.36 0 .67-.097.932-.29.262-.194.429-.424.5-.688.07-.264.106-.665.106-1.204v-2.523c0-.543-.012-.898-.035-1.064a1.237 1.237 0 00-.21-.51 1.133 1.133 0 00-.507-.404 1.96 1.96 0 00-.785-.144c-.262 0-.598.054-.821.16-.224.106-.46.267-.642.482V7h-2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},279382:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11 4.441c2.136 0 2.389.009 3.233.047.78.036 1.203.166 1.485.275.374.146.64.319.92.599.28.28.454.546.599.92.11.282.24.705.275 1.485.038.844.047 1.097.047 3.233s-.009 2.389-.047 3.233c-.036.78-.166 1.203-.275 1.485-.145.374-.319.64-.599.92-.28.28-.546.454-.92.599-.282.11-.705.24-1.485.275-.844.038-1.097.047-3.233.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.275a2.484 2.484 0 01-.92-.599 2.474 2.474 0 01-.599-.92c-.11-.282-.24-.705-.275-1.485-.038-.844-.047-1.097-.047-3.233s.009-2.389.047-3.233c.036-.78.166-1.203.275-1.485.146-.374.319-.64.599-.92.28-.28.546-.454.92-.599.282-.11.705-.24 1.485-.275.844-.038 1.097-.047 3.233-.047zM11 3c-2.173 0-2.445.01-3.299.048-.85.039-1.432.174-1.941.372a3.918 3.918 0 00-1.417.923c-.445.445-.719.89-.923 1.417-.198.509-.333 1.09-.372 1.941C3.01 8.555 3 8.827 3 11s.01 2.445.048 3.299c.039.85.174 1.432.372 1.941.205.527.478.973.923 1.417.445.445.89.719 1.417.923.509.198 1.09.333 1.942.372.853.04 1.126.048 3.298.048 2.173 0 2.445-.009 3.299-.048.851-.039 1.433-.174 1.942-.372a3.92 3.92 0 001.417-.923 3.92 3.92 0 00.922-1.417c.198-.508.334-1.09.372-1.941.04-.854.049-1.126.049-3.299s-.01-2.445-.049-3.299c-.038-.85-.174-1.433-.372-1.941a3.918 3.918 0 00-.922-1.417 3.92 3.92 0 00-1.417-.923c-.51-.198-1.091-.333-1.942-.372C13.445 3.01 13.173 3 11 3z"}),d.createElement("path",{d:"M11 6.892a4.108 4.108 0 100 8.216 4.108 4.108 0 000-8.216zm0 6.774a2.667 2.667 0 110-5.333 2.667 2.667 0 010 5.333zM15.27 7.69a.96.96 0 100-1.92.96.96 0 000 1.92z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},213411:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M8.66 7.303h3.18V8.76h.045c.443-.839 1.524-1.723 3.137-1.723C18.38 7.037 19 9.247 19 12.12v5.85h-3.314v-5.187c0-1.237-.022-2.828-1.723-2.828-1.725 0-1.99 1.347-1.99 2.739v5.277H8.66V7.303zM4.923 2a1.923 1.923 0 11-.003 3.846A1.923 1.923 0 014.923 2zM3.264 17.97H6.58V7.303H3.264V17.97z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},896714:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12.41 11.247c0 3.45-2.779 6.247-6.205 6.247C2.778 17.494 0 14.698 0 11.247 0 7.797 2.778 5 6.205 5s6.204 2.797 6.204 6.247zM19.216 11.247c0 3.248-1.389 5.882-3.103 5.882-1.713 0-3.102-2.634-3.102-5.882 0-3.247 1.389-5.881 3.102-5.881 1.714 0 3.103 2.633 3.103 5.881zM20.909 16.516c.603 0 1.091-2.36 1.091-5.269 0-2.91-.489-5.268-1.091-5.268-.603 0-1.091 2.359-1.091 5.268 0 2.91.488 5.27 1.09 5.27z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},393870:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M14.001 15.443c.001 1.392.895 2.623 2.163 3.041.635.21 1.29.31 1.955.339.475.02.95-.013 1.388-.232.345-.172.508-.456.492-.835-.016-.382-.186-.667-.551-.82a1.833 1.833 0 00-.39-.118c-.403-.072-.808-.133-1.209-.212-.66-.132-.938-.482-.947-1.15-.007-.591.153-1.15.335-1.701.333-1.01.782-1.973 1.212-2.943.415-.938.85-1.867 1.143-2.854.162-.542.239-1.086.092-1.647-.223-.85-.733-1.421-1.613-1.585-.805-.15-1.606-.167-2.334.313-.242.16-.475.121-.685-.064-.16-.141-.313-.29-.47-.435-.743-.686-1.725-.72-2.522-.094-.322.253-.592.567-.942.786-.312.196-.627.252-.973.067-.33-.175-.67-.33-1.01-.484-.345-.156-.679-.348-1.066-.38-1.227-.105-2.511.624-3.052 1.732-.24.49-.436 1-.622 1.513-.859 2.37-1.558 4.791-2.281 7.204-.324 1.08.058 2.143.972 2.726.714.455 1.495.567 2.304.324.655-.197 1.014-.725 1.264-1.317.834-1.965 1.584-3.964 2.379-5.945.218-.545.43-1.093.662-1.632.234-.544.907-.73 1.306-.369.244.22.308.514.284.828-.026.335-.156.644-.278.952-.517 1.307-1.043 2.61-1.563 3.915-.104.265-.218.527-.265.81-.079.487.114.918.512 1.09.406.175.827.204 1.248.051.49-.177.783-.56 1.008-1.004.775-1.522 1.544-3.047 2.319-4.569.357-.703.721-1.403 1.087-2.102.136-.259.295-.504.548-.665a.66.66 0 01.71-.024c.23.128.245.363.235.594-.005.124-.04.246-.087.361-.1.24-.195.485-.306.72-.644 1.356-1.298 2.705-1.936 4.063-.27.573-.55 1.15-.516 1.752z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},784249:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M14.017 3c-4.42 0-7.983 3.587-7.983 8s3.58 8 7.983 8S22 15.413 22 11c-.017-4.413-3.58-8-7.983-8zm0 10.004c-1.11 0-2-.892-2-2.004s.89-2.004 2-2.004c1.11 0 2 .892 2 2.004-.017 1.112-.908 2.004-2 2.004zM0 11c0-1.112.89-2.004 2-2.004 1.11 0 2 .892 2 2.004s-.89 2.004-2 2.004c-1.11 0-2-.892-2-2.004z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},896913:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M2 11a9 9 0 005.387 8.244c-.025-.629-.004-1.383.157-2.067l1.158-4.904s-.288-.575-.288-1.424c0-1.334.773-2.33 1.736-2.33.819 0 1.214.615 1.214 1.351 0 .823-.525 2.054-.795 3.194-.225.955.48 1.733 1.421 1.733 1.705 0 2.854-2.19 2.854-4.785 0-1.972-1.329-3.449-3.745-3.449-2.73 0-4.431 2.036-4.431 4.31 0 .785.231 1.338.593 1.766.167.196.19.276.13.501-.044.166-.143.565-.184.723-.06.228-.244.31-.45.225-1.258-.513-1.844-1.89-1.844-3.438 0-2.557 2.157-5.623 6.433-5.623 3.436 0 5.698 2.487 5.698 5.156 0 3.53-1.963 6.168-4.857 6.168-.971 0-1.885-.525-2.198-1.122 0 0-.523 2.074-.634 2.474-.19.694-.564 1.388-.905 1.928A9 9 0 102 11z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},619987:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10.942 21s2.194 0 2.194-6.495c0-1.21-.983-2.194-2.194-2.194-1.211 0-2.195.985-2.195 2.194C8.747 21 10.942 21 10.942 21zm2.691-2.213c.121-.47.203-.947.274-1.426l.288-.125a7.927 7.927 0 003.623-3.328c.373-.669.648-1.391.811-2.143a7.72 7.72 0 00.139-2.574 7.438 7.438 0 00-.642-2.322 7.582 7.582 0 00-1.603-2.32 7.871 7.871 0 00-2.396-1.643 7.588 7.588 0 00-2.934-.652 7.82 7.82 0 00-2.985.502 7.84 7.84 0 00-4.94 6.03 7.92 7.92 0 00.627 4.603 7.917 7.917 0 003.55 3.66c.188.088.375.176.576.263.06.48.162.96.276 1.43a9.158 9.158 0 01-5.254-4.352 9.347 9.347 0 01-.916-2.508 8.696 8.696 0 01-.125-2.971 9.423 9.423 0 01.778-2.684 9.328 9.328 0 011.892-2.67 8.725 8.725 0 012.759-1.842A9.151 9.151 0 0110.857 1a9.163 9.163 0 013.449.631 9.081 9.081 0 012.858 1.805 9.103 9.103 0 011.955 2.616c.414.828.702 1.73.84 2.646.15.953.15 1.93-.013 2.872a9.129 9.129 0 01-.816 2.544 9.143 9.143 0 01-4.1 4.102c-.44.213-.903.4-1.38.55l-.017.02zm.434-3.58c.01-.49.027-.986-.093-1.465a4.676 4.676 0 001.605-2.684 4.62 4.62 0 00.051-1.555 4.98 4.98 0 00-.376-1.342 4.87 4.87 0 00-.965-1.391 4.957 4.957 0 00-1.405-.966 4.9 4.9 0 00-1.83-.413 4.952 4.952 0 00-1.856.326 4.816 4.816 0 00-1.442.903c-.428.388-.779.84-1.03 1.353a4.678 4.678 0 00-.49 2.758c.064.465.19.916.377 1.341.289.64.714 1.205 1.242 1.669-.11.488-.113.982-.113 1.479A5.916 5.916 0 015.647 13a5.498 5.498 0 01-.602-1.643 5.689 5.689 0 01-.075-1.956 5.963 5.963 0 011.692-3.46A5.86 5.86 0 018.43 4.725a6.132 6.132 0 012.308-.527 6.167 6.167 0 012.344.414c.677.263 1.292.651 1.83 1.14a6.15 6.15 0 011.304 1.706c.263.527.464 1.091.565 1.668.1.602.125 1.216.038 1.818a5.723 5.723 0 01-.49 1.705c-.556 1.243-2.37 2.659-2.262 2.558zm-3.125-7.979c1.22 0 2.211.99 2.211 2.213a2.211 2.211 0 11-4.424.012c0-1.216.99-2.207 2.213-2.207v-.018z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},960879:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M14.435 14.316c-.861 0-1.564-.71-1.564-1.58 0-.869.703-1.578 1.564-1.578.862 0 1.564.709 1.564 1.579s-.702 1.58-1.564 1.58zm.276 2.592c-1.068 1.076-3.112 1.161-3.713 1.161-.6 0-2.647-.085-3.713-1.161a.41.41 0 010-.579c.16-.16.415-.16.574 0 .672.68 2.11.922 3.14.922 1.026 0 2.467-.243 3.14-.922.158-.16.414-.16.572 0a.416.416 0 010 .579zm-8.72-4.171c0-.87.703-1.58 1.565-1.58.861 0 1.563.71 1.563 1.58 0 .87-.702 1.58-1.563 1.58-.862 0-1.564-.71-1.564-1.58zM21 11.157c0-1.221-.979-2.21-2.188-2.21-.591 0-1.126.237-1.519.622-1.495-1.091-3.557-1.794-5.853-1.876l.996-4.738 3.257.7a1.565 1.565 0 001.555 1.504 1.57 1.57 0 001.564-1.58c0-.873-.7-1.579-1.564-1.579-.615 0-1.14.36-1.396.882L12.214 2.1a.387.387 0 00-.462.303l-1.093 5.199c-.006.03 0 .057 0 .088-2.338.06-4.44.767-5.958 1.873a2.16 2.16 0 00-1.513-.615A2.2 2.2 0 001 11.158c0 .897.531 1.67 1.294 2.016a4.48 4.48 0 00-.051.67c0 3.4 3.92 6.156 8.755 6.156 4.836 0 8.756-2.756 8.756-6.157 0-.224-.018-.445-.05-.663A2.22 2.22 0 0021 11.158z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},474057:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M3 5.5c7.456 0 13.5 6.044 13.5 13.5h3C19.5 9.887 12.113 2.5 3 2.5v3z"}),d.createElement("path",{d:"M10.5 19A7.5 7.5 0 003 11.5v-3c5.799 0 10.5 4.701 10.5 10.5h-3zM7 17.5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},501239:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M20 5.6A3.6 3.6 0 0016.4 2H5.6A3.6 3.6 0 002 5.6v10.8A3.6 3.6 0 005.6 20h10.8a3.6 3.6 0 003.6-3.6V5.6zM8.928 8.232a2.077 2.077 0 104.153 0 2.077 2.077 0 00-4.153 0zm2.076 7.62a2.077 2.077 0 110-4.153 2.077 2.077 0 010 4.153z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},822347:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M6.823 5.038c1.867-.027 2.764-1.13 2.645-2.135-.1-.838-.91-1.607-2.45-1.62a2.193 2.193 0 00-2.225 1.88c-.124.952.462 1.9 2.03 1.875zM15.95 4.812c1.793-.103 2.576-1.002 2.587-1.903C18.55 1.894 17.58.88 15.97 1.01c-1.292.105-2.05 1.002-2.163 1.898-.127.998.54 1.994 2.144 1.903zM9.055 18.757c-6.217 0-5.368-7.332-4.323-7.374 7.228-.29 9.07-.534 11.653-.589 2.652-.058-2.423 7.944-7.33 7.963zm7.92-10.192c-4.407.442-4.623.487-12.73.675C.828 9.254 1.52 21 8.819 21c6.95 0 15.37-13.035 8.156-12.435z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},410811:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10.867 19.5H10.704c-1.181 0-1.902-.512-2.536-.955-.4-.278-.738-.521-1.112-.582-.582-.096-1.137-.018-1.467.043-.174.035-.322.061-.435.061a.647.647 0 01-.66-.486c-.043-.14-.07-.278-.104-.417-.009-.06-.035-.156-.052-.226-1.372-.226-2.084-.547-2.284-1.042a1.3 1.3 0 01-.052-.252.606.606 0 01.512-.634c2.163-.356 3.161-2.605 3.196-2.7l.044-.079c.06-.13.086-.269.043-.356-.087-.208-.547-.347-.79-.425-.096-.035-.191-.061-.26-.087-1-.408-1.06-.93-1.008-1.216.121-.634.964-.93 1.459-.703.286.139.564.2.738.182l-.017-.13c-.079-1.25-.165-2.727.234-3.63C7.342 3.208 9.852 3 10.59 3h.295c.79 0 3.3.208 4.49 2.866.4.903.312 2.38.234 3.56l-.009.209h.035c.148-.009.365-.07.608-.183.39-.182.651-.104.886 0 .4.14.669.47.677.825.009.443-.338.808-1.024 1.077-.079.026-.166.061-.27.087-.243.078-.703.226-.79.426-.052.121.026.303.078.408.026.052 1.025 2.37 3.213 2.735.313.052.53.33.513.634a.765.765 0 01-.061.252c-.209.486-.912.808-2.284 1.034-.017.078-.044.182-.052.225a3.53 3.53 0 01-.104.408.635.635 0 01-.643.478c-.122 0-.27-.017-.452-.052-.382-.07-.903-.13-1.458-.044-.374.061-.713.305-1.112.582-.643.46-1.364.973-2.492.973zm-.112-.868h.112c.852 0 1.399-.391 1.98-.8.443-.312.904-.633 1.468-.729.669-.113 1.32-.043 1.772.044.052.008.095.017.139.026.017-.07.034-.13.043-.2.078-.373.174-.808.617-.868.755-.113 1.198-.252 1.45-.357-2.275-.668-3.283-2.987-3.326-3.091-.2-.4-.235-.782-.087-1.12.243-.574.92-.79 1.329-.912l.208-.07c.27-.104.391-.2.443-.252a.293.293 0 01-.087-.034.306.306 0 00-.147-.035c-.417.174-.747.26-1.043.278-.494-.018-.738-.235-.798-.295l-.13-.14.034-.65c.07-1.086.156-2.493-.156-3.205-.973-2.18-3.04-2.354-3.648-2.354h-.338c-.608 0-2.675.174-3.648 2.354-.312.712-.226 2.119-.156 3.152l.043.704-.139.139c-.086.086-.347.286-.825.286-.312 0-.66-.087-1.042-.27a.38.38 0 00-.217.08c.044.016.157.112.46.234l.209.07c.408.13 1.085.346 1.329.92.139.33.112.712-.096 1.128-.043.096-1.068 2.415-3.326 3.083.252.096.695.235 1.459.348.434.07.53.495.608.877.017.07.026.139.043.2.044-.01.087-.018.14-.026.355-.07 1.076-.165 1.77-.052.565.095 1.026.416 1.468.729.591.417 1.138.808 1.99.808h.095zm-6.253-1.677s.009 0 0 0c0 0 .009 0 0 0z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},612961:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M1.063 10.955c-.047 0-.084.037-.092.09l-.216 1.974.216 1.932c.008.053.045.09.092.09s.085-.037.092-.09l.246-1.932-.246-1.975c-.007-.052-.045-.089-.092-.089zM.25 11.713c-.044 0-.081.034-.089.087L0 13.022l.161 1.2c.008.049.043.084.09.084.045 0 .082-.035.087-.085l.191-1.202-.191-1.222c-.005-.05-.042-.084-.087-.084zM1.93 10.568c-.057 0-.104.044-.11.109l-.205 2.342.206 2.258c.005.062.052.11.11.11.056 0 .104-.046.109-.108l.233-2.258-.233-2.342c-.008-.067-.053-.111-.11-.111zM2.8 10.486a.133.133 0 00-.13.126l-.193 2.407.194 2.33a.133.133 0 00.129.127c.067 0 .121-.055.129-.127l.221-2.33-.221-2.41c-.008-.069-.062-.123-.13-.123zM3.826 10.786a.15.15 0 00-.147-.144.15.15 0 00-.149.147l-.184 2.232.184 2.348c.005.082.07.146.15.146.079 0 .14-.062.146-.146l.208-2.348-.208-2.235zM4.563 9.221a.17.17 0 00-.166.164l-.171 3.634.171 2.347a.17.17 0 00.166.164.171.171 0 00.167-.164l.194-2.347-.194-3.634a.17.17 0 00-.167-.164zM5.443 8.384c-.1 0-.181.08-.186.184l-.162 4.466.162 2.332a.189.189 0 00.186.184c.1 0 .181-.08.186-.184l.182-2.335-.182-4.465a.194.194 0 00-.186-.182zM6.355 7.982a.205.205 0 00-.204.204L6 13.024l.15 2.31a.204.204 0 00.204.201c.109 0 .198-.09.203-.201v.002l.17-2.31-.17-4.838a.208.208 0 00-.203-.206zM7.485 8.022A.225.225 0 007.26 7.8a.225.225 0 00-.223.22l-.14 5 .14 2.296a.227.227 0 00.223.22.225.225 0 00.224-.22l.156-2.295-.156-5zM8.175 7.91a.241.241 0 00-.24.241l-.127 4.873.127 2.273a.24.24 0 00.481-.003v.003l.145-2.275-.145-4.874a.242.242 0 00-.24-.238zM9.097 8.069a.26.26 0 00-.26.258l-.117 4.695.116 2.257a.26.26 0 00.522 0v.003l.132-2.26-.132-4.695a.264.264 0 00-.26-.258zM10.178 7.205a.275.275 0 00-.303-.003.286.286 0 00-.13.234v.052l-.104 5.531.104 2.245v.01a.281.281 0 00.279.269.283.283 0 00.28-.279l.013-.22.107-2.022-.117-5.586a.302.302 0 00-.13-.231zM11.102 6.676a.297.297 0 00-.45.253v.03l-.121 6.063.121 2.21a.302.302 0 00.298.296.302.302 0 00.298-.298v.002l.132-2.21-.132-6.096a.308.308 0 00-.146-.25zM19.292 10.14c-.37 0-.725.075-1.046.21a4.774 4.774 0 00-6.483-4.027c-.204.08-.259.161-.261.318v8.584a.318.318 0 00.293.31h7.5A2.694 2.694 0 0022 12.843a2.705 2.705 0 00-2.708-2.703z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},985823:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11 2a9 9 0 00-9 9 9 9 0 009 9 9 9 0 009-9c0-4.97-4.03-9-9-9zm4.128 12.982a.561.561 0 01-.772.187c-2.114-1.292-4.774-1.583-7.906-.868a.561.561 0 01-.25-1.093c3.429-.783 6.369-.446 8.742 1.003a.56.56 0 01.186.77zm1.101-2.452a.702.702 0 01-.965.231c-2.418-1.486-6.106-1.917-8.968-1.048a.703.703 0 01-.876-.468.703.703 0 01.468-.875c3.269-.992 7.332-.511 10.11 1.196a.701.701 0 01.231.964zm.095-2.551c-2.9-1.723-7.686-1.88-10.456-1.04a.842.842 0 11-.489-1.611c3.18-.965 8.465-.778 11.804 1.203a.842.842 0 01-.859 1.448z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},591386:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("g",{clipPath:"url(#prefix__clip0_3368_2063)"},d.createElement("path",{clipRule:"evenodd",d:"M12.824 5.679l1.044 1.073-6.97 6.99a4.036 4.036 0 01-5.714 0 4.053 4.053 0 010-5.724L7.19 2l1.054 1.083L2.273 9.1a2.533 2.533 0 00.019 3.578c.991.983 2.59.974 3.572-.019l6.96-6.981zm-1.282-1.211l-6.96 6.972-1.1-1.082 6.979-6.982a4.043 4.043 0 015.715 0l.54.541-1.08 1.092-.54-.541a2.498 2.498 0 00-3.554 0zm9.259 3.55a4.043 4.043 0 00-5.715 0l-6.97 6.991 1.09 1.092 6.96-6.982a2.515 2.515 0 013.545 0 2.526 2.526 0 010 3.56l-5.971 6 1.09 1.082 6.008-6.018a4.06 4.06 0 00-.037-5.725zm-10.358 9.275l6.96-6.972 1.1 1.082-6.97 6.982a4.043 4.043 0 01-5.715 0l-.54-.541 1.07-1.101.541.55a2.525 2.525 0 003.554 0z",fillRule:"evenodd"})),d.createElement("defs",null,d.createElement("clipPath",{id:"prefix__clip0_3368_2063"},d.createElement("path",{d:"M0 0h22v22H0z",fill:"#fff"})))),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},556018:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11 18.5a7.503 7.503 0 007.157-5.25h1.56a9 9 0 110-4.5h-1.56A7.5 7.5 0 1011 18.5z"}),d.createElement("path",{clipRule:"evenodd",d:"M5 11l6 6 6-6-6-6-6 6zm6 3.879L7.121 11 11 7.121 14.879 11 11 14.879z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},325284:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M13.5 7h3v6.4h-3V7zM5.5 7.4h3v6.4h-3V7.4zM1.5 8.6h3v5.6h-3V8.6zM12.5 7.8h-3V15h3V7.8zM20.5 8.6h-3v4.8h3V8.6z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},858266:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M9.84 14.12V7.06c0-1.71 2.307-1.687 2.307 0v1.256l1.513.677 2.253-.663V6.712C15.634.456 6.238.337 6.083 6.91v7.01c-.124 1.284-2.166 1.49-2.276 0l-.046-3.107H0l.01 3.304c.465 6.439 9.5 6.028 9.83 0v.004zm12.155-.16v-3.144h-3.793v3.19c-.045 1.426-2.216 1.504-2.298 0v-3.153l-2.244.676-1.522-.7v3.25c.265 5.932 9.4 6.681 9.862-.123l-.005.004z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},900425:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M15.26 10.343a6.222 6.222 0 00-.235-.107c-.14-2.56-1.538-4.026-3.887-4.041h-.032c-1.405 0-2.573.6-3.292 1.69l1.291.887c.538-.815 1.38-.99 2.002-.99l.021.001c.774.005 1.357.23 1.735.668.275.32.459.76.55 1.317a9.884 9.884 0 00-2.22-.106c-2.233.128-3.67 1.43-3.573 3.24.05.918.507 1.708 1.288 2.224.66.436 1.512.65 2.396.601 1.168-.064 2.084-.51 2.723-1.324.486-.619.793-1.42.928-2.431.557.336.97.778 1.197 1.31.388.902.41 2.387-.801 3.597-1.061 1.06-2.337 1.519-4.264 1.533-2.139-.016-3.756-.702-4.807-2.038-.985-1.252-1.494-3.06-1.513-5.374.02-2.314.528-4.122 1.513-5.373C7.33 4.29 8.948 3.603 11.087 3.587c2.153.016 3.799.705 4.89 2.048.536.659.94 1.487 1.206 2.453l1.513-.404c-.322-1.189-.83-2.213-1.52-3.062C15.776 2.9 13.729 2.018 11.092 2h-.01c-2.633.018-4.657.904-6.017 2.632-1.21 1.539-1.834 3.679-1.855 6.362v.012c.021 2.683.646 4.823 1.855 6.362 1.36 1.728 3.384 2.614 6.016 2.632h.01c2.34-.016 3.99-.629 5.35-1.986 1.777-1.777 1.723-4.003 1.137-5.37-.42-.98-1.221-1.776-2.317-2.301zm-4.04 3.798c-.978.055-1.995-.384-2.045-1.325-.038-.698.496-1.476 2.105-1.569.185-.01.366-.016.543-.016.585 0 1.132.057 1.629.166-.186 2.316-1.273 2.692-2.232 2.744z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},955968:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M18.333 4L22 7.667l-3.667 3.666-3.666-3.666L18.333 4z"}),d.createElement("path",{d:"M11 4l3.667 3.667L11 11.333 7.333 7.667 11 4zM11 11.333L14.667 15 11 18.667 7.333 15 11 11.333zM3.667 4l3.666 3.667-3.666 3.666L0 7.667 3.667 4z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},28070:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M18.603 6.757c-.983 0-1.89-.322-2.619-.865a4.287 4.287 0 01-1.73-3.392h-2.809v7.585l-.003 4.154c0 1.11-.732 2.053-1.746 2.384a2.58 2.58 0 01-2.107-.229 2.507 2.507 0 01-1.242-2.117c-.021-1.404 1.127-2.55 2.547-2.55.28 0 .55.046.802.128V9.037a5.59 5.59 0 00-.81-.06 5.413 5.413 0 00-4.047 1.79 5.176 5.176 0 00-1.329 3.14 5.167 5.167 0 001.568 4.052A5.427 5.427 0 008.886 19.5c.273 0 .544-.02.81-.059a5.391 5.391 0 002.998-1.482 5.167 5.167 0 001.577-3.698l-.014-6.204A7.171 7.171 0 0018.61 9.52V6.755h-.008z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},607301:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11 16.128c-2.838 0-5.146-2.319-5.146-5.17a5.155 5.155 0 013.854-5V2.001C5.346 2.64 2 6.405 2 10.958c0 5 4.024 9.042 9 9.042 2.012 0 3.897-.66 5.379-1.808l-2.774-2.787a5.149 5.149 0 01-2.605.723zm5.146-5.171c0 .957-.254 1.851-.72 2.617L18.2 16.36a8.91 8.91 0 001.8-5.404C20 6.404 16.654 2.638 12.292 2v3.957a5.178 5.178 0 013.854 5z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},796374:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M5.84 10.94a.812.812 0 100 1.623.812.812 0 000-1.624zM15.853 10.928a.813.813 0 100 1.627.813.813 0 000-1.627z"}),d.createElement("path",{d:"M5.964 9.334a2.417 2.417 0 100 4.834 2.417 2.417 0 000-4.834zm0 4.092a1.674 1.674 0 110-3.348 1.674 1.674 0 010 3.348zM21 6.856h-3.327C15.975 5.713 13.66 5 11.001 5c-2.658 0-5.134.713-6.832 1.856H1c.517.604.899 1.423.995 1.985a4.979 4.979 0 007.892 6.06c.372.436.989 1.31 1.113 1.564 0 0 .714-1.068 1.117-1.56a4.979 4.979 0 007.89-6.065c.093-.56.476-1.38.993-1.984zM6.022 15.772a4.008 4.008 0 11.001-8.016 4.008 4.008 0 01-.001 8.016zm.007-8.987c1.424-.62 3.194-.954 4.972-.954 1.781 0 3.396.336 4.822.958A4.976 4.976 0 0011 11.762a4.978 4.978 0 00-4.971-4.977zm9.95 8.987a4.008 4.008 0 11-.002-8.017 4.008 4.008 0 01.001 8.017zm-.002-6.448a2.417 2.417 0 100 4.834 2.417 2.417 0 000-4.834zm0 4.09a1.674 1.674 0 110-3.347 1.674 1.674 0 010 3.348z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},642232:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M16.19 20h-3.005c-2.707 0-4.724-1.393-4.724-4.724V9.939H6V7.051C8.707 6.348 9.84 4.017 9.97 2h2.81v4.582h3.28V9.94h-3.28v4.647c0 1.393.704 1.874 1.823 1.874h1.588V20z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},194140:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M14 18h-3l-2.5 2H6v-2H2V5l1.5-3H19v11l-5 5zm3-6V4H5v11h3v2.5l3-2.5h3l3-3z",fillRule:"evenodd"}),d.createElement("path",{d:"M13 6v5h2V6h-2zm-4 5h2V6H9v5z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},974733:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M7.654 18.636c6.793 0 10.51-5.632 10.51-10.509 0-.158 0-.317-.008-.475A7.524 7.524 0 0020 5.736a7.486 7.486 0 01-2.125.583 3.716 3.716 0 001.628-2.045 7.347 7.347 0 01-2.348.893A3.687 3.687 0 0014.46 4a3.698 3.698 0 00-3.695 3.695c0 .288.036.57.094.843a10.488 10.488 0 01-7.614-3.86 3.703 3.703 0 001.145 4.934 3.736 3.736 0 01-1.67-.462v.05a3.701 3.701 0 002.96 3.623c-.31.087-.634.13-.973.13-.237 0-.468-.021-.691-.065a3.693 3.693 0 003.45 2.565 7.408 7.408 0 01-4.588 1.584 7.11 7.11 0 01-.879-.05 10.506 10.506 0 005.654 1.65z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},522011:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11 18.682L2 3h5.299L11 10.128 14.701 3H20l-9 15.682z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},611664:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M19.991 6.593c-.08 1.748-1.304 4.142-3.67 7.18-2.448 3.174-4.519 4.76-6.213 4.76-1.049 0-1.936-.967-2.662-2.904l-1.452-5.324C5.456 8.368 4.878 7.4 4.259 7.4c-.134 0-.605.283-1.412.847L2 7.158c.88-.773 1.754-1.553 2.622-2.34 1.183-1.021 2.07-1.56 2.662-1.613 1.399-.134 2.26.82 2.582 2.864.35 2.205.592 3.577.726 4.115.404 1.828.847 2.743 1.331 2.743.377 0 .942-.592 1.695-1.775.753-1.184 1.156-2.084 1.21-2.703.107-1.022-.296-1.533-1.21-1.533-.43 0-.874.094-1.332.283.888-2.878 2.582-4.276 5.083-4.196 1.856.054 2.73 1.25 2.622 3.59z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},841052:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11 1a10 10 0 1010 10A10.012 10.012 0 0011 1zm9.6 10c0 .329-.017.657-.05.984l-1.698-.2c.024-.254.038-.514.038-.774s-.012-.49-.036-.732l1.698-.2c.048.296.048.606.048.922zM1.4 11c0-.323.016-.646.048-.968l1.698.2c-.024.25-.038.504-.038.76s.014.51.038.76l-1.698.2A9.249 9.249 0 011.4 11zm17.06-2.586l1.6-.6c.213.605.364 1.229.452 1.864l-1.698.2a7.83 7.83 0 00-.354-1.464zM18.506 11c0 .49-.049.98-.144 1.46l-1.682-.388c.14-.723.14-1.465 0-2.188l1.684-.38c.097.493.145.994.142 1.496zM11 16.388A5.388 5.388 0 1116.388 11 5.4 5.4 0 0111 16.388zm.182 2.112v-1.726a5.74 5.74 0 002.148-.49l.746 1.556a7.454 7.454 0 01-2.894.662V18.5zm-3.284-.668l.75-1.554a5.74 5.74 0 002.152.498V18.5a7.454 7.454 0 01-2.902-.668zM3.494 11c0-.51.051-1.02.154-1.52l1.682.386a5.748 5.748 0 00-.014 2.188l-1.684.382A7.51 7.51 0 013.494 11zM10.8 3.5v1.726a5.74 5.74 0 00-2.118.48l-.748-1.554A7.454 7.454 0 0110.8 3.5zm3.286.66l-.754 1.552a5.74 5.74 0 00-2.132-.488V3.5c.997.025 1.978.25 2.886.66zm4.238 3.888a7.882 7.882 0 00-.696-1.336l1.4-.968c.352.536.65 1.106.888 1.702l-1.592.602zm-.054 1.076l-1.686.38a5.763 5.763 0 00-.952-1.96l1.352-1.07c.6.79 1.036 1.69 1.284 2.65h.002zm-2.886-1.886a5.816 5.816 0 00-1.7-1.356l.754-1.552a7.552 7.552 0 012.298 1.834l-1.352 1.074zm-.502-3.112l.8-1.512a9.65 9.65 0 011.574 1.102L16.118 5a7.935 7.935 0 00-1.236-.874zm-.346-.184a7.838 7.838 0 00-1.4-.546l.414-1.66c.622.17 1.225.402 1.8.694l-.814 1.512zm-1.79-.642a7.88 7.88 0 00-1.524-.2V1.4a9.587 9.587 0 011.938.24l-.414 1.66zm-1.916-.2c-.506.01-1.01.07-1.504.176l-.4-1.66a9.6 9.6 0 011.906-.216l-.002 1.7zm-1.886.268a7.84 7.84 0 00-1.42.534L6.732 2.4a9.536 9.536 0 011.8-.682l.412 1.65zm-1.766.716a7.93 7.93 0 00-1.25.86L4.8 3.672a9.646 9.646 0 011.588-1.096l.79 1.508zm.4.228l.748 1.554a5.816 5.816 0 00-1.704 1.35L5.274 6.14a7.552 7.552 0 012.312-1.82l-.008-.008zm-2.544 2.14l1.348 1.076a5.764 5.764 0 00-.96 1.956l-1.684-.386a7.482 7.482 0 011.296-2.646zM3.692 8l-1.6-.6A9.6 9.6 0 013 5.694l1.4.972A7.884 7.884 0 003.692 8zm-.14.366a7.83 7.83 0 00-.366 1.474l-1.696-.2c.09-.64.246-1.268.464-1.876l1.598.602zm-.366 3.782c.074.502.197.996.366 1.474l-1.6.6a9.526 9.526 0 01-.462-1.874l1.696-.2zm.504 1.842c.193.47.43.918.71 1.342l-1.4.97a9.6 9.6 0 01-.908-1.702l1.598-.61zm.026-1.172l1.684-.382a5.76 5.76 0 00.942 1.982L5 15.492a7.48 7.48 0 01-1.282-2.674h-.002zm2.866 1.908a5.818 5.818 0 001.71 1.382l-.748 1.552a7.555 7.555 0 01-2.31-1.86l1.348-1.074zm.588 3.18l-.8 1.514a9.649 9.649 0 01-1.57-1.096l1.134-1.278c.385.325.8.613 1.24.86H7.17zm.348.182c.454.223.928.402 1.416.534l-.412 1.66a9.53 9.53 0 01-1.8-.682l.796-1.512zm1.8.628a7.89 7.89 0 001.502.178V20.6a9.607 9.607 0 01-1.91-.228l.408-1.656zm1.894.176a7.889 7.889 0 001.5-.184l.4 1.66a9.599 9.599 0 01-1.912.232l.012-1.708zm1.88-.278a7.839 7.839 0 001.41-.538l.8 1.514a9.537 9.537 0 01-1.8.686l-.41-1.662zm1.756-.722c.44-.246.855-.533 1.24-.858l1.13 1.282a9.65 9.65 0 01-1.576 1.084l-.794-1.508zm-.418-.222l-.746-1.556A5.818 5.818 0 0015.4 14.74l1.346 1.078a7.551 7.551 0 01-2.314 1.854l-.002-.002zM17 15.512l-1.346-1.078c.439-.593.76-1.264.946-1.978l1.682.388A7.48 7.48 0 0117 15.512zM18.308 14l1.6.6A9.6 9.6 0 0119 16.298l-1.4-.974c.278-.418.515-.861.708-1.324zm.14-.366c.168-.475.29-.964.364-1.462l1.696.2a9.52 9.52 0 01-.462 1.862l-1.598-.6zm.366-8.2l-1.4.968a7.957 7.957 0 00-1-1.134l1.136-1.276c.467.433.89.912 1.264 1.428v.014zM4.502 3.93l1.134 1.28a7.962 7.962 0 00-1 1.134l-1.4-.972A9.686 9.686 0 014.502 3.93zM3.216 16.624l1.4-.97c.297.408.632.787 1 1.132L4.48 18.064a9.684 9.684 0 01-1.264-1.44zm14.296 1.432l-1.132-1.282a7.956 7.956 0 001-1.128l1.4.974c-.373.52-.798 1-1.266 1.436h-.002z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},675999:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11 20c-4.987 0-9.037-3.975-9-9 .038-5.025 3.825-9 9-9 5.176 0 9 4.05 9 9s-4.012 9-9 9zm2.663-1.388l-2.55-6.862-2.4 7.012c1.762.413 2.962.525 4.95-.15zm-6.225-.374L3.613 7.775C3.088 8.9 2.975 9.838 2.9 11c.038 3.075 1.763 5.887 4.538 7.238zM19.063 11c.037-1.987-.862-3.562-.938-3.787.076 1.537-.15 2.324-.412 3.187l-2.625 7.538c3.3-1.988 3.937-4.95 4.012-6.938h-.037zm-8.325-.338L9.463 7.175 8.525 7.1c-.375-.262-.15-.675.113-.675 1.687.113 2.624.113 4.312 0 .413 0 .525.6.038.675l-.9.075 2.924 8.625 1.388-4.725c.075-2.062-.488-2.287-1.238-3.787-.6-1.163.038-2.288 1.2-2.325-.938-.9-2.85-2.025-5.362-2.063-2.513-.038-5.175 1.238-6.75 3.638l2.775-.075c.337.15.187.637 0 .675l-.975.075 2.925 8.775 1.763-5.325z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},517450:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12.257 10.063l5.79-6.563h-1.372l-5.028 5.699L7.632 3.5H3l6.072 8.617L3 19h1.372l5.31-6.018L13.922 19h4.632l-6.297-8.937zm-1.88 2.13l-.615-.858-4.895-6.828h2.107l3.95 5.51.616.859 5.135 7.163h-2.107l-4.19-5.846z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},135577:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M3.388 10.63c-.326.521-.462 2.161-.349 3.248.04.359.106.658.2.838.13.246.348.395.597.403.16.008.26-.02 3.261-.986l1.341-.429c.332-.086.558-.391.579-.781.021-.402-.184-.755-.526-.882l-.943-.383c-3.227-1.33-3.372-1.384-3.535-1.385-.25-.008-.47.117-.625.357zm7.218 9.917c.053-.151.06-.255.067-3.41 0 0 .007-1.393.009-1.408.021-.342-.2-.653-.561-.793-.374-.143-.775-.054-1 .226 0 0-.658.78-.662.78-2.26 2.656-2.355 2.78-2.41 2.935a.64.64 0 00-.036.29.77.77 0 00.183.41c.525.623 3.038 1.547 3.84 1.41.282-.049.485-.205.57-.44zm5.1-1.097c.76-.303 2.412-2.405 2.53-3.216.04-.281-.049-.525-.243-.68-.126-.095-.223-.133-3.225-1.118 0 0-1.316-.434-1.334-.442-.32-.124-.683-.009-.926.292-.255.31-.293.72-.09 1.027l.53.862c1.782 2.893 1.918 3.097 2.047 3.197.197.157.449.183.712.078zm-1.55-7.448c3.41-.826 3.543-.87 3.676-.96.207-.14.311-.371.293-.654 0-.008.002-.018 0-.028-.087-.839-1.555-3.017-2.278-3.37-.257-.124-.513-.116-.726.027-.131.086-.228.216-2.054 2.715l-.834 1.135c-.217.264-.22.643-.008.968.22.338.592.5.932.407l-.016.028c.168-.064.467-.138 1.015-.268zm-3.423-2.817c-.06-1.352-.466-7.37-.514-7.648-.069-.254-.266-.433-.549-.505-.872-.216-4.2.717-4.816 1.352-.2.207-.272.46-.212.686.097.199 4.22 6.686 4.22 6.686.609.989 1.107.834 1.27.783.162-.047.657-.202.6-1.354z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},549451:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11.443 17.982l-4.103-.076c-1.329-.027-2.66.026-3.963-.248-1.981-.41-2.122-2.418-2.269-4.103a29.12 29.12 0 01.258-7.128c.216-1.318 1.064-2.104 2.377-2.19 4.43-.31 8.888-.274 13.308-.129a9.49 9.49 0 011.397.169c2.272.403 2.328 2.679 2.475 4.595a26.363 26.363 0 01-.196 5.803c-.225 1.592-.656 2.927-2.475 3.056-2.278.168-4.504.304-6.79.26 0-.01-.012-.01-.019-.01zm-2.412-4.03c1.717-.998 3.401-1.979 5.108-2.97-1.72-.998-3.401-1.979-5.108-2.97v5.94z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},745012:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M3.806 6C1.691 6 0 7.745 0 9.87c0 .95.452 1.804 1.057 2.524.607.723 1.402 1.354 2.175 1.87.776.517 1.549.93 2.126 1.215.468.23 1.163.521 1.163.521s.524-.207 1.164-.521c.577-.284 1.35-.698 2.126-1.216.4-.267.806-.565 1.19-.89.382.325.788.623 1.189.89.776.518 1.549.932 2.126 1.216.467.23 1.163.521 1.163.521s.524-.207 1.163-.521c.577-.284 1.35-.698 2.127-1.216.773-.515 1.568-1.146 2.174-1.869C21.548 11.674 22 10.82 22 9.87 22 7.745 20.309 6 18.194 6a3.765 3.765 0 00-2.715 1.158A3.763 3.763 0 0011 6.439a3.765 3.765 0 00-4.479.719A3.763 3.763 0 003.806 6zm6.272 1.128a2.736 2.736 0 00-.842-.132 2.78 2.78 0 00-2.3 1.23l-.415.61-.416-.61a2.778 2.778 0 00-2.299-1.23c-1.535 0-2.803 1.274-2.803 2.874 0 .628.3 1.262.825 1.887.522.621 1.231 1.191 1.963 1.68a18.075 18.075 0 002.73 1.483 18.073 18.073 0 002.73-1.484c.351-.233.697-.486 1.019-.754a6.995 6.995 0 01-.255-.288c-.605-.72-1.057-1.574-1.057-2.524 0-1.067.427-2.04 1.12-2.742zm.922 4.87a5.918 5.918 0 01-.215-.241c-.524-.625-.824-1.259-.824-1.887A2.89 2.89 0 0111 7.637a2.89 2.89 0 011.039 2.233c0 .628-.3 1.262-.824 1.887-.069.081-.14.162-.215.242zm.73.684c.088-.095.174-.19.255-.288.605-.72 1.057-1.574 1.057-2.524a3.896 3.896 0 00-1.12-2.742c.267-.086.55-.132.842-.132.948 0 1.79.482 2.299 1.23l.415.61.416-.61a2.78 2.78 0 012.3-1.23c1.535 0 2.803 1.274 2.803 2.874 0 .628-.3 1.262-.825 1.887-.521.621-1.231 1.191-1.963 1.68a18.063 18.063 0 01-2.73 1.483 18.073 18.073 0 01-2.73-1.484c-.35-.233-.696-.486-1.019-.754z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},900617:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10 4.016a7 7 0 105.191 12.534l1.424 1.424A8.959 8.959 0 0111 19.944 9 9 0 0110 2v2.016zM19.898 9.594a8.959 8.959 0 01-1.868 6.965l-1.424-1.424a6.968 6.968 0 001.343-5.019l1.95-.522zM17.028 4.26a9.015 9.015 0 012.352 3.402l-1.945.522a7.013 7.013 0 00-1.583-2.285l1.176-1.638zM12 2a8.937 8.937 0 013.403 1.095l-1.176 1.637A6.947 6.947 0 0012 4.016V2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},793534:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M20 4H2v14h18V4zM4 7.301V16h14V7.301L11.894 13h-1.788L4 7.301zM16.463 6H5.537l5.357 5h.212l5.357-5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},702450:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M0 3h22v2H0V3zM0 17h22v2H0v-2z"}),d.createElement("path",{clipRule:"evenodd",d:"M12.557 7H9.443L7 14.065V15h1.8l.643-2h3.114l.643 2H15v-.934L12.557 7zm-.328 4.5h-2.54L10.5 9h1l.729 2.5z",fillRule:"evenodd"}),d.createElement("path",{d:"M19.443 13l-.643 2H17v-.935L19.443 7H22v3.715L21.5 9h-1l-.811 2.5H22V13h-2.557zM3.2 15l-.643-2H0v-1.5h2.311L1.5 9h-1L0 10.715V7h2.557L5 14.065V15H3.2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},15451:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M2 16V4h10v2H4v10h14v-4h2v6H2v-2zM16 6h-2V4h2v2zm4 0h-2V4h2v2zm-2 4h2V8h-2v2zm-2 0h-2V8h2v2zm-6 0h2V8h-2v2zm6 4h-2v-2h2v2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},94498:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M7 18l-3 3H2V4h18v14H7zm11-2H6.172L4 18.172V6h14v10zM6 8h10v2H6V8zm10 4H6v2h10v-2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},827850:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M3 10v2h16v-2H3z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},636376:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M11 20a9 9 0 100-18 9 9 0 000 18zm-4-8h8v-2H7v2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},732153:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M6 10v2h10v-2H6z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},560742:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M14 16H8v2h6v-2z"}),d.createElement("path",{clipRule:"evenodd",d:"M14 1H8a3 3 0 00-3 3v14a3 3 0 003 3h6a3 3 0 003-3V4a3 3 0 00-3-3zM7 4a1 1 0 011-1h6a1 1 0 011 1v14a1 1 0 01-1 1H8a1 1 0 01-1-1V4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},367725:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M17.229 7.314c2.094 2.226 3.144 4.36 3.329 6.253.187 1.922-.533 3.53-1.818 4.534-2.562 2.001-6.801 1.313-9.538-2.5l1.665-1.11c2.257 3.097 5.22 3.144 6.643 2.033.714-.558 1.182-1.482 1.057-2.763-.128-1.31-.89-3.05-2.796-5.075l1.457-1.372zM11 8.5l-3.5 1 2 3.5L8 14l-2-3.5L3 13 2 2l9 6.5zM15 5a1 1 0 110 2 1 1 0 010-2zM12 3a1 1 0 110 2 1 1 0 010-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},112193:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10 4H2v2h8V4zM10 8H2v2h8V8zM12 10V8h8v2h-8zM10 12H2v2h8v-2zM12 14v-2h8v2h-8zM10 16H2v2h8v-2zM12 18v-2h8v2h-8zM12 6V4h8v2h-8z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},239581:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M20 11a9 9 0 11-18 0 9 9 0 0118 0zm-2 0a7 7 0 01-11.19 5.608l9.798-9.799A6.97 6.97 0 0118 11zM5.395 15.194l9.799-9.8a7 7 0 00-9.799 9.799z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},35235:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M20 18v-2.5c-1.28-1.28-2-2.018-2-3.829V9.5a7.001 7.001 0 00-4.134-6.388 3.001 3.001 0 00-5.732 0A7.001 7.001 0 004 9.5v2.171c0 1.811-.72 2.548-2 3.829V18h6a3 3 0 106 0h6zM11.956 3.703l.267.863.823.37A5.001 5.001 0 0116 9.5v2.171c0 1.21.25 2.212.802 3.137.258.434.573.829.9 1.192H4.298c.327-.363.642-.758.9-1.192.551-.925.802-1.927.802-3.137V9.5a5.001 5.001 0 012.954-4.564l.823-.37.267-.863a1.001 1.001 0 011.912 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},698865:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M6.492 15l-.5 4h2.016l.5-4h3.984l-.5 4h2.016l.5-4H19v-2h-4.242l.5-4H19V7h-3.492l.5-4h-2.016l-.5 4H9.508l.5-4H7.992l-.5 4H3v2h4.242l-.5 4H3v2h3.492zm2.266-2h3.984l.5-4H9.258l-.5 4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},77408:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M4 5.5a.5.5 0 00.5.5H5v1H2V6h.5a.5.5 0 00.5-.5V4H2V3a1 1 0 001-1h1v3.5zM20 4H8v2h12V4zM20 10H8v2h12v-2zM8 16h12v2H8v-2zM2 13v-.5c0-.486.156-.863.439-1.146l1.415-1.415A.507.507 0 004 9.586C4 9.224 3.775 9 3.5 9a.5.5 0 00-.5.5v.5H2v-.5C2 8.673 2.673 8 3.5 8S5 8.673 5 9.5c0 .486-.156.863-.439 1.146L3.207 12H5v1H2zM3.503 14A1.5 1.5 0 015 15.5c0 .386-.15.734-.39 1 .24.266.39.614.39 1a1.5 1.5 0 01-3 .008l.998-.008a.501.501 0 10.505-.5h-.499v-1h.499a.5.5 0 000-1 .5.5 0 00-.499.5h-.998A1.5 1.5 0 013.503 14z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},373614:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M19 3H3v16h16V3zM5 11V5h12v6h-4v2H9v-2H5zm0 2v4h12v-4h-2v2H7v-2H5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},824868:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M2.772 17.701l.263-.964c1.526-5.595 3.749-9.025 6.392-10.596 2.727-1.622 5.648-1.126 8.128.527l.832.555-1.11 1.664-.832-.555-.379-.24c-1.9-1.133-3.839-1.29-5.618-.233-1.982 1.179-4.01 4-5.483 9.404l-.264.964-1.929-.526z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},184404:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M2.772 17.701l.263-.964c.982-3.601 2.14-6.46 3.412-8.442C7.684 6.369 9.21 5 11 5c1.246 0 2.04.805 2.538 1.54.47.691.882 1.652 1.16 2.184.163.31.294.516.405.642.022.024.042.04.056.053a.958.958 0 00.134-.08c.207-.142.51-.428.918-.953l.613-.79 1.58 1.228-.615.79c-.466.6-.914 1.064-1.361 1.372-.454.313-.985.516-1.562.434-.57-.082-.98-.413-1.26-.73-.277-.313-.498-.693-.68-1.039-.408-.78-.652-1.413-1.042-1.988-.36-.53-.63-.663-.884-.663-.71 0-1.715.578-2.87 2.376-1.117 1.742-2.21 4.383-3.165 7.887l-.264.964-1.929-.526z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},654498:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M4 13v4H2V5h5.25a4 4 0 110 8H4zm5.25-4a2 2 0 01-2 2H4V7h3.25a2 2 0 012 2z",fillRule:"evenodd"}),d.createElement("path",{d:"M21 17h-8v-2h3V9h-3V7.25c2 0 3-.75 3-2.25l2 .01V15h3v2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},386884:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M7.25 5a4 4 0 110 8H4v4H2V5h5.25zm9.674-.2c2.471 0 3.958 1.579 3.958 3.683C20.882 11.5 18.05 13.5 15.8 15H21v2h-8v-1.9c.918-.818 1.97-1.524 3.507-2.993 1.62-1.553 2.293-2.288 2.293-3.574 0-1.102-.724-1.933-1.876-1.933-1.353 0-1.954.998-1.97 2.334l-2.055-.083c.017-2.188 1.403-4.05 4.025-4.051zM4 11h3.25a2 2 0 000-4H4v4z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},158825:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M16.808 17.217c-2.538 0-3.991-1.536-4.141-3.674l2.02-.083c.1 1.235.819 2.037 2.155 2.037 1.269 0 2.07-.902 2.07-2.054 0-1.443-.915-1.943-2.454-1.943h-.461V9.752c1.386 0 2.415-.434 2.415-1.703 0-.986-.719-1.549-1.604-1.549-1.018 0-1.586.697-1.686 1.682l-1.92-.083c.066-1.92 1.452-3.299 3.656-3.299 2.171 0 3.59 1.312 3.59 3.165 0 1.186-.7 2.004-1.67 2.489v.033C20.216 10.955 21 12.04 21 13.51c0 2.204-1.637 3.707-4.192 3.707z"}),d.createElement("path",{clipRule:"evenodd",d:"M4 13v4H2V5h5.25a4 4 0 110 8H4zm5.25-4a2 2 0 01-2 2H4V7h3.25a2 2 0 012 2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},373721:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M18 2H8.586L4 6.586V20h14V2zm-8 2h6v14H6V8h4V4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},440505:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M9 13a4.5 4.5 0 110-9h8v2h-1.973L15 18h-2V6h-2v12H9v-5z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},638260:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M4 16V2h14v14H4zM6 4h10v10H6V4z",fillRule:"evenodd"}),d.createElement("path",{d:"M4 18h6v2H4v-2zM12 18h6v2h-6v-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},14022:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M1 2v18h10V2H1zm8 2H3v14h6V4z",fillRule:"evenodd"}),d.createElement("path",{d:"M13 2h8v2h-8V2zM21 6h-8v2h8V6z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},863024:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M3 2H1v2h2V2z"}),d.createElement("path",{clipRule:"evenodd",d:"M5 2v18h10V2H5zm8 2H7v14h6V4z",fillRule:"evenodd"}),d.createElement("path",{d:"M17 2h4v2h-4V2zM21 6h-4v2h4V6zM1 6h2v2H1V6z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},562235:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M12 10h6v10H4V2h8v8zm-2-6H6v6h4V4zm0 14v-6H6v6h4zm6 0v-6h-4v6h4z",fillRule:"evenodd"}),d.createElement("path",{d:"M14 2h4v2h-4V2zM18 6h-4v2h4V6z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},514494:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M9.22 10.674C8.072 10.899 6.957 11.34 6 12H5c-1.429 0-3 .5-4 1.5V19h20v-5.5c-1-1-2.571-1.5-4-1.5h-.99a8.29 8.29 0 00-3.214-1.332A9.589 9.589 0 0011 10.5c-.59 0-1.19.058-1.78.174zM7 17v-3.257c1.086-.796 2.545-1.243 4-1.243 1.505 0 2.911.424 4 1.238V17H7zM9.504 8.601c.44.254.951.399 1.496.399a2.999 2.999 0 003-3 3 3 0 10-4.496 2.601zM11 5a1 1 0 100 2 1 1 0 000-2z",fillRule:"evenodd"}),d.createElement("path",{d:"M5 7a2 2 0 100 4 2 2 0 000-4zM15 9a2 2 0 114 0 2 2 0 01-4 0z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},61430:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M6.5 10a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm0-2a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM15.5 19a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm0-2a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fillRule:"evenodd"}),d.createElement("path",{d:"M13.764 3L6 19h2.236L16 3h-2.236z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},101635:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M11 1a4 4 0 100 8 4 4 0 000-8zM9 5a2 2 0 114 0 2 2 0 01-4 0zM11 11c-1.374 0-2.86.273-4.205.744-1.336.467-2.61 1.157-3.502 2.049L3 14.086V20h16v-5.914l-.293-.293c-.892-.892-2.166-1.582-3.502-2.05C13.86 11.274 12.373 11 11 11zm-6 7v-3.059c.607-.504 1.463-.962 2.455-1.31C8.61 13.227 9.874 13 11 13c1.127 0 2.39.227 3.545.631.992.348 1.847.806 2.455 1.31V18H5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},406409:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M11 1a4 4 0 100 8 4 4 0 000-8zM9 5a2 2 0 114 0 2 2 0 01-4 0z",fillRule:"evenodd"}),d.createElement("path",{d:"M5 18v-3.059c.607-.504 1.463-.962 2.455-1.31C8.61 13.227 9.874 13 11 13v-2c-1.374 0-2.86.273-4.205.744-1.336.467-2.61 1.157-3.502 2.049L3 14.086V20h8v-2H5z"}),d.createElement("path",{clipRule:"evenodd",d:"M14 15h1v-1a3 3 0 116 0v1h1v6h-8v-6zm5-1v1h-2v-1a1 1 0 112 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},359203:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M13.107 1.75l-1.415 1.414.707.707-6.363 4.95L4.62 7.407 3.207 8.82l4.243 4.243-4.95 4.95v1.414h1.414l4.95-4.95 4.243 4.243 1.414-1.415-1.414-1.414 4.95-6.364.707.707 1.414-1.414-7.071-7.071z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},613231:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M8 15.8V6.2l8 4.8-8 4.8z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},92484:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M12.807 5.46l3.008-3.009-1.406-1.422-3.012 3.012-2.255-2.27L6.938 3.99l-.367 1.845-3.825 3.849v4.429l-1.56 1.569 1.02 1.025L.82 18.1l2.856 2.871L5.06 19.58l1.147 1.154 1.56-1.57h4.401l3.826-3.848 1.834-.37 2.203-2.217-2.208-2.222L21.18 7.15l-1.406-1.423-3.361 3.362-3.606-3.629zM4.74 10.513l3.668-3.691.367-1.845.367-.37 8.07 8.12-.367.37-1.834.368-3.668 3.691H6.94l-.734.738-2.2-2.214.733-.738v-4.43z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},668789:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12 3h-2v7H3v2h7v7h2v-7h7v-2h-7V3z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},64569:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M10 3H3v7h7V3zM5 8V5h3v3H5zM19 3h-7v7h7V3zm-5 5V5h3v3h-3zM3 12h7v7H3v-7zm2 2v3h3v-3H5zM19 12h-7v7h7v-7zm-5 5v-3h3v3h-3z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},815127:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10.79 10.474a.95.95 0 011.256.181L14 13l.5 1 .322-1.366L19.5 13l1.5 5.5-3 2.5h-2l-2-.5-2-1-1.943-1.943a.96.96 0 011.255-1.448L12.5 17h.634L13 16l-1-2-1.474-2.21a.95.95 0 01.264-1.316z"}),d.createElement("path",{d:"M11 1c5.185 0 9.448 3.947 9.95 9h-2.014A8 8 0 108 18.416v2.125C3.943 19.267 1 15.477 1 11 1 5.477 5.477 1 11 1z"}),d.createElement("path",{d:"M11 5a6 6 0 015.915 5h-2.041A4.002 4.002 0 007 11c0 1.014.378 1.939 1 2.644v2.551A6 6 0 0111 5z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},744305:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M5 20H3V2h2l14 8.5v2L5 20zM5 4.34V17.73l11.718-6.277L5 4.34z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},664519:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M5 6V2h12v4h4v10h-4v4H5v-4H1V6h4zm14 8h-2v-4H5v4H3V8h16v6zm-4-2H7v6h8v-6zM7 4h8v2H7V4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},180223:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M6 2h10v8h4v10H2V10h4V2zm4 16v-6H4v6h6zm4-8V4H8v6h6zm-2 8h6v-6h-6v6z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},41722:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M9 7H5v4h4V7zM11 7h2v4h-2V7z"}),d.createElement("path",{clipRule:"evenodd",d:"M1 3h16v4h4v12H5v-4H1V3zm14 10V5H3v8h12zm2-4v6H7v2h12V9h-2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},627430:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M8 8a3 3 0 114.8 2.4l-1.2.9a4 4 0 00-1.6 3.2v.5h2v-.5a2 2 0 01.8-1.6L14 12a5 5 0 10-8-4v1h2V8zM11 16.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},608371:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11 8a1 1 0 00-1 1H8a3 3 0 016 0v.172a3 3 0 01-.879 2.12L12 12.415V13h-2v-.586A2 2 0 0110.586 11l1.121-1.121A1 1 0 0012 9.172V9a1 1 0 00-1-1zM12 14v2h-2v-2h2z"}),d.createElement("path",{clipRule:"evenodd",d:"M11 2a9 9 0 100 18 9 9 0 000-18zm-7 9a7 7 0 1114 0 7 7 0 01-14 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},408294:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M3 10h7v7H3v-7z",fillRule:"evenodd"}),d.createElement("path",{d:"M3 10l3-6h2.75l-3 6H3z"}),d.createElement("path",{clipRule:"evenodd",d:"M12 10h7v7h-7v-7z",fillRule:"evenodd"}),d.createElement("path",{d:"M12 10l3-6h2.75l-3 6H12z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},741146:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M11 18a7 7 0 100-14 7 7 0 000 14zm0 2a9 9 0 100-18 9 9 0 000 18z",fillRule:"evenodd"}),d.createElement("path",{d:"M14 11a3 3 0 11-6 0 3 3 0 016 0z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},191223:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M8 7v2h6V7H8zM8 11v2h4v-2H8z"}),d.createElement("path",{clipRule:"evenodd",d:"M2 2v3h2v12.87l1.327 1.548 1.853-1.622 1.891 1.47 1.929-1.5 1.929 1.5 1.89-1.47 1.854 1.622L18 17.87V5h2V2H2zm4 2h10v12.171l-1.105-.967-1.966 1.53-1.929-1.5-1.929 1.5-1.966-1.53L6 16.171V4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},135912:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M16.582 7l-4-4h2.828l5 5-5 5h-2.828l4-4H7.5a3.5 3.5 0 100 7H11v2H7.5a5.5 5.5 0 110-11h9.082z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},374517:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M15.825 4.001h4.177l-2-2.001H12l.002 6.001 2 2V5.233A6.502 6.502 0 0112 17.423v2.019a8.501 8.501 0 003.825-15.44zM6.177 18H2l2 2.001h6.001L10 14l-2-2v4.768a6.502 6.502 0 012-12.191V2.557A8.501 8.501 0 006.177 18z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},734946:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M2 7V3h2v4a2 2 0 001 1.732V3h2v5.732A2 2 0 008 7V3h2v4a4.002 4.002 0 01-3 3.874V19H5v-8.126A4.002 4.002 0 012 7zM19 17v2a8 8 0 110-16v2a6 6 0 000 12z"}),d.createElement("path",{d:"M15 11a4 4 0 014-4v2a2 2 0 100 4v2a4 4 0 01-4-4z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},25257:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M6.386 9C7.253 6.77 9.479 5 12 5c3.232 0 6 2.741 6 6 0 3.262-2.759 6-6 6a6.052 6.052 0 01-4.243-1.757l-1.414 1.414A8.052 8.052 0 0012 19c4.34 0 8-3.629 8-8 0-4.37-3.67-8-8-8-2.995 0-5.628 1.802-6.999 4.26V3L3 5v6.001L9.001 11l2-2H6.386z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},463678:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M13 3v2h2a2 2 0 012 2v2h2V7a4 4 0 00-4-4h-2zM9 3v2H7a2 2 0 00-2 2v2H3V7a4 4 0 014-4h2zM3 13v2a4 4 0 004 4h2v-2H7a2 2 0 01-2-2v-2H3zM13 17v2h2a4 4 0 004-4v-2h-2v2a2 2 0 01-2 2h-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},880872:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M18.5 4h-8C9.3 4 7.585 4.436 6.15 5.513 4.673 6.62 3.5 8.405 3.5 11c0 2.594 1.173 4.38 2.65 5.488C7.585 17.564 9.3 18 10.5 18h8v-2h-8c-.799 0-2.085-.314-3.15-1.113C6.328 14.121 5.5 12.906 5.5 11s.828-3.12 1.85-3.888C8.415 6.314 9.701 6 10.5 6h8V4z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},680736:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M15 5H7a2 2 0 00-2 2v8a2 2 0 002 2h8a2 2 0 002-2V7a2 2 0 00-2-2zM7 3a4 4 0 00-4 4v8a4 4 0 004 4h8a4 4 0 004-4V7a4 4 0 00-4-4H7z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},132909:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("g",{clipPath:"url(#prefix__clip0_1645_454)"},d.createElement("path",{d:"M4 0v2h14V0H4zM18 20v2H4v-2h14zM15 9V6.5L11 3 7 6.5V9l3-2.625v9.25L7 13v2.5l4 3.5 4-3.5V13l-3 2.625v-9.25L15 9z"})),d.createElement("defs",null,d.createElement("clipPath",{id:"prefix__clip0_1645_454"},d.createElement("path",{d:"M0 0h22v22H0z",fill:"#fff"})))),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},768039:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("g",{clipPath:"url(#prefix__clip0_1645_455)"},d.createElement("path",{d:"M6.5 7H9l-2.625 3h9.25L13 7h2.5l3.5 4-3.5 4H13l2.625-3h-9.25L9 15H6.5L3 11l3.5-4zM0 18V4h2v14H0zM20 6v12h2V4h-2v2z"})),d.createElement("defs",null,d.createElement("clipPath",{id:"prefix__clip0_1645_455"},d.createElement("path",{d:"M0 0h22v22H0z",fill:"#fff"})))),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},821465:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12 12h-2V7h2v5z"}),d.createElement("path",{clipRule:"evenodd",d:"M11 2a7 7 0 017 7v4l-.009.36a7 7 0 01-13.982 0L4 13V9a7 7 0 017-7zm0 2a5 5 0 00-5 5v4a5 5 0 0010 0V9a5 5 0 00-5-5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},252345:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M14.192 15.606a7 7 0 111.414-1.414l3.601 3.601-1.414 1.414-3.6-3.6zM15 10a5 5 0 11-10 0 5 5 0 0110 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},432752:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M15.192 5.393A6.965 6.965 0 0012 4.071V2h-2v2.07a6.964 6.964 0 00-3.192 1.323L5.344 3.93 3.93 5.343l1.464 1.464A6.964 6.964 0 004.07 10H2v2h2.07a6.964 6.964 0 001.324 3.193L3.93 16.657l1.414 1.414 1.464-1.464A6.964 6.964 0 0010 17.929V20h2v-2.07a6.964 6.964 0 003.192-1.323l1.465 1.464 1.414-1.414-1.465-1.465A6.964 6.964 0 0017.93 12H20v-2h-2.07a6.963 6.963 0 00-1.324-3.193l1.464-1.464-1.414-1.414-1.464 1.464zM11 16a5 5 0 100-10 5 5 0 000 10z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},739813:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M7.5 7c.809 0 1.583.148 2.297.418l-1.02 1.767A4.5 4.5 0 1011.971 14H6l7.501-13L21 14h-7.021A6.498 6.498 0 011 13.5 6.5 6.5 0 017.5 7zm1.963 5h8.074l-4.036-6.998L9.463 12z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},522049:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M6 5.5v2.75l4-4V13h2V4.25l4 4V5.5l-5-5-5 5z"}),d.createElement("path",{d:"M5 9v10h12V9h2v12H3V9h2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},644550:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M14 6H2V4h14v4h3l3 4.5V18h-2a2 2 0 11-4 0H8a2 2 0 11-4 0H2v-2h12V6zm2 10v-6h1.93L20 13.106V16h-4z",fillRule:"evenodd"}),d.createElement("path",{d:"M0 10V8h10v2H0zM0 14v-2h8v2H0z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},658280:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M7 9a1 1 0 112 0 1 1 0 01-2 0zM14 8a1 1 0 100 2 1 1 0 000-2z"}),d.createElement("path",{clipRule:"evenodd",d:"M7 4a4 4 0 118 0h4v16H3V4h4zm4-2a2 2 0 012 2H9a2 2 0 012-2zM5 6v12h12V6H5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},742699:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10.998 14a3 3 0 100-6 3 3 0 000 6z"}),d.createElement("path",{clipRule:"evenodd",d:"M1 10.184v-.002l.019-.04a4.533 4.533 0 01.148-.294 9.87 9.87 0 01.418-.712c.367-.57.927-1.323 1.712-2.078C4.885 5.531 7.403 4 10.997 4c3.595 0 6.113 1.531 7.701 3.058a11.664 11.664 0 011.712 2.078 9.894 9.894 0 01.532.935l.034.072.012.025.004.01.002.004.001.002v.315L21 10.5l-.003 1v.316l-.002.002-.002.004-.004.01-.012.025-.034.072a9.89 9.89 0 01-.532.934c-.367.571-.927 1.324-1.712 2.079C17.11 16.469 14.592 18 10.998 18c-3.595 0-6.113-1.531-7.701-3.058a11.662 11.662 0 01-1.712-2.078 9.866 9.866 0 01-.532-.935 4.533 4.533 0 01-.034-.072l-.012-.025-.004-.01L1 11.818 1 11.816v-1.632zM10.998 6c-5.943 0-8.172 5-8.172 5s2.229 5 8.171 5c5.944 0 8.172-5 8.172-5s-2.229-5-8.171-5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},458940:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M15 10h2.5L21 6l-3.5-4H15l2.625 3h-4.587l-8.5 10H1v2h4.462l8.5-10h3.663L15 10zM5.962 5l2.226 2.618-1.313 1.544L5.038 7H1V5h4.962z"}),d.createElement("path",{d:"M12.125 12.25l-1.313 1.544L13.538 17h4.087L15 20h2.5l3.5-4-3.5-4H15l2.625 3h-3.163l-2.337-2.75z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},749662:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M7 5L5 7h8.586l-9 9 1.415 1.414 9-9V17l2-2V5H7z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},481160:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M3 14V2h16v12H3zM5 4h12v8H5V4z",fillRule:"evenodd"}),d.createElement("path",{d:"M7 20v-4H3v4h4zM9 16h4v4H9v-4zM19 20v-4h-4v4h4z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},974257:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M10.5 5c0 .3-.038.59-.109.869l4.247 2.548a3.5 3.5 0 110 5.166l-4.247 2.548A3.5 3.5 0 116 13.645v-5.29A3.502 3.502 0 017 1.5 3.5 3.5 0 0110.5 5zm-5 0A1.496 1.496 0 017 3.5 1.5 1.5 0 115.5 5zM17 12.5a1.5 1.5 0 11.001-3 1.5 1.5 0 01-.001 3zM9.362 7.583l4.247 2.548a3.508 3.508 0 000 1.738l-4.247 2.548A3.496 3.496 0 008 13.645v-5.29c.513-.153.977-.42 1.362-.772zM6 15.882A1.497 1.497 0 007 18.5a1.5 1.5 0 10-1-2.618z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},838270:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10 4h12v2H10V4zM22 8H10v2h12V8zM10 12h12v2H10v-2zM22 16H10v2h12v-2zM3 6v6.672l-3-3V12.5l4 4 4-4V9.672l-3 3V6H3z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},578851:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10 4h12v2H10V4zM22 8H10v2h12V8zM10 12h12v2H10v-2zM22 16H10v2h12v-2zM3 16V9.328l-3 3V9.5l4-4 4 4v2.829l-3-3V16H3z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},726980:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M10.172 6.172L12.212 1h1.577l2.04 5.172L21 8.212v1.577l-5.172 2.04L13.788 17h-1.577l-2.04-5.172L5 9.788V8.212l5.172-2.04zm4.115 1.541L17.549 9l-3.262 1.287L13 13.549l-1.287-3.262L8.451 9l3.262-1.287L13 4.451l1.287 3.262z",fillRule:"evenodd"}),d.createElement("path",{d:"M4.65 14.65L5.63 12h.74l.98 2.65 2.65.98v.74l-2.65.98L6.37 20h-.74l-.98-2.65L2 16.37v-.74l2.65-.98z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},534638:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M6.75 4c.656 0 1.17.31 1.535.712.344.379.578.86.75 1.324.344.927.547 2.103.712 3.117.145.886.26 1.626.396 2.157.583-.438 1.118-.753 1.641-.962a4.545 4.545 0 011.943-.327c.573.024 1.18.139 1.735.224.584.09 1.233.171 2.038.171h1v2h-1c-.947 0-1.707-.096-2.342-.193-.663-.102-1.087-.186-1.513-.204-.38-.015-.721.027-1.118.185-.415.166-.933.478-1.636 1.065a1.68 1.68 0 01-.775.38 1.344 1.344 0 01-.981-.203 1.715 1.715 0 01-.526-.57 3.207 3.207 0 01-.262-.587c-.253-.736-.415-1.837-.575-2.813-.17-1.049-.347-2.03-.612-2.745-.132-.356-.259-.568-.356-.675a.409.409 0 00-.051-.048L6.74 6a.302.302 0 00-.036.045c-.087.126-.195.392-.278.867-.165.944-.162 2.261-.146 3.754.016 1.438.042 3.024-.12 4.336-.082.659-.217 1.31-.457 1.868-.24.56-.623 1.114-1.246 1.435l-.89.458-.915-1.779.889-.457c.064-.033.19-.133.323-.445.135-.313.24-.755.31-1.326.143-1.149.122-2.58.106-4.069-.015-1.434-.028-2.955.175-4.118.1-.578.272-1.183.606-1.664.37-.533.94-.905 1.688-.905zm-.007 1.998L6.745 6 6.75 6c-.001 0 .002-.01-.007-.002z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},97477:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M4 4h14v2H6v10h12v2H4V4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},721962:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M13.781 7.635L11.001 2 8.218 7.635 2 8.54l4.5 4.386-1.062 6.194L11 16.195l5.562 2.924-1.062-6.194L20 8.54l-6.219-.904zm1.921 2.3l-3.249-.472L11 6.52 9.547 9.463l-3.249.472 2.351 2.292-.555 3.236L11 13.935l2.906 1.528-.555-3.236 2.351-2.292z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},663690:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M11 2l2.781 5.635 6.22.904-4.5 4.386 1.061 6.194L11 16.195l-5.562 2.924L6.5 12.925 2 8.54l6.219-.904L11 2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},727180:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M1 1h6v4h13.28l-2.5 10H5V3H1V1zm6 6v6h9.22l1.5-6H7z",fillRule:"evenodd"}),d.createElement("path",{d:"M15 19a2 2 0 11-4 0 2 2 0 014 0zM9 19a2 2 0 11-4 0 2 2 0 014 0z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},711167:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M7.562 14.059c.356 1.483 1.463 2.383 3.284 2.383 1.801 0 2.946-.938 2.946-2.327 0-.783-.322-1.262-.9-1.615h2.544c.177.41.27.897.27 1.484 0 2.42-2.083 4.016-4.898 4.016-2.777 0-4.616-1.314-5.048-3.79l1.802-.151zM6.21 7.697c0 1.285.518 2.164 1.439 2.803H3v1h16v-1h-6.18c-.296-.106-.61-.207-.942-.307l-1.201-.357c-1.558-.487-2.515-.975-2.515-2.233 0-1.257 1.051-2.045 2.609-2.045 1.632 0 2.477.732 2.871 1.989l1.745-.15C15.05 5.332 13.511 4 10.827 4 8.05 4 6.21 5.483 6.21 7.697z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},120051:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("g",{clipPath:"url(#prefix__clip0_1645_485)"},d.createElement("path",{clipRule:"evenodd",d:"M19.871 1.81a2.768 2.768 0 00-3.914 0l-3.543 3.544-2.5-2.5L0 12.768l8.914 8.914 9.914-9.914-2.5-2.5 3.543-3.543a2.768 2.768 0 000-3.914zm-2.5 1.415a.768.768 0 011.086 1.086L13.5 9.268l2.5 2.5-1.086 1.086-6.086-6.086 1.086-1.086 2.5 2.5 4.957-4.957zM7.414 8.182l-4.586 4.586 1.086 1.086 3.293-3.293 1.414 1.414-3.293 3.293 1.086 1.086 3.293-3.293 1.414 1.414-3.293 3.293 1.086 1.086 4.586-4.586-6.086-6.086z",fillRule:"evenodd"})),d.createElement("defs",null,d.createElement("clipPath",{id:"prefix__clip0_1645_485"},d.createElement("path",{d:"M0 0h22v22H0z",fill:"#fff"})))),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},840990:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M18 18h-3v-.5c0-.486.156-.863.439-1.146l1.415-1.415a.507.507 0 00.146-.353c0-.362-.225-.586-.5-.586a.5.5 0 00-.5.5v.5h-1v-.5c0-.827.673-1.5 1.5-1.5s1.5.673 1.5 1.5c0 .486-.156.863-.44 1.146L16.208 17H18v1z",fillRule:"evenodd"}),d.createElement("path",{clipRule:"evenodd",d:"M18 18h-3v-.5c0-.486.156-.863.439-1.146l1.415-1.415a.507.507 0 00.146-.353c0-.362-.225-.586-.5-.586a.5.5 0 00-.5.5v.5h-1v-.5c0-.827.673-1.5 1.5-1.5s1.5.673 1.5 1.5c0 .486-.156.863-.44 1.146L16.208 17H18v1z",fillRule:"evenodd"}),d.createElement("path",{d:"M5.561 14.059c.357 1.483 1.464 2.383 3.285 2.383 1.801 0 2.946-.938 2.946-2.327s-1.014-1.82-2.665-2.29l-1.201-.337c-2.308-.657-3.716-1.67-3.716-3.79 0-2.215 1.84-3.698 4.617-3.698 2.683 0 4.222 1.332 4.56 3.397l-1.745.15c-.394-1.257-1.239-1.99-2.872-1.99-1.557 0-2.608.789-2.608 2.046 0 1.258.957 1.746 2.515 2.233l1.2.357c2.365.713 3.83 1.464 3.83 3.79 0 2.422-2.084 4.017-4.899 4.017-2.777 0-4.617-1.314-5.048-3.79l1.801-.151z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},814878:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M15 8.5V9h3V8h-1.793l1.354-1.354c.283-.283.439-.66.439-1.146 0-.827-.673-1.5-1.5-1.5S15 4.673 15 5.5V6h1v-.5a.5.5 0 01.5-.5c.275 0 .5.224.5.586 0 .131-.054.26-.146.353l-1.415 1.415c-.283.283-.44.66-.44 1.146zM5.561 14.059c.357 1.483 1.464 2.383 3.285 2.383 1.801 0 2.946-.938 2.946-2.327s-1.014-1.82-2.665-2.29l-1.201-.337c-2.308-.657-3.716-1.67-3.716-3.79 0-2.215 1.84-3.698 4.617-3.698 2.683 0 4.222 1.332 4.56 3.397l-1.745.15c-.394-1.257-1.239-1.99-2.872-1.99-1.557 0-2.608.789-2.608 2.046 0 1.258.957 1.746 2.515 2.233l1.2.357c2.365.713 3.83 1.464 3.83 3.79 0 2.422-2.084 4.017-4.899 4.017-2.777 0-4.617-1.314-5.048-3.79l1.801-.151z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},833113:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M14.874 10a4.002 4.002 0 00-7.748 0H5.829a3.001 3.001 0 100 2h1.297a4.002 4.002 0 007.748 0h1.297a3.001 3.001 0 100-2h-1.297zM13 11a2 2 0 11-4 0 2 2 0 014 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},270470:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M6.853 3H9v1l.003.058a2.689 2.689 0 00.266.995c.129.256.305.482.551.646.24.16.605.301 1.18.301s.94-.14 1.18-.3c.246-.165.422-.39.55-.647A2.688 2.688 0 0013 4V3h2.147L21 4.756V11.5h-3.5V20h-13v-8.5H1V4.756L6.853 3zm.284 2.003L3 6.244V9.5h3.5V18h9V9.5H19V6.244l-4.137-1.241c-.07.284-.177.611-.344.944a3.632 3.632 0 01-1.23 1.416C12.685 7.766 11.925 8 11 8s-1.685-.234-2.29-.637a3.632 3.632 0 01-1.23-1.416 4.548 4.548 0 01-.343-.944z",fillRule:"evenodd"}),d.createElement("path",{d:"M13 12a2 2 0 11-4 0 2 2 0 014 0z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},438140:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M13.684 8.407a1.571 1.571 0 102.223-2.222 1.571 1.571 0 00-2.223 2.222z"}),d.createElement("path",{clipRule:"evenodd",d:"M10.722 1h7.407l2.963 2.963v7.407L11.462 21 1.092 10.63 10.722 1zm-6.667 9.63l7.534-7.535h5.672l1.736 1.736v5.671l-7.535 7.535-7.407-7.407z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},942895:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10 4H4v2h6V4zM10 18v-2H4v2h6zM18 16v2h-6v-2h6zM18 4h-6v2h6V4zM15 14v-2h6v2h-6zM1 14h12v-2H1v2zM21 8H9v2h12V8zM1 10V8h6v2H1z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},117446:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M9.79 9.474a.95.95 0 011.256.181L13 12l.5 1 .321-1.366L18.5 12l1.5 5.5-3 2.5h-2l-2-.5-2-1-1.943-1.943a.96.96 0 011.255-1.448L11.5 16h.634L12 15l-1-2-1.474-2.21a.95.95 0 01.264-1.316zM7.035 12.866l-3.464 2-1-1.732 3.464-2 1 1.732zM7.035 7.134l-1 1.732-3.464-2 1-1.732 3.464 2zM17.428 6.866l-3.464 2-1-1.732 3.464-2 1 1.732zM11 6H9V2h2v4z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},675870:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12 18h-2V6H5V4h12v2h-5v12z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},457686:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M17 4H5v2h12V4zM20 8H2v2h18V8zM2 12h18v2H2v-2zM17 16H5v2h12v-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},489835:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M19 4H3v2h16V4zM3 8h16v2H3V8zM19 12H3v2h16v-2zM19 16H3v2h16v-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},144209:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M14 4H2v2h12V4zM20 8H2v2h18V8zM2 12h18v2H2v-2zM14 16H2v2h12v-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},97844:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M20 4H8v2h12V4zM20 8H2v2h18V8zM2 12h18v2H2v-2zM20 16H8v2h12v-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},733951:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10 10H8V8h6v2h-2v5h-2v-5z"}),d.createElement("path",{clipRule:"evenodd",d:"M2 2v18h18V2H2zm16 2H4v14h14V4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},140258:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M1.5 13.834v-.558c.618-1.668 1.271-3.403 1.924-5.138C4.077 6.403 4.73 4.668 5.348 3h3.375l3.818 10.276v.558h-2.23l-1.008-2.807H4.63l-.992 2.807H1.5zm4.291-6.217l-.534 1.57h3.466L8.19 7.632a52.372 52.372 0 01-.577-1.795v-.001l-.263-.844h-.703a96.13 96.13 0 01-.855 2.625zM20.5 13.834h-1.848v-.317c0-.136 0-.347.015-.483h-.045c-.443.559-1.237.966-2.474.966-1.802 0-2.993-.935-2.993-2.414 0-1.57 1.1-2.158 2.978-2.49l1.542-.272c.58-.105.702-.21.702-.558 0-.528-.442-.996-1.39-.996-.977 0-1.48.528-1.557 1.253l-2.016-.151c.153-1.51 1.451-2.701 3.604-2.701 2.215 0 3.467.98 3.467 3.169v4.541c0 .1.004.169.008.236.003.065.007.128.007.217zm-2.077-3.078v-.242c0-.12 0-.21.016-.332-.145.041-.227.054-.368.077l-.259.044-.809.136c-.993.166-1.695.347-1.695 1.086 0 .619.489.966 1.267.966 1.085 0 1.848-.634 1.848-1.735z",fillRule:"evenodd"}),d.createElement("path",{d:"M20.5 15h-19v2h8.811L5 18v2h12v-2h-4.25l7.75-1v-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},891772:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M13 4h5v5h2V2h-7v2zM2 13h2v5h5v2H2v-7z"}),d.createElement("path",{clipRule:"evenodd",d:"M12.557 7H9.443L7 14.065V15h1.8l.643-2h3.114l.643 2H15v-.934L12.557 7zm-.328 4.5h-2.54L10.5 9h1l.729 2.5z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},347681:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12 10.586V6h-2v5.414l3.793 3.793 1.414-1.414L12 10.586z"}),d.createElement("path",{clipRule:"evenodd",d:"M20 11a9 9 0 11-18 0 9 9 0 0118 0zm-2 0a7 7 0 11-14 0 7 7 0 0114 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},439504:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M8 2h6v2h5v2h-1v11a3 3 0 01-3 3H7a3 3 0 01-3-3V6H3V4h5V2zM6 6v11a1 1 0 001 1h8a1 1 0 001-1V6H6zm4 2v8H8V8h2zm4 0v8h-2V8h2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},515324:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M14 18h-2V6H7V4h12v2h-5v12z"}),d.createElement("path",{d:"M4 13h2v5h2v-5h2v-2H4v2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},167724:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M8 10.446C8 12.656 9.179 14 10.913 14 12.647 14 14 12.656 14 10.446V4h2v6.497C16 14.033 13.973 16 10.913 16 7.853 16 6 14.033 6 10.497V4h2v6.446zM17 18H5v2h12v-2z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},738972:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M5.418 7l4-4H6.59l-5 5 5 5h2.828l-4-4H14.5a3.5 3.5 0 110 7H11v2h3.5a5.5 5.5 0 100-11H5.418z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},987924:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M5 14.25V11.5l6-6 6 6v2.75l-5-5V20h-2V9.25l-5 5zM19 2v2H3V2h16z"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},305051:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M9 14.3V7.7l5.5 3.3L9 14.3z"}),d.createElement("path",{clipRule:"evenodd",d:"M20 4H2v14h18V4zM4 16V6h14v10H4z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},540316:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M7 6v6l5-3-5-3z"}),d.createElement("path",{clipRule:"evenodd",d:"M17 3H1v12h4v4h16V7h-4V3zM3 13V5h12v8H3zm4 4v-2h10V9h2v8H7z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},329102:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M1 3h16v6h-2V5H3v8h9v2H7v2h5v2H5v-4H1V3z"}),d.createElement("path",{d:"M7 12V6l5 3-5 3z"}),d.createElement("path",{clipRule:"evenodd",d:"M14 15h1v-1a3 3 0 116 0v1h1v6h-8v-6zm5-1v1h-2v-1a1 1 0 112 0z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},351704:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M10 11H6v4h4v-4zM12 12h4v2h-4v-2z"}),d.createElement("path",{clipRule:"evenodd",d:"M2 3h18v16H2V3zm2 4h14V5H4v2zm14 2H4v8h14V9z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},423556:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M2 3h18v6H4v8h8v2H2V3zm2 4h14V5H4v2z",fillRule:"evenodd"}),d.createElement("path",{d:"M10 11H6v4h4v-4z"}),d.createElement("path",{clipRule:"evenodd",d:"M15 15h-1v6h8v-6h-1v-1a3 3 0 10-6 0v1zm4 0v-1a1 1 0 10-2 0v1h2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},880081:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{clipRule:"evenodd",d:"M3.272 5h15.304L20 21H2L3.272 5zm1.827 2l-.953 12h13.688L16.765 7H5.1zM18.917 3H3.073V1h15.844v2z",fillRule:"evenodd"}),d.createElement("path",{clipRule:"evenodd",d:"M10.005 6V2h1.98v4h-1.98zM10.995 16c1.64 0 2.97-1.343 2.97-3s-1.33-3-2.97-3c-1.64 0-2.97 1.343-2.97 3s1.33 3 2.97 3zm0 2c2.734 0 4.951-2.239 4.951-5s-2.217-5-4.951-5c-2.735 0-4.951 2.239-4.951 5s2.216 5 4.95 5z",fillRule:"evenodd"}),d.createElement("path",{clipRule:"evenodd",d:"M11.985 12v5h-1.98v-5h1.98z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},347533:function(b,l,e){"use strict";e.r(l),e.d(l,{LogoWordPress:()=>p0.Z,SitePreview:()=>FE.Z,SquareEndCap:()=>Eg.Z,ArrowLeft:()=>R.Z,AspectRatioAnamorphicHorizontal:()=>Ne.Z,StraightenRight:()=>a1,Press:()=>Ws.Z,Subscript:()=>i1.Z,LogoX:()=>Kf.Z,Location:()=>pd.Z,GiftCard:()=>qc.Z,HeartFilled:()=>Es,Text:()=>Mg.Z,TextAlignRight:()=>uv.Z,FeatureGateLock:()=>qs.Z,P1:()=>$p.Z,Signature:()=>UE,Timer3S:()=>U1,LogoSquarespaceCircle:()=>d0.Z,Pin:()=>X,TimerOff:()=>Am,TypeScaleSmaller:()=>X1,Underline:()=>Y1.Z,LogoFacebook:()=>Se.Z,AspectRatio1X1:()=>te.Z,BorderCenterVertical:()=>At,PdpHalf:()=>qp.Z,WebsiteLock:()=>y_.Z,ChevronSmallLeft:()=>ds.Z,ChevronSmallUpDown:()=>hi,TShirtGraphic:()=>c1.Z,LogoFoursquare:()=>oa.Z,Videos:()=>ry.Z,LogoThreads:()=>Ta.Z,Weight:()=>O_.Z,TypeScaleLarger:()=>ty.Z,LogoApple:()=>bu,GroupAlignHorizontalCenter:()=>ai,Archive:()=>M.Z,GroupAlignHorizontalRight:()=>Hu,Filters:()=>ca,Loop:()=>g0.Z,Time:()=>D1.Z,LogoOpenTable:()=>Ud.Z,BorderRight:()=>Sr,ChevronSmallUp:()=>ys.Z,ImageBlockOverlap:()=>lf,Circle:()=>ks.Z,LayerAbove:()=>Ns,PaddingCenterHorizontal:()=>dp,Quote:()=>rc.Z,RoundedCorners:()=>nE.Z,RoundedEndCap:()=>rE.Z,ScaleHeight:()=>uE.Z,LogoTwitch:()=>hl.Z,ArrowUp:()=>j.Z,ColorPalette:()=>ti,MultipleTwo:()=>Zp,PieChart:()=>_m,ScaleWidth:()=>dE.Z,LogoBluesky:()=>Of.Z,Sparkles:()=>kE.Z,ColorPaletteSparkle:()=>ta,LetterSpacing:()=>$c.Z,RoundedRectangle:()=>oE.Z,SidebarEdit:()=>wE,ShoppingBag:()=>IE.Z,LogoDiscord:()=>hn.Z,GlobalCode:()=>Yl,LogoPodcast:()=>pp.Z,BulletedList:()=>br.Z,Download:()=>zr.Z,MultipleHalf:()=>C0,AlignVerticalCenter:()=>F.Z,QuestionMark:()=>pl.Z,InBack:()=>Nd.Z,FontFamily:()=>Mu.Z,Share:()=>tp.Z,StarFilled100:()=>Eh.Z,Strikethrough:()=>Y_.Z,Timer10S:()=>x1,TextAlignJustify:()=>E1.Z,PinFilled:()=>be.Z,Slideshow:()=>WE.Z,Contrast:()=>gt,AspectRatio3X2:()=>ne.Z,LogoLinkedIn:()=>hc.Z,Currency:()=>Us.Z,Adjust:()=>o.Z,Spring:()=>$E.Z,Trash:()=>V1.Z,CreditCard:()=>Lt.Z,Ai:()=>v.Z,SetupGuide:()=>mE,Website:()=>ay.Z,Receipt:()=>iu.Z,BorderLeftRight:()=>wt,LineChart:()=>df.Z,LogoEvernote:()=>pa,LogoUsps:()=>f0,H4:()=>Cr.Z,CalendarStar:()=>Kr.Z,BorderBottom:()=>jt.Z,Gift:()=>tc.Z,LogoTripAdvisor:()=>ii.Z,Automation:()=>rt.Z,Refresh:()=>vu.Z,Upload:()=>J1.Z,Ellipses:()=>is.Z,Drag:()=>Ao.Z,ImageBlockStack:()=>$u,Lock:()=>id.Z,LogoChrome:()=>pt,TextScale:()=>Rg.Z,LogoCodePen:()=>Nt.Z,GlobalText:()=>va,BookSpark:()=>ir.Z,Fitness:()=>_l,H1:()=>Dt.Z,CrossOctagon:()=>Sa.Z,ImageBlockInline:()=>Kd,IndexStacked:()=>Gd.Z,LogoSpotify:()=>u0.Z,ClearFormatting:()=>Ms.Z,LogoStitcher:()=>Mf.Z,Link:()=>$f.Z,Duplicate:()=>ia.Z,LogoSoundCloud:()=>Ac.Z,MinusCircle:()=>wm.Z,ExclamationMarkCircle:()=>Qs.Z,GroupAlignHorizontalLeft:()=>gc,Store:()=>Ag.Z,StraightenLeft:()=>$_,ArrowUpCircleFilled:()=>$.Z,AlignVerticalBottom:()=>W.Z,Bold:()=>bn.Z,LogoBigCartel:()=>hf,Edit:()=>Ha.Z,ChevronSmallDown:()=>Ua.Z,CoverPage:()=>it.Z,Donation:()=>Er,LogoShopify:()=>Pf,FlashOff:()=>vc,LogoZola:()=>Mh.Z,BorderCenterHorizontal:()=>qn,Checkmark:()=>Lr.Z,ExternalLink:()=>rs.Z,LogoDropbox:()=>Xn.Z,Bank:()=>ce.Z,P2:()=>cp.Z,PaddingLeft:()=>um,Show:()=>sv.Z,Style:()=>s1.Z,TextAlignLeft:()=>J_.Z,Undo:()=>Vv.Z,Layout:()=>zc.Z,Product:()=>tl.Z,BookSparkLocked:()=>Zn.Z,Unlock:()=>Hg,BarChart:()=>Re.Z,TextSmall:()=>C1,Video:()=>q1.Z,VolumeOff:()=>m_,PhoneCall:()=>nh,LogoTock:()=>mi.Z,Timer5S:()=>k1,Accordion:()=>r.Z,LineHeight:()=>Xu,VolumeZero:()=>__,Infinity:()=>hd.Z,Saturation:()=>cE,Shadows:()=>EE,TextAlignCenter:()=>g1.Z,AspectRatio16X9:()=>ee.Z,LayerBelow:()=>cc,LogoTheDots:()=>ma,Person:()=>tv.Z,Carousel:()=>ha,InOut:()=>Bd.Z,Diamond:()=>oi,Highlights:()=>Vc,MicOff:()=>Sh,Star:()=>XE.Z,VolumeLow:()=>$g,Mail:()=>Lm.Z,AspectRatio2X3:()=>ie.Z,Plug:()=>On.Z,Plus:()=>fr.Z,Capital:()=>Qr,AspectRatio9X16:()=>ht,NotAllowed:()=>Op.Z,LogoScheduling:()=>mp.Z,AlignVerticalTop:()=>G.Z,Image:()=>jc.Z,LogoUnfold:()=>Il,Layers:()=>su.Z,VideoEmpty:()=>o_,Album:()=>m.Z,Crop:()=>wo,Clipboard:()=>bs.Z,ClipboardText:()=>Hs.Z,LogoImDb:()=>al.Z,LogoBehance:()=>yf.Z,ArrowDown:()=>B.Z,AlignHorizontalLeft:()=>I.Z,LogoAndroid:()=>Yf,EmptyPage:()=>as.Z,ImageBlockCard:()=>od,Brightness:()=>et,Hover:()=>au.Z,Key:()=>nr.Z,FeatureGate:()=>Bi.Z,LogoSquarespace:()=>Oh.Z,Marquee:()=>Y0.Z,MultipleOne:()=>nm,PaddingRight:()=>fm,Page:()=>hm.Z,People:()=>pm.Z,Sharpen:()=>TE,Funnel:()=>dc.Z,LogoGoogle:()=>di.Z,StarFilled50:()=>z_,SpeedFast:()=>Rv,Flash:()=>Al.Z,Italic:()=>Wn.Z,AspectRatio5X4:()=>Ke,Grid3X3:()=>Ra.Z,Insert:()=>Zt,LogoChowNow:()=>sh.Z,Portfolio:()=>ps.Z,CrossLarge:()=>ko.Z,Mic:()=>Kp,SpeedSlow:()=>V_,H5:()=>wr.Z,Heart:()=>Co.Z,PointOfSale:()=>za,RotateLeft:()=>mf.Z,Blur:()=>Ln,LogoDribbble:()=>gn.Z,GlobalImage:()=>Yt,LogoHouzz:()=>_i.Z,Appear:()=>x.Z,BorderAll:()=>$n.Z,LogoSnapchat:()=>Xh.Z,Message:()=>Up.Z,Invoice:()=>an.Z,CheckmarkCircle:()=>ao.Z,SortUp:()=>z0.Z,LogoGitHub:()=>Va.Z,H2:()=>zt.Z,LogoRss:()=>Hh.Z,MultiColumn:()=>Vl.Z,PaddingTop:()=>Jm,PersonLock:()=>W0.Z,Ease:()=>So.Z,Events:()=>es.Z,AspectRatio4X3:()=>oe.Z,ContactCard:()=>ke.Z,ImageBlockCollage:()=>nu,LogoPandora:()=>wp,AlignHorizontalCenter:()=>E.Z,Phone:()=>rv,Opacity:()=>zp,Search:()=>fE.Z,OutBack:()=>Wm.Z,Tablet:()=>m1,TextArea:()=>_1.Z,GroupAlignVerticalCenter:()=>Uu,AdjustRows:()=>s,Code:()=>Os.Z,LogoVevo:()=>$0.Z,DecreaseIndent:()=>$i.Z,MinusSmall:()=>_0.Z,Checkbox:()=>yr.Z,P3:()=>Km.Z,RichTextEditor:()=>Bf,Timer:()=>Bg,AspectRatioCustom:()=>mt.Z,LogoITunes:()=>js.Z,AspectRatioAnamorphicVertical:()=>Bt,ChevronSmallRight:()=>us.Z,Camera:()=>Za,LogoMedium:()=>Cc.Z,Print:()=>bl.Z,Eyedropper:()=>zs,LogoTidal:()=>Ps.Z,Tag:()=>v1.Z,LogoVimeo:()=>h0.Z,Out:()=>Fm.Z,LogoGettyImages:()=>fa.Z,DollarSign:()=>_c,Menu:()=>qu,PdpSimple:()=>pf.Z,CrossSmallCircle:()=>qa.Z,Linear:()=>tf.Z,VideosLocked:()=>vv.Z,LogoMeetup:()=>fu.Z,Global:()=>hu.Z,LogoStumbleUpon:()=>V.Z,Logout:()=>v0,Mobile:()=>kp.Z,Dropdown:()=>Zo.Z,AspectRatio4X5:()=>fe,Number:()=>Hd.Z,FlipYAxis:()=>oc.Z,Performance:()=>ev,Scroll:()=>G_.Z,ChevronLargeUp:()=>Xo.Z,Shapes:()=>Jd.Z,SortDown:()=>KE.Z,Tap:()=>Ig.Z,FlipXAxis:()=>Bl.Z,FocalPoint:()=>Sc,Index:()=>Fl.Z,Moon:()=>O0,RestaurantMenu:()=>ed.Z,TagCloud:()=>Dg.Z,TicketStar:()=>T1,MediaEffect:()=>Q0.Z,Radio:()=>Jc.Z,AspectRatio3X4:()=>pe.Z,LogoTikTok:()=>ja.Z,LogoYouTube:()=>X0.Z,IncreaseIndent:()=>Pc.Z,Business:()=>io.Z,LogoFlickr:()=>Po.Z,ColorFill:()=>Ji.Z,LogoGooglePlay:()=>Xs.Z,LogoTwitter:()=>gl.Z,BorderTopBottom:()=>Rt,Line:()=>Ad.Z,Desktop:()=>Mi.Z,Folder:()=>Rc.Z,GroupAlignVerticalTop:()=>at,InsertCard:()=>bt,VolumeHigh:()=>l_,LogoAppleNews:()=>Df,SocialLInks:()=>Iv.Z,Minus:()=>ul.Z,Collapse:()=>Ni,Shipping:()=>DE.Z,Superscript:()=>Q_.Z,Shuffle:()=>ME.Z,Settings:()=>hE.Z,ArrowRight:()=>U.Z,CrossSmall:()=>Na.Z,LogoTumblr:()=>ol.Z,BorderLeft:()=>Vt,HomeSmall:()=>Au,Csv:()=>ms.Z,Paragraph:()=>wf.Z,Preview:()=>Oi.Z,StarCircle:()=>wv,LogoYelp:()=>Rm.Z,H6:()=>No.Z,LineDashed:()=>$d.Z,PdpWrap:()=>B0.Z,LogoVsco:()=>Mm.Z,NotificationBell:()=>Xd.Z,WhiteBalance:()=>sy,Home:()=>tu.Z,TextHighlight:()=>y1.Z,ImageBlockPoster:()=>xd.Z,LogoAmazon:()=>du.Z,MouseMove:()=>q0.Z,InfoCircle:()=>zd.Z,AppStore:()=>k.Z,PaddingBottom:()=>km,Redo:()=>ju.Z,AlignHorizontalRight:()=>L.Z,LogoInstagram:()=>vl.Z,LogoSmugMug:()=>Bp.Z,BorderTop:()=>qr,Bug:()=>hr,LogoPinterest:()=>Np.Z,FlashAuto:()=>gu,GroupAlignVerticalBottom:()=>Wl,LogoReddit:()=>ap.Z,H3:()=>Qn.Z,Gallery:()=>ec.Z,Logo500Px:()=>Ef.Z,LogoBlogger:()=>eh.Z,NumberedList:()=>am.Z,ChevronLargeLeft:()=>Yo.Z,Expand:()=>Rs.Z,LogoBandsintown:()=>vd.Z,Hide:()=>fi.Z,Orders:()=>sm.Z,ChevronLargeRight:()=>jo.Z,ChevronLargeDown:()=>Lo.Z,GlobalContent:()=>ou.Z,PdpFull:()=>Sp.Z,Percent:()=>Tp.Z,Blog:()=>nt.Z,Play:()=>Tt.Z,Project:()=>cl.Z,CheckmarkShield:()=>ho.Z,QuestionMarkCircle:()=>Uc.Z,BlogLock:()=>st.Z,RotateRight:()=>yv,ShareLocked:()=>PE,Survey:()=>l1.Z,Keyboard:()=>Nr.Z,PaddingCenterVertical:()=>Vm,LogoFigma:()=>lo,LogoGoodreads:()=>ci.Z});var r=e(445328),o=e(230540),n=e(392338),a=e(642979),i=e.n(a),c=e(737968),u=e.n(c),f=e(160553),d=e.n(f),h=e(174161),g=e(471184),_=e(85059),p=e(688720),y=e(938408),O=["sx"];function P(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function C(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?P(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):P(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var A=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M0 6.5V9l3-2.625v9.25L0 13v2.5L4 19l4-3.5V13l-3 2.625v-9.25L8 9V6.5L4 3 0 6.5zM10 8h12v2H10V8zm12-4H10v2h12V4zM10 16h12v2H10v-2zm12-4H10v2h12v-2z",fillRule:"evenodd"})),S=(0,g.Z)(A,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),T=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,O);return h.createElement(S,C(C({color:"gray.100"},lt),{},{sx:C({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const s=T;var v=e(477556),m=e(357379),E=e(677818),I=e(919389),L=e(198678),W=e(502814),F=e(20203),G=e(893326),k=e(909437),x=e(390414),M=e(249443),B=e(300195),R=e(993850),U=e(109045),j=e(529746),$=e(389475),ee=e(437277),te=e(528720),ie=e(523194),ne=e(476548),pe=e(232496),oe=e(593896),q=["sx"];function J(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function me(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?J(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):J(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var re=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M16 17V5H6v12h10zm2-14H4v16h14V3z",fillRule:"evenodd"})),he=(0,g.Z)(re,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Ee=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,q);return h.createElement(he,me(me({color:"gray.100"},lt),{},{sx:me({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const fe=Ee;var H=["sx"];function z(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function _e(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?z(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):z(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var ae=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M17 6H5v10h12V6zM3 4v14h16V4H3z",fillRule:"evenodd"})),ge=(0,g.Z)(ae,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Be=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,H);return h.createElement(ge,_e(_e({color:"gray.100"},lt),{},{sx:_e({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Ke=Be;var He=["sx"];function ye(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Le(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?ye(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):ye(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ue=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M8 19h6V3H8v16zm8 2V1H6v20h10z",fillRule:"evenodd"})),Xe=(0,g.Z)(Ue,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Fe=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,He);return h.createElement(Xe,Le(Le({color:"gray.100"},lt),{},{sx:Le({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const ht=Fe;var Ne=e(220777),Ce=["sx"];function we(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function $e(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?we(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):we(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ot=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M9 20h4V2H9v18zm6 2V0H7v22h8z",fillRule:"evenodd"})),Pt=(0,g.Z)(Ot,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Ie=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Ce);return h.createElement(Pt,$e($e({color:"gray.100"},lt),{},{sx:$e({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Bt=Ie;var mt=e(266073),rt=e(351839),ce=e(743921),Re=e(822751),nt=e(412010),st=e(784347),vt=["sx"];function ze(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function It(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?ze(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):ze(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var on=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M19.945 10H2.055a9.097 9.097 0 000 2h17.89a9.098 9.098 0 000-2zM19.488 8a8.965 8.965 0 00-1.004-2H3.516a8.967 8.967 0 00-1.004 2h16.976zM3.516 16a8.967 8.967 0 01-1.004-2h16.976a8.964 8.964 0 01-1.004 2H3.516zM16.657 4A8.962 8.962 0 0011 2c-2.143 0-4.112.75-5.657 2h11.314zM11 20a8.962 8.962 0 01-5.657-2h11.314A8.962 8.962 0 0111 20z"})),Pn=(0,g.Z)(on,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Yn=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,vt);return h.createElement(Pn,It(It({color:"gray.100"},lt),{},{sx:It({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Ln=Yn;var bn=e(745697),ir=e(755210),Zn=e(493106),$n=e(132858),jt=e(263615),Rn=["sx"];function jn(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Tn(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?jn(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):jn(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Nn=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M14 4v2h-2V4h2zM18 12H4v-2h14v2zM10 6V4H8v2h2zM6 4v2H4V4h2zM18 6V4h-2v2h2zM14 16v2h-2v-2h2zM10 18v-2H8v2h2zM6 16v2H4v-2h2zM18 18v-2h-2v2h2z"})),cn=(0,g.Z)(Nn,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),or=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Rn);return h.createElement(cn,Tn(Tn({color:"gray.100"},lt),{},{sx:Tn({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const qn=or;var Hr=["sx"];function fo(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Jr(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?fo(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):fo(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var ro=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M10 18V4h2v14h-2zM4 8h2v2H4V8zM6 12H4v2h2v-2zM4 16h2v2H4v-2zM6 4H4v2h2V4zM16 8h2v2h-2V8zM18 12h-2v2h2v-2zM16 16h2v2h-2v-2zM18 4h-2v2h2V4z"})),Xt=(0,g.Z)(ro,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Je=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Hr);return h.createElement(Xt,Jr(Jr({color:"gray.100"},lt),{},{sx:Jr({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const At=Je;var xt=["sx"];function Qt(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function qt(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Qt(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Qt(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Te=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M4 18V4h2v14H4zM18 14h-2v-2h2v2zM16 10h2V8h-2v2zM18 6h-2V4h2v2zM16 18h2v-2h-2v2zM14 6h-2V4h2v2zM8 6h2V4H8v2zM14 18h-2v-2h2v2zM8 18h2v-2H8v2z"})),Gt=(0,g.Z)(Te,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),un=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,xt);return h.createElement(Gt,qt(qt({color:"gray.100"},lt),{},{sx:qt({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Vt=un;var Dn=["sx"];function Wt(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Pe(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Wt(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Wt(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var xe=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M6 18V4H4v14h2zM18 18V4h-2v14h2zM14 4v2h-2V4h2zM10 6V4H8v2h2zM14 16v2h-2v-2h2zM10 18v-2H8v2h2z"})),Ae=(0,g.Z)(xe,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),qe=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Dn);return h.createElement(Ae,Pe(Pe({color:"gray.100"},lt),{},{sx:Pe({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const wt=qe;var kt=["sx"];function ut(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Ft(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?ut(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):ut(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var tn=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M18 4v14h-2V4h2zM4 8h2v2H4V8zM6 12H4v2h2v-2zM4 16h2v2H4v-2zM6 4H4v2h2V4zM8 16h2v2H8v-2zM14 16h-2v2h2v-2zM8 4h2v2H8V4zM14 4h-2v2h2V4z"})),In=(0,g.Z)(tn,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),rr=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,kt);return h.createElement(In,Ft(Ft({color:"gray.100"},lt),{},{sx:Ft({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Sr=rr;var Yr=["sx"];function Pr(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Mn(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Pr(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Pr(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var sr=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M4 4h14v2H4V4zM4 8h2v2H4V8zM6 12H4v2h2v-2zM4 16h2v2H4v-2zM18 8h-2v2h2V8zM16 12h2v2h-2v-2zM18 16h-2v2h2v-2zM12 16h2v2h-2v-2zM10 16H8v2h2v-2z"})),Ar=(0,g.Z)(sr,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),vr=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Yr);return h.createElement(Ar,Mn(Mn({color:"gray.100"},lt),{},{sx:Mn({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const qr=vr;var Dr=["sx"];function eo(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Vo(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?eo(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):eo(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Bn=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M18 4H4v2h14V4zM18 16H4v2h14v-2zM4 8h2v2H4V8zM6 12H4v2h2v-2zM16 8h2v2h-2V8zM18 12h-2v2h2v-2z"})),ar=(0,g.Z)(Bn,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),rn=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Dr);return h.createElement(ar,Vo(Vo({color:"gray.100"},lt),{},{sx:Vo({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Rt=rn;var Qe=["sx"];function Ye(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function yt(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Ye(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Ye(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ze=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M12 1v4h-2V1h2zm-1 12a2 2 0 100-4 2 2 0 000 4zm0 2a4 4 0 100-8 4 4 0 000 8zm3.536-8.95l1.414 1.414 2.828-2.828-1.414-1.414-2.829 2.828zM1 10h4v2H1v-2zm5.05-2.536L7.464 6.05 4.636 3.222 3.222 4.636 6.05 7.464zM12 17v4h-2v-4h2zm-8.778.364l1.414 1.414 2.828-2.828-1.414-1.414-2.828 2.828zM17 10h4v2h-4v-2zm.364 8.778l1.414-1.414-2.828-2.829-1.414 1.415 2.828 2.828z",fillRule:"evenodd"})),Mt=(0,g.Z)(Ze,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),ot=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Qe);return h.createElement(Mt,yt(yt({color:"gray.100"},lt),{},{sx:yt({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const et=ot;var St=["sx"];function Ht(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function er(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Ht(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Ht(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Mr=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M14 2h2v1l-2.1 1.926A5.002 5.002 0 0115.9 8H19v2h-3v2h3v2h-3v1c0 .342-.034.677-.1 1H19v2h-4a4.993 4.993 0 01-4 2 4.993 4.993 0 01-4-2H3v-2h3.1a5.022 5.022 0 01-.1-1v-1H3v-2h3v-2H3V8h3.1a5.002 5.002 0 012-3.074L6 3V2h2l2.084 2.084a5.027 5.027 0 011.832 0L14 2zM8 15a3 3 0 106 0v-5H8v5zm3-9c1.306 0 2.418.835 2.83 2H8.17A3.001 3.001 0 0111 6z",fillRule:"evenodd"})),mn=(0,g.Z)(Mr,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Un=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,St);return h.createElement(mn,er(er({color:"gray.100"},lt),{},{sx:er({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const hr=Un;var br=e(72881),io=e(124760),Kr=e(400904),xo=["sx"];function Ho(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function bo(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Ho(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Ho(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ea=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M11 16a4 4 0 100-8 4 4 0 000 8zm2-4a2 2 0 11-4 0 2 2 0 014 0z",fillRule:"evenodd"}),h.createElement("path",{clipRule:"evenodd",d:"M6 5l2-2h6l2 2h5v14H1V5h5zm2.828 0h4.344l2 2H19v10H3V7h3.828l2-2z",fillRule:"evenodd"})),Ia=(0,g.Z)(Ea,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Da=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,xo);return h.createElement(Ia,bo(bo({color:"gray.100"},lt),{},{sx:bo({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Za=Da;var Xa=["sx"];function ba(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function ns(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?ba(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):ba(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ja=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M9 0h2v2h2.5v2h-5a.5.5 0 000 1H12a2.5 2.5 0 010 5h-1v2H9v-2H6.5V8H12a.5.5 0 000-1H8.5a2.5 2.5 0 010-5H9V0z"}),h.createElement("path",{clipRule:"evenodd",d:"M3 13.586A2 2 0 014.414 13H11.5c.834 0 1.572.408 2.026 1.035l2.844-1.658a3 3 0 014.357 1.642l.426 1.278L13.891 22H1v-6.414l2-2zM3 20h10.109l5.738-5.297-.017-.051a1 1 0 00-1.453-.548l-3.454 2.015A2.501 2.501 0 0111.5 18H7v-2h4.5a.5.5 0 000-1H4.414L3 16.414V20z",fillRule:"evenodd"})),Is=(0,g.Z)(Ja,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Vr=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Xa);return h.createElement(Is,ns(ns({color:"gray.100"},lt),{},{sx:ns({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Qr=Vr;var To=["sx"];function xr(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function uo(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?xr(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):xr(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Mo=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M5 3v16h12V3H5zm10 2H7v12h8V5z",fillRule:"evenodd"}),h.createElement("path",{d:"M1 18V4h2v14H1zM19 4v14h2V4h-2z"})),go=(0,g.Z)(Mo,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),ea=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,To);return h.createElement(go,uo(uo({color:"gray.100"},lt),{},{sx:uo({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const ha=ea;var yr=e(639757),Lr=e(826788),ao=e(125820),ho=e(518249),Lo=e(47979),Yo=e(707039),jo=e(848201),Xo=e(607378),Ua=e(604934),ds=e(6566),us=e(425740),ys=e(599433),Ys=["sx"];function Gs(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function xs(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Gs(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Gs(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ai=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M16 15l-5 5-5-5v-2.5l5 5 5-5V15zM16 7v2.5l-5-5-5 5V7l5-5 5 5z"})),Pi=(0,g.Z)(Ai,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),ei=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Ys);return h.createElement(Pi,xs(xs({color:"gray.100"},lt),{},{sx:xs({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const hi=ei;var ks=e(17096),Ms=e(174638),bs=e(543900),Hs=e(514968),Os=e(994765),Vs=["sx"];function _s(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function fs(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?_s(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):_s(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ss=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M9 9H3V7h4V3h2v6zM13 9h6V7h-4V3h-2v6zM3 13h6v6H7v-4H3v-2zM13 13h6v2h-4v4h-2v-6z"})),hs=(0,g.Z)(Ss,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),li=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Vs);return h.createElement(hs,fs(fs({color:"gray.100"},lt),{},{sx:fs({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Ni=li;var Ji=e(702094),wi=["sx"];function vi(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function sl(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?vi(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):vi(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Zi=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M11.5 8a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM9 8.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM15 15a2 2 0 11-4 0 2 2 0 014 0zM17 8.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z"}),h.createElement("path",{clipRule:"evenodd",d:"M6 18.5c0-.879.185-1.449.426-1.862l.038-.064c.17-.273.362-.476.535-.659.276-.29.501-.528.501-.915 0-.299-.491-.33-1.18-.373a17.97 17.97 0 01-.733-.057l-.062-.006C3.947 14.39 2 13.773 2 10.5 2 5 5.977 1 11.5 1S21 5.477 21 11s-4.477 10-10 10c-3 0-5-1-5-2.5zM19 11a8 8 0 01-8 8c-1.314 0-2.227-.224-2.73-.476a1.53 1.53 0 01-.268-.162c.02-.591.17-.762.253-.857l.014-.016c.05-.058.1-.111.187-.204l.024-.025c.084-.089.226-.238.36-.41.313-.4.66-1.01.66-1.85 0-.582-.223-1.131-.625-1.546a2.426 2.426 0 00-.96-.6c-.428-.147-.889-.182-1.123-.2l-.424-.029c-.439-.028-.793-.05-1.175-.138-.448-.101-.679-.246-.815-.406C4.254 11.937 4 11.54 4 10.5 4 6.101 7.085 3 11.5 3c4.286 0 7.5 3.444 7.5 8zM7.945 18.302s.01.009.02.027c-.017-.017-.02-.027-.02-.027z",fillRule:"evenodd"})),Zs=(0,g.Z)(Zi,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Bs=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,wi);return h.createElement(Zs,sl(sl({color:"gray.100"},lt),{},{sx:sl({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const ti=Bs;var gi=["sx"];function yi(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function ki(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?yi(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):yi(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var bi=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M17.723 1l-.736 1.987L15 3.722v.556l1.987.735L17.723 7h.555l.735-1.987L21 4.278v-.556l-1.987-.735L18.277 1h-.555zM9 9.6c.698 0 1.263-.537 1.263-1.2 0-.663-.565-1.2-1.263-1.2s-1.263.537-1.263 1.2c0 .663.565 1.2 1.263 1.2zM6.895 10c0 .663-.566 1.2-1.263 1.2-.698 0-1.264-.537-1.264-1.2 0-.663.566-1.2 1.264-1.2.697 0 1.263.537 1.263 1.2zM10.263 16.8c.93 0 1.684-.716 1.684-1.6 0-.884-.754-1.6-1.684-1.6-.93 0-1.684.716-1.684 1.6 0 .884.754 1.6 1.684 1.6zM13.632 10c0 .663-.566 1.2-1.264 1.2-.697 0-1.263-.537-1.263-1.2 0-.663.566-1.2 1.263-1.2.698 0 1.264.537 1.264 1.2z"}),h.createElement("path",{clipRule:"evenodd",d:"M4.727 16.51c-.202.331-.359.787-.359 1.49 0 1.2 1.685 2 4.211 2C13.229 20 17 16.418 17 12s-3.35-8-8-8-8 3.2-8 7.6c0 2.618 1.64 3.112 2.968 3.251l.053.005c.218.022.426.034.616.046.58.034.995.059.995.298 0 .31-.19.5-.422.732-.146.146-.308.309-.45.528-.012.016-.022.033-.033.05zm3.852 1.89c3.72 0 6.737-2.865 6.737-6.4 0-3.644-2.707-6.4-6.316-6.4-3.718 0-6.316 2.481-6.316 6 0 .831.214 1.15.318 1.265.115.127.31.243.687.325.322.07.62.088.99.11l.356.023c.197.014.586.043.946.16.19.063.517.194.809.48.338.332.526.772.526 1.237 0 .672-.292 1.16-.555 1.48a4.674 4.674 0 01-.304.328l-.02.02c-.074.074-.116.117-.158.163l-.012.013c-.07.076-.196.212-.212.686.04.03.11.074.225.129.424.202 1.192.381 2.299.381zm-2.573-.558s.009.007.017.021c-.014-.013-.017-.021-.017-.021z",fillRule:"evenodd"})),nl=(0,g.Z)(bi,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Si=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,gi);return h.createElement(nl,ki(ki({color:"gray.100"},lt),{},{sx:ki({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const ta=Si;var ke=e(331232),Jt=["sx"];function Fn(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function mr(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Fn(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Fn(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Tr=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M18 11a7 7 0 01-7 7V4a7 7 0 017 7zm2 0a9 9 0 11-18 0 9 9 0 0118 0z",fillRule:"evenodd"})),Oo=(0,g.Z)(Tr,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Uo=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Jt);return h.createElement(Oo,mr(mr({color:"gray.100"},lt),{},{sx:mr({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const gt=Uo;var it=e(849610),Lt=e(484004),$t=["sx"];function _n(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function dn(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?_n(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):_n(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Jn=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M7 15h14v2h-4v4h-2v-4H5V7H1V5h4V1h2v14zm2-8h6v6h2V5H9v2z",fillRule:"evenodd"})),Hn=(0,g.Z)(Jn,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),jr=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,$t);return h.createElement(Hn,dn(dn({color:"gray.100"},lt),{},{sx:dn({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const wo=jr;var ko=e(343701),Sa=e(482112),Na=e(838481),qa=e(807181),ms=e(912309),Us=e(453905),$i=e(127260),Mi=e(91548),si=["sx"];function rl(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function El(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?rl(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):rl(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ui=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M5 2h12l4 6v2l-8 11H9L1 10V8l4-6zm.83 2.36L3.405 8h5.461L5.831 4.36zM3.474 10l6.104 8.393L6.779 10H3.473zm8.95 8.393L18.527 10h-3.306l-2.798 8.393zM18.596 8L16.17 4.36 13.135 8h5.461zm-4.731-4h-5.73L11 7.438 13.865 4zm-.752 6L11 16.338 8.887 10h4.226z",fillRule:"evenodd"})),il=(0,g.Z)(Ui,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),fl=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,si);return h.createElement(il,El(El({color:"gray.100"},lt),{},{sx:El({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const oi=fl;var Nl=["sx"];function xl(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Ic(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?xl(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):xl(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Kl=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M12 20h-2v-3H6v-2h7.638a1.362 1.362 0 00.135-2.718l-5.746-.574A3.362 3.362 0 018.362 5H10V2h2v3h4v2H8.362a1.362 1.362 0 00-.135 2.718l5.746.574A3.362 3.362 0 0113.638 17H12v3z"})),Jl=(0,g.Z)(Kl,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Vi=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Nl);return h.createElement(Jl,Ic(Ic({color:"gray.100"},lt),{},{sx:Ic({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const _c=Vi;var mc=["sx"];function zl(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function $l(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?zl(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):zl(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var ln=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M10 0h2v4h4v2h-4v4h-2V6H6V4h4V0z"}),h.createElement("path",{clipRule:"evenodd",d:"M13.526 13.035l2.844-1.658a3 3 0 014.357 1.642l.426 1.278L13.891 21H1v-6.414l2-2A2 2 0 014.414 12H11.5c.834 0 1.572.408 2.026 1.035zm3.851.07a1 1 0 011.453.547l.017.051L13.109 19H3v-3.586L4.414 14H11.5a.5.5 0 010 1H7v2h4.5c1.167 0 2.147-.8 2.423-1.88l3.454-2.016z",fillRule:"evenodd"})),sn=(0,g.Z)(ln,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),zn=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,mc);return h.createElement(sn,$l($l({color:"gray.100"},lt),{},{sx:$l({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Er=zn;var zr=e(230021),Ao=e(807830),Zo=e(604127),ia=e(729387),So=e(899407),Ha=e(666146),is=e(146964),as=e(570978),es=e(239161),Qs=e(619461),Rs=e(183691),rs=e(113830),Cs=["sx"];function Fs(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Ks(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Fs(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Fs(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ls=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M3 15v4h4l8-8 1 1 2-2-1-1 2-2a2.828 2.828 0 10-4-4l-2 2-1-1-2 2 1 1-8 8zm7.172-2l3.414-3.414-1.172-1.172L7.828 13h2.344z",fillRule:"evenodd"})),Js=(0,g.Z)(Ls,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Ts=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Cs);return h.createElement(Js,Ks(Ks({color:"gray.100"},lt),{},{sx:Ks({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const zs=Ts;var Bi=e(270104),qs=e(100638),Ti=["sx"];function ui(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function qi(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?ui(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):ui(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ko=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M7 3h12v12H7V3zm2 8V5h8v6H9z",fillRule:"evenodd"}),h.createElement("path",{d:"M3 7h2v10h10v2H3V7z"})),Ur=(0,g.Z)(Ko,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),aa=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Ti);return h.createElement(Ur,qi(qi({color:"gray.100"},lt),{},{sx:qi({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const ca=aa;var As=["sx"];function Ri(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Ei(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Ri(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Ri(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var pi=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M4.732 18.661l-2.09 2.09-1.392-1.393 2.089-2.09 1.393 1.393zM3.339 14.482l4.179 4.179 1.393-1.393-4.18-4.179-1.392 1.393zm4.941 6.202l-.081.074a1.078 1.078 0 01-1.362 0l-.082-.074-5.44-5.44-.073-.08a1.078 1.078 0 010-1.362l.074-.082 2.653-2.654a1.078 1.078 0 011.444-.074l.081.074 5.44 5.44.074.081a1.078 1.078 0 01-.074 1.444L8.28 20.684zM14.482 8.91l-5.571 5.572-1.393-1.393 5.571-5.571 1.393 1.393zM18.661 7.518l-4.179-4.179-1.393 1.393 4.18 4.179 1.392-1.393zM13.72 1.316l.082-.074a1.078 1.078 0 011.361 0l.082.074 5.44 5.44.073.08c.323.396.323.967 0 1.363l-.074.081-2.653 2.654c-.395.395-1.02.42-1.444.074l-.081-.074-5.44-5.44-.074-.081a1.078 1.078 0 01.074-1.444l2.654-2.653z"}),h.createElement("path",{d:"M20.75 2.643l-2.089 2.089-1.393-1.393 2.09-2.09 1.392 1.394z"})),Gi=(0,g.Z)(pi,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Eo=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,As);return h.createElement(Gi,Ei(Ei({color:"gray.100"},lt),{},{sx:Ei({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const _l=Eo;var Al=e(172660),Pl=["sx"];function Wi(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Mc(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Wi(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Wi(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Fc=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M16.443 14h3.114L22 21.066V22h-1.8l-.643-2h-3.114l-.643 2H14v-.935L16.443 14zm.643 4h1.828l-.643-2h-.542l-.643 2z",fillRule:"evenodd"}),h.createElement("path",{d:"M12 0h-1L5 14h5v8h1l6-14h-5V0z"})),Ou=(0,g.Z)(Fc,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Rl=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Pl);return h.createElement(Ou,Mc(Mc({color:"gray.100"},lt),{},{sx:Mc({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const gu=Rl;var Hl=["sx"];function Cl(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Dl(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Cl(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Cl(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var kl=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M15 22l-2.154-4.308L11 22h-1v-8H5l2.77-6.462L4 0h2.25l10.992 22H15zM14.925 12.842L17 8h-4.495l2.42 4.842zM12 6.989V0h-1L9.85 2.685 12 6.989z"})),ll=(0,g.Z)(kl,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),el=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Hl);return h.createElement(ll,Dl(Dl({color:"gray.100"},lt),{},{sx:Dl({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const vc=el;var Bl=e(23101),oc=e(788922),Wc=["sx"];function Ll(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Qa(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Ll(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Ll(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Eu=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M9 3H3v6h2V5h4V3zM13 3h6v6h-2V5h-4V3zM9 19H3v-6h2v4h4v2zM13 19h6v-6h-2v4h-4v2zM13 11a2 2 0 11-4 0 2 2 0 014 0z"})),Ul=(0,g.Z)(Eu,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),ql=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Wc);return h.createElement(Ul,Qa(Qa({color:"gray.100"},lt),{},{sx:Qa({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Sc=ql;var Rc=e(16930),Mu=e(199101),dc=e(750384),ec=e(762283),tc=e(824229),qc=e(367446),hu=e(223826),Tc=["sx"];function ac(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function sc(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?ac(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):ac(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var wc=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M13.1 1l-5 16H6l5-16h2.1zM5 4.168v2.404L2 9l3 2.428v2.404L0 9.5v-1l5-4.332zM14 6.572V4.168L19 8.5v1l-5 4.332v-2.404L17 9l-3-2.428z"}),h.createElement("path",{clipRule:"evenodd",d:"M14 18.25v-.5L17.75 14h.5L22 17.75v.5L18.25 22h-.5L14 18.25zm4 1.172L19.422 18 18 16.578 16.578 18 18 19.422z",fillRule:"evenodd"})),Nc=(0,g.Z)(wc,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Kc=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Tc);return h.createElement(Nc,sc(sc({color:"gray.100"},lt),{},{sx:sc({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Yl=Kc;var ou=e(878741),ur=["sx"];function Xr(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Fr(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Xr(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Xr(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var kr=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M2 4h18v9.5l-2-2V6H4v8.586L8.586 10h1.828L15 14.5l-1.451 1.451L9.586 12h-.172l-4 4H13.5l-2 2H2V4z"}),h.createElement("path",{d:"M15 11a2 2 0 100-4 2 2 0 000 4z"}),h.createElement("path",{clipRule:"evenodd",d:"M14 18.25v-.5L17.75 14h.5L22 17.75v.5L18.25 22h-.5L14 18.25zm4 1.172L19.422 18 18 16.578 16.578 18 18 19.422z",fillRule:"evenodd"})),Ge=(0,g.Z)(kr,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),An=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,ur);return h.createElement(Ge,Fr(Fr({color:"gray.100"},lt),{},{sx:Fr({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Yt=An;var fn=["sx"];function Br(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function yo(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Br(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Br(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Jo=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M10 18h2V6h5V4H5v2h5v12z"}),h.createElement("path",{clipRule:"evenodd",d:"M14 18.25v-.5L17.75 14h.5L22 17.75v.5L18.25 22h-.5L14 18.25zm4 1.172L19.422 18 18 16.578 16.578 18 18 19.422z",fillRule:"evenodd"})),sa=(0,g.Z)(Jo,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),la=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,fn);return h.createElement(sa,yo(yo({color:"gray.100"},lt),{},{sx:yo({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const va=la;var Ra=e(560271),Ya=["sx"];function wa(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function xa(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?wa(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):wa(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ds=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M10 4V2h2v2h8v6h-8v2h6v6h-6v2h-2v-2H4v-6h6v-2H2V4h8zm6 12v-2H6v2h10zM4 6v2h14V6H4z",fillRule:"evenodd"})),ws=(0,g.Z)(Ds,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Di=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Ya);return h.createElement(ws,xa(xa({color:"gray.100"},lt),{},{sx:xa({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const ai=Di;var yl=["sx"];function ml(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Ii(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?ml(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):ml(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Xi=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M2 20V2h2v18H2z"}),h.createElement("path",{clipRule:"evenodd",d:"M6 4h14v6H6V4zm2 2v2h10V6H8zM6 12v6h10v-6H6zm2 4v-2h6v2H8z",fillRule:"evenodd"})),zi=(0,g.Z)(Xi,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Sl=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,yl);return h.createElement(zi,Ii(Ii({color:"gray.100"},lt),{},{sx:Ii({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const gc=Sl;var Xl=["sx"];function yc(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Zc(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?yc(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):yc(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Rd=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M18 20V2h2v18h-2z"}),h.createElement("path",{clipRule:"evenodd",d:"M2 4h14v6H2V4zm2 2v2h10V6H4zM6 12v6h10v-6H6zm2 4v-2h6v2H8z",fillRule:"evenodd"})),_u=(0,g.Z)(Rd,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),td=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Xl);return h.createElement(_u,Zc(Zc({color:"gray.100"},lt),{},{sx:Zc({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Hu=td;var Ru=["sx"];function Pu(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Oc(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Pu(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Pu(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var vf=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M4 2v14h6V2H4zm2 2h2v10H6V4z",fillRule:"evenodd"}),h.createElement("path",{d:"M20 18H2v2h18v-2z"}),h.createElement("path",{clipRule:"evenodd",d:"M12 6h6v10h-6V6zm4 2h-2v6h2V8z",fillRule:"evenodd"})),nd=(0,g.Z)(vf,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),ld=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Ru);return h.createElement(nd,Oc(Oc({color:"gray.100"},lt),{},{sx:Oc({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Wl=ld;var Ql=["sx"];function gd(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function rd(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?gd(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):gd(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Zu=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M10 2v8h2V4h6v6h2v2h-2v6h-6v-6h-2v8H4v-8H2v-2h2V2h6zM6 4h2v14H6V4zm10 12h-2V6h2v10z",fillRule:"evenodd"})),Cu=(0,g.Z)(Zu,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),eu=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Ql);return h.createElement(Cu,rd(rd({color:"gray.100"},lt),{},{sx:rd({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Uu=eu;var Bc=["sx"];function Ed(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Fu(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Ed(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Ed(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ut=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M2 2h18v2H2V2z"}),h.createElement("path",{clipRule:"evenodd",d:"M4 20V6h6v14H4zm2-2h2V8H6v10zM12 16h6V6h-6v10zm4-2h-2V8h2v6z",fillRule:"evenodd"})),Q=(0,g.Z)(Ut,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),De=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Bc);return h.createElement(Q,Fu(Fu({color:"gray.100"},lt),{},{sx:Fu({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const at=De;var Dt=e(155311),zt=e(777508),Qn=e(735287),Cr=e(534437),wr=e(475017),No=e(453512),Co=e(130774),Ro=["sx"];function Qo(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function ka(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Qo(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Qo(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ca=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M6.5 2c1.86 0 3.505.923 4.5 2.337A5.5 5.5 0 0121 7.5c0 3.498-2.39 6.624-4.546 8.762a29.584 29.584 0 01-3.025 2.604c-.533.4-1.08.781-1.64 1.134h-1.561s-1.274-.81-1.638-1.07a26.864 26.864 0 01-3.036-2.525C3.38 14.295 1 11.172 1 7.5A5.5 5.5 0 016.5 2z",fillRule:"evenodd"})),ls=(0,g.Z)(Ca,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),vs=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Ro);return h.createElement(ls,ka(ka({color:"gray.100"},lt),{},{sx:ka({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Es=vs;var fi=e(650355),Bo=["sx"];function Hi(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Qi(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Hi(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Hi(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Li=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M11 2a9 9 0 100 18 9 9 0 000-18zm0 4V4a7 7 0 110 14v-2H6.101a7.018 7.018 0 01-1.427-2H11v-2H4.07a7.06 7.06 0 010-2H11V8H4.674A7.018 7.018 0 016.1 6H11z",fillRule:"evenodd"})),Gl=(0,g.Z)(Li,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Zl=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Bo);return h.createElement(Gl,Qi(Qi({color:"gray.100"},lt),{},{sx:Qi({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Vc=Zl;var tu=e(117008),lu=["sx"];function Lu(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function yu(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Lu(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Lu(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var ic=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M7 16v-6l4-4 4 4v6h-3v-4h-2v4H7z"})),kc=(0,g.Z)(ic,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),cu=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,lu);return h.createElement(kc,yu(yu({color:"gray.100"},lt),{},{sx:yu({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Au=cu;var au=e(366929),jc=e(224728),lc=["sx"];function Nu(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Zd(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Nu(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Nu(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var _d=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M0 3v16h12V3H0zm10 2H2v12h8V5z",fillRule:"evenodd"}),h.createElement("path",{d:"M14 8h8v2h-8V8zM22 12h-8v2h8v-2z"})),pu=(0,g.Z)(_d,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Lc=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,lc);return h.createElement(pu,Zd(Zd({color:"gray.100"},lt),{},{sx:Zd({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const od=Lc;var yd=["sx"];function cd(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Vd(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?cd(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):cd(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Od=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M14 7V3H2v16h12v-4h6V7h-6zm-2-2H4v12h8v-2H8V7h4V5zm-2 4v4h8V9h-8z",fillRule:"evenodd"})),ud=(0,g.Z)(Od,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Tl=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,yd);return h.createElement(ud,Vd(Vd({color:"gray.100"},lt),{},{sx:Vd({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const nu=Tl;var uu=["sx"];function dd(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Tu(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?dd(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):dd(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Wd=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M18 6H4v10h14V6zM2 4v14h18V4H2z",fillRule:"evenodd"})),qd=(0,g.Z)(Wd,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),af=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,uu);return h.createElement(qd,Tu(Tu({color:"gray.100"},lt),{},{sx:Tu({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Kd=af;var ad=["sx"];function Vu(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function zu(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Vu(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Vu(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Wu=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M14 12v-2h6V8h-6V3H2v16h12v-5h6v-2h-6zm-2-7H4v12h8v-3H8v-2h4v-2H8V8h4V5z",fillRule:"evenodd"})),Ld=(0,g.Z)(Wu,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),sf=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,ad);return h.createElement(Ld,zu(zu({color:"gray.100"},lt),{},{sx:zu({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const lf=sf;var xd=e(710560),wd=["sx"];function kd(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function fd(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?kd(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):kd(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var sd=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M3 16V4h16v12H3zM5 6h12v8H5V6z",fillRule:"evenodd"}),h.createElement("path",{d:"M19 18H3v2h16v-2z"})),cf=(0,g.Z)(sd,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),uf=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,wd);return h.createElement(cf,fd(fd({color:"gray.100"},lt),{},{sx:fd({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const $u=uf;var Nd=e(252245),Bd=e(76817),Pc=e(162930),Fl=e(583955),Gd=e(941580),hd=e(509144),zd=e(122003),Pd=["sx"];function Cd(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function xn(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Cd(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Cd(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var $s=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M5 12H3V3h2v7h6.625L9 7h2.5l3.5 4-3.5 4H9l2.625-3H5zm4-7h8v12H9v2h10V3H9v2z",fillRule:"evenodd"})),Ki=(0,g.Z)($s,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),ru=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Pd);return h.createElement(Ki,xn(xn({color:"gray.100"},lt),{},{sx:xn({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Zt=ru;var Kt=["sx"];function Sn(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function wn(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Sn(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Sn(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var _r=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M9.182 11.9A1.81 1.81 0 0111 13.7c0 .994-.814 1.8-1.818 1.8a1.81 1.81 0 01-1.818-1.8c0-.994.814-1.8 1.818-1.8z"}),h.createElement("path",{clipRule:"evenodd",d:"M21 3.8l-2.727 1.35V17.3c0 1.491-1.221 2.7-2.727 2.7H6.455c-1.507 0-2.728-1.209-2.728-2.7V5.15L1 3.8V2h20v1.8zm-6.364 14.4h.91a.905.905 0 00.909-.9V3.8h-1.819v14.4zm-9.09-.9c0 .497.406.9.909.9h6.363V3.8H5.545v13.5z",fillRule:"evenodd"})),Ve=(0,g.Z)(_r,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),tt=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Kt);return h.createElement(Ve,wn(wn({color:"gray.100"},lt),{},{sx:wn({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const bt=tt;var an=e(228287),Wn=e(255235),nr=e(397040),Nr=e(274218),to=["sx"];function qo(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Pa(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?qo(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):qo(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var $a=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M16 9v7H9v1H7v-1H2V2h14v5h1v2h-1zm-2 5H4V4h10v10z",fillRule:"evenodd"}),h.createElement("path",{d:"M19 9h2V7h-2v2zM21 13h-2v-2h2v2zM21 21h-2v-2h2v2zM19 17h2v-2h-2v2zM17 19v2h-2v-2h2zM11 21h2v-2h-2v2zM9 21H7v-2h2v2z"})),ss=(0,g.Z)($a,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),cs=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,to);return h.createElement(ss,Pa(Pa({color:"gray.100"},lt),{},{sx:Pa({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Ns=cs;var Fi=["sx"];function xi(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function ni(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?xi(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):xi(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var dl=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M3 1H1v2h2V1zM1 5h2v2H1V5zM1 9h2v2H1V9zM1 13h2v2H1v-2zM5 1h2v2H5V1zM9 1h2v2H9V1zM13 1h2v2h-2V1zM13 5h2v2h-2V5zM13 9h2v2h-2V9z"}),h.createElement("path",{d:"M18 8h-2V6h4v14H6v-4h2v2h10V8z"}),h.createElement("path",{d:"M7 13H5v2h2v-2zM9 13h2v2H9v-2zM15 13h-2v2h2v-2z"})),Ec=(0,g.Z)(dl,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),ri=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Fi);return h.createElement(Ec,ni(ni({color:"gray.100"},lt),{},{sx:ni({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const cc=ri;var su=e(326703),zc=e(46883),$c=e(898780),Ad=e(201511),df=e(222115),$d=e(882769),ff=["sx"];function bd(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function gf(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?bd(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):bd(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ku=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M21 2H1v2h20V2z"}),h.createElement("path",{clipRule:"evenodd",d:"M9.662 6h2.717l3.47 9.407V16h-1.86l-.983-2.8H8.898L7.914 16H6.15v-.593L9.662 6zm.923 2.443c-.143.412-.318.92-.586 1.675l-.513 1.426h2.961l-.488-1.427c-.407-1.17-.638-1.86-.825-2.433h-.284c-.085.24-.167.478-.265.76z",fillRule:"evenodd"}),h.createElement("path",{d:"M21 18H1v2h20v-2z"})),ef=(0,g.Z)(Ku,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Gc=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,ff);return h.createElement(ef,gf(gf({color:"gray.100"},lt),{},{sx:gf({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Xu=Gc;var tf=e(819927),$f=e(318039),pd=e(807390),id=e(327828),Ef=e(650523),du=e(206667),md=["sx"];function ph(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Uf(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?ph(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):ph(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Xf=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M7.232.578a.5.5 0 01.69.154l1.073 1.686A4.983 4.983 0 0111 2c.713 0 1.391.15 2.005.418L14.078.732a.5.5 0 11.844.536L13.877 2.91A4.994 4.994 0 0116 7H6c0-1.69.839-3.185 2.123-4.09L7.078 1.268a.5.5 0 01.154-.69zM3 9a1 1 0 012 0v4a1 1 0 01-2 0V9zM7 16a1 1 0 01-1-1V8h10v7a1 1 0 01-1 1h-1v3a1 1 0 01-2 0v-3h-2v3a1 1 0 01-2 0v-3H7zM18 8a1 1 0 00-1 1v4a1 1 0 002 0V9a1 1 0 00-1-1z"})),_f=(0,g.Z)(Xf,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),jd=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,md);return h.createElement(_f,Uf(Uf({color:"gray.100"},lt),{},{sx:Uf({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Yf=jd;var Tf=["sx"];function mu(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function fc(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?mu(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):mu(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Yu=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M19.08 15.197a10.599 10.599 0 01-1.047 1.885c-.552.786-1.003 1.33-1.351 1.632-.54.496-1.117.75-1.736.764-.444 0-.98-.126-1.603-.382-.626-.256-1.2-.382-1.726-.382-.551 0-1.143.126-1.775.382-.633.256-1.144.39-1.534.403-.593.025-1.184-.236-1.775-.785-.376-.329-.848-.892-1.412-1.69-.606-.852-1.104-1.84-1.494-2.967C3.21 12.84 3 11.662 3 10.521c0-1.307.282-2.434.848-3.379a4.974 4.974 0 011.776-1.796c.74-.44 1.54-.663 2.401-.678.471 0 1.09.146 1.857.433.766.287 1.258.433 1.473.433.161 0 .708-.17 1.634-.51.875-.315 1.614-.446 2.22-.395 1.64.133 2.873.78 3.693 1.945-1.468.889-2.194 2.134-2.179 3.731.013 1.245.465 2.28 1.352 3.102.402.382.85.677 1.35.886-.108.314-.223.615-.344.904zM15.319.39c0 .975-.356 1.885-1.066 2.728-.857 1.002-1.894 1.581-3.018 1.49a3.04 3.04 0 01-.023-.37c0-.936.408-1.938 1.132-2.757.361-.415.82-.76 1.378-1.035.556-.271 1.082-.42 1.577-.447.014.13.02.261.02.39z"})),Du=(0,g.Z)(Yu,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Qu=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Tf);return h.createElement(Du,fc(fc({color:"gray.100"},lt),{},{sx:fc({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const bu=Qu;var Sd=["sx"];function xu(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Xc(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?xu(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):xu(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ff=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M10.023 19H3.849A.85.85 0 013 18.163v-6.339a21.529 21.529 0 003.061 3.956A22.073 22.073 0 0010.023 19zm1.954-16h6.174a.85.85 0 01.849.837v6.339a21.53 21.53 0 00-3.061-3.956A21.034 21.034 0 0011.977 3zM3.85 3H7.27L19 14.918v3.245a.85.85 0 01-.849.837h-3.164L3 7.184V3.837C3 3.355 3.386 3 3.849 3z",fillRule:"evenodd"})),Qf=(0,g.Z)(Ff,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Jf=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Sd);return h.createElement(Qf,Xc(Xc({color:"gray.100"},lt),{},{sx:Xc({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Df=Jf;var vd=e(605388),yf=e(491653),qf=["sx"];function Su(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function If(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Su(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Su(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var ku=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M11 11.755v-.696c0-.462.227-.916.642-1.184L17.358 6.2a1.4 1.4 0 00.641-1.182V2l-6.998 4.5L4 2v9.505c0 2.613 1.141 4.73 3.015 5.931L11 20l3.984-2.564C16.86 16.234 18 14.117 18 11.505V7.257l-7 4.498z"})),wu=(0,g.Z)(ku,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Wf=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,qf);return h.createElement(wu,If(If({color:"gray.100"},lt),{},{sx:If({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const hf=Wf;var eh=e(661077),Of=e(722406),sh=e(30591),Et=["sx"];function D(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function N(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?D(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):D(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Z=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M19.5 11a8.5 8.5 0 01-8.786 8.495l3.716-6.435c.362-.602.57-1.307.57-2.06a3.99 3.99 0 00-1.354-3h5.31a8.48 8.48 0 01.544 3zm-.998-4H11a4.001 4.001 0 00-3.921 3.208L4.425 5.612A8.483 8.483 0 0111 2.5 8.499 8.499 0 0118.502 7zM3.785 6.504a8.502 8.502 0 005.836 12.885l2.653-4.596a4 4 0 01-4.778-1.86l-3.71-6.43z",fillRule:"evenodd"}),h.createElement("path",{d:"M11 14a3 3 0 100-6 3 3 0 000 6z"})),ve=(0,g.Z)(Z,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),je=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Et);return h.createElement(ve,N(N({color:"gray.100"},lt),{},{sx:N({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const pt=je;var Nt=e(405309),hn=e(399808),gn=e(480185),Xn=e(507674),pr=["sx"];function Zr(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function oo(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Zr(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Zr(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var vo=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M18.047 11.46c.057.955-.045 1.897-.172 2.842-.126.964-.286 1.924-.542 2.863-.17.6-.38 1.183-.677 1.731-.366.671-.921 1.053-1.685 1.084l-2.159.02a5.171 5.171 0 01-1.07-.167c-.67-.17-1.048-.62-1.16-1.296a5.058 5.058 0 01.023-1.838c.142-.693.563-1.104 1.258-1.184.46-.056.93-.044 1.394-.056.116-.005.155.055.115.161-.11.299-.133.603-.056.914.03.117-.013.173-.146.172a4.382 4.382 0 00-.632.03c-.359.048-.541.264-.541.626 0 .116.015.234.037.35.058.286.253.44.532.472a6.808 6.808 0 001.898-.028c.38-.065.608-.305.653-.68.086-.733.087-1.458-.128-2.166-.186-.615-.567-.882-1.202-.958l-1.893-.304c-.597-.108-.957-.5-1.08-1.07-.074-.322-.08-.659-.121-.99-.008-.059-.042-.117-.057-.168-.022.056-.06.12-.066.183-.037.383-.03.774-.104 1.15-.09.45-.227.881-.377 1.311a.635.635 0 01-.679.451 21.262 21.262 0 01-4.011-.762l-.36-.117c-.523-.146-.838-.508-.98-1.006l-.564-2.17-.417-2.422c-.064-.425-.112-.857-.046-1.291.086-.626.514-1.072 1.148-1.106l2.004-.035c.072 0 .143.002.21-.015a.693.693 0 00.57-.706l-.029-1.71c-.027-.888.45-1.34 1.214-1.477a5.959 5.959 0 012.766.146c.525.155.826.52.965 1.031.033.124.083.169.209.162l1.454.005 1.877.209c.386.053.768.14 1.144.236.657.168 1.01.626 1.105 1.27l.201 1.89.17 3.141.005 1.282.002-.01zm-2.553-.65c-.011-.375-.04-.714-.25-1.005a.935.935 0 00-1.39-.084c-.206.225-.279.495-.318.788-.005.02.06.071.09.071l.45-.03c.433.004.858.064 1.267.222.038.014.077.022.15.043v-.005zM6.47 2.639c-.115.284-.169.59-.156.896l.028 1.653c.003.2-.042.253-.244.253l-1.704.015c-.328 0-.644.056-.875.156L6.447 2.61c.012.008.023.019.034.03h-.01z"})),Fo=(0,g.Z)(vo,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Go=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,pr);return h.createElement(Fo,oo(oo({color:"gray.100"},lt),{},{sx:oo({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const pa=Go;var Se=e(684344),de=["sx"];function We(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function _t(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?We(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):We(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var nn=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M4 5a3.99 3.99 0 001.354 3A3.99 3.99 0 004 11a3.99 3.99 0 001.354 3A4 4 0 1012 17v-2.535A4 4 0 0016.646 8 4 4 0 0014 1H8a4 4 0 00-4 4zm6-2H8a2 2 0 100 4h2V3zm0 10V9H8a2 2 0 100 4h2zm0 2H8a2 2 0 102 2v-2zm4-2a2 2 0 110-4 2 2 0 010 4zm0-6h-2V3h2a2 2 0 110 4z",fillRule:"evenodd"})),vn=(0,g.Z)(nn,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),cr=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,de);return h.createElement(vn,_t(_t({color:"gray.100"},lt),{},{sx:_t({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const lo=cr;var Po=e(270084),oa=e(742732),fa=e(775863),Va=e(894857),ci=e(955053),di=e(374078),Xs=e(21976),_i=e(867474),js=e(760997),al=e(880012),vl=e(279382),hc=e(213411),Cc=e(896714),fu=e(393870),Ud=e(784249),Td=["sx"];function Dd(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function nf(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Dd(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Dd(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var mh=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M3.5 2v18H8.33a.814.814 0 00.813-.814v-3.458h1.21c5.91 0 8.326-3.33 8.326-7.226C18.678 3.693 15.025 2 11.586 2H3.5",fillRule:"evenodd"})),xp=(0,g.Z)(mh,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),op=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Td);return h.createElement(xp,nf(nf({color:"gray.100"},lt),{},{sx:nf({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const wp=op;var Np=e(896913),pp=e(619987),ap=e(960879),Hh=e(474057),mp=e(501239),Zh=["sx"];function vp(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Vh(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?vp(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):vp(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var sp=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M14.5 3.342s-.2.064-.572.177a4.72 4.72 0 00-.29-.71c-.42-.807-1.05-1.243-1.792-1.243-.049 0-.097 0-.162.016-.016-.032-.048-.048-.064-.08-.323-.356-.743-.517-1.243-.5-.969.031-1.937.725-2.712 1.968-.549.872-.968 1.97-1.081 2.825-1.114.339-1.889.581-1.905.597-.565.178-.581.194-.646.727C3.985 7.522 2.5 19 2.5 19l12 2V3.342zm-2.8.871c-.645.194-1.355.42-2.05.63.194-.759.582-1.518 1.034-2.018.177-.178.42-.387.694-.516.274.58.339 1.372.322 1.904zm-1.323-2.55c.226 0 .42.048.581.145-.258.13-.517.34-.759.581-.613.662-1.081 1.695-1.275 2.68-.58.177-1.162.355-1.695.516.355-1.55 1.663-3.89 3.148-3.922zM8.505 10.54c.064 1.033 2.792 1.258 2.953 3.696.113 1.92-1.017 3.228-2.647 3.325-1.969.13-3.05-1.033-3.05-1.033l.42-1.776s1.08.824 1.952.759c.565-.032.775-.5.759-.823-.08-1.356-2.308-1.275-2.454-3.503-.129-1.872 1.098-3.76 3.81-3.938 1.049-.065 1.582.193 1.582.193l-.614 2.325s-.694-.323-1.517-.259c-1.194.081-1.21.84-1.194 1.034zm3.841-6.522c0-.484-.065-1.178-.29-1.759.742.145 1.097.969 1.259 1.469-.291.08-.614.178-.969.29zM15 21l5-1.25S17.963 4.972 17.947 4.875a.188.188 0 00-.177-.162c-.081 0-1.502-.032-1.502-.032S15.323 3.841 15 3.52V21z"})),zh=(0,g.Z)(sp,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),$h=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Zh);return h.createElement(zh,Vh(Vh({color:"gray.100"},lt),{},{sx:Vh({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Pf=$h;var Bp=e(822347),Xh=e(410811),Ac=e(612961),u0=e(985823),Oh=e(591386),d0=e(556018),Mf=e(325284),V=e(858266),se=["sx"];function dt(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function en(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?dt(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):dt(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var kn=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M11 2c-4.916 0-9 4.084-9 9s4.084 9 9 9c4.915 0 8.999-4.084 8.999-9 .076-4.916-4.008-9-9-9zm0 16.94A7.94 7.94 0 013.058 11c0-4.386 3.63-7.865 7.94-7.865 4.311 0 7.941 3.554 7.941 7.94 0 4.387-3.554 7.866-7.94 7.866z"}),h.createElement("path",{d:"M11 12.134a1.134 1.134 0 100-2.268 1.134 1.134 0 000 2.268zM11 8.882a1.134 1.134 0 100-2.268 1.134 1.134 0 000 2.268zM7.748 12.134a1.134 1.134 0 100-2.268 1.134 1.134 0 000 2.268zM14.327 12.134a1.134 1.134 0 100-2.268 1.134 1.134 0 000 2.268zM11 15.462a1.134 1.134 0 100-2.269 1.134 1.134 0 000 2.269z"})),gr=(0,g.Z)(kn,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Io=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,se);return h.createElement(gr,en(en({color:"gray.100"},lt),{},{sx:en({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const ma=Io;var Ta=e(900425),Ps=e(955968),ja=e(28070),mi=e(607301),ii=e(796374),ol=e(642232),hl=e(194140),gl=e(974733),Iu=["sx"];function Wa(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Fa(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Wa(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Wa(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var gs=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M7 4.5a6.5 6.5 0 000 13h.5a.5.5 0 00.254-.07L11 15.577l3.252 1.858a.5.5 0 00.248.066h.5a6.5 6.5 0 100-13h-.5a.498.498 0 00-.256.07L11 6.424 7.748 4.566A.5.5 0 007.5 4.5H7zM1.5 11A5.5 5.5 0 017 5.5h.367L13.492 9l-6.24 3.566A.5.5 0 007 13v3.5A5.5 5.5 0 011.5 11zm10.508-4L14 8.138V5.862L12.008 7zM15 5.5V9a.5.5 0 01-.252.434L8.508 13l6.125 3.5H15a5.5 5.5 0 100-11zM9.992 15L8 16.138v-2.276L9.992 15z",fillRule:"evenodd"})),Ci=(0,g.Z)(gs,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Ol=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Iu);return h.createElement(Ci,Fa(Fa({color:"gray.100"},lt),{},{sx:Fa({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Il=Ol;var Ml=["sx"];function wl(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function uc(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?wl(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):wl(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Yc=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M3.043 5.06h.1l.166.03.199.03.53.121.73.12.397.092.432.09.464.06.464.12.497.06.497.122 1.592.27.497.121.53.09.464.091.498.09.464.091.464.06.398.091.398.06.332.09.298.061.265.03.232.03.166.03.1.03h.066l.431.091.398.06.332.09.264.06.266.092.199.06.265.12.1.061.165.15v.03l.034.03v.03h1.425l.133.031h.132l.1.03h.1l.099.03.265.12.033.061.232.332.067.391-.067.483-.165.453-.2.452-.199.362-.165.241-.066.09-.067.031-.165.06-.233.09-.331.12-.365.122-.464.18-.497.181-.564.181-.63.241-.664.212-.662.24-1.459.544-.763.271-.763.242-.762.3-.795.272-.763.24-.73.303-.762.242-.696.24-1.327.482-.596.212-.564.18-.497.181-.43.15-.366.152-.298.09-.232.091-.133.03-.034.03h17.142l2.785-12H3.043v.06z",fillRule:"evenodd"}),h.createElement("path",{clipRule:"evenodd",d:"M15.874 8.95l-.1.03-.662.12h-.166l-.133.03h-.132l-.2.03-.099.03-.066.03-.034.062v.06l.067.06h.132l.133.03h.332l.199-.03h.198l.465-.06h.232l.265-.031.232-.03.2-.03.231-.03h.896l.098.03.067.03.066.09v.121l-.033.12-.033.151-.067.181-.098.211-.067.212-.033.12.066.06.067-.03.132-.12.066-.09.1-.152.1-.18.1-.212.098-.18.067-.181.033-.151V9.07l-.066-.151-.1-.09-.132-.09-.166-.061-.2-.03-.23-.03h-1.394l-.033.03h-.033l-.066.03-.067.12-.066.03-.066.061-.1.06z",fillRule:"evenodd"}),h.createElement("path",{clipRule:"evenodd",d:"M2.413 7.774L.225 17l.1-.03.199-.12.331-.12.432-.212.496-.21.564-.272.663-.272.63-.301.664-.271.63-.302.63-.272.596-.271.497-.242.431-.18.332-.15.232-.091.331-.15.3-.152.363-.151.365-.18.332-.151.398-.151.364-.181.398-.15.398-.182 1.99-.753.895-.272.132-.03.133-.06.165-.03.597-.181.697-.18.232-.031.696-.181.398-.06.132-.03.1-.031h.1l.099-.03.066-.06h.034v-.03l-.067-.12-.1-.03-.132-.031h-.133l-.198-.03h-.2l-.232.03-.397.03-.431.06-.465.09-.497.091-.497.12-.53.152-.498.15-.53.151-.498.182-.498.15-.463.15-.431.151-.399.181-.33.12-.3.122-.232.12-1.26-3.558h8.025l.032-.15-.132-.152-.2-.09-.297-.09-.332-.09-.863-.121-1.392-.09H2.413z",fillRule:"evenodd"})),ih=(0,g.Z)(Yc,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Ph=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Ml);return h.createElement(ih,uc(uc({color:"gray.100"},lt),{},{sx:uc({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const f0=Ph;var $0=e(522011),h0=e(611664),Mm=e(841052),p0=e(675999),Kf=e(517450),Rm=e(135577),X0=e(549451),Mh=e(745012),nc=["sx"];function m0(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function rf(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?m0(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):m0(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Ju=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M15 6h-2.75l4 4H7.5v2h8.75l-4 4H15l5-5-5-5z"}),h.createElement("path",{d:"M10.75 5H4v12h6.75v2H2V3h8.75v2z"})),Yi=(0,g.Z)(Ju,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Ch=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,nc);return h.createElement(Yi,rf(rf({color:"gray.100"},lt),{},{sx:rf({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const v0=Ch;var g0=e(900617),Lm=e(793534),Y0=e(702450),Q0=e(15451),gp=["sx"];function jp(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function th(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?jp(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):jp(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var lh=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M19 4H3v2h16V4zM19 10H3v2h16v-2zM19 16H3v2h16v-2z"})),ip=(0,g.Z)(lh,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Bu=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,gp);return h.createElement(ip,th(th({color:"gray.100"},lt),{},{sx:th({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const qu=Bu;var Up=e(94498),lp=["sx"];function Fp(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Wp(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Fp(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Fp(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var J0=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M11 0a4 4 0 00-4 4v6a4 4 0 008 0V4a4 4 0 00-4-4zm2 10V4a2 2 0 10-4 0v6a2 2 0 104 0z",fillRule:"evenodd"}),h.createElement("path",{d:"M12 20h3v2H7v-2h3v-2.063A8 8 0 013 10h2a6 6 0 1012 0h2a8 8 0 01-7 7.937V20z"})),xm=(0,g.Z)(J0,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Rf=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,lp);return h.createElement(xm,Wp(Wp({color:"gray.100"},lt),{},{sx:Wp({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Kp=Rf;var Ah=["sx"];function Id(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function bh(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Id(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Id(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var E0=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M11 14l.961 1.922a5.996 5.996 0 01-5.204-1.68A6 6 0 015 10H3a8 8 0 007 7.937V20H7v2h10.242L6.25 0H4l3 6v4a4 4 0 004 4zm1 3.937c.3-.037.596-.092.887-.163L14 20h-2v-2.063z",fillRule:"evenodd"}),h.createElement("path",{d:"M8.828.64l.905 1.812A2 2 0 0113 4v4.99l1.486 2.974c.327-.58.514-1.25.514-1.964V4A4 4 0 008.828.64zM15.492 13.978l.945 1.89A8 8 0 0019 10h-2a6 6 0 01-1.508 3.979z"})),Ep=(0,g.Z)(E0,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Lf=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Ah);return h.createElement(Ep,bh(bh({color:"gray.100"},lt),{},{sx:bh({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Sh=Lf;var ul=e(827850),wm=e(636376),_0=e(732153),kp=e(560742),Nm=["sx"];function _p(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function ch(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?_p(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):_p(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var pc=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M8.967 2.22a8.98 8.98 0 011.265-.203l.634.906a5.966 5.966 0 00-.838 3.06 6 6 0 009.075 5.153l.868.867a9.003 9.003 0 01-8.943 7.98A9 9 0 018.968 2.22zm8.443 11.643a8 8 0 01-9.262-9.262 7.001 7.001 0 109.262 9.262z",fillRule:"evenodd"})),y0=(0,g.Z)(pc,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),kf=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Nm);return h.createElement(y0,ch(ch({color:"gray.100"},lt),{},{sx:ch({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const O0=kf;var q0=e(367725),Vl=e(112193),bc=["sx"];function Gp(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Yh(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Gp(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Gp(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Hc=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M11 12.995c0-2.372-1.5-4.104-3.7-4.104-1.25 0-1.863.545-2.307 1l.4-2.9h4.586V5H3.697L2.9 11.49l2.05.307c.299-.601.913-1.106 1.848-1.106 1.349 0 2.131 1.09 2.131 2.409 0 1.402-.782 2.421-2.165 2.421-1.215 0-1.898-.768-2.065-1.804l-2.048.067c.217 2.038 1.799 3.44 4.147 3.44 2.498 0 4.203-1.808 4.203-4.23zM0 15h2v2H0v-2zM16.963 9H19v.55L16.7 13l2.3 3.45V17h-2.037l-1.465-2.297L14.034 17H12v-.555L14.297 13 12 9.555V9h2.034l1.464 2.3L16.963 9z"})),P0=(0,g.Z)(Hc,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),em=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,bc);return h.createElement(P0,Yh(Yh({color:"gray.100"},lt),{},{sx:Yh({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const C0=em;var A0=["sx"];function b0(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function yp(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?b0(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):b0(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var xf=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M3 17h8v-2H8V5.01L6 5c0 1.5-1 2.25-3 2.25V9h3v6H3v2zM16.963 9H19v.55L16.7 13l2.3 3.45V17h-2.037l-1.465-2.297L14.034 17H12v-.555L14.297 13 12 9.555V9h2.034l1.464 2.3L16.963 9z"})),Bm=(0,g.Z)(xf,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),tm=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,A0);return h.createElement(Bm,yp(yp({color:"gray.100"},lt),{},{sx:yp({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const nm=tm;var rm=["sx"];function Th(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Dh(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Th(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Th(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var om=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M11 15H5.8c2.25-1.5 5.082-3.5 5.082-6.517 0-2.104-1.486-3.683-3.958-3.683-2.622 0-4.008 1.863-4.025 4.05l2.055.084C4.97 7.598 5.57 6.6 6.924 6.6c1.152 0 1.876.83 1.876 1.933 0 1.286-.673 2.02-2.293 3.574-.97.927-1.745 1.55-2.417 2.088-.393.316-.751.603-1.09.905V17h8v-2zM16.963 9H19v.55L16.7 13l2.3 3.45V17h-2.037l-1.465-2.297L14.033 17H12v-.555L14.296 13 12 9.555V9h2.033l1.465 2.3L16.963 9z"})),Hp=(0,g.Z)(om,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Gf=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,rm);return h.createElement(Hp,Dh(Dh({color:"gray.100"},lt),{},{sx:Dh({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Zp=Gf;var Op=e(239581),Xd=e(35235),Hd=e(698865),am=e(77408),S0=["sx"];function Vp(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Pp(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Vp(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Vp(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var T0=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M14 17.326a6.952 6.952 0 01-2 .603V4.071a6.95 6.95 0 012 .603v12.652zm2-1.427A6.977 6.977 0 0018 11a6.977 6.977 0 00-2-4.899v9.798zM8 4.674a6.95 6.95 0 012-.603v13.858a6.952 6.952 0 01-2-.603V4.674zM6 6.1A6.977 6.977 0 004 11c0 1.907.763 3.636 2 4.899V6.101zM20 11a9 9 0 11-18 0 9 9 0 0118 0z",fillRule:"evenodd"})),jm=(0,g.Z)(T0,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Um=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,S0);return h.createElement(jm,Pp(Pp({color:"gray.100"},lt),{},{sx:Pp({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const zp=Um;var sm=e(373614),Fm=e(824868),Wm=e(184404),$p=e(654498),cp=e(386884),Km=e(158825),im=["sx"];function Xp(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function D0(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Xp(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Xp(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Qh=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M5 5h12v8H5V5zm0 10v2h12v-2H5zm-2 4V3h16v16H3z",fillRule:"evenodd"})),Dc=(0,g.Z)(Qh,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),ji=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,im);return h.createElement(Dc,D0(D0({color:"gray.100"},lt),{},{sx:D0({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const km=ji;var up=["sx"];function Qc(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Cp(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Qc(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Qc(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Gm=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M3 3v16h16V3H3zm14 2H5v3h12V5zM5 12v-2h12v2H5zm0 2v3h12v-3H5z",fillRule:"evenodd"})),Hm=(0,g.Z)(Gm,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),lm=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,up);return h.createElement(Hm,Cp(Cp({color:"gray.100"},lt),{},{sx:Cp({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const dp=lm;var Yp=["sx"];function I0(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Qp(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?I0(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):I0(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Jh=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M3 3v16h16V3H3zm9 2h-2v12h2V5zm2 0v12h3V5h-3zM5 5h3v12H5V5z",fillRule:"evenodd"})),M0=(0,g.Z)(Jh,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Zm=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Yp);return h.createElement(M0,Qp(Qp({color:"gray.100"},lt),{},{sx:Qp({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Vm=Zm;var cm=["sx"];function R0(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Ap(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?R0(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):R0(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var zm=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M9 5h8v12H9V5zM7 5H5v12h2V5zM3 19V3h16v16H3z",fillRule:"evenodd"})),$m=(0,g.Z)(zm,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Jp=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,cm);return h.createElement($m,Ap(Ap({color:"gray.100"},lt),{},{sx:Ap({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const um=Jp;var qh=["sx"];function Xm(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function vh(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Xm(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Xm(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var L0=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M15 5h2v12h-2V5zm-2 0H5v12h8V5zM3 19V3h16v16H3z",fillRule:"evenodd"})),Ym=(0,g.Z)(L0,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),dm=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,qh);return h.createElement(Ym,vh(vh({color:"gray.100"},lt),{},{sx:vh({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const fm=dm;var x0=["sx"];function bp(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function fp(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?bp(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):bp(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var w0=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M5 5h12v2H5V5zm0 4v8h12V9H5zM3 19V3h16v16H3z",fillRule:"evenodd"})),Qm=(0,g.Z)(w0,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),N0=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,x0);return h.createElement(Qm,fp(fp({color:"gray.100"},lt),{},{sx:fp({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Jm=N0;var hm=e(373721),wf=e(440505),Sp=e(638260),qp=e(14022),pf=e(863024),B0=e(562235),pm=e(514494),Tp=e(61430),qm=["sx"];function j0(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function ep(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?j0(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):j0(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var U0=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M11 3.857c5.523 0 10 4.478 10 10a9.958 9.958 0 01-.965 4.286l-1.89-.688a8 8 0 10-14.29 0l-1.891.688A9.96 9.96 0 011 13.857c0-5.522 4.477-10 10-10z"}),h.createElement("path",{d:"M14.933 9.456l-2.634 6.562-1 1.732-2.598-1.5 1-1.732 4.366-5.562.866.5z"})),e0=(0,g.Z)(U0,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),F0=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,qm);return h.createElement(e0,ep(ep({color:"gray.100"},lt),{},{sx:ep({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const ev=F0;var tv=e(101635),W0=e(406409),nv=["sx"];function t0(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function n0(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?t0(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):t0(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var mm=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M2 2h5.986l3.042 3.042L9.17 9.757l3.072 3.072 4.715-1.857L20 14.014V20h-1c-5.102 0-9.368-1.806-12.359-4.873C3.654 12.063 2 7.804 2 3V2zm2.027 2c.21 3.914 1.662 7.286 4.046 9.73 2.392 2.453 5.773 4.027 9.927 4.244v-3.131l-1.53-1.53-4.713 1.858-4.928-4.928L8.686 5.53 7.157 4h-3.13z",fillRule:"evenodd"})),Dp=(0,g.Z)(mm,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),r0=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,nv);return h.createElement(Dp,n0(n0({color:"gray.100"},lt),{},{sx:n0({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const rv=r0;var vm=["sx"];function K0(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function k0(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?K0(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):K0(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Cf=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M2 2h5.986l3.042 3.042L9.17 9.757l3.072 3.072 4.715-1.857L20 14.014V20h-1c-5.102 0-9.368-1.806-12.359-4.873C3.654 12.063 2 7.804 2 3V2zm2.027 2c.21 3.914 1.662 7.286 4.046 9.73 2.392 2.453 5.773 4.027 9.927 4.244v-3.131l-1.53-1.53-4.713 1.858-4.928-4.928L8.686 5.53 7.157 4h-3.13z",fillRule:"evenodd"}),h.createElement("path",{clipRule:"evenodd",d:"M18.052 9L20 7.053V2h-5.052L13 3.947h3.723L13 7.667 14.334 9l3.718-3.714V9z",fillRule:"evenodd"})),o0=(0,g.Z)(Cf,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),gm=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,vm);return h.createElement(o0,k0(k0({color:"gray.100"},lt),{},{sx:k0({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const nh=gm;var G0=["sx"];function H0(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Ip(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?H0(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):H0(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Z0=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M20 11a9 9 0 11-18 0 9 9 0 0118 0zm-10 6.93v-6.312L4.354 8.795A7.001 7.001 0 0010 17.93zM5.25 7.006A6.992 6.992 0 0111 4a6.992 6.992 0 015.75 3.007L11 9.882 5.25 7.007zm12.396 1.788L12 11.618v6.311a7.001 7.001 0 005.646-9.134z",fillRule:"evenodd"})),a0=(0,g.Z)(Z0,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Em=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,G0);return h.createElement(a0,Ip(Ip({color:"gray.100"},lt),{},{sx:Ip({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const _m=Em;var ym=["sx"];function Mp(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Hf(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Mp(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Mp(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Vn=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M13.107 1.75l-1.415 1.414.707.707-6.363 4.95L4.62 7.407 3.207 8.82l4.243 4.243-4.95 4.95v1.414h1.414l4.95-4.95 4.243 4.243 1.414-1.415-1.414-1.414 4.95-6.364.707.707 1.414-1.414-7.071-7.071zm3.535 6.364l-2.828-2.828-.088.088-6.265 4.872 4.22 4.22 4.873-6.264.088-.088z",fillRule:"evenodd"})),dr=(0,g.Z)(Vn,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Rr=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,ym);return h.createElement(dr,Hf(Hf({color:"gray.100"},lt),{},{sx:Hf({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const X=Rr;var be=e(359203),Tt=e(613231),On=e(92484),fr=e(668789),Gr=["sx"];function Do(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Wo(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Do(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Do(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var zo=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M11.904 8.006c.925-.001 1.839.416 2.434 1.206a2.97 2.97 0 01.594 2.002H13.15a1.234 1.234 0 00-.231-.952 1.261 1.261 0 00-1.015-.5V8.006zm0-3.004c1.848 0 3.672.834 4.862 2.413a5.94 5.94 0 011.2 3.799h-2.021a3.96 3.96 0 00-.797-2.601 4.052 4.052 0 00-3.244-1.61v-2zm0-3.002c2.771.001 5.507 1.251 7.292 3.62a8.908 8.908 0 011.801 5.594h-2.02a6.929 6.929 0 00-1.4-4.398 7.088 7.088 0 00-5.673-2.815V2z"}),h.createElement("path",{d:"M10.541 7.4H3.726a.904.904 0 00-.909.9v.9h7.724v2.7H2.817v5.4c0 .497.407.9.91.9h12.72a.904.904 0 00.91-.9v-4.5h1.817v4.5c0 1.491-1.22 2.7-2.726 2.7H3.726C2.221 20 1 18.791 1 17.3v-9c0-1.491 1.22-2.7 2.726-2.7h6.815v1.8zm-4.543 6.3c.753 0 1.363.604 1.363 1.35 0 .746-.61 1.35-1.363 1.35a1.357 1.357 0 01-1.363-1.35c0-.746.61-1.35 1.363-1.35z"})),_a=(0,g.Z)(zo,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Aa=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Gr);return h.createElement(_a,Wo(Wo({color:"gray.100"},lt),{},{sx:Wo({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const za=Aa;var ps=e(64569),Ws=e(815127),Oi=e(744305),bl=e(664519),tl=e(180223),cl=e(41722),pl=e(627430),Uc=e(608371),rc=e(408294),Jc=e(741146),iu=e(191223),ju=e(135912),vu=e(374517),ed=e(734946),Nf=["sx"];function Zf(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Af(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Zf(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Zf(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var rh=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M21 20h-2V2h2v18z"}),h.createElement("path",{clipRule:"evenodd",d:"M13.997 8.313c2.16 0 3.52.96 3.52 3.263v4.88c0 .224 0 .288.016.544H15.87v-.368c0-.16 0-.4.016-.527h-.048c-.464.607-1.328 1.103-2.607 1.103-1.968 0-3.185-1.024-3.185-2.592 0-1.728 1.248-2.304 3.232-2.656l1.617-.288c.591-.112.72-.256.72-.64 0-.624-.513-1.2-1.617-1.2-1.152 0-1.695.624-1.807 1.456l-1.873-.16c.192-1.648 1.584-2.815 3.68-2.816zm1.712 4.703c-.272.064-.512.096-.768.144l-1.648.304c-.784.144-1.264.464-1.264 1.12 0 .736.576 1.168 1.456 1.168 1.328 0 2.176-.784 2.176-2.112v-.24c0-.128 0-.224.048-.384zM9.897 17h-2.08l-.75-2.625H2.933L2.183 17H.103L3.246 6h3.508l3.143 11zm-6.464-4.375h3.134L5.245 8h-.49l-1.322 4.625z",fillRule:"evenodd"})),Yd=(0,g.Z)(rh,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Qd=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Nf);return h.createElement(Yd,Af(Af({color:"gray.100"},lt),{},{sx:Af({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Bf=Qd;var mf=e(25257),oh=["sx"];function jf(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function uh(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?jf(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):jf(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Gu=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M16.614 9C15.747 6.77 13.521 5 11 5c-3.232 0-6 2.741-6 6 0 3.262 2.759 6 6 6a6.052 6.052 0 004.243-1.757l1.414 1.414A8.052 8.052 0 0111 19c-4.34 0-8-3.629-8-8 0-4.37 3.67-8 8-8 2.995 0 5.628 1.802 6.999 4.26V3L20 5v6.001L13.999 11l-2-2h4.615z"})),gh=(0,g.Z)(Gu,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Om=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,oh);return h.createElement(gh,uh(uh({color:"gray.100"},lt),{},{sx:uh({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const yv=Om;var nE=e(463678),rE=e(880872),oE=e(680736),aE=["sx"];function ov(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Ov(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?ov(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):ov(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var sE=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M5 14c0-3.07 2.944-8.2 4.766-10.872.552-.81 1.001-1.395 1.234-1.628.233.233.682.817 1.235 1.628C14.056 5.801 17 10.931 17 14a6 6 0 01-12 0zm9.878-1a12.462 12.462 0 00-.546-1.793c-.44-1.165-1.05-2.42-1.71-3.618A43.116 43.116 0 0011 4.882 43.097 43.097 0 009.377 7.59c-.659 1.198-1.269 2.453-1.71 3.618A12.465 12.465 0 007.123 13h7.756z",fillRule:"evenodd"})),iE=(0,g.Z)(sE,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),lE=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,aE);return h.createElement(iE,Ov(Ov({color:"gray.100"},lt),{},{sx:Ov({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const cE=lE;var uE=e(132909),dE=e(768039),G_=e(821465),fE=e(252345),hE=e(432752),ig=["sx"];function Pv(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Cv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Pv(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Pv(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var pE=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M18.212 3.788L20 4.45v.5l-1.788.662L17.55 7.4h-.5l-.662-1.788L14.6 4.95v-.5l1.788-.662L17.05 2h.5l.662 1.788zM11.733 2.9l-.44 1.192-1.193.441v.334l1.192.44.441 1.193h.333l.442-1.192 1.192-.441v-.334l-1.192-.44-.441-1.193h-.334zM16.692 9.492l.442-1.192h.332l.442 1.192 1.192.441v.334l-1.192.44-.442 1.193h-.332l-.442-1.192-1.192-.441v-.334l1.192-.44zM13.7 11V8.448l-4.5 4.5-2.7-2.7V12.8l2.7 2.7 4.5-4.5z"}),h.createElement("path",{d:"M5.748 7.344a6.3 6.3 0 012.879-1.57l-.421-1.75a8.1 8.1 0 109.712 9.996l-1.738-.471A6.3 6.3 0 115.748 7.344z"})),lg=(0,g.Z)(pE,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),av=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,ig);return h.createElement(lg,Cv(Cv({color:"gray.100"},lt),{},{sx:Cv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const mE=av;var cg=["sx"];function ug(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Av(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?ug(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):ug(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var vE=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M11 20a9 9 0 100-18 9 9 0 000 18zm6.93-8H11v2h6.326a6.952 6.952 0 00.603-2zm-2.031 4H11v2a6.977 6.977 0 004.899-2zm2.03-6a6.952 6.952 0 00-.603-2H11v2h6.93zM11 6h4.899A6.977 6.977 0 0011 4v2z",fillRule:"evenodd"})),gE=(0,g.Z)(vE,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),dg=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,cg);return h.createElement(gE,Av(Av({color:"gray.100"},lt),{},{sx:Av({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const EE=dg;var Jd=e(739813),tp=e(522049),_E=["sx"];function fg(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function bv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?fg(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):fg(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var yE=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M6 8.25V5.5l5-5 5 5v2.75l-4-4V13h-2V4.25l-4 4zM5 19V9H3v12h9v-2H5z"}),h.createElement("path",{clipRule:"evenodd",d:"M14 15h1v-1a3 3 0 116 0v1h1v6h-8v-6zm5-1v1h-2v-1a1 1 0 112 0z",fillRule:"evenodd"})),H_=(0,g.Z)(yE,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),OE=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,_E);return h.createElement(H_,bv(bv({color:"gray.100"},lt),{},{sx:bv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const PE=OE;var CE=["sx"];function hg(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Sv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?hg(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):hg(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var AE=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M21.333 19.333L11.335 2.667 1.332 19.333h20zm-16.467-2H17.8L11.334 6.554l-6.468 10.78z",fillRule:"evenodd"})),bE=(0,g.Z)(AE,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),SE=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,CE);return h.createElement(bE,Sv(Sv({color:"gray.100"},lt),{},{sx:Sv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const TE=SE;var DE=e(644550),IE=e(658280),sv=e(742699),ME=e(458940),Pm=["sx"];function pg(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Tv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?pg(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):pg(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var RE=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M8 5h11v5h2V3H1v16h9v-2H8V5zM6 5H3v12h3V5z",fillRule:"evenodd"}),h.createElement("path",{clipRule:"evenodd",d:"M19.099 11L22 13.901 14.901 21H12v-2.901L19.099 11zm-5.488 7.766v.623h.623l3.952-3.952-.623-.623-3.952 3.952zm6.11-4.865l-.396.397-.623-.623.397-.397.623.623z",fillRule:"evenodd"})),LE=(0,g.Z)(RE,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),xE=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Pm);return h.createElement(LE,Tv(Tv({color:"gray.100"},lt),{},{sx:Tv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const wE=xE;var NE=["sx"];function mg(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Dv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?mg(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):mg(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var V0=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M3.414 14.999L7 11.414l3.585 3.585 1.414-1.414-3.585-3.586 3.585-3.585L10.585 5 7 8.585 3.414 5 2 6.414 5.585 10 2 13.585l1.414 1.414zM20 18H2v2h18v-2z"})),BE=(0,g.Z)(V0,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),jE=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,NE);return h.createElement(BE,Dv(Dv({color:"gray.100"},lt),{},{sx:Dv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const UE=jE;var FE=e(749662),WE=e(481160),Iv=e(974257),KE=e(838270),z0=e(578851),kE=e(726980),GE=["sx"];function s0(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Mv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?s0(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):s0(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var HE=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M1.125 16.875h2.75l6-6-6-6h-2.75l6 6-6 6z"}),h.createElement("path",{d:"M6.625 16.875h2.75l6-6-6-6h-2.75l6 6-6 6z"}),h.createElement("path",{d:"M14.875 16.875h-2.75l6-6-6-6h2.75l6 6-6 6z"})),Z_=(0,g.Z)(HE,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),ZE=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,GE);return h.createElement(Z_,Mv(Mv({color:"gray.100"},lt),{},{sx:Mv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Rv=ZE;var vg=["sx"];function gg(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Lv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?gg(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):gg(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var iv=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M6.625 16.875h2.75l6-6-6-6h-2.75l6 6-6 6z"})),VE=(0,g.Z)(iv,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),zE=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,vg);return h.createElement(VE,Lv(Lv({color:"gray.100"},lt),{},{sx:Lv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const V_=zE;var $E=e(534638),Eg=e(97477),XE=e(721962),YE=["sx"];function _g(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function xv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?_g(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):_g(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var QE=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M18 11a7 7 0 11-14 0 7 7 0 0114 0zm2 0a9 9 0 11-18 0 9 9 0 0118 0zm-7.53-2.023L11 6 9.53 8.977l-3.285.478 2.377 2.318-.56 3.272L11 13.5l2.939 1.545-.561-3.272 2.377-2.318-3.286-.478z",fillRule:"evenodd"})),yg=(0,g.Z)(QE,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),JE=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,YE);return h.createElement(yg,xv(xv({color:"gray.100"},lt),{},{sx:xv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const wv=JE;var Eh=e(663690),Og=["sx"];function Nv(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Bv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Nv(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Nv(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Pg=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M13.781 7.635L11 2 8.219 7.635 2 8.54l4.5 4.386-1.062 6.194L11 16.195l5.562 2.924-1.062-6.194L20 8.54l-6.219-.904zM11 13.935l2.906 1.528-.555-3.236 2.351-2.292-3.249-.472L11 6.52v7.416z",fillRule:"evenodd"})),Cg=(0,g.Z)(Pg,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),qE=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Og);return h.createElement(Cg,Bv(Bv({color:"gray.100"},lt),{},{sx:Bv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const z_=qE;var Ag=e(727180),e1=["sx"];function bg(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Sg(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?bg(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):bg(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var t1=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M12 12v-2h-2v2h2zM16 10v2h-2v-2h2zM8 12v-2H6v2h2z"}),h.createElement("path",{clipRule:"evenodd",d:"M20 6l-4 14-14-4L6 2l14 4zm-2.473 1.374l-2.9 10.154-10.155-2.902L7.374 4.472l10.154 2.902z",fillRule:"evenodd"}),h.createElement("path",{d:"M2 10v2H0v-2h2zM22 10v2h-2v-2h2z"})),jv=(0,g.Z)(t1,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),n1=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,e1);return h.createElement(jv,Sg(Sg({color:"gray.100"},lt),{},{sx:Sg({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const $_=n1;var lv=["sx"];function Tg(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Uv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Tg(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Tg(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var X_=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M2 6l4 14 14-4-4-14L2 6zm2.472 1.374l2.902 10.154 10.154-2.902-2.902-10.154L4.472 7.374zM2 10v2H0v-2h2zm20 0v2h-2v-2h2zm-10 2v-2h-2v2h2zm4-2v2h-2v-2h2zm-8 2v-2H6v2h2z",fillRule:"evenodd"})),r1=(0,g.Z)(X_,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),o1=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,lv);return h.createElement(r1,Uv(Uv({color:"gray.100"},lt),{},{sx:Uv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const a1=o1;var Y_=e(711167),s1=e(120051),i1=e(840990),Q_=e(814878),l1=e(833113),c1=e(270470),u1=["sx"];function d1(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function cv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?d1(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):d1(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var f1=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M15 13H7v2h8v-2z"}),h.createElement("path",{clipRule:"evenodd",d:"M17 4H5a3 3 0 00-3 3v8a3 3 0 003 3h12a3 3 0 003-3V7a3 3 0 00-3-3zM4 7a1 1 0 011-1h12a1 1 0 011 1v8a1 1 0 01-1 1H5a1 1 0 01-1-1V7z",fillRule:"evenodd"})),h1=(0,g.Z)(f1,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),p1=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,u1);return h.createElement(h1,cv(cv({color:"gray.100"},lt),{},{sx:cv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const m1=p1;var v1=e(438140),Dg=e(942895),Ig=e(117446),Mg=e(675870),g1=e(457686),E1=e(489835),J_=e(144209),uv=e(97844),_1=e(733951),y1=e(140258),Rg=e(891772),Fv=["sx"];function dh(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function dv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?dh(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):dh(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Lg=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M12 8h3V6H7v2h3v8h2V8z"})),O1=(0,g.Z)(Lg,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),P1=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Fv);return h.createElement(O1,dv(dv({color:"gray.100"},lt),{},{sx:dv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const C1=P1;var A1=["sx"];function xg(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Wv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?xg(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):xg(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var fv=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M12.176 9.382L11 7 9.824 9.382l-2.628.382 1.902 1.854-.45 2.618L11 13l2.351 1.236-.449-2.618 1.902-1.854-2.628-.382z"}),h.createElement("path",{clipRule:"evenodd",d:"M1 4v5a2 2 0 110 4v5h20v-5a2 2 0 110-4V4H1zm4 7c0-1.48-.804-2.773-2-3.465V6h16v1.535A3.998 3.998 0 0017 11c0 1.48.804 2.773 2 3.465V16H3v-1.535A3.998 3.998 0 005 11z",fillRule:"evenodd"})),b1=(0,g.Z)(fv,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),S1=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,A1);return h.createElement(b1,Wv(Wv({color:"gray.100"},lt),{},{sx:Wv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const T1=S1;var D1=e(347681),wg=["sx"];function Ng(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Kv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Ng(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Ng(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var Cm=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M8 2h6V0H8v2zM10 13V7h2v6h-2z"}),h.createElement("path",{clipRule:"evenodd",d:"M20 12a9 9 0 11-9-9c2.125 0 4.078.736 5.618 1.968l1.175-1.175 1.414 1.414-1.175 1.175A8.962 8.962 0 0120 12zm-2 0a7 7 0 11-14 0 7 7 0 0114 0z",fillRule:"evenodd"})),hv=(0,g.Z)(Cm,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),I1=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,wg);return h.createElement(hv,Kv(Kv({color:"gray.100"},lt),{},{sx:Kv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Bg=I1;var M1=["sx"];function R1(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function kv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?R1(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):R1(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var L1=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M14 2H8V0h6v2z"}),h.createElement("path",{clipRule:"evenodd",d:"M12 8a2 2 0 00-2 2v4a2 2 0 002 2h2a2 2 0 002-2v-4a2 2 0 00-2-2h-2zm0 2h2v4h-2v-4z",fillRule:"evenodd"}),h.createElement("path",{d:"M6 8v2h1v6h2V8H6z"}),h.createElement("path",{clipRule:"evenodd",d:"M20 12a9 9 0 11-9-9c2.125 0 4.078.736 5.618 1.968l1.175-1.175 1.414 1.414-1.175 1.175A8.962 8.962 0 0120 12zm-2 0a7 7 0 11-14 0 7 7 0 0114 0z",fillRule:"evenodd"})),q_=(0,g.Z)(L1,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),jg=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,M1);return h.createElement(q_,kv(kv({color:"gray.100"},lt),{},{sx:kv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const x1=jg;var w1=["sx"];function Gv(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Hv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Gv(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Gv(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var N1=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M14 2H8V0h6v2zM8 10h4v1H9v2h3v1H8v2h4a2 2 0 002-2v-4a2 2 0 00-2-2H8v2z"}),h.createElement("path",{clipRule:"evenodd",d:"M20 12a9 9 0 11-9-9c2.125 0 4.078.736 5.618 1.968l1.175-1.175 1.414 1.414-1.175 1.175A8.962 8.962 0 0120 12zm-2 0a7 7 0 11-14 0 7 7 0 0114 0z",fillRule:"evenodd"})),B1=(0,g.Z)(N1,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),j1=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,w1);return h.createElement(B1,Hv(Hv({color:"gray.100"},lt),{},{sx:Hv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const U1=j1;var F1=["sx"];function Ug(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Fg(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Ug(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Ug(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var W1=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M14 2H8V0h6v2zM14 10V8H8v5h4v1H8v2h4a2 2 0 002-2v-1a2 2 0 00-2-2h-2v-1h4z"}),h.createElement("path",{clipRule:"evenodd",d:"M20 12a9 9 0 11-9-9c2.125 0 4.078.736 5.618 1.968l1.175-1.175 1.414 1.414-1.175 1.175A8.962 8.962 0 0120 12zm-2 0a7 7 0 11-14 0 7 7 0 0114 0z",fillRule:"evenodd"})),K1=(0,g.Z)(W1,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Rp=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,F1);return h.createElement(K1,Fg(Fg({color:"gray.100"},lt),{},{sx:Fg({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const k1=Rp;var ey=["sx"];function Zv(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function pv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Zv(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Zv(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var G1=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M9.893 2l-1-2H14v2H9.893z"}),h.createElement("path",{clipRule:"evenodd",d:"M2 12c0-3.322 1.8-6.224 4.478-7.783L4.37 0h2.26L8.33 3.402h.003l.91 1.82H9.24l6.125 12.25.002-.002.91 1.82-.002.002L17.63 22h-2.26l-.856-1.712A9 9 0 012 12zm2 0a6.996 6.996 0 013.375-5.99l6.242 12.484A7 7 0 014 12z",fillRule:"evenodd"}),h.createElement("path",{d:"M11.398 5.011l-.995-1.991a8.962 8.962 0 016.215 1.949l1.175-1.176 1.414 1.414-1.175 1.175A8.962 8.962 0 0120 12c0 2.241-.82 4.29-2.174 5.866l-.996-1.99a7 7 0 00-5.432-10.864z"})),H1=(0,g.Z)(G1,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Z1=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,ey);return h.createElement(H1,pv(pv({color:"gray.100"},lt),{},{sx:pv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Am=Z1;var V1=e(439504),ty=e(515324),Wg=["sx"];function Kg(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function kg(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Kg(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Kg(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var z1=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M15 18h-2v-8h-3V8h8v2h-3v8zM4 13h2v5h2v-5h2v-2H4v2z"})),$1=(0,g.Z)(z1,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Ih=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Wg);return h.createElement($1,kg(kg({color:"gray.100"},lt),{},{sx:kg({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const X1=Ih;var Y1=e(167724),Vv=e(738972),Gg=["sx"];function bm(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function zv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?bm(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):bm(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var ny=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M13 15H9v-2h4v2z"}),h.createElement("path",{clipRule:"evenodd",d:"M11 2a3 3 0 00-3 3v3h11v12H3V8h3V5a5 5 0 019.9-1h-2.07A3.001 3.001 0 0011 2zm6 16v-8H5v8h12z",fillRule:"evenodd"})),mv=(0,g.Z)(ny,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),Q1=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,Gg);return h.createElement(mv,zv(zv({color:"gray.100"},lt),{},{sx:zv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const Hg=Q1;var J1=e(987924),q1=e(305051),e_=["sx"];function Zg(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function $v(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Zg(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Zg(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var t_=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{d:"M2 4h2v2H2V4zM6 4h2v2H6V4zM10 4h2v2h-2V4zM14 4h2v2h-2V4zM18 4h2v2h-2V4zM2 16h2v2H2v-2zM6 16h2v2H6v-2zM10 16h2v2h-2v-2zM14 16h2v2h-2v-2zM18 16h2v2h-2v-2zM2 8h2v2H2V8zM18 8h2v2h-2V8zM2 12h2v2H2v-2zM18 12h2v2h-2v-2zM9 14.3V7.7l5.5 3.3L9 14.3z"})),n_=(0,g.Z)(t_,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),r_=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,e_);return h.createElement(n_,$v($v({color:"gray.100"},lt),{},{sx:$v({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const o_=r_;var ry=e(540316),vv=e(329102),a_=["sx"];function Xv(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Yv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Xv(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Xv(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var oy=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M14 20V2h-1L5 7H0v8h5l8 5h1zm-8-6.554V8.554l6-3.75v12.392l-6-3.75zM2 9v4h2V9H2z",fillRule:"evenodd"}),h.createElement("path",{d:"M16 7a4 4 0 010 8v2a6 6 0 000-12v2z"}),h.createElement("path",{d:"M18 11a2 2 0 00-2-2v4a2 2 0 002-2z"})),s_=(0,g.Z)(oy,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),i_=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,a_);return h.createElement(s_,Yv(Yv({color:"gray.100"},lt),{},{sx:Yv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const l_=i_;var c_=["sx"];function Vg(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function Qv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Vg(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Vg(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var u_=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M14 2v18h-1l-8-5H0V7h5l8-5h1zM6 8.554v4.892l6 3.75V4.804l-6 3.75zM2 9v4h2V9H2z",fillRule:"evenodd"}),h.createElement("path",{d:"M16 9a2 2 0 110 4v2a4 4 0 000-8v2z"})),d_=(0,g.Z)(u_,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),zg=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,c_);return h.createElement(d_,Qv(Qv({color:"gray.100"},lt),{},{sx:Qv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const $g=zg;var f_=["sx"];function Jv(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function qv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Jv(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Jv(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var h_=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M14 20l1 2h2.242L6.25 0H4l2.905 5.81L5 7H0v8h5l8 5h1zM7.735 7.47L12 16v1.196l-6-3.75V8.554L7.735 7.47zM2 9v4h2V9H2z",fillRule:"evenodd"}),h.createElement("path",{d:"M10.339 3.663l.83 1.661.831-.52V6.99l2 4.003V2h-1l-2.661 1.663zM16.963 16.923L16.003 15A4 4 0 0016 7V5a6 6 0 01.963 11.923z"}),h.createElement("path",{d:"M18 11a2 2 0 00-2-2v4a2 2 0 002-2z"})),Xg=(0,g.Z)(h_,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),p_=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,f_);return h.createElement(Xg,qv(qv({color:"gray.100"},lt),{},{sx:qv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const m_=p_;var v_=["sx"];function Yg(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function eg(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Yg(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Yg(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var g_=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M14 20V2h-1L5 7H0v8h5l8 5h1zm-8-6.554V8.554l6-3.75v12.392l-6-3.75zM2 13V9h2v4H2z",fillRule:"evenodd"})),E_=(0,g.Z)(g_,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),tg=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,v_);return h.createElement(E_,eg(eg({color:"gray.100"},lt),{},{sx:eg({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const __=tg;var ay=e(351704),y_=e(423556),O_=e(880081),P_=["sx"];function Qg(Me,Ct){var ct=Object.keys(Me);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(Me);Ct&&(lt=lt.filter(function(Oa){return Object.getOwnPropertyDescriptor(Me,Oa).enumerable})),ct.push.apply(ct,lt)}return ct}function gv(Me){for(var Ct=1;Ct<arguments.length;Ct++){var ct=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?Qg(Object(ct),!0).forEach(function(lt){i()(Me,lt,ct[lt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Me,Object.getOwnPropertyDescriptors(ct)):Qg(Object(ct)).forEach(function(lt){Object.defineProperty(Me,lt,Object.getOwnPropertyDescriptor(ct,lt))})}return Me}var C_=Me=>h.createElement("svg",d()({color:Me.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},Me),h.createElement("path",{clipRule:"evenodd",d:"M12 13.354V5a3 3 0 116 0v8.354a4 4 0 11-6 0zM16 10V5a1 1 0 10-2 0v5h2zM9 4H3v2h6V4zm0 4H3v2h6V8zm-6 4h6v2H3v-2z",fillRule:"evenodd"})),A_=(0,g.Z)(C_,{shouldForwardProp:_.ZP})((0,p.Z)(y.$_,y.sx,y.iv)),b_=Me=>{var Ct=Me.sx,ct=Ct===void 0?{}:Ct,lt=u()(Me,P_);return h.createElement(A_,gv(gv({color:"gray.100"},lt),{},{sx:gv({"@media (forced-colors: active)":{color:"inherit"}},ct)}))};const sy=b_},592868:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M20 17.5a1 1 0 001-1v-1.06h-1.718l-.808-.893-.811.893h-5.171V11.28h-1.67l2.07-4.685h1.997l.713 1.605V6.594h2.471l.43 1.21.431-1.21H21V5.5a1 1 0 00-1-1H2a1 1 0 00-1 1v11a1 1 0 001 1h18zm-.454-2.58H21l-1.875-1.83L21 11.28h-1.433L18.5 12.445l-1.055-1.164h-1.304l1.715 1.82-1.715 1.818h1.268l1.07-1.175 1.066 1.175zm.305-1.829L21 14.154v-2.117l-1.149 1.054zm-5.814.986v-.566h2.053v-.822h-2.053v-.566h2.104v-.842h-3.097v3.638h3.098v-.842h-2.105zm5.83-3.324H21V7.115h-1.678l-.816 2.266-.81-2.266H16.14v3.638h.983V8.206l.935 2.547h.873l.936-2.552v2.552zm-4.843 0h1.117l-1.606-3.638h-1.278l-1.606 3.638h1.091l.302-.728h1.673l.307.728zm-.65-1.544h-.987l.493-1.19.494 1.19z",fill:"#006FCF"}),d.createElement("path",{clipRule:"evenodd",d:"M20 4.65H2a.85.85 0 00-.85.85v11c0 .47.38.85.85.85h18c.47 0 .85-.38.85-.85v-11a.85.85 0 00-.85-.85zM2 4.5a1 1 0 00-1 1v11a1 1 0 001 1h18a1 1 0 001-1v-11a1 1 0 00-1-1H2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},591988:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M4.414 13.797c0 .233.167.26.316.26.655 0 .87-.494.87-.946 0-.567-.364-.976-.95-.976-.124 0-.18.008-.236.012v1.65zm-.297-1.423c0-.273-.143-.255-.279-.258v-.078c.118.005.24.005.358.005.127 0 .3-.005.525-.005.785 0 1.213.524 1.213 1.061 0 .3-.176 1.056-1.25 1.056-.154 0-.297-.006-.44-.006-.136 0-.27.003-.406.006v-.08c.182-.018.27-.023.28-.23v-1.471zM6.365 12.302a.156.156 0 01-.149-.152c0-.076.073-.146.15-.146.078 0 .148.064.148.146a.152.152 0 01-.149.152zm-.325 1.774h.058c.085 0 .145 0 .145-.1v-.822c0-.134-.045-.152-.157-.212v-.049c.142-.043.312-.1.324-.11a.109.109 0 01.055-.014c.015 0 .021.018.021.042v1.164c0 .1.067.1.152.1h.051v.08c-.103 0-.209-.006-.318-.006-.11 0-.219.003-.33.006v-.08zM6.978 13.172c0-.112-.034-.143-.176-.2v-.058c.13-.042.254-.082.4-.145.01 0 .018.006.018.03v.197c.173-.125.322-.227.525-.227.258 0 .349.187.349.424v.782c0 .1.067.1.152.1H8.3v.08c-.106 0-.212-.006-.321-.006-.11 0-.219.003-.328.006v-.08h.055c.085 0 .145 0 .145-.1v-.785c0-.173-.106-.258-.279-.258-.097 0-.251.079-.352.146v.897c0 .1.067.1.152.1h.055v.08c-.106 0-.213-.006-.322-.006-.11 0-.218.003-.328.006v-.08h.055c.085 0 .146 0 .146-.1v-.803zM9.068 13.22c.075 0 .084-.039.084-.075 0-.155-.094-.28-.263-.28-.185 0-.313.137-.35.355h.529zm-.537.098a.722.722 0 000 .175c.018.289.203.525.446.525.166 0 .297-.09.41-.203l.042.043c-.14.184-.313.342-.561.342-.483 0-.58-.467-.58-.661 0-.595.4-.77.613-.77.246 0 .51.154.512.476 0 .018 0 .036-.002.054l-.028.019h-.852zM9.483 14.076h.082c.085 0 .145 0 .145-.1v-.853c0-.093-.111-.112-.157-.136v-.045c.221-.095.343-.173.37-.173.018 0 .027.008.027.039v.273h.007c.075-.118.203-.312.388-.312.076 0 .172.05.172.16 0 .082-.057.155-.142.155-.094 0-.094-.073-.2-.073-.052 0-.222.07-.222.252v.712c0 .1.061.1.146.1h.17v.08c-.167-.003-.294-.006-.425-.006-.124 0-.251.003-.36.006v-.08zM10.65 13.733c.04.2.162.37.383.37.18 0 .246-.11.246-.215 0-.358-.661-.243-.661-.731 0-.17.136-.388.47-.388.097 0 .227.027.346.088l.021.309h-.07c-.03-.191-.136-.3-.33-.3-.122 0-.237.07-.237.2 0 .355.704.245.704.722 0 .2-.161.412-.522.412a.798.798 0 01-.37-.103l-.034-.349.055-.015zM14.26 12.586h-.075c-.058-.354-.31-.497-.649-.497-.35 0-.856.233-.856.961 0 .613.438 1.053.904 1.053.3 0 .55-.206.61-.525l.07.018-.07.444c-.127.079-.47.16-.67.16-.71 0-1.159-.458-1.159-1.14 0-.622.555-1.068 1.15-1.068.245 0 .482.079.715.16l.03.434zM14.37 14.076h.058c.085 0 .145 0 .145-.1v-1.69c0-.197-.045-.203-.16-.236V12c.12-.04.248-.094.312-.13.033-.019.058-.034.067-.034.018 0 .024.018.024.043v2.095c0 .1.067.1.152.1h.051v.08c-.102 0-.209-.006-.318-.006-.11 0-.218.003-.331.006v-.08zM16.318 13.988c0 .055.033.057.085.057l.121-.002v.064c-.13.011-.38.075-.437.093l-.015-.009v-.245c-.182.148-.322.254-.538.254-.163 0-.333-.106-.333-.36v-.777c0-.08-.012-.155-.181-.17v-.058c.109-.003.35-.02.39-.02.034 0 .034.02.034.087v.782c0 .091 0 .352.264.352.103 0 .24-.079.367-.184v-.817c0-.06-.146-.093-.255-.124v-.055c.273-.018.443-.042.473-.042.025 0 .025.021.025.055v1.119zM16.921 13.812c0 .115.11.31.313.31.324 0 .461-.32.461-.59 0-.327-.249-.6-.485-.6-.113 0-.207.073-.289.143v.737zm0-.825c.121-.103.285-.218.452-.218.352 0 .564.306.564.636 0 .398-.29.795-.725.795-.224 0-.342-.072-.421-.106l-.091.07-.064-.034c.027-.178.042-.355.042-.54v-1.303c0-.198-.045-.204-.16-.237V12a1.87 1.87 0 00.312-.13c.033-.019.058-.034.067-.034.018 0 .024.018.024.043v1.107zM3.835 15.918h.023c.06 0 .122-.007.122-.094v-.864c0-.086-.063-.094-.122-.094h-.023v-.05c.064 0 .163.006.244.006.083 0 .182-.006.259-.006v.05h-.023c-.06 0-.122.008-.122.094v.864c0 .087.063.094.122.094h.023v.05c-.08 0-.178-.006-.26-.006-.082 0-.179.006-.243.006v-.05z",fill:"#211D1D"}),d.createElement("path",{d:"M4.331 15.96v-.034h-.016c-.059 0-.13-.01-.13-.102v-.864c0-.092.071-.102.13-.102h.016v-.035c-.076 0-.172.007-.252.007-.078 0-.173-.007-.237-.007v.035h.016c.059 0 .129.01.129.102v.864c0 .091-.07.102-.13.102h-.015v.035c.064-.001.157-.007.235-.007.08 0 .176.006.254.007zm.007.015c-.08 0-.179-.006-.26-.006-.081 0-.178.006-.243.006h-.007v-.063h.03c.06-.002.114-.007.115-.088v-.864c0-.081-.055-.087-.115-.088h-.03v-.063h.007c.065 0 .163.006.244.006.082 0 .181-.006.26-.006h.006v.063h-.03c-.06.002-.115.007-.115.088v.864c0 .081.055.086.115.088h.03v.063h-.007zM5.472 15.643l.003-.003v-.62c0-.135-.094-.154-.143-.154h-.037v-.05c.078 0 .154.006.232.006.067 0 .135-.006.202-.006v.05h-.024c-.07 0-.147.013-.147.209v.751c0 .058.002.116.01.167h-.063l-.85-.947v.68c0 .143.028.192.155.192h.028v.05c-.07 0-.142-.007-.213-.007-.074 0-.15.007-.224.007v-.05h.023c.114 0 .149-.077.149-.21v-.694a.148.148 0 00-.15-.148H4.4v-.05c.062 0 .127.006.19.006.049 0 .097-.006.146-.006l.735.827z",fill:"#211D1D"}),d.createElement("path",{d:"M5.505 15.986h.055a1.107 1.107 0 01-.01-.16v-.751c0-.198.084-.217.155-.217h.017v-.035c-.065 0-.13.007-.195.007-.076 0-.15-.007-.224-.007v.035h.028c.051 0 .151.023.151.163l-.002.624-.003.003-.006.005-.734-.83c-.049 0-.097.007-.147.007-.06 0-.122-.007-.182-.007v.035h.014c.078 0 .158.06.158.156v.695c0 .132-.037.216-.156.217h-.016v.035c.071 0 .145-.007.217-.007.07 0 .138.006.206.007v-.035H4.81c-.13 0-.162-.057-.162-.2v-.7l.857.96zm.063.014l-.068-.002-.838-.934v.661c.002.144.024.185.148.187h.035v.063h-.007c-.071 0-.142-.006-.213-.006-.074 0-.15.006-.224.006h-.008v-.063h.03c.11-.001.141-.071.143-.203v-.695a.142.142 0 00-.144-.141h-.029v-.064h.008c.063 0 .127.006.19.006.048 0 .096-.006.152-.004l.725.817v-.607c0-.132-.088-.147-.137-.149h-.043v-.063h.007c.078 0 .154.006.232.006.066 0 .134-.006.202-.006h.008v.064h-.032c-.069.002-.138.008-.14.202v.751c0 .058.002.115.01.166V16h-.007zM5.976 14.898c-.123 0-.128.03-.153.15h-.05c.007-.046.015-.092.02-.14.007-.046.01-.092.01-.14h.04c.013.05.055.048.1.048h.85c.045 0 .087-.002.09-.051l.04.007-.019.133c-.003.044-.003.09-.003.134l-.05.018c-.002-.061-.011-.159-.121-.159h-.271v.879c0 .127.058.141.137.141h.031v.05c-.064 0-.18-.007-.269-.007-.099 0-.215.007-.279.007v-.05h.031c.091 0 .137-.008.137-.138v-.882h-.27z",fill:"#211D1D"}),d.createElement("path",{d:"M6.627 15.975c-.065 0-.18-.006-.269-.006-.099 0-.214.006-.28.006h-.006v-.064h.039c.09-.002.127-.003.129-.13v-.876h-.264v-.014h.279v.89c0 .131-.054.145-.144.145h-.025v.035c.065 0 .176-.007.272-.007.086 0 .196.006.262.007v-.035h-.024c-.08 0-.145-.02-.145-.15v-.885h.278c.111 0 .126.095.13.156l.035-.013c0-.043 0-.086.003-.13l.017-.127-.025-.004c-.008.048-.054.05-.095.05h-.86c-.04 0-.081-.002-.096-.048H5.81c0 .046-.003.09-.01.134-.004.045-.011.09-.018.132h.036c.022-.114.036-.152.158-.15v.014c-.121.003-.119.023-.146.145v.006h-.065l.001-.009c.007-.046.016-.092.02-.14a.98.98 0 00.01-.139v-.007h.053v.005c.012.042.043.042.085.043h.86c.045-.001.08-.002.082-.045v-.007l.008.001.046.007v.007a3.465 3.465 0 00-.018.133c-.004.045-.004.09-.004.134v.005l-.004.002-.059.021v-.01c-.005-.062-.011-.152-.116-.152h-.263v.872c.002.124.051.133.13.134h.038v.064h-.007zM6.975 15.918h.023c.06 0 .122-.007.122-.094v-.864c0-.086-.062-.094-.122-.094h-.023v-.05c.1 0 .273.006.411.006.139 0 .31-.006.422-.006-.002.07 0 .18.004.252l-.05.014c-.008-.107-.027-.193-.2-.193h-.23v.432h.196c.1 0 .12-.056.13-.145h.05a4.062 4.062 0 000 .381l-.05.01c-.01-.1-.014-.164-.128-.164h-.198v.385c0 .107.096.107.201.107.198 0 .286-.013.335-.2l.046.01a3.758 3.758 0 00-.056.263c-.105 0-.295-.006-.444-.006-.148 0-.345.006-.439.006v-.05z",fill:"#211D1D"}),d.createElement("path",{d:"M7.852 15.96c.014-.083.033-.166.054-.249l-.033-.008c-.05.185-.145.2-.34.2-.104 0-.208 0-.209-.115v-.392h.206c.115-.001.126.069.135.163l.035-.008a3.872 3.872 0 010-.368h-.035c-.01.086-.036.146-.137.145h-.204v-.447h.237c.172 0 .2.088.208.191l.035-.01a2.899 2.899 0 01-.003-.239c-.112 0-.28.007-.415.007-.135 0-.303-.006-.404-.007v.035h.016c.06 0 .13.01.13.102v.864c0 .091-.07.101-.13.102h-.016v.035c.096 0 .287-.007.432-.007.146 0 .332.006.438.007zm.006.015c-.106 0-.295-.007-.444-.007-.148 0-.344.007-.439.007h-.007v-.063h.03c.06-.002.115-.007.115-.088v-.864c0-.08-.055-.086-.115-.088h-.03v-.063h.007c.1 0 .273.006.411.006.139 0 .31-.006.422-.006h.008v.007a2.738 2.738 0 00.003.252v.006l-.005.002-.059.015v-.009c-.01-.107-.024-.185-.194-.186H7.34v.418h.189c.095-.001.112-.05.123-.139l.001-.006h.063v.007a3.597 3.597 0 000 .381v.006l-.006.001-.057.011v-.007c-.012-.1-.013-.156-.122-.157h-.191v.377c0 .1.086.1.194.1.199 0 .278-.01.328-.196l.002-.007.007.002.053.013-.002.007a3.753 3.753 0 00-.056.262v.006h-.007zM8.349 15.374h.08c.165 0 .254-.063.254-.258 0-.146-.094-.24-.24-.24-.05 0-.072.005-.094.006v.492zm-.212-.383c0-.12-.066-.125-.117-.125h-.03v-.05c.053 0 .155.006.256.006.099 0 .178-.006.266-.006.207 0 .392.056.392.29 0 .149-.098.24-.229.291l.283.422c.046.07.078.09.16.1v.049c-.055 0-.108-.007-.162-.007-.052 0-.104.007-.156.007a4.584 4.584 0 01-.343-.535H8.35v.353c0 .128.059.132.134.132h.03v.05c-.094 0-.19-.007-.284-.007-.079 0-.156.007-.239.007v-.05h.03c.06 0 .117-.027.117-.089v-.838z",fill:"#211D1D"}),d.createElement("path",{d:"M8.43 15.367c.162-.002.245-.059.246-.25 0-.145-.09-.234-.234-.235-.044 0-.065.004-.086.007v.478h.073zm-.089.014v-.506h.006c.023-.002.045-.007.095-.007.15 0 .248.098.249.248-.001.197-.096.265-.262.265h-.088zm.12.045l.002.004c.107.19.216.368.337.53.05 0 .104-.006.155-.006.053 0 .104.006.155.007v-.037c-.077-.009-.113-.032-.158-.1l-.288-.43.008-.004c.13-.05.225-.139.225-.284 0-.229-.178-.282-.385-.283-.087 0-.167.007-.266.007-.097 0-.195-.007-.249-.007v.035h.023c.051 0 .124.009.124.133v.838c0 .067-.062.097-.124.097h-.023v.035c.08 0 .155-.007.232-.007.093 0 .186.006.277.007v-.035h-.022c-.076 0-.143-.01-.143-.14v-.36h.12zm.656.549c-.055 0-.107-.006-.162-.006-.05 0-.103.006-.16.004a4.682 4.682 0 01-.342-.533h-.097v.346c.001.125.051.123.128.126h.036v.063h-.007c-.094 0-.19-.006-.284-.006-.079 0-.156.006-.24.006h-.006v-.063h.037c.06-.001.11-.027.11-.083v-.838c-.001-.117-.059-.117-.11-.119h-.037v-.063h.007c.054 0 .155.006.256.006.098 0 .178-.006.266-.006.208 0 .4.058.4.297 0 .15-.099.242-.226.294l.277.415c.046.069.075.086.155.097h.006v.063h-.007zM10.238 15.643l.003-.003v-.62c0-.135-.094-.154-.143-.154h-.037v-.05c.078 0 .153.006.231.006.068 0 .136-.006.204-.006v.05h-.025c-.07 0-.147.013-.147.209v.751c0 .058.001.116.01.167h-.063l-.85-.947v.68c0 .143.028.192.155.192h.029v.05c-.072 0-.143-.007-.214-.007-.074 0-.15.007-.224.007v-.05h.023c.114 0 .148-.077.148-.21v-.694a.148.148 0 00-.15-.148h-.021v-.05c.062 0 .127.006.19.006.049 0 .097-.006.146-.006l.735.827z",fill:"#211D1D"}),d.createElement("path",{d:"M10.271 15.986h.054a1.185 1.185 0 01-.008-.16v-.751c0-.198.083-.216.154-.217h.017v-.035c-.065 0-.13.007-.195.007-.076 0-.15-.007-.224-.007v.035h.029c.05 0 .15.023.15.163l-.002.624-.003.003-.005.005-.735-.83c-.049 0-.097.007-.146.007-.062 0-.123-.007-.183-.007v.035h.014c.078 0 .157.06.157.156v.695c0 .132-.037.216-.156.217h-.015v.035c.071 0 .145-.007.217-.007.07 0 .138.006.206.007v-.035h-.02c-.13 0-.163-.057-.164-.2v-.7l.858.96zm.062.014l-.067-.002-.838-.934v.661c.002.144.024.185.148.187h.035v.063h-.007c-.071 0-.142-.007-.213-.007-.074 0-.15.007-.224.007h-.008v-.063h.03c.11-.001.141-.071.142-.203v-.695a.141.141 0 00-.143-.141H9.16v-.064h.008c.063 0 .127.006.19.006.048 0 .096-.006.151-.004l.726.817v-.607c0-.132-.088-.148-.136-.149h-.044v-.063h.007c.078 0 .154.006.232.006.067 0 .134-.006.202-.006h.008v.064h-.032c-.068.001-.138.008-.14.202v.751c0 .058.001.115.01.166V16h-.008zM11.002 15H11l-.154.468h.309L11.002 15zm-.24.732c-.018.056-.038.1-.038.129 0 .05.07.057.124.057h.019v.05a3.296 3.296 0 00-.378 0v-.05h.01c.064 0 .118-.038.143-.107l.264-.757c.021-.061.052-.144.061-.205a.833.833 0 00.15-.071l.014-.003.011.005.015.041.304.863c.02.058.04.12.06.169.02.046.055.065.11.065h.01v.05a5.16 5.16 0 00-.475 0v-.05h.018c.038 0 .102-.006.102-.047a.511.511 0 00-.034-.12l-.064-.19h-.374l-.053.171z",fill:"#211D1D"}),d.createElement("path",{d:"M10.855 15.46h.289L11 15.019l-.145.443zm-.02.015l.158-.481h.014l.157.481h-.33zm.337.485c.082-.002.162-.006.24-.006.078 0 .15.004.221.006v-.034h-.002c-.056 0-.095-.022-.116-.07-.021-.05-.042-.112-.06-.17l-.305-.863-.014-.04-.002-.001h-.003l-.01.002a.624.624 0 01-.147.066c-.01.063-.04.145-.061.206l-.264.758a.157.157 0 01-.15.112h-.003v.034c.056-.002.114-.006.17-.006.065 0 .13.004.193.006v-.034h-.01c-.055 0-.13-.007-.131-.065 0-.033.02-.075.036-.131l.055-.177h.384l.066.196a.493.493 0 01.034.122c-.003.05-.072.054-.11.055h-.01v.034zm.468.015c-.074-.003-.148-.007-.227-.007-.08 0-.163.004-.247.007h-.008v-.064h.026c.038 0 .094-.008.094-.04a.505.505 0 00-.032-.117l-.063-.186h-.364l-.052.166c-.016.057-.036.1-.036.127 0 .04.063.05.117.05h.026v.065h-.008c-.066-.004-.133-.008-.2-.008-.059 0-.118.004-.177.007h-.007v-.064h.016c.062 0 .113-.035.137-.102l.264-.758c.022-.06.052-.143.066-.209a.905.905 0 00.15-.07l.016-.005.018.01.015.042.304.863c.02.058.039.119.06.167.02.044.05.062.103.062h.017v.065h-.008zM11.713 14.898c-.124 0-.128.03-.153.15h-.05c.007-.046.015-.092.02-.14a.968.968 0 00.01-.14h.04c.013.05.054.048.099.048h.851c.045 0 .086-.002.09-.051l.039.007a6.917 6.917 0 00-.018.133c-.004.044-.004.09-.004.134l-.05.018c-.002-.061-.01-.159-.121-.159h-.27v.879c0 .127.057.141.136.141h.031v.05c-.064 0-.18-.007-.269-.007-.098 0-.214.007-.279.007v-.05h.032c.091 0 .137-.008.137-.138v-.882h-.27z",fill:"#211D1D"}),d.createElement("path",{d:"M12.363 15.975c-.064 0-.18-.006-.268-.006-.1 0-.215.006-.28.006h-.007v-.064h.039c.09-.002.127-.003.13-.13v-.876h-.264v-.014h.278v.89c0 .131-.053.144-.144.145h-.024v.035c.065 0 .176-.007.271-.007.087 0 .197.006.262.007v-.035h-.024c-.08 0-.144-.02-.144-.15v-.885h.278c.11 0 .125.095.128.156l.036-.013c0-.043 0-.086.004-.13.004-.042.01-.084.017-.126l-.025-.005c-.008.048-.054.05-.096.05h-.86c-.039 0-.08-.002-.096-.048h-.027c0 .046-.003.09-.01.134-.005.046-.013.09-.019.132h.036c.022-.114.036-.152.16-.15v.014c-.123.003-.12.023-.147.145l-.002.006h-.063v-.009c.007-.046.016-.092.02-.14a.966.966 0 00.01-.139v-.007h.053l.001.005c.012.042.042.042.084.043h.86c.046-.001.08-.002.082-.045v-.007l.008.001.047.007-.001.007a2.81 2.81 0 00-.018.133c-.003.045-.003.09-.003.134v.005l-.005.002-.059.021v-.01c-.004-.062-.01-.152-.115-.152h-.264v.872c.002.124.051.133.13.134h.039v.064h-.008zM12.72 15.918h.023c.06 0 .122-.007.122-.094v-.864c0-.086-.062-.094-.122-.094h-.023v-.05c.064 0 .163.006.244.006.082 0 .181-.006.26-.006v.05H13.2c-.06 0-.122.008-.122.094v.864c0 .087.062.094.122.094h.023v.05c-.08 0-.178-.006-.26-.006-.082 0-.179.006-.243.006v-.05z",fill:"#211D1D"}),d.createElement("path",{d:"M13.216 15.96v-.034H13.2c-.059 0-.13-.01-.13-.102v-.864c0-.092.071-.102.13-.102h.016v-.035c-.076 0-.172.007-.252.007-.079 0-.173-.006-.237-.007v.035h.016c.058 0 .129.01.129.102v.864c0 .091-.07.102-.13.102h-.015v.035c.064-.001.157-.007.235-.007.08 0 .176.006.254.007zm.007.015c-.08 0-.178-.007-.26-.007-.081 0-.179.007-.243.007h-.007v-.063h.03c.06-.002.114-.007.114-.088v-.864c0-.08-.054-.086-.114-.088h-.03v-.063h.007c.064 0 .163.006.244.006.082 0 .181-.006.26-.006h.006v.063h-.03c-.06.002-.114.007-.115.088v.864c0 .081.055.087.115.088h.03v.063h-.007zM13.906 15.92c.32 0 .376-.282.376-.523 0-.241-.13-.533-.404-.533-.289 0-.374.257-.374.478 0 .296.135.578.402.578zm-.024-1.129c.351 0 .632.218.632.57 0 .38-.272.632-.624.632-.35 0-.617-.238-.617-.593a.6.6 0 01.609-.609z",fill:"#211D1D"}),d.createElement("path",{d:"M13.496 15.342c0-.222.088-.486.382-.486.28.001.411.299.412.541 0 .24-.057.53-.384.53v-.014c.314 0 .369-.275.37-.516 0-.24-.13-.526-.398-.526-.283 0-.367.252-.367.471 0 .294.134.57.395.571v.014c-.274 0-.41-.288-.41-.585zm-.23.058a.61.61 0 01.615-.616v.014a.593.593 0 00-.602.602c0 .351.264.585.61.585a.599.599 0 00.618-.624c0-.348-.277-.562-.626-.563v-.014c.355 0 .639.22.64.576a.613.613 0 01-.631.64c-.353 0-.624-.241-.625-.6zM15.626 15.643l.004-.003v-.62c0-.135-.095-.154-.145-.154h-.035v-.05c.077 0 .153.006.23.006.069 0 .136-.006.204-.006v.05h-.025c-.07 0-.147.013-.147.209v.751c0 .058.002.116.01.167h-.063l-.85-.947v.68c0 .143.028.192.155.192h.028v.05c-.07 0-.141-.007-.213-.007-.074 0-.15.007-.224.007v-.05h.023c.114 0 .148-.077.148-.21v-.694a.147.147 0 00-.15-.148h-.021v-.05c.063 0 .127.006.19.006.049 0 .097-.006.146-.006l.735.827z",fill:"#211D1D"}),d.createElement("path",{d:"M15.659 15.986h.054a1.138 1.138 0 01-.008-.16v-.751c0-.198.083-.216.154-.217h.018v-.035c-.066 0-.131.007-.197.007-.075 0-.149-.007-.223-.007v.035h.028c.052 0 .151.023.151.163l-.002.624-.003.003-.005.005-.735-.83c-.048 0-.097.007-.146.007-.061 0-.124-.007-.183-.007v.035h.014c.078 0 .157.06.157.156v.695c0 .132-.036.216-.155.217h-.016v.035c.071 0 .145-.007.217-.007.07 0 .138.006.206.007v-.035h-.021c-.13 0-.162-.057-.162-.2v-.7l.857.96zm.063.014l-.069-.002-.837-.934v.661c.002.144.024.185.148.186H15v.064h-.008c-.071 0-.142-.006-.213-.006-.074 0-.15.006-.224.006h-.007v-.064h.03c.109 0 .14-.07.141-.202v-.695a.14.14 0 00-.143-.141h-.028v-.064h.007c.063 0 .127.006.19.006.048 0 .096-.006.152-.004l.725.817v-.607c0-.132-.088-.147-.137-.149h-.043v-.063h.008c.077 0 .154.006.23.006.068 0 .135-.006.204-.006h.007v.064h-.032c-.068.002-.138.008-.14.202v.751c0 .058.002.115.01.166V16h-.007zM16.39 15h-.003l-.154.468h.31L16.39 15zm-.241.732c-.016.056-.036.1-.036.129 0 .05.07.057.123.057h.019v.05a3.275 3.275 0 00-.378 0v-.05h.009a.15.15 0 00.144-.107l.264-.757c.022-.061.051-.144.061-.205a.832.832 0 00.15-.071l.014-.003.011.005.015.041.304.863c.02.058.04.12.061.169.02.046.055.065.109.065h.01v.05a5.191 5.191 0 00-.476 0v-.05h.019c.037 0 .102-.006.102-.047a.533.533 0 00-.033-.12l-.064-.19h-.375l-.053.171z",fill:"#211D1D"}),d.createElement("path",{d:"M16.243 15.46h.289l-.144-.441-.145.441zm-.02.015l.159-.481h.013l.156.48h-.328zm.338.485c.08-.002.162-.006.24-.006.077 0 .149.004.22.006v-.034h-.002c-.056 0-.095-.022-.116-.07-.022-.05-.041-.112-.061-.17l-.303-.863-.015-.04-.002-.001h-.003l-.01.002a.624.624 0 01-.147.066c-.01.063-.04.145-.061.206l-.264.758a.157.157 0 01-.15.112h-.004v.034c.058-.002.115-.006.172-.006.064 0 .129.004.193.006v-.034h-.012c-.053 0-.128-.007-.13-.065 0-.033.02-.075.036-.131l.055-.177h.385l.066.196a.499.499 0 01.033.122c-.003.05-.072.054-.11.055h-.01v.034zm.467.015c-.074-.003-.148-.006-.227-.006-.08 0-.163.003-.247.006h-.008v-.063h.025c.039 0 .096-.01.096-.041a.511.511 0 00-.033-.117l-.063-.186h-.364l-.051.166c-.017.057-.037.1-.036.127 0 .04.062.05.116.05h.026v.065h-.008c-.066-.004-.134-.008-.199-.008-.06 0-.118.004-.178.007h-.007v-.063h.016c.062-.001.113-.037.137-.103l.265-.758c.02-.06.05-.143.065-.209a.88.88 0 00.15-.07l.016-.005.018.01.015.042.304.863c.02.058.04.119.06.168.02.043.05.06.103.062h.017v.064h-.008zM17.445 15.806c0 .066.046.086.099.093.067.005.142.005.218-.003a.236.236 0 00.158-.09.392.392 0 00.051-.119h.048c-.018.094-.041.187-.061.281-.145 0-.29-.007-.436-.007-.145 0-.29.007-.436.007v-.05h.023c.06 0 .124-.008.124-.11v-.848c0-.087-.064-.094-.124-.094h-.023v-.05c.088 0 .174.006.261.006.084 0 .167-.006.251-.006v.05h-.041c-.063 0-.112.001-.112.089v.851z",fill:"#211D1D"}),d.createElement("path",{d:"M17.952 15.96c.02-.089.04-.177.058-.266h-.034a.357.357 0 01-.05.116.243.243 0 01-.164.092 1.181 1.181 0 01-.22.004c-.053-.006-.105-.03-.105-.1v-.851c0-.092.058-.097.12-.097h.034v-.035c-.081 0-.162.007-.244.007-.086 0-.17-.006-.254-.007v.035h.016c.06 0 .131.01.131.101v.849c0 .107-.072.118-.13.118h-.017v.035c.143 0 .286-.007.43-.007.143 0 .286.006.429.007zm.006.015c-.146 0-.29-.006-.435-.006-.146 0-.291.006-.437.006h-.007v-.063h.03c.06-.002.117-.006.117-.104v-.849c0-.08-.056-.085-.117-.087h-.03v-.063h.007c.088 0 .174.006.261.006.084 0 .166-.006.251-.006h.007v.063h-.048c-.064.002-.104 0-.106.083v.851c.001.062.041.078.093.086a1.318 1.318 0 00.217-.004.232.232 0 00.153-.086.367.367 0 00.05-.116l.001-.006h.063l-.002.009c-.018.094-.041.187-.061.28l-.002.006h-.005zM17.971 14.943h.02c.023 0 .033-.017.033-.044 0-.028-.016-.037-.034-.037h-.019v.081zm-.059.092v-.009c.021-.002.026-.002.026-.015v-.129c0-.018-.002-.024-.025-.023v-.01h.09c.03 0 .058.016.058.047 0 .026-.017.045-.041.052l.028.04a.194.194 0 00.039.042v.005h-.034c-.017 0-.03-.034-.063-.08h-.019v.058c0 .011.004.01.025.013v.01h-.084zm.087.05a.14.14 0 00.137-.142.14.14 0 00-.137-.141.14.14 0 00-.138.141c0 .075.06.141.138.141zm0-.316c.1 0 .173.077.173.174a.17.17 0 01-.173.174.17.17 0 01-.174-.174c0-.097.075-.174.174-.174z",fill:"#211D1D"}),d.createElement("path",{d:"M7.695 8.945a2.795 2.795 0 115.59 0 2.795 2.795 0 01-5.59 0z",fill:"#fff"}),d.createElement("path",{d:"M12.181 8.89a1.682 1.682 0 00-1.08-1.568v3.137a1.682 1.682 0 001.08-1.569zM9.9 10.458V7.322A1.684 1.684 0 008.821 8.89a1.682 1.682 0 001.078 1.568zm.602-4.218a2.65 2.65 0 100 5.301 2.65 2.65 0 000-5.301zm-.007 5.551c-1.602.008-2.92-1.29-2.92-2.87C7.574 7.194 8.892 6 10.494 6h.751c1.583 0 3.028 1.193 3.028 2.92 0 1.58-1.445 2.871-3.028 2.871h-.75z",fill:"#254D98"}),d.createElement("path",{clipRule:"evenodd",d:"M20 4.65H2a.85.85 0 00-.85.85v11c0 .47.38.85.85.85h18c.47 0 .85-.38.85-.85v-11a.85.85 0 00-.85-.85zM2 4.5a1 1 0 00-1 1v11a1 1 0 001 1h18a1 1 0 001-1v-11a1 1 0 00-1-1H2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},368255:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M2.37 9.644v2.719h.774c.412 0 .71-.098.97-.315.31-.256.494-.643.494-1.043 0-.802-.599-1.36-1.459-1.36h-.78zm1.397 2.042c-.166.15-.383.215-.725.215H2.9v-1.797h.142c.342 0 .55.062.725.22a.915.915 0 01.294.678.93.93 0 01-.294.685v-.001zM5.38 9.644h-.53v2.719h.53V9.644zM6.677 10.687c-.318-.118-.412-.195-.412-.342 0-.17.165-.3.395-.3.159 0 .289.064.427.22l.277-.363c-.227-.2-.501-.3-.798-.3-.48 0-.849.333-.849.777 0 .375.171.566.669.746.207.073.313.121.366.155a.325.325 0 01.159.28c0 .221-.174.384-.412.384a.625.625 0 01-.578-.363l-.342.33c.244.36.537.518.94.518.55 0 .937-.366.937-.892 0-.433-.18-.628-.781-.848l.002-.002zM7.626 11.005c0 .799.627 1.418 1.434 1.418.228 0 .424-.045.665-.158v-.624c-.212.212-.4.298-.64.298-.533 0-.912-.387-.912-.937 0-.522.391-.934.889-.934.253 0 .444.09.665.306V9.75a1.429 1.429 0 00-2.098 1.255h-.003zM13.928 11.469l-.725-1.825h-.578l1.153 2.787h.285l1.175-2.787h-.575l-.735 1.825zM15.477 12.361h1.503v-.46h-.973v-.733h.937v-.46h-.937v-.604h.973v-.46h-1.503v2.717zM19.08 10.446c0-.51-.35-.802-.963-.802h-.786v2.719h.53V11.27h.07l.733 1.093h.652l-.857-1.146c.4-.08.62-.354.62-.771zm-1.064.45h-.155v-.823h.162c.33 0 .51.139.51.404s-.18.42-.518.42l.001-.001zM19.502 9.786c0-.048-.032-.074-.09-.074h-.077v.24h.056V9.86l.067.092h.07l-.079-.1a.066.066 0 00.053-.066zm-.1.032h-.011v-.063h.01c.03 0 .043.01.043.031 0 .02-.015.032-.043.032z",fill:"#261F20"}),d.createElement("path",{d:"M19.424 9.622a.208.208 0 100 .417.208.208 0 00.206-.209.208.208 0 00-.206-.208zm-.002.381a.168.168 0 01-.166-.17c0-.095.073-.172.166-.172a.17.17 0 01.166.171.17.17 0 01-.166.171z",fill:"#261F20"}),d.createElement("path",{d:"M12.776 11a1.44 1.44 0 11-2.88 0 1.44 1.44 0 012.88 0z",fill:"url(#prefix__paint0_linear_177_360)"}),d.createElement("path",{clipRule:"evenodd",d:"M20 4.65H2a.85.85 0 00-.85.85v11c0 .47.38.85.85.85h18c.47 0 .85-.38.85-.85v-11a.85.85 0 00-.85-.85zM2 4.5a1 1 0 00-1 1v11a1 1 0 001 1h18a1 1 0 001-1v-11a1 1 0 00-1-1H2z",fillRule:"evenodd"}),d.createElement("defs",null,d.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"prefix__paint0_linear_177_360",x1:16.119,x2:12.605,y1:16.203,y2:7.746},d.createElement("stop",{stopColor:"#FF9200"}),d.createElement("stop",{offset:.21,stopColor:"#FF8D00"}),d.createElement("stop",{offset:.45,stopColor:"#FF7F00"}),d.createElement("stop",{offset:.62,stopColor:"#FF7100"}),d.createElement("stop",{offset:.82,stopColor:"#FF5E00"}),d.createElement("stop",{offset:1,stopColor:"#FF5200"})))),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},321742:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M18 14.215a2.178 2.178 0 01-2.178 2.178H4V7.785c0-1.203.975-2.178 2.178-2.178H18v8.608z",fill:"#fff"}),d.createElement("path",{d:"M14.146 12.01h.9a.403.403 0 00.424-.41.404.404 0 00-.424-.41h-.9v.82z",fill:s.color}),d.createElement("path",{d:"M14.146 12.01h.9a.403.403 0 00.424-.41.404.404 0 00-.424-.41h-.9v.82z",fill:"url(#prefix__paint0_linear_177_362)"}),d.createElement("path",{d:"M14.94 6.333c-.858 0-1.555.697-1.555 1.556v1.615h2.201c.051 0 .114.004.153.006.498.025.865.28.865.725 0 .35-.251.647-.708.715v.017c.505.035.891.313.891.75 0 .474-.424.778-.99.778h-2.412v3.172h2.282c.859 0 1.555-.697 1.555-1.556V6.333h-2.281z",fill:s.color}),d.createElement("path",{d:"M14.94 6.333c-.858 0-1.555.697-1.555 1.556v1.615h2.201c.051 0 .114.004.153.006.498.025.865.28.865.725 0 .35-.251.647-.708.715v.017c.505.035.891.313.891.75 0 .474-.424.778-.99.778h-2.412v3.172h2.282c.859 0 1.555-.697 1.555-1.556V6.333h-2.281z",fill:"url(#prefix__paint1_linear_177_362)"}),d.createElement("path",{d:"M15.364 10.348a.37.37 0 00-.314-.372.696.696 0 00-.088-.007h-.816v.757h.816c.03 0 .072-.004.088-.007a.369.369 0 00.313-.371z",fill:s.color}),d.createElement("path",{d:"M15.364 10.348a.37.37 0 00-.314-.372.696.696 0 00-.088-.007h-.816v.757h.816c.03 0 .072-.004.088-.007a.369.369 0 00.313-.371z",fill:"url(#prefix__paint2_linear_177_362)"}),d.createElement("path",{d:"M6.333 6.333c-.859 0-1.555.697-1.555 1.556v3.841c.436.212.887.35 1.346.35.537 0 .833-.329.833-.77V9.504h1.338v1.804c0 .706-.434 1.272-1.92 1.272-.895 0-1.597-.193-1.597-.193v3.279h2.281c.86 0 1.556-.697 1.556-1.556V6.333H6.333z",fill:s.color}),d.createElement("path",{d:"M6.333 6.333c-.859 0-1.555.697-1.555 1.556v3.841c.436.212.887.35 1.346.35.537 0 .833-.329.833-.77V9.504h1.338v1.804c0 .706-.434 1.272-1.92 1.272-.895 0-1.597-.193-1.597-.193v3.279h2.281c.86 0 1.556-.697 1.556-1.556V6.333H6.333z",fill:"url(#prefix__paint3_linear_177_362)"}),d.createElement("path",{d:"M10.637 6.333c-.859 0-1.555.697-1.555 1.556v2.036c.394-.338 1.075-.549 2.183-.5a7.069 7.069 0 011.22.186v.659a3.04 3.04 0 00-1.177-.344c-.84-.064-1.346.347-1.346 1.074 0 .727.505 1.137 1.346 1.074a3.078 3.078 0 001.178-.344v.659s-.629.158-1.221.185c-1.108.05-1.79-.161-2.183-.5v3.593h2.281c.86 0 1.556-.697 1.556-1.556V6.333h-2.282z",fill:s.color}),d.createElement("path",{d:"M10.637 6.333c-.859 0-1.555.697-1.555 1.556v2.036c.394-.338 1.075-.549 2.183-.5a7.069 7.069 0 011.22.186v.659a3.04 3.04 0 00-1.177-.344c-.84-.064-1.346.347-1.346 1.074 0 .727.505 1.137 1.346 1.074a3.078 3.078 0 001.178-.344v.659s-.629.158-1.221.185c-1.108.05-1.79-.161-2.183-.5v3.593h2.281c.86 0 1.556-.697 1.556-1.556V6.333h-2.282z",fill:"url(#prefix__paint4_linear_177_362)"}),d.createElement("path",{clipRule:"evenodd",d:"M20 4.65H2a.85.85 0 00-.85.85v11c0 .47.38.85.85.85h18c.47 0 .85-.38.85-.85v-11a.85.85 0 00-.85-.85zM2 4.5a1 1 0 00-1 1v11a1 1 0 001 1h18a1 1 0 001-1v-11a1 1 0 00-1-1H2z",fillRule:"evenodd"}),d.createElement("defs",null,d.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"prefix__paint0_linear_177_362",x1:-10.481,x2:47.604,y1:11,y2:11},d.createElement("stop",{stopColor:"#137F48"}),d.createElement("stop",{offset:1,stopColor:"#5AC134"})),d.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"prefix__paint1_linear_177_362",x1:1,x2:21.052,y1:11,y2:11},d.createElement("stop",{stopColor:"#137F48"}),d.createElement("stop",{offset:1,stopColor:"#5AC134"})),d.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"prefix__paint2_linear_177_362",x1:-11.488,x2:51.681,y1:11,y2:11},d.createElement("stop",{stopColor:"#137F48"}),d.createElement("stop",{offset:1,stopColor:"#5AC134"})),d.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"prefix__paint3_linear_177_362",x1:.974,x2:21.336,y1:11,y2:11},d.createElement("stop",{stopColor:"#303377"}),d.createElement("stop",{offset:1,stopColor:"#1576C5"})),d.createElement("linearGradient",{gradientUnits:"userSpaceOnUse",id:"prefix__paint4_linear_177_362",x1:8.226,x2:13.646,y1:11,y2:11},d.createElement("stop",{stopColor:"#6D2E33"}),d.createElement("stop",{offset:1,stopColor:"#ED1443"})))),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},281181:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M12.91 7.57H9.094v6.858h3.816V7.57z",fill:"#FF5F00"}),d.createElement("path",{d:"M9.336 10.999c0-1.333.618-2.605 1.66-3.429a4.361 4.361 0 00-6.13.74 4.36 4.36 0 00.75 6.118 4.35 4.35 0 005.392 0 4.363 4.363 0 01-1.672-3.429z",fill:"#EB001B"}),d.createElement("path",{d:"M18.059 10.999a4.359 4.359 0 01-7.051 3.429 4.369 4.369 0 00.727-6.13 4.577 4.577 0 00-.727-.728 4.345 4.345 0 016.118.74c.606.763.933 1.708.933 2.689z",fill:"#F79E1B"}),d.createElement("path",{clipRule:"evenodd",d:"M20 4.65H2a.85.85 0 00-.85.85v11c0 .47.38.85.85.85h18c.47 0 .85-.38.85-.85v-11a.85.85 0 00-.85-.85zM2 4.5a1 1 0 00-1 1v11a1 1 0 001 1h18a1 1 0 001-1v-11a1 1 0 00-1-1H2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},489299:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M5.872 13.431a.066.066 0 00-.065.056l-.374 2.375a.06.06 0 00.06.07h.444a.066.066 0 00.065-.055l.11-.698a.066.066 0 01.065-.055h.404a.958.958 0 00.945-.81c.074-.471-.293-.882-.815-.883h-.839zm.432.53h.323c.266 0 .353.157.325.331-.027.174-.162.302-.419.302h-.329l.1-.633zm2.126.162a1.009 1.009 0 00-.946.717s-.216.637.272.987c0 0 .452.337.96-.02l-.008.055a.06.06 0 00.06.07h.421c.033 0 .06-.023.065-.055l.257-1.627a.06.06 0 00-.06-.07h-.422a.066.066 0 00-.065.055l-.013.088s-.185-.201-.521-.2zm.014.514a.43.43 0 01.132.02.373.373 0 01.255.422.472.472 0 01-.606.386.373.373 0 01-.256-.423.473.473 0 01.475-.405z",fill:"#003087"}),d.createElement("path",{d:"M11.945 13.431a.066.066 0 00-.065.056l-.375 2.375a.06.06 0 00.014.05.061.061 0 00.046.02h.445c.032 0 .06-.023.065-.055l.11-.698a.066.066 0 01.065-.055h.403a.958.958 0 00.946-.81c.074-.471-.294-.882-.815-.883h-.84zm.432.53h.323c.266 0 .353.157.325.331-.027.174-.162.302-.42.302h-.328l.1-.633zm2.126.162a1.01 1.01 0 00-.946.717s-.216.637.271.987c0 0 .453.337.961-.02l-.008.055a.062.062 0 00.013.05.06.06 0 00.047.02h.421a.066.066 0 00.065-.055l.257-1.627a.062.062 0 00-.014-.049.06.06 0 00-.046-.021h-.422a.066.066 0 00-.065.055l-.014.088s-.184-.201-.52-.2zm.013.514c.049 0 .093.006.133.02a.373.373 0 01.255.422.472.472 0 01-.606.386.373.373 0 01-.256-.423.473.473 0 01.474-.405z",fill:"#0070E0"}),d.createElement("path",{d:"M9.711 14.18a.05.05 0 00-.04.02.05.05 0 00-.007.044l.462 1.435-.418.676a.05.05 0 00.042.075h.494a.083.083 0 00.07-.04l1.292-2.135a.05.05 0 00-.043-.075h-.494a.082.082 0 00-.07.04l-.508.858-.258-.851a.066.066 0 00-.063-.047H9.71z",fill:"#003087"}),d.createElement("path",{d:"M16.063 13.431a.066.066 0 00-.065.056l-.374 2.375a.06.06 0 00.013.05.061.061 0 00.047.02h.444c.032 0 .06-.023.065-.055l.374-2.376a.062.062 0 00-.014-.048.06.06 0 00-.046-.022h-.444z",fill:"#0070E0"}),d.createElement("path",{d:"M10.576 7.305a.18.18 0 00-.178.152l-.296 1.874a.18.18 0 01.178-.152h.866a1.768 1.768 0 001.763-1.691 1.642 1.642 0 00-.767-.183h-1.566z",fill:"#001C64"}),d.createElement("path",{d:"M12.909 7.488a1.768 1.768 0 01-1.763 1.691h-.866a.18.18 0 00-.178.152l-.271 1.722-.17 1.08a.147.147 0 00.144.169h.94a.18.18 0 00.178-.152l.247-1.57a.18.18 0 01.178-.152h.553c.871 0 1.61-.635 1.746-1.497a1.372 1.372 0 00-.738-1.443z",fill:"#0070E0"}),d.createElement("path",{d:"M9.508 6.056a.18.18 0 00-.178.152l-.737 4.676a.146.146 0 00.144.169h1.094l.271-1.722.296-1.874a.18.18 0 01.178-.152h1.566c.285 0 .545.067.767.183.015-.784-.632-1.432-1.522-1.432H9.508z",fill:"#003087"}),d.createElement("path",{clipRule:"evenodd",d:"M20 4.65H2a.85.85 0 00-.85.85v11c0 .47.38.85.85.85h18c.47 0 .85-.38.85-.85v-11a.85.85 0 00-.85-.85zM2 4.5a1 1 0 00-1 1v11a1 1 0 001 1h18a1 1 0 001-1v-11a1 1 0 00-1-1H2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},795826:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M1.896 13.98l.187-.02a.23.23 0 00.068.14c.035.029.081.044.14.044.061 0 .108-.013.14-.04a.117.117 0 00.046-.092.087.087 0 00-.02-.057.158.158 0 00-.068-.042 2.5 2.5 0 00-.154-.04.517.517 0 01-.216-.095.247.247 0 01-.046-.326.257.257 0 01.119-.096.476.476 0 01.187-.033c.12 0 .209.026.27.079.06.052.091.122.094.21l-.192.007c-.008-.049-.026-.084-.053-.105-.027-.022-.068-.033-.122-.033-.055 0-.1.012-.13.035a.07.07 0 00-.031.059c0 .022.01.042.028.058.025.02.083.041.177.063a.915.915 0 01.207.068c.044.024.08.056.105.097a.285.285 0 01.038.152.281.281 0 01-.174.26.538.538 0 01-.207.035c-.12 0-.213-.028-.277-.084a.366.366 0 01-.116-.245zM2.87 14.29v-.688h.182v.689H2.87zm0-.782v-.168h.182v.168H2.87zM3.906 14.29h-.183v-.351a.547.547 0 00-.011-.145.102.102 0 00-.038-.051.108.108 0 00-.063-.018.145.145 0 00-.085.026.13.13 0 00-.051.069.597.597 0 00-.014.158v.313h-.183v-.689h.17v.101a.275.275 0 01.227-.118c.04 0 .077.007.11.022a.185.185 0 01.076.056.202.202 0 01.035.076c.007.029.01.07.01.123v.429zM4.276 13.932c0 .073.014.127.043.16a.13.13 0 00.103.052.143.143 0 00.112-.053c.03-.035.046-.086.046-.155 0-.071-.014-.124-.044-.16a.139.139 0 00-.11-.051.133.133 0 00-.107.05c-.029.035-.043.087-.043.157zm-.164.404l.208.023c.003.025.011.043.024.053.017.013.045.02.082.02a.215.215 0 00.107-.021.089.089 0 00.037-.046.277.277 0 00.008-.084v-.1a.245.245 0 01-.205.11.254.254 0 01-.22-.118.4.4 0 01-.063-.231c0-.116.027-.204.083-.265a.269.269 0 01.207-.092c.086 0 .156.038.211.112v-.095h.17v.62a.617.617 0 01-.02.182.226.226 0 01-.056.095.25.25 0 01-.098.053.511.511 0 01-.153.02c-.117 0-.2-.02-.249-.06a.19.19 0 01-.073-.154v-.022zM4.98 14.29h.183v-.95H4.98v.95zM5.8 13.889c0-.054-.014-.094-.04-.122a.126.126 0 00-.096-.042.127.127 0 00-.099.044.172.172 0 00-.038.12H5.8zm-.009.185l.181.03a.297.297 0 01-.11.152.327.327 0 01-.19.052c-.12 0-.21-.04-.267-.118a.396.396 0 01-.069-.238c0-.115.03-.205.09-.27a.295.295 0 01.227-.097c.103 0 .184.034.244.102.059.068.087.173.085.313h-.459a.184.184 0 00.045.127.14.14 0 00.106.045.114.114 0 00.073-.023.143.143 0 00.044-.075zM6.58 14.29v-.95h.704v.16h-.51v.212h.475v.16h-.476v.258h.53v.16h-.722zM7.957 14.29v-.102a.274.274 0 01-.354.09.181.181 0 01-.08-.086.383.383 0 01-.024-.153v-.437h.183v.317c0 .097.003.156.01.178.007.022.019.04.037.052.017.013.04.02.067.02a.143.143 0 00.135-.09.739.739 0 00.013-.186v-.29h.183v.688h-.17zM8.53 14.29h-.184v-.688h.17v.098a.307.307 0 01.078-.092.141.141 0 01.08-.023c.04 0 .081.012.12.035l-.056.16a.161.161 0 00-.086-.03.102.102 0 00-.065.02c-.018.014-.032.04-.042.077a1.08 1.08 0 00-.016.23v.214zM9.054 13.947c0 .068.016.12.049.157a.155.155 0 00.12.055.154.154 0 00.12-.055c.033-.036.049-.09.049-.159 0-.068-.016-.12-.049-.156a.154.154 0 00-.12-.055.155.155 0 00-.12.055c-.033.036-.049.089-.049.158zm-.187-.01c0-.061.015-.12.045-.177.03-.056.072-.1.127-.13a.375.375 0 01.183-.045.344.344 0 01.357.36.357.357 0 01-.101.26.34.34 0 01-.254.103.4.4 0 01-.181-.043.294.294 0 01-.13-.126.42.42 0 01-.046-.202zM10.367 13.5v.272h.105a.492.492 0 00.151-.015.125.125 0 00.082-.121.124.124 0 00-.03-.087.133.133 0 00-.078-.042.907.907 0 00-.137-.007h-.093zm-.192.79v-.95h.308c.116 0 .192.005.228.014a.25.25 0 01.137.093c.037.048.055.11.055.186a.31.31 0 01-.032.147.277.277 0 01-.18.139c-.046.009-.112.013-.199.013h-.125v.359h-.192zM11.478 13.96a1.15 1.15 0 01-.11.029.328.328 0 00-.1.032.076.076 0 00-.035.064c0 .026.009.048.028.066a.099.099 0 00.073.029c.032 0 .064-.011.093-.033a.115.115 0 00.044-.06.367.367 0 00.007-.09v-.036zm-.245-.148l-.165-.03a.258.258 0 01.096-.149.351.351 0 01.203-.048c.081 0 .142.01.182.029.04.02.068.044.084.073.016.03.024.085.024.164l-.002.213c0 .06.003.105.009.134.006.03.017.06.033.093h-.181a.66.66 0 01-.024-.074.33.33 0 01-.1.068.286.286 0 01-.114.023.235.235 0 01-.167-.058.193.193 0 01-.062-.146c0-.04.01-.074.028-.105a.183.183 0 01.079-.07.612.612 0 01.145-.042.988.988 0 00.177-.045v-.019c0-.035-.009-.06-.026-.076-.018-.015-.05-.022-.099-.022a.131.131 0 00-.076.019.133.133 0 00-.044.068zM11.789 13.602h.194l.165.49.161-.49h.189l-.287.784a.496.496 0 01-.046.092.2.2 0 01-.12.083.488.488 0 01-.197 0l-.016-.143a.396.396 0 00.077.009c.043 0 .075-.013.095-.038a.263.263 0 00.047-.096l-.262-.69zM12.64 13.602h.169v.094a.27.27 0 01.215-.11c.044 0 .083.008.115.026a.21.21 0 01.08.083.321.321 0 01.098-.083.24.24 0 01.113-.027c.05 0 .093.01.128.031.035.02.062.05.079.09.012.03.019.078.019.144v.44h-.183v-.394c0-.068-.007-.112-.019-.132-.017-.026-.043-.04-.078-.04a.124.124 0 00-.072.024.13.13 0 00-.048.069.495.495 0 00-.015.142v.332h-.183v-.378a.52.52 0 00-.01-.13.082.082 0 00-.03-.044.095.095 0 00-.056-.014.126.126 0 00-.124.088.49.49 0 00-.014.143v.335h-.183v-.689zM14.286 13.889c-.001-.054-.015-.094-.041-.122a.125.125 0 00-.095-.042.126.126 0 00-.1.044.171.171 0 00-.038.12h.274zm-.01.185l.182.03a.298.298 0 01-.111.152.327.327 0 01-.19.052c-.12 0-.209-.04-.267-.118a.396.396 0 01-.068-.238c0-.115.03-.205.09-.27a.295.295 0 01.227-.097c.103 0 .184.034.243.102.06.068.088.173.085.313h-.458a.184.184 0 00.044.127.14.14 0 00.106.045.114.114 0 00.073-.023.143.143 0 00.045-.075zM15.282 14.29h-.183v-.351a.555.555 0 00-.012-.145.103.103 0 00-.038-.051.109.109 0 00-.063-.018.145.145 0 00-.084.026.13.13 0 00-.052.069.596.596 0 00-.014.158v.313h-.183v-.689h.17v.101a.275.275 0 01.227-.118c.04 0 .077.007.11.022a.186.186 0 01.076.056.202.202 0 01.036.076.57.57 0 01.01.123v.429zM15.822 13.602v.145h-.125v.28c0 .056.001.088.004.098a.04.04 0 00.015.023.05.05 0 00.03.009.23.23 0 00.073-.018l.016.142a.359.359 0 01-.143.027.224.224 0 01-.089-.017.128.128 0 01-.058-.043.17.17 0 01-.025-.07.895.895 0 01-.006-.13v-.3h-.083v-.146h.083v-.138l.183-.107v.245h.125zM15.925 14.097l.183-.029a.133.133 0 00.047.08.16.16 0 00.1.028.179.179 0 00.106-.026.058.058 0 00.024-.05.048.048 0 00-.013-.034.145.145 0 00-.061-.024.996.996 0 01-.282-.09.178.178 0 01-.082-.155c0-.06.024-.11.071-.15.048-.041.121-.062.22-.062.096 0 .166.015.212.046.046.03.078.076.095.135l-.171.032a.106.106 0 00-.043-.061.156.156 0 00-.089-.022.2.2 0 00-.104.02.043.043 0 00-.02.038c0 .013.005.024.017.033.017.012.074.03.171.052a.51.51 0 01.205.081.17.17 0 01.057.137.21.21 0 01-.08.163c-.052.046-.13.069-.233.069a.386.386 0 01-.223-.057.262.262 0 01-.107-.154zM17.682 13.915l-.133-.352-.129.352h.262zm.353.376h-.207l-.083-.215h-.383l-.078.215h-.204l.368-.951h.203l.384.95zM18.349 14.29h-.183v-.688h.17v.098a.304.304 0 01.078-.092.141.141 0 01.079-.023c.042 0 .082.012.12.035l-.055.16a.162.162 0 00-.087-.03.102.102 0 00-.065.02c-.017.014-.031.04-.042.077-.01.037-.015.114-.015.23v.214zM19.142 13.889c-.002-.054-.015-.094-.041-.122a.126.126 0 00-.096-.042.127.127 0 00-.099.044.172.172 0 00-.038.12h.274zm-.01.185l.181.03a.298.298 0 01-.11.152.327.327 0 01-.19.052c-.12 0-.21-.04-.267-.118a.396.396 0 01-.069-.238c0-.115.03-.205.09-.27a.295.295 0 01.227-.097c.103 0 .184.034.244.102.059.068.087.173.085.313h-.459a.184.184 0 00.045.127.14.14 0 00.106.045.115.115 0 00.073-.023.144.144 0 00.044-.075zM19.89 13.96a1.15 1.15 0 01-.11.029.331.331 0 00-.1.032.076.076 0 00-.035.064c0 .026.01.048.028.066a.099.099 0 00.073.029c.033 0 .064-.011.094-.033a.115.115 0 00.043-.06.367.367 0 00.007-.09v-.036zm-.245-.148l-.164-.03a.258.258 0 01.096-.149.351.351 0 01.202-.048c.081 0 .142.01.182.029.04.02.068.044.084.073.016.03.024.085.024.164l-.002.213c0 .06.003.105.01.134.005.03.016.06.032.093h-.181a.622.622 0 01-.024-.074.331.331 0 01-.1.068.286.286 0 01-.113.023.235.235 0 01-.168-.058.193.193 0 01-.061-.146c0-.04.009-.074.028-.105a.183.183 0 01.078-.07.612.612 0 01.145-.042.988.988 0 00.177-.045v-.019c0-.035-.009-.06-.026-.076-.017-.015-.05-.022-.099-.022a.131.131 0 00-.076.019.134.134 0 00-.044.068zM5.937 9.603H4.691c0-.204-.024-.342-.072-.411-.074-.104-.278-.156-.613-.156-.326 0-.541.03-.647.09-.105.06-.157.19-.157.39 0 .181.046.3.14.357.067.041.155.065.265.072l.252.018c.538.036.875.06 1.009.075.426.043.734.156.926.34a.9.9 0 01.27.561c.016.139.025.295.025.469 0 .4-.039.694-.115.88-.139.341-.45.557-.936.647-.203.038-.514.057-.932.057-.698 0-1.184-.041-1.458-.125-.338-.102-.56-.31-.667-.621-.06-.174-.09-.463-.09-.868h1.246v.104c0 .216.063.354.187.416a.73.73 0 00.311.068h.458c.234 0 .383-.012.447-.036a.365.365 0 00.226-.218.83.83 0 00.029-.24c0-.218-.08-.352-.24-.4-.06-.018-.338-.045-.833-.078a9.982 9.982 0 01-.83-.082c-.408-.077-.68-.234-.816-.472-.12-.202-.179-.509-.179-.918 0-.312.032-.563.097-.75a.821.821 0 01.312-.43c.21-.15.479-.238.806-.264.272-.024.574-.036.906-.036.523 0 .896.03 1.118.09.542.145.813.553.813 1.224 0 .055-.004.137-.012.247zM12.757 10.553h.835c.264-.01.425-.03.483-.062.08-.043.133-.13.16-.261a2.2 2.2 0 00.024-.388c0-.21-.016-.367-.05-.469-.048-.142-.164-.23-.346-.261a2.71 2.71 0 00-.26-.007h-.846v1.448zm-1.34 2.44V8.015h2.496c.342 0 .603.028.782.083.411.129.686.392.827.79.073.21.11.524.11.943 0 .505-.04.868-.12 1.089-.16.437-.49.688-.988.754-.058.01-.307.018-.746.025l-.223.008h-.798v1.284h-1.34zM18.225 11.163l-.628-2.158-.609 2.158h1.237zm.266.97H16.7l-.24.86h-1.386l1.495-4.977h2.02l1.514 4.976h-1.357l-.255-.86z",fill:"#2350A9"}),d.createElement("path",{d:"M9.568 8.716a1.76 1.76 0 011.37.653l.289-.62a2.53 2.53 0 00-1.744-.69 2.51 2.51 0 00-2.33 1.54h-.562l-.333.713h.725a2.428 2.428 0 00.003.442h-.364l-.332.713h.881a2.512 2.512 0 002.312 1.497c.523 0 1.009-.157 1.411-.425v-.873a1.76 1.76 0 01-2.802-.199h1.845l.333-.713H7.82a1.805 1.805 0 01-.01-.442h2.666l.332-.712H8.04a1.765 1.765 0 011.528-.884z",fill:"#FBBC09"}),d.createElement("path",{d:"M10.808 9.621l-.02-.03-.332.712.02-.012H7.79l-.002.02a1.84 1.84 0 00.01.447l.004.018h2.468l-.02-.03-.332.712.02-.012H8.051l.022.033a1.783 1.783 0 002.837.2l-.038-.013v.873l.01-.017a2.516 2.516 0 01-1.4.42A2.486 2.486 0 017.19 11.46l-.006-.013H6.29l.02.03.332-.713-.02.013h.388l-.003-.024a2.43 2.43 0 01-.003-.438l.002-.023h-.748l.02.03.332-.712-.02.012h.578l.006-.013c.183-.446.494-.825.9-1.099.415-.28.902-.428 1.409-.428.648 0 1.262.243 1.729.684l-.005-.024-.288.619.036-.005a1.78 1.78 0 00-1.387-.66c-.634 0-1.227.342-1.547.894l-.018.032h2.805zm-1.24-.884c.527 0 1.02.235 1.353.645l.022.027.014-.031.29-.62.006-.013-.011-.01a2.549 2.549 0 00-1.76-.696c-.514 0-1.01.15-1.433.435-.412.278-.729.664-.915 1.118l.02-.014h-.577l-.006.013-.346.743h.758l-.022-.023a2.437 2.437 0 00.004.445l.021-.023H6.61l-.339.725-.014.03h.915l-.02-.012a2.53 2.53 0 002.332 1.51c.51 0 1.002-.149 1.423-.429l.01-.006v-.942l-.038.043a1.741 1.741 0 01-2.769-.196l-.017.033h1.86l.005-.013.332-.713.014-.03H7.82l.021.018a1.79 1.79 0 01-.01-.436l-.021.019h2.68l.005-.012.333-.713.014-.03H8.04l.018.031c.313-.538.891-.873 1.51-.873z",fill:"#2350A9"}),d.createElement("path",{clipRule:"evenodd",d:"M20 4.65H2a.85.85 0 00-.85.85v11c0 .47.38.85.85.85h18c.47 0 .85-.38.85-.85v-11a.85.85 0 00-.85-.85zM2 4.5a1 1 0 00-1 1v11a1 1 0 001 1h18a1 1 0 001-1v-11a1 1 0 00-1-1H2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},851062:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(737968),c=e.n(i),u=e(160553),f=e.n(u),d=e(174161),h=e(471184),g=e(85059),_=e(688720),p=e(938408),y=["sx"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=s=>d.createElement("svg",f()({color:s.color,fill:"currentColor",height:22,viewBox:"0 0 22 22",width:22,xmlns:"http://www.w3.org/2000/svg"},s),d.createElement("path",{d:"M8.873 8.246l-2.315 5.522h-1.51L3.91 9.361c-.069-.271-.129-.37-.34-.485-.343-.186-.91-.36-1.409-.47l.034-.16h2.431c.31 0 .589.206.659.563l.601 3.196 1.487-3.759h1.501zm5.917 3.72c.006-1.458-2.016-1.538-2.002-2.19.005-.198.193-.408.606-.462a2.695 2.695 0 011.409.247l.25-1.17a3.838 3.838 0 00-1.336-.246c-1.412 0-2.405.75-2.414 1.826-.009.795.71 1.238 1.25 1.502.557.271.744.445.742.687-.004.37-.444.534-.855.54-.718.011-1.135-.194-1.467-.348l-.259 1.21c.334.152.95.286 1.589.293 1.5 0 2.482-.742 2.487-1.89zm3.728 1.802h1.322l-1.154-5.522h-1.22a.65.65 0 00-.607.405l-2.144 5.117h1.5l.298-.824h1.833l.172.824zm-1.594-1.956l.752-2.074.433 2.074h-1.185zm-6.01-3.566l-1.181 5.522H8.304l1.182-5.522h1.428z",fill:"#1434CB"}),d.createElement("path",{clipRule:"evenodd",d:"M20 4.65H2a.85.85 0 00-.85.85v11c0 .47.38.85.85.85h18c.47 0 .85-.38.85-.85v-11a.85.85 0 00-.85-.85zM2 4.5a1 1 0 00-1 1v11a1 1 0 001 1h18a1 1 0 001-1v-11a1 1 0 00-1-1H2z",fillRule:"evenodd"})),A=(0,h.Z)(C,{shouldForwardProp:g.ZP})((0,_.Z)(p.$_,p.sx,p.iv)),S=s=>{var v=s.sx,m=v===void 0?{}:v,E=c()(s,y);return d.createElement(A,P(P({color:"gray.100"},E),{},{sx:P({"@media (forced-colors: active)":{color:"inherit"}},m)}))};const T=S},881707:function(b,l,e){"use strict";e.d(l,{Z:()=>v});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(688720),c=e(194243),u=e(481103),f=e(938408),d=e(279523),h=e(962743),g=e(958112),_=e(99378),p=e(199946),y=e(471184),O=e(47932),P=e(174161),C=["boxSizing","color"],A=(0,i.Z)(c.O,u.C,f.ix,f.$_,d.b,h.c4,g.F,_.A,p.Dh,f.sx,f.iv,f.vs,f.eR),S=y.Z.View(A);S.displayName="Box";var T=(0,P.forwardRef)((m,E)=>{var I=m.boxSizing,L=I===void 0?"border-box":I,W=m.color,F=a()(m,C),G=(0,O.F)();return P.createElement(S,o()({ref:E,boxSizing:L,color:W,theme:G},F))});T.displayName="Box";const v=T},600994:function(b,l,e){"use strict";e.d(l,{Z:()=>me});var r=e(160553),o=e.n(r),n=e(174161),a=e(680180),i=e.n(a),c=e(737968),u=e.n(c),f=e(47932),d=e(425629),h=e(392338),g=e(642979),_=e.n(g),p=e(461761),y=e.n(p),O=e(671915),P=e(938408),C=e(688720),A=e(775379),S=e(194243),T=e(481103),s=e(279523),v=e(962743),m=e(958112),E=e(358485),I=e(99378),L=e(199946),W=e(471184);function F(re,he){var Ee=Object.keys(re);if(Object.getOwnPropertySymbols){var fe=Object.getOwnPropertySymbols(re);he&&(fe=fe.filter(function(H){return Object.getOwnPropertyDescriptor(re,H).enumerable})),Ee.push.apply(Ee,fe)}return Ee}function G(re){for(var he=1;he<arguments.length;he++){var Ee=arguments[he]!=null?arguments[he]:{};he%2?F(Object(Ee),!0).forEach(function(fe){_()(re,fe,Ee[fe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(re,Object.getOwnPropertyDescriptors(Ee)):F(Object(Ee)).forEach(function(fe){Object.defineProperty(re,fe,Object.getOwnPropertyDescriptor(Ee,fe))})}return re}var k=(0,O.Z)("buttons","variant"),x={left:"translate3d(130%,0,0) skew(30deg)",none:"",right:"translate3d(-130%,0,0) skew(-30deg)"},M=re=>{var he,Ee=k(re),fe="transform ".concat(re.theme.time[500]," ").concat(re.theme.easing.product.default,", opacity ").concat(re.theme.time[500]," linear"),H="transform ".concat(re.theme.time[500]," ").concat(re.theme.easing.product.default,", opacity ").concat(re.theme.time[500]," linear ").concat(re.theme.time[500]),z="transform 50ms",_e=x[(he=re.animationDirection)!==null&&he!==void 0?he:"none"],ae=re.theme.colors.base,ge=(0,P.XF)({backgroundColor:re.animationBackgroundColor||Ee.animationBackgroundColor,color:"white",outlineColor:(re.variant==="primary"?re.backgroundColor||Ee.backgroundColor:re.color||Ee.color)||"gray.100",theme:re.theme}),Be=ge.backgroundColor,Ke=ge.outlineColor,He=_e?{"&::before":{backgroundColor:Be,opacity:1,transform:"translate3d(0,0,0) skew(0deg)",transition:fe,zIndex:-1}}:{backgroundColor:Be},ye=re.variant==="tertiary"||re.variant==="danger";return G(G({},Ee),{},{"&::before":{backgroundColor:Be,content:_e?"''":void 0,display:"block",height:"100%",left:0,opacity:0,pointerEvents:"none",position:"absolute",top:0,transform:_e,transition:H,width:"100%",zIndex:-1},"&:active":G(G(G({},He),Ee["&:active"]),{},{transition:z}),"&:focus":G(G({},Ee["&:focus"]),{},{"::-moz-focus-inner":{border:0},overflow:ye?"visible":"hidden"},ye?{"&:after":{border:re.theme.borders[2],borderColor:"".concat(Ke),content:'""',height:"calc(100% - 8px)",position:"absolute",width:"calc(100% + 12px)"}}:{boxShadow:"0 0 0 2px ".concat(ae,`,
            0 0 0 4px `).concat(Ke),outline:re.theme.borders[2],outlineColor:"transparent",outlineOffset:"2px"}),"&:focus:not(:focus-visible)":{"&:after":{display:"none"},boxShadow:"none",outline:"none"},"&:hover":G(G({},He),Ee["&:hover"]),overflow:"hidden",transform:"translate3d(0,0,0) scale(1,1)",transition:z})},B=(0,C.Z)(A.Z,M,S.O,T.C,P.$_,s.b,v.c4,m.F,E.c,I.A,L.Dh,P.Qx,P.ix,P.oc,P.Kl,re=>{var he,Ee=re.theme,fe=Ee.buttonSizes,H=Ee.sizes,z=Ee.space,_e=(he=fe[re.size])!==null&&he!==void 0?he:re.size,ae;if(re.variant!=="base"){var ge=re.variant==="danger"||re.variant==="tertiary"?0:_e===fe.small?z[2]:_e===fe.medium?z[3]:z[4];ae={paddingLeft:ge,paddingRight:ge}}return G({height:re.height||"auto",minHeight:_e===void 0?void 0:y()(H,_e,_e),width:re.width||"auto"},ae)},P.sx,P.iv),R=W.Z.Button(B);const U=R;var j=["animationDirection","as","children","onBlur","onFocus","onMouseEnter","onMouseLeave","outline","size","textAlign","variant"],$=(0,n.forwardRef)((re,he)=>{var Ee=re.animationDirection,fe=Ee===void 0?"right":Ee,H=re.as,z=H===void 0?"button":H,_e=re.children,ae=re.onBlur,ge=re.onFocus,Be=re.onMouseEnter,Ke=re.onMouseLeave,He=re.outline,ye=He===void 0?"none":He,Le=re.size,Ue=Le===void 0?"small":Le,Xe=re.textAlign,Fe=Xe===void 0?"center":Xe,ht=re.variant,Ne=ht===void 0?"primary":ht,Ce=u()(re,j),we=(0,f.F)(),$e={animationDirection:fe,as:z,outline:ye,size:Ue,textAlign:Fe},Ot=n.useState(!1),Pt=i()(Ot,2),Ie=Pt[0],Bt=Pt[1],mt=Ce.disabled?!1:Ie,rt={onBlur:ae,onFocus:ge,onMouseEnter:ce=>{Be==null||Be(ce),Bt(!0)},onMouseLeave:ce=>{Ke==null||Ke(ce),Bt(!1)}};switch(Ne){case"tertiary":return n.createElement(U,o()({ref:he,theme:we,variant:"tertiary"},rt,$e,Ce),n.createElement(d.Z,{as:"span",disabled:Ce.disabled,interaction:ce=>n.createElement(d.Z.Underline,o()({},ce,{isActive:mt}))},_e));case"danger":return n.createElement(U,o()({ref:he,theme:we,variant:"danger"},rt,$e,Ce),n.createElement(d.Z,{as:"span",disabled:Ce.disabled,interaction:ce=>n.createElement(d.Z.Underline,o()({},ce,{borderColor:"red.300",isActive:mt}))},_e));case"base":case"primary":case"secondary":return n.createElement(U,o()({ref:he,onBlur:ae,onFocus:ge,onMouseEnter:Be,onMouseLeave:Ke,theme:we,variant:Ne},$e,Ce),_e);default:return n.createElement(U,o()({ref:he,onBlur:ae,onFocus:ge,onMouseEnter:Be,onMouseLeave:Ke,theme:we,variant:"primary"},$e,Ce),_e)}});$.displayName="BaseButton";const ee=$;var te=n.forwardRef((re,he)=>n.createElement(ee,o()({ref:he,variant:"base"},re))),ie=n.forwardRef((re,he)=>n.createElement(ee,o()({ref:he,variant:"danger"},re))),ne=n.forwardRef((re,he)=>n.createElement(ee,o()({ref:he,variant:"primary"},re))),pe=n.forwardRef((re,he)=>n.createElement(ee,o()({ref:he,variant:"secondary"},re))),oe=n.forwardRef((re,he)=>n.createElement(ee,o()({ref:he,variant:"tertiary"},re))),q=Object.assign(ee,{Base:te,Danger:ie,Primary:ne,Secondary:pe,Tertiary:oe});q.displayName="Button",ne.displayName="Button.Primary",pe.displayName="Button.Secondary",oe.displayName="Button.Tertiary",ie.displayName="Button.Danger",te.displayName="Button.Base";const me=q},719501:function(b,l,e){"use strict";e.d(l,{Z:()=>O});var r=e(392338),o=e(642979),n=e.n(o),a=e(680180),i=e.n(a),c=e(174161),u=e(854594),f=e(47932);function d(P,C){var A=Object.keys(P);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(P);C&&(S=S.filter(function(T){return Object.getOwnPropertyDescriptor(P,T).enumerable})),A.push.apply(A,S)}return A}function h(P){for(var C=1;C<arguments.length;C++){var A=arguments[C]!=null?arguments[C]:{};C%2?d(Object(A),!0).forEach(function(S){n()(P,S,A[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(A)):d(Object(A)).forEach(function(S){Object.defineProperty(P,S,Object.getOwnPropertyDescriptor(A,S))})}return P}function g(P){return P.offsetHeight+parseInt(P.style.marginTop||"0",10)+parseInt(P.style.marginBottom||"0",10)}var _={[u.cn]:"entered",[u.d0]:"entering",[u.Wj]:"exited",[u.Ix]:"exiting",[u.$r]:"unmounted"},p=c.forwardRef((P,C)=>{var A=P.children,S=P.css,T=P.enterTransitionDuration,s=P.enterTransitionTimingFunction,v=P.exitTransitionDuration,m=P.exitTransitionTimingFunction,E=P.isOpen,I=E===void 0?!1:E,L=P.skipInitialAnimation,W=L===void 0?!1:L,F=(0,f.F)(),G=F.easing,k=F.time,x=(0,c.useRef)(),M=T??k[300],B=v??k[300],R=s??G.product.entrance,U=m??G.product.exit,j=(0,c.useState)(!0),$=i()(j,2),ee=$[0],te=$[1],ie=c.useMemo(()=>()=>{x.current&&(x.current.style.height="0",x.current.style.opacity="1",x.current.style.transitionTimingFunction=R,x.current.style.transitionDuration=W&&ee?"0ms":M)},[x,R,M,ee,W]),ne=c.useCallback(()=>{x.current&&(x.current.style.height="".concat(x.current.scrollHeight,"px"))},[x]),pe=c.useCallback(()=>{x.current&&(x.current.style.height="auto",te(!1))},[x]),oe=c.useCallback(()=>{if(x.current){var J=g(x.current);x.current.style.height="".concat(J,"px"),x.current.style.transitionTimingFunction=U,x.current.style.transitionDuration=B,x.current.offsetHeight}},[U,B,x]),q=c.useCallback(()=>{x.current&&(x.current.style.height="0px",x.current.style.opacity="0")},[x]);return c.createElement(u.ZP,{ref:C,appear:!0,in:I,nodeRef:x,onEnter:ie,onEntered:pe,onEntering:ne,onExit:oe,onExiting:q,timeout:{enter:parseInt(M,10),exit:parseInt(B,10)}},J=>c.cloneElement(A,{"data-transition-state":_[J],ref:x,css:h(h({},S),{},{overflow:J===_[u.cn]?"visible":"hidden"}),height:J===_[u.Wj]?0:void 0,display:J===_[u.Wj]?"none":void 0,transitionProperty:"height, opacity"}))});p.displayName="Collapsible";const O=p},881121:function(b,l,e){"use strict";e.d(l,{g:()=>W});var r=e(160553),o=e.n(r),n=e(680180),a=e.n(n),i=e(737968),c=e.n(i),u=e(174161),f=e(748599),d=e(412166),h=(0,u.createContext)({addDescriptionId:()=>()=>{},addInputId:()=>{},addLabelId:()=>{}});const g=h;var _=e(262019),p=["children","invalid","disabled","name"],y=F=>{var G,k,x=F.children,M=F.invalid,B=F.disabled,R=F.name,U=c()(F,p),j=(0,u.useContext)(_.Z),$=j.disabled,ee=j.invalid,te=(0,u.useContext)(g),ie=te.disabled,ne=te.invalid,pe=(G=B??ie)!==null&&G!==void 0?G:$,oe=(k=M??ne)!==null&&k!==void 0?k:ee,q=(0,f.Z)(),J=a()(q,2),me=J[0],re=J[1],he=(0,f.Z)(),Ee=a()(he,2),fe=Ee[0],H=Ee[1],z=(0,f.Z)(),_e=a()(z,2),ae=_e[0],ge=_e[1],Be=(0,u.useMemo)(()=>({inputId:me,addInputId:re,labelIds:fe,addLabelId:H,descriptionIds:ae,addDescriptionId:ge,name:R,invalid:oe,disabled:pe}),[me,fe,R,oe,pe,ae,ge,re,H]);return u.createElement(g.Provider,{value:Be},u.createElement(d.Z,o()({"data-field-disabled":pe?!0:void 0,"data-field-invalid":oe?!0:void 0,flexDirection:"column",role:"group"},U),x))};const O=y;var P=e(322533),C=e(719484),A=["id","htmlFor","children"],S=F=>{var G=F.id,k=F.htmlFor,x=F.children,M=c()(F,A),B=(0,u.useContext)(g),R=B.addLabelId,U=B.inputId,j=(0,P.Z)(R,G);return u.createElement(C.Z.Caption,o()({as:"label",color:"fg.default",fontWeight:500,htmlFor:k??U,id:j,width:"fit-content"},M),x)};const T=S;var s=["id","children"],v=F=>{var G=F.id,k=F.children,x=c()(F,s),M=(0,u.useContext)(g),B=M.addDescriptionId,R=(0,P.Z)(B,G);return u.createElement(C.Z.Caption,o()({color:"fg.muted",id:R,width:"fit-content"},x),k)};const m=v;var E=["id","children"],I=F=>{var G=F.id,k=F.children,x=c()(F,E),M=(0,u.useContext)(g),B=M.addDescriptionId,R=M.invalid,U=(0,P.Z)(B,G);return R?u.createElement(C.Z.Caption,o()({color:"border.danger",id:U},x),k):null},W={Root:O,Label:T,Description:m,Error:I,Context:g}},262019:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(174161),o=(0,r.createContext)({addLegendId:()=>{},addDescriptionId:()=>{}});const n=o},128201:function(b,l,e){"use strict";e.d(l,{p:()=>M});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(174161),c=e(322533),u=e(719484),f=e(262019),d=["id","children"],h=B=>{var R=B.id,U=B.children,j=a()(B,d),$=(0,i.useContext)(f.Z),ee=$.addDescriptionId,te=$.disabled,ie=(0,c.Z)(ee,R);return i.createElement(u.Z.Caption,o()({color:te?"fg.muted":void 0,id:ie},j),U)};const g=h;var _=["id","children"],p=B=>{var R=B.id,U=B.children,j=a()(B,_),$=(0,i.useContext)(f.Z),ee=$.addDescriptionId,te=$.invalid,ie=(0,c.Z)(ee,R);return te?i.createElement(u.Z.Caption,o()({color:"border.danger",id:ie},j),U):null};const y=p;var O=e(392338),P=e(642979),C=e.n(P),A=e(680180),S=e.n(A),T=e(748599),s=e(412166),v=["children","disabled","invalid","sx"];function m(B,R){var U=Object.keys(B);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(B);R&&(j=j.filter(function($){return Object.getOwnPropertyDescriptor(B,$).enumerable})),U.push.apply(U,j)}return U}function E(B){for(var R=1;R<arguments.length;R++){var U=arguments[R]!=null?arguments[R]:{};R%2?m(Object(U),!0).forEach(function(j){C()(B,j,U[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(U)):m(Object(U)).forEach(function(j){Object.defineProperty(B,j,Object.getOwnPropertyDescriptor(U,j))})}return B}var I=B=>{var R=B.children,U=B.disabled,j=B.invalid,$=B.sx,ee=a()(B,v),te=(0,i.useContext)(f.Z),ie=te.disabled,ne=te.invalid,pe=U??ie,oe=j??ne,q=(0,T.Z)(),J=S()(q,2),me=J[0],re=J[1],he=(0,T.Z)(),Ee=S()(he,2),fe=Ee[0],H=Ee[1],z=(0,i.useMemo)(()=>({legendId:me,addLegendId:re,disabled:pe,invalid:oe,addDescriptionId:H,descriptionIds:fe}),[me,pe,oe,re,fe,H]);return i.createElement(f.Z.Provider,{value:z},i.createElement(s.Z,o()({"aria-describedby":fe,"aria-labelledby":me,as:"fieldset","data-fieldset-disabled":pe?!0:void 0,"data-fieldset-invalid":oe?!0:void 0,disabled:pe,flexDirection:"column",sx:E({border:"none",margin:0,marginInline:"unset",paddingBlock:0,paddingInline:"unset"},$)},ee),R))};const L=I;var W=["id","children","sx"];function F(B,R){var U=Object.keys(B);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(B);R&&(j=j.filter(function($){return Object.getOwnPropertyDescriptor(B,$).enumerable})),U.push.apply(U,j)}return U}function G(B){for(var R=1;R<arguments.length;R++){var U=arguments[R]!=null?arguments[R]:{};R%2?F(Object(U),!0).forEach(function(j){C()(B,j,U[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(U)):F(Object(U)).forEach(function(j){Object.defineProperty(B,j,Object.getOwnPropertyDescriptor(U,j))})}return B}var k=B=>{var R=B.id,U=B.children,j=B.sx,$=a()(B,W),ee=(0,i.useContext)(f.Z),te=ee.addLegendId,ie=(0,c.Z)(te,R);return i.createElement(u.Z,o()({as:"legend",id:ie,sx:G({paddingInline:0},j)},$),U)},M={Root:L,Legend:k,Error:y,Description:g,Context:f.Z}},412166:function(b,l,e){"use strict";e.d(l,{Z:()=>O});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(471184),c=e(962743),u=e(47932),f=e(174161),d=e(881707);const h={flexDirection:void 0};var g=["boxSizing","display"],_=(0,i.Z)(d.Z)(c.GQ),p=(0,f.forwardRef)((P,C)=>{var A=P.boxSizing,S=A===void 0?"border-box":A,T=P.display,s=T===void 0?"flex":T,v=a()(P,g),m=(0,u.F)();return f.createElement(_,o()({ref:C,boxSizing:S,display:s,theme:m},h,v))});p.displayName="Flex";const O=p},578541:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(392338),o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(737968),u=e.n(c),f=e(174161),d=e(471184),h=e(688720),g=e(938408),_=e(47932),p=e(881707),y=["aria-label","checked","css","id","isDisabled","name","onChange","value","inputProps"];function O(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function P(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?O(Object(m),!0).forEach(function(E){i()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):O(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var C=(0,d.Z)("input")((0,h.Z)(g.iv,g.sx)),A=(0,f.forwardRef)((s,v)=>{var m=s["aria-label"],E=s.checked,I=s.css,L=s.id,W=s.isDisabled,F=s.name,G=s.onChange,k=s.value,x=s.inputProps,M=u()(s,y),B=(0,_.F)(),R=B.colors,U=B.borders,j=B.sizes,$=B.space,ee=f.useCallback(()=>{W||G==null||G(k)},[G,k,W]);return f.createElement(p.Z,n()({boxSizing:"content-box",position:"relative",size:"sizes.150"},M),f.createElement(C,n()({ref:v,"aria-label":m,checked:E,css:P({"&:checked ~ .checkmark":{backgroundColor:R.gray[300],border:U[1],borderColor:R.gray[300],outline:U[2],outlineColor:"transparent",outlineOffset:"-".concat($[1])},"&:checked ~ .checkmark:after":{backgroundColor:R.fg.onStrong},"&:checked:not(:disabled) ~ .checkmark:hover":{backgroundColor:R.gray[200]},"&:checked:not(:disabled) ~ .checkmark:hover:after":{backgroundColor:R.gray[600]},"&:focus ~ .checkmark":{outline:U[1],outlineColor:R.border.strong,outlineOffset:"1px"},"&:focus:not(:focus-visible) ~ .checkmark":{outline:"none"},"~ .checkmark:active":{backgroundColor:R.gray[500]},"&:checked:not(:disabled) ~ .checkmark:active":{backgroundColor:R.gray[300],borderColor:R.gray[300]},"&:checked:not(:disabled) ~ .checkmark:active:after":{backgroundColor:R.gray[400]},"&:disabled ~ .checkmark":{cursor:"no-drop",backgroundColor:R.bg.base,borderColor:R.gray[600]},"&:checked:disabled ~ .checkmark":{backgroundColor:R.gray[600]},height:"100%",left:0,margin:0,opacity:0,padding:0,position:"absolute",top:0,width:"100%"},I),disabled:W,id:L,name:F,onChange:ee,theme:B,type:"radio",value:k},x)),f.createElement(p.Z,{as:"span",border:1,borderColor:"gray.300",borderRadius:"circle",className:"checkmark",margin:j.sizes[50],onClick:ee,sx:{"&:after":{position:"absolute",content:'""',top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",transition:"background-color 0.1s ease-in",borderRadius:"circle",height:"8px",width:"8px"},"&:hover":{backgroundColor:"gray.600",borderColor:"gray.200"},position:"absolute",display:"block",boxSizing:"content-box",top:0,left:0,backgroundColor:"white",transition:"background-color 0.1s ease-in",borderWidth:1,cursor:"pointer",height:"sizes.125",width:"sizes.125"}}))});A.displayName="Radio";const T=A},719484:function(b,l,e){"use strict";e.d(l,{Z:()=>pe});var r=e(392338),o=e(642979),n=e.n(o),a=e(160553),i=e.n(a),c=e(174161),u=e(671915),f=e(688720),d=e(775379),h=e(938408),g=e(199946),_=e(194243),p=e(279523),y=e(958112),O=e(962743),P=e(481103),C=e(358485),A=e(471184),S=e(47932);const T=()=>{};function s(oe){return oe}const v=s;function m(oe,q){var J=Object.keys(oe);if(Object.getOwnPropertySymbols){var me=Object.getOwnPropertySymbols(oe);q&&(me=me.filter(function(re){return Object.getOwnPropertyDescriptor(oe,re).enumerable})),J.push.apply(J,me)}return J}function E(oe){for(var q=1;q<arguments.length;q++){var J=arguments[q]!=null?arguments[q]:{};q%2?m(Object(J),!0).forEach(function(me){n()(oe,me,J[me])}):Object.getOwnPropertyDescriptors?Object.defineProperties(oe,Object.getOwnPropertyDescriptors(J)):m(Object(J)).forEach(function(me){Object.defineProperty(oe,me,Object.getOwnPropertyDescriptor(J,me))})}return oe}var I=(0,u.Z)("textStyles","textStyle"),L=(0,f.Z)(d.Z,I,h.ix,h.$_,g.Dh,_.O,p.b,y.F,O.GQ,P.C,C.c,h.Qx,T,h.sx,h.iv),W=A.Z.Text(L),F=(0,c.forwardRef)((oe,q)=>{var J=(0,S.F)();return c.createElement(W,i()({ref:q,theme:J},oe))});F.displayName="ThemedText";var G=(0,c.forwardRef)((oe,q)=>c.createElement(F,i()({ref:q,textStyle:"figure"},v({as:"p"}),oe))),k=(0,c.forwardRef)((oe,q)=>c.createElement(F,i()({ref:q,textStyle:"displayTitle"},v({as:"span"}),oe))),x=(0,c.forwardRef)((oe,q)=>c.createElement(F,i()({ref:q,textStyle:"title"},v({as:"h1"}),oe))),M=(0,c.forwardRef)((oe,q)=>c.createElement(F,i()({ref:q,textStyle:"sectionTitle"},v({as:"p"}),oe))),B=(0,c.forwardRef)((oe,q)=>c.createElement(F,i()({ref:q,textStyle:"sectionTitleSmall"},v({as:"p"}),oe))),R=(0,c.forwardRef)((oe,q)=>c.createElement(F,i()({ref:q,textStyle:"subtitle"},v({as:"p"}),oe))),U=(0,c.forwardRef)((oe,q)=>c.createElement(F,i()({ref:q,textStyle:"body"},v(E({as:"p"},oe))))),j=(0,c.forwardRef)((oe,q)=>c.createElement(F,i()({ref:q,textStyle:"caption"},v(E({as:"span"},oe))))),$=(0,c.forwardRef)((oe,q)=>c.createElement(F,i()({ref:q,textStyle:"label"},v(E({as:"label"},oe))))),ee=(0,c.forwardRef)((oe,q)=>c.createElement(F,i()({ref:q,textStyle:"action"},v(E({as:"span"},oe))))),te=(0,c.forwardRef)((oe,q)=>c.createElement(F,i()({ref:q,textStyle:"tabular"},v(E({as:"span"},oe))))),ie=Object.assign(F,{Action:ee,Body:U,Caption:j,Label:$,SectionTitle:Object.assign(M,{Small:B}),Subtitle:R,Tabular:te,Title:x,DisplayTitle:k,Figure:G});G.displayName="Text.Figure",k.displayName="Text.DisplayTitle",ie.displayName="Text",x.displayName="Text.Title",R.displayName="Text.Subtitle",U.displayName="Text.Body",j.displayName="Text.Caption",$.displayName="Text.Label",ee.displayName="Text.Action",te.displayName="Text.Tabular",M.displayName="Text.SectionTitle",B.displayName="Text.SectionTitle.Small";const pe=ie},425629:function(b,l,e){"use strict";e.d(l,{Z:()=>Bt});var r=e(392338),o=e(642979),n=e.n(o),a=e(737968),i=e.n(a),c=e(160553),u=e.n(c),f=e(174161),d=e(680180),h=e.n(d),g=e(688720),_=e(194243),p=e(481103),y=e(938408),O=e(279523),P=e(958112),C=e(99378),A=e(199946),S=e(358485),T=e(471184),s=e(412166),v=["children","sx"];function m(mt,rt){var ce=Object.keys(mt);if(Object.getOwnPropertySymbols){var Re=Object.getOwnPropertySymbols(mt);rt&&(Re=Re.filter(function(nt){return Object.getOwnPropertyDescriptor(mt,nt).enumerable})),ce.push.apply(ce,Re)}return ce}function E(mt){for(var rt=1;rt<arguments.length;rt++){var ce=arguments[rt]!=null?arguments[rt]:{};rt%2?m(Object(ce),!0).forEach(function(Re){n()(mt,Re,ce[Re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(mt,Object.getOwnPropertyDescriptors(ce)):m(Object(ce)).forEach(function(Re){Object.defineProperty(mt,Re,Object.getOwnPropertyDescriptor(ce,Re))})}return mt}var I=mt=>{var rt=mt.children,ce=mt.sx,Re=ce===void 0?{}:ce,nt=i()(mt,v);return f.createElement(s.Z,u()({alignItems:"center",as:"span",display:"inline-flex",justifyContent:"center",sx:E(E({},Re),{},{"&:hover":E({backgroundColor:"gray.800"},Re&&Re["&:hover"])})},nt),rt)};const W=I;var F=["bottom","height","left","right","top","width"],G=function(rt,ce){return rt===void 0&&(rt={}),ce===void 0&&(ce={}),F.some(function(Re){return rt[Re]!==ce[Re]})},k=new Map,x,M=function mt(){var rt=[];k.forEach(function(ce,Re){var nt=Re.getBoundingClientRect();G(nt,ce.rect)&&(ce.rect=nt,rt.push(ce))}),rt.forEach(function(ce){ce.callbacks.forEach(function(Re){return Re(ce.rect)})}),x=window.requestAnimationFrame(mt)};function B(mt,rt){return{observe:function(){var Re=k.size===0;k.has(mt)?k.get(mt).callbacks.push(rt):k.set(mt,{rect:void 0,hasRectChanged:!1,callbacks:[rt]}),Re&&M()},unobserve:function(){var Re=k.get(mt);if(Re){var nt=Re.callbacks.indexOf(rt);nt>=0&&Re.callbacks.splice(nt,1),Re.callbacks.length||k.delete(mt),k.size||cancelAnimationFrame(x)}}}}const R=B;var U=e(47932),j=e(881707),$=["height","isActive","children","style","onFocus","onBlur","sx"];function ee(mt,rt){var ce=Object.keys(mt);if(Object.getOwnPropertySymbols){var Re=Object.getOwnPropertySymbols(mt);rt&&(Re=Re.filter(function(nt){return Object.getOwnPropertyDescriptor(mt,nt).enumerable})),ce.push.apply(ce,Re)}return ce}function te(mt){for(var rt=1;rt<arguments.length;rt++){var ce=arguments[rt]!=null?arguments[rt]:{};rt%2?ee(Object(ce),!0).forEach(function(Re){n()(mt,Re,ce[Re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(mt,Object.getOwnPropertyDescriptors(ce)):ee(Object(ce)).forEach(function(Re){Object.defineProperty(mt,Re,Object.getOwnPropertyDescriptor(ce,Re))})}return mt}class ie extends f.Component{constructor(){super(...arguments),n()(this,"ref",f.createRef()),n()(this,"state",{isHovered:!1}),n()(this,"handleOnMouseEnter",()=>{this.setState({isHovered:!0})}),n()(this,"handleOnMouseLeave",()=>{this.setState({isHovered:!1})}),n()(this,"handleOnFocus",rt=>{var ce,Re;this.setState({isHovered:!0}),(ce=(Re=this.props).onFocus)===null||ce===void 0||ce.call(Re,rt)}),n()(this,"handleOnBlur",rt=>{var ce,Re;this.setState({isHovered:!1}),(ce=(Re=this.props).onBlur)===null||ce===void 0||ce.call(Re,rt)})}observe(){var rt,ce;(rt=this.rectObserver)===null||rt===void 0||rt.observe(),(ce=this.parentRectObserver)===null||ce===void 0||ce.observe()}unobserve(){var rt,ce;(rt=this.rectObserver)===null||rt===void 0||rt.unobserve(),(ce=this.parentRectObserver)===null||ce===void 0||ce.unobserve()}updateObservationForProps(rt,ce){var Re=this.props.isActive,nt=this.state.isHovered;Re&&!rt.isActive?this.observe():!Re&&rt.isActive&&this.unobserve(),Re||(nt&&!ce.isHovered?this.observe():!nt&&ce.isHovered&&this.unobserve())}componentDidMount(){var rt=this.ref.current;rt&&(this.rectObserver=R(rt,ce=>this.setState({rect:ce})),rt.parentElement&&(this.parentRectObserver=R(rt.parentElement,ce=>this.setState({parentRect:ce})))),this.updateObservationForProps({isActive:!1},{isHovered:!1})}componentDidUpdate(rt,ce){this.updateObservationForProps(rt,ce)}componentWillUnmount(){this.unobserve()}render(){var rt=this.props,ce=rt.height,Re=rt.isActive,nt=rt.children,st=rt.style,vt=rt.onFocus,ze=rt.onBlur,It=rt.sx,on=i()(rt,$),Pn=this.state,Yn=Pn.rect,Ln=Pn.parentRect,bn=Yn&&Ln?Yn.left-Ln.left:0,ir=Re??this.state.isHovered;return f.createElement(U.Z.Consumer,null,Zn=>{var $n=Zn.easing,jt=Zn.time;return f.createElement(f.Fragment,null,f.createElement(j.Z,{as:"span",display:"inline-flex",onBlur:this.handleOnBlur,onFocus:this.handleOnFocus,onMouseEnter:this.handleOnMouseEnter,onMouseLeave:this.handleOnMouseLeave,position:"relative"},nt),f.createElement(j.Z,{ref:this.ref,as:"span",position:"relative"},f.createElement(j.Z,u()({bottom:"-4px",position:"absolute",right:"0",style:te({borderTopWidth:ce,transform:ir?"scaleX(1)":"scaleX(0)",transitionTimingFunction:ir?$n.product.entrance:$n.product.exit,width:bn},st),sx:te({borderTopStyle:"solid",transformOrigin:"left",transitionDuration:jt[500],transitionProperty:"transform"},It)},on))))})}}n()(ie,"defaultProps",{height:2,style:{}});const pe=ie,q=mt=>{var rt=mt.children;return rt};var J=mt=>mt==null?{}:typeof mt=="number"||typeof mt=="string"?{bottom:mt,left:mt,right:mt,top:mt}:mt,me=["children","disabled","hitSlop","interaction","onBlur","onFocus","css"];function re(mt,rt){var ce=Object.keys(mt);if(Object.getOwnPropertySymbols){var Re=Object.getOwnPropertySymbols(mt);rt&&(Re=Re.filter(function(nt){return Object.getOwnPropertyDescriptor(mt,nt).enumerable})),ce.push.apply(ce,Re)}return ce}function he(mt){for(var rt=1;rt<arguments.length;rt++){var ce=arguments[rt]!=null?arguments[rt]:{};rt%2?re(Object(ce),!0).forEach(function(Re){n()(mt,Re,ce[Re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(mt,Object.getOwnPropertyDescriptors(ce)):re(Object(ce)).forEach(function(Re){Object.defineProperty(mt,Re,Object.getOwnPropertyDescriptor(ce,Re))})}return mt}var Ee=(0,g.Z)(_.O,p.C,y.ix,y.$_,O.b,P.F,C.A,A.Dh,y.sx,y.iv,S.c),fe=T.Z.Button(Ee);function H(mt){return typeof mt=="function"&&!(mt.prototype&&mt.prototype.isReactComponent)}var z=(0,f.forwardRef)((mt,rt)=>{var ce,Re,nt,st,vt=mt.children,ze=mt.disabled,It=mt.hitSlop,on=It===void 0?0:It,Pn=mt.interaction,Yn=Pn===void 0?W:Pn,Ln=mt.onBlur,bn=mt.onFocus,ir=mt.css,Zn=i()(mt,me),$n=(0,f.useState)(!1),jt=h()($n,2),Rn=jt[0],jn=jt[1];(0,f.useEffect)(()=>{ze&&jn(!1)},[ze]);var Tn=or=>{bn==null||bn(or),jn(!0)},Nn=or=>{Ln==null||Ln(or),jn(!1)},cn=J(on);return f.createElement(fe,u()({ref:rt,background:"transparent",border:"none",css:he({"&:focus":{outline:"none"},cursor:ze?"not-allowed":"pointer"},ir),disabled:ze,margin:0,marginBottom:-((ce=cn.bottom)!==null&&ce!==void 0?ce:0),marginLeft:-((Re=cn.left)!==null&&Re!==void 0?Re:0),marginRight:-((nt=cn.right)!==null&&nt!==void 0?nt:0),marginTop:-((st=cn.top)!==null&&st!==void 0?st:0),onBlur:Nn,onFocus:Tn,padding:0,paddingBottom:cn.bottom,paddingLeft:cn.left,paddingRight:cn.right,paddingTop:cn.top},Zn),H(Yn)?Yn({children:vt,disabled:ze,focused:Rn}):f.createElement(Yn,{disabled:ze,focused:Rn},vt))});z.displayName="Touchable";const _e=Object.assign(z,{Solid:W,Underline:pe,WithoutFeedback:q});var ae=e(461761),ge=e.n(ae);function Be(mt,rt){var ce=Object.keys(mt);if(Object.getOwnPropertySymbols){var Re=Object.getOwnPropertySymbols(mt);rt&&(Re=Re.filter(function(nt){return Object.getOwnPropertyDescriptor(mt,nt).enumerable})),ce.push.apply(ce,Re)}return ce}function Ke(mt){for(var rt=1;rt<arguments.length;rt++){var ce=arguments[rt]!=null?arguments[rt]:{};rt%2?Be(Object(ce),!0).forEach(function(Re){n()(mt,Re,ce[Re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(mt,Object.getOwnPropertyDescriptors(ce)):Be(Object(ce)).forEach(function(Re){Object.defineProperty(mt,Re,Object.getOwnPropertyDescriptor(ce,Re))})}return mt}var He={bottom:"mb",left:"ml",right:"mr",top:"mt"},ye=f.createContext(null),Le=(mt,rt)=>{var ce=(0,U.F)(),Re=ce.space,nt=ce.sizes,st=parseFloat(nt.sizes[150]),vt=typeof rt=="string"?parseFloat(ge()(nt,rt)||rt):rt,ze=(vt-st)/2,It=J(mt);return Object.entries(It).reduce((on,Pn)=>{var Yn=h()(Pn,2),Ln=Yn[0],bn=Yn[1],ir=typeof Re[bn]<"u"?parseFloat(Re[bn]):bn;return Ke(Ke({},on),{},{[He[Ln]]:"-".concat(ir+ze,"px")})},{})},Ue=mt=>{var rt=(0,f.useContext)(ye);return f.createElement(W,u()({},mt,{sx:Ke({"&:hover":{backgroundColor:mt.disabled?"transparent":"gray.800"},borderRadius:"circle",size:rt},mt.sx)}))};const Xe=Ue;var Fe=mt=>f.createElement(W,u()({display:"block"},mt));const ht=Fe;var Ne=["hitSlop","size","sx"];function Ce(mt,rt){var ce=Object.keys(mt);if(Object.getOwnPropertySymbols){var Re=Object.getOwnPropertySymbols(mt);rt&&(Re=Re.filter(function(nt){return Object.getOwnPropertyDescriptor(mt,nt).enumerable})),ce.push.apply(ce,Re)}return ce}function we(mt){for(var rt=1;rt<arguments.length;rt++){var ce=arguments[rt]!=null?arguments[rt]:{};rt%2?Ce(Object(ce),!0).forEach(function(Re){n()(mt,Re,ce[Re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(mt,Object.getOwnPropertyDescriptors(ce)):Ce(Object(ce)).forEach(function(Re){Object.defineProperty(mt,Re,Object.getOwnPropertyDescriptor(ce,Re))})}return mt}var $e=(0,f.forwardRef)((mt,rt)=>f.createElement(_e,u()({ref:rt,interaction:ht,textAlign:"left",width:"100%"},mt)));$e.displayName="Touchable.Element.Solid";var Ot=(0,f.forwardRef)((mt,rt)=>f.createElement(_e,u()({ref:rt,interaction:_e.Underline},mt)));Ot.displayName="Touchable.Element.Underline";var Pt=(0,f.forwardRef)((mt,rt)=>f.createElement(_e,u()({ref:rt,interaction:_e.WithoutFeedback,textAlign:"left",width:"100%"},mt)));Pt.displayName="Touchable.Element.WithoutFeedback";var Ie=(0,f.forwardRef)((mt,rt)=>{var ce=mt.hitSlop,Re=ce===void 0?0:ce,nt=mt.size,st=nt===void 0?"sizes.200":nt,vt=mt.sx,ze=i()(mt,Ne),It=Le(Re,st);return f.createElement(ye.Provider,{value:st},f.createElement(_e,u()({ref:rt,display:"inline-block",hitSlop:Re,interaction:Xe,size:st,sx:we({"&:focus:before":{outline:2,outlineColor:"gray.100",outlineOffset:"2px",borderRadius:"50%",content:'""',height:"100%",left:0,top:0,pointerEvents:"none",position:"absolute",width:"100%"},"&:focus:not(:focus-visible):before":{outline:"none"},position:"relative"},vt)},It,ze)))});Ie.displayName="Touchable.Element.Icon";const Bt=Object.assign(_e,{Element:{Icon:Ie,Solid:$e,Underline:Ot,WithoutFeedback:Pt}})},54628:function(b,l,e){"use strict";e.d(l,{T:()=>n});var r=e(471184),o={border:0,clip:"rect(0,0,0,0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},n=r.Z.View(o)},9250:function(b,l,e){"use strict";e.r(l),e.d(l,{Touchable:()=>G.Z,Radio:()=>I.Z,Collapsible:()=>n.Z,Button:()=>o.Z,Box:()=>r.Z,Flex:()=>a.Z,VisuallyHidden:()=>k.T,Field:()=>W.g,Text:()=>F.Z,Icon:()=>E,Fieldset:()=>L.p});var r=e(881707),o=e(600994),n=e(719501),a=e(412166),i=e(160553),c=e.n(i),u=e(737968),f=e.n(u),d=e(689291),h=e(688720),g=e(938408),_=e(199946),p=e(194243),y=e(279523),O=e(471184),P=e(47932),C=e(174161),A=["boxSizing","color","size","height","width"],S=(0,d.By)({size:{defaultScale:[16,22,33,44],properties:["width","height"],scale:"iconSizes"}}),T=(0,h.Z)(g.ix,g.$_,_.Dh,p.O,y.b,S,g.sx,g.iv),s=O.Z.Image(T),v=(0,C.forwardRef)((x,M)=>{var B=x.boxSizing,R=B===void 0?"border-box":B,U=x.color,j=x.size,$=j===void 0?1:j,ee=x.height,te=x.width,ie=f()(x,A),ne=(0,P.F)();return C.createElement(s,c()({ref:M,boxSizing:R,color:U,height:ee,size:$,theme:ne,width:te},ie))});v.displayName="Icon";const E=v;var I=e(578541),L=e(128201),W=e(881121),F=e(719484),G=e(425629),k=e(54628)},689291:function(b,l,e){"use strict";e.d(l,{By:()=>S,U2:()=>y,jo:()=>O,qC:()=>T});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n);function i(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function c(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?i(Object(m),!0).forEach(function(E){a()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):i(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var u=Object.assign,f=(s,v)=>{var m=c(c({},s),v);for(var E in s)!s[E]||typeof v[E]!="object"||(m[E]=c(c({},s[E]),v[E]));return m},d=s=>{var v={};return Object.keys(s).sort((m,E)=>m.localeCompare(E,void 0,{numeric:!0,sensitivity:"base"})).forEach(m=>{v[m]=s[m]}),v},h={breakpoints:[40,52,64].map(s=>s+"em")},g=(s,v)=>s.substring(0,v.length)===v,_=s=>typeof s=="string"&&g(s,"@media ")?s:"@media screen and (min-width: ".concat(s,")"),p=(s,v)=>y(v,s,s),y=(s,v,m,E,I)=>{for(v=v&&v.split?v.split("."):[v],E=0;E<v.length;E++)s=s?s[v[E]]:I;return s===I?m:s},O=s=>{var v={},m=I=>{var L={},W=!1,F=I.theme&&I.theme.disableStyledSystemCache;for(var G in I)if(s[G]){var k=s[G],x=I[G],M=y(I.theme,k.scale,k.defaults);if(typeof x=="object"){if(v.breakpoints=!F&&v.breakpoints||y(I.theme,"breakpoints",h.breakpoints),Array.isArray(x)){v.media=!F&&v.media||[null,...v.breakpoints.map(_)],L=f(L,P(v.media,k,M,x,I));continue}x!==null&&(x.valueOf()!==x?L=f(L,k(x,M,I)):L=f(L,C(v.breakpoints,k,M,x,I)),W=!0);continue}u(L,k(x,M,I))}return W&&(L=d(L)),L};m.config=s,m.propNames=Object.keys(s),m.cache=v;var E=Object.keys(s).filter(I=>I!=="config");return E.length>1&&E.forEach(I=>{m[I]=O({[I]:s[I]})}),m},P=(s,v,m,E,I)=>{var L={};return E.slice(0,s.length).forEach((W,F)=>{var G=s[F],k=v(W,m,I);G?u(L,{[G]:u({},L[G],k)}):u(L,k)}),L},C=(s,v,m,E,I)=>{var L={};for(var W in E){var F=E[W],G=v(F,m,I);if(W.endsWith("*")){var k=W.substr(0,W.length-1);for(var x in s){var M=s[x];x.startsWith(k)&&u(L,{[M]:u({},L[M],G)})}continue}var B=s[W];if(!B)u(L,G);else{var R=_(B);u(L,{[R]:u({},L[R],G)})}}return L},A=s=>{var v=s.properties,m=s.property,E=s.scale,I=s.transform,L=I===void 0?p:I,W=s.defaultScale;v=v||[m];var F=(G,k,x)=>{var M=L(G,k,x);if(M!==null)return v.reduce((B,R)=>(B[R]=M,B),{})};return F.scale=E,F.defaults=W,F},S=function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m={};for(var E in v){var I=v[E];I===!0?m[E]=A({property:E,scale:E}):typeof I=="function"?m[E]=I:m[E]=A(I)}return O(m)},T=function(){for(var v={},m=0,E=arguments.length;m<E;++m){var I=m<0||arguments.length<=m?void 0:arguments[m];I&&I.config&&Object.assign(v,I.config)}return O(v)}},191800:function(b,l,e){"use strict";e.d(l,{ZP:()=>T,iv:()=>S});var r=e(642979),o=e.n(r),n=e(392338),a=e.n(n),i=e(689291);function c(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function u(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?c(Object(m),!0).forEach(function(E){o()(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):c(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}var f=[40,52,64].map(s=>s+"em"),d={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},h={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},g={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},_={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outline:"borders",outlineColor:"colors",outlineWidth:"borderWidths",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},p=(s,v)=>{if(typeof v!="number"||v>=0)return(0,i.U2)(s,v,v);var m=Math.abs(v),E=(0,i.U2)(s,m,m);return typeof E=="string"?"-"+E:E*-1},y=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce((s,v)=>(s[v]=p,s),{}),O=(s,v)=>s.substring(0,v.length)===v,P=s=>typeof s=="string"&&O(s,"@media ")?s:"@media screen and (min-width: ".concat(s,")"),C=s=>{s=Array.isArray(s)?s:Object.values(s);var v=Array(s.length+1);v[0]=null;for(var m=1,E=v.length;m<E;++m)v[m]=P(s[m-1]);return v},A=s=>v=>{var m={},E=(0,i.U2)(v,"breakpoints",f),I=C(E);for(var L in s){var W=typeof s[L]=="function"?s[L](v):s[L];if(W!=null){if(!Array.isArray(W)){if(m[L]=W,typeof E=="object"&&typeof W=="object"){var F=!1;for(var G in W){if(G.endsWith("*")){var k=G.substr(0,G.length-1);for(var x in E){var M=E[x];x.startsWith(k)&&(F=!0,m[M]=m[M]||{},m[M][L]=W[G])}continue}var B=E[G];B&&(F=!0,m[B]=m[B]||{},m[B][L]=W[G])}F&&(m[L]=m[L]._)}continue}for(var R=W.slice(0,I.length).length,U=0;U<R;U++){var j=I[U];if(W[U]!=null){if(!j){m[L]=W[U];continue}m[j]=m[j]||{},m[j][L]=W[U]}}}}return m},S=s=>function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=u(u({},d),v.theme||v),E={},I=typeof s=="function"?s(m):s,L=A(I)(m);for(var W in L){var F=L[W],G=typeof F=="function"?F(m):F;if(W==="variant"){var k=S((0,i.U2)(m,G))(m);E=u(u({},E),k);continue}if(G&&typeof G=="object"){E[W]=S(G)(m);continue}var x=(0,i.U2)(h,W,W),M=(0,i.U2)(_,x),B=(0,i.U2)(m,M,(0,i.U2)(m,x,{})),R=(0,i.U2)(y,x,i.U2),U=R(B,G,G),j=U!==void 0?U.valueOf():U;if(g[x])for(var $=g[x],ee=0;ee<$.length;ee++)E[$[ee]]=j;else E[x]=j}return E};const T=S},194243:function(b,l,e){"use strict";e.d(l,{O:()=>c});var r=e(689291),o=!0,n=!0,a=!0,i=!0,c=(0,r.By)({background:!0,backgroundImage:o,backgroundSize:n,backgroundPosition:a,backgroundRepeat:i,bgImage:o,bgSize:n,bgPosition:a,bgRepeat:i}),u=null},481103:function(b,l,e){"use strict";e.d(l,{C:()=>o});var r=e(689291),o=(0,r.By)({border:{property:"border",scale:"borders"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderStyle:{property:"borderStyle",scale:"borderStyles"},borderColor:{property:"borderColor",scale:"colors"},borderRadius:{property:"borderRadius",scale:"radii"},borderTop:{property:"borderTop",scale:"borders"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRight:{property:"borderRight",scale:"borders"},borderBottom:{property:"borderBottom",scale:"borders"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderLeft:{property:"borderLeft",scale:"borders"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"},borderTopWidth:{property:"borderTopWidth",scale:"borderWidths"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderTopStyle:{property:"borderTopStyle",scale:"borderStyles"},borderBottomWidth:{property:"borderBottomWidth",scale:"borderWidths"},borderBottomColor:{property:"borderBottomColor",scale:"colors"},borderBottomStyle:{property:"borderBottomStyle",scale:"borderStyles"},borderLeftWidth:{property:"borderLeftWidth",scale:"borderWidths"},borderLeftColor:{property:"borderLeftColor",scale:"colors"},borderLeftStyle:{property:"borderLeftStyle",scale:"borderStyles"},borderRightWidth:{property:"borderRightWidth",scale:"borderWidths"},borderRightColor:{property:"borderRightColor",scale:"colors"},borderRightStyle:{property:"borderRightStyle",scale:"borderStyles"},outline:{property:"outline",scale:"borders"},outlineWidth:{property:"outlineWidth",scale:"borderWidths"},outlineStyle:{property:"outlineStyle",scale:"borderStyles"},outlineColor:{property:"outlineColor",scale:"colors"},outlineOffset:!0}),n=null},962743:function(b,l,e){"use strict";e.d(l,{GQ:()=>h,c4:()=>g});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(689291);function c(p,y){var O=Object.keys(p);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(p);y&&(P=P.filter(function(C){return Object.getOwnPropertyDescriptor(p,C).enumerable})),O.push.apply(O,P)}return O}function u(p){for(var y=1;y<arguments.length;y++){var O=arguments[y]!=null?arguments[y]:{};y%2?c(Object(O),!0).forEach(function(P){a()(p,P,O[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(O)):c(Object(O)).forEach(function(P){Object.defineProperty(p,P,Object.getOwnPropertyDescriptor(O,P))})}return p}var f={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,gap:{property:"gap",scale:"space"},columnGap:{property:"columnGap",scale:"space"},rowGap:{property:"rowGap",scale:"space"}},d={order:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,alignSelf:!0},h=(0,i.By)(u(u({},f),d)),g=(0,i.By)(d),_=null},279523:function(b,l,e){"use strict";e.d(l,{b:()=>a});var r=e(689291),o=c=>typeof c=="number"&&!isNaN(c),n=(c,u)=>(0,r.U2)(u,c,!o(c)||c>1?c:c*100+"%"),a=(0,r.By)({width:{property:"width",scale:"sizes",transform:n},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},size:{properties:["width","height"],scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0}),i=null},958112:function(b,l,e){"use strict";e.d(l,{F:()=>n});var r=e(689291),o=[0,4,8,16,32,64,128,256,512],n=(0,r.By)({position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:o},right:{property:"right",scale:"space",defaultScale:o},bottom:{property:"bottom",scale:"space",defaultScale:o},left:{property:"left",scale:"space",defaultScale:o}}),a=null},99378:function(b,l,e){"use strict";e.d(l,{A:()=>o});var r=e(689291),o=(0,r.By)({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}}),n=null},199946:function(b,l,e){"use strict";e.d(l,{Dh:()=>s});var r=e(689291),o=[0,4,8,16,32,64,128,256,512],n=m=>typeof m=="number"&&!isNaN(m),a=(m,E)=>{if(!n(m))return(0,r.U2)(E,m,m);var I=m<0,L=Math.abs(m),W=(0,r.U2)(E,L,L);return n(W)?W*(I?-1:1):I?"-"+W:W},i={property:"margin",scale:"space",transform:a,defaultScale:o},c={property:"marginTop",scale:"space",transform:a,defaultScale:o},u={property:"marginRight",scale:"space",transform:a,defaultScale:o},f={property:"marginBottom",scale:"space",transform:a,defaultScale:o},d={property:"marginLeft",scale:"space",transform:a,defaultScale:o},h={properties:["marginLeft","marginRight"],scale:"space",transform:a,defaultScale:o},g={properties:["marginTop","marginBottom"],scale:"space",transform:a,defaultScale:o},_={property:"padding",scale:"space",defaultScale:o},p={property:"paddingTop",scale:"space",defaultScale:o},y={property:"paddingRight",scale:"space",defaultScale:o},O={property:"paddingBottom",scale:"space",defaultScale:o},P={property:"paddingLeft",scale:"space",defaultScale:o},C={properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:o},A={properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:o},S=(0,r.By)({margin:i,marginTop:c,marginRight:u,marginBottom:f,marginLeft:d,marginX:h,marginY:g,m:i,mt:c,mr:u,mb:f,ml:d,mx:h,my:g}),T=(0,r.By)({padding:_,paddingTop:p,paddingRight:y,paddingBottom:O,paddingLeft:P,paddingX:C,paddingY:A,p:_,pt:p,pr:y,pb:O,pl:P,px:C,py:A}),s=(0,r.qC)(S,T),v=null},358485:function(b,l,e){"use strict";e.d(l,{c:()=>n});var r=e(689291),o=[12,14,16,20,24,32,48,64,72],n=(0,r.By)({fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:o},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0}),a=null},85059:function(b,l,e){"use strict";e.d(l,{ZP:()=>G});var r=e(392338),o=e(533036),n=e(886780),a=e(194243),i=e(481103),c=e(689291),u={property:"backgroundColor",scale:"colors"},f=(0,c.By)({color:{property:"color",scale:"colors"},backgroundColor:u,opacity:!0,bg:u});const d=null;var h=e(962743),g=[0,4,8,16,32,64,128,256,512],_=(0,c.By)({gridGap:{property:"gridGap",scale:"space",defaultScale:g},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:g},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:g},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0});const p=null;var y=e(279523),O=e(958112),P=e(99378),C=e(199946),A=e(358485),S=e(191800),T=k=>{var x=k.scale,M=k.prop,B=M===void 0?"variant":M,R=k.variants,U=R===void 0?{}:R,j=k.key,$;return Object.keys(U).length?$=(ee,te,ie)=>(0,S.iv)((0,c.U2)(te,ee,null))(ie.theme):$=(ee,te)=>(0,c.U2)(te,ee,null),$.scale=x||j,$.defaults=U,(0,c.jo)({[B]:$})};const s=null;var v=T({key:"buttons"}),m=T({key:"textStyles",prop:"textStyle"}),E=T({key:"colorStyles",prop:"colors"}),I=(0,c.qC)(a.O,i.C,f,h.GQ,_,y.b,O.F,P.A,C.Dh,A.c,v,E,m),L=I.propNames,W=k=>{var x=new RegExp("^(".concat(k.join("|"),")$"));return(0,o.default)(M=>(0,n.Z)(M)&&!x.test(M))},F=L;const G=W(F)},47932:function(b,l,e){"use strict";e.d(l,{F:()=>u,Z:()=>f});var r=e(174161),o=e(517629),n=e(18724),a=d=>{var h=d.children,g=(0,r.useContext)(o.ThemeContext);return h(Object.keys(g).length===0?n.rosetta.white:g)};const i=a;var c={Provider:o.ThemeProvider,Consumer:i};function u(){var d=(0,r.useContext)(o.ThemeContext);return Object.keys(d).length===0?n.rosetta.white:d}const f=c},688720:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(680180),o=e.n(r),n=e(392338),a=e.n(n),i=e(689291),c=e(934388),u=d=>Object.entries(d).reduce((h,g)=>{var _=o()(g,2),p=_[0],y=_[1];if(p!=="children"&&p!=="value"&&Array.isArray(y)){var O=y,P=o()(O,2),C=P[0],A=P[1];(0,c.a1)(`
`.concat(p,"={[").concat(C,", ").concat(A,`]} is deprecated. Please convert it to:
`).concat(p,`={{
  _: `).concat(A,`,
  'mobile-*': `).concat(C,`,
}}
`)),y={_:A,"mobile-*":C}}return h[p]=y,h},{});const f=function(){for(var d=arguments.length,h=new Array(d),g=0;g<d;g++)h[g]=arguments[g];var _=h.reduce((P,C)=>(C&&C.config?P.styledSystemFns.push(C):P.genericFns.push(C),P),{styledSystemFns:[],genericFns:[]}),p=_.styledSystemFns,y=_.genericFns,O=i.qC.apply(null,p);return P=>{P=u(P);for(var C=O(P),A={},S=0,T=y.length;S<T;S++)Object.assign(A,y[S](P));return Object.assign(C,A)}}},671915:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(680180),o=e.n(r),n=e(392338),a=e(191800),i=e(322470),c=e.n(i),u=e(394470),f=e.n(u);const d={WEB:"web",NATIVE:"native"};var h=p=>Object.entries(p).reduce((y,O)=>{var P=o()(O,2),C=P[0],A=P[1];return C==="pseudo"?Object.keys(A).forEach(S=>{y["&:".concat(S)]=A[S]}):y[C]=A,y},{});const g=function(p,y){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d.WEB;return P=>{var C=P[y],A=P.theme[p];if(C&&A){var S=A[C],T=O==="native"?v=>v:h,s=c()(P,Object.keys(S));return(0,a.ZP)(T(f()(S,Object.keys(s))))(P)}return null}},_=(p,y)=>g(p,y,d.WEB)},460496:function(b,l,e){"use strict";e.r(l),e.d(l,{CacheProvider:()=>r.CacheProvider,Global:()=>r.Global,ThemeContext:()=>A.Z,background:()=>i.O,border:()=>c.C,boxSizing:()=>u.ix,color:()=>u.$_,compose:()=>f.Z,createVariant:()=>d.Z,css:()=>u.iv,cssThemeResolver:()=>u.XF,cursor:()=>u.oc,flexbox:()=>h.GQ,flexboxChild:()=>h.c4,fontSmoothing:()=>a.Z,jsx:()=>r.jsx,keyframes:()=>r.keyframes,layout:()=>g.b,outline:()=>u.Kl,position:()=>_.F,postProcess:()=>n.g,shadow:()=>p.A,shouldForwardProp:()=>y.ZP,space:()=>O.Dh,styled:()=>o.Z,sx:()=>u.sx,system:()=>C.By,textTransform:()=>u.Qx,transform:()=>u.vs,transition:()=>u.eR,typography:()=>P.c,useTheme:()=>A.F,variant:()=>u.bU,withVariants:()=>S.Z});var r=e(517629),o=e(471184),n=e(207571),a=e(775379),i=e(194243),c=e(481103),u=e(938408),f=e(688720),d=e(671915),h=e(962743),g=e(279523),_=e(958112),p=e(99378),y=e(85059),O=e(199946),P=e(358485),C=e(689291),A=e(47932),S=e(712606)},471184:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(446482),o=e(85059),n=e(886780),a=e(392338),i=new Set(["onBlur","onBlurCapture","onCancel","onCancelCapture","onClick","onClickCapture","onClose","onCloseCapture","onContextMenu","onContextMenuCapture","onCopy","onCopyCapture","onCut","onCutCapture","onAuxClick","onAuxClickCapture","onDoubleClick","onDoubleClickCapture","onDragEnd","onDragEndCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onFocus","onFocusCapture","onInput","onInputCapture","onInvalid","onInvalidCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onMouseDown","onMouseDownCapture","onMouseUp","onMouseUpCapture","onPaste","onPasteCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPointerCancel","onPointerCancelCapture","onPointerDown","onPointerDownCapture","onPointerUp","onPointerUpCapture","onRateChange","onRateChangeCapture","onReset","onResetCapture","onSeeked","onSeekedCapture","onSubmit","onSubmitCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchStart","onTouchStartCapture","onVolumeChange","onVolumeChangeCapture","onDrag","onDragCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onPointerMove","onPointerMoveCapture","onPointerOut","onPointerOutCapture","onPointerOver","onPointerOverCapture","onScroll","onScrollCapture","onToggle","onToggleCapture","onTouchMove","onTouchMoveCapture","onWheel","onWheelCapture","onAbort","onAbortCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onAnimationStart","onAnimationStartCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onError","onErrorCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLoad","onLoadCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onLostPointerCapture","onLostPointerCaptureCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onTransitionEnd","onTransitionEndCapture","onWaiting","onWaitingCapture","onMouseEnter","onMouseLeave","onPointerEnter","onPointerLeave","onChange","onChangeCapture","onSelect","onSelectCapture","onBeforeInput","onBeforeInputCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture"]),c=g=>i.has(g),u=g=>(0,n.Z)(g)&&(g.charCodeAt(0)!==111||g.charCodeAt(1)!==110||g.charCodeAt(2)>91),f=g=>(0,o.ZP)(g)&&(u(g)||c(g)),d=Object.assign(r.default,{View:(0,r.default)("div",{shouldForwardProp:f}),Text:(0,r.default)("p",{shouldForwardProp:f}),Image:r.default.img,Button:r.default.button,TextInput:r.default.input});const h=d},775379:function(b,l,e){"use strict";e.d(l,{Z:()=>r});const r=()=>({textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"})},938408:function(b,l,e){"use strict";e.d(l,{XF:()=>k,Kl:()=>I,eR:()=>L,iv:()=>x,oc:()=>E,vs:()=>v,ix:()=>m,Qx:()=>s,sx:()=>M,bU:()=>B,$_:()=>G});var r=e(737968),o=e.n(r),n=e(392338),a=e(689291),i=e(191800),c=e(461761),u=e.n(c),f=e(18724),d=e(207571),h=e(680180),g=e.n(h);function _(R,U){if(U["".concat(R)]!==void 0)return U["".concat(R)];var j="".concat(R);return j.endsWith("ms")?R:j+"ms"}function p(R,U){return u()(U,R,R)}function y(R){return function(){for(var U=arguments.length,j=new Array(U),$=0;$<U;$++)j[$]=arguments[$];try{return R(...j)}catch{return j[0]}}}var O=y(p),P=y(_),C=y((R,U,j)=>{var $=j.theme;return Object.entries(j.transition).map(ee=>{var te=g()(ee,2),ie=te[0],ne=te[1];return"".concat(ie," ").concat(ne.duration?$.time["".concat(ne.duration)]||ne.duration:""," ").concat(ne.function?p(ne.function,$.easing):"")}).join(", ")}),A=["theme"];function S(R){var U=T(R,"string");return typeof U=="symbol"?U:U+""}function T(R,U){if(typeof R!="object"||!R)return R;var j=R[Symbol.toPrimitive];if(j!==void 0){var $=j.call(R,U||"default");if(typeof $!="object")return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return(U==="string"?String:Number)(R)}var s=(0,a.By)({textTransform:!0}),v=(0,a.By)({transform:!0}),m=(0,a.By)({boxSizing:!0}),E=(0,a.By)({cursor:!0}),I=(0,a.By)({outline:!0}),L=(0,a.By)({transitionTimingFunction:{property:"transitionTimingFunction",scale:"easing",defaultScale:f.rosetta.default.easing,transform:O},transitionDuration:{property:"transitionDuration",scale:"time",defaultScale:f.rosetta.default.time,transform:P},transitionProperty:!0,transitionDelay:!0,transition:{property:"transition",transform:C}}),W=(R,U)=>{var j=u()(U,R)||R;return j&&j.valueOf()},F={color:{property:"color",scale:"colors",transform:W},backgroundColor:{property:"backgroundColor",scale:"colors",transform:W},get bg(){return this.backgroundColor},borderColor:{property:"borderColor",scale:"colors",transform:W},borderLeftColor:{property:"borderLeftColor",scale:"colors",transform:W},borderTopColor:{property:"borderTopColor",scale:"colors",transform:W},borderRightColor:{property:"borderRightColor",scale:"colors",transform:W},borderBottomColor:{property:"borderBottomColor",scale:"colors",transform:W},opacity:!0},G=(0,a.By)(F),k=R=>{var U=R.theme,j=o()(R,A);return(0,i.ZP)(j)(U)},x=R=>(0,d.g)(R.css),M=R=>(0,i.ZP)(R.sx)(R.theme),B=R=>{var U=R.prop,j=R.variants,$=R.scale;return ee=>{var te=ee[U||"variant"],ie=o()(ee,[U||"variant"].map(S)),ne=ie.theme,pe=j[te]||ne[$]||{};return M(typeof pe=="function"?{sx:pe(ie),theme:ne}:{sx:pe,theme:ne})}}},207571:function(b,l,e){"use strict";e.d(l,{g:()=>r});var r=o=>o},712606:function(b,l,e){"use strict";e.d(l,{Z:()=>O});var r=e(392338),o=e.n(r),n=e(160553),a=e.n(n),i=e(642979),c=e.n(i),u=e(737968),f=e.n(u),d=e(174161),h=e(47932),g=["sx"];function _(P,C){var A=Object.keys(P);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(P);C&&(S=S.filter(function(T){return Object.getOwnPropertyDescriptor(P,T).enumerable})),A.push.apply(A,S)}return A}function p(P){for(var C=1;C<arguments.length;C++){var A=arguments[C]!=null?arguments[C]:{};C%2?_(Object(A),!0).forEach(function(S){c()(P,S,A[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(A)):_(Object(A)).forEach(function(S){Object.defineProperty(P,S,Object.getOwnPropertyDescriptor(A,S))})}return P}function y(P){return C=>{var A=d.forwardRef((S,T)=>{var s=S.sx,v=f()(S,g),m=(0,h.F)();return d.createElement(P,a()({ref:T,sx:p(p({},C({variant:v.variant||"default",theme:m})),s)},v))});return A.displayName="WithVariants(".concat(P.displayName||P.name||"WrappedComponent",")"),A}}const O=y},18724:function(b,l,e){"use strict";e.r(l),e.d(l,{DEVICE_DESKTOP_SIZES:()=>U.k,DEVICE_MOBILE_SIZES:()=>U.M,getContextualTheme:()=>Rn,rosetta:()=>Zn,RosettaColor:()=>k.f,THEME_USAGE_CONTEXTS:()=>jt});var r=e(976003),o=e.n(r),n=e(392338),a=e(642979),i=e.n(a),c=[0,1,2],u=jn=>jn===0,f=c.map(jn=>u(jn)?"".concat(jn):"".concat(jn,"px")),d=[0,"1px solid","2px solid"],h={product:{default:"cubic-bezier(0.66, 0, 0.34, 1.00)",entrance:"cubic-bezier(0.32, 0.94, 0.60, 1.00)",exit:"cubic-bezier(0.40, 0, 0.68, 0.06)"}},g=[9.75,11,12,14,16,18,22,28,32,40],_=g.map(jn=>"".concat(jn,"px")),p={book:"400",medium:"500",semibold:"600"},y={ui:'Clarkson, "Helvetica Neue", Helvetica, Arial, sans-serif',mono:'"SF Mono", Consolas, "Liberation Mono", Menlo, Courier, monospace'},O=[11,16,22,24,28,32,44],P=O.map(jn=>"".concat(jn,"px")),C=Object.assign([0,4,8],{circle:"50%"}),A=C.map(jn=>"".concat(jn,"px"));A.circle="50%";var S=e(680180),T=e.n(S),s={sizes:{0:0,25:1,50:2,75:6,100:11,125:16,150:22,175:28,200:36,250:44,300:55,350:66,400:77,450:88,700:342,750:400,800:480,900:900,1e3:1440}};function v(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function m(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?v(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):v(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var E={fullwidth:"100vw",sizes:Object.entries(s.sizes).reduce((jn,Tn)=>{var Nn=T()(Tn,2),cn=Nn[0],or=Nn[1];return m(m({},jn),{},{[cn]:"".concat(or,"px")})},{})},I=[0,6,11,16,22,27,33,38,44,49,55],L=I.map(jn=>"".concat(jn,"px")),W={0:0,50:50,100:100,150:150,200:200,250:250,300:300,350:350,400:400,450:450,500:500,550:550,600:600},F=Object.entries(W).reduce((jn,Tn)=>{var Nn=T()(Tn,2),cn=Nn[0],or=Nn[1];return jn[cn]="".concat(or,"ms"),jn},{}),G=["sizes.200","sizes.250","sizes.300"];G.small="sizes.200",G.medium="sizes.250",G.large="sizes.300";var k=e(443932);function x(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function M(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?x(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):x(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var B={light:{100:"0px 2px 8px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)",200:"0px 4px 16px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)",300:"0px 6px 24px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)",400:"0px 8px 32px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)",500:"0px 16px 64px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)"},dark:{100:"0px 2px 8px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)",200:"0px 4px 16px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)",300:"0px 6px 24px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)",400:"0px 8px 32px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)",500:"0px 16px 64px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)"}},R=M(M({},B.light),B),U=e(260209),j={"mobile-0":["only screen and (pointer: coarse) and (orientation: portrait) and (max-device-height: ".concat(U.M.IPHONE_16_PRO_MAX.HEIGHT,"px)"),"only screen and (pointer: coarse) and (orientation: landscape) and (max-device-width: ".concat(U.M.IPHONE_16_PRO_MAX.HEIGHT,"px)")].join(","),"mobile-100":["only screen and (pointer: coarse) and (orientation: portrait) and (min-device-height: ".concat(U.M.IPHONE_16_PRO_MAX.HEIGHT+1,"px) and (max-device-height: ").concat(U.M.IPAD.HEIGHT-1,"px)"),"only screen and (pointer: coarse) and (orientation: landscape) and (min-device-width: ".concat(U.M.IPHONE_16_PRO_MAX.HEIGHT+1,"px) and (max-device-height: ").concat(U.M.IPAD.WIDTH-1,"px)")].join(","),"tablet-0":["only screen and (pointer: coarse) and (orientation: portrait) and (min-device-height: ".concat(U.M.IPAD.HEIGHT,"px) and (max-device-height: ").concat(U.M.IPAD_PRO_13.HEIGHT-1,"px)"),"only screen and (pointer: coarse) and (orientation: landscape) and (min-device-width: ".concat(U.M.IPAD.WIDTH,"px) and (max-device-width: ").concat(U.M.IPAD_PRO_13.HEIGHT-1,"px)")].join(","),"tablet-100":["only screen and (pointer: coarse) and (orientation: portrait) and (min-device-height: ".concat(U.M.IPAD_PRO_13.HEIGHT,"px)"),"only screen and (pointer: coarse) and (orientation: landscape) and (min-device-width: ".concat(U.M.IPAD_PRO_13.HEIGHT,"px)")].join(","),"desktop-0":"only screen and (any-pointer: fine) and (max-width: ".concat(U.k[0],"px)"),"desktop-50":"only screen and (any-pointer: fine) and (min-width: ".concat(U.k[0]+1,"px) and (max-width: ").concat(U.k[1],"px)"),"desktop-100":"only screen and (any-pointer: fine) and (min-width: ".concat(U.k[1]+1,"px)")},$={figure:{boxSizing:"border-box",color:"fg.default",fontWeight:"book",fontFamily:"ui"},displayTitle:{boxSizing:"border-box",color:"fg.default",fontFamily:"ui"},title:{boxSizing:"border-box",color:"fg.default",fontWeight:"semibold",fontFamily:"ui"},sectionTitle:{boxSizing:"border-box",color:"fg.default",fontWeight:"semibold",fontFamily:"ui"},sectionTitleSmall:{boxSizing:"border-box",color:"fg.default",fontWeight:"semibold",fontFamily:"ui"},subtitle:{boxSizing:"border-box",color:"fg.default",fontWeight:"medium",fontFamily:"ui"},body:{boxSizing:"border-box",color:"fg.default",fontWeight:"book",fontFamily:"ui"},caption:{boxSizing:"border-box",color:"gray.300",fontWeight:"book",fontFamily:"ui"},label:{boxSizing:"border-box",color:"gray.300",fontWeight:"medium",fontFamily:"ui",textTransform:"uppercase"},action:{boxSizing:"border-box",color:"fg.default",fontWeight:"medium",fontFamily:"ui",textTransform:"uppercase"},tabular:{boxSizing:"border-box",fontVariantNumeric:"tabular-nums"}};const ee=$;var te=(jn,Tn)=>({_:Tn,"mobile-*":jn}),ie=jn=>{var Tn={};for(var Nn in jn)Tn[Nn]="@media ".concat(jn[Nn]);return Tn};function ne(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function pe(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?ne(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):ne(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var oe={figure:pe(pe({},ee.figure),{},{fontSize:9,lineHeight:6}),displayTitle:pe(pe({},ee.displayTitle),{},{fontSize:7,letterSpacing:"-0.01em",lineHeight:5,fontWeight:"medium"}),title:pe(pe({},ee.title),{},{fontSize:te(7,6),lineHeight:te(5,4)}),sectionTitle:pe(pe({},ee.sectionTitle),{},{fontSize:"20px",lineHeight:"27px",letterSpacing:"-0.01em"}),sectionTitleSmall:pe(pe({},ee.sectionTitleSmall),{},{fontSize:"18px",lineHeight:"27px",letterSpacing:"-0.01em"}),subtitle:pe(pe({},ee.subtitle),{},{fontSize:te(5,4),lineHeight:te(3,2)}),body:pe(pe({},ee.body),{},{fontSize:te(4,3),lineHeight:2}),caption:pe(pe({},ee.caption),{},{fontSize:2,lineHeight:1}),label:pe(pe({},ee.label),{},{display:"block",fontSize:te(1,0),letterSpacing:te("0.5px","0.75px"),lineHeight:1}),action:pe(pe({},ee.action),{},{fontSize:te(3,2),letterSpacing:te("0.25px","0.5px"),lineHeight:2}),tabular:pe({},ee.tabular)};const q=oe;var J={alignItems:"center",borderColor:"transparent",borderStyle:"none",borderWidth:0,boxSizing:"border-box",cursor:"pointer",display:"inline-flex",fontFamily:"ui",fontSize:te(3,2),fontWeight:"medium",justifyContent:"center",letterSpacing:te("0.25px","0.5px"),lineHeight:2,pb:0,pt:0,textDecoration:"none",textTransform:"uppercase"};const me=J;function re(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function he(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?re(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):re(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var Ee=(jn,Tn)=>({pseudo:{disabled:{backgroundColor:jn,color:Tn,cursor:"not-allowed",":before":{content:"unset"}}}}),fe={primary:he(he(he({},me),Ee("gray.900","gray.600")),{},{animationBackgroundColor:"gray.200",backgroundColor:"gray.100",color:"white"}),secondary:he(he(he({},me),Ee("transparent","gray.600")),{},{animationBackgroundColor:"gray.800",backgroundColor:"transparent",borderColor:"gray.800",borderStyle:"solid",borderWidth:1,color:"gray.100"}),tertiary:he(he(he({},me),Ee("transparent","gray.600")),{},{animationBackgroundColor:"transparent",animationDirection:"none",backgroundColor:"transparent",color:"gray.100",p:0}),danger:he(he(he({},me),Ee("transparent","gray.600")),{},{animationBackgroundColor:"transparent",animationDirection:"none",backgroundColor:"transparent",color:"red.300",p:0}),base:he(he(he({},me),Ee("transparent","gray.600")),{},{animationDirection:"none",backgroundColor:"transparent",color:"gray.100",p:0})};function H(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function z(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?H(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):H(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var _e={black:k.O.black,white:k.O.white,blue:k.O.blue,green:k.O.green,red:k.O.red,pink:k.O.pink,orange:k.O.orange,gray:k.O.gray,yellow:k.O.yellow,lime:k.O.lime,teal:k.O.teal,cyan:k.O.cyan,purple:k.O.purple},ae={accent:{default:_e.blue[900],strong:_e.blue[400]},base:_e.gray[950],danger:{default:_e.red[900],strong:_e.red[400]},default:_e.gray[900],inset:_e.gray[950],strong:_e.gray[100],success:{default:_e.green[900],strong:_e.green[400]},warning:{default:_e.yellow[900],strong:_e.yellow[400]}},ge={accent:_e.blue[400],danger:_e.red[400],default:_e.gray[800],strong:_e.gray[100],success:_e.green[400],warning:_e.yellow[400]},Be={accent:_e.blue[300],danger:_e.red[300],default:_e.gray[100],disabled:_e.gray[600],muted:_e.gray[300],onStrong:ae.base,success:_e.green[300],warning:_e.yellow[300]},Ke={base:ae.base,background:ae.base,backgroundFocus:{primary:ae.base,secondary:ae.default},text:{primary:_e.black,secondary:Be.muted,tertiary:Be.muted},lines:{primary:_e.black,secondary:ae.default}},He={borderWidths:f,borders:d,colors:z(z(z({},Ke),_e),{},{bg:ae,border:ge,fg:Be}),easing:h,fontSizes:_,fontWeights:p,fonts:y,lineHeights:P,radii:A,shadows:R.light,sizes:E,space:L,time:F,buttonSizes:G,breakpoints:ie(j),buttons:fe,textStyles:q};const ye=He;function Le(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function Ue(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?Le(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):Le(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var Xe=ye.colors.white,Fe={borderWidths:f,borders:d,colors:Ue(Ue({},ye.colors),{},{background:Xe,backgroundFocus:Ue(Ue({},ye.colors.backgroundFocus),{},{primary:Xe}),base:Xe,bg:Ue(Ue({},ye.colors.bg),{},{base:Xe}),fg:Ue(Ue({},ye.colors.fg),{},{onStrong:Xe})}),easing:h,fontSizes:_,fontWeights:p,fonts:y,lineHeights:P,radii:A,shadows:ye.shadows,sizes:E,space:L,time:F,buttonSizes:G,breakpoints:ye.breakpoints,buttons:ye.buttons,textStyles:q};const ht=Fe;function Ne(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function Ce(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?Ne(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):Ne(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var we={black:k.O.white,white:k.O.gray[100],blue:new k.f("#4389EC",{100:k.O.blue[800],200:k.O.blue[600],300:"#4389EC",400:"#287AE7",500:k.O.blue[300],600:k.O.blue[200],700:k.O.blue[100],800:"#0F214A",900:"#131B30",950:"#131B30"}),green:new k.f("#439A71",{100:k.O.green[800],200:k.O.green[600],300:"#439A71",400:"#208C60",500:k.O.green[300],600:k.O.green[200],700:k.O.green[100],800:"#08291A",900:"#041E11",950:"#041E11"}),red:new k.f("#DD6363",{100:k.O.red[800],200:k.O.red[600],300:"#DD6363",400:"#D8484D",500:k.O.red[300],600:k.O.red[200],700:k.O.red[100],800:"#49080F",900:"#321112",950:"#321112"}),pink:{100:k.O.pink[800],200:k.O.pink[600],300:"#CB62B5",400:"#C54DAE",500:k.O.pink[300],600:k.O.pink[200],700:k.O.pink[100],800:"#3C0F34",900:"#271623",950:"#271623"},orange:{100:k.O.orange[800],200:k.O.orange[600],300:"#CE7233",400:"#C25F0E",500:k.O.orange[300],600:k.O.orange[200],700:k.O.orange[100],800:"#3E1902",900:"#2C1506",950:"#2C1506"},gray:{100:k.O.white,200:"#B9B9B9",300:"#9B9B9B",400:"#7B7B7B",500:"#606060",600:"#4A4A4A",700:"#363636",800:"#2B2B2B",900:"#202020",950:"#171717"},yellow:{100:k.O.yellow[800],200:k.O.yellow[600],300:"#B97F1F",400:"#A87012",500:k.O.yellow[300],600:k.O.yellow[200],700:k.O.yellow[100],800:"#322109",900:"#281803"},lime:{100:k.O.lime[800],200:k.O.lime[600],300:"#6E954A",400:"#5C8734",500:k.O.lime[300],600:k.O.lime[200],700:k.O.lime[100],800:"#172805",900:"#121B0A"},teal:{100:k.O.teal[800],200:k.O.teal[600],300:"#309996",400:"#0E8986",500:k.O.teal[300],600:k.O.teal[200],700:k.O.teal[100],800:"#032928",900:"#081C1C"},cyan:{100:k.O.cyan[800],200:k.O.cyan[600],300:"#2C93C2",400:"#1883B1",500:k.O.cyan[300],600:k.O.cyan[200],700:k.O.cyan[100],800:"#082635",900:"#0E1D25"},purple:{100:k.O.purple[800],200:k.O.purple[600],300:"#8B77F2",400:"#8161F5",500:k.O.purple[300],600:k.O.purple[200],700:k.O.purple[100],800:"#241C43",900:"#1C1831"}},$e=we.white,Ot={accent:{default:we.blue[900],strong:we.blue[400]},base:$e,danger:{default:we.red[900],strong:we.red[400]},default:we.gray[900],inset:we.gray[950],strong:we.gray[100],success:{default:we.green[900],strong:we.green[400]},warning:{default:we.yellow[900],strong:we.yellow[400]}},Pt={accent:we.blue[400],danger:we.red[400],default:we.gray[800],strong:we.gray[100],success:we.green[400],warning:we.yellow[400]},Ie={accent:we.blue[300],danger:we.red[300],default:we.gray[100],disabled:we.gray[600],muted:we.gray[300],onStrong:$e,success:we.green[300],warning:we.yellow[300]},Bt={background:$e,backgroundFocus:{primary:Ot.base,secondary:Ot.default},text:{primary:we.black,secondary:Ie.muted,tertiary:Ie.muted},lines:{primary:we.black,secondary:Ot.default}},mt={borderWidths:f,borders:d,colors:Ce(Ce(Ce({},Bt),we),{},{base:$e,bg:Ot,border:Pt,fg:Ie}),easing:h,fontSizes:_,fontWeights:p,fonts:y,lineHeights:P,radii:A,shadows:R.dark,sizes:E,space:L,time:F,buttonSizes:G,breakpoints:ie(j),buttons:fe,textStyles:q};const rt=mt;function ce(jn,Tn){var Nn=Object.keys(jn);if(Object.getOwnPropertySymbols){var cn=Object.getOwnPropertySymbols(jn);Tn&&(cn=cn.filter(function(or){return Object.getOwnPropertyDescriptor(jn,or).enumerable})),Nn.push.apply(Nn,cn)}return Nn}function Re(jn){for(var Tn=1;Tn<arguments.length;Tn++){var Nn=arguments[Tn]!=null?arguments[Tn]:{};Tn%2?ce(Object(Nn),!0).forEach(function(cn){i()(jn,cn,Nn[cn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(jn,Object.getOwnPropertyDescriptors(Nn)):ce(Object(Nn)).forEach(function(cn){Object.defineProperty(jn,cn,Object.getOwnPropertyDescriptor(Nn,cn))})}return jn}var nt={dark:"#400431",light:"#FFD9F6",medium:"#FF0DC2"},st=new k.f(nt.medium,{100:nt.medium,200:nt.medium,300:nt.medium,400:nt.medium,500:nt.medium,600:nt.medium,700:nt.medium,800:nt.medium,900:nt.medium,950:nt.medium}),vt={black:nt.dark,white:nt.light,blue:st,green:st,red:st,pink:st,orange:st,gray:{100:nt.dark,200:"#730758",300:"#A60A7F",400:"#D90DA6",500:nt.medium,600:"#FF40CF",700:"#FF73DC",800:"#FFA6E9",900:nt.light,950:"#FFF2FC"},yellow:st,lime:st,teal:st,cyan:st,purple:st},ze=vt.white,It={accent:{default:vt.blue[900],strong:vt.blue[400]},base:ze,danger:{default:vt.red[900],strong:vt.red[400]},default:vt.gray[900],inset:vt.gray[950],strong:vt.gray[100],success:{default:vt.green[900],strong:vt.green[400]},warning:{default:vt.yellow[900],strong:vt.yellow[400]}},on={accent:vt.blue[400],danger:vt.red[400],default:vt.gray[400],strong:vt.gray[100],success:vt.green[400],warning:vt.yellow[400]},Pn={accent:vt.blue[300],danger:vt.red[300],default:vt.gray[100],disabled:vt.gray[600],muted:vt.gray[300],onStrong:ze,success:vt.green[300],warning:vt.yellow[300]},Yn={background:ze,backgroundFocus:{primary:It.base,secondary:It.default},text:{primary:vt.black,secondary:Pn.muted,tertiary:Pn.muted},lines:{primary:vt.black,secondary:It.default}},Ln={borderWidths:f,borders:d,colors:Re(Re(Re({},Yn),vt),{},{base:ze,bg:It,border:on,fg:Pn}),easing:h,fontSizes:_,fontWeights:p,fonts:y,lineHeights:P,radii:A,shadows:R.light,sizes:E,space:L,time:F,buttonSizes:G,breakpoints:ie(j),buttons:fe,textStyles:q};const bn=Ln;var ir=ht,Zn={default:ir,lightest:ht,white:ht,light:ye,gray:ye,dark:rt,darkest:rt,debug:bn},$n=function(jn){return jn.ELEVATED="ELEVATED",jn.INLINE="INLINE",jn}($n||{}),jt=$n,Rn=function(Tn){var Nn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:jt.INLINE;return o()(Tn,bn)?bn:Nn==="INLINE"?Tn||ir:o()(Tn,Zn.gray)||o()(Tn,Zn.white)?ir:Tn||ir}},443932:function(b,l,e){"use strict";e.d(l,{O:()=>o,f:()=>r});class r extends String{constructor(a,i){super(a),this.defaultValue=a,this[100]=i[100],this[200]=i[200],this[300]=i[300],this[400]=i[400],this[500]=i[500],this[600]=i[600],this[700]=i[700],this[800]=i[800],this[900]=i[900],this[950]=i[900]}valueOf(){return this.defaultValue}}var o={black:"#313131",white:"#ffffff",blue:new r("#1264D0",{100:"#113267",200:"#154D9D",300:"#0862D1",400:"#0072F0",500:"#4894FF",600:"#6CA4F4",700:"#B9D5FE",800:"#D8E8FE",900:"#F4F5FD",950:"#F4F5FD"}),green:new r("#1B754F",{100:"#123B28",200:"#175A3D",300:"#1B754F",400:"#15865B",500:"#45A57A",600:"#67B28D",700:"#AEDCC2",800:"#CDEDDB",900:"#EDF8F2",950:"#EDF8F2"}),red:new r("#C32D38",{100:"#651218",200:"#96232B",300:"#C32D38",400:"#DB3642",500:"#F36567",600:"#EF8280",700:"#FEC6C4",800:"#FEE0DE",900:"#FEF3F2",950:"#FEF3F2"}),pink:{100:"#581C4D",200:"#822D71",300:"#AB3796",400:"#C63BB0",500:"#E067C9",600:"#DF82CB",700:"#F4C6E9",800:"#F8E0F2",900:"#FCF1F9",950:"#FCF1F9"},orange:{100:"#5E2507",200:"#873809",300:"#AE4906",400:"#C05703",500:"#DA7B3C",600:"#DF8E5C",700:"#FFC8A8",800:"#FCE2D3",900:"#FEF2EC",950:"#FEF2EC"},gray:{100:"#0E0E0E",200:"#454545",300:"#666666",400:"#767676",500:"#949494",600:"#B7B7B7",700:"#D3D3D3",800:"#E7E7E7",900:"#F2F2F2",950:"#F9F9F9"},yellow:{100:"#433214",200:"#6B4811",300:"#925B20",400:"#AB6500",500:"#C48900",600:"#D19800",700:"#F2D173",800:"#FDE696",900:"#FEF5D3"},lime:{100:"#243C08",200:"#37590D",300:"#477114",400:"#57822a",500:"#72A159",600:"#85AD73",700:"#BADDAC",800:"#D9EAD2",900:"#F1F7EE"},teal:{100:"#033D3C",200:"#145858",300:"#0B7374",400:"#038480",500:"#32A49E",600:"#55B2AC",700:"#A8DDD8",800:"#D0EDEA",900:"#E5F9F6"},cyan:{100:"#0F374B",200:"#1B5672",300:"#136F96",400:"#0C7EAB",500:"#389DCC",600:"#5FACD3",700:"#B0DAF1",800:"#D6EAF4",900:"#EFF7FC"},purple:{100:"#352A64",200:"#543DA4",300:"#6d4cd7",400:"#785EF2",500:"#9284FB",600:"#9F97F3",700:"#D0CFFB",800:"#E3E4FE",900:"#F4F3FE"}}},260209:function(b,l,e){"use strict";e.d(l,{M:()=>r,k:()=>o});var r={IPHONE_16_PRO_MAX:{HEIGHT:956,WIDTH:440},IPAD:{HEIGHT:1024,WIDTH:744},IPAD_PRO_13:{HEIGHT:1366,WIDTH:1024}},o=[800,1024]},213865:function(b,l,e){"use strict";e.r(l),e.d(l,{DEVICE_DESKTOP_SIZES:()=>h.k,DEVICE_MOBILE_SIZES:()=>h.M,RosettaColor:()=>g.f,borderWidths:()=>O,borders:()=>y,breakpoints:()=>P,buttonSizes:()=>C,colors:()=>F,easing:()=>$,fontSizes:()=>k,fontWeights:()=>x,fonts:()=>G,lineHeights:()=>M,radii:()=>j,shadows:()=>R,sizes:()=>U,space:()=>B,time:()=>ee});var r=e(642979),o=e.n(r),n=e(737968),a=e.n(n),i=e(680180),c=e.n(i),u=e(392338),f=e.n(u),d=e(18724),h=e(260209),g=e(443932);function _(te,ie){var ne=Object.keys(te);if(Object.getOwnPropertySymbols){var pe=Object.getOwnPropertySymbols(te);ie&&(pe=pe.filter(function(oe){return Object.getOwnPropertyDescriptor(te,oe).enumerable})),ne.push.apply(ne,pe)}return ne}function p(te){for(var ie=1;ie<arguments.length;ie++){var ne=arguments[ie]!=null?arguments[ie]:{};ie%2?_(Object(ne),!0).forEach(function(pe){o()(te,pe,ne[pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(te,Object.getOwnPropertyDescriptors(ne)):_(Object(ne)).forEach(function(pe){Object.defineProperty(te,pe,Object.getOwnPropertyDescriptor(ne,pe))})}return te}var y=d.rosetta.default.borders,O=d.rosetta.default.borderWidths,P=Object.fromEntries(Object.entries(d.rosetta.default.breakpoints).map(te=>{var ie=c()(te,2),ne=ie[0],pe=ie[1];return[ne,pe.replace("@media ","")]})),C=d.rosetta.default.buttonSizes,A=d.rosetta.default.colors,S=A.base,T=A.background,s=A.backgroundFocus,v=A.bg,m=A.border,E=A.fg,I=A.lines,L=A.text,W=a()(A,["base","background","backgroundFocus","bg","border","fg","lines","text"]),F=W,G=d.rosetta.default.fonts,k=d.rosetta.default.fontSizes,x=d.rosetta.default.fontWeights,M=d.rosetta.default.lineHeights,B=d.rosetta.default.space,R=p(p({},d.rosetta.default.shadows),{},{light:d.rosetta.light.shadows,dark:d.rosetta.dark.shadows}),U=d.rosetta.default.sizes,j=d.rosetta.default.radii,$=d.rosetta.default.easing,ee=d.rosetta.default.time},936609:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(737968),o=e.n(r),n=e(174161),a=e(213865),i=e(885630);const c=n.createContext((0,i.i)(a.breakpoints));var u=["lazy","lazyFallback","render"],f=()=>null,d=s=>{var v=s.lazy,m=v===void 0?!0:v,E=s.lazyFallback,I=E===void 0?null:E,L=s.render,W=o()(s,u),F=(0,n.useContext)(c),G=F.name,k=L[G]||L.default||f;return m?n.createElement(n.Suspense,{fallback:I},n.createElement(k,W)):n.createElement(k,W)};d.displayName="Breakpoint.Renderer";const h=d;var g=e(642979),_=e.n(g),p=e(392338),y=e(210750),O=e.n(y);class P extends n.Component{constructor(){super(...arguments),_()(this,"state",{breakpoint:(0,i.i)(this.props.breakpoints,this.props.window)}),_()(this,"onResize",O()(()=>{var v=(0,i.i)(this.props.breakpoints,this.props.window);(!this.state.breakpoint||v.name!==this.state.breakpoint.name)&&this.setState({breakpoint:v})},this.props.resizeThrottle))}static getDerivedStateFromProps(v,m){var E,I=(0,i.i)(v.breakpoints,v.window);return!m||(I==null?void 0:I.name)!==((E=m.breakpoint)===null||E===void 0?void 0:E.name)?{breakpoint:I}:null}render(){var v=this.props,m=v.children,E=v.value;return n.createElement(c.Provider,{value:E||this.state.breakpoint},m)}}_()(P,"displayName","Breakpoint.Provider"),_()(P,"defaultProps",{breakpoints:a.breakpoints,resizeThrottle:100,window});const C=P;class A extends C{componentDidMount(){var v;((v=this.props.window)!==null&&v!==void 0?v:window).addEventListener("resize",this.onResize)}componentWillUnmount(){var v;((v=this.props.window)!==null&&v!==void 0?v:window).removeEventListener("resize",this.onResize)}}const T={Renderer:h,Context:c,Provider:A}},771649:function(b,l,e){"use strict";e.d(l,{Z:()=>g});var r=e(392338),o=e(642979),n=e.n(o),a=e(174161),i=e(422391);function c(_,p){var y=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!y){if(Array.isArray(_)||(y=u(_))||p&&_&&typeof _.length=="number"){y&&(_=y);var O=0,P=function(){};return{s:P,n:function(){return O>=_.length?{done:!0}:{done:!1,value:_[O++]}},e:function(s){throw s},f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var C,A=!0,S=!1;return{s:function(){y=y.call(_)},n:function(){var s=y.next();return A=s.done,s},e:function(s){S=!0,C=s},f:function(){try{A||y.return==null||y.return()}finally{if(S)throw C}}}}function u(_,p){if(_){if(typeof _=="string")return f(_,p);var y={}.toString.call(_).slice(8,-1);return y==="Object"&&_.constructor&&(y=_.constructor.name),y==="Map"||y==="Set"?Array.from(_):y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y)?f(_,p):void 0}}function f(_,p){(p==null||p>_.length)&&(p=_.length);for(var y=0,O=Array(p);y<p;y++)O[y]=_[y];return O}class d extends a.Component{constructor(p){super(p),n()(this,"node",null),n()(this,"onResize",y=>{var O=c(y),P;try{for(O.s();!(P=O.n()).done;){var C=P.value;this.props.onResize&&this.props.onResize(C.contentRect)}}catch(A){O.e(A)}finally{O.f()}}),n()(this,"receiveRef",y=>{if(!y&&this.node){var O;(O=this.observer)===null||O===void 0||O.unobserve(this.node);return}if(this.node){var P;(P=this.observer)===null||P===void 0||P.unobserve(this.node)}if(y&&y!==this.node){var C;(C=this.observer)===null||C===void 0||C.observe(y)}this.node=y}),this.observer=new i.d(this.onResize)}render(){return this.props.children({ref:this.receiveRef})}}const g=d},836418:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(642979),o=e.n(r),n=e(174161),a=e(233284);class i extends n.Component{constructor(d){super(d),o()(this,"node",document.createElement("div")),d.className&&this.node.classList.add(d.className),d.mountAt().appendChild(this.node)}componentWillUnmount(){this.node.parentElement&&this.node.parentElement.removeChild(this.node)}render(){return a.createPortal(this.props.children,this.node)}}o()(i,"defaultProps",{mountAt:()=>document.body});const u=i},936481:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(392338),c=e(174161),u=g=>g.displayName||g.name||"Component";function f(g){var _;return _=class extends c.Component{constructor(){super(...arguments),a()(this,"handleMouseDown",()=>{document.addEventListener("mouseup",this.handleMouseUp)}),a()(this,"handleMouseUp",()=>{this.ref&&this.ref.blur(),document.removeEventListener("mouseup",this.handleMouseUp)}),a()(this,"captureInputRef",y=>{this.ref=y,this.props.captureInputRef&&this.props.captureInputRef(y)})}componentDidMount(){this.ref&&this.ref.addEventListener("mousedown",this.handleMouseDown)}componentWillUnmount(){this.ref&&this.ref.removeEventListener("mousedown",this.handleMouseDown),document.removeEventListener("mouseup",this.handleMouseUp)}render(){return c.createElement(g,o()({},this.props,{captureInputRef:this.captureInputRef}))}},a()(_,"displayName",u(g)),_}const h=f},760193:function(b,l,e){"use strict";e.d(l,{Z:()=>I});var r=e(160553),o=e.n(r),n=e(737968),a=e.n(n),i=e(642979),c=e.n(i),u=e(392338),f=e(174161),d=e(731761),h=e.n(d),g=e(171585),_=e(988482),p=e(406167),y=e.n(p),O=e(915020),P=e.n(O),C=e(540533),A=["position","anchor","anchorPoint","constrainToScreen","getUpdatePosition","updateThreshold","recalculateAnchorOnScroll","scrollNode"],S=22,T="top",s="screen",v=function(W){var F,G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"isOpen",k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,x=W.displayName||W.name||"Component";return F=class extends f.Component{constructor(){var M;super(...arguments),M=this,c()(this,"node",f.createRef()),c()(this,"anchorCoords",null),c()(this,"handleScrollEvent",(B,R)=>{if(this.props.recalculateAnchorOnScroll){this.requestUpdate({recalculateAnchor:!0});return}var U=this.anchorCoords;U&&((0,C.br)(U)?this.anchorCoords=[U[0]+B,U[1]+R]:typeof U=="object"&&(this.anchorCoords=Object.assign({},U,{0:U[0]+B,1:U[1]+R,bottom:U.bottom+R,left:U.left+B,right:U.right+B,top:U.top+R}))),this.requestUpdate()}),c()(this,"handleResize",()=>{this.props[G]&&this.requestUpdate({recalculateAnchor:!0,forceUpdate:!0})}),c()(this,"requestUpdate",function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};M.cancelUpdateRequest(),M._updateRaf=h()(()=>{M.updatePosition(B),M._updateRaf=null})}),c()(this,"cancelUpdateRequest",()=>{this._updateRaf&&(h().cancel(this._updateRaf),this._updateRaf=null)}),c()(this,"updatePosition",B=>{var R=B.recalculateSelf,U=B.recalculateAnchor,j=B.forceUpdate;U&&this.calculateAnchorCoords();var $=this.anchorCoords;if(!this.node.current||!this.position||!$)return null;var ee=this.position,te=!this.rect||R?this.node.current.getBoundingClientRect():this.rect,ie=te.height,ne=te.width,pe=this._updatePosition({width:ne,height:ie,position:ee,anchorCoords:$},j);this.rect=pe,pe!=null&&pe.position&&(this.position=pe.position)}),c()(this,"calculateAnchorCoords",()=>{var B=this.props,R=B.anchor,U=R===void 0?s:R,j=B.anchorPoint,$=B.position,ee=$===void 0?T:$,te=typeof U=="function"?U({anchorPoint:j,position:ee}):U;te&&(this.anchorCoords=(0,C.oE)(te,j)),this.position=(0,C.li)(ee)}),c()(this,"_updatePosition",function(B){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,U=M.props,j=U.constrainToScreen,$=U.updateThreshold;if(M._childComponentPositionUpdater)return M._childComponentPositionUpdater(B,{constrainToScreen:j,updateThreshold:$},R);var ee=B.width,te=B.height,ie=B.position,ne=B.anchorCoords,pe=(0,C.TS)({position:ie,anchorCoords:ne,width:ee,height:te,offsetX:S,offsetY:S,constrainToScreen:j?Object.assign({offset:S/2},j):void 0});if(!R&&!(0,C.Hn)(M.rect,pe,$))return M.rect;var oe=M.node.current;return oe&&(oe.style.left="".concat(pe.left,"px"),oe.style.top="".concat(pe.top,"px")),pe})}componentDidMount(){this.props[G]&&(this.listenToEvents(),this.requestUpdate({recalculateSelf:!0,recalculateAnchor:!0}))}componentDidUpdate(M){var B=this.props[G],R=M[G];if(B){(!R||this.props.anchor!==M.anchor||typeof this.props.anchor=="function")&&this.listenToEvents();var U=!R||this.props.children!==M.children;this.requestUpdate({recalculateSelf:U,recalculateAnchor:!0,forceUpdate:B!==R})}else R&&(this.unlistenEvents(),this.cancelUpdateRequest(),this.anchorCoords=null)}componentWillUnmount(){this.unlistenEvents(),this.cancelUpdateRequest()}listenToEvents(){var M=this.props,B=M.anchor,R=M.scrollNode;B==="selection"?(this.attachResizeEvent(),this.attachScrollEvent(R||(0,C.PZ)())):B&&typeof B=="object"&&"nodeType"in B&&B.nodeType===1?(this.attachResizeEvent(),this.attachScrollEvent(R||B)):B==="screen"?this.attachResizeEvent():typeof B=="function"&&(this.attachResizeEvent(),this.attachScrollEvent(R))}unlistenEvents(){this._detachScrollEvent&&this._detachScrollEvent(),this._detachResizeEvent&&this._detachResizeEvent()}attachScrollEvent(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.node.current;this._detachScrollEvent&&this._detachScrollEvent(),M&&(M.nodeName==="BODY"||M.nodeName==="HTML"?this.attachScrollEventToBody(M):this.attachScrollEventToParents(M))}attachScrollEventToBody(M){var B=P()(y()(M.ownerDocument));(0,_.addScrollListener)(B,this.handleScrollEvent),this._detachScrollEvent=()=>{(0,_.removeScrollListener)(B,this.handleScrollEvent),this._detachScrollEvent=void 0}}attachScrollEventToParents(M){(0,g.addScrollListenerToParents)(M,this.handleScrollEvent,!0),this._detachScrollEvent=()=>{(0,g.removeScrollListenerFromParents)(M,this.handleScrollEvent),this._detachScrollEvent=void 0}}attachResizeEvent(){this._detachResizeEvent&&this._detachResizeEvent(),window.addEventListener("resize",this.handleResize),this._detachResizeEvent=()=>{window.removeEventListener("resize",this.handleResize),this._detachResizeEvent=void 0}}render(){var M=this.props,B=M.position,R=M.anchor,U=M.anchorPoint,j=M.constrainToScreen,$=M.getUpdatePosition,ee=M.updateThreshold,te=M.recalculateAnchorOnScroll,ie=M.scrollNode,ne=a()(M,A),pe=$;return k&&(pe=oe=>{oe&&(this._childComponentPositionUpdater=oe)}),f.createElement(W,o()({},ne,{ref:this.node,getUpdatePosition:pe}))}},c()(F,"displayName","WithPositionHelper(".concat(x,")")),c()(F,"defaultProps",{anchor:s,anchorPoint:{x:"center",y:"middle"},constrainToScreen:!0,position:T,updateThreshold:1,[G]:!1}),F};const m=v;class E extends f.Component{render(){return null}}c()(E,"displayName","WithPositionHelper");const I=m},997803:function(b,l,e){"use strict";e.d(l,{Z:()=>p});var r=e(642979),o=e.n(r),n=e(392338),a=e(174161),i=e(999324),c=e.n(i),u=e(305170);function f(y,O){var P=Object.keys(y);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(y);O&&(C=C.filter(function(A){return Object.getOwnPropertyDescriptor(y,A).enumerable})),P.push.apply(P,C)}return P}function d(y){for(var O=1;O<arguments.length;O++){var P=arguments[O]!=null?arguments[O]:{};O%2?f(Object(P),!0).forEach(function(C){o()(y,C,P[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(P)):f(Object(P)).forEach(function(C){Object.defineProperty(y,C,Object.getOwnPropertyDescriptor(P,C))})}return y}var h=function(O){var P=O.baseIndex,C=P===void 0?3e4:P,A=O.children,S=O.stack,T=(0,a.useRef)((0,u.Z)());(0,a.useEffect)(()=>{var I=T.current;return()=>{var L=S.findIndex(W=>{var F=W.ref;return F.current===I});S.splice(L,1)}},[S]);var s=S.findIndex(I=>{var L=I.ref;return L.current===T.current}),v=S[s];if(!v){var m=c()(S),E=C;m&&(E=Math.max(m.zIndex+1,C)),v={ref:T,zIndex:E},S.push(v)}return a.createElement(a.Fragment,null,typeof A=="function"?A(v.zIndex):A)};function g(y){return window.rosettaZIndexStack=window.rosettaZIndexStack||[],h(d(d({},y),{},{stack:window.rosettaZIndexStack}))}const p=g},51408:function(b,l,e){"use strict";e.d(l,{Z:()=>A});var r=e(392338),o=e(642979),n=e.n(o),a=e(160553),i=e.n(a),c=e(680180),u=e.n(c),f=e(737968),d=e.n(f),h=e(174161),g=e(394470),_=e.n(g),p=["onFocus","onBlur"];function y(S,T){var s=Object.keys(S);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(S);T&&(v=v.filter(function(m){return Object.getOwnPropertyDescriptor(S,m).enumerable})),s.push.apply(s,v)}return s}function O(S){for(var T=1;T<arguments.length;T++){var s=arguments[T]!=null?arguments[T]:{};T%2?y(Object(s),!0).forEach(function(v){n()(S,v,s[v])}):Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(s)):y(Object(s)).forEach(function(v){Object.defineProperty(S,v,Object.getOwnPropertyDescriptor(s,v))})}return S}var P=(S,T)=>{var s=m=>{var E=h.forwardRef((I,L)=>{var W=I.onFocus,F=I.onBlur,G=d()(I,p),k=h.useState(!1),x=u()(k,2),M=x[0],B=x[1];return h.createElement(h.Fragment,null,h.createElement(m,i()({},G,{ref:L,onBlur:R=>{F&&F(R),B(!1)},onFocus:R=>{W&&W(R),B(!0)}})),h.createElement(T,{focused:M}))});return E.displayName="RenderCellElement",E},v=s(S);return S.Container&&Object.assign(v,O(O({},_()(S,Object.keys(v))),{},{Container:s(S.Container)})),v.displayName="WithFocusManagedDivider(".concat(S.displayName||S.name||"WrappedCell",", ").concat(T.displayName||T.name||"WrappedDivider",")"),v};const A=P},413485:function(b,l,e){"use strict";e.d(l,{tH:()=>Be,SD:()=>H,Wb:()=>Le,jv:()=>re,he:()=>ge,Wd:()=>Ce,ZP:()=>Yn,bC:()=>he,dq:()=>me,j2:()=>Ke,er:()=>Ee});var r=e(392338),o=e(642979),n=e.n(o);function a(Ln,bn){var ir=Object.keys(Ln);if(Object.getOwnPropertySymbols){var Zn=Object.getOwnPropertySymbols(Ln);bn&&(Zn=Zn.filter(function($n){return Object.getOwnPropertyDescriptor(Ln,$n).enumerable})),ir.push.apply(ir,Zn)}return ir}function i(Ln){for(var bn=1;bn<arguments.length;bn++){var ir=arguments[bn]!=null?arguments[bn]:{};bn%2?a(Object(ir),!0).forEach(function(Zn){n()(Ln,Zn,ir[Zn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ln,Object.getOwnPropertyDescriptors(ir)):a(Object(ir)).forEach(function(Zn){Object.defineProperty(Ln,Zn,Object.getOwnPropertyDescriptor(ir,Zn))})}return Ln}var c=["Down","ArrowDown"],u=["Left","ArrowLeft"],f=["Right","ArrowRight"],d=["Up","ArrowUp"],h="Alt",g="Backspace",_="CapsLock",p=",",y="Control",O="Delete",P="End",C="Enter",A=["Esc","Escape"],S="Fn",T="FnLock",s="Home",v=["OS","Meta"],m="NumLock",E="PageDown",I="PageUp",L=["Scroll","ScrollLock"],W="Shift",F=["Spacebar"," "],G="Tab",k={1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,0:0},x="F1",M="F2",B="F3",R="F4",U="F5",j="F6",$="F7",ee="F8",te="F9",ie="F10",ne="F11",pe="F12",oe={a:"a",b:"b",c:"c",d:"d",e:"e",f:"f",g:"g",h:"h",i:"i",j:"j",k:"k",l:"l",m:"m",n:"n",o:"o",p:"p",q:"q",r:"r",s:"s",t:"t",u:"u",v:"v",y:"y",z:"z"},q={A:"A",B:"B",C:"C",D:"D",E:"E",F:"F",G:"G",H:"H",I:"I",J:"J",K:"K",L:"L",M:"M",N:"N",O:"O",P:"P",Q:"Q",R:"R",S:"S",T:"T",U:"U",V:"V",Y:"Y",Z:"Z"};const J=i(i(i({Alt:h,ArrowDown:c,ArrowLeft:u,ArrowRight:f,ArrowUp:d,Backspace:g,CapsLock:_,Comma:p,Control:y,Delete:O,End:P,Enter:C,Esc:A,Fn:S,FnLock:T,Home:s,Meta:v,NumLock:m,PageDown:E,PageUp:I,ScrollLock:L,Shift:W,Space:F,Tab:G,F1:x,F2:M,F3:B,F4:R,F5:U,F6:j,F7:$,F8:ee,F9:te,F10:ie,F11:ne,F12:pe},k),oe),q);var me=Ln=>{var bn=Ln.key;return J.ArrowDown.includes(bn)},re=Ln=>{var bn=Ln.key;return J.ArrowLeft.includes(bn)},he=Ln=>{var bn=Ln.key;return J.ArrowRight.includes(bn)},Ee=Ln=>{var bn=Ln.key;return J.ArrowUp.includes(bn)},fe=Ln=>{var bn=Ln.key;return J.Alt===bn},H=Ln=>{var bn=Ln.key;return J.Backspace===bn},z=Ln=>{var bn=Ln.key;return J.CapsLock===bn},_e=Ln=>{var bn=Ln.key;return J.Comma===bn},ae=Ln=>{var bn=Ln.key;return J.Delete===bn},ge=Ln=>{var bn=Ln.key;return J.End===bn},Be=Ln=>{var bn=Ln.key;return J.Enter===bn},Ke=Ln=>{var bn=Ln.key;return J.Esc.includes(bn)},He=Ln=>{var bn=Ln.key;return J.Fn===bn},ye=Ln=>{var bn=Ln.key;return J.FnLock===bn},Le=Ln=>{var bn=Ln.key;return J.Home===bn},Ue=Ln=>{var bn=Ln.key;return J.Meta.includes(bn)},Xe=Ln=>{var bn=Ln.key;return J.NumLock===bn},Fe=Ln=>{var bn=Ln.key;return J.ScrollLock.includes(bn)},ht=Ln=>{var bn=Ln.key;return J.Shift===bn},Ne=Ln=>{var bn=Ln.shiftKey;return bn},Ce=Ln=>{var bn=Ln.key;return J.Space.includes(bn)},we=Ln=>{var bn=Ln.key;return J.Tab===bn},$e=Ln=>{var bn=Ln.key;return KEY.PageDown===bn},Ot=Ln=>{var bn=Ln.key;return KEY.PageUp===bn},Pt=Ln=>{var bn=Ln.key;return J.F1===bn},Ie=Ln=>{var bn=Ln.key;return J.F2===bn},Bt=Ln=>{var bn=Ln.key;return J.F3===bn},mt=Ln=>{var bn=Ln.key;return J.F4===bn},rt=Ln=>{var bn=Ln.key;return J.F5===bn},ce=Ln=>{var bn=Ln.key;return J.F6===bn},Re=Ln=>{var bn=Ln.key;return J.F7===bn},nt=Ln=>{var bn=Ln.key;return J.F8===bn},st=Ln=>{var bn=Ln.key;return J.F9===bn},vt=Ln=>{var bn=Ln.key;return J.F10===bn},ze=Ln=>{var bn=Ln.key;return J.F11===bn},It=Ln=>{var bn=Ln.key;return J.F12===bn},on=(Ln,bn)=>{var ir=Ln.key,Zn=parseInt(bn,10);return ir===String(k[Zn])},Pn=function(bn,ir){var Zn=bn.key,$n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,jt=J[ir];return typeof jt!="string"?!1:$n?Zn.toLowerCase()===jt.toLowerCase():Zn===jt};const Yn={isArrowDown:me,isArrowLeft:re,isArrowRight:he,isArrowUp:Ee,isAlt:fe,isBackspace:H,isCapsLock:z,isComma:_e,isDelete:ae,isEnd:ge,isEnter:Be,isEsc:Ke,isFn:He,isFnLock:ye,isHome:Le,isMeta:Ue,isNumLock:Xe,isScrollLock:Fe,isShift:ht,isShiftAccessory:Ne,isSpace:Ce,isTab:we,isF1:Pt,isF2:Ie,isF3:Bt,isF4:mt,isF5:rt,isF6:ce,isF7:Re,isF8:nt,isF9:st,isF10:vt,isF11:ze,isF12:It,isNumber:on,isCharacter:Pn,KEY:J}},66232:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(413485);const o=r.ZP},795003:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r={name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:n=>{var a=n.state;a.styles.popper.width="".concat(a.rects.reference.width,"px")},effect:n=>{var a=n.state;a.elements.popper.style.width="".concat(a.elements.reference.offsetWidth,"px")}};const o=r},885630:function(b,l,e){"use strict";e.d(l,{i:()=>c});var r=e(680180),o=e.n(r),n=e(392338),a=e.n(n),i=u=>typeof u=="string"&&u.startsWith("@media")?u.replace("@media","").trim():u,c=function(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window,h=Object.entries(f),g=h.findIndex(S=>{var T,s=o()(S,2),v=s[1];return(T=d.matchMedia(i(v)))===null||T===void 0?void 0:T.matches});g===-1&&(g=h.length-1);var _=o()(h[g],2),p=_[0],y=_[1],O=p.split("-"),P=o()(O,2),C=P[0],A=P[1];return{name:p,platform:C,rule:y,scale:A}}},788454:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(392338),o=e.n(r),n=function(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"message",f=[],d=h=>{Object.getOwnPropertyNames(h).forEach(g=>{var _=h[g];g===u&&f.push(_),typeof _=="object"&&_!==null&&d(_)})};return typeof c=="object"&&c!==void 0&&c!==null&&d(c),f};const a=n},579531:function(b,l,e){"use strict";e.d(l,{q:()=>o});var r=e(174161),o=r.forwardRef},944545:function(b,l,e){"use strict";e.d(l,{Z:()=>c,x:()=>i});var r=e(934388),o={href:!0,role:!0,target:!0,title:!0},n={onCopy:!0,onCut:!0,onPaste:!0,onCompositionEnd:!0,onCompositionStart:!0,onCompositionUpdate:!0,onFocus:!0,onFocusCapture:!0,onBlur:!0,onBlurCapture:!0,onInput:!0,onSubmit:!0,onLoad:!0,onError:!0,onKeyDown:!0,onKeyDownCapture:!0,onKeyPress:!0,onKeyUp:!0,onAbort:!0,onCanPlay:!0,onCanPlayThrough:!0,onDurationChange:!0,onEmptied:!0,onEncrypted:!0,onEnded:!0,onLoadedData:!0,onLoadedMetadata:!0,onLoadStart:!0,onPause:!0,onPlay:!0,onPlaying:!0,onProgress:!0,onRateChange:!0,onSeeked:!0,onSeeking:!0,onStalled:!0,onSuspend:!0,onTimeUpdate:!0,onVolumeChange:!0,onWaiting:!0,onClick:!0,onClickCapture:!0,onContextMenu:!0,onDoubleClick:!0,onDrag:!0,onDragEnd:!0,onDragEnter:!0,onDragExit:!0,onDragLeave:!0,onDragOver:!0,onDragStart:!0,onDrop:!0,onMouseDown:!0,onMouseDownCapture:!0,onMouseEnter:!0,onMouseLeave:!0,onMouseMove:!0,onMouseOut:!0,onMouseOver:!0,onMouseUp:!0,onMouseUpCapture:!0,onSelect:!0,onTouchCancel:!0,onTouchEnd:!0,onTouchMove:!0,onTouchStart:!0,onScroll:!0,onWheel:!0},a=u=>{var f={};for(var d in u)(n[d]||o[d]||d.startsWith("data-")||d.startsWith("aria-"))&&(f[d]=u[d]);return f},i=(u,f)=>{switch(u){case"a":return{href:f.href,download:f.download,referrerPolicy:f.referrerPolicy,target:f.target,name:f.name,type:f.type};case"label":return{htmlFor:f.htmlFor};case"div":return{};default:return(0,r.ZK)("".concat(u," not currently supported as a valid tagName")),{}}};const c=a},75902:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(392338),o=e.n(r),n=new Map,a=c=>{var u=n.get(c)||1;return n.set(c,u+1),"".concat(c,"-").concat(u)};const i=a},705198:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(392338),o=e.n(r),n=i=>{var c;return["TWrapper","PluralWrapper","FormattedCurrencyWrapper","FormattedNumberWrapper","FormattedDateTimeWrapper","RelativeTimeWrapper","FormattedQuantityWrapper","FormattedMoneyWrapper"].includes(i==null||(c=i.type)===null||c===void 0?void 0:c.displayName)};const a=n},934388:function(b,l,e){"use strict";e.d(l,{ZK:()=>f,ZP:()=>d,a1:()=>u});var r=e(392338),o=e.n(r),n=new Set,a=(h,g)=>!1,i=h=>typeof h<"u"?"This will be removed in ".concat(h,"."):"This may be removed in the future.",c=h=>{console.warn(h),n.add(h)},u=function(g,_){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,y="Deprecated: ".concat(g," ").concat(i(_));a(y,p)&&c(y)},f=function(g){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;a(g,_)&&c(g)};const d={deprecation:u,warn:f}},786040:function(b,l,e){"use strict";e.d(l,{$:()=>a,Z:()=>i});var r=e(392338),o=e.n(r),n=e(174161),a=function(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return u?Array.isArray(u)?u.map(d=>a(d,f)):typeof u=="function"?u(f):n.isValidElement(u)?n.cloneElement(u,f):typeof u=="string"?u:null:null};const i={renderNode:a}},69772:function(b,l,e){"use strict";e.r(l),e.d(l,{extractSelectedNumberIndices:()=>p,getFloatPrecision:()=>h,getFloatStep:()=>g,isDigit:()=>i,isFloat:()=>d,isHex:()=>c,isNumberSafeChar:()=>u,isValidDigitOrChar:()=>f,parseNumber:()=>_});var r=e(680180),o=e.n(r),n=e(392338),a=e.n(n),i=y=>!isNaN(parseFloat(y)),c=y=>y&&y.startsWith("#"),u=y=>y==="."||y==="-",f=y=>!(i(y)||u(y)),d=y=>y.includes(".")&&!isNaN(parseFloat(y)),h=y=>typeof y=="string"?y.split(".")[1].length:y.toString().split(".")[1].length,g=y=>1/parseInt("1"+"0".repeat(y.split(".")[1].length),10),_=y=>c(y)?parseInt(y.slice(1),16):d(y)?parseFloat(y):parseInt(y,10),p=(y,O)=>{if(c(y))return{left:0,right:y.length};for(var P=/-?\d*\.?\d+/g,C=[],A;(A=P.exec(y))!==null;)C.push(A);if(C.length===1){var S=C[0],T=o()(S,1),s=T[0];return{left:S.index,right:S.index+s.length}}for(var v=y.split(""),m,E,I=O-1;I>=0;I--)if(f(v[I])&&!m){m=I+1;break}for(var L=O;L<y.length;L++)if(f(v[L])&&!E){E=L;break}return{left:m??0,right:E??y.length}}},856166:function(b,l,e){"use strict";e.d(l,{t:()=>h});var r=e(660888),o=e.n(r),n=g=>{var _=g||typeof window<"u"&&window.navigator&&window.navigator.userAgent||"";return o().getParser(_)},a=g=>{var _=n(g);return _.getOS()},i=g=>{var _=n(g);return _.getBrowser()},c=()=>!1,u=()=>!c(),f=function(_){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",y=arguments.length>2?arguments[2]:void 0,O=a(y),P=O.name,C=P===void 0?"":P;return _[C.toLowerCase()]||_[p]},d=function(_){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",y=arguments.length>2?arguments[2]:void 0,O=i(y),P=O.name,C=P===void 0?"":P;return _[C.toLowerCase()]||_[p]},h={getBrowser:i,getOS:a,getParser:n,isNative:c,isWeb:u,selectOS:f,selectBrowser:d}},540533:function(b,l,e){"use strict";e.d(l,{Hn:()=>ne,PZ:()=>v,TS:()=>ie,ZP:()=>pe,br:()=>B,li:()=>S,oE:()=>U});var r=e(392338),o=e.n(r),n=e(934388);function a(oe,q){var J=typeof Symbol<"u"&&oe[Symbol.iterator]||oe["@@iterator"];if(!J){if(Array.isArray(oe)||(J=i(oe))||q&&oe&&typeof oe.length=="number"){J&&(oe=J);var me=0,re=function(){};return{s:re,n:function(){return me>=oe.length?{done:!0}:{done:!1,value:oe[me++]}},e:function(z){throw z},f:re}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var he,Ee=!0,fe=!1;return{s:function(){J=J.call(oe)},n:function(){var z=J.next();return Ee=z.done,z},e:function(z){fe=!0,he=z},f:function(){try{Ee||J.return==null||J.return()}finally{if(fe)throw he}}}}function i(oe,q){if(oe){if(typeof oe=="string")return c(oe,q);var J={}.toString.call(oe).slice(8,-1);return J==="Object"&&oe.constructor&&(J=oe.constructor.name),J==="Map"||J==="Set"?Array.from(oe):J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J)?c(oe,q):void 0}}function c(oe,q){(q==null||q>oe.length)&&(q=oe.length);for(var J=0,me=Array(q);J<q;J++)me[J]=oe[J];return me}var u=new Set(["left","center","right"]),f=new Set(["top","middle","bottom"]),d=[...u,...f],h=a(u),g;try{for(h.s();!(g=h.n()).done;){var _=g.value,p=a(f),y;try{for(p.s();!(y=p.n()).done;){var O=y.value;d.push("".concat(_,"-").concat(O)),d.push("".concat(O,"-").concat(_))}}catch(oe){p.e(oe)}finally{p.f()}}}catch(oe){h.e(oe)}finally{h.f()}var P={bottom:"top",left:"right",right:"left",top:"bottom"},C=oe=>u.has(oe),A=oe=>f.has(oe);function S(oe){d.includes(oe)||(0,n.ZK)('"'.concat(oe,'" is not a valid position'));var q=oe.split("-"),J=q.find(C),me=q.find(A);return{horizontal:J||"center",main:q[0],vertical:me||"middle"}}var T=0,s=0;typeof window<"u"&&window.addEventListener&&window.addEventListener("mousemove",oe=>{T=oe.pageX,s=oe.pageY});function v(){var oe=window.getSelection();return!oe||oe.rangeCount===0?null:oe.getRangeAt(0).commonAncestorContainer}function m(oe){var q=oe[oe.length-1];return oe.slice(0,oe.length-1).reverse().reduce((J,me)=>{var re=me.top,he=me.bottom,Ee=me.left,fe=me.right,H=J[0];return re<H.top&&he>H.bottom?J:re<H.top&&he<=H.top?(J.unshift({top:re,bottom:he,left:Ee,right:fe}),J):(Ee<H.left&&(H.left=Ee),fe>H.right&&(H.right=fe),J)},[{top:q.top,bottom:q.bottom,left:q.left,right:q.right}])}function E(oe){var q=m(oe);return q.slice(1).reduce((J,me)=>{var re=me.top,he=me.bottom,Ee=me.right,fe=me.left;return re<J.top&&(J.top=re),fe<J.left&&(J.left=fe),he>J.bottom&&(J.bottom=he),Ee>J.right&&(J.right=Ee),J},q[0])}function I(oe){for(var q=oe.length,J=oe[0],me=[J],re=1;re<q;re++){var he=oe[re];if(he.top>=J.bottom)break;me.push(he)}return m(me)[0]}function L(oe){for(var q=oe.length-1,J=oe[q],me=[J],re=q-1;re>=0;re--){var he=oe[re];if(he.bottom<=J.top)break;me.unshift(he)}return m(me)[0]}function W(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window,J=q.getSelection();if(!J||J.rangeCount===0)return null;var me=Array.from(J.getRangeAt(0).getClientRects()).sort((he,Ee)=>he.top<Ee.top?-1:he.top>Ee.top?1:0);if(me.length===0)return null;var re;return oe.y==="top"?re=I(me):oe.y==="bottom"?re=L(me):re=E(me),Object.assign(re,{height:re.bottom-re.top,width:re.right-re.left})}var F=new Set(["bottom","height","left","right","top","width"]),G=oe=>F.has(oe);function k(){var oe=window.innerWidth,q=window.innerHeight;return{left:0,top:0,right:oe,bottom:q,width:oe,height:q}}function x(oe){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{0:q.x&&G(q.x)&&oe[q.x]!==void 0?oe[q.x]:oe.left+oe.width/2,1:q.y&&G(q.y)&&oe[q.y]!==void 0?oe[q.y]:oe.top+oe.height/2,bottom:oe.bottom,left:oe.left,right:oe.right,top:oe.top}}var M=oe=>typeof oe=="object"&&!Array.isArray(oe)&&"0"in oe&&typeof oe[0]=="number"&&typeof oe[1]=="number",B=oe=>Array.isArray(oe),R=oe=>typeof oe=="object"&&"nodeType"in oe&&oe.nodeType===1;function U(oe,q){if(B(oe)||M(oe))return oe;if(R(oe))return oe.parentElement?x(oe.getBoundingClientRect(),q):(console.warn("Anchor was a node but did not exist in DOM."),null);switch(oe){case"mouse":return[T,s];case"selection":{var J=W(q);return J?x(J,q):null}case"screen":default:return x(k(),q)}}function j(oe,q,J){var me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;switch(oe){case"left":case"top":return q-J-me;case"center":case"middle":return q-J/2;case"right":case"bottom":return q+me}}function $(oe,q,J,me){return oe<J?oe-J:oe+q>me?oe+q-me:0}var ee=oe=>oe in P;function te(oe){var q=oe.position,J=oe.coord,me=oe.size,re=oe.anchor,he=oe.allAnchors,Ee=oe.min,fe=oe.max,H=oe.offset,z=oe.shiftMarginWhenConstrained,_e=z===void 0?!1:z,ae=ee(q)?P[q]:q,ge=$(J,me,Ee,fe),Be=ge!==0&&!!ae;if(!_e&&Be){var Ke=M(he)&&ee(ae)&&he[ae]!==void 0?he[ae]:re,He=j(ae,Ke,me,H),ye=$(He,me,Ee,fe);Math.abs(ye)<Math.abs(ge)&&(J=He,ge=ye,q=ae)}return{coord:J-ge,position:q}}function ie(oe){var q=oe.position,J=oe.anchorCoords,me=oe.width,re=oe.height,he=oe.offsetX,Ee=oe.offsetY,fe=oe.constrainToScreen,H=q.horizontal,z=q.vertical,_e=j(H,J[0],me,he),ae=j(z,J[1],re,Ee);if(!fe)return{height:re,left:_e,position:q,top:ae,width:me};var ge=te({position:H,coord:_e,size:me,anchor:J[0],allAnchors:J,min:fe.offset,max:window.innerWidth-fe.offset,offset:he,shiftMarginWhenConstrained:fe.shiftMarginWhenConstrained}),Be=ge.coord,Ke=ge.position,He=te({position:z,coord:ae,size:re,anchor:J[1],allAnchors:J,min:fe.offset,max:window.innerHeight-fe.offset,offset:Ee,shiftMarginWhenConstrained:fe.shiftMarginWhenConstrained}),ye=He.coord,Le=He.position;return{height:re,left:Be,position:{horizontal:Ke,main:q.main===q.horizontal?Ke:Le,vertical:Le},top:ye,width:me}}function ne(oe,q){var J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return!oe||!q?!0:oe.position.horizontal!==q.position.horizontal||oe.position.vertical!==q.position.vertical||oe.position.main!==q.position.main||Math.abs(oe.top-q.top)>J||Math.abs(oe.left-q.left)>J}const pe={VALID_POSITIONS:d,POSITION_OPPOSITES:P,parsePosition:S,getSelectedNode:v,getSelectedArea:W,getScreenArea:k,getAnchorCoords:U,getPositionCoord:j,calculateRect:ie,didPositionRectChange:ne}},322533:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(174161),o=e(565805),n=(i,c)=>{var u=(0,o.M)(),f=c??u;return(0,r.useEffect)(()=>{var d=i(f);return d},[i,f]),f};const a=n},201992:function(b,l,e){"use strict";e.d(l,{ZP:()=>O});var r=e(642979),o=e.n(r),n=e(680180),a=e.n(n),i=e(392338),c=e.n(i),u=e(174161);function f(C,A){var S=Object.keys(C);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(C);A&&(T=T.filter(function(s){return Object.getOwnPropertyDescriptor(C,s).enumerable})),S.push.apply(S,T)}return S}function d(C){for(var A=1;A<arguments.length;A++){var S=arguments[A]!=null?arguments[A]:{};A%2?f(Object(S),!0).forEach(function(T){o()(C,T,S[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(S)):f(Object(S)).forEach(function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(S,T))})}return C}var h={DECIMAL:".",MINUS:"-",SPACE:" "},g=C=>C.trim()!==C,_=function(A,S){var T=S.decimal,s=S.minusSign,v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{[T]:h.DECIMAL,[s]:h.MINUS};return A.reduce((m,E)=>{var I=v[E]||E;return E===s?(m=I+m,m):((E===T||E===s||!isNaN(Number(E))&&!g(E))&&(m+=I),m)},"")},p=(C,A)=>_(C,A,{}),y=(C,A,S)=>{var T=S===parseFloat?_:p;return{numeric:S(T([...C.trim()],A))}};function O(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=arguments.length>1?arguments[1]:void 0,S=arguments.length>2?arguments[2]:void 0,T=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0,v=arguments.length>5&&arguments[5]!==void 0?arguments[5]:parseFloat,m=(0,u.useState)(document.activeElement===S),E=a()(m,2),I=E[0],L=E[1],W=T.decimal,F=T.group,G=T.minusSign,k=C.amount,x=C.currency,M=C.mask,B=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",$=y(j,T,v),ee=$.numeric;return{amount:isNaN(ee)?void 0:ee,currency:x,mask:j}};(0,u.useEffect)(()=>{if(S){var U=()=>L(!0),j=()=>L(!1);return S.addEventListener("focus",U),S.addEventListener("blur",j),()=>{S.removeEventListener("focus",U),S.removeEventListener("blur",j)}}},[S]),(0,u.useEffect)(()=>{A(d(d({},C),{},{mask:s(k,x)}))},[s]);var R=new RegExp("^[".concat(G,"]?[0-9").concat(F,"]*[").concat(W,"]?[0-9]*$"));return{formatValue:B,inputProps:I?{inputMode:"decimal",onKeyPress:U=>{R.test(U.key)||U.preventDefault()},value:M}:{value:s(k,x)}}}class P extends u.Component{render(){return null}}o()(P,"displayName","useCurrencyFormat")},272578:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(680180),o=e.n(r),n=e(327836),a=e.n(n),i=e(174161),c=f=>{var d=(0,i.useState)(!1),h=o()(d,2),g=h[0],_=h[1],p=f&&"current"in f?f.current:f;return(0,i.useEffect)(()=>{if(p){var y=()=>_(p.dataset.hasOwnProperty("focusVisibleAdded")),O=()=>_(!1);return p.addEventListener("focus",y),p.addEventListener("blur",O),()=>{p.removeEventListener("focus",y),p.removeEventListener("blur",O)}}},[p]),g};const u=c},872765:function(b,l,e){"use strict";e.d(l,{_:()=>O});var r=e(392338),o=e.n(r),n=e(642979),a=e.n(n),i=e(174161),c=e(305170),u=e(456903),f=e(89807);function d(P,C){var A=Object.keys(P);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(P);C&&(S=S.filter(function(T){return Object.getOwnPropertyDescriptor(P,T).enumerable})),A.push.apply(A,S)}return A}function h(P){for(var C=1;C<arguments.length;C++){var A=arguments[C]!=null?arguments[C]:{};C%2?d(Object(A),!0).forEach(function(S){a()(P,S,A[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(A)):d(Object(A)).forEach(function(S){Object.defineProperty(P,S,Object.getOwnPropertyDescriptor(A,S))})}return P}var g="/api/google-maps/places/details",_={fields:["address_component","formatted_address","place_id","name"].join(",")},p="/api/google-maps/places/autocomplete",y={types:["address"]};function O(P){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y,A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:(0,c.Z)(),S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"",T=arguments.length>4&&arguments[4]!==void 0?arguments[4]:g,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:p,v=i.useRef(A),m=i.useCallback((I,L)=>u.default.get(T,{params:h(h({},_),{},{placeid:I,sessiontoken:v.current},L)}),[v,T]),E=(0,f.Z)({url:s,params:h({language:S,query:P,sessiontoken:v.current},C)},{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!1},void 0,void 0,()=>!!(P&&P.length));return h(h({},E),{},{getPlaceDetails:m})}},565805:function(b,l,e){"use strict";e.d(l,{M:()=>a});var r=e(174161),o=e(305170),n=()=>{var i=(0,r.useMemo)(o.Z,[]);return i},a="useId"in r?r.useId:n},159945:function(b,l,e){"use strict";e.d(l,{Z:()=>O});var r=e(392338),o=e(642979),n=e.n(o),a=e(174161);function i(P,C){let A;return(...S)=>{window.clearTimeout(A),A=window.setTimeout(()=>P(...S),C)}}function c({debounce:P,scroll:C,polyfill:A,offsetSize:S}={debounce:0,scroll:!1,offsetSize:!1}){const T=A||(typeof window>"u"?class{}:window.ResizeObserver);if(!T)throw new Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");const[s,v]=(0,a.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),m=(0,a.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:s,orientationHandler:null}),E=P?typeof P=="number"?P:P.scroll:null,I=P?typeof P=="number"?P:P.resize:null,L=(0,a.useRef)(!1);(0,a.useEffect)(()=>(L.current=!0,()=>void(L.current=!1)));const[W,F,G]=(0,a.useMemo)(()=>{const B=()=>{if(!m.current.element)return;const{left:R,top:U,width:j,height:$,bottom:ee,right:te,x:ie,y:ne}=m.current.element.getBoundingClientRect(),pe={left:R,top:U,width:j,height:$,bottom:ee,right:te,x:ie,y:ne};m.current.element instanceof HTMLElement&&S&&(pe.height=m.current.element.offsetHeight,pe.width=m.current.element.offsetWidth),Object.freeze(pe),L.current&&!g(m.current.lastBounds,pe)&&v(m.current.lastBounds=pe)};return[B,I?i(B,I):B,E?i(B,E):B]},[v,S,E,I]);function k(){m.current.scrollContainers&&(m.current.scrollContainers.forEach(B=>B.removeEventListener("scroll",G,!0)),m.current.scrollContainers=null),m.current.resizeObserver&&(m.current.resizeObserver.disconnect(),m.current.resizeObserver=null),m.current.orientationHandler&&("orientation"in screen&&"removeEventListener"in screen.orientation?screen.orientation.removeEventListener("change",m.current.orientationHandler):"onorientationchange"in window&&window.removeEventListener("orientationchange",m.current.orientationHandler))}function x(){m.current.element&&(m.current.resizeObserver=new T(G),m.current.resizeObserver.observe(m.current.element),C&&m.current.scrollContainers&&m.current.scrollContainers.forEach(B=>B.addEventListener("scroll",G,{capture:!0,passive:!0})),m.current.orientationHandler=()=>{G()},"orientation"in screen&&"addEventListener"in screen.orientation?screen.orientation.addEventListener("change",m.current.orientationHandler):"onorientationchange"in window&&window.addEventListener("orientationchange",m.current.orientationHandler))}const M=B=>{!B||B===m.current.element||(k(),m.current.element=B,m.current.scrollContainers=d(B),x())};return f(G,!!C),u(F),(0,a.useEffect)(()=>{k(),x()},[C,G,F]),(0,a.useEffect)(()=>k,[]),[M,s,W]}function u(P){(0,a.useEffect)(()=>{const C=P;return window.addEventListener("resize",C),()=>void window.removeEventListener("resize",C)},[P])}function f(P,C){(0,a.useEffect)(()=>{if(C){const A=P;return window.addEventListener("scroll",A,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",A,!0)}},[P,C])}function d(P){const C=[];if(!P||P===document.body)return C;const{overflow:A,overflowX:S,overflowY:T}=window.getComputedStyle(P);return[A,S,T].some(s=>s==="auto"||s==="scroll")&&C.push(P),[...C,...d(P.parentElement)]}const h=["x","y","top","bottom","left","right","width","height"],g=(P,C)=>h.every(A=>P[A]===C[A]);var _=e(422391);function p(P,C){var A=Object.keys(P);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(P);C&&(S=S.filter(function(T){return Object.getOwnPropertyDescriptor(P,T).enumerable})),A.push.apply(A,S)}return A}function y(P){for(var C=1;C<arguments.length;C++){var A=arguments[C]!=null?arguments[C]:{};C%2?p(Object(A),!0).forEach(function(S){n()(P,S,A[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(A)):p(Object(A)).forEach(function(S){Object.defineProperty(P,S,Object.getOwnPropertyDescriptor(A,S))})}return P}const O=P=>c(y({polyfill:_.d},P))},87389:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(680180),o=e.n(r),n=e(976003),a=e.n(n),i=e(174161),c=f=>{var d=(0,i.useState)(f),h=o()(d,2),g=h[0],_=h[1];return(0,i.useEffect)(()=>{_(p=>a()(p,f)?p:f)},[f]),g};const u=c},942085:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(392338),o=e.n(r),n=e(174161),a=e(58980),i=e.n(a);function c(){for(var f=arguments.length,d=new Array(f),h=0;h<f;h++)d[h]=arguments[h];var g=n.useCallback(_=>{d.forEach(p=>{typeof p=="function"?p(_):i()(p)&&_!==p.current&&(p.current=_)})},[]);return g}const u=c},628955:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(174161);function o(a){var i=r.useRef();return r.useEffect(()=>{i.current=a},[a]),i.current}const n=o},302720:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(680180),o=e.n(r),n=e(392338),a=e.n(n);function i(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d=>d.startsWith("data-")||d.startsWith("aria-");return Object.entries(u).reduce((d,h)=>{var g=o()(h,2),_=g[0],p=g[1];return f(_)?d.spread[_]=p:d.forward[_]=p,d},{forward:{},spread:{}})}const c=i},89807:function(b,l,e){"use strict";e.d(l,{Z:()=>He});var r=e(392338),o=e(680180),n=e.n(o),a=e(642979),i=e.n(a),c=e(174161),u=Object.prototype.hasOwnProperty;function f(ye,Le){var Ue,Xe;if(ye===Le)return!0;if(ye&&Le&&(Ue=ye.constructor)===Le.constructor){if(Ue===Date)return ye.getTime()===Le.getTime();if(Ue===RegExp)return ye.toString()===Le.toString();if(Ue===Array){if((Xe=ye.length)===Le.length)for(;Xe--&&f(ye[Xe],Le[Xe]););return Xe===-1}if(!Ue||typeof ye=="object"){Xe=0;for(Ue in ye)if(u.call(ye,Ue)&&++Xe&&!u.call(Le,Ue)||!(Ue in Le)||!f(ye[Ue],Le[Ue]))return!1;return Object.keys(Le).length===Xe}}return ye!==ye&&Le!==Le}var d=new WeakMap,h=0;function g(ye){if(!ye.length)return"";for(var Le="arg",Ue=0;Ue<ye.length;++Ue){if(ye[Ue]===null){Le+="@null";continue}var Xe=void 0;typeof ye[Ue]!="object"&&typeof ye[Ue]!="function"?typeof ye[Ue]=="string"?Xe='"'+ye[Ue]+'"':Xe=String(ye[Ue]):d.has(ye[Ue])?Xe=d.get(ye[Ue]):(Xe=h,d.set(ye[Ue],h++)),Le+="@"+Xe}return Le}var _=function(){function ye(Le){Le===void 0&&(Le={}),this.cache=new Map(Object.entries(Le)),this.subs=[]}return ye.prototype.get=function(Le){var Ue=this.serializeKey(Le)[0];return this.cache.get(Ue)},ye.prototype.set=function(Le,Ue){var Xe=this.serializeKey(Le)[0];this.cache.set(Xe,Ue),this.notify()},ye.prototype.keys=function(){return Array.from(this.cache.keys())},ye.prototype.has=function(Le){var Ue=this.serializeKey(Le)[0];return this.cache.has(Ue)},ye.prototype.clear=function(){this.cache.clear(),this.notify()},ye.prototype.delete=function(Le){var Ue=this.serializeKey(Le)[0];this.cache.delete(Ue),this.notify()},ye.prototype.serializeKey=function(Le){var Ue=null;if(typeof Le=="function")try{Le=Le()}catch{Le=""}Array.isArray(Le)?(Ue=Le,Le=g(Le)):Le=String(Le||"");var Xe=Le?"err@"+Le:"",Fe=Le?"validating@"+Le:"";return[Le,Ue,Xe,Fe]},ye.prototype.subscribe=function(Le){var Ue=this;if(typeof Le!="function")throw new Error("Expected the listener to be a function.");var Xe=!0;return this.subs.push(Le),function(){if(Xe){Xe=!1;var Fe=Ue.subs.indexOf(Le);Fe>-1&&(Ue.subs[Fe]=Ue.subs[Ue.subs.length-1],Ue.subs.length--)}}},ye.prototype.notify=function(){for(var Le=0,Ue=this.subs;Le<Ue.length;Le++){var Xe=Ue[Le];Xe()}},ye}();const p=_;var y=!0,O=function(){return y},P=function(){return typeof document<"u"&&document.visibilityState!==void 0?document.visibilityState!=="hidden":!0},C=function(ye){return fetch(ye).then(function(Le){return Le.json()})},A=function(ye){typeof window<"u"&&window.addEventListener!==void 0&&typeof document<"u"&&document.addEventListener!==void 0&&(document.addEventListener("visibilitychange",function(){return ye()},!1),window.addEventListener("focus",function(){return ye()},!1))},S=function(ye){typeof window<"u"&&window.addEventListener!==void 0&&(window.addEventListener("online",function(){y=!0,ye()},!1),window.addEventListener("offline",function(){return y=!1},!1))};const T={isOnline:O,isDocumentVisible:P,fetcher:C,registerOnFocus:A,registerOnReconnect:S};var s=function(){return s=Object.assign||function(ye){for(var Le,Ue=1,Xe=arguments.length;Ue<Xe;Ue++){Le=arguments[Ue];for(var Fe in Le)Object.prototype.hasOwnProperty.call(Le,Fe)&&(ye[Fe]=Le[Fe])}return ye},s.apply(this,arguments)},v=new p;function m(ye,Le,Ue,Xe,Fe){if(Ue.isDocumentVisible()&&!(typeof Ue.errorRetryCount=="number"&&Fe.retryCount>Ue.errorRetryCount)){var ht=Math.min(Fe.retryCount,8),Ne=~~((Math.random()+.5)*(1<<ht))*Ue.errorRetryInterval;setTimeout(Xe,Ne,Fe)}}var E=typeof window<"u"&&navigator.connection&&["slow-2g","2g"].indexOf(navigator.connection.effectiveType)!==-1,I=s({onLoadingSlow:function(){},onSuccess:function(){},onError:function(){},onErrorRetry:m,errorRetryInterval:(E?10:5)*1e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:(E?5:3)*1e3,refreshInterval:0,revalidateOnFocus:!0,revalidateOnReconnect:!0,refreshWhenHidden:!1,refreshWhenOffline:!1,shouldRetryOnError:!0,suspense:!1,compare:f,isPaused:function(){return!1}},T);const L=I;var W=typeof window>"u"||!!(typeof Deno<"u"&&Deno&&Deno.version&&Deno.version.deno),F=W?null:window.requestAnimationFrame?function(ye){return window.requestAnimationFrame(ye)}:function(ye){return setTimeout(ye,1)},G=W?c.useEffect:c.useLayoutEffect,k=(0,c.createContext)({});k.displayName="SWRConfigContext";const x=k;var M=function(ye,Le,Ue,Xe){function Fe(ht){return ht instanceof Ue?ht:new Ue(function(Ne){Ne(ht)})}return new(Ue||(Ue=Promise))(function(ht,Ne){function Ce(Ot){try{$e(Xe.next(Ot))}catch(Pt){Ne(Pt)}}function we(Ot){try{$e(Xe.throw(Ot))}catch(Pt){Ne(Pt)}}function $e(Ot){Ot.done?ht(Ot.value):Fe(Ot.value).then(Ce,we)}$e((Xe=Xe.apply(ye,Le||[])).next())})},B=function(ye,Le){var Ue={label:0,sent:function(){if(ht[0]&1)throw ht[1];return ht[1]},trys:[],ops:[]},Xe,Fe,ht,Ne;return Ne={next:Ce(0),throw:Ce(1),return:Ce(2)},typeof Symbol=="function"&&(Ne[Symbol.iterator]=function(){return this}),Ne;function Ce($e){return function(Ot){return we([$e,Ot])}}function we($e){if(Xe)throw new TypeError("Generator is already executing.");for(;Ue;)try{if(Xe=1,Fe&&(ht=$e[0]&2?Fe.return:$e[0]?Fe.throw||((ht=Fe.return)&&ht.call(Fe),0):Fe.next)&&!(ht=ht.call(Fe,$e[1])).done)return ht;switch(Fe=0,ht&&($e=[$e[0]&2,ht.value]),$e[0]){case 0:case 1:ht=$e;break;case 4:return Ue.label++,{value:$e[1],done:!1};case 5:Ue.label++,Fe=$e[1],$e=[0];continue;case 7:$e=Ue.ops.pop(),Ue.trys.pop();continue;default:if(ht=Ue.trys,!(ht=ht.length>0&&ht[ht.length-1])&&($e[0]===6||$e[0]===2)){Ue=0;continue}if($e[0]===3&&(!ht||$e[1]>ht[0]&&$e[1]<ht[3])){Ue.label=$e[1];break}if($e[0]===6&&Ue.label<ht[1]){Ue.label=ht[1],ht=$e;break}if(ht&&Ue.label<ht[2]){Ue.label=ht[2],Ue.ops.push($e);break}ht[2]&&Ue.ops.pop(),Ue.trys.pop();continue}$e=Le.call(ye,Ue)}catch(Ot){$e=[6,Ot],Fe=0}finally{Xe=ht=0}if($e[0]&5)throw $e[1];return{value:$e[0]?$e[1]:void 0,done:!0}}},R={},U={},j={},$={},ee={},te={},ie={},ne=function(){var ye=0;return function(){return++ye}}();if(!W){var pe=function(ye){if(!(!L.isDocumentVisible()||!L.isOnline()))for(var Le in ye)ye[Le][0]&&ye[Le][0]()};typeof L.registerOnFocus=="function"&&L.registerOnFocus(function(){return pe(j)}),typeof L.registerOnReconnect=="function"&&L.registerOnReconnect(function(){return pe($)})}var oe=function(ye,Le){Le===void 0&&(Le=!0);var Ue=v.serializeKey(ye),Xe=Ue[0],Fe=Ue[2],ht=Ue[3];if(!Xe)return Promise.resolve();var Ne=ee[Xe];if(Xe&&Ne){for(var Ce=v.get(Xe),we=v.get(Fe),$e=v.get(ht),Ot=[],Pt=0;Pt<Ne.length;++Pt)Ot.push(Ne[Pt](Le,Ce,we,$e,Pt>0));return Promise.all(Ot).then(function(){return v.get(Xe)})}return Promise.resolve(v.get(Xe))},q=function(ye,Le,Ue,Xe){var Fe=ee[ye];if(ye&&Fe)for(var ht=0;ht<Fe.length;++ht)Fe[ht](!1,Le,Ue,Xe)},J=function(ye,Le,Ue){return Ue===void 0&&(Ue=!0),M(void 0,void 0,void 0,function(){var Xe,Fe,ht,Ne,Ce,we,$e,Ot,Pt,Ie,Bt,mt,rt;return B(this,function(ce){switch(ce.label){case 0:if(Xe=v.serializeKey(ye),Fe=Xe[0],ht=Xe[2],!Fe)return[2];if(typeof Le>"u")return[2,oe(ye,Ue)];if(te[Fe]=ne()-1,ie[Fe]=0,Ne=te[Fe],Ce=U[Fe],Ot=!1,Le&&typeof Le=="function")try{Le=Le(v.get(Fe))}catch(Re){Le=void 0,$e=Re}if(!(Le&&typeof Le.then=="function"))return[3,5];Ot=!0,ce.label=1;case 1:return ce.trys.push([1,3,,4]),[4,Le];case 2:return we=ce.sent(),[3,4];case 3:return Pt=ce.sent(),$e=Pt,[3,4];case 4:return[3,6];case 5:we=Le,ce.label=6;case 6:if(Ie=function(){if(Ne!==te[Fe]||Ce!==U[Fe]){if($e)throw $e;return!0}},Ie())return[2,we];if(typeof we<"u"&&v.set(Fe,we),v.set(ht,$e),ie[Fe]=ne()-1,!Ot&&Ie())return[2,we];if(Bt=ee[Fe],Bt){for(mt=[],rt=0;rt<Bt.length;++rt)mt.push(Bt[rt](!!Ue,we,$e,void 0,rt>0));return[2,Promise.all(mt).then(function(){if($e)throw $e;return v.get(Fe)})]}if($e)throw $e;return[2,we]}})})};function me(){for(var ye=this,Le=[],Ue=0;Ue<arguments.length;Ue++)Le[Ue]=arguments[Ue];var Xe=Le[0],Fe=Object.assign({},L,(0,c.useContext)(x),Le.length>2?Le[2]:Le.length===2&&typeof Le[1]=="object"?Le[1]:{}),ht=Le.length>2||Le.length===2&&typeof Le[1]=="function"||Le[1]===null?Le[1]:Fe.fetcher,Ne=v.serializeKey(Xe),Ce=Ne[0],we=Ne[1],$e=Ne[2],Ot=Ne[3],Pt=(0,c.useRef)(Fe);G(function(){Pt.current=Fe});var Ie=function(){return Fe.revalidateOnMount||!Fe.initialData&&Fe.revalidateOnMount===void 0},Bt=function(){var Rn=v.get(Ce);return typeof Rn>"u"?Fe.initialData:Rn},mt=function(){return!!v.get(Ot)||Ce&&Ie()},rt=Bt(),ce=v.get($e),Re=mt(),nt=(0,c.useRef)({data:!1,error:!1,isValidating:!1}),st=(0,c.useRef)({data:rt,error:ce,isValidating:Re});(0,c.useDebugValue)(st.current.data);var vt=(0,c.useState)({})[1],ze=(0,c.useCallback)(function(Rn){var jn=!1;for(var Tn in Rn)st.current[Tn]!==Rn[Tn]&&(st.current[Tn]=Rn[Tn],nt.current[Tn]&&(jn=!0));if(jn){if(It.current||!Pn.current)return;vt({})}},[]),It=(0,c.useRef)(!1),on=(0,c.useRef)(Ce),Pn=(0,c.useRef)(!1),Yn=(0,c.useCallback)(function(Rn){for(var jn,Tn=[],Nn=1;Nn<arguments.length;Nn++)Tn[Nn-1]=arguments[Nn];It.current||Pn.current&&Ce===on.current&&(jn=Pt.current)[Rn].apply(jn,Tn)},[Ce]),Ln=(0,c.useCallback)(function(Rn,jn){return J(on.current,Rn,jn)},[]),bn=function(Rn,jn){return Rn[Ce]?Rn[Ce].push(jn):Rn[Ce]=[jn],function(){var Tn=Rn[Ce],Nn=Tn.indexOf(jn);Nn>=0&&(Tn[Nn]=Tn[Tn.length-1],Tn.pop())}},ir=(0,c.useCallback)(function(Rn){return Rn===void 0&&(Rn={}),M(ye,void 0,void 0,function(){var jn,Tn,Nn,cn,or,qn,Hr,fo,Jr,ro;return B(this,function(Xt){switch(Xt.label){case 0:if(!Ce||!ht)return[2,!1];if(It.current)return[2,!1];if(Pt.current.isPaused())return[2,!1];jn=Rn.retryCount,Tn=jn===void 0?0:jn,Nn=Rn.dedupe,cn=Nn===void 0?!1:Nn,or=!0,qn=typeof R[Ce]<"u"&&cn,Xt.label=1;case 1:return Xt.trys.push([1,6,,7]),ze({isValidating:!0}),v.set(Ot,!0),qn||q(Ce,st.current.data,st.current.error,!0),Hr=void 0,fo=void 0,qn?(fo=U[Ce],[4,R[Ce]]):[3,3];case 2:return Hr=Xt.sent(),[3,5];case 3:return Fe.loadingTimeout&&!v.get(Ce)&&setTimeout(function(){or&&Yn("onLoadingSlow",Ce,Fe)},Fe.loadingTimeout),we!==null?R[Ce]=ht.apply(void 0,we):R[Ce]=ht(Ce),U[Ce]=fo=ne(),[4,R[Ce]];case 4:Hr=Xt.sent(),setTimeout(function(){delete R[Ce],delete U[Ce]},Fe.dedupingInterval),Yn("onSuccess",Hr,Ce,Fe),Xt.label=5;case 5:return U[Ce]>fo?[2,!1]:te[Ce]&&(fo<=te[Ce]||fo<=ie[Ce]||ie[Ce]===0)?(ze({isValidating:!1}),[2,!1]):(v.set($e,void 0),v.set(Ot,!1),Jr={isValidating:!1},typeof st.current.error<"u"&&(Jr.error=void 0),Fe.compare(st.current.data,Hr)||(Jr.data=Hr),Fe.compare(v.get(Ce),Hr)||v.set(Ce,Hr),ze(Jr),qn||q(Ce,Hr,Jr.error,!1),[3,7]);case 6:return ro=Xt.sent(),delete R[Ce],delete U[Ce],Pt.current.isPaused()?(ze({isValidating:!1}),[2,!1]):(v.set($e,ro),st.current.error!==ro&&(ze({isValidating:!1,error:ro}),qn||q(Ce,void 0,ro,!1)),Yn("onError",ro,Ce,Fe),Fe.shouldRetryOnError&&Yn("onErrorRetry",ro,Ce,Fe,ir,{retryCount:Tn+1,dedupe:!0}),[3,7]);case 7:return or=!1,[2,!0]}})})},[Ce]);G(function(){if(Ce){It.current=!1;var Rn=Pn.current;Pn.current=!0;var jn=st.current.data,Tn=Bt();on.current=Ce,Fe.compare(jn,Tn)||ze({data:Tn});var Nn=function(){return ir({dedupe:!0})};(Rn||Ie())&&(typeof Tn<"u"&&!W?F(Nn):Nn());var cn=!1,or=function(){cn||!Pt.current.revalidateOnFocus||(cn=!0,Nn(),setTimeout(function(){return cn=!1},Pt.current.focusThrottleInterval))},qn=function(){Pt.current.revalidateOnReconnect&&Nn()},Hr=function(Xt,Je,At,xt,Qt){Xt===void 0&&(Xt=!0),Qt===void 0&&(Qt=!0);var qt={},Te=!1;return typeof Je<"u"&&!Fe.compare(st.current.data,Je)&&(qt.data=Je,Te=!0),st.current.error!==At&&(qt.error=At,Te=!0),typeof xt<"u"&&st.current.isValidating!==xt&&(qt.isValidating=xt,Te=!0),Te&&ze(qt),Xt?Qt?Nn():ir():!1},fo=bn(j,or),Jr=bn($,qn),ro=bn(ee,Hr);return function(){ze=function(){return null},It.current=!0,fo(),Jr(),ro()}}},[Ce,ir]),G(function(){var Rn=null,jn=function(){return M(ye,void 0,void 0,function(){return B(this,function(Tn){switch(Tn.label){case 0:return!st.current.error&&(Pt.current.refreshWhenHidden||Pt.current.isDocumentVisible())&&(Pt.current.refreshWhenOffline||Pt.current.isOnline())?[4,ir({dedupe:!0})]:[3,2];case 1:Tn.sent(),Tn.label=2;case 2:return Pt.current.refreshInterval&&Rn&&(Rn=setTimeout(jn,Pt.current.refreshInterval)),[2]}})})};return Pt.current.refreshInterval&&(Rn=setTimeout(jn,Pt.current.refreshInterval)),function(){Rn&&(clearTimeout(Rn),Rn=null)}},[Fe.refreshInterval,Fe.refreshWhenHidden,Fe.refreshWhenOffline,ir]);var Zn,$n;if(Fe.suspense){if(Zn=v.get(Ce),$n=v.get($e),typeof Zn>"u"&&(Zn=rt),typeof $n>"u"&&($n=ce),typeof Zn>"u"&&typeof $n>"u"){if(R[Ce]||ir(),R[Ce]&&typeof R[Ce].then=="function")throw R[Ce];Zn=R[Ce]}if(typeof Zn>"u"&&$n)throw $n}var jt=(0,c.useMemo)(function(){var Rn={revalidate:ir,mutate:Ln};return Object.defineProperties(Rn,{error:{get:function(){return nt.current.error=!0,Fe.suspense?$n:on.current===Ce?st.current.error:ce},enumerable:!0},data:{get:function(){return nt.current.data=!0,Fe.suspense?Zn:on.current===Ce?st.current.data:rt},enumerable:!0},isValidating:{get:function(){return nt.current.isValidating=!0,Ce?st.current.isValidating:!1},enumerable:!0}}),Rn},[ir,rt,ce,Ln,Ce,Fe.suspense,$n,Zn]);return jt}Object.defineProperty(x.Provider,"default",{value:L});var re=x.Provider;const he=me;var Ee=function(ye,Le,Ue,Xe){function Fe(ht){return ht instanceof Ue?ht:new Ue(function(Ne){Ne(ht)})}return new(Ue||(Ue=Promise))(function(ht,Ne){function Ce(Ot){try{$e(Xe.next(Ot))}catch(Pt){Ne(Pt)}}function we(Ot){try{$e(Xe.throw(Ot))}catch(Pt){Ne(Pt)}}function $e(Ot){Ot.done?ht(Ot.value):Fe(Ot.value).then(Ce,we)}$e((Xe=Xe.apply(ye,Le||[])).next())})},fe=function(ye,Le){var Ue={label:0,sent:function(){if(ht[0]&1)throw ht[1];return ht[1]},trys:[],ops:[]},Xe,Fe,ht,Ne;return Ne={next:Ce(0),throw:Ce(1),return:Ce(2)},typeof Symbol=="function"&&(Ne[Symbol.iterator]=function(){return this}),Ne;function Ce($e){return function(Ot){return we([$e,Ot])}}function we($e){if(Xe)throw new TypeError("Generator is already executing.");for(;Ue;)try{if(Xe=1,Fe&&(ht=$e[0]&2?Fe.return:$e[0]?Fe.throw||((ht=Fe.return)&&ht.call(Fe),0):Fe.next)&&!(ht=ht.call(Fe,$e[1])).done)return ht;switch(Fe=0,ht&&($e=[$e[0]&2,ht.value]),$e[0]){case 0:case 1:ht=$e;break;case 4:return Ue.label++,{value:$e[1],done:!1};case 5:Ue.label++,Fe=$e[1],$e=[0];continue;case 7:$e=Ue.ops.pop(),Ue.trys.pop();continue;default:if(ht=Ue.trys,!(ht=ht.length>0&&ht[ht.length-1])&&($e[0]===6||$e[0]===2)){Ue=0;continue}if($e[0]===3&&(!ht||$e[1]>ht[0]&&$e[1]<ht[3])){Ue.label=$e[1];break}if($e[0]===6&&Ue.label<ht[1]){Ue.label=ht[1],ht=$e;break}if(ht&&Ue.label<ht[2]){Ue.label=ht[2],Ue.ops.push($e);break}ht[2]&&Ue.ops.pop(),Ue.trys.pop();continue}$e=Le.call(ye,Ue)}catch(Ot){$e=[6,Ot],Fe=0}finally{Xe=ht=0}if($e[0]&5)throw $e[1];return{value:$e[0]?$e[1]:void 0,done:!0}}},H=function(ye,Le){var Ue={};for(var Xe in ye)Object.prototype.hasOwnProperty.call(ye,Xe)&&Le.indexOf(Xe)<0&&(Ue[Xe]=ye[Xe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,Xe=Object.getOwnPropertySymbols(ye);Fe<Xe.length;Fe++)Le.indexOf(Xe[Fe])<0&&Object.prototype.propertyIsEnumerable.call(ye,Xe[Fe])&&(Ue[Xe[Fe]]=ye[Xe[Fe]]);return Ue};function z(){for(var ye=this,Le=[],Ue=0;Ue<arguments.length;Ue++)Le[Ue]=arguments[Ue];var Xe=Le[0],Fe=Object.assign({},defaultConfig,useContext(SWRConfigContext),Le.length>2?Le[2]:Le.length===2&&typeof Le[1]=="object"?Le[1]:{}),ht=Le.length>2||Le.length===2&&typeof Le[1]=="function"?Le[1]:Fe.fetcher,Ne=Fe.initialSize,Ce=Ne===void 0?1:Ne,we=Fe.revalidateAll,$e=we===void 0?!1:we,Ot=Fe.persistSize,Pt=Ot===void 0?!1:Ot,Ie=H(Fe,["initialSize","revalidateAll","persistSize"]),Bt=null;try{Bt=cache.serializeKey(Xe(0,null))[0]}catch{}var mt=useState({})[1],rt=null;Bt&&(rt="ctx@"+Bt);var ce=null;Bt&&(ce="len@"+Bt);var Re=useRef(!1),nt=useCallback(function(){var Yn=cache.get(ce);return typeof Yn<"u"?Yn:Ce},[ce,Ce]),st=useRef(nt());useIsomorphicLayoutEffect(function(){if(!Re.current){Re.current=!0;return}cache.set(ce,Pt?st.current:Ce)},[Bt]);var vt=useRef(),ze=useSWR(Bt?["inf",Bt]:null,function(){return Ee(ye,void 0,void 0,function(){var Yn,Ln,bn,ir,Zn,$n,jt,Rn,jn,Tn,Nn,cn;return fe(this,function(or){switch(or.label){case 0:Yn=cache.get(rt)||{},Ln=Yn.data,bn=Yn.force,ir=[],Zn=nt(),$n=null,jt=0,or.label=1;case 1:return jt<Zn?(Rn=cache.serializeKey(Xe(jt,$n)),jn=Rn[0],Tn=Rn[1],jn?(Nn=cache.get(jn),cn=$e||bn||typeof Nn>"u"||typeof bn>"u"&&jt===0&&typeof vt.current<"u"||Ln&&!Fe.compare(Ln[jt],Nn),cn?Tn===null?[3,3]:[4,ht.apply(void 0,Tn)]:[3,6]):[3,8]):[3,8];case 2:return Nn=or.sent(),[3,5];case 3:return[4,ht(jn)];case 4:Nn=or.sent(),or.label=5;case 5:cache.set(jn,Nn),or.label=6;case 6:ir.push(Nn),$n=Nn,or.label=7;case 7:return++jt,[3,1];case 8:return cache.delete(rt),[2,ir]}})})},Ie);useIsomorphicLayoutEffect(function(){vt.current=ze.data},[ze.data]);var It=useCallback(function(Yn,Ln){if(Ln===void 0&&(Ln=!0),Ln&&typeof Yn<"u"){var bn=vt.current;cache.set(rt,{data:bn,force:!1})}else Ln&&cache.set(rt,{force:!0});return ze.mutate(Yn,Ln)},[rt]),on=useCallback(function(Yn){var Ln;return typeof Yn=="function"?Ln=Yn(nt()):typeof Yn=="number"&&(Ln=Yn),typeof Ln=="number"&&(cache.set(ce,Ln),st.current=Ln),mt({}),It(function(bn){return bn})},[ce,nt,It,mt]),Pn={size:nt(),setSize:on,mutate:It};return Object.defineProperties(Pn,{error:{get:function(){return ze.error},enumerable:!0},data:{get:function(){return ze.data},enumerable:!0},revalidate:{get:function(){return ze.revalidate},enumerable:!0},isValidating:{get:function(){return ze.isValidating},enumerable:!0}}),Pn}const _e=he;var ae=e(456903);function ge(ye,Le){var Ue=Object.keys(ye);if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(ye);Le&&(Xe=Xe.filter(function(Fe){return Object.getOwnPropertyDescriptor(ye,Fe).enumerable})),Ue.push.apply(Ue,Xe)}return Ue}function Be(ye){for(var Le=1;Le<arguments.length;Le++){var Ue=arguments[Le]!=null?arguments[Le]:{};Le%2?ge(Object(Ue),!0).forEach(function(Xe){i()(ye,Xe,Ue[Xe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ye,Object.getOwnPropertyDescriptors(Ue)):ge(Object(Ue)).forEach(function(Xe){Object.defineProperty(ye,Xe,Object.getOwnPropertyDescriptor(Ue,Xe))})}return ye}var Ke=ye=>JSON.stringify(Be(Be({},ye),{},{params:Object.entries(ye.params||{}).reduce((Le,Ue)=>{var Xe=n()(Ue,2),Fe=Xe[0],ht=Xe[1];return Be(Be({},Le),{},{[Fe]:typeof ht=="function"?ht.toString():ht})},{})}));function He(ye){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ke(ye),Xe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:ae.default,Fe=arguments.length>4?arguments[4]:void 0,ht=(0,c.useState)(),Ne=n()(ht,2),Ce=Ne[0],we=Ne[1],$e=ye.onDownloadProgress,Ot=ye.onUploadProgress,Pt=_e(Ue,()=>{if(!(typeof Fe=="function"&&!Fe(ye,Le,Ue)))return Xe(Be(Be({},ye),{},{onDownloadProgress:ce=>{we(ce),typeof $e=="function"&&$e(ce)},onUploadProgress:ce=>{we(ce),typeof Ot=="function"&&Ot(ce)}}))},Le),Ie=Pt.data,Bt=Pt.error,mt=Pt.isValidating,rt=Pt.revalidate;return{progress:Ce,data:Ie&&Ie.data,response:Ie,error:Bt,isValidating:mt,revalidate:rt}}},11790:function(b,l,e){"use strict";e.d(l,{Z:()=>F});var r=e(642979),o=e.n(r),n=e(680180),a=e.n(n),i=e(737968),c=e.n(i),u=e(392338),f=e(174161),d=e(976003),h=e.n(d),g=e(860921),_=e.n(g),p=e(413485),y=["handleArrowDown","handleArrowUp","handleArrowLeft","handleArrowRight","handleCharacter","isMulti","isOpen","onSelect","options","setIsOpen","value"];function O(G,k){var x=Object.keys(G);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(G);k&&(M=M.filter(function(B){return Object.getOwnPropertyDescriptor(G,B).enumerable})),x.push.apply(x,M)}return x}function P(G){for(var k=1;k<arguments.length;k++){var x=arguments[k]!=null?arguments[k]:{};k%2?O(Object(x),!0).forEach(function(M){o()(G,M,x[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(x)):O(Object(x)).forEach(function(M){Object.defineProperty(G,M,Object.getOwnPropertyDescriptor(x,M))})}return G}var C=-1,A=(G,k)=>{for(;G<0;)G+=k;for(;G>=k;)G-=k;return G},S=1e3,T=(G,k)=>k===void 0||G[k]&&G[k].isDisabled,s=function(k,x,M){for(var B=arguments.length>3&&arguments[3]!==void 0?arguments[3]:T,R=A(k(x),M.length);B(M,R)&&R!==x;)R=A(k(R),M.length);return R},v=(G,k)=>s(x=>x+1,G,k),m=(G,k)=>s(x=>x-1,G,k),E=G=>G,I=G=>G,L=(G,k,x)=>(M,B,R)=>{if((0,p.SD)(M))return k(""),0;var U=/^[a-zA-Z0-9-_ ]{1}$/.test(M.key);if(U){var j;clearTimeout(x.current);var $=G+M.key;k($);var ee=R.findIndex(te=>{var ie=te.label,ne=te.value,pe=ie||ne;return(pe==null?void 0:pe.toLowerCase)&&pe.toLowerCase().startsWith($)});return x.current=(j=window)===null||j===void 0?void 0:j.setTimeout(()=>{k("")},S),ee===C?B:ee}return B};function W(G){var k=G.handleArrowDown,x=k===void 0?v:k,M=G.handleArrowUp,B=M===void 0?m:M,R=G.handleArrowLeft,U=R===void 0?E:R,j=G.handleArrowRight,$=j===void 0?I:j,ee=G.handleCharacter,te=G.isMulti,ie=te===void 0?!1:te,ne=G.isOpen,pe=ne===void 0?!1:ne,oe=G.onSelect,q=oe===void 0?_():oe,J=G.options,me=J===void 0?[]:J,re=G.setIsOpen,he=re===void 0?_():re,Ee=G.value,fe=c()(G,y),H=(0,f.useMemo)(()=>{var Ne=ie?Ee&&Array.isArray(Ee)&&Ee[0]:Ee;return me.findIndex(Ce=>Ce&&Ce.value===Ne)},[ie,me,Ee]),z=(0,f.useState)(fe.focusIndex||H),_e=a()(z,2),ae=_e[0],ge=_e[1],Be=(0,f.useState)(""),Ke=a()(Be,2),He=Ke[0],ye=Ke[1],Le=(0,f.useRef)(),Ue=ee||L(He,ye,Le),Xe=(0,f.useCallback)(Ne=>ie?Array.isArray(Ee)&&Ee.find(Ce=>h()(Ne,Ce)):h()(Ne,Ee),[ie,Ee]),Fe=(0,f.useCallback)(Ne=>{if(ie&&Array.isArray(Ee))return Ee.includes(Ne)?q(Ee.filter(Ce=>Ce!==Ne)):q([...Ee,Ne]);q(Ne),ge(-1),he(!1)},[ie,q,he,Ee]);(0,f.useEffect)(()=>()=>{clearTimeout(Le.current)},[]);var ht=Ne=>{if(!(!pe||me.length===0)){if(Ne.stopPropagation(),Ne.preventDefault(),(0,p.tH)(Ne)&&ae!==C)return Fe(me[ae].value);var Ce=ae===C?H:ae;if((0,p.Wd)(Ne)&&He==="")return Ce===C&&(Ce=0),ge(Ce);if((0,p.j2)(Ne))return he(!1),ge(-1);if((0,p.dq)(Ne))return Ce===C?(Ce=0,ge(Ce)):ge(x(Ce,me));if((0,p.er)(Ne))return Ce===C&&(Ce=0),ge(B(Ce,me));if((0,p.bC)(Ne))return ge($(ae,me));if((0,p.jv)(Ne))return ge(U(ae,me));if((0,p.Wb)(Ne))return ge(x(me.length-1,me));if((0,p.he)(Ne))return ge(B(0,me));ge(Ue(Ne,ae,me))}};return P({focusIndex:ae,isOptionSelected:Xe,onKeyUp:ht,onSelectOption:Fe,setFocusIndex:ge},fe)}const F=W},748599:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(680180),o=e.n(r),n=e(392338),a=e.n(n),i=e(174161),c=()=>{var f=(0,i.useState)(new Set),d=o()(f,2),h=d[0],g=d[1],_=Array.from(h).join(" "),p=(0,i.useCallback)(y=>(g(O=>{var P=new Set(O);return P.add(y),P}),()=>{g(O=>{var P=new Set(O);return P.delete(y),P})}),[]);return[_,p]};const u=c},880743:function(b,l,e){"use strict";e.d(l,{Z:()=>P});var r=e(680180),o=e.n(r),n=e(392338),a=e.n(n),i=e(174161),c=e(308586),u=e.n(c),f=e(66232),d=e(69772),h=0,g=16777215,_=C=>{var A=C.value,S=C.min,T=C.max;return Math.min(Math.max(A,S),T)},p=String.prototype.padStart?(C,A,S)=>String.prototype.padStart.call(C,A,S):u(),y=function(C){return C[C.INCREMENT=1]="INCREMENT",C[C.DECREMENT=-1]="DECREMENT",C}(y||{}),O=C=>{var A=C.floatOptions,S=A===void 0?{min:Number.MIN_VALUE,max:Number.MAX_VALUE}:A,T=S.min,s=T===void 0?Number.MIN_VALUE:T,v=S.max,m=v===void 0?Number.MAX_VALUE:v,E=S.step,I=S.precision,L=C.integerOptions,W=L===void 0?{min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,step:1}:L,F=W.min,G=F===void 0?Number.MIN_SAFE_INTEGER:F,k=W.max,x=k===void 0?Number.MAX_SAFE_INTEGER:k,M=W.step,B=M===void 0?1:M,R=C.hexOptions,U=R===void 0?{min:h,max:g,step:1}:R,j=U.min,$=j===void 0?h:j,ee=U.max,te=ee===void 0?g:ee,ie=U.step,ne=ie===void 0?1:ie,pe=C.onChange,oe=C.value,q=(0,i.useState)(),J=o()(q,2),me=J[0],re=J[1],he=(0,i.useState)(!1),Ee=o()(he,2),fe=Ee[0],H=Ee[1],z=(0,i.useState)(0),_e=o()(z,2),ae=_e[0],ge=_e[1],Be=(0,i.useState)(0),Ke=o()(Be,2),He=Ke[0],ye=Ke[1],Le=(0,i.useState)(oe),Ue=o()(Le,2),Xe=Ue[0],Fe=Ue[1],ht=(0,i.useState)(!1),Ne=o()(ht,2),Ce=Ne[0],we=Ne[1];(0,i.useLayoutEffect)(()=>{var rt=oe.length-Xe.length;Fe(oe),me&&fe&&me.setSelectionRange(ae,He+rt),H(!1)},[me,Xe.length,He,ae,fe,oe]);var $e=(0,i.useCallback)((rt,ce,Re)=>{if((0,d.isFloat)(rt)){var nt=E||(0,d.getFloatStep)(rt),st=I||(0,d.getFloatPrecision)(rt),vt=(0,d.parseNumber)(rt)+ce*nt*Re,ze=_({value:vt,min:s,max:m});return ze.toFixed(st)}else if((0,d.isHex)(rt)){var It=typeof ne=="number"?ne:(0,d.parseNumber)(ne),on=(0,d.parseNumber)(rt)+ce*It*Re,Pn=_({value:on,min:(0,d.parseNumber)(String($)),max:(0,d.parseNumber)(String(te))}).toString(16);return"#"+p(Pn,6,"0")}var Yn=(0,d.parseNumber)(rt)+ce*B*Re,Ln=_({value:Yn,min:G,max:x});return Ln},[m,s,I,E,te,$,ne,x,G,B]),Ot=(0,i.useCallback)(function(rt,ce){var Re,nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;H(!0);var st=Ce&&(Re=me==null?void 0:me.selectionStart)!==null&&Re!==void 0?Re:ae,vt=(0,d.extractSelectedNumberIndices)(oe,st),ze=vt.left,It=vt.right,on=oe.slice(ze,It);if(on){var Pn=$e(on,rt,nt),Yn=!isNaN(Number(Pn)),Ln=(0,d.isHex)(on)||Yn;if(Ln){var bn=[...oe.slice(0,ze),Pn,...oe.slice(It)].join("");ge(ze),ye(It),pe(bn,ce)}}},[$e,me,Ce,pe,ae,oe]),Pt=(0,i.useCallback)(rt=>{if(me||(re(rt.target),we(!0)),f.Z.isArrowUp(rt)||f.Z.isArrowDown(rt)){rt.preventDefault();var ce=f.Z.isShiftAccessory(rt)?10:1,Re=f.Z.isArrowUp(rt)?y.INCREMENT:y.DECREMENT;Ot(Re,rt.nativeEvent,ce)}},[Ot,me]),Ie=(0,i.useCallback)(rt=>{if(document.activeElement===rt.target){me||(re(rt.target),we(!0));var ce=rt.deltaY>=0?y.DECREMENT:y.INCREMENT;Ot(ce,rt.nativeEvent)}},[Ot,me]);(0,i.useEffect)(()=>{if(me){var rt=nt=>{document.activeElement===me&&nt.preventDefault()};me.addEventListener("wheel",rt,{passive:!1});var ce=()=>{we(!0)},Re=()=>{we(!1),me.selectionStart&&ge(me.selectionStart)};return me.addEventListener("focus",ce),me.addEventListener("blur",Re),()=>{me&&(me.removeEventListener("wheel",rt),me.removeEventListener("focus",ce),me.removeEventListener("blur",Re))}}},[me]);var Bt=rt=>{Ot(y.INCREMENT,rt)},mt=rt=>{Ot(y.DECREMENT,rt)};return{ariaRole:"spinbutton",decrement:mt,increment:Bt,onKeyDown:Pt,onWheel:Ie,setInputRef:re}};const P=O},102957:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(392338),o=e.n(r),n=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",f=Object.keys(c).sort((h,g)=>g.length-h.length);if(!u||f.length===0)return u;var d=new RegExp(f.join("|"),"g");return u.replace(d,h=>c[h])};const a=n},457743:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(680180),o=e.n(r),n=e(174161),a=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},f=u.window,d=f===void 0?window:f,h=(0,n.useState)([d.innerWidth,d.innerHeight]),g=o()(h,2),_=g[0],p=g[1];return(0,n.useEffect)(()=>{var y=()=>p([d.innerWidth,d.innerHeight]),O=()=>{d.removeEventListener("resize",O),y()},P=()=>d.addEventListener("resize",O);return d.addEventListener("resize",y),d.addEventListener("orientationchange",P),()=>{d.removeEventListener("resize",y),d.removeEventListener("resize",O),d.removeEventListener("orientationchange",P)}},[d]),_};const i=a},719081:function(b,l,e){"use strict";e.r(l),e.d(l,{renderNode:()=>O.$,useId:()=>te.M,Platform:()=>C.t,WithPositionHelper:()=>c.Z,useFocusVisible:()=>ee.Z,useSelectionList:()=>J.Z,useMeasure:()=>ne.Z,useConditionalValueChangeCallback:()=>j,useCurrencyFormat:()=>$.ZP,useRequest:()=>q.Z,scrollIntoView:()=>E.z,useStructuredContent:()=>re.Z,useAnchorPosition:()=>H.D,getNativeProps:()=>g.Z,numberUtils:()=>P,useAddIdToSet:()=>ae.Z,getBreakpoint:()=>d.i,useClipboard:()=>G,useGooglePlacesSearch:()=>ie._,logger:()=>p.ZP,usePropForwarding:()=>fe.Z,useMergeRefs:()=>he.Z,withFocusManagedDivider:()=>u.Z,useAnimatedCounter:()=>_e,usePrevious:()=>Ee.Z,Measure:()=>o.Z,forwardRefWithIndexSignature:()=>h.q,positionHelper:()=>A.ZP,ResizeObserver:()=>v.d,useSteppableInput:()=>me.Z,isI18nComponent:()=>s.Z,anchorPositionSameWidthModifier:()=>T.Z,useMemoizedObject:()=>pe.Z,collectErrorMessages:()=>f.Z,nodeUtils:()=>O.Z,scrollBy:()=>m.yZ,useSetIds:()=>ge.Z,getTagSpecificProps:()=>g.x,Breakpoint:()=>r.Z,Portal:()=>n.Z,deprecation:()=>p.a1,getNextId:()=>_.Z,WithChromeFocusFix:()=>i.Z,useWindowInnerDimensions:()=>oe.Z,warn:()=>p.ZK,ZIndexStack:()=>a.Z,Keyboard:()=>y.Z,anchorPositionMaxSizeModifier:()=>S.Z});var r=e(936609),o=e(771649),n=e(836418),a=e(997803),i=e(936481),c=e(760193),u=e(51408),f=e(788454),d=e(885630),h=e(579531),g=e(944545),_=e(75902),p=e(934388),y=e(66232),O=e(786040),P=e(69772),C=e(856166),A=e(540533),S=e(269010),T=e(795003),s=e(705198),v=e(422391),m=e(304437),E=e(72138),I=e(174161),L=e(93057),W=e.n(L);function F(Be,Ke){var He=(0,I.useState)(!1),ye=He[0],Le=He[1],Ue=Ke&&Ke.successDuration;return(0,I.useEffect)(function(){if(ye&&Ue){var Xe=setTimeout(function(){Le(!1)},Ue);return function(){clearTimeout(Xe)}}},[ye,Ue]),[ye,function(){var Xe=W()(Be);Le(Xe)}]}const G=F;var k=e(642979),x=e.n(k),M=e(680180),B=e.n(M),R=(Be,Ke,He)=>{var ye=(0,I.useState)(He),Le=B()(ye,2),Ue=Le[0],Xe=Le[1];(0,I.useEffect)(()=>{Xe(He)},[He]);var Fe={onChange:ht=>{Xe(ht),Ke(ht)&&Be(ht)},value:Ue};return Fe};class U extends I.Component{render(){return null}}x()(U,"displayName","useConditionalValueChangeCallback");const j=R;var $=e(201992),ee=e(272578),te=e(565805),ie=e(872765),ne=e(159945),pe=e(87389),oe=e(457743),q=e(89807),J=e(11790),me=e(880743),re=e(102957),he=e(942085),Ee=e(628955),fe=e(302720),H=e(662781),z=function(Ke,He){var ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:500,Le=(0,I.useState)(Ke),Ue=B()(Le,2),Xe=Ue[0],Fe=Ue[1],ht=window.matchMedia("(prefers-reduced-motion: reduce)").matches===!0;return(0,I.useEffect)(()=>{var Ne=performance.now(),Ce=we=>{var $e=we-Ne,Ot=Math.min($e/ye,1),Pt=Ke+(He-Ke)*Ot;Fe(Pt),$e<ye?requestAnimationFrame(Ce):Fe(He)};requestAnimationFrame(Ce)},[Ke,He,ye]),ht?He:Xe};const _e=z;var ae=e(322533),ge=e(748599)},422391:function(b,l,e){"use strict";e.d(l,{d:()=>H});var r=[],o=function(){return r.some(function(z){return z.activeTargets.length>0})},n=function(){return r.some(function(z){return z.skippedTargets.length>0})},a="ResizeObserver loop completed with undelivered notifications.",i=function(){var z;typeof ErrorEvent=="function"?z=new ErrorEvent("error",{message:a}):(z=document.createEvent("Event"),z.initEvent("error",!1,!1),z.message=a),window.dispatchEvent(z)},c;(function(z){z.BORDER_BOX="border-box",z.CONTENT_BOX="content-box",z.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(c||(c={}));var u=function(z){return Object.freeze(z)},f=function(){function z(_e,ae){this.inlineSize=_e,this.blockSize=ae,u(this)}return z}(),d=function(){function z(_e,ae,ge,Be){return this.x=_e,this.y=ae,this.width=ge,this.height=Be,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,u(this)}return z.prototype.toJSON=function(){var _e=this,ae=_e.x,ge=_e.y,Be=_e.top,Ke=_e.right,He=_e.bottom,ye=_e.left,Le=_e.width,Ue=_e.height;return{x:ae,y:ge,top:Be,right:Ke,bottom:He,left:ye,width:Le,height:Ue}},z.fromRect=function(_e){return new z(_e.x,_e.y,_e.width,_e.height)},z}(),h=function(z){return z instanceof SVGElement&&"getBBox"in z},g=function(z){if(h(z)){var _e=z.getBBox(),ae=_e.width,ge=_e.height;return!ae&&!ge}var Be=z,Ke=Be.offsetWidth,He=Be.offsetHeight;return!(Ke||He||z.getClientRects().length)},_=function(z){var _e;if(z instanceof Element)return!0;var ae=(_e=z==null?void 0:z.ownerDocument)===null||_e===void 0?void 0:_e.defaultView;return!!(ae&&z instanceof ae.Element)},p=function(z){switch(z.tagName){case"INPUT":if(z.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},y=typeof window<"u"?window:{},O=new WeakMap,P=/auto|scroll/,C=/^tb|vertical/,A=/msie|trident/i.test(y.navigator&&y.navigator.userAgent),S=function(z){return parseFloat(z||"0")},T=function(z,_e,ae){return z===void 0&&(z=0),_e===void 0&&(_e=0),ae===void 0&&(ae=!1),new f((ae?_e:z)||0,(ae?z:_e)||0)},s=u({devicePixelContentBoxSize:T(),borderBoxSize:T(),contentBoxSize:T(),contentRect:new d(0,0,0,0)}),v=function(z,_e){if(_e===void 0&&(_e=!1),O.has(z)&&!_e)return O.get(z);if(g(z))return O.set(z,s),s;var ae=getComputedStyle(z),ge=h(z)&&z.ownerSVGElement&&z.getBBox(),Be=!A&&ae.boxSizing==="border-box",Ke=C.test(ae.writingMode||""),He=!ge&&P.test(ae.overflowY||""),ye=!ge&&P.test(ae.overflowX||""),Le=ge?0:S(ae.paddingTop),Ue=ge?0:S(ae.paddingRight),Xe=ge?0:S(ae.paddingBottom),Fe=ge?0:S(ae.paddingLeft),ht=ge?0:S(ae.borderTopWidth),Ne=ge?0:S(ae.borderRightWidth),Ce=ge?0:S(ae.borderBottomWidth),we=ge?0:S(ae.borderLeftWidth),$e=Fe+Ue,Ot=Le+Xe,Pt=we+Ne,Ie=ht+Ce,Bt=ye?z.offsetHeight-Ie-z.clientHeight:0,mt=He?z.offsetWidth-Pt-z.clientWidth:0,rt=Be?$e+Pt:0,ce=Be?Ot+Ie:0,Re=ge?ge.width:S(ae.width)-rt-mt,nt=ge?ge.height:S(ae.height)-ce-Bt,st=Re+$e+mt+Pt,vt=nt+Ot+Bt+Ie,ze=u({devicePixelContentBoxSize:T(Math.round(Re*devicePixelRatio),Math.round(nt*devicePixelRatio),Ke),borderBoxSize:T(st,vt,Ke),contentBoxSize:T(Re,nt,Ke),contentRect:new d(Fe,Le,Re,nt)});return O.set(z,ze),ze},m=function(z,_e,ae){var ge=v(z,ae),Be=ge.borderBoxSize,Ke=ge.contentBoxSize,He=ge.devicePixelContentBoxSize;switch(_e){case c.DEVICE_PIXEL_CONTENT_BOX:return He;case c.BORDER_BOX:return Be;default:return Ke}},E=function(){function z(_e){var ae=v(_e);this.target=_e,this.contentRect=ae.contentRect,this.borderBoxSize=u([ae.borderBoxSize]),this.contentBoxSize=u([ae.contentBoxSize]),this.devicePixelContentBoxSize=u([ae.devicePixelContentBoxSize])}return z}(),I=function(z){if(g(z))return 1/0;for(var _e=0,ae=z.parentNode;ae;)_e+=1,ae=ae.parentNode;return _e},L=function(){var z=1/0,_e=[];r.forEach(function(He){if(He.activeTargets.length!==0){var ye=[];He.activeTargets.forEach(function(Ue){var Xe=new E(Ue.target),Fe=I(Ue.target);ye.push(Xe),Ue.lastReportedSize=m(Ue.target,Ue.observedBox),Fe<z&&(z=Fe)}),_e.push(function(){He.callback.call(He.observer,ye,He.observer)}),He.activeTargets.splice(0,He.activeTargets.length)}});for(var ae=0,ge=_e;ae<ge.length;ae++){var Be=ge[ae];Be()}return z},W=function(z){r.forEach(function(ae){ae.activeTargets.splice(0,ae.activeTargets.length),ae.skippedTargets.splice(0,ae.skippedTargets.length),ae.observationTargets.forEach(function(Be){Be.isActive()&&(I(Be.target)>z?ae.activeTargets.push(Be):ae.skippedTargets.push(Be))})})},F=function(){var z=0;for(W(z);o();)z=L(),W(z);return n()&&i(),z>0},G,k=[],x=function(){return k.splice(0).forEach(function(z){return z()})},M=function(z){if(!G){var _e=0,ae=document.createTextNode(""),ge={characterData:!0};new MutationObserver(function(){return x()}).observe(ae,ge),G=function(){ae.textContent="".concat(_e?_e--:_e++)}}k.push(z),G()},B=function(z){M(function(){requestAnimationFrame(z)})},R=0,U=function(){return!!R},j=250,$={attributes:!0,characterData:!0,childList:!0,subtree:!0},ee=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],te=function(z){return z===void 0&&(z=0),Date.now()+z},ie=!1,ne=function(){function z(){var _e=this;this.stopped=!0,this.listener=function(){return _e.schedule()}}return z.prototype.run=function(_e){var ae=this;if(_e===void 0&&(_e=j),!ie){ie=!0;var ge=te(_e);B(function(){var Be=!1;try{Be=F()}finally{if(ie=!1,_e=ge-te(),!U())return;Be?ae.run(1e3):_e>0?ae.run(_e):ae.start()}})}},z.prototype.schedule=function(){this.stop(),this.run()},z.prototype.observe=function(){var _e=this,ae=function(){return _e.observer&&_e.observer.observe(document.body,$)};document.body?ae():y.addEventListener("DOMContentLoaded",ae)},z.prototype.start=function(){var _e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ee.forEach(function(ae){return y.addEventListener(ae,_e.listener,!0)}))},z.prototype.stop=function(){var _e=this;this.stopped||(this.observer&&this.observer.disconnect(),ee.forEach(function(ae){return y.removeEventListener(ae,_e.listener,!0)}),this.stopped=!0)},z}(),pe=new ne,oe=function(z){!R&&z>0&&pe.start(),R+=z,!R&&pe.stop()},q=function(z){return!h(z)&&!p(z)&&getComputedStyle(z).display==="inline"},J=function(){function z(_e,ae){this.target=_e,this.observedBox=ae||c.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return z.prototype.isActive=function(){var _e=m(this.target,this.observedBox,!0);return q(this.target)&&(this.lastReportedSize=_e),this.lastReportedSize.inlineSize!==_e.inlineSize||this.lastReportedSize.blockSize!==_e.blockSize},z}(),me=function(){function z(_e,ae){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=_e,this.callback=ae}return z}(),re=new WeakMap,he=function(z,_e){for(var ae=0;ae<z.length;ae+=1)if(z[ae].target===_e)return ae;return-1},Ee=function(){function z(){}return z.connect=function(_e,ae){var ge=new me(_e,ae);re.set(_e,ge)},z.observe=function(_e,ae,ge){var Be=re.get(_e),Ke=Be.observationTargets.length===0;he(Be.observationTargets,ae)<0&&(Ke&&r.push(Be),Be.observationTargets.push(new J(ae,ge&&ge.box)),oe(1),pe.schedule())},z.unobserve=function(_e,ae){var ge=re.get(_e),Be=he(ge.observationTargets,ae),Ke=ge.observationTargets.length===1;Be>=0&&(Ke&&r.splice(r.indexOf(ge),1),ge.observationTargets.splice(Be,1),oe(-1))},z.disconnect=function(_e){var ae=this,ge=re.get(_e);ge.observationTargets.slice().forEach(function(Be){return ae.unobserve(_e,Be.target)}),ge.activeTargets.splice(0,ge.activeTargets.length)},z}(),fe=function(){function z(_e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof _e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ee.connect(this,_e)}return z.prototype.observe=function(_e,ae){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!_(_e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ee.observe(this,_e,ae)},z.prototype.unobserve=function(_e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!_(_e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ee.unobserve(this,_e)},z.prototype.disconnect=function(){Ee.disconnect(this)},z.toString=function(){return"function ResizeObserver () { [polyfill code] }"},z}(),H=typeof window<"u"&&window.ResizeObserver||fe},726671:function(b,l,e){"use strict";e.d(l,{U:()=>c,Z:()=>i});var r=e(638204),o="rte-components";function n(u){return e(770760)("./".concat(o,".").concat(u,".yaml"))}var a=(0,r.setupLibrary)(o,n),i=a.getI18nInstance,c=a.setI18nInstance},770760:function(b,l,e){var r={"./core-components.en-US.json":"955820","./rte-components.en-US.json":"877101","./rte-components.en-US.yaml":"203102"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=770760},439939:function(b,l,e){"use strict";e.d(l,{dX:()=>sd,se:()=>Ea,P:()=>Fu,iV:()=>Uu,vY:()=>ad,Y0:()=>Xo,YQ:()=>$n,aw:()=>Gd,pc:()=>Ed,NI:()=>r,yy:()=>Cd,ZP:()=>_r,cD:()=>ai,uM:()=>Q,Jv:()=>Fr,nf:()=>Vu});var r={};e.r(r),e.d(r,{BACKGROUND_COLOR:()=>zr,BLOCK_QUOTE:()=>Ls,BOLD:()=>Ic,CENTER_ALIGN:()=>Ts,CLEAR_FORMATTING:()=>As,CODE:()=>ln,CODE_BLOCK:()=>Fs,CUSTOM_DATA:()=>qs,EM:()=>Vi,FONT:()=>Ao,FONT_MAPPING:()=>Ri,HEADING_1:()=>as,HEADING_2:()=>es,HEADING_3:()=>Qs,HEADING_4:()=>Rs,HEADING_5:()=>rs,HEADING_6:()=>Cs,HIGHLIGHT:()=>zn,INDENT:()=>aa,ITALIC:()=>Jl,JUSTIFY_ALIGN:()=>Bi,LEFT_ALIGN:()=>Js,LETTER_SPACING:()=>pi,LIFT_LIST_ITEM:()=>Ur,LINE_STYLES:()=>Ti,LINK:()=>sn,ORDERED_LIST:()=>So,OUTDENT:()=>ca,PARAGRAPH:()=>is,PARAGRAPH_LARGE:()=>qi,PARAGRAPH_SMALL:()=>ui,REDO:()=>ia,RIGHT_ALIGN:()=>zs,SCALED_TEXT:()=>Ks,SINK_LIST_ITEM:()=>Ko,STRIKETHROUGH:()=>mc,STRONG:()=>Kl,SUBSCRIPT:()=>$l,SUPERSCRIPT:()=>zl,TEXT_COLOR:()=>Er,TEXT_COLOR_MAPPING:()=>Ei,UNDERLINE:()=>_c,UNDO:()=>Zo,UNORDERED_LIST:()=>Ha});var o=e(962711),n=e(76002),a=e(944537),i={default:"left",values:["left","center","right","justify"],type:"string"};function c(Ve,tt){var bt=Ve.style.textAlign;if(bt&&(!tt||!tt.values||tt.values.indexOf(bt)>-1))return bt}function u(Ve,tt){var bt=tt.type.spec.attrs;tt.attrs.align&&tt.attrs.align!==bt.align.default&&(Ve.style=(Ve.style||"")+("text-align:"+tt.attrs.align+";"),tt.attrs.align==="justify"&&(Ve.style+="white-space: normal !important;"))}const f=i;function d(Ve,tt){return Object.keys(Ve).reduce(function(bt,an){return tt.indexOf(an)===-1&&(bt[an]=Ve[an]),bt},{})}function h(Ve,tt){return tt.reduce(function(bt,an){return Ve[an]!==void 0&&(bt[an]=Ve[an]),bt},{})}function g(Ve,tt){return Object.keys(Ve).reduce(function(bt,an){return tt(Ve[an],an)&&(bt[an]=Ve[an]),bt},{})}function _(Ve,tt){for(var bt=Ve.parentElement,an=null;bt;){if(tt(bt)){an=bt;break}bt=bt.parentElement}return an}function p(Ve,tt){return!!_(Ve,tt)}var y="navigator"in window&&/Win/.test(navigator.platform),O=typeof navigator<"u"?/Mac/.test(navigator.platform):typeof window.os<"u"?window.os.platform()==="darwin":!1;function P(Ve){return Ve.replace(/[\_\-\s]+/g,"-").replace(/([^A-Z][A-Z]|\D\d)/g,function(tt){var bt=tt.charAt(0);return bt==="-"?tt:tt.charAt(0)+"-"+tt.charAt(1)}).toLowerCase()}var C=Object.assign||function(Ve){for(var tt=1;tt<arguments.length;tt++){var bt=arguments[tt];for(var an in bt)Object.prototype.hasOwnProperty.call(bt,an)&&(Ve[an]=bt[an])}return Ve},A={default:{},type:"object"};function S(Ve){return Object.keys(C({},Ve.dataset)).filter(function(tt){return tt.indexOf("rteCustom")===0}).reduce(function(tt,bt){var an=bt.replace("rteCustom","");return an=an.charAt(0).toLowerCase()+an.slice(1),tt[an]=Ve.dataset[bt],tt},{})}function T(Ve,tt){tt.attrs.data&&Object.keys(tt.attrs.data).forEach(function(bt){Ve["data-rte-custom-"+P(bt)]=tt.attrs.data[bt]})}const s=A;function v(Ve){if(Array.isArray(Ve)){for(var tt=0,bt=Array(Ve.length);tt<Ve.length;tt++)bt[tt]=Ve[tt];return bt}else return Array.from(Ve)}var m={type:"string",default:"",values:["","small","large"]};function E(Ve){var tt=[].concat(v(Ve.classList)),bt=tt.filter(function(nr){return nr.indexOf("sqsrte-")===0}),an=bt.map(function(nr){return nr.replace("sqsrte-","")}),Wn=an.filter(function(nr){return nr}).find(function(nr){return m.values.indexOf(nr)>-1});return Wn||m.default}function I(Ve,tt){var bt=tt.attrs.paragraphVariant?"sqsrte-"+tt.attrs.paragraphVariant:"";Ve.class=bt}const L=m;var W=40,F={default:0,type:"number"};function G(Ve){if(!Ve.parentElement||Ve.parentElement.nodeName!=="LI"){var tt=Ve.style.marginLeft;return tt?Math.floor(parseFloat(tt)/W):0}return 0}function k(Ve,tt){var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;tt.attrs.indent&&tt.attrs.indent>bt&&(Ve.style=(Ve.style||"")+("margin-left:"+tt.attrs.indent*W+"px;"))}const x=F;var M={type:"object",default:{height:"",spacingBefore:"",spacingAfter:""}};function B(Ve){return{height:Ve.style.lineHeight,spacingBefore:Ve.style.marginTop,spacingAfter:Ve.style.marginBottom}}function R(Ve,tt){var bt=tt.attrs.lineStyles;if(bt){var an="";bt.height&&(an+="line-height:"+bt.height+";"),bt.spacingBefore&&(an+="margin-top:"+bt.spacingBefore+";"),bt.spacingAfter&&(an+="margin-bottom:"+bt.spacingAfter+";"),an&&(Ve.style=(Ve.style||"")+an)}}const U=M;var j={default:!1,type:"boolean"};function $(Ve,tt){tt.attrs.preserveWhitespace&&(tt.childCount===0&&(Ve["data-rte-preserve-empty"]=!0),Ve.style=(Ve.style||"")+"white-space:pre-wrap;")}const ee=j;var te={attrs:{align:f,data:s,indent:x,lineStyles:U,paragraphVariant:L,preserveWhitespace:ee},content:"inline*",marks:"_",group:"textBlock block",parseDOM:[{tag:"p",context:"listItem/",getAttrs:function(tt){return{align:c(tt),data:S(tt),lineStyles:B(tt),paragraphVariant:E(tt)}},preserveWhitespace:!1},{tag:"p",getAttrs:function(tt){return{align:c(tt),data:S(tt),indent:G(tt),lineStyles:B(tt),paragraphVariant:E(tt)}},preserveWhitespace:!1}],toDOM:function(tt){var bt={};return u(bt,tt),T(bt,tt),k(bt,tt),R(bt,tt),I(bt,tt),$(bt,tt),["p",bt,0]}};const ie=te;var ne={default:1,values:[1,2,3,4,5,6],type:"number"};const pe=ne;var oe={attrs:{align:f,data:s,indent:x,level:pe,lineStyles:U,preserveWhitespace:ee},content:"inline*",marks:"_",group:"textBlock block",defining:!0,parseDOM:pe.values.map(function(Ve){return{tag:"h"+Ve,getAttrs:function(bt){return{level:Ve,align:c(bt),data:S(bt),indent:G(bt),lineStyles:B(bt)}},preserveWhitespace:!1}}),toDOM:function(tt){var bt={};return u(bt,tt),T(bt,tt),k(bt,tt),R(bt,tt),$(bt,tt),["h"+tt.attrs.level,bt,0]}};const q=oe;var J={defining:!0,draggable:!0,selectable:!1,content:"textBlock",marks:"",group:"block",consuming:!0,contentElement:"span",parseDOM:[{tag:"div.sqsrte-scaled-text-container"}],toDOM:function(tt){return["div",{class:"sqsrte-scaled-text-container"},["span",{class:"sqsrte-scaled-text"},0]]}};const me=J;var re={attrs:{align:f,indent:x},code:!0,content:"text*",defining:!0,group:"textBlock block",marks:"",parseDOM:[{tag:"pre",preserveWhitespace:"full",getAttrs:function(tt){return{align:c(tt),indent:G(tt)}}}],toDOM:function(tt){var bt={};return u(bt,tt),k(bt,tt),["pre",bt,["code",0]]}};const he=re;var Ee={inline:!0,group:"inline"};const fe=Ee;var H={inline:!0,marks:"",group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM:function(){return["br"]}};const z=H;var _e,ae;function ge(Ve,tt,bt){return tt in Ve?Object.defineProperty(Ve,tt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):Ve[tt]=bt,Ve}var Be=["I","A","1","a","i"],Ke="1",He=(_e={},ge(_e,"upper-roman","I"),ge(_e,"upper-alpha","A"),ge(_e,"decimal","1"),ge(_e,"lower-alpha","a"),ge(_e,"lower-roman","i"),_e),ye=(ae={},ge(ae,"I","upper-roman"),ge(ae,"A","upper-alpha"),ge(ae,"1","decimal"),ge(ae,"a","lower-alpha"),ge(ae,"i","lower-roman"),ae);function Le(Ve){var tt=Ve.getAttribute("type");return tt&&Be.indexOf(tt)>-1?tt:(tt=Ve.style.listStyleType||Ve.children[0]&&Ve.children[0].style.listStyleType,tt&&He[tt]||Ke)}var Ue={attrs:{listType:{default:Ke},indent:{default:0}},content:"(listItem|listBlock)+",marks:"",group:"listBlock block",parseDOM:[{tag:"ol",getAttrs:function(tt){return{listType:Le(tt),indent:G(tt)}}}],toDOM:function(tt){var bt=ge({},"data-rte-list","default");k(bt,tt);var an=tt.attrs.listType;return an&&an!==Ke&&Be.indexOf(an)>-1&&(bt.type=an,bt["data-rte-list"]=ye[an]),["ol",bt,0]}};const Xe=Ue;function Fe(Ve,tt,bt){return tt in Ve?Object.defineProperty(Ve,tt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):Ve[tt]=bt,Ve}var ht=["disc","circle","square","dash"],Ne="disc";function Ce(Ve){var tt=Ve.getAttribute("type");return tt&&ht.indexOf(tt)>-1?tt:(tt=Ve.style.listStyleType||Ve.children[0]&&Ve.children[0].style.listStyleType,tt||Ne)}var we={attrs:{listType:{default:Ne},indent:{default:0}},content:"(listItem|listBlock)+",marks:"",group:"listBlock block",parseDOM:[{tag:"ul",getAttrs:function(tt){return{listType:Ce(tt),indent:G(tt)}}}],toDOM:function(tt){var bt=Fe({},"data-rte-list","default");k(bt,tt);var an=tt.attrs.listType;return an&&an!==Ne&&ht.indexOf(an)>-1&&(bt.type=an,bt["data-rte-list"]=an),["ul",bt,0]}};const $e=we;var Ot={content:"textBlock (listBlock|textBlock)*",marks:"",parseDOM:[{tag:"li"}],toDOM:function(){return["li",0]}};const Pt=Ot;var Ie={attrs:{indent:{default:1,values:Array.apply(null,{length:19}).map(function(Ve,tt){return tt+1})}},content:"textBlock+",marks:"",group:"block",defining:!0,parseDOM:[{tag:"blockquote",getAttrs:function(tt){return{indent:G(tt)}}}],toDOM:function(tt){if(tt.attrs.indent>1){var bt={};return k(bt,tt),["blockquote",bt,0]}return["blockquote",0]}},mt={paragraph:ie,heading:q,codeBlock:he,scaledText:me,text:fe,hardBreak:z,orderedList:Xe,unorderedList:$e,listItem:Pt,blockQuote:Ie},rt={text:fe,hardBreak:z},ce={paragraph:ie,heading:q,codeBlock:he,scaledText:me},Re=null;const nt=mt;var st=e(77135),vt={attrs:{href:{type:"string"},title:{default:null},target:{default:null}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:function(tt){return{href:tt.getAttribute("href"),title:tt.getAttribute("title"),target:tt.getAttribute("target")}}}],toDOM:function(tt){return["a",tt.attrs]}};const ze=vt;var It={parseDOM:[{style:"text-decoration=underline"},{tag:"u"}],toDOM:function(tt){return["span",{style:"text-decoration:underline"}]}};const on=It;var Pn={parseDOM:[{style:"text-decoration=line-through"}],toDOM:function(tt){return["span",{style:"text-decoration:line-through"}]}};const Yn=Pn;var Ln=e(910286),bn=e(976003),ir=e.n(bn),Zn=function(){function Ve(tt,bt){var an=[],Wn=!0,nr=!1,Nr=void 0;try{for(var to=tt[Symbol.iterator](),qo;!(Wn=(qo=to.next()).done)&&(an.push(qo.value),!(bt&&an.length===bt));Wn=!0);}catch(Pa){nr=!0,Nr=Pa}finally{try{!Wn&&to.return&&to.return()}finally{if(nr)throw Nr}}return an}return function(tt,bt){if(Array.isArray(tt))return tt;if(Symbol.iterator in Object(tt))return Ve(tt,bt);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),$n=new n.H$("textHighlight"),jt="data-text-attribute-id",Rn="data-text-attribute-external-state";function jn(){var Ve={},tt=null;return{update:function(an,Wn){var nr=an.state.schema;if(!(!Wn||!nr.marks.highlight)){var Nr=Wn&&Wn.doc.eq(an.state.doc),to=$n.getState(an.state),qo=to.textAttributes,Pa=tt!==qo;if(!(Nr&&!Pa)){var $a=Array.from(an.dom.querySelectorAll(".sqsrte-text-highlight")),ss=Object.entries(Ve).reduce(function(cs,Ns){var Fi=Zn(Ns,2),xi=Fi[0],ni=Fi[1];return(!qo[xi]||!an.docView.dom.ownerDocument.contains(ni.node))&&cs.push(xi),cs},[]);ss.forEach(function(cs){Ve[cs]&&(Ve[cs].destroy(),delete Ve[cs])}),!(!qo||Object.keys(qo).length===0)&&($a.forEach(function(cs){var Ns=cs.getAttribute(jt),Fi=!!Ve[Ns];if(Fi){var ni=qo[Ns],dl=tt?tt[Ns]:null;ni&&!ir()(ni,dl)?Ve[Ns].onStateChange(ni,!0):Nr||Ve[Ns]._onMutation()}else{var xi=an.dom.parentElement.querySelectorAll('[class=TextShape-node][data-text-attribute-id="'+Ns+'"]');xi.forEach(function(Ec){Ec.remove()}),Ve[Ns]=new Ln.df(cs,qo,an.dom.parentElement)}}),tt=qo)}}}}}function Tn(){var Ve=new n.Sy({key:$n,view:jn,state:{init:function(bt,an){return{textAttributes:null}},apply:function(bt,an,Wn,nr){var Nr=bt.getMeta($n);return Nr?{textAttributes:Nr}:an}}});return Ve}function Nn(Ve){return Tn(Ve)}var cn=Object.assign||function(Ve){for(var tt=1;tt<arguments.length;tt++){var bt=arguments[tt];for(var an in bt)Object.prototype.hasOwnProperty.call(bt,an)&&(Ve[an]=bt[an])}return Ve};function or(Ve,tt,bt){return tt in Ve?Object.defineProperty(Ve,tt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):Ve[tt]=bt,Ve}var qn={attrs:{id:{type:"string"},externalState:{type:"string",hasDefault:!0,default:null}},parseDOM:[{tag:"span.sqsrte-text-highlight",getAttrs:function(tt){return{id:tt.getAttribute(jt),externalState:JSON.parse(tt.getAttribute(Rn))}}}],toDOM:function(tt){return["span",cn(or({class:"sqsrte-text-highlight"},jt,tt.attrs.id),tt.attrs.externalState?or({},Rn,JSON.stringify(tt.attrs.externalState)):{})]}};const Hr=qn;var fo={attrs:{color:{type:"string"}},parseDOM:[{tag:'[style*="color:"]',getAttrs:function(tt){var bt=tt.getAttribute("style").match(/(?:^|;)color\:([^;]+)(?:;|$)/),an=bt&&bt[1];if(!an)return!1;if(an!=="#000000")return{color:an};var Wn=p(tt,function(nr){return nr.nodeName==="B"&&nr.id&&nr.id.indexOf("docs-internal")===0});return Wn?!1:{color:an}}}],toDOM:function(tt){return tt.attrs.color?["span",{style:"color:"+tt.attrs.color}]:!1}};const Jr=fo;var ro={attrs:{color:{type:"string"}},parseDOM:[{style:"background-color",getAttrs:function(tt){return!tt||tt==="transparent"?!1:{color:tt}}}],toDOM:function(tt){return tt.attrs.color?["span",{style:"background-color:"+tt.attrs.color}]:!1}};const Xt=ro;var Je=function(tt){return{family:tt.style.fontFamily,size:tt.style.fontSize,weight:tt.style.fontWeight,case:tt.style.textTransform,spacing:tt.style.letterSpacing,style:tt.style.fontStyle}},At={attrs:{family:{type:"string",default:null},size:{type:"string",default:null},weight:{type:"string",default:null},case:{type:"string",default:null},spacing:{type:"string",default:null},style:{type:"string",default:null}},parseDOM:[{tag:'[style*="font-family"]',getAttrs:Je},{tag:'[style*="font-size"]',getAttrs:Je},{tag:'[style*="font-weight"]',getAttrs:Je},{tag:'[style*="text-transform"]',getAttrs:Je},{tag:'[style*="letter-spacing"]',getAttrs:Je},{tag:'[style*="font-style"]',getAttrs:Je}],toDOM:function(tt){var bt="";return tt.attrs.family&&(bt+="font-family:"+tt.attrs.family+";"),tt.attrs.size&&(bt+="font-size:"+tt.attrs.size+";"),tt.attrs.weight&&(bt+="font-weight:"+tt.attrs.weight+";"),tt.attrs.case&&(bt+="text-transform:"+tt.attrs.case+";"),tt.attrs.spacing&&(bt+="letter-spacing:"+tt.attrs.spacing+";"),tt.attrs.style&&(bt+="font-style:"+tt.attrs.style+";"),bt?["span",{style:bt}]:!1}};const xt=At;var Qt="sqsrte-",qt=["heading-1","heading-2","heading-3","heading-4","paragraph-1","paragraph-2","paragraph-3","monospace"],Te=qt.map(function(Ve){return""+Qt+Ve}),Gt={attrs:{mappingSize:{type:"string",default:null}},parseDOM:[{tag:"span",getAttrs:function(tt){var bt=Array.from(tt.classList),an=bt.find(function(nr){return Te.includes(nr)});if(!an)return!1;var Wn=an.replace(Qt,"");return{mappingSize:Wn}}}],toDOM:function(tt){var bt=tt.attrs.mappingSize;if(!bt)return!1;var an="span",Wn=""+Qt+bt,nr={class:Wn};return[an,nr,0]}};const un=Gt;var Vt="sqsrte-text-color--",Dn=["white","lightAccent","accent","darkAccent","black"],Wt=Dn.map(function(Ve){return""+Vt+Ve}),Pe={attrs:{colorId:{type:"string",default:null},custom:{type:"string",default:null}},parseDOM:[{tag:"span",getAttrs:function(tt){var bt=Array.from(tt.classList);if(bt.includes(Vt+"custom")){var an=tt.getAttribute("style").match(/(?:^|;)color\: *([^;]+)(?:;|$)/),Wn=an&&an[1];return Wn?{colorId:"custom",custom:Wn}:!1}var nr=bt.find(function(to){return Wt.includes(to)});if(nr){var Nr=nr.replace(Vt,"");if(Dn.includes(Nr))return{colorId:Nr,custom:null}}return!1}}],toDOM:function(tt){var bt=tt.attrs.colorId;if(!bt)return!1;var an="span",Wn=""+Vt+bt,nr={class:Wn};return tt.attrs.custom&&(nr.style="color: "+tt.attrs.custom),[an,nr,0]}};const xe=Pe;var Ae={parseDOM:[{style:"vertical-align=super"},{tag:"sup"}],toDOM:function(tt){return["sup",0]}};const qe=Ae;var wt={parseDOM:[{style:"vertical-align=sub"},{tag:"sub"}],toDOM:function(tt){return["sub",0]}};const kt=wt;var ut={attrs:{letterSpacing:{type:"number",default:1}},group:"inline",inline:!0,marks:"",parseDOM:[{tag:"span[data-letter-spacing]",getAttrs:function(tt){return{letterSpacing:parseInt(tt.dataset.letterSpacing,10)}}}],toDOM:function(tt){var bt=tt.attrs.letterSpacing,an=typeof bt=="number"&&bt>0?(bt-1)*.1:0;return["span",{"data-letter-spacing":bt,style:"letter-spacing:"+an+"em"},0]}};const Ft=ut;var tn=st.EI.em,In=st.EI.strong,rr=st.EI.code;const Sr={highlight:Hr,em:tn,strong:In,code:rr,link:ze,underline:on,strikethrough:Yn,font:xt,superscript:qe,subscript:kt,letterSpacing:Ft,fontMapping:un,textColorMapping:xe,textColor:Jr,backgroundColor:Xt};var Yr={align:f,level:pe,indent:x,data:s,lineStyles:U,paragraphVariant:L,preserveWhitespace:ee};const Pr=Yr;var Mn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ve){return typeof Ve}:function(Ve){return Ve&&typeof Symbol=="function"&&Ve.constructor===Symbol&&Ve!==Symbol.prototype?"symbol":typeof Ve},sr=Object.assign||function(Ve){for(var tt=1;tt<arguments.length;tt++){var bt=arguments[tt];for(var an in bt)Object.prototype.hasOwnProperty.call(bt,an)&&(Ve[an]=bt[an])}return Ve};function Ar(Ve,tt){var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return tt.reduce(function(an,Wn){if(Ve[Wn]===void 0)return an;var nr=bt[Wn];if(!nr)return an[Wn]=Ve[Wn],an;var Nr={};return nr.required||(nr.values&&(Nr.default=nr.values[0],Nr.values=[].concat(nr.values).sort()),nr.default!==void 0&&(Nr.default=nr.default)),an[Wn]=Nr,an},{})}function vr(Ve,tt){return function(){return tt(Ve.apply(void 0,arguments))}}function qr(Ve,tt){var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},an=function(nr){return function(Nr){var to=bt[Nr];return!to||!to.values?!0:nr[Nr]!==void 0&&to.values.indexOf(nr[Nr])>-1}};return Ve.map(function(Wn){return Wn=sr({},Wn),Wn.preserveWhitespace!==void 0&&bt.preserveWhitespace&&(Wn.preserveWhitespace=bt.preserveWhitespace.default),Wn.attrs?sr({},Wn,{attrs:h(Wn.attrs,tt.filter(an(Wn.attrs)))}):Wn.getAttrs?sr({},Wn,{getAttrs:vr(Wn.getAttrs,function(nr){return typeof nr=="boolean"?nr:h(nr,tt.filter(an(nr)))})}):Wn})}function Dr(Ve){return typeof Ve=="string"?Ve:Array.isArray(Ve)?Ve.join(" "):Ve?"_":""}function eo(Ve){if(Array.isArray(Ve))return Ve.reduce(function(tt,bt){return bt&&(typeof bt>"u"?"undefined":Mn(bt))==="object"&&bt.name&&(tt[bt.name]=bt),tt},{});if((typeof Ve>"u"?"undefined":Mn(Ve))==="object")return Object.keys(Ve).reduce(function(tt,bt){return Mn(Ve[bt])==="object"&&(tt[bt]=Ve[bt]),tt},{})}function Vo(Ve){return Array.isArray(Ve)?Ve.reduce(function(tt,bt){return bt&&typeof bt=="string"?tt.push(bt):bt.name&&typeof bt.name=="string"&&tt.push(bt.name),tt},[]):(typeof Ve>"u"?"undefined":Mn(Ve))==="object"?Object.keys(Ve).filter(function(tt){return Ve[tt]}):[]}function Bn(Ve,tt){var bt=new RegExp("(^|\\s+)"+tt+"(\\s+|$)");return Ve.some(function(an){return an&&(an==="_"||an.search(bt)>-1)})}function ar(Ve,tt){var bt=Vo(tt),an=eo(tt),Wn=Vo(Ve),nr=eo(Ve);return Wn.reduce(function(Nr,to){var qo=nt[to],Pa=nr[to];if(!qo)return Nr;if(!Pa&&!an)return Nr[to]=qo,Nr;var $a=[],ss={};qo.attrs&&(Pa&&Pa.attrs?($a=Vo(Pa.attrs),ss=sr({},an,eo(Pa.attrs))):($a=bt,ss=an),$a=$a.filter(function(Ns){return qo.attrs[Ns]}),ss=h(ss,$a));var cs=sr({},qo,!qo.attrs||!tt?null:{attrs:Ar(qo.attrs,$a,ss),parseDOM:qr(qo.parseDOM,$a,ss)},!Pa||Pa.marks===void 0?null:{marks:Dr(Pa.marks)});return Nr[to]=cs,Nr},{})}function rn(Ve){var tt=Object.keys(Ve);if(tt.length===0||tt.filter(function(nr){return!Ve[nr].inline}).length===0)return["_"];var bt=Ve.text||fe,an=bt.group?bt.group.trim().split(/\s+/).concat("text"):[],Wn=new RegExp("(^|[^\\w])("+an.join("|")+")([^\\w]|$)");return tt.map(function(nr){var Nr=Ve[nr],to=Nr.marks,qo=Nr.content,Pa=Nr.atom,$a=Nr.code;if(to!==void 0)return to;if(!Pa&&!$a&&qo&&qo.search(Wn)>-1)return"_"}).filter(function(nr){return!!nr})}function Rt(Ve,tt){var bt=rn(tt);return Vo(Ve).reduce(function(an,Wn){var nr=Sr[Wn];return nr&&Bn(bt,Wn)&&(an[Wn]=nr),an},{})}function Qe(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},tt=Ve.nodes,bt=tt===void 0?Object.keys(nt):tt,an=Ve.marks,Wn=an===void 0?Object.keys(Sr):an,nr=Ve.attrs,Nr=nr===void 0?Object.keys(Pr):nr,to=Ve.doc,qo=to===void 0?"block*":to;if(typeof qo!="string"||!qo)throw new Error(`buildSchema requires doc to be a valid content string. 
`+JSON.stringify(qo));var Pa=ar(bt,Nr),$a=Wn?Rt(Wn,Pa):null;try{return new a.V_({nodes:sr({doc:{content:qo},text:fe},Pa),marks:$a})}catch(ss){throw ss.message=`Could not create a valid schema from config: 
`+JSON.stringify(Ve)+` 
`+ss.message,ss}}var Ye=Object.assign||function(Ve){for(var tt=1;tt<arguments.length;tt++){var bt=arguments[tt];for(var an in bt)Object.prototype.hasOwnProperty.call(bt,an)&&(Ve[an]=bt[an])}return Ve},yt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ve){return typeof Ve}:function(Ve){return Ve&&typeof Symbol=="function"&&Ve.constructor===Symbol&&Ve!==Symbol.prototype?"symbol":typeof Ve};function Ze(Ve){if(Array.isArray(Ve)){for(var tt=0,bt=Array(Ve.length);tt<Ve.length;tt++)bt[tt]=Ve[tt];return bt}else return Array.from(Ve)}var Mt=[].concat(Ze(Object.keys(ce)),["code"]),ot=Object.keys(rt),et=[].concat(Ze(Object.keys(Pr)),["headingLevels","customData","paragraphVariant"]),St=[].concat(Ze(Object.keys(Sr)),["bold","italics"]),Ht=[["?","*"],["","+"]];function er(Ve,tt,bt){return tt.filter(function(an){return Ve[an]}).map(function(an){var Wn=bt&&bt[an],nr=Ve[an];return Array.isArray(nr)?{values:nr,name:Wn||an,key:an}:(typeof nr>"u"?"undefined":yt(nr))==="object"?Ye({},nr,{name:Wn||an,key:an}):Wn?{name:Wn,key:an}:an})}function Mr(Ve){return Object.keys(Ve).filter(function(tt){return!!Ve[tt]})}function mn(Ve,tt){if(Array.isArray(tt)){var bt=Math.max(tt[0],Ve?1:0),an=tt[1];return"{"+bt+","+(an===void 0?"":Math.max(bt,an))+"}"}return Ht[Number(Ve)][Number(tt)]}function Un(Ve){var tt=Ve.node,bt=Ve.required,an=bt===void 0?!1:bt,Wn=Ve.multiple,nr=Wn===void 0?!0:Wn;return Ve.nodes&&Ve.nodes.length>0&&(Ve.nodes.length===1?tt=Ve.nodes[0]:tt="("+Ve.nodes.join("|")+")"),tt+mn(an,nr)}function hr(Ve,tt,bt){var an=[].concat(Ze(ot));if(Ve.hardBreak===!1){var Wn=an.indexOf("hardBreak");Wn>-1&&an.splice(Wn,1)}return bt?an:tt.concat(an).concat(Mr({orderedList:Ve.lists,unorderedList:Ve.lists,listItem:Ve.lists,blockQuote:Ve.quote,paragraph:!bt&&tt.length===0}))}function br(Ve){var tt=er(Ve,et,{headingLevels:"level",customData:"data",paragraphVariant:"paragraphVariant"});return tt.reduce(function(bt,an){var Wn=an,nr=an;(typeof an>"u"?"undefined":yt(an))==="object"&&(Wn=an.key,nr=an.name);var Nr=Ve[Wn];return Array.isArray(Nr)?bt[nr]={values:Nr,default:Nr[0]}:Nr&&(bt[nr]=!0),bt},{})}function io(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},bt=Ve.inline,an=er(Ve,Mt,{code:"codeBlock"}),Wn=er(Ve,St,{bold:"strong",italics:"em"}),nr=hr(Ve,an,bt),Nr=br(Ve),to=void 0;if(Array.isArray(tt)?to=tt.map(Un).join(" ").trim():to=Un(Ye({multiple:!0,required:!1,node:bt?"inline":"block",nodes:bt||an.length>0?null:Mr({listBlock:Ve.lists,blockQuote:Ve.quote})},tt)),!to)throw new Error(`Could not build a valid doc content from doc config: 
`+JSON.stringify(tt));return{nodes:nr,marks:Wn,attrs:Nr,doc:to}}var Kr={inline:!1,paragraph:!0,heading:!0,scaledText:!1,code:!0,quote:!0,lists:!0,headingLevels:[1,2,3,4,5,6],align:!0,listType:!0,indent:!0,preserveWhitespace:!1,customData:!1,lineStyles:!1,paragraphVariant:!0,bold:!0,italics:!0,link:!0,underline:!0,strikethrough:!0,textColor:!1,backgroundColor:!1,letterSpacing:!1,superscript:!0,subscript:!0,font:!1},xo={inline:!1,paragraph:!0,heading:!1,scaledText:!1,code:!1,quote:!1,lists:!1,headingLevels:!1,align:!1,listType:!1,indent:!1,preserveWhitespace:!1,customData:!1,lineStyles:!1,paragraphVariant:!0,bold:!0,italics:!0,link:!0,underline:!0,strikethrough:!0,textColor:!1,backgroundColor:!1,letterSpacing:!1,superscript:!0,subscript:!0,font:!1},Ho=Object.assign||function(Ve){for(var tt=1;tt<arguments.length;tt++){var bt=arguments[tt];for(var an in bt)Object.prototype.hasOwnProperty.call(bt,an)&&(Ve[an]=bt[an])}return Ve},bo={createCustom:Qe,createSchemaConfig:io,create:function(tt,bt){return Qe(io(tt,bt))},createClassic:function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Qe(io(Ho({},Kr,tt),Ho({required:!0,multiple:!0},bt)))},createSimple:function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Qe(io(Ho({},xo,tt),Ho({required:!0,multiple:!0},bt)))},createInline:function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},bt=arguments[1];return Qe(io(Ho({},xo,{paragraph:!1},tt,{inline:!0}),bt))}};const Ea=bo;var Ia=e(961559),Da=e(698758),Za=e(149318),Xa=e(223122),ba=Object.assign||function(Ve){for(var tt=1;tt<arguments.length;tt++){var bt=arguments[tt];for(var an in bt)Object.prototype.hasOwnProperty.call(bt,an)&&(Ve[an]=bt[an])}return Ve},ns=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ve){return typeof Ve}:function(Ve){return Ve&&typeof Symbol=="function"&&Ve.constructor===Symbol&&Ve!==Symbol.prototype?"symbol":typeof Ve};function Ja(Ve,tt){for(var bt=0,an=Ve.depth,Wn=tt.depth;Ve.node(bt)===tt.node(bt)&&bt<=an&&bt<=Wn;)bt++;if(bt===0)throw new Error("doc is not the same");return bt-1}function Is(Ve,tt){var bt=Is(Ve,tt);return Ve.node(bt)}function Vr(Ve){var tt=Ve.length;return tt?function(bt,an){return bt.mapping.slice(tt).map(an)}:function(bt,an){return bt.mapping.map(an)}}function Qr(Ve,tt){for(var bt=Ve.depth,an=null;bt>=0&&!an;){var Wn=Ve.node(bt);tt(Wn)&&(an={node:Wn,start:Ve.start(bt),end:Ve.end(bt),index:Ve.index(bt)}),bt--}return an}function To(Ve,tt){var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,an=Ve.selection,Wn=an.from,nr=an.to,Nr={before:[],after:[]};return Ve.doc.nodesBetween(Wn,nr,function(to,qo,Pa,$a){var ss=tt(to,qo,Pa,$a);if(ss){var cs={node:to,pos:qo,parent:Pa,index:$a};if(qo<Wn)Nr.before.push(cs),bt||(Nr.before=Nr.before.slice(-1));else{if(!bt)return(Nr.after.length>0||Nr.before.length===0||qo>Nr.before[0].pos+Nr.before[0].node.content.size+1)&&Nr.after.push(cs),!1;Nr.after.push(cs)}}}),Nr}function xr(Ve,tt){var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,an=To(Ve,tt,bt);return an.before.concat(an.after)}function uo(Ve,tt){var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,an=To(Ve,tt,bt),Wn=an.before,nr=an.after;return Wn.length>0?Wn[Wn.length-1]:nr[0]}function Mo(Ve,tt){var bt=Ve.attrs;return!bt||!bt[tt]?!1:!bt[tt].hasDefault}function go(Ve){return Ve.attrs?Object.keys(Ve.attrs).filter(function(tt){return Mo(Ve,tt)}):null}function ea(Ve,tt){return Ve!==void 0&&(!tt.values||tt.values.indexOf(Ve)>-1)&&(!tt.type||(typeof Ve>"u"?"undefined":ns(Ve))===tt.type)}function ha(Ve,tt){var bt=go(Ve);return!bt||bt.length===0?!1:tt?bt.some(function(an){return!ea(tt[an],Ve.spec.attrs[an])}):!0}function yr(Ve,tt){var bt=Object.keys(Ve),an=Object.keys(tt);return bt.length!==an.length?!1:bt.every(function(Wn){return Ve[Wn]===tt[Wn]})}function Lr(Ve,tt){var bt=Ve.attrs;if(!bt)return{};var an=Object.keys(tt).filter(function(Wn){return!!bt[Wn]});return an.reduce(function(Wn,nr){var Nr=tt[nr],to=bt[nr];return ea(Nr,to)&&(Wn[nr]=Nr),Wn},{})}function ao(Ve,tt,bt){return Lr(Ve,ba({},tt,bt))}function ho(Ve,tt){var bt=tt.selection.$cursor.pos,an=!1;do{if(bt===0)return bt;var Wn=tt.doc.nodeAt(bt-1);if(!Wn)break;an=!!Ve.isInSet(Wn.marks),an&&(bt=bt-1)}while(an);return bt}function Lo(Ve,tt){var bt=tt.selection.$cursor.pos+1,an=!1;do{if(bt>tt.doc.content.size)return tt.doc.content.size;var Wn=tt.doc.nodeAt(bt);if(!Wn)break;an=Ve.isInSet(Wn.marks),an&&(bt=bt+1)}while(an);return bt}function Yo(Ve){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return function(an){var Wn=an.selection,nr=Wn.$cursor,Nr=Wn.from,to=Wn.to,qo=[];if(an.selection.empty){if(nr.node().content.size===0)return null;var Pa=void 0,$a=nr.pos===nr.end(),ss=nr.pos===nr.start();if(($a||!ss)&&(Pa=bt?nr.nodeAfter:nr.nodeBefore),Pa||(Pa=an.doc.nodeAt(nr.pos)),Pa&&Pa.isText&&Pa.marks){var cs=Ve.isInSet(Pa.marks);if(!cs)return null;Nr=ho(Ve,an),to=Lo(Ve,an)}else return null}return an.doc.nodesBetween(Nr,to,function(Ns,Fi){if(tt&&qo.length>0)return!1;if(Ns.isText){var xi=Ve.isInSet(Ns.marks);xi&&qo.push({node:Ns,mark:xi,from:Fi,to:Fi+Ns.nodeSize,attrs:xi.attrs})}}),tt?qo[0]||null:qo.length>0?qo:null}}function jo(Ve){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,bt=Yo(Ve,tt);return function(an){var Wn=bt(an);return tt?Wn&&Wn.attrs:Wn&&Wn.map(function(nr){var Nr=nr.attrs;return Nr})}}function Xo(Ve,tt){var bt=Yo(Ve,!0),an=tt.selection.$cursor,Wn=bt(tt)||{},nr=Wn.mark,Nr=Wn.from,to=Wn.to;return!nr&&an&&(nr=Ve.isInSet(tt.storedMarks||an.marks())),{mark:nr,from:Nr,to}}function Ua(Ve,tt){var bt=tt.selection,an=bt.$from,Wn=bt.to,nr=!1;return tt.doc.nodesBetween(an.pos,Wn,function(Nr){if(nr)return!1;Nr.inlineContent&&(nr=nr||Nr.type.allowsMarkType(Ve))}),nr}var ds=function(tt,bt){for(var an=bt.depth;an>0;an--){var Wn=bt.node(an);if(tt(Wn))return{pos:bt.before(Math.max(an,0)),start:bt.start(an),depth:an,node:Wn}}},us=function(tt,bt){return ds(tt,bt.$from)},ys=function(tt,bt){return!!us(function(an){return an.type===bt},tt)},Ys=["unorderedList","orderedList"];function Gs(Ve,tt){var bt=Ve.node(tt-1),an=Ve.index(tt-1);return an>0&&bt.child(an-1)}function xs(Ve){if(!Ve||Ve.depth===0)return null;for(var tt=void 0,bt=Ve.depth;!tt&&bt>0;){var an=Ve.node(bt),Wn=Ve.start(bt);if(an.isTextblock){Wn===Ve.pos&&(tt=an);break}bt--}if(!tt||bt===0)return null;var nr=Gs(Ve,bt);return{textBlock:tt,prevSibling:nr}}function Ai(Ve,tt){Ve=Ve.deleteRange(tt.before(),tt.after());var bt=Ve.doc.resolve(Ve.mapping.map(tt.pos)),an=n.Y1.findFrom(bt,-1,!0);return Ve=Ve.setSelection(an),Ve}function Pi(Ve,tt,bt){return Ve=Ve.insert(bt,tt),(0,Xa.Mn)(Ve.doc,bt)&&(Ve=Ve.join(bt)),Ve}function ei(Ve,tt,bt){var an=Ve.selection.$cursor,Wn=xs(an)||{},nr=Wn.textBlock,Nr=Wn.prevSibling;if(!nr||!Nr||Ys.indexOf(Nr.type.name)===-1)return!1;var to=Ve.tr;if(to=Ai(to,an),nr.textContent){var qo=(0,Xa.Yo)(to.doc,to.selection.from,nr.type);if(!qo)return!1;to=Pi(to,nr,qo)}return tt&&tt(to.scrollIntoView()),!0}var hi=(0,Da.QF)(ei,Da.al,Da._M);const ks=hi;function Ms(Ve,tt){var bt=To(Ve,function(nr,Nr,to,qo){if(nr.type===tt){var Pa=qo>0&&to.child(qo-1);return!Pa||Pa.type===tt}}),an=bt.before.slice(-1).concat(bt.after),Wn=an[0];return!Wn||Wn.index===0?[]:an.filter(function(nr){var Nr=nr.index;return Nr!==0})}function bs(Ve){return function(tt,bt){var an=Ms(tt,Ve);if(an.length===0)return!1;var Wn=tt.tr;return bt&&(an.forEach(function(nr){var Nr=nr.node,to=nr.pos;to=Wn.mapping.map(to),(0,Xa.Mn)(Wn.doc,to)&&(Wn=Wn.join(to))}),bt(Wn.scrollIntoView())),Wn.steps.length>0}}function Hs(Ve,tt){return Ve.type===tt.type&&(Ve.type.attrs&&Ve.type.attrs.listType)===(tt.type.attrs&&tt.type.attrs.listType)}function Os(Ve,tt){return xr(Ve,function(bt,an,Wn,nr){return bt.isTextblock&&Wn.type.name==="doc"})}function Vs(Ve,tt){return xr(Ve,function(bt,an,Wn,nr){if(bt.type===tt){var Nr=nr>0&&Wn.child(nr-1);return Nr&&Hs(bt,Nr)}})}function _s(Ve,tt,bt){var an=Ve.steps.length;return bt||(bt=Vs(Ve,tt)),bt.forEach(function(Wn){var nr=Wn.node,Nr=Wn.pos,to=an>0?Ve.mapping.slice(an):Ve.mapping,qo=(0,Xa.GJ)(Ve.doc,to.map(Nr),-1);qo&&(Ve=Ve.join(qo))}),Ve}function fs(Ve,tt,bt){var an=Ve.steps.length;return bt||(bt=Os(Ve,tt)),bt.forEach(function(Wn){var nr=Wn.node,Nr=Wn.pos,to=an>0?Ve.mapping.slice(an):Ve.mapping,qo=Nr+nr.content.size+1,Pa=Ve.doc.resolve(to.map(Nr)),$a=Ve.doc.resolve(to.map(qo)),ss=Pa.blockRange($a),cs=(0,Xa.nd)(ss,tt,nr.attrs);if(cs&&(Ve=Ve.wrap(ss,cs),nr.attrs&&nr.attrs.indent)){var Ns=Ve.selection,Fi=Ns.head,xi=Ns.anchor,ni=d(nr.attrs,["indent"]),dl=nr.type.create(ni,nr.content,nr.marks);to=an>0?Ve.mapping.slice(an):Ve.mapping,Ve=Ve.replaceWith(to.map(Nr),to.map(Nr+nr.nodeSize),dl),Ve=Ve.setSelection(n.Bs.create(Ve.doc,xi,Fi))}}),Ve}function Ss(Ve,tt){return function(bt,an){var Wn=bt.tr;return Wn=fs(Wn,Ve),Wn.steps.length===0?!1:(Wn=_s(Wn,Ve),an&&an(Wn.scrollIntoView()),!0)}}var hs=function(){function Ve(tt,bt){var an=[],Wn=!0,nr=!1,Nr=void 0;try{for(var to=tt[Symbol.iterator](),qo;!(Wn=(qo=to.next()).done)&&(an.push(qo.value),!(bt&&an.length===bt));Wn=!0);}catch(Pa){nr=!0,Nr=Pa}finally{try{!Wn&&to.return&&to.return()}finally{if(nr)throw Nr}}return an}return function(tt,bt){if(Array.isArray(tt))return tt;if(Symbol.iterator in Object(tt))return Ve(tt,bt);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function li(Ve,tt,bt){var an=To(Ve,function(Wn,nr,Nr,to){return tt.indexOf(Wn.type)>-1&&(Wn.type===bt||Nr.canReplaceWith(to,to+1,bt))});return an.before.slice(-1).concat(an.after).filter(function(Wn){var nr=Wn.node;return nr.type!==bt})}function Ni(Ve,tt){return xr(Ve,function(bt,an,Wn,nr){return Wn.type===tt&&nr>0})}function Ji(Ve,tt,bt){var an=Ve.steps.length,Wn=li(Ve,tt,bt);return Wn.forEach(function(nr){var Nr=nr.pos,to=nr.node,qo=to.attrs?Lr(bt,to.attrs):null,Pa=an>0?Ve.mapping.slice(an):Ve.mapping;Ve=Ve.setNodeMarkup(Pa.map(Nr),bt,qo)}),Ve}function wi(Ve,tt){var bt=Ve.steps.length,an=Ni(Ve,tt);return an.forEach(function(Wn){var nr=Wn.node,Nr=Wn.pos,to=bt>0?Ve.mapping.slice(bt):Ve.mapping;if(Nr=to.map(Nr),(0,Xa.Ax)(Ve.doc,Nr)&&(Ve=Ve.split(Nr,2),nr.attrs&&nr.attrs.indent)){var qo=Ve.selection,Pa=qo.head,$a=qo.anchor,ss=d(nr.attrs,["indent"]),cs=nr.type.create(ss,nr.content,nr.marks);to=bt>0?Ve.mapping.slice(bt):Ve.mapping,Ve=Ve.replaceWith(to.map(Nr),to.map(Nr+nr.nodeSize),cs),Ve=Ve.setSelection(n.Bs.create(Ve.doc,$a,Pa))}}),Ve}function vi(Ve,tt){var bt=hs(tt,2),an=bt[0],Wn=bt[1];return function(nr,Nr){var to=nr.tr;return to=Ji(to,Ve,an),to=wi(to,Wn),to=fs(to,an),to=_s(to,an),to.steps.length===0?!1:(Nr&&Nr(to.scrollIntoView()),!0)}}function sl(Ve,tt){return xr(Ve,function(bt,an,Wn,nr){return Wn.type===tt},!1)}function Zi(Ve,tt){return function(bt,an){var Wn=sl(bt,Ve,tt).filter(function(Nr){var to=Nr.node;return tt.indexOf(to.type)===-1});if(Wn.length===0)return!1;var nr=bt.tr;return Wn.forEach(function(Nr){var to=Nr.node,qo=Nr.pos,Pa=nr.doc.resolve(nr.mapping.map(qo)),$a=nr.doc.resolve(nr.mapping.map(qo+to.content.size+1)),ss=Pa.blockRange($a),cs=(0,Xa.k9)(ss);typeof cs=="number"&&(nr=nr.lift(ss,cs))}),nr.steps.length===0?!1:(an&&an(nr.scrollIntoView()),!0)}}var Zs=function(tt){return function(bt,an){return(0,Za.s6)(tt)(bt,an&&function(Wn){var nr=bt.storedMarks||bt.selection.$to.parentOffset&&bt.selection.$from.marks();nr&&Wn.setStoredMarks(nr),an(Wn)})}};const Bs=Zs;function ti(Ve,tt){return tt&&(tt=Lr(Ve,tt)),function(bt,an){if(ha(Ve,tt)||!Ua(Ve,bt))return!1;var Wn=bt.tr,nr=Wn.selection,Nr=nr.from,to=nr.to,qo=nr.$cursor;return qo?Wn=Wn.addStoredMark(Ve.create(tt)):Wn=Wn.addMark(Nr,to,Ve.create(tt)),an&&an(Wn.scrollIntoView()),!0}}function gi(Ve){if(Array.isArray(Ve)){for(var tt=0,bt=Array(Ve.length);tt<Ve.length;tt++)bt[tt]=Ve[tt];return bt}else return Array.from(Ve)}function yi(Ve,tt){var bt=Ve.selection,an=Ve.schema,Wn=bt.from,nr=bt.to,Nr=bt.$cursor,to=Ve.tr,qo=[];Array.isArray(to.storedMarks)&&qo.push.apply(qo,gi(to.storedMarks)),Nr&&qo.push.apply(qo,gi(Nr.marks()));var Pa=qo.length>0;return Pa||an.spec.marks.forEach(function($a){Pa=Pa||Ve.doc.rangeHasMark(Wn,nr,an.marks[$a])}),Pa?(to=to.removeMark(Wn,nr),qo.forEach(function($a){to=to.removeStoredMark($a)}),tt&&tt(to.scrollIntoView()),!0):!1}function ki(Ve,tt){return function(bt,an){var Wn=bt.selection,nr=Wn.from,Nr=Wn.to,to=Wn.$cursor;if(to){if(!Ve.isInSet(to.marks()))return!1}else if(!bt.doc.rangeHasMark(nr,Nr,Ve))return!1;if(to&&tt){var qo=Yo(Ve,!0)(bt);qo&&(nr=qo.from,Nr=qo.to)}var Pa=bt.tr.removeMark(nr,Nr,Ve);return to&&(Pa=Pa.removeStoredMark(Ve)),an&&an(Pa.scrollIntoView()),!0}}var bi=function(){function Ve(tt,bt){var an=[],Wn=!0,nr=!1,Nr=void 0;try{for(var to=tt[Symbol.iterator](),qo;!(Wn=(qo=to.next()).done)&&(an.push(qo.value),!(bt&&an.length===bt));Wn=!0);}catch(Pa){nr=!0,Nr=Pa}finally{try{!Wn&&to.return&&to.return()}finally{if(nr)throw Nr}}return an}return function(tt,bt){if(Array.isArray(tt))return tt;if(Symbol.iterator in Object(tt))return Ve(tt,bt);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),nl="Backspace",Si="Delete";function ta(Ve,tt,bt,an){if(bt.nodeSize>1)return[Ve,!1];var Wn=tt.$cursor.pos,nr=an===nl?Wn-1:Wn,Nr=an===nl?Wn:Wn+1;return Ve=Ve.delete(nr,Nr).scrollIntoView(),Ve=Ve.setStoredMarks([]),[Ve,!0]}function ke(Ve,tt){var bt=tt.from,an=tt.to,Wn=tt.from<=bt&&tt.to>=an;return Wn?(Ve=Ve.deleteSelection().scrollIntoView(),Ve=Ve.setStoredMarks([]),[Ve,!0]):[Ve,!1]}function Jt(Ve,tt){return function(bt,an){var Wn=bt.selection,nr=Wn.from,Nr=Wn.to,to=Wn.$cursor;if(to){var qo=to.nodeAfter?to.nodeAfter.marks:null,Pa=tt===nl?to.marks():qo;if(!Pa||!Ve.isInSet(Pa))return!1}else if(!bt.doc.rangeHasMark(nr,Nr,Ve))return!1;var $a=void 0,ss=tt===Si,cs=Yo(Ve,!0,ss)(bt);cs&&($a=cs.node,nr=cs.from,Nr=cs.to);var Ns=bt.tr,Fi=!1;if(to){var xi=ta(Ns,bt.selection,$a,tt),ni=bi(xi,2);Ns=ni[0],Fi=ni[1]}else if(!bt.selection.empty){var dl=ke(Ns,bt.selection),Ec=bi(dl,2);Ns=Ec[0],Fi=Ec[1]}return Fi?(an&&an(Ns),!0):!1}}var Fn=function(tt){return(0,Da.QF)(Jt(tt,nl))},mr=function(tt){return(0,Da.QF)(Jt(tt,Si))};function Tr(Ve,tt,bt){var an=Ve.from,Wn=Ve.to;return(tt.from===void 0||an===tt.from&&Wn===tt.to)&&yr(tt.mark.attrs,bt)}function Oo(Ve,tt,bt){var an=tt&&Lr(Ve.spec,tt);return an.length===0||ha(Ve,tt)?function(){return!1}:function(Wn,nr){var Nr=Xo(Ve,Wn),to=Nr.mark,qo=Wn.selection,Pa=qo.from,$a=qo.to,ss=qo.$cursor;if(!to)return!1;var cs=ao(Ve.spec,to.attrs,an);if(Tr(Wn.selection,Nr,cs))return nr&&nr(Wn.tr.scrollIntoView()),!0;bt&&ss&&Nr.from!==void 0&&(Pa=Nr.from,$a=Nr.to);var Ns=Wn.tr;return ss&&(Ns=Ns.removeStoredMark(Ve)),Ns=Ns.removeMark(Pa,$a,Ve),Ns=Ns.addMark(Ns.mapping.map(Pa),Ns.mapping.map($a),Ve.create(cs)),ss&&(Ns=Ns.addStoredMark(Ve.create(cs))),nr&&nr(Ns.scrollIntoView()),!0}}function Uo(Ve,tt,bt){return(0,Da.QF)(Oo(Ve,tt,bt),ki(Ve,bt),ti(Ve,tt))}function gt(Ve){var tt=Ve.state,bt=Ve.dispatch,an=Ve.markType,Wn=Ve.mark,nr=Ve.attrs,Nr=void 0,to=void 0;tt.selection.empty?(Nr=ho(Wn.type,tt),to=Lo(Wn.type,tt)):(Nr=tt.selection.from,to=tt.selection.to);var qo=tt.doc.cut(Nr,to).textContent,Pa=nr.textContent,$a=tt.tr;$a=$a.removeMark(Nr,to,an),$a.setSelection(new n.Bs($a.doc.resolve(Nr),$a.doc.resolve(to)));var ss=Pa&&Pa!==qo,cs=Pa===""&&Pa!==qo;if(ss)$a=$a.replaceWith(Nr,to,tt.schema.text(Pa)),$a.setSelection(new n.Bs($a.doc.resolve($a.mapping.map(Nr)),$a.doc.resolve($a.mapping.map(to))));else if(cs)return $a=$a.delete(Nr,to),bt($a),!0;return nr.href?($a=$a.addMark($a.mapping.map(Nr),$a.mapping.map(to),an.create({href:nr.href,target:nr.target})),bt($a),!0):(bt($a),!0)}function it(Ve){var tt=Ve.state,bt=Ve.text,an=Ve.from,Wn=Ve.markType,nr=Ve.attrs,Nr=Ve.dispatch,to=tt.tr;return to=to.insert(an,tt.schema.text(bt)),to.setSelection(new n.Bs(to.doc.resolve(an),to.doc.resolve(an+bt.length))),nr.href&&(to=to.addMark(an,an+bt.length,Wn.create(nr))),Nr(to),!0}function Lt(Ve){var tt=Ve.state,bt=Ve.dispatch,an=Ve.from,Wn=Ve.to,nr=Ve.text,Nr=Ve.markType,to=Ve.attrs,qo=tt.tr;return nr?qo=qo.replaceWith(an,Wn,tt.schema.text(nr)):qo=qo.delete(an,Wn),qo.setSelection(new n.Bs(qo.doc.resolve(qo.mapping.map(an)),qo.doc.resolve(qo.mapping.map(Wn)))),to.href&&(qo=qo.addMark(qo.mapping.map(an),qo.mapping.map(an+nr.length),Nr.create(to))),bt(qo),!0}function $t(Ve,tt,bt){return function(an,Wn){var nr=Xo(Ve,an),Nr=nr.mark;if(Nr)return gt({state:an,dispatch:Wn,markType:Ve,mark:Nr,attrs:tt,opts:bt});var to=an.selection,qo=to.to,Pa=to.from,$a=to.$cursor,ss=tt.textContent,cs=an.doc.cut(Pa,qo).textContent;return $a&&ss?it({state:an,dispatch:Wn,markType:Ve,attrs:tt,from:Pa,text:ss}):ss&&ss!==cs?Lt({state:an,attrs:tt,dispatch:Wn,markType:Ve,from:Pa,to:qo,text:ss}):!1}}function _n(Ve,tt){return function(bt,an){var Wn=bt.selection,nr=Wn.to,Nr=Wn.from,to=Wn.$cursor,qo=tt.textContent,Pa=qo===void 0?"":qo,$a=Pa.length,ss=bt.tr;if(!tt.href)return!0;if(to&&$a){ss=ss.insert(Nr,bt.schema.text(Pa));var cs=Ve.create({target:tt.target,href:tt.href||""});return ss=ss.addMark(Nr,Nr+$a,cs),ss=ss.setSelection(new n.Bs(ss.doc.resolve(Nr),ss.doc.resolve(Nr+$a))),an(ss),!0}if($a){var Ns=Ve.create({target:tt.target,href:tt.href||""});return ss=ss.addMark(Nr,nr,Ns),ss=ss.setSelection(new n.Bs(ss.doc.resolve(Nr),ss.doc.resolve(nr))),an(ss),!0}return!1}}function dn(Ve,tt){return function(bt,an){var Wn=bt.selection,nr=Wn.to,Nr=Wn.from,to=bt.tr;return to=to.addMark(Nr,nr,Ve.create({target:tt.target,href:tt.href||""})),an(to),!0}}function Jn(Ve,tt){return(0,Da.QF)($t(Ve,tt),_n(Ve,tt),dn(Ve,tt))}function Hn(Ve){var tt=Ve.state,bt=Ve.dispatch,an=Ve.markType,Wn=Ve.mark,nr=Ve.attrs,Nr=Ve.opts,to=Wn.from,qo=Wn.to;tt.selection.empty||(to=tt.selection.from,qo=tt.selection.to);var Pa=tt.tr.removeMark(to,qo,an),$a=Pa.doc.resolve(to),ss=Pa.doc.resolve(qo);Pa.setSelection(new n.Bs($a,ss));var cs=Nr&&typeof Nr.attrKey=="string"&&nr[Nr.attrKey];return cs&&(Pa=Pa.addMark(to,qo,an.create(nr))),bt(Pa),!0}function jr(Ve,tt,bt){return function(an,Wn){var nr=Xo(Ve,an),Nr=nr.mark,to=Nr&&Hn({state:an,dispatch:Wn,markType:Ve,mark:nr,attrs:tt,opts:bt});return to}}function wo(Ve,tt){return function(bt,an){var Wn=bt.selection,nr=Wn.to,Nr=Wn.from,to=bt.tr;return to=to.addMark(Nr,nr,Ve.create(tt)),an(to),!0}}function ko(Ve,tt,bt){return(0,Da.QF)(jr(Ve,tt,bt),wo(Ve,tt))}function Sa(Ve){return function(tt,bt){return bt&&bt(tt.tr.replaceSelectionWith(Ve.create()).scrollIntoView()),!0}}function Na(Ve,tt,bt){var an=function(Nr,to,qo){return qo.type===tt};if(bt)return xr(Ve,an,!0);var Wn=uo(Ve,an,!1);return Wn?[Wn]:[]}function qa(Ve){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return function(bt,an){var Wn=Na(bt,Ve,tt);if(Wn.length===0)return!1;var nr=bt.tr;return Wn.forEach(function(Nr){var to=Nr.node,qo=Nr.pos,Pa=nr.doc.resolve(nr.mapping.map(qo)),$a=nr.doc.resolve(nr.mapping.map(qo+to.content.size+1)),ss=Pa.blockRange($a),cs=(0,Xa.k9)(ss);typeof cs=="number"&&(nr=nr.lift(ss,cs))}),nr.steps.length===0?!1:(an&&an(nr.scrollIntoView()),!0)}}function ms(Ve,tt){return Object.keys(Ve).reduce(function(bt,an){var Wn=Ve[an];if(typeof Wn=="function"){var nr=tt.attrs?tt.attrs[an]:void 0,Nr=tt.type.spec.attrs[an];bt[an]=Wn(nr,Nr,tt)}else bt[an]=Wn;return bt},{})}function Us(Ve,tt,bt,an){return xr(Ve,function(Wn,nr,Nr,to){var qo=(tt||Wn.type).attrs;return Wn.isBlock&&qo&&(!bt||bt(Wn,nr,Nr,to))},an)}function $i(Ve,tt,bt,an,Wn){var nr=Wn||Object.keys(an),Nr=Vr(Ve.steps);return tt.reverse().forEach(function(to){var qo=to.node,Pa=to.pos,$a=qo.type,ss=bt||$a,cs=qo.attrs,Ns=ms(an,qo),Fi=ao(ss.spec,cs,Wn?h(Ns,Wn):Ns);if(!(ss===$a&&cs&&nr.every(function(ni){return Fi[ni]===cs[ni]}))){bt&&qo.forEach(function(ni,dl,Ec){ni.marks=ni.marks.filter(function(ri){var cc=ri.type;return bt.allowsMarkType(cc)})});var xi=ss.create(Fi,qo.content,qo.marks);Ve=Ve.replaceWith(Nr(Ve,Pa),Nr(Ve,Pa+qo.nodeSize),xi)}}),Ve}function Mi(Ve){var tt=Ve.nodeType,bt=Ve.attrs,an=Ve.matcher,Wn=Ve.recursive,nr=Ve.state,Nr=Object.keys(bt),to=nr.tr,qo=to.selection,Pa=qo.anchor,$a=qo.head,ss=Us(to,tt,an,Wn);if(ss.length===0)return!1;if(to=$i(to,ss,tt,bt,Nr),to.steps.length===0)return to;var cs=n.Bs.create(to.doc,Pa,$a);return to=to.setSelection(cs),to}function si(Ve,tt,bt){var an=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;return function(nr,Nr){var to=Mi({nodeType:Ve,attrs:tt,matcher:bt,recursive:an,state:nr});return to?(to.steps.length>0&&Nr&&Nr(to.scrollIntoView()),!0):!1}}function rl(Ve,tt,bt){var an=Ve.selection,Wn=an.from,nr=an.to;return Ve.doc.nodesBetween(Wn,nr,function(Nr,to,qo,Pa){if(Nr.isBlock){var $a=to+Nr.content.size+1,ss=Ve.doc.resolve(Ve.mapping.map(to)),cs=Ve.doc.resolve(Ve.mapping.map($a)),Ns=ss.blockRange(cs),Fi=(0,Xa.nd)(Ns,tt);if(Fi){Ve=Ve.wrap(Ns,Fi);var xi=(0,Xa.GJ)(Ve.doc,Ve.mapping.map(to),-1);xi&&(Ve=Ve.join(xi));var ni=(0,Xa.GJ)(Ve.doc,Ve.mapping.map($a),1);if(ni&&(Ve=Ve.join(ni)),!bt)return!1}}}),Ve}function El(Ve,tt){return function(bt,an){var Wn=rl(bt.tr,Ve,tt);return Wn.steps.length===0?!1:(an&&an(Wn.scrollIntoView()),!0)}}var Ui=["align","indent"],il=["data"];function fl(Ve,tt){var bt=Ve.selection,an=bt.$from,Wn=bt.$to,nr=an.node(an.depth),Nr=Ve.storedMarks||Wn.parentOffset&&an.marks();return(0,Da.JA)(Ve,function(to){var qo=to.selection,Pa=qo.from,$a=qo.to,ss=qo.$to,cs=ss.node(ss.depth),Ns=ao(cs.type.spec,cs.attrs,g(nr.attrs,function(Fi,xi){return xi.indexOf(Ui)>-1||nr.type===cs.type&&xi.indexOf(il)>-1}));to=to.setBlockType(Pa,$a,cs.type,Ns),Nr&&(to=to.ensureMarks(Nr)),tt(to)})}function oi(Ve,tt){var bt=Ve.selection,an=bt.$from,Wn=bt.$to;if(an.parent.inlineContent||Wn.parent.inlineContent)return!1;var nr=an.parent.contentMatchAt(Wn.indexAfter()).defaultType;if(!nr||!nr.isTextblock||an.parentOffset&&Wn.index()<Wn.parent.childCount)return!1;if(tt){var Nr=an.pos,to=Ve.tr.insert(Nr,nr.createAndFill());to.setSelection(n.Bs.create(to.doc,Nr+1)),tt(to.scrollIntoView())}return!0}function Nl(Ve,tt){var bt=Ve.selection,an=bt.$from,Wn=bt.$to;if(an.parent.inlineContent||Wn.parent.inlineContent)return!1;var nr=an.parent.contentMatchAt(Wn.indexAfter()).defaultType;if(!nr||!nr.isTextblock)return!1;if(tt){var Nr=Wn.pos,to=Ve.tr.insert(Nr,nr.createAndFill());to.setSelection(n.Bs.create(to.doc,Nr+1)),tt(to.scrollIntoView())}return!0}function xl(Ve,tt){var bt=Ve.selection,an=bt.$from,Wn=bt.$to;if(an.parent.inlineContent||Wn.parent.inlineContent)return!1;var nr=an.parent.contentMatchAt(Wn.indexAfter()).defaultType;if(!nr||!nr.isTextblock||Wn.pos<Ve.doc.content.size)return!1;if(tt){var Nr=Wn.pos,to=Ve.tr.insert(Nr,nr.createAndFill());to.setSelection(n.Bs.create(to.doc,Nr+1)),tt(to.scrollIntoView())}return!0}var Ic="strong",Kl="strong",Jl="em",Vi="em",_c="underline",mc="strikethrough",zl="superscript",$l="subscript",ln="code",sn="link",zn="highlight",Er="textColor",zr="backgroundColor",Ao="font",Zo="undo",ia="redo",So="orderedList",Ha="unorderedList",is="paragraph",as="heading1",es="heading2",Qs="heading3",Rs="heading4",rs="heading5",Cs="heading6",Fs="codeBlock",Ks="scaledText",Ls="blockQuote",Js="leftAlign",Ts="centerAlign",zs="rightAlign",Bi="justifyAlign",qs="customData",Ti="lineStyles",ui="paragraphSmall",qi="paragraphLarge",Ko="sinkListItem",Ur="liftListItem",aa="indent",ca="outdent",As="clearFormatting",Ri="fontMapping",Ei="textColorMapping",pi="letterSpacing";function Gi(Ve,tt,bt,an){var Wn=tt.schema.nodes[Ks],nr=ys(tt.selection,Wn),Nr=tt.selection.$head;if(!nr)return!1;var to=an.endOfTextblock("left",tt),qo=an.endOfTextblock("right",tt);if(!to&&!qo)return!1;var Pa=tt.schema.nodes[Ve],$a=to?Nr.before()-1:Nr.after(),ss=tt.tr.replaceWith($a,$a,Pa.createAndFill());return qo&&ss.setSelection(n.Y1.near(ss.doc.resolve($a),1)),bt&&bt(ss.scrollIntoView()),!0}function Eo(Ve,tt){var bt=Ve.schema.nodes[Ks],an=ys(Ve.selection,bt);if(!an)return!1;var Wn=Ve.selection.$from,nr=Ve.tr;return nr=nr.split(Wn.pos,2),tt&&tt(nr.scrollIntoView()),!0}var _l=function(){for(var tt=arguments.length,bt=Array(tt),an=0;an<tt;an++)bt[an]=arguments[an];return Gi.apply(void 0,[is].concat(bt))},Al=function(){for(var tt=arguments.length,bt=Array(tt),an=0;an<tt;an++)bt[an]=arguments[an];return Gi.apply(void 0,[Ks].concat(bt))},Pl=function(){return Eo.apply(void 0,arguments)},Wi={highlight:[{key:"Backspace",getCommand:function(tt){return Fn(tt)}},{key:"Mod-Backspace",getCommand:function(tt){return Fn(tt)}},{key:"Delete",getCommand:function(tt){return mr(tt)}},{key:"Mod-Delete",getCommand:function(tt){return mr(tt)}}],link:[{key:"Mod-k",getCommand:function(tt){return ki(tt,!0)}}],hardBreak:[{key:"Shift-Enter",getCommand:Sa}],codeBlock:[{key:"Enter",command:Da.uo},{key:"Shift-Enter",command:Da.QK},{key:"Mod-Enter",command:Da.QK}],listItem:[{key:"Enter",getCommand:Bs},{key:"Tab",getCommand:Za.bw},{key:"Shift-Tab",getCommand:Za.IB},{key:"Backspace",command:ks},{key:"Mod-Backspace",command:ks}],scaledText:[{key:"Enter",command:(0,Da.QF)(_l,Pl)},{key:"Shift-Enter",command:(0,Da.QF)(Al,Pl)},{key:"Mod-Enter",command:(0,Da.QF)(Al,Pl)}]};O&&Wi.listItem.push({key:"Alt-Backspace",command:ks});const Mc=Wi;var Fc=Object.assign||function(Ve){for(var tt=1;tt<arguments.length;tt++){var bt=arguments[tt];for(var an in bt)Object.prototype.hasOwnProperty.call(bt,an)&&(Ve[an]=bt[an])}return Ve},Ou=function(tt,bt){return bt?(0,Da.QF)(tt,bt):tt},Rl=function(tt){for(var bt=arguments.length,an=Array(bt>1?bt-1:0),Wn=1;Wn<bt;Wn++)an[Wn-1]=arguments[Wn];var nr=Fc({},tt);return an.forEach(function(Nr){Object.keys(Nr).forEach(function(to){nr[to]=Ou(Nr[to],nr[to])})}),nr},gu=function(tt,bt){var an={};return Object.keys(Mc).forEach(function(Wn){if(tt.get(Wn)){var nr=Mc[Wn],Nr=bt[Wn];nr.forEach(function(to){var qo=to.key,Pa=to.command,$a=to.getCommand;Pa=$a?$a(Nr):Pa,an[qo]=Ou(Pa,an[qo])})}}),an};function Hl(Ve){return Rl(gu(Ve.spec.marks,Ve.marks),gu(Ve.spec.nodes,Ve.nodes))}var Cl=Object.assign||function(Ve){for(var tt=1;tt<arguments.length;tt++){var bt=arguments[tt];for(var an in bt)Object.prototype.hasOwnProperty.call(bt,an)&&(Ve[an]=bt[an])}return Ve},Dl=Cl({},Da.YR,{Enter:(0,Da.QF)(Nl,Da.X0,fl),ArrowUp:oi,ArrowDown:xl});function kl(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Dl;return(0,Ia.h)(Ve)}var ll=e(908117);function el(Ve){return{undoDepth:(0,ll.of)(Ve),redoDepth:(0,ll.AH)(Ve)}}const vc=ll.m8;var Bl=e(234717),oc=function(){function Ve(tt,bt){var an=[],Wn=!0,nr=!1,Nr=void 0;try{for(var to=tt[Symbol.iterator](),qo;!(Wn=(qo=to.next()).done)&&(an.push(qo.value),!(bt&&an.length===bt));Wn=!0);}catch(Pa){nr=!0,Nr=Pa}finally{try{!Wn&&to.return&&to.return()}finally{if(nr)throw Nr}}return an}return function(tt,bt){if(Array.isArray(tt))return tt;if(Symbol.iterator in Object(tt))return Ve(tt,bt);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function Wc(Ve,tt){var bt=Ve[0],an=new RegExp("(?:^|[^\\"+bt+"])(\\"+Ve+")([^\\"+bt+"\\s][^\\"+bt+"]*)\\1$");return new Bl.VK(an,function(Wn,nr,Nr,to){var qo=oc(nr,3),Pa=qo[0],$a=qo[1],ss=qo[2],cs=Wn.tr,Ns=Nr+Pa.indexOf($a),Fi=Math.min(to,Nr+Pa.lastIndexOf($a)+$a.length),xi=Nr+Pa.indexOf(ss),ni=xi+ss.length;cs=cs.delete(Ns,xi),cs=cs.delete(cs.mapping.map(ni),cs.mapping.map(Fi));var dl=Wn.schema.mark(tt);return cs=cs.addMark(cs.mapping.map(xi),cs.mapping.map(ni),dl),cs=cs.removeStoredMark(dl),cs})}var Ll=function(){function Ve(tt,bt){var an=[],Wn=!0,nr=!1,Nr=void 0;try{for(var to=tt[Symbol.iterator](),qo;!(Wn=(qo=to.next()).done)&&(an.push(qo.value),!(bt&&an.length===bt));Wn=!0);}catch(Pa){nr=!0,Nr=Pa}finally{try{!Wn&&to.return&&to.return()}finally{if(nr)throw Nr}}return an}return function(tt,bt){if(Array.isArray(tt))return tt;if(Symbol.iterator in Object(tt))return Ve(tt,bt);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Qa={heading:function(tt){return(0,Bl.zK)(/^((\#{1,6})\s)$/,tt,function(bt){var an=Ll(bt,3),Wn=an[0],nr=an[1],Nr=an[2],to=Nr.length,qo=tt.spec.attrs.level;if(qo.values&&qo.values.indexOf(to)===-1){var Pa=[].concat(qo.values).sort(function($a,ss){return Math.abs($a-to)>Math.abs(ss-to)})[0];to=Pa}return{level:to}})},codeBlock:function(tt){return(0,Bl.zK)(/^\`{3}\s$/,tt)},orderedList:function(tt){return(0,Bl.S0)(/^[1aAiI]\.\s$/,tt,function(bt){var an=Ll(bt,1),Wn=an[0];return{listType:Wn[0]}})},unorderedList:function(tt){return(0,Bl.S0)(/^[\-\*\+]\s$/,tt,function(bt){var an=Ll(bt,1),Wn=an[0];return{listType:Wn[0]==="-"?"dash":"disc"}})},blockQuote:function(tt){return(0,Bl.S0)(/^\>\s$/,tt)}},Eu=function(tt){var bt=/(https?:\/\/\S+)(?:\s)$/;return new Bl.VK(bt,function(an,Wn,nr,Nr){var to=Wn[1],qo=an.tr,Pa=qo.doc.rangeHasMark(nr,Nr,an.schema.marks.link);if(qo.insertText(" ",Nr),!Pa){var $a=an.schema.mark(tt,{href:to});qo.addMark(nr,Nr,$a).removeStoredMark($a)}return qo})},Ul={strong:function(tt){return Wc("*{1,2}",tt)},em:function(tt){return Wc("_{1,2}",tt)},strikethrough:function(tt){return Wc("~{1,2}",tt)},code:function(tt){return Wc("`{1,2}",tt)},link:Eu};function ql(Ve,tt){return tt.spec.nodes.get(Ve)!==void 0}function Sc(Ve,tt){return tt.spec.marks.get(Ve)!==void 0}function Rc(Ve,tt,bt){var an=!1;return tt.spec.nodes.forEach(function(Wn){if(!an){var nr=tt.spec.nodes.get(Wn).attrs;nr&&nr[Ve]!==void 0&&(bt!==void 0&&nr[Ve].values?an=nr[Ve].values.indexOf(bt)>-1:an=!0)}}),an}function Mu(Ve){if(Array.isArray(Ve)){for(var tt=0,bt=Array(Ve.length);tt<Ve.length;tt++)bt[tt]=Ve[tt];return bt}else return Array.from(Ve)}function dc(Ve){var tt=[].concat(Mu(Bl.yR),[Bl.pR,Bl.LH]);return Object.keys(Qa).forEach(function(bt){if(ql(bt,Ve)){var an=Ve.nodes[bt];tt.push(Qa[bt](an))}}),Object.keys(Ul).forEach(function(bt){if(Sc(bt,Ve)){var an=Ve.marks[bt];tt.push(Ul[bt](an))}}),tt}var ec={"Mod-z":Bl.dU,Backspace:Bl.dU};function tc(Ve){return(0,Bl.Hw)({rules:Ve})}var qc=e(504705),hu=Object.assign||function(Ve){for(var tt=1;tt<arguments.length;tt++){var bt=arguments[tt];for(var an in bt)Object.prototype.hasOwnProperty.call(bt,an)&&(Ve[an]=bt[an])}return Ve};function Tc(Ve){return new qc.q(hu({},{color:"#2569fe",width:2,class:"rte-dropcursor"},Ve))}var ac=Object.assign||function(Ve){for(var tt=1;tt<arguments.length;tt++){var bt=arguments[tt];for(var an in bt)Object.prototype.hasOwnProperty.call(bt,an)&&(Ve[an]=bt[an])}return Ve},sc=function(tt,bt){return Object.keys(tt).reduce(function(an,Wn){var nr=tt[Wn],Nr=typeof nr.isEnabled=="function"?nr.isEnabled(bt):nr.isEnabled,to=typeof nr.isActive=="function"?nr.isActive(bt):nr.isActive,qo=nr.getAttrs?nr.getAttrs(bt):nr.attrs;return an[Wn]={enabled:Nr,active:to,attrs:qo},an},{})},wc=function(tt,bt){var an=tt.enabled,Wn=tt.active;return typeof an=="boolean"?bt&&typeof bt.enabled=="boolean"&&an!==bt.enabled&&(an=!1):bt&&(an=bt.enabled),typeof Wn=="boolean"?bt&&typeof bt.active=="boolean"&&Wn!==bt.active&&(Wn="conflicted"):Wn!=="conflicted"&&bt&&(Wn=bt.active),{enabled:an,active:Wn}},Nc=function(tt,bt,an,Wn){var nr=void 0;tt.isEnabledAtNode?nr=tt.isEnabledAtNode(bt,an):tt.isEnabledAtPos&&(nr=tt.isEnabledAtPos(bt,Wn()));var Nr=void 0;return tt.isActiveAtNode?Nr=tt.isActiveAtNode(bt,an):tt.isActiveAtPos&&(Nr=tt.isActiveAtPos(bt,Wn())),{enabled:nr,active:Nr}},Kc=function(tt,bt,an){var Wn=tt.selection,nr=Wn.from,Nr=Wn.to,to={};return tt.doc.nodesBetween(nr,Nr,function(qo,Pa,$a){var ss=[],cs=void 0,Ns=function(){return cs=cs||tt.doc.resolve(Pa),cs};bt.forEach(function(Fi){var xi=Nc(an[Fi],qo,$a,Ns),ni=wc(xi,to[Fi]);to[Fi]=ac(to[Fi]||{},ni),ni.enabled!==!1&&ni.active!=="conflicted"&&ss.push(Fi)}),bt=ss}),to},Yl=function(tt,bt,an){var Wn=sc(tt,an),nr=Object.keys(Wn).filter(function(to){return Wn[to].enabled!==!1&&Wn[to].active!=="conflicted"&&(!!tt[to].isEnabledAtNode||!!tt[to].isActiveAtNode||!!tt[to].isEnabledAtPos||!!tt[to].isActiveAtPos)});if(nr.length===0)return Wn;var Nr=Kc(an,nr,tt);return Object.keys(Nr).forEach(function(to){Nr[to]&&ac(Wn[to],wc(Nr[to],Wn[to]))}),Wn},ou=function(tt){return Object.keys(tt).reduce(function(bt,an){return bt[an]={active:null,enabled:null},bt},{})};const ur=Yl;var Xr=new n.H$("menu");function Fr(Ve){return Xr.getState(Ve)}function kr(Ve){return Xr.get(Ve)}function Ge(Ve){return function(bt){return Ve.mount(Fr(bt.state),bt),{update:function(Wn,nr){var Nr=Fr(Wn.state),to=Fr(nr);Ve.render(Nr,to)},destroy:function(Wn){Ve.destroy(Wn)}}}}function An(Ve,tt){var bt=new n.Sy({key:Xr,state:{init:function(Wn,nr){return{itemStates:ou(Ve),viewFocused:!1,selectionType:"cursor",selectionPos:""}},apply:function(Wn,nr,Nr,to){var qo=Wn.getMeta("focusedChange");return{itemStates:ur(Ve,to.doc,to),viewFocused:qo!==void 0?qo:nr.viewFocused,selectionType:Wn.selection.empty?"cursor":"range",selectionPos:""}}},view:tt?Ge(tt):null});return bt.commands=Ve,bt}function Yt(Ve,tt){var bt=tt.menu,an=tt.commands;return An(an,bt)}var fn=new n.H$("retainStylesPlugin");function Br(){var Ve=new n.Sy({key:fn,state:{init:function(){},apply:function(){}},appendTransaction:function(bt,an,Wn){var nr=an.doc.nodeAt(0),Nr=Wn.doc.nodeAt(0),to=Wn.tr;if(!nr||!Nr)return null;if(nr.isTextblock&&Nr.content.size===0&&nr.content.size>0){var qo=nr.type,Pa=nr.attrs,$a=nr.content&&nr.content.content&&nr.content.content[0]&&nr.content.content[0].marks||null;return to.setNodeMarkup(0,qo,Pa).setStoredMarks($a)}return null}});return Ve}var yo=new n.H$("scaledText");function Jo(){var Ve=!1;return{update:function(bt,an){if(!Ve){var Wn=bt.dom.querySelector(".sqsrte-scaled-text-container");(0,Ln.px)(Wn),Ve=!0;return}if(an){var nr=an&&an.doc.eq(bt.state.doc);if(!nr){var Nr=bt.state.schema.nodes[Ks],to=!!uo(bt.state,function(qo){return qo.type===Nr});to&&(0,Ln.px)(bt.dom)}}}}}function sa(){var Ve=new n.Sy({key:yo,view:Jo});return Ve}function la(){return sa()}var va=e(305170);function Ra(Ve,tt,bt,an){return!(!Ve||!bt||tt+Ve.nodeSize!==an)}function Ya(Ve,tt){var bt=-1,an=[],Wn=null,nr=function(to,qo){var Pa=tt(to),$a=tt(qo);return!(!Pa||!$a||Pa.attrs.id!==$a.attrs.id)};return Ve.descendants(function(Nr,to,qo,Pa){var $a=tt(Nr);if($a){var ss=!Wn||to===1,cs=Wn&&Ra(Wn.node,Wn.pos,Nr,to)&&nr(Wn.node,Nr);ss||!cs?(an.push({id:$a.attrs.id,adjacentNodes:[{node:Nr,pos:to}]}),bt++):an[bt].adjacentNodes.push({node:Nr,pos:to}),Wn={node:Nr,pos:to}}}),an}function wa(Ve,tt){return Ya(Ve,function(bt){return tt.isInSet(bt.marks)})}function xa(Ve,tt){var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,an=[];return Ve.forEach(function(Wn){var nr=Wn;if(Wn.isTextblock&&Wn.content.size>0){var Nr=xa(Wn.content,tt,bt+1);nr=Wn.copy(Nr)}else if(Wn.isText){var to=tt.find(function(qo){return qo.pos===bt});to&&(nr=to.node)}an.push(nr),bt+=Wn.nodeSize}),a.HY.from(an)}var Ds=function(){function Ve(tt,bt){var an=[],Wn=!0,nr=!1,Nr=void 0;try{for(var to=tt[Symbol.iterator](),qo;!(Wn=(qo=to.next()).done)&&(an.push(qo.value),!(bt&&an.length===bt));Wn=!0);}catch(Pa){nr=!0,Nr=Pa}finally{try{!Wn&&to.return&&to.return()}finally{if(nr)throw Nr}}return an}return function(tt,bt){if(Array.isArray(tt))return tt;if(Symbol.iterator in Object(tt))return Ve(tt,bt);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),ws=Object.assign||function(Ve){for(var tt=1;tt<arguments.length;tt++){var bt=arguments[tt];for(var an in bt)Object.prototype.hasOwnProperty.call(bt,an)&&(Ve[an]=bt[an])}return Ve};function Di(Ve,tt,bt){return tt in Ve?Object.defineProperty(Ve,tt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):Ve[tt]=bt,Ve}var ai=new n.H$("textAttributesPlugin"),yl=function(tt,bt){var an=bt.state.schema.marks.highlight,Wn=wa(tt.content,an),nr=ai.getState(bt.state),Nr=Wn.map(function(to){var qo=to.id,Pa=to.adjacentNodes,$a=nr.textAttributes.find(function(ss){return ss.id===qo});return Pa.map(function(ss){var cs=ss.node,Ns=ss.pos,Fi=an.isInSet(cs.marks);if(Fi){var xi=an.removeFromSet(cs.marks);return xi.push(an.create(ws({},Fi.attrs,{externalState:$a}))),{node:cs.mark(xi),pos:Ns}}return{node:cs.copy(cs.content),pos:Ns}})}).flat();return new a.p2(xa(tt.content,Nr),tt.openStart,tt.openEnd)},ml=function(tt,bt){var an=bt.state.schema.marks.highlight,Wn=wa(tt.content,an),nr=ai.getState(bt.state),Nr={},to=bt.state.tr,qo=!1,Pa=Wn.map(function(ss){var cs=ss.adjacentNodes,Ns=(0,va.Z)(),Fi=cs.map(function(xi){var ni=xi.node,dl=xi.pos,Ec=an.isInSet(ni.marks);if(Ec){Nr[Ns]=ws({},Ec.attrs.externalState,{id:Ns}),qo=!0;var ri=an.removeFromSet(ni.marks);return ri.push(an.create({id:Ns,externalState:void 0})),{node:ni.mark(ri),pos:dl}}return{node:ni.copy(ni.content),pos:dl}});return Fi}).flat();qo&&(to=to.setMeta(ai,{textAttributes:nr.textAttributes,restoredTextAttributes:ws({},nr.restoredTextAttributes,Nr)})),bt.dispatch(to);var $a=xa(tt.content,Pa);return new a.p2($a,tt.openStart,tt.openEnd)};function Ii(){var Ve=new n.Sy({key:ai,state:{init:function(bt,an){return{textAttributes:bt.textAttributes,restoredTextAttributes:{}}},apply:function(bt,an,Wn,nr){var Nr=bt.getMeta(ai)||{};return!Nr.textAttributes&&!Nr.restoredTextAttributes?an:{textAttributes:Nr.textAttributes,restoredTextAttributes:Nr.restoredTextAttributes}}},props:{transformCopied:yl,transformPasted:ml},appendTransaction:function(bt,an,Wn){var nr=Wn.doc,Nr=Wn.schema;if(!Nr.marks.highlight)return null;var to=wa(nr,Nr.marks.highlight),qo=new Set,Pa=!1,$a=to.reduce(function(cs,Ns){var Fi=Ns.id,xi=Ns.adjacentNodes;return qo.has(Fi)?(cs[Fi]=xi,Pa=!0):qo.add(Fi),cs},{});if(!Pa)return null;var ss=Wn.tr;return Object.entries($a).forEach(function(cs){var Ns=Ds(cs,2),Fi=Ns[0],xi=Ns[1],ni=ai.getState(Wn),dl=ni.textAttributes.find(function(ri){return ri.id===Fi}),Ec=(0,va.Z)();xi.forEach(function(ri){var cc=ri.node,su=ri.pos;cc.marks.forEach(function(zc){if(zc.type===Nr.marks.highlight){ss=ss.removeMark(su,su+cc.nodeSize,zc);var $c=Nr.marks.highlight.create({id:Ec,externalState:void 0});ss=ss.addMark(su,su+cc.nodeSize,$c)}}),ss=ss.setMeta(ai,{restoredTextAttributes:ws({},ni.restoredTextAttributes,Di({},Ec,dl))})})}),ss}});return Ve}const Xi=Ii;function zi(Ve){if(Array.isArray(Ve)){for(var tt=0,bt=Array(Ve.length);tt<Ve.length;tt++)bt[tt]=Ve[tt];return bt}else return Array.from(Ve)}function Sl(Ve){Ve.get("unmount")&&Ve.get("unmount")(),Ve.set("mountedNode",null)}function gc(Ve){var tt=[],bt=Ve.state.selection,an=bt.from,Wn=bt.to;return Ve.state.doc.nodesBetween(an,Wn,function(nr){nr&&nr.type.name==="text"&&tt.push.apply(tt,zi(nr.marks.filter(function(Nr){return Nr.type.name==="link"})))}),tt}function Xl(Ve,tt,bt){return function(an){var Wn=an.url,nr=an.newWindow;if(Wn){var Nr={target:nr?"_blank":"",href:Wn};Oo(tt,Nr,!0)(Ve.state,Ve.dispatch)}else bt()}}function yc(Ve,tt,bt,an){var Wn=[],nr=tt.state.selection,Nr=nr.from,to=nr.to,qo=Nr>to?-1:1;if(Ve.length===1){Sl(an);var Pa=function(){return ki(Ve[0].type,!0)(tt.state,tt.dispatch)},$a=bt({attrs:Ve[0].attrs,anchorAt:tt.domAtPos(Nr,qo).node.parentNode,handleRemoveLink:Pa,handleEditLink:Xl(tt,Ve[0].type,Pa),handleCloseLinkEditor:function(){Sl(an),an.set("editingLink",!1)},handleOpenLinkEditor:function(){return an.set("editingLink",!0)}}),ss=void 0;try{ss="node"in $a?$a.node:$a}catch{ss=$a}an.set("mountedNode",ss);var cs=o.p.widget(Nr,ss);Wn.push(cs);try{"unmount"in $a&&an.set("unmount",$a.unmount)}catch{}}return o.EH.create(tt.state.doc,Wn)}function Zc(Ve,tt,bt){if(bt){var an=tt.clipboardData.getData("text/plain"),Wn=bt(an);if(!Ve.state.selection.empty&&Wn){tt.preventDefault();var nr=an,Nr=Ve.state,to=Nr.tr,qo=Nr.selection,Pa=Ve.state.schema.marks.link.create({href:nr});return to.addMark(qo.from,qo.to,Pa),Ve.dispatch(to),!0}}return!1}function Rd(Ve,tt){var bt=new Map([["editingLink",!1],["mountedNode",null]]),an=new n.Sy({props:{decorations:function(nr){return this.getState(nr)},handlePaste:function(nr,Nr){return Zc(nr,Nr,tt)}},view:function(){return{update:function(Nr,to){var qo=bt.get("mountedNode"),Pa=bt.get("editingLink"),$a=gc(Nr);if(Nr.hasFocus()&&$a.length===1){var ss=to.doc.nodeAt(to.selection.from),cs=Nr.state.doc.nodeAt(Nr.state.selection.from),Ns=ss&&cs&&!ss.eq(cs),Fi=cs!==null&&ss===null,xi=Ns||Fi||qo===null;if(xi){var ni=yc($a,Nr,Ve,bt),dl=Nr.state.tr.setMeta(this,ni);Nr.dispatch(dl)}}else qo!==null&&!Pa&&Sl(bt)},destroy:function(){Sl(bt)}}}});return an}function _u(Ve,tt){return Rd(Ve,tt)}function td(Ve){var tt=void 0;return Ve.spec.nodes.forEach(function(bt){if(!(tt||bt==="doc"||bt==="text")){var an=Ve.nodes[bt];if(!an.isLeaf){var Wn=void 0,nr=an.contentMatch.findWrapping(Ve.nodes.text);nr&&(Wn=nr.reduceRight(function(Nr,to){return to.create(null,Nr)},[])),tt=an.createAndFill(null,Wn),tt&&!Ve.nodes.doc.createAndFill(null,tt)&&(tt=null)}}}),tt?a.PW.fromSchema(Ve).serializeNode(tt):null}function Hu(Ve,tt){var bt=o.p.widget(0,function(an){var Wn=td(an.state.schema);if(!Wn||Wn.nodeType===3){var nr=document.createElement("span");Wn&&nr.appendChild(Wn),Wn=nr}return Wn.classList.add("rte-placeholder"),Wn.setAttribute("data-placeholder",tt),Wn},{key:"placeholder-node"});return o.EH.create(Ve.doc,[bt])}function Ru(Ve,tt){var bt=n.Bs.near(Ve.doc.resolve(0)).$cursor;if(!bt)return o.EH.empty;var an=bt.node(bt.depth===0?0:1);return o.EH.create(Ve.doc,[o.p.node(0,an.nodeSize,{class:"rte-placeholder",style:"","data-placeholder":tt},{key:"placeholder-text"})])}var Pu=new n.H$("placeholder");function Oc(Ve,tt){return Ve.doc.content.size===0?Hu(Ve,tt):Ve.doc.textContent.match(/^\s*$/)?Ru(Ve,tt):o.EH.empty}function vf(Ve){return!(Ve.childCount>1||Ve.firstChild&&!Ve.firstChild.isTextblock||Ve.firstChild&&Ve.firstChild.content&&Ve.firstChild.content.size>0)}function nd(Ve,tt){var bt=vf(Ve.doc);return{isVisible:bt,decorations:bt?Oc(Ve,tt):o.EH.empty}}function ld(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return new n.Sy({key:Pu,state:{init:function(bt,an){return nd(an,Ve)},apply:function(bt,an,Wn,nr){return nd(nr,Ve)}},props:{decorations:function(bt){return this.getState(bt).decorations}}})}var Wl;function Ql(Ve,tt,bt){return tt in Ve?Object.defineProperty(Ve,tt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):Ve[tt]=bt,Ve}var gd=(Wl={},Ql(Wl,Kl,"Mod-b"),Ql(Wl,Jl,"Mod-i"),Ql(Wl,_c,"Mod-u"),Ql(Wl,mc,"Shift-Mod-x"),Ql(Wl,sn,"Mod-k"),Ql(Wl,Zo,"Mod-z"),Ql(Wl,ia,y?"Mod-y":"Shift-Mod-z"),Ql(Wl,aa,"Mod-]"),Ql(Wl,ca,"Mod-["),Ql(Wl,ui,"Mod-Alt-0"),Ql(Wl,is,"Mod-Alt-1"),Ql(Wl,qi,"Mod-Alt-2"),Ql(Wl,as,"Mod-Alt-6"),Ql(Wl,es,"Mod-Alt-5"),Ql(Wl,Qs,"Mod-Alt-4"),Ql(Wl,Rs,"Mod-Alt-3"),Ql(Wl,Js,"Shift-Mod-l"),Ql(Wl,Ts,"Shift-Mod-e"),Ql(Wl,zs,"Shift-Mod-r"),Ql(Wl,Bi,"Shift-Mod-j"),Wl),rd=O?"":"+",Zu="\u21E7",Cu="\u2318",eu="\u2325",Uu={Mod:O?Cu:"Ctrl",Alt:O?eu:"Alt",Shift:O?Zu:"Shift",Meta:O?Cu:y?"Win":"Super"};function Bc(Ve){return Object.keys(Ve).reduce(function(tt,bt){var an=Ve[bt].split("-").map(function(Wn){return Wn.length===1?Wn.toUpperCase():Uu[Wn]||Wn});return an.indexOf(Cu)>-1&&(an.splice(an.indexOf(Cu),1),an.unshift(Cu)),an.indexOf(Zu)>-1&&(an.splice(an.indexOf(Zu),1),an.unshift(Zu)),an.indexOf(eu)>-1&&(an.splice(an.indexOf(eu),1),an.unshift(eu)),tt[bt]=an.join(rd),tt},{})}var Ed=Bc(gd);const Fu=gd;function Ut(Ve){return Object.keys(Ve).reduce(function(tt,bt){var an=Fu[bt],Wn=Ve[bt].command;return an&&Wn&&(tt[an]=Wn),tt},{})}function Q(Ve){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},bt=tt.useHistory,an=bt===void 0?!0:bt,Wn=tt.historyConfig,nr=tt.dropCursorConfig,Nr=tt.menu,to=tt.commands,qo=tt.placeholder,Pa=tt.useTextEffects,$a=Pa===void 0?!1:Pa,ss=tt.linkPreviewConfig,cs=[Br(),kl(Ut(to)),kl(Hl(Ve)),kl(),Tc(nr)];an&&cs.push(vc(Wn));var Ns=dc(Ve);if(Ns.length>0&&(cs.unshift(kl(ec)),cs.push(tc(Ns))),qo&&cs.push(ld(qo)),cs.push(Yt(Ve,{menu:Nr,commands:to})),cs.push(la()),$a&&Ve.marks.highlight&&(cs.push(Nn(Ve)),cs.push(Xi())),ss&&ss.useLinkPreview){var Fi=ss.renderLinkPreview,xi=ss.getIsLink;cs.push(_u(Fi,xi))}return cs}var De=[{key:Js,align:"left"},{key:Ts,align:"center"},{key:zs,align:"right"},{key:Bi,align:"justify"}];function at(Ve){var tt=Ve.nodes.scaledText;return De.reduce(function(bt,an){var Wn=an.key,nr=an.align;return Rc("align",Ve,nr)&&(bt[Wn]={command:si(null,{align:nr}),isEnabledAtNode:function(to){if(to.type===tt)return!1;if(to.isTextblock&&to.type.spec.attrs)return!!to.type.spec.attrs.align},isActiveAtNode:function(to){if(to.isTextblock)return!!to.attrs&&to.attrs.align===nr}}),bt},{isEnabledAtNode:function(an){if(an.type===tt)return!1}})}var Dt=[Fs],zt=function(tt){return tt.isTextblock};function Qn(Ve){return Dt.reduce(function(tt,bt){if(ql(bt,Ve)){var an=Ve.nodes[bt];tt[bt]={command:si(an,{},zt),isEnabled:!0,isActiveAtNode:function(nr){return nr.isTextblock&&nr.type===an}}}return tt},{})}function Cr(Ve,tt,bt){return tt in Ve?Object.defineProperty(Ve,tt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):Ve[tt]=bt,Ve}function wr(Ve){if(!ql(Ls,Ve))return null;var tt=Ve.nodes[Ls],bt=Ve.nodes,an=bt.orderedList,Wn=bt.unorderedList,nr=bt.scaledText;return Cr({},Ls,{command:(0,Da.QF)(qa(tt),El(tt)),isEnabledAtNode:function(to){return to.type!==nr&&to.type!==an&&to.type!==Wn},isActiveAtNode:function(to,qo){if(to.isBlock){if(to.type===tt)return!0;if(qo.type.name==="doc")return!1}}})}function No(Ve,tt,bt){return tt in Ve?Object.defineProperty(Ve,tt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):Ve[tt]=bt,Ve}function Co(Ve){return!Ve.spec.marks||Ve.spec.marks.size===0?null:No({},As,{command:yi,isEnabled:!0})}var Ro=[{key:as,level:1},{key:es,level:2},{key:Qs,level:3},{key:Rs,level:4},{key:rs,level:5},{key:Cs,level:6}];function Qo(Ve,tt){return function(bt){if(bt.isTextblock)return bt.type===Ve&&bt.attrs.level===tt}}function ka(Ve){if(!ql("heading",Ve))return null;var tt=Ve.nodes.heading;return Ro.reduce(function(bt,an){var Wn=an.key,nr=an.level;return Rc("level",Ve,nr)&&(bt[Wn]={command:si(tt,{level:nr},function(Nr){return Nr.isTextblock}),isActiveAtNode:Qo(tt,nr),isEnabled:!0}),bt},{})}function Ca(Ve,tt,bt){return tt in Ve?Object.defineProperty(Ve,tt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):Ve[tt]=bt,Ve}function ls(Ve){if(!ql(Ks,Ve))return null;var tt=Ve.nodes[Ks],bt=Ve.nodes,an=bt.blockQuote,Wn=bt.orderedList,nr=bt.unorderedList;return Ca({},Ks,{command:(0,Da.QF)(qa(tt),El(tt)),isEnabledAtNode:function(to){return to.attrs&&to.attrs.indent!==void 0&&to.attrs.indent>0?!1:to.type!==an&&to.type!==Wn&&to.type!==nr},isActiveAtNode:function(to,qo){if(to.isBlock){if(to.type===tt)return!0;if(qo.type.name==="doc")return!1}}})}function vs(Ve,tt,bt){return tt in Ve?Object.defineProperty(Ve,tt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):Ve[tt]=bt,Ve}function Es(Ve,tt){var bt,an=tt.useHistory;return an?(bt={},vs(bt,Zo,{command:ll.Yw,isEnabled:function(nr){return(0,ll.of)(nr)>0}}),vs(bt,ia,{command:ll.KX,isEnabled:function(nr){return(0,ll.AH)(nr)>0}}),bt):null}function fi(Ve,tt,bt){return tt in Ve?Object.defineProperty(Ve,tt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):Ve[tt]=bt,Ve}function Bo(Ve,tt){var bt=Ve.type.spec.attrs;if(bt&&bt.indent){var an=bt.indent.values,Wn=an?an[an.length-1]:void 0,nr=tt.index(tt.depth),Nr=tt.node(tt.depth);if((!Ve.attrs||!Ve.attrs.indent||Wn===void 0||Ve.attrs.indent<Wn)&&(Nr.type.name!=="listItem"||nr!==0))return!0}}function Hi(Ve){var tt=Ve.type.spec.attrs;if(tt&&tt.indent){var bt=tt.indent.values,an=bt?Math.max(0,bt[0]):0;if(Ve.attrs&&Ve.attrs.indent!==void 0&&Ve.attrs.indent>an)return!0}}function Qi(Ve,tt){if(Ve.isTextblock){var bt=tt.parent,an=tt.depth;if(bt.type.name==="listItem"&&an>0&&tt.index(an)>0)return!0}}function Li(Ve){function tt(bt){return bt.type!==Ve.nodes.scaledText}return tt}function Gl(Ve,tt){if(Ve.isTextblock&&tt.type.name==="listItem")return!0}function Zl(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,tt=arguments[1];return tt.values?Math.min(tt.values[tt.values.length-1],Ve+1):Ve+1}function Vc(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,tt=arguments[1];return tt.values?Math.max(tt.values[0],Ve-1):Math.max(0,Ve-1)}function tu(){for(var Ve=arguments.length,tt=Array(Ve),bt=0;bt<Ve;bt++)tt[bt]=arguments[bt];return function(an,Wn){return tt.reduce(function(nr,Nr){var to=Nr(an,Wn);return typeof to!="boolean"?nr:nr===!1?!1:to},void 0)}}function lu(Ve){var tt,bt=[],an=[],Wn=ql("listItem",Ve),nr=Ve.nodes,Nr=nr.listItem,to=nr.orderedList,qo=nr.unorderedList,Pa=nr.blockQuote;if(Wn&&(bt.push((0,Za.bw)(Nr)),an.unshift((0,Za.IB)(Nr))),Rc("indent",Ve)){var $a=function(cs,Ns,Fi,xi){return cs.isTextblock&&Fi.type!==Nr&&Fi.type!==Pa||[Pa,to,qo].indexOf(cs.type)>-1};bt.push(si(null,{indent:Zl},$a,!1)),an.unshift(si(null,{indent:Vc},$a,!1))}return bt.length===0?null:(tt={},fi(tt,aa,{command:bt.length===1?bt[0]:Da.QF.apply(void 0,bt),isEnabledAtPos:Wn?tu(Li(Ve),Qi,Bo):Bo}),fi(tt,ca,{command:an.length===1?an[0]:Da.QF.apply(void 0,an),isEnabledAtNode:Wn?tu(Li(Ve),Gl,Hi):Hi}),tt)}var Lu=[So,Ha];function yu(Ve){var tt=Ve.nodes,bt=tt.orderedList,an=tt.unorderedList,Wn=tt.listItem,nr=tt.scaledText,Nr=[bt,an];return Lu.reduce(function(to,qo){if(ql(qo,Ve)){var Pa=Ve.nodes[qo];to[qo]={command:(0,Da.QF)(vi(Nr,[Pa,Wn]),bs(Wn),(0,Za.IB)(Wn),Zi(Wn,Nr),Ss(Pa)),isEnabledAtNode:function(ss,cs){if(ss.isBlock)return ss.type!==nr&&ss.inlineContent||ss.type===bt||ss.type===an||ss.type===Wn},isActiveAtNode:function(ss,cs){if(ss.isTextblock&&cs.type!==Wn)return!1;if(ss.type===Wn)return cs.type===Pa}}}return to},{})}function ic(Ve,tt,bt){return tt in Ve?Object.defineProperty(Ve,tt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):Ve[tt]=bt,Ve}var kc="listItem";function cu(Ve){var tt;if(!ql(kc,Ve))return null;var bt=Ve.nodes[kc];return tt={},ic(tt,Ko,{command:(0,Za.bw)(bt),isEnabledAtPos:function(Wn,nr){if(Wn.isTextblock){var Nr=nr.parent,to=nr.depth;return Nr.type===bt&&to>0&&nr.node(to-1).firstChild!==Nr}}}),ic(tt,Ur,{command:(0,Za.IB)(bt),isEnabledAtNode:function(Wn,nr){if(Wn.isTextblock)return nr.type===bt}}),tt}function Au(Ve,tt){if(tt.selection.empty&&tt.selection.$cursor!==void 0)return tt.selection.$cursor.node().type.allowsMarkType(Ve)}function au(Ve,tt){if(tt.selection.empty&&tt.selection.$cursor!==void 0){var bt=tt.storedMarks||tt.selection.$cursor.marks();return!!Ve.isInSet(bt)}}function jc(Ve,tt){if(tt.isTextblock)return tt.type.allowsMarkType(Ve)}function lc(Ve,tt){if(tt.isText)return!!Ve.isInSet(tt.marks)}var Nu=[Kl,Vi,_c,mc,ln,zl,$l];function Zd(Ve){return Nu.reduce(function(tt,bt){if(Sc(bt,Ve)){var an=Ve.marks[bt];tt[bt]={command:(0,Da.w9)(an),isEnabled:function(nr){return Au(an,nr)},isActive:function(nr){return au(an,nr)},isEnabledAtNode:function(nr){return jc(an,nr)},isActiveAtNode:function(nr){return lc(an,nr)}}}return tt},{})}var _d=[sn,Er,zr,Ao,Ri,Ei,zn];function pu(Ve){return Ve.search(/^(https?:)?\/\//)===0}function Lc(Ve,tt){var bt=jo(Ve)(tt);return bt?Array.isArray(bt)&&bt.length<=1?bt[0]||null:bt:null}function od(Ve,tt){var bt=Lc(Ve,tt);if(bt)return bt;var an=tt.selection,Wn=an.from,nr=an.to,Nr=Wn!==nr&&tt.doc.textBetween(Wn,nr);return Nr&&pu(Nr)?{href:Nr}:null}function yd(Ve){var tt=_d.reduce(function(bt,an){if(Sc(an,Ve)){var Wn=Ve.marks[an];bt[an]={getCommand:function(Nr){var to=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},qo=arguments[2];return an===Ri?ko(Wn,Nr,{attrKey:"mappingSize"}):an===Ei?ko(Wn,Nr,{attrKey:"colorId"}):an===zn?ko(Wn,Nr,{attrKey:"id"}):an===sn?Jn(Wn,Nr,to):Uo(Wn,Nr,!1)},isEnabled:function(Nr){return Au(Wn,Nr)},isActive:function(Nr){return au(Wn,Nr)},isEnabledAtNode:function(Nr){return jc(Wn,Nr)},isActiveAtNode:function(Nr){return lc(Wn,Nr)},getAttrs:function(Nr){return Lc(Wn,Nr)}}}return bt},{});return tt[sn]&&(tt[sn].getAttrs=function(bt){return od(Ve.marks[sn],bt)}),tt}var cd=[{command:is,variant:""},{command:ui,variant:"small"},{command:qi,variant:"large"}];function Vd(Ve,tt){return function(bt){if(bt.isTextblock)return bt.type===Ve&&(!bt.attrs||!("paragraphVariant"in bt.attrs)||bt.attrs.paragraphVariant===tt)}}var Od=function(tt){return tt.isTextblock};function ud(Ve){if(!ql("paragraph",Ve))return null;var tt=Ve.nodes.paragraph;return cd.reduce(function(bt,an){var Wn=an.command,nr=an.variant;if(nr&&!Rc("paragraphVariant",Ve,nr))return bt;var Nr=cd.find(function(qo){return qo.command===is}),to={paragraphVariant:nr||Nr.variant};return bt[Wn]={command:si(tt,to,Od),isEnabled:!0,isActiveAtNode:Vd(tt,nr)},bt},{})}var Tl;function nu(Ve,tt,bt){return tt in Ve?Object.defineProperty(Ve,tt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):Ve[tt]=bt,Ve}var uu=[qs,Ti],dd=(Tl={},nu(Tl,qs,"data"),nu(Tl,Ti,"lineStyles"),Tl),Tu=function(tt,bt,an){switch(tt){case dd[Ti]:return bt&&Object.keys(bt).filter(function(Wn){return bt[Wn]}).length>0;default:return bt&&Object.keys(bt).length>0}},Wd=function(tt,bt){if(bt.isTextblock&&bt.type.spec.attrs)return!!bt.type.spec.attrs[tt]},qd=function(tt,bt){var an=bt.type.spec.attrs&&bt.type.spec.attrs[tt];if(bt.isBlock&&an)return!!bt.attrs&&Tu(tt,bt.attrs[tt],an)},af=function(tt,bt){var an=xr(bt,function(nr){if(nr.attrs)return Tu(tt,nr.attrs[tt])}),Wn=an.map(function(nr){var Nr=nr.node;return nu({},tt,Nr.attrs[tt])});return Wn.length<=1?Wn[0]||null:Wn};function Kd(Ve){var tt=uu.reduce(function(bt,an){var Wn=dd[an];return Rc(Wn,Ve)&&(bt[an]={getCommand:function(Nr){return si(null,nu({},Wn,Nr))},isEnabledAtNode:function(Nr){return Wd(Wn,Nr)},isActiveAtNode:function(Nr){return qd(Wn,Nr)},getAttrs:function(Nr){return af(Wn,Nr)}}),bt},{});return tt}var ad=1,Vu=5;function zu(Ve,tt,bt){return tt in Ve?Object.defineProperty(Ve,tt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):Ve[tt]=bt,Ve}var Wu=function(tt,bt){return function(an,Wn){return bt.letterSpacing===ad?ki(tt,!1)(an,Wn):!1}},Ld=function(tt,bt){return function(an,Wn){var nr=an.tr,Nr=nr.selection,to=Nr.from,qo=Nr.to;return bt.letterSpacing!==ad&&Wn(nr.addMark(to,qo,tt.create(bt)).scrollIntoView()),!0}},sf=function(tt){return function(bt){var an=lc(tt,bt),Wn=bt.marks.find(function(nr){var Nr=nr.type;return Nr.name===tt.name});return an&&Wn&&Wn.attrs.letterSpacing!==ad}};function lf(Ve){var tt=Ve.marks[pi];return tt?zu({},pi,{getCommand:function(an){return(0,Da.QF)(Wu(tt,an),Oo(tt,an,!1),Ld(tt,an))},isEnabled:function(an){return Au(tt,an)},isActive:function(an){return au(tt,an)},isEnabledAtNode:function(an){return jc(tt,an)},isActiveAtNode:sf(tt),getAttrs:function(an){return jo(tt)(an)}}):null}var xd=Object.assign||function(Ve){for(var tt=1;tt<arguments.length;tt++){var bt=arguments[tt];for(var an in bt)Object.prototype.hasOwnProperty.call(bt,an)&&(Ve[an]=bt[an])}return Ve};function wd(Ve){if(Array.isArray(Ve)){for(var tt=0,bt=Array(Ve.length);tt<Ve.length;tt++)bt[tt]=Ve[tt];return bt}else return Array.from(Ve)}var kd=[at,Qn,wr,Co,ka,ls,Es,lu,lf,yu,cu,Zd,yd,ud,Kd];function fd(Ve,tt){return xd.apply(void 0,[{}].concat(wd(kd.map(function(bt){return bt(Ve,tt)}))))}const sd=fd;var cf=e(410498),uf=e.n(cf),$u=document.createElement("div");function Nd(Ve,tt,bt){var an=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Wn=an.state,nr=an.transform,Nr=nr===void 0?function($a){return $a}:nr,to=a.PW.fromSchema(Ve);tt=Wn&&Nr?Nr(Wn).doc.content:tt;var qo=tt instanceof a.HY?to.serializeFragment(tt):to.serializeNode(tt);$u.appendChild(qo);var Pa=$u.innerHTML;return $u.innerHTML="",bt?uf().decode(Pa):Pa}function Bd(Ve,tt){var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,an=a.aw.fromSchema(Ve);return bt?an.parseSlice(tt):an.parse(tt)}function Pc(Ve,tt){var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;$u.innerHTML=tt;var an=Bd(Ve,$u,bt);return $u.innerHTML="",an}function Fl(Ve,tt){var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(typeof tt=="string")return Pc(Ve,tt,bt);if(tt instanceof Node||tt.nodeType===1)return Bd(Ve,tt,bt)}function Gd(Ve,tt){var bt=Fl(Ve,tt,!0);return!bt||bt.content.size===0?"":Nd(Ve,bt.content)}var hd=Object.assign||function(Ve){for(var tt=1;tt<arguments.length;tt++){var bt=arguments[tt];for(var an in bt)Object.prototype.hasOwnProperty.call(bt,an)&&(Ve[an]=bt[an])}return Ve};function zd(Ve,tt){var bt={};for(var an in Ve)tt.indexOf(an)>=0||Object.prototype.hasOwnProperty.call(Ve,an)&&(bt[an]=Ve[an]);return bt}var Pd={create:function(tt){var bt=tt.schema,an=tt.plugins,Wn=tt.commands,nr=tt.menu,Nr=tt.useHistory,to=Nr===void 0?!0:Nr,qo=tt.useTextEffects,Pa=qo===void 0?!1:qo,$a=tt.placeholder,ss=zd(tt,["schema","plugins","commands","menu","useHistory","useTextEffects","placeholder"]);return bt=bt||Ea.createClassic(),Wn=Wn||sd(bt,{useHistory:to}),an=an||Q(bt,{commands:Wn,menu:nr,useHistory:to,placeholder:$a}),n.yy.create(hd({schema:bt,plugins:an},ss))},createEmpty:function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.create(tt)},fromNode:function(tt){var bt=tt.node,an=tt.schema,Wn=zd(tt,["node","schema"]);return an=an||Ea.createClassic(),this.create(hd({},Wn,{schema:an,doc:Bd(an,bt)}))},fromHTML:function(tt){var bt=tt.html,an=tt.schema,Wn=zd(tt,["html","schema"]);return an=an||Ea.createClassic(),this.create(hd({},Wn,{schema:an,doc:Pc(an,bt)}))}};const Cd=Pd;var xn=Object.assign||function(Ve){for(var tt=1;tt<arguments.length;tt++){var bt=arguments[tt];for(var an in bt)Object.prototype.hasOwnProperty.call(bt,an)&&(Ve[an]=bt[an])}return Ve},$s=function(){function Ve(tt,bt){for(var an=0;an<bt.length;an++){var Wn=bt[an];Wn.enumerable=Wn.enumerable||!1,Wn.configurable=!0,"value"in Wn&&(Wn.writable=!0),Object.defineProperty(tt,Wn.key,Wn)}}return function(tt,bt,an){return bt&&Ve(tt.prototype,bt),an&&Ve(tt,an),tt}}();function Ki(Ve,tt){if(!(Ve instanceof tt))throw new TypeError("Cannot call a class as a function")}function ru(Ve){var tt=["rte"];return Array.isArray(Ve)?tt=tt.concat(Ve):typeof Ve=="string"&&(tt=tt.concat(Ve.trim().split(/\s+/).filter(function(bt){return!!bt}))),tt.join(" ")}function Zt(Ve,tt,bt){return Math.min(Math.max(Ve,tt),bt)}var Kt=function(){function Ve(tt){var bt=this,an=tt.attributes,Wn=an===void 0?{}:an,nr=tt.editable,Nr=nr===void 0?!0:nr,to=tt.mountNode,qo=tt.state,Pa=tt.onStateChange,$a=tt.keymap,ss=tt.handleDOMEvents,cs=ss===void 0?{}:ss,Ns=tt.nodeViews,Fi=tt.pasteAsPlainText,xi=Fi===void 0?!1:Fi,ni=tt.scrollMargin,dl=tt.scrollThreshold;Ki(this,Ve),Sn.call(this),qo=qo||Cd.fromNode({node:to}),this.commands=kr(qo).commands,this.view=new o.tk({mount:to},{state:qo,nodeViews:Ns,scrollMargin:ni,scrollThreshold:dl,dispatchTransaction:function(ri){bt.isFocusing&&(bt.isFocusing=void 0,ri=ri.setMeta("focusedChange",!0));var cc=bt.view.state.apply(ri);typeof Pa=="function"?Pa(cc,ri):bt.view.updateState(cc)},handleDOMEvents:xn({},cs,{blur:function(ri,cc){if(bt.shouldPreventBlur&&bt.shouldPreventBlur>=Date.now()-500)return bt.shouldPreventBlur=0,!0;if(cs.blur&&cs.blur(ri,cc))return!0;ri.dispatch(ri.state.tr.setMeta("focusedChange",!1))},focus:function(ri,cc){if(cs.focus&&cs.focus(ri,cc))return!0;bt.isFocusing||(bt.isFocusing=!0,setTimeout(function(){bt.isFocusing&&ri.dispatch(ri.state.tr)}))},paste:function(ri,cc){if(xi===!1)return!1;if(typeof cs.paste=="function")return cs.paste(ri,cc);cc.preventDefault(),cc.stopPropagation();var su=ri.dom.ownerDocument,zc=su.defaultView,$c=cc.clipboardData||zc.clipboardData,Ad=$c.getData("Text");su.execCommand("insertText",!1,Ad)}}),handleKeyDown:$a?(0,Ia.$)($a):void 0,editable:function(ri){return Nr},attributes:xn({},Wn,{class:ru(Wn.class)}),domParser:a.aw.fromSchema(qo.schema)})}return $s(Ve,[{key:"focus",value:function(bt){var an=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Wn=an.anchor,nr=Wn===void 0?0:Wn,Nr=an.head,to=Nr===void 0?nr:Nr,qo=an.asPosition,Pa=qo===void 0?!1:qo;if(bt){var $a=this.view.state.doc,ss=$a.content.size;Pa||(nr*=ss,to*=ss);var cs=n.Bs.create($a,Zt(nr,0,ss),Zt(to,0,ss));this.view.dispatch(this.view.state.tr.setSelection(cs))}this.view.focus()}},{key:"blur",value:function(bt){bt&&window.getSelection().removeAllRanges(),this.view.dom.blur()}},{key:"setEditable",value:function(bt){this.view.setProps({editable:function(){return!!bt}})}},{key:"setClassName",value:function(bt){this.view.setProps({attributes:{class:bt}})}},{key:"setKeymap",value:function(bt){this.view.setProps({handleKeyDown:(0,Ia.$)(bt)})}},{key:"setContent",value:function(bt){var an=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Wn=an.preserveSelection,nr=an.preserveWhitespace,Nr=this.view,to=Nr.state,qo=Nr.props;if(typeof bt=="string"){var Pa=document.createElement("div");Pa.innerHTML=bt;var $a=qo.domParser.parse(Pa,{preserveWhitespace:nr});bt=$a.content}var ss=to.tr;if(ss=ss.replaceRangeWith(0,ss.doc.content.size,bt),Wn){var cs=to.selection,Ns=cs.anchor,Fi=cs.head,xi=ss.doc.content.size;ss=ss.setSelection(n.Bs.create(ss.doc,Zt(Ns,0,xi),Zt(Fi,0,xi)))}ss=ss.setMeta("changedViaSetContent",!0),this.view.dispatch(ss)}},{key:"setSelection",value:function(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},an=bt.anchor,Wn=bt.head;if(an===void 0)return!1;Wn===void 0&&(Wn=an);var nr=this.view,Nr=nr.state,to=nr.dispatch,qo=Nr.doc.content.size,Pa=Nr.tr.setSelection(n.Bs.create(Nr.doc,Zt(an,0,qo),Zt(Wn,0,qo)));to(Pa.scrollIntoView())}},{key:"updateState",value:function(bt){this.view.state!==bt&&this.view.updateState(bt)}},{key:"insertText",value:function(bt){var an=this.view,Wn=an.state,nr=an.dispatch,Nr=Wn.tr.insertText(bt);nr(Nr.scrollIntoView())}},{key:"insertHTML",value:function(bt){var an=this.view,Wn=an.state,nr=an.dispatch,Nr=Wn.tr;bt instanceof a.p2?Nr=Nr.replaceSelection(bt):bt instanceof a.NB?Nr=Nr.replaceSelectionWith(bt):(bt=Fl(Wn.schema,bt,!0),Nr=Nr.replaceSelection(bt)),nr(Nr.scrollIntoView())}},{key:"dispatchChange",value:function(bt){return bt(this.view.state,this.view.dispatch)}},{key:"destroy",value:function(){this.view.destroy()}}]),Ve}(),Sn=function(){var tt=this;this.getHTML=function(bt){var an=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(Wn){return Wn};return(typeof bt>"u"||bt===null)&&(bt=tt.view.state),Nd(bt.schema,bt.doc.content,!1,{state:bt,transform:an})},this.getChildNodesFromEditor=function(){var bt=function(Wn){var nr=[];return Wn.forEach(function(Nr){nr.push(Nr)}),nr};return bt(tt.view.state.doc.content)},this.getHTMLFromNode=function(bt){return Nd(tt.view.state.schema,bt,!1,{state:null,transform:null})},this.getDecodedHTML=function(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tt.view.state,an=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(Wn){return Wn};return Nd(bt.schema,bt.doc.content,!0,{state:bt,transform:an})},this.getText=function(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tt.view.state;return bt.doc.textContent},this.getMenuState=function(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tt.view.state;return Fr(bt)},this.getHistoryState=function(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tt.view.state;return el(bt)},this.getContentSize=function(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tt.view.state;return bt.doc.content.size},this.getSelectionPos=function(){var bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tt.view.state,an=bt.selection,Wn=an.anchor,nr=an.head;return{anchor:Wn,head:nr}},this.getClosestMarkInfo=function(bt,an){var Wn=Yo(bt,!0),nr=an.selection.$cursor,Nr=Wn(an)||{},to=Nr.mark,qo=Nr.from,Pa=Nr.to;return!to&&nr&&(to=bt.isInSet(an.storedMarks||nr.marks())),{mark:to,from:qo,to:Pa}},this.preventEditorBlur=function(bt){(!bt||typeof bt!="number"&&!(bt instanceof Date))&&(bt=Date.now()),tt.shouldPreventBlur=bt},this.execCommand=function(bt,an){var Wn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{skipFocus:!1},nr=tt.view,Nr=tt.commands[bt];if(!Nr)return console.error("Command '"+bt+"' does not exist."),!1;var to=Nr.command,qo=Nr.getCommand;if(qo){if(!an)return!1;to=qo(an,Wn,nr)}(!Wn||!Wn.skipFocus)&&nr.focus();try{return to(nr.state,nr.dispatch)}catch(Pa){return console.error("Error while executing command '"+bt+"':",Pa),!1}}};const _r=Kt},823268:function(b,l,e){"use strict";var r=e(551269),o=g(r),n=e(328276),a=g(n),i=e(402761),c=g(i),u=e(9795),f=g(u),d=e(895832),h=g(d);function g(A){return A&&A.__esModule?A:{default:A}}var _=e(484623),p=e(103205),y=e(415537),O={mapLat:40.720882,mapLng:-74.000988,markerLat:null,markerLng:null,mapZoom:12,addressTitle:null,addressLine1:null,addressLine2:null,addressCountry:null},P={style:y.Grayscale,showLabels:!0,showTerrain:!1,draggable:!0,scrollwheel:!0,showControls:!0,disableDefaultUI:!0,markerDraggable:!1,linkOnClick:!0},C=function(){(0,h.default)(A,null,[{key:"createView",value:function(T,s,v,m){return T=(0,c.default)(T).reduce(function(E,I){var L=(0,a.default)(I,2),W=L[0],F=L[1];return F!==void 0&&(E[W]=F),E},{}),T=(0,o.default)({},P,T),s=(0,o.default)({},O,s),s.markerLat===null&&(s.markerLat=s.mapLat),s.markerLng===null&&(s.markerLng=s.mapLng),p(m).then(function(E){return new A(E,T,s,v)})}}]);function A(S,T,s,v){(0,f.default)(this,A),this.GMaps=S,this.ui=T,this.location=s,this.render(v)}return(0,h.default)(A,[{key:"render",value:function(T){var s=this.GMaps;this.container=T;var v=this.location,m=v.markerLat,E=v.markerLng,I=v.mapLat,L=v.mapLng;T.classList.add("page-map"),T.innerHTML="&nbsp;",this.markerLoc=new s.LatLng(m,E),this.mapLoc=new s.LatLng(I,L),this.locationString=this.getLocationString(),this.initMapImpl(),this.initMarkerImpl(),this.updateUIOptions()}},{key:"initMapImpl",value:function(){this.map=new this.GMaps.Map(this.container,{zoom:this.location.mapZoom,center:this.mapLoc,draggable:this.ui.draggable,scrollwheel:this.ui.scrollwheel,disableDefaultUI:this.ui.disableDefaultUI})}},{key:"initMarkerImpl",value:function(){var T=this,s=this.GMaps;this.marker=new s.Marker({map:this.map,animation:s.Animation.DROP,draggable:this.ui.markerDraggable,position:this.markerLoc,title:location.addressTitle?location.addressTitle+" "+this.locationString:this.locationString,icon:""}),s.event.addListener(this.marker,"click",function(){return T.handleMarkerClick()})}},{key:"getLocationString",value:function(){var T=this.location,s=void 0;return T.addressLine1||T.addressLine2?(s=T.addressLine1+" "+T.addressLine2,T.addressCountry&&(s+=", "+T.addressCountry)):s=T.mapLat+","+T.mapLng,s}},{key:"handleMarkerClick",value:function(){if(!(this.marker.dragging||!this.ui.linkOnClick)){var T=encodeURIComponent(this.marker.getPosition().toUrlValue()),s=encodeURIComponent(this.getLocationString()),v=encodeURIComponent(this.map.getZoom());window.open("http://maps.google.com/maps?sll="+T+"&q="+s+"&z="+v)}}},{key:"redraw",value:function(){this.GMaps.event.trigger(this.map,"resize")}},{key:"updateUIOptions",value:function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=this.GMaps;(0,o.default)(this.ui,T);var v=this.ui,m=v.showControls,E=v.showTerrain,I=v.showLabels,L=v.draggable,W=v.disableDefaultUI,F=v.scrollwheel,G=v.markerDraggable,k=_(this.ui.style);I&&k.labels&&Array.prototype.push.apply(k.colors,k.labels);var x=void 0;k.satellite?x=s.MapTypeId.HYBRID:E?x=s.MapTypeId.TERRAIN:x=s.MapTypeId.ROADMAP;var M={mapTypeControl:!1,mapTypeId:x,overviewMapControl:!1,panControl:m,scaleControl:m,streetViewControl:!1,styles:k.colors,zoomControl:m,draggable:L,disableDefaultUI:W,scrollwheel:F};this.map.setOptions(M);var B={draggable:G};if(this.marker.setOptions(B),k.marker){var R=k.marker.imgUrl,U=k.marker.naturalWidth,j=k.marker.naturalHeight;this.marker.setIcon({url:R,size:new s.Size(U,j),scaledSize:new s.Size(U/2,j/2),anchor:new s.Point(U/4,j/2)})}else this.marker.setIcon(null)}},{key:"updateLocation",value:function(T){"mapLat"in T&&"mapLng"in T&&this.updateCenter(T.mapLat,T.mapLng),"markerLat"in T&&"markerLng"in T&&this.updateMarker(T.markerLat,T.markerLng),"zoom"in T&&this.setZoom(T.zoom)}},{key:"centerMarker",value:function(){this.redraw(),this.map.setCenter(this.marker.getPosition())}},{key:"getCenter",value:function(){var T=this.map.getCenter();return{lat:T.lat(),lng:T.lng()}}},{key:"updateCenter",value:function(T,s){this.location.mapLat=T,this.location.mapLng=s,this.map.setCenter(new this.GMaps.LatLng(T,s))}},{key:"getMarkerPosition",value:function(){var T=this.marker.getPosition();return{lat:T.lat(),lng:T.lng()}}},{key:"updateMarker",value:function(T,s){this.location.markerLat=T,this.location.markerLng=s;var v=this.getLocationString();this.marker.setPosition(new this.GMaps.LatLng(T,s)),this.marker.title=location.addressTitle?location.addressTitle+" "+v:v}},{key:"setZoom",value:function(T){this.location.zoom=T,this.map.setZoom(T)}}]),A}();b.exports=C},415537:function(b){"use strict";var l={imgUrl:"../images-v6/icons/cover-pages-map-marker-pin-dark-2x.png",naturalWidth:48,naturalHeight:64},e={imgUrl:"../images-v6/icons/cover-pages-map-marker-pin-light-2x.png",naturalWidth:48,naturalHeight:64},r={Original:{marker:null,colors:[{elementType:"labels",stylers:[{visibility:"off"}]}],labels:[{elementType:"labels",stylers:[{visibility:"on"}]}]},Grayscale:{marker:l,colors:[{featureType:"landscape.man_made",elementType:"all",stylers:[{lightness:51}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"road.local",elementType:"all",stylers:[{gamma:2.51}]},{featureType:"road.arterial",elementType:"all",stylers:[{gamma:1.9}]},{featureType:"water",elementType:"all",stylers:[{gamma:1.36}]},{featureType:"road.highway",elementType:"all",stylers:[{gamma:1.33}]},{featureType:"transit.station.rail",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"transit.station.bus",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"transit",elementType:"all",stylers:[{gamma:1.2},{hue:"#0033ff"}]},{featureType:"administrative.neighborhood",elementType:"labels",stylers:[{gamma:1.43}]},{featureType:"water",elementType:"all",stylers:[{lightness:-47}]},{featureType:"all",elementType:"all",stylers:[{saturation:-100}]},{featureType:"road.arterial",elementType:"labels",stylers:[{lightness:23}]},{elementType:"labels",stylers:[{visibility:"off"}]}],labels:[{elementType:"labels",stylers:[{visibility:"on"}]}]},Satellite:{satellite:!0,marker:null,colors:[{stylers:[{visibility:"off"}]},{elementType:"labels",stylers:[{visibility:"off"}]}],labels:[{elementType:"labels",stylers:[{visibility:"on"}]}]},MinimalDark:{marker:e,colors:[{stylers:[{visibility:"off"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#0f0f0f"},{visibility:"on"}]},{featureType:"landscape.natural",elementType:"geometry.fill",stylers:[{color:"#1f1f1f"},{visibility:"on"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#5a5a5a"},{visibility:"on"},{weight:.6}]}],labels:[{elementType:"labels.text.fill",stylers:[{visibility:"on"},{color:"#777777"}]},{elementType:"labels.text.stroke",stylers:[{weight:2},{visibility:"on"},{color:"#1f1f1f"}]}]},MinimalLight:{marker:l,colors:[{stylers:[{visibility:"off"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#f2f2f2"},{visibility:"on"}]},{featureType:"landscape.natural",elementType:"geometry.fill",stylers:[{color:"#ffffff"},{visibility:"on"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#bbbbbb"},{visibility:"on"},{weight:.6}]}],labels:[{elementType:"labels.text.fill",stylers:[{visibility:"on"},{color:"#999999"}]},{elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"},{weight:2}]}]},MinimalBlue:{marker:l,colors:[{stylers:[{visibility:"off"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#ccdee9"},{visibility:"on"}]},{featureType:"landscape.natural",elementType:"geometry.fill",stylers:[{color:"#ffffff"},{visibility:"on"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#bbbbbb"},{visibility:"on"},{weight:.6}]}],labels:[{elementType:"labels.text.fill",stylers:[{visibility:"on"},{color:"#999999"}]},{elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"},{weight:2}]}]}};b.exports=r},103205:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=e(922125),o=a(r),n=e(994882);function a(g){return g&&g.__esModule?g:{default:g}}var i=new n.LocaleResolver,c="https://maps.googleapis.com/maps/api/js?v=3&callback=GoogleMapsApiLoadCallback",u=3e4,f=function(_,p){var y=c+"&key="+p;if(_){var O=i.resolveLocale(_);y+="&language="+O.language+"&region="+O.region}return y},d=function(_){return window.atob(_)},h=function(_,p){return p||(p=d(window.Static.SQUARESPACE_CONTEXT.gmRenderKey)),window.gMapsPromise||(window.gMapsPromise=new o.default(function(y,O){var P=setTimeout(O,u);window.GoogleMapsApiLoadCallback=function(){clearTimeout(P),y(window.google.maps),delete window.GoogleMapsApiLoadCallback};var C=document.createElement("script");document.getElementsByTagName("head")[0].appendChild(C),C.src=f(_,p)})),window.gMapsPromise};l.default=h,b.exports=l.default},635489:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.WIDE_PANEL_WIDTH_PX=l.VERY_SMALL_FONT_SIZE_PX=l.UI_PADDING_PX=l.TUCKED_FRAME_WIDTH_PX=l.TRANSITION_FADEIN_EASING=l.TRANSITION_FADEIN_DURATION_SECONDS=l.TRANSITION_DURATION_SECONDS=l.SMALL_FONT_SIZE_PX=l.SMALL_CAPS_LETTER_SPACING_PX=l.SELECTED_BACKGROUND_COLOR=l.SCRIM_COLOR=l.ROUNDED_CORNER_RADIUS=l.PREVIEW_FOOTER_HEIGHT=l.PANEL_WIDTH_PX=l.MULTI_OPTION_BG_COLOR=l.MONOSPACE_FONT_FACE=l.MENU_WIDTH_PX=l.LIST_ITEM_HEIGHT_PX=l.LARGE_FONT_SIZE_PX=l.HOVER_BACKGROUND_COLOR=l.HEADER_HEIGHT_PX=l.HEADER_HEIGHT_MOBILE_PX=l.GRID_PX=l.FRAME_PADDING_PX=l.FORM_FIELD_DARK_COLOR=l.FORM_FIELD_BG_COLOR=l.FONT_FACE=l.EXTREMELY_LARGE_FONT_SIZE_PX=l.EXTRA_LARGE_FONT_SIZE_PX=l.DIALOG_TEXT_COLOR=l.COLUMN_WIDTH_PX=l.COLOR_YELLOW=l.COLOR_RED=l.COLOR_GREEN=l.COLOR_BLUE=l.BASE_LINE_HEIGHT_PX=l.BASE_FONT_SIZE_PX=l.BASE_COLOR_OPACITY=l.BASE_COLOR_FADEDEST=l.BASE_COLOR_FADED=l.BASE_COLOR=l.BASE_CAPS_LETTER_SPACING_PX=l.BACKGROUND_COLOR_DARKEST=l.BACKGROUND_COLOR_DARKER=l.BACKGROUND_COLOR=void 0;var e=l.FONT_FACE="'Clarkson', 'Helvetica Neue', Helvetica, Arial, sans-serif",r=l.MONOSPACE_FONT_FACE="'Espresso Mono', 'Menlo', 'Inconsolate', 'Monaco', 'Courier New'",o=l.GRID_PX=22,n=l.BASE_LINE_HEIGHT_PX=o,a=l.BASE_FONT_SIZE_PX=12,i=l.SMALL_FONT_SIZE_PX=11,c=l.VERY_SMALL_FONT_SIZE_PX=9,u=l.LARGE_FONT_SIZE_PX=16,f=l.EXTRA_LARGE_FONT_SIZE_PX=24,d=l.EXTREMELY_LARGE_FONT_SIZE_PX=72,h=l.SMALL_CAPS_LETTER_SPACING_PX=.75,g=l.BASE_CAPS_LETTER_SPACING_PX=.5,_=l.BACKGROUND_COLOR="#F6F6F6",p=l.BACKGROUND_COLOR_DARKER="#E4E4E4",y=l.BACKGROUND_COLOR_DARKEST="#D0D0D0",O=l.BASE_COLOR="#3E3E3E",P=l.BASE_COLOR_OPACITY=.76,C=l.BASE_COLOR_FADED="#797979",A=l.BASE_COLOR_FADEDEST="#A1A1A1",S=l.HOVER_BACKGROUND_COLOR="rgba(0,0,0,.025)",T=l.SELECTED_BACKGROUND_COLOR="rgba(0,0,0,.045)",s=l.COLOR_GREEN="#35D297",v=l.COLOR_RED="#F0523D",m=l.COLOR_YELLOW="#FCE713",E=l.COLOR_BLUE="#14AAFF",I=l.SCRIM_COLOR="rgba(0, 0, 0, .9)",L=l.FORM_FIELD_BG_COLOR="rgba(255,255,255,1)",W=l.FORM_FIELD_DARK_COLOR="white",F=l.DIALOG_TEXT_COLOR="inherit",G=l.MULTI_OPTION_BG_COLOR="#e7e7e7",k=l.UI_PADDING_PX=o*1.5,x=l.COLUMN_WIDTH_PX=o*12,M=l.MENU_WIDTH_PX=x,B=l.PANEL_WIDTH_PX=x*1.5,R=l.WIDE_PANEL_WIDTH_PX=x*2,U=l.FRAME_PADDING_PX=o,j=l.TUCKED_FRAME_WIDTH_PX=o*2,$=l.HEADER_HEIGHT_PX=o*4,ee=l.HEADER_HEIGHT_MOBILE_PX=o*2.5,te=l.LIST_ITEM_HEIGHT_PX=o*2,ie=l.PREVIEW_FOOTER_HEIGHT=o*3,ne=l.ROUNDED_CORNER_RADIUS="4",pe=l.TRANSITION_DURATION_SECONDS=".4",oe=l.TRANSITION_FADEIN_DURATION_SECONDS="0.1",q=l.TRANSITION_FADEIN_EASING="ease-in-out",J=l.default={"global-font-face":e,"global-base-line-height":n+"px","global-monospace-font-face":r,"global-base-font-size":a+"px","global-small-font-size":i+"px","global-very-small-font-size":c+"px","global-large-font-size":u+"px","global-extra-large-font-size":f+"px","global-extremely-large-font-size":d+"px","global-small-caps-letter-spacing":h+"px","global-base-caps-letter-spacing":g+"px","global-background-color":_,"global-background-color-darker":p,"global-background-color-darkest":y,"global-base-color":O,"global-base-color-opacity":P,"global-base-color-faded":C,"global-base-color-placeholder":y,"global-base-color-fadedest":A,"global-hover-background-color":S,"global-selected-background-color":T,"global-color-green":s,"global-color-red":v,"global-color-yellow":m,"global-color-blue":E,"global-scrim-color":I,"global-form-field-background-color":L,"global-form-field-dark-background-color":O,"global-form-field-dark-color":W,"global-dialog-text-color":F,"global-dialog-background-color":_,"global-multi-option-background-color":G,"global-grid":o+"px","global-ui-padding":k+"px","global-column-width":x+"px","global-menu-width":M+"px","global-panel-width":B+"px","global-wide-panel-width":R+"px","global-frame-padding":U+"px","global-tucked-frame-width":j+"px","global-full-panel-width":'~"calc(100% -" '.concat(j,'px~")"'),"global-header-height":$+"px","global-header-height-mobile":ee+"px","global-list-item-height":te+"px","global-preview-footer-height":ie+"px","global-line-style-thin":"1px solid ".concat(p),"global-rounded-corner-radius":ne+"px","global-transition-duration":pe+"s","global-transition-easing":"cubic-bezier(0.645, 0.045, 0.355, 1)","global-transition-easing-bounce":'~"cubic-bezier(0.175, 0.885, 0.32, 1.15)"',"global-transition-fadein-duration":oe+"s","global-transition-fadein-easing":q,"global-transition-fadein":oe+"s "+q}},321846:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.ROUNDED_CORNER_RADIUS_PX=l.BASE_LINE_HEIGHT_PX=l.BASE_FONT_SIZE_PX=void 0;var e=l.ROUNDED_CORNER_RADIUS_PX=3,r=l.BASE_FONT_SIZE_PX=12,o=l.BASE_LINE_HEIGHT_PX=22,n=l.default={"denarius-base-font-size":r+"px","denarius-base-line-height":o+"px","denarius-rounded-corner-radius":e+"px"}},854842:function(b,l,e){"use strict";var r;r={value:!0},l.default=r=r=l.SIDEBAR_WIDTH_PX=r=r=r=r=r=r=r=r=l.GRID_SIZE_PX=r=r=r=r=r=r=r=r=r=r=r=r=r=l.FIELD_HORIZONTAL_PADDING_PX=r=r=r=r=l.COLORS=r=r=r=r=void 0;var o=e(213865),n,a,i=l.COLORS=(n={black:o.colors.black,blue:o.colors.blue,error:o.colors.red,field_caret:o.colors.blue,field_line:o.colors.gray[800],gray_dark:o.colors.gray[300],gray_darker:o.colors.gray[800],gray_light:o.colors.gray[600],gray_lighter:o.colors.gray[800],gray_lightest:o.colors.gray[900],gray:o.colors.gray[400],green:o.colors.green,red:o.colors.red,white:o.colors.white,field_line_inverse:"#efefef",blue_light:"#e6f3fa",outline_hover:"#00adff",red_light:"#ffecec",field_blur:"rgba(0, 0, 0, 0)",field_focus:"rgba(0, 0, 0, 0.03)"},n.field_line="rgba(0, 0, 0, 0.06)",n),c=l.GRID_SIZE_PX=11,u=r=1,f=l.SIDEBAR_WIDTH_PX=320,d=r=350,h=r=c*3,g=r=4,_=r=c*4,p=l.FIELD_HORIZONTAL_PADDING_PX=16,y=r=100,O=r=6,P=r=16,C=r=32,A=r=37,S=r=16,T=r=12,s=r=4,v=r=2,m=r=4,E=r=16,I={FADEIN_DURATION:"0.1s",FADEIN_EASING:"ease-in-out"},L=r=12,W=r="Clarkson",F=r=14,G=r=12,k=r=9.75,x=r=16,M=r=12,B=r=11,R=r=x,U=r=.5,j=r=.75,$=r="400",ee=r="500",te=r=54,ie=r=4,ne=l.default=(a={"rosetta-background-color-light":"rgba(255,255,255,0.3)","rosetta-black":i.black,"rosetta-blue":i.blue,"rosetta-blue-light":i.blue_light,"rosetta-error-color":i.error,"rosetta-field-caret-color":i.field_caret,"rosetta-field-focus-color":i.field_focus,"rosetta-field-line-color":i.field_line,"rosetta-gray-dark":i.gray_dark,"rosetta-gray-darker":i.gray_darker,"rosetta-gray-light":i.gray_light,"rosetta-gray-lighter":i.gray_lighter,"rosetta-gray-lightest":i.gray_lightest,"rosetta-gray-medium":"rgba(0,0,0,0.1)","rosetta-gray":i.gray,"rosetta-green":i.green,"rosetta-outlineHoverColor":i.outline_hover,"rosetta-outlineSelectedColor":i.outline_hover,"rosetta-red":i.red,"rosetta-red-light":i.red_light,"rosetta-text-color-light":"rgba(62,62,62,0.4)","rosetta-text-color":"rgba(62,62,62,1)","rosetta-white":i.white,"rosetta-sidebar-width":f+"px","rosetta-transition-duration":d+"ms","rosetta-transition-easing-bounce":"cubic-bezier(0.175, 0.885, 0.32, 1.15)","rosetta-transition-easing":"cubic-bezier(0.77, 0, 0.175, 1)","rosetta-transition-fadein-duration":I.FADEIN_DURATION,"rosetta-transition-fadein-easing":I.FADEIN_EASING,"rosetta-transition-fadein":"".concat(I.FADEIN_DURATION," ").concat(I.FADEIN_EASING),grid:c+"px","dialog-border-radius":"8px","dialog-box-shadow":"rgba(0, 0, 0, 0.2) 0 30px 100px, rgba(0, 0, 0, 0.06) 0 4px 10px","dialog-overlay-color":"rgba(0, 0, 0, 0.1)","field-horizontal-padding":p+"px","field-height":_+"px","field-border-radius":g+"px","field-inner-margin":O+"px","field-label-margin-top":P+"px","field-inline-label-width":y+"px","button-height-small":C+"px","button-height-medium":C+"px",strokeWidth:u+"px","font-family":W,"font-size":F+"px","font-size-large":R+"px","font-size-smaller":G+"px","font-size-smallest":k+"px","mobile-font-size":x+"px","mobile-font-size-smaller":G+"px","mobile-font-size-smallest":k+"px"},a["font-size-large"]=R+"px",a["font-size-smaller-caps-letter-spacing"]=U+"px",a["font-size-smallest-caps-letter-spacing"]=j+"px",a["error-font-size"]=L+"px",a["font-weight-medium"]=ee,a["font-weight-book"]=$,a["line-height-label"]=T+"px",a["line-height-description"]=S+"px",a["margin-top-label"]=m+"px",a["margin-top-description"]=v+"px",a["margin-bottom-description"]=s+"px",a["accessory-icon-size"]=E+"px",a["knob-box-shadow"]="0 3px 14px rgba(0, 0, 0, 0.2)",a)},910286:function(b,l,e){"use strict";e.d(l,{df:()=>un,px:()=>n});var r=e(392338);function o(Wt){if(Wt){var Pe=Wt.parentElement;if(Pe){var xe=Array.from(Pe.querySelectorAll(".sqsrte-scaled-text-container"));xe.forEach(function(Ae){Ae.classList.remove("loaded")}),xe.forEach(function(Ae){var qe=Pe.getBoundingClientRect().width,wt=Ae.querySelector(".sqsrte-scaled-text"),kt=window.getComputedStyle(wt),ut=kt.fontSize,Ft=parseFloat(ut),tn=wt.getBoundingClientRect(),In=tn.width,rr=qe/In;wt.style.fontSize="".concat(Math.round(rr*Ft*10)/10,"px"),Ae.classList.add("loaded")})}}}const n=o;var a=e(675523),i=e.n(a),c=e(668595),u=e.n(c),f=e(642979),d=e.n(f),h=e(708380),g=e(749189),_=e(210750),p=e.n(_),y=e(406039),O=e.n(y),P=e(976003),C=e.n(P);function A(Wt){return Wt&&Wt.constructor&&Wt.constructor.name==="Object"}function S(Wt,Pe){return!Wt&&!Pe||Array.isArray(Wt)&&Array.isArray(Pe)||A(Wt)&&A(Pe)||typeof Wt=="string"&&typeof Pe=="string"||!isNaN(Wt)&&!isNaN(Pe)}function T(Wt){var Pe=Wt.newPointer,xe=Wt.oldPointer,Ae=new Set;return Pe.forEach(function(qe){xe.includes(qe)||Ae.add(qe)}),Array.isArray(xe)&&xe.forEach(function(qe){Pe.includes(qe)||Ae.add(qe)}),Array.from(Ae)}function s(Wt,Pe){var xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";if(O()(Wt)!=="object"||O()(Pe)!=="object")throw new Error("".concat(s.name," parameters must be Arrays or Objects, received: ").concat(Wt," and ").concat(Pe));if(!C()(Wt,Pe)){if(Array.isArray(Wt)&&Array.isArray(Pe))return T({newPointer:Wt,oldPointer:Pe});var Ae=Object.keys(Wt),qe=Ae.map(function(kt){var ut=Wt[kt],Ft=Pe[kt];if(!S(ut,Ft))return"".concat(xe).concat(kt);if(A(ut)&&A(Ft))return s(ut,Ft,"".concat(xe).concat(kt,"."));if(Array.isArray(ut)){if(C()(ut,Ft))return null;var tn=T({newPointer:ut,oldPointer:Ft});return"".concat(xe).concat(kt,"[").concat(tn,"]")}return C()(ut,Ft)?null:"".concat(xe).concat(kt)}).filter(function(kt){return!!kt}),wt=T({newPointer:Object.keys(Wt),oldPointer:Object.keys(Pe)});return wt.forEach(function(kt){qe.includes("".concat(xe).concat(kt))||qe.push("".concat(xe).concat(kt))}),qe.flat()}return[]}const v=s;var m=e(590670),E=e.n(m),I=e(20104),L=e.n(I),W=e(848664),F=e.n(W),G=e(680180),k=e.n(G),x=function(Pe){return"<svg>".concat(Pe,"</svg>")},M=function(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"M0,0";return'<path d="'.concat(Pe,'" vector-effect="non-scaling-stroke" />')},B=function(Pe,xe){var Ae=xe[0]-Pe[0],qe=xe[1]-Pe[1];return{length:Math.sqrt(Math.pow(Ae,2)+Math.pow(qe,2)),angle:Math.atan2(qe,Ae)}},R=function(Pe,xe){return function(Ae,qe,wt,kt){var ut=qe||Ae,Ft=wt||Ae,tn=Pe(ut,Ft),In=tn.angle+(kt?Math.PI:0),rr=tn.length*.5*xe,Sr=Ae[0]+Math.cos(In)*rr,Yr=Ae[1]+Math.sin(In)*rr;return[Sr,Yr]}},U=function(Pe){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(Ae,qe,wt){var kt=k()(wt[qe-1],2),ut=kt[0],Ft=kt[1],tn=Pe(wt[qe-1],wt[qe-2],Ae),In=Pe(Ae,wt[qe-1],wt[qe+1],!0),rr=xe&&qe===wt.length-1?" z":"";return"c ".concat(tn[0]-ut,",").concat(tn[1]-Ft," ").concat(In[0]-ut,",").concat(In[1]-Ft," ").concat(Ae[0]-ut,",").concat(Ae[1]-Ft).concat(rr)}},j=function(Pe,xe){var Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Pe.reduce(function(qe,wt,kt,ut){return kt===0?Ae?"":"M ".concat(wt[0],",").concat(wt[1]):"".concat(qe," ").concat(xe(wt,kt,ut))},"")};function $(Wt,Pe){var xe=Object.keys(Wt);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(Wt);Pe&&(Ae=Ae.filter(function(qe){return Object.getOwnPropertyDescriptor(Wt,qe).enumerable})),xe.push.apply(xe,Ae)}return xe}function ee(Wt){for(var Pe=1;Pe<arguments.length;Pe++){var xe=arguments[Pe]!=null?arguments[Pe]:{};Pe%2?$(Object(xe),!0).forEach(function(Ae){d()(Wt,Ae,xe[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Wt,Object.getOwnPropertyDescriptors(xe)):$(Object(xe)).forEach(function(Ae){Object.defineProperty(Wt,Ae,Object.getOwnPropertyDescriptor(xe,Ae))})}return Wt}var te=function(){function Wt(Pe,xe){var Ae=this;i()(this,Wt),d()(this,"node",document.createElement("svg")),d()(this,"paths",[]),d()(this,"pathsLen",[]),d()(this,"lastWidth",-1),d()(this,"lastHeight",-1),d()(this,"setRefs",function(){Ae.svg=Ae.container.querySelector("svg"),Ae.paths=Array.from(Ae.container.querySelectorAll("path"))});var qe=xe.uniforms;this.uniforms=ee({progress:{value:-1}},qe),this.container=Pe}return u()(Wt,[{key:"calculatePathLengths",value:function(){this.pathsLen=this.paths.map(function(xe){return xe.getTotalLength()})}},{key:"onSetSize",value:function(xe,Ae){}},{key:"onUpdate",value:function(){}},{key:"onDestroy",value:function(){}},{key:"setSize",value:function(xe,Ae){xe===this.lastWidth&&Ae===this.lastHeight||(this.onSetSize(xe,Ae),this.calculatePathLengths(),this.lastWidth=xe,this.lastHeight=Ae,this.update())}},{key:"update",value:function(){var xe=this,Ae=this.uniforms.progressDraw;this.paths.forEach(function(qe,wt){var kt=Math.ceil(xe.pathsLen[wt]);kt&&(qe.setAttribute("stroke-dasharray",kt),qe.setAttribute("stroke-dashoffset",kt*2+Ae.value*-kt))}),this.onUpdate()}},{key:"destroy",value:function(){this.onDestroy(),this.node.remove()}}]),Wt}();function ie(Wt){var Pe=ne();return function(){var Ae=F()(Wt),qe;if(Pe){var wt=F()(this).constructor;qe=Reflect.construct(Ae,arguments,wt)}else qe=Ae.apply(this,arguments);return L()(this,qe)}}function ne(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var pe=function(Wt){E()(xe,Wt);var Pe=ie(xe);function xe(Ae,qe){var wt;return i()(this,xe),wt=Pe.call(this,Ae,qe),Ae.innerHTML=x(M()),wt.setRefs(),wt}return u()(xe,[{key:"onSetSize",value:function(qe,wt){var kt=Math.min(qe*.2,10),ut=Math.min(wt*.25,5),Ft=qe+kt*2,tn=wt+ut*2,In=["M".concat(-kt+Ft*.35,",").concat(-ut+tn*.95),"C ".concat(-kt+Ft*.554,",").concat(-ut+tn*.994," ").concat(-kt+Ft,",").concat(-ut+tn*.94," ").concat(-kt+Ft,",").concat(-ut+tn*.52),"C ".concat(-kt+Ft,",").concat(-ut+tn*.165," ").concat(-kt+Ft*.706,",",0," ").concat(-kt+Ft*.496,",",0),"S ".concat(-kt+Ft*.01,",").concat(-ut+tn*.165," ").concat(-kt+Ft*.01,",").concat(-ut+tn*.508),"S ".concat(-kt+Ft*.241,",").concat(-ut+tn*1.039," ").concat(-kt+Ft*.74,",").concat(-ut+tn*.994)];this.paths[0].setAttribute("d",In.join(" "))}}]),xe}(te);function oe(Wt){var Pe=q();return function(){var Ae=F()(Wt),qe;if(Pe){var wt=F()(this).constructor;qe=Reflect.construct(Ae,arguments,wt)}else qe=Ae.apply(this,arguments);return L()(this,qe)}}function q(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var J=function(Wt){E()(xe,Wt);var Pe=oe(xe);function xe(Ae,qe){var wt;return i()(this,xe),wt=Pe.call(this,Ae,qe),wt.bezierCalc=U(R(B,.5)),Ae.innerHTML=x(M()+M()),wt.setRefs(),wt}return u()(xe,[{key:"onSetSize",value:function(qe,wt){var kt=this;this.paths.forEach(function(ut,Ft){var tn=xe.paths[Ft].map(function(In){return[In[0]*qe,In[1]*wt]});ut.setAttribute("d",j(tn,kt.bezierCalc))})}}]),xe}(te);J.paths=[[[0,1],[.5,.55],[1,.25]],[[0,.23],[.6,.6],[1,.9]]];function me(Wt){var Pe=re();return function(){var Ae=F()(Wt),qe;if(Pe){var wt=F()(this).constructor;qe=Reflect.construct(Ae,arguments,wt)}else qe=Ae.apply(this,arguments);return L()(this,qe)}}function re(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var he=function(Wt){E()(xe,Wt);var Pe=me(xe);function xe(Ae,qe){var wt;return i()(this,xe),wt=Pe.call(this,Ae,qe),wt.bezierCalc=U(R(B,.7)),Ae.innerHTML=x(M()+M()),wt.setRefs(),wt}return u()(xe,[{key:"onSetSize",value:function(qe,wt){var kt=this;this.paths.forEach(function(ut,Ft){var tn=xe.paths[Ft].map(function(In){return[In[0]*qe,In[1]*wt]});ut.setAttribute("d",j(tn,kt.bezierCalc))})}}]),xe}(te);he.paths=[[[0,.22],[.25,.21],[.5,.2],[.75,.21],[1,.24]],[[0,.92],[.25,.9],[.5,.88],[.75,.9],[1,.92]]];function Ee(Wt){var Pe=fe();return function(){var Ae=F()(Wt),qe;if(Pe){var wt=F()(this).constructor;qe=Reflect.construct(Ae,arguments,wt)}else qe=Ae.apply(this,arguments);return L()(this,qe)}}function fe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var H=function(Wt){E()(xe,Wt);var Pe=Ee(xe);function xe(Ae,qe){var wt;return i()(this,xe),wt=Pe.call(this,Ae,qe),wt.bezierCalc=U(R(B,.5)),Ae.innerHTML=x(M()),wt.setRefs(),wt}return u()(xe,[{key:"onSetSize",value:function(qe,wt){var kt=this.uniforms.fontSize.value,ut=kt*.25,Ft=kt*.12,tn=Math.floor(qe/(ut*.7)),In=wt*.97,rr=[[0,In],[ut,In-Ft],[ut*.7,In]],Sr=j(rr,this.bezierCalc,!0);this.paths[0].setAttribute("d","M0,".concat(In," ").concat(Sr.repeat(tn)))}}]),xe}(te);function z(Wt){var Pe=_e();return function(){var Ae=F()(Wt),qe;if(Pe){var wt=F()(this).constructor;qe=Reflect.construct(Ae,arguments,wt)}else qe=Ae.apply(this,arguments);return L()(this,qe)}}function _e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var ae=function(Wt){E()(xe,Wt);var Pe=z(xe);function xe(Ae,qe){var wt;return i()(this,xe),wt=Pe.call(this,Ae,qe),wt.bezierCalc=U(R(B,.3)),Ae.innerHTML=x(M()),wt.setRefs(),wt}return u()(xe,[{key:"onSetSize",value:function(qe,wt){var kt=xe.path.map(function(ut){return[ut[0]*qe,ut[1]*wt]});this.paths[0].setAttribute("d",j(kt,this.bezierCalc))}}]),xe}(te);ae.path=[[0,.88],[.5,.85],[1,.9],[.6,.85],[.1,.95],[.5,.93],[.8,.95],[.5,1],[.3,1]];function ge(Wt){var Pe=Be();return function(){var Ae=F()(Wt),qe;if(Pe){var wt=F()(this).constructor;qe=Reflect.construct(Ae,arguments,wt)}else qe=Ae.apply(this,arguments);return L()(this,qe)}}function Be(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Ke=function(Wt){E()(xe,Wt);var Pe=ge(xe);function xe(Ae,qe){var wt;return i()(this,xe),wt=Pe.call(this,Ae,qe),wt.bezierCalc=U(R(B,.5)),Ae.innerHTML=x(M()),wt.setRefs(),wt}return u()(xe,[{key:"onSetSize",value:function(qe,wt){var kt=xe.paths[0].map(function(ut){return[ut[0]*qe,ut[1]*wt]});this.paths[0].setAttribute("d",j(kt,this.bezierCalc))}}]),xe}(te);Ke.paths=[[[0,.55],[.5,.55],[1,.55]]];function He(Wt){var Pe=ye();return function(){var Ae=F()(Wt),qe;if(Pe){var wt=F()(this).constructor;qe=Reflect.construct(Ae,arguments,wt)}else qe=Ae.apply(this,arguments);return L()(this,qe)}}function ye(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Le=function(Wt){E()(xe,Wt);var Pe=He(xe);function xe(Ae,qe){var wt;return i()(this,xe),wt=Pe.call(this,Ae,qe),wt.bezierCalc=U(R(B,.5)),Ae.innerHTML=x(M()),wt.setRefs(),wt}return u()(xe,[{key:"onSetSize",value:function(qe,wt){var kt=xe.paths[0].map(function(ut){return[ut[0]*qe,ut[1]*wt]});this.paths[0].setAttribute("d",j(kt,this.bezierCalc))}}]),xe}(te);Le.paths=[[[0,.33],[.6,.6],[1,.88]]];function Ue(Wt){var Pe=Xe();return function(){var Ae=F()(Wt),qe;if(Pe){var wt=F()(this).constructor;qe=Reflect.construct(Ae,arguments,wt)}else qe=Ae.apply(this,arguments);return L()(this,qe)}}function Xe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Fe=function(Wt){E()(xe,Wt);var Pe=Ue(xe);function xe(Ae,qe){var wt;return i()(this,xe),wt=Pe.call(this,Ae,qe),Ae.innerHTML=x(M()),wt.setRefs(),wt}return u()(xe,[{key:"onSetSize",value:function(qe,wt){this.paths[0].setAttribute("d","M0,".concat(wt*.9," L").concat(qe,",").concat(wt*.9))}}]),xe}(te);function ht(Wt){var Pe=Ne();return function(){var Ae=F()(Wt),qe;if(Pe){var wt=F()(this).constructor;qe=Reflect.construct(Ae,arguments,wt)}else qe=Ae.apply(this,arguments);return L()(this,qe)}}function Ne(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Ce=function(Wt){E()(xe,Wt);var Pe=ht(xe);function xe(Ae,qe){var wt;return i()(this,xe),wt=Pe.call(this,Ae,qe),Ae.innerHTML=x(M()),wt.setRefs(),wt}return u()(xe,[{key:"onSetSize",value:function(qe,wt){var kt=[[0,wt*.99],[qe*.5,wt*.88],[qe,wt*.89],[qe*.98,wt*.92]],ut=[.5,.5,.5,.1],Ft=function(In,rr,Sr){var Yr=R(B,ut[rr]),Pr=k()(Sr[rr-1],2),Mn=Pr[0],sr=Pr[1],Ar=Yr(Sr[rr-1],Sr[rr-2],In),vr=Yr(In,Sr[rr-1],Sr[rr+1],!0);return"c ".concat(Ar[0]-Mn,",").concat(Ar[1]-sr," ").concat(vr[0]-Mn,",").concat(vr[1]-sr," ").concat(In[0]-Mn,",").concat(In[1]-sr)};this.paths[0].setAttribute("d",j(kt,Ft))}}]),xe}(te);function we(Wt){var Pe=$e();return function(){var Ae=F()(Wt),qe;if(Pe){var wt=F()(this).constructor;qe=Reflect.construct(Ae,arguments,wt)}else qe=Ae.apply(this,arguments);return L()(this,qe)}}function $e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Ot=function(Wt){E()(xe,Wt);var Pe=we(xe);function xe(Ae,qe){var wt;return i()(this,xe),wt=Pe.call(this,Ae,qe),wt.bezierCalc=U(R(B,.5)),Ae.innerHTML=x(M()+M()),wt.setRefs(),wt}return u()(xe,[{key:"onSetSize",value:function(qe,wt){var kt=this;this.paths.forEach(function(ut,Ft){var tn=xe.paths[Ft].map(function(In){return[In[0]*qe,In[1]*wt]});ut.setAttribute("d",j(tn,kt.bezierCalc))})}}]),xe}(te);Ot.paths=[[[0,.9],[.5,.9],[1,.9]],[[0,1],[.5,1],[1,1]]];var Pt=e(279794),Ie=e.n(Pt);function Bt(Wt){var Pe=mt();return function(){var Ae=F()(Wt),qe;if(Pe){var wt=F()(this).constructor;qe=Reflect.construct(Ae,arguments,wt)}else qe=Ae.apply(this,arguments);return L()(this,qe)}}function mt(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var rt=function(Wt){E()(xe,Wt);var Pe=Bt(xe);function xe(Ae,qe){var wt;return i()(this,xe),wt=Pe.call(this,Ae,qe),wt.bezierCalc=U(R(B,.5)),Ae.innerHTML=x(M()),wt.setRefs(),wt}return u()(xe,[{key:"onSetSize",value:function(qe,wt){var kt=this.uniforms.fontSize.value,ut=kt*.25,Ft=kt*.15,tn=Math.ceil(qe/ut)+1,In=wt*.97,rr=Ie()(Array(tn)).map(function(Sr,Yr){return[Yr*ut,Yr%2===0?In:In-Ft]});this.paths[0].setAttribute("d",j(rr,this.bezierCalc))}}]),xe}(te),ce={circle:pe,cross:J,enclose:he,jagged:H,marker:Ke,scribble:ae,strike:Ke,strikeDiagonal:Le,underline:Fe,underlineCurve:Ce,underlineDouble:Ot,wave:rt},Re=Object.keys(ce);const nt=ce;var st=function(Pe,xe){for(var Ae in xe)Pe.setProperty(Ae,xe[Ae])},vt=function(Pe){return{left:Math.round(Pe.left),right:Math.round(Pe.right),x:Math.round(Pe.left),y:Math.round(Pe.top),width:Math.max(0,Math.round(Pe.width)),height:Math.max(0,Math.round(Pe.height))}};function ze(Wt,Pe){var xe=Object.keys(Wt);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(Wt);Pe&&(Ae=Ae.filter(function(qe){return Object.getOwnPropertyDescriptor(Wt,qe).enumerable})),xe.push.apply(xe,Ae)}return xe}function It(Wt){for(var Pe=1;Pe<arguments.length;Pe++){var xe=arguments[Pe]!=null?arguments[Pe]:{};Pe%2?ze(Object(xe),!0).forEach(function(Ae){d()(Wt,Ae,xe[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Wt,Object.getOwnPropertyDescriptors(xe)):ze(Object(xe)).forEach(function(Ae){Object.defineProperty(Wt,Ae,Object.getOwnPropertyDescriptor(xe,Ae))})}return Wt}var on=function(){function Wt(Pe,xe){i()(this,Wt),d()(this,"currentShapeType",null),this.state=It(It({},Wt.defaultState),xe),this.uniforms=It({thickness:{value:.1}},xe.uniforms),this.container=Pe,this.node=document.createElement("div"),this.node.className="TextShape-node",this.onUpdateState(),this.container.appendChild(this.node),this.update()}return u()(Wt,[{key:"onUpdateState",value:function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.state=It(It({},this.state),xe);var Ae=this.state,qe=Ae.id,wt=Ae.isFront,kt=Ae.shape,ut=Ae.color,Ft=Ae.thickness,tn=Ae.linecap,In=Ae.fontSize,rr=Ae.blend,Sr=Ae.opacity;this.node.dataset.textAttributeId=qe,this.node.dataset.shape=kt,this.node.dataset.fontSize=In,this.node.dataset.isFront=wt,Object.assign(this.node.style,{fontSize:"".concat(In,"px")}),this.uniforms.fontSize.value=In,this.uniforms.thickness.value=Ft.unit==="em"?In*parseFloat(Ft.value):Ft.value,st(this.node.style,{"--stroke":ut,"--stroke-width":"".concat(Ft.value).concat(Ft.unit),"--stroke-linecap":tn,"--stroke-linejoin":tn==="round"?"round":"bevel","--blend":rr,"--opacity":Sr}),kt!==this.currentShapeType&&this.createShape(kt)}},{key:"createShape",value:function(xe){this.shape&&this.shape.destroy(),this.currentShapeType=xe,this.shape=nt[xe]?new nt[xe](this.node,{uniforms:this.uniforms}):null}},{key:"setPosition",value:function(xe,Ae){var qe=this.uniforms.thickness.value-this.uniforms.fontSize.value*.25,wt=Math.round(xe.width)-qe,kt=Math.round(xe.height);this.node.dataset.index=xe.index,Object.assign(this.node.style,{width:"".concat(wt,"px"),height:"".concat(kt,"px"),left:"".concat(Math.round(xe.x-Ae.x+qe*.5),"px"),top:"".concat(Math.round(xe.y-Ae.y),"px")}),this.shape&&this.shape.setSize(wt,kt)}},{key:"update",value:function(){var xe=this.state.animation,Ae=this.uniforms.progressReveal,qe=xe==="fadeScale"?.5+Ae.value*.5:1;this.node.style.opacity=Ae.value,this.node.style.transform="scale(".concat(qe,")"),this.shape&&this.shape.update()}},{key:"destroy",value:function(){this.shape&&(this.shape.destroy(),delete this.shape),this.node.remove(),delete this.node,delete this.container}}]),Wt}();on.defaultState={};var Pn=e(860921),Yn=e.n(Pn),Ln=e(700436),bn=e.n(Ln),ir=e(910575),Zn=e.n(ir);function $n(Wt,Pe){var xe=Object.keys(Wt);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(Wt);Pe&&(Ae=Ae.filter(function(qe){return Object.getOwnPropertyDescriptor(Wt,qe).enumerable})),xe.push.apply(xe,Ae)}return xe}function jt(Wt){for(var Pe=1;Pe<arguments.length;Pe++){var xe=arguments[Pe]!=null?arguments[Pe]:{};Pe%2?$n(Object(xe),!0).forEach(function(Ae){d()(Wt,Ae,xe[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Wt,Object.getOwnPropertyDescriptors(xe)):$n(Object(xe)).forEach(function(Ae){Object.defineProperty(Wt,Ae,Object.getOwnPropertyDescriptor(xe,Ae))})}return Wt}var Rn=function(){function Wt(Pe){var xe=this;i()(this,Wt),d()(this,"setState",function(Ae){xe.state=jt(jt({},xe.state),Ae)}),this.props=jt(jt({},this.constructor.defaultProps),Pe),this.state=jt(jt({},this.constructor.defaultState),this.constructor.state),window.Y&&window.Y.Global&&window.Y.Global.after("frame:device:change",this.flushResizeOnDeviceChange,this)}return u()(Wt,[{key:"flushResizeOnDeviceChange",value:function(){this.onResize&&this.onResize.flush&&this.onResize.flush()}},{key:"destroy",value:function(){window.Y&&window.Y.Global&&window.Y.Global.detach("frame:device:change",this.flushResizeOnDeviceChange,this)}}]),Wt}();d()(Rn,"defaultProps",{}),d()(Rn,"defaultState",{});var jn=function(Pe,xe,Ae){return Pe*(1-Ae)+xe*Ae};const Tn=null;var Nn=function(Pe){return Pe*Pe},cn=function(Pe){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,qe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;return-Ae*(Pe/=qe)*(Pe-2)+xe},or=function(Pe){return Pe<.5?2*Pe*Pe:-1+(4-2*Pe)*Pe};function qn(Wt){var Pe=Hr();return function(){var Ae=F()(Wt),qe;if(Pe){var wt=F()(this).constructor;qe=Reflect.construct(Ae,arguments,wt)}else qe=Ae.apply(this,arguments);return L()(this,qe)}}function Hr(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var fo=function(Wt){E()(xe,Wt);var Pe=qn(xe);function xe(Ae){var qe;i()(this,xe),qe=Pe.call(this,Ae),d()(Zn()(qe),"tick",function(){var kt=qe.props,ut=kt.ease,Ft=kt.from,tn=kt.to,In=kt.duration,rr=kt.onUpdate,Sr=kt.onComplete,Yr=Date.now()-qe.lastUpdate;if(qe.lastUpdate+=Yr,qe.time=(qe.lastUpdate-qe.startTime)/1e3,qe.time>In&&(qe.time=In),rr(jn(Ft,tn,ut(qe.time/In))),qe.time>=In){Sr(tn);return}qe.frame=requestAnimationFrame(qe.tick)});var wt=qe.props.autoStart;return qe.state={isActive:!1},qe.startTime=null,qe.lastUpdate=null,qe.frame=null,wt&&qe.start(),qe}return u()(xe,[{key:"start",value:function(){this.state.isActive||(this.setState({isActive:!0}),this.startTime=Date.now(),this.lastUpdate=this.startTime,this.frame=requestAnimationFrame(this.tick))}},{key:"destroy",value:function(){cancelAnimationFrame(this.frame)}}]),xe}(Rn);d()(fo,"defaultProps",{autoStart:!0,ease:cn,duration:1,from:0,to:0,onUpdate:Yn(),onComplete:Yn()});function Jr(Wt,Pe){var xe=Object.keys(Wt);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(Wt);Pe&&(Ae=Ae.filter(function(qe){return Object.getOwnPropertyDescriptor(Wt,qe).enumerable})),xe.push.apply(xe,Ae)}return xe}function ro(Wt){for(var Pe=1;Pe<arguments.length;Pe++){var xe=arguments[Pe]!=null?arguments[Pe]:{};Pe%2?Jr(Object(xe),!0).forEach(function(Ae){d()(Wt,Ae,xe[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Wt,Object.getOwnPropertyDescriptors(xe)):Jr(Object(xe)).forEach(function(Ae){Object.defineProperty(Wt,Ae,Object.getOwnPropertyDescriptor(xe,Ae))})}return Wt}var Xt=function(){function Wt(Pe,xe){var Ae=this;i()(this,Wt),d()(this,"timeout",{ready:null}),d()(this,"tween",null),d()(this,"initAnimation",function(){Ae.animateTo(0)}),d()(this,"onUpdateDraw",function(ut){var Ft=Ae.props.onUpdate;Ae.uniforms.progressDraw.value=ut,Ft()}),d()(this,"onUpdateReveal",function(ut){var Ft=Ae.props.onUpdate;Ae.uniforms.progressReveal.value=ut,Ft()}),d()(this,"onAnimationComplete",function(){}),this.props=ro(ro({},Wt.defaultProps),xe);var qe=this.props,wt=qe.uniforms,kt=qe.config;this.node=Pe,this.config=ro({isAnimationEnabled:!1,animation:"draw",direction:"right",duration:1},kt),this.uniforms=ro({progressDraw:{value:-1}},wt),this.reset()}return u()(Wt,[{key:"setConfig",value:function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ae=ro(ro({},this.config),xe),qe=v(this.config,Ae);qe.length&&(this.config=ro({},Ae))}},{key:"ready",value:function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ae=this.props.onUpdate;this.reset(),Ae(),this.timeout.ready=setTimeout(this.initAnimation,xe)}},{key:"setInitialState",value:function(){var xe=this.config,Ae=xe.isAnimationEnabled,qe=xe.animation,wt=xe.direction;if(Ae&&qe==="draw"){this.uniforms.progressReveal.value=1,this.uniforms.progressDraw.value=wt==="right"?-1:1;return}if(Ae&&(qe==="fade"||qe==="fadeScale")){this.uniforms.progressReveal.value=0,this.uniforms.progressDraw.value=0;return}this.uniforms.progressReveal.value=1,this.uniforms.progressDraw.value=0}},{key:"reset",value:function(){var xe=this.props.onUpdate;clearTimeout(this.timeout.ready),this.destroyTween(),this.setInitialState(),xe()}},{key:"animateTo",value:function(xe){var Ae=this.config,qe=Ae.animation,wt=Ae.duration;if(this.destroyTween(),qe==="draw"){var kt=bn()(Math.abs(this.uniforms.progressDraw.value-xe),.2,1);this.tween=new fo({duration:wt*kt,from:this.uniforms.progressDraw.value,to:xe,onUpdate:this.onUpdateDraw,onComplete:this.onAnimationComplete});return}var ut=1-Math.abs(xe),Ft=bn()(Math.abs(this.uniforms.progressReveal.value-ut),.2,1);this.tween=new fo({duration:wt*Ft,from:this.uniforms.progressReveal.value,to:ut,onUpdate:this.onUpdateReveal,onComplete:this.onAnimationComplete})}},{key:"destroyTween",value:function(){this.tween&&(this.tween.destroy(),this.tween=null)}},{key:"destroy",value:function(){var xe;this.destroyTween(),(xe=this.timeout)!==null&&xe!==void 0&&xe.ready&&clearTimeout(this.timeout.ready)}}]),Wt}();Xt.defaultProps={config:{},onUpdate:Yn(),uniforms:{}};var Je=e(24115),At=function(Pe){for(var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Ae=[],qe=document.createTreeWalker(Pe,NodeFilter.SHOW_TEXT,null,!1),wt;wt=qe.nextNode();)xe&&!wt.parentNode.closest(xe)&&Ae.push(wt);return Ae},xt=function(Pe){var xe=document.createRange();if(!Pe||!Pe.length)return[];xe.setStart(Pe[0],0),xe.setEnd(Pe[Pe.length-1],Pe[Pe.length-1].length);var Ae=Array.from(xe.getClientRects()).map(function(ut){return vt(ut)}),qe=Pe.reduce(function(ut,Ft){return Ie()(Ft.textContent.matchAll(/ /g)).forEach(function(tn){xe.setStart(Ft,tn.index),xe.setEnd(Ft,tn.index+1),ut.push(vt(xe.getBoundingClientRect()))}),ut},[]),wt=Ae.reduce(function(ut,Ft){var tn=ut.rows[ut.rowIndex];return(!tn||tn.y!==Ft.y&&(tn.y<Ft.y||tn.y+tn.height>Ft.y+Ft.height)&&Math.abs(tn.endX-Ft.x)>1)&&(ut.rowIndex+=1,ut.rows[ut.rowIndex]={x:Ft.x,y:Ft.y,width:0,endX:Ft.x,height:Ft.height,originalRects:[]},tn=ut.rows[ut.rowIndex]),tn.endX=Math.max(tn.endX,Ft.right),tn.width=Math.max(0,tn.endX-tn.x),tn.originalRects.push(Ft),ut},{rowIndex:-1,rows:[]}),kt=wt.rows;return kt.sort(function(ut,Ft){return Ft.width-ut.width}).sort(function(ut,Ft){return Ft.y-ut.y}),kt=kt.reduce(function(ut,Ft){if(ut.length){var tn=ut[ut.length-1];if(Ft.y===tn.y&&Ft.x===tn.x||Ft.y===tn.y&&Ft.endX===tn.endX)return ut}var In=qe.findIndex(function(rr){return Ft.endX===rr.right&&Ft.y===rr.y});return~In&&(Ft.width-=qe[In].width),ut.push(Ft),ut},[]),xe.detach(),kt.reverse().map(function(ut,Ft){return ut.index=Ft,ut})};function Qt(Wt,Pe){var xe=Object.keys(Wt);if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(Wt);Pe&&(Ae=Ae.filter(function(qe){return Object.getOwnPropertyDescriptor(Wt,qe).enumerable})),xe.push.apply(xe,Ae)}return xe}function qt(Wt){for(var Pe=1;Pe<arguments.length;Pe++){var xe=arguments[Pe]!=null?arguments[Pe]:{};Pe%2?Qt(Object(xe),!0).forEach(function(Ae){d()(Wt,Ae,xe[Ae])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Wt,Object.getOwnPropertyDescriptors(xe)):Qt(Object(xe)).forEach(function(Ae){Object.defineProperty(Wt,Ae,Object.getOwnPropertyDescriptor(xe,Ae))})}return Wt}var Te=function(){function Wt(Pe,xe,Ae){var qe=this;i()(this,Wt),d()(this,"textNodes",[]),d()(this,"rowsPool",[]),d()(this,"intersectionScroll",null),d()(this,"uniforms",{progressReveal:{value:-1},progressDraw:{value:0},fontSize:{value:1}}),d()(this,"rAFID",null),d()(this,"timeoutGlobalAnimation",null),d()(this,"isTickingGlobalAnimation",!1),d()(this,"prefersReducedMotion",!0),d()(this,"_onMutation",function(){qe.isDestroyed||qe.onResized()}),d()(this,"onResized",function(){qe.isDestroyed||(qe.refreshFontSize(),qe.refreshRows())}),d()(this,"onPrefersReducedMotionChange",function(Yr){qe.prefersReducedMotion=!Yr.matches}),d()(this,"onIntersection",function(Yr){Yr&&(parseInt(window.getComputedStyle(qe.parentNode).opacity)&&qe.animation.ready(0),qe.destroyIntersectionScroll())}),d()(this,"onGlobalAnimationStart",function(){qe.onResized(),qe.startGlobalAnimationWatch()}),d()(this,"onGlobalAnimationEnd",function(){qe.onResized()}),d()(this,"tickSyncGlobalAnimation",function(){qe.onResized(),qe.isTickingGlobalAnimation&&(qe.rAFID=requestAnimationFrame(qe.tickSyncGlobalAnimation))}),d()(this,"update",function(){qe.rowsPool.forEach(function(Yr){return Yr.update()})}),this.node=Pe;var wt={};try{var kt=this.node.dataset.textAttributeId,ut=xe;wt=ut[kt]||{}}catch{}this.prefersReducedMotion=!window.matchMedia("(prefers-reduced-motion: no-preference)").matches,this.state=this.getStateFromProps(qt(qt({},wt),{},{isAnimationEnabled:!this.prefersReducedMotion&&wt.isAnimationEnabled})),this.container=Ae||this.node.closest("div"),this.parentNode=this.node.closest("h1, h2, h3, h4, h5, h6, p, div, pre"),this.onMutation=p()(this._onMutation,10),Object.assign(this.container.style,{position:"relative",zIndex:0}),this.bindListeners();var Ft=this.state,tn=Ft.isAnimationEnabled,In=Ft.animation,rr=Ft.direction,Sr=Ft.duration;this.animation=new Xt(this.node,{uniforms:this.uniforms,onUpdate:this.update,config:{isAnimationEnabled:tn,animation:In,direction:rr,duration:Sr}})}return u()(Wt,[{key:"getStateFromProps",value:function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ae=qt(qt({},Wt.defaultState),xe);return typeof Ae.duration=="string"&&(Ae.duration=parseInt(Ae.duration,10)),Ae}},{key:"onStateChange",value:function(){var xe=this,Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,wt=this.getStateFromProps(qt(qt({},this.state),Ae)),kt=v(this.state,wt);if(this.state=qt(qt({},this.state),wt),this.rowsPool.forEach(function(Sr){return Sr.onUpdateState(xe.state)}),!(!qe||!kt.length)){var ut=this.state,Ft=ut.isAnimationEnabled,tn=ut.animation,In=ut.direction,rr=ut.duration;this.animation.setConfig({isAnimationEnabled:Ft,animation:tn,direction:In,duration:rr}),Gt(kt)&&this.animation.ready(0),this.onMutation()}}},{key:"bindListeners",value:function(){h.Z.on(this.onResized,0),this.intersectionScroll=new g.Z(this.node,{onIntersection:this.onIntersection,normalize:!1}),this.parentNode.addEventListener("transitionstart",this.onGlobalAnimationStart),this.parentNode.addEventListener("transitionend",this.onGlobalAnimationEnd),window.ResizeObserver&&(this.observerResize=new ResizeObserver(this.onMutation),this.observerResize.observe(this.container),this.observerResize.observe(this.node)),window.MutationObserver&&(this.observerMutation=new MutationObserver(this.onMutation),this.observerMutation.observe(this.node,{attributes:!0,childList:!0,subtree:!0})),this.mediaQueryList=window.matchMedia("(prefers-reduced-motion: no-preference)"),this.mediaQueryList.addEventListener?this.mediaQueryList.addEventListener("change",this.onPrefersReducedMotionChange):this.mediaQueryList.addListener(this.onPrefersReducedMotionChange)}},{key:"unbindListeners",value:function(){this.parentNode.removeEventListener("transitionstart",this.onGlobalAnimationStart),this.parentNode.removeEventListener("transitionend",this.onGlobalAnimationEnd),this.destroyIntersectionScroll(),this.observerResize&&(this.observerResize.disconnect(),this.observerResize=null),this.observerMutation&&(this.observerMutation.disconnect(),this.observerMutation=null),h.Z.off(this.onResized),this.mediaQueryList.removeEventListener?this.mediaQueryList.removeEventListener("change",this.onPrefersReducedMotionChange):this.mediaQueryList.removeListener(this.onPrefersReducedMotionChange)}},{key:"startGlobalAnimationWatch",value:function(){var xe=this;clearTimeout(this.timeoutGlobalAnimation),this.timeoutGlobalAnimation=setTimeout(function(){xe.isTickingGlobalAnimation=!1},2e3),!this.isTickingGlobalAnimation&&(this.animation.ready(0),this.isTickingGlobalAnimation=!0,this.rAFID=requestAnimationFrame(this.tickSyncGlobalAnimation))}},{key:"refreshFontSize",value:function(){var xe=window.getComputedStyle(this.node),Ae=parseInt(xe.fontSize);Number.isNaN(Ae)||this.onStateChange({fontSize:Ae},!1)}},{key:"refreshTextNodes",value:function(){var xe=this.node.ownerDocument;if(!xe.contains(this.node)){var Ae=this.container.getAttribute("id"),qe=this.node.getAttribute("data-text-attribute-id"),wt=xe.querySelector('[id="'.concat(Ae,'"]')),kt=wt&&wt.querySelector('.sqsrte-text-highlight[data-text-attribute-id="'.concat(qe,'"]'));kt&&(this.container=wt,this.node=kt)}this.textNodes=At(this.node,".TextShape-node")}},{key:"refreshRows",value:function(){this.refreshTextNodes();var xe=this.container.getBoundingClientRect(),Ae=xt(this.textNodes),qe=this.rowsPool.splice(Ae.length);qe.forEach(function(tn){return tn.destroy()});for(var wt=0,kt=Ae.length;wt<kt;wt+=1){var ut=Ae[wt],Ft=this.rowsPool[wt]||new on(this.container,qt(qt({},this.state),{},{uniforms:this.uniforms}));this.rowsPool[wt]=Ft,Ft.setPosition(ut,xe)}}},{key:"destroyIntersectionScroll",value:function(){this.intersectionScroll&&(this.intersectionScroll.destroy(),this.intersectionScroll=null)}},{key:"destroy",value:function(){this.isDestroyed=!0,this.unbindListeners(),this.animation.destroy(),this.onMutation.cancel(),this.rowsPool.forEach(function(xe){return xe.destroy()}),clearTimeout(this.timeoutGlobalAnimation),cancelAnimationFrame(this.rAFID),delete this.rowsPool,delete this.node,delete this.state,delete this.animation}}]),Wt}();Te.ANIMATION_CHANGE_PROPS=["shape","isAnimationEnabled","animation","duration","direction"];function Gt(Wt){return Wt.some(function(Pe){return Te.ANIMATION_CHANGE_PROPS.includes(Pe)})}Te.defaultState={fontSize:12,isFront:!0,isAnimationEnabled:!1,animation:"draw",duration:.75,direction:"right",color:"currentcolor",shape:"wave",thickness:{unit:"em",value:.06},linecap:"square",blend:"none"};const un=Te;var Vt="data-text-attribute-id",Dn="sqsrte-text-highlight"},920768:function(b,l,e){b.exports=function(r){var o={};function n(a){if(o[a])return o[a].exports;var i=o[a]={i:a,l:!1,exports:{}};return r[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=r,n.c=o,n.d=function(a,i,c){n.o(a,i)||Object.defineProperty(a,i,{enumerable:!0,get:c})},n.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},n.t=function(a,i){if(i&1&&(a=n(a)),i&8||i&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(n.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),i&2&&typeof a!="string")for(var u in a)n.d(c,u,(function(f){return a[f]}).bind(null,u));return c},n.n=function(a){var i=a&&a.__esModule?function(){return a.default}:function(){return a};return n.d(i,"a",i),i},n.o=function(a,i){return Object.prototype.hasOwnProperty.call(a,i)},n.p="",n(n.s=5)}([function(r,o){r.exports=e(994336)},function(r,o){r.exports=e(876978)},function(r,o){r.exports=e(861288)},function(r,o){r.exports=e(456903)},function(r,o){r.exports=e(392338)},function(r,o,n){"use strict";n.r(o),n.d(o,"ClientConfig",function(){}),n.d(o,"EventSource",function(){return _}),n.d(o,"SourceEnvironment",function(){return g}),n.d(o,"default",function(){return $});var a=n(4),i=n(0),c=n.n(i),u=n(1),f=n.n(u),d=n(2),h=n.n(d),g;(function(ee){ee.DEV="dev",ee.QA="qa",ee.STAGING="staging",ee.PROD="prod"})(g||(g={}));var _;(function(ee){ee.WEB="WEB",ee.IOS="IOS",ee.ANDROID="ANDROID",ee.SERVER="SERVER"})(_||(_={}));function p(ee,te){if(!(ee instanceof te))throw new TypeError("Cannot call a class as a function")}function y(ee,te){for(var ie=0;ie<te.length;ie++){var ne=te[ie];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(ee,ne.key,ne)}}function O(ee,te,ie){return te&&y(ee.prototype,te),ie&&y(ee,ie),ee}function P(ee,te,ie){return te in ee?Object.defineProperty(ee,te,{value:ie,enumerable:!0,configurable:!0,writable:!0}):ee[te]=ie,ee}var C=function(){function ee(){p(this,ee),P(this,"_analyticsId",void 0),P(this,"_config",void 0),P(this,"_defaultPayload",void 0)}return O(ee,[{key:"track",value:function(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._config.fireEvents===!1)return Promise.resolve();var ne=this._generatePayload(ie);return this._config.validateMode?this._validateEvent(ne):this._config.url?ne?this._config.useBeacon?this._sendBeacon(ne):this._sendXhr(ne):Promise.reject(new Error("no payload")):Promise.resolve()}},{key:"_getAnalyticsId",value:function(){var ie=function(me){return!me||me==="null"?null:me},ne=ie(c.a.get(this._config.storageKey)),pe=ie(this._getLocalStorageItem()),oe=ie(this._analyticsId),q=ne||pe||oe||h()();return this._config.setAnalyticsCookie&&this._setAnalyticsId(q),q}},{key:"_getLocalStorageItem",value:function(){var ie=!1,ne=localStorage.getItem(this._config.expirationKey);if(ne){var pe=new Date,oe=new Date(ne);ie=pe>oe}return ie?(localStorage.removeItem(this._config.storageKey),localStorage.removeItem(this._config.expirationKey),null):localStorage.getItem(this._config.storageKey)}},{key:"_getNormalizedPathname",value:function(){var ie=window.location.pathname;return ie[ie.length-1]==="/"&&(ie=ie.substring(0,ie.length-1)),ie}},{key:"_generatePayload",value:function(ie){return ie}},{key:"_log",value:function(ie){this._config.logging&&console.log(ie)}},{key:"_sendBeacon",value:function(ie){var ne={type:"application/x-www-form-urlencoded"},pe=new Blob([f.a.stringify(ie)],ne);return navigator.sendBeacon(this._config.url,pe),Promise.resolve()}},{key:"_sendXhr",value:function(ie,ne){var pe=this;ne=ne||this._config.url;var oe=new XMLHttpRequest,q=JSON.stringify(ie),J=new Set([200,202]);return new Promise(function(me,re){oe.open("POST",ne,!0),oe.setRequestHeader("Content-Type","application/json"),oe.send(q),oe.addEventListener("readystatechange",function(){oe.readyState===4&&(J.has(oe.status)?me():(pe._warn("Error tracking event: HTTP Status ".concat(oe.status)),re(new Error("Error tracking event: HTTP Status ".concat(oe.status)))))})})}},{key:"_setAnalyticsId",value:function(ie){this._analyticsId=ie;var ne=this._config.cookie,pe=ne.path,oe=ne.secure,q=window.location.hostname;this._config.cookie.domains.forEach(function(Ee){window.location.hostname.indexOf(Ee)>-1&&(q=Ee)});var J=new Date;J.setDate(J.getDate()+this._config.cookie.daysToStore);var me=J.toUTCString();try{c.a.set(this._config.storageKey,ie,{domain:q,expires:me,path:pe,secure:oe});var re=document.cookie.indexOf(this._config.storageKey)!==document.cookie.lastIndexOf(this._config.storageKey);if(re){var he=new Date(0).toUTCString();c.a.set(this._config.storageKey,null,{expires:he})}localStorage.setItem(this._config.storageKey,ie),localStorage.setItem(this._config.expirationKey,me)}catch{this._warn("Unable to store analyticsId")}}},{key:"_validateEvent",value:function(ie){return Promise.resolve(ie)}},{key:"_warn",value:function(ie){this._config.logging&&console.warn(ie)}}]),ee}(),A=n(3),S=n.n(A),T=function(){var te=window.location.origin;return{url:"".concat(te,"/api/events/RecordEvent"),cookie:{daysToStore:390,domains:["squarespace.com","squarespace.net","sqsp.net"],path:"/",secure:window.location.protocol.indexOf("https")>-1}}};function s(ee){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(ie){return typeof ie}:s=function(ie){return ie&&typeof Symbol=="function"&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie},s(ee)}function v(ee,te){if(ee==null)return{};var ie=m(ee,te),ne,pe;if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(ee);for(pe=0;pe<oe.length;pe++)ne=oe[pe],!(te.indexOf(ne)>=0)&&Object.prototype.propertyIsEnumerable.call(ee,ne)&&(ie[ne]=ee[ne])}return ie}function m(ee,te){if(ee==null)return{};var ie={},ne=Object.keys(ee),pe,oe;for(oe=0;oe<ne.length;oe++)pe=ne[oe],!(te.indexOf(pe)>=0)&&(ie[pe]=ee[pe]);return ie}function E(ee,te){var ie=Object.keys(ee);if(Object.getOwnPropertySymbols){var ne=Object.getOwnPropertySymbols(ee);te&&(ne=ne.filter(function(pe){return Object.getOwnPropertyDescriptor(ee,pe).enumerable})),ie.push.apply(ie,ne)}return ie}function I(ee){for(var te=1;te<arguments.length;te++){var ie=arguments[te]!=null?arguments[te]:{};te%2?E(Object(ie),!0).forEach(function(ne){L(ee,ne,ie[ne])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ee,Object.getOwnPropertyDescriptors(ie)):E(Object(ie)).forEach(function(ne){Object.defineProperty(ee,ne,Object.getOwnPropertyDescriptor(ie,ne))})}return ee}function L(ee,te,ie){return te in ee?Object.defineProperty(ee,te,{value:ie,enumerable:!0,configurable:!0,writable:!0}):ee[te]=ie,ee}function W(ee,te){if(!(ee instanceof te))throw new TypeError("Cannot call a class as a function")}function F(ee,te){for(var ie=0;ie<te.length;ie++){var ne=te[ie];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(ee,ne.key,ne)}}function G(ee,te,ie){return te&&F(ee.prototype,te),ie&&F(ee,ie),ee}function k(ee,te){if(typeof te!="function"&&te!==null)throw new TypeError("Super expression must either be null or a function");ee.prototype=Object.create(te&&te.prototype,{constructor:{value:ee,writable:!0,configurable:!0}}),te&&x(ee,te)}function x(ee,te){return x=Object.setPrototypeOf||function(ne,pe){return ne.__proto__=pe,ne},x(ee,te)}function M(ee){return function(){var te=j(ee),ie;if(U()){var ne=j(this).constructor;ie=Reflect.construct(te,arguments,ne)}else ie=te.apply(this,arguments);return B(this,ie)}}function B(ee,te){return te&&(s(te)==="object"||typeof te=="function")?te:R(ee)}function R(ee){if(ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee}function U(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function j(ee){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(ie){return ie.__proto__||Object.getPrototypeOf(ie)},j(ee)}var $=function(ee){k(ie,ee);var te=M(ie);function ie(ne){var pe,oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};W(this,ie),pe=te.call(this);var q=T();return pe._config=I({},q,{},ne),pe._defaultPayload=oe,pe}return G(ie,[{key:"_generatePayload",value:function(pe){var oe=window.location.hash,q=I({},this._defaultPayload,{},pe),J=q.websiteId,me=J===void 0?null:J,re=q.memberAccountId,he=re===void 0?null:re,Ee=q.website_locale,fe=Ee===void 0?null:Ee,H=q.member_locale,z=H===void 0?null:H,_e=q.templateId,ae=_e===void 0?null:_e,ge=q.variantId,Be=ge===void 0?null:ge,Ke=v(q,["websiteId","memberAccountId","website_locale","member_locale","templateId","variantId"]),He=I({},Ke,{},oe&&{pageHash:oe},{pagePath:this._getNormalizedPathname(),websiteId:me,templateId:ae,variantId:Be,memberAccountId:he,member_locale:z,website_locale:fe});return this._config.logging&&this._log({payload:I({},He)}),He}},{key:"track",value:function(pe){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this._config.fireEvents===!1)return Promise.resolve();var J=this._generatePayload(oe);return this._sendXhr({eventName:pe,payload:J},q)}},{key:"_sendXhr",value:function(pe,oe,q){var J=pe.eventName,me=pe.payload;return q=q||this._config.url,S.a.post(q,f.a.stringify(I({crumb:c.a.get("crumb"),event:J},oe,{data:JSON.stringify(me)})),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}},{key:"spawnTracker",value:function(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new ie(this._config,I({},this._defaultPayload,{},pe))}}]),ie}(C)}])},897071:function(b,l,e){b.exports=function(r){var o={};function n(a){if(o[a])return o[a].exports;var i=o[a]={i:a,l:!1,exports:{}};return r[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=r,n.c=o,n.d=function(a,i,c){n.o(a,i)||Object.defineProperty(a,i,{enumerable:!0,get:c})},n.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},n.t=function(a,i){if(i&1&&(a=n(a)),i&8||i&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(n.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),i&2&&typeof a!="string")for(var u in a)n.d(c,u,(function(f){return a[f]}).bind(null,u));return c},n.n=function(a){var i=a&&a.__esModule?function(){return a.default}:function(){return a};return n.d(i,"a",i),i},n.o=function(a,i){return Object.prototype.hasOwnProperty.call(a,i)},n.p="",n(n.s=9)}([function(r,a){var n=/^([^=]+)=([^;]*)$/,a=r.exports=function(c,u){c||(c={}),typeof c=="string"&&(c={cookie:c}),c.cookie===void 0&&(c.cookie=""),u!==!1&&(u=!0);var f=function(_){return _},d=u?escape:f,h=u?unescape:f,g={};return g.get=function(_){for(var p=c.cookie.split(/;\s*/),y=0;y<p.length;y++){var O=(p[y]||"").match(n)||[],P=h(O[1]||"");if(P===_)return h(O[2]||"")}},g.set=function(_,p,y){y||(y={});var O=d(_)+"="+d(p);return y.expires&&(O+="; expires="+y.expires),y.path&&(O+="; path="+d(y.path)),y.domain&&(O+="; domain="+d(y.domain)),y.secure&&(O+="; secure"),c.cookie=O,O},g};if(typeof document<"u"){var i=a(document);a.get=i.get,a.set=i.set}},function(r,o,n){"use strict";o.decode=o.parse=n(5),o.encode=o.stringify=n(6)},function(r,o,n){var a=n(7),i=n(8);function c(u,f,d){var h=f&&d||0;typeof u=="string"&&(f=u==="binary"?new Array(16):null,u=null),u=u||{};var g=u.random||(u.rng||a)();if(g[6]=g[6]&15|64,g[8]=g[8]&63|128,f)for(var _=0;_<16;++_)f[h+_]=g[_];return f||i(g)}r.exports=c},function(r,o){r.exports=function(n){var a={};function i(c){if(a[c])return a[c].exports;var u=a[c]={i:c,l:!1,exports:{}};return n[c].call(u.exports,u,u.exports,i),u.l=!0,u.exports}return i.m=n,i.c=a,i.d=function(c,u,f){i.o(c,u)||Object.defineProperty(c,u,{enumerable:!0,get:f})},i.r=function(c){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},i.t=function(c,u){if(u&1&&(c=i(c)),u&8||u&4&&typeof c=="object"&&c&&c.__esModule)return c;var f=Object.create(null);if(i.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:c}),u&2&&typeof c!="string")for(var d in c)i.d(f,d,(function(h){return c[h]}).bind(null,d));return f},i.n=function(c){var u=c&&c.__esModule?function(){return c.default}:function(){return c};return i.d(u,"a",u),u},i.o=function(c,u){return Object.prototype.hasOwnProperty.call(c,u)},i.p="",i(i.s=0)}([function(n,a,i){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getSessionInfo=P;var c=i(1),u=h(c),f=i(4),d=h(f);function h(C){return C&&C.__esModule?C:{default:C}}var g="SS_IS_FIRST_SESSION",_="SS_HAS_LANDED",p="SS_SESSION_ID",y=["squarespace.com","squarespace.net","sqsp.net"],O=function(A,S){var T=void 0;y.forEach(function(s){window.location.hostname.indexOf(s)>-1&&(T=s)}),T=T||window.location.hostname,d.default.set(A,S,{domain:T,path:"/",secure:window.location.protocol.indexOf("https")>-1})};function P(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!(typeof window>"u")){if(window._sessionInfo)return window._sessionInfo;try{var A=localStorage.getItem(_),S=sessionStorage.getItem(g),T=S===null,s=A===null||S==="true",v=d.default.get(p);return localStorage.setItem(_,"true"),T&&(s?sessionStorage.setItem(g,"true"):sessionStorage.setItem(g,"false")),!v&&C&&(v=(0,u.default)(),O(p,v)),window._sessionInfo={isFirstLanding:T,isFirstSession:s,sessionId:v},window._sessionInfo}catch{return console.warn("Unable access local/session storage."),{isFirstLanding:!1,isFirstSession:!1}}}}},function(n,a,i){var c=i(2),u=i(3);function f(d,h,g){var _=h&&g||0;typeof d=="string"&&(h=d==="binary"?new Array(16):null,d=null),d=d||{};var p=d.random||(d.rng||c)();if(p[6]=p[6]&15|64,p[8]=p[8]&63|128,h)for(var y=0;y<16;++y)h[_+y]=p[y];return h||u(p)}n.exports=f},function(n,a){var i=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(i){var c=new Uint8Array(16);n.exports=function(){return i(c),c}}else{var u=new Array(16);n.exports=function(){for(var d=0,h;d<16;d++)d&3||(h=Math.random()*4294967296),u[d]=h>>>((d&3)<<3)&255;return u}}},function(n,a){for(var i=[],c=0;c<256;++c)i[c]=(c+256).toString(16).substr(1);function u(f,d){var h=d||0,g=i;return[g[f[h++]],g[f[h++]],g[f[h++]],g[f[h++]],"-",g[f[h++]],g[f[h++]],"-",g[f[h++]],g[f[h++]],"-",g[f[h++]],g[f[h++]],"-",g[f[h++]],g[f[h++]],g[f[h++]],g[f[h++]],g[f[h++]],g[f[h++]]].join("")}n.exports=u},function(n,c){var i=/^([^=]+)=([^;]*)$/,c=n.exports=function(f,d){f||(f={}),typeof f=="string"&&(f={cookie:f}),f.cookie===void 0&&(f.cookie=""),d!==!1&&(d=!0);var h=function(y){return y},g=d?escape:h,_=d?unescape:h,p={};return p.get=function(y){for(var O=f.cookie.split(/;\s*/),P=0;P<O.length;P++){var C=(O[P]||"").match(i)||[],A=_(C[1]||"");if(A===y)return _(C[2]||"")}},p.set=function(y,O,P){P||(P={});var C=g(y)+"="+g(O);return P.expires&&(C+="; expires="+P.expires),P.path&&(C+="; path="+g(P.path)),P.domain&&(C+="; domain="+g(P.domain)),P.secure&&(C+="; secure"),f.cookie=C,C},p};if(typeof document<"u"){var u=c(document);c.get=u.get,c.set=u.set}}])},function(r,o){r.exports=e(392338)},function(r,o,n){"use strict";function a(c,u){return Object.prototype.hasOwnProperty.call(c,u)}r.exports=function(c,u,f,d){u=u||"&",f=f||"=";var h={};if(typeof c!="string"||c.length===0)return h;var g=/\+/g;c=c.split(u);var _=1e3;d&&typeof d.maxKeys=="number"&&(_=d.maxKeys);var p=c.length;_>0&&p>_&&(p=_);for(var y=0;y<p;++y){var O=c[y].replace(g,"%20"),P=O.indexOf(f),C,A,S,T;P>=0?(C=O.substr(0,P),A=O.substr(P+1)):(C=O,A=""),S=decodeURIComponent(C),T=decodeURIComponent(A),a(h,S)?i(h[S])?h[S].push(T):h[S]=[h[S],T]:h[S]=T}return h};var i=Array.isArray||function(c){return Object.prototype.toString.call(c)==="[object Array]"}},function(r,o,n){"use strict";var a=function(f){switch(typeof f){case"string":return f;case"boolean":return f?"true":"false";case"number":return isFinite(f)?f:"";default:return""}};r.exports=function(f,d,h,g){return d=d||"&",h=h||"=",f===null&&(f=void 0),typeof f=="object"?c(u(f),function(_){var p=encodeURIComponent(a(_))+h;return i(f[_])?c(f[_],function(y){return p+encodeURIComponent(a(y))}).join(d):p+encodeURIComponent(a(f[_]))}).join(d):g?encodeURIComponent(a(g))+h+encodeURIComponent(a(f)):""};var i=Array.isArray||function(f){return Object.prototype.toString.call(f)==="[object Array]"};function c(f,d){if(f.map)return f.map(d);for(var h=[],g=0;g<f.length;g++)h.push(d(f[g],g));return h}var u=Object.keys||function(f){var d=[];for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&d.push(h);return d}},function(r,o){var n=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(n){var a=new Uint8Array(16);r.exports=function(){return n(a),a}}else{var i=new Array(16);r.exports=function(){for(var u=0,f;u<16;u++)u&3||(f=Math.random()*4294967296),i[u]=f>>>((u&3)<<3)&255;return i}}},function(r,o){for(var n=[],a=0;a<256;++a)n[a]=(a+256).toString(16).substr(1);function i(c,u){var f=u||0,d=n;return[d[c[f++]],d[c[f++]],d[c[f++]],d[c[f++]],"-",d[c[f++]],d[c[f++]],"-",d[c[f++]],d[c[f++]],"-",d[c[f++]],d[c[f++]],"-",d[c[f++]],d[c[f++]],d[c[f++]],d[c[f++]],d[c[f++]],d[c[f++]]].join("")}r.exports=i},function(r,o,n){"use strict";n.r(o),n.d(o,"ClientConfig",function(){}),n.d(o,"EventSource",function(){return _}),n.d(o,"SourceEnvironment",function(){return g}),n.d(o,"default",function(){return B});var a=n(4),i=n(0),c=n.n(i),u=n(1),f=n.n(u),d=n(2),h=n.n(d),g;(function(R){R.DEV="dev",R.QA="qa",R.STAGING="staging",R.PROD="prod"})(g||(g={}));var _;(function(R){R.WEB="WEB",R.IOS="IOS",R.ANDROID="ANDROID",R.SERVER="SERVER"})(_||(_={}));function p(R,U){if(!(R instanceof U))throw new TypeError("Cannot call a class as a function")}function y(R,U){for(var j=0;j<U.length;j++){var $=U[j];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(R,$.key,$)}}function O(R,U,j){return U&&y(R.prototype,U),j&&y(R,j),R}function P(R,U,j){return U in R?Object.defineProperty(R,U,{value:j,enumerable:!0,configurable:!0,writable:!0}):R[U]=j,R}var C=function(){function R(){p(this,R),P(this,"_analyticsId",void 0),P(this,"_config",void 0),P(this,"_defaultPayload",void 0)}return O(R,[{key:"track",value:function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._config.fireEvents===!1)return Promise.resolve();var $=this._generatePayload(j);return this._config.validateMode?this._validateEvent($):this._config.url?$?this._config.useBeacon?this._sendBeacon($):this._sendXhr($):Promise.reject(new Error("no payload")):Promise.resolve()}},{key:"_getAnalyticsId",value:function(){var j=function(pe){return!pe||pe==="null"?null:pe},$=j(c.a.get(this._config.storageKey)),ee=j(this._getLocalStorageItem()),te=j(this._analyticsId),ie=$||ee||te||h()();return this._config.setAnalyticsCookie&&this._setAnalyticsId(ie),ie}},{key:"_getLocalStorageItem",value:function(){var j=!1,$=localStorage.getItem(this._config.expirationKey);if($){var ee=new Date,te=new Date($);j=ee>te}return j?(localStorage.removeItem(this._config.storageKey),localStorage.removeItem(this._config.expirationKey),null):localStorage.getItem(this._config.storageKey)}},{key:"_getNormalizedPathname",value:function(){var j=window.location.pathname;return j[j.length-1]==="/"&&(j=j.substring(0,j.length-1)),j}},{key:"_generatePayload",value:function(j){return j}},{key:"_log",value:function(j){this._config.logging&&console.log(j)}},{key:"_sendBeacon",value:function(j){var $={type:"application/x-www-form-urlencoded"},ee=new Blob([f.a.stringify(j)],$);return navigator.sendBeacon(this._config.url,ee),Promise.resolve()}},{key:"_sendXhr",value:function(j,$){var ee=this;$=$||this._config.url;var te=new XMLHttpRequest,ie=JSON.stringify(j),ne=new Set([200,202]);return new Promise(function(pe,oe){te.open("POST",$,!0),te.setRequestHeader("Content-Type","application/json"),te.send(ie),te.addEventListener("readystatechange",function(){te.readyState===4&&(ne.has(te.status)?pe():(ee._warn("Error tracking event: HTTP Status ".concat(te.status)),oe(new Error("Error tracking event: HTTP Status ".concat(te.status)))))})})}},{key:"_setAnalyticsId",value:function(j){this._analyticsId=j;var $=this._config.cookie,ee=$.path,te=$.secure,ie=window.location.hostname;this._config.cookie.domains.forEach(function(J){window.location.hostname.indexOf(J)>-1&&(ie=J)});var ne=new Date;ne.setDate(ne.getDate()+this._config.cookie.daysToStore);var pe=ne.toUTCString();try{c.a.set(this._config.storageKey,j,{domain:ie,expires:pe,path:ee,secure:te});var oe=document.cookie.indexOf(this._config.storageKey)!==document.cookie.lastIndexOf(this._config.storageKey);if(oe){var q=new Date(0).toUTCString();c.a.set(this._config.storageKey,null,{expires:q})}localStorage.setItem(this._config.storageKey,j),localStorage.setItem(this._config.expirationKey,pe)}catch{this._warn("Unable to store analyticsId")}}},{key:"_validateEvent",value:function(j){return Promise.resolve(j)}},{key:"_warn",value:function(j){this._config.logging&&console.warn(j)}}]),R}(),A=n(3),S={actor:{type:"string",nullable:!1},action:{type:"string",nullable:!1},event_owner_team:{type:"string",nullable:!1},event_source:{type:"string",nullable:!1},object_type:{type:"string",nullable:!1},context_website_identifier:{type:"string",nullable:!0},destination_url:{type:"string",nullable:!0},object_identifier:{type:"string",nullable:!0},object_id:{type:"string",nullable:!0},object_display_name:{type:"string",nullable:!0},object_value:{type:"string",nullable:!0},indirect_object_identifier:{type:"string",nullable:!0},indirect_object_id:{type:"string",nullable:!0},indirect_object_display_name:{type:"string",nullable:!0},indirect_object_value:{type:"string",nullable:!0},indirect_object_type:{type:"string",nullable:!0},product_area:{type:"string",nullable:!0},product_page:{type:"string",nullable:!0},product_section:{type:"string",nullable:!0},product_design_identifier:{type:"string",nullable:!0},user_member_account_id:{type:"string",nullable:!0},user_session_id:{type:"string",nullable:!0},browser_locale:{type:"string",nullable:!0},member_account_locale:{type:"string",nullable:!0},website_locale:{type:"string",nullable:!0},frontsite_language:{type:"string",nullable:!0}},T=function(){var U=window.location.hostname.indexOf("squarespace.com")>-1?"https://events.squarespace.com":"https://events.stage.sqsp.net";return{customSchemaName:null,fireEvents:!0,logging:!1,url:"".concat(U,"/api/v1/events"),useBeacon:!0,storageKey:"SS_ANALYTICS_ID",expirationKey:"SS_ANALYTICS_EXPIRATION",cookie:{daysToStore:390,domains:["squarespace.com","squarespace.net","sqsp.net"],path:"/",secure:window.location.protocol.indexOf("https")>-1},setAnalyticsCookie:!0}};function s(R){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(j){return typeof j}:s=function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},s(R)}function v(){return v=Object.assign||function(R){for(var U=1;U<arguments.length;U++){var j=arguments[U];for(var $ in j)Object.prototype.hasOwnProperty.call(j,$)&&(R[$]=j[$])}return R},v.apply(this,arguments)}function m(R,U){if(!(R instanceof U))throw new TypeError("Cannot call a class as a function")}function E(R,U){for(var j=0;j<U.length;j++){var $=U[j];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(R,$.key,$)}}function I(R,U,j){return U&&E(R.prototype,U),j&&E(R,j),R}function L(R,U){if(typeof U!="function"&&U!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(U&&U.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),U&&W(R,U)}function W(R,U){return W=Object.setPrototypeOf||function($,ee){return $.__proto__=ee,$},W(R,U)}function F(R){return function(){var U=M(R),j;if(x()){var $=M(this).constructor;j=Reflect.construct(U,arguments,$)}else j=U.apply(this,arguments);return G(this,j)}}function G(R,U){return U&&(s(U)==="object"||typeof U=="function")?U:k(R)}function k(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function x(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function M(R){return M=Object.setPrototypeOf?Object.getPrototypeOf:function(j){return j.__proto__||Object.getPrototypeOf(j)},M(R)}var B=function(R){L(j,R);var U=F(j);function j($){var ee,te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};m(this,j),ee=U.call(this);var ie=T();return ee._config=v(ie,$),ee._defaultPayload=te,"sendBeacon"in navigator||(ee._config.useBeacon=!1),ee}return I(j,[{key:"_generatePayload",value:function(ee){var te=v({},this._defaultPayload,ee),ie=new Date,ne=Object(A.getSessionInfo)(),pe={analyticsId:this._getAnalyticsId(),commonData:"",customData:"",customSchemaName:this._config.customSchemaName},oe={browser_window_height:window.innerHeight,browser_window_width:window.innerWidth,browser_language:navigator.language,page_host:window.location.hostname,page_path:this._getNormalizedPathname(),page_query_params:window.location.search,page_referrer_url:document.referrer,resolved_locale:document.documentElement.lang||"en-US",timestamp_client:ie.getTime(),user_marketing_id:c.a.get("SS_MID")||null,user_session_id:ne.sessionId||null,browser_locale:navigator.language,member_account_locale:null,website_locale:null,frontsite_language:null},q={};for(var J in te)if(te.hasOwnProperty(J)){var me=te[J];if(S.hasOwnProperty(J)){var re=S[J];s(me)===re.type||re.nullable&&me===null?oe[J]=me:this._warn("common field ".concat(J," was not set or was the incorrect type"))}else q[J]=me}var he=window.Static&&window.Static.SQUARESPACE_CONTEXT;return he&&he.website&&(oe.context_website_id=he.website.id,oe.user_website_id=he.website.id),he&&he.templateId&&(oe.context_template_website_id=he.templateId),he&&he.authenticatedAccount&&(oe.user_member_account_id=he.authenticatedAccount.id),pe.commonData=JSON.stringify(oe),pe.customData=JSON.stringify(q),pe}},{key:"spawnTracker",value:function(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},te=v({},this._defaultPayload,ee);return new j(this._config,te)}}]),j}(C)}])},221661:function(b,l,e){b.exports=function(r){var o={};function n(a){if(o[a])return o[a].exports;var i=o[a]={i:a,l:!1,exports:{}};return r[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=r,n.c=o,n.d=function(a,i,c){n.o(a,i)||Object.defineProperty(a,i,{enumerable:!0,get:c})},n.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},n.t=function(a,i){if(i&1&&(a=n(a)),i&8||i&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(n.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),i&2&&typeof a!="string")for(var u in a)n.d(c,u,(function(f){return a[f]}).bind(null,u));return c},n.n=function(a){var i=a&&a.__esModule?function(){return a.default}:function(){return a};return n.d(i,"a",i),i},n.o=function(a,i){return Object.prototype.hasOwnProperty.call(a,i)},n.p="",n(n.s=10)}([function(r,a){var n=/^([^=]+)=([^;]*)$/,a=r.exports=function(c,u){c||(c={}),typeof c=="string"&&(c={cookie:c}),c.cookie===void 0&&(c.cookie=""),u!==!1&&(u=!0);var f=function(_){return _},d=u?escape:f,h=u?unescape:f,g={};return g.get=function(_){for(var p=c.cookie.split(/;\s*/),y=0;y<p.length;y++){var O=(p[y]||"").match(n)||[],P=h(O[1]||"");if(P===_)return h(O[2]||"")}},g.set=function(_,p,y){y||(y={});var O=d(_)+"="+d(p);return y.expires&&(O+="; expires="+y.expires),y.path&&(O+="; path="+d(y.path)),y.domain&&(O+="; domain="+d(y.domain)),y.secure&&(O+="; secure"),c.cookie=O,O},g};if(typeof document<"u"){var i=a(document);a.get=i.get,a.set=i.set}},function(r,o,n){"use strict";o.decode=o.parse=n(6),o.encode=o.stringify=n(7)},function(r,o,n){var a=n(8),i=n(9);function c(u,f,d){var h=f&&d||0;typeof u=="string"&&(f=u==="binary"?new Array(16):null,u=null),u=u||{};var g=u.random||(u.rng||a)();if(g[6]=g[6]&15|64,g[8]=g[8]&63|128,f)for(var _=0;_<16;++_)f[h+_]=g[_];return f||i(g)}r.exports=c},function(r,o){r.exports=function(n){var a={};function i(c){if(a[c])return a[c].exports;var u=a[c]={i:c,l:!1,exports:{}};return n[c].call(u.exports,u,u.exports,i),u.l=!0,u.exports}return i.m=n,i.c=a,i.d=function(c,u,f){i.o(c,u)||Object.defineProperty(c,u,{enumerable:!0,get:f})},i.r=function(c){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},i.t=function(c,u){if(u&1&&(c=i(c)),u&8||u&4&&typeof c=="object"&&c&&c.__esModule)return c;var f=Object.create(null);if(i.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:c}),u&2&&typeof c!="string")for(var d in c)i.d(f,d,(function(h){return c[h]}).bind(null,d));return f},i.n=function(c){var u=c&&c.__esModule?function(){return c.default}:function(){return c};return i.d(u,"a",u),u},i.o=function(c,u){return Object.prototype.hasOwnProperty.call(c,u)},i.p="",i(i.s=0)}([function(n,a,i){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getSessionInfo=P;var c=i(1),u=h(c),f=i(4),d=h(f);function h(C){return C&&C.__esModule?C:{default:C}}var g="SS_IS_FIRST_SESSION",_="SS_HAS_LANDED",p="SS_SESSION_ID",y=["squarespace.com","squarespace.net","sqsp.net"],O=function(A,S){var T=void 0;y.forEach(function(s){window.location.hostname.indexOf(s)>-1&&(T=s)}),T=T||window.location.hostname,d.default.set(A,S,{domain:T,path:"/",secure:window.location.protocol.indexOf("https")>-1})};function P(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!(typeof window>"u")){if(window._sessionInfo)return window._sessionInfo;try{var A=localStorage.getItem(_),S=sessionStorage.getItem(g),T=S===null,s=A===null||S==="true",v=d.default.get(p);return localStorage.setItem(_,"true"),T&&(s?sessionStorage.setItem(g,"true"):sessionStorage.setItem(g,"false")),!v&&C&&(v=(0,u.default)(),O(p,v)),window._sessionInfo={isFirstLanding:T,isFirstSession:s,sessionId:v},window._sessionInfo}catch{return console.warn("Unable access local/session storage."),{isFirstLanding:!1,isFirstSession:!1}}}}},function(n,a,i){var c=i(2),u=i(3);function f(d,h,g){var _=h&&g||0;typeof d=="string"&&(h=d==="binary"?new Array(16):null,d=null),d=d||{};var p=d.random||(d.rng||c)();if(p[6]=p[6]&15|64,p[8]=p[8]&63|128,h)for(var y=0;y<16;++y)h[_+y]=p[y];return h||u(p)}n.exports=f},function(n,a){var i=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(i){var c=new Uint8Array(16);n.exports=function(){return i(c),c}}else{var u=new Array(16);n.exports=function(){for(var d=0,h;d<16;d++)d&3||(h=Math.random()*4294967296),u[d]=h>>>((d&3)<<3)&255;return u}}},function(n,a){for(var i=[],c=0;c<256;++c)i[c]=(c+256).toString(16).substr(1);function u(f,d){var h=d||0,g=i;return[g[f[h++]],g[f[h++]],g[f[h++]],g[f[h++]],"-",g[f[h++]],g[f[h++]],"-",g[f[h++]],g[f[h++]],"-",g[f[h++]],g[f[h++]],"-",g[f[h++]],g[f[h++]],g[f[h++]],g[f[h++]],g[f[h++]],g[f[h++]]].join("")}n.exports=u},function(n,c){var i=/^([^=]+)=([^;]*)$/,c=n.exports=function(f,d){f||(f={}),typeof f=="string"&&(f={cookie:f}),f.cookie===void 0&&(f.cookie=""),d!==!1&&(d=!0);var h=function(y){return y},g=d?escape:h,_=d?unescape:h,p={};return p.get=function(y){for(var O=f.cookie.split(/;\s*/),P=0;P<O.length;P++){var C=(O[P]||"").match(i)||[],A=_(C[1]||"");if(A===y)return _(C[2]||"")}},p.set=function(y,O,P){P||(P={});var C=g(y)+"="+g(O);return P.expires&&(C+="; expires="+P.expires),P.path&&(C+="; path="+g(P.path)),P.domain&&(C+="; domain="+g(P.domain)),P.secure&&(C+="; secure"),f.cookie=C,C},p};if(typeof document<"u"){var u=c(document);c.get=u.get,c.set=u.set}}])},function(r){r.exports=JSON.parse('{"a":"3.8.2"}')},function(r,o){r.exports=e(392338)},function(r,o,n){"use strict";function a(c,u){return Object.prototype.hasOwnProperty.call(c,u)}r.exports=function(c,u,f,d){u=u||"&",f=f||"=";var h={};if(typeof c!="string"||c.length===0)return h;var g=/\+/g;c=c.split(u);var _=1e3;d&&typeof d.maxKeys=="number"&&(_=d.maxKeys);var p=c.length;_>0&&p>_&&(p=_);for(var y=0;y<p;++y){var O=c[y].replace(g,"%20"),P=O.indexOf(f),C,A,S,T;P>=0?(C=O.substr(0,P),A=O.substr(P+1)):(C=O,A=""),S=decodeURIComponent(C),T=decodeURIComponent(A),a(h,S)?i(h[S])?h[S].push(T):h[S]=[h[S],T]:h[S]=T}return h};var i=Array.isArray||function(c){return Object.prototype.toString.call(c)==="[object Array]"}},function(r,o,n){"use strict";var a=function(f){switch(typeof f){case"string":return f;case"boolean":return f?"true":"false";case"number":return isFinite(f)?f:"";default:return""}};r.exports=function(f,d,h,g){return d=d||"&",h=h||"=",f===null&&(f=void 0),typeof f=="object"?c(u(f),function(_){var p=encodeURIComponent(a(_))+h;return i(f[_])?c(f[_],function(y){return p+encodeURIComponent(a(y))}).join(d):p+encodeURIComponent(a(f[_]))}).join(d):g?encodeURIComponent(a(g))+h+encodeURIComponent(a(f)):""};var i=Array.isArray||function(f){return Object.prototype.toString.call(f)==="[object Array]"};function c(f,d){if(f.map)return f.map(d);for(var h=[],g=0;g<f.length;g++)h.push(d(f[g],g));return h}var u=Object.keys||function(f){var d=[];for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&d.push(h);return d}},function(r,o){var n=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(n){var a=new Uint8Array(16);r.exports=function(){return n(a),a}}else{var i=new Array(16);r.exports=function(){for(var u=0,f;u<16;u++)u&3||(f=Math.random()*4294967296),i[u]=f>>>((u&3)<<3)&255;return i}}},function(r,o){for(var n=[],a=0;a<256;++a)n[a]=(a+256).toString(16).substr(1);function i(c,u){var f=u||0,d=n;return[d[c[f++]],d[c[f++]],d[c[f++]],d[c[f++]],"-",d[c[f++]],d[c[f++]],"-",d[c[f++]],d[c[f++]],"-",d[c[f++]],d[c[f++]],"-",d[c[f++]],d[c[f++]],d[c[f++]],d[c[f++]],d[c[f++]],d[c[f++]]].join("")}r.exports=i},function(r,o,n){"use strict";n.r(o),n.d(o,"ClientConfig",function(){}),n.d(o,"EventSource",function(){return _}),n.d(o,"SourceEnvironment",function(){return g}),n.d(o,"default",function(){return ee}),n.d(o,"SiteVisitorClient",function(){return te});var a=n(5),i=n(0),c=n.n(i),u=n(1),f=n.n(u),d=n(2),h=n.n(d),g;(function(ie){ie.DEV="dev",ie.QA="qa",ie.STAGING="staging",ie.PROD="prod"})(g||(g={}));var _;(function(ie){ie.WEB="WEB",ie.IOS="IOS",ie.ANDROID="ANDROID",ie.SERVER="SERVER"})(_||(_={}));function p(ie,ne){if(!(ie instanceof ne))throw new TypeError("Cannot call a class as a function")}function y(ie,ne){for(var pe=0;pe<ne.length;pe++){var oe=ne[pe];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(ie,oe.key,oe)}}function O(ie,ne,pe){return ne&&y(ie.prototype,ne),pe&&y(ie,pe),ie}function P(ie,ne,pe){return ne in ie?Object.defineProperty(ie,ne,{value:pe,enumerable:!0,configurable:!0,writable:!0}):ie[ne]=pe,ie}var C=function(){function ie(){p(this,ie),P(this,"_analyticsId",void 0),P(this,"_config",void 0),P(this,"_defaultPayload",void 0)}return O(ie,[{key:"track",value:function(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._config.fireEvents===!1)return Promise.resolve();var oe=this._generatePayload(pe);return this._config.validateMode?this._validateEvent(oe):this._config.url?oe?this._config.useBeacon?this._sendBeacon(oe):this._sendXhr(oe):Promise.reject(new Error("no payload")):Promise.resolve()}},{key:"_getAnalyticsId",value:function(){var pe=function(he){return!he||he==="null"?null:he},oe=pe(c.a.get(this._config.storageKey)),q=pe(this._getLocalStorageItem()),J=pe(this._analyticsId),me=oe||q||J||h()();return this._config.setAnalyticsCookie&&this._setAnalyticsId(me),me}},{key:"_getLocalStorageItem",value:function(){var pe=!1,oe=localStorage.getItem(this._config.expirationKey);if(oe){var q=new Date,J=new Date(oe);pe=q>J}return pe?(localStorage.removeItem(this._config.storageKey),localStorage.removeItem(this._config.expirationKey),null):localStorage.getItem(this._config.storageKey)}},{key:"_getNormalizedPathname",value:function(){var pe=window.location.pathname;return pe[pe.length-1]==="/"&&(pe=pe.substring(0,pe.length-1)),pe}},{key:"_generatePayload",value:function(pe){return pe}},{key:"_log",value:function(pe){this._config.logging&&console.log(pe)}},{key:"_sendBeacon",value:function(pe){var oe={type:"application/x-www-form-urlencoded"},q=new Blob([f.a.stringify(pe)],oe);return navigator.sendBeacon(this._config.url,q),Promise.resolve()}},{key:"_sendXhr",value:function(pe,oe){var q=this;oe=oe||this._config.url;var J=new XMLHttpRequest,me=JSON.stringify(pe),re=new Set([200,202]);return new Promise(function(he,Ee){J.open("POST",oe,!0),J.setRequestHeader("Content-Type","application/json"),J.send(me),J.addEventListener("readystatechange",function(){J.readyState===4&&(re.has(J.status)?he():(q._warn("Error tracking event: HTTP Status ".concat(J.status)),Ee(new Error("Error tracking event: HTTP Status ".concat(J.status)))))})})}},{key:"_setAnalyticsId",value:function(pe){this._analyticsId=pe;var oe=this._config.cookie,q=oe.path,J=oe.secure,me=window.location.hostname;this._config.cookie.domains.forEach(function(H){window.location.hostname.indexOf(H)>-1&&(me=H)});var re=new Date;re.setDate(re.getDate()+this._config.cookie.daysToStore);var he=re.toUTCString();try{c.a.set(this._config.storageKey,pe,{domain:me,expires:he,path:q,secure:J});var Ee=document.cookie.indexOf(this._config.storageKey)!==document.cookie.lastIndexOf(this._config.storageKey);if(Ee){var fe=new Date(0).toUTCString();c.a.set(this._config.storageKey,null,{expires:fe})}localStorage.setItem(this._config.storageKey,pe),localStorage.setItem(this._config.expirationKey,he)}catch{this._warn("Unable to store analyticsId")}}},{key:"_validateEvent",value:function(pe){return Promise.resolve(pe)}},{key:"_warn",value:function(pe){this._config.logging&&console.warn(pe)}}]),ie}(),A=n(3),S=n(4),T=function(){return{devBaseDomainUrl:"https://clanker-events.stage.sqsp.net",cookie:{daysToStore:390,domains:["squarespace.com","squarespace.net","sqsp.net"],path:"/",secure:window.location.protocol.indexOf("https")>-1},expirationKey:"SS_ANALYTICS_EXPIRATION",fireEvents:!0,logging:!1,sourceEnvironment:g.DEV,storageKey:"SS_ANALYTICS_ID",url:"https://clanker-events.stage.sqsp.net/api/v1/clanker/events",useBeacon:!0,validateMode:!1,setAnalyticsCookie:!0}};function s(ie){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(pe){return typeof pe}:s=function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe},s(ie)}function v(ie,ne){if(ie==null)return{};var pe=m(ie,ne),oe,q;if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(ie);for(q=0;q<J.length;q++)oe=J[q],!(ne.indexOf(oe)>=0)&&Object.prototype.propertyIsEnumerable.call(ie,oe)&&(pe[oe]=ie[oe])}return pe}function m(ie,ne){if(ie==null)return{};var pe={},oe=Object.keys(ie),q,J;for(J=0;J<oe.length;J++)q=oe[J],!(ne.indexOf(q)>=0)&&(pe[q]=ie[q]);return pe}function E(ie,ne){var pe=Object.keys(ie);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(ie);ne&&(oe=oe.filter(function(q){return Object.getOwnPropertyDescriptor(ie,q).enumerable})),pe.push.apply(pe,oe)}return pe}function I(ie){for(var ne=1;ne<arguments.length;ne++){var pe=arguments[ne]!=null?arguments[ne]:{};ne%2?E(Object(pe),!0).forEach(function(oe){L(ie,oe,pe[oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ie,Object.getOwnPropertyDescriptors(pe)):E(Object(pe)).forEach(function(oe){Object.defineProperty(ie,oe,Object.getOwnPropertyDescriptor(pe,oe))})}return ie}function L(ie,ne,pe){return ne in ie?Object.defineProperty(ie,ne,{value:pe,enumerable:!0,configurable:!0,writable:!0}):ie[ne]=pe,ie}function W(){return W=Object.assign||function(ie){for(var ne=1;ne<arguments.length;ne++){var pe=arguments[ne];for(var oe in pe)Object.prototype.hasOwnProperty.call(pe,oe)&&(ie[oe]=pe[oe])}return ie},W.apply(this,arguments)}function F(ie,ne){if(!(ie instanceof ne))throw new TypeError("Cannot call a class as a function")}function G(ie,ne){for(var pe=0;pe<ne.length;pe++){var oe=ne[pe];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(ie,oe.key,oe)}}function k(ie,ne,pe){return ne&&G(ie.prototype,ne),pe&&G(ie,pe),ie}function x(ie,ne){if(typeof ne!="function"&&ne!==null)throw new TypeError("Super expression must either be null or a function");ie.prototype=Object.create(ne&&ne.prototype,{constructor:{value:ie,writable:!0,configurable:!0}}),ne&&M(ie,ne)}function M(ie,ne){return M=Object.setPrototypeOf||function(oe,q){return oe.__proto__=q,oe},M(ie,ne)}function B(ie){return function(){var ne=$(ie),pe;if(j()){var oe=$(this).constructor;pe=Reflect.construct(ne,arguments,oe)}else pe=ne.apply(this,arguments);return R(this,pe)}}function R(ie,ne){return ne&&(s(ne)==="object"||typeof ne=="function")?ne:U(ie)}function U(ie){if(ie===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ie}function j(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function $(ie){return $=Object.setPrototypeOf?Object.getPrototypeOf:function(pe){return pe.__proto__||Object.getPrototypeOf(pe)},$(ie)}var ee=function(ie){x(pe,ie);var ne=B(pe);function pe(oe){var q,J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};F(this,pe),q=ne.call(this);var me=T();return q._config=W(me,oe),q._defaultPayload=J,"sendBeacon"in navigator||(q._config.useBeacon=!1),q._config.url=q._generateUrl(),q}return k(pe,[{key:"_generatePayload",value:function(q){var J=new Date,me=this._config.setAnalyticsCookie,re=Object(A.getSessionInfo)(me),he=I({},this._defaultPayload,{},q),Ee=he.context_website_id,fe=he.custom_schema_name,H=he.destination_url,z=he.member_account_id,_e=he.object_identifier,ae=he.resolved_locale,ge=he.website_locale,Be=he.member_account_locale,Ke=v(he,["context_website_id","custom_schema_name","destination_url","member_account_id","object_identifier","resolved_locale","website_locale","member_account_locale"]),He={analytics_id:this._getAnalyticsId(),browser_language:navigator.language,browser_window_height:Math.round(window.innerHeight)||null,browser_window_width:Math.round(window.innerWidth)||null,client_name:"Javascript Pipeline 2.0 Event Tracker Client",client_version:S.a,marketing_id:c.a.get("SS_MID")||null,page_host:window.location.hostname,page_path:this._getNormalizedPathname(),page_query_params:window.location.search,page_referrer_url:document.referrer,session_id:re.sessionId||null,enduser_user_agent:navigator.userAgent,event_occurrence_timestamp:J.getTime(),browser_locale:navigator.language};this._warnOfOverwrittenFields(he,He);var ye=fe||this._config.customSchemaName,Le={eventContent:I({},Ke,{},He,{custom_schema_name:ye,source_environment:this._config.sourceEnvironment,context_website_id:Ee||null,destination_url:H||null,member_account_id:z||null,object_identifier:_e||null,resolved_locale:ae||document.documentElement.lang||"en-US",website_locale:ge||null,member_account_locale:Be||null}),eventSchemaName:ye};return this._config.logging&&this._log({payload:I({},Le)}),Le.eventContent=JSON.stringify(Le.eventContent),Le}},{key:"_warnOfOverwrittenFields",value:function(q,J){var me=this;Object.keys(q).forEach(function(re){q.hasOwnProperty(re)&&J.hasOwnProperty(re)&&me._warn("".concat(re," is auto populated by @sqs/track-events/v2 and was overwritten"))})}},{key:"_generateUrl",value:function(){var q=this._config,J=q.sourceEnvironment,me=q.devBaseDomainUrl,re="";switch(J){case g.DEV:re="".concat(me,"/api/v1/clanker/events");break;case g.QA:case g.STAGING:re="https://clanker-events.stage.sqsp.net/api/v1/clanker/events";break;case g.PROD:re="https://clanker-events.squarespace.com/api/v1/clanker/events";break;default:this._warn("sourceEnvironment needs to be set to one of dev, staging, or prod"),re=""}return re}},{key:"spawnTracker",value:function(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},J=W({},this._defaultPayload,q);return new pe(this._config,J)}},{key:"_validateEvent",value:function(q){var J="".concat(this._config.devBaseDomainUrl,"/api/v1/clanker/validate-event-content/").concat(this._config.customSchemaName);return this._sendXhr(q.eventContent,J)}}]),pe}(C),te=function(ie){x(pe,ie);var ne=B(pe);function pe(oe){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return F(this,pe),ne.call(this,I({},oe,{setAnalyticsCookie:!1}),q)}return pe}(ee)}])},918001:function(b,l,e){"use strict";var r=e(241225),o=r(e(675523)),n=r(e(668595)),a=r(e(892232)),i=r(e(590670)),c=r(e(20104)),u=r(e(848664)),f=r(e(642979));function d(F,G){var k=Object.keys(F);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(F);G&&(x=x.filter(function(M){return Object.getOwnPropertyDescriptor(F,M).enumerable})),k.push.apply(k,x)}return k}function h(F){for(var G=1;G<arguments.length;G++){var k=arguments[G]!=null?arguments[G]:{};G%2?d(Object(k),!0).forEach(function(x){(0,f.default)(F,x,k[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(k)):d(Object(k)).forEach(function(x){Object.defineProperty(F,x,Object.getOwnPropertyDescriptor(k,x))})}return F}function g(F){var G=_();return function(){var x=(0,u.default)(F),M;if(G){var B=(0,u.default)(this).constructor;M=Reflect.construct(x,arguments,B)}else M=x.apply(this,arguments);return(0,c.default)(this,M)}}function _(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var p=e(795478),y=e(344),O=e(121967),P=e(5921),C=e(791760),A=e(726184),S=e(461761),T=e(874741),s=e(882404),v=s.loadStyles,m=s.addClass,E=s.removeClass,I=v("CSSTG",{".group":{position:"relative",display:"block"},".child":{"backface-visibility":"hidden",filter:"blur(1)"},".wrappedChild":{padding:"0.1px",margin:"-0.1px"}}),L=p.shape({className:p.oneOfType([p.string,p.shape({from:p.string,to:p.string})]),from:p.object,to:p.object}),W=function(F){(0,i.default)(k,F);var G=g(k);function k(x,M){var B;return(0,o.default)(this,k),B=G.call(this,x,M),Object.assign(B.state,{className:I.group,availableTransitions:[],transitionClassNames:{},allTransitionClassNames:[]}),B}return(0,n.default)(k,[{key:"UNSAFE_componentWillMount",value:function(){this.saveTransitionConfigs(this.props.transitions)}},{key:"UNSAFE_componentWillReceiveProps",value:function(M){(0,a.default)((0,u.default)(k.prototype),"UNSAFE_componentWillReceiveProps",this).call(this,M),this.props.transitions!==M.transitions&&this.saveTransitionConfigs(M.transitions)}},{key:"saveTransitionConfigs",value:function(M){var B=[],R={},U=[];Object.keys(M).forEach(function(j){var $=M[j];if(!(!$||!$.to&&!$.className&&!$.animation)){var ee=$.className||"",te=typeof ee=="string",ie=te&&ee||ee.from,ne=te&&ee||ee.to;ie=ie?ie.split(/\s+/):null,ne=ne?ne.split(/\s+/):null,B.push(j),R[j]={from:ie,to:ne},U.push(ie,ne)}}),this.setState({availableTransitions:B,transitionClassNames:R,allTransitionClassNames:T.apply(void 0,[this.state.allTransitionClassNames].concat(U))})}},{key:"applyStyles",value:function(M,B,R){var U={};return B&&A(B,function(j,$){typeof j=="function"&&(j=j(M,R)),j!==void 0&&(U[$]=j,M.style[$]=j)}),U}},{key:"removeStyles",value:function(M,B){B&&A(B,function(R,U){M.style[U]=null,M.style[U]=""})}},{key:"applyAnimation",value:function(M,B){B&&(M.style.animationName=B)}},{key:"removeAnimation",value:function(M){M.style.animationName=null,M.style.animationName=""}},{key:"doComputedStylesMatch",value:function(M){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=window.getComputedStyle(M);return C(B,function(U,j){return R[j]===String(U)})}},{key:"beforeTransition",value:function(M,B,R){var U=this.props,j=U.animatingClassName,$=U.transitions,ee=this.state,te=ee.transitionClassNames,ie=ee.allTransitionClassNames;E(B,ie);var ne=this.applyStyles(B,S($,[M,"from"]),R),pe=!!(ne&&this.doComputedStylesMatch(B,ne));return m(B,I.child),m(B,te[M].from),j&&m(B,j),pe}},{key:"transition",value:function(M,B,R){var U=this.props.transitions,j=this.state,$=j.transitionClassNames,ee=j.allTransitionClassNames,te=S(U,[M,"to"]);E(B,ee),m(B,$[M].to);var ie=S(U,[M,"animation"]);this.applyAnimation(B,ie);var ne=this.applyStyles(B,te,R);return!!(ie||ne&&!this.doComputedStylesMatch(B,ne))}},{key:"afterTransition",value:function(M,B){var R=this.state.allTransitionClassNames,U=this.props,j=U.transitions,$=U.animatingClassName,ee=j[M]||{};E(B,R),E(B,I.child),$&&E(B,$),this.removeStyles(B,ee.from),this.removeStyles(B,ee.to),this.removeAnimation(B)}},{key:"getChildComponent",value:function(){return O}},{key:"getPropsForChild",value:function(){var M=this,B=(0,a.default)((0,u.default)(k.prototype),"getPropsForChild",this).call(this),R=B.wrapperTag,U=B.maxErrorTimeout,j=B.getParams,$=this.props.wrapChildWithTag,ee=this.state.availableTransitions,te={};return ee.forEach(function(ie){te["before".concat(P(ie))]=M.beforeTransition.bind(M,ie),te[ie]=M.transition.bind(M,ie),ie!=="leave"&&(te["after".concat(P(ie))]=M.afterTransition.bind(M,ie))}),h({wrapperTag:R,maxErrorTimeout:U,getParams:j||this.getCSSTransitionParams.bind(this),className:$?I.wrappedChild:""},te)}},{key:"getCSSTransitionParams",value:function(M){var B=S(this.props.transitions,[M,"getParams"]);if(B){for(var R=arguments.length,U=new Array(R>1?R-1:0),j=1;j<R;j++)U[j-1]=arguments[j];return B.apply(void 0,U)}return null}}]),k}(y);(0,f.default)(W,"propTypes",h(h({},y.propTypes),{},{transitions:p.shape({appear:L,enter:L,reorder:L,leave:L}).isRequired})),(0,f.default)(W,"defaultProps",h(h({},y.defaultProps),{},{wrapChildWithTag:"div"})),b.exports=W},121967:function(b,l,e){"use strict";var r=e(241225),o=r(e(680180)),n=r(e(279794)),a=r(e(675523)),i=r(e(668595)),c=r(e(910575)),u=r(e(892232)),f=r(e(590670)),d=r(e(20104)),h=r(e(848664)),g=r(e(642979));function _(m){var E=p();return function(){var L=(0,h.default)(m),W;if(E){var F=(0,h.default)(this).constructor;W=Reflect.construct(L,arguments,F)}else W=L.apply(this,arguments);return(0,d.default)(this,W)}}function p(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}e(174161);var y=e(233284),O=e(107261),P=e(66127),C=e(232578),A=e(101179),S=A.addTransitionEndListener,T=A.removeTransitionEndListener,s=e(585562),v=function(m){(0,f.default)(I,m);var E=_(I);function I(){var L;(0,a.default)(this,I);for(var W=arguments.length,F=new Array(W),G=0;G<W;G++)F[G]=arguments[G];return L=E.call.apply(E,[this].concat(F)),(0,g.default)((0,c.default)(L),"onCSSTransitionEnd",function(k){k.target===k.currentTarget&&(P(L._transitionProperties,k.propertyName),!L._animating&&L._transitionProperties.length===0&&L.cleanAfterTransition())}),(0,g.default)((0,c.default)(L),"onCSSAnimationStart",function(k){k.target===k.currentTarget&&(L._animating=!0)}),(0,g.default)((0,c.default)(L),"onCSSAnimationEnd",function(k){k.target===k.currentTarget&&(L._animating=!1,L._transitionProperties.length===0&&L.cleanAfterTransition())}),L}return(0,i.default)(I,[{key:"triggerTransition",value:function(W){var F=this,G=y.findDOMNode(this);this.prepBeforeTransitionTriggered(G);var k=O(function(){var x=F.props[W](G,F.state.params)!==!1;x?F.prepAfterTransitionTriggered(G):F.cleanAfterTransition()});this.registerCallback(function(){O.cancel(k)})}},{key:"prepBeforeTransitionTriggered",value:function(W){var F=this;this._transitionProperties=[];var G=S(W,this.onCSSTransitionEnd);W.addEventListener("animationstart",this.onCSSAnimationStart),W.addEventListener("animationend",this.onCSSAnimationEnd),this.registerCallback(function(){T(W,G),W.removeEventListener("animationstart",F.onCSSAnimationStart),W.removeEventListener("animationend",F.onCSSAnimationEnd)})}},{key:"prepAfterTransitionTriggered",value:function(W){var F,G=this.getTotalTransitionDurations(W),k=this.getTotalAnimationDuration(W),x=Math.max.apply(Math,(0,n.default)(G).concat((0,n.default)(k)));if(x===0){this.cleanAfterTransition();return}(F=this._transitionProperties).push.apply(F,(0,n.default)(this.getWorkingTransitionProperties(W,G))),this.startErrorTimer(x+1e3)}},{key:"cleanAfterTransition",value:function(W){this._transitionProperties=[],(0,u.default)((0,h.default)(I.prototype),"cleanAfterTransition",this).call(this,W)}},{key:"getTotalTransitionDurations",value:function(W){var F=window.getComputedStyle(W),G=F.transitionDuration,k=F.transitionDelay,x=C(G.split(","),k.split(","));return x.map(function(M){var B=(0,o.default)(M,2),R=B[0],U=B[1];return 1e3*(parseFloat(R)+parseFloat(U))})}},{key:"getTotalAnimationDuration",value:function(W){var F=window.getComputedStyle(W),G=F.animationDuration,k=F.animationDelay,x=F.animationIterationCount,M=C(G.split(","),x.split(","),k.split(","));return M.map(function(B){var R=(0,o.default)(B,3),U=R[0],j=R[1],$=R[2];return j==="infinite"?"infinite":1e3*(parseFloat(U)*parseFloat(j)+parseFloat($))})}},{key:"getWorkingTransitionProperties",value:function(W,F){var G=window.getComputedStyle(W),k=G.transitionProperty.split(", ");return k.filter(function(x,M){return F[M]>0&&x!=="all"&&W.style[x]!==""&&W.style[x]!==G[x]})}}]),I}(s);b.exports=v},552260:function(b,l,e){"use strict";var r=e(845076),o=e(882404),n=o.loadStyles,a=n("CSSTG-Dissolve",{".dissolve":{overflow:"hidden",transition:"opacity .33s ease, min-height .33s ease, max-height .33s ease"},".leave":{overflow:"hidden",position:"absolute",top:0,left:0,right:0,bottom:0},".dissolve.async":{transition:"opacity .33s ease .66s, min-height .33s ease .33s, max-height .33s ease .33s"},".leave.async":{transition:"opacity .33s ease"}}),i=function(d){var h=d.nextSibling||d.previousSibling;return h?"".concat(h.scrollHeight,"px"):"".concat(d.scrollHeight,"px")},c=function(d){return"".concat(d.scrollHeight,"px")},u=function(d){return{appear:{className:r(a.dissolve,d),from:{opacity:0},to:{opacity:1}},enter:{className:r(a.dissolve,d),from:{opacity:0,height:c,minHeight:i,maxHeight:i},to:{opacity:1,minHeight:function(g){return g.style.height},maxHeight:function(g){return g.style.height}}},leave:{className:r(a.dissolve,a.leave,d),from:{opacity:1,minHeight:c,maxHeight:c},to:{opacity:0,minHeight:i,maxHeight:i}}}};b.exports={transitions:u(),async:u(a.async)}},846817:function(b,l,e){"use strict";var r=e(845076),o=e(882404),n=o.loadStyles,a=n("CSSTG-ExpandCollapse",{".expand":{overflow:"hidden",transition:"max-height .2s ease-in-out, opacity .24s ease .08s"},".collapse":{overflow:"hidden",transition:"max-height .2s ease-in-out, opacity .16s ease"}}),i={opacity:1,maxHeight:function(d){return"".concat(d.scrollHeight,"px")}},c={opacity:0,maxHeight:"0px"},u=function(d){return{appear:{className:r(a.expand,d),from:c,to:i},enter:{className:r(a.expand,d),from:c,to:i},leave:{className:r(a.collapse,d),from:i,to:c}}};b.exports={transitions:u()}},770635:function(b,l,e){"use strict";var r=e(241225),o=r(e(642979)),n=e(845076),a=e(105229),i=e(882404),c=i.convertTranslateToMatrix,u=i.loadStyles,f=u("CSSTG-Reorderable",{".enter":{transition:"opacity .3s ease .2s"},".leave":{position:"absolute !important",top:"0",left:"0",transition:"opacity .3s ease"},".move":{transition:"transform .36s ease","z-index":"1"},".leave - .move":{"transition-delay":".2s"}}),d=function(_,p){var y=p.top,O=p.left,P=p.paddingTop,C=p.paddingLeft,A=window.getComputedStyle(_),S=A.marginTop,T=A.marginLeft,s=O-(parseInt(C,10)+parseInt(T,10)),v=y-(parseInt(P,10)+parseInt(S,10));return c(s.toFixed(3),v.toFixed(3))},h=function(_){var p,y=a("transform"),O=a("transitionDelay");return{enter:{className:n(f.enter,_),from:{opacity:function(C){if(!C.style.opacity)return 0}},to:{opacity:1,transform:""}},leave:{className:n(f.leave,_),getParams:function(C){var A=C.getClientRects()[0],S=C.parentNode.getClientRects()[0],T=window.getComputedStyle(C.parentNode),s=T.paddingTop,v=T.paddingLeft;return{top:A.top-S.top,left:A.left-S.left,paddingTop:s,paddingLeft:v}},from:(0,o.default)({opacity:function(C){if(!C.style.opacity)return 1}},y,d),to:(0,o.default)({opacity:0},y,function(P,C){return P.style[y]||C&&d(P,C)||c(0,0)})},reorder:{className:{to:n(f.move,_)},getParams:function(C,A,S){var T=C.getClientRects()[0],s=T.top,v=T.left;return{top:s,left:v,endAbruptly:S}},from:(p={},(0,o.default)(p,y,function(P,C){var A=P.getClientRects()[0],S=A.top,T=A.left,s=C?(C.left-T).toFixed(3):0,v=C?(C.top-S).toFixed(3):0;return c(s,v)}),(0,o.default)(p,O,function(P,C){return C&&C.endAbruptly?"0s":parseFloat(window.getComputedStyle(P)[O])+"s"}),p),to:(0,o.default)({},y,function(P){return c(0,0)})}}};b.exports={transitions:h()}},263969:function(b,l,e){"use strict";var r=e(241225),o=r(e(642979));function n(p,y){var O=Object.keys(p);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(p);y&&(P=P.filter(function(C){return Object.getOwnPropertyDescriptor(p,C).enumerable})),O.push.apply(O,P)}return O}function a(p){for(var y=1;y<arguments.length;y++){var O=arguments[y]!=null?arguments[y]:{};y%2?n(Object(O),!0).forEach(function(P){(0,o.default)(p,P,O[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(p,Object.getOwnPropertyDescriptors(O)):n(Object(O)).forEach(function(P){Object.defineProperty(p,P,Object.getOwnPropertyDescriptor(O,P))})}return p}var i=e(845076),c=e(882404),u=c.loadStyles,f=c.convertTranslateToMatrix,d=u("CSSTG-Slide",{".group":{overflow:"hidden"},".slide":{overflow:"hidden",transition:"transform .26s ease, min-height .26s ease, max-height .26s ease"},".leave":{overflow:"hidden",position:"absolute",top:0,left:0,right:0,bottom:0}}),h=function(y){var O=y.nextSibling||y.previousSibling;return O?"".concat(O.scrollHeight,"px"):"".concat(y.scrollHeight,"px")},g=function(y){return"".concat(y.scrollHeight,"px")},_=function(y,O){return{appear:{className:d.slide,from:{opacity:0},to:{opacity:1}},enter:{className:d.slide,from:{transform:function(C){return f(-y*(C.offsetWidth+1),-O*(C.offsetHeight+1))},height:g,minHeight:h,maxHeight:h},to:{transform:function(C){return f(0,0)},minHeight:function(C){return C.style.height},maxHeight:function(C){return C.style.height}}},leave:{className:i(d.slide,d.leave),from:{transform:function(C){return f(0,0)},minHeight:g,maxHeight:g},to:{transform:function(C){return f(y*(C.offsetWidth+1),O*(C.offsetHeight+1))},minHeight:h,maxHeight:h}}}};b.exports={className:d.group,transitions:a(a({},_(-1,0)),{},{toLeft:_(-1,0),toRight:_(1,0),toTop:_(0,-1),toBottom:_(0,1)})}},876958:function(b,l,e){"use strict";var r=e(846817),o=e(552260),n=e(263969),a=e(770635);b.exports={ExpandCollapse:r,Dissolve:o,Slide:n,Reorderable:a}},344:function(b,l,e){"use strict";var r=e(241225),o=r(e(737968)),n=r(e(160553)),a=r(e(279794)),i=r(e(675523)),c=r(e(668595)),u=r(e(590670)),f=r(e(20104)),d=r(e(848664)),h=r(e(642979));function g(F,G){var k=Object.keys(F);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(F);G&&(x=x.filter(function(M){return Object.getOwnPropertyDescriptor(F,M).enumerable})),k.push.apply(k,x)}return k}function _(F){for(var G=1;G<arguments.length;G++){var k=arguments[G]!=null?arguments[G]:{};G%2?g(Object(k),!0).forEach(function(x){(0,h.default)(F,x,k[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(k)):g(Object(k)).forEach(function(x){Object.defineProperty(F,x,Object.getOwnPropertyDescriptor(k,x))})}return F}function p(F){var G=y();return function(){var x=(0,d.default)(F),M;if(G){var B=(0,d.default)(this).constructor;M=Reflect.construct(x,arguments,B)}else M=x.apply(this,arguments);return(0,f.default)(this,M)}}function y(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var O=e(795478),P=e(174161),C=e(845076),A=e(346979),S=e(230864),T=e(394470),s=e(66127),v=e(585562),m=function(G){return G?Array.isArray(G)?S(G).filter(function(k){return!!k}):[G]:[]},E=function(G){return G.reduce(function(k,x,M){return k[x.key]={index:M,child:x},k},{})},I=function(G){return Object.keys(G).length},L=["appear","enter","reorder","leave"],W=function(F){(0,u.default)(k,F);var G=p(k);function k(x,M){var B;(0,i.default)(this,k),B=G.call(this,x,M);var R=m(x.children),U=E(R);B.state={currentChildren:R,currentChildMapping:U,transitioning:!1};var j=x.transitions&&x.transitions.appear;return B.transitionChildMappings={appear:j?_({},U):{},enter:{},leave:{},reorder:{}},B.allTransitionChildMappings=j?_({},U):{},B}return(0,c.default)(k,[{key:"UNSAFE_componentWillReceiveProps",value:function(M){var B=this.state,R=B.currentChildMapping,U=B.currentChildren,j=L.reduce(function(ne,pe){return ne[pe]=M.transitions&&!!M.transitions[pe],ne},{}),$=m(M.children),ee=E($),te=this.allTransitionChildMappings,ie=Object.assign(this.transitionChildMappings,{appear:{},enter:{},leave:{}});U.forEach(function(ne,pe){var oe=ne.key,q=ee[oe];j.leave&&!q?(ie.leave[oe]=!0,te[oe]=R[oe]):j.reorder&&q&&q.index!==pe&&(ie.reorder[oe]=!0,te[oe]=ee[oe])}),j.enter&&$.forEach(function(ne,pe){var oe=ne.key;ee[oe]&&!R[oe]&&(ie.enter[oe]=!0,te[oe]=ee[oe])}),this.setState({currentChildren:$,currentChildMapping:ee,transitioning:I(te)>0})}},{key:"shouldComponentUpdate",value:function(M,B){return B.transitioning||this.state.transitioning||this.props.children!==M.children}},{key:"componentDidUpdate",value:function(M,B){var R=this.props.onAfterTransitioning;R&&B.transitioning&&!this.state.transitioning&&R()}},{key:"componentWillUnmount",value:function(){var M=this;Object.keys(this.allTransitionChildMappings).forEach(function(B){var R=M["childRef-".concat(B)];R&&R.endCurrentTransition&&R.endCurrentTransition()}),this.transitionChildMappings=null,this.allTransitionChildMappings=null}},{key:"invokeTransition",value:function(M){for(var B=arguments.length,R=new Array(B>1?B-1:0),U=1;U<B;U++)R[U-1]=arguments[U];var j=this.state.currentChildMapping,$=this.allTransitionChildMappings;R=!R||R.length===0?Object.keys(j):R;var ee=this.transitionChildMappings,te=s.apply(void 0,[R].concat((0,a.default)(Object.keys(ee.leave))));Object.assign(ee,_(_({},s(Object.keys(ee),"leave").reduce(function(ie,ne){return ie[ne]=T(ee[ne],te),ie},{})),{},(0,h.default)({},M,te.reduce(function(ie,ne){return ie[ne]=!0,ie},{})))),te.forEach(function(ie){$[ie]=j[ie]}),this.setState({transitioning:!0})}},{key:"getPropsForChild",value:function(){var M=this.props,B=M.wrapChildWithTag,R=M.maxErrorTimeout,U=M.getTransitionParams,j=M.transitions,$=M.animatingClassName,ee;return B&&(typeof B=="string"?ee=B:ee="div"),_({wrapperTag:ee,maxErrorTimeout:R,getParams:U,animatingClassName:$},j)}},{key:"wrapChild",value:function(M,B,R){var U=this,j=this.state.currentChildMapping,$=this.transitionChildMappings,ee=R.key,te=j[ee]?j[ee].index:-1,ie=A(Object.keys($),function(ne){return!!$[ne][ee]});return P.createElement(M,(0,n.default)({},B,{ref:function(pe){U["childRef-".concat(ee)]=pe},key:"TG-".concat(ee),onTransitionEnd:function(pe){return U.onTransitionEnd(ee,pe,te)},transitionRequested:ie||""}),R)}},{key:"onTransitionEnd",value:function(M,B,R){var U=this.state.currentChildMapping,j=this.transitionChildMappings,$=this.allTransitionChildMappings;if(j){var ee=Object.keys(j);B!=="reorder"?delete j[B][M]:(!U[M]||U[M].index===R)&&delete j.reorder[M],ee.some(function(te){return!!j[te][M]})||delete $[M],I($)===0&&this.setState({transitioning:!1})}}},{key:"getChildComponent",value:function(){return v}},{key:"getMergedChildren",value:function(){var M=_(_({},this.state.currentChildMapping),this.allTransitionChildMappings);return Object.keys(M).map(function(B){return M[B].child})}},{key:"render",value:function(){var M=this,B=T(this.props,["children","transitions","wrapChildWithTag","maxErrorTimeout","getTransitionParams","animatingClassName"]),R=B.component,U=B.className,j=(0,o.default)(B,["component","className"]),$=R||"div",ee=this.getChildComponent(),te=this.getPropsForChild();return P.createElement($,(0,n.default)({className:C(U,this.state.className)},j),this.getMergedChildren().map(function(ie){return M.wrapChild(ee,te,ie)}))}}]),k}(P.Component);(0,h.default)(W,"propTypes",{component:O.oneOfType([O.string,O.element]),transitions:O.shape({appear:O.func,beforeAppear:O.func,afterAppear:O.func,enter:O.func,beforeEnter:O.func,afterEnter:O.func,reorder:O.func,beforeReorder:O.func,afterReorder:O.func,leave:O.func,beforeLeave:O.func,afterLeave:O.func}).isRequired,wrapChildWithTag:O.oneOfType([O.bool,O.string]),getTransitionParams:O.func,maxErrorTimeout:O.number.isRequired,onAfterTransitioning:O.func,animatingClassName:O.string}),(0,h.default)(W,"defaultProps",{component:"div",wrapChildWithTag:!1,maxErrorTimeout:5e3}),b.exports=W},585562:function(b,l,e){"use strict";var r=e(241225),o=r(e(675523)),n=r(e(668595)),a=r(e(590670)),i=r(e(20104)),c=r(e(848664)),u=r(e(642979));function f(O){var P=d();return function(){var A=(0,c.default)(O),S;if(P){var T=(0,c.default)(this).constructor;S=Reflect.construct(A,arguments,T)}else S=A.apply(this,arguments);return(0,i.default)(this,S)}}function d(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var h=e(795478),g=e(174161),_=e(233284),p=e(5921),y=function(O){(0,a.default)(C,O);var P=f(C);function C(A,S){var T;return(0,o.default)(this,C),T=P.call(this,A,S),T.state={endAbruptly:!1,params:null},T._transitionEndCallbacks=[],T}return(0,n.default)(C,[{key:"UNSAFE_componentWillMount",value:function(){var S=this.props,T=S.transitionRequested,s=S.getParams,v=S.children,m=null;s&&T&&(m=s(T,null,v.props)),this.setState({transition:T,params:m})}},{key:"componentDidMount",value:function(){this.state.transition&&this.transition(this.state.transition)}},{key:"UNSAFE_componentWillReceiveProps",value:function(S){var T=this.state.transition,s=S.transitionRequested,v=S.getParams,m=S.children,E=s&&T&&(s!==T||s==="reorder"),I=null;v&&s?I=v(s,_.findDOMNode(this),m.props,E):!s&&this.props.transitionRequested&&this.state.params&&(I=this.state.params),this.setState({transition:s||T,endAbruptly:E,params:I})}},{key:"shouldComponentUpdate",value:function(S,T){return!!(S.transitionRequested||T.endAbruptly||this.props.children!==S.children)}},{key:"componentDidUpdate",value:function(S,T){!T.endAbruptly&&this.state.endAbruptly&&this.cleanAfterTransition(),T.transition!==this.state.transition&&this.state.transition&&this.transition(this.state.transition)}},{key:"componentWillUnmount",value:function(){try{this.cleanAfterTransition("transitionEndCallback still existent at unmounting")}catch(S){console.error(S)}}},{key:"endCurrentTransition",value:function(){this.setState({endAbruptly:!0,transition:""})}},{key:"beforeTransition",value:function(S){var T=this.props["before".concat(p(S))];T&&(!this.state.endAbruptly||S==="reorder")&&T(_.findDOMNode(this),this.state.params),this.props.animationClassName&&_.findDOMNode(this).classList.add(this.props.animationClassName)}},{key:"afterTransition",value:function(S){var T=this.props["after".concat(p(S))];T&&(!this.state.endAbruptly||S==="reorder")&&T(_.findDOMNode(this),this.state.params),this.props.animationClassName&&_.findDOMNode(this).classList.remove(this.props.animationClassName)}},{key:"triggerTransition",value:function(S){this.startErrorTimer(),this.props[S](_.findDOMNode(this),this.state.params,this.cleanAfterTransition)}},{key:"transition",value:function(S){var T=this,s=_.findDOMNode(this);if(this.registerCallback(function(){T.setState({transition:"",endAbruptly:!1},function(){return T.props.onTransitionEnd(S)})}),!this.props[S]||!s){this.cleanAfterTransition();return}this.beforeTransition(S),this.registerCallback(function(){return T.afterTransition(S)}),this.triggerTransition(S)}},{key:"startErrorTimer",value:function(S){var T=this;(typeof S!="number"||isNaN(S))&&(S=this.props.maxErrorTimeout);var s=setTimeout(function(){try{T.cleanAfterTransition("Transition timed out before a proper end.")}catch(v){console.error(v)}},S);this.registerCallback(function(){return clearTimeout(s)})}},{key:"registerCallback",value:function(S){typeof S=="function"&&this._transitionEndCallbacks.push(S)}},{key:"cleanAfterTransition",value:function(S){this._transitionEndCallbacks.length&&typeof S=="string"&&console.warn("[TransitionGroupChild]",S),this.fireCallbacks()}},{key:"fireCallbacks",value:function(){for(var S=this._transitionEndCallbacks.length;S>0;){var T=this._transitionEndCallbacks.pop();S=this._transitionEndCallbacks.length,T&&T()}}},{key:"render",value:function(){var S=this.props,T=S.wrapperTag,s=S.children,v=S.className,m=T;return!m&&typeof s=="string"&&(m="span"),m?g.createElement(m,{className:v},s):g.Children.only(s)}}]),C}(g.Component);(0,u.default)(y,"propTypes",{maxErrorTimeout:h.number.isRequired,appear:h.func,beforeAppear:h.func,afterAppear:h.func,enter:h.func,beforeEnter:h.func,afterEnter:h.func,reorder:h.func,beforeReorder:h.func,afterReorder:h.func,leave:h.func,beforeLeave:h.func,afterLeave:h.func,wrapperTag:h.oneOfType([h.string,h.element]),getParams:h.func,transitionRequested:h.string,onTransitionEnd:h.func,animationClassName:h.string}),(0,u.default)(y,"defaultProps",{maxErrorTimeout:5e3}),b.exports=y},721247:function(b,l,e){"use strict";var r=e(344),o=e(918001),n=e(876958),a=e(882404);b.exports={TransitionGroup:r,CSSTransitionGroup:o,CSSTransitionGroupPresets:n,utils:a}},882404:function(b,l,e){"use strict";var r=e(241225),o=r(e(642979)),n=r(e(279794));function a(A,S){var T=Object.keys(A);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(A);S&&(s=s.filter(function(v){return Object.getOwnPropertyDescriptor(A,v).enumerable})),T.push.apply(T,s)}return T}function i(A){for(var S=1;S<arguments.length;S++){var T=arguments[S]!=null?arguments[S]:{};S%2?a(Object(T),!0).forEach(function(s){(0,o.default)(A,s,T[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(T)):a(Object(T)).forEach(function(s){Object.defineProperty(A,s,Object.getOwnPropertyDescriptor(T,s))})}return A}var c=e(974689),u=e(989164),f=e(304003),d=e(597350),h=e(726184),g=e(232578),_=e(105229),p=function(S,T){if(T&&T.length>0)if(typeof T=="string")S.classList.add(T);else{var s;(s=S.classList).add.apply(s,(0,n.default)(T))}},y=function(S,T){if(T&&T.length>0)if(typeof T=="string")S.classList.remove(T);else{var s;(s=S.classList).remove.apply(s,(0,n.default)(T))}},O={},P=function(S,T){if(!O[S]){var s="",v={};h(T,function(m,E){var I=E.replace(/\.([\w\-\$]+)/g,function(L,W){var F=S+"-"+W;return v[W]=F,"."+F});s+=I+" {",h(m,function(L,W){s+=_(f(W),!0)+":",W.indexOf("transition")>-1?s+=L.replace(/(^|,|\s)transform/,function(F,G){return G+_("transform",!0)})+";":s+=L+";"}),s+=`}
`}),O[S]=v,c(s)}return i({},O[S])},C=function(S,T){var s=d(g.apply(void 0,(0,n.default)(u.translate(S,T)))).join(", ");return"matrix(".concat(s,")")};b.exports={addClass:p,removeClass:y,loadStyles:P,convertTranslateToMatrix:C}},149893:function(b,l,e){"use strict";e.d(l,{cd:()=>p,zd:()=>f,vI:()=>u,j6:()=>_,bg:()=>i,vl:()=>d,Ac:()=>c});var r=e(642979),o=e.n(r),n=e(392338);class a{constructor(O){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o()(this,"channel",null),o()(this,"detailPropTypes",null),o()(this,"eventType",null),o()(this,"frame",window.top),o()(this,"listener",null),o()(this,"origin",window.location.origin),o()(this,"source",null),o()(this,"supportedEventTypes",null),this.eventType=O,this._setOptions(P)}_addEventListener(O){this.listener=this._getListenerWithCallback(O),this.frame.addEventListener("message",this.listener)}_getListenerWithCallback(O){return O?P=>{this._isMessageCorrectOrigin(P)&&this._isMessageDataValid(P)&&O(P.data)}:null}_isMessageCorrectOrigin(O){var P=O.origin;return["*",P].includes(this.origin)}_isMessageDataValid(O){if(O){var P=O.data,C=P.channel,A=P.source,S=P.type,T=A===this.source;if(!T)return!1;var s=O.source.top===this.frame.top;if(!s)return!1;var v=S===this.eventType;if(!v)return!1;var m=this.channel===null||C===this.channel;return!!m}}_isSupportedEventType(O){return this.supportedEventTypes?this.supportedEventTypes.includes(O):!1}_prepareMessageForStructuredClone(O){return O?JSON.parse(JSON.stringify(O)):null}_removeEventListener(){this.frame.removeEventListener("message",this.listener),this.listener=null}_setOptions(O){O&&(this.channel=O.channel||this.channel,this.detailPropTypes=O.detailPropTypes||this.detailPropTypes,this.origin=O.origin||this.origin,this.source=O.source||this.source,this.supportedEventTypes=O.supportedEventTypes||this.supportedEventTypes)}emit(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.origin;if(!this._isSupportedEventType(this.eventType))throw new Error("".concat(this.eventType," is not supported by this instance of ").concat(this.constructor.name,"."));var C=this.channel,A=this.source,S={channel:C,source:A,detail:this._prepareMessageForStructuredClone(O),type:this.eventType};this.frame.postMessage(S,P)}isSubscribed(){return!!this.listener}subscribe(O){if(!O)throw new Error("A callback is required to subscribe to events.");this.unsubscribe(),this._addEventListener(O)}unsubscribe(){this.isSubscribed()&&this._removeEventListener()}}var i=function(y){return y.CLOSE_START="close-start",y.CLOSE_END="close-end",y.PURCHASE_COMPLETE="purchase-complete",y.WILL_UNMOUNT="will-unmount",y}({});class c extends a{constructor(){super(...arguments),o()(this,"source","universal-checkout"),o()(this,"supportedEventTypes",Object.values(i))}}var u="open-universal-checkout",f="close-universal-checkout",d=function(y){return y.NEW_PURCHASE="new-purchase",y.BILLING_PLAN_SWITCH="billing-plan-switch",y.QUANTITY_CHANGE="quantity-change",y.REACTIVATION="reactivation",y.TRANSFER="transfer",y.TERM_EXTENSION="term-extension",y}({});function h(y,O){var P=Object.keys(y);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(y);O&&(C=C.filter(function(A){return Object.getOwnPropertyDescriptor(y,A).enumerable})),P.push.apply(P,C)}return P}function g(y){for(var O=1;O<arguments.length;O++){var P=arguments[O]!=null?arguments[O]:{};O%2?h(Object(P),!0).forEach(function(C){o()(y,C,P[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(P)):h(Object(P)).forEach(function(C){Object.defineProperty(y,C,Object.getOwnPropertyDescriptor(P,C))})}return y}var _=function(O,P){var C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!O)throw new Error("A product to purchase must be supplied!");if(!P||Object.values(d).indexOf(P)===-1)throw new Error("A checkout type that matches a value in CheckoutTypes must be supplied! You provided: ".concat(P));window.top.postMessage({source:u,payload:g({productToPurchase:O,checkoutType:P},C)},"*")},p=function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};window.top.postMessage({source:f,payload:O},"*")}},478795:function(b,l,e){"use strict";e.d(l,{v:()=>r});var r=function(o){return o.NEW_PURCHASE="new-purchase",o.BILLING_PLAN_SWITCH="billing-plan-switch",o.QUANTITY_CHANGE="quantity-change",o.REACTIVATION="reactivation",o.TRANSFER="transfer",o.TERM_EXTENSION="term-extension",o}({})},172788:function(b,l,e){"use strict";e.d(l,{SU:()=>Me,IE:()=>CO,P3:()=>uv,vl:()=>fs.v,Ad:()=>jg,Ai:()=>iP,D4:()=>lp,$k:()=>EO,nq:()=>O});var r=e(675523),o=e.n(r),n=e(668595),a=e.n(n),i=e(20104),c=e.n(i),u=e(848664),f=e.n(u),d=e(590670),h=e.n(d),g=e(642979),_=e.n(g),p=e(174161),y=e(269399),O=function(le){return le.BILLING_ADDRESS="billing-address",le.CREDIT_CARD="credit-card-form",le.ORDER_SUMMARY="order-summary",le.SUCCESS_SCREEN="success-screen",le}({}),P=e(752822),C=function(w){return w.RouterReducer},A=function(w){return w.CustomerInfo.savedCustomer};const S=(0,P.createSelector)(C,A,function(le,w){var ue=le.screens,Oe=le.currentScreenIndex;if(le.direction===Bl.FORWARD){var ft=ue.findIndex(function(pn,En){var Cn;return En>Oe&&!((Cn=pn.canNavigateForward)!==null&&Cn!==void 0&&Cn.call(pn,{customer:w}))});return ft}return le.currentScreenIndex-1});var T=function(w){return w.RouterReducer.currentScreenIndex},s=function(w){return w.RouterReducer.screens},v=function(){},m=(0,P.createSelector)(T,s,function(le,w){var ue;return(ue=w[le].onNavigate)!==null&&ue!==void 0?ue:v});const E=m;var I=e(375377),L=e.n(I),W=function(le){return le.CUSTOMER_NAME="name",le.ADDRESS="address",le.CITY="city",le.STATE="state",le.ZIP="zip",le.COUNTRY="country",le.PROVINCE="province",le}(W||{});const F=W;function G(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function k(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?G(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):G(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var x=k({PAYMENT_METHOD_TYPE:"paymentMethodType",CARD_NUMBER:"cardNumber",EXPIRY_DATE:"cardExpiry",EXPIRATION:"cardExpiration",CVC:"cardCvc",IBAN:"iban",TAX_TYPE:"type",BUSINESS_NAME:"businessName",VAT_NUMBER:"vatNumber",IS_VAT_VALID:"isVatNumberSyntacticallyValid",ABN:"australianBusinessNumber",CANADIAN_GST_NUMBER:"canadianGstNumber",CANADIAN_PST_NUMBER:"canadianPstNumber",IS_CA_GST_VALID:"isCaGstSyntacticallyValid",IS_CA_PST_VALID:"isCaPstSyntacticallyValid",IS_ABN_VALID:"isABNSyntacticallyValid",CUST_CERTIFIED:"customerCertified"},F);const M=x;var B=e(760636),R=e.n(B),U=e(456903),j=U.errors.ApiError,$={fulfilledHandler:function(w){return R().env.PACT==="true"&&(w.url="http://127.0.0.1:8080"+w.url),w},rejectedHandler:function(w){return Promise.reject(w)}},ee=(0,U.customInstance)({request:[U.interceptors.crumbInterceptor,$]});const te=ee;var ie="/api/billing",ne="/api/customer/checkout",pe=null,oe="".concat(ie,"/customer"),q="".concat(oe,"/setup-intent"),J="".concat(ie,"/accepted-currencies"),me="".concat(ie,"/invoices/last"),re="".concat(ie,"/contracts"),he="".concat(ie,"/billing-requests"),Ee="".concat(he,"/new-contracts"),fe="".concat(ie,"/promotions/code/validate"),H="".concat(ie,"/promotions/code/display"),z="/api/google-email-product/subscription-requests/discount-eligibility",_e="".concat(ne,"/cart"),ae="/api/customer/checkout/google-maps/places/autocomplete",ge="/api/customer/checkout/google-maps/places/details",Be={TRANSFER_PREVIEW_PATH:"/api/domain-transfer-in/preview",TRANSFER_PATH:"/api/domain-transfer-in",PURCHASE_STATUS_PATH:"/api/domain-batch-workers/purchase",DISCOUNT_STATUS_PATH:"/api/domain-discount-status",DOMAINS_LIST:"/api/rest/domains"},Ke={PREVIEW_PATH:"/api/licensed-assets/purchase-preview",PURCHASE_PATH:"/api/licensed-assets"},He={PREVIEW:"/api/billing/tax-status/preview"},ye=function(w){return w.includes(oe)?w.replace(ie,ne):w.replace(ie,pe)},Le=function(w){return w.url&&(w.url=ye(w.url)),w},Ue="Form field errors.",Xe={isClientHttpCode:function(w){return w>=400&&w<500},isFormFieldError:function(w){var ue,Oe=w instanceof j?(ue=w.cause)===null||ue===void 0?void 0:ue.error:w==null?void 0:w.error;return Oe===Ue},isResponseFormFieldError:function(w){var ue=w.data,Oe=w.status;return Xe.isClientHttpCode(Oe)&&Xe.isFormFieldError(ue)},cleanFormFieldError:function(w){return Xe.isFormFieldError(w)&&(w.data=w.data.errors),Promise.reject(w)}};const Fe=Xe;var ht=e(279794),Ne=e.n(ht),Ce=e(680180),we=e.n(Ce),$e=e(406039),Ot=e.n($e),Pt=e(247380),Ie=e.n(Pt),Bt={i8:"37.27.0"},mt=e(600557),rt=e(503512),ce=e(158744),Re=Bt.i8,nt=function(le){return le.default="default",le.info="info",le.debug="debug",le.error="error",le.navigation="navigation",le}({}),st=[["owner",Ie().CHECKOUT_PAYMENTS],["project","universal-checkout"],["uc-version",Re]],vt={tags:[].concat(st)},ze=function(){return!1},It=function(){for(var w=arguments.length,ue=new Array(w),Oe=0;Oe<w;Oe++)ue[Oe]=arguments[Oe];if(Ot()(ue[0])==="object"){var ft;console.log("".concat(JSON.stringify(ue))),(ft=console).log.apply(ft,["%o"].concat(ue))}else{var pn;(pn=console).log.apply(pn,ue)}return"some-error-identifier"},on=function(w){return function(){return ze()?It.apply(void 0,arguments):w.apply(void 0,arguments)}},Pn=on(mt.uT),Yn=on(mt.Tb),Ln=on(mt.eN),bn=on(rt.n),ir=ce.$e,Zn=function(w,ue,Oe){if(ze()){It({error:w,tags:ue,fingerprint:Oe});return}ir(function(ft){if(vt.tags&&vt.tags.forEach(function(Cn){var Gn=we()(Cn,2),yn=Gn[0],Or=Gn[1];ft.setTag(yn,Or)}),ue&&Object.keys(ue).forEach(function(Cn){var Gn=ue[Cn];ft.setTag(Cn,Gn)}),Oe)ft.setFingerprint(Oe);else if(w instanceof j){var pn,En;ft.setFingerprint([w.functionName,(pn=w.config)===null||pn===void 0?void 0:pn.method,(En=w.response)===null||En===void 0?void 0:En.status.toString()])}Yn(w)})},$n=function(w){return vt.tags=[].concat(st,Ne()(w)),vt},jt=function(w,ue){var Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:nt.info;bn({category:"universal-checkout",level:"info",message:w,data:ue,type:Oe})},Rn=function(w){var ue;(0,mt.YA)("country_code",w==null?void 0:w.country),(0,mt.YA)("saved_payment_method",w==null||(ue=w.paymentMethod)===null||ue===void 0?void 0:ue.type)},jn=function(w){var ue,Oe;return(w==null||(ue=w.response)===null||ue===void 0?void 0:ue.status)>=400&&(w==null||(Oe=w.response)===null||Oe===void 0?void 0:Oe.status)<500},Tn=e(108311),Nn=e(451484),cn=e.n(Nn),or=e(544553),qn=e.n(or),Hr=e(346979),fo=e.n(Hr),Jr=function(w,ue,Oe){var ft=ue[0];if(Ot()(w)!=="object")throw new Error("Cannot traverse path through a non-object.");if(!(!(ft in w)||w[ft]===null)){if(ue.length===1){if(Array.isArray(w[ft]))for(var pn=0;pn<w[ft].length;pn++)w[ft][pn]=Oe(w[ft[pn]]);else w[ft]=Oe(w[ft]);return}var En=qn()(ue);if(Array.isArray(w[ft])){w[ft].forEach(function(Cn){return Jr(Cn,En,Oe)});return}Jr(w[ft],En,Oe)}},ro={deserializer:function(w){for(var ue=arguments.length,Oe=new Array(ue>1?ue-1:0),ft=1;ft<ue;ft++)Oe[ft-1]=arguments[ft];if(typeof w!="function")throw new Error("transformFn must be a function");return Oe=Oe.map(function(pn){return pn.split(".")}),function(pn){return Oe.forEach(function(En){Jr(pn,En,w)}),pn}},serializer:function(){for(var w=arguments.length,ue=new Array(w),Oe=0;Oe<w;Oe++)ue[Oe]=arguments[Oe];var ft=function(Gn,yn){return typeof Gn[yn]=="function"},pn=function(Gn){return fo()(ue,function(yn){return Gn instanceof yn.ctor})},En=function(Gn){if(Ot()(Gn)==="object"){var yn=pn(Gn);if(yn){var Or=yn.transformMethod||"toJson";if(ft(Gn,Or))return Gn[Or]()}}};return function(Cn){return cn()(Cn,En)}}};const Xt=ro;var Je=Xt.deserializer,At=Je(Tn.default.fromJson,"lineItems.discounts.amountOff","lineItems.amount","lineItems.subscriptionDetail.planPrice","subtotal","tax","discountAmount","taxSummaries.amount","total","amountOnCard","preTaxCreditApplied","postTaxCreditApplied","pastDueAdjustment","discountSummary.amountOff"),xt=Je(function(le){return new Date(Date.parse(le))},"created","lineItems.subscriptionDetail.periodStart","lineItems.subscriptionDetail.periodEnd");function Qt(le){return xt(At(le))}var qt={invoice:Xt.deserializer(Qt,"data.invoice"),money:Xt.deserializer(Tn.default.fromJson,"data.renewalAmount"),dates:Xt.deserializer(function(le){return new Date(le)},"data.renewsOn")},Te=function(w){var ue=qt.invoice,Oe=qt.money,ft=qt.dates;return ft(Oe(ue(w)))},Gt=Xt.deserializer(Qt,"data"),un=Xt.deserializer(Qt,"data.invoice"),Vt="LOAD_CUST_403_COUNT";sessionStorage.setItem(Vt,"0");var Dn={loadCustomer:function(){var w=Number(sessionStorage.getItem(Vt));if(w>=100){var ue=new j("Error fetching the customer due to too many 403 requests","loadCustomer");throw w===100&&(Zn(ue),sessionStorage.setItem(Vt,"101")),ue}return te.get(oe).catch(function(Oe){var ft,pn,En=new j("Error fetching the customer","loadCustomer",Oe);throw(Oe==null||(ft=Oe.response)===null||ft===void 0?void 0:ft.status)!==404&&Zn(En),[401,403].includes(Oe==null||(pn=Oe.response)===null||pn===void 0?void 0:pn.status)&&sessionStorage.setItem(Vt,w+1+""),En})},createCustomerStub:function(){return te.post("".concat(oe,"/new")).catch(function(w){return Zn(new j("Could not create customer stub","createCustomerStub",w)),Fe.cleanFormFieldError(w)})},updateCustomerTaxLocation:function(w){return te.put("".concat(oe,"/tax-location"),w).then(function(ue){return ue.data}).catch(function(ue){return jn(ue)||Zn(new j("Could not update customer tax information","updateCustomerTaxLocation",ue)),Fe.cleanFormFieldError(ue)})},createSetupIntent:function(w){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return te.post("".concat(q,"/").concat(w),{possiblePaymentMethodTypes:ue,currency:Oe}).catch(function(ft){var pn=new j("Could not create setup intent","createSetupIntent",ft);throw Zn(pn,{selectedPaymentMethodType:w}),pn})},completeSetupIntent:function(w,ue){return te.post("".concat(q,"/").concat(ue,"/").concat(w,"/complete")).catch(function(Oe){var ft=new j("Could not complete setup intent","completeSetupIntent",Oe);throw Zn(ft,{paymentMethodType:ue}),ft})},fetchPendingPayments:function(){return te.get("".concat(ie,"/payments/pending")).then(Te).catch(function(w){var ue=new j("Could not fetch pending payments","fetchPendingPayments",w);throw Zn(ue,{"uc-feature":"pending-payments"}),ue})}};const Wt=Dn;var Pe="TAX_STATUS_401_COUNT";sessionStorage.setItem(Pe,"0");var xe={getTaxLiability:function(w){var ue=Number(sessionStorage.getItem(Pe));if(ue>=100){var Oe=new j("Error fetching the tax preview due to too many 401 requests","getTaxLiability");throw ue===100&&(Zn(Oe),sessionStorage.setItem(Pe,"101")),Oe}return te.get(He.PREVIEW,{params:w}).catch(function(ft){var pn;[401,403].includes(ft==null||(pn=ft.response)===null||pn===void 0?void 0:pn.status)&&sessionStorage.setItem(Pe,ue+1+"");var En=new j("Could not get tax liability preview","getTaxLiabilityPreview",ft);throw Zn(En),En})}};const Ae=xe;var qe=e(98677),wt=e(108351),kt=e.n(wt);function ut(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Ft(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?ut(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):ut(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var tn=function(){return(0,qe.Z)()},In=function(w,ue){return{message:ue,code:w,id:tn()}},rr=function(w,ue){return Ft(Ft({},In(w,ue?ue("Required field",null,{project:"universal-checkout"}):void 0)),{},{isRequired:!0})},Sr=function(w){var ue=w.expirationMonth,Oe=w.expirationYear,ft=w.t,pn=new Date(Oe,ue),En=new Date,Cn=En.getFullYear()>pn.getFullYear()||En.getFullYear()===pn.getFullYear()&&En.getMonth()>pn.getMonth();return Cn?{message:ft("Your payment method has expired.",null,{project:"universal-checkout"}),id:"uc-expired-card-error",code:"expired_card"}:null},Yr=function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ue=arguments.length>1?arguments[1]:void 0;return ue.reduce(function(Oe,ft){return w&&w[ft]&&(Oe[ft]=null),Oe},Ft({},w))},Pr=function(w){return Object.entries(w).reduce(function(ue,Oe){var ft=we()(Oe,2),pn=ft[0],En=ft[1];return En!=null&&En.code?Ft(Ft({},ue),{},_()({},pn,En.code)):ue},{})},Mn=function(w){var ue,Oe,ft=w==null?void 0:w.type;return ft===PaymentMethodType.CARD?!1:!!(w!=null&&(ue=w.name)!==null&&ue!==void 0&&ue.length)&&(w==null||(Oe=w.name)===null||Oe===void 0?void 0:Oe.length)<=2},sr=function(w){return Object.keys(w).reduce(function(ue,Oe){var ft=w[Oe];return Ot()(ft)==="object"&&ft!==null&&!Array.isArray(ft)?[].concat(Ne()(ue),[Oe],Ne()(sr(ft))):[].concat(Ne()(ue),[Oe])},[])},Ar=function(w,ue){var Oe=sr(ue);return w&&Yr(w,Oe)},vr=[M.ADDRESS,M.CITY,M.STATE,M.ZIP,M.COUNTRY],qr=[M.BUSINESS_NAME,M.VAT_NUMBER,M.ABN,M.CUST_CERTIFIED,M.CANADIAN_GST_NUMBER,M.CANADIAN_PST_NUMBER],Dr=function(w){return qr.reduce(function(ue,Oe){return Oe in w&&(ue[Oe]=w[Oe]),ue},{})},eo=function(w){var ue=vr.reduce(function(Oe,ft){return ft in w&&(Oe[ft]=w[ft]),Oe},{createSetupIntent:w.createSetupIntent||!1,taxStatus:Dr(w)});return ue},Vo=function(w){var ue=w.address,Oe=w.city,ft=w.state,pn=w.zip,En=w.country,Cn=w.name,Gn={address:ue,city:Oe,state:ft,zip:pn,country:En,name:Cn},yn=Dr(w);return{billingAddress:Gn,taxStatus:yn}},Bn=function(w){var ue,Oe=w.acceptedCurrencies,ft=w.selectedCurrency,pn=w.paymentMethod,En=(ue=Oe.find(function(Gn){return ft===Gn.code}))===null||ue===void 0?void 0:ue.supportedPaymentMethods,Cn=!!(En!=null&&En.includes(pn));return Cn},ar=function(w){var ue=w.acceptedCurrencies,Oe=ue.find(function(ft){return ft.supportedPaymentMethods.includes(kt().PAYPAL_WALLET)});return Oe!==void 0};function rn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Rt(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Rt(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Rt(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Rt(tr,"constructor",yn),Rt(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Rt(yn,ft,"GeneratorFunction"),Rt(tr),Rt(tr,ft,"Generator"),Rt(tr,Oe,function(){return this}),Rt(tr,"toString",function(){return"[object Generator]"}),(rn=function(){return{w:pn,m:co}})()}function Rt(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Rt=function(En,Cn,Gn,yn){function Or(tr,co){Rt(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Rt(le,w,ue,Oe)}var Qe=function(le){return le.SAVE_PAYPAL_TOKEN="SAVE_PAYPAL_TOKEN",le}({}),Ye=function(){return function(){var w=L()(rn().m(function ue(Oe,ft){var pn,En,Cn,Gn,yn,Or;return rn().w(function(tr){for(;;)switch(tr.p=tr.n){case 0:if(pn=ft().Currencies.acceptedCurrencies,tr.p=1,ar({acceptedCurrencies:pn})){tr.n=2;break}return tr.a(2,{dataUserId:"",setupToken:""});case 2:return tr.n=3,Wt.createSetupIntent(kt().PAYPAL_WALLET,[kt().PAYPAL_WALLET]);case 3:return En=tr.v,Cn=En.data,Gn=Cn.clientSecret,yn=Cn.id,Oe({type:Qe.SAVE_PAYPAL_TOKEN,dataUserId:Gn,setupToken:yn}),tr.a(2,{dataUserId:Gn,setupToken:yn});case 4:return tr.p=4,Or=tr.v,tr.a(2,{dataUserId:"",setupToken:""})}},ue,null,[[1,4]])}));return function(ue,Oe){return w.apply(this,arguments)}}()},yt=e(859256);function Ze(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Mt(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Mt(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Mt(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Mt(tr,"constructor",yn),Mt(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Mt(yn,ft,"GeneratorFunction"),Mt(tr),Mt(tr,ft,"Generator"),Mt(tr,Oe,function(){return this}),Mt(tr,"toString",function(){return"[object Generator]"}),(Ze=function(){return{w:pn,m:co}})()}function Mt(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Mt=function(En,Cn,Gn,yn){function Or(tr,co){Mt(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Mt(le,w,ue,Oe)}var ot=function(){var le=L()(Ze().m(function w(){var ue,Oe,ft;return Ze().w(function(pn){for(;;)switch(pn.p=pn.n){case 0:return pn.p=0,pn.n=1,yt.Z.getLocation();case 1:return ue=pn.v,Oe=ue==null?void 0:ue.find(function(En){return En.type==="COUNTRY"}),pn.a(2,Oe==null?void 0:Oe.code);case 2:pn.p=2,ft=pn.v,Zn(ft);case 3:return pn.a(2)}},w,null,[[0,2]])}));return function(){return le.apply(this,arguments)}}();const et=ot;var St=e(805187),Ht=e.n(St),er=function(le){return le.AB="AB",le.BC="BC",le.MB="MB",le.NB="NB",le.NL="NL",le.NS="NS",le.NT="NT",le.NU="NU",le.ON="ON",le.PE="PE",le.QC="QC",le.SK="SK",le.YT="YT",le}({}),Mr=function(w){var ue;return ue={},_()(_()(_()(_()(_()(_()(_()(_()(_()(_()(ue,er.AB,w("Alberta",null,{project:"universal-checkout"})),er.BC,w("British Columbia",null,{project:"universal-checkout"})),er.MB,w("Manitoba",null,{project:"universal-checkout"})),er.NB,w("New Brunswick",null,{project:"universal-checkout"})),er.NL,w("Newfoundland and Labrador",null,{project:"universal-checkout"})),er.NS,w("Nova Scotia",null,{project:"universal-checkout"})),er.NT,w("Northwest Territories",null,{project:"universal-checkout"})),er.NU,w("Nunavut",null,{project:"universal-checkout"})),er.ON,w("Ontario",null,{project:"universal-checkout"})),er.PE,w("Prince Edward Island",null,{project:"universal-checkout"})),_()(_()(_()(ue,er.QC,w("Quebec",null,{project:"universal-checkout"})),er.SK,w("Saskatchewan",null,{project:"universal-checkout"})),er.YT,w("Yukon",null,{project:"universal-checkout"}))},mn=[F.ADDRESS,F.CITY,F.STATE,F.ZIP,F.COUNTRY,F.CUSTOMER_NAME],Un=/(^\d{5}$)|(^\d{5}-\d{4}$)/,hr=function(w){return Un.test(w)},br=function(w,ue,Oe){if(ue!=="US"&&ue!=="CA")return null;if(w){if(ue==="US"&&!hr(w))return In("invalid_zip",Oe?Oe("Invalid postal code",null,{project:"universal-checkout"}):void 0)}else return rr("incomplete_zip",Oe);return null},io=function(w,ue,Oe){return ue!=="US"&&ue!=="CA"?null:ue==="CA"&&!Object.keys(er).includes(w)?rr("incomplete_state",Oe):w?null:rr("incomplete_state",Oe)},Kr=function(w){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:mn,ft=w??{},pn=ft.country,En=ft.zip,Cn=ft.state,Gn=_()(_()({},F.ZIP,function(){return br(En,pn,ue)}),F.STATE,function(){return io(Cn,pn,ue)}),yn=!1,Or=Oe.reduce(function(tr,co){var lr=null;return Gn[co]?lr=Gn[co]():w!=null&&w[co]||(lr=rr("incomplete_".concat(co),ue)),lr&&(tr[co]=lr,yn=!0),tr},{});return yn?Or:null},xo=e(448710),Ho=e.n(xo);const bo=_()(_()(_()(_()(_()(_()(_()({},Ho().VAT,M.VAT_NUMBER),Ho().GST,M.ABN),Ho().NONE,null),Ho().US_SALES,null),Ho().VAT_PROVINCE,null),Ho().JCT,null),Ho().VAT_AND_LEVIES,null);var Ea=e(36890),Ia=e(553070),Da=e(646896),Za="universal-checkout";function Xa(le){return e(108222)("./".concat(Za,".").concat(le,".yaml"))}function ba(){var le=(0,Ea.Z)(Xa),w=le.t,ue=le.T,Oe=(0,Ia.Z)(Xa),ft=Oe.pluralize,pn=Oe.Plural;return{t:w,T:ue,pluralize:ft,Plural:pn}}function ns(le){return(0,Da.Z)(le,{translationsLoader:Xa})}var Ja=e(228856),Is=e(175235),Vr=e.n(Is);const Qr={GST_INFO:"https://support.squarespace.com/hc/articles/115008239727",VAT_INFO:"https://support.squarespace.com/hc/articles/206951427",US_SALES_TAX:"https://support.squarespace.com/hc/articles/227535647",USING_SEPA_WITH_SQUARESPACE:"https://support.squarespace.com/hc//articles/4422767325709",CUSTOMER_CARE:"https://support.squarespace.com/hc",CONTACT_AUTHENTICATED_CUSTOMER_CARE:"https://support.squarespace.com/hc/requests/new",PRIVACY_POLICY:{"en-US":"https://www.squarespace.com/privacy","es-419":"https://es.squarespace.com/privacy","de-DE":"https://de.squarespace.com/privacy","fr-FR":"https://fr.squarespace.com/privacy","it-IT":"https://it.squarespace.com/privacy","ja-JP":"https://ja.squarespace.com/privacy","pt-BR":"https://pt.squarespace.com/privacy"},TERMS_OF_SERVICE:{"en-US":"https://www.squarespace.com/terms-of-service","es-419":"https://es.squarespace.com/terms-of-service","de-DE":"https://de.squarespace.com/terms-of-service","fr-FR":"https://fr.squarespace.com/terms-of-service","it-IT":"https://it.squarespace.com/terms-of-service","ja-JP":"https://ja.squarespace.com/terms-of-service","pt-BR":"https://pt.squarespace.com/terms-of-service"},CONTACT_CUSTOMER_CARE_BILLING:"https://support.squarespace.com/hc/requests/new?ticket_form_id=64367"};var To=Qr.GST_INFO,xr=Qr.VAT_INFO,uo=Qr.US_SALES_TAX,Mo=11,go=_()(_()(_()(_()(_()(_()(_()({},Ho().VAT,M.IS_VAT_VALID),Ho().GST,M.IS_ABN_VALID),Ho().NONE,null),Ho().US_SALES,null),Ho().VAT_PROVINCE,null),Ho().JCT,null),Ho().VAT_AND_LEVIES,null),ea=function(w){var ue,Oe=w.country,ft=w.taxType,pn=w.t,En=_()(_()(_()(_()(_()(_()(_()({},Ho().VAT_PROVINCE,{taxDisplayString:pn("GST / HST",null,{project:"universal-checkout"}),taxStatusFormTitleTaxStatusOptional:pn("Canadian Tax Exemption (Optional)",null,{project:"universal-checkout"})}),Ho().VAT,{taxDisplayString:pn("VAT",{},{project:"universal-checkout"}),taxStatusFormTitleTaxStatusOptional:pn("VAT Status (Optional)",null,{project:"universal-checkout"}),taxInfoLinks:xr,tooltipHeader:pn("VAT Status",null,{project:"universal-checkout"}),tooltipContent:pn("Are you exempt from VAT? Enter your Value Added Tax Number and business name and confirm your VAT registration.",null,{project:"universal-checkout"}),validationError:pn("The VAT Registration Number provided is invalid and is subject to VAT.",null,{project:"universal-checkout"})}),Ho().GST,{taxDisplayString:pn("GST",{},{project:"universal-checkout"}),taxStatusFormTitleTaxStatusOptional:pn("GST Status (Optional)",null,{project:"universal-checkout"}),taxInfoLinks:To,tooltipHeader:pn("GST Status",null,{project:"universal-checkout"}),tooltipContent:pn("Are you exempt from GST? Enter your GST Registration Number and business name and confirm your GST registration.",null,{project:"universal-checkout"}),validationError:pn("The GSTN provided is invalid and is subject to GST.",null,{project:"universal-checkout"})}),Ho().US_SALES,{taxDisplayString:pn("Sales Tax",{},{project:"universal-checkout"}),taxInfoLinks:uo}),Ho().NONE,{taxDisplayString:pn("Tax",{},{project:"universal-checkout"}),taxInfoLinks:""}),Ho().JCT,{taxDisplayString:pn("JCT",{},{project:"universal-checkout",notes:"Acronym for Japanese Consumption Tax"}),taxInfoLinks:To}),Ho().VAT_AND_LEVIES,{taxDisplayString:pn("Taxes",{},{project:"universal-checkout"}),taxInfoLinks:xr}),Cn={taxDisplayString:En[Ho().GST].taxDisplayString,taxStatusFormTitleTaxStatusOptional:En[Ho().GST].taxStatusFormTitleTaxStatusOptional,taxInfoLink:To,tooltipHeader:En[Ho().GST].tooltipHeader,tooltipContent:pn("Are you exempt from GST? Enter your Australian Business Number and business name and confirm your GST registration.",null,{project:"universal-checkout"}),validationError:pn("The ABN provided is invalid and is subject to GST.",null,{project:"universal-checkout"})};return Oe==="AU"?Cn:Oe&&["SG","IN"].includes(Oe)?En[Ho().GST]:(ue=En[ft])!==null&&ue!==void 0?ue:{}},ha=function(){var w=ba(),ue=w.t,Oe=(0,Ja.Z)(),ft=Oe.formatDecimal,pn=function(yn){var Or=yn.taxRateLines;if(!Or)return null;var tr=Or.find(function(lr){return lr.jurisdictionType===Vr().COUNTRY});if(tr)return tr.jurisdictionName;var co=Or.find(function(lr){return lr.jurisdictionType===Vr().STATE});return co?co.jurisdictionName:null},En=function(yn){var Or=yn.isTaxExempt,tr=Or===void 0?!1:Or,co=yn.countryCode,lr=yn.taxType,mo=yn.taxRate;if(tr)return ue("Exempt",null,{project:"universal-checkout"});if([Ho().VAT,Ho().GST,Ho().JCT,Ho().VAT_AND_LEVIES].includes(lr)){var na=ft(mo,{style:"percent",maximumFractionDigits:2}),ya=lr!==Ho().JCT,da=ya&&co?" ".concat(co):"";return"(".concat(na).concat(da,")")}return""},Cn=function(yn){if(yn[M.TAX_TYPE]===Ho().GST&&yn.taxableCountry==="AU"){var Or=yn[M.ABN]||"",tr=Or.replace(/[a-zA-Z\s]+/g,"");return tr?tr.length===Mo:!1}return!0};return{getTaxingEntity:pn,getTaxStringsByCountry:function(yn){var Or=yn.country,tr=yn.taxType;return ea({country:Or,taxType:tr,t:ue})},getClientValidationErrors:function(yn){return yr(yn,ue)},getFormattedTaxDetail:En,shouldUseServerValidation:Cn,taxValidationFields:go}},yr=function(w,ue){if(w){var Oe=w.type,ft=w.businessName,pn=w.vatNumber,En=w.australianBusinessNumber,Cn=w.customerCertified,Gn=w.taxableCountry,yn=bo[Oe],Or=yn&&w[yn]&&!w[go[Oe]],tr;if(Oe!==Ho().NONE){if(tr={},Oe===Ho().VAT){var co=!!pn&&!ft,lr=!pn&&!!ft;co&&(tr.businessName=rr("incomplete_vat_information",ue)),lr?tr.vatNumber=rr("incomplete_vat_information",ue):Or&&(tr.vatNumber=In("invalid_tax_number",ue?ea({country:Gn,taxType:Oe,t:ue}).validationError:void 0))}if(Oe===Ho().VAT_PROVINCE){var mo=w[M.CANADIAN_GST_NUMBER]||w[M.CANADIAN_PST_NUMBER],na=mo&&!ft,ya=ft&&!mo,da=w[M.CANADIAN_GST_NUMBER]&&!w[M.IS_CA_GST_VALID],ua=w[M.CANADIAN_PST_NUMBER]&&!w[M.IS_CA_PST_VALID];na&&(tr.businessName=rr("incomplete_ca_tax_information",ue)),da&&(tr.canadianGstNumber=In("invalid_ca_gst_number",ue?ue("{name} registration number provided is invalid.",{name:ue("GST/HST",null,{project:"universal-checkout"})},{project:"universal-checkout"}):void 0)),ua&&(tr.canadianPstNumber=In("invalid_ca_pst_number",ue?ue("{name} registration number provided is invalid.",{name:ue("QST",null,{project:"universal-checkout"})},{project:"universal-checkout"}):void 0)),ya&&(tr.canadianGstNumber=rr("incomplete_ca_tax_information",ue),tr.canadianPstNumber=rr("incomplete_ca_tax_information",ue))}if(Oe===Ho().GST&&Gn==="AU"){var La=!!En&&!ft,Ga=!En&&!!ft,Ka=!!En&&!Cn;La&&(tr.businessName=rr("incomplete_gst_information",ue)),Ga?tr.australianBusinessNumber=rr("incomplete_gst_information",ue):Or&&(tr.australianBusinessNumber=In("invalid_tax_number",ue?ea({country:Gn,taxType:Oe,t:ue}).validationError:void 0)),Ka&&(tr.customerCertified=rr("incomplete_gst_information",ue))}if(!Object.keys(tr).length)return}return tr}};function Lr(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function ao(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Lr(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Lr(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var ho=function(w){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Oe=ao(ao({},Kr(w,ue)),yr(w,ue));return Ht()(Oe)?null:Oe};const Lo=ho;function Yo(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function jo(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Yo(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Yo(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var Xo=function(le){return le.SET_ANALYTICS_DATA="SET_ANALYTICS_DATA",le.UPDATE_ANALYTICS_DATA="UPDATE_ANALYTICS_DATA",le.TRACK_OPEN_MODAL="TRACK_OPEN_MODAL",le.TRACK_CLOSE_MODAL="TRACK_CLOSE_MODAL",le.TRACK_CREDIT_CARD_FORM_OPENED="TRACK_CREDIT_CARD_FORM_OPENED",le.TRACK_LINK_CUSTOMER_CARE="TRACK_LINK_CUSTOMER_CARE",le.TRACK_LINK_PRIVACY_POLICY="TRACK_LINK_PRIVACY_POLICY",le.TRACK_LINK_TERMS_OF_SERVICE="TRACK_LINK_TERMS_OF_SERVICE",le.TRACK_PAYMENT_INFO_CLEARED="TRACK_PAYMENT_INFO_CLEARED",le.TRACK_PAYMENT_INFO_DISCARD_CHANGES="TRACK_PAYMENT_INFO_DISCARD_CHANGES",le.TRACK_CREDIT_CARD_VALIDATION_ERRORS="TRACK_CREDIT_CARD_VALIDATION_ERRORS",le.TRACK_CROSS_SELL_LINK_CLICKED="TRACK_CROSS_SELL_LINK_CLICKED",le.TRACK_SCA_AUTHORIZATION_INVOKED="TRACK_SCA_AUTHORIZATION_INVOKED",le.TRACK_SCA_AUTHORIZATION_RESPONSE="TRACK_SCA_AUTHORIZATION_RESPONSE",le.TRACK_REMOVE_ITEM_FROM_CART="TRACK_REMOVE_ITEM_FROM_CART",le.TRACK_TOGGLE_PAYMENT_METHOD_TYPE="TRACK_TOGGLE_PAYMENT_METHOD_TYPE",le.TRACK_EDIT_ORDER="TRACK_EDIT_ORDER",le.TRACK_CLICK_CTA_AFTER_PURCHASE="TRACK_CLICK_CTA_AFTER_PURCHASE",le.TRACK_EXCESSIVE_PAYMENT_METHOD_BLOCKING="TRACK_EXCESSIVE_PAYMENT_METHOD_BLOCKING",le}({}),Ua=function(w){return{type:Xo.SET_ANALYTICS_DATA,data:w}},ds=function(w){return{type:Xo.UPDATE_ANALYTICS_DATA,updates:w}},us=function(){return{type:Xo.TRACK_OPEN_MODAL}},ys=function(w){return{type:Xo.TRACK_CLOSE_MODAL,origin:w}},Ys=function(){return{type:Xo.TRACK_CREDIT_CARD_FORM_OPENED}},Gs=function(w){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:w,eventData:ue}},xs=function(){return{type:Xo.TRACK_PAYMENT_INFO_CLEARED}},Ai=function(){return{type:Xo.TRACK_PAYMENT_INFO_DISCARD_CHANGES}},Pi=function(w){return function(ue){ue({type:Xo.TRACK_CREDIT_CARD_VALIDATION_ERRORS,validationErrors:w})}},ei=function(w){return function(ue){ue(jo({type:Xo.TRACK_CROSS_SELL_LINK_CLICKED},w))}},hi=function(){return function(w){w({type:Xo.TRACK_SCA_AUTHORIZATION_INVOKED})}},ks=function(w){return function(ue){ue({type:Xo.TRACK_SCA_AUTHORIZATION_RESPONSE,isAuthenticationSuccessful:w})}},Ms=function(w){return function(ue){ue({type:Xo.TRACK_REMOVE_ITEM_FROM_CART,item:w})}},bs=function(w){return function(ue){ue({type:Xo.TRACK_EDIT_ORDER,section:w})}},Hs=function(w){return function(ue){ue({type:Xo.TRACK_TOGGLE_PAYMENT_METHOD_TYPE,paymentMethod:w})}},Os=function(){return function(w){w({type:Xo.TRACK_EXCESSIVE_PAYMENT_METHOD_BLOCKING})}},Vs=e(737968),_s=e.n(Vs),fs=e(478795),Ss=e(276406),hs=e.n(Ss),li=[hs().GETTY_IMAGE],Ni=function(w,ue){var Oe=ue.length>1;if(Oe)return!0;var ft=ue[0];return w===fs.v.NEW_PURCHASE&&!li.includes(ft)?!0:w===fs.v.REACTIVATION},Ji=["query","contactId","tlds","domainNameToTldInfoIdMap","domainToTransfer"];function wi(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return vi(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(vi(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,vi(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,vi(tr,"constructor",yn),vi(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",vi(yn,ft,"GeneratorFunction"),vi(tr),vi(tr,ft,"Generator"),vi(tr,Oe,function(){return this}),vi(tr,"toString",function(){return"[object Generator]"}),(wi=function(){return{w:pn,m:co}})()}function vi(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}vi=function(En,Cn,Gn,yn){function Or(tr,co){vi(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},vi(le,w,ue,Oe)}function sl(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Zi(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?sl(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):sl(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var Zs=function(){function le(){o()(this,le)}return a()(le,[{key:"getPreviewAction",value:function(){return"post"}},{key:"getPreviewPath",value:function(){return Be.TRANSFER_PREVIEW_PATH}},{key:"getPreviewBody",value:function(ue){var Oe=ue,ft=Oe.query,pn=Oe.contactId,En=Oe.tlds,Cn=Oe.domainNameToTldInfoIdMap,Gn=Oe.domainToTransfer,yn=_s()(Oe,Ji);return Zi({domains:[Gn]},yn)}},{key:"getPreviewParams",value:function(){return{}}},{key:"getPromoParams",value:function(ue){var Oe=ue.domainIds;return{planIds:Oe}}},{key:"isPurchaseAsync",value:function(){return!0}},{key:"shouldWaitForAsyncPurchase",value:function(){return!1}},{key:"getPurchaseAction",value:function(){return"post"}},{key:"getPurchasePath",value:function(){return Be.TRANSFER_PATH}},{key:"getPurchaseBody",value:function(){var w=L()(wi().m(function Oe(ft){var pn,En,Cn,Gn,yn,Or,tr,co,lr,mo,na,ya,da,ua,La,Ga,Ka,no=arguments;return wi().w(function(Kn){for(;;)switch(Kn.n){case 0:return En=no.length>1&&no[1]!==void 0?no[1]:{},Cn=En.orderPreview,Gn=ft,yn=Gn.addDefaultRecords,Or=Gn.authCode,tr=Gn.contactId,co=Gn.currencyCode,lr=Gn.domainToTransfer,mo=Gn.discountCode,na=Gn.domainNameToTldInfoIdMap,ya=na===void 0?{}:na,da=Gn.nameServers,ua=Gn.records,La=Gn.userProvidedCountryCode,Ga=function(ra){return{adminContactId:tr,billingContactId:tr,billingServicePlanId:"",discountCode:mo,domainName:ra,ownerContactId:tr,techContactId:tr,tldInfoId:ya[ra],premiumPrice:""}},Ka=Cn==null||(pn=Cn.invoice)===null||pn===void 0||(pn=pn.lineItems[0])===null||pn===void 0||(pn=pn.subscriptionDetail)===null||pn===void 0||(pn=pn.domainVendorDetails)===null||pn===void 0?void 0:pn.domainVendor,Kn.a(2,Zi(Zi({addDefaultRecords:yn,authCode:Or,nameServers:da,records:ua,userProvidedCountryCode:La,userProvidedCurrencyCode:co,previewRequest:this.getPreviewBody(ft)},Ga(lr)),{},{domainVendor:Ka}))}},Oe,this)}));function ue(Oe){return w.apply(this,arguments)}return ue}()},{key:"getPurchaseParams",value:function(){return{}}},{key:"getPurchaseStatusPath",value:function(ue){return"".concat(Be.PURCHASE_STATUS_PATH,"/").concat(ue)}}])}();const Bs=Zs;var ti=e(544255),gi=e.n(ti),yi={EUR:{code:"EUR",currencyName:"Euro",fractionDigits:2,numericCode:978},USD:{code:"USD",currencyName:"US Dollar",fractionDigits:2,numericCode:840},AUD:{code:"AUD",currencyName:"Australian Dollar",fractionDigits:2,numericCode:36},NOK:{code:"NOK",currencyName:"Norwegian Krone",fractionDigits:2,numericCode:578},CAD:{code:"CAD",currencyName:"Canadian Dollar",fractionDigits:2,numericCode:124},NZD:{code:"NZD",currencyName:"New Zealand Dollar",fractionDigits:2,numericCode:554},DKK:{code:"DKK",currencyName:"Danish Krone",fractionDigits:2,numericCode:208},GBP:{code:"GBP",currencyName:"Pound Sterling",fractionDigits:2,numericCode:826},HKD:{code:"HKD",currencyName:"Hong Kong Dollar",fractionDigits:2,numericCode:344},CHF:{code:"CHF",currencyName:"Swiss Franc",fractionDigits:2,numericCode:756},MXN:{code:"MXN",currencyName:"Mexican Peso",fractionDigits:2,numericCode:484},SGD:{code:"SGD",currencyName:"Singapore Dollar",fractionDigits:2,numericCode:702},SEK:{code:"SEK",currencyName:"Swedish Krona",fractionDigits:2,numericCode:752},CZK:{code:"CZK",currencyName:"Czech Koruna",fractionDigits:2,numericCode:203},ILS:{code:"ILS",currencyName:"Israeli New Sheqel",fractionDigits:2,numericCode:376},PHP:{code:"PHP",currencyName:"Philippine Peso",fractionDigits:2,numericCode:608},RUB:{code:"RUB",currencyName:"Russian Ruble",fractionDigits:2,numericCode:643},PLN:{code:"PLN",currencyName:"Polish Zloty",fractionDigits:2,numericCode:616},THB:{code:"THB",currencyName:"Thai Baht",fractionDigits:2,numericCode:764},MYR:{code:"MYR",currencyName:"Malaysian Ringgit",fractionDigits:2,numericCode:458}};const ki=yi;var bi=function(){function le(){o()(this,le)}return a()(le,[{key:"getPreviewAction",value:function(){return"post"}},{key:"getPreviewPath",value:function(){return Ke.PREVIEW_PATH}},{key:"getPreviewBody",value:function(ue){var Oe=ue.id,ft=ue.title,pn=ue.artist,En=ue.collectionId,Cn=ue.collectionName;return{source:gi().GETTY,assetId:Oe,title:ft,artist:pn,collectionId:En,collectionName:Cn}}},{key:"getPreviewParams",value:function(ue){return{currency:(ue==null?void 0:ue.currencyCode)||ki.USD.code}}},{key:"getPromoParams",value:function(ue){var Oe=ue.planId;return{planIds:[Oe]}}},{key:"isPurchaseAsync",value:function(){return!1}},{key:"getPurchaseAction",value:function(){return"post"}},{key:"getPurchasePath",value:function(){return Ke.PURCHASE_PATH}},{key:"getPurchaseBody",value:function(ue){return this.getPreviewBody(ue)}},{key:"getPurchaseParams",value:function(ue){return this.getPreviewParams(ue)}}])}();const nl=bi;var Si=function(){if(window&&typeof window.ire=="function"){var w=new Promise(function(Oe){try{window.ire("generateClickId",function(ft){return Oe(ft)})}catch{Oe("IMPACT_IRE_ERROR")}}),ue=new Promise(function(Oe){setTimeout(function(){return Oe("IMPACT_NOT_LOADED_IN_TIME")},250)});return Promise.race([w,ue])}return Promise.resolve("IMPACT_NOT_LOADED")};const ta=Si;function ke(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Jt(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Jt(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Jt(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Jt(tr,"constructor",yn),Jt(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Jt(yn,ft,"GeneratorFunction"),Jt(tr),Jt(tr,ft,"Generator"),Jt(tr,Oe,function(){return this}),Jt(tr,"toString",function(){return"[object Generator]"}),(ke=function(){return{w:pn,m:co}})()}function Jt(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Jt=function(En,Cn,Gn,yn){function Or(tr,co){Jt(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Jt(le,w,ue,Oe)}var Fn=function(){function le(){o()(this,le)}return a()(le,[{key:"getPreviewAction",value:function(){return"put"}},{key:"getPreviewPath",value:function(){return"".concat(re,"/preview-plan-change")}},{key:"getPreviewBody",value:function(ue){var Oe=ue.planId,ft=ue.subscriptionId,pn=ue.discountCode;return{newPlanId:Oe,contractId:ft,discountCode:pn,idempotencyKey:(0,qe.Z)()}}},{key:"getPreviewParams",value:function(){return{}}},{key:"getPromoParams",value:function(ue){var Oe=ue.planId,ft=ue.subscriptionId;return{planIds:[Oe],contractId:ft}}},{key:"isPurchaseAsync",value:function(){return!0}},{key:"shouldWaitForAsyncPurchase",value:function(){return!0}},{key:"getPurchaseAction",value:function(){return"post"}},{key:"getPurchasePath",value:function(ue){return"".concat(he,"/plan-change/")}},{key:"getPurchaseBody",value:function(){var w=L()(ke().m(function Oe(ft){var pn,En,Cn,Gn,yn;return ke().w(function(Or){for(;;)switch(Or.n){case 0:return pn=ft==null?void 0:ft.subscriptionId,En=ft==null?void 0:ft.planId,Cn=ft.discountCode,Gn=(0,qe.Z)(),Or.n=1,ta();case 1:return yn=Or.v,Or.a(2,{contractId:pn,newPlanId:En,discountCode:Cn,idempotencyKey:Gn,impactClickId:yn})}},Oe)}));function ue(Oe){return w.apply(this,arguments)}return ue}()},{key:"getPurchaseParams",value:function(ue,Oe){return{}}}])}();function mr(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Tr(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Tr(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Tr(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Tr(tr,"constructor",yn),Tr(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Tr(yn,ft,"GeneratorFunction"),Tr(tr),Tr(tr,ft,"Generator"),Tr(tr,Oe,function(){return this}),Tr(tr,"toString",function(){return"[object Generator]"}),(mr=function(){return{w:pn,m:co}})()}function Tr(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Tr=function(En,Cn,Gn,yn){function Or(tr,co){Tr(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Tr(le,w,ue,Oe)}var Oo=function(){function le(){o()(this,le)}return a()(le,[{key:"getPreviewAction",value:function(){return"post"}},{key:"getPreviewPath",value:function(){return"".concat(re,"/preview-new-contracts")}},{key:"getPreviewParams",value:function(){return{}}},{key:"getPreviewBody",value:function(ue){var Oe=ue.discountCode,ft=ue.newContractRequests,pn=ue.updatedPaymentInformation;return{discountCode:Oe,newContractRequests:ft,updatedPaymentInformation:pn}}},{key:"getPromoParams",value:function(ue){var Oe=ue.newContractRequests,ft=Oe.map(function(pn){var En=pn.planId;return En});return{planIds:ft}}},{key:"isPurchaseAsync",value:function(){return!0}},{key:"shouldWaitForAsyncPurchase",value:function(){return!0}},{key:"getPurchaseAction",value:function(){return"post"}},{key:"getPurchasePath",value:function(ue){return Ee}},{key:"getPurchaseBody",value:function(){var w=L()(mr().m(function Oe(ft){var pn,En,Cn,Gn,yn,Or,tr;return mr().w(function(co){for(;;)switch(co.n){case 0:return pn=ft.discountCode,En=ft.newContractRequests,Cn=ft.idempotencyKey,Gn=pn,yn=En,Or=Cn,co.n=1,ta();case 1:return tr=co.v,co.a(2,{discountCode:Gn,newContractRequests:yn,idempotencyKey:Or,impactClickId:tr})}},Oe)}));function ue(Oe){return w.apply(this,arguments)}return ue}()},{key:"getPurchaseParams",value:function(){return{}}}])}(),Uo=function(){function le(){o()(this,le)}return a()(le,[{key:"getPreviewAction",value:function(){return"put"}},{key:"getPreviewPath",value:function(){return"".concat(re,"/preview-term-extension")}},{key:"getPreviewBody",value:function(ue){var Oe=ue.contractId,ft=ue.numBillingIntervalsInExtension;return{contractId:Oe,numBillingIntervalsInExtension:ft}}},{key:"getPreviewParams",value:function(){return{}}},{key:"getPromoParams",value:function(ue){var Oe=ue.contractId;return{contractId:Oe}}},{key:"isPurchaseAsync",value:function(){return!0}},{key:"shouldWaitForAsyncPurchase",value:function(){return!0}},{key:"getPurchaseAction",value:function(){return"post"}},{key:"getPurchasePath",value:function(ue){return"".concat(he,"/term-extension/")}},{key:"getPurchaseBody",value:function(ue){var Oe=ue.contractId,ft=ue.numBillingIntervalsInExtension;return{contractId:Oe,numBillingIntervalsInExtension:ft,idempotencyKey:(0,qe.Z)()}}},{key:"getPurchaseParams",value:function(){return{}}}])}(),gt=e(528456),it=e.n(gt);function Lt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return $t(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):($t(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,$t(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,$t(tr,"constructor",yn),$t(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",$t(yn,ft,"GeneratorFunction"),$t(tr),$t(tr,ft,"Generator"),$t(tr,Oe,function(){return this}),$t(tr,"toString",function(){return"[object Generator]"}),(Lt=function(){return{w:pn,m:co}})()}function $t(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}$t=function(En,Cn,Gn,yn){function Or(tr,co){$t(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},$t(le,w,ue,Oe)}var _n=function(){function le(){o()(this,le)}return a()(le,[{key:"getPreviewAction",value:function(){return"put"}},{key:"getPreviewPath",value:function(){return"".concat(re,"/preview-quantity-change")}},{key:"getPreviewParams",value:function(){return{}}},{key:"getPreviewBody",value:function(ue){var Oe=ue.contractId,ft=ue.discountCode,pn=ue.requestApiMetadata;return{contractId:Oe,changeType:it().ADD,requestApiMetadata:pn,discountCode:ft}}},{key:"getPromoParams",value:function(ue){var Oe=ue.planId,ft=ue.contractId;return{planIds:[Oe],contractId:ft}}},{key:"isPurchaseAsync",value:function(){return!0}},{key:"shouldWaitForAsyncPurchase",value:function(){return!0}},{key:"getPurchaseAction",value:function(){return"post"}},{key:"getPurchasePath",value:function(ue){return"".concat(he,"/quantity-change")}},{key:"getPurchaseBody",value:function(){var w=L()(Lt().m(function Oe(ft){var pn,En,Cn,Gn;return Lt().w(function(yn){for(;;)switch(yn.n){case 0:return pn=ft.contractId,En=ft.discountCode,Cn=ft.requestApiMetadata,Gn=ft.idempotencyKey,yn.a(2,{contractId:pn,changeType:it().ADD,requestApiMetadata:Cn,discountCode:En,idempotencyKey:Gn})}},Oe)}));function ue(Oe){return w.apply(this,arguments)}return ue}()},{key:"getPurchaseParams",value:function(){return{}}}])}(),dn=new Oo,Jn=function(){return dn},Hn=new Fn,jr=function(){return Hn},wo=new Uo,ko=function(){return wo},Sa=new _n,Na=function(){return Sa},qa=new Bs,ms=function(){return qa},Us=new nl,$i=function(){return Us},Mi=e(866451),si=e.n(Mi),rl=function(w){return function(){return si().stringify(w,{indices:!1})}},El=["planIds"],Ui=["preview"];function il(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return fl(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(fl(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,fl(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,fl(tr,"constructor",yn),fl(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",fl(yn,ft,"GeneratorFunction"),fl(tr),fl(tr,ft,"Generator"),fl(tr,Oe,function(){return this}),fl(tr,"toString",function(){return"[object Generator]"}),(il=function(){return{w:pn,m:co}})()}function fl(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}fl=function(En,Cn,Gn,yn){function Or(tr,co){fl(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},fl(le,w,ue,Oe)}function oi(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Nl(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?oi(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):oi(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var xl=function(w,ue){var Oe=Ni(w,ue),ft=w===fs.v.BILLING_PLAN_SWITCH,pn=w===fs.v.TERM_EXTENSION,En=w===fs.v.QUANTITY_CHANGE,Cn=w===fs.v.TRANSFER;return pn?ko():ft?jr():En?Na():Oe?Jn():Cn?ms():$i()},Ic={preview:function(w,ue,Oe){var ft=Oe.checkoutType,pn=xl(ft,w),En=pn.getPreviewAction(),Cn=pn.getPreviewPath(),Gn=pn.getPreviewParams(ue),yn=pn.getPreviewBody(ue),Or=[Cn,yn,{params:Gn}];return te[En].apply(te,Or).then(Te,function(tr){throw new j("Could not get purchase preview","getPurchasePreview",tr)}).catch(function(tr){throw Zn(tr),tr})},getShouldShowPromotion:function(w,ue,Oe){var ft=xl(w,ue),pn=ft.getPromoParams(Oe),En=pn.planIds,Cn=_s()(pn,El),Gn=Nl({newPlanIds:En},Cn);return te.get(H,{params:Gn,paramsSerializer:rl(Gn)}).then(function(yn){return yn.data}).catch(function(yn){var Or=new j("Could not display promotion","getShouldShowPromotion",yn);throw Zn(Or),Or})},validatePromotion:function(w,ue,Oe,ft){var pn=xl(w,ue),En=Nl(Nl({},pn.getPromoParams(Oe)),{},{discountCode:ft});return te.post(fe,En).then(function(Cn){return Cn.data}).catch(function(Cn){var Gn=new j("Could not validate promo code ".concat(ft),"applyPromotion",Cn);throw Zn(Gn),Gn})},purchase:function(w,ue,Oe){return L()(il().m(function ft(){var pn,En,Cn,Gn,yn,Or;return il().w(function(tr){for(;;)switch(tr.n){case 0:return pn=xl(Oe.checkoutType,w),En=pn.getPurchasePath(ue),Cn=pn.getPurchaseAction(),tr.n=1,pn.getPurchaseBody(ue,Oe);case 1:return Gn=tr.v,yn=pn.getPurchaseParams(ue,Oe),Or=[En,Gn,{params:yn}],tr.a(2,te[Cn].apply(te,Or).then(function(co){var lr=co.data||{},mo=lr.preview,na=_s()(lr,Ui);return mo?Te({data:Nl(Nl({},na),mo)}):co.data?un(co):co},function(co){throw new j("Could not make purchase","makePurchase",co)}))}},ft)}))()},confirm:function(w){return te.put("".concat(he,"/").concat(w,"/confirm")).then(un,function(ue){throw new j("Could not confirm purchase","confirmPurchase",ue)}).catch(function(ue){throw Zn(ue),ue})},cancel:function(w){var ue="".concat(he,"/").concat(w,"/");return te.delete(ue).catch(function(Oe){var ft=new j("Could not cancel purchase","cancelPurchase",Oe);throw Zn(ft),ft})},getPurchaseStatus:function(w){var ue,Oe=w.productsInCart,ft=w.purchaseId,pn=w.checkoutType,En=xl(pn,Oe),Cn=((ue=En.getPurchaseStatusPath)===null||ue===void 0?void 0:ue.call(En,ft))||"".concat(he,"/").concat(ft,"/");return te.get(Cn).then(un,function(Gn){throw new j("Could not get purchase status","getPurchaseStatus",Gn)}).catch(function(Gn){throw Zn(Gn),Gn})},getShouldPollStatus:function(w,ue){var Oe=xl(ue.checkoutType,w);return Oe.isPurchaseAsync()&&Oe.shouldWaitForAsyncPurchase()},getWillPurchaseBeComplete:function(w,ue){var Oe=xl(ue.checkoutType,w);return!Oe.isPurchaseAsync()||Oe.shouldWaitForAsyncPurchase()},getLastInvoice:function(){return te.get(me).then(Gt).catch(function(w){var ue=new j("Could not get last invoice","getLastInvoice",w);throw Zn(ue),ue})}};const Kl=Ic;var Jl=function(w){return w.CheckoutCart};const Vi=(0,P.createSelector)(Jl,function(le){var w=Object.keys(le).filter(function(ue){return!Ht()(le[ue])});return w.map(function(ue){return[ue,le[ue]]})});var _c=(0,P.createSelector)(Vi,function(le){var w;return(w=le[0])===null||w===void 0?void 0:w[1]});const mc=_c;var zl=function(w){return w.CustomerInfo};const $l=(0,P.createSelector)(zl,function(le){var w=le.customer;if(!w)return{};var ue=w[M.COUNTRY];return{australianBusinessNumber:w[M.ABN],businessName:w[M.BUSINESS_NAME],canadianGstNumber:w[M.CANADIAN_GST_NUMBER],canadianPstNumber:w[M.CANADIAN_PST_NUMBER],customerCertified:w[M.CUST_CERTIFIED],paymentMethodCountryCode:ue,postalCode:w[M.ZIP],userProvidedCountryCode:ue,vatNumber:w[M.VAT_NUMBER]}});function ln(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function sn(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?ln(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):ln(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var zn=function(w){return w.CheckoutCart},Er=function(w){var ue=w.planId,Oe=w.priceId,ft=w.productMetadata,pn=w.seatOccupants,En=w.numBillingIntervalsInFirstTerm,Cn=w.itemId,Gn=w.dependsOnItemIds;return{planId:ue,priceId:Oe,productMetadata:(ft!=null,ft),seatOccupants:(pn!=null,pn),numBillingIntervalsInFirstTerm:En||1,itemId:Cn??null,dependsOnItemIds:Gn??[]}},zr=function(w){return"items"in w&&Array.isArray(w.items)},Ao=function(w){return w.items.map(Er)};const Zo=(0,P.createSelector)(zn,$l,function(le,w){var ue=Object.keys(le).filter(function(Oe){return!Ht()(le[Oe])});return ue.length?ue.reduce(function(Oe,ft){var pn,En,Cn=le[ft],Gn=zr(Cn)?Ao(Cn):[Er(Cn)],yn=Cn.discountCode,Or=Cn.idempotencyKey;return Oe.newContractRequests=[].concat(Ne()(Oe.newContractRequests),Ne()(Gn)),sn(sn({},Oe),{},{discountCode:(pn=Oe.discountCode)!==null&&pn!==void 0?pn:yn,idempotencyKey:(En=Oe.idempotencyKey)!==null&&En!==void 0?En:Or})},{newContractRequests:[],updatedPaymentInformation:w}):{newContractRequests:[]}});var ia=function(w){return w.CheckoutCart};const So=(0,P.createSelector)(ia,function(le){return Object.keys(le).filter(function(w){return!Ht()(le[w])})});function Ha(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return is(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(is(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,is(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,is(tr,"constructor",yn),is(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",is(yn,ft,"GeneratorFunction"),is(tr),is(tr,ft,"Generator"),is(tr,Oe,function(){return this}),is(tr,"toString",function(){return"[object Generator]"}),(Ha=function(){return{w:pn,m:co}})()}function is(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}is=function(En,Cn,Gn,yn){function Or(tr,co){is(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},is(le,w,ue,Oe)}var as=function(le){return le.REQUEST_PREVIEW="REQUEST_PREVIEW",le.PREVIEW_SUCCESS="PREVIEW_SUCCESS",le.PREVIEW_ERROR="PREVIEW_ERROR",le.TRACK_ORDER_DETAILS_PREVIEW="TRACK_ORDER_DETAILS_PREVIEW",le}({}),es=function(){return function(){var w=L()(Ha().m(function ue(Oe,ft){var pn,En,Cn,Gn,yn,Or,tr;return Ha().w(function(co){for(;;)switch(co.p=co.n){case 0:if(pn=ft(),En=So(pn),En.length){co.n=1;break}return co.a(2);case 1:return Oe({type:as.REQUEST_PREVIEW}),Cn=function(){var mo=pn.CheckoutFlowInfo.checkoutType,na=Ni(mo,En)?Zo(pn):mc(pn),ya={checkoutType:pn.CheckoutFlowInfo.checkoutType};return Kl.preview(En,na,ya)},co.p=2,co.n=3,Cn();case 3:Gn=co.v,yn=Gn.data,Oe({type:as.PREVIEW_SUCCESS,orderPreview:yn}),co.n=5;break;case 4:co.p=4,tr=co.v,Oe({type:as.PREVIEW_ERROR,error:(tr==null||(Or=tr.response)===null||Or===void 0?void 0:Or.data)||tr});case 5:return co.a(2)}},ue,null,[[2,4]])}));return function(ue,Oe){return w.apply(this,arguments)}}()},Qs=function(){return{type:as.TRACK_ORDER_DETAILS_PREVIEW}},Rs={loadAcceptedCurrencies:function(w){return te.get(J,{params:w}).catch(function(ue){throw new j("Could not load accepted currencies","loadAcceptedCurrencies",ue)})}};const rs=Rs;function Cs(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Fs(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Fs(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Fs(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Fs(tr,"constructor",yn),Fs(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Fs(yn,ft,"GeneratorFunction"),Fs(tr),Fs(tr,ft,"Generator"),Fs(tr,Oe,function(){return this}),Fs(tr,"toString",function(){return"[object Generator]"}),(Cs=function(){return{w:pn,m:co}})()}function Fs(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Fs=function(En,Cn,Gn,yn){function Or(tr,co){Fs(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Fs(le,w,ue,Oe)}var Ks=function(le){return le.REQUEST_ACCEPTED_CURRENCIES="REQUEST_ACCEPTED_CURRENCIES",le.ACCEPTED_CURRENCIES_SUCCESS="ACCEPTED_CURRENCIES_SUCCESS",le.ACCEPTED_CURRENCIES_ERROR="ACCEPTED_CURRENCIES_ERROR",le.TRACK_CURRENCY_CHANGE="TRACK_CURRENCY_CHANGE",le.SET_CURRENCY_CODE_FOR_EVENTS="SET_CURRENCY_CODE_FOR_EVENTS",le.SET_RESTRICTED_PAYMENT_METHODS="SET_RESTRICTED_PAYMENT_METHODS",le}({}),Ls=function(w){return function(){var ue=L()(Cs().m(function Oe(ft){var pn,En,Cn;return Cs().w(function(Gn){for(;;)switch(Gn.p=Gn.n){case 0:return ft({type:Ks.REQUEST_ACCEPTED_CURRENCIES}),Gn.p=1,Gn.n=2,rs.loadAcceptedCurrencies({locale:w});case 2:pn=Gn.v,En=pn.data.results,ft({type:Ks.ACCEPTED_CURRENCIES_SUCCESS,acceptedCurrencies:En}),Gn.n=4;break;case 3:Gn.p=3,Cn=Gn.v,ft({type:Ks.ACCEPTED_CURRENCIES_ERROR,error:Cn});case 4:return Gn.a(2)}},Oe,null,[[1,3]])}));return function(Oe){return ue.apply(this,arguments)}}()},Js=function(w){return{type:Ks.TRACK_CURRENCY_CHANGE,currencyCode:w}},Ts=function(w){return{type:Ks.SET_CURRENCY_CODE_FOR_EVENTS,currencyCode:w}},zs=function(w){return{type:Ks.SET_RESTRICTED_PAYMENT_METHODS,restrictedPaymentMethods:w}};function Bi(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function qs(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Bi(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Bi(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}function Ti(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return ui(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(ui(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,ui(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,ui(tr,"constructor",yn),ui(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",ui(yn,ft,"GeneratorFunction"),ui(tr),ui(tr,ft,"Generator"),ui(tr,Oe,function(){return this}),ui(tr,"toString",function(){return"[object Generator]"}),(Ti=function(){return{w:pn,m:co}})()}function ui(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}ui=function(En,Cn,Gn,yn){function Or(tr,co){ui(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},ui(le,w,ue,Oe)}var qi=kt().CARD,Ko=function(le){return le.FETCH_CUSTOMER="FETCH_CUSTOMER",le.FETCH_CUSTOMER_SUCCESS="FETCH_CUSTOMER_SUCCESS",le.FETCH_CUSTOMER_ERROR="FETCH_CUSTOMER_ERROR",le.FETCH_TAX_VALIDATION="FETCH_TAX_VALIDATION",le.FETCH_TAX_VALIDATION_SUCCESS="FETCH_TAX_VALIDATION_SUCCESS",le.FETCH_TAX_VALIDATION_FAILURE="FETCH_TAX_VALIDATION_FAILURE",le.CHANGE_CUSTOMER="CHANGE_CUSTOMER",le.SET_VALIDATION_ERRORS="SET_VALIDATION_ERRORS",le.SET_DETECTED_CUSTOMER_COUNTRY="SET_DETECTED_CUSTOMER_COUNTRY",le.SET_CARD_TOKEN="SET_CARD_TOKEN",le.VALIDATE_CUSTOMER_SUCCESS="VALIDATE_CUSTOMER_SUCCESS",le.SAVING_CUSTOMER="SAVING_CUSTOMER",le.SAVE_CUSTOMER_SUCCESS="SAVE_CUSTOMER_SUCCESS",le.SAVE_CUSTOMER_ERROR="SAVE_CUSTOMER_ERROR",le.FETCH_CUSTOMER_INCOMPLETE="FETCH_CUSTOMER_INCOMPLETE",le.DISCARD_TAX_LOCATION_CHANGES="DISCARD_TAX_LOCATION_CHANGES",le.DISCARD_PAYMENT_CHANGES="DISCARD_PAYMENT_CHANGES",le.DISCARD_CHANGES="DISCARD_CUSTOMER_PAYMENT_CHANGES",le}({}),Ur=function(w){return{type:Ko.CHANGE_CUSTOMER,changes:w}},aa=function(w){return{type:Ko.SET_DETECTED_CUSTOMER_COUNTRY,country:w}},ca=function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{bypassPaymentScreensIfPaymentMethod:!1,locale:void 0},ue=w.bypassPaymentScreensIfPaymentMethod,Oe=w.locale;return function(){var ft=L()(Ti().m(function pn(En,Cn){var Gn,yn,Or,tr,co,lr,mo,na,ya;return Ti().w(function(da){for(;;)switch(da.p=da.n){case 0:return En({type:Ko.FETCH_CUSTOMER}),da.p=1,da.n=2,Wt.loadCustomer();case 2:Or=da.v,tr=Or.data,co=!!(!(tr==null||(yn=tr.paymentMethod)===null||yn===void 0)&&yn.type),lr=!Lo(tr),En(As(tr)),ue&&co&&lr&&En({type:el.GOTO_SCREEN_NO_TRANSITION,screenIndex:2}),da.n=4;break;case 3:return da.p=3,na=da.v,da.n=4,Ri()(En);case 4:return da.n=5,Ls(Oe)(En);case 5:if(mo=(Gn=Cn().CustomerInfo.customer)===null||Gn===void 0?void 0:Gn.country,mo){da.n=9;break}return da.p=6,da.n=7,et();case 7:mo=da.v,En(aa(mo)),da.n=9;break;case 8:da.p=8,ya=da.v,Zn(ya);case 9:if(mo==="US"){da.n=10;break}return da.n=10,En(Ye());case 10:return da.a(2)}},pn,null,[[6,8],[1,3]])}));return function(pn,En){return ft.apply(this,arguments)}}()};function As(le){return{type:Ko.FETCH_CUSTOMER_SUCCESS,customer:le}}function Ri(){return function(){var le=L()(Ti().m(function w(ue){var Oe;return Ti().w(function(ft){for(;;)switch(ft.p=ft.n){case 0:return ft.p=0,ft.n=1,Wt.createCustomerStub();case 1:ue({type:Ko.FETCH_CUSTOMER_ERROR}),ft.n=3;break;case 2:ft.p=2,Oe=ft.v,Zn(Oe);case 3:return ft.a(2)}},w,null,[[0,2]])}));return function(w){return le.apply(this,arguments)}}()}var Ei=function(w){return{type:Ko.CHANGE_CUSTOMER,changes:w}},pi=function(){return function(w,ue){var Oe=ue().CustomerInfo.customer;w({type:Ko.SAVING_CUSTOMER,countryCode:Oe==null?void 0:Oe.country,postalCode:Oe==null?void 0:Oe.zip})}},Gi=function(){return function(w){w({type:Ko.VALIDATE_CUSTOMER_SUCCESS})}},Eo=function(w){return function(ue){ue({type:Ko.SAVE_CUSTOMER_SUCCESS,customer:w}),ue(es())}},_l=function(w){return function(ue){ue({type:Ko.SAVE_CUSTOMER_ERROR,errors:w})}},Al=function(w){return function(ue){if(ue({type:Ko.SET_VALIDATION_ERRORS,errors:w}),w){var Oe=Pr(w);ue(Pi(Oe))}}},Pl=function(){return function(w){w(Ai()),w({type:Ko.DISCARD_CHANGES})}},Wi=function(){return function(w){w(Ai()),w({type:Ko.DISCARD_PAYMENT_CHANGES})}},Mc=function(){return function(w){w({type:Ko.DISCARD_TAX_LOCATION_CHANGES})}};function Fc(){return function(){var le=L()(Ti().m(function w(ue,Oe){var ft,pn,En,Cn,Gn,yn,Or,tr;return Ti().w(function(co){for(;;)switch(co.p=co.n){case 0:return ue({type:Ko.FETCH_TAX_VALIDATION}),ft=Oe(),pn=ft.CustomerInfo.customer,co.p=1,En=Dr(pn),co.n=2,Ae.getTaxLiability(qs(qs({},En),{},{postalCode:pn==null?void 0:pn.zip,userProvidedCountryCode:pn==null?void 0:pn.country,creditCardCountryCode:pn==null?void 0:pn.country}));case 2:Cn=co.v,Gn=Cn.data,yn=Gn.type!==(pn==null?void 0:pn.type),Or=qs(_()(_()(_()(_()(_()({},M.TAX_TYPE,Gn[M.TAX_TYPE]),M.IS_ABN_VALID,Gn[M.IS_ABN_VALID]),M.IS_VAT_VALID,Gn[M.IS_VAT_VALID]),M.IS_CA_GST_VALID,Gn[M.IS_CA_GST_VALID]),M.IS_CA_PST_VALID,Gn[M.IS_CA_PST_VALID]),yn&&_()(_()(_()(_()(_()(_()({},M.BUSINESS_NAME,null),M.VAT_NUMBER,null),M.CANADIAN_GST_NUMBER,null),M.CANADIAN_PST_NUMBER,null),M.ABN,null),M.CUST_CERTIFIED,!1)),ue({type:Ko.FETCH_TAX_VALIDATION_SUCCESS,validationResult:Or}),Ou(En,Or)&&ue(es()),co.n=4;break;case 3:co.p=3,tr=co.v,ue({type:Ko.FETCH_TAX_VALIDATION_FAILURE});case 4:return co.a(2)}},w,null,[[1,3]])}));return function(w,ue){return le.apply(this,arguments)}}()}function Ou(le,w){return Object.keys(w).some(function(ue){return le[ue]!==w[ue]})}var Rl=function(le){return le.SET_FORM_DIRTY_STATE="SET_FORM_IN_PROGRESS",le.DISCARD_FORM_DIRTY_STATE="DISCARD_FORM_UPDATES",le.SHOW_CONFIRMATION_MODAL="SHOW_CONFIRMATION_MODAL",le.DISMISS_CONFIRMATION_MODAL="DISMISS_CONFIRMATION_MODAL",le.RESET_ON_MODAL_CLOSE="RESET_ON_MODAL_CLOSE",le.TOGGLE_UC_MODAL_FOCUS_LOCK="TOGGLE_UC_MODAL_FOCUS_LOCK",le}({}),gu=function(w){return function(ue){ue({type:Rl.SET_FORM_DIRTY_STATE,isDirty:w})}},Hl=function(){return function(w,ue){var Oe=ue().UI.isFormInDirtyState;Oe&&(w({type:Rl.DISCARD_FORM_DIRTY_STATE}),w(es()))}},Cl=function(w){return function(ue){ue({type:Rl.SHOW_CONFIRMATION_MODAL,onConfirmationDismissal:w})}},Dl=function(){return function(w){w({type:Rl.DISMISS_CONFIRMATION_MODAL})}},kl=function(){return{type:Rl.RESET_ON_MODAL_CLOSE}},ll=function(w){return{type:Rl.TOGGLE_UC_MODAL_FOCUS_LOCK,isUCModalFocusLocked:w}},el=function(le){return le.GOTO_PREV="GOTO_PREV",le.GOTO_NEXT="GOTO_NEXT",le.GOTO_SCREEN_NO_TRANSITION="GOTO_SCREEN_NO_TRANSITION",le.UPDATE_DIRECTION="UPDATE_DIRECTION",le.FINISH_SCREEN_ANIMATION="FINISH_SCREEN_ANIMATION",le.SET_SCREEN_LIST="SET_SCREEN_LIST",le.TRACK_VIEW="TRACK_VIEW",le}({}),vc=625,Bl=function(le){return le.FORWARD="forward",le.BACK="back",le}({}),oc=null,Wc=function(w){oc&&clearTimeout(oc),oc=setTimeout(function(){w({type:el.FINISH_SCREEN_ANIMATION})},vc)},Ll=function(w){return function(ue,Oe){var ft=Oe(),pn=ft.RouterReducer.screens,En=pn[w];(En==null?void 0:En.page)===O.CREDIT_CARD?ue(Ys()):ue(Wi()),(En==null?void 0:En.page)!==O.BILLING_ADDRESS&&ue(Mc())}},Qa=function(){return function(w,ue){var Oe=E(ue()),ft=ue(),pn=ft.UI.isFormInDirtyState;if(pn)w(Cl(function(){w(Hl()),w(Qa())}));else{Oe(),w({type:el.UPDATE_DIRECTION,direction:Bl.BACK});var En=S(ue());w(Ll(En)),w({type:el.GOTO_PREV,screenIndex:En}),Wc(w)}}},Eu=function(w){return function(ue,Oe){var ft=E(Oe());ft(),ue({type:el.UPDATE_DIRECTION,direction:Bl.FORWARD}),ue({type:el.GOTO_NEXT,screenIndex:S(Oe()),objectIdentifier:w}),Wc(ue)}},Ul=function(w,ue){return function(Oe,ft){var pn=E(ft()),En=ft(),Cn=En.UI.isFormInDirtyState;Cn?Oe(Cl(function(){Oe(Hl()),Oe(Ul(w,ue))})):(pn(),Oe(Ll(w)),Oe({type:ue?el.GOTO_NEXT:el.GOTO_PREV,screenIndex:w}),Wc(Oe))}},ql=function(){return function(w,ue){var Oe=E(ue()),ft=ue(),pn=ft.RouterReducer.currentScreenIndex;Oe(),w({type:el.UPDATE_DIRECTION,direction:Bl.FORWARD}),w({type:el.GOTO_NEXT,screenIndex:pn+1}),Wc(w)}},Sc=function(w){return{type:el.SET_SCREEN_LIST,screens:w}},Rc=function(){return{type:el.TRACK_VIEW}};function Mu(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function dc(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Mu(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Mu(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var ec={currentScreenIndex:0,exitingScreenIndex:null,direction:Bl.FORWARD,screens:[],isScreenTransitioning:!1};const tc=function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ec,w=arguments.length>1?arguments[1]:void 0;switch(w.type){case el.GOTO_PREV:return dc(dc({},le),{},{isScreenTransitioning:!0,exitingScreenIndex:le.currentScreenIndex,currentScreenIndex:w.screenIndex,direction:Bl.BACK});case el.GOTO_NEXT:return dc(dc({},le),{},{isScreenTransitioning:!0,exitingScreenIndex:le.currentScreenIndex,currentScreenIndex:w.screenIndex,direction:Bl.FORWARD});case el.GOTO_SCREEN_NO_TRANSITION:return dc(dc({},le),{},{currentScreenIndex:w.screenIndex});case el.UPDATE_DIRECTION:return dc(dc({},le),{},{direction:w.direction});case el.FINISH_SCREEN_ANIMATION:return dc(dc({},le),{},{exitingScreenIndex:null,isScreenTransitioning:!1});case el.SET_SCREEN_LIST:return dc(dc({},le),{},{screens:w.screens});case Rl.RESET_ON_MODAL_CLOSE:return dc(dc({},ec),{},{screens:le.screens});default:return le}};var qc=e(646715),hu=e.n(qc);function Tc(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function ac(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Tc(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Tc(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}function sc(le,w){var ue=ac({},le);return le.additionalCartInfo&&(ue.additionalCartInfo=hu()({},w.additionalCartInfo,le.additionalCartInfo)),ue}function wc(le,w,ue){var Oe=ac({},w);return le===hs().DOMAIN&&(w.domainName||ue.domainName)?(Oe.numBillingIntervalsInFirstTerm=w.numBillingIntervalsInFirstTerm||ue.numBillingIntervalsInFirstTerm||1,Oe):{}}function Nc(le,w,ue){if("items"in w&&Array.isArray(w.items))return w;var Oe=wc(le,w,ue),ft=sc(w,ue);return ac(ac({},ft),Oe)}function Kc(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Yl(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Kc(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Kc(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var ou=function(w){var ue=w.currentDomainCart,Oe=w.domainName;if(!ue.items||ue.items.length===0)return ue;var ft=ue.items.filter(function(pn){return pn.productMetadata&&pn.productMetadata.length>0?pn.productMetadata.every(function(En){return En.domainName!==Oe}):!0});return Yl(Yl({},ue),{},{items:ft})};function ur(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Xr(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Xr(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Xr(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Xr(tr,"constructor",yn),Xr(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Xr(yn,ft,"GeneratorFunction"),Xr(tr),Xr(tr,ft,"Generator"),Xr(tr,Oe,function(){return this}),Xr(tr,"toString",function(){return"[object Generator]"}),(ur=function(){return{w:pn,m:co}})()}function Xr(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Xr=function(En,Cn,Gn,yn){function Or(tr,co){Xr(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Xr(le,w,ue,Oe)}var Fr=function(le){return le.WRITE_ITEM_TO_CART="WRITE_ITEM_TO_CART",le.UPDATE_ITEM_IN_CART="UPDATE_ITEM_IN_CART",le.REMOVE_ITEM_IN_CART="REMOVE_ITEM_IN_CART",le.REPLACE_CART="REPLACE_CART",le.CLEAR_CART="CLEAR_CART",le}({}),kr=function(w,ue){return function(Oe){var ft={type:ue,payload:w};jt("Universal Checkout cart modified",ft),Oe(ft),Oe(es())}},Ge=function(w){return kr(w,Fr.WRITE_ITEM_TO_CART)},An=function(w){return function(){var ue=_asyncToGenerator(ur().m(function Oe(ft){return ur().w(function(pn){for(;;)switch(pn.n){case 0:createBreadcrumb("Universal Checkout cart modified",{type:Fr.WRITE_ITEM_TO_CART,payload:w}),ft({type:Fr.WRITE_ITEM_TO_CART,payload:w});case 1:return pn.a(2)}},Oe)}));return function(Oe){return ue.apply(this,arguments)}}()},Yt=function(w){return function(ue,Oe){var ft=w.productType,pn=w.itemKey,En=Oe().CheckoutCart,Cn=En[hs().DOMAIN],Gn=ou({currentDomainCart:Cn,domainName:pn}),yn={type:Fr.REMOVE_ITEM_IN_CART,product:ft,updatedItemList:Nc(ft,Gn,Oe().CheckoutCart[ft])};ue(Ms(pn)),jt("Universal Checkout item removed from cart",yn),ue(yn),ue(es())}},fn=function(w){return kr(w,Fr.UPDATE_ITEM_IN_CART)},Br=function(){return function(w){w({type:Fr.CLEAR_CART})}},yo=e(169295),Jo=e.n(yo);function sa(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return la(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(la(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,la(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,la(tr,"constructor",yn),la(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",la(yn,ft,"GeneratorFunction"),la(tr),la(tr,ft,"Generator"),la(tr,Oe,function(){return this}),la(tr,"toString",function(){return"[object Generator]"}),(sa=function(){return{w:pn,m:co}})()}function la(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}la=function(En,Cn,Gn,yn){function Or(tr,co){la(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},la(le,w,ue,Oe)}var va=function(le){return le.REQUEST_PROMO="REQUEST_PROMO",le.DISPLAY_PROMO_SUCCESS="DISPLAY_PROMO_SUCCESS",le.VALIDATE_PROMO_SUCCESS="VALIDATE_PROMO_SUCCESS",le.PROMO_ERROR="PROMO_ERROR",le.PROMO_CODE_INVALID="PROMO_CODE_INVALID",le.CLEAR_PROMO_ERROR="CLEAR_PROMO_ERROR",le.INSERT_PROMO_CODE="INSERT_PROMO_CODE",le.REMOVE_PROMO_CODE="REMOVE_PROMO_CODE",le}({}),Ra=function(){return function(){var w=L()(sa().m(function ue(Oe,ft){var pn,En,Cn,Gn,yn,Or;return sa().w(function(tr){for(;;)switch(tr.p=tr.n){case 0:return Oe({type:va.REQUEST_PROMO}),pn=ft(),En=So(pn),Cn=pn.CheckoutFlowInfo.checkoutType,Gn=Ni(Cn,En)?Zo(pn):mc(pn),tr.p=1,tr.n=2,Kl.getShouldShowPromotion(Cn,En,Gn);case 2:yn=tr.v,Oe({type:va.DISPLAY_PROMO_SUCCESS,canUsePromoCode:yn}),tr.n=4;break;case 3:tr.p=3,Or=tr.v,Oe({type:va.PROMO_ERROR});case 4:return tr.a(2)}},ue,null,[[1,3]])}));return function(ue,Oe){return w.apply(this,arguments)}}()},Ya=function(w){return function(){var ue=L()(sa().m(function Oe(ft,pn){var En,Cn,Gn,yn,Or,tr,co;return sa().w(function(lr){for(;;)switch(lr.p=lr.n){case 0:return ft({type:va.REQUEST_PROMO}),En=pn(),Cn=So(En),Gn=En.CheckoutFlowInfo.checkoutType,yn=Ni(Gn,Cn)?Zo(En):mc(En),lr.p=1,lr.n=2,Kl.validatePromotion(Gn,Cn,yn,w);case 2:Or=lr.v,Or===Jo().SHOULD_APPLY_TO_CART?(tr={type:va.INSERT_PROMO_CODE,discountCode:w},ft(tr),jt("Universal Checkout discount code applied",w),ft(es())):ft({type:va.PROMO_CODE_INVALID,validationErrorCode:Or}),lr.n=4;break;case 3:lr.p=3,co=lr.v,ft({type:va.PROMO_ERROR});case 4:return lr.a(2)}},Oe,null,[[1,3]])}));return function(Oe,ft){return ue.apply(this,arguments)}}()},wa=function(w){return function(ue){var Oe={type:va.REMOVE_PROMO_CODE,discountCode:w};jt("Universal Checkout discount code removed",w),ue(Oe),ue(es())}},xa=function(){return{type:va.CLEAR_PROMO_ERROR}};function Ds(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function ws(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Ds(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Ds(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var Di=Object.values(hs()).reduce(function(le,w){return ws(ws({},le),{},_()({},w,{}))},{});const ai=Di;var yl=["discountCode"];function ml(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Ii(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?ml(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):ml(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var Xi=Ii({},ai);const zi=function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xi,w=arguments.length>1?arguments[1]:void 0;switch(w.type){case Fr.UPDATE_ITEM_IN_CART:return Object.entries(w.payload).reduce(function(ue,Oe){var ft=we()(Oe,2),pn=ft[0],En=ft[1];return Ii(Ii({},ue),{},_()({},pn,Ii(Ii({},le[pn]),Nc(pn,En,le[pn]))))},le);case Fr.WRITE_ITEM_TO_CART:return Object.entries(w.payload).reduce(function(ue,Oe){var ft=we()(Oe,2),pn=ft[0],En=ft[1];return Ii(Ii({},ue),{},_()({},pn,Ii(Ii(Ii({},le[pn]),Nc(pn,En,le[pn])),{},{cartItemIdentifier:(0,qe.Z)()})))},le);case Fr.REMOVE_ITEM_IN_CART:return Ii(Ii({},le),{},_()({},w.product,Ii(Ii({},le[w.product]),w.updatedItemList)));case va.INSERT_PROMO_CODE:return Object.keys(le).reduce(function(ue,Oe){return Ht()(le[Oe])?ue:Ii(Ii({},ue),{},_()({},Oe,Ii(Ii({},le[Oe]),{},{discountCode:w.discountCode})))},le);case va.REMOVE_PROMO_CODE:case va.PROMO_ERROR:return Object.entries(le).reduce(function(ue,Oe){var ft=we()(Oe,2),pn=ft[0],En=ft[1],Cn=En.discountCode,Gn=_s()(En,yl);return Ii(Ii({},ue),{},_()({},pn,Ii({},Gn)))},le);case Fr.REPLACE_CART:return Ii(Ii({},Xi),w.payload);case Fr.CLEAR_CART:return Ii({},Xi);default:return le}};var Sl=function(){try{var w,ue=new URLSearchParams((w=window.location)===null||w===void 0?void 0:w.search);return(ue==null?void 0:ue.get("cartId"))||null}catch{return null}};const gc=Sl;var Xl=function(le){return le.SQUARESPACE="SQUARESPACE",le.DOMAIN="DOMAIN",le.RESOLD_DOMAIN="RESOLD_DOMAIN",le.SCHEDULING="SCHEDULING",le.WEBSITE="WEBSITE",le.RESOLD_WEBSITE="RESOLD_WEBSITE",le.MEMBER_AREAS="MEMBER_AREAS",le.CAMPAIGNS="CAMPAIGNS",le.GOOGLE_WORKSPACE="GOOGLE_WORKSPACE",le.SHIPPING_LABEL="SHIPPING_LABEL",le.GETTY_IMAGE="GETTY_IMAGE",le}({}),yc=function(le){return le.PURCHASED="PURCHASED",le.IN_PROGRESS="IN_PROGRESS",le}({}),Zc={loadCart:function(){var w=gc();return te.get("".concat(_e,"/").concat(w)).then(function(ue){return ue.data}).catch(function(ue){var Oe=new j("Could not fetch cart","loadCart",ue);throw Zn(Oe),Oe})},updateCartStatus:function(){var w=gc(),ue={status:yc.PURCHASED};return te.put("".concat(_e,"/").concat(w,"/status"),ue).then(function(Oe){return Oe.data}).catch(function(Oe){var ft=new j("Could not set the cart as purchased","updateCartStatus",Oe);throw Zn(ft),ft})}};const Rd=Zc;var _u=e(961812),td=e.n(_u),Hu=e(881893),Ru=e.n(Hu);function Pu(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Oc(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Pu(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Pu(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var vf=function(w){var ue=w[0].metadata;return Ot()(ue)==="object"&&Object.keys(ue).length===0},nd=function(w){var ue=w.cart,Oe=w.planType;return ue[Oe]&&Object.keys(ue[Oe]).length>0},ld=function(w){var ue=w.productMetadataList;if(!(!ue||vf(ue)))return ue.map(function(Oe){var ft=Oe.metadata,pn=Oe.productType,En=pn===Xl.GOOGLE_WORKSPACE?hs().GOOGLE_WORKSPACE:pn.toLowerCase(),Cn={};if(En===hs().DOMAIN){var Gn=ft.contactId,yn=ft.tldInfoId,Or=ft.premiumPrice,tr=ft.domainName;Cn={domainContractCreationType:td().NEW_PURCHASE,domainTask:{domainPurchaseFlowId:tr,query:"",type:Ru().SQUARESPACE,adminContactId:Gn,billingContactId:Gn,ownerContactId:Gn,techContactId:Gn,tldInfoId:yn,premiumPrice:Or,billingServicePlanId:w.planId,domainName:tr,numBillingIntervalsInFirstTerm:w.termLength}}}if(En===hs().GOOGLE_WORKSPACE){var co=ft.administrativeContact,lr=ft.users;Cn={emailContractCreationType:"NEW_PURCHASE",administrativeContact:co,users:lr}}return Oc({domainName:ft.domainName,productType:En},Cn)})},Wl=function(w){var ue;return w.productMetadataList?(ue=w.productMetadataList[0].origin)===null||ue===void 0?void 0:ue.isAddOn:!1},Ql=function(w){var ue=w.planId,Oe=w.termLength,ft=w.id,pn=w.dependsOnItemIds;return{planId:ue,itemId:ft??null,productMetadata:ld(w),isAddOn:Wl(w),numBillingIntervalsInFirstTerm:Oe,dependsOnItemIds:pn||[]}},gd=function(w){return w.items.reduce(function(ue,Oe){var ft=Oe.planType.toLowerCase();if(ft==="GOOGLE_WORKSPACE".toLowerCase()&&(ft=hs().GOOGLE_WORKSPACE),nd({cart:ue,planType:ft})){var pn;ue[ft]=Oc(Oc({},ue[ft]),{},{items:[].concat(Ne()(((pn=ue[ft])===null||pn===void 0?void 0:pn.items)||[]),[Ql(Oe)])})}else{var En;ue[ft]={currencyCode:w.currency,discountCode:(En=w.discountCodes)===null||En===void 0?void 0:En[0],items:[Ql(Oe)]}}return ue},{})};const rd=gd;var Zu=function(w){var ue=w.split("_"),Oe=ue==null?void 0:ue[ue.length-1];return Oe};function Cu(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return eu(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(eu(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,eu(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,eu(tr,"constructor",yn),eu(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",eu(yn,ft,"GeneratorFunction"),eu(tr),eu(tr,ft,"Generator"),eu(tr,Oe,function(){return this}),eu(tr,"toString",function(){return"[object Generator]"}),(Cu=function(){return{w:pn,m:co}})()}function eu(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}eu=function(En,Cn,Gn,yn){function Or(tr,co){eu(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},eu(le,w,ue,Oe)}var Uu=function(le){return le.FETCH_CART="FETCH_CART",le.FETCH_CART_SUCCESS="FETCH_CART_SUCCESS",le.FETCH_CART_ERROR="FETCH_CART_ERROR",le.SET_CART_STATUS_SUCCESS="SET_CART_STATUS_SUCCESS",le}({}),Bc=function(le){return le.CART_STATUS_INVALID="CART_STATUS_INVALID",le.API_ERROR="API_ERROR",le}({}),Ed=function(){return function(){var w=L()(Cu().m(function ue(Oe){var ft,pn,En,Cn;return Cu().w(function(Gn){for(;;)switch(Gn.p=Gn.n){case 0:return Oe({type:Uu.FETCH_CART}),Gn.p=1,Gn.n=2,Rd.loadCart();case 2:if(ft=Gn.v,ft.status===yc.IN_PROGRESS){Gn.n=3;break}return pn=Bc.CART_STATUS_INVALID,Oe({type:Uu.FETCH_CART_ERROR,error:pn}),Zn(new Error(pn)),Gn.a(2);case 3:En=rd(ft),Oe({type:Fr.REPLACE_CART,payload:En}),Oe({type:Uu.FETCH_CART_SUCCESS,payload:ft}),Gn.n=5;break;case 4:Gn.p=4,Cn=Gn.v,Oe({type:Uu.FETCH_CART_ERROR,error:Bc.API_ERROR});case 5:return Gn.a(2)}},ue,null,[[1,4]])}));return function(ue){return w.apply(this,arguments)}}()},Fu=function(){return function(){var w=L()(Cu().m(function ue(Oe,ft){var pn,En;return Cu().w(function(Cn){for(;;)switch(Cn.n){case 0:return Cn.n=1,Oe(Ed());case 1:if(pn=ft().Cart,!pn.projectId){Cn.n=3;break}return En=Zu(pn.projectId),te.defaults.headers.common.websiteId=En,Cn.n=2,Oe(ca({bypassPaymentScreensIfPaymentMethod:!0}));case 2:Oe(es());case 3:return Cn.a(2)}},ue)}));return function(ue,Oe){return w.apply(this,arguments)}}()},Ut=function(){return function(){var w=L()(Cu().m(function ue(Oe,ft){var pn,En;return Cu().w(function(Cn){for(;;)switch(Cn.p=Cn.n){case 0:if(pn=ft().Cart,!pn.isCartLoaded){Cn.n=4;break}return Cn.p=1,Cn.n=2,Rd.updateCartStatus();case 2:Oe({type:Uu.SET_CART_STATUS_SUCCESS}),Cn.n=4;break;case 3:Cn.p=3,En=Cn.v;case 4:return Cn.a(2)}},ue,null,[[1,3]])}));return function(ue,Oe){return w.apply(this,arguments)}}()};function Q(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function De(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Q(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Q(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var at={currency:"USD",isLoadingCart:!1,isCartLoaded:!1,status:yc.IN_PROGRESS};const Dt=function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:at,w=arguments.length>1?arguments[1]:void 0;switch(w.type){case Uu.FETCH_CART_SUCCESS:return De(De({},at),{},{currency:w.payload.currency,projectId:w.payload.projectId,status:w.payload.status,isCartLoaded:!0});case Uu.FETCH_CART:return De(De({},le),{},{isLoadingCart:!0});case Uu.FETCH_CART_ERROR:return De(De({},at),{},{isLoadingCart:!1,error:w.error});case Uu.SET_CART_STATUS_SUCCESS:return De(De({},le),{},{status:yc.PURCHASED});default:return le}};function zt(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Qn(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?zt(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):zt(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var Cr={isLoading:!1,acceptedCurrencies:[],error:null,restrictedPaymentMethods:[]};const wr=function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Cr,w=arguments.length>1?arguments[1]:void 0;switch(w.type){case Ks.REQUEST_ACCEPTED_CURRENCIES:return Qn(Qn({},le),{},{isLoading:!0,error:null});case Ks.ACCEPTED_CURRENCIES_SUCCESS:return Qn(Qn({},le),{},{isLoading:!1,acceptedCurrencies:w.acceptedCurrencies});case Ks.ACCEPTED_CURRENCIES_ERROR:return Qn(Qn({},le),{},{isLoading:!1,error:w.error});case Ks.SET_CURRENCY_CODE_FOR_EVENTS:return Qn(Qn({},le),{},{currencyCodeForEvents:w.currencyCode});case Ks.SET_RESTRICTED_PAYMENT_METHODS:return Qn(Qn({},le),{},{restrictedPaymentMethods:w.restrictedPaymentMethods});default:return le}};function No(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Co(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?No(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):No(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}const Ro=function(le){var w=Co(Co({},le),le.taxStatus);return delete w.taxStatus,w},Qo=function(le){return le!=null&&le.errors?Object.entries(le.errors).reduce(function(w,ue){var Oe=we()(ue,2),ft=Oe[0],pn=Oe[1];return w[ft]={message:pn,id:(0,qe.Z)()},w},{}):null};function ka(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Ca(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?ka(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):ka(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var ls={isLoading:!1,isLoadingTaxStatus:!1,customer:null,savedCustomer:null,validationErrors:null,serverErrors:null};const vs=function(){var le,w,ue,Oe,ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ls,pn=arguments.length>1?arguments[1]:void 0;switch(pn.type){case Ko.FETCH_CUSTOMER:return Ca(Ca({},ft),{},{savedCustomer:null,customer:null,isLoading:!0});case Ko.FETCH_CUSTOMER_SUCCESS:{var En=Ro(pn.customer);return Rn(En),Ca(Ca({},ft),{},{savedCustomer:En,customer:En,isLoading:!1})}case Ko.FETCH_CUSTOMER_ERROR:return Ca(Ca({},ft),{},{savedCustomer:null,customer:null,isLoading:!1});case Ko.FETCH_TAX_VALIDATION:return Ca(Ca({},ft),{},{isLoadingTaxStatus:!0});case Ko.FETCH_TAX_VALIDATION_SUCCESS:return Ca(Ca({},ft),{},{isLoadingTaxStatus:!1,customer:Ca(Ca({},ft.customer),pn.validationResult)});case Ko.FETCH_TAX_VALIDATION_FAILURE:return Ca(Ca({},ft),{},{isLoadingTaxStatus:!1});case Ko.SET_VALIDATION_ERRORS:return Ca(Ca({},ft),{},{validationErrors:pn.errors});case Ko.SET_DETECTED_CUSTOMER_COUNTRY:return Ca(Ca({},ft),{},{customer:Ca(Ca({},ft.customer),{},{country:pn.country})});case Ko.CHANGE_CUSTOMER:return Ca(Ca({},ft),{},{customer:Ca(Ca(Ca({},ft.customer),pn.changes),{},{paymentMethod:Ca(Ca({},(le=ft.customer)===null||le===void 0?void 0:le.paymentMethod),pn.changes.paymentMethod)}),validationErrors:Ar(ft.validationErrors,pn.changes),serverErrors:Ar(ft.serverErrors,pn.changes)});case Ko.DISCARD_CHANGES:return Ca(Ca({},ft),{},{customer:ft.savedCustomer,validationErrors:null,serverErrors:null});case Ko.DISCARD_TAX_LOCATION_CHANGES:return Ca(Ca({},ft),{},{customer:Ca(Ca({},ft.savedCustomer),{},{paymentMethod:Ca({},(w=ft.savedCustomer)===null||w===void 0?void 0:w.paymentMethod)}),validationErrors:Yr(ft.validationErrors,[].concat(Ne()(qr),Ne()(Object.values(F))))});case Ko.DISCARD_PAYMENT_CHANGES:return Ca(Ca({},ft),{},{customer:Ca(Ca({},ft.customer),{},{paymentMethod:Ca({},(ue=ft.savedCustomer)===null||ue===void 0?void 0:ue.paymentMethod)}),validationErrors:Yr(ft.validationErrors,[M.CUSTOMER_NAME,M.CARD_NUMBER,M.EXPIRY_DATE,M.CVC,M.IBAN]),serverErrors:null});case Ko.SAVING_CUSTOMER:return Ca({},ft);case Ko.VALIDATE_CUSTOMER_SUCCESS:return Ca({},ft);case Ko.SAVE_CUSTOMER_SUCCESS:{var Cn=Ro(pn.customer);return Rn(Cn),Ca(Ca({},ft),{},{customer:Cn,savedCustomer:Cn,validationErrors:null})}case Ko.SAVE_CUSTOMER_ERROR:return Ca(Ca({},ft),{},{serverErrors:Qo(((Oe=pn.errors)===null||Oe===void 0||(Oe=Oe.response)===null||Oe===void 0?void 0:Oe.data)||pn.errors)});case Rl.RESET_ON_MODAL_CLOSE:return ls;default:return ft}};var Es=e(144771),fi=e.n(Es),Bo=re,Hi={getSubscriptions:function(){return te.get(Bo).catch(function(w){throw new j("Could not get subscriptions","getSubscriptions",w)})}};const Qi=Hi;var Li={loadDomains:function(){return te.get(Be.DOMAINS_LIST).catch(function(w){throw new j("Could not load domains","loadDomains",w)})},getFreeDomainEligibility:function(){return te.get(Be.DISCOUNT_STATUS_PATH).catch(function(w){throw new j("Could not get free domain eligibility","getFreeDomainEligibility",w)})}};const Gl=Li;var Zl={getFreeGSuiteEligibility:function(){return te.get(z).catch(function(w){throw new j("Could not get free GSuite eligibility","getFreeGSuiteEligibility",w)})}};const Vc=Zl;function tu(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function lu(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?tu(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):tu(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}const Lu=function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return le.reduce(function(w,ue){return lu(lu({},w),{},_()({},ue.plan.planType,!0))},{})};function yu(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return ic(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(ic(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,ic(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,ic(tr,"constructor",yn),ic(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",ic(yn,ft,"GeneratorFunction"),ic(tr),ic(tr,ft,"Generator"),ic(tr,Oe,function(){return this}),ic(tr,"toString",function(){return"[object Generator]"}),(yu=function(){return{w:pn,m:co}})()}function ic(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}ic=function(En,Cn,Gn,yn){function Or(tr,co){ic(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},ic(le,w,ue,Oe)}function kc(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function cu(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?kc(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):kc(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var Au="FETCH_SUBSCRIPTIONS",au="FETCH_SUBSCRIPTIONS_SUCCESS",jc="FETCH_SUBSCRIPTIONS_ERROR",lc=function(){return function(){var w=L()(yu().m(function ue(Oe,ft){var pn,En,Cn,Gn,yn,Or,tr,co,lr,mo,na,ya;return yu().w(function(da){for(;;)switch(da.p=da.n){case 0:return Oe({type:Au}),da.p=1,da.n=2,Qi.getSubscriptions();case 2:if(pn=da.v,En=pn.data,Cn=Lu(En.results),Cn[fi().WEBSITE]){da.n=3;break}return da.a(2,Oe({type:au,subscriptions:Cn}));case 3:if(Gn=ft().CheckoutCart,!Ht()(Gn[hs().DOMAIN])){da.n=6;break}return da.n=4,Gl.loadDomains();case 4:return yn=da.v,Or=yn.data,da.n=5,Gl.getFreeDomainEligibility();case 5:if(tr=da.v,co=tr.data,Or.results.length!==1){da.n=6;break}return da.a(2,Oe({type:au,subscriptions:cu(cu({},Cn),{},_()(_()({},fi().DOMAIN,!1),"freeDomain",co==null?void 0:co.isAvailable))}));case 6:if(!Ht()(Gn[hs().GOOGLE_WORKSPACE])){da.n=8;break}return da.n=7,Vc.getFreeGSuiteEligibility();case 7:mo=da.v,na=mo.data,lr=na==null?void 0:na.isEligible;case 8:Oe({type:au,subscriptions:cu(cu({},Cn),{},_()(_()({},fi().DOMAIN,!0),"freeGSuite",lr))}),da.n=10;break;case 9:da.p=9,ya=da.v,Zn(ya),Oe({type:jc,error:ya});case 10:return da.a(2)}},ue,null,[[1,9]])}));return function(ue,Oe){return w.apply(this,arguments)}}()};const Nu={SUCCESS:"successful",REQUIRES_ACTION:"requires_action",REQUIRES_ACTION_PASSED:"requires_action_passed",FAILURE:"failed",PROCESSING:"processing",TIMED_OUT:"timed_out",COMPLETED:"completed"};var Zd="basil",_d=function(w){return w===3?"v3":w},pu="https://js.stripe.com",Lc="".concat(pu,"/").concat(Zd,"/stripe.js"),od=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,yd=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,cd="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",Vd=function(w){return od.test(w)||yd.test(w)},Od=function(){for(var w=document.querySelectorAll('script[src^="'.concat(pu,'"]')),ue=0;ue<w.length;ue++){var Oe=w[ue];if(Vd(Oe.src))return Oe}return null},ud=function(w){var ue=w&&!w.advancedFraudSignals?"?advancedFraudSignals=false":"",Oe=document.createElement("script");Oe.src="".concat(Lc).concat(ue);var ft=document.head||document.body;if(!ft)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return ft.appendChild(Oe),Oe},Tl=function(w,ue){!w||!w._registerWrapper||w._registerWrapper({name:"stripe-js",version:"7.8.0",startTime:ue})},nu=null,uu=null,dd=null,Tu=function(w){return function(ue){w(new Error("Failed to load Stripe.js",{cause:ue}))}},Wd=function(w,ue){return function(){window.Stripe?w(window.Stripe):ue(new Error("Stripe.js not available"))}},qd=function(w){return nu!==null?nu:(nu=new Promise(function(ue,Oe){if(typeof window>"u"||typeof document>"u"){ue(null);return}if(window.Stripe&&w&&console.warn(cd),window.Stripe){ue(window.Stripe);return}try{var ft=Od();if(ft&&w)console.warn(cd);else if(!ft)ft=ud(w);else if(ft&&dd!==null&&uu!==null){var pn;ft.removeEventListener("load",dd),ft.removeEventListener("error",uu),(pn=ft.parentNode)===null||pn===void 0||pn.removeChild(ft),ft=ud(w)}dd=Wd(ue,Oe),uu=Tu(Oe),ft.addEventListener("load",dd),ft.addEventListener("error",uu)}catch(En){Oe(En);return}}),nu.catch(function(ue){return nu=null,Promise.reject(ue)}))},af=function(w,ue,Oe){if(w===null)return null;var ft=ue[0],pn=ft.match(/^pk_test/),En=_d(w.version),Cn=Zd;pn&&En!==Cn&&console.warn("Stripe.js@".concat(En," was loaded on the page, but @stripe/stripe-js@").concat("7.8.0"," expected Stripe.js@").concat(Cn,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var Gn=w.apply(void 0,ue);return Tl(Gn,Oe),Gn},Kd,ad=!1,Vu=function(){return Kd||(Kd=qd(null).catch(function(w){return Kd=null,Promise.reject(w)}),Kd)};Promise.resolve().then(function(){return Vu()}).catch(function(le){ad||console.warn(le)});var zu=function(){for(var w=arguments.length,ue=new Array(w),Oe=0;Oe<w;Oe++)ue[Oe]=arguments[Oe];ad=!0;var ft=Date.now();return Vu().then(function(pn){return af(pn,ue,ft)})},Wu=e(386292),Ld=e.n(Wu),sf="pk_live_deRC6RT8Vvz4cJ1egIKnk16S",lf="pk_test_zVl8g88OJo5VWmxCGqZeEzP1",xd="pk_live_tDWMlxbZqbX76lTzDKs2x7yE00ZXGMEZtC",wd="pk_test_FMjuGsUT9yoI1zMhEVW7E8Qa00apBOIrQM";const kd=_()(_()({},Ld().STRIPE,{prod:sf,test:lf}),Ld().STRIPE_SIL,{prod:xd,test:wd}),fd=function(le,w){return kd[w][le?"prod":"test"]};var sd=new Map,cf="enable_stripe_update_api_key_beta_0",uf=function(){sd.clear()};function $u(le,w){var ue="".concat(le?"prod":"nonprod","-").concat(w),Oe=sd.get(ue);if(Oe)return Oe;var ft=fd(le,w),pn={betas:[cf]},En=zu(ft,pn).catch(function(Cn){throw sd.delete(ue),Cn});return sd.set(ue,En),En}const Nd=$u;function Bd(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Pc(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Pc(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Pc(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Pc(tr,"constructor",yn),Pc(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Pc(yn,ft,"GeneratorFunction"),Pc(tr),Pc(tr,ft,"Generator"),Pc(tr,Oe,function(){return this}),Pc(tr,"toString",function(){return"[object Generator]"}),(Bd=function(){return{w:pn,m:co}})()}function Pc(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Pc=function(En,Cn,Gn,yn){function Or(tr,co){Pc(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Pc(le,w,ue,Oe)}var Fl=function(le){return le.SETUP_INTENT="SETUP_INTENT",le.PAYMENT_INTENT="PAYMENT_INTENT",le}({}),Gd="WRITE_ENVIRONMENT_TYPE",hd="UPDATE_WALLET_AVAILABILITY",zd="UPDATE_RAW_PAYMENT_METHOD_TYPE",Pd=function(w){return{type:Gd,isProd:w}},Cd=function(w){return{type:hd,walletAvailability:w}},xn=function(w){return{type:zd,rawPaymentMethodType:w}},$s=function(w){var ue=w.clientSecret,Oe=w.type,ft=w.gateway;return function(){var pn=L()(Bd().m(function En(Cn,Gn){var yn,Or,tr,co,lr,mo;return Bd().w(function(na){for(;;)switch(na.p=na.n){case 0:return yn=Gn(),Or=yn.Stripe.isProd,tr=yn.CustomerInfo.customer,Cn(hi()),co=ft||tr.paymentMethod.savedGateway,na.p=1,na.n=2,Nd(Or,co);case 2:lr=na.v,na.n=4;break;case 3:throw na.p=3,mo=na.v,Zn(mo,{gateway:ft,context:"SCA"}),mo;case 4:if(Oe!==Fl.SETUP_INTENT){na.n=5;break}return na.a(2,lr.confirmCardSetup(ue));case 5:return na.a(2,lr.handleCardAction(ue))}},En,null,[[1,3]])}));return function(En,Cn){return pn.apply(this,arguments)}}()};function Ki(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function ru(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Ki(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Ki(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}const Zt=(0,P.createSelector)(mc,$l,function(le,w){return ru(ru({},le),w)});var Kt=e(233284),Sn=["isSCAError"];function wn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return _r(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(_r(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,_r(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,_r(tr,"constructor",yn),_r(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",_r(yn,ft,"GeneratorFunction"),_r(tr),_r(tr,ft,"Generator"),_r(tr,Oe,function(){return this}),_r(tr,"toString",function(){return"[object Generator]"}),(wn=function(){return{w:pn,m:co}})()}function _r(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}_r=function(En,Cn,Gn,yn){function Or(tr,co){_r(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},_r(le,w,ue,Oe)}var Ve=function(le){return le.INVOICE_SUCCESS="INVOICE_SUCCESS",le.PURCHASE_SUCCESS="PURCHASE_SUCCESS",le.PURCHASE_TIMEOUT="PURCHASE_TIMEOUT",le.REQUEST_PURCHASE="REQUEST_PURCHASE",le.PURCHASE_ERROR="PURCHASE_ERROR",le.SCA_ERROR="SCA_ERROR",le}({}),tt=1e3,bt=30,an=461,Wn=function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Nu.REQUIRES_ACTION,"requires-action"].includes(w)},nr=function(w){return new Promise(function(ue,Oe){var ft=0,pn=function(){var En=L()(wn().m(function Cn(){var Gn,yn,Or,tr,co,lr;return wn().w(function(mo){for(;;)switch(mo.p=mo.n){case 0:if(ft++,mo.p=1,!(ft>=bt)){mo.n=2;break}return ue({state:Nu.TIMED_OUT}),mo.a(2);case 2:return mo.n=3,Kl.getPurchaseStatus(w);case 3:Gn=mo.v,yn=Gn.data,Or=yn.state,tr=yn.errorMessage,Or===Nu.SUCCESS||Or===Nu.COMPLETED||Wn(Or)?ue(yn):Or===Nu.FAILURE?Oe({errorMessage:tr,isSCAError:co}):setTimeout(pn,tt),mo.n=5;break;case 4:mo.p=4,lr=mo.v,Oe(lr);case 5:return mo.a(2)}},Cn,null,[[1,4]])}));return function(){return En.apply(this,arguments)}}();setTimeout(pn,tt)})},Nr=function(){return function(){var w=L()(wn().m(function ue(Oe){var ft,pn,En;return wn().w(function(Cn){for(;;)switch(Cn.p=Cn.n){case 0:return Cn.p=0,Cn.n=1,Kl.getLastInvoice();case 1:ft=Cn.v,pn=ft.data,Oe({type:Ve.INVOICE_SUCCESS,invoice:pn}),Cn.n=3;break;case 2:Cn.p=2,En=Cn.v;case 3:return Cn.a(2)}},ue,null,[[0,2]])}));return function(ue){return w.apply(this,arguments)}}()},to=function(w){var ue=w.finalPurchaseData;return function(Oe,ft){var pn=ft(),En=pn.CheckoutFlowInfo,Cn=pn.OrderDetails,Gn=En.checkoutType,yn=So(ft());ue.state===Nu.TIMED_OUT&&Ni(Gn,yn)&&Oe({type:Ve.PURCHASE_TIMEOUT,invoice:Cn.orderPreview.invoice})}},qo=function(w){var ue=w.checkoutType,Oe=w.payload,ft=w.callback;return function(){var pn=L()(wn().m(function En(Cn){var Gn,yn,Or,tr,co,lr;return wn().w(function(mo){for(;;)switch(mo.p=mo.n){case 0:return Gn=Oe.id,yn=Oe.clientSecret,mo.p=1,(0,Kt.flushSync)(function(){Cn(ll(!1))}),mo.n=2,Cn($s({clientSecret:yn,type:Fl.PAYMENT_INTENT}));case 2:if(Or=mo.v,tr=Or.error,co=Or.paymentIntent,!co){mo.n=4;break}return Cn(ks(!0)),mo.n=3,Cn(ft({purchaseRequestId:Gn,checkoutType:ue}));case 3:mo.n=6;break;case 4:if(!tr){mo.n=6;break}return mo.n=5,Kl.cancel(Gn);case 5:Cn(ks(!1)),Cn({type:Ve.SCA_ERROR}),Cn({type:Ve.PURCHASE_ERROR,error:tr});case 6:mo.n=8;break;case 7:throw mo.p=7,lr=mo.v,lr;case 8:return mo.p=8,Cn(ll(!0)),mo.f(8);case 9:return mo.a(2)}},En,null,[[1,7,8,9]])}));return function(En){return pn.apply(this,arguments)}}()},Pa=function(w){var ue;return Wn(w==null?void 0:w.state)||(w==null||(ue=w.response)===null||ue===void 0?void 0:ue.status)===an},$a=function(w){var ue=w.purchaseRequestId,Oe=w.showCrossSell,ft=Oe===void 0?!0:Oe,pn=w.hasCustomCrossSellComponent,En=w.checkoutType;return function(){var Cn=L()(wn().m(function Gn(yn,Or){var tr,co,lr,mo,na,ya,da,ua,La,Ga,Ka,no,Kn,Ir,ra;return wn().w(function(Ma){for(;;)switch(Ma.p=Ma.n){case 0:if(yn({type:Ve.REQUEST_PURCHASE}),tr=Or(),co=So(tr),lr=function(){var po=Ni(En,co),ga=En===fs.v.TRANSFER,so=po?Zo(tr):ga?Zt(tr):mc(tr),Wr=tr.OrderDetails.orderPreview,_o={orderPreview:Wr,checkoutType:En};return Kl.purchase(co,so,_o)},Ma.p=1,!ue){Ma.n=3;break}return Ma.n=2,Kl.confirm(ue);case 2:Ir=Ma.v,Ma.n=5;break;case 3:return Ma.n=4,lr();case 4:Ir=Ma.v;case 5:if(mo=Ir,na=mo.data,ya=Kl.getShouldPollStatus(co,{checkoutType:En}),!ya){Ma.n=7;break}return Ma.n=6,nr({productsInCart:co,checkoutType:En,purchaseId:(ua=na.purchaseRequestId)!==null&&ua!==void 0?ua:na.id});case 6:da=Ma.v;case 7:if(!Pa(da)){Ma.n=9;break}return Ma.n=8,yn(qo({checkoutType:En,payload:da,callback:$a}));case 8:Ma.n=13;break;case 9:if(La=da||na,yn({type:Ve.PURCHASE_SUCCESS,purchaseData:La}),yn(Ut()),!(La!=null&&La.invoice)){Ma.n=10;break}yn({type:Ve.INVOICE_SUCCESS,invoice:La.invoice}),Ma.n=11;break;case 10:if(yn(to({finalPurchaseData:La})),!Kl.getWillPurchaseBeComplete(co,{checkoutType:En})){Ma.n=11;break}if(!(!La||La.state!==Nu.TIMED_OUT)){Ma.n=11;break}return Ma.n=11,yn(Nr());case 11:if(!(ft&&!pn)){Ma.n=12;break}return Ma.n=12,yn(lc());case 12:yn(Eu());case 13:Ma.n=17;break;case 14:if(Ma.p=14,ra=Ma.v,!Pa(ra)){Ma.n=16;break}return Ma.n=15,yn(qo({checkoutType:En,payload:(Ga=ra.response)===null||Ga===void 0?void 0:Ga.data,callback:$a}));case 15:Ma.n=17;break;case 16:Ka=ra,no=Ka.isSCAError,Kn=_s()(Ka,Sn),no&&yn({type:Ve.SCA_ERROR}),yn({type:Ve.PURCHASE_ERROR,error:Kn});case 17:return Ma.a(2)}},Gn,null,[[1,14]])}));return function(Gn,yn){return Cn.apply(this,arguments)}}()};function ss(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function cs(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?ss(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):ss(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var Ns={purchaseCompleted:!1,purchaseInvoice:null,purchaseData:null,isLoading:!1,error:null,hasSCAError:!1,purchaseTimeOut:!1};const Fi=function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ns,w=arguments.length>1?arguments[1]:void 0;switch(w.type){case Ve.INVOICE_SUCCESS:return cs(cs({},le),{},{purchaseInvoice:w.invoice});case Ve.PURCHASE_TIMEOUT:return cs(cs({},le),{},{purchaseTimeOut:!0,purchaseInvoice:w.invoice});case Ve.REQUEST_PURCHASE:return cs(cs({},le),{},{isLoading:!0,hasSCAError:!1,error:null});case Ve.PURCHASE_SUCCESS:return cs(cs({},le),{},{isLoading:!1,purchaseData:w.purchaseData,purchaseCompleted:!0,hasSCAError:!1});case Ve.PURCHASE_ERROR:return cs(cs({},le),{},{error:w.error,isLoading:!1});case Ve.SCA_ERROR:return cs(cs({},le),{},{hasSCAError:!0,isLoading:!1});case Ko.SAVE_CUSTOMER_SUCCESS:return cs(cs({},le),{},{error:null,hasSCAError:!1});case Rl.RESET_ON_MODAL_CLOSE:return Ns;default:return le}};function xi(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function ni(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?xi(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):xi(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var dl={isLoading:!0,isLoadingPromo:!1,orderPreview:{},promo:{},error:null,promoError:!1};const Ec=function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:dl,w=arguments.length>1?arguments[1]:void 0;switch(w.type){case as.REQUEST_PREVIEW:return ni(ni({},le),{},{isLoading:!0,error:null});case as.PREVIEW_SUCCESS:{var ue=w.orderPreview.contracts?w.orderPreview.contracts[0]:w.orderPreview.contract;return ni(ni({},le),{},{orderPreview:ue?ni(ni({},ue),{},{invoice:w.orderPreview.invoice,deferred:w.orderPreview.deferred}):w.orderPreview,isLoading:!1})}case as.PREVIEW_ERROR:return ni(ni({},le),{},{error:w.error,isLoading:!1});case va.REQUEST_PROMO:return ni(ni({},le),{},{isLoadingPromo:!0,promoError:!1,promo:ni(ni({},le.promo),{},{validationErrorCode:null})});case va.INSERT_PROMO_CODE:return ni(ni({},le),{},{promo:ni(ni({},le.promo),{},{appliedPromoCode:w.discountCode}),isLoadingPromo:!1});case va.REMOVE_PROMO_CODE:return ni(ni({},le),{},{promo:ni(ni({},le.promo),{},{appliedPromoCode:""}),isLoadingPromo:!1});case va.DISPLAY_PROMO_SUCCESS:return ni(ni({},le),{},{promo:ni(ni({},le.promo),{},{canUsePromoCode:w.canUsePromoCode}),isLoadingPromo:!1});case va.PROMO_CODE_INVALID:return ni(ni({},le),{},{promo:ni(ni({},le.promo),{},{validationErrorCode:w.validationErrorCode}),isLoadingPromo:!1});case va.PROMO_ERROR:return ni(ni({},le),{},{promoError:!0,isLoadingPromo:!1});case va.CLEAR_PROMO_ERROR:return ni(ni({},le),{},{promoError:!1,promo:ni(ni({},le.promo),{},{validationErrorCode:null})});case Fr.WRITE_ITEM_TO_CART:return ni(ni({},le),{},{error:null});case Rl.RESET_ON_MODAL_CLOSE:return dl;default:return le}};function ri(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function cc(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?ri(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):ri(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var su={isProd:!1,walletAvailability:{applePay:!1,googlePay:!1,isWalletAvailable:!1},rawPaymentMethodType:null};function zc(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:su,w=arguments.length>1?arguments[1]:void 0;switch(w.type){case Gd:return cc(cc({},le),{},{isProd:w.isProd});case hd:return cc(cc({},le),{},{walletAvailability:w.walletAvailability});case zd:return cc(cc({},le),{},{rawPaymentMethodType:w.rawPaymentMethodType});default:return le}}function $c(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Ad(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?$c(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):$c(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var df={dataUserId:null,setupToken:null};function $d(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:df,w=arguments.length>1?arguments[1]:void 0;switch(w.type){case Qe.SAVE_PAYPAL_TOKEN:return Ad(Ad({},le),{},{setupToken:w.setupToken,dataUserId:w.dataUserId});default:return le}}function ff(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function bd(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?ff(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):ff(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var gf=_()(_()(_()(_()(_()(_()(_()({isLoading:!1,error:null},fi().WEBSITE,!1),fi().DOMAIN,!1),fi().GOOGLE_APPS,!1),fi().CAMPAIGNS,!1),fi().SCHEDULING,!1),"freeDomain",!1),"freeGSuite",!1);const Ku=function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:gf,w=arguments.length>1?arguments[1]:void 0;switch(w.type){case Au:return bd(bd({},le),{},{isLoading:!0});case au:return bd(bd(bd({},le),w.subscriptions),{},{isLoading:!1,error:null});case jc:return bd(bd({},le),{},{error:w.error,isLoading:!1});default:return le}};function ef(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Gc(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?ef(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):ef(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var Xu={analytics:{}};const tf=function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xu,w=arguments.length>1?arguments[1]:void 0;switch(w.type){case Xo.SET_ANALYTICS_DATA:return Gc(Gc({},le),{},{analytics:w.data});case Xo.UPDATE_ANALYTICS_DATA:return Gc(Gc({},le),{},{analytics:Gc(Gc({},le.analytics),w.updates)});default:return le}};function $f(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function pd(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?$f(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):$f(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var id={isFormInDirtyState:!1,isShowingConfirmModal:!1,isUCModalFocusLocked:!0,unsavedChangesConfirmationDismissalFunction:null};const Ef=function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:id,w=arguments.length>1?arguments[1]:void 0;switch(w.type){case Rl.SET_FORM_DIRTY_STATE:return pd(pd({},le),{},{isFormInDirtyState:w.isDirty});case Ko.CHANGE_CUSTOMER:return pd(pd({},le),{},{isFormInDirtyState:!0});case Rl.DISCARD_FORM_DIRTY_STATE:case Ko.DISCARD_CHANGES:case Ko.SAVE_CUSTOMER_SUCCESS:return pd(pd({},le),{},{isFormInDirtyState:!1});case Rl.SHOW_CONFIRMATION_MODAL:return pd(pd({},le),{},{isShowingConfirmModal:!0,unsavedChangesConfirmationDismissalFunction:w.onConfirmationDismissal});case Rl.TOGGLE_UC_MODAL_FOCUS_LOCK:return pd(pd({},le),{},{isUCModalFocusLocked:w.isUCModalFocusLocked});case Rl.DISMISS_CONFIRMATION_MODAL:return pd(pd({},le),{},{isShowingConfirmModal:!1});case Rl.RESET_ON_MODAL_CLOSE:return id;default:return le}};var du="SET_FEATURE_GATES",md=function(w){return function(ue){var Oe=w.reduce(function(ft,pn){return ft[pn]=!0,ft},{});ue({type:du,featureGates:Oe})}},ph={featureGates:{}};const Uf=function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ph,w=arguments.length>1?arguments[1]:void 0;switch(w.type){case du:return{featureGates:w.featureGates};default:return le}};var Xf=function(le){return le.SET_CHECKOUT_TYPE="SET_CHECKOUT_TYPE",le.SET_CHECKOUT_APP_VERSION="SET_CHECKOUT_APP_VERSION",le}({}),_f=function(w){return function(ue){ue({type:Xf.SET_CHECKOUT_TYPE,checkoutType:w})}},jd=function(w){return function(ue){ue({type:Xf.SET_CHECKOUT_APP_VERSION,checkoutAppVersion:w})}};function Yf(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Tf(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Yf(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Yf(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var mu=function(le){return le.MODAL="modal",le.STANDALONE="standalone",le}({}),fc={checkoutType:null};const Yu=function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fc,w=arguments.length>1?arguments[1]:void 0;switch(w.type){case Xf.SET_CHECKOUT_TYPE:return Tf(Tf({},le),{},{checkoutType:w.checkoutType});case Xf.SET_CHECKOUT_APP_VERSION:return Tf(Tf({},le),{},{checkoutAppVersion:w.checkoutAppVersion});default:return le}};var Du=e(66748),Qu=e(835956),bu=e.n(Qu),Sd=function(w){return w.OrderDetails.orderPreview.invoice},xu=function(w,ue){return ue};const Xc=(0,P.createSelector)(Sd,xu,function(le,w){if(le){var ue,Oe,ft=le.lineItems,pn=ft.some(function(Gn){return Gn.subscriptionDetail});if(!pn)return{};var En=(ue=ft.filter(function(Gn){return w?w===Gn.planType:!0}).find(function(Gn){var yn,Or;return((yn=Gn.subscriptionDetail)===null||yn===void 0?void 0:yn.lineItemType)===bu().NOT_PRORATED||((Or=Gn.subscriptionDetail)===null||Or===void 0?void 0:Or.lineItemType)===bu().PRORATED_CHARGE}))===null||ue===void 0?void 0:ue.subscriptionDetail,Cn=(Oe=ft.find(function(Gn){var yn;return((yn=Gn.subscriptionDetail)===null||yn===void 0?void 0:yn.lineItemType)===bu().PRORATED_REFUND}))===null||Oe===void 0?void 0:Oe.subscriptionDetail;return{new_plan:En==null?void 0:En.planName,new_billing_period:En==null?void 0:En.periodName,current_plan:Cn==null?void 0:Cn.planName,current_billing_period:Cn==null?void 0:Cn.periodName}}return{}});var Ff=function(w){return w.slice(0,w.indexOf("."))},Qf=function(w){return w.slice(w.indexOf("."))},Jf=function(w){return w.CheckoutCart},Df=function(w){return w.Tracking.analytics},vd=function(w){return w.OrderDetails.orderPreview},yf=function(w){return w.items.map(function(ue){return ue.productMetadata&&ue.productMetadata[0].domainName})},qf=function(w){var ue;return w==null||(ue=w.lineItems.find(function(Oe){return Oe.discounts.some(function(ft){return ft.identifier==="free_domain"})}))===null||ue===void 0?void 0:ue.itemName};const Su=(0,P.createSelector)([Jf,Df,vd],function(le,w,ue){var Oe=le[hs().DOMAIN];if(Oe.items){var ft,pn=w.freeDomain,En=yf(Oe),Cn=(ft=Oe.items)===null||ft===void 0?void 0:ft.map(function(Gn){return Gn.numBillingIntervalsInFirstTerm});return{items_in_cart:En,tlds_in_cart:En.map(Qf),free_domain:qf(ue.invoice)||pn,num_billing_intervals_in_cart:Cn}}return{}});var If=function(w){return w.OrderDetails.orderPreview.invoice},ku=function(w){return w.OrderDetails.orderPreview.deferred};const wu=(0,P.createSelector)(If,ku,function(le,w){if(le){var ue=le.lineItems,Oe=ue.some(function(ft){return ft.subscriptionDetail});return Oe?"subscription":"productoffering"}else if(w)return"subscription";throw new Error("No invoice on purchase")});var Wf=e(484623),hf=e.n(Wf),eh=e(324615),Of="client-AtiqSF0Yb34vdvanOEhLf65CzB6ibmcgOScPMw3HogK",sh=e(341293),Et=e.n(sh),D=e(221661),N=e.n(D),Z=function(le){return le.DEVELOPMENT="development",le.STAGING="staging",le.QA="qa",le.PRODUCTION="production",le}({});function ve(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return je(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(je(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,je(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,je(tr,"constructor",yn),je(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",je(yn,ft,"GeneratorFunction"),je(tr),je(tr,ft,"Generator"),je(tr,Oe,function(){return this}),je(tr,"toString",function(){return"[object Generator]"}),(ve=function(){return{w:pn,m:co}})()}function je(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}je=function(En,Cn,Gn,yn){function Or(tr,co){je(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},je(le,w,ue,Oe)}var pt,Nt=_()(_()(_()(_()({},Z.DEVELOPMENT,D.SourceEnvironment.DEV),Z.QA,D.SourceEnvironment.QA),Z.STAGING,D.SourceEnvironment.STAGING),Z.PRODUCTION,D.SourceEnvironment.PROD),hn=function(w){try{pt.track(w)}catch(ue){Zn(new Error("Error Tracking Statsig Assignment Event",{cause:ue}))}},gn=function(w){var ue=w.productArea,Oe=w.environment,ft=w.user,pn,En;if(ft){var Cn,Gn;pn=(Cn=ft.customIDs)===null||Cn===void 0?void 0:Cn.member_account_id,En=(Gn=ft.customIDs)===null||Gn===void 0?void 0:Gn.website_id}else{var yn,Or,tr,co=(yn=window)===null||yn===void 0||(yn=yn.Static)===null||yn===void 0?void 0:yn.SQUARESPACE_CONTEXT;pn=co==null||(Or=co.authenticatedAccount)===null||Or===void 0?void 0:Or.id,En=co==null||(tr=co.website)===null||tr===void 0?void 0:tr.id}pt=new(N())({customSchemaName:"ABTestAssignment",sourceEnvironment:Nt[Oe]},{event_name:"StatsigAssignment_TestAssignment",actor:"system",action:"assign",event_source:"web",object_type:"subject",product_area:ue,event_owner_team:"checkout-payments",member_account_id:pn,cart_id:gc(),website_id:En,test_namespace:"Squarespace"})},Xn=function(w){var ue;if(w){if(!pt){console.warn("Event tracker is missing. Did you remember to call initEventTracker?");return}var Oe=nn(),ft=Oe.getExperiment(w),pn=Oe.getContext(),En=pn.user,Cn=ft.__evaluation,Gn=ft.ruleID.endsWith("override");if(Cn&&!(!Gn&&(!Cn.is_experiment_active||!Cn.is_user_in_experiment))){var yn=Cn.id_type,Or=(ue=En.customIDs)===null||ue===void 0?void 0:ue[yn],tr=ft.get("variant",ft.groupName);hn({experiment_name:ft.name,group_name:ft.groupName,is_override:Gn,subject_id:Or??null,subject_id_type:yn,variant:tr})}}},pr=function(){var le=L()(ve().m(function w(ue){var Oe,ft,pn,En,Cn,Gn,yn,Or,tr,co;return ve().w(function(lr){for(;;)switch(lr.n){case 0:if(pt){lr.n=1;break}return console.warn("Event tracker is missing. Did you remember to call initEventTracker?"),lr.a(2);case 1:if(ue){lr.n=2;break}return lr.a(2);case 2:return ft=nn(),lr.n=3,fa({userID:ue});case 3:if(pn=ft.getExperiment("new_customer_sil_routing",{disableExposureLog:!0}),En=ft.getContext(),Cn=En.user,Gn=pn.__evaluation,yn=pn.ruleID.endsWith("override"),Gn){lr.n=4;break}return lr.a(2);case 4:if(!(!yn&&(!Gn.is_experiment_active||!Gn.is_user_in_experiment))){lr.n=5;break}return lr.a(2);case 5:Or=Gn.id_type,tr=Or==="userID"?Cn.userID:(Oe=Cn.customIDs)===null||Oe===void 0?void 0:Oe[Or],co=pn.get("variant",pn.groupName),hn({experiment_name:pn.name,group_name:pn.groupName,is_override:yn,subject_id:tr??null,subject_id_type:Or,variant:co});case 6:return lr.a(2)}},w)}));return function(ue){return le.apply(this,arguments)}}(),Zr=function(){var w;return(w=pt._getAnalyticsId)===null||w===void 0?void 0:w.call(pt)};function oo(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return vo(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(vo(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,vo(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,vo(tr,"constructor",yn),vo(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",vo(yn,ft,"GeneratorFunction"),vo(tr),vo(tr,ft,"Generator"),vo(tr,Oe,function(){return this}),vo(tr,"toString",function(){return"[object Generator]"}),(oo=function(){return{w:pn,m:co}})()}function vo(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}vo=function(En,Cn,Gn,yn){function Or(tr,co){vo(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},vo(le,w,ue,Oe)}function Fo(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Go(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Fo(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Fo(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var pa=function(le){return le.CampaignsPriceTest="jun-2025-campaigns-x-emails-price-test",le}(pa||{}),Se=null,de=function(w){var ue,Oe,ft=w.user;if(ft){var pn,En=hf()(ft);return En!=null&&En.customIDs&&!(En!=null&&(pn=En.customIDs)!==null&&pn!==void 0&&pn.analytics_id)&&(En.customIDs.analytics_id=Zr()),En!=null&&En.custom&&(En.custom.page_host=window.location.host,En.custom.page_path=window.location.pathname),En}var Cn=(ue=window)===null||ue===void 0||(ue=ue.Static)===null||ue===void 0?void 0:ue.SQUARESPACE_CONTEXT,Gn=Cn==null?void 0:Cn.authenticatedAccount,yn=Cn==null?void 0:Cn.website,Or=Gn==null?void 0:Gn.email,tr=Gn?(Gn==null||(Oe=Gn.guilds)===null||Oe===void 0?void 0:Oe[Et().CIRCLE_USER])||!1:void 0;return{email:Or,customIDs:{analytics_id:Zr(),member_account_id:Gn==null?void 0:Gn.id,website_id:yn==null?void 0:yn.id},custom:{circle_status:tr,member_account_id:Gn==null?void 0:Gn.id,member_account_language:Gn==null?void 0:Gn.preferredLocale,member_account_creation_date:Gn==null?void 0:Gn.createdOn,website_id:yn==null?void 0:yn.id,website_language:yn==null?void 0:yn.language,template_version:Cn==null?void 0:Cn.templateVersion,page_host:window.location.host,page_path:window.location.pathname}}},We,_t=function(w){var ue=w.environment,Oe=w.productArea,ft=w.user,pn=de({environment:ue,productArea:Oe,user:ft}),En={environment:{tier:ue}};return We||(We=new eh.StatsigClient(Of,pn,En)),We},nn=function(){return We||eh.StatsigClient.instance(Of)},vn=function(w){return nn().checkGate(w)},cr=function(){var w,ue,Oe=(w=window)===null||w===void 0||(w=w.Static)===null||w===void 0?void 0:w.SQUARESPACE_CONTEXT;return!!(Oe!=null&&(ue=Oe.websiteSettings)!==null&&ue!==void 0&&ue.newPlanArchitectureEligible)},lo=function(){var w;return(w=window.Static)===null||w===void 0||(w=w.SQUARESPACE_CONTEXT)===null||w===void 0||(w=w.websiteSettings)===null||w===void 0?void 0:w.bundleEligible},Po=function(){var w=nn().getExperiment(pa.CampaignsPriceTest),ue=w.get("variant","control");return ue!=="control"},oa=function(){return vn(Se.AddressElement)},fa=function(){var le=L()(oo().m(function w(ue){var Oe,ft,pn;return oo().w(function(En){for(;;)switch(En.n){case 0:return Oe=We.getContext(),ft=Oe.user,pn=Go(Go({},ft),ue),En.n=1,We.updateUserAsync(pn);case 1:return En.a(2)}},w)}));return function(ue){return le.apply(this,arguments)}}(),Va=function(w){return{router:w.RouterReducer,subscriptions:w.Subscriptions,invoice:w.Purchase.purchaseInvoice,cart:w.CheckoutCart,tracking:w.Tracking.analytics,purchaseTimeOut:w.Purchase.purchaseTimeOut}},ci=[hs().WEBSITE,hs().DOMAIN,hs().GOOGLE_WORKSPACE,hs().CAMPAIGNS,hs().MEMBER_AREAS,hs().SCHEDULING],di=[hs().SQUARESPACE,hs().SCHEDULING,hs().DOMAIN,hs().GOOGLE_WORKSPACE];const Xs=(0,P.createSelector)(Va,function(le){var w=le.router,ue=le.subscriptions,Oe=le.invoice,ft=le.cart,pn=le.tracking,En=le.purchaseTimeOut,Cn=pn.customCrossSellName,Gn=pn.showCrossSell,yn=w.screens[w.currentScreenIndex];return yn&&yn.page===O.SUCCESS_SCREEN&&Oe&&!En&&Gn?Cn||(lo()?di.find(function(Or){return!ue[Or]&&Ht()(ft[Or])}):ci.find(function(Or){return!ue[Or]&&Ht()(ft[Or])})):null});var _i=function(w,ue){return w.Tracking.analytics.customCrossSellName||ue},js=(0,P.createSelector)(_i,Xs,function(le,w){return le||w}),al=function(w){return w.OrderDetails.orderPreview.invoice};const vl=function(le){return(0,P.createSelector)(al,function(w){if(w){var ue=le(w.currency).digits,Oe=w.subtotal,ft=w.discountAmount,pn=w.tax,En=w.amountOnCard;return{subtotal_amount_due:Oe==null?void 0:Oe.toSubunits(ue),tax_amount_due:pn==null?void 0:pn.toSubunits(ue),discount_amount_due:ft==null?void 0:ft.toSubunits(ue),total_amount_due:En==null?void 0:En.toSubunits(ue)}}return{}})};var hc=e(46854),Cc=function(w){return w.RouterReducer};const fu=(0,P.createSelector)(Cc,function(le){return le.screens[le.currentScreenIndex]});var Ud=function(w){return Object.fromEntries(Object.entries(w).map(function(ue){var Oe=we()(ue,2),ft=Oe[0],pn=Oe[1];return[ft,pn===void 0?null:pn]}))},Td=function(w){return w.CheckoutCart};const Dd=(0,P.createSelector)(Td,function(le){var w=Object.keys(le).reduce(function(ue,Oe){var ft=le[Oe];if(ft.items){var pn;return ue+((pn=ft.items)===null||pn===void 0?void 0:pn.length)}else if(Object.keys(ft).length>0)return ue+1;return ue},0);return w});var nf=function(w){return w.CheckoutCart},mh=function(w){var ue;return((ue=w.OrderDetails.orderPreview)===null||ue===void 0?void 0:ue.invoice)||{}},xp=function(w){return Dd(w)},op=function(w,ue){return ue?w.CheckoutCart[ue]:null},wp=function(w,ue,Oe){var ft;return Oe==null||(ft=Oe.invoice)===null||ft===void 0?void 0:ft.lineItems},Np=function(w,ue,Oe){var ft;if(Oe){var pn;return(w==null||(pn=w.find)===null||pn===void 0||(pn=pn.call(w,function(En){return En.planType===ue&&En.itemIdentifier===Oe}))===null||pn===void 0?void 0:pn.contractId)||null}return(w==null||(ft=w.find)===null||ft===void 0||(ft=ft.call(w,function(En){return En.planType===ue}))===null||ft===void 0?void 0:ft.contractId)||null},pp=function(w){return w.some(function(ue){return ue.isAddOn})},ap=function(w,ue){if(!(w!=null&&w.length))return null;var Oe=ue.find(function(ft){return ft.itemId===w[0]});return Oe==null?void 0:Oe.domain},Hh=function(w,ue){return ue.map(function(Oe){var ft=Oe.cartItemIdentifier,pn=Oe.planId,En=Oe.fulfillmentVendor,Cn=Oe.isAddOn,Gn=Oe.dependsOnItemIds,yn=Oe.itemId,Or={planType:w,cartItemIdentifier:ft,planId:pn,fulfillmentVendor:En,isAddOn:Cn,dependsOnItemIds:Gn||null,itemId:yn};if(w===hs().DOMAIN){var tr,co=Oe.productMetadata&&((tr=Oe.productMetadata[0])===null||tr===void 0?void 0:tr.domainName);co&&(Or.domain=co,Or.topLevelDomainName="."+co.split(".").pop())}return Or})};const mp=function(le){return(0,P.createSelector)(nf,mh,xp,op,wp,function(w,ue,Oe,ft,pn){var En=Object.entries(w).reduce(function(lr,mo){var na=we()(mo,2),ya=na[0],da=na[1];if(Ht()(da))return lr;var ua=da.planId,La=da.cartItemIdentifier,Ga=da.fulfillmentVendor,Ka=da.items;return Ka?(lr.push.apply(lr,Ne()(Hh(ya,Ka))),lr):(lr.push({planType:ya,planId:ua,cartItemIdentifier:La,fulfillmentVendor:Ga,dependsOnItemIds:null}),lr)},[]),Cn=ue.lineItems,Gn=Cn===void 0?[]:Cn,yn=le(ue.currency).digits,Or=function(mo){return ue.currency&&mo&&new Tn.default(mo,ue.currency).toSubunits(yn)},tr=En.map(function(lr){var mo,na,ya,da,ua,La,Ga,Ka,no=lr.planType,Kn=lr.planId,Ir=lr.domain,ra=lr.fulfillmentVendor,Ma=lr.topLevelDomainName,$o=lr.isAddOn,po=lr.dependsOnItemIds,ga=Gn.find(function($r){var ts;return Ir?$r.itemName===Ir:$r.planType===no&&(($r==null||(ts=$r.subscriptionDetail)===null||ts===void 0?void 0:ts.quantity)||0)>0}),so=ga==null||(mo=ga.discountedAmount)===null||mo===void 0?void 0:mo.value,Wr=ga==null||(na=ga.amount)===null||na===void 0?void 0:na.value,_o={plan_id:Kn,product_type:no,plan_type:no,plan_tier_name:ga==null||(ya=ga.subscriptionDetail)===null||ya===void 0?void 0:ya.planTierName,plan_name:ga==null||(da=ga.subscriptionDetail)===null||da===void 0?void 0:da.planName,billing_interval_period:ga==null||(ua=ga.subscriptionDetail)===null||ua===void 0?void 0:ua.billingIntervalPeriod,item_discounted_amount:Or(so),billing_period:ga==null||(La=ga.subscriptionDetail)===null||La===void 0?void 0:La.periodName,feature_levels:ga==null||(Ga=ga.subscriptionDetail)===null||Ga===void 0?void 0:Ga.featureLevels,fulfillment_vendor:ra,top_level_domain_name:Ma,num_registration_term_int:ga==null||(Ka=ga.subscriptionDetail)===null||Ka===void 0?void 0:Ka.numBillingIntervalsInLinePeriod,item_original_price_amount:Or(Wr),is_purchased_free:so&&Number(so)===0,is_add_on:!!$o,subscription_id:Np(pn,no,Ir),item_in_cart:ga==null?void 0:ga.description,connected_domain:ap(po,En)};return Ud(_o)}),co=ft!=null&&ft.items?ft.items.some(function(lr){return lr==null?void 0:lr.isAddOn}):!1;return{cart_items:tr,num_items_in_cart:Oe,is_add_on_in_cart:pp(En),is_user_in_add_on_flow:co}})};var Zh=function(w){return w.CustomerInfo},vp=function(w){return w.Currencies.acceptedCurrencies},Vh=(0,P.createSelector)(Zh,vp,function(le,w){var ue,Oe,ft=(ue=le.customer)===null||ue===void 0||(ue=ue.paymentMethod)===null||ue===void 0?void 0:ue.type,pn=[kt().CARD],En=w.some(function(yn){var Or=yn.supportedPaymentMethods;return Or.includes(kt().SEPA_DEBIT)}),Cn=w.some(function(yn){var Or=yn.supportedPaymentMethods;return Or.includes(kt().PAYPAL_WALLET)});(En||ft===kt().SEPA_DEBIT)&&pn.push(kt().SEPA_DEBIT);var Gn=((Oe=le.customer)===null||Oe===void 0?void 0:Oe.country)!=="US";return(Gn!==!1&&Cn||ft===kt().PAYPAL_WALLET)&&pn.push(kt().PAYPAL_WALLET),{selected_payment_method:ft,available_payment_methods:pn}});const sp=Vh,zh=(0,P.createSelector)(function(le){var w;return(w=le.CustomerInfo.savedCustomer)===null||w===void 0?void 0:w.currency},function(le){return le.Currencies.currencyCodeForEvents},function(le){return le.Cart.currency},function(le,w,ue){return le||w||ue});function $h(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Pf(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?$h(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):$h(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var Bp=function(w,ue,Oe,ft){var pn,En,Cn;return{analytics:w.Tracking.analytics,numberOfProductTypesInCart:So(w).length,productPage:fu(w).page,cartItems:mp(ue)(w,Oe,ft),paymentMethodData:sp(w),currencyCode:zh(w),shownCrossSellName:Xs(w),checkoutAppVersion:w.CheckoutFlowInfo.checkoutAppVersion,walletAvailability:(pn=w.Stripe)===null||pn===void 0?void 0:pn.walletAvailability,rawPaymentMethodType:(En=w.Stripe)===null||En===void 0?void 0:En.rawPaymentMethodType,paymentMethodMandateReferenceId:((Cn=w.CustomerInfo.savedCustomer)===null||Cn===void 0||(Cn=Cn.paymentMethod)===null||Cn===void 0?void 0:Cn.mandateReference)||null}},Xh=function(w){return(0,P.createSelector)(function(ue,Oe,ft){return Bp(ue,w,Oe,ft)},function(ue){var Oe=ue.analytics,ft=ue.numberOfProductTypesInCart,pn=ue.productPage,En=ue.cartItems,Cn=ue.paymentMethodData,Gn=ue.currencyCode,yn=ue.checkoutAppVersion,Or=ue.walletAvailability,tr=ue.rawPaymentMethodType,co=ue.paymentMethodMandateReferenceId,lr=ue.shownCrossSellName,mo=Oe.productsEligibleForFreePurchase;return Pf(Pf(Pf({is_squarespace_app:(0,hc.isNativeApp)(),product_page:pn,products_eligible_for_free_purchase:mo,num_product_types_in_cart:ft,currency_code:Gn,cart_id:gc(),is_multiproduct:yn===mu.STANDALONE,shown_promotion_name:lr},En),Cn),{},{available_payment_methods:[].concat(Ne()((Cn==null?void 0:Cn.available_payment_methods)||[]),Ne()(Or!=null&&Or.googlePay?["google_pay"]:[]),Ne()(Or!=null&&Or.applePay?["apple_pay"]:[])),selected_payment_method:tr||(Cn==null?void 0:Cn.selected_payment_method),is_wallet_available:!!(Or!=null&&Or.isWalletAvailable),mandate_reference_id:co||null})})};const Ac=Xh;var u0=function(w){return w.OrderDetails.orderPreview.deferred};const Oh=(0,P.createSelector)(u0,function(le){return typeof le=="boolean"?{is_deferred:le}:{}});var d0=function(w){return w.Tracking.analytics.renewalPlanMatchesExistingPlan};const Mf=(0,P.createSelector)(d0,function(le){return typeof le=="boolean"?{renewal_plan_matches_existing_plan:le}:{}});var V=e(897071),se=e.n(V),dt,en=function(w){try{if(!dt)throw new Error("Event tracker is missing.");dt.track(w)}catch(ue){Zn(new Error("Error Tracking Event",{cause:ue}))}},kn=function(w){var ue=w.productArea,Oe=w.isProd,ft=w.checkoutType,pn=w.memberAccountLocale,En=w.websiteLocale,Cn=w.projectId,Gn=w.memberAccountId;dt=new(se())({logging:!1,customSchemaName:"universal_checkout",url:Oe?"https://events.squarespace.com/api/v1/events":"https://events.stage.sqsp.net/api/v1/events"},{event_owner_team:"checkout-payments",event_source:"web",product_area:ue,checkout_type:ft,member_account_locale:pn,website_locale:En,context_website_id:Cn,user_member_account_id:Gn})},gr=function(w){return w.CheckoutCart},Io=function(w){return w.CheckoutFlowInfo};const ma=(0,P.createSelector)([gr,Io],function(le,w){var ue=w.checkoutType===fs.v.TERM_EXTENSION,Oe=le[hs().DOMAIN];return ue?{num_terms_in_extension:Oe==null?void 0:Oe.numBillingIntervalsInExtension}:{}});var Ta=function(w){return{plan_id:w.planId}};function Ps(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function ja(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Ps(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Ps(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}const mi=function(le){return function(w){return function(ue){return function(Oe){var ft=w.getState(),pn=$l(ft),En=Vi(ft)[0]||["",{}],Cn=we()(En,2),Gn=Cn[1];if(Oe.type===Xo.TRACK_OPEN_MODAL&&en(ja(ja(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_OpenCheckoutModal",actor:"user",action:"open",object_type:"page"},Xc(ft)),Su(ft)),Mf(ft))),Oe.type===el.GOTO_NEXT){var yn;en(ja(ja(ja(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_ClickNext",actor:"user",action:"click",object_type:"button",object_identifier:(yn=Oe.objectIdentifier)!==null&&yn!==void 0?yn:"next"},Ta(Gn)),Xc(ft)),Su(ft)),Mf(ft)))}if(Oe.type===Fr.WRITE_ITEM_TO_CART&&en(ja(ja(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_AddItemToCart",actor:"user",action:"click",object_type:"button",object_identifier:"write"},Xc(ft)),Mf(ft)),ma(ft))),Oe.type===Xo.TRACK_CLOSE_MODAL&&en(ja(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_CloseCheckoutModal",actor:"user",action:"click",object_type:"button",object_identifier:Oe.origin},Xc(ft)),Mf(ft))),Oe.type===el.GOTO_PREV&&en(ja(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_ClickPrevious",actor:"user",action:"click",object_type:"button",object_identifier:"back"},Xc(ft)),Mf(ft))),Oe.type===el.TRACK_VIEW&&en(ja(ja(ja(ja(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_ViewCheckoutPage",actor:"user",action:"view",object_type:"page",is_eligible_for_free_domain:ft.Subscriptions.freeDomain,is_eligible_for_free_gsuite:ft.Subscriptions.freeGSuite},Ta(Gn)),Xc(ft)),Su(ft)),Oh(ft)),Mf(ft))),Oe.type===as.TRACK_ORDER_DETAILS_PREVIEW&&en(ja(ja(ja(ja(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_PreviewOrderDetails",actor:"user",action:"view",object_type:"page",is_eligible_for_free_domain:ft.Subscriptions.freeDomain,is_eligible_for_free_gsuite:ft.Subscriptions.freeGSuite},Ta(Gn)),Xc(ft)),Su(ft)),Oh(ft)),Mf(ft))),Oe.type===Ve.REQUEST_PURCHASE&&en(ja(ja(ja(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_ClickConfirmPayment",actor:"user",action:"click",object_type:"button",object_identifier:"confirm"},Ta(Gn)),{},{promo_code:ft.OrderDetails.promo.appliedPromoCode},Xc(ft)),Su(ft)),Mf(ft))),Oe.type===Ve.PURCHASE_ERROR){var Or,tr,co;en(ja(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_PurchaseError",actor:"user",action:"error",object_type:"page"},Ta(Gn)),{},{promo_code:ft.OrderDetails.promo.appliedPromoCode,validation_errors:{server:((Or=Oe.error)===null||Or===void 0?void 0:Or.code)||((tr=Oe.error)===null||tr===void 0||(tr=tr.cause)===null||tr===void 0?void 0:tr.code)||((co=Oe.error)===null||co===void 0?void 0:co.errorMessage)}},Xc(ft)))}if(Oe.type===Ve.PURCHASE_SUCCESS){var lr=So(ft);lr.forEach(function(ya){var da,ua;en(ja(ja(ja(ja(ja(ja(ja(ja({},Ac(le)(ft,ya,Oe.purchaseData)),{},{product_area:ya,event_name:"UniversalCheckout_PurchaseSuccess",actor:"system",action:"create",object_type:wu(ft)},Ta(Gn)),{},{promo_code:ft.OrderDetails.promo.appliedPromoCode,subscription_id:((da=Oe.purchaseData)===null||da===void 0||(da=da.contractIds)===null||da===void 0?void 0:da[0])||((ua=Oe.purchaseData)===null||ua===void 0?void 0:ua.contractId)},Xc(ft,ya)),Su(ft)),vl(le)(ft)),Mf(ft)),Oh(ft)),ma(ft)))})}if(Oe.type===Ko.SAVING_CUSTOMER&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_ClickSaveCustomer",actor:"user",action:"click",object_type:"button",object_identifier:"customer-saved",billing_country:Oe.countryCode,billing_postal_code:Oe.postalCode},Xc(ft))),Oe.type===Ko.SAVE_CUSTOMER_SUCCESS&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_SaveCustomerSuccess",actor:"system",action:"save",object_type:"page"},Xc(ft))),Oe.type===Ko.SAVE_CUSTOMER_ERROR){var mo;en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_SaveCustomerError",actor:"user",action:"error",object_type:"page",validation_errors:{server:(mo=Oe.errors)===null||mo===void 0||(mo=mo.cause)===null||mo===void 0?void 0:mo.code}},Xc(ft)))}if(Oe.type===Xo.TRACK_LINK_CUSTOMER_CARE&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_ClickCustomerCare",actor:"user",action:"click",object_type:"button",object_identifier:"customer-care",product_section:"legal"},Xc(ft))),Oe.type===Xo.TRACK_LINK_TERMS_OF_SERVICE&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_ClickTermsOfService",actor:"user",action:"click",object_type:"button",object_identifier:"terms-of-service",product_section:"legal"},Xc(ft))),Oe.type===Xo.TRACK_LINK_PRIVACY_POLICY&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_ClickPrivacyPolicy",actor:"user",action:"click",object_type:"button",object_identifier:"privacy-policy",product_section:"legal"},Xc(ft))),Oe.type===Xo.TRACK_CREDIT_CARD_FORM_OPENED&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_OpenCreditCardForm",actor:"user",action:"click",object_type:"button",object_identifier:"manage-billing"},Xc(ft))),Oe.type===Xo.TRACK_PAYMENT_INFO_CLEARED&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_ClearPaymentInfo",actor:"user",action:"click",object_type:"button",object_identifier:"payment-info-cleared"})),Oe.type===Xo.TRACK_PAYMENT_INFO_DISCARD_CHANGES&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_DiscardPaymentInfoChanges",actor:"user",action:"click",object_type:"button",object_identifier:"payment-info-discard-changes"})),Oe.type===va.INSERT_PROMO_CODE&&en(ja(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_ApplyOfferCode",actor:"user",action:"click",object_type:"button",object_identifier:"add-promo-code",promo_code:Oe.discountCode},Ta(Gn)),Su(ft))),Oe.type===va.REMOVE_PROMO_CODE&&en(ja(ja(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_RemoveOfferCode",actor:"user",action:"click",object_type:"button",object_identifier:"remove-promo-code",promo_code:Oe.discountCode},Ta(Gn)),Xc(ft)),Su(ft))),Oe.type===Xo.TRACK_CREDIT_CARD_VALIDATION_ERRORS&&en(ja(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_CreditCardValidationError",actor:"system",action:"error",object_type:"form",object_identifier:"validation-error",validation_errors:Oe.validationErrors},Xc(ft)),Su(ft))),Oe.type===Ks.TRACK_CURRENCY_CHANGE&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_SelectCurrency",actor:"user",action:"click",currency_code:Oe.currencyCode,object_type:"select",object_identifier:"engagement-currency-picker"},Xc(ft))),Oe.type===Xo.TRACK_CROSS_SELL_LINK_CLICKED){var na;en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_ClickCrossPromoLink",actor:"user",action:"click",object_type:"button",object_identifier:"promotion-click",shown_promotion_name:js(ft,(na=Oe.options)===null||na===void 0?void 0:na.shownPromotionName),is_eligible_for_free_domain:ft.Subscriptions.freeDomain,is_eligible_for_free_gsuite:ft.Subscriptions.freeGSuite}))}return Oe.type===Xo.TRACK_SCA_AUTHORIZATION_INVOKED&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_InvokeSCAAuthorization",actor:"system",action:"invoke",object_type:"modal",object_identifier:"sca_authorization_invoked",billing_postal_code:pn.postalCode,billing_country:pn.userProvidedCountryCode})),Oe.type===Xo.TRACK_SCA_AUTHORIZATION_RESPONSE&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_SCAAuthorizationResponse",actor:"user",action:"receive",object_type:"modal",object_identifier:"sca_authorization_response",billing_postal_code:pn.postalCode,billing_country:pn.userProvidedCountryCode,is_authentication_successful:Oe.isAuthenticationSuccessful})),Oe.type===Xo.TRACK_REMOVE_ITEM_FROM_CART&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_RemoveItemFromCart",actor:"user",action:"click",object_type:"button",object_identifier:"remove_item_from_cart",removed_item:Oe.item,billing_postal_code:pn.postalCode,billing_country:pn.userProvidedCountryCode},Su(ft))),Oe.type===Xo.TRACK_EDIT_ORDER&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_ClickEditOrder",actor:"user",action:"click",object_type:"button",object_identifier:"edit",object_value:Oe.section,billing_postal_code:pn.postalCode,billing_country:pn.userProvidedCountryCode},Su(ft))),Oe.type===Xo.TRACK_CLICK_CTA_AFTER_PURCHASE&&en(ja(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_ClickCTA",actor:"user",action:"click",object_type:"button",object_identifier:Oe.ctaType,billing_postal_code:pn.postalCode,billing_country:pn.userProvidedCountryCode},Xc(ft)),Su(ft))),Oe.type===Xo.TRACK_TOGGLE_PAYMENT_METHOD_TYPE&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_TogglePaymentMethodType",actor:"user",action:"click",object_type:"button",object_identifier:"set_payment_method_type",selected_payment_method:Oe.paymentMethod})),Oe.type===Xo.TRACK_EXCESSIVE_PAYMENT_METHOD_BLOCKING&&en(ja(ja({},Ac(le)(ft)),{},{event_name:"UniversalCheckout_ExcessivePaymentMethodBlocking",actor:"user",action:"click",object_type:"button",object_identifier:"block_saving_payment_method"})),ue(Oe)}}}};var ii=e(937681),ol=(0,y.combineReducers)({RouterReducer:tc,CheckoutCart:zi,Currencies:wr,CustomerInfo:vs,Purchase:Fi,Paypal:$d,OrderDetails:Ec,Stripe:zc,Subscriptions:Ku,Tracking:tf,UI:Ef,FeatureGates:Uf,CheckoutFlowInfo:Yu,Cart:Dt}),hl=(0,ii.composeWithDevTools)({trace:!0,name:"@sqs/universal-checkout"});const gl=function(le,w){return(0,y.createStore)(ol,le,hl((0,y.applyMiddleware)(Du.Z,mi(w))))};var Iu=e(160553),Wa=e.n(Iu),Fa=e(331474),gs=p.createContext({}),Ci=["store","children"],Ol=function(w){var ue=w.store,Oe=w.children,ft=_s()(w,Ci);return p.createElement(Fa.Provider,Wa()({},ft,{store:ue,context:gs}),Oe)};const Il=Ol;function Ml(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function wl(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Ml(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Ml(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var uc=function(w,ue){var Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return(0,Fa.connect)(w,ue,null,wl(wl({},Oe),{},{context:gs}))},Yc=e(134521),ih=e.n(Yc);function Ph(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function f0(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Ph(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Ph(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}function $0(le,w,ue){return w=f()(w),c()(le,h0()?Reflect.construct(w,ue||[],f()(le).constructor):w.apply(le,ue))}function h0(){try{var le=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(h0=function(){return!!le})()}var Mm=200,p0=function(){var w=window,ue=w.innerWidth,Oe=w.innerHeight;return{windowWidth:ue,windowHeight:Oe}},Kf=p.createContext(),Rm=Kf.Consumer,X0=Kf.Provider,Mh=function(){return function(w){return function(ue){function Oe(ft){var pn;return o()(this,Oe),pn=$0(this,Oe,[ft]),_()(pn,"state",f0({},p0())),_()(pn,"handleResize",ih()(function(){pn.setState(p0())},Mm)),window.addEventListener("resize",pn.handleResize),window.addEventListener("load",pn.handleResize),pn}return h()(Oe,ue),a()(Oe,[{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("load",this.handleResize)}},{key:"render",value:function(){var pn=f0({},this.state);return p.createElement(X0,{value:pn},p.createElement(w,this.props))}}])}(p.Component)}},nc=function(){return function(w){var ue=function(ft){return p.createElement(Rm,null,function(pn){return p.createElement(w,Wa()({},ft,pn))})};return ue}};const m0=nc;var rf=function(w,ue){var Oe=(0,p.useRef)(!0);(0,p.useEffect)(function(){if(Oe.current){Oe.current=!1;return}w()},ue)};const Ju=rf;var Yi=e(213865);function Ch(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function v0(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Ch(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Ch(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var g0=p.createContext(),Lm=g0.Consumer,Y0=g0.Provider,Q0={mobile:Yi.breakpoints["mobile-0"],tablet:"".concat(Yi.breakpoints["mobile-100"],", ").concat(Yi.breakpoints["desktop-0"]),smallDesktop:"".concat(Yi.breakpoints["tablet-0"],", ").concat(Yi.breakpoints["desktop-50"]),desktop:"".concat(Yi.breakpoints["tablet-100"],", ").concat(Yi.breakpoints["desktop-100"])},gp=function(){var w=Object.entries(Q0).reduce(function(ue,Oe){var ft=we()(Oe,2),pn=ft[0],En=ft[1];return v0(v0({},ue),{},_()({},pn,window.matchMedia(En).matches))},{});return w},jp=function(){return function(w){var ue=function(ft){var pn=(0,p.useState)(gp()),En=we()(pn,2),Cn=En[0],Gn=En[1];return Ju(function(){Gn(gp())},[ft.windowWidth,ft.windowHeight]),p.createElement(Y0,{value:Cn},p.createElement(w,ft))};return m0()(ue)}},th=function(){return function(w){return function(ue){return p.createElement(Lm,null,function(Oe){return p.createElement(w,Wa()({},ue,Oe))})}}};const lh=th;function ip(le,w){return"".concat(le,"(").concat(w.displayName||w.name||"Component",")")}const Bu=ip;function qu(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Up(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?qu(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):qu(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var lp=p.createContext({isCenteredLayout:!1,setIsCenteredLayout:function(){}}),Fp=function(){return function(w){var ue=function(ft){var pn=(0,p.useState)(!1),En=we()(pn,2),Cn=En[0],Gn=En[1],yn={isCenteredLayout:Cn,setIsCenteredLayout:Gn};return p.createElement(lp.Provider,{value:yn},p.createElement(w,ft))};return ue.displayName=Bu("WithScreenLayoutPropsProvider",w),ue}},Wp=function(){return function(w){var ue=function(ft){return p.createElement(lp.Consumer,null,function(pn){var En=Up({},ft);return En.screen=Up(Up({},En.screen),pn),p.createElement(w,ft)})};return ue.displayName=Bu("WithScreenLayoutProps",w),ue}};const J0=Wp;var xm=e(859817),Rf=e(184791),Kp=function(w){return function(ue){var Oe=function(pn){var En,Cn=(0,p.useState)(!0),Gn=we()(Cn,2),yn=Gn[0],Or=Gn[1],tr=(0,p.useMemo)(function(){var co,lr,mo={environment:(co=pn.environment)===null||co===void 0?void 0:co.toLowerCase(),productArea:((lr=pn.analytics)===null||lr===void 0?void 0:lr.productArea)||w,user:pn.statsigUser};gn(mo);var na=_t(mo);return na.initializeAsync().catch(function(ya){Zn(ya,{statsig:"universal-checkout"})}).finally(function(){Or(!1),Xn()}),na},[pn.statsigUser,pn.environment,(En=pn.analytics)===null||En===void 0?void 0:En.productArea]);return yn?p.createElement(Rf.Z,null):p.createElement(xm.StatsigProvider,{client:tr},p.createElement(ue,pn))};return Oe.displayName=Bu("WithStatsigProvider",ue),Oe}};const Ah=Kp;var Id="free_domain",bh="line_item_discount",E0="free_g_suite",Ep=function(w){return w.OrderDetails.orderPreview.invoice},Lf=function(w){var ue=w.amountOff,Oe=w.identifier,ft=w.description;return{amountOff:ue,category:bh,code:ft,type:Oe}};const Sh=(0,P.createSelector)(Ep,function(le){var w=le||{},ue=w.discountSummary;return ue!=null&&ue.length?ue.map(Lf):[]});var ul=function(w){return w.RouterReducer};const wm=(0,P.createSelector)(ul,function(le){var w,ue=le.screens,Oe=le.currentScreenIndex;return((w=ue[0])===null||w===void 0?void 0:w.page)===O.BILLING_ADDRESS&&Oe===0});var _0=function(w){return w.CustomerInfo};const kp=(0,P.createSelector)(wm,_0,function(le,w){var ue=w.isLoading,Oe=le&&ue;return Oe});var Nm=function(w){var ue;return(ue=w.OrderDetails.orderPreview)===null||ue===void 0||(ue=ue.plan)===null||ue===void 0?void 0:ue.products};const _p=(0,P.createSelector)(Nm,So,function(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],w=arguments.length>1?arguments[1]:void 0;return le.length?le.map(function(ue){var Oe=ue.productType;return Oe}):w});var ch=e(991861),pc=e(625392),y0=e.n(pc),kf=e(976003),O0=e.n(kf),q0=e(845076),Vl=e.n(q0),bc=e(881707),Gp=function(w){return w.CheckoutCart},Yh=function(w){return w.Purchase},Hc=function(w){return w.CustomerInfo},P0=function(w){return w.OrderDetails},em=(0,P.createSelector)(Gp,Yh,Hc,P0,function(le,w,ue,Oe){var ft,pn,En=Object.values(le).filter(function(Cn){return!Ht()(Cn)}).length;return{cart:le,isDeferredPlanChange:!!(Oe!=null&&(ft=Oe.orderPreview)!==null&&ft!==void 0&&ft.deferred),purchaseSuccess:!!(w!=null&&w.purchaseInvoice),purchaseData:w==null?void 0:w.purchaseData,productTypeCount:En,paymentMethodType:ue==null||(pn=ue.savedCustomer)===null||pn===void 0||(pn=pn.paymentMethod)===null||pn===void 0?void 0:pn.type}});const C0=em,A0=[bu().PRORATED_CHARGE,bu().NOT_PRORATED];var b0=e(223826),yp=e(351704),xf=e(374078),Bm=e(775863),tm=e(501239),nm=e(644550),rm=e(793534),Th=e(591386),Dh=function(w){var ue;return ue={},_()(_()(_()(_()(_()(_()(_()(_()(_()(_()(ue,hs().CAMPAIGNS,w("Campaigns",null,{notes:'A proper noun. The "Campaigns" plan type enables our customers to send marketing campaigns to their subscribers.',project:"universal-checkout"})),hs().DOMAIN,w("Domain",null,{notes:'A proper noun. The "Domain" plan type enables our customers to attach a custom domain name for their website, e.g. "myexamplesite.com".',project:"universal-checkout"})),hs().RESOLD_DOMAIN,w("Domain",null,{notes:'A proper noun. The "Domain" plan type enables our customers to attach a custom domain name for their website, e.g. "myexamplesite.com".',project:"universal-checkout"})),hs().GETTY_IMAGE,w("Getty Image",null,{notes:"A proper noun. The product name for photographs that Squarespace resells from Getty Images.",project:"universal-checkout"})),hs().GOOGLE_WORKSPACE,w("Google Workspace",null,{notes:"A proper noun for the Google product that Squarespacer resells.",project:"universal-checkout"})),hs().MEMBER_AREAS,w("Digital Products",null,{notes:'A proper noun. The "Digital Products" plan type enables our customers to offer _their_ subscribing members special access to otherwise hidden areas on their website.',project:"universal-checkout"})),hs().SCHEDULING,w("Acuity Scheduling",null,{notes:'A proper noun. The "Acuity Scheduling" plan type provides an online scheduling solution.',project:"universal-checkout"})),"shipping-label",w("Shipping label",null,{project:"universal-checkout"})),hs().SQUARESPACE,"Squarespace"),hs().WEBSITE,w("Website",null,{notes:'A common noun. The "Website" plan type enables our customers to create and host a custom website.',project:"universal-checkout"})),_()(ue,hs().RESOLD_WEBSITE,w("Website",null,{notes:'A common noun. The "Website" plan type enables our customers to create and host a custom website.',project:"universal-checkout"}))},om=e(37943),Hp=e.n(om),Gf=function(le){return le.ANNUALLY="P1Y",le.BIENNIALLY="P2Y",le.MONTHLY="P1M",le.SEMIANNUALLY="P6M",le}({}),Zp=e(212004),Op=e.n(Zp),Xd=function(w){var ue=[Op().WEBSITE_BASIC,Op().WEBSITE_CORE,Op().WEBSITE_PLUS,Op().WEBSITE_ADVANCED];return w.some(function(Oe){return ue.includes(Oe)})},Hd=function(w){var ue,Oe=(ue={},_()(_()(_()(_()(_()(_()(_()(_()(_()(_()(ue,hs().DOMAIN,b0.Z),hs().RESOLD_DOMAIN,b0.Z),hs().WEBSITE,yp.Z),hs().RESOLD_WEBSITE,yp.Z),hs().GOOGLE_WORKSPACE,xf.Z),hs().GETTY_IMAGE,Bm.Z),hs().SCHEDULING,tm.Z),hs().SHIPPING_LABEL,nm.Z),hs().CAMPAIGNS,rm.Z),hs().MEMBER_AREAS,Th.Z),_()(ue,hs().SQUARESPACE,Th.Z));return Oe[w]},am=function(w,ue){return ue("{planName} plan",{planName:w},{notes:'The combination of the name of a plan with the word "plan". e.g. "Business plan", "Personal plan"',project:"universal-checkout"})},S0=function(w,ue,Oe){return Oe({one:"{plan}{separator}{%n} Seat",other:"{plan}{separator}{%n} Seats"},Math.abs(ue),{plan:w,separator:" - "},{project:"universal-checkout",notes:"A seat is a Google Workspace seat. It represents a user to whom one can assign a license"})},Vp=function(w){var ue=w.planType,Oe=w.planLine,ft=w.planDisplayName,pn=w.featureLevels,En=pn===void 0?[]:pn,Cn=w.itemName,Gn=w.t;if(ue===hs().DOMAIN)return Cn||"";if(ue===hs().CAMPAIGNS){var yn=Po();if(yn)return ft}if(Oe===Hp().WEBSITE_COMMERCE&&!Xd(En)){var Or=Gn("Commerce",null,{project:"universal-checkout",notes:'Describes some Squarespace website plans, as in "Commerce Basic"'});ft="".concat(Or," ").concat(ft)}return am(ft,Gn)},Pp=function(w){var ue=w.planType,Oe=w.planLine,ft=w.planDisplayName,pn=w.featureLevels,En=pn===void 0?[]:pn,Cn=w.itemName,Gn=w.t,yn=Vp({planType:ue,planLine:Oe,planDisplayName:ft,featureLevels:En,itemName:Cn,t:Gn}),Or=Dh(Gn),tr=Or[ue];return"".concat(yn," - ").concat(tr)},T0=function(w){return _()(_()(_()(_()({},Gf.BIENNIALLY,w("Biennial subscription",null,{project:"universal-checkout"})),Gf.ANNUALLY,w("Annual subscription",null,{project:"universal-checkout"})),Gf.MONTHLY,w("Monthly subscription",null,{project:"universal-checkout"})),Gf.SEMIANNUALLY,"")},jm=function(w){return _()(_()(_()(_()({},Gf.ANNUALLY,w("Prorated annual payment",null,{project:"universal-checkout"})),Gf.MONTHLY,w("Prorated monthly payment",null,{project:"universal-checkout"})),Gf.BIENNIALLY,""),Gf.SEMIANNUALLY,"")},Um=function(w){return _()(_()(_()(_()({},Gf.BIENNIALLY,w("biennially",null,{project:"universal-checkout"})),Gf.ANNUALLY,w("annually",null,{project:"universal-checkout"})),Gf.MONTHLY,w("monthly",null,{project:"universal-checkout"})),Gf.SEMIANNUALLY,w("semiannually",null,{project:"universal-checkout"}))},zp=function(w,ue,Oe){var ft=w.subscriptionDetail,pn=w.planType,En=w.descriptionSubtitle,Cn=ft,Gn=Cn.lineItemType,yn=Cn.billingIntervalPeriod,Or=Cn.multiBillingCycleTermsAllowed,tr=Cn.quantity;if(Or&&En)return En;var co=Gn===bu().PRORATED_CHARGE,lr=T0(ue),mo=jm(ue),na=co?mo[yn]:lr[yn];return pn===hs().GOOGLE_WORKSPACE?S0(na,tr,Oe):na},sm=function(w,ue,Oe){var ft=we()(ue,2),pn=ft[0],En=ft[1],Cn=w.billingPeriod,Gn=w.renewalPrice,yn=w.renewalDate,Or=w.displayName,tr=w.planLine,co=w.products,lr=T0(Oe),mo=co.map(function(da){return da.featureLevel}),na=Vp({planType:pn,planLine:tr,planDisplayName:Or,featureLevels:mo,t:Oe}),ya=En.customProductTitle||Pp({planType:pn,planLine:tr,planDisplayName:Or,featureLevels:mo,t:Oe});return{orderSummaryItemTitle:na,cartItemTitle:ya,key:na,renewalDate:yn,billingIntervalPeriod:Cn,orderSummaryItemSubtitle:lr[Cn],amount:Gn,amountPerTerm:Gn,CustomCartItemIcon:En.customCartItemIcon}},Fm=function(w,ue,Oe){var ft={};if(!ue)return ft;var pn=ue[0],En=[sm(w,ue,Oe)];return ft[pn]={planType:pn,groupedLineItems:En},ft},Wm=function(w,ue,Oe){var ft=w.checkoutCart,pn=w.invoice,En={};if(!(pn!=null&&pn.lineItems))return{};pn.lineItems.forEach(function(Gn){var yn=Gn.amount,Or=Gn.itemName,tr=Gn.itemIdentifier,co=Gn.cartItemIdentifier,lr=Gn.planType,mo=Gn.subscriptionDetail,na=Gn.discounts,ya=ft.find(function(xc){return xc[0]===lr})||[],da=we()(ya,2),ua=da[1];if(ua){var La=ua.customPurchaseProductSubtitle||Vp({planType:lr,planLine:mo==null?void 0:mo.planLine,planDisplayName:mo==null?void 0:mo.planName,featureLevels:mo!=null&&mo.featureLevels?mo==null?void 0:mo.featureLevels:[],itemName:Or,t:ue}),Ga=ua.customCartItemIcon,Ka,no;if(mo){var Kn=mo.quantity,Ir=mo.lineItemType,ra=mo.billingIntervalPeriod,Ma=mo.planPrice,$o=mo.numBillingIntervalsInLinePeriod,po=mo.planName,ga=mo.planLine;if(!A0.includes(Ir))return;var so=mo.renewsOn||mo.periodEnd,Wr=so?new Date(so):null,_o=mo.multiBillingCycleTermsAllowed,$r=zp(Gn,ue,Oe),ts=ua.customProductTitle||Pp({planType:lr,planLine:ga,planDisplayName:po,featureLevels:mo.featureLevels?mo==null?void 0:mo.featureLevels:[],itemName:Or,t:ue});Ka={key:La,planType:lr,orderSummaryItemTitle:La,cartItemTitle:ts,orderSummaryItemSubtitle:$r,billingIntervalPeriod:ra,renewalDate:Wr,numBillingIntervalsInLinePeriod:$o,multiBillingCycleTermsAllowed:_o,amountPerTerm:_o&&$o>1?Ma:yn,amount:_o&&$o>1?Ma:yn,quantity:Kn,discounts:na,CustomCartItemIcon:Ga},En[lr]&&(no=En[lr].find(function(xc){return xc.orderSummaryItemTitle===La&&xc.orderSummaryItemSubtitle===$r}))}else{var Ba=ua,jl=Ba.productImageUrl;Ka={key:tr||co,planType:lr,orderSummaryItemTitle:Ba.customPurchaseProductSubtitle||"",cartItemTitle:Ba.customProductTitle,amount:yn,productImageUrl:jl,discounts:na,amountPerTerm:yn,CustomCartItemIcon:Ga,billingIntervalPeriod:""}}if(!En[lr])return En[lr]=[Ka];no||En[lr].push(Ka)}});var Cn={};return Object.entries(En).forEach(function(Gn){var yn=we()(Gn,2),Or=yn[0],tr=yn[1],co={planType:Or,groupedLineItems:tr};Cn[Or]=co}),Cn},$p=function(w,ue,Oe){var ft=w.invoice,pn=w.checkoutType,En=w.checkoutCart,Cn=w.plan,Gn=Cn===void 0?{}:Cn,yn=w.options,Or=yn===void 0?{}:yn;return Or.isDeferredPlanChange?Fm(Gn,En[0],ue):Wm({invoice:ft,checkoutType:pn,checkoutCart:En},ue,Oe)};const cp=$p;function Km(le,w,ue){return w=f()(w),c()(le,im()?Reflect.construct(w,ue||[],f()(le).constructor):w.apply(le,ue))}function im(){try{var le=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(im=function(){return!!le})()}var Xp=function(le){function w(){return o()(this,w),Km(this,w,arguments)}return h()(w,le),a()(w,[{key:"componentDidMount",value:function(){var Oe=this.props,ft=Oe.message,pn=Oe.data;jt(ft,pn)}},{key:"render",value:function(){return this.props.children}}])}(p.PureComponent);_()(Xp,"defaultProps",{data:{}});const Qh=Xp;var Dc=e(412166),ji=e(719484),km=e(870629),up=e.n(km),Qc=e(47932),Cp=function(w){var ue=w.title,Oe=w.subtitle,ft=w.animatedText,pn=w.RightTitleSection,En=w.fullWidthSubtitle,Cn=(0,p.useRef)(null),Gn=(0,Qc.F)(),yn=Gn.space,Or=Gn.colors,tr=Gn.sizes;(0,p.useEffect)(function(){var lr;Cn==null||(lr=Cn.current)===null||lr===void 0||lr.focus({preventScroll:!0})},[Cn]);var co=pn?{}:{mt:{_:yn[8],"mobile-*":yn[3],"tablet-0":yn[4]},mb:{_:1,"mobile-*":yn[1]}};return p.createElement(Dc.Z,{display:"".concat(pn?"flex":"block"),justifyContent:"space-between"},p.createElement(bc.Z,co,p.createElement(ji.Z.Title,{className:Vl()(up().title,_()({},up().animatedText,ft)),ref:Cn,tabIndex:-1,"data-test":"screen-title",my:"0",mb:Oe?0:yn[6]},ue)),!!Oe&&p.createElement(bc.Z,{mb:yn[6]},p.createElement(ji.Z.Subtitle,{className:Vl()(up().subtitle,_()({},up().animatedText,ft)),color:Or.gray[300],"data-test":"screen-subtitle",maxWidth:En?"100%":tr.sizes[700],my:"0",py:1},Oe)),pn&&p.createElement(bc.Z,{"data-test":"screen-right-section"},p.createElement(pn,null)))};const Hm=Cp;var lm=e(194979),dp=e.n(lm),Yp=e(721247),I0=function(){(0,p.useEffect)(function(){window.scrollTo({top:0,behavior:"smooth"})},[])};function Qp(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Jh(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Qp(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Qp(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var M0=Yp.CSSTransitionGroupPresets.Dissolve.transitions,Zm=function(w){var ue=w.children,Oe=w.isStandaloneApp;return I0(),Oe?p.createElement(Yp.CSSTransitionGroup,{transitions:M0},ue):p.createElement(p.Fragment,null,ue)},Vm=function(w){var ue=ba(),Oe=ue.t,ft=ue.pluralize,pn=(0,p.useContext)(lp),En=pn.isCenteredLayout,Cn=pn.setIsCenteredLayout;(0,p.useEffect)(function(){Cn(!!w.screen.isCenteredLayout)},[w.screen.isCenteredLayout,Cn]);var Gn=function(so){var Wr,_o;(Wr=w.writeItemToCart)===null||Wr===void 0||Wr.call(w,so),(_o=w.gotoNext)===null||_o===void 0||_o.call(w)},yn=Jh({closeModal:w.closeModal,locale:w.locale,checkoutType:w.checkoutType},w.screen),Or=Jh(Jh({},yn),{},{saveAndGotoNext:Gn,removeItemInCart:function(so){return w.removeItemInCart(so)},setFormDirtyState:w.setFormDirtyState,updateAnalyticsData:w.updateAnalyticsData,updateItemInCart:w.updateItemInCart}),tr=function(){var so=w.checkoutType,Wr=w.previewInvoice,_o=w.checkoutCart;if(_o.length)return cp({invoice:Wr,checkoutType:so,checkoutCart:_o},Oe,ft)},co=function(){var so=w.isPreCheckoutScreen,Wr=w.mobileButtonRef,_o=w.isExitingScreen,$r=w.selectedCurrency,ts=w.gotoPreviousStep;return so?Jh(Jh({},Or),{},{cartLineItemDetails:tr()}):Jh(Jh({},yn),{},{mobileButtonRef:Wr,isExitingScreen:_o,selectedCurrency:$r,gotoPreviousStep:ts})},lr=w.screen,mo=lr.page,na=lr.navLabel,ya=lr.fullWidthSubtitle,da=ya===void 0?!1:ya,ua=lr.component,La=lr.contentWrapperClassName,Ga=lr.isAnimatedTitle,Ka=lr.isFullBleed,no=lr.isSplitScreen,Kn=lr.RightTitleSection,Ir=w.screenTitle,ra=w.screenSubtitle,Ma=w.direction,$o=w.hasEntered,po=w.isInverted;return w.screen?p.createElement(Zm,{isStandaloneApp:w.isStandaloneApp},p.createElement("div",{key:"screen-children","data-test":"uc-screen-content","data-testid":"uc-screen-content",className:Vl()(dp()[Ma],_()(_()(_()(_()({},dp().screenLayoutSplit,no),dp().screenLayoutFull,!no&&!En),dp().screenFullBleed,Ka&&$o),dp().screenLayoutCentered,En),La)},Ir&&!Ka&&p.createElement(Hm,{title:Ir,subtitle:ra,animatedText:Ga,fullWidthSubtitle:da,RightTitleSection:Kn}),$o?p.createElement(Qh,{message:"Universal Checkout screen shown",data:{page:mo,navLabel:na}},p.createElement(ua,co())):p.createElement("div",{className:dp().loadingWrapper},p.createElement(Rf.Z,{color:po?"light":"dark"})))):null};const cm=Vm;var R0=function(){var w,ue,Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ft=arguments.length>1?arguments[1]:void 0,pn=Oe.CheckoutFlowInfo.checkoutAppVersion===mu.STANDALONE,En=(w=ft.screen)===null||w===void 0?void 0:w.title,Cn=(ue=ft.screen)===null||ue===void 0?void 0:ue.subtitle,Gn=C0(Oe),yn=typeof En=="function"?En(Gn,ft):En,Or=typeof Cn=="function"?Cn(Gn,ft):Cn;return{isStandaloneApp:pn,screenTitle:yn,screenSubtitle:Or,previewInvoice:Oe.OrderDetails.orderPreview.invoice,checkoutCart:Vi(Oe)}},Ap=function(w){return(0,y.bindActionCreators)({writeItemToCart:Ge,removeItemInCart:Yt,gotoNext:Eu,setFormDirtyState:gu,updateAnalyticsData:ds,updateItemInCart:fn},w)},zm=uc(R0,Ap);const $m=zm(cm);var Jp=e(297761),um=e(885630),qh=function(w){var ue=(0,um.i)(w);return ue.platform==="mobile"},Xm=function(w){return!qh(w)},vh=e(425629),L0=e(122003),Ym={minimumFractionDigits:2,maximumFractionDigits:2},dm={minimumFractionDigits:0,maximumFractionDigits:0},fm={group:!1},x0=function(w){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ft=arguments.length>3?arguments[3]:void 0,pn=w.toFloat(),En=w.getCurrencyCode(),Cn=ft.formatDecimal,Gn=ft.formatCurrency,yn=ue.trimCents,Or=yn===void 0?!1:yn,tr=ue.useGrouping,co=tr===void 0?!0:tr,lr=ue.valueOnly,mo=lr===void 0?!1:lr;return mo?Cn(pn,Ym):Or?pn%1===0?Gn(pn,En,dm):Gn(pn,En):co?Object.keys(Oe).length>0?Gn(pn,En,Oe):Gn(pn,En):Gn(pn,En,fm)},bp=function(w){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ft=(0,Ja.Z)(),pn=ft.formatDecimal,En=ft.formatCurrency;if(!(w instanceof Tn.default))throw new Error("Format expects a Money instance.");return x0(w,ue,Oe,{formatDecimal:pn,formatCurrency:En})};const fp=bp;var w0=["freeIfZero","isNegative","trimCents","useGrouping","value","valueOnly","cldrCurrencyOpts","i18n"];function Qm(le,w,ue){return w=f()(w),c()(le,N0()?Reflect.construct(w,ue||[],f()(le).constructor):w.apply(le,ue))}function N0(){try{var le=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(N0=function(){return!!le})()}var Jm=function(le){function w(){return o()(this,w),Qm(this,w,arguments)}return h()(w,le),a()(w,[{key:"render",value:function(){var Oe=this.props,ft=Oe.freeIfZero,pn=Oe.isNegative,En=Oe.trimCents,Cn=Oe.useGrouping,Gn=Oe.value,yn=Oe.valueOnly,Or=Oe.cldrCurrencyOpts,tr=Or===void 0?{}:Or,co=Oe.i18n,lr=_s()(Oe,w0),mo={trimCents:En,useGrouping:Cn,valueOnly:yn},na=co.t,ya=co.formatDecimal,da=co.formatCurrency,ua=this.props.freeLabel,La=ua===void 0?na("Free",null,{project:"universal-checkout"}):ua,Ga=x0(Gn,mo,tr,{formatCurrency:da,formatDecimal:ya});return Object.keys(mo).forEach(function(Ka){mo[Ka]===void 0&&delete mo[Ka]}),p.createElement("span",lr,pn&&"-"," ",ft&&Gn.isZero()?La:Ga)}}])}(p.PureComponent);const wf=ns(Jm);var Sp=e(224353),qp=e(66232),pf=function(w,ue){return{CIRCLE_FEB_2017:function(ft){return ue("Squarespace Circle Member, save {percentOff} on your Squarespace plan for the first year when you pay annually.",{percentOff:w(ft.percentOff,{style:"percent"})},{notes:"Tooltip details for Squarespace Circle membership discount, with dynamic percent discount based on membership tier",project:"universal-checkout"})},free_domain:function(ft){return ue("Your purchase includes one (1) free domain registration for one (1) year. All domains registered through this promotion will renew at our standard rate plus applicable taxes, after the first year.",null,{project:"universal-checkout"})}}},B0=function(w){var ue=w.discount,Oe=(0,Ja.Z)(),ft=Oe.formatDecimal,pn=ba(),En=pn.t,Cn=(0,Qc.F)(),Gn=Cn.colors,yn=Cn.fontSizes,Or=Cn.lineHeights,tr=(0,p.useRef)(null),co=(0,p.useState)(!1),lr=we()(co,2),mo=lr[0],na=lr[1],ya="".concat(ue.identifier,"-tooltip"),da=pf(ft,En)[ue.identifier](ue);return p.createElement(p.Fragment,null,p.createElement(vh.Z.Element.WithoutFeedback,{ref:tr,"data-test":"discount-tooltip","aria-describedby":ya,onBlur:function(){return na(!1)},onFocus:function(){return na(!0)},onKeyDown:function(La){qp.Z.isEsc(La)&&(La.preventDefault(),La.stopPropagation(),na(!1))},onMouseEnter:function(){return na(!0)},onMouseLeave:function(){return na(!1)},pb:0,as:"td",tabIndex:0,width:"fit-content"},p.createElement(ji.Z.Caption,{lineHeight:Or[2],as:"span",color:Gn.gray[100]},ue.description,"\xA0"),p.createElement(L0.Z,{sx:{height:yn[6],width:yn[2],verticalAlign:"bottom",color:Gn.gray[300]}})),p.createElement(Sp.Z,{id:ya,anchor:tr.current,isOpen:mo,position:"top"},da))},pm=function(w){var ue=w.discount,Oe=(0,Ja.Z)(),ft=Oe.formatDecimal,pn=ba(),En=pn.t,Cn=ue.identifier,Gn=ue.description,yn=ue.amountOff,Or=(0,Qc.F)(),tr=Or.colors,co=Or.fontSizes,lr=Or.lineHeights,mo=Object.keys(pf(ft,En)).includes(ue.identifier);return p.createElement("tr",{key:Cn,"data-test":"cart-sub-item-discount"},mo?p.createElement(B0,{discount:ue}):p.createElement(ji.Z.Caption,{lineHeight:lr[2],as:"td",color:tr.gray[100]},Gn),p.createElement(ji.Z.Caption,{as:"td",lineHeight:lr[2],textAlign:"right",fontSize:co[3],color:tr.blue[300],sx:{whiteSpace:"nowrap"}},p.createElement(wf,{value:yn,isNegative:!0})))},Tp=function(w){var ue=w.moneyAmount,Oe=w.multiBillingCycleTermsAllowed,ft=w.numBillingIntervalsInLinePeriod,pn=w.topSpacing,En=(0,Qc.F)(),Cn=En.space,Gn=En.colors,yn=fp(ue);return Oe&&ft&&ft>1&&(yn="".concat(ft," \xD7 ").concat(yn)),p.createElement(ji.Z.Body,{"data-test":"cart-sub-item-amount",as:"td",pt:pn,pl:Cn[2],textAlign:"right",color:Gn.gray[100],sx:{whiteSpace:"nowrap"}},yn)},qm=function(w){var ue=w.allItemsOfProduct,Oe=(0,Qc.F)(),ft=Oe.space,pn=Oe.fontWeights;return ue.map(function(En,Cn){var Gn=En.key,yn=En.orderSummaryItemTitle,Or=En.amountPerTerm,tr=En.multiBillingCycleTermsAllowed,co=En.numBillingIntervalsInLinePeriod,lr=En.orderSummaryItemSubtitle,mo=En.discounts,na=mo===void 0?[]:mo,ya=Cn?ft[2]:ft[3],da=na.filter(function(ua){return!ua.amountOff.isZero()});return p.createElement(p.Fragment,{key:Gn},p.createElement("tr",null,p.createElement(ji.Z.Body,{"data-test":"cart-sub-item-title",as:"td",pt:ya,fontWeight:pn.medium,sx:{wordBreak:"break-word"}},yn),p.createElement(Tp,{moneyAmount:Or,multiBillingCycleTermsAllowed:tr||!1,numBillingIntervalsInLinePeriod:co,topSpacing:ya})),da.map(function(ua){return p.createElement(pm,{key:ua.identifier,discount:ua})}),p.createElement("tr",null,p.createElement(ji.Z.Caption,{as:"td",m:0,"data-test":"cart-sub-item-description"},lr),p.createElement("td",{"aria-hidden":!0})))})};const ep=qm;var U0=function(w){var ue=w.itemDetails,Oe=ba(),ft=Oe.t,pn=Hd(ue.planType),En=Dh(ft),Cn=ue.groupedLineItems.length,Gn="".concat(En[ue.planType]," (").concat(Cn,")");return p.createElement(ji.Z.Body,{pt:Yi.space[4],as:"td",colSpan:2,textAlign:"left"},p.createElement(pn,{css:{marginRight:Yi.space[1],verticalAlign:"middle",width:Yi.space[3],height:Yi.space[3]},color:"fg.muted","aria-hidden":!0}),p.createElement(ji.Z,{as:"span",verticalAlign:"middle","data-test":"cart-item-group-title"},Gn))},e0=function(w){var ue=w.itemDetails,Oe=ue.groupedLineItems;return p.createElement("tbody",{"data-test":"cart-item","data-testid":"cart-item"},p.createElement("tr",null,p.createElement(U0,{itemDetails:ue})),p.createElement(ep,{allItemsOfProduct:Oe}))};const F0=e0;var ev=e(955718),tv=e.n(ev),W0=function(w){var ue=w.taxSummary,Oe=ba(),ft=Oe.t,pn=ue.type,En=ue.rate,Cn=ue.taxRateLines,Gn=ha(),yn=Gn.getTaxStringsByCountry,Or=Gn.getFormattedTaxDetail,tr=Gn.getTaxingEntity,co=yn({taxType:pn}).taxDisplayString||ft("Taxes",{},{project:"universal-checkout"}),lr=tr({taxRateLines:Cn}),mo=yn({taxType:pn}).taxInfoLinks,na=Or({countryCode:lr,taxType:pn,taxRate:En});return En===0?p.createElement("span",null,co," ",na):p.createElement("a",{href:mo,rel:"noreferrer noopener",target:"_blank",className:tv().link},co," ",na)};const t0=W0;var n0=e(608371),mm=e(362194),Dp=e.n(mm),r0=function(w){var ue=w.item,Oe=ba(),ft=Oe.t,pn=Oe.T,En=(0,Qc.F)(),Cn=En.breakpoints,Gn=En.colors,yn=En.fontSizes,Or=En.sizes,tr=(0,um.i)(Cn),co=tr.platform,lr=ue.itemName,mo=ue.subscriptionDetail,na=mo===void 0?{}:mo,ya=na,da=ya.lineItemType,ua=(0,p.useState)(),La=we()(ua,2),Ga=La[0],Ka=La[1],no=(0,p.useState)(!1),Kn=we()(no,2),Ir=Kn[0],ra=Kn[1];return da===bu().BUNDLE_DISCOUNT_FORFEITURE?p.createElement("span",{className:Dp().cellWithTooltip},p.createElement("span",{className:Dp().name},Ff(lr)),p.createElement("span",null,Qf(lr)),p.createElement(Dc.Z,{ref:Ka},p.createElement(n0.Z,{sx:{height:yn[6],width:yn[3],verticalAlign:"bottom",color:Gn.gray[300],marginLeft:Or.sizes[50]},"aria-describedby":"line-item-label-tooltip",onBlur:function(){return ra(!1)},onFocus:function(){return ra(!0)},onKeyDown:function($o){qp.Z.isEsc($o)&&($o.preventDefault(),$o.stopPropagation(),ra(!1))},onMouseEnter:function(){return ra(!0)},onMouseLeave:function(){return ra(!1)}}),p.createElement(Sp.Z,{id:"line-item-label-tooltip",anchor:Ga,position:co==="mobile"?"bottom":"right",isOpen:Ir},ft("Only annual website plans include a free domain for the first year.",null,{project:"universal-checkout"})))):da===bu().PRORATED_REFUND?p.createElement(pn,{project:"universal-checkout"},"Refund"):null};const vm=r0;var K0=["children","component"],k0=function(w){var ue=w.children,Oe=w.component,ft=Oe===void 0?ji.Z.Body:Oe,pn=_s()(w,K0),En=(0,Qc.F)(),Cn=En.space;return p.createElement(ft,Wa()({as:"td",pb:Cn[3]},pn),ue)};const Cf=k0;var o0=["children","component"],gm=function(w){var ue=w.children,Oe=w.component,ft=Oe===void 0?ji.Z.Body:Oe,pn=_s()(w,o0),En=(0,Qc.F)(),Cn=En.space;return p.createElement(ft,Wa()({as:"td",textAlign:"right",pl:Cn[2],pb:Cn[3]},pn),ue)};const nh=gm;var G0=function(w){var ue=w.lineItems,Oe=ue===void 0?[]:ue,ft=ba(),pn=ft.t,En=ft.pluralize;return p.createElement(p.Fragment,null,Oe.reduce(function(Cn,Gn){var yn=Gn.amount,Or=Gn.planType,tr=Gn.description,co=Gn.subscriptionDetail,lr=co===void 0?{}:co,mo=lr,na=mo.lineItemType,ya=mo.planName,da=mo.quantity;if(na&&!A0.includes(na)){var ua=na===bu().PRORATED_REFUND,La=Or===hs().GOOGLE_WORKSPACE?S0(ya,da,En):ya,Ga=pn("Refund for the remainder of your current plan ({plan}).",{plan:La},{project:"universal-checkout"});Cn.push(p.createElement(p.Fragment,{key:tr},p.createElement("tr",{"data-test":na},p.createElement(Cf,{pb:ua?0:void 0},p.createElement(vm,{item:Gn})),p.createElement(nh,{pb:ua?0:void 0},p.createElement(wf,{value:yn}))),ua&&p.createElement("tr",{"data-test":"".concat(na,"-subtitle")},p.createElement(Cf,{component:ji.Z.Caption},Ga),p.createElement("td",{"aria-hidden":!0}))))}return Cn},[]))};const H0=G0;var Ip=e(583458),Z0=e.n(Ip),a0=function(w){var ue,Oe=w.amount,ft=w.isPostPurchase,pn=w.screens,En=w.currentScreenIndex,Cn=w.status,Gn=w.renewalDate,yn=w.T,Or=En&&(pn==null||(ue=pn[En])===null||ue===void 0?void 0:ue.page)===O.ORDER_SUMMARY,tr;return Oe.isNegative()?tr=ft?p.createElement(yn,{project:"universal-checkout"},"Amount Refunded Today"):p.createElement(yn,{project:"universal-checkout"},"Amount Refunded"):Gn?tr=p.createElement(yn,{project:"universal-checkout",date:Gn},"Due on {date}"):ft?tr=Cn===Z0().UNPAID?p.createElement(yn,{project:"universal-checkout"},"Pending"):p.createElement(yn,{project:"universal-checkout"},"Amount Paid Today"):Or?tr=p.createElement(yn,{project:"universal-checkout"},"Due Today"):tr=p.createElement(yn,{project:"universal-checkout"},"Estimated Total"),tr},Em=function(w){var ue=w.renewalPrice,Oe=w.renewalDate,ft=w.screens,pn=w.currentScreenIndex,En=w.isPostPurchase,Cn=ba(),Gn=Cn.T,yn=ue.currencyCode,Or={rate:0,amount:new Tn.default(0,yn),type:Ho().NONE},tr=new Tn.default(0,yn);return p.createElement(p.Fragment,null,p.createElement("tr",{"data-test":"subtotal"},p.createElement(Cf,null,p.createElement(Gn,{project:"universal-checkout"},"Subtotal")),p.createElement(nh,null,p.createElement(wf,{value:ue}))),p.createElement("tr",{"data-test":"taxes"},p.createElement(Cf,null,p.createElement(t0,{taxSummary:Or})),p.createElement(nh,null,p.createElement(wf,{value:Or.amount}))),p.createElement("tr",{"data-test":"total-today","data-testid":"total-today"},p.createElement(Cf,{component:ji.Z.Subtitle},a0({amount:tr,screens:ft,currentScreenIndex:pn,isPostPurchase:En,T:Gn})),p.createElement(nh,{component:ji.Z.Subtitle},p.createElement(wf,{value:tr,isNegative:tr.isNegative()}))),p.createElement("tr",{"data-test":"total-deferred","data-testid":"total-deferred"},p.createElement(Cf,{component:ji.Z.Subtitle},a0({amount:ue,screens:ft,currentScreenIndex:pn,isPostPurchase:En,renewalDate:Oe,T:Gn})),p.createElement(nh,{component:ji.Z.Subtitle},p.createElement(wf,{value:ue,isNegative:ue.isNegative()}))))};const _m=Em;var ym=function(w){var ue=w.invoice,Oe=w.screens,ft=w.currentScreenIndex,pn=w.isPostPurchase,En=w.isDeferredPlanChange,Cn=w.renewalPrice,Gn=w.renewalDate,yn=ba(),Or=yn.T,tr=(0,Qc.F)(),co=tr.colors;if(En)return p.createElement(_m,{renewalPrice:Cn,renewalDate:Gn,screens:Oe,currentScreenIndex:ft,isPostPurchase:pn});if(!ue)return null;var lr=ue.currency,mo=ue.lineItems,na=ue.subtotal,ya=ue.preTaxCreditApplied,da=ue.taxSummaries,ua=ue.postTaxCreditApplied,La=ue.pastDueAdjustment,Ga=ue.total,Ka=ue.status,no=ue.discountAmount;return da.length===0&&da.push({rate:0,amount:new Tn.default(0,lr),type:Ho().NONE}),p.createElement(p.Fragment,null,p.createElement(H0,{lineItems:mo}),p.createElement("tr",{"data-test":"subtotal"},p.createElement(Cf,null,p.createElement(Or,{project:"universal-checkout"},"Subtotal")),p.createElement(nh,null,p.createElement(wf,{value:na}))),!no.isZero()&&p.createElement("tr",{"data-test":"discount"},p.createElement(Cf,null,p.createElement(Or,{notes:"A label for the amount of all the discounts applied to the purchase",project:"universal-checkout"},"Total Discounts")),p.createElement(nh,{color:co.blue[300]},p.createElement(wf,{value:no,isNegative:!0}))),!ya.isZero()&&p.createElement("tr",{"data-test":"pre-tax-credit"},p.createElement(Cf,null,p.createElement(Or,{project:"universal-checkout"},"Credit Applied")),p.createElement(Cf,null,p.createElement(wf,{value:ya,isNegative:!0}))),da.map(function(Kn){return p.createElement(p.Fragment,{key:Kn.type},p.createElement("tr",{"data-test":"taxes","data-testid":"taxes"},p.createElement(Cf,null,p.createElement(t0,{taxSummary:Kn})),p.createElement(nh,null,p.createElement(wf,{value:Kn.amount}))))}),!ua.isZero()&&p.createElement("tr",{"data-test":"post-tax-credit"},p.createElement(Cf,null,p.createElement(Or,{project:"universal-checkout"},"Credit Applied")),p.createElement(nh,null,p.createElement(wf,{value:ua,isNegative:!0}))),!La.isZero()&&p.createElement("tr",{"data-test":"previous-balance"},p.createElement(Cf,null,p.createElement(Or,{project:"universal-checkout"},"Previous Balance")),p.createElement(nh,null,p.createElement(wf,{value:La,isNegative:!0}))),p.createElement("tr",{"data-test":"total","data-testid":"total"},p.createElement(Cf,{component:ji.Z.Subtitle},a0({amount:Ga,screens:Oe,currentScreenIndex:ft,status:Ka,isPostPurchase:pn,T:Or})),p.createElement(nh,{component:ji.Z.Subtitle},p.createElement(wf,{value:Ga,isNegative:Ga.isNegative()}))))};const Mp=ym;var Hf=e(725538),Vn=e(411722),dr=function(w){var ue=w.cancelText,Oe=w.confirmText,ft=w.isOpen,pn=w.message,En=w.position,Cn=En===void 0?"center":En,Gn=w.title,yn=w.onDismiss,Or=w.onConfirm,tr=w.showConfirm,co=tr===void 0?!0:tr,lr=w.testAttr,mo=lr===void 0?"":lr,na=ba(),ya=na.t,da=function(){return p.createElement(Vn.Z.Button,{"data-test":"confirm-btn",key:"confirm",onClick:Or},Oe||ya("Confirm",null,{project:"universal-checkout"}))},ua=function(Ka){var no=Ka.onRequestClose;return p.createElement(Vn.Z.Button,{"data-test":"cancel-btn",key:"close",onClick:no},ue||ya("Cancel",null,{project:"universal-checkout"}))},La=[ua];return co&&La.push(da),p.createElement(Hf.Z.Transition,null,ft&&p.createElement(Hf.Z,{onRequestClose:yn,"data-test":mo},p.createElement(Hf.Z.Overlay,null),p.createElement(Hf.Z.Position,{position:Cn},p.createElement(Vn.Z,{title:Gn||ya("Are you sure?",null,{project:"universal-checkout"}),message:pn,buttons:La}))))};const X=dr;var be=function(){var w=ba(),ue=w.t,Oe=w.T,ft=(0,p.useState)(!0),pn=we()(ft,2),En=pn[0],Cn=pn[1];return p.createElement(X,{testAttr:"purchase-preview-error",isOpen:En,onDismiss:function(){return Cn(!1)},message:p.createElement(Oe,{project:"universal-checkout",contactLink:p.createElement("a",{"data-test":"contact-us-link",href:Qr.CONTACT_CUSTOMER_CARE_BILLING},p.createElement(Oe,{project:"universal-checkout"},"contact us"))},"There\u2019s no summary for your order. Try reloading the page. If the problem persists, {contactLink}."),title:ue("Unknown Error",null,{project:"universal-checkout"}),cancelText:ue("Ok",null,{project:"universal-checkout"}),showConfirm:!1})};const On=be;var fr=e(485669),Gr=function(){var w=(0,Qc.F)(),ue=w.colors,Oe=w.space,ft=w.fontSizes,pn=ba(),En=pn.T;return p.createElement(p.Fragment,null,p.createElement(Dc.Z,{pt:Oe[3]},p.createElement(fr.Z,{sx:{marginRight:Oe[1],height:ft[3],color:ue.gray[300]},"aria-hidden":"true",role:"img"}),p.createElement(ji.Z.Label,{color:ue.gray[100]},p.createElement(En,{project:"universal-checkout"},"SSL Encrypted Payment"))))};const Do=Gr;var Wo=e(936609),zo=e(488609),_a=function(){return p.createElement(Wo.Z.Provider,null,p.createElement(Wo.Z.Renderer,{render:{default:function(){return p.createElement(zo.Z,{"data-test":"mobile-only-divider",mx:{"mobile-*":-tl},width:"auto"})},"tablet-0":function(){return null},"tablet-100":function(){return null},"desktop-50":function(){return null},"desktop-100":function(){return null}}}))};const za=_a;var ps=function(){var w=(0,Qc.F)(),ue=w.breakpoints,Oe=qh(ue);return p.createElement(zo.Z,{mx:{_:0,"mobile-*":-tl,"desktop-50":0,"desktop-100":0},bg:Oe?"border.default":"fg.default",width:"auto"})};const Ws=ps;function Oi(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function bl(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Oi(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Oi(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var tl=3,cl={border:0,clip:"rect(0,0,0,0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},pl=7,Uc=p.memo(function(le){var w=le.passMobileButtonRef,ue=le.previewInvoice,Oe=le.previewError,ft=le.isLoading,pn=le.isLoadingPromo,En=le.screens,Cn=le.currentScreenIndex,Gn=le.isDeferredPlanChange,yn=le.renewalPrice,Or=le.renewalDate,tr=le.checkoutType,co=le.checkoutCart,lr=co===void 0?[]:co,mo=le.plan,na=le.trackOrderDetailsPreview,ya=(0,Qc.F)(),da=ya.colors,ua=ya.sizes,La=ya.space,Ga=ya.fontWeights,Ka=ya.breakpoints,no=ba(),Kn=no.t,Ir=no.T,ra=no.pluralize,Ma=(0,Ja.Z)(),$o=Ma.formatDate,po=(0,p.useState)(qh(Ka)),ga=we()(po,2),so=ga[0],Wr=ga[1];(0,p.useEffect)(function(){var $r=function(){Wr(qh(Ka))};return window.addEventListener("resize",$r),function(){window.removeEventListener("resize",$r)}},[Ka]),(0,p.useEffect)(function(){ue&&na&&na()},[ue]);var _o=function(){var ts=cp({invoice:ue,checkoutType:tr,checkoutCart:lr,plan:bl(bl({},mo),{},{renewalPrice:yn}),options:{isDeferredPlanChange:Gn}},Kn,ra);return p.createElement(p.Fragment,null,Object.entries(ts).map(function(Ba){var jl=we()(Ba,2),xc=jl[0],Fd=jl[1];return p.createElement(F0,{key:xc,itemDetails:Fd})}))};return!ft&&Oe&&!Fe.isFormFieldError(Oe)?p.createElement(p.Fragment,null,p.createElement(On,null),p.createElement("div",{ref:w,"data-test":"mobile-button-ref"})):!ue&&ft&&!Gn?null:p.createElement(p.Fragment,null,p.createElement(za,null),p.createElement(Jp.Z,{minWidth:ua.sizes[700],maxWidth:so?"100%":ua.sizes[750],width:"100%",mt:so?0:"90px",px:so?tl:pl,py:pl,background:da.white,mx:"auto",variant:"quiet","data-test":"purchase-preview","data-testid":"purchase-preview"},p.createElement(ji.Z.Title,{as:"h2",fontWeight:Ga.medium,mb:2},p.createElement(Ir,{project:"universal-checkout"},"Order Summary")),p.createElement("table",{width:"100%"},p.createElement(bc.Z,Wa()({as:"thead",position:"absolute"},cl),p.createElement("tr",null,p.createElement("th",null,Kn("Description",null,{project:"universal-checkout"})),p.createElement("th",null,Kn("Amount",null,{project:"universal-checkout"})))),_o(),p.createElement("tfoot",{"data-test":Gn?"deferred-totals-with-tax":""},p.createElement("tr",{"aria-hidden":!0},p.createElement(bc.Z,{as:"td",colSpan:2,py:La[5]},p.createElement(Ws,null))),p.createElement(Mp,{invoice:ue,screens:En,currentScreenIndex:Cn,isDeferredPlanChange:Gn,renewalPrice:yn,renewalDate:Or?$o(Or,{date:"medium"}):void 0}))),p.createElement(bc.Z,{mt:La[2]},p.createElement(Ws,null)),p.createElement(Do,null),(ft||pn)&&p.createElement(Dc.Z,{justifyContent:"center",alignItems:"center",position:"absolute",top:0,left:0,right:0,width:"100%",height:"100%",backgroundColor:da.white,opacity:.75,"data-test":"purchase-preview-loading"},p.createElement(Rf.Z,null))),p.createElement(za,null),p.createElement(bc.Z,{px:so?La[3]:0,pb:so?La[8]:0,ref:w,"data-test":"mobile-button-ref","data-testid":"mobile-button-ref"}))},function(le,w){return w.isExitingScreen});const rc=Uc;var Jc=function(w){return!!w.OrderDetails.orderPreview.deferred};const iu=(0,P.createSelector)(Jc,function(le){return le});var ju=function(w){return w.OrderDetails.orderPreview};const vu=(0,P.createSelector)(iu,ju,function(le,w){var ue;return le&&(ue=w.renewalDetails)!==null&&ue!==void 0&&ue.plan?w.renewalDetails.plan:w.plan});var ed=function(w){var ue=w.OrderDetails.orderPreview;return ue.renewalDetails?Tn.default.fromJson(ue.renewalDetails.chargeAmount):ue.renewalAmount},Nf=function(w){var ue=w.OrderDetails.orderPreview;return ue.renewalDetails?new Date(ue.renewalDetails.chargeDate):ue.renewsOn},Zf=function(w){return w.OrderDetails.orderPreview.invoice&&w.OrderDetails.orderPreview.invoice.lineItems},Af=function(w){return[bu().NOT_PRORATED,bu().PRORATED_CHARGE].includes(w.subscriptionDetail.lineItemType)};const rh=(0,P.createSelector)([Nf,Zf,ed,iu,vu],function(le,w,ue,Oe,ft){if(ue&&w){var pn,En=w.find(Af);return{renewalDate:le,billingInterval:En==null||(pn=En.subscriptionDetail)===null||pn===void 0?void 0:pn.billingIntervalPeriod,renewalPrice:ue}}return Oe?{renewalDate:le,billingInterval:ft.billingPeriod,renewalPrice:ue}:{}});var Yd=function(w){return w};const Qd=(0,P.createSelector)(Yd,function(le){return le.CustomerInfo.isLoading||le.OrderDetails.isLoading||le.OrderDetails.isLoadingPromo});var Bf=function(w){var ue=rh(w),Oe=ue.renewalPrice,ft=ue.renewalDate;return{isLoading:Qd(w),isLoadingPromo:w.OrderDetails.isLoadingPromo,previewInvoice:w.OrderDetails.orderPreview.invoice,previewError:w.OrderDetails.error,renewalPrice:Oe,renewalDate:ft,checkoutCart:Vi(w),screens:w.RouterReducer.screens,currentScreenIndex:w.RouterReducer.currentScreenIndex,isDeferredPlanChange:!!w.OrderDetails.orderPreview.deferred,plan:vu(w)}},mf=function(w){return(0,y.bindActionCreators)({trackOrderDetailsPreview:Qs},w)},oh=uc(Bf,mf);const jf=(0,y.compose)(oh)(rc);var uh=e(819158),Gu=e.n(uh),gh=p.createContext(null),Om=e(327828),yv=e(568645),nE=e.n(yv),rE=function(w){var ue=w.href,Oe=w.style,ft=w.dataTest,pn=w.trackLink,En=w.actionType,Cn=w.onClick,Gn=w.children,yn=w.className,Or=yn===void 0?nE().link:yn,tr=w.target,co=tr===void 0?"_self":tr,lr=function(){pn(En),Cn==null||Cn()};return p.createElement("a",{className:Or,href:ue,onClick:lr,style:Oe,target:co,"data-test":ft},Gn)};const oE=rE;var aE=function(w){return(0,y.bindActionCreators)({trackLink:Gs},w)};const ov=uc(null,aE)(oE);var Ov=Qr.CUSTOMER_CARE,sE=Qr.PRIVACY_POLICY,iE=Qr.TERMS_OF_SERVICE,lE=function(w){return p.createElement(ov,{actionType:Xo.TRACK_LINK_CUSTOMER_CARE,href:Ov,target:"_blank"},p.createElement(w,{project:"universal-checkout"},"Customer Care"))},cE=function(w,ue){return p.createElement(ov,{actionType:Xo.TRACK_LINK_PRIVACY_POLICY,href:sE[w],target:"_blank"},p.createElement(ue,{project:"universal-checkout"},"Privacy Policy"))},uE=function(w,ue){return p.createElement(ov,{actionType:Xo.TRACK_LINK_TERMS_OF_SERVICE,href:iE[w],target:"_blank"},p.createElement(ue,{project:"universal-checkout"},"Terms of Service"))},dE=function(w){var ue=w.locale,Oe=ba(),ft=Oe.T;return p.createElement(ft,{project:"universal-checkout",customerCareLink:lE(ft),tosLink:uE(ue,ft),ppLink:cE(ue,ft)},"Subscription(s) will begin immediately and set to continuous auto-renewal. You authorize us to take monthly or annual subscription payments, as set out above, from your stored payment method. Cancel or disable auto-renewal at any time from your Billing panel, or by contacting {customerCareLink}. You also agree to our {tosLink} and confirm you have read and understood our {ppLink}.")};const fE=dE;var hE=function(w){var ue=w.t,Oe=w.T,ft={FORM:ue("Credit or Debit Card",null,{project:"universal-checkout"}),ACCEPTED_CARD_TYPES:ue("You can pay with Visa, Mastercard, American Express, JCB, or Diner\u2019s Club.",null,{project:"universal-checkout"}),STANDARD_DISCLAIMER:ue("By saving your card details, you authorize Squarespace to save your information for future purchases, subscriptions and renewals.",null,{project:"universal-checkout"})},pn={screens:_()(_()(_()(_()({},O.BILLING_ADDRESS,{title:p.createElement(Oe,{project:"universal-checkout"},"Billing Address")}),O.CREDIT_CARD,{title:p.createElement(p.Fragment,null,p.createElement(Dc.Z,{justifyContent:"flex-start"},p.createElement(Oe,{project:"universal-checkout"},"Payment Information"),p.createElement(Dc.Z,{pl:2,alignItems:"center"},p.createElement(Om.Z,null)))),subtitle:ue("All your payment information is securely submitted.",null,{project:"universal-checkout"}),disclaimer:p.createElement(p.Fragment,null,ft.STANDARD_DISCLAIMER,"\xA0",ft.ACCEPTED_CARD_TYPES)}),O.ORDER_SUMMARY,{title:ue("Review Order",null,{project:"universal-checkout"}),subtitle:function(Cn){var Gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},yn=Gn.checkoutType;return Cn!=null&&Cn.isDeferredPlanChange?ue("Your subscription changes will take place at the end of your current billing cycle.",null,{project:"universal-checkout"}):yn===fs.v.BILLING_PLAN_SWITCH?ue("Your subscription changes will take place immediately.",null,{project:"universal-checkout"}):(Cn==null?void 0:Cn.paymentMethodType)===kt().SEPA_DEBIT?"":ue("You can change your plan or billing cycle later. No questions asked.",null,{project:"universal-checkout"})},disclaimer:function(Cn){var Gn=Cn.locale;return p.createElement(fE,{locale:Gn})}}),O.SUCCESS_SCREEN,{title:ue("Thank you for your purchase",null,{project:"universal-checkout"}),isCenteredLayout:!0})};return pn};function ig(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Pv(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?ig(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):ig(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var Cv=function(w,ue){var Oe=w.screens,ft=hE(ue),pn=_()(_()(_()(_()({},O.BILLING_ADDRESS,ft.screens[O.BILLING_ADDRESS]),O.CREDIT_CARD,ft.screens[O.CREDIT_CARD]),O.ORDER_SUMMARY,Pv(Pv({},ft.screens[O.ORDER_SUMMARY]),Oe[O.ORDER_SUMMARY])),O.SUCCESS_SCREEN,ft.screens[O.SUCCESS_SCREEN]);return pn};const pE=Cv;function lg(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function av(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?lg(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):lg(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}function mE(le,w,ue){return w=f()(w),c()(le,cg()?Reflect.construct(w,ue||[],f()(le).constructor):w.apply(le,ue))}function cg(){try{var le=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(cg=function(){return!!le})()}var ug=function(le){function w(ue){var Oe;return o()(this,w),Oe=mE(this,w,[ue]),_()(Oe,"saveMobileButtonRef",function(ft){Oe.setState({mobileButtonRef:ft})}),_()(Oe,"renderPurchasePreview",function(ft){return p.createElement(bc.Z,{className:Vl()(Gu().previewArea,_()({},Gu().withHeader,ft)),margin:"0 auto",maxWidth:{_:"sizes.750","desktop-50":"100%","desktop-100":"100%"},pl:{_:0,"desktop-50":8,"desktop-100":8,"tablet-*":8},pt:{"tablet-*":8},width:"100%"},p.createElement(jf,{isExitingScreen:Oe.props.isExitingScreen,passMobileButtonRef:Oe.saveMobileButtonRef,checkoutType:Oe.props.checkoutType}))}),Oe.state={mobileButtonRef:null},Oe}return h()(w,le),a()(w,[{key:"render",value:function(){var Oe=this,ft=this.props,pn=ft.closeModal,En=ft.screens,Cn=ft.isSplitScreen,Gn=ft.screenIndex,yn=ft.isExitingScreen,Or=ft.isFullBleed,tr=ft.hasEntered,co=ft.locale,lr=ft.checkoutType,mo=ft.customScreenProps,na=ft.isInverted,ya=ft.selectedCurrency,da=ft.withHeader,ua=ft.gotoPreviousStep,La=ft.i18n,Ga={closeModal:pn,isSplitScreen:Cn,hasEntered:tr,locale:co,customScreenProps:mo,checkoutType:lr,isInverted:na,selectedCurrency:ya},Ka=function(){var Kn=En[Gn]&&En[Gn].page,Ir=pE(mo,La),ra=av(av({},En[Gn]),Ir[Kn]);return av({isExitingScreen:yn,screen:ra,isPreCheckoutScreen:ra.isPreCheckout,mobileButtonRef:Oe.state.mobileButtonRef,gotoPreviousStep:ua},Ga)};return p.createElement(gh.Provider,{value:this.state.mobileButtonRef},p.createElement(bc.Z,{className:Vl()(Gu().screenLayout,_()({},Gu().isFullBleed,Or))},p.createElement("div",{className:Vl()(Gu().contentArea,_()(_()({},Gu().isSplit,Cn),Gu().isFullBleed,Or))},En.length&&En[Gn]?J0()($m)(av({key:Gn},Ka())):""),Cn?this.renderPurchasePreview(da):p.createElement("div",{ref:this.saveMobileButtonRef})))}}])}(p.Component);const Av=ns(ug);var vE=function(w){return{currentScreenIndex:w.RouterReducer.currentScreenIndex,exitingScreenIndex:w.RouterReducer.exitingScreenIndex,direction:w.RouterReducer.direction}},gE=function(w){return(0,y.bindActionCreators)({trackView:Rc},w)};const dg=uc(vE,gE)(Av);var EE=e(343701),Jd=e(600994),tp=e(201117),_E=e(599433),fg=e(604934),bv=p.forwardRef(function(le,w){return p.createElement(tp.Z.Display,Wa()({},le,{ref:w,label:p.createElement(ji.Z.Body,{color:"white"},le.label),"data-test":"current-dropdown-inverted-display","data-testid":"current-dropdown-inverted-display",exteriorAccessory:le.isOpen?p.createElement(_E.Z,{color:"white"}):p.createElement(fg.Z,{color:"white"})}))}),yE=function(w){var ue=w.acceptedCurrencyOptions,Oe=w.disabled,ft=Oe===void 0?!1:Oe,pn=w.isNavInverted,En=w.currencyToDisplay,Cn=w.handleCurrencyChange;return p.createElement(tp.Z,{variant:"floating","aria-label":En,isDisabled:ft,value:En,onChange:Cn,"data-test":ft?"disabled-currency":"enabled-currency",sx:{backgroundColor:"transparent","& + div":{display:"none"},"&:focus":{outline:"1px solid",outlineColor:"gray.300"}},renderDisplay:pn&&!ft?bv:void 0},ue.map(function(Gn){var yn=Gn.label,Or=Gn.value;return p.createElement(tp.Z.Option,{"data-test":"currency-dropdown-option-".concat(Or),key:Or,value:Or,sx:{whiteSpace:"nowrap"}},yn)}))};const OE=yE;var PE=function(w){var ue=w.acceptedCurrencyOptions,Oe=w.acceptedCurrencies,ft=w.isLoading,pn=w.trackChangeCurrency,En=w.isNavInverted,Cn=En===void 0?!1:En,Gn=w.selectedCurrency,yn=Gn===void 0?"USD":Gn,Or=w.onChange,tr=!Oe.length,co=Oe.length===1;if(ft||co||tr)return null;var lr=function(na){yn!==na&&(pn(na),Or==null||Or(na))};return p.createElement(p.Fragment,null,p.createElement(OE,{acceptedCurrencyOptions:ue,isNavInverted:Cn,currencyToDisplay:yn,handleCurrencyChange:lr}))};const CE=PE;var hg=function(w,ue){return ue.filter(function(Oe){var ft=Oe.supportedPaymentMethods;return ft.includes(w)})},Sv=function(w){return w.Currencies.acceptedCurrencies},AE=function(w){var ue;return(ue=w.CustomerInfo.customer)===null||ue===void 0||(ue=ue.paymentMethod)===null||ue===void 0?void 0:ue.type};const bE=(0,P.createSelector)(Sv,AE,function(le,w){var ue=w?hg(w,le):le,Oe=[],ft=[];return ue.forEach(function(pn){pn.code==="USD"?Oe.push(pn):ft.push(pn)}),Oe.concat([].concat(ft).sort(function(pn,En){return pn.code<En.code?-1:pn.code>En.code?1:0})).map(function(pn){return{label:"".concat(pn.symbol," ").concat(pn.code),value:pn.code}})});var SE=function(w){return{acceptedCurrencyOptions:bE(w),isLoading:w.Currencies.isLoading,acceptedCurrencies:w.Currencies.acceptedCurrencies}},TE=function(w){return(0,y.bindActionCreators)({getAcceptedCurrencies:Ls,trackChangeCurrency:Js,changeCustomer:Ei},w)};const DE=uc(SE,TE)(CE);var IE=e(848201);const sv=function(le,w){return le[w]&&le[w].useInvertedNav};var ME=e(37843),Pm=e.n(ME),pg=function(w){var ue=w.screens,Oe=w.currentScreenIndex,ft=w.furthestReachableScreen,pn=w.waitingForCustomer,En=w.gotoPage,Cn=w.customNavLabels,Gn=ba(),yn=Gn.t,Or=Oe===ue.length-1,tr=sv(ue,Oe),co=(0,Qc.F)(),lr=co.fontSizes,mo=co.lineHeights,na=function(no){return function(){if(no!==Oe){var Kn=no>Oe;En(no,Kn)}}};if(Or)return null;var ya=new Map,da=ue.reduce(function(Ka,no,Kn){var Ir=no.navLabel,ra=no.page,Ma=no.shouldHideBreadcrumbs,$o=Cn==null?void 0:Cn[ra];if(!Ir||Ma)return Ka;var po=!pn&&Oe===Kn,ga=Kn>ft,so=function(){if(ga)return"gray.300";if(tr)return"white"},Wr=p.createElement("span",{className:Pm().iconContainer},p.createElement(IE.Z,{sx:{marginTop:"sizes.50",width:"sizes.125",height:"sizes.125"},color:so()}));return Ka.push(p.createElement("span",{key:"breadcrumb-".concat(Ir),"data-test":"nav-breadcrumb",className:Pm().breadcrumb},Ka.length>0&&Wr,p.createElement(Jd.Z,{variant:"tertiary",size:"large","data-test":Ir,onClick:na(Kn),disabled:ga,tabIndex:po?-1:0,sx:{borderBottom:"1px solid transparent",lineHeight:mo[2],minHeight:mo[2],borderBottomColor:po?"black":"transparent",fontSize:lr[3],color:so()}},$o||Ir))),ya.set(Kn,Ka.length),Ka},[]),ua={role:"navigation","aria-label":yn("Checkout navigation",null,{project:"universal-checkout"})},La=function(){return p.createElement("div",Wa()({className:Pm().nav},ua),da)},Ga=function(){return p.createElement("div",Wa()({"data-test":"mobile-nav-text",className:Vl()(Pm().mobileNav,_()({},Pm().inverted,tr))},ua),yn("{currentPageNumber} of {totalPages}",{currentPageNumber:String(ya.get(Oe)),totalPages:String(da.length)},{project:"universal-checkout"}))};return p.createElement(Wo.Z.Provider,null,p.createElement(Wo.Z.Renderer,{render:{default:La,"mobile-0":Ga,"mobile-100":Ga,"tablet-0":La,"tablet-100":La,"desktop-0":Ga,"desktop-50":La,"desktop-100":La}}))};const Tv=pg;var RE=function(w){return w.RouterReducer},LE=function(w){return w.CustomerInfo.savedCustomer};const xE=(0,P.createSelector)(RE,LE,function(le,w){var ue=le.screens,Oe=le.currentScreenIndex,ft=ue.findIndex(function(pn,En){var Cn;return En>=Oe&&!((Cn=pn.canNavigateForward)!==null&&Cn!==void 0&&Cn.call(pn,{customer:w??{}}))});return ft>-1?ft:ue.length-1});var wE=function(w){return{currentScreenIndex:w.RouterReducer.currentScreenIndex,furthestReachableScreen:xE(w),waitingForCustomer:kp(w),screens:w.RouterReducer.screens}},NE=function(w){return(0,y.bindActionCreators)({gotoPage:Ul},w)};const mg=uc(wE,NE)(Tv);var Dv=e(89960),V0=e.n(Dv),BE=function(w){var ue=w.screens,Oe=w.currentScreenIndex,ft=w.isFullBleed,pn=w.isSplitScreen,En=w.hasCustomerWithCurrency,Cn=w.onCurrencyChange,Gn=w.currencyCode,yn=w.handleHeaderCloseClick,Or=w.updateItemInCart,tr=w.fullSizePreCheckout,co=w.customNavLabels,lr=w.shouldHideBreadcrumbs,mo=function(Ma){if(Cn)return Cn(Ma,Or)},na=(0,Qc.F)(),ya=na.space,da=ba(),ua=da.t,La=ue[Oe];if(!La)return null;var Ga=La.isPreCheckout,Ka=Ga&&!En&&!!Cn,no=sv(ue,Oe),Kn=no?Yi.colors.white:void 0,Ir=!!(Ga&&tr);return lr||(lr=Ir),Ka&&(Ka=!Ir),p.createElement(Dc.Z,{"data-test":"modal-header",alignItems:"center",sx:{height:Ir?0:{"desktop-*":"sizes.450","mobile-*":"sizes.350","tablet-*":"sizes.350"},maxWidth:"1280px",margin:"auto"},position:"relative",zIndex:5,fontSize:{"mobile-*":4},fontWeight:{"mobile-*":"medium"},className:Vl()(V0().modalHeader,_()(_()(_()({},V0().modalHeaderInverted,no),V0().modalHeaderFullBleed,ft),V0().modalHeaderSplitScreen,pn))},Ir?"":p.createElement(Th.Z,{color:Kn,role:"img","aria-label":ua("Squarespace logo",null,{project:"universal-checkout"})}),p.createElement(Dc.Z,{pl:6,flexGrow:2},!lr&&p.createElement(mg,{customNavLabels:co})),Ka&&p.createElement(DE,{onChange:mo,selectedCurrency:Gn,isNavInverted:no}),p.createElement(Jd.Z.Tertiary,{onClick:yn,position:Ir?"relative":"inherit",top:Ir?ya[4]:void 0,width:33,pl:0,pr:0,className:Vl()(V0().modalClose,_()({},V0().modalCloseInverted,no)),"aria-label":ua("Close",null,{project:"universal-checkout"}),"data-test":"close-button"},p.createElement(EE.Z,{"aria-hidden":"true",height:22,width:22,color:Kn})))};const jE=BE;var UE=function(w){var ue;return{currentScreenIndex:w.RouterReducer.currentScreenIndex,screens:w.RouterReducer.screens,hasCustomerWithCurrency:!!(!((ue=w.CustomerInfo.savedCustomer)===null||ue===void 0)&&ue.currency)}},FE=function(w){return(0,y.bindActionCreators)({updateItemInCart:fn},w)};const WE=(0,y.compose)(uc(UE,FE))(jE);var Iv=e(892311),KE="Google Workspace",z0=function(w){return{labels:_()(_()(_()(_()(_()(_()(_()({},F.CUSTOMER_NAME,w("Full Name",null,{project:"universal-checkout"})),F.ADDRESS,w("Street Address",null,{project:"universal-checkout"})),F.CITY,w("City",null,{project:"universal-checkout"})),F.STATE,w("State",null,{project:"universal-checkout"})),F.ZIP,w("Postal Code",null,{project:"universal-checkout"})),F.COUNTRY,w("Country",null,{project:"universal-checkout"})),F.PROVINCE,w("Province",null,{project:"universal-checkout"})),placeholders:_()(_()(_()(_()(_()(_()(_()({},F.CUSTOMER_NAME,w("Full Name",null,{project:"universal-checkout"})),F.ADDRESS,w("Address, Apt #",null,{project:"universal-checkout"})),F.CITY,w("City",null,{project:"universal-checkout"})),F.STATE,w("State",null,{project:"universal-checkout"})),F.ZIP,w("Postal Code",null,{project:"universal-checkout"})),F.COUNTRY,w("Country",null,{project:"universal-checkout"})),F.PROVINCE,w("Choose",null,{project:"universal-checkout"}))}},kE=["children"],GE=function(w){var ue=w.children,Oe=_s()(w,kE);return p.createElement(ji.Z.Label,Wa()({"data-test":"cell-input-label",fontSize:{_:2,"mobile-*":4},color:"gray.100",textTransform:"none",fontWeight:"book",letterSpacing:"normal"},Oe),ue)};const s0=GE;var Mv=["value","onChange","label"],HE=function(w){var ue=w.value,Oe=ue===void 0?"":ue,ft=w.onChange,pn=w.label,En=_s()(w,Mv),Cn=(0,Iv.Z)(),Gn=Cn.getCountries,yn=ba(),Or=yn.t,tr=z0(Or),co=(0,p.useMemo)(function(){return Object.entries(Gn()).map(function(lr){var mo=we()(lr,2),na=mo[0],ya=mo[1];return p.createElement(tp.Z.Option,{key:na,value:na},p.createElement(ji.Z.Body,{title:ya,m:0},ya))})},[]);return p.createElement(p.Fragment,null,p.createElement(s0,{paddingTop:2},pn),p.createElement(tp.Z,Wa()({className:"fs-mask",onChange:ft,value:Oe,mountAt:document.body,"data-test":"country-select","aria-label":tr.labels.country,renderDropdown:function(mo){return p.createElement(tp.Z.Dropdown,Wa()({},mo,{"data-test":"country-select-options"}))}},En),co))};const ZE=HE;var Rv=e(210679);function vg(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function gg(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?vg(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):vg(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var Lv=function(w){var ue=w.fieldName,Oe=w.inputId,ft=w.address,pn=w.errors,En=w.onChangeField,Cn=w.disabled,Gn=w.showDivider,yn=Gn===void 0?!0:Gn,Or=w.mobile,tr=ba(),co=tr.t,lr=z0(co),mo=(0,Qc.F)(),na=mo.space,ya=mo.fontSizes,da=pn==null?void 0:pn[ue],ua=!yn&&{"& div:first-of-type":{borderBottom:"none",border:"none"}};return p.createElement(p.Fragment,null,p.createElement(s0,{paddingTop:na[2],htmlFor:Oe,color:Cn?"gray.600":"gray.100"},lr.labels[ue]),p.createElement(Rv.Z,{appearance:"cell","data-test":ue,labelPlacement:"hidden",errorText:da==null?void 0:da.message,"aria-describedby":da==null?void 0:da.id,"aria-invalid":!!da,pb:!yn&&da!==null&&da!==void 0&&da.message?na[2]:na[0],inputProps:{id:Oe,textAlign:"left",disabled:Cn,className:"fs-mask",value:(ft==null?void 0:ft[ue])||"",placeholder:lr.placeholders[ue],onChange:function(Ga){return En(ue)(Ga)},sx:{fontSize:Or?ya[4]:ya[3],"&:focus":{outline:"none"}}},sx:gg({WebkitFontSmoothing:"antialiased"},ua)}))};const iv=Lv;var VE=["value","onChange","label"],zE=function(w){var ue=w.value,Oe=ue===void 0?"":ue,ft=w.onChange,pn=w.label,En=_s()(w,VE),Cn=ba(),Gn=Cn.t,yn=Mr(Gn),Or=z0(Gn),tr=Object.entries(yn).map(function(co){var lr=we()(co,2),mo=lr[0],na=lr[1];return p.createElement(tp.Z.Option,{key:mo,value:mo},p.createElement(ji.Z.Body,{title:na,m:0},na))});return p.createElement(p.Fragment,null,p.createElement(s0,{paddingTop:2},pn),p.createElement(tp.Z,Wa()({className:"fs-mask","aria-label":Or.labels.province,onChange:ft,value:Oe,mountAt:document.body},En),tr))};const $E=zE;var Eg=function(le){return le.AL="AL",le.AK="AK",le.AZ="AZ",le.AR="AR",le.CA="CA",le.CO="CO",le.CT="CT",le.DE="DE",le.FL="FL",le.GA="GA",le.HI="HI",le.ID="ID",le.IL="IL",le.IN="IN",le.IA="IA",le.KS="KS",le.KY="KY",le.LA="LA",le.ME="ME",le.MD="MD",le.MA="MA",le.MI="MI",le.MN="MN",le.MS="MS",le.MO="MO",le.MT="MT",le.NE="NE",le.NV="NV",le.NH="NH",le.NJ="NJ",le.NM="NM",le.NY="NY",le.NC="NC",le.ND="ND",le.OH="OH",le.OK="OK",le.OR="OR",le.PA="PA",le.RI="RI",le.SC="SC",le.SD="SD",le.TN="TN",le.TX="TX",le.UT="UT",le.VT="VT",le.VA="VA",le.WA="WA",le.DC="DC",le.WV="WV",le.WI="WI",le.WY="WY",le.AA="AA",le.AE="AE",le.AP="AP",le}(Eg||{});const XE=Eg;var YE=["value","onChange","label"],_g=function(w){var ue=w.value,Oe=ue===void 0?"":ue,ft=w.onChange,pn=w.label,En=_s()(w,YE),Cn=ba(),Gn=Cn.t,yn=z0(Gn),Or=(0,Qc.F)(),tr=Or.space,co=(0,p.useMemo)(function(){return Object.entries(XE).map(function(lr){var mo=we()(lr,2),na=mo[0],ya=mo[1];return p.createElement(tp.Z.Option,{key:na,value:ya},p.createElement(ji.Z.Body,{title:ya,m:0},ya))})},[]);return p.createElement(p.Fragment,null,p.createElement(s0,{paddingTop:tr[1]},pn),p.createElement(tp.Z,Wa()({className:"fs-mask","aria-label":yn.labels.state,onChange:ft,value:Oe,mountAt:document.body},En),co))};const xv=_g;var QE=e(162807),yg=e(872765),JE=function(w){var ue,Oe,ft=w.find(function(no){return no.types[0]==="street_number"})||{},pn=ft.short_name,En=pn===void 0?"":pn,Cn=w.find(function(no){return no.types[0]==="route"})||{},Gn=Cn.short_name,yn=Gn===void 0?"":Gn,Or=(ue=(Oe=w.find(function(no){return no.types[0]==="country"}))===null||Oe===void 0?void 0:Oe.short_name)!==null&&ue!==void 0?ue:"",tr=w.find(function(no){return no.types[0]==="administrative_area_level_1"})||{},co=tr.short_name,lr=co===void 0?"":co,mo=w.find(function(no){return no.types[0]==="postal_code"||no.types[0].includes("postal_code")})||{},na=mo.short_name,ya=na===void 0?"":na,da=w.find(function(no){return no.types[0]==="locality"});da||(da=w.find(function(no){return no.types[0].includes("sublocality")}));var ua=da||{},La=ua.short_name,Ga=La===void 0?"":La,Ka=[En,yn];return{address:Ka.filter(function(no){return no!==""}).length?Ka.join(" "):"",country:Or,state:lr,zip:ya,city:Ga}};function wv(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Eh(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Eh(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Eh(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Eh(tr,"constructor",yn),Eh(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Eh(yn,ft,"GeneratorFunction"),Eh(tr),Eh(tr,ft,"Generator"),Eh(tr,Oe,function(){return this}),Eh(tr,"toString",function(){return"[object Generator]"}),(wv=function(){return{w:pn,m:co}})()}function Eh(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Eh=function(En,Cn,Gn,yn){function Or(tr,co){Eh(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Eh(le,w,ue,Oe)}function Og(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Nv(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Og(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Og(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var Bv=function(w){var ue=w.onChangeAddress,Oe=w.address,ft=w.error,pn=w.isStandaloneApp,En=ba(),Cn=En.t,Gn=(0,Qc.F)(),yn=Gn.space,Or=Gn.time,tr=Gn.easing,co=Gn.colors,lr=z0(Cn),mo=function(){var ua=(Oe==null?void 0:Oe.address)||"";return(0,yg._)(ua,void 0,void 0,void 0,ge,ae)},na=function(ua){var La=JE(ua.address_components);ue(La)},ya=function(ua){ue(Nv(Nv({},Oe),{},{address:ua}))};return p.createElement(QE.Z,{sx:{paddingBottom:ft?yn[1]:yn[0],WebkitFontSmoothing:"antialiased",position:"relative","&:focus-within:after":{animation:"growAnimation ".concat(Or[250]," ").concat(tr.product.exit),backgroundColor:co.gray[100],boxSizing:"border-box",content:'""',height:"2px",position:"absolute",width:"100%",bottom:"-1px",outline:"1px solid transparent",outlineOffset:"-1px","@keyframes growAnimation":{from:{width:"0"},to:{width:"100%"}}}},className:"fs-mask",error:ft,inputValue:(Oe==null?void 0:Oe.address)||"",value:(Oe==null?void 0:Oe.address)||"",placeholder:lr.placeholders[F.ADDRESS],"aria-label":Cn("address one",null,{project:"universal-checkout",notes:"label descriptor describing an address input field"}),label:null,onChange:function(){var da=L()(wv().m(function ua(La){var Ga,Ka,no,Kn,Ir;return wv().w(function(ra){for(;;)switch(ra.p=ra.n){case 0:if(Ga=La==null?void 0:La.getPlaceDetails,!Ga){ra.n=4;break}return ra.p=1,ra.n=2,Ga();case 2:Ka=ra.v,no=Ka.data,na(no),ra.n=4;break;case 3:ra.p=3,Ir=ra.v,Kn=new j("getPlaceDetails API Error","getPlaceDetails",Ir),Zn(Kn);case 4:return ra.a(2)}},ua,null,[[1,3]])}));return function(ua){return da.apply(this,arguments)}}(),onInput:function(ua){var La=ua&&ua.trim().length,Ga=La?ua:"";ya(Ga)},query:Oe==null?void 0:Oe.address,textInputProps:_()(_()(_()(_()({id:"uc-address-".concat(F.ADDRESS)},"data-testid","address-field"),"textAlign","left"),"pt",2),"pb",yn[0]),exteriorPre:null,exteriorAccessory:null,usePlaceSearch:pn?mo:yg._})};function Pg(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Cg(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Pg(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Pg(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var qE=function(w){var ue,Oe,ft,pn,En,Cn,Gn=w.dataTest,yn=w.address,Or=w.onChangeAddress,tr=w.disabled,co=w.errors,lr=w.mobile,mo=w.isStandaloneApp,na=ba(),ya=na.t,da=(yn==null?void 0:yn[F.COUNTRY])==="US",ua=(yn==null?void 0:yn[F.COUNTRY])==="CA",La=(0,Qc.F)(),Ga=La.space,Ka=z0(ya),no=function(Ma){return function($o){Or(_()({},Ma,$o))}},Kn=function(Ma){return{fieldName:Ma,inputId:"uc-address-".concat(Ma),address:yn,errors:co,onChangeField:no,disabled:tr,mobile:lr}};co=Cg(Cg({},co),{},_()({},F.ZIP,((ue=co)===null||ue===void 0?void 0:ue[F.ZIP])||((Oe=co)===null||Oe===void 0?void 0:Oe.postalCode)));var Ir=(ft=co)!==null&&ft!==void 0&&(ft=ft[F.STATE])!==null&&ft!==void 0&&ft.message?{message:(pn=co)===null||pn===void 0||(pn=pn[F.STATE])===null||pn===void 0?void 0:pn.message}:void 0;return p.createElement(bc.Z,{"data-test":Gn},p.createElement(iv,Wa()({showDivider:!0},Kn(F.CUSTOMER_NAME))),p.createElement(bc.Z,{sx:{"&:focus-within":{outline:"2px solid transparent",outlineOffset:"2px"}}},p.createElement(s0,{color:tr?"gray.600":"gray.100",paddingTop:Ga[2],htmlFor:"uc-address-".concat(F.ADDRESS)},Ka.labels[F.ADDRESS]),p.createElement(Bv,{isStandaloneApp:mo,address:yn,onChangeAddress:Or,error:(En=co)===null||En===void 0?void 0:En[F.ADDRESS]})),p.createElement(iv,Kn(F.CITY)),ua?p.createElement($E,{label:Ka.labels[F.PROVINCE],placeholder:Ka.placeholders[F.PROVINCE],value:yn==null?void 0:yn[F.STATE],onChange:function(Ma){Ma!==(yn==null?void 0:yn[F.STATE])&&no(M.CANADIAN_PST_NUMBER)(""),no(F.STATE)(Ma)},errors:Ir}):da?p.createElement(xv,{label:Ka.labels[F.STATE],placeholder:Ka.placeholders[F.STATE],value:yn==null?void 0:yn[F.STATE],onChange:function(Ma){Ma!==(yn==null?void 0:yn[F.STATE])&&no(M.ZIP)(""),no(F.STATE)(Ma)},errors:Ir}):p.createElement(iv,Kn(F.STATE)),p.createElement(ZE,{label:Ka.labels[F.COUNTRY],placeholder:Ka.placeholders[F.COUNTRY],isDisabled:tr,value:yn==null?void 0:yn[F.COUNTRY],onChange:no(F.COUNTRY),errors:(Cn=co)===null||Cn===void 0?void 0:Cn[F.COUNTRY]}),p.createElement(iv,Wa()({showDivider:!1},Kn(F.ZIP))))};const Ag=qE;var e1=e(414569),bg=function(w){var ue=w.customer,Oe=w.errors,ft=w.onChange,pn=ba(),En=pn.T,Cn=ha(),Gn=Cn.getTaxStringsByCountry,yn=Gn({country:ue==null?void 0:ue.country,taxType:ue==null?void 0:ue.type}),Or=yn.taxDisplayString;return p.createElement(ji.Z.Body,{"data-test":"tax-exemption-checkbox",as:"label",htmlFor:M.CUST_CERTIFIED,display:"inline-flex",alignItems:"flex-start",mt:3,mb:3,sx:{cursor:"pointer"}},p.createElement(e1.Z,{"data-test":M.CUST_CERTIFIED,id:M.CUST_CERTIFIED,name:M.CUST_CERTIFIED,checked:!!(ue!=null&&ue[M.CUST_CERTIFIED]),onChange:ft(M.CUST_CERTIFIED),mr:3,minWidth:"sizes.125"}),p.createElement(bc.Z,null,p.createElement(ji.Z,{mt:"0",mb:"1"},p.createElement(En,{project:"universal-checkout",taxDisplayString:Or},"I certify that my business is registered for {taxDisplayString}.")),(Oe==null?void 0:Oe[M.CUST_CERTIFIED])&&p.createElement(ji.Z.Caption,{"data-test":"customer-certified-error",color:"red.300"},p.createElement(En,{project:"universal-checkout"},"Check the box to confirm the statement and continue."))))};const t1=bg;var jv=e(199025),n1=function(w){var ue=w.error,Oe=w.fieldName,ft=w.inputTestAttr,pn=w.label,En=w.onChange,Cn=w.placeholder,Gn=w.testAttr,yn=w.value,Or=w.autocomplete,tr=Or===void 0?"on":Or,co=(0,Qc.F)(),lr=co.space,mo=co.fontSizes,na=co.breakpoints,ya=qh(na);return p.createElement(jv.Z.Container,{pt:lr[2],pb:lr[0],"data-test":Gn,autoComplete:tr},p.createElement(s0,{htmlFor:Oe},pn),p.createElement(Rv.Z,{appearance:"cell","data-test":ft||Oe,"aria-invalid":!!ue,"aria-describedby":ue==null?void 0:ue.id,inputProps:{id:Oe,className:"fs-mask",placeholder:Cn,value:yn,onChange:En(),textAlign:"left",sx:{fontSize:ya?mo[4]:mo[3],"&:focus":{outline:"none"}}},errorText:ue==null?void 0:ue.message,labelPlacement:"hidden",sx:{WebkitFontSmoothing:"antialiased"}}))};const lv=n1,Tg={name:"name",postalCode:"postal-code",businessName:"organization"};var Uv=function(w){var ue=w.customer,Oe=w.errors,ft=w.onChange,pn=ba(),En=pn.t,Cn=(ue==null?void 0:ue.state)==="QC",Gn=Oe==null?void 0:Oe[M.CANADIAN_GST_NUMBER],yn=Oe==null?void 0:Oe[M.CANADIAN_PST_NUMBER];return p.createElement(p.Fragment,null,p.createElement(lv,{testAttr:"ca-gst-number-cell",error:Gn,fieldName:M.CANADIAN_GST_NUMBER,inputTestAttr:M.CANADIAN_GST_NUMBER,label:En("GST/HST",null,{project:"universal-checkout"}),onChange:function(){return ft(M.CANADIAN_GST_NUMBER)},placeholder:En("{number} digit registration number",{number:"15"},{project:"universal-checkout"}),value:(ue==null?void 0:ue[M.CANADIAN_GST_NUMBER])||""}),Cn&&p.createElement(lv,{testAttr:"qst-number-cell",error:yn,fieldName:M.CANADIAN_PST_NUMBER,inputTestAttr:M.CANADIAN_PST_NUMBER,label:En("QST",null,{project:"universal-checkout"}),onChange:function(){return ft(M.CANADIAN_PST_NUMBER)},placeholder:En("{number} digit registration number",{number:"16"},{project:"universal-checkout"}),value:(ue==null?void 0:ue[M.CANADIAN_PST_NUMBER])||""}))};const r1=Uv;var o1=function(w){var ue=w.children,Oe=w.styleFieldsInBox,ft=Oe===void 0?!0:Oe;return ft?p.createElement(bc.Z,{pb:3,px:3,border:1,borderColor:"gray.800"},ue):p.createElement(p.Fragment,null,ue)},a1=function(w){var ue=w.isLoading,Oe=w.customer,ft=w.onChange,pn=w.errors,En=w.showValidationMessage,Cn=w.styleFieldsInBox,Gn=ba(),yn=Gn.t,Or=ha(),tr=Or.getTaxStringsByCountry,co=Or.taxValidationFields,lr=Oe==null?void 0:Oe.type,mo=(Oe==null?void 0:Oe.country)==="CA",na=(Oe==null?void 0:Oe.country)==="NZ"&&lr===Ho().GST?void 0:bo[lr],ya=lr===Ho().GST&&(Oe==null?void 0:Oe.country)==="NZ",da=_()(_()(_()({},M.BUSINESS_NAME,yn("Business Name",null,{project:"universal-checkout"})),M.VAT_NUMBER,yn("VAT Registration Number",null,{project:"universal-checkout"})),M.ABN,yn("Australian Business Number (ABN)",null,{project:"universal-checkout"})),ua=function(ra,Ma){if(ra!==M.VAT_NUMBER)return da[ra];var $o=yn("GST Registration Number",null,{project:"universal-checkout"});switch(Ma){case"NO":return yn("Norwegian Organization Number",null,{project:"universal-checkout"});case"SG":return $o;case"IN":return $o;default:return da[ra]}},La=function(){if(Oe){var ra={};Oe[M.BUSINESS_NAME]&&(ra[M.BUSINESS_NAME]=""),Oe[M.CANADIAN_GST_NUMBER]&&(ra[M.CANADIAN_GST_NUMBER]=""),Oe[M.CANADIAN_PST_NUMBER]&&(ra[M.CANADIAN_PST_NUMBER]=""),na&&(ra[na]=""),Ht()(ra)||ft(ra)}},Ga=function(ra){return function(Ma){ra===M.CANADIAN_GST_NUMBER||ra===M.CANADIAN_PST_NUMBER?Ma=Ma.replace(/[^a-zA-Z0-9-]/g,""):ra===M.CUST_CERTIFIED&&Ma===!1&&La();var $o=_()({},ra,Ma);ft($o)}},Ka=pn==null?void 0:pn[M.BUSINESS_NAME],no=function(ra){var Ma=Oe[na],$o=co[lr],po=Oe[$o];return ra&&Ma&&!po?In("invalid_tax_number",tr({country:Oe==null?void 0:Oe.country,taxType:lr}).validationError):pn==null?void 0:pn[na]},Kn=no(!ue&&!!En);return p.createElement(bc.Z,{"data-test":"tax-exemption-form","data-testid":"tax-exemption-form"},p.createElement(t1,{customer:Oe,errors:pn,onChange:Ga}),!ya&&!!(Oe!=null&&Oe[M.CUST_CERTIFIED])&&p.createElement(o1,{styleFieldsInBox:Cn},p.createElement(lv,{autocomplete:Tg.businessName,testAttr:"tax-business-name-cell",error:Ka,fieldName:M.BUSINESS_NAME,label:ua(M.BUSINESS_NAME,Oe==null?void 0:Oe[M.COUNTRY]),onChange:function(){return Ga(M.BUSINESS_NAME)},placeholder:yn("Business Name",null,{project:"universal-checkout"}),value:(Oe==null?void 0:Oe[M.BUSINESS_NAME])||""}),mo?p.createElement(r1,{customer:Oe,errors:pn,onChange:Ga}):p.createElement(lv,{testAttr:"tax-number-cell",error:Kn,fieldName:na,inputTestAttr:na,label:ua(na,Oe==null?void 0:Oe[M.COUNTRY]),onChange:function(){return Ga(na)},placeholder:"000000",value:(Oe==null?void 0:Oe[na])||""})))};const s1=a1;var i1=function(w){var ue=w.label,Oe=w.tooltipContent,ft=w.taxLabelId,pn=(0,p.useState)(),En=we()(pn,2),Cn=En[0],Gn=En[1],yn=(0,p.useState)(!1),Or=we()(yn,2),tr=Or[0],co=Or[1];return p.createElement(Dc.Z,{alignItems:"center",mt:4},Oe?p.createElement(p.Fragment,null,p.createElement(Dc.Z,{alignItems:"center",position:"relative",ref:Gn},p.createElement(ji.Z.Label,{id:ft,htmlFor:M.CUST_CERTIFIED,sx:{cursor:"pointer",pr:"4"}},ue),p.createElement(n0.Z,{sx:{position:"absolute",right:"0",color:"gray.400",height:"sizes.125",width:"sizes.125"},"aria-describedby":"tax-exemption-tooltip",onBlur:function(){return co(!1)},onFocus:function(){return co(!0)},onKeyDown:function(mo){qp.Z.isEsc(mo)&&(mo.preventDefault(),mo.stopPropagation(),co(!1))},onMouseEnter:function(){return co(!0)},onMouseLeave:function(){return co(!1)}})),p.createElement(Sp.Z,{id:"tax-exemption-tooltip",anchor:Cn,position:"top-start",isOpen:tr,offset:2},Oe)):p.createElement(ji.Z.Label,{id:ft,htmlFor:M.CUST_CERTIFIED},ue))};const l1=i1;var c1=_()(_()(_()(_()(_()(_()(_()({},Ho().GST,!0),Ho().VAT,!0),Ho().VAT_PROVINCE,!0),Ho().US_SALES,!1),Ho().NONE,!1),Ho().JCT,!1),Ho().VAT_AND_LEVIES,!1),u1=function(w){var ue=w.isLoading,Oe=w.customer,ft=w.onChange,pn=w.errors,En=w.showValidationMessage,Cn=w.styleFieldsInBox,Gn=Oe==null?void 0:Oe.type,yn=ha(),Or=yn.getTaxStringsByCountry,tr="tax-exemption-form-label";if(!Gn||!c1[Gn])return null;var co=Or({country:Oe==null?void 0:Oe.country,taxType:Gn}),lr=co.taxStatusFormTitleTaxStatusOptional,mo=co.tooltipContent;return p.createElement(bc.Z,{role:"group","aria-labelledby":tr},p.createElement(l1,{label:lr||"",tooltipContent:mo,taxLabelId:tr}),p.createElement(s1,{customer:Oe,errors:pn,isLoading:ue,onChange:ft,showValidationMessage:En,styleFieldsInBox:Cn}))};const cv=u1;var f1=e(836418),h1=e(993850),p1=function(w){var ue=w.onBack,Oe=w.gotoPrev,ft=Oe===void 0?function(){}:Oe,pn=w.sx,En=w.arrowColor,Cn=w.disabled,Gn=w.ariaDisabled,yn=ba(),Or=yn.t,tr=function(lr){lr.preventDefault(),lr.stopPropagation(),ue&&ue(lr),ft()};return p.createElement(Jd.Z.Secondary,{height:Yi.sizes.sizes[300],width:Yi.sizes.sizes[300],onClick:tr,"data-test":"back-button",sx:pn,"aria-label":Or("Go back",null,{project:"universal-checkout"}),disabled:Cn,"aria-disabled":Gn},p.createElement(h1.Z,{"data-test":"back-arrow",color:En||Yi.colors.gray[100]}))};const m1=p1;var v1=function(w){return(0,y.bindActionCreators)({gotoPrev:Qa},w)};const Dg=(0,y.compose)(uc(null,v1))(m1);function Ig(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Mg(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Ig(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Ig(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var g1=function(w){var ue=w.mobile,Oe=w.tablet,ft=w.continueButtonProps,pn=w.backButtonProps,En=w.mobileButtonRef,Cn=En===void 0?void 0:En,Gn=ba(),yn=Gn.t,Or=Gn.T,tr=ue||Oe,co=(0,p.useContext)(lp),lr=co.isCenteredLayout,mo=(ft==null?void 0:ft.buttonText)||yn("Save and Continue",null,{project:"universal-checkout"}),na=function(){return p.createElement(Dc.Z,{"data-test":"navigation-button-group",flexDirection:"row",justifyContent:"space-between",margin:"0 auto",maxWidth:lr?"sizes.750":"",mt:tr?4:8},(pn==null?void 0:pn.isShown)&&p.createElement(Dg,{onBack:pn==null?void 0:pn.onClick,sx:pn==null?void 0:pn.sx,arrowColor:pn==null?void 0:pn.arrowColor,disabled:pn==null?void 0:pn.isDisabled,"aria-disabled":pn==null?void 0:pn.ariaDisabled}),(ft==null?void 0:ft.isShown)&&p.createElement(Jd.Z.Primary,{"data-test":"continue-button",sx:Mg(Mg({},ft.sx),{},{marginLeft:pn!=null&&pn.isShown?void 0:"auto"}),type:"submit",size:"large",disabled:ft.isDisabled,onClick:ft.onClick,"aria-disabled":ft.ariaDisabled},ft.isLoading?p.createElement(p.Fragment,null,p.createElement(Or,{project:"universal-checkout","aria-live":"polite"},"Saving..."),p.createElement(Rf.Z,{color:"light",marginLeft:"2"})):p.createElement("span",{"data-test":"save-and-continue-text"},mo)))};return tr?Cn?p.createElement(f1.Z,{mountAt:function(){return Cn}},na()):null:na()},E1=function(w){return p.createElement(gh.Consumer,null,function(ue){return p.createElement(g1,Wa()({},w,{mobileButtonRef:ue}))})};const uv=lh()(E1);var _1=e(210750),y1=e.n(_1),Rg=function(w,ue){var Oe=(0,p.useMemo)(function(){return y1()(ue,500)},[]);Ju(function(){w!=null&&w[M.COUNTRY]&&(Oe.cancel(),ue())},[w==null?void 0:w[M.COUNTRY],w==null?void 0:w[M.CUST_CERTIFIED]]),Ju(function(){return Oe(),function(){Oe.flush()}},[w==null?void 0:w[M.ZIP],w==null?void 0:w[M.BUSINESS_NAME],w==null?void 0:w[M.VAT_NUMBER],w==null?void 0:w[M.ABN],w==null?void 0:w[M.CANADIAN_GST_NUMBER],w==null?void 0:w[M.CANADIAN_PST_NUMBER]])};function Fv(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return dh(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(dh(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,dh(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,dh(tr,"constructor",yn),dh(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",dh(yn,ft,"GeneratorFunction"),dh(tr),dh(tr,ft,"Generator"),dh(tr,Oe,function(){return this}),dh(tr,"toString",function(){return"[object Generator]"}),(Fv=function(){return{w:pn,m:co}})()}function dh(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}dh=function(En,Cn,Gn,yn){function Or(tr,co){dh(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},dh(le,w,ue,Oe)}function dv(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Lg(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?dv(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):dv(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}function O1(le){var w=le.mobile,ue=le.isLoading,Oe=le.isAddressFormDirty,ft=le.hasValidSavedTaxLocation,pn=le.isStandaloneApp,En=le.onChangeCustomer,Cn=le.fetchTaxValidation,Gn=le.customer,yn=le.validationErrors,Or=le.setValidationErrors,tr=le.onBeforeSave,co=le.onSaveSuccess,lr=le.onSaveFailure,mo=le.serverErrors,na=le.discardChanges,ya=le.currentScreenIndex,da=le.gotoFollowingPage,ua=le.gotoNext,La=le.gotoPreviousStep,Ga=ba(),Ka=Ga.t,no=Ga.T;Rg(Gn,Cn);var Kn=(0,p.useState)(!1),Ir=we()(Kn,2),ra=Ir[0],Ma=Ir[1];if(ue)return p.createElement(Dc.Z,{py:2,justifyContent:"center",width:"100%"},p.createElement(Rf.Z,null));var $o=w?1:0,po=Lg(Lg({},yn),mo),ga=function(){var so=L()(Fv().m(function Wr(){var _o,$r,ts,Ba;return Fv().w(function(jl){for(;;)switch(jl.p=jl.n){case 0:if(jt("Billing Address Saving: Save Button Clicked",{customerCountry:Gn.country},nt.info),_o=Lo(Gn,Ka),Or(_o),!_o){jl.n=1;break}return jl.a(2);case 1:return tr(),Ma(!0),jl.p=2,$r=Vo(Gn),jl.n=3,Wt.updateCustomerTaxLocation($r);case 3:ts=jl.v,co(ts),da(),jl.n=5;break;case 4:jl.p=4,Ba=jl.v,lr(Ba);case 5:return jl.p=5,Ma(!1),jl.f(5);case 6:return jl.a(2)}},Wr,null,[[2,4,5,6]])}));return function(){return so.apply(this,arguments)}}();return p.createElement(p.Fragment,null,p.createElement(ji.Z.Label,{fontSize:$o,mt:7,mb:3},p.createElement(no,{project:"universal-checkout"},"Address")),p.createElement(bc.Z,{px:3,border:1,borderColor:"gray.800"},p.createElement(Ag,{"data-test":"billing-address-fields",address:Gn,onChangeAddress:En,errors:po,mobile:w,isStandaloneApp:pn})),p.createElement(cv,{customer:Gn,onChange:En,errors:po}),Oe&&ft&&p.createElement(Dc.Z,{justifyContent:"flex-end"},p.createElement(Jd.Z.Secondary,{"data-test":"discard-changes-button",size:"large",inverted:!0,disabled:ra,onClick:na,mt:{_:Yi.space[4],"tablet-*":Yi.space[2],"mobile-*":Yi.space[2],"desktop-0":Yi.space[2]}},p.createElement(no,{project:"universal-checkout"},"Discard Changes"))),p.createElement(uv,{continueButtonProps:{isShown:!0,isLoading:ra,ariaDisabled:ra,onClick:function(){if(!ra){if(!Oe&&ft){ua();return}ga()}}},backButtonProps:{isShown:ya>0||typeof La=="function",onClick:La}}))}var P1=function(w){var ue=w.CustomerInfo,Oe=ue.isLoading,ft=ue.customer,pn=ue.validationErrors,En=ue.serverErrors,Cn=ue.savedCustomer;return{isLoading:Oe,customer:ft,hasValidSavedTaxLocation:!!Cn&&!Lo(Cn),isAddressFormDirty:w.UI.isFormInDirtyState,validationErrors:pn,serverErrors:En,currentScreenIndex:w.RouterReducer.currentScreenIndex,isStandaloneApp:w.CheckoutFlowInfo.checkoutAppVersion===mu.STANDALONE}},C1=function(w){return(0,y.bindActionCreators)({onChangeCustomer:Ur,gotoFollowingPage:ql,gotoNext:Eu,onBeforeSave:pi,onSaveSuccess:Eo,onSaveFailure:_l,setValidationErrors:Al,fetchTaxValidation:Fc,discardChanges:Pl},w)},A1=uc(P1,C1),xg=(0,y.compose)(lh(),A1)(O1);const Wv=xg;var fv=p.createContext({}),b1=function(w){var ue=w.onItemRemoved,Oe=ue===void 0?function(){}:ue,ft=w.showCrossSell,pn=ft===void 0?!0:ft,En=w.CustomCrossSellComponent,Cn=w.children;return p.createElement(fv.Provider,{value:{CustomCrossSellComponent:En,showCrossSell:pn,onItemRemoved:Oe}},Cn)};const S1=b1;var T1=e(464664),D1=e(439504),wg=function(le){return le.MONTHLY="P1M",le.ANNUALLY="P1Y",le.BIENNIALLY="P2Y",le.SEMIANNUALLY="P6M",le}({}),Ng=function(w){var ue=_()(_()({},hs().WEBSITE,_()({},wg.ANNUALLY,{refundPolicy:w("14-day money back guarantee",null,{notes:"A subtitle that declares we will provide a full refund within 14 days",project:"universal-checkout"}),refundPolicyDetail:w("Cancel your annual plan within 14 days for a full refund.",null,{notes:"The text on the tooltip explaining the conditions for a full refund.",project:"universal-checkout"})})),hs().SCHEDULING,_()({},wg.ANNUALLY,{refundPolicy:w("14-day money back guarantee",null,{notes:"A subtitle that declares we will provide a full refund within 14 days",project:"universal-checkout"}),refundPolicyDetail:w("Cancel your annual plan within 14 days for a full refund.",null,{notes:"The text on the tooltip explaining the conditions for a full refund.",project:"universal-checkout"})}));return ue},Kv=e(28774),Cm=e.n(Kv),hv=function(w){var ue=(0,Qc.F)(),Oe=ue.fontSizes,ft=ue.colors,pn=ue.sizes;return p.createElement(ji.Z.Caption,{fontWeight:500,fontSize:Oe[3],color:ft.gray[100],lineHeight:pn.sizes[150],m:0},w)},I1=function(w){var ue=w.renewalDate,Oe=w.amount,ft=w.frequency,pn=w.refundPolicy,En=ba(),Cn=En.T,Gn=(0,Ja.Z)(),yn=Gn.formatDate,Or=(0,Qc.F)(),tr=Or.space,co=Or.fontSizes,lr=Or.colors,mo=Or.sizes,na=Or.radii,ya=(0,p.useState)(),da=we()(ya,2),ua=da[0],La=da[1],Ga=(0,p.useState)(!1),Ka=we()(Ga,2),no=Ka[0],Kn=Ka[1],Ir=(0,p.useMemo)(function(){return(0,qe.Z)()},[]),ra=fp(Oe);return p.createElement(p.Fragment,null,p.createElement(Dc.Z,{flexDirection:"column"},p.createElement(ji.Z.Caption,{"data-test":"selected-item-subtitle",width:"100%",fontWeight:400,fontSize:co[3],color:lr.gray[100],lineHeight:mo.sizes[150],m:0},ue?p.createElement(p.Fragment,null,p.createElement(Cn,{project:"universal-checkout",renewsOn:hv(yn(ue,{date:"medium"})),price:hv(ra),frequency:hv(ft)},"Renews on {renewsOn} at {price} {frequency} + taxes")):p.createElement(Cn,{project:"universal-checkout",amount:hv(ra)},"Pay {amount} + applicable taxes"))),pn&&p.createElement(Dc.Z,{flexDirection:"row"},p.createElement(vh.Z.Element.WithoutFeedback,{ref:La,"aria-describedby":Ir,onKeyDown:function($o){qp.Z.isEsc($o)&&($o.preventDefault(),$o.stopPropagation(),Kn(!1))},onMouseEnter:function(){return Kn(!0)},onMouseLeave:function(){return Kn(!1)},pb:0,tabIndex:-1,width:"fit-content"},p.createElement(ji.Z.Caption,{width:"fit-content",fontWeight:400,fontSize:co[2],color:lr.gray[100],display:"flex",alignItems:"center"},pn.refundPolicy,p.createElement(Jd.Z.Base,{as:"div",size:"small",onBlur:function(){return Kn(!1)},onFocus:function(){return Kn(!0)},sx:{mx:tr[1],outlineRadius:na.circle,minHeight:co[3],borderRadius:na.circle},tabIndex:0},p.createElement(L0.Z,{sx:{height:co[3],width:co[3],lineHeight:mo.sizes[125],color:lr.gray[300]}})))),p.createElement(Sp.Z,{id:Ir,anchor:ua,position:"right-end",isOpen:no,"data-test":"selected-item-subtitle-tooltip",offset:2},pn.refundPolicyDetail)))};const Bg=I1;var M1=function(w){var ue=w.itemDetails,Oe=w.isShowing,ft=w.handleDeleteItemClicked,pn=w.showRemoveButtonForSingleItem,En=w.showRemoveButton,Cn=En===void 0?!0:En,Gn=w.productType,yn=ba(),Or=yn.t,tr=(0,p.useState)(null),co=we()(tr,2),lr=co[0],mo=co[1],na=Cn&&(pn||(ue==null?void 0:ue.length)>1),ya=Oe?{}:{tabIndex:-1},da=Um(Or),ua=Ng(Or),La=function(no){return function(){mo(no||null)}},Ga=function(){mo(null)};return p.createElement(p.Fragment,null,ue.map(function(Ka){var no,Kn=Ka.key,Ir=Ka.amount,ra=Ka.renewalDate,Ma=Ka.productImageUrl,$o=Ka.planType,po=Ka.cartItemTitle,ga=Ka.billingIntervalPeriod,so=Ka.CustomCartItemIcon,Wr=na?{onFocus:La(Kn),onBlur:Ga}:{},_o=da[ga],$r=ua==null||(no=ua[$o])===null||no===void 0?void 0:no[ga],ts=Hd(Gn);return Ma?p.createElement(bc.Z,{key:Kn,pb:Yi.space[3]},p.createElement("img",{"data-test":"selected-item-product-image",className:Cm().productImage,src:Ma,alt:po}),p.createElement(Bg,{refundPolicy:$r,renewalDate:ra,amount:Ir,frequency:_o})):p.createElement(jv.Z,Wa()({key:Kn,"data-test":"selected-item"},Wr,{p:0,pb:Yi.space[3],interiorPre:so?p.createElement("div",{className:Cm().iconContainer},p.createElement(so,{"data-test":"cart-item-icon"})):null,label:p.createElement(ji.Z.Body,{"data-test":"selected-item-title",my:0,css:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",alignItems:"center",display:"flex"}},p.createElement(ts,{css:{marginRight:Yi.space[1],width:Yi.space[3],height:Yi.space[3]},"aria-hidden":!0}),p.createElement(ji.Z,{as:"span",color:"gray.100",fontWeight:Yi.fontWeights.medium,"data-test":"cart-item-group-title"},po)),description:p.createElement(ji.Z.Caption,{"data-test":"selected-item-subtitle",width:"100%",m:0,mb:Yi.space[3]},p.createElement(Bg,{refundPolicy:$r,renewalDate:ra,amount:Ir,frequency:_o})),exteriorAccessory:na&&p.createElement(T1.Z,Wa()({htmlAttributes:{value:Kn},"data-test":"delete-btn",className:Cm().trashButton,onClick:ft,"aria-label":Or("Remove {cartItemTitle} from cart",{cartItemTitle:po},{project:"universal-checkout"}),onMouseDown:function(jl){jl.preventDefault()},onMouseEnter:Ga},ya),p.createElement(D1.Z,{className:Vl()(Cm().trashIcon,_()({},Cm().active,lr===Kn))}))}))}))};const kv=M1;var L1=function(w){var ue=w.productType,Oe=w.itemDetails,ft=w.handleRemoveItemInCart,pn=w.showRemoveButtonForSingleItem,En=pn===void 0?!1:pn,Cn=w.showRemoveButton,Gn=Cn===void 0?!0:Cn,yn=ba(),Or=yn.t,tr=(0,p.useState)(null),co=we()(tr,2),lr=co[0],mo=co[1],na=Oe==null?void 0:Oe.length;if(!na)return null;var ya=function(Kn){return Or("{itemName} will be removed from your order.",{itemName:Kn},{project:"universal-checkout"})},da=_()({},fi().DOMAIN,{title:Or("Remove Domain",null,{project:"universal-checkout"}),message:ya}),ua=da[ue],La=function(Kn){Kn.preventDefault(),mo(Kn.currentTarget.value)},Ga=function(){mo(null)},Ka=function(){ft({productType:ue,itemKey:lr}),mo(null)};return p.createElement(p.Fragment,null,p.createElement(kv,{isShowing:!0,itemDetails:Oe,handleDeleteItemClicked:La,showRemoveButtonForSingleItem:En,showRemoveButton:Gn,productType:ue}),p.createElement(X,{isOpen:!!lr,"data-test":"delete-item-confirmation-modal",message:ua==null?void 0:ua.message(lr),title:ua==null?void 0:ua.title,cancelText:Or("Cancel",null,{project:"universal-checkout"}),confirmText:Or("Remove",null,{project:"universal-checkout"}),onConfirm:Ka,onDismiss:Ga}))};const jg=L1,x1=(0,P.createSelector)(function(le){return le.CheckoutFlowInfo.checkoutAppVersion},function(le){return le!==mu.STANDALONE});var w1=["removeItemInCart"];function Gv(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Hv(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Gv(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Gv(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var N1=function(w){return(0,y.bindActionCreators)({removeItemInCart:Yt},w)},B1=function(w){return{showRemoveButton:x1(w)}},j1=function(w){var ue=w.removeItemInCart,Oe=_s()(w,w1),ft=(0,p.useContext)(fv),pn=ft.onItemRemoved,En=function(yn){ue(yn),pn(yn==null?void 0:yn.itemKey,yn==null?void 0:yn.productType)},Cn=Hv({handleRemoveItemInCart:En},Oe);return p.createElement(jg,Cn)},U1=uc(B1,N1);const F1=U1(j1);var Ug=function(w){var ue=w.lineItemDetails,Oe=(0,Qc.F)(),ft=Oe.space,pn=ba(),En=pn.T;return p.createElement(bc.Z,{"data-test":"product-items"},p.createElement(ji.Z.Label,{m:0,p:0,pb:ft[2],mb:0,"data-test":"order-summary-plan-header"},p.createElement(Dc.Z,{justifyContent:"space-between"},p.createElement(En,{project:"universal-checkout"},"Your Cart"))),Object.entries(ue).map(function(Cn){var Gn=we()(Cn,2),yn=Gn[0],Or=Gn[1].groupedLineItems;return p.createElement(F1,{key:yn,productType:yn,itemDetails:Or,showRemoveButtonForSingleItem:!1})}))};const W1=Ug;var K1=e(137180),Rp=e.n(K1),k1=function(w){var ue=ba(),Oe=ue.T,ft=w.isPurchaseInProgress,pn=w.isLoading,En=w.isDeferredPlanChange,Cn=w.onClickPurchaseButton,Gn=ft||pn,yn=En?p.createElement(Oe,{project:"universal-checkout"},"Confirm"):p.createElement(Oe,{project:"universal-checkout"},"Confirm Payment");return p.createElement("div",{className:Rp().continueButtonGroup},p.createElement(Dg,{ariaDisabled:Gn,disabled:Gn}),p.createElement(Jd.Z.Primary,{className:Rp().payButton,onClick:Cn,disabled:Gn,"data-test":"payment-button",size:"large",sx:{"&:disabled":{backgroundColor:Yi.colors.gray[100],color:Yi.colors.white,cursor:"not-allowed"}}},ft?p.createElement(p.Fragment,null,p.createElement(Oe,{project:"universal-checkout","aria-live":"polite"},"Processing..."),p.createElement("div",{className:Rp().processingLoadingIndicator},p.createElement(Rf.Z,{color:"light"}))):yn))};const Zv=k1;var pv=e(666146),G1=e(885446),H1=e.n(G1),Z1=e(73429),Am=e.n(Z1),V1=function(w){var ue=w.children,Oe=w.label,ft=w.errorText,pn=w.hasErrorIcon,En=w.testId,Cn=w.mobile,Gn=w.editIconButtonLabel,yn=w.onClick,Or=(0,Qc.F)(),tr=Or.space,co=ba(),lr=co.t,mo=co.T;return p.createElement("div",{"data-test":En},p.createElement(ji.Z.Label,{p:0,mt:6,"data-test":"info-heading"},Oe),p.createElement("div",{className:Am().container,"data-test":"info-content"},p.createElement("div",{className:Am().fieldInner,"data-test":"inner-content"},ue,p.createElement("div",{className:Am().buttonContainer},p.createElement("span",{className:Am().accessory},Cn?p.createElement(vh.Z.Element.Icon,{role:"button","aria-label":Gn,pr:0,mt:tr[1],"data-test":"edit-btn",onClick:yn},p.createElement(pv.Z,{"aria-label":Gn})):p.createElement(Jd.Z,{role:"button",variant:"tertiary","aria-label":Gn,pr:0,mt:tr[1],"data-test":"edit-btn",onClick:yn,onMouseDown:function(ya){ya.preventDefault()}},p.createElement(mo,{project:"universal-checkout"},"Edit")),pn&&p.createElement("img",{className:Am().error,src:H1(),"data-test":"error-exclamation",alt:lr("exclamation mark",null,{project:"universal-checkout"})})))),ft&&p.createElement(ji.Z.Caption,{"data-test":"error-text",color:"fg.danger",width:"100%",mb:tr[2],mt:"-".concat(tr[2])},ft),p.createElement(zo.Z,null)))};const Wg=V1;var Kg=function(w){var ue=w.address,Oe=w.state,ft=w.city,pn=w.zip,En=w.country,Cn=w.mobile,Gn=w.onClick,yn=(0,Iv.Z)(),Or=yn.getCountryName,tr=ba(),co=tr.t,lr=tr.T,mo=Or(En);return p.createElement(Wg,{onClick:Gn,label:p.createElement(lr,{project:"universal-checkout"},"Billing Address"),editIconButtonLabel:co("Edit Billing",null,{project:"universal-checkout",notes:"aria-label for edit icon on mobile used for editing the billing address"}),mobile:Cn},p.createElement(Dc.Z,{py:2,flexDirection:"column"},p.createElement(ji.Z.Body,{m:0},ue),p.createElement(ji.Z.Body,{m:0},ft,",\xA0",Oe,"\xA0",pn),p.createElement(ji.Z.Body,{m:0},mo)))};const z1=Kg;var $1=e(825238),Ih=e.n($1),X1="\u2022",Y1=function(){for(var w=arguments.length,ue=new Array(w),Oe=0;Oe<w;Oe++)ue[Oe]=arguments[Oe];return ue.map(function(ft){return X1.repeat(ft)}).join(" ")};const Vv=Y1;var Gg=function(w,ue){if(!w)throw new TypeError("No payment method type to display");switch(w){case kt().CARD:return ue("Card Number",null,{project:"universal-checkout"});case kt().SEPA_DEBIT:return ue("IBAN",null,{project:"universal-checkout",notes:"IBAN = International Bank Account Number"});case kt().PAYPAL_WALLET:return ue("PayPal",null,{project:"universal-checkout",notes:"PayPal payment provider"});default:return""}},bm=function(w){if(!w)throw new TypeError("No payment method icon type");switch(w){case Ih().AMERICAN_EXPRESS:return Vv(4,6);case Ih().SEPA_DEBIT:return Vv(2,4,4,4);case Ih().PAYPAL_WALLET:return"";default:return Vv(4,4,4)}},zv=function(w){var ue=w.prefix,Oe=w.redaction,ft=w.displayIdentifier,pn=w.wrapperProps;return p.createElement(Dc.Z,pn,ue&&p.createElement(ji.Z.Body,{as:"span",color:"inherit","data-test":"redacted-payment-prefix"},ue,"\xA0"),Oe&&p.createElement(ji.Z.Body,{as:"span",color:"inherit","data-test":"redacted-payment-dots",sx:{whiteSpace:"nowrap"}},Oe,"\xA0"),p.createElement(ji.Z.Body,{as:"span",color:"inherit","data-test":"display-identifier",sx:{wordBreak:"break-all"}},ft))};const mv=zv;var Q1=e(592868),Hg=e(591988),J1=e(368255),q1=e(321742),e_=e(281181),Zg=e(851062),$v=e(795826),t_=e(489299);const n_=_()(_()(_()(_()(_()(_()(_()(_()(_()(_()({},Ih().AMERICAN_EXPRESS,Q1.Z),Ih().DINERS_CLUB,Hg.Z),"diners",Hg.Z),Ih().DISCOVER,J1.Z),Ih().JCB,q1.Z),Ih().MASTERCARD,e_.Z),Ih().VISA,Zg.Z),Ih().SEPA_DEBIT,$v.Z),Ih().PAYPAL_WALLET,t_.Z),Ih().OTHER_CARD,null);var r_=["paymentType"],o_=function(w){var ue=w.paymentType,Oe=_s()(w,r_);if(!ue)return null;var ft=n_[ue];return ft?p.createElement(ft,Wa()({"data-test":"".concat(ue,"-icon"),sx:{width:"32px",height:"auto"},role:"img","aria-label":ue,alt:ue},Oe)):null};const vv=o_;var a_=e(732226),Xv=e.n(a_),Yv=function(w){var ue=w.customer,Oe=w.hasError,ft=w.mobile,pn=w.onClick,En=ba(),Cn=En.t,Gn=En.T,yn=ha(),Or=yn.getTaxStringsByCountry,tr=yn.taxValidationFields,co=ue.type,lr=ue.paymentMethod,mo=bm(lr.iconType),na=bo[co],ya=na&&ue[na]&&!ue[tr[co]];return p.createElement(Wg,{label:p.createElement(Gn,{project:"universal-checkout"},"Payment"),errorText:ya?Or({country:(ue==null?void 0:ue.country)||(ue==null?void 0:ue.taxableCountry),taxType:co}).validationError:"",hasErrorIcon:Oe,testId:"payment-info-item",editIconButtonLabel:Cn("Edit Payment",null,{project:"universal-checkout",notes:"aria-label for edit icon on mobile used for editing the payment method"}),mobile:ft,onClick:pn},p.createElement("div",{className:Xv().icon},p.createElement(vv,{paymentType:lr.iconType})),p.createElement("div",{className:Xv().redactedInfoContainer},p.createElement(mv,{prefix:lr.prefix,redaction:mo,displayIdentifier:lr.displayIdentifier,wrapperProps:{justifyContent:"flex-start"}})))};const s_=Yv;var i_=e(636376),l_=function(w){var ue=w.appliedPromoCode,Oe=w.promoError,ft=w.validatePromoCode,pn=w.removePromoCode,En=w.clearPromoError,Cn=w.validationErrorCode,Gn=w.isLoadingPromo,yn=ba(),Or=yn.t,tr=yn.T,co=(0,p.useState)(!1),lr=we()(co,2),mo=lr[0],na=lr[1],ya=(0,p.useState)(ue||""),da=we()(ya,2),ua=da[0],La=da[1],Ga=(0,p.useState)(!1),Ka=we()(Ga,2),no=Ka[0],Kn=Ka[1],Ir=(0,Qc.F)(),ra=Ir.space,Ma=Ir.colors,$o=Oe||Cn,po=function(){$o&&En(),no&&Kn(!1)},ga=Or("Could not apply promotion.",null,{project:"universal-checkout"}),so=function(Fd){var bf=_()(_()(_()({},Jo().BETTER_DISCOUNT_AVAILABLE,Or("The greatest eligible discount is already applied.",null,{project:"universal-checkout",notes:"Promotion code error message when a better discount is applied."})),Jo().NOT_APPLICABLE_TO_CART,Or("Promo code is not valid for this product type.",null,{project:"universal-checkout",notes:"Promotion code error for when a discount doesn\u2019t exist or exists but can\u2019t be applied"})),Jo().SHOULD_APPLY_TO_CART,"");return bf[Fd]},Wr=function(Fd){var bf;((bf=Fd.relatedTarget)===null||bf===void 0||(bf=bf.form)===null||bf===void 0?void 0:bf.id)!=="offer-code-form"&&(ua===""&&na(!1),po())},_o=function(Fd){mo||na(!0),po(),La(Fd)},$r=function(Fd){Fd.preventDefault(),ua!==""?(ft(ua),na(!1)):Kn(Or("Please enter a valid input.",null,{project:"universal-checkout"}))},ts=function(Fd){Fd.preventDefault(),po(),ue&&pn(ue),La(""),na(!1)},Ba=function(){return Cn?so(Cn):ga},jl=null;return mo?jl=null:ue||$o?jl=p.createElement(Dc.Z,{alignItems:"center"},p.createElement(vh.Z.Element.Icon,{onClick:ts,disabled:Gn,height:"auto","data-test":"remove-offer-button","aria-label":Or("Remove",null,{project:"universal-checkout"})},p.createElement(i_.Z,null))):Gn&&(jl=p.createElement(Rf.Z,{"data-test":"loading-indicator",size:0})),p.createElement(p.Fragment,null,p.createElement(Dc.Z,{as:"form","data-test":"offer-code-form",id:"offer-code-form",onSubmit:$r,alignItems:"center"},p.createElement(bc.Z,{pr:mo?ra[2]:ra[0],sx:{flexGrow:1}},p.createElement(Rv.Z,{appearance:"cell",p:ra[0],position:"relative",as:"label","data-test":"offer-code-input",errorText:($o||no)&&p.createElement(ji.Z.Caption,{"data-test":"offer-code-error",color:Ma.red[300],"aria-live":"assertive"},$o?Ba():no),label:p.createElement(ji.Z.Body,{p:ra[0],my:ra[3],as:"label",htmlFor:"offer-code-form"},p.createElement(tr,{project:"universal-checkout"},"Promo Code")),inputProps:{placeholder:Or("Add Code",null,{project:"universal-checkout"}),paddingRight:jl?ra[2]:ra[0],value:ua,onChange:_o,disabled:!!ue,textAlign:"right",onFocus:function(){return na(!0)},onBlur:Wr},interiorPost:jl})),mo&&p.createElement(Jd.Z.Primary,{onClick:$r,onBlur:Wr,isDisabled:Gn,"data-test":"apply-offer-button",height:40,mb:$o||no?ra[1]:ra[0]},p.createElement(tr,{project:"universal-checkout"},"Apply"))))};const c_=l_;var Vg=function(w){return{appliedPromoCode:w.OrderDetails.promo.appliedPromoCode,validationErrorCode:w.OrderDetails.promo.validationErrorCode,isLoadingPromo:w.OrderDetails.isLoadingPromo,promoError:w.OrderDetails.promoError}},Qv=function(w){return(0,y.bindActionCreators)({clearPromoError:xa,validatePromoCode:Ya,removePromoCode:wa},w)},u_=uc(Vg,Qv);const d_=u_(c_);function zg(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function $g(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?zg(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):zg(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}function f_(le,w,ue){return w=f()(w),c()(le,Jv()?Reflect.construct(w,ue||[],f()(le).constructor):w.apply(le,ue))}function Jv(){try{var le=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Jv=function(){return!!le})()}var qv=function(le){function w(){var ue;o()(this,w);for(var Oe=arguments.length,ft=new Array(Oe),pn=0;pn<Oe;pn++)ft[pn]=arguments[pn];return ue=f_(this,w,[].concat(ft)),_()(ue,"componentDidMount",function(){ue.props.getShouldDisplayPromo()}),_()(ue,"onClickPurchaseButton",function(){ue.props.makePurchase({showCrossSell:ue.props.showCrossSell,hasCustomCrossSellComponent:ue.props.hasCustomCrossSellComponent,checkoutType:ue.props.checkoutType})}),_()(ue,"goToCreditCardForm",function(){var En=ue.props.screens,Cn=En.findIndex(function(Gn){return Gn.page===O.CREDIT_CARD});ue.props.gotoPage(Cn)}),_()(ue,"goToBillingAddressForm",function(){var En=ue.props.screens,Cn=En.findIndex(function(Gn){return Gn.page===O.BILLING_ADDRESS});ue.props.gotoPage(Cn)}),_()(ue,"handleCreditCardInfoClick",function(){var En=ue.props.isPurchaseInProgress;En||(ue.props.trackEditOrder("payment"),ue.goToCreditCardForm())}),_()(ue,"handleBillingAddressClick",function(){var En=ue.props.isPurchaseInProgress;En||(ue.props.trackEditOrder("billing-address"),ue.goToBillingAddressForm())}),ue}return h()(w,le),a()(w,[{key:"shouldComponentUpdate",value:function(Oe){return!(Oe.purchaseCompleted||Oe.isExitingScreen)}},{key:"getDisclaimer",value:function(){var Oe=this.props,ft=Oe.disclaimer,pn=Oe.locale;return typeof ft=="function"?ft({locale:pn}):ft}},{key:"renderErrorNotice",value:function(){var Oe,ft,pn=this.props,En=pn.purchaseError,Cn=pn.i18n,Gn=Cn.T;return En!=null&&(Oe=En.response)!==null&&Oe!==void 0&&(Oe=Oe.data)!==null&&Oe!==void 0&&Oe.resoldPlanError?p.createElement("div",{"data-test":"payment-error",className:Rp().error},p.createElement(Gn,{billingPanel:p.createElement("a",{href:"/config/settings/billing/subscriptions/website"},p.createElement(Gn,{project:"universal-checkout"},"billing panel")),project:"universal-checkout"},"Your plan does not allow purchasing add-on products. To switch plans, go to your {billingPanel}.")):En!=null&&(ft=En.response)!==null&&ft!==void 0&&(ft=ft.data)!==null&&ft!==void 0&&ft.userFacingErrorMessage?p.createElement("div",{"data-test":"custom-error",className:Rp().error},En.response.data.userFacingErrorMessage):p.createElement("div",{"data-test":"payment-error",className:Rp().error},p.createElement(Gn,{project:"universal-checkout"},"Couldn\u2019t process your payment. Make sure your payment details are correct and try again."))}},{key:"render",value:function(){var Oe=this.props,ft=Oe.savedCustomer,pn=Oe.promo,En=Oe.previewInvoice,Cn=Oe.purchaseError,Gn=Oe.hasSCAError,yn=Oe.mobile,Or=Oe.mobileButtonRef,tr=Oe.tablet,co=Oe.checkoutCart,lr=Oe.checkoutType,mo=Oe.isDeferredPlanChange,na=Oe.plan,ya=Oe.renewalData,da=ya.renewalPrice,ua=ya.renewalDate,La=Oe.i18n,Ga=La.t,Ka=La.T,no=La.pluralize,Kn=cp({invoice:En,checkoutType:lr,checkoutCart:co,plan:$g($g({},na),{},{renewalPrice:da,renewalDate:ua}),options:{isDeferredPlanChange:mo}},Ga,no);if(!ft||!co)return null;var Ir=ft,ra=Ir.city,Ma=Ir.address,$o=Ir.zip,po=Ir.state,ga=Ir.country;return p.createElement("div",null,!En&&!mo?p.createElement("div",{"data-test":"order-summary-loading",className:Rp().spinner},p.createElement(Rf.Z,null)):p.createElement("div",{"data-test":"order-summary-screen"},p.createElement(W1,{lineItemDetails:Kn}),p.createElement(zo.Z,null),p.createElement(z1,{"data-test":"billing-address",address:Ma,state:po,city:ra,zip:$o,country:ga,mobile:yn,onClick:this.handleBillingAddressClick}),p.createElement(s_,{customer:ft,mobile:yn,onClick:this.handleCreditCardInfoClick}),pn.canUsePromoCode&&p.createElement(d_,null),Cn&&this.renderErrorNotice(),p.createElement("div",{className:Rp().disclaimer},p.createElement(ji.Z.Caption,{mb:1,color:"gray.200",fontWeight:"600","data-test":"order-summary-disclaimer-title"},p.createElement(Ka,{project:"universal-checkout"},"By clicking Confirm Payment, you agree that:")),p.createElement(ji.Z.Caption,{"data-test":"order-summary-disclaimer",color:"gray.200",pt:1,as:"div"},this.getDisclaimer())),yn||tr?Or&&(0,Kt.createPortal)(p.createElement(Zv,{isPurchaseInProgress:this.props.isPurchaseInProgress,isLoading:this.props.isLoading,isDeferredPlanChange:mo,onClickPurchaseButton:this.onClickPurchaseButton}),Or):p.createElement(Zv,{isPurchaseInProgress:this.props.isPurchaseInProgress,isLoading:this.props.isLoading,isDeferredPlanChange:mo,onClickPurchaseButton:this.onClickPurchaseButton})),Gn&&p.createElement(X,{isOpen:!0,testAttr:"purchase-error-modal",cancelText:Ga("Edit Card",null,{project:"universal-checkout"}),confirmText:Ga("Try Again",null,{project:"universal-checkout"}),message:Ga("Authorization on your credit card failed. Try again or pick a different payment method.",null,{project:"universal-checkout"}),title:Ga("Purchase Error",null,{project:"universal-checkout"}),onConfirm:this.onClickPurchaseButton,onDismiss:this.goToCreditCardForm}))}}])}(p.Component);const h_=ns(qv);function Xg(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function p_(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Xg(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Xg(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var m_=function(w){return{previewInvoice:w.OrderDetails.orderPreview.invoice,promo:w.OrderDetails.promo,isLoading:Qd(w),purchaseError:w.Purchase.error,hasSCAError:w.Purchase.hasSCAError,isPurchaseInProgress:w.Purchase.isLoading,renewalData:rh(w),savedCustomer:w.CustomerInfo.savedCustomer,currentScreenIndex:w.RouterReducer.currentScreenIndex,screens:w.RouterReducer.screens,isScreenTransitioning:w.RouterReducer.isScreenTransitioning,purchaseCompleted:w.Purchase.purchaseCompleted,checkoutCart:Vi(w),isDeferredPlanChange:!!w.OrderDetails.orderPreview.deferred,checkoutAppVersion:w.CheckoutFlowInfo.checkoutAppVersion,plan:vu(w)}},v_=function(w){return(0,y.bindActionCreators)({getShouldDisplayPromo:Ra,makePurchase:$a,gotoPage:Ul,trackEditOrder:bs,setIsUCModalFocusLocked:ll},w)},Yg=function(w){var ue=(0,p.useContext)(fv),Oe=ue.showCrossSell,ft=ue.CustomCrossSellComponent,pn=p_({showCrossSell:Oe,hasCustomCrossSellComponent:!!ft},w);return p.createElement(h_,pn)},eg=uc(m_,v_);const g_=(0,y.compose)(lh(),eg)(Yg);var E_=e(717966),tg=e.n(E_),__=function(){var w=ba(),ue=w.t,Oe=w.T;return p.createElement(ji.Z.Body,{mx:{_:3,"desktop-50":4,"desktop-100":4},"data-test":"empty-receipt"},p.createElement(Oe,{project:"universal-checkout",br:p.createElement("br",null),contactLink:p.createElement("a",{"data-test":"empty-receipt-contact-link",href:Qr.CONTACT_CUSTOMER_CARE_BILLING},ue("contact us",null,{project:"universal-checkout"}))},"We\u2019ll email you a copy of your receipt.{br}If you don\u2019t receive it or have any questions {contactLink}."))};const y_=__;var O_=e(247509),P_=function(w){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Oe=ue.freeDomain,ft=Oe===void 0?!1:Oe,pn=ue.freeGSuite,En=pn===void 0?!1:pn,Cn=ba(),Gn=Cn.t,yn=Cn.T,Or={dataTest:"cross-sell-website",crossSellLink:"/config/settings/billing/billing/upgrade?suppressAttributionSurvey=true",crossSellTitle:Gn("Launch Your Website",null,{project:"universal-checkout"}),crossSellSubtitle:Gn("Choose a subscription plan that works for you.",null,{project:"universal-checkout"})},tr="".concat(Qr.CUSTOMER_CARE,"/articles/206541787-Free-Squarespace-domain-offer#toc-eligible-tlds"),co=p.createElement(O_.Z,{href:tr,target:"_blank",rel:"noopener noreferrer"},p.createElement(yn,{project:"universal-checkout"},"Learn more about eligible domains")),lr={dataTest:"cross-sell-domain-free",crossSellLink:"/config/settings/domains?suppressAttributionSurvey=true",crossSellTitle:Gn("Get a free Domain for a year",null,{project:"universal-checkout"}),crossSellSubtitle:Gn("Get a great, easy-to-manage domain name to go with your website. Even better, they come with included privacy tools and are free for a year with your annual subscription*.",null,{project:"universal-checkout"}),postCrossSellContent:p.createElement(ji.Z.Caption,{as:"p",mb:8,mt:2},p.createElement(yn,{learnMoreLink:co,project:"universal-checkout",notes:"Footnote text that accompanies an offer for a free domain. The placeholder at the end is a link that says 'Learn more about eligible domains' and goes to a help center article."},"* Choose any eligible domain. {learnMoreLink}."))},mo={dataTest:"cross-sell-domain-paid",crossSellLink:"/config/settings/domains?suppressAttributionSurvey=true",crossSellTitle:Gn("Get a Domain",null,{project:"universal-checkout"}),crossSellSubtitle:Gn("Help your business stand out with the perfect domain name. Easy-to-manage domains from Squarespace are affordable, with built in privacy, and no hidden fees.",null,{project:"universal-checkout"})},na={dataTest:"cross-sell-gsuite-free",crossSellLink:"/config/settings/email?suppressAttributionSurvey=true",crossSellTitle:Gn("Get a year of free professional email from Google",null,{project:"universal-checkout"}),crossSellSubtitle:Gn("Get a whole year\u2019s worth of industry leading productivity and collaboration tools for free from Google - including Gmail, Docs, and Sheets.",null,{project:"universal-checkout"})},ya={dataTest:"cross-sell-gsuite-paid",crossSellLink:"/config/settings/email?suppressAttributionSurvey=true",crossSellTitle:Gn("Get professional email from Google",null,{project:"universal-checkout"}),crossSellSubtitle:Gn("Get professional email from your domain, plus collaboration and productivity tools from Google by adding a subscription to {productName}.",{productName:KE},{project:"universal-checkout"})},da={dataTest:"cross-sell-campaings-paid",crossSellLink:"/config/marketing/campaigns?suppressAttributionSurvey=true",crossSellTitle:Gn("Try Squarespace Email Campaigns",null,{project:"universal-checkout"}),crossSellSubtitle:Gn("Squarespace Email Campaigns make it easy to grow your audience by marketing your business or idea in a way that\u2019s beautifully consistent with your website.",null,{project:"universal-checkout"})},ua={dataTest:"cross-sell-scheduling-paid",crossSellLink:"/config/scheduling?suppressAttributionSurvey=true",crossSellTitle:Gn("Start Booking Appointments",null,{project:"universal-checkout"}),crossSellSubtitle:Gn("With Acuity Scheduling\u2019s automated booking software, you can accept payments, send reminders, and onboard new clients. Try Acuity Scheduling now.",null,{project:"universal-checkout"})},La={dataTest:"cross-sell-member-areas-paid",crossSellLink:"/config/settings/member-sites?suppressAttributionSurvey=true",crossSellTitle:Gn("Add a Digital Products Plan",null,{project:"universal-checkout"}),crossSellSubtitle:Gn("Access more video storage and lower transaction fees for selling courses, video, and memberships.",null,{project:"universal-checkout"})},Ga={dataTest:"cross-sell-squarespace",crossSellLink:"/config/settings/billing/upgrade?suppressAttributionSurvey=true",crossSellTitle:Gn("Build a beautiful website",null,{project:"universal-checkout"}),crossSellSubtitle:Gn("Sell products, build email campaigns, or schedule appointments \u2013 all in one place.",null,{project:"universal-checkout"})};return function(){if(!w)return{};var Ka=_()(_()(_()(_()(_()(_()(_()({},fi().WEBSITE,Or),fi().DOMAIN,ft?lr:mo),fi().GOOGLE_APPS,En?na:ya),fi().CAMPAIGNS,da),hs().MEMBER_AREAS,La),fi().SCHEDULING,ua),hs().SQUARESPACE,Ga);return Ka[w]||{}}},Qg=e(236657),gv=e.n(Qg),C_=e(109045),A_=function(){},b_=function(w){var ue=w.crossSellLink,Oe=w.crossSellTitle,ft=w.crossSellSubtitle,pn=w.dataTest,En=pn===void 0?"product-cross-sell":pn,Cn=w.mb,Gn=Cn===void 0?8:Cn,yn=w.onClick,Or=yn===void 0?A_:yn;return p.createElement(vh.Z.Solid,{as:"a",border:"none","data-test":En,href:ue,mb:Gn,onClick:Or,sx:{textDecoration:"none"},width:"100%"},p.createElement(Jp.Z,{width:"100%",px:4,py:3},p.createElement(jv.Z,{label:p.createElement(ji.Z.Subtitle,{"data-test":"cross-sell-title","data-testid":"cross-sell-title",m:0},Oe),description:ft&&p.createElement(ji.Z.Body,{"data-test":"cross-sell-subtitle",sx:{whiteSpace:"pre-line"},m:0,color:"gray.400"},ft),exteriorAccessory:p.createElement(C_.Z,{"data-test":"cross-sell-arrow","data-testid":"cross-sell-arrow"})})))};const Me=b_;var Ct=function(w){var ue=w.freeDomain,Oe=w.freeGSuite,ft=w.crossSellProduct,pn=w.trackCrossSellLinkClicked,En=w.showCrossSell,Cn=w.CustomCrossSellComponent,Gn=P_(ft,{freeDomain:ue,freeGSuite:Oe})();return En?Cn?p.createElement(bc.Z,{mb:8,"data-test":"custom-cross-sell",testAttr:"custom-cross-sell",className:gv().crossSellContainer},p.createElement(Cn,{trackCrossSellLinkClicked:pn})):ft?p.createElement("div",{className:gv().crossSellContainer,"data-testid":"cross-sell-container"},p.createElement(Me,Wa()({},Gn,{mb:Gn.postCrossSellContent?0:void 0,onClick:function(){pn()}})),Gn.postCrossSellContent):null:null};const ct=Ct;function lt(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Oa(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?lt(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):lt(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var xy=function(w){return{freeDomain:w.Subscriptions.freeDomain,freeGSuite:w.Subscriptions.freeGSuite}},wy=function(w){return(0,y.bindActionCreators)({trackCrossSellLinkClicked:ei},w)},Ny=function(w){var ue=(0,p.useContext)(fv),Oe=ue.showCrossSell,ft=ue.CustomCrossSellComponent,pn=Oa({showCrossSell:Oe,CustomCrossSellComponent:ft},w);return p.createElement(ct,pn)};const By=uc(xy,wy)(Ny),jy=Mp;function iy(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function ly(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?iy(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):iy(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var Uy=function(w){var ue=w.checkoutCart,Oe=w.checkoutType,ft=w.invoice,pn=w.isDeferredPlanChange,En=w.renewalPrice,Cn=w.renewalDate,Gn=w.plan,yn=ba(),Or=yn.t,tr=yn.pluralize,co=(0,Ja.Z)(),lr=co.formatDate,mo=(0,Qc.F)(),na=mo.space;if(!ue.length)return null;var ya=cp({invoice:ft,checkoutType:Oe,checkoutCart:ue,plan:ly(ly({},Gn),{},{renewalPrice:En}),options:{isDeferredPlanChange:pn}},Or,tr);return p.createElement("table",{"data-test":"receipt-content",width:"100%"},Object.entries(ya).map(function(da){var ua=we()(da,2),La=ua[0],Ga=ua[1];return p.createElement(F0,{key:La,itemDetails:Ga})}),p.createElement("tfoot",null,p.createElement("tr",{"aria-hidden":!0},p.createElement(bc.Z,{as:"td",colSpan:2,py:na[5]},p.createElement(Ws,null))),p.createElement(jy,{isPostPurchase:!0,invoice:ft,isDeferredPlanChange:pn,renewalPrice:En,renewalDate:Cn?lr(Cn,{date:"medium"}):void 0})))};const Fy=Uy;var Wy=function(w){var ue=rh(w),Oe=ue.renewalPrice,ft=ue.renewalDate;return{checkoutCart:Vi(w),isDeferredPlanChange:!!w.OrderDetails.orderPreview.deferred,plan:vu(w),renewalPrice:Oe,renewalDate:ft}},Ky=uc(Wy,{});const ky=(0,y.compose)(lh(),Ky)(Fy);var Gy=function(w){var ue=w.closeModal,Oe=w.invoice,ft=w.crossSellProduct,pn=w.checkoutType,En=w.purchaseTimeOut,Cn=ba(),Gn=Cn.t,yn=Cn.T,Or=Gn("Done",null,{project:"universal-checkout"}),tr=(0,Qc.F)(),co=tr.space;return p.createElement(bc.Z,{"data-test":"success-screen-content"},!!Oe&&!En&&p.createElement(By,{crossSellProduct:ft}),p.createElement(ji.Z.Subtitle,{mt:0,mb:co[2],className:tg().paymentSummary},p.createElement(yn,{project:"universal-checkout"},"Payment Summary")),p.createElement(bc.Z,{className:tg().receipt},Oe?p.createElement(ky,{invoice:Oe,checkoutType:pn}):p.createElement(y_,null),p.createElement(za,null)),p.createElement(Dc.Z,{my:8,justifyContent:"flex-end","data-test":"cta-container",className:tg().ctaContainer},p.createElement(Jd.Z.Primary,{onClick:ue,"data-test":"go-to-site",size:"medium",width:"100%"},Or)))};const Hy=Gy;var Zy=function(w){return{invoice:w.Purchase.purchaseInvoice,crossSellProduct:Xs(w),purchaseTimeOut:w.Purchase.purchaseTimeOut}};const Vy=(0,y.compose)(lh(),uc(Zy,null))(Hy);var zy=function(w){var ue;return!!(!((ue=w.CustomerInfo.savedCustomer)===null||ue===void 0)&&ue.paymentMethod)};const cy=zy;var $y=_()({},fs.v.TRANSFER,!0);const Xy=$y;var Yy=function(w){var ue=w.checkoutType,Oe=w.restrictedPaymentMethods,ft=w.selectedCurrency,pn=w.acceptedCurrencies,En=Bn({acceptedCurrencies:pn,paymentMethod:kt().SEPA_DEBIT,selectedCurrency:ft}),Cn=!(Oe!=null&&Oe.includes(kt().SEPA_DEBIT));return!!(En&&Cn&&!Xy[ue])};const Qy=Yy;var Ev=e(826135),Jy=function(w){var ue=w.error,Oe=w.onDismiss,ft=ba(),pn=ft.T,En=ft.t;return p.createElement(X,{isOpen:!!ue,onDismiss:Oe,title:En("Something went wrong",null,{project:"universal-checkout"}),message:p.createElement(pn,{customerCareLink:p.createElement("a",{href:Qr.CONTACT_AUTHENTICATED_CUSTOMER_CARE,rel:"noopener noreferrer",target:"_blank"},p.createElement(pn,{project:"universal-checkout"},"Customer Care")),project:"universal-checkout"},"A component needed for payment could not be loaded. This problem can be caused by some anti-virus software. Try again with anti-virus disabled, or contact our {customerCareLink} team."),cancelText:En("Close",null,{project:"universal-checkout"}),showConfirm:!1})};const qy=Jy;var e2=function(w,ue,Oe,ft){return{mode:"setup",paymentMethodTypes:ue,currency:ft==null?void 0:ft.toLowerCase(),locale:Oe,fonts:[{cssSrc:"../fonts/squarespace-clarkson-v2.css"}],appearance:{labels:"above",variables:{spacingUnit:"4px",fontSizeBase:w?Yi.fontSizes[5]:Yi.fontSizes[3],fontFamily:'Clarkson, "Helvetica Neue", Helvetica, Arial, sans-serif',logoColor:"light",iconCardCvcColor:Yi.colors.gray[100],iconColor:Yi.colors.gray[300],borderRadius:"0px",gridColumnSpacing:Yi.fontSizes[1],colorText:Yi.colors.gray[100],colorTextSecondary:Yi.colors.gray[100],colorDanger:Yi.colors.red[300],colorTextPlaceholder:Yi.colors.gray[500],fontSizeXs:"1rem"},rules:{".Label":{fontSize:w?Yi.fontSizes[4]:Yi.fontSizes[2]},".RadioIconOuter":{fillOpacity:"1",strokeWidth:"5px",fill:Yi.colors.white,stroke:Yi.colors.gray[200]},".RadioIconOuter--checked":{fill:Yi.colors.gray[400]},".RadioIconOuter--hovered":{fill:Yi.colors.gray[600]},".RadioIconInner--checked":{fill:Yi.colors.white},".RadioIconOuter--checked.RadioIconOuter--hovered":{fill:Yi.colors.gray[200],stroke:Yi.colors.gray[100]},".RadioIconInner--checked.RadioIconInner--hovered":{fill:Yi.colors.gray[600]},".Input":{boxShadow:"none",border:"1px solid transparent",borderBottom:"1px solid ".concat(Yi.colors.gray[800]),padding:"".concat(Yi.space[2]," 0"),transition:"none",fontSize:w?Yi.fontSizes[4]:Yi.fontSizes[3]},".Input:autofill":{border:"0",borderBottom:"1px solid ".concat(Yi.colors.gray[800]),boxShadow:"none"},".Input:focus":{border:"0",borderBottom:"2px solid ".concat(Yi.colors.gray[100]),boxShadow:"none",transition:"border-color 0.2s ease"},".Input--invalid":{border:"0",borderBottom:"1px solid ".concat(Yi.colors.red[300]),boxShadow:"none"},".Error":{fontSize:Yi.fontSizes[2],marginTop:Yi.space[1]},".AccordionItem":{boxShadow:"none",border:"1px solid ".concat(Yi.colors.gray[800]),color:Yi.colors.gray[100],fontWeight:Yi.fontWeights.medium},".AccordionItem--selected":{boxShadow:"none",color:Yi.colors.gray[100]},".AccordionItem:focus-visible":{boxShadow:"none",border:"1px solid ".concat(Yi.colors.gray[800]),outline:"2px solid ".concat(Yi.colors.gray[100]),outlineOffset:"2px"},".TermsText":{color:Yi.colors.gray[100],fontSize:w?Yi.fontSizes[4]:Yi.fontSizes[2],padding:Yi.space[1]}}}}},t2=function(w,ue,Oe,ft){var pn=Oe?[kt().CARD,kt().SEPA_DEBIT]:[kt().CARD],En=e2(ue,pn,w,ft);return En},n2=function(w){var ue=w.isProd,Oe=w.mobile,ft=w.paymentMethodType,pn=w.locale,En=pn===void 0?"auto":pn,Cn=w.onLoad,Gn=Cn===void 0?function(){}:Cn,yn=w.onError,Or=yn===void 0?function(){}:yn,tr=w.preferredPaymentMethodGateway,co=w.isSEPAEnabled,lr=w.selectedCurrency,mo=w.children,na=(0,p.useState)(null),ya=we()(na,2),da=ya[0],ua=ya[1],La=ft===kt().SEPA_DEBIT?kt().SEPA_DEBIT:kt().CARD,Ga=tr[La],Ka=(0,p.useMemo)(function(){return Nd(ue,Ga).then(function(Ir){return Gn&&Gn(Ir),Ir}).catch(function(Ir){Zn(Ir,{gateway:Ga,context:"form"}),ua(Ir),Or&&Or(Ir)})},[]),no=function(){ua(null)},Kn=t2(En,Oe,co,lr);return p.createElement(p.Fragment,null,p.createElement("form",{"aria-label":"payment-form",onSubmit:function(ra){return ra.preventDefault()}},p.createElement(Ev.Elements,{stripe:Ka,options:Kn},mo)),da&&p.createElement(qy,{error:da,onDismiss:no}))};const r2=n2;/*!
 * paypal-js v8.0.0 (2023-12-20T19:17:15.167Z)
 * Copyright 2020-present, PayPal, Inc. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */function o2(le,w){var ue=document.querySelector('script[src="'.concat(le,'"]'));if(ue===null)return null;var Oe=uy(le,w),ft=ue.cloneNode();if(delete ft.dataset.uidAuto,Object.keys(ft.dataset).length!==Object.keys(Oe.dataset).length)return null;var pn=!0;return Object.keys(ft.dataset).forEach(function(En){ft.dataset[En]!==Oe.dataset[En]&&(pn=!1)}),pn?ue:null}function a2(le){var w=le.url,ue=le.attributes,Oe=le.onSuccess,ft=le.onError,pn=uy(w,ue);pn.onerror=ft,pn.onload=Oe,document.head.insertBefore(pn,document.head.firstElementChild)}function s2(le){var w="https://www.paypal.com/sdk/js";le.sdkBaseUrl&&(w=le.sdkBaseUrl,delete le.sdkBaseUrl);var ue=le,Oe=Object.keys(ue).filter(function(En){return typeof ue[En]<"u"&&ue[En]!==null&&ue[En]!==""}).reduce(function(En,Cn){var Gn=ue[Cn].toString();return Cn=i2(Cn),Cn.substring(0,4)==="data"||Cn==="crossorigin"?En.attributes[Cn]=Gn:En.queryParams[Cn]=Gn,En},{queryParams:{},attributes:{}}),ft=Oe.queryParams,pn=Oe.attributes;return ft["merchant-id"]&&ft["merchant-id"].indexOf(",")!==-1&&(pn["data-merchant-id"]=ft["merchant-id"],ft["merchant-id"]="*"),{url:"".concat(w,"?").concat(l2(ft)),attributes:pn}}function i2(le){var w=function(ue,Oe){return(Oe?"-":"")+ue.toLowerCase()};return le.replace(/[A-Z]+(?![a-z])|[A-Z]/g,w)}function l2(le){var w="";return Object.keys(le).forEach(function(ue){w.length!==0&&(w+="&"),w+=ue+"="+le[ue]}),w}function uy(le,w){w===void 0&&(w={});var ue=document.createElement("script");return ue.src=le,Object.keys(w).forEach(function(Oe){ue.setAttribute(Oe,w[Oe]),Oe==="data-csp-nonce"&&ue.setAttribute("nonce",w["data-csp-nonce"])}),ue}function c2(le,w){if(w===void 0&&(w=Promise),fy(le,w),typeof document>"u")return w.resolve(null);var ue=s2(le),Oe=ue.url,ft=ue.attributes,pn=ft["data-namespace"]||"paypal",En=dy(pn);return o2(Oe,ft)&&En?w.resolve(En):u2({url:Oe,attributes:ft},w).then(function(){var Cn=dy(pn);if(Cn)return Cn;throw new Error("The window.".concat(pn," global variable is not available."))})}function u2(le,w){w===void 0&&(w=Promise),fy(le,w);var ue=le.url,Oe=le.attributes;if(typeof ue!="string"||ue.length===0)throw new Error("Invalid url.");if(typeof Oe<"u"&&typeof Oe!="object")throw new Error("Expected attributes to be an object.");return new w(function(ft,pn){if(typeof document>"u")return ft();a2({url:ue,attributes:Oe,onSuccess:function(){return ft()},onError:function(){var En=new Error('The script "'.concat(ue,'" failed to load. Check the HTTP status code and response body in DevTools to learn more.'));return pn(En)}})})}function dy(le){return window[le]}function fy(le,w){if(typeof le!="object"||le===null)throw new Error("Expected an options object.");if(typeof w<"u"&&typeof w!="function")throw new Error("Expected PromisePonyfill to be a function.")}var MP="8.0.0";function i0(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Rh(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Rh(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Rh(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Rh(tr,"constructor",yn),Rh(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Rh(yn,ft,"GeneratorFunction"),Rh(tr),Rh(tr,ft,"Generator"),Rh(tr,Oe,function(){return this}),Rh(tr,"toString",function(){return"[object Generator]"}),(i0=function(){return{w:pn,m:co}})()}function Rh(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Rh=function(En,Cn,Gn,yn){function Or(tr,co){Rh(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Rh(le,w,ue,Oe)}var d2="paypal-button-container",f2="AWDZUkyyOSbNPYc63FcVTDEQ6arpGliFvMBPq1Yr5zawDxemNgStitKzvzcp8005mkMpT6I9igj0qDfD",h2="Afdow9oTAtGYjKpGukc_u7XRUWRbgVQJ0yF0sh64R7Pfp1a7G30EADGTrZ5v5Of7dlpMx83SCKUoRppc",p2="Squarespace_Cart_RTVault",S_={silver:"silver",white:"white"},m2=function(){var le=L()(i0().m(function w(ue,Oe,ft,pn,En,Cn,Gn,yn,Or){var tr,co,lr,mo,na,ya,da;return i0().w(function(ua){for(;;)switch(ua.p=ua.n){case 0:return co="paypal",lr=yn?h2:f2,ua.p=1,ua.n=2,c2({clientId:lr,dataPartnerAttributionId:p2,dataUserIdToken:ue});case 2:mo=ua.v,ua.n=4;break;case 3:ua.p=3,ya=ua.v,pn(ya,{gateway:"paypal",context:"loading paypal script"});case 4:if(!((tr=mo)!==null&&tr!==void 0&&tr.Buttons)){ua.n=8;break}return ua.p=5,ua.n=6,mo.Buttons({fundingSource:co,onApprove:Oe,onClick:ft,onError:Cn,createVaultSetupToken:En,style:{color:Gn}});case 6:na=ua.v,Or(na),ua.n=8;break;case 7:ua.p=7,da=ua.v,pn(da,{gateway:"paypal",context:"loading paypal button"});case 8:return ua.a(2)}},w,null,[[5,7],[1,3]])}));return function(ue,Oe,ft,pn,En,Cn,Gn,yn,Or){return le.apply(this,arguments)}}(),v2=function(){var le=L()(i0().m(function w(ue,Oe,ft,pn,En,Cn,Gn,yn,Or){var tr,co,lr;return i0().w(function(mo){for(;;)switch(mo.n){case 0:if(co=ue.dataUserId&&ue.setupToken,!co){mo.n=1;break}tr=ue,mo.n=3;break;case 1:return mo.n=2,Oe();case 2:tr=mo.v;case 3:lr=function(){var na=L()(i0().m(function ya(){return i0().w(function(da){for(;;)switch(da.n){case 0:return da.a(2,Promise.resolve(tr.setupToken))}},ya)}));return function(){return na.apply(this,arguments)}}(),m2(tr.dataUserId,ft,pn,En,lr,Cn,Gn,yn,Or);case 4:return mo.a(2)}},w)}));return function(ue,Oe,ft,pn,En,Cn,Gn,yn,Or){return le.apply(this,arguments)}}(),g2=function(w,ue,Oe,ft,pn,En,Cn,Gn,yn){var Or=(0,p.useState)(!1),tr=we()(Or,2),co=tr[0],lr=tr[1],mo=(0,p.useState)(null),na=we()(mo,2),ya=na[0],da=na[1];(0,p.useEffect)(function(){co||(v2(w,ue,Oe,ft,pn,En,Cn,Gn,da),lr(!0))},[Oe,ft,w,ue,co,pn,En,Cn,Gn]),(0,p.useLayoutEffect)(function(){ya&&w.setupToken&&yn!==null&&yn!==void 0&&yn.current&&L()(i0().m(function ua(){var La;return i0().w(function(Ga){for(;;)switch(Ga.p=Ga.n){case 0:return Ga.p=0,Ga.n=1,ya.render(yn.current);case 1:Ga.n=3;break;case 2:Ga.p=2,La=Ga.v,pn(La,{gateway:"paypal",context:"loading paypal button"});case 3:return Ga.a(2)}},ua,null,[[0,2]])}))()},[ya,w.setupToken,yn,pn])},E2=function(){var w=ba(),ue=w.t;return _()(_()(_()(_()({},kt().CARD,{testAttr:"credit-card-error-modal",title:ue("Couldn\u2019t Save Card",null,{project:"universal-checkout"}),message:ue("We weren\u2019t able to save your card. Try saving again. If this issue persists, reload the page to start over.",null,{project:"universal-checkout"})}),kt().SEPA_DEBIT,{testAttr:"sepa-error-alert",title:ue("Couldn\u2019t Save SEPA Direct Debit",null,{project:"universal-checkout"}),message:ue("We weren\u2019t able to save your SEPA direct debit information. Try saving again. If this issue persists, reload the page to start over.",null,{project:"universal-checkout"})}),kt().INTERNAL,{}),kt().PAYPAL_WALLET,{testAttr:"paypal-error-alert",title:ue("Something went wrong",null,{project:"universal-checkout"}),message:ue("We are unable to add PayPal as your payment method. Please try again.",null,{project:"universal-checkout",notes:"Error message which appears in modal when there is a problem with selecting paypal as a payment method"})})};const _2=E2;var y2=function(w){return w||w?S_.silver:S_.white};function T_(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Lh(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Lh(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Lh(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Lh(tr,"constructor",yn),Lh(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Lh(yn,ft,"GeneratorFunction"),Lh(tr),Lh(tr,ft,"Generator"),Lh(tr,Oe,function(){return this}),Lh(tr,"toString",function(){return"[object Generator]"}),(T_=function(){return{w:pn,m:co}})()}function Lh(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Lh=function(En,Cn,Gn,yn){function Or(tr,co){Lh(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Lh(le,w,ue,Oe)}var O2=function(){var le=L()(T_().m(function w(ue){var Oe,ft;return T_().w(function(pn){for(;;)switch(pn.n){case 0:return pn.n=1,Wt.completeSetupIntent(ue,kt().PAYPAL_WALLET);case 1:return Oe=pn.v,ft=Oe.data,pn.a(2,ft)}},w)}));return function(ue){return le.apply(this,arguments)}}();function D_(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return xh(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(xh(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,xh(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,xh(tr,"constructor",yn),xh(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",xh(yn,ft,"GeneratorFunction"),xh(tr),xh(tr,ft,"Generator"),xh(tr,Oe,function(){return this}),xh(tr,"toString",function(){return"[object Generator]"}),(D_=function(){return{w:pn,m:co}})()}function xh(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}xh=function(En,Cn,Gn,yn){function Or(tr,co){xh(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},xh(le,w,ue,Oe)}var P2={gateway:"paypal",context:"paypal modal error"},hy=function(w,ue){var Oe=ue||P2;Zn(w,Oe)},C2=function(w){var ue,Oe=w.paypalTokens,ft=Oe===void 0?{dataUserId:"",setupToken:""}:Oe,pn=w.fetchAndStorePaypalSetupTokens,En=w.onSaveSuccess,Cn=w.onSaveFailure,Gn=w.trackClick,yn=w.trackExcessivePaymentMethodBlocking,Or=w.customer,tr=w.isProd,co=ba(),lr=co.T,mo=co.t,na=_2(),ya=(0,p.useState)(!1),da=we()(ya,2),ua=da[0],La=da[1],Ga=(0,p.useRef)(null),Ka=(Or==null||(ue=Or.paymentMethod)===null||ue===void 0?void 0:ue.type)===kt().PAYPAL_WALLET,no=y2(Ka),Kn=Ka?{p:3,border:1,borderColor:Yi.colors.gray[800],mb:3}:{},Ir=Ka?mo("You'll be redirected to PayPal to change your payment method.",null,{project:"universal-checkout",notes:"This text is underneath the paypal button when users need to select a payment method."}):mo("You'll be redirected to PayPal to select your payment method.",null,{project:"universal-checkout",notes:"This text is underneath the paypal button when users already have paypal saved as a payment method."}),ra=(0,p.useCallback)(function(po,ga){hy(po,ga),La(!0)},[]),Ma=(0,p.useCallback)(function(){Gn==null||Gn(kt().PAYPAL_WALLET)},[Gn]),$o=(0,p.useCallback)(function(){var po=L()(D_().m(function ga(so){var Wr,_o,$r,ts;return D_().w(function(Ba){for(;;)switch(Ba.p=Ba.n){case 0:return Wr=so.vaultSetupToken,Ba.p=1,Ba.n=2,O2(Wr);case 2:return _o=Ba.v,Ba.n=3,En(_o);case 3:Ba.n=5;break;case 4:Ba.p=4,ts=Ba.v,(ts==null||($r=ts.response)===null||$r===void 0?void 0:$r.status)===429&&yn(),La(!0),Cn(ts);case 5:return Ba.a(2)}},ga,null,[[1,4]])}));return function(ga){return po.apply(this,arguments)}}(),[Cn]);if(g2(ft,pn,$o,Ma,hy,ra,no,tr,Ga),!!(ft!=null&&ft.setupToken))return p.createElement(p.Fragment,null,p.createElement(Dc.Z,{flexDirection:"column"},p.createElement(bc.Z,null,p.createElement(bc.Z,Kn,Ka&&p.createElement(p.Fragment,null,p.createElement(ji.Z.Label,null,p.createElement(lr,{project:"universal-checkout",notes:"Label text to indicate the account user has logged in to"},"LOGGED IN AS:")),p.createElement(ji.Z.Body,{fontWeight:Yi.fontWeights.medium,mt:0,mb:2},Or.paymentMethod.displayIdentifier)),p.createElement("div",{role:"button","aria-label":"paypal",ref:Ga,id:d2})),p.createElement(ji.Z.Caption,{color:Yi.colors.gray[100]},Ir)),p.createElement(Dc.Z,{alignItems:"center",py:Yi.space[2]},p.createElement(zo.Z,null),p.createElement(ji.Z.Label,{py:2,px:3},p.createElement(lr,{project:"universal-checkout"},"or")),p.createElement(zo.Z,null)),p.createElement(X,Wa()({isOpen:ua,showConfirm:!1,onDismiss:function(){return La(!1)}},na[kt().PAYPAL_WALLET]))))};const A2=C2;var b2=function(){try{var w=(0,Ev.useElements)();return w==null?void 0:w.submit}catch(ue){Zn(ue)}},ng=e(350803),S2=function(){var w=ba(),ue=w.t;return p.createElement(ng.Z,{mt:0,mb:4,"data-test":"no-refund-banner"},p.createElement(ng.Z.Title,{"data-test":"no-refund-banner-title"},ue("You\u2019re using SEPA direct debit",null,{project:"universal-checkout"})),p.createElement(ng.Z.Body,{"data-test":"no-refund-banner-body"},ue("Purchases made with SEPA are not covered by our 14-day money back guarantee.",null,{project:"universal-checkout"})),p.createElement(ng.Z.Buttons,null,p.createElement(Jd.Z.Tertiary,{as:"a",href:Qr.USING_SEPA_WITH_SQUARESPACE,target:"_blank",rel:"noreferrer noopener"},ue("Learn More",null,{project:"universal-checkout"}))))};const T2=S2;function I_(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return wh(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(wh(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,wh(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,wh(tr,"constructor",yn),wh(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",wh(yn,ft,"GeneratorFunction"),wh(tr),wh(tr,ft,"Generator"),wh(tr,Oe,function(){return this}),wh(tr,"toString",function(){return"[object Generator]"}),(I_=function(){return{w:pn,m:co}})()}function wh(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}wh=function(En,Cn,Gn,yn){function Or(tr,co){wh(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},wh(le,w,ue,Oe)}var M_=function(le){return le.GOOGLE_PAY="google_pay",le.APPLE_PAY="apple_pay",le}(M_||{}),D2=function(w){var ue,Oe,ft=w.onChangeCustomer,pn=w.customer,En=w.isProd,Cn=w.trackTogglePaymentMethodType,Gn=w.checkoutAppVersion,yn=w.updateWalletAvailability,Or=w.updateRawPaymentMethodType,tr=w.setIsPaymentElementLoaded,co=w.rawPaymentMethodData,lr=(0,Ev.useStripe)(),mo=(0,p.useRef)(!0),na=(0,p.useRef)((pn==null||(ue=pn.paymentMethod)===null||ue===void 0?void 0:ue.type)||kt().CARD),ya=Gn===mu.STANDALONE;(0,p.useEffect)(function(){var Ka=function(){var no=L()(I_().m(function Kn(){var Ir,ra,Ma,$o;return I_().w(function(po){for(;;)switch(po.p=po.n){case 0:if(!(!lr||!pn||Gn!==mu.STANDALONE)){po.n=1;break}return po.a(2);case 1:return po.p=1,Ir=lr.paymentRequest({country:"US",currency:"usd",total:{label:"Test",amount:0},requestPayerName:!1,requestPayerEmail:!1}),po.n=2,Ir.canMakePayment();case 2:ra=po.v,Ma=ra?{applePay:ya&&ra.applePay||!1,googlePay:ya&&ra.googlePay||!1,isWalletAvailable:ra.googlePay||ra.applePay}:{applePay:!1,googlePay:!1,isWalletAvailable:!1},yn&&yn(Ma),po.n=4;break;case 3:po.p=3,$o=po.v,Zn(new Error("Error Checking Stripe Wallet Availability",{cause:$o}));case 4:return po.a(2)}},Kn,null,[[1,3]])}));return function(){return no.apply(this,arguments)}}();yn&&Ka()},[lr,yn,Gn,pn,ya]);var da=function(no){var Kn,Ir=no.value,ra=no.collapsed,Ma=co||(pn==null||(Kn=pn.paymentMethod)===null||Kn===void 0?void 0:Kn.type),$o=Ir.type;if(mo.current||ra){mo.current=!1;return}Or&&Or($o);var po=$o===M_.GOOGLE_PAY||$o===M_.APPLE_PAY?kt().CARD:Ir.type,ga=pn==null?void 0:pn.preferredPaymentMethodGateway[po],so=fd(En,ga);lr.update(so),ft({paymentMethod:{type:po}}),Ma!==$o&&Cn($o)},ua=(pn==null||(Oe=pn.paymentMethod)===null||Oe===void 0?void 0:Oe.type)===kt().PAYPAL_WALLET,La=na.current===kt().SEPA_DEBIT,Ga=La?[kt().SEPA_DEBIT]:[kt().CARD];return p.createElement(Ev.PaymentElement,{onReady:function(){tr(!0)},onChange:da,options:{layout:{type:"accordion",defaultCollapsed:ua},paymentMethodOrder:Ga,fields:{billingDetails:{address:"never",name:"never",email:"never"}},wallets:{googlePay:ya?"auto":"never",applePay:ya?"auto":"never"}}})};const I2=D2;var M2=function(w){var ue={line1:w[M.ADDRESS],line2:null,city:w[M.CITY],state:w[M.STATE]||w[M.PROVINCE]||"",postal_code:w[M.ZIP]||"",country:w[M.COUNTRY]};return ue};function R_(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Nh(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Nh(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Nh(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Nh(tr,"constructor",yn),Nh(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Nh(yn,ft,"GeneratorFunction"),Nh(tr),Nh(tr,ft,"Generator"),Nh(tr,Oe,function(){return this}),Nh(tr,"toString",function(){return"[object Generator]"}),(R_=function(){return{w:pn,m:co}})()}function Nh(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Nh=function(En,Cn,Gn,yn){function Or(tr,co){Nh(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Nh(le,w,ue,Oe)}var R2=["card_error","invalid_request_error","api_connection_error"],L2=function(){var le=L()(R_().m(function w(ue,Oe,ft){var pn,En,Cn,Gn,yn,Or,tr,co,lr,mo,na,ya,da,ua;return R_().w(function(La){for(;;)switch(La.n){case 0:return En=((pn=ue.paymentMethod)===null||pn===void 0?void 0:pn.type)||qi,Cn=Oe.stripe,Gn=Oe.elements,jt("Payment Method Saving: ".concat(En," Setup Intent Created"),{paymentMethodType:En},nt.info),La.n=1,Wt.createSetupIntent(En,[kt().CARD,kt().SEPA_DEBIT],ue.currency||ft);case 1:return yn=La.v,Or=yn.data.clientSecret,tr=M2(ue),La.n=2,Cn.confirmSetup({elements:Gn,clientSecret:Or,confirmParams:{payment_method_data:{billing_details:{name:ue.name||ue.paymentMethod.name,email:ue.email,address:tr}}},redirect:"if_required"});case 2:if(co=La.v,lr=co.setupIntent,mo=co.error,!mo){La.n=3;break}throw na="Could not confirm ".concat(En,` setup intent when using payment element
    Stripe Error Type: `).concat(mo.type,`
    Stripe Error Code: `).concat(mo.code,`
    Stripe Error Message: `).concat(mo.message),ya=new Error(na),ya.response=na,ya.cause=mo,ya;case 3:return jt("Payment Method Saving: Setup Intent Confirmed",{paymentMethodType:En},nt.info),La.n=4,Wt.completeSetupIntent(lr.id,En);case 4:return da=La.v,ua=da.data,jt("Payment Method Saving: Setup Intent Completed",{paymentMethodType:En},nt.info),La.a(2,ua)}},w)}));return function(ue,Oe,ft){return le.apply(this,arguments)}}(),x2=function(w){var ue,Oe=w==null||(ue=w.cause)===null||ue===void 0?void 0:ue.type,ft=!R2.includes(Oe);ft&&Zn(w)},w2=function(w){return _()(_()(_()(_()({},hp.INCORRECT_INFO,{testAttr:"incorrect-info-error-modal",title:w("Unable To Save Card",null,{project:"universal-checkout"}),message:w("Check that all card information is correct before trying again.",null,{project:"universal-checkout"})}),hp.EXCESSIVE_UPDATE,{testAttr:"excessive-update-error-modal",title:w("Unable To Save Card",null,{project:"universal-checkout"}),message:w("Check that card information is correct and wait 24 hours before trying to save this card information again.",null,{project:"universal-checkout"})}),hp.GENERIC,{testAttr:"generic-error-modal",title:w("Unable To Save Card",null,{project:"universal-checkout"}),message:w("Try saving again. If this issue persists, reload the page to start over, or contact your financial institution.",null,{project:"universal-checkout"})}),hp.NONE,{})};const N2=w2;function Sm(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Bh(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Bh(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Bh(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Bh(tr,"constructor",yn),Bh(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Bh(yn,ft,"GeneratorFunction"),Bh(tr),Bh(tr,ft,"Generator"),Bh(tr,Oe,function(){return this}),Bh(tr,"toString",function(){return"[object Generator]"}),(Sm=function(){return{w:pn,m:co}})()}function Bh(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Bh=function(En,Cn,Gn,yn){function Or(tr,co){Bh(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Bh(le,w,ue,Oe)}var hp=function(le){return le.INCORRECT_INFO="incorrect_card_info",le.EXCESSIVE_UPDATE="excessive_update",le.GENERIC="generic",le.NONE="none",le}({}),B2=function(w){var ue,Oe=w.customer,ft=w.onChangeCustomer,pn=w.trackTogglePaymentMethodType,En=w.onSaveSuccess,Cn=w.onSaveFailure,Gn=w.renderSaveControls,yn=w.onBeforeSave,Or=w.isProd,tr=w.selectedCurrency,co=w.checkoutAppVersion,lr=w.trackExcessivePaymentMethodBlocking,mo=w.updateWalletAvailability,na=w.updateRawPaymentMethodType,ya=w.rawPaymentMethodData,da=ba(),ua=da.t,La=N2(ua),Ga=(Oe==null||(ue=Oe.paymentMethod)===null||ue===void 0?void 0:ue.type)||kt().CARD,Ka={stripe:(0,Ev.useStripe)(),elements:(0,Ev.useElements)()},no=Ga===kt().SEPA_DEBIT,Kn=(0,p.useState)(!1),Ir=we()(Kn,2),ra=Ir[0],Ma=Ir[1],$o=(0,p.useState)(hp.NONE),po=we()($o,2),ga=po[0],so=po[1],Wr=(0,p.useState)(!1),_o=we()(Wr,2),$r=_o[0],ts=_o[1],Ba=function(){var bf=L()(Sm().m(function fh(){var _h,Sf,zf,Dm,hh;return Sm().w(function(ah){for(;;)switch(ah.p=ah.n){case 0:return yn(),ts(!0),ah.p=1,ah.n=2,L2(Oe,Ka,tr);case 2:_h=ah.v,En(_h),ah.n=4;break;case 3:return ah.p=3,hh=ah.v,x2(hh),(hh==null||(Sf=hh.response)===null||Sf===void 0?void 0:Sf.status)===429?(lr(),so(hp.EXCESSIVE_UPDATE)):(hh==null||(zf=hh.cause)===null||zf===void 0?void 0:zf.type)==="validation_error"||(hh==null||(Dm=hh.cause)===null||Dm===void 0?void 0:Dm.type)==="card_error"?so(hp.INCORRECT_INFO):so(hp.GENERIC),ah.a(2,Cn(hh));case 4:return ah.p=4,ts(!1),ah.f(4);case 5:return ah.a(2)}},fh,null,[[1,3,4,5]])}));return function(){return bf.apply(this,arguments)}}(),jl=b2(),xc=function(){var bf=L()(Sm().m(function fh(){var _h,Sf;return Sm().w(function(zf){for(;;)switch(zf.p=zf.n){case 0:return zf.p=0,zf.n=1,jl==null?void 0:jl();case 1:return _h=zf.v,zf.a(2,(_h==null?void 0:_h.error)||null);case 2:return zf.p=2,Sf=zf.v,Zn(Sf),zf.a(2,null)}},fh,null,[[0,2]])}));return function(){return bf.apply(this,arguments)}}(),Fd=function(){var bf=L()(Sm().m(function fh(){var _h;return Sm().w(function(Sf){for(;;)switch(Sf.n){case 0:if(jt("Payment Method Saving: Save Button Clicked",{paymentMethodType:Ga},nt.info),!($r||!ra)){Sf.n=1;break}return Sf.a(2);case 1:return Sf.n=2,xc();case 2:if(_h=Sf.v,!_h){Sf.n=3;break}return so(hp.INCORRECT_INFO),Sf.a(2);case 3:return Sf.n=4,Ba();case 4:return Sf.a(2)}},fh)}));return function(){return bf.apply(this,arguments)}}();return p.createElement(p.Fragment,null,no&&p.createElement(T2,null),p.createElement(I2,{setIsPaymentElementLoaded:Ma,isProd:Or,customer:Oe,onChangeCustomer:ft,trackTogglePaymentMethodType:pn,updateWalletAvailability:mo,updateRawPaymentMethodType:na,rawPaymentMethodData:ya,checkoutAppVersion:co}),p.createElement(X,Wa()({isOpen:ga!==hp.NONE,showConfirm:!1,onDismiss:function(){return so(hp.NONE)},cancelText:ua("OK",null,{project:"universal-checkout"})},La[ga])),Gn&&Gn({onSave:Fd,isSaving:$r}))};const j2=B2;var U2=function(le){return le[le.AT=0]="AT",le[le.BE=1]="BE",le[le.BG=2]="BG",le[le.HR=3]="HR",le[le.CY=4]="CY",le[le.CZ=5]="CZ",le[le.DK=6]="DK",le[le.EE=7]="EE",le[le.FI=8]="FI",le[le.FR=9]="FR",le[le.DE=10]="DE",le[le.GR=11]="GR",le[le.HU=12]="HU",le[le.IS=13]="IS",le[le.IE=14]="IE",le[le.IT=15]="IT",le[le.LV=16]="LV",le[le.LI=17]="LI",le[le.LT=18]="LT",le[le.LU=19]="LU",le[le.MT=20]="MT",le[le.NL=21]="NL",le[le.NO=22]="NO",le[le.PL=23]="PL",le[le.PT=24]="PT",le[le.RO=25]="RO",le[le.SK=26]="SK",le[le.SI=27]="SI",le[le.ES=28]="ES",le[le.SE=29]="SE",le[le.CH=30]="CH",le[le.GB=31]="GB",le}({}),F2=function(w){return Object.keys(U2).includes(w)};function L_(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return jh(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(jh(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,jh(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,jh(tr,"constructor",yn),jh(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",jh(yn,ft,"GeneratorFunction"),jh(tr),jh(tr,ft,"Generator"),jh(tr,Oe,function(){return this}),jh(tr,"toString",function(){return"[object Generator]"}),(L_=function(){return{w:pn,m:co}})()}function jh(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}jh=function(En,Cn,Gn,yn){function Or(tr,co){jh(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},jh(le,w,ue,Oe)}var W2=function(w){var ue,Oe,ft=w.customer,pn=w.onChangeCustomer,En=w.errors,Cn=w.mobile,Gn=w.locale,yn=w.isProd,Or=w.onSaveSuccess,tr=Or===void 0?function(){}:Or,co=w.onSaveFailure,lr=co===void 0?function(){}:co,mo=w.renderSaveControls,na=w.onBeforeSave,ya=na===void 0?function(){}:na,da=w.isSEPAEnabled,ua=w.isPaypalEnabled,La=w.selectedCurrency,Ga=w.paypalTokens,Ka=w.fetchAndStorePaypalSetupTokens,no=Ka===void 0?function(){return Promise.resolve({dataUserId:"",setupToken:""})}:Ka,Kn=w.trackTogglePaymentMethodType,Ir=w.checkoutAppVersion,ra=w.trackExcessivePaymentMethodBlocking,Ma=w.updateWalletAvailability,$o=w.updateRawPaymentMethodType,po=w.rawPaymentMethodData,ga=(ft==null||(ue=ft.paymentMethod)===null||ue===void 0?void 0:ue.type)||kt().CARD,so=function(){var Ba=L()(L_().m(function jl(xc){return L_().w(function(Fd){for(;;)switch(Fd.n){case 0:return Fd.n=1,no();case 1:tr(xc);case 2:return Fd.a(2)}},jl)}));return function(xc){return Ba.apply(this,arguments)}}(),Wr=!!(ft!=null&&ft.id),_o=!!(ft&&!((Oe=ft.paymentMethod)!==null&&Oe!==void 0&&Oe.savedGateway)),$r=F2(ft==null?void 0:ft.country),ts=Wr&&_o&&$r;return(0,p.useEffect)(function(){ts&&pr(ft==null?void 0:ft.id)},[ts]),p.createElement(p.Fragment,null,ua&&p.createElement(A2,{isProd:yn,paypalTokens:Ga,fetchAndStorePaypalSetupTokens:no,onSaveSuccess:so,onSaveFailure:lr,trackClick:Kn,trackExcessivePaymentMethodBlocking:ra,customer:ft}),p.createElement(r2,{isProd:yn,locale:Gn,mobile:Cn,paymentMethodType:ga,preferredPaymentMethodGateway:ft.preferredPaymentMethodGateway,isSEPAEnabled:da,selectedCurrency:La},p.createElement(j2,{isPaypalEnabled:ua,isProd:yn,customer:ft,onChangeCustomer:pn,errors:En,mobile:Cn,onSaveSuccess:tr,onSaveFailure:lr,renderSaveControls:mo,onBeforeSave:ya,isSEPAEnabled:da,trackTogglePaymentMethodType:Kn,trackExcessivePaymentMethodBlocking:ra,selectedCurrency:La,checkoutAppVersion:Ir,updateWalletAvailability:Ma,updateRawPaymentMethodType:$o,rawPaymentMethodData:po})))};const py=lh()(W2);var K2=function(w){var ue=w.hasPaypalSaved,Oe=w.selectedCurrency,ft=w.acceptedCurrencies,pn=w.restrictedPaymentMethods,En=w.country;if(ue)return!0;if(En==="US")return!1;var Cn=Bn({acceptedCurrencies:ft,paymentMethod:kt().PAYPAL_WALLET,selectedCurrency:Oe}),Gn=!(pn!=null&&pn.includes(kt().PAYPAL_WALLET));return Cn&&Gn};const k2=K2;var G2=["readOnlyComponent","editingComponent","isEditing","isDisabled","hasSavedPaymentMethod","onSectionEditClick","dataTestId","editIconButtonLabel","mobile"],H2=function(w){var ue=w.title,Oe=w.isEditing,ft=w.isDisabled,pn=ft===void 0?!1:ft,En=w.mobile,Cn=w.editIconButtonLabel,Gn=w.onSectionEditClick,yn=ba(),Or=yn.t,tr=yn.T,co=Cn||Or("Edit",null,{project:"universal-checkout"}),lr=(0,Qc.F)(),mo=lr.colors,na=lr.space,ya=!Oe&&!pn,da=pn?mo.gray[600]:mo.gray[300];return p.createElement(Dc.Z,{justifyContent:"space-between",alignItems:"center"},p.createElement(ji.Z.Body,{color:da,as:"h2",fontWeight:"500"},ue),ya&&(En?p.createElement(vh.Z.Element.Icon,{role:"button",onClick:Gn,"aria-label":co},p.createElement(pv.Z,{"aria-label":co})):p.createElement(Jd.Z,{variant:"tertiary",role:"button",onClick:Gn,lineHeight:na[4]},p.createElement(tr,{project:"universal-checkout",notes:"Button text users click if they want to edit their information"},"Edit"))))},Z2=function(w){var ue=w.readOnlyComponent,Oe=w.editingComponent,ft=w.isEditing,pn=w.isDisabled,En=w.hasSavedPaymentMethod,Cn=En===void 0?!1:En,Gn=w.onSectionEditClick,yn=w.dataTestId,Or=w.editIconButtonLabel,tr=w.mobile,co=_s()(w,G2),lr=(0,Qc.F)(),mo=lr.colors,na=pn?mo.gray[900]:"";return p.createElement(Jp.Z,{as:"section",variant:"quiet",bg:na,py:pn&&Cn?4:3,px:pn?4:0,"data-test":yn,sx:{overflow:"visible"}},p.createElement(H2,{title:co.title,onSectionEditClick:Gn,isEditing:ft,isDisabled:pn,editIconButtonLabel:Or,mobile:tr}),pn&&Cn&&p.createElement(bc.Z,{color:mo.gray[600],pt:3},ue),!pn&&p.createElement(bc.Z,{pt:2},ft?Oe:ue),!pn&&!ft&&p.createElement(zo.Z,{mt:2}))};const x_=lh()(Z2);var my=function(w){var ue=w.paymentMethod,Oe=ue.type,ft=ue.iconType,pn=ue.expirationMonth,En=ue.expirationYear,Cn=ue.displayIdentifier,Gn=ue.prefix,yn=ba(),Or=yn.t;if(!ft)return null;var tr=bm(ft),co=Oe===kt().CARD&&Sr({expirationMonth:pn,expirationYear:En,t:Or});return p.createElement(Dc.Z,{display:"column"},p.createElement(Dc.Z,{alignItems:"center"},p.createElement(vv,{paymentType:ft,sx:{mr:2}}),p.createElement(mv,{displayIdentifier:Cn,prefix:Gn,redaction:tr})),co&&p.createElement(ji.Z,{mt:Yi.space[1],mb:0,color:Yi.colors.red[300]},co.message))};function vy(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function gy(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?vy(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):vy(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}function w_(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Uh(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Uh(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Uh(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Uh(tr,"constructor",yn),Uh(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Uh(yn,ft,"GeneratorFunction"),Uh(tr),Uh(tr,ft,"Generator"),Uh(tr,Oe,function(){return this}),Uh(tr,"toString",function(){return"[object Generator]"}),(w_=function(){return{w:pn,m:co}})()}function Uh(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Uh=function(En,Cn,Gn,yn){function Or(tr,co){Uh(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Uh(le,w,ue,Oe)}var V2=function(w){var ue,Oe=w.locale,ft=w.isPaymentFormDirty,pn=w.hasSavedPaymentMethod,En=w.customer,Cn=w.checkoutType,Gn=w.onChangeCustomer,yn=w.onSavingCustomer,Or=w.onSaveCustomerSuccess,tr=w.onSaveCustomerError,co=w.validationErrors,lr=w.serverErrors,mo=w.paypalTokens,na=w.discardChanges,ya=w.currentScreenIndex,da=w.gotoNext,ua=w.selectedCurrency,La=w.fetchAndStorePaypalSetupTokens,Ga=w.trackTogglePaymentMethodType,Ka=w.acceptedCurrencies,no=w.trackPayInfoCleared,Kn=w.isProd,Ir=w.restrictedPaymentMethods,ra=w.checkoutAppVersion,Ma=w.trackExcessivePaymentMethodBlocking,$o=w.setIsUCModalFocusLocked,po=w.updateWalletAvailability,ga=w.updateRawPaymentMethodType,so=w.rawPaymentMethodData,Wr=ba(),_o=Wr.t,$r=Wr.T,ts=(0,p.useState)(pn),Ba=we()(ts,2),jl=Ba[0],xc=Ba[1],Fd=(0,p.useState)(!1),bf=we()(Fd,2),fh=bf[0],_h=bf[1],Sf=_()(_()(_()(_()({},kt().CARD,_o("Credit or Debit Card",null,{project:"universal-checkout"})),kt().SEPA_DEBIT,_o("SEPA Direct Debit",null,{project:"universal-checkout",notes:"SEPA = Single Euro Payments Area"})),kt().PAYPAL_WALLET,_o("PayPal",null,{project:"universal-checkout",notes:"PayPal - a proper noun referring to PayPal payment services "})),kt().INTERNAL,""),zf=function(){jl&&(no(),xc(!1))},Dm=function(){$o(!1),yn()},hh=function(){var Im=L()(w_().m(function c0(tE){return w_().w(function(rp){for(;;)switch(rp.n){case 0:if(!(!ft&&pn&&jl)){rp.n=1;break}return da(),rp.a(2);case 1:return _h(!0),rp.n=2,tE();case 2:_h(!1);case 3:return rp.a(2)}},c0)}));return function(tE){return Im.apply(this,arguments)}}(),ah=function(c0){xc(!0),Or(c0),$o(!0),da()},eE=function(c0){$o(!0),tr(c0)},Gh=Qy({checkoutType:Cn,restrictedPaymentMethods:Ir,selectedCurrency:ua,acceptedCurrencies:Ka}),yh=k2({hasPaypalSaved:(En==null||(ue=En.paymentMethod)===null||ue===void 0?void 0:ue.type)===kt().PAYPAL_WALLET,selectedCurrency:ua,acceptedCurrencies:Ka,restrictedPaymentMethods:Ir,country:En.country}),_v=ya>0,k_=function(){xc(!0),na()};return p.createElement(bc.Z,{"data-test":"payment-screen",pb:2},p.createElement(ji.Z.Label,{fontSize:1,mt:7,mb:3},p.createElement($r,{project:"universal-checkout"},"Payment Method")),jl?p.createElement(p.Fragment,null,p.createElement(x_,{title:Sf[En.paymentMethod.type],isEditing:!1,hasSavedPaymentMethod:!0,onSectionEditClick:zf,readOnlyComponent:p.createElement(my,{paymentMethod:En.paymentMethod})}),p.createElement(uv,{continueButtonProps:{isShown:!0,isLoading:fh,ariaDisabled:fh,onClick:da},backButtonProps:{isShown:_v}})):p.createElement(py,{isProd:!!Kn,isPaypalEnabled:yh,isSEPAEnabled:Gh,selectedCurrency:ua,paypalTokens:mo,locale:Oe,customer:En,fetchAndStorePaypalSetupTokens:La,onChangeCustomer:Gn,onBeforeSave:Dm,onSaveSuccess:ah,onSaveFailure:eE,trackTogglePaymentMethodType:Ga,trackExcessivePaymentMethodBlocking:Ma,errors:gy(gy({},co),lr),checkoutAppVersion:ra,updateWalletAvailability:po,updateRawPaymentMethodType:ga,rawPaymentMethodData:so,renderSaveControls:function(c0){var tE=c0.onSave,rp=c0.isSaving;return p.createElement(p.Fragment,null,pn&&!jl&&p.createElement(Dc.Z,{justifyContent:"flex-start"},p.createElement(Jd.Z.Danger,{"data-test":"discard-changes-button",size:"large",inverted:!0,disabled:rp,onClick:k_,mt:0},p.createElement($r,{project:"universal-checkout"},"Discard Changes"))),p.createElement(uv,{continueButtonProps:{isShown:!0,isLoading:rp,ariaDisabled:rp,isDisabled:rp,onClick:function(){return hh(tE)}},backButtonProps:{isShown:_v,isDisabled:rp,ariaDisabled:rp}}))}}))};const z2=V2;var $2=["isLoading"],X2=function(w){var ue,Oe=w.CustomerInfo,ft=Oe.isLoading,pn=Oe.customer,En=Oe.validationErrors,Cn=Oe.serverErrors,Gn=w.Stripe.isProd,yn=w.Currencies.restrictedPaymentMethods;return{isLoading:ft,customer:pn,hasSavedPaymentMethod:cy(w),validationErrors:En,serverErrors:Cn,currentScreenIndex:w.RouterReducer.currentScreenIndex,paypalTokens:w.Paypal,acceptedCurrencies:w.Currencies.acceptedCurrencies,isProd:Gn,restrictedPaymentMethods:yn,checkoutAppVersion:(ue=w.CheckoutFlowInfo)===null||ue===void 0?void 0:ue.checkoutAppVersion,rawPaymentMethodData:w.Stripe.rawPaymentMethodType}},Y2=function(w){return(0,y.bindActionCreators)({onChangeCustomer:Ei,onSavingCustomer:pi,setIsUCModalFocusLocked:ll,onSaveCustomerSuccess:Eo,onSaveCustomerError:_l,fetchAndStorePaypalSetupTokens:Ye,fetchTaxValidation:Fc,discardChanges:Pl,gotoNext:Eu,trackTogglePaymentMethodType:Hs,trackExcessivePaymentMethodBlocking:Os,trackPayInfoCleared:xs,updateWalletAvailability:Cd,updateRawPaymentMethodType:xn},w)},Q2=function(w){var ue=w.isLoading,Oe=_s()(w,$2);return ue?p.createElement(Dc.Z,{py:2,justifyContent:"center",width:"100%"},p.createElement(Rf.Z,null)):p.createElement(z2,Oe)},J2=uc(X2,Y2)(Q2);const q2=J2;var Ey=function(w){var ue=[{component:Wv,page:O.BILLING_ADDRESS,navLabel:w("Address",null,{project:"universal-checkout"}),isAnimatedTitle:!1,isSplitScreen:!0,canNavigateForward:function(ft){var pn=ft.customer,En=!Lo(pn);return En}},{component:q2,page:O.CREDIT_CARD,navLabel:w("Payment",null,{project:"universal-checkout"}),isAnimatedTitle:!1,fullWidthSubtitle:!0,isSplitScreen:!0,canNavigateForward:function(ft){var pn=ft.customer;return!!(pn!=null&&pn.paymentMethod)}},{component:g_,page:O.ORDER_SUMMARY,navLabel:w("Review",null,{project:"universal-checkout"}),isAnimatedTitle:!1,isSplitScreen:!0,canNavigateForward:function(){return!1}},{component:Vy,page:O.SUCCESS_SCREEN,navLabel:"",isAnimatedTitle:!0,shouldHideBreadcrumbs:!0}];return ue};const eO=function(){var le=window.navigator.userAgent;return le.indexOf("MSIE ")>0||le.indexOf("Trident/")>0};var tO=e(50525),Md=e.n(tO),Vf=e(149893);function _y(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function yy(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?_y(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):_y(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}function nO(le,w,ue){return w=f()(w),c()(le,Oy()?Reflect.construct(w,ue||[],f()(le).constructor):w.apply(le,ue))}function Oy(){try{var le=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Oy=function(){return!!le})()}var Py=function(le){function w(ue){var Oe,ft,pn,En,Cn;o()(this,w),Cn=nO(this,w,[ue]),_()(Cn,"componentDidMount",function(){var yn=Cn.props,Or=yn.eventChannel,tr=Or===void 0?null:Or,co=yn.isOpen,lr=yn.isProd;co&&(Cn.setAnalytics(),Cn.onDialogShown()),Cn.props.writeEnvironment(lr),Cn.closeStart=new Vf.Ac(Vf.bg.CLOSE_START,{channel:tr}),Cn.closeEnd=new Vf.Ac(Vf.bg.CLOSE_END,{channel:tr}),Cn.willUnmount=new Vf.Ac(Vf.bg.WILL_UNMOUNT,{channel:tr}),Cn.purchaseComplete=new Vf.Ac(Vf.bg.PURCHASE_COMPLETE,{channel:tr})}),_()(Cn,"componentDidUpdate",function(yn){var Or,tr=Cn.props,co=tr.analytics,lr=tr.isProd,mo=tr.checkoutType,na=tr.currencyCode,ya=tr.currentScreenIndex,da=tr.locale,ua=tr.websiteLocale,La=((Or=yn.analytics)===null||Or===void 0?void 0:Or.productArea)!==(co==null?void 0:co.productArea)||yn.isProd!==lr||yn.checkoutType!==mo||yn.websiteLocale!==ua;if(La){var Ga;kn({productArea:(Ga=co==null?void 0:co.productArea)!==null&&Ga!==void 0?Ga:null,isProd:lr,checkoutType:mo,memberAccountLocale:da,websiteLocale:ua})}if(O0()(yn.analytics,co)||Cn.setAnalytics(),!yn.isOpen&&Cn.props.isOpen&&Cn.onDialogShown(),!yn.purchaseCompleted&&Cn.props.purchaseCompleted){var Ka=Cn.props,no=Ka.onPurchaseComplete,Kn=no===void 0?function(){}:no,Ir=Ka.promotions,ra=Ir===void 0?[]:Ir,Ma=Ka.purchaseData,$o=Ma===void 0?{}:Ma,po=Ka.associatedProductTypes,ga=po===void 0?[]:po;Kn({promotions:ra,purchaseData:$o}),Cn.purchaseComplete.emit({promotions:ra,purchaseData:$o,products:ga})}if(yn.preCheckoutScreens!==Cn.props.preCheckoutScreens){var so=Cn.getScreenList();Cn.props.setScreenList(so)}yn.currentScreenIndex!==ya&&Cn.props.trackView(),yn.currencyCode!==na&&Cn.props.setCurrencyCodeForEvents(na),yn.eventChannel!==Cn.props.eventChannel&&(Cn.closeStart=new Vf.Ac(Vf.bg.CLOSE_START,{channel:Cn.props.eventChannel}),Cn.closeEnd=new Vf.Ac(Vf.bg.CLOSE_END,{channel:Cn.props.eventChannel}),Cn.willUnmount=new Vf.Ac(Vf.bg.WILL_UNMOUNT,{channel:Cn.props.eventChannel}),Cn.purchaseComplete=new Vf.Ac(Vf.bg.PURCHASE_COMPLETE,{channel:Cn.props.eventChannel}))}),_()(Cn,"onDialogShown",function(){var yn=Cn.props,Or=yn.analytics,tr=yn.trackOpenModal,co=yn.trackView,lr=yn.fetchCustomerInfo,mo=yn.writeItemToCart,na=yn.clearCart,ya=yn.preCheckoutScreens,da=yn.checkoutType,ua=yn.initCart,La=yn.setFeatureGates,Ga=yn.setCheckoutType,Ka=yn.features,no=yn.currencyCode,Kn=yn.setCurrencyCodeForEvents,Ir=yn.locale,ra=yn.restrictedPaymentMethods,Ma=ra===void 0?[]:ra,$o=yn.setRestrictedPaymentMethods;na(),Ga(da),La(Ka),Kn(no),Ma.length&&$o(Ma);var po=(ya==null?void 0:ya.length)>0;lr({bypassPaymentScreensIfPaymentMethod:!po,locale:Ir}),ua&&mo(ua),tr(),co(),window.addEventListener("beforeunload",Cn.handleBeforeUnload),jt("Universal Checkout opened",{checkoutType:da,waitForCustomer:po,productArea:Or==null?void 0:Or.productArea})}),_()(Cn,"handleBeforeUnload",function(yn){var Or=Cn.props,tr=Or.currentScreenIndex,co=Or.purchaseCompleted;if(tr>0&&!co)return yn.returnValue="",""}),_()(Cn,"getScreenList",function(){var yn=Ey(Cn.props.i18n.t),Or=Cn.props.preCheckoutScreens,tr=Ne()(yn);return Or?(Or.forEach(function(co){co.isPreCheckout=!0}),[].concat(Ne()(Or),Ne()(tr))):tr}),_()(Cn,"handleScreenCloseButton",function(){Cn.attemptCloseModal("confirm-close")}),_()(Cn,"handleHeaderCloseClick",function(){Cn.attemptCloseModal("co-header-close")}),_()(Cn,"handleGenericRequestClose",function(){Cn.attemptCloseModal("co-generic-close")}),_()(Cn,"attemptCloseModal",function(yn){var Or=Cn.props,tr=Or.isPurchaseInProgress,co=Or.isFormInDirtyState,lr=Or.disableNativeCloseConfirmations;if(!tr){if(!lr&&co){Cn.props.showConfirmationModal(function(){return Cn.closeModal(yn)});return}Cn.closeModal(yn)}}),_()(Cn,"closeModal",function(yn){var Or=Cn.props,tr=Or.analytics,co=Or.purchaseCompleted,lr=Or.trackCloseModal,mo=Or.onRequestClose,na=mo===void 0?function(){}:mo,ya=Or.associatedProductTypes,da=ya===void 0?[]:ya;window.removeEventListener("beforeunload",Cn.handleBeforeUnload),lr(yn),na({purchaseCompleted:co}),Cn.closeStart.emit({purchaseCompleted:co,products:da}),jt("Universal Checkout closed",{purchaseCompleted:co,closingLocation:yn,productArea:tr==null?void 0:tr.productArea})}),_()(Cn,"handleModalTransitionEnd",function(yn){if(yn==="entering"&&Cn.setState({hasEntered:!0}),yn==="exiting"){Cn.props.resetOnClose();var Or=Cn.props.associatedProductTypes,tr=Or===void 0?[]:Or;Cn.closeEnd.emit({purchaseCompleted:Cn.props.purchaseCompleted,products:tr})}}),_()(Cn,"getCustomNavLabels",y0()(function(yn){return(yn==null?void 0:yn.screens)&&Object.entries(yn.screens).reduce(function(Or,tr){var co=we()(tr,2),lr=co[0],mo=co[1];return mo.navLabel&&(Or[lr]=mo.navLabel),Or},{})})),kn({productArea:(Oe=(ft=ue.analytics)===null||ft===void 0?void 0:ft.productArea)!==null&&Oe!==void 0?Oe:null,isProd:ue.isProd,checkoutType:ue.checkoutType,memberAccountLocale:ue.locale,websiteLocale:ue.websiteLocale,projectId:(pn=ue.statsigUser)===null||pn===void 0||(pn=pn.customIDs)===null||pn===void 0?void 0:pn.website_id,memberAccountId:(En=ue.statsigUser)===null||En===void 0||(En=En.customIDs)===null||En===void 0?void 0:En.member_account_id});var Gn=Cn.getScreenList();return Cn.props.setScreenList(Gn),Cn.state={hasEntered:!1},Cn}return h()(w,le),a()(w,[{key:"componentWillUnmount",value:function(){window.removeEventListener("beforeunload",this.handleBeforeUnload);var Oe=this.props.associatedProductTypes,ft=Oe===void 0?[]:Oe;this.willUnmount.emit({purchaseCompleted:this.props.purchaseCompleted,products:ft})}},{key:"setAnalytics",value:function(){var Oe=this.props,ft=Oe.setAnalyticsData,pn=Oe.analytics,En=Oe.showCrossSell;ft(yy(yy({},pn),{},{showCrossSell:En??!0}))}},{key:"render",value:function(){var Oe=this,ft=this.props,pn=ft.isOpen,En=ft.screens,Cn=ft.currencyCode,Gn=ft.currentScreenIndex,yn=ft.exitingScreenIndex,Or=ft.direction,tr=ft.closeOnBackButton,co=ft.locale,lr=ft.onCurrencyChange,mo=ft.fullSizePreCheckout,na=ft.checkoutType,ya=ft.customScreenProps,da=ft.zIndex,ua=ft.waitingForCustomer,La=ft.showCrossSell,Ga=ft.onItemRemoved,Ka=ft.CustomCrossSellComponent,no=ft.i18n,Kn=ft.isUCModalFocusLocked,Ir=no.t,ra=yn!==null,Ma=ra?[yn,Gn]:[Gn];return p.createElement(S1,{showCrossSell:La,onItemRemoved:Ga,CustomCrossSellComponent:Ka},p.createElement(Hf.Z.Transition,{duration:{entering:1e3,exiting:1e3},onTransitionEnd:this.handleModalTransitionEnd},pn&&p.createElement(Hf.Z,{className:Md().fullscreenModal,closeOnBackButton:tr,closeOnEsc:!1,closeOnOverlayClicked:!1,lockFocus:!eO()&&Kn,onRequestClose:this.handleGenericRequestClose,zIndex:da},p.createElement(Hf.Z.Overlay,{className:Md().modalBackground,transitionClassNames:{entering:Md().modalBackgroundEntering,enteringActive:Md().modalBackgroundEnteringActive,exitingActive:Md().modalBackgroundExitingActive}}),p.createElement(Hf.Z.Position,{draggable:!1,position:"fullscreen"},p.createElement(Hf.Z.Dialog,{className:Md().modalDialog,transitionClassNames:{entering:Md().modalDialogEntering,enteringActive:Md().modalDialogEnteringActive,exitingActive:Md().modalDialogExitingActive},htmlAttributes:{"data-test":"universal-checkout","aria-label":Ir("Checkout",null,{project:"universal-checkout",notes:"This is an accessible name for the Universal Checkout modal"})}},p.createElement("div",{className:Md().modalDialogInnerWrapper},Ma.map(function($o){var po,ga,so,Wr=ra&&$o===Gn,_o=$o===yn,$r=(po=En[$o])===null||po===void 0?void 0:po.isFullBleed,ts=(ga=En[$o])===null||ga===void 0?void 0:ga.isSplitScreen,Ba=(so=En[$o])===null||so===void 0?void 0:so.shouldHideBreadcrumbs,jl=sv(En,$o);return p.createElement(Hf.Z.TouchScroll,{key:$o},p.createElement(bc.Z,{className:Vl()(Md().modalScroll,Md().modalContentAnimationContainer,Md()[Or],_()(_()(_()(_()({},Md().entering,Wr),Md().exiting,_o),"isEntering",!_o),Md().isInverted,jl)),"data-test":_o?"isExiting":"isEntering"},p.createElement(bc.Z,{className:Vl()(Md().modalContentAnimationInnerWrapper,_()({},Md().fullBleedAnimationInnerWrapper,$r)),px:{_:3,"desktop-100":6}},p.createElement(WE,{isFullBleed:!!$r,isSplitScreen:!!ts,onCurrencyChange:lr,currencyCode:Cn,fullSizePreCheckout:mo,handleHeaderCloseClick:Oe.handleHeaderCloseClick,customNavLabels:Oe.getCustomNavLabels(ya),shouldHideBreadcrumbs:!!Ba}),ua?p.createElement("div",{className:Vl()(Md().customerLoadingWrapper,Md().fullBleedModal)},p.createElement(Rf.Z,null)):p.createElement("div",{className:Vl()(Md().modalBody,_()({},Md().fullBleedModal,$r&&Oe.state.hasEntered)),"data-test":"uc-modal-body"},p.createElement(dg,{screens:En,withHeader:!0,screenIndex:$o,closeModal:Oe.handleScreenCloseButton,isExitingScreen:_o,hasEntered:Oe.state.hasEntered,locale:co,checkoutType:na,customScreenProps:ya,isSplitScreen:!!ts,isFullBleed:!!$r,isInverted:jl,selectedCurrency:Cn})))))})))))))}}])}(p.Component);_()(Py,"defaultProps",{analytics:{},customScreenProps:{screens:{}},features:[],isProd:!0,locale:"en-US",onPurchaseComplete:function(){},onRequestClose:function(){}});const rO=Py;var oO=function(w){return{currentScreenIndex:w.RouterReducer.currentScreenIndex,exitingScreenIndex:w.RouterReducer.exitingScreenIndex,direction:w.RouterReducer.direction,purchaseCompleted:w.Purchase.purchaseCompleted,purchaseData:w.Purchase.purchaseData,promotions:Sh(w),isPurchaseInProgress:w.Purchase.isLoading,isFormInDirtyState:w.UI.isFormInDirtyState,screens:w.RouterReducer.screens,waitingForCustomer:kp(w),featureGates:w.FeatureGates.featureGates,checkoutCart:Vi(w),associatedProductTypes:_p(w),isUCModalFocusLocked:w.UI.isUCModalFocusLocked}},aO=function(w){return(0,y.bindActionCreators)({writeEnvironment:Pd,trackOpenModal:us,trackView:Rc,fetchCustomerInfo:ca,showConfirmationModal:Cl,setScreenList:Sc,trackCloseModal:ys,clearCart:Br,writeItemToCart:Ge,resetOnClose:kl,setAnalyticsData:Ua,gotoPage:Ul,setFeatureGates:md,setCheckoutType:_f,setCurrencyCodeForEvents:Ts,setRestrictedPaymentMethods:zs},w)},sO=uc(oO,aO);const iO=(0,y.compose)(Fp(),Mh(),jp(),Ah(),sO)(rO);function Cy(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function lO(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Cy(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Cy(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}function cO(le,w,ue){return w=f()(w),c()(le,Ay()?Reflect.construct(w,ue||[],f()(le).constructor):w.apply(le,ue))}function Ay(){try{var le=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ay=function(){return!!le})()}var uO=function(le){function w(){var ue;o()(this,w);for(var Oe=arguments.length,ft=new Array(Oe),pn=0;pn<Oe;pn++)ft[pn]=arguments[pn];return ue=cO(this,w,[].concat(ft)),_()(ue,"state",{hasError:!1}),ue}return h()(w,le),a()(w,[{key:"componentDidCatch",value:function(Oe,ft){var pn=lO({},this.props.sentryTags);Zn(Oe,pn),this.props.componentDidCatch&&this.props.componentDidCatch(Oe,ft)}},{key:"render",value:function(){return this.state.hasError&&this.props.fallback?this.props.fallback:this.props.children}}],[{key:"getDerivedStateFromError",value:function(){return{hasError:!0}}}])}(p.Component);const N_=uO;function dO(le,w,ue){return w=f()(w),c()(le,by()?Reflect.construct(w,ue||[],f()(le).constructor):w.apply(le,ue))}function by(){try{var le=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(by=function(){return!!le})()}var fO=function(le){function w(){var ue;o()(this,w);for(var Oe=arguments.length,ft=new Array(Oe),pn=0;pn<Oe;pn++)ft[pn]=arguments[pn];return ue=dO(this,w,[].concat(ft)),_()(ue,"handleModalConfirm",function(){var En=ue.props.unsavedChangesConfirmationDismissalFunction;if(typeof En=="function")return ue.props.dismissConfirmationModal(),En()}),_()(ue,"handleModalDismiss",function(){ue.props.dismissConfirmationModal()}),ue}return h()(w,le),a()(w,[{key:"render",value:function(){var Oe=this.props,ft=Oe.isShowingConfirmModal,pn=Oe.i18n,En=pn.t;return p.createElement(X,{isOpen:ft,testAttr:"unsaved-changes-modal",cancelText:En("Stay on this page",null,{project:"universal-checkout"}),confirmText:En("Leave this page",null,{project:"universal-checkout"}),message:En("Your changes will not be saved if you navigate away from this page.",null,{project:"universal-checkout"}),title:En("Are you sure?",null,{project:"universal-checkout"}),onConfirm:this.handleModalConfirm,onDismiss:this.handleModalDismiss})}}])}(p.Component);const hO=ns(fO);var pO=function(w){return{isShowingConfirmModal:w.UI.isShowingConfirmModal,unsavedChangesConfirmationDismissalFunction:w.UI.unsavedChangesConfirmationDismissalFunction}},mO=function(w){return(0,y.bindActionCreators)({dismissConfirmationModal:Dl},w)};const vO=uc(pO,mO)(hO);function gO(le,w,ue){return w=f()(w),c()(le,Sy()?Reflect.construct(w,ue||[],f()(le).constructor):w.apply(le,ue))}function Sy(){try{var le=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Sy=function(){return!!le})()}var Ty=function(le){function w(ue){var Oe,ft;return o()(this,w),ft=gO(this,w,[ue]),ft.store=gl({},ue.i18n.getCurrencyFractions),$n([["uc-product-area",(Oe=ue.analytics)===null||Oe===void 0?void 0:Oe.productArea],["uc-checkout-type",ue.checkoutType]]),ft}return h()(w,le),a()(w,[{key:"render",value:function(){return p.createElement(N_,{componentDidCatch:this.props.componentDidCatch},p.createElement(Il,{store:this.store},p.createElement(iO,this.props),p.createElement(vO,null)))}}])}(p.Component);_()(Ty,"defaultProps",{analytics:{}});const EO=ns(Ty);var _O=function(w){var ue=w.paymentMethod,Oe=w.showIcon,ft=w.isEditable,pn=ft===void 0?!0:ft,En=ba(),Cn=En.t,Gn=bm(ue.iconType),yn=Gg(ue.type,Cn),Or=(0,Qc.F)(),tr=Or.space,co=Or.fontSizes;return pn?p.createElement(p.Fragment,null,p.createElement(bc.Z,{pt:tr[2]},p.createElement(ji.Z,{as:"label",pt:tr[2],fontSize:{_:co[3],"mobile-*":co[4]}},yn),p.createElement(bc.Z,{paddingTop:tr[2],display:"flex",alignItems:"center",flexGrow:1},Oe&&p.createElement(vv,{paymentType:ue.iconType}),p.createElement(mv,{prefix:ue.prefix,redaction:Gn,displayIdentifier:ue.displayIdentifier,wrapperProps:{"data-test":"payment-number-redacted",display:"flex",alignItems:"center",justifyContent:"flex-start",sx:{paddingLeft:tr[2]}}}))),p.createElement(zo.Z,null)):p.createElement(p.Fragment,null,p.createElement(bc.Z,{display:"flex",justifyContent:"space-between",flexDirection:"row",alignItems:"center"},p.createElement(bc.Z,{display:"flex",flexGrow:1},Oe&&p.createElement(vv,{paymentType:ue.iconType}),p.createElement(ji.Z,{as:"label","data-test":"cell-input-label",p:tr[2],fontSize:{_:co[3],"mobile-*":co[4]}},yn)),p.createElement(mv,{prefix:ue.prefix,redaction:Gn,displayIdentifier:ue.displayIdentifier,wrapperProps:{"data-test":"payment-number-redacted",display:"flex",alignItems:"center",color:"gray.300"}})),p.createElement(zo.Z,null))};const yO=_O,xP=lh()(yO);var OO=["paymentSource"],PO=function(w){var ue=w.paymentSource,Oe=_s()(w,OO),ft=ba(),pn=ft.t,En=bm(ue.iconType),Cn=Gg(ue.type,pn);return p.createElement(Dc.Z,Wa()({justifyContent:"space-between"},Oe),p.createElement(Dc.Z,{id:"payment-source-type"},p.createElement(ji.Z.Body,{m:0},Cn)),p.createElement(Dc.Z,{"aria-labelledby":"payment-source-type"},p.createElement(ji.Z.Body,{m:0,sx:{wordBreak:"break-all"}},ue.prefix,"\xA0",En,"\xA0",ue.displayIdentifier)))};const CO=PO;var AO=(0,y.combineReducers)({CustomerInfo:vs,Paypal:$d,Stripe:zc,CheckoutCart:function(){return{}},Currencies:wr,UI:Ef}),bO=(0,ii.composeWithDevTools)({trace:!0,name:"Payment Settings"}),SO=function(){return(0,y.createStore)(AO,{},bO((0,y.applyMiddleware)(Du.Z)))};function Dy(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function Lp(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Dy(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Dy(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var B_,j_,TO=function(w){var ue=w.isProd,Oe=w.member_account_locale,ft=w.website_locale,pn=w.websiteId;j_=pn,B_=new(se())({logging:!1,customSchemaName:"billing_panel",url:ue?"https://events.squarespace.com/api/v1/events":"https://events.stage.sqsp.net/api/v1/events"},{event_owner_team:"checkout-payments",event_source:"web",member_account_locale:Oe,website_locale:ft})},Tm=function(w,ue){var Oe,ft,pn,En;return{paymentMethod:(Oe=w.paymentMethod)===null||Oe===void 0?void 0:Oe.type,billingCountry:w.country,billingPostalCode:w.zip,cardBrand:null,currencyCode:w.currency,currentPaymentMethod:ue==null||(ft=ue.paymentMethod)===null||ft===void 0?void 0:ft.type,newPaymentMethod:(pn=w.paymentMethod)===null||pn===void 0?void 0:pn.type,mandateReferenceId:((En=w.paymentMethod)===null||En===void 0?void 0:En.mandateReference)||null}},rg=function(w){var ue=w.actor,Oe=w.objectValue,ft=w.objectType,pn=w.objectIdentifier,En=pn===void 0?"payment_info_update":pn,Cn=w.paymentMethod,Gn=w.currencyCode,yn=w.billingCountry,Or=w.billingPostalCode,tr=w.cardBrand,co=w.action,lr=w.currentPaymentMethod,mo=w.newPaymentMethod,na=w.mandateReferenceId;if(!B_){console.warn("Event tracker is missing. Did you remember to call initEventTracker?");return}B_.track({actor:ue,action:co,product_area:"billing",object_type:ft,object_identifier:En,object_value:Oe,context_website_id:j_||null,user_website_id:j_,payment_method:Cn,currency_code:Gn,country_code:yn,postal_code:Or,card_brand:tr,current_payment_method:lr,new_payment_method:mo,mandate_reference_id:na})},U_=function(w){rg(Lp(Lp({},w),{},{actor:"system",action:"update",objectType:"customer"}))},DO=function(w){rg(Lp(Lp({},w),{},{actor:"user",action:"click",objectType:"button"}))},IO=function(w){rg(Lp(Lp({},w),{},{actor:"user",action:"click",objectType:"button",objectValue:"set_payment_method_type"}))},MO=function(w){rg(Lp(Lp({},w),{},{actor:"user",action:"click",objectType:"button",objectValue:"block_saving_payment_method"}))},RO=function(w){rg(Lp(Lp({},w),{},{actor:"user",action:"click",objectType:"button",objectIdentifier:"manage-billing"}))},LO=function(w){var ue=w.onClick,Oe=ba(),ft=Oe.T;return p.createElement(Jd.Z,{width:"100%",size:"large",onClick:ue},p.createElement(ft,{project:"universal-checkout",notes:"Button that the user clicks to reveal an empty payment form"},"Add Payment Method"))};const xO=LO;var wO=function(w){var ue=!!(w.australianBusinessNumber||w.canadianGstNumber||w.canadianPstNumber||w.vatNumber||w.businessName);return ue},NO=function(w){var ue=w.customer,Oe=ba(),ft=Oe.t,pn=(0,Iv.Z)(),En=pn.getCountryName,Cn=(0,Qc.F)(),Gn=Cn.space,yn=Cn.fontSizes,Or=Cn.fontWeights,tr=Cn.colors,co=Cn.breakpoints,lr=qh(co),mo=wO(ue),na=lr?yn[4]:yn[3];return p.createElement(Dc.Z,{flexDirection:"column"},ue.name&&p.createElement(ji.Z.Body,{m:0,fontSize:na},ue.name),p.createElement(ji.Z.Body,{m:0,fontSize:na},ue.address),p.createElement(Dc.Z,{alignItems:"center"},p.createElement(ji.Z.Body,{fontSize:na,m:0},ue.city,",\xA0",ue.state,"\xA0",ue.zip)),ue.country&&p.createElement(ji.Z.Body,{m:0,fontSize:na},En(ue.country)),mo&&p.createElement(p.Fragment,null,p.createElement(ji.Z.Body,{as:"h2",mt:Gn[6],mb:Gn[3],fontWeight:Or.medium,color:tr.gray[300]},ft("Tax Exemption Information",null,{project:"universal-checkout",notes:"Label for a section with data relevant to being exempted from taxes"})),ue.businessName&&p.createElement(ji.Z.Body,{fontSize:na,m:0},ue.businessName),ue.vatNumber&&p.createElement(ji.Z.Body,{fontSize:na,m:0},ue.vatNumber),ue.australianBusinessNumber&&p.createElement(ji.Z.Body,{fontSize:na,m:0},ue.australianBusinessNumber),ue.canadianGstNumber&&p.createElement(ji.Z.Body,{fontSize:na,m:0},ue.canadianGstNumber),ue.canadianPstNumber&&p.createElement(ji.Z.Body,{fontSize:na,m:0},ue.canadianPstNumber)))};const BO=NO;function F_(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Fh(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Fh(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Fh(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Fh(tr,"constructor",yn),Fh(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Fh(yn,ft,"GeneratorFunction"),Fh(tr),Fh(tr,ft,"Generator"),Fh(tr,Oe,function(){return this}),Fh(tr,"toString",function(){return"[object Generator]"}),(F_=function(){return{w:pn,m:co}})()}function Fh(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Fh=function(En,Cn,Gn,yn){function Or(tr,co){Fh(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Fh(le,w,ue,Oe)}var jO=function(w){var ue=w.customer,Oe=w.mobile,ft=w.errors,pn=w.onChangeCustomer,En=w.discardChanges,Cn=w.hasValidSavedTaxLocation,Gn=w.onBeforeSave,yn=w.onSaveSuccess,Or=w.onSaveFailure,tr=w.setValidationErrors,co=w.showSuccessToast,lr=ba(),mo=lr.t,na=lr.T,ya=(0,p.useState)(!1),da=we()(ya,2),ua=da[0],La=da[1],Ga=(0,p.useState)(!1),Ka=we()(Ga,2),no=Ka[0],Kn=Ka[1],Ir=function(){var ra=L()(F_().m(function Ma(){var $o,po,ga,so;return F_().w(function(Wr){for(;;)switch(Wr.p=Wr.n){case 0:if(!no){Wr.n=1;break}return Wr.a(2);case 1:if($o=Lo(ue,mo),tr($o),!$o){Wr.n=2;break}return Wr.a(2);case 2:return Gn(),Kn(!0),Wr.p=3,po=Vo(ue),Wr.n=4,Wt.updateCustomerTaxLocation(po);case 4:ga=Wr.v,yn(ga),co(),Wr.n=6;break;case 5:Wr.p=5,so=Wr.v,La(!0),Or(so);case 6:return Wr.p=6,Kn(!1),Wr.f(6);case 7:return Wr.a(2)}},Ma,null,[[3,5,6,7]])}));return function(){return ra.apply(this,arguments)}}();return p.createElement(p.Fragment,null,p.createElement(Ag,{errors:ft,mobile:Oe,address:ue,onChangeAddress:pn,isStandaloneApp:!1}),p.createElement(cv,{customer:ue,errors:ft,onChange:pn,showValidationMessage:!1,styleFieldsInBox:!1}),p.createElement(Dc.Z,{mt:5,justifyContent:"flex-end"},p.createElement(Jd.Z.Tertiary,{mr:3,size:"medium",onClick:En,disabled:no||!Cn},p.createElement(na,{project:"universal-checkout",notes:"Text on button to discard changes"},"Cancel")),p.createElement(Jd.Z.Primary,{size:"medium",onClick:Ir,disabled:no,sx:{"&:disabled":{backgroundColor:Yi.colors.gray[100],color:Yi.colors.white,cursor:"not-allowed"}}},no?p.createElement(p.Fragment,null,p.createElement(na,{project:"universal-checkout","aria-live":"polite"},"Saving..."),p.createElement(Rf.Z,{ml:2,color:"light"})):p.createElement(na,{project:"universal-checkout",notes:"Text on button to save billing address"},"Save Billing Address"))),p.createElement(X,{isOpen:ua,testAttr:"payment-error-modal",showConfirm:!1,onDismiss:function(){return La(!1)},title:mo("Something went wrong",null,{project:"universal-checkout"}),message:mo("We are unable to save your billing address. Please try again.",null,{project:"universal-checkout",notes:"Error message which appears in modal when there is a problem saving billing address information"})}))};const UO=lh()(jO);var Iy=e(544049),Jg=function(le){return le.BILLING_ADDRESS_UPDATED="billingAddressUpdated",le.PAYMENT_METHOD_UPDATED="paymentMethodUpdated",le.PAYMENT_METHOD_WITH_AUTH_UPDATED="paymentMethodWithAuthUpdated",le.PENDING_PAYMENT_AUTH_SUCCESSFUL="pendingPaymentAuthSuccessful",le}({}),FO=function(){var w=ba(),ue=w.t,Oe={billingAddressUpdated:ue("Your billing address was successfully updated.",null,{project:"universal-checkout"}),paymentMethodUpdated:ue("Your payment method was successfully updated.",null,{project:"universal-checkout"}),paymentMethodWithAuthUpdated:ue("Your payment method was successfully updated and your authentication has been confirmed.",null,{project:"universal-checkout"}),pendingPaymentAuthSuccessful:ue("Your pending payment was successfully authorized.",null,{project:"universal-checkout"})},ft=function(En){var Cn,Gn=En.messageType,yn=En.toastRef,Or=En.toastId,tr=Oe[Gn];yn==null||(Cn=yn.current)===null||Cn===void 0||Cn.show({content:tr,id:Or})};return ft};const W_=FO;var WO=Yp.CSSTransitionGroupPresets.ExpandCollapse.transitions,qg=function(w){var ue=w.children,Oe=w.shouldShowTransition,ft=Oe===void 0?!0:Oe;return ft?p.createElement(Yp.CSSTransitionGroup,{transitions:WO},ue):p.createElement(p.Fragment,null,ue)},KO=["customer","onSectionEditClick","isEditing","hasSavedCustomer","hasValidSavedTaxLocation","hasSavedPaymentMethod"],kO=function(w){var ue=w.customer,Oe=w.onSectionEditClick,ft=w.isEditing,pn=w.hasSavedCustomer,En=w.hasValidSavedTaxLocation,Cn=w.hasSavedPaymentMethod,Gn=_s()(w,KO),yn=ba(),Or=yn.t,tr=(0,p.useRef)((0,qe.Z)()),co=(0,p.useRef)(null),lr={messageType:Jg.BILLING_ADDRESS_UPDATED,toastRef:co,toastId:tr},mo=W_(),na=(0,p.useRef)(ft),ya=na.current;na.current=ft;var da=!En&&pn||!En&&!Cn,ua=Or("Your billing address is incomplete. You will need to update your billing address in order to make changes to your payment method.",null,{project:"universal-checkout",notes:"Error message that appears below address form in payment settings when users have an incomplete address on file"});return p.createElement(p.Fragment,null,p.createElement(x_,{onSectionEditClick:Oe,isEditing:ft,dataTestId:"address-section",title:Or("Billing Address",null,{project:"universal-checkout",notes:"The title in a section where users enter their billing address"}),readOnlyComponent:p.createElement(qg,{shouldShowTransition:ya},p.createElement(BO,{customer:ue,key:"address-form-read"})),editingComponent:p.createElement(qg,null,p.createElement(UO,Wa()({key:"address-form-edit",showSuccessToast:function(){return mo(lr)},hasValidSavedTaxLocation:En,customer:ue},Gn))),editIconButtonLabel:Or("Edit Billing",null,{project:"universal-checkout",notes:"aria-label for edit icon on mobile used for editing the billing address"})}),da&&p.createElement(ji.Z,{color:Yi.colors.red[300]},ua),p.createElement(Iy.Z.Container,{"data-test":"payment-save-success-toast",mountAt:document.body,ref:co}))},GO=function(le){return le.SQSP="sqsp",le.MIGRATION="migration",le}({}),HO=function(w){var ue,Oe,ft=w.customer,pn=w.supportedPaymentMethods,En=w.hasSavedPaymentMethod;return pn.includes(kt().PAYPAL_WALLET)?(ft==null||(ue=ft.paymentMethod)===null||ue===void 0?void 0:ue.type)===kt().PAYPAL_WALLET||(ft==null||(Oe=ft.projectInfo)===null||Oe===void 0?void 0:Oe.origin)===GO.MIGRATION&&!En?!0:ft.country!=="US":!1},ZO=["customer","onSectionEditClick","isEditing","isDisabled","paypalTokens","onSaveSuccess","handleRequiresStrongAuthentication","hasSavedPaymentMethod","supportedPaymentMethods"];function og(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Wh(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Wh(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Wh(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Wh(tr,"constructor",yn),Wh(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Wh(yn,ft,"GeneratorFunction"),Wh(tr),Wh(tr,ft,"Generator"),Wh(tr,Oe,function(){return this}),Wh(tr,"toString",function(){return"[object Generator]"}),(og=function(){return{w:pn,m:co}})()}function Wh(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Wh=function(En,Cn,Gn,yn){function Or(tr,co){Wh(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Wh(le,w,ue,Oe)}var VO=function(w){var ue=w.customer,Oe=w.onSectionEditClick,ft=w.isEditing,pn=w.isDisabled,En=w.paypalTokens,Cn=w.onSaveSuccess,Gn=w.handleRequiresStrongAuthentication,yn=w.hasSavedPaymentMethod,Or=w.supportedPaymentMethods,tr=_s()(w,ZO),co=ba(),lr=co.T,mo=co.t,na=W_(),ya=(0,p.useState)(!1),da=we()(ya,2),ua=da[0],La=da[1],Ga=(0,p.useRef)((0,qe.Z)()),Ka=(0,p.useRef)(null),no=(0,p.useRef)(ft),Kn=no.current;no.current=ft;var Ir={testAttr:"sca-auth-error-modal",title:mo("Authentication Verification Failed",null,{project:"universal-checkout",notes:"Title in a modal that appears when user fails to authenticate credit card"}),message:mo("Resave your payment information and try authenticating again. Otherwise, we may not be able to process your next payment.",null,{project:"universal-checkout"})},ra=HO({customer:ue,supportedPaymentMethods:Or,hasSavedPaymentMethod:yn}),Ma=Or.includes(kt().SEPA_DEBIT),$o=function(){var ga=L()(og().m(function so(Wr,_o){var $r,ts,Ba,jl;return og().w(function(xc){for(;;)switch(xc.p=xc.n){case 0:return xc.p=0,xc.n=1,Gn({clientSecret:Wr,type:Fl.SETUP_INTENT,gateway:_o});case 1:ts=xc.v,Ba=(($r=ts.setupIntent)===null||$r===void 0?void 0:$r.status)==="succeeded",Ba?na({messageType:Jg.PAYMENT_METHOD_WITH_AUTH_UPDATED,toastRef:Ka,toastId:Ga}):La(!0),xc.n=3;break;case 2:xc.p=2,jl=xc.v,La(!0);case 3:return xc.a(2)}},so,null,[[0,2]])}));return function(Wr,_o){return ga.apply(this,arguments)}}(),po=function(){var ga=L()(og().m(function so(Wr){var _o,$r;return og().w(function(ts){for(;;)switch(ts.n){case 0:if(_o=Wr==null?void 0:Wr.clientSecret,!_o){ts.n=2;break}return $r=Wr.paymentMethod.savedGateway,ts.n=1,$o(_o,$r);case 1:ts.n=3;break;case 2:na({messageType:Jg.PAYMENT_METHOD_UPDATED,toastRef:Ka,toastId:Ga});case 3:Cn(Wr);case 4:return ts.a(2)}},so)}));return function(Wr){return ga.apply(this,arguments)}}();return p.createElement(p.Fragment,null,p.createElement(x_,{dataTestId:"payment-section",title:mo("Payment Method",null,{project:"universal-checkout",notes:"The title in a section where users enter payment method details"}),onSectionEditClick:Oe,isDisabled:pn,hasSavedPaymentMethod:yn,isEditing:ft,readOnlyComponent:p.createElement(qg,{shouldShowTransition:Kn},p.createElement(my,{paymentMethod:ue.paymentMethod,key:"payment-form-read"})),editingComponent:p.createElement(qg,null,p.createElement(py,Wa()({},tr,{key:"payment-form-edit",isPaypalEnabled:ra,isSEPAEnabled:Ma,onSaveSuccess:po,customer:ue,paypalTokens:En,renderSaveControls:function(so){var Wr=so.onSave,_o=so.isSaving;return p.createElement(Dc.Z,{justifyContent:"flex-end",mt:4},p.createElement(Jd.Z.Tertiary,{size:"medium",mr:3,disabled:_o||!yn,onClick:tr.discardChanges},p.createElement(lr,{project:"universal-checkout"},"Cancel")),p.createElement(Jd.Z.Primary,{size:"medium",disabled:_o,sx:{"&:disabled":{backgroundColor:Yi.colors.gray[100],color:Yi.colors.white,cursor:"not-allowed"}},onClick:function(){_o||Wr()}},_o?p.createElement(p.Fragment,null,p.createElement(lr,{project:"universal-checkout","aria-live":"polite"},"Saving..."),p.createElement(Rf.Z,{ml:2,color:"light"})):p.createElement(lr,{project:"universal-checkout",notes:"Text on button to save payment information"},"Save Payment Method")))}}))),editIconButtonLabel:mo("Edit Payment",null,{project:"universal-checkout",notes:"aria-label for edit icon on mobile used for editing the payment method"})}),p.createElement(X,Wa()({isOpen:ua,showConfirm:!1,cancelText:"Ok",onDismiss:function(){return La(!1)}},Ir)),p.createElement(Iy.Z.Container,{"data-test":"payment-save-success-toast",mountAt:document.body,ref:Ka}))},zO=e(378638);function K_(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return Kh(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(Kh(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,Kh(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,Kh(tr,"constructor",yn),Kh(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",Kh(yn,ft,"GeneratorFunction"),Kh(tr),Kh(tr,ft,"Generator"),Kh(tr,Oe,function(){return this}),Kh(tr,"toString",function(){return"[object Generator]"}),(K_=function(){return{w:pn,m:co}})()}function Kh(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}Kh=function(En,Cn,Gn,yn){function Or(tr,co){Kh(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},Kh(le,w,ue,Oe)}var $O=function(w){var ue=w.pendingPayment,Oe=w.stripe,ft=w.onAuthenticateSuccess,pn=ba(),En=pn.T,Cn=pn.t,Gn=(0,Ja.Z)(),yn=Gn.formatList,Or=Gn.formatDate,tr=W_(),co=(0,Qc.F)(),lr=co.colors,mo=co.space,na=(0,p.useState)(!1),ya=we()(na,2),da=ya[0],ua=ya[1],La=ue.amount,Ga=ue.canAuthenticateWithinSquarespace,Ka=ue.clientSecret,no=ue.contracts,Kn=ue.customerApprovalRequired,Ir=fp(new Tn.default(La.value,La.currency)),ra=(0,p.useRef)((0,qe.Z)()),Ma=(0,p.useRef)(null),$o=Dh(Cn),po=function(){var Ba=[];return no.forEach(function(jl){var xc=jl.plan.planType;Ba.push($o[xc])}),yn(Ba)},ga=function(){if(no.length===1||no.every(function(jl){return jl.renewalDetails.chargeDate===no[0].renewalDetails.chargeDate})){var Ba=no[0].renewalDetails.chargeDate;return Or(new Date(Ba),{date:"medium"})}return null},so=function(){if(no.length===1||no.every(function(jl){return jl.renewalDetails.gracePeriodEndDate===no[0].renewalDetails.gracePeriodEndDate})){var Ba=no[0].renewalDetails.gracePeriodEndDate;return Or(new Date(Ba),{date:"medium"})}return null},Wr=function(){return ga()===null?p.createElement(En,{project:"universal-checkout",price:Ir},"Renews for {price}"):p.createElement(En,{project:"universal-checkout",date:ga(),price:Ir},"Renews on {date} for {price}")},_o=function(){return so()===null?null:p.createElement(ji.Z.Caption,{m:0,color:"red.300"},p.createElement(En,{project:"universal-checkout",date:so()},"Expires on {date} unless verified"))},$r=function(){var ts=L()(K_().m(function Ba(){return K_().w(function(jl){for(;;)switch(jl.n){case 0:if(!Ga){jl.n=1;break}return jl.n=1,Oe.confirmPayment({clientSecret:Ka,redirect:"if_required"}).then(function(){tr({messageType:Jg.PENDING_PAYMENT_AUTH_SUCCESSFUL,toastRef:Ma,toastId:ra}),ft()}).catch(function(xc){ua(!0),Zn(new Error("Pending Payment Error: ".concat(xc)))});case 1:return jl.a(2)}},Ba)}));return function(){return ts.apply(this,arguments)}}();return p.createElement(p.Fragment,null,p.createElement(zO.Z,{space:-1},p.createElement(ji.Z.Subtitle,{m:mo[0],mb:mo[1],mt:mo[2]},po()),p.createElement(ji.Z.Caption,{m:mo[0],color:lr.gray[300]},Wr()),_o()),p.createElement(Dc.Z,{flexDirection:"column"},!Ga&&!Kn?p.createElement(ji.Z.Caption,{color:lr.gray[300]},p.createElement(En,{project:"universal-checkout",notes:"Message displayed while waiting for pending payment confirmation."},"Payment pending. We are awaiting confirmation from your payment provider.")):p.createElement(Jd.Z.Tertiary,{onClick:$r,disabled:!Ga,justifyContent:"flex-start"},p.createElement(En,{project:"universal-checkout"},"Authorize Payment")),!Ga&&Kn&&p.createElement(ji.Z.Caption,{color:lr.gray[300]},p.createElement(En,{project:"universal-checkout",notes:"Description for e-mandate payments"},"Contact your card issuer or bank to authorize this payment."))),p.createElement(zo.Z,{mt:mo[2],orientation:"horizontal"}),p.createElement(X,{isOpen:da,testAttr:"payment-error-modal",showConfirm:!1,onDismiss:function(){return ua(!1)},title:Cn("Something went wrong",null,{project:"universal-checkout"}),message:Cn("We are unable to authorize your payment. Please try again.",null,{project:"universal-checkout",notes:"Error message which appears in modal when there is a problem authorizing pending payment"})}))};const XO=$O;function ag(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var le,w,ue=typeof Symbol=="function"?Symbol:{},Oe=ue.iterator||"@@iterator",ft=ue.toStringTag||"@@toStringTag";function pn(lr,mo,na,ya){var da=mo&&mo.prototype instanceof Cn?mo:Cn,ua=Object.create(da.prototype);return kh(ua,"_invoke",function(La,Ga,Ka){var no,Kn,Ir,ra=0,Ma=Ka||[],$o=!1,po={p:0,n:0,v:le,a:ga,f:ga.bind(le,4),d:function(Wr,_o){return no=Wr,Kn=0,Ir=le,po.n=_o,En}};function ga(so,Wr){for(Kn=so,Ir=Wr,w=0;!$o&&ra&&!_o&&w<Ma.length;w++){var _o,$r=Ma[w],ts=po.p,Ba=$r[2];so>3?(_o=Ba===Wr)&&(Ir=$r[(Kn=$r[4])?5:(Kn=3,3)],$r[4]=$r[5]=le):$r[0]<=ts&&((_o=so<2&&ts<$r[1])?(Kn=0,po.v=Wr,po.n=$r[1]):ts<Ba&&(_o=so<3||$r[0]>Wr||Wr>Ba)&&($r[4]=so,$r[5]=Wr,po.n=Ba,Kn=0))}if(_o||so>1)return En;throw $o=!0,Wr}return function(so,Wr,_o){if(ra>1)throw TypeError("Generator is already running");for($o&&Wr===1&&ga(Wr,_o),Kn=Wr,Ir=_o;(w=Kn<2?le:Ir)||!$o;){no||(Kn?Kn<3?(Kn>1&&(po.n=-1),ga(Kn,Ir)):po.n=Ir:po.v=Ir);try{if(ra=2,no){if(Kn||(so="next"),w=no[so]){if(!(w=w.call(no,Ir)))throw TypeError("iterator result is not an object");if(!w.done)return w;Ir=w.value,Kn<2&&(Kn=0)}else Kn===1&&(w=no.return)&&w.call(no),Kn<2&&(Ir=TypeError("The iterator does not provide a '"+so+"' method"),Kn=1);no=le}else if((w=($o=po.n<0)?Ir:La.call(Ga,po))!==En)break}catch($r){no=le,Kn=1,Ir=$r}finally{ra=1}}return{value:w,done:$o}}}(lr,na,ya),!0),ua}var En={};function Cn(){}function Gn(){}function yn(){}w=Object.getPrototypeOf;var Or=[][Oe]?w(w([][Oe]())):(kh(w={},Oe,function(){return this}),w),tr=yn.prototype=Cn.prototype=Object.create(Or);function co(lr){return Object.setPrototypeOf?Object.setPrototypeOf(lr,yn):(lr.__proto__=yn,kh(lr,ft,"GeneratorFunction")),lr.prototype=Object.create(tr),lr}return Gn.prototype=yn,kh(tr,"constructor",yn),kh(yn,"constructor",Gn),Gn.displayName="GeneratorFunction",kh(yn,ft,"GeneratorFunction"),kh(tr),kh(tr,ft,"Generator"),kh(tr,Oe,function(){return this}),kh(tr,"toString",function(){return"[object Generator]"}),(ag=function(){return{w:pn,m:co}})()}function kh(le,w,ue,Oe){var ft=Object.defineProperty;try{ft({},"",{})}catch{ft=0}kh=function(En,Cn,Gn,yn){function Or(tr,co){kh(En,tr,function(lr){return this._invoke(tr,co,lr)})}Cn?ft?ft(En,Cn,{value:Gn,enumerable:!yn,configurable:!yn,writable:!yn}):En[Cn]=Gn:(Or("next",0),Or("throw",1),Or("return",2))},kh(le,w,ue,Oe)}var YO=function(){var w=ba(),ue=w.T;return p.createElement(ng.Z,{mb:2,layout:"row",title:p.createElement(ue,{project:"universal-checkout",notes:"Header for pending payments info banner"},"Payment Authorization Required"),body:p.createElement(ue,{project:"universal-checkout",notes:"Description for pending payments info banner"},"For your security, your card issuer or bank requires you to verify these purchases.")})},QO=function(w){var ue,Oe=w.isProd,ft=w.customer,pn=(0,Qc.F)(),En=pn.space,Cn=ba(),Gn=Cn.T,yn=(0,p.useState)(Array),Or=we()(yn,2),tr=Or[0],co=Or[1],lr=(0,p.useState)(!0),mo=we()(lr,2),na=mo[0],ya=mo[1],da=(0,p.useState)(null),ua=we()(da,2),La=ua[0],Ga=ua[1],Ka=ft==null||(ue=ft.preferredPaymentMethodGateway)===null||ue===void 0?void 0:ue[kt().CARD],no=function(){var Kn=L()(ag().m(function Ir(){var ra,Ma;return ag().w(function($o){for(;;)switch($o.p=$o.n){case 0:return $o.p=0,$o.n=1,Wt.fetchPendingPayments();case 1:ra=$o.v,ra&&(ya(!1),co(ra.data.results)),$o.n=3;break;case 2:$o.p=2,Ma=$o.v,Zn(Ma);case 3:return $o.a(2)}},Ir,null,[[0,2]])}));return function(){return Kn.apply(this,arguments)}}();return(0,p.useEffect)(function(){no()},[]),(0,p.useEffect)(function(){var Kn=function(){var ra=L()(ag().m(function Ma($o){var po;return ag().w(function(ga){for(;;)switch(ga.n){case 0:return ga.n=1,zu($o);case 1:return po=ga.v,Ga(po),ga.a(2,po)}},Ma)}));return function($o){return ra.apply(this,arguments)}}();if(Ka){var Ir=fd(Oe,Ka);Kn(Ir)}},[Ka,Oe]),!na&&tr.length!==0&&p.createElement(p.Fragment,null,p.createElement(ji.Z.Label,{m:En[0],mb:En[3],"data-test":"pending-payment-section"},p.createElement(Gn,{project:"universal-checkout",notes:"Section header for pending payments"},"Pending Payments")),p.createElement(YO,null),tr.map(function(Kn){return p.createElement(XO,{key:Kn.id,pendingPayment:Kn,stripe:La,onAuthenticateSuccess:function(){return no()}})}))},My=function(){var w=ba(),ue=w.t,Oe=ue("Try reloading the page. If this issue persists, contact us.",null,{project:"universal-checkout",notes:"Error message"}),ft=ue("Couldn\u2019t Load Information",null,{project:"universal-checkout",notes:"Error message"}),pn=ue("Reload",null,{project:"universal-checkout",notes:"Label on a button that will reload the web page when clicked"});return p.createElement(bc.Z,{maxWidth:"sizes.750",sx:{textAlign:"center",alignSelf:"center"}},p.createElement(ji.Z.Subtitle,{fontWeight:Yi.fontWeights.semibold,color:"fg.muted",mb:3},ft),p.createElement(ji.Z.Body,{color:"fg.muted",mb:6},Oe),p.createElement(Jd.Z.Secondary,{marginTop:Yi.space[6],onClick:function(){return window.location.reload()},size:"medium"},pn))};function Ry(le,w){var ue=Object.keys(le);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(le);w&&(Oe=Oe.filter(function(ft){return Object.getOwnPropertyDescriptor(le,ft).enumerable})),ue.push.apply(ue,Oe)}return ue}function l0(le){for(var w=1;w<arguments.length;w++){var ue=arguments[w]!=null?arguments[w]:{};w%2?Ry(Object(ue),!0).forEach(function(Oe){_()(le,Oe,ue[Oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(le,Object.getOwnPropertyDescriptors(ue)):Ry(Object(ue)).forEach(function(Oe){Object.defineProperty(le,Oe,Object.getOwnPropertyDescriptor(ue,Oe))})}return le}var np=function(le){return le.address="address",le.payment="payment",le}(np||{}),JO=function(w,ue){return w?w&&!ue?[np.payment]:[]:[np.address]},qO=function(w){var ue=w.locale,Oe=w.isProd,ft=w.onSaveSuccess,pn=w.eventsConfig,En=w.isLoadingCustomer,Cn=w.onSavingCustomer,Gn=w.onSaveCustomerSuccess,yn=w.customer,Or=w.savedCustomer,tr=w.validationErrors,co=w.serverErrors,lr=w.onChangeTaxLocation,mo=w.onChangePaymentMethod,na=w.setValidationErrors,ya=w.fetchTaxValidation,da=w.supportedPaymentMethods,ua=w.fetchCustomerInfo,La=w.hasSavedPaymentMethod,Ga=w.hasValidSavedTaxLocation,Ka=w.hasSavedCustomer,no=w.onSaveCustomerError,Kn=w.discardPaymentChanges,Ir=w.discardTaxLocationChanges,ra=w.paypalTokens,Ma=w.fetchAndStorePaypalSetupTokens,$o=w.handleRequiresStrongAuthentication,po=w.renderSaveControls,ga=w.isPaymentSettingsDirty,so=w.writeEnvironment,Wr=(0,p.useState)(!0),_o=we()(Wr,2),$r=_o[0],ts=_o[1],Ba=(0,p.useState)([]),jl=we()(Ba,2),xc=jl[0],Fd=jl[1];(0,p.useEffect)(function(){Fd(JO(Ga,La))},[Ga,La]),(0,p.useEffect)(function(){TO(l0({isProd:Oe},pn)),ua({locale:ue}),so(Oe)},[]),(0,p.useEffect)(function(){!En&&Ka&&ts(!1)},[En,Ka,ts]),Rg(yn,ya);var bf=!Ga,fh=function(yh){var _v=xc.filter(function(k_){return k_!==yh});Fd(_v)},_h=function(){Kn(),fh(np.payment)},Sf=function(){Ir(),fh(np.address)},zf=function(){DO(Tm(yn,Or)),Cn()},Dm=function(yh){Gn(yh),U_(l0({objectValue:"updated"},Tm(yh,Or))),ft(yh);var _v=!La;_v?Fd([np.payment]):fh(np.address)},hh=function(yh){Gn(yh),U_(l0({objectValue:"updated"},Tm(yh,Or))),ft(yh),fh(np.payment)},ah=function(yh){U_(l0({objectValue:"failure"},Tm(yn,Or))),no(yh)},eE=l0(l0({},tr),co);return En?p.createElement(Dc.Z,{justifyContent:"center"},p.createElement(Rf.Z,null)):p.createElement(p.Fragment,null,$r?p.createElement(xO,{onClick:function(){return ts(!1)}}):p.createElement(p.Fragment,null,p.createElement(bc.Z,{sx:{py:3}},p.createElement(kO,{customer:yn,hasSavedPaymentMethod:La,discardChanges:Sf,hasValidSavedTaxLocation:Ga,isEditing:xc.includes(np.address),onSectionEditClick:function(){return Fd([].concat(Ne()(xc),[np.address]))},onChangeCustomer:lr,hasSavedCustomer:Ka,onBeforeSave:zf,onSaveFailure:ah,onSaveSuccess:Dm,setValidationErrors:na,errors:eE})),p.createElement(bc.Z,{sx:{py:3}},p.createElement(VO,{supportedPaymentMethods:da,isProd:Oe,locale:ue,paypalTokens:ra,customer:yn,discardChanges:_h,isEditing:xc.includes(np.payment),isDisabled:bf,onSectionEditClick:function(){Fd([].concat(Ne()(xc),[np.payment])),RO(Tm(yn,Or))},hasSavedPaymentMethod:La,handleRequiresStrongAuthentication:$o,fetchAndStorePaypalSetupTokens:Ma,errors:eE,onBeforeSave:zf,onChangeCustomer:mo,onSaveFailure:ah,onSaveSuccess:hh,trackTogglePaymentMethodType:function(yh){IO(l0(l0({},Tm(yn,Or)),{},{paymentMethod:yh}))},trackExcessivePaymentMethodBlocking:function(){MO(l0({},Tm(yn,Or)))}})),po&&po({isPaymentFormDirty:ga})),p.createElement(bc.Z,{sx:{py:3}},p.createElement(N_,{fallback:p.createElement(My,null),sentryTags:{"uc-feature":"pending-payments"}},p.createElement(QO,{isProd:Oe,customer:yn}))))},eP=function(w){return w.Currencies.acceptedCurrencies},tP=(0,P.createSelector)(eP,function(le){var w=le.reduce(function(ue,Oe){return[].concat(Ne()(ue),Ne()(Oe.supportedPaymentMethods))},[]);return Ne()(new Set(w))});function nP(le,w,ue){return w=f()(w),c()(le,Ly()?Reflect.construct(w,ue||[],f()(le).constructor):w.apply(le,ue))}function Ly(){try{var le=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ly=function(){return!!le})()}var rP=function(w){var ue=w.CustomerInfo,Oe=ue.isLoading,ft=ue.customer,pn=ue.validationErrors,En=ue.serverErrors,Cn=ue.savedCustomer;return{isLoadingCustomer:Oe,customer:ft||{},savedCustomer:Cn||{},hasSavedCustomer:!!Cn,hasSavedPaymentMethod:cy(w),hasValidSavedTaxLocation:!!Cn&&!Lo(Cn),isPaymentSettingsDirty:w.UI.isFormInDirtyState,validationErrors:pn,serverErrors:En,paypalTokens:w.Paypal,supportedPaymentMethods:tP(w)}},oP=function(w){return(0,y.bindActionCreators)({onChangeTaxLocation:Ur,onChangePaymentMethod:Ei,onSavingCustomer:pi,onSaveCustomerSuccess:Eo,onSaveCustomerError:_l,fetchAndStorePaypalSetupTokens:Ye,handleRequiresStrongAuthentication:$s,setValidationErrors:Al,fetchTaxValidation:Fc,discardPaymentChanges:Wi,discardTaxLocationChanges:Mc,fetchCustomerInfo:ca,writeEnvironment:Pd},w)},aP=(0,y.compose)(Ah("billing"),jp(),uc(rP,oP))(qO),sP=function(le){function w(ue){var Oe;return o()(this,w),Oe=nP(this,w,[ue]),$n([["uc-feature","payment-settings"]]),Oe.store=SO(),Oe}return h()(w,le),a()(w,[{key:"render",value:function(){return p.createElement(N_,{fallback:p.createElement(My,null)},p.createElement(Il,{store:this.store},p.createElement(aP,this.props)))}}])}(p.Component);const iP=sP;var lP=e(218403),cP=e.n(lP),uP="https://account.squarespace.com/",dP=function(w){if(window.location.hostname.includes("localhost"))return w;var ue=new URL(w),Oe=ue.hostname.split(".")[0],ft=window.location.hostname.split(".");return ft[0]=Oe,ue.hostname=ft.join("."),ue.toString()},fP=function(){var w=new URLSearchParams(window.location.search),ue=w.get("redirectUrl");return ue||dP(uP)},hP=e(863347);function pP(le){var w=(0,hP._Z)(function(ue){var Oe=ue.currentLocation,ft=ue.nextLocation;return le&&ft.pathname!==Oe.pathname});return{isBlocked:(w==null?void 0:w.state)==="blocked",proceed:function(){var Oe;return(Oe=w.proceed)===null||Oe===void 0?void 0:Oe.call(w)},reset:function(){var Oe;return(Oe=w.reset)===null||Oe===void 0?void 0:Oe.call(w)}}}var mP=function(w){var ue=w.locale,Oe=ue===void 0?"en-US":ue,ft=w.websiteLocale,pn=w.checkoutType,En=w.exitingScreenIndex,Cn=w.currentScreenIndex,Gn=w.waitingForCustomer,yn=w.currencyCode,Or=w.screens,tr=w.trackView,co=w.gotoPreviousStep,lr=w.showConfirmationModal,mo=w.isFormInDirtyState,na=w.productArea,ya=na===void 0?hs().DOMAIN:na,da=w.isProd,ua=w.projectId,La=w.statsigUser,Ga=En!==null,Ka=Ga?[En,Cn]:[Cn],no=pP(mo),Kn=no.isBlocked,Ir=no.proceed;Kn&&lr(function(){Ir()}),(0,p.useEffect)(function(){var Ma;kn({productArea:ya,isProd:!!da,checkoutType:pn,memberAccountLocale:Oe,websiteLocale:ft||null,projectId:ua,memberAccountId:La==null||(Ma=La.customIDs)===null||Ma===void 0?void 0:Ma.member_account_id})},[pn,da,Oe,ya,ft]),(0,p.useEffect)(function(){Cn>=0&&tr()},[Cn,tr]);var ra=function(){var $o=fP();window.location.assign($o)};return p.createElement("div",null,Ka.map(function(Ma){var $o,po,ga=Ma===En,so=($o=Or[Ma])===null||$o===void 0?void 0:$o.isFullBleed,Wr=(po=Or[Ma])===null||po===void 0?void 0:po.isSplitScreen,_o=sv(Or,Ma);return p.createElement(bc.Z,{key:Ma,"data-test":ga?"isExiting":"isEntering",className:Vl()(cP().checkoutAppContainer,_()({},Md().fullBleedAnimationInnerWrapper,so)),px:{_:3,"desktop-100":6}},Gn?p.createElement("div",{className:Vl()(Md().customerLoadingWrapper,Md().fullBleedModal)},p.createElement(Rf.Z,null)):p.createElement("div",{className:Vl()(_()({},Md().fullBleedModal,so)),"data-test":"uc-app-body"},p.createElement(dg,{screens:Or,screenIndex:Ma,isExitingScreen:ga,hasEntered:!0,locale:Oe,checkoutType:pn,customScreenProps:{screens:{}},isSplitScreen:!!Wr,isFullBleed:!!so,isInverted:_o,selectedCurrency:yn,withHeader:!1,closeModal:ra,gotoPreviousStep:co})))}))};const vP=mP;var gP=e(690170),sg=e(954879);const EP=e.p+"squarespace-devices-e2ce818c4a91e77b.jpeg";var _P=function(){var w=ba(),ue=w.T,Oe=(0,Qc.F)(),ft=Oe.breakpoints,pn=Oe.sizes,En=Oe.colors,Cn=qh(ft),Gn=function(){window.location.reload()},yn={justifyContent:"center",height:"100%"},Or={mx:3,mb:6,mt:10,justifyContent:"flex-start"},tr={desktopOnlySpacing:Cn?0:1,textPanel:Cn?12:4},co=Cn?Or:yn;return p.createElement(sg.Z.Container,{gridConstraint:12,margin:0,gutter:0,width:pn.fullwidth,height:"calc(100vh)"},p.createElement(sg.Z.Item,{columns:tr.desktopOnlySpacing}),p.createElement(sg.Z.Item,{columns:tr.textPanel},p.createElement(Dc.Z,Wa()({flexDirection:"column",alignItems:"flex-start"},co),p.createElement(ji.Z.Subtitle,{mb:3},p.createElement(ue,{project:"universal-checkout"},"We couldn\u2019t load your cart")),p.createElement(ji.Z.Body,{color:En.gray[300],mb:6},p.createElement(ue,{project:"universal-checkout"},"There was an error loading your cart. Refresh your page to try again.")),p.createElement(Jd.Z.Secondary,{onClick:Gn,size:Cn?"medium":"large",sx:{gap:2}},p.createElement(ue,{project:"universal-checkout"},"Refresh page")))),p.createElement(sg.Z.Item,{columns:tr.desktopOnlySpacing}),!Cn&&p.createElement(sg.Z.Item,{columns:6,height:"100%"},p.createElement(gP.Z,{src:EP,alt:"",width:500,height:500,sizes:"(max-width: 800px) 100vw, 50vw",style:{width:"100%",height:"100%",objectPosition:"center",objectFit:"cover"}})))};const yP=_P;var OP=function(w){var ue=ba(),Oe=ue.t;return(0,p.useEffect)(function(){var ft,pn;$n([["checkoutAppVersion",mu.STANDALONE],["checkoutType",w.checkoutType]]),jt("Universal Checkout App opened",{checkoutType:w.checkoutType,checkoutAppVersion:mu.STANDALONE});var En=Ey(Oe);w.setAnalyticsData({customCrossSellName:w.customCrossSellName,showCrossSell:(ft=w.showCrossSell)!==null&&ft!==void 0?ft:!0}),w.setCheckoutAppVersion(mu.STANDALONE),w.setScreenList(En),w.writeEnvironment(!!w.isProd),w.setCheckoutType(w.checkoutType||fs.v.NEW_PURCHASE),w.setFeatureGates(w.features||[]),(pn=w.restrictedPaymentMethods)!==null&&pn!==void 0&&pn.length&&w.setRestrictedPaymentMethods(w.restrictedPaymentMethods),w.fetchInitialData()},[]),(0,p.useEffect)(function(){if(w.purchaseCompleted){var ft=new Vf.Ac(Vf.bg.PURCHASE_COMPLETE,{channel:w.eventChannel});ft.emit({purchaseComplete:!0,promotions:w.promotions,purchaseData:w.purchaseData,products:w.associatedProductTypes})}},[w.purchaseCompleted,w.eventChannel]),w.cartError&&w.cartError===Bc.CART_STATUS_INVALID&&w.goToCart(),w.cartError&&w.cartError===Bc.API_ERROR?p.createElement(yP,null):w.isCartDataLoaded?p.createElement(vP,w):null};const PP=OP,CP=(0,P.createSelector)(function(le){return le.Cart},So,function(le,w){var ue=le.isLoadingCart;return!ue&&!!w.length});var AP=function(w){return{associatedProductTypes:_p(w),cartError:w.Cart.error,checkoutType:w.CheckoutFlowInfo.checkoutType,currentScreenIndex:w.RouterReducer.currentScreenIndex,currencyCode:w.Cart.currency,direction:w.RouterReducer.direction,exitingScreenIndex:w.RouterReducer.exitingScreenIndex,featureGates:w.FeatureGates.featureGates,isCartDataLoaded:CP(w),isFormInDirtyState:w.UI.isFormInDirtyState,promotions:Sh(w),purchaseCompleted:w.Purchase.purchaseCompleted,purchaseData:w.Purchase.purchaseData,screens:w.RouterReducer.screens,waitingForCustomer:kp(w),projectId:w.Cart.projectId}},bP=function(w){return(0,y.bindActionCreators)({writeEnvironment:Pd,trackOpenModal:us,trackView:Rc,fetchCustomerInfo:ca,showConfirmationModal:Cl,setScreenList:Sc,writeItemToCart:Ge,setAnalyticsData:Ua,gotoPage:Ul,setFeatureGates:md,setCheckoutType:_f,setCheckoutAppVersion:jd,getPurchasePreview:es,fetchInitialData:Fu,setRestrictedPaymentMethods:zs},w)},SP=uc(AP,bP),TP=(0,y.compose)(Fp(),jp(),Mh(),Ah(hs().DOMAIN),SP)(PP),NP=function(w){var ue=useFormatters(),Oe=ue.getCurrencyFractions,ft=useRef(null);return ft.current===null&&(ft.current=createStore({},Oe)),Network.interceptors.request.use(appBaseUrlIntercept),React.createElement(ErrorBoundary,null,React.createElement(Provider,{store:ft.current},React.createElement(ThemeContext.Provider,{theme:rosetta.white},React.createElement(UniversalCheckoutContextProvider,{CustomCrossSellComponent:w.CustomCrossSellComponent,showCrossSell:w.showCrossSell},React.createElement(TP,w)),React.createElement(UnsavedChangesModal,null))))};const BP=null},108222:function(b,l,e){var r={"./universal-checkout.en-US.yaml":"616863"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=108222},633559:function(b,l,e){"use strict";var r=e(241225),o=r(e(642979)),n=r(e(675523)),a=r(e(668595));function i(y,O){var P=Object.keys(y);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(y);O&&(C=C.filter(function(A){return Object.getOwnPropertyDescriptor(y,A).enumerable})),P.push.apply(P,C)}return P}function c(y){for(var O=1;O<arguments.length;O++){var P=arguments[O]!=null?arguments[O]:{};O%2?i(Object(P),!0).forEach(function(C){(0,o.default)(y,C,P[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(P)):i(Object(P)).forEach(function(C){Object.defineProperty(y,C,Object.getOwnPropertyDescriptor(P,C))})}return y}var u=e(912459),f=e(952353),d=e(480163),h=e(171585),g=h.addScrollListenerToParents,_=h.removeScrollListenerFromParents,p=function(){function y(O){(0,n.default)(this,y),this.node=O;var P=this.scrollNode=this.getRelativeScrollNode(O);P&&(this.scrollListener=this.updateCoordsOnScroll.bind(this),g(P,this.scrollListener)),this.origCoords=this.getClientRect(),this.coords=c({},this.origCoords)}return(0,a.default)(y,[{key:"destroy",value:function(){this.scrollListener&&(_(this.scrollNode,this.scrollListener),this.scrollListener=null),this.scrollNode=null,this.node=null}},{key:"getRelativeScrollNode",value:function(P){var C=f(P).position;return C==="fixed"?null:C==="absolute"&&u(P,function(A){return A.nodeName==="BODY"||d(A)},function(A){return f(A).position!=="static"})||P}},{key:"getClientRect",value:function(){if(this.node.nodeName==="HTML"){var P=this.node.ownerDocument.defaultView;return P?{top:0,left:0,right:P.innerWidth,bottom:P.innerHeight}:{top:0,left:0,right:0,bottom:0}}var C=this.node.getClientRects()[0];return{left:C.left,right:C.right,top:C.top,bottom:C.bottom}}},{key:"updateCoordsOnScroll",value:function(P,C){var A=this.coords;A.left+=P,A.right+=P,A.top+=C,A.bottom+=C}},{key:"resetCoords",value:function(){var P=this.scrollNode;this.scrollListener&&_(P,this.scrollListener),this.origCoords=this.getClientRect(),this.coords=c({},this.origCoords),this.scrollListener&&g(P,this.scrollListener)}},{key:"getCoords",value:function(){return c({},this.coords)}},{key:"getOffsets",value:function(){var P=this.origCoords,C=this.coords;return{left:C.left-P.left,right:C.right-P.right,top:C.top-P.top,bottom:C.bottom-P.bottom}}}]),y}();b.exports=p},49500:function(b,l,e){"use strict";var r=e(241225),o=r(e(675523)),n=r(e(668595)),a=e(731761),i=e(596852),c=e(235235),u=function(){function h(g,_){if((0,o.default)(this,h),typeof g!="function")throw new Error("[Tween] First parameter needs to be a function.");var p=_.duration,y=_.easing,O=_.onEnd;if(p!==void 0&&!c(p))throw new Error("[Tween] Duration is not a finite number.");this.fn=g,this.duration=p===void 0?300:p,this.easingFn=i[y||"linear"],this.onEnd=O}return(0,n.default)(h,[{key:"start",value:function(){var _=this;this.next=a(function(){_.startTime=new Date().getTime(),_.tween()})}},{key:"end",value:function(){this.cancelNext(),this.fn(1),typeof this.onEnd=="function"&&this.onEnd()}},{key:"cancelNext",value:function(){this.next&&(a.cancel(this.next),this.next=null)}},{key:"pause",value:function(){this.next&&(this.cancelNext(),this.pausedTime=new Date().getTime())}},{key:"resume",value:function(){var _=this;this.pausedTime&&(this.next=a(function(){var p=new Date().getTime(),y=p-_.pausedTime;_.startTime+=y,_.tween(),delete _.pausedTime}))}},{key:"isPaused",value:function(){return!!this.pausedTime}},{key:"isRunning",value:function(){return!!this.next}},{key:"getMultiplier",value:function(_){return this.easingFn(_,0,1,1)}},{key:"tween",value:function(){this.next=null;var _=new Date().getTime(),p=this.duration,y=_-this.startTime;if(y>=p){this.end();return}this.fn(this.getMultiplier(y/p)),this.next=a(this.tween.bind(this))}}]),h}(),f=["start","end","resume","pause","isRunning","isPaused"],d=(0,n.default)(function h(g,_){var p=this;(0,o.default)(this,h);var y=new u(g,_);f.forEach(function(O){p[O]=function(){return y[O]()}})});b.exports=d},510824:function(b,l,e){"use strict";var r=e(825473),o=["red","green","blue"],n=function(){for(var i=arguments.length,c=new Array(i),u=0;u<i;u++)c[u]=arguments[u];var f=[],d=1/c.length;c=c.map(function(g){return f.push(g.weight||d),typeof g=="string"?r(g):g});var h={};return o.forEach(function(g){h[g]=Math.round(c.reduce(function(_,p,y){return _+p[g]*f[y]},0))}),h.alpha=c.reduce(function(g,_,p){return g+_.alpha*f[p]},0),h};b.exports=n},447170:function(b){"use strict";var l={rgb:["red","green","blue","alpha"],hsl:["hue","saturation","lightness","alpha"],hsv:["hue","saturation","value","alpha"]};b.exports=l},609480:function(b,l,e){"use strict";var r=e(413238),o=e(447170),n=function(i,c,u){var f=r.hsv.hsl(i,c,u);return f.reduce(function(d,h,g){var _=o.hsl[g];return d[_]=h,d},{})};b.exports={hsvToHsl:n}},451318:function(b,l,e){"use strict";var r=e(825473);function o(n,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"rgb";if(typeof n!="string")throw new TypeError(n+" is not a valid string");return typeof a!="string"&&(a="transparent"),n=n.trim(),r(n,i)||r(a,i)}b.exports=o},804914:function(b,l,e){"use strict";b.exports={averageColors:e(510824),isDark:e(34944),isLight:e(797879),parseColor:e(825473),parseGradient:e(722583),getColor:e(451318),readDominantColor:e(837720),stackColors:e(228837),stringifyColor:e(968681),isHex:e(305921).isHex,isHsl:e(305921).isHsl,convert:e(609480)}},34944:function(b,l,e){"use strict";var r=e(825473),o=function(a){typeof a=="string"&&(a=r(a));var i=(a.red*299+a.green*587+a.blue*114)/1e3;return i<256*.65};b.exports=o},797879:function(b,l,e){"use strict";var r=e(34944),o=function(a){return!r(a)};b.exports=o},484227:function(b,l,e){"use strict";var r=e(797429);b.exports=new r("@sqs/utils/palette","green")},825473:function(b,l,e){"use strict";var r=e(69037),o=e(413238),n=e(447170),a=e(484227),i=function(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"rgb",d=arguments.length>2?arguments[2]:void 0;if(!Object.keys(n).includes(f))return a.error("Invalid color model: "+f),null;var h=r.get(u);if(!h)return null;var g=h.model,_=h.value,p=_;if(g!==f){var y=o[g][f],O=d===!0?y.raw(_):y(_);p=O.concat(_.slice(3))}return p.reduce(function(P,C,A){var S=n[f][A];return P[S]=C,P},{})};b.exports=i},722583:function(b,l,e){"use strict";var r=e(241225),o=r(e(680180)),n=e(791484),a=Object.keys(n),i=/\)$/,c=/(?:,\s*|\()(?!\s*\d)/,u=/\s(?=[.\w|%]+$)/,f=/(linear(-gradient)?|radial)/,d=function(g){g=g.replace(i,"").split(c);var _=g[0].match(f);if(!_)return null;var p=_[0],y=g[0].indexOf("repeating")>-1,O=g.slice(2).map(function(s){var v=s.split(u),m=(0,o.default)(v,2),E=m[0],I=m[1];return E&&I?{color:E,stop:I}:null}).filter(function(s){return s});if(O.length===0)return null;var P=g[1],C=P.split(u),A=(0,o.default)(C,2),S=A[0],T=A[1];return(S.search(/\d/)>-1||a.indexOf(S)>-1)&&O.unshift({color:S,stop:T}),{type:p,repeating:y,colorStops:O}};b.exports=d},837720:function(b){"use strict";var l=1,e=1,r=function(){var d=document.createElement("canvas");return d.width=l,d.height=e,d},o=function(d,h){var g=d.getContext("2d");g.fillStyle=h,g.fillRect(0,0,d.width,d.height)},n=function(d,h){d.getContext("2d").drawImage(h,0,0,d.width,d.height)},a=function(d,h){var g=d.getContext("2d").createLinearGradient(0,0,0,d.height);h.forEach(function(_){var p=_.color,y=_.stop;g.addColorStop(y,p)}),o(d,g)},i=function(d){d.getContext("2d").clearRect(0,0,d.width,d.height)},c=function(d){try{var h=d.getContext("2d").getImageData(0,0,d.width,d.height),g=h.data;return g}catch{return null}},u=function(d){var h=d.img,g=d.gradient,_=r();h?n(_,h):g&&a(_,g);var p=c(_);return i(_),p?{red:p[0],green:p[1],blue:p[2],alpha:p[3]/255}:null};b.exports=u},228837:function(b,l,e){"use strict";var r=e(451318),o=["red","green","blue"],n=function a(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transparent",c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"transparent";typeof i=="string"&&(i=r(i)),typeof c=="string"&&(c=r(c));var u=1-(1-i.alpha)*(1-c.alpha),f={alpha:u};u<.001?(o.forEach(function(_){f[_]=0}),f.alpha=0):o.forEach(function(_){f[_]=Math.round(i[_]*i.alpha+c[_]*(1-i.alpha))});for(var d=arguments.length,h=new Array(d>2?d-2:0),g=2;g<d;g++)h[g-2]=arguments[g];return h&&h.length>0?a.apply(void 0,[f].concat(h)):f};b.exports=n},968681:function(b,l,e){"use strict";var r=e(413238),o=e(69037),n=e(447170),a=e(484227),i=function(h){return Object.keys(n).find(function(g){return n[g].every(function(_){return h.hasOwnProperty(_)})})},c=function(h){var g=i(h),_=n[g].map(function(p){return h[p]});return{array:_,model:g}},u=function(h){if(h.alpha!==1)return a.error("Color must have alpha of 1 when stringifying to hex"),null;h=c(h);var g=h.array;if(h.model!=="rgb"){var _=r[h.model].rgb;g=_(h.array)}return o.to.hex(g)},f=function(h,g){if(h.alpha=typeof h.alpha=="number"?h.alpha:1,g==="hex")return u(h);if(h=c(h),g=g||h.model,!h.model)return a.error("Could not determine color model."),null;if(typeof o.to[g]!="function")return a.error("No color-string support for model "+g),null;if(g===h.model)return o.to[h.model](h.array);var _=r[h.model][g],p=_(h.array).concat(h.array.slice(3));return o.to[g](p)};b.exports=f},305921:function(b,l){"use strict";var e;e={value:!0},l.isHsl=l.isHex=void 0;var r=function(a){return a&&a.charAt&&a.charAt(0)==="#"};l.isHex=r;var o=function(a){return a&&a.substring&&a.substring(0,3)==="hsl"};l.isHsl=o},424546:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var o=r(e(589779));function n(a,i,c){i=(0,o.default)(i),c=typeof c>"u"||c===null?c:(0,o.default)(c);for(var u=a;u&&(!c||!c(u));){if(i(u))return u;u=u.parentElement}return null}b.exports=l.default},912459:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var o=r(e(424546));function n(a,i,c){return!a||!a.parentElement?null:(0,o.default)(a.parentElement,i,c)}b.exports=l.default},69141:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var o=r(e(589779));function n(a,i,c){i=typeof i>"u"||i===null?i:(0,o.default)(i),c=typeof c>"u"||c===null?c:(0,o.default)(c);var u=a;u=a.parentElement;for(var f=[];u&&(!c||!c(u));)(!i||i(u))&&f.push(u),u=u.parentElement;return f}b.exports=l.default},107180:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e={ELEMENT:1,TEXT:3,COMMENT:8,DOCUMENT:9,DOCTYPE:10,FRAGMENT:11},r=e;l.default=r,b.exports=l.default},589779:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var o=r(e(993990));function n(a){return typeof a=="string"?function(i){return(0,o.default)(i,a)}:"nodeType"in a?function(i){return i===a}:a}b.exports=l.default},171585:function(b,l,e){"use strict";var r=e(988482),o=r.addScrollListener,n=r.removeScrollListener,a=e(791252),i=new WeakMap,c=function(d,h,g){i.has(d)||i.set(d,a(d,!1,g)),i.get(d).forEach(function(_){o(_,h)})},u=function(d,h){i.has(d)&&i.get(d).forEach(function(g){n(g,h)})};b.exports={addScrollListenerToParents:c,removeScrollListenerFromParents:u}},988482:function(b,l,e){"use strict";var r=e(915020),o=e(684619),n=new WeakMap,a=function(u,f){if(n.has(u)){n.get(u).callbacks.push(f);return}var d=r(u),h=o(u),g={emitterNode:d,setterNode:h,listener:function(p){var y=g.setterNode,O=y.scrollTop,P=y.scrollLeft,C=g.scrollLeft-P,A=g.scrollTop-O;g.scrollTop=O,g.scrollLeft=P,g.callbacks.forEach(function(S){return S(C,A,p)})},callbacks:[f],scrollTop:h.scrollTop,scrollLeft:h.scrollLeft};d.addEventListener("scroll",g.listener),n.set(u,g)},i=function(u,f){var d=n.get(u);if(d){var h=d.callbacks,g=d.listener,_=d.emitterNode,p=h.indexOf(f);p>-1&&h.splice(p,1),h.length===0&&(_.removeEventListener("scroll",g),n.delete(u))}};b.exports={addScrollListener:a,removeScrollListener:i}},101179:function(b,l,e){"use strict";var r=e(105229),o={transition:"transitionend",OTransition:"otransitionend",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"}[r("transition")],n=function(c,u,f){return c.addEventListener(o,u,f),u},a=function(c,u,f){c.removeEventListener(o,u,f)};b.exports={addTransitionEndListener:n,removeTransitionEndListener:a}},521745:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=f;var o=r(e(279794)),n=r(e(45553));function a(d,h){var g=typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(!g){if(Array.isArray(d)||(g=i(d))||h&&d&&typeof d.length=="number"){g&&(d=g);var _=0,p=function(){};return{s:p,n:function(){return _>=d.length?{done:!0}:{done:!1,value:d[_++]}},e:function(A){throw A},f:p}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,O=!1,P;return{s:function(){g=g.call(d)},n:function(){var A=g.next();return y=A.done,A},e:function(A){O=!0,P=A},f:function(){try{!y&&g.return!=null&&g.return()}finally{if(O)throw P}}}}function i(d,h){if(d){if(typeof d=="string")return c(d,h);var g=Object.prototype.toString.call(d).slice(8,-1);if(g==="Object"&&d.constructor&&(g=d.constructor.name),g==="Map"||g==="Set")return Array.from(d);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return c(d,h)}}function c(d,h){(h==null||h>d.length)&&(h=d.length);for(var g=0,_=new Array(h);g<h;g++)_[g]=d[g];return _}function u(d,h){return d instanceof HTMLElement?d:typeof d=="string"?document.body.querySelector(d):d?(0,o.default)(document.body.querySelectorAll(n.default)).find(function(g){return h(g)}):null}function f(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=d.container,g=h===void 0?null:h,_=d.predicate,p=_===void 0?null:_,y=d.root,O=y===void 0?document.body:y,P=d.setFocusOnContain,C=P===void 0?!0:P,A=d.restoreFocusOnRevert,S=A===void 0?!0:A;if(!g&&!p||g&&p)throw new Error("One (and only one) of container and predicate must be set");g&&(p=function(E){return g.contains(E)});var T=document.activeElement,s=[],v=!1;return setTimeout(function(){if(!v){var m=O.querySelectorAll(n.default),E=a(m),I;try{for(E.s();!(I=E.n()).done;){var L=I.value;p(L)||(s.push({element:L,originalTabIndex:L.tabIndex}),L.tabIndex=-1)}}catch(F){E.e(F)}finally{E.f()}var W=u(C,p);W&&typeof W.focus=="function"&&W.focus()}},0),function(){v=!0;for(var E=0,I=s;E<I.length;E++){var L=I[E];L.element.tabIndex=L.originalTabIndex}S&&T&&typeof T.focus=="function"&&T.focus()}}b.exports=l.default},45553:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"iframe"].join(",");l.default=e,b.exports=l.default},999762:function(b,l,e){"use strict";var r,o=e(241225);r={value:!0},Object.defineProperty(l,"containFocus",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(l,"focusableSelector",{enumerable:!0,get:function(){return n.default}});var n=o(e(45553)),a=o(e(521745))},797429:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(279794)),n=r(e(668595)),a=r(e(675523)),i=!1;function c(){}function u(h,g){if(g&&typeof console[h]=="function"){for(var _,p=arguments.length,y=new Array(p>2?p-2:0),O=2;O<p;O++)y[O-2]=arguments[O];return(_=console[h]).bind.apply(_,[console].concat(y))}return c}var f=(0,n.default)(function h(g){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:i;(0,a.default)(this,h),this.start=u.apply(void 0,["groupCollapsed",p,g].concat((0,o.default)(_))),this.end=u("groupEnd",p)}),d=(0,n.default)(function h(g,_){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:i;(0,a.default)(this,h);var y="%c[".concat(g,"] %c"),O=["color: ".concat(_,"; font-weight: 300;"),"color: #000; font-weight: 400;"],P=[p,y].concat(O);this.error=u.apply(void 0,["error"].concat((0,o.default)(P))),this.info=u.apply(void 0,["info"].concat((0,o.default)(P))),this.log=u.apply(void 0,["log"].concat((0,o.default)(P))),this.warn=u.apply(void 0,["warn"].concat((0,o.default)(P))),this.group=function(C){return new f("".concat(y).concat(C),O,p)}});l.default=d,b.exports=l.default},254229:function(b){"use strict";var l=function(r,o,n){return Math.max(o,Math.min(r,n))};b.exports=l},235235:function(b){"use strict";var l=function(r){return typeof r=="number"&&!isNaN(r)&&isFinite(r)};b.exports=l},988590:function(b,l,e){"use strict";var r=e(235235),o=function(a,i){return r(a)?a:i};b.exports=o},105567:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.toLuma=l.toHsl=l.toHex=l.spin=l.lighten=l.isColor=l.hue=l.hsl=l.getColorModel=l.darken=void 0;var o=r(e(779291)),n=e(963218),a=function(O,P,C){return(0,o.default)({h:O,s:P,l:C}).toHexString()};l.hsl=a;var i=function(O){return(0,o.default)(O).toHsl().h};l.hue=i;var c=function(O,P){return(0,o.default)(O).spin(P).toHexString()};l.spin=c;var u=function(O){var P=(0,o.default)(O).toRgb(),C=P.r,A=P.g,S=P.b;return .2126*(C/255)+.7152*(A/255)+.0722*(S/255)};l.toLuma=u;var f=function(O){return(0,o.default)(O).toHexString()};l.toHex=f;var d=function(O){return(0,o.default)(O).toHslString()};l.toHsl=d;var h=function(O){return(0,o.default)(O).isValid()};l.isColor=h;var g=function(O,P){return(0,o.default)(O).lighten(P).toHexString()};l.lighten=g;var _=function(O,P){return(0,o.default)(O).darken(P).toHexString()};l.darken=_;var p=function(O){var P,C=(0,o.default)(O).getFormat();return(P=n.ColorModel[C])!==null&&P!==void 0?P:null};l.getColorModel=p},963218:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.SystemColorId=l.SYSTEM_COLOR_CONFIG_MAP=l.SYSTEM_COLOR_AS_ORDERED_ARRAY=l.SELECTOR_COLOR_AS_ORDERED_ARRAY=l.SEED_COLOR_ID=l.PaletteIdentifiers=l.HEX_WHITE=l.HEX_SALMON=l.HEX_BLACK=l.DEFAULT_LUMA_THRESHOLD_PERCENTAGE=l.ColorModel=void 0;var o=r(e(642979));function n(P,C){var A=Object.keys(P);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(P);C&&(S=S.filter(function(T){return Object.getOwnPropertyDescriptor(P,T).enumerable})),A.push.apply(A,S)}return A}function a(P){for(var C=1;C<arguments.length;C++){var A=arguments[C]!=null?arguments[C]:{};C%2?n(Object(A),!0).forEach(function(S){(0,o.default)(P,S,A[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(A)):n(Object(A)).forEach(function(S){Object.defineProperty(P,S,Object.getOwnPropertyDescriptor(A,S))})}return P}var i="#000000";l.HEX_BLACK=i;var c="#FFFFFF";l.HEX_WHITE=c;var u="#FFAABB";l.HEX_SALMON=u;var f=.34;l.DEFAULT_LUMA_THRESHOLD_PERCENTAGE=f;var d=function(P){return P.white="white",P.black="black",P.accent="accent",P.lightAccent="lightAccent",P.darkAccent="darkAccent",P.safeLightAccent="safeLightAccent",P.safeDarkAccent="safeDarkAccent",P.safeInverseAccent="safeInverseAccent",P.safeInverseLightAccent="safeInverseLightAccent",P.safeInverseDarkAccent="safeInverseDarkAccent",P}({});l.SystemColorId=d;var h=function(P){return P.hex="hex",P.hsl="hsl",P.rgb="rgb",P}({});l.ColorModel=h;var g=Object.freeze({white:{hideInSelector:!0,id:d.white,name:"White",order:0,readonly:!1,userVisible:!0},black:{hideInSelector:!0,id:d.black,name:"Black",order:1,readonly:!1,userVisible:!0},safeLightAccent:{hideInSelector:!1,id:d.safeLightAccent,name:"Safe\u2122 Light",order:2,readonly:!0,userVisible:!1},safeDarkAccent:{hideInSelector:!1,id:d.safeDarkAccent,name:"Safe\u2122 Dark",order:3,readonly:!0,userVisible:!1},safeInverseAccent:{hideInSelector:!1,id:d.safeInverseAccent,name:"Safe\u2122 Inverse",order:4,readonly:!0,userVisible:!1},safeInverseLightAccent:{hideInSelector:!1,id:d.safeInverseLightAccent,name:"Safe\u2122 Inverse Light",order:5,readonly:!0,userVisible:!1},safeInverseDarkAccent:{hideInSelector:!1,id:d.safeInverseDarkAccent,name:"Safe\u2122 Inverse Dark",order:6,readonly:!0,userVisible:!1},accent:{hideInSelector:!1,generatorSeed:!0,id:d.accent,name:"Accent",order:7,readonly:!1,userVisible:!0},lightAccent:{hideInSelector:!1,id:d.lightAccent,name:"Light",order:8,readonly:!1,userVisible:!0},darkAccent:{hideInSelector:!1,id:d.darkAccent,name:"Dark",order:9,readonly:!1,userVisible:!0}});l.SYSTEM_COLOR_CONFIG_MAP=g;var _=Object.values(g).sort(function(P,C){return P.order-C.order});l.SYSTEM_COLOR_AS_ORDERED_ARRAY=_;var p=_.map(function(P){var C=P.hideInSelector?!1:P.userVisible;return a(a({},P),{},{userVisible:C})});l.SELECTOR_COLOR_AS_ORDERED_ARRAY=p;var y=_.find(function(P){return P.generatorSeed}).id;l.SEED_COLOR_ID=y;var O=function(P){return P.Accent_EBFC72="#EBFC72",P.Accent_E8E1FD="#E8E1FD",P.Accent_FBE19F="#FBE19F",P.Accent_A4CA9A="#A4CA9A",P.Accent_E36B37="#E36B37",P.Accent_F598FF="#F598FF",P.Accent_DFE777="#DFE777",P.Accent_EFB071="#EFB071",P.Accent_C2BFCB="#C2BFCB",P.Accent_E55937="#E55937",P.Accent_D53D22="#D53D22",P.Accent_7BB5B2="#7BB5B2",P.Accent_F2B8B4="#F2B8B4",P.Accent_EAEC78="#EAEC78",P.Accent_9CE5C7="#9CE5C7",P.Accent_E9A843="#E9A843",P.Accent_A74D4A="#A74D4A",P.Accent_DCDCDC="#DCDCDC",P.Accent_D4967D="#D4967D",P.Accent_A8A6A1="#A8A6A1",P.Accent_9C8B7E="#9C8B7E",P.Accent_C79288="#C79288",P.Accent_E1CCBE="#E1CCBE",P.Accent_C8A47E="#C8A47E",P.Accent_A3826C="#A3826C",P.Accent_253551="#253551",P.Accent_8EB6DC="#8EB6DC",P.Accent_F48847="#F48847",P.Accent_F08E80="#F08E80",P.Accent_F1A638="#F1A638",P.Accent_FC221C="#FC221C",P.Accent_FF5E1A="#FF5E1A",P.Accent_209D50="#209D50",P.Accent_FFC700="#FFC700",P.Accent_0303AB="#0303AB",P.Accent_7877E6="#7877E6",P.Accent_8DD9BF="#8DD9BF",P.Accent_D9D9D9="#D9D9D9",P.Accent_BDB2C3="#BDB2C3",P.Accent_B9A590="#B9A590",P.Accent_D9B783="#D9B783",P.Accent_D0CDC8="#D0CDC8",P.Accent_CFCDC7="#CFCDC7",P.Accent_C2C8CC="#C2C8CC",P.Accent_ECF250="#ECF250",P.Accent_F5F374="#F5F374",P.Accent_CDB2E2="#CDB2E2",P.Accent_536C7C="#536C7C",P.Accent_AE9DEF="#AE9DEF",P.Accent_7FE8FF="#7FE8FF",P.Accent_DA5B37="#DA5B37",P.Accent_FF6123="#FF6123",P.Accent_9C9C9C="#9C9C9C",P.Accent_808080="#808080",P.Accent_BFBFBF="#BFBFBF",P.Accent_FEABDA="#FEABDA",P.Accent_DFEFFF="#DFEFFF",P.Accent_CFFF81="#CFFF81",P.Accent_AEDF1A="#AEDF1A",P.Accent_EC5C39="#EC5C39",P.Accent_8075FF="#8075FF",P.Accent_F1FFE0="#F1FFE0",P.Accent_00E5FF="#00E5FF",P}({});l.PaletteIdentifiers=O},3841:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.arePaletteColorValuesEqual=A,l.colorsArrayToMap=y,l.colorsMapToArray=_,l.default=void 0,l.filterPaletteColorsBySystemVisible=P,l.getPaletteColorById=L,l.getPaletteColorByValue=W,l.getPaletteColorString=F,l.getPaletteSeedColorString=G,l.isValidPaletteColorValue=T,l.logger=void 0,l.paletteMappingToCacheKey=p,l.parsePaletteColorValue=v,l.parsePaletteColorValues=m,l.sortColorsBySystemColorOrder=O,l.stringifyPaletteColorValue=E,l.stringifyPaletteColorValues=I;var o=r(e(406039)),n=r(e(642979)),a=r(e(680180)),i=r(e(555827)),c=e(963218),u=r(e(797429)),f=e(804914),d=e(105567);function h(x,M){var B=Object.keys(x);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(x);M&&(R=R.filter(function(U){return Object.getOwnPropertyDescriptor(x,U).enumerable})),B.push.apply(B,R)}return B}function g(x){for(var M=1;M<arguments.length;M++){var B=arguments[M]!=null?arguments[M]:{};M%2?h(Object(B),!0).forEach(function(R){(0,n.default)(x,R,B[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(B)):h(Object(B)).forEach(function(R){Object.defineProperty(x,R,Object.getOwnPropertyDescriptor(B,R))})}return x}function _(x){for(var M=[],B=0,R=Object.entries(x??{});B<R.length;B++){var U=(0,a.default)(R[B],2),j=U[0],$=U[1],ee=c.SystemColorId[j],te=v($);ee&&te&&M.push({id:ee,value:te})}return M}function p(x){return Object.keys(x).sort().map(function(M){return"".concat(M,":").concat(x[M])}).join("-")}function y(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return x.reduce(function(M,B){var R=B.id,U=B.value;return M[R]||(M[R]=E(U)),M},{})}function O(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c.SYSTEM_COLOR_AS_ORDERED_ARRAY,B=(0,i.default)(x,"id");return M.reduce(function(R,U){var j=U.id,$=B[j];return $&&R.push($),R},[])}function P(x){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c.SYSTEM_COLOR_AS_ORDERED_ARRAY,B=O(x==null?void 0:x.colors,M).filter(function(R){var U=R.id;return c.SYSTEM_COLOR_CONFIG_MAP[U].userVisible});return g(g({},x??{}),{},{colors:B})}var C=new u.default("@sqs/utils/palette","orange");l.logger=C;function A(x,M){var B,R,U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return(x==null?void 0:x.values.hue)===(M==null?void 0:M.values.hue)&&(x==null?void 0:x.values.saturation)===(M==null?void 0:M.values.saturation)&&(x==null?void 0:x.values.lightness)===(M==null?void 0:M.values.lightness)&&((B=x==null?void 0:x.values.alpha)!==null&&B!==void 0?B:1)===((R=M==null?void 0:M.values.alpha)!==null&&R!==void 0?R:1)&&(!U||(x==null?void 0:x.userFormat)===(M==null?void 0:M.userFormat))}var S=function(M,B,R){return!!(typeof M=="number"&&isFinite(M)&&M>=B&&M<=R)};function T(x){var M;return!!(x&&c.ColorModel[x.userFormat]&&x.values&&S(x.values.hue,0,360)&&S(x.values.saturation,0,100)&&S(x.values.lightness,0,100)&&S((M=x.values.alpha)!==null&&M!==void 0?M:1,0,1))}var s=function(M){return Math.round(M*100)/100};function v(x){var M;if(x==null)return null;if((0,o.default)(x)==="object")return T(x)?x:null;var B=(0,f.parseColor)(x,c.ColorModel.hsl,!0);return B?{userFormat:(M=(0,d.getColorModel)(x))!==null&&M!==void 0?M:c.ColorModel.hsl,values:g({hue:s(B.hue),saturation:s(B.saturation),lightness:s(B.lightness)},B.alpha!==1?{alpha:s(B.alpha)}:{})}:null}function m(x){return x.colors.map(function(M){return g(g({},M),{},{value:v(M.value)})})}function E(x){if(x&&(0,o.default)(x)==="object"){var M;return T(x)&&(M=(0,f.stringifyColor)(g({},x.values),x.userFormat))!==null&&M!==void 0?M:null}return x??null}function I(x){return x.colors.map(function(M){return g(g({},M),{},{value:E(M.value)})})}function L(x,M){var B;return(B=x==null?void 0:x.colors.find(function(R){return R.id===M}))!==null&&B!==void 0?B:null}function W(x,M){var B;if(M==null)return null;var R=typeof M=="string"?v(M):M;return(B=x==null?void 0:x.colors.find(function(U){return A(U.value,R,!0)}))!==null&&B!==void 0?B:null}function F(x,M){var B=L(x,M);return E(B==null?void 0:B.value)}function G(x){var M;return(M=F(x,c.SEED_COLOR_ID))!==null&&M!==void 0?M:c.HEX_SALMON}var k={colorsMapToArray:_,colorsArrayToMap:y,sortColorsBySystemColorOrder:O,filterPaletteColorsBySystemVisible:P,logger:C,paletteMappingToCacheKey:p,arePaletteColorValuesEqual:A,isValidPaletteColorValue:T,parsePaletteColorValue:v,parsePaletteColorValues:m,stringifyPaletteColorValue:E,stringifyPaletteColorValues:I,getPaletteColorById:L,getPaletteColorByValue:W,getPaletteColorString:F,getPaletteSeedColorString:G};l.default=k},406167:function(b){"use strict";var l=function(r){return r.scrollingElement||r.documentElement||r.body};b.exports=l},92980:function(b,l,e){"use strict";var r=e(480163),o=e(912459),n=e(107180),a=n.DOCUMENT,i=function(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return f&&r(u,d)?u:o(u,function(h){return r(h,d)},function(h){return h.nodeType===a})};b.exports=i},791252:function(b,l,e){"use strict";var r=e(480163),o=e(69141),n=e(107180),a=n.DOCUMENT,i=function(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=[];return f&&r(u,d)&&h.push(u),h.concat(o(u,function(g){return r(g,d)},function(g){return g.nodeType===a}))};b.exports=i},202467:function(b,l,e){"use strict";b.exports={getDocScrollNode:e(406167),getScrollParent:e(92980),getScrollParents:e(791252),isScrollableNode:e(480163),normalizeScrollEmitter:e(915020),normalizeScrollSetter:e(684619),scrollIntoView:e(598897),scrollTo:e(379835)}},480163:function(b,l,e){"use strict";var r=e(461761),o=e(952353),n=e(684619),a="auto",i="scroll",c="visible",u="HTML",f=function(g,_){return g===a||g===i||g===c&&_.nodeName===u},d=function(g){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!r(g,"ownerDocument.defaultView"))return!1;var p=o(g),y=p.overflowX,O=p.overflowY;if(_===!0)return f(O,g)||f(y,g);var P=n(g),C=P.scrollHeight,A=P.scrollWidth,S=P.clientHeight,T=P.clientWidth;return g.nodeName===u&&(S=Math.min(S,g.ownerDocument.defaultView.innerHeight),T=Math.min(T,g.ownerDocument.defaultView.innerWidth)),f(O,g)&&C>S||f(y,g)&&A>T};b.exports=d},915020:function(b){"use strict";var l=function(r){return r&&r.nodeName==="HTML"?r.ownerDocument:r};b.exports=l},684619:function(b,l,e){"use strict";var r=e(107180),o=r.DOCUMENT,n=e(406167),a=function(c){return c?c.nodeType===o?n(c):c.nodeName==="HTML"?n(c.ownerDocument):c:null};b.exports=a},598897:function(b,l,e){"use strict";var r=e(241225),o=r(e(737968)),n=r(e(642979)),a=["scrollNode","anchorToTopLeft","offset"];function i(A,S){var T=Object.keys(A);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(A);S&&(s=s.filter(function(v){return Object.getOwnPropertyDescriptor(A,v).enumerable})),T.push.apply(T,s)}return T}function c(A){for(var S=1;S<arguments.length;S++){var T=arguments[S]!=null?arguments[S]:{};S%2?i(Object(T),!0).forEach(function(s){(0,n.default)(A,s,T[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(T)):i(Object(T)).forEach(function(s){Object.defineProperty(A,s,Object.getOwnPropertyDescriptor(T,s))})}return A}var u=e(461761),f=e(684619),d=e(92980),h=e(379835),g=e(254229),_=e(988590),p=/(body|html)/i,y=function(S,T,s,v){return S[0]-s<T[0]||v&&S[1]+s>T[1]?Math.round(S[0]-T[0]-s):S[1]+s>T[1]?Math.round(S[1]-T[1]+s):0},O=function(S){var T=S.getClientRects()[0],s=S.ownerDocument.defaultView.innerWidth,v=S.ownerDocument.defaultView.innerHeight;p.test(S.nodeName)||(s=Math.min(S.clientWidth||S.scrollWidth,s),v=Math.min(S.clientHeight||S.scrollHeight,v));var m=T.left+S.scrollLeft,E=T.top+S.scrollTop;return{width:s,height:v,left:m,top:E,right:m+s,bottom:E+v}},P=function(S,T){typeof S=="boolean"&&(S={anchorToTopLeft:S});var s=S,v=s.scrollNode,m=s.offset;return v||(v=d(T)),v=f(v),m=_(m,30),c(c({},S),{},{scrollNode:v,offset:m})},C=function(S){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=P(T,S),v=s.scrollNode,m=s.anchorToTopLeft,E=s.offset,I=(0,o.default)(s,a);if(!v||!u(v,"ownerDocument.defaultView"))return null;var L=S.getClientRects()[0],W=O(v),F=y([L.left,L.right],[W.left,W.right],E,m),G=y([L.top,L.bottom],[W.top,W.bottom],E,m);if(Math.abs(F)<1&&Math.abs(G)<1)return null;var k=v.scrollWidth-W.width,x=v.scrollHeight-W.height;return h(v,{left:g(v.scrollLeft+F,0,k),top:g(v.scrollTop+G,0,x)},I)};b.exports=C},379835:function(b,l,e){"use strict";var r=e(684619),o=e(254229),n=e(235235),a=e(988590),i=e(49500),c=function(){},u=function(h,g,_){n(g)&&(h.scrollLeft=g),n(_)&&(h.scrollTop=_)},f=function(h,g){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};h=r(h);var p=typeof _.onEnd=="function"?_.onEnd:c,y=a(_.minDuration,50),O=a(_.maxDuration,50),P=_.easing;if(n(g)&&(g={top:g}),P===!1)return u(h,g.left,g.top),p(),null;var C={left:h.scrollLeft,top:h.scrollTop},A=[g.left-C.left,g.top-C.top],S=Math.max.apply(null,A.map(function(s){return Math.abs(s)}).filter(n));if(S<1)return p(),null;var T=new i(function(s){var v=C.left+s*A[0],m=C.top+s*A[1];u(h,v,m)},{onEnd:p,duration:o(S,y,O),easing:typeof P=="string"&&P?P:"easeOutSine"});return T.start(),T};b.exports=f},952353:function(b,l,e){"use strict";var r=e(461761),o=function(a){var i=r(a,"ownerDocument.defaultView");return i?i.getComputedStyle(a):{}};b.exports=o},105229:function(b,l,e){"use strict";var r=e(737012),o=["Moz","Webkit","Khtml","O","ms"],n={},a,i=function(d){var h=o.some(function(g){return d.indexOf(g)===0});return h?"-".concat(r(d)):r(d)},c=function(d,h){if(d=d.charAt(0).toUpperCase()+d.slice(1),a)return a+d;for(var g=0,_=o.length;g<_;g++){var p="".concat(o[g]).concat(d);if(typeof h[p]=="string")return a=o[g],p}},u=function(d){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n[d])return h?i(n[d]):n[d];var g=(document.documentElement||document.body).style;if(typeof g[d]!="string"){var _=c(d,g);if(_)return n[d]=_,h?"-".concat(r(_)):_}return n[d]=d,h?i(d):d};b.exports=u},57375:function(b,l,e){"use strict";e.d(l,{U:()=>c,Z:()=>i});var r=e(638204),o="video-player-react",n=function(f){return e(814694)("./".concat(o,".").concat(f,".yaml"))},a=(0,r.setupLibrary)(o,n),i=a.getI18nInstance,c=a.setI18nInstance},697400:function(b,l,e){"use strict";e.r(l),e.d(l,{VideoPlayerError:()=>r.hJ,VideoPreviewPlayer:()=>fe,buildVideoSrc:()=>r.Tj,buildThumbnailSrc:()=>r.ZJ,NativeVideoPlayer:()=>r.Y7,VideoPlayerErrorCode:()=>r.Iv,VideoPlayer:()=>Ee,VideoPlayerControls:()=>r.Vo,getEnvironment:()=>r.zj});var r=e(584873),o=e(160553),n=e.n(o),a=e(174161),i=e(675523),c=e.n(i),u=e(668595),f=e.n(u),d=e(20104),h=e.n(d),g=e(848664),_=e.n(g),p=e(590670),y=e.n(p),O=e(412166),P=e(719484),C=e(619461),A=e(59794),S=e(555912),T=e(57375),s=(0,T.Z)(),v=new A.default(s),m=new S.default(s),E=s.translate,I=s.pluralize,L=s.formatNumber,W=s.formatCurrency,F=s.formatCurrencyToParts,G=s.formatMoney,k=s.getCurrencySymbol,x=s.formatQuantity,M=s.formatDateTime,B=s.formatRelativeTime,R=v.T,U=v.Plural,j=v.FormattedNumber,$=v.FormattedCurrency,ee=v.FormattedMoney,te=v.FormattedDateTime,ie=v.RelativeTime,ne=m.formatIcuMessage,pe=function(){return a.createElement(O.Z,{alignItems:"center",justifyContent:"center",height:"100%"},a.createElement(C.Z,null),a.createElement(P.Z.Subtitle,{ml:1},a.createElement(R,{project:"video-player-react"},"Unable to load video. Try again later.")))};function oe(H,z,_e){return z=_()(z),h()(H,q()?Reflect.construct(z,_e||[],_()(H).constructor):z.apply(H,_e))}function q(){try{var H=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(q=function(){return!!H})()}var J=function(H){function z(_e){var ae;return c()(this,z),ae=oe(this,z,[_e]),ae.state={hasError:!1},ae}return y()(z,H),f()(z,[{key:"componentDidCatch",value:function(ae){var ge=this.props.onError;ge&&ge(r.hJ.fromError(ae))}},{key:"render",value:function(){return this.state.hasError?a.createElement(pe,null):this.props.children}}],[{key:"getDerivedStateFromError",value:function(){return{hasError:!0}}}])}(a.Component),me=e(294451),re=e.n(me),he=a.forwardRef(function(H,z){var _e=H.environment,ae=H.src,ge=H.thumbnailSrc,Be=H.options,Ke=H.events,He=H.context,ye=a.useRef(null);return a.useEffect(function(){var Le=ye.current;if(Le){if(!Le.videoPlayer){var Ue={environment:_e,src:ae,thumbnailSrc:ge,options:Be,events:Ke,context:He};new r.Y7(Le,Ue),typeof z=="function"?z(Le):z&&(z.current=Le)}return function(){var Xe;(Xe=Le.videoPlayer)===null||Xe===void 0||Xe.destroy()}}},[_e,ae,ge,Be,Ke,He,z]),a.createElement("div",{ref:ye,className:re().videoPlayer})}),Ee=a.forwardRef(function(H,z){var _e;return a.createElement(J,{onError:(_e=H.events)===null||_e===void 0?void 0:_e.onError},a.createElement(he,n()({ref:z},H)))}),fe=function(z){var _e=z.src;return a.createElement("div",{className:"".concat(re().videoPlayer," video-player video-player--video-preview")},a.createElement("div",{className:"plyr"},a.createElement("div",{className:"plyr__video-wrapper"},a.createElement("video",{src:_e,muted:!0,playsInline:!0}))))}},369202:function(b,l,e){"use strict";e.d(l,{U:()=>r.U});var r=e(57375)},814694:function(b,l,e){var r={"./video-player-react.en-US.yaml":"572856"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=814694},584873:function(b,l,e){"use strict";e.d(l,{DM:()=>ee,Iv:()=>_,b$:()=>h,Y7:()=>sh,hJ:()=>W,AC:()=>k,pZ:()=>j,Vo:()=>g,oI:()=>$,ZJ:()=>c,zj:()=>d,Tj:()=>u});var r=e(392338),o=e(221107),n=e(927215),a=e(410633),i=function(D,N){return D.replace("{variant}",N)},c=function(D,N){return N||i(D,"thumbnail")},u=function(D){return i(D.alexandriaUrl,"playlist.m3u8")},f={Production:"PRODUCTION",Staging:"STAGING",QA:"QA",Dev:"DEV"},d=function(){var D,N,Z,ve=(D=(N=(Z=window.Static)===null||Z===void 0||(Z=Z.SQUARESPACE_CONTEXT)===null||Z===void 0?void 0:Z.appDomain)!==null&&N!==void 0?N:window.location.host)!==null&&D!==void 0?D:"",je=function(){return/localhost(:[0-9]+)?$/.test(ve)},pt=function(){return/dev\.(sqsp|squarespace)\.net$/.test(ve)},Nt=function(){return/qa[0-9]+\.(sqsp|squarespace)\.net$/.test(ve)},hn=function(){return/stage\.(sqsp|squarespace)\.net$/.test(ve)};return pt()||je()?f.Dev:Nt()?f.QA:hn()?f.Staging:f.Production},h="2.5.0",g={None:"none",Minimal:"minimal",Full:"full"},_={VideoAbortedByUser:"VIDEO_ABORTED_BY_USER",VideoCouldNotBeAccessed:"VIDEO_COULD_NOT_BE_ACCESSED",VideoCouldNotBeDecoded:"VIDEO_COULD_NOT_BE_DECODED",VideoCouldNotBePlayed:"VIDEO_COULD_NOT_BE_PLAYED",VideoPlaybackDriverUnsupported:"VIDEO_PLAYBACK_DRIVER_UNSUPPORTED",InvalidConfiguration:"VIDEO_PLAYER_INVALID_CONFIGURATION",UnknownMediaError:"VIDEO_PLAYER_UNKNOWN_MEDIA_ERROR",UnexpectedError:"VIDEO_PLAYER_UNEXPECTED_ERROR",UnauthorizedError:"VIDEO_PLAYER_UNAUTHORIZED"},p=e(675523),y=e.n(p),O=e(668595),P=e.n(O),C=e(20104),A=e.n(C),S=e(848664),T=e.n(S),s=e(590670),v=e.n(s),m=e(778978),E=e.n(m);function I(Et,D,N){return D=T()(D),A()(Et,L()?Reflect.construct(D,N||[],T()(Et).constructor):D.apply(Et,N))}function L(){try{var Et=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(L=function(){return!!Et})()}var W=function(Et){function D(N,Z){var ve;return y()(this,D),ve=I(this,D,[Z]),ve.code=N,ve.name="VideoPlayerError",ve}return v()(D,Et),P()(D,null,[{key:"fromError",value:function(Z){var ve;return Z instanceof D?Z:Z instanceof MediaError?this.fromMediaError(Z):new D(_.UnexpectedError,(ve=Z==null?void 0:Z.message)!==null&&ve!==void 0?ve:void 0)}},{key:"fromMediaError",value:function(Z){var ve,je=D.mapMediaErrorCode(Z);return new D(je,(ve=Z==null?void 0:Z.message)!==null&&ve!==void 0?ve:void 0)}},{key:"fromPlayerMedia",value:function(Z){var ve=Z instanceof HTMLVideoElement?Z.error:void 0;return ve===null?new D(_.UnknownMediaError):ve?D.fromMediaError(ve):new D(_.UnexpectedError)}},{key:"mapMediaErrorCode",value:function(Z){switch(Z.code){case MediaError.MEDIA_ERR_ABORTED:return _.VideoAbortedByUser;case MediaError.MEDIA_ERR_NETWORK:return _.VideoCouldNotBeAccessed;case MediaError.MEDIA_ERR_DECODE:return _.VideoCouldNotBeDecoded;case MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED:return _.VideoCouldNotBePlayed;default:return _.UnknownMediaError}}}])}(E()(Error)),F=e(642979),G=e.n(F),k={Watching:"watching",Paused:"paused",Seeked:"seeked",Ended:"ended",Abandoned:"abandoned"};function x(Et,D){var N=Object.keys(Et);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(Et);D&&(Z=Z.filter(function(ve){return Object.getOwnPropertyDescriptor(Et,ve).enumerable})),N.push.apply(N,Z)}return N}function M(Et){for(var D=1;D<arguments.length;D++){var N=arguments[D]!=null?arguments[D]:{};D%2?x(Object(N),!0).forEach(function(Z){G()(Et,Z,N[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Et,Object.getOwnPropertyDescriptors(N)):x(Object(N)).forEach(function(Z){Object.defineProperty(Et,Z,Object.getOwnPropertyDescriptor(N,Z))})}return Et}var B=function(){function Et(){y()(this,Et)}return P()(Et,null,[{key:"makeSegmentForNewSession",value:function(N,Z){return{viewSessionId:N,startPosition:Z,progressStartPosition:Z,progressEndPosition:Z}}},{key:"startPositionUpdated",value:function(N,Z){return M(M({},N),{},{progressStartPosition:Z,progressEndPosition:Z})}},{key:"endPositionUpdated",value:function(N,Z){return M(M({},N),{},{progressEndPosition:Z})}}])}();function R(Et,D){var N=Object.keys(Et);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(Et);D&&(Z=Z.filter(function(ve){return Object.getOwnPropertyDescriptor(Et,ve).enumerable})),N.push.apply(N,Z)}return N}function U(Et){for(var D=1;D<arguments.length;D++){var N=arguments[D]!=null?arguments[D]:{};D%2?R(Object(N),!0).forEach(function(Z){G()(Et,Z,N[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Et,Object.getOwnPropertyDescriptors(N)):R(Object(N)).forEach(function(Z){Object.defineProperty(Et,Z,Object.getOwnPropertyDescriptor(N,Z))})}return Et}var j=function(){function Et(D){var N=this;y()(this,Et),G()(this,"hasPlayed",!1),G()(this,"onPlay",function(){N.hasPlayed=!0}),G()(this,"onTimeUpdate",function(Z,ve){if(Et.isSeeking(Z,N.segmentData)){N.onSeeked(Z,ve);return}N.segmentData=B.endPositionUpdated(N.segmentData,Z),Et.shouldReportSegment(N.segmentData)&&(N.options.onSendProgressEvent(U(U({},N.segmentData),{},{progressTriggerReason:k.Watching,currentPosition:Z})),N.segmentData=B.startPositionUpdated(N.segmentData,Z))}),G()(this,"onPause",function(Z,ve){Z>=ve||(N.segmentData=B.endPositionUpdated(N.segmentData,Z),N.options.onSendProgressEvent(U(U({},N.segmentData),{},{progressTriggerReason:k.Paused,currentPosition:Z})),N.segmentData=B.startPositionUpdated(N.segmentData,Z))}),G()(this,"onEnd",function(Z){N.segmentData=B.endPositionUpdated(N.segmentData,Z),N.options.onSendProgressEvent(U(U({},N.segmentData),{},{progressTriggerReason:k.Ended,currentPosition:Z}))}),G()(this,"onPlayerAbandoned",function(){var Z=N.segmentData.progressEndPosition-N.segmentData.progressStartPosition>0;Z&&(N.options.onSendProgressEvent(U(U({},N.segmentData),{},{progressTriggerReason:k.Abandoned,currentPosition:N.segmentData.progressEndPosition})),N.segmentData=B.startPositionUpdated(N.segmentData,N.segmentData.progressEndPosition))}),G()(this,"onNewViewSessionId",function(Z){N.viewSessionId=Z}),this.options=D,this.viewSessionId=D.initialViewSessionId,this.segmentData=B.makeSegmentForNewSession(this.viewSessionId,0)}return P()(Et,[{key:"onSeeked",value:function(N,Z){if(!this.hasPlayed){this.segmentData=B.makeSegmentForNewSession(this.viewSessionId,N);return}var ve=this.segmentData.progressEndPosition/Z,je=N/Z,pt=ve>=1,Nt=pt&&je===0;Nt||this.options.onSendProgressEvent(U(U({},this.segmentData),{},{progressTriggerReason:k.Seeked,currentPosition:N})),this.segmentData=B.startPositionUpdated(this.segmentData,N),pt&&je<1&&(this.viewSessionId=this.options.requestNewSession(),this.segmentData=B.makeSegmentForNewSession(this.viewSessionId,N))}}],[{key:"shouldReportSegment",value:function(N){var Z=N.progressEndPosition-N.progressStartPosition;return Z>=Et.ReportAfterSecondsViewed}},{key:"isSeeking",value:function(N,Z){var ve=Math.abs(N-Z.progressEndPosition);return ve>=Et.SeekTimeBufferInSeconds}}])}();G()(j,"SeekTimeBufferInSeconds",1.5),G()(j,"ReportAfterSecondsViewed",10);var $=P()(function Et(D){var N=this;y()(this,Et),G()(this,"isPlayerReady",!1),G()(this,"hasViewedPlayer",!1),G()(this,"onReady",function(){N.isPlayerReady=!0}),G()(this,"onPlayerViewed",function(){N.hasViewedPlayer||!N.isPlayerReady||(N.options.onSendViewEvent({viewSessionId:N.viewSessionId}),N.hasViewedPlayer=!0)}),G()(this,"onNewViewSessionId",function(Z){N.viewSessionId=Z}),this.options=D,this.viewSessionId=D.initialViewSessionId}),ee=function(){function Et(){y()(this,Et)}return P()(Et,[{key:"makeEventHooks",value:function(){var N=this;return{onReady:function(){return N.onReady()},onPlay:function(ve,je){return N.onPlay(ve,je)},onTimeUpdate:function(ve,je){return N.onTimeUpdate(ve,je)},onPause:function(ve,je){return N.onPause(ve,je)},onEnd:function(ve,je){return N.onEnd(ve,je)},onSeek:function(ve,je){return N.onSeek(ve,je)},onPaywallCtaClick:function(){return N.onPaywallCtaClick()}}}},{key:"onReady",value:function(){this.trackers.forEach(function(N){var Z;return(Z=N.onReady)===null||Z===void 0?void 0:Z.call(N)})}},{key:"onPlay",value:function(N,Z){this.trackers.forEach(function(ve){var je;return(je=ve.onPlay)===null||je===void 0?void 0:je.call(ve,N,Z)})}},{key:"onTimeUpdate",value:function(N,Z){this.trackers.forEach(function(ve){var je;return(je=ve.onTimeUpdate)===null||je===void 0?void 0:je.call(ve,N,Z)})}},{key:"onPause",value:function(N,Z){this.trackers.forEach(function(ve){var je;return(je=ve.onPause)===null||je===void 0?void 0:je.call(ve,N,Z)})}},{key:"onEnd",value:function(N,Z){this.trackers.forEach(function(ve){var je;return(je=ve.onEnd)===null||je===void 0?void 0:je.call(ve,N,Z)})}},{key:"onSeek",value:function(N,Z){this.trackers.forEach(function(ve){var je;return(je=ve.onSeek)===null||je===void 0?void 0:je.call(ve,N,Z)})}},{key:"onPaywallCtaClick",value:function(){this.trackers.forEach(function(N){var Z;return(Z=N.onPaywallCtaClick)===null||Z===void 0?void 0:Z.call(N)})}},{key:"onNewSessionId",value:function(N){this.trackers.forEach(function(Z){var ve;return(ve=Z.onNewViewSessionId)===null||ve===void 0?void 0:ve.call(Z,N)})}}])}(),te=e(279794),ie=e.n(te),ne=e(375377),pe=e.n(ne),oe=e(457728),q=e.n(oe),J=e(91913),me=e.n(J),re="data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAOEbW9vdgAAAGxtdmhkAAAAANOs4tLTrOLSAAAD6AAAA+gAAQAAAQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAABhpb2RzAAAAABCAgIAHAE/////+/wAAAoh0cmFrAAAAXHRraGQAAAAD06zi0tOs4tIAAAABAAAAAAAAA+gAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAACAAAAAUAAAAAAAkZWR0cwAAABxlbHN0AAAAAAAAAAEAAAPoAACMoAABAAAAAAIAbWRpYQAAACBtZGhkAAAAANOs4tLTrOLSAAFfkAABX5BVxAAAAAAALWhkbHIAAAAAAAAAAHZpZGUAAAAAAAAAAAAAAABWaWRlb0hhbmRsZXIAAAABq21pbmYAAAAUdm1oZAAAAAEAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAAWtzdGJsAAAAl3N0c2QAAAAAAAAAAQAAAIdhdmMxAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAACAAFABIAAAASAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGP//AAAAMWF2Y0MBTUAo/+EAGWdNQCjspL881AQEBQAAAwABAAK/IA8YMZYBAAVo74GfIAAAABhzdHRzAAAAAAAAAAEAAAAFAABGUAAAABRzdHNzAAAAAAAAAAEAAAABAAAAOGN0dHMAAAAAAAAABQAAAAEAAIygAAAAAQABX5AAAAABAACMoAAAAAEAAAAAAAAAAQAARlAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAKHN0c3oAAAAAAAAAAAAAAAUAAAMQAAAADAAAAAsAAAALAAAACwAAACRzdGNvAAAAAAAAAAUAAAO0AAAGxAAABtAAAAbbAAAG5gAAAHB1ZHRhAAAAaG1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAAO2lsc3QAAAAzqXRvbwAAACtkYXRhAAAAAQAAAABIYW5kQnJha2UgMC4xMC41IDIwMTYwMjExMDAAAAAIZnJlZQAAA0VtZGF0AAAC8AYF///s3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE0MiByMjQ3OSBkZDc5YTYxIC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAxNCAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTEgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDExMSBtZT1oZXggc3VibWU9MiBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0wIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MCA4eDhkY3Q9MCBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0wIHRocmVhZHM9NiBsb29rYWhlYWRfdGhyZWFkcz0xIHNsaWNlZF90aHJlYWRzPTAgbnI9MCBkZWNpbWF0ZT0xIGludGVybGFjZWQ9MCBibHVyYXlfY29tcGF0PTAgY29uc3RyYWluZWRfaW50cmE9MCBiZnJhbWVzPTMgYl9weXJhbWlkPTIgYl9hZGFwdD0xIGJfYmlhcz0wIGRpcmVjdD0xIHdlaWdodGI9MSBvcGVuX2dvcD0wIHdlaWdodHA9MSBrZXlpbnQ9NTAga2V5aW50X21pbj01IHNjZW5lY3V0PTQwIGludHJhX3JlZnJlc2g9MCByY19sb29rYWhlYWQ9MTAgcmM9Y3JmIG1idHJlZT0xIGNyZj0xLjAgcWNvbXA9MC42MCBxcG1pbj0wIHFwbWF4PTY5IHFwc3RlcD00IHZidl9tYXhyYXRlPTIwMDAwIHZidl9idWZzaXplPTI1MDAwIGNyZl9tYXg9MC4wIG5hbF9ocmQ9bm9uZSBmaWxsZXI9MCBpcF9yYXRpbz0xLjQwIGFxPTE6MS4wMACAAAAAGGWIhAH/+n/CVf/Y9kSiv//ffLnuYgWj/wAAAAhBmiQYv/7a4AAAAAdBnkJC/xXRAAAABwGeYUX/FdAAAAAHAZ5jRf8V0Q==",he={PlayLarge:"play-large",Restart:"restart",Rewind:"rewind",Play:"play",FastForward:"fast-forward",Progress:"progress",CurrentTime:"current-time",Duration:"duration",Mute:"mute",Volume:"volume",Captions:"captions",Settings:"settings",PiP:"pip",AirPlay:"airplay",Download:"download",Fullscreen:"fullscreen"},Ee={Play:"play",Time:"time",Mute:"mute",Volume:"volume",Settings:"settings",Fullscreen:"fullscreen",Progress:"progress",LoadingIndicator:"loading-indicator",NavigationIndicators:"navigation-indicators"},fe=G()(G()(G()({},g.None,[]),g.Minimal,[Ee.Play,Ee.Progress,Ee.LoadingIndicator]),g.Full,Object.values(Ee)),H={Quality:"quality",Speed:"speed",Captions:"captions",Loop:"loop"},z=[.5,.75,1,1.25,1.5,1.75,2],_e=function(){function Et(D,N,Z){var ve=this;y()(this,Et),G()(this,"embedVideoAspectRatio",16/9),G()(this,"embedWrapperClassName","video-player__embed--fixed-width"),this.videoPlayerElement=D,this.player=N,this.isExternalProvider=Z,Z&&N.once("ready",function(){ve.embedWrapper=N.elements.wrapper,ve.forceEmbedAspectRatio(),ve.resizeObserver=new ResizeObserver(function(){return ve.forceEmbedAspectRatio()}),ve.resizeObserver.observe(D)})}return P()(Et,[{key:"destroy",value:function(){var N;(N=this.resizeObserver)===null||N===void 0||N.disconnect(),this.clearEmbedWrapperStyles()}},{key:"forceEmbedAspectRatio",value:function(){var N=this.videoPlayerElement.clientWidth,Z=this.videoPlayerElement.clientHeight,ve=Math.round(Z*this.embedVideoAspectRatio);N>ve?this.setEmbedWrapperStyles(ve):this.clearEmbedWrapperStyles()}},{key:"setEmbedWrapperStyles",value:function(N){this.embedWrapper&&(this.embedWrapper.classList.add(this.embedWrapperClassName),this.embedWrapper.style.width="".concat(N,"px"))}},{key:"clearEmbedWrapperStyles",value:function(){this.embedWrapper&&(this.embedWrapper.classList.remove(this.embedWrapperClassName),this.embedWrapper.style.width="")}}])}();function ae(Et,D){var N=Object.keys(Et);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(Et);D&&(Z=Z.filter(function(ve){return Object.getOwnPropertyDescriptor(Et,ve).enumerable})),N.push.apply(N,Z)}return N}function ge(Et){for(var D=1;D<arguments.length;D++){var N=arguments[D]!=null?arguments[D]:{};D%2?ae(Object(N),!0).forEach(function(Z){G()(Et,Z,N[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Et,Object.getOwnPropertyDescriptors(N)):ae(Object(N)).forEach(function(Z){Object.defineProperty(Et,Z,Object.getOwnPropertyDescriptor(N,Z))})}return Et}var Be={YouTube:"youtube",Vimeo:"vimeo"},Ke={HlsJs:"hls-js",NativeHls:"native-hls"},He=ge(ge({},Be),Ke);function ye(Et){return Et&&Et.__esModule&&Object.prototype.hasOwnProperty.call(Et,"default")?Et.default:Et}var Le={exports:{}};(function(Et,D){(function(N){var Z=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,ve=/^(?=([^\/?#]*))\1([^]*)$/,je=/(?:\/|^)\.(?=\/)/g,pt=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,Nt={buildAbsoluteURL:function(hn,gn,Xn){if(Xn=Xn||{},hn=hn.trim(),gn=gn.trim(),!gn){if(!Xn.alwaysNormalize)return hn;var pr=Nt.parseURL(hn);if(!pr)throw new Error("Error trying to parse base URL.");return pr.path=Nt.normalizePath(pr.path),Nt.buildURLFromParts(pr)}var Zr=Nt.parseURL(gn);if(!Zr)throw new Error("Error trying to parse relative URL.");if(Zr.scheme)return Xn.alwaysNormalize?(Zr.path=Nt.normalizePath(Zr.path),Nt.buildURLFromParts(Zr)):gn;var oo=Nt.parseURL(hn);if(!oo)throw new Error("Error trying to parse base URL.");if(!oo.netLoc&&oo.path&&oo.path[0]!=="/"){var vo=ve.exec(oo.path);oo.netLoc=vo[1],oo.path=vo[2]}oo.netLoc&&!oo.path&&(oo.path="/");var Fo={scheme:oo.scheme,netLoc:Zr.netLoc,path:null,params:Zr.params,query:Zr.query,fragment:Zr.fragment};if(!Zr.netLoc&&(Fo.netLoc=oo.netLoc,Zr.path[0]!=="/"))if(!Zr.path)Fo.path=oo.path,Zr.params||(Fo.params=oo.params,Zr.query||(Fo.query=oo.query));else{var Go=oo.path,pa=Go.substring(0,Go.lastIndexOf("/")+1)+Zr.path;Fo.path=Nt.normalizePath(pa)}return Fo.path===null&&(Fo.path=Xn.alwaysNormalize?Nt.normalizePath(Zr.path):Zr.path),Nt.buildURLFromParts(Fo)},parseURL:function(hn){var gn=Z.exec(hn);return gn?{scheme:gn[1]||"",netLoc:gn[2]||"",path:gn[3]||"",params:gn[4]||"",query:gn[5]||"",fragment:gn[6]||""}:null},normalizePath:function(hn){for(hn=hn.split("").reverse().join("").replace(je,"");hn.length!==(hn=hn.replace(pt,"")).length;);return hn.split("").reverse().join("")},buildURLFromParts:function(hn){return hn.scheme+hn.netLoc+hn.path+hn.params+hn.query+hn.fragment}};Et.exports=Nt})()})(Le);var Ue=Le.exports;function Xe(Et,D){var N=Object.keys(Et);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(Et);D&&(Z=Z.filter(function(ve){return Object.getOwnPropertyDescriptor(Et,ve).enumerable})),N.push.apply(N,Z)}return N}function Fe(Et){for(var D=1;D<arguments.length;D++){var N=arguments[D]!=null?arguments[D]:{};D%2?Xe(Object(N),!0).forEach(function(Z){ht(Et,Z,N[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Et,Object.getOwnPropertyDescriptors(N)):Xe(Object(N)).forEach(function(Z){Object.defineProperty(Et,Z,Object.getOwnPropertyDescriptor(N,Z))})}return Et}function ht(Et,D,N){return D=we(D),D in Et?Object.defineProperty(Et,D,{value:N,enumerable:!0,configurable:!0,writable:!0}):Et[D]=N,Et}function Ne(){return Ne=Object.assign?Object.assign.bind():function(Et){for(var D=1;D<arguments.length;D++){var N=arguments[D];for(var Z in N)Object.prototype.hasOwnProperty.call(N,Z)&&(Et[Z]=N[Z])}return Et},Ne.apply(this,arguments)}function Ce(Et,D){if(typeof Et!="object"||Et===null)return Et;var N=Et[Symbol.toPrimitive];if(N!==void 0){var Z=N.call(Et,D||"default");if(typeof Z!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(D==="string"?String:Number)(Et)}function we(Et){var D=Ce(Et,"string");return typeof D=="symbol"?D:String(D)}const $e=Number.isFinite||function(Et){return typeof Et=="number"&&isFinite(Et)},Ot=Number.isSafeInteger||function(Et){return typeof Et=="number"&&Math.abs(Et)<=Pt},Pt=Number.MAX_SAFE_INTEGER||9007199254740991;let Ie=function(Et){return Et.MEDIA_ATTACHING="hlsMediaAttaching",Et.MEDIA_ATTACHED="hlsMediaAttached",Et.MEDIA_DETACHING="hlsMediaDetaching",Et.MEDIA_DETACHED="hlsMediaDetached",Et.BUFFER_RESET="hlsBufferReset",Et.BUFFER_CODECS="hlsBufferCodecs",Et.BUFFER_CREATED="hlsBufferCreated",Et.BUFFER_APPENDING="hlsBufferAppending",Et.BUFFER_APPENDED="hlsBufferAppended",Et.BUFFER_EOS="hlsBufferEos",Et.BUFFER_FLUSHING="hlsBufferFlushing",Et.BUFFER_FLUSHED="hlsBufferFlushed",Et.MANIFEST_LOADING="hlsManifestLoading",Et.MANIFEST_LOADED="hlsManifestLoaded",Et.MANIFEST_PARSED="hlsManifestParsed",Et.LEVEL_SWITCHING="hlsLevelSwitching",Et.LEVEL_SWITCHED="hlsLevelSwitched",Et.LEVEL_LOADING="hlsLevelLoading",Et.LEVEL_LOADED="hlsLevelLoaded",Et.LEVEL_UPDATED="hlsLevelUpdated",Et.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",Et.LEVELS_UPDATED="hlsLevelsUpdated",Et.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",Et.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",Et.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",Et.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",Et.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",Et.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",Et.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",Et.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",Et.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",Et.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",Et.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",Et.CUES_PARSED="hlsCuesParsed",Et.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",Et.INIT_PTS_FOUND="hlsInitPtsFound",Et.FRAG_LOADING="hlsFragLoading",Et.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",Et.FRAG_LOADED="hlsFragLoaded",Et.FRAG_DECRYPTED="hlsFragDecrypted",Et.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",Et.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",Et.FRAG_PARSING_METADATA="hlsFragParsingMetadata",Et.FRAG_PARSED="hlsFragParsed",Et.FRAG_BUFFERED="hlsFragBuffered",Et.FRAG_CHANGED="hlsFragChanged",Et.FPS_DROP="hlsFpsDrop",Et.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",Et.ERROR="hlsError",Et.DESTROYING="hlsDestroying",Et.KEY_LOADING="hlsKeyLoading",Et.KEY_LOADED="hlsKeyLoaded",Et.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",Et.BACK_BUFFER_REACHED="hlsBackBufferReached",Et}({}),Bt=function(Et){return Et.NETWORK_ERROR="networkError",Et.MEDIA_ERROR="mediaError",Et.KEY_SYSTEM_ERROR="keySystemError",Et.MUX_ERROR="muxError",Et.OTHER_ERROR="otherError",Et}({}),mt=function(Et){return Et.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",Et.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",Et.KEY_SYSTEM_NO_SESSION="keySystemNoSession",Et.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",Et.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",Et.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",Et.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",Et.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",Et.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",Et.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",Et.MANIFEST_LOAD_ERROR="manifestLoadError",Et.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",Et.MANIFEST_PARSING_ERROR="manifestParsingError",Et.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",Et.LEVEL_EMPTY_ERROR="levelEmptyError",Et.LEVEL_LOAD_ERROR="levelLoadError",Et.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",Et.LEVEL_PARSING_ERROR="levelParsingError",Et.LEVEL_SWITCH_ERROR="levelSwitchError",Et.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",Et.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",Et.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",Et.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",Et.FRAG_LOAD_ERROR="fragLoadError",Et.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",Et.FRAG_DECRYPT_ERROR="fragDecryptError",Et.FRAG_PARSING_ERROR="fragParsingError",Et.FRAG_GAP="fragGap",Et.REMUX_ALLOC_ERROR="remuxAllocError",Et.KEY_LOAD_ERROR="keyLoadError",Et.KEY_LOAD_TIMEOUT="keyLoadTimeOut",Et.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",Et.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",Et.BUFFER_APPEND_ERROR="bufferAppendError",Et.BUFFER_APPENDING_ERROR="bufferAppendingError",Et.BUFFER_STALLED_ERROR="bufferStalledError",Et.BUFFER_FULL_ERROR="bufferFullError",Et.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",Et.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",Et.INTERNAL_EXCEPTION="internalException",Et.INTERNAL_ABORTED="aborted",Et.UNKNOWN="unknown",Et}({});const rt=function(){},ce={trace:rt,debug:rt,log:rt,warn:rt,info:rt,error:rt};let Re=ce;function nt(Et){const D=self.console[Et];return D?D.bind(self.console,`[${Et}] >`):rt}function st(Et,...D){D.forEach(function(N){Re[N]=Et[N]?Et[N].bind(Et):nt(N)})}function vt(Et,D){if(self.console&&Et===!0||typeof Et=="object"){st(Et,"debug","log","info","warn","error");try{Re.log(`Debug logs enabled for "${D}" in hls.js version 1.4.13`)}catch{Re=ce}}else Re=ce}const ze=Re,It=/^(\d+)x(\d+)$/,on=/(.+?)=(".*?"|.*?)(?:,|$)/g;class Pn{constructor(D){typeof D=="string"&&(D=Pn.parseAttrList(D));for(const N in D)D.hasOwnProperty(N)&&(N.substring(0,2)==="X-"&&(this.clientAttrs=this.clientAttrs||[],this.clientAttrs.push(N)),this[N]=D[N])}decimalInteger(D){const N=parseInt(this[D],10);return N>Number.MAX_SAFE_INTEGER?1/0:N}hexadecimalInteger(D){if(this[D]){let N=(this[D]||"0x").slice(2);N=(N.length&1?"0":"")+N;const Z=new Uint8Array(N.length/2);for(let ve=0;ve<N.length/2;ve++)Z[ve]=parseInt(N.slice(ve*2,ve*2+2),16);return Z}else return null}hexadecimalIntegerAsNumber(D){const N=parseInt(this[D],16);return N>Number.MAX_SAFE_INTEGER?1/0:N}decimalFloatingPoint(D){return parseFloat(this[D])}optionalFloat(D,N){const Z=this[D];return Z?parseFloat(Z):N}enumeratedString(D){return this[D]}bool(D){return this[D]==="YES"}decimalResolution(D){const N=It.exec(this[D]);if(N!==null)return{width:parseInt(N[1],10),height:parseInt(N[2],10)}}static parseAttrList(D){let N;const Z={},ve='"';for(on.lastIndex=0;(N=on.exec(D))!==null;){let je=N[2];je.indexOf(ve)===0&&je.lastIndexOf(ve)===je.length-1&&(je=je.slice(1,-1));const pt=N[1].trim();Z[pt]=je}return Z}}function Yn(Et){return Et!=="ID"&&Et!=="CLASS"&&Et!=="START-DATE"&&Et!=="DURATION"&&Et!=="END-DATE"&&Et!=="END-ON-NEXT"}function Ln(Et){return Et==="SCTE35-OUT"||Et==="SCTE35-IN"}class bn{constructor(D,N){if(this.attr=void 0,this._startDate=void 0,this._endDate=void 0,this._badValueForSameId=void 0,N){const Z=N.attr;for(const ve in Z)if(Object.prototype.hasOwnProperty.call(D,ve)&&D[ve]!==Z[ve]){ze.warn(`DATERANGE tag attribute: "${ve}" does not match for tags with ID: "${D.ID}"`),this._badValueForSameId=ve;break}D=Ne(new Pn({}),Z,D)}if(this.attr=D,this._startDate=new Date(D["START-DATE"]),"END-DATE"in this.attr){const Z=new Date(this.attr["END-DATE"]);$e(Z.getTime())&&(this._endDate=Z)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get startDate(){return this._startDate}get endDate(){if(this._endDate)return this._endDate;const D=this.duration;return D!==null?new Date(this._startDate.getTime()+D*1e3):null}get duration(){if("DURATION"in this.attr){const D=this.attr.decimalFloatingPoint("DURATION");if($e(D))return D}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isValid(){return!!this.id&&!this._badValueForSameId&&$e(this.startDate.getTime())&&(this.duration===null||this.duration>=0)&&(!this.endOnNext||!!this.class)}}class ir{constructor(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}}var Zn={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class $n{constructor(D){this._byteRange=null,this._url=null,this.baseurl=void 0,this.relurl=void 0,this.elementaryStreams={[Zn.AUDIO]:null,[Zn.VIDEO]:null,[Zn.AUDIOVIDEO]:null},this.baseurl=D}setByteRange(D,N){const Z=D.split("@",2),ve=[];Z.length===1?ve[0]=N?N.byteRangeEndOffset:0:ve[0]=parseInt(Z[1]),ve[1]=parseInt(Z[0])+ve[0],this._byteRange=ve}get byteRange(){return this._byteRange?this._byteRange:[]}get byteRangeStartOffset(){return this.byteRange[0]}get byteRangeEndOffset(){return this.byteRange[1]}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=Ue.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(D){this._url=D}}class jt extends $n{constructor(D,N){super(N),this._decryptdata=null,this.rawProgramDateTime=null,this.programDateTime=null,this.tagList=[],this.duration=0,this.sn=0,this.levelkeys=void 0,this.type=void 0,this.loader=null,this.keyLoader=null,this.level=-1,this.cc=0,this.startPTS=void 0,this.endPTS=void 0,this.startDTS=void 0,this.endDTS=void 0,this.start=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.stats=new ir,this.urlId=0,this.data=void 0,this.bitrateTest=!1,this.title=null,this.initSegment=null,this.endList=void 0,this.gap=void 0,this.type=D}get decryptdata(){const{levelkeys:D}=this;if(!D&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){const N=this.levelkeys.identity;if(N)this._decryptdata=N.getDecryptData(this.sn);else{const Z=Object.keys(this.levelkeys);if(Z.length===1)return this._decryptdata=this.levelkeys[Z[0]].getDecryptData(this.sn)}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(this.programDateTime===null||!$e(this.programDateTime))return null;const D=$e(this.duration)?this.duration:0;return this.programDateTime+D*1e3}get encrypted(){var D;if((D=this._decryptdata)!=null&&D.encrypted)return!0;if(this.levelkeys){const N=Object.keys(this.levelkeys),Z=N.length;if(Z>1||Z===1&&this.levelkeys[N[0]].encrypted)return!0}return!1}setKeyFormat(D){if(this.levelkeys){const N=this.levelkeys[D];N&&!this._decryptdata&&(this._decryptdata=N.getDecryptData(this.sn))}}abortRequests(){var D,N;(D=this.loader)==null||D.abort(),(N=this.keyLoader)==null||N.abort()}setElementaryStreamInfo(D,N,Z,ve,je,pt=!1){const{elementaryStreams:Nt}=this,hn=Nt[D];if(!hn){Nt[D]={startPTS:N,endPTS:Z,startDTS:ve,endDTS:je,partial:pt};return}hn.startPTS=Math.min(hn.startPTS,N),hn.endPTS=Math.max(hn.endPTS,Z),hn.startDTS=Math.min(hn.startDTS,ve),hn.endDTS=Math.max(hn.endDTS,je)}clearElementaryStreamInfo(){const{elementaryStreams:D}=this;D[Zn.AUDIO]=null,D[Zn.VIDEO]=null,D[Zn.AUDIOVIDEO]=null}}class Rn extends $n{constructor(D,N,Z,ve,je){super(Z),this.fragOffset=0,this.duration=0,this.gap=!1,this.independent=!1,this.relurl=void 0,this.fragment=void 0,this.index=void 0,this.stats=new ir,this.duration=D.decimalFloatingPoint("DURATION"),this.gap=D.bool("GAP"),this.independent=D.bool("INDEPENDENT"),this.relurl=D.enumeratedString("URI"),this.fragment=N,this.index=ve;const pt=D.enumeratedString("BYTERANGE");pt&&this.setByteRange(pt,je),je&&(this.fragOffset=je.fragOffset+je.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:D}=this;return!!(D.audio||D.video||D.audiovideo)}}const jn=10;class Tn{constructor(D){this.PTSKnown=!1,this.alignedSliding=!1,this.averagetargetduration=void 0,this.endCC=0,this.endSN=0,this.fragments=void 0,this.fragmentHint=void 0,this.partList=null,this.dateRanges=void 0,this.live=!0,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.availabilityDelay=void 0,this.misses=0,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=void 0,this.m3u8="",this.version=null,this.canBlockReload=!1,this.canSkipUntil=0,this.canSkipDateRanges=!1,this.skippedSegments=0,this.recentlyRemovedDateranges=void 0,this.partHoldBack=0,this.holdBack=0,this.partTarget=0,this.preloadHint=void 0,this.renditionReports=void 0,this.tuneInGoal=0,this.deltaUpdateFailed=void 0,this.driftStartTime=0,this.driftEndTime=0,this.driftStart=0,this.driftEnd=0,this.encryptedFragments=void 0,this.playlistParsingError=null,this.variableList=null,this.hasVariableRefs=!1,this.fragments=[],this.encryptedFragments=[],this.dateRanges={},this.url=D}reloaded(D){if(!D){this.advanced=!0,this.updated=!0;return}const N=this.lastPartSn-D.lastPartSn,Z=this.lastPartIndex-D.lastPartIndex;this.updated=this.endSN!==D.endSN||!!Z||!!N||!this.live,this.advanced=this.endSN>D.endSN||N>0||N===0&&Z>0,this.updated||this.advanced?this.misses=Math.floor(D.misses*.6):this.misses=D.misses+1,this.availabilityDelay=D.availabilityDelay}get hasProgramDateTime(){return this.fragments.length?$e(this.fragments[this.fragments.length-1].programDateTime):!1}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||jn}get drift(){const D=this.driftEndTime-this.driftStartTime;return D>0?(this.driftEnd-this.driftStart)*1e3/D:1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var D;return(D=this.partList)!=null&&D.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){var D;return(D=this.fragments)!=null&&D.length?this.fragments[this.fragments.length-1].end:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var D;return(D=this.partList)!=null&&D.length?this.partList[this.partList.length-1].index:-1}get lastPartSn(){var D;return(D=this.partList)!=null&&D.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}}function Nn(Et){return Uint8Array.from(atob(Et),D=>D.charCodeAt(0))}function cn(Et){const D=Hr(Et).subarray(0,16),N=new Uint8Array(16);return N.set(D,16-D.length),N}function or(Et){const D=function(Z,ve,je){const pt=Z[ve];Z[ve]=Z[je],Z[je]=pt};D(Et,0,3),D(Et,1,2),D(Et,4,5),D(Et,6,7)}function qn(Et){const D=Et.split(":");let N=null;if(D[0]==="data"&&D.length===2){const Z=D[1].split(";"),ve=Z[Z.length-1].split(",");if(ve.length===2){const je=ve[0]==="base64",pt=ve[1];je?(Z.splice(-1,1),N=Nn(pt)):N=cn(pt)}}return N}function Hr(Et){return Uint8Array.from(unescape(encodeURIComponent(Et)),D=>D.charCodeAt(0))}var fo={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},Jr={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function ro(Et){switch(Et){case Jr.FAIRPLAY:return fo.FAIRPLAY;case Jr.PLAYREADY:return fo.PLAYREADY;case Jr.WIDEVINE:return fo.WIDEVINE;case Jr.CLEARKEY:return fo.CLEARKEY}}var Xt={WIDEVINE:"edef8ba979d64acea3c827dcd51d21ed"};function Je(Et){if(Et===Xt.WIDEVINE)return fo.WIDEVINE}function At(Et){switch(Et){case fo.FAIRPLAY:return Jr.FAIRPLAY;case fo.PLAYREADY:return Jr.PLAYREADY;case fo.WIDEVINE:return Jr.WIDEVINE;case fo.CLEARKEY:return Jr.CLEARKEY}}function xt(Et){const{drmSystems:D,widevineLicenseUrl:N}=Et,Z=D?[fo.FAIRPLAY,fo.WIDEVINE,fo.PLAYREADY,fo.CLEARKEY].filter(ve=>!!D[ve]):[];return!Z[fo.WIDEVINE]&&N&&Z.push(fo.WIDEVINE),Z}const Qt=function(){return typeof self<"u"&&self.navigator&&self.navigator.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function qt(Et,D,N,Z){let ve;switch(Et){case fo.FAIRPLAY:ve=["cenc","sinf"];break;case fo.WIDEVINE:case fo.PLAYREADY:ve=["cenc"];break;case fo.CLEARKEY:ve=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${Et}`)}return Te(ve,D,N,Z)}function Te(Et,D,N,Z){return[{initDataTypes:Et,persistentState:Z.persistentState||"not-allowed",distinctiveIdentifier:Z.distinctiveIdentifier||"not-allowed",sessionTypes:Z.sessionTypes||[Z.sessionType||"temporary"],audioCapabilities:D.map(je=>({contentType:`audio/mp4; codecs="${je}"`,robustness:Z.audioRobustness||"",encryptionScheme:Z.audioEncryptionScheme||null})),videoCapabilities:N.map(je=>({contentType:`video/mp4; codecs="${je}"`,robustness:Z.videoRobustness||"",encryptionScheme:Z.videoEncryptionScheme||null}))}]}function Gt(Et,D,N){return Uint8Array.prototype.slice?Et.slice(D,N):new Uint8Array(Array.prototype.slice.call(Et,D,N))}const un=(Et,D)=>D+10<=Et.length&&Et[D]===73&&Et[D+1]===68&&Et[D+2]===51&&Et[D+3]<255&&Et[D+4]<255&&Et[D+6]<128&&Et[D+7]<128&&Et[D+8]<128&&Et[D+9]<128,Vt=(Et,D)=>D+10<=Et.length&&Et[D]===51&&Et[D+1]===68&&Et[D+2]===73&&Et[D+3]<255&&Et[D+4]<255&&Et[D+6]<128&&Et[D+7]<128&&Et[D+8]<128&&Et[D+9]<128,Dn=(Et,D)=>{const N=D;let Z=0;for(;un(Et,D);){Z+=10;const ve=Wt(Et,D+6);Z+=ve,Vt(Et,D+10)&&(Z+=10),D+=Z}if(Z>0)return Et.subarray(N,N+Z)},Wt=(Et,D)=>{let N=0;return N=(Et[D]&127)<<21,N|=(Et[D+1]&127)<<14,N|=(Et[D+2]&127)<<7,N|=Et[D+3]&127,N},Pe=(Et,D)=>un(Et,D)&&Wt(Et,D+6)+10<=Et.length-D,xe=Et=>{const D=wt(Et);for(let N=0;N<D.length;N++){const Z=D[N];if(Ae(Z))return In(Z)}},Ae=Et=>Et&&Et.key==="PRIV"&&Et.info==="com.apple.streaming.transportStreamTimestamp",qe=Et=>{const D=String.fromCharCode(Et[0],Et[1],Et[2],Et[3]),N=Wt(Et,4),Z=10;return{type:D,size:N,data:Et.subarray(Z,Z+N)}},wt=Et=>{let D=0;const N=[];for(;un(Et,D);){const Z=Wt(Et,D+6);D+=10;const ve=D+Z;for(;D+8<ve;){const je=qe(Et.subarray(D)),pt=kt(je);pt&&N.push(pt),D+=je.size+10}Vt(Et,D)&&(D+=10)}return N},kt=Et=>Et.type==="PRIV"?ut(Et):Et.type[0]==="W"?tn(Et):Ft(Et),ut=Et=>{if(Et.size<2)return;const D=rr(Et.data,!0),N=new Uint8Array(Et.data.subarray(D.length+1));return{key:Et.type,info:D,data:N.buffer}},Ft=Et=>{if(Et.size<2)return;if(Et.type==="TXXX"){let N=1;const Z=rr(Et.data.subarray(N),!0);N+=Z.length+1;const ve=rr(Et.data.subarray(N));return{key:Et.type,info:Z,data:ve}}const D=rr(Et.data.subarray(1));return{key:Et.type,data:D}},tn=Et=>{if(Et.type==="WXXX"){if(Et.size<2)return;let N=1;const Z=rr(Et.data.subarray(N),!0);N+=Z.length+1;const ve=rr(Et.data.subarray(N));return{key:Et.type,info:Z,data:ve}}const D=rr(Et.data);return{key:Et.type,data:D}},In=Et=>{if(Et.data.byteLength===8){const D=new Uint8Array(Et.data),N=D[3]&1;let Z=(D[4]<<23)+(D[5]<<15)+(D[6]<<7)+D[7];return Z/=45,N&&(Z+=4772185884e-2),Math.round(Z)}},rr=(Et,D=!1)=>{const N=Yr();if(N){const gn=N.decode(Et);if(D){const Xn=gn.indexOf("\0");return Xn!==-1?gn.substring(0,Xn):gn}return gn.replace(/\0/g,"")}const Z=Et.length;let ve,je,pt,Nt="",hn=0;for(;hn<Z;){if(ve=Et[hn++],ve===0&&D)return Nt;if(ve===0||ve===3)continue;switch(ve>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:Nt+=String.fromCharCode(ve);break;case 12:case 13:je=Et[hn++],Nt+=String.fromCharCode((ve&31)<<6|je&63);break;case 14:je=Et[hn++],pt=Et[hn++],Nt+=String.fromCharCode((ve&15)<<12|(je&63)<<6|(pt&63)<<0);break}}return Nt};let Sr;function Yr(){return!Sr&&typeof self.TextDecoder<"u"&&(Sr=new self.TextDecoder("utf-8")),Sr}const Pr={hexDump:function(Et){let D="";for(let N=0;N<Et.length;N++){let Z=Et[N].toString(16);Z.length<2&&(Z="0"+Z),D+=Z}return D}},Mn=Math.pow(2,32)-1,sr=[].push,Ar={video:1,audio:2,id3:3,text:4};function vr(Et){return String.fromCharCode.apply(null,Et)}function qr(Et,D){const N=Et[D]<<8|Et[D+1];return N<0?65536+N:N}function Dr(Et,D){const N=eo(Et,D);return N<0?4294967296+N:N}function eo(Et,D){return Et[D]<<24|Et[D+1]<<16|Et[D+2]<<8|Et[D+3]}function Vo(Et,D,N){Et[D]=N>>24,Et[D+1]=N>>16&255,Et[D+2]=N>>8&255,Et[D+3]=N&255}function Bn(Et,D){const N=[];if(!D.length)return N;const Z=Et.byteLength;for(let ve=0;ve<Z;){const je=Dr(Et,ve),pt=vr(Et.subarray(ve+4,ve+8)),Nt=je>1?ve+je:Z;if(pt===D[0])if(D.length===1)N.push(Et.subarray(ve+8,Nt));else{const hn=Bn(Et.subarray(ve+8,Nt),D.slice(1));hn.length&&sr.apply(N,hn)}ve=Nt}return N}function ar(Et){const D=[],N=Et[0];let Z=8;const ve=Dr(Et,Z);Z+=4;const je=0,pt=0;N===0?Z+=8:Z+=16,Z+=2;let Nt=Et.length+pt;const hn=qr(Et,Z);Z+=2;for(let gn=0;gn<hn;gn++){let Xn=Z;const pr=Dr(Et,Xn);Xn+=4;const Zr=pr&2147483647;if((pr&2147483648)>>>31===1)return ze.warn("SIDX has hierarchical references (not supported)"),null;const vo=Dr(Et,Xn);Xn+=4,D.push({referenceSize:Zr,subsegmentDuration:vo,info:{duration:vo/ve,start:Nt,end:Nt+Zr-1}}),Nt+=Zr,Xn+=4,Z=Xn}return{earliestPresentationTime:je,timescale:ve,version:N,referencesCount:hn,references:D}}function rn(Et){const D=[],N=Bn(Et,["moov","trak"]);for(let ve=0;ve<N.length;ve++){const je=N[ve],pt=Bn(je,["tkhd"])[0];if(pt){let Nt=pt[0],hn=Nt===0?12:20;const gn=Dr(pt,hn),Xn=Bn(je,["mdia","mdhd"])[0];if(Xn){Nt=Xn[0],hn=Nt===0?12:20;const pr=Dr(Xn,hn),Zr=Bn(je,["mdia","hdlr"])[0];if(Zr){const oo=vr(Zr.subarray(8,12)),vo={soun:Zn.AUDIO,vide:Zn.VIDEO}[oo];if(vo){const Fo=Bn(je,["mdia","minf","stbl","stsd"])[0];let Go;Fo&&(Go=vr(Fo.subarray(12,16))),D[gn]={timescale:pr,type:vo},D[vo]={timescale:pr,id:gn,codec:Go}}}}}}return Bn(Et,["moov","mvex","trex"]).forEach(ve=>{const je=Dr(ve,4),pt=D[je];pt&&(pt.default={duration:Dr(ve,12),flags:Dr(ve,20)})}),D}function Rt(Et,D){if(!Et||!D)return Et;const N=D.keyId;return N&&D.isCommonEncryption&&Bn(Et,["moov","trak"]).forEach(ve=>{const pt=Bn(ve,["mdia","minf","stbl","stsd"])[0].subarray(8);let Nt=Bn(pt,["enca"]);const hn=Nt.length>0;hn||(Nt=Bn(pt,["encv"])),Nt.forEach(gn=>{const Xn=hn?gn.subarray(28):gn.subarray(78);Bn(Xn,["sinf"]).forEach(Zr=>{const oo=Qe(Zr);if(oo){const vo=oo.subarray(8,24);vo.some(Fo=>Fo!==0)||(ze.log(`[eme] Patching keyId in 'enc${hn?"a":"v"}>sinf>>tenc' box: ${Pr.hexDump(vo)} -> ${Pr.hexDump(N)}`),oo.set(N,8))}})})}),Et}function Qe(Et){const D=Bn(Et,["schm"])[0];if(D){const N=vr(D.subarray(4,8));if(N==="cbcs"||N==="cenc")return Bn(Et,["schi","tenc"])[0]}return ze.error("[eme] missing 'schm' box"),null}function Ye(Et,D){return Bn(D,["moof","traf"]).reduce((N,Z)=>{const ve=Bn(Z,["tfdt"])[0],je=ve[0],pt=Bn(Z,["tfhd"]).reduce((Nt,hn)=>{const gn=Dr(hn,4),Xn=Et[gn];if(Xn){let pr=Dr(ve,4);if(je===1){if(pr===Mn)return ze.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),Nt;pr*=Mn+1,pr+=Dr(ve,8)}const Zr=Xn.timescale||9e4,oo=pr/Zr;if($e(oo)&&(Nt===null||oo<Nt))return oo}return Nt},null);return pt!==null&&$e(pt)&&(N===null||pt<N)?pt:N},null)}function yt(Et,D){let N=0,Z=0,ve=0;const je=Bn(Et,["moof","traf"]);for(let pt=0;pt<je.length;pt++){const Nt=je[pt],hn=Bn(Nt,["tfhd"])[0],gn=Dr(hn,4),Xn=D[gn];if(!Xn)continue;const pr=Xn.default,Zr=Dr(hn,0)|(pr==null?void 0:pr.flags);let oo=pr==null?void 0:pr.duration;Zr&8&&(Zr&2?oo=Dr(hn,12):oo=Dr(hn,8));const vo=Xn.timescale||9e4,Fo=Bn(Nt,["trun"]);for(let Go=0;Go<Fo.length;Go++){if(N=Ze(Fo[Go]),!N&&oo){const pa=Dr(Fo[Go],4);N=oo*pa}Xn.type===Zn.VIDEO?Z+=N/vo:Xn.type===Zn.AUDIO&&(ve+=N/vo)}}if(Z===0&&ve===0){let pt=0;const Nt=Bn(Et,["sidx"]);for(let hn=0;hn<Nt.length;hn++){const gn=ar(Nt[hn]);gn!=null&&gn.references&&(pt+=gn.references.reduce((Xn,pr)=>Xn+pr.info.duration||0,0))}return pt}return Z||ve}function Ze(Et){const D=Dr(Et,0);let N=8;D&1&&(N+=4),D&4&&(N+=4);let Z=0;const ve=Dr(Et,4);for(let je=0;je<ve;je++){if(D&256){const pt=Dr(Et,N);Z+=pt,N+=4}D&512&&(N+=4),D&1024&&(N+=4),D&2048&&(N+=4)}return Z}function Mt(Et,D,N){Bn(D,["moof","traf"]).forEach(Z=>{Bn(Z,["tfhd"]).forEach(ve=>{const je=Dr(ve,4),pt=Et[je];if(!pt)return;const Nt=pt.timescale||9e4;Bn(Z,["tfdt"]).forEach(hn=>{const gn=hn[0];let Xn=Dr(hn,4);if(gn===0)Xn-=N*Nt,Xn=Math.max(Xn,0),Vo(hn,4,Xn);else{Xn*=Math.pow(2,32),Xn+=Dr(hn,8),Xn-=N*Nt,Xn=Math.max(Xn,0);const pr=Math.floor(Xn/(Mn+1)),Zr=Math.floor(Xn%(Mn+1));Vo(hn,4,pr),Vo(hn,8,Zr)}})})})}function ot(Et){const D={valid:null,remainder:null},N=Bn(Et,["moof"]);if(N){if(N.length<2)return D.remainder=Et,D}else return D;const Z=N[N.length-1];return D.valid=Gt(Et,0,Z.byteOffset-8),D.remainder=Gt(Et,Z.byteOffset-8),D}function et(Et,D){const N=new Uint8Array(Et.length+D.length);return N.set(Et),N.set(D,Et.length),N}function St(Et,D){const N=[],Z=D.samples,ve=D.timescale,je=D.id;let pt=!1;return Bn(Z,["moof"]).map(hn=>{const gn=hn.byteOffset-8;Bn(hn,["traf"]).map(pr=>{const Zr=Bn(pr,["tfdt"]).map(oo=>{const vo=oo[0];let Fo=Dr(oo,4);return vo===1&&(Fo*=Math.pow(2,32),Fo+=Dr(oo,8)),Fo/ve})[0];return Zr!==void 0&&(Et=Zr),Bn(pr,["tfhd"]).map(oo=>{const vo=Dr(oo,4),Fo=Dr(oo,0)&16777215,Go=(Fo&1)!==0,pa=(Fo&2)!==0,Se=(Fo&8)!==0;let de=0;const We=(Fo&16)!==0;let _t=0;const nn=(Fo&32)!==0;let vn=8;vo===je&&(Go&&(vn+=8),pa&&(vn+=4),Se&&(de=Dr(oo,vn),vn+=4),We&&(_t=Dr(oo,vn),vn+=4),nn&&(vn+=4),D.type==="video"&&(pt=Ht(D.codec)),Bn(pr,["trun"]).map(cr=>{const lo=cr[0],Po=Dr(cr,0)&16777215,oa=(Po&1)!==0;let fa=0;const Va=(Po&4)!==0,ci=(Po&256)!==0;let di=0;const Xs=(Po&512)!==0;let _i=0;const js=(Po&1024)!==0,al=(Po&2048)!==0;let vl=0;const hc=Dr(cr,4);let Cc=8;oa&&(fa=Dr(cr,Cc),Cc+=4),Va&&(Cc+=4);let fu=fa+gn;for(let Ud=0;Ud<hc;Ud++){if(ci?(di=Dr(cr,Cc),Cc+=4):di=de,Xs?(_i=Dr(cr,Cc),Cc+=4):_i=_t,js&&(Cc+=4),al&&(lo===0?vl=Dr(cr,Cc):vl=eo(cr,Cc),Cc+=4),D.type===Zn.VIDEO){let Td=0;for(;Td<_i;){const Dd=Dr(Z,fu);if(fu+=4,er(pt,Z[fu])){const nf=Z.subarray(fu,fu+Dd);Mr(nf,pt?2:1,Et+vl/ve,N)}fu+=Dd,Td+=Dd+4}}Et+=di/ve}}))})})}),N}function Ht(Et){if(!Et)return!1;const D=Et.indexOf("."),N=D<0?Et:Et.substring(0,D);return N==="hvc1"||N==="hev1"||N==="dvh1"||N==="dvhe"}function er(Et,D){if(Et){const N=D>>1&63;return N===39||N===40}else return(D&31)===6}function Mr(Et,D,N,Z){const ve=mn(Et);let je=0;je+=D;let pt=0,Nt=0,hn=!1,gn=0;for(;je<ve.length;){pt=0;do{if(je>=ve.length)break;gn=ve[je++],pt+=gn}while(gn===255);Nt=0;do{if(je>=ve.length)break;gn=ve[je++],Nt+=gn}while(gn===255);const Xn=ve.length-je;if(!hn&&pt===4&&je<ve.length){if(hn=!0,ve[je++]===181){const Zr=qr(ve,je);if(je+=2,Zr===49){const oo=Dr(ve,je);if(je+=4,oo===1195456820){const vo=ve[je++];if(vo===3){const Fo=ve[je++],Go=31&Fo,pa=64&Fo,Se=pa?2+Go*3:0,de=new Uint8Array(Se);if(pa){de[0]=Fo;for(let We=1;We<Se;We++)de[We]=ve[je++]}Z.push({type:vo,payloadType:pt,pts:N,bytes:de})}}}}}else if(pt===5&&Nt<Xn){if(hn=!0,Nt>16){const pr=[];for(let vo=0;vo<16;vo++){const Fo=ve[je++].toString(16);pr.push(Fo.length==1?"0"+Fo:Fo),(vo===3||vo===5||vo===7||vo===9)&&pr.push("-")}const Zr=Nt-16,oo=new Uint8Array(Zr);for(let vo=0;vo<Zr;vo++)oo[vo]=ve[je++];Z.push({payloadType:pt,pts:N,uuid:pr.join(""),userData:rr(oo),userDataBytes:oo})}}else if(Nt<Xn)je+=Nt;else if(Nt>Xn)break}}function mn(Et){const D=Et.byteLength,N=[];let Z=1;for(;Z<D-2;)Et[Z]===0&&Et[Z+1]===0&&Et[Z+2]===3?(N.push(Z+2),Z+=2):Z++;if(N.length===0)return Et;const ve=D-N.length,je=new Uint8Array(ve);let pt=0;for(Z=0;Z<ve;pt++,Z++)pt===N[0]&&(pt++,N.shift()),je[Z]=Et[pt];return je}function Un(Et){const D=Et[0];let N="",Z="",ve=0,je=0,pt=0,Nt=0,hn=0,gn=0;if(D===0){for(;vr(Et.subarray(gn,gn+1))!=="\0";)N+=vr(Et.subarray(gn,gn+1)),gn+=1;for(N+=vr(Et.subarray(gn,gn+1)),gn+=1;vr(Et.subarray(gn,gn+1))!=="\0";)Z+=vr(Et.subarray(gn,gn+1)),gn+=1;Z+=vr(Et.subarray(gn,gn+1)),gn+=1,ve=Dr(Et,12),je=Dr(Et,16),Nt=Dr(Et,20),hn=Dr(Et,24),gn=28}else if(D===1){gn+=4,ve=Dr(Et,gn),gn+=4;const pr=Dr(Et,gn);gn+=4;const Zr=Dr(Et,gn);for(gn+=4,pt=2**32*pr+Zr,Ot(pt)||(pt=Number.MAX_SAFE_INTEGER,ze.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),Nt=Dr(Et,gn),gn+=4,hn=Dr(Et,gn),gn+=4;vr(Et.subarray(gn,gn+1))!=="\0";)N+=vr(Et.subarray(gn,gn+1)),gn+=1;for(N+=vr(Et.subarray(gn,gn+1)),gn+=1;vr(Et.subarray(gn,gn+1))!=="\0";)Z+=vr(Et.subarray(gn,gn+1)),gn+=1;Z+=vr(Et.subarray(gn,gn+1)),gn+=1}const Xn=Et.subarray(gn,Et.byteLength);return{schemeIdUri:N,value:Z,timeScale:ve,presentationTime:pt,presentationTimeDelta:je,eventDuration:Nt,id:hn,payload:Xn}}function hr(Et,...D){const N=D.length;let Z=8,ve=N;for(;ve--;)Z+=D[ve].byteLength;const je=new Uint8Array(Z);for(je[0]=Z>>24&255,je[1]=Z>>16&255,je[2]=Z>>8&255,je[3]=Z&255,je.set(Et,4),ve=0,Z=8;ve<N;ve++)je.set(D[ve],Z),Z+=D[ve].byteLength;return je}function br(Et,D,N){if(Et.byteLength!==16)throw new RangeError("Invalid system id");let Z,ve;if(D){Z=1,ve=new Uint8Array(D.length*16);for(let Nt=0;Nt<D.length;Nt++){const hn=D[Nt];if(hn.byteLength!==16)throw new RangeError("Invalid key");ve.set(hn,Nt*16)}}else Z=0,ve=new Uint8Array;let je;Z>0?(je=new Uint8Array(4),D.length>0&&new DataView(je.buffer).setUint32(0,D.length,!1)):je=new Uint8Array;const pt=new Uint8Array(4);return N&&N.byteLength>0&&new DataView(pt.buffer).setUint32(0,N.byteLength,!1),hr([112,115,115,104],new Uint8Array([Z,0,0,0]),Et,je,ve,pt,N||new Uint8Array)}function io(Et){if(!(Et instanceof ArrayBuffer)||Et.byteLength<32)return null;const D={version:0,systemId:"",kids:null,data:null},N=new DataView(Et),Z=N.getUint32(0);if(Et.byteLength!==Z&&Z>44||N.getUint32(4)!==1886614376||(D.version=N.getUint32(8)>>>24,D.version>1))return null;D.systemId=Pr.hexDump(new Uint8Array(Et,12,16));const je=N.getUint32(28);if(D.version===0){if(Z-32<je)return null;D.data=new Uint8Array(Et,32,je)}else if(D.version===1){D.kids=[];for(let pt=0;pt<je;pt++)D.kids.push(new Uint8Array(Et,32+pt*16,16))}return D}let Kr={};class xo{static clearKeyUriToKeyIdMap(){Kr={}}constructor(D,N,Z,ve=[1],je=null){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=D,this.uri=N,this.keyFormat=Z,this.keyFormatVersions=ve,this.iv=je,this.encrypted=D?D!=="NONE":!1,this.isCommonEncryption=this.encrypted&&D!=="AES-128"}isSupported(){if(this.method){if(this.method==="AES-128"||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case Jr.FAIRPLAY:case Jr.WIDEVINE:case Jr.PLAYREADY:case Jr.CLEARKEY:return["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(D){if(!this.encrypted||!this.uri)return null;if(this.method==="AES-128"&&this.uri&&!this.iv){typeof D!="number"&&(this.method==="AES-128"&&!this.iv&&ze.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),D=0);const Z=Ho(D);return new xo(this.method,this.uri,"identity",this.keyFormatVersions,Z)}const N=qn(this.uri);if(N)switch(this.keyFormat){case Jr.WIDEVINE:this.pssh=N,N.length>=22&&(this.keyId=N.subarray(N.length-22,N.length-6));break;case Jr.PLAYREADY:{const Z=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=br(Z,null,N);const ve=new Uint16Array(N.buffer,N.byteOffset,N.byteLength/2),je=String.fromCharCode.apply(null,Array.from(ve)),pt=je.substring(je.indexOf("<"),je.length),gn=new DOMParser().parseFromString(pt,"text/xml").getElementsByTagName("KID")[0];if(gn){const Xn=gn.childNodes[0]?gn.childNodes[0].nodeValue:gn.getAttribute("VALUE");if(Xn){const pr=Nn(Xn).subarray(0,16);or(pr),this.keyId=pr}}break}default:{let Z=N.subarray(0,16);if(Z.length!==16){const ve=new Uint8Array(16);ve.set(Z,16-Z.length),Z=ve}this.keyId=Z;break}}if(!this.keyId||this.keyId.byteLength!==16){let Z=Kr[this.uri];if(!Z){const ve=Object.keys(Kr).length%Number.MAX_SAFE_INTEGER;Z=new Uint8Array(16),new DataView(Z.buffer,12,4).setUint32(0,ve),Kr[this.uri]=Z}this.keyId=Z}return this}}function Ho(Et){const D=new Uint8Array(16);for(let N=12;N<16;N++)D[N]=Et>>8*(15-N)&255;return D}const bo=/\{\$([a-zA-Z0-9-_]+)\}/g;function Ea(Et){return bo.test(Et)}function Ia(Et,D,N){if(Et.variableList!==null||Et.hasVariableRefs)for(let Z=N.length;Z--;){const ve=N[Z],je=D[ve];je&&(D[ve]=Da(Et,je))}}function Da(Et,D){if(Et.variableList!==null||Et.hasVariableRefs){const N=Et.variableList;return D.replace(bo,Z=>{const ve=Z.substring(2,Z.length-1),je=N==null?void 0:N[ve];return je===void 0?(Et.playlistParsingError||(Et.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${ve}"`)),Z):je})}return D}function Za(Et,D,N){let Z=Et.variableList;Z||(Et.variableList=Z={});let ve,je;if("QUERYPARAM"in D){ve=D.QUERYPARAM;try{const pt=new self.URL(N).searchParams;if(pt.has(ve))je=pt.get(ve);else throw new Error(`"${ve}" does not match any query parameter in URI: "${N}"`)}catch(pt){Et.playlistParsingError||(Et.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${pt.message}`))}}else ve=D.NAME,je=D.VALUE;ve in Z?Et.playlistParsingError||(Et.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${ve}"`)):Z[ve]=je||""}function Xa(Et,D,N){const Z=D.IMPORT;if(N&&Z in N){let ve=Et.variableList;ve||(Et.variableList=ve={}),ve[Z]=N[Z]}else Et.playlistParsingError||(Et.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${Z}"`))}function ba(){if(!(typeof self>"u"))return self.MediaSource||self.WebKitMediaSource}const ns={audio:{a3ds:!0,"ac-3":!0,"ac-4":!0,alac:!0,alaw:!0,dra1:!0,"dts+":!0,"dts-":!0,dtsc:!0,dtse:!0,dtsh:!0,"ec-3":!0,enca:!0,g719:!0,g726:!0,m4ae:!0,mha1:!0,mha2:!0,mhm1:!0,mhm2:!0,mlpa:!0,mp4a:!0,"raw ":!0,Opus:!0,opus:!0,samr:!0,sawb:!0,sawp:!0,sevc:!0,sqcp:!0,ssmv:!0,twos:!0,ulaw:!0},video:{avc1:!0,avc2:!0,avc3:!0,avc4:!0,avcp:!0,av01:!0,drac:!0,dva1:!0,dvav:!0,dvh1:!0,dvhe:!0,encv:!0,hev1:!0,hvc1:!0,mjp2:!0,mp4v:!0,mvc1:!0,mvc2:!0,mvc3:!0,mvc4:!0,resv:!0,rv60:!0,s263:!0,svc1:!0,svc2:!0,"vc-1":!0,vp08:!0,vp09:!0},text:{stpp:!0,wvtt:!0}},Ja=ba();function Is(Et,D){const N=ns[D];return!!N&&N[Et.slice(0,4)]===!0}function Vr(Et,D){var N;return(N=Ja==null?void 0:Ja.isTypeSupported(`${D||"video"}/mp4;codecs="${Et}"`))!=null?N:!1}const Qr=/#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g,To=/#EXT-X-MEDIA:(.*)/g,xr=/^#EXT(?:INF|-X-TARGETDURATION):/m,uo=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[\S ]*)/.source,/#EXT-X-BYTERANGE:*(.+)/.source,/#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/#.*/.source].join("|"),"g"),Mo=new RegExp([/#(EXTM3U)/.source,/#EXT-X-(DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source,/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source,/#EXT-X-(DISCONTINUITY|ENDLIST|GAP)/.source,/(#)([^:]*):(.*)/.source,/(#)(.*)(?:.*)\r?\n?/.source].join("|"));class go{static findGroup(D,N){for(let Z=0;Z<D.length;Z++){const ve=D[Z];if(ve.id===N)return ve}}static convertAVC1ToAVCOTI(D){const N=D.split(".");if(N.length>2){let Z=N.shift()+".";return Z+=parseInt(N.shift()).toString(16),Z+=("000"+parseInt(N.shift()).toString(16)).slice(-4),Z}return D}static resolve(D,N){return Ue.buildAbsoluteURL(N,D,{alwaysNormalize:!0})}static isMediaPlaylist(D){return xr.test(D)}static parseMasterPlaylist(D,N){const Z=Ea(D),ve={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:Z},je=[];Qr.lastIndex=0;let pt;for(;(pt=Qr.exec(D))!=null;)if(pt[1]){var Nt;const gn=new Pn(pt[1]);Ia(ve,gn,["CODECS","SUPPLEMENTAL-CODECS","ALLOWED-CPC","PATHWAY-ID","STABLE-VARIANT-ID","AUDIO","VIDEO","SUBTITLES","CLOSED-CAPTIONS","NAME"]);const Xn=Da(ve,pt[2]),pr={attrs:gn,bitrate:gn.decimalInteger("AVERAGE-BANDWIDTH")||gn.decimalInteger("BANDWIDTH"),name:gn.NAME,url:go.resolve(Xn,N)},Zr=gn.decimalResolution("RESOLUTION");Zr&&(pr.width=Zr.width,pr.height=Zr.height),yr((gn.CODECS||"").split(/[ ,]+/).filter(oo=>oo),pr),pr.videoCodec&&pr.videoCodec.indexOf("avc1")!==-1&&(pr.videoCodec=go.convertAVC1ToAVCOTI(pr.videoCodec)),(Nt=pr.unknownCodecs)!=null&&Nt.length||je.push(pr),ve.levels.push(pr)}else if(pt[3]){const gn=pt[3],Xn=pt[4];switch(gn){case"SESSION-DATA":{const pr=new Pn(Xn);Ia(ve,pr,["DATA-ID","LANGUAGE","VALUE","URI"]);const Zr=pr["DATA-ID"];Zr&&(ve.sessionData===null&&(ve.sessionData={}),ve.sessionData[Zr]=pr);break}case"SESSION-KEY":{const pr=ea(Xn,N,ve);pr.encrypted&&pr.isSupported()?(ve.sessionKeys===null&&(ve.sessionKeys=[]),ve.sessionKeys.push(pr)):ze.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${Xn}"`);break}case"DEFINE":{{const pr=new Pn(Xn);Ia(ve,pr,["NAME","VALUE","QUERYPARAM"]),Za(ve,pr,N)}break}case"CONTENT-STEERING":{const pr=new Pn(Xn);Ia(ve,pr,["SERVER-URI","PATHWAY-ID"]),ve.contentSteering={uri:go.resolve(pr["SERVER-URI"],N),pathwayId:pr["PATHWAY-ID"]||"."};break}case"START":{ve.startTimeOffset=ha(Xn);break}}}const hn=je.length>0&&je.length<ve.levels.length;return ve.levels=hn?je:ve.levels,ve.levels.length===0&&(ve.playlistParsingError=new Error("no levels found in manifest")),ve}static parseMasterPlaylistMedia(D,N,Z){let ve;const je={},pt=Z.levels,Nt={AUDIO:pt.map(gn=>({id:gn.attrs.AUDIO,audioCodec:gn.audioCodec})),SUBTITLES:pt.map(gn=>({id:gn.attrs.SUBTITLES,textCodec:gn.textCodec})),"CLOSED-CAPTIONS":[]};let hn=0;for(To.lastIndex=0;(ve=To.exec(D))!==null;){const gn=new Pn(ve[1]),Xn=gn.TYPE;if(Xn){const pr=Nt[Xn],Zr=je[Xn]||[];je[Xn]=Zr,Ia(Z,gn,["URI","GROUP-ID","LANGUAGE","ASSOC-LANGUAGE","STABLE-RENDITION-ID","NAME","INSTREAM-ID","CHARACTERISTICS","CHANNELS"]);const oo={attrs:gn,bitrate:0,id:hn++,groupId:gn["GROUP-ID"]||"",instreamId:gn["INSTREAM-ID"],name:gn.NAME||gn.LANGUAGE||"",type:Xn,default:gn.bool("DEFAULT"),autoselect:gn.bool("AUTOSELECT"),forced:gn.bool("FORCED"),lang:gn.LANGUAGE,url:gn.URI?go.resolve(gn.URI,N):""};if(pr!=null&&pr.length){const vo=go.findGroup(pr,oo.groupId)||pr[0];Lr(oo,vo,"audioCodec"),Lr(oo,vo,"textCodec")}Zr.push(oo)}}return je}static parseLevelPlaylist(D,N,Z,ve,je,pt){const Nt=new Tn(N),hn=Nt.fragments;let gn=null,Xn=0,pr=0,Zr=0,oo=0,vo=null,Fo=new jt(ve,N),Go,pa,Se,de=-1,We=!1;for(uo.lastIndex=0,Nt.m3u8=D,Nt.hasVariableRefs=Ea(D);(Go=uo.exec(D))!==null;){We&&(We=!1,Fo=new jt(ve,N),Fo.start=Zr,Fo.sn=Xn,Fo.cc=oo,Fo.level=Z,gn&&(Fo.initSegment=gn,Fo.rawProgramDateTime=gn.rawProgramDateTime,gn.rawProgramDateTime=null));const cr=Go[1];if(cr){Fo.duration=parseFloat(cr);const lo=(" "+Go[2]).slice(1);Fo.title=lo||null,Fo.tagList.push(lo?["INF",cr,lo]:["INF",cr])}else if(Go[3]){if($e(Fo.duration)){Fo.start=Zr,Se&&Yo(Fo,Se,Nt),Fo.sn=Xn,Fo.level=Z,Fo.cc=oo,Fo.urlId=je,hn.push(Fo);const lo=(" "+Go[3]).slice(1);Fo.relurl=Da(Nt,lo),ho(Fo,vo),vo=Fo,Zr+=Fo.duration,Xn++,pr=0,We=!0}}else if(Go[4]){const lo=(" "+Go[4]).slice(1);vo?Fo.setByteRange(lo,vo):Fo.setByteRange(lo)}else if(Go[5])Fo.rawProgramDateTime=(" "+Go[5]).slice(1),Fo.tagList.push(["PROGRAM-DATE-TIME",Fo.rawProgramDateTime]),de===-1&&(de=hn.length);else{if(Go=Go[0].match(Mo),!Go){ze.warn("No matches on slow regex match for level playlist!");continue}for(pa=1;pa<Go.length&&!(typeof Go[pa]<"u");pa++);const lo=(" "+Go[pa]).slice(1),Po=(" "+Go[pa+1]).slice(1),oa=Go[pa+2]?(" "+Go[pa+2]).slice(1):"";switch(lo){case"PLAYLIST-TYPE":Nt.type=Po.toUpperCase();break;case"MEDIA-SEQUENCE":Xn=Nt.startSN=parseInt(Po);break;case"SKIP":{const fa=new Pn(Po);Ia(Nt,fa,["RECENTLY-REMOVED-DATERANGES"]);const Va=fa.decimalInteger("SKIPPED-SEGMENTS");if($e(Va)){Nt.skippedSegments=Va;for(let di=Va;di--;)hn.unshift(null);Xn+=Va}const ci=fa.enumeratedString("RECENTLY-REMOVED-DATERANGES");ci&&(Nt.recentlyRemovedDateranges=ci.split("	"));break}case"TARGETDURATION":Nt.targetduration=Math.max(parseInt(Po),1);break;case"VERSION":Nt.version=parseInt(Po);break;case"EXTM3U":break;case"ENDLIST":Nt.live=!1;break;case"#":(Po||oa)&&Fo.tagList.push(oa?[Po,oa]:[Po]);break;case"DISCONTINUITY":oo++,Fo.tagList.push(["DIS"]);break;case"GAP":Fo.gap=!0,Fo.tagList.push([lo]);break;case"BITRATE":Fo.tagList.push([lo,Po]);break;case"DATERANGE":{const fa=new Pn(Po);Ia(Nt,fa,["ID","CLASS","START-DATE","END-DATE","SCTE35-CMD","SCTE35-OUT","SCTE35-IN"]),Ia(Nt,fa,fa.clientAttrs);const Va=new bn(fa,Nt.dateRanges[fa.ID]);Va.isValid||Nt.skippedSegments?Nt.dateRanges[Va.id]=Va:ze.warn(`Ignoring invalid DATERANGE tag: "${Po}"`),Fo.tagList.push(["EXT-X-DATERANGE",Po]);break}case"DEFINE":{{const fa=new Pn(Po);Ia(Nt,fa,["NAME","VALUE","IMPORT","QUERYPARAM"]),"IMPORT"in fa?Xa(Nt,fa,pt):Za(Nt,fa,N)}break}case"DISCONTINUITY-SEQUENCE":oo=parseInt(Po);break;case"KEY":{const fa=ea(Po,N,Nt);if(fa.isSupported()){if(fa.method==="NONE"){Se=void 0;break}Se||(Se={}),Se[fa.keyFormat]&&(Se=Ne({},Se)),Se[fa.keyFormat]=fa}else ze.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${Po}"`);break}case"START":Nt.startTimeOffset=ha(Po);break;case"MAP":{const fa=new Pn(Po);if(Ia(Nt,fa,["BYTERANGE","URI"]),Fo.duration){const Va=new jt(ve,N);Lo(Va,fa,Z,Se),gn=Va,Fo.initSegment=gn,gn.rawProgramDateTime&&!Fo.rawProgramDateTime&&(Fo.rawProgramDateTime=gn.rawProgramDateTime)}else Lo(Fo,fa,Z,Se),gn=Fo,We=!0;break}case"SERVER-CONTROL":{const fa=new Pn(Po);Nt.canBlockReload=fa.bool("CAN-BLOCK-RELOAD"),Nt.canSkipUntil=fa.optionalFloat("CAN-SKIP-UNTIL",0),Nt.canSkipDateRanges=Nt.canSkipUntil>0&&fa.bool("CAN-SKIP-DATERANGES"),Nt.partHoldBack=fa.optionalFloat("PART-HOLD-BACK",0),Nt.holdBack=fa.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{const fa=new Pn(Po);Nt.partTarget=fa.decimalFloatingPoint("PART-TARGET");break}case"PART":{let fa=Nt.partList;fa||(fa=Nt.partList=[]);const Va=pr>0?fa[fa.length-1]:void 0,ci=pr++,di=new Pn(Po);Ia(Nt,di,["BYTERANGE","URI"]);const Xs=new Rn(di,Fo,N,ci,Va);fa.push(Xs),Fo.duration+=Xs.duration;break}case"PRELOAD-HINT":{const fa=new Pn(Po);Ia(Nt,fa,["URI"]),Nt.preloadHint=fa;break}case"RENDITION-REPORT":{const fa=new Pn(Po);Ia(Nt,fa,["URI"]),Nt.renditionReports=Nt.renditionReports||[],Nt.renditionReports.push(fa);break}default:ze.warn(`line parsed but not handled: ${Go}`);break}}}vo&&!vo.relurl?(hn.pop(),Zr-=vo.duration,Nt.partList&&(Nt.fragmentHint=vo)):Nt.partList&&(ho(Fo,vo),Fo.cc=oo,Nt.fragmentHint=Fo,Se&&Yo(Fo,Se,Nt));const _t=hn.length,nn=hn[0],vn=hn[_t-1];if(Zr+=Nt.skippedSegments*Nt.targetduration,Zr>0&&_t&&vn){Nt.averagetargetduration=Zr/_t;const cr=vn.sn;Nt.endSN=cr!=="initSegment"?cr:0,Nt.live||(vn.endList=!0),nn&&(Nt.startCC=nn.cc)}else Nt.endSN=0,Nt.startCC=0;return Nt.fragmentHint&&(Zr+=Nt.fragmentHint.duration),Nt.totalduration=Zr,Nt.endCC=oo,de>0&&ao(hn,de),Nt}}function ea(Et,D,N){var Z,ve;const je=new Pn(Et);Ia(N,je,["KEYFORMAT","KEYFORMATVERSIONS","URI","IV","URI"]);const pt=(Z=je.METHOD)!=null?Z:"",Nt=je.URI,hn=je.hexadecimalInteger("IV"),gn=je.KEYFORMATVERSIONS,Xn=(ve=je.KEYFORMAT)!=null?ve:"identity";Nt&&je.IV&&!hn&&ze.error(`Invalid IV: ${je.IV}`);const pr=Nt?go.resolve(Nt,D):"",Zr=(gn||"1").split("/").map(Number).filter(Number.isFinite);return new xo(pt,pr,Xn,Zr,hn)}function ha(Et){const N=new Pn(Et).decimalFloatingPoint("TIME-OFFSET");return $e(N)?N:null}function yr(Et,D){["video","audio","text"].forEach(N=>{const Z=Et.filter(ve=>Is(ve,N));if(Z.length){const ve=Z.filter(je=>je.lastIndexOf("avc1",0)===0||je.lastIndexOf("mp4a",0)===0);D[`${N}Codec`]=ve.length>0?ve[0]:Z[0],Et=Et.filter(je=>Z.indexOf(je)===-1)}}),D.unknownCodecs=Et}function Lr(Et,D,N){const Z=D[N];Z&&(Et[N]=Z)}function ao(Et,D){let N=Et[D];for(let Z=D;Z--;){const ve=Et[Z];if(!ve)return;ve.programDateTime=N.programDateTime-ve.duration*1e3,N=ve}}function ho(Et,D){Et.rawProgramDateTime?Et.programDateTime=Date.parse(Et.rawProgramDateTime):D!=null&&D.programDateTime&&(Et.programDateTime=D.endProgramDateTime),$e(Et.programDateTime)||(Et.programDateTime=null,Et.rawProgramDateTime=null)}function Lo(Et,D,N,Z){Et.relurl=D.URI,D.BYTERANGE&&Et.setByteRange(D.BYTERANGE),Et.level=N,Et.sn="initSegment",Z&&(Et.levelkeys=Z),Et.initSegment=null}function Yo(Et,D,N){Et.levelkeys=D;const{encryptedFragments:Z}=N;(!Z.length||Z[Z.length-1].levelkeys!==D)&&Object.keys(D).some(ve=>D[ve].isCommonEncryption)&&Z.push(Et)}var jo={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},Xo={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};function Ua(Et){const{type:D}=Et;switch(D){case jo.AUDIO_TRACK:return Xo.AUDIO;case jo.SUBTITLE_TRACK:return Xo.SUBTITLE;default:return Xo.MAIN}}function ds(Et,D){let N=Et.url;return(N===void 0||N.indexOf("data:")===0)&&(N=D.url),N}class us{constructor(D){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.hls=D,this.registerListeners()}startLoad(D){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:D}=this;D.on(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.on(Ie.LEVEL_LOADING,this.onLevelLoading,this),D.on(Ie.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),D.on(Ie.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)}unregisterListeners(){const{hls:D}=this;D.off(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.off(Ie.LEVEL_LOADING,this.onLevelLoading,this),D.off(Ie.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),D.off(Ie.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)}createInternalLoader(D){const N=this.hls.config,Z=N.pLoader,ve=N.loader,je=Z||ve,pt=new je(N);return this.loaders[D.type]=pt,pt}getInternalLoader(D){return this.loaders[D.type]}resetInternalLoader(D){this.loaders[D]&&delete this.loaders[D]}destroyInternalLoaders(){for(const D in this.loaders){const N=this.loaders[D];N&&N.destroy(),this.resetInternalLoader(D)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(D,N){const{url:Z}=N;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:jo.MANIFEST,url:Z,deliveryDirectives:null})}onLevelLoading(D,N){const{id:Z,level:ve,url:je,deliveryDirectives:pt}=N;this.load({id:Z,level:ve,responseType:"text",type:jo.LEVEL,url:je,deliveryDirectives:pt})}onAudioTrackLoading(D,N){const{id:Z,groupId:ve,url:je,deliveryDirectives:pt}=N;this.load({id:Z,groupId:ve,level:null,responseType:"text",type:jo.AUDIO_TRACK,url:je,deliveryDirectives:pt})}onSubtitleTrackLoading(D,N){const{id:Z,groupId:ve,url:je,deliveryDirectives:pt}=N;this.load({id:Z,groupId:ve,level:null,responseType:"text",type:jo.SUBTITLE_TRACK,url:je,deliveryDirectives:pt})}load(D){var N;const Z=this.hls.config;let ve=this.getInternalLoader(D);if(ve){const gn=ve.context;if(gn&&gn.url===D.url){ze.trace("[playlist-loader]: playlist request ongoing");return}ze.log(`[playlist-loader]: aborting previous loader for type: ${D.type}`),ve.abort()}let je;if(D.type===jo.MANIFEST?je=Z.manifestLoadPolicy.default:je=Ne({},Z.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),ve=this.createInternalLoader(D),(N=D.deliveryDirectives)!=null&&N.part){let gn;if(D.type===jo.LEVEL&&D.level!==null?gn=this.hls.levels[D.level].details:D.type===jo.AUDIO_TRACK&&D.id!==null?gn=this.hls.audioTracks[D.id].details:D.type===jo.SUBTITLE_TRACK&&D.id!==null&&(gn=this.hls.subtitleTracks[D.id].details),gn){const Xn=gn.partTarget,pr=gn.targetduration;if(Xn&&pr){const Zr=Math.max(Xn*3,pr*.8)*1e3;je=Ne({},je,{maxTimeToFirstByteMs:Math.min(Zr,je.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(Zr,je.maxTimeToFirstByteMs)})}}}const pt=je.errorRetry||je.timeoutRetry||{},Nt={loadPolicy:je,timeout:je.maxLoadTimeMs,maxRetry:pt.maxNumRetry||0,retryDelay:pt.retryDelayMs||0,maxRetryDelay:pt.maxRetryDelayMs||0},hn={onSuccess:(gn,Xn,pr,Zr)=>{const oo=this.getInternalLoader(pr);this.resetInternalLoader(pr.type);const vo=gn.data;if(vo.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(gn,pr,new Error("no EXTM3U delimiter"),Zr||null,Xn);return}Xn.parsing.start=performance.now(),go.isMediaPlaylist(vo)?this.handleTrackOrLevelPlaylist(gn,Xn,pr,Zr||null,oo):this.handleMasterPlaylist(gn,Xn,pr,Zr)},onError:(gn,Xn,pr,Zr)=>{this.handleNetworkError(Xn,pr,!1,gn,Zr)},onTimeout:(gn,Xn,pr)=>{this.handleNetworkError(Xn,pr,!0,void 0,gn)}};ve.load(D,Nt,hn)}handleMasterPlaylist(D,N,Z,ve){const je=this.hls,pt=D.data,Nt=ds(D,Z),hn=go.parseMasterPlaylist(pt,Nt);if(hn.playlistParsingError){this.handleManifestParsingError(D,Z,hn.playlistParsingError,ve,N);return}const{contentSteering:gn,levels:Xn,sessionData:pr,sessionKeys:Zr,startTimeOffset:oo,variableList:vo}=hn;this.variableList=vo;const{AUDIO:Fo=[],SUBTITLES:Go,"CLOSED-CAPTIONS":pa}=go.parseMasterPlaylistMedia(pt,Nt,hn);Fo.length&&!Fo.some(de=>!de.url)&&Xn[0].audioCodec&&!Xn[0].attrs.AUDIO&&(ze.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),Fo.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Pn({}),bitrate:0,url:""})),je.trigger(Ie.MANIFEST_LOADED,{levels:Xn,audioTracks:Fo,subtitles:Go,captions:pa,contentSteering:gn,url:Nt,stats:N,networkDetails:ve,sessionData:pr,sessionKeys:Zr,startTimeOffset:oo,variableList:vo})}handleTrackOrLevelPlaylist(D,N,Z,ve,je){const pt=this.hls,{id:Nt,level:hn,type:gn}=Z,Xn=ds(D,Z),pr=$e(Nt)?Nt:0,Zr=$e(hn)?hn:pr,oo=Ua(Z),vo=go.parseLevelPlaylist(D.data,Xn,Zr,oo,pr,this.variableList);if(gn===jo.MANIFEST){const Fo={attrs:new Pn({}),bitrate:0,details:vo,name:"",url:Xn};pt.trigger(Ie.MANIFEST_LOADED,{levels:[Fo],audioTracks:[],url:Xn,stats:N,networkDetails:ve,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}N.parsing.end=performance.now(),Z.levelDetails=vo,this.handlePlaylistLoaded(vo,D,N,Z,ve,je)}handleManifestParsingError(D,N,Z,ve,je){this.hls.trigger(Ie.ERROR,{type:Bt.NETWORK_ERROR,details:mt.MANIFEST_PARSING_ERROR,fatal:N.type===jo.MANIFEST,url:D.url,err:Z,error:Z,reason:Z.message,response:D,context:N,networkDetails:ve,stats:je})}handleNetworkError(D,N,Z=!1,ve,je){let pt=`A network ${Z?"timeout":"error"+(ve?" (status "+ve.code+")":"")} occurred while loading ${D.type}`;D.type===jo.LEVEL?pt+=`: ${D.level} id: ${D.id}`:(D.type===jo.AUDIO_TRACK||D.type===jo.SUBTITLE_TRACK)&&(pt+=` id: ${D.id} group-id: "${D.groupId}"`);const Nt=new Error(pt);ze.warn(`[playlist-loader]: ${pt}`);let hn=mt.UNKNOWN,gn=!1;const Xn=this.getInternalLoader(D);switch(D.type){case jo.MANIFEST:hn=Z?mt.MANIFEST_LOAD_TIMEOUT:mt.MANIFEST_LOAD_ERROR,gn=!0;break;case jo.LEVEL:hn=Z?mt.LEVEL_LOAD_TIMEOUT:mt.LEVEL_LOAD_ERROR,gn=!1;break;case jo.AUDIO_TRACK:hn=Z?mt.AUDIO_TRACK_LOAD_TIMEOUT:mt.AUDIO_TRACK_LOAD_ERROR,gn=!1;break;case jo.SUBTITLE_TRACK:hn=Z?mt.SUBTITLE_TRACK_LOAD_TIMEOUT:mt.SUBTITLE_LOAD_ERROR,gn=!1;break}Xn&&this.resetInternalLoader(D.type);const pr={type:Bt.NETWORK_ERROR,details:hn,fatal:gn,url:D.url,loader:Xn,context:D,error:Nt,networkDetails:N,stats:je};if(ve){const Zr=(N==null?void 0:N.url)||D.url;pr.response=Fe({url:Zr,data:void 0},ve)}this.hls.trigger(Ie.ERROR,pr)}handlePlaylistLoaded(D,N,Z,ve,je,pt){const Nt=this.hls,{type:hn,level:gn,id:Xn,groupId:pr,deliveryDirectives:Zr}=ve,oo=ds(N,ve),vo=Ua(ve),Fo=typeof ve.level=="number"&&vo===Xo.MAIN?gn:void 0;if(!D.fragments.length){const pa=new Error("No Segments found in Playlist");Nt.trigger(Ie.ERROR,{type:Bt.NETWORK_ERROR,details:mt.LEVEL_EMPTY_ERROR,fatal:!1,url:oo,error:pa,reason:pa.message,response:N,context:ve,level:Fo,parent:vo,networkDetails:je,stats:Z});return}D.targetduration||(D.playlistParsingError=new Error("Missing Target Duration"));const Go=D.playlistParsingError;if(Go){Nt.trigger(Ie.ERROR,{type:Bt.NETWORK_ERROR,details:mt.LEVEL_PARSING_ERROR,fatal:!1,url:oo,error:Go,reason:Go.message,response:N,context:ve,level:Fo,parent:vo,networkDetails:je,stats:Z});return}switch(D.live&&pt&&(pt.getCacheAge&&(D.ageHeader=pt.getCacheAge()||0),(!pt.getCacheAge||isNaN(D.ageHeader))&&(D.ageHeader=0)),hn){case jo.MANIFEST:case jo.LEVEL:Nt.trigger(Ie.LEVEL_LOADED,{details:D,level:Fo||0,id:Xn||0,stats:Z,networkDetails:je,deliveryDirectives:Zr});break;case jo.AUDIO_TRACK:Nt.trigger(Ie.AUDIO_TRACK_LOADED,{details:D,id:Xn||0,groupId:pr||"",stats:Z,networkDetails:je,deliveryDirectives:Zr});break;case jo.SUBTITLE_TRACK:Nt.trigger(Ie.SUBTITLE_TRACK_LOADED,{details:D,id:Xn||0,groupId:pr||"",stats:Z,networkDetails:je,deliveryDirectives:Zr});break}}}function ys(Et,D){let N;try{N=new Event("addtrack")}catch{N=document.createEvent("Event"),N.initEvent("addtrack",!1,!1)}N.track=Et,D.dispatchEvent(N)}function Ys(Et,D){const N=Et.mode;if(N==="disabled"&&(Et.mode="hidden"),Et.cues&&!Et.cues.getCueById(D.id))try{if(Et.addCue(D),!Et.cues.getCueById(D.id))throw new Error(`addCue is failed for: ${D}`)}catch(Z){ze.debug(`[texttrack-utils]: ${Z}`);try{const ve=new self.TextTrackCue(D.startTime,D.endTime,D.text);ve.id=D.id,Et.addCue(ve)}catch(ve){ze.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${ve}`)}}N==="disabled"&&(Et.mode=N)}function Gs(Et){const D=Et.mode;if(D==="disabled"&&(Et.mode="hidden"),Et.cues)for(let N=Et.cues.length;N--;)Et.removeCue(Et.cues[N]);D==="disabled"&&(Et.mode=D)}function xs(Et,D,N,Z){const ve=Et.mode;if(ve==="disabled"&&(Et.mode="hidden"),Et.cues&&Et.cues.length>0){const je=Pi(Et.cues,D,N);for(let pt=0;pt<je.length;pt++)(!Z||Z(je[pt]))&&Et.removeCue(je[pt])}ve==="disabled"&&(Et.mode=ve)}function Ai(Et,D){if(D<Et[0].startTime)return 0;const N=Et.length-1;if(D>Et[N].endTime)return-1;let Z=0,ve=N;for(;Z<=ve;){const je=Math.floor((ve+Z)/2);if(D<Et[je].startTime)ve=je-1;else if(D>Et[je].startTime&&Z<N)Z=je+1;else return je}return Et[Z].startTime-D<D-Et[ve].startTime?Z:ve}function Pi(Et,D,N){const Z=[],ve=Ai(Et,D);if(ve>-1)for(let je=ve,pt=Et.length;je<pt;je++){const Nt=Et[je];if(Nt.startTime>=D&&Nt.endTime<=N)Z.push(Nt);else if(Nt.startTime>N)return Z}return Z}var ei={audioId3:"org.id3",dateRange:"com.apple.quicktime.HLS",emsg:"https://aomedia.org/emsg/ID3"};const hi=.25;function ks(){if(!(typeof self>"u"))return self.VTTCue||self.TextTrackCue}function Ms(Et,D,N,Z,ve){let je=new Et(D,N,"");try{je.value=Z,ve&&(je.type=ve)}catch{je=new Et(D,N,JSON.stringify(ve?Fe({type:ve},Z):Z))}return je}const bs=(()=>{const Et=ks();try{Et&&new Et(0,Number.POSITIVE_INFINITY,"")}catch{return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function Hs(Et,D){return Et.getTime()/1e3-D}function Os(Et){return Uint8Array.from(Et.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class Vs{constructor(D){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=D,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=null}_registerListeners(){const{hls:D}=this;D.on(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),D.on(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),D.on(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.on(Ie.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),D.on(Ie.BUFFER_FLUSHING,this.onBufferFlushing,this),D.on(Ie.LEVEL_UPDATED,this.onLevelUpdated,this)}_unregisterListeners(){const{hls:D}=this;D.off(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),D.off(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),D.off(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.off(Ie.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),D.off(Ie.BUFFER_FLUSHING,this.onBufferFlushing,this),D.off(Ie.LEVEL_UPDATED,this.onLevelUpdated,this)}onMediaAttached(D,N){this.media=N.media}onMediaDetaching(){this.id3Track&&(Gs(this.id3Track),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(D){const N=this.getID3Track(D.textTracks);return N.mode="hidden",N}getID3Track(D){if(this.media){for(let N=0;N<D.length;N++){const Z=D[N];if(Z.kind==="metadata"&&Z.label==="id3")return ys(Z,this.media),Z}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(D,N){if(!this.media)return;const{hls:{config:{enableEmsgMetadataCues:Z,enableID3MetadataCues:ve}}}=this;if(!Z&&!ve)return;const{samples:je}=N;this.id3Track||(this.id3Track=this.createTrack(this.media));const pt=ks();if(pt)for(let Nt=0;Nt<je.length;Nt++){const hn=je[Nt].type;if(hn===ei.emsg&&!Z||!ve)continue;const gn=wt(je[Nt].data);if(gn){const Xn=je[Nt].pts;let pr=Xn+je[Nt].duration;pr>bs&&(pr=bs),pr-Xn<=0&&(pr=Xn+hi);for(let oo=0;oo<gn.length;oo++){const vo=gn[oo];if(!Ae(vo)){this.updateId3CueEnds(Xn,hn);const Fo=Ms(pt,Xn,pr,vo,hn);Fo&&this.id3Track.addCue(Fo)}}}}}updateId3CueEnds(D,N){var Z;const ve=(Z=this.id3Track)==null?void 0:Z.cues;if(ve)for(let je=ve.length;je--;){const pt=ve[je];pt.type===N&&pt.startTime<D&&pt.endTime===bs&&(pt.endTime=D)}}onBufferFlushing(D,{startOffset:N,endOffset:Z,type:ve}){const{id3Track:je,hls:pt}=this;if(!pt)return;const{config:{enableEmsgMetadataCues:Nt,enableID3MetadataCues:hn}}=pt;if(je&&(Nt||hn)){let gn;ve==="audio"?gn=Xn=>Xn.type===ei.audioId3&&hn:ve==="video"?gn=Xn=>Xn.type===ei.emsg&&Nt:gn=Xn=>Xn.type===ei.audioId3&&hn||Xn.type===ei.emsg&&Nt,xs(je,N,Z,gn)}}onLevelUpdated(D,{details:N}){if(!this.media||!N.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{dateRangeCuesAppended:Z,id3Track:ve}=this,{dateRanges:je}=N,pt=Object.keys(je);if(ve){const Xn=Object.keys(Z).filter(pr=>!pt.includes(pr));for(let pr=Xn.length;pr--;){const Zr=Xn[pr];Object.keys(Z[Zr].cues).forEach(oo=>{ve.removeCue(Z[Zr].cues[oo])}),delete Z[Zr]}}const Nt=N.fragments[N.fragments.length-1];if(pt.length===0||!$e(Nt==null?void 0:Nt.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const hn=Nt.programDateTime/1e3-Nt.start,gn=ks();for(let Xn=0;Xn<pt.length;Xn++){const pr=pt[Xn],Zr=je[pr],oo=Z[pr],vo=(oo==null?void 0:oo.cues)||{};let Fo=(oo==null?void 0:oo.durationKnown)||!1;const Go=Hs(Zr.startDate,hn);let pa=bs;const Se=Zr.endDate;if(Se)pa=Hs(Se,hn),Fo=!0;else if(Zr.endOnNext&&!Fo){const We=pt.reduce((_t,nn)=>{const vn=je[nn];return vn.class===Zr.class&&vn.id!==nn&&vn.startDate>Zr.startDate&&_t.push(vn),_t},[]).sort((_t,nn)=>_t.startDate.getTime()-nn.startDate.getTime())[0];We&&(pa=Hs(We.startDate,hn),Fo=!0)}const de=Object.keys(Zr.attr);for(let We=0;We<de.length;We++){const _t=de[We];if(!Yn(_t))continue;const nn=vo[_t];if(nn)Fo&&!oo.durationKnown&&(nn.endTime=pa);else if(gn){let vn=Zr.attr[_t];Ln(_t)&&(vn=Os(vn));const cr=Ms(gn,Go,pa,{key:_t,data:vn},ei.dateRange);cr&&(cr.id=pr,this.id3Track.addCue(cr),vo[_t]=cr)}}Z[pr]={cues:vo,dateRange:Zr,durationKnown:Fo}}}}class _s{constructor(D){this.hls=void 0,this.config=void 0,this.media=null,this.levelDetails=null,this.currentTime=0,this.stallCount=0,this._latency=null,this.timeupdateHandler=()=>this.timeupdate(),this.hls=D,this.config=D.config,this.registerListeners()}get latency(){return this._latency||0}get maxLatency(){const{config:D,levelDetails:N}=this;return D.liveMaxLatencyDuration!==void 0?D.liveMaxLatencyDuration:N?D.liveMaxLatencyDurationCount*N.targetduration:0}get targetLatency(){const{levelDetails:D}=this;if(D===null)return null;const{holdBack:N,partHoldBack:Z,targetduration:ve}=D,{liveSyncDuration:je,liveSyncDurationCount:pt,lowLatencyMode:Nt}=this.config,hn=this.hls.userConfig;let gn=Nt&&Z||N;(hn.liveSyncDuration||hn.liveSyncDurationCount||gn===0)&&(gn=je!==void 0?je:pt*ve);const Xn=ve,pr=1;return gn+Math.min(this.stallCount*pr,Xn)}get liveSyncPosition(){const D=this.estimateLiveEdge(),N=this.targetLatency,Z=this.levelDetails;if(D===null||N===null||Z===null)return null;const ve=Z.edge,je=D-N-this.edgeStalled,pt=ve-Z.totalduration,Nt=ve-(this.config.lowLatencyMode&&Z.partTarget||Z.targetduration);return Math.min(Math.max(pt,je),Nt)}get drift(){const{levelDetails:D}=this;return D===null?1:D.drift}get edgeStalled(){const{levelDetails:D}=this;if(D===null)return 0;const N=(this.config.lowLatencyMode&&D.partTarget||D.targetduration)*3;return Math.max(D.age-N,0)}get forwardBufferLength(){const{media:D,levelDetails:N}=this;if(!D||!N)return 0;const Z=D.buffered.length;return(Z?D.buffered.end(Z-1):N.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.levelDetails=null,this.hls=this.timeupdateHandler=null}registerListeners(){this.hls.on(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.on(Ie.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(Ie.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.on(Ie.ERROR,this.onError,this)}unregisterListeners(){this.hls.off(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.off(Ie.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(Ie.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.off(Ie.ERROR,this.onError,this)}onMediaAttached(D,N){this.media=N.media,this.media.addEventListener("timeupdate",this.timeupdateHandler)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.timeupdateHandler),this.media=null)}onManifestLoading(){this.levelDetails=null,this._latency=null,this.stallCount=0}onLevelUpdated(D,{details:N}){this.levelDetails=N,N.advanced&&this.timeupdate(),!N.live&&this.media&&this.media.removeEventListener("timeupdate",this.timeupdateHandler)}onError(D,N){var Z;N.details===mt.BUFFER_STALLED_ERROR&&(this.stallCount++,(Z=this.levelDetails)!=null&&Z.live&&ze.warn("[playback-rate-controller]: Stall detected, adjusting target latency"))}timeupdate(){const{media:D,levelDetails:N}=this;if(!D||!N)return;this.currentTime=D.currentTime;const Z=this.computeLatency();if(Z===null)return;this._latency=Z;const{lowLatencyMode:ve,maxLiveSyncPlaybackRate:je}=this.config;if(!ve||je===1)return;const pt=this.targetLatency;if(pt===null)return;const Nt=Z-pt,hn=Math.min(this.maxLatency,pt+N.targetduration),gn=Nt<hn;if(N.live&&gn&&Nt>.05&&this.forwardBufferLength>1){const Xn=Math.min(2,Math.max(1,je)),pr=Math.round(2/(1+Math.exp(-.75*Nt-this.edgeStalled))*20)/20;D.playbackRate=Math.min(Xn,Math.max(1,pr))}else D.playbackRate!==1&&D.playbackRate!==0&&(D.playbackRate=1)}estimateLiveEdge(){const{levelDetails:D}=this;return D===null?null:D.edge+D.age}computeLatency(){const D=this.estimateLiveEdge();return D===null?null:D-this.currentTime}}const fs=["NONE","TYPE-0","TYPE-1",null];var Ss={No:"",Yes:"YES",v2:"v2"};function hs(Et,D){const{canSkipUntil:N,canSkipDateRanges:Z,endSN:ve}=Et,je=D!==void 0?D-ve:0;return N&&je<N?Z?Ss.v2:Ss.Yes:Ss.No}class li{constructor(D,N,Z){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=D,this.part=N,this.skip=Z}addDirectives(D){const N=new self.URL(D);return this.msn!==void 0&&N.searchParams.set("_HLS_msn",this.msn.toString()),this.part!==void 0&&N.searchParams.set("_HLS_part",this.part.toString()),this.skip&&N.searchParams.set("_HLS_skip",this.skip),N.href}}class Ni{constructor(D){this._attrs=void 0,this.audioCodec=void 0,this.bitrate=void 0,this.codecSet=void 0,this.height=void 0,this.id=void 0,this.name=void 0,this.videoCodec=void 0,this.width=void 0,this.unknownCodecs=void 0,this.audioGroupIds=void 0,this.details=void 0,this.fragmentError=0,this.loadError=0,this.loaded=void 0,this.realBitrate=0,this.textGroupIds=void 0,this.url=void 0,this._urlId=0,this.url=[D.url],this._attrs=[D.attrs],this.bitrate=D.bitrate,D.details&&(this.details=D.details),this.id=D.id||0,this.name=D.name,this.width=D.width||0,this.height=D.height||0,this.audioCodec=D.audioCodec,this.videoCodec=D.videoCodec,this.unknownCodecs=D.unknownCodecs,this.codecSet=[D.videoCodec,D.audioCodec].filter(N=>N).join(",").replace(/\.[^.,]+/g,"")}get maxBitrate(){return Math.max(this.realBitrate,this.bitrate)}get attrs(){return this._attrs[this._urlId]}get pathwayId(){return this.attrs["PATHWAY-ID"]||"."}get uri(){return this.url[this._urlId]||""}get urlId(){return this._urlId}set urlId(D){const N=D%this.url.length;this._urlId!==N&&(this.fragmentError=0,this.loadError=0,this.details=void 0,this._urlId=N)}get audioGroupId(){var D;return(D=this.audioGroupIds)==null?void 0:D[this.urlId]}get textGroupId(){var D;return(D=this.textGroupIds)==null?void 0:D[this.urlId]}addFallback(D){this.url.push(D.url),this._attrs.push(D.attrs)}}function Ji(Et,D){const N=D.startPTS;if($e(N)){let Z=0,ve;D.sn>Et.sn?(Z=N-Et.start,ve=Et):(Z=Et.start-N,ve=D),ve.duration!==Z&&(ve.duration=Z)}else D.sn>Et.sn?Et.cc===D.cc&&Et.minEndPTS?D.start=Et.start+(Et.minEndPTS-Et.start):D.start=Et.start+Et.duration:D.start=Math.max(Et.start-D.duration,0)}function wi(Et,D,N,Z,ve,je){Z-N<=0&&(ze.warn("Fragment should have a positive duration",D),Z=N+D.duration,je=ve+D.duration);let Nt=N,hn=Z;const gn=D.startPTS,Xn=D.endPTS;if($e(gn)){const Go=Math.abs(gn-N);$e(D.deltaPTS)?D.deltaPTS=Math.max(Go,D.deltaPTS):D.deltaPTS=Go,Nt=Math.max(N,gn),N=Math.min(N,gn),ve=Math.min(ve,D.startDTS),hn=Math.min(Z,Xn),Z=Math.max(Z,Xn),je=Math.max(je,D.endDTS)}const pr=N-D.start;D.start!==0&&(D.start=N),D.duration=Z-D.start,D.startPTS=N,D.maxStartPTS=Nt,D.startDTS=ve,D.endPTS=Z,D.minEndPTS=hn,D.endDTS=je;const Zr=D.sn;if(!Et||Zr<Et.startSN||Zr>Et.endSN)return 0;let oo;const vo=Zr-Et.startSN,Fo=Et.fragments;for(Fo[vo]=D,oo=vo;oo>0;oo--)Ji(Fo[oo],Fo[oo-1]);for(oo=vo;oo<Fo.length-1;oo++)Ji(Fo[oo],Fo[oo+1]);return Et.fragmentHint&&Ji(Fo[Fo.length-1],Et.fragmentHint),Et.PTSKnown=Et.alignedSliding=!0,pr}function vi(Et,D){let N=null;const Z=Et.fragments;for(let hn=Z.length-1;hn>=0;hn--){const gn=Z[hn].initSegment;if(gn){N=gn;break}}Et.fragmentHint&&delete Et.fragmentHint.endPTS;let ve=0,je;if(Zs(Et,D,(hn,gn)=>{hn.relurl&&(ve=hn.cc-gn.cc),$e(hn.startPTS)&&$e(hn.endPTS)&&(gn.start=gn.startPTS=hn.startPTS,gn.startDTS=hn.startDTS,gn.maxStartPTS=hn.maxStartPTS,gn.endPTS=hn.endPTS,gn.endDTS=hn.endDTS,gn.minEndPTS=hn.minEndPTS,gn.duration=hn.endPTS-hn.startPTS,gn.duration&&(je=gn),D.PTSKnown=D.alignedSliding=!0),gn.elementaryStreams=hn.elementaryStreams,gn.loader=hn.loader,gn.stats=hn.stats,gn.urlId=hn.urlId,hn.initSegment&&(gn.initSegment=hn.initSegment,N=hn.initSegment)}),N&&(D.fragmentHint?D.fragments.concat(D.fragmentHint):D.fragments).forEach(gn=>{var Xn;(!gn.initSegment||gn.initSegment.relurl===((Xn=N)==null?void 0:Xn.relurl))&&(gn.initSegment=N)}),D.skippedSegments)if(D.deltaUpdateFailed=D.fragments.some(hn=>!hn),D.deltaUpdateFailed){ze.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let hn=D.skippedSegments;hn--;)D.fragments.shift();D.startSN=D.fragments[0].sn,D.startCC=D.fragments[0].cc}else D.canSkipDateRanges&&(D.dateRanges=sl(Et.dateRanges,D.dateRanges,D.recentlyRemovedDateranges));const pt=D.fragments;if(ve){ze.warn("discontinuity sliding from playlist, take drift into account");for(let hn=0;hn<pt.length;hn++)pt[hn].cc+=ve}D.skippedSegments&&(D.startCC=D.fragments[0].cc),Zi(Et.partList,D.partList,(hn,gn)=>{gn.elementaryStreams=hn.elementaryStreams,gn.stats=hn.stats}),je?wi(D,je,je.startPTS,je.endPTS,je.startDTS,je.endDTS):Bs(Et,D),pt.length&&(D.totalduration=D.edge-pt[0].start),D.driftStartTime=Et.driftStartTime,D.driftStart=Et.driftStart;const Nt=D.advancedDateTime;if(D.advanced&&Nt){const hn=D.edge;D.driftStart||(D.driftStartTime=Nt,D.driftStart=hn),D.driftEndTime=Nt,D.driftEnd=hn}else D.driftEndTime=Et.driftEndTime,D.driftEnd=Et.driftEnd,D.advancedDateTime=Et.advancedDateTime}function sl(Et,D,N){const Z=Ne({},Et);return N&&N.forEach(ve=>{delete Z[ve]}),Object.keys(D).forEach(ve=>{const je=new bn(D[ve].attr,Z[ve]);je.isValid?Z[ve]=je:ze.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${JSON.stringify(D[ve].attr)}"`)}),Z}function Zi(Et,D,N){if(Et&&D){let Z=0;for(let ve=0,je=Et.length;ve<=je;ve++){const pt=Et[ve],Nt=D[ve+Z];pt&&Nt&&pt.index===Nt.index&&pt.fragment.sn===Nt.fragment.sn?N(pt,Nt):Z--}}}function Zs(Et,D,N){const Z=D.skippedSegments,ve=Math.max(Et.startSN,D.startSN)-D.startSN,je=(Et.fragmentHint?1:0)+(Z?D.endSN:Math.min(Et.endSN,D.endSN))-D.startSN,pt=D.startSN-Et.startSN,Nt=D.fragmentHint?D.fragments.concat(D.fragmentHint):D.fragments,hn=Et.fragmentHint?Et.fragments.concat(Et.fragmentHint):Et.fragments;for(let gn=ve;gn<=je;gn++){const Xn=hn[pt+gn];let pr=Nt[gn];Z&&!pr&&gn<Z&&(pr=D.fragments[gn]=Xn),Xn&&pr&&N(Xn,pr)}}function Bs(Et,D){const N=D.startSN+D.skippedSegments-Et.startSN,Z=Et.fragments;N<0||N>=Z.length||ti(D,Z[N].start)}function ti(Et,D){if(D){const N=Et.fragments;for(let Z=Et.skippedSegments;Z<N.length;Z++)N[Z].start+=D;Et.fragmentHint&&(Et.fragmentHint.start+=D)}}function gi(Et,D=1/0){let N=1e3*Et.targetduration;if(Et.updated){const Z=Et.fragments,ve=4;if(Z.length&&N*ve>D){const je=Z[Z.length-1].duration*1e3;je<N&&(N=je)}}else N/=2;return Math.round(N)}function yi(Et,D,N){if(!(Et!=null&&Et.details))return null;const Z=Et.details;let ve=Z.fragments[D-Z.startSN];return ve||(ve=Z.fragmentHint,ve&&ve.sn===D)?ve:D<Z.startSN&&N&&N.sn===D?N:null}function ki(Et,D,N){var Z;return Et!=null&&Et.details?bi((Z=Et.details)==null?void 0:Z.partList,D,N):null}function bi(Et,D,N){if(Et)for(let Z=Et.length;Z--;){const ve=Et[Z];if(ve.index===N&&ve.fragment.sn===D)return ve}return null}function nl(Et){switch(Et.details){case mt.FRAG_LOAD_TIMEOUT:case mt.KEY_LOAD_TIMEOUT:case mt.LEVEL_LOAD_TIMEOUT:case mt.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function Si(Et,D){const N=nl(D);return Et.default[`${N?"timeout":"error"}Retry`]}function ta(Et,D){const N=Et.backoff==="linear"?1:Math.pow(2,D);return Math.min(N*Et.retryDelayMs,Et.maxRetryDelayMs)}function ke(Et){return Fe(Fe({},Et),{errorRetry:null,timeoutRetry:null})}function Jt(Et,D,N,Z){return!!Et&&D<Et.maxNumRetry&&(Fn(Z)||!!N)}function Fn(Et){return Et===0&&navigator.onLine===!1||!!Et&&(Et<400||Et>499)}const mr={search:function(Et,D){let N=0,Z=Et.length-1,ve=null,je=null;for(;N<=Z;){ve=(N+Z)/2|0,je=Et[ve];const pt=D(je);if(pt>0)N=ve+1;else if(pt<0)Z=ve-1;else return je}return null}};function Tr(Et,D,N){if(D===null||!Array.isArray(Et)||!Et.length||!$e(D))return null;const Z=Et[0].programDateTime;if(D<(Z||0))return null;const ve=Et[Et.length-1].endProgramDateTime;if(D>=(ve||0))return null;N=N||0;for(let je=0;je<Et.length;++je){const pt=Et[je];if(gt(D,N,pt))return pt}return null}function Oo(Et,D,N=0,Z=0){let ve=null;if(Et?ve=D[Et.sn-D[0].sn+1]||null:N===0&&D[0].start===0&&(ve=D[0]),ve&&Uo(N,Z,ve)===0)return ve;const je=mr.search(D,Uo.bind(null,N,Z));return je&&(je!==Et||!ve)?je:ve}function Uo(Et=0,D=0,N){if(N.start<=Et&&N.start+N.duration>Et)return 0;const Z=Math.min(D,N.duration+(N.deltaPTS?N.deltaPTS:0));return N.start+N.duration-Z<=Et?1:N.start-Z>Et&&N.start?-1:0}function gt(Et,D,N){const Z=Math.min(D,N.duration+(N.deltaPTS?N.deltaPTS:0))*1e3;return(N.endProgramDateTime||0)-Z>Et}function it(Et,D){return mr.search(Et,N=>N.cc<D?1:N.cc>D?-1:0)}const Lt=3e5;var $t={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},_n={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class dn{constructor(D){this.hls=void 0,this.playlistError=0,this.penalizedRenditions={},this.log=void 0,this.warn=void 0,this.error=void 0,this.hls=D,this.log=ze.log.bind(ze,"[info]:"),this.warn=ze.warn.bind(ze,"[warning]:"),this.error=ze.error.bind(ze,"[error]:"),this.registerListeners()}registerListeners(){const D=this.hls;D.on(Ie.ERROR,this.onError,this),D.on(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.on(Ie.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const D=this.hls;D&&(D.off(Ie.ERROR,this.onError,this),D.off(Ie.ERROR,this.onErrorOut,this),D.off(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.off(Ie.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null,this.penalizedRenditions={}}startLoad(D){this.playlistError=0}stopLoad(){}getVariantLevelIndex(D){return(D==null?void 0:D.type)===Xo.MAIN?D.level:this.hls.loadLevel}onManifestLoading(){this.playlistError=0,this.penalizedRenditions={}}onLevelUpdated(){this.playlistError=0}onError(D,N){var Z,ve;if(N.fatal)return;const je=this.hls,pt=N.context;switch(N.details){case mt.FRAG_LOAD_ERROR:case mt.FRAG_LOAD_TIMEOUT:case mt.KEY_LOAD_ERROR:case mt.KEY_LOAD_TIMEOUT:N.errorAction=this.getFragRetryOrSwitchAction(N);return;case mt.FRAG_PARSING_ERROR:if((Z=N.frag)!=null&&Z.gap){N.errorAction={action:$t.DoNothing,flags:_n.None};return}case mt.FRAG_GAP:case mt.FRAG_DECRYPT_ERROR:{N.errorAction=this.getFragRetryOrSwitchAction(N),N.errorAction.action=$t.SendAlternateToPenaltyBox;return}case mt.LEVEL_EMPTY_ERROR:case mt.LEVEL_PARSING_ERROR:{var Nt,hn;const gn=N.parent===Xo.MAIN?N.level:je.loadLevel;N.details===mt.LEVEL_EMPTY_ERROR&&((Nt=N.context)!=null&&(hn=Nt.levelDetails)!=null&&hn.live)?N.errorAction=this.getPlaylistRetryOrSwitchAction(N,gn):(N.levelRetry=!1,N.errorAction=this.getLevelSwitchAction(N,gn))}return;case mt.LEVEL_LOAD_ERROR:case mt.LEVEL_LOAD_TIMEOUT:typeof(pt==null?void 0:pt.level)=="number"&&(N.errorAction=this.getPlaylistRetryOrSwitchAction(N,pt.level));return;case mt.AUDIO_TRACK_LOAD_ERROR:case mt.AUDIO_TRACK_LOAD_TIMEOUT:case mt.SUBTITLE_LOAD_ERROR:case mt.SUBTITLE_TRACK_LOAD_TIMEOUT:if(pt){const gn=je.levels[je.loadLevel];if(gn&&(pt.type===jo.AUDIO_TRACK&&pt.groupId===gn.audioGroupId||pt.type===jo.SUBTITLE_TRACK&&pt.groupId===gn.textGroupId)){N.errorAction=this.getPlaylistRetryOrSwitchAction(N,je.loadLevel),N.errorAction.action=$t.SendAlternateToPenaltyBox,N.errorAction.flags=_n.MoveAllAlternatesMatchingHost;return}}return;case mt.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const gn=je.levels[je.loadLevel],Xn=gn==null?void 0:gn.attrs["HDCP-LEVEL"];Xn&&(N.errorAction={action:$t.SendAlternateToPenaltyBox,flags:_n.MoveAllAlternatesMatchingHDCP,hdcpLevel:Xn})}return;case mt.BUFFER_ADD_CODEC_ERROR:case mt.REMUX_ALLOC_ERROR:N.errorAction=this.getLevelSwitchAction(N,(ve=N.level)!=null?ve:je.loadLevel);return;case mt.INTERNAL_EXCEPTION:case mt.BUFFER_APPENDING_ERROR:case mt.BUFFER_APPEND_ERROR:case mt.BUFFER_FULL_ERROR:case mt.LEVEL_SWITCH_ERROR:case mt.BUFFER_STALLED_ERROR:case mt.BUFFER_SEEK_OVER_HOLE:case mt.BUFFER_NUDGE_ON_STALL:N.errorAction={action:$t.DoNothing,flags:_n.None};return}if(N.type===Bt.KEY_SYSTEM_ERROR){const gn=this.getVariantLevelIndex(N.frag);N.levelRetry=!1,N.errorAction=this.getLevelSwitchAction(N,gn);return}}getPlaylistRetryOrSwitchAction(D,N){var Z;const ve=this.hls,je=Si(ve.config.playlistLoadPolicy,D),pt=this.playlistError++,Nt=(Z=D.response)==null?void 0:Z.code;if(Jt(je,pt,nl(D),Nt))return{action:$t.RetryRequest,flags:_n.None,retryConfig:je,retryCount:pt};const gn=this.getLevelSwitchAction(D,N);return je&&(gn.retryConfig=je,gn.retryCount=pt),gn}getFragRetryOrSwitchAction(D){const N=this.hls,Z=this.getVariantLevelIndex(D.frag),ve=N.levels[Z],{fragLoadPolicy:je,keyLoadPolicy:pt}=N.config,Nt=Si(D.details.startsWith("key")?pt:je,D),hn=N.levels.reduce((pr,Zr)=>pr+Zr.fragmentError,0);if(ve){var gn;D.details!==mt.FRAG_GAP&&ve.fragmentError++;const pr=(gn=D.response)==null?void 0:gn.code;if(Jt(Nt,hn,nl(D),pr))return{action:$t.RetryRequest,flags:_n.None,retryConfig:Nt,retryCount:hn}}const Xn=this.getLevelSwitchAction(D,Z);return Nt&&(Xn.retryConfig=Nt,Xn.retryCount=hn),Xn}getLevelSwitchAction(D,N){const Z=this.hls;N==null&&(N=Z.loadLevel);const ve=this.hls.levels[N];if(ve&&(ve.loadError++,Z.autoLevelEnabled)){var je,pt;let Nt=-1;const{levels:hn,loadLevel:gn,minAutoLevel:Xn,maxAutoLevel:pr}=Z,Zr=(je=D.frag)==null?void 0:je.type,{type:oo,groupId:vo}=(pt=D.context)!=null?pt:{};for(let Fo=hn.length;Fo--;){const Go=(Fo+gn)%hn.length;if(Go!==gn&&Go>=Xn&&Go<=pr&&hn[Go].loadError===0){const pa=hn[Go];if(D.details===mt.FRAG_GAP&&D.frag){const Se=hn[Go].details;if(Se){const de=Oo(D.frag,Se.fragments,D.frag.start);if(de!=null&&de.gap)continue}}else{if(oo===jo.AUDIO_TRACK&&vo===pa.audioGroupId||oo===jo.SUBTITLE_TRACK&&vo===pa.textGroupId)continue;if(Zr===Xo.AUDIO&&ve.audioGroupId===pa.audioGroupId||Zr===Xo.SUBTITLE&&ve.textGroupId===pa.textGroupId)continue}Nt=Go;break}}if(Nt>-1&&Z.loadLevel!==Nt)return D.levelRetry=!0,this.playlistError=0,{action:$t.SendAlternateToPenaltyBox,flags:_n.None,nextAutoLevel:Nt}}return{action:$t.SendAlternateToPenaltyBox,flags:_n.MoveAllAlternatesMatchingHost}}onErrorOut(D,N){var Z;switch((Z=N.errorAction)==null?void 0:Z.action){case $t.DoNothing:break;case $t.SendAlternateToPenaltyBox:this.sendAlternateToPenaltyBox(N),!N.errorAction.resolved&&N.details!==mt.FRAG_GAP&&(N.fatal=!0);break}if(N.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(D){const N=this.hls,Z=D.errorAction;if(!Z)return;const{flags:ve,hdcpLevel:je,nextAutoLevel:pt}=Z;switch(ve){case _n.None:this.switchLevel(D,pt);break;case _n.MoveAllAlternatesMatchingHost:Z.resolved||(Z.resolved=this.redundantFailover(D));break;case _n.MoveAllAlternatesMatchingHDCP:je&&(N.maxHdcpLevel=fs[fs.indexOf(je)-1],Z.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${N.maxHdcpLevel}" or lower`);break}Z.resolved||this.switchLevel(D,pt)}switchLevel(D,N){N!==void 0&&D.errorAction&&(this.warn(`switching to level ${N} after ${D.details}`),this.hls.nextAutoLevel=N,D.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel)}redundantFailover(D){const{hls:N,penalizedRenditions:Z}=this,ve=D.parent===Xo.MAIN?D.level:N.loadLevel,je=N.levels[ve],pt=je.url.length,Nt=D.frag?D.frag.urlId:je.urlId;je.urlId===Nt&&(!D.frag||je.details)&&this.penalizeRendition(je,D);for(let hn=1;hn<pt;hn++){const gn=(Nt+hn)%pt,Xn=Z[gn];if(!Xn||Jn(Xn,D,Z[Nt]))return this.warn(`Switching to Redundant Stream ${gn+1}/${pt}: "${je.url[gn]}" after ${D.details}`),this.playlistError=0,N.levels.forEach(pr=>{pr.urlId=gn}),N.nextLoadLevel=ve,!0}return!1}penalizeRendition(D,N){const{penalizedRenditions:Z}=this,ve=Z[D.urlId]||{lastErrorPerfMs:0,errors:[],details:void 0};ve.lastErrorPerfMs=performance.now(),ve.errors.push(N),ve.details=D.details,Z[D.urlId]=ve}}function Jn(Et,D,N){if(performance.now()-Et.lastErrorPerfMs>Lt)return!0;const Z=Et.details;if(D.details===mt.FRAG_GAP&&Z&&D.frag){const ve=D.frag.start,je=Oo(null,Z.fragments,ve);if(je&&!je.gap)return!0}if(N&&Et.errors.length<N.errors.length){const ve=Et.errors[Et.errors.length-1];if(Z&&ve.frag&&D.frag&&Math.abs(ve.frag.start-D.frag.start)>Z.targetduration*3)return!0}return!1}class Hn{constructor(D,N){this.hls=void 0,this.timer=-1,this.requestScheduled=-1,this.canLoad=!1,this.log=void 0,this.warn=void 0,this.log=ze.log.bind(ze,`${N}:`),this.warn=ze.warn.bind(ze,`${N}:`),this.hls=D}destroy(){this.clearTimer(),this.hls=this.log=this.warn=null}clearTimer(){clearTimeout(this.timer),this.timer=-1}startLoad(){this.canLoad=!0,this.requestScheduled=-1,this.loadPlaylist()}stopLoad(){this.canLoad=!1,this.clearTimer()}switchParams(D,N){const Z=N==null?void 0:N.renditionReports;if(Z){let ve=-1;for(let je=0;je<Z.length;je++){const pt=Z[je];let Nt;try{Nt=new self.URL(pt.URI,N.url).href}catch(hn){ze.warn(`Could not construct new URL for Rendition Report: ${hn}`),Nt=pt.URI||""}if(Nt===D){ve=je;break}else Nt===D.substring(0,Nt.length)&&(ve=je)}if(ve!==-1){const je=Z[ve],pt=parseInt(je["LAST-MSN"])||(N==null?void 0:N.lastPartSn);let Nt=parseInt(je["LAST-PART"])||(N==null?void 0:N.lastPartIndex);if(this.hls.config.lowLatencyMode){const hn=Math.min(N.age-N.partTarget,N.targetduration);Nt>=0&&hn>N.partTarget&&(Nt+=1)}return new li(pt,Nt>=0?Nt:void 0,Ss.No)}}}loadPlaylist(D){this.requestScheduled===-1&&(this.requestScheduled=self.performance.now())}shouldLoadPlaylist(D){return this.canLoad&&!!D&&!!D.url&&(!D.details||D.details.live)}shouldReloadPlaylist(D){return this.timer===-1&&this.requestScheduled===-1&&this.shouldLoadPlaylist(D)}playlistLoaded(D,N,Z){const{details:ve,stats:je}=N,pt=self.performance.now(),Nt=je.loading.first?Math.max(0,pt-je.loading.first):0;if(ve.advancedDateTime=Date.now()-Nt,ve.live||Z!=null&&Z.live){if(ve.reloaded(Z),Z&&this.log(`live playlist ${D} ${ve.advanced?"REFRESHED "+ve.lastPartSn+"-"+ve.lastPartIndex:ve.updated?"UPDATED":"MISSED"}`),Z&&ve.fragments.length>0&&vi(Z,ve),!this.canLoad||!ve.live)return;let hn,gn,Xn;if(ve.canBlockReload&&ve.endSN&&ve.advanced){const Go=this.hls.config.lowLatencyMode,pa=ve.lastPartSn,Se=ve.endSN,de=ve.lastPartIndex,We=de!==-1,_t=pa===Se,nn=Go?0:de;We?(gn=_t?Se+1:pa,Xn=_t?nn:de+1):gn=Se+1;const vn=ve.age,cr=vn+ve.ageHeader;let lo=Math.min(cr-ve.partTarget,ve.targetduration*1.5);if(lo>0){if(Z&&lo>Z.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${Z.tuneInGoal} to: ${lo} with playlist age: ${ve.age}`),lo=0;else{const Po=Math.floor(lo/ve.targetduration);if(gn+=Po,Xn!==void 0){const oa=Math.round(lo%ve.targetduration/ve.partTarget);Xn+=oa}this.log(`CDN Tune-in age: ${ve.ageHeader}s last advanced ${vn.toFixed(2)}s goal: ${lo} skip sn ${Po} to part ${Xn}`)}ve.tuneInGoal=lo}if(hn=this.getDeliveryDirectives(ve,N.deliveryDirectives,gn,Xn),Go||!_t){this.loadPlaylist(hn);return}}else(ve.canBlockReload||ve.canSkipUntil)&&(hn=this.getDeliveryDirectives(ve,N.deliveryDirectives,gn,Xn));const pr=this.hls.mainForwardBufferInfo,Zr=pr?pr.end-pr.len:0,oo=(ve.edge-Zr)*1e3,vo=gi(ve,oo);ve.updated&&pt>this.requestScheduled+vo&&(this.requestScheduled=je.loading.start),gn!==void 0&&ve.canBlockReload?this.requestScheduled=je.loading.first+vo-(ve.partTarget*1e3||1e3):this.requestScheduled===-1||this.requestScheduled+vo<pt?this.requestScheduled=pt:this.requestScheduled-pt<=0&&(this.requestScheduled+=vo);let Fo=this.requestScheduled-pt;Fo=Math.max(0,Fo),this.log(`reload live playlist ${D} in ${Math.round(Fo)} ms`),this.timer=self.setTimeout(()=>this.loadPlaylist(hn),Fo)}else this.clearTimer()}getDeliveryDirectives(D,N,Z,ve){let je=hs(D,Z);return N!=null&&N.skip&&D.deltaUpdateFailed&&(Z=N.msn,ve=N.part,je=Ss.No),new li(Z,ve,je)}checkRetry(D){const N=D.details,Z=nl(D),ve=D.errorAction,{action:je,retryCount:pt=0,retryConfig:Nt}=ve||{},hn=!!ve&&!!Nt&&(je===$t.RetryRequest||!ve.resolved&&je===$t.SendAlternateToPenaltyBox);if(hn){var gn;if(this.requestScheduled=-1,pt>=Nt.maxNumRetry)return!1;if(Z&&(gn=D.context)!=null&&gn.deliveryDirectives)this.warn(`Retrying playlist loading ${pt+1}/${Nt.maxNumRetry} after "${N}" without delivery-directives`),this.loadPlaylist();else{const Xn=ta(Nt,pt);this.timer=self.setTimeout(()=>this.loadPlaylist(),Xn),this.warn(`Retrying playlist loading ${pt+1}/${Nt.maxNumRetry} after "${N}" in ${Xn}ms`)}D.levelRetry=!0,ve.resolved=!0}return hn}}let jr;class wo extends Hn{constructor(D,N){super(D,"[level-controller]"),this._levels=[],this._firstLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=N,this._registerListeners()}_registerListeners(){const{hls:D}=this;D.on(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.on(Ie.MANIFEST_LOADED,this.onManifestLoaded,this),D.on(Ie.LEVEL_LOADED,this.onLevelLoaded,this),D.on(Ie.LEVELS_UPDATED,this.onLevelsUpdated,this),D.on(Ie.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),D.on(Ie.FRAG_LOADED,this.onFragLoaded,this),D.on(Ie.ERROR,this.onError,this)}_unregisterListeners(){const{hls:D}=this;D.off(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.off(Ie.MANIFEST_LOADED,this.onManifestLoaded,this),D.off(Ie.LEVEL_LOADED,this.onLevelLoaded,this),D.off(Ie.LEVELS_UPDATED,this.onLevelsUpdated,this),D.off(Ie.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),D.off(Ie.FRAG_LOADED,this.onFragLoaded,this),D.off(Ie.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}startLoad(){this._levels.forEach(N=>{N.loadError=0,N.fragmentError=0}),super.startLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[]}onManifestLoading(D,N){this.resetLevels()}onManifestLoaded(D,N){const Z=[],ve={};let je;N.levels.forEach(pt=>{var Nt;const hn=pt.attrs;((Nt=pt.audioCodec)==null?void 0:Nt.indexOf("mp4a.40.34"))!==-1&&(jr||(jr=/chrome|firefox/i.test(navigator.userAgent)),jr&&(pt.audioCodec=void 0));const{AUDIO:gn,CODECS:Xn,"FRAME-RATE":pr,"PATHWAY-ID":Zr,RESOLUTION:oo,SUBTITLES:vo}=hn,Go=`${`${Zr||"."}-`}${pt.bitrate}-${oo}-${pr}-${Xn}`;je=ve[Go],je?je.addFallback(pt):(je=new Ni(pt),ve[Go]=je,Z.push(je)),ko(je,"audio",gn),ko(je,"text",vo)}),this.filterAndSortMediaOptions(Z,N)}filterAndSortMediaOptions(D,N){let Z=[],ve=[],je=!1,pt=!1,Nt=!1,hn=D.filter(({audioCodec:oo,videoCodec:vo,width:Fo,height:Go,unknownCodecs:pa})=>(je||(je=!!(Fo&&Go)),pt||(pt=!!vo),Nt||(Nt=!!oo),!(pa!=null&&pa.length)&&(!oo||Vr(oo,"audio"))&&(!vo||Vr(vo,"video"))));if((je||pt)&&Nt&&(hn=hn.filter(({videoCodec:oo,width:vo,height:Fo})=>!!oo||!!(vo&&Fo))),hn.length===0){Promise.resolve().then(()=>{if(this.hls){const oo=new Error("no level with compatible codecs found in manifest");this.hls.trigger(Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:N.url,error:oo,reason:oo.message})}});return}N.audioTracks&&(Z=N.audioTracks.filter(oo=>!oo.audioCodec||Vr(oo.audioCodec,"audio")),Sa(Z)),N.subtitles&&(ve=N.subtitles,Sa(ve));const gn=hn.slice(0);hn.sort((oo,vo)=>oo.attrs["HDCP-LEVEL"]!==vo.attrs["HDCP-LEVEL"]?(oo.attrs["HDCP-LEVEL"]||"")>(vo.attrs["HDCP-LEVEL"]||"")?1:-1:oo.bitrate!==vo.bitrate?oo.bitrate-vo.bitrate:oo.attrs["FRAME-RATE"]!==vo.attrs["FRAME-RATE"]?oo.attrs.decimalFloatingPoint("FRAME-RATE")-vo.attrs.decimalFloatingPoint("FRAME-RATE"):oo.attrs.SCORE!==vo.attrs.SCORE?oo.attrs.decimalFloatingPoint("SCORE")-vo.attrs.decimalFloatingPoint("SCORE"):je&&oo.height!==vo.height?oo.height-vo.height:0);let Xn=gn[0];if(this.steering&&(hn=this.steering.filterParsedLevels(hn),hn.length!==gn.length)){for(let oo=0;oo<gn.length;oo++)if(gn[oo].pathwayId===hn[0].pathwayId){Xn=gn[oo];break}}this._levels=hn;for(let oo=0;oo<hn.length;oo++)if(hn[oo]===Xn){this._firstLevel=oo,this.log(`manifest loaded, ${hn.length} level(s) found, first bitrate: ${Xn.bitrate}`);break}const pr=Nt&&!pt,Zr={levels:hn,audioTracks:Z,subtitleTracks:ve,sessionData:N.sessionData,sessionKeys:N.sessionKeys,firstLevel:this._firstLevel,stats:N.stats,audio:Nt,video:pt,altAudio:!pr&&Z.some(oo=>!!oo.url)};this.hls.trigger(Ie.MANIFEST_PARSED,Zr),(this.hls.config.autoStartLoad||this.hls.forceStartLoad)&&this.hls.startLoad(this.hls.config.startPosition)}get levels(){return this._levels.length===0?null:this._levels}get level(){return this.currentLevelIndex}set level(D){const N=this._levels;if(N.length===0)return;if(D<0||D>=N.length){const Xn=new Error("invalid level idx"),pr=D<0;if(this.hls.trigger(Ie.ERROR,{type:Bt.OTHER_ERROR,details:mt.LEVEL_SWITCH_ERROR,level:D,fatal:pr,error:Xn,reason:Xn.message}),pr)return;D=Math.min(D,N.length-1)}const Z=this.currentLevelIndex,ve=this.currentLevel,je=ve?ve.attrs["PATHWAY-ID"]:void 0,pt=N[D],Nt=pt.attrs["PATHWAY-ID"];if(this.currentLevelIndex=D,this.currentLevel=pt,Z===D&&pt.details&&ve&&je===Nt)return;this.log(`Switching to level ${D}${Nt?" with Pathway "+Nt:""} from level ${Z}${je?" with Pathway "+je:""}`);const hn=Ne({},pt,{level:D,maxBitrate:pt.maxBitrate,attrs:pt.attrs,uri:pt.uri,urlId:pt.urlId});delete hn._attrs,delete hn._urlId,this.hls.trigger(Ie.LEVEL_SWITCHING,hn);const gn=pt.details;if(!gn||gn.live){const Xn=this.switchParams(pt.uri,ve==null?void 0:ve.details);this.loadPlaylist(Xn)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(D){this.manualLevelIndex=D,this._startLevel===void 0&&(this._startLevel=D),D!==-1&&(this.level=D)}get firstLevel(){return this._firstLevel}set firstLevel(D){this._firstLevel=D}get startLevel(){if(this._startLevel===void 0){const D=this.hls.config.startLevel;return D!==void 0?D:this._firstLevel}else return this._startLevel}set startLevel(D){this._startLevel=D}onError(D,N){N.fatal||!N.context||N.context.type===jo.LEVEL&&N.context.level===this.level&&this.checkRetry(N)}onFragLoaded(D,{frag:N}){if(N!==void 0&&N.type===Xo.MAIN){const Z=this._levels[N.level];Z!==void 0&&(Z.loadError=0)}}onLevelLoaded(D,N){var Z;const{level:ve,details:je}=N,pt=this._levels[ve];if(!pt){var Nt;this.warn(`Invalid level index ${ve}`),(Nt=N.deliveryDirectives)!=null&&Nt.skip&&(je.deltaUpdateFailed=!0);return}ve===this.currentLevelIndex?(pt.fragmentError===0&&(pt.loadError=0),this.playlistLoaded(ve,N,pt.details)):(Z=N.deliveryDirectives)!=null&&Z.skip&&(je.deltaUpdateFailed=!0)}onAudioTrackSwitched(D,N){const Z=this.currentLevel;if(!Z)return;const ve=this.hls.audioTracks[N.id].groupId;if(Z.audioGroupIds&&Z.audioGroupId!==ve){let je=-1;for(let pt=0;pt<Z.audioGroupIds.length;pt++)if(Z.audioGroupIds[pt]===ve){je=pt;break}je!==-1&&je!==Z.urlId&&(Z.urlId=je,this.canLoad&&this.startLoad())}}loadPlaylist(D){super.loadPlaylist();const N=this.currentLevelIndex,Z=this.currentLevel;if(Z&&this.shouldLoadPlaylist(Z)){const ve=Z.urlId;let je=Z.uri;if(D)try{je=D.addDirectives(je)}catch(Nt){this.warn(`Could not construct new URL with HLS Delivery Directives: ${Nt}`)}const pt=Z.attrs["PATHWAY-ID"];this.log(`Loading level index ${N}${(D==null?void 0:D.msn)!==void 0?" at sn "+D.msn+" part "+D.part:""} with${pt?" Pathway "+pt:""} URI ${ve+1}/${Z.url.length} ${je}`),this.clearTimer(),this.hls.trigger(Ie.LEVEL_LOADING,{url:je,level:N,id:ve,deliveryDirectives:D||null})}}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(D){this.level=D,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=D)}removeLevel(D,N){const Z=(je,pt)=>pt!==N,ve=this._levels.filter((je,pt)=>pt!==D?!0:je.url.length>1&&N!==void 0?(je.url=je.url.filter(Z),je.audioGroupIds&&(je.audioGroupIds=je.audioGroupIds.filter(Z)),je.textGroupIds&&(je.textGroupIds=je.textGroupIds.filter(Z)),je.urlId=0,!0):(this.steering&&this.steering.removeLevel(je),!1));this.hls.trigger(Ie.LEVELS_UPDATED,{levels:ve})}onLevelsUpdated(D,{levels:N}){N.forEach((Z,ve)=>{const{details:je}=Z;je!=null&&je.fragments&&je.fragments.forEach(pt=>{pt.level=ve})}),this._levels=N}}function ko(Et,D,N){N&&(D==="audio"?(Et.audioGroupIds||(Et.audioGroupIds=[]),Et.audioGroupIds[Et.url.length-1]=N):D==="text"&&(Et.textGroupIds||(Et.textGroupIds=[]),Et.textGroupIds[Et.url.length-1]=N))}function Sa(Et){const D={};Et.forEach(N=>{const Z=N.groupId||"";N.id=D[Z]=D[Z]||0,D[Z]++})}var Na={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class qa{constructor(D){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=D,this._registerListeners()}_registerListeners(){const{hls:D}=this;D.on(Ie.BUFFER_APPENDED,this.onBufferAppended,this),D.on(Ie.FRAG_BUFFERED,this.onFragBuffered,this),D.on(Ie.FRAG_LOADED,this.onFragLoaded,this)}_unregisterListeners(){const{hls:D}=this;D.off(Ie.BUFFER_APPENDED,this.onBufferAppended,this),D.off(Ie.FRAG_BUFFERED,this.onFragBuffered,this),D.off(Ie.FRAG_LOADED,this.onFragLoaded,this)}destroy(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(D,N){const Z=this.activePartLists[N];if(Z)for(let ve=Z.length;ve--;){const je=Z[ve];if(!je)break;const pt=je.end;if(je.start<=D&&pt!==null&&D<=pt)return je}return this.getBufferedFrag(D,N)}getBufferedFrag(D,N){const{fragments:Z}=this,ve=Object.keys(Z);for(let je=ve.length;je--;){const pt=Z[ve[je]];if((pt==null?void 0:pt.body.type)===N&&pt.buffered){const Nt=pt.body;if(Nt.start<=D&&D<=Nt.end)return Nt}}return null}detectEvictedFragments(D,N,Z,ve){this.timeRanges&&(this.timeRanges[D]=N);const je=(ve==null?void 0:ve.fragment.sn)||-1;Object.keys(this.fragments).forEach(pt=>{const Nt=this.fragments[pt];if(!Nt||je>=Nt.body.sn)return;if(!Nt.buffered&&!Nt.loaded){Nt.body.type===Z&&this.removeFragment(Nt.body);return}const hn=Nt.range[D];hn&&hn.time.some(gn=>{const Xn=!this.isTimeBuffered(gn.startPTS,gn.endPTS,N);return Xn&&this.removeFragment(Nt.body),Xn})})}detectPartialFragments(D){const N=this.timeRanges,{frag:Z,part:ve}=D;if(!N||Z.sn==="initSegment")return;const je=Us(Z),pt=this.fragments[je];if(!pt||pt.buffered&&Z.gap)return;const Nt=!Z.relurl;Object.keys(N).forEach(hn=>{const gn=Z.elementaryStreams[hn];if(!gn)return;const Xn=N[hn],pr=Nt||gn.partial===!0;pt.range[hn]=this.getBufferedTimes(Z,ve,pr,Xn)}),pt.loaded=null,Object.keys(pt.range).length?(pt.buffered=!0,(pt.body.endList=Z.endList||pt.body.endList)&&(this.endListFragments[pt.body.type]=pt),ms(pt)||this.removeParts(Z.sn-1,Z.type)):this.removeFragment(pt.body)}removeParts(D,N){const Z=this.activePartLists[N];Z&&(this.activePartLists[N]=Z.filter(ve=>ve.fragment.sn>=D))}fragBuffered(D,N){const Z=Us(D);let ve=this.fragments[Z];!ve&&N&&(ve=this.fragments[Z]={body:D,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},D.gap&&(this.hasGaps=!0)),ve&&(ve.loaded=null,ve.buffered=!0)}getBufferedTimes(D,N,Z,ve){const je={time:[],partial:Z},pt=D.start,Nt=D.end,hn=D.minEndPTS||Nt,gn=D.maxStartPTS||pt;for(let Xn=0;Xn<ve.length;Xn++){const pr=ve.start(Xn)-this.bufferPadding,Zr=ve.end(Xn)+this.bufferPadding;if(gn>=pr&&hn<=Zr){je.time.push({startPTS:Math.max(pt,ve.start(Xn)),endPTS:Math.min(Nt,ve.end(Xn))});break}else if(pt<Zr&&Nt>pr)je.partial=!0,je.time.push({startPTS:Math.max(pt,ve.start(Xn)),endPTS:Math.min(Nt,ve.end(Xn))});else if(Nt<=pr)break}return je}getPartialFragment(D){let N=null,Z,ve,je,pt=0;const{bufferPadding:Nt,fragments:hn}=this;return Object.keys(hn).forEach(gn=>{const Xn=hn[gn];Xn&&ms(Xn)&&(ve=Xn.body.start-Nt,je=Xn.body.end+Nt,D>=ve&&D<=je&&(Z=Math.min(D-ve,je-D),pt<=Z&&(N=Xn.body,pt=Z)))}),N}isEndListAppended(D){const N=this.endListFragments[D];return N!==void 0&&(N.buffered||ms(N))}getState(D){const N=Us(D),Z=this.fragments[N];return Z?Z.buffered?ms(Z)?Na.PARTIAL:Na.OK:Na.APPENDING:Na.NOT_LOADED}isTimeBuffered(D,N,Z){let ve,je;for(let pt=0;pt<Z.length;pt++){if(ve=Z.start(pt)-this.bufferPadding,je=Z.end(pt)+this.bufferPadding,D>=ve&&N<=je)return!0;if(N<=ve)return!1}return!1}onFragLoaded(D,N){const{frag:Z,part:ve}=N;if(Z.sn==="initSegment"||Z.bitrateTest)return;const je=ve?null:N,pt=Us(Z);this.fragments[pt]={body:Z,appendedPTS:null,loaded:je,buffered:!1,range:Object.create(null)}}onBufferAppended(D,N){const{frag:Z,part:ve,timeRanges:je}=N;if(Z.sn==="initSegment")return;const pt=Z.type;if(ve){let Nt=this.activePartLists[pt];Nt||(this.activePartLists[pt]=Nt=[]),Nt.push(ve)}this.timeRanges=je,Object.keys(je).forEach(Nt=>{const hn=je[Nt];this.detectEvictedFragments(Nt,hn,pt,ve)})}onFragBuffered(D,N){this.detectPartialFragments(N)}hasFragment(D){const N=Us(D);return!!this.fragments[N]}hasParts(D){var N;return!!((N=this.activePartLists[D])!=null&&N.length)}removeFragmentsInRange(D,N,Z,ve,je){ve&&!this.hasGaps||Object.keys(this.fragments).forEach(pt=>{const Nt=this.fragments[pt];if(!Nt)return;const hn=Nt.body;hn.type!==Z||ve&&!hn.gap||hn.start<N&&hn.end>D&&(Nt.buffered||je)&&this.removeFragment(hn)})}removeFragment(D){const N=Us(D);D.stats.loaded=0,D.clearElementaryStreamInfo();const Z=this.activePartLists[D.type];if(Z){const ve=D.sn;this.activePartLists[D.type]=Z.filter(je=>je.fragment.sn!==ve)}delete this.fragments[N],D.endList&&delete this.endListFragments[D.type]}removeAllFragments(){this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1}}function ms(Et){var D,N,Z;return Et.buffered&&(Et.body.gap||((D=Et.range.video)==null?void 0:D.partial)||((N=Et.range.audio)==null?void 0:N.partial)||((Z=Et.range.audiovideo)==null?void 0:Z.partial))}function Us(Et){return`${Et.type}_${Et.level}_${Et.urlId}_${Et.sn}`}const $i=Math.pow(2,17);class Mi{constructor(D){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=D}destroy(){this.loader&&(this.loader.destroy(),this.loader=null)}abort(){this.loader&&this.loader.abort()}load(D,N){const Z=D.url;if(!Z)return Promise.reject(new El({type:Bt.NETWORK_ERROR,details:mt.FRAG_LOAD_ERROR,fatal:!1,frag:D,error:new Error(`Fragment does not have a ${Z?"part list":"url"}`),networkDetails:null}));this.abort();const ve=this.config,je=ve.fLoader,pt=ve.loader;return new Promise((Nt,hn)=>{if(this.loader&&this.loader.destroy(),D.gap)if(D.tagList.some(oo=>oo[0]==="GAP")){hn(rl(D));return}else D.gap=!1;const gn=this.loader=D.loader=je?new je(ve):new pt(ve),Xn=si(D),pr=ke(ve.fragLoadPolicy.default),Zr={loadPolicy:pr,timeout:pr.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:D.sn==="initSegment"?1/0:$i};D.stats=gn.stats,gn.load(Xn,Zr,{onSuccess:(oo,vo,Fo,Go)=>{this.resetLoader(D,gn);let pa=oo.data;Fo.resetIV&&D.decryptdata&&(D.decryptdata.iv=new Uint8Array(pa.slice(0,16)),pa=pa.slice(16)),Nt({frag:D,part:null,payload:pa,networkDetails:Go})},onError:(oo,vo,Fo,Go)=>{this.resetLoader(D,gn),hn(new El({type:Bt.NETWORK_ERROR,details:mt.FRAG_LOAD_ERROR,fatal:!1,frag:D,response:Fe({url:Z,data:void 0},oo),error:new Error(`HTTP Error ${oo.code} ${oo.text}`),networkDetails:Fo,stats:Go}))},onAbort:(oo,vo,Fo)=>{this.resetLoader(D,gn),hn(new El({type:Bt.NETWORK_ERROR,details:mt.INTERNAL_ABORTED,fatal:!1,frag:D,error:new Error("Aborted"),networkDetails:Fo,stats:oo}))},onTimeout:(oo,vo,Fo)=>{this.resetLoader(D,gn),hn(new El({type:Bt.NETWORK_ERROR,details:mt.FRAG_LOAD_TIMEOUT,fatal:!1,frag:D,error:new Error(`Timeout after ${Zr.timeout}ms`),networkDetails:Fo,stats:oo}))},onProgress:(oo,vo,Fo,Go)=>{N&&N({frag:D,part:null,payload:Fo,networkDetails:Go})}})})}loadPart(D,N,Z){this.abort();const ve=this.config,je=ve.fLoader,pt=ve.loader;return new Promise((Nt,hn)=>{if(this.loader&&this.loader.destroy(),D.gap||N.gap){hn(rl(D,N));return}const gn=this.loader=D.loader=je?new je(ve):new pt(ve),Xn=si(D,N),pr=ke(ve.fragLoadPolicy.default),Zr={loadPolicy:pr,timeout:pr.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:$i};N.stats=gn.stats,gn.load(Xn,Zr,{onSuccess:(oo,vo,Fo,Go)=>{this.resetLoader(D,gn),this.updateStatsFromPart(D,N);const pa={frag:D,part:N,payload:oo.data,networkDetails:Go};Z(pa),Nt(pa)},onError:(oo,vo,Fo,Go)=>{this.resetLoader(D,gn),hn(new El({type:Bt.NETWORK_ERROR,details:mt.FRAG_LOAD_ERROR,fatal:!1,frag:D,part:N,response:Fe({url:Xn.url,data:void 0},oo),error:new Error(`HTTP Error ${oo.code} ${oo.text}`),networkDetails:Fo,stats:Go}))},onAbort:(oo,vo,Fo)=>{D.stats.aborted=N.stats.aborted,this.resetLoader(D,gn),hn(new El({type:Bt.NETWORK_ERROR,details:mt.INTERNAL_ABORTED,fatal:!1,frag:D,part:N,error:new Error("Aborted"),networkDetails:Fo,stats:oo}))},onTimeout:(oo,vo,Fo)=>{this.resetLoader(D,gn),hn(new El({type:Bt.NETWORK_ERROR,details:mt.FRAG_LOAD_TIMEOUT,fatal:!1,frag:D,part:N,error:new Error(`Timeout after ${Zr.timeout}ms`),networkDetails:Fo,stats:oo}))}})})}updateStatsFromPart(D,N){const Z=D.stats,ve=N.stats,je=ve.total;if(Z.loaded+=ve.loaded,je){const hn=Math.round(D.duration/N.duration),gn=Math.min(Math.round(Z.loaded/je),hn),pr=(hn-gn)*Math.round(Z.loaded/gn);Z.total=Z.loaded+pr}else Z.total=Math.max(Z.loaded,Z.total);const pt=Z.loading,Nt=ve.loading;pt.start?pt.first+=Nt.first-Nt.start:(pt.start=Nt.start,pt.first=Nt.first),pt.end=Nt.end}resetLoader(D,N){D.loader=null,this.loader===N&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),N.destroy()}}function si(Et,D=null){const N=D||Et,Z={frag:Et,part:D,responseType:"arraybuffer",url:N.url,headers:{},rangeStart:0,rangeEnd:0},ve=N.byteRangeStartOffset,je=N.byteRangeEndOffset;if($e(ve)&&$e(je)){var pt;let Nt=ve,hn=je;if(Et.sn==="initSegment"&&((pt=Et.decryptdata)==null?void 0:pt.method)==="AES-128"){const gn=je-ve;gn%16&&(hn=je+(16-gn%16)),ve!==0&&(Z.resetIV=!0,Nt=ve-16)}Z.rangeStart=Nt,Z.rangeEnd=hn}return Z}function rl(Et,D){const N=new Error(`GAP ${Et.gap?"tag":"attribute"} found`),Z={type:Bt.MEDIA_ERROR,details:mt.FRAG_GAP,fatal:!1,frag:Et,error:N,networkDetails:null};return D&&(Z.part=D),(D||Et).stats.aborted=!0,new El(Z)}class El extends Error{constructor(D){super(D.error.message),this.data=void 0,this.data=D}}class Ui{constructor(D){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=D}abort(D){for(const N in this.keyUriToKeyInfo){const Z=this.keyUriToKeyInfo[N].loader;if(Z){if(D&&D!==Z.context.frag.type)return;Z.abort()}}}detach(){for(const D in this.keyUriToKeyInfo){const N=this.keyUriToKeyInfo[D];(N.mediaKeySessionContext||N.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[D]}}destroy(){this.detach();for(const D in this.keyUriToKeyInfo){const N=this.keyUriToKeyInfo[D].loader;N&&N.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(D,N=mt.KEY_LOAD_ERROR,Z,ve,je){return new El({type:Bt.NETWORK_ERROR,details:N,fatal:!1,frag:D,response:je,error:Z,networkDetails:ve})}loadClear(D,N){if(this.emeController&&this.config.emeEnabled){const{sn:Z,cc:ve}=D;for(let je=0;je<N.length;je++){const pt=N[je];if(ve<=pt.cc&&(Z==="initSegment"||pt.sn==="initSegment"||Z<pt.sn)){this.emeController.selectKeySystemFormat(pt).then(Nt=>{pt.setKeyFormat(Nt)});break}}}}load(D){return!D.decryptdata&&D.encrypted&&this.emeController?this.emeController.selectKeySystemFormat(D).then(N=>this.loadInternal(D,N)):this.loadInternal(D)}loadInternal(D,N){var Z,ve;N&&D.setKeyFormat(N);const je=D.decryptdata;if(!je){const gn=new Error(N?`Expected frag.decryptdata to be defined after setting format ${N}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(D,mt.KEY_LOAD_ERROR,gn))}const pt=je.uri;if(!pt)return Promise.reject(this.createKeyLoadError(D,mt.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${pt}"`)));let Nt=this.keyUriToKeyInfo[pt];if((Z=Nt)!=null&&Z.decryptdata.key)return je.key=Nt.decryptdata.key,Promise.resolve({frag:D,keyInfo:Nt});if((ve=Nt)!=null&&ve.keyLoadPromise){var hn;switch((hn=Nt.mediaKeySessionContext)==null?void 0:hn.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return Nt.keyLoadPromise.then(gn=>(je.key=gn.keyInfo.decryptdata.key,{frag:D,keyInfo:Nt}))}}switch(Nt=this.keyUriToKeyInfo[pt]={decryptdata:je,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},je.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return je.keyFormat==="identity"?this.loadKeyHTTP(Nt,D):this.loadKeyEME(Nt,D);case"AES-128":return this.loadKeyHTTP(Nt,D);default:return Promise.reject(this.createKeyLoadError(D,mt.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${je.method}"`)))}}loadKeyEME(D,N){const Z={frag:N,keyInfo:D};if(this.emeController&&this.config.emeEnabled){const ve=this.emeController.loadKey(Z);if(ve)return(D.keyLoadPromise=ve.then(je=>(D.mediaKeySessionContext=je,Z))).catch(je=>{throw D.keyLoadPromise=null,je})}return Promise.resolve(Z)}loadKeyHTTP(D,N){const Z=this.config,ve=Z.loader,je=new ve(Z);return N.keyLoader=D.loader=je,D.keyLoadPromise=new Promise((pt,Nt)=>{const hn={keyInfo:D,frag:N,responseType:"arraybuffer",url:D.decryptdata.uri},gn=Z.keyLoadPolicy.default,Xn={loadPolicy:gn,timeout:gn.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},pr={onSuccess:(Zr,oo,vo,Fo)=>{const{frag:Go,keyInfo:pa,url:Se}=vo;if(!Go.decryptdata||pa!==this.keyUriToKeyInfo[Se])return Nt(this.createKeyLoadError(Go,mt.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),Fo));pa.decryptdata.key=Go.decryptdata.key=new Uint8Array(Zr.data),Go.keyLoader=null,pa.loader=null,pt({frag:Go,keyInfo:pa})},onError:(Zr,oo,vo,Fo)=>{this.resetLoader(oo),Nt(this.createKeyLoadError(N,mt.KEY_LOAD_ERROR,new Error(`HTTP Error ${Zr.code} loading key ${Zr.text}`),vo,Fe({url:hn.url,data:void 0},Zr)))},onTimeout:(Zr,oo,vo)=>{this.resetLoader(oo),Nt(this.createKeyLoadError(N,mt.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),vo))},onAbort:(Zr,oo,vo)=>{this.resetLoader(oo),Nt(this.createKeyLoadError(N,mt.INTERNAL_ABORTED,new Error("key loading aborted"),vo))}};je.load(hn,Xn,pr)})}resetLoader(D){const{frag:N,keyInfo:Z,url:ve}=D,je=Z.loader;N.keyLoader===je&&(N.keyLoader=null,Z.loader=null),delete this.keyUriToKeyInfo[ve],je&&je.destroy()}}class il{constructor(){this._boundTick=void 0,this._tickTimer=null,this._tickInterval=null,this._tickCallCount=0,this._boundTick=this.tick.bind(this)}destroy(){this.onHandlerDestroying(),this.onHandlerDestroyed()}onHandlerDestroying(){this.clearNextTick(),this.clearInterval()}onHandlerDestroyed(){}hasInterval(){return!!this._tickInterval}hasNextTick(){return!!this._tickTimer}setInterval(D){return this._tickInterval?!1:(this._tickCallCount=0,this._tickInterval=self.setInterval(this._boundTick,D),!0)}clearInterval(){return this._tickInterval?(self.clearInterval(this._tickInterval),this._tickInterval=null,!0):!1}clearNextTick(){return this._tickTimer?(self.clearTimeout(this._tickTimer),this._tickTimer=null,!0):!1}tick(){this._tickCallCount++,this._tickCallCount===1&&(this.doTick(),this._tickCallCount>1&&this.tickImmediate(),this._tickCallCount=0)}tickImmediate(){this.clearNextTick(),this._tickTimer=self.setTimeout(this._boundTick,0)}doTick(){}}const fl={length:0,start:()=>0,end:()=>0};class oi{static isBuffered(D,N){try{if(D){const Z=oi.getBuffered(D);for(let ve=0;ve<Z.length;ve++)if(N>=Z.start(ve)&&N<=Z.end(ve))return!0}}catch{}return!1}static bufferInfo(D,N,Z){try{if(D){const ve=oi.getBuffered(D),je=[];let pt;for(pt=0;pt<ve.length;pt++)je.push({start:ve.start(pt),end:ve.end(pt)});return this.bufferedInfo(je,N,Z)}}catch{}return{len:0,start:N,end:N,nextStart:void 0}}static bufferedInfo(D,N,Z){N=Math.max(0,N),D.sort(function(gn,Xn){const pr=gn.start-Xn.start;return pr||Xn.end-gn.end});let ve=[];if(Z)for(let gn=0;gn<D.length;gn++){const Xn=ve.length;if(Xn){const pr=ve[Xn-1].end;D[gn].start-pr<Z?D[gn].end>pr&&(ve[Xn-1].end=D[gn].end):ve.push(D[gn])}else ve.push(D[gn])}else ve=D;let je=0,pt,Nt=N,hn=N;for(let gn=0;gn<ve.length;gn++){const Xn=ve[gn].start,pr=ve[gn].end;if(N+Z>=Xn&&N<pr)Nt=Xn,hn=pr,je=hn-N;else if(N+Z<Xn){pt=Xn;break}}return{len:je,start:Nt||0,end:hn||0,nextStart:pt}}static getBuffered(D){try{return D.buffered}catch(N){return ze.log("failed to get media.buffered",N),fl}}}class Nl{constructor(D,N,Z,ve=0,je=-1,pt=!1){this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing=xl(),this.buffering={audio:xl(),video:xl(),audiovideo:xl()},this.level=D,this.sn=N,this.id=Z,this.size=ve,this.part=je,this.partial=pt}}function xl(){return{start:0,executeStart:0,executeEnd:0,end:0}}function Ic(Et,D){let N=null;for(let Z=0,ve=Et.length;Z<ve;Z++){const je=Et[Z];if(je&&je.cc===D){N=je;break}}return N}function Kl(Et,D,N){return!!(D.details&&(N.endCC>N.startCC||Et&&Et.cc<N.startCC))}function Jl(Et,D,N=0){const Z=Et.fragments,ve=D.fragments;if(!ve.length||!Z.length){ze.log("No fragments to align");return}const je=Ic(Z,ve[0].cc);if(!je||je&&!je.startPTS){ze.log("No frag in previous level to align on");return}return je}function Vi(Et,D){if(Et){const N=Et.start+D;Et.start=Et.startPTS=N,Et.endPTS=N+Et.duration}}function _c(Et,D){const N=D.fragments;for(let Z=0,ve=N.length;Z<ve;Z++)Vi(N[Z],Et);D.fragmentHint&&Vi(D.fragmentHint,Et),D.alignedSliding=!0}function mc(Et,D,N){D&&(zl(Et,N,D),!N.alignedSliding&&D.details&&$l(N,D.details),!N.alignedSliding&&D.details&&!N.skippedSegments&&Bs(D.details,N))}function zl(Et,D,N){if(Kl(Et,N,D)){const Z=Jl(N.details,D);Z&&$e(Z.start)&&(ze.log(`Adjusting PTS using last level due to CC increase within current level ${D.url}`),_c(Z.start,D))}}function $l(Et,D){if(!D.fragments.length||!Et.hasProgramDateTime||!D.hasProgramDateTime)return;const N=D.fragments[0].programDateTime,Z=Et.fragments[0].programDateTime,ve=(Z-N)/1e3+D.fragments[0].start;ve&&$e(ve)&&(ze.log(`Adjusting PTS using programDateTime delta ${Z-N}ms, sliding:${ve.toFixed(3)} ${Et.url} `),_c(ve,Et))}function ln(Et,D){if(!Et.hasProgramDateTime||!D.hasProgramDateTime)return;const N=Et.fragments,Z=D.fragments;if(!N.length||!Z.length)return;const ve=Math.round(Z.length/2)-1,je=Z[ve],pt=Ic(N,je.cc)||N[Math.round(N.length/2)-1],Nt=je.programDateTime,hn=pt.programDateTime;if(Nt===null||hn===null)return;const gn=(hn-Nt)/1e3-(pt.start-je.start);_c(gn,Et)}class sn{constructor(D,N){this.subtle=void 0,this.aesIV=void 0,this.subtle=D,this.aesIV=N}decrypt(D,N){return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},N,D)}}class zn{constructor(D,N){this.subtle=void 0,this.key=void 0,this.subtle=D,this.key=N}expandKey(){return this.subtle.importKey("raw",this.key,{name:"AES-CBC"},!1,["encrypt","decrypt"])}}function Er(Et){const D=Et.byteLength,N=D&&new DataView(Et.buffer).getUint8(D-1);return N?Gt(Et,0,D-N):Et}class zr{constructor(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}uint8ArrayToUint32Array_(D){const N=new DataView(D),Z=new Uint32Array(4);for(let ve=0;ve<4;ve++)Z[ve]=N.getUint32(ve*4);return Z}initTable(){const D=this.sBox,N=this.invSBox,Z=this.subMix,ve=Z[0],je=Z[1],pt=Z[2],Nt=Z[3],hn=this.invSubMix,gn=hn[0],Xn=hn[1],pr=hn[2],Zr=hn[3],oo=new Uint32Array(256);let vo=0,Fo=0,Go=0;for(Go=0;Go<256;Go++)Go<128?oo[Go]=Go<<1:oo[Go]=Go<<1^283;for(Go=0;Go<256;Go++){let pa=Fo^Fo<<1^Fo<<2^Fo<<3^Fo<<4;pa=pa>>>8^pa&255^99,D[vo]=pa,N[pa]=vo;const Se=oo[vo],de=oo[Se],We=oo[de];let _t=oo[pa]*257^pa*16843008;ve[vo]=_t<<24|_t>>>8,je[vo]=_t<<16|_t>>>16,pt[vo]=_t<<8|_t>>>24,Nt[vo]=_t,_t=We*16843009^de*65537^Se*257^vo*16843008,gn[pa]=_t<<24|_t>>>8,Xn[pa]=_t<<16|_t>>>16,pr[pa]=_t<<8|_t>>>24,Zr[pa]=_t,vo?(vo=Se^oo[oo[oo[We^Se]]],Fo^=oo[oo[Fo]]):vo=Fo=1}}expandKey(D){const N=this.uint8ArrayToUint32Array_(D);let Z=!0,ve=0;for(;ve<N.length&&Z;)Z=N[ve]===this.key[ve],ve++;if(Z)return;this.key=N;const je=this.keySize=N.length;if(je!==4&&je!==6&&je!==8)throw new Error("Invalid aes key size="+je);const pt=this.ksRows=(je+6+1)*4;let Nt,hn;const gn=this.keySchedule=new Uint32Array(pt),Xn=this.invKeySchedule=new Uint32Array(pt),pr=this.sBox,Zr=this.rcon,oo=this.invSubMix,vo=oo[0],Fo=oo[1],Go=oo[2],pa=oo[3];let Se,de;for(Nt=0;Nt<pt;Nt++){if(Nt<je){Se=gn[Nt]=N[Nt];continue}de=Se,Nt%je===0?(de=de<<8|de>>>24,de=pr[de>>>24]<<24|pr[de>>>16&255]<<16|pr[de>>>8&255]<<8|pr[de&255],de^=Zr[Nt/je|0]<<24):je>6&&Nt%je===4&&(de=pr[de>>>24]<<24|pr[de>>>16&255]<<16|pr[de>>>8&255]<<8|pr[de&255]),gn[Nt]=Se=(gn[Nt-je]^de)>>>0}for(hn=0;hn<pt;hn++)Nt=pt-hn,hn&3?de=gn[Nt]:de=gn[Nt-4],hn<4||Nt<=4?Xn[hn]=de:Xn[hn]=vo[pr[de>>>24]]^Fo[pr[de>>>16&255]]^Go[pr[de>>>8&255]]^pa[pr[de&255]],Xn[hn]=Xn[hn]>>>0}networkToHostOrderSwap(D){return D<<24|(D&65280)<<8|(D&16711680)>>8|D>>>24}decrypt(D,N,Z){const ve=this.keySize+6,je=this.invKeySchedule,pt=this.invSBox,Nt=this.invSubMix,hn=Nt[0],gn=Nt[1],Xn=Nt[2],pr=Nt[3],Zr=this.uint8ArrayToUint32Array_(Z);let oo=Zr[0],vo=Zr[1],Fo=Zr[2],Go=Zr[3];const pa=new Int32Array(D),Se=new Int32Array(pa.length);let de,We,_t,nn,vn,cr,lo,Po,oa,fa,Va,ci,di,Xs;const _i=this.networkToHostOrderSwap;for(;N<pa.length;){for(oa=_i(pa[N]),fa=_i(pa[N+1]),Va=_i(pa[N+2]),ci=_i(pa[N+3]),vn=oa^je[0],cr=ci^je[1],lo=Va^je[2],Po=fa^je[3],di=4,Xs=1;Xs<ve;Xs++)de=hn[vn>>>24]^gn[cr>>16&255]^Xn[lo>>8&255]^pr[Po&255]^je[di],We=hn[cr>>>24]^gn[lo>>16&255]^Xn[Po>>8&255]^pr[vn&255]^je[di+1],_t=hn[lo>>>24]^gn[Po>>16&255]^Xn[vn>>8&255]^pr[cr&255]^je[di+2],nn=hn[Po>>>24]^gn[vn>>16&255]^Xn[cr>>8&255]^pr[lo&255]^je[di+3],vn=de,cr=We,lo=_t,Po=nn,di=di+4;de=pt[vn>>>24]<<24^pt[cr>>16&255]<<16^pt[lo>>8&255]<<8^pt[Po&255]^je[di],We=pt[cr>>>24]<<24^pt[lo>>16&255]<<16^pt[Po>>8&255]<<8^pt[vn&255]^je[di+1],_t=pt[lo>>>24]<<24^pt[Po>>16&255]<<16^pt[vn>>8&255]<<8^pt[cr&255]^je[di+2],nn=pt[Po>>>24]<<24^pt[vn>>16&255]<<16^pt[cr>>8&255]<<8^pt[lo&255]^je[di+3],Se[N]=_i(de^oo),Se[N+1]=_i(nn^vo),Se[N+2]=_i(_t^Fo),Se[N+3]=_i(We^Go),oo=oa,vo=fa,Fo=Va,Go=ci,N=N+4}return Se.buffer}}const Ao=16;class Zo{constructor(D,{removePKCS7Padding:N=!0}={}){if(this.logEnabled=!0,this.removePKCS7Padding=void 0,this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null,this.useSoftware=void 0,this.useSoftware=D.enableSoftwareAES,this.removePKCS7Padding=N,N)try{const Z=self.crypto;Z&&(this.subtle=Z.subtle||Z.webkitSubtle)}catch{}this.subtle===null&&(this.useSoftware=!0)}destroy(){this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null}isSync(){return this.useSoftware}flush(){const{currentResult:D,remainderData:N}=this;if(!D||N)return this.reset(),null;const Z=new Uint8Array(D);return this.reset(),this.removePKCS7Padding?Er(Z):Z}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(D,N,Z){return this.useSoftware?new Promise((ve,je)=>{this.softwareDecrypt(new Uint8Array(D),N,Z);const pt=this.flush();pt?ve(pt.buffer):je(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(D),N,Z)}softwareDecrypt(D,N,Z){const{currentIV:ve,currentResult:je,remainderData:pt}=this;this.logOnce("JS AES decrypt"),pt&&(D=et(pt,D),this.remainderData=null);const Nt=this.getValidChunk(D);if(!Nt.length)return null;ve&&(Z=ve);let hn=this.softwareDecrypter;hn||(hn=this.softwareDecrypter=new zr),hn.expandKey(N);const gn=je;return this.currentResult=hn.decrypt(Nt.buffer,0,Z),this.currentIV=Gt(Nt,-16).buffer,gn||null}webCryptoDecrypt(D,N,Z){const ve=this.subtle;return(this.key!==N||!this.fastAesKey)&&(this.key=N,this.fastAesKey=new zn(ve,N)),this.fastAesKey.expandKey().then(je=>ve?(this.logOnce("WebCrypto AES decrypt"),new sn(ve,new Uint8Array(Z)).decrypt(D.buffer,je)):Promise.reject(new Error("web crypto not initialized"))).catch(je=>(ze.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${je.name}: ${je.message}`),this.onWebCryptoError(D,N,Z)))}onWebCryptoError(D,N,Z){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(D,N,Z);const ve=this.flush();if(ve)return ve.buffer;throw new Error("WebCrypto and softwareDecrypt: failed to decrypt data")}getValidChunk(D){let N=D;const Z=D.length-D.length%Ao;return Z!==D.length&&(N=Gt(D,0,Z),this.remainderData=Gt(D,Z)),N}logOnce(D){this.logEnabled&&(ze.log(`[decrypter]: ${D}`),this.logEnabled=!1)}}const ia={toString:function(Et){let D="";const N=Et.length;for(let Z=0;Z<N;Z++)D+=`[${Et.start(Z).toFixed(3)}-${Et.end(Z).toFixed(3)}]`;return D}},So={STOPPED:"STOPPED",IDLE:"IDLE",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_TRACK:"WAITING_TRACK",PARSING:"PARSING",PARSED:"PARSED",ENDED:"ENDED",ERROR:"ERROR",WAITING_INIT_PTS:"WAITING_INIT_PTS",WAITING_LEVEL:"WAITING_LEVEL"};class Ha extends il{constructor(D,N,Z,ve,je){super(),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=So.STOPPED,this.playlistType=void 0,this.media=null,this.mediaBuffer=null,this.config=void 0,this.bitrateTest=!1,this.lastCurrentTime=0,this.nextLoadPosition=0,this.startPosition=0,this.startTimeOffset=null,this.loadedmetadata=!1,this.retryDate=0,this.levels=null,this.fragmentLoader=void 0,this.keyLoader=void 0,this.levelLastLoaded=null,this.startFragRequested=!1,this.decrypter=void 0,this.initPTS=[],this.onvseeking=null,this.onvended=null,this.logPrefix="",this.log=void 0,this.warn=void 0,this.playlistType=je,this.logPrefix=ve,this.log=ze.log.bind(ze,`${ve}:`),this.warn=ze.warn.bind(ze,`${ve}:`),this.hls=D,this.fragmentLoader=new Mi(D.config),this.keyLoader=Z,this.fragmentTracker=N,this.config=D.config,this.decrypter=new Zo(D.config),D.on(Ie.MANIFEST_LOADED,this.onManifestLoaded,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(D){}stopLoad(){this.fragmentLoader.abort(),this.keyLoader.abort(this.playlistType);const D=this.fragCurrent;D!=null&&D.loader&&(D.abortRequests(),this.fragmentTracker.removeFragment(D)),this.resetTransmuxer(),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=So.STOPPED}_streamEnded(D,N){if(N.live||D.nextStart||!D.end||!this.media)return!1;const Z=N.partList;if(Z!=null&&Z.length){const je=Z[Z.length-1];return oi.isBuffered(this.media,je.start+je.duration/2)}const ve=N.fragments[N.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(ve)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null){var D;return(D=this.levels[this.levelLastLoaded])==null?void 0:D.details}}onMediaAttached(D,N){const Z=this.media=this.mediaBuffer=N.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvended=this.onMediaEnded.bind(this),Z.addEventListener("seeking",this.onvseeking),Z.addEventListener("ended",this.onvended);const ve=this.config;this.levels&&ve.autoStartLoad&&this.state===So.STOPPED&&this.startLoad(ve.startPosition)}onMediaDetaching(){const D=this.media;D!=null&&D.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),D&&this.onvseeking&&this.onvended&&(D.removeEventListener("seeking",this.onvseeking),D.removeEventListener("ended",this.onvended),this.onvseeking=this.onvended=null),this.keyLoader&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loadedmetadata=!1,this.fragmentTracker.removeAllFragments(),this.stopLoad()}onMediaSeeking(){const{config:D,fragCurrent:N,media:Z,mediaBuffer:ve,state:je}=this,pt=Z?Z.currentTime:0,Nt=oi.bufferInfo(ve||Z,pt,D.maxBufferHole);if(this.log(`media seeking to ${$e(pt)?pt.toFixed(3):pt}, state: ${je}`),this.state===So.ENDED)this.resetLoadingState();else if(N){const hn=D.maxFragLookUpTolerance,gn=N.start-hn,Xn=N.start+N.duration+hn;if(!Nt.len||Xn<Nt.start||gn>Nt.end){const pr=pt>Xn;(pt<gn||pr)&&(pr&&N.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),N.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}Z&&(this.fragmentTracker.removeFragmentsInRange(pt,1/0,this.playlistType,!0),this.lastCurrentTime=pt),!this.loadedmetadata&&!Nt.len&&(this.nextLoadPosition=this.startPosition=pt),this.tickImmediate()}onMediaEnded(){this.startPosition=this.lastCurrentTime=0}onManifestLoaded(D,N){this.startTimeOffset=N.startTimeOffset,this.initPTS=[]}onHandlerDestroying(){this.stopLoad(),super.onHandlerDestroying()}onHandlerDestroyed(){this.state=So.STOPPED,this.fragmentLoader&&this.fragmentLoader.destroy(),this.keyLoader&&this.keyLoader.destroy(),this.decrypter&&this.decrypter.destroy(),this.hls=this.log=this.warn=this.decrypter=this.keyLoader=this.fragmentLoader=this.fragmentTracker=null,super.onHandlerDestroyed()}loadFragment(D,N,Z){this._loadFragForPlayback(D,N,Z)}_loadFragForPlayback(D,N,Z){const ve=je=>{if(this.fragContextChanged(D)){this.warn(`Fragment ${D.sn}${je.part?" p: "+je.part.index:""} of level ${D.level} was dropped during download.`),this.fragmentTracker.removeFragment(D);return}D.stats.chunkCount++,this._handleFragmentLoadProgress(je)};this._doFragLoad(D,N,Z,ve).then(je=>{if(!je)return;const pt=this.state;if(this.fragContextChanged(D)){(pt===So.FRAG_LOADING||!this.fragCurrent&&pt===So.PARSING)&&(this.fragmentTracker.removeFragment(D),this.state=So.IDLE);return}"payload"in je&&(this.log(`Loaded fragment ${D.sn} of level ${D.level}`),this.hls.trigger(Ie.FRAG_LOADED,je)),this._handleFragmentLoadComplete(je)}).catch(je=>{this.state===So.STOPPED||this.state===So.ERROR||(this.warn(je),this.resetFragmentLoading(D))})}clearTrackerIfNeeded(D){var N;const{fragmentTracker:Z}=this;if(Z.getState(D)===Na.APPENDING){const je=D.type,pt=this.getFwdBufferInfo(this.mediaBuffer,je),Nt=Math.max(D.duration,pt?pt.len:this.config.maxBufferLength);this.reduceMaxBufferLength(Nt)&&Z.removeFragment(D)}else((N=this.mediaBuffer)==null?void 0:N.buffered.length)===0?Z.removeAllFragments():Z.hasParts(D.type)&&(Z.detectPartialFragments({frag:D,part:null,stats:D.stats,id:D.type}),Z.getState(D)===Na.PARTIAL&&Z.removeFragment(D))}checkLiveUpdate(D){if(D.updated&&!D.live){const N=D.fragments[D.fragments.length-1];this.fragmentTracker.detectPartialFragments({frag:N,part:null,stats:N.stats,id:N.type})}D.fragments[0]||(D.deltaUpdateFailed=!0)}flushMainBuffer(D,N,Z=null){if(!(D-N))return;const ve={startOffset:D,endOffset:N,type:Z};this.hls.trigger(Ie.BUFFER_FLUSHING,ve)}_loadInitSegment(D,N){this._doFragLoad(D,N).then(Z=>{if(!Z||this.fragContextChanged(D)||!this.levels)throw new Error("init load aborted");return Z}).then(Z=>{const{hls:ve}=this,{payload:je}=Z,pt=D.decryptdata;if(je&&je.byteLength>0&&pt&&pt.key&&pt.iv&&pt.method==="AES-128"){const Nt=self.performance.now();return this.decrypter.decrypt(new Uint8Array(je),pt.key.buffer,pt.iv.buffer).catch(hn=>{throw ve.trigger(Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.FRAG_DECRYPT_ERROR,fatal:!1,error:hn,reason:hn.message,frag:D}),hn}).then(hn=>{const gn=self.performance.now();return ve.trigger(Ie.FRAG_DECRYPTED,{frag:D,payload:hn,stats:{tstart:Nt,tdecrypt:gn}}),Z.payload=hn,Z})}return Z}).then(Z=>{const{fragCurrent:ve,hls:je,levels:pt}=this;if(!pt)throw new Error("init load aborted, missing levels");const Nt=D.stats;this.state=So.IDLE,N.fragmentError=0,D.data=new Uint8Array(Z.payload),Nt.parsing.start=Nt.buffering.start=self.performance.now(),Nt.parsing.end=Nt.buffering.end=self.performance.now(),Z.frag===ve&&je.trigger(Ie.FRAG_BUFFERED,{stats:Nt,frag:ve,part:null,id:D.type}),this.tick()}).catch(Z=>{this.state===So.STOPPED||this.state===So.ERROR||(this.warn(Z),this.resetFragmentLoading(D))})}fragContextChanged(D){const{fragCurrent:N}=this;return!D||!N||D.level!==N.level||D.sn!==N.sn||D.urlId!==N.urlId}fragBufferedComplete(D,N){var Z,ve,je,pt;const Nt=this.mediaBuffer?this.mediaBuffer:this.media;this.log(`Buffered ${D.type} sn: ${D.sn}${N?" part: "+N.index:""} of ${this.playlistType===Xo.MAIN?"level":"track"} ${D.level} (frag:[${((Z=D.startPTS)!=null?Z:NaN).toFixed(3)}-${((ve=D.endPTS)!=null?ve:NaN).toFixed(3)}] > buffer:${Nt?ia.toString(oi.getBuffered(Nt)):"(detached)"})`),this.state=So.IDLE,Nt&&(!this.loadedmetadata&&D.type==Xo.MAIN&&Nt.buffered.length&&((je=this.fragCurrent)==null?void 0:je.sn)===((pt=this.fragPrevious)==null?void 0:pt.sn)&&(this.loadedmetadata=!0,this.seekToStartPos()),this.tick())}seekToStartPos(){}_handleFragmentLoadComplete(D){const{transmuxer:N}=this;if(!N)return;const{frag:Z,part:ve,partsLoaded:je}=D,pt=!je||je.length===0||je.some(hn=>!hn),Nt=new Nl(Z.level,Z.sn,Z.stats.chunkCount+1,0,ve?ve.index:-1,!pt);N.flush(Nt)}_handleFragmentLoadProgress(D){}_doFragLoad(D,N,Z=null,ve){var je;const pt=N==null?void 0:N.details;if(!this.levels||!pt)throw new Error(`frag load aborted, missing level${pt?"":" detail"}s`);let Nt=null;if(D.encrypted&&!((je=D.decryptdata)!=null&&je.key)?(this.log(`Loading key for ${D.sn} of [${pt.startSN}-${pt.endSN}], ${this.logPrefix==="[stream-controller]"?"level":"track"} ${D.level}`),this.state=So.KEY_LOADING,this.fragCurrent=D,Nt=this.keyLoader.load(D).then(Xn=>{if(!this.fragContextChanged(Xn.frag))return this.hls.trigger(Ie.KEY_LOADED,Xn),this.state===So.KEY_LOADING&&(this.state=So.IDLE),Xn}),this.hls.trigger(Ie.KEY_LOADING,{frag:D}),this.fragCurrent===null&&(Nt=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))):!D.encrypted&&pt.encryptedFragments.length&&this.keyLoader.loadClear(D,pt.encryptedFragments),Z=Math.max(D.start,Z||0),this.config.lowLatencyMode&&D.sn!=="initSegment"){const Xn=pt.partList;if(Xn&&ve){Z>D.end&&pt.fragmentHint&&(D=pt.fragmentHint);const pr=this.getNextPart(Xn,D,Z);if(pr>-1){const Zr=Xn[pr];this.log(`Loading part sn: ${D.sn} p: ${Zr.index} cc: ${D.cc} of playlist [${pt.startSN}-${pt.endSN}] parts [0-${pr}-${Xn.length-1}] ${this.logPrefix==="[stream-controller]"?"level":"track"}: ${D.level}, target: ${parseFloat(Z.toFixed(3))}`),this.nextLoadPosition=Zr.start+Zr.duration,this.state=So.FRAG_LOADING;let oo;return Nt?oo=Nt.then(vo=>!vo||this.fragContextChanged(vo.frag)?null:this.doFragPartsLoad(D,Zr,N,ve)).catch(vo=>this.handleFragLoadError(vo)):oo=this.doFragPartsLoad(D,Zr,N,ve).catch(vo=>this.handleFragLoadError(vo)),this.hls.trigger(Ie.FRAG_LOADING,{frag:D,part:Zr,targetBufferTime:Z}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):oo}else if(!D.url||this.loadedEndOfParts(Xn,Z))return Promise.resolve(null)}}this.log(`Loading fragment ${D.sn} cc: ${D.cc} ${pt?"of ["+pt.startSN+"-"+pt.endSN+"] ":""}${this.logPrefix==="[stream-controller]"?"level":"track"}: ${D.level}, target: ${parseFloat(Z.toFixed(3))}`),$e(D.sn)&&!this.bitrateTest&&(this.nextLoadPosition=D.start+D.duration),this.state=So.FRAG_LOADING;const hn=this.config.progressive;let gn;return hn&&Nt?gn=Nt.then(Xn=>!Xn||this.fragContextChanged(Xn==null?void 0:Xn.frag)?null:this.fragmentLoader.load(D,ve)).catch(Xn=>this.handleFragLoadError(Xn)):gn=Promise.all([this.fragmentLoader.load(D,hn?ve:void 0),Nt]).then(([Xn])=>(!hn&&Xn&&ve&&ve(Xn),Xn)).catch(Xn=>this.handleFragLoadError(Xn)),this.hls.trigger(Ie.FRAG_LOADING,{frag:D,targetBufferTime:Z}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):gn}doFragPartsLoad(D,N,Z,ve){return new Promise((je,pt)=>{var Nt;const hn=[],gn=(Nt=Z.details)==null?void 0:Nt.partList,Xn=pr=>{this.fragmentLoader.loadPart(D,pr,ve).then(Zr=>{hn[pr.index]=Zr;const oo=Zr.part;this.hls.trigger(Ie.FRAG_LOADED,Zr);const vo=ki(Z,D.sn,pr.index+1)||bi(gn,D.sn,pr.index+1);if(vo)Xn(vo);else return je({frag:D,part:oo,partsLoaded:hn})}).catch(pt)};Xn(N)})}handleFragLoadError(D){if("data"in D){const N=D.data;D.data&&N.details===mt.INTERNAL_ABORTED?this.handleFragLoadAborted(N.frag,N.part):this.hls.trigger(Ie.ERROR,N)}else this.hls.trigger(Ie.ERROR,{type:Bt.OTHER_ERROR,details:mt.INTERNAL_EXCEPTION,err:D,error:D,fatal:!0});return null}_handleTransmuxerFlush(D){const N=this.getCurrentContext(D);if(!N||this.state!==So.PARSING){!this.fragCurrent&&this.state!==So.STOPPED&&this.state!==So.ERROR&&(this.state=So.IDLE);return}const{frag:Z,part:ve,level:je}=N,pt=self.performance.now();Z.stats.parsing.end=pt,ve&&(ve.stats.parsing.end=pt),this.updateLevelTiming(Z,ve,je,D.partial)}getCurrentContext(D){const{levels:N,fragCurrent:Z}=this,{level:ve,sn:je,part:pt}=D;if(!(N!=null&&N[ve]))return this.warn(`Levels object was unset while buffering fragment ${je} of level ${ve}. The current chunk will not be buffered.`),null;const Nt=N[ve],hn=pt>-1?ki(Nt,je,pt):null,gn=hn?hn.fragment:yi(Nt,je,Z);return gn?(Z&&Z!==gn&&(gn.stats=Z.stats),{frag:gn,part:hn,level:Nt}):null}bufferFragmentData(D,N,Z,ve,je){var pt;if(!D||this.state!==So.PARSING)return;const{data1:Nt,data2:hn}=D;let gn=Nt;if(Nt&&hn&&(gn=et(Nt,hn)),!((pt=gn)!=null&&pt.length))return;const Xn={type:D.type,frag:N,part:Z,chunkMeta:ve,parent:N.type,data:gn};if(this.hls.trigger(Ie.BUFFER_APPENDING,Xn),D.dropped&&D.independent&&!Z){if(je)return;this.flushBufferGap(N)}}flushBufferGap(D){const N=this.media;if(!N)return;if(!oi.isBuffered(N,N.currentTime)){this.flushMainBuffer(0,D.start);return}const Z=N.currentTime,ve=oi.bufferInfo(N,Z,0),je=D.duration,pt=Math.min(this.config.maxFragLookUpTolerance*2,je*.25),Nt=Math.max(Math.min(D.start-pt,ve.end-pt),Z+pt);D.start-Nt>pt&&this.flushMainBuffer(Nt,D.start)}getFwdBufferInfo(D,N){const Z=this.getLoadPosition();return $e(Z)?this.getFwdBufferInfoAtPos(D,Z,N):null}getFwdBufferInfoAtPos(D,N,Z){const{config:{maxBufferHole:ve}}=this,je=oi.bufferInfo(D,N,ve);if(je.len===0&&je.nextStart!==void 0){const pt=this.fragmentTracker.getBufferedFrag(N,Z);if(pt&&je.nextStart<pt.end)return oi.bufferInfo(D,N,Math.max(je.nextStart,ve))}return je}getMaxBufferLength(D){const{config:N}=this;let Z;return D?Z=Math.max(8*N.maxBufferSize/D,N.maxBufferLength):Z=N.maxBufferLength,Math.min(Z,N.maxMaxBufferLength)}reduceMaxBufferLength(D){const N=this.config,Z=D||N.maxBufferLength;return N.maxMaxBufferLength>=Z?(N.maxMaxBufferLength/=2,this.warn(`Reduce max buffer length to ${N.maxMaxBufferLength}s`),!0):!1}getAppendedFrag(D,N=Xo.MAIN){const Z=this.fragmentTracker.getAppendedFrag(D,Xo.MAIN);return Z&&"fragment"in Z?Z.fragment:Z}getNextFragment(D,N){const Z=N.fragments,ve=Z.length;if(!ve)return null;const{config:je}=this,pt=Z[0].start;let Nt;if(N.live){const hn=je.initialLiveManifestSize;if(ve<hn)return this.warn(`Not enough fragments to start playback (have: ${ve}, need: ${hn})`),null;!N.PTSKnown&&!this.startFragRequested&&this.startPosition===-1&&(Nt=this.getInitialLiveFragment(N,Z),this.startPosition=Nt?this.hls.liveSyncPosition||Nt.start:D)}else D<=pt&&(Nt=Z[0]);if(!Nt){const hn=je.lowLatencyMode?N.partEnd:N.fragmentEnd;Nt=this.getFragmentAtPosition(D,hn,N)}return this.mapToInitFragWhenRequired(Nt)}isLoopLoading(D,N){const Z=this.fragmentTracker.getState(D);return(Z===Na.OK||Z===Na.PARTIAL&&!!D.gap)&&this.nextLoadPosition>N}getNextFragmentLoopLoading(D,N,Z,ve,je){const pt=D.gap,Nt=this.getNextFragment(this.nextLoadPosition,N);if(Nt===null)return Nt;if(D=Nt,pt&&D&&!D.gap&&Z.nextStart){const hn=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,Z.nextStart,ve);if(hn!==null&&Z.len+hn.len>=je)return this.log(`buffer full after gaps in "${ve}" playlist starting at sn: ${D.sn}`),null}return D}mapToInitFragWhenRequired(D){return D!=null&&D.initSegment&&!(D!=null&&D.initSegment.data)&&!this.bitrateTest?D.initSegment:D}getNextPart(D,N,Z){let ve=-1,je=!1,pt=!0;for(let Nt=0,hn=D.length;Nt<hn;Nt++){const gn=D[Nt];if(pt=pt&&!gn.independent,ve>-1&&Z<gn.start)break;const Xn=gn.loaded;Xn?ve=-1:(je||gn.independent||pt)&&gn.fragment===N&&(ve=Nt),je=Xn}return ve}loadedEndOfParts(D,N){const Z=D[D.length-1];return Z&&N>Z.start&&Z.loaded}getInitialLiveFragment(D,N){const Z=this.fragPrevious;let ve=null;if(Z){if(D.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${Z.programDateTime}`),ve=Tr(N,Z.endProgramDateTime,this.config.maxFragLookUpTolerance)),!ve){const je=Z.sn+1;if(je>=D.startSN&&je<=D.endSN){const pt=N[je-D.startSN];Z.cc===pt.cc&&(ve=pt,this.log(`Live playlist, switching playlist, load frag with next SN: ${ve.sn}`))}ve||(ve=it(N,Z.cc),ve&&this.log(`Live playlist, switching playlist, load frag with same CC: ${ve.sn}`))}}else{const je=this.hls.liveSyncPosition;je!==null&&(ve=this.getFragmentAtPosition(je,this.bitrateTest?D.fragmentEnd:D.edge,D))}return ve}getFragmentAtPosition(D,N,Z){const{config:ve}=this;let{fragPrevious:je}=this,{fragments:pt,endSN:Nt}=Z;const{fragmentHint:hn}=Z,gn=ve.maxFragLookUpTolerance,Xn=Z.partList,pr=!!(ve.lowLatencyMode&&Xn!=null&&Xn.length&&hn);pr&&hn&&!this.bitrateTest&&(pt=pt.concat(hn),Nt=hn.sn);let Zr;if(D<N){const oo=D>N-gn?0:gn;Zr=Oo(je,pt,D,oo)}else Zr=pt[pt.length-1];if(Zr){const oo=Zr.sn-Z.startSN,vo=this.fragmentTracker.getState(Zr);if((vo===Na.OK||vo===Na.PARTIAL&&Zr.gap)&&(je=Zr),je&&Zr.sn===je.sn&&(!pr||Xn[0].fragment.sn>Zr.sn)&&je&&Zr.level===je.level){const Go=pt[oo+1];Zr.sn<Nt&&this.fragmentTracker.getState(Go)!==Na.OK?Zr=Go:Zr=null}}return Zr}synchronizeToLiveEdge(D){const{config:N,media:Z}=this;if(!Z)return;const ve=this.hls.liveSyncPosition,je=Z.currentTime,pt=D.fragments[0].start,Nt=D.edge,hn=je>=pt-N.maxFragLookUpTolerance&&je<=Nt;if(ve!==null&&Z.duration>ve&&(je<ve||!hn)){const gn=N.liveMaxLatencyDuration!==void 0?N.liveMaxLatencyDuration:N.liveMaxLatencyDurationCount*D.targetduration;(!hn&&Z.readyState<4||je<Nt-gn)&&(this.loadedmetadata||(this.nextLoadPosition=ve),Z.readyState&&(this.warn(`Playback: ${je.toFixed(3)} is located too far from the end of live sliding playlist: ${Nt}, reset currentTime to : ${ve.toFixed(3)}`),Z.currentTime=ve))}}alignPlaylists(D,N){const{levels:Z,levelLastLoaded:ve,fragPrevious:je}=this,pt=ve!==null?Z[ve]:null,Nt=D.fragments.length;if(!Nt)return this.warn("No fragments in live playlist"),0;const hn=D.fragments[0].start,gn=!N,Xn=D.alignedSliding&&$e(hn);if(gn||!Xn&&!hn){mc(je,pt,D);const pr=D.fragments[0].start;return this.log(`Live playlist sliding: ${pr.toFixed(2)} start-sn: ${N?N.startSN:"na"}->${D.startSN} prev-sn: ${je?je.sn:"na"} fragments: ${Nt}`),pr}return hn}waitForCdnTuneIn(D){return D.live&&D.canBlockReload&&D.partTarget&&D.tuneInGoal>Math.max(D.partHoldBack,D.partTarget*3)}setStartPosition(D,N){let Z=this.startPosition;if(Z<N&&(Z=-1),Z===-1||this.lastCurrentTime===-1){const ve=this.startTimeOffset!==null,je=ve?this.startTimeOffset:D.startTimeOffset;je!==null&&$e(je)?(Z=N+je,je<0&&(Z+=D.totalduration),Z=Math.min(Math.max(N,Z),N+D.totalduration),this.log(`Start time offset ${je} found in ${ve?"multivariant":"media"} playlist, adjust startPosition to ${Z}`),this.startPosition=Z):D.live?Z=this.hls.liveSyncPosition||N:this.startPosition=Z=0,this.lastCurrentTime=Z}this.nextLoadPosition=Z}getLoadPosition(){const{media:D}=this;let N=0;return this.loadedmetadata&&D?N=D.currentTime:this.nextLoadPosition&&(N=this.nextLoadPosition),N}handleFragLoadAborted(D,N){this.transmuxer&&D.sn!=="initSegment"&&D.stats.aborted&&(this.warn(`Fragment ${D.sn}${N?" part "+N.index:""} of level ${D.level} was aborted`),this.resetFragmentLoading(D))}resetFragmentLoading(D){(!this.fragCurrent||!this.fragContextChanged(D)&&this.state!==So.FRAG_LOADING_WAITING_RETRY)&&(this.state=So.IDLE)}onFragmentOrKeyLoadError(D,N){if(N.chunkMeta&&!N.frag){const pr=this.getCurrentContext(N.chunkMeta);pr&&(N.frag=pr.frag)}const Z=N.frag;if(!Z||Z.type!==D||!this.levels)return;if(this.fragContextChanged(Z)){var ve;this.warn(`Frag load error must match current frag to retry ${Z.url} > ${(ve=this.fragCurrent)==null?void 0:ve.url}`);return}const je=N.details===mt.FRAG_GAP;je&&this.fragmentTracker.fragBuffered(Z,!0);const pt=N.errorAction,{action:Nt,retryCount:hn=0,retryConfig:gn}=pt||{};if(pt&&Nt===$t.RetryRequest&&gn){var Xn;this.resetStartWhenNotLoaded((Xn=this.levelLastLoaded)!=null?Xn:Z.level);const pr=ta(gn,hn);this.warn(`Fragment ${Z.sn} of ${D} ${Z.level} errored with ${N.details}, retrying loading ${hn+1}/${gn.maxNumRetry} in ${pr}ms`),pt.resolved=!0,this.retryDate=self.performance.now()+pr,this.state=So.FRAG_LOADING_WAITING_RETRY}else gn&&pt?(this.resetFragmentErrors(D),hn<gn.maxNumRetry?je||(pt.resolved=!0):ze.warn(`${N.details} reached or exceeded max retry (${hn})`)):(pt==null?void 0:pt.action)===$t.SendAlternateToPenaltyBox?this.state=So.WAITING_LEVEL:this.state=So.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(D){if(this.state===So.PARSING||this.state===So.PARSED){const N=D.parent,Z=this.getFwdBufferInfo(this.mediaBuffer,N),ve=Z&&Z.len>.5;ve&&this.reduceMaxBufferLength(Z.len);const je=!ve;return je&&this.warn(`Buffer full error while media.currentTime is not buffered, flush ${N} buffer`),D.frag&&(this.fragmentTracker.removeFragment(D.frag),this.nextLoadPosition=D.frag.start),this.resetLoadingState(),je}return!1}resetFragmentErrors(D){D===Xo.AUDIO&&(this.fragCurrent=null),this.loadedmetadata||(this.startFragRequested=!1),this.state!==So.STOPPED&&(this.state=So.IDLE)}afterBufferFlushed(D,N,Z){if(!D)return;const ve=oi.getBuffered(D);this.fragmentTracker.detectEvictedFragments(N,ve,Z),this.state===So.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state=So.IDLE}resetStartWhenNotLoaded(D){if(!this.loadedmetadata){this.startFragRequested=!1;const N=this.levels?this.levels[D].details:null;N!=null&&N.live?(this.startPosition=-1,this.setStartPosition(N,0),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(D){var N;this.warn(`The loading context changed while buffering fragment ${D.sn} of level ${D.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded((N=this.levelLastLoaded)!=null?N:D.level),this.resetLoadingState()}removeUnbufferedFrags(D=0){this.fragmentTracker.removeFragmentsInRange(D,1/0,this.playlistType,!1,!0)}updateLevelTiming(D,N,Z,ve){var je;const pt=Z.details;if(!pt){this.warn("level.details undefined");return}if(Object.keys(D.elementaryStreams).reduce((hn,gn)=>{const Xn=D.elementaryStreams[gn];if(Xn){const pr=Xn.endPTS-Xn.startPTS;if(pr<=0)return this.warn(`Could not parse fragment ${D.sn} ${gn} duration reliably (${pr})`),hn||!1;const Zr=ve?0:wi(pt,D,Xn.startPTS,Xn.endPTS,Xn.startDTS,Xn.endDTS);return this.hls.trigger(Ie.LEVEL_PTS_UPDATED,{details:pt,level:Z,drift:Zr,type:gn,frag:D,start:Xn.startPTS,end:Xn.endPTS}),!0}return hn},!1))Z.fragmentError=0;else if(((je=this.transmuxer)==null?void 0:je.error)===null){const hn=new Error(`Found no media in fragment ${D.sn} of level ${D.level} resetting transmuxer to fallback to playlist timing`);if(Z.fragmentError===0&&(Z.fragmentError++,D.gap=!0,this.fragmentTracker.removeFragment(D),this.fragmentTracker.fragBuffered(D,!0)),this.warn(hn.message),this.hls.trigger(Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.FRAG_PARSING_ERROR,fatal:!1,error:hn,frag:D,reason:`Found no media in msn ${D.sn} of level "${Z.url}"`}),!this.hls)return;this.resetTransmuxer()}this.state=So.PARSED,this.hls.trigger(Ie.FRAG_PARSED,{frag:D,part:N})}resetTransmuxer(){this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null)}recoverWorkerError(D){if(D.event==="demuxerWorker"){var N,Z,ve;this.fragmentTracker.removeAllFragments(),this.resetTransmuxer(),this.resetStartWhenNotLoaded((N=(Z=this.levelLastLoaded)!=null?Z:(ve=this.fragCurrent)==null?void 0:ve.level)!=null?N:0),this.resetLoadingState()}}set state(D){const N=this._state;N!==D&&(this._state=D,this.log(`${N}->${D}`))}get state(){return this._state}}function is(){return self.SourceBuffer||self.WebKitSourceBuffer}function as(){const Et=ba();if(!Et)return!1;const D=is(),N=Et&&typeof Et.isTypeSupported=="function"&&Et.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),Z=!D||D.prototype&&typeof D.prototype.appendBuffer=="function"&&typeof D.prototype.remove=="function";return!!N&&!!Z}function es(){var Et;const D=is();return typeof(D==null||(Et=D.prototype)==null?void 0:Et.changeType)=="function"}function Qs(){return typeof __HLS_WORKER_BUNDLE__=="function"}function Rs(){const Et=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),D=self.URL.createObjectURL(Et);return{worker:new self.Worker(D),objectURL:D}}function rs(Et){const D=new self.URL(Et,self.location.href).href;return{worker:new self.Worker(D),scriptURL:D}}function Cs(Et="",D=9e4){return{type:Et,id:-1,pid:-1,inputTimeScale:D,sequenceNumber:-1,samples:[],dropped:0}}class Fs{constructor(){this._audioTrack=void 0,this._id3Track=void 0,this.frameIndex=0,this.cachedData=null,this.basePTS=null,this.initPTS=null,this.lastPTS=null}resetInitSegment(D,N,Z,ve){this._id3Track={type:"id3",id:3,pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0}}resetTimeStamp(D){this.initPTS=D,this.resetContiguity()}resetContiguity(){this.basePTS=null,this.lastPTS=null,this.frameIndex=0}canParse(D,N){return!1}appendFrame(D,N,Z){}demux(D,N){this.cachedData&&(D=et(this.cachedData,D),this.cachedData=null);let Z=Dn(D,0),ve=Z?Z.length:0,je;const pt=this._audioTrack,Nt=this._id3Track,hn=Z?xe(Z):void 0,gn=D.length;for((this.basePTS===null||this.frameIndex===0&&$e(hn))&&(this.basePTS=Ks(hn,N,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),Z&&Z.length>0&&Nt.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:Z,type:ei.audioId3,duration:Number.POSITIVE_INFINITY});ve<gn;){if(this.canParse(D,ve)){const Xn=this.appendFrame(pt,D,ve);Xn?(this.frameIndex++,this.lastPTS=Xn.sample.pts,ve+=Xn.length,je=ve):ve=gn}else Pe(D,ve)?(Z=Dn(D,ve),Nt.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:Z,type:ei.audioId3,duration:Number.POSITIVE_INFINITY}),ve+=Z.length,je=ve):ve++;if(ve===gn&&je!==gn){const Xn=Gt(D,je);this.cachedData?this.cachedData=et(this.cachedData,Xn):this.cachedData=Xn}}return{audioTrack:pt,videoTrack:Cs(),id3Track:Nt,textTrack:Cs()}}demuxSampleAes(D,N,Z){return Promise.reject(new Error(`[${this}] This demuxer does not support Sample-AES decryption`))}flush(D){const N=this.cachedData;return N&&(this.cachedData=null,this.demux(N,0)),{audioTrack:this._audioTrack,videoTrack:Cs(),id3Track:this._id3Track,textTrack:Cs()}}destroy(){}}const Ks=(Et,D,N)=>{if($e(Et))return Et*90;const Z=N?N.baseTime*9e4/N.timescale:0;return D*9e4+Z};function Ls(Et,D,N,Z){let ve,je,pt,Nt;const hn=navigator.userAgent.toLowerCase(),gn=Z,Xn=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];ve=((D[N+2]&192)>>>6)+1;const pr=(D[N+2]&60)>>>2;if(pr>Xn.length-1){Et.trigger(Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.FRAG_PARSING_ERROR,fatal:!0,reason:`invalid ADTS sampling index:${pr}`});return}return pt=(D[N+2]&1)<<2,pt|=(D[N+3]&192)>>>6,ze.log(`manifest codec:${Z}, ADTS type:${ve}, samplingIndex:${pr}`),/firefox/i.test(hn)?pr>=6?(ve=5,Nt=new Array(4),je=pr-3):(ve=2,Nt=new Array(2),je=pr):hn.indexOf("android")!==-1?(ve=2,Nt=new Array(2),je=pr):(ve=5,Nt=new Array(4),Z&&(Z.indexOf("mp4a.40.29")!==-1||Z.indexOf("mp4a.40.5")!==-1)||!Z&&pr>=6?je=pr-3:((Z&&Z.indexOf("mp4a.40.2")!==-1&&(pr>=6&&pt===1||/vivaldi/i.test(hn))||!Z&&pt===1)&&(ve=2,Nt=new Array(2)),je=pr)),Nt[0]=ve<<3,Nt[0]|=(pr&14)>>1,Nt[1]|=(pr&1)<<7,Nt[1]|=pt<<3,ve===5&&(Nt[1]|=(je&14)>>1,Nt[2]=(je&1)<<7,Nt[2]|=8,Nt[3]=0),{config:Nt,samplerate:Xn[pr],channelCount:pt,codec:"mp4a.40."+ve,manifestCodec:gn}}function Js(Et,D){return Et[D]===255&&(Et[D+1]&246)===240}function Ts(Et,D){return Et[D+1]&1?7:9}function zs(Et,D){return(Et[D+3]&3)<<11|Et[D+4]<<3|(Et[D+5]&224)>>>5}function Bi(Et,D){return D+5<Et.length}function qs(Et,D){return D+1<Et.length&&Js(Et,D)}function Ti(Et,D){return Bi(Et,D)&&Js(Et,D)&&zs(Et,D)<=Et.length-D}function ui(Et,D){if(qs(Et,D)){const N=Ts(Et,D);if(D+N>=Et.length)return!1;const Z=zs(Et,D);if(Z<=N)return!1;const ve=D+Z;return ve===Et.length||qs(Et,ve)}return!1}function qi(Et,D,N,Z,ve){if(!Et.samplerate){const je=Ls(D,N,Z,ve);if(!je)return;Et.config=je.config,Et.samplerate=je.samplerate,Et.channelCount=je.channelCount,Et.codec=je.codec,Et.manifestCodec=je.manifestCodec,ze.log(`parsed codec:${Et.codec}, rate:${je.samplerate}, channels:${je.channelCount}`)}}function Ko(Et){return 1024*9e4/Et}function Ur(Et,D){const N=Ts(Et,D);if(D+N<=Et.length){const Z=zs(Et,D)-N;if(Z>0)return{headerLength:N,frameLength:Z}}}function aa(Et,D,N,Z,ve){const je=Ko(Et.samplerate),pt=Z+ve*je,Nt=Ur(D,N);let hn;if(Nt){const{frameLength:pr,headerLength:Zr}=Nt,oo=Zr+pr,vo=Math.max(0,N+oo-D.length);vo?(hn=new Uint8Array(oo-Zr),hn.set(D.subarray(N+Zr,D.length),0)):hn=D.subarray(N+Zr,N+oo);const Fo={unit:hn,pts:pt};return vo||Et.samples.push(Fo),{sample:Fo,length:oo,missing:vo}}const gn=D.length-N;return hn=new Uint8Array(gn),hn.set(D.subarray(N,D.length),0),{sample:{unit:hn,pts:pt},length:gn,missing:-1}}class ca extends Fs{constructor(D,N){super(),this.observer=void 0,this.config=void 0,this.observer=D,this.config=N}resetInitSegment(D,N,Z,ve){super.resetInitSegment(D,N,Z,ve),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"aac",samples:[],manifestCodec:N,duration:ve,inputTimeScale:9e4,dropped:0}}static probe(D){if(!D)return!1;let Z=(Dn(D,0)||[]).length;for(let ve=D.length;Z<ve;Z++)if(ui(D,Z))return ze.log("ADTS sync word found !"),!0;return!1}canParse(D,N){return Ti(D,N)}appendFrame(D,N,Z){qi(D,this.observer,N,Z,D.manifestCodec);const ve=aa(D,N,Z,this.basePTS,this.frameIndex);if(ve&&ve.missing===0)return ve}}const As=/\/emsg[-/]ID3/i;class Ri{constructor(D,N){this.remainderData=null,this.timeOffset=0,this.config=void 0,this.videoTrack=void 0,this.audioTrack=void 0,this.id3Track=void 0,this.txtTrack=void 0,this.config=N}resetTimeStamp(){}resetInitSegment(D,N,Z,ve){const je=this.videoTrack=Cs("video",1),pt=this.audioTrack=Cs("audio",1),Nt=this.txtTrack=Cs("text",1);if(this.id3Track=Cs("id3",1),this.timeOffset=0,!(D!=null&&D.byteLength))return;const hn=rn(D);if(hn.video){const{id:gn,timescale:Xn,codec:pr}=hn.video;je.id=gn,je.timescale=Nt.timescale=Xn,je.codec=pr}if(hn.audio){const{id:gn,timescale:Xn,codec:pr}=hn.audio;pt.id=gn,pt.timescale=Xn,pt.codec=pr}Nt.id=Ar.text,je.sampleDuration=0,je.duration=pt.duration=ve}resetContiguity(){this.remainderData=null}static probe(D){return D=D.length>16384?D.subarray(0,16384):D,Bn(D,["moof"]).length>0}demux(D,N){this.timeOffset=N;let Z=D;const ve=this.videoTrack,je=this.txtTrack;if(this.config.progressive){this.remainderData&&(Z=et(this.remainderData,D));const Nt=ot(Z);this.remainderData=Nt.remainder,ve.samples=Nt.valid||new Uint8Array}else ve.samples=Z;const pt=this.extractID3Track(ve,N);return je.samples=St(N,ve),{videoTrack:ve,audioTrack:this.audioTrack,id3Track:pt,textTrack:this.txtTrack}}flush(){const D=this.timeOffset,N=this.videoTrack,Z=this.txtTrack;N.samples=this.remainderData||new Uint8Array,this.remainderData=null;const ve=this.extractID3Track(N,this.timeOffset);return Z.samples=St(D,N),{videoTrack:N,audioTrack:Cs(),id3Track:ve,textTrack:Cs()}}extractID3Track(D,N){const Z=this.id3Track;if(D.samples.length){const ve=Bn(D.samples,["emsg"]);ve&&ve.forEach(je=>{const pt=Un(je);if(As.test(pt.schemeIdUri)){const Nt=$e(pt.presentationTime)?pt.presentationTime/pt.timeScale:N+pt.presentationTimeDelta/pt.timeScale;let hn=pt.eventDuration===4294967295?Number.POSITIVE_INFINITY:pt.eventDuration/pt.timeScale;hn<=.001&&(hn=Number.POSITIVE_INFINITY);const gn=pt.payload;Z.samples.push({data:gn,len:gn.byteLength,dts:Nt,pts:Nt,type:ei.emsg,duration:hn})}})}return Z}demuxSampleAes(D,N,Z){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))}destroy(){}}let Ei=null;const pi=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],Gi=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Eo=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],_l=[0,1,1,4];function Al(Et,D,N,Z,ve){if(N+24>D.length)return;const je=Pl(D,N);if(je&&N+je.frameLength<=D.length){const pt=je.samplesPerFrame*9e4/je.sampleRate,Nt=Z+ve*pt,hn={unit:D.subarray(N,N+je.frameLength),pts:Nt,dts:Nt};return Et.config=[],Et.channelCount=je.channelCount,Et.samplerate=je.sampleRate,Et.samples.push(hn),{sample:hn,length:je.frameLength,missing:0}}}function Pl(Et,D){const N=Et[D+1]>>3&3,Z=Et[D+1]>>1&3,ve=Et[D+2]>>4&15,je=Et[D+2]>>2&3;if(N!==1&&ve!==0&&ve!==15&&je!==3){const pt=Et[D+2]>>1&1,Nt=Et[D+3]>>6,hn=N===3?3-Z:Z===3?3:4,gn=pi[hn*14+ve-1]*1e3,pr=Gi[(N===3?0:N===2?1:2)*3+je],Zr=Nt===3?1:2,oo=Eo[N][Z],vo=_l[Z],Fo=oo*8*vo,Go=Math.floor(oo*gn/pr+pt)*vo;if(Ei===null){const de=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Ei=de?parseInt(de[1]):0}return!!Ei&&Ei<=87&&Z===2&&gn>=224e3&&Nt===0&&(Et[D+3]=Et[D+3]|128),{sampleRate:pr,channelCount:Zr,frameLength:Go,samplesPerFrame:Fo}}}function Wi(Et,D){return Et[D]===255&&(Et[D+1]&224)===224&&(Et[D+1]&6)!==0}function Mc(Et,D){return D+1<Et.length&&Wi(Et,D)}function Fc(Et,D){return Wi(Et,D)&&4<=Et.length-D}function Ou(Et,D){if(D+1<Et.length&&Wi(Et,D)){const Z=Pl(Et,D);let ve=4;Z!=null&&Z.frameLength&&(ve=Z.frameLength);const je=D+ve;return je===Et.length||Mc(Et,je)}return!1}class Rl{constructor(D){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=D,this.bytesAvailable=D.byteLength,this.word=0,this.bitsAvailable=0}loadWord(){const D=this.data,N=this.bytesAvailable,Z=D.byteLength-N,ve=new Uint8Array(4),je=Math.min(4,N);if(je===0)throw new Error("no bytes available");ve.set(D.subarray(Z,Z+je)),this.word=new DataView(ve.buffer).getUint32(0),this.bitsAvailable=je*8,this.bytesAvailable-=je}skipBits(D){let N;D=Math.min(D,this.bytesAvailable*8+this.bitsAvailable),this.bitsAvailable>D?(this.word<<=D,this.bitsAvailable-=D):(D-=this.bitsAvailable,N=D>>3,D-=N<<3,this.bytesAvailable-=N,this.loadWord(),this.word<<=D,this.bitsAvailable-=D)}readBits(D){let N=Math.min(this.bitsAvailable,D);const Z=this.word>>>32-N;if(D>32&&ze.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=N,this.bitsAvailable>0)this.word<<=N;else if(this.bytesAvailable>0)this.loadWord();else throw new Error("no bits available");return N=D-N,N>0&&this.bitsAvailable?Z<<N|this.readBits(N):Z}skipLZ(){let D;for(D=0;D<this.bitsAvailable;++D)if(this.word&2147483648>>>D)return this.word<<=D,this.bitsAvailable-=D,D;return this.loadWord(),D+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const D=this.skipLZ();return this.readBits(D+1)-1}readEG(){const D=this.readUEG();return 1&D?1+D>>>1:-1*(D>>>1)}readBoolean(){return this.readBits(1)===1}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}skipScalingList(D){let N=8,Z=8,ve;for(let je=0;je<D;je++)Z!==0&&(ve=this.readEG(),Z=(N+ve+256)%256),N=Z===0?N:Z}readSPS(){let D=0,N=0,Z=0,ve=0,je,pt,Nt;const hn=this.readUByte.bind(this),gn=this.readBits.bind(this),Xn=this.readUEG.bind(this),pr=this.readBoolean.bind(this),Zr=this.skipBits.bind(this),oo=this.skipEG.bind(this),vo=this.skipUEG.bind(this),Fo=this.skipScalingList.bind(this);hn();const Go=hn();if(gn(5),Zr(3),hn(),vo(),Go===100||Go===110||Go===122||Go===244||Go===44||Go===83||Go===86||Go===118||Go===128){const nn=Xn();if(nn===3&&Zr(1),vo(),vo(),Zr(1),pr())for(pt=nn!==3?8:12,Nt=0;Nt<pt;Nt++)pr()&&(Nt<6?Fo(16):Fo(64))}vo();const pa=Xn();if(pa===0)Xn();else if(pa===1)for(Zr(1),oo(),oo(),je=Xn(),Nt=0;Nt<je;Nt++)oo();vo(),Zr(1);const Se=Xn(),de=Xn(),We=gn(1);We===0&&Zr(1),Zr(1),pr()&&(D=Xn(),N=Xn(),Z=Xn(),ve=Xn());let _t=[1,1];if(pr()&&pr())switch(hn()){case 1:_t=[1,1];break;case 2:_t=[12,11];break;case 3:_t=[10,11];break;case 4:_t=[16,11];break;case 5:_t=[40,33];break;case 6:_t=[24,11];break;case 7:_t=[20,11];break;case 8:_t=[32,11];break;case 9:_t=[80,33];break;case 10:_t=[18,11];break;case 11:_t=[15,11];break;case 12:_t=[64,33];break;case 13:_t=[160,99];break;case 14:_t=[4,3];break;case 15:_t=[3,2];break;case 16:_t=[2,1];break;case 255:{_t=[hn()<<8|hn(),hn()<<8|hn()];break}}return{width:Math.ceil((Se+1)*16-D*2-N*2),height:(2-We)*(de+1)*16-(We?2:4)*(Z+ve),pixelRatio:_t}}readSliceType(){return this.readUByte(),this.readUEG(),this.readUEG()}}class gu{constructor(D,N,Z){this.keyData=void 0,this.decrypter=void 0,this.keyData=Z,this.decrypter=new Zo(N,{removePKCS7Padding:!1})}decryptBuffer(D){return this.decrypter.decrypt(D,this.keyData.key.buffer,this.keyData.iv.buffer)}decryptAacSample(D,N,Z){const ve=D[N].unit;if(ve.length<=16)return;const je=ve.subarray(16,ve.length-ve.length%16),pt=je.buffer.slice(je.byteOffset,je.byteOffset+je.length);this.decryptBuffer(pt).then(Nt=>{const hn=new Uint8Array(Nt);ve.set(hn,16),this.decrypter.isSync()||this.decryptAacSamples(D,N+1,Z)})}decryptAacSamples(D,N,Z){for(;;N++){if(N>=D.length){Z();return}if(!(D[N].unit.length<32)&&(this.decryptAacSample(D,N,Z),!this.decrypter.isSync()))return}}getAvcEncryptedData(D){const N=Math.floor((D.length-48)/160)*16+16,Z=new Int8Array(N);let ve=0;for(let je=32;je<D.length-16;je+=160,ve+=16)Z.set(D.subarray(je,je+16),ve);return Z}getAvcDecryptedUnit(D,N){const Z=new Uint8Array(N);let ve=0;for(let je=32;je<D.length-16;je+=160,ve+=16)D.set(Z.subarray(ve,ve+16),je);return D}decryptAvcSample(D,N,Z,ve,je){const pt=mn(je.data),Nt=this.getAvcEncryptedData(pt);this.decryptBuffer(Nt.buffer).then(hn=>{je.data=this.getAvcDecryptedUnit(pt,hn),this.decrypter.isSync()||this.decryptAvcSamples(D,N,Z+1,ve)})}decryptAvcSamples(D,N,Z,ve){if(D instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;N++,Z=0){if(N>=D.length){ve();return}const je=D[N].units;for(;!(Z>=je.length);Z++){const pt=je[Z];if(!(pt.data.length<=48||pt.type!==1&&pt.type!==5)&&(this.decryptAvcSample(D,N,Z,ve,pt),!this.decrypter.isSync()))return}}}}const Hl=188;class Cl{constructor(D,N,Z){this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.sampleAes=null,this.pmtParsed=!1,this.audioCodec=void 0,this.videoCodec=void 0,this._duration=0,this._pmtId=-1,this._avcTrack=void 0,this._audioTrack=void 0,this._id3Track=void 0,this._txtTrack=void 0,this.aacOverFlow=null,this.avcSample=null,this.remainderData=null,this.observer=D,this.config=N,this.typeSupported=Z}static probe(D){const N=Cl.syncOffset(D);return N>0&&ze.warn(`MPEG2-TS detected but first sync word found @ offset ${N}`),N!==-1}static syncOffset(D){const N=D.length;let Z=Math.min(Hl*5,D.length-Hl)+1,ve=0;for(;ve<Z;){let je=!1,pt=-1,Nt=0;for(let hn=ve;hn<N;hn+=Hl)if(D[hn]===71){if(Nt++,pt===-1&&(pt=hn,pt!==0&&(Z=Math.min(pt+Hl*99,D.length-Hl)+1)),je||(je=kl(D,hn)===0),je&&Nt>1&&(pt===0&&Nt>2||hn+Hl>Z))return pt}else{if(Nt)return-1;break}ve++}return-1}static createTrack(D,N){return{container:D==="video"||D==="audio"?"video/mp2t":void 0,type:D,id:Ar[D],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:D==="audio"?N:void 0}}resetInitSegment(D,N,Z,ve){this.pmtParsed=!1,this._pmtId=-1,this._avcTrack=Cl.createTrack("video"),this._audioTrack=Cl.createTrack("audio",ve),this._id3Track=Cl.createTrack("id3"),this._txtTrack=Cl.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.avcSample=null,this.remainderData=null,this.audioCodec=N,this.videoCodec=Z,this._duration=ve}resetTimeStamp(){}resetContiguity(){const{_audioTrack:D,_avcTrack:N,_id3Track:Z}=this;D&&(D.pesData=null),N&&(N.pesData=null),Z&&(Z.pesData=null),this.aacOverFlow=null,this.avcSample=null,this.remainderData=null}demux(D,N,Z=!1,ve=!1){Z||(this.sampleAes=null);let je;const pt=this._avcTrack,Nt=this._audioTrack,hn=this._id3Track,gn=this._txtTrack;let Xn=pt.pid,pr=pt.pesData,Zr=Nt.pid,oo=hn.pid,vo=Nt.pesData,Fo=hn.pesData,Go=null,pa=this.pmtParsed,Se=this._pmtId,de=D.length;if(this.remainderData&&(D=et(this.remainderData,D),de=D.length,this.remainderData=null),de<Hl&&!ve)return this.remainderData=D,{audioTrack:Nt,videoTrack:pt,id3Track:hn,textTrack:gn};const We=Math.max(0,Cl.syncOffset(D));de-=(de-We)%Hl,de<D.byteLength&&!ve&&(this.remainderData=new Uint8Array(D.buffer,de,D.buffer.byteLength-de));let _t=0;for(let vn=We;vn<de;vn+=Hl)if(D[vn]===71){const cr=!!(D[vn+1]&64),lo=kl(D,vn),Po=(D[vn+3]&48)>>4;let oa;if(Po>1){if(oa=vn+5+D[vn+4],oa===vn+Hl)continue}else oa=vn+4;switch(lo){case Xn:cr&&(pr&&(je=vc(pr))&&this.parseAVCPES(pt,gn,je,!1),pr={data:[],size:0}),pr&&(pr.data.push(D.subarray(oa,vn+Hl)),pr.size+=vn+Hl-oa);break;case Zr:if(cr){if(vo&&(je=vc(vo)))switch(Nt.segmentCodec){case"aac":this.parseAACPES(Nt,je);break;case"mp3":this.parseMPEGPES(Nt,je);break}vo={data:[],size:0}}vo&&(vo.data.push(D.subarray(oa,vn+Hl)),vo.size+=vn+Hl-oa);break;case oo:cr&&(Fo&&(je=vc(Fo))&&this.parseID3PES(hn,je),Fo={data:[],size:0}),Fo&&(Fo.data.push(D.subarray(oa,vn+Hl)),Fo.size+=vn+Hl-oa);break;case 0:cr&&(oa+=D[oa]+1),Se=this._pmtId=ll(D,oa);break;case Se:{cr&&(oa+=D[oa]+1);const fa=el(D,oa,this.typeSupported,Z);Xn=fa.avc,Xn>0&&(pt.pid=Xn),Zr=fa.audio,Zr>0&&(Nt.pid=Zr,Nt.segmentCodec=fa.segmentCodec),oo=fa.id3,oo>0&&(hn.pid=oo),Go!==null&&!pa&&(ze.warn(`MPEG-TS PMT found at ${vn} after unknown PID '${Go}'. Backtracking to sync byte @${We} to parse all TS packets.`),Go=null,vn=We-188),pa=this.pmtParsed=!0;break}case 17:case 8191:break;default:Go=lo;break}}else _t++;if(_t>0){const vn=new Error(`Found ${_t} TS packet/s that do not start with 0x47`);this.observer.emit(Ie.ERROR,Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.FRAG_PARSING_ERROR,fatal:!1,error:vn,reason:vn.message})}pt.pesData=pr,Nt.pesData=vo,hn.pesData=Fo;const nn={audioTrack:Nt,videoTrack:pt,id3Track:hn,textTrack:gn};return ve&&this.extractRemainingSamples(nn),nn}flush(){const{remainderData:D}=this;this.remainderData=null;let N;return D?N=this.demux(D,-1,!1,!0):N={videoTrack:this._avcTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(N),this.sampleAes?this.decrypt(N,this.sampleAes):N}extractRemainingSamples(D){const{audioTrack:N,videoTrack:Z,id3Track:ve,textTrack:je}=D,pt=Z.pesData,Nt=N.pesData,hn=ve.pesData;let gn;if(pt&&(gn=vc(pt))?(this.parseAVCPES(Z,je,gn,!0),Z.pesData=null):Z.pesData=pt,Nt&&(gn=vc(Nt))){switch(N.segmentCodec){case"aac":this.parseAACPES(N,gn);break;case"mp3":this.parseMPEGPES(N,gn);break}N.pesData=null}else Nt!=null&&Nt.size&&ze.log("last AAC PES packet truncated,might overlap between fragments"),N.pesData=Nt;hn&&(gn=vc(hn))?(this.parseID3PES(ve,gn),ve.pesData=null):ve.pesData=hn}demuxSampleAes(D,N,Z){const ve=this.demux(D,Z,!0,!this.config.progressive),je=this.sampleAes=new gu(this.observer,this.config,N);return this.decrypt(ve,je)}decrypt(D,N){return new Promise(Z=>{const{audioTrack:ve,videoTrack:je}=D;ve.samples&&ve.segmentCodec==="aac"?N.decryptAacSamples(ve.samples,0,()=>{je.samples?N.decryptAvcSamples(je.samples,0,0,()=>{Z(D)}):Z(D)}):je.samples&&N.decryptAvcSamples(je.samples,0,0,()=>{Z(D)})})}destroy(){this._duration=0}parseAVCPES(D,N,Z,ve){const je=this.parseAVCNALu(D,Z.data);let pt=this.avcSample,Nt,hn=!1;Z.data=null,pt&&je.length&&!D.audFound&&(Bl(pt,D),pt=this.avcSample=Dl(!1,Z.pts,Z.dts,"")),je.forEach(gn=>{var Xn;switch(gn.type){case 1:{let Zr=!1;Nt=!0;const oo=gn.data;if(hn&&oo.length>4){const vo=new Rl(oo).readSliceType();(vo===2||vo===4||vo===7||vo===9)&&(Zr=!0)}if(Zr){var pr;(pr=pt)!=null&&pr.frame&&!pt.key&&(Bl(pt,D),pt=this.avcSample=null)}pt||(pt=this.avcSample=Dl(!0,Z.pts,Z.dts,"")),pt.frame=!0,pt.key=Zr;break}case 5:Nt=!0,(Xn=pt)!=null&&Xn.frame&&!pt.key&&(Bl(pt,D),pt=this.avcSample=null),pt||(pt=this.avcSample=Dl(!0,Z.pts,Z.dts,"")),pt.key=!0,pt.frame=!0;break;case 6:{Nt=!0,Mr(gn.data,1,Z.pts,N.samples);break}case 7:if(Nt=!0,hn=!0,!D.sps){const Zr=gn.data,vo=new Rl(Zr).readSPS();D.width=vo.width,D.height=vo.height,D.pixelRatio=vo.pixelRatio,D.sps=[Zr],D.duration=this._duration;const Fo=Zr.subarray(1,4);let Go="avc1.";for(let pa=0;pa<3;pa++){let Se=Fo[pa].toString(16);Se.length<2&&(Se="0"+Se),Go+=Se}D.codec=Go}break;case 8:Nt=!0,D.pps||(D.pps=[gn.data]);break;case 9:Nt=!1,D.audFound=!0,pt&&Bl(pt,D),pt=this.avcSample=Dl(!1,Z.pts,Z.dts,"");break;case 12:Nt=!0;break;default:Nt=!1,pt&&(pt.debug+="unknown NAL "+gn.type+" ");break}pt&&Nt&&pt.units.push(gn)}),ve&&pt&&(Bl(pt,D),this.avcSample=null)}getLastNalUnit(D){var N;let Z=this.avcSample,ve;if((!Z||Z.units.length===0)&&(Z=D[D.length-1]),(N=Z)!=null&&N.units){const je=Z.units;ve=je[je.length-1]}return ve}parseAVCNALu(D,N){const Z=N.byteLength;let ve=D.naluState||0;const je=ve,pt=[];let Nt=0,hn,gn,Xn,pr=-1,Zr=0;for(ve===-1&&(pr=0,Zr=N[0]&31,ve=0,Nt=1);Nt<Z;){if(hn=N[Nt++],!ve){ve=hn?0:1;continue}if(ve===1){ve=hn?0:2;continue}if(!hn)ve=3;else if(hn===1){if(pr>=0){const oo={data:N.subarray(pr,Nt-ve-1),type:Zr};pt.push(oo)}else{const oo=this.getLastNalUnit(D.samples);if(oo&&(je&&Nt<=4-je&&oo.state&&(oo.data=oo.data.subarray(0,oo.data.byteLength-je)),gn=Nt-ve-1,gn>0)){const vo=new Uint8Array(oo.data.byteLength+gn);vo.set(oo.data,0),vo.set(N.subarray(0,gn),oo.data.byteLength),oo.data=vo,oo.state=0}}Nt<Z?(Xn=N[Nt]&31,pr=Nt,Zr=Xn,ve=0):ve=-1}else ve=0}if(pr>=0&&ve>=0){const oo={data:N.subarray(pr,Z),type:Zr,state:ve};pt.push(oo)}if(pt.length===0){const oo=this.getLastNalUnit(D.samples);if(oo){const vo=new Uint8Array(oo.data.byteLength+N.byteLength);vo.set(oo.data,0),vo.set(N,oo.data.byteLength),oo.data=vo}}return D.naluState=ve,pt}parseAACPES(D,N){let Z=0;const ve=this.aacOverFlow;let je=N.data;if(ve){this.aacOverFlow=null;const pr=ve.missing,Zr=ve.sample.unit.byteLength;if(pr===-1){const oo=new Uint8Array(Zr+je.byteLength);oo.set(ve.sample.unit,0),oo.set(je,Zr),je=oo}else{const oo=Zr-pr;ve.sample.unit.set(je.subarray(0,pr),oo),D.samples.push(ve.sample),Z=ve.missing}}let pt,Nt;for(pt=Z,Nt=je.length;pt<Nt-1&&!qs(je,pt);pt++);if(pt!==Z){let pr;const Zr=pt<Nt-1;Zr?pr=`AAC PES did not start with ADTS header,offset:${pt}`:pr="No ADTS header found in AAC PES";const oo=new Error(pr);if(ze.warn(`parsing error: ${pr}`),this.observer.emit(Ie.ERROR,Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.FRAG_PARSING_ERROR,fatal:!1,levelRetry:Zr,error:oo,reason:pr}),!Zr)return}qi(D,this.observer,je,pt,this.audioCodec);let hn;if(N.pts!==void 0)hn=N.pts;else if(ve){const pr=Ko(D.samplerate);hn=ve.sample.pts+pr}else{ze.warn("[tsdemuxer]: AAC PES unknown PTS");return}let gn=0,Xn;for(;pt<Nt;)if(Xn=aa(D,je,pt,hn,gn),pt+=Xn.length,Xn.missing){this.aacOverFlow=Xn;break}else for(gn++;pt<Nt-1&&!qs(je,pt);pt++);}parseMPEGPES(D,N){const Z=N.data,ve=Z.length;let je=0,pt=0;const Nt=N.pts;if(Nt===void 0){ze.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;pt<ve;)if(Mc(Z,pt)){const hn=Al(D,Z,pt,Nt,je);if(hn)pt+=hn.length,je++;else break}else pt++}parseID3PES(D,N){if(N.pts===void 0){ze.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const Z=Ne({},N,{type:this._avcTrack?ei.emsg:ei.audioId3,duration:Number.POSITIVE_INFINITY});D.samples.push(Z)}}function Dl(Et,D,N,Z){return{key:Et,frame:!1,pts:D,dts:N,units:[],debug:Z,length:0}}function kl(Et,D){return((Et[D+1]&31)<<8)+Et[D+2]}function ll(Et,D){return(Et[D+10]&31)<<8|Et[D+11]}function el(Et,D,N,Z){const ve={audio:-1,avc:-1,id3:-1,segmentCodec:"aac"},je=(Et[D+1]&15)<<8|Et[D+2],pt=D+3+je-4,Nt=(Et[D+10]&15)<<8|Et[D+11];for(D+=12+Nt;D<pt;){const hn=kl(Et,D);switch(Et[D]){case 207:if(!Z){ze.log("ADTS AAC with AES-128-CBC frame encryption found in unencrypted stream");break}case 15:ve.audio===-1&&(ve.audio=hn);break;case 21:ve.id3===-1&&(ve.id3=hn);break;case 219:if(!Z){ze.log("H.264 with AES-128-CBC slice encryption found in unencrypted stream");break}case 27:ve.avc===-1&&(ve.avc=hn);break;case 3:case 4:N.mpeg!==!0&&N.mp3!==!0?ze.log("MPEG audio found, not supported in this browser"):ve.audio===-1&&(ve.audio=hn,ve.segmentCodec="mp3");break;case 36:ze.warn("Unsupported HEVC stream type found");break}D+=((Et[D+3]&15)<<8|Et[D+4])+5}return ve}function vc(Et){let D=0,N,Z,ve,je,pt;const Nt=Et.data;if(!Et||Et.size===0)return null;for(;Nt[0].length<19&&Nt.length>1;){const gn=new Uint8Array(Nt[0].length+Nt[1].length);gn.set(Nt[0]),gn.set(Nt[1],Nt[0].length),Nt[0]=gn,Nt.splice(1,1)}if(N=Nt[0],(N[0]<<16)+(N[1]<<8)+N[2]===1){if(Z=(N[4]<<8)+N[5],Z&&Z>Et.size-6)return null;const gn=N[7];gn&192&&(je=(N[9]&14)*536870912+(N[10]&255)*4194304+(N[11]&254)*16384+(N[12]&255)*128+(N[13]&254)/2,gn&64?(pt=(N[14]&14)*536870912+(N[15]&255)*4194304+(N[16]&254)*16384+(N[17]&255)*128+(N[18]&254)/2,je-pt>60*9e4&&(ze.warn(`${Math.round((je-pt)/9e4)}s delta between PTS and DTS, align them`),je=pt)):pt=je),ve=N[8];let Xn=ve+9;if(Et.size<=Xn)return null;Et.size-=Xn;const pr=new Uint8Array(Et.size);for(let Zr=0,oo=Nt.length;Zr<oo;Zr++){N=Nt[Zr];let vo=N.byteLength;if(Xn)if(Xn>vo){Xn-=vo;continue}else N=N.subarray(Xn),vo-=Xn,Xn=0;pr.set(N,D),D+=vo}return Z&&(Z-=ve+3),{data:pr,pts:je,dts:pt,len:Z}}return null}function Bl(Et,D){if(Et.units.length&&Et.frame){if(Et.pts===void 0){const N=D.samples,Z=N.length;if(Z){const ve=N[Z-1];Et.pts=ve.pts,Et.dts=ve.dts}else{D.dropped++;return}}D.samples.push(Et)}Et.debug.length&&ze.log(Et.pts+"/"+Et.dts+":"+Et.debug)}class oc extends Fs{resetInitSegment(D,N,Z,ve){super.resetInitSegment(D,N,Z,ve),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"mp3",samples:[],manifestCodec:N,duration:ve,inputTimeScale:9e4,dropped:0}}static probe(D){if(!D)return!1;let Z=(Dn(D,0)||[]).length;for(let ve=D.length;Z<ve;Z++)if(Ou(D,Z))return ze.log("MPEG Audio sync word found !"),!0;return!1}canParse(D,N){return Fc(D,N)}appendFrame(D,N,Z){if(this.basePTS!==null)return Al(D,N,Z,this.basePTS,this.frameIndex)}}class Wc{static getSilentFrame(D,N){switch(D){case"mp4a.40.2":if(N===1)return new Uint8Array([0,200,0,128,35,128]);if(N===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(N===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(N===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(N===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(N===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224]);break;default:if(N===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(N===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(N===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);break}}}const Ll=Math.pow(2,32)-1;class Qa{static init(){Qa.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]};let D;for(D in Qa.types)Qa.types.hasOwnProperty(D)&&(Qa.types[D]=[D.charCodeAt(0),D.charCodeAt(1),D.charCodeAt(2),D.charCodeAt(3)]);const N=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),Z=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);Qa.HDLR_TYPES={video:N,audio:Z};const ve=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),je=new Uint8Array([0,0,0,0,0,0,0,0]);Qa.STTS=Qa.STSC=Qa.STCO=je,Qa.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Qa.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),Qa.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Qa.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const pt=new Uint8Array([105,115,111,109]),Nt=new Uint8Array([97,118,99,49]),hn=new Uint8Array([0,0,0,1]);Qa.FTYP=Qa.box(Qa.types.ftyp,pt,hn,pt,Nt),Qa.DINF=Qa.box(Qa.types.dinf,Qa.box(Qa.types.dref,ve))}static box(D,...N){let Z=8,ve=N.length;const je=ve;for(;ve--;)Z+=N[ve].byteLength;const pt=new Uint8Array(Z);for(pt[0]=Z>>24&255,pt[1]=Z>>16&255,pt[2]=Z>>8&255,pt[3]=Z&255,pt.set(D,4),ve=0,Z=8;ve<je;ve++)pt.set(N[ve],Z),Z+=N[ve].byteLength;return pt}static hdlr(D){return Qa.box(Qa.types.hdlr,Qa.HDLR_TYPES[D])}static mdat(D){return Qa.box(Qa.types.mdat,D)}static mdhd(D,N){N*=D;const Z=Math.floor(N/(Ll+1)),ve=Math.floor(N%(Ll+1));return Qa.box(Qa.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,D>>24&255,D>>16&255,D>>8&255,D&255,Z>>24,Z>>16&255,Z>>8&255,Z&255,ve>>24,ve>>16&255,ve>>8&255,ve&255,85,196,0,0]))}static mdia(D){return Qa.box(Qa.types.mdia,Qa.mdhd(D.timescale,D.duration),Qa.hdlr(D.type),Qa.minf(D))}static mfhd(D){return Qa.box(Qa.types.mfhd,new Uint8Array([0,0,0,0,D>>24,D>>16&255,D>>8&255,D&255]))}static minf(D){return D.type==="audio"?Qa.box(Qa.types.minf,Qa.box(Qa.types.smhd,Qa.SMHD),Qa.DINF,Qa.stbl(D)):Qa.box(Qa.types.minf,Qa.box(Qa.types.vmhd,Qa.VMHD),Qa.DINF,Qa.stbl(D))}static moof(D,N,Z){return Qa.box(Qa.types.moof,Qa.mfhd(D),Qa.traf(Z,N))}static moov(D){let N=D.length;const Z=[];for(;N--;)Z[N]=Qa.trak(D[N]);return Qa.box.apply(null,[Qa.types.moov,Qa.mvhd(D[0].timescale,D[0].duration)].concat(Z).concat(Qa.mvex(D)))}static mvex(D){let N=D.length;const Z=[];for(;N--;)Z[N]=Qa.trex(D[N]);return Qa.box.apply(null,[Qa.types.mvex,...Z])}static mvhd(D,N){N*=D;const Z=Math.floor(N/(Ll+1)),ve=Math.floor(N%(Ll+1)),je=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,D>>24&255,D>>16&255,D>>8&255,D&255,Z>>24,Z>>16&255,Z>>8&255,Z&255,ve>>24,ve>>16&255,ve>>8&255,ve&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return Qa.box(Qa.types.mvhd,je)}static sdtp(D){const N=D.samples||[],Z=new Uint8Array(4+N.length);let ve,je;for(ve=0;ve<N.length;ve++)je=N[ve].flags,Z[ve+4]=je.dependsOn<<4|je.isDependedOn<<2|je.hasRedundancy;return Qa.box(Qa.types.sdtp,Z)}static stbl(D){return Qa.box(Qa.types.stbl,Qa.stsd(D),Qa.box(Qa.types.stts,Qa.STTS),Qa.box(Qa.types.stsc,Qa.STSC),Qa.box(Qa.types.stsz,Qa.STSZ),Qa.box(Qa.types.stco,Qa.STCO))}static avc1(D){let N=[],Z=[],ve,je,pt;for(ve=0;ve<D.sps.length;ve++)je=D.sps[ve],pt=je.byteLength,N.push(pt>>>8&255),N.push(pt&255),N=N.concat(Array.prototype.slice.call(je));for(ve=0;ve<D.pps.length;ve++)je=D.pps[ve],pt=je.byteLength,Z.push(pt>>>8&255),Z.push(pt&255),Z=Z.concat(Array.prototype.slice.call(je));const Nt=Qa.box(Qa.types.avcC,new Uint8Array([1,N[3],N[4],N[5],255,224|D.sps.length].concat(N).concat([D.pps.length]).concat(Z))),hn=D.width,gn=D.height,Xn=D.pixelRatio[0],pr=D.pixelRatio[1];return Qa.box(Qa.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,hn>>8&255,hn&255,gn>>8&255,gn&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),Nt,Qa.box(Qa.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Qa.box(Qa.types.pasp,new Uint8Array([Xn>>24,Xn>>16&255,Xn>>8&255,Xn&255,pr>>24,pr>>16&255,pr>>8&255,pr&255])))}static esds(D){const N=D.config.length;return new Uint8Array([0,0,0,0,3,23+N,0,1,0,4,15+N,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([N]).concat(D.config).concat([6,1,2]))}static mp4a(D){const N=D.samplerate;return Qa.box(Qa.types.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,D.channelCount,0,16,0,0,0,0,N>>8&255,N&255,0,0]),Qa.box(Qa.types.esds,Qa.esds(D)))}static mp3(D){const N=D.samplerate;return Qa.box(Qa.types[".mp3"],new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,D.channelCount,0,16,0,0,0,0,N>>8&255,N&255,0,0]))}static stsd(D){return D.type==="audio"?D.segmentCodec==="mp3"&&D.codec==="mp3"?Qa.box(Qa.types.stsd,Qa.STSD,Qa.mp3(D)):Qa.box(Qa.types.stsd,Qa.STSD,Qa.mp4a(D)):Qa.box(Qa.types.stsd,Qa.STSD,Qa.avc1(D))}static tkhd(D){const N=D.id,Z=D.duration*D.timescale,ve=D.width,je=D.height,pt=Math.floor(Z/(Ll+1)),Nt=Math.floor(Z%(Ll+1));return Qa.box(Qa.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,N>>24&255,N>>16&255,N>>8&255,N&255,0,0,0,0,pt>>24,pt>>16&255,pt>>8&255,pt&255,Nt>>24,Nt>>16&255,Nt>>8&255,Nt&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,ve>>8&255,ve&255,0,0,je>>8&255,je&255,0,0]))}static traf(D,N){const Z=Qa.sdtp(D),ve=D.id,je=Math.floor(N/(Ll+1)),pt=Math.floor(N%(Ll+1));return Qa.box(Qa.types.traf,Qa.box(Qa.types.tfhd,new Uint8Array([0,0,0,0,ve>>24,ve>>16&255,ve>>8&255,ve&255])),Qa.box(Qa.types.tfdt,new Uint8Array([1,0,0,0,je>>24,je>>16&255,je>>8&255,je&255,pt>>24,pt>>16&255,pt>>8&255,pt&255])),Qa.trun(D,Z.length+16+20+8+16+8+8),Z)}static trak(D){return D.duration=D.duration||4294967295,Qa.box(Qa.types.trak,Qa.tkhd(D),Qa.mdia(D))}static trex(D){const N=D.id;return Qa.box(Qa.types.trex,new Uint8Array([0,0,0,0,N>>24,N>>16&255,N>>8&255,N&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}static trun(D,N){const Z=D.samples||[],ve=Z.length,je=12+16*ve,pt=new Uint8Array(je);let Nt,hn,gn,Xn,pr,Zr;for(N+=8+je,pt.set([D.type==="video"?1:0,0,15,1,ve>>>24&255,ve>>>16&255,ve>>>8&255,ve&255,N>>>24&255,N>>>16&255,N>>>8&255,N&255],0),Nt=0;Nt<ve;Nt++)hn=Z[Nt],gn=hn.duration,Xn=hn.size,pr=hn.flags,Zr=hn.cts,pt.set([gn>>>24&255,gn>>>16&255,gn>>>8&255,gn&255,Xn>>>24&255,Xn>>>16&255,Xn>>>8&255,Xn&255,pr.isLeading<<2|pr.dependsOn,pr.isDependedOn<<6|pr.hasRedundancy<<4|pr.paddingValue<<1|pr.isNonSync,pr.degradPrio&61440,pr.degradPrio&15,Zr>>>24&255,Zr>>>16&255,Zr>>>8&255,Zr&255],12+16*Nt);return Qa.box(Qa.types.trun,pt)}static initSegment(D){Qa.types||Qa.init();const N=Qa.moov(D),Z=new Uint8Array(Qa.FTYP.byteLength+N.byteLength);return Z.set(Qa.FTYP),Z.set(N,Qa.FTYP.byteLength),Z}}Qa.types=void 0,Qa.HDLR_TYPES=void 0,Qa.STTS=void 0,Qa.STSC=void 0,Qa.STCO=void 0,Qa.STSZ=void 0,Qa.VMHD=void 0,Qa.SMHD=void 0,Qa.STSD=void 0,Qa.FTYP=void 0,Qa.DINF=void 0;const Eu=9e4;function Ul(Et,D,N=1,Z=!1){const ve=Et*D*N;return Z?Math.round(ve):ve}function ql(Et,D,N=1,Z=!1){return Ul(Et,D,1/N,Z)}function Sc(Et,D=!1){return Ul(Et,1e3,1/Eu,D)}function Rc(Et,D=1){return Ul(Et,Eu,1/D)}const Mu=10*1e3,dc=1024,ec=1152;let tc=null,qc=null;class hu{constructor(D,N,Z,ve=""){if(this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextAvcDts=null,this.nextAudioPts=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.observer=D,this.config=N,this.typeSupported=Z,this.ISGenerated=!1,tc===null){const pt=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);tc=pt?parseInt(pt[1]):0}if(qc===null){const je=navigator.userAgent.match(/Safari\/(\d+)/i);qc=je?parseInt(je[1]):0}}destroy(){}resetTimeStamp(D){ze.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=D}resetNextTimestamp(){ze.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){ze.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1}getVideoStartPts(D){let N=!1;const Z=D.reduce((ve,je)=>{const pt=je.pts-ve;return pt<-4294967296?(N=!0,Tc(ve,je.pts)):pt>0?ve:je.pts},D[0].pts);return N&&ze.debug("PTS rollover detected"),Z}remux(D,N,Z,ve,je,pt,Nt,hn){let gn,Xn,pr,Zr,oo,vo,Fo=je,Go=je;const pa=D.pid>-1,Se=N.pid>-1,de=N.samples.length,We=D.samples.length>0,_t=Nt&&de>0||de>1;if((!pa||We)&&(!Se||_t)||this.ISGenerated||Nt){this.ISGenerated||(pr=this.generateIS(D,N,je,pt));const vn=this.isVideoContiguous;let cr=-1,lo;if(_t&&(cr=ac(N.samples),!vn&&this.config.forceKeyFrameOnDiscontinuity))if(vo=!0,cr>0){ze.warn(`[mp4-remuxer]: Dropped ${cr} out of ${de} video samples due to a missing keyframe`);const Po=this.getVideoStartPts(N.samples);N.samples=N.samples.slice(cr),N.dropped+=cr,Go+=(N.samples[0].pts-Po)/N.inputTimeScale,lo=Go}else cr===-1&&(ze.warn(`[mp4-remuxer]: No keyframe found out of ${de} video samples`),vo=!1);if(this.ISGenerated){if(We&&_t){const Po=this.getVideoStartPts(N.samples),fa=(Tc(D.samples[0].pts,Po)-Po)/N.inputTimeScale;Fo+=Math.max(0,fa),Go+=Math.max(0,-fa)}if(We){if(D.samplerate||(ze.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),pr=this.generateIS(D,N,je,pt)),Xn=this.remuxAudio(D,Fo,this.isAudioContiguous,pt,Se||_t||hn===Xo.AUDIO?Go:void 0),_t){const Po=Xn?Xn.endPTS-Xn.startPTS:0;N.inputTimeScale||(ze.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),pr=this.generateIS(D,N,je,pt)),gn=this.remuxVideo(N,Go,vn,Po)}}else _t&&(gn=this.remuxVideo(N,Go,vn,0));gn&&(gn.firstKeyFrame=cr,gn.independent=cr!==-1,gn.firstKeyFramePTS=lo)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(Z.samples.length&&(oo=sc(Z,je,this._initPTS,this._initDTS)),ve.samples.length&&(Zr=wc(ve,je,this._initPTS))),{audio:Xn,video:gn,initSegment:pr,independent:vo,text:Zr,id3:oo}}generateIS(D,N,Z,ve){const je=D.samples,pt=N.samples,Nt=this.typeSupported,hn={},gn=this._initPTS;let Xn=!gn||ve,pr="audio/mp4",Zr,oo,vo;if(Xn&&(Zr=oo=1/0),D.config&&je.length){switch(D.timescale=D.samplerate,D.segmentCodec){case"mp3":Nt.mpeg?(pr="audio/mpeg",D.codec=""):Nt.mp3&&(D.codec="mp3");break}hn.audio={id:"audio",container:pr,codec:D.codec,initSegment:D.segmentCodec==="mp3"&&Nt.mpeg?new Uint8Array(0):Qa.initSegment([D]),metadata:{channelCount:D.channelCount}},Xn&&(vo=D.inputTimeScale,!gn||vo!==gn.timescale?Zr=oo=je[0].pts-Math.round(vo*Z):Xn=!1)}if(N.sps&&N.pps&&pt.length&&(N.timescale=N.inputTimeScale,hn.video={id:"main",container:"video/mp4",codec:N.codec,initSegment:Qa.initSegment([N]),metadata:{width:N.width,height:N.height}},Xn))if(vo=N.inputTimeScale,!gn||vo!==gn.timescale){const Fo=this.getVideoStartPts(pt),Go=Math.round(vo*Z);oo=Math.min(oo,Tc(pt[0].dts,Fo)-Go),Zr=Math.min(Zr,Fo-Go)}else Xn=!1;if(Object.keys(hn).length)return this.ISGenerated=!0,Xn?(this._initPTS={baseTime:Zr,timescale:vo},this._initDTS={baseTime:oo,timescale:vo}):Zr=vo=void 0,{tracks:hn,initPTS:Zr,timescale:vo}}remuxVideo(D,N,Z,ve){const je=D.inputTimeScale,pt=D.samples,Nt=[],hn=pt.length,gn=this._initPTS;let Xn=this.nextAvcDts,pr=8,Zr=this.videoSampleDuration,oo,vo,Fo=Number.POSITIVE_INFINITY,Go=Number.NEGATIVE_INFINITY,pa=!1;if(!Z||Xn===null){const js=N*je,al=pt[0].pts-Tc(pt[0].dts,pt[0].pts);Xn=js-al}const Se=gn.baseTime*je/gn.timescale;for(let js=0;js<hn;js++){const al=pt[js];al.pts=Tc(al.pts-Se,Xn),al.dts=Tc(al.dts-Se,Xn),al.dts<pt[js>0?js-1:js].dts&&(pa=!0)}pa&&pt.sort(function(js,al){const vl=js.dts-al.dts,hc=js.pts-al.pts;return vl||hc}),oo=pt[0].dts,vo=pt[pt.length-1].dts;const de=vo-oo,We=de?Math.round(de/(hn-1)):Zr||D.inputTimeScale/30;if(Z){const js=oo-Xn,al=js>We,vl=js<-1;if((al||vl)&&(al?ze.warn(`AVC: ${Sc(js,!0)} ms (${js}dts) hole between fragments detected, filling it`):ze.warn(`AVC: ${Sc(-js,!0)} ms (${js}dts) overlapping between fragments detected`),!vl||Xn>=pt[0].pts)){oo=Xn;const hc=pt[0].pts-js;pt[0].dts=oo,pt[0].pts=hc,ze.log(`Video: First PTS/DTS adjusted: ${Sc(hc,!0)}/${Sc(oo,!0)}, delta: ${Sc(js,!0)} ms`)}}oo=Math.max(0,oo);let _t=0,nn=0;for(let js=0;js<hn;js++){const al=pt[js],vl=al.units,hc=vl.length;let Cc=0;for(let fu=0;fu<hc;fu++)Cc+=vl[fu].data.length;nn+=Cc,_t+=hc,al.length=Cc,al.dts=Math.max(al.dts,oo),Fo=Math.min(al.pts,Fo),Go=Math.max(al.pts,Go)}vo=pt[hn-1].dts;const vn=nn+4*_t+8;let cr;try{cr=new Uint8Array(vn)}catch(js){this.observer.emit(Ie.ERROR,Ie.ERROR,{type:Bt.MUX_ERROR,details:mt.REMUX_ALLOC_ERROR,fatal:!1,error:js,bytes:vn,reason:`fail allocating video mdat ${vn}`});return}const lo=new DataView(cr.buffer);lo.setUint32(0,vn),cr.set(Qa.types.mdat,4);let Po=!1,oa=Number.POSITIVE_INFINITY,fa=Number.POSITIVE_INFINITY,Va=Number.NEGATIVE_INFINITY,ci=Number.NEGATIVE_INFINITY;for(let js=0;js<hn;js++){const al=pt[js],vl=al.units;let hc=0;for(let Ud=0,Td=vl.length;Ud<Td;Ud++){const Dd=vl[Ud],nf=Dd.data,mh=Dd.data.byteLength;lo.setUint32(pr,mh),pr+=4,cr.set(nf,pr),pr+=mh,hc+=4+mh}let Cc;if(js<hn-1)Zr=pt[js+1].dts-al.dts,Cc=pt[js+1].pts-al.pts;else{const Ud=this.config,Td=js>0?al.dts-pt[js-1].dts:We;if(Cc=js>0?al.pts-pt[js-1].pts:We,Ud.stretchShortVideoTrack&&this.nextAudioPts!==null){const Dd=Math.floor(Ud.maxBufferHole*je),nf=(ve?Fo+ve*je:this.nextAudioPts)-al.pts;nf>Dd?(Zr=nf-Td,Zr<0?Zr=Td:Po=!0,ze.log(`[mp4-remuxer]: It is approximately ${nf/90} ms to the next segment; using duration ${Zr/90} ms for the last video frame.`)):Zr=Td}else Zr=Td}const fu=Math.round(al.pts-al.dts);oa=Math.min(oa,Zr),Va=Math.max(Va,Zr),fa=Math.min(fa,Cc),ci=Math.max(ci,Cc),Nt.push(new Nc(al.key,Zr,hc,fu))}if(Nt.length){if(tc){if(tc<70){const js=Nt[0].flags;js.dependsOn=2,js.isNonSync=0}}else if(qc&&ci-fa<Va-oa&&We/Va<.025&&Nt[0].cts===0){ze.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let js=oo;for(let al=0,vl=Nt.length;al<vl;al++){const hc=js+Nt[al].duration,Cc=js+Nt[al].cts;if(al<vl-1){const fu=hc+Nt[al+1].cts;Nt[al].duration=fu-Cc}else Nt[al].duration=al?Nt[al-1].duration:We;Nt[al].cts=0,js=hc}}}Zr=Po||!Zr?We:Zr,this.nextAvcDts=Xn=vo+Zr,this.videoSampleDuration=Zr,this.isVideoContiguous=!0;const di=Qa.moof(D.sequenceNumber++,oo,Ne({},D,{samples:Nt})),Xs="video",_i={data1:di,data2:cr,startPTS:Fo/je,endPTS:(Go+Zr)/je,startDTS:oo/je,endDTS:Xn/je,type:Xs,hasAudio:!1,hasVideo:!0,nb:Nt.length,dropped:D.dropped};return D.samples=[],D.dropped=0,_i}remuxAudio(D,N,Z,ve,je){const pt=D.inputTimeScale,Nt=D.samplerate?D.samplerate:pt,hn=pt/Nt,gn=D.segmentCodec==="aac"?dc:ec,Xn=gn*hn,pr=this._initPTS,Zr=D.segmentCodec==="mp3"&&this.typeSupported.mpeg,oo=[],vo=je!==void 0;let Fo=D.samples,Go=Zr?0:8,pa=this.nextAudioPts||-1;const Se=N*pt,de=pr.baseTime*pt/pr.timescale;if(this.isAudioContiguous=Z=Z||Fo.length&&pa>0&&(ve&&Math.abs(Se-pa)<9e3||Math.abs(Tc(Fo[0].pts-de,Se)-pa)<20*Xn),Fo.forEach(function(Xs){Xs.pts=Tc(Xs.pts-de,Se)}),!Z||pa<0){if(Fo=Fo.filter(Xs=>Xs.pts>=0),!Fo.length)return;je===0?pa=0:ve&&!vo?pa=Math.max(0,Se):pa=Fo[0].pts}if(D.segmentCodec==="aac"){const Xs=this.config.maxAudioFramesDrift;for(let _i=0,js=pa;_i<Fo.length;_i++){const al=Fo[_i],vl=al.pts,hc=vl-js,Cc=Math.abs(1e3*hc/pt);if(hc<=-Xs*Xn&&vo)_i===0&&(ze.warn(`Audio frame @ ${(vl/pt).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*hc/pt)} ms.`),this.nextAudioPts=pa=js=vl);else if(hc>=Xs*Xn&&Cc<Mu&&vo){let fu=Math.round(hc/Xn);js=vl-fu*Xn,js<0&&(fu--,js+=Xn),_i===0&&(this.nextAudioPts=pa=js),ze.warn(`[mp4-remuxer]: Injecting ${fu} audio frame @ ${(js/pt).toFixed(3)}s due to ${Math.round(1e3*hc/pt)} ms gap.`);for(let Ud=0;Ud<fu;Ud++){const Td=Math.max(js,0);let Dd=Wc.getSilentFrame(D.manifestCodec||D.codec,D.channelCount);Dd||(ze.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),Dd=al.unit.subarray()),Fo.splice(_i,0,{unit:Dd,pts:Td}),js+=Xn,_i++}}al.pts=js,js+=Xn}}let We=null,_t=null,nn,vn=0,cr=Fo.length;for(;cr--;)vn+=Fo[cr].unit.byteLength;for(let Xs=0,_i=Fo.length;Xs<_i;Xs++){const js=Fo[Xs],al=js.unit;let vl=js.pts;if(_t!==null){const Cc=oo[Xs-1];Cc.duration=Math.round((vl-_t)/hn)}else if(Z&&D.segmentCodec==="aac"&&(vl=pa),We=vl,vn>0){vn+=Go;try{nn=new Uint8Array(vn)}catch(Cc){this.observer.emit(Ie.ERROR,Ie.ERROR,{type:Bt.MUX_ERROR,details:mt.REMUX_ALLOC_ERROR,fatal:!1,error:Cc,bytes:vn,reason:`fail allocating audio mdat ${vn}`});return}Zr||(new DataView(nn.buffer).setUint32(0,vn),nn.set(Qa.types.mdat,4))}else return;nn.set(al,Go);const hc=al.byteLength;Go+=hc,oo.push(new Nc(!0,gn,hc,0)),_t=vl}const lo=oo.length;if(!lo)return;const Po=oo[oo.length-1];this.nextAudioPts=pa=_t+hn*Po.duration;const oa=Zr?new Uint8Array(0):Qa.moof(D.sequenceNumber++,We/hn,Ne({},D,{samples:oo}));D.samples=[];const fa=We/pt,Va=pa/pt,di={data1:oa,data2:nn,startPTS:fa,endPTS:Va,startDTS:fa,endDTS:Va,type:"audio",hasAudio:!0,hasVideo:!1,nb:lo};return this.isAudioContiguous=!0,di}remuxEmptyAudio(D,N,Z,ve){const je=D.inputTimeScale,pt=D.samplerate?D.samplerate:je,Nt=je/pt,hn=this.nextAudioPts,gn=this._initDTS,Xn=gn.baseTime*9e4/gn.timescale,pr=(hn!==null?hn:ve.startDTS*je)+Xn,Zr=ve.endDTS*je+Xn,oo=Nt*dc,vo=Math.ceil((Zr-pr)/oo),Fo=Wc.getSilentFrame(D.manifestCodec||D.codec,D.channelCount);if(ze.warn("[mp4-remuxer]: remux empty Audio"),!Fo){ze.trace("[mp4-remuxer]: Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec");return}const Go=[];for(let pa=0;pa<vo;pa++){const Se=pr+pa*oo;Go.push({unit:Fo,pts:Se,dts:Se})}return D.samples=Go,this.remuxAudio(D,N,Z,!1)}}function Tc(Et,D){let N;if(D===null)return Et;for(D<Et?N=-8589934592:N=8589934592;Math.abs(Et-D)>4294967296;)Et+=N;return Et}function ac(Et){for(let D=0;D<Et.length;D++)if(Et[D].key)return D;return-1}function sc(Et,D,N,Z){const ve=Et.samples.length;if(!ve)return;const je=Et.inputTimeScale;for(let Nt=0;Nt<ve;Nt++){const hn=Et.samples[Nt];hn.pts=Tc(hn.pts-N.baseTime*je/N.timescale,D*je)/je,hn.dts=Tc(hn.dts-Z.baseTime*je/Z.timescale,D*je)/je}const pt=Et.samples;return Et.samples=[],{samples:pt}}function wc(Et,D,N){const Z=Et.samples.length;if(!Z)return;const ve=Et.inputTimeScale;for(let pt=0;pt<Z;pt++){const Nt=Et.samples[pt];Nt.pts=Tc(Nt.pts-N.baseTime*ve/N.timescale,D*ve)/ve}Et.samples.sort((pt,Nt)=>pt.pts-Nt.pts);const je=Et.samples;return Et.samples=[],{samples:je}}class Nc{constructor(D,N,Z,ve){this.size=void 0,this.duration=void 0,this.cts=void 0,this.flags=void 0,this.duration=N,this.size=Z,this.cts=ve,this.flags=new Kc(D)}}class Kc{constructor(D){this.isLeading=0,this.isDependedOn=0,this.hasRedundancy=0,this.degradPrio=0,this.dependsOn=1,this.isNonSync=1,this.dependsOn=D?2:1,this.isNonSync=D?0:1}}class Yl{constructor(){this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null}destroy(){}resetTimeStamp(D){this.initPTS=D,this.lastEndTime=null}resetNextTimestamp(){this.lastEndTime=null}resetInitSegment(D,N,Z,ve){this.audioCodec=N,this.videoCodec=Z,this.generateInitSegment(Rt(D,ve)),this.emitInitSegment=!0}generateInitSegment(D){let{audioCodec:N,videoCodec:Z}=this;if(!(D!=null&&D.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const ve=this.initData=rn(D);N||(N=ur(ve.audio,Zn.AUDIO)),Z||(Z=ur(ve.video,Zn.VIDEO));const je={};ve.audio&&ve.video?je.audiovideo={container:"video/mp4",codec:N+","+Z,initSegment:D,id:"main"}:ve.audio?je.audio={container:"audio/mp4",codec:N,initSegment:D,id:"audio"}:ve.video?je.video={container:"video/mp4",codec:Z,initSegment:D,id:"main"}:ze.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=je}remux(D,N,Z,ve,je,pt){var Nt,hn;let{initPTS:gn,lastEndTime:Xn}=this;const pr={audio:void 0,video:void 0,text:ve,id3:Z,initSegment:void 0};$e(Xn)||(Xn=this.lastEndTime=je||0);const Zr=N.samples;if(!(Zr!=null&&Zr.length))return pr;const oo={initPTS:void 0,timescale:1};let vo=this.initData;if((Nt=vo)!=null&&Nt.length||(this.generateInitSegment(Zr),vo=this.initData),!((hn=vo)!=null&&hn.length))return ze.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),pr;this.emitInitSegment&&(oo.tracks=this.initTracks,this.emitInitSegment=!1);const Fo=yt(Zr,vo),Go=Ye(vo,Zr),pa=Go===null?je:Go;(ou(gn,pa,je,Fo)||oo.timescale!==gn.timescale&&pt)&&(oo.initPTS=pa-je,gn&&gn.timescale===1&&ze.warn(`Adjusting initPTS by ${oo.initPTS-gn.baseTime}`),this.initPTS=gn={baseTime:oo.initPTS,timescale:1});const Se=D?pa-gn.baseTime/gn.timescale:Xn,de=Se+Fo;Mt(vo,Zr,gn.baseTime/gn.timescale),Fo>0?this.lastEndTime=de:(ze.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const We=!!vo.audio,_t=!!vo.video;let nn="";We&&(nn+="audio"),_t&&(nn+="video");const vn={data1:Zr,startPTS:Se,startDTS:Se,endPTS:de,endDTS:de,type:nn,hasAudio:We,hasVideo:_t,nb:1,dropped:0};return pr.audio=vn.type==="audio"?vn:void 0,pr.video=vn.type!=="audio"?vn:void 0,pr.initSegment=oo,pr.id3=sc(Z,je,gn,gn),ve.samples.length&&(pr.text=wc(ve,je,gn)),pr}}function ou(Et,D,N,Z){if(Et===null)return!0;const ve=Math.max(Z,1),je=D-Et.baseTime/Et.timescale;return Math.abs(je-N)>ve}function ur(Et,D){const N=Et==null?void 0:Et.codec;return N&&N.length>4?N:N==="hvc1"||N==="hev1"?"hvc1.1.6.L120.90":N==="av01"?"av01.0.04M.08":N==="avc1"||D===Zn.VIDEO?"avc1.42e01e":"mp4a.40.5"}let Xr;try{Xr=self.performance.now.bind(self.performance)}catch{ze.debug("Unable to use Performance API on this environment"),Xr=typeof self<"u"&&self.Date.now}const Fr=[{demux:Ri,remux:Yl},{demux:Cl,remux:hu},{demux:ca,remux:hu},{demux:oc,remux:hu}];class kr{constructor(D,N,Z,ve,je){this.async=!1,this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.vendor=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.observer=D,this.typeSupported=N,this.config=Z,this.vendor=ve,this.id=je}configure(D){this.transmuxConfig=D,this.decrypter&&this.decrypter.reset()}push(D,N,Z,ve){const je=Z.transmuxing;je.executeStart=Xr();let pt=new Uint8Array(D);const{currentTransmuxState:Nt,transmuxConfig:hn}=this;ve&&(this.currentTransmuxState=ve);const{contiguous:gn,discontinuity:Xn,trackSwitch:pr,accurateTimeOffset:Zr,timeOffset:oo,initSegmentChange:vo}=ve||Nt,{audioCodec:Fo,videoCodec:Go,defaultInitPts:pa,duration:Se,initSegmentData:de}=hn,We=Ge(pt,N);if(We&&We.method==="AES-128"){const cr=this.getDecrypter();if(cr.isSync()){let lo=cr.softwareDecrypt(pt,We.key.buffer,We.iv.buffer);if(Z.part>-1&&(lo=cr.flush()),!lo)return je.executeEnd=Xr(),An(Z);pt=new Uint8Array(lo)}else return this.decryptionPromise=cr.webCryptoDecrypt(pt,We.key.buffer,We.iv.buffer).then(lo=>{const Po=this.push(lo,null,Z);return this.decryptionPromise=null,Po}),this.decryptionPromise}const _t=this.needsProbing(Xn,pr);if(_t){const cr=this.configureTransmuxer(pt);if(cr)return ze.warn(`[transmuxer] ${cr.message}`),this.observer.emit(Ie.ERROR,Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.FRAG_PARSING_ERROR,fatal:!1,error:cr,reason:cr.message}),je.executeEnd=Xr(),An(Z)}(Xn||pr||vo||_t)&&this.resetInitSegment(de,Fo,Go,Se,N),(Xn||vo||_t)&&this.resetInitialTimestamp(pa),gn||this.resetContiguity();const nn=this.transmux(pt,We,oo,Zr,Z),vn=this.currentTransmuxState;return vn.contiguous=!0,vn.discontinuity=!1,vn.trackSwitch=!1,je.executeEnd=Xr(),nn}flush(D){const N=D.transmuxing;N.executeStart=Xr();const{decrypter:Z,currentTransmuxState:ve,decryptionPromise:je}=this;if(je)return je.then(()=>this.flush(D));const pt=[],{timeOffset:Nt}=ve;if(Z){const pr=Z.flush();pr&&pt.push(this.push(pr,null,D))}const{demuxer:hn,remuxer:gn}=this;if(!hn||!gn)return N.executeEnd=Xr(),[An(D)];const Xn=hn.flush(Nt);return Yt(Xn)?Xn.then(pr=>(this.flushRemux(pt,pr,D),pt)):(this.flushRemux(pt,Xn,D),pt)}flushRemux(D,N,Z){const{audioTrack:ve,videoTrack:je,id3Track:pt,textTrack:Nt}=N,{accurateTimeOffset:hn,timeOffset:gn}=this.currentTransmuxState;ze.log(`[transmuxer.ts]: Flushed fragment ${Z.sn}${Z.part>-1?" p: "+Z.part:""} of level ${Z.level}`);const Xn=this.remuxer.remux(ve,je,pt,Nt,gn,hn,!0,this.id);D.push({remuxResult:Xn,chunkMeta:Z}),Z.transmuxing.executeEnd=Xr()}resetInitialTimestamp(D){const{demuxer:N,remuxer:Z}=this;!N||!Z||(N.resetTimeStamp(D),Z.resetTimeStamp(D))}resetContiguity(){const{demuxer:D,remuxer:N}=this;!D||!N||(D.resetContiguity(),N.resetNextTimestamp())}resetInitSegment(D,N,Z,ve,je){const{demuxer:pt,remuxer:Nt}=this;!pt||!Nt||(pt.resetInitSegment(D,N,Z,ve),Nt.resetInitSegment(D,N,Z,je))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(D,N,Z,ve,je){let pt;return N&&N.method==="SAMPLE-AES"?pt=this.transmuxSampleAes(D,N,Z,ve,je):pt=this.transmuxUnencrypted(D,Z,ve,je),pt}transmuxUnencrypted(D,N,Z,ve){const{audioTrack:je,videoTrack:pt,id3Track:Nt,textTrack:hn}=this.demuxer.demux(D,N,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(je,pt,Nt,hn,N,Z,!1,this.id),chunkMeta:ve}}transmuxSampleAes(D,N,Z,ve,je){return this.demuxer.demuxSampleAes(D,N,Z).then(pt=>({remuxResult:this.remuxer.remux(pt.audioTrack,pt.videoTrack,pt.id3Track,pt.textTrack,Z,ve,!1,this.id),chunkMeta:je}))}configureTransmuxer(D){const{config:N,observer:Z,typeSupported:ve,vendor:je}=this;let pt;for(let pr=0,Zr=Fr.length;pr<Zr;pr++)if(Fr[pr].demux.probe(D)){pt=Fr[pr];break}if(!pt)return new Error("Failed to find demuxer by probing fragment data");const Nt=this.demuxer,hn=this.remuxer,gn=pt.remux,Xn=pt.demux;(!hn||!(hn instanceof gn))&&(this.remuxer=new gn(Z,N,ve,je)),(!Nt||!(Nt instanceof Xn))&&(this.demuxer=new Xn(Z,N,ve),this.probe=Xn.probe)}needsProbing(D,N){return!this.demuxer||!this.remuxer||D||N}getDecrypter(){let D=this.decrypter;return D||(D=this.decrypter=new Zo(this.config)),D}}function Ge(Et,D){let N=null;return Et.byteLength>0&&D!=null&&D.key!=null&&D.iv!==null&&D.method!=null&&(N=D),N}const An=Et=>({remuxResult:{},chunkMeta:Et});function Yt(Et){return"then"in Et&&Et.then instanceof Function}class fn{constructor(D,N,Z,ve,je){this.audioCodec=void 0,this.videoCodec=void 0,this.initSegmentData=void 0,this.duration=void 0,this.defaultInitPts=void 0,this.audioCodec=D,this.videoCodec=N,this.initSegmentData=Z,this.duration=ve,this.defaultInitPts=je||null}}class Br{constructor(D,N,Z,ve,je,pt){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=D,this.contiguous=N,this.accurateTimeOffset=Z,this.trackSwitch=ve,this.timeOffset=je,this.initSegmentChange=pt}}var yo={exports:{}};(function(Et){var D=Object.prototype.hasOwnProperty,N="~";function Z(){}Object.create&&(Z.prototype=Object.create(null),new Z().__proto__||(N=!1));function ve(hn,gn,Xn){this.fn=hn,this.context=gn,this.once=Xn||!1}function je(hn,gn,Xn,pr,Zr){if(typeof Xn!="function")throw new TypeError("The listener must be a function");var oo=new ve(Xn,pr||hn,Zr),vo=N?N+gn:gn;return hn._events[vo]?hn._events[vo].fn?hn._events[vo]=[hn._events[vo],oo]:hn._events[vo].push(oo):(hn._events[vo]=oo,hn._eventsCount++),hn}function pt(hn,gn){--hn._eventsCount===0?hn._events=new Z:delete hn._events[gn]}function Nt(){this._events=new Z,this._eventsCount=0}Nt.prototype.eventNames=function(){var gn=[],Xn,pr;if(this._eventsCount===0)return gn;for(pr in Xn=this._events)D.call(Xn,pr)&&gn.push(N?pr.slice(1):pr);return Object.getOwnPropertySymbols?gn.concat(Object.getOwnPropertySymbols(Xn)):gn},Nt.prototype.listeners=function(gn){var Xn=N?N+gn:gn,pr=this._events[Xn];if(!pr)return[];if(pr.fn)return[pr.fn];for(var Zr=0,oo=pr.length,vo=new Array(oo);Zr<oo;Zr++)vo[Zr]=pr[Zr].fn;return vo},Nt.prototype.listenerCount=function(gn){var Xn=N?N+gn:gn,pr=this._events[Xn];return pr?pr.fn?1:pr.length:0},Nt.prototype.emit=function(gn,Xn,pr,Zr,oo,vo){var Fo=N?N+gn:gn;if(!this._events[Fo])return!1;var Go=this._events[Fo],pa=arguments.length,Se,de;if(Go.fn){switch(Go.once&&this.removeListener(gn,Go.fn,void 0,!0),pa){case 1:return Go.fn.call(Go.context),!0;case 2:return Go.fn.call(Go.context,Xn),!0;case 3:return Go.fn.call(Go.context,Xn,pr),!0;case 4:return Go.fn.call(Go.context,Xn,pr,Zr),!0;case 5:return Go.fn.call(Go.context,Xn,pr,Zr,oo),!0;case 6:return Go.fn.call(Go.context,Xn,pr,Zr,oo,vo),!0}for(de=1,Se=new Array(pa-1);de<pa;de++)Se[de-1]=arguments[de];Go.fn.apply(Go.context,Se)}else{var We=Go.length,_t;for(de=0;de<We;de++)switch(Go[de].once&&this.removeListener(gn,Go[de].fn,void 0,!0),pa){case 1:Go[de].fn.call(Go[de].context);break;case 2:Go[de].fn.call(Go[de].context,Xn);break;case 3:Go[de].fn.call(Go[de].context,Xn,pr);break;case 4:Go[de].fn.call(Go[de].context,Xn,pr,Zr);break;default:if(!Se)for(_t=1,Se=new Array(pa-1);_t<pa;_t++)Se[_t-1]=arguments[_t];Go[de].fn.apply(Go[de].context,Se)}}return!0},Nt.prototype.on=function(gn,Xn,pr){return je(this,gn,Xn,pr,!1)},Nt.prototype.once=function(gn,Xn,pr){return je(this,gn,Xn,pr,!0)},Nt.prototype.removeListener=function(gn,Xn,pr,Zr){var oo=N?N+gn:gn;if(!this._events[oo])return this;if(!Xn)return pt(this,oo),this;var vo=this._events[oo];if(vo.fn)vo.fn===Xn&&(!Zr||vo.once)&&(!pr||vo.context===pr)&&pt(this,oo);else{for(var Fo=0,Go=[],pa=vo.length;Fo<pa;Fo++)(vo[Fo].fn!==Xn||Zr&&!vo[Fo].once||pr&&vo[Fo].context!==pr)&&Go.push(vo[Fo]);Go.length?this._events[oo]=Go.length===1?Go[0]:Go:pt(this,oo)}return this},Nt.prototype.removeAllListeners=function(gn){var Xn;return gn?(Xn=N?N+gn:gn,this._events[Xn]&&pt(this,Xn)):(this._events=new Z,this._eventsCount=0),this},Nt.prototype.off=Nt.prototype.removeListener,Nt.prototype.addListener=Nt.prototype.on,Nt.prefixed=N,Nt.EventEmitter=Nt,Et.exports=Nt})(yo);var Jo=yo.exports,sa=ye(Jo);const la=ba()||{isTypeSupported:()=>!1};class va{constructor(D,N,Z,ve){this.error=null,this.hls=void 0,this.id=void 0,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.onwmsg=void 0,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0;const je=D.config;this.hls=D,this.id=N,this.useWorker=!!je.enableWorker,this.onTransmuxComplete=Z,this.onFlush=ve;const pt=(gn,Xn)=>{Xn=Xn||{},Xn.frag=this.frag,Xn.id=this.id,gn===Ie.ERROR&&(this.error=Xn.error),this.hls.trigger(gn,Xn)};this.observer=new sa,this.observer.on(Ie.FRAG_DECRYPTED,pt),this.observer.on(Ie.ERROR,pt);const Nt={mp4:la.isTypeSupported("video/mp4"),mpeg:la.isTypeSupported("audio/mpeg"),mp3:la.isTypeSupported('audio/mp4; codecs="mp3"')},hn=navigator.vendor;if(this.useWorker&&typeof Worker<"u"&&(je.workerPath||Qs())){try{je.workerPath?(ze.log(`loading Web Worker ${je.workerPath} for "${N}"`),this.workerContext=rs(je.workerPath)):(ze.log(`injecting Web Worker for "${N}"`),this.workerContext=Rs()),this.onwmsg=pr=>this.onWorkerMessage(pr);const{worker:Xn}=this.workerContext;Xn.addEventListener("message",this.onwmsg),Xn.onerror=pr=>{const Zr=new Error(`${pr.message}  (${pr.filename}:${pr.lineno})`);je.enableWorker=!1,ze.warn(`Error in "${N}" Web Worker, fallback to inline`),this.hls.trigger(Ie.ERROR,{type:Bt.OTHER_ERROR,details:mt.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:Zr})},Xn.postMessage({cmd:"init",typeSupported:Nt,vendor:hn,id:N,config:JSON.stringify(je)})}catch(Xn){ze.warn(`Error setting up "${N}" Web Worker, fallback to inline`,Xn),this.resetWorker(),this.error=null,this.transmuxer=new kr(this.observer,Nt,je,hn,N)}return}this.transmuxer=new kr(this.observer,Nt,je,hn,N)}resetWorker(){if(this.workerContext){const{worker:D,objectURL:N}=this.workerContext;N&&self.URL.revokeObjectURL(N),D.removeEventListener("message",this.onwmsg),D.onerror=null,D.terminate(),this.workerContext=null}}destroy(){if(this.workerContext)this.resetWorker(),this.onwmsg=void 0;else{const N=this.transmuxer;N&&(N.destroy(),this.transmuxer=null)}const D=this.observer;D&&D.removeAllListeners(),this.frag=null,this.observer=null,this.hls=null}push(D,N,Z,ve,je,pt,Nt,hn,gn,Xn){var pr,Zr;gn.transmuxing.start=self.performance.now();const{transmuxer:oo}=this,vo=pt?pt.start:je.start,Fo=je.decryptdata,Go=this.frag,pa=!(Go&&je.cc===Go.cc),Se=!(Go&&gn.level===Go.level),de=Go?gn.sn-Go.sn:-1,We=this.part?gn.part-this.part.index:-1,_t=de===0&&gn.id>1&&gn.id===(Go==null?void 0:Go.stats.chunkCount),nn=!Se&&(de===1||de===0&&(We===1||_t&&We<=0)),vn=self.performance.now();(Se||de||je.stats.parsing.start===0)&&(je.stats.parsing.start=vn),pt&&(We||!nn)&&(pt.stats.parsing.start=vn);const cr=!(Go&&((pr=je.initSegment)==null?void 0:pr.url)===((Zr=Go.initSegment)==null?void 0:Zr.url)),lo=new Br(pa,nn,hn,Se,vo,cr);if(!nn||pa||cr){ze.log(`[transmuxer-interface, ${je.type}]: Starting new transmux session for sn: ${gn.sn} p: ${gn.part} level: ${gn.level} id: ${gn.id}
        discontinuity: ${pa}
        trackSwitch: ${Se}
        contiguous: ${nn}
        accurateTimeOffset: ${hn}
        timeOffset: ${vo}
        initSegmentChange: ${cr}`);const Po=new fn(Z,ve,N,Nt,Xn);this.configureTransmuxer(Po)}if(this.frag=je,this.part=pt,this.workerContext)this.workerContext.worker.postMessage({cmd:"demux",data:D,decryptdata:Fo,chunkMeta:gn,state:lo},D instanceof ArrayBuffer?[D]:[]);else if(oo){const Po=oo.push(D,Fo,gn,lo);Yt(Po)?(oo.async=!0,Po.then(oa=>{this.handleTransmuxComplete(oa)}).catch(oa=>{this.transmuxerError(oa,gn,"transmuxer-interface push error")})):(oo.async=!1,this.handleTransmuxComplete(Po))}}flush(D){D.transmuxing.start=self.performance.now();const{transmuxer:N}=this;if(this.workerContext)this.workerContext.worker.postMessage({cmd:"flush",chunkMeta:D});else if(N){let Z=N.flush(D);Yt(Z)||N.async?(Yt(Z)||(Z=Promise.resolve(Z)),Z.then(je=>{this.handleFlushResult(je,D)}).catch(je=>{this.transmuxerError(je,D,"transmuxer-interface flush error")})):this.handleFlushResult(Z,D)}}transmuxerError(D,N,Z){this.hls&&(this.error=D,this.hls.trigger(Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.FRAG_PARSING_ERROR,chunkMeta:N,fatal:!1,error:D,err:D,reason:Z}))}handleFlushResult(D,N){D.forEach(Z=>{this.handleTransmuxComplete(Z)}),this.onFlush(N)}onWorkerMessage(D){const N=D.data,Z=this.hls;switch(N.event){case"init":{var ve;const je=(ve=this.workerContext)==null?void 0:ve.objectURL;je&&self.URL.revokeObjectURL(je);break}case"transmuxComplete":{this.handleTransmuxComplete(N.data);break}case"flush":{this.onFlush(N.data);break}case"workerLog":ze[N.data.logType]&&ze[N.data.logType](N.data.message);break;default:{N.data=N.data||{},N.data.frag=this.frag,N.data.id=this.id,Z.trigger(N.event,N.data);break}}}configureTransmuxer(D){const{transmuxer:N}=this;this.workerContext?this.workerContext.worker.postMessage({cmd:"configure",config:D}):N&&N.configure(D)}handleTransmuxComplete(D){D.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(D)}}const Ra=250,Ya=2,wa=.1,xa=.05;class Ds{constructor(D,N,Z,ve){this.config=void 0,this.media=null,this.fragmentTracker=void 0,this.hls=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.config=D,this.media=N,this.fragmentTracker=Z,this.hls=ve}destroy(){this.media=null,this.hls=this.fragmentTracker=null}poll(D,N){const{config:Z,media:ve,stalled:je}=this;if(ve===null)return;const{currentTime:pt,seeking:Nt}=ve,hn=this.seeking&&!Nt,gn=!this.seeking&&Nt;if(this.seeking=Nt,pt!==D){if(this.moved=!0,je!==null){if(this.stallReported){const pa=self.performance.now()-je;ze.warn(`playback not stuck anymore @${pt}, after ${Math.round(pa)}ms`),this.stallReported=!1}this.stalled=null,this.nudgeRetry=0}return}if(gn||hn){this.stalled=null;return}if(ve.paused&&!Nt||ve.ended||ve.playbackRate===0||!oi.getBuffered(ve).length)return;const Xn=oi.bufferInfo(ve,pt,0),pr=Xn.len>0,Zr=Xn.nextStart||0;if(!pr&&!Zr)return;if(Nt){const pa=Xn.len>Ya,Se=!Zr||N&&N.start<=pt||Zr-pt>Ya&&!this.fragmentTracker.getPartialFragment(pt);if(pa||Se)return;this.moved=!1}if(!this.moved&&this.stalled!==null){var oo;const pa=Math.max(Zr,Xn.start||0)-pt,Se=this.hls.levels?this.hls.levels[this.hls.currentLevel]:null,We=(Se==null||(oo=Se.details)==null?void 0:oo.live)?Se.details.targetduration*2:Ya,_t=this.fragmentTracker.getPartialFragment(pt);if(pa>0&&(pa<=We||_t)){this._trySkipBufferHole(_t);return}}const vo=self.performance.now();if(je===null){this.stalled=vo;return}const Fo=vo-je;if(!Nt&&Fo>=Ra&&(this._reportStall(Xn),!this.media))return;const Go=oi.bufferInfo(ve,pt,Z.maxBufferHole);this._tryFixBufferStall(Go,Fo)}_tryFixBufferStall(D,N){const{config:Z,fragmentTracker:ve,media:je}=this;if(je===null)return;const pt=je.currentTime,Nt=ve.getPartialFragment(pt);Nt&&(this._trySkipBufferHole(Nt)||!this.media)||(D.len>Z.maxBufferHole||D.nextStart&&D.nextStart-pt<Z.maxBufferHole)&&N>Z.highBufferWatchdogPeriod*1e3&&(ze.warn("Trying to nudge playhead over buffer-hole"),this.stalled=null,this._tryNudgeBuffer())}_reportStall(D){const{hls:N,media:Z,stallReported:ve}=this;if(!ve&&Z){this.stallReported=!0;const je=new Error(`Playback stalling at @${Z.currentTime} due to low buffer (${JSON.stringify(D)})`);ze.warn(je.message),N.trigger(Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.BUFFER_STALLED_ERROR,fatal:!1,error:je,buffer:D.len})}}_trySkipBufferHole(D){const{config:N,hls:Z,media:ve}=this;if(ve===null)return 0;const je=ve.currentTime,pt=oi.bufferInfo(ve,je,0),Nt=je<pt.start?pt.start:pt.nextStart;if(Nt){const hn=pt.len<=N.maxBufferHole,gn=pt.len>0&&pt.len<1&&ve.readyState<3,Xn=Nt-je;if(Xn>0&&(hn||gn)){if(Xn>N.maxBufferHole){const{fragmentTracker:Zr}=this;let oo=!1;if(je===0){const vo=Zr.getAppendedFrag(0,Xo.MAIN);vo&&Nt<vo.end&&(oo=!0)}if(!oo){const vo=D||Zr.getAppendedFrag(je,Xo.MAIN);if(vo){let Fo=!1,Go=vo.end;for(;Go<Nt;){const pa=Zr.getPartialFragment(Go);if(pa)Go+=pa.duration;else{Fo=!0;break}}if(Fo)return 0}}}const pr=Math.max(Nt+xa,je+wa);if(ze.warn(`skipping hole, adjusting currentTime from ${je} to ${pr}`),this.moved=!0,this.stalled=null,ve.currentTime=pr,D&&!D.gap){const Zr=new Error(`fragment loaded with buffer holes, seeking from ${je} to ${pr}`);Z.trigger(Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:Zr,reason:Zr.message,frag:D})}return pr}}return 0}_tryNudgeBuffer(){const{config:D,hls:N,media:Z,nudgeRetry:ve}=this;if(Z===null)return;const je=Z.currentTime;if(this.nudgeRetry++,ve<D.nudgeMaxRetry){const pt=je+(ve+1)*D.nudgeOffset,Nt=new Error(`Nudging 'currentTime' from ${je} to ${pt}`);ze.warn(Nt.message),Z.currentTime=pt,N.trigger(Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.BUFFER_NUDGE_ON_STALL,error:Nt,fatal:!1})}else{const pt=new Error(`Playhead still not moving while enough data buffered @${je} after ${D.nudgeMaxRetry} nudges`);ze.error(pt.message),N.trigger(Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.BUFFER_STALLED_ERROR,error:pt,fatal:!0})}}}const ws=100;class Di extends Ha{constructor(D,N,Z){super(D,N,Z,"[stream-controller]",Xo.MAIN),this.audioCodecSwap=!1,this.gapController=null,this.level=-1,this._forceStartLoad=!1,this.altAudio=!1,this.audioOnly=!1,this.fragPlaying=null,this.onvplaying=null,this.onvseeked=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this._registerListeners()}_registerListeners(){const{hls:D}=this;D.on(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),D.on(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),D.on(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.on(Ie.MANIFEST_PARSED,this.onManifestParsed,this),D.on(Ie.LEVEL_LOADING,this.onLevelLoading,this),D.on(Ie.LEVEL_LOADED,this.onLevelLoaded,this),D.on(Ie.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),D.on(Ie.ERROR,this.onError,this),D.on(Ie.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),D.on(Ie.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),D.on(Ie.BUFFER_CREATED,this.onBufferCreated,this),D.on(Ie.BUFFER_FLUSHED,this.onBufferFlushed,this),D.on(Ie.LEVELS_UPDATED,this.onLevelsUpdated,this),D.on(Ie.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:D}=this;D.off(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),D.off(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),D.off(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.off(Ie.MANIFEST_PARSED,this.onManifestParsed,this),D.off(Ie.LEVEL_LOADED,this.onLevelLoaded,this),D.off(Ie.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),D.off(Ie.ERROR,this.onError,this),D.off(Ie.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),D.off(Ie.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),D.off(Ie.BUFFER_CREATED,this.onBufferCreated,this),D.off(Ie.BUFFER_FLUSHED,this.onBufferFlushed,this),D.off(Ie.LEVELS_UPDATED,this.onLevelsUpdated,this),D.off(Ie.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this._unregisterListeners(),this.onMediaDetaching()}startLoad(D){if(this.levels){const{lastCurrentTime:N,hls:Z}=this;if(this.stopLoad(),this.setInterval(ws),this.level=-1,!this.startFragRequested){let ve=Z.startLevel;ve===-1&&(Z.config.testBandwidth&&this.levels.length>1?(ve=0,this.bitrateTest=!0):ve=Z.nextAutoLevel),this.level=Z.nextLoadLevel=ve,this.loadedmetadata=!1}N>0&&D===-1&&(this.log(`Override startPosition with lastCurrentTime @${N.toFixed(3)}`),D=N),this.state=So.IDLE,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=D,this.tick()}else this._forceStartLoad=!0,this.state=So.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case So.WAITING_LEVEL:{var D;const{levels:Z,level:ve}=this,je=Z==null||(D=Z[ve])==null?void 0:D.details;if(je&&(!je.live||this.levelLastLoaded===this.level)){if(this.waitForCdnTuneIn(je))break;this.state=So.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=So.IDLE;break}break}case So.FRAG_LOADING_WAITING_RETRY:{var N;const Z=self.performance.now(),ve=this.retryDate;(!ve||Z>=ve||(N=this.media)!=null&&N.seeking)&&(this.resetStartWhenNotLoaded(this.level),this.state=So.IDLE)}break}this.state===So.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){super.onTickEnd(),this.checkBuffer(),this.checkFragmentChanged()}doTickIdle(){const{hls:D,levelLastLoaded:N,levels:Z,media:ve}=this,{config:je,nextLoadLevel:pt}=D;if(N===null||!ve&&(this.startFragRequested||!je.startFragPrefetch)||this.altAudio&&this.audioOnly||!(Z!=null&&Z[pt]))return;const Nt=Z[pt],hn=this.getMainFwdBufferInfo();if(hn===null)return;const gn=this.getLevelDetails();if(gn&&this._streamEnded(hn,gn)){const Go={};this.altAudio&&(Go.type="video"),this.hls.trigger(Ie.BUFFER_EOS,Go),this.state=So.ENDED;return}D.loadLevel!==pt&&D.manualLevel===-1&&this.log(`Adapting to level ${pt} from level ${this.level}`),this.level=D.nextLoadLevel=pt;const Xn=Nt.details;if(!Xn||this.state===So.WAITING_LEVEL||Xn.live&&this.levelLastLoaded!==pt){this.level=pt,this.state=So.WAITING_LEVEL;return}const pr=hn.len,Zr=this.getMaxBufferLength(Nt.maxBitrate);if(pr>=Zr)return;this.backtrackFragment&&this.backtrackFragment.start>hn.end&&(this.backtrackFragment=null);const oo=this.backtrackFragment?this.backtrackFragment.start:hn.end;let vo=this.getNextFragment(oo,Xn);if(this.couldBacktrack&&!this.fragPrevious&&vo&&vo.sn!=="initSegment"&&this.fragmentTracker.getState(vo)!==Na.OK){var Fo;const pa=((Fo=this.backtrackFragment)!=null?Fo:vo).sn-Xn.startSN,Se=Xn.fragments[pa-1];Se&&vo.cc===Se.cc&&(vo=Se,this.fragmentTracker.removeFragment(Se))}else this.backtrackFragment&&hn.len&&(this.backtrackFragment=null);if(vo&&this.isLoopLoading(vo,oo)){if(!vo.gap){const pa=this.audioOnly&&!this.altAudio?Zn.AUDIO:Zn.VIDEO,Se=(pa===Zn.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Se&&this.afterBufferFlushed(Se,pa,Xo.MAIN)}vo=this.getNextFragmentLoopLoading(vo,Xn,hn,Xo.MAIN,Zr)}vo&&(vo.initSegment&&!vo.initSegment.data&&!this.bitrateTest&&(vo=vo.initSegment),this.loadFragment(vo,Nt,oo))}loadFragment(D,N,Z){const ve=this.fragmentTracker.getState(D);this.fragCurrent=D,ve===Na.NOT_LOADED||ve===Na.PARTIAL?D.sn==="initSegment"?this._loadInitSegment(D,N):this.bitrateTest?(this.log(`Fragment ${D.sn} of level ${D.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(D,N)):(this.startFragRequested=!0,super.loadFragment(D,N,Z)):this.clearTrackerIfNeeded(D)}getBufferedFrag(D){return this.fragmentTracker.getBufferedFrag(D,Xo.MAIN)}followingBufferedFrag(D){return D?this.getBufferedFrag(D.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:D,media:N}=this;if(N!=null&&N.readyState){let Z;const ve=this.getAppendedFrag(N.currentTime);ve&&ve.start>1&&this.flushMainBuffer(0,ve.start-1);const je=this.getLevelDetails();if(je!=null&&je.live){const Nt=this.getMainFwdBufferInfo();if(!Nt||Nt.len<je.targetduration*2)return}if(!N.paused&&D){const Nt=this.hls.nextLoadLevel,hn=D[Nt],gn=this.fragLastKbps;gn&&this.fragCurrent?Z=this.fragCurrent.duration*hn.maxBitrate/(1e3*gn)+1:Z=0}else Z=0;const pt=this.getBufferedFrag(N.currentTime+Z);if(pt){const Nt=this.followingBufferedFrag(pt);if(Nt){this.abortCurrentFrag();const hn=Nt.maxStartPTS?Nt.maxStartPTS:Nt.start,gn=Nt.duration,Xn=Math.max(pt.end,hn+Math.min(Math.max(gn-this.config.maxFragLookUpTolerance,gn*.5),gn*.75));this.flushMainBuffer(Xn,Number.POSITIVE_INFINITY)}}}}abortCurrentFrag(){const D=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,D&&(D.abortRequests(),this.fragmentTracker.removeFragment(D)),this.state){case So.KEY_LOADING:case So.FRAG_LOADING:case So.FRAG_LOADING_WAITING_RETRY:case So.PARSING:case So.PARSED:this.state=So.IDLE;break}this.nextLoadPosition=this.getLoadPosition()}flushMainBuffer(D,N){super.flushMainBuffer(D,N,this.altAudio?"video":null)}onMediaAttached(D,N){super.onMediaAttached(D,N);const Z=N.media;this.onvplaying=this.onMediaPlaying.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),Z.addEventListener("playing",this.onvplaying),Z.addEventListener("seeked",this.onvseeked),this.gapController=new Ds(this.config,Z,this.fragmentTracker,this.hls)}onMediaDetaching(){const{media:D}=this;D&&this.onvplaying&&this.onvseeked&&(D.removeEventListener("playing",this.onvplaying),D.removeEventListener("seeked",this.onvseeked),this.onvplaying=this.onvseeked=null,this.videoBuffer=null),this.fragPlaying=null,this.gapController&&(this.gapController.destroy(),this.gapController=null),super.onMediaDetaching()}onMediaPlaying(){this.tick()}onMediaSeeked(){const D=this.media,N=D?D.currentTime:null;$e(N)&&this.log(`Media seeked to ${N.toFixed(3)}`);const Z=this.getMainFwdBufferInfo();if(Z===null||Z.len===0){this.warn(`Main forward buffer length on "seeked" event ${Z?Z.len:"empty"})`);return}this.tick()}onManifestLoading(){this.log("Trigger BUFFER_RESET"),this.hls.trigger(Ie.BUFFER_RESET,void 0),this.fragmentTracker.removeAllFragments(),this.couldBacktrack=!1,this.startPosition=this.lastCurrentTime=0,this.levels=this.fragPlaying=this.backtrackFragment=null,this.altAudio=this.audioOnly=!1}onManifestParsed(D,N){let Z=!1,ve=!1,je;N.levels.forEach(pt=>{je=pt.audioCodec,je&&(je.indexOf("mp4a.40.2")!==-1&&(Z=!0),je.indexOf("mp4a.40.5")!==-1&&(ve=!0))}),this.audioCodecSwitch=Z&&ve&&!es(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=N.levels,this.startFragRequested=!1}onLevelLoading(D,N){const{levels:Z}=this;if(!Z||this.state!==So.IDLE)return;const ve=Z[N.level];(!ve.details||ve.details.live&&this.levelLastLoaded!==N.level||this.waitForCdnTuneIn(ve.details))&&(this.state=So.WAITING_LEVEL)}onLevelLoaded(D,N){var Z;const{levels:ve}=this,je=N.level,pt=N.details,Nt=pt.totalduration;if(!ve){this.warn(`Levels were reset while loading level ${je}`);return}this.log(`Level ${je} loaded [${pt.startSN},${pt.endSN}]${pt.lastPartSn?`[part-${pt.lastPartSn}-${pt.lastPartIndex}]`:""}, cc [${pt.startCC}, ${pt.endCC}] duration:${Nt}`);const hn=ve[je],gn=this.fragCurrent;gn&&(this.state===So.FRAG_LOADING||this.state===So.FRAG_LOADING_WAITING_RETRY)&&(gn.level!==N.level||gn.urlId!==hn.urlId)&&gn.loader&&this.abortCurrentFrag();let Xn=0;if(pt.live||(Z=hn.details)!=null&&Z.live){if(this.checkLiveUpdate(pt),pt.deltaUpdateFailed)return;Xn=this.alignPlaylists(pt,hn.details)}if(hn.details=pt,this.levelLastLoaded=je,this.hls.trigger(Ie.LEVEL_UPDATED,{details:pt,level:je}),this.state===So.WAITING_LEVEL){if(this.waitForCdnTuneIn(pt))return;this.state=So.IDLE}this.startFragRequested?pt.live&&this.synchronizeToLiveEdge(pt):this.setStartPosition(pt,Xn),this.tick()}_handleFragmentLoadProgress(D){var N;const{frag:Z,part:ve,payload:je}=D,{levels:pt}=this;if(!pt){this.warn(`Levels were reset while fragment load was in progress. Fragment ${Z.sn} of level ${Z.level} will not be buffered`);return}const Nt=pt[Z.level],hn=Nt.details;if(!hn){this.warn(`Dropping fragment ${Z.sn} of level ${Z.level} after level details were reset`),this.fragmentTracker.removeFragment(Z);return}const gn=Nt.videoCodec,Xn=hn.PTSKnown||!hn.live,pr=(N=Z.initSegment)==null?void 0:N.data,Zr=this._getAudioCodec(Nt),oo=this.transmuxer=this.transmuxer||new va(this.hls,Xo.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),vo=ve?ve.index:-1,Fo=vo!==-1,Go=new Nl(Z.level,Z.sn,Z.stats.chunkCount,je.byteLength,vo,Fo),pa=this.initPTS[Z.cc];oo.push(je,pr,Zr,gn,Z,ve,hn.totalduration,Xn,Go,pa)}onAudioTrackSwitching(D,N){const Z=this.altAudio;if(!!!N.url){if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;const pt=this.fragCurrent;pt&&(this.log("Switching to main audio track, cancel main fragment load"),pt.abortRequests(),this.fragmentTracker.removeFragment(pt)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();const je=this.hls;Z&&(je.trigger(Ie.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null}),this.fragmentTracker.removeAllFragments()),je.trigger(Ie.AUDIO_TRACK_SWITCHED,N)}}onAudioTrackSwitched(D,N){const Z=N.id,ve=!!this.hls.audioTracks[Z].url;if(ve){const je=this.videoBuffer;je&&this.mediaBuffer!==je&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=je)}this.altAudio=ve,this.tick()}onBufferCreated(D,N){const Z=N.tracks;let ve,je,pt=!1;for(const Nt in Z){const hn=Z[Nt];if(hn.id==="main"){if(je=Nt,ve=hn,Nt==="video"){const gn=Z[Nt];gn&&(this.videoBuffer=gn.buffer)}}else pt=!0}pt&&ve?(this.log(`Alternate track found, use ${je}.buffered to schedule main fragment loading`),this.mediaBuffer=ve.buffer):this.mediaBuffer=this.media}onFragBuffered(D,N){const{frag:Z,part:ve}=N;if(Z&&Z.type!==Xo.MAIN)return;if(this.fragContextChanged(Z)){this.warn(`Fragment ${Z.sn}${ve?" p: "+ve.index:""} of level ${Z.level} finished buffering, but was aborted. state: ${this.state}`),this.state===So.PARSED&&(this.state=So.IDLE);return}const je=ve?ve.stats:Z.stats;this.fragLastKbps=Math.round(8*je.total/(je.buffering.end-je.loading.first)),Z.sn!=="initSegment"&&(this.fragPrevious=Z),this.fragBufferedComplete(Z,ve)}onError(D,N){var Z;if(N.fatal){this.state=So.ERROR;return}switch(N.details){case mt.FRAG_GAP:case mt.FRAG_PARSING_ERROR:case mt.FRAG_DECRYPT_ERROR:case mt.FRAG_LOAD_ERROR:case mt.FRAG_LOAD_TIMEOUT:case mt.KEY_LOAD_ERROR:case mt.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(Xo.MAIN,N);break;case mt.LEVEL_LOAD_ERROR:case mt.LEVEL_LOAD_TIMEOUT:case mt.LEVEL_PARSING_ERROR:!N.levelRetry&&this.state===So.WAITING_LEVEL&&((Z=N.context)==null?void 0:Z.type)===jo.LEVEL&&(this.state=So.IDLE);break;case mt.BUFFER_FULL_ERROR:if(!N.parent||N.parent!=="main")return;this.reduceLengthAndFlushBuffer(N)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case mt.INTERNAL_EXCEPTION:this.recoverWorkerError(N);break}}checkBuffer(){const{media:D,gapController:N}=this;if(!(!D||!N||!D.readyState)){if(this.loadedmetadata||!oi.getBuffered(D).length){const Z=this.state!==So.IDLE?this.fragCurrent:null;N.poll(this.lastCurrentTime,Z)}this.lastCurrentTime=D.currentTime}}onFragLoadEmergencyAborted(){this.state=So.IDLE,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tickImmediate()}onBufferFlushed(D,{type:N}){if(N!==Zn.AUDIO||this.audioOnly&&!this.altAudio){const Z=(N===Zn.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;this.afterBufferFlushed(Z,N,Xo.MAIN)}}onLevelsUpdated(D,N){this.levels=N.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:D}=this;if(!D)return;const N=D.currentTime;let Z=this.startPosition;if(Z>=0&&N<Z){if(D.seeking){this.log(`could not seek to ${Z}, already seeking at ${N}`);return}const ve=oi.getBuffered(D),pt=(ve.length?ve.start(0):0)-Z;pt>0&&(pt<this.config.maxBufferHole||pt<this.config.maxFragLookUpTolerance)&&(this.log(`adjusting start position by ${pt} to match buffer start`),Z+=pt,this.startPosition=Z),this.log(`seek to target start position ${Z} from current time ${N}`),D.currentTime=Z}}_getAudioCodec(D){let N=this.config.defaultAudioCodec||D.audioCodec;return this.audioCodecSwap&&N&&(this.log("Swapping audio codec"),N.indexOf("mp4a.40.5")!==-1?N="mp4a.40.2":N="mp4a.40.5"),N}_loadBitrateTestFrag(D,N){D.bitrateTest=!0,this._doFragLoad(D,N).then(Z=>{const{hls:ve}=this;if(!Z||this.fragContextChanged(D))return;N.fragmentError=0,this.state=So.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const je=D.stats;je.parsing.start=je.parsing.end=je.buffering.start=je.buffering.end=self.performance.now(),ve.trigger(Ie.FRAG_LOADED,Z),D.bitrateTest=!1})}_handleTransmuxComplete(D){var N;const Z="main",{hls:ve}=this,{remuxResult:je,chunkMeta:pt}=D,Nt=this.getCurrentContext(pt);if(!Nt){this.resetWhenMissingContext(pt);return}const{frag:hn,part:gn,level:Xn}=Nt,{video:pr,text:Zr,id3:oo,initSegment:vo}=je,{details:Fo}=Xn,Go=this.altAudio?void 0:je.audio;if(this.fragContextChanged(hn)){this.fragmentTracker.removeFragment(hn);return}if(this.state=So.PARSING,vo){if(vo!=null&&vo.tracks){const de=hn.initSegment||hn;this._bufferInitSegment(Xn,vo.tracks,de,pt),ve.trigger(Ie.FRAG_PARSING_INIT_SEGMENT,{frag:de,id:Z,tracks:vo.tracks})}const pa=vo.initPTS,Se=vo.timescale;$e(pa)&&(this.initPTS[hn.cc]={baseTime:pa,timescale:Se},ve.trigger(Ie.INIT_PTS_FOUND,{frag:hn,id:Z,initPTS:pa,timescale:Se}))}if(pr&&Fo&&hn.sn!=="initSegment"){const pa=Fo.fragments[hn.sn-1-Fo.startSN],Se=hn.sn===Fo.startSN,de=!pa||hn.cc>pa.cc;if(je.independent!==!1){const{startPTS:We,endPTS:_t,startDTS:nn,endDTS:vn}=pr;if(gn)gn.elementaryStreams[pr.type]={startPTS:We,endPTS:_t,startDTS:nn,endDTS:vn};else if(pr.firstKeyFrame&&pr.independent&&pt.id===1&&!de&&(this.couldBacktrack=!0),pr.dropped&&pr.independent){const cr=this.getMainFwdBufferInfo(),lo=(cr?cr.end:this.getLoadPosition())+this.config.maxBufferHole,Po=pr.firstKeyFramePTS?pr.firstKeyFramePTS:We;if(!Se&&lo<Po-this.config.maxBufferHole&&!de){this.backtrack(hn);return}else de&&(hn.gap=!0);hn.setElementaryStreamInfo(pr.type,hn.start,_t,hn.start,vn,!0)}hn.setElementaryStreamInfo(pr.type,We,_t,nn,vn),this.backtrackFragment&&(this.backtrackFragment=hn),this.bufferFragmentData(pr,hn,gn,pt,Se||de)}else if(Se||de)hn.gap=!0;else{this.backtrack(hn);return}}if(Go){const{startPTS:pa,endPTS:Se,startDTS:de,endDTS:We}=Go;gn&&(gn.elementaryStreams[Zn.AUDIO]={startPTS:pa,endPTS:Se,startDTS:de,endDTS:We}),hn.setElementaryStreamInfo(Zn.AUDIO,pa,Se,de,We),this.bufferFragmentData(Go,hn,gn,pt)}if(Fo&&oo!=null&&(N=oo.samples)!=null&&N.length){const pa={id:Z,frag:hn,details:Fo,samples:oo.samples};ve.trigger(Ie.FRAG_PARSING_METADATA,pa)}if(Fo&&Zr){const pa={id:Z,frag:hn,details:Fo,samples:Zr.samples};ve.trigger(Ie.FRAG_PARSING_USERDATA,pa)}}_bufferInitSegment(D,N,Z,ve){if(this.state!==So.PARSING)return;this.audioOnly=!!N.audio&&!N.video,this.altAudio&&!this.audioOnly&&delete N.audio;const{audio:je,video:pt,audiovideo:Nt}=N;if(je){let hn=D.audioCodec;const gn=navigator.userAgent.toLowerCase();this.audioCodecSwitch&&(hn&&(hn.indexOf("mp4a.40.5")!==-1?hn="mp4a.40.2":hn="mp4a.40.5"),je.metadata.channelCount!==1&&gn.indexOf("firefox")===-1&&(hn="mp4a.40.5")),gn.indexOf("android")!==-1&&je.container!=="audio/mpeg"&&(hn="mp4a.40.2",this.log(`Android: force audio codec to ${hn}`)),D.audioCodec&&D.audioCodec!==hn&&this.log(`Swapping manifest audio codec "${D.audioCodec}" for "${hn}"`),je.levelCodec=hn,je.id="main",this.log(`Init audio buffer, container:${je.container}, codecs[selected/level/parsed]=[${hn||""}/${D.audioCodec||""}/${je.codec}]`)}pt&&(pt.levelCodec=D.videoCodec,pt.id="main",this.log(`Init video buffer, container:${pt.container}, codecs[level/parsed]=[${D.videoCodec||""}/${pt.codec}]`)),Nt&&this.log(`Init audiovideo buffer, container:${Nt.container}, codecs[level/parsed]=[${D.attrs.CODECS||""}/${Nt.codec}]`),this.hls.trigger(Ie.BUFFER_CODECS,N),Object.keys(N).forEach(hn=>{const Xn=N[hn].initSegment;Xn!=null&&Xn.byteLength&&this.hls.trigger(Ie.BUFFER_APPENDING,{type:hn,data:Xn,frag:Z,part:null,chunkMeta:ve,parent:Z.type})}),this.tick()}getMainFwdBufferInfo(){return this.getFwdBufferInfo(this.mediaBuffer?this.mediaBuffer:this.media,Xo.MAIN)}backtrack(D){this.couldBacktrack=!0,this.backtrackFragment=D,this.resetTransmuxer(),this.flushBufferGap(D),this.fragmentTracker.removeFragment(D),this.fragPrevious=null,this.nextLoadPosition=D.start,this.state=So.IDLE}checkFragmentChanged(){const D=this.media;let N=null;if(D&&D.readyState>1&&D.seeking===!1){const Z=D.currentTime;if(oi.isBuffered(D,Z)?N=this.getAppendedFrag(Z):oi.isBuffered(D,Z+.1)&&(N=this.getAppendedFrag(Z+.1)),N){this.backtrackFragment=null;const ve=this.fragPlaying,je=N.level;(!ve||N.sn!==ve.sn||ve.level!==je||N.urlId!==ve.urlId)&&(this.fragPlaying=N,this.hls.trigger(Ie.FRAG_CHANGED,{frag:N}),(!ve||ve.level!==je)&&this.hls.trigger(Ie.LEVEL_SWITCHED,{level:je}))}}}get nextLevel(){const D=this.nextBufferedFrag;return D?D.level:-1}get currentFrag(){const D=this.media;return D?this.fragPlaying||this.getAppendedFrag(D.currentTime):null}get currentProgramDateTime(){const D=this.media;if(D){const N=D.currentTime,Z=this.currentFrag;if(Z&&$e(N)&&$e(Z.programDateTime)){const ve=Z.programDateTime+(N-Z.start)*1e3;return new Date(ve)}}return null}get currentLevel(){const D=this.currentFrag;return D?D.level:-1}get nextBufferedFrag(){const D=this.currentFrag;return D?this.followingBufferedFrag(D):null}get forceStartLoad(){return this._forceStartLoad}}class ai{constructor(D,N=0,Z=0){this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=D,this.alpha_=D?Math.exp(Math.log(.5)/D):0,this.estimate_=N,this.totalWeight_=Z}sample(D,N){const Z=Math.pow(this.alpha_,D);this.estimate_=N*(1-Z)+Z*this.estimate_,this.totalWeight_+=D}getTotalWeight(){return this.totalWeight_}getEstimate(){if(this.alpha_){const D=1-Math.pow(this.alpha_,this.totalWeight_);if(D)return this.estimate_/D}return this.estimate_}}class yl{constructor(D,N,Z,ve=100){this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=Z,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new ai(D),this.fast_=new ai(N),this.defaultTTFB_=ve,this.ttfb_=new ai(D)}update(D,N){const{slow_:Z,fast_:ve,ttfb_:je}=this;Z.halfLife!==D&&(this.slow_=new ai(D,Z.getEstimate(),Z.getTotalWeight())),ve.halfLife!==N&&(this.fast_=new ai(N,ve.getEstimate(),ve.getTotalWeight())),je.halfLife!==D&&(this.ttfb_=new ai(D,je.getEstimate(),je.getTotalWeight()))}sample(D,N){D=Math.max(D,this.minDelayMs_);const Z=8*N,ve=D/1e3,je=Z/ve;this.fast_.sample(ve,je),this.slow_.sample(ve,je)}sampleTTFB(D){const N=D/1e3,Z=Math.sqrt(2)*Math.exp(-Math.pow(N,2)/2);this.ttfb_.sample(Z,Math.max(D,5))}canEstimate(){return this.fast_.getTotalWeight()>=this.minWeight_}getEstimate(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_}getEstimateTTFB(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_}destroy(){}}class ml{constructor(D){this.hls=void 0,this.lastLevelLoadSec=0,this.lastLoadedFragLevel=0,this._nextAutoLevel=-1,this.timer=-1,this.onCheck=this._abandonRulesCheck.bind(this),this.fragCurrent=null,this.partCurrent=null,this.bitrateTestDelay=0,this.bwEstimator=void 0,this.hls=D;const N=D.config;this.bwEstimator=new yl(N.abrEwmaSlowVoD,N.abrEwmaFastVoD,N.abrEwmaDefaultEstimate),this.registerListeners()}registerListeners(){const{hls:D}=this;D.on(Ie.FRAG_LOADING,this.onFragLoading,this),D.on(Ie.FRAG_LOADED,this.onFragLoaded,this),D.on(Ie.FRAG_BUFFERED,this.onFragBuffered,this),D.on(Ie.LEVEL_SWITCHING,this.onLevelSwitching,this),D.on(Ie.LEVEL_LOADED,this.onLevelLoaded,this)}unregisterListeners(){const{hls:D}=this;D.off(Ie.FRAG_LOADING,this.onFragLoading,this),D.off(Ie.FRAG_LOADED,this.onFragLoaded,this),D.off(Ie.FRAG_BUFFERED,this.onFragBuffered,this),D.off(Ie.LEVEL_SWITCHING,this.onLevelSwitching,this),D.off(Ie.LEVEL_LOADED,this.onLevelLoaded,this)}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this.onCheck=null,this.fragCurrent=this.partCurrent=null}onFragLoading(D,N){var Z;const ve=N.frag;this.ignoreFragment(ve)||(this.fragCurrent=ve,this.partCurrent=(Z=N.part)!=null?Z:null,this.clearTimer(),this.timer=self.setInterval(this.onCheck,100))}onLevelSwitching(D,N){this.clearTimer()}getTimeToLoadFrag(D,N,Z,ve){const je=D+Z/N,pt=ve?this.lastLevelLoadSec:0;return je+pt}onLevelLoaded(D,N){const Z=this.hls.config,{total:ve,bwEstimate:je}=N.stats;$e(ve)&&$e(je)&&(this.lastLevelLoadSec=8*ve/je),N.details.live?this.bwEstimator.update(Z.abrEwmaSlowLive,Z.abrEwmaFastLive):this.bwEstimator.update(Z.abrEwmaSlowVoD,Z.abrEwmaFastVoD)}_abandonRulesCheck(){const{fragCurrent:D,partCurrent:N,hls:Z}=this,{autoLevelEnabled:ve,media:je}=Z;if(!D||!je)return;const pt=performance.now(),Nt=N?N.stats:D.stats,hn=N?N.duration:D.duration,gn=pt-Nt.loading.start;if(Nt.aborted||Nt.loaded&&Nt.loaded===Nt.total||D.level===0){this.clearTimer(),this._nextAutoLevel=-1;return}if(!ve||je.paused||!je.playbackRate||!je.readyState)return;const Xn=Z.mainForwardBufferInfo;if(Xn===null)return;const pr=this.bwEstimator.getEstimateTTFB(),Zr=Math.abs(je.playbackRate);if(gn<=Math.max(pr,1e3*(hn/(Zr*2))))return;const oo=Xn.len/Zr;if(oo>=2*hn/Zr)return;const vo=Nt.loading.first?Nt.loading.first-Nt.loading.start:-1,Fo=Nt.loaded&&vo>-1,Go=this.bwEstimator.getEstimate(),{levels:pa,minAutoLevel:Se}=Z,de=pa[D.level],We=Nt.total||Math.max(Nt.loaded,Math.round(hn*de.maxBitrate/8));let _t=gn-vo;_t<1&&Fo&&(_t=Math.min(gn,Nt.loaded*8/Go));const nn=Fo?Nt.loaded*1e3/_t:0,vn=nn?(We-Nt.loaded)/nn:We*8/Go+pr/1e3;if(vn<=oo)return;const cr=nn?nn*8:Go;let lo=Number.POSITIVE_INFINITY,Po;for(Po=D.level-1;Po>Se;Po--){const oa=pa[Po].maxBitrate;if(lo=this.getTimeToLoadFrag(pr/1e3,cr,hn*oa,!pa[Po].details),lo<oo)break}lo>=vn||lo>hn*10||(Z.nextLoadLevel=Po,Fo?this.bwEstimator.sample(gn-Math.min(pr,vo),Nt.loaded):this.bwEstimator.sampleTTFB(gn),this.clearTimer(),ze.warn(`[abr] Fragment ${D.sn}${N?" part "+N.index:""} of level ${D.level} is loading too slowly;
      Time to underbuffer: ${oo.toFixed(3)} s
      Estimated load time for current fragment: ${vn.toFixed(3)} s
      Estimated load time for down switch fragment: ${lo.toFixed(3)} s
      TTFB estimate: ${vo}
      Current BW estimate: ${$e(Go)?(Go/1024).toFixed(3):"Unknown"} Kb/s
      New BW estimate: ${(this.bwEstimator.getEstimate()/1024).toFixed(3)} Kb/s
      Aborting and switching to level ${Po}`),D.loader&&(this.fragCurrent=this.partCurrent=null,D.abortRequests()),Z.trigger(Ie.FRAG_LOAD_EMERGENCY_ABORTED,{frag:D,part:N,stats:Nt}))}onFragLoaded(D,{frag:N,part:Z}){const ve=Z?Z.stats:N.stats;if(N.type===Xo.MAIN&&this.bwEstimator.sampleTTFB(ve.loading.first-ve.loading.start),!this.ignoreFragment(N)){if(this.clearTimer(),this.lastLoadedFragLevel=N.level,this._nextAutoLevel=-1,this.hls.config.abrMaxWithRealBitrate){const je=Z?Z.duration:N.duration,pt=this.hls.levels[N.level],Nt=(pt.loaded?pt.loaded.bytes:0)+ve.loaded,hn=(pt.loaded?pt.loaded.duration:0)+je;pt.loaded={bytes:Nt,duration:hn},pt.realBitrate=Math.round(8*Nt/hn)}if(N.bitrateTest){const je={stats:ve,frag:N,part:Z,id:N.type};this.onFragBuffered(Ie.FRAG_BUFFERED,je),N.bitrateTest=!1}}}onFragBuffered(D,N){const{frag:Z,part:ve}=N,je=ve!=null&&ve.stats.loaded?ve.stats:Z.stats;if(je.aborted||this.ignoreFragment(Z))return;const pt=je.parsing.end-je.loading.start-Math.min(je.loading.first-je.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(pt,je.loaded),je.bwEstimate=this.bwEstimator.getEstimate(),Z.bitrateTest?this.bitrateTestDelay=pt/1e3:this.bitrateTestDelay=0}ignoreFragment(D){return D.type!==Xo.MAIN||D.sn==="initSegment"}clearTimer(){self.clearInterval(this.timer)}get nextAutoLevel(){const D=this._nextAutoLevel,N=this.bwEstimator;if(D!==-1&&!N.canEstimate())return D;let Z=this.getNextABRAutoLevel();if(D!==-1){const ve=this.hls.levels;if(ve.length>Math.max(D,Z)&&ve[D].loadError<=ve[Z].loadError)return D}return D!==-1&&(Z=Math.min(D,Z)),Z}getNextABRAutoLevel(){const{fragCurrent:D,partCurrent:N,hls:Z}=this,{maxAutoLevel:ve,config:je,minAutoLevel:pt,media:Nt}=Z,hn=N?N.duration:D?D.duration:0,gn=Nt&&Nt.playbackRate!==0?Math.abs(Nt.playbackRate):1,Xn=this.bwEstimator?this.bwEstimator.getEstimate():je.abrEwmaDefaultEstimate,pr=Z.mainForwardBufferInfo,Zr=(pr?pr.len:0)/gn;let oo=this.findBestLevel(Xn,pt,ve,Zr,je.abrBandWidthFactor,je.abrBandWidthUpFactor);if(oo>=0)return oo;ze.trace(`[abr] ${Zr?"rebuffering expected":"buffer is empty"}, finding optimal quality level`);let vo=hn?Math.min(hn,je.maxStarvationDelay):je.maxStarvationDelay,Fo=je.abrBandWidthFactor,Go=je.abrBandWidthUpFactor;if(!Zr){const pa=this.bitrateTestDelay;pa&&(vo=(hn?Math.min(hn,je.maxLoadingDelay):je.maxLoadingDelay)-pa,ze.trace(`[abr] bitrate test took ${Math.round(1e3*pa)}ms, set first fragment max fetchDuration to ${Math.round(1e3*vo)} ms`),Fo=Go=1)}return oo=this.findBestLevel(Xn,pt,ve,Zr+vo,Fo,Go),Math.max(oo,0)}findBestLevel(D,N,Z,ve,je,pt){var Nt;const{fragCurrent:hn,partCurrent:gn,lastLoadedFragLevel:Xn}=this,{levels:pr}=this.hls,Zr=pr[Xn],oo=!!(Zr!=null&&(Nt=Zr.details)!=null&&Nt.live),vo=Zr==null?void 0:Zr.codecSet,Fo=gn?gn.duration:hn?hn.duration:0,Go=this.bwEstimator.getEstimateTTFB()/1e3;let pa=N,Se=-1;for(let de=Z;de>=N;de--){const We=pr[de];if(!We||vo&&We.codecSet!==vo){We&&(pa=Math.min(de,pa),Se=Math.max(de,Se));continue}Se!==-1&&ze.trace(`[abr] Skipped level(s) ${pa}-${Se} with CODECS:"${pr[Se].attrs.CODECS}"; not compatible with "${Zr.attrs.CODECS}"`);const _t=We.details,nn=(gn?_t==null?void 0:_t.partTarget:_t==null?void 0:_t.averagetargetduration)||Fo;let vn;de<=Xn?vn=je*D:vn=pt*D;const cr=pr[de].maxBitrate,lo=this.getTimeToLoadFrag(Go,vn,cr*nn,_t===void 0);if(ze.trace(`[abr] level:${de} adjustedbw-bitrate:${Math.round(vn-cr)} avgDuration:${nn.toFixed(1)} maxFetchDuration:${ve.toFixed(1)} fetchDuration:${lo.toFixed(1)}`),vn>cr&&(lo===0||!$e(lo)||oo&&!this.bitrateTestDelay||lo<ve))return de}return-1}set nextAutoLevel(D){this._nextAutoLevel=D}}class Ii{constructor(){this.chunks=[],this.dataLength=0}push(D){this.chunks.push(D),this.dataLength+=D.length}flush(){const{chunks:D,dataLength:N}=this;let Z;if(D.length)D.length===1?Z=D[0]:Z=Xi(D,N);else return new Uint8Array(0);return this.reset(),Z}reset(){this.chunks.length=0,this.dataLength=0}}function Xi(Et,D){const N=new Uint8Array(D);let Z=0;for(let ve=0;ve<Et.length;ve++){const je=Et[ve];N.set(je,Z),Z+=je.length}return N}const zi=100;class Sl extends Ha{constructor(D,N,Z){super(D,N,Z,"[audio-stream-controller]",Xo.AUDIO),this.videoBuffer=null,this.videoTrackCC=-1,this.waitingVideoCC=-1,this.bufferedTrack=null,this.switchingTrack=null,this.trackId=-1,this.waitingData=null,this.mainDetails=null,this.bufferFlushed=!1,this.cachedTrackLoadedData=null,this._registerListeners()}onHandlerDestroying(){this._unregisterListeners(),this.mainDetails=null,this.bufferedTrack=null,this.switchingTrack=null}_registerListeners(){const{hls:D}=this;D.on(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),D.on(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),D.on(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.on(Ie.LEVEL_LOADED,this.onLevelLoaded,this),D.on(Ie.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),D.on(Ie.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),D.on(Ie.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),D.on(Ie.ERROR,this.onError,this),D.on(Ie.BUFFER_RESET,this.onBufferReset,this),D.on(Ie.BUFFER_CREATED,this.onBufferCreated,this),D.on(Ie.BUFFER_FLUSHED,this.onBufferFlushed,this),D.on(Ie.INIT_PTS_FOUND,this.onInitPtsFound,this),D.on(Ie.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:D}=this;D.off(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),D.off(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),D.off(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.off(Ie.LEVEL_LOADED,this.onLevelLoaded,this),D.off(Ie.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),D.off(Ie.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),D.off(Ie.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),D.off(Ie.ERROR,this.onError,this),D.off(Ie.BUFFER_RESET,this.onBufferReset,this),D.off(Ie.BUFFER_CREATED,this.onBufferCreated,this),D.off(Ie.BUFFER_FLUSHED,this.onBufferFlushed,this),D.off(Ie.INIT_PTS_FOUND,this.onInitPtsFound,this),D.off(Ie.FRAG_BUFFERED,this.onFragBuffered,this)}onInitPtsFound(D,{frag:N,id:Z,initPTS:ve,timescale:je}){if(Z==="main"){const pt=N.cc;this.initPTS[N.cc]={baseTime:ve,timescale:je},this.log(`InitPTS for cc: ${pt} found from main: ${ve}`),this.videoTrackCC=pt,this.state===So.WAITING_INIT_PTS&&this.tick()}}startLoad(D){if(!this.levels){this.startPosition=D,this.state=So.STOPPED;return}const N=this.lastCurrentTime;this.stopLoad(),this.setInterval(zi),N>0&&D===-1?(this.log(`Override startPosition with lastCurrentTime @${N.toFixed(3)}`),D=N,this.state=So.IDLE):(this.loadedmetadata=!1,this.state=So.WAITING_TRACK),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=D,this.tick()}doTick(){switch(this.state){case So.IDLE:this.doTickIdle();break;case So.WAITING_TRACK:{var D;const{levels:Z,trackId:ve}=this,je=Z==null||(D=Z[ve])==null?void 0:D.details;if(je){if(this.waitForCdnTuneIn(je))break;this.state=So.WAITING_INIT_PTS}break}case So.FRAG_LOADING_WAITING_RETRY:{var N;const Z=performance.now(),ve=this.retryDate;(!ve||Z>=ve||(N=this.media)!=null&&N.seeking)&&(this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded(this.trackId),this.state=So.IDLE);break}case So.WAITING_INIT_PTS:{const Z=this.waitingData;if(Z){const{frag:ve,part:je,cache:pt,complete:Nt}=Z;if(this.initPTS[ve.cc]!==void 0){this.waitingData=null,this.waitingVideoCC=-1,this.state=So.FRAG_LOADING;const hn=pt.flush(),gn={frag:ve,part:je,payload:hn,networkDetails:null};this._handleFragmentLoadProgress(gn),Nt&&super._handleFragmentLoadComplete(gn)}else if(this.videoTrackCC!==this.waitingVideoCC)this.log(`Waiting fragment cc (${ve.cc}) cancelled because video is at cc ${this.videoTrackCC}`),this.clearWaitingFragment();else{const hn=this.getLoadPosition(),gn=oi.bufferInfo(this.mediaBuffer,hn,this.config.maxBufferHole);Uo(gn.end,this.config.maxFragLookUpTolerance,ve)<0&&(this.log(`Waiting fragment cc (${ve.cc}) @ ${ve.start} cancelled because another fragment at ${gn.end} is needed`),this.clearWaitingFragment())}}else this.state=So.IDLE}}this.onTickEnd()}clearWaitingFragment(){const D=this.waitingData;D&&(this.fragmentTracker.removeFragment(D.frag),this.waitingData=null,this.waitingVideoCC=-1,this.state=So.IDLE)}resetLoadingState(){this.clearWaitingFragment(),super.resetLoadingState()}onTickEnd(){const{media:D}=this;D!=null&&D.readyState&&(this.lastCurrentTime=D.currentTime)}doTickIdle(){const{hls:D,levels:N,media:Z,trackId:ve}=this,je=D.config;if(!(N!=null&&N[ve])||!Z&&(this.startFragRequested||!je.startFragPrefetch))return;const pt=N[ve],Nt=pt.details;if(!Nt||Nt.live&&this.levelLastLoaded!==ve||this.waitForCdnTuneIn(Nt)){this.state=So.WAITING_TRACK;return}const hn=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&hn&&(this.bufferFlushed=!1,this.afterBufferFlushed(hn,Zn.AUDIO,Xo.AUDIO));const gn=this.getFwdBufferInfo(hn,Xo.AUDIO);if(gn===null)return;const{bufferedTrack:Xn,switchingTrack:pr}=this;if(!pr&&this._streamEnded(gn,Nt)){D.trigger(Ie.BUFFER_EOS,{type:"audio"}),this.state=So.ENDED;return}const Zr=this.getFwdBufferInfo(this.videoBuffer?this.videoBuffer:this.media,Xo.MAIN),oo=gn.len,vo=this.getMaxBufferLength(Zr==null?void 0:Zr.len);if(oo>=vo&&!pr)return;const Go=Nt.fragments[0].start;let pa=gn.end;if(pr&&Z){const _t=this.getLoadPosition();Xn&&pr.attrs!==Xn.attrs&&(pa=_t),Nt.PTSKnown&&_t<Go&&(gn.end>Go||gn.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),Z.currentTime=Go+.05)}let Se=this.getNextFragment(pa,Nt),de=!1;if(Se&&this.isLoopLoading(Se,pa)&&(de=!!Se.gap,Se=this.getNextFragmentLoopLoading(Se,Nt,gn,Xo.MAIN,vo)),!Se){this.bufferFlushed=!0;return}const We=Zr&&Se.start>Zr.end+Nt.targetduration;if(We||!(Zr!=null&&Zr.len)&&gn.len){const _t=this.getAppendedFrag(Se.start,Xo.MAIN);if(_t===null||(de||(de=!!_t.gap||!!We&&Zr.len===0),We&&!de||de&&gn.nextStart&&gn.nextStart<_t.end))return}this.loadFragment(Se,pt,pa)}getMaxBufferLength(D){const N=super.getMaxBufferLength();return D?Math.min(Math.max(N,D),this.config.maxMaxBufferLength):N}onMediaDetaching(){this.videoBuffer=null,super.onMediaDetaching()}onAudioTracksUpdated(D,{audioTracks:N}){this.resetTransmuxer(),this.levels=N.map(Z=>new Ni(Z))}onAudioTrackSwitching(D,N){const Z=!!N.url;this.trackId=N.id;const{fragCurrent:ve}=this;ve&&(ve.abortRequests(),this.removeUnbufferedFrags(ve.start)),this.resetLoadingState(),Z?this.setInterval(zi):this.resetTransmuxer(),Z?(this.switchingTrack=N,this.state=So.IDLE):(this.switchingTrack=null,this.bufferedTrack=N,this.state=So.STOPPED),this.tick()}onManifestLoading(){this.fragmentTracker.removeAllFragments(),this.startPosition=this.lastCurrentTime=0,this.bufferFlushed=!1,this.levels=this.mainDetails=this.waitingData=this.bufferedTrack=this.cachedTrackLoadedData=this.switchingTrack=null,this.startFragRequested=!1,this.trackId=this.videoTrackCC=this.waitingVideoCC=-1}onLevelLoaded(D,N){this.mainDetails=N.details,this.cachedTrackLoadedData!==null&&(this.hls.trigger(Ie.AUDIO_TRACK_LOADED,this.cachedTrackLoadedData),this.cachedTrackLoadedData=null)}onAudioTrackLoaded(D,N){var Z;if(this.mainDetails==null){this.cachedTrackLoadedData=N;return}const{levels:ve}=this,{details:je,id:pt}=N;if(!ve){this.warn(`Audio tracks were reset while loading level ${pt}`);return}this.log(`Track ${pt} loaded [${je.startSN},${je.endSN}]${je.lastPartSn?`[part-${je.lastPartSn}-${je.lastPartIndex}]`:""},duration:${je.totalduration}`);const Nt=ve[pt];let hn=0;if(je.live||(Z=Nt.details)!=null&&Z.live){this.checkLiveUpdate(je);const gn=this.mainDetails;if(je.deltaUpdateFailed||!gn)return;!Nt.details&&je.hasProgramDateTime&&gn.hasProgramDateTime?(ln(je,gn),hn=je.fragments[0].start):hn=this.alignPlaylists(je,Nt.details)}Nt.details=je,this.levelLastLoaded=pt,!this.startFragRequested&&(this.mainDetails||!je.live)&&this.setStartPosition(Nt.details,hn),this.state===So.WAITING_TRACK&&!this.waitForCdnTuneIn(je)&&(this.state=So.IDLE),this.tick()}_handleFragmentLoadProgress(D){var N;const{frag:Z,part:ve,payload:je}=D,{config:pt,trackId:Nt,levels:hn}=this;if(!hn){this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${Z.sn} of level ${Z.level} will not be buffered`);return}const gn=hn[Nt];if(!gn){this.warn("Audio track is undefined on fragment load progress");return}const Xn=gn.details;if(!Xn){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(Z.start);return}const pr=pt.defaultAudioCodec||gn.audioCodec||"mp4a.40.2";let Zr=this.transmuxer;Zr||(Zr=this.transmuxer=new va(this.hls,Xo.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const oo=this.initPTS[Z.cc],vo=(N=Z.initSegment)==null?void 0:N.data;if(oo!==void 0){const Go=ve?ve.index:-1,pa=Go!==-1,Se=new Nl(Z.level,Z.sn,Z.stats.chunkCount,je.byteLength,Go,pa);Zr.push(je,vo,pr,"",Z,ve,Xn.totalduration,!1,Se,oo)}else{this.log(`Unknown video PTS for cc ${Z.cc}, waiting for video PTS before demuxing audio frag ${Z.sn} of [${Xn.startSN} ,${Xn.endSN}],track ${Nt}`);const{cache:Fo}=this.waitingData=this.waitingData||{frag:Z,part:ve,cache:new Ii,complete:!1};Fo.push(new Uint8Array(je)),this.waitingVideoCC=this.videoTrackCC,this.state=So.WAITING_INIT_PTS}}_handleFragmentLoadComplete(D){if(this.waitingData){this.waitingData.complete=!0;return}super._handleFragmentLoadComplete(D)}onBufferReset(){this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1}onBufferCreated(D,N){const Z=N.tracks.audio;Z&&(this.mediaBuffer=Z.buffer||null),N.tracks.video&&(this.videoBuffer=N.tracks.video.buffer||null)}onFragBuffered(D,N){const{frag:Z,part:ve}=N;if(Z.type!==Xo.AUDIO){if(!this.loadedmetadata&&Z.type===Xo.MAIN){const je=this.videoBuffer||this.media;je&&oi.getBuffered(je).length&&(this.loadedmetadata=!0)}return}if(this.fragContextChanged(Z)){this.warn(`Fragment ${Z.sn}${ve?" p: "+ve.index:""} of level ${Z.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);return}if(Z.sn!=="initSegment"){this.fragPrevious=Z;const je=this.switchingTrack;je&&(this.bufferedTrack=je,this.switchingTrack=null,this.hls.trigger(Ie.AUDIO_TRACK_SWITCHED,Fe({},je)))}this.fragBufferedComplete(Z,ve)}onError(D,N){var Z;if(N.fatal){this.state=So.ERROR;return}switch(N.details){case mt.FRAG_GAP:case mt.FRAG_PARSING_ERROR:case mt.FRAG_DECRYPT_ERROR:case mt.FRAG_LOAD_ERROR:case mt.FRAG_LOAD_TIMEOUT:case mt.KEY_LOAD_ERROR:case mt.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(Xo.AUDIO,N);break;case mt.AUDIO_TRACK_LOAD_ERROR:case mt.AUDIO_TRACK_LOAD_TIMEOUT:case mt.LEVEL_PARSING_ERROR:!N.levelRetry&&this.state===So.WAITING_TRACK&&((Z=N.context)==null?void 0:Z.type)===jo.AUDIO_TRACK&&(this.state=So.IDLE);break;case mt.BUFFER_FULL_ERROR:if(!N.parent||N.parent!=="audio")return;this.reduceLengthAndFlushBuffer(N)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case mt.INTERNAL_EXCEPTION:this.recoverWorkerError(N);break}}onBufferFlushed(D,{type:N}){N===Zn.AUDIO&&(this.bufferFlushed=!0,this.state===So.ENDED&&(this.state=So.IDLE))}_handleTransmuxComplete(D){var N;const Z="audio",{hls:ve}=this,{remuxResult:je,chunkMeta:pt}=D,Nt=this.getCurrentContext(pt);if(!Nt){this.resetWhenMissingContext(pt);return}const{frag:hn,part:gn,level:Xn}=Nt,{details:pr}=Xn,{audio:Zr,text:oo,id3:vo,initSegment:Fo}=je;if(this.fragContextChanged(hn)||!pr){this.fragmentTracker.removeFragment(hn);return}if(this.state=So.PARSING,this.switchingTrack&&Zr&&this.completeAudioSwitch(this.switchingTrack),Fo!=null&&Fo.tracks){const Go=hn.initSegment||hn;this._bufferInitSegment(Fo.tracks,Go,pt),ve.trigger(Ie.FRAG_PARSING_INIT_SEGMENT,{frag:Go,id:Z,tracks:Fo.tracks})}if(Zr){const{startPTS:Go,endPTS:pa,startDTS:Se,endDTS:de}=Zr;gn&&(gn.elementaryStreams[Zn.AUDIO]={startPTS:Go,endPTS:pa,startDTS:Se,endDTS:de}),hn.setElementaryStreamInfo(Zn.AUDIO,Go,pa,Se,de),this.bufferFragmentData(Zr,hn,gn,pt)}if(vo!=null&&(N=vo.samples)!=null&&N.length){const Go=Ne({id:Z,frag:hn,details:pr},vo);ve.trigger(Ie.FRAG_PARSING_METADATA,Go)}if(oo){const Go=Ne({id:Z,frag:hn,details:pr},oo);ve.trigger(Ie.FRAG_PARSING_USERDATA,Go)}}_bufferInitSegment(D,N,Z){if(this.state!==So.PARSING)return;D.video&&delete D.video;const ve=D.audio;if(!ve)return;ve.levelCodec=ve.codec,ve.id="audio",this.log(`Init audio buffer, container:${ve.container}, codecs[parsed]=[${ve.codec}]`),this.hls.trigger(Ie.BUFFER_CODECS,D);const je=ve.initSegment;if(je!=null&&je.byteLength){const pt={type:"audio",frag:N,part:null,chunkMeta:Z,parent:N.type,data:je};this.hls.trigger(Ie.BUFFER_APPENDING,pt)}this.tick()}loadFragment(D,N,Z){const ve=this.fragmentTracker.getState(D);if(this.fragCurrent=D,this.switchingTrack||ve===Na.NOT_LOADED||ve===Na.PARTIAL){var je;D.sn==="initSegment"?this._loadInitSegment(D,N):(je=N.details)!=null&&je.live&&!this.initPTS[D.cc]?(this.log(`Waiting for video PTS in continuity counter ${D.cc} of live stream before loading audio fragment ${D.sn} of level ${this.trackId}`),this.state=So.WAITING_INIT_PTS):(this.startFragRequested=!0,super.loadFragment(D,N,Z))}else this.clearTrackerIfNeeded(D)}completeAudioSwitch(D){const{hls:N,media:Z,bufferedTrack:ve}=this,je=ve==null?void 0:ve.attrs,pt=D.attrs;Z&&je&&(je.CHANNELS!==pt.CHANNELS||je.NAME!==pt.NAME||je.LANGUAGE!==pt.LANGUAGE)&&(this.log("Switching audio track : flushing all audio"),super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio")),this.bufferedTrack=D,this.switchingTrack=null,N.trigger(Ie.AUDIO_TRACK_SWITCHED,Fe({},D))}}class gc extends Hn{constructor(D){super(D,"[audio-track-controller]"),this.tracks=[],this.groupId=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.registerListeners()}registerListeners(){const{hls:D}=this;D.on(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.on(Ie.MANIFEST_PARSED,this.onManifestParsed,this),D.on(Ie.LEVEL_LOADING,this.onLevelLoading,this),D.on(Ie.LEVEL_SWITCHING,this.onLevelSwitching,this),D.on(Ie.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),D.on(Ie.ERROR,this.onError,this)}unregisterListeners(){const{hls:D}=this;D.off(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.off(Ie.MANIFEST_PARSED,this.onManifestParsed,this),D.off(Ie.LEVEL_LOADING,this.onLevelLoading,this),D.off(Ie.LEVEL_SWITCHING,this.onLevelSwitching,this),D.off(Ie.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),D.off(Ie.ERROR,this.onError,this)}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,super.destroy()}onManifestLoading(){this.tracks=[],this.groupId=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0}onManifestParsed(D,N){this.tracks=N.audioTracks||[]}onAudioTrackLoaded(D,N){const{id:Z,groupId:ve,details:je}=N,pt=this.tracksInGroup[Z];if(!pt||pt.groupId!==ve){this.warn(`Track with id:${Z} and group:${ve} not found in active group ${pt.groupId}`);return}const Nt=pt.details;pt.details=N.details,this.log(`audio-track ${Z} "${pt.name}" lang:${pt.lang} group:${ve} loaded [${je.startSN}-${je.endSN}]`),Z===this.trackId&&this.playlistLoaded(Z,N,Nt)}onLevelLoading(D,N){this.switchLevel(N.level)}onLevelSwitching(D,N){this.switchLevel(N.level)}switchLevel(D){const N=this.hls.levels[D];if(!(N!=null&&N.audioGroupIds))return;const Z=N.audioGroupIds[N.urlId];if(this.groupId!==Z){this.groupId=Z||null;const ve=this.tracks.filter(pt=>!Z||pt.groupId===Z);this.selectDefaultTrack&&!ve.some(pt=>pt.default)&&(this.selectDefaultTrack=!1),this.tracksInGroup=ve;const je={audioTracks:ve};this.log(`Updating audio tracks, ${ve.length} track(s) found in group:${Z}`),this.hls.trigger(Ie.AUDIO_TRACKS_UPDATED,je),this.selectInitialTrack()}else this.shouldReloadPlaylist(this.currentTrack)&&this.setAudioTrack(this.trackId)}onError(D,N){N.fatal||!N.context||N.context.type===jo.AUDIO_TRACK&&N.context.id===this.trackId&&N.context.groupId===this.groupId&&(this.requestScheduled=-1,this.checkRetry(N))}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(D){this.selectDefaultTrack=!1,this.setAudioTrack(D)}setAudioTrack(D){const N=this.tracksInGroup;if(D<0||D>=N.length){this.warn("Invalid id passed to audio-track controller");return}this.clearTimer();const Z=this.currentTrack;N[this.trackId];const ve=N[D],{groupId:je,name:pt}=ve;if(this.log(`Switching to audio-track ${D} "${pt}" lang:${ve.lang} group:${je}`),this.trackId=D,this.currentTrack=ve,this.selectDefaultTrack=!1,this.hls.trigger(Ie.AUDIO_TRACK_SWITCHING,Fe({},ve)),ve.details&&!ve.details.live)return;const Nt=this.switchParams(ve.url,Z==null?void 0:Z.details);this.loadPlaylist(Nt)}selectInitialTrack(){const D=this.tracksInGroup,N=this.findTrackId(this.currentTrack)|this.findTrackId(null);if(N!==-1)this.setAudioTrack(N);else{const Z=new Error(`No track found for running audio group-ID: ${this.groupId} track count: ${D.length}`);this.warn(Z.message),this.hls.trigger(Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:Z})}}findTrackId(D){const N=this.tracksInGroup;for(let Z=0;Z<N.length;Z++){const ve=N[Z];if((!this.selectDefaultTrack||ve.default)&&(!D||D.attrs["STABLE-RENDITION-ID"]!==void 0&&D.attrs["STABLE-RENDITION-ID"]===ve.attrs["STABLE-RENDITION-ID"]||D.name===ve.name&&D.lang===ve.lang))return ve.id}return-1}loadPlaylist(D){super.loadPlaylist();const N=this.tracksInGroup[this.trackId];if(this.shouldLoadPlaylist(N)){const Z=N.id,ve=N.groupId;let je=N.url;if(D)try{je=D.addDirectives(je)}catch(pt){this.warn(`Could not construct new URL with HLS Delivery Directives: ${pt}`)}this.log(`loading audio-track playlist ${Z} "${N.name}" lang:${N.lang} group:${ve}`),this.clearTimer(),this.hls.trigger(Ie.AUDIO_TRACK_LOADING,{url:je,id:Z,groupId:ve,deliveryDirectives:D||null})}}}function Xl(Et,D){if(Et.length!==D.length)return!1;for(let N=0;N<Et.length;N++)if(!yc(Et[N].attrs,D[N].attrs))return!1;return!0}function yc(Et,D){const N=Et["STABLE-RENDITION-ID"];return N?N===D["STABLE-RENDITION-ID"]:!["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED"].some(Z=>Et[Z]!==D[Z])}const Zc=500;class Rd extends Ha{constructor(D,N,Z){super(D,N,Z,"[subtitle-stream-controller]",Xo.SUBTITLE),this.levels=[],this.currentTrackId=-1,this.tracksBuffered=[],this.mainDetails=null,this._registerListeners()}onHandlerDestroying(){this._unregisterListeners(),this.mainDetails=null}_registerListeners(){const{hls:D}=this;D.on(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),D.on(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),D.on(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.on(Ie.LEVEL_LOADED,this.onLevelLoaded,this),D.on(Ie.ERROR,this.onError,this),D.on(Ie.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),D.on(Ie.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),D.on(Ie.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),D.on(Ie.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),D.on(Ie.BUFFER_FLUSHING,this.onBufferFlushing,this),D.on(Ie.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:D}=this;D.off(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),D.off(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),D.off(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.off(Ie.LEVEL_LOADED,this.onLevelLoaded,this),D.off(Ie.ERROR,this.onError,this),D.off(Ie.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),D.off(Ie.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),D.off(Ie.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),D.off(Ie.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),D.off(Ie.BUFFER_FLUSHING,this.onBufferFlushing,this),D.off(Ie.FRAG_BUFFERED,this.onFragBuffered,this)}startLoad(D){this.stopLoad(),this.state=So.IDLE,this.setInterval(Zc),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=D,this.tick()}onManifestLoading(){this.mainDetails=null,this.fragmentTracker.removeAllFragments()}onMediaDetaching(){this.tracksBuffered=[],super.onMediaDetaching()}onLevelLoaded(D,N){this.mainDetails=N.details}onSubtitleFragProcessed(D,N){const{frag:Z,success:ve}=N;if(this.fragPrevious=Z,this.state=So.IDLE,!ve)return;const je=this.tracksBuffered[this.currentTrackId];if(!je)return;let pt;const Nt=Z.start;for(let gn=0;gn<je.length;gn++)if(Nt>=je[gn].start&&Nt<=je[gn].end){pt=je[gn];break}const hn=Z.start+Z.duration;pt?pt.end=hn:(pt={start:Nt,end:hn},je.push(pt)),this.fragmentTracker.fragBuffered(Z)}onBufferFlushing(D,N){const{startOffset:Z,endOffset:ve}=N;if(Z===0&&ve!==Number.POSITIVE_INFINITY){const je=ve-1;if(je<=0)return;N.endOffsetSubtitles=Math.max(0,je),this.tracksBuffered.forEach(pt=>{for(let Nt=0;Nt<pt.length;){if(pt[Nt].end<=je){pt.shift();continue}else if(pt[Nt].start<je)pt[Nt].start=je;else break;Nt++}}),this.fragmentTracker.removeFragmentsInRange(Z,je,Xo.SUBTITLE)}}onFragBuffered(D,N){if(!this.loadedmetadata&&N.frag.type===Xo.MAIN){var Z;(Z=this.media)!=null&&Z.buffered.length&&(this.loadedmetadata=!0)}}onError(D,N){const Z=N.frag;(Z==null?void 0:Z.type)===Xo.SUBTITLE&&(this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==So.STOPPED&&(this.state=So.IDLE))}onSubtitleTracksUpdated(D,{subtitleTracks:N}){if(Xl(this.levels,N)){this.levels=N.map(Z=>new Ni(Z));return}this.tracksBuffered=[],this.levels=N.map(Z=>{const ve=new Ni(Z);return this.tracksBuffered[ve.id]=[],ve}),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,Xo.SUBTITLE),this.fragPrevious=null,this.mediaBuffer=null}onSubtitleTrackSwitch(D,N){if(this.currentTrackId=N.id,!this.levels.length||this.currentTrackId===-1){this.clearInterval();return}const Z=this.levels[this.currentTrackId];Z!=null&&Z.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,Z&&this.setInterval(Zc)}onSubtitleTrackLoaded(D,N){var Z;const{details:ve,id:je}=N,{currentTrackId:pt,levels:Nt}=this;if(!Nt.length)return;const hn=Nt[pt];if(je>=Nt.length||je!==pt||!hn)return;this.mediaBuffer=this.mediaBufferTimeRanges;let gn=0;if(ve.live||(Z=hn.details)!=null&&Z.live){const Xn=this.mainDetails;if(ve.deltaUpdateFailed||!Xn)return;const pr=Xn.fragments[0];hn.details?(gn=this.alignPlaylists(ve,hn.details),gn===0&&pr&&(gn=pr.start,ti(ve,gn))):ve.hasProgramDateTime&&Xn.hasProgramDateTime?(ln(ve,Xn),gn=ve.fragments[0].start):pr&&(gn=pr.start,ti(ve,gn))}hn.details=ve,this.levelLastLoaded=je,!this.startFragRequested&&(this.mainDetails||!ve.live)&&this.setStartPosition(hn.details,gn),this.tick(),ve.live&&!this.fragCurrent&&this.media&&this.state===So.IDLE&&(Oo(null,ve.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),hn.details=void 0))}_handleFragmentLoadComplete(D){const{frag:N,payload:Z}=D,ve=N.decryptdata,je=this.hls;if(!this.fragContextChanged(N)&&Z&&Z.byteLength>0&&ve&&ve.key&&ve.iv&&ve.method==="AES-128"){const pt=performance.now();this.decrypter.decrypt(new Uint8Array(Z),ve.key.buffer,ve.iv.buffer).catch(Nt=>{throw je.trigger(Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.FRAG_DECRYPT_ERROR,fatal:!1,error:Nt,reason:Nt.message,frag:N}),Nt}).then(Nt=>{const hn=performance.now();je.trigger(Ie.FRAG_DECRYPTED,{frag:N,payload:Nt,stats:{tstart:pt,tdecrypt:hn}})}).catch(Nt=>{this.warn(`${Nt.name}: ${Nt.message}`),this.state=So.IDLE})}}doTick(){if(!this.media){this.state=So.IDLE;return}if(this.state===So.IDLE){const{currentTrackId:D,levels:N}=this,Z=N[D];if(!N.length||!Z||!Z.details)return;const{config:ve}=this,je=this.getLoadPosition(),pt=oi.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],je,ve.maxBufferHole),{end:Nt,len:hn}=pt,gn=this.getFwdBufferInfo(this.media,Xo.MAIN),Xn=Z.details,pr=this.getMaxBufferLength(gn==null?void 0:gn.len)+Xn.levelTargetDuration;if(hn>pr)return;const Zr=Xn.fragments,oo=Zr.length,vo=Xn.edge;let Fo=null;const Go=this.fragPrevious;if(Nt<vo){const pa=ve.maxFragLookUpTolerance,Se=Nt>vo-pa?0:pa;Fo=Oo(Go,Zr,Math.max(Zr[0].start,Nt),Se),!Fo&&Go&&Go.start<Zr[0].start&&(Fo=Zr[0])}else Fo=Zr[oo-1];if(!Fo)return;if(Fo=this.mapToInitFragWhenRequired(Fo),Fo.sn!=="initSegment"){const pa=Fo.sn-Xn.startSN,Se=Zr[pa-1];Se&&Se.cc===Fo.cc&&this.fragmentTracker.getState(Se)===Na.NOT_LOADED&&(Fo=Se)}this.fragmentTracker.getState(Fo)===Na.NOT_LOADED&&this.loadFragment(Fo,Z,Nt)}}getMaxBufferLength(D){const N=super.getMaxBufferLength();return D?Math.max(N,D):N}loadFragment(D,N,Z){this.fragCurrent=D,D.sn==="initSegment"?this._loadInitSegment(D,N):(this.startFragRequested=!0,super.loadFragment(D,N,Z))}get mediaBufferTimeRanges(){return new _u(this.tracksBuffered[this.currentTrackId]||[])}}class _u{constructor(D){this.buffered=void 0;const N=(Z,ve,je)=>{if(ve=ve>>>0,ve>je-1)throw new DOMException(`Failed to execute '${Z}' on 'TimeRanges': The index provided (${ve}) is greater than the maximum bound (${je})`);return D[ve][Z]};this.buffered={get length(){return D.length},end(Z){return N("end",Z,D.length)},start(Z){return N("start",Z,D.length)}}}}class td extends Hn{constructor(D){super(D,"[subtitle-track-controller]"),this.media=null,this.tracks=[],this.groupId=null,this.tracksInGroup=[],this.trackId=-1,this.selectDefaultTrack=!0,this.queuedDefaultTrack=-1,this.trackChangeListener=()=>this.onTextTracksChanged(),this.asyncPollTrackChange=()=>this.pollTrackChange(0),this.useTextTrackPolling=!1,this.subtitlePollingInterval=-1,this._subtitleDisplay=!0,this.registerListeners()}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.trackChangeListener=this.asyncPollTrackChange=null,super.destroy()}get subtitleDisplay(){return this._subtitleDisplay}set subtitleDisplay(D){this._subtitleDisplay=D,this.trackId>-1&&this.toggleTrackModes(this.trackId)}registerListeners(){const{hls:D}=this;D.on(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),D.on(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),D.on(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.on(Ie.MANIFEST_PARSED,this.onManifestParsed,this),D.on(Ie.LEVEL_LOADING,this.onLevelLoading,this),D.on(Ie.LEVEL_SWITCHING,this.onLevelSwitching,this),D.on(Ie.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),D.on(Ie.ERROR,this.onError,this)}unregisterListeners(){const{hls:D}=this;D.off(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),D.off(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),D.off(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.off(Ie.MANIFEST_PARSED,this.onManifestParsed,this),D.off(Ie.LEVEL_LOADING,this.onLevelLoading,this),D.off(Ie.LEVEL_SWITCHING,this.onLevelSwitching,this),D.off(Ie.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),D.off(Ie.ERROR,this.onError,this)}onMediaAttached(D,N){this.media=N.media,this.media&&(this.queuedDefaultTrack>-1&&(this.subtitleTrack=this.queuedDefaultTrack,this.queuedDefaultTrack=-1),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.pollTrackChange(500):this.media.textTracks.addEventListener("change",this.asyncPollTrackChange))}pollTrackChange(D){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.trackChangeListener,D)}onMediaDetaching(){if(!this.media)return;self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||this.media.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),Hu(this.media.textTracks).forEach(N=>{Gs(N)}),this.subtitleTrack=-1,this.media=null}onManifestLoading(){this.tracks=[],this.groupId=null,this.tracksInGroup=[],this.trackId=-1,this.selectDefaultTrack=!0}onManifestParsed(D,N){this.tracks=N.subtitleTracks}onSubtitleTrackLoaded(D,N){const{id:Z,details:ve}=N,{trackId:je}=this,pt=this.tracksInGroup[je];if(!pt){this.warn(`Invalid subtitle track id ${Z}`);return}const Nt=pt.details;pt.details=N.details,this.log(`subtitle track ${Z} loaded [${ve.startSN}-${ve.endSN}]`),Z===this.trackId&&this.playlistLoaded(Z,N,Nt)}onLevelLoading(D,N){this.switchLevel(N.level)}onLevelSwitching(D,N){this.switchLevel(N.level)}switchLevel(D){const N=this.hls.levels[D];if(!(N!=null&&N.textGroupIds))return;const Z=N.textGroupIds[N.urlId],ve=this.tracksInGroup?this.tracksInGroup[this.trackId]:void 0;if(this.groupId!==Z){const je=this.tracks.filter(hn=>!Z||hn.groupId===Z);this.tracksInGroup=je;const pt=this.findTrackId(ve==null?void 0:ve.name)||this.findTrackId();this.groupId=Z||null;const Nt={subtitleTracks:je};this.log(`Updating subtitle tracks, ${je.length} track(s) found in "${Z}" group-id`),this.hls.trigger(Ie.SUBTITLE_TRACKS_UPDATED,Nt),pt!==-1&&this.setSubtitleTrack(pt,ve)}else this.shouldReloadPlaylist(ve)&&this.setSubtitleTrack(this.trackId,ve)}findTrackId(D){const N=this.tracksInGroup;for(let Z=0;Z<N.length;Z++){const ve=N[Z];if((!this.selectDefaultTrack||ve.default)&&(!D||D===ve.name))return ve.id}return-1}onError(D,N){N.fatal||!N.context||N.context.type===jo.SUBTITLE_TRACK&&N.context.id===this.trackId&&N.context.groupId===this.groupId&&this.checkRetry(N)}get subtitleTracks(){return this.tracksInGroup}get subtitleTrack(){return this.trackId}set subtitleTrack(D){this.selectDefaultTrack=!1;const N=this.tracksInGroup?this.tracksInGroup[this.trackId]:void 0;this.setSubtitleTrack(D,N)}loadPlaylist(D){super.loadPlaylist();const N=this.tracksInGroup[this.trackId];if(this.shouldLoadPlaylist(N)){const Z=N.id,ve=N.groupId;let je=N.url;if(D)try{je=D.addDirectives(je)}catch(pt){this.warn(`Could not construct new URL with HLS Delivery Directives: ${pt}`)}this.log(`Loading subtitle playlist for id ${Z}`),this.hls.trigger(Ie.SUBTITLE_TRACK_LOADING,{url:je,id:Z,groupId:ve,deliveryDirectives:D||null})}}toggleTrackModes(D){const{media:N,trackId:Z}=this;if(!N)return;const ve=Hu(N.textTracks),je=ve.filter(Nt=>Nt.groupId===this.groupId);if(D===-1)[].slice.call(ve).forEach(Nt=>{Nt.mode="disabled"});else{const Nt=je[Z];Nt&&(Nt.mode="disabled")}const pt=je[D];pt&&(pt.mode=this.subtitleDisplay?"showing":"hidden")}setSubtitleTrack(D,N){var Z;const ve=this.tracksInGroup;if(!this.media){this.queuedDefaultTrack=D;return}if(this.trackId!==D&&this.toggleTrackModes(D),this.trackId===D&&(D===-1||(Z=ve[D])!=null&&Z.details)||D<-1||D>=ve.length)return;this.clearTimer();const je=ve[D];if(this.log(`Switching to subtitle-track ${D}`+(je?` "${je.name}" lang:${je.lang} group:${je.groupId}`:"")),this.trackId=D,je){const{id:pt,groupId:Nt="",name:hn,type:gn,url:Xn}=je;this.hls.trigger(Ie.SUBTITLE_TRACK_SWITCH,{id:pt,groupId:Nt,name:hn,type:gn,url:Xn});const pr=this.switchParams(je.url,N==null?void 0:N.details);this.loadPlaylist(pr)}else this.hls.trigger(Ie.SUBTITLE_TRACK_SWITCH,{id:D})}onTextTracksChanged(){if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),!this.media||!this.hls.config.renderTextTracksNatively)return;let D=-1;const N=Hu(this.media.textTracks);for(let Z=0;Z<N.length;Z++)if(N[Z].mode==="hidden")D=Z;else if(N[Z].mode==="showing"){D=Z;break}this.subtitleTrack!==D&&(this.subtitleTrack=D)}}function Hu(Et){const D=[];for(let N=0;N<Et.length;N++){const Z=Et[N];(Z.kind==="subtitles"||Z.kind==="captions")&&Z.label&&D.push(Et[N])}return D}class Ru{constructor(D){this.buffers=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.buffers=D}append(D,N){const Z=this.queues[N];Z.push(D),Z.length===1&&this.buffers[N]&&this.executeNext(N)}insertAbort(D,N){this.queues[N].unshift(D),this.executeNext(N)}appendBlocker(D){let N;const Z=new Promise(je=>{N=je}),ve={execute:N,onStart:()=>{},onComplete:()=>{},onError:()=>{}};return this.append(ve,D),Z}executeNext(D){const{buffers:N,queues:Z}=this,ve=N[D],je=Z[D];if(je.length){const pt=je[0];try{pt.execute()}catch(Nt){ze.warn("[buffer-operation-queue]: Unhandled exception executing the current operation"),pt.onError(Nt),ve!=null&&ve.updating||(je.shift(),this.executeNext(D))}}}shiftAndExecuteNext(D){this.queues[D].shift(),this.executeNext(D)}current(D){return this.queues[D][0]}}const Pu=ba(),Oc=/([ha]vc.)(?:\.[^.,]+)+/;class vf{constructor(D){this.details=null,this._objectUrl=null,this.operationQueue=void 0,this.listeners=void 0,this.hls=void 0,this.bufferCodecEventsExpected=0,this._bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.appendError=0,this.tracks={},this.pendingTracks={},this.sourceBuffer=void 0,this._onMediaSourceOpen=()=>{const{media:N,mediaSource:Z}=this;ze.log("[buffer-controller]: Media source opened"),N&&(N.removeEventListener("emptied",this._onMediaEmptied),this.updateMediaElementDuration(),this.hls.trigger(Ie.MEDIA_ATTACHED,{media:N})),Z&&Z.removeEventListener("sourceopen",this._onMediaSourceOpen),this.checkPendingTracks()},this._onMediaSourceClose=()=>{ze.log("[buffer-controller]: Media source closed")},this._onMediaSourceEnded=()=>{ze.log("[buffer-controller]: Media source ended")},this._onMediaEmptied=()=>{const{media:N,_objectUrl:Z}=this;N&&N.src!==Z&&ze.error(`Media element src was set while attaching MediaSource (${Z} > ${N.src})`)},this.hls=D,this._initSourceBuffer(),this.registerListeners()}hasSourceTypes(){return this.getSourceBufferTypes().length>0||Object.keys(this.pendingTracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=null}registerListeners(){const{hls:D}=this;D.on(Ie.MEDIA_ATTACHING,this.onMediaAttaching,this),D.on(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),D.on(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.on(Ie.MANIFEST_PARSED,this.onManifestParsed,this),D.on(Ie.BUFFER_RESET,this.onBufferReset,this),D.on(Ie.BUFFER_APPENDING,this.onBufferAppending,this),D.on(Ie.BUFFER_CODECS,this.onBufferCodecs,this),D.on(Ie.BUFFER_EOS,this.onBufferEos,this),D.on(Ie.BUFFER_FLUSHING,this.onBufferFlushing,this),D.on(Ie.LEVEL_UPDATED,this.onLevelUpdated,this),D.on(Ie.FRAG_PARSED,this.onFragParsed,this),D.on(Ie.FRAG_CHANGED,this.onFragChanged,this)}unregisterListeners(){const{hls:D}=this;D.off(Ie.MEDIA_ATTACHING,this.onMediaAttaching,this),D.off(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),D.off(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.off(Ie.MANIFEST_PARSED,this.onManifestParsed,this),D.off(Ie.BUFFER_RESET,this.onBufferReset,this),D.off(Ie.BUFFER_APPENDING,this.onBufferAppending,this),D.off(Ie.BUFFER_CODECS,this.onBufferCodecs,this),D.off(Ie.BUFFER_EOS,this.onBufferEos,this),D.off(Ie.BUFFER_FLUSHING,this.onBufferFlushing,this),D.off(Ie.LEVEL_UPDATED,this.onLevelUpdated,this),D.off(Ie.FRAG_PARSED,this.onFragParsed,this),D.off(Ie.FRAG_CHANGED,this.onFragChanged,this)}_initSourceBuffer(){this.sourceBuffer={},this.operationQueue=new Ru(this.sourceBuffer),this.listeners={audio:[],video:[],audiovideo:[]},this.lastMpegAudioChunk=null}onManifestLoading(){this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=0,this.details=null}onManifestParsed(D,N){let Z=2;(N.audio&&!N.video||!N.altAudio)&&(Z=1),this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=Z,ze.log(`${this.bufferCodecEventsExpected} bufferCodec event(s) expected`)}onMediaAttaching(D,N){const Z=this.media=N.media;if(Z&&Pu){const ve=this.mediaSource=new Pu;ve.addEventListener("sourceopen",this._onMediaSourceOpen),ve.addEventListener("sourceended",this._onMediaSourceEnded),ve.addEventListener("sourceclose",this._onMediaSourceClose),Z.src=self.URL.createObjectURL(ve),this._objectUrl=Z.src,Z.addEventListener("emptied",this._onMediaEmptied)}}onMediaDetaching(){const{media:D,mediaSource:N,_objectUrl:Z}=this;if(N){if(ze.log("[buffer-controller]: media source detaching"),N.readyState==="open")try{N.endOfStream()}catch(ve){ze.warn(`[buffer-controller]: onMediaDetaching: ${ve.message} while calling endOfStream`)}this.onBufferReset(),N.removeEventListener("sourceopen",this._onMediaSourceOpen),N.removeEventListener("sourceended",this._onMediaSourceEnded),N.removeEventListener("sourceclose",this._onMediaSourceClose),D&&(D.removeEventListener("emptied",this._onMediaEmptied),Z&&self.URL.revokeObjectURL(Z),D.src===Z?(D.removeAttribute("src"),D.load()):ze.warn("[buffer-controller]: media.src was changed by a third party - skip cleanup")),this.mediaSource=null,this.media=null,this._objectUrl=null,this.bufferCodecEventsExpected=this._bufferCodecEventsTotal,this.pendingTracks={},this.tracks={}}this.hls.trigger(Ie.MEDIA_DETACHED,void 0)}onBufferReset(){this.getSourceBufferTypes().forEach(D=>{const N=this.sourceBuffer[D];try{N&&(this.removeBufferListeners(D),this.mediaSource&&this.mediaSource.removeSourceBuffer(N),this.sourceBuffer[D]=void 0)}catch(Z){ze.warn(`[buffer-controller]: Failed to reset the ${D} buffer`,Z)}}),this._initSourceBuffer()}onBufferCodecs(D,N){const Z=this.getSourceBufferTypes().length;Object.keys(N).forEach(ve=>{if(Z){const je=this.tracks[ve];if(je&&typeof je.buffer.changeType=="function"){const{id:pt,codec:Nt,levelCodec:hn,container:gn,metadata:Xn}=N[ve],pr=(je.levelCodec||je.codec).replace(Oc,"$1"),Zr=(hn||Nt).replace(Oc,"$1");if(pr!==Zr){const oo=`${gn};codecs=${hn||Nt}`;this.appendChangeType(ve,oo),ze.log(`[buffer-controller]: switching codec ${pr} to ${Zr}`),this.tracks[ve]={buffer:je.buffer,codec:Nt,container:gn,levelCodec:hn,metadata:Xn,id:pt}}}}else this.pendingTracks[ve]=N[ve]}),!Z&&(this.bufferCodecEventsExpected=Math.max(this.bufferCodecEventsExpected-1,0),this.mediaSource&&this.mediaSource.readyState==="open"&&this.checkPendingTracks())}appendChangeType(D,N){const{operationQueue:Z}=this,ve={execute:()=>{const je=this.sourceBuffer[D];je&&(ze.log(`[buffer-controller]: changing ${D} sourceBuffer type to ${N}`),je.changeType(N)),Z.shiftAndExecuteNext(D)},onStart:()=>{},onComplete:()=>{},onError:je=>{ze.warn(`[buffer-controller]: Failed to change ${D} SourceBuffer type`,je)}};Z.append(ve,D)}onBufferAppending(D,N){const{hls:Z,operationQueue:ve,tracks:je}=this,{data:pt,type:Nt,frag:hn,part:gn,chunkMeta:Xn}=N,pr=Xn.buffering[Nt],Zr=self.performance.now();pr.start=Zr;const oo=hn.stats.buffering,vo=gn?gn.stats.buffering:null;oo.start===0&&(oo.start=Zr),vo&&vo.start===0&&(vo.start=Zr);const Fo=je.audio;let Go=!1;Nt==="audio"&&(Fo==null?void 0:Fo.container)==="audio/mpeg"&&(Go=!this.lastMpegAudioChunk||Xn.id===1||this.lastMpegAudioChunk.sn!==Xn.sn,this.lastMpegAudioChunk=Xn);const pa=hn.start,Se={execute:()=>{if(pr.executeStart=self.performance.now(),Go){const de=this.sourceBuffer[Nt];if(de){const We=pa-de.timestampOffset;Math.abs(We)>=.1&&(ze.log(`[buffer-controller]: Updating audio SourceBuffer timestampOffset to ${pa} (delta: ${We}) sn: ${hn.sn})`),de.timestampOffset=pa)}}this.appendExecutor(pt,Nt)},onStart:()=>{},onComplete:()=>{const de=self.performance.now();pr.executeEnd=pr.end=de,oo.first===0&&(oo.first=de),vo&&vo.first===0&&(vo.first=de);const{sourceBuffer:We}=this,_t={};for(const nn in We)_t[nn]=oi.getBuffered(We[nn]);this.appendError=0,this.hls.trigger(Ie.BUFFER_APPENDED,{type:Nt,frag:hn,part:gn,chunkMeta:Xn,parent:hn.type,timeRanges:_t})},onError:de=>{ze.error(`[buffer-controller]: Error encountered while trying to append to the ${Nt} SourceBuffer`,de);const We={type:Bt.MEDIA_ERROR,parent:hn.type,details:mt.BUFFER_APPEND_ERROR,frag:hn,part:gn,chunkMeta:Xn,error:de,err:de,fatal:!1};de.code===DOMException.QUOTA_EXCEEDED_ERR?We.details=mt.BUFFER_FULL_ERROR:(this.appendError++,We.details=mt.BUFFER_APPEND_ERROR,this.appendError>Z.config.appendErrorMaxRetry&&(ze.error(`[buffer-controller]: Failed ${Z.config.appendErrorMaxRetry} times to append segment in sourceBuffer`),We.fatal=!0)),Z.trigger(Ie.ERROR,We)}};ve.append(Se,Nt)}onBufferFlushing(D,N){const{operationQueue:Z}=this,ve=je=>({execute:this.removeExecutor.bind(this,je,N.startOffset,N.endOffset),onStart:()=>{},onComplete:()=>{this.hls.trigger(Ie.BUFFER_FLUSHED,{type:je})},onError:pt=>{ze.warn(`[buffer-controller]: Failed to remove from ${je} SourceBuffer`,pt)}});N.type?Z.append(ve(N.type),N.type):this.getSourceBufferTypes().forEach(je=>{Z.append(ve(je),je)})}onFragParsed(D,N){const{frag:Z,part:ve}=N,je=[],pt=ve?ve.elementaryStreams:Z.elementaryStreams;pt[Zn.AUDIOVIDEO]?je.push("audiovideo"):(pt[Zn.AUDIO]&&je.push("audio"),pt[Zn.VIDEO]&&je.push("video"));const Nt=()=>{const hn=self.performance.now();Z.stats.buffering.end=hn,ve&&(ve.stats.buffering.end=hn);const gn=ve?ve.stats:Z.stats;this.hls.trigger(Ie.FRAG_BUFFERED,{frag:Z,part:ve,stats:gn,id:Z.type})};je.length===0&&ze.warn(`Fragments must have at least one ElementaryStreamType set. type: ${Z.type} level: ${Z.level} sn: ${Z.sn}`),this.blockBuffers(Nt,je)}onFragChanged(D,N){this.flushBackBuffer()}onBufferEos(D,N){this.getSourceBufferTypes().reduce((ve,je)=>{const pt=this.sourceBuffer[je];return pt&&(!N.type||N.type===je)&&(pt.ending=!0,pt.ended||(pt.ended=!0,ze.log(`[buffer-controller]: ${je} sourceBuffer now EOS`))),ve&&!!(!pt||pt.ended)},!0)&&(ze.log("[buffer-controller]: Queueing mediaSource.endOfStream()"),this.blockBuffers(()=>{this.getSourceBufferTypes().forEach(je=>{const pt=this.sourceBuffer[je];pt&&(pt.ending=!1)});const{mediaSource:ve}=this;if(!ve||ve.readyState!=="open"){ve&&ze.info(`[buffer-controller]: Could not call mediaSource.endOfStream(). mediaSource.readyState: ${ve.readyState}`);return}ze.log("[buffer-controller]: Calling mediaSource.endOfStream()"),ve.endOfStream()}))}onLevelUpdated(D,{details:N}){N.fragments.length&&(this.details=N,this.getSourceBufferTypes().length?this.blockBuffers(this.updateMediaElementDuration.bind(this)):this.updateMediaElementDuration())}flushBackBuffer(){const{hls:D,details:N,media:Z,sourceBuffer:ve}=this;if(!Z||N===null)return;const je=this.getSourceBufferTypes();if(!je.length)return;const pt=N.live&&D.config.liveBackBufferLength!==null?D.config.liveBackBufferLength:D.config.backBufferLength;if(!$e(pt)||pt<0)return;const Nt=Z.currentTime,hn=N.levelTargetDuration,gn=Math.max(pt,hn),Xn=Math.floor(Nt/hn)*hn-gn;je.forEach(pr=>{const Zr=ve[pr];if(Zr){const oo=oi.getBuffered(Zr);if(oo.length>0&&Xn>oo.start(0)){if(D.trigger(Ie.BACK_BUFFER_REACHED,{bufferEnd:Xn}),N.live)D.trigger(Ie.LIVE_BACK_BUFFER_REACHED,{bufferEnd:Xn});else if(Zr.ended&&oo.end(oo.length-1)-Nt<hn*2){ze.info(`[buffer-controller]: Cannot flush ${pr} back buffer while SourceBuffer is in ended state`);return}D.trigger(Ie.BUFFER_FLUSHING,{startOffset:0,endOffset:Xn,type:pr})}}})}updateMediaElementDuration(){if(!this.details||!this.media||!this.mediaSource||this.mediaSource.readyState!=="open")return;const{details:D,hls:N,media:Z,mediaSource:ve}=this,je=D.fragments[0].start+D.totalduration,pt=Z.duration,Nt=$e(ve.duration)?ve.duration:0;D.live&&N.config.liveDurationInfinity?(ze.log("[buffer-controller]: Media Source duration is set to Infinity"),ve.duration=1/0,this.updateSeekableRange(D)):(je>Nt&&je>pt||!$e(pt))&&(ze.log(`[buffer-controller]: Updating Media Source duration to ${je.toFixed(3)}`),ve.duration=je)}updateSeekableRange(D){const N=this.mediaSource,Z=D.fragments;if(Z.length&&D.live&&N!=null&&N.setLiveSeekableRange){const je=Math.max(0,Z[0].start),pt=Math.max(je,je+D.totalduration);N.setLiveSeekableRange(je,pt)}}checkPendingTracks(){const{bufferCodecEventsExpected:D,operationQueue:N,pendingTracks:Z}=this,ve=Object.keys(Z).length;if(ve&&!D||ve===2){this.createSourceBuffers(Z),this.pendingTracks={};const je=this.getSourceBufferTypes();if(je.length)this.hls.trigger(Ie.BUFFER_CREATED,{tracks:this.tracks}),je.forEach(pt=>{N.executeNext(pt)});else{const pt=new Error("could not create source buffer for media codec(s)");this.hls.trigger(Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:pt,reason:pt.message})}}}createSourceBuffers(D){const{sourceBuffer:N,mediaSource:Z}=this;if(!Z)throw Error("createSourceBuffers called when mediaSource was null");for(const ve in D)if(!N[ve]){const je=D[ve];if(!je)throw Error(`source buffer exists for track ${ve}, however track does not`);const pt=je.levelCodec||je.codec,Nt=`${je.container};codecs=${pt}`;ze.log(`[buffer-controller]: creating sourceBuffer(${Nt})`);try{const hn=N[ve]=Z.addSourceBuffer(Nt),gn=ve;this.addBufferListener(gn,"updatestart",this._onSBUpdateStart),this.addBufferListener(gn,"updateend",this._onSBUpdateEnd),this.addBufferListener(gn,"error",this._onSBUpdateError),this.tracks[ve]={buffer:hn,codec:pt,container:je.container,levelCodec:je.levelCodec,metadata:je.metadata,id:je.id}}catch(hn){ze.error(`[buffer-controller]: error while trying to add sourceBuffer: ${hn.message}`),this.hls.trigger(Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:hn,mimeType:Nt})}}}_onSBUpdateStart(D){const{operationQueue:N}=this;N.current(D).onStart()}_onSBUpdateEnd(D){const{operationQueue:N}=this;N.current(D).onComplete(),N.shiftAndExecuteNext(D)}_onSBUpdateError(D,N){const Z=new Error(`${D} SourceBuffer error`);ze.error(`[buffer-controller]: ${Z}`,N),this.hls.trigger(Ie.ERROR,{type:Bt.MEDIA_ERROR,details:mt.BUFFER_APPENDING_ERROR,error:Z,fatal:!1});const ve=this.operationQueue.current(D);ve&&ve.onError(N)}removeExecutor(D,N,Z){const{media:ve,mediaSource:je,operationQueue:pt,sourceBuffer:Nt}=this,hn=Nt[D];if(!ve||!je||!hn){ze.warn(`[buffer-controller]: Attempting to remove from the ${D} SourceBuffer, but it does not exist`),pt.shiftAndExecuteNext(D);return}const gn=$e(ve.duration)?ve.duration:1/0,Xn=$e(je.duration)?je.duration:1/0,pr=Math.max(0,N),Zr=Math.min(Z,gn,Xn);Zr>pr&&!hn.ending?(hn.ended=!1,ze.log(`[buffer-controller]: Removing [${pr},${Zr}] from the ${D} SourceBuffer`),hn.remove(pr,Zr)):pt.shiftAndExecuteNext(D)}appendExecutor(D,N){const{operationQueue:Z,sourceBuffer:ve}=this,je=ve[N];if(!je){ze.warn(`[buffer-controller]: Attempting to append to the ${N} SourceBuffer, but it does not exist`),Z.shiftAndExecuteNext(N);return}je.ended=!1,je.appendBuffer(D)}blockBuffers(D,N=this.getSourceBufferTypes()){if(!N.length){ze.log("[buffer-controller]: Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(D);return}const{operationQueue:Z}=this,ve=N.map(je=>Z.appendBlocker(je));Promise.all(ve).then(()=>{D(),N.forEach(je=>{const pt=this.sourceBuffer[je];pt!=null&&pt.updating||Z.shiftAndExecuteNext(je)})})}getSourceBufferTypes(){return Object.keys(this.sourceBuffer)}addBufferListener(D,N,Z){const ve=this.sourceBuffer[D];if(!ve)return;const je=Z.bind(this,D);this.listeners[D].push({event:N,listener:je}),ve.addEventListener(N,je)}removeBufferListeners(D){const N=this.sourceBuffer[D];N&&this.listeners[D].forEach(Z=>{N.removeEventListener(Z.event,Z.listener)})}}const nd={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},ld=function(D){let N=D;return nd.hasOwnProperty(D)&&(N=nd[D]),String.fromCharCode(N)},Wl=15,Ql=100,gd={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},rd={17:2,18:4,21:6,22:8,23:10,19:13,20:15},Zu={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Cu={25:2,26:4,29:6,30:8,31:10,27:13,28:15},eu=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Uu{constructor(){this.time=null,this.verboseLevel=0}log(D,N){if(this.verboseLevel>=D){const Z=typeof N=="function"?N():N;ze.log(`${this.time} [${D}] ${Z}`)}}}const Bc=function(D){const N=[];for(let Z=0;Z<D.length;Z++)N.push(D[Z].toString(16));return N};class Ed{constructor(D,N,Z,ve,je){this.foreground=void 0,this.underline=void 0,this.italics=void 0,this.background=void 0,this.flash=void 0,this.foreground=D||"white",this.underline=N||!1,this.italics=Z||!1,this.background=ve||"black",this.flash=je||!1}reset(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}setStyles(D){const N=["foreground","underline","italics","background","flash"];for(let Z=0;Z<N.length;Z++){const ve=N[Z];D.hasOwnProperty(ve)&&(this[ve]=D[ve])}}isDefault(){return this.foreground==="white"&&!this.underline&&!this.italics&&this.background==="black"&&!this.flash}equals(D){return this.foreground===D.foreground&&this.underline===D.underline&&this.italics===D.italics&&this.background===D.background&&this.flash===D.flash}copy(D){this.foreground=D.foreground,this.underline=D.underline,this.italics=D.italics,this.background=D.background,this.flash=D.flash}toString(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash}}class Fu{constructor(D,N,Z,ve,je,pt){this.uchar=void 0,this.penState=void 0,this.uchar=D||" ",this.penState=new Ed(N,Z,ve,je,pt)}reset(){this.uchar=" ",this.penState.reset()}setChar(D,N){this.uchar=D,this.penState.copy(N)}setPenState(D){this.penState.copy(D)}equals(D){return this.uchar===D.uchar&&this.penState.equals(D.penState)}copy(D){this.uchar=D.uchar,this.penState.copy(D.penState)}isEmpty(){return this.uchar===" "&&this.penState.isDefault()}}class Ut{constructor(D){this.chars=void 0,this.pos=void 0,this.currPenState=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chars=[];for(let N=0;N<Ql;N++)this.chars.push(new Fu);this.logger=D,this.pos=0,this.currPenState=new Ed}equals(D){let N=!0;for(let Z=0;Z<Ql;Z++)if(!this.chars[Z].equals(D.chars[Z])){N=!1;break}return N}copy(D){for(let N=0;N<Ql;N++)this.chars[N].copy(D.chars[N])}isEmpty(){let D=!0;for(let N=0;N<Ql;N++)if(!this.chars[N].isEmpty()){D=!1;break}return D}setCursor(D){this.pos!==D&&(this.pos=D),this.pos<0?(this.logger.log(3,"Negative cursor position "+this.pos),this.pos=0):this.pos>Ql&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=Ql)}moveCursor(D){const N=this.pos+D;if(D>1)for(let Z=this.pos+1;Z<N+1;Z++)this.chars[Z].setPenState(this.currPenState);this.setCursor(N)}backSpace(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)}insertChar(D){D>=144&&this.backSpace();const N=ld(D);if(this.pos>=Ql){this.logger.log(0,()=>"Cannot insert "+D.toString(16)+" ("+N+") at position "+this.pos+". Skipping it!");return}this.chars[this.pos].setChar(N,this.currPenState),this.moveCursor(1)}clearFromPos(D){let N;for(N=D;N<Ql;N++)this.chars[N].reset()}clear(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()}clearToEndOfRow(){this.clearFromPos(this.pos)}getTextString(){const D=[];let N=!0;for(let Z=0;Z<Ql;Z++){const ve=this.chars[Z].uchar;ve!==" "&&(N=!1),D.push(ve)}return N?"":D.join("")}setPenStyles(D){this.currPenState.setStyles(D),this.chars[this.pos].setPenState(this.currPenState)}}class Q{constructor(D){this.rows=void 0,this.currRow=void 0,this.nrRollUpRows=void 0,this.lastOutputScreen=void 0,this.logger=void 0,this.rows=[];for(let N=0;N<Wl;N++)this.rows.push(new Ut(D));this.logger=D,this.currRow=Wl-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.reset()}reset(){for(let D=0;D<Wl;D++)this.rows[D].clear();this.currRow=Wl-1}equals(D){let N=!0;for(let Z=0;Z<Wl;Z++)if(!this.rows[Z].equals(D.rows[Z])){N=!1;break}return N}copy(D){for(let N=0;N<Wl;N++)this.rows[N].copy(D.rows[N])}isEmpty(){let D=!0;for(let N=0;N<Wl;N++)if(!this.rows[N].isEmpty()){D=!1;break}return D}backSpace(){this.rows[this.currRow].backSpace()}clearToEndOfRow(){this.rows[this.currRow].clearToEndOfRow()}insertChar(D){this.rows[this.currRow].insertChar(D)}setPen(D){this.rows[this.currRow].setPenStyles(D)}moveCursor(D){this.rows[this.currRow].moveCursor(D)}setCursor(D){this.logger.log(2,"setCursor: "+D),this.rows[this.currRow].setCursor(D)}setPAC(D){this.logger.log(2,()=>"pacData = "+JSON.stringify(D));let N=D.row-1;if(this.nrRollUpRows&&N<this.nrRollUpRows-1&&(N=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==N){for(let Nt=0;Nt<Wl;Nt++)this.rows[Nt].clear();const je=this.currRow+1-this.nrRollUpRows,pt=this.lastOutputScreen;if(pt){const Nt=pt.rows[je].cueStartTime,hn=this.logger.time;if(Nt&&hn!==null&&Nt<hn)for(let gn=0;gn<this.nrRollUpRows;gn++)this.rows[N-this.nrRollUpRows+gn+1].copy(pt.rows[je+gn])}}this.currRow=N;const Z=this.rows[this.currRow];if(D.indent!==null){const je=D.indent,pt=Math.max(je-1,0);Z.setCursor(D.indent),D.color=Z.chars[pt].penState.foreground}const ve={foreground:D.color,underline:D.underline,italics:D.italics,background:"black",flash:!1};this.setPen(ve)}setBkgData(D){this.logger.log(2,()=>"bkgData = "+JSON.stringify(D)),this.backSpace(),this.setPen(D),this.insertChar(32)}setRollUpRows(D){this.nrRollUpRows=D}rollUp(){if(this.nrRollUpRows===null){this.logger.log(3,"roll_up but nrRollUpRows not set yet");return}this.logger.log(1,()=>this.getDisplayText());const D=this.currRow+1-this.nrRollUpRows,N=this.rows.splice(D,1)[0];N.clear(),this.rows.splice(this.currRow,0,N),this.logger.log(2,"Rolling up")}getDisplayText(D){D=D||!1;const N=[];let Z="",ve=-1;for(let je=0;je<Wl;je++){const pt=this.rows[je].getTextString();pt&&(ve=je+1,D?N.push("Row "+ve+": '"+pt+"'"):N.push(pt.trim()))}return N.length>0&&(D?Z="["+N.join(" | ")+"]":Z=N.join(`
`)),Z}getTextAndFormat(){return this.rows}}class De{constructor(D,N,Z){this.chNr=void 0,this.outputFilter=void 0,this.mode=void 0,this.verbose=void 0,this.displayedMemory=void 0,this.nonDisplayedMemory=void 0,this.lastOutputScreen=void 0,this.currRollUpRow=void 0,this.writeScreen=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chNr=D,this.outputFilter=N,this.mode=null,this.verbose=0,this.displayedMemory=new Q(Z),this.nonDisplayedMemory=new Q(Z),this.lastOutputScreen=new Q(Z),this.currRollUpRow=this.displayedMemory.rows[Wl-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=Z}reset(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[Wl-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}getHandler(){return this.outputFilter}setHandler(D){this.outputFilter=D}setPAC(D){this.writeScreen.setPAC(D)}setBkgData(D){this.writeScreen.setBkgData(D)}setMode(D){D!==this.mode&&(this.mode=D,this.logger.log(2,()=>"MODE="+D),this.mode==="MODE_POP-ON"?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),this.mode!=="MODE_ROLL-UP"&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=D)}insertChars(D){for(let Z=0;Z<D.length;Z++)this.writeScreen.insertChar(D[Z]);const N=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";this.logger.log(2,()=>N+": "+this.writeScreen.getDisplayText(!0)),(this.mode==="MODE_PAINT-ON"||this.mode==="MODE_ROLL-UP")&&(this.logger.log(1,()=>"DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())}ccRCL(){this.logger.log(2,"RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")}ccBS(){this.logger.log(2,"BS - BackSpace"),this.mode!=="MODE_TEXT"&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())}ccAOF(){}ccAON(){}ccDER(){this.logger.log(2,"DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()}ccRU(D){this.logger.log(2,"RU("+D+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(D)}ccFON(){this.logger.log(2,"FON - Flash On"),this.writeScreen.setPen({flash:!0})}ccRDC(){this.logger.log(2,"RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")}ccTR(){this.logger.log(2,"TR"),this.setMode("MODE_TEXT")}ccRTD(){this.logger.log(2,"RTD"),this.setMode("MODE_TEXT")}ccEDM(){this.logger.log(2,"EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)}ccCR(){this.logger.log(2,"CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)}ccENM(){this.logger.log(2,"ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()}ccEOC(){if(this.logger.log(2,"EOC - End Of Caption"),this.mode==="MODE_POP-ON"){const D=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=D,this.writeScreen=this.nonDisplayedMemory,this.logger.log(1,()=>"DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate(!0)}ccTO(D){this.logger.log(2,"TO("+D+") - Tab Offset"),this.writeScreen.moveCursor(D)}ccMIDROW(D){const N={flash:!1};if(N.underline=D%2===1,N.italics=D>=46,N.italics)N.foreground="white";else{const Z=Math.floor(D/2)-16,ve=["white","green","blue","cyan","red","yellow","magenta"];N.foreground=ve[Z]}this.logger.log(2,"MIDROW: "+JSON.stringify(N)),this.writeScreen.setPen(N)}outputDataUpdate(D=!1){const N=this.logger.time;N!==null&&this.outputFilter&&(this.cueStartTime===null&&!this.displayedMemory.isEmpty()?this.cueStartTime=N:this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,N,this.lastOutputScreen),D&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:N),this.lastOutputScreen.copy(this.displayedMemory))}cueSplitAtTime(D){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,D,this.displayedMemory),this.cueStartTime=D))}}class at{constructor(D,N,Z){this.channels=void 0,this.currentChannel=0,this.cmdHistory=void 0,this.logger=void 0;const ve=new Uu;this.channels=[null,new De(D,N,ve),new De(D+1,Z,ve)],this.cmdHistory=Qn(),this.logger=ve}getHandler(D){return this.channels[D].getHandler()}setHandler(D,N){this.channels[D].setHandler(N)}addData(D,N){let Z,ve,je,pt=!1;this.logger.time=D;for(let Nt=0;Nt<N.length;Nt+=2)if(ve=N[Nt]&127,je=N[Nt+1]&127,!(ve===0&&je===0)){if(this.logger.log(3,"["+Bc([N[Nt],N[Nt+1]])+"] -> ("+Bc([ve,je])+")"),Z=this.parseCmd(ve,je),Z||(Z=this.parseMidrow(ve,je)),Z||(Z=this.parsePAC(ve,je)),Z||(Z=this.parseBackgroundAttributes(ve,je)),!Z&&(pt=this.parseChars(ve,je),pt)){const hn=this.currentChannel;hn&&hn>0?this.channels[hn].insertChars(pt):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!Z&&!pt&&this.logger.log(2,"Couldn't parse cleaned data "+Bc([ve,je])+" orig: "+Bc([N[Nt],N[Nt+1]]))}}parseCmd(D,N){const{cmdHistory:Z}=this,ve=(D===20||D===28||D===21||D===29)&&N>=32&&N<=47,je=(D===23||D===31)&&N>=33&&N<=35;if(!(ve||je))return!1;if(zt(D,N,Z))return Dt(null,null,Z),this.logger.log(3,"Repeated command ("+Bc([D,N])+") is dropped"),!0;const pt=D===20||D===21||D===23?1:2,Nt=this.channels[pt];return D===20||D===21||D===28||D===29?N===32?Nt.ccRCL():N===33?Nt.ccBS():N===34?Nt.ccAOF():N===35?Nt.ccAON():N===36?Nt.ccDER():N===37?Nt.ccRU(2):N===38?Nt.ccRU(3):N===39?Nt.ccRU(4):N===40?Nt.ccFON():N===41?Nt.ccRDC():N===42?Nt.ccTR():N===43?Nt.ccRTD():N===44?Nt.ccEDM():N===45?Nt.ccCR():N===46?Nt.ccENM():N===47&&Nt.ccEOC():Nt.ccTO(N-32),Dt(D,N,Z),this.currentChannel=pt,!0}parseMidrow(D,N){let Z=0;if((D===17||D===25)&&N>=32&&N<=47){if(D===17?Z=1:Z=2,Z!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const ve=this.channels[Z];return ve?(ve.ccMIDROW(N),this.logger.log(3,"MIDROW ("+Bc([D,N])+")"),!0):!1}return!1}parsePAC(D,N){let Z;const ve=this.cmdHistory,je=(D>=17&&D<=23||D>=25&&D<=31)&&N>=64&&N<=127,pt=(D===16||D===24)&&N>=64&&N<=95;if(!(je||pt))return!1;if(zt(D,N,ve))return Dt(null,null,ve),!0;const Nt=D<=23?1:2;N>=64&&N<=95?Z=Nt===1?gd[D]:Zu[D]:Z=Nt===1?rd[D]:Cu[D];const hn=this.channels[Nt];return hn?(hn.setPAC(this.interpretPAC(Z,N)),Dt(D,N,ve),this.currentChannel=Nt,!0):!1}interpretPAC(D,N){let Z;const ve={color:null,italics:!1,indent:null,underline:!1,row:D};return N>95?Z=N-96:Z=N-64,ve.underline=(Z&1)===1,Z<=13?ve.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(Z/2)]:Z<=15?(ve.italics=!0,ve.color="white"):ve.indent=Math.floor((Z-16)/2)*4,ve}parseChars(D,N){let Z,ve=null,je=null;if(D>=25?(Z=2,je=D-8):(Z=1,je=D),je>=17&&je<=19){let pt;je===17?pt=N+80:je===18?pt=N+112:pt=N+144,this.logger.log(2,"Special char '"+ld(pt)+"' in channel "+Z),ve=[pt]}else D>=32&&D<=127&&(ve=N===0?[D]:[D,N]);if(ve){const pt=Bc(ve);this.logger.log(3,"Char codes =  "+pt.join(",")),Dt(D,N,this.cmdHistory)}return ve}parseBackgroundAttributes(D,N){const Z=(D===16||D===24)&&N>=32&&N<=47,ve=(D===23||D===31)&&N>=45&&N<=47;if(!(Z||ve))return!1;let je;const pt={};D===16||D===24?(je=Math.floor((N-32)/2),pt.background=eu[je],N%2===1&&(pt.background=pt.background+"_semi")):N===45?pt.background="transparent":(pt.foreground="black",N===47&&(pt.underline=!0));const Nt=D<=23?1:2;return this.channels[Nt].setBkgData(pt),Dt(D,N,this.cmdHistory),!0}reset(){for(let D=0;D<Object.keys(this.channels).length;D++){const N=this.channels[D];N&&N.reset()}this.cmdHistory=Qn()}cueSplitAtTime(D){for(let N=0;N<this.channels.length;N++){const Z=this.channels[N];Z&&Z.cueSplitAtTime(D)}}}function Dt(Et,D,N){N.a=Et,N.b=D}function zt(Et,D,N){return N.a===Et&&N.b===D}function Qn(){return{a:null,b:null}}class Cr{constructor(D,N){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=D,this.trackName=N}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(D,N,Z){(this.startTime===null||this.startTime>D)&&(this.startTime=D),this.endTime=N,this.screen=Z,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}var wr=function(){if(typeof self<"u"&&self.VTTCue)return self.VTTCue;const Et=["","lr","rl"],D=["start","middle","end","left","right"];function N(Nt,hn){if(typeof hn!="string"||!Array.isArray(Nt))return!1;const gn=hn.toLowerCase();return~Nt.indexOf(gn)?gn:!1}function Z(Nt){return N(Et,Nt)}function ve(Nt){return N(D,Nt)}function je(Nt,...hn){let gn=1;for(;gn<arguments.length;gn++){const Xn=arguments[gn];for(const pr in Xn)Nt[pr]=Xn[pr]}return Nt}function pt(Nt,hn,gn){const Xn=this,pr={enumerable:!0};Xn.hasBeenReset=!1;let Zr="",oo=!1,vo=Nt,Fo=hn,Go=gn,pa=null,Se="",de=!0,We="auto",_t="start",nn=50,vn="middle",cr=50,lo="middle";Object.defineProperty(Xn,"id",je({},pr,{get:function(){return Zr},set:function(Po){Zr=""+Po}})),Object.defineProperty(Xn,"pauseOnExit",je({},pr,{get:function(){return oo},set:function(Po){oo=!!Po}})),Object.defineProperty(Xn,"startTime",je({},pr,{get:function(){return vo},set:function(Po){if(typeof Po!="number")throw new TypeError("Start time must be set to a number.");vo=Po,this.hasBeenReset=!0}})),Object.defineProperty(Xn,"endTime",je({},pr,{get:function(){return Fo},set:function(Po){if(typeof Po!="number")throw new TypeError("End time must be set to a number.");Fo=Po,this.hasBeenReset=!0}})),Object.defineProperty(Xn,"text",je({},pr,{get:function(){return Go},set:function(Po){Go=""+Po,this.hasBeenReset=!0}})),Object.defineProperty(Xn,"region",je({},pr,{get:function(){return pa},set:function(Po){pa=Po,this.hasBeenReset=!0}})),Object.defineProperty(Xn,"vertical",je({},pr,{get:function(){return Se},set:function(Po){const oa=Z(Po);if(oa===!1)throw new SyntaxError("An invalid or illegal string was specified.");Se=oa,this.hasBeenReset=!0}})),Object.defineProperty(Xn,"snapToLines",je({},pr,{get:function(){return de},set:function(Po){de=!!Po,this.hasBeenReset=!0}})),Object.defineProperty(Xn,"line",je({},pr,{get:function(){return We},set:function(Po){if(typeof Po!="number"&&Po!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");We=Po,this.hasBeenReset=!0}})),Object.defineProperty(Xn,"lineAlign",je({},pr,{get:function(){return _t},set:function(Po){const oa=ve(Po);if(!oa)throw new SyntaxError("An invalid or illegal string was specified.");_t=oa,this.hasBeenReset=!0}})),Object.defineProperty(Xn,"position",je({},pr,{get:function(){return nn},set:function(Po){if(Po<0||Po>100)throw new Error("Position must be between 0 and 100.");nn=Po,this.hasBeenReset=!0}})),Object.defineProperty(Xn,"positionAlign",je({},pr,{get:function(){return vn},set:function(Po){const oa=ve(Po);if(!oa)throw new SyntaxError("An invalid or illegal string was specified.");vn=oa,this.hasBeenReset=!0}})),Object.defineProperty(Xn,"size",je({},pr,{get:function(){return cr},set:function(Po){if(Po<0||Po>100)throw new Error("Size must be between 0 and 100.");cr=Po,this.hasBeenReset=!0}})),Object.defineProperty(Xn,"align",je({},pr,{get:function(){return lo},set:function(Po){const oa=ve(Po);if(!oa)throw new SyntaxError("An invalid or illegal string was specified.");lo=oa,this.hasBeenReset=!0}})),Xn.displayState=void 0}return pt.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},pt}();class No{decode(D,N){if(!D)return"";if(typeof D!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(D))}}function Co(Et){function D(Z,ve,je,pt){return(Z|0)*3600+(ve|0)*60+(je|0)+parseFloat(pt||0)}const N=Et.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return N?parseFloat(N[2])>59?D(N[2],N[3],0,N[4]):D(N[1],N[2],N[3],N[4]):null}class Ro{constructor(){this.values=Object.create(null)}set(D,N){!this.get(D)&&N!==""&&(this.values[D]=N)}get(D,N,Z){return Z?this.has(D)?this.values[D]:N[Z]:this.has(D)?this.values[D]:N}has(D){return D in this.values}alt(D,N,Z){for(let ve=0;ve<Z.length;++ve)if(N===Z[ve]){this.set(D,N);break}}integer(D,N){/^-?\d+$/.test(N)&&this.set(D,parseInt(N,10))}percent(D,N){if(/^([\d]{1,3})(\.[\d]*)?%$/.test(N)){const Z=parseFloat(N);if(Z>=0&&Z<=100)return this.set(D,Z),!0}return!1}}function Qo(Et,D,N,Z){const ve=Z?Et.split(Z):[Et];for(const je in ve){if(typeof ve[je]!="string")continue;const pt=ve[je].split(N);if(pt.length!==2)continue;const Nt=pt[0],hn=pt[1];D(Nt,hn)}}const ka=new wr(0,0,""),Ca=ka.align==="middle"?"middle":"center";function ls(Et,D,N){const Z=Et;function ve(){const Nt=Co(Et);if(Nt===null)throw new Error("Malformed timestamp: "+Z);return Et=Et.replace(/^[^\sa-zA-Z-]+/,""),Nt}function je(Nt,hn){const gn=new Ro;Qo(Nt,function(Zr,oo){let vo;switch(Zr){case"region":for(let Fo=N.length-1;Fo>=0;Fo--)if(N[Fo].id===oo){gn.set(Zr,N[Fo].region);break}break;case"vertical":gn.alt(Zr,oo,["rl","lr"]);break;case"line":vo=oo.split(","),gn.integer(Zr,vo[0]),gn.percent(Zr,vo[0])&&gn.set("snapToLines",!1),gn.alt(Zr,vo[0],["auto"]),vo.length===2&&gn.alt("lineAlign",vo[1],["start",Ca,"end"]);break;case"position":vo=oo.split(","),gn.percent(Zr,vo[0]),vo.length===2&&gn.alt("positionAlign",vo[1],["start",Ca,"end","line-left","line-right","auto"]);break;case"size":gn.percent(Zr,oo);break;case"align":gn.alt(Zr,oo,["start",Ca,"end","left","right"]);break}},/:/,/\s/),hn.region=gn.get("region",null),hn.vertical=gn.get("vertical","");let Xn=gn.get("line","auto");Xn==="auto"&&ka.line===-1&&(Xn=-1),hn.line=Xn,hn.lineAlign=gn.get("lineAlign","start"),hn.snapToLines=gn.get("snapToLines",!0),hn.size=gn.get("size",100),hn.align=gn.get("align",Ca);let pr=gn.get("position","auto");pr==="auto"&&ka.position===50&&(pr=hn.align==="start"||hn.align==="left"?0:hn.align==="end"||hn.align==="right"?100:50),hn.position=pr}function pt(){Et=Et.replace(/^\s+/,"")}if(pt(),D.startTime=ve(),pt(),Et.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+Z);Et=Et.slice(3),pt(),D.endTime=ve(),pt(),je(Et,D)}function vs(Et){return Et.replace(/<br(?: \/)?>/gi,`
`)}class Es{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new No,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}parse(D){const N=this;D&&(N.buffer+=N.decoder.decode(D,{stream:!0}));function Z(){let je=N.buffer,pt=0;for(je=vs(je);pt<je.length&&je[pt]!=="\r"&&je[pt]!==`
`;)++pt;const Nt=je.slice(0,pt);return je[pt]==="\r"&&++pt,je[pt]===`
`&&++pt,N.buffer=je.slice(pt),Nt}function ve(je){Qo(je,function(pt,Nt){},/:/)}try{let je="";if(N.state==="INITIAL"){if(!/\r\n|\n/.test(N.buffer))return this;je=Z();const Nt=je.match(/^(ï»¿)?WEBVTT([ \t].*)?$/);if(!(Nt!=null&&Nt[0]))throw new Error("Malformed WebVTT signature.");N.state="HEADER"}let pt=!1;for(;N.buffer;){if(!/\r\n|\n/.test(N.buffer))return this;switch(pt?pt=!1:je=Z(),N.state){case"HEADER":/:/.test(je)?ve(je):je||(N.state="ID");continue;case"NOTE":je||(N.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(je)){N.state="NOTE";break}if(!je)continue;if(N.cue=new wr(0,0,""),N.state="CUE",je.indexOf("-->")===-1){N.cue.id=je;continue}case"CUE":if(!N.cue){N.state="BADCUE";continue}try{ls(je,N.cue,N.regionList)}catch{N.cue=null,N.state="BADCUE";continue}N.state="CUETEXT";continue;case"CUETEXT":{const Nt=je.indexOf("-->")!==-1;if(!je||Nt&&(pt=!0)){N.oncue&&N.cue&&N.oncue(N.cue),N.cue=null,N.state="ID";continue}if(N.cue===null)continue;N.cue.text&&(N.cue.text+=`
`),N.cue.text+=je}continue;case"BADCUE":je||(N.state="ID")}}}catch{N.state==="CUETEXT"&&N.cue&&N.oncue&&N.oncue(N.cue),N.cue=null,N.state=N.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this}flush(){const D=this;try{if((D.cue||D.state==="HEADER")&&(D.buffer+=`

`,D.parse()),D.state==="INITIAL"||D.state==="BADWEBVTT")throw new Error("Malformed WebVTT signature.")}catch(N){D.onparsingerror&&D.onparsingerror(N)}return D.onflush&&D.onflush(),this}}const fi=/\r\n|\n\r|\n|\r/g,Bo=function(D,N,Z=0){return D.slice(Z,Z+N.length)===N},Hi=function(D){let N=parseInt(D.slice(-3));const Z=parseInt(D.slice(-6,-4)),ve=parseInt(D.slice(-9,-7)),je=D.length>9?parseInt(D.substring(0,D.indexOf(":"))):0;if(!$e(N)||!$e(Z)||!$e(ve)||!$e(je))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${D}`);return N+=1e3*Z,N+=60*1e3*ve,N+=60*60*1e3*je,N},Qi=function(D){let N=5381,Z=D.length;for(;Z;)N=N*33^D.charCodeAt(--Z);return(N>>>0).toString()};function Li(Et,D,N){return Qi(Et.toString())+Qi(D.toString())+Qi(N)}const Gl=function(D,N,Z){let ve=D[N],je=D[ve.prevCC];if(!je||!je.new&&ve.new){D.ccOffset=D.presentationOffset=ve.start,ve.new=!1;return}for(;(pt=je)!=null&&pt.new;){var pt;D.ccOffset+=ve.start-je.start,ve.new=!1,ve=je,je=D[ve.prevCC]}D.presentationOffset=Z};function Zl(Et,D,N,Z,ve,je,pt){const Nt=new Es,hn=rr(new Uint8Array(Et)).trim().replace(fi,`
`).split(`
`),gn=[],Xn=D?Rc(D.baseTime,D.timescale):0;let pr="00:00.000",Zr=0,oo=0,vo,Fo=!0;Nt.oncue=function(Go){const pa=N[Z];let Se=N.ccOffset;const de=(Zr-Xn)/9e4;if(pa!=null&&pa.new&&(oo!==void 0?Se=N.ccOffset=pa.start:Gl(N,Z,de)),de){if(!D){vo=new Error("Missing initPTS for VTT MPEGTS");return}Se=de-N.presentationOffset}const We=Go.endTime-Go.startTime,_t=Tc((Go.startTime+Se-oo)*9e4,ve*9e4)/9e4;Go.startTime=Math.max(_t,0),Go.endTime=Math.max(_t+We,0);const nn=Go.text.trim();Go.text=decodeURIComponent(encodeURIComponent(nn)),Go.id||(Go.id=Li(Go.startTime,Go.endTime,nn)),Go.endTime>0&&gn.push(Go)},Nt.onparsingerror=function(Go){vo=Go},Nt.onflush=function(){if(vo){pt(vo);return}je(gn)},hn.forEach(Go=>{if(Fo)if(Bo(Go,"X-TIMESTAMP-MAP=")){Fo=!1,Go.slice(16).split(",").forEach(pa=>{Bo(pa,"LOCAL:")?pr=pa.slice(6):Bo(pa,"MPEGTS:")&&(Zr=parseInt(pa.slice(7)))});try{oo=Hi(pr)/1e3}catch(pa){vo=pa}return}else Go===""&&(Fo=!1);Nt.parse(Go+`
`)}),Nt.flush()}const Vc="stpp.ttml.im1t",tu=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,lu=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,Lu={left:"start",center:"center",right:"end",start:"start",end:"end"};function yu(Et,D,N,Z){const ve=Bn(new Uint8Array(Et),["mdat"]);if(ve.length===0){Z(new Error("Could not parse IMSC1 mdat"));return}const je=ve.map(Nt=>rr(Nt)),pt=ql(D.baseTime,1,D.timescale);try{je.forEach(Nt=>N(ic(Nt,pt)))}catch(Nt){Z(Nt)}}function ic(Et,D){const ve=new DOMParser().parseFromString(Et,"text/xml").getElementsByTagName("tt")[0];if(!ve)throw new Error("Invalid ttml");const je={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},pt=Object.keys(je).reduce((pr,Zr)=>(pr[Zr]=ve.getAttribute(`ttp:${Zr}`)||je[Zr],pr),{}),Nt=ve.getAttribute("xml:space")!=="preserve",hn=cu(kc(ve,"styling","style")),gn=cu(kc(ve,"layout","region")),Xn=kc(ve,"body","[begin]");return[].map.call(Xn,pr=>{const Zr=Au(pr,Nt);if(!Zr||!pr.hasAttribute("begin"))return null;const oo=Nu(pr.getAttribute("begin"),pt),vo=Nu(pr.getAttribute("dur"),pt);let Fo=Nu(pr.getAttribute("end"),pt);if(oo===null)throw lc(pr);if(Fo===null){if(vo===null)throw lc(pr);Fo=oo+vo}const Go=new wr(oo-D,Fo-D,Zr);Go.id=Li(Go.startTime,Go.endTime,Go.text);const pa=gn[pr.getAttribute("region")],Se=hn[pr.getAttribute("style")],de=au(pa,Se,hn),{textAlign:We}=de;if(We){const _t=Lu[We];_t&&(Go.lineAlign=_t),Go.align=We}return Ne(Go,de),Go}).filter(pr=>pr!==null)}function kc(Et,D,N){const Z=Et.getElementsByTagName(D)[0];return Z?[].slice.call(Z.querySelectorAll(N)):[]}function cu(Et){return Et.reduce((D,N)=>{const Z=N.getAttribute("xml:id");return Z&&(D[Z]=N),D},{})}function Au(Et,D){return[].slice.call(Et.childNodes).reduce((N,Z,ve)=>{var je;return Z.nodeName==="br"&&ve?N+`
`:(je=Z.childNodes)!=null&&je.length?Au(Z,D):D?N+Z.textContent.trim().replace(/\s+/g," "):N+Z.textContent},"")}function au(Et,D,N){const Z="http://www.w3.org/ns/ttml#styling";let ve=null;const je=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],pt=Et!=null&&Et.hasAttribute("style")?Et.getAttribute("style"):null;return pt&&N.hasOwnProperty(pt)&&(ve=N[pt]),je.reduce((Nt,hn)=>{const gn=jc(D,Z,hn)||jc(Et,Z,hn)||jc(ve,Z,hn);return gn&&(Nt[hn]=gn),Nt},{})}function jc(Et,D,N){return Et&&Et.hasAttributeNS(D,N)?Et.getAttributeNS(D,N):null}function lc(Et){return new Error(`Could not parse ttml timestamp ${Et}`)}function Nu(Et,D){if(!Et)return null;let N=Co(Et);return N===null&&(tu.test(Et)?N=Zd(Et,D):lu.test(Et)&&(N=_d(Et,D))),N}function Zd(Et,D){const N=tu.exec(Et),Z=(N[4]|0)+(N[5]|0)/D.subFrameRate;return(N[1]|0)*3600+(N[2]|0)*60+(N[3]|0)+Z/D.frameRate}function _d(Et,D){const N=lu.exec(Et),Z=Number(N[1]);switch(N[2]){case"h":return Z*3600;case"m":return Z*60;case"ms":return Z*1e3;case"f":return Z/D.frameRate;case"t":return Z/D.tickRate}return Z}class pu{constructor(D){if(this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=yd(),this.captionsProperties=void 0,this.hls=D,this.config=D.config,this.Cues=D.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},this.config.enableCEA708Captions){const N=new Cr(this,"textTrack1"),Z=new Cr(this,"textTrack2"),ve=new Cr(this,"textTrack3"),je=new Cr(this,"textTrack4");this.cea608Parser1=new at(1,N,Z),this.cea608Parser2=new at(3,ve,je)}D.on(Ie.MEDIA_ATTACHING,this.onMediaAttaching,this),D.on(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),D.on(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.on(Ie.MANIFEST_LOADED,this.onManifestLoaded,this),D.on(Ie.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),D.on(Ie.FRAG_LOADING,this.onFragLoading,this),D.on(Ie.FRAG_LOADED,this.onFragLoaded,this),D.on(Ie.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),D.on(Ie.FRAG_DECRYPTED,this.onFragDecrypted,this),D.on(Ie.INIT_PTS_FOUND,this.onInitPtsFound,this),D.on(Ie.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),D.on(Ie.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:D}=this;D.off(Ie.MEDIA_ATTACHING,this.onMediaAttaching,this),D.off(Ie.MEDIA_DETACHING,this.onMediaDetaching,this),D.off(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.off(Ie.MANIFEST_LOADED,this.onManifestLoaded,this),D.off(Ie.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),D.off(Ie.FRAG_LOADING,this.onFragLoading,this),D.off(Ie.FRAG_LOADED,this.onFragLoaded,this),D.off(Ie.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),D.off(Ie.FRAG_DECRYPTED,this.onFragDecrypted,this),D.off(Ie.INIT_PTS_FOUND,this.onInitPtsFound,this),D.off(Ie.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),D.off(Ie.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.cea608Parser1=this.cea608Parser2=null}addCues(D,N,Z,ve,je){let pt=!1;for(let Nt=je.length;Nt--;){const hn=je[Nt],gn=od(hn[0],hn[1],N,Z);if(gn>=0&&(hn[0]=Math.min(hn[0],N),hn[1]=Math.max(hn[1],Z),pt=!0,gn/(Z-N)>.5))return}if(pt||je.push([N,Z]),this.config.renderTextTracksNatively){const Nt=this.captionsTracks[D];this.Cues.newCue(Nt,N,Z,ve)}else{const Nt=this.Cues.newCue(null,N,Z,ve);this.hls.trigger(Ie.CUES_PARSED,{type:"captions",cues:Nt,track:D})}}onInitPtsFound(D,{frag:N,id:Z,initPTS:ve,timescale:je}){const{unparsedVttFrags:pt}=this;Z==="main"&&(this.initPTS[N.cc]={baseTime:ve,timescale:je}),pt.length&&(this.unparsedVttFrags=[],pt.forEach(Nt=>{this.onFragLoaded(Ie.FRAG_LOADED,Nt)}))}getExistingTrack(D){const{media:N}=this;if(N)for(let Z=0;Z<N.textTracks.length;Z++){const ve=N.textTracks[Z];if(ve[D])return ve}return null}createCaptionsTrack(D){this.config.renderTextTracksNatively?this.createNativeTrack(D):this.createNonNativeTrack(D)}createNativeTrack(D){if(this.captionsTracks[D])return;const{captionsProperties:N,captionsTracks:Z,media:ve}=this,{label:je,languageCode:pt}=N[D],Nt=this.getExistingTrack(D);if(Nt)Z[D]=Nt,Gs(Z[D]),ys(Z[D],ve);else{const hn=this.createTextTrack("captions",je,pt);hn&&(hn[D]=!0,Z[D]=hn)}}createNonNativeTrack(D){if(this.nonNativeCaptionsTracks[D])return;const N=this.captionsProperties[D];if(!N)return;const Z=N.label,ve={_id:D,label:Z,kind:"captions",default:N.media?!!N.media.default:!1,closedCaptions:N.media};this.nonNativeCaptionsTracks[D]=ve,this.hls.trigger(Ie.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[ve]})}createTextTrack(D,N,Z){const ve=this.media;if(ve)return ve.addTextTrack(D,N,Z)}onMediaAttaching(D,N){this.media=N.media,this._cleanTracks()}onMediaDetaching(){const{captionsTracks:D}=this;Object.keys(D).forEach(N=>{Gs(D[N]),delete D[N]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=yd(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:D}=this;if(!D)return;const N=D.textTracks;if(N)for(let Z=0;Z<N.length;Z++)Gs(N[Z])}onSubtitleTracksUpdated(D,N){const Z=N.subtitleTracks||[],ve=Z.some(je=>je.textCodec===Vc);if(this.config.enableWebVTT||ve&&this.config.enableIMSC1){if(Xl(this.tracks,Z)){this.tracks=Z;return}if(this.textTracks=[],this.tracks=Z,this.config.renderTextTracksNatively){const pt=this.media?this.media.textTracks:null;this.tracks.forEach((Nt,hn)=>{let gn;if(pt&&hn<pt.length){let Xn=null;for(let pr=0;pr<pt.length;pr++)if(Lc(pt[pr],Nt)){Xn=pt[pr];break}Xn&&(gn=Xn)}if(gn)Gs(gn);else{const Xn=this._captionsOrSubtitlesFromCharacteristics(Nt);gn=this.createTextTrack(Xn,Nt.name,Nt.lang),gn&&(gn.mode="disabled")}gn&&(gn.groupId=Nt.groupId,this.textTracks.push(gn))})}else if(this.tracks.length){const pt=this.tracks.map(Nt=>({label:Nt.name,kind:Nt.type.toLowerCase(),default:Nt.default,subtitleTrack:Nt}));this.hls.trigger(Ie.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:pt})}}}_captionsOrSubtitlesFromCharacteristics(D){if(D.attrs.CHARACTERISTICS){const N=/transcribes-spoken-dialog/gi.test(D.attrs.CHARACTERISTICS),Z=/describes-music-and-sound/gi.test(D.attrs.CHARACTERISTICS);if(N&&Z)return"captions"}return"subtitles"}onManifestLoaded(D,N){this.config.enableCEA708Captions&&N.captions&&N.captions.forEach(Z=>{const ve=/(?:CC|SERVICE)([1-4])/.exec(Z.instreamId);if(!ve)return;const je=`textTrack${ve[1]}`,pt=this.captionsProperties[je];pt&&(pt.label=Z.name,Z.lang&&(pt.languageCode=Z.lang),pt.media=Z)})}closedCaptionsForLevel(D){const N=this.hls.levels[D.level];return N==null?void 0:N.attrs["CLOSED-CAPTIONS"]}onFragLoading(D,N){const{cea608Parser1:Z,cea608Parser2:ve,lastSn:je,lastPartIndex:pt}=this;if(!(!this.enabled||!(Z&&ve))&&N.frag.type===Xo.MAIN){var Nt,hn;const gn=N.frag.sn,Xn=(Nt=N==null||(hn=N.part)==null?void 0:hn.index)!=null?Nt:-1;gn===je+1||gn===je&&Xn===pt+1||(Z.reset(),ve.reset()),this.lastSn=gn,this.lastPartIndex=Xn}}onFragLoaded(D,N){const{frag:Z,payload:ve}=N;if(Z.type===Xo.SUBTITLE)if(ve.byteLength){const je=Z.decryptdata,pt="stats"in N;if(je==null||!je.encrypted||pt){const Nt=this.tracks[Z.level],hn=this.vttCCs;hn[Z.cc]||(hn[Z.cc]={start:Z.start,prevCC:this.prevCC,new:!0},this.prevCC=Z.cc),Nt&&Nt.textCodec===Vc?this._parseIMSC1(Z,ve):this._parseVTTs(N)}}else this.hls.trigger(Ie.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:Z,error:new Error("Empty subtitle payload")})}_parseIMSC1(D,N){const Z=this.hls;yu(N,this.initPTS[D.cc],ve=>{this._appendCues(ve,D.level),Z.trigger(Ie.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:D})},ve=>{ze.log(`Failed to parse IMSC1: ${ve}`),Z.trigger(Ie.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:D,error:ve})})}_parseVTTs(D){var N;const{frag:Z,payload:ve}=D,{initPTS:je,unparsedVttFrags:pt}=this,Nt=je.length-1;if(!je[Z.cc]&&Nt===-1){pt.push(D);return}const hn=this.hls,gn=(N=Z.initSegment)!=null&&N.data?et(Z.initSegment.data,new Uint8Array(ve)):ve;Zl(gn,this.initPTS[Z.cc],this.vttCCs,Z.cc,Z.start,Xn=>{this._appendCues(Xn,Z.level),hn.trigger(Ie.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:Z})},Xn=>{const pr=Xn.message==="Missing initPTS for VTT MPEGTS";pr?pt.push(D):this._fallbackToIMSC1(Z,ve),ze.log(`Failed to parse VTT cue: ${Xn}`),!(pr&&Nt>Z.cc)&&hn.trigger(Ie.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:Z,error:Xn})})}_fallbackToIMSC1(D,N){const Z=this.tracks[D.level];Z.textCodec||yu(N,this.initPTS[D.cc],()=>{Z.textCodec=Vc,this._parseIMSC1(D,N)},()=>{Z.textCodec="wvtt"})}_appendCues(D,N){const Z=this.hls;if(this.config.renderTextTracksNatively){const ve=this.textTracks[N];if(!ve||ve.mode==="disabled")return;D.forEach(je=>Ys(ve,je))}else{const ve=this.tracks[N];if(!ve)return;const je=ve.default?"default":"subtitles"+N;Z.trigger(Ie.CUES_PARSED,{type:"subtitles",cues:D,track:je})}}onFragDecrypted(D,N){const{frag:Z}=N;Z.type===Xo.SUBTITLE&&this.onFragLoaded(Ie.FRAG_LOADED,N)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(D,N){const{cea608Parser1:Z,cea608Parser2:ve}=this;if(!this.enabled||!(Z&&ve))return;const{frag:je,samples:pt}=N;if(!(je.type===Xo.MAIN&&this.closedCaptionsForLevel(je)==="NONE"))for(let Nt=0;Nt<pt.length;Nt++){const hn=pt[Nt].bytes;if(hn){const gn=this.extractCea608Data(hn);Z.addData(pt[Nt].pts,gn[0]),ve.addData(pt[Nt].pts,gn[1])}}}onBufferFlushing(D,{startOffset:N,endOffset:Z,endOffsetSubtitles:ve,type:je}){const{media:pt}=this;if(!(!pt||pt.currentTime<Z)){if(!je||je==="video"){const{captionsTracks:Nt}=this;Object.keys(Nt).forEach(hn=>xs(Nt[hn],N,Z))}if(this.config.renderTextTracksNatively&&N===0&&ve!==void 0){const{textTracks:Nt}=this;Object.keys(Nt).forEach(hn=>xs(Nt[hn],N,ve))}}}extractCea608Data(D){const N=[[],[]],Z=D[0]&31;let ve=2;for(let je=0;je<Z;je++){const pt=D[ve++],Nt=127&D[ve++],hn=127&D[ve++];if(Nt===0&&hn===0)continue;if((4&pt)!==0){const Xn=3&pt;(Xn===0||Xn===1)&&(N[Xn].push(Nt),N[Xn].push(hn))}}return N}}function Lc(Et,D){return!!Et&&Et.label===D.name&&!(Et.textTrack1||Et.textTrack2)}function od(Et,D,N,Z){return Math.min(D,Z)-Math.max(Et,N)}function yd(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}class cd{constructor(D){this.hls=void 0,this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.clientRect=void 0,this.streamController=void 0,this.hls=D,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}setStreamController(D){this.streamController=D}destroy(){this.unregisterListener(),this.hls.config.capLevelToPlayerSize&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null}registerListeners(){const{hls:D}=this;D.on(Ie.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),D.on(Ie.MEDIA_ATTACHING,this.onMediaAttaching,this),D.on(Ie.MANIFEST_PARSED,this.onManifestParsed,this),D.on(Ie.BUFFER_CODECS,this.onBufferCodecs,this),D.on(Ie.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:D}=this;D.off(Ie.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),D.off(Ie.MEDIA_ATTACHING,this.onMediaAttaching,this),D.off(Ie.MANIFEST_PARSED,this.onManifestParsed,this),D.off(Ie.BUFFER_CODECS,this.onBufferCodecs,this),D.off(Ie.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(D,N){const Z=this.hls.levels[N.droppedLevel];this.isLevelAllowed(Z)&&this.restrictedLevels.push({bitrate:Z.bitrate,height:Z.height,width:Z.width})}onMediaAttaching(D,N){this.media=N.media instanceof HTMLVideoElement?N.media:null,this.clientRect=null}onManifestParsed(D,N){const Z=this.hls;this.restrictedLevels=[],this.firstLevel=N.firstLevel,Z.config.capLevelToPlayerSize&&N.video&&this.startCapping()}onBufferCodecs(D,N){this.hls.config.capLevelToPlayerSize&&N.video&&this.startCapping()}onMediaDetaching(){this.stopCapping()}detectPlayerSize(){if(this.media&&this.mediaHeight>0&&this.mediaWidth>0){const D=this.hls.levels;if(D.length){const N=this.hls;N.autoLevelCapping=this.getMaxLevel(D.length-1),N.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=N.autoLevelCapping}}}getMaxLevel(D){const N=this.hls.levels;if(!N.length)return-1;const Z=N.filter((ve,je)=>this.isLevelAllowed(ve)&&je<=D);return this.clientRect=null,cd.getMaxLevelByMediaSize(Z,this.mediaWidth,this.mediaHeight)}startCapping(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,this.hls.firstLevel=this.getMaxLevel(this.firstLevel),self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())}stopCapping(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)}getDimensions(){if(this.clientRect)return this.clientRect;const D=this.media,N={width:0,height:0};if(D){const Z=D.getBoundingClientRect();N.width=Z.width,N.height=Z.height,!N.width&&!N.height&&(N.width=Z.right-Z.left||D.width||0,N.height=Z.bottom-Z.top||D.height||0)}return this.clientRect=N,N}get mediaWidth(){return this.getDimensions().width*this.contentScaleFactor}get mediaHeight(){return this.getDimensions().height*this.contentScaleFactor}get contentScaleFactor(){let D=1;if(!this.hls.config.ignoreDevicePixelRatio)try{D=self.devicePixelRatio}catch{}return D}isLevelAllowed(D){return!this.restrictedLevels.some(Z=>D.bitrate===Z.bitrate&&D.width===Z.width&&D.height===Z.height)}static getMaxLevelByMediaSize(D,N,Z){if(!(D!=null&&D.length))return-1;const ve=(pt,Nt)=>Nt?pt.width!==Nt.width||pt.height!==Nt.height:!0;let je=D.length-1;for(let pt=0;pt<D.length;pt+=1){const Nt=D[pt];if((Nt.width>=N||Nt.height>=Z)&&ve(Nt,D[pt+1])){je=pt;break}}return je}}class Vd{constructor(D){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=D,this.registerListeners()}setStreamController(D){this.streamController=D}registerListeners(){this.hls.on(Ie.MEDIA_ATTACHING,this.onMediaAttaching,this)}unregisterListeners(){this.hls.off(Ie.MEDIA_ATTACHING,this.onMediaAttaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(D,N){const Z=this.hls.config;if(Z.capLevelOnFPSDrop){const ve=N.media instanceof self.HTMLVideoElement?N.media:null;this.media=ve,ve&&typeof ve.getVideoPlaybackQuality=="function"&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),Z.fpsDroppedMonitoringPeriod)}}checkFPS(D,N,Z){const ve=performance.now();if(N){if(this.lastTime){const je=ve-this.lastTime,pt=Z-this.lastDroppedFrames,Nt=N-this.lastDecodedFrames,hn=1e3*pt/je,gn=this.hls;if(gn.trigger(Ie.FPS_DROP,{currentDropped:pt,currentDecoded:Nt,totalDroppedFrames:Z}),hn>0&&pt>gn.config.fpsDroppedMonitoringThreshold*Nt){let Xn=gn.currentLevel;ze.warn("drop FPS ratio greater than max allowed value for currentLevel: "+Xn),Xn>0&&(gn.autoLevelCapping===-1||gn.autoLevelCapping>=Xn)&&(Xn=Xn-1,gn.trigger(Ie.FPS_DROP_LEVEL_CAPPING,{level:Xn,droppedLevel:gn.currentLevel}),gn.autoLevelCapping=Xn,this.streamController.nextLevelSwitch())}}this.lastTime=ve,this.lastDroppedFrames=Z,this.lastDecodedFrames=N}}checkFPSInterval(){const D=this.media;if(D)if(this.isVideoPlaybackQualityAvailable){const N=D.getVideoPlaybackQuality();this.checkFPS(D,N.totalVideoFrames,N.droppedVideoFrames)}else this.checkFPS(D,D.webkitDecodedFrameCount,D.webkitDroppedFrameCount)}}const Od="[eme]";class ud{constructor(D){this.hls=void 0,this.config=void 0,this.media=null,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.setMediaKeysQueue=ud.CDMCleanupPromise?[ud.CDMCleanupPromise]:[],this.onMediaEncrypted=this._onMediaEncrypted.bind(this),this.onWaitingForKey=this._onWaitingForKey.bind(this),this.debug=ze.debug.bind(ze,Od),this.log=ze.log.bind(ze,Od),this.warn=ze.warn.bind(ze,Od),this.error=ze.error.bind(ze,Od),this.hls=D,this.config=D.config,this.registerListeners()}destroy(){this.unregisterListeners(),this.onMediaDetached();const D=this.config;D.requestMediaKeySystemAccessFunc=null,D.licenseXhrSetup=D.licenseResponseCallback=void 0,D.drmSystems=D.drmSystemOptions={},this.hls=this.onMediaEncrypted=this.onWaitingForKey=this.keyIdToKeySessionPromise=null,this.config=null}registerListeners(){this.hls.on(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(Ie.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(Ie.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(Ie.MANIFEST_LOADED,this.onManifestLoaded,this)}unregisterListeners(){this.hls.off(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(Ie.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(Ie.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(Ie.MANIFEST_LOADED,this.onManifestLoaded,this)}getLicenseServerUrl(D){const{drmSystems:N,widevineLicenseUrl:Z}=this.config,ve=N[D];if(ve)return ve.licenseUrl;if(D===fo.WIDEVINE&&Z)return Z;throw new Error(`no license server URL configured for key-system "${D}"`)}getServerCertificateUrl(D){const{drmSystems:N}=this.config,Z=N[D];if(Z)return Z.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${D}"]`)}attemptKeySystemAccess(D){const N=this.hls.levels,Z=(pt,Nt,hn)=>!!pt&&hn.indexOf(pt)===Nt,ve=N.map(pt=>pt.audioCodec).filter(Z),je=N.map(pt=>pt.videoCodec).filter(Z);return ve.length+je.length===0&&je.push("avc1.42e01e"),new Promise((pt,Nt)=>{const hn=gn=>{const Xn=gn.shift();this.getMediaKeysPromise(Xn,ve,je).then(pr=>pt({keySystem:Xn,mediaKeys:pr})).catch(pr=>{gn.length?hn(gn):pr instanceof Tl?Nt(pr):Nt(new Tl({type:Bt.KEY_SYSTEM_ERROR,details:mt.KEY_SYSTEM_NO_ACCESS,error:pr,fatal:!0},pr.message))})};hn(D)})}requestMediaKeySystemAccess(D,N){const{requestMediaKeySystemAccessFunc:Z}=this.config;if(typeof Z!="function"){let ve=`Configured requestMediaKeySystemAccess is not a function ${Z}`;return Qt===null&&self.location.protocol==="http:"&&(ve=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(ve))}return Z(D,N)}getMediaKeysPromise(D,N,Z){const ve=qt(D,N,Z,this.config.drmSystemOptions),je=this.keySystemAccessPromises[D];let pt=je==null?void 0:je.keySystemAccess;if(!pt){this.log(`Requesting encrypted media "${D}" key-system access with config: ${JSON.stringify(ve)}`),pt=this.requestMediaKeySystemAccess(D,ve);const Nt=this.keySystemAccessPromises[D]={keySystemAccess:pt};return pt.catch(hn=>{this.log(`Failed to obtain access to key-system "${D}": ${hn}`)}),pt.then(hn=>{this.log(`Access for key-system "${hn.keySystem}" obtained`);const gn=this.fetchServerCertificate(D);return this.log(`Create media-keys for "${D}"`),Nt.mediaKeys=hn.createMediaKeys().then(Xn=>(this.log(`Media-keys created for "${D}"`),gn.then(pr=>pr?this.setMediaKeysServerCertificate(Xn,D,pr):Xn))),Nt.mediaKeys.catch(Xn=>{this.error(`Failed to create media-keys for "${D}"}: ${Xn}`)}),Nt.mediaKeys})}return pt.then(()=>je.mediaKeys)}createMediaKeySessionContext({decryptdata:D,keySystem:N,mediaKeys:Z}){this.log(`Creating key-system session "${N}" keyId: ${Pr.hexDump(D.keyId||[])}`);const ve=Z.createSession(),je={decryptdata:D,keySystem:N,mediaKeys:Z,mediaKeysSession:ve,keyStatus:"status-pending"};return this.mediaKeySessions.push(je),je}renewKeySession(D){const N=D.decryptdata;if(N.pssh){const Z=this.createMediaKeySessionContext(D),ve=this.getKeyIdString(N),je="cenc";this.keyIdToKeySessionPromise[ve]=this.generateRequestWithPreferredKeySession(Z,je,N.pssh,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(D)}getKeyIdString(D){if(!D)throw new Error("Could not read keyId of undefined decryptdata");if(D.keyId===null)throw new Error("keyId is null");return Pr.hexDump(D.keyId)}updateKeySession(D,N){var Z;const ve=D.mediaKeysSession;return this.log(`Updating key-session "${ve.sessionId}" for keyID ${Pr.hexDump(((Z=D.decryptdata)==null?void 0:Z.keyId)||[])}
      } (data length: ${N&&N.byteLength})`),ve.update(N)}selectKeySystemFormat(D){const N=Object.keys(D.levelkeys||{});return this.keyFormatPromise||(this.log(`Selecting key-system from fragment (sn: ${D.sn} ${D.type}: ${D.level}) key formats ${N.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(N)),this.keyFormatPromise}getKeyFormatPromise(D){return new Promise((N,Z)=>{const ve=xt(this.config),je=D.map(ro).filter(pt=>!!pt&&ve.indexOf(pt)!==-1);return this.getKeySystemSelectionPromise(je).then(({keySystem:pt})=>{const Nt=At(pt);Nt?N(Nt):Z(new Error(`Unable to find format for key-system "${pt}"`))}).catch(Z)})}loadKey(D){const N=D.keyInfo.decryptdata,Z=this.getKeyIdString(N),ve=`(keyId: ${Z} format: "${N.keyFormat}" method: ${N.method} uri: ${N.uri})`;this.log(`Starting session for key ${ve}`);let je=this.keyIdToKeySessionPromise[Z];return je||(je=this.keyIdToKeySessionPromise[Z]=this.getKeySystemForKeyPromise(N).then(({keySystem:pt,mediaKeys:Nt})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${D.frag.sn} ${D.frag.type}: ${D.frag.level} using key ${ve}`),this.attemptSetMediaKeys(pt,Nt).then(()=>{this.throwIfDestroyed();const hn=this.createMediaKeySessionContext({keySystem:pt,mediaKeys:Nt,decryptdata:N}),gn="cenc";return this.generateRequestWithPreferredKeySession(hn,gn,N.pssh,"playlist-key")}))),je.catch(pt=>this.handleError(pt))),je}throwIfDestroyed(D="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(D){this.hls&&(this.error(D.message),D instanceof Tl?this.hls.trigger(Ie.ERROR,D.data):this.hls.trigger(Ie.ERROR,{type:Bt.KEY_SYSTEM_ERROR,details:mt.KEY_SYSTEM_NO_KEYS,error:D,fatal:!0}))}getKeySystemForKeyPromise(D){const N=this.getKeyIdString(D),Z=this.keyIdToKeySessionPromise[N];if(!Z){const ve=ro(D.keyFormat),je=ve?[ve]:xt(this.config);return this.attemptKeySystemAccess(je)}return Z}getKeySystemSelectionPromise(D){if(D.length||(D=xt(this.config)),D.length===0)throw new Tl({type:Bt.KEY_SYSTEM_ERROR,details:mt.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${JSON.stringify({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(D)}_onMediaEncrypted(D){const{initDataType:N,initData:Z}=D;if(this.debug(`"${D.type}" event: init data type: "${N}"`),Z===null)return;let ve,je;if(N==="sinf"&&this.config.drmSystems[fo.FAIRPLAY]){const Xn=vr(new Uint8Array(Z));try{const pr=Nn(JSON.parse(Xn).sinf),Zr=Qe(new Uint8Array(pr));if(!Zr)return;ve=Zr.subarray(8,24),je=fo.FAIRPLAY}catch{this.warn('Failed to parse sinf "encrypted" event message initData');return}}else{const Xn=io(Z);if(Xn===null)return;Xn.version===0&&Xn.systemId===Xt.WIDEVINE&&Xn.data&&(ve=Xn.data.subarray(8,24)),je=Je(Xn.systemId)}if(!je||!ve)return;const pt=Pr.hexDump(ve),{keyIdToKeySessionPromise:Nt,mediaKeySessions:hn}=this;let gn=Nt[pt];for(let Xn=0;Xn<hn.length;Xn++){const pr=hn[Xn],Zr=pr.decryptdata;if(Zr.pssh||!Zr.keyId)continue;const oo=Pr.hexDump(Zr.keyId);if(pt===oo||Zr.uri.replace(/-/g,"").indexOf(pt)!==-1){gn=Nt[oo],delete Nt[oo],Zr.pssh=new Uint8Array(Z),Zr.keyId=ve,gn=Nt[pt]=gn.then(()=>this.generateRequestWithPreferredKeySession(pr,N,Z,"encrypted-event-key-match"));break}}gn||(gn=Nt[pt]=this.getKeySystemSelectionPromise([je]).then(({keySystem:Xn,mediaKeys:pr})=>{var Zr;this.throwIfDestroyed();const oo=new xo("ISO-23001-7",pt,(Zr=At(Xn))!=null?Zr:"");return oo.pssh=new Uint8Array(Z),oo.keyId=ve,this.attemptSetMediaKeys(Xn,pr).then(()=>{this.throwIfDestroyed();const vo=this.createMediaKeySessionContext({decryptdata:oo,keySystem:Xn,mediaKeys:pr});return this.generateRequestWithPreferredKeySession(vo,N,Z,"encrypted-event-no-match")})})),gn.catch(Xn=>this.handleError(Xn))}_onWaitingForKey(D){this.log(`"${D.type}" event`)}attemptSetMediaKeys(D,N){const Z=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${D}"`);const ve=Promise.all(Z).then(()=>{if(!this.media)throw new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(N)});return this.setMediaKeysQueue.push(ve),ve.then(()=>{this.log(`Media-keys set for "${D}"`),Z.push(ve),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(je=>Z.indexOf(je)===-1)})}generateRequestWithPreferredKeySession(D,N,Z,ve){var je,pt;const Nt=(je=this.config.drmSystems)==null||(pt=je[D.keySystem])==null?void 0:pt.generateRequest;if(Nt)try{const Zr=Nt.call(this.hls,N,Z,D);if(!Zr)throw new Error("Invalid response from configured generateRequest filter");N=Zr.initDataType,Z=D.decryptdata.pssh=Zr.initData?new Uint8Array(Zr.initData):null}catch(Zr){var hn;if(this.warn(Zr.message),(hn=this.hls)!=null&&hn.config.debug)throw Zr}if(Z===null)return this.log(`Skipping key-session request for "${ve}" (no initData)`),Promise.resolve(D);const gn=this.getKeyIdString(D.decryptdata);this.log(`Generating key-session request for "${ve}": ${gn} (init data type: ${N} length: ${Z?Z.byteLength:null})`);const Xn=new sa;D.mediaKeysSession.onmessage=Zr=>{const oo=D.mediaKeysSession;if(!oo){Xn.emit("error",new Error("invalid state"));return}const{messageType:vo,message:Fo}=Zr;this.log(`"${vo}" message event for session "${oo.sessionId}" message size: ${Fo.byteLength}`),vo==="license-request"||vo==="license-renewal"?this.renewLicense(D,Fo).catch(Go=>{this.handleError(Go),Xn.emit("error",Go)}):vo==="license-release"?D.keySystem===fo.FAIRPLAY&&(this.updateKeySession(D,Hr("acknowledged")),this.removeSession(D)):this.warn(`unhandled media key message type "${vo}"`)},D.mediaKeysSession.onkeystatuseschange=Zr=>{if(!D.mediaKeysSession){Xn.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(D);const vo=D.keyStatus;Xn.emit("keyStatus",vo),vo==="expired"&&(this.warn(`${D.keySystem} expired for key ${gn}`),this.renewKeySession(D))};const pr=new Promise((Zr,oo)=>{Xn.on("error",oo),Xn.on("keyStatus",vo=>{vo.startsWith("usable")?Zr():vo==="output-restricted"?oo(new Tl({type:Bt.KEY_SYSTEM_ERROR,details:mt.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):vo==="internal-error"?oo(new Tl({type:Bt.KEY_SYSTEM_ERROR,details:mt.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${vo}"`)):vo==="expired"?oo(new Error("key expired while generating request")):this.warn(`unhandled key status change "${vo}"`)})});return D.mediaKeysSession.generateRequest(N,Z).then(()=>{var Zr;this.log(`Request generated for key-session "${(Zr=D.mediaKeysSession)==null?void 0:Zr.sessionId}" keyId: ${gn}`)}).catch(Zr=>{throw new Tl({type:Bt.KEY_SYSTEM_ERROR,details:mt.KEY_SYSTEM_NO_SESSION,error:Zr,fatal:!1},`Error generating key-session request: ${Zr}`)}).then(()=>pr).catch(Zr=>{throw Xn.removeAllListeners(),this.removeSession(D),Zr}).then(()=>(Xn.removeAllListeners(),D))}onKeyStatusChange(D){D.mediaKeysSession.keyStatuses.forEach((N,Z)=>{this.log(`key status change "${N}" for keyStatuses keyId: ${Pr.hexDump("buffer"in Z?new Uint8Array(Z.buffer,Z.byteOffset,Z.byteLength):new Uint8Array(Z))} session keyId: ${Pr.hexDump(new Uint8Array(D.decryptdata.keyId||[]))} uri: ${D.decryptdata.uri}`),D.keyStatus=N})}fetchServerCertificate(D){const N=this.config,Z=N.loader,ve=new Z(N),je=this.getServerCertificateUrl(D);return je?(this.log(`Fetching serverCertificate for "${D}"`),new Promise((pt,Nt)=>{const hn={responseType:"arraybuffer",url:je},gn=N.certLoadPolicy.default,Xn={loadPolicy:gn,timeout:gn.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},pr={onSuccess:(Zr,oo,vo,Fo)=>{pt(Zr.data)},onError:(Zr,oo,vo,Fo)=>{Nt(new Tl({type:Bt.KEY_SYSTEM_ERROR,details:mt.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:vo,response:Fe({url:hn.url,data:void 0},Zr)},`"${D}" certificate request failed (${je}). Status: ${Zr.code} (${Zr.text})`))},onTimeout:(Zr,oo,vo)=>{Nt(new Tl({type:Bt.KEY_SYSTEM_ERROR,details:mt.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:vo,response:{url:hn.url,data:void 0}},`"${D}" certificate request timed out (${je})`))},onAbort:(Zr,oo,vo)=>{Nt(new Error("aborted"))}};ve.load(hn,Xn,pr)})):Promise.resolve()}setMediaKeysServerCertificate(D,N,Z){return new Promise((ve,je)=>{D.setServerCertificate(Z).then(pt=>{this.log(`setServerCertificate ${pt?"success":"not supported by CDM"} (${Z==null?void 0:Z.byteLength}) on "${N}"`),ve(D)}).catch(pt=>{je(new Tl({type:Bt.KEY_SYSTEM_ERROR,details:mt.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:pt,fatal:!0},pt.message))})})}renewLicense(D,N){return this.requestLicense(D,new Uint8Array(N)).then(Z=>this.updateKeySession(D,new Uint8Array(Z)).catch(ve=>{throw new Tl({type:Bt.KEY_SYSTEM_ERROR,details:mt.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:ve,fatal:!0},ve.message)}))}setupLicenseXHR(D,N,Z,ve){const je=this.config.licenseXhrSetup;return je?Promise.resolve().then(()=>{if(!Z.decryptdata)throw new Error("Key removed");return je.call(this.hls,D,N,Z,ve)}).catch(pt=>{if(!Z.decryptdata)throw pt;return D.open("POST",N,!0),je.call(this.hls,D,N,Z,ve)}).then(pt=>(D.readyState||D.open("POST",N,!0),{xhr:D,licenseChallenge:pt||ve})):(D.open("POST",N,!0),Promise.resolve({xhr:D,licenseChallenge:ve}))}requestLicense(D,N){const Z=this.config.keyLoadPolicy.default;return new Promise((ve,je)=>{const pt=this.getLicenseServerUrl(D.keySystem);this.log(`Sending license request to URL: ${pt}`);const Nt=new XMLHttpRequest;Nt.responseType="arraybuffer",Nt.onreadystatechange=()=>{if(!this.hls||!D.mediaKeysSession)return je(new Error("invalid state"));if(Nt.readyState===4)if(Nt.status===200){this._requestLicenseFailureCount=0;let hn=Nt.response;this.log(`License received ${hn instanceof ArrayBuffer?hn.byteLength:hn}`);const gn=this.config.licenseResponseCallback;if(gn)try{hn=gn.call(this.hls,Nt,pt,D)}catch(Xn){this.error(Xn)}ve(hn)}else{const hn=Z.errorRetry,gn=hn?hn.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>gn||Nt.status>=400&&Nt.status<500)je(new Tl({type:Bt.KEY_SYSTEM_ERROR,details:mt.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:Nt,response:{url:pt,data:void 0,code:Nt.status,text:Nt.statusText}},`License Request XHR failed (${pt}). Status: ${Nt.status} (${Nt.statusText})`));else{const Xn=gn-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${Xn} attempts left`),this.requestLicense(D,N).then(ve,je)}}},D.licenseXhr&&D.licenseXhr.readyState!==XMLHttpRequest.DONE&&D.licenseXhr.abort(),D.licenseXhr=Nt,this.setupLicenseXHR(Nt,pt,D,N).then(({xhr:hn,licenseChallenge:gn})=>{hn.send(gn)})})}onMediaAttached(D,N){if(!this.config.emeEnabled)return;const Z=N.media;this.media=Z,Z.addEventListener("encrypted",this.onMediaEncrypted),Z.addEventListener("waitingforkey",this.onWaitingForKey)}onMediaDetached(){const D=this.media,N=this.mediaKeySessions;D&&(D.removeEventListener("encrypted",this.onMediaEncrypted),D.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null),this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},xo.clearKeyUriToKeyIdMap();const Z=N.length;ud.CDMCleanupPromise=Promise.all(N.map(ve=>this.removeSession(ve)).concat(D==null?void 0:D.setMediaKeys(null).catch(ve=>{this.log(`Could not clear media keys: ${ve}. media.src: ${D==null?void 0:D.src}`)}))).then(()=>{Z&&(this.log("finished closing key sessions and clearing media keys"),N.length=0)}).catch(ve=>{this.log(`Could not close sessions and clear media keys: ${ve}. media.src: ${D==null?void 0:D.src}`)})}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(D,{sessionKeys:N}){if(!(!N||!this.config.emeEnabled)&&!this.keyFormatPromise){const Z=N.reduce((ve,je)=>(ve.indexOf(je.keyFormat)===-1&&ve.push(je.keyFormat),ve),[]);this.log(`Selecting key-system from session-keys ${Z.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(Z)}}removeSession(D){const{mediaKeysSession:N,licenseXhr:Z}=D;if(N){this.log(`Remove licenses and keys and close session ${N.sessionId}`),N.onmessage=null,N.onkeystatuseschange=null,Z&&Z.readyState!==XMLHttpRequest.DONE&&Z.abort(),D.mediaKeysSession=D.decryptdata=D.licenseXhr=void 0;const ve=this.mediaKeySessions.indexOf(D);return ve>-1&&this.mediaKeySessions.splice(ve,1),N.remove().catch(je=>{this.log(`Could not remove session: ${je}`)}).then(()=>N.close()).catch(je=>{this.log(`Could not close session: ${je}`)})}}}ud.CDMCleanupPromise=void 0;class Tl extends Error{constructor(D,N){super(N),this.data=void 0,D.error||(D.error=new Error(N)),this.data=D,D.err=D.error}}const nu=1;var uu={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"};const dd="h";class Tu{constructor(D){this.hls=void 0,this.config=void 0,this.media=void 0,this.sid=void 0,this.cid=void 0,this.useHeaders=!1,this.initialized=!1,this.starved=!1,this.buffering=!0,this.audioBuffer=void 0,this.videoBuffer=void 0,this.onWaiting=()=>{this.initialized&&(this.starved=!0),this.buffering=!0},this.onPlaying=()=>{this.initialized||(this.initialized=!0),this.buffering=!1},this.applyPlaylistData=ve=>{try{this.apply(ve,{ot:uu.MANIFEST,su:!this.initialized})}catch(je){ze.warn("Could not generate manifest CMCD data.",je)}},this.applyFragmentData=ve=>{try{const je=ve.frag,pt=this.hls.levels[je.level],Nt=this.getObjectType(je),hn={d:je.duration*1e3,ot:Nt};(Nt===uu.VIDEO||Nt===uu.AUDIO||Nt==uu.MUXED)&&(hn.br=pt.bitrate/1e3,hn.tb=this.getTopBandwidth(Nt)/1e3,hn.bl=this.getBufferLength(Nt)),this.apply(ve,hn)}catch(je){ze.warn("Could not generate segment CMCD data.",je)}},this.hls=D;const N=this.config=D.config,{cmcd:Z}=N;Z!=null&&(N.pLoader=this.createPlaylistLoader(),N.fLoader=this.createFragmentLoader(),this.sid=Z.sessionId||Tu.uuid(),this.cid=Z.contentId,this.useHeaders=Z.useHeaders===!0,this.registerListeners())}registerListeners(){const D=this.hls;D.on(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),D.on(Ie.MEDIA_DETACHED,this.onMediaDetached,this),D.on(Ie.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const D=this.hls;D.off(Ie.MEDIA_ATTACHED,this.onMediaAttached,this),D.off(Ie.MEDIA_DETACHED,this.onMediaDetached,this),D.off(Ie.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null}onMediaAttached(D,N){this.media=N.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)}onMediaDetached(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)}onBufferCreated(D,N){var Z,ve;this.audioBuffer=(Z=N.tracks.audio)==null?void 0:Z.buffer,this.videoBuffer=(ve=N.tracks.video)==null?void 0:ve.buffer}createData(){var D;return{v:nu,sf:dd,sid:this.sid,cid:this.cid,pr:(D=this.media)==null?void 0:D.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(D,N={}){Ne(N,this.createData());const Z=N.ot===uu.INIT||N.ot===uu.VIDEO||N.ot===uu.MUXED;if(this.starved&&Z&&(N.bs=!0,N.su=!0,this.starved=!1),N.su==null&&(N.su=this.buffering),this.useHeaders){const ve=Tu.toHeaders(N);if(!Object.keys(ve).length)return;D.headers||(D.headers={}),Ne(D.headers,ve)}else{const ve=Tu.toQuery(N);if(!ve)return;D.url=Tu.appendQueryToUri(D.url,ve)}}getObjectType(D){const{type:N}=D;if(N==="subtitle")return uu.TIMED_TEXT;if(D.sn==="initSegment")return uu.INIT;if(N==="audio")return uu.AUDIO;if(N==="main")return this.hls.audioTracks.length?uu.VIDEO:uu.MUXED}getTopBandwidth(D){let N=0,Z;const ve=this.hls;if(D===uu.AUDIO)Z=ve.audioTracks;else{const je=ve.maxAutoLevel,pt=je>-1?je+1:ve.levels.length;Z=ve.levels.slice(0,pt)}for(const je of Z)je.bitrate>N&&(N=je.bitrate);return N>0?N:NaN}getBufferLength(D){const N=this.hls.media,Z=D===uu.AUDIO?this.audioBuffer:this.videoBuffer;return!Z||!N?NaN:oi.bufferInfo(Z,N.currentTime,this.config.maxBufferHole).len*1e3}createPlaylistLoader(){const{pLoader:D}=this.config,N=this.applyPlaylistData,Z=D||this.config.loader;return class{constructor(je){this.loader=void 0,this.loader=new Z(je)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(je,pt,Nt){N(je),this.loader.load(je,pt,Nt)}}}createFragmentLoader(){const{fLoader:D}=this.config,N=this.applyFragmentData,Z=D||this.config.loader;return class{constructor(je){this.loader=void 0,this.loader=new Z(je)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(je,pt,Nt){N(je),this.loader.load(je,pt,Nt)}}}static uuid(){const D=URL.createObjectURL(new Blob),N=D.toString();return URL.revokeObjectURL(D),N.slice(N.lastIndexOf("/")+1)}static serialize(D){const N=[],Z=gn=>!Number.isNaN(gn)&&gn!=null&&gn!==""&&gn!==!1,ve=gn=>Math.round(gn),je=gn=>ve(gn/100)*100,Nt={br:ve,d:ve,bl:je,dl:je,mtp:je,nor:gn=>encodeURIComponent(gn),rtp:je,tb:ve},hn=Object.keys(D||{}).sort();for(const gn of hn){let Xn=D[gn];if(!Z(Xn)||gn==="v"&&Xn===1||gn=="pr"&&Xn===1)continue;const pr=Nt[gn];pr&&(Xn=pr(Xn));const Zr=typeof Xn;let oo;gn==="ot"||gn==="sf"||gn==="st"?oo=`${gn}=${Xn}`:Zr==="boolean"?oo=gn:Zr==="number"?oo=`${gn}=${Xn}`:oo=`${gn}=${JSON.stringify(Xn)}`,N.push(oo)}return N.join(",")}static toHeaders(D){const N=Object.keys(D),Z={},ve=["Object","Request","Session","Status"],je=[{},{},{},{}],pt={br:0,d:0,ot:0,tb:0,bl:1,dl:1,mtp:1,nor:1,nrr:1,su:1,cid:2,pr:2,sf:2,sid:2,st:2,v:2,bs:3,rtp:3};for(const Nt of N){const hn=pt[Nt]!=null?pt[Nt]:1;je[hn][Nt]=D[Nt]}for(let Nt=0;Nt<je.length;Nt++){const hn=Tu.serialize(je[Nt]);hn&&(Z[`CMCD-${ve[Nt]}`]=hn)}return Z}static toQuery(D){return`CMCD=${encodeURIComponent(Tu.serialize(D))}`}static appendQueryToUri(D,N){if(!N)return D;const Z=D.includes("?")?"&":"?";return`${D}${Z}${N}`}}const Wd=3e5;class qd{constructor(D){this.hls=void 0,this.log=void 0,this.loader=null,this.uri=null,this.pathwayId=".",this.pathwayPriority=null,this.timeToLoad=300,this.reloadTimer=-1,this.updated=0,this.started=!1,this.enabled=!0,this.levels=null,this.audioTracks=null,this.subtitleTracks=null,this.penalizedPathways={},this.hls=D,this.log=ze.log.bind(ze,"[content-steering]:"),this.registerListeners()}registerListeners(){const D=this.hls;D.on(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.on(Ie.MANIFEST_LOADED,this.onManifestLoaded,this),D.on(Ie.MANIFEST_PARSED,this.onManifestParsed,this),D.on(Ie.ERROR,this.onError,this)}unregisterListeners(){const D=this.hls;D&&(D.off(Ie.MANIFEST_LOADING,this.onManifestLoading,this),D.off(Ie.MANIFEST_LOADED,this.onManifestLoaded,this),D.off(Ie.MANIFEST_PARSED,this.onManifestParsed,this),D.off(Ie.ERROR,this.onError,this))}startLoad(){if(this.started=!0,self.clearTimeout(this.reloadTimer),this.enabled&&this.uri)if(this.updated){const D=Math.max(this.timeToLoad*1e3-(performance.now()-this.updated),0);this.scheduleRefresh(this.uri,D)}else this.loadSteeringManifest(this.uri)}stopLoad(){this.started=!1,this.loader&&(this.loader.destroy(),this.loader=null),self.clearTimeout(this.reloadTimer)}destroy(){this.unregisterListeners(),this.stopLoad(),this.hls=null,this.levels=this.audioTracks=this.subtitleTracks=null}removeLevel(D){const N=this.levels;N&&(this.levels=N.filter(Z=>Z!==D))}onManifestLoading(){this.stopLoad(),this.enabled=!0,this.timeToLoad=300,this.updated=0,this.uri=null,this.pathwayId=".",this.levels=this.audioTracks=this.subtitleTracks=null}onManifestLoaded(D,N){const{contentSteering:Z}=N;Z!==null&&(this.pathwayId=Z.pathwayId,this.uri=Z.uri,this.started&&this.startLoad())}onManifestParsed(D,N){this.audioTracks=N.audioTracks,this.subtitleTracks=N.subtitleTracks}onError(D,N){const{errorAction:Z}=N;if((Z==null?void 0:Z.action)===$t.SendAlternateToPenaltyBox&&Z.flags===_n.MoveAllAlternatesMatchingHost){let ve=this.pathwayPriority;const je=this.pathwayId;this.penalizedPathways[je]||(this.penalizedPathways[je]=performance.now()),!ve&&this.levels&&(ve=this.levels.reduce((pt,Nt)=>(pt.indexOf(Nt.pathwayId)===-1&&pt.push(Nt.pathwayId),pt),[])),ve&&ve.length>1&&(this.updatePathwayPriority(ve),Z.resolved=this.pathwayId!==je)}}filterParsedLevels(D){this.levels=D;let N=this.getLevelsForPathway(this.pathwayId);if(N.length===0){const Z=D[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${Z}"`),N=this.getLevelsForPathway(Z),this.pathwayId=Z}return N.length!==D.length?(this.log(`Found ${N.length}/${D.length} levels in Pathway "${this.pathwayId}"`),N):D}getLevelsForPathway(D){return this.levels===null?[]:this.levels.filter(N=>D===N.pathwayId)}updatePathwayPriority(D){this.pathwayPriority=D;let N;const Z=this.penalizedPathways,ve=performance.now();Object.keys(Z).forEach(je=>{ve-Z[je]>Wd&&delete Z[je]});for(let je=0;je<D.length;je++){const pt=D[je];if(Z[pt])continue;if(pt===this.pathwayId)return;const Nt=this.hls.nextLoadLevel,hn=this.hls.levels[Nt];if(N=this.getLevelsForPathway(pt),N.length>0){this.log(`Setting Pathway to "${pt}"`),this.pathwayId=pt,this.hls.trigger(Ie.LEVELS_UPDATED,{levels:N});const gn=this.hls.levels[Nt];hn&&gn&&this.levels&&(gn.attrs["STABLE-VARIANT-ID"]!==hn.attrs["STABLE-VARIANT-ID"]&&gn.bitrate!==hn.bitrate&&this.log(`Unstable Pathways change from bitrate ${hn.bitrate} to ${gn.bitrate}`),this.hls.nextLoadLevel=Nt);break}}}clonePathways(D){const N=this.levels;if(!N)return;const Z={},ve={};D.forEach(je=>{const{ID:pt,"BASE-ID":Nt,"URI-REPLACEMENT":hn}=je;if(N.some(Xn=>Xn.pathwayId===pt))return;const gn=this.getLevelsForPathway(Nt).map(Xn=>{const pr=Ne({},Xn);pr.details=void 0,pr.url=Kd(Xn.uri,Xn.attrs["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",hn);const Zr=new Pn(Xn.attrs);Zr["PATHWAY-ID"]=pt;const oo=Zr.AUDIO&&`${Zr.AUDIO}_clone_${pt}`,vo=Zr.SUBTITLES&&`${Zr.SUBTITLES}_clone_${pt}`;oo&&(Z[Zr.AUDIO]=oo,Zr.AUDIO=oo),vo&&(ve[Zr.SUBTITLES]=vo,Zr.SUBTITLES=vo),pr.attrs=Zr;const Fo=new Ni(pr);return ko(Fo,"audio",oo),ko(Fo,"text",vo),Fo});N.push(...gn),af(this.audioTracks,Z,hn,pt),af(this.subtitleTracks,ve,hn,pt)})}loadSteeringManifest(D){const N=this.hls.config,Z=N.loader;this.loader&&this.loader.destroy(),this.loader=new Z(N);let ve;try{ve=new self.URL(D)}catch{this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${D}`);return}if(ve.protocol!=="data:"){const Xn=(this.hls.bandwidthEstimate||N.abrEwmaDefaultEstimate)|0;ve.searchParams.set("_HLS_pathway",this.pathwayId),ve.searchParams.set("_HLS_throughput",""+Xn)}const je={responseType:"json",url:ve.href},pt=N.steeringManifestLoadPolicy.default,Nt=pt.errorRetry||pt.timeoutRetry||{},hn={loadPolicy:pt,timeout:pt.maxLoadTimeMs,maxRetry:Nt.maxNumRetry||0,retryDelay:Nt.retryDelayMs||0,maxRetryDelay:Nt.maxRetryDelayMs||0},gn={onSuccess:(Xn,pr,Zr,oo)=>{this.log(`Loaded steering manifest: "${ve}"`);const vo=Xn.data;if(vo.VERSION!==1){this.log(`Steering VERSION ${vo.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=vo.TTL;const{"RELOAD-URI":Fo,"PATHWAY-CLONES":Go,"PATHWAY-PRIORITY":pa}=vo;if(Fo)try{this.uri=new self.URL(Fo,ve).href}catch{this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${Fo}`);return}this.scheduleRefresh(this.uri||Zr.url),Go&&this.clonePathways(Go),pa&&this.updatePathwayPriority(pa)},onError:(Xn,pr,Zr,oo)=>{if(this.log(`Error loading steering manifest: ${Xn.code} ${Xn.text} (${pr.url})`),this.stopLoad(),Xn.code===410){this.enabled=!1,this.log(`Steering manifest ${pr.url} no longer available`);return}let vo=this.timeToLoad*1e3;if(Xn.code===429){const Fo=this.loader;if(typeof(Fo==null?void 0:Fo.getResponseHeader)=="function"){const Go=Fo.getResponseHeader("Retry-After");Go&&(vo=parseFloat(Go)*1e3)}this.log(`Steering manifest ${pr.url} rate limited`);return}this.scheduleRefresh(this.uri||pr.url,vo)},onTimeout:(Xn,pr,Zr)=>{this.log(`Timeout loading steering manifest (${pr.url})`),this.scheduleRefresh(this.uri||pr.url)}};this.log(`Requesting steering manifest: ${ve}`),this.loader.load(je,hn,gn)}scheduleRefresh(D,N=this.timeToLoad*1e3){self.clearTimeout(this.reloadTimer),this.reloadTimer=self.setTimeout(()=>{this.loadSteeringManifest(D)},N)}}function af(Et,D,N,Z){Et&&Object.keys(D).forEach(ve=>{const je=Et.filter(pt=>pt.groupId===ve).map(pt=>{const Nt=Ne({},pt);return Nt.details=void 0,Nt.attrs=new Pn(Nt.attrs),Nt.url=Nt.attrs.URI=Kd(pt.url,pt.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",N),Nt.groupId=Nt.attrs["GROUP-ID"]=D[ve],Nt.attrs["PATHWAY-ID"]=Z,Nt});Et.push(...je)})}function Kd(Et,D,N,Z){const{HOST:ve,PARAMS:je,[N]:pt}=Z;let Nt;D&&(Nt=pt==null?void 0:pt[D],Nt&&(Et=Nt));const hn=new self.URL(Et);return ve&&!Nt&&(hn.host=ve),je&&Object.keys(je).sort().forEach(gn=>{gn&&hn.searchParams.set(gn,je[gn])}),hn.href}const ad=/^age:\s*[\d.]+\s*$/im;class Vu{constructor(D){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=void 0,this.loader=null,this.stats=void 0,this.xhrSetup=D&&D.xhrSetup||null,this.stats=new ir,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null}abortInternal(){const D=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),D&&(D.onreadystatechange=null,D.onprogress=null,D.readyState!==4&&(this.stats.aborted=!0,D.abort()))}abort(){var D;this.abortInternal(),(D=this.callbacks)!=null&&D.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(D,N,Z){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=D,this.config=N,this.callbacks=Z,this.loadInternal()}loadInternal(){const{config:D,context:N}=this;if(!D)return;const Z=this.loader=new self.XMLHttpRequest,ve=this.stats;ve.loading.first=0,ve.loaded=0,ve.aborted=!1;const je=this.xhrSetup;je?Promise.resolve().then(()=>{if(!this.stats.aborted)return je(Z,N.url)}).catch(pt=>(Z.open("GET",N.url,!0),je(Z,N.url))).then(()=>{this.stats.aborted||this.openAndSendXhr(Z,N,D)}).catch(pt=>{this.callbacks.onError({code:Z.status,text:pt.message},N,Z,ve)}):this.openAndSendXhr(Z,N,D)}openAndSendXhr(D,N,Z){D.readyState||D.open("GET",N.url,!0);const ve=this.context.headers,{maxTimeToFirstByteMs:je,maxLoadTimeMs:pt}=Z.loadPolicy;if(ve)for(const Nt in ve)D.setRequestHeader(Nt,ve[Nt]);N.rangeEnd&&D.setRequestHeader("Range","bytes="+N.rangeStart+"-"+(N.rangeEnd-1)),D.onreadystatechange=this.readystatechange.bind(this),D.onprogress=this.loadprogress.bind(this),D.responseType=N.responseType,self.clearTimeout(this.requestTimeout),Z.timeout=je&&$e(je)?je:pt,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),Z.timeout),D.send()}readystatechange(){const{context:D,loader:N,stats:Z}=this;if(!D||!N)return;const ve=N.readyState,je=this.config;if(!Z.aborted&&ve>=2&&(Z.loading.first===0&&(Z.loading.first=Math.max(self.performance.now(),Z.loading.start),je.timeout!==je.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),je.timeout=je.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),je.loadPolicy.maxLoadTimeMs-(Z.loading.first-Z.loading.start)))),ve===4)){self.clearTimeout(this.requestTimeout),N.onreadystatechange=null,N.onprogress=null;const pt=N.status,Nt=N.responseType!=="text";if(pt>=200&&pt<300&&(Nt&&N.response||N.responseText!==null)){Z.loading.end=Math.max(self.performance.now(),Z.loading.first);const hn=Nt?N.response:N.responseText,gn=N.responseType==="arraybuffer"?hn.byteLength:hn.length;if(Z.loaded=Z.total=gn,Z.bwEstimate=Z.total*8e3/(Z.loading.end-Z.loading.first),!this.callbacks)return;const Xn=this.callbacks.onProgress;if(Xn&&Xn(Z,D,hn,N),!this.callbacks)return;const pr={url:N.responseURL,data:hn,code:pt};this.callbacks.onSuccess(pr,Z,D,N)}else{const hn=je.loadPolicy.errorRetry,gn=Z.retry;Jt(hn,gn,!1,pt)?this.retry(hn):(ze.error(`${pt} while loading ${D.url}`),this.callbacks.onError({code:pt,text:N.statusText},D,N,Z))}}}loadtimeout(){var D;const N=(D=this.config)==null?void 0:D.loadPolicy.timeoutRetry,Z=this.stats.retry;if(Jt(N,Z,!0))this.retry(N);else{ze.warn(`timeout while loading ${this.context.url}`);const ve=this.callbacks;ve&&(this.abortInternal(),ve.onTimeout(this.stats,this.context,this.loader))}}retry(D){const{context:N,stats:Z}=this;this.retryDelay=ta(D,Z.retry),Z.retry++,ze.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${N.url}, retrying ${Z.retry}/${D.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(D){const N=this.stats;N.loaded=D.loaded,D.lengthComputable&&(N.total=D.total)}getCacheAge(){let D=null;if(this.loader&&ad.test(this.loader.getAllResponseHeaders())){const N=this.loader.getResponseHeader("age");D=N?parseFloat(N):null}return D}getResponseHeader(D){return this.loader&&new RegExp(`^${D}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(D):null}}function zu(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch{}return!1}const Wu=/(\d+)-(\d+)\/(\d+)/;class Ld{constructor(D){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=void 0,this.response=void 0,this.controller=void 0,this.context=void 0,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=D.fetchSetup||wd,this.controller=new self.AbortController,this.stats=new ir}destroy(){this.loader=this.callbacks=null,this.abortInternal()}abortInternal(){const D=this.response;D!=null&&D.ok||(this.stats.aborted=!0,this.controller.abort())}abort(){var D;this.abortInternal(),(D=this.callbacks)!=null&&D.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(D,N,Z){const ve=this.stats;if(ve.loading.start)throw new Error("Loader can only be used once.");ve.loading.start=self.performance.now();const je=sf(D,this.controller.signal),pt=Z.onProgress,Nt=D.responseType==="arraybuffer",hn=Nt?"byteLength":"length",{maxTimeToFirstByteMs:gn,maxLoadTimeMs:Xn}=N.loadPolicy;this.context=D,this.config=N,this.callbacks=Z,this.request=this.fetchSetup(D,je),self.clearTimeout(this.requestTimeout),N.timeout=gn&&$e(gn)?gn:Xn,this.requestTimeout=self.setTimeout(()=>{this.abortInternal(),Z.onTimeout(ve,D,this.response)},N.timeout),self.fetch(this.request).then(pr=>{this.response=this.loader=pr;const Zr=Math.max(self.performance.now(),ve.loading.start);if(self.clearTimeout(this.requestTimeout),N.timeout=Xn,this.requestTimeout=self.setTimeout(()=>{this.abortInternal(),Z.onTimeout(ve,D,this.response)},Xn-(Zr-ve.loading.start)),!pr.ok){const{status:oo,statusText:vo}=pr;throw new kd(vo||"fetch, bad network response",oo,pr)}return ve.loading.first=Zr,ve.total=xd(pr.headers)||ve.total,pt&&$e(N.highWaterMark)?this.loadProgressively(pr,ve,D,N.highWaterMark,pt):Nt?pr.arrayBuffer():D.responseType==="json"?pr.json():pr.text()}).then(pr=>{const{response:Zr}=this;self.clearTimeout(this.requestTimeout),ve.loading.end=Math.max(self.performance.now(),ve.loading.first);const oo=pr[hn];oo&&(ve.loaded=ve.total=oo);const vo={url:Zr.url,data:pr,code:Zr.status};pt&&!$e(N.highWaterMark)&&pt(ve,D,pr,Zr),Z.onSuccess(vo,ve,D,Zr)}).catch(pr=>{if(self.clearTimeout(this.requestTimeout),ve.aborted)return;const Zr=pr&&pr.code||0,oo=pr?pr.message:null;Z.onError({code:Zr,text:oo},D,pr?pr.details:null,ve)})}getCacheAge(){let D=null;if(this.response){const N=this.response.headers.get("age");D=N?parseFloat(N):null}return D}getResponseHeader(D){return this.response?this.response.headers.get(D):null}loadProgressively(D,N,Z,ve=0,je){const pt=new Ii,Nt=D.body.getReader(),hn=()=>Nt.read().then(gn=>{if(gn.done)return pt.dataLength&&je(N,Z,pt.flush(),D),Promise.resolve(new ArrayBuffer(0));const Xn=gn.value,pr=Xn.length;return N.loaded+=pr,pr<ve||pt.dataLength?(pt.push(Xn),pt.dataLength>=ve&&je(N,Z,pt.flush(),D)):je(N,Z,Xn,D),hn()}).catch(()=>Promise.reject());return hn()}}function sf(Et,D){const N={method:"GET",mode:"cors",credentials:"same-origin",signal:D,headers:new self.Headers(Ne({},Et.headers))};return Et.rangeEnd&&N.headers.set("Range","bytes="+Et.rangeStart+"-"+String(Et.rangeEnd-1)),N}function lf(Et){const D=Wu.exec(Et);if(D)return parseInt(D[2])-parseInt(D[1])+1}function xd(Et){const D=Et.get("Content-Range");if(D){const Z=lf(D);if($e(Z))return Z}const N=Et.get("Content-Length");if(N)return parseInt(N)}function wd(Et,D){return new self.Request(Et.url,D)}class kd extends Error{constructor(D,N,Z){super(D),this.code=void 0,this.details=void 0,this.code=N,this.details=Z}}const fd=/\s/,sd={newCue(Et,D,N,Z){const ve=[];let je,pt,Nt,hn,gn;const Xn=self.VTTCue||self.TextTrackCue;for(let Zr=0;Zr<Z.rows.length;Zr++)if(je=Z.rows[Zr],Nt=!0,hn=0,gn="",!je.isEmpty()){var pr;for(let Fo=0;Fo<je.chars.length;Fo++)fd.test(je.chars[Fo].uchar)&&Nt?hn++:(gn+=je.chars[Fo].uchar,Nt=!1);je.cueStartTime=D,D===N&&(N+=1e-4),hn>=16?hn--:hn++;const oo=vs(gn.trim()),vo=Li(D,N,oo);Et!=null&&(pr=Et.cues)!=null&&pr.getCueById(vo)||(pt=new Xn(D,N,oo),pt.id=vo,pt.line=Zr+1,pt.align="left",pt.position=10+Math.min(80,Math.floor(hn*8/32)*10),ve.push(pt))}return Et&&ve.length&&(ve.sort((Zr,oo)=>Zr.line==="auto"||oo.line==="auto"?0:Zr.line>8&&oo.line>8?oo.line-Zr.line:Zr.line-oo.line),ve.forEach(Zr=>Ys(Et,Zr))),ve}},cf={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},uf=Fe(Fe({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,maxBufferSize:60*1e3*1e3,maxBufferHole:.1,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:Vu,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:ml,bufferController:vf,capLevelController:cd,errorController:dn,fpsController:Vd,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:Qt,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableID3MetadataCues:!0,certLoadPolicy:{default:cf},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},$u()),{},{subtitleStreamController:Rd,subtitleTrackController:td,timelineController:pu,audioStreamController:Sl,audioTrackController:gc,emeController:ud,cmcdController:Tu,contentSteeringController:qd});function $u(){return{cueHandler:sd,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function Nd(Et,D){if((D.liveSyncDurationCount||D.liveMaxLatencyDurationCount)&&(D.liveSyncDuration||D.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(D.liveMaxLatencyDurationCount!==void 0&&(D.liveSyncDurationCount===void 0||D.liveMaxLatencyDurationCount<=D.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(D.liveMaxLatencyDuration!==void 0&&(D.liveSyncDuration===void 0||D.liveMaxLatencyDuration<=D.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const N=Bd(Et),Z=["manifest","level","frag"],ve=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return Z.forEach(je=>{const pt=`${je==="level"?"playlist":je}LoadPolicy`,Nt=D[pt]===void 0,hn=[];ve.forEach(gn=>{const Xn=`${je}Loading${gn}`,pr=D[Xn];if(pr!==void 0&&Nt){hn.push(Xn);const Zr=N[pt].default;switch(D[pt]={default:Zr},gn){case"TimeOut":Zr.maxLoadTimeMs=pr,Zr.maxTimeToFirstByteMs=pr;break;case"MaxRetry":Zr.errorRetry.maxNumRetry=pr,Zr.timeoutRetry.maxNumRetry=pr;break;case"RetryDelay":Zr.errorRetry.retryDelayMs=pr,Zr.timeoutRetry.retryDelayMs=pr;break;case"MaxRetryTimeout":Zr.errorRetry.maxRetryDelayMs=pr,Zr.timeoutRetry.maxRetryDelayMs=pr;break}}}),hn.length&&ze.warn(`hls.js config: "${hn.join('", "')}" setting(s) are deprecated, use "${pt}": ${JSON.stringify(D[pt])}`)}),Fe(Fe({},N),D)}function Bd(Et){return Et&&typeof Et=="object"?Array.isArray(Et)?Et.map(Bd):Object.keys(Et).reduce((D,N)=>(D[N]=Bd(Et[N]),D),{}):Et}function Pc(Et){const D=Et.loader;D!==Ld&&D!==Vu?(ze.log("[config]: Custom loader detected, cannot enable progressive streaming"),Et.progressive=!1):zu()&&(Et.loader=Ld,Et.progressive=!0,Et.enableSoftwareAES=!0,ze.log("[config]: Progressive streaming enabled, using FetchLoader"))}class Fl{static get version(){return"1.4.13"}static isSupported(){return as()}static get Events(){return Ie}static get ErrorTypes(){return Bt}static get ErrorDetails(){return mt}static get DefaultConfig(){return Fl.defaultConfig?Fl.defaultConfig:uf}static set DefaultConfig(D){Fl.defaultConfig=D}constructor(D={}){this.config=void 0,this.userConfig=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new sa,this._autoLevelCapping=void 0,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this.url=null,vt(D.debug||!1,"Hls instance");const N=this.config=Nd(Fl.DefaultConfig,D);this.userConfig=D,this._autoLevelCapping=-1,N.progressive&&Pc(N);const{abrController:Z,bufferController:ve,capLevelController:je,errorController:pt,fpsController:Nt}=N,hn=new pt(this),gn=this.abrController=new Z(this),Xn=this.bufferController=new ve(this),pr=this.capLevelController=new je(this),Zr=new Nt(this),oo=new us(this),vo=new Vs(this),Fo=N.contentSteeringController,Go=Fo?new Fo(this):null,pa=this.levelController=new wo(this,Go),Se=new qa(this),de=new Ui(this.config),We=this.streamController=new Di(this,Se,de);pr.setStreamController(We),Zr.setStreamController(We);const _t=[oo,pa,We];Go&&_t.splice(1,0,Go),this.networkControllers=_t;const nn=[gn,Xn,pr,Zr,vo,Se];this.audioTrackController=this.createController(N.audioTrackController,_t);const vn=N.audioStreamController;vn&&_t.push(new vn(this,Se,de)),this.subtitleTrackController=this.createController(N.subtitleTrackController,_t);const cr=N.subtitleStreamController;cr&&_t.push(new cr(this,Se,de)),this.createController(N.timelineController,nn),de.emeController=this.emeController=this.createController(N.emeController,nn),this.cmcdController=this.createController(N.cmcdController,nn),this.latencyController=this.createController(_s,nn),this.coreComponents=nn,_t.push(hn);const lo=hn.onErrorOut;typeof lo=="function"&&this.on(Ie.ERROR,lo,hn)}createController(D,N){if(D){const Z=new D(this);return N&&N.push(Z),Z}return null}on(D,N,Z=this){this._emitter.on(D,N,Z)}once(D,N,Z=this){this._emitter.once(D,N,Z)}removeAllListeners(D){this._emitter.removeAllListeners(D)}off(D,N,Z=this,ve){this._emitter.off(D,N,Z,ve)}listeners(D){return this._emitter.listeners(D)}emit(D,N,Z){return this._emitter.emit(D,N,Z)}trigger(D,N){if(this.config.debug)return this.emit(D,D,N);try{return this.emit(D,D,N)}catch(Z){ze.error("An internal error happened while handling event "+D+'. Error message: "'+Z.message+'". Here is a stacktrace:',Z),this.trigger(Ie.ERROR,{type:Bt.OTHER_ERROR,details:mt.INTERNAL_EXCEPTION,fatal:!1,event:D,error:Z})}return!1}listenerCount(D){return this._emitter.listenerCount(D)}destroy(){ze.log("destroy"),this.trigger(Ie.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this.url=null,this.networkControllers.forEach(N=>N.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(N=>N.destroy()),this.coreComponents.length=0;const D=this.config;D.xhrSetup=D.fetchSetup=void 0,this.userConfig=null}attachMedia(D){ze.log("attachMedia"),this._media=D,this.trigger(Ie.MEDIA_ATTACHING,{media:D})}detachMedia(){ze.log("detachMedia"),this.trigger(Ie.MEDIA_DETACHING,void 0),this._media=null}loadSource(D){this.stopLoad();const N=this.media,Z=this.url,ve=this.url=Ue.buildAbsoluteURL(self.location.href,D,{alwaysNormalize:!0});ze.log(`loadSource:${ve}`),N&&Z&&(Z!==ve||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(N)),this.trigger(Ie.MANIFEST_LOADING,{url:D})}startLoad(D=-1){ze.log(`startLoad(${D})`),this.networkControllers.forEach(N=>{N.startLoad(D)})}stopLoad(){ze.log("stopLoad"),this.networkControllers.forEach(D=>{D.stopLoad()})}swapAudioCodec(){ze.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){ze.log("recoverMediaError");const D=this._media;this.detachMedia(),D&&this.attachMedia(D)}removeLevel(D,N=0){this.levelController.removeLevel(D,N)}get levels(){const D=this.levelController.levels;return D||[]}get currentLevel(){return this.streamController.currentLevel}set currentLevel(D){ze.log(`set currentLevel:${D}`),this.loadLevel=D,this.abrController.clearTimer(),this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(D){ze.log(`set nextLevel:${D}`),this.levelController.manualLevel=D,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(D){ze.log(`set loadLevel:${D}`),this.levelController.manualLevel=D}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(D){this.levelController.nextLoadLevel=D}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(D){ze.log(`set firstLevel:${D}`),this.levelController.firstLevel=D}get startLevel(){return this.levelController.startLevel}set startLevel(D){ze.log(`set startLevel:${D}`),D!==-1&&(D=Math.max(D,this.minAutoLevel)),this.levelController.startLevel=D}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(D){const N=!!D;N!==this.config.capLevelToPlayerSize&&(N?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=N)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:D}=this.abrController;return D?D.getEstimate():NaN}get ttfbEstimate(){const{bwEstimator:D}=this.abrController;return D?D.getEstimateTTFB():NaN}set autoLevelCapping(D){this._autoLevelCapping!==D&&(ze.log(`set autoLevelCapping:${D}`),this._autoLevelCapping=D)}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(D){fs.indexOf(D)>-1&&(this._maxHdcpLevel=D)}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:D,config:{minAutoBitrate:N}}=this;if(!D)return 0;const Z=D.length;for(let ve=0;ve<Z;ve++)if(D[ve].maxBitrate>=N)return ve;return 0}get maxAutoLevel(){const{levels:D,autoLevelCapping:N,maxHdcpLevel:Z}=this;let ve;if(N===-1&&D&&D.length?ve=D.length-1:ve=N,Z)for(let je=ve;je--;){const pt=D[je].attrs["HDCP-LEVEL"];if(pt&&pt<=Z)return je}return ve}get nextAutoLevel(){return Math.min(Math.max(this.abrController.nextAutoLevel,this.minAutoLevel),this.maxAutoLevel)}set nextAutoLevel(D){this.abrController.nextAutoLevel=Math.max(this.minAutoLevel,D)}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get audioTracks(){const D=this.audioTrackController;return D?D.audioTracks:[]}get audioTrack(){const D=this.audioTrackController;return D?D.audioTrack:-1}set audioTrack(D){const N=this.audioTrackController;N&&(N.audioTrack=D)}get subtitleTracks(){const D=this.subtitleTrackController;return D?D.subtitleTracks:[]}get subtitleTrack(){const D=this.subtitleTrackController;return D?D.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(D){const N=this.subtitleTrackController;N&&(N.subtitleTrack=D)}get subtitleDisplay(){const D=this.subtitleTrackController;return D?D.subtitleDisplay:!1}set subtitleDisplay(D){const N=this.subtitleTrackController;N&&(N.subtitleDisplay=D)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(D){this.config.lowLatencyMode=D}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}}Fl.defaultConfig=void 0;var Gd=e(456903),hd=e(64745),zd=function(){function Et(D,N){y()(this,Et),G()(this,"errorContainerClassName","video-player__error"),G()(this,"errorMessageElementClassName","video-player__error-message"),this.player=D,this.message=N,this.errorMessageElement=this.createErrorMessageElement()}return P()(Et,[{key:"destroy",value:function(){var N;(N=this.errorMessageElement)===null||N===void 0||N.remove()}},{key:"createErrorMessageElement",value:function(){var N=this.player.elements.container,Z=document.createElement("div"),ve=document.createElement("p");return Z.classList.add(this.errorContainerClassName),ve.classList.add(this.errorMessageElementClassName),ve.innerText=this.message,Z.appendChild(ve),N==null||N.appendChild(Z),Z}}])}(),Pd=function(){function Et(D,N){var Z=this;y()(this,Et),G()(this,"handleError",function(ve){var je=W.fromError(ve);if(Z.handleVideoPlayerError(je),je.code===_.UnexpectedError)throw ve;console.error(ve)}),G()(this,"handleMediaError",function(ve){var je=W.fromPlayerMedia(ve.media);if(Z.handleVideoPlayerError(je),je.code===_.UnexpectedError)throw je;console.error(je)}),G()(this,"handleVideoPlayerError",function(ve){var je=Z.mapCodeToMessage(ve.code);je&&Z.showErrorMessageScreen(je)}),G()(this,"showErrorMessageScreen",function(ve){Z.errorMessageScreen=new zd(Z.player,ve)}),this.player=D,this.isExternalProvider=N,this.translation=D.config.i18n,N||this.player.on("error",function(ve){return Z.handleMediaError(ve.detail.plyr)})}return P()(Et,[{key:"destroy",value:function(){var N;(N=this.errorMessageScreen)===null||N===void 0||N.destroy()}},{key:"mapCodeToMessage",value:function(N){var Z=new Map([[_.VideoAbortedByUser,this.translation.videoAbortedByUser],[_.VideoCouldNotBeAccessed,this.translation.videoCouldNotBeAccessed],[_.VideoCouldNotBeDecoded,this.translation.videoCouldNotBeDecoded],[_.VideoCouldNotBePlayed,this.translation.videoCouldNotBePlayed],[_.VideoPlaybackDriverUnsupported,this.translation.videoCouldNotBePlayed],[_.UnauthorizedError,this.translation.unauthorizedAccess],[_.InvalidConfiguration,this.translation.videoCouldNotBePlayed],[_.UnexpectedError,this.translation.unexpectedError]]);return Z.get(N)}}])}(),Cd=function(D){return(D==null?void 0:D.code)===_.UnauthorizedError};function xn(Et,D){var N=Object.keys(Et);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(Et);D&&(Z=Z.filter(function(ve){return Object.getOwnPropertyDescriptor(Et,ve).enumerable})),N.push.apply(N,Z)}return N}function $s(Et){for(var D=1;D<arguments.length;D++){var N=arguments[D]!=null?arguments[D]:{};D%2?xn(Object(N),!0).forEach(function(Z){G()(Et,Z,N[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Et,Object.getOwnPropertyDescriptors(N)):xn(Object(N)).forEach(function(Z){Object.defineProperty(Et,Z,Object.getOwnPropertyDescriptor(N,Z))})}return Et}var Ki=function(){function Et(){y()(this,Et),G()(this,"cancelTokenSource",null)}return P()(Et,[{key:"resolve",value:function(){var D=pe()(q().mark(function Z(ve){return q().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:return pt.prev=0,pt.next=3,this.requestPlaylist(ve);case 3:return pt.abrupt("return",pt.sent);case 6:if(pt.prev=6,pt.t0=pt.catch(0),!hd.Z.isAxiosError(pt.t0)){pt.next=14;break}if(!Et.isAuthError(pt.t0)){pt.next=11;break}return pt.abrupt("return",this.resolveWithAuth(ve));case 11:throw Et.buildApiError(pt.t0);case 14:throw pt.t0;case 15:case"end":return pt.stop()}},Z,this,[[0,6]])}));function N(Z){return D.apply(this,arguments)}return N}()},{key:"destroy",value:function(){var N;(N=this.cancelTokenSource)===null||N===void 0||N.cancel(),this.cancelTokenSource=null}},{key:"resolveWithAuth",value:function(){var D=pe()(q().mark(function Z(ve){var je;return q().wrap(function(Nt){for(;;)switch(Nt.prev=Nt.next){case 0:return Nt.prev=0,Nt.next=3,this.requestAuthToken();case 3:return je=Nt.sent,Nt.next=6,this.requestPlaylist(ve,je);case 6:return Nt.abrupt("return",Nt.sent);case 9:if(Nt.prev=9,Nt.t0=Nt.catch(0),!hd.Z.isAxiosError(Nt.t0)){Nt.next=17;break}if(!Et.isAuthError(Nt.t0)){Nt.next=14;break}throw new W(_.UnauthorizedError);case 14:throw Et.buildApiError(Nt.t0);case 17:throw Nt.t0;case 18:case"end":return Nt.stop()}},Z,this,[[0,9]])}));function N(Z){return D.apply(this,arguments)}return N}()},{key:"requestPlaylist",value:function(N,Z){var ve;return(ve=this.cancelTokenSource)===null||ve===void 0||ve.cancel(),this.cancelTokenSource=hd.Z.CancelToken.source(),Gd.default.get(N,$s({cancelToken:this.cancelTokenSource.token},Z?{withCredentials:!0,headers:{Authorization:"Bearer ".concat(Z)}}:{})).then(function(je){return new Blob([je.data],{type:"text/plain"})})}},{key:"requestAuthToken",value:function(){var N;return(N=this.cancelTokenSource)===null||N===void 0||N.cancel(),this.cancelTokenSource=hd.Z.CancelToken.source(),Gd.default.get(Et.AuthEndpoint,{cancelToken:this.cancelTokenSource.token}).then(function(Z){return Z.data.token})}}],[{key:"buildApiError",value:function(N){return new Gd.errors.ApiError("Could not load HLS playlist","PlaylistLoader",N)}},{key:"isAuthError",value:function(N){var Z,ve;return((Z=N.response)===null||Z===void 0?void 0:Z.status)===401||((ve=N.response)===null||ve===void 0?void 0:ve.status)===403}}])}();G()(Ki,"AuthEndpoint","/api/media/auth/v1/asset/authorization");var ru=Fl.isSupported,Zt=function(){function Et(D){y()(this,Et),G()(this,"playlistLoader",new Ki),G()(this,"hasMediaErrorOccurred",!1);var N=D.thumbnailSrc,Z=D.player,ve=D.errorHandler,je=D.onUnauthorizedError;this.player=Z,this.hlsJs=new Fl({enableWorker:!1}),this.errorHandler=ve,N&&(this.player.poster=N),this.initVideo(D).catch(function(pt){je&&Cd(pt)?je():ve.handleError(pt)})}return P()(Et,[{key:"hlsJsInstance",get:function(){return this.hlsJs}},{key:"destroy",value:function(){this.hlsJs.destroy(),this.playlistLoader.destroy()}},{key:"onReady",value:function(){var N=this;return this.player.duration?Promise.resolve():new Promise(function(Z){N.hlsJs.once(Fl.Events.MEDIA_ATTACHED,function(){return Z()})})}},{key:"initVideo",value:function(){var D=pe()(q().mark(function Z(ve){var je,pt,Nt,hn;return q().wrap(function(Xn){for(;;)switch(Xn.prev=Xn.next){case 0:return je=ve.src,pt=ve.videoElement,Xn.next=3,this.playlistLoader.resolve(je);case 3:Nt=Xn.sent,hn=URL.createObjectURL(Nt),this.hlsJs.loadSource(hn),this.hlsJs.attachMedia(pt),this.handleErrors(),this.setHighestQuality();case 9:case"end":return Xn.stop()}},Z,this)}));function N(Z){return D.apply(this,arguments)}return N}()},{key:"setHighestQuality",value:function(){var N=this;this.hlsJs.on(Fl.Events.MANIFEST_PARSED,function(){N.hlsJs.config.startLevel=N.hlsJs.levels.reduce(function(Z,ve,je,pt){return ve.bitrate>pt[Z].bitrate?je:Z},0)})}},{key:"handleErrors",value:function(){var N=this;this.hlsJs.on(Fl.Events.ERROR,function(Z,ve){if(ve.fatal)switch(ve.type){case Fl.ErrorTypes.NETWORK_ERROR:N.hlsJs.startLoad();break;case Fl.ErrorTypes.MEDIA_ERROR:N.handleMediaError(ve);break;default:N.errorHandler.handleError(ve);break}})}},{key:"handleMediaError",value:function(N){this.hasMediaErrorOccurred?this.errorHandler.handleError(N):(this.hasMediaErrorOccurred=!0,this.hlsJs.recoverMediaError())}}])}(),Kt=function(){function Et(D){y()(this,Et),G()(this,"playlistLoader",new Ki);var N=D.player,Z=D.thumbnailSrc,ve=D.errorHandler,je=D.onUnauthorizedError;this.player=N,Z&&(this.player.poster=Z),this.initVideo(D).catch(function(pt){je&&Cd(pt)?je():ve.handleError(pt)})}return P()(Et,[{key:"destroy",value:function(){this.playlistLoader.destroy()}},{key:"onReady",value:function(){var D=pe()(q().mark(function Z(){var ve=this;return q().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:if(!this.player.duration){pt.next=2;break}return pt.abrupt("return",Promise.resolve());case 2:return pt.next=4,new Promise(function(Nt){var hn=function(){ve.player.media.removeEventListener("loadedmetadata",hn),Nt()};ve.player.media.addEventListener("loadedmetadata",hn)});case 4:case"end":return pt.stop()}},Z,this)}));function N(){return D.apply(this,arguments)}return N}()},{key:"initVideo",value:function(){var D=pe()(q().mark(function Z(ve){var je,pt,Nt,hn,gn;return q().wrap(function(pr){for(;;)switch(pr.prev=pr.next){case 0:return je=ve.src,pt=ve.videoElement,pr.next=3,this.playlistLoader.resolve(je);case 3:Nt=pr.sent,hn=URL.createObjectURL(Nt),gn=document.createElement("source"),gn.setAttribute("src",hn),gn.setAttribute("type","application/x-mpegURL"),pt.appendChild(gn),this.setHighestQuality();case 10:case"end":return pr.stop()}},Z,this)}));function N(Z){return D.apply(this,arguments)}return N}()},{key:"setHighestQuality",value:function(){}}])}(),Sn=function(){function Et(D,N){y()(this,Et),this.videoProvider=D;var Z=N.src,ve=N.thumbnailSrc;this.videoProvider=D;var je=this.createPlyrSourceInfo(Z,ve);N.player.source=je}return P()(Et,[{key:"destroy",value:function(){}},{key:"onReady",value:function(){return Promise.resolve()}},{key:"createPlyrSourceInfo",value:function(N,Z){return{type:"video",sources:[{src:N,provider:this.videoProvider}],poster:Z}}}])}(),wn=function(D,N){switch(D){case He.HlsJs:return new Zt(N);case He.NativeHls:return new Kt(N);case He.Vimeo:case He.YouTube:return new Sn(D,N)}},_r=G()(G()({},Be.YouTube,["youtube.com","youtube-nocookie.com","youtu.be"]),Be.Vimeo,["vimeo.com"]),Ve=function(D){var N=!!(D.canPlayType("application/vnd.apple.mpegURL")||D.canPlayType("audio/mpegurl"));if(ru())return He.HlsJs;if(N)return He.NativeHls;throw new W(_.VideoPlaybackDriverUnsupported,"No HLS implementation is supported on this platform")},tt=function(D,N){var Z=function(Nt){if(_r[Nt].some(function(hn){return D.includes(hn)}))return Nt},ve=Object.keys(_r),je=ve.find(function(pt){return Z(pt)});return je??Ve(N)},bt=function(){function Et(D,N){var Z=this;y()(this,Et),G()(this,"vimeoButtonClassName","video-player--vimeo-button"),G()(this,"maxContainerWidth",225),G()(this,"maxContainerHeight",127),this.videoPlayerElement=N,D.provider===He.Vimeo&&D.once("ready",function(){Z.resizeObserver=new ResizeObserver(function(){return Z.toggleVimeoPlayButtonClassName()}),Z.resizeObserver.observe(N)})}return P()(Et,[{key:"destroy",value:function(){var N;(N=this.resizeObserver)===null||N===void 0||N.disconnect(),this.removeVimeoPlayButtonClassName()}},{key:"toggleVimeoPlayButtonClassName",value:function(){var N=this.videoPlayerElement.clientWidth,Z=this.videoPlayerElement.clientHeight;N<this.maxContainerWidth||Z<this.maxContainerHeight?this.videoPlayerElement.classList.add(this.vimeoButtonClassName):this.removeVimeoPlayButtonClassName()}},{key:"removeVimeoPlayButtonClassName",value:function(){this.videoPlayerElement.classList.remove(this.vimeoButtonClassName)}}])}(),an={DA:"da",DE:"de",EN:"en",ES:"es",FI:"fi",FR:"fr",IT:"it",JA:"ja",NL:"nl",NO:"no",PT:"pt",SV:"sv"},Wn={play:"Spil",pause:"S\xE6t p\xE5 pause",seek:"S\xF8g",seekLabel:"{currentTime} af {duration}",currentTime:"Aktuelt klokkesl\xE6t",duration:"Varighed",volume:"Lydstyrke",mute:"Sl\xE5 lyden fra",unmute:"Sl\xE5 lyden til",enterFullscreen:"\xC5bn fuldsk\xE6rm",exitFullscreen:"Luk fuldsk\xE6rm",settings:"Indstillinger",menuBack:"G\xE5 tilbage til forrige menu",speed:"Hastighed",normal:"Normal",quality:"Kvalitet",videoAbortedByUser:"Du har afbrudt medieafspilningen.",videoCouldNotBeAccessed:"Videoen kunne ikke indl\xE6ses. Tjek forbindelsen, og pr\xF8v derefter igen.",videoCouldNotBeDecoded:"Videoen er ikke tilg\xE6ngelig. Pr\xF8v at spille noget andet.",videoCouldNotBePlayed:"Video er ikke tilg\xE6ngelig, eller formatet underst\xF8ttes ikke. Pr\xF8v en anden browser.",unauthorizedAccess:"Adgang n\xE6gtet. Log ind eller kontakt ejeren for at anmode om adgang.",unexpectedError:"Videoen kunne ikke indl\xE6ses. Pr\xF8v igen senere.",paywallCtaButton:"Tilmeld dig nu",paywallDescription:"Tilmeld dig for at se denne video"},nr={play:"Abspielen",pause:"Anhalten",seek:"Suche",seekLabel:"{currentTime} von {duration}",currentTime:"Aktuelle Uhrzeit",duration:"Dauer",volume:"Lautst\xE4rke",mute:"Stummschalten",unmute:"Stummschaltung aufheben",enterFullscreen:"Zum Vollbildmodus wechseln",exitFullscreen:"Vollbildmodus verlassen",settings:"Einstellungen",menuBack:"Zur\xFCck zum vorherigen Men\xFC",speed:"Geschwindigkeit",normal:"Normal",quality:"Qualit\xE4t",videoAbortedByUser:"Du hast die Medienwiedergabe abgebrochen.",videoCouldNotBeAccessed:"Video konnte nicht geladen werden. \xDCberpr\xFCfe deine Internetverbindung und versuche es erneut.",videoCouldNotBeDecoded:"Video nicht verf\xFCgbar. Versuche, etwas anderes abzuspielen.",videoCouldNotBePlayed:"Das Video ist nicht verf\xFCgbar oder das Format wird nicht unterst\xFCtzt. Versuche es mit einem anderen Browser.",unauthorizedAccess:"Zugriff verweigert. Logge dich ein oder bitte den Besitzer um Zugriff.",unexpectedError:"Video konnte nicht geladen werden. Versuche es sp\xE4ter erneut.",paywallCtaButton:"Jetzt beitreten",paywallDescription:"Registriere dich, um dieses Video anzusehen"},Nr=function(D,N,Z){return D},to={play:Nr("Play",null,{project:"video-player"}),pause:Nr("Pause",null,{project:"video-player"}),seek:Nr("Seek",null,{project:"video-player"}),seekLabel:Nr("{currentTime} of {duration}",null,{project:"video-player",notes:"{currentTime} and {duration} are tokens replaced with time in format mm:ss"}),currentTime:Nr("Current time",null,{project:"video-player"}),duration:Nr("Duration",null,{project:"video-player"}),volume:Nr("Volume",null,{project:"video-player"}),mute:Nr("Mute",null,{project:"video-player"}),unmute:Nr("Unmute",null,{project:"video-player"}),enterFullscreen:Nr("Enter fullscreen",null,{project:"video-player"}),exitFullscreen:Nr("Exit fullscreen",null,{project:"video-player"}),settings:Nr("Settings",null,{project:"video-player"}),menuBack:Nr("Go back to previous menu",null,{project:"video-player"}),speed:Nr("Speed",null,{project:"video-player"}),normal:Nr("Normal",null,{project:"video-player"}),quality:Nr("Quality",null,{project:"video-player"}),videoAbortedByUser:Nr("You aborted the media playback.",null,{project:"video-player"}),videoCouldNotBeAccessed:Nr("Couldn't load video. Check connection, then try again.",null,{project:"video-player"}),videoCouldNotBeDecoded:Nr("Video unavailable. Try playing something else.",null,{project:"video-player"}),videoCouldNotBePlayed:Nr("Video is not available or format is not supported. Try a different browser.",null,{project:"video-player"}),unauthorizedAccess:Nr("Access denied. Login or contact owner to request access.",null,{project:"video-player"}),unexpectedError:Nr("Unable to load video. Try again later.",null,{project:"video-player"}),paywallCtaButton:Nr("Join Now",null,{project:"video-player"}),paywallDescription:Nr("Sign up to view this video",null,{project:"video-player"})},qo={play:"Ver",pause:"Pausar",seek:"Buscar",seekLabel:"{currentTime} de {duration}",currentTime:"Hora actual",duration:"Duraci\xF3n",volume:"Volumen",mute:"Silenciar",unmute:"Activar sonido",enterFullscreen:"Ingresar a pantalla completa",exitFullscreen:"Salir de pantalla completa",settings:"Configuraci\xF3n",menuBack:"Regresar al men\xFA anterior",speed:"Velocidad",normal:"Normal",quality:"Calidad",videoAbortedByUser:"Anulaste la reproducci\xF3n de medios.",videoCouldNotBeAccessed:"No se pudo cargar el video. Comprueba la conexi\xF3n y vuelve a intentarlo.",videoCouldNotBeDecoded:"Video no disponible. Prueba ver otro video.",videoCouldNotBePlayed:"El video no est\xE1 disponible o el formato no es compatible. Prueba con otro navegador.",unauthorizedAccess:"Acceso denegado. Inicia sesi\xF3n o ponte en contacto con el propietario para solicitar acceso.",unexpectedError:"No se puede cargar el video. Intenta de nuevo m\xE1s tarde.",paywallCtaButton:"\xDAnete ahora",paywallDescription:"Reg\xEDstrate para ver este video"},Pa={play:"Toista",pause:"Pys\xE4yt\xE4",seek:"Etsi",seekLabel:"{currentTime}/{duration}",currentTime:"Nykyinen aika",duration:"Kesto",volume:"\xC4\xE4nenvoimakkuus",mute:"Mykist\xE4",unmute:"Poista mykistys",enterFullscreen:"Siirry koko n\xE4yt\xF6n tilaan",exitFullscreen:"Poistu koko n\xE4yt\xF6n tilasta",settings:"Asetukset",menuBack:"Palaa edelliseen valikkoon",speed:"Nopeus",normal:"Normaali",quality:"Laatu",videoAbortedByUser:"Keskeytit mediatoiston.",videoCouldNotBeAccessed:"Videon lataaminen ei onnistu. Tarkista yhteys ja yrit\xE4 sitten uudelleen.",videoCouldNotBeDecoded:"Video ei ole k\xE4ytett\xE4viss\xE4. Kokeile katsoa jotain muuta.",videoCouldNotBePlayed:"Video ei ole saatavilla tai muotoa ei tueta. Kokeile toista selainta.",unauthorizedAccess:"P\xE4\xE4sy kielletty. Kirjaudu sis\xE4\xE4n tai ota yhteytt\xE4 omistajaan pyyt\xE4\xE4ksesi k\xE4ytt\xF6oikeutta.",unexpectedError:"Videon lataaminen ei onnistu. Yrit\xE4 my\xF6hemmin uudelleen.",paywallCtaButton:"Liity nyt",paywallDescription:"Rekister\xF6idy n\xE4hd\xE4ksesi t\xE4m\xE4n videon"},$a={play:"Lecture",pause:"Mettre en pause",seek:"Rechercher",seekLabel:"{currentTime} sur {duration}",currentTime:"Heure actuelle",duration:"Dur\xE9e",volume:"Volume",mute:"Couper le son",unmute:"R\xE9activer le son",enterFullscreen:"Activer le mode plein \xE9cran",exitFullscreen:"Quitter le mode plein \xE9cran",settings:"Param\xE8tres",menuBack:"Revenir au menu pr\xE9c\xE9dent",speed:"Vitesse",normal:"Normal",quality:"Qualit\xE9",videoAbortedByUser:"Vous avez interrompu la lecture du m\xE9dia.",videoCouldNotBeAccessed:"Impossible de charger la vid\xE9o. V\xE9rifiez votre connexion et r\xE9essayez.",videoCouldNotBeDecoded:"Vid\xE9o indisponible. Essayez de lancer une autre vid\xE9o.",videoCouldNotBePlayed:"La vid\xE9o n'est pas disponible ou le format n'est pas pris en charge. Essayez un autre navigateur.",unauthorizedAccess:"Acc\xE8s refus\xE9. Connectez-vous ou contactez le propri\xE9taire pour obtenir l\u2019acc\xE8s.",unexpectedError:"Impossible de charger la vid\xE9o. Veuillez r\xE9essayer ult\xE9rieurement.",paywallCtaButton:"S\u2019inscrire",paywallDescription:"Inscrivez-vous pour visionner cette vid\xE9o"},ss={play:"Riproduci",pause:"Sospendi",seek:"Cerca",seekLabel:"{currentTime} di {duration}",currentTime:"Ora attuale",duration:"Durata",volume:"Volume",mute:"Disattiva audio",unmute:"Riattiva audio",enterFullscreen:"Attiva modalit\xE0 schermo intero",exitFullscreen:"Esci dalla modalit\xE0 schermo intero",settings:"Impostazioni",menuBack:"Torna al menu precedente",speed:"Velocit\xE0",normal:"Normale",quality:"Qualit\xE0",videoAbortedByUser:"La riproduzione dei contenuti multimediali \xE8 stata interrotta.",videoCouldNotBeAccessed:"Impossibile caricare il video. Verifica la connessione, quindi riprova.",videoCouldNotBeDecoded:"Video non disponibile. Prova a riprodurre a qualcos'altro.",videoCouldNotBePlayed:"Il video non disponibile o il formato non \xE8 supportato. Prova un browser diverso.",unauthorizedAccess:"Accesso negato. Effettua il login o contatta il proprietario per richiedere l'accesso.",unexpectedError:"Impossibile caricare il video. Riprova pi\xF9 tardi.",paywallCtaButton:"Iscriviti ora",paywallDescription:"Iscriviti per visualizzare questo video"},cs={play:"\u518D\u751F",pause:"[\u4E00\u6642\u505C\u6B62]",seek:'"\u30B7\u30FC\u30AF',seekLabel:"{currentTime} \u306E {duration}",currentTime:"\u73FE\u5728\u306E\u6642\u523B",duration:"\u6240\u8981\u6642\u9593",volume:"\u30DC\u30EA\u30E5\u30FC\u30E0",mute:'"\u30DF\u30E5\u30FC\u30C8',unmute:"\u30DF\u30E5\u30FC\u30C8\u89E3\u9664",enterFullscreen:"\u30D5\u30EB\u30B9\u30AF\u30EA\u30FC\u30F3\u306B\u5207\u308A\u66FF\u3048",exitFullscreen:"\u5168\u753B\u9762\u8868\u793A\u3092\u7D42\u4E86",settings:"[\u8A2D\u5B9A]",menuBack:'"\u524D\u306E\u30E1\u30CB\u30E5\u30FC\u306B\u623B\u308B',speed:"\u30B9\u30D4\u30FC\u30C9",normal:"\u30CE\u30FC\u30DE\u30EB",quality:"\u30AF\u30AA\u30EA\u30C6\u30A3",videoAbortedByUser:"\u30E1\u30C7\u30A3\u30A2\u306E\u518D\u751F\u3092\u4E2D\u6B62\u3057\u307E\u3057\u305F\u3002",videoCouldNotBeAccessed:"\u52D5\u753B\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002 \u63A5\u7D9A\u3092\u78BA\u8A8D\u3057\u3066\u3001\u3082\u3046\u4E00\u5EA6\u8A66\u3057\u3066\u304F\u3060\u3055\u3044\u3002",videoCouldNotBeDecoded:"\u30D3\u30C7\u30AA\u306F\u5229\u7528\u3067\u304D\u307E\u305B\u3093\u3002 \u4ED6\u306E\u3082\u306E\u3092\u30D7\u30EC\u30A4\u3057\u3066\u307F\u3066\u304F\u3060\u3055\u3044\u3002",videoCouldNotBePlayed:"\u30D3\u30C7\u30AA\u304C\u5229\u7528\u3067\u304D\u306A\u3044\u304B\u3001\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 \u5225\u306E\u30D6\u30E9\u30A6\u30B6\u3092\u8A66\u3057\u3066\u304F\u3060\u3055\u3044\u3002",unauthorizedAccess:"\u30A2\u30AF\u30BB\u30B9\u304C\u62D2\u5426\u3055\u308C\u307E\u3057\u305F\u3002 \u30ED\u30B0\u30A4\u30F3\u3059\u308B\u304B\u3001\u6240\u6709\u8005\u306B\u9023\u7D61\u3057\u3066\u30A2\u30AF\u30BB\u30B9\u3092\u30EA\u30AF\u30A8\u30B9\u30C8\u3057\u3066\u304F\u3060\u3055\u3044\u3002",unexpectedError:"\u30D3\u30C7\u30AA\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3002 \u5F8C\u3067\u3082\u3046\u4E00\u5EA6\u8A66\u3057\u3066\u304F\u3060\u3055\u3044\u3002",paywallCtaButton:"\u4ECA\u3059\u3050\u52A0\u5165",paywallDescription:"\u3053\u306E\u52D5\u753B\u3092\u898B\u308B\u306B\u306F\u767B\u9332\u3057\u3066\u304F\u3060\u3055\u3044"},Ns={play:"Afspelen",pause:"Pauzeren",seek:"Zoeken",seekLabel:"{currentTime} van {duration}",currentTime:"Huidige tijd",duration:"Duur",volume:"Volume",mute:"Dempen",unmute:"Dempen opheffen",enterFullscreen:"Naar volledig scherm",exitFullscreen:"Volledig scherm afsluiten",settings:"Instellingen",menuBack:"Terug naar vorig menu",speed:"Snelheid",normal:"Normaal",quality:"Kwaliteit",videoAbortedByUser:"Je hebt het afspelen van media afgebroken.",videoCouldNotBeAccessed:"Kan video niet laden. Controleer de verbinding en probeer het opnieuw.",videoCouldNotBeDecoded:"Video niet beschikbaar. Probeer om iets anders af te spelen.",videoCouldNotBePlayed:"De video is niet beschikbaar of het formaat wordt niet ondersteund. Probeer een andere browser.",unauthorizedAccess:"Toegang geweigerd. Log in of neem contact op met de eigenaar om toegang te vragen.",unexpectedError:"Kan video niet laden. Probeer het later opnieuw.",paywallCtaButton:"Word nu lid",paywallDescription:"Meld je aan om deze video te bekijken"},Fi={play:"Spill av",pause:"Pause",seek:"S\xF8k",seekLabel:"{currentTime} av {duration}",currentTime:"N\xE5v\xE6rende tidspunkt",duration:"Varighet",volume:"Volum",mute:"Demp",unmute:"Sl\xE5 p\xE5 lyden",enterFullscreen:"Start fullskjermmodus",exitFullscreen:"Avslutt fullskjermmodus",settings:"Innstillinger",menuBack:"G\xE5 tilbake til forrige meny",speed:"Hastighet",normal:"Normal",quality:"Kvalitet",videoAbortedByUser:"Du avbr\xF8t medieavspillingen.",videoCouldNotBeAccessed:"Kunne ikke laste video. Sjekk tilkoblingen og pr\xF8v igjen.",videoCouldNotBeDecoded:"Videoen er utilgjengelig. Pr\xF8v \xE5 spille av noe annet.",videoCouldNotBePlayed:"Videoen er ikke tilgjengelig eller formatet st\xF8ttes ikke. Pr\xF8v en annen nettleser.",unauthorizedAccess:"Ingen tilgang. Logg p\xE5 eller be eieren om tilgang.",unexpectedError:"Kan ikke laste video. Pr\xF8v igjen senere.",paywallCtaButton:"Bli med n\xE5",paywallDescription:"Registrer deg for \xE5 se denne videoen"},xi={play:"Reproduzir",pause:"Pausar",seek:"Procurar",seekLabel:"{currentTime} de {duration}",currentTime:"Hor\xE1rio atual",duration:"Dura\xE7\xE3o",volume:"Volume",mute:"Silenciar",unmute:"Ativar o som",enterFullscreen:"Abrir em tela cheia",exitFullscreen:"Sair da tela cheia",settings:"Configura\xE7\xF5es",menuBack:"Voltar ao menu anterior",speed:"Velocidade",normal:"Normal",quality:"Qualidade",videoAbortedByUser:"Voc\xEA abortou a reprodu\xE7\xE3o da m\xEDdia.",videoCouldNotBeAccessed:"N\xE3o foi poss\xEDvel carregar o v\xEDdeo. Verifique a conex\xE3o e tente novamente.",videoCouldNotBeDecoded:"O v\xEDdeo est\xE1 indispon\xEDvel. Tente reproduzir outra coisa.",videoCouldNotBePlayed:"O v\xEDdeo est\xE1 indispon\xEDvel ou o formato n\xE3o \xE9 aceito. Use outro browser.",unauthorizedAccess:"Acesso negado. Fa\xE7a o login ou solicite o acesso ao propriet\xE1rio.",unexpectedError:"N\xE3o foi poss\xEDvel carregar o v\xEDdeo. Tente novamente mais tarde.",paywallCtaButton:"Participe agora",paywallDescription:"Cadastre-se para ver este v\xEDdeo"},ni={play:"Spela",pause:"Paus",seek:"S\xF6k",seekLabel:"{currentTime} av {duration}",currentTime:"Aktuell tid",duration:"L\xE4ngd",volume:"Volym",mute:"St\xE4ng av ljudet",unmute:"S\xE4tt p\xE5 ljudet",enterFullscreen:"\xD6ppna helsk\xE4rmsl\xE4ge",exitFullscreen:"L\xE4mna helsk\xE4rmsl\xE4ge",settings:"Inst\xE4llningar",menuBack:"G\xE5 tillbaka till f\xF6reg\xE5ende meny",speed:"Hastighet",normal:"Normal",quality:"Kvalitet",videoAbortedByUser:"Du avbr\xF6t medieuppspelningen.",videoCouldNotBeAccessed:"Det gick inte att l\xE4sa in videon. Kontrollera anslutningen och f\xF6rs\xF6k igen.",videoCouldNotBeDecoded:"Videon \xE4r inte tillg\xE4nglig. F\xF6rs\xF6k spela upp n\xE5got annat.",videoCouldNotBePlayed:"Videofilen \xE4r inte tillg\xE4nglig, eller s\xE5 st\xF6ds inte videoformatet. F\xF6rs\xF6k med en annan webbl\xE4sare.",unauthorizedAccess:"\xC5tkomst nekad. Logga in eller kontakta \xE4garen f\xF6r att beg\xE4ra \xE5tkomst.",unexpectedError:"Videon kunde inte l\xE4sas in. F\xF6rs\xF6k igen senare.",paywallCtaButton:"Registrera dig nu",paywallDescription:"Registrera dig f\xF6r att se den h\xE4r videon"},dl,Ec=(dl={},G()(G()(G()(G()(G()(G()(G()(G()(G()(G()(dl,an.DA,Wn),an.DE,nr),an.EN,to),an.ES,qo),an.FI,Pa),an.FR,$a),an.IT,ss),an.JA,cs),an.NL,Ns),an.NO,Fi),G()(G()(dl,an.PT,xi),an.SV,ni)),ri=an.EN;function cc(Et,D){var N=Object.keys(Et);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(Et);D&&(Z=Z.filter(function(ve){return Object.getOwnPropertyDescriptor(Et,ve).enumerable})),N.push.apply(N,Z)}return N}function su(Et){for(var D=1;D<arguments.length;D++){var N=arguments[D]!=null?arguments[D]:{};D%2?cc(Object(N),!0).forEach(function(Z){G()(Et,Z,N[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Et,Object.getOwnPropertyDescriptors(N)):cc(Object(N)).forEach(function(Z){Object.defineProperty(Et,Z,Object.getOwnPropertyDescriptor(N,Z))})}return Et}var zc=function(D){var N=D.split("-"),Z=N[0];return Object.values(an).find(function(ve){return ve===Z})},$c=function(D){var N;return D&&(N=zc(D))!==null&&N!==void 0?N:ri},Ad=function(D){var N=Ec[ri];return su(su({},N),D)},df=function(D){var N=$c(D),Z=Ec[N];return Ad(Z)},$d=function(){function Et(){y()(this,Et)}return P()(Et,null,[{key:"createLoadingIndicatorElement",value:function(){var N=document.createElement("div");return N.classList.add(Et.LoadingIndicatorClassName),N.appendChild(Et.createLoadingIndicatorIcon()),N}},{key:"createLoadingIndicatorIcon",value:function(){var N="http://www.w3.org/2000/svg",Z="50",ve=document.createElementNS(N,"circle");ve.setAttribute("cx",Z),ve.setAttribute("cy",Z),ve.setAttribute("r","20"),ve.setAttribute("stroke","#fff"),ve.setAttribute("stroke-width","6"),ve.setAttribute("class",this.LoadingIndicatorPathClassName);var je=document.createElementNS(N,"svg");return je.setAttribute("viewBox","25 25 50 50"),je.setAttribute("class",this.LoadingIndicatorSpinnerClassName),je.appendChild(ve),je}}])}();G()($d,"LoadingIndicatorClassName","video-player__loading-indicator"),G()($d,"LoadingIndicatorPathClassName","loading-indicator__path"),G()($d,"LoadingIndicatorSpinnerClassName","loading-indicator__spinner");var ff=function(){function Et(D,N,Z){y()(this,Et),this.player=D,this.isExternalProvider=N,this.controls=Z;var ve=!N&&Z.includes(Ee.LoadingIndicator);if(ve){var je=D.elements.container;this.loadingIndicatorElement=$d.createLoadingIndicatorElement(),this.loadingIndicatorElement.classList.add(Et.PlyrLoadingIndicatorClassName),je==null||je.appendChild(this.loadingIndicatorElement)}else this.loadingIndicatorElement=null}return P()(Et,[{key:"destroy",value:function(){var N;(N=this.loadingIndicatorElement)===null||N===void 0||N.remove()}}])}();G()(ff,"PlyrLoadingIndicatorClassName","video-player__plyr-loading-indicator");var bd=function(){function Et(D){y()(this,Et),G()(this,"loadingScreenClassName","video-player__loading-screen"),this.loadingScreenElement=this.createLoadingScreenElement(D)}return P()(Et,[{key:"destroy",value:function(){var N;(N=this.loadingScreenElement)===null||N===void 0||N.remove()}},{key:"createLoadingScreenElement",value:function(N){var Z=N.elements.container,ve=document.createElement("div");return ve.setAttribute("data-testid",Et.TestId),ve.classList.add(this.loadingScreenClassName),ve.appendChild($d.createLoadingIndicatorElement()),Z==null||Z.appendChild(ve),ve}}])}();G()(bd,"TestId","loading-screen");var gf=function(){function Et(D,N,Z){y()(this,Et),this.element=document.createElement("button"),this.onCtaClick=Z,this.element.classList.add(Et.ClassName),this.element.innerText=N,this.subscribeEvents(),D==null||D.appendChild(this.element)}return P()(Et,[{key:"destroy",value:function(){this.unsubscribeEvents(),this.element.remove()}},{key:"subscribeEvents",value:function(){this.element.addEventListener("click",this.onCtaClick)}},{key:"unsubscribeEvents",value:function(){this.element.removeEventListener("click",this.onCtaClick)}}])}();G()(gf,"ClassName","video-player__paywall-cta-button");var Ku=function(){function Et(D,N){y()(this,Et);var Z=document.createElement("p");Z.innerHTML=N,this.element=document.createElement("div"),this.element.classList.add(Et.ClassName),this.element.appendChild(Z),D==null||D.appendChild(this.element)}return P()(Et,[{key:"destroy",value:function(){this.element.remove()}}])}();G()(Ku,"ClassName","video-player__paywall-description");var ef=function(){function Et(D){y()(this,Et);var N="lock",Z="http://www.w3.org/2000/svg",ve="video-player__icon",je=document.createElement("div"),pt=document.createElementNS(Z,"svg"),Nt=document.createElementNS(Z,"use"),hn="#".concat(ve,"-").concat(N);je.classList.add(Et.ClassName),"href"in Nt&&Nt.setAttributeNS("http://www.w3.org/1999/xlink","href",hn),Nt.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",hn),pt.appendChild(Nt),je.appendChild(pt),this.element=je,D==null||D.appendChild(je)}return P()(Et,[{key:"destroy",value:function(){this.element.remove()}}])}();G()(ef,"ClassName","video-player__lock-icon");var Gc=function(){function Et(D,N,Z){y()(this,Et),G()(this,"ctaButton",null),G()(this,"description",null),G()(this,"lockIcon",null),this.player=D,this.screenElement=this.createScreenElement();var ve=D.config.i18n,je=ve.paywallCtaButton,pt=ve.paywallDescription;this.createLockIcon(),this.createDescription(pt),this.createCtaButton(Z.onCtaClick,je),this.hideVideoPlayerControls(),N==null||N.appendChild(this.screenElement)}return P()(Et,[{key:"destroy",value:function(){this.removeUIElements(),this.showVideoPlayerControls()}},{key:"createScreenElement",value:function(){var N=document.createElement("div");return N.classList.add(Et.ClassName),N}},{key:"createLockIcon",value:function(){this.lockIcon=new ef(this.screenElement)}},{key:"createDescription",value:function(N){this.description=new Ku(this.screenElement,N)}},{key:"createCtaButton",value:function(N,Z){this.ctaButton=new gf(this.screenElement,Z,N)}},{key:"removeUIElements",value:function(){var N,Z,ve,je;(N=this.lockIcon)===null||N===void 0||N.destroy(),(Z=this.description)===null||Z===void 0||Z.destroy(),(ve=this.ctaButton)===null||ve===void 0||ve.destroy(),(je=this.screenElement)===null||je===void 0||je.remove()}},{key:"hideVideoPlayerControls",value:function(){var N=this.player.elements.controls;N==null||N.classList.add("video-player__controls--hidden"),this.player.toggleControls(!1)}},{key:"showVideoPlayerControls",value:function(){var N=this.player.elements.controls;N==null||N.classList.remove("video-player__controls--hidden")}}])}();G()(Gc,"ClassName","video-player__paywall-screen");var Xu={Small:{minWidth:0,className:"video-player"},Medium:{minWidth:480,className:"video-player--medium"},Large:{minWidth:768,className:"video-player--large"}},tf=function(){function Et(D,N){var Z=this,ve;y()(this,Et),this.videoPlayerElement=D,this.getPlayerContainer=N,this.updateContainerClassNames(),this.videoObserver=new ResizeObserver(function(){Z.updateContainerClassNames()}),(ve=this.videoObserver)===null||ve===void 0||ve.observe(D)}return P()(Et,[{key:"destroy",value:function(){var N;this.removeContainerClassNames(),(N=this.videoObserver)===null||N===void 0||N.disconnect()}},{key:"updateContainerClassNames",value:function(){var N,Z=this,ve=Object.values(Xu),je=((N=this.getPlayerContainer())===null||N===void 0?void 0:N.clientWidth)||this.videoPlayerElement.clientWidth;ve.forEach(function(pt){var Nt=pt.minWidth,hn=pt.className;je>=Nt?Z.videoPlayerElement.classList.add(hn):je<Nt&&Z.videoPlayerElement.classList.remove(hn)})}},{key:"removeContainerClassNames",value:function(){var N=this,Z=Object.values(Xu);Z.forEach(function(ve){var je=ve.className;N.videoPlayerElement.classList.remove(je)})}}])}(),$f=767,pd=["only screen and (pointer: coarse) and (orientation: portrait) and (max-device-width: ".concat($f,"px)"),"only screen and (pointer: coarse) and (orientation: landscape) and (max-device-height: ".concat($f,"px)")].join(","),id=function(){return window.matchMedia(mobileBreakpoints).matches},Ef=function(){function Et(D,N){var Z=this;y()(this,Et),G()(this,"thumbnailFocalPointClassName","video-player__thumbnail--focal-point"),G()(this,"thumbnailYouTubeFailureClassName","video-player__thumbnail--youtube-failure"),this.player=D,D.once("ready",function(){Z.thumbnailElement=D==null?void 0:D.elements.poster,N&&Z.setFocalPoint(N),Z.hideThumbnailOnYouTubeFailure()})}return P()(Et,[{key:"destroy",value:function(){var N,Z;(N=this.thumbnailElement)===null||N===void 0||N.classList.remove(this.thumbnailFocalPointClassName),(Z=this.thumbnailElement)===null||Z===void 0||Z.classList.remove(this.thumbnailYouTubeFailureClassName),this.thumbnailElement=null}},{key:"setFocalPoint",value:function(N){this.thumbnailElement&&(this.thumbnailElement.classList.add(this.thumbnailFocalPointClassName),this.thumbnailElement.style.backgroundPosition=this.mapFocalPointToBackgroundPosition(N))}},{key:"mapFocalPointToBackgroundPosition",value:function(N){var Z=N.x,ve=N.y;return"".concat(Z*100,"% ").concat(ve*100,"%")}},{key:"hideThumbnailOnYouTubeFailure",value:function(){var N,Z,ve=((N=this.player)===null||N===void 0?void 0:N.provider)===He.YouTube,je=((Z=this.player)===null||Z===void 0?void 0:Z.duration)===0;if(ve&&je){var pt;(pt=this.thumbnailElement)===null||pt===void 0||pt.classList.add(this.thumbnailYouTubeFailureClassName)}}}])}(),du=function(D){var N=D.detail.plyr;return N.currentTime||0},md=function(D){return D.detail.plyr.duration},ph=function(D){var N=function(){var Go;return D==null||(Go=D.onReady)===null||Go===void 0?void 0:Go.call(D)},Z=function(Go){var pa;return D==null||(pa=D.onPlay)===null||pa===void 0?void 0:pa.call(D,du(Go),md(Go))},ve=function(Go){var pa;return D==null||(pa=D.onPlaying)===null||pa===void 0?void 0:pa.call(D,du(Go),md(Go))},je=function(Go){var pa;return D==null||(pa=D.onTimeUpdate)===null||pa===void 0?void 0:pa.call(D,du(Go),md(Go))},pt=function(Go){var pa;return D==null||(pa=D.onPause)===null||pa===void 0?void 0:pa.call(D,du(Go),md(Go))},Nt=function(Go){var pa;return D==null||(pa=D.onEnd)===null||pa===void 0?void 0:pa.call(D,du(Go),md(Go))},hn=function(Go){var pa,Se=Go.detail.plyr;D==null||(pa=D.onError)===null||pa===void 0||pa.call(D,W.fromPlayerMedia(Se.media))},gn=function(Go){var pa;return D==null||(pa=D.onSeek)===null||pa===void 0?void 0:pa.call(D,du(Go),md(Go))},Xn=function(Go){var pa,Se=Go.detail.plyr;D==null||(pa=D.onSpeedChange)===null||pa===void 0||pa.call(D,Se.speed)},pr=function(Go){var pa,Se=Go.detail.plyr;D==null||(pa=D.onVolumeChange)===null||pa===void 0||pa.call(D,Se.volume,Se.muted)},Zr=function(Go){var pa,Se=Go.detail.plyr;D==null||(pa=D.onQualityChange)===null||pa===void 0||pa.call(D,Se.quality)},oo=function(){var Go;return D==null||(Go=D.onFullscreenEnter)===null||Go===void 0?void 0:Go.call(D)},vo=function(){var Go;return D==null||(Go=D.onFullscreenExit)===null||Go===void 0?void 0:Go.call(D)};return{onReady:N,onPlay:Z,onPlaying:ve,onTimeUpdate:je,onPause:pt,onEnded:Nt,onError:hn,onSeeked:gn,onRateChange:Xn,onVolumeChange:pr,onQualityChange:Zr,onEnterFullscreen:oo,onExitFullscreen:vo}};function Uf(Et,D){var N=Object.keys(Et);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(Et);D&&(Z=Z.filter(function(ve){return Object.getOwnPropertyDescriptor(Et,ve).enumerable})),N.push.apply(N,Z)}return N}function Xf(Et){for(var D=1;D<arguments.length;D++){var N=arguments[D]!=null?arguments[D]:{};D%2?Uf(Object(N),!0).forEach(function(Z){G()(Et,Z,N[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Et,Object.getOwnPropertyDescriptors(N)):Uf(Object(N)).forEach(function(Z){Object.defineProperty(Et,Z,Object.getOwnPropertyDescriptor(N,Z))})}return Et}var _f=function(){function Et(){y()(this,Et)}return P()(Et,null,[{key:"getOptions",value:function(){if(!Et.isSupported())return null;var N=window.localStorage.getItem(Et.StorageKey);return N?JSON.parse(N):null}},{key:"setOption",value:function(N,Z){if(Et.isSupported()){var ve=Et.getOptions(),je=Xf(Xf({},ve),{},G()({},N,Z));window.localStorage.setItem(Et.StorageKey,JSON.stringify(je))}}},{key:"isSupported",value:function(){try{if(!window.localStorage)return!1;var N="is_supported_test";return window.localStorage.setItem(N,N),window.localStorage.removeItem(N),!0}catch{return!1}}}])}();G()(_f,"StorageKey","squarespace-video-player-options");var jd=function(){function Et(D,N){var Z=this;y()(this,Et),G()(this,"containerClassName","video-player__container--click-to-play"),N.clickToPlay&&(this.plyrContainer=D==null?void 0:D.elements.container,D.once("ready",function(){Z.setContainerClassName()}))}return P()(Et,[{key:"destroy",value:function(){this.removeContainerClassName()}},{key:"setContainerClassName",value:function(){var N;(N=this.plyrContainer)===null||N===void 0||N.classList.add(this.containerClassName)}},{key:"removeContainerClassName",value:function(){var N;(N=this.plyrContainer)===null||N===void 0||N.classList.remove(this.containerClassName)}}])}(),Yf=`
  <symbol id="video-player__icon-backward" viewBox="0 0 72 72">
    <path d="M23.2519 58H31.1519V56.04H28.5919V43.64H26.4919C26.3919 44.48 26.0519 45 25.4519 45.34C24.8919 45.64 24.1319 45.84 23.0519 45.86V47.72H26.1519V56.04H23.2519V58ZM38.14 43.42C34.08 43.42 33.1 47 33.1 50.88C33.1 55.12 34.18 58.3 38.16 58.3C42.12 58.3 43.22 55.12 43.22 50.88C43.22 47 42.24 43.42 38.14 43.42ZM38.16 45.62C40.18 45.62 40.6 48 40.6 50.88C40.6 53.98 40.1 56.2 38.16 56.2C36.22 56.2 35.72 53.98 35.72 50.9C35.72 48 36.12 45.62 38.16 45.62Z" fill="white"/>
    <path d="M53 10L53 37L31 23.498L53 10Z" fill="white"/>
    <path d="M31 10L31 37L9 23.498L31 10Z" fill="white"/>
  </symbol>
`,Tf=`
  <symbol id="video-player__icon-enter-fullscreen" viewBox="0 0 24 24">
    <path fill="currentColor" d="m4,4l6,0l0,2l-4,0l0,4l-2,0l0,-6z" />
    <path fill="currentColor" d="m20,4l-6,0l0,2l4,0l0,4l2,0l0,-6z" />
    <path fill="currentColor" d="m10,20l-6,0l0,-6l2,0l0,4l4,0l0,2z" />
    <path fill="currentColor" d="m20,20l-6,0l0,-2l4,0l0,-4l2,0l0,6z" />
    <path stroke-opacity="0.15" stroke="black" d="m4,4l6,0l0,2l-4,0l0,4l-2,0l0,-6z" />
    <path stroke-opacity="0.15" stroke="black" d="m20,4l-6,0l0,2l4,0l0,4l2,0l0,-6z" />
    <path stroke-opacity="0.15" stroke="black" d="m10,20l-6,0l0,-6l2,0l0,4l4,0l0,2z" />
    <path stroke-opacity="0.15" stroke="black" d="m20,20l-6,0l0,-2l4,0l0,-4l2,0l0,6z" />
  </symbol>
`,mu=`
  <symbol id="video-player__icon-exit-fullscreen" viewBox="0 0 24 24">
    <path fill="currentColor" d="m10,10l-6,0l0,-2l4,0l0,-4l2,0l0,6z" />
    <path fill="currentColor" d="m14,10l6,0l0,-2l-4,0l0,-4l-2,0l0,6z" />
    <path fill="currentColor" d="m4,14l6,0l0,6l-2,0l0,-4l-4,0l0,-2z" />
    <path fill="currentColor" d="m14,14l6,0l0,2l-4,0l0,4l-2,0l0,-6z" />
    <path stroke-opacity="0.15" stroke="black" d="m10,10l-6,0l0,-2l4,0l0,-4l2,0l0,6z" />
    <path stroke-opacity="0.15" stroke="black" d="m14,10l6,0l0,-2l-4,0l0,-4l-2,0l0,6z" />
    <path stroke-opacity="0.15" stroke="black" d="m4,14l6,0l0,6l-2,0l0,-4l-4,0l0,-2z" />
    <path stroke-opacity="0.15" stroke="black" d="m14,14l6,0l0,2l-4,0l0,4l-2,0l0,-6z" />
  </symbol>
`,fc=`
  <symbol id="video-player__icon-forward" viewBox="0 0 72 72">
    <path d="M23.2519 58H31.1519V56.04H28.5919V43.64H26.4919C26.3919 44.48 26.0519 45 25.4519 45.34C24.8919 45.64 24.1319 45.84 23.0519 45.86V47.72H26.1519V56.04H23.2519V58ZM38.14 43.42C34.08 43.42 33.1 47 33.1 50.88C33.1 55.12 34.18 58.3 38.16 58.3C42.12 58.3 43.22 55.12 43.22 50.88C43.22 47 42.24 43.42 38.14 43.42ZM38.16 45.62C40.18 45.62 40.6 48 40.6 50.88C40.6 53.98 40.1 56.2 38.16 56.2C36.22 56.2 35.72 53.98 35.72 50.9C35.72 48 36.12 45.62 38.16 45.62Z" fill="white"/>
    <path d="M13 37V10L35 23.502L13 37Z" fill="white"/>
    <path d="M35 37V10L57 23.502L35 37Z" fill="white"/>
  </symbol>
`,Yu=`
  <symbol id="video-player__icon-muted" viewBox="0 0 24 24">
    <path fill-rule="evenodd" clip-rule="evenodd" d="M15 21L16 23H18.2417L7.25 1H5L7.90476 6.80952L6 8H1V16H6L14 21H15ZM8.73495 8.46989L13 17V18.1957L7 14.4457V9.55423L8.73495 8.46989ZM3 10V14H5V10H3Z" fill="currentColor" />
    <path d="M11.3386 4.66339L12.1683 6.32406L13 5.80423V7.98874L15 11.9917V3H14L11.3386 4.66339Z" fill="currentColor" />
    <path d="M17.9634 17.9231L17.0026 16C19.2106 15.9986 21 14.2083 21 12C21 9.79086 19.2091 8 17 8V6C20.3137 6 23 8.68629 23 12C23 14.9858 20.8191 17.4621 17.9634 17.9231Z" fill="currentColor" />
    <path d="M19 12C19 10.8954 18.1046 10 17 10V14C18.1046 14 19 13.1046 19 12Z" fill="currentColor" />
    <path fill-rule="evenodd" clip-rule="evenodd" d="M15 21L16 23H18.2417L7.25 1H5L7.90476 6.80952L6 8H1V16H6L14 21H15ZM8.73495 8.46989L13 17V18.1957L7 14.4457V9.55423L8.73495 8.46989ZM3 10V14H5V10H3Z" stroke="black" stroke-opacity="0.15" />
    <path d="M11.3386 4.66339L12.1683 6.32406L13 5.80423V7.98874L15 11.9917V3H14L11.3386 4.66339Z" stroke="black" stroke-opacity="0.15" />
    <path d="M17.9634 17.9231L17.0026 16C19.2106 15.9986 21 14.2083 21 12C21 9.79086 19.2091 8 17 8V6C20.3137 6 23 8.68629 23 12C23 14.9858 20.8191 17.4621 17.9634 17.9231Z" stroke="black" stroke-opacity="0.15" />
    <path d="M19 12C19 10.8954 18.1046 10 17 10V14C18.1046 14 19 13.1046 19 12Z" stroke="black" stroke-opacity="0.15" />
  </symbol>
`,Du=`
  <symbol id="video-player__icon-pause" viewBox="0 0 72 72">
    <path d="M42.0469 16.042H54V57.9482H42.0469V16.042ZM18 57.9482V16.042H29.9531V57.9482H18Z" />
  </symbol>
`,Qu=`
  <symbol id="video-player__icon-play" viewBox="0 0 72 72">
    <path d="M24.2842 54.7435V17.2559L55.5238 36.0025L24.2842 54.7435Z" />
  </symbol>
`,bu=`
  <symbol id="video-player__icon-replay" viewBox="0 0 72 72">
    <path d="M19.9587 31.6466C22.5091 25.0906 29.0569 19.8821 36.4712 19.8822C45.9757 19.8823 54.1177 27.9446 54.1178 37.5288C54.1179 47.1225 46.0033 55.1756 36.4712 55.1754C31.8366 55.1754 27.2731 53.2868 23.9932 50.0069L19.8338 54.1662C24.2174 58.5498 30.2773 61.0576 36.4712 61.0576C49.238 61.0578 60.0001 50.3851 60 37.5288C59.9999 24.6779 49.2063 14.0001 36.4712 14C27.6621 13.9999 19.9161 19.3001 15.8864 26.5302V14L9.99999 19.8822L9.99999 37.533L27.6508 37.5288L33.533 31.6466H19.9587Z" />
  </symbol>
`,Sd=`
  <symbol id="video-player__icon-settings" viewBox="0 0 24 24">
    <path stroke-opacity="0.15" stroke="black" fill="currentColor" d="m16.1918,6.39334c-0.9162,-0.68607 -2.0061,-1.15284 -3.1918,-1.32245l0,-2.07089l-2,0l0,2.07089c-1.18575,0.16961 -2.27564,0.63638 -3.19181,1.32245l-1.46429,-1.46429l-1.41421,1.41421l1.4642,1.4642c-0.68637,0.91632 -1.15335,2.00648 -1.323,3.19254l-2.07089,0l0,2l2.07089,0c0.16965,1.1861 0.63661,2.2762 1.32297,3.1925l-1.46432,1.4643l1.41421,1.4142l1.46441,-1.4644c0.91618,0.6861 2.00608,1.1529 3.19184,1.3225l0,2.0709l2,0l0,-2.0709c1.1858,-0.1696 2.2758,-0.6364 3.192,-1.3226l1.4645,1.4645l1.4142,-1.4142l-1.4645,-1.4644c0.6863,-0.9163 1.1533,-2.0064 1.3229,-3.1924l2.0709,0l0,-2l-2.0709,0c-0.1696,-1.18606 -0.6366,-2.27622 -1.323,-3.19254l1.4644,-1.46443l-1.4142,-1.41421l-1.4645,1.46452zm-4.1918,10.60666c2.7614,0 5,-2.2386 5,-5c0,-2.76142 -2.2386,-5 -5,-5c-2.76142,0 -5,2.23858 -5,5c0,2.7614 2.23858,5 5,5z" clip-rule="evenodd" fill-rule="evenodd" />
  </symbol>
`,xu=`
  <symbol id="video-player__icon-volume" viewBox="0 0 24 24">
    <path fill="currentColor" d="m15,21l0,-18l-1,0l-8,5l-5,0l0,8l5,0l8,5l1,0zm-8,-6.5543l0,-4.89147l6,-3.75l0,12.39147l-6,-3.75zm-4,-4.4457l0,4l2,0l0,-4l-2,0z" clip-rule="evenodd" fill-rule="evenodd" />
    <path fill="currentColor" d="m17,8c2.2091,0 4,1.79086 4,4c0,2.2091 -1.7909,4 -4,4l0,2c3.3137,0 6,-2.6863 6,-6c0,-3.31371 -2.6863,-6 -6,-6l0,2z" />
    <path fill="currentColor" d="m19,12c0,-1.10457 -0.8954,-2 -2,-2l0,4c1.1046,0 2,-0.8954 2,-2z" />
    <path stroke-opacity="0.15" stroke="black" d="m15,21l0,-18l-1,0l-8,5l-5,0l0,8l5,0l8,5l1,0zm-8,-6.5543l0,-4.89147l6,-3.75l0,12.39147l-6,-3.75zm-4,-4.4457l0,4l2,0l0,-4l-2,0z" clip-rule="evenodd" fill-rule="evenodd" />
    <path stroke-opacity="0.15" stroke="black" d="m17,8c2.2091,0 4,1.79086 4,4c0,2.2091 -1.7909,4 -4,4l0,2c3.3137,0 6,-2.6863 6,-6c0,-3.31371 -2.6863,-6 -6,-6l0,2z" />
    <path stroke-opacity="0.15" stroke="black" d="m19,12c0,-1.10457 -0.8954,-2 -2,-2l0,4c1.1046,0 2,-0.8954 2,-2z" />
  </symbol>
`,Xc=`
  <symbol id="video-player__icon-lock" viewBox="0 0 21 26">
    <path d="M9.1875 15.6V20.8H11.8125V15.6H9.1875Z" fill="white"/>
    <path fill-rule="evenodd" clip-rule="evenodd" d="M3.9375 6.5V10.4H0V26H21V10.4H17.0625V6.5C17.0625 2.91015 14.1244 0 10.5 0C6.87563 0 3.9375 2.91015 3.9375 6.5ZM10.5 2.6C8.32538 2.6 6.5625 4.34609 6.5625 6.5V10.4H14.4375V6.5C14.4375 4.34609 12.6746 2.6 10.5 2.6ZM2.625 13V23.4H18.375V13H2.625Z" fill="white"/>
  </symbol>
`,Ff=`
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    `.concat(Yf,`
    `).concat(Tf,`
    `).concat(mu,`
    `).concat(fc,`
    `).concat(Yu,`
    `).concat(Du,`
    `).concat(bu,`
    `).concat(Qu,`
    `).concat(Sd,`
    `).concat(xu,`
    `).concat(Xc,`
  </svg>
`),Qf=function(){function Et(D,N){y()(this,Et),G()(this,"iconsClassName","video-player__icons"),G()(this,"iconsElement",null);var Z=N.length>0;Z&&(this.iconsElement=this.createIconSpriteElement(),D.appendChild(this.iconsElement))}return P()(Et,[{key:"destroy",value:function(){var N;(N=this.iconsElement)===null||N===void 0||N.remove()}},{key:"createIconSpriteElement",value:function(){var N=document.createElement("div");return N.classList.add(this.iconsClassName),N.innerHTML=Ff,N}}])}(),Jf=function(){function Et(D,N){y()(this,Et),G()(this,"className","video-player__navigation-indicator"),G()(this,"showClassName","".concat(this.className,"--show"));var Z="http://www.w3.org/2000/svg",ve="video-player__icon",je=document.createElement("div"),pt=document.createElementNS(Z,"svg"),Nt=document.createElementNS(Z,"use"),hn="#".concat(ve,"-").concat(D),gn="".concat(this.className,"--").concat(D);je.classList.add(this.className,gn),"href"in Nt&&Nt.setAttributeNS("http://www.w3.org/1999/xlink","href",hn),Nt.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",hn),pt.appendChild(Nt),je.appendChild(pt),this.element=je,N.appendChild(je)}return P()(Et,[{key:"show",value:function(){this.element.classList.add(this.showClassName)}},{key:"hide",value:function(){this.element.classList.remove(this.showClassName)}}])}(),Df=function(Et){return Et.Backward="backward",Et.Forward="forward",Et}({}),vd=function(){function Et(D,N,Z){var ve=this,je,pt;y()(this,Et),G()(this,"navigationIndicatorsClassName","video-player__navigation-indicators"),G()(this,"hideIndicatorTimeoutMs",1e3),G()(this,"navigationIndicatorsElement",null),G()(this,"backwardNavigationIndicator",null),G()(this,"forwardNavigationIndicator",null),G()(this,"plyrContainer",null),G()(this,"toggleNavigationIndicatorListener",function(Xn){var pr=Xn.key;if(ve.player.seeking)switch(pr){case"ArrowLeft":ve.handleBackwardNavigationIndicator();break;case"ArrowRight":ve.handleForwardNavigationIndicator();break}}),this.player=D;var Nt=N.includes(Ee.NavigationIndicators),hn=!!(!((je=Z.keyboard)===null||je===void 0)&&je.focused||!((pt=Z.keyboard)===null||pt===void 0)&&pt.global);if(Nt&&hn){var gn;this.plyrContainer=D.elements.container,this.navigationIndicatorsElement=this.createNavigationIndicatorsElement(),(gn=this.plyrContainer)===null||gn===void 0||gn.appendChild(this.navigationIndicatorsElement),this.subscribeEvents()}}return P()(Et,[{key:"destroy",value:function(){var N;this.unsubscribeEvents(),(N=this.navigationIndicatorsElement)===null||N===void 0||N.remove()}},{key:"createNavigationIndicatorsElement",value:function(){var N=document.createElement("div");return N.classList.add(this.navigationIndicatorsClassName),this.createNavigationIndicators(N),N}},{key:"createNavigationIndicators",value:function(N){this.backwardNavigationIndicator=new Jf(Df.Backward,N),this.forwardNavigationIndicator=new Jf(Df.Forward,N)}},{key:"subscribeEvents",value:function(){var N;(N=this.plyrContainer)===null||N===void 0||N.addEventListener("keydown",this.toggleNavigationIndicatorListener)}},{key:"unsubscribeEvents",value:function(){var N;(N=this.plyrContainer)===null||N===void 0||N.removeEventListener("keydown",this.toggleNavigationIndicatorListener)}},{key:"handleBackwardNavigationIndicator",value:function(){var N,Z,ve=this;window.clearTimeout(this.hideIndicatorTimer),(N=this.forwardNavigationIndicator)===null||N===void 0||N.hide(),(Z=this.backwardNavigationIndicator)===null||Z===void 0||Z.show(),this.hideIndicatorTimer=window.setTimeout(function(){var je;return(je=ve.backwardNavigationIndicator)===null||je===void 0?void 0:je.hide()},this.hideIndicatorTimeoutMs)}},{key:"handleForwardNavigationIndicator",value:function(){var N,Z,ve=this;window.clearTimeout(this.hideIndicatorTimer),(N=this.backwardNavigationIndicator)===null||N===void 0||N.hide(),(Z=this.forwardNavigationIndicator)===null||Z===void 0||Z.show(),this.hideIndicatorTimer=window.setTimeout(function(){var je;return(je=ve.forwardNavigationIndicator)===null||je===void 0?void 0:je.hide()},this.hideIndicatorTimeoutMs)}}])}(),yf=function(){function Et(D,N){y()(this,Et),this.onHeightUpdated=N;var Z=D.elements.controls;Z&&(this.controlsObserver=this.observeControls(Z),this.updateHeight(Z))}return P()(Et,[{key:"destroy",value:function(){var N;(N=this.controlsObserver)===null||N===void 0||N.disconnect()}},{key:"observeControls",value:function(N){var Z=this,ve=new ResizeObserver(function(){return Z.updateHeight(N)});return ve.observe(N),ve}},{key:"updateHeight",value:function(N){var Z=function(Nt){var hn=window.getComputedStyle(Nt);return hn.display!=="none"&&hn.visibility!=="hidden"},ve=Array.from(N.querySelectorAll(".plyr__controls__item")).filter(Z).map(function(pt){return N.clientHeight-pt.offsetTop}),je=Math.max.apply(Math,ie()(ve));this.onHeightUpdated(je)}}])}(),qf=function(){function Et(D){y()(this,Et),this.player=D}return P()(Et,[{key:"destroy",value:function(){this.updateStyles({transform:"",bottom:"",skipTransition:!0})}},{key:"updateHeight",value:function(N){this.updateStyles({transform:"translateY(-".concat(N,"px)"),bottom:"-".concat(N,"px"),skipTransition:!0})}},{key:"updateStyles",value:function(N){var Z=this.player.elements.controls;if(Z){var ve=function(){return Z.offsetHeight},je=Z.style.transition;N.skipTransition&&(Z.style.transition="none"),Z.style.transform=N.transform,Z.style.bottom=N.bottom,N.skipTransition&&(ve(),Z.style.transition=je)}}}])}(),Su=function(){function Et(D,N){y()(this,Et);var Z=N.length>0,ve=D.elements.controls;Z&&D.elements.container&&ve&&(this.blockerElement=this.createBlockerElement(),D.elements.container.appendChild(this.blockerElement))}return P()(Et,[{key:"destroy",value:function(){var N;(N=this.blockerElement)===null||N===void 0||N.remove()}},{key:"updateHeight",value:function(N){this.blockerElement&&(this.blockerElement.style.height="".concat(N,"px"))}},{key:"createBlockerElement",value:function(){var N=document.createElement("div");return N.classList.add(Et.blockerClassName),N}}])}();G()(Su,"blockerClassName","video-player__controls-blocker");var If=function(){function Et(D){var N,Z=this;y()(this,Et),G()(this,"observers",[]);var ve=D.elements.settings.popup;if(ve){var je=(N=D.elements.settings.buttons.speed)===null||N===void 0?void 0:N.querySelector(".plyr__menu__value"),pt=[].concat(ie()(Array.from(ve.querySelectorAll(Et.SpeedLabelsSelector))),ie()(je?[je]:[]));pt.forEach(function(Nt){return Z.formatElement(Nt)}),this.observers=pt.map(function(Nt){return Z.observeLabel(Nt)})}}return P()(Et,[{key:"destroy",value:function(){this.observers.forEach(function(N){return N.disconnect()}),this.observers=[]}},{key:"formatElement",value:function(N){var Z=this.format(N.textContent);Z!==N.textContent&&(N.textContent=Z)}},{key:"format",value:function(N){return N&&N.slice(-1)==="\xD7"?"".concat(parseFloat(N),"x"):N}},{key:"observeLabel",value:function(N){var Z=this,ve=new MutationObserver(function(){return Z.formatElement(N)});return ve.observe(N,{characterData:!1,attributes:!1,childList:!0,subtree:!1}),ve}}])}();G()(If,"SpeedLabelsSelector","button[data-plyr=speed] > span");var ku=function(){function Et(D,N,Z){var ve=this,je,pt;y()(this,Et),G()(this,"hideVolumeTimeoutMs",1e3),G()(this,"showVolumeSliderClassName","video-player__volume--menu-open"),G()(this,"setFocusOnContainer",function(){var Xn;return(Xn=ve.player.elements.container)===null||Xn===void 0?void 0:Xn.focus()}),this.player=D;var Nt=Z.includes(Ee.Volume),hn=!!(!((je=N.keyboard)===null||je===void 0)&&je.focused||!((pt=N.keyboard)===null||pt===void 0)&&pt.global);if(Nt&&hn){var gn;this.player.on("volumechange",function(){return ve.showVolumeOnChange()}),(gn=this.player.elements.inputs.volume)===null||gn===void 0||gn.addEventListener("click",this.setFocusOnContainer)}}return P()(Et,[{key:"destroy",value:function(){var N;(N=this.player.elements.inputs.volume)===null||N===void 0||N.removeEventListener("click",this.setFocusOnContainer),this.clearHideTimeout()}},{key:"clearHideTimeout",value:function(){this.hideTimeout!==void 0&&window.clearTimeout(this.hideTimeout),this.hideTimeout=void 0}},{key:"showVolumeOnChange",value:function(){var N=this;this.isMuted()||(this.isSliderVisible()&&this.hideTimeout!==void 0||!this.isSliderVisible())&&(this.clearHideTimeout(),this.hideTimeout=window.setTimeout(function(){return N.hideVolumeSlider()},this.hideVolumeTimeoutMs),this.showVolumeSlider())}},{key:"isMuted",value:function(){return this.player.muted}},{key:"isSliderVisible",value:function(){var N,Z=this.player.elements.inputs.volume;return!!(Z&&window.getComputedStyle(Z).visibility==="visible"||!((N=this.player.elements.container)===null||N===void 0)&&N.classList.contains(this.showVolumeSliderClassName))}},{key:"showVolumeSlider",value:function(){if(!this.isSliderVisible()){var N,Z;this.player.toggleControls(!1),(N=this.player.elements.buttons.mute)===null||N===void 0||N.focus(),(Z=this.player.elements.container)===null||Z===void 0||Z.classList.add(this.showVolumeSliderClassName)}}},{key:"hideVolumeSlider",value:function(){if(this.clearHideTimeout(),this.isSliderVisible()){var N;this.setFocusOnContainer(),(N=this.player.elements.container)===null||N===void 0||N.classList.remove(this.showVolumeSliderClassName)}}}])}(),wu=function(){function Et(D,N,Z,ve,je){var pt=this;y()(this,Et),G()(this,"unsubscribeFocusOnPlyrContainer",function(){var Nt=pt.getPlayButtons();Nt==null||Nt.forEach(function(hn){return hn.removeEventListener("click",pt.focusOnPlyrContainerListener)})}),G()(this,"focusOnPlyrContainerListener",function(){var Nt;return(Nt=pt.player.elements.container)===null||Nt===void 0?void 0:Nt.focus()}),this.player=D,this.plyrOptions=N,this.videoPlayerControls=Z,this.videoPlayerElement=ve,this.isExternalProvider=je,this.icons=new Qf(ve,Z),this.plyrLoadingIndicator=new ff(D,je,Z),this.volumeSliderToggler=new ku(D,N,Z),this.speedLabelsFormatter=new If(D),this.controlsInteractionBlocker=new Su(D,Z),this.controlsHideOffsetSetter=new qf(D),this.controlsHeightObserver=new yf(D,function(Nt){var hn,gn;(hn=pt.controlsInteractionBlocker)===null||hn===void 0||hn.updateHeight(Nt),(gn=pt.controlsHideOffsetSetter)===null||gn===void 0||gn.updateHeight(Nt)}),this.clickToPlay=new jd(D,N),this.vimeoPlayButton=new bt(D,ve),D.once("ready",function(){pt.movePlayButtonAsTheFirstUIElement(),pt.togglePlayButtonIcon(),pt.navigationIndicators=new vd(D,Z,N)})}return P()(Et,[{key:"destroy",value:function(){var N,Z,ve,je,pt,Nt,hn,gn,Xn;(N=this.clickToPlay)===null||N===void 0||N.destroy(),(Z=this.controlsInteractionBlocker)===null||Z===void 0||Z.destroy(),(ve=this.controlsHideOffsetSetter)===null||ve===void 0||ve.destroy(),(je=this.controlsHeightObserver)===null||je===void 0||je.destroy(),(pt=this.icons)===null||pt===void 0||pt.destroy(),(Nt=this.plyrLoadingIndicator)===null||Nt===void 0||Nt.destroy(),(hn=this.volumeSliderToggler)===null||hn===void 0||hn.destroy(),(gn=this.speedLabelsFormatter)===null||gn===void 0||gn.destroy(),(Xn=this.navigationIndicators)===null||Xn===void 0||Xn.destroy(),this.vimeoPlayButton.destroy(),this.unsubscribeFocusOnPlyrContainer()}},{key:"movePlayButtonAsTheFirstUIElement",value:function(){var N="plyr__control--overlaid",Z=this.getPlayButtons(),ve=Z==null?void 0:Z.find(function(Nt){return Nt.classList.contains(N)}),je=this.player.elements.container,pt=this.player.elements.controls;ve&&(je==null||je.insertBefore(ve,pt))}},{key:"togglePlayButtonIcon",value:function(){var N=this,Z=this.getPlayButtons();if(this.player&&Z){var ve=function(Nt,hn){var gn=Nt.querySelector("use");gn&&gn.setAttribute("href","#video-player__icon-".concat(hn))},je=function(Nt){return Z.forEach(function(hn){return ve(hn,Nt)})};this.player.on("play",function(){return je("pause")}),this.player.on("pause",function(){return je("play")}),this.player.on("seeking",function(){return N.player.playing?je("pause"):je("play")}),this.player.on("ended",function(){return je("replay")}),this.subscribeFocusOnPlyrContainer(Z)}}},{key:"getPlayButtons",value:function(){var N,Z=(N=this.player)===null||N===void 0?void 0:N.elements.buttons.play;return Z?Array.isArray(Z)?Z:[Z]:null}},{key:"subscribeFocusOnPlyrContainer",value:function(N){var Z=this;N.forEach(function(ve){return ve.addEventListener("click",Z.focusOnPlyrContainerListener)})}}])}(),Wf=e(305170),hf=function(){function Et(){y()(this,Et)}return P()(Et,null,[{key:"getSessionId",value:function(){if(!Et.sessionId){var N,Z=_f.getOptions();Et.sessionId=(N=Z==null?void 0:Z.sessionId)!==null&&N!==void 0?N:Et.createSessionId()}return Et.sessionId}},{key:"createSessionId",value:function(){var N=(0,Wf.Z)();return _f.setOption("sessionId",N),N}}])}();function eh(Et,D){var N=Object.keys(Et);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(Et);D&&(Z=Z.filter(function(ve){return Object.getOwnPropertyDescriptor(Et,ve).enumerable})),N.push.apply(N,Z)}return N}function Of(Et){for(var D=1;D<arguments.length;D++){var N=arguments[D]!=null?arguments[D]:{};D%2?eh(Object(N),!0).forEach(function(Z){G()(Et,Z,N[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Et,Object.getOwnPropertyDescriptors(N)):eh(Object(N)).forEach(function(Z){Object.defineProperty(Et,Z,Object.getOwnPropertyDescriptor(N,Z))})}return Et}var sh=function(){function Et(D,N){var Z=this,ve;y()(this,Et),G()(this,"thumbnail",null),G()(this,"ui",null),G()(this,"playbackDriver",null),G()(this,"embedAspectRatio",null),G()(this,"videoPlayerErrorHandler",null),G()(this,"videoProvider",null),G()(this,"loadingScreen",null),G()(this,"paywall",null),this.videoPlayerElement=D;var je=Date.now(),pt=hf.getSessionId(),Nt=N.environment,hn=N.src,gn=N.options,Xn=N.thumbnailSrc,pr=N.events;this.videoPlayerElement.videoPlayer=this,this.breakpointsSetter=new tf(this.videoPlayerElement,function(){var Fo,Go;return(Fo=(Go=Z.player)===null||Go===void 0?void 0:Go.elements.container)!==null&&Fo!==void 0?Fo:null});var Zr=this.createVideoElement(D,gn),oo=(ve=gn==null?void 0:gn.controls)!==null&&ve!==void 0?ve:Et.DefaultControls,vo=this.createPlyrOptions(Of({controls:oo},gn));this.player=new(me())(Zr,vo);try{if(!Nt)throw new W(_.InvalidConfiguration,"You must provide 'environment' in the configuration.");if(!hn||hn.trim().length===0)throw new W(_.InvalidConfiguration,"You must provide 'src' in the configuration.");this.videoPlayerErrorHandler=new Pd(this.player,this.isExternalProvider),this.videoProvider=tt(hn,Zr),this.playbackDriver=wn(this.videoProvider,{videoElement:Zr,src:hn,thumbnailSrc:Xn,player:this.player,errorHandler:this.videoPlayerErrorHandler,onUnauthorizedError:gn!=null&&gn.paywall?function(){return Z.showPaywall(gn==null?void 0:gn.paywall,pr)}:null}),this.embedAspectRatio=new _e(D,this.player,this.isExternalProvider),this.thumbnail=new Ef(this.player,gn==null?void 0:gn.thumbnailFocalPoint),this.ui=new wu(this.player,vo,fe[oo],D,this.isExternalProvider),this.isLoading=!0,this.player.once("ready",function(){Z.setDefaultSpeed(vo)}),this.subscribeEvents(pr),this.onReady().then(function(){Z.isLoading=!1})}catch(Fo){this.videoPlayerErrorHandler||(this.videoPlayerErrorHandler=new Pd(this.player,this.isExternalProvider)),this.videoPlayerErrorHandler.handleError(Fo)}}return P()(Et,[{key:"speed",set:function(N){this.player&&(this.player.speed=N)}},{key:"thumbnailFocalPoint",set:function(N){this.thumbnail&&this.thumbnail.setFocalPoint(N)}},{key:"isLoading",set:function(N){if(N)this.loadingScreen===null&&(this.loadingScreen=this.player?new bd(this.player):null);else{var Z;(Z=this.loadingScreen)===null||Z===void 0||Z.destroy(),this.loadingScreen=null}}},{key:"currentTime",get:function(){var N;return((N=this.player)===null||N===void 0?void 0:N.currentTime)||0},set:function(N){this.player&&(this.player.currentTime=N)}},{key:"duration",get:function(){var N;return((N=this.player)===null||N===void 0?void 0:N.duration)||0}},{key:"isMuted",get:function(){var N;return((N=this.player)===null||N===void 0?void 0:N.muted)||!1}},{key:"volume",get:function(){var N;return((N=this.player)===null||N===void 0?void 0:N.volume)||0}},{key:"isPlaying",get:function(){var N;return((N=this.player)===null||N===void 0?void 0:N.playing)||!1}},{key:"isPaused",get:function(){var N;return((N=this.player)===null||N===void 0?void 0:N.paused)||!1}},{key:"isEnded",get:function(){var N;return((N=this.player)===null||N===void 0?void 0:N.ended)||!1}},{key:"isExternalProvider",get:function(){return this.videoProvider?Object.values(Be).includes(this.videoProvider):!1}},{key:"destroy",value:function(){var N=this,Z,ve,je,pt,Nt,hn,gn,Xn,pr=function(){N.player=null};(Z=this.ui)===null||Z===void 0||Z.destroy(),this.ui=null,(ve=this.playbackDriver)===null||ve===void 0||ve.destroy(),this.playbackDriver=null,(je=this.thumbnail)===null||je===void 0||je.destroy(),(pt=this.paywall)===null||pt===void 0||pt.destroy(),(Nt=this.embedAspectRatio)===null||Nt===void 0||Nt.destroy(),(hn=this.videoPlayerErrorHandler)===null||hn===void 0||hn.destroy(),this.isLoading=!1,(gn=this.player)===null||gn===void 0||gn.destroy(function(){var Zr=this;Zr.remove(),pr()}),(Xn=this.breakpointsSetter)===null||Xn===void 0||Xn.destroy(),this.breakpointsSetter=null,this.videoPlayerElement.videoPlayer=null}},{key:"onReady",value:function(){var D=pe()(q().mark(function Z(){var ve;return q().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:return pt.next=2,this.onPlayer("ready");case 2:return pt.next=4,(ve=this.playbackDriver)===null||ve===void 0?void 0:ve.onReady();case 4:case"end":return pt.stop()}},Z,this)}));function N(){return D.apply(this,arguments)}return N}()},{key:"onLoadedData",value:function(){var D=pe()(q().mark(function Z(){return q().wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return je.next=2,this.onPlayer("loadeddata");case 2:case"end":return je.stop()}},Z,this)}));function N(){return D.apply(this,arguments)}return N}()},{key:"onPlayer",value:function(){var D=pe()(q().mark(function Z(ve){var je;return q().wrap(function(Nt){for(;;)switch(Nt.prev=Nt.next){case 0:if(je=this.player,je){Nt.next=3;break}return Nt.abrupt("return",Promise.reject());case 3:return Nt.abrupt("return",new Promise(function(hn){je.once(ve,function(){return hn()})}));case 4:case"end":return Nt.stop()}},Z,this)}));function N(Z){return D.apply(this,arguments)}return N}()},{key:"createVideoElement",value:function(N,Z){var ve=document.createElement("video");return ve.setAttribute("playsinline",""),ve.setAttribute("webkit-playsinline",""),Z!=null&&Z.loop&&ve.setAttribute("loop",""),Z!=null&&Z.muted&&ve.setAttribute("muted",""),Z!=null&&Z.autoPlay&&ve.setAttribute("autoplay",""),N.appendChild(ve),ve}},{key:"createPlyrOptions",value:function(N){var Z,ve,je,pt,Nt,hn,gn,Xn,pr=N!=null&&N.controls?this.mapToPlyrControlNames(fe[N.controls]):[],Zr=[H.Speed],oo={enabled:(Z=N==null?void 0:N.storage)!==null&&Z!==void 0?Z:!0,key:_f.StorageKey},vo=this.getSelectedSpeed(oo.enabled,N==null?void 0:N.speed);return{speed:{selected:vo,options:ie()(z)},volume:(ve=N==null?void 0:N.volume)!==null&&ve!==void 0?ve:1,muted:(je=N==null?void 0:N.muted)!==null&&je!==void 0?je:!1,clickToPlay:(pt=N==null?void 0:N.clickToPlay)!==null&&pt!==void 0?pt:!0,autoplay:(Nt=N==null?void 0:N.autoPlay)!==null&&Nt!==void 0?Nt:!1,loop:{active:(hn=N==null?void 0:N.loop)!==null&&hn!==void 0?hn:!1},fullscreen:{enabled:(gn=N==null?void 0:N.fullscreen)!==null&&gn!==void 0?gn:!0,iosNative:!0},controls:pr,i18n:df(N==null?void 0:N.language),keyboard:{focused:(Xn=N==null?void 0:N.keyboard)!==null&&Xn!==void 0?Xn:!0},captions:{active:!1,update:!1},storage:oo,loadSprite:!1,iconPrefix:"video-player__icon",blankVideo:re,settings:Zr,vimeo:{controls:!0}}}},{key:"showPaywall",value:function(N,Z){if(this.player&&N){var ve=function(){var pt;Z==null||(pt=Z.onPaywallCtaClick)===null||pt===void 0||pt.call(Z),N==null||N.onCtaClick()};this.createPaywall({onCtaClick:ve}),this.isLoading=!1}}},{key:"createPaywall",value:function(N){this.player&&(this.paywall=new Gc(this.player,this.videoPlayerElement,N))}},{key:"getSelectedSpeed",value:function(N,Z){if(N){var ve,je=_f.getOptions(),pt=je&&Number(je.speed)&&(ve=je.speed)!==null&&ve!==void 0?ve:null;if(pt)return pt}return Z??Et.DefaultVideoPlayerSpeed}},{key:"mapToPlyrControlNames",value:function(N){var Z=new Map([[Ee.Play,[he.PlayLarge]],[Ee.Time,[he.CurrentTime,he.Duration]]]),ve=Object.values(he);return N.flatMap(function(je){var pt,Nt;return(pt=(Nt=Z.get(je))!==null&&Nt!==void 0?Nt:ve.find(function(hn){return hn===je}))!==null&&pt!==void 0?pt:[]})}},{key:"setDefaultSpeed",value:function(N){var Z=this;this.player&&this.player.once("canplay",function(){var ve,je=(ve=N.speed)===null||ve===void 0?void 0:ve.selected;Z.player&&je&&(Z.player.speed=je)})}},{key:"subscribeEvents",value:function(N){if(this.player){var Z=ph(N);this.player.on("ready",Z.onReady),this.player.on("play",Z.onPlay),this.player.on("playing",Z.onPlaying),this.player.on("timeupdate",Z.onTimeUpdate),this.player.on("pause",Z.onPause),this.player.on("ended",Z.onEnded),this.player.on("error",Z.onError),this.player.on("seeked",Z.onSeeked),this.player.on("ratechange",Z.onRateChange),this.player.on("volumechange",Z.onVolumeChange),this.player.on("qualitychange",Z.onQualityChange),this.player.on("enterfullscreen",Z.onEnterFullscreen),this.player.on("exitfullscreen",Z.onExitFullscreen)}}}])}();G()(sh,"DefaultControls",g.Full),G()(sh,"DefaultVideoPlayerSpeed",1)},749189:function(b,l,e){"use strict";e.d(l,{Z:()=>Ne});var r=e(708380),o=e(304807);function n(Ce,we){var $e=Object.keys(Ce);if(Object.getOwnPropertySymbols){var Ot=Object.getOwnPropertySymbols(Ce);we&&(Ot=Ot.filter(function(Pt){return Object.getOwnPropertyDescriptor(Ce,Pt).enumerable})),$e.push.apply($e,Ot)}return $e}function a(Ce){for(var we=1;we<arguments.length;we++){var $e=arguments[we]!=null?arguments[we]:{};we%2?n(Object($e),!0).forEach(function(Ot){f(Ce,Ot,$e[Ot])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ce,Object.getOwnPropertyDescriptors($e)):n(Object($e)).forEach(function(Ot){Object.defineProperty(Ce,Ot,Object.getOwnPropertyDescriptor($e,Ot))})}return Ce}function i(Ce,we){if(!(Ce instanceof we))throw new TypeError("Cannot call a class as a function")}function c(Ce,we){for(var $e=0;$e<we.length;$e++){var Ot=we[$e];Ot.enumerable=Ot.enumerable||!1,Ot.configurable=!0,"value"in Ot&&(Ot.writable=!0),Object.defineProperty(Ce,Ot.key,Ot)}}function u(Ce,we,$e){return we&&c(Ce.prototype,we),$e&&c(Ce,$e),Object.defineProperty(Ce,"prototype",{writable:!1}),Ce}function f(Ce,we,$e){return we in Ce?Object.defineProperty(Ce,we,{value:$e,enumerable:!0,configurable:!0,writable:!0}):Ce[we]=$e,Ce}function d(Ce,we){return we={exports:{}},Ce(we,we.exports),we.exports}var h=d(function(Ce){var we=Ce.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=we)}),g=d(function(Ce){var we=Ce.exports={version:"2.6.12"};typeof __e=="number"&&(__e=we)}),_=g.version,p=function(Ce){return typeof Ce=="object"?Ce!==null:typeof Ce=="function"},y=function(Ce){if(!p(Ce))throw TypeError(Ce+" is not an object!");return Ce},O=function(Ce){try{return!!Ce()}catch{return!0}},P=!O(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),C=h.document,A=p(C)&&p(C.createElement),S=function(Ce){return A?C.createElement(Ce):{}},T=!P&&!O(function(){return Object.defineProperty(S("div"),"a",{get:function(){return 7}}).a!=7}),s=function(Ce,we){if(!p(Ce))return Ce;var $e,Ot;if(we&&typeof($e=Ce.toString)=="function"&&!p(Ot=$e.call(Ce))||typeof($e=Ce.valueOf)=="function"&&!p(Ot=$e.call(Ce))||!we&&typeof($e=Ce.toString)=="function"&&!p(Ot=$e.call(Ce)))return Ot;throw TypeError("Can't convert object to primitive value")},v=Object.defineProperty,m=P?Object.defineProperty:function(we,$e,Ot){if(y(we),$e=s($e,!0),y(Ot),T)try{return v(we,$e,Ot)}catch{}if("get"in Ot||"set"in Ot)throw TypeError("Accessors not supported!");return"value"in Ot&&(we[$e]=Ot.value),we},E={f:m},I=function(Ce,we){return{enumerable:!(Ce&1),configurable:!(Ce&2),writable:!(Ce&4),value:we}},L=P?function(Ce,we,$e){return E.f(Ce,we,I(1,$e))}:function(Ce,we,$e){return Ce[we]=$e,Ce},W={}.hasOwnProperty,F=function(Ce,we){return W.call(Ce,we)},G=0,k=Math.random(),x=function(Ce){return"Symbol(".concat(Ce===void 0?"":Ce,")_",(++G+k).toString(36))},M=d(function(Ce){var we="__core-js_shared__",$e=h[we]||(h[we]={});(Ce.exports=function(Ot,Pt){return $e[Ot]||($e[Ot]=Pt!==void 0?Pt:{})})("versions",[]).push({version:g.version,mode:"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})}),B=M("native-function-to-string",Function.toString),R=d(function(Ce){var we=x("src"),$e="toString",Ot=(""+B).split($e);g.inspectSource=function(Pt){return B.call(Pt)},(Ce.exports=function(Pt,Ie,Bt,mt){var rt=typeof Bt=="function";rt&&(F(Bt,"name")||L(Bt,"name",Ie)),Pt[Ie]!==Bt&&(rt&&(F(Bt,we)||L(Bt,we,Pt[Ie]?""+Pt[Ie]:Ot.join(String(Ie)))),Pt===h?Pt[Ie]=Bt:mt?Pt[Ie]?Pt[Ie]=Bt:L(Pt,Ie,Bt):(delete Pt[Ie],L(Pt,Ie,Bt)))})(Function.prototype,$e,function(){return typeof this=="function"&&this[we]||B.call(this)})}),U=function(Ce){if(typeof Ce!="function")throw TypeError(Ce+" is not a function!");return Ce},j=function(Ce,we,$e){if(U(Ce),we===void 0)return Ce;switch($e){case 1:return function(Ot){return Ce.call(we,Ot)};case 2:return function(Ot,Pt){return Ce.call(we,Ot,Pt)};case 3:return function(Ot,Pt,Ie){return Ce.call(we,Ot,Pt,Ie)}}return function(){return Ce.apply(we,arguments)}},$="prototype",ee=function(Ce,we,$e){var Ot=Ce&ee.F,Pt=Ce&ee.G,Ie=Ce&ee.S,Bt=Ce&ee.P,mt=Ce&ee.B,rt=Pt?h:Ie?h[we]||(h[we]={}):(h[we]||{})[$],ce=Pt?g:g[we]||(g[we]={}),Re=ce[$]||(ce[$]={}),nt,st,vt,ze;Pt&&($e=we);for(nt in $e)st=!Ot&&rt&&rt[nt]!==void 0,vt=(st?rt:$e)[nt],ze=mt&&st?j(vt,h):Bt&&typeof vt=="function"?j(Function.call,vt):vt,rt&&R(rt,nt,vt,Ce&ee.U),ce[nt]!=vt&&L(ce,nt,ze),Bt&&Re[nt]!=vt&&(Re[nt]=vt)};h.core=g,ee.F=1,ee.G=2,ee.S=4,ee.P=8,ee.B=16,ee.W=32,ee.U=64,ee.R=128;var te=ee,ie={}.toString,ne=function(Ce){return ie.call(Ce).slice(8,-1)},pe=Object("z").propertyIsEnumerable(0)?Object:function(Ce){return ne(Ce)=="String"?Ce.split(""):Object(Ce)},oe=function(Ce){if(Ce==null)throw TypeError("Can't call method on  "+Ce);return Ce},q=function(Ce){return Object(oe(Ce))},J=Math.ceil,me=Math.floor,re=function(Ce){return isNaN(Ce=+Ce)?0:(Ce>0?me:J)(Ce)},he=Math.min,Ee=function(Ce){return Ce>0?he(re(Ce),9007199254740991):0},fe=Array.isArray||function(we){return ne(we)=="Array"},H=d(function(Ce){var we=M("wks"),$e=h.Symbol,Ot=typeof $e=="function",Pt=Ce.exports=function(Ie){return we[Ie]||(we[Ie]=Ot&&$e[Ie]||(Ot?$e:x)("Symbol."+Ie))};Pt.store=we}),z=H("species"),_e=function(Ce){var we;return fe(Ce)&&(we=Ce.constructor,typeof we=="function"&&(we===Array||fe(we.prototype))&&(we=void 0),p(we)&&(we=we[z],we===null&&(we=void 0))),we===void 0?Array:we},ae=function(Ce,we){return new(_e(Ce))(we)},ge=function(Ce,we){var $e=Ce==1,Ot=Ce==2,Pt=Ce==3,Ie=Ce==4,Bt=Ce==6,mt=Ce==5||Bt,rt=we||ae;return function(ce,Re,nt){for(var st=q(ce),vt=pe(st),ze=j(Re,nt,3),It=Ee(vt.length),on=0,Pn=$e?rt(ce,It):Ot?rt(ce,0):void 0,Yn,Ln;It>on;on++)if((mt||on in vt)&&(Yn=vt[on],Ln=ze(Yn,on,st),Ce)){if($e)Pn[on]=Ln;else if(Ln)switch(Ce){case 3:return!0;case 5:return Yn;case 6:return on;case 2:Pn.push(Yn)}else if(Ie)return!1}return Bt?-1:Pt||Ie?Ie:Pn}},Be=function(Ce,we){return!!Ce&&O(function(){we?Ce.call(null,function(){},1):Ce.call(null)})},Ke=ge(0),He=Be([].forEach,!0);te(te.P+te.F*!He,"Array",{forEach:function(we){return Ke(this,we,arguments[1])}}),te(te.S+te.F*!P,"Object",{defineProperty:E.f});var ye=function(){},Le=function(){return"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}),!0):!1}(),Ue=function(){return!!("ontouchstart"in window||window.navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0||window.DocumentTouch&&document instanceof DocumentTouch)}(),Xe=function(we){var $e=we,Ot=0;do Ot=$e.offsetTop+Ot;while($e=$e.offsetParent);return Ot},Fe=function(){function Ce(we,$e){var Ot=this;i(this,Ce),f(this,"onResize",function(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Bt=Ie.shouldSkipUpdate,mt=Bt===void 0?!1:Bt,rt=Ot.props.scrollEvents;Ot.computePositionData(),Ot.pos.offsetTop=Xe(Ot.node),Ot.pos.offsetBottom=document.body.scrollHeight-Ot.pos.offsetTop-Ot.pos.clientHeight,!(!rt||Le&&mt)&&Ot.onUpdate(!0)}),f(this,"onScroll",function(){Ot.onUpdate(!Ue)}),f(this,"onIntersect",function(Ie){Ie.forEach(function(Bt){var mt=Bt.isIntersecting,rt=Ot.props,ce=rt.onIntersection,Re=rt.windowRef;if(ce(mt),Ot.onUpdate(),mt){o.default.on(Ot.onScroll,Re);return}o.default.off(Ot.onScroll,Re)})}),f(this,"destroy",function(){Ot.unbindListeners()}),this.props=a(a({},this.constructor.defaultProps),$e),this.node=we,this.observer={intersection:null};var Pt=this.props.windowRef.pageYOffset;this.pos={scrollTop:Pt,top:0,bottom:0,progress:0,intersectionProgress:0,windowHeight:0,clientHeight:0,offsetTop:0,offsetBottom:0,initial:this.getNodePositionData(this.node,Pt),isIntersecting:!1}}return u(Ce,[{key:"start",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){if(r.Z.on(this.onResize),this.onResize({shouldSkipUpdate:!0}),Le){this.observer.intersection=new IntersectionObserver(this.onIntersect,{rootMargin:"0px 0px 0px 0px"}),this.observer.intersection.observe(this.node);return}else this.onUpdate(!0);o.default.on(this.onScroll,this.props.windowRef)}},{key:"unbindListeners",value:function(){this.observer.intersection&&this.observer.intersection.unobserve(this.node),r.Z.off(this.onResize),o.default.off(this.onScroll)}},{key:"onUpdate",value:function(){var $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Ot=this.props,Pt=Ot.scrollEvents,Ie=Ot.normalize,Bt=Ot.onIntersection,mt=Ot.onUpdate,rt=Ot.windowRef;$e?this.pos.scrollTop=rt.pageYOffset:this.computePositionData();var ce=this.pos,Re=ce.clientHeight,nt=ce.windowHeight,st=ce.initial;this.pos.top=st.top-this.pos.scrollTop,this.pos.bottom=st.bottom-this.pos.scrollTop-nt;var vt=Ie?Math.min(this.pos.offsetTop,nt):nt,ze=Ie?Math.min(this.pos.offsetBottom,nt):nt,It=-this.pos.top+vt,on=vt+Re+ze-nt,Pn=1-(this.pos.top+Re)/(nt+Re),Yn=It===on?1:(-this.pos.top+vt)/(vt+Re+ze-nt);this.pos.progress=Yn<0?0:Yn>1?1:Yn,this.pos.intersectionProgress=Pn<0?0:Pn>1?1:Pn,Le||(this.pos.intersectionProgress>0&&this.pos.intersectionProgress<1?this.pos.isIntersecting||(this.pos.isIntersecting=!0,Bt(this.pos.isIntersecting),this.onResize()):this.pos.isIntersecting&&(this.pos.isIntersecting=!1,Bt(this.pos.isIntersecting))),Pt&&mt(this.pos)}},{key:"computePositionData",value:function(){this.pos.windowHeight=this.props.windowRef.innerHeight,this.pos.clientHeight=this.node.clientHeight,this.pos.scrollTop=this.props.windowRef.pageYOffset,this.pos.initial=this.getNodePositionData(this.node,this.pos.scrollTop)}},{key:"getNodePositionData",value:function($e,Ot){var Pt=$e.getBoundingClientRect(),Ie=Pt.top,Bt=Pt.right,mt=Pt.bottom,rt=Pt.left;return{top:Math.round(Ie)+Ot,right:Bt,bottom:Math.round(mt)+Ot,left:rt}}}]),Ce}();f(Fe,"defaultProps",{scrollEvents:!0,onIntersection:ye,onUpdate:ye,windowRef:window});var ht=u(function Ce(we,$e){var Ot=this;if(i(this,Ce),f(this,"onIntersection",function(ce){var Re=Ot.props.onIntersection;Ot.state.isIntersecting=ce,Re(ce)}),f(this,"onUpdate",function(ce){var Re=ce.progress;Ot.onProgress(Re)}),f(this,"onProgress",function(ce){var Re=Ot.props.onProgress;Ot.state.progress!==ce&&(Ot.state.progress=ce,Re(Ot.state.progress))}),f(this,"destroy",function(){Ot.intersection.destroy()}),this.props=a(a({},this.constructor.defaultProps),$e),!we){console.error("Error: No valid HTMLElement node was supplied!");return}var Pt=this.props,Ie=Pt.normalize,Bt=Pt.progressEvents,mt=Pt.onProgress,rt=Pt.windowRef;this.state={normalize:Ie,progressEvents:Bt&&mt,progress:-1,isIntersecting:!1},this.intersection=new Fe(we,{normalize:Ie,scrollEvents:this.state.progressEvents,onIntersection:this.onIntersection,onUpdate:this.onUpdate,windowRef:rt}),this.intersection.start()});f(ht,"defaultProps",{progressEvents:!0,normalize:!0,onIntersection:ye,onProgress:null,windowRef:window});const Ne=ht},708380:function(b,l,e){"use strict";e.d(l,{Z:()=>T});function r(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}function o(s,v){for(var m=0;m<v.length;m++){var E=v[m];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(s,E.key,E)}}function n(s,v,m){return v&&o(s.prototype,v),m&&o(s,m),Object.defineProperty(s,"prototype",{writable:!1}),s}function a(s,v,m){return v in s?Object.defineProperty(s,v,{value:m,enumerable:!0,configurable:!0,writable:!0}):s[v]=m,s}function i(s){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,m;function E(){s()}function I(){if(m&&clearTimeout(m),!v){s();return}m=setTimeout(E,v)}return I.cancel=function(){clearTimeout(m)},I}var c=function(){function s(v){var m=this,E=v.waitTime,I=v.callback;r(this,s),a(this,"executeCallback",function(L){L()}),a(this,"executeCallbacks",function(){m.callbacks.forEach(m.executeCallback)}),a(this,"executeRAF",function(){cancelAnimationFrame(m.requestID),m.requestID=requestAnimationFrame(m.executeCallbacks)}),this.callbacks=new Set,this.callbacks.add(I),this.requestID=null,this.execute=E?i(this.executeRAF,E):this.executeCallbacks}return n(s,[{key:"add",value:function(m){this.callbacks.add(m)}},{key:"remove",value:function(m){this.callbacks.delete(m);var E=this.callbacks.size;return!E&&this.execute.cancel&&(this.execute.cancel(),cancelAnimationFrame(this.requestID)),E}}]),s}(),u=new Map,f=new Map,d=150,h=!1,g;function _(s){s.execute()}function p(){u.forEach(_)}function y(){cancelAnimationFrame(g),g=requestAnimationFrame(p)}function O(s){if(typeof s=="function"){var v=f.get(s);if(v!==void 0){var m=u.get(v).remove(s);f.delete(s),!m&&u.delete(v)}}}function P(s,v){if(typeof s=="function"){var m=s.cancel?0:v,E=f.get(s),I=u.get(m);if(E!==void 0&&E!==m&&O(s),f.set(s,m),!I){u.set(m,new c({waitTime:m,callback:s}));return}I.add(s)}}function C(s){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d;P(s,v),!h&&(window.addEventListener("resize",y),h=!0)}function A(s){O(s),!(!h||u.size)&&(window.removeEventListener("resize",y),h=!1)}var S={on:C,off:A,trigger:y};const T=S},304807:function(b,l){"use strict";var e;e={value:!0},l.default=void 0;var r=[],o=0,n=!1,a=!1,i=!1,c=function(){var f=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){f={passive:!0}}}))}catch{}return f}(),u={scroll:function(d){a||(a=!0,requestAnimationFrame(this.executeCallbacks))},executeCallbacks:function(){for(var d=0;d<o;d+=1)r[d]();a=!1},registerCallback:function(d){var h=r.indexOf(d);!d||h>-1||(r.push(d),o+=1)},removeCallback:function(d){if(d){var h=r.indexOf(d);h!==-1&&(r.splice(h,1),o-=1)}},bindMethods:function(){n||(this.scroll=this.scroll.bind(this),n=!0)},trigger:function(){this.scroll()},on:function(d){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window;i||(i=!0,this.bindMethods(),this.windowRef=h,h.addEventListener("scroll",this.scroll,c)),this.registerCallback(d)},off:function(d){this.removeCallback(d),i&&o===0&&(this.bindMethods(),i=!1,this.windowRef.removeEventListener("scroll",this.scroll),this.windowRef=null)}};l.default=u},400027:function(b,l,e){"use strict";e.d(l,{Z:()=>r});const r={blob1:"blob1",blob2:"blob2",brush1:"brush1",brush2:"brush2",brush3:"brush3",circle1:"circle1",polygon1:"polygon1",polygon2:"polygon2"}},200965:function(b,l,e){"use strict";e.d(l,{Z:()=>r});const r={circle:"circle",crossStitch:"crossStitch",cube:"cube",gingham:"gingham",gradientCircle:"gradientCircle",houndstooth:"houndstooth",stitch:"stitch"}},360485:function(b,l,e){"use strict";e.d(l,{Z:()=>r});const r={liquid:"liquid",parallax:"parallax",refractedCircles:"refractedCircles",refractedLines:"refractedLines",filmGrain:"filmGrain"}},367919:function(){YUI.add("@sqs/yui-gallery/designs/autocolumns",function(b){b.namespace("SQS.Gallery.Designs"),b.SQS.Gallery.Designs.autocolumns=b.Base.create("GalleryDesignAutocolumns",b.Plugin.Base,[b.SQS.Gallery.GismoBase,b.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{dimensions:null,initializer:function(){var l=this.get("host");l.get("container").addClass(this._getProperty("CONTAINER_CLASS")),l.get("slides").addClass(this._getProperty("SLIDE_CLASS")),l.plugLoaders(),this._evaluateBricks(),this.get("lightbox")&&b.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),l.get("slides")),this._bindUI(),this._syncUI(),this.get("mixedContent")&&l.get("slides").each(function(e,r){var o=e.test("img")?e:e.one("img");o?o.onceAfter("loaded",function(){e.addClass("positioned")},this):e.addClass("positioned")},this)},destructor:function(){var l=this.get("host");if(l){var e=l.get("container"),r=l.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),r&&r.removeClass(this._getProperty("SLIDE_CLASS"))}this._flushEvents()},_bindUI:function(){var l=this.get("host");l.after("refresh",this._syncUI,this);var e=new b.SQS.Gallery.ResizeEmitter({timeout:100});this._event(e.on("resize",this._syncUI,this)),l.after("aspectRatioChange",function(r){this.set("aspectRatio",r.newVal),this._evaluateBricks(),this._syncUI()},this),l.after(["columnWidthChange","columnWidthBehaviorChange","gutterChange","mixedContentChange"],function(r){this.set(r.attrName,r.newVal),this._syncUI()},this),l.after("lightboxChange",function(r){b.SQS.Gallery.Manager.lightboxify(r.newVal,l.get("slides"))},this)},_syncUI:function(){var l=this.get("host"),e=l.get("container").get("offsetWidth"),r=this.get("aspectRatio"),o=Math.min(this.get("gutter"),this.get("columnWidth")),n=this.get("mixedContent"),a=this.get("columnWidthBehavior")==="min"?"floor":"ceil",i=Math[a](e/this.get("columnWidth"));i=Math.max(i,1);for(var c=o*(i-1),u=(e-c)/i,f=Math.floor(u),d=[],h=0;h<i;h++)d[h]=0;l.get("slides").each(function(g,_){var p=_%i;r||(p=d.indexOf(Math.min.apply(Math,d)));var y=f*p;p!==0&&(y+=o*p);var O,P=f;r?O=P/r:O=this._getBrickHeight(g,_,P),p===i-1&&f!==u&&(P=e-y,!n&&!g.one(".sqs-video-wrapper")&&g.addClass("slide-stretched"));var C={top:d[p]+"px",left:y+"px",width:P+"px",height:O+"px"};g.setStyles(C),O+=o,d[p]+=O},this),l.get("container").setStyle("height",Math.max.apply(Math,d)-o+"px"),b.later(1,this,this.loadItems)},_getBrickHeight:function(l,e,r){var o=this._hasValidDimensions(this.dimensions[e]),n=this.get("mixedContent"),a=l.one(".sqs-video-wrapper img");if(a&&l.one(".intrinsic"))return l.setStyles({width:r+"px",height:null}),b.config.win.ImageLoader.load(a,{load:!0,mode:"fill"}),l.get("offsetHeight");if(o){var i=Math.floor(b.SQS.Gallery.Rendering.getHeightForWidth(this.dimensions[e].width,this.dimensions[e].height,r));if(!n)return i;l.setStyles({width:r+"px",height:null});var c=l.get("offsetHeight"),u=c-l.one("img").get("offsetHeight");return i+u}return l.setStyles({width:r+"px",height:null}),l.all("img").each(function(f){b.config.win.ImageLoader.load(f,{load:"viewport"})}),l.get("offsetHeight")},_hasValidDimensions:function(l){return!!(l&&l.width&&l.height)},_evaluateBricks:function(){var l=this.get("host");this.dimensions=[],l.getSlides().each(function(e){var r=e.one("img[data-image-dimensions]");r?(r.loader.set("mode",this.get("aspectRatio")?"fill":"none"),this.dimensions.push(b.SQS.Gallery.Rendering.getDimensionsFromNode(r))):this.dimensions.push(null)},this)},_getProperty:function(l){return this.constructor[l]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-autocolumns",SLIDE_CLASS:"sqs-gallery-design-autocolumns-slide",ATTRS:{columnWidthBehavior:{value:"min"},columnWidth:{value:250,validator:function(l){return b.Lang.isString(l)&&(l=parseInt(l,10)),b.Lang.isNumber(l)&&l>0}},gutter:{value:0},aspectRatio:{value:0},mixedContent:{value:!1},lightbox:{value:!1}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo","@sqs/yui-gallery/resize-emitter","@sqs/yui-gallery/rendering"]})},849541:function(){YUI.add("@sqs/yui-gallery/designs/autogrid",function(b){b.namespace("SQS.Gallery.Designs"),b.SQS.Gallery.Designs.autogrid=b.Base.create("GalleryDesignAutoGrid",b.Plugin.Base,[b.SQS.Gallery.GismoBase,b.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{initializer:function(){var l=this.get("host");l.get("container").addClass(this._getProperty("CONTAINER_CLASS")),l.get("slides").addClass(this._getProperty("SLIDE_CLASS")),l.plugLoaders(),this._processImages(),this.get("lightbox")&&b.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),l.get("slides")),this._bindUI(),this._syncUI()},_bindUI:function(){var l=this.get("host");l.after("refresh",this._syncUI,this);var e=new b.SQS.Gallery.ResizeEmitter({timeout:100});this._event(e.on("resize",this._syncUI,this)),l.after("aspectRatioChange",function(r){this.set("aspectRatio",r.newVal),this._processImages(),this._syncUI()},this),l.after(["columnWidthChange","columnWidthBehaviorChange","gutterChange"],function(r){this.set(r.attrName,r.newVal),this._syncUI()},this),l.after("lightboxChange",function(r){b.SQS.Gallery.Manager.lightboxify(r.newVal,l.get("slides"))},this)},destructor:function(){var l=this.get("host");if(l){var e=l.get("container"),r=l.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),r&&(r.removeClass(this._getProperty("SLIDE_CLASS")),r.setStyles({width:null,marginBottom:null,marginRight:null,clear:null})),l.getImages().each(function(o){o.get("parentNode").test(".img-wrapper")&&o.unwrap(),o.setStyle("position",null)})}this._flushEvents()},_syncUI:function(){var l=this.get("host"),e=l.get("container").get("offsetWidth"),r=this.get("gutter"),o=this.get("columnWidthBehavior")==="min"?"floor":"ceil",n=Math[o](e/this.get("columnWidth"));n=Math.max(n,1);var a=r*(n-1),i=(e-a)/n;l.get("slides").each(function(c,u){var f=u%n;c.setStyles({width:100*i/e+"%",marginBottom:100*r/e+"%",marginRight:f===n-1?0:100*r/e+"%",clear:f===0?"left":null}).addClass("positioned")},this),l.get("container").setStyle("marginBottom",-100*r/e+"%"),b.later(1,this,this.loadItems)},_processImages:function(){var l=this.get("host"),e=this.get("aspectRatio");e?(l.getImages("image").each(function(r){r.get("parentNode").test(".img-wrapper")||r.wrap('<div class="img-wrapper content-fill"></div>'),r.get("parentNode").setStyle("paddingBottom",100/e+"%")}),l.getSlides("video").each(function(r){r.one(".sqs-video-wrapper").videoloader.set("mode","none");var o=r.one(".intrinsic-inner");o&&r.one(".intrinsic-inner").setStyle("paddingBottom",100/e+"%")})):l.getImages("image").each(function(r){r.get("parentNode").test(".img-wrapper")&&r.unwrap(),r.setStyle("position",null)})},_getProperty:function(l){return this.constructor[l]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-autogrid",SLIDE_CLASS:"sqs-gallery-design-autogrid-slide",ATTRS:{columnWidthBehavior:{value:"min"},columnWidth:{value:250},gutter:{value:0},aspectRatio:{value:0},lightbox:{value:!1}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo","@sqs/yui-gallery/resize-emitter"]})},297613:function(){YUI.add("@sqs/yui-gallery/designs/autorows",function(b){b.namespace("SQS.Gallery.Designs"),b.SQS.Gallery.Designs.autorows=b.Base.create("GalleryDesignAutoRows",b.Plugin.Base,[b.SQS.Gallery.GismoBase,b.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{initializer:function(){var l=this.get("host");l.get("container").addClass(this._getProperty("CONTAINER_CLASS")),l.get("slides").addClass(this._getProperty("SLIDE_CLASS")),l.plugLoaders(),this._evaluateRatios(),this.get("lightbox")&&b.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),l.get("slides")),this._bindUI(),this._syncUI()},destructor:function(){var l=this.get("host");if(l){var e=l.get("container"),r=l.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),r&&(r.removeClass(this._getProperty("SLIDE_CLASS")),r.setStyles({height:null,width:null,marginRight:null,marginBottom:null}))}this._flushEvents()},_bindUI:function(){var l=this.get("host");l.after("refresh",this._syncUI,this),l.after(["rowHeightChange","gutterChange"],function(e){this.set(e.attrName,e.newVal),this._syncUI()},this),l.after("lightboxChange",function(e){b.SQS.Gallery.Manager.lightboxify(e.newVal,l.get("slides"))},this)},_syncUI:function(){var l=this.get("host"),e=l.get("container").get("offsetWidth"),r=this.get("gutter"),o=this.get("rowHeight"),n=new b.NodeList,a=0,i=0,c=function(u,f){var d=0;u.each(function(h,g){var _=h.one(".sqs-video-wrapper, img"),p=Math.floor(_.getData("aspectRatio")*f),y=g===u.size()-1;y&&(p=e-d),h.setStyles({height:f+"px",width:p+"px",marginRight:y?0:r+"px",marginBottom:r+"px"}),d+=r+p})};l.get("slides").each(function(u){var f=u.one(".sqs-video-wrapper, img"),d=f.getData("aspectRatio")*o;if(d+a>e){var h=o+(e-a)/i;c(n,h),a=0,i=0,n=new b.NodeList}i+=f.getData("aspectRatio"),a+=r+d,n.push(u)}),c(n,o),b.later(1,this,this.loadItems)},_evaluateRatios:function(){var l=this.get("host");l.get("slides").each(function(e){var r=e.one(".sqs-video-wrapper, img"),o=r.test(".sqs-video-wrapper"),n;o?n={width:r.videoloader.getWidth(),height:r.videoloader.getHeight()}:n=b.SQS.Gallery.Rendering.getDimensionsFromNode(r),r.setData("aspectRatio",n.width/n.height)})},_getProperty:function(l){return this.constructor[l]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-autorows",SLIDE_CLASS:"sqs-gallery-design-autorows-slide",ATTRS:{rowHeight:{value:250},gutter:{value:20},lightbox:{value:!0}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo","@sqs/yui-gallery/rendering"]})},975986:function(){YUI.add("@sqs/yui-gallery/designs/base",function(b){b.namespace("SQS.Gallery.Designs"),b.SQS.Gallery.Designs.base=b.Base.create("GalleryDesignBase",b.Plugin.Base,[b.SQS.Gallery.GismoBase,b.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{initializer:function(){this.get("host").after("currentIndexChange",function(){this.get("host").syncUI()},this),this.get("host").plugLoaders(),this.loadItems(),this.get("host").syncUI()},destructor:function(){},_getProperty:function(l){return this.constructor[l]}},{NS:"gallery-design",ATTRS:{}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo"]})},500393:function(b,l,e){var r=e(999762).containFocus;YUI.add("@sqs/yui-gallery/designs/carousel",function(o){o.namespace("SQS.Gallery.Designs"),o.SQS.Gallery.Designs.carousel=o.Base.create("GalleryDesignCarousel",o.Plugin.Base,[o.SQS.Gallery.GismoBase,o.SQS.Gallery.GalleryLoadingBehavior.ByCurrentIndex],{initializer:function(){var n=this.get("host"),a=n.get("slides");n.get("container").addClass(this._getProperty("CONTAINER_CLASS")),a.addClass(this._getProperty("SLIDE_CLASS")),n.plugLoaders(),this._processImages(),n.loadImages(n.getImages()),this.get("lightbox")&&o.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),a),this._bindUI(),this._syncUI()},destructor:function(){this._resizeEvent&&this._resizeEvent.detach(),this._indexChangeEvent&&this._indexChangeEvent.detach(),this._resizeEvent=null,this._indexChangeEvent=null},_bindUI:function(){this._indexChangeEvent=this.get("host").after("currentIndexChange",function(a){this._moveCarousel(a),this._updateControls()},this),this._resizeEvent=o.on("windowresize",function(){this._syncUI()},o.config.win,this);var n=this.get("host");n.after("lightboxChange",function(a){o.SQS.Gallery.Manager.lightboxify(a.newVal,n.get("slides"))},this)},_syncUI:function(){this._updateCarousel(),this._updateControls()},_updateCarousel:function(){var n=this.get("currentGroup")*this.get("slidesPerRow");this.set("slidesPerRow",this._getSlidesPerRow()),this._setSlideStyles();var a=Math.round(n/this.get("slidesPerRow")),i=this.get("totalGroups");a>=i?this.goToGroup(i-1):this.goToGroup(a)},_getSlidesPerRow:function(){var n=this.get("slidesPerRowOriginal");return o.config.win.innerWidth<480&&n>1?2:o.config.win.innerWidth<724&&n>2?3:n},_setSlideStyles:function(){var n=this.get("host"),a=n.get("container"),i=this.get("slidesPerRow"),c=this.get("gutter"),u=this._getProperty("CONTAINER_CLASS")+"-slides-in-view-";a.removeClass(u+".*"),a.addClass(u+i);var f=c+"%";a.setStyle("marginLeft","-"+f),n.get("slides").setStyles({width:100/i+c/i+"%",paddingLeft:f,paddingRight:f})},_updateControls:function(){var n=this.get("host"),a=this.get("totalSlides")<=this.get("slidesPerRow");n.get("elements.previous").toggleClass("sqs-hidden",a).toggleClass("sqs-disabled",this.get("isFirstGroup")).setAttribute("aria-disabled",this.get("isFirstGroup")),n.get("elements.next").toggleClass("sqs-hidden",a).toggleClass("sqs-disabled",this.get("isLastGroup")).setAttribute("aria-disabled",this.get("isLastGroup"))},_moveCarousel:function(n){if(n.halt(),Math.abs(n.newVal-n.prevVal)>1){var a=Math.floor(n.newVal/this.get("slidesPerRow"));this.goToGroup(a);return}if(n.newVal>n.prevVal&&!this.get("isLastGroup")){this.goToNextGroup();return}n.newVal<n.prevVal&&!this.get("isFirstGroup")&&this.goToPrevGroup()},_updateSlideTabbability:function(){var n=this.get("host"),a=n.get("container"),i=n.get("slides"),c=this.get("currentGroup"),u=this.get("slidesPerRow"),f=i.getDOMNodes().slice(c*u,(c+1)*u);this.revertFocusContainment&&this.revertFocusContainment(),this.revertFocusContainment=r({predicate:function(d){return f.some(function(h){return h.contains(d)})},root:a.getDOMNode(),setFocusOnContain:!1,restoreFocusOnRevert:!1})},goToGroup:function(n){var a="-"+(n*100+n*this.get("gutter"))+"%";this.get("host").get("container").setStyle("transform","translatex("+a+")"),this.set("currentGroup",n),this._updateSlideTabbability()},goToNextGroup:function(){var n=this.get("host"),a=this.get("currentGroup");n.get("totalGroups")-1!==a&&this.goToGroup(a+1)},goToPrevGroup:function(){var n=this.get("currentGroup");n!==0&&this.goToGroup(n-1)},_processImages:function(){var n=this.get("host"),a=this.get("aspectRatio");if(a){var i=100/a+"%";n.getImages("image").each(function(c){c.get("parentNode").setStyle("paddingBottom",i)}),n.getSlides("video").each(function(c){c.one(".sqs-video-wrapper").setStyle("paddingBottom",i)})}},_getProperty:function(n){return this.constructor[n]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-carousel",SLIDE_CLASS:"sqs-gallery-design-carousel-slide",ATTRS:{aspectRatio:{value:0},lightbox:{value:!1},gutter:{value:1},slidesPerRow:{value:3},currentGroup:{value:0},loop:{value:!1,readOnly:!0},slidesPerRowOriginal:{valueFn:function(){return this.get("slidesPerRow")},readOnly:!0},totalSlides:{valueFn:function(){return this.get("host").get("slides").size()},readOnly:!0},totalGroups:{getter:function(){return Math.ceil(this.get("totalSlides")/this.get("slidesPerRow"))},readOnly:!0},isFirstGroup:{getter:function(){return this.get("currentGroup")===0},readOnly:!0},isLastGroup:{getter:function(){return this.get("totalGroups")-1===this.get("currentGroup")},readOnly:!0}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-current-index","@sqs/yui-gallery/gismo"]})},648276:function(){YUI.add("@sqs/yui-gallery/designs/grid",function(b){b.namespace("SQS.Gallery.Designs"),b.SQS.Gallery.Designs.grid=b.Base.create("GalleryDesignGrid",b.Plugin.Base,[b.SQS.Gallery.GismoBase,b.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{initializer:function(){var l=this.get("host");l.get("container").addClass(this._getProperty("CONTAINER_CLASS")),l.get("slides").addClass(this._getProperty("SLIDE_CLASS")),l.getImages("image").each(function(e){e.setStyles({opacity:0}),this._event(e.once("load",function(){this._timer(b.later(Math.random()*500,this,function(){var r=this._anim(e,{opacity:1},{duration:1});if(!this.get("destroyed")&&r.get("node").inDoc()){var o=b.DOM.viewportRegion();r.get("node").inRegion(o)?r.run():e.setStyles({opacity:null})}}))},this))},this),l.getSlides("video").each(function(e){e.all(".sqs-video-wrapper").each(function(r){r.setStyles({opacity:0});var o=this._anim(r,{opacity:1},{duration:1});this._timer(b.later(Math.random()*500,this,function(){o.run()}))},this)},this),l.plugLoaders(),this.loadItems(),l.getSlides("video").each(function(e){var r=e.one(".sqs-video-wrapper"),o=r.videoloader;this.get("lightbox")&&o.set("inactive",!0),e.one(".content-fit")?o.set("mode","fit"):o.set("mode","fill");var n=o.get("video"),a=n&&n.getAttribute("src").indexOf("instagram.com")!==-1,i=o.get("overlay");a&&i&&i.on("click",function(c){c.halt(),o.showOverlay(),window.open(n.getAttribute("src"),"Instagram","width=620,height=720")},this)},this),this.get("lightbox")&&b.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),l.get("slides")),l.after("lightboxChange",function(e){b.SQS.Gallery.Manager.lightboxify(e.newVal,l.get("slides"))},this)},destructor:function(){var l=this.get("host");if(l){var e=l.get("container"),r=l.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),r&&r.removeClass(this._getProperty("SLIDE_CLASS"))}},_getProperty:function(l){return this.constructor[l]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-grid",SLIDE_CLASS:"sqs-gallery-design-grid-slide",ATTRS:{lightbox:{value:!0},perRow:{value:4}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo"]})},185222:function(){YUI.add("@sqs/yui-gallery/designs",function(b){},"1.0",{requires:["@sqs/yui-gallery/designs/autocolumns","@sqs/yui-gallery/designs/autogrid","@sqs/yui-gallery/designs/autorows","@sqs/yui-gallery/designs/base","@sqs/yui-gallery/designs/carousel","@sqs/yui-gallery/designs/grid","@sqs/yui-gallery/designs/list","@sqs/yui-gallery/designs/stacked","@sqs/yui-gallery/designs/strip"]})},755579:function(){YUI.add("@sqs/yui-gallery/designs/list",function(b){b.namespace("SQS.Gallery.Designs"),b.SQS.Gallery.Designs.list=b.Base.create("GalleryDesignList",b.Plugin.Base,[b.SQS.Gallery.GismoBase],{initializer:function(){this.host=this.get("host"),this.host.get("container").addClass(this._getProperty("CONTAINER_CLASS")),this.host.get("slides").addClass(this._getProperty("SLIDE_CLASS")),this.host.plugLoaders(),this._processImages(),this.host.loadImages(this.host.getImages()),this.get("lightbox")&&b.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),this.host.get("slides")),this._renderUI()},destructor:function(){this.host=null},_renderUI:function(){var l=this.host.get("designOptions.imageWidth"),e=parseInt(100-l,10);this.host.get("elements.imageContainers").each(function(r){var o=r.ancestor(".summary-thumbnail-outer-container"),n=o||r;n&&n.getDOMNode().style.setProperty("width",l+"%")}),this.host.get("elements.metaContainers").each(function(r){r.getDOMNode().style.setProperty("width",e+"%")}),this.host.get("slides").each(function(r){r.one("img")||r.addClass("no-image")})},_bindUI:function(){var l=this.host;l.after("lightboxChange",function(e){b.SQS.Gallery.Manager.lightboxify(e.newVal,l.get("slides"))},this)},_processImages:function(){var l=this.get("aspectRatio");l&&(this.host.getImages("image").each(function(e){e.get("parentNode").setStyle("paddingBottom",100/l+"%")}),this.host.getSlides("video").each(function(e){e.one(".sqs-video-wrapper").setStyle("paddingBottom",100/l+"%")}))},_getProperty:function(l){return this.constructor[l]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-list",SLIDE_CLASS:"sqs-gallery-design-list-slide",ATTRS:{aspectRatio:{value:0},lightbox:{value:!1}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/gismo"]})},991206:function(b,l,e){var r=e(999762).containFocus,o=e(609657);YUI.add("@sqs/yui-gallery/designs/stacked",function(n){n.namespace("SQS.Gallery.Designs"),n.SQS.Gallery.Designs.stacked=n.Base.create("GalleryDesignStacked",n.Plugin.Base,[n.SQS.Gallery.GismoBase,n.SQS.Gallery.GalleryLoadingBehavior.ByCurrentIndex],{initializer:function(){var a=this.get("host"),i=a.get("slides");if(a.get("container").addClass(this._getProperty("CONTAINER_CLASS")),i&&i.addClass(this._getProperty("SLIDE_CLASS")),this.plug(this.get("transition"),this.get("transitionOptions")),a.after("currentIndexChange",this.syncUI,this),a.after("refresh",this.syncUI,this),a.after("image-loaded",this._positionMetaOverlay,this),i&&i.each(function(u,f){var d=u.test("img")?u:u.one("img");d?d.onceAfter("loaded",function(){u.addClass("loaded")},this):u.addClass("loaded")},this),a.plugLoaders(),this.get("autoHeight")){var c=n.bind(function(){this.containerHeight=this._calculateContainerHeight(),a.get("container").setStyles({height:this.containerHeight})},this);c(),this._event(new n.SQS.Gallery.ResizeEmitter({timeout:100}).on("resize",c))}a.refresh(),this.bindUI(),this.syncUI()},destructor:function(){var a=this.get("host");if(a){var i=a.get("container");i&&this.get("autoHeight")&&i.setStyles({height:null});var c=a.get("slides");c&&c.each(function(u){u.setStyles({opacity:null}),u.removeClass(this._getProperty("SLIDE_CLASS"))},this)}},bindUI:function(){var a=this.get("host");this.get("clickBehavior")&&this._event(a.get("container").on("click",this.onClickSlide,this))},getSlideFromClickEvent:function(a){return a.target.test(".slide")?a.target:a.target.ancestor(".slide")},onClickSlide:function(a){if(!a.target.ancestor("a",!0)){a.preventDefault();var i=this.getSlideFromClickEvent(a);if(i){var c=i.getAttribute("data-click-through-url");if(c){this.clickthrough(c);return}}this.advanceSlideFromClick(a)}},clickthrough:function(a){var i=window.frameElement&&window.frameElement.hasAttribute("data-is-visitor-preview");if(i){n.Global.fire("bypassGalleryClickThrough",{url:a});return}window.location.href=a},advanceSlideFromClick:function(a){var i=this.getSlideFromClickEvent(a),c=this.get("host"),u=c._slideType(c.getCurrentSlide());if(u!=="video")switch(this.get("clickBehavior")){case"next":c.nextSlide();break;case"previous":c.previousSlide();break;default:var f=i?i.get("region"):c.get("container").get("region"),d=f.width/2+f.left;a.pageX>d?c.nextSlide():c.previousSlide();break}},syncUI:function(a){var i=this.get("host");i.syncUI(),this.fire("transition",a||{newVal:i.get("currentIndex")}),this.loadItems(),this._positionMetaOverlay(),this._updateSlideTabbability()},_updateSlideTabbability:function(){var a=this.get("host"),i=a.get("container"),c=a.get("slides").item(a.get("currentIndex"));this.revertFocusContainment&&this.revertFocusContainment(),this.revertFocusContainment=r({predicate:function(u){return c._node.contains(u)},root:i._node,setFocusOnContain:!1,restoreFocusOnRevert:!1})},_positionMetaOverlay:function(){var a=this.get("host"),i=a.getCurrentSlide();if(i){var c=i.one("img");c||(c=i);var u=c.ancestor(".sqs-video-wrapper",!0);u&&(c=u,u.videoloader.on("showingVideoChange",function(g){i.toggleClass("video-playing",!!g.newVal)}));var f=i.one(".meta");if(f){var d=a.get("container"),h=o(d,"galleryOptions");if(h)switch(h["meta-position"]||"bottom"){case"top":case"bottom":f.setStyles({left:c.get("offsetLeft"),width:c.get("offsetWidth")});break;case"top-left":case"bottom-left":f.setStyles({left:c.get("offsetLeft"),maxWidth:c.get("offsetWidth")/2});break;case"top-right":case"bottom-right":f.setStyles({right:i.get("offsetWidth")-(c.get("offsetLeft")+c.get("offsetWidth")),maxWidth:c.get("offsetWidth")/2});break;case"center":f.setStyles({maxWidth:c.get("offsetWidth")/2}),f.setStyles({marginLeft:f.get("offsetWidth")/-2,marginTop:f.get("offsetHeight")/-2});break}f.get("scrollHeight")/d.get("offsetHeight")>.9?f.setStyle("height",d.get("offsetHeight")*.4).addClass("overflow"):f.setStyle("height",null).removeClass("overflow")}}},_calculateContainerHeight:function(){var a=this.get("host"),i=[],c=a.get("slides");c&&c.each(function(f){switch(a._slideType(f)){case"image":var d=f.test("img")?f:f.one("img");if(d){var h=n.SQS.Gallery.Rendering.getDimensionsFromNode(d),g=n.SQS.Gallery.Rendering.getHeightForWidth(h.width,h.height,f.get("offsetWidth"));isNaN(g)||i.push(g)}break;case"video":var _=f.one(".sqs-video-wrapper");if(!_)break;var p=_.videoloader;if(!p)break;var y=n.SQS.Gallery.Rendering.getHeightForWidth(p.getWidth(),p.getHeight(),f.get("offsetWidth"));isNaN(y)||i.push(y);break}},this);var u=a.get("container").get("offsetHeight");return i.length>0&&(u=Math.min.apply(Math.min,i)),u},_getProperty:function(a){return this.constructor[a]},_getTransition:function(a){if(a=n.SQS.Gallery.StackedTransitions[a],!a)throw new Error('Could not find transition named "'+a+'"');return a}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-stacked",SLIDE_CLASS:"sqs-gallery-design-stacked-slide",ATTRS:{autoHeight:{value:!0},clickBehavior:{value:"next"},easing:{value:n.Easing.easeOutStrong},speed:{value:1},preloadCount:{value:1},transition:{value:"fade",getter:"_getTransition"},transitionOptions:{value:{}}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-current-index","@sqs/yui-gallery/designs/stacked/transitions","@sqs/yui-gallery/gismo","@sqs/yui-gallery/rendering","@sqs/yui-gallery/resize-emitter"]})},553502:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/base",function(b){b.namespace("SQS.Gallery.StackedTransitions"),b.SQS.Gallery.StackedTransitions.base=b.Base.create("GalleryDesignStackedTransition",b.Plugin.Base,[b.SQS.Gallery.GismoBase],{baseZIndex:888,initializer:function(){this.get("host").get("host").get("slides").setStyles({opacity:0,zIndex:this.baseZIndex}),b.UA.ie&&this.get("host").get("host").get("slides").setStyles({visibility:"hidden"}),this.get("host").on("transition",this.transition,this)},_getProperty:function(l){return this.constructor[l]}},{NS:"gallery-stacked-transition"})},"1.0",{requires:["base","plugin","@sqs/yui-gallery/gismo"]})},591321:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/fade",function(b){b.namespace("SQS.Gallery.StackedTransitions"),b.SQS.Gallery.StackedTransitions.fade=b.Base.create("GalleryDesignStackedTransition",b.SQS.Gallery.StackedTransitions.base,[],{transition:function(l){this.get("host").get("host").set("inMotion",!0);var e=l.newVal||this.get("host").get("host").get("currentIndex"),r=l.prevVal;if(b.Lang.isNumber(e)){var o=this.get("host").get("host").getSlides().item(e);if(o){o.setStyles({zIndex:this.baseZIndex+1,visibility:"visible",pointerEvents:"auto"}),this._anim(o,{opacity:1},{duration:this.get("host").get("speed"),easing:this.get("host").get("easing"),end:b.bind(function(){var i=this.get("host");if(i){var c=i.get("host");c&&c.set("inMotion",!1)}},this)}).run();var n=o.one("img");n&&n.getAttribute("data-src")&&!n.getAttribute("src")&&n.setAttribute("src",n.getAttribute("data-src"))}}if(b.Lang.isNumber(r)){var a=this.get("host").get("host").getSlides().item(r);a&&(a.setStyles({zIndex:this.baseZIndex,visibility:"hidden",pointerEvents:"none"}),this._anim(a,{opacity:0},{duration:this.get("host").get("speed")*1.2,easing:this.get("host").get("easing"),end:b.bind(function(){var i=this.get("host");if(i){var c=i.get("host");c&&(c._currentSlide()!==a&&a.setStyles({zIndex:this.baseZIndex,visibility:"hidden",pointerEvents:"none"}),c.set("inMotion",!1))}},this)}).run())}}},{NS:"gallery-stacked-transition"})},"1.0",{requires:["base","node","@sqs/yui-gallery/designs/stacked/transitions/base"]})},548543:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions",function(b){},"1.0",{requires:["@sqs/yui-gallery/designs/stacked/transitions/base","@sqs/yui-gallery/designs/stacked/transitions/fade","@sqs/yui-gallery/designs/stacked/transitions/ken-burns","@sqs/yui-gallery/designs/stacked/transitions/new-swipe","@sqs/yui-gallery/designs/stacked/transitions/scroll","@sqs/yui-gallery/designs/stacked/transitions/swipe"]})},652762:function(b,l,e){var r=e(49500);YUI.add("@sqs/yui-gallery/designs/stacked/transitions/ken-burns",function(o){o.namespace("SQS.Gallery.StackedTransitions"),o.SQS.Gallery.StackedTransitions.kenBurns=o.Base.create("GalleryDesignStackedTransition",o.SQS.Gallery.StackedTransitions.base,[],{initializer:function(){Modernizr.csstransforms&&this.get("host").get("host").getImages().each(function(n){var a=n.getAttribute("data-image-focal-point");a=a.split(","),n.setStyles({transformOrigin:a[0]*100+"%"+a[1]*100+"%",transform:"translatez(0)"})})},transition:function(n){this.get("host").get("host").set("inMotion",!0);var a=n.newVal||this.get("host").get("host").get("currentIndex"),i=n.prevVal,c=o.Lang.isNumber(a)&&this.get("host").get("host").getSlides().item(a),u=o.Lang.isNumber(i)&&this.get("host").get("host").getSlides().item(i),f=this.get("host").get("speed");if(c){if(Modernizr.csstransforms){var d=c.one("img"),h=a%2===0?this.get("zoom"):1,g=a%2!==0?this.get("zoom"):1,_=this.get("host").get("host").get("autoplayOptions.timeout")/1e3+f,p=new r(function(y){var O=h+y*(g-h);d.setStyle("transform","scale("+O+")")},{duration:_*1e3,easing:"linear"});p.start()}c.setStyles({zIndex:this.baseZIndex+1}),c.anim({opacity:1},{from:{opacity:0},end:o.bind(function(){this.get("host").get("host").set("inMotion",!1)},this)}).run()}u&&(u.setStyles({zIndex:this.baseZIndex}),c.anim({opacity:1},{duration:f,from:{opacity:0},end:o.bind(function(){this.get("host").get("host").set("inMotion",!1)},this)}).run())}},{NS:"gallery-stacked-transition",ATTRS:{zoom:{value:1.075}}})},"1.0",{requires:["base","node","@sqs/yui-gallery/designs/stacked/transitions/base"]})},926654:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/new-swipe",function(b){b.namespace("SQS.Gallery.StackedTransitions"),b.SQS.Gallery.StackedTransitions.newSwipe=b.Base.create("GalleryDesignStackedTransition",b.SQS.Gallery.StackedTransitions.base,[],{initializer:function(){this._host=this.get("host").get("host"),this._$container=this._host.get("container"),this._$items=this._host.get("slides"),this._$assets=new b.NodeList,this._$items.each(function(l){var e=l.one(".sqs-video-wrapper"),r=l.one("img");e?(e.plug(b.Squarespace.VideoLoader),this._$assets.push(e)):(ImageLoader.load(r),this._$assets.push(r))},this),this._setLayoutStyles(),this._bind()},transition:function(l){var e=this._host.get("currentIndex");l||(l={});var r=l.x||-1*(this._$items.item(0).get("clientWidth")*e)+"px",o=l.y||"0px";this._$container.setStyles({transform:"translate3d("+r+", "+o+", 0)"})},_setLayoutStyles:function(){this._$container.setStyles({whiteSpace:"nowrap",transition:"none"}),this._$items.setStyles({display:"inline-block",opacity:1,position:"relative"}),this._$assets.setStyles({cursor:"move"})},_bind:function(){var l={},e=0,r=[],o=5,n;this._$container.on("click",function(a){a.stopPropagation()}),this._$container.on(["mousedown","touchstart"],function(a){if(a.touches&&a.touches.length>1)return!1;a.halt(),l.target=a.target,l.initiated=!0,l.tap=!0,l.start={x:a.touches?a.touches[0].clientX:a.clientX,y:a.touches?a.touches[0].clientY:a.clientY,region:this._$container.getDOMNode().getBoundingClientRect()},e=Date.now()},this),this._$container.on(["mousemove","touchmove"],function(a){if(!l.initiated)return!1;if(a.halt(),a.type==="mousemove"&&(n&&n.cancel&&n.cancel(),n=b.later(500,this,function(){this._$container.simulate("mouseup")})),l.tap=!1,l.end={x:a.touches?a.touches[0].clientX:a.clientX,y:a.touches?a.touches[0].clientY:a.clientY,region:this._$container.getDOMNode().getBoundingClientRect()},!l.axis)Math.abs(Math.abs(l.end.x)-Math.abs(l.start.x))>10&&(l.axis="x"),Math.abs(Math.abs(l.end.y)-Math.abs(l.start.y))>10&&(l.axis="y");else{var i=this._getBoundaries(),c=this.get("boundaries"),u=l.start[l.axis]-l.end[l.axis],f=l.start.region.left,d=l.start.region.top,h=function(O){return c[O]==="none"||c[O]==="none"?1:.1},g=1,_=f-u;l.axis==="x"&&(_>-1*i.left&&(g=h("left"),l.boundaryBreach="left"),_<-1*i.right&&(g=h("right"),l.boundaryBreach="right")),l.axis==="y"&&(_<-1*i.top&&(g=h("top"),l.boundaryBreach="top"),_>-1*i.bottom&&(g=h("bottom"),l.boundaryBreach="bottom"));var p=f,y=d;l.axis==="x"?p=f-u*g:y=d-u*g,this._$container.setStyles({transform:"translate3d("+p+"px, "+y+"px, 0)"})}r.push({x:l.end.x,y:l.end.y,time:Date.now()}),r.length>o&&r.shift()},this),this._$container.on(["mouseup","touchend"],function(a){if(!l.initiated)return!1;if(a.halt(),r.length===o){var i=r[0],c=r[r.length-1],u=Math.abs(i[l.axis]-c[l.axis]),f=Math.abs(c.time-i.time);l.velocity=u/f}else l.velocity=0;l.end||(l.tap=!0,l.end={x:a.touches?a.touches[0].clientX:a.clientX,y:a.touches?a.touches[0].clientY:a.clientY,region:this._$container.getDOMNode().getBoundingClientRect()}),l.time=Date.now()-e,l.boundaryBreach&&this.get("boundaryBreachCallback")(l),this._dispatchSlideAction(l),l={},r=[]},this)},_getBoundaries:function(){var l=this._$container.getStyle("transform");this._$container.setStyle("transform","translate3d(0,0,0)");var e=this._$items.item(0).get("region"),r=this._$items.item(this._$items.size()-1).get("region"),o;return o={top:e.top,left:e.left,bottom:r.bottom-r.height,right:r.right-r.width},this._$container.setStyle("transform",l),o},_dispatchSlideAction:function(l){var e=this._host.get("currentIndex"),r=.7/l.velocity,o=b.config.win.innerWidth<767?.2:.3,n=b.config.win.innerWidth<767?.4:.5;if(r<o&&(r=o),r>n&&(r=n),this._$container.setStyles({transition:"transform "+r+"s ease-out"}),b.later(r*1e3,this,function(){this._$container.setStyles({transition:"none"})}),l.axis==="x"){var a=Math.abs(Math.abs(l.start.x)-Math.abs(l.end.x));(a>this._$container.get("clientWidth")/2||l.velocity>1)&&(l.start.x>l.end.x?e<this._$items.size()-1&&e++:e>0&&e--)}this._host.set("currentIndex",e)}},{NS:"gallery-stacked-transition",CONTAINER_CLASS:"sqs-gallery-design-stacked-newswipe",WRAPPER_CLASS:"sqs-gallery-design-stacked-newswipe-wrapper",ATTRS:{boundaries:{value:{top:"inertial",right:"inertial",bottom:"inertial",left:"inertial"},validator:function(l){var e=!0;for(var r in l)if(l[r]!=="none"&&l[r]!=="hard"&&l[r]!=="inertial"){e=!1;break}return e}},boundaryBreachCallback:{value:function(l){}},snapPoints:{value:{x:"100%",y:"none"},validator:function(l){var e=!!l.match(/%$/)&&!isNaN(parseFloat(l)),r=!!l.match(/none/);return e||r}}}})},"1.0",{requires:["base","node","@sqs/yui-gallery/designs/stacked/transitions/base","@sqs/yui-gallery/touch-event-listener","squarespace-video-loader"]})},400982:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/scroll",function(b){b.namespace("SQS.Gallery.StackedTransitions"),b.SQS.Gallery.StackedTransitions.scroll=b.Base.create("GalleryDesignStackedTransition",b.SQS.Gallery.StackedTransitions.base,[],{initializer:function(){this.galleryHost=this.get("host").get("host"),this.container=this.galleryHost.get("container"),this.slides=this.galleryHost.get("slides"),this.containerWidth=this.container.get("parentNode").width(),this.container.addClass(this._getProperty("CONTAINER_CLASS")),this.slides.setStyles({opacity:1,visibility:"visible"}),this.container.setStyle("width",this.slides.size()*this.containerWidth+"px"),this.slides.setStyle("width",this.containerWidth+"px"),this._adjustPosition(this._getCurrentSlidePosition()),this._event(new b.SQS.Gallery.ResizeEmitter({timeout:100}).on("resize",function(){this.containerWidth=this.container.get("parentNode").width(),this.container.setStyle("width",this.slides.size()*this.containerWidth+"px"),this.slides.setStyle("width",this.containerWidth+"px"),this._adjustPosition(this._getCurrentSlidePosition())},this)),b.config.win.Modernizr&&b.config.win.Modernizr.touch&&(this.touchListener=null,this.touchStartPoint=null,this.touchListener=new b.SQS.Gallery.TouchEventListener(this.container,{move:!0,swipe:!0,preventDefaultTouchEvents:!1,preventDefaultGestureEvents:!0}),b.on("squarespace:ontouch",function(l){this._onTouch(l)},this))},destructor:function(){this.container&&(this.container.removeClass(this._getProperty("CONTAINER_CLASS")),this.container.setStyles({width:null,left:null})),this.touchListener&&this.touchListener.removeEventHandlers(),this._flushEvents()},transition:function(l){this.galleryHost.get("inMotion")||this.slides.size()===0||this._adjustPosition(this._getCurrentSlidePosition(),!0)},_getOffsetAttribute:function(){return this.get("direction")==="horizontal","offsetWidth"},_getContainerDim:function(){return this.get("host").get("host").get("container").get(this._getOffsetAttribute())},_getDirection:function(l,e){return l<e?1:-1},_getCurrentSlidePosition:function(){return-1*this.containerWidth*this.galleryHost.get("currentIndex")},_onTouch:function(l){var e=this.get("host").get("host").get("container"),r=l.targetEl;if(r.getAttribute("href")){this._handleAnchors(r),l.touchEvent.preventDefault();return}else{if(l.touchEvent.touches.length>1)return;if(e.contains(r)&&!r.ancestor(".image-detail-wrapper, .sqs-video-wrapper"))switch(l.action){case b.SQS.Gallery.TouchEventListener.ActionTypes.swipeUp:b.fire("transition:scroll:swipeup",{container:e});break;case b.SQS.Gallery.TouchEventListener.ActionTypes.swipeDown:b.fire("transition:scroll:swipedown",{container:e});break;case b.SQS.Gallery.TouchEventListener.ActionTypes.tapped:b.fire("transition:scroll:tapped",l);break;case b.SQS.Gallery.TouchEventListener.ActionTypes.touchStart:this.touchStartPoint=l.point;break;case b.SQS.Gallery.TouchEventListener.ActionTypes.touchMove:this._scrollByDistance(l.point);break;case b.SQS.Gallery.TouchEventListener.ActionTypes.touchEnd:this._finishScroll(l.point);break}}r.ancestor(".image-detail-wrapper, .sqs-video-wrapper")||this.get("allowPageScroll")||l.touchEvent.preventDefault()},_handleAnchors:b.throttle(function(l){l.getAttribute("target").match(/_blank/)?window.open(l.getAttribute("href")):window.location.href=l.getAttribute("href")}),_scrollByDistance:function(l){if(!(!this.touchStartPoint||this.slides.size()<2)){var e=this.get("host").get("host"),r=e.get("slides"),o=e.get("currentIndex"),n=0;if(this.get("direction")==="vertical"?n=this.touchStartPoint.y-l.y:n=this.touchStartPoint.x-l.x,n>0&&o+1>=r.size()){e.fire("reachedEnd"),this.touchStartPoint=null;return}else if(n<0&&o-1<0){e.fire("reachedBeginning"),this.touchStartPoint=null;return}this._adjustPosition(this._getCurrentSlidePosition()-n)}},_finishScroll:function(l){if(!(!this.touchStartPoint||this.slides.size()<2)){var e=this.galleryHost,r=0,o=e.get("currentIndex");if(this.get("direction")==="vertical"?r=this.touchStartPoint.y-l.y:r=this.touchStartPoint.x-l.x,o=r>=0?o+1:o-1,o<0){e.fire("reachedBeginning"),this.touchStartPoint=null;return}else if(o>=e.get("slides").size()){e.fire("reachedEnd"),this.touchStartPoint=null;return}this._adjustPosition(-1*this.containerWidth*o,!0,.4),e.set("inMotion",!1),e.set("currentIndex",o,{direction:r>0?1:-1})}},_adjustPosition:function(l,e,r){var o={},n=this.get("direction"),a=this.get("accelerate");a?o.transform=n==="vertical"?"translate3d(0,"+l+"px,0)":"translate3d("+l+"px,0,0)":o[n==="vertical"?"top":"left"]=l+"px",e?a?this.container.transition({duration:r||this.get("host").get("speed"),transform:o.transform,easing:r?b.Easing.easeInStrong:this.get("host").get("easing")}):(this.galleryHost.set("inMotion",!0),this._anim(this.container,o,{duration:r||this.get("host").get("speed"),easing:r?b.Easing.easeInStrong:this.get("host").get("easing")}).run().on("end",function(){this.galleryHost.set("inMotion",!1)},this)):this.container.setStyles(o)}},{NS:"gallery-stacked-transition",CONTAINER_CLASS:"sqs-gallery-design-stacked-scrollHorz",ATTRS:{direction:{value:"horizontal"},accelerate:{valueFn:function(){return b.UA.mobile}},allowPageScroll:{value:!0}}})},"1.0",{requires:["base","node","@sqs/yui-gallery/resize-emitter","@sqs/yui-gallery/designs/stacked/transitions/base","@sqs/yui-gallery/touch-event-listener"]})},527191:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/swipe",function(b){b.namespace("SQS.Gallery.StackedTransitions"),b.SQS.Gallery.StackedTransitions.swipe=b.Base.create("GalleryDesignStackedTransition",b.SQS.Gallery.StackedTransitions.base,[],{initializer:function(){this.galleryHost=this.get("host").get("host"),this.container=this.galleryHost.get("container"),this.slides=this.galleryHost.get("slides"),this.container.addClass(this._getProperty("CONTAINER_CLASS")),this.container.get("parentNode").addClass(this._getProperty("WRAPPER_CLASS")),this.slides.setStyles({opacity:null,visibility:null}),this.bindUI(),this.syncUI(),this._event(new b.SQS.Gallery.ResizeEmitter({timeout:100}).on("resize",function(){this.syncUI()},this))},bindUI:function(){var l,e,r=this.container.get("parentNode").width()/2.25;this.container.on("touchstart",function(o){e=!1,l=new Date().getTime()}),this.container.on("touchmove",function(o){e=!0}),this.container.on("touchend",function(o){var n=this.container.get("parentNode").get("scrollLeft"),a=this.galleryHost.get("currentIndex"),i=this._getSlidePosition(a),c=Math.abs(i-n),u=new Date().getTime()-l>250;if(u===!0)c>r&&(n>i?a++:a--);else if(u===!1&&e===!1){if(!o.target.get("tagName").match(/img/i))return;a++}else e===!0&&c>0&&(n>i?a++:a--);this._adjustPosition(a)},this)},syncUI:function(){this.containerWidth=this.container.get("parentNode").width(),this.container.setStyle("width",this.slides.size()*this.containerWidth+"px"),this.slides.setStyle("width",this.containerWidth+"px"),this._adjustPosition()},transition:function(l){this.galleryHost.get("inMotion")||this.slides.size()===0||this._adjustPosition()},_getSlidePosition:function(l){return this.containerWidth*l},_adjustPosition:function(l){l=b.Lang.isUndefined(l)?this.galleryHost.get("currentIndex"):l;var e=this.container.get("parentNode").get("scrollLeft"),r=this._getSlidePosition(l);e!==r&&(this.galleryHost.set("inMotion",!0),new b.Anim({node:this.container.get("parentNode"),to:{scrollLeft:r},duration:.28,easing:b.Easing.easeOut}).run().on("end",function(){this.galleryHost.set("inMotion",!1),this.galleryHost.set("currentIndex",l)},this))},destructor:function(){this.container&&this.container.removeClass(this._getProperty("CONTAINER_CLASS")),this._flushEvents()}},{NS:"gallery-stacked-transition",CONTAINER_CLASS:"sqs-gallery-design-stacked-swipe",WRAPPER_CLASS:"sqs-gallery-design-stacked-swipe-wrapper",ATTRS:{}})},"1.0",{requires:["base","node","@sqs/yui-gallery/resize-emitter","@sqs/yui-gallery/designs/stacked/transitions/base"]})},482462:function(b,l,e){var r=e(999762).containFocus,o=e(21838),n=e(805102);function a(i,c){i.setAttribute("aria-current",c?"true":"false")}YUI.add("@sqs/yui-gallery/designs/strip",function(i){i.namespace("SQS.Gallery.Designs"),i.SQS.Gallery.Designs.strip=i.Base.create("GalleryDesignBase",i.Plugin.Base,[i.SQS.Gallery.GismoBase,i.SQS.Gallery.GalleryLoadingBehavior.ByCurrentIndex],{initializer:function(){var c=this.get("host");c.get("container").addClass(this._getProperty("CONTAINER_CLASS")),c.get("slides").addClass(this._getProperty("SLIDE_CLASS")),this._event(c.on("image-loaded",this._syncUIRefreshWrapperWidth,this)),this._event(c.on("refresh",this._syncUIRefreshWrapperWidth,this)),c.plugLoaders();var u=c.get("container").get("offsetHeight");c._slidesByType("video").each(this._initializeVideoSlide(u)),c.renderWrapper(),c.after("currentIndexChange",this.syncUI,this),this.syncUI(),this.bindUI()},destructor:function(){var c=this.get("host");if(c){var u=c.get("container");u&&u.removeClass(this._getProperty("CONTAINER_CLASS"));var f=c.get("slides");f&&f.removeClass(this._getProperty("SLIDE_CLASS"))}},_initializeVideoSlide:function(c){return function(u){var f=u.one(".sqs-video-wrapper");if(f){var d=f.videoloader,h=d.getWidth()/d.getHeight();f.setStyle("paddingRight",h*c),u.one("img")&&u.one("img").refresh()}}},syncUI:function(c){(!c||!c.calledFromParent)&&this.get("host").syncUI(),this._syncUIRefreshWrapperWidth(),this.loadItems()},_syncUIRefreshWrapperWidth:function(){var c=this.get("host"),u=c.get("container");if(u.hasClass("sqs.gallery-thumbnails")){var f=u.get("offsetHeight");u.all(".sqs-video-thumbnail").each(function(O){O.hasClass("no-image")&&O.one(".sqs-video-thumbnail-inner").setStyles({width:Math.floor(f*(16/9))+"px"});var P=O.one("img");P&&(O.removeClass("loading"),O.setAttribute("style","width: "+P.get("offsetWidth")+"px !important"))})}var d=c._wrapperEl;d.setStyles({width:null});var h=0,g=0;c.get("slides").each(function(O,P){this.get("host").get("currentIndex")>P&&(g+=O.get("offsetWidth")),h+=O.get("offsetWidth")},this);var _=u.get("offsetWidth"),p=c._currentSlide();if(p){switch(this.get("alignment")){case"start":break;case"middle":g-=(_-p.get("offsetWidth"))/2,g<0&&(g=0);break;case"end":g-=_-p.get("offsetWidth"),g<0&&(g=0);break}h<_?g=(_-h)/-2:g>h-_&&(g=h-_)}d.setStyles({width:h*2});var y=this;this._anim(d,{left:-1*g},{duration:this.get("speed"),easing:this.get("easing"),start:function(){y.get("host").set("inMotion",!0)},end:function(){y.get("host").set("inMotion",!1),y._updateSlideTabbability()}}).run()},_updateSlideTabbability:function(){var c=this.get("host"),u=c.get("container");this.revertFocusContainment&&this.revertFocusContainment(),this.revertFocusContainment=r({predicate:function(f){return!n(f,u)},root:u._node,setFocusOnContain:!1,restoreFocusOnRevert:!1})},bindUI:function(){var c=this.get("host"),u=c.get("slides"),f=c._currentSlide();u.each(function(h,g){var _=c._slideType(h);_==="video"&&h!==f&&h.one(".sqs-video-wrapper").videoloader.set("inactive",!0),a(h,h===f),this._event(h.on("click",this._onClickSlide(h,g),this)),this._event(h.on("keydown",function(y){(y.keyCode===13||y.keyCode===32)&&this._onClickSlide(h,g).bind(this)(y)},this))},this),c.on("currentIndexChange",this._toggleVideoOnSlideChange,this),c.on("designOptionsChange",this._handleDesignOptionsChanged,this);var d=c.get("slides").item(this.get("currentIndex")||0);d&&d.addClass(this._getProperty("SLIDE_CLASS"))},_handleDesignOptionsChanged:function(c){if(c&&c.subAttrName&&c.subAttrName==="designOptions.alignment"){var u=o(c.newVal.alignment);this.set("alignment",u)}},_onClickSlide:function(c,u){return function(f){var d=this.get("host"),h=d._slideType(c);if(h==="video"){var g=c.one(".sqs-video-wrapper"),_=g?g.videoloader:null,p=_?_.get("inactive"):!0;if(!p)return}var y=f.target.getAttribute("data-click-through-url");if(y){f.preventDefault(),window.location.href=y;return}if(u===d.get("currentIndex"))switch(this.get("activeSlideClickBehavior")){case"next":d.nextSlide();break;case"previous":d.previousSlide();break;default:d.set("currentIndex",u);break}else{var O=d.get("slides");O.each(function(T,s){a(T,s===u)}),d.set("currentIndex",u)}var P=d._currentSlide(),C=d._slideType(P),A=d._currentSlide(),S=d._slideType(A);P!==A&&(C==="video"&&P.one(".sqs-video-wrapper").videoloader.set("inactive",!0),S==="video"&&(A.one(".sqs-video-wrapper").videoloader.set("inactive",!1),A===c&&A.one(".sqs-video-wrapper").videoloader.showVideo()))}},_toggleVideoOnSlideChange:function(c){var u=this.get("host"),f=u.get("slides"),d=f.item(c.prevVal),h=c.newVal<0?f.size()-1:c.newVal,g=f.item(h);u._slideType(d)==="video"&&d.one(".sqs-video-wrapper").videoloader.set("inactive",!0),u._slideType(g)==="video"&&g.one(".sqs-video-wrapper").videoloader.set("inactive",!1)},_getProperty:function(c){return this.constructor[c]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-strip",SLIDE_CLASS:"sqs-gallery-design-strip-slide",ATTRS:{speed:{value:.5},easing:{value:i.Easing.easeOutStrong},activeSlideClickBehavior:{value:"next"},preloadCount:{value:1},alignment:{value:"middle",validator:function(c){return["start","middle","end"].indexOf(c)!==-1}}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-current-index","@sqs/yui-gallery/gismo"]})},464180:function(b,l,e){var r=e(609657),o=e(21838),n=5;YUI.add("@sqs/yui-gallery/manager",function(a){a.namespace("SQS.Gallery"),a.SQS.Gallery.Manager=function(){var i={ready:function(){this._galleries=[],this._imageQueue=new a.AsyncQueue,this._queueThrottleMax=this.isMobile()?1:16,this._queueThrottle=this._queueThrottleMax},getGalleries:function(){return this._galleries},makeGallery:function(c){var u=new a.SQS.Gallery.Gallery2(c);return this._galleries.push(u),u},destroyGallery:function(c){this._galleries=a.Array.filter(this._galleries,function(u){return u!==c}),this._galleries.length===0&&(this._queueThrottle=this._queueThrottleMax)},updateGallery:function(c){var u=c.get("contentBox"),f=u.one(".sqs-gallery");if(f){var d=f.getData("gallery");if(d){var h=c.get("model"),g=c.get("modelWhiteList"),_=h.getAttrs(g),p=this.dataToAttrs(_);switch(d.setAttrs(p),h.get("design")){case"grid":this.updateGridStyles(u,p,h._getDefaultContent);break;case"slideshow":this.updateSlideshowThumbnails(u,p);break}d.refresh()}}},_getDataFromNode:function(c){if(c.hasAttribute("data-block-json"))try{return JSON.parse(c.getAttribute("data-block-json"))}catch{return console.error("Error decoding gallery block data."),null}return r(c,"block")||null},getDesign:function(c){switch(c.design){case"stacked":return"base";case"slider":return"strip";case"slideshow":return"stacked";case"grid":return"grid";case"autogrid":return"autogrid";case"autocolumns":return"autocolumns";case"carousel":return"carousel";case"list":return"list";default:return"base"}},getAspectRatio:function(c,u){return u==="autocolumns"||c.imageAspectRatio==="Auto"?!1:c.imageAspectRatio},getLoaderOptions:function(c,u,f){switch(u){case"grid":return{mode:c["square-thumbs"]?"fill":"fit"};case"autogrid":case"autocolumns":case"carousel":case"list":return{mode:f.aspectRatio?"fill":""};case"stacked":return{mode:c["auto-crop"]?"fill":"fit"}}return{}},initializeGallery:function(c,u,f,d){var h={};h.autoHeight=["grid","stacked"].indexOf(f)!==-1,["autogrid","autocolumns","carousel","list"].indexOf(f)!==-1&&(h.aspectRatio=this.getAspectRatio(u,f),h.slidesPerRow=u.slidesPerRow,h.lightbox=u.lightbox,h.mixedContent=u.mixedContent),(f==="autogrid"||f==="autocolumns")&&(h.columnWidth=u.columnWidth,h.gutter=u.gutter),f==="list"&&(h.imageWidth=u.listImageSize),f==="strip"&&!a.Lang.isValue(u.aspectRatio)&&!a.Lang.isValue(u.vSize)&&(u.vSize=10,c.addClass("vsize-10")),(f==="carousel"||f==="strip")&&(h.alignment=o(u["active-alignment"])),f==="grid"&&(h.lightbox=u.lightbox,h.lightboxTheme=u.lightboxTheme==="light"?"light":"dark",h.perRow=parseInt(u["thumbnails-per-row"],10)),d.setData("galleryOptions",u);var g=this.makeGallery({containerWrapper:d,container:d.one(".sqs-gallery"),elements:{previous:d.one(".sqs-gallery-controls .previous"),next:d.one(".sqs-gallery-controls .next"),imageContainers:d.all(".sqs-gallery-image-container"),metaContainers:d.all(".sqs-gallery-meta-container")},design:f,designOptions:h,loaderOptions:this.getLoaderOptions(u,f,h),keyboard:!u.autoplay,lazyLoad:!0,autoplay:u.autoplay,loop:!0,refreshOnResize:!0,refreshOnOrientationChange:!0});return u["autoplay-duration"]&&g.set("autoplayOptions.timeout",this.secondsToMs(u["autoplay-duration"])),g},dataToAttrs:function(c){var u=a.clone(c);return u["autoplay-duration"]&&(u.autoplayOptions=u.autoplayOptions||{},u.autoplayOptions.timeout=this.secondsToMs(u["autoplay-duration"]),delete u["autoplay-duration"]),u["active-alignment"]&&(u["designOptions.alignment"]=u["active-alignment"],delete u["active-alignment"]),u},secondsToMs:function(c){return parseInt(c*1e3,10)},styleThumbnails:function(c,u,f){var d=1.7777777777777777;c.all(".sqs-video-thumbnail").each(function(g){g.hasClass("no-image")&&g.one(".sqs-video-thumbnail-inner").setStyles({width:Math.floor(u*d)+"px"});var _=g.one("img");_&&_.once("load",function(){g.removeClass("loading"),g.setAttribute("style","width: "+_.get("offsetWidth")+"px !important")})});var h=Math.min(n,f);c.setStyles({height:u,marginTop:-h+f,marginBottom:-h,paddingTop:h,paddingBottom:h})},initializeBlock:function(c){var u=this._getDataFromNode(c);if(!u){console.error("Error evaluating gallery block data.");return}var f=c.one(".sqs-gallery-container");if(f){var d=this.getDesign(u);["grid","stacked"].indexOf(d)!==-1&&c.removeClass("vsize-"+u.vSize);var h=!a.UA.ios&&["strip","stacked"].indexOf(d)!==-1;if(h){var g=f.one(".sqs-gallery-controls");g&&g.addClass("show-hover-effect")}var _=this.getGalleryByContainer(f);_?_.refresh():_=this.initializeGallery(c,u,d,f),d==="stacked"&&u.thumbnails===!0&&this.initializeThumbnails(c,u,_)}},getGalleryByContainer:function(c){return c.one(".sqs-gallery").getData("gallery")||null},initializeThumbnails:function(c,u,f){var d=c.one(".sqs-gallery-container"),h=c.one(".sqs-gallery-thumbnails");if(h){var g=u["thumbnail-strip-height"],_=u["thumbnail-strip-margin"];if(this.styleThumbnails(h,g,_),h.getData("gallery")){h.getData("gallery").refresh();return}var p=Math.ceil(f.get("container").get("offsetWidth")/g),y=this.makeGallery({containerWrapper:d,container:h,elements:{},loop:!0,design:"strip",designOptions:{activeSlideClickBehavior:!1,preloadCount:p},lazyLoad:!0,loaderOptions:{canvas:!1},refreshOnResize:!0,refreshOnOrientationChange:!0,keyboard:!1});f.addChild(y)}},updateSlideshowThumbnails:function(c,u){var f=c.one(".sqs-gallery-thumbnails");if(f){var d={};a.Lang.isNumber(u["thumbnail-strip-height"])&&(d.height=u["thumbnail-strip-height"]),a.Lang.isNumber(u["thumbnail-strip-margin"])&&(d.marginTop=u["thumbnail-strip-margin"]),f.setStyles(d);var h=f.getData("gallery");h["gallery-design"].syncUI()}},updateGridStyles:function(c,u){var f=c.one(".sqs-gallery-container");if(!a.Lang.isNull(f)){var d=f.get("className").split(" "),h=a.Array.find(d,function(S){return S.startsWith("sqs-gallery-thumbnails-per-row-")}),g={padding:20,thumbsPerRow:4},_=a.Lang.isValue(u.padding)?u.padding:g.padding,p=a.Lang.isValue(u["thumbnails-per-row"])?u["thumbnails-per-row"]:g.thumbsPerRow,y=".sqs-block-content#"+c.get("id"),O=c.one("#design-grid-css"),P=y+" .sqs-gallery-design-grid",C=P+" .sqs-gallery-design-grid-slide .margin-wrapper",A=P+" { margin-right: -"+_+"px; }"+C+" { margin-right: "+_+"px;  margin-bottom: "+_+"px; }";f.removeClass(h),f.addClass("sqs-gallery-thumbnails-per-row-"+p),O&&O.setContent(A)}},refreshAll:function(){a.Array.each(this.getGalleries(),function(c){c.refresh()})},runImageQueue:function(){this._queueThrottle>0?this._imageQueue.run():this._imageQueue.pause()},addImageQueue:function(c){c.each(function(u){this._imageQueue.add({fn:function(){u&&u._node&&(u.plug(this.getLoader(),{load:!0}),u.fire("refresh"),u.get("complete")||(this._queueThrottle--,u.once(["load","error"],function(f){this._queueThrottle++,this.runImageQueue()},this))),this.runImageQueue()},context:this,id:u.getAttribute("data-src")})},this)},promoteImageQueue:function(c){for(var u=c.size()-1;u>=0;u--)this._imageQueue.promote(c.item(u).getAttribute("data-src"));this.runImageQueue()},removeImageQueue:function(c){c.each(function(u){this._imageQueue.remove(u.getAttribute("data-src"))},this)},isMobile:function(){return!a.Lang.isUndefined(window.orientation)||navigator.userAgent.toLowerCase().indexOf("mobile")!==-1},getLoader:function(){return a.Squarespace&&a.Squarespace.Loader2?a.Squarespace.Loader2:a.SQS.LEMobile&&a.SQS.LEMobile.Copies&&a.SQS.LEMobile.Copies.Loader2?a.SQS.LEMobile.Copies.Loader2:null},lightboxify:function(){console.warn("lightboxify is not available in this tier!")}};return i.ready(),i}()},"1.0",{requires:["async-queue","base","dom-style-ie","event-key","event-mouseenter","history","node","yui-throttle","@sqs/yui-gallery","@sqs/yui-gallery/designs"]})},869525:function(b,l,e){var r=e(131626),o=!1;YUI.add("@sqs/yui-gallery",function(n){n.namespace("SQS.Gallery"),n.SQS.Gallery.Gallery2=n.Base.create("Gallery",n.Widget,[n.SQS.Gallery.GismoBase],{initializer:function(){var a=this.get("container");a.setData("gallery",this),this._images=a.all("img[data-src]"),this._imagesByMedia={},this._slidesByMedia={},a.plug(n.SQS.Gallery.NodeDestroyNotifier,{onDestroy:function(){this.destroy()},context:this}),this.get("slides").each(this._initializeSlideWrapper,this),this.bindUI(),this.get("inMotion")||this._setupHistory(),this.plug(this.get("design"),this.get("designOptions"))},_initializeSlideWrapper:function(a){if(!a.getAttribute("data-type")){var i=a.one(".sqs-video-wrapper");a.setAttribute("data-type",i?"video":"image")}},getProperty:function(a){for(var i=this.constructor,c=this.constructor[a];n.Lang.isUndefined(c)&&i.superclass;){i=i.superclass.constructor;if(n.Lang.isUndefined(i))break;c=i[a]}return c},destructor:function(){this._clearAutoplay(),this._wrapperEl&&(this.get("slides").each(function(i){this.get("container").append(i)},this),this._wrapperEl.remove(),this._wrapperEl=null);var a=this.getImages();this.get("lazyLoad")&&n.Lang.isArray(a)&&a.length>0&&n.SQS.Gallery.Manager.removeImageQueue(),this.get("container").clearData("gallery"),n.SQS.Gallery.Manager.destroyGallery(this)},_shouldRespectKeypress:function(){if(this.get("inMotion")||document.activeElement.hasAttribute("contenteditable"))return!1;var a=n.one(n.config.win);return!!this.get("container").inRegion(a.get("region"))},isEditingKeypress:function(a){return a.target.ancestor("textarea,input,[contenteditable]",!0)},_onKeyPrev:function(a){this.isEditingKeypress(a)||this._shouldRespectKeypress()&&(a.preventDefault(),this.previousSlide())},_onKeyNext:function(a){this.isEditingKeypress(a)||this._shouldRespectKeypress()&&(a.preventDefault(),this.nextSlide())},bindKeyboard:function(){if(this.get("keyboard")){var a=this.get("keys.previous");a&&this._event(n.on("key",this._onKeyPrev,n.config.win,a,this),"keyboard");var i=this.get("keys.next");i&&this._event(n.on("key",this._onKeyNext,n.config.win,i,this),"keyboard")}},bindUI:function(){var a=n.one(n.config.win);this._flushEvents("refreshOnOrientationChange"),this.get("refreshOnOrientationChange")&&this._event(a.on("orientationchange",this.refresh,this),"refreshOnOrientationChange"),this.bindKeyboard(),this.after("autoplayChange",this._initializeAutoplay,this),this.after("autoplayOptionsChange",this._initializeAutoplay,this),this._initializeAutoplay(),this._bindUIElements(),this.after("elementsChange",this._bindUIElements,this),this.get("resizeEmitter")||this.set("resizeEmitter",new n.SQS.Gallery.ResizeEmitter({timeout:100})),this._flushEvents("refreshOnResize"),this.get("refreshOnResize")&&this._event(this.get("resizeEmitter").on("resize:end",this.refresh,this),"refreshOnResize"),this.fire("bindUI")},setActiveSlide:function(){var a=this.getProperty("ACTIVE_CLASS");this.getSlides().filter("."+a).removeClass(a);var i=this._currentSlide();o&&console.log("[yui-gallery/gallery] activating slide",{currentSlide:i}),i&&i.addClass(a)},togglePaginationControls:function(){if(!this.get("loop")){var a=this.get("currentIndex"),i=this.get("numberOfSlides"),c=a>=i-1,u=a<=0,f=this.getProperty("DISABLED_PAGINATION_CLASS"),d=this.get("elements.next");d&&d.toggleClass(f,c);var h=this.get("elements.previous");h&&h.toggleClass(f,u)}},syncUI:function(){o&&console.log("[yui-gallery/gallery] syncUI"),this.togglePaginationControls(),this.setActiveSlide();var a=this.get("elements.currentIndex");a&&a.setContent(this.get("currentIndex")+1);var i=this.get("numberOfSlides"),c=this.get("elements.totalSlides");c&&c.setContent(i),this.fire("syncUI")},refresh:function(a){o&&console.groupCollapsed("[yui-gallery/gallery] refresh"),this.syncUI();var i=this.getImages();this._refreshImages(i);var c=a&&a.type&&a.type.startsWith("resize");c||this._refreshVideos(),n.SQS.Gallery.Manager.promoteImageQueue(i),this.fire("refresh"),o&&console.groupEnd()},_refreshImages:function(a){if(this.get("lazyLoad")){a.each(function(i){i.loader&&i.get("complete")&&i.fire("refresh")},this);return}a.each(function(i){i.fire("refresh")},this)},_refreshVideos:function(){this.getSlides("video").each(function(a){var i=a.one(".sqs-video-wrapper");i.videoloader&&i.videoloader.get("showingVideo")===!1&&i.videoloader.reload()})},refreshContentMode:function(a){this.getImages("image").each(function(i){i.loader.set("mode",a)}),this.getSlides("video").each(function(i){i.one(".sqs-video-wrapper").videoloader.set("mode",a)})},loadImages:function(a){this.get("lazyLoad")?n.SQS.Gallery.Manager.promoteImageQueue(a):a.each(function(i){i.loader.set("load",!0),i.fire("refresh")})},previousSlide:function(a){a&&(a.preventDefault(),a.stopPropagation());var i=this.get("numberOfSlides");if(!(!n.Lang.isNumber(i)||!i)){var c=this.get("currentIndex");if(c<=0){if(!this.get("loop")){this.fire("reachedBeginning");return}this.set("currentIndex",i-1,{direction:1});return}this.set("currentIndex",c-1,{direction:-1})}},nextSlide:function(a){a&&(a.preventDefault(),a.stopPropagation());var i=this.get("numberOfSlides");if(!(!n.Lang.isNumber(i)||!i)){var c=this.get("currentIndex")+1;if(c>=i){if(!this.get("loop")){this.fire("reachedEnd");return}this.set("currentIndex",0,{direction:-1});return}this.set("currentIndex",c,{direction:1})}},renderWrapper:function(){if(!this._wrapperEl){var a=this.get("slides"),i=n.Node.create('<div class="sqs-wrapper"></div>');a.each(function(c){i.append(c)},this),this.get("container").append(i),this._wrapperEl=i}},addChild:function(a){var i=this.get("linkedGalleries"),c=n.bind(function(u){if(!u.calledFromSync)for(var f=0;f<i.length;f++)u.calledFromChild!==i[f]&&i[f].set("currentIndex",this.get("currentIndex"),{calledFromSync:!0})},this);this._linkedGalleryBinding||(this._linkedGalleryBinding=this.after("currentIndexChange",function(u){c(u)},this)),this.get("keyboard")&&a.set("keyboard",!1),a.after("currentIndexChange",function(u){u.calledFromSync||this.set("currentIndex",u.newVal,{calledFromChild:a})},this),i.push(a),a.get("linkedGalleries").push(this),a.syncUI()},setVideoState:function(a){if(a&&this._slideType(a)==="video"){var i=a.one(".sqs-video-wrapper").videoloader;i&&(i.get("overlay")?i.showOverlay():i.get("apiFriendly")?i.pause():["object","iframe"].indexOf(i.get("type"))!==-1&&i.refreshVideo())}},getSlides:function(a){return a?this._slidesByType(a):this.get("slides")},getImages:function(a){return a?this._imagesByType(a):this._images},_isMotionDisabled:function(){var a=n.config.win.location.search;a.charAt(0)==="?"&&(a=a.substring(1));var i=r.parse(a);return i.nomotion==="true"},_clearAutoplay:function(){this._autoplayHandle&&(this._autoplayHandle.cancel(),this._autoplayHandle=null),this._flushEvents("autoplay")},_initializeAutoplay:function(){this._clearAutoplay();var a=this._isMotionDisabled()?!1:this.get("autoplay");a&&(this._autoplayMouseover=!1,this._autoplayRandom=this.get("autoplayOptions.interval"),this._startAutoplay())},_autoplayAdvance:function(){if(!(this._autoplayMouseover||!n.Env)){var a=this.get("numberOfSlides");if(!(!n.Lang.isNumber(a)||!a)){if(this._autoplayRandom){for(var i=Math.ceil(Math.random()*a);i===this.get("currentIndex");)this.set("currentIndex",i);return}this.nextSlide()}}},_startAutoplay:function(){this._autoplayHandle=n.later(this.get("autoplayOptions.timeout"),this,this._autoplayAdvance,null,!0);var a=[this.get("container"),this.get("elements.previous"),this.get("elements.next")];if(this.get("autoplayOptions.pauseOnMouseover"))for(var i=this.get("autoplayOptions.pauseOnMouseover"),c=0;c<i.length;c++)a.push(n.one(i[c]));if(!n.SQS.Gallery.Manager.isMobile())for(var u=0;u<a.length;u++){var f=a[u];n.Lang.isString(f)&&(f=this.get(f)),f&&(this._event(f.on(["mouseenter","mousemove"],function(){this._autoplayMouseover=!0}),"autoplay"),this._event(f.on("mouseout",function(){this._autoplayMouseover=!1}),"autoplay"))}},cleanAndRebindElements:function(a){for(var i=0;i<a.length;i++){var c=a[i],u="controls-"+c;this._flushEvents(u);var f="elements."+c,d=this.get(f);d&&d.each(function(h){o&&console.log("[yui-gallery/gallery] binding",c,h);var g=c+"Slide";this._event(h.on("click",this[g],this),u),this._event(h.on("keydown",function(p){(p.keyCode===13||p.keyCode===32)&&this[g](p)},this),u)},this)}},_bindUIElements:function(){this.cleanAndRebindElements(["previous","next"]);var a=[],i=this.getProperty("ACTIVE_CLASS");this._flushEvents("controls-controls"),this.get("elements.controls")&&(this.get("elements.controls").each(function(c){var u=c.get("children");a.push(u),u.each(function(d,h){this._event(d.on("click",function(){this.set("currentIndex",h)},this),"controls-controls")},this);var f=u.item(this.get("currentIndex"));f&&f.addClass(i)},this),this.getSlides().size()<=1&&this.get("elements.controls").addClass("sqs-gallery-controls-disabled")),this._flushEvents("index-change"),this._event(this.after("currentIndexChange",function(c){a.forEach(function(d){d.filter("."+i).removeClass(i);var h=d.item(c.newVal);h&&h.addClass(i)});var u=this.get("slides");if(u.size()){var f=u.item(c.prevVal);this.setVideoState(f)}n.Lang.isValue(this.initialAutoplay)&&this.set("autoplay",this.initialAutoplay)}),"index-change")},_onCurrentIndexChange:function(a){var i=null,c="",u=this.get("slides");u.size()&&(i=u.item(a.newVal)),i&&(c=i.getAttribute("data-slide-id"),n.config.win.Modernizr&&n.config.win.Modernizr.history&&(c=i.getAttribute("data-slide-url")||c));var f="",d=this.get("container");d&&(f=d.getAttribute("data-collection-full-url")),f||(f=n.config.win.Static.SQUARESPACE_CONTEXT.collection.fullUrl),f.length>1&&!f.endsWith("/")&&(f=f+"/"),this._history.replaceValue("itemId",c,{url:f+c})},_setupHistory:function(){if(!n.config.win.Static.IN_BACKEND&&this.get("historyHash")){this._history=new n.History,this.on("currentIndexChange",this._onCurrentIndexChange,this);var a=this.get("slides");if(a){var i=new n.HistoryHash,c=i.get("itemId")||i._initialState.itemId;c&&(this._history.replaceValue("itemId",null),a.some(function(u,f){if(u.getAttribute("data-slide-id")===c||u.getAttribute("data-slide-url")===c)return this.set("currentIndex",f),!0},this))}}},_currentSlide:function(){return this.getCurrentSlide()},getCurrentSlide:function(){var a=this.get("currentIndex");if(!n.Lang.isNumber(a))return null;var i=this.get("slides");return i?i.item(a):null},_slidesByType:function(a){var i=this.get("slides");return i?(this._slidesByMedia[a]||(this._slidesByMedia[a]=i.filter('[data-type="'+a+'"]')),this._slidesByMedia[a]):new n.NodeList},_imagesByType:function(a){return this._imagesByMedia[a]||(this._imagesByMedia[a]=new n.NodeList,this._slidesByType(a).each(function(i){var c=i.test("img")?i:i.one("img[data-src]");c&&this._imagesByMedia[a].push(c)},this)),this._imagesByMedia[a]},_slideType:function(a){if(!a)return"";var i=a.getAttribute("data-type");return i==="image"?"image":i==="video"?"video":"image"},_getContainer:function(a){return n.Lang.isString(a)&&(a=n.one(a)),a},_getDesign:function(a){var i=n.SQS.Gallery.Designs[a];if(!i&&n.Squarespace&&n.Squarespace.GalleryDesigns2&&(i=n.Squarespace.GalleryDesigns2[a]),!i)throw new Error("These are not the gallery designs you are looking for. (We could not find a design by the name "+a+")");return i},_getElements:function(a){for(var i in a)a[i]instanceof n.NodeList||(a[i]=n.all(a[i]));return a},_setElements:function(a,i){this._bindUIElements()},_setLoaderOptions:function(a){return a.hasOwnProperty("fit")&&a.fit?a.mode="fit":a.hasOwnProperty("fill")&&a.fill&&(a.mode="fill"),a},_getNumberOfSlides:function(){var a=this.get("slides");return a?a.size():0},_getSlides:function(i){var c=this._wrapperEl||this.get("container");if(!c||!c.getDOMNode())return new n.NodeList;var u;i?n.Lang.isString(i)?u=c.all(i):u=i:u=c.get("children");var f=u.filter(function(h){return h.tagName!=="NOSCRIPT"});return f},_getWrapper:function(a){return n.Lang.isString(a)&&(a=n.one(a)),a},_sanitizeCurrentIndex:function(a){if(!n.Lang.isNumber(a)||!a)return 0;var i=this.get("numberOfSlides");return!n.Lang.isNumber(i)||i<1?0:a<0?(i+a)%i:a%i},_validateCurrentIndex:function(a){if(this.get("inMotion"))return!1;for(var i=0;i<this.get("linkedGalleries").length;i++){var c=this.get("linkedGalleries")[i];if(c.get("inMotion")&&a!==c.get("currentIndex"))return!1}return!0},plugLoaders:function(){var a={};this.get("lazyLoad")&&(a.load="viewport",n.SQS.Gallery.Manager.addImageQueue(this.getImages())),this.get("useBgImage")&&(a.useBgImage=!0),a=n.merge(a,this.get("loaderOptions"));var i=this.getVideoLoader();i?this.getSlides("video").each(function(u){var f=u.one(".sqs-video-wrapper");f.plug(i,n.merge(this.get("videoLoaderOptions"),{mode:this.get("loaderOptions.mode")})),f.videoloader.after("showingVideoChange",function(d){n.Lang.isValue(this.initialAutoplay)||(this.initialAutoplay=this.get("autoplay")),this.set("autoplay",d.newVal?!1:this.initialAutoplay)},this)},this):console.error("VideoLoader not found");var c=this.getImageLoader();c?this.getImages().each(function(u){u.plug(c,a),this._event(u.once("load",function(){this._safari5HeightFix(u),this.fire("image-loaded")},this))},this):console.error("Loader2 not found")},getImageLoader:function(){return n.Squarespace&&n.Squarespace.Loader2?n.Squarespace.Loader2:n.SQS.LEMobile&&n.SQS.LEMobile.Copies&&n.SQS.LEMobile.Copies.Loader2?n.SQS.LEMobile.Copies.Loader2:null},getVideoLoader:function(){return n.Squarespace&&n.Squarespace.VideoLoader?n.Squarespace.VideoLoader:n.SQS.LEMobile&&n.SQS.LEMobile.Copies&&n.SQS.LEMobile.Copies.VideoLoader?n.SQS.LEMobile.Copies.VideoLoader:null},_safari5HeightFix:function(a){if(this.get("design")===n.SQS.Gallery.Designs.strip&&n.UA.webkit>0&&n.UA.webkit<536){var i=this._wrapperEl.getComputedStyle("height");a.setStyle("height",i+" !important")}}},{NS:"gallery",ACTIVE_CLASS:"sqs-active-slide",DISABLED_PAGINATION_CLASS:"sqs-disabled",ATTRS:{autoplay:{value:!1},autoplayOptions:{value:{randomize:!0,timeout:5e3,pauseOnMouseover:[]}},container:{getter:"_getContainer"},containerWrapper:{value:null},currentIndex:{value:0,setter:"_sanitizeCurrentIndex",validator:"_validateCurrentIndex"},design:{value:"base",getter:"_getDesign"},designOptions:{value:{}},elements:{value:{next:null,previous:null,currentIndex:null,totalSlides:null,controls:null},getter:"_getElements",setter:"_setElements",lazyAdd:!1},historyHash:{value:!1},inMotion:{value:!1},keyboard:{value:!0},keys:{value:{previous:"down:37",next:"down:39"}},lazyLoad:{value:!1},linkedGalleries:{value:[]},loaderOptions:{value:{},setter:"_setLoaderOptions"},loop:{value:!1},numberOfSlides:{getter:"_getNumberOfSlides"},refreshOnResize:{value:!1},refreshOnOrientationChange:{value:!1},resizeEmitter:{value:null},slides:{getter:"_getSlides"},useBgImage:{value:!1},videoLoaderOptions:{value:{}}}})},"1.0",{requires:["base","event-key","event-mouseenter","history","node","plugin","widget","@sqs/yui-gallery/designs","@sqs/yui-gallery/node-destroy-notifier","@sqs/yui-gallery/gismo"]})},756430:function(b){b.exports=function(l,e,r,o){return l/=o/2,l<1?r/2*l*l*l+e:(l-=2,r/2*(l*l*l+2)+e)}},609657:function(b){b.exports=function(l,e){for(;l;){var r=l.getData(e);if(r)return r;l=l.ancestor()}}},112514:function(b,l,e){var r=e(756430);YUI.add("@sqs/yui-gallery/gismo",function(o){o.namespace("SQS.Gallery");var n=o.Base.create("SQSAnim",o.Anim,[],{run:function(){return this.get("destroyed")||this.get("node")._node===null||!this.get("node").inDoc()?(this.fire("end"),this):o.Anim.prototype.run.call(this)}});o.SQS.Gallery.GismoBase=function(){this._gismoEvents={},this._timers={},this._anims=this._anims||[]},o.SQS.Gallery.GismoBase.prototype={destructor:function(){o.Object.each(this._gismoEvents,function(a,i){o.Array.invoke(a,"detach"),this._gismoEvents[i]=null},this),o.Object.each(this._timers,function(a,i){o.Array.invoke(a,"cancel"),this._timers[i]=null},this),this._anims.shift?this._anims.forEach(function(a){a.get("running")&&a.stop(!0),a.destroy()}):this._anims.destructor&&this._anims.destructor(),this._anims=[]},_anim:function(a,i,c){return c=o.merge({node:a,duration:.5,easing:r,to:i},c),a.activeAnim&&a.activeAnim.stop(!0),a.activeAnim=new n(c),a.activeAnim.on("end",function(){delete a.activeAnim},a),c.end&&a.activeAnim.on("end",c.end),c.start&&a.activeAnim.on("start",c.start),a.nodedestroynotifier||a.plug(o.SQS.Gallery.NodeDestroyNotifier,{onDestroy:function(){a.activeAnim&&a.activeAnim.stop(!0)},context:a}),this._anims.push(a.activeAnim),a.activeAnim},_event:function(a,i){i=i||"generic",this._gismoEvents[i]=this._gismoEvents[i]||[],this._gismoEvents[i].push(a)},_getEvents:function(a){return this._gismoEvents[a||"generic"]},_flushEvents:function(a){var i=this._gismoEvents[a||"generic"];i&&(o.Array.invoke(i,"detach"),this._gismoEvents[a]=null)},_timer:function(a,i){i=i||"generic",this._timers[i]=this._timers[i]||[],this._timers[i].push(a)}}},"1.0",{requires:["array-invoke","@sqs/yui-gallery/node-destroy-notifier","anim"]})},805102:function(b){b.exports=function(e,r){var o=window.Y.Node.getDOMNode(e).getBoundingClientRect(),n=window.Y.Node.getDOMNode(r).getBoundingClientRect();return o.x+o.width<=n.x||o.x>=n.x+n.width}},584872:function(){YUI.add("@sqs/yui-gallery/loading-behavior/by-current-index",function(b){b.namespace("SQS.Gallery.GalleryLoadingBehavior"),b.SQS.Gallery.GalleryLoadingBehavior.ByCurrentIndex=b.Base.create("GalleryLoadingBehavior",b.Base,[],{loadItems:function(){var l=this.get("host"),e=l.getImages();if(l.get("lazyLoad")){var r=l.get("currentIndex")-this.get("preloadCount"),o=l.get("currentIndex")+this.get("preloadCount"),n=new b.NodeList;l.get("loop")?o=o%l.get("slides").size():(r=Math.max(0,r),o=Math.min(l.get("slides").size()-1,o)),r>=0&&r<=o?n=e.slice(r,o+1):(n=n.concat(e.slice(r)),n=n.concat(e.slice(0,o+1))),l.loadImages(n)}else l.loadImages(e)}})},"1.0",{requires:["base","node"]})},82422:function(){YUI.add("@sqs/yui-gallery/loading-behavior/by-viewport",function(b){b.namespace("SQS.Gallery.GalleryLoadingBehavior"),b.SQS.Gallery.GalleryLoadingBehavior.ByViewport=b.Base.create("GalleryLoadingBehavior",b.Base,[],{scrollHandler:null,scrollEl:null,scrollRegion:null,imageRegions:null,initializer:function(){this.get("host").get("lazyLoad")&&(this.scrollHandler=this._getScrollEl().on("scroll",this.loadItems,this))},destructor:function(){this.scrollHandler&&this.scrollHandler.detach(),this.scrollHandler=null,this.scrollEl=null,this.imageRegions=null,this.scrollRegion=null},_getScrollEl:function(){return this.scrollEl||(this.scrollEl=this.get("host").get("container").ancestor(function(l){return l.getStyle("overflowY").match(/scroll|auto/)&&l.get("scrollHeight")>l.get("clientHeight")}),(!this.scrollEl||this.scrollEl.test("html,body"))&&(this.scrollEl=b.one(b.config.win))),this.scrollEl},loadItems:function(){var l=this.get("host"),e=l.getImages();l.get("lazyLoad")?(this.imageRegions=[],this.scrollRegion=this._getScrollEl().get("region"),e.each(function(r){this.imageRegions.push(r.get("region"))},this),this._viewportLoad()):l.loadImages(e)},_viewportLoad:function(){var l=0,e=this._getScrollEl();e&&(l=e.get("scrollTop"));var r=l+this.scrollRegion.height,o=new b.NodeList;this.get("host").getImages().each(function(n,a){var i=this.imageRegions[a];(i.top>=l&&i.top<=r||i.bottom>=l&&i.bottom<=r)&&o.push(n)},this),this.get("host").loadImages(o)}})},"1.0",{requires:["base","node"]})},843326:function(){YUI.add("@sqs/yui-gallery/node-destroy-notifier",function(b){b.namespace("SQS.Gallery"),b.SQS.Gallery.NodeDestroyNotifier=b.Base.create("NodeDestroyNotifier",b.Plugin.Base,[],{destructor:function(){this.get("onDestroy")&&this.get("onDestroy").call(this.get("context")||this)}},{NS:"nodedestroynotifier",ATTRS:{onDestroy:{},context:{}}})},"1.0",{requires:["base","event","node"]})},21838:function(b){b.exports=function(l){switch(l){case"left":return"start";case"center":return"middle";case"right":return"end";default:return"middle"}}},367608:function(){YUI.add("@sqs/yui-gallery/rendering",function(b){b.namespace("SQS.Gallery"),b.SQS.Gallery.Rendering={getWidthForHeight:function(l,e,r){return l/e*r},getHeightForWidth:function(l,e,r){return e/l*r},getDimensionsFromNode:function(l){var e=l.getAttribute("data-image-dimensions");if(e){if(b.Lang.isString(e))return e=e.split("x"),{width:parseInt(e[0],10),height:parseInt(e[1],10)}}else return{width:null,height:null}}}},"1.0",{requires:["node"]})},913518:function(){YUI.add("@sqs/yui-gallery/resize-emitter",function(b){b.namespace("SQS.Gallery"),b.SQS.Gallery.ResizeEmitter=b.Base.create("ResizeEmitter",b.Base,[],{initializer:function(){this.resizeEvent=b.on("resize",this._handleResize,b.config.win,this),this.after("resizingChange",this._afterResizingChange),this._requiresSizeCalculating()&&(this.on("resize:end",this._resetSize),this._resetSize())},destructor:function(){this.timer&&(this.timer.cancel(),this.timer=null),this.resizeEvent.detach(),this.resizeEvent=null},_resetSize:function(){this.setAttrs({width:b.config.win.innerWidth,height:b.config.win.innerHeight})},_afterResizingChange:function(l){var e=l.newVal?"resize:start":"resize:end";this.fire(e)},_getWindowDiff:function(l){var e=b.config.win["inner"+l.capitalize()],r=this.get(l);return Math.abs(e-r)},_requiresSizeCalculating:function(){return this.get("threshold")>0||b.Lang.isValue(this.get("axis"))},_canEmitResizeEvent:function(){var l,e,r=this.get("axis"),o=this.get("threshold");return b.Lang.isValue(r)?(e=r===this.constructor.AXES.X?"width":"height",l=this._getWindowDiff(e)>o):l=this._getWindowDiff("width")>o||this._getWindowDiff("height")>o,l},_handleResize:function(){if(!this.get("resizing")){if(this._requiresSizeCalculating()&&!this._canEmitResizeEvent())return;this.set("resizing",!0)}this.timer&&this.timer.cancel(),this.timer=b.later(this.get("timeout"),this,function(){b.Env&&this.set("resizing",!1)}),this.fire("resize")}},{AXES:{X:"x",Y:"y"},ATTRS:{axis:{validator:function(l){return b.Object.values(this.constructor.AXES).includes(l)}},height:{},resizing:{validator:b.Lang.isBoolean,value:!1},threshold:{validator:b.Lang.isNumber,value:0},timeout:{value:300},width:{}}})},"1.0",{requires:["base","event","node"]})},331623:function(){YUI.add("@sqs/yui-gallery/touch-event-listener",function(b){function l(e,r){this.el=null,this.captureSettings=null,this.touchStartPoint=null,this.touchEndPoint=null,this.touchStartTime=null,this.isGesture=!1,this.touchStartHandler=null,this.touchMoveHandler=null,this.touchEndHandler=null,this.swipeThreshold=null,this.swipeTimeThreshold=null,this.el=e,this.captureSettings={swipe:!1,move:!1,preventDefaultTouchEvents:!0,preventDefaultGestureEvents:!0,gesture:!0},this.captureSettings=b.merge(this.captureSettings,r),this.swipeThreshold=50,this.swipeTimeThreshold=250,this.touchStartPoint={x:0,y:0},this.touchEndPoint={x:0,y:0},this.addEventHandlers()}l.Types={onTouch:"onTouch"},l.ActionTypes={gestureStart:"gestureStart",gestureEnd:"gestureEnd",gestureChange:"gestureChange",touchStart:"touchStart",touchMove:"touchMove",touchEnd:"touchEnd",touchMoveEnd:"touchMoveEnd",swipeLeft:"swipeLeft",swipeRight:"swipeRight",swipeUp:"swipeUp",swipeDown:"swipeDown",tapped:"tapped"},l.prototype.addEventHandlers=function(){this.gestureStartHandler=b.bind(this.onGestureStart,this),this.gestureChangeHandler=b.bind(this.onGestureChange,this),this.gestureEndHandler=b.bind(this.onGestureEnd,this),this.touchStartHandler=b.bind(this.onTouchStart,this),this.touchMoveHandler=b.bind(this.onTouchMove,this),this.touchEndHandler=b.bind(this.onTouchEnd,this),this.el.on("gesturestart",this.gestureStartHandler),this.el.on("gesturechange",this.gestureChangeHandler),this.el.on("gestureend",this.gestureEndHandler),this.el.on("touchstart",this.touchStartHandler),this.captureSettings.move&&this.el.on("touchmove",this.touchMoveHandler),this.el.on("touchend",this.touchEndHandler)},l.prototype.removeEventHandlers=function(){this.el.detachAll()},l.prototype.getTouchPoint=function(e){return{x:e[0].pageX,y:e[0].pageY}},l.prototype.fireTouchEvent=function(e){var r=0,o=0,n=0,a,i;if(r=this.touchEndPoint.x-this.touchStartPoint.x,o=this.touchEndPoint.y-this.touchStartPoint.y,n=Math.sqrt(r*r+o*o),this.captureSettings.swipe&&(a=new Date,i=a-this.touchStartTime,i<=this.swipeTimeThreshold)){if(window.Math.abs(r)>=this.swipeThreshold){b.fire("squarespace:ontouch",{type:b.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,point:this.touchEndPoint,action:r<0?b.SQS.Gallery.TouchEventListener.ActionTypes.swipeLeft:b.SQS.Gallery.TouchEventListener.ActionTypes.swipeRight,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e});return}if(window.Math.abs(o)>=this.swipeThreshold){b.fire("squarespace:ontouch",{type:b.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,point:this.touchEndPoint,action:o<0?b.SQS.Gallery.TouchEventListener.ActionTypes.swipeUp:b.SQS.Gallery.TouchEventListener.ActionTypes.swipeDown,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e});return}}n>1?b.fire("squarespace:ontouch",{type:b.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:b.SQS.Gallery.TouchEventListener.ActionTypes.touchMoveEnd,point:this.touchEndPoint,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e}):b.fire("squarespace:ontouch",{type:b.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:b.SQS.Gallery.TouchEventListener.ActionTypes.tapped,point:this.touchEndPoint,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},l.prototype.onGestureStart=function(e){e.touches=[],this.captureSettings.preventDefaultGestureEvents&&e.preventDefault(),this.isGesture=!0,b.fire("squarespace:ontouch",{type:b.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:b.SQS.Gallery.TouchEventListener.ActionTypes.gestureStart,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},l.prototype.onGestureChange=function(e){e.touches=[],this.captureSettings.preventDefaultGestureEvents&&e.preventDefault(),b.fire("squarespace:ontouch",{type:b.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:b.SQS.Gallery.TouchEventListener.ActionTypes.gestureChange,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},l.prototype.onGestureEnd=function(e){e.touches=[],this.captureSettings.preventDefaultGestureEvents&&e.preventDefault(),b.fire("squarespace:ontouch",{type:b.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:b.SQS.Gallery.TouchEventListener.ActionTypes.gestureEnd,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},l.prototype.onTouchStart=function(e){this.captureSettings.preventDefaultTouchEvents&&e.preventDefault();var r=e,o=r.touches;this.touchStartTime=new Date,this.touchStartPoint=this.getTouchPoint(o),b.fire("squarespace:ontouch",{type:b.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:b.SQS.Gallery.TouchEventListener.ActionTypes.touchStart,point:this.touchStartPoint,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},l.prototype.onTouchMove=function(e){this.captureSettings.preventDefaultTouchEvents&&e.preventDefault();var r=e,o=r.touches;b.fire("squarespace:ontouch",{type:b.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:b.SQS.Gallery.TouchEventListener.ActionTypes.touchMove,point:this.getTouchPoint(o),targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},l.prototype.onTouchEnd=function(e){if(this.isGesture&&this.captureSettings.gesture){this.isGesture=!1;return}this.captureSettings.preventDefaultTouchEvents&&e.preventDefault();var r=e,o=r.changedTouches?r.changedTouches:r.touches;this.touchEndPoint=this.getTouchPoint(o),b.fire("squarespace:ontouch",{type:b.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:b.SQS.Gallery.TouchEventListener.ActionTypes.touchEnd,point:this.touchEndPoint,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e}),this.fireTouchEvent(e)},b.SQS.Gallery.TouchEventListener=l},"1.0",{requires:[]})},533219:function(b,l,e){"use strict";e.d(l,{_yD:()=>Vt,Sil:()=>je,Mbv:()=>Dn,D4V:()=>li,UgU:()=>wu,gAQ:()=>Wf,ZPm:()=>pa});var r,o;(function(Se){Se[Se.NOOP=-1]="NOOP",Se[Se.TEXT=0]="TEXT",Se[Se.VARIABLE=1]="VARIABLE",Se[Se.SECTION=2]="SECTION",Se[Se.END=3]="END",Se[Se.REPEATED=4]="REPEATED",Se[Se.PREDICATE=5]="PREDICATE",Se[Se.BINDVAR=6]="BINDVAR",Se[Se.OR_PREDICATE=7]="OR_PREDICATE",Se[Se.IF=8]="IF",Se[Se.INJECT=9]="INJECT",Se[Se.MACRO=10]="MACRO",Se[Se.COMMENT=11]="COMMENT",Se[Se.META_LEFT=12]="META_LEFT",Se[Se.META_RIGHT=13]="META_RIGHT",Se[Se.NEWLINE=14]="NEWLINE",Se[Se.SPACE=15]="SPACE",Se[Se.TAB=16]="TAB",Se[Se.ROOT=17]="ROOT",Se[Se.EOF=18]="EOF",Se[Se.ALTERNATES_WITH=19]="ALTERNATES_WITH",Se[Se.STRUCT=20]="STRUCT",Se[Se.ATOM=21]="ATOM",Se[Se.CTXVAR=22]="CTXVAR",Se[Se.EVAL=23]="EVAL",Se[Se.INCLUDE=24]="INCLUDE"})(o||(o={}));var n=(r={},r[o.NOOP]="NOOP",r[o.TEXT]="TEXT",r[o.VARIABLE]="VARIABLE",r[o.SECTION]="SECTION",r[o.END]="END",r[o.REPEATED]="REPEATED",r[o.PREDICATE]="PREDICATE",r[o.BINDVAR]="BINDVAR",r[o.OR_PREDICATE]="OR_PREDICATE",r[o.IF]="IF",r[o.INJECT]="INJECT",r[o.MACRO]="MACRO",r[o.COMMENT]="COMMENT",r[o.META_LEFT]="META_LEFT",r[o.META_RIGHT]="META_RIGHT",r[o.NEWLINE]="NEWLINE",r[o.SPACE]="SPACE",r[o.TAB]="TAB",r[o.ROOT]="ROOT",r[o.EOF]="EOF",r[o.ALTERNATES_WITH]="ALTERNATES_WITH",r[o.STRUCT]="STRUCT",r[o.ATOM]="ATOM",r[o.CTXVAR]="CTXVAR",r[o.EVAL]="EVAL",r[o.INCLUDE]="INCLUDE",r),a=function(Se){var de=n[Se];return typeof de>"u"?"UNKNOWN":de},i=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),c=1,u=0,f;(function(Se){Se[Se.OR=0]="OR",Se[Se.AND=1]="AND"})(f||(f={}));var d=function(){return[]},h=function(){function Se(de,We){this.type=de,this.code=We}return Se}(),g=function(Se){return Se instanceof h?Se.type:Se},_=function(Se){return Se instanceof h?Se.code:Se},p=function(Se){return Se===void 0?u:Se},y=function(Se){i(de,Se);function de(We){return Se.call(this,o.ATOM,[o.ATOM,We])||this}return de}(h),O=function(Se){i(de,Se);function de(We,_t,nn){return Se.call(this,o.BINDVAR,[o.BINDVAR,We,_t,p(nn)])||this}return de}(h),P=function(Se){i(de,Se);function de(We,_t){return Se.call(this,o.COMMENT,[o.COMMENT,We,_t?1:0])||this}return de}(h),C=function(Se){i(de,Se);function de(We,_t){return Se.call(this,o.CTXVAR,[o.CTXVAR,We,_t])||this}return de}(h),A=function(Se){i(de,Se);function de(We){return Se.call(this,o.EVAL,[o.EVAL,We])||this}return de}(h),S=function(Se){i(de,Se);function de(We,_t){return Se.call(this,o.IF,[o.IF,We,_t,[],void 0])||this}return de.prototype.addConsequent=function(We){this.code[3].push(_(We))},de.prototype.setAlternate=function(We){this.code[4]=_(We)},de}(h),T=function(Se){i(de,Se);function de(We,_t){return Se.call(this,o.INCLUDE,[o.INCLUDE,We,_t])||this}return de}(h),s=function(Se){i(de,Se);function de(We,_t,nn){return Se.call(this,o.INJECT,[o.INJECT,We,_t,nn])||this}return de}(h),v=function(Se){i(de,Se);function de(We){return Se.call(this,o.MACRO,[o.MACRO,We,[]])||this}return de.prototype.addConsequent=function(We){this.code[2].push(_(We))},de}(h),m=function(Se){i(de,Se);function de(We,_t){return Se.call(this,o.OR_PREDICATE,[o.OR_PREDICATE,We||0,_t||u,d(),void 0])||this}return de.prototype.hasPredicate=function(){return this.code[1]!==u},de.prototype.addConsequent=function(We){this.code[3].push(_(We))},de.prototype.setAlternate=function(We){this.code[4]=_(We)},de}(h),E=function(Se){i(de,Se);function de(We,_t){return Se.call(this,o.PREDICATE,[o.PREDICATE,We,_t,[],void 0])||this}return de.prototype.addConsequent=function(We){this.code[3].push(_(We))},de.prototype.setAlternate=function(We){this.code[4]=_(We)},de}(h),I=function(Se){i(de,Se);function de(We){return Se.call(this,o.REPEATED,[o.REPEATED,We,[],o.END,[]])||this}return de.prototype.addConsequent=function(We){this.code[2].push(_(We))},de.prototype.setAlternate=function(We){this.code[3]=_(We)},de.prototype.setAlternatesWith=function(We){this.code[4].push(_(We))},de}(h),L=function(Se){i(de,Se);function de(){return Se.call(this,o.ROOT,[o.ROOT,c,[],o.END])||this}return de.prototype.addConsequent=function(We){this.code[2].push(_(We))},de.prototype.setAlternate=function(We){this.code[3]=_(We)},de}(h),W=function(Se){i(de,Se);function de(We){return Se.call(this,o.SECTION,[o.SECTION,We,[],o.END])||this}return de.prototype.addConsequent=function(We){this.code[2].push(_(We))},de.prototype.setAlternate=function(We){this.code[3]=_(We)},de}(h),F=function(Se){i(de,Se);function de(We){return Se.call(this,o.STRUCT,[o.STRUCT,We,[]])||this}return de.prototype.addConsequent=function(We){this.code[2].push(_(We))},de}(h),G=function(Se){i(de,Se);function de(We){return Se.call(this,o.TEXT,[o.TEXT,We])||this}return de}(h),k=function(Se){i(de,Se);function de(We,_t){return Se.call(this,o.VARIABLE,[o.VARIABLE,We,_t])||this}return de}(h),x=function(Se){var de=g(Se);return a(de)},M=function(Se){return{type:"parser",message:"SyntaxError: ".concat(Se)}},B=function(Se){return{type:"assembler",message:"SyntaxError: ".concat(Se)}},R=function(Se){return{type:"engine",message:"RuntimeError: ".concat(Se)}},U=function(Se){return M("Formatter '".concat(Se,"' is unknown"))},j=function(Se){return M("Predicate '".concat(Se,"' is unknown"))},$=function(Se){return B("This ".concat(x(Se)," block will never execute."))},ee=function(Se){return B("Reached EOF in the middle of ".concat(x(Se)))},te=function(Se){return B("machine fail: attempt to find state for non-block instruction ".concat(a(Se)))},ie=function(Se,de){return B("".concat(x(Se)," instruction is not allowed inside ").concat(x(de)," block."))},ne=function(Se){return B("Instruction ".concat(x(Se)," not allowed at root"))},pe=function(){return B("Machine never processed EOF, indicating (a) it was never fed an EOF (bad test?) or (b) the state machine has a bug.")},oe=function(Se){return B("".concat(x(Se)," Attempt to transition from the EOF state. ")+"This is either a bug in the state machine or instructions were fed to the state machine after EOF.")},q=function(Se){return B("Unclosed ".concat(x(Se),": perhaps an EOF was not fed to the machine? ")+"If not, this represents a bug in the state machine.")},J=function(){return B("Popped the ROOT instruction off the stack, which should never happen! Possible bug in state machine.")},me=function(Se,de){return R("Error parsing expression: ".concat(JSON.stringify(Se),": ").concat(de))},re=function(Se,de){return R("Error reducing expression: ".concat(Se,": ").concat(de))},he=function(Se){return R("Attempt to apply partial '".concat(Se,"' which could not be found."))},Ee=function(Se,de){return R('Parse of partial "'.concat(Se,'" failed: ').concat(de))},fe=function(Se,de){return R("Attempt to apply partial '".concat(Se,"' exceeded maximum recursion depth of ").concat(de))},H=function(Se,de,We){return R("Unexpected ".concat(Se," error when executing ").concat(de,": ").concat(We))},z=function(){function Se(){}return Se}(),_e=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),ae=function(Se){_e(de,Se);function de(){var We=Se.call(this)||this;return We.errors=[],We.root=new L,We.stack=[],We.state=We.stateRoot,We.current=We.root,We}return de.prototype.accept=function(We){var _t=g(We);switch(_t){case o.IF:case o.MACRO:case o.PREDICATE:case o.REPEATED:case o.SECTION:case o.STRUCT:this.state=this.state.call(this,_t,We,!0);break;default:this.state=this.state.call(this,_t,We,!1);break}},de.prototype.error=function(We){this.errors.push(We)},de.prototype.complete=function(){var We=g(this.current);return We!==o.ROOT&&this.error(q(this.current)),this.state!==this.stateEOF&&this.error(pe()),this.errors.length===0},de.prototype.code=function(){return this.root.code},de.prototype.pushConsequent=function(We,_t){return this.addConsequent(_t),this.push(We,_t)},de.prototype.push=function(We,_t){return this.stack.push(this.current),this.current=_t,this.stateFor(We)},de.prototype.pop=function(){var We=this.stack.pop();if(this.current=We,We===void 0)throw new Error(JSON.stringify(J()));var _t=g(We);return this.stateFor(_t)},de.prototype.stateFor=function(We){switch(We){case o.IF:return this.stateIf;case o.MACRO:case o.STRUCT:return this.stateBlock;case o.OR_PREDICATE:return this.stateOrPredicate;case o.PREDICATE:return this.statePredicate;case o.REPEATED:return this.stateRepeated;case o.ROOT:return this.stateRoot;case o.SECTION:return this.stateSection;default:throw new Error(JSON.stringify(te(We)))}},de.prototype.addConsequent=function(We){this.current.addConsequent(We)},de.prototype.setAlternate=function(We){this.current.setAlternate(We)},de.prototype.stateAlternatesWith=function(We,_t,nn){if(nn)return this.pushConsequent(We,_t);switch(We){case o.EOF:this.error(ee(this.current));break;case o.ALTERNATES_WITH:this.error(ie(_t,this.current));break;case o.OR_PREDICATE:return this.setAlternate(_t),this.current=_t,this.stateOrPredicate;case o.END:return this.setAlternate(_t),this.pop();default:this.current.setAlternatesWith(_t);break}return this.stateAlternatesWith},de.prototype.stateBlock=function(We,_t,nn){if(nn)return this.pushConsequent(We,_t);switch(We){case o.EOF:this.error(ee(this.current));break;case o.ALTERNATES_WITH:case o.OR_PREDICATE:this.error(ie(_t,this.current));break;case o.END:return this.pop();default:this.addConsequent(_t);break}return this.stateBlock},de.prototype.stateDead=function(We,_t,nn){return this.stateDead},de.prototype.stateEOF=function(We,_t,nn){return this.error(oe(_t)),this.stateDead},de.prototype.stateIf=function(We,_t,nn){if(nn)return this.pushConsequent(We,_t);switch(We){case o.EOF:this.error(ee(this.current));break;case o.ALTERNATES_WITH:this.error(ie(_t,this.current));break;case o.END:return this.setAlternate(_t),this.pop();case o.OR_PREDICATE:return this.setAlternate(_t),this.current=_t,this.stateOrPredicate;default:this.addConsequent(_t);break}return this.stateIf},de.prototype.stateOrPredicate=function(We,_t,nn){if(nn)return this.pushConsequent(We,_t);switch(We){case o.EOF:this.error(ee(this.current));break;case o.ALTERNATES_WITH:this.error(ie(_t,this.current));break;case o.END:return this.setAlternate(_t),this.pop();case o.OR_PREDICATE:{var vn=g(this.current);if(vn===o.OR_PREDICATE&&!this.current.hasPredicate()){this.error($(_t));break}this.setAlternate(_t),this.current=_t;break}default:this.addConsequent(_t);break}return this.stateOrPredicate},de.prototype.statePredicate=function(We,_t,nn){if(nn)return this.pushConsequent(We,_t);switch(We){case o.EOF:this.error(ee(this.current));break;case o.ALTERNATES_WITH:this.error(ie(_t,this.current));break;case o.END:return this.setAlternate(_t),this.pop();case o.OR_PREDICATE:return this.setAlternate(_t),this.current=_t,this.stateOrPredicate;default:this.addConsequent(_t);break}return this.statePredicate},de.prototype.stateRepeated=function(We,_t,nn){if(nn)return this.pushConsequent(We,_t);switch(We){case o.EOF:this.error(ee(this.current));break;case o.END:return this.setAlternate(_t),this.pop();case o.OR_PREDICATE:return this.setAlternate(_t),this.current=_t,this.stateOrPredicate;case o.ALTERNATES_WITH:return this.stateAlternatesWith;default:this.addConsequent(_t);break}return this.stateRepeated},de.prototype.stateRoot=function(We,_t,nn){if(nn)return this.pushConsequent(We,_t);switch(We){case o.EOF:return this.setAlternate(_t),this.stateEOF;case o.END:case o.ALTERNATES_WITH:case o.OR_PREDICATE:this.error(ne(_t));break;default:this.addConsequent(_t)}return this.stateRoot},de.prototype.stateSection=function(We,_t,nn){if(nn)return this.pushConsequent(We,_t);switch(We){case o.EOF:this.error(ee(this.current));break;case o.ALTERNATES_WITH:this.error(ie(_t,this.current));break;case o.END:return this.setAlternate(_t),this.pop();case o.OR_PREDICATE:return this.setAlternate(_t),this.current=_t,this.stateOrPredicate;default:this.addConsequent(_t);break}return this.stateSection},de}(z),ge,Be;(function(Se){Se[Se.MISSING=0]="MISSING",Se[Se.OBJECT=1]="OBJECT",Se[Se.ARRAY=2]="ARRAY",Se[Se.NUMBER=3]="NUMBER",Se[Se.STRING=4]="STRING",Se[Se.BOOLEAN=5]="BOOLEAN",Se[Se.NULL=6]="NULL"})(Be||(Be={}));var Ke=(ge={},ge[Be.MISSING]="MISSING",ge[Be.OBJECT]="OBJECT",ge[Be.ARRAY]="ARRAY",ge[Be.NUMBER]="NUMBER",ge[Be.STRING]="STRING",ge[Be.BOOLEAN]="BOOLEAN",ge[Be.NULL]="NULL",ge),He=function(Se){return Ke[Se]},ye=function(Se){switch(typeof Se){case"object":return Se===null?Be.NULL:Array.isArray(Se)?Be.ARRAY:Be.OBJECT;case"string":return Be.STRING;case"boolean":return Be.BOOLEAN;case"number":return Be.NUMBER;default:return Be.MISSING}},Le=function(Se,de,We){if(We||arguments.length===2)for(var _t=0,nn=de.length,vn;_t<nn;_t++)(vn||!(_t in de))&&(vn||(vn=Array.prototype.slice.call(de,0,_t)),vn[_t]=de[_t]);return Se.concat(vn||Array.prototype.slice.call(de))},Ue=/^\d+$/,Xe=function(Se){for(var de=Se.split("."),We=de.length,_t=0;_t<We;_t++){var nn=de[_t];if(Ue.test(nn)){var vn=parseInt(nn,10);isFinite(vn)&&vn<=2147483647&&(de[_t]=vn)}}return de},Fe=/^[\"\d\[\{]|^-\d|^(true|false|null)$/,ht=function(Se){return Fe.test(Se)},Ne=function(Se,de){var We=new Map,_t=function(nn,vn){if(typeof nn!="object"||typeof vn!="object"||nn===null||vn===null)return nn===vn;if(Object.getPrototypeOf(nn)!==Object.getPrototypeOf(vn))return!1;if(We.has(nn))return We.get(nn)===vn;if(We.set(nn,vn),We.set(vn,nn),Array.isArray(nn)){var cr=nn.length;if(cr!==vn.length)return!1;for(var lo=0;lo<cr;lo++)if(!_t(nn[lo],vn[lo]))return!1}else{for(var Po in nn)if(!_t(nn[Po],vn[Po]))return!1;for(var Po in vn)if(!_t(nn[Po],vn[Po]))return!1}return!0};return _t(Se,de)},Ce=function(Se,de){for(var We=Se.length,_t=de.length,nn=Math.min(We,_t),vn=0;vn<nn;){var cr=Se.charCodeAt(vn),lo=de.charCodeAt(vn);if(cr!==lo)return cr-lo;vn++}return We-_t},we=function(Se,de){if(Se===1)return de;for(var We="",_t=0;_t<Se;_t++)We+=de;return We},$e=function(Se){return of(Se)===Type.OBJECT},Ot=function(Se){for(var de,We,_t=[],nn=1;nn<arguments.length;nn++)_t[nn-1]=arguments[nn];if(!_t.length)return Se;var vn=_t.shift();if($e(Se)&&$e(vn))for(var cr in vn)$e(vn[cr])?(Se[cr]||Object.assign(Se,(de={},de[cr]={},de)),Ot(Se[cr],vn[cr])):Object.assign(Se,(We={},We[cr]=vn[cr],We));return Ot.apply(void 0,Le([Se],_t,!1))},Pt=function(Se){var de=of(Se);switch(de){case Type.ARRAY:return Se.map(function(We){return Pt(We)});case Type.OBJECT:return Object.keys(Se).reduce(function(We,_t){return We[_t]=Pt(Se[_t]),We},{});default:return Se}},Ie=function(Se,de){for(var We=Se.length,_t="",nn=0;nn<We;nn++){var vn=Se[nn],cr=de[vn];_t+=cr||vn}return _t},Bt,mt=function(){function Se(de,We){this.value=de,this.type=We!==void 0?We:ye(de)}return Se.prototype.isNull=function(){return this.type===Be.NULL},Se.prototype.isMissing=function(){return this.type===Be.MISSING},Se.prototype.equals=function(de){var We=de instanceof Se?de.value:de;return Ne(this.value,We)},Se.prototype.compare=function(de){var We=de instanceof Se?de:new Se(de);switch(this.type){case Be.NUMBER:{var _t=We.asNumber();return this.value<_t?-1:this.value===_t?0:1}case Be.STRING:return Ce(this.value,We.asString());case Be.BOOLEAN:{var _t=We.asBoolean();return this.value===_t?0:this.value?1:-1}default:return Ne(this.value,We.value)?0:-1}},Se.prototype.size=function(){switch(this.type){case Be.OBJECT:return Object.keys(this.value).length;case Be.ARRAY:return this.value.length;default:return 0}},Se.prototype.asBoolean=function(){switch(this.type){case Be.BOOLEAN:return this.value;case Be.STRING:return this.value==="true";case Be.NUMBER:{var de=this.value;return parseInt(de,10)===de?de!==0:!1}default:return!1}},Se.prototype.asString=function(){switch(this.type){case Be.STRING:return this.value;case Be.NULL:case Be.MISSING:return"";case Be.NUMBER:case Be.BOOLEAN:return String(this.value);default:return""}},Se.prototype.asNumber=function(){switch(this.type){case Be.NUMBER:return this.value;case Be.STRING:return this.value.indexOf(".")!==-1?parseFloat(this.value):parseInt(this.value,10);case Be.BOOLEAN:return this.value?1:0;default:return 0}},Se.prototype.replace=function(de){return Ie(this.asString(),de)},Se.prototype.path=function(de){if(de.length===0)return this;for(var We=this.value,_t=this.type,nn=0,vn=de.length;nn<vn;nn++){var cr=de[nn];if(_t===Be.OBJECT&&We.hasOwnProperty(cr)||_t===Be.ARRAY&&typeof cr=="number")We=We[cr];else return Bt;_t=ye(We)}return _t===Be.MISSING?Bt:new Se(We,_t)},Se.prototype.get=function(de){if(this.type===Be.ARRAY||this.type===Be.OBJECT){var We=this.value[de],_t=ye(We);if(_t!==Be.MISSING)return new Se(We,_t)}return Bt},Se}(),rt=function(Se){return Se instanceof mt?Se:new mt(Se)},ce=function(Se){var de=rt(Se),We=de.value;switch(de.type){case Be.STRING:return We!=="";case Be.NUMBER:return!isNaN(We)&&We!==0;case Be.BOOLEAN:return We;case Be.OBJECT:return Object.keys(We).length!==0||We.constructor!==Object;case Be.ARRAY:return We.length!==0;case Be.MISSING:case Be.NULL:default:return!1}};Bt=new mt(null,Be.MISSING);var Re=function(){function Se(de,We){this.node=de,this.parent=We,this.currentIndex=-1,this.stopResolution=!1}return Se.prototype.setVar=function(de,We){this.variables||(this.variables=new Map),this.variables.set(de,We)},Se.prototype.getVar=function(de){var We=this.variables?this.variables.get(de):Bt;return We===void 0?Bt:We},Se.prototype.getVars=function(){return this.variables},Se.prototype.setMacro=function(de,We){this.macros||(this.macros=new Map),this.macros.set(de,We)},Se.prototype._getMacro=function(de){var We=this.macros===void 0?null:this.macros.get(de);return We||null},Se}(),nt=function(){function Se(de,We){this.name=de,this.node=We,this.set(We)}return Se.prototype.set=function(de){this.node=de instanceof mt?de:new mt(de)},Se.prototype.get=function(){return this.node.value},Se}(),st=e(850169),vt=50,ze=new Set(["decimal","short","long","scientific","percent","percent-scaled","permille","permille-scaled"]),It=new Set(["symbol","accounting","code","name","short"]),on=new Set(["default","narrow"]),Pn=new Set(["up","down","ceiling","floor","half-up","half-down","half-even"]),Yn=new Set(["short","medium","long","full"]),Ln=new Set(["middle-of-text","begin-sentence","standalone","ui-list-or-menu"]),bn=new Set(["year","month","week","day","hour","minute","second","millis"]),ir=new Set(["short","narrow","wide"]),Zn=function(Se){var de={};return Tn(Se,de,Nn),de},$n=function(Se){var de={};return Tn(Se,de,cn),de},jt=function(Se){var de={};return Tn(Se,de,qn),de.ca||(de.ca="gregory"),de},Rn=function(Se){var de={};return Tn(Se,de,fo),de.ca||(de.ca="gregory"),de},jn=function(Se){var de={};return Tn(Se,de,Jr),de.ca||(de.ca="gregory"),de},Tn=function(Se,de,We){if(Se!=null)for(var _t=0,nn=Se;_t<nn.length;_t++){var vn=nn[_t],cr="",lo=vn.indexOf(":");lo!==-1&&(cr=vn.substring(lo+1),vn=vn.substring(0,lo)),We(vn,cr,de)}},Nn=function(Se,de,We){Se==="style"?ze.has(de)?We.style=de:de==="standard"&&(We.style="decimal"):or(Se,de,We)},cn=function(Se,de,We){Se==="style"?It.has(de)?We.style=de:de==="standard"&&(We.style="symbol"):Se==="symbol"?on.has(de)&&(We.symbolWidth=de):or(Se,de,We)},or=function(Se,de,We){switch(Se){case"group":case"grouping":We.group=de===""||de==="true";break;case"no-group":case"no-grouping":We.group=!1;break;case"round":case"rounding":switch(de){case"ceil":We.round="ceiling";break;case"truncate":We.round="down";break;default:Pn.has(de)&&(We.round=de);break}break;case"minint":case"minInt":case"minimumIntegerDigits":We.minimumIntegerDigits=ro(Xt(de),0,vt);break;case"maxfrac":case"maxFrac":case"maximumFractionDigits":We.maximumFractionDigits=ro(Xt(de),0,vt);break;case"minfrac":case"minFrac":case"minimumFractionDigits":We.minimumFractionDigits=ro(Xt(de),0,vt);break;case"maxsig":case"maxSig":case"maximumSignificantDigits":We.maximumSignificantDigits=ro(Xt(de),0,vt);break;case"minsig":case"minSig":case"minimumSignificantDigits":We.minimumSignificantDigits=ro(Xt(de),0,vt);break;default:break}},qn=function(Se,de,We){if(!de){switch(Se){case"date":We.date="short";break;case"time":We.time="short";break;default:if(Yn.has(Se))We.datetime=Se;else{var _t=We.skeleton;We.skeleton=_t===void 0?Se:_t+Se}break}return}switch(Se){case"calendar":We.ca=Hr(de);break;case"context":Ln.has(de)&&(We.context=de);break;case"date":case"time":case"datetime":if(Yn.has(de))Se==="date"?We.date=de:Se==="time"?We.time=de:We.datetime=de;else{var _t=We.skeleton;We.skeleton=_t===void 0?de:_t+de}break;case"skeleton":We.skeleton=de;break;case"wrap":case"wrapper":case"wrapped":Yn.has(de)&&(We.wrap=de);break;default:break}},Hr=function(Se){switch(Se){case"gregorian":return"gregory";case"buddhist":case"gregory":case"iso8601":case"persian":case"japanese":return Se;default:return}},fo=function(Se,de,We){if(!de){switch(Se){case"context":case"skeleton":case"date":case"time":break;default:Se&&(We.skeleton=Se);break}return}switch(Se){case"context":Ln.has(de)&&(We.context=de);break;case"skeleton":We.skeleton=de;break;case"date":We.date=de;break;case"time":We.time=de;break;default:break}},Jr=function(Se,de,We){switch(Se){case"context":Ln.has(de)&&(We.context=de);break;case"dayOfWeek":We.dayOfWeek=de==="true";break;case"field":bn.has(de)&&(We.field=de);break;case"numericOnly":We.numericOnly=de==="true";break;case"alwaysNow":We.alwaysNow=de==="true";break;case"width":ir.has(de)&&(We.width=de);break;default:or(Se,de,We);break}},ro=function(Se,de,We){return Se<de?de:Se>We?We:Se},Xt=function(Se){var de=parseInt(Se,10);return isFinite(de)?de:0},Je=function(Se){try{return new st.Decimal(Se)}catch{return}},At=function(Se){return ce(Se.resolve(["featureFlags","useCLDRMoneyFormat"]))},xt=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),Qt="America/New_York",qt=function(){function Se(de){this.cldr=de,this.zoneId=Qt,this.converter=new Te;var We=de.General.bundle(),_t={cacheSize:100,converter:this.converter,formatters:this.formatters(),language:We.language(),region:We.region()};this.formatter=new st.MessageFormatter(_t)}return Se.prototype.setTimeZone=function(de){this.zoneId=de},Se.prototype.formatters=function(){var de=this.currency.bind(this),We=this.decimal.bind(this);return{money:de,currency:de,"datetime-interval":this.interval.bind(this),datetime:this.datetime.bind(this),number:We,decimal:We}},Se.prototype.currency=function(de,We){if(!de||!de.length)return"";var _t=de[0];if(!_t)return"";var nn=_t.path(["decimalValue"]),vn=_t.path(["currencyCode"]);if((nn.isMissing()||vn.isMissing())&&(nn=_t.path(["value"]),vn=_t.path(["currency"])),nn.isMissing()||vn.isMissing())return"";var cr=this.converter.asDecimal(nn),lo=this.converter.asString(vn),Po=$n(We);return this.cldr.Numbers.formatCurrency(cr,lo,Po)},Se.prototype.datetime=function(de,We){if(!de||!de.length||!de[0])return"";var _t=de[0],nn=_t.asNumber();if(isFinite(nn)){var vn=this.cldr.Calendars.toGregorianDate({date:nn,zoneId:this.zoneId}),cr=jt(We);return this.cldr.Calendars.formatDate(vn,cr)}return""},Se.prototype.decimal=function(de,We){if(!de||!de.length||!de[0])return"";var _t=this.converter.asDecimal(de[0]),nn=Zn(We);return this.cldr.Numbers.formatDecimal(_t,nn)},Se.prototype.interval=function(de,We){if(!de||de.length<2||!de[0]||!de[1])return"";var _t=de[0].asNumber(),nn=de[1].asNumber(),vn=this.cldr.Calendars.toGregorianDate({date:_t,zoneId:this.zoneId}),cr=this.cldr.Calendars.toGregorianDate({date:nn,zoneId:this.zoneId}),lo=Rn(We);return this.cldr.Calendars.formatDateInterval(vn,cr,lo)},Se}(),Te=function(Se){xt(de,Se);function de(){var We=Se.call(this)||this;return We.one=Je("1"),We.zero=Je("0"),We}return de.prototype.asDecimal=function(We){if(We instanceof mt){var _t=We,nn=this.currency(_t);if(!nn.isMissing()){var vn=Je(nn.asString());return vn||this.zero}switch(_t.type){case Be.BOOLEAN:return _t.value?this.one:this.zero;case Be.NULL:case Be.MISSING:case Be.OBJECT:case Be.ARRAY:return this.zero;case Be.NUMBER:case Be.STRING:default:var vn=Je(_t.value);return vn||this.zero}}return Se.prototype.asDecimal.call(this,We)},de.prototype.asString=function(We){if(We instanceof mt){var _t=We,nn=this.currency(_t);if(!nn.isMissing())return nn.asString();switch(_t.type){case Be.BOOLEAN:return _t.value?"true":"false";case Be.NULL:case Be.MISSING:return"";case Be.NUMBER:case Be.ARRAY:case Be.OBJECT:case Be.STRING:default:return _t.asString()}}return Se.prototype.asString.call(this,We)},de.prototype.currency=function(We){var _t=We.path(["decimalValue"]);return _t.isMissing()&&(_t=We.path(["value"])),_t},de}(st.DefaultMessageArgConverter),Gt=16,un=[o.ROOT,1,[],o.EOF],Vt=function(){function Se(de,We){We===void 0&&(We={}),de instanceof mt||(de=this.newNode(de)),this.partials=We.partials||{},this.injects=We.injects||{},this.now=We.now,this.enableExpr=We.enableExpr,this.exprOpts=We.exprOpts,this.enableInclude=We.enableInclude,this.cldr=We.cldr,this.cldr&&(this.formatter=new qt(this.cldr)),this.version=1,this.engine=null,this.parsefunc=null,this.parsedPartials={},this.buf="",this.stack=[new Re(de)],this.version=1,this.errors=[],this.partialsDepth=0,this.maxPartialDepth=Gt,this.partialsExecuting=new Set}return Se.prototype.enterPartial=function(de){return this.partialsExecuting.add(de),this.partialsDepth++,this.partialsDepth>this.maxPartialDepth?(this.error(fe(de,this.maxPartialDepth)),!1):!0},Se.prototype.exitPartial=function(de){this.partialsExecuting.delete(de),this.partialsDepth--},Se.prototype.error=function(de){this.errors.push(de)},Se.prototype.newNode=function(de){return new mt(de)},Se.prototype.newVariable=function(de,We){return new nt(de,We)},Se.prototype.swapBuffer=function(){var de=this.buf;return this.buf="",de},Se.prototype.restoreBuffer=function(de){this.buf=de},Se.prototype.frame=function(){return this.stack[this.stack.length-1]},Se.prototype.parent=function(){var de=this.stack.length-2;return this.stack[de<0?0:de]},Se.prototype.append=function(de){this.buf+=de},Se.prototype.render=function(){return this.buf},Se.prototype.emit=function(de){this.emitNode(de[0].node)},Se.prototype.emitNode=function(de){switch(de.type){case Be.NUMBER:case Be.STRING:case Be.BOOLEAN:this.append(de.value);break;case Be.NULL:this.append("");break;case Be.ARRAY:{for(var We=de.value,_t=0;_t<We.length;_t++)_t>0&&this.append(","),this.append(We[_t]);break}}},Se.prototype.node=function(){return this.frame().node},Se.prototype.getPartial=function(de){var We;if(We=this.getMacro(de),We||(We=this.parsedPartials[de],We))return We;var _t=this.partials[de];if(typeof _t!="string")We=_t;else if(this.parsefunc){var nn=this.parsefunc(_t);if(nn.errors&&nn.errors.length>0){for(var vn=0;vn<nn.errors.length;vn++)this.error(Ee(de,nn.errors[vn].message));We=un}else We=nn.code}return We&&(this.parsedPartials[de]=We),We},Se.prototype.getMacro=function(de){for(var We=this.stack.length-1,_t=We;_t>=0;_t--){var nn=this.stack[_t]._getMacro(de);if(nn!==null)return nn}return null},Se.prototype.getInjectable=function(de){var We=this.injects[de]||null;return We!==null?We instanceof mt?We:this.newNode(We):Bt},Se.prototype.stopResolution=function(de){this.frame().stopResolution=de},Se.prototype.pushSection=function(de){var We=de.length,_t=Bt;We>0&&(_t=this.resolveName(de[0],this.frame())),We>1&&(_t=_t.path(de.slice(1)));var nn=this.frame();this.stack.push(new Re(_t,nn))},Se.prototype.pushNode=function(de){var We=this.frame();this.stack.push(new Re(de,We))},Se.prototype.pop=function(){if(this.stack.pop(),this.stack.length===0)throw new Error("Too many Context.pop() calls, attempt to pop the root frame!!!")},Se.prototype.setVar=function(de,We){this.frame().setVar(de,We.node)},Se.prototype.setMacro=function(de,We){this.frame().setMacro(de,We)},Se.prototype.initIteration=function(){var de=this.frame(),We=de.node;return We.type!==Be.ARRAY||We.value.length===0?!1:(de.currentIndex=0,!0)},Se.prototype.pushNext=function(){var de=this.frame(),We=de.node.path([de.currentIndex]);this.pushNode(We)},Se.prototype.resolve=function(de){return this.resolveFrom(de,this.frame())},Se.prototype.resolveFrom=function(de,We){var _t=de.length;if(_t===0)return Bt;for(var nn=_t>=1&&de[0]==="@"?this.resolveName(de[0],We):this.lookupStack(de[0],We),vn=1;vn<de.length;vn++){if(nn.isMissing()||nn.isNull())return Bt;nn=nn.path([de[vn]])}return nn},Se.prototype.lookupStack=function(de,We){for(var _t=We===void 0?this.frame():We;_t!==void 0;){var nn=this.resolveName(de,_t);if(!nn.isMissing())return nn;if(_t.stopResolution)break;_t=_t.parent}return Bt},Se.prototype.resolveName=function(de,We){if(typeof de=="string"&&de[0]==="@"){if(de==="@")return We.node;if(de==="@index"||de==="@index0"){if(We.currentIndex!==-1){var _t=de==="@index"?1:0;return this.newNode(We.currentIndex+_t)}return Bt}return We.getVar(de)}return We.node.get(de)},Se}(),Dn=function(){function Se(){}return Se}(),Wt=function(){function Se(){}return Se}(),Pe=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),xe=function(){try{var Se=new RegExp(".","y");return Se&&!0}catch{return!1}}(),Ae=function(Se){return function(de){Pe(We,de);function We(){for(var _t=[],nn=0;nn<arguments.length;nn++)_t[nn]=arguments[nn];return de.apply(this,_t)||this}return We.prototype.compile=function(_t){return new RegExp("^"+_t,"g")},We.prototype.match=function(_t,nn){return this.test(_t,nn)?(this.matchEnd=nn+_t.lastIndex,this.str.substring(nn,this.matchEnd)):null},We.prototype.test=function(_t,nn){var vn=this.str.substring(nn,this.end);return _t.lastIndex=0,_t.test(vn)?(this.matchEnd=nn+_t.lastIndex,!0):!1},We}(Se)},qe=function(Se){return function(de){Pe(We,de);function We(){for(var _t=[],nn=0;nn<arguments.length;nn++)_t[nn]=arguments[nn];return de.apply(this,_t)||this}return We.prototype.compile=function(_t){return new RegExp(_t,"y")},We.prototype.match=function(_t,nn){_t.lastIndex=nn;var vn=_t.exec(this.str);return vn!==null?(this.matchEnd=_t.lastIndex,vn[0]):null},We.prototype.test=function(_t,nn){return _t.lastIndex=nn,_t.test(this.str)?(this.matchEnd=_t.lastIndex,!0):!1},We}(Se)},wt=function(){for(var Se=[],de=0;de<arguments.length;de++)Se[de]=arguments[de];return Se.join("|")},kt=function(){for(var Se=[],de=0;de<arguments.length;de++)Se[de]=arguments[de];return Se.join("")},ut="\\d+",Ft="[a-zA-Z]",tn="[a-zA-Z0-9_-]*",In=Ft+tn,rr="[ \\f\\n\\r\\t\v]+",Sr="[^|}]+",Yr="[^}]+",Pr="&&|\\|\\|",Mn=wt(ut,"(?:@|\\$)?"+In,"@"),sr="[./a-zA-Z0-9_-]+",Ar=In+"\\?",vr=kt("(?:"+Mn+")","(?:\\.(?:"+Mn+"))*"),qr="@"+In,Dr=" *, *",eo=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),Vo=function(){function Se(de){this.str=de,this.matchEnd=0,this.start=0,this.end=de.length,this.variableReference=this.compile(vr)}return Se.prototype.init=function(de){this.str=de},Se.prototype.set=function(de,We){this.start=de,this.end=We},Se.prototype.matchVariable=function(){var de=this.match(this.variableReference,this.start);return de===null?null:Xe(de)},Se.prototype.compile=function(de){return null},Se.prototype.match=function(de,We){return null},Se.prototype.test=function(de,We){return!1},Se}(),Bn=function(Se){eo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de}(qe(Vo)),ar=function(Se){eo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de}(Ae(Vo)),rn=xe?Bn:ar,Rt="Invalid 2-char hex escape found",Qe="Invalid unicode escape found",Ye="Mismatched operator found:",yt="Unexpected operator found during evaluation:",Ze=function(Se,de){return de<Se.length?Se[de]:""},Mt={},ot=function(Se,de,We,_t){var nn={type:Se,prec:de,assoc:We,desc:_t};return Mt[Se]=nn,{type:0,value:nn}},et=ot(0,17,1,"unary plus"),St=ot(1,17,1,"unary minus"),Ht=ot(2,17,1,"logical not"),er=ot(3,17,1,"bitwise not"),Mr=ot(4,16,1,"exponent"),mn=ot(5,15,0,"multiply"),Un=ot(6,15,0,"divide"),hr=ot(7,15,0,"modulus"),br=ot(8,14,0,"add"),io=ot(9,14,0,"subtract"),Kr=ot(10,13,0,"left shift"),xo=ot(11,13,0,"right shift"),Ho=ot(12,12,0,"less than"),bo=ot(13,12,0,"greater than"),Ea=ot(18,12,0,"less than or equal"),Ia=ot(19,12,0,"greater than or equal"),Da=ot(14,11,0,"equality"),Za=ot(15,11,0,"inequality"),Xa=ot(16,11,0,"strict equality"),ba=ot(17,11,0,"strict inequality"),ns=ot(20,10,0,"bitwise and"),Ja=ot(21,9,0,"bitwise xor"),Is=ot(22,8,0,"bitwise or"),Vr=ot(23,7,0,"logical and"),Qr=ot(24,6,0,"logical or"),To=ot(25,3,1,"assign"),xr=ot(26,1,0,"semicolon"),uo=ot(27,1,1,"comma"),Mo=ot(28,1,0,"left paren"),go=ot(29,1,0,"right paren"),ea=function(){function Se(){this._elems=[]}return Object.defineProperty(Se.prototype,"length",{get:function(){return this._elems.length},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"top",{get:function(){return this.length?this._elems[this.length-1]:void 0},set:function(de){this.length&&(this._elems[this.length-1]=de)},enumerable:!1,configurable:!0}),Object.defineProperty(Se.prototype,"elems",{get:function(){return this._elems},enumerable:!1,configurable:!0}),Se.prototype.push=function(de){this._elems.push(de)},Se.prototype.pop=function(){return this._elems.pop()},Se}(),ha={"\b":"backspace","\f":"form feed","\n":"line feed","\r":"carriage return","	":"tab"},yr=function(Se){var de=ha[Se];return de||(Se<=""?"control character":"character")},Lr=String.fromCharCode,ao=function(Se){switch(Se.type){case 2:return Se.value;case 4:if(!Se.value)return 0;var de=Se.value.length,We=void 0,_t=0,nn=Se.value[_t];if((nn==="-"||nn==="+")&&_t++,_t===de)return NaN;switch(Se.value[_t]){case"0":var vn=Ze(Se.value,_t+1);if(vn==="x"||vn==="X")return We=Ss(Se.value,_t+2,de),We===de?parseInt(Se.value,16):NaN;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":We=fs(Se.value,_t,de);break;default:return NaN}return We===de?parseFloat(Se.value):NaN;case 3:return Se.value?1:0;case 1:return 0;default:return NaN}},ho=function(Se){switch(Se.type){case 3:return Se.value;case 2:case 4:return!!Se.value;default:return!1}},Lo=function(Se){switch(Se.type){case 3:return Se.value?"true":"false";case 2:return String(Se.value);case 4:return Se.value;case 1:return"null";default:return""}},Yo=function(Se,de){if(de)switch(de.type){case 7:{var We=Se.resolve(de.value);switch(We.type){case Be.BOOLEAN:return Xo(We.value);case Be.NUMBER:return jo(We.value);case Be.STRING:return Ua(We.value);case Be.NULL:case Be.MISSING:return Pi}break}case 3:case 2:case 4:case 1:return de}},jo=function(Se){return{type:2,value:Se}},Xo=function(Se){return{type:3,value:Se}},Ua=function(Se){return{type:4,value:Se}},ds=jo(-1),us=jo(3.141592653589793),ys=jo(2.718281828459045),Ys=jo(1/0),Gs=jo(NaN),xs=Xo(!0),Ai=Xo(!1),Pi={type:1,value:null},ei={type:6},hi={null:Pi,true:xs,false:Ai,PI:us,E:ys,Infinity:Ys,NaN:Gs},ks=function(Se){return Se.map(function(de){return de.type===2?de:jo(ao(de))})},Ms=function(Se,de){if(de.length!==0){for(var We=de[0],_t=1;_t<de.length;_t++){var nn=de[_t];We=Se(We,nn)?We:nn}return We}},bs={max:function(){for(var Se=[],de=0;de<arguments.length;de++)Se[de]=arguments[de];return Ms(function(We,_t){return We.value>_t.value},ks(Se))},min:function(){for(var Se=[],de=0;de<arguments.length;de++)Se[de]=arguments[de];return Ms(function(We,_t){return We.value<_t.value},ks(Se))},abs:function(){for(var Se=[],de=0;de<arguments.length;de++)Se[de]=arguments[de];return Se.length?jo(Math.abs(ao(Se[0]))):void 0},num:function(){for(var Se=[],de=0;de<arguments.length;de++)Se[de]=arguments[de];return Se.length?jo(ao(Se[0])):void 0},str:function(){for(var Se=[],de=0;de<arguments.length;de++)Se[de]=arguments[de];return Se.length?Ua(Lo(Se[0])):void 0},bool:function(){for(var Se=[],de=0;de<arguments.length;de++)Se[de]=arguments[de];return Se.length?Xo(ho(Se[0])):void 0}},Hs=function(Se,de){return jo(ao(Se)*ao(de))},Os=new rn(""),Vs=function(Se){if(!Se)return"undefined";switch(Se.type){case 3:return Se.value?"true":"false";case 1:return"null";case 2:return String(Se.value);case 4:return JSON.stringify(Se.value);case 0:return"<".concat(Se.value.desc,">");case 7:return"".concat(Se.value.join("."));case 5:return"".concat(Se.value,"()");case 6:return"<args>";default:return"<unk>"}},_s=function(){function Se(de,We){We===void 0&&(We={}),this.raw=de,this.expr=[],this.errors=[],this.tokens=new ea,this.maxTokens=We.maxTokens||0,this.maxStringLen=We.maxStringLen||0,this.tokenize(de,0,de.length)}return Se.prototype.reduce=function(de){for(var We=this.expr.length,_t=void 0,nn=0;nn<We;nn++){var vn=this.expr[nn];_t=this.reduceExpr(de,vn)}return _t},Se.prototype.reduceExpr=function(de,We){var _t=new ea;e:for(var nn=0,vn=We;nn<vn.length;nn++){var cr=vn[nn];switch(cr.type){case 3:case 4:case 2:case 1:case 7:case 6:_t.push(cr);continue;case 5:{for(var lo=[];_t.top&&_t.top.type!==6;){var Po=Yo(de,_t.pop());Po&&lo.push(Po)}_t.pop(),lo.reverse();var oa=bs[cr.value],fa=oa.apply(void 0,lo);if(!fa){de.error(re(this.raw,"Error calling function ".concat(cr.value)));break e}_t.push(fa);continue}case 0:{switch(cr.value.type){case 1:{var Po=Yo(de,_t.top);_t.top=Po?Hs(ds,Po):void 0;continue}case 0:{var Po=Yo(de,_t.top);_t.top=Po?jo(ao(Po)):void 0;continue}case 2:{var Po=Yo(de,_t.top);_t.top=Po?Xo(!ho(Po)):void 0;continue}case 3:{var Po=Yo(de,_t.top);_t.top=Po?jo(~ao(_t.top)):void 0;continue}case 25:{var Va=Yo(de,_t.pop()),ci=_t.pop();if(ci!==void 0&&ci.type===7&&Va!==void 0){var di=ci.value;di.length===1&&typeof di[0]=="string"&&di[0][0]==="@"&&de.setVar(di[0],new nt(di[0],new mt(Va.value)))}_t.top=void 0;break e}default:}var Xs=Yo(de,_t.pop()),_i=Yo(de,_t.pop());if(_i===void 0||Xs===void 0){de.error(re(this.raw,"Invalid arguments to operator ".concat(cr.value.desc)));break e}var js=void 0;switch(cr.value.type){case 5:js=Hs(_i,Xs);break;case 6:js=jo(ao(_i)/ao(Xs));break;case 8:if(_i.type===4||Xs.type===4){var al=Lo(_i),vl=Lo(Xs);if(this.maxStringLen>0&&al.length+vl.length>this.maxStringLen){de.error(re(this.raw,"Concatenation would exceed maximum string length ".concat(this.maxStringLen)));break e}js=Ua(al+vl)}else js=jo(ao(_i)+ao(Xs));break;case 9:js=jo(ao(_i)-ao(Xs));break;case 4:js=jo(Math.pow(ao(_i),ao(Xs)));break;case 7:js=jo(ao(_i)%ao(Xs));break;case 10:js=jo(ao(_i)<<ao(Xs));break;case 11:js=jo(ao(_i)>>ao(Xs));break;case 12:js=Xo(_i.value<Xs.value);break;case 18:js=Xo(_i.value<=Xs.value);break;case 13:js=Xo(_i.value>Xs.value);break;case 19:js=Xo(_i.value>=Xs.value);break;case 14:js=Xo(_i.value==Xs.value);break;case 15:js=Xo(_i.value!=Xs.value);break;case 16:js=Xo(_i.value===Xs.value);break;case 17:js=Xo(_i.value!==Xs.value);break;case 20:js=jo(ao(_i)&ao(Xs));break;case 21:js=jo(ao(_i)^ao(Xs));break;case 22:js=jo(ao(_i)|ao(Xs));break;case 23:js=Xo(ho(_i)&&ho(Xs));break;case 24:js=Xo(ho(_i)||ho(Xs));break;default:this.errors.push("".concat(yt," ").concat(cr.value.desc)),_t.top=void 0;break e}_t.push(js)}}}var hc=_t.top;if(hc){var Cc=Yo(de,hc);if(Cc)return new mt(Cc.value);de.error(re(this.raw,"Reduce error: unexpected token on stack"))}},Se.prototype.build=function(){if(!this.errors.length){for(var de=[],We=new ea,_t=this.tokens.elems,nn=_t.length,vn=0;vn<nn;vn++){var cr=_t[vn];switch(cr.type){case 0:{var lo=cr.value.type;switch(lo){case 26:this.pushExpr(de,We),de=[];break;case 28:We.push(cr);break;case 27:{for(var Po=We.top;Po&&(Po.type!==0||Po.value.type!==28);)de.push(We.pop()),Po=We.top;break}case 29:{for(var oa=We.top;oa&&(oa.type!==0||oa.value.type!==28);)de.push(We.pop()),oa=We.top;if(!oa||oa.value.type!==28){this.errors.push("".concat(Ye," ").concat(cr.value.desc));return}We.pop(),oa=We.top,oa&&oa.type===5&&de.push(We.pop());break}default:{for(var fa=We.top;fa&&(fa.type!==0||fa.value.type!==28&&(fa.value.prec>cr.value.prec||fa.value.prec===cr.value.prec&&fa.value.assoc===0));)de.push(We.pop()),fa=We.top;We.push(cr);break}}break}case 5:de.push(ei),We.push(cr);break;default:de.push(cr);break}}this.pushExpr(de,We)}},Se.prototype.push=function(de){if(!this.errors.length){if(de.type===0){var We=de.value.type;switch(We){case 9:case 8:{var _t=this.tokens.top;(!_t||_t.type===0&&_t.value.type!==29)&&(de=We===9?St:et);break}case 28:{var nn=this.tokens.top;if(nn&&nn.type===7&&nn.value&&nn.value.length===1){var vn=nn.value[0];if(bs[vn])this.tokens.top={type:5,value:vn};else{this.errors.push("Invalid function ".concat(vn));return}}break}}}this.tokens.push(de),this.maxTokens>0&&this.tokens.length>this.maxTokens&&this.errors.push("Expression exceeds the maximum number of allowed tokens: ".concat(this.maxTokens))}},Se.prototype.pushExpr=function(de,We){for(;We.length;){var _t=We.pop();if(_t.type===0)switch(_t.value.type){case 28:case 29:this.errors.push("".concat(Ye," ").concat(_t.value.desc));return}de.push(_t)}de.length&&this.expr.push(de)},Se.prototype.tokenize=function(de,We,_t){var nn=this;Os.init(de);var vn=function(Va){return nn.push(Va)};e:for(;We<_t;){var cr=de[We],lo=Ze(de,We+1);switch(cr){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{var Po=cr==="0"&&(lo==="x"||lo==="X");if(We=Po?this.hex(de,We+2,_t):this.decimal(de,We,_t),We<0)break e;continue}case'"':case"'":if(We=this.string(de,We+1,_t,cr),We===-1)break e;continue;case"*":vn(lo==="*"?(We++,Mr):mn);break;case"/":vn(Un);break;case"%":vn(hr);break;case"+":vn(br);break;case"-":vn(io);break;case"=":{lo==="="?(We++,vn(Ze(de,We+1)==="="?(We++,Xa):Da)):vn(To);break}case"!":{lo==="="?(We++,vn(Ze(de,We+1)==="="?(We++,ba):Za)):vn(Ht);break}case"<":vn(lo==="<"?(We++,Kr):lo==="="?(We++,Ea):Ho);break;case">":vn(lo===">"?(We++,xo):lo==="="?(We++,Ia):bo);break;case"~":vn(er);break;case"&":vn(lo==="&"?(We++,Vr):ns);break;case"|":vn(lo==="|"?(We++,Qr):Is);break;case"^":vn(Ja);break;case" ":case`
`:case"	":case"\r":case"\xA0":break;case",":vn(uo);break;case";":vn(xr);break;case"(":vn(Mo);break;case")":vn(go);break;default:{Os.set(We,_t);var oa=Os.matchVariable();if(oa){if(We=Os.matchEnd,oa&&oa.length===1&&typeof oa[0]=="string"){var fa=hi[oa[0]];if(fa){this.push(fa);continue}}this.push({type:7,value:oa});continue}this.errors.push("Unexpected ".concat(yr(cr)," at ").concat(We,": ").concat(JSON.stringify(cr))),We=-1;break}}if(We===-1)break;We++}},Se.prototype.decimal=function(de,We,_t){var nn=fs(de,We,_t);switch(nn){case-2:this.errors.push("Expected a digit after exponent in decimal number");break;case-3:this.errors.push("Duplicate decimal point in number");break;case-4:this.errors.push("Unexpected decimal point in exponent");break}if(nn<0)return-1;var vn=de.substring(We,nn);return this.push(jo(parseFloat(vn))),nn},Se.prototype.hex=function(de,We,_t){var nn=Ss(de,We,_t);if(We===nn)return this.errors.push("Expected digits after start of hex number"),-1;var vn=de.substring(We,nn);return this.push(jo(parseInt(vn,16))),nn},Se.prototype.string=function(de,We,_t,nn){for(var vn="",cr;We<_t;){var lo=de[We];if(cr=We+1,lo==="\\"&&cr<_t){switch(lo=de[cr],lo){case"n":vn+=`
`;break;case"t":vn+="	";break;case"f":vn+="\f";break;case"r":vn+="\r";break;case"x":{We+=2;var Po=We+2;if(Po>=_t)return this.errors.push(Rt),-1;var oa=Ss(de,We,Po);if(oa!==Po)return this.errors.push(Rt),-1;var fa=parseInt(de.substring(We,oa),16);fa<=8||fa>=14&&fa<32?vn+=" ":vn+=Lr(fa),We=oa;continue}case"u":case"U":{We+=2;var Po=We+(lo=="u"?4:8),oa=Ss(de,We,Po<_t?Po:_t);if(oa!=Po)return this.errors.push(Qe),-1;var Va=de.substring(We,oa),fa=parseInt(Va,16);fa<=8||fa>=14&&fa<32||fa>1114111?vn+=" ":fa>65535?(fa-=65536,vn+=Lr((fa/1024|0)+55296),vn+=Lr(fa%1024+56320)):vn+=Lr(fa),We=oa;continue}default:vn+=lo;break}We+=2;continue}if(lo===nn)return We++,this.push({type:4,value:vn}),We;switch(lo){case`
`:case"\r":return this.errors.push("Illegal bare ".concat(yr(lo)," character in string literal")),-1}vn+=lo,We++}return this.errors.push("Unterminated string"),-1},Se}(),fs=function(Se,de,We){var _t=de,nn=0;e:for(;_t<We;){var vn=Se[_t];switch(vn){case".":if(nn&1)return-3;if(nn&2)return-4;nn|=1;break;case"e":case"E":if(nn&2)break e;nn|=6;break;case"-":case"+":if(!(nn&4)||!(nn&2)||nn&8)break e;nn|=8;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":nn&=-5;break;default:break e}_t++}return nn&4?-2:_t},Ss=function(Se,de,We){for(var _t=de;_t<We;){var nn=Se[_t];if(nn>="0"&&nn<="9"||nn>="a"&&nn<="f"||nn>="A"&&nn<="F"){_t++;continue}break}return _t},hs=new mt(" -> "),li=function(){function Se(de){de===void 0&&(de={});var We=this;this.formatters=de.formatters||{},this.predicates=de.predicates||{},this.impls=[function(_t,nn){return nn.append(_t[1])},this.executeVariable,this.executeSection,null,this.executeRepeated,this.executePredicate,this.executeBindvar,this.executePredicate,this.executeIf,this.executeInject,this.executeMacro,null,function(_t,nn){return nn.append("{")},function(_t,nn){return nn.append("}")},function(_t,nn){return nn.append(`
`)},function(_t,nn){return nn.append(" ")},function(_t,nn){return nn.append("	")},this.executeRoot,null,null,function(_t,nn){return We.executeBlock(_t[2],nn)},null,this.executeCtxvar,this.executeEval,this.executeInclude]}return Se.prototype.execute=function(de,We){var _t=typeof de=="number"?de:de[0],nn=this.impls[_t];nn&&nn.call(this,de,We)},Se.prototype.executeRoot=function(de,We){We.version=de[1],We.engine=this,this.executeBlock(de[2],We)},Se.prototype.executeBlock=function(de,We){if(Array.isArray(de))for(var _t=de.length,nn=0;nn<_t;nn++){var vn=de[nn],cr=typeof vn=="number"?vn:vn[0],lo=this.impls[cr];if(lo)try{lo.call(this,vn,We)}catch(Po){Po instanceof Error&&We.error(H(Po.name,a(cr),Po.message))}}},Se.prototype.executeVariable=function(de,We){var _t=this.resolveVariables(de[1],We);We.pushNode(_t[0].node),this.applyFormatters(this.formatters,de[2]||[],_t,We),We.emit(_t),We.pop()},Se.prototype.executeSection=function(de,We){var _t=de[1];We.pushSection(_t);var nn=We.node();ce(nn)?this.executeBlock(de[2],We):this.execute(de[3],We),We.pop()},Se.prototype.executeRepeated=function(de,We){var _t=de[1];We.pushSection(_t);var nn=de[4];if(We.initIteration()){for(var vn=We.frame(),cr=We.node().value.length,lo=cr-1;vn.currentIndex<cr;)We.pushNext(),this.executeBlock(de[2],We),nn&&nn.length&&vn.currentIndex<lo&&this.executeBlock(nn,We),We.pop(),vn.currentIndex++;We.pop()}else We.pop(),this.execute(de[3],We)},Se.prototype.executePredicate=function(de,We){var _t=de[1],nn=de[3];if(_t===0)this.executeBlock(nn,We);else{var vn=this.predicates[_t],cr=!1;if(vn instanceof Wt){var lo=de[2];cr=vn.apply(lo===0?[]:lo[0],We)}cr?this.executeBlock(nn,We):de[4]&&this.execute(de[4],We)}},Se.prototype.executeBindvar=function(de,We){var _t=de[1],nn=this.resolveVariables(de[2],We);this.applyFormatters(this.formatters,de[3]||[],nn,We),We.setVar(_t,nn[0])},Se.prototype.executeCtxvar=function(de,We){for(var _t=de[1],nn=de[2].length,vn={},cr=0;cr<nn;cr++){var lo=de[2][cr],Po=lo[0],oa=lo[1],fa=We.resolve(oa).value;vn[Po]=fa}var Va=We.newVariable(_t,We.newNode(vn));We.setVar(_t,Va)},Se.prototype.executeEval=function(de,We){if(We.enableExpr){var _t=de[1],nn=de.expr;if(!nn){var vn=!1;_t.startsWith("#")&&(_t=_t.slice(1),vn=!0),nn=new _s(_t,We.exprOpts),nn.build(),nn.errors.length&&nn.errors.map(function(Va){return We.error(me(_t,Va))}),de.expr=nn,de.debug=vn}if(de.debug){var cr="EVAL=[".concat(nn.expr.map(function(Va){return"["+Va.map(Vs).join(" ")+"]"}).join(", "),"]");We.emitNode(new mt(cr))}if(!nn.errors.length){var lo=We.errors.length;We.pushNode(We.node());var Po=nn.reduce(We),oa=We.frame().getVars();if(We.pop(),We.errors.length===lo){if(oa){var fa=We.frame();oa.forEach(function(Va,ci){fa.setVar(ci,Va)})}Po&&(de.debug&&We.emitNode(hs),We.emitNode(Po))}}}},Se.prototype.executeIf=function(de,We){for(var _t=de[1],nn=this.resolveVariables(de[2],We),vn=nn.length,cr=ce(nn[0].node),lo=1;lo<vn;lo++){var Po=ce(nn[lo].node),oa=_t[lo-1];if(cr=oa===1?cr&&Po:cr||Po,oa===0){if(cr)break}else if(!cr)break}cr?this.executeBlock(de[3],We):de[4]&&this.execute(de[4],We)},Se.prototype.executeInclude=function(de,We){if(We.enableInclude){var _t=de[1],nn=de[2],vn=We.getPartial(_t);if(!Array.isArray(vn)){We.error(he(_t));return}var cr=!1;if(Array.isArray(nn))for(var lo=0,Po=nn[0];lo<Po.length;lo++){var oa=Po[lo];switch(oa){case"output":cr=!0;break}}var fa;if(cr||(fa=We.swapBuffer()),We.enterPartial(_t)){switch(vn[0]){case o.ROOT:this.execute(vn,We);break;case o.MACRO:this.executeBlock(vn[2],We);break}We.exitPartial(_t)}!cr&&fa!==void 0&&We.restoreBuffer(fa)}},Se.prototype.executeInject=function(de,We){var _t=de[1],nn=de[2],vn=We.getInjectable(nn);We.setVar(_t,We.newVariable(_t,vn))},Se.prototype.executeMacro=function(de,We){var _t=de[1];We.setMacro(_t,de)},Se.prototype.resolveVariables=function(de,We){for(var _t=new Array(de.length),nn=de.length,vn=0;vn<nn;vn++){var cr=de[vn];_t[vn]=We.newVariable("",We.resolve(cr))}return _t},Se.prototype.applyFormatters=function(de,We,_t,nn){for(var vn=We.length,cr=0;cr<vn;cr++){var lo=We[cr],Po=lo[0],oa=de[Po];if(!(!oa||!(oa instanceof Dn))){var fa=lo.length===1?[]:lo[1][0];oa.apply(fa,_t,nn)}}},Se}(),Ni=function(){function Se(de,We,_t,nn,vn){if(nn===void 0&&(nn={}),vn===void 0&&(vn={}),this.str=de,this.sink=We,this.matcher=_t,this.formatters=nn,this.predicates=vn,!(We instanceof z))throw new Error('Argument "sink" must be a Sink instance.');this.str=de,this.sink=We,this.idx=0,this.len=de.length,this.matcher.init(de)}return Se.prototype.parse=function(){this.idx=0;for(var de=this.stateMain;de!==null;)de=de.call(this);this.push(o.EOF)},Se.prototype.push=function(de){this.sink.accept(de)},Se.prototype.parseTag=function(de,We){if(this.str[de]==="#")return de++,this.push(new P(this.str.substring(de,We),0)),!0;var _t=this.matcher;return this.str[de]!=="."?(_t.set(de,We),this.parseVariable()):this.parseInstruction(de,We)},Se.prototype.parseInstruction=function(de,We){var _t=this.matcher;if(de++,_t.set(de,We),this.parsePredicate(o.PREDICATE))return!0;var nn=_t.matchInstruction();if(nn===o.NOOP)return!1;switch(_t.consume(),nn){case o.ALTERNATES_WITH:case o.END:case o.EOF:case o.META_LEFT:case o.META_RIGHT:case o.NEWLINE:case o.SPACE:case o.TAB:return _t.complete()?(this.push(nn),!0):!1;case o.BINDVAR:return this.parseBindvar();case o.CTXVAR:return this.parseCtxvar();case o.EVAL:return this.parseEval();case o.IF:return this.parseIf();case o.INCLUDE:return this.parseInclude();case o.INJECT:return this.parseInject();case o.MACRO:return this.parseMacro();case o.OR_PREDICATE:return this.parsePredicate(o.OR_PREDICATE);case o.REPEATED:case o.SECTION:return this.parseSection(nn);default:throw new Error("Severe error, unknown instruction, most likely a parser bug.")}},Se.prototype.parseBindvar=function(){var de=this.matcher;if(!de.matchSpace())return!1;de.consume();var We=de.matchDefinition();if(We===null||(de.consume(),!de.matchSpace()))return!1;de.consume();var _t=de.matchVariables();if(_t===null)return!1;de.consume();var nn=de.matchFormatters();return nn!==null&&de.consume(),!de.complete()||!this.checkFormatters(nn)?!1:(this.push(new O(We,_t,nn===null?void 0:nn)),!0)},Se.prototype.parseCtxvar=function(){var de=this.matcher;if(!de.matchSpace())return!1;de.consume();var We=de.matchDefinition();if(We===null||(de.consume(),!de.matchSpace()))return!1;de.consume();var _t=de.matchBindings();return _t===null||(de.consume(),!de.complete())?!1:(this.push(new C(We,_t)),!0)},Se.prototype.parseEval=function(){var de=this.matcher;if(!de.matchWhitespace())return!1;de.consume();var We=de.seekTo("}");return We!==null?(this.push(new A(We)),de.consume(),!0):!1},Se.prototype.parseIf=function(){var de=this.matcher;if(!de.matchWhitespace())return!1;if(de.consume(),this.parsePredicate(o.PREDICATE))return!0;var We=de.matchIfExpression();if(We===null||(de.consume(),!de.complete()))return!1;var _t=We[0],nn=We[1];return this.push(new S(_t,nn)),!0},Se.prototype.parseInclude=function(){var de=this.matcher;if(!de.matchSpace())return!1;var We=de.matchArguments();if(de.consume(),We===null||We[0].length<1)return!1;var _t=We[0][0];return We[0]=We[0].slice(1),this.push(new T(_t,We)),!0},Se.prototype.parseInject=function(){var de=this.matcher;if(!de.matchSpace())return!1;de.consume();var We=de.matchDefinition();if(We===null||(de.consume(),!de.matchSpace()))return!1;de.consume();var _t=de.matchFilePath();if(_t===null)return!1;de.consume();var nn=de.matchArguments();return de.consume(),this.push(new s(We,_t,nn===null?u:nn)),!0},Se.prototype.parseMacro=function(){var de=this.matcher;if(!de.matchSpace())return!1;de.consume();var We=de.matchFilePath();return We===null||(de.consume(),!de.complete())?!1:(this.push(new v(We)),!0)},Se.prototype.parsePredicate=function(de){var We=this.matcher,_t=!1;de===o.OR_PREDICATE&&(_t=We.matchSpace(),_t&&We.consume());var nn=null,vn=null;if(de===o.PREDICATE||_t){if(nn=We.matchPredicate(),nn===null)return!1;this.predicates[nn]||this.sink.error(j(nn)),We.consume(),vn=We.matchArguments(),vn!==null&&We.consume()}return We.complete()?(de===o.PREDICATE?this.push(new E(nn,vn===null?0:vn)):this.push(new m(nn===null?0:nn,vn===null?0:vn)),!0):!1},Se.prototype.parseSection=function(de){var We=this.matcher;if(!We.matchWhitespace())return!1;We.consume();var _t=We.matchVariable();return _t===null||(We.consume(),!We.complete())?!1:(de===o.REPEATED?this.push(new I(_t)):this.push(new W(_t)),!0)},Se.prototype.parseVariable=function(){var de=this.matcher,We=de.matchVariables();if(We===null)return!1;de.consume();var _t=de.matchFormatters();return _t!==null&&de.consume(),!de.complete()||!this.checkFormatters(_t)?!1:(this.push(new k(We,_t===null?0:_t)),!0)},Se.prototype.flushText=function(de,We){if(de<We){var _t=this.str.substring(de,We);this.push(new G(_t))}this.idx=We},Se.prototype.stateMain=function(){for(var de=this.len;;){var We=this.idx,_t=this.str.indexOf("{",We);if(_t===-1)return this.flushText(We,de),null;if(this.str[_t+1]==="#"&&this.str[_t+2]==="#")return this.flushText(We,_t),this.stateMultiLineComment;for(var nn=!1,vn=_t+1;vn<de;vn++){var cr=this.str[vn];if(cr==="{")_t=vn;else if(cr==="}"){this.flushText(We,_t),this.parseTag(_t+1,vn)||this.flushText(_t,vn+1),this.idx=vn+1,nn=!0;break}}if(!nn)return this.flushText(We,de),null}},Se.prototype.stateMultiLineComment=function(){this.idx+=3;var de=this.idx,We=this.str.indexOf("##}",de),_t=We===-1?this.str.substring(de):this.str.substring(de,We);return this.push(new P(_t,!0)),We===-1?null:(this.idx=We+3,this.stateMain)},Se.prototype.checkFormatters=function(de){if(de)for(var We=0,_t=de;We<_t.length;We++){var nn=_t[We];if(!this.formatters[nn[0]])return this.sink.error(U(nn[0])),!1}return!0},Se}(),Ji=function(){return Ji=Object.assign||function(Se){for(var de,We=1,_t=arguments.length;We<_t;We++){de=arguments[We];for(var nn in de)Object.prototype.hasOwnProperty.call(de,nn)&&(Se[nn]=de[nn])}return Se},Ji.apply(this,arguments)},wi=function(Se,de){var We=[],_t={},nn={},vn=new Set,cr=Object.keys(de).reduce(function(Va,ci){var di=de[ci],Xs=di[0],_i=di[1],js={kind:Se,code:Xs,name:_i};if(Va[ci]=js,We.push(js),_t[_i]=js,nn[Xs]=js,vn.has(Xs))throw new Error("Found non-unique enum code ".concat(Xs," already mapped to ").concat(nn[Xs]));return vn.add(Xs),Va},{});We.sort(function(Va,ci){return Va.code<ci.code?-1:1});var lo=function(){return We},Po=function(Va){return Va&&Va.kind===Se},oa=function(Va){return _t[Va]},fa=function(Va){return nn[Va]};return Ji(Ji({},cr),{values:lo,is:Po,fromCode:fa,fromName:oa})},vi=wi("BackgroundSource",{UNDEFINED:[-1,"undefined"],UPLOAD:[1,"upload"],INSTAGRAM:[2,"instagram"],VIDEO:[3,"video"],NONE:[4,"none"]}),sl=wi("BlockType",{UNDEFINED:[-1,"undefined"],NAVIGATION:[1,"navigation"],HTML:[2,"html"],LOGO:[3,"logo"],MAP:[4,"map"],IMAGE:[5,"image"],TWITTER:[6,"twitter"],JOURNAL:[7,"journal"],GALLERY:[8,"gallery"],FORM:[9,"form"],GEO:[10,"geo"],INDEX:[11,"index"],COLLECTION_LINK:[12,"collectionlink"],LINK:[13,"link"],TAGCLOUD:[14,"tagcloud"],COMMENTS:[16,"comments"],FOLDER:[17,"folder"],MENU:[18,"menu"],SOCIAL_LINKS:[19,"sociallinks"],SUMMARY:[20,"summary"],SPACER:[21,"spacer"],EMBED:[22,"embed"],CODE:[23,"code"],FOURSQUARE:[24,"foursquare"],INSTAGRAM:[25,"instagram"],CALENDAR:[26,"calendar"],POSTS_BY_AUTHOR:[27,"postsbyauthor"],POSTS_BY_TAG:[28,"postsbytag"],POSTS_BY_CATEGORY:[29,"postsbycategory"],POSTS_BY_MONTH:[30,"postsbymonth"],QUOTE:[31,"quote"],VIDEO:[32,"video"],SEARCH:[33,"search"],AUDIO:[41,"audio"],FIVEHUNDREDPIX:[42,"fivehundredpix"],PRODUCT:[43,"product"],MARKDOWN:[44,"markdown"],FLICKR:[45,"flickr"],AMAZON:[46,"amazon"],HORIZONTAL_RULE:[47,"horizontalrule"],SOCIAL_ACCOUNT_LINKS:[48,"socialaccountlinks"],RSS:[49,"rss"],OPENTABLE:[50,"opentable"],NEWSLETTER:[51,"newsletter"],DONATION:[52,"donation"],BUTTON:[53,"button"],SOCIAL_ACCOUNT_LINKS_V2:[54,"socialaccountlinks-v2"],SUMMARY_V2:[55,"summary-v2"],SOUNDCLOUD:[56,"soundcloud"],EMAIL_FOOTER:[57,"emailfooter"],IN_BROWSER_MESSAGE_LINK:[58,"in-browser-message-link"],TOURDATES:[59,"tourdates"],ALBUM:[60,"album"],ARCHIVE:[61,"archive"],CHART:[62,"chart"],ZOLA:[63,"zola"],ACUITY:[65,"acuity"],OPENTABLE_V2:[66,"opentable-v2"],MEMBER_AREA:[67,"member-area"],TOCK:[68,"tock"],ACCORDION:[69,"accordion"]}),Zi=wi("CollectionType",{UNDEFINED:[-1,"undefined"],COLLECTION_TYPE_GENERIC:[1,"generic"],COLLECTION_TYPE_SUBSCRIPTION:[2,"subscription"],TWITTER:[3,"twitter"],FOURSQUARE:[4,"foursquare"],INSTAGRAM:[5,"instagram"],GALLERY_BLOCK:[6,"gallery-block"],TEMPLATE_PAGE:[7,"template-page"],SPLASH_PAGE:[8,"splash-page"],COLLECTION_TYPE_PAGE:[10,"page"],FIVEHUNDREDPIX:[11,"fivehundredpix"],FLICKR:[12,"flickr"],PRODUCTS:[13,"products"],SLIDE_GALLERY:[15,"slide-gallery"],SLIDE_ALBUM:[16,"slide-album"],SLIDE_VIDEO:[17,"slide-video"],ALBUM_BLOCK:[18,"album-block"]}),Zs=wi("FolderBehavior",{UNDEFINED:[-1,"undefined"],INDEX:[1,"index"],REDIRECT:[2,"redirect"],NONE:[3,"none"]}),Bs=wi("ProductType",{UNDEFINED:[-1,"undefined"],PHYSICAL:[1,"physical"],DIGITAL:[2,"digital"],SERVICE:[3,"service"],GIFT_CARD:[4,"gift-card"]}),ti=wi("RecordType",{UNDEFINED:[-1,"undefined"],TEXT:[1,"text"],IMAGE:[2,"image"],QUOTE:[4,"quote"],LINK:[5,"link"],AUDIO:[7,"audio"],VIDEO:[8,"video"],STORE_ITEM:[11,"store-item"],EVENT:[12,"event"],GALLERY:[14,"gallery"],BINARY:[15,"binary"],CSSASSET:[16,"css-asset"],TWEAKASSET:[17,"tweak-asset"],DIGITALGOOD:[18,"digital-good"],ATTACHMENT:[19,"attachment"],EXPORT_WORDPRESS:[20,"wordpress-export"],EXPORT_INTERNAL:[21,"json-export"],SITE_SEARCH:[30,"site-search"],ACTIVE_TIME:[31,"active-time"],TWEET:[50,"tweet"],CHECKIN:[52,"checkin"],KBARTICLE:[54,"kbarticle"]}),gi=wi("SliceType",{UNDEFINED:[-1,"undefined"],HEADING:[1,"heading"],BODY:[3,"body"],IMAGE:[4,"image"],GALLERY:[5,"gallery"],VIDEO:[6,"video"],SOCIAL_ICONS:[7,"social-icons"],BUTTONS:[8,"buttons"],NAVIGATION:[9,"navigation"],CUSTOM_FORM:[10,"custom-form"],NEWSLETTERL:[11,"newsletter"],ALBUM:[12,"album"],MAP:[13,"map"],LOGO:[14,"logo"],ACTION:[15,"action"],FORM:[16,"form"],LOCK:[17,"lock"],PASSWORD:[18,"password"],TWITTER:[19,"twitter"]}),yi=function(Se,de,We,_t,nn){var vn=Se.swapBuffer();switch(Se.pushNode(We),Se.stopResolution(_t),nn&&Se.setVar("@args",nn),de[0]){case o.ROOT:Se.engine.execute(de,Se);break;case o.MACRO:Se.engine.executeBlock(de[2],Se);break}var cr=Se.render();return Se.pop(),Se.restoreBuffer(vn),cr},ki=["structuredContent","productType"],bi=["structuredContent","variants"],nl=Je("0"),Si=new mt({value:"0",currency:"USD"}),ta=function(Se){var de=Se.path(ki);return Bs.fromCode(de.asNumber())},ke=function(Se){return Se.path(bi)},Jt=function(Se){var de=ta(Se),We=ke(Se),_t=We.type===Be.ARRAY&&We.value.length>1;return de===Bs.DIGITAL?!1:_t},Fn=function(Se){if(!Se)return nl;var de=Se.path(["value"]).asString();return de&&Je(de)||nl},mr=function(Se){var de=Se.path(["currency"]),We=de.isMissing()?Si.path(["currency"]).asString():de.asString().trim();return We},Tr=function(Se){var de=Fn(Se);return de?de.movePoint(2):nl},Oo=function(Se,de,We){var _t,nn;if(At(We)){var vn=Fn(Se),cr=mr(Se);return(nn=(_t=We.cldr)===null||_t===void 0?void 0:_t.Numbers.formatCurrency(vn,cr,$n(de)))!==null&&nn!==void 0?nn:""}else{var lo=Tr(Se),Po=new Intl.NumberFormat("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}),oa=Po.format(parseFloat(lo.toString())/100);return'<span class="sqs-money-native">'.concat(oa,"</span>")}},Uo=function(Se){if(Se==null||Se.size()==0)return Si;var de=Se.get(0);return ce(de.path(["onSale"]))?de.path(["salePriceMoney"]):de.path(["priceMoney"])},gt=function(Se){var de=ta(Se),We=Se.path(["structuredContent"]);switch(de){case Bs.PHYSICAL:case Bs.SERVICE:var _t=We.path(["variants"]);if(_t.type!==Be.ARRAY||_t.size()===0)return null;for(var nn=_t.get(0),vn=ce(nn.path(["onSale"]))?nn.path(["salePriceMoney"]):nn.path(["priceMoney"]),cr=nn.path(["pricingOptions"]),lo=Fn(vn),Po=1;Po<_t.size();Po++){var oa=_t.get(Po),fa=ce(oa.path(["onSale"]))?oa.path(["salePriceMoney"]):oa.path(["priceMoney"]),Va=Fn(fa);Va.compare(lo)<0&&(cr=oa.path(["pricingOptions"]),lo=Va)}return cr;default:return null}},it=function(Se){var de=ta(Se),We=Se.get("structuredContent");switch(de){case Bs.GIFT_CARD:case Bs.PHYSICAL:case Bs.SERVICE:{var _t=We.get("variants"),nn=_t.size();if(_t.type!==Be.ARRAY||nn===0)return Si;for(var vn=_t.get(0),cr=ce(vn.path(["onSale"]))?vn.path(["salePriceMoney"]):vn.path(["priceMoney"]),lo=Fn(cr),Po=1;Po<_t.size();Po++){var oa=_t.get(Po),fa=ce(oa.path(["onSale"]))?oa.path(["salePriceMoney"]):oa.path(["priceMoney"]),Va=Fn(fa);Va&&Va.compare(lo)<0&&(lo=Va,cr=fa)}return cr}case Bs.DIGITAL:{var ci=We.path(["priceMoney"]);return ci.isMissing()?Si:ci}default:return Si}},Lt=function(Se){var de=ta(Se),We=Se.get("structuredContent");switch(de){case Bs.PHYSICAL:case Bs.SERVICE:case Bs.GIFT_CARD:{var _t=We.get("variants"),nn=_t.size();if(_t.type!==Be.ARRAY||nn===0)return Si;for(var vn=_t.get(0).path(["priceMoney"]),cr=Fn(vn),lo=1;lo<_t.size();lo++){var Po=_t.get(lo).path(["priceMoney"]),oa=Fn(Po);oa.compare(cr)>0&&(cr=oa,vn=Po)}return vn}case Bs.DIGITAL:{var fa=We.path(["priceMoney"]);return fa.isMissing()?Si:fa}default:return Si}},$t=function(Se){var de=ta(Se),We=Se.get("structuredContent");switch(de){case Bs.PHYSICAL:case Bs.SERVICE:{var _t=We.get("variants"),nn=_t.size();if(_t.type!==Be.ARRAY||nn===0)return Si;for(var vn=void 0,cr=void 0,lo=0;lo<nn;lo++){var Po=_t.get(lo),oa=Po.path(["salePriceMoney"]),fa=Fn(oa);ce(Po.path(["onSale"]))&&(vn?fa&&cr&&fa.compare(cr)<0&&(vn=oa,cr=fa):(vn=oa,cr=fa))}return vn??Si}case Bs.DIGITAL:{var Va=We.path(["salePriceMoney"]);return Va.isMissing()?Si:Va}case Bs.GIFT_CARD:default:return Si}},_n=function(Se){var de=ta(Se);if(de===Bs.DIGITAL||de===Bs.GIFT_CARD)return Number.MAX_SAFE_INTEGER;var We=0,_t=ke(Se),nn=_t.size();if(_t.type===Be.ARRAY&&nn>0)for(var vn=0;vn<nn;vn++){var cr=_t.get(vn);if(ce(cr.get("unlimited")))return Number.MAX_SAFE_INTEGER;We+=cr.get("qtyInStock").asNumber()}return We},dn=function(Se){var de=ta(Se);switch(de){case Bs.GIFT_CARD:case Bs.PHYSICAL:case Bs.SERVICE:{var We=ke(Se),_t=We.size();if(We.type===Be.ARRAY&&_t>0)for(var nn=We.get(0),vn=nn.get("onSale"),cr=nn.get("salePrice"),lo=nn.get("price"),Po=1;Po<_t;Po++){var oa=We.get(Po),fa=!oa.get("onSale").equals(vn),Va=ce(vn)&&!oa.get("salePrice").equals(cr),ci=!oa.get("price").equals(lo);if(fa||Va||ci)return!0}return!1}case Bs.DIGITAL:default:return!1}},Jn=function(Se){var de=ta(Se),We=Se.get("structuredContent");switch(de){case Bs.PHYSICAL:case Bs.SERVICE:{var _t=We.get("variants"),nn=_t.size();if(_t.type===Be.ARRAY&&nn>0)for(var vn=0;vn<nn;vn++){var cr=_t.get(vn);if(ce(cr.get("onSale")))return!0}break}case Bs.DIGITAL:return ce(We.get("onSale"));case Bs.GIFT_CARD:default:break}return!1},Hn=function(Se){var de=ta(Se);switch(de){case Bs.PHYSICAL:case Bs.SERVICE:{var We=ke(Se);if(We.type===Be.ARRAY)for(var _t=0;_t<We.size();_t++){var nn=We.get(_t);if(ce(nn.get("unlimited"))||nn.get("qtyInStock").asNumber()>0)return!1}return!0}case Bs.DIGITAL:case Bs.GIFT_CARD:return!1;default:return!0}},jr=function(Se){return Se.path(["structuredContent","isSubscribable"]).asBoolean()},wo=function(Se){for(var de=Se.get("variantOptionOrdering"),We=[],_t=de.size(),nn=0;nn<_t;nn++){var vn=de.get(nn).asString();We.push({name:vn,values:[]})}return We},ko=function(Se){var de=Se.get("structuredContent"),We=de.get("variants"),_t=We.size();if(_t<=1)return[];for(var nn=wo(de),vn=0;vn<_t;vn++){var cr=We.get(vn),lo=cr.get("attributes");if(lo.type===Be.OBJECT)for(var Po=Object.keys(lo.value),oa=0;oa<Po.length;oa++){for(var fa=Po[oa],Va=lo.get(fa).asString(),ci=null,di=0;di<nn.length;di++){var Xs=nn[di];if(Xs.name===fa){ci=Xs;break}}if(ci!==null){for(var _i=!1,js=ci.values,di=0;di<js.length;di++){var al=js[di];if(al===Va){_i=!0;break}}_i||js.push(Va)}}}return nn},Sa="multipleQuantityAllowedForServices",Na=function(Se){var de=Se.get("storeSettings");if(de.type===Be.OBJECT){var We=de.get(Sa);if(We.type!==Be.NULL&&We.type!==Be.MISSING)return We.asBoolean()}return!0},qa=function(Se){for(var de=Se.get("optionValues"),We=de.size(),_t="",nn=0;nn<We;nn++){nn>0&&(_t+=" / ");var vn=de.get(nn).get("value").asString();_t+=vn}return _t},ms=function(Se){return Se.charAt(0).toUpperCase()+Se.slice(1).toLowerCase()},Us=function(Se){for(var de="",We=!1,_t=Se.length,nn=0;nn<_t;nn++){var vn=Se[nn];switch(vn){case"<":We=!0;break;case">":We=!1,de+=" ";break;default:We||(de+=vn)}}return de},$i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"},Mi=function(Se){return Ie(Se,$i)},si=/[^a-zA-Z0-9\s-]+/g,rl=/\s+/g,El=function(Se){return Se=Se.replace(si,""),Se=Se.replace(rl,"-"),Se.toLowerCase()},Ui=/<\//g,il=function(Se){return Se.replace(Ui,"<\\/")},fl="...",oi=function(Se,de,We){if(We===void 0&&(We=fl),Se.length<=de)return Se;for(var _t=de,nn=de-1;nn>=0;nn--){var vn=Se[nn];if(vn===" "||vn===`
`||vn==="	"||vn==="\v"||vn==="\r"||vn==="\f"){_t=nn+1;break}}return Se.substring(0,_t)+We},Nl=function(Se,de){return Se===null||!Se?de:Se},xl=JSON.parse('[17,1,[[6,"@content",[["structuredContent"]],0],[0,"\\n"],[6,"@fieldsFormId",[["@content","additionalFieldsFormId"]],0],[0,"\\n"],[6,"@fieldsForm",[["@content","additionalFieldsForm"]],0],[0,"\\n"],[6,"@useCustom",[["@content","useCustomAddButtonText"]],0],[0,"\\n"],[6,"@customButton",[["@content","customAddButtonText"]],0],[0,"\\n"],[6,"@productType",[["@content","productType"]],0],[0,"\\n"],[6,"@addToCartText",[["localizedStrings","productAddToCartText"]],0],[0,"\\n"],[6,"@subscribeText",[["localizedStrings","productSubscribeText"]],0],[0,"\\n"],[6,"@isSubscribable",[["@content","isSubscribable"]],0],[0,"\\n"],[6,"@productSubscriptionOptions",[["structuredContent","productSubscriptionOptions"]],0],[0,"\\n"],[6,"@subsOTPOptionsCount",[["structuredContent","productSubscriptionOptions"]],[["count"]]],[0,"\\n"],[23,"@hasProductSubsOptionAndIsSubscribable = @subsOTPOptionsCount && @isSubscribable"],[0,"\\n\\n<div class=\\"sqs-add-to-cart-button-wrapper\\" data-animation-role=\\"button\\">\\n  <div class=\\"sqs-add-to-cart-button sqs-suppress-edit-mode sqs-editable-button sqs-button-element--primary "],[8,[1],[["@fieldsFormId"],["@fieldsForm"]],[[0,"use-form"]],3],[0,"\\" role=\\"button\\" tabindex=\\"0\\" data-dynamic-strings data-collection-id=\\""],[1,[["collectionId"]],0],[0,"\\" data-item-id=\\""],[1,[["id"]],0],[0,"\\" data-product-type=\\""],[1,[["@productType"]],0],[0,"\\" data-use-custom-label=\\""],[1,[["@useCustom"]],0],[0,"\\" "],[8,[],[["@isSubscribable"]],[[0,"data-is-subscription=\\""],[1,[["@isSubscribable"]],0],[0,"\\" "]],3],[0,"data-original-label=\\""],[8,[1],[["@useCustom"],["@customButton"]],[[1,[["@customButton"]],[["htmlattr"]]]],[7,0,0,[[8,[],[["@isSubscribable"]],[[8,[],[["@subscribeText"]],[[1,[["@subscribeText"]],[["htmlattr"]]]],[7,0,0,[[0,"Subscribe"]],3]]],[7,0,0,[[8,[],[["@addToCartText"]],[[1,[["@addToCartText"]],[["htmlattr"]]]],[7,0,0,[[0,"Add To Cart"]],3]]],3]]],3]],[0,"\\" "],[8,[1],[["@fieldsFormId"],["@fieldsForm"]],[[0,"data-form=\\""],[1,[["@fieldsForm"]],[["json"],["htmlattr"]]],[0,"\\""]],3],[8,[],[["@hasProductSubsOptionAndIsSubscribable"]],[[0,"data-subscription-option-id=\\""],[1,[["@productSubscriptionOptions",0,"id"]],0],[0,"\\""]],3],[0,">\\n    <div class=\\"sqs-add-to-cart-button-inner\\">"],[8,[1],[["@useCustom"],["@customButton"]],[[1,[["@customButton"]],[["htmltag"]]]],[7,0,0,[[8,[],[["@isSubscribable"]],[[8,[],[["@subscribeText"]],[[1,[["@subscribeText"]],[["htmltag"]]]],[7,0,0,[[0,"Subscribe"]],3]]],[7,0,0,[[8,[],[["@addToCartText"]],[[1,[["@addToCartText"]],[["htmltag"]]]],[7,0,0,[[0,"Add To Cart"]],3]]],3]]],3]],[0,"</div>\\n  </div>\\n</div>"]],18]'),Ic=JSON.parse('[17,1,[[1,[["@"]],[["variants-select"]]],[1,[["@"]],[["quantity-input"]]],[1,[["@"]],[["add-to-cart-btn"]]]],18]'),Kl=JSON.parse('[17,1,[[6,"@originalPriceText",[["localizedStrings","originalPriceText"]],0],[0,"\\n"],[6,"@salePriceText",[["localizedStrings","salePriceText"]],0],[0,"\\n\\n<div class=\\"product-price\\">\\n"],[8,[],[["formattedFromPrice"]],[[1,[["fromText"]],[["message",[["fromPrice:formattedFromPrice","price:formattedFromPrice","billingPeriodValue:billingPeriodValue","duration:duration"]," "]]]],[0,"\\n"]],[7,0,0,[[8,[],[["formattedSalePrice"]],[[0,"<span class=\\"visually-hidden v6-visually-hidden\\">"],[8,[],[["@salePriceText"]],[[1,[["@salePriceText"]],[["htmltag"]]]],[7,0,0,[[0,"Sale Price:"]],3]],[0,"</span>"],[1,[["formattedSalePriceText"]],[["message",[["price:formattedSalePrice","billingPeriodValue:billingPeriodValue","duration:duration"]," "]]]],15,[0,"<span class=\\"visually-hidden v6-visually-hidden\\">"],[8,[],[["@originalPriceText"]],[[1,[["@originalPriceText"]],[["htmltag"]]]],[7,0,0,[[0,"Original Price:"]],3]],[0,"</span><span class=\\"original-price\\">"],[1,[["formattedNormalPriceText"]],[["message",[["price:formattedNormalPrice","billingPeriodValue:billingPeriodValue","duration:duration"]," "]]]],[0,"</span>\\n"]],[7,0,0,[[8,[],[["formattedNormalPrice"]],[[1,[["formattedNormalPriceText"]],[["message",[["price:formattedNormalPrice","billingPeriodValue:billingPeriodValue","duration:duration"]," "]]]]],3]],3]]],3]],[0,"\\n</div>"]],18]'),Jl=JSON.parse('[17,1,[[6,"@productId",[["product","id"]],0],[0,"\\n"],[6,"@buttonText",[["messages","buttonText"]],0],[0,"\\n"],[6,"@CTAText",[["messages","CTAText"]],0],[0,"\\n"],[6,"@placeholderText",[["messages","placeholderText"]],0],[0,"\\n"],[6,"@mailingListDescription",[["messages","mailingListDescription"]],0],[0,"\\n\\n"],[4,["views"],[[0,"\\n<div class=\\"product-restock-notification\\" data-product-id=\\""],[1,[["@productId"]],0],[0,"\\" data-variant-id=\\""],[1,[["variantId"]],0],[0,"\\""],[8,[],[["hiddenByDefault"]],[[0," hidden"]],3],[0,">\\n  <span class=\\"product-restock-cta\\">"],[1,[["@CTAText"]],[["htmltag"]]],[0,"</span>\\n  <form class=\\"product-restock-form\\" action=\\"#\\">\\n    <input type=\\"text\\" x-autocompletetype=\\"email\\" spellcheck=\\"false\\" name=\\"email\\" placeholder=\\""],[1,[["@placeholderText"]],[["htmlattr"]]],[0,"\\">\\n    <input class=\\"sqs-editable-button\\" type=\\"submit\\" value=\\""],[1,[["@buttonText"]],[["htmlattr"]]],[0,"\\">\\n  </form>\\n"],[8,[],[["mailingListSignUpEnabled"]],[[0,"  <label class=\\"product-restock-mailing-list\\"><input type=\\"checkbox\\" name=\\"isJoinMailingList\\""],[8,[],[["mailingListOptInByDefault"]],[[0," checked"]],3],[0,">"],[1,[["@mailingListDescription"]],[["htmltag"]]],[0,"</label>"]],3],[0,"\\n"],[8,[],[["captchaSiteKey"]],[[0,"  <div class=\\"captcha-container\\"></div>"]],3],[0,"\\n</div>\\n"]],3,[]]],18]'),Vi=JSON.parse('[17,1,[[4,["scarcityTemplateViews"],[[0,"\\n  <div class=\\"product-scarcity\\""],[8,[],[["attributes"]],[[0," data-variant-attributes=\\""],[1,[["attributes"]],[["json"],["htmltag"]]],[0,"\\" hidden"]],3],[0,">\\n    "],[1,[["scarcityText"]],[["message",[["qtyInStock:qtyInStock"]," "]],["htmltag"]]],[0,"\\n  </div>\\n"]],3,[]]],18]'),_c=JSON.parse(`[17,1,[[6,"@quantityLabel",[["localizedStrings","productQuantityInputLabel"]],0],[0,"\\n"],[11,"\\n  We use aria-label for the input below since we didn't want to change the div above and potentially break user sites.\\n  And it was hard to guarantee unique ids for using aria-labelledby\\n",1],[0,"\\n\\n<div class=\\"product-quantity-input\\" data-item-id=\\""],[1,[["id"]],0],[0,"\\" data-animation-role=\\"content\\">\\n  <div class=\\"quantity-label\\">"],[8,[],[["@quantityLabel"]],[[1,[["@quantityLabel"]],0]],[7,0,0,[[0,"Quantity"]],3]],[0,":</div>\\n  <input aria-label=\\""],[8,[],[["@quantityLabel"]],[[1,[["@quantityLabel"]],0]],[7,0,0,[[0,"Quantity"]],3]],[0,"\\" size=\\"4\\" max=\\"9999\\" min=\\"1\\" value=\\"1\\" type=\\"number\\" step=\\"1\\"></input>\\n</div>"]],18]`),mc=JSON.parse(`[17,1,[[6,"@originalPriceText",[["localizedStrings","originalPriceText"]],0],[0,"\\n"],[6,"@salePriceText",[["localizedStrings","salePriceText"]],0],[0,"\\n"],[11,"\\n  CommerceFormatter will provide from-price, sale-price and normal-price.\\n  The below will render from-price first if it exists (> 1 variants),\\n  sale-price next if from price doesn't exists,\\n  normal-price if both from-price and sale-price doesn't exists.\\n",1],[0,"\\n<div class=\\"subscription-price\\">\\n"],[8,[],[["formattedFromPrice"]],[[1,[["fromText"]],[["message",[["fromPrice:formattedFromPrice"]," "]]]],[0,"\\n"]],[7,0,0,[[8,[],[["formattedSubscriptionSalePrice"]],[[0,"<span class=\\"visually-hidden v6-visually-hidden\\">"],[8,[],[["@salePriceText"]],[[1,[["@salePriceText"]],[["htmltag"]]]],[7,0,0,[[0,"Sale Price:"]],3]],[0,"</span>"],[1,[["formattedSubscriptionSalePriceText"]],[["message",[["price:formattedSubscriptionSalePrice"]," "]]]],15,[0,"<span class=\\"visually-hidden v6-visually-hidden\\">"],[8,[],[["@originalPriceText"]],[[1,[["@originalPriceText"]],[["htmltag"]]]],[7,0,0,[[0,"Original Price:"]],3]],[0,"</span><span class=\\"original-price\\">"],[1,[["formattedNormalSubscriptionPriceText"]],[["message",[["price:formattedNormalSubscriptionPrice"]," "]]]],[0,"</span>\\n"]],[7,0,0,[[8,[],[["formattedNormalSubscriptionPrice"]],[[1,[["formattedNormalSubscriptionPriceText"]],[["message",[["price:formattedNormalSubscriptionPrice"]," "]]]]],3]],3]]],3]],[0,"\\n</div>"]],18]`),zl=JSON.parse('[17,1,[[0,"<div style=\\"padding-left:5px;\\">\\n  <div>"],[1,[["values","Line1"]],0],[0,"</div>"],[8,[],[["values","Line2"]],[[0,"\\n  <div>"],[1,[["values","Line2"]],0],[0,"</div>"]],3],[0,"\\n  <div>"],[1,[["values","City"]],0],[0,", "],[1,[["values","State"]],0],[0," "],[1,[["values","Zip"]],0],[0," "],[1,[["values","Country"]],0],[0,"</div>\\n</div>"]],18]'),$l=JSON.parse('[17,1,[[8,[],[["values"]],[[4,["values"],[[5,"greaterThan?",[["@index","1"]," "],[[0,", "]],3],[1,[["@"]],0]],3,[]],[0,"\\n"]],[7,0,0,[[8,[],[["value"]],[[1,[["value"]],0]],3]],3]]],18]'),ln=JSON.parse('[17,1,[[1,[["values","Month"]],0],[0,"/"],[1,[["values","Day"]],0],[0,"/"],[1,[["values","Year"]],0]],18]'),sn=JSON.parse('[17,1,[[0,"<div style=\\"padding-left:5px;\\">"],[4,["@"],[[0,"\\n  <div><span style=\\"font-weight:bold;\\">"],[1,[["question"]],0],[0,":</span> "],[1,[["answer"]],0],[0,"</div>"]],3,[]],[0,"\\n</div>"]],18]'),zn=JSON.parse('[17,1,[[1,[["values","First"]],0],[0," "],[1,[["values","Last"]],0]],18]'),Er=JSON.parse('[17,1,[[8,[],[["values","Country"]],[[0,"+"],[1,[["values","Country"]],0],[0," "]],3],[1,[["values","Areacode"]],0],[0,"-"],[1,[["values","Prefix"]],0],[0,"-"],[1,[["values","Line"]],0]],18]'),zr=JSON.parse('[17,1,[[8,[],[["values","Hour"]],[[1,[["values","Hour"]],0]],[7,0,0,[[0,"00"]],3]],[0,":"],[8,[],[["values","Minute"]],[[1,[["values","Minute"]],0]],[7,0,0,[[0,"00"]],3]],[0,":"],[8,[],[["values","Second"]],[[1,[["values","Second"]],0]],[7,0,0,[[0,"00"]],3]],[0," "],[1,[["values","Ampm"]],0]],18]'),Ao=JSON.parse('[17,1,[[8,[],[["options"]],[[0,"\\n  "],[6,"@content",[["item","structuredContent"]],0],[0,"\\n  "],[6,"@variants",[["@content","variants"]],0],[0,"\\n  "],[6,"@isSubscribable",[["@content","isSubscribable"]],0],[0,"\\n  "],[6,"@subscriptionPlan",[["@content","subscriptionPlan"]],0],[0,"\\n\\n  <div class=\\"product-variants\\" data-item-id=\\""],[1,[["item","id"]],0],[0,"\\" data-variants=\\""],[1,[["@variants"]],[["json"],["htmltag"]]],[0,"\\""],[8,[],[["@isSubscribable"]],[[0," data-is-subscribable=\\"true\\" data-subscription-plan=\\""],[1,[["@subscriptionPlan"]],[["json"],["htmltag"]]],[0,"\\""]],3],[0," data-animation-role=\\"content\\">"],[4,["options"],[[0,"\\n    <div class=\\"variant-option\\">\\n    <div class=\\"variant-option-title\\">"],[1,[["displayText"]],[["message",[["name:name"]," "]],["htmltag"]]],[0,": </div>\\n    <div class=\\"variant-select-wrapper\\">\\n      <select aria-label=\\""],[1,[["selectText"]],[["message",[["variantName:name"]," "]]]],[0,"\\" data-variant-option-name=\\""],[1,[["name"]],[["htmltag"]]],[0,"\\">\\n        <option value=\\"\\">"],[1,[["selectText"]],[["message",[["variantName:name"]," "]],["htmltag"]]],[0,"</option>\\n        "],[4,["values"],[[0,"<option value=\\""],[1,[["@"]],[["htmltag"]]],[0,"\\">"],[1,[["@"]],[["htmltag"]]],[0,"</option>"]],3,[]],[0,"\\n      </select>\\n    </div>\\n    <div class=\\"variant-radiobtn-wrapper\\" data-variant-option-name=\\""],[1,[["name"]],[["htmltag"]]],[0,"\\">"],[4,["values"],[[0,"\\n      <input type=\\"radio\\" class=\\"variant-radiobtn\\" value=\\""],[1,[["@"]],[["htmltag"]]],[0,"\\" name=\\"variant-option-"],[1,[["name"]],[["htmltag"]]],[0,"\\" id=\\"variant-option-"],[1,[["name"]],[["htmltag"]]],[0,"-"],[1,[["@"]],[["htmltag"]]],[0,"\\"/>\\n      <label class=\\"sqs-button-element--secondary\\" role=\\"button\\" tabindex=\\"0\\" for=\\"variant-option-"],[1,[["name"]],[["htmltag"]]],[0,"-"],[1,[["@"]],[["htmltag"]]],[0,"\\">"],[1,[["@"]],[["htmltag"]]],[0,"</label>"]],3,[]],[0,"\\n    </div>\\n    </div>"]],3,[]],[0,"\\n  </div>\\n"]],3]],18]'),Zo=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),ia,So=Je("0"),Ha=["localizedStrings","productPriceFromText"],is=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=yi(nn,xl,vn.node,!1);vn.set(cr)},de}(Dn),as=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=nn.cldr;if(!cr){vn.set("");return}var lo=cr.General.locale().tag.region(),Po=Je(vn.node.asString());Po===void 0&&(Po=So),Po=Po.divide(100);var oa=cr.Numbers.getCurrencyForRegion(lo),fa=cr.Numbers.formatCurrency(Po,oa);vn.set(fa)},de}(Dn),es=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=0,lo=vn.node.get("entries");if(lo.type===Be.ARRAY)for(var Po=0;Po<lo.value.length;Po++)cr+=lo.get(Po).get("quantity").asNumber();var oa='<span class="sqs-cart-quantity">'.concat(cr,"</span>");vn.set(oa)},de}(Dn),Qs=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){_t[0].set("deprecated, do not use")},de}(Dn),Rs=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){_t[0].set("/cart")},de}(Dn),rs=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=it(vn.node);if(cr){var lo=Tr(cr);vn.set(lo.toString())}},de}(Dn),Cs=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=nn.cldr;if(!cr){vn.set("");return}var lo=We.filter(function(Va){return Va==="trim"}).length>0,Po=Je(vn.node.asString());Po===void 0&&(Po=So);var oa=lo?0:2,fa=cr==null?void 0:cr.Numbers.formatDecimal(Po,{minimumFractionDigits:oa,maximumFractionDigits:3});vn.set(fa)},de}(Dn),Fs=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=Lt(vn.node);if(cr){var lo=Tr(cr);vn.set(lo.toString())}},de}(Dn),Ks=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=yi(nn,Ic,vn.node,!1);vn.set(cr)},de}(Dn),Ls=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}de.prototype.apply=function(_t,nn,vn){var cr=nn[0],lo=cr.node,Po={};jr(lo)?this.resolveTemplateVariablesForSubscriptionProduct(_t,vn,lo,Po):ta(lo)!==Bs.UNDEFINED&&this.resolveTemplateVariablesForOTPProduct(_t,vn,lo,Po);var oa=yi(vn,Kl,new mt(Po),!0);cr.set(oa)},de.prototype.resolveTemplateVariablesForOTPProduct=function(_t,nn,vn,cr){if(dn(vn)){var lo=nn.resolve(Ha);cr.fromText=lo.isMissing()?"from {fromPrice}":lo.asString(),cr.formattedFromPrice=Oo(it(vn),_t,nn)}Jn(vn)&&(cr.formattedSalePriceText="{price}",cr.formattedSalePrice=Oo($t(vn),_t,nn)),cr.formattedNormalPriceText="{price}",cr.formattedNormalPrice=Oo(Lt(vn),_t,nn)},de.prototype.resolveTemplateVariablesForSubscriptionProduct=function(_t,nn,vn,cr){var lo=this.getSubscriptionPlanBillingPeriodNode(vn);if(lo.isMissing()){var Po=nn.resolve(["localizedStrings","productPriceUnavailable"]);cr.fromText=Po.isMissing()?"Unavailable":Po.asString(),cr.formattedFromPrice="true";return}var oa=dn(vn),fa=this.getValueFromSubscriptionPlanBillingPeriod(lo),Va=this.getUnitFromSubscriptionPlanBillingPeriod(lo),ci=fa*this.getNumBillingCyclesFromSubscriptionPlanNode(vn),di=Va,Xs=We.PER_YEAR;ci>0&&Xs[di]&&ci%Xs[di]===0&&(ci/=Xs[di],di=We.BILLING_PERIOD_YEARLY),cr.billingPeriodValue=fa,cr.duration=ci;var _i="productPrice__"+"".concat(oa?"multiplePrices":"singlePrice","__")+"".concat(fa===1?"1":"n").concat(ms(Va),"ly__");ci==0?_i+="indefinite":_i+="limited__".concat(ci===1?"1":"n").concat(ms(di),"s");var js=nn.resolve(["localizedStrings",_i]),al=js.isMissing()?this.defaultSubscriptionPriceString(vn):js.asString();oa&&(cr.fromText=al,cr.formattedFromPrice=Oo(it(vn),_t,nn)),Jn(vn)&&(cr.formattedSalePriceText=al,cr.formattedSalePrice=Oo($t(vn),_t,nn)),cr.formattedNormalPriceText=al,cr.formattedNormalPrice=Oo(Lt(vn),_t,nn)},de.prototype.defaultSubscriptionPriceString=function(_t){var nn=this.getSubscriptionPlanBillingPeriodNode(_t),vn=dn(_t),cr=this.getValueFromSubscriptionPlanBillingPeriod(nn),lo=cr>1,Po=this.getUnitFromSubscriptionPlanBillingPeriod(nn),oa=this.getNumBillingCyclesFromSubscriptionPlanNode(_t),fa=cr*oa,Va=Po,ci=We.PER_YEAR;fa>0&&ci[Va]&&fa%ci[Va]===0&&(fa/=ci[Va],Va=We.BILLING_PERIOD_YEARLY);var di=(vn?"from ":"")+"{price} every "+(lo?"{billingPeriodValue} ":"")+Po.toLowerCase()+(lo?"s":"");return oa>0&&(di+=" for {duration} "+Va.toLowerCase()+(fa===1?"":"s")),di},de.prototype.getSubscriptionPlanBillingPeriodNode=function(_t){return _t.path(["structuredContent","subscriptionPlan","billingPeriod"])},de.prototype.getUnitFromSubscriptionPlanBillingPeriod=function(_t){return _t.path(["unit"]).asString()},de.prototype.getValueFromSubscriptionPlanBillingPeriod=function(_t){return _t.path(["value"]).asNumber()},de.prototype.getNumBillingCyclesFromSubscriptionPlanNode=function(_t){return _t.path(["structuredContent","subscriptionPlan","numBillingCycles"]).asNumber()};var We;return We=de,de.BILLING_PERIOD_MONTHLY="MONTH",de.BILLING_PERIOD_WEEKLY="WEEK",de.BILLING_PERIOD_YEARLY="YEAR",de.PER_YEAR=(ia={},ia[We.BILLING_PERIOD_WEEKLY]=52,ia[We.BILLING_PERIOD_MONTHLY]=12,ia),de}(Dn),Js=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node,lo={},Po=gt(cr);if(Po!=null&&Po.size()>0){if(dn(cr)){var oa=Uo(Po),fa=nn.resolve(Ha);lo.fromText=fa.isMissing()?"from {fromPrice}":fa.asString(),lo.formattedFromPrice=Oo(oa,We,nn)}var Va=Po.get(0),ci=ce(Va.path(["onSale"]));ci&&(lo.formattedSubscriptionSalePriceText="{price}",lo.formattedSubscriptionSalePrice=this.getSalePriceMoney(Va,We,nn)),lo.formattedNormalSubscriptionPriceText="{price}",lo.formattedNormalSubscriptionPrice=this.getPriceMoney(Va,We,nn)}var di=yi(nn,mc,new mt(lo),!0);vn.set(di)},de.prototype.getSalePriceMoney=function(We,_t,nn){return Oo(We.path(["salePriceMoney"]),_t,nn)},de.prototype.getPriceMoney=function(We,_t,nn){return Oo(We.path(["priceMoney"]),_t,nn)},de}(Dn),Ts=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node,lo=cr.get("id").asString(),Po=We[0]||"",oa=cr.get(Po);oa.isMissing()?(oa=nn.resolve([Po]),oa.isMissing()||(Po=oa.asString())):Po=oa.asString();var fa="";fa+='<span class="sqs-product-quick-view-button" role="button" tabindex="0" data-id="'.concat(lo,'"'),fa+=' data-group="'.concat(Po,'">');var Va=nn.resolve(["localizedStrings","productQuickViewText"]);fa+=Va.isMissing()?"Quick View":Va.asString(),fa+="</span>",vn.set(fa)},de}(Dn),zs=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=nn.resolve(["website"]),cr=nn.resolve(["productMerchandisingContext"]),lo=_t[0],Po=lo.node,oa=[Po.get("id").asString()],fa=cr.path(oa),Va={product:Po.value,views:fa.path(["restockNotificationViews"]).value,messages:fa.path(["restockNotificationMessages"]).value,mailingListSignUpEnabled:fa.path(["mailingListSignUpEnabled"]).value,mailingListOptInByDefault:fa.path(["mailingListOptInByDefault"]).value,captchaSiteKey:vn.path(["captchaSettings","siteKey"]).value},ci=yi(nn,Jl,new mt(Va),!1);lo.set(ci)},de}(Dn),Bi=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=nn.resolve(["productMerchandisingContext"]);if(!vn.isMissing()){var cr=_t[0],lo=cr.node,Po=lo.get("id").asString(),oa=vn.get(Po);if(!oa.isMissing()&&oa.get("scarcityEnabled").asBoolean()){var fa={scarcityTemplateViews:oa.get("scarcityTemplateViews").value,scarcityText:oa.get("scarcityText").value,scarcityShownByDefault:oa.get("scarcityShownByDefault").value},Va=yi(nn,Vi,new mt(fa),!1);cr.set(Va)}}},de}(Dn),qs=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node,lo=cr.get("id").asString(),Po=nn.resolve(["productMerchandisingContext"]),oa="";if(lo&&!Po.isMissing()&&(oa=Po.path([lo,"customSoldOutText"]).asString()),Hn(cr)){var fa=nn.resolve(["localizedStrings","productSoldOutText"]).asString(),Va='<div class="product-mark sold-out">';Va+=Mi(oa||fa||"sold out"),Va+="</div>",vn.set(Va)}else if(Jn(cr)){var fa=nn.resolve(["localizedStrings","productSaleText"]).asString(),Va='<div class="product-mark sale">';Va+=fa||"sale",Va+="</div>",vn.set(Va)}else vn.set(Bt)},de}(Dn),Ti=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node,lo=ta(cr),Po=nn.resolve(["websiteSettings"]),oa=(lo===Bs.PHYSICAL||lo===Bs.SERVICE&&Na(Po))&&!jr(cr),fa=!oa||_n(cr)<=1;if(fa){vn.set(Bt);return}var Va=yi(nn,_c,cr,!1);vn.set(Va)},de}(Dn),ui=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=$t(vn.node);if(cr){var lo=Tr(cr);vn.set(lo.toString())}},de}(Dn),qi=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=qa(vn.node);vn.set(cr)},de}(Dn),Ko=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=ko(vn.node);if(cr.length===0){vn.set(Bt);return}var lo=this.getSelectText(nn,vn.node),Po=this.getDisplayText(nn,vn.node),oa=nn.newNode({item:vn.node.value,options:cr,selectText:lo,displayText:Po}),fa=yi(nn,Ao,oa,!1);vn.set(fa)},de.prototype.getDisplayText=function(We,_t){var nn=ta(_t),vn="",cr="Value";return nn===Bs.GIFT_CARD?vn=We.resolve(["localizedStrings","giftCardValueDisplayText"]).asString():cr="{name}",Nl(vn,cr)},de.prototype.getSelectText=function(We,_t){var nn=ta(_t),vn="",cr="Select Value";return nn===Bs.GIFT_CARD?vn=We.resolve(["localizedStrings","giftCardVariantSelectText"]).asString():(vn=We.resolve(["localizedStrings","productVariantSelectText"]).asString(),cr="Select {variantName}"),Nl(vn,cr)},de}(Dn),Ur="productAnswerMap",aa=Ur+"StronglyDisagree",ca=Ur+"Disagree",As=Ur+"Neutral",Ri=Ur+"Agree",Ei=Ur+"StronglyAgree",pi=function(Se,de,We){var _t=Se.get(de);return _t.type===Be.STRING?_t.value:We},Gi=function(Se){return{"-2":pi(Se,aa,"Strongly Disagree"),"-1":pi(Se,ca,"Disagree"),0:pi(Se,As,"Neutral"),1:pi(Se,Ri,"Agree"),2:pi(Se,Ei,"Strongly Agree")}},Eo=function(Se,de){for(var We=[],_t=Object.keys(Se),nn=de[0],vn=0;vn<_t.length;vn++){var cr=_t[vn],lo=Se[cr],Po=de[lo];We.push({question:cr,answer:Po||nn})}return We},_l={address:zl,checkbox:$l,date:ln,likert:sn,name:zn,phone:Er,time:zr},Al=function(Se){Zo(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node,lo=nn.resolve(["localizedStrings"]),Po=cr.get("type").asString(),oa=_l[Po],fa=null;if(oa===void 0)fa=cr.get("value").asString();else{var Va=cr;if(Po==="likert"){var ci=Gi(lo),di=Eo(cr.get("values").value,ci);Va=nn.newNode(di)}fa=yi(nn,oa,Va,!0)}var Xs=`<div style="font-size:11px; margin-top:3px">
`;if(Xs+='  <span style="font-weight:bold;">',Xs+=cr.get("rawTitle").asString(),Xs+=":</span> ",ce(fa))Xs+=fa;else{var _i=lo.get("productSummaryFormNoAnswerText").asString().trim();Xs+=_i===""?"N/A":_i}Xs+=`
</div>`,vn.set(Xs)},de}(Dn),Pl={"add-to-cart-btn":new is,"bookkeeper-money-format":new as,"cart-quantity":new es,"cart-subtotal":new Qs,"cart-url":new Rs,"from-price":new rs,"normal-price":new Fs,"percentage-format":new Cs,"product-checkout":new Ks,"product-price":new Ls,"subscription-price":new Js,"product-quick-view":new Ts,"product-restock-notification":new zs,"product-scarcity":new Bi,"product-status":new qs,"quantity-input":new Ti,"sale-price":new ui,"summary-form-field":new Al,"variant-descriptor":new qi,"variants-select":new Ko},Wi=250,Mc=function(Se){var de=Se.get("mediaFocalPoint");if(!de.isMissing()){var We=de.get("x").asNumber(),_t=de.get("y").asNumber();return"".concat(We,",").concat(_t)}return"0.5,0.5"},Fc=function(Se,de){var We=Se.resolve(["blockType"]);if(!We.isMissing()&&We.asNumber()==sl.IMAGE.code){var _t=de.path(["altText"]);return _t.asString().trim()}return Ou(de)},Ou=function(Se){var de=Se.get("title");if(ce(de))return de.asString();var We=Se.get("body");if(ce(We)){var _t=Us(We.asString()),nn=_t.length;if(nn>0)return _t.substring(0,Math.min(nn,Wi))}var vn=Se.get("filename");return ce(vn)?vn.asString():""},Rl=function(Se,de){var We="about ";switch(de){case"hour":{Se===1?We+="an hour":We+="".concat(Se," ").concat(de,"s");break}default:Se===1?We+="a ".concat(de):We+="".concat(Se," ").concat(de,"s");break}return We+" ago"},gu=function(Se,de){Se/=1e3;var We=Se/86400|0,_t=We/365|0;if(_t>0)return Rl(_t,"year");var nn=We/30|0;if(nn>0)return Rl(nn,"month");var vn=We/7|0;if(vn>0)return Rl(vn,"week");if(We>0)return Rl(We,"day");Se-=We*86400;var cr=Se/3600|0;if(cr>0)return Rl(cr,"hour");var lo=Se/60|0;return lo>0?Rl(lo,"minute"):de?Rl(Se,"second"):"less than a minute ago"},Hl=function(Se){return Se.path(["licensedAssetPreview"]).type===Be.OBJECT},Cl=function(Se,de,We){if(Se.isMissing())return"";var _t=Se.path(["componentKey"]),nn=Mc(Se),vn=Se.get("originalSize").asString(),cr=Se.get("assetUrl").asString(),lo=Mi(We??Fc(de,Se)),Po="";return Hl(Se)&&(Po+='data-licensed-asset-preview="true" '),_t.isMissing()||(Po+='data-component-key="'.concat(_t.asString(),'" ')),Po+='data-src="'.concat(cr,'" '),Po+='data-image="'.concat(cr,'" '),Po+='data-image-dimensions="'.concat(vn,'" '),Po+='data-image-focal-point="'.concat(nn,'" '),Po+='alt="'.concat(lo,'" '),Po},Dl=function(Se){var de=Se.asString(),We=de.split("x");return We.length===2?We:null},kl=function(Se,de){for(var We="",_t=[],nn=de.length,vn=0,cr="";vn<nn;){var lo=de[vn];if(lo!=="%"){We+=lo,vn++;continue}if(vn++,vn===nn){We+=lo;break}if(lo=de[vn],lo==="%"){We+=lo,vn++;continue}var Po=We.length>0;switch(Po&&(_t.push(We),We=""),cr="",lo){case"a":cr=vc[Se.dayOfWeek()-1];break;case"A":cr=Bl[Se.dayOfWeek()-1];break;case"b":cr=oc[Se.month()-1];break;case"B":cr=Wc[Se.month()-1];break;case"c":{cr=kl(Se,"%a, %b ".concat(Se.dayOfMonth(),", %Y %i:%M:%S %p %Z"));break}case"C":cr=el("".concat(Se.year()/100|0),"0",2);break;case"d":cr=el("".concat(Se.dayOfMonth()),"0",2);break;case"D":cr=kl(Se,"%m/%d/%y");break;case"e":cr=el("".concat(Se.dayOfMonth())," ",2);break;case"F":cr=kl(Se,"%Y-%m-%d");break;case"g":cr=el("".concat(Se.yearOfWeekOfYearISO()%100),"0",2);break;case"G":cr=el("".concat(Se.yearOfWeekOfYearISO()),"0",4);break;case"h":cr=oc[Se.month()-1];break;case"H":cr=el("".concat(Se.hourOfDay()),"0",2);break;case"i":{var oa=Se.hour();cr="".concat(oa==0?12:oa);break}case"I":{var oa=Se.hour();cr=el("".concat(oa==0?12:oa),"0",2);break}case"j":cr=el("".concat(Se.dayOfYear()),"0",3);break;case"k":cr=el("".concat(Se.hourOfDay())," ",2);break;case"l":{var oa=Se.hour();cr=el("".concat(oa===0?12:oa)," ",2);break}case"m":cr=el("".concat(Se.month()),"0",2);break;case"M":cr=el("".concat(Se.minute()),"0",2);break;case"n":cr=`
`;break;case"N":cr=el("".concat(Se.milliseconds()*1e6),"0",9);break;case"p":cr=Se.isAM()?"AM":"PM";break;case"P":cr=Se.isAM()?"am":"pm";break;case"q":{var fa=((Se.month()-1)/3|0)+1;cr="".concat(fa);break}case"r":{var oa=Se.hour();cr=kl(Se,"".concat(oa===0?12:oa,":%M:%S %p"));break}case"R":cr=kl(Se,"%H:%M");break;case"s":cr="".concat(Se.unixEpoch()/1e3|0);break;case"S":cr=el("".concat(Se.second()),"0",2);break;case"t":cr="	";break;case"T":cr=kl(Se,"%H:%M:%S");break;case"u":{var Va=Se.dayOfWeek()-1;cr=Va===0?"7":"".concat(Va);break}case"U":cr=el("".concat(Se.weekOfYear()),"0",2);break;case"v":cr=kl(Se,"%e-%b-%Y");break;case"V":cr=el("".concat(Se.weekOfYearISO()),"0",2);break;case"w":cr="".concat(Se.dayOfWeek()-1);break;case"W":cr=el("".concat(Se.weekOfYear()),"0",2);break;case"x":cr=kl(Se,"%m/%d/%Y");break;case"X":cr=kl(Se,"%I:%M:%S %p");break;case"y":{var ci=Se.year()%100;cr=el("".concat(ci),"0",2);break}case"Y":cr="".concat(Se.year());break;case"z":{var di=ll(Se.timeZoneOffset()),Xs=di[0],_i=di[1],js=di[2],oa=el("".concat(_i),"0",2),al=el("".concat(js),"0",2);cr="".concat(Xs?"-":"+").concat(oa,":").concat(al);break}case"Z":cr=Se.timeZoneAbbr();break}cr&&_t.push(cr),vn++}return We.length>0&&_t.push(We),_t.join("")},ll=function(Se){var de=Se<0;de&&(Se*=-1),Se/=6e4;var We=Se/60|0,_t=Se%60;return[de,We,_t]},el=function(Se,de,We){var _t=We-Se.length,nn="";if(_t>0)for(;_t--;)nn+=de;return nn+Se},vc=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Bl=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],oc=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Wc=["January","February","March","April","May","June","July","August","September","October","November","December"],Ll=/^[abcdef0-9]{3,6}$/i,Qa=function(Se){return Se[0]==="#"&&(Se=Se.slice(1)),Ll.test(Se)?Se.length===3?parseInt(Se[0]+Se[0]+Se[1]+Se[1]+Se[2]+Se[2],16):parseInt(Se,16):-1},Eu=JSON.parse(`[17,1,[[0,"<script>Y.use('squarespace-audio-player-frontend');<\/script>\\n<div class=\\"squarespace-audio-player\\" data-audio-asset-url=\\""],[1,[["structuredContent","audioAssetUrl"]],0],[0,"\\" data-item-id=\\""],[1,[["id"]],0],[0,"\\" id=\\"audio-player-"],[1,[["id"]],0],[0,"\\"></div>"]],18]`),Ul=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),ql=["100w","300w","500w","750w","1000w","1500w","2500w"],Sc=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=nn.resolve(["base-url"]).asString(),lo=vn.node.asString();vn.set(cr+"/"+lo)},de}(Dn),Rc=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=yi(nn,Eu,vn.node,!0);vn.set(cr)},de}(Dn),Mu=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.asString();vn.set(cr.toUpperCase())},de}(Dn),dc=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=We.length===0?0:parseInt(We[0],10),lo=vn.node.path(["items",cr]);vn.set(Cl(lo,nn))},de}(Dn),ec=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.get("coverImage");vn.set(Cl(cr,nn))},de}(Dn),tc=16777215/2,qc=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.asString(),lo=Qa(cr);if(lo===-1){vn.set(Bt);return}var Po=lo>tc?"light":"dark";vn.set(Po)},de}(Dn),hu=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=Dl(vn.node);if(cr===null)vn.set(Bt);else{var lo=parseInt(cr[1],10);vn.set(lo)}},de}(Dn),Tc=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.asNumber()/1e3|0,lo=cr/60|0,Po=cr-lo*60,oa="".concat(lo,":").concat(el("".concat(Po),"0",2));vn.set(oa)},de}(Dn),ac=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node,lo=We.length===1?We[0]:"thumb-image",Po=cr.get("id").asString(),oa=Mi(Fc(nn,cr)),fa=cr.get("assetUrl").asString(),Va="<noscript>";Va+='<img src="'.concat(fa,'" '),Va+='alt="'.concat(oa,'" '),Va+="/></noscript>",Va+='<img class="'.concat(lo,'" '),Va+=Cl(cr,nn,oa),Va+='data-load="false" ',Va+='data-image-id="'.concat(Po,'" '),Va+='data-type="image" />',vn.set(Va)},de}(Dn),sc=["topLeft","topRight","bottomLeft","bottomRight","center"],wc=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.get("colorData");if(cr.isMissing()){vn.set(Bt);return}var lo="";if(We.length>0){var Po=We[0],oa=cr.get(Po+"Average").asString();oa.length>0?(We.length>1&&(lo+="".concat(We[1],": ")),lo+="#".concat(oa)):lo+='"'.concat(Po,'" not found.')}else for(var fa=sc.length,Va=0;Va<fa;Va++){var Po=sc[Va],ci=cr.get(Po+"Average").asString();lo+="data-color-".concat(Po,'="#').concat(ci,'" ')}vn.set(lo)},de}(Dn),Nc=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node;vn.set(Cl(cr,nn))},de}(Dn),Kc=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node;if(!cr.isMissing()){var lo=cr.get("assetUrl").asString(),Po=cr.get("systemDataVariants").asString().split(",");if(Po=Po.filter(function(Xs){return Xs[Xs.length-1]==="w"}),!!Po.length){var oa="",fa=Po[Po.length-1];if(fa!==ql[ql.length-1]){for(var Va=ql.length-2;Va>=0;Va--)if(fa===ql[Va]){oa=",".concat(lo,"?format=original ").concat(ql[Va+1]);break}}var ci=Po.map(function(Xs){return"".concat(lo,"?format=").concat(Xs," ").concat(Xs)}).join(","),di=' srcset="'.concat(ci).concat(oa,'"');vn.set(di)}}},de}(Dn),Yl=function(Se,de){for(var We="",_t=de.size(),nn=0;nn<_t;nn++){var vn=El(de.get(nn).asString());We+=" ".concat(Se,"-").concat(vn)}return We},ou=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node,lo="hentry",Po=nn.resolve(["promotedBlockType"]);if(ce(Po)){var oa=El(Po.asString());lo+=" promoted promoted-block-".concat(oa)}Po=nn.resolve(["categories"]),ce(Po)&&(lo+=Yl("category",Po)),Po=nn.resolve(["tags"]),ce(Po)&&(lo+=Yl("tag",Po)),Po=nn.resolve(["author"]);var fa=Po.get("displayName");if(ce(Po)&&ce(fa)){var oa=El(fa.asString());lo+=" author-".concat(oa)}Po=nn.resolve(["recordTypeLabel"]),lo+=" post-type-".concat(Po.asString()),Po=nn.resolve(["@index"]),Po.isMissing()||(lo+=" article-index-".concat(Po.asNumber())),Po=nn.resolve(["starred"]),ce(Po)&&(lo+=" featured"),Po=cr.get("recordType"),ti.STORE_ITEM.code===Po.asNumber()&&(Jn(cr)&&(lo+=" on-sale"),Hn(cr)&&(lo+=" sold-out")),vn.set(lo)},de}(Dn),ur=function(Se,de,We,_t){var nn=Dl(de);if(nn===null||nn.length!==2)return"Invalid source parameter. Pass in 'originalSize'";var vn=parseInt(nn[0],10),cr=parseInt(nn[1],10),lo=0;return We?lo=vn*(_t/cr):lo=cr*(_t/vn),lo|0},Xr=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=parseInt(We[0],10),cr=_t[0],lo=ur(nn,cr.node,!1,vn);cr.set(lo)},de}(Dn),Fr=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=parseInt(We[0],10),cr=_t[0],lo=ur(nn,cr.node,!0,vn);cr.set(lo)},de}(Dn),kr=function(Se){return Se>1e3?"1500w":Se>750?"1000w":Se>500?"750w":Se>300?"500w":Se>100?"300w":"100w"},Ge=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=parseInt(We[0],10),cr=_t[0];cr.set(kr(vn))},de}(Dn),An=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=parseInt(We[0],10),cr=_t[0],lo=ur(nn,cr.node,!0,vn);typeof lo=="number"?cr.set(kr(lo)):cr.set(lo)},de}(Dn),Yt=function(Se,de){return parseFloat(Se.toFixed(de))},fn=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=!1,lo="",Po=vn.node.get("hue"),oa=vn.node.get("saturation"),fa=vn.node.get("lightness");if(Po.isMissing()||oa.isMissing()||fa.isMissing()){vn.set("Missing an H/S/L value.");return}var Va=Po.asNumber(),ci=oa.asNumber(),di=fa.asNumber(),Xs=vn.node.get("alpha"),_i=null;if(Xs.isMissing()||(cr=!0,_i=Xs.asNumber()),(Va<0||Va>360)&&(lo+="Hue out of bounds. "),ci>=0&&ci<=1?ci*=100:lo+="Saturation out of bounds. ",di>=0&&di<=1?di*=100:lo+="Lightness out of bounds. ",_i!=null&&(_i<0||_i>1)&&(lo+="Alpha out of bounds."),ce(lo)){vn.set(lo);return}var js="";cr?js+="hsla(":js+="hsl(",js+=Yt(Va,2),js+=", ",js+=Yt(ci,2),js+="%, ",js+=Yt(di,2),cr?(js+="%, ",js+=Yt(_i,2),js+=")"):js+="%)",vn.set(js)},de}(Dn),Br=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=Dl(vn.node);if(cr===null)vn.set(Bt);else{var lo=parseInt(cr[0],10);vn.set(lo)}},de}(Dn),yo=[{attr:"topleft",key:"topLeftAverage"},{attr:"topright",key:"topRightAverage"},{attr:"bottomleft",key:"bottomLeftAverage"},{attr:"bottomright",key:"bottomRightAverage"},{attr:"center",key:"centerAverage"}],Jo=function(Se){Ul(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){for(var vn=_t[0],cr=vn.node,lo=cr.get("oembed"),Po=cr.get("colorData"),oa=cr.get("assetUrl").asString(),fa=Mc(cr),Va=cr.get("originalSize").asString(),ci=Mi(lo.get("html").asString()),di=lo.get("providerName").asString(),Xs=!1,_i=!1,js=0;js<We.length;js++){var al=We[js];al==="load-false"?Xs=!0:al==="color-data"&&(_i=!0)}var vl='<div class="sqs-video-wrapper" ';if(Xs&&(vl+=' data-load="false" '),vl+='data-html="'.concat(ci,'" data-provider-name="').concat(di,'">'),ce(cr.get("overlay"))){if(vl+='<div class="sqs-video-overlay',ce(cr.get("mainImageId"))||ce(cr.get("systemDataId"))){if(vl+='" style="opacity: 0;">',vl+='<img data-load="false" data-src="'.concat(oa,'" '),vl+='data-image-dimensions="'.concat(Va,'" '),vl+='data-image-focal-point="'.concat(fa,'" '),_i&&ce(Po))for(var hc=0;hc<yo.length;hc++){var Cc=yo[hc],fu=Po.get(Cc.key).asString();vl+="data-color-".concat(Cc.attr,'="#').concat(fu,'" ')}vl+="/>"}else vl+=' no-thumb" style="opacity: 0;">';vl+='<div class="sqs-video-opaque"> </div><div class="sqs-video-icon"></div>',vl+="</div>"}vl+="</div>",vn.set(vl)},de}(Dn),sa={AbsUrl:new Sc,"audio-player":new Rc,capitalize:new Mu,"child-image-meta":new dc,"cover-image-meta":new ec,"color-weight":new qc,height:new hu,humanizeDuration:new Tc,image:new ac,"image-color":new wc,"image-meta":new Nc,"image-srcset":new Kc,"item-classes":new ou,resizedHeightForWidth:new Xr,resizedWidthForHeight:new Fr,squarespaceThumbnailForHeight:new An,squarespaceThumbnailForWidth:new Ge,"website-color":new fn,width:new Br,video:new Jo},la=48,va=function(Se,de){for(var We="",_t=0,nn=-1,vn=de.length,cr=Se.length;_t<cr;){var lo=Se[_t];if(nn===-2&&lo==="}")nn=-1;else if(nn>=0)switch(lo){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":nn>0&&(nn*=10),nn+=lo.charCodeAt(0)-la;break;case"}":nn<vn&&(We+=de[nn]),nn=-1;break;default:nn=-2;break}else lo==="{"?nn=0:nn!==-2&&(We+=lo);_t++}return We},Ra=e(537093),Ya=e.n(Ra),wa=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),xa=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0];if(We.length===0||!nn.engine){vn.set("");return}var cr=We[0],lo,Po=!1;if(We.length>1){for(var oa={},fa=1;fa<We.length;fa++){var Va=We[fa];if(Va==="private"){Po=!0;continue}var ci=Va.indexOf("=");if(ci!==-1){var di=Va.slice(0,ci),Xs=Va.slice(ci+1);oa[di]=Xs}}lo=nn.newVariable("@args",new mt(oa))}var _i=nn.getPartial(cr);if(!Array.isArray(_i)){nn.error(he(cr)),vn.set("");return}if(nn.enterPartial(cr)){var js=yi(nn,_i,vn.node,Po,lo);vn.set(js),nn.exitPartial(cr)}else vn.set("")},de}(Dn),Ds=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node;cr.type===Be.OBJECT?vn.set(Object.keys(cr.value).length):cr.type===Be.ARRAY?vn.set(cr.value.length):vn.set(0)},de}(Dn),ws=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.asNumber(),lo=We.length,Po=(cr-1)%lo;Po<0&&(Po+=lo),vn.set(We[Po])},de}(Dn),Di=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.asString();vn.set(cr.replace(/\s/g,"&nbsp;"))},de}(Dn),ai=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.asString();vn.set(encodeURI(cr))},de}(Dn),yl=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.asString();vn.set(encodeURIComponent(cr))},de}(Dn),ml=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=We.map(function(oa){var fa=Xe(oa),Va=nn.frame().parent,ci=nn.resolveFrom(fa,Va||nn.frame());return ci.type===Be.NULL||ci.type===Be.MISSING?"":ci.value}),lo=vn.node.asString(),Po=va(lo,cr);vn.set(Po)},de}(Dn),Ii=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){for(var vn=_t[0],cr=vn.node,lo=0,Po=We;lo<Po.length;lo++){var oa=Po[lo],fa=Xe(oa),Va=nn.resolve(fa);if(Va.type===Be.MISSING)cr=Bt;else{var ci=Va.type===Be.ARRAY?Va.value:Va.type===Be.NUMBER?[Va.asNumber()]:[Va.asString()];cr=cr.path(ci)}if(cr.type===Be.MISSING)break}vn.set(cr)},de}(Dn),Xi=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.replace({"&":"&amp;","<":"&lt;",">":"&gt;"});vn.set(cr)},de}(Dn),zi=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0];vn.set(Mi(vn.node.asString()))},de}(Dn),Sl=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=nn.lookupStack("@index");_t[0].set(vn.asString())},de}(Dn),gc=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0];if(vn.node.isMissing())vn.set("");else{var cr=JSON.stringify(vn.node.value);vn.set(il(cr))}},de}(Dn),Xl=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0];if(vn.node.isMissing())vn.set("");else{var cr=JSON.stringify(vn.node.value,void 0,"  ");vn.set(il(cr))}},de}(Dn),yc=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=We[0],lo={};if(vn.node.type===Be.ARRAY&&cr)for(var Po=Xe(cr),oa=0,fa=vn.get();oa<fa.length;oa++){var Va=fa[oa],ci=new mt(Va).path(Po);ci.type!==Be.MISSING&&(lo[ci.value]=Va)}vn.set(lo)},de}(Dn),Zc=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=We[0];if(cr){var lo=nn.resolve(Xe(cr)),Po=nn.resolve(Xe(lo.asString()));vn.set(Po)}else vn.set("")},de}(Dn),Rd=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.asNumber(),lo=parseInt(We[0],10)||2;vn.set(cr%(lo&&isFinite(lo)?lo:2))},de}(Dn),_u=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=We.join(" ");_t[0].set(vn)},de}(Dn),td=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn="",cr="s";We.length===1?cr=We[0]:We.length>=2&&(vn=We[0],cr=We[1]);var lo=_t[0],Po=lo.node.asNumber()===1?vn:cr;lo.set(Po)},de}(Dn),Hu=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){for(var vn=_t[0],cr=vn.node,lo=0,Po=We;lo<Po.length;lo++){var oa=Po[lo],fa=Xe(oa);if(cr=cr.path(fa),cr.type===Be.MISSING)break}vn.set(cr)},de}(Dn),Ru=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0];vn.set(JSON.stringify(vn.node.value))},de}(Dn),Pu=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.asNumber();vn.set(Math.round(cr))},de}(Dn),Oc=/<[^>]*?>/g,vf=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0];if(ce(vn.node)){var cr=vn.node.asString();vn.set(cr.replace(Oc,""))}},de}(Dn),nd=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.asString();vn.set(El(cr))},de}(Dn),ld=/(^|[-\u2014\\s(\["])'/gm,Wl=/'/gm,Ql=/(^|[-\u2014/\[(\u2018\s])"/gm,gd=/"/gm,rd=/--/gm,Zu=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.asString();cr=cr.replace(ld,"$1\u2018"),cr=cr.replace(Wl,"\u2019"),cr=cr.replace(Ql,"$1\u201C"),cr=cr.replace(gd,"\u201D"),cr=cr.replace(rd,"\u2014"),vn.set(cr)},de}(Dn),Cu=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0];switch(vn.node.type){case Be.OBJECT:case Be.ARRAY:vn.set("");break;default:vn.set(vn.node.asString());break}},de}(Dn),eu=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=100,cr="...";if(We.length&&(vn=parseInt(We[0],10)),We.length>1&&(cr=We[1]),isFinite(vn)&&vn>0){var lo=_t[0],Po=lo.node.asString();Po=oi(Po,vn,cr),lo.set(Po)}},de}(Dn),Uu=function(Se){wa(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.asString(),lo=Ya().encode(cr);vn.set(escape(lo))},de}(Dn),Bc={apply:new xa,count:new Ds,cycle:new ws,"encode-space":new Di,"encode-uri":new ai,"encode-uri-component":new yl,format:new ml,get:new Ii,html:new Xi,htmlattr:new zi,htmltag:new zi,iter:new Sl,json:new gc,"json-pretty":new Xl,"key-by":new yc,lookup:new Zc,mod:new Rd,output:new _u,pluralize:new td,prop:new Hu,raw:new Ru,round:new Pu,safe:new vf,slugify:new nd,smartypants:new Zu,str:new Cu,truncate:new eu,"url-encode":new Uu},Ed=function(){return[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},Fu=e(415412),Ut={zoneids:"Africa/Abidjan|Africa/Accra|Africa/Algiers|Africa/Bissau|Africa/Cairo|Africa/Casablanca|Africa/Ceuta|Africa/El_Aaiun|Africa/Johannesburg|Africa/Juba|Africa/Khartoum|Africa/Lagos|Africa/Maputo|Africa/Monrovia|Africa/Nairobi|Africa/Ndjamena|Africa/Sao_Tome|Africa/Tripoli|Africa/Tunis|Africa/Windhoek|America/Adak|America/Anchorage|America/Araguaina|America/Argentina/Buenos_Aires|America/Argentina/Catamarca|America/Argentina/Cordoba|America/Argentina/Jujuy|America/Argentina/La_Rioja|America/Argentina/Mendoza|America/Argentina/Rio_Gallegos|America/Argentina/Salta|America/Argentina/San_Juan|America/Argentina/San_Luis|America/Argentina/Tucuman|America/Argentina/Ushuaia|America/Asuncion|America/Atikokan|America/Bahia|America/Bahia_Banderas|America/Barbados|America/Belem|America/Belize|America/Blanc-Sablon|America/Boa_Vista|America/Bogota|America/Boise|America/Cambridge_Bay|America/Campo_Grande|America/Cancun|America/Caracas|America/Cayenne|America/Chicago|America/Chihuahua|America/Costa_Rica|America/Creston|America/Cuiaba|America/Curacao|America/Danmarkshavn|America/Dawson|America/Dawson_Creek|America/Denver|America/Detroit|America/Edmonton|America/Eirunepe|America/El_Salvador|America/Fort_Nelson|America/Fortaleza|America/Glace_Bay|America/Goose_Bay|America/Grand_Turk|America/Guatemala|America/Guayaquil|America/Guyana|America/Halifax|America/Havana|America/Hermosillo|America/Indiana/Indianapolis|America/Indiana/Knox|America/Indiana/Marengo|America/Indiana/Petersburg|America/Indiana/Tell_City|America/Indiana/Vevay|America/Indiana/Vincennes|America/Indiana/Winamac|America/Inuvik|America/Iqaluit|America/Jamaica|America/Juneau|America/Kentucky/Louisville|America/Kentucky/Monticello|America/La_Paz|America/Lima|America/Los_Angeles|America/Maceio|America/Managua|America/Manaus|America/Martinique|America/Matamoros|America/Mazatlan|America/Menominee|America/Merida|America/Metlakatla|America/Mexico_City|America/Miquelon|America/Moncton|America/Monterrey|America/Montevideo|America/Nassau|America/New_York|America/Nipigon|America/Nome|America/Noronha|America/North_Dakota/Beulah|America/North_Dakota/Center|America/North_Dakota/New_Salem|America/Nuuk|America/Ojinaga|America/Panama|America/Pangnirtung|America/Paramaribo|America/Phoenix|America/Port-au-Prince|America/Port_of_Spain|America/Porto_Velho|America/Puerto_Rico|America/Punta_Arenas|America/Rainy_River|America/Rankin_Inlet|America/Recife|America/Regina|America/Resolute|America/Rio_Branco|America/Santarem|America/Santiago|America/Santo_Domingo|America/Sao_Paulo|America/Scoresbysund|America/Sitka|America/St_Johns|America/Swift_Current|America/Tegucigalpa|America/Thule|America/Thunder_Bay|America/Tijuana|America/Toronto|America/Vancouver|America/Whitehorse|America/Winnipeg|America/Yakutat|America/Yellowknife|Antarctica/Casey|Antarctica/Davis|Antarctica/DumontDUrville|Antarctica/Macquarie|Antarctica/Mawson|Antarctica/Palmer|Antarctica/Rothera|Antarctica/Syowa|Antarctica/Troll|Antarctica/Vostok|Asia/Almaty|Asia/Amman|Asia/Anadyr|Asia/Aqtau|Asia/Aqtobe|Asia/Ashgabat|Asia/Atyrau|Asia/Baghdad|Asia/Baku|Asia/Bangkok|Asia/Barnaul|Asia/Beirut|Asia/Bishkek|Asia/Brunei|Asia/Chita|Asia/Choibalsan|Asia/Colombo|Asia/Damascus|Asia/Dhaka|Asia/Dili|Asia/Dubai|Asia/Dushanbe|Asia/Famagusta|Asia/Gaza|Asia/Hebron|Asia/Ho_Chi_Minh|Asia/Hong_Kong|Asia/Hovd|Asia/Irkutsk|Asia/Jakarta|Asia/Jayapura|Asia/Jerusalem|Asia/Kabul|Asia/Kamchatka|Asia/Karachi|Asia/Kathmandu|Asia/Khandyga|Asia/Kolkata|Asia/Krasnoyarsk|Asia/Kuala_Lumpur|Asia/Kuching|Asia/Macau|Asia/Magadan|Asia/Makassar|Asia/Manila|Asia/Nicosia|Asia/Novokuznetsk|Asia/Novosibirsk|Asia/Omsk|Asia/Oral|Asia/Pontianak|Asia/Pyongyang|Asia/Qatar|Asia/Qostanay|Asia/Qyzylorda|Asia/Riyadh|Asia/Sakhalin|Asia/Samarkand|Asia/Seoul|Asia/Shanghai|Asia/Singapore|Asia/Srednekolymsk|Asia/Taipei|Asia/Tashkent|Asia/Tbilisi|Asia/Tehran|Asia/Thimphu|Asia/Tokyo|Asia/Tomsk|Asia/Ulaanbaatar|Asia/Urumqi|Asia/Ust-Nera|Asia/Vladivostok|Asia/Yakutsk|Asia/Yangon|Asia/Yekaterinburg|Asia/Yerevan|Atlantic/Azores|Atlantic/Bermuda|Atlantic/Canary|Atlantic/Cape_Verde|Atlantic/Faroe|Atlantic/Madeira|Atlantic/Reykjavik|Atlantic/South_Georgia|Atlantic/Stanley|Australia/Adelaide|Australia/Brisbane|Australia/Broken_Hill|Australia/Darwin|Australia/Eucla|Australia/Hobart|Australia/Lindeman|Australia/Lord_Howe|Australia/Melbourne|Australia/Perth|Australia/Sydney|CET|CST6CDT|EET|EST|EST5EDT|Etc/GMT|Etc/GMT+1|Etc/GMT+10|Etc/GMT+11|Etc/GMT+12|Etc/GMT+2|Etc/GMT+3|Etc/GMT+4|Etc/GMT+5|Etc/GMT+6|Etc/GMT+7|Etc/GMT+8|Etc/GMT+9|Etc/GMT-1|Etc/GMT-10|Etc/GMT-11|Etc/GMT-12|Etc/GMT-13|Etc/GMT-14|Etc/GMT-2|Etc/GMT-3|Etc/GMT-4|Etc/GMT-5|Etc/GMT-6|Etc/GMT-7|Etc/GMT-8|Etc/GMT-9|Etc/UTC|Europe/Amsterdam|Europe/Andorra|Europe/Astrakhan|Europe/Athens|Europe/Belgrade|Europe/Berlin|Europe/Brussels|Europe/Bucharest|Europe/Budapest|Europe/Chisinau|Europe/Copenhagen|Europe/Dublin|Europe/Gibraltar|Europe/Helsinki|Europe/Istanbul|Europe/Kaliningrad|Europe/Kiev|Europe/Kirov|Europe/Lisbon|Europe/London|Europe/Luxembourg|Europe/Madrid|Europe/Malta|Europe/Minsk|Europe/Monaco|Europe/Moscow|Europe/Oslo|Europe/Paris|Europe/Prague|Europe/Riga|Europe/Rome|Europe/Samara|Europe/Saratov|Europe/Simferopol|Europe/Sofia|Europe/Stockholm|Europe/Tallinn|Europe/Tirane|Europe/Ulyanovsk|Europe/Uzhgorod|Europe/Vienna|Europe/Vilnius|Europe/Volgograd|Europe/Warsaw|Europe/Zaporozhye|Europe/Zurich|Factory|HST|Indian/Chagos|Indian/Christmas|Indian/Cocos|Indian/Kerguelen|Indian/Mahe|Indian/Maldives|Indian/Mauritius|Indian/Reunion|MET|MST|MST7MDT|PST8PDT|Pacific/Apia|Pacific/Auckland|Pacific/Bougainville|Pacific/Chatham|Pacific/Chuuk|Pacific/Easter|Pacific/Efate|Pacific/Enderbury|Pacific/Fakaofo|Pacific/Fiji|Pacific/Funafuti|Pacific/Galapagos|Pacific/Gambier|Pacific/Guadalcanal|Pacific/Guam|Pacific/Honolulu|Pacific/Kiritimati|Pacific/Kosrae|Pacific/Kwajalein|Pacific/Majuro|Pacific/Marquesas|Pacific/Nauru|Pacific/Niue|Pacific/Norfolk|Pacific/Noumea|Pacific/Pago_Pago|Pacific/Palau|Pacific/Pitcairn|Pacific/Pohnpei|Pacific/Port_Moresby|Pacific/Rarotonga|Pacific/Tahiti|Pacific/Tarawa|Pacific/Tongatapu|Pacific/Wake|Pacific/Wallis|WET",links:"Africa/Bamako:0|Africa/Banjul:0|Africa/Conakry:0|Africa/Dakar:0|Africa/Freetown:0|Africa/Lome:0|Africa/Nouakchott:0|Africa/Ouagadougou:0|Atlantic/St_Helena:0|Africa/Timbuktu:0|Egypt:4|Africa/Maseru:8|Africa/Mbabane:8|Africa/Bangui:11|Africa/Brazzaville:11|Africa/Douala:11|Africa/Kinshasa:11|Africa/Libreville:11|Africa/Luanda:11|Africa/Malabo:11|Africa/Niamey:11|Africa/Porto-Novo:11|Africa/Blantyre:12|Africa/Bujumbura:12|Africa/Gaborone:12|Africa/Harare:12|Africa/Kigali:12|Africa/Lubumbashi:12|Africa/Lusaka:12|Africa/Addis_Ababa:14|Africa/Asmara:14|Africa/Dar_es_Salaam:14|Africa/Djibouti:14|Africa/Kampala:14|Africa/Mogadishu:14|Indian/Antananarivo:14|Indian/Comoro:14|Indian/Mayotte:14|Africa/Asmera:14|Libya:17|America/Atka:20|US/Aleutian:20|US/Alaska:21|America/Buenos_Aires:23|America/Argentina/ComodRivadavia:24|America/Catamarca:24|America/Cordoba:25|America/Rosario:25|America/Jujuy:26|America/Mendoza:28|America/Coral_Harbour:36|US/Central:51|America/Aruba:56|America/Lower_Princes:56|America/Kralendijk:56|America/Shiprock:60|Navajo:60|US/Mountain:60|US/Michigan:61|Canada/Mountain:62|Canada/Atlantic:73|Cuba:74|America/Fort_Wayne:76|America/Indianapolis:76|US/East-Indiana:76|America/Knox_IN:77|US/Indiana-Starke:77|Jamaica:86|America/Louisville:88|US/Pacific:92|Brazil/West:95|Mexico/BajaSur:98|Mexico/General:102|US/Eastern:108|Brazil/DeNoronha:111|America/Godthab:115|America/Cayman:117|US/Arizona:120|America/Anguilla:122|America/Antigua:122|America/Dominica:122|America/Grenada:122|America/Guadeloupe:122|America/Marigot:122|America/Montserrat:122|America/St_Barthelemy:122|America/St_Kitts:122|America/St_Lucia:122|America/St_Thomas:122|America/St_Vincent:122|America/Tortola:122|America/Virgin:122|Canada/Saskatchewan:129|America/Porto_Acre:131|Brazil/Acre:131|Chile/Continental:133|Brazil/East:135|Canada/Newfoundland:138|America/Ensenada:143|America/Santa_Isabel:143|Mexico/BajaNorte:143|America/Montreal:144|Canada/Eastern:144|Canada/Pacific:145|Canada/Yukon:146|Canada/Central:147|Asia/Ashkhabad:165|Asia/Phnom_Penh:169|Asia/Vientiane:169|Asia/Dacca:178|Asia/Muscat:180|Asia/Saigon:185|Hongkong:186|Asia/Tel_Aviv:191|Israel:191|Asia/Katmandu:195|Asia/Calcutta:197|Asia/Macao:201|Asia/Ujung_Pandang:203|Europe/Nicosia:205|Asia/Bahrain:212|Asia/Aden:215|Asia/Kuwait:215|ROK:218|Asia/Chongqing:219|Asia/Chungking:219|Asia/Harbin:219|PRC:219|Singapore:220|ROC:222|Iran:225|Asia/Thimbu:226|Japan:227|Asia/Ulan_Bator:229|Asia/Kashgar:230|Asia/Rangoon:234|Atlantic/Faeroe:241|Iceland:243|Australia/South:246|Australia/Queensland:247|Australia/Yancowinna:248|Australia/North:249|Australia/Currie:251|Australia/Tasmania:251|Australia/LHI:253|Australia/Victoria:254|Australia/West:255|Australia/ACT:256|Australia/Canberra:256|Australia/NSW:256|GMT:262|Etc/Greenwich:262|Etc/GMT-0:262|Etc/GMT+0:262|Etc/GMT0:262|GMT+0:262|GMT-0:262|GMT0:262|Greenwich:262|Etc/Universal:289|Etc/Zulu:289|Etc/UCT:289|UCT:289|UTC:289|Universal:289|Zulu:289|Europe/Ljubljana:294|Europe/Podgorica:294|Europe/Sarajevo:294|Europe/Skopje:294|Europe/Zagreb:294|Europe/Tiraspol:299|Eire:301|Europe/Mariehamn:303|Asia/Istanbul:304|Turkey:304|Portugal:308|Europe/Jersey:309|Europe/Guernsey:309|Europe/Isle_of_Man:309|Europe/Belfast:309|GB:309|GB-Eire:309|W-SU:315|Arctic/Longyearbyen:316|Atlantic/Jan_Mayen:316|Europe/Bratislava:318|Europe/Vatican:320|Europe/San_Marino:320|Poland:333|Europe/Busingen:335|Europe/Vaduz:335|Antarctica/McMurdo:351|Antarctica/South_Pole:351|NZ:351|NZ-CHAT:353|Pacific/Truk:354|Pacific/Yap:354|Chile/EasterIsland:355|Pacific/Saipan:364|Pacific/Johnston:365|US/Hawaii:365|Kwajalein:368|Pacific/Midway:375|Pacific/Samoa:375|US/Samoa:375|Pacific/Ponape:378",index:"9d1c0 c8nw0 7x6o0 b5uo0 6hes0 asw00 9d440 7k800 ast80 9cyk0 8a840 7x9g0 afuk0 9q000 7x3w0 6udg0 9px80 asys0 902o0 9et80 b5xg0 cls40 c8qo0 6hc00 7k580 g7c00 8n400 905g0 a2yo0 9gnw0 66580 b5rw0 25s00 9q2s0 9eys0 8a5c0 9b9g0 67zw0 biw40 1stc0 afxc0 6h980 7kas0 6u7w0 a31g0 6uao0 c8tg0 8zzw0 9d6w0 8n180 7ves0 bitc0 64ak0 c8s20 5reo0 779c0 9ew00 7v980 776k0 7tk40 bqas0 awik0 4ml80 5ed80 cjxg0 64dc0 dbpg0 6ham0 qi27w0 bvus0 5rbw0 a2vw0 9czy0 51ek0 3lpg0 6u9a0 77c40 71mk0 bvs00 3ljw0 awo40 f4d80 clmk0 a4w40 clpc0 9d2q0 64g40 3yik0 ayd80 6a040 3uys0 7thc0 69uk0 biqk0 8a2k0 69weo 1vbzw0 8ovw0 9io40 hxltk0 bvte0 bmtus0 99980 ag040 7x5a0 9a9c0 8p65g0 6zuo0 bs2o0 haas0 316k0 981s40 d0lg0 b0dg0 1tz8c0 2dsw0 fheo0 ci0xc cyqs0 e1ms0 5mf440 49mk0 bvp80 9b6o0 51hc0 8n6s0 73h80 4ofw0 3lmo0 28t6k0 asxe0 b9h80 bq800 38o00 7vc00 5iv8k0 hy7w0 xovw0 18nbw0 8ve2k0 7m2qs0 4tzw0 3fidg0 b07w0 25p80 1tz5k0 2dvo0 -18y0m00 b42s0 7lzw0 9cvs0 4h400 a4tc0 4olg0 7glg0 38qs0 49pc0 cxfk00 a4yw0 8l9c0 auqo0 4qak0 8y580 fkr4rj b9gdg0 1tz2s0 2dyg0 1cm000 b5w20 ayis0 aunw0 cyo00 a16s0 8qqk0 9ts40 7iak0 -1hc7qjz 7rjw0 1sgdc0 2dq40 f4g00 7k6m0 80t80 9d9o0 8jeo0 4ohqo 88ao0 7x820 69vy0 8y800 7ayo0 7rs80 7nuk0 -p1u4k0 2u7jw0 c5jxg0 2dnc0 a7n3w0 7k85k0 1tzb40 bu040 ipzw0 4bh80 9o5c0 9ct00 7rmo0 b0ao0 a8io0 ap9g0 4oio0 bko00 73k00 71pc0 eeio00 cjvlc 7idc0 2vmk0 51k40 1leo0 3ylc0 9zc40 8sl80 99es0 8bx80 bxpg0 7tek0 1tzdw0 4bms0 tj1g0 -18y0j80 7yyk0 at4c0 9q1e0 cyl80 8yas0 1sqk0 asum0 b8qdc0 t83xc0 ci1e0 b7pc0 9o2k0 3jp80 7pp80 cnms0 4deo0 a6qs0 9xhg0 8wak0 9mdg0 b2840 430lc0 bvxk0 6u540 27s800 1u93w0 asqg0 -p1u7c0 6w840 doo40 acas0 1c9440 7xc80 ci2s0 ihslg0 cawis0 6bp80 s36s0 4ffjj 5eis0 vonw0 e1h80 autg0 s3400 qnc40 88dg0 6zxg0 7rpg0 7z440 ar1c0 e1k00 e3flc 75bw0 sg2o0 91xc0 9dcg0 7kdk0 -qcx400 5q5zo0 9q5k0 27sas0 5luo0 6sg00 92040 7el80 awqw0 3afw0 d2g40 e1sc0 ssyk0 9vms0 9kis0 c8w80 b9k00 b7yik0 12y080 f2123j z9g0 8jbw0 2txg0 9o840 93p80 bfxjw0 pmdk0 591h80 3ie2s0 axvpg0 dpgw40 cvw0 5nmk0 8aaw0 8drw0 1tz000 2e180 514g40 iqwe3j 8a2lo tw040 1cm2s0 ae5g0 53980 erk40 2vs40 2mg00 hc4x7j 9f1k0 ckinw0 2qk2k0 1ckdo0 9iik0 7ig40 69xc0 2f1c0 10q800 2kjk40 1weyo0 bbhg0 8ulg0 8hms0 1mn180 aaak0 777y0 9kd80 2bufw0 bodc0 1b2g00 saio0 st1c0 97zyu0 biuq0 8a3y0 ggp1c0 79400 8c000 9ruo0 1frw0 75hg0 89zs0 922w0 eeio0 29fk40 29hhk0 9cmd40 cloeo 2qx1nl 53c00 3i040 eluk0 1jms0 657w0 3ifxg0 va040 2xi840 xqqk0 45x80 47uo0 23xc0 1qyo0 40g00 4mo00 2vpc0 2iqo0 gkao0 -100edc0 8sqs0 kn7o60 8l6k0 8ufw0 7frw40 wrpg0 4mqs0 95jw0 93us0 235k00 1tyug0 2e6s0 1l940 2yl440 6qik0 3g880 bktk0 27qdc0 1sgak0 ahus0 b7s40 9gtg0 84ik0 ha580 -18y0gg0 dfes0 9vi5zj vauo00 xes2s0 8zrk0 882c0 bmiwc0 c8ic0 a7n9g0 2yy2s0 2t2t80 cmiwjj puk0 id6s0 1pb260 2dly0 c8tec 6djw0 cv1g0 c6ys0 6w2k0 6j3w0 79180 cedg0 465h80 501ek0 sfzw0 dmtg0 ykt480 3vppg0 9exe0 2inw0 ewvus0 iq5g0 3dlssq 157b7a f4e0q 49hzba aye0q 534ik0 351g0 2fnh80 b73400 b0wwnj amves0 6xxvj 6onw0 bw0c0 7xf00 1lbw0 60l80 8c2s0 dzvtzj hc4zzj alk40 bkl80 b4lbbj cg840 5lxg0 5hoig0 1sns0 3p6is0 66as0 4vxc0 97ek0 a4qk0 bzk5o 69uic 4fio40 1cx860 11jta0 74uc20 9gqo0 8zx40 9tmk0 8wg40 8ql00 1mlho0 c4jojj eeb94d 1kbr2o 2yhc00 8n3jc 1v2p60 iy3o60 t93xtj e5a9c 8fs40 6hn40 o62pbj c51c0 n4x6o0 c4jrbj 5qbjo0 du840 4xp80 97zuo0 gheyo0 4ir9c0 40r400 5eg00 7p9hc0 -s0e080 3s9ms0 7gio0 bbeo0 7eo00 bf400 bdvvrj 6bs00 90b00 fwu800 fj8m0 6w5c0 7xhs0 cyfo0 1kjf00 mbmk0 5clc0 7m2o0 7z1c0 aau2s0 18r9k0 8j940 979rs0 51po0 fxlx80 8fpc0 9nfeo0 5w4rj afyq0 b5ta0 1c9ddzj -u9rgl4 -s9p1ak 24aamk 1yhyo 683lc 668xc 1y8pc 21gem0 2fehm0 cjw20 -154gb8c afgo4r 9idxc0 51mw0 253uk0 8l3s0 jutc0 4uy840 3rdzw0 46xc00 2xco40 kiqg0 -u9rek0 wvoyo0 -1054wgl krj48l 40d80 aqyk0 80ys0 8jhg0 a8fw0 60go40 f9x80 462s0 7m5g0 aqvs0 5anw0 12t80 1w22s0 1sw40 -tblt9g di7nxg 3huk0 2znuk0 2dp9g0 8nt2s0 bp56s0 91vek0 2vt440 k69dc0 129us0 -isdxk0 m2g0c0 vek0 fke5g0 -14nj6io 5rpt0o -kcrsis kixuys azg180 -kcrsow kixv4w 9ac180 -xnxnan 1kdnan 2ve7dd 2yfgkn -yvtfd8 -19xcbc4 je5c00 rl202a -w6p5hg aiwqjg sg1a0 3nbte0 2wu1z0 -u9rk4c zdk5cc -18vsjww em12kw 1jbm840 irxc0 -q3gfrw gl6ajw 422c0 xado0 4bbo0 4s580 1kdpg0 c05bw0 3cf3w0 7vqyw0 75eo0 -1a9dr7w fke44b enxevl u8w00 z3w0 ew40 9nx00 925o0 8l100 gi3440 51mw00 5ytc0 7m0tc0 -14nj4i0 5rpr00 oj2nw0 8lho0 h4z1xp ln70qa h4ywzb ln72wo 1tyx80 2e400 -t85j2o 99k8mo 51udg0 d07nfj -138aaic db2bqc -138a95g db2adg -138a9g0 db2ao0 -138a98o db2ago 7k2g0 -138a8yc db2a6c -138a8l8 db29t8 773s0 27bk00 1p7mk0 -138a8ik db29qk -138a97w db2afw -138a8n8 db29v8 -138a91o db2a9o b2aw0 4qg40 4conw0 14nw0 2gys0 er80jj -138a998 db2ah8 mas0 1um2k0 -138a8oo db29wo 27oio0 12ys0 -15r0ynk lsruo0 ldwofk s4vw0 s6w40 b9ms0 5i37j -1353b18 c5efx8 -t85kv8 99kaf8 4irc40 dikrfj -o0aiaj 46b400 npv1mj -t85j0s 99k8ks q2ha3j -u52ic0 3edkc0 6uc20 1mtz80 6c8o0 xulg0 319de0 3e580 4mcys0 -18vs838 hw37f8 -t85grk 99k93k 62xk40 jg3pzj -18s2sy8 g0p400 14f1hi8 ndm37j 1um840 9s7jw0 doik0 -q3gdc0 bjeec0 ct40 7kj40 -t85hvw 99ka7w 7ggw40 -15r0wxs bjfjzw rlo83w meoxm0 4dps00 bc2g7j -uj7yb4 tcw6r4 10ovsjj dbjw0 -15r0trn g74lc0 ubtl3n 5jso40 2xh80 -18vrx38 h39xv8 vbus0 -t85hm4 99k9y4 w5hg0 -u7lckd rlo7qd -rvusjk x8nx3k 53hk0 -1079suk 97l62k 465k00 3e2is0 -18vrweg hw36ug ataw40 -xx8dyd 5eraud dyeyk0 9rlbxo 71s2c 2cmdg0 -x1yazk 629ink 29ek0 h6lg0 9l0g40 ctzk40 -t85f28 99ka68 7hg2s0 -pkm4tc ymao5c -18vrvy1 hw36e1 -t85kvc 99kafc -z94kwc 89fk8c 3y8g40 9pa5g0 -18vs7h8 hw35go 8kjbw0 kzjyk 6y2s0 22420 -15r0w5s biv7pq z3brw2 1kj6o0 -qqqskk ss0akk 4tidg0 3wwas0 7n5ms0 -15r0ujs le9mf4 wb620o nglhvj -smcak8 vj4sz8 81rf90 ok03bj -z94k80 777go0 st9o0 6kyk0 5v180 bh1g0 6uj00 -15r0u2w ijto08 1icfyo 62s040 1fhs40 9s9k40 baw840 19q7w0 5qonw0 s3180 1twas0 7j5400 2wsas0 fvt9g0 eu02o0 1tw580 4gyis0 7txx80 hfzhg0 2lz980 c8l40 -8ve5c0 6fce80 71i2w0 -eb6ao0 1l3h80 -15r0v42 biv6o0 wbl182 h4yu44 ln707v sg5g0 a98o40 ast9o 1sw2c 21gis0 3j3xc0 bs6g40 -15r0wpo lt1400 1j8fb57 -15r0v2c 9ov9co fcxjlo nw16s0 e5c40 1fr1g0 1yiys0 muzpvj 1a3c5o f2iic owao0 -t85ldw 99kaxw 1wf1g0 -15r0tcs n7jmo4 ka1i0o 24p6s0 60itw0 dq240 53es0 235h80 4beis0 7x140 -t85gvw 99k97w mx1vbj -15r0y0s b4o2o0 zz5x4s -17zjvrx gz53bx 1at9g0 2396k0 hoyk0 6ys0c0 h4ytl5 ln70qu gpc840 2itg0 3knek0 rf440 5t6k0 1evk40 30p1g0 nufxo0 -ulmyxk zzqbdk 3m59g0 428jj -18wys04 9nu9w4 89fhg0 7mqqo0 cao40 6fek0 bkqs0 6y5k0 6uiyc -w4mll9 67elc0 1s74p9 3ydyq0 6do20 ppvy0 4mmm0 8g9qq0 901a0 38pe0 2nf9g0 1e3s40 9o3y0 q8he0 2kik0 yxhg0 2vl60 5rg20 weqs0 gk7w0 41iys0 3wnw0 614qs0 bxogjj -u6m4c6 fqrow6 1e5h80 1lhg0 a0nc0 3awk0 9o00c0 -18y0os0 -1353bnk c5edrk h4yzup ln72ta 1l6c0 -t85lzw 99k8rw iqwgvj -rvumf4 x8nqz4 -15r0uls 9jvmqg -pkmlc0 b0ke00 -usj4g8 cixc0c 5lydbk kcrm6c rtftxj zjedo bs6lmc -15r0vxs e4gmng ylcf6c 3vpjw0 2stv00 pkg40 -u6m79w -t85g60 99k8i0 q2h7bj -10xhp3b mhp1jb 1ppu40 -15r0w78 ag6lai -1353ahk c5efdk -6s8lc0 4c6oo0 -t85ljc 99kb3c -xkq9yc 6l1hmc 60enw0 1b6840 66gc0 -bnp9c0 97nco0 -t85fg0 99kak0 -t85hvc 99ka7c fflsjj -15r0w8q ag6lc0 229zw0 2gt80 -15r0we0 mkixco hiw29c 1dy840 62ha0 cnle0 4h2m0 elyq0 47ta0 ei9e0 4bim0 eek20 4dda0 ecpe0 dkmtg0 -t85jd8 99k8x8 5k02s0 9vi8rj -rvurxk x8ntpk h4yua0 ln701z -18vs8wk hd05k0 ar440 9tjs0 dkys0 7tmw0 1wfuk a3480 -xkq9d4 6l1h14 3yles0 5j4lg0 -pfzh6k yho0ik 96x1g0 -rvuj9g 12yzilg -1353bh0 7tsg50 gr8qs0 ctmlg0 -p1u1s0 11jrw0 1sns00 71s40 5iidg0 1q6700 4lfk0 190g40 2r4o80 84qys0 -1353das c5efes 7yx60 aqzy0 9q8c0 7jzo0 xjeo0 -18vrvv8 hw36b8 -1079tno 97l6vo tiyo0 6qp440 -171bfcc f0j80c tj700 9ok840 2a5hg0 h4yv3i ln720h -i9m2o0 3pk3o0 -irxc0 lag4o0 73bo0 uz1o0 pz9g0 89u80 acgc0 80no0 asw1o 90x5tv -6rmdc0 42jdw0 27wgs0 l8uss0 7eqs0 unmk0 60qs0 dismrj -c05eo0 2mks80 2i72g0 16dxkzj -10mb9c0 8ts4g0 11wns0 f4kh40 a6p8g0 -8aelc0 t22y80 eqvo3j -2lxhc0 31ho0 46b6s0 3lxs00 vwm8zj -6qsqo0 169crnj ibruo0 27pg0 -6aaao0 15subnj -nu1a90 37a0d0 hc52rj -kcrtbk m566fk 3e6840 epmo0 wel80 -nu1sv8 379zj8 -nu15b4 379y74 qrh3w0 -nu16l4 379zh4 -nu16t8 379zp8 o0b7vj -nu15m8 37a1a8 qrh140 -15r1hk4 em11c4 xkn3w0 ftcjnj -nu158c h4tkwc 1twdk0 blsznj -1ayyla4 l06800 1phce9n -q4ljic 5hu6uc 38fo0 64og0 bdw43j -1ayy98o kzyuco hjqo40 5lhs40 56yk0 2wxus0 bs5g0 86d80 -nu19tc 379zxc 9db20 73aa0 gxhgbj -mvofy4 3khxs4 1itqj5j -q4cfog 5hkxgg qnew0 bdw9nj -xmct7c 11sndrc 9eqg0 s6qk0 3nc0c0 -1ayyhgc dkh6ns isle6k cajy0 1mp2u0 qetjw0 4xvqq0 gktuxj -q3gk20 5k6q0 k4hk40 887w0 2eh1g0 pvk40 c33w0 7cw40 cjrw0 btuk0 9rxg0 91uk0 -15r1q2s r080dw bmgyw 4qknw0 u4ijy0 a1400 en10fj -u9s4l8 fqcu98 hufs00 cpz440 jhkf7j -q3gnko 1pm0ok7 -nu18qo 379yuo o73qnj -p4bqac rvhy2c 8h8w0 leog0 -1054x1s kp9t1s ahs1o 71mic -1054x5z kp9t5z 82nw0 anes0 1hs40 -x56934 2isioa gj25iu 15ct80 8so00 tmtk0 4azjw0 2cmao0 8285c0 wo9b7j -y0i0s0 j44dk0 5k000 4d4y0 2195i0 bj320 -xmcoz0 11sncb0 b4l8jj -1ayylz5 kwq5c0 5fh175 c4jlrj -1hftyg0 tfikqo 4lzxc0 4wdzjc 1tu960 -jebm20 66bqe0 a37vy0 -1ayy96u jtxuoe bp5aig t9pc0 571c0 34yo0 a6o00 dolc0 8rfeg0 apf00 9vh80 9tuw0 -15r1m5c spc1pc 1ck9lfj -olrupo 3z045o -wvpb30 im3zt0 33xpg0 a63o20 g72qo0 2y85g0 -q3gt4s yg2lus r5y89j -q4cjrp 5hl1jp 3fx40 4h6s0 -1oaa314 83glc8 isc6tm innm9a bmfw0 -q37l72 5gg8j2 c4jizj -100ew5y 2ax69l -mvof3k 3khwxk 1epvy0 3ajlc 1v2qk0 1c77lzj -y0i2cy jdvyoy ac580 11luw0 awlc0 ac800 bw1q0 -nu1nxc 37a05c s39k0 bcgkjj -q3gzg0 6p5hc0 4u87w0 1w02k0 -1t8ix2o sd8tc0 jk45io 2qidg0 1b2d80 4xf440 442k0 cdqdg0 -p4bq6g rvhxyg -nu36tc 37bu5c dzvg3j -q4do0s 5hmbcs 2vh00 b7rqrj -q5xmx6 5j6d16 c4jg7j -nu15ic 37a16c qi2540 -w6piww cse2o0 4tnu2w 1wkei0 cixam0 -w895yc 1yh10c hk5da0 10ipmo0 1f4qo0 -q3gmvk rctnrk y9703j -nu17s4 37a0o4 -nu184g 37a10g 7dmqc0 9yi9nj -bwgbbg 1bf0caz -xl87rc kvnarc ikvh40 bdwf7j -nu18eh 37a1ah -w8966g 1yh18g hkx5a0 1faao0 5cik0 1bj6s0 l3aq0 grs40 dfqxi0 -100eztj 9jeyxj asbpg0 bxjw0 1vduk0 d4as0 1dx80 j9xpo0 -100ewkd 2ax6o0 -nu1ogs 37a0os c4ju3j -12mch60 lsd1m0 45slc0 6its40 1yf9g0 -nu18tz 379yxz -1ayyayn h4tjyn h4kmfj -s6m6uw fnolc0 gm3h4w 3pes0 42c20 5ja5g0 7avw0 1av440 -bojclo kxymno q94qxj -16snno0 vhjeo0 -q3zbqf 5h7z2f 97k40 bang3j -xmcrsk 11sncck -lx5pjw 1lfpqjf -q4cl6u 5hl2yu 9eno0 -oligf7 3yqvf7 -q4cioy 5hl0gy -1ayykhb kvhpc0 bnjp3b 1kh520 1ce01zj -rx5hw9 1kybx4 5pfyv5 c4jdfj -nu148o h4tjwo dopfvj -18vsdww em124w -15r0xbu e851c0 5w74c0 69z5ru eefw0 st440 1xuw40 94r9g0 -oytbtc ctvupc hhq7s0 -u9rbs0 g06lc0 fpqwc0 wfqtvj -wcehew 127keuw -18vsfjc em10zc -wcwx9c 4rpd9c p7bw0 4w040 9bdzw0 -15r12kg 259l3jz -15r0ymc bkx9c0 dbvxqc l1pus0 eaalnj -133j2zw 27qdzw -1354kc8 bhbss8 -133j3j0 t9nr0 1egqs0 -133j1k8 27qck8 -12nxx74 b05944 f1bt2j -12smja4 b03ee4 bx2ao0 c9tk00 -1354jl8 bhbs18 -133j6sk 18x8f0k c8uu0 9pym0 5j1xj -133j46g bfqcmg -12nxusc b058sc -133j5c4 bfqds4 -r0esg0 -r0ev80 -1ygf4wk 16g19c0 a51o0 6l1c0 ci000 682o0 bgyo0 bmio0 bd9c0 7ctc0 btxc0 21uc0 4uaz8 bd3s0 1aarpc -100edm4 nvgqy4 k3ctg0 -nu2zkc 37bv8c -12rxtq4 aw2tdo 8bjasg 4hiw40 16ik0 scog0 7lx40 4atzw0 bplus0 71uw0 9qgo0 9akg0 -18vsmgo twhnko swz00 6qlc0 jl1hc0 -1421154 c1n0x4 2o7w0 fx91c0 -1ayy3h6 6forh6 br3hc0 rrx80 2wh40 5omo0 1a36k0 -14u7wu0 krxxc0 kp0dc0 -15bee78 db0dz8 aq1x00 thcc0 awd00 7pxk0 9rrw0 2f4vs0 br3bs0 -1ayy808 jw96ok 70f1to geqo0 oc8g0 7cl00 j3pbw0 -15r1bnw bo7orw cbs2w0 1aco80 6y000 dbmo0 giutc0 -1anxquc iol48l 9pytr 3g8800 -1anxr0c iol38c d0tp80 -1bss9yd mebs00 ax3tqd k31s80 -1ayy814 g1oam8 2wvx6w 1tjc40 tzpg0 7p4040 4zjw0 1u5ek0 c5440 5md9g0 o9zw0 4iwyw0 4iqc0 2nkw80 38l80 kdes0 8qtc0 b4000 8fe80 b5gbzj -14212go c1n28o el00 z6o0 82tg0 i9avw0 -1ayy8bg 37a03g 5vd6k0 kzv40 1oyg0 jipzs0 neqw0 c4j7vj -18vsgyr em0zmr 5gyl40 -1rprx9x zqf9hx -y89550 68l290 796s0 at1k0 3lh40 4zmo0 b6300 6u2c0 cytk0 7at40 7rh40 8n9k0 8ncc0 42ao0 1aeak0 90sik0 2d2vw0 40lh80 5k2s0 j1c80 13yt80 685g0 brzw0 1clx80 cswik0 -13qyw0s bsbx8s ahs00 b45k0 -1ayy7rs n4x6og 379zjc 5r1mk0 pbf40 4oac0 j6dmk0 dzv4zj -14hnyp8 9tlnln 2pzpnl mdbo0 9nzs0 -1ayy9mh j1sw00 ipzua 97hc0 5i840 d9p80 1jwk7 2cvk0 s8o00 1qvw0 is040 412as0 -1353tzo b5svbo 6qfs0 cgcqo0 15tsc0 70q5c0 7law00 -154gb3l afgo00 5p8w0 18rcc0 7efo0 29k40 -1qmkw08 lsd1c0 cttug8 4bk00 fe6000 -1ayy74y jzalk0 3myns0 7fhlky gz180 p5v40 k7s0 j14ns0 qaao0 -1hs7rn8 e170v8 bsds00 12w00 dzv7rj 13m040 b0x7rj -1ayy8zc n4x6oo 37a0qo 5xiyk0 iu340 iac0 jajmk0 wrjw0 -1ayy6zg 7s708k p0d6uw hqq240 90880 9pug0 -1bhq3cc ayjpvy 8jiake x5bew0 -1ayy790 jvj9c0 3re10 et6g0 ygov0 a1zgd0 ktx80 l94g0 8uac0 j27mk0 19dc00 -t85vo8 dt2gw8 18pew0 m800 g7ot40 -15cztgo ptztko al900 int140 iprk0 -14211ox c1n1gx t6000 a7a800 iio0 ivmo0 gfyyg0 -1ayy7cs jb5y4s 1g224o e75nc 4kqk0 acbs40 gpp40 pits0 65zo0 j4vx80 1s3eo0 -q3cw84 5glrw4 239c40 14oqk0 8wl57j -1ayy6k0 iko800 dvyc0 1evbs0 9fcwc0 18cao0 an980 4013w0 6j4tc0 -1ayy96g n4x6p4 37a0xc 5u1180 mc0g0 12qg0 jjc7s0 -1os49kw lc05ja ohmxdm k2zus0 -wvpc2s 1ag64us ly387j -133iwws 22m2xwb -10j6sm4 201qtln -afrs00 19ybszj -wvp8xo 1we99x7 -1ayyga0 15r19c0 14qh7xj -wvp9bc 13jnu7c dd0wc0 f1binj -uks29s 1u3c39b -r0epo0 -r0emw0 -14fxxj4 kcrmt4 vp3la0 9odo0 4zbk0 4qog0 -1gsoz14 usn9z4 afvy0 7k9e0 2qrd20 f1tpk0 -1ayyvh4 7tuc88 osc24w 1n05g0 1071c40 c1b0jj -1gsp0n0 149qqm0 f1tq90 -1t8j2rw 76a5nw 29hes0 bkenw0 -15r0p2w m9leo0 ivmeuw -u964i4 wbu364 4y8qs0 nh8ybj -100dhng 153j0bg 7yiqk0 mgvrrj -100dhmg 1lxe1ig dljh3j -sa2x4w 17bs00w 53a5c0 erhc0 hn6o0 1fuo0 4q3j -100fais 1zizbib -kcr62o spdryo 3lsas0 nglf3j -tvndoc 1te7env -tvowac 1te8x9v -1t8j1h0 ld6pp0 1dl9g0 7s1k40 txp80 3frms0 qdrpo 7kgac 16uo40 16aas0 4ivxo cls2c c65zw0 -12lnw3m jgnatm 13l00 4jvb00 1tyvu0 2e5e0 votg0 -100dk74 153iz5s 7yirhc mgvujj -1t8j4uk 76a4yk cm2540 f9l3w0 kdq4zj -100f8bk ise0fk 1hjus0 ddxug0 cgv6k0 n6g2bj -100f91c 76a6hc 1h6w40 deat40 znb8vj -tvncu0 1te7dtj -pjxiws ba66ys 1kwca0 hfzda0 urfndj -100dhv8 q3eiok ehcj4o uy6h1j -100f8fs q3eins cfj8q0 l6nk00 239aq0 5j3bj -u9645o ye0ixo 4dbw0 ecqs0 4f6k0 99p700 lc6nbj -14fxxq0 -1t8izkk 1ziz383 -100dp8s 1esg26s kqho1j -1t8j3ys 76a42s -1ayytx4 7tuao8 22nok8f -100djqw 14mwsww ogumlj -tvnayw 1te7byf -100f9dg 1zizacz -100fbk8 kvjjyw uo2edc eelg0 7pmis0 ays7jj -100f86s 1ziz96b -100fbdk 1zizcd3",zoneinfo:["0_35yd7_-2eg51_CI,BF,GM,GN,ML,MR,SH,SL,SN,TG_LMT:0:-qw|GMT:0:0_1_fc","0_3ayeo_-4n6j_GH_LMT:0:-1g|+0020:1:xc|GMT:0:0|+0030:0:1e0|+0030:1:1e0|GMT:0:0_2121212121212121212121212121212121212121212121232424242424242_fd fe ff 5y 2n 39 2n 39 2n 39 2n 5y 2n 39 2n 39 2n 39 2n 5y 2n 39 2n 39 2n 39 2n 5y 2n 39 2n 39 2n 39 2n 5y 2n 39 2n 39 2n 39 2n fg ad fh ad fi fj fk 58 6n 58 fl 58 6n 58 6n 58 6n 58","2s0_lwe79_1tde8_DZ_LMT:0:kc|PMT:0:fl|WEST:1:2s0|WET:0:0|WET:0:0|CEST:1:5k0|CET:0:2s0|WEST:1:2s0_1423232323232324656564642376564746_fm fn ae 83 59 48 3q 4g 5z 6o 84 4r 5a af fo ag fp fq 6p 85 fr fs ft fu fv 2 fw 1d b 6 fx 6 x 9","0_71zio_-9a06d_GW_LMT:0:-2vw|-01:0:-2s0|GMT:0:0_12_fy fz","5k0_hw2q8_ilsnk_EG_LMT:0:5sl|EEST:1:8c0|EET:0:5k0|EEST:1:8c0_2121212121212121212121212121212121212121212121212121212121212121212121212121212121212121232323232323232323232323232323232121212_g0 g1 g2 18 e 2b g3 g4 3z 1n 3z g5 g6 g7 86 28 1l 87 1n 3z 1n 2g 1n 2g 1n 2g 1n 3z 1n 2g 1n 2g 1e 1p 1e 2g 1e 1p 1e 1p 1e 1p 1e 2g 1e 1p 1e 1p 1e 1p 1e 2g 1e 1p 1e 1p 1e 1p 1e 2g 1e 1p 1e g8 ag ah g9 2g 1e 1p 1e 1p 1e 1p 1e 2g 1e v ga 1p 1e 1p 1e 2g 1e 1p 1e 1p 1e gb e h e h e h e k e h e h e h e h e k e h e h o k 17 1x 15 1a 1g 3a gc ai gd ge 40 gf 60","2s0_k18i8_-4ijc5_MA_LMT:0:-1ek|+01:1:2s0|+00:0:0|+01:0:2s0|+00:1:0_21212121212121212321212121212121212121212121212121212134343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343_gg gh gi 61 gj gk 1m gl aj ak 6q al 4h 3b 6r 6s 88 am an gm 4h 3b ao 89 21 1a 1g 8a ap 62 aq 5 3k ar as 2 at 13 6t 2 63 13 3g 2 3k 13 1i 7 au w 1t 7 av 13 19 d 13 p w p 13 p w p w p 13 p w p 13 aw 13 p w p 13 p w p w p 13 p w p 13 p w p w p 13 p w p w p 13 p w p 13 p w p w p 13 p w p w p 13 p w p 13 p w p w p 13 p w p w p 13 p w p 13 p w p w p 13 p w p w p 13 p w p 13 p w p w p 13 p w p w p 13 p w p 13 p w p w p 13 p w p w p 13 p w p 13 p w p w p 13 p w p w p 13 p w","2s0_ld3r9_-35yd7_ES_LMT:0:-zg|WET:0:0|WEST:1:2s0|WET:0:0|CET:0:2s0|CEST:1:5k0|CET:0:2s0_121232323232121212121456565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656_ax gn e go ay 8b 3h g r s i gp aj ak 6q al 4h 3b 6r 6s 88 am gq 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_g5x2o_-7ux6o_EH_LMT:0:-2g0|-01:0:-2s0|+01:1:2s0|+00:0:0|+00:1:0|+01:0:2s0_132323232323232323232323232323232323232323254545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545_gr gs gt 4h 3b 6r 6s 88 gu 4h 3b ao 89 21 1a 1g 8a ap 62 aq 5 3k ar as 2 at 13 6t 2 63 13 3g 2 3k 13 1i 7 au w 1t 7 av 13 19 d 13 p w p 13 p w p w p 13 p w p 13 aw 13 p w p 13 p w p w p 13 p w p 13 p w p w p 13 p w p w p 13 p w p 13 p w p w p 13 p w p w p 13 p w p 13 p w p w p 13 p w p w p 13 p w p 13 p w p w p 13 p w p w p 13 p w p 13 p w p w p 13 p w p w p 13 p w p 13 p w p w p 13 p w p w p 13 p w p 13 p w p w p 13 p w p w p 13 p w","5k0_-fmmmo_go4xs_ZA,LS,SZ_LMT:0:56o|SAST:0:460|SAST:1:8c0|SAST:0:5k0_132323_gv gw az 9 6 9","5k0_2vya8_itnkr_SS_LMT:0:5us|CAST:1:8c0|CAT:0:5k0|EAT:0:8c0|CAT:0:5k0_21212121212121212121212121212121232_gx gy b0 2b 1d 6u 1d 18 2p 4s 4t 64 65 6v 6w 4u 4i 2b 1d 18 2p 4s 65 6v b1 8c 6w 4u 4i 2b 2p 4s 4t b2 gz","5k0_9ad1c_jdavp_SD_LMT:0:60w|CAST:1:8c0|CAT:0:5k0|EAT:0:8c0|CAT:0:5k0_21212121212121212121212121212121232_h0 h1 b0 2b 1d 6u 1d 18 2p 4s 4t 64 65 6v 6w 4u 4i 2b 1d 18 2p 4s 65 6v b1 8c 6w 4u 4i 2b 2p 4s 4t b2 h2","2s0_3u8uo_20vgg_NG,AO,BJ,CD,CF,CG,CM,GA,GQ,NE_LMT:0:mn|GMT:0:0|+0030:0:1e0|WAT:0:2s0_1023_h3 h4 h5 h6","5k0_-fgk0b_jedgl_MZ,BI,BW,CD,MW,RW,ZM,ZW_LMT:0:618|CAT:0:5k0_1_h7","0_3r140_-6f4h1_LR_LMT:0:-1zw|MMT:0:-1zw|MMT:0:-226|GMT:0:0_123_h8 h9 ha","8c0_-ri85_lx3x7_KE,DJ,ER,ET,KM,MG,SO,TZ,UG,YT_LMT:0:6tg|+0230:0:6y0|EAT:0:8c0|+0245:0:7n0|EAT:0:8c0_12132_hb hc hd he hf","2s0_77pa3_8yknk_TD_LMT:0:2sc|WAT:0:2s0|WAST:1:5k0_121_hg hh 4v","0_7579_40bh1_ST_LMT:0:18w|LMT:0:-1p9|GMT:0:0|WAT:0:2s0|GMT:0:0_1234_hi hj hk hl","5k0_jl5sw_7ukbp_LY_LMT:0:2fw|CEST:1:5k0|CET:0:2s0|EET:0:5k0_21212123212121212121212123213213_hm hn ho hp hq b3 hr hs ht b4 j 6 j y j 6x b5 2q 9 66 j y j 6 j 6y hu 8d j hv hw 5","2s0_lwr28_629id_TN_LMT:0:1vw|PMT:0:fl|CEST:1:5k0|CET:0:2s0|CET:0:2s0|CEST:1:5k0_1423245454545454232323232323232323_hx hy hz 3 af i0 b 8e 7 i1 i2 67 6 i3 i4 i5 i6 7 8f 3q i7 i8 0 0 8f 2j i9 1n b6 3 7 3 2 5","5k0_-dfojv_a6ig0_NA_LMT:0:360|+0130:0:460|SAST:0:5k0|SAST:1:8c0|WAT:1:2s0|CAT:0:5k0_12325454545454545454545454545454545454545454545454545_ia ib az 9 ic b7 id 8 b v 16 v b 8 b 8 b 8 b 8 b v 16 v b 8 b 8 b 8 b 8 b v b 8 b 8 b 8 b 8 b v 16 v b 8 b 8 b 8 b","-rs0_uvyv4_-2x6e88_US_LMT:0:xya|LMT:0:-wpq|NST:0:-uk0|NWT:1:-rs0|NPT:1:-rs0|BST:0:-uk0|BDT:1:-rs0|AHST:0:-rs0|HDT:1:-p00|HST:0:-rs0_1234256565656565656565656565656565679898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989_4w ie if b8 b9 8g 8h 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g ba 5b 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-p00_10g45k_-2h8vsm_US_LMT:0:12wo|LMT:0:-rrc|AST:0:-rs0|AWT:1:-p00|APT:1:-p00|AHST:0:-rs0|AHDT:1:-p00|YST:0:-p00|AKDT:1:-m80|AKST:0:-p00_1234256565656565656565656565656565679898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989_4w ig ih ii ij 8g 8h 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g ba 5b 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-8c0_-4abk0_-sp3cw_BR_LMT:0:-8xc|-02:1:-5k0|-03:0:-8c0_2121212121212121212121212121212121212121212121212122_ik il 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r 3a 1r 1u 1g bb 1g 1a 17 68 4v 12 17 12 o 12 17 1a 15 1u 1r im 1g in","-8c0_-kllj4_-yssb4_AR_LMT:0:-ato|CMT:0:-bw0|-04:0:-b40|-03:1:-8c0|-02:1:-5k0|-03:0:-8c0_12323232323232323232323232323232323232323254545454545453545455_io ip 3r 11 2b 3i l u l u l u l 11 l u l u l u l 11 2h 3s 2h 3t 2i 3u 35 3v 2i 2f 1o 25 1o 25 1o 2p 6 g 6 9 6 3l 21 3w 3x 12 1m 1x 17 1x 17 1x 1m 3y 2j 6z 2f k o 8i","-8c0_-gy50r_-135yqt_AR_LMT:0:-c6k|CMT:0:-bw0|-04:0:-b40|-03:1:-8c0|-02:1:-5k0|-03:0:-8c0_12323232323232323232323232323232323232323254545454245453525455_iq ir 3r 11 2b 3i l u l u l u l 11 l u l u l u l 11 2h 3s 2h 3t 2i 3u 35 3v 2i 2f 1o 25 1o 25 1o 2p 6 g 6 9 6 3l 21 3w 3x 12 1m 1x 17 70 71 1x 1m 3y 2j 72 8j 73 2f 4j","-8c0_-ip0e8_-127o6d_AR_LMT:0:-bw0|CMT:0:-bw0|-04:0:-b40|-03:1:-8c0|-02:1:-5k0|-03:0:-8c0_12323232323232323232323232323232323232323254545454245453545455_is it 3r 11 2b 3i l u l u l u l 11 l u l u l u l 11 2h 3s 2h 3t 2i 3u 35 3v 2i 2f 1o 25 1o 25 1o 2p 6 g 6 9 6 3l 21 3w 3x 12 1m 1x 17 70 71 1x 1m 3y 2j 6z 2f k o 8i","-8c0_-eebz9_-12vlsw_AR_LMT:0:-c3c|CMT:0:-bw0|-04:0:-b40|-03:1:-8c0|-02:1:-5k0|-03:0:-8c0_123232323232323232323232323232323232323232545454232454535455_iu iv 3r 11 2b 3i l u l u l u l 11 l u l u l u l 11 2h 3s 2h 3t 2i 3u 35 3v 2i 2f 1o 25 1o 25 1o 2p 6 g 6 9 6 3l 21 3w 3x 12 1m 8e 1m 2v iw 1x 1m 3y 2j 6z 2f 4j","-8c0_-hiuwl_-13stsg_AR_LMT:0:-cdo|CMT:0:-bw0|-04:0:-b40|-03:1:-8c0|-02:1:-5k0|-03:0:-8c0_123232323232323232323232323232323232323232545454542545453525455_ix iy 3r 11 2b 3i l u l u l u l 11 l u l u l u l 11 2h 3s 2h 3t 2i 3u 35 3v 2i 2f 1o 25 1o 25 1o 2p 6 g 6 9 6 3l 21 3w 3x 12 1m 1x bc bd 8k 17 1x 1m 3y 2j 72 8j 73 2f 4j","-8c0_-jksxx_-14yza3_AR_LMT:0:-cqs|CMT:0:-bw0|-04:0:-b40|-03:1:-8c0|-02:1:-5k0|-03:0:-8c0_12323232323232323232323232323232323232323254545423232453525455_iz j0 3r 11 2b 3i l u l u l u l 11 l u l u l u l 11 2h 3s 2h 3t 2i 3u 35 3v 2i 2f 1o 25 1o 25 1o 2p 6 g 6 9 6 3l 21 3w 3x 12 1m be 25 1o 3i 1x j1 3y 2j j2 4 j3 2f 4j","-8c0_-uqoj9_-157jx7_AR_LMT:0:-ctg|CMT:0:-bw0|-04:0:-b40|-03:1:-8c0|-02:1:-5k0|-03:0:-8c0_12323232323232323232323232323232323232323254545454545453525455_j4 j5 3r 11 2b 3i l u l u l u l 11 l u l u l u l 11 2h 3s 2h 3t 2i 3u 35 3v 2i 2f 1o 25 1o 25 1o 2p 6 g 6 9 6 3l 21 3w 3x 12 1m 1x 17 1x 17 1x 1m 3y 2j 72 8j 73 2f 4j","-8c0_-er6xx_-12y3tn_AR_LMT:0:-c44|CMT:0:-bw0|-04:0:-b40|-03:1:-8c0|-02:1:-5k0|-03:0:-8c0_123232323232323232323232323232323232323232545454542454535455_j6 j7 3r 11 2b 3i l u l u l u l 11 l u l u l u l 11 2h 3s 2h 3t 2i 3u 35 3v 2i 2f 1o 25 1o 25 1o 2p 6 g 6 9 6 3l 21 3w 3x 12 1m 1x 17 70 71 1x 1m 3y 2j 6z 2f 4j","-8c0_-irv9x_-14sjsr_AR_LMT:0:-cos|CMT:0:-bw0|-04:0:-b40|-03:1:-8c0|-02:1:-5k0|-03:0:-8c0_123232323232323232323232323232323232323232545454542545453525455_j8 j9 3r 11 2b 3i l u l u l u l 11 l u l u l u l 11 2h 3s 2h 3t 2i 3u 35 3v 2i 2f 1o 25 1o 25 1o 2p 6 g 6 9 6 3l 21 3w 3x 12 1m 1x bc bd 8k 17 1x 1m 3y 2j bf 8l bg 2f 4j","-8c0_-ju3az_-13i3zk_AR_LMT:0:-cac|CMT:0:-bw0|-04:0:-b40|-03:1:-8c0|-02:1:-5k0|-03:0:-8c0|-03:1:-8c0_123232323232323232323232323232323232323232545454232535254323255_ja jb 3r 11 2b 3i l u l u l u l 11 l u l u l u l 11 2h 3s 2h 3t 2i 3u 35 3v 2i 2f 1o 25 1o 25 1o 2p 6 g 6 9 6 3l 21 3w 3x 12 6r jc 25 jd je 2j bf 8l bg jf jg k o k jh","-8c0_-fyrvf_-12tti3_AR_LMT:0:-c2s|CMT:0:-bw0|-04:0:-b40|-03:1:-8c0|-02:1:-5k0|-03:0:-8c0_1232323232323232323232323232323232323232325454545424545352545455_ji jj 3r 11 2b 3i l u l u l u l 11 l u l u l u l 11 2h 3s 2h 3t 2i 3u 35 3v 2i 2f 1o 25 1o 25 1o 2p 6 g 6 9 6 3l 21 3w 3x 12 1m 1x 17 70 71 1x 1m 3y 2j 72 jk jl 2f k o 8i","-8c0_-wmjy8_-14nwm8_AR_LMT:0:-cnc|CMT:0:-bw0|-04:0:-b40|-03:1:-8c0|-02:1:-5k0|-03:0:-8c0_12323232323232323232323232323232323232323254545454545453525455_jm jn 3r 11 2b 3i l u l u l u l 11 l u l u l u l 11 2h 3s 2h 3t 2i 3u 35 3v 2i 2f 1o 25 1o 25 1o 2p 6 g 6 9 6 3l 21 3w 3x 12 1m 1x 17 1x 17 1x 1m 3y 2j jo jp 73 2f 4j","-b40_-f1jvv_-ybzvv_PY_LMT:0:-aog|AMT:0:-aog|-04:0:-b40|-03:0:-8c0|-03:1:-8c0|-04:0:-b40_1232424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424244_jq jr js jt ju 69 35 4x 35 4x 35 9 y j y 9 y 9 y 9 y j y 9 y 9 y 9 y j y 9 bh 2m y 9 8m o bi 8n bj 5c 44 45 k 69 jv 1m 12 o k e h e h e k 9 16 v b 8 18 o k o k o 12 1m 12 1m 12 1b r g r g 6 1d 18 1d 18 1d 18 1b x 1b x 1b 18 1d 18 1d 18 1b x 1b x 1b x 1b 18 1d 18 1d 18 1b x 1b x 1b 18 1d 18 1d 18 1b x 1b x 1b x 1b 18 1d 18 1d 18 jw","-dw0_t12dv_-1ijrqb_CA_LMT:0:-gys|CDT:1:-dw0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0|EST:0:-dw0_2121345_jx jy 1z 8o 8p 36 37","-8c0_-7qa05_-mxjnf_BR_LMT:0:-74s|-02:1:-5k0|-03:0:-8c0_21212121212121212121212121212121212121212121212121212121212122_jz k0 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r 3a 1r 1u 1g 3a 1g l 1y 1u 21 1u 15 1a 15 1a 1g 1a 17 68 4v 12 17 12 o 12 17 1a 15 1u 1r k1 17 k2","-go0_cdtds_-1qnvf4_MX_LMT:0:-jho|MST:0:-jg0|CST:0:-go0|PST:0:-m80|MDT:1:-go0|CDT:1:-dw0|CST:0:-go0_121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252_5d 5e 4y q 2j y 8q 8r 8s 8t c a c a c a 8 b 8 x o x c a c a 8 b 8 b 8 b 8 a c a c a 74 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 b 8 a c a c","-b40_7ss0w_-zhsij_BB_LMT:0:-b1h|BMT:0:-b1h|ADT:1:-8c0|AST:0:-b40_1323232323_k3 k4 k5 1y 18 1d 18 1d 2v bk","-8c0_-v2ts_-sv5z9_BR_LMT:0:-8z8|-02:1:-5k0|-03:0:-8c0_212121212121212121212121212122_k6 k7 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r k8","-go0_af334_-1gifk0_BZ_LMT:0:-gc0|-0530:1:-fa0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0|CDT:1:-dw0_21212121212121212121212121212121212121212121212123421212121212121212121212121212121212121212125252_k9 ka 1v 1h 23 2s 23 2s 23 1h 1v 1h 1v 1h 23 2s 23 2s 23 2s 23 1h 1v 1h 1v 1h 23 2s 23 2s 23 1h 1v 1h 1v 1h 1v 1h 23 2s 23 2s 23 1h 1v 1h 1v 1h 23 kb kc kd ke 23 2s 23 2s 23 1h 1v 1h 1v 1h 23 2s 23 2s 23 2s 23 1h 1v 1h 1v 1h 23 2s 23 2s 23 1h 1v 1h 1v 1h 1v 1h 23 2s 23 2s 23 1h 1v kf kg kh 60","-b40_um1cr_-y07i3_CA_LMT:0:-aks|ADT:1:-8c0|AST:0:-b40|AWT:1:-8c0|APT:1:-8c0_212342_ki kj 1z 5f 6a 5g","-b40_1odcr_-104ap7_BR_LMT:0:-b8g|-03:1:-8c0|-04:0:-b40_2121212121212121212121212121212122_kk kl 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r km o 12 8u kn","-dw0_2qlds_-183v2d_CO_LMT:0:-dps|BMT:0:-dps|-04:1:-b40|-05:0:-dw0_13233_ko kp kq bl kr","-jg0_pysh7_-1x6mf8_US_LMT:0:-lip|PDT:1:-jg0|PST:0:-m80|MWT:1:-go0|MPT:1:-go0|MST:0:-jg0|MDT:1:-go0_2121253456565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565_bm 2r 8 b 8 ks kt 41 42 4k 9 6 9 6 9 6 9 6 g 6 9 6 9 61 ku 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-jg0_155cm9_-1qjn8q_CA_-00:0:0|MWT:1:-go0|MPT:1:-go0|MST:0:-jg0|MDDT:1:-dw0|MDT:1:-go0|CDT:1:-dw0|CST:0:-go0|EST:0:-dw0|MDT:1:-go0|MST:0:-jg0_312343535353535353535353535353535353535353535768753535353535353535353535353535353535353535353535353535353535353535353535353_kv kw 41 42 5h d 5i 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 2 8 kx ky 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-b40_-c6bbk_-wimhn_BR_LMT:0:-a44|-03:1:-8c0|-04:0:-b40_21212121212121212121212121212121212121212121212121212121212121212121212121212121212121212122_kz l0 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r 3a 1r 1u 1g 3a 1g l 1y 1u 21 1u 15 1a 15 1a 1g 1a 17 68 4v 12 17 12 o 12 17 1a 15 1u 1r l 1g bn 8v 1a 15 1u 1y 1x 15 l 1g l 15 1a 15 1a 17 1a 1g l 1g l 15 1a 15 1a 15 1a 15 1u 1r bo","-dw0_cjw05_-1fnpl7_MX_LMT:0:-g2g|CST:0:-go0|EDT:1:-b40|EST:0:-dw0|CDT:1:-dw0_132323241414141414141414141414141414141413_75 bp l1 c a c a 1g 6b a 8 b 8 x o x c a c a 8 b 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c 61","-b40_691uo_-13um39_VE_LMT:0:-ce8|CMT:0:-ce4|-0430:0:-ci0|-04:0:-b40_123233_l2 l3 l4 l5 l6 l7","-8c0_2xql1_-v5onp_GF_LMT:0:-9ow|-04:0:-b40|-03:0:-8c0_122_l8 l9 la","-go0_owzo0_-1g6n68_US_LMT:0:-g8c|CDT:1:-dw0|CST:0:-go0|EST:0:-dw0|CWT:1:-dw0|CPT:1:-dw0|CST:0:-go0_21212121212121212121212121212121212123212121212124521212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_43 2r 8 b 8 1x 1m 16 v 6 o k e h e h e h e h e k e h e h e h e h e k o k e h e b lb a e h e k o k e h e 76 36 37 h e h e h e h e k o k e h e h e h e h g 6 9 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-jg0_h1pmd_-1r5qf9_MX_LMT:0:-jn8|MST:0:-jg0|CST:0:-go0|CDT:1:-dw0|MDT:1:-go0|MST:0:-jg0_121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141_5d 5e 4y q 2j y bq c a c 8w c a 8 b 8 x o x c a c a 8 b 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 b 8 a c a c","-go0_5wwlx_-1e2745_CR_LMT:0:-fkd|SJMT:0:-fkd|CDT:1:-dw0|CST:0:-go0_1323232323_lc ld le 21 77 21 lf 8x 78 lg","-jg0_t8dsw_-1xdcu3_CA_LMT:0:-lks|MST:0:-jg0|PST:0:-m80|MST:0:-jg0_121_lh li lj","-b40_-9a06d_-xe26d_BR_LMT:0:-adw|-03:1:-8c0|-04:0:-b40_212121212121212121212121212121212121212121212121212121212121212121212121212121212121212122_lk ll 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r 3a 1r 1u 1g 3a 1g l 1y 1u 21 1u 15 1a 15 1a 1g 1a 17 68 4v 12 17 12 o 12 17 1a 15 1u 1r lm 8v 1a 15 1u 1y 1x 15 l 1g l 15 1a 15 1a 17 1a 1g l 1g l 15 1a 15 1a 15 1a 15 1u 1r bo","-b40_794px_-152wqo_CW,AW,BQ,SX_LMT:0:-crn|-0430:0:-ci0|AST:0:-b40_12_ln lo","0_19pdjf_-b43aj_GL_LMT:0:-3gg|-03:0:-8c0|-03:0:-8c0|-02:1:-5k0|-02:1:-5k0|GMT:0:0_1423232323232323232323232323232325_lp lq br 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 lr","-jg0_12565n_-2b06l7_CA_LMT:0:-ptg|YDT:1:-m80|YST:0:-p00|YWT:1:-m80|YPT:1:-m80|YDDT:1:-jg0|PST:0:-m80|PDT:1:-jg0|MST:0:-jg0_212123425267676767676767676767676767676767676767676767676767676767676767676767676767676767678_ls lt 1z h bs bt 8y 8z 5h d lu lv 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 bu","-jg0_zl097_-1zl0mt_CA_LMT:0:-m9k|PDT:1:-jg0|PST:0:-m80|PWT:1:-jg0|PPT:1:-jg0|MST:0:-jg0_2123421212121212121212121212121212121212121212121212121215_lw lx 1z 5f 4l 4m 6c e h e h e k o k e h e h e h e h e k e h e h e h e h e k o k 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g 6 2k","-jg0_nnqxr_-1qi6av_US_LMT:0:-jfw|MDT:1:-go0|MST:0:-jg0|MWT:1:-go0|MPT:1:-go0_21212121234212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_6d 2r 8 b 8 b v 16 60 ly 41 42 bv g r g 6 9 6 9 6 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_p7b3x_-1dfykp_US_LMT:0:-fdn|CST:0:-go0|EST:0:-dw0|EWT:1:-b40|EPT:1:-b40|EDT:1:-b40_123425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252_lz m0 m1 5j 4z 79 e m2 m3 6 9 m4 9 22 29 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-jg0_vvrg0_-1vjzfv_CA_LMT:0:-l0g|MDT:1:-go0|MST:0:-jg0|MWT:1:-go0|MPT:1:-go0_212121212121234212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_m5 m6 1z 3h m7 m8 g r e k o k e m9 41 42 6c e ma 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_-3yw17_-15lhgr_BR_LMT:0:-cxs|-04:1:-b40|-05:0:-dw0|-04:0:-b40|-05:0:-dw0_2121212121212121212121212121212322_mb mc 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r bw 15 md bx by","-go0_85mzk_-1h3v5s_SV_LMT:0:-gio|CDT:1:-dw0|CST:0:-go0_21212_me mf o k o","-jg0_z0adc_-211vxc_CA_LMT:0:-mpz|PDT:1:-jg0|PST:0:-m80|PWT:1:-jg0|PPT:1:-jg0|MST:0:-jg0_21234212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212125_mg mh 1z 5f 4l 4m 6c e h e h e k o k e h e h e h e h e k e h e h e h e h e k o k 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4","-8c0_-27nsr_-mx6sg_BR_LMT:0:-74o|-02:1:-5k0|-03:0:-8c0_2121212121212121212121212121212121212122_mi mj 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r 3a 1r 1u 1g 90 o 12 bz c0 15 91","-b40_ri85c_-zoxps_CA_LMT:0:-b3o|ADT:1:-8c0|AST:0:-b40|AWT:1:-8c0|APT:1:-8c0_21234212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_mk ml 1z 5f 6a 5g mm e mn 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-b40_vr49h_-zyxsr_CA_LMT:0:-b6s|NST:0:-9rg|NDT:1:-6zg|NST:0:-9q0|NDT:1:-6y0|NPT:1:-6y0|NWT:1:-6y0|ADT:1:-8c0|AST:0:-b40|ADDT:1:-5k0|ADT:1:-8c0_121343434343434365343434343434343434343434343434343434343438787878787878787878787878787878787878787878789878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878_mo mp 1z mq mr o k o k o 12 1m 12 o k o k c1 c2 12 o k o k o k o 12 o 2v e h e h e h e h e k e h e h e h e h g 6 9 6 9 6 9 6 9 6 g ms mt g 6 9 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 92 c a 74 7a 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 c3 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_cs3sb_-16cmtx_TC_LMT:0:-d68|KMT:0:-e7y|EST:0:-dw0|EDT:1:-b40|AST:0:-b40|EST:0:-dw0_1232323232323232323232323232323232323232323232323232323232323232323232323243232323232323232323232323232323232323232_mu mv mw 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 mx 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-go0_8pn5h_-1hw33v_GT_LMT:0:-grg|CDT:1:-dw0|CST:0:-go0_212121212_my mz 3j n0 c4 n1 1d n2 e","-dw0_-1aft7_-1bj3sl_EC_LMT:0:-es8|QMT:0:-ejc|-04:1:-b40|-05:0:-dw0_13233_n3 n4 n5 6q n6","-b40_41qww_-ympor_GY_LMT:0:-ars|-0345:0:-af0|-03:0:-8c0|-04:0:-b40_1233_n7 n8 n9 na","-b40_ql05s_-11v62o_CA_LMT:0:-bs0|ADT:1:-8c0|AST:0:-b40|AWT:1:-8c0|APT:1:-8c0_212121212121212121212121212121212121212121212121234212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_nb nc j nd 1z 8b 1y c5 2k c6 ne 7b 11 7b c7 5k 45 5k u 5k 45 5k 1g l nf c5 c8 c6 c9 44 45 44 6e 5k 1g 1u u l 1r 5k 45 44 45 1s u ng 45 44 45 nh 6a 5g h e h e h e h e 93 e h e h e h e 93 e h e h e h e 94 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_drtsl_-1d1eiz_CU_LMT:0:-f94|HMT:0:-f9c|CDT:1:-b40|CST:0:-dw0|CST:0:-dw0|CDT:1:-b40_132323232323232323232323232323232323232323232323232323232323232323242424242424245454545454545454545454545454545454545454545454545454545454545454545454545454_ni nj nk 2k nl 3j 3b 21 3b 3j nm 3j 3b 3j nn 11 ca 15 8m 6e k o 1x 9 6 9 6 g 6 2m 2v 67 95 8x 78 9 6 g r g x e a 8 b 8 h e h e h e h 2m 2v 2m b 8 b 8 a c a c r 1z r d i d i d i d i d 0 0 0 d q 5 2 3 2 5 2 5 z 14 z 14 2 4n 19 26 1j 1f 19 26 1j 26 1j m 1j 3 n m n m n m 19 m n m n m n m n m 19 m n m n m n m n m n m 19 m n m n m n m n m 19 m n m n m n m n m n m","-jg0_hazzf_-1u2eff_MX_LMT:0:-kjs|MST:0:-jg0|CST:0:-go0|PST:0:-m80|MDT:1:-go0|MST:0:-jg0_121212131414141_5d 5e 4y q 2j y 8q 8r 8s 8t c a c a c","-dw0_nodfx_-1fanzc_US_LMT:0:-fye|CDT:1:-dw0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0|EST:0:-dw0|EDT:1:-b40_212121234212121212121212121252565656565656565656565656565656565656565656565656565656565656565656565_43 2r 8 b 8 no 21 76 36 37 h e h e h e h e k o k e h e h e h e h np h nq 9 6 9 7c 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-go0_ol42h_-1fkoa0_US_LMT:0:-g1i|CDT:1:-dw0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0|EST:0:-dw0|CST:0:-go0_2121234212121212121212121212121212121252121212121212121212121212121212121212121212121212151212121212121212121212121212121212121212121212121212121212121212_43 2r 8 b 8 2t 36 37 6c e h e h e k o k e h e h e h e h g 6 9 6 e h e h 9 6 g 6 9 6 nr ns 9 6 9 6 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c nt 5 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_muiro_-1feo0i_US_LMT:0:-fzn|CDT:1:-dw0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0|EST:0:-dw0|EDT:1:-b40_2121234212121212121212125656565656515656565656565656565656565656565656565656565656565656565656565656565_43 2r 8 b 8 2t 36 37 nu e 79 e h e k e h e h e h e h e k cb 9 6 9 6 g 6 9 6 9 22 50 1t 2a nv 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_mx0ko_-1fyolv_US_LMT:0:-g5v|CDT:1:-dw0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0|EST:0:-dw0|EDT:1:-b40_21212342121212121212121212125212121212121212121212151215656565656565656565656565656565656565656565656565656565656565_43 2r 8 b 8 2t 36 37 cc 16 k e h e h e h e h e k 9 6 9 6 9 6 9 6 cd 6 9 6 9 6 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g nw 5 f 1 n 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-go0_mlgrk_-1fnlil_US_LMT:0:-g2f|CDT:1:-dw0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0|EST:0:-dw0|EDT:1:-b40|CDT:1:-dw0|CST:0:-go0_21212342121212121212121212521265651212121212121212121212121212121212121212121212121212121212121212_43 2r 8 b 8 2t 36 37 cc 16 k e h e h e h e h e k 9 6 9 6 9 6 nx 6 9 6 46 6 9 7c 5 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_n2hz6_-1enaae_US_LMT:0:-fr4|CDT:1:-dw0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0|EST:0:-dw0|EDT:1:-b40_212123425656565656565656565656565656565656565656565656565656565656565656565656565_43 2r 8 b 8 2t 36 37 ny nz 9 6 9 6 g 6 9 o0 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_n0zja_-1g41ib_US_LMT:0:-g7j|CDT:1:-dw0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0|EST:0:-dw0|EDT:1:-b40_21212342121212121212121212121212565651215656565656565656565656565656565656565656565656565656565656565_43 2r 8 b 8 2t 36 37 h e 3y e h e v 16 k e h e h e h e h g 6 o k 9 6 9 6 o1 9 6 9 7c 5 f 1 n 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_ofvgd_-1fk7cg_US_LMT:0:-g1d|CDT:1:-dw0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0|EST:0:-dw0|EDT:1:-b40_21212342121212121212121212121212121212565651265656565656565656565656565656565656565656565656565656565656565_43 2r 8 b 8 2t 36 37 h e h e h e h e k o k e h e h e h e h g 6 9 6 e h e h e h e k cb 9 6 9 7c 5 f o2 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-jg0_14oyze_-27m0fv_CA_-00:0:0|PDDT:1:-go0|PST:0:-m80|MST:0:-jg0|MDT:1:-go0_212343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343_o3 o4 d o5 5l 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_11y0yd_-14rh7v_CA_-00:0:0|EPT:1:-b40|EST:0:-dw0|EDDT:1:-8c0|EDT:1:-b40|EWT:1:-b40|CST:0:-go0|CDT:1:-dw0|EDT:1:-b40|EST:0:-dw0_5123242424242424242424242424242424242424242467242424242424242424242424242424242424242424242424242424242424242424242424242_o6 o7 4z 5h d 5i 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 7a 8 2 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_ap48o_-19py45_JM_LMT:0:-e7y|KMT:0:-e7y|EST:0:-dw0|EDT:1:-b40_1232323232323232323232_o8 o9 oa 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g","-p00_ypm2g_-2812x6_US_LMT:0:15rv|LMT:0:-ow5|PST:0:-m80|PWT:1:-jg0|PPT:1:-jg0|PDT:1:-jg0|YDT:1:-m80|YST:0:-p00|AKDT:1:-m80|AKST:0:-p00_123425252525252525252525252625252579898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989_4w ob oc 4l 4m 7d 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 0 0 9 6 g r g 62 5b 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_mrx3r_-1f24es_US_LMT:0:-fvq|CDT:1:-dw0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0|EST:0:-dw0|EDT:1:-b40_2121212123421212121212121212121212121565656565656515656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565_43 2r 8 b 8 od 7e oe e 76 36 37 of og oh o k e h e h e h e h e k 9 6 9 6 9 6 9 6 g 6 5m oi 9 6 9 6 9 6 g 6 9 6 9 22 50 1t 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_lxdzu_-1eim1b_US_LMT:0:-fpo|CDT:1:-dw0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0|EDT:1:-b40|EST:0:-dw0_2121234212121212121212121212121212121212121212121212121212121212121212121656565656565656565656565656565656565656565656565656565656565656565656565656_43 2r 8 b 8 2t 36 37 oj 9 6 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 2 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-b40_-9tnhc_-14kovk_BO_LMT:0:-cmc|CMT:0:-cmc|BST:1:-9uc|-04:0:-b40_1233_ok ol bk om","-dw0_-769u8_-19vg5s_PE_LMT:0:-e9o|LMT:0:-eac|-04:1:-b40|-05:0:-dw0_13232323232323233_on oo op 1q b6 9 6 9 oq 1q or 1q os 1q ot 1q ou","-m80_k9uv2_-1yecpm_US_LMT:0:-lwa|PDT:1:-jg0|PST:0:-m80|PWT:1:-jg0|PPT:1:-jg0_212123421212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_bm 2r 8 b 8 2t 4l 4m ov ow ox 7 3 2 5 2 5 2 5 2 5 2 3 2 5 2 5 2 5 2 5 2 3 7 3 0 0 0 0 0 0 d i d 6 9 6 9 6 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-8c0_-5r6uj_-l9j5n_BR_LMT:0:-6m4|-02:1:-5k0|-03:0:-8c0_212121212121212121212121212121212121212122_oy oz 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r 3a 1r 1u 1g bb 1g p0 o 12 bz c0 15 91","-go0_78f00_-1fdcn9_NI_LMT:0:-fz8|MMT:0:-fzc|CST:0:-go0|EST:0:-dw0|CDT:1:-dw0|CST:0:-go0_1232424232324242_p1 p2 p3 an p4 96 ce 96 p5 p6 p7 p8 p9 1b 6f pa","-b40_-1v5p1_-zqd5n_BR_LMT:0:-b44|-03:1:-8c0|-04:0:-b40_21212121212121212121212121212122_pb pc 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r bw 15 pd","-b40_8oxfk_-10d879_MQ_LMT:0:-bb8|FFMT:0:-bb8|AST:0:-b40|ADT:1:-8c0_1232_pe pf pg 1b","-go0_fdp4l_-1m1rhc_MX_LMT:0:-iio|CST:0:-go0|CDT:1:-dw0_121212121212121212121212121212121212121212121212121212121212121212121212121212121212121_75 cf 8 cg c a c a c a 8 b 8 x o x c a c a 8 b 8 b 8 b 8 a c a c 24 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-jg0_dtm3f_-1rcvmj_MX_LMT:0:-jpg|MST:0:-jg0|CST:0:-go0|PST:0:-m80|MDT:1:-go0|MST:0:-jg0_121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141_5d 5e 4y q 2j y 8q 8r 8s 8t c a c a c a 8 b 8 x o x c a c a 8 b 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 b 8 a c a c","-go0_qutdu_-1g5viv_US_LMT:0:-g83|CDT:1:-dw0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0|EST:0:-dw0|CST:0:-go0_21212342121251212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_ph pi 8 b 8 2t 36 37 h e bv g pj pk 0 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-go0_chdzf_-1hcsnv_MX_LMT:0:-glg|CST:0:-go0|EST:0:-dw0|CDT:1:-dw0|CST:0:-go0_121313131313131313131313131313131313131313131313131313131313131313131313131313131313131_75 bp pl pm c a c a c a 8 b 8 x o x c a c a 8 b 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 b 8 a c a c","-p00_wtk80_-26c4zp_US_LMT:0:16au|LMT:0:-od6|PST:0:-m80|PWT:1:-jg0|PPT:1:-jg0|PDT:1:-jg0|AKST:0:-p00|AKDT:1:-m80_123425252525252525252525252525252526767672676767676767676767676767676767676767676_4w pn po 4l 4m 7d 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g pp f 1 4 1 4 1 63 pq 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-go0_bjt4w_-1n14mo_MX_LMT:0:-id0|MST:0:-jg0|CST:0:-go0|CDT:1:-dw0|CWT:1:-dw0_12121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232_5d 5e 4y q 2j y pr 1m ps pt pu 25 pv 1d pw c a c a c a 8 b 8 x o x c a c a 8 b 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 b 8 a c a c","-8c0_s0g0g_-xjf2t_PM_LMT:0:-aeg|AST:0:-b40|-03:0:-8c0|-02:1:-5k0_123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232322_px py pz c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 q0","-b40_rg2zk_-12kj51_CA_LMT:0:-bzw|EST:0:-dw0|ADT:1:-8c0|AST:0:-b40|AWT:1:-8c0|APT:1:-8c0_132323232323232323232345323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323_q1 q2 q3 1z q4 3j 3b 3j 3b 3j 3b 3j 3b 3j 3b 3j ce 1g q5 q6 q7 4v q8 6a 5g h e h e h e h e k o k e h e h e h e h e k e h 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g 6 9 7f 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c 92 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 q9 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-go0_fa4iz_-1nq4u3_MX_LMT:0:-iks|CST:0:-go0|CDT:1:-dw0_121212121212121212121212121212121212121212121212121212121212121212121212121212121212121_75 cf 8 cg c a c a c a 8 b 8 x o x c a c a 8 b 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 b 8 a c a c","-8c0_-ks833_-xgtuc_UY_LMT:0:-aer|MMT:0:-aer|-04:0:-b40|-0330:0:-9q0|-03:1:-8c0|-03:0:-8c0|-0230:1:-6y0|-02:1:-5k0|-0130:1:-460|-02:1:-5k0_124343434343434343434343465657575657575865757575757575757575757575757575757575757575755_qa qb qc j ch 20 ch 20 qd 2w 3m 2w 3m 2w 3m 2w 4o 51 4o 51 6g 20 3m 2w qe qf qg qh qi qj ci qk 1b ql qm qn qo qp 5m 7f qq r qr 21 qs 2f 3b 3j 97 2f 98 qt qu qv 97 5m 1a 1g 1a 17 1a 15 1x 17 qw x 18 e 2v 2m h e h e h 2m 2v 2m 2v 2m h e h e h e qx","-dw0_exmf9_-1a1vn4_BS_LMT:0:-ebu|EWT:1:-b40|EST:0:-dw0|EPT:1:-b40|EDT:1:-b40_2121324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242_qy qz r0 r1 r2 r3 r4 9 6 g r g 6 9 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_o8n93_-1827p1_US_LMT:0:-dpe|EDT:1:-b40|EST:0:-dw0|EWT:1:-b40|EPT:1:-b40_21212121212121212121212121212121212121212121212123421212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_r5 2r 8 b 8 b v r e k o k e h e h e h e h e k e h e h e h e h e k o k e h e h e h e h e k o k e h e 76 5j 4z h e h e h e h e k o k e h e h e h e h g 6 9 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_t6li3_-1gjuzv_CA_LMT:0:-gcg|EDT:1:-b40|EST:0:-dw0|EWT:1:-b40|EPT:1:-b40_212134212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_r6 r7 1z 8o 8p 5j 4z cj 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-p00_12ehdj_-2qh8dx_US_LMT:0:101a|LMT:0:-umq|NST:0:-uk0|NWT:1:-rs0|NPT:1:-rs0|BST:0:-uk0|BDT:1:-rs0|YST:0:-p00|AKDT:1:-m80|AKST:0:-p00_1234256565656565656565656565656565679898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989_4w r8 r9 b8 b9 8g 8h 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g ra 5b 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-5k0_-2aiog_-jasuz_BR_LMT:0:-604|-01:1:-2s0|-02:0:-5k0_2121212121212121212121212121212121212122_rb rc 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r 3a 1r 1u 1g 90 o 12 8u ck 15 rd","-go0_s519j_-1olg8i_US_LMT:0:-iuj|MDT:1:-go0|MST:0:-jg0|MWT:1:-go0|MPT:1:-go0|CDT:1:-dw0|CST:0:-go0_212123421212121212121212121212121212121212121212121212121212121212121212121212121212121212121216565656565656565656565656565656565656565656565656565656_6d 2r 8 b 8 2t 41 42 4k 9 6 9 6 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 n 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-go0_s1v8l_-1ob6xr_US_LMT:0:-irc|MDT:1:-go0|MST:0:-jg0|MWT:1:-go0|MPT:1:-go0|CDT:1:-dw0|CST:0:-go0_212123421212121212121212121212121212121212121212121212121216565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656_6d 2r 8 b 8 2t 41 42 4k 9 6 9 6 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c z 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-go0_rw1u0_-1odl3l_US_LMT:0:-is3|MDT:1:-go0|MST:0:-jg0|MWT:1:-go0|MPT:1:-go0|CDT:1:-dw0|CST:0:-go0_212123421212121212121212121212121212121212121212121212121212121212121212121212121656565656565656565656565656565656565656565656565656565656565656565656_6d 2r 8 b 8 2t 41 42 4k 9 6 9 6 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c z 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-8c0_127o6d_-ustp1_GL_LMT:0:-9kw|-03:0:-8c0|-03:0:-8c0|-02:1:-5k0|-02:1:-5k0_1423232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232322_re rf br 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 7g","-jg0_hlpsb_-1q60ez_MX_LMT:0:-jc4|MST:0:-jg0|CST:0:-go0|CDT:1:-dw0|MDT:1:-go0|MST:0:-jg0_121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141_5d 5e 4y q 2j y bq c a c 8w c a 8 b 8 x o x c a c a 8 b 8 b 8 b 8 a c a c 24 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_5c6q3_-1bcob9_PA,KY_LMT:0:-eq8|CMT:0:-eso|EST:0:-dw0_12_rg rh","-dw0_13dgt1_-134w5x_CA_-00:0:0|AWT:1:-8c0|APT:1:-8c0|AST:0:-b40|ADDT:1:-5k0|ADT:1:-8c0|EDT:1:-b40|EST:0:-dw0|CST:0:-go0|CDT:1:-dw0|EDT:1:-b40|EST:0:-dw0_31234353535353535353535353535353535367676767689767676767676767676767676767676767676767676767676767676767676767676767676767_ri rj 6a 5g 5h d 5i 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 5 a c a c a c a 8 7a 8 2 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-8c0_3h111_-wuevf_SR_LMT:0:-a7s|PMT:0:-a84|PMT:0:-a7o|-0330:0:-9q0|-03:0:-8c0_12344_rk rl rm rn ro","-jg0_jwwwd_-1uq4c5_US_LMT:0:-kr6|MDT:1:-go0|MST:0:-jg0|MWT:1:-go0_21212323212_6d 2r 8 b 8 2t rp 49 j rq 9","-dw0_b18et_-172cr9_HT_LMT:0:-de8|PPMT:0:-ddo|EDT:1:-b40|EST:0:-dw0|EDT:1:-b40|EST:0:-dw0_13232323232345454545454545454545232323232323232323232323232323232323232323232323232323_rr rs rt 1b 6 9 6 9 6 9 6 9 8w 5 2 5 2 5 z 14 z 14 z 5 2 5 2 5 z 14 z 14 ru 8 b 8 rv 1 4 1 4 1 4 1 rw 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-b40_6c9lc_-10mikb_TT,AG,AI,BL,DM,GD,GP,KN,LC,MF,MS,VC,VG,VI_LMT:0:-be4|AST:0:-b40_1_rx","-b40_-57wej_-121lk0_BR_LMT:0:-bu0|-03:1:-8c0|-04:0:-b40_212121212121212121212121212122_ry rz 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r s0","-b40_azu99_-13cvsv_PR_LMT:0:-c8p|AST:0:-b40|APT:1:-8c0|AWT:1:-8c0_1321_s1 s2 s3 5g","-8c0_-vn6sw_-167znf_CL_LMT:0:-d4s|SMT:0:-d3a|-05:0:-dw0|-04:0:-b40|-04:1:-b40|-03:1:-8c0|-04:0:-b40|-03:0:-8c0_121314242424242323235656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656577_s4 s5 cl cm cn co cp 1e 1p 1e 1p 1e 1p 1e 2g 1e cq cr cs 99 ct o 1a 15 18 e h e k o 2v 2m k o k e h e h e k o k o k e h e h e h e k o k o k 9 6 e h e k o x 1b k e h e h e h e k o k 1d 18 e 18 g x e k o k o k o k e h e h e k o k 1d 18 e h 1b x 8 7h 6h 4 1 f 3e f 7i 49 1y cu","-go0_t060r_-1kaw3v_CA_LMT:0:-hig|CDT:1:-dw0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0_212134212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_s6 s7 1z 8o 8p 36 37 cj 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-go0_11ednf_-1itnqo_CA_-00:0:0|CDDT:1:-b40|CST:0:-go0|CDT:1:-dw0|EST:0:-dw0|CST:0:-go0_21232323232323232323232323232323232323232323432323232323232323232323232323232323232323232323232323232323232323232323232_s8 s9 d 5i 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-8c0_-4sjf4_-ks10g_BR_LMT:0:-6go|-02:1:-5k0|-03:0:-8c0_2121212121212121212121212121212121212122_sa sb 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r 3a 1r 1u 1g 90 o 12 8u ck 15 91","-go0_u08w0_-1qb0gg_CA_LMT:0:-jdo|MDT:1:-go0|MST:0:-jg0|MWT:1:-go0|MPT:1:-go0|CST:0:-go0_21212121212121212121212342121212121212121212121212125_sc sd 1z se e h e h e k o k e sf 9 6 1b x 9 x 9 6 9 sg 41 42 18 9 18 e h e h e k o k e h e h e h e h e k e h e 6c 9 6","-go0_18gzgk_-1kginj_CA_-00:0:0|CDDT:1:-b40|CST:0:-go0|CDT:1:-dw0|EST:0:-dw0|CST:0:-go0_21232323232323232323232323232323232323232323432323232323432323232323232323232323232323232323232323232323232323232323232_sh si d 5i 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_-5xmbv_-14d6tc_BR_LMT:0:-ck0|-04:1:-b40|-05:0:-dw0|-04:0:-b40|-05:0:-dw0_21212121212121212121212121212322_sj sk 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r cv bx by","-8c0_-1g5kl_-wnze3_BR_LMT:0:-a4o|-03:1:-8c0|-04:0:-b40|-03:0:-8c0_2121212121212121212121212121233_sl sm 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q 3c 3d 31 32 l 1q l u l 11 33 17 12 1y 34 1r cv sn","-b40_-jwy6o_-162mqz_CL_LMT:0:-d3a|SMT:0:-d3a|-05:0:-dw0|-04:0:-b40|-04:1:-b40|-03:1:-8c0|-03:1:-8c0|-04:0:-b40_1213142424242423235323676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676766_so sp cl cm cn co cp 1e 1p 1e 1p 1e 1p 1e 2g 1e cq cr sq sr 28 99 ct o 1a 15 18 e h e k o 2v 2m k o k e h e h e k o k o k e h e h e h e k o k o k 9 6 e h e k o x 1b k e h e h e h e k o k 1d 18 e 18 g x e k o k o k o k e h e h e k o k 1d 18 e h 1b x 8 7h 6h 4 1 f 3e f 7i 49 7j 49 7j 49 1 b 8 b 8 b 8 b 8 b v b 8 b 8 b 8 b 8 b v 16 v b 8 b 8 b 8 b 8 b v 16 v b 8 b cw","-b40_azsyz_-15m76o_DO_LMT:0:-cy0|SDMT:0:-cyo|EDT:1:-b40|EST:0:-dw0|-0430:1:-ci0|AST:0:-b40_13234343434343535_ss st su 11 sv sw sx sy sz t0 t1 t2 t3 t4 t5 t6 13","-8c0_-e0efp_-rr5nf_BR_LMT:0:-8ms|-02:1:-5k0|-03:0:-8c0_21212121212121212121212121212121212121212121212121212121212121212121212121212121212121212122_t7 t8 2x 2q 2u 2y 2z 30 11 1s 2k 1s 1q t9 cx 31 32 l 1q l u l 11 33 17 12 1y 34 1r 3a 1r 1u 1g 3a 1g l 1y 1u 21 1u 15 1a 15 1a 1g 1a 17 68 4v 12 17 12 o 12 17 1a 15 1u 1r l 1g bn 8v 1a 15 1u 1y 1x 15 l 1g l 15 1a 15 1a 17 1a 1g l 1g l 15 1a 15 1a 15 1a 15 1u 1r ta","-2s0_15ypad_-d2tl7_GL_LMT:0:-42g|-02:0:-5k0|-01:1:-2s0|-02:0:-5k0|-01:0:-2s0|+00:1:0|+00:1:0_1236454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454544_tb tc i 46 9 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 7g","-p00_y1hl1_-28jznc_US_LMT:0:15lz|LMT:0:-p21|PST:0:-m80|PWT:1:-jg0|PPT:1:-jg0|PDT:1:-jg0|YST:0:-p00|AKDT:1:-m80|AKST:0:-p00_123425252525252525252525252525252568787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878_4w td te 4l 4m 7d 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 62 5b 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-9q0_sbiob_-vdwfv_CA_LMT:0:-9rg|NDT:1:-6zg|NST:0:-9rg|NDT:1:-6y0|NST:0:-9q0|NPT:1:-6y0|NWT:1:-6y0|NDDT:1:-460|NDT:1:-6y0_21212121212121212121212121212121212124343434343434346543434343434343434343434343434343434343434343434343434343434343434343434343434343434347434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434_tf tg 67 th 1z ti 96 tj 9 6 9 x 1b x 1b x 1b x 1b x 9 6 9 x 1b x 1b x 1b x 1b x 9 x 1b x 1b tk tl 1b tm o k o k o 12 1m 12 o k o k c1 c2 12 o k o k o k o 12 o 2v e h e h e h e h e k e h e h e h e h g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 92 c a 74 7a 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 c3 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-go0_txqv9_-1s78qd_CA_LMT:0:-jyw|MDT:1:-go0|MST:0:-jg0|MWT:1:-go0|MPT:1:-go0|CST:0:-go0_21234212121212121212125_tn to 1z 5f 41 42 h 1d 18 e h e h e tp 9 7f 9 6 e k o tq","-go0_8e7mo_-1fxct7_HN_LMT:0:-g5g|CDT:1:-dw0|CST:0:-go0_2121212_tr ts o k o tt 4h","-b40_19l37v_-14y9k5_GL_LMT:0:-cqk|ADT:1:-8c0|AST:0:-b40_21212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_tu tv 9 6 9 x 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_st0th_-1h4xqo_CA_LMT:0:-gj0|CST:0:-go0|EST:0:-dw0|EWT:1:-b40|EPT:1:-b40|EDT:1:-b40_1234252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252_tw tx ty 5j 4z tz 9 6 g 6 9 7f 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-m80_jdavp_-1xo2mz_MX_LMT:0:-lo4|MST:0:-jg0|PST:0:-m80|PDT:1:-jg0|PWT:1:-jg0|PPT:1:-jg0_12123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232_u0 u1 u2 4y u3 9 u4 u5 u6 u7 ah u8 2 5 2 3 2 5 2 5 2 5 2 5 2 u9 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 b 8 a c a c 24 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-dw0_pzkk0_-1b9gkl_CA_LMT:0:-ep8|EDT:1:-b40|EST:0:-dw0|EWT:1:-b40|EPT:1:-b40_21212121212121212121212121212121212121212121213421212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_ua ub 1z uc ud ue uf cy 7e ca 15 1a 15 1x 1m 12 1m 12 1m 12 o k e h e h e h e k o k e h e h e h e h e h e k o k ug 5j 4z h e 8 e h e h v cz 8 b e h e h e h e h e k e h 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-m80_tbyej_-21atff_CA_LMT:0:-mss|PDT:1:-jg0|PST:0:-m80|PWT:1:-jg0|PPT:1:-jg0_2123421212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_uh ui 1z 5f 4l 4m h e h e h e h e k o k e h e h e h e h e k e h e h e h e h e k o k 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-jg0_105da3_-28el8w_CA_LMT:0:-p0c|YDT:1:-m80|YST:0:-p00|YWT:1:-m80|YPT:1:-m80|YDDT:1:-jg0|PST:0:-m80|PDT:1:-jg0|MST:0:-jg0_212123425267676767676767676767676767676767676767676767676767676767676767676767676767676767678_uj uk 1z h bs bt 8y 8z 5h d ul um 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 bu","-go0_tp685_-1lu9f4_CA_LMT:0:-hzo|CDT:1:-dw0|CST:0:-go0|CWT:1:-dw0|CPT:1:-dw0|CDT:1:-dw0|CST:0:-go0_212121234212121212121212121212121212121212565656565656565656565656565656565656565656565656565656565656565656565656565656561212121212121212121212121212121212121212121212121212121212121212_un uo o up 1z uq 17 ur 36 37 12 e 18 e h e h e bi 69 7k e h e h e h e h e k e h e h e h 9 6 e 94 o 94 d 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 d i d 0 0 0 0 0 0 0 0 0 d i d 0 0 0 0 0 0 z 14 z 5 2 5 2 5 z 14 z 14 z 5 2 5 2 5 z 14 z 14 z 14 z 5 2 5 2 5 z 14 z 14 z 5 2 5 2 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-p00_zgaps_-2b6u7q_US_LMT:0:14sh|LMT:0:-pvj|YST:0:-p00|YWT:1:-m80|YPT:1:-m80|YDT:1:-m80|AKDT:1:-m80|AKST:0:-p00_123425252525252525252525252525252527676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767_4w us ut 8y 8z 7d 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g d0 5b 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-jg0_116iq8_-1w2x0w_CA_-00:0:0|MWT:1:-go0|MPT:1:-go0|MST:0:-jg0|MDDT:1:-dw0|MDT:1:-go0_31234353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353_uu uv 41 42 5h d 5i 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","uk0_-13gojp_1tsr7f_AQ_-00:0:0|+08:0:m80|+11:0:uk0|+08:0:m80|+11:0:uk0_1212321212122_uw ux uy uz d1 cs v0 6f v1 v2 v3 v4 v5","jg0_-14tz8l_1af3gr_AQ_-00:0:0|+07:0:jg0|+05:0:dw0|+07:0:jg0_10123233_v6 v7 v8 v9 va vb vc vd","rs0_-13owbv_2bd1jv_AQ_-00:0:0|+10:0:rs0_1011_ve vf vg vh","rs0_-wg4gw_2mmuls_AU_-00:0:0|AEST:0:rs0|AEDT:1:uk0|AEST:0:rs0|-00:0:0|AEDT:1:uk0|AEST:0:rs0_123415353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535353535_vi vj i vk vl vm 0 5 19 26 19 26 1j 26 1t 2c n m n m n m 19 m n m n m n m n m n m 2 3 7 3 n m n m n 26 7 1f 7 1f 1j 1f 1j 1f 2 d i d i d i d i d 0 d i d i d i d i 2 5 s i d i d i d i d 0 0 i s 0 0 0 0 7l 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0","dw0_-148whs_11ft39_AQ_-00:0:0|+06:0:go0|+05:0:dw0_122_vn vo vp","-8c0_-12kw00_-125vvk_AQ_-00:0:0|-04:0:-b40|-03:1:-8c0|-02:1:-5k0|-03:0:-8c0|-03:1:-8c0|-04:0:-b40|-03:0:-8c0_21212121214341565656565656565656565656565656565656565656565656565656565656565656544_vq vr 1o 25 1o 2p 6 g 6 9 6 3l 21 vs d2 e h e k o k o k 9 6 e h e k o x 1b k e h e h e h e k o k 1d 18 e 18 g x e k o k o k o k e h e h e k o k 1d 18 e h 1b x 8 7h 6h 4 1 f 3e f 7i 49 1y cu","-8c0_-1486rv_-14kc0l_AQ_-00:0:0|-03:0:-8c0_11_vt vu","8c0_-1531gf_nkju8_AQ_-00:0:0|+03:0:8c0_11_vv vw","0_-16vgcd_1ic0o_AQ_-00:0:0|+02:1:5k0|+00:0:0|+00:0:0_31212121212121212121212121212121212121212121212121212121212121212122_vx vy 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 7g","go0_-1aodts_1rn8kg_AQ_-00:0:0|+06:0:go0_11_vz w0","go0_pqzww_19tb00_KZ_LMT:0:e90|+05:0:dw0|+07:1:jg0|+06:0:go0|+06:0:go0|+07:1:jg0|+06:1:go0|+05:0:dw0|+07:1:jg0|+06:0:go0_1323232324545454545454674545454545454545454545454544_w1 w2 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 w3","5k0_j0ss0_le6c5_JO_LMT:0:6nk|EEST:1:8c0|EET:0:5k0|EET:0:5k0|EEST:1:8c0_212121212121212121212121212121212131313134343431313131313131313131312131313131313131313131313131313131313131313131313_w4 w5 d1 28 1l 28 1l 4p t 10 1l 7k 1l w6 j 2q 9 6 9 6 g 4p 4x 2v 2m 64 8x 18 1b 6 9 6 1d 2v z 14 q s q s q w7 6t 5n 1k 3f 1k 0 0 0 5 2 14 q 0 0 5 2 5 2 3 7 3 7 3 2 5 2 w8 61 3 7 3 2 5 2 5 2 5 2 5 2 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 2 5 2 5 2 5 2 3 7 3","xc0_12jtf4_2xo30l_RU_LMT:0:wv8|+12:0:xc0|+14:1:12w0|+13:0:1040|+13:1:1040|+12:0:xc0|+13:1:1040|+12:1:xc0|+11:0:uk0|+12:0:xc0_13234141456565656565657856565656565656565656565656565656565657855_w9 wa 1w j 6 1k 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 k 7 d3","dw0_qi5a3_txe0b_KZ_LMT:0:9b4|+04:0:b40|+05:0:dw0|+06:0:go0|+06:1:go0|+05:0:dw0|+06:1:go0|+05:1:dw0|+04:0:b40|+05:0:dw0_123424245656565656565785656568787878787878787878755_wb wc wd 9 1k 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 6 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 9a","dw0_txqv9_y1a2z_KZ_LMT:0:al4|+04:0:b40|+05:0:dw0|+06:1:go0|+06:0:go0|+05:0:dw0|+06:1:go0|+05:1:dw0|+04:0:b40|+06:1:go0|+05:0:dw0_1234323235656565656565785656565656565656565656565655_we wf 1w j 0 1k 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 d4","dw0_mleeo_yrcv9_TM_LMT:0:at8|+04:0:b40|+06:1:go0|+05:0:dw0|+05:0:dw0|+06:1:go0|+05:1:dw0|+04:0:b40|+05:0:dw0_13232323245454545454546733_wg wh 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i wi","dw0_s1vgb_ux40l_KZ_LMT:0:9m8|+03:0:8c0|+05:0:dw0|+06:0:go0|+06:1:go0|+05:0:dw0|+06:1:go0|+05:1:dw0|+04:0:b40|+05:0:dw0_123424245656565656565785656565656565657878787878755_wj wk wl 9 1k 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 k 7 3 7 3 2 5 2 5 2 3 9a","8c0_jut0w_qg04b_IQ_LMT:0:884|BMT:0:880|+03:0:8c0|+04:1:b40|+03:0:8c0|+04:1:b40_1232323234545454545454545454545454545454545454545454544_wm wn wo 1l 10 t y j 6 10 0 0 0 0 0 0 0 0 0 d 9b 1k 1k 1k 0 1k 0 1k 0 1k 1k 1k 0 1k 0 1k 0 1k 1k 1k 0 1k 0 1k 0 1k 1k 1k 0 1k 0 1k 0 1k wp","b40_o1jz9_togi8_AZ_LMT:0:98c|+03:0:8c0|+05:1:dw0|+04:0:b40|+04:0:b40|+05:1:dw0|+04:1:b40|+03:0:8c0|+05:1:dw0|+04:0:b40_1323232324545454545454676489232323232323232323232323232323232323233_wq wr 9c j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 0 0 ws 5 e 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 wt","jg0_86pkg_1nuf5n_TH,KH,LA,VN_LMT:0:im4|BMT:0:im4|+07:0:jg0_122_wu wv ww","jg0_vrtzf_1dv1ww_RU_LMT:0:fic|+06:0:go0|+08:1:m80|+07:0:jg0|+07:0:jg0|+08:1:m80|+07:1:jg0|+06:0:go0|+07:1:jg0|+07:0:jg0_13232323245454545454546745454545876767676767676767676767676767674744_wx wy 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 wz x0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o 7m x1","5k0_k68jp_l4vz4_LB_LMT:0:6ko|EEST:1:8c0|EET:0:5k0_212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_x2 x3 4q 7n j 6i 1z 18 o x4 1l 28 1l 28 1l 4p 1l 28 1l x5 x6 28 1l 28 1l 28 1l 4p 1l 28 1l 7k 1l x7 1d 2b 1d 2b 1d 2b 1d x8 25 d5 x9 2b 1d 2b 1d 6u 52 r 9 6 9 6 9 x 9 6 9 6 9 6 v 16 v 16 v b 8 b 8 b v 16 v 16 v 16 v b 8 b 8 b v 16 v 16 v b 8 b 8 b 8 b v 16 v 16 v b 8 b 8 b v 16 v 16 v b 8 b 8 b 8 b v 16 v 16 v b 8 b 8 b v 16 v 16 v 16 v b 8 b 8","go0_pjhuo_18exq8_KG_LMT:0:dtc|+05:0:dw0|+07:1:jg0|+06:0:go0|+06:0:go0|+07:1:jg0|+06:1:go0|+06:1:go0_13232323245454545454546161616161617171717171717171733_xa xb 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 3q d6 1d 18 1d 18 1d 18 1d 18 1b xc 8 b 8 b v 16 v 16 v b 8 b 8 b v 16 xd xe","m80_2xql1_1wf29n_BN_LMT:0:la4|+0730:0:ku0|+08:0:m80_122_xf xg xh","p00_uzm1c_1vjzfv_RU_LMT:0:l0g|+08:0:m80|+10:1:rs0|+09:0:p00|+09:0:p00|+10:1:rs0|+09:1:p00|+08:0:m80|+10:0:rs0|+10:1:rs0|+09:0:p00_1323232324545454545454674545454545454545454545454545454545454548733_xi xj 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o xk xl","m80_sm8h7_1w64rk_MN_LMT:0:l7c|+07:0:jg0|+08:0:m80|+09:0:p00|+10:1:rs0|+09:1:p00|+08:0:m80_1243434343434343434343434343434343434343434343252522_xm xn 9d xo y 9 6 9 6 9 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 9 x 9 6 9 6 9 9e e 6 9 6 9 6 9 6 9 6 g xp xq 5o 53 5o d7","fa0_44lsl_1bjgnk_LK_LMT:0:esc|MMT:0:esk|+0530:0:fa0|+06:1:go0|+0630:1:i20|+0630:0:i20|+06:0:go0|+0530:0:fa0_123425622_xr xs xt xu xv xw 2w xx xy","5k0_jy0rk_lm19c_SY_LMT:0:6q0|EEST:1:8c0|EET:0:5k0_2121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212_xz y0 1d 18 1d 18 1d 18 1b y1 6e 28 69 35 1l 28 69 d5 y2 28 1l 4p 1l 28 1l 28 1l 28 1l 4p 1l 28 1l 28 1l 28 1l 4p 1l 28 7e d8 7e y3 1b 4u 1b y4 y5 y6 y7 7o y8 7p t 6 9 j j y9 ya 85 j 8m j 6 j y j 10 t 66 9f 6 j y j 6 j 6 j 6 j y j 6 j 6 4i x v b 4q 9g v b 8 b 8 b 8 b 8 b v 16 v 16 v b 8 b 8 b 8 b v 16 v 16 v b 8 b 8 b v 16 v 16 v b 8 b 8 b 8 b v 16 v 16 v b 8 b 8 b v 16 v","go0_e4bwb_1htxy3_BD_LMT:0:gqs|HMT:0:gcw|+0630:0:i20|+0530:0:fa0|+06:0:go0|+07:1:jg0_12324544_yb yc yd d9 ye yf yg yh","p00_-53980_22ropx_TL_LMT:0:n98|+08:0:m80|+09:0:p00_12122_yi yj yk yl ym","b40_f29ls_wx9r4_AE,OM_LMT:0:a8o|+04:0:b40_11_yn yo","dw0_myz39_14ymf4_TJ_LMT:0:cqo|+05:0:dw0|+07:1:jg0|+06:0:go0|+06:0:go0|+07:1:jg0|+06:1:go0|+05:0:dw0_1323232324545454545454677_yp yq 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 d2 yr","5k0_kwo6z_k7nzk_CY_LMT:0:6ac|EEST:1:8c0|EET:0:5k0|EET:0:5k0|EEST:1:8c0|+03:0:8c0|EET:0:5k0_212121212121212121212121212121212121212121212121343434343434343434343434343434343434534343434343434343434343434343434343434343_ys yt 9 44 5c 6i 1b x j 10 9 x 1b 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 9 x 9 6 9 6 6f 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 yu yv 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","5k0_ir5k0_kiqnf_PS_LMT:0:6ds|EEST:1:8c0|EET:0:5k0|EET:0:5k0|EEST:1:8c0|IDT:1:8c0|IST:0:5k0|IDT:1:8c0|IST:0:5k0|EET:0:5k0_312121212121243434343434343434343465656787856565656565656565656563494949434343434343434343434343434343434343434343434343434343434343434343434343434343_yw yx 9h 9i 9j 5p 5q 2j 5q 54 5r 54 5r da 86 28 1l 87 1n 3z 1n 2g 1n 2g 1n 2g 1n 3z 1n 2g 1n 2g 1e 1p db dc 21 x 17 9k w 9l 1i 26 1m 1u 1y 9m 4x h o 1a 15 2v e h 2m h 2m 5s 52 5s 5c 6y 52 dd de q s q s q 5 9 x 9 6 9 6 9 6 9 6 q s 9n df 4i 4u 9o dg e h z yy yz dh di d8 i d 9 6 8 7q 7r 7q v 16 v 16 v 3q 4q b 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","5k0_irv9x_kw7h4_PS_LMT:0:6hz|EEST:1:8c0|EET:0:5k0|EET:0:5k0|EEST:1:8c0|IDT:1:8c0|IST:0:5k0|IDT:1:8c0|IST:0:5k0|EET:0:5k0_31212121212124343434343434343434346565678785656565656565656565656349494943434343434343434343434343434343434343434343434343434343434343434343434343434343_z0 z1 9h 9i 9j 5p 5q 2j 5q 54 5r 54 5r da 86 28 1l 87 1n 3z 1n 2g 1n 2g 1n 2g 1n 3z 1n 2g 1n 2g 1e 1p db dc 21 x 17 9k w 9l 1i 26 1m 1u 1y 9m 4x h o 1a 15 2v e h 2m h 2m 5s 52 5s 5c 6y 52 dd de q s q s q 5 9 x 9 6 9 6 9 6 9 6 q s 9n df 4i 4u 9o dg z2 z3 z 14 3i dh di z4 d0 6 i d 9 6 8 7q 7r 7q v 16 v 16 v 3q 4q b 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","jg0_6eer4_1ri8iz_VN_LMT:0:jr4|PLMT:0:jqu|+07:0:jg0|+08:0:m80|+09:0:p00|+07:0:jg0_1234232322_z5 z6 z7 z8 z9 za zb zc zd ze","m80_d9lxh_1vympc_HK_LMT:0:l56|HKT:0:m80|HKST:1:p00|HKWT:1:nm0|JST:0:p00|HKT:0:m80|HKST:1:p00_123412565652525252521212121212121212121212121212121212121212121212121_zf zg zh zi zj e zk 19 26 2 0 2 5 2 5 2 5 z 5 2 8 24 2l 24 3e f 3e 24 2l 24 2l 24 2l 24 3e f 3e f 3e 24 2l 24 2l 3h 9 6 9 6 g 6 9 6 9 6 9 6 9 6 g 6 9 22 29 6 9 6 9 79 2m","jg0_sl5wb_1ikdlc_MN_LMT:0:gz0|+06:0:go0|+08:1:m80|+07:0:jg0_132323232323232323232323232323232323232323232323233_zl zm 9d j y 9 6 9 6 9 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 9 x 9 6 9 6 9 9e e 6 9 6 9 6 9 6 9 6 g dj 5o 53 5o zn","m80_v497v_1q4845_RU_LMT:0:jb5|IMT:0:jb5|+07:0:jg0|+09:1:p00|+08:0:m80|+08:0:m80|+09:1:p00|+08:1:m80|+07:0:jg0|+09:0:p00|+09:1:p00|+08:0:m80_1243434343565656565656578565656565656565656565656565656565656565955_zo zp zq 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o zr","jg0_-3o68b_1rl3eo_ID_LMT:0:js0|BMT:0:js0|+0720:0:kdc|+0730:0:ku0|+09:0:p00|+08:0:m80|WIB:0:jg0_12343536_zs zt zu zv zw dk dl dm","p00_-1iaqd_2brotc_ID_LMT:0:q20|+09:0:p00|+0930:0:qe0|WIT:0:p00_123_zx zy zz","5k0_ix618_kyyxd_IL_LMT:0:6iu|JMT:0:6ig|IDT:1:8c0|IST:0:5k0|IDDT:1:b40|IDT:1:8c0|IST:0:5k0|IDT:1:8c0|IST:0:5k0_16232323232323423232323232323232323565678785656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656_100 101 102 9h 9i 9j 5p 5q 2j 5q 54 5r 54 5r 103 104 105 3f dn 54 2j 106 1f z 0 i 2 7s 5t 7s 5t 107 1t 5 7 108 21 x 17 9k w 9l 1i 26 1m 1u 1y 9m 4x h o 1a 15 2v e h 2m h 2m 5s 52 5s 5c 6y 52 64 9f 8d 8n 6x 4t 109 e 12 do 2q 1d 8d 10a 9n g 6x 1d 10b dp dq t 66 4t 64 dp dq t 66 4t 78 t 66 8n 6x 1p 1n 1p 1n 1p 1n 3n 4a 3n 4a 3n 1n 1p 1n 1p 1n 3n 4a 3n 4a 3n 1n 1p 1n 1p 1n 1p 1n 3n 4a 3n 4a 3n 1n 1p 1n 1p 1n 3n 4a 3n 4a 3n 4a 3n 1n 1p 1n 1p","ci0_kjt8b_157728_AF_LMT:0:ctc|+04:0:b40|+0430:0:ci0_122_10c 10d 10e","xc0_vkbx7_2mgf4g_RU_LMT:0:tdo|+11:0:uk0|+13:1:1040|+12:0:xc0|+12:0:xc0|+13:1:1040|+12:1:xc0|+11:0:uk0|+12:0:xc0_13232323245454545454546745454545454545454545454545454545454546744_10f 10g 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 k 7 d3","dw0_esz8r_13x440_PK_LMT:0:cf0|+0530:0:fa0|+0630:1:i20|+05:0:dw0|PKST:1:go0|PKT:0:dw0_12135454545_10h 10i 9p 10j 10k 10l 9 10m 1l 9o 9q","fz0_gi2bf_1esmrf_NP_LMT:0:fss|+0530:0:fa0|+0545:0:fz0_122_10n 10o 10p","p00_11axz9_28pe1t_RU_LMT:0:p3p|+08:0:m80|+10:1:rs0|+09:0:p00|+09:0:p00|+10:1:rs0|+09:1:p00|+08:0:m80|+11:1:uk0|+10:0:rs0|+10:0:rs0|+11:0:uk0|+09:0:p00_1323232324545454545454674545454545454545454545454A89898989898989B944_10q 10r 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 10s 10t 3 7 3 7 3 7 3 2 5 2 5 2 3 7 dr ds dt","fa0_deytx_1gm05n_IN_LMT:0:gd4|HMT:0:gcw|MMT:0:eva|IST:0:fa0|+0630:1:i20_1234343_10u 10v 10w 10x 10y d9 9p","jg0_xcmqj_1j9qnp_RU_LMT:0:h72|+06:0:go0|+08:1:m80|+07:0:jg0|+07:0:jg0|+08:1:m80|+07:1:jg0|+06:0:go0|+08:0:m80|+08:1:m80|+07:0:jg0_132323232454545454545467454545454545454545454545454545454545454844_10z 110 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o 111","m80_1vvez_1ojs80_MY_LMT:0:ity|SMT:0:j8d|+07:0:jg0|+0720:1:kdc|+0720:0:kdc|+0730:0:ku0|+09:0:p00|+08:0:m80_123456577_112 113 du dv dw dx dy dz e0","m80_x7zk_1totqt_MY_LMT:0:kfk|+0730:0:ku0|+0820:1:n5c|+08:0:m80|+09:0:p00|+08:0:m80_1323232323232323433_114 115 116 55 e1 55 7t 55 7t 55 7t 55 e1 55 7t 55 117 118 119","m80_d7rhi_1vllb7_MO_LMT:0:l0y|CST:0:m80|+10:1:rs0|+09:0:p00|CDT:1:p00|CST:0:m80|CDT:1:p00_13232314545454545454545454541616161616161616161616161616161616161616161_11a 11b cx 11c e2 1l 11d 11e 3q 11f 5u 2 0 3q 5 2 5 2 4g 56 5 2 5 1j 1f 1j 26 19 11g 24 2l 24 2l 24 2l 24 3e f 3e f 3e 24 2l 24 2l 3h 46 1c 46 1c g 6 9 6 9 6 9 6 9 6 g 6 9 22 29 6 9 6 9 79 2m","uk0_zgpxn_2hs60w_RU_LMT:0:rxc|+10:0:rs0|+12:1:xc0|+11:0:uk0|+11:0:uk0|+12:1:xc0|+11:1:uk0|+10:0:rs0|+12:0:xc0|+12:1:xc0|+11:0:uk0_1323232324545454545454674545454545454545454545454545454545454548744_11h 11i 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o 11j 11k","m80_-31o1n_1z35mo_ID_LMT:0:m40|MMT:0:m40|+08:0:m80|+09:0:p00|WITA:0:m80_1234_11l 11m 11n 11o","m80_8okkl_201g74_PH_LMT:0:-189c|LMT:0:meo|PDT:1:p00|PST:0:m80|JST:0:p00|PST:0:m80_1323432323_11p 11q 11r 4h 11s 11t 11u 11v 11w j","5k0_kxqrv_jv5vv_CY_LMT:0:66g|EEST:1:8c0|EET:0:5k0|EET:0:5k0|EEST:1:8c0_2121212121212121212121212121212121212121212121213434343434343434343434343434343434343434343434343434343434343434343434343434343_11x 11y 9 44 5c 6i 1b x j 10 9 x 1b 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 9 x 9 6 9 6 6f 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","jg0_w01rk_1fv7nf_RU_LMT:0:g5c|+06:0:go0|+08:1:m80|+07:0:jg0|+07:0:jg0|+08:1:m80|+07:1:jg0|+06:0:go0|+07:0:jg0_13232323245454545454546745454545454545454545454545454545454546744_11z 120 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 k 7 121","jg0_wrjzp_1dd6wr_RU_LMT:0:fcs|+06:0:go0|+08:1:m80|+07:0:jg0|+07:0:jg0|+08:1:m80|+07:1:jg0|+06:0:go0|+07:1:jg0|+07:0:jg0_13232323245454545454546745458767676767676767676767676767676767674744_122 123 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 124 e3 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o b3 125","go0_wqu9s_17p7sw_RU_LMT:0:dl6|+05:0:dw0|+07:1:jg0|+06:0:go0|+06:0:go0|+07:1:jg0|+06:1:go0|+05:0:dw0|+07:0:jg0|+07:1:jg0|+06:0:go0_132323232454545454545467454545454545454545454545454545454545454844_126 127 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o 128","dw0_uhr17_uklww_KZ_LMT:0:9ic|+03:0:8c0|+05:0:dw0|+06:1:go0|+06:0:go0|+05:0:dw0|+06:1:go0|+05:1:dw0|+04:0:b40|+05:0:dw0_1234323235656565657878785787878787878787878787878755_129 12a 12b j 0 1k 6 j y 1c 0 0 0 0 0 0 0 0 0 6 0 d 0 0 1i 27 6 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 9a","jg0_-ppx_1t3e51_ID_LMT:0:k8w|PMT:0:k8w|+0730:0:ku0|+09:0:p00|+08:0:m80|WITA:0:m80|WIB:0:jg0_12324256_12c 12d 12e 12f dk dl dm 12g","p00_n89gb_22v9bk_KP_LMT:0:nac|KST:0:nm0|JST:0:p00|KST:0:p00_12313_12h 12i 12j 12k 12l","8c0_f1wqt_uojdh_QA,BH_LMT:0:9jk|+04:0:b40|+03:0:8c0_122_12m 12n 12o","go0_vo9ds_11vixn_KZ_LMT:0:bs4|+04:0:b40|+05:0:dw0|+06:1:go0|+06:0:go0|+05:0:dw0|+06:1:go0|+05:1:dw0|+04:0:b40|+06:0:go0|+06:1:go0_1234323235656565656565785656565656565656565656565699_12p 12q 1w j 0 1k 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 d4","dw0_qo7wg_12z6ej_KZ_LMT:0:c4g|+04:0:b40|+05:0:dw0|+06:1:go0|+06:0:go0|+05:0:dw0|+06:1:go0|+05:1:dw0|+06:0:go0|+06:1:go0|+05:0:dw0_12343232356565656565657586565656565656565656565656822_12r 12s 1w j 0 1k 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1y 27 6 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 12t 12u","8c0_enz79_rtat7_SA,KW,YE_LMT:0:8ng|+03:0:8c0_11_12v 12w","uk0_rynpn_2cyk0w_RU_LMT:0:qfc|+09:0:p00|+12:1:xc0|+11:0:uk0|+11:0:uk0|+12:1:xc0|+11:1:uk0|+10:0:rs0|+11:0:uk0_1323232324545454545454674545454545467676767676767676767676767674744_12x 12y 12z j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 h 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o 7m 130","dw0_nm6zv_13rr7k_UZ_LMT:0:ceh|+04:0:b40|+05:0:dw0|+06:1:go0|+06:0:go0|+05:0:dw0|+06:1:go0_1234323235656565656565655_131 132 1w j 0 1k 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 0 e4","p00_mctrk_23lc3v_KR_LMT:0:nig|KST:0:nm0|JST:0:p00|KDT:1:rs0|KST:0:p00|KDT:1:qe0|KDT:1:rs0_12434343434151515151515143434_133 134 135 136 137 95 2m 95 67 1a 15 138 139 c8 89 17 k 1m 12 1m 12 1m 12 1m 13a 13b 2 5 2","m80_ilfsl_20bga3_CN_LMT:0:mhj|CDT:1:p00|CST:0:m80_21212121212121212121212121212_13c 13d 65 13e c7 1e 13f b4 13g 13h 7u 18 9q 6 1l 28 13i 13j 17 h e k o k e h e h e","m80_ri85_1ptv68_SG_LMT:0:j8d|SMT:0:j8d|+07:0:jg0|+0720:1:kdc|+0720:0:kdc|+0730:0:ku0|+09:0:p00|+08:0:m80_123456577_13k 13l du dv dw dx dy dz e0","uk0_1461m3_2jiojf_RU_LMT:0:sgs|+10:0:rs0|+12:1:xc0|+11:0:uk0|+11:0:uk0|+12:1:xc0|+11:1:uk0|+10:0:rs0|+12:0:xc0|+12:1:xc0|+11:0:uk0_132323232454545454545467454545454545454545454545454545454545454844_13m 13n 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o 13o","m80_ewwpc_20c600_TW_LMT:0:mi0|CST:0:m80|JST:0:p00|CDT:1:p00|CST:0:m80_12131313131313131313131313131313131313131_13p 13q 13r e5 7u 18 9q 6 1l 28 1l 28 1l 28 1l 1n 2a 7p 3z 7p 3z 7p j y j 6 j 6 j 6 j 1s 2k 7b 2k 13s j 6 j 13t 4h","dw0_olx05_159c80_UZ_LMT:0:ctz|+05:0:dw0|+07:1:jg0|+06:0:go0|+06:0:go0|+07:1:jg0|+06:1:go0|+05:0:dw0_1323232324545454545454677_13u 13v 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 e4","b40_ou4sb_qokrf_GE_LMT:0:8an|TBMT:0:8an|+03:0:8c0|+05:1:dw0|+04:0:b40|+04:0:b40|+05:1:dw0|+04:1:b40|+03:0:8c0|+04:1:b40|+04:0:b40_12434343435656565656565789292943433434343434343439844_13w e6 13x 9c j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 46 9 6 9 6 9 0 9 x 5l 5 b 8 b v 16 v 16 v b 8 b 8 b 3j e3 7 13y","9q0_l8gkr_ume7p_IR_LMT:0:9iw|TMT:0:9iw|+0330:0:9q0|+05:1:dw0|+04:0:b40|+0430:1:ci0|+0330:0:9q0_1243425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252_13z 140 141 9r 3z 142 143 9 bj 9s 144 145 6 t 10 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 146 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t 10 t 10 t 6 t 10 t","go0_gcpez_1hdids_BT_LMT:0:glo|+0530:0:fa0|+06:0:go0_122_147 148 149","p00_l8758_2b77pu_JP_LMT:0:pvn|JDT:1:rs0|JST:0:p00|JST:0:p00_312121212_14a 14b 19 14 z m n m n","jg0_xmzog_1el4p7_RU_LMT:0:fqf|+06:0:go0|+08:1:m80|+07:0:jg0|+07:0:jg0|+08:1:m80|+07:1:jg0|+06:0:go0|+07:1:jg0|+07:0:jg0_13232323245454545454546745454545454545454545458767676767676767674744_14c 14d 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 62 14e 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o 93 14f","m80_sj0qj_1rmvph_MN_LMT:0:jsk|+07:0:jg0|+09:1:p00|+08:0:m80_132323232323232323232323232323232323232323232323233_14g 14h 9d j y 9 6 9 6 9 6 9 6 9 6 9 6 g 6 9 6 9 6 9 6 9 6 9 x 9 6 9 6 9 9e e 6 9 6 9 6 9 6 9 6 g dj 5o 53 5o d7","go0_q2sao_1g57qd_CN_LMT:0:g7w|+06:0:go0_11_14i 14j","rs0_12fr12_2d9uej_RU_LMT:0:qiu|+08:0:m80|+09:0:p00|+11:0:uk0|+12:1:xc0|+11:0:uk0|+12:1:xc0|+11:1:uk0|+10:0:rs0|+12:0:xc0|+12:1:xc0|+10:0:rs0_1243434345656565656565785656565656565656565656565656565656565659588_14k 14l 1w 14m 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 dr ds e7","rs0_pp7m3_26jset_RU_LMT:0:of7|+09:0:p00|+11:1:uk0|+10:0:rs0|+10:0:rs0|+11:1:uk0|+10:1:rs0|+09:0:p00|+11:0:uk0|+11:1:uk0|+10:0:rs0_132323232454545454545467454545454545454545454545454545454545454844_14n 14o 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o e7","p00_10wvi8_2577fv_RU_LMT:0:o0y|+08:0:m80|+10:1:rs0|+09:0:p00|+09:0:p00|+10:1:rs0|+09:1:p00|+08:0:m80|+10:0:rs0|+10:1:rs0|+09:0:p00_132323232454545454545467454545454545454545454545454545454545454844_14p 14q 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o dt","i20_9zq3p_1l96ob_MM_LMT:0:htb|RMT:0:htb|+0630:0:i20|+09:0:p00|+0630:0:i20_12322_14r 14s 14t 14u 14v","dw0_xuhqo_102v9c_RU_LMT:0:b89|PMT:0:af5|+04:0:b40|+06:1:go0|+05:0:dw0|+05:0:dw0|+06:1:go0|+05:1:dw0|+04:0:b40|+06:0:go0|+06:1:go0|+05:0:dw0_1243434343565656565656578565656565656565656565656565656565656565955_14w 14x 14y 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o 14z","b40_nx9np_qhsf4_AM_LMT:0:88o|+03:0:8c0|+05:1:dw0|+04:0:b40|+04:0:b40|+05:1:dw0|+04:1:b40|+03:0:8c0|+05:1:dw0|+04:0:b40_132323232454545454545467676767645454545454545454545454545454544_150 151 9c j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 0 0 0 0 0 0 0 0 cd 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 152","-2s0_mgr85_-fa4iz_PT_LMT:0:-4r4|HMT:0:-5aw|-01:1:-2s0|-02:0:-5k0|-01:1:-2s0|-02:0:-5k0|-02:0:-5k0|+00:1:0|-01:0:-2s0|-01:0:-2s0|WET:0:0|+00:1:0|-01:0:-2s0_1623454545454545454545454545454545454545454547454745474547454545454545454545454545454545454545454597878787878787878787878787878787ABCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCC_153 154 9t 7o u 3o 5v 9u 5w 3o 5v 3o 5w 3o 9v 3f 9w q d i s i s q 9x q 0 0 7v 0 i d s q 0 0 i d s 3 3g 1f 0 1k 56 40 1i 22 1j 6j 19 4b 19 40 n 4b 19 40 n 4b z 0 53 0 0 0 0 0 7l d 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 e8 0 d 0 0 6 9 6 0 0 0 0 6 9 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 9 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 7g","-b40_j7xz9_-12k6a3_BM_LMT:0:-c06|BST:1:-986|BMT:0:-c06|ADT:1:-8c0|AST:0:-b40_212124343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434_155 156 b5 4s 6e 157 158 159 b 2l f 1 4 1 15a 1g 3a 1r 1u 1r 77 21 77 21 77 1r 15b e 15c 9 6 9 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","0_gqa3k_-962ps_ES_LMT:0:-2uo|-01:0:-2s0|WET:0:0|WEST:1:2s0|WET:0:0|WEST:1:2s0_1234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454_15d 15e 15f r 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","-2s0_8vprv_-e01kr_CV_LMT:0:-4cs|-02:0:-5k0|-01:1:-2s0|-02:0:-5k0|-01:0:-2s0_12344_15g 15h 9p 15i 15j","0_10x8d7_-4116z_FO_LMT:0:-194|WET:0:0|WEST:1:2s0|WET:0:0_1232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323_15k 15l 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","0_jfg1h_-a284g_PT_LMT:0:-34o|FMT:0:-34o|+00:1:0|-01:0:-2s0|+00:1:0|-01:0:-2s0|-01:0:-2s0|+01:1:2s0|WEST:1:2s0|WET:0:0|WET:0:0|WET:0:0|WEST:1:2s0_16234545454545454545454545454545454545454545474547454745474545454545454545454545454545454545454545A8989898989898BCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCB_15m 15n 9t 7o u 3o 5v 9u 5w 3o 5v 3o 5w 3o 9v 3f 9w q d i s i s q 9x q 0 0 7v 0 i d s q 0 0 i d s 3 3g 1f 0 1k 56 40 1i 22 1j 6j 19 4b 19 40 n 4b 19 40 n 4b z 0 53 0 0 0 0 0 7l d 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 e8 0 d 0 0 6 9 6 0 0 0 0 6 9 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","0_126ygg_-d0bkg_IS_LMT:0:-42o|+00:1:0|-01:0:-2s0|-01:0:-2s0|+00:1:0|GMT:0:0_21212121212134343434343434343434343434343434343434343434343434343435_15o 15p 7b 2k e9 ea e9 15q 15r 15s 1c 2e 6h 1t 2c n 26 19 26 19 26 19 m n m z 14 z 14 z 5 2 14 z 5 z 14 z 14 z 14 z 14 z 5 z 14 z 14 z 14 z 14 z 14 z 5 z 14 z 14 z 14 z 14 z 5 z","-5k0_-wb4ff_-lr1at_GS_LMT:0:-6rk|-02:0:-5k0_11_15t 15u","-8c0_-us3z4_-yfxcg_FK_LMT:0:-apo|SMT:0:-apo|-03:1:-8c0|-04:0:-b40|-02:1:-5k0|-03:0:-8c0|-03:1:-8c0_13232323232323545452323232323232323232323232323232323232323232323232355_15v 15w 15x 1b x 1b 18 1b x 1b x 1b x ea 15y o v 24 2l 24 3 16 v 16 v 16 v 16 2l 24 2l 16 v 16 v 16 v 16 v 16 2l 16 v 16 v 16 v 16 v 16 k 24 3e f 3e 24 2l 24 2l 24 2l 24 2l 24 3e 24 2l 24 2l 24 15z","qe0_-ksdvf_2aibl1_AU_LMT:0:pnw|ACST:0:p00|ACDT:1:t60|ACST:0:qe0|ACST:0:qe0_14232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232_160 161 9y 4c 4d 47 0 0 d i 5x 1t 2c n m n m n m 19 m n m n m n m n m n m 19 m n m n m n m 1j 3 7 1f 7 1f 1j 1f 1j 1f n m 7 3 19 m 1j 1f 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 2 5 7 3 z 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0","rs0_-gcpez_2j419x_AU_LMT:0:sc8|AEDT:1:uk0|AEST:0:rs0|AEST:0:rs0_31212121212121212_162 163 4c 4d 47 0 0 d i 5x 1t eb n m n m n","qe0_-j0ss0_2c7rio_AU_LMT:0:q70|AEST:0:rs0|ACST:0:p00|ACDT:1:t60|ACST:0:qe0|ACST:0:qe0_125343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343_164 165 166 9y 4c 4d 47 0 0 d i 5x 1t 2c n m n m n m 19 m n m n m n m n m n m z 5 n m n m n m 1j 3 7 1f 7 1f 1j 1f n m n m n m 19 m n m n m 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 2 5 7 3 z 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0","qe0_-7f7cb_25w7n9_AU_LMT:0:o88|ACST:0:p00|ACDT:1:t60|ACST:0:qe0|ACST:0:qe0_1423232323_167 168 9y 4c 4d 47 0 0 d i","ob0_-ivsqj_24q25n_AU_LMT:0:nv4|+0945:1:r30|+0845:0:ob0|+0845:0:ob0_31212121212121212122_169 16a 4c 4d 47 0 0 ec n ed n ee ef eg 1i 3 2 5 2 16b","rs0_-pj4zp_2fpi9n_AU_LMT:0:ra4|AEDT:1:uk0|AEST:0:rs0|AEST:0:rs0_3121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121_16c 16d i 3 n m n 16e 47 0 0 d i 16f 0 5 19 26 19 26 1j 26 1t 2c n m n m n m 19 m n m n m n m n m n m 2 3 7 3 n m n m n 26 7 1f 7 1f 1j 1f 1j 1f 2 d i d i d i d i d 0 d i d i d i d i 2 5 s i d i d i d i d 0 0 i s 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0","rs0_-c2duz_2gpl4w_AU_LMT:0:rl8|AEDT:1:uk0|AEST:0:rs0|AEST:0:rs0_312121212121212121212_16g 16h 4c 4d 47 0 0 d i 5x 1t eb n m n m n m 19 m n","t60_-is84w_2mpphh_AU_LMT:0:tgk|AEST:0:rs0|+1130:1:vy0|+1030:0:t60|+11:1:uk0_13232323234343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434344_16i 16j 16k 17 1a 15 1a 15 1a 15 1a 9r 4o 51 9z 51 9z 9r 9z 1v 1h 1v 1h 1v 1h 23 1h 1v 1h 1v 1h 2w 3m 2w 3m 2w 3m 2w 4o 51 57 6k 4o 2w 3m 2w 3m 2w 4o 51 4o 2w 3m 51 4o a0 2d 20 2d 20 2d 20 2d 20 6g 20 2d 20 2d 20 2d 20 2d 20 2d 20 6g 20 2d 20 2d 20 2d 20 2d 20 2d 16l 2d 20 2d 20 2d 20 2d 20 2d 20 6g 20 2d 20 2d 20 2d 20 2d 20 2d 20 6g 20 2d 20 2d 16m","rs0_-mijiz_2eb4zv_AU_LMT:0:qug|AEDT:1:uk0|AEST:0:rs0|AEST:0:rs0_3121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121_16n 16o 4c 4d 47 0 0 d i 5x 1t 2c n m n m n m 19 m n m n m n m n m n m 19 m n m n m n m 1j 3 7 3 2 1f 1j 1f 1j 1f n m n m 19 m n m 7 3 2 5 2 5 2 5 2 3 7 2 5 3 2 5 2 5 2 3 7 3 2 5 7 3 z 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0","m80_-j0ss0_1wz2fk_AU_LMT:0:lgc|AWDT:1:p00|AWST:0:m80|AWST:0:m80_3121212121212121212_16p 16q 4c 4d 47 0 0 ec n ed n ee ef eg 1i 3 2 5 2","rs0_-k5vor_2i13iz_AU_LMT:0:s04|AEDT:1:uk0|AEST:0:rs0|AEST:0:rs0_3121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121_16r 16s 4c 4d 47 0 0 d i 5x 1t 2c n m n m n m 19 m n m n m n m n m n m z 5 n m n m n m 1j 3 7 1f 7 1f 1j 1f n m n m n m 19 m n m n m 2 5 2 5 2 5 2 3 7 2 5 3 2 5 2 5 2 3 7 3 2 5 7 3 z 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0","2s0_0_0__CET:0:2s0|CEST:1:5k0|CEST:1:5k0|CET:0:2s0_1023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323_eh 1e 4e 2 5 2 6l 4n 7 d 0 0 0 4f a1 i d 0 0 0 d i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","-go0_0_0__CST:0:-go0|CDT:1:-dw0|CWT:1:-dw0|CPT:1:-dw0|CST:0:-go0_10102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010_16t 8 b 8 2t 36 37 4k 9 6 9 6 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","5k0_0_0__EET:0:5k0|EEST:1:8c0|EEST:1:8c0|EET:0:5k0_10101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010_ei i d 0 0 0 d i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","-dw0_0_0__EST:0:-dw0__","-dw0_0_0__EST:0:-dw0|EDT:1:-b40|EWT:1:-b40|EPT:1:-b40|EST:0:-dw0_10102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010_16u 8 b 8 2t 5j 4z 4k 9 6 9 6 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","0_0_0__GMT:0:0__","-2s0_0_0__-01:0:-2s0__","-rs0_0_0__-10:0:-rs0__","-uk0_0_0__-11:0:-uk0__","-xc0_0_0__-12:0:-xc0__","-5k0_0_0__-02:0:-5k0__","-8c0_0_0__-03:0:-8c0__","-b40_0_0__-04:0:-b40__","-dw0_0_0__-05:0:-dw0__","-go0_0_0__-06:0:-go0__","-jg0_0_0__-07:0:-jg0__","-m80_0_0__-08:0:-m80__","-p00_0_0__-09:0:-p00__","2s0_0_0__+01:0:2s0__","rs0_0_0__+10:0:rs0__","uk0_0_0__+11:0:uk0__","xc0_0_0__+12:0:xc0__","1040_0_0__+13:0:1040__","12w0_0_0__+14:0:12w0__","5k0_0_0__+02:0:5k0__","8c0_0_0__+03:0:8c0__","b40_0_0__+04:0:b40__","dw0_0_0__+05:0:dw0__","go0_0_0__+06:0:go0__","jg0_0_0__+07:0:jg0__","m80_0_0__+08:0:m80__","p00_0_0__+09:0:p00__","0_0_0__UTC:0:0__","2s0_v6edn_2x0v4_NL_LMT:0:wk|NST:1:3ok|AMT:0:wk|NST:1:3ok|AMT:0:wk|+0020:0:xc|+0120:1:3pc|+0120:1:3pc|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|CEST:1:5k0|CET:0:2s0_21234343434343434343434343434343434343434343756565A8989898BCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBC_16v 16w 1l 16x 2 s 0 d i d i d i 3f s e5 16y i d 16z 170 171 a2 1f 1j 172 ej ek el 173 174 em 5a 26 19 5u 5z 8f ej ek el em 5a 175 176 177 1f 1j 5u 5z 178 179 7 d 0 0 0 4f a1 i d 0 0 0 d i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_pax7k_wi9n_AD_LMT:0:a4|WET:0:0|CET:0:2s0|CEST:1:5k0|CET:0:2s0_123434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434_17a 17b 17c 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","b40_rlfw0_slvm8_RU_LMT:0:8wc|+03:0:8c0|+05:1:dw0|+04:0:b40|+04:0:b40|+05:1:dw0|+04:1:b40|+03:0:8c0|+04:0:b40_13232323245454545467674676767676767676767676767676767676767674744_17d 17e 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 6 0 d 0 5l 6 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o 7m en","5k0_mlr9n_e4bwb_GR_LMT:0:4e4|AMT:0:4e4|EEST:1:8c0|EET:0:5k0|CET:0:2s0|CEST:1:5k0|EEST:1:8c0|EET:0:5k0|EEST:1:8c0|EET:0:5k0_132325454323676767632323898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989898989_17f 17g 17h 60 17i 17j 17k 17l 6p y 17m c4 17n 3o 17o 0 i 7w 5n r 17p 17q 9f 2u 7x 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_qoxmd_c7dwg_RS,BA,HR,ME,MK,SI_LMT:0:3so|CET:0:2s0|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|CEST:1:5k0|CET:0:2s0_14232323256565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656_17r 17s 17t 7 d 0 0 6o 17u 17v 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_v999c_7yhsb_DE_LMT:0:2h4|CEST:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0|CEMT:1:8c0|CEMT:1:8c0|CEST:1:5k0|CET:0:2s0_21234343434343514343614343478787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878_17w 17x 1e 4e 2 5 2 6l 4n 7 d 0 0 0 17y eo 8l 7 7w 10 6j ci 61 s q d i 17z i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_u9j91_2kvmd_BE_LMT:0:t6|BMT:0:t6|WET:0:0|CET:0:2s0|CEST:1:5k0|CET:0:2s0|CEST:1:5k0|WEST:1:2s0|WET:0:0|WET:0:0|CEST:1:5k0|CET:0:2s0_123634545978787878787878787878787878787878787878787874545454545ABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABAB_180 181 182 183 3q 4e 2 5 2 184 185 3 19 4r 5a 5u 5p s s q i d 0 0 s q d i s ep s q d i s q 0 0 i s 0 0 i d s q 0 0 i d s 3 3g 6t 186 7 d 0 4f 48 4f 2c a2 eq i d 0 0 0 d i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","5k0_qgcz9_fjew0_RO_LMT:0:4u0|BMT:0:4u0|EEST:1:8c0|EET:0:5k0|EEST:1:8c0|EET:0:5k0|EEST:1:8c0|EET:0:5k0_1523232323232323234545232323232323232323232323234545456767676767676767676767676767676767676767676767676767676767676767676767676767676767_187 188 er es 0 0 d 0 0 0 0 0 0 0 0 0 0 0 189 15 d r 1c 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 46 0 0 0 0 0 0 9 6 9 x 8 et 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_sa38g_bd0sl_HU_LMT:0:3j8|CEST:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0_2123412121214343412323434341212121212121212565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656_18a 18b 1e 4e 2 5 2 4g 3q 14 q 18c 18d 7 d 0 0 18e y 18f 18g 10 0 0 0 d i 18h 17 cy 19 2c 1t 2c 1t 18i i 0 0 0 0 0 0 1c d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","5k0_rzdfk_h5zxx_MD_LMT:0:5c8|CMT:0:5bo|BMT:0:4u0|EEST:1:8c0|EET:0:5k0|EET:0:5k0|EEST:1:8c0|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|MSD:1:b40|MSK:0:8c0|MSK:0:8c0|MSD:1:b40|EEST:1:8c0|EET:0:5k0_1253434343434343434697878BABABABACDCDCDCDCDCD643465656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565_18j 18k 18l er es 0 0 d 0 0 0 0 0 0 0 0 0 0 0 18m bl 18n 7 d 0 18o 18p j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 40 7y 0 0 46 9 6 9 6 9 6 9 x 8 cz 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_x54ob_7hpd1_DK_LMT:0:2bw|CMT:0:2bw|CEST:1:5k0|CET:0:2s0|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|CET:0:2s0_13232454545454545467676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767_18q b7 18r 7u 18s 18t 7 d 0 0 0 18u 18v eo 2c 3g 7s 5t 18w i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_vr49h_-3pyj4_IE_LMT:0:-15o|DMT:0:-169|IST:1:1lr|BST:1:2s0|GMT:0:0|IST:1:2s0|GMT:1:0|IST:0:2s0|IST:0:2s0_124343434343454545454545454545454545454545454545454545454545454545454545454545454545454545454586767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676_18x 18y 19 18z a3 5n a4 3f 1k 3f 4g 56 1k 59 s s 7 5 z 5 q s q d i 14 q s q d i s q s q d 0 s q d i s q s q d i s 3 3g 190 z 26 q s 2 5 q d i d 0 d i q d i s q 14 q d i s q s q d i i 3 7 3 2 5 7 3 7 3 7 3 7 1f 1i eu ev 1j 1f 1j 1f 1j 1f 1j 1f 7 3 7 3 7 1f 1j 1f 1j 1f e 5 2 5 2 5 2 3 2 5 2 5 2 5 2 5 2 3 7 3 2 5 2 5 2 5 2 5 2 5 z 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_lignp_-36o34_GI_LMT:0:-zo|BST:1:2s0|GMT:0:0|BDST:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0_212121212121212121212121212121212121212121212121213131313131212131212121212121212121245656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656_191 192 19 d a3 5n a4 3f 1k 3f 4g 56 1k 59 s s 7 5 z 5 q s q d i 14 q s q d i s q s q d 0 s q d i s q s q d i s 3 3g ew 3g m n m 19 26 q 48 ex 6b d i z a5 1t 6b 19 26 2 5 q d i d 0 d i q d i s q 14 q d 193 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","5k0_ztkwb_ev4ej_FI,AX_LMT:0:4md|HMT:0:4md|EEST:1:8c0|EET:0:5k0|EEST:1:8c0|EET:0:5k0_1323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545_194 195 196 dn 197 0 0 0 6 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","8c0_of4nv_h8utn_TR_LMT:0:5d4|IMT:0:5ew|EEST:1:8c0|EET:0:5k0|+03:0:8c0|+04:1:b40|EEST:1:8c0|EET:0:5k0|EEST:1:8c0|EET:0:5k0|+03:0:8c0_13232323232323232323232323232323232323232323232454367676767676767676767676767676767676767676767898989898989898989844_198 199 19a 1l 19b 4q 7n j 6i 1z 19c c9 28 1l 19d 19e 98 29 8c 19f 19g 2k 78 1d 18 1d x 1b 18 1b 18 1d 19h 19i 6u 7u 19j 2 16 v a6 d6 24 2l b 1z 3h 19k 19l 19m 19n 19o z 1k 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 i d 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7y 3 2 5 2 5 2 3 ey 19p 7 3 2 5 ez 7r 2 1f 1j 19q 19r","5k0_wkrnf_c7dwg_RU_LMT:0:3so|CEST:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0|EEST:1:8c0|EET:0:5k0|MSD:1:b40|MSK:0:8c0|MSK:0:8c0|MSD:1:b40|EEST:1:8c0|EET:0:5k0|+03:0:8c0|EET:0:5k0_21234343434343656878787879A9A9A9A9BCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCDC_19s 19t 1e 4e 2 5 2 6l 4n 7 d 0 0 0 19u 19v 9s 19w 19x j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 6 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o","5k0_u0ylx_i62t7_UA_LMT:0:5ng|KMT:0:5ng|EET:0:5k0|MSK:0:8c0|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|MSD:1:b40|MSK:0:8c0|MSD:1:b40|EEST:1:8c0|EEST:1:8c0|EET:0:5k0_123645437373737898989898989A2A2A2A2BCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBC_19y e6 19z 1a0 1a1 7 d 1a2 1a3 j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 21 1a4 46 9 6 9 6 9 7x 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","8c0_yw01s_tk66o_RU_LMT:0:97c|+03:0:8c0|+05:1:dw0|+04:0:b40|+04:0:b40|+05:1:dw0|+04:1:b40|+03:0:8c0_1323232324545454546767467676767676767676767676767676767676767477_7z 80 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 6 0 d 0 5l 6 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o 1a5","0_n1tyz_-5frbp_PT_LMT:0:-1p9|WEST:1:2s0|WET:0:0|WEST:1:2s0|WET:0:0|WEMT:1:5k0|WET:0:0|CET:0:2s0|CET:0:2s0|CEST:1:5k0|WEST:1:2s0|WET:0:0_061234343434343434343434343434343434343434343534353435343534343434343434343434343434343434343434347234343434343434343434343434343438989898A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6A6_1a6 1a7 9t 7o u 3o 5v 9u 5w 3o 5v 3o 5w 3o 9v 3f 9w q d i s i s q 9x q 0 0 7v 0 i d s q 0 0 i d s 3 3g 1f 0 1k 56 40 1i 22 1j 6j 19 4b 19 40 n 4b 19 40 n 4b z 0 53 0 0 0 0 0 7l d 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 1a8 0 0 d 0 0 6 9 6 0 0 0 0 6 9 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","0_uo031_-2ony_GB,GG,IM,JE_LMT:0:-23|BST:1:2s0|GMT:0:0|BDST:1:5k0|BST:0:2s0|BST:1:2s0|GMT:0:0_21212121212121212121212121212121212121212121212121313131313121213121212121212121212121212121212121212121212146121212121212121212565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656_1a9 1aa 19 d a3 5n a4 3f 1k 3f 4g 56 1k 59 s s 7 5 z 5 q s q d i 14 q s q d i s q s q d 0 s q d i s q s q d i s 3 3g ew 3g m n m 19 26 q 48 ex 6b d i z a5 1t 6b 19 26 2 5 q d i d 0 d i q d i s q 14 q d i s q s q d i i 3 7 3 2 5 7 3 7 3 7 3 7 1f 1i eu ev 1j 1f 1j 1f 1j 1f 1j 1f 7 3 7 3 7 1f 1j 1f 1j 1f e 5 2 5 2 5 2 3 2 5 2 5 2 5 2 5 2 3 7 3 2 5 2 5 2 5 2 5 2 5 z 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_tj3ls_3ntdc_LU_LMT:0:150|CEST:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0|WEST:1:2s0|WET:0:0|WET:0:0|WEST:1:2s0|WET:0:2s0|WEST:1:5k0|WEST:1:5k0|CEST:1:5k0|CET:0:2s0_212123465656565656565656565657878787878787878787878B9A9A23434CDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCDCD_1ab 1ac a6 8 1ad 1ae 2 1af 1ag 1ah 1ai 1aj 1ak be 1al 18 1z 1am do x j 10 1z 3h g r 1z r 1z 1an d i s q 0 0 i s 0 0 i d s q 0 0 i d s 3 3g 1ao 1ap 7 d 0 q s 4f 2c a2 eq i d 0 0 0 d i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_o1wu8_-26y2t_ES_LMT:0:-ok|WEST:1:2s0|WET:0:0|WEMT:1:5k0|WET:0:0|CEST:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0_412121212121212121312656565656565656565656789A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A_ax 1aq 6i 9 y 1ar ay 8b 3h g r s i 1z 3h 1as 1at 9 a5 ez 1au 2m 1av 1aw 1ax 3h 1z 3h 1z 3h 1z 3h 1ay b 1az r g r 1b 6 g r 81 0 0 0 d i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_ldgm8_8n54r_MT_LMT:0:2os|CEST:1:5k0|CET:0:2s0|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|CET:0:2s0_3121212121213434312434343424343434343434343121212121212565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656_1b0 1b1 1g 6 j 7n 4q 9g v 3h 9 f0 f1 7 d 3f q 48 f2 9b 14 a7 14 7y 3 f3 15 l 1t 2c 1t 4r 1t 2c 1t m n 2c n 3f 0 1b2 ey 1b3 e h e h e h e h e 2b 4i x 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","8c0_w39i8_geukr_BY_LMT:0:53s|MMT:0:53c|EET:0:5k0|MSK:0:8c0|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|MSD:1:b40|MSK:0:8c0|MSD:1:b40|EEST:1:8c0|EET:0:5k0|+03:0:8c0_123645453737373789898989898ABABABABABABABABABABABABABABABABABABABABCC_1b4 1b5 1b6 1b7 1b8 7 d 0 1b9 1ba j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 7v 6 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 1bb","2s0_q0n4w_4e90l_MC_LMT:0:1d8|PMT:0:fl|WEST:1:2s0|WET:0:0|WEST:1:2s0|WEMT:1:5k0|WET:0:0|CEST:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0_1623232323232323232323232323232323232323232323232345454545458789A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A_1bc 1bd 1be 83 59 48 3q 4g 5z 6o 84 4r 5a 5u 5p s 26 19 i d 0 0 s q d i s i s q d i s q 0 0 i s 0 0 i d s q 0 0 i d s 3 f4 1bf e b 8e 7 d 0 1bg a8 4f f5 9 81 i d 0 0 0 d i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","8c0_x71h5_mea2a_RU_LMT:0:6yh|MMT:0:6yh|MST:1:9s7|MMT:0:707|MDST:1:ck7|MSD:1:b40|MSK:0:8c0|MSD:1:b40|+05:1:dw0|EET:0:5k0|MSK:0:8c0|MSD:1:b40|EEST:1:8c0|EET:0:5k0|MSK:0:b40|MSD:1:b40|MSK:0:8c0_1323424567876967676767ABABABABABABACDABABABABABABABABABABABABABABABABABABABAEA_1bh 1bi 1bj 1bk 6e 1bl 1bm 1bn 1bo 1bp 1bq f6 ai 1br 1bs 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o","2s0_zo7zv_6eer4_NO,SJ_LMT:0:1zo|CEST:1:5k0|CET:0:2s0|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|CET:0:2s0_212134343434343434343434356565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656_1bt 1bu 1bv 1bw 1bx 7 d 0 0 0 0 1by d 0 0 0 0 0 0 0 0 0 d 3 7 1bz i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_t3drf_1e0et_FR_LMT:0:fl|PMT:0:fl|WEST:1:2s0|WET:0:0|WEST:1:2s0|WET:0:0|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|WEMT:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0_15232323232323232323232323232323232323232323232323486767949A8ABCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBC_1c0 1c1 ae 83 59 48 3q 4g 5z 6o 84 4r 5a 5u 5p s 26 19 i d 0 0 s q d i s i s q d i s q 0 0 i s 0 0 i d s q 0 0 i d s 3 f4 1c2 1c3 7 d 0 1c4 1c5 a8 4f f5 9 81 i d 0 0 0 d i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_ttgjp_8lctx_CZ,SK_LMT:0:2o8|PMT:0:2o8|CEST:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0|GMT:1:0|CEST:1:5k0|CET:0:2s0_132345454545454545634545457878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878787878_1c6 1c7 1c8 1e 4e 2 5 2 6l 4n 7 d 0 0 0 0 3 3q 98 1c9 60 q s q 5n 7w 1ca 0 d i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","5k0_xwmwg_ecjog_LV_LMT:0:4gy|RMT:0:4gy|LST:1:78y|EET:0:5k0|MSK:0:8c0|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|MSD:1:b40|MSK:0:8c0|MSD:1:b40|EEST:1:8c0|EET:0:5k0|EEST:1:8c0|EET:0:5k0_1212134756565484848489A9A9A9A9BCBCBCBCBCBCBCBCDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDE_1cb 1cc 2 48 99 1cd 1ce 1cf 1cg 7 d 0 0 1ch 1ci j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 6 0 d 0 0 0 0 0 0 0 0 0 0 d 0 6 5 2 5 2 3 1cj 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_oy28w_7fk79_IT,SM,VA_LMT:0:2b8|RMT:0:2b8|CEST:1:5k0|CET:0:2s0|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|CET:0:2s0_13232323232324545423545454535454545454545454545454545467676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767_1ck 1cl 1cm 1g 6 j 7n 4q 9g v 3h 9 f0 f1 7 d 0 4f 48 f2 9b 14 a7 14 7y 3 f3 15 l 1t 2c 1t 4r 1t 2c 1t m n 2c n 2c 1t m n 2c 1t 2c 1t m n 2c n m n 81 i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","b40_vo9ds_tuvzk_RU_LMT:0:99w|+03:0:8c0|+04:0:b40|+05:1:dw0|+04:0:b40|+05:1:dw0|+04:1:b40|+03:0:8c0|+03:1:8c0|+04:1:b40|+04:0:b40_12323232345454545467678725454545454545454545454545454545454546744_7z 80 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 6 0 d 0 6 1cn a7 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 k 7 1co","b40_up93f_renjp_RU_LMT:0:8j6|+03:0:8c0|+05:1:dw0|+04:0:b40|+04:0:b40|+05:1:dw0|+04:1:b40|+03:0:8c0|+04:0:b40_13232323245454546767674676767676767676767676767676767676767674744_7z 80 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 6 0 0 0 d 0 5l 6 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o 1cp 1cq","8c0_qrfn4_kavq8_RU,UA_LMT:0:6bc|SMT:0:6ao|EET:0:5k0|MSK:0:8c0|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|MSD:1:b40|MSK:0:8c0|MSD:1:b40|EEST:1:8c0|EEST:1:8c0|EET:0:5k0|MSK:0:b40|MSK:0:8c0_1236454537373737898989898982A2A2A737398BCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCD8_1cr 1cs 1ct 1cu 1cv 7 d 0 1cw 1cx j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 a9 1cy 9 6 9 6 6j o 6 9 x 6f b 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 e 74","5k0_peuo5_dvr97_BG_LMT:0:4bg|IMT:0:5ew|EET:0:5k0|CET:0:2s0|CEST:1:5k0|EEST:1:8c0|EET:0:5k0|EEST:1:8c0|EEST:1:8c0|EET:0:5k0_123434325252525676767676767676765252525252528989898989898989898989898989898989898989898989898989898989898989898989898989898989_1cz 1d0 1d1 7 d 0 0 6 1d2 y 6p 85 6p 1d3 1d4 ep 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 46 9 6 9 6 9 6 9 6 9 x 8 et 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_zbpw5_aqvgw_SE_LMT:0:3cc|SET:0:2se|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|CET:0:2s0_123245454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545_1d5 1d6 1d7 a6 1d8 i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","5k0_zdi6z_eqh80_EE_LMT:0:4l0|TMT:0:4l0|CEST:1:5k0|CET:0:2s0|CET:0:2s0|EET:0:5k0|MSK:0:8c0|CEST:1:5k0|MSD:1:b40|MSK:0:8c0|MSD:1:b40|EEST:1:8c0|EET:0:5k0|EET:0:5k0|EEST:1:8c0_142315673232686868689A9A9A9A9BCBCBCBCBCBCBCBCBCBDE5EDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDED_1d9 1da 1db 2 1dc 1dd 1de 1df 1dg 7 d 0 1dh 1di j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 6 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 h 2 3 1dj 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_olx05_bt3hx_AL_LMT:0:3o8|CET:0:2s0|CEST:1:5k0|CET:0:2s0|CEST:1:5k0_1212121212121212121212121234343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343_1dk 1dl 1dm 7 1dn 1do 4x 7k e 4p e k o 44 45 44 45 44 e bh e k e 2b 8k y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","b40_wcjv9_stdog_RU_LMT:0:8yo|+03:0:8c0|+05:1:dw0|+04:0:b40|+04:0:b40|+05:1:dw0|+04:1:b40|+03:0:8c0|+03:1:8c0|+02:0:5k0|+04:1:b40|+04:0:b40_1323232324545454546767897676767676767676767676767676767676767674744_7z 80 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 6 0 d 0 6 1i 27 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o 7m en","5k0_sy0uz_d9ysg_UA_LMT:0:44o|CET:0:2s0|CEST:1:5k0|CET:0:2s0|MSD:1:b40|MSK:0:8c0|MSK:0:8c0|MSD:1:b40|EET:0:5k0|EEST:1:8c0|EEST:1:8c0|EET:0:5k0_1232321545454546767676767618989898ABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABABAB_1dp 1dq 4n 7 d 0 1dr 6s 1ds j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 a9 8a 1dt 9 6 9 6 9 7x 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_spg7v_9q2vp_AT_LMT:0:30x|CEST:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0_2123434343434343434343412565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656_1du 1dv 1e 4e 2 5 2 1dw z 1dx 4n 7 d 0 0 0 1dy 1dz 7w 3f 0 s q 1e0 1b 53 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","5k0_wk1xh_f2mgr_LT_LMT:0:4os|WMT:0:3w0|KMT:0:4fc|CET:0:2s0|EET:0:5k0|MSK:0:8c0|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|MSD:1:b40|MSK:0:8c0|MSD:1:b40|EEST:1:8c0|EET:0:5k0|CEST:1:5k0|CET:0:2s0|EET:0:5k0|EEST:1:8c0_1234358676759595959ABABABABACDCDCDCDCDCDCDCDCDEFEGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHGHG_1e1 1e2 1e3 1e4 1e5 1e6 1e7 1e8 7 d 0 1e9 1ea j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 6 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 b 5 2 3 1eb 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","8c0_t0ivp_qg04b_RU_LMT:0:884|+03:0:8c0|+04:0:b40|+05:1:dw0|+04:0:b40|+05:1:dw0|+04:1:b40|+03:0:8c0_123232323454545467676746767676767676767676767676767676767676747477_1ec 1ed 1w j 6 j 6 j y 1c 0 0 0 0 0 0 0 6 0 0 0 d 0 5l 6 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 2o 1ee 1ef 1eg","2s0_v3wcw_ci3pc_PL_LMT:0:3w0|WMT:0:3w0|CEST:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0|EEST:1:8c0|EET:0:5k0|EET:0:5k0|CEST:1:5k0|CET:0:2s0_132345486732545432345454545454545454545454545454545454545454545459A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A9A_1eh 1ei 1ej 1e 4e 2 5 2 4q 2 1ek 1el 1em 7 d 0 t 1en 9s e2 a8 7r 2 s q d i 1eo 1t 0 0 2c n 0 0 m n m n m n 2c 1t 1ep i d 0 0 0 d i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 6 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","5k0_sh8fp_kxqrv_UA_LMT:0:6ig|+0220:0:6hc|EET:0:5k0|MSK:0:8c0|CET:0:2s0|CEST:1:5k0|CEST:1:5k0|MSD:1:b40|MSK:0:8c0|MSD:1:b40|EEST:1:8c0|EEST:1:8c0|EET:0:5k0_1236454373737378989898989898A2A2A2A2BCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBCBC_1eq 1er 1es 1et 1eu 7 d 1ev 1ew j 6 j 6 j y 1c 0 0 0 0 0 0 0 0 0 0 0 d 0 46 6 9 6 9 6 9 7x 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","2s0_s7l7p_52wd1_CH,DE,LI_LMT:0:1kw|BMT:0:1dm|CEST:1:5k0|CET:0:2s0|CEST:1:5k0|CET:0:2s0_132323454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545_1ex 1ey 1ez 2 5 2 1f0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","0_0_0__-00:0:0__","-rs0_0_0__HST:0:-rs0__","go0_-4d6fp_174523_IO_LMT:0:des|+05:0:dw0|+06:0:go0_122_1f1 1f2 1f3","jg0_-679jv_1qxvi3_CX_LMT:0:jks|+07:0:jg0_11_1f4 1f5","i20_-78ruz_1lp9dn_CC_LMT:0:hy4|+0630:0:i20_11_1f6 1f7","dw0_-tdsui_15t064_TF_-00:0:0|+05:0:dw0_11_1f8 1f9","b40_-2s0tn_x0ucr_SC_LMT:0:a9o|+04:0:b40_11_1fa 1fb","dw0_2hb0r_17rcyo_MV_LMT:0:dm0|MMT:0:dm0|+05:0:dw0_122_1fc 1fd 1fe","b40_-c08p7_y8fa8_MU_LMT:0:anc|+05:1:dw0|+04:0:b40_212122_1ff 1fg 67 1fh e 1fi","b40_-cf8tn_x0ucr_RE,TF_LMT:0:a9s|+04:0:b40_11_1fj 1fk","2s0_0_0__MET:0:2s0|MEST:1:5k0|MEST:1:5k0|MET:0:2s0_1023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323_eh 1e 4e 2 5 2 6l 4n 7 d 0 0 0 4f a1 i d 0 0 0 d i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5","-jg0_0_0__MST:0:-jg0__","-jg0_0_0__MST:0:-jg0|MDT:1:-go0|MWT:1:-go0|MPT:1:-go0|MST:0:-jg0_10102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010_1fl 8 b 8 2t 41 42 4k 9 6 9 6 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","-m80_0_0__PST:0:-m80|PDT:1:-jg0|PWT:1:-jg0|PPT:1:-jg0|PST:0:-m80_10102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010_1fm 8 b 8 2t 4l 4m 4k 9 6 9 6 9 6 9 6 g 6 9 6 9 22 29 2e 2a 6 g r g 6 9 6 9 6 9 6 9 6 g r g 6 9 6 9 6 9 a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 a c a c a c a 8 b 8 b 8 a c a c a 8 b 8 b 8 f 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 f 1 4 1 4 1 4 1 4 1 4 1","1040_-88hv9_-2u8uad_WS_LMT:0:yv4|LMT:0:-vsw|-1130:0:-vy0|-10:1:-rs0|-11:0:-uk0|+13:0:1040|+14:1:12w0_124343656565656565656565656565656565656565656565656565656566_1fn f7 1fo 1fp 1fq i 1fr 1fs 0 d i d i d i d i d i d 0 d i d i d i d i d i s i d i d i d i d i d 0 d i d i d i d i d i d 0 d i d i f8","xc0_-ly6i3_2w1utn_NZ,AQ_LMT:0:wd4|NZST:1:yq0|NZMT:0:vy0|NZST:1:xc0|NZDT:1:1040|NZST:0:xc0|NZST:0:xc0_212323232323232323232323232364545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454_1ft 1fu 1g 12 2w 3m 2w 3m 2w 3m a0 f9 a0 f9 1fv 57 6k 57 6k 57 6k 57 6k 57 fa 1fw fa 57 1fx 1fy 1i 2c 19 m n m n m n m n m n m 19 m n m n m n m n m n m 19 m n 3 z 14 z 14 z 14 q s q s q s q 14 z 14 z 14 q s q s q 14 z 14 z 14 q s q s q s q s d i d i d i d i d 0 d i d i d i d i d i d 0 d i d i d i d i d i s i d i d i d i d i d 0 d i d i d i d i d i d 0 d i d i","uk0_-3p8t7_2kmc0b_PG_LMT:0:st4|PMMT:0:r8w|+10:0:rs0|+09:0:p00|+11:0:uk0_123244_1fz 1g0 1g1 1g2 1g3 1g4","zf0_-q601c_-2x42uo_NZ_LMT:0:xz0|+1215:0:y10|+1345:1:1270|+1245:0:zf0|+1245:0:zf0_1423232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232322_1g5 1g6 1g7 1i 2c 19 m n m n m n m n m n m 19 m n m n m n m n m n m 19 m n 3 z 14 z 14 z 14 q s q s q s q 14 z 14 z 14 q s q s q 14 z 14 z 14 q s q s q s q s d i d i d i d i d 0 d i d i d i d i d i d 0 d i d i d i d i d i s i d i d i d i d i d 0 d i d i d i d i d i d 0 d i d i f8","rs0_4eyqj_2id8rp_FM_LMT:0:-12k4|LMT:0:s3w|+10:0:rs0|+09:0:p00|+10:0:rs0_1232322_1g8 6m 1g9 1ga 1gb aa fb","-go0_-g5x2o_-1t5jat_CL_LMT:0:-k94|EMT:0:-k94|-06:1:-go0|-07:0:-jg0|-07:0:-jg0|-06:0:-go0|-05:1:-dw0_14232323232323232323232323232565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656566_1gc 1gd 1ge o 1a 15 18 e h e k o 2v 2m k o k e h e h e k o k o k e h e h e h e k o k o k 9 6 e h e k o x 1b k e h e h e h e k o k 1d 18 e 18 g x e k o k o k o k e h e h e k o k 1d 18 e h 1b x 8 7h 6h 4 1 f 3e f 7i 49 7j 49 7j 49 1 b 8 b 8 b 8 b 8 b v b 8 b 8 b 8 b 8 b v 16 v b 8 b 8 b 8 b 8 b v 16 v b 8 b cw","uk0_-ainor_2s9r4r_VU_LMT:0:v64|+12:1:xc0|+11:0:uk0|+12:1:xc0|+11:0:uk0_412343434343434343434344_1gf 1gg 3g 1gh 9 6 9 x 1b x 9 6 9 6 9 6 9 6 9 x 1g 3b 3j 1gi","1040_-1v5p1_-2tuwqt_KI_LMT:0:-vok|-12:0:-xc0|-11:0:-uk0|+13:0:1040_1233_1gj 1gk 1gl 1gm","1040_-5krd7_-2ty4hh_TK_LMT:0:-vpk|-11:0:-uk0|+13:0:1040_122_1gn 1go 1gp","xc0_-asnrp_2y836j_FJ_LMT:0:x4w|+13:1:1040|+12:0:xc0_2121212121212121212121212121212121212121212121212121212121212122_1gq 1gr 1t 4r 1i 1gs 1t 5 19 26 5t 7s 5t a9 5m 97 63 1gt 63 50 3k 50 3k 50 3k 38 3p 1gu 1gv 38 3p 38 3p 38 3p 38 3p 38 3k 50 3k 38 3p 38 3p 38 3p 38 3p 38 3k 38 3p 38 3p 38 3p 38 3p 38 3k 50 3k 1gw","xc0_-52ji3_2yp8gr_TV_LMT:0:x6s|+12:0:xc0_11_1gx 1gy","-go0_-jag0_-1hcfsw_EC_LMT:0:-glc|-05:0:-dw0|-05:1:-dw0|-06:0:-go0_13233_1gz 1h0 1h1 6q 1h2","-p00_-drtsl_-28cg34_PF_LMT:0:-ozo|-09:0:-p00_11_1h3 1h4","uk0_-5obyt_2ndn40_SB_LMT:0:tmc|+11:0:uk0_11_1h5 1h6","rs0_80my3_2e6htc_GU,MP_LMT:0:-13v0|LMT:0:qt0|GST:0:rs0|+09:0:p00|GDT:1:uk0|ChST:0:rs0_123242424242424242425_1h7 6m 1h8 1h9 1ha 1hb 1hc 1hd 1he 27 1a 17 1x 17 1hf 27 1hg 1hh 1hi 15 1hj","-rs0_coojk_-2lzg9p_US,UM_LMT:0:-t8e|HST:0:-t60|HDT:1:-qe0|HWT:1:-qe0|HPT:1:-qe0|HST:0:-rs0_1213415_1hk 1hl 1hm 1hn 1ho 1hp 1hq","12w0_140bv_-2lo76d_KI_LMT:0:-t4w|-1040:0:-tmo|-10:0:-rs0|+14:0:12w0_1233_1hr 1hs 1ht 1hu","uk0_35yd7_2p1aqt_FM_LMT:0:-10hg|LMT:0:u6k|+11:0:uk0|+09:0:p00|+10:0:rs0|+12:0:xc0|+11:0:uk0_1232432522_1hv 6m 1hw ab ac 82 aa 1hx 1hy 1hz","xc0_5eoqt_2rmj85_MH_LMT:0:uzk|+11:0:uk0|+10:0:rs0|+09:0:p00|-12:0:-xc0|+12:0:xc0_1231455_1i0 1i1 82 1i2 1i3 1i4 1i5","xc0_498z4_2txerk_MH_LMT:0:vpc|+11:0:uk0|+09:0:p00|+10:0:rs0|+12:0:xc0_12132144_1i6 1i7 ab ac 82 1i8 1i9 1ia","-qe0_-5cwg0_-2b1yw0_PF_LMT:0:-pu0|-0930:0:-qe0_11_1ib 1ic","xc0_-b2nv_2rdlq3_NR_LMT:0:uws|+1130:0:vy0|+09:0:p00|+12:0:xc0_12133_1id 1ie 1if 1ig 1ih","-uk0_-bblcr_-2t5wjf_NU_LMT:0:-vgs|-1120:0:-vhc|-1130:0:-vy0|-11:0:-uk0_1233_1ii 1ij 1ik 1il","uk0_-han4g_2s03wr_NF_LMT:0:v3s|+1112:0:v40|+1130:0:vy0|+1230:1:yq0|+1130:0:vy0|+11:0:uk0|+12:1:xc0_1234565656565656565656565656565656565656566_1im 1in 1io n 1ip 1iq 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 1ir","uk0_-d992j_2r3ln4_NC_LMT:0:uto|+12:1:xc0|+11:0:uk0|+12:1:xc0|+11:0:uk0_21212344_1is 1it 1iu 1iv 1iw 1ix 5t 1iy","-uk0_-8hs8b_-2tmoyo_AS,UM_LMT:0:z20|LMT:0:-vm0|SST:0:-uk0_12_1iz f7","p00_4d6fp_282g05_PW_LMT:0:-15rg|LMT:0:owk|+09:0:p00_122_1j0 6m 1j1","-m80_-ex9kb_-25g4xx_PN_LMT:0:-o38|-0830:0:-nm0|-08:0:-m80_122_1j2 1j3 1j4","uk0_45bij_2m74rf_FM_LMT:0:-11d8|LMT:0:tas|+11:0:uk0|+09:0:p00|+10:0:rs0|+11:0:uk0_12324322_1j5 6m 1j6 ab ac 82 aa fb","rs0_-5nm8w_2fmaiz_PG_LMT:0:r94|PMMT:0:r8w|+10:0:rs0_122_1j7 1j8 1j9","-rs0_-cn3qt_-2n4cqz_CK_LMT:0:-tl4|-1030:0:-t60|-10:0:-rs0|-0930:1:-qe0_1323232323232323232323232322_1ja 1jb 1y 1h 1v 1h 1v 1h 23 1h 1v 1h 1v 1h 1v 1h 1v 1h 1v 1h 23 1h 1v 1h 1v 1h 1v 1jc","-rs0_-afst1_-2h1qdn_PF_LMT:0:-rp4|-10:0:-rs0_11_1jd 1je","xc0_ud3v_2uzznk_KI_LMT:0:w1g|+12:0:xc0_11_1jf 1jg","1040_-cloaz_-2wafgr_TO_LMT:0:y88|+1220:0:y9c|+13:0:1040|+14:1:12w0|+13:0:1040|+14:1:12w0_12345252522_1jh 1ji 1jj f6 26 5m 1jk 5m 1jl 3k 1jm","xc0_bhb45_2r768r_UM_LMT:0:uus|+12:0:xc0_11_1jn 1jo","xc0_-7x2cg_-2wvv2j_WF_LMT:0:y1k|+12:0:xc0_11_1jp 1jq","0_0_0__WET:0:0|WEST:1:2s0|WEST:1:2s0|WET:0:0_10101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010_ei i d 0 0 0 d i 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 0 d 0 0 0 0 0 0 0 0 0 0 d 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 5 2 3 7 3 7 3 2 5 2 5 2 3 7 3 7 3 7 3 2 5 2 5"]},Q=100,De=function(){function Se(de){de===void 0&&(de=Q),this.storage=new Map,this.capacity=de;var We={};We.next=We,We.prev=We,this.root=We}return Se.prototype.size=function(){return this.storage.size},Se.prototype.get=function(de){var We=this.storage.get(de);if(We)return this.moveFront(We),We.val},Se.prototype.set=function(de,We){if(this.capacity!==0){var _t=this.storage.get(de);if(_t){_t.val=We,this.moveFront(_t);return}if(this.storage.size===this.capacity){var nn=this.root.prev;this.storage.delete(nn.key),this.storage.set(de,nn),nn.key=de,nn.val=We,this.moveFront(nn);return}_t={key:de,val:We},this.storage.set(de,_t),this.insert(_t,this.root)}},Se.prototype.toString=function(){for(var de="",We=this.root.next;We&&We!==this.root;)de.length>0&&(de+=" "),de+="".concat(We.key,"=").concat(We.val),We=We.next;return de},Se.prototype.moveFront=function(de){this.insert(this.remove(de),this.root)},Se.prototype.insert=function(de,We){var _t=We.next;return We.next=de,de.prev=We,de.next=_t,_t.prev=de,de},Se.prototype.remove=function(de){return de.prev.next=de.next,de.next.prev=de.prev,de.prev=de.next=void 0,de},Se}(),at=function(){function Se(de,We){this.builder=de,this.storage=new De(We)}return Se.prototype.size=function(){return this.storage.size()},Se.prototype.get=function(de){var We=this.storage.get(de);return We===void 0&&(We=this.builder(de),this.storage.set(de,We)),We},Se}(),Dt=function(Se,de){for(var We=0;We<de.length;We++)Se^=de.charCodeAt(We),Se+=(Se<<1)+(Se<<4)+(Se<<7)+(Se<<8)+(Se<<24);return Se>>>0},zt=function(){function Se(){this.v=0,this.v=2166136261}return Se.prototype.update=function(de){return this.v=Dt(this.v,de),this},Se.prototype.get=function(){return this.v},Se}(),Qn=function(Se){return Se-1>>1},Cr=function(Se){return(Se<<1)+1},wr=function(Se){return(Se<<1)+2},No=function(){function Se(de,We){this.cmp=de,this.items=We.slice(0);for(var _t=Qn(We.length-1);_t>=0;_t--)this._down(_t)}return Se.prototype.empty=function(){return!this.items.length},Se.prototype.push=function(de){this.items.push(de),this._up()},Se.prototype.pop=function(){if(this.items.length<=1)return this.items.pop();var de=this.items[0];return this.items[0]=this.items.pop(),this._down(),de},Se.prototype._down=function(de){de===void 0&&(de=0);for(var We=this.items.length;;){var _t=Cr(de);if(_t>=We)break;var nn=wr(de),vn=nn<We?this.cmp(this.items[_t],this.items[nn])===-1?_t:nn:_t;if(this.cmp(this.items[vn],this.items[de])>=0)break;this.swap(vn,de),de=vn}},Se.prototype._up=function(){for(var de=this.items.length-1;de>0;){var We=Qn(de);if(this.cmp(this.items[de],this.items[We])!==-1)break;this.swap(de,We),de=We}},Se.prototype.swap=function(de,We){var _t=this.items[de];this.items[de]=this.items[We],this.items[We]=_t},Se}(),Co=function(Se,de,We){for(var _t=0,nn=Se.length-1,vn=0;_t<=nn;){vn=_t+(nn-_t>>1);var cr=Se[vn];switch(cr>We?1:cr<We?-1:0){case-1:_t=vn+1;break;case 1:nn=vn-1;break;default:return vn}}return de?_t-1:_t},Ro=function(Se){return Se?Se.split(" ").map(function(de){return parseInt(de,36)}):[]},Qo=function(){function Se(de){var We=this;this.zoneindex=new Map,this.linkindex=new Map,this.utcinfo={zoneid:"Etc/UTC",abbr:"UTC",dst:0,offset:0};var _t=de.zoneids.split("|").map(function(cr,lo){return[cr,lo]}),nn=de.links.split("|").map(function(cr){var lo=cr.split(":"),Po=lo[0],oa=lo[1];return[Po,Number(oa)]}),vn=function(cr,lo){var Po=cr.toLowerCase();We.linkindex.set(cr,lo),We.linkindex.set(Po,lo)};this._zoneids=[],_t.forEach(function(cr){var lo=cr[0];We._zoneids.push(lo),We.zoneindex.set(lo,cr[1]),vn(lo,lo)}),nn.forEach(function(cr){var lo=cr[0],Po=_t[cr[1]][0];vn(lo,Po)}),this.untilindex=Ro(de.index),this.rawzoneinfo=de.zoneinfo,this.zonerecords=new Array(de.zoneinfo.length),de.zoneids="",de.links="",de.index=""}return Se.prototype.fromUTC=function(de,We){var _t=this.lookup(de,We,!0);return _t&&_t[1]},Se.prototype.fromWall=function(de,We){return this.lookup(de,We,!1)},Se.prototype.utcZone=function(){return this.utcinfo},Se.prototype.resolveId=function(de){return this.linkindex.get(de)},Se.prototype.zoneMeta=function(de){var We=this.record(de);if(We)return{zoneid:We[0],stdoffset:We[1].stdoff,latitude:We[1].latitude,longitude:We[1].longitude,countries:We[1].countries}},Se.prototype.zoneIds=function(){return this._zoneids},Se.prototype.lookup=function(de,We,_t){var nn=this.record(de);if(nn){var vn=nn[0],cr=nn[1],lo=_t?cr.fromUTC(We):cr.fromWall(We),Po=lo[0],oa=lo[1];return[Po,(0,Fu.__assign)((0,Fu.__assign)({},oa),{zoneid:vn})]}},Se.prototype.record=function(de){var We=this.linkindex.get(de);if(We!==void 0){var _t=this.zoneindex.get(We),nn=this.zonerecords[_t];if(nn===void 0){var vn=this.rawzoneinfo[_t];nn=new ka(vn,this.untilindex),this.zonerecords[_t]=nn,this.rawzoneinfo[_t]=""}return[We,nn]}},Se}(),ka=function(){function Se(de,We){var _t=de.split("_"),nn=_t[0],vn=_t[1],cr=_t[2],lo=_t[3],Po=_t[4],oa=_t[5],fa=_t[6],Va=Ro(fa),ci=oa?oa.split("").map(function(_i){return Ca[_i]}):[],di=Va.length;if(di>0){Va[0]=We[Va[0]]*1e3;for(var Xs=1;Xs<di;Xs++)Va[Xs]=Va[Xs-1]+We[Va[Xs]]*1e3}this.stdoff=parseInt(nn,36)*1e3,this.latitude=parseInt(vn,36)/1e6,this.longitude=parseInt(cr,36)/1e6,this.countries=lo?lo.split(","):[],this.localtime=Po.split("|").map(this.decodeInfo),this.types=ci,this.untils=Va,this.len=Va.length}return Se.prototype.fromUTC=function(de){var We=Co(this.untils,!0,de),_t=We===-1?0:this.types[We];return[de,this.localtime[_t]]},Se.prototype.fromWall=function(de){var We=Co(this.untils,!0,de-864e5),_t=this.localtime[We===-1?0:this.types[We]];if(We++,We===this.types.length)return[de-_t.offset,_t];var nn=this.localtime[this.types[We]],vn=this.untils[We],cr=vn+_t.offset,lo=vn+nn.offset;return de<cr&&de<lo?[de-_t.offset,_t]:cr<lo?de<lo?[de-_t.offset,nn]:[de-nn.offset,nn]:de<cr?[de-_t.offset,_t]:[de-nn.offset,nn]},Se.prototype.decodeInfo=function(de){var We=de.split(":"),_t=We[0],nn=We[1],vn=We[2];return{abbr:_t,dst:Number(nn),offset:parseInt(vn,36)*1e3}},Se}(),Ca="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").reduce(function(Se,de,We){return Se[de]=We,Se},{}),ls=new Qo(Ut),vs=function(){return vs=Object.assign||function(Se){for(var de,We=1,_t=arguments.length;We<_t;We++){de=arguments[We];for(var nn in de)Object.prototype.hasOwnProperty.call(de,nn)&&(Se[nn]=de[nn])}return Se},vs.apply(this,arguments)},Es={"SystemV/AST4":"America/Puerto_Rico","SystemV/AST4ADT":"America/Halifax","SystemV/CST6":"America/Regina","SystemV/CST6CDT":"America/Chicago","SystemV/EST5":"America/Indianapolis","SystemV/EST5EDT":"America/New_York","SystemV/HST10":"Pacific/Honolulu","SystemV/MST7":"America/Phoenix","SystemV/MST7MDT":"America/Denver","SystemV/PST8":"Pacific/Pitcairn","SystemV/PST8PDT":"America/Los_Angeles","SystemV/YST9":"Pacific/Gambier","SystemV/YST9YDT":"America/Anchorage"},fi=vs(vs({},Es),{"Canada/East-Saskatchewan":"America/Regina","Etc/Unknown":"Factory"}),Bo=function(Se){return fi[Se]||Se},Hi=function(Se,de){var We=ls.fromUTC(Se,de);return We===void 0&&(We=ls.utcZone()),We},Qi=Number.MAX_SAFE_INTEGER,Li=Math.floor,Gl=function(){function Se(de,We){this._firstDay=de,this._minDays=We,this._fields=Ed(),this._fields[6]=Qi,this._fields[5]=Qi}return Se.prototype.unixEpoch=function(){return this._fields[0]-this._zoneInfo.offset},Se.prototype.firstDayOfWeek=function(){return this._firstDay},Se.prototype.minDaysInFirstWeek=function(){return this._minDays},Se.prototype.julianDay=function(){var de=(this._fields[13]-this._zoneInfo.offset)/864e5;return this._fields[1]-.5+de},Se.prototype.modifiedJulianDay=function(){return this._fields[1]},Se.prototype.era=function(){return this._fields[2]},Se.prototype.extendedYear=function(){return this._fields[3]},Se.prototype.year=function(){return this._fields[4]},Se.prototype.relatedYear=function(){return this._fields[3]},Se.prototype.yearOfWeekOfYear=function(){return this.computeWeekFields(),this._fields[5]},Se.prototype.weekOfYear=function(){return this.computeWeekFields(),this._fields[6]},Se.prototype.yearOfWeekOfYearISO=function(){return this.computeWeekFields(),this._fields[23]},Se.prototype.weekOfYearISO=function(){return this.computeWeekFields(),this._fields[24]},Se.prototype.month=function(){return this._fields[7]},Se.prototype.weekOfMonth=function(){return this.computeWeekFields(),this._fields[8]},Se.prototype.dayOfYear=function(){return this._fields[9]},Se.prototype.dayOfWeek=function(){return this._fields[11]},Se.prototype.ordinalDayOfWeek=function(){var de=this.dayOfWeek(),We=this.firstDayOfWeek();return(7-We+de)%7+1},Se.prototype.dayOfWeekInMonth=function(){return this.computeWeekFields(),this._fields[12]},Se.prototype.dayOfMonth=function(){return this._fields[10]},Se.prototype.isAM=function(){return this._fields[14]===0},Se.prototype.hour=function(){return this._fields[16]},Se.prototype.hourOfDay=function(){return this._fields[15]},Se.prototype.minute=function(){return this._fields[17]},Se.prototype.second=function(){return this._fields[18]},Se.prototype.milliseconds=function(){return this._fields[19]},Se.prototype.millisecondsInDay=function(){return this._fields[13]},Se.prototype.timeZoneId=function(){return this._zoneInfo.zoneid},Se.prototype.timeZoneAbbr=function(){return this._zoneInfo.abbr},Se.prototype.timeZoneOffset=function(){return this._zoneInfo.offset},Se.prototype.isLeapYear=function(){return this._fields[21]===1},Se.prototype.isDaylightSavings=function(){return this._zoneInfo.dst===1},Se.prototype.initFromUnixEpoch=function(de,We){We=Bo(We),this._zoneInfo=Hi(We,de),Zl(de+this._zoneInfo.offset,this._fields),tu(this._fields)},Se.prototype.initFromJD=function(de,We,_t){var nn=Vc(de,We);this.initFromUnixEpoch(nn,_t)},Se.prototype.computeWeekFields=function(){var de=this._fields;if(de[5]===Qi){var We=de[11],_t=de[10],nn=de[9];de[8]=this.weekNumber(this._firstDay,this._minDays,_t,_t,We),de[12]=((_t-1)/7|0)+1,this._computeWeekFields(6,5,this._firstDay,this._minDays,We,_t,nn),this._computeWeekFields(24,23,2,4,We,_t,nn)}},Se.prototype._computeWeekFields=function(de,We,_t,nn,vn,cr,lo){var Po=this._fields,oa=Po[3],fa=oa,Va=(vn+7-_t)%7,ci=(vn-lo+7001-_t)%7,di=Li((lo-1+ci)/7);if(7-ci>=nn&&di++,di===0){var Xs=lo+this.yearLength(oa-1);di=this.weekNumber(_t,nn,Xs,Xs,vn),fa--}else{var _i=this.yearLength(oa);if(lo>=_i-5){var js=(Va+_i-lo)%7;js<0&&(js+=7),6-js>=nn&&lo+7-Va>_i&&(di=1,fa++)}}Po[de]=di,Po[We]=fa},Se.prototype.yearLength=function(de){return this.monthStart(de+1,0,!1)-this.monthStart(de,0,!1)},Se.prototype.weekNumber=function(de,We,_t,nn,vn){var cr=(vn-de-nn+1)%7;cr<0&&(cr+=7);var lo=Li((_t+cr-1)/7);return 7-cr>=We?lo+1:lo},Se.prototype.utcfields=function(){var de=this.unixEpoch(),We=this._fields.slice(0);return Zl(de,We),tu(We),this.initFields(We),We},Se}(),Zl=function(Se,de){var We=864e5,_t=Li(Se/We),nn=_t+2440588,vn=Se-_t*We;de[1]=nn,de[13]=vn},Vc=function(Se,de){var We=Se-2440588;return We*864e5+de},tu=function(Se){var de=Se[1];lu(de);var We=Se[13],_t=We+(de-2440588)*864e5;Se[0]=_t,Se[1]=de,Se[13]=We,Se[19]=We%1e3,We=We/1e3|0,Se[18]=We%60,We=We/60|0,Se[17]=We%60,We=We/60|0,Se[15]=We,Se[14]=We/12|0,Se[16]=We%12;var nn=(de+2)%7;nn<1&&(nn+=7),Se[11]=nn},lu=function(Se){if(Se<0||Se>4881503)throw new Error("Julian day ".concat(Se," is outside the supported range of this library: ")+"".concat("Mon Jan  1 4713 B.C."," to ").concat("Fri Dec 31 8652 A.D."))},Lu=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),yu=function(Se,de,We){var _t=Math.floor(Se/de);return We[0]=Se%de,_t},ic=function(Se){Lu(de,Se);function de(We,_t){return Se.call(this,We,_t)||this}return de.prototype.withZone=function(We){return new de(this._firstDay,this._minDays).initFromUnixEpoch(this.unixEpoch(),We)},de.fromUnixEpoch=function(We,_t,nn,vn){return nn===void 0&&(nn=1),vn===void 0&&(vn=1),new de(nn,vn).initFromUnixEpoch(We,_t)},de.prototype.initFromUnixEpoch=function(We,_t){return Se.prototype.initFromUnixEpoch.call(this,We,_t),this.initFields(this._fields),this},de.prototype.initFromJD=function(We,_t,nn){return Se.prototype.initFromJD.call(this,We,_t,nn),this.initFields(this._fields),this},de.prototype.initFields=function(We){We[1]>=2299161?Au(We):au(We);var _t=We[3],nn=1;_t<1&&(nn=0,_t=1-_t),We[2]=nn,We[4]=_t},de.prototype.daysInMonth=function(We,_t){return cu[_t][jc(We)?1:0]},de.prototype.daysInYear=function(We){return jc(We)?366:365},de.prototype.monthCount=function(){return 12},de.prototype.monthStart=function(We,_t,nn){var vn=(We|0)%4===0,cr=We-1,lo=365*cr+kc(cr/4)+1721423;if(We>=1582&&(vn=vn&&(We%100!==0||We%400===0),lo+=kc(cr/400)-kc(cr/100)+2),_t!==0){var Po=cu,oa=kc(_t),fa=_t-oa;lo+=Po[oa][vn?3:2],fa!==0&&(lo+=fa*Po[oa+1][vn?1:0])}return lo},de}(Gl),kc=Math.floor,cu=[[31,31,0,0],[28,29,31,31],[31,31,59,60],[30,30,90,91],[31,31,120,121],[30,30,151,152],[31,31,181,182],[31,31,212,213],[30,30,243,244],[31,31,273,274],[30,30,304,305],[31,31,334,335]],Au=function(Se){var de=Se[1]-1721426,We=[0],_t=yu(de,146097,We),nn=yu(We[0],36524,We),vn=yu(We[0],1461,We),cr=yu(We[0],365,We),lo=400*_t+100*nn+4*vn+cr,Po=We[0];nn===4||cr===4?Po=365:++lo;var oa=jc(lo),fa=0,Va=oa?60:59;Po>=Va&&(fa=oa?1:2);var ci=kc((12*(Po+fa)+6)/367),di=Po-cu[ci][oa?3:2]+1;Se[3]=lo,Se[7]=ci+1,Se[10]=di,Se[9]=Po+1,Se[21]=oa?1:0},au=function(Se){var de=Se[1]-1721424,We=kc((4*de+1464)/1461),_t=365*(We-1)+kc((We-1)/4),nn=de-_t,vn=We%4===0,cr=0,lo=vn?60:59;nn>=lo&&(cr=vn?1:2);var Po=kc((12*(nn+cr)+6)/367),oa=nn-cu[Po][vn?3:2]+1;Se[3]=We,Se[7]=Po+1,Se[10]=oa,Se[9]=nn+1,Se[21]=vn?1:0},jc=function(Se){var de=Se%4===0;return Se>=1582&&(de=de&&(Se%100!==0||Se%400===0)),de},lc=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),Nu=function(Se){var de=Se.resolve(["website","timeZone"]);return de.isMissing()?"America/New_York":de.asString()},Zd=function(Se){lc(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0];if(We.length===0){vn.set("");return}var cr=_t[0].node.asNumber(),lo=Nu(nn),Po=ic.fromUnixEpoch(cr,lo),oa=kl(Po,We.join(" "));vn.set(oa)},de}(Dn),_d={date:new Zd},pu=function(Se){var de=Se.resolve(["website","timeZone"]);return de.isMissing()?"America/New_York":de.asString()},Lc=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),od=function(Se){Lc(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=nn.cldr;if(!cr){vn.set("");return}var lo=vn.node.asNumber();if(isNaN(lo)){vn.set("");return}var Po=jt(We),oa=pu(nn),fa=cr.Calendars.formatDate({date:lo,zoneId:oa},Po);vn.set(fa)},de}(Dn),yd=function(Se){Lc(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=nn.cldr;if(!vn||_t.length<2){_t[0].set("");return}var cr=_t[0].node.asNumber(),lo=_t[1].node.asNumber();if(!isFinite(cr)||!isFinite(lo)){_t[0].set("");return}var Po=pu(nn),oa={date:cr,zoneId:Po},fa={date:lo,zoneId:Po},Va=Rn(We),ci=vn.Calendars.formatDateInterval(oa,fa,Va);_t[0].set(ci)},de}(Dn),cd=function(Se){Lc(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=nn.cldr;if(!cr){vn.set("");return}var lo=vn.node.asString(),Po=Zn(We),oa=Je(lo);if(oa!==void 0){var fa=cr.Numbers.formatDecimal(oa,Po);vn.set(fa)}else vn.set("")},de}(Dn),Vd=function(Se){for(var de=0;de<Se.length;de++){var We=Se[de];if(We===":"||We==="=")return de}return-1},Od=function(Se){Lc(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=nn.cldr;if(!cr){vn.set("");return}var lo=[],Po={};We.forEach(function(di){var Xs=nn.frame().parent,_i=Vd(di);if(_i===-1){var js=nn.resolveFrom(Xe(di),Xs||nn.frame());lo.push(js)}else{var al=di.slice(0,_i),vl=di.slice(_i+1),hc=nn.resolveFrom(Xe(vl),Xs||nn.frame());Po[al]=hc,lo.push(hc)}});var oa=nn.formatter,fa=pu(nn);oa.setTimeZone(fa);var Va=vn.node.asString(),ci=oa.formatter.format(Va,lo,Po);vn.set(ci)},de}(Dn),ud=function(Se){Lc(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node,lo=cr.path(["decimalValue"]),Po=cr.path(["currencyCode"]);if((lo.isMissing()||Po.isMissing())&&(lo=cr.path(["value"]),Po=cr.path(["currency"]),lo.isMissing()||Po.isMissing())){vn.set("");return}var oa=nn.cldr;if(!oa){vn.set("");return}var fa=Po.asString(),Va=Je(lo.asString());if(Va!==void 0){var ci=$n(We),di=oa.Numbers.formatCurrency(Va,fa,ci);vn.set(di)}else vn.set("")},de}(Dn),Tl=function(Se){Lc(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=nn.cldr;if(!cr){vn.set("");return}var lo=nn.now===void 0?new Date().getTime():nn.now,Po=vn.node.asNumber();if(_t.length>1&&(lo=Po,Po=_t[1].node.asNumber()),!isFinite(lo)||!isFinite(Po)){vn.set("");return}var oa=cr.Calendars.toGregorianDate({date:lo}),fa=cr.Calendars.toGregorianDate({date:Po}),Va=jn(We),ci=cr.Calendars.formatRelativeTime(oa,fa,Va);vn.set(ci)},de}(Dn),nu=function(Se){Lc(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.asNumber(),lo=nn.cldr;if(!lo||!isFinite(cr)){vn.set("Invalid date.");return}var Po=nn.now===void 0?new Date().getTime():nn.now,oa=lo.Calendars.toGregorianDate({date:Po}),fa=lo.Calendars.toGregorianDate({date:cr}),Va=oa.unixEpoch()-fa.unixEpoch(),ci=gu(Va,!1),di='<span class="timesince" data-date="'.concat(cr,'">').concat(ci,"</span>");vn.set(di)},de}(Dn),uu={datetime:new od,"datetime-interval":new yd,decimal:new cd,message:new Od,money:new ud,plural:new Od,"relative-time":new Tl,timesince:new nu},dd=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),Tu=function(Se){dd(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){},de}(Dn),Wd=["datetimefield","i18n-money-format","money-format","money-string","moneyFormat","unit"],qd=Wd.reduce(function(Se,de){return Se[de]=new Tu,Se},{}),af=JSON.parse('[17,1,[[8,[],[["websiteSettings","disqusShortname"]],[[0,"\\n  <a href=\\""],[1,[["fullUrl"]],0],[0,"\\" class=\\"sqs-comment-link sqs-disqus-comment-link\\" data-id=\\""],[1,[["id"]],0],[0,"\\"></a>\\n"]],[7,0,0,[[0,"\\n  <a href=\\""],[1,[["fullUrl"]],0],[0,"#comments-"],[1,[["id"]],0],[0,"\\" class=\\"sqs-comment-link\\" data-id=\\""],[1,[["id"]],0],[0,"\\">\\n  "],[5,"equal?",[["publicCommentCount","0"]," "],[[0,"No"]],[7,0,0,[[1,[["publicCommentCount"]],0]],3]],[0,"\\n  Comment"],[5,"notEqual?",[["publicCommentCount","1"]," "],[[0,"s"]],3],[0,"\\n  </a>\\n"]],3]]],18]'),Kd=JSON.parse('[17,1,[[8,[],[["websiteSettings","disqusShortname"]],[[0,"\\n  <div class=\\"squarespace-comments\\" id=\\"disqus_thread\\"></div>\\n"]],[7,0,0,[[0,"\\n  <div class=\\"squarespace-comments\\" id=\\"comments-"],[1,[["id"]],0],[0,"\\""],[8,[],[["item"]],[[0," data-item-id=\\""],[1,[["item","id"]],0],[0,"\\" data-public-comment-count=\\""],[1,[["item","publicCommentCount"]],0],[0,"\\" data-comment-state=\\""],[1,[["item","commentState"]],0],[0,"\\""]],[7,0,0,[[8,[],[["collection"]],[[0," data-collection-id=\\""],[1,[["collection","id"]],0],[0,"\\" data-public-comment-count=\\""],[1,[["collection","publicCommentCount"]],0],[0,"\\" data-comment-state=\\""],[1,[["collection","commentState"]],0],[0,"\\""]],3]],3]],[0,"></div>\\n"]],3]]],18]'),ad=JSON.parse('[17,1,[[8,[1],[["@"],["websiteSettings","simpleLikingEnabled"]],[[0,"\\n  <span class=\\"sqs-simple-like\\" data-item-id=\\""],[1,[["id"]],0],[0,"\\" data-like-count=\\""],[1,[["likeCount"]],0],[0,"\\">\\n    <span class=\\"like-icon\\"></span>\\n    <span class=\\"like-count\\"></span>\\n  </span>\\n"]],3]],18]'),Vu=function(Se){for(var de=[],We=1;We<arguments.length;We++)de[We-1]=arguments[We];for(var _t=0;_t<de.length;_t++){var nn=de[_t],vn=Se.get(nn);if(!vn.isMissing())return vn}return Bt},zu=function(Se,de,We){var _t=Se.get("shareButtonOptions");if(Se.isMissing()||_t.isMissing()||_t.size()===0)return"";var nn=Vu(de,"systemDataId","mainImageId").asString(),vn=de.get("recordType").asString(),cr=de.get("fullUrl").asString(),lo=Mi(de.get("title").asString()),Po=de.get("assetUrl");Po.isMissing()&&(Po=de.path(["mainImage","assetUrl"]));var oa=We?"<span ":"<div ";return oa+='class="squarespace-social-buttons '.concat(We?"inline-style":"button-style",'"'),oa+=' data-system-data-id="'.concat(nn,'"'),oa+=' data-asset-url="'.concat(Po.asString(),'"'),oa+=' data-record-type="'.concat(vn,'"'),oa+=' data-full-url="'.concat(cr,'"'),oa+=' data-title="'.concat(lo,'">'),oa+=We?"</span>":"</div>",oa},Wu=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),Ld=/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\\/%=~_|])/gi,sf='<a target="new" href="$1">$1</a>',lf=/(^| )@([a-z0-9_]+)/gi,xd='$1<a target="new" href="https://twitter.com/$2/">@$2</a>',wd=/(^| )#([a-z0-9_]+)/gi,kd=function(Se){Wu(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node.asString();cr=cr.replace(Ld,sf),cr=cr.replace(lf,xd),cr=cr.replace(wd,function(lo,Po,oa){var fa=escape(oa);return Po+'<a target="new" href="https://twitter.com/hashtag/'.concat(fa,'?src=hash">#').concat(oa,"</a>")}),vn.set(cr)},de}(Dn),fd=function(Se){var de="",We=Se.get("publicCommentCount").asNumber();return We===0?de+="No":de+=We,de+=" Comment",We!==1&&(de+="s"),de},sd=function(Se){Wu(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0];vn.set(fd(vn.node))},de}(Dn),cf=function(Se){Wu(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=yi(nn,af,vn.node,!1);vn.set(cr)},de}(Dn),uf=function(Se){Wu(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=yi(nn,Kd,vn.node,!1);vn.set(cr)},de}(Dn),$u="%Y%m%dT%H%M%SZ",Nd=function(Se){var de=Se.get("addressLine1").asString().trim(),We=Se.get("addressLine2").asString().trim(),_t=Se.get("addressCountry").asString().trim();return[de,We,_t].filter(function(nn){return nn.length>0}).join(", ")},Bd=function(Se){Wu(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node,lo=cr.get("startDate").asNumber(),Po=cr.get("endDate").asNumber(),oa=escape(cr.get("title").asString()),fa=ic.fromUnixEpoch(lo,"UTC"),Va=ic.fromUnixEpoch(Po,"UTC"),ci=kl(fa,$u),di=kl(Va,$u),Xs="http://www.google.com/calendar/event?action=TEMPLATE&text=".concat(oa);Xs+="&dates=".concat(ci,"/").concat(di);var _i=cr.get("location");if(!_i.isMissing()){var js=Nd(_i);js!==""&&(Xs+="&location=".concat(encodeURIComponent(js)))}vn.set(Xs)},de}(Dn),Pc=function(Se){Wu(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=yi(nn,ad,vn.node,!1);vn.set(cr)},de}(Dn),Fl=function(Se){Wu(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=nn.resolve(["website"]),lo=zu(cr,vn.node,!1);vn.set(lo)},de}(Dn),Gd=function(Se){Wu(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=nn.resolve(["website"]),lo=zu(cr,vn.node,!0);vn.set(lo)},de}(Dn),hd=function(Se){Wu(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t,nn){var vn=_t[0],cr=vn.node,lo=cr.get("userName").asString();if(lo===""){var Po=cr.get("profileUrl").asString(),oa=Po.split("/");lo=oa[oa.length-1]}var fa="<script>Y.use('squarespace-follow-buttons', function(Y) { ";fa+="Y.on('domready', function() { Y.Squarespace.FollowButtonUtils.renderAll(); }); });",fa+='<\/script><div class="squarespace-follow-button" data-username="'.concat(lo,'"></div>'),vn.set(fa)},de}(Dn),zd={"activate-twitter-links":new kd,"comment-count":new sd,"comment-link":new cf,comments:new uf,"google-calendar-url":new Bd,"like-button":new Pc,"social-button":new Fl,"social-button-inline":new Gd,"twitter-follow-button":new hd},Pd=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),Cd=function(Se){Pd(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return Jt(_t.node())},de}(Wt),xn=function(Se){Pd(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return Jn(_t.node())},de}(Wt),$s=function(Se){Pd(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return Hn(_t.node())},de}(Wt),Ki=function(Se){Pd(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return dn(_t.node())},de}(Wt),ru={"has-variants?":new Cd,"on-sale?":new xn,"sold-out?":new $s,"varied-prices?":new Ki},Zt=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),Kt=function(Se){Zt(de,Se);function de(We){var _t=Se.call(this)||this;return _t.code=We.code,_t}return de.prototype.apply=function(We,_t){return _t.node().get("backgroundSource").asNumber()===this.code},de}(Wt),Sn=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return _t.resolve(["calendarView"]).asBoolean()},de}(Wt),wn=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.node().get("items");if(nn.type===Be.ARRAY&&nn.size()>0){var vn=nn.get(0);return ce(vn.get("mainImageId"))||ce(vn.get("systemDataId"))}return!1},de}(Wt),_r=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.resolve(["folderBehavior"]);if(nn.isMissing())return!0;var vn=nn.asNumber();return vn===Zs.INDEX.code||vn===Zs.REDIRECT.code},de}(Wt),Ve=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return ce(_t.node().get("collection"))},de}(Wt),tt=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.node().path(["collection","type"]);return nn.isMissing()?!1:Zi.COLLECTION_TYPE_PAGE.code===nn.asNumber()},de}(Wt),bt=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.node().get("collection");if(nn.isMissing()){var vn=_t.node().get("type");if(!vn.isMissing())return Zi.TEMPLATE_PAGE.code===vn.asNumber()}else{var vn=nn.get("type");if(!vn.isMissing())return Zi.TEMPLATE_PAGE.code===vn.asNumber()}return!1},de}(Wt),an=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return We.length===0?!1:_t.resolve(["typeName"]).asString()===We[0]},de}(Wt),Wn=/[\s\u200b\u00a0]+/g,nr=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.node().get("excerpt"),vn=nn.get("html"),cr="";return vn.type===Be.STRING?cr=vn.asString():nn.type===Be.STRING&&(cr=nn.asString()),cr=Us(cr),cr=cr.replace(Wn,""),cr.length>0},de}(Wt),Nr=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return ce(_t.node().get("externalLink"))},de}(Wt),to=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return ce(_t.node().path(["collection","folder"]))},de}(Wt),qo=function(Se){Zt(de,Se);function de(We){var _t=Se.call(this)||this;return _t.option=We,_t}return de.prototype.apply=function(We,_t){var nn=_t.resolve(["options"]).get(this.option);return nn.isMissing()?!1:nn.asBoolean()},de}(Wt),Pa=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.resolve(["options"]);return ce(nn.get("controls"))||ce(nn.get("indicators"))},de}(Wt),$a=function(Se){Zt(de,Se);function de(We,_t){var nn=Se.call(this)||this;return nn.option=We,nn.name=_t,nn}return de.prototype.apply=function(We,_t){var nn=_t.resolve(["options"]).get(this.option);return nn.isMissing()?!1:this.name===nn.asString()},de}(Wt),ss=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return _t.node().size()>1},de}(Wt),cs=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.node().get("collection");if(nn.type!==Be.OBJECT)return!1;var vn=nn.get("folder"),cr=nn.get("folderBehavior");return ce(vn)&&cr.type===Be.NUMBER&&cr.asNumber()===Zs.INDEX.code},de}(Wt),Ns=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.node().get("location");return!(nn.get("mapLat").isMissing()||nn.get("mapLng").isMissing())},de}(Wt),Fi=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.node();return ce(nn.get("mainImageId"))||ce(nn.get("systemDataId"))},de}(Wt),xi=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.node().get("passthrough"),vn=_t.node().get("sourceUrl").asString();return ce(nn)&&vn!==""},de}(Wt),ni=function(Se){Zt(de,Se);function de(We){var _t=Se.call(this)||this;return _t.promotedBlockType=We,_t}return de.prototype.apply=function(We,_t){return _t.node().get("promotedBlockType").asString()===this.promotedBlockType},de}(Wt),dl=function(Se){Zt(de,Se);function de(We,_t){var nn=Se.call(this)||this;return nn.promotedBlockType=_t,nn.code=We.code,nn}return de.prototype.apply=function(We,_t){var nn=_t.node();return nn.get("recordType").asNumber()===this.code||nn.get("promotedBlockType").asString()===this.promotedBlockType},de}(Wt),Ec=function(Se){Zt(de,Se);function de(We){var _t=Se.call(this)||this;return _t.code=We.code,_t}return de.prototype.apply=function(We,_t){return _t.node().get("recordType").asNumber()===this.code},de}(Wt),ri=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return _t.node().get("folderBehavior").asNumber()===Zs.REDIRECT.code},de}(Wt),cc=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.node(),vn=nn.get("startDate").asNumber(),cr=nn.get("endDate").asNumber(),lo=ic.fromUnixEpoch(vn,"UTC"),Po=ic.fromUnixEpoch(cr,"UTC");return lo.year()===Po.year()&&lo.dayOfYear()===Po.dayOfYear()},de}(Wt),su=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return _t.node().get("serviceName").asString()==="email"},de}(Wt),zc=function(Se){Zt(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return _t.node().get("showPastOrUpcomingEvents").asString()==="past"},de}(Wt),$c={"calendar-view?":new Sn,"child-images?":new wn,"clickable?":new _r,"collection?":new Ve,"collection-page?":new tt,"collection-template-page?":new bt,"collectionTypeNameEquals?":new an,"excerpt?":new nr,"external-link?":new Nr,"folder?":new to,"gallery-meta?":new Pa,"has-multiple?":new ss,"index?":new cs,"location?":new Ns,"main-image?":new Fi,"passthrough?":new xi,"redirect?":new ri,"same-day?":new cc,"serviceNameEmail?":new su,"show-past-events?":new zc},Ad=["grid","slideshow","slider","stacked"],df=["top","top-left","top-right","center","bottom","bottom-left","bottom-right"],$d=["center","left","right"],ff=["autoplay","auto-crop","controls","lightbox","square-thumbs","show-meta","show-meta-on-hover","thumbnails"],bd=new Set([ti.VIDEO,ti.IMAGE,ti.QUOTE,ti.LINK,ti.GALLERY]),gf=["map","embed","image","code","quote","twitter","link","video","foursquare","instagram","form"];Ad.forEach(function(Se){var de="gallery-design-".concat(Se,"?");$c[de]=new $a("design",Se)}),df.forEach(function(Se){var de="gallery-meta-position-".concat(Se,"?");$c[de]=new $a("meta-position",Se)}),$d.forEach(function(Se){var de="gallery-active-alignment-".concat(Se,"?");$c[de]=new $a("active-alignment",Se)}),ff.forEach(function(Se){var de="gallery-".concat(Se,"?");$c[de]=new qo(Se)}),ti.values().forEach(function(Se){if(!bd.has(Se)){var de="".concat(Se.name,"?");$c[de]=new Ec(Se)}}),$c["external-video?"]=new dl(ti.VIDEO,"video"),$c["video?"]=new dl(ti.VIDEO,"video"),$c["image?"]=new dl(ti.IMAGE,"image"),$c["quote?"]=new dl(ti.QUOTE,"quote"),$c["link?"]=new dl(ti.LINK,"link"),$c["gallery?"]=new dl(ti.GALLERY,"gallery"),gf.forEach(function(Se){var de="promoted".concat(Se.toUpperCase(),"?");$c[de]=new ni(Se)}),vi.values().forEach(function(Se){var de="background-source-".concat(Se.name,"?");$c[de]=new Kt(Se)});var Ku=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),ef=function(Se,de){return Se.map(function(We){if(ht(We))try{var _t=JSON.parse(We);return de.newNode(_t)}catch{}var nn=Xe(We);return de.resolve(nn)})},Gc=function(Se,de,We){var _t=Se.length;if(_t===0)return!1;var nn=ef(Se,de);return _t===1?We(de.node(),nn[0]):We(nn[0],nn[1])},Xu=function(Se){Ku(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.resolve(["debug"]);return ce(nn)},de}(Wt),tf=function(Se,de){return Se.equals(de)},$f=function(Se){Ku(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return Gc(We,_t,tf)},de}(Wt),pd=function(Se){Ku(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.node();if(We.length>=1){var vn=Xe(We[0]);nn=_t.resolve(vn)}return nn.type===Be.NUMBER?Math.abs(nn.value)%2===0:!1},de}(Wt),id=function(Se,de){return Se.compare(de)>0},Ef=function(Se){Ku(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return Gc(We,_t,id)},de}(Wt),du=function(Se,de){return Se.compare(de)>=0},md=function(Se){Ku(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return Gc(We,_t,du)},de}(Wt),ph=function(Se,de){return Se.compare(de)<0},Uf=function(Se){Ku(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return Gc(We,_t,ph)},de}(Wt),Xf=function(Se,de){return Se.compare(de)<=0},_f=function(Se){Ku(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return Gc(We,_t,Xf)},de}(Wt),jd=function(Se,de){return!Se.equals(de)},Yf=function(Se){Ku(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return Gc(We,_t,jd)},de}(Wt),Tf=function(Se){return typeof Se=="number"&&Math.floor(Se)===Se},mu=function(Se){Ku(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=We.length;if(nn===0)return!1;var vn=ef(We,_t),cr=_t.node(),lo=vn[0];nn===2&&(cr=lo,lo=vn[1]);var Po=cr.value,oa=lo.value;return!Tf(Po)||!Tf(oa)||oa===0?!1:Math.abs(Po)%Math.abs(oa)===0},de}(Wt),fc=function(Se){Ku(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.node();if(We.length>=1){var vn=Xe(We[0]);nn=_t.resolve(vn)}return nn.type===Be.NUMBER?Math.abs(nn.value)%2===1:!1},de}(Wt),Yu=function(Se){Ku(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return _t.node().asNumber()>1},de}(Wt),Du=function(Se){Ku(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return _t.node().asNumber()===1},de}(Wt),Qu={"debug?":new Xu,"equal?":new $f,"even?":new pd,"greaterThan?":new Ef,"greaterThanOrEqual?":new md,"lessThan?":new Uf,"lessThanOrEqual?":new _f,"notEqual?":new Yf,"nth?":new mu,"odd?":new fc,"plural?":new Yu,"singular?":new Du},bu=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),Sd=function(Se){return{type:"engine",message:'"'.concat(Se,'" formatter is not yet implemented')}},xu=function(Se){bu(de,Se);function de(We){var _t=Se.call(this)||this;return _t.error=Sd(We),_t}return de.prototype.apply=function(We,_t){return _t.error(this.error),!1},de}(Wt),Xc=["units-metric?"],Ff=Xc.reduce(function(Se,de){return Se[de]=new xu(de),Se},{}),Qf=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),Jf=function(Se){Qf(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.node().get("currentType").asNumber()|0,vn=gi.fromName(We[0]);return vn&&vn.code===nn||!1},de}(Wt),Df={"current-type?":new Jf},vd=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),yf=function(Se){vd(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){var nn=_t.resolve(["websiteSettings"]),vn=_t.node(),cr=vn.get("commentState").asNumber()===1;return!cr&&vn.get("publicCommentCount").asNumber()>0&&(cr=!0),!nn.isMissing()&&!ce(nn.get("commentsEnabled"))&&(cr=!1),cr},de}(Wt),qf=function(Se){vd(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de.prototype.apply=function(We,_t){return ce(_t.resolve(["websiteSettings","disqusShortName"]))},de}(Wt),Su={"comments?":new yf,"disqus?":new qf},If={},ku=function(){return ku=Object.assign||function(Se){for(var de,We=1,_t=arguments.length;We<_t;We++){de=arguments[We];for(var nn in de)Object.prototype.hasOwnProperty.call(de,nn)&&(Se[nn]=de[nn])}return Se},ku.apply(this,arguments)},wu=ku(ku(ku(ku(ku(ku(ku({},Pl),sa),Bc),_d),uu),qd),zd),Wf=ku(ku(ku(ku(ku(ku(ku({},ru),$c),Qu),If),Ff),Df),Su),hf=function(){var Se=function(de,We){return Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_t,nn){_t.__proto__=nn}||function(_t,nn){for(var vn in nn)Object.prototype.hasOwnProperty.call(nn,vn)&&(_t[vn]=nn[vn])},Se(de,We)};return function(de,We){if(typeof We!="function"&&We!==null)throw new TypeError("Class extends value "+String(We)+" is not a constructor or null");Se(de,We);function _t(){this.constructor=de}de.prototype=We===null?Object.create(We):(_t.prototype=We.prototype,new _t)}}(),eh={a:["lternates with",o.ALTERNATES_WITH],c:["tx",o.CTXVAR],e:["nd",o.END,"of",o.EOF,"val",o.EVAL],i:["f",o.IF,"nclude",o.INCLUDE,"nject",o.INJECT],m:["acro",o.MACRO,"eta-left",o.META_LEFT,"eta-right",o.META_RIGHT],n:["ewline",o.NEWLINE],o:["r",o.OR_PREDICATE],r:["epeated section",o.REPEATED],s:["ection",o.SECTION,"pace",o.SPACE],t:["ab",o.TAB],v:["ar",o.BINDVAR]},Of=function(){function Se(de){this.str=de,this.start=0,this.end=0,this.matchEnd=0,this.filePath=this.compile(sr),this.formatterArgs=this.compile(Sr),this.instructionArgs=this.compile(Yr),this.operator=this.compile(Pr),this.predicate=this.compile(Ar),this.variableDefinition=this.compile(qr),this.variableReference=this.compile(vr),this.variableSeparator=this.compile(Dr),this.whitespace=this.compile(rr),this.word=this.compile(In)}return Se.prototype.compile=function(de){},Se.prototype.match=function(de,We){return null},Se.prototype.test=function(de,We){return!1},Se.prototype.init=function(de){this.str=de},Se.prototype.pos=function(){return this.start},Se.prototype.set=function(de,We){this.start=de,this.end=We},Se.prototype.seekTo=function(de){for(var We=this.start,_t=this.end;We<=_t;){if(this.str[We]===de)return this.end=We,this.str.substr(this.start,We-this.start);We++}return null},Se.prototype.consume=function(){this.start=this.matchEnd},Se.prototype.complete=function(){return this.start===this.end},Se.prototype.matchInstruction=function(){var de=this.start,We=this.str,_t=eh[We[de++]];if(typeof _t<"u")for(var nn=_t.length,vn=0;vn<nn;vn+=2){var cr=_t[vn];if(We.startsWith(cr,de))return this.matchEnd=de+cr.length,_t[vn+1]}return o.NOOP},Se.prototype.matchArguments=function(){var de=this.match(this.instructionArgs,this.start);if(de!==null){var We=de[0],_t=de.slice(1).split(We);return _t.length===1&&!_t[0]?[[],We]:[_t,We]}return null},Se.prototype.matchBindings=function(){for(var de=[],We=this.start;;){var _t=this.match(this.word,We);if(_t===null||(We=this.matchEnd,this.str[We++]!=="="))break;var nn=this.match(this.variableReference,We);if(nn===null)break;de.push([_t,Xe(nn)]),We=this.matchEnd,this.test(this.whitespace,We),We=this.matchEnd}return de.length?de:null},Se.prototype.matchDefinition=function(){return this.match(this.variableDefinition,this.start)},Se.prototype.matchFilePath=function(){return this.match(this.filePath,this.start)},Se.prototype.matchIfExpression=function(){for(var de=[],We=[],_t=!1,nn=this.start;;){var vn=this.match(this.variableReference,nn);if(vn===null){if(_t)return null;break}de.push(Xe(vn)),nn=this.matchEnd,this.test(this.whitespace,nn),nn=this.matchEnd;var cr=this.match(this.operator,nn);if(cr===null)break;We.push(cr==="&&"?1:0),_t=!0,nn=this.matchEnd,this.test(this.whitespace,nn),nn=this.matchEnd}return[We,de]},Se.prototype.matchPredicate=function(){return this.match(this.predicate,this.start)},Se.prototype.matchFormatters=function(){var de=this.start;if(this.str[de++]!=="|"||this.str[de]==="|")return null;for(var We=!1,_t=null;;){var nn=this.match(this.word,de);if(nn===null){if(We)return null;break}_t===null&&(_t=[]),de=this.matchEnd;var vn=this.match(this.formatterArgs,de);if(vn!==null){var cr=vn[0],lo=[vn.slice(1).split(cr),cr];_t.push([nn,lo]),de=this.matchEnd}else _t.push([nn]);if(this.str[de++]!=="|")break;We=!0}return _t},Se.prototype.matchVariable=function(){var de=this.match(this.variableReference,this.start);return de===null?null:Xe(de)},Se.prototype.matchVariables=function(){for(var de=this.start,We=null;;){var _t=this.match(this.variableReference,de);if(_t===null){if(de!==this.start)return null;break}if(We===null&&(We=[]),We.push(Xe(_t)),de=this.matchEnd,!this.test(this.variableSeparator,de))break;de=this.matchEnd}return We},Se.prototype.matchSpace=function(){return this.str[this.start]===" "?(this.matchEnd=this.start+1,!0):!1},Se.prototype.matchWhitespace=function(){return this.test(this.whitespace,this.start)},Se}(),sh=function(Se){hf(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de}(Ae(Of)),Et=function(Se){hf(de,Se);function de(){return Se!==null&&Se.apply(this,arguments)||this}return de}(qe(Of)),D=xe?Et:sh,N=function(Se,de,We){if(We||arguments.length===2)for(var _t=0,nn=de.length,vn;_t<nn;_t++)(vn||!(_t in de))&&(vn||(vn=Array.prototype.slice.call(de,0,_t)),vn[_t]=de[_t]);return Se.concat(vn||Array.prototype.slice.call(de))},Z=[o.ROOT,1,[],o.EOF],ve={code:Z,json:{},partials:{},injects:{}},je=function(){function Se(de){de===void 0&&(de={formatters:wu,predicates:Wf}),this.props=de,this.engine=new li(de),this.matcher=new D("")}return Se.prototype.parse=function(de){var We=this.props,_t=We.formatters,nn=We.predicates,vn=new ae,cr=new Ni(de,vn,this.matcher,_t,nn);return cr.parse(),{code:vn.code(),errors:vn.errors}},Se.prototype.execute=function(de){var We,_t=this;de===void 0&&(de=ve);var nn=de.code,vn=de.cldr,cr=de.now,lo=de.json,Po=de.partials,oa=de.injects,fa=de.enableExpr,Va=de.exprOpts,ci=de.enableInclude,di=[];typeof nn=="string"&&(We=this.parse(nn),nn=We.code,di=We.errors);var Xs=new Vt(lo,{cldr:vn,now:cr,partials:Po,injects:oa,enableExpr:fa,exprOpts:Va,enableInclude:ci});return Xs.parsefunc=function(_i){return _t.parse(_i)},this.engine.execute(nn,Xs),di.splice.apply(di,N([di.length,0],Xs.errors,!1)),{ctx:Xs,errors:di}},Se}(),pt=function(){function Se(){this.assembler=new ae}return Se.prototype.get=function(){return{assembler:this.assembler,root:this.assembler.root,errors:this.assembler.errors}},Se.prototype.alternatesWith=function(){return this.assembler.accept(o.ALTERNATES_WITH),this},Se.prototype.atom=function(de){return this.assembler.accept(new y(de)),this},Se.prototype.bindvar=function(de,We,_t){return this.assembler.accept(new O(de,We,_t)),this},Se.prototype.comment=function(de,We){return We===void 0&&(We=0),this.assembler.accept(new P(de,We)),this},Se.prototype.end=function(){return this.assembler.accept(o.END),this},Se.prototype.eof=function(){return this.assembler.accept(o.EOF),this},Se.prototype.ifinst=function(de,We){return this.assembler.accept(new S(de,We)),this},Se.prototype.inject=function(de,We){return this.assembler.accept(new s(de,We,u)),this},Se.prototype.macro=function(de){return this.assembler.accept(new v(de)),this},Se.prototype.metaLeft=function(){return this.assembler.accept(o.META_LEFT),this},Se.prototype.metaRight=function(){return this.assembler.accept(o.META_RIGHT),this},Se.prototype.newline=function(){return this.assembler.accept(o.NEWLINE),this},Se.prototype.or=function(de,We){return this.assembler.accept(new m(de,We)),this},Se.prototype.predicate=function(de,We){return We===void 0&&(We=u),this.assembler.accept(new E(de,We)),this},Se.prototype.repeated=function(de){return this.assembler.accept(new I(de)),this},Se.prototype.section=function(de){return this.assembler.accept(new W(de)),this},Se.prototype.space=function(){return this.assembler.accept(o.SPACE),this},Se.prototype.struct=function(de){return this.assembler.accept(new F(de)),this},Se.prototype.tab=function(){return this.assembler.accept(o.TAB),this},Se.prototype.text=function(de){return this.assembler.accept(new G(de)),this},Se.prototype.variable=function(de,We){return this.assembler.accept(new k(de,We)),this},Se}(),Nt=1,hn=2,gn=[null,null,[0,0,Nt,hn],null,[0,0,Nt,hn,Nt],[0,0,0,Nt,hn],null,[0,0,0,Nt,hn],[0,0,0,Nt,hn],null,[0,0,Nt],null,null,null,null,null,null,[0,0,Nt,hn],null,null,[0,0,Nt],null,null,null,null],Xn=function(){function Se(de){this.indent=de}return Se.prototype.format=function(de){return this.formatInstruction(de,0)},Se.prototype.formatInstruction=function(de,We){if(typeof de=="number")return this.formatValue(de,We);if(!Array.isArray(de))return"";var _t=gn[de[0]];if(_t===null)return this.formatValue(de,We);for(var nn="[",vn=0;vn<de.length;vn++)vn>0&&(nn+=", "),_t[vn]===Nt?nn+=this.formatBlock(de[vn],We+1):_t[vn]===hn?nn+=this.formatInstruction(de[vn],We):nn+=this.formatValue(de[vn],We);return nn+"]"},Se.prototype.formatValue=function(de,We){var _t=this;return Array.isArray(de)?"["+de.map(function(nn){return _t.formatValue(nn,We)}).join(", ")+"]":JSON.stringify(de)},Se.prototype.formatBlock=function(de,We){if(!Array.isArray(de)||de.length===0)return"[]";for(var _t=we(We,this.indent),nn=`[
`,vn=0;vn<de.length;vn++)nn+=_t+this.formatInstruction(de[vn],We+1),vn<de.length-1&&(nn+=`,
`);return nn+`
`+we(We-1,this.indent)+"]"},Se}(),pr=function(Se,de){de===void 0&&(de="  ");var We=new Xn(de);return We.format(Se)},Zr=function(){function Se(){this.variables=[{}],this.instructions=new Map,this.formatters=new Map,this.predicates=new Map,this.currentNode=this.variables[0],this.textBytes=0}return Se}(),oo=function(Se){return Se.join(".")},vo=function(Se,de){return Se.set(de,(Se.get(de)||0)+1)},Fo=function(Se){var de={};return Se.forEach(function(We,_t){return de[_t]=We}),de},Go=function(){function Se(){this.refs=new Zr}return Se.prototype.collect=function(){return{instructions:Fo(this.refs.instructions),formatters:Fo(this.refs.formatters),predicates:Fo(this.refs.predicates),textBytes:this.refs.textBytes,variables:this.refs.variables}},Se.prototype.extract=function(de){if(de!==void 0){var We=typeof de=="number"?de:de[0];switch(this.instruction(We),We){case o.BINDVAR:{for(var _t=de,nn=0,vn=_t[2];nn<vn.length;nn++){var cr=vn[nn];this.variable(cr.join("."))}break}case o.CTXVAR:{for(var _t=de,lo=0,Po=_t[2];lo<Po.length;lo++){var oa=Po[lo];this.variable(oa[1].join("."))}break}case o.MACRO:{var _t=de;this.block(_t[2]);break}case o.PREDICATE:case o.OR_PREDICATE:{var _t=de;typeof _t[1]=="string"&&this.predicate(_t[1]),this.block(_t[3]),this.extract(_t[4]);break}case o.REPEATED:{var _t=de;this.push(oo(_t[1])),this.block(_t[2]),this.extract(_t[3]),this.block(_t[4]),this.pop();break}case o.ROOT:this.block(de[2]);break;case o.SECTION:{var _t=de;this.push(oo(_t[1])),this.block(_t[2]),this.extract(_t[3]),this.pop();break}case o.TEXT:this.refs.textBytes+=de[1].length;break;case o.VARIABLE:{for(var _t=de,fa=0,Va=_t[1];fa<Va.length;fa++){var ci=Va[fa];this.variable(ci.join("."))}for(var di=0,Xs=_t[2]||[];di<Xs.length;di++){var _i=Xs[di];this.formatter(_i[0])}}}}},Se.prototype.block=function(de){if(de)for(var We=0,_t=de;We<_t.length;We++){var nn=_t[We];this.extract(nn)}},Se.prototype.instruction=function(de){vo(this.refs.instructions,a(de))},Se.prototype.formatter=function(de){vo(this.refs.formatters,de)},Se.prototype.predicate=function(de){vo(this.refs.predicates,de)},Se.prototype.variable=function(de){var We=this.refs.currentNode[de];We===void 0&&(this.refs.currentNode[de]=null)},Se.prototype.push=function(de){var We=this.refs.currentNode,_t=We[de],nn;_t?nn=_t:nn=We[de]={},this.refs.currentNode=nn,this.refs.variables.push(nn)},Se.prototype.pop=function(){this.refs.variables.pop(),this.refs.currentNode=this.refs.variables[this.refs.variables.length-1]},Se}();const pa=je},826135:function(b,l,e){(function(r,o){o(l,e(174161))})(this,function(r,o){"use strict";function n(Ln,bn){var ir=Object.keys(Ln);if(Object.getOwnPropertySymbols){var Zn=Object.getOwnPropertySymbols(Ln);bn&&(Zn=Zn.filter(function($n){return Object.getOwnPropertyDescriptor(Ln,$n).enumerable})),ir.push.apply(ir,Zn)}return ir}function a(Ln){for(var bn=1;bn<arguments.length;bn++){var ir=arguments[bn]!=null?arguments[bn]:{};bn%2?n(Object(ir),!0).forEach(function(Zn){c(Ln,Zn,ir[Zn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ln,Object.getOwnPropertyDescriptors(ir)):n(Object(ir)).forEach(function(Zn){Object.defineProperty(Ln,Zn,Object.getOwnPropertyDescriptor(ir,Zn))})}return Ln}function i(Ln){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?i=function(bn){return typeof bn}:i=function(bn){return bn&&typeof Symbol=="function"&&bn.constructor===Symbol&&bn!==Symbol.prototype?"symbol":typeof bn},i(Ln)}function c(Ln,bn,ir){return bn in Ln?Object.defineProperty(Ln,bn,{value:ir,enumerable:!0,configurable:!0,writable:!0}):Ln[bn]=ir,Ln}function u(Ln,bn){if(Ln==null)return{};var ir={},Zn=Object.keys(Ln),$n,jt;for(jt=0;jt<Zn.length;jt++)$n=Zn[jt],!(bn.indexOf($n)>=0)&&(ir[$n]=Ln[$n]);return ir}function f(Ln,bn){if(Ln==null)return{};var ir=u(Ln,bn),Zn,$n;if(Object.getOwnPropertySymbols){var jt=Object.getOwnPropertySymbols(Ln);for($n=0;$n<jt.length;$n++)Zn=jt[$n],!(bn.indexOf(Zn)>=0)&&Object.prototype.propertyIsEnumerable.call(Ln,Zn)&&(ir[Zn]=Ln[Zn])}return ir}function d(Ln,bn){return h(Ln)||g(Ln,bn)||_(Ln,bn)||y()}function h(Ln){if(Array.isArray(Ln))return Ln}function g(Ln,bn){var ir=Ln&&(typeof Symbol<"u"&&Ln[Symbol.iterator]||Ln["@@iterator"]);if(ir!=null){var Zn=[],$n=!0,jt=!1,Rn,jn;try{for(ir=ir.call(Ln);!($n=(Rn=ir.next()).done)&&(Zn.push(Rn.value),!(bn&&Zn.length===bn));$n=!0);}catch(Tn){jt=!0,jn=Tn}finally{try{!$n&&ir.return!=null&&ir.return()}finally{if(jt)throw jn}}return Zn}}function _(Ln,bn){if(Ln){if(typeof Ln=="string")return p(Ln,bn);var ir=Object.prototype.toString.call(Ln).slice(8,-1);if(ir==="Object"&&Ln.constructor&&(ir=Ln.constructor.name),ir==="Map"||ir==="Set")return Array.from(Ln);if(ir==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ir))return p(Ln,bn)}}function p(Ln,bn){(bn==null||bn>Ln.length)&&(bn=Ln.length);for(var ir=0,Zn=new Array(bn);ir<bn;ir++)Zn[ir]=Ln[ir];return Zn}function y(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function O(Ln){return Ln&&Ln.__esModule&&Object.prototype.hasOwnProperty.call(Ln,"default")?Ln.default:Ln}var P={exports:{}},C,A;function S(){if(A)return C;A=1;var Ln="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return C=Ln,C}var T,s;function v(){if(s)return T;s=1;var Ln=S();function bn(){}function ir(){}return ir.resetWarningCache=bn,T=function(){function Zn(Rn,jn,Tn,Nn,cn,or){if(or!==Ln){var qn=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw qn.name="Invariant Violation",qn}}Zn.isRequired=Zn;function $n(){return Zn}var jt={array:Zn,bool:Zn,func:Zn,number:Zn,object:Zn,string:Zn,symbol:Zn,any:Zn,arrayOf:$n,element:Zn,elementType:Zn,instanceOf:$n,node:Zn,objectOf:$n,oneOf:$n,oneOfType:$n,shape:$n,exact:$n,checkPropTypes:ir,resetWarningCache:bn};return jt.PropTypes=jt,jt},T}P.exports=v()();var m=P.exports,E=O(m),I=function(bn,ir,Zn){var $n=!!Zn,jt=o.useRef(Zn);o.useEffect(function(){jt.current=Zn},[Zn]),o.useEffect(function(){if(!$n||!bn)return function(){};var Rn=function(){jt.current&&jt.current.apply(jt,arguments)};return bn.on(ir,Rn),function(){bn.off(ir,Rn)}},[$n,ir,bn,jt])},L=function(bn){var ir=o.useRef(bn);return o.useEffect(function(){ir.current=bn},[bn]),ir.current},W=function(bn){return bn!==null&&i(bn)==="object"},F=function(bn){return W(bn)&&typeof bn.then=="function"},G=function(bn){return W(bn)&&typeof bn.elements=="function"&&typeof bn.createToken=="function"&&typeof bn.createPaymentMethod=="function"&&typeof bn.confirmCardPayment=="function"},k="[object Object]",x=function Ln(bn,ir){if(!W(bn)||!W(ir))return bn===ir;var Zn=Array.isArray(bn),$n=Array.isArray(ir);if(Zn!==$n)return!1;var jt=Object.prototype.toString.call(bn)===k,Rn=Object.prototype.toString.call(ir)===k;if(jt!==Rn)return!1;if(!jt&&!Zn)return bn===ir;var jn=Object.keys(bn),Tn=Object.keys(ir);if(jn.length!==Tn.length)return!1;for(var Nn={},cn=0;cn<jn.length;cn+=1)Nn[jn[cn]]=!0;for(var or=0;or<Tn.length;or+=1)Nn[Tn[or]]=!0;var qn=Object.keys(Nn);if(qn.length!==jn.length)return!1;var Hr=bn,fo=ir,Jr=function(Xt){return Ln(Hr[Xt],fo[Xt])};return qn.every(Jr)},M=function(bn,ir,Zn){return W(bn)?Object.keys(bn).reduce(function($n,jt){var Rn=!W(ir)||!x(bn[jt],ir[jt]);return Zn.includes(jt)?(Rn&&console.warn("Unsupported prop change: options.".concat(jt," is not a mutable property.")),$n):Rn?a(a({},$n||{}),{},c({},jt,bn[jt])):$n},null):null},B="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",R=function(bn){var ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:B;if(bn===null||G(bn))return bn;throw new Error(ir)},U=function(bn){var ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:B;if(F(bn))return{tag:"async",stripePromise:Promise.resolve(bn).then(function($n){return R($n,ir)})};var Zn=R(bn,ir);return Zn===null?{tag:"empty"}:{tag:"sync",stripe:Zn}},j=function(bn){!bn||!bn._registerWrapper||!bn.registerAppInfo||(bn._registerWrapper({name:"react-stripe-js",version:"3.5.1"}),bn.registerAppInfo({name:"react-stripe-js",version:"3.5.1",url:"https://stripe.com/docs/stripe-js/react"}))},$=o.createContext(null);$.displayName="ElementsContext";var ee=function(bn,ir){if(!bn)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(ir," in an <Elements> provider."));return bn},te=function(bn){var ir=bn.stripe,Zn=bn.options,$n=bn.children,jt=o.useMemo(function(){return U(ir)},[ir]),Rn=o.useState(function(){return{stripe:jt.tag==="sync"?jt.stripe:null,elements:jt.tag==="sync"?jt.stripe.elements(Zn):null}}),jn=d(Rn,2),Tn=jn[0],Nn=jn[1];o.useEffect(function(){var qn=!0,Hr=function(Jr){Nn(function(ro){return ro.stripe?ro:{stripe:Jr,elements:Jr.elements(Zn)}})};return jt.tag==="async"&&!Tn.stripe?jt.stripePromise.then(function(fo){fo&&qn&&Hr(fo)}):jt.tag==="sync"&&!Tn.stripe&&Hr(jt.stripe),function(){qn=!1}},[jt,Tn,Zn]);var cn=L(ir);o.useEffect(function(){cn!==null&&cn!==ir&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[cn,ir]);var or=L(Zn);return o.useEffect(function(){if(Tn.elements){var qn=M(Zn,or,["clientSecret","fonts"]);qn&&Tn.elements.update(qn)}},[Zn,or,Tn.elements]),o.useEffect(function(){j(Tn.stripe)},[Tn.stripe]),o.createElement($.Provider,{value:Tn},$n)};te.propTypes={stripe:E.any,options:E.object};var ie=function(bn){var ir=o.useContext($);return ee(ir,bn)},ne=function(){var bn=ie("calls useElements()"),ir=bn.elements;return ir},pe=function(bn){var ir=bn.children,Zn=ie("mounts <ElementsConsumer>");return ir(Zn)};pe.propTypes={children:E.func.isRequired};var oe=["on","session"],q=o.createContext(null);q.displayName="CheckoutSdkContext";var J=function(bn,ir){if(!bn)throw new Error("Could not find CheckoutProvider context; You need to wrap the part of your app that ".concat(ir," in an <CheckoutProvider> provider."));return bn},me=o.createContext(null);me.displayName="CheckoutContext";var re=function(bn,ir){if(!bn)return null;bn.on,bn.session;var Zn=f(bn,oe);return Object.assign(ir||bn.session(),Zn)},he="Invalid prop `stripe` supplied to `CheckoutProvider`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",Ee=function(bn){var ir=bn.stripe,Zn=bn.options,$n=bn.children,jt=o.useMemo(function(){return U(ir,he)},[ir]),Rn=o.useState(null),jn=d(Rn,2),Tn=jn[0],Nn=jn[1],cn=o.useState(function(){return{stripe:jt.tag==="sync"?jt.stripe:null,checkoutSdk:null}}),or=d(cn,2),qn=or[0],Hr=or[1],fo=function(xt,Qt){Hr(function(qt){return qt.stripe&&qt.checkoutSdk?qt:{stripe:xt,checkoutSdk:Qt}})},Jr=o.useRef(!1);o.useEffect(function(){var At=!0;return jt.tag==="async"&&!qn.stripe?jt.stripePromise.then(function(xt){xt&&At&&!Jr.current&&(Jr.current=!0,xt.initCheckout(Zn).then(function(Qt){Qt&&(fo(xt,Qt),Qt.on("change",Nn))}))}):jt.tag==="sync"&&jt.stripe&&!Jr.current&&(Jr.current=!0,jt.stripe.initCheckout(Zn).then(function(xt){xt&&(fo(jt.stripe,xt),xt.on("change",Nn))})),function(){At=!1}},[jt,qn,Zn,Nn]);var ro=L(ir);o.useEffect(function(){ro!==null&&ro!==ir&&console.warn("Unsupported prop change on CheckoutProvider: You cannot change the `stripe` prop after setting it.")},[ro,ir]);var Xt=L(Zn);o.useEffect(function(){var At,xt;if(qn.checkoutSdk){var Qt=Xt==null||(At=Xt.elementsOptions)===null||At===void 0?void 0:At.appearance,qt=Zn==null||(xt=Zn.elementsOptions)===null||xt===void 0?void 0:xt.appearance;qt&&!x(qt,Qt)&&qn.checkoutSdk.changeAppearance(qt)}},[Zn,Xt,qn.checkoutSdk]),o.useEffect(function(){j(qn.stripe)},[qn.stripe]);var Je=o.useMemo(function(){return re(qn.checkoutSdk,Tn)},[qn.checkoutSdk,Tn]);return qn.checkoutSdk?o.createElement(q.Provider,{value:qn},o.createElement(me.Provider,{value:Je},$n)):null};Ee.propTypes={stripe:E.any,options:E.shape({fetchClientSecret:E.func.isRequired,elementsOptions:E.object}).isRequired};var fe=function(bn){var ir=o.useContext(q);return J(ir,bn)},H=function(bn){var ir=o.useContext(q),Zn=o.useContext($);if(ir&&Zn)throw new Error("You cannot wrap the part of your app that ".concat(bn," in both <CheckoutProvider> and <Elements> providers."));return ir?J(ir,bn):ee(Zn,bn)},z=function(){fe("calls useCheckout()");var bn=o.useContext(me);if(!bn)throw new Error("Could not find Checkout Context; You need to wrap the part of your app that calls useCheckout() in an <CheckoutProvider> provider.");return bn},_e=["mode"],ae=function(bn){return bn.charAt(0).toUpperCase()+bn.slice(1)},ge=function(bn,ir){var Zn="".concat(ae(bn),"Element"),$n=function(Tn){var Nn=Tn.id,cn=Tn.className,or=Tn.options,qn=or===void 0?{}:or,Hr=Tn.onBlur,fo=Tn.onFocus,Jr=Tn.onReady,ro=Tn.onChange,Xt=Tn.onEscape,Je=Tn.onClick,At=Tn.onLoadError,xt=Tn.onLoaderStart,Qt=Tn.onNetworksChange,qt=Tn.onConfirm,Te=Tn.onCancel,Gt=Tn.onShippingAddressChange,un=Tn.onShippingRateChange,Vt=H("mounts <".concat(Zn,">")),Dn="elements"in Vt?Vt.elements:null,Wt="checkoutSdk"in Vt?Vt.checkoutSdk:null,Pe=o.useState(null),xe=d(Pe,2),Ae=xe[0],qe=xe[1],wt=o.useRef(null),kt=o.useRef(null);I(Ae,"blur",Hr),I(Ae,"focus",fo),I(Ae,"escape",Xt),I(Ae,"click",Je),I(Ae,"loaderror",At),I(Ae,"loaderstart",xt),I(Ae,"networkschange",Qt),I(Ae,"confirm",qt),I(Ae,"cancel",Te),I(Ae,"shippingaddresschange",Gt),I(Ae,"shippingratechange",un),I(Ae,"change",ro);var ut;Jr&&(bn==="expressCheckout"?ut=Jr:ut=function(){Jr(Ae)}),I(Ae,"ready",ut),o.useLayoutEffect(function(){if(wt.current===null&&kt.current!==null&&(Dn||Wt)){var tn=null;if(Wt)switch(bn){case"payment":tn=Wt.createPaymentElement(qn);break;case"address":if("mode"in qn){var In=qn.mode,rr=f(qn,_e);if(In==="shipping")tn=Wt.createShippingAddressElement(rr);else if(In==="billing")tn=Wt.createBillingAddressElement(rr);else throw new Error("Invalid options.mode. mode must be 'billing' or 'shipping'.")}else throw new Error("You must supply options.mode. mode must be 'billing' or 'shipping'.");break;case"expressCheckout":tn=Wt.createExpressCheckoutElement(qn);break;case"currencySelector":tn=Wt.createCurrencySelectorElement();break;default:throw new Error("Invalid Element type ".concat(Zn,". You must use either the <PaymentElement />, <AddressElement options={{mode: 'shipping'}} />, <AddressElement options={{mode: 'billing'}} />, or <ExpressCheckoutElement />."))}else Dn&&(tn=Dn.create(bn,qn));wt.current=tn,qe(tn),tn&&tn.mount(kt.current)}},[Dn,Wt,qn]);var Ft=L(qn);return o.useEffect(function(){if(wt.current){var tn=M(qn,Ft,["paymentRequest"]);tn&&"update"in wt.current&&wt.current.update(tn)}},[qn,Ft]),o.useLayoutEffect(function(){return function(){if(wt.current&&typeof wt.current.destroy=="function")try{wt.current.destroy(),wt.current=null}catch{}}},[]),o.createElement("div",{id:Nn,className:cn,ref:kt})},jt=function(Tn){H("mounts <".concat(Zn,">"));var Nn=Tn.id,cn=Tn.className;return o.createElement("div",{id:Nn,className:cn})},Rn=ir?jt:$n;return Rn.propTypes={id:E.string,className:E.string,onChange:E.func,onBlur:E.func,onFocus:E.func,onReady:E.func,onEscape:E.func,onClick:E.func,onLoadError:E.func,onLoaderStart:E.func,onNetworksChange:E.func,onConfirm:E.func,onCancel:E.func,onShippingAddressChange:E.func,onShippingRateChange:E.func,options:E.object},Rn.displayName=Zn,Rn.__elementType=bn,Rn},Be=typeof window>"u",Ke=o.createContext(null);Ke.displayName="EmbeddedCheckoutProviderContext";var He=function(){var bn=o.useContext(Ke);if(!bn)throw new Error("<EmbeddedCheckout> must be used within <EmbeddedCheckoutProvider>");return bn},ye="Invalid prop `stripe` supplied to `EmbeddedCheckoutProvider`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",Le=function(bn){var ir=bn.stripe,Zn=bn.options,$n=bn.children,jt=o.useMemo(function(){return U(ir,ye)},[ir]),Rn=o.useRef(null),jn=o.useRef(null),Tn=o.useState({embeddedCheckout:null}),Nn=d(Tn,2),cn=Nn[0],or=Nn[1];o.useEffect(function(){if(!(jn.current||Rn.current)){var fo=function(ro){jn.current||Rn.current||(jn.current=ro,Rn.current=jn.current.initEmbeddedCheckout(Zn).then(function(Xt){or({embeddedCheckout:Xt})}))};jt.tag==="async"&&!jn.current&&(Zn.clientSecret||Zn.fetchClientSecret)?jt.stripePromise.then(function(Jr){Jr&&fo(Jr)}):jt.tag==="sync"&&!jn.current&&(Zn.clientSecret||Zn.fetchClientSecret)&&fo(jt.stripe)}},[jt,Zn,cn,jn]),o.useEffect(function(){return function(){cn.embeddedCheckout?(Rn.current=null,cn.embeddedCheckout.destroy()):Rn.current&&Rn.current.then(function(){Rn.current=null,cn.embeddedCheckout&&cn.embeddedCheckout.destroy()})}},[cn.embeddedCheckout]),o.useEffect(function(){j(jn)},[jn]);var qn=L(ir);o.useEffect(function(){qn!==null&&qn!==ir&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the `stripe` prop after setting it.")},[qn,ir]);var Hr=L(Zn);return o.useEffect(function(){if(Hr!=null){if(Zn==null){console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot unset options after setting them.");return}Zn.clientSecret===void 0&&Zn.fetchClientSecret===void 0&&console.warn("Invalid props passed to EmbeddedCheckoutProvider: You must provide one of either `options.fetchClientSecret` or `options.clientSecret`."),Hr.clientSecret!=null&&Zn.clientSecret!==Hr.clientSecret&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the client secret after setting it. Unmount and create a new instance of EmbeddedCheckoutProvider instead."),Hr.fetchClientSecret!=null&&Zn.fetchClientSecret!==Hr.fetchClientSecret&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change fetchClientSecret after setting it. Unmount and create a new instance of EmbeddedCheckoutProvider instead."),Hr.onComplete!=null&&Zn.onComplete!==Hr.onComplete&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onComplete option after setting it."),Hr.onShippingDetailsChange!=null&&Zn.onShippingDetailsChange!==Hr.onShippingDetailsChange&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onShippingDetailsChange option after setting it."),Hr.onLineItemsChange!=null&&Zn.onLineItemsChange!==Hr.onLineItemsChange&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onLineItemsChange option after setting it.")}},[Hr,Zn]),o.createElement(Ke.Provider,{value:cn},$n)},Ue=function(bn){var ir=bn.id,Zn=bn.className,$n=He(),jt=$n.embeddedCheckout,Rn=o.useRef(!1),jn=o.useRef(null);return o.useLayoutEffect(function(){return!Rn.current&&jt&&jn.current!==null&&(jt.mount(jn.current),Rn.current=!0),function(){if(Rn.current&&jt)try{jt.unmount(),Rn.current=!1}catch{}}},[jt]),o.createElement("div",{ref:jn,id:ir,className:Zn})},Xe=function(bn){var ir=bn.id,Zn=bn.className;return He(),o.createElement("div",{id:ir,className:Zn})},Fe=Be?Xe:Ue,ht=function(){var bn=H("calls useStripe()"),ir=bn.stripe;return ir},Ne=ge("auBankAccount",Be),Ce=ge("card",Be),we=ge("cardNumber",Be),$e=ge("cardExpiry",Be),Ot=ge("cardCvc",Be),Pt=ge("fpxBank",Be),Ie=ge("iban",Be),Bt=ge("idealBank",Be),mt=ge("p24Bank",Be),rt=ge("epsBank",Be),ce=ge("payment",Be),Re=ge("expressCheckout",Be),nt=ge("currencySelector",Be),st=ge("paymentRequestButton",Be),vt=ge("linkAuthentication",Be),ze=ge("address",Be),It=ge("shippingAddress",Be),on=ge("paymentMethodMessaging",Be),Pn=ge("affirmMessage",Be),Yn=ge("afterpayClearpayMessage",Be);r.AddressElement=ze,r.AffirmMessageElement=Pn,r.AfterpayClearpayMessageElement=Yn,r.AuBankAccountElement=Ne,r.CardCvcElement=Ot,r.CardElement=Ce,r.CardExpiryElement=$e,r.CardNumberElement=we,r.CheckoutProvider=Ee,r.CurrencySelectorElement=nt,r.Elements=te,r.ElementsConsumer=pe,r.EmbeddedCheckout=Fe,r.EmbeddedCheckoutProvider=Le,r.EpsBankElement=rt,r.ExpressCheckoutElement=Re,r.FpxBankElement=Pt,r.IbanElement=Ie,r.IdealBankElement=Bt,r.LinkAuthenticationElement=vt,r.P24BankElement=mt,r.PaymentElement=ce,r.PaymentMethodMessagingElement=on,r.PaymentRequestButtonElement=st,r.ShippingAddressElement=It,r.useCheckout=z,r.useElements=ne,r.useStripe=ht})},480433:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=e(583959);function o(n){this.dispatcher=n.dispatcher,this.listeners={}}o.prototype.addActionListener=function(a,i){if(!(0,r.isFunction)(i))throw new Error("addActionListener() expects a function as the second argument");var c=this.dispatcher.register(function(u){a===u.action&&i(u.data,u.details)});return this.listeners[c]=!0,c},o.prototype.removeActionListener=function(a){delete this.listeners[a],this.dispatcher.unregister(a)},o.prototype.removeAllActionListeners=function(){Object.keys(this.listeners).forEach(this.removeActionListener.bind(this)),this.listeners={}},l.default=o,b.exports=l.default},41798:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function r(c){return c&&c.__esModule?c:{default:c}}var o=e(941834),n=r(o),a=e(583959);function i(c,u){return c.config=(0,a.assign)({setState:function(d,h){return this.state=h,this.state},getState:function(d){return d},onSerialize:function(d){return d.toJS()},onDeserialize:function(d){return n.default.fromJS(d)}},u),c}l.default=i,b.exports=l.default},374335:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=function(){function h(g,_){for(var p=0;p<_.length;p++){var y=_[p];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(g,y.key,y)}}return function(g,_,p){return _&&h(g.prototype,_),p&&h(g,p),g}}(),o=function(g,_,p){var y=!0;e:for(;y;){var O=g,P=_,C=p;A=S=T=void 0,y=!1,O===null&&(O=Function.prototype);var A=Object.getOwnPropertyDescriptor(O,P);if(A===void 0){var S=Object.getPrototypeOf(O);if(S===null)return;g=S,_=P,p=C,y=!0;continue e}else{if("value"in A)return A.value;var T=A.get;return T===void 0?void 0:T.call(C)}}};function n(h){return h&&h.__esModule?h:{default:h}}function a(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}function i(h,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);h.prototype=Object.create(g&&g.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(h,g):h.__proto__=g)}var c=e(174161),u=n(c),f=e(583959);function d(h){var g=arguments.length<=1||arguments[1]===void 0?h:arguments[1];return function(){if(!(0,f.isFunction)(h.getStores))throw new Error("connectToStores() expects the wrapped component to have a static getStores() method");if(!(0,f.isFunction)(h.getPropsFromStores))throw new Error("connectToStores() expects the wrapped component to have a static getPropsFromStores() method");if(typeof h.storeDidChange>"u")var _=function(){};else if((0,f.isFunction)(h.storeDidChange))var _=h.storeDidChange;else throw new Error("connectToStores() expects the storeDidChange() to be a function");var p=function(y){i(O,y);function O(P,C){a(this,O),o(Object.getPrototypeOf(O.prototype),"constructor",this).call(this,P,C),this.state=h.getPropsFromStores(P,C),this.onChange=this.onChange.bind(this)}return r(O,[{key:"componentWillReceiveProps",value:function(C){this.setState(h.getPropsFromStores(C,this.context))}},{key:"componentDidMount",value:function(){var C=this,A=h.getStores(this.props,this.context);this.storeListeners=A.map(function(S){return S.listen(C.onChange)}),h.componentDidConnect&&h.componentDidConnect(this.props,this.context)}},{key:"componentWillUnmount",value:function(){this.storeListeners.forEach(function(C){return C()})}},{key:"onChange",value:function(){this.setState(h.getPropsFromStores(this.props,this.context)),_(this.state)}},{key:"render",value:function(){return u.default.createElement(g,(0,f.assign)({},this.props,this.state))}}]),O}(u.default.Component);return p.displayName="Stateful"+(g.displayName||g.name||"Container"),g.contextTypes&&(p.contextTypes=g.contextTypes),p}()}l.default=d,b.exports=l.default},583959:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isPojo=r,l.isPromise=o,l.eachObject=n,l.assign=a;var e=function(c){return typeof c=="function"};l.isFunction=e;function r(i){var c=i.constructor;return!!i&&typeof i=="object"&&Object.prototype.toString.call(i)==="[object Object]"&&e(c)&&(c instanceof c||i.type==="AltStore")}function o(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function n(i,c){c.forEach(function(u){Object.keys(Object(u)).forEach(function(f){i(f,u[f])})})}function a(i){for(var c=arguments.length,u=Array(c>1?c-1:0),f=1;f<c;f++)u[f-1]=arguments[f];return n(function(d,h){return i[d]=h},u),i}},165118:function(b,l,e){"use strict";var r=e(139e3);/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
 * @license  MIT
 */function o(W,F){if(W===F)return 0;for(var G=W.length,k=F.length,x=0,M=Math.min(G,k);x<M;++x)if(W[x]!==F[x]){G=W[x],k=F[x];break}return G<k?-1:k<G?1:0}function n(W){return e.g.Buffer&&typeof e.g.Buffer.isBuffer=="function"?e.g.Buffer.isBuffer(W):!!(W!=null&&W._isBuffer)}var a=e(962601),i=Object.prototype.hasOwnProperty,c=Array.prototype.slice,u=function(){return(function(){}).name==="foo"}();function f(W){return Object.prototype.toString.call(W)}function d(W){return n(W)||typeof e.g.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(W):W?!!(W instanceof DataView||W.buffer&&W.buffer instanceof ArrayBuffer):!1}var h=b.exports=C,g=/\s*function\s+([^\(\s]*)\s*/;function _(W){if(a.isFunction(W)){if(u)return W.name;var F=W.toString(),G=F.match(g);return G&&G[1]}}h.AssertionError=function(F){this.name="AssertionError",this.actual=F.actual,this.expected=F.expected,this.operator=F.operator,F.message?(this.message=F.message,this.generatedMessage=!1):(this.message=O(this),this.generatedMessage=!0);var G=F.stackStartFunction||P;if(Error.captureStackTrace)Error.captureStackTrace(this,G);else{var k=new Error;if(k.stack){var x=k.stack,M=_(G),B=x.indexOf(`
`+M);if(B>=0){var R=x.indexOf(`
`,B+1);x=x.substring(R+1)}this.stack=x}}},a.inherits(h.AssertionError,Error);function p(W,F){return typeof W=="string"?W.length<F?W:W.slice(0,F):W}function y(W){if(u||!a.isFunction(W))return a.inspect(W);var F=_(W),G=F?": "+F:"";return"[Function"+G+"]"}function O(W){return p(y(W.actual),128)+" "+W.operator+" "+p(y(W.expected),128)}function P(W,F,G,k,x){throw new h.AssertionError({message:G,actual:W,expected:F,operator:k,stackStartFunction:x})}h.fail=P;function C(W,F){W||P(W,!0,F,"==",h.ok)}h.ok=C,h.equal=function(F,G,k){F!=G&&P(F,G,k,"==",h.equal)},h.notEqual=function(F,G,k){F==G&&P(F,G,k,"!=",h.notEqual)},h.deepEqual=function(F,G,k){A(F,G,!1)||P(F,G,k,"deepEqual",h.deepEqual)},h.deepStrictEqual=function(F,G,k){A(F,G,!0)||P(F,G,k,"deepStrictEqual",h.deepStrictEqual)};function A(W,F,G,k){if(W===F)return!0;if(n(W)&&n(F))return o(W,F)===0;if(a.isDate(W)&&a.isDate(F))return W.getTime()===F.getTime();if(a.isRegExp(W)&&a.isRegExp(F))return W.source===F.source&&W.global===F.global&&W.multiline===F.multiline&&W.lastIndex===F.lastIndex&&W.ignoreCase===F.ignoreCase;if((W===null||typeof W!="object")&&(F===null||typeof F!="object"))return G?W===F:W==F;if(d(W)&&d(F)&&f(W)===f(F)&&!(W instanceof Float32Array||W instanceof Float64Array))return o(new Uint8Array(W.buffer),new Uint8Array(F.buffer))===0;if(n(W)!==n(F))return!1;k=k||{actual:[],expected:[]};var x=k.actual.indexOf(W);return x!==-1&&x===k.expected.indexOf(F)?!0:(k.actual.push(W),k.expected.push(F),T(W,F,G,k))}function S(W){return Object.prototype.toString.call(W)=="[object Arguments]"}function T(W,F,G,k){if(W==null||F===null||F===void 0)return!1;if(a.isPrimitive(W)||a.isPrimitive(F))return W===F;if(G&&Object.getPrototypeOf(W)!==Object.getPrototypeOf(F))return!1;var x=S(W),M=S(F);if(x&&!M||!x&&M)return!1;if(x)return W=c.call(W),F=c.call(F),A(W,F,G);var B=L(W),R=L(F),U,j;if(B.length!==R.length)return!1;for(B.sort(),R.sort(),j=B.length-1;j>=0;j--)if(B[j]!==R[j])return!1;for(j=B.length-1;j>=0;j--)if(U=B[j],!A(W[U],F[U],G,k))return!1;return!0}h.notDeepEqual=function(F,G,k){A(F,G,!1)&&P(F,G,k,"notDeepEqual",h.notDeepEqual)},h.notDeepStrictEqual=s;function s(W,F,G){A(W,F,!0)&&P(W,F,G,"notDeepStrictEqual",s)}h.strictEqual=function(F,G,k){F!==G&&P(F,G,k,"===",h.strictEqual)},h.notStrictEqual=function(F,G,k){F===G&&P(F,G,k,"!==",h.notStrictEqual)};function v(W,F){if(!W||!F)return!1;if(Object.prototype.toString.call(F)=="[object RegExp]")return F.test(W);try{if(W instanceof F)return!0}catch{}return Error.isPrototypeOf(F)?!1:F.call({},W)===!0}function m(W){var F;try{W()}catch(G){F=G}return F}function E(W,F,G,k){var x;if(typeof F!="function")throw new TypeError('"block" argument must be a function');typeof G=="string"&&(k=G,G=null),x=m(F),k=(G&&G.name?" ("+G.name+").":".")+(k?" "+k:"."),W&&!x&&P(x,G,"Missing expected exception"+k);var M=typeof k=="string",B=!W&&a.isError(x),R=!W&&x&&!G;if((B&&M&&v(x,G)||R)&&P(x,G,"Got unwanted exception"+k),W&&x&&G&&!v(x,G)||!W&&x)throw x}h.throws=function(W,F,G){E(!0,W,F,G)},h.doesNotThrow=function(W,F,G){E(!1,W,F,G)},h.ifError=function(W){if(W)throw W};function I(W,F){W||P(W,!0,F,"==",I)}h.strict=r(I,h,{equal:h.strictEqual,deepEqual:h.deepStrictEqual,notEqual:h.notStrictEqual,notDeepEqual:h.notDeepStrictEqual}),h.strict.strict=h.strict;var L=Object.keys||function(W){var F=[];for(var G in W)i.call(W,G)&&F.push(G);return F}},856066:function(b,l,e){b.exports={default:e(122143),__esModule:!0}},997072:function(b,l,e){b.exports={default:e(391843),__esModule:!0}},551269:function(b,l,e){b.exports={default:e(383190),__esModule:!0}},823528:function(b,l,e){b.exports={default:e(559948),__esModule:!0}},402761:function(b,l,e){b.exports={default:e(605486),__esModule:!0}},922125:function(b,l,e){b.exports={default:e(327877),__esModule:!0}},9795:function(b,l){"use strict";l.__esModule=!0,l.default=function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}},895832:function(b,l,e){"use strict";l.__esModule=!0;var r=e(823528),o=n(r);function n(a){return a&&a.__esModule?a:{default:a}}l.default=function(){function a(i,c){for(var u=0;u<c.length;u++){var f=c[u];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),(0,o.default)(i,f.key,f)}}return function(i,c,u){return c&&a(i.prototype,c),u&&a(i,u),i}}()},328276:function(b,l,e){"use strict";l.__esModule=!0;var r=e(997072),o=i(r),n=e(856066),a=i(n);function i(c){return c&&c.__esModule?c:{default:c}}l.default=function(){function c(u,f){var d=[],h=!0,g=!1,_=void 0;try{for(var p=(0,a.default)(u),y;!(h=(y=p.next()).done)&&(d.push(y.value),!(f&&d.length===f));h=!0);}catch(O){g=!0,_=O}finally{try{!h&&p.return&&p.return()}finally{if(g)throw _}}return d}return function(u,f){if(Array.isArray(u))return u;if((0,o.default)(Object(u)))return c(u,f);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},660888:function(b){(function(l,e){b.exports=e()})(this,function(){return function(l){var e={};function r(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return l[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=l,r.c=e,r.d=function(o,n,a){r.o(o,n)||Object.defineProperty(o,n,{enumerable:!0,get:a})},r.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},r.t=function(o,n){if(1&n&&(o=r(o)),8&n||4&n&&typeof o=="object"&&o&&o.__esModule)return o;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:o}),2&n&&typeof o!="string")for(var i in o)r.d(a,i,(function(c){return o[c]}).bind(null,i));return a},r.n=function(o){var n=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(n,"a",n),n},r.o=function(o,n){return Object.prototype.hasOwnProperty.call(o,n)},r.p="",r(r.s=90)}({17:function(l,e,r){"use strict";e.__esModule=!0,e.default=void 0;var o=r(18),n=function(){function a(){}return a.getFirstMatch=function(i,c){var u=c.match(i);return u&&u.length>0&&u[1]||""},a.getSecondMatch=function(i,c){var u=c.match(i);return u&&u.length>1&&u[2]||""},a.matchAndReturnConst=function(i,c,u){if(i.test(c))return u},a.getWindowsVersionName=function(i){switch(i){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},a.getMacOSVersionName=function(i){var c=i.split(".").splice(0,2).map(function(u){return parseInt(u,10)||0});if(c.push(0),c[0]===10)switch(c[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},a.getAndroidVersionName=function(i){var c=i.split(".").splice(0,2).map(function(u){return parseInt(u,10)||0});if(c.push(0),!(c[0]===1&&c[1]<5))return c[0]===1&&c[1]<6?"Cupcake":c[0]===1&&c[1]>=6?"Donut":c[0]===2&&c[1]<2?"Eclair":c[0]===2&&c[1]===2?"Froyo":c[0]===2&&c[1]>2?"Gingerbread":c[0]===3?"Honeycomb":c[0]===4&&c[1]<1?"Ice Cream Sandwich":c[0]===4&&c[1]<4?"Jelly Bean":c[0]===4&&c[1]>=4?"KitKat":c[0]===5?"Lollipop":c[0]===6?"Marshmallow":c[0]===7?"Nougat":c[0]===8?"Oreo":c[0]===9?"Pie":void 0},a.getVersionPrecision=function(i){return i.split(".").length},a.compareVersions=function(i,c,u){u===void 0&&(u=!1);var f=a.getVersionPrecision(i),d=a.getVersionPrecision(c),h=Math.max(f,d),g=0,_=a.map([i,c],function(p){var y=h-a.getVersionPrecision(p),O=p+new Array(y+1).join(".0");return a.map(O.split("."),function(P){return new Array(20-P.length).join("0")+P}).reverse()});for(u&&(g=h-Math.min(f,d)),h-=1;h>=g;){if(_[0][h]>_[1][h])return 1;if(_[0][h]===_[1][h]){if(h===g)return 0;h-=1}else if(_[0][h]<_[1][h])return-1}},a.map=function(i,c){var u,f=[];if(Array.prototype.map)return Array.prototype.map.call(i,c);for(u=0;u<i.length;u+=1)f.push(c(i[u]));return f},a.find=function(i,c){var u,f;if(Array.prototype.find)return Array.prototype.find.call(i,c);for(u=0,f=i.length;u<f;u+=1){var d=i[u];if(c(d,u))return d}},a.assign=function(i){for(var c,u,f=i,d=arguments.length,h=new Array(d>1?d-1:0),g=1;g<d;g++)h[g-1]=arguments[g];if(Object.assign)return Object.assign.apply(Object,[i].concat(h));var _=function(){var p=h[c];typeof p=="object"&&p!==null&&Object.keys(p).forEach(function(y){f[y]=p[y]})};for(c=0,u=h.length;c<u;c+=1)_();return i},a.getBrowserAlias=function(i){return o.BROWSER_ALIASES_MAP[i]},a.getBrowserTypeByAlias=function(i){return o.BROWSER_MAP[i]||""},a}();e.default=n,l.exports=e.default},18:function(l,e,r){"use strict";e.__esModule=!0,e.ENGINE_MAP=e.OS_MAP=e.PLATFORMS_MAP=e.BROWSER_MAP=e.BROWSER_ALIASES_MAP=void 0,e.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},e.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},e.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},e.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},e.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(l,e,r){"use strict";e.__esModule=!0,e.default=void 0;var o,n=(o=r(91))&&o.__esModule?o:{default:o},a=r(18);function i(u,f){for(var d=0;d<f.length;d++){var h=f[d];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(u,h.key,h)}}var c=function(){function u(){}var f,d,h;return u.getParser=function(g,_){if(_===void 0&&(_=!1),typeof g!="string")throw new Error("UserAgent should be a string");return new n.default(g,_)},u.parse=function(g){return new n.default(g).getResult()},f=u,h=[{key:"BROWSER_MAP",get:function(){return a.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return a.ENGINE_MAP}},{key:"OS_MAP",get:function(){return a.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return a.PLATFORMS_MAP}}],(d=null)&&i(f.prototype,d),h&&i(f,h),u}();e.default=c,l.exports=e.default},91:function(l,e,r){"use strict";e.__esModule=!0,e.default=void 0;var o=u(r(92)),n=u(r(93)),a=u(r(94)),i=u(r(95)),c=u(r(17));function u(d){return d&&d.__esModule?d:{default:d}}var f=function(){function d(g,_){if(_===void 0&&(_=!1),g==null||g==="")throw new Error("UserAgent parameter can't be empty");this._ua=g,this.parsedResult={},_!==!0&&this.parse()}var h=d.prototype;return h.getUA=function(){return this._ua},h.test=function(g){return g.test(this._ua)},h.parseBrowser=function(){var g=this;this.parsedResult.browser={};var _=c.default.find(o.default,function(p){if(typeof p.test=="function")return p.test(g);if(p.test instanceof Array)return p.test.some(function(y){return g.test(y)});throw new Error("Browser's test function is not valid")});return _&&(this.parsedResult.browser=_.describe(this.getUA())),this.parsedResult.browser},h.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},h.getBrowserName=function(g){return g?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},h.getBrowserVersion=function(){return this.getBrowser().version},h.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},h.parseOS=function(){var g=this;this.parsedResult.os={};var _=c.default.find(n.default,function(p){if(typeof p.test=="function")return p.test(g);if(p.test instanceof Array)return p.test.some(function(y){return g.test(y)});throw new Error("Browser's test function is not valid")});return _&&(this.parsedResult.os=_.describe(this.getUA())),this.parsedResult.os},h.getOSName=function(g){var _=this.getOS().name;return g?String(_).toLowerCase()||"":_||""},h.getOSVersion=function(){return this.getOS().version},h.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},h.getPlatformType=function(g){g===void 0&&(g=!1);var _=this.getPlatform().type;return g?String(_).toLowerCase()||"":_||""},h.parsePlatform=function(){var g=this;this.parsedResult.platform={};var _=c.default.find(a.default,function(p){if(typeof p.test=="function")return p.test(g);if(p.test instanceof Array)return p.test.some(function(y){return g.test(y)});throw new Error("Browser's test function is not valid")});return _&&(this.parsedResult.platform=_.describe(this.getUA())),this.parsedResult.platform},h.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},h.getEngineName=function(g){return g?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},h.parseEngine=function(){var g=this;this.parsedResult.engine={};var _=c.default.find(i.default,function(p){if(typeof p.test=="function")return p.test(g);if(p.test instanceof Array)return p.test.some(function(y){return g.test(y)});throw new Error("Browser's test function is not valid")});return _&&(this.parsedResult.engine=_.describe(this.getUA())),this.parsedResult.engine},h.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},h.getResult=function(){return c.default.assign({},this.parsedResult)},h.satisfies=function(g){var _=this,p={},y=0,O={},P=0;if(Object.keys(g).forEach(function(E){var I=g[E];typeof I=="string"?(O[E]=I,P+=1):typeof I=="object"&&(p[E]=I,y+=1)}),y>0){var C=Object.keys(p),A=c.default.find(C,function(E){return _.isOS(E)});if(A){var S=this.satisfies(p[A]);if(S!==void 0)return S}var T=c.default.find(C,function(E){return _.isPlatform(E)});if(T){var s=this.satisfies(p[T]);if(s!==void 0)return s}}if(P>0){var v=Object.keys(O),m=c.default.find(v,function(E){return _.isBrowser(E,!0)});if(m!==void 0)return this.compareVersion(O[m])}},h.isBrowser=function(g,_){_===void 0&&(_=!1);var p=this.getBrowserName().toLowerCase(),y=g.toLowerCase(),O=c.default.getBrowserTypeByAlias(y);return _&&O&&(y=O.toLowerCase()),y===p},h.compareVersion=function(g){var _=[0],p=g,y=!1,O=this.getBrowserVersion();if(typeof O=="string")return g[0]===">"||g[0]==="<"?(p=g.substr(1),g[1]==="="?(y=!0,p=g.substr(2)):_=[],g[0]===">"?_.push(1):_.push(-1)):g[0]==="="?p=g.substr(1):g[0]==="~"&&(y=!0,p=g.substr(1)),_.indexOf(c.default.compareVersions(O,p,y))>-1},h.isOS=function(g){return this.getOSName(!0)===String(g).toLowerCase()},h.isPlatform=function(g){return this.getPlatformType(!0)===String(g).toLowerCase()},h.isEngine=function(g){return this.getEngineName(!0)===String(g).toLowerCase()},h.is=function(g,_){return _===void 0&&(_=!1),this.isBrowser(g,_)||this.isOS(g)||this.isPlatform(g)},h.some=function(g){var _=this;return g===void 0&&(g=[]),g.some(function(p){return _.is(p)})},d}();e.default=f,l.exports=e.default},92:function(l,e,r){"use strict";e.__esModule=!0,e.default=void 0;var o,n=(o=r(17))&&o.__esModule?o:{default:o},a=/version\/(\d+(\.?_?\d+)+)/i,i=[{test:[/googlebot/i],describe:function(c){var u={name:"Googlebot"},f=n.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,c)||n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/opera/i],describe:function(c){var u={name:"Opera"},f=n.default.getFirstMatch(a,c)||n.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/opr\/|opios/i],describe:function(c){var u={name:"Opera"},f=n.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,c)||n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/SamsungBrowser/i],describe:function(c){var u={name:"Samsung Internet for Android"},f=n.default.getFirstMatch(a,c)||n.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/Whale/i],describe:function(c){var u={name:"NAVER Whale Browser"},f=n.default.getFirstMatch(a,c)||n.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/MZBrowser/i],describe:function(c){var u={name:"MZ Browser"},f=n.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,c)||n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/focus/i],describe:function(c){var u={name:"Focus"},f=n.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,c)||n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/swing/i],describe:function(c){var u={name:"Swing"},f=n.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,c)||n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/coast/i],describe:function(c){var u={name:"Opera Coast"},f=n.default.getFirstMatch(a,c)||n.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(c){var u={name:"Opera Touch"},f=n.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,c)||n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/yabrowser/i],describe:function(c){var u={name:"Yandex Browser"},f=n.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,c)||n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/ucbrowser/i],describe:function(c){var u={name:"UC Browser"},f=n.default.getFirstMatch(a,c)||n.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/Maxthon|mxios/i],describe:function(c){var u={name:"Maxthon"},f=n.default.getFirstMatch(a,c)||n.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/epiphany/i],describe:function(c){var u={name:"Epiphany"},f=n.default.getFirstMatch(a,c)||n.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/puffin/i],describe:function(c){var u={name:"Puffin"},f=n.default.getFirstMatch(a,c)||n.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/sleipnir/i],describe:function(c){var u={name:"Sleipnir"},f=n.default.getFirstMatch(a,c)||n.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/k-meleon/i],describe:function(c){var u={name:"K-Meleon"},f=n.default.getFirstMatch(a,c)||n.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/micromessenger/i],describe:function(c){var u={name:"WeChat"},f=n.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,c)||n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/qqbrowser/i],describe:function(c){var u={name:/qqbrowserlite/i.test(c)?"QQ Browser Lite":"QQ Browser"},f=n.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,c)||n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/msie|trident/i],describe:function(c){var u={name:"Internet Explorer"},f=n.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/\sedg\//i],describe:function(c){var u={name:"Microsoft Edge"},f=n.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/edg([ea]|ios)/i],describe:function(c){var u={name:"Microsoft Edge"},f=n.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/vivaldi/i],describe:function(c){var u={name:"Vivaldi"},f=n.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/seamonkey/i],describe:function(c){var u={name:"SeaMonkey"},f=n.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/sailfish/i],describe:function(c){var u={name:"Sailfish"},f=n.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,c);return f&&(u.version=f),u}},{test:[/silk/i],describe:function(c){var u={name:"Amazon Silk"},f=n.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/phantom/i],describe:function(c){var u={name:"PhantomJS"},f=n.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/slimerjs/i],describe:function(c){var u={name:"SlimerJS"},f=n.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(c){var u={name:"BlackBerry"},f=n.default.getFirstMatch(a,c)||n.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/(web|hpw)[o0]s/i],describe:function(c){var u={name:"WebOS Browser"},f=n.default.getFirstMatch(a,c)||n.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/bada/i],describe:function(c){var u={name:"Bada"},f=n.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/tizen/i],describe:function(c){var u={name:"Tizen"},f=n.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,c)||n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/qupzilla/i],describe:function(c){var u={name:"QupZilla"},f=n.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,c)||n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/firefox|iceweasel|fxios/i],describe:function(c){var u={name:"Firefox"},f=n.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/electron/i],describe:function(c){var u={name:"Electron"},f=n.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/MiuiBrowser/i],describe:function(c){var u={name:"Miui"},f=n.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/chromium/i],describe:function(c){var u={name:"Chromium"},f=n.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,c)||n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/chrome|crios|crmo/i],describe:function(c){var u={name:"Chrome"},f=n.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/GSA/i],describe:function(c){var u={name:"Google Search"},f=n.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:function(c){var u=!c.test(/like android/i),f=c.test(/android/i);return u&&f},describe:function(c){var u={name:"Android Browser"},f=n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/playstation 4/i],describe:function(c){var u={name:"PlayStation 4"},f=n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/safari|applewebkit/i],describe:function(c){var u={name:"Safari"},f=n.default.getFirstMatch(a,c);return f&&(u.version=f),u}},{test:[/.*/i],describe:function(c){var u=c.search("\\(")!==-1?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:n.default.getFirstMatch(u,c),version:n.default.getSecondMatch(u,c)}}}];e.default=i,l.exports=e.default},93:function(l,e,r){"use strict";e.__esModule=!0,e.default=void 0;var o,n=(o=r(17))&&o.__esModule?o:{default:o},a=r(18),i=[{test:[/Roku\/DVP/],describe:function(c){var u=n.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,c);return{name:a.OS_MAP.Roku,version:u}}},{test:[/windows phone/i],describe:function(c){var u=n.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,c);return{name:a.OS_MAP.WindowsPhone,version:u}}},{test:[/windows /i],describe:function(c){var u=n.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,c),f=n.default.getWindowsVersionName(u);return{name:a.OS_MAP.Windows,version:u,versionName:f}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(c){var u={name:a.OS_MAP.iOS},f=n.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,c);return f&&(u.version=f),u}},{test:[/macintosh/i],describe:function(c){var u=n.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,c).replace(/[_\s]/g,"."),f=n.default.getMacOSVersionName(u),d={name:a.OS_MAP.MacOS,version:u};return f&&(d.versionName=f),d}},{test:[/(ipod|iphone|ipad)/i],describe:function(c){var u=n.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,c).replace(/[_\s]/g,".");return{name:a.OS_MAP.iOS,version:u}}},{test:function(c){var u=!c.test(/like android/i),f=c.test(/android/i);return u&&f},describe:function(c){var u=n.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,c),f=n.default.getAndroidVersionName(u),d={name:a.OS_MAP.Android,version:u};return f&&(d.versionName=f),d}},{test:[/(web|hpw)[o0]s/i],describe:function(c){var u=n.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,c),f={name:a.OS_MAP.WebOS};return u&&u.length&&(f.version=u),f}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(c){var u=n.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,c)||n.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,c)||n.default.getFirstMatch(/\bbb(\d+)/i,c);return{name:a.OS_MAP.BlackBerry,version:u}}},{test:[/bada/i],describe:function(c){var u=n.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,c);return{name:a.OS_MAP.Bada,version:u}}},{test:[/tizen/i],describe:function(c){var u=n.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,c);return{name:a.OS_MAP.Tizen,version:u}}},{test:[/linux/i],describe:function(){return{name:a.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:a.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(c){var u=n.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,c);return{name:a.OS_MAP.PlayStation4,version:u}}}];e.default=i,l.exports=e.default},94:function(l,e,r){"use strict";e.__esModule=!0,e.default=void 0;var o,n=(o=r(17))&&o.__esModule?o:{default:o},a=r(18),i=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(c){var u=n.default.getFirstMatch(/(can-l01)/i,c)&&"Nova",f={type:a.PLATFORMS_MAP.mobile,vendor:"Huawei"};return u&&(f.model=u),f}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(c){var u=c.test(/ipod|iphone/i),f=c.test(/like (ipod|iphone)/i);return u&&!f},describe:function(c){var u=n.default.getFirstMatch(/(ipod|iphone)/i,c);return{type:a.PLATFORMS_MAP.mobile,vendor:"Apple",model:u}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(c){return c.getBrowserName(!0)==="blackberry"},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(c){return c.getBrowserName(!0)==="bada"},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(c){return c.getBrowserName()==="windows phone"},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(c){var u=Number(String(c.getOSVersion()).split(".")[0]);return c.getOSName(!0)==="android"&&u>=3},describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(c){return c.getOSName(!0)==="android"},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(c){return c.getOSName(!0)==="macos"},describe:function(){return{type:a.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(c){return c.getOSName(!0)==="windows"},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(c){return c.getOSName(!0)==="linux"},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(c){return c.getOSName(!0)==="playstation 4"},describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:function(c){return c.getOSName(!0)==="roku"},describe:function(){return{type:a.PLATFORMS_MAP.tv}}}];e.default=i,l.exports=e.default},95:function(l,e,r){"use strict";e.__esModule=!0,e.default=void 0;var o,n=(o=r(17))&&o.__esModule?o:{default:o},a=r(18),i=[{test:function(c){return c.getBrowserName(!0)==="microsoft edge"},describe:function(c){if(/\sedg\//i.test(c))return{name:a.ENGINE_MAP.Blink};var u=n.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,c);return{name:a.ENGINE_MAP.EdgeHTML,version:u}}},{test:[/trident/i],describe:function(c){var u={name:a.ENGINE_MAP.Trident},f=n.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:function(c){return c.test(/presto/i)},describe:function(c){var u={name:a.ENGINE_MAP.Presto},f=n.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:function(c){var u=c.test(/gecko/i),f=c.test(/like gecko/i);return u&&!f},describe:function(c){var u={name:a.ENGINE_MAP.Gecko},f=n.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:a.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(c){var u={name:a.ENGINE_MAP.WebKit},f=n.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,c);return f&&(u.version=f),u}}];e.default=i,l.exports=e.default}})})},296726:function(b,l,e){"use strict";var r=e(597646),o=e(457010),n=o([r("%String.prototype.indexOf%")]);b.exports=function(i,c){var u=r(i,!!c);return typeof u=="function"&&n(i,".prototype.")>-1?o([u]):u}},516137:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=function(){function f(d,h){for(var g=0;g<h.length;g++){var _=h[g];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(d,_.key,_)}}return function(d,h,g){return h&&f(d.prototype,h),g&&f(d,g),d}}(),o=e(283726),n=a(o);function a(f){return f&&f.__esModule?f:{default:f}}function i(f,d){if(!(f instanceof d))throw new TypeError("Cannot call a class as a function")}var c=function(){},u=function(){function f(){i(this,f),this.internalIsCanceled=!1,this.listeners=[]}return r(f,[{key:"isCanceled",value:function(){return this.internalIsCanceled}},{key:"cancel",value:function(){this.internalIsCanceled||(this.internalIsCanceled=!0,this.listeners.forEach(function(h){return h()}),this.listeners=null)}},{key:"throwIfCanceled",value:function(){if(this.internalIsCanceled)throw new n.default("Operation has been canceled.")}},{key:"onCancel",value:function(h){var g=this;return this.internalIsCanceled?c:(this.listeners.push(h),function(){if(g.listeners){var _=g.listeners.indexOf(h);_!==-1&&g.listeners.splice(_,1)}})}},{key:"fork",value:function(){if(this.internalIsCanceled)return f.CANCELED;var h=new f;return this.onCancel(function(){return h.cancel()}),h}}]),f}();l.default=u,u.CANCELED=new u,u.CANCELED.internalIsCanceled=!0},283726:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=e;function e(r){this.message=r||"Operation has been canceled.",this.name="CancellationError",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}e.prototype=Object.create(Error.prototype),e.prototype.constructor=e},703769:function(b,l,e){"use strict";var r;r={value:!0},l.CancellationError=l.default=void 0;var o=e(516137),n=c(o),a=e(283726),i=c(a);function c(u){return u&&u.__esModule?u:{default:u}}l.default=n.default,l.CancellationError=i.default},845076:function(b){/*!
  Copyright (c) 2018 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/(function(){"use strict";var l={}.hasOwnProperty;function e(){for(var r=[],o=0;o<arguments.length;o++){var n=arguments[o];if(n){var a=typeof n;if(a==="string"||a==="number")r.push(n);else if(Array.isArray(n)){if(n.length){var i=e.apply(null,n);i&&r.push(i)}}else if(a==="object")if(n.toString===Object.prototype.toString)for(var c in n)l.call(n,c)&&n[c]&&r.push(c);else r.push(n.toString())}}return r.join(" ")}b.exports?(e.default=e,b.exports=e):typeof define=="function"&&typeof define.amd=="object"&&define.amd?define("classnames",[],function(){return e}):window.classNames=e})()},253280:function(b){(function(l,e){b.exports=e()})(typeof self<"u"?self:this,function(){return function(l){var e={};function r(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return l[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=l,r.c=e,r.d=function(o,n,a){r.o(o,n)||Object.defineProperty(o,n,{enumerable:!0,get:a})},r.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},r.t=function(o,n){if(1&n&&(o=r(o)),8&n||4&n&&typeof o=="object"&&o&&o.__esModule)return o;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:o}),2&n&&typeof o!="string")for(var i in o)r.d(a,i,(function(c){return o[c]}).bind(null,i));return a},r.n=function(o){var n=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(n,"a",n),n},r.o=function(o,n){return Object.prototype.hasOwnProperty.call(o,n)},r.p="",r(r.s=0)}([function(l,e,r){"use strict";var o=this&&this.__awaiter||function(I,L,W,F){return new(W||(W=Promise))(function(G,k){function x(R){try{B(F.next(R))}catch(U){k(U)}}function M(R){try{B(F.throw(R))}catch(U){k(U)}}function B(R){R.done?G(R.value):new W(function(U){U(R.value)}).then(x,M)}B((F=F.apply(I,L||[])).next())})},n=this&&this.__generator||function(I,L){var W,F,G,k,x={label:0,sent:function(){if(1&G[0])throw G[1];return G[1]},trys:[],ops:[]};return k={next:M(0),throw:M(1),return:M(2)},typeof Symbol=="function"&&(k[Symbol.iterator]=function(){return this}),k;function M(B){return function(R){return function(U){if(W)throw new TypeError("Generator is already executing.");for(;x;)try{if(W=1,F&&(G=2&U[0]?F.return:U[0]?F.throw||((G=F.return)&&G.call(F),0):F.next)&&!(G=G.call(F,U[1])).done)return G;switch(F=0,G&&(U=[2&U[0],G.value]),U[0]){case 0:case 1:G=U;break;case 4:return x.label++,{value:U[1],done:!1};case 5:x.label++,F=U[1],U=[0];continue;case 7:U=x.ops.pop(),x.trys.pop();continue;default:if(!(G=(G=x.trys).length>0&&G[G.length-1])&&(U[0]===6||U[0]===2)){x=0;continue}if(U[0]===3&&(!G||U[1]>G[0]&&U[1]<G[3])){x.label=U[1];break}if(U[0]===6&&x.label<G[1]){x.label=G[1],G=U;break}if(G&&x.label<G[2]){x.label=G[2],x.ops.push(U);break}G[2]&&x.ops.pop(),x.trys.pop();continue}U=L.call(I,x)}catch(j){U=[6,j],F=0}finally{W=G=0}if(5&U[0])throw U[1];return{value:U[0]?U[1]:void 0,done:!0}}([B,R])}}};Object.defineProperty(e,"__esModule",{value:!0});var a=r(1);e.DT=a.DT;var i=function(I){},c=!0,u=(function(){(console.warn||console.log).apply(console,arguments)}).bind("[clipboard-polyfill]"),f="text/plain";function d(I){i=I}function h(){c=!1,a.suppressDTWarnings()}function g(I){return o(this,void 0,void 0,function(){var L;return n(this,function(W){if(c&&!I.getData(f)&&u("clipboard.write() was called without a `text/plain` data type. On some platforms, this may result in an empty clipboard. Call clipboard.suppressWarnings() to suppress this warning."),E()){if(function(F){var G=F.getData(f);if(G!==void 0)return window.clipboardData.setData("Text",G);throw"No `text/plain` value was specified."}(I))return[2];throw"Copying failed, possibly because the user rejected it."}if(S(I))return i("regular execCopy worked"),[2];if(navigator.userAgent.indexOf("Edge")>-1)return i('UA "Edge" => assuming success'),[2];if(T(document.body,I))return i("copyUsingTempSelection worked"),[2];if(function(F){var G=document.createElement("div");G.setAttribute("style","-webkit-user-select: text !important"),G.textContent="temporary element",document.body.appendChild(G);var k=T(G,F);return document.body.removeChild(G),k}(I))return i("copyUsingTempElem worked"),[2];if((L=I.getData(f))!==void 0&&function(F){i("copyTextUsingDOM");var G=document.createElement("div");G.setAttribute("style","-webkit-user-select: text !important");var k=G;G.attachShadow&&(i("Using shadow DOM."),k=G.attachShadow({mode:"open"}));var x=document.createElement("span");x.innerText=F,k.appendChild(x),document.body.appendChild(G),s(x);var M=document.execCommand("copy");return v(),document.body.removeChild(G),M}(L))return i("copyTextUsingDOM worked"),[2];throw"Copy command failed."})})}function _(I){return o(this,void 0,void 0,function(){return n(this,function(L){return navigator.clipboard&&navigator.clipboard.writeText?(i("Using `navigator.clipboard.writeText()`."),[2,navigator.clipboard.writeText(I)]):[2,g(m(I))]})})}function p(){return o(this,void 0,void 0,function(){var I;return n(this,function(L){switch(L.label){case 0:return I=m,[4,y()];case 1:return[2,I.apply(void 0,[L.sent()])]}})})}function y(){return o(this,void 0,void 0,function(){return n(this,function(I){if(navigator.clipboard&&navigator.clipboard.readText)return i("Using `navigator.clipboard.readText()`."),[2,navigator.clipboard.readText()];if(E())return i("Reading text using IE strategy."),[2,function(){return o(this,void 0,void 0,function(){var L;return n(this,function(W){if((L=window.clipboardData.getData("Text"))==="")throw"Empty clipboard or could not read plain text from clipboard";return[2,L]})})}()];throw"Read is not supported in your browser."})})}e.setDebugLog=d,e.suppressWarnings=h,e.write=g,e.writeText=_,e.read=p,e.readText=y;var O=!1;function P(){O||(c&&u('The deprecated default object of `clipboard-polyfill` was called. Please switch to `import * as clipboard from "clipboard-polyfill"` and see https://github.com/lgarron/clipboard-polyfill/issues/101 for more info.'),O=!0)}var C=function(){function I(){}return I.setDebugLog=function(L){return P(),d(L)},I.suppressWarnings=function(){return P(),h()},I.write=function(L){return o(this,void 0,void 0,function(){return n(this,function(W){return P(),[2,g(L)]})})},I.writeText=function(L){return o(this,void 0,void 0,function(){return n(this,function(W){return P(),[2,_(L)]})})},I.read=function(){return o(this,void 0,void 0,function(){return n(this,function(L){return P(),[2,p()]})})},I.readText=function(){return o(this,void 0,void 0,function(){return n(this,function(L){return P(),[2,y()]})})},I.DT=a.DT,I}();e.default=C;var A=function(){return function(){this.success=!1}}();function S(I){var L=new A,W=(function(F,G,k){i("listener called"),F.success=!0,G.forEach(function(x,M){var B=k.clipboardData;B.setData(M,x),M===f&&B.getData(M)!=x&&(i("setting text/plain failed"),F.success=!1)}),k.preventDefault()}).bind(this,L,I);document.addEventListener("copy",W);try{document.execCommand("copy")}finally{document.removeEventListener("copy",W)}return L.success}function T(I,L){s(I);var W=S(L);return v(),W}function s(I){var L=document.getSelection();if(L){var W=document.createRange();W.selectNodeContents(I),L.removeAllRanges(),L.addRange(W)}}function v(){var I=document.getSelection();I&&I.removeAllRanges()}function m(I){var L=new a.DT;return L.setData(f,I),L}function E(){return typeof ClipboardEvent>"u"&&window.clipboardData!==void 0&&window.clipboardData.setData!==void 0}},function(l,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=["text/plain","text/html"],n=(function(){(console.warn||console.log).call(arguments)}).bind(console,"[clipboard-polyfill]"),a=!0;e.suppressDTWarnings=function(){a=!1};var i=function(){function c(){this.m={}}return c.prototype.setData=function(u,f){a&&o.indexOf(u)===-1&&n("Unknown data type: "+u,"Call clipboard.suppressWarnings() to suppress this warning."),this.m[u]=f},c.prototype.getData=function(u){return this.m[u]},c.prototype.forEach=function(u){for(var f in this.m)u(this.m[f],f)},c}();e.DT=i}])})},249703:function(b,l,e){var r=e(121659),o={};for(var n in r)r.hasOwnProperty(n)&&(o[r[n]]=n);var a=b.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in a)if(a.hasOwnProperty(i)){if(!("channels"in a[i]))throw new Error("missing channels property: "+i);if(!("labels"in a[i]))throw new Error("missing channel labels property: "+i);if(a[i].labels.length!==a[i].channels)throw new Error("channel and label counts mismatch: "+i);var c=a[i].channels,u=a[i].labels;delete a[i].channels,delete a[i].labels,Object.defineProperty(a[i],"channels",{value:c}),Object.defineProperty(a[i],"labels",{value:u})}a.rgb.hsl=function(d){var h=d[0]/255,g=d[1]/255,_=d[2]/255,p=Math.min(h,g,_),y=Math.max(h,g,_),O=y-p,P,C,A;return y===p?P=0:h===y?P=(g-_)/O:g===y?P=2+(_-h)/O:_===y&&(P=4+(h-g)/O),P=Math.min(P*60,360),P<0&&(P+=360),A=(p+y)/2,y===p?C=0:A<=.5?C=O/(y+p):C=O/(2-y-p),[P,C*100,A*100]},a.rgb.hsv=function(d){var h,g,_,p,y,O=d[0]/255,P=d[1]/255,C=d[2]/255,A=Math.max(O,P,C),S=A-Math.min(O,P,C),T=function(s){return(A-s)/6/S+1/2};return S===0?p=y=0:(y=S/A,h=T(O),g=T(P),_=T(C),O===A?p=_-g:P===A?p=1/3+h-_:C===A&&(p=2/3+g-h),p<0?p+=1:p>1&&(p-=1)),[p*360,y*100,A*100]},a.rgb.hwb=function(d){var h=d[0],g=d[1],_=d[2],p=a.rgb.hsl(d)[0],y=1/255*Math.min(h,Math.min(g,_));return _=1-1/255*Math.max(h,Math.max(g,_)),[p,y*100,_*100]},a.rgb.cmyk=function(d){var h=d[0]/255,g=d[1]/255,_=d[2]/255,p,y,O,P;return P=Math.min(1-h,1-g,1-_),p=(1-h-P)/(1-P)||0,y=(1-g-P)/(1-P)||0,O=(1-_-P)/(1-P)||0,[p*100,y*100,O*100,P*100]};function f(d,h){return Math.pow(d[0]-h[0],2)+Math.pow(d[1]-h[1],2)+Math.pow(d[2]-h[2],2)}a.rgb.keyword=function(d){var h=o[d];if(h)return h;var g=1/0,_;for(var p in r)if(r.hasOwnProperty(p)){var y=r[p],O=f(d,y);O<g&&(g=O,_=p)}return _},a.keyword.rgb=function(d){return r[d]},a.rgb.xyz=function(d){var h=d[0]/255,g=d[1]/255,_=d[2]/255;h=h>.04045?Math.pow((h+.055)/1.055,2.4):h/12.92,g=g>.04045?Math.pow((g+.055)/1.055,2.4):g/12.92,_=_>.04045?Math.pow((_+.055)/1.055,2.4):_/12.92;var p=h*.4124+g*.3576+_*.1805,y=h*.2126+g*.7152+_*.0722,O=h*.0193+g*.1192+_*.9505;return[p*100,y*100,O*100]},a.rgb.lab=function(d){var h=a.rgb.xyz(d),g=h[0],_=h[1],p=h[2],y,O,P;return g/=95.047,_/=100,p/=108.883,g=g>.008856?Math.pow(g,1/3):7.787*g+16/116,_=_>.008856?Math.pow(_,1/3):7.787*_+16/116,p=p>.008856?Math.pow(p,1/3):7.787*p+16/116,y=116*_-16,O=500*(g-_),P=200*(_-p),[y,O,P]},a.hsl.rgb=function(d){var h=d[0]/360,g=d[1]/100,_=d[2]/100,p,y,O,P,C;if(g===0)return C=_*255,[C,C,C];_<.5?y=_*(1+g):y=_+g-_*g,p=2*_-y,P=[0,0,0];for(var A=0;A<3;A++)O=h+1/3*-(A-1),O<0&&O++,O>1&&O--,6*O<1?C=p+(y-p)*6*O:2*O<1?C=y:3*O<2?C=p+(y-p)*(2/3-O)*6:C=p,P[A]=C*255;return P},a.hsl.hsv=function(d){var h=d[0],g=d[1]/100,_=d[2]/100,p=g,y=Math.max(_,.01),O,P;return _*=2,g*=_<=1?_:2-_,p*=y<=1?y:2-y,P=(_+g)/2,O=_===0?2*p/(y+p):2*g/(_+g),[h,O*100,P*100]},a.hsv.rgb=function(d){var h=d[0]/60,g=d[1]/100,_=d[2]/100,p=Math.floor(h)%6,y=h-Math.floor(h),O=255*_*(1-g),P=255*_*(1-g*y),C=255*_*(1-g*(1-y));switch(_*=255,p){case 0:return[_,C,O];case 1:return[P,_,O];case 2:return[O,_,C];case 3:return[O,P,_];case 4:return[C,O,_];case 5:return[_,O,P]}},a.hsv.hsl=function(d){var h=d[0],g=d[1]/100,_=d[2]/100,p=Math.max(_,.01),y,O,P;return P=(2-g)*_,y=(2-g)*p,O=g*p,O/=y<=1?y:2-y,O=O||0,P/=2,[h,O*100,P*100]},a.hwb.rgb=function(d){var h=d[0]/360,g=d[1]/100,_=d[2]/100,p=g+_,y,O,P,C;p>1&&(g/=p,_/=p),y=Math.floor(6*h),O=1-_,P=6*h-y,y&1&&(P=1-P),C=g+P*(O-g);var A,S,T;switch(y){default:case 6:case 0:A=O,S=C,T=g;break;case 1:A=C,S=O,T=g;break;case 2:A=g,S=O,T=C;break;case 3:A=g,S=C,T=O;break;case 4:A=C,S=g,T=O;break;case 5:A=O,S=g,T=C;break}return[A*255,S*255,T*255]},a.cmyk.rgb=function(d){var h=d[0]/100,g=d[1]/100,_=d[2]/100,p=d[3]/100,y,O,P;return y=1-Math.min(1,h*(1-p)+p),O=1-Math.min(1,g*(1-p)+p),P=1-Math.min(1,_*(1-p)+p),[y*255,O*255,P*255]},a.xyz.rgb=function(d){var h=d[0]/100,g=d[1]/100,_=d[2]/100,p,y,O;return p=h*3.2406+g*-1.5372+_*-.4986,y=h*-.9689+g*1.8758+_*.0415,O=h*.0557+g*-.204+_*1.057,p=p>.0031308?1.055*Math.pow(p,1/2.4)-.055:p*12.92,y=y>.0031308?1.055*Math.pow(y,1/2.4)-.055:y*12.92,O=O>.0031308?1.055*Math.pow(O,1/2.4)-.055:O*12.92,p=Math.min(Math.max(0,p),1),y=Math.min(Math.max(0,y),1),O=Math.min(Math.max(0,O),1),[p*255,y*255,O*255]},a.xyz.lab=function(d){var h=d[0],g=d[1],_=d[2],p,y,O;return h/=95.047,g/=100,_/=108.883,h=h>.008856?Math.pow(h,1/3):7.787*h+16/116,g=g>.008856?Math.pow(g,1/3):7.787*g+16/116,_=_>.008856?Math.pow(_,1/3):7.787*_+16/116,p=116*g-16,y=500*(h-g),O=200*(g-_),[p,y,O]},a.lab.xyz=function(d){var h=d[0],g=d[1],_=d[2],p,y,O;y=(h+16)/116,p=g/500+y,O=y-_/200;var P=Math.pow(y,3),C=Math.pow(p,3),A=Math.pow(O,3);return y=P>.008856?P:(y-16/116)/7.787,p=C>.008856?C:(p-16/116)/7.787,O=A>.008856?A:(O-16/116)/7.787,p*=95.047,y*=100,O*=108.883,[p,y,O]},a.lab.lch=function(d){var h=d[0],g=d[1],_=d[2],p,y,O;return p=Math.atan2(_,g),y=p*360/2/Math.PI,y<0&&(y+=360),O=Math.sqrt(g*g+_*_),[h,O,y]},a.lch.lab=function(d){var h=d[0],g=d[1],_=d[2],p,y,O;return O=_/360*2*Math.PI,p=g*Math.cos(O),y=g*Math.sin(O),[h,p,y]},a.rgb.ansi16=function(d){var h=d[0],g=d[1],_=d[2],p=1 in arguments?arguments[1]:a.rgb.hsv(d)[2];if(p=Math.round(p/50),p===0)return 30;var y=30+(Math.round(_/255)<<2|Math.round(g/255)<<1|Math.round(h/255));return p===2&&(y+=60),y},a.hsv.ansi16=function(d){return a.rgb.ansi16(a.hsv.rgb(d),d[2])},a.rgb.ansi256=function(d){var h=d[0],g=d[1],_=d[2];if(h===g&&g===_)return h<8?16:h>248?231:Math.round((h-8)/247*24)+232;var p=16+36*Math.round(h/255*5)+6*Math.round(g/255*5)+Math.round(_/255*5);return p},a.ansi16.rgb=function(d){var h=d%10;if(h===0||h===7)return d>50&&(h+=3.5),h=h/10.5*255,[h,h,h];var g=(~~(d>50)+1)*.5,_=(h&1)*g*255,p=(h>>1&1)*g*255,y=(h>>2&1)*g*255;return[_,p,y]},a.ansi256.rgb=function(d){if(d>=232){var h=(d-232)*10+8;return[h,h,h]}d-=16;var g,_=Math.floor(d/36)/5*255,p=Math.floor((g=d%36)/6)/5*255,y=g%6/5*255;return[_,p,y]},a.rgb.hex=function(d){var h=((Math.round(d[0])&255)<<16)+((Math.round(d[1])&255)<<8)+(Math.round(d[2])&255),g=h.toString(16).toUpperCase();return"000000".substring(g.length)+g},a.hex.rgb=function(d){var h=d.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!h)return[0,0,0];var g=h[0];h[0].length===3&&(g=g.split("").map(function(P){return P+P}).join(""));var _=parseInt(g,16),p=_>>16&255,y=_>>8&255,O=_&255;return[p,y,O]},a.rgb.hcg=function(d){var h=d[0]/255,g=d[1]/255,_=d[2]/255,p=Math.max(Math.max(h,g),_),y=Math.min(Math.min(h,g),_),O=p-y,P,C;return O<1?P=y/(1-O):P=0,O<=0?C=0:p===h?C=(g-_)/O%6:p===g?C=2+(_-h)/O:C=4+(h-g)/O+4,C/=6,C%=1,[C*360,O*100,P*100]},a.hsl.hcg=function(d){var h=d[1]/100,g=d[2]/100,_=1,p=0;return g<.5?_=2*h*g:_=2*h*(1-g),_<1&&(p=(g-.5*_)/(1-_)),[d[0],_*100,p*100]},a.hsv.hcg=function(d){var h=d[1]/100,g=d[2]/100,_=h*g,p=0;return _<1&&(p=(g-_)/(1-_)),[d[0],_*100,p*100]},a.hcg.rgb=function(d){var h=d[0]/360,g=d[1]/100,_=d[2]/100;if(g===0)return[_*255,_*255,_*255];var p=[0,0,0],y=h%1*6,O=y%1,P=1-O,C=0;switch(Math.floor(y)){case 0:p[0]=1,p[1]=O,p[2]=0;break;case 1:p[0]=P,p[1]=1,p[2]=0;break;case 2:p[0]=0,p[1]=1,p[2]=O;break;case 3:p[0]=0,p[1]=P,p[2]=1;break;case 4:p[0]=O,p[1]=0,p[2]=1;break;default:p[0]=1,p[1]=0,p[2]=P}return C=(1-g)*_,[(g*p[0]+C)*255,(g*p[1]+C)*255,(g*p[2]+C)*255]},a.hcg.hsv=function(d){var h=d[1]/100,g=d[2]/100,_=h+g*(1-h),p=0;return _>0&&(p=h/_),[d[0],p*100,_*100]},a.hcg.hsl=function(d){var h=d[1]/100,g=d[2]/100,_=g*(1-h)+.5*h,p=0;return _>0&&_<.5?p=h/(2*_):_>=.5&&_<1&&(p=h/(2*(1-_))),[d[0],p*100,_*100]},a.hcg.hwb=function(d){var h=d[1]/100,g=d[2]/100,_=h+g*(1-h);return[d[0],(_-h)*100,(1-_)*100]},a.hwb.hcg=function(d){var h=d[1]/100,g=d[2]/100,_=1-g,p=_-h,y=0;return p<1&&(y=(_-p)/(1-p)),[d[0],p*100,y*100]},a.apple.rgb=function(d){return[d[0]/65535*255,d[1]/65535*255,d[2]/65535*255]},a.rgb.apple=function(d){return[d[0]/255*65535,d[1]/255*65535,d[2]/255*65535]},a.gray.rgb=function(d){return[d[0]/100*255,d[0]/100*255,d[0]/100*255]},a.gray.hsl=a.gray.hsv=function(d){return[0,0,d[0]]},a.gray.hwb=function(d){return[0,100,d[0]]},a.gray.cmyk=function(d){return[0,0,0,d[0]]},a.gray.lab=function(d){return[d[0],0,0]},a.gray.hex=function(d){var h=Math.round(d[0]/100*255)&255,g=(h<<16)+(h<<8)+h,_=g.toString(16).toUpperCase();return"000000".substring(_.length)+_},a.rgb.gray=function(d){var h=(d[0]+d[1]+d[2])/3;return[h/255*100]}},413238:function(b,l,e){var r=e(249703),o=e(406395),n={},a=Object.keys(r);function i(u){var f=function(d){return d==null?d:(arguments.length>1&&(d=Array.prototype.slice.call(arguments)),u(d))};return"conversion"in u&&(f.conversion=u.conversion),f}function c(u){var f=function(d){if(d==null)return d;arguments.length>1&&(d=Array.prototype.slice.call(arguments));var h=u(d);if(typeof h=="object")for(var g=h.length,_=0;_<g;_++)h[_]=Math.round(h[_]);return h};return"conversion"in u&&(f.conversion=u.conversion),f}a.forEach(function(u){n[u]={},Object.defineProperty(n[u],"channels",{value:r[u].channels}),Object.defineProperty(n[u],"labels",{value:r[u].labels});var f=o(u),d=Object.keys(f);d.forEach(function(h){var g=f[h];n[u][h]=c(g),n[u][h].raw=i(g)})}),b.exports=n},406395:function(b,l,e){var r=e(249703);function o(){for(var c={},u=Object.keys(r),f=u.length,d=0;d<f;d++)c[u[d]]={distance:-1,parent:null};return c}function n(c){var u=o(),f=[c];for(u[c].distance=0;f.length;)for(var d=f.pop(),h=Object.keys(r[d]),g=h.length,_=0;_<g;_++){var p=h[_],y=u[p];y.distance===-1&&(y.distance=u[d].distance+1,y.parent=d,f.unshift(p))}return u}function a(c,u){return function(f){return u(c(f))}}function i(c,u){for(var f=[u[c].parent,c],d=r[u[c].parent][c],h=u[c].parent;u[h].parent;)f.unshift(u[h].parent),d=a(r[u[h].parent][h],d),h=u[h].parent;return d.conversion=f,d}b.exports=function(c){for(var u=n(c),f={},d=Object.keys(u),h=d.length,g=0;g<h;g++){var _=d[g],p=u[_];p.parent!==null&&(f[_]=i(_,u))}return f}},121659:function(b){"use strict";b.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},791484:function(b){"use strict";b.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},93057:function(b,l,e){"use strict";var r=e(660013),o={"text/plain":"Text","text/html":"Url",default:"Text"},n="Copy to clipboard: #{key}, Enter";function a(c){var u=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return c.replace(/#{\s*key\s*}/g,u)}function i(c,u){var f,d,h,g,_,p,y=!1;u||(u={}),f=u.debug||!1;try{h=r(),g=document.createRange(),_=document.getSelection(),p=document.createElement("span"),p.textContent=c,p.ariaHidden="true",p.style.all="unset",p.style.position="fixed",p.style.top=0,p.style.clip="rect(0, 0, 0, 0)",p.style.whiteSpace="pre",p.style.webkitUserSelect="text",p.style.MozUserSelect="text",p.style.msUserSelect="text",p.style.userSelect="text",p.addEventListener("copy",function(P){if(P.stopPropagation(),u.format)if(P.preventDefault(),typeof P.clipboardData>"u"){f&&console.warn("unable to use e.clipboardData"),f&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var C=o[u.format]||o.default;window.clipboardData.setData(C,c)}else P.clipboardData.clearData(),P.clipboardData.setData(u.format,c);u.onCopy&&(P.preventDefault(),u.onCopy(P.clipboardData))}),document.body.appendChild(p),g.selectNodeContents(p),_.addRange(g);var O=document.execCommand("copy");if(!O)throw new Error("copy command was unsuccessful");y=!0}catch(P){f&&console.error("unable to copy using execCommand: ",P),f&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(u.format||"text",c),u.onCopy&&u.onCopy(window.clipboardData),y=!0}catch(C){f&&console.error("unable to copy using clipboardData: ",C),f&&console.error("falling back to prompt"),d=a("message"in u?u.message:n),window.prompt(d,c)}}finally{_&&(typeof _.removeRange=="function"?_.removeRange(g):_.removeAllRanges()),p&&document.body.removeChild(p),h()}return y}b.exports=i},122143:function(b,l,e){e(506869),e(537323),b.exports=e(811850)},391843:function(b,l,e){e(506869),e(537323),b.exports=e(67222)},383190:function(b,l,e){e(472557),b.exports=e(880535).Object.assign},559948:function(b,l,e){e(761872);var r=e(880535).Object;b.exports=function(n,a,i){return r.defineProperty(n,a,i)}},605486:function(b,l,e){e(434719),b.exports=e(880535).Object.entries},327877:function(b,l,e){e(431700),e(537323),e(506869),e(213202),e(968329),e(182827),b.exports=e(880535).Promise},448423:function(b){b.exports=function(l){if(typeof l!="function")throw TypeError(l+" is not a function!");return l}},705618:function(b){b.exports=function(){}},640142:function(b){b.exports=function(l,e,r,o){if(!(l instanceof e)||o!==void 0&&o in l)throw TypeError(r+": incorrect invocation!");return l}},359258:function(b,l,e){var r=e(671318);b.exports=function(o){if(!r(o))throw TypeError(o+" is not an object!");return o}},143046:function(b,l,e){var r=e(500648),o=e(717915),n=e(707223);b.exports=function(a){return function(i,c,u){var f=r(i),d=o(f.length),h=n(u,d),g;if(a&&c!=c){for(;d>h;)if(g=f[h++],g!=g)return!0}else for(;d>h;h++)if((a||h in f)&&f[h]===c)return a||h||0;return!a&&-1}}},728099:function(b,l,e){var r=e(427259),o=e(501932)("toStringTag"),n=r(function(){return arguments}())=="Arguments",a=function(i,c){try{return i[c]}catch{}};b.exports=function(i){var c,u,f;return i===void 0?"Undefined":i===null?"Null":typeof(u=a(c=Object(i),o))=="string"?u:n?r(c):(f=r(c))=="Object"&&typeof c.callee=="function"?"Arguments":f}},427259:function(b){var l={}.toString;b.exports=function(e){return l.call(e).slice(8,-1)}},880535:function(b){var l=b.exports={version:"2.6.12"};typeof __e=="number"&&(__e=l)},57620:function(b,l,e){var r=e(448423);b.exports=function(o,n,a){if(r(o),n===void 0)return o;switch(a){case 1:return function(i){return o.call(n,i)};case 2:return function(i,c){return o.call(n,i,c)};case 3:return function(i,c,u){return o.call(n,i,c,u)}}return function(){return o.apply(n,arguments)}}},632926:function(b){b.exports=function(l){if(l==null)throw TypeError("Can't call method on  "+l);return l}},445157:function(b,l,e){b.exports=!e(808412)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},346866:function(b,l,e){var r=e(671318),o=e(541942).document,n=r(o)&&r(o.createElement);b.exports=function(a){return n?o.createElement(a):{}}},264656:function(b){b.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},26210:function(b,l,e){var r=e(541942),o=e(880535),n=e(57620),a=e(653776),i=e(302134),c="prototype",u=function(f,d,h){var g=f&u.F,_=f&u.G,p=f&u.S,y=f&u.P,O=f&u.B,P=f&u.W,C=_?o:o[d]||(o[d]={}),A=C[c],S=_?r:p?r[d]:(r[d]||{})[c],T,s,v;_&&(h=d);for(T in h)s=!g&&S&&S[T]!==void 0,!(s&&i(C,T))&&(v=s?S[T]:h[T],C[T]=_&&typeof S[T]!="function"?h[T]:O&&s?n(v,r):P&&S[T]==v?function(m){var E=function(I,L,W){if(this instanceof m){switch(arguments.length){case 0:return new m;case 1:return new m(I);case 2:return new m(I,L)}return new m(I,L,W)}return m.apply(this,arguments)};return E[c]=m[c],E}(v):y&&typeof v=="function"?n(Function.call,v):v,y&&((C.virtual||(C.virtual={}))[T]=v,f&u.R&&A&&!A[T]&&a(A,T,v)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,b.exports=u},808412:function(b){b.exports=function(l){try{return!!l()}catch{return!0}}},99481:function(b,l,e){var r=e(57620),o=e(234001),n=e(204436),a=e(359258),i=e(717915),c=e(740195),u={},f={},d=b.exports=function(h,g,_,p,y){var O=y?function(){return h}:c(h),P=r(_,p,g?2:1),C=0,A,S,T,s;if(typeof O!="function")throw TypeError(h+" is not iterable!");if(n(O)){for(A=i(h.length);A>C;C++)if(s=g?P(a(S=h[C])[0],S[1]):P(h[C]),s===u||s===f)return s}else for(T=O.call(h);!(S=T.next()).done;)if(s=o(T,P,S.value,g),s===u||s===f)return s};d.BREAK=u,d.RETURN=f},541942:function(b){var l=b.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=l)},302134:function(b){var l={}.hasOwnProperty;b.exports=function(e,r){return l.call(e,r)}},653776:function(b,l,e){var r=e(232103),o=e(854074);b.exports=e(445157)?function(n,a,i){return r.f(n,a,o(1,i))}:function(n,a,i){return n[a]=i,n}},398421:function(b,l,e){var r=e(541942).document;b.exports=r&&r.documentElement},569247:function(b,l,e){b.exports=!e(445157)&&!e(808412)(function(){return Object.defineProperty(e(346866)("div"),"a",{get:function(){return 7}}).a!=7})},1331:function(b){b.exports=function(l,e,r){var o=r===void 0;switch(e.length){case 0:return o?l():l.call(r);case 1:return o?l(e[0]):l.call(r,e[0]);case 2:return o?l(e[0],e[1]):l.call(r,e[0],e[1]);case 3:return o?l(e[0],e[1],e[2]):l.call(r,e[0],e[1],e[2]);case 4:return o?l(e[0],e[1],e[2],e[3]):l.call(r,e[0],e[1],e[2],e[3])}return l.apply(r,e)}},613171:function(b,l,e){var r=e(427259);b.exports=Object("z").propertyIsEnumerable(0)?Object:function(o){return r(o)=="String"?o.split(""):Object(o)}},204436:function(b,l,e){var r=e(425264),o=e(501932)("iterator"),n=Array.prototype;b.exports=function(a){return a!==void 0&&(r.Array===a||n[o]===a)}},671318:function(b){b.exports=function(l){return typeof l=="object"?l!==null:typeof l=="function"}},234001:function(b,l,e){var r=e(359258);b.exports=function(o,n,a,i){try{return i?n(r(a)[0],a[1]):n(a)}catch(u){var c=o.return;throw c!==void 0&&r(c.call(o)),u}}},581906:function(b,l,e){"use strict";var r=e(820413),o=e(854074),n=e(405001),a={};e(653776)(a,e(501932)("iterator"),function(){return this}),b.exports=function(i,c,u){i.prototype=r(a,{next:o(1,u)}),n(i,c+" Iterator")}},826672:function(b,l,e){"use strict";var r=e(71766),o=e(26210),n=e(800668),a=e(653776),i=e(425264),c=e(581906),u=e(405001),f=e(935424),d=e(501932)("iterator"),h=!([].keys&&"next"in[].keys()),g="@@iterator",_="keys",p="values",y=function(){return this};b.exports=function(O,P,C,A,S,T,s){c(C,P,A);var v=function(R){if(!h&&R in L)return L[R];switch(R){case _:return function(){return new C(this,R)};case p:return function(){return new C(this,R)}}return function(){return new C(this,R)}},m=P+" Iterator",E=S==p,I=!1,L=O.prototype,W=L[d]||L[g]||S&&L[S],F=W||v(S),G=S?E?v("entries"):F:void 0,k=P=="Array"&&L.entries||W,x,M,B;if(k&&(B=f(k.call(new O)),B!==Object.prototype&&B.next&&(u(B,m,!0),!r&&typeof B[d]!="function"&&a(B,d,y))),E&&W&&W.name!==p&&(I=!0,F=function(){return W.call(this)}),(!r||s)&&(h||I||!L[d])&&a(L,d,F),i[P]=F,i[m]=y,S)if(x={values:E?F:v(p),keys:T?F:v(_),entries:G},s)for(M in x)M in L||n(L,M,x[M]);else o(o.P+o.F*(h||I),P,x);return x}},914326:function(b,l,e){var r=e(501932)("iterator"),o=!1;try{var n=[7][r]();n.return=function(){o=!0},Array.from(n,function(){throw 2})}catch{}b.exports=function(a,i){if(!i&&!o)return!1;var c=!1;try{var u=[7],f=u[r]();f.next=function(){return{done:c=!0}},u[r]=function(){return f},a(u)}catch{}return c}},436333:function(b){b.exports=function(l,e){return{value:e,done:!!l}}},425264:function(b){b.exports={}},71766:function(b){b.exports=!0},532876:function(b,l,e){var r=e(541942),o=e(117926).set,n=r.MutationObserver||r.WebKitMutationObserver,a=r.process,i=r.Promise,c=e(427259)(a)=="process";b.exports=function(){var u,f,d,h=function(){var y,O;for(c&&(y=a.domain)&&y.exit();u;){O=u.fn,u=u.next;try{O()}catch(P){throw u?d():f=void 0,P}}f=void 0,y&&y.enter()};if(c)d=function(){a.nextTick(h)};else if(n&&!(r.navigator&&r.navigator.standalone)){var g=!0,_=document.createTextNode("");new n(h).observe(_,{characterData:!0}),d=function(){_.data=g=!g}}else if(i&&i.resolve){var p=i.resolve(void 0);d=function(){p.then(h)}}else d=function(){o.call(r,h)};return function(y){var O={fn:y,next:void 0};f&&(f.next=O),u||(u=O,d()),f=O}}},699871:function(b,l,e){"use strict";var r=e(448423);function o(n){var a,i;this.promise=new n(function(c,u){if(a!==void 0||i!==void 0)throw TypeError("Bad Promise constructor");a=c,i=u}),this.resolve=r(a),this.reject=r(i)}b.exports.f=function(n){return new o(n)}},593303:function(b,l,e){"use strict";var r=e(445157),o=e(644523),n=e(358102),a=e(964290),i=e(48467),c=e(613171),u=Object.assign;b.exports=!u||e(808412)(function(){var f={},d={},h=Symbol(),g="abcdefghijklmnopqrst";return f[h]=7,g.split("").forEach(function(_){d[_]=_}),u({},f)[h]!=7||Object.keys(u({},d)).join("")!=g})?function(d,h){for(var g=i(d),_=arguments.length,p=1,y=n.f,O=a.f;_>p;)for(var P=c(arguments[p++]),C=y?o(P).concat(y(P)):o(P),A=C.length,S=0,T;A>S;)T=C[S++],(!r||O.call(P,T))&&(g[T]=P[T]);return g}:u},820413:function(b,l,e){var r=e(359258),o=e(217030),n=e(264656),a=e(867489)("IE_PROTO"),i=function(){},c="prototype",u=function(){var f=e(346866)("iframe"),d=n.length,h="<",g=">",_;for(f.style.display="none",e(398421).appendChild(f),f.src="javascript:",_=f.contentWindow.document,_.open(),_.write(h+"script"+g+"document.F=Object"+h+"/script"+g),_.close(),u=_.F;d--;)delete u[c][n[d]];return u()};b.exports=Object.create||function(d,h){var g;return d!==null?(i[c]=r(d),g=new i,i[c]=null,g[a]=d):g=u(),h===void 0?g:o(g,h)}},232103:function(b,l,e){var r=e(359258),o=e(569247),n=e(73698),a=Object.defineProperty;l.f=e(445157)?Object.defineProperty:function(c,u,f){if(r(c),u=n(u,!0),r(f),o)try{return a(c,u,f)}catch{}if("get"in f||"set"in f)throw TypeError("Accessors not supported!");return"value"in f&&(c[u]=f.value),c}},217030:function(b,l,e){var r=e(232103),o=e(359258),n=e(644523);b.exports=e(445157)?Object.defineProperties:function(i,c){o(i);for(var u=n(c),f=u.length,d=0,h;f>d;)r.f(i,h=u[d++],c[h]);return i}},358102:function(b,l){l.f=Object.getOwnPropertySymbols},935424:function(b,l,e){var r=e(302134),o=e(48467),n=e(867489)("IE_PROTO"),a=Object.prototype;b.exports=Object.getPrototypeOf||function(i){return i=o(i),r(i,n)?i[n]:typeof i.constructor=="function"&&i instanceof i.constructor?i.constructor.prototype:i instanceof Object?a:null}},452265:function(b,l,e){var r=e(302134),o=e(500648),n=e(143046)(!1),a=e(867489)("IE_PROTO");b.exports=function(i,c){var u=o(i),f=0,d=[],h;for(h in u)h!=a&&r(u,h)&&d.push(h);for(;c.length>f;)r(u,h=c[f++])&&(~n(d,h)||d.push(h));return d}},644523:function(b,l,e){var r=e(452265),o=e(264656);b.exports=Object.keys||function(a){return r(a,o)}},964290:function(b,l){l.f={}.propertyIsEnumerable},234039:function(b,l,e){var r=e(445157),o=e(644523),n=e(500648),a=e(964290).f;b.exports=function(i){return function(c){for(var u=n(c),f=o(u),d=f.length,h=0,g=[],_;d>h;)_=f[h++],(!r||a.call(u,_))&&g.push(i?[_,u[_]]:u[_]);return g}}},441230:function(b){b.exports=function(l){try{return{e:!1,v:l()}}catch(e){return{e:!0,v:e}}}},786476:function(b,l,e){var r=e(359258),o=e(671318),n=e(699871);b.exports=function(a,i){if(r(a),o(i)&&i.constructor===a)return i;var c=n.f(a),u=c.resolve;return u(i),c.promise}},854074:function(b){b.exports=function(l,e){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:e}}},645270:function(b,l,e){var r=e(653776);b.exports=function(o,n,a){for(var i in n)a&&o[i]?o[i]=n[i]:r(o,i,n[i]);return o}},800668:function(b,l,e){b.exports=e(653776)},622095:function(b,l,e){"use strict";var r=e(541942),o=e(880535),n=e(232103),a=e(445157),i=e(501932)("species");b.exports=function(c){var u=typeof o[c]=="function"?o[c]:r[c];a&&u&&!u[i]&&n.f(u,i,{configurable:!0,get:function(){return this}})}},405001:function(b,l,e){var r=e(232103).f,o=e(302134),n=e(501932)("toStringTag");b.exports=function(a,i,c){a&&!o(a=c?a:a.prototype,n)&&r(a,n,{configurable:!0,value:i})}},867489:function(b,l,e){var r=e(371383)("keys"),o=e(130697);b.exports=function(n){return r[n]||(r[n]=o(n))}},371383:function(b,l,e){var r=e(880535),o=e(541942),n="__core-js_shared__",a=o[n]||(o[n]={});(b.exports=function(i,c){return a[i]||(a[i]=c!==void 0?c:{})})("versions",[]).push({version:r.version,mode:e(71766)?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},67062:function(b,l,e){var r=e(359258),o=e(448423),n=e(501932)("species");b.exports=function(a,i){var c=r(a).constructor,u;return c===void 0||(u=r(c)[n])==null?i:o(u)}},430026:function(b,l,e){var r=e(632194),o=e(632926);b.exports=function(n){return function(a,i){var c=String(o(a)),u=r(i),f=c.length,d,h;return u<0||u>=f?n?"":void 0:(d=c.charCodeAt(u),d<55296||d>56319||u+1===f||(h=c.charCodeAt(u+1))<56320||h>57343?n?c.charAt(u):d:n?c.slice(u,u+2):(d-55296<<10)+(h-56320)+65536)}}},117926:function(b,l,e){var r=e(57620),o=e(1331),n=e(398421),a=e(346866),i=e(541942),c=i.process,u=i.setImmediate,f=i.clearImmediate,d=i.MessageChannel,h=i.Dispatch,g=0,_={},p="onreadystatechange",y,O,P,C=function(){var S=+this;if(_.hasOwnProperty(S)){var T=_[S];delete _[S],T()}},A=function(S){C.call(S.data)};(!u||!f)&&(u=function(T){for(var s=[],v=1;arguments.length>v;)s.push(arguments[v++]);return _[++g]=function(){o(typeof T=="function"?T:Function(T),s)},y(g),g},f=function(T){delete _[T]},e(427259)(c)=="process"?y=function(S){c.nextTick(r(C,S,1))}:h&&h.now?y=function(S){h.now(r(C,S,1))}:d?(O=new d,P=O.port2,O.port1.onmessage=A,y=r(P.postMessage,P,1)):i.addEventListener&&typeof postMessage=="function"&&!i.importScripts?(y=function(S){i.postMessage(S+"","*")},i.addEventListener("message",A,!1)):p in a("script")?y=function(S){n.appendChild(a("script"))[p]=function(){n.removeChild(this),C.call(S)}}:y=function(S){setTimeout(r(C,S,1),0)}),b.exports={set:u,clear:f}},707223:function(b,l,e){var r=e(632194),o=Math.max,n=Math.min;b.exports=function(a,i){return a=r(a),a<0?o(a+i,0):n(a,i)}},632194:function(b){var l=Math.ceil,e=Math.floor;b.exports=function(r){return isNaN(r=+r)?0:(r>0?e:l)(r)}},500648:function(b,l,e){var r=e(613171),o=e(632926);b.exports=function(n){return r(o(n))}},717915:function(b,l,e){var r=e(632194),o=Math.min;b.exports=function(n){return n>0?o(r(n),9007199254740991):0}},48467:function(b,l,e){var r=e(632926);b.exports=function(o){return Object(r(o))}},73698:function(b,l,e){var r=e(671318);b.exports=function(o,n){if(!r(o))return o;var a,i;if(n&&typeof(a=o.toString)=="function"&&!r(i=a.call(o))||typeof(a=o.valueOf)=="function"&&!r(i=a.call(o))||!n&&typeof(a=o.toString)=="function"&&!r(i=a.call(o)))return i;throw TypeError("Can't convert object to primitive value")}},130697:function(b){var l=0,e=Math.random();b.exports=function(r){return"Symbol(".concat(r===void 0?"":r,")_",(++l+e).toString(36))}},456209:function(b,l,e){var r=e(541942),o=r.navigator;b.exports=o&&o.userAgent||""},501932:function(b,l,e){var r=e(371383)("wks"),o=e(130697),n=e(541942).Symbol,a=typeof n=="function",i=b.exports=function(c){return r[c]||(r[c]=a&&n[c]||(a?n:o)("Symbol."+c))};i.store=r},740195:function(b,l,e){var r=e(728099),o=e(501932)("iterator"),n=e(425264);b.exports=e(880535).getIteratorMethod=function(a){if(a!=null)return a[o]||a["@@iterator"]||n[r(a)]}},811850:function(b,l,e){var r=e(359258),o=e(740195);b.exports=e(880535).getIterator=function(n){var a=o(n);if(typeof a!="function")throw TypeError(n+" is not iterable!");return r(a.call(n))}},67222:function(b,l,e){var r=e(728099),o=e(501932)("iterator"),n=e(425264);b.exports=e(880535).isIterable=function(a){var i=Object(a);return i[o]!==void 0||"@@iterator"in i||n.hasOwnProperty(r(i))}},777869:function(b,l,e){"use strict";var r=e(705618),o=e(436333),n=e(425264),a=e(500648);b.exports=e(826672)(Array,"Array",function(i,c){this._t=a(i),this._i=0,this._k=c},function(){var i=this._t,c=this._k,u=this._i++;return!i||u>=i.length?(this._t=void 0,o(1)):c=="keys"?o(0,u):c=="values"?o(0,i[u]):o(0,[u,i[u]])},"values"),n.Arguments=n.Array,r("keys"),r("values"),r("entries")},472557:function(b,l,e){var r=e(26210);r(r.S+r.F,"Object",{assign:e(593303)})},761872:function(b,l,e){var r=e(26210);r(r.S+r.F*!e(445157),"Object",{defineProperty:e(232103).f})},431700:function(){},213202:function(b,l,e){"use strict";var r=e(71766),o=e(541942),n=e(57620),a=e(728099),i=e(26210),c=e(671318),u=e(448423),f=e(640142),d=e(99481),h=e(67062),g=e(117926).set,_=e(532876)(),p=e(699871),y=e(441230),O=e(456209),P=e(786476),C="Promise",A=o.TypeError,S=o.process,T=S&&S.versions,s=T&&T.v8||"",v=o[C],m=a(S)=="process",E=function(){},I,L,W,F,G=L=p.f,k=!!function(){try{var ee=v.resolve(1),te=(ee.constructor={})[e(501932)("species")]=function(ie){ie(E,E)};return(m||typeof PromiseRejectionEvent=="function")&&ee.then(E)instanceof te&&s.indexOf("6.6")!==0&&O.indexOf("Chrome/66")===-1}catch{}}(),x=function(ee){var te;return c(ee)&&typeof(te=ee.then)=="function"?te:!1},M=function(ee,te){if(!ee._n){ee._n=!0;var ie=ee._c;_(function(){for(var ne=ee._v,pe=ee._s==1,oe=0,q=function(J){var me=pe?J.ok:J.fail,re=J.resolve,he=J.reject,Ee=J.domain,fe,H,z;try{me?(pe||(ee._h==2&&U(ee),ee._h=1),me===!0?fe=ne:(Ee&&Ee.enter(),fe=me(ne),Ee&&(Ee.exit(),z=!0)),fe===J.promise?he(A("Promise-chain cycle")):(H=x(fe))?H.call(fe,re,he):re(fe)):he(ne)}catch(_e){Ee&&!z&&Ee.exit(),he(_e)}};ie.length>oe;)q(ie[oe++]);ee._c=[],ee._n=!1,te&&!ee._h&&B(ee)})}},B=function(ee){g.call(o,function(){var te=ee._v,ie=R(ee),ne,pe,oe;if(ie&&(ne=y(function(){m?S.emit("unhandledRejection",te,ee):(pe=o.onunhandledrejection)?pe({promise:ee,reason:te}):(oe=o.console)&&oe.error&&oe.error("Unhandled promise rejection",te)}),ee._h=m||R(ee)?2:1),ee._a=void 0,ie&&ne.e)throw ne.v})},R=function(ee){return ee._h!==1&&(ee._a||ee._c).length===0},U=function(ee){g.call(o,function(){var te;m?S.emit("rejectionHandled",ee):(te=o.onrejectionhandled)&&te({promise:ee,reason:ee._v})})},j=function(ee){var te=this;te._d||(te._d=!0,te=te._w||te,te._v=ee,te._s=2,te._a||(te._a=te._c.slice()),M(te,!0))},$=function(ee){var te=this,ie;if(!te._d){te._d=!0,te=te._w||te;try{if(te===ee)throw A("Promise can't be resolved itself");(ie=x(ee))?_(function(){var ne={_w:te,_d:!1};try{ie.call(ee,n($,ne,1),n(j,ne,1))}catch(pe){j.call(ne,pe)}}):(te._v=ee,te._s=1,M(te,!1))}catch(ne){j.call({_w:te,_d:!1},ne)}}};k||(v=function(te){f(this,v,C,"_h"),u(te),I.call(this);try{te(n($,this,1),n(j,this,1))}catch(ie){j.call(this,ie)}},I=function(te){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},I.prototype=e(645270)(v.prototype,{then:function(te,ie){var ne=G(h(this,v));return ne.ok=typeof te=="function"?te:!0,ne.fail=typeof ie=="function"&&ie,ne.domain=m?S.domain:void 0,this._c.push(ne),this._a&&this._a.push(ne),this._s&&M(this,!1),ne.promise},catch:function(ee){return this.then(void 0,ee)}}),W=function(){var ee=new I;this.promise=ee,this.resolve=n($,ee,1),this.reject=n(j,ee,1)},p.f=G=function(ee){return ee===v||ee===F?new W(ee):L(ee)}),i(i.G+i.W+i.F*!k,{Promise:v}),e(405001)(v,C),e(622095)(C),F=e(880535)[C],i(i.S+i.F*!k,C,{reject:function(te){var ie=G(this),ne=ie.reject;return ne(te),ie.promise}}),i(i.S+i.F*(r||!k),C,{resolve:function(te){return P(r&&this===F?v:this,te)}}),i(i.S+i.F*!(k&&e(914326)(function(ee){v.all(ee).catch(E)})),C,{all:function(te){var ie=this,ne=G(ie),pe=ne.resolve,oe=ne.reject,q=y(function(){var J=[],me=0,re=1;d(te,!1,function(he){var Ee=me++,fe=!1;J.push(void 0),re++,ie.resolve(he).then(function(H){fe||(fe=!0,J[Ee]=H,--re||pe(J))},oe)}),--re||pe(J)});return q.e&&oe(q.v),ne.promise},race:function(te){var ie=this,ne=G(ie),pe=ne.reject,oe=y(function(){d(te,!1,function(q){ie.resolve(q).then(ne.resolve,pe)})});return oe.e&&pe(oe.v),ne.promise}})},537323:function(b,l,e){"use strict";var r=e(430026)(!0);e(826672)(String,"String",function(o){this._t=String(o),this._i=0},function(){var o=this._t,n=this._i,a;return n>=o.length?{value:void 0,done:!0}:(a=r(o,n),this._i+=a.length,{value:a,done:!1})})},434719:function(b,l,e){var r=e(26210),o=e(234039)(!0);r(r.S,"Object",{entries:function(a){return o(a)}})},968329:function(b,l,e){"use strict";var r=e(26210),o=e(880535),n=e(541942),a=e(67062),i=e(786476);r(r.P+r.R,"Promise",{finally:function(c){var u=a(this,o.Promise||n.Promise),f=typeof c=="function";return this.then(f?function(d){return i(u,c()).then(function(){return d})}:c,f?function(d){return i(u,c()).then(function(){throw d})}:c)}})},182827:function(b,l,e){"use strict";var r=e(26210),o=e(699871),n=e(441230);r(r.S,"Promise",{try:function(a){var i=o.f(this),c=n(a);return(c.e?i.reject:i.resolve)(c.v),i.promise}})},506869:function(b,l,e){e(777869);for(var r=e(541942),o=e(653776),n=e(425264),a=e(501932)("toStringTag"),i="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<i.length;c++){var u=i[c],f=r[u],d=f&&f.prototype;d&&!d[a]&&o(d,a,u),n[u]=n.Array}},694770:function(b,l,e){var r=e(87922),o=e(458978),n=TypeError;b.exports=function(a){if(r(a))return a;throw n(o(a)+" is not a constructor")}},826439:function(b,l,e){"use strict";var r=e(630192).charAt;b.exports=function(o,n,a){return n+(a?r(o,n).length:1)}},880805:function(b,l,e){var r=e(497315);b.exports=r([].slice)},473070:function(b,l,e){var r=e(337620),o=e(760331),n=e(155124),a=e(540496),i=a("toStringTag"),c=Object,u=n(function(){return arguments}())=="Arguments",f=function(d,h){try{return d[h]}catch{}};b.exports=r?n:function(d){var h,g,_;return d===void 0?"Undefined":d===null?"Null":typeof(g=f(h=c(d),i))=="string"?g:u?n(h):(_=n(h))=="Object"&&o(h.callee)?"Arguments":_}},78200:function(b,l,e){var r=e(105978);b.exports=!r(function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype})},282012:function(b){b.exports=function(l,e){return{value:l,done:e}}},200111:function(b,l,e){var r=e(4192),o=Function.prototype,n=o.apply,a=o.call;b.exports=typeof Reflect=="object"&&Reflect.apply||(r?a.bind(n):function(){return a.apply(n,arguments)})},186299:function(b,l,e){var r=e(174883);b.exports=r("document","documentElement")},87922:function(b,l,e){var r=e(497315),o=e(105978),n=e(760331),a=e(473070),i=e(174883),c=e(653843),u=function(){},f=[],d=i("Reflect","construct"),h=/^\s*(?:class|function)\b/,g=r(h.exec),_=!h.exec(u),p=function(P){if(!n(P))return!1;try{return d(u,f,P),!0}catch{return!1}},y=function(P){if(!n(P))return!1;switch(a(P)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return _||!!g(h,c(P))}catch{return!0}};y.sham=!0,b.exports=!d||o(function(){var O;return p(p.call)||!p(Object)||!p(function(){O=!0})||O})?y:p},994553:function(b,l,e){var r=e(97865),o=e(155124),n=e(540496),a=n("match");b.exports=function(i){var c;return r(i)&&((c=i[a])!==void 0?!!c:o(i)=="RegExp")}},843674:function(b,l,e){"use strict";var r=e(959706).IteratorPrototype,o=e(171197),n=e(581927),a=e(553837),i=e(347909),c=function(){return this};b.exports=function(u,f,d,h){var g=f+" Iterator";return u.prototype=o(r,{next:n(+!h,d)}),a(u,g,!1,!0),i[g]=c,u}},959706:function(b,l,e){"use strict";var r=e(105978),o=e(760331),n=e(97865),a=e(171197),i=e(95938),c=e(148134),u=e(540496),f=e(471746),d=u("iterator"),h=!1,g,_,p;[].keys&&(p=[].keys(),"next"in p?(_=i(i(p)),_!==Object.prototype&&(g=_)):h=!0);var y=!n(g)||r(function(){var O={};return g[d].call(O)!==O});y?g={}:f&&(g=a(g)),o(g[d])||c(g,d,function(){return this}),b.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:h}},347909:function(b){b.exports={}},171197:function(b,l,e){var r=e(454776),o=e(49802),n=e(615339),a=e(347889),i=e(186299),c=e(362877),u=e(598784),f=">",d="<",h="prototype",g="script",_=u("IE_PROTO"),p=function(){},y=function(S){return d+g+f+S+d+"/"+g+f},O=function(S){S.write(y("")),S.close();var T=S.parentWindow.Object;return S=null,T},P=function(){var S=c("iframe"),T="java"+g+":",s;return S.style.display="none",i.appendChild(S),S.src=String(T),s=S.contentWindow.document,s.open(),s.write(y("document.F=Object")),s.close(),s.F},C,A=function(){try{C=new ActiveXObject("htmlfile")}catch{}A=typeof document<"u"?document.domain&&C?O(C):P():O(C);for(var S=n.length;S--;)delete A[h][n[S]];return A()};a[_]=!0,b.exports=Object.create||function(T,s){var v;return T!==null?(p[h]=r(T),v=new p,p[h]=null,v[_]=T):v=A(),s===void 0?v:o.f(v,s)}},49802:function(b,l,e){var r=e(427156),o=e(265641),n=e(723314),a=e(454776),i=e(610508),c=e(385378);l.f=r&&!o?Object.defineProperties:function(f,d){a(f);for(var h=i(d),g=c(d),_=g.length,p=0,y;_>p;)n.f(f,y=g[p++],h[y]);return f}},95938:function(b,l,e){var r=e(955553),o=e(760331),n=e(180240),a=e(598784),i=e(78200),c=a("IE_PROTO"),u=Object,f=u.prototype;b.exports=i?u.getPrototypeOf:function(d){var h=n(d);if(r(h,c))return h[c];var g=h.constructor;return o(g)&&h instanceof g?g.prototype:h instanceof u?f:null}},385378:function(b,l,e){var r=e(84576),o=e(615339);b.exports=Object.keys||function(a){return r(a,o)}},609757:function(b,l,e){var r=e(50067),o=e(454776),n=e(760331),a=e(155124),i=e(563595),c=TypeError;b.exports=function(u,f){var d=u.exec;if(n(d)){var h=r(d,u,f);return h!==null&&o(h),h}if(a(u)==="RegExp")return r(i,u,f);throw c("RegExp#exec called on incompatible receiver")}},563595:function(b,l,e){"use strict";var r=e(50067),o=e(497315),n=e(227876),a=e(971155),i=e(131245),c=e(938117),u=e(171197),f=e(347846).get,d=e(94691),h=e(636625),g=c("native-string-replace",String.prototype.replace),_=RegExp.prototype.exec,p=_,y=o("".charAt),O=o("".indexOf),P=o("".replace),C=o("".slice),A=function(){var v=/a/,m=/b*/g;return r(_,v,"a"),r(_,m,"a"),v.lastIndex!==0||m.lastIndex!==0}(),S=i.BROKEN_CARET,T=/()??/.exec("")[1]!==void 0,s=A||T||S||d||h;s&&(p=function(m){var E=this,I=f(E),L=n(m),W=I.raw,F,G,k,x,M,B,R;if(W)return W.lastIndex=E.lastIndex,F=r(p,W,L),E.lastIndex=W.lastIndex,F;var U=I.groups,j=S&&E.sticky,$=r(a,E),ee=E.source,te=0,ie=L;if(j&&($=P($,"y",""),O($,"g")===-1&&($+="g"),ie=C(L,E.lastIndex),E.lastIndex>0&&(!E.multiline||E.multiline&&y(L,E.lastIndex-1)!==`
`)&&(ee="(?: "+ee+")",ie=" "+ie,te++),G=new RegExp("^(?:"+ee+")",$)),T&&(G=new RegExp("^"+ee+"$(?!\\s)",$)),A&&(k=E.lastIndex),x=r(_,j?G:E,ie),j?x?(x.input=C(x.input,te),x[0]=C(x[0],te),x.index=E.lastIndex,E.lastIndex+=x[0].length):E.lastIndex=0:A&&x&&(E.lastIndex=E.global?x.index+x[0].length:k),T&&x&&x.length>1&&r(g,x[0],G,function(){for(M=1;M<arguments.length-2;M++)arguments[M]===void 0&&(x[M]=void 0)}),x&&U)for(x.groups=B=u(null),M=0;M<U.length;M++)R=U[M],B[R[0]]=x[R[1]];return x}),b.exports=p},971155:function(b,l,e){"use strict";var r=e(454776);b.exports=function(){var o=r(this),n="";return o.hasIndices&&(n+="d"),o.global&&(n+="g"),o.ignoreCase&&(n+="i"),o.multiline&&(n+="m"),o.dotAll&&(n+="s"),o.unicode&&(n+="u"),o.unicodeSets&&(n+="v"),o.sticky&&(n+="y"),n}},117025:function(b,l,e){var r=e(50067),o=e(955553),n=e(393535),a=e(971155),i=RegExp.prototype;b.exports=function(c){var u=c.flags;return u===void 0&&!("flags"in i)&&!o(c,"flags")&&n(i,c)?r(a,c):u}},131245:function(b,l,e){var r=e(105978),o=e(636979),n=o.RegExp,a=r(function(){var u=n("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),i=a||r(function(){return!n("a","y").sticky}),c=a||r(function(){var u=n("^r","gy");return u.lastIndex=2,u.exec("str")!=null});b.exports={BROKEN_CARET:c,MISSED_STICKY:i,UNSUPPORTED_Y:a}},94691:function(b,l,e){var r=e(105978),o=e(636979),n=o.RegExp;b.exports=r(function(){var a=n(".","s");return!(a.dotAll&&a.exec(`
`)&&a.flags==="s")})},636625:function(b,l,e){var r=e(105978),o=e(636979),n=o.RegExp;b.exports=r(function(){var a=n("(?<a>b)","g");return a.exec("b").groups.a!=="b"||"b".replace(a,"$<a>c")!=="bc"})},618160:function(b,l,e){var r=e(636979),o=e(200111),n=e(760331),a=e(117088),i=e(880805),c=e(64668),u=/MSIE .\./.test(a),f=r.Function,d=function(h){return u?function(g,_){var p=c(arguments.length,1)>2,y=n(g)?g:f(g),O=p?i(arguments,2):void 0;return h(p?function(){o(y,this,O)}:y,_)}:h};b.exports={setTimeout:d(r.setTimeout),setInterval:d(r.setInterval)}},553837:function(b,l,e){var r=e(723314).f,o=e(955553),n=e(540496),a=n("toStringTag");b.exports=function(i,c,u){i&&!u&&(i=i.prototype),i&&!o(i,a)&&r(i,a,{configurable:!0,value:c})}},407973:function(b,l,e){var r=e(454776),o=e(694770),n=e(261602),a=e(540496),i=a("species");b.exports=function(c,u){var f=r(c).constructor,d;return f===void 0||n(d=r(f)[i])?u:o(d)}},630192:function(b,l,e){var r=e(497315),o=e(92257),n=e(227876),a=e(8511),i=r("".charAt),c=r("".charCodeAt),u=r("".slice),f=function(d){return function(h,g){var _=n(a(h)),p=o(g),y=_.length,O,P;return p<0||p>=y?d?"":void 0:(O=c(_,p),O<55296||O>56319||p+1===y||(P=c(_,p+1))<56320||P>57343?d?i(_,p):O:d?u(_,p,p+2):(O-55296<<10)+(P-56320)+65536)}};b.exports={codeAt:f(!1),charAt:f(!0)}},337620:function(b,l,e){var r=e(540496),o=r("toStringTag"),n={};n[o]="z",b.exports=String(n)==="[object z]"},227876:function(b,l,e){var r=e(473070),o=String;b.exports=function(n){if(r(n)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return o(n)}},64668:function(b){var l=TypeError;b.exports=function(e,r){if(e<r)throw l("Not enough arguments");return e}},191101:function(b,l,e){"use strict";var r=e(532380),o=e(50067),n=e(497315),a=e(843674),i=e(282012),c=e(8511),u=e(350093),f=e(227876),d=e(454776),h=e(261602),g=e(155124),_=e(994553),p=e(117025),y=e(917293),O=e(148134),P=e(105978),C=e(540496),A=e(407973),S=e(826439),T=e(609757),s=e(347846),v=e(471746),m=C("matchAll"),E="RegExp String",I=E+" Iterator",L=s.set,W=s.getterFor(I),F=RegExp.prototype,G=TypeError,k=n("".indexOf),x=n("".matchAll),M=!!x&&!P(function(){x("a",/./)}),B=a(function(j,$,ee,te){L(this,{type:I,regexp:j,string:$,global:ee,unicode:te,done:!1})},E,function(){var j=W(this);if(j.done)return i(void 0,!0);var $=j.regexp,ee=j.string,te=T($,ee);return te===null?(j.done=!0,i(void 0,!0)):j.global?(f(te[0])===""&&($.lastIndex=S(ee,u($.lastIndex),j.unicode)),i(te,!1)):(j.done=!0,i(te,!1))}),R=function(U){var j=d(this),$=f(U),ee=A(j,RegExp),te=f(p(j)),ie,ne,pe;return ie=new ee(ee===RegExp?j.source:j,te),ne=!!~k(te,"g"),pe=!!~k(te,"u"),ie.lastIndex=u(j.lastIndex),new B(ie,$,ne,pe)};r({target:"String",proto:!0,forced:M},{matchAll:function(j){var $=c(this),ee,te,ie,ne;if(h(j)){if(M)return x($,j)}else{if(_(j)&&(ee=f(c(p(j))),!~k(ee,"g")))throw G("`.matchAll` does not allow non-global regexes");if(M)return x($,j);if(ie=y(j,m),ie===void 0&&v&&g(j)=="RegExp"&&(ie=R),ie)return o(ie,j,$)}return te=f($),ne=new RegExp(j,"g"),v?o(R,ne,te):ne[m](te)}}),v||m in F||O(F,m,R)},24115:function(b,l,e){e(191101)},168818:function(b,l,e){var r=e(532380),o=e(636979),n=e(618160).setInterval;r({global:!0,bind:!0,forced:o.setInterval!==n},{setInterval:n})},797054:function(b,l,e){var r=e(532380),o=e(636979),n=e(618160).setTimeout;r({global:!0,bind:!0,forced:o.setTimeout!==n},{setTimeout:n})},212974:function(b,l,e){e(168818),e(797054)},927215:function(){(function(){if(!(typeof window>"u"))try{var b=new window.CustomEvent("test",{cancelable:!0});if(b.preventDefault(),b.defaultPrevented!==!0)throw new Error("Could not prevent default")}catch{var l=function(r,o){var n,a;return o=o||{},o.bubbles=!!o.bubbles,o.cancelable=!!o.cancelable,n=document.createEvent("CustomEvent"),n.initCustomEvent(r,o.bubbles,o.cancelable,o.detail),a=n.preventDefault,n.preventDefault=function(){a.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch{this.defaultPrevented=!0}},n};l.prototype=window.Event.prototype,window.CustomEvent=l}})()},343839:function(b,l,e){(function(r,o){b.exports=o()})(this,function(){"use strict";/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var r=function(){return r=Object.assign||function(sn){for(var zn,Er=1,zr=arguments.length;Er<zr;Er++){zn=arguments[Er];for(var Ao in zn)Object.prototype.hasOwnProperty.call(zn,Ao)&&(sn[Ao]=zn[Ao])}return sn},r.apply(this,arguments)};function o(ln,sn,zn){if(zn||arguments.length===2)for(var Er=0,zr=sn.length,Ao;Er<zr;Er++)(Ao||!(Er in sn))&&(Ao||(Ao=Array.prototype.slice.call(sn,0,Er)),Ao[Er]=sn[Er]);return ln.concat(Ao||Array.prototype.slice.call(sn))}var n=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:e.g,a=Object.keys,i=Array.isArray;typeof Promise<"u"&&!n.Promise&&(n.Promise=Promise);function c(ln,sn){return typeof sn!="object"||a(sn).forEach(function(zn){ln[zn]=sn[zn]}),ln}var u=Object.getPrototypeOf,f={}.hasOwnProperty;function d(ln,sn){return f.call(ln,sn)}function h(ln,sn){typeof sn=="function"&&(sn=sn(u(ln))),(typeof Reflect>"u"?a:Reflect.ownKeys)(sn).forEach(function(zn){_(ln,zn,sn[zn])})}var g=Object.defineProperty;function _(ln,sn,zn,Er){g(ln,sn,c(zn&&d(zn,"get")&&typeof zn.get=="function"?{get:zn.get,set:zn.set,configurable:!0}:{value:zn,configurable:!0,writable:!0},Er))}function p(ln){return{from:function(sn){return ln.prototype=Object.create(sn.prototype),_(ln.prototype,"constructor",ln),{extend:h.bind(null,ln.prototype)}}}}var y=Object.getOwnPropertyDescriptor;function O(ln,sn){var zn=y(ln,sn),Er;return zn||(Er=u(ln))&&O(Er,sn)}var P=[].slice;function C(ln,sn,zn){return P.call(ln,sn,zn)}function A(ln,sn){return sn(ln)}function S(ln){if(!ln)throw new Error("Assertion Failed")}function T(ln){n.setImmediate?setImmediate(ln):setTimeout(ln,0)}function s(ln,sn){return ln.reduce(function(zn,Er,zr){var Ao=sn(Er,zr);return Ao&&(zn[Ao[0]]=Ao[1]),zn},{})}function v(ln,sn,zn){try{ln.apply(null,zn)}catch(Er){sn&&sn(Er)}}function m(ln,sn){if(d(ln,sn))return ln[sn];if(!sn)return ln;if(typeof sn!="string"){for(var zn=[],Er=0,zr=sn.length;Er<zr;++Er){var Ao=m(ln,sn[Er]);zn.push(Ao)}return zn}var Zo=sn.indexOf(".");if(Zo!==-1){var ia=ln[sn.substr(0,Zo)];return ia===void 0?void 0:m(ia,sn.substr(Zo+1))}}function E(ln,sn,zn){if(!(!ln||sn===void 0)&&!("isFrozen"in Object&&Object.isFrozen(ln)))if(typeof sn!="string"&&"length"in sn){S(typeof zn!="string"&&"length"in zn);for(var Er=0,zr=sn.length;Er<zr;++Er)E(ln,sn[Er],zn[Er])}else{var Ao=sn.indexOf(".");if(Ao!==-1){var Zo=sn.substr(0,Ao),ia=sn.substr(Ao+1);if(ia==="")zn===void 0?i(ln)&&!isNaN(parseInt(Zo))?ln.splice(Zo,1):delete ln[Zo]:ln[Zo]=zn;else{var So=ln[Zo];(!So||!d(ln,Zo))&&(So=ln[Zo]={}),E(So,ia,zn)}}else zn===void 0?i(ln)&&!isNaN(parseInt(sn))?ln.splice(sn,1):delete ln[sn]:ln[sn]=zn}}function I(ln,sn){typeof sn=="string"?E(ln,sn,void 0):"length"in sn&&[].map.call(sn,function(zn){E(ln,zn,void 0)})}function L(ln){var sn={};for(var zn in ln)d(ln,zn)&&(sn[zn]=ln[zn]);return sn}var W=[].concat;function F(ln){return W.apply([],ln)}var G="Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(F([8,16,32,64].map(function(ln){return["Int","Uint","Float"].map(function(sn){return sn+ln+"Array"})}))).filter(function(ln){return n[ln]}),k=G.map(function(ln){return n[ln]});s(G,function(ln){return[ln,!0]});var x=null;function M(ln){x=typeof WeakMap<"u"&&new WeakMap;var sn=B(ln);return x=null,sn}function B(ln){if(!ln||typeof ln!="object")return ln;var sn=x&&x.get(ln);if(sn)return sn;if(i(ln)){sn=[],x&&x.set(ln,sn);for(var zn=0,Er=ln.length;zn<Er;++zn)sn.push(B(ln[zn]))}else if(k.indexOf(ln.constructor)>=0)sn=ln;else{var zr=u(ln);sn=zr===Object.prototype?{}:Object.create(zr),x&&x.set(ln,sn);for(var Ao in ln)d(ln,Ao)&&(sn[Ao]=B(ln[Ao]))}return sn}var R={}.toString;function U(ln){return R.call(ln).slice(8,-1)}var j=typeof Symbol<"u"?Symbol.iterator:"@@iterator",$=typeof j=="symbol"?function(ln){var sn;return ln!=null&&(sn=ln[j])&&sn.apply(ln)}:function(){return null},ee={};function te(ln){var sn,zn,Er,zr;if(arguments.length===1){if(i(ln))return ln.slice();if(this===ee&&typeof ln=="string")return[ln];if(zr=$(ln)){for(zn=[];Er=zr.next(),!Er.done;)zn.push(Er.value);return zn}if(ln==null)return[ln];if(sn=ln.length,typeof sn=="number"){for(zn=new Array(sn);sn--;)zn[sn]=ln[sn];return zn}return[ln]}for(sn=arguments.length,zn=new Array(sn);sn--;)zn[sn]=arguments[sn];return zn}var ie=typeof Symbol<"u"?function(ln){return ln[Symbol.toStringTag]==="AsyncFunction"}:function(){return!1},ne=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function pe(ln,sn){ne=ln,oe=sn}var oe=function(){return!0},q=!new Error("").stack;function J(){if(q)try{throw J.arguments,new Error}catch(ln){return ln}return new Error}function me(ln,sn){var zn=ln.stack;return zn?(sn=sn||0,zn.indexOf(ln.name)===0&&(sn+=(ln.name+ln.message).split(`
`).length),zn.split(`
`).slice(sn).filter(oe).map(function(Er){return`
`+Er}).join("")):""}var re=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"],he=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],Ee=re.concat(he),fe={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function H(ln,sn){this._e=J(),this.name=ln,this.message=sn}p(H).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+me(this._e,2))}},toString:function(){return this.name+": "+this.message}});function z(ln,sn){return ln+". Errors: "+Object.keys(sn).map(function(zn){return sn[zn].toString()}).filter(function(zn,Er,zr){return zr.indexOf(zn)===Er}).join(`
`)}function _e(ln,sn,zn,Er){this._e=J(),this.failures=sn,this.failedKeys=Er,this.successCount=zn,this.message=z(ln,sn)}p(_e).from(H);function ae(ln,sn){this._e=J(),this.name="BulkError",this.failures=Object.keys(sn).map(function(zn){return sn[zn]}),this.failuresByPos=sn,this.message=z(ln,sn)}p(ae).from(H);var ge=Ee.reduce(function(ln,sn){return ln[sn]=sn+"Error",ln},{}),Be=H,Ke=Ee.reduce(function(ln,sn){var zn=sn+"Error";function Er(zr,Ao){this._e=J(),this.name=zn,zr?typeof zr=="string"?(this.message=""+zr+(Ao?`
 `+Ao:""),this.inner=Ao||null):typeof zr=="object"&&(this.message=zr.name+" "+zr.message,this.inner=zr):(this.message=fe[sn]||zn,this.inner=null)}return p(Er).from(Be),ln[sn]=Er,ln},{});Ke.Syntax=SyntaxError,Ke.Type=TypeError,Ke.Range=RangeError;var He=he.reduce(function(ln,sn){return ln[sn+"Error"]=Ke[sn],ln},{});function ye(ln,sn){if(!ln||ln instanceof H||ln instanceof TypeError||ln instanceof SyntaxError||!ln.name||!He[ln.name])return ln;var zn=new He[ln.name](sn||ln.message,ln);return"stack"in ln&&_(zn,"stack",{get:function(){return this.inner.stack}}),zn}var Le=Ee.reduce(function(ln,sn){return["Syntax","Type","Range"].indexOf(sn)===-1&&(ln[sn+"Error"]=Ke[sn]),ln},{});Le.ModifyError=_e,Le.DexieError=H,Le.BulkError=ae;function Ue(){}function Xe(ln){return ln}function Fe(ln,sn){return ln==null||ln===Xe?sn:function(zn){return sn(ln(zn))}}function ht(ln,sn){return function(){ln.apply(this,arguments),sn.apply(this,arguments)}}function Ne(ln,sn){return ln===Ue?sn:function(){var zn=ln.apply(this,arguments);zn!==void 0&&(arguments[0]=zn);var Er=this.onsuccess,zr=this.onerror;this.onsuccess=null,this.onerror=null;var Ao=sn.apply(this,arguments);return Er&&(this.onsuccess=this.onsuccess?ht(Er,this.onsuccess):Er),zr&&(this.onerror=this.onerror?ht(zr,this.onerror):zr),Ao!==void 0?Ao:zn}}function Ce(ln,sn){return ln===Ue?sn:function(){ln.apply(this,arguments);var zn=this.onsuccess,Er=this.onerror;this.onsuccess=this.onerror=null,sn.apply(this,arguments),zn&&(this.onsuccess=this.onsuccess?ht(zn,this.onsuccess):zn),Er&&(this.onerror=this.onerror?ht(Er,this.onerror):Er)}}function we(ln,sn){return ln===Ue?sn:function(zn){var Er=ln.apply(this,arguments);c(zn,Er);var zr=this.onsuccess,Ao=this.onerror;this.onsuccess=null,this.onerror=null;var Zo=sn.apply(this,arguments);return zr&&(this.onsuccess=this.onsuccess?ht(zr,this.onsuccess):zr),Ao&&(this.onerror=this.onerror?ht(Ao,this.onerror):Ao),Er===void 0?Zo===void 0?void 0:Zo:c(Er,Zo)}}function $e(ln,sn){return ln===Ue?sn:function(){return sn.apply(this,arguments)===!1?!1:ln.apply(this,arguments)}}function Ot(ln,sn){return ln===Ue?sn:function(){var zn=ln.apply(this,arguments);if(zn&&typeof zn.then=="function"){for(var Er=this,zr=arguments.length,Ao=new Array(zr);zr--;)Ao[zr]=arguments[zr];return zn.then(function(){return sn.apply(Er,Ao)})}return sn.apply(this,arguments)}}var Pt={},Ie=100,Bt=20,mt=100,rt=typeof Promise>"u"?[]:function(){var ln=Promise.resolve();if(typeof crypto>"u"||!crypto.subtle)return[ln,u(ln),ln];var sn=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[sn,u(sn),ln]}(),ce=rt[0],Re=rt[1],nt=rt[2],st=Re&&Re.then,vt=ce&&ce.constructor,ze=!!nt,It=!1,on=nt?function(){nt.then(xt)}:n.setImmediate?setImmediate.bind(null,xt):n.MutationObserver?function(){var ln=document.createElement("div");new MutationObserver(function(){xt(),ln=null}).observe(ln,{attributes:!0}),ln.setAttribute("i","1")}:function(){setTimeout(xt,0)},Pn=function(ln,sn){jn.push([ln,sn]),Ln&&(on(),Ln=!1)},Yn=!0,Ln=!0,bn=[],ir=[],Zn=null,$n=Xe,jt={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:Dr,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(function(ln){try{Dr(ln[0],ln[1])}catch{}})}},Rn=jt,jn=[],Tn=0,Nn=[];function cn(ln){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=Ue,this._lib=!1;var sn=this._PSD=Rn;if(ne&&(this._stackHolder=J(),this._prev=null,this._numPrev=0),typeof ln!="function"){if(ln!==Pt)throw new TypeError("Not a function");this._state=arguments[1],this._value=arguments[2],this._state===!1&&fo(this,this._value);return}this._state=null,this._value=null,++sn.ref,Hr(this,ln)}var or={get:function(){var ln=Rn,sn=wt;function zn(Er,zr){var Ao=this,Zo=!ln.global&&(ln!==Rn||sn!==wt),ia=Zo&&!tn(),So=new cn(function(Ha,is){ro(Ao,new qn(Ar(Er,ln,Zo,ia),Ar(zr,ln,Zo,ia),Ha,is,ln))});return ne&&At(So,this),So}return zn.prototype=Pt,zn},set:function(ln){_(this,"then",ln&&ln.prototype===Pt?or:{get:function(){return ln},set:or.set})}};h(cn.prototype,{then:or,_then:function(ln,sn){ro(this,new qn(null,null,ln,sn,Rn))},catch:function(ln){if(arguments.length===1)return this.then(null,ln);var sn=arguments[0],zn=arguments[1];return typeof sn=="function"?this.then(null,function(Er){return Er instanceof sn?zn(Er):Dn(Er)}):this.then(null,function(Er){return Er&&Er.name===sn?zn(Er):Dn(Er)})},finally:function(ln){return this.then(function(sn){return ln(),sn},function(sn){return ln(),Dn(sn)})},stack:{get:function(){if(this._stack)return this._stack;try{It=!0;var ln=Je(this,[],Bt),sn=ln.join(`
From previous: `);return this._state!==null&&(this._stack=sn),sn}finally{It=!1}}},timeout:function(ln,sn){var zn=this;return ln<1/0?new cn(function(Er,zr){var Ao=setTimeout(function(){return zr(new Ke.Timeout(sn))},ln);zn.then(Er,zr).finally(clearTimeout.bind(null,Ao))}):this}}),typeof Symbol<"u"&&Symbol.toStringTag&&_(cn.prototype,Symbol.toStringTag,"Dexie.Promise"),jt.env=Pr();function qn(ln,sn,zn,Er,zr){this.onFulfilled=typeof ln=="function"?ln:null,this.onRejected=typeof sn=="function"?sn:null,this.resolve=zn,this.reject=Er,this.psd=zr}h(cn,{all:function(){var ln=te.apply(null,arguments).map(In);return new cn(function(sn,zn){ln.length===0&&sn([]);var Er=ln.length;ln.forEach(function(zr,Ao){return cn.resolve(zr).then(function(Zo){ln[Ao]=Zo,--Er||sn(ln)},zn)})})},resolve:function(ln){if(ln instanceof cn)return ln;if(ln&&typeof ln.then=="function")return new cn(function(zn,Er){ln.then(zn,Er)});var sn=new cn(Pt,!0,ln);return At(sn,Zn),sn},reject:Dn,race:function(){var ln=te.apply(null,arguments).map(In);return new cn(function(sn,zn){ln.map(function(Er){return cn.resolve(Er).then(sn,zn)})})},PSD:{get:function(){return Rn},set:function(ln){return Rn=ln}},totalEchoes:{get:function(){return wt}},newPSD:ut,usePSD:Mn,scheduler:{get:function(){return Pn},set:function(ln){Pn=ln}},rejectionMapper:{get:function(){return $n},set:function(ln){$n=ln}},follow:function(ln,sn){return new cn(function(zn,Er){return ut(function(zr,Ao){var Zo=Rn;Zo.unhandleds=[],Zo.onunhandled=Ao,Zo.finalize=ht(function(){var ia=this;Gt(function(){ia.unhandleds.length===0?zr():Ao(ia.unhandleds[0])})},Zo.finalize),ln()},sn,zn,Er)})}}),vt&&(vt.allSettled&&_(cn,"allSettled",function(){var ln=te.apply(null,arguments).map(In);return new cn(function(sn){ln.length===0&&sn([]);var zn=ln.length,Er=new Array(zn);ln.forEach(function(zr,Ao){return cn.resolve(zr).then(function(Zo){return Er[Ao]={status:"fulfilled",value:Zo}},function(Zo){return Er[Ao]={status:"rejected",reason:Zo}}).then(function(){return--zn||sn(Er)})})})}),vt.any&&typeof AggregateError<"u"&&_(cn,"any",function(){var ln=te.apply(null,arguments).map(In);return new cn(function(sn,zn){ln.length===0&&zn(new AggregateError([]));var Er=ln.length,zr=new Array(Er);ln.forEach(function(Ao,Zo){return cn.resolve(Ao).then(function(ia){return sn(ia)},function(ia){zr[Zo]=ia,--Er||zn(new AggregateError(zr))})})})}));function Hr(ln,sn){try{sn(function(zn){if(ln._state===null){if(zn===ln)throw new TypeError("A promise cannot be resolved with itself.");var Er=ln._lib&&Qt();zn&&typeof zn.then=="function"?Hr(ln,function(zr,Ao){zn instanceof cn?zn._then(zr,Ao):zn.then(zr,Ao)}):(ln._state=!0,ln._value=zn,Jr(ln)),Er&&qt()}},fo.bind(null,ln))}catch(zn){fo(ln,zn)}}function fo(ln,sn){if(ir.push(sn),ln._state===null){var zn=ln._lib&&Qt();sn=$n(sn),ln._state=!1,ln._value=sn,ne&&sn!==null&&typeof sn=="object"&&!sn._promise&&v(function(){var Er=O(sn,"stack");sn._promise=ln,_(sn,"stack",{get:function(){return It?Er&&(Er.get?Er.get.apply(sn):Er.value):ln.stack}})}),un(ln),Jr(ln),zn&&qt()}}function Jr(ln){var sn=ln._listeners;ln._listeners=[];for(var zn=0,Er=sn.length;zn<Er;++zn)ro(ln,sn[zn]);var zr=ln._PSD;--zr.ref||zr.finalize(),Tn===0&&(++Tn,Pn(function(){--Tn===0&&Te()},[]))}function ro(ln,sn){if(ln._state===null){ln._listeners.push(sn);return}var zn=ln._state?sn.onFulfilled:sn.onRejected;if(zn===null)return(ln._state?sn.resolve:sn.reject)(ln._value);++sn.psd.ref,++Tn,Pn(Xt,[zn,ln,sn])}function Xt(ln,sn,zn){try{Zn=sn;var Er,zr=sn._value;sn._state?Er=ln(zr):(ir.length&&(ir=[]),Er=ln(zr),ir.indexOf(zr)===-1&&Vt(sn)),zn.resolve(Er)}catch(Ao){zn.reject(Ao)}finally{Zn=null,--Tn===0&&Te(),--zn.psd.ref||zn.psd.finalize()}}function Je(ln,sn,zn){if(sn.length===zn)return sn;var Er="";if(ln._state===!1){var zr=ln._value,Ao,Zo;zr!=null?(Ao=zr.name||"Error",Zo=zr.message||zr,Er=me(zr,0)):(Ao=zr,Zo=""),sn.push(Ao+(Zo?": "+Zo:"")+Er)}return ne&&(Er=me(ln._stackHolder,2),Er&&sn.indexOf(Er)===-1&&sn.push(Er),ln._prev&&Je(ln._prev,sn,zn)),sn}function At(ln,sn){var zn=sn?sn._numPrev+1:0;zn<Ie&&(ln._prev=sn,ln._numPrev=zn)}function xt(){Qt()&&qt()}function Qt(){var ln=Yn;return Yn=!1,Ln=!1,ln}function qt(){var ln,sn,zn;do for(;jn.length>0;)for(ln=jn,jn=[],zn=ln.length,sn=0;sn<zn;++sn){var Er=ln[sn];Er[0].apply(null,Er[1])}while(jn.length>0);Yn=!0,Ln=!0}function Te(){var ln=bn;bn=[],ln.forEach(function(Er){Er._PSD.onunhandled.call(null,Er._value,Er)});for(var sn=Nn.slice(0),zn=sn.length;zn;)sn[--zn]()}function Gt(ln){function sn(){ln(),Nn.splice(Nn.indexOf(sn),1)}Nn.push(sn),++Tn,Pn(function(){--Tn===0&&Te()},[])}function un(ln){bn.some(function(sn){return sn._value===ln._value})||bn.push(ln)}function Vt(ln){for(var sn=bn.length;sn;)if(bn[--sn]._value===ln._value){bn.splice(sn,1);return}}function Dn(ln){return new cn(Pt,!1,ln)}function Wt(ln,sn){var zn=Rn;return function(){var Er=Qt(),zr=Rn;try{return Yr(zn,!0),ln.apply(this,arguments)}catch(Ao){sn&&sn(Ao)}finally{Yr(zr,!1),Er&&qt()}}}var Pe={awaits:0,echoes:0,id:0},xe=0,Ae=[],qe=0,wt=0,kt=0;function ut(ln,sn,zn,Er){var zr=Rn,Ao=Object.create(zr);Ao.parent=zr,Ao.ref=0,Ao.global=!1,Ao.id=++kt;var Zo=jt.env;Ao.env=ze?{Promise:cn,PromiseProp:{value:cn,configurable:!0,writable:!0},all:cn.all,race:cn.race,allSettled:cn.allSettled,any:cn.any,resolve:cn.resolve,reject:cn.reject,nthen:vr(Zo.nthen,Ao),gthen:vr(Zo.gthen,Ao)}:{},sn&&c(Ao,sn),++zr.ref,Ao.finalize=function(){--this.parent.ref||this.parent.finalize()};var ia=Mn(Ao,ln,zn,Er);return Ao.ref===0&&Ao.finalize(),ia}function Ft(){return Pe.id||(Pe.id=++xe),++Pe.awaits,Pe.echoes+=mt,Pe.id}function tn(){return Pe.awaits?(--Pe.awaits===0&&(Pe.id=0),Pe.echoes=Pe.awaits*mt,!0):!1}(""+st).indexOf("[native code]")===-1&&(Ft=tn=Ue);function In(ln){return Pe.echoes&&ln&&ln.constructor===vt?(Ft(),ln.then(function(sn){return tn(),sn},function(sn){return tn(),eo(sn)})):ln}function rr(ln){++wt,(!Pe.echoes||--Pe.echoes===0)&&(Pe.echoes=Pe.id=0),Ae.push(Rn),Yr(ln,!0)}function Sr(){var ln=Ae[Ae.length-1];Ae.pop(),Yr(ln,!1)}function Yr(ln,sn){var zn=Rn;if((sn?Pe.echoes&&(!qe++||ln!==Rn):qe&&(!--qe||ln!==Rn))&&sr(sn?rr.bind(null,ln):Sr),ln!==Rn&&(Rn=ln,zn===jt&&(jt.env=Pr()),ze)){var Er=jt.env.Promise,zr=ln.env;Re.then=zr.nthen,Er.prototype.then=zr.gthen,(zn.global||ln.global)&&(Object.defineProperty(n,"Promise",zr.PromiseProp),Er.all=zr.all,Er.race=zr.race,Er.resolve=zr.resolve,Er.reject=zr.reject,zr.allSettled&&(Er.allSettled=zr.allSettled),zr.any&&(Er.any=zr.any))}}function Pr(){var ln=n.Promise;return ze?{Promise:ln,PromiseProp:Object.getOwnPropertyDescriptor(n,"Promise"),all:ln.all,race:ln.race,allSettled:ln.allSettled,any:ln.any,resolve:ln.resolve,reject:ln.reject,nthen:Re.then,gthen:ln.prototype.then}:{}}function Mn(ln,sn,zn,Er,zr){var Ao=Rn;try{return Yr(ln,!0),sn(zn,Er,zr)}finally{Yr(Ao,!1)}}function sr(ln){st.call(ce,ln)}function Ar(ln,sn,zn,Er){return typeof ln!="function"?ln:function(){var zr=Rn;zn&&Ft(),Yr(sn,!0);try{return ln.apply(this,arguments)}finally{Yr(zr,!1),Er&&sr(tn)}}}function vr(ln,sn){return function(zn,Er){return ln.call(this,Ar(zn,sn),Ar(Er,sn))}}var qr="unhandledrejection";function Dr(ln,sn){var zn;try{zn=sn.onuncatched(ln)}catch{}if(zn!==!1)try{var Er,zr={promise:sn,reason:ln};if(n.document&&document.createEvent?(Er=document.createEvent("Event"),Er.initEvent(qr,!0,!0),c(Er,zr)):n.CustomEvent&&(Er=new CustomEvent(qr,{detail:zr}),c(Er,zr)),Er&&n.dispatchEvent&&(dispatchEvent(Er),!n.PromiseRejectionEvent&&n.onunhandledrejection))try{n.onunhandledrejection(Er)}catch{}ne&&Er&&!Er.defaultPrevented&&console.warn("Unhandled rejection: "+(ln.stack||ln))}catch{}}var eo=cn.reject;function Vo(ln,sn,zn,Er){if(!ln.idbdb||!ln._state.openComplete&&!Rn.letThrough&&!ln._vip){if(ln._state.openComplete)return eo(new Ke.DatabaseClosed(ln._state.dbOpenError));if(!ln._state.isBeingOpened){if(!ln._options.autoOpen)return eo(new Ke.DatabaseClosed);ln.open().catch(Ue)}return ln._state.dbReadyPromise.then(function(){return Vo(ln,sn,zn,Er)})}else{var zr=ln._createTransaction(sn,zn,ln._dbSchema);try{zr.create(),ln._state.PR1398_maxLoop=3}catch(Ao){return Ao.name===ge.InvalidState&&ln.isOpen()&&--ln._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),ln._close(),ln.open().then(function(){return Vo(ln,sn,zn,Er)})):eo(Ao)}return zr._promise(sn,function(Ao,Zo){return ut(function(){return Rn.trans=zr,Er(Ao,Zo,zr)})}).then(function(Ao){return zr._completion.then(function(){return Ao})})}}var Bn="3.2.3",ar="\uFFFF",rn=-1/0,Rt="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",Qe="String expected.",Ye=[],yt=typeof navigator<"u"&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),Ze=yt,Mt=yt,ot=function(ln){return!/(dexie\.js|dexie\.min\.js)/.test(ln)},et="__dbnames",St="readonly",Ht="readwrite";function er(ln,sn){return ln?sn?function(){return ln.apply(this,arguments)&&sn.apply(this,arguments)}:ln:sn}var Mr={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function mn(ln){return typeof ln=="string"&&!/\./.test(ln)?function(sn){return sn[ln]===void 0&&ln in sn&&(sn=M(sn),delete sn[ln]),sn}:function(sn){return sn}}var Un=function(){function ln(){}return ln.prototype._trans=function(sn,zn,Er){var zr=this._tx||Rn.trans,Ao=this.name;function Zo(So,Ha,is){if(!is.schema[Ao])throw new Ke.NotFound("Table "+Ao+" not part of transaction");return zn(is.idbtrans,is)}var ia=Qt();try{return zr&&zr.db===this.db?zr===Rn.trans?zr._promise(sn,Zo,Er):ut(function(){return zr._promise(sn,Zo,Er)},{trans:zr,transless:Rn.transless||Rn}):Vo(this.db,sn,[this.name],Zo)}finally{ia&&qt()}},ln.prototype.get=function(sn,zn){var Er=this;return sn&&sn.constructor===Object?this.where(sn).first(zn):this._trans("readonly",function(zr){return Er.core.get({trans:zr,key:sn}).then(function(Ao){return Er.hook.reading.fire(Ao)})}).then(zn)},ln.prototype.where=function(sn){if(typeof sn=="string")return new this.db.WhereClause(this,sn);if(i(sn))return new this.db.WhereClause(this,"["+sn.join("+")+"]");var zn=a(sn);if(zn.length===1)return this.where(zn[0]).equals(sn[zn[0]]);var Er=this.schema.indexes.concat(this.schema.primKey).filter(function(is){return is.compound&&zn.every(function(as){return is.keyPath.indexOf(as)>=0})&&is.keyPath.every(function(as){return zn.indexOf(as)>=0})})[0];if(Er&&this.db._maxKey!==ar)return this.where(Er.name).equals(Er.keyPath.map(function(is){return sn[is]}));!Er&&ne&&console.warn("The query "+JSON.stringify(sn)+" on "+this.name+" would benefit of a "+("compound index ["+zn.join("+")+"]"));var zr=this.schema.idxByName,Ao=this.db._deps.indexedDB;function Zo(is,as){try{return Ao.cmp(is,as)===0}catch{return!1}}var ia=zn.reduce(function(is,as){var es=is[0],Qs=is[1],Rs=zr[as],rs=sn[as];return[es||Rs,es||!Rs?er(Qs,Rs&&Rs.multi?function(Cs){var Fs=m(Cs,as);return i(Fs)&&Fs.some(function(Ks){return Zo(rs,Ks)})}:function(Cs){return Zo(rs,m(Cs,as))}):Qs]},[null,null]),So=ia[0],Ha=ia[1];return So?this.where(So.name).equals(sn[So.keyPath]).filter(Ha):Er?this.filter(Ha):this.where(zn).equals("")},ln.prototype.filter=function(sn){return this.toCollection().and(sn)},ln.prototype.count=function(sn){return this.toCollection().count(sn)},ln.prototype.offset=function(sn){return this.toCollection().offset(sn)},ln.prototype.limit=function(sn){return this.toCollection().limit(sn)},ln.prototype.each=function(sn){return this.toCollection().each(sn)},ln.prototype.toArray=function(sn){return this.toCollection().toArray(sn)},ln.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},ln.prototype.orderBy=function(sn){return new this.db.Collection(new this.db.WhereClause(this,i(sn)?"["+sn.join("+")+"]":sn))},ln.prototype.reverse=function(){return this.toCollection().reverse()},ln.prototype.mapToClass=function(sn){this.schema.mappedClass=sn;var zn=function(Er){if(!Er)return Er;var zr=Object.create(sn.prototype);for(var Ao in Er)if(d(Er,Ao))try{zr[Ao]=Er[Ao]}catch{}return zr};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=zn,this.hook("reading",zn),sn},ln.prototype.defineClass=function(){function sn(zn){c(this,zn)}return this.mapToClass(sn)},ln.prototype.add=function(sn,zn){var Er=this,zr=this.schema.primKey,Ao=zr.auto,Zo=zr.keyPath,ia=sn;return Zo&&Ao&&(ia=mn(Zo)(sn)),this._trans("readwrite",function(So){return Er.core.mutate({trans:So,type:"add",keys:zn!=null?[zn]:null,values:[ia]})}).then(function(So){return So.numFailures?cn.reject(So.failures[0]):So.lastResult}).then(function(So){if(Zo)try{E(sn,Zo,So)}catch{}return So})},ln.prototype.update=function(sn,zn){if(typeof sn=="object"&&!i(sn)){var Er=m(sn,this.schema.primKey.keyPath);if(Er===void 0)return eo(new Ke.InvalidArgument("Given object does not contain its primary key"));try{typeof zn!="function"?a(zn).forEach(function(zr){E(sn,zr,zn[zr])}):zn(sn,{value:sn,primKey:Er})}catch{}return this.where(":id").equals(Er).modify(zn)}else return this.where(":id").equals(sn).modify(zn)},ln.prototype.put=function(sn,zn){var Er=this,zr=this.schema.primKey,Ao=zr.auto,Zo=zr.keyPath,ia=sn;return Zo&&Ao&&(ia=mn(Zo)(sn)),this._trans("readwrite",function(So){return Er.core.mutate({trans:So,type:"put",values:[ia],keys:zn!=null?[zn]:null})}).then(function(So){return So.numFailures?cn.reject(So.failures[0]):So.lastResult}).then(function(So){if(Zo)try{E(sn,Zo,So)}catch{}return So})},ln.prototype.delete=function(sn){var zn=this;return this._trans("readwrite",function(Er){return zn.core.mutate({trans:Er,type:"delete",keys:[sn]})}).then(function(Er){return Er.numFailures?cn.reject(Er.failures[0]):void 0})},ln.prototype.clear=function(){var sn=this;return this._trans("readwrite",function(zn){return sn.core.mutate({trans:zn,type:"deleteRange",range:Mr})}).then(function(zn){return zn.numFailures?cn.reject(zn.failures[0]):void 0})},ln.prototype.bulkGet=function(sn){var zn=this;return this._trans("readonly",function(Er){return zn.core.getMany({keys:sn,trans:Er}).then(function(zr){return zr.map(function(Ao){return zn.hook.reading.fire(Ao)})})})},ln.prototype.bulkAdd=function(sn,zn,Er){var zr=this,Ao=Array.isArray(zn)?zn:void 0;Er=Er||(Ao?void 0:zn);var Zo=Er?Er.allKeys:void 0;return this._trans("readwrite",function(ia){var So=zr.schema.primKey,Ha=So.auto,is=So.keyPath;if(is&&Ao)throw new Ke.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(Ao&&Ao.length!==sn.length)throw new Ke.InvalidArgument("Arguments objects and keys must have the same length");var as=sn.length,es=is&&Ha?sn.map(mn(is)):sn;return zr.core.mutate({trans:ia,type:"add",keys:Ao,values:es,wantResults:Zo}).then(function(Qs){var Rs=Qs.numFailures,rs=Qs.results,Cs=Qs.lastResult,Fs=Qs.failures,Ks=Zo?rs:Cs;if(Rs===0)return Ks;throw new ae(zr.name+".bulkAdd(): "+Rs+" of "+as+" operations failed",Fs)})})},ln.prototype.bulkPut=function(sn,zn,Er){var zr=this,Ao=Array.isArray(zn)?zn:void 0;Er=Er||(Ao?void 0:zn);var Zo=Er?Er.allKeys:void 0;return this._trans("readwrite",function(ia){var So=zr.schema.primKey,Ha=So.auto,is=So.keyPath;if(is&&Ao)throw new Ke.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(Ao&&Ao.length!==sn.length)throw new Ke.InvalidArgument("Arguments objects and keys must have the same length");var as=sn.length,es=is&&Ha?sn.map(mn(is)):sn;return zr.core.mutate({trans:ia,type:"put",keys:Ao,values:es,wantResults:Zo}).then(function(Qs){var Rs=Qs.numFailures,rs=Qs.results,Cs=Qs.lastResult,Fs=Qs.failures,Ks=Zo?rs:Cs;if(Rs===0)return Ks;throw new ae(zr.name+".bulkPut(): "+Rs+" of "+as+" operations failed",Fs)})})},ln.prototype.bulkDelete=function(sn){var zn=this,Er=sn.length;return this._trans("readwrite",function(zr){return zn.core.mutate({trans:zr,type:"delete",keys:sn})}).then(function(zr){var Ao=zr.numFailures,Zo=zr.lastResult,ia=zr.failures;if(Ao===0)return Zo;throw new ae(zn.name+".bulkDelete(): "+Ao+" of "+Er+" operations failed",ia)})},ln}();function hr(ln){var sn={},zn=function(ia,So){if(So){for(var Ha=arguments.length,is=new Array(Ha-1);--Ha;)is[Ha-1]=arguments[Ha];return sn[ia].subscribe.apply(null,is),ln}else if(typeof ia=="string")return sn[ia]};zn.addEventType=Ao;for(var Er=1,zr=arguments.length;Er<zr;++Er)Ao(arguments[Er]);return zn;function Ao(ia,So,Ha){if(typeof ia=="object")return Zo(ia);So||(So=$e),Ha||(Ha=Ue);var is={subscribers:[],fire:Ha,subscribe:function(as){is.subscribers.indexOf(as)===-1&&(is.subscribers.push(as),is.fire=So(is.fire,as))},unsubscribe:function(as){is.subscribers=is.subscribers.filter(function(es){return es!==as}),is.fire=is.subscribers.reduce(So,Ha)}};return sn[ia]=zn[ia]=is,is}function Zo(ia){a(ia).forEach(function(So){var Ha=ia[So];if(i(Ha))Ao(So,ia[So][0],ia[So][1]);else if(Ha==="asap")var is=Ao(So,Xe,function(){for(var es=arguments.length,Qs=new Array(es);es--;)Qs[es]=arguments[es];is.subscribers.forEach(function(Rs){T(function(){Rs.apply(null,Qs)})})});else throw new Ke.InvalidArgument("Invalid event config")})}}function br(ln,sn){return p(sn).from({prototype:ln}),sn}function io(ln){return br(Un.prototype,function(zn,Er,zr){this.db=ln,this._tx=zr,this.name=zn,this.schema=Er,this.hook=ln._allTables[zn]?ln._allTables[zn].hook:hr(null,{creating:[Ne,Ue],reading:[Fe,Xe],updating:[we,Ue],deleting:[Ce,Ue]})})}function Kr(ln,sn){return!(ln.filter||ln.algorithm||ln.or)&&(sn?ln.justLimit:!ln.replayFilter)}function xo(ln,sn){ln.filter=er(ln.filter,sn)}function Ho(ln,sn,zn){var Er=ln.replayFilter;ln.replayFilter=Er?function(){return er(Er(),sn())}:sn,ln.justLimit=zn&&!Er}function bo(ln,sn){ln.isMatch=er(ln.isMatch,sn)}function Ea(ln,sn){if(ln.isPrimKey)return sn.primaryKey;var zn=sn.getIndexByKeyPath(ln.index);if(!zn)throw new Ke.Schema("KeyPath "+ln.index+" on object store "+sn.name+" is not indexed");return zn}function Ia(ln,sn,zn){var Er=Ea(ln,sn.schema);return sn.openCursor({trans:zn,values:!ln.keysOnly,reverse:ln.dir==="prev",unique:!!ln.unique,query:{index:Er,range:ln.range}})}function Da(ln,sn,zn,Er){var zr=ln.replayFilter?er(ln.filter,ln.replayFilter()):ln.filter;if(ln.or){var Ao={},Zo=function(ia,So,Ha){if(!zr||zr(So,Ha,function(es){return So.stop(es)},function(es){return So.fail(es)})){var is=So.primaryKey,as=""+is;as==="[object ArrayBuffer]"&&(as=""+new Uint8Array(is)),d(Ao,as)||(Ao[as]=!0,sn(ia,So,Ha))}};return Promise.all([ln.or._iterate(Zo,zn),Za(Ia(ln,Er,zn),ln.algorithm,Zo,!ln.keysOnly&&ln.valueMapper)])}else return Za(Ia(ln,Er,zn),er(ln.algorithm,zr),sn,!ln.keysOnly&&ln.valueMapper)}function Za(ln,sn,zn,Er){var zr=Er?function(Zo,ia,So){return zn(Er(Zo),ia,So)}:zn,Ao=Wt(zr);return ln.then(function(Zo){if(Zo)return Zo.start(function(){var ia=function(){return Zo.continue()};(!sn||sn(Zo,function(So){return ia=So},function(So){Zo.stop(So),ia=Ue},function(So){Zo.fail(So),ia=Ue}))&&Ao(Zo.value,Zo,function(So){return ia=So}),ia()})})}function Xa(ln,sn){try{var zn=Ja(ln),Er=Ja(sn);if(zn!==Er)return zn==="Array"?1:Er==="Array"?-1:zn==="binary"?1:Er==="binary"?-1:zn==="string"?1:Er==="string"?-1:zn==="Date"?1:Er!=="Date"?NaN:-1;switch(zn){case"number":case"Date":case"string":return ln>sn?1:ln<sn?-1:0;case"binary":return ns(Is(ln),Is(sn));case"Array":return ba(ln,sn)}}catch{}return NaN}function ba(ln,sn){for(var zn=ln.length,Er=sn.length,zr=zn<Er?zn:Er,Ao=0;Ao<zr;++Ao){var Zo=Xa(ln[Ao],sn[Ao]);if(Zo!==0)return Zo}return zn===Er?0:zn<Er?-1:1}function ns(ln,sn){for(var zn=ln.length,Er=sn.length,zr=zn<Er?zn:Er,Ao=0;Ao<zr;++Ao)if(ln[Ao]!==sn[Ao])return ln[Ao]<sn[Ao]?-1:1;return zn===Er?0:zn<Er?-1:1}function Ja(ln){var sn=typeof ln;if(sn!=="object")return sn;if(ArrayBuffer.isView(ln))return"binary";var zn=U(ln);return zn==="ArrayBuffer"?"binary":zn}function Is(ln){return ln instanceof Uint8Array?ln:ArrayBuffer.isView(ln)?new Uint8Array(ln.buffer,ln.byteOffset,ln.byteLength):new Uint8Array(ln)}var Vr=function(){function ln(){}return ln.prototype._read=function(sn,zn){var Er=this._ctx;return Er.error?Er.table._trans(null,eo.bind(null,Er.error)):Er.table._trans("readonly",sn).then(zn)},ln.prototype._write=function(sn){var zn=this._ctx;return zn.error?zn.table._trans(null,eo.bind(null,zn.error)):zn.table._trans("readwrite",sn,"locked")},ln.prototype._addAlgorithm=function(sn){var zn=this._ctx;zn.algorithm=er(zn.algorithm,sn)},ln.prototype._iterate=function(sn,zn){return Da(this._ctx,sn,zn,this._ctx.table.core)},ln.prototype.clone=function(sn){var zn=Object.create(this.constructor.prototype),Er=Object.create(this._ctx);return sn&&c(Er,sn),zn._ctx=Er,zn},ln.prototype.raw=function(){return this._ctx.valueMapper=null,this},ln.prototype.each=function(sn){var zn=this._ctx;return this._read(function(Er){return Da(zn,sn,Er,zn.table.core)})},ln.prototype.count=function(sn){var zn=this;return this._read(function(Er){var zr=zn._ctx,Ao=zr.table.core;if(Kr(zr,!0))return Ao.count({trans:Er,query:{index:Ea(zr,Ao.schema),range:zr.range}}).then(function(ia){return Math.min(ia,zr.limit)});var Zo=0;return Da(zr,function(){return++Zo,!1},Er,Ao).then(function(){return Zo})}).then(sn)},ln.prototype.sortBy=function(sn,zn){var Er=sn.split(".").reverse(),zr=Er[0],Ao=Er.length-1;function Zo(Ha,is){return is?Zo(Ha[Er[is]],is-1):Ha[zr]}var ia=this._ctx.dir==="next"?1:-1;function So(Ha,is){var as=Zo(Ha,Ao),es=Zo(is,Ao);return as<es?-ia:as>es?ia:0}return this.toArray(function(Ha){return Ha.sort(So)}).then(zn)},ln.prototype.toArray=function(sn){var zn=this;return this._read(function(Er){var zr=zn._ctx;if(zr.dir==="next"&&Kr(zr,!0)&&zr.limit>0){var Ao=zr.valueMapper,Zo=Ea(zr,zr.table.core.schema);return zr.table.core.query({trans:Er,limit:zr.limit,values:!0,query:{index:Zo,range:zr.range}}).then(function(So){var Ha=So.result;return Ao?Ha.map(Ao):Ha})}else{var ia=[];return Da(zr,function(So){return ia.push(So)},Er,zr.table.core).then(function(){return ia})}},sn)},ln.prototype.offset=function(sn){var zn=this._ctx;return sn<=0?this:(zn.offset+=sn,Kr(zn)?Ho(zn,function(){var Er=sn;return function(zr,Ao){return Er===0?!0:Er===1?(--Er,!1):(Ao(function(){zr.advance(Er),Er=0}),!1)}}):Ho(zn,function(){var Er=sn;return function(){return--Er<0}}),this)},ln.prototype.limit=function(sn){return this._ctx.limit=Math.min(this._ctx.limit,sn),Ho(this._ctx,function(){var zn=sn;return function(Er,zr,Ao){return--zn<=0&&zr(Ao),zn>=0}},!0),this},ln.prototype.until=function(sn,zn){return xo(this._ctx,function(Er,zr,Ao){return sn(Er.value)?(zr(Ao),zn):!0}),this},ln.prototype.first=function(sn){return this.limit(1).toArray(function(zn){return zn[0]}).then(sn)},ln.prototype.last=function(sn){return this.reverse().first(sn)},ln.prototype.filter=function(sn){return xo(this._ctx,function(zn){return sn(zn.value)}),bo(this._ctx,sn),this},ln.prototype.and=function(sn){return this.filter(sn)},ln.prototype.or=function(sn){return new this.db.WhereClause(this._ctx.table,sn,this)},ln.prototype.reverse=function(){return this._ctx.dir=this._ctx.dir==="prev"?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},ln.prototype.desc=function(){return this.reverse()},ln.prototype.eachKey=function(sn){var zn=this._ctx;return zn.keysOnly=!zn.isMatch,this.each(function(Er,zr){sn(zr.key,zr)})},ln.prototype.eachUniqueKey=function(sn){return this._ctx.unique="unique",this.eachKey(sn)},ln.prototype.eachPrimaryKey=function(sn){var zn=this._ctx;return zn.keysOnly=!zn.isMatch,this.each(function(Er,zr){sn(zr.primaryKey,zr)})},ln.prototype.keys=function(sn){var zn=this._ctx;zn.keysOnly=!zn.isMatch;var Er=[];return this.each(function(zr,Ao){Er.push(Ao.key)}).then(function(){return Er}).then(sn)},ln.prototype.primaryKeys=function(sn){var zn=this._ctx;if(zn.dir==="next"&&Kr(zn,!0)&&zn.limit>0)return this._read(function(zr){var Ao=Ea(zn,zn.table.core.schema);return zn.table.core.query({trans:zr,values:!1,limit:zn.limit,query:{index:Ao,range:zn.range}})}).then(function(zr){var Ao=zr.result;return Ao}).then(sn);zn.keysOnly=!zn.isMatch;var Er=[];return this.each(function(zr,Ao){Er.push(Ao.primaryKey)}).then(function(){return Er}).then(sn)},ln.prototype.uniqueKeys=function(sn){return this._ctx.unique="unique",this.keys(sn)},ln.prototype.firstKey=function(sn){return this.limit(1).keys(function(zn){return zn[0]}).then(sn)},ln.prototype.lastKey=function(sn){return this.reverse().firstKey(sn)},ln.prototype.distinct=function(){var sn=this._ctx,zn=sn.index&&sn.table.schema.idxByName[sn.index];if(!zn||!zn.multi)return this;var Er={};return xo(this._ctx,function(zr){var Ao=zr.primaryKey.toString(),Zo=d(Er,Ao);return Er[Ao]=!0,!Zo}),this},ln.prototype.modify=function(sn){var zn=this,Er=this._ctx;return this._write(function(zr){var Ao;if(typeof sn=="function")Ao=sn;else{var Zo=a(sn),ia=Zo.length;Ao=function(Fs){for(var Ks=!1,Ls=0;Ls<ia;++Ls){var Js=Zo[Ls],Ts=sn[Js];m(Fs,Js)!==Ts&&(E(Fs,Js,Ts),Ks=!0)}return Ks}}var So=Er.table.core,Ha=So.schema.primaryKey,is=Ha.outbound,as=Ha.extractKey,es=zn.db._options.modifyChunkSize||200,Qs=[],Rs=0,rs=[],Cs=function(Fs,Ks){var Ls=Ks.failures,Js=Ks.numFailures;Rs+=Fs-Js;for(var Ts=0,zs=a(Ls);Ts<zs.length;Ts++){var Bi=zs[Ts];Qs.push(Ls[Bi])}};return zn.clone().primaryKeys().then(function(Fs){var Ks=function(Ls){var Js=Math.min(es,Fs.length-Ls);return So.getMany({trans:zr,keys:Fs.slice(Ls,Ls+Js),cache:"immutable"}).then(function(Ts){for(var zs=[],Bi=[],qs=is?[]:null,Ti=[],ui=0;ui<Js;++ui){var qi=Ts[ui],Ko={value:M(qi),primKey:Fs[Ls+ui]};Ao.call(Ko,Ko.value,Ko)!==!1&&(Ko.value==null?Ti.push(Fs[Ls+ui]):!is&&Xa(as(qi),as(Ko.value))!==0?(Ti.push(Fs[Ls+ui]),zs.push(Ko.value)):(Bi.push(Ko.value),is&&qs.push(Fs[Ls+ui])))}var Ur=Kr(Er)&&Er.limit===1/0&&(typeof sn!="function"||sn===Qr)&&{index:Er.index,range:Er.range};return Promise.resolve(zs.length>0&&So.mutate({trans:zr,type:"add",values:zs}).then(function(aa){for(var ca in aa.failures)Ti.splice(parseInt(ca),1);Cs(zs.length,aa)})).then(function(){return(Bi.length>0||Ur&&typeof sn=="object")&&So.mutate({trans:zr,type:"put",keys:qs,values:Bi,criteria:Ur,changeSpec:typeof sn!="function"&&sn}).then(function(aa){return Cs(Bi.length,aa)})}).then(function(){return(Ti.length>0||Ur&&sn===Qr)&&So.mutate({trans:zr,type:"delete",keys:Ti,criteria:Ur}).then(function(aa){return Cs(Ti.length,aa)})}).then(function(){return Fs.length>Ls+Js&&Ks(Ls+es)})})};return Ks(0).then(function(){if(Qs.length>0)throw new _e("Error modifying one or more objects",Qs,Rs,rs);return Fs.length})})})},ln.prototype.delete=function(){var sn=this._ctx,zn=sn.range;return Kr(sn)&&(sn.isPrimKey&&!Mt||zn.type===3)?this._write(function(Er){var zr=sn.table.core.schema.primaryKey,Ao=zn;return sn.table.core.count({trans:Er,query:{index:zr,range:Ao}}).then(function(Zo){return sn.table.core.mutate({trans:Er,type:"deleteRange",range:Ao}).then(function(ia){var So=ia.failures;ia.lastResult,ia.results;var Ha=ia.numFailures;if(Ha)throw new _e("Could not delete some values",Object.keys(So).map(function(is){return So[is]}),Zo-Ha);return Zo-Ha})})}):this.modify(Qr)},ln}(),Qr=function(ln,sn){return sn.value=null};function To(ln){return br(Vr.prototype,function(zn,Er){this.db=ln;var zr=Mr,Ao=null;if(Er)try{zr=Er()}catch(Ha){Ao=Ha}var Zo=zn._ctx,ia=Zo.table,So=ia.hook.reading.fire;this._ctx={table:ia,index:Zo.index,isPrimKey:!Zo.index||ia.schema.primKey.keyPath&&Zo.index===ia.schema.primKey.name,range:zr,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:Ao,or:Zo.or,valueMapper:So!==Xe?So:null}})}function xr(ln,sn){return ln<sn?-1:ln===sn?0:1}function uo(ln,sn){return ln>sn?-1:ln===sn?0:1}function Mo(ln,sn,zn){var Er=ln instanceof Lo?new ln.Collection(ln):ln;return Er._ctx.error=zn?new zn(sn):new TypeError(sn),Er}function go(ln){return new ln.Collection(ln,function(){return ho("")}).limit(0)}function ea(ln){return ln==="next"?function(sn){return sn.toUpperCase()}:function(sn){return sn.toLowerCase()}}function ha(ln){return ln==="next"?function(sn){return sn.toLowerCase()}:function(sn){return sn.toUpperCase()}}function yr(ln,sn,zn,Er,zr,Ao){for(var Zo=Math.min(ln.length,Er.length),ia=-1,So=0;So<Zo;++So){var Ha=sn[So];if(Ha!==Er[So])return zr(ln[So],zn[So])<0?ln.substr(0,So)+zn[So]+zn.substr(So+1):zr(ln[So],Er[So])<0?ln.substr(0,So)+Er[So]+zn.substr(So+1):ia>=0?ln.substr(0,ia)+sn[ia]+zn.substr(ia+1):null;zr(ln[So],Ha)<0&&(ia=So)}return Zo<Er.length&&Ao==="next"?ln+zn.substr(ln.length):Zo<ln.length&&Ao==="prev"?ln.substr(0,zn.length):ia<0?null:ln.substr(0,ia)+Er[ia]+zn.substr(ia+1)}function Lr(ln,sn,zn,Er){var zr,Ao,Zo,ia,So,Ha,is,as=zn.length;if(!zn.every(function(rs){return typeof rs=="string"}))return Mo(ln,Qe);function es(rs){zr=ea(rs),Ao=ha(rs),Zo=rs==="next"?xr:uo;var Cs=zn.map(function(Fs){return{lower:Ao(Fs),upper:zr(Fs)}}).sort(function(Fs,Ks){return Zo(Fs.lower,Ks.lower)});ia=Cs.map(function(Fs){return Fs.upper}),So=Cs.map(function(Fs){return Fs.lower}),Ha=rs,is=rs==="next"?"":Er}es("next");var Qs=new ln.Collection(ln,function(){return ao(ia[0],So[as-1]+Er)});Qs._ondirectionchange=function(rs){es(rs)};var Rs=0;return Qs._addAlgorithm(function(rs,Cs,Fs){var Ks=rs.key;if(typeof Ks!="string")return!1;var Ls=Ao(Ks);if(sn(Ls,So,Rs))return!0;for(var Js=null,Ts=Rs;Ts<as;++Ts){var zs=yr(Ks,Ls,ia[Ts],So[Ts],Zo,Ha);zs===null&&Js===null?Rs=Ts+1:(Js===null||Zo(Js,zs)>0)&&(Js=zs)}return Cs(Js!==null?function(){rs.continue(Js+is)}:Fs),!1}),Qs}function ao(ln,sn,zn,Er){return{type:2,lower:ln,upper:sn,lowerOpen:zn,upperOpen:Er}}function ho(ln){return{type:1,lower:ln,upper:ln}}var Lo=function(){function ln(){}return Object.defineProperty(ln.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!1,configurable:!0}),ln.prototype.between=function(sn,zn,Er,zr){Er=Er!==!1,zr=zr===!0;try{return this._cmp(sn,zn)>0||this._cmp(sn,zn)===0&&(Er||zr)&&!(Er&&zr)?go(this):new this.Collection(this,function(){return ao(sn,zn,!Er,!zr)})}catch{return Mo(this,Rt)}},ln.prototype.equals=function(sn){return sn==null?Mo(this,Rt):new this.Collection(this,function(){return ho(sn)})},ln.prototype.above=function(sn){return sn==null?Mo(this,Rt):new this.Collection(this,function(){return ao(sn,void 0,!0)})},ln.prototype.aboveOrEqual=function(sn){return sn==null?Mo(this,Rt):new this.Collection(this,function(){return ao(sn,void 0,!1)})},ln.prototype.below=function(sn){return sn==null?Mo(this,Rt):new this.Collection(this,function(){return ao(void 0,sn,!1,!0)})},ln.prototype.belowOrEqual=function(sn){return sn==null?Mo(this,Rt):new this.Collection(this,function(){return ao(void 0,sn)})},ln.prototype.startsWith=function(sn){return typeof sn!="string"?Mo(this,Qe):this.between(sn,sn+ar,!0,!0)},ln.prototype.startsWithIgnoreCase=function(sn){return sn===""?this.startsWith(sn):Lr(this,function(zn,Er){return zn.indexOf(Er[0])===0},[sn],ar)},ln.prototype.equalsIgnoreCase=function(sn){return Lr(this,function(zn,Er){return zn===Er[0]},[sn],"")},ln.prototype.anyOfIgnoreCase=function(){var sn=te.apply(ee,arguments);return sn.length===0?go(this):Lr(this,function(zn,Er){return Er.indexOf(zn)!==-1},sn,"")},ln.prototype.startsWithAnyOfIgnoreCase=function(){var sn=te.apply(ee,arguments);return sn.length===0?go(this):Lr(this,function(zn,Er){return Er.some(function(zr){return zn.indexOf(zr)===0})},sn,ar)},ln.prototype.anyOf=function(){var sn=this,zn=te.apply(ee,arguments),Er=this._cmp;try{zn.sort(Er)}catch{return Mo(this,Rt)}if(zn.length===0)return go(this);var zr=new this.Collection(this,function(){return ao(zn[0],zn[zn.length-1])});zr._ondirectionchange=function(Zo){Er=Zo==="next"?sn._ascending:sn._descending,zn.sort(Er)};var Ao=0;return zr._addAlgorithm(function(Zo,ia,So){for(var Ha=Zo.key;Er(Ha,zn[Ao])>0;)if(++Ao,Ao===zn.length)return ia(So),!1;return Er(Ha,zn[Ao])===0?!0:(ia(function(){Zo.continue(zn[Ao])}),!1)}),zr},ln.prototype.notEqual=function(sn){return this.inAnyRange([[rn,sn],[sn,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},ln.prototype.noneOf=function(){var sn=te.apply(ee,arguments);if(sn.length===0)return new this.Collection(this);try{sn.sort(this._ascending)}catch{return Mo(this,Rt)}var zn=sn.reduce(function(Er,zr){return Er?Er.concat([[Er[Er.length-1][1],zr]]):[[rn,zr]]},null);return zn.push([sn[sn.length-1],this.db._maxKey]),this.inAnyRange(zn,{includeLowers:!1,includeUppers:!1})},ln.prototype.inAnyRange=function(sn,zn){var Er=this,zr=this._cmp,Ao=this._ascending,Zo=this._descending,ia=this._min,So=this._max;if(sn.length===0)return go(this);if(!sn.every(function(Ts){return Ts[0]!==void 0&&Ts[1]!==void 0&&Ao(Ts[0],Ts[1])<=0}))return Mo(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",Ke.InvalidArgument);var Ha=!zn||zn.includeLowers!==!1,is=zn&&zn.includeUppers===!0;function as(Ts,zs){for(var Bi=0,qs=Ts.length;Bi<qs;++Bi){var Ti=Ts[Bi];if(zr(zs[0],Ti[1])<0&&zr(zs[1],Ti[0])>0){Ti[0]=ia(Ti[0],zs[0]),Ti[1]=So(Ti[1],zs[1]);break}}return Bi===qs&&Ts.push(zs),Ts}var es=Ao;function Qs(Ts,zs){return es(Ts[0],zs[0])}var Rs;try{Rs=sn.reduce(as,[]),Rs.sort(Qs)}catch{return Mo(this,Rt)}var rs=0,Cs=is?function(Ts){return Ao(Ts,Rs[rs][1])>0}:function(Ts){return Ao(Ts,Rs[rs][1])>=0},Fs=Ha?function(Ts){return Zo(Ts,Rs[rs][0])>0}:function(Ts){return Zo(Ts,Rs[rs][0])>=0};function Ks(Ts){return!Cs(Ts)&&!Fs(Ts)}var Ls=Cs,Js=new this.Collection(this,function(){return ao(Rs[0][0],Rs[Rs.length-1][1],!Ha,!is)});return Js._ondirectionchange=function(Ts){Ts==="next"?(Ls=Cs,es=Ao):(Ls=Fs,es=Zo),Rs.sort(Qs)},Js._addAlgorithm(function(Ts,zs,Bi){for(var qs=Ts.key;Ls(qs);)if(++rs,rs===Rs.length)return zs(Bi),!1;return Ks(qs)?!0:(Er._cmp(qs,Rs[rs][1])===0||Er._cmp(qs,Rs[rs][0])===0||zs(function(){es===Ao?Ts.continue(Rs[rs][0]):Ts.continue(Rs[rs][1])}),!1)}),Js},ln.prototype.startsWithAnyOf=function(){var sn=te.apply(ee,arguments);return sn.every(function(zn){return typeof zn=="string"})?sn.length===0?go(this):this.inAnyRange(sn.map(function(zn){return[zn,zn+ar]})):Mo(this,"startsWithAnyOf() only works with strings")},ln}();function Yo(ln){return br(Lo.prototype,function(zn,Er,zr){this.db=ln,this._ctx={table:zn,index:Er===":id"?null:Er,or:zr};var Ao=ln._deps.indexedDB;if(!Ao)throw new Ke.MissingAPI;this._cmp=this._ascending=Ao.cmp.bind(Ao),this._descending=function(Zo,ia){return Ao.cmp(ia,Zo)},this._max=function(Zo,ia){return Ao.cmp(Zo,ia)>0?Zo:ia},this._min=function(Zo,ia){return Ao.cmp(Zo,ia)<0?Zo:ia},this._IDBKeyRange=ln._deps.IDBKeyRange})}function jo(ln){return Wt(function(sn){return Xo(sn),ln(sn.target.error),!1})}function Xo(ln){ln.stopPropagation&&ln.stopPropagation(),ln.preventDefault&&ln.preventDefault()}var Ua="storagemutated",ds="x-storagemutated-1",us=hr(null,Ua),ys=function(){function ln(){}return ln.prototype._lock=function(){return S(!Rn.global),++this._reculock,this._reculock===1&&!Rn.global&&(Rn.lockOwnerFor=this),this},ln.prototype._unlock=function(){if(S(!Rn.global),--this._reculock===0)for(Rn.global||(Rn.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var sn=this._blockedFuncs.shift();try{Mn(sn[1],sn[0])}catch{}}return this},ln.prototype._locked=function(){return this._reculock&&Rn.lockOwnerFor!==this},ln.prototype.create=function(sn){var zn=this;if(!this.mode)return this;var Er=this.db.idbdb,zr=this.db._state.dbOpenError;if(S(!this.idbtrans),!sn&&!Er)switch(zr&&zr.name){case"DatabaseClosedError":throw new Ke.DatabaseClosed(zr);case"MissingAPIError":throw new Ke.MissingAPI(zr.message,zr);default:throw new Ke.OpenFailed(zr)}if(!this.active)throw new Ke.TransactionInactive;return S(this._completion._state===null),sn=this.idbtrans=sn||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):Er.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability})),sn.onerror=Wt(function(Ao){Xo(Ao),zn._reject(sn.error)}),sn.onabort=Wt(function(Ao){Xo(Ao),zn.active&&zn._reject(new Ke.Abort(sn.error)),zn.active=!1,zn.on("abort").fire(Ao)}),sn.oncomplete=Wt(function(){zn.active=!1,zn._resolve(),"mutatedParts"in sn&&us.storagemutated.fire(sn.mutatedParts)}),this},ln.prototype._promise=function(sn,zn,Er){var zr=this;if(sn==="readwrite"&&this.mode!=="readwrite")return eo(new Ke.ReadOnly("Transaction is readonly"));if(!this.active)return eo(new Ke.TransactionInactive);if(this._locked())return new cn(function(Zo,ia){zr._blockedFuncs.push([function(){zr._promise(sn,zn,Er).then(Zo,ia)},Rn])});if(Er)return ut(function(){var Zo=new cn(function(ia,So){zr._lock();var Ha=zn(ia,So,zr);Ha&&Ha.then&&Ha.then(ia,So)});return Zo.finally(function(){return zr._unlock()}),Zo._lib=!0,Zo});var Ao=new cn(function(Zo,ia){var So=zn(Zo,ia,zr);So&&So.then&&So.then(Zo,ia)});return Ao._lib=!0,Ao},ln.prototype._root=function(){return this.parent?this.parent._root():this},ln.prototype.waitFor=function(sn){var zn=this._root(),Er=cn.resolve(sn);if(zn._waitingFor)zn._waitingFor=zn._waitingFor.then(function(){return Er});else{zn._waitingFor=Er,zn._waitingQueue=[];var zr=zn.idbtrans.objectStore(zn.storeNames[0]);(function Zo(){for(++zn._spinCount;zn._waitingQueue.length;)zn._waitingQueue.shift()();zn._waitingFor&&(zr.get(-1/0).onsuccess=Zo)})()}var Ao=zn._waitingFor;return new cn(function(Zo,ia){Er.then(function(So){return zn._waitingQueue.push(Wt(Zo.bind(null,So)))},function(So){return zn._waitingQueue.push(Wt(ia.bind(null,So)))}).finally(function(){zn._waitingFor===Ao&&(zn._waitingFor=null)})})},ln.prototype.abort=function(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new Ke.Abort))},ln.prototype.table=function(sn){var zn=this._memoizedTables||(this._memoizedTables={});if(d(zn,sn))return zn[sn];var Er=this.schema[sn];if(!Er)throw new Ke.NotFound("Table "+sn+" not part of transaction");var zr=new this.db.Table(sn,Er,this);return zr.core=this.db.core.table(sn),zn[sn]=zr,zr},ln}();function Ys(ln){return br(ys.prototype,function(zn,Er,zr,Ao,Zo){var ia=this;this.db=ln,this.mode=zn,this.storeNames=Er,this.schema=zr,this.chromeTransactionDurability=Ao,this.idbtrans=null,this.on=hr(this,"complete","error","abort"),this.parent=Zo||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new cn(function(So,Ha){ia._resolve=So,ia._reject=Ha}),this._completion.then(function(){ia.active=!1,ia.on.complete.fire()},function(So){var Ha=ia.active;return ia.active=!1,ia.on.error.fire(So),ia.parent?ia.parent._reject(So):Ha&&ia.idbtrans&&ia.idbtrans.abort(),eo(So)})})}function Gs(ln,sn,zn,Er,zr,Ao,Zo){return{name:ln,keyPath:sn,unique:zn,multi:Er,auto:zr,compound:Ao,src:(zn&&!Zo?"&":"")+(Er?"*":"")+(zr?"++":"")+xs(sn)}}function xs(ln){return typeof ln=="string"?ln:ln?"["+[].join.call(ln,"+")+"]":""}function Ai(ln,sn,zn){return{name:ln,primKey:sn,indexes:zn,mappedClass:null,idxByName:s(zn,function(Er){return[Er.name,Er]})}}function Pi(ln){return ln.length===1?ln[0]:ln}var ei=function(ln){try{return ln.only([[]]),ei=function(){return[[]]},[[]]}catch{return ei=function(){return ar},ar}};function hi(ln){return ln==null?function(){}:typeof ln=="string"?ks(ln):function(sn){return m(sn,ln)}}function ks(ln){var sn=ln.split(".");return sn.length===1?function(zn){return zn[ln]}:function(zn){return m(zn,ln)}}function Ms(ln){return[].slice.call(ln)}var bs=0;function Hs(ln){return ln==null?":id":typeof ln=="string"?ln:"["+ln.join("+")+"]"}function Os(ln,sn,zn){function Er(as,es){var Qs=Ms(as.objectStoreNames);return{schema:{name:as.name,tables:Qs.map(function(Rs){return es.objectStore(Rs)}).map(function(Rs){var rs=Rs.keyPath,Cs=Rs.autoIncrement,Fs=i(rs),Ks=rs==null,Ls={},Js={name:Rs.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:Ks,compound:Fs,keyPath:rs,autoIncrement:Cs,unique:!0,extractKey:hi(rs)},indexes:Ms(Rs.indexNames).map(function(Ts){return Rs.index(Ts)}).map(function(Ts){var zs=Ts.name,Bi=Ts.unique,qs=Ts.multiEntry,Ti=Ts.keyPath,ui=i(Ti),qi={name:zs,compound:ui,keyPath:Ti,unique:Bi,multiEntry:qs,extractKey:hi(Ti)};return Ls[Hs(Ti)]=qi,qi}),getIndexByKeyPath:function(Ts){return Ls[Hs(Ts)]}};return Ls[":id"]=Js.primaryKey,rs!=null&&(Ls[Hs(rs)]=Js.primaryKey),Js})},hasGetAll:Qs.length>0&&"getAll"in es.objectStore(Qs[0])&&!(typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}function zr(as){if(as.type===3)return null;if(as.type===4)throw new Error("Cannot convert never type to IDBKeyRange");var es=as.lower,Qs=as.upper,Rs=as.lowerOpen,rs=as.upperOpen,Cs=es===void 0?Qs===void 0?null:sn.upperBound(Qs,!!rs):Qs===void 0?sn.lowerBound(es,!!Rs):sn.bound(es,Qs,!!Rs,!!rs);return Cs}function Ao(as){var es=as.name;function Qs(Cs){var Fs=Cs.trans,Ks=Cs.type,Ls=Cs.keys,Js=Cs.values,Ts=Cs.range;return new Promise(function(zs,Bi){zs=Wt(zs);var qs=Fs.objectStore(es),Ti=qs.keyPath==null,ui=Ks==="put"||Ks==="add";if(!ui&&Ks!=="delete"&&Ks!=="deleteRange")throw new Error("Invalid operation type: "+Ks);var qi=(Ls||Js||{length:1}).length;if(Ls&&Js&&Ls.length!==Js.length)throw new Error("Given keys array must have same length as given values array.");if(qi===0)return zs({numFailures:0,failures:{},results:[],lastResult:void 0});var Ko,Ur=[],aa=[],ca=0,As=function(_l){++ca,Xo(_l)};if(Ks==="deleteRange"){if(Ts.type===4)return zs({numFailures:ca,failures:aa,results:[],lastResult:void 0});Ts.type===3?Ur.push(Ko=qs.clear()):Ur.push(Ko=qs.delete(zr(Ts)))}else{var Ri=ui?Ti?[Js,Ls]:[Js,null]:[Ls,null],Ei=Ri[0],pi=Ri[1];if(ui)for(var Gi=0;Gi<qi;++Gi)Ur.push(Ko=pi&&pi[Gi]!==void 0?qs[Ks](Ei[Gi],pi[Gi]):qs[Ks](Ei[Gi])),Ko.onerror=As;else for(var Gi=0;Gi<qi;++Gi)Ur.push(Ko=qs[Ks](Ei[Gi])),Ko.onerror=As}var Eo=function(_l){var Al=_l.target.result;Ur.forEach(function(Pl,Wi){return Pl.error!=null&&(aa[Wi]=Pl.error)}),zs({numFailures:ca,failures:aa,results:Ks==="delete"?Ls:Ur.map(function(Pl){return Pl.result}),lastResult:Al})};Ko.onerror=function(_l){As(_l),Eo(_l)},Ko.onsuccess=Eo})}function Rs(Cs){var Fs=Cs.trans,Ks=Cs.values,Ls=Cs.query,Js=Cs.reverse,Ts=Cs.unique;return new Promise(function(zs,Bi){zs=Wt(zs);var qs=Ls.index,Ti=Ls.range,ui=Fs.objectStore(es),qi=qs.isPrimaryKey?ui:ui.index(qs.name),Ko=Js?Ts?"prevunique":"prev":Ts?"nextunique":"next",Ur=Ks||!("openKeyCursor"in qi)?qi.openCursor(zr(Ti),Ko):qi.openKeyCursor(zr(Ti),Ko);Ur.onerror=jo(Bi),Ur.onsuccess=Wt(function(aa){var ca=Ur.result;if(!ca){zs(null);return}ca.___id=++bs,ca.done=!1;var As=ca.continue.bind(ca),Ri=ca.continuePrimaryKey;Ri&&(Ri=Ri.bind(ca));var Ei=ca.advance.bind(ca),pi=function(){throw new Error("Cursor not started")},Gi=function(){throw new Error("Cursor not stopped")};ca.trans=Fs,ca.stop=ca.continue=ca.continuePrimaryKey=ca.advance=pi,ca.fail=Wt(Bi),ca.next=function(){var Eo=this,_l=1;return this.start(function(){return _l--?Eo.continue():Eo.stop()}).then(function(){return Eo})},ca.start=function(Eo){var _l=new Promise(function(Pl,Wi){Pl=Wt(Pl),Ur.onerror=jo(Wi),ca.fail=Wi,ca.stop=function(Mc){ca.stop=ca.continue=ca.continuePrimaryKey=ca.advance=Gi,Pl(Mc)}}),Al=function(){if(Ur.result)try{Eo()}catch(Pl){ca.fail(Pl)}else ca.done=!0,ca.start=function(){throw new Error("Cursor behind last entry")},ca.stop()};return Ur.onsuccess=Wt(function(Pl){Ur.onsuccess=Al,Al()}),ca.continue=As,ca.continuePrimaryKey=Ri,ca.advance=Ei,Al(),_l},zs(ca)},Bi)})}function rs(Cs){return function(Fs){return new Promise(function(Ks,Ls){Ks=Wt(Ks);var Js=Fs.trans,Ts=Fs.values,zs=Fs.limit,Bi=Fs.query,qs=zs===1/0?void 0:zs,Ti=Bi.index,ui=Bi.range,qi=Js.objectStore(es),Ko=Ti.isPrimaryKey?qi:qi.index(Ti.name),Ur=zr(ui);if(zs===0)return Ks({result:[]});if(Cs){var aa=Ts?Ko.getAll(Ur,qs):Ko.getAllKeys(Ur,qs);aa.onsuccess=function(Ei){return Ks({result:Ei.target.result})},aa.onerror=jo(Ls)}else{var ca=0,As=Ts||!("openKeyCursor"in Ko)?Ko.openCursor(Ur):Ko.openKeyCursor(Ur),Ri=[];As.onsuccess=function(Ei){var pi=As.result;if(!pi)return Ks({result:Ri});if(Ri.push(Ts?pi.value:pi.primaryKey),++ca===zs)return Ks({result:Ri});pi.continue()},As.onerror=jo(Ls)}})}}return{name:es,schema:as,mutate:Qs,getMany:function(Cs){var Fs=Cs.trans,Ks=Cs.keys;return new Promise(function(Ls,Js){Ls=Wt(Ls);for(var Ts=Fs.objectStore(es),zs=Ks.length,Bi=new Array(zs),qs=0,Ti=0,ui,qi=function(ca){var As=ca.target;(Bi[As._pos]=As.result)!=null,++Ti===qs&&Ls(Bi)},Ko=jo(Js),Ur=0;Ur<zs;++Ur){var aa=Ks[Ur];aa!=null&&(ui=Ts.get(Ks[Ur]),ui._pos=Ur,ui.onsuccess=qi,ui.onerror=Ko,++qs)}qs===0&&Ls(Bi)})},get:function(Cs){var Fs=Cs.trans,Ks=Cs.key;return new Promise(function(Ls,Js){Ls=Wt(Ls);var Ts=Fs.objectStore(es),zs=Ts.get(Ks);zs.onsuccess=function(Bi){return Ls(Bi.target.result)},zs.onerror=jo(Js)})},query:rs(So),openCursor:Rs,count:function(Cs){var Fs=Cs.query,Ks=Cs.trans,Ls=Fs.index,Js=Fs.range;return new Promise(function(Ts,zs){var Bi=Ks.objectStore(es),qs=Ls.isPrimaryKey?Bi:Bi.index(Ls.name),Ti=zr(Js),ui=Ti?qs.count(Ti):qs.count();ui.onsuccess=Wt(function(qi){return Ts(qi.target.result)}),ui.onerror=jo(zs)})}}}var Zo=Er(ln,zn),ia=Zo.schema,So=Zo.hasGetAll,Ha=ia.tables.map(function(as){return Ao(as)}),is={};return Ha.forEach(function(as){return is[as.name]=as}),{stack:"dbcore",transaction:ln.transaction.bind(ln),table:function(as){var es=is[as];if(!es)throw new Error("Table '"+as+"' not found");return is[as]},MIN_KEY:-1/0,MAX_KEY:ei(sn),schema:ia}}function Vs(ln,sn){return sn.reduce(function(zn,Er){var zr=Er.create;return r(r({},zn),zr(zn))},ln)}function _s(ln,sn,zn,Er){var zr=zn.IDBKeyRange;zn.indexedDB;var Ao=Vs(Os(sn,zr,Er),ln.dbcore);return{dbcore:Ao}}function fs(ln,sn){var zn=ln._novip,Er=sn.db,zr=_s(zn._middlewares,Er,zn._deps,sn);zn.core=zr.dbcore,zn.tables.forEach(function(Ao){var Zo=Ao.name;zn.core.schema.tables.some(function(ia){return ia.name===Zo})&&(Ao.core=zn.core.table(Zo),zn[Zo]instanceof zn.Table&&(zn[Zo].core=Ao.core))})}function Ss(ln,sn,zn,Er){var zr=ln._novip;zn.forEach(function(Ao){var Zo=Er[Ao];sn.forEach(function(ia){var So=O(ia,Ao);(!So||"value"in So&&So.value===void 0)&&(ia===zr.Transaction.prototype||ia instanceof zr.Transaction?_(ia,Ao,{get:function(){return this.table(Ao)},set:function(Ha){g(this,Ao,{value:Ha,writable:!0,configurable:!0,enumerable:!0})}}):ia[Ao]=new zr.Table(Ao,Zo))})})}function hs(ln,sn){var zn=ln._novip;sn.forEach(function(Er){for(var zr in Er)Er[zr]instanceof zn.Table&&delete Er[zr]})}function li(ln,sn){return ln._cfg.version-sn._cfg.version}function Ni(ln,sn,zn,Er){var zr=ln._dbSchema,Ao=ln._createTransaction("readwrite",ln._storeNames,zr);Ao.create(zn),Ao._completion.catch(Er);var Zo=Ao._reject.bind(Ao),ia=Rn.transless||Rn;ut(function(){Rn.trans=Ao,Rn.transless=ia,sn===0?(a(zr).forEach(function(So){vi(zn,So,zr[So].primKey,zr[So].indexes)}),fs(ln,zn),cn.follow(function(){return ln.on.populate.fire(Ao)}).catch(Zo)):Ji(ln,sn,Ao,zn).catch(Zo)})}function Ji(ln,sn,zn,Er){var zr=ln._novip,Ao=[],Zo=zr._versions,ia=zr._dbSchema=Bs(zr,zr.idbdb,Er),So=!1,Ha=Zo.filter(function(as){return as._cfg.version>=sn});Ha.forEach(function(as){Ao.push(function(){var es=ia,Qs=as._cfg.dbschema;yi(zr,es,Er),yi(zr,Qs,Er),ia=zr._dbSchema=Qs;var Rs=wi(es,Qs);Rs.add.forEach(function(Js){vi(Er,Js[0],Js[1].primKey,Js[1].indexes)}),Rs.change.forEach(function(Js){if(Js.recreate)throw new Ke.Upgrade("Not yet support for changing primary key");var Ts=Er.objectStore(Js.name);Js.add.forEach(function(zs){return Zs(Ts,zs)}),Js.change.forEach(function(zs){Ts.deleteIndex(zs.name),Zs(Ts,zs)}),Js.del.forEach(function(zs){return Ts.deleteIndex(zs)})});var rs=as._cfg.contentUpgrade;if(rs&&as._cfg.version>sn){fs(zr,Er),zn._memoizedTables={},So=!0;var Cs=L(Qs);Rs.del.forEach(function(Js){Cs[Js]=es[Js]}),hs(zr,[zr.Transaction.prototype]),Ss(zr,[zr.Transaction.prototype],a(Cs),Cs),zn.schema=Cs;var Fs=ie(rs);Fs&&Ft();var Ks,Ls=cn.follow(function(){if(Ks=rs(zn),Ks&&Fs){var Js=tn.bind(null,null);Ks.then(Js,Js)}});return Ks&&typeof Ks.then=="function"?cn.resolve(Ks):Ls.then(function(){return Ks})}}),Ao.push(function(es){if(!So||!Ze){var Qs=as._cfg.dbschema;Zi(Qs,es)}hs(zr,[zr.Transaction.prototype]),Ss(zr,[zr.Transaction.prototype],zr._storeNames,zr._dbSchema),zn.schema=zr._dbSchema})});function is(){return Ao.length?cn.resolve(Ao.shift()(zn.idbtrans)).then(is):cn.resolve()}return is().then(function(){sl(ia,Er)})}function wi(ln,sn){var zn={del:[],add:[],change:[]},Er;for(Er in ln)sn[Er]||zn.del.push(Er);for(Er in sn){var zr=ln[Er],Ao=sn[Er];if(!zr)zn.add.push([Er,Ao]);else{var Zo={name:Er,def:Ao,recreate:!1,del:[],add:[],change:[]};if(""+(zr.primKey.keyPath||"")!=""+(Ao.primKey.keyPath||"")||zr.primKey.auto!==Ao.primKey.auto&&!yt)Zo.recreate=!0,zn.change.push(Zo);else{var ia=zr.idxByName,So=Ao.idxByName,Ha=void 0;for(Ha in ia)So[Ha]||Zo.del.push(Ha);for(Ha in So){var is=ia[Ha],as=So[Ha];is?is.src!==as.src&&Zo.change.push(as):Zo.add.push(as)}(Zo.del.length>0||Zo.add.length>0||Zo.change.length>0)&&zn.change.push(Zo)}}}return zn}function vi(ln,sn,zn,Er){var zr=ln.db.createObjectStore(sn,zn.keyPath?{keyPath:zn.keyPath,autoIncrement:zn.auto}:{autoIncrement:zn.auto});return Er.forEach(function(Ao){return Zs(zr,Ao)}),zr}function sl(ln,sn){a(ln).forEach(function(zn){sn.db.objectStoreNames.contains(zn)||vi(sn,zn,ln[zn].primKey,ln[zn].indexes)})}function Zi(ln,sn){[].slice.call(sn.db.objectStoreNames).forEach(function(zn){return ln[zn]==null&&sn.db.deleteObjectStore(zn)})}function Zs(ln,sn){ln.createIndex(sn.name,sn.keyPath,{unique:sn.unique,multiEntry:sn.multi})}function Bs(ln,sn,zn){var Er={},zr=C(sn.objectStoreNames,0);return zr.forEach(function(Ao){for(var Zo=zn.objectStore(Ao),ia=Zo.keyPath,So=Gs(xs(ia),ia||"",!1,!1,!!Zo.autoIncrement,ia&&typeof ia!="string",!0),Ha=[],is=0;is<Zo.indexNames.length;++is){var as=Zo.index(Zo.indexNames[is]);ia=as.keyPath;var es=Gs(as.name,ia,!!as.unique,!!as.multiEntry,!1,ia&&typeof ia!="string",!1);Ha.push(es)}Er[Ao]=Ai(Ao,So,Ha)}),Er}function ti(ln,sn,zn){var Er=ln._novip;Er.verno=sn.version/10;var zr=Er._dbSchema=Bs(Er,sn,zn);Er._storeNames=C(sn.objectStoreNames,0),Ss(Er,[Er._allTables],a(zr),zr)}function gi(ln,sn){var zn=Bs(ln,ln.idbdb,sn),Er=wi(zn,ln._dbSchema);return!(Er.add.length||Er.change.some(function(zr){return zr.add.length||zr.change.length}))}function yi(ln,sn,zn){for(var Er=ln._novip,zr=zn.db.objectStoreNames,Ao=0;Ao<zr.length;++Ao){var Zo=zr[Ao],ia=zn.objectStore(Zo);Er._hasGetAll="getAll"in ia;for(var So=0;So<ia.indexNames.length;++So){var Ha=ia.indexNames[So],is=ia.index(Ha).keyPath,as=typeof is=="string"?is:"["+C(is).join("+")+"]";if(sn[Zo]){var es=sn[Zo].idxByName[as];es&&(es.name=Ha,delete sn[Zo].idxByName[as],sn[Zo].idxByName[Ha]=es)}}}typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&n.WorkerGlobalScope&&n instanceof n.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(Er._hasGetAll=!1)}function ki(ln){return ln.split(",").map(function(sn,zn){sn=sn.trim();var Er=sn.replace(/([&*]|\+\+)/g,""),zr=/^\[/.test(Er)?Er.match(/^\[(.*)\]$/)[1].split("+"):Er;return Gs(Er,zr||null,/\&/.test(sn),/\*/.test(sn),/\+\+/.test(sn),i(zr),zn===0)})}var bi=function(){function ln(){}return ln.prototype._parseStoresSpec=function(sn,zn){a(sn).forEach(function(Er){if(sn[Er]!==null){var zr=ki(sn[Er]),Ao=zr.shift();if(Ao.multi)throw new Ke.Schema("Primary key cannot be multi-valued");zr.forEach(function(Zo){if(Zo.auto)throw new Ke.Schema("Only primary key can be marked as autoIncrement (++)");if(!Zo.keyPath)throw new Ke.Schema("Index must have a name and cannot be an empty string")}),zn[Er]=Ai(Er,Ao,zr)}})},ln.prototype.stores=function(sn){var zn=this.db;this._cfg.storesSource=this._cfg.storesSource?c(this._cfg.storesSource,sn):sn;var Er=zn._versions,zr={},Ao={};return Er.forEach(function(Zo){c(zr,Zo._cfg.storesSource),Ao=Zo._cfg.dbschema={},Zo._parseStoresSpec(zr,Ao)}),zn._dbSchema=Ao,hs(zn,[zn._allTables,zn,zn.Transaction.prototype]),Ss(zn,[zn._allTables,zn,zn.Transaction.prototype,this._cfg.tables],a(Ao),Ao),zn._storeNames=a(Ao),this},ln.prototype.upgrade=function(sn){return this._cfg.contentUpgrade=Ot(this._cfg.contentUpgrade||Ue,sn),this},ln}();function nl(ln){return br(bi.prototype,function(zn){this.db=ln,this._cfg={version:zn,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}})}function Si(ln,sn){var zn=ln._dbNamesDB;return zn||(zn=ln._dbNamesDB=new il(et,{addons:[],indexedDB:ln,IDBKeyRange:sn}),zn.version(1).stores({dbnames:"name"})),zn.table("dbnames")}function ta(ln){return ln&&typeof ln.databases=="function"}function ke(ln){var sn=ln.indexedDB,zn=ln.IDBKeyRange;return ta(sn)?Promise.resolve(sn.databases()).then(function(Er){return Er.map(function(zr){return zr.name}).filter(function(zr){return zr!==et})}):Si(sn,zn).toCollection().primaryKeys()}function Jt(ln,sn){var zn=ln.indexedDB,Er=ln.IDBKeyRange;!ta(zn)&&sn!==et&&Si(zn,Er).put({name:sn}).catch(Ue)}function Fn(ln,sn){var zn=ln.indexedDB,Er=ln.IDBKeyRange;!ta(zn)&&sn!==et&&Si(zn,Er).delete(sn).catch(Ue)}function mr(ln){return ut(function(){return Rn.letThrough=!0,ln()})}function Tr(){var ln=!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent);if(!ln||!indexedDB.databases)return Promise.resolve();var sn;return new Promise(function(zn){var Er=function(){return indexedDB.databases().finally(zn)};sn=setInterval(Er,100),Er()}).finally(function(){return clearInterval(sn)})}function Oo(ln){var sn=ln._state,zn=ln._deps.indexedDB;if(sn.isBeingOpened||ln.idbdb)return sn.dbReadyPromise.then(function(){return sn.dbOpenError?eo(sn.dbOpenError):ln});ne&&(sn.openCanceller._stackHolder=J()),sn.isBeingOpened=!0,sn.dbOpenError=null,sn.openComplete=!1;var Er=sn.openCanceller;function zr(){if(sn.openCanceller!==Er)throw new Ke.DatabaseClosed("db.open() was cancelled")}var Ao=sn.dbReadyResolve,Zo=null,ia=!1;return cn.race([Er,(typeof navigator>"u"?cn.resolve():Tr()).then(function(){return new cn(function(So,Ha){if(zr(),!zn)throw new Ke.MissingAPI;var is=ln.name,as=sn.autoSchema?zn.open(is):zn.open(is,Math.round(ln.verno*10));if(!as)throw new Ke.MissingAPI;as.onerror=jo(Ha),as.onblocked=Wt(ln._fireOnBlocked),as.onupgradeneeded=Wt(function(es){if(Zo=as.transaction,sn.autoSchema&&!ln._options.allowEmptyDB){as.onerror=Xo,Zo.abort(),as.result.close();var Qs=zn.deleteDatabase(is);Qs.onsuccess=Qs.onerror=Wt(function(){Ha(new Ke.NoSuchDatabase("Database "+is+" doesnt exist"))})}else{Zo.onerror=jo(Ha);var Rs=es.oldVersion>Math.pow(2,62)?0:es.oldVersion;ia=Rs<1,ln._novip.idbdb=as.result,Ni(ln,Rs/10,Zo,Ha)}},Ha),as.onsuccess=Wt(function(){Zo=null;var es=ln._novip.idbdb=as.result,Qs=C(es.objectStoreNames);if(Qs.length>0)try{var Rs=es.transaction(Pi(Qs),"readonly");sn.autoSchema?ti(ln,es,Rs):(yi(ln,ln._dbSchema,Rs),gi(ln,Rs)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),fs(ln,Rs)}catch{}Ye.push(ln),es.onversionchange=Wt(function(rs){sn.vcFired=!0,ln.on("versionchange").fire(rs)}),es.onclose=Wt(function(rs){ln.on("close").fire(rs)}),ia&&Jt(ln._deps,is),So()},Ha)})})]).then(function(){return zr(),sn.onReadyBeingFired=[],cn.resolve(mr(function(){return ln.on.ready.fire(ln.vip)})).then(function So(){if(sn.onReadyBeingFired.length>0){var Ha=sn.onReadyBeingFired.reduce(Ot,Ue);return sn.onReadyBeingFired=[],cn.resolve(mr(function(){return Ha(ln.vip)})).then(So)}})}).finally(function(){sn.onReadyBeingFired=null,sn.isBeingOpened=!1}).then(function(){return ln}).catch(function(So){sn.dbOpenError=So;try{Zo&&Zo.abort()}catch{}return Er===sn.openCanceller&&ln._close(),eo(So)}).finally(function(){sn.openComplete=!0,Ao()})}function Uo(ln){var sn=function(Zo){return ln.next(Zo)},zn=function(Zo){return ln.throw(Zo)},Er=Ao(sn),zr=Ao(zn);function Ao(Zo){return function(ia){var So=Zo(ia),Ha=So.value;return So.done?Ha:!Ha||typeof Ha.then!="function"?i(Ha)?Promise.all(Ha).then(Er,zr):Er(Ha):Ha.then(Er,zr)}}return Ao(sn)()}function gt(ln,sn,zn){var Er=arguments.length;if(Er<2)throw new Ke.InvalidArgument("Too few arguments");for(var zr=new Array(Er-1);--Er;)zr[Er-1]=arguments[Er];zn=zr.pop();var Ao=F(zr);return[ln,Ao,zn]}function it(ln,sn,zn,Er,zr){return cn.resolve().then(function(){var Ao=Rn.transless||Rn,Zo=ln._createTransaction(sn,zn,ln._dbSchema,Er),ia={trans:Zo,transless:Ao};if(Er)Zo.idbtrans=Er.idbtrans;else try{Zo.create(),ln._state.PR1398_maxLoop=3}catch(as){return as.name===ge.InvalidState&&ln.isOpen()&&--ln._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),ln._close(),ln.open().then(function(){return it(ln,sn,zn,null,zr)})):eo(as)}var So=ie(zr);So&&Ft();var Ha,is=cn.follow(function(){if(Ha=zr.call(Zo,Zo),Ha)if(So){var as=tn.bind(null,null);Ha.then(as,as)}else typeof Ha.next=="function"&&typeof Ha.throw=="function"&&(Ha=Uo(Ha))},ia);return(Ha&&typeof Ha.then=="function"?cn.resolve(Ha).then(function(as){return Zo.active?as:eo(new Ke.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))}):is.then(function(){return Ha})).then(function(as){return Er&&Zo._resolve(),Zo._completion.then(function(){return as})}).catch(function(as){return Zo._reject(as),eo(as)})})}function Lt(ln,sn,zn){for(var Er=i(ln)?ln.slice():[ln],zr=0;zr<zn;++zr)Er.push(sn);return Er}function $t(ln){return r(r({},ln),{table:function(sn){var zn=ln.table(sn),Er=zn.schema,zr={},Ao=[];function Zo(rs,Cs,Fs){var Ks=Hs(rs),Ls=zr[Ks]=zr[Ks]||[],Js=rs==null?0:typeof rs=="string"?1:rs.length,Ts=Cs>0,zs=r(r({},Fs),{isVirtual:Ts,keyTail:Cs,keyLength:Js,extractKey:hi(rs),unique:!Ts&&Fs.unique});if(Ls.push(zs),zs.isPrimaryKey||Ao.push(zs),Js>1){var Bi=Js===2?rs[0]:rs.slice(0,Js-1);Zo(Bi,Cs+1,Fs)}return Ls.sort(function(qs,Ti){return qs.keyTail-Ti.keyTail}),zs}var ia=Zo(Er.primaryKey.keyPath,0,Er.primaryKey);zr[":id"]=[ia];for(var So=0,Ha=Er.indexes;So<Ha.length;So++){var is=Ha[So];Zo(is.keyPath,0,is)}function as(rs){var Cs=zr[Hs(rs)];return Cs&&Cs[0]}function es(rs,Cs){return{type:rs.type===1?2:rs.type,lower:Lt(rs.lower,rs.lowerOpen?ln.MAX_KEY:ln.MIN_KEY,Cs),lowerOpen:!0,upper:Lt(rs.upper,rs.upperOpen?ln.MIN_KEY:ln.MAX_KEY,Cs),upperOpen:!0}}function Qs(rs){var Cs=rs.query.index;return Cs.isVirtual?r(r({},rs),{query:{index:Cs,range:es(rs.query.range,Cs.keyTail)}}):rs}var Rs=r(r({},zn),{schema:r(r({},Er),{primaryKey:ia,indexes:Ao,getIndexByKeyPath:as}),count:function(rs){return zn.count(Qs(rs))},query:function(rs){return zn.query(Qs(rs))},openCursor:function(rs){var Cs=rs.query.index,Fs=Cs.keyTail,Ks=Cs.isVirtual,Ls=Cs.keyLength;if(!Ks)return zn.openCursor(rs);function Js(Ts){function zs(qs){qs!=null?Ts.continue(Lt(qs,rs.reverse?ln.MAX_KEY:ln.MIN_KEY,Fs)):rs.unique?Ts.continue(Ts.key.slice(0,Ls).concat(rs.reverse?ln.MIN_KEY:ln.MAX_KEY,Fs)):Ts.continue()}var Bi=Object.create(Ts,{continue:{value:zs},continuePrimaryKey:{value:function(qs,Ti){Ts.continuePrimaryKey(Lt(qs,ln.MAX_KEY,Fs),Ti)}},primaryKey:{get:function(){return Ts.primaryKey}},key:{get:function(){var qs=Ts.key;return Ls===1?qs[0]:qs.slice(0,Ls)}},value:{get:function(){return Ts.value}}});return Bi}return zn.openCursor(Qs(rs)).then(function(Ts){return Ts&&Js(Ts)})}});return Rs}})}var _n={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:$t};function dn(ln,sn,zn,Er){return zn=zn||{},Er=Er||"",a(ln).forEach(function(zr){if(!d(sn,zr))zn[Er+zr]=void 0;else{var Ao=ln[zr],Zo=sn[zr];if(typeof Ao=="object"&&typeof Zo=="object"&&Ao&&Zo){var ia=U(Ao),So=U(Zo);ia!==So?zn[Er+zr]=sn[zr]:ia==="Object"?dn(Ao,Zo,zn,Er+zr+"."):Ao!==Zo&&(zn[Er+zr]=sn[zr])}else Ao!==Zo&&(zn[Er+zr]=sn[zr])}}),a(sn).forEach(function(zr){d(ln,zr)||(zn[Er+zr]=sn[zr])}),zn}function Jn(ln,sn){return sn.type==="delete"?sn.keys:sn.keys||sn.values.map(ln.extractKey)}var Hn={stack:"dbcore",name:"HooksMiddleware",level:2,create:function(ln){return r(r({},ln),{table:function(sn){var zn=ln.table(sn),Er=zn.schema.primaryKey,zr=r(r({},zn),{mutate:function(Ao){var Zo=Rn.trans,ia=Zo.table(sn).hook,So=ia.deleting,Ha=ia.creating,is=ia.updating;switch(Ao.type){case"add":if(Ha.fire===Ue)break;return Zo._promise("readwrite",function(){return as(Ao)},!0);case"put":if(Ha.fire===Ue&&is.fire===Ue)break;return Zo._promise("readwrite",function(){return as(Ao)},!0);case"delete":if(So.fire===Ue)break;return Zo._promise("readwrite",function(){return as(Ao)},!0);case"deleteRange":if(So.fire===Ue)break;return Zo._promise("readwrite",function(){return es(Ao)},!0)}return zn.mutate(Ao);function as(Rs){var rs=Rn.trans,Cs=Rs.keys||Jn(Er,Rs);if(!Cs)throw new Error("Keys missing");return Rs=Rs.type==="add"||Rs.type==="put"?r(r({},Rs),{keys:Cs}):r({},Rs),Rs.type!=="delete"&&(Rs.values=o([],Rs.values,!0)),Rs.keys&&(Rs.keys=o([],Rs.keys,!0)),jr(zn,Rs,Cs).then(function(Fs){var Ks=Cs.map(function(Ls,Js){var Ts=Fs[Js],zs={onerror:null,onsuccess:null};if(Rs.type==="delete")So.fire.call(zs,Ls,Ts,rs);else if(Rs.type==="add"||Ts===void 0){var Bi=Ha.fire.call(zs,Ls,Rs.values[Js],rs);Ls==null&&Bi!=null&&(Ls=Bi,Rs.keys[Js]=Ls,Er.outbound||E(Rs.values[Js],Er.keyPath,Ls))}else{var qs=dn(Ts,Rs.values[Js]),Ti=is.fire.call(zs,qs,Ls,Ts,rs);if(Ti){var ui=Rs.values[Js];Object.keys(Ti).forEach(function(qi){d(ui,qi)?ui[qi]=Ti[qi]:E(ui,qi,Ti[qi])})}}return zs});return zn.mutate(Rs).then(function(Ls){for(var Js=Ls.failures,Ts=Ls.results,zs=Ls.numFailures,Bi=Ls.lastResult,qs=0;qs<Cs.length;++qs){var Ti=Ts?Ts[qs]:Cs[qs],ui=Ks[qs];Ti==null?ui.onerror&&ui.onerror(Js[qs]):ui.onsuccess&&ui.onsuccess(Rs.type==="put"&&Fs[qs]?Rs.values[qs]:Ti)}return{failures:Js,results:Ts,numFailures:zs,lastResult:Bi}}).catch(function(Ls){return Ks.forEach(function(Js){return Js.onerror&&Js.onerror(Ls)}),Promise.reject(Ls)})})}function es(Rs){return Qs(Rs.trans,Rs.range,1e4)}function Qs(Rs,rs,Cs){return zn.query({trans:Rs,values:!1,query:{index:Er,range:rs},limit:Cs}).then(function(Fs){var Ks=Fs.result;return as({type:"delete",keys:Ks,trans:Rs}).then(function(Ls){return Ls.numFailures>0?Promise.reject(Ls.failures[0]):Ks.length<Cs?{failures:[],numFailures:0,lastResult:void 0}:Qs(Rs,r(r({},rs),{lower:Ks[Ks.length-1],lowerOpen:!0}),Cs)})})}}});return zr}})}};function jr(ln,sn,zn){return sn.type==="add"?Promise.resolve([]):ln.getMany({trans:sn.trans,keys:zn,cache:"immutable"})}function wo(ln,sn,zn){try{if(!sn||sn.keys.length<ln.length)return null;for(var Er=[],zr=0,Ao=0;zr<sn.keys.length&&Ao<ln.length;++zr)Xa(sn.keys[zr],ln[Ao])===0&&(Er.push(zn?M(sn.values[zr]):sn.values[zr]),++Ao);return Er.length===ln.length?Er:null}catch{return null}}var ko={stack:"dbcore",level:-1,create:function(ln){return{table:function(sn){var zn=ln.table(sn);return r(r({},zn),{getMany:function(Er){if(!Er.cache)return zn.getMany(Er);var zr=wo(Er.keys,Er.trans._cache,Er.cache==="clone");return zr?cn.resolve(zr):zn.getMany(Er).then(function(Ao){return Er.trans._cache={keys:Er.keys,values:Er.cache==="clone"?M(Ao):Ao},Ao})},mutate:function(Er){return Er.type!=="add"&&(Er.trans._cache=null),zn.mutate(Er)}})}}}},Sa;function Na(ln){return!("from"in ln)}var qa=function(ln,sn){if(this)c(this,arguments.length?{d:1,from:ln,to:arguments.length>1?sn:ln}:{d:0});else{var zn=new qa;return ln&&"d"in ln&&c(zn,ln),zn}};h(qa.prototype,(Sa={add:function(ln){return Us(this,ln),this},addKey:function(ln){return ms(this,ln,ln),this},addKeys:function(ln){var sn=this;return ln.forEach(function(zn){return ms(sn,zn,zn)}),this}},Sa[j]=function(){return Mi(this)},Sa));function ms(ln,sn,zn){var Er=Xa(sn,zn);if(!isNaN(Er)){if(Er>0)throw RangeError();if(Na(ln))return c(ln,{from:sn,to:zn,d:1});var zr=ln.l,Ao=ln.r;if(Xa(zn,ln.from)<0)return zr?ms(zr,sn,zn):ln.l={from:sn,to:zn,d:1,l:null,r:null},si(ln);if(Xa(sn,ln.to)>0)return Ao?ms(Ao,sn,zn):ln.r={from:sn,to:zn,d:1,l:null,r:null},si(ln);Xa(sn,ln.from)<0&&(ln.from=sn,ln.l=null,ln.d=Ao?Ao.d+1:1),Xa(zn,ln.to)>0&&(ln.to=zn,ln.r=null,ln.d=ln.l?ln.l.d+1:1);var Zo=!ln.r;zr&&!ln.l&&Us(ln,zr),Ao&&Zo&&Us(ln,Ao)}}function Us(ln,sn){function zn(Er,zr){var Ao=zr.from,Zo=zr.to,ia=zr.l,So=zr.r;ms(Er,Ao,Zo),ia&&zn(Er,ia),So&&zn(Er,So)}Na(sn)||zn(ln,sn)}function $i(ln,sn){var zn=Mi(sn),Er=zn.next();if(Er.done)return!1;for(var zr=Er.value,Ao=Mi(ln),Zo=Ao.next(zr.from),ia=Zo.value;!Er.done&&!Zo.done;){if(Xa(ia.from,zr.to)<=0&&Xa(ia.to,zr.from)>=0)return!0;Xa(zr.from,ia.from)<0?zr=(Er=zn.next(ia.from)).value:ia=(Zo=Ao.next(zr.from)).value}return!1}function Mi(ln){var sn=Na(ln)?null:{s:0,n:ln};return{next:function(zn){for(var Er=arguments.length>0;sn;)switch(sn.s){case 0:if(sn.s=1,Er)for(;sn.n.l&&Xa(zn,sn.n.from)<0;)sn={up:sn,n:sn.n.l,s:1};else for(;sn.n.l;)sn={up:sn,n:sn.n.l,s:1};case 1:if(sn.s=2,!Er||Xa(zn,sn.n.to)<=0)return{value:sn.n,done:!1};case 2:if(sn.n.r){sn.s=3,sn={up:sn,n:sn.n.r,s:0};continue}case 3:sn=sn.up}return{done:!0}}}}function si(ln){var sn,zn,Er=(((sn=ln.r)===null||sn===void 0?void 0:sn.d)||0)-(((zn=ln.l)===null||zn===void 0?void 0:zn.d)||0),zr=Er>1?"r":Er<-1?"l":"";if(zr){var Ao=zr==="r"?"l":"r",Zo=r({},ln),ia=ln[zr];ln.from=ia.from,ln.to=ia.to,ln[zr]=ia[zr],Zo[zr]=ia[Ao],ln[Ao]=Zo,Zo.d=rl(Zo)}ln.d=rl(ln)}function rl(ln){var sn=ln.r,zn=ln.l;return(sn?zn?Math.max(sn.d,zn.d):sn.d:zn?zn.d:0)+1}var El={stack:"dbcore",level:0,create:function(ln){var sn=ln.schema.name,zn=new qa(ln.MIN_KEY,ln.MAX_KEY);return r(r({},ln),{table:function(Er){var zr=ln.table(Er),Ao=zr.schema,Zo=Ao.primaryKey,ia=Zo.extractKey,So=Zo.outbound,Ha=r(r({},zr),{mutate:function(es){var Qs=es.trans,Rs=Qs.mutatedParts||(Qs.mutatedParts={}),rs=function(Bi){var qs="idb://"+sn+"/"+Er+"/"+Bi;return Rs[qs]||(Rs[qs]=new qa)},Cs=rs(""),Fs=rs(":dels"),Ks=es.type,Ls=es.type==="deleteRange"?[es.range]:es.type==="delete"?[es.keys]:es.values.length<50?[[],es.values]:[],Js=Ls[0],Ts=Ls[1],zs=es.trans._cache;return zr.mutate(es).then(function(Bi){if(i(Js)){Ks!=="delete"&&(Js=Bi.results),Cs.addKeys(Js);var qs=wo(Js,zs);!qs&&Ks!=="add"&&Fs.addKeys(Js),(qs||Ts)&&Ui(rs,Ao,qs,Ts)}else if(Js){var Ti={from:Js.lower,to:Js.upper};Fs.add(Ti),Cs.add(Ti)}else Cs.add(zn),Fs.add(zn),Ao.indexes.forEach(function(ui){return rs(ui.name).add(zn)});return Bi})}}),is=function(es){var Qs,Rs,rs=es.query,Cs=rs.index,Fs=rs.range;return[Cs,new qa((Qs=Fs.lower)!==null&&Qs!==void 0?Qs:ln.MIN_KEY,(Rs=Fs.upper)!==null&&Rs!==void 0?Rs:ln.MAX_KEY)]},as={get:function(es){return[Zo,new qa(es.key)]},getMany:function(es){return[Zo,new qa().addKeys(es.keys)]},count:is,query:is,openCursor:is};return a(as).forEach(function(es){Ha[es]=function(Qs){var Rs=Rn.subscr;if(Rs){var rs=function(zs){var Bi="idb://"+sn+"/"+Er+"/"+zs;return Rs[Bi]||(Rs[Bi]=new qa)},Cs=rs(""),Fs=rs(":dels"),Ks=as[es](Qs),Ls=Ks[0],Js=Ks[1];if(rs(Ls.name||"").add(Js),!Ls.isPrimaryKey)if(es==="count")Fs.add(zn);else{var Ts=es==="query"&&So&&Qs.values&&zr.query(r(r({},Qs),{values:!1}));return zr[es].apply(this,arguments).then(function(zs){if(es==="query"){if(So&&Qs.values)return Ts.then(function(ui){var qi=ui.result;return Cs.addKeys(qi),zs});var Bi=Qs.values?zs.result.map(ia):zs.result;Qs.values?Cs.addKeys(Bi):Fs.addKeys(Bi)}else if(es==="openCursor"){var qs=zs,Ti=Qs.values;return qs&&Object.create(qs,{key:{get:function(){return Fs.addKey(qs.primaryKey),qs.key}},primaryKey:{get:function(){var ui=qs.primaryKey;return Fs.addKey(ui),ui}},value:{get:function(){return Ti&&Cs.addKey(qs.primaryKey),qs.value}}})}return zs})}}return zr[es].apply(this,arguments)}}),Ha}})}};function Ui(ln,sn,zn,Er){function zr(Ao){var Zo=ln(Ao.name||"");function ia(Ha){return Ha!=null?Ao.extractKey(Ha):null}var So=function(Ha){return Ao.multiEntry&&i(Ha)?Ha.forEach(function(is){return Zo.addKey(is)}):Zo.addKey(Ha)};(zn||Er).forEach(function(Ha,is){var as=zn&&ia(zn[is]),es=Er&&ia(Er[is]);Xa(as,es)!==0&&(as!=null&&So(as),es!=null&&So(es))})}sn.indexes.forEach(zr)}var il=function(){function ln(sn,zn){var Er=this;this._middlewares={},this.verno=0;var zr=ln.dependencies;this._options=zn=r({addons:ln.addons,autoOpen:!0,indexedDB:zr.indexedDB,IDBKeyRange:zr.IDBKeyRange},zn),this._deps={indexedDB:zn.indexedDB,IDBKeyRange:zn.IDBKeyRange};var Ao=zn.addons;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;var Zo={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:Ue,dbReadyPromise:null,cancelOpen:Ue,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3};Zo.dbReadyPromise=new cn(function(ia){Zo.dbReadyResolve=ia}),Zo.openCanceller=new cn(function(ia,So){Zo.cancelOpen=So}),this._state=Zo,this.name=sn,this.on=hr(this,"populate","blocked","versionchange","close",{ready:[Ot,Ue]}),this.on.ready.subscribe=A(this.on.ready.subscribe,function(ia){return function(So,Ha){ln.vip(function(){var is=Er._state;if(is.openComplete)is.dbOpenError||cn.resolve().then(So),Ha&&ia(So);else if(is.onReadyBeingFired)is.onReadyBeingFired.push(So),Ha&&ia(So);else{ia(So);var as=Er;Ha||ia(function es(){as.on.ready.unsubscribe(So),as.on.ready.unsubscribe(es)})}})}}),this.Collection=To(this),this.Table=io(this),this.Transaction=Ys(this),this.Version=nl(this),this.WhereClause=Yo(this),this.on("versionchange",function(ia){ia.newVersion>0?console.warn("Another connection wants to upgrade database '"+Er.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+Er.name+"'. Closing db now to resume the delete request."),Er.close()}),this.on("blocked",function(ia){!ia.newVersion||ia.newVersion<ia.oldVersion?console.warn("Dexie.delete('"+Er.name+"') was blocked"):console.warn("Upgrade '"+Er.name+"' blocked by other connection holding version "+ia.oldVersion/10)}),this._maxKey=ei(zn.IDBKeyRange),this._createTransaction=function(ia,So,Ha,is){return new Er.Transaction(ia,So,Ha,Er._options.chromeTransactionDurability,is)},this._fireOnBlocked=function(ia){Er.on("blocked").fire(ia),Ye.filter(function(So){return So.name===Er.name&&So!==Er&&!So._state.vcFired}).map(function(So){return So.on("versionchange").fire(ia)})},this.use(_n),this.use(Hn),this.use(El),this.use(ko),this.vip=Object.create(this,{_vip:{value:!0}}),Ao.forEach(function(ia){return ia(Er)})}return ln.prototype.version=function(sn){if(isNaN(sn)||sn<.1)throw new Ke.Type("Given version is not a positive number");if(sn=Math.round(sn*10)/10,this.idbdb||this._state.isBeingOpened)throw new Ke.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,sn);var zn=this._versions,Er=zn.filter(function(zr){return zr._cfg.version===sn})[0];return Er||(Er=new this.Version(sn),zn.push(Er),zn.sort(li),Er.stores({}),this._state.autoSchema=!1,Er)},ln.prototype._whenReady=function(sn){var zn=this;return this.idbdb&&(this._state.openComplete||Rn.letThrough||this._vip)?sn():new cn(function(Er,zr){if(zn._state.openComplete)return zr(new Ke.DatabaseClosed(zn._state.dbOpenError));if(!zn._state.isBeingOpened){if(!zn._options.autoOpen){zr(new Ke.DatabaseClosed);return}zn.open().catch(Ue)}zn._state.dbReadyPromise.then(Er,zr)}).then(sn)},ln.prototype.use=function(sn){var zn=sn.stack,Er=sn.create,zr=sn.level,Ao=sn.name;Ao&&this.unuse({stack:zn,name:Ao});var Zo=this._middlewares[zn]||(this._middlewares[zn]=[]);return Zo.push({stack:zn,create:Er,level:zr??10,name:Ao}),Zo.sort(function(ia,So){return ia.level-So.level}),this},ln.prototype.unuse=function(sn){var zn=sn.stack,Er=sn.name,zr=sn.create;return zn&&this._middlewares[zn]&&(this._middlewares[zn]=this._middlewares[zn].filter(function(Ao){return zr?Ao.create!==zr:Er?Ao.name!==Er:!1})),this},ln.prototype.open=function(){return Oo(this)},ln.prototype._close=function(){var sn=this._state,zn=Ye.indexOf(this);if(zn>=0&&Ye.splice(zn,1),this.idbdb){try{this.idbdb.close()}catch{}this._novip.idbdb=null}sn.dbReadyPromise=new cn(function(Er){sn.dbReadyResolve=Er}),sn.openCanceller=new cn(function(Er,zr){sn.cancelOpen=zr})},ln.prototype.close=function(){this._close();var sn=this._state;this._options.autoOpen=!1,sn.dbOpenError=new Ke.DatabaseClosed,sn.isBeingOpened&&sn.cancelOpen(sn.dbOpenError)},ln.prototype.delete=function(){var sn=this,zn=arguments.length>0,Er=this._state;return new cn(function(zr,Ao){var Zo=function(){sn.close();var ia=sn._deps.indexedDB.deleteDatabase(sn.name);ia.onsuccess=Wt(function(){Fn(sn._deps,sn.name),zr()}),ia.onerror=jo(Ao),ia.onblocked=sn._fireOnBlocked};if(zn)throw new Ke.InvalidArgument("Arguments not allowed in db.delete()");Er.isBeingOpened?Er.dbReadyPromise.then(Zo):Zo()})},ln.prototype.backendDB=function(){return this.idbdb},ln.prototype.isOpen=function(){return this.idbdb!==null},ln.prototype.hasBeenClosed=function(){var sn=this._state.dbOpenError;return sn&&sn.name==="DatabaseClosed"},ln.prototype.hasFailed=function(){return this._state.dbOpenError!==null},ln.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(ln.prototype,"tables",{get:function(){var sn=this;return a(this._allTables).map(function(zn){return sn._allTables[zn]})},enumerable:!1,configurable:!0}),ln.prototype.transaction=function(){var sn=gt.apply(this,arguments);return this._transaction.apply(this,sn)},ln.prototype._transaction=function(sn,zn,Er){var zr=this,Ao=Rn.trans;(!Ao||Ao.db!==this||sn.indexOf("!")!==-1)&&(Ao=null);var Zo=sn.indexOf("?")!==-1;sn=sn.replace("!","").replace("?","");var ia,So;try{if(So=zn.map(function(is){var as=is instanceof zr.Table?is.name:is;if(typeof as!="string")throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return as}),sn=="r"||sn===St)ia=St;else if(sn=="rw"||sn==Ht)ia=Ht;else throw new Ke.InvalidArgument("Invalid transaction mode: "+sn);if(Ao){if(Ao.mode===St&&ia===Ht)if(Zo)Ao=null;else throw new Ke.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");Ao&&So.forEach(function(is){if(Ao&&Ao.storeNames.indexOf(is)===-1)if(Zo)Ao=null;else throw new Ke.SubTransaction("Table "+is+" not included in parent transaction.")}),Zo&&Ao&&!Ao.active&&(Ao=null)}}catch(is){return Ao?Ao._promise(null,function(as,es){es(is)}):eo(is)}var Ha=it.bind(null,this,ia,So,Ao,Er);return Ao?Ao._promise(ia,Ha,"lock"):Rn.trans?Mn(Rn.transless,function(){return zr._whenReady(Ha)}):this._whenReady(Ha)},ln.prototype.table=function(sn){if(!d(this._allTables,sn))throw new Ke.InvalidTable("Table "+sn+" does not exist");return this._allTables[sn]},ln}(),fl=typeof Symbol<"u"&&"observable"in Symbol?Symbol.observable:"@@observable",oi=function(){function ln(sn){this._subscribe=sn}return ln.prototype.subscribe=function(sn,zn,Er){return this._subscribe(!sn||typeof sn=="function"?{next:sn,error:zn,complete:Er}:sn)},ln.prototype[fl]=function(){return this},ln}();function Nl(ln,sn){return a(sn).forEach(function(zn){var Er=ln[zn]||(ln[zn]=new qa);Us(Er,sn[zn])}),ln}function xl(ln){return new oi(function(sn){var zn=ie(ln);function Er(Qs){zn&&Ft();var Rs=function(){return ut(ln,{subscr:Qs,trans:null})},rs=Rn.trans?Mn(Rn.transless,Rs):Rs();return zn&&rs.then(tn,tn),rs}var zr=!1,Ao={},Zo={},ia={get closed(){return zr},unsubscribe:function(){zr=!0,us.storagemutated.unsubscribe(as)}};sn.start&&sn.start(ia);var So=!1,Ha=!1;function is(){return a(Zo).some(function(Qs){return Ao[Qs]&&$i(Ao[Qs],Zo[Qs])})}var as=function(Qs){Nl(Ao,Qs),is()&&es()},es=function(){if(!(So||zr)){Ao={};var Qs={},Rs=Er(Qs);Ha||(us(Ua,as),Ha=!0),So=!0,Promise.resolve(Rs).then(function(rs){So=!1,!zr&&(is()?es():(Ao={},Zo=Qs,sn.next&&sn.next(rs)))},function(rs){So=!1,sn.error&&sn.error(rs),ia.unsubscribe()})}};return es(),ia})}var Ic;try{Ic={indexedDB:n.indexedDB||n.mozIndexedDB||n.webkitIndexedDB||n.msIndexedDB,IDBKeyRange:n.IDBKeyRange||n.webkitIDBKeyRange}}catch{Ic={indexedDB:null,IDBKeyRange:null}}var Kl=il;h(Kl,r(r({},Le),{delete:function(ln){var sn=new Kl(ln,{addons:[]});return sn.delete()},exists:function(ln){return new Kl(ln,{addons:[]}).open().then(function(sn){return sn.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(ln){try{return ke(Kl.dependencies).then(ln)}catch{return eo(new Ke.MissingAPI)}},defineClass:function(){function ln(sn){c(this,sn)}return ln},ignoreTransaction:function(ln){return Rn.trans?Mn(Rn.transless,ln):ln()},vip:mr,async:function(ln){return function(){try{var sn=Uo(ln.apply(this,arguments));return!sn||typeof sn.then!="function"?cn.resolve(sn):sn}catch(zn){return eo(zn)}}},spawn:function(ln,sn,zn){try{var Er=Uo(ln.apply(zn,sn||[]));return!Er||typeof Er.then!="function"?cn.resolve(Er):Er}catch(zr){return eo(zr)}},currentTransaction:{get:function(){return Rn.trans||null}},waitFor:function(ln,sn){var zn=cn.resolve(typeof ln=="function"?Kl.ignoreTransaction(ln):ln).timeout(sn||6e4);return Rn.trans?Rn.trans.waitFor(zn):zn},Promise:cn,debug:{get:function(){return ne},set:function(ln){pe(ln,ln==="dexie"?function(){return!0}:ot)}},derive:p,extend:c,props:h,override:A,Events:hr,on:us,liveQuery:xl,extendObservabilitySet:Nl,getByKeyPath:m,setByKeyPath:E,delByKeyPath:I,shallowClone:L,deepClone:M,getObjectDiff:dn,cmp:Xa,asap:T,minKey:rn,addons:[],connections:Ye,errnames:ge,dependencies:Ic,semVer:Bn,version:Bn.split(".").map(function(ln){return parseInt(ln)}).reduce(function(ln,sn,zn){return ln+sn/Math.pow(10,zn*2)})})),Kl.maxKey=ei(Kl.dependencies.IDBKeyRange),typeof dispatchEvent<"u"&&typeof addEventListener<"u"&&(us(Ua,function(ln){if(!Vi){var sn;yt?(sn=document.createEvent("CustomEvent"),sn.initCustomEvent(ds,!0,!0,ln)):sn=new CustomEvent(ds,{detail:ln}),Vi=!0,dispatchEvent(sn),Vi=!1}}),addEventListener(ds,function(ln){var sn=ln.detail;Vi||Jl(sn)}));function Jl(ln){var sn=Vi;try{Vi=!0,us.storagemutated.fire(ln)}finally{Vi=sn}}var Vi=!1;if(typeof BroadcastChannel<"u"){var _c=new BroadcastChannel(ds);typeof _c.unref=="function"&&_c.unref(),us(Ua,function(ln){Vi||_c.postMessage(ln)}),_c.onmessage=function(ln){ln.data&&Jl(ln.data)}}else if(typeof self<"u"&&typeof navigator<"u"){us(Ua,function(ln){try{Vi||(typeof localStorage<"u"&&localStorage.setItem(ds,JSON.stringify({trig:Math.random(),changedParts:ln})),typeof self.clients=="object"&&o([],self.clients.matchAll({includeUncontrolled:!0}),!0).forEach(function(sn){return sn.postMessage({type:ds,changedParts:ln})}))}catch{}}),typeof addEventListener<"u"&&addEventListener("storage",function(ln){if(ln.key===ds){var sn=JSON.parse(ln.newValue);sn&&Jl(sn.changedParts)}});var mc=self.document&&navigator.serviceWorker;mc&&mc.addEventListener("message",zl)}function zl(ln){var sn=ln.data;sn&&sn.type===ds&&Jl(sn.changedParts)}cn.rejectionMapper=ye,pe(ne,ot);var $l=Object.freeze({__proto__:null,Dexie:il,liveQuery:xl,default:il,RangeSet:qa,mergeRanges:Us,rangesOverlap:$i});return r(il,$l,{default:il}),il})},596852:function(b,l){"use strict";l.__esModule=!0;var e={linear:function(o,n,a,i){return a*o/i+n},easeInQuad:function(o,n,a,i){return a*(o/=i)*o+n},easeOutQuad:function(o,n,a,i){return-a*(o/=i)*(o-2)+n},easeInOutQuad:function(o,n,a,i){return(o/=i/2)<1?a/2*o*o+n:-a/2*(--o*(o-2)-1)+n},easeInCubic:function(o,n,a,i){return a*(o/=i)*o*o+n},easeOutCubic:function(o,n,a,i){return a*((o=o/i-1)*o*o+1)+n},easeInOutCubic:function(o,n,a,i){return(o/=i/2)<1?a/2*o*o*o+n:a/2*((o-=2)*o*o+2)+n},easeInQuart:function(o,n,a,i){return a*(o/=i)*o*o*o+n},easeOutQuart:function(o,n,a,i){return-a*((o=o/i-1)*o*o*o-1)+n},easeInOutQuart:function(o,n,a,i){return(o/=i/2)<1?a/2*o*o*o*o+n:-a/2*((o-=2)*o*o*o-2)+n},easeInQuint:function(o,n,a,i){return a*(o/=i)*o*o*o*o+n},easeOutQuint:function(o,n,a,i){return a*((o=o/i-1)*o*o*o*o+1)+n},easeInOutQuint:function(o,n,a,i){return(o/=i/2)<1?a/2*o*o*o*o*o+n:a/2*((o-=2)*o*o*o*o+2)+n},easeInSine:function(o,n,a,i){return-a*Math.cos(o/i*(Math.PI/2))+a+n},easeOutSine:function(o,n,a,i){return a*Math.sin(o/i*(Math.PI/2))+n},easeInOutSine:function(o,n,a,i){return-a/2*(Math.cos(Math.PI*o/i)-1)+n},easeInExpo:function(o,n,a,i){var c;return(c=o===0)!==null?c:{b:a*Math.pow(2,10*(o/i-1))+n}},easeOutExpo:function(o,n,a,i){var c;return(c=o===i)!==null?c:n+{c:a*(-Math.pow(2,-10*o/i)+1)+n}},easeInOutExpo:function(o,n,a,i){return o===i&&n+a,(o/=i/2)<1?a/2*Math.pow(2,10*(o-1))+n:a/2*(-Math.pow(2,-10*--o)+2)+n},easeInCirc:function(o,n,a,i){return-a*(Math.sqrt(1-(o/=i)*o)-1)+n},easeOutCirc:function(o,n,a,i){return a*Math.sqrt(1-(o=o/i-1)*o)+n},easeInOutCirc:function(o,n,a,i){return(o/=i/2)<1?-a/2*(Math.sqrt(1-o*o)-1)+n:a/2*(Math.sqrt(1-(o-=2)*o)+1)+n},easeInElastic:function(o,n,a,i){var c,u,f;return f=1.70158,u=0,c=a,o===0||(o/=i)===1&&n+a,u||(u=i*.3),c<Math.abs(a)?(c=a,f=u/4):f=u/(2*Math.PI)*Math.asin(a/c),-(c*Math.pow(2,10*(o-=1))*Math.sin((o*i-f)*(2*Math.PI)/u))+n},easeOutElastic:function(o,n,a,i){var c,u,f;return f=1.70158,u=0,c=a,o===0||(o/=i)===1&&n+a,u||(u=i*.3),c<Math.abs(a)?(c=a,f=u/4):f=u/(2*Math.PI)*Math.asin(a/c),c*Math.pow(2,-10*o)*Math.sin((o*i-f)*(2*Math.PI)/u)+a+n},easeInOutElastic:function(o,n,a,i){var c,u,f;return f=1.70158,u=0,c=a,o===0||(o/=i/2)===2&&n+a,u||(u=i*(.3*1.5)),c<Math.abs(a)?(c=a,f=u/4):f=u/(2*Math.PI)*Math.asin(a/c),o<1?-.5*(c*Math.pow(2,10*(o-=1))*Math.sin((o*i-f)*(2*Math.PI)/u))+n:c*Math.pow(2,-10*(o-=1))*Math.sin((o*i-f)*(2*Math.PI)/u)*.5+a+n},easeInBack:function(o,n,a,i,c){return c===void 0&&(c=1.70158),a*(o/=i)*o*((c+1)*o-c)+n},easeOutBack:function(o,n,a,i,c){return c===void 0&&(c=1.70158),a*((o=o/i-1)*o*((c+1)*o+c)+1)+n},easeInOutBack:function(o,n,a,i,c){return c===void 0&&(c=1.70158),(o/=i/2)<1?a/2*(o*o*(((c*=1.525)+1)*o-c))+n:a/2*((o-=2)*o*(((c*=1.525)+1)*o+c)+2)+n},easeInBounce:function(o,n,a,i){var c;return c=e.easeOutBounce(i-o,0,a,i),a-c+n},easeOutBounce:function(o,n,a,i){return(o/=i)<1/2.75?a*(7.5625*o*o)+n:o<2/2.75?a*(7.5625*(o-=1.5/2.75)*o+.75)+n:o<2.5/2.75?a*(7.5625*(o-=2.25/2.75)*o+.9375)+n:a*(7.5625*(o-=2.625/2.75)*o+.984375)+n},easeInOutBounce:function(o,n,a,i){var c;return o<i/2?(c=e.easeInBounce(o*2,0,a,i),c*.5+n):(c=e.easeOutBounce(o*2-i,0,a,i),c*.5+a*.5+n)}};l.default=e,b.exports=l.default},61551:function(b){/*!
  Copyright (c) 2015 Jed Watson.
  Based on code that is Copyright 2013-2015, Facebook, Inc.
  All rights reserved.
*/(function(){"use strict";var l=!!(typeof window<"u"&&window.document&&window.document.createElement),e={canUseDOM:l,canUseWorkers:typeof Worker<"u",canUseEventListeners:l&&!!(window.addEventListener||window.attachEvent),canUseViewport:l&&!!window.screen};typeof define=="function"&&typeof define.amd=="object"&&define.amd?define(function(){return e}):b.exports?b.exports=e:window.ExecutionEnvironment=e})()},189229:function(b,l,e){"use strict";b.exports=function(){if(typeof globalThis=="object")return globalThis;var r;try{r=this||new Function("return this")()}catch{if(typeof window=="object")return window;if(typeof self=="object")return self;if(typeof e.g<"u")return e.g}return r}()},79478:function(b){"use strict";var l=function(r){};function e(r,o){for(var n=arguments.length,a=new Array(n>2?n-2:0),i=2;i<n;i++)a[i-2]=arguments[i];if(l(o),!r){var c;if(o===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=0;c=new Error(o.replace(/%s/g,function(){return String(a[u++])})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}b.exports=e},515619:function(b,l,e){b=e.nmd(b),function(r,o){if(typeof define=="function"&&define.amd)define(["exports","module"],o);else if(1)o(l,b);else var n}(this,function(r,o){"use strict";var n={timeout:5e3,jsonpCallback:"callback",jsonpCallbackFunction:null};function a(){return"jsonp_"+Date.now()+"_"+Math.ceil(Math.random()*1e5)}function i(f){try{delete window[f]}catch{window[f]=void 0}}function c(f){var d=document.getElementById(f);d&&document.getElementsByTagName("head")[0].removeChild(d)}function u(f){var d=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],h=f,g=d.timeout||n.timeout,_=d.jsonpCallback||n.jsonpCallback,p=void 0;return new Promise(function(y,O){var P=d.jsonpCallbackFunction||a(),C=_+"_"+P;window[P]=function(S){y({ok:!0,json:function(){return Promise.resolve(S)}}),p&&clearTimeout(p),c(C),i(P)},h+=h.indexOf("?")===-1?"?":"&";var A=document.createElement("script");A.setAttribute("src",""+h+_+"="+P),d.charset&&A.setAttribute("charset",d.charset),d.nonce&&A.setAttribute("nonce",d.nonce),d.referrerPolicy&&A.setAttribute("referrerPolicy",d.referrerPolicy),A.id=C,document.getElementsByTagName("head")[0].appendChild(A),p=setTimeout(function(){O(new Error("JSONP request to "+f+" timed out")),i(P),c(C),window[P]=function(){i(P)}},g),A.onerror=function(){O(new Error("JSONP request to "+f+" failed")),i(P),c(C),p&&clearTimeout(p)}})}o.exports=u})},317509:function(b,l,e){b.exports.Dispatcher=e(559765)},559765:function(b,l,e){"use strict";function r(u,f,d){return f=o(f),f in u?Object.defineProperty(u,f,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[f]=d,u}function o(u){var f=n(u,"string");return typeof f=="symbol"?f:String(f)}function n(u,f){if(typeof u!="object"||u===null)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var h=d.call(u,f||"default");if(typeof h!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(u)}var a=e(79478),i="ID_",c=function(){function u(){r(this,"_callbacks",void 0),r(this,"_isDispatching",void 0),r(this,"_isHandled",void 0),r(this,"_isPending",void 0),r(this,"_lastID",void 0),r(this,"_pendingPayload",void 0),this._callbacks={},this._isDispatching=!1,this._isHandled={},this._isPending={},this._lastID=1}var f=u.prototype;return f.register=function(h){var g=i+this._lastID++;return this._callbacks[g]=h,g},f.unregister=function(h){this._callbacks[h]||a(!1),delete this._callbacks[h]},f.waitFor=function(h){this._isDispatching||a(!1);for(var g=0;g<h.length;g++){var _=h[g];if(this._isPending[_]){this._isHandled[_]||a(!1);continue}this._callbacks[_]||a(!1),this._invokeCallback(_)}},f.dispatch=function(h){this._isDispatching&&a(!1),this._startDispatching(h);try{for(var g in this._callbacks)this._isPending[g]||this._invokeCallback(g)}finally{this._stopDispatching()}},f.isDispatching=function(){return this._isDispatching},f._invokeCallback=function(h){this._isPending[h]=!0,this._callbacks[h](this._pendingPayload),this._isHandled[h]=!0},f._startDispatching=function(h){for(var g in this._callbacks)this._isPending[g]=!1,this._isHandled[g]=!1;this._pendingPayload=h,this._isDispatching=!0},f._stopDispatching=function(){delete this._pendingPayload,this._isDispatching=!1},u}();b.exports=c},327836:function(){(function(b,l){l()})(this,function(){"use strict";function b(e){var r=!0,o=!1,n=null,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function i(C){return!!(C&&C!==document&&C.nodeName!=="HTML"&&C.nodeName!=="BODY"&&"classList"in C&&"contains"in C.classList)}function c(C){var A=C.type,S=C.tagName;return!!(S==="INPUT"&&a[A]&&!C.readOnly||S==="TEXTAREA"&&!C.readOnly||C.isContentEditable)}function u(C){C.classList.contains("focus-visible")||(C.classList.add("focus-visible"),C.setAttribute("data-focus-visible-added",""))}function f(C){C.hasAttribute("data-focus-visible-added")&&(C.classList.remove("focus-visible"),C.removeAttribute("data-focus-visible-added"))}function d(C){C.metaKey||C.altKey||C.ctrlKey||(i(e.activeElement)&&u(e.activeElement),r=!0)}function h(C){r=!1}function g(C){i(C.target)&&(r||c(C.target))&&u(C.target)}function _(C){i(C.target)&&(C.target.classList.contains("focus-visible")||C.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(n),n=window.setTimeout(function(){o=!1},100),f(C.target))}function p(C){document.visibilityState==="hidden"&&(o&&(r=!0),y())}function y(){document.addEventListener("mousemove",P),document.addEventListener("mousedown",P),document.addEventListener("mouseup",P),document.addEventListener("pointermove",P),document.addEventListener("pointerdown",P),document.addEventListener("pointerup",P),document.addEventListener("touchmove",P),document.addEventListener("touchstart",P),document.addEventListener("touchend",P)}function O(){document.removeEventListener("mousemove",P),document.removeEventListener("mousedown",P),document.removeEventListener("mouseup",P),document.removeEventListener("pointermove",P),document.removeEventListener("pointerdown",P),document.removeEventListener("pointerup",P),document.removeEventListener("touchmove",P),document.removeEventListener("touchstart",P),document.removeEventListener("touchend",P)}function P(C){C.target.nodeName&&C.target.nodeName.toLowerCase()==="html"||(r=!1,O())}document.addEventListener("keydown",d,!0),document.addEventListener("mousedown",h,!0),document.addEventListener("pointerdown",h,!0),document.addEventListener("touchstart",h,!0),document.addEventListener("visibilitychange",p,!0),y(),e.addEventListener("focus",g,!0),e.addEventListener("blur",_,!0),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window<"u"&&typeof document<"u"){window.applyFocusVisiblePolyfill=b;var l;try{l=new CustomEvent("focus-visible-polyfill-ready")}catch{l=document.createEvent("CustomEvent"),l.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(l)}typeof document<"u"&&b(document)})},172977:function(b){var l=Object.prototype.hasOwnProperty,e=Object.prototype.toString;b.exports=function(o,n,a){if(e.call(n)!=="[object Function]")throw new TypeError("iterator must be a function");var i=o.length;if(i===+i)for(var c=0;c<i;c++)n.call(a,o[c],c,o);else for(var u in o)l.call(o,u)&&n.call(a,o[u],u,o)}},410498:function(b,l,e){b=e.nmd(b);/*! https://mths.be/he v1.2.0 by @mathias | MIT license */(function(r){var o=l,n=b&&b.exports==o&&b,a=typeof e.g=="object"&&e.g;(a.global===a||a.window===a)&&(r=a);var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,f=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,d={"\xAD":"shy","\u200C":"zwnj","\u200D":"zwj","\u200E":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200F":"rlm","\u200B":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20DB":"tdot","\u20DC":"DotDot","	":"Tab","\n":"NewLine","\u2008":"puncsp","\u205F":"MediumSpace","\u2009":"thinsp","\u200A":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xA0":"nbsp","\u205F\u200A":"ThickSpace","\u203E":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204F":"bsemi",":":"colon","\u2A74":"Colone","!":"excl","\xA1":"iexcl","?":"quest","\xBF":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xB7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201A":"sbquo","\u2039":"lsaquo","\u203A":"rsaquo",'"':"quot","\u201C":"ldquo","\u201D":"rdquo","\u201E":"bdquo","\xAB":"laquo","\xBB":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230A":"lfloor","\u230B":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298B":"lbrke","\u298C":"rbrke","\u298D":"lbrkslu","\u298E":"rbrksld","\u298F":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27E6":"lobrk","\u27E7":"robrk","\u27E8":"lang","\u27E9":"rang","\u27EA":"Lang","\u27EB":"Rang","\u27EC":"loang","\u27ED":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xA7":"sect","\xB6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xB4":"acute","\u02DC":"tilde","^":"Hat","\xAF":"macr","\u02D8":"breve","\u02D9":"dot","\xA8":"die","\u02DA":"ring","\u02DD":"dblac","\xB8":"cedil","\u02DB":"ogon","\u02C6":"circ","\u02C7":"caron","\xB0":"deg","\xA9":"copy","\xAE":"reg","\u2117":"copysr","\u2118":"wp","\u211E":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219A":"nlarr","\u2192":"rarr","\u219B":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21AE":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219D":"rarrw","\u219D\u0338":"nrarrw","\u219E":"Larr","\u219F":"Uarr","\u21A0":"Rarr","\u21A1":"Darr","\u21A2":"larrtl","\u21A3":"rarrtl","\u21A4":"mapstoleft","\u21A5":"mapstoup","\u21A6":"map","\u21A7":"mapstodown","\u21A9":"larrhk","\u21AA":"rarrhk","\u21AB":"larrlp","\u21AC":"rarrlp","\u21AD":"harrw","\u21B0":"lsh","\u21B1":"rsh","\u21B2":"ldsh","\u21B3":"rdsh","\u21B5":"crarr","\u21B6":"cularr","\u21B7":"curarr","\u21BA":"olarr","\u21BB":"orarr","\u21BC":"lharu","\u21BD":"lhard","\u21BE":"uharr","\u21BF":"uharl","\u21C0":"rharu","\u21C1":"rhard","\u21C2":"dharr","\u21C3":"dharl","\u21C4":"rlarr","\u21C5":"udarr","\u21C6":"lrarr","\u21C7":"llarr","\u21C8":"uuarr","\u21C9":"rrarr","\u21CA":"ddarr","\u21CB":"lrhar","\u21CC":"rlhar","\u21D0":"lArr","\u21CD":"nlArr","\u21D1":"uArr","\u21D2":"rArr","\u21CF":"nrArr","\u21D3":"dArr","\u21D4":"iff","\u21CE":"nhArr","\u21D5":"vArr","\u21D6":"nwArr","\u21D7":"neArr","\u21D8":"seArr","\u21D9":"swArr","\u21DA":"lAarr","\u21DB":"rAarr","\u21DD":"zigrarr","\u21E4":"larrb","\u21E5":"rarrb","\u21F5":"duarr","\u21FD":"loarr","\u21FE":"roarr","\u21FF":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220B":"ni","\u220C":"notni","\u03F6":"bepsi","\u220F":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xB1":"pm","\xF7":"div","\xD7":"times","<":"lt","\u226E":"nlt","<\u20D2":"nvlt","=":"equals","\u2260":"ne","=\u20E5":"bne","\u2A75":"Equal",">":"gt","\u226F":"ngt",">\u20D2":"nvgt","\xAC":"not","|":"vert","\xA6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221A":"Sqrt","\u221D":"prop","\u221E":"infin","\u221F":"angrt","\u2220":"ang","\u2220\u20D2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\uFE00":"caps","\u222A":"cup","\u222A\uFE00":"cups","\u222B":"int","\u222C":"Int","\u222D":"tint","\u2A0C":"qint","\u222E":"oint","\u222F":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223A":"mDDot","\u223B":"homtht","\u223C":"sim","\u2241":"nsim","\u223C\u20D2":"nvsim","\u223D":"bsim","\u223D\u0331":"race","\u223E":"ac","\u223E\u0333":"acE","\u223F":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224A":"ape","\u224B":"apid","\u224B\u0338":"napid","\u224C":"bcong","\u224D":"CupCap","\u226D":"NotCupCap","\u224D\u20D2":"nvap","\u224E":"bump","\u224E\u0338":"nbump","\u224F":"bumpe","\u224F\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225A":"veeeq","\u225C":"trie","\u225F":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20E5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20D2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20D2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\uFE00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\uFE00":"gvnE","\u226A":"ll","\u226A\u0338":"nLtv","\u226A\u20D2":"nLt","\u226B":"gg","\u226B\u0338":"nGtv","\u226B\u20D2":"nGt","\u226C":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227A":"pr","\u2280":"npr","\u227B":"sc","\u2281":"nsc","\u227C":"prcue","\u22E0":"nprcue","\u227D":"sccue","\u22E1":"nsccue","\u227E":"prsim","\u227F":"scsim","\u227F\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20D2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20D2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228A\uFE00":"vsubne","\u228A":"subne","\u228B\uFE00":"vsupne","\u228B":"supne","\u228D":"cupdot","\u228E":"uplus","\u228F":"sqsub","\u228F\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22E2":"nsqsube","\u2292":"sqsupe","\u22E3":"nsqsupe","\u2293":"sqcap","\u2293\uFE00":"sqcaps","\u2294":"sqcup","\u2294\uFE00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229A":"ocir","\u229B":"oast","\u229D":"odash","\u229E":"plusb","\u229F":"minusb","\u22A0":"timesb","\u22A1":"sdotb","\u22A2":"vdash","\u22AC":"nvdash","\u22A3":"dashv","\u22A4":"top","\u22A5":"bot","\u22A7":"models","\u22A8":"vDash","\u22AD":"nvDash","\u22A9":"Vdash","\u22AE":"nVdash","\u22AA":"Vvdash","\u22AB":"VDash","\u22AF":"nVDash","\u22B0":"prurel","\u22B2":"vltri","\u22EA":"nltri","\u22B3":"vrtri","\u22EB":"nrtri","\u22B4":"ltrie","\u22EC":"nltrie","\u22B4\u20D2":"nvltrie","\u22B5":"rtrie","\u22ED":"nrtrie","\u22B5\u20D2":"nvrtrie","\u22B6":"origof","\u22B7":"imof","\u22B8":"mumap","\u22B9":"hercon","\u22BA":"intcal","\u22BB":"veebar","\u22BD":"barvee","\u22BE":"angrtvb","\u22BF":"lrtri","\u22C0":"Wedge","\u22C1":"Vee","\u22C2":"xcap","\u22C3":"xcup","\u22C4":"diam","\u22C5":"sdot","\u22C6":"Star","\u22C7":"divonx","\u22C8":"bowtie","\u22C9":"ltimes","\u22CA":"rtimes","\u22CB":"lthree","\u22CC":"rthree","\u22CD":"bsime","\u22CE":"cuvee","\u22CF":"cuwed","\u22D0":"Sub","\u22D1":"Sup","\u22D2":"Cap","\u22D3":"Cup","\u22D4":"fork","\u22D5":"epar","\u22D6":"ltdot","\u22D7":"gtdot","\u22D8":"Ll","\u22D8\u0338":"nLl","\u22D9":"Gg","\u22D9\u0338":"nGg","\u22DA\uFE00":"lesg","\u22DA":"leg","\u22DB":"gel","\u22DB\uFE00":"gesl","\u22DE":"cuepr","\u22DF":"cuesc","\u22E6":"lnsim","\u22E7":"gnsim","\u22E8":"prnsim","\u22E9":"scnsim","\u22EE":"vellip","\u22EF":"ctdot","\u22F0":"utdot","\u22F1":"dtdot","\u22F2":"disin","\u22F3":"isinsv","\u22F4":"isins","\u22F5":"isindot","\u22F5\u0338":"notindot","\u22F6":"notinvc","\u22F7":"notinvb","\u22F9":"isinE","\u22F9\u0338":"notinE","\u22FA":"nisd","\u22FB":"xnis","\u22FC":"nis","\u22FD":"notnivc","\u22FE":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230C":"drcrop","\u230D":"dlcrop","\u230E":"urcrop","\u230F":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231C":"ulcorn","\u231D":"urcorn","\u231E":"dlcorn","\u231F":"drcorn","\u2322":"frown","\u2323":"smile","\u232D":"cylcty","\u232E":"profalar","\u2336":"topbot","\u233D":"ovbar","\u233F":"solbar","\u237C":"angzarr","\u23B0":"lmoust","\u23B1":"rmoust","\u23B4":"tbrk","\u23B5":"bbrk","\u23B6":"bbrktbrk","\u23DC":"OverParenthesis","\u23DD":"UnderParenthesis","\u23DE":"OverBrace","\u23DF":"UnderBrace","\u23E2":"trpezium","\u23E7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250C":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251C":"boxvr","\u2524":"boxvl","\u252C":"boxhd","\u2534":"boxhu","\u253C":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255A":"boxUR","\u255B":"boxuL","\u255C":"boxUl","\u255D":"boxUL","\u255E":"boxvR","\u255F":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256A":"boxvH","\u256B":"boxVh","\u256C":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25A1":"squ","\u25AA":"squf","\u25AB":"EmptyVerySmallSquare","\u25AD":"rect","\u25AE":"marker","\u25B1":"fltns","\u25B3":"xutri","\u25B4":"utrif","\u25B5":"utri","\u25B8":"rtrif","\u25B9":"rtri","\u25BD":"xdtri","\u25BE":"dtrif","\u25BF":"dtri","\u25C2":"ltrif","\u25C3":"ltri","\u25CA":"loz","\u25CB":"cir","\u25EC":"tridot","\u25EF":"xcirc","\u25F8":"ultri","\u25F9":"urtri","\u25FA":"lltri","\u25FB":"EmptySmallSquare","\u25FC":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260E":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266A":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27C8":"bsolhsub","\u27C9":"suphsol","\u27F5":"xlarr","\u27F6":"xrarr","\u27F7":"xharr","\u27F8":"xlArr","\u27F9":"xrArr","\u27FA":"xhArr","\u27FC":"xmap","\u27FF":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290C":"lbarr","\u290D":"rbarr","\u290E":"lBarr","\u290F":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291A":"ratail","\u291B":"lAtail","\u291C":"rAtail","\u291D":"larrfs","\u291E":"rarrfs","\u291F":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292A":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293C":"curarrm","\u293D":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294A":"lurdshar","\u294B":"ldrushar","\u294E":"LeftRightVector","\u294F":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295A":"LeftTeeVector","\u295B":"RightTeeVector","\u295C":"RightUpTeeVector","\u295D":"RightDownTeeVector","\u295E":"DownLeftTeeVector","\u295F":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296A":"lharul","\u296B":"llhard","\u296C":"rharul","\u296D":"lrhard","\u296E":"udhar","\u296F":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297B":"suplarr","\u297C":"lfisht","\u297D":"rfisht","\u297E":"ufisht","\u297F":"dfisht","\u299A":"vzigzag","\u299C":"vangrt","\u299D":"angrtvbd","\u29A4":"ange","\u29A5":"range","\u29A6":"dwangle","\u29A7":"uwangle","\u29A8":"angmsdaa","\u29A9":"angmsdab","\u29AA":"angmsdac","\u29AB":"angmsdad","\u29AC":"angmsdae","\u29AD":"angmsdaf","\u29AE":"angmsdag","\u29AF":"angmsdah","\u29B0":"bemptyv","\u29B1":"demptyv","\u29B2":"cemptyv","\u29B3":"raemptyv","\u29B4":"laemptyv","\u29B5":"ohbar","\u29B6":"omid","\u29B7":"opar","\u29B9":"operp","\u29BB":"olcross","\u29BC":"odsold","\u29BE":"olcir","\u29BF":"ofcir","\u29C0":"olt","\u29C1":"ogt","\u29C2":"cirscir","\u29C3":"cirE","\u29C4":"solb","\u29C5":"bsolb","\u29C9":"boxbox","\u29CD":"trisb","\u29CE":"rtriltri","\u29CF":"LeftTriangleBar","\u29CF\u0338":"NotLeftTriangleBar","\u29D0":"RightTriangleBar","\u29D0\u0338":"NotRightTriangleBar","\u29DC":"iinfin","\u29DD":"infintie","\u29DE":"nvinfin","\u29E3":"eparsl","\u29E4":"smeparsl","\u29E5":"eqvparsl","\u29EB":"lozf","\u29F4":"RuleDelayed","\u29F6":"dsol","\u2A00":"xodot","\u2A01":"xoplus","\u2A02":"xotime","\u2A04":"xuplus","\u2A06":"xsqcup","\u2A0D":"fpartint","\u2A10":"cirfnint","\u2A11":"awint","\u2A12":"rppolint","\u2A13":"scpolint","\u2A14":"npolint","\u2A15":"pointint","\u2A16":"quatint","\u2A17":"intlarhk","\u2A22":"pluscir","\u2A23":"plusacir","\u2A24":"simplus","\u2A25":"plusdu","\u2A26":"plussim","\u2A27":"plustwo","\u2A29":"mcomma","\u2A2A":"minusdu","\u2A2D":"loplus","\u2A2E":"roplus","\u2A2F":"Cross","\u2A30":"timesd","\u2A31":"timesbar","\u2A33":"smashp","\u2A34":"lotimes","\u2A35":"rotimes","\u2A36":"otimesas","\u2A37":"Otimes","\u2A38":"odiv","\u2A39":"triplus","\u2A3A":"triminus","\u2A3B":"tritime","\u2A3C":"iprod","\u2A3F":"amalg","\u2A40":"capdot","\u2A42":"ncup","\u2A43":"ncap","\u2A44":"capand","\u2A45":"cupor","\u2A46":"cupcap","\u2A47":"capcup","\u2A48":"cupbrcap","\u2A49":"capbrcup","\u2A4A":"cupcup","\u2A4B":"capcap","\u2A4C":"ccups","\u2A4D":"ccaps","\u2A50":"ccupssm","\u2A53":"And","\u2A54":"Or","\u2A55":"andand","\u2A56":"oror","\u2A57":"orslope","\u2A58":"andslope","\u2A5A":"andv","\u2A5B":"orv","\u2A5C":"andd","\u2A5D":"ord","\u2A5F":"wedbar","\u2A66":"sdote","\u2A6A":"simdot","\u2A6D":"congdot","\u2A6D\u0338":"ncongdot","\u2A6E":"easter","\u2A6F":"apacir","\u2A70":"apE","\u2A70\u0338":"napE","\u2A71":"eplus","\u2A72":"pluse","\u2A73":"Esim","\u2A77":"eDDot","\u2A78":"equivDD","\u2A79":"ltcir","\u2A7A":"gtcir","\u2A7B":"ltquest","\u2A7C":"gtquest","\u2A7D":"les","\u2A7D\u0338":"nles","\u2A7E":"ges","\u2A7E\u0338":"nges","\u2A7F":"lesdot","\u2A80":"gesdot","\u2A81":"lesdoto","\u2A82":"gesdoto","\u2A83":"lesdotor","\u2A84":"gesdotol","\u2A85":"lap","\u2A86":"gap","\u2A87":"lne","\u2A88":"gne","\u2A89":"lnap","\u2A8A":"gnap","\u2A8B":"lEg","\u2A8C":"gEl","\u2A8D":"lsime","\u2A8E":"gsime","\u2A8F":"lsimg","\u2A90":"gsiml","\u2A91":"lgE","\u2A92":"glE","\u2A93":"lesges","\u2A94":"gesles","\u2A95":"els","\u2A96":"egs","\u2A97":"elsdot","\u2A98":"egsdot","\u2A99":"el","\u2A9A":"eg","\u2A9D":"siml","\u2A9E":"simg","\u2A9F":"simlE","\u2AA0":"simgE","\u2AA1":"LessLess","\u2AA1\u0338":"NotNestedLessLess","\u2AA2":"GreaterGreater","\u2AA2\u0338":"NotNestedGreaterGreater","\u2AA4":"glj","\u2AA5":"gla","\u2AA6":"ltcc","\u2AA7":"gtcc","\u2AA8":"lescc","\u2AA9":"gescc","\u2AAA":"smt","\u2AAB":"lat","\u2AAC":"smte","\u2AAC\uFE00":"smtes","\u2AAD":"late","\u2AAD\uFE00":"lates","\u2AAE":"bumpE","\u2AAF":"pre","\u2AAF\u0338":"npre","\u2AB0":"sce","\u2AB0\u0338":"nsce","\u2AB3":"prE","\u2AB4":"scE","\u2AB5":"prnE","\u2AB6":"scnE","\u2AB7":"prap","\u2AB8":"scap","\u2AB9":"prnap","\u2ABA":"scnap","\u2ABB":"Pr","\u2ABC":"Sc","\u2ABD":"subdot","\u2ABE":"supdot","\u2ABF":"subplus","\u2AC0":"supplus","\u2AC1":"submult","\u2AC2":"supmult","\u2AC3":"subedot","\u2AC4":"supedot","\u2AC5":"subE","\u2AC5\u0338":"nsubE","\u2AC6":"supE","\u2AC6\u0338":"nsupE","\u2AC7":"subsim","\u2AC8":"supsim","\u2ACB\uFE00":"vsubnE","\u2ACB":"subnE","\u2ACC\uFE00":"vsupnE","\u2ACC":"supnE","\u2ACF":"csub","\u2AD0":"csup","\u2AD1":"csube","\u2AD2":"csupe","\u2AD3":"subsup","\u2AD4":"supsub","\u2AD5":"subsub","\u2AD6":"supsup","\u2AD7":"suphsub","\u2AD8":"supdsub","\u2AD9":"forkv","\u2ADA":"topfork","\u2ADB":"mlcp","\u2AE4":"Dashv","\u2AE6":"Vdashl","\u2AE7":"Barv","\u2AE8":"vBar","\u2AE9":"vBarv","\u2AEB":"Vbar","\u2AEC":"Not","\u2AED":"bNot","\u2AEE":"rnmid","\u2AEF":"cirmid","\u2AF0":"midcir","\u2AF1":"topcir","\u2AF2":"nhpar","\u2AF3":"parsim","\u2AFD":"parsl","\u2AFD\u20E5":"nparsl","\u266D":"flat","\u266E":"natur","\u266F":"sharp","\xA4":"curren","\xA2":"cent",$:"dollar","\xA3":"pound","\xA5":"yen","\u20AC":"euro","\xB9":"sup1","\xBD":"half","\u2153":"frac13","\xBC":"frac14","\u2155":"frac15","\u2159":"frac16","\u215B":"frac18","\xB2":"sup2","\u2154":"frac23","\u2156":"frac25","\xB3":"sup3","\xBE":"frac34","\u2157":"frac35","\u215C":"frac38","\u2158":"frac45","\u215A":"frac56","\u215D":"frac58","\u215E":"frac78","\u{1D4B6}":"ascr","\u{1D552}":"aopf","\u{1D51E}":"afr","\u{1D538}":"Aopf","\u{1D504}":"Afr","\u{1D49C}":"Ascr",\u00AA:"ordf",\u00E1:"aacute",\u00C1:"Aacute",\u00E0:"agrave",\u00C0:"Agrave",\u0103:"abreve",\u0102:"Abreve",\u00E2:"acirc",\u00C2:"Acirc",\u00E5:"aring",\u00C5:"angst",\u00E4:"auml",\u00C4:"Auml",\u00E3:"atilde",\u00C3:"Atilde",\u0105:"aogon",\u0104:"Aogon",\u0101:"amacr",\u0100:"Amacr",\u00E6:"aelig",\u00C6:"AElig","\u{1D4B7}":"bscr","\u{1D553}":"bopf","\u{1D51F}":"bfr","\u{1D539}":"Bopf",\u212C:"Bscr","\u{1D505}":"Bfr","\u{1D520}":"cfr","\u{1D4B8}":"cscr","\u{1D554}":"copf",\u212D:"Cfr","\u{1D49E}":"Cscr",\u2102:"Copf",\u0107:"cacute",\u0106:"Cacute",\u0109:"ccirc",\u0108:"Ccirc",\u010D:"ccaron",\u010C:"Ccaron",\u010B:"cdot",\u010A:"Cdot",\u00E7:"ccedil",\u00C7:"Ccedil","\u2105":"incare","\u{1D521}":"dfr","\u2146":"dd","\u{1D555}":"dopf","\u{1D4B9}":"dscr","\u{1D49F}":"Dscr","\u{1D507}":"Dfr","\u2145":"DD","\u{1D53B}":"Dopf",\u010F:"dcaron",\u010E:"Dcaron",\u0111:"dstrok",\u0110:"Dstrok",\u00F0:"eth",\u00D0:"ETH","\u2147":"ee",\u212F:"escr","\u{1D522}":"efr","\u{1D556}":"eopf",\u2130:"Escr","\u{1D508}":"Efr","\u{1D53C}":"Eopf",\u00E9:"eacute",\u00C9:"Eacute",\u00E8:"egrave",\u00C8:"Egrave",\u00EA:"ecirc",\u00CA:"Ecirc",\u011B:"ecaron",\u011A:"Ecaron",\u00EB:"euml",\u00CB:"Euml",\u0117:"edot",\u0116:"Edot",\u0119:"eogon",\u0118:"Eogon",\u0113:"emacr",\u0112:"Emacr","\u{1D523}":"ffr","\u{1D557}":"fopf","\u{1D4BB}":"fscr","\u{1D509}":"Ffr","\u{1D53D}":"Fopf",\u2131:"Fscr",\uFB00:"fflig",\uFB03:"ffilig",\uFB04:"ffllig",\uFB01:"filig",fj:"fjlig",\uFB02:"fllig",\u0192:"fnof",\u210A:"gscr","\u{1D558}":"gopf","\u{1D524}":"gfr","\u{1D4A2}":"Gscr","\u{1D53E}":"Gopf","\u{1D50A}":"Gfr",\u01F5:"gacute",\u011F:"gbreve",\u011E:"Gbreve",\u011D:"gcirc",\u011C:"Gcirc",\u0121:"gdot",\u0120:"Gdot",\u0122:"Gcedil","\u{1D525}":"hfr",\u210E:"planckh","\u{1D4BD}":"hscr","\u{1D559}":"hopf",\u210B:"Hscr",\u210C:"Hfr",\u210D:"Hopf",\u0125:"hcirc",\u0124:"Hcirc",\u210F:"hbar",\u0127:"hstrok",\u0126:"Hstrok","\u{1D55A}":"iopf","\u{1D526}":"ifr","\u{1D4BE}":"iscr","\u2148":"ii","\u{1D540}":"Iopf",\u2110:"Iscr",\u2111:"Im",\u00ED:"iacute",\u00CD:"Iacute",\u00EC:"igrave",\u00CC:"Igrave",\u00EE:"icirc",\u00CE:"Icirc",\u00EF:"iuml",\u00CF:"Iuml",\u0129:"itilde",\u0128:"Itilde",\u0130:"Idot",\u012F:"iogon",\u012E:"Iogon",\u012B:"imacr",\u012A:"Imacr",\u0133:"ijlig",\u0132:"IJlig",\u0131:"imath","\u{1D4BF}":"jscr","\u{1D55B}":"jopf","\u{1D527}":"jfr","\u{1D4A5}":"Jscr","\u{1D50D}":"Jfr","\u{1D541}":"Jopf",\u0135:"jcirc",\u0134:"Jcirc","\u0237":"jmath","\u{1D55C}":"kopf","\u{1D4C0}":"kscr","\u{1D528}":"kfr","\u{1D4A6}":"Kscr","\u{1D542}":"Kopf","\u{1D50E}":"Kfr",\u0137:"kcedil",\u0136:"Kcedil","\u{1D529}":"lfr","\u{1D4C1}":"lscr",\u2113:"ell","\u{1D55D}":"lopf",\u2112:"Lscr","\u{1D50F}":"Lfr","\u{1D543}":"Lopf",\u013A:"lacute",\u0139:"Lacute",\u013E:"lcaron",\u013D:"Lcaron",\u013C:"lcedil",\u013B:"Lcedil",\u0142:"lstrok",\u0141:"Lstrok",\u0140:"lmidot",\u013F:"Lmidot","\u{1D52A}":"mfr","\u{1D55E}":"mopf","\u{1D4C2}":"mscr","\u{1D510}":"Mfr","\u{1D544}":"Mopf",\u2133:"Mscr","\u{1D52B}":"nfr","\u{1D55F}":"nopf","\u{1D4C3}":"nscr",\u2115:"Nopf","\u{1D4A9}":"Nscr","\u{1D511}":"Nfr",\u0144:"nacute",\u0143:"Nacute",\u0148:"ncaron",\u0147:"Ncaron",\u00F1:"ntilde",\u00D1:"Ntilde",\u0146:"ncedil",\u0145:"Ncedil","\u2116":"numero",\u014B:"eng",\u014A:"ENG","\u{1D560}":"oopf","\u{1D52C}":"ofr",\u2134:"oscr","\u{1D4AA}":"Oscr","\u{1D512}":"Ofr","\u{1D546}":"Oopf",\u00BA:"ordm",\u00F3:"oacute",\u00D3:"Oacute",\u00F2:"ograve",\u00D2:"Ograve",\u00F4:"ocirc",\u00D4:"Ocirc",\u00F6:"ouml",\u00D6:"Ouml",\u0151:"odblac",\u0150:"Odblac",\u00F5:"otilde",\u00D5:"Otilde",\u00F8:"oslash",\u00D8:"Oslash",\u014D:"omacr",\u014C:"Omacr",\u0153:"oelig",\u0152:"OElig","\u{1D52D}":"pfr","\u{1D4C5}":"pscr","\u{1D561}":"popf",\u2119:"Popf","\u{1D513}":"Pfr","\u{1D4AB}":"Pscr","\u{1D562}":"qopf","\u{1D52E}":"qfr","\u{1D4C6}":"qscr","\u{1D4AC}":"Qscr","\u{1D514}":"Qfr",\u211A:"Qopf",\u0138:"kgreen","\u{1D52F}":"rfr","\u{1D563}":"ropf","\u{1D4C7}":"rscr",\u211B:"Rscr",\u211C:"Re",\u211D:"Ropf",\u0155:"racute",\u0154:"Racute",\u0159:"rcaron",\u0158:"Rcaron",\u0157:"rcedil",\u0156:"Rcedil","\u{1D564}":"sopf","\u{1D4C8}":"sscr","\u{1D530}":"sfr","\u{1D54A}":"Sopf","\u{1D516}":"Sfr","\u{1D4AE}":"Sscr","\u24C8":"oS",\u015B:"sacute",\u015A:"Sacute",\u015D:"scirc",\u015C:"Scirc",\u0161:"scaron",\u0160:"Scaron",\u015F:"scedil",\u015E:"Scedil",\u00DF:"szlig","\u{1D531}":"tfr","\u{1D4C9}":"tscr","\u{1D565}":"topf","\u{1D4AF}":"Tscr","\u{1D517}":"Tfr","\u{1D54B}":"Topf",\u0165:"tcaron",\u0164:"Tcaron",\u0163:"tcedil",\u0162:"Tcedil","\u2122":"trade",\u0167:"tstrok",\u0166:"Tstrok","\u{1D4CA}":"uscr","\u{1D566}":"uopf","\u{1D532}":"ufr","\u{1D54C}":"Uopf","\u{1D518}":"Ufr","\u{1D4B0}":"Uscr",\u00FA:"uacute",\u00DA:"Uacute",\u00F9:"ugrave",\u00D9:"Ugrave",\u016D:"ubreve",\u016C:"Ubreve",\u00FB:"ucirc",\u00DB:"Ucirc",\u016F:"uring",\u016E:"Uring",\u00FC:"uuml",\u00DC:"Uuml",\u0171:"udblac",\u0170:"Udblac",\u0169:"utilde",\u0168:"Utilde",\u0173:"uogon",\u0172:"Uogon",\u016B:"umacr",\u016A:"Umacr","\u{1D533}":"vfr","\u{1D567}":"vopf","\u{1D4CB}":"vscr","\u{1D519}":"Vfr","\u{1D54D}":"Vopf","\u{1D4B1}":"Vscr","\u{1D568}":"wopf","\u{1D4CC}":"wscr","\u{1D534}":"wfr","\u{1D4B2}":"Wscr","\u{1D54E}":"Wopf","\u{1D51A}":"Wfr",\u0175:"wcirc",\u0174:"Wcirc","\u{1D535}":"xfr","\u{1D4CD}":"xscr","\u{1D569}":"xopf","\u{1D54F}":"Xopf","\u{1D51B}":"Xfr","\u{1D4B3}":"Xscr","\u{1D536}":"yfr","\u{1D4CE}":"yscr","\u{1D56A}":"yopf","\u{1D4B4}":"Yscr","\u{1D51C}":"Yfr","\u{1D550}":"Yopf",\u00FD:"yacute",\u00DD:"Yacute",\u0177:"ycirc",\u0176:"Ycirc",\u00FF:"yuml",\u0178:"Yuml","\u{1D4CF}":"zscr","\u{1D537}":"zfr","\u{1D56B}":"zopf",\u2128:"Zfr",\u2124:"Zopf","\u{1D4B5}":"Zscr",\u017A:"zacute",\u0179:"Zacute",\u017E:"zcaron",\u017D:"Zcaron",\u017C:"zdot",\u017B:"Zdot",\u01B5:"imped",\u00FE:"thorn",\u00DE:"THORN",\u0149:"napos",\u03B1:"alpha",\u0391:"Alpha",\u03B2:"beta",\u0392:"Beta",\u03B3:"gamma",\u0393:"Gamma",\u03B4:"delta",\u0394:"Delta",\u03B5:"epsi","\u03F5":"epsiv",\u0395:"Epsilon",\u03DD:"gammad",\u03DC:"Gammad",\u03B6:"zeta",\u0396:"Zeta",\u03B7:"eta",\u0397:"Eta",\u03B8:"theta",\u03D1:"thetav",\u0398:"Theta",\u03B9:"iota",\u0399:"Iota",\u03BA:"kappa",\u03F0:"kappav",\u039A:"Kappa",\u03BB:"lambda",\u039B:"Lambda",\u03BC:"mu",\u00B5:"micro",\u039C:"Mu",\u03BD:"nu",\u039D:"Nu",\u03BE:"xi",\u039E:"Xi",\u03BF:"omicron",\u039F:"Omicron",\u03C0:"pi",\u03D6:"piv",\u03A0:"Pi",\u03C1:"rho",\u03F1:"rhov",\u03A1:"Rho",\u03C3:"sigma",\u03A3:"Sigma",\u03C2:"sigmaf",\u03C4:"tau",\u03A4:"Tau",\u03C5:"upsi",\u03A5:"Upsilon",\u03D2:"Upsi",\u03C6:"phi",\u03D5:"phiv",\u03A6:"Phi",\u03C7:"chi",\u03A7:"Chi",\u03C8:"psi",\u03A8:"Psi",\u03C9:"omega",\u03A9:"ohm",\u0430:"acy",\u0410:"Acy",\u0431:"bcy",\u0411:"Bcy",\u0432:"vcy",\u0412:"Vcy",\u0433:"gcy",\u0413:"Gcy",\u0453:"gjcy",\u0403:"GJcy",\u0434:"dcy",\u0414:"Dcy",\u0452:"djcy",\u0402:"DJcy",\u0435:"iecy",\u0415:"IEcy",\u0451:"iocy",\u0401:"IOcy",\u0454:"jukcy",\u0404:"Jukcy",\u0436:"zhcy",\u0416:"ZHcy",\u0437:"zcy",\u0417:"Zcy",\u0455:"dscy",\u0405:"DScy",\u0438:"icy",\u0418:"Icy",\u0456:"iukcy",\u0406:"Iukcy",\u0457:"yicy",\u0407:"YIcy",\u0439:"jcy",\u0419:"Jcy",\u0458:"jsercy",\u0408:"Jsercy",\u043A:"kcy",\u041A:"Kcy",\u045C:"kjcy",\u040C:"KJcy",\u043B:"lcy",\u041B:"Lcy",\u0459:"ljcy",\u0409:"LJcy",\u043C:"mcy",\u041C:"Mcy",\u043D:"ncy",\u041D:"Ncy",\u045A:"njcy",\u040A:"NJcy",\u043E:"ocy",\u041E:"Ocy",\u043F:"pcy",\u041F:"Pcy",\u0440:"rcy",\u0420:"Rcy",\u0441:"scy",\u0421:"Scy",\u0442:"tcy",\u0422:"Tcy",\u045B:"tshcy",\u040B:"TSHcy",\u0443:"ucy",\u0423:"Ucy",\u045E:"ubrcy",\u040E:"Ubrcy",\u0444:"fcy",\u0424:"Fcy",\u0445:"khcy",\u0425:"KHcy",\u0446:"tscy",\u0426:"TScy",\u0447:"chcy",\u0427:"CHcy",\u045F:"dzcy",\u040F:"DZcy",\u0448:"shcy",\u0428:"SHcy",\u0449:"shchcy",\u0429:"SHCHcy",\u044A:"hardcy",\u042A:"HARDcy",\u044B:"ycy",\u042B:"Ycy",\u044C:"softcy",\u042C:"SOFTcy",\u044D:"ecy",\u042D:"Ecy",\u044E:"yucy",\u042E:"YUcy",\u044F:"yacy",\u042F:"YAcy",\u2135:"aleph",\u2136:"beth",\u2137:"gimel",\u2138:"daleth"},h=/["&'<>`]/g,g={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},_=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,p=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,y=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,O={aacute:"\xE1",Aacute:"\xC1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",acy:"\u0430",Acy:"\u0410",aelig:"\xE6",AElig:"\xC6",af:"\u2061",afr:"\u{1D51E}",Afr:"\u{1D504}",agrave:"\xE0",Agrave:"\xC0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2A3F",amp:"&",AMP:"&",and:"\u2227",And:"\u2A53",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",Aogon:"\u0104",aopf:"\u{1D552}",Aopf:"\u{1D538}",ap:"\u2248",apacir:"\u2A6F",ape:"\u224A",apE:"\u2A70",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",Aring:"\xC5",ascr:"\u{1D4B6}",Ascr:"\u{1D49C}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",beta:"\u03B2",Beta:"\u0392",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",Bfr:"\u{1D505}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bNot:"\u2AED",bopf:"\u{1D553}",Bopf:"\u{1D539}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpe:"\u224F",bumpE:"\u2AAE",bumpeq:"\u224F",Bumpeq:"\u224E",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22D2",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",ccaron:"\u010D",Ccaron:"\u010C",ccedil:"\xE7",Ccedil:"\xC7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",Cdot:"\u010A",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",Chi:"\u03A7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29C3",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2A74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",cscr:"\u{1D4B8}",Cscr:"\u{1D49E}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",Cup:"\u22D3",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21D3",Darr:"\u21A1",dash:"\u2010",dashv:"\u22A3",Dashv:"\u2AE4",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",Dcaron:"\u010E",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",delta:"\u03B4",Delta:"\u0394",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",Dfr:"\u{1D507}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",Dopf:"\u{1D53B}",dot:"\u02D9",Dot:"\xA8",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21D3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",Dscr:"\u{1D49F}",dscy:"\u0455",DScy:"\u0405",dsol:"\u29F6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",DZcy:"\u040F",dzigrarr:"\u27FF",eacute:"\xE9",Eacute:"\xC9",easter:"\u2A6E",ecaron:"\u011B",Ecaron:"\u011A",ecir:"\u2256",ecirc:"\xEA",Ecirc:"\xCA",ecolon:"\u2255",ecy:"\u044D",Ecy:"\u042D",eDDot:"\u2A77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",Efr:"\u{1D508}",eg:"\u2A9A",egrave:"\xE8",Egrave:"\xC8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014B",ENG:"\u014A",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\u{1D556}",Eopf:"\u{1D53C}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",Epsilon:"\u0395",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2A73",eta:"\u03B7",Eta:"\u0397",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",Ffr:"\u{1D509}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",Fopf:"\u{1D53D}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",gamma:"\u03B3",Gamma:"\u0393",gammad:"\u03DD",Gammad:"\u03DC",gap:"\u2A86",gbreve:"\u011F",Gbreve:"\u011E",Gcedil:"\u0122",gcirc:"\u011D",Gcirc:"\u011C",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22DB",gEl:"\u2A8C",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",Gfr:"\u{1D50A}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",Gopf:"\u{1D53E}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",gscr:"\u210A",Gscr:"\u{1D4A2}",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",Gt:"\u226B",GT:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",HARDcy:"\u042A",harr:"\u2194",hArr:"\u21D4",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",Iacute:"\xCD",ic:"\u2063",icirc:"\xEE",Icirc:"\xCE",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",igrave:"\xEC",Igrave:"\xCC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012B",Imacr:"\u012A",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",Int:"\u222C",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012F",Iogon:"\u012E",iopf:"\u{1D55A}",Iopf:"\u{1D540}",iota:"\u03B9",Iota:"\u0399",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xEF",Iuml:"\xCF",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\u{1D527}",Jfr:"\u{1D50D}",jmath:"\u0237",jopf:"\u{1D55B}",Jopf:"\u{1D541}",jscr:"\u{1D4BF}",Jscr:"\u{1D4A5}",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03BA",Kappa:"\u039A",kappav:"\u03F0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043A",Kcy:"\u041A",kfr:"\u{1D528}",Kfr:"\u{1D50E}",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045C",KJcy:"\u040C",kopf:"\u{1D55C}",Kopf:"\u{1D542}",kscr:"\u{1D4C0}",Kscr:"\u{1D4A6}",lAarr:"\u21DA",lacute:"\u013A",Lacute:"\u0139",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",Lambda:"\u039B",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larr:"\u2190",lArr:"\u21D0",Larr:"\u219E",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",lAtail:"\u291B",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",Lcaron:"\u013D",lcedil:"\u013C",Lcedil:"\u013B",lceil:"\u2308",lcub:"{",lcy:"\u043B",Lcy:"\u041B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",leftarrow:"\u2190",Leftarrow:"\u21D0",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",Leftrightarrow:"\u21D4",LeftRightArrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",leg:"\u22DA",lEg:"\u2A8B",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",Lfr:"\u{1D50F}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226A",Ll:"\u22D8",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",Lmidot:"\u013F",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",Longleftarrow:"\u27F8",LongLeftArrow:"\u27F5",longleftrightarrow:"\u27F7",Longleftrightarrow:"\u27FA",LongLeftRightArrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",Longrightarrow:"\u27F9",LongRightArrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",Lopf:"\u{1D543}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226A",LT:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",Map:"\u2905",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",Mcy:"\u041C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",mfr:"\u{1D52A}",Mfr:"\u{1D510}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",Mopf:"\u{1D544}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",mu:"\u03BC",Mu:"\u039C",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",Ncy:"\u041D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
`,nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",Nfr:"\u{1D511}",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",ngt:"\u226F",nGt:"\u226B\u20D2",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",NJcy:"\u040A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nlt:"\u226E",nLt:"\u226A\u20D2",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",not:"\xAC",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",Nscr:"\u{1D4A9}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2AC5\u0338",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2AC6\u0338",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",Ntilde:"\xD1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",Nu:"\u039D",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xF3",Oacute:"\xD3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",Ocirc:"\xD4",ocy:"\u043E",Ocy:"\u041E",odash:"\u229D",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29BF",ofr:"\u{1D52C}",Ofr:"\u{1D512}",ogon:"\u02DB",ograve:"\xF2",Ograve:"\xD2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",Omacr:"\u014C",omega:"\u03C9",Omega:"\u03A9",omicron:"\u03BF",Omicron:"\u039F",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",Oopf:"\u{1D546}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",or:"\u2228",Or:"\u2A54",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",oscr:"\u2134",Oscr:"\u{1D4AA}",oslash:"\xF8",Oslash:"\xD8",osol:"\u2298",otilde:"\xF5",Otilde:"\xD5",otimes:"\u2297",Otimes:"\u2A37",otimesas:"\u2A36",ouml:"\xF6",Ouml:"\xD6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",pcy:"\u043F",Pcy:"\u041F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",Pfr:"\u{1D513}",phi:"\u03C6",Phi:"\u03A6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",Pi:"\u03A0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",pr:"\u227A",Pr:"\u2ABB",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prE:"\u2AB3",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",Pscr:"\u{1D4AB}",psi:"\u03C8",Psi:"\u03A8",puncsp:"\u2008",qfr:"\u{1D52E}",Qfr:"\u{1D514}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",qscr:"\u{1D4C6}",Qscr:"\u{1D4AC}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rArr:"\u21D2",Rarr:"\u21A0",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",Rarrtl:"\u2916",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",Rho:"\u03A1",rhov:"\u03F1",RightAngleBracket:"\u27E9",rightarrow:"\u2192",Rightarrow:"\u21D2",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",Sacute:"\u015A",sbquo:"\u201A",sc:"\u227B",Sc:"\u2ABC",scap:"\u2AB8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",scedil:"\u015F",Scedil:"\u015E",scirc:"\u015D",Scirc:"\u015C",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",Scy:"\u0421",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",Sfr:"\u{1D516}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",sigma:"\u03C3",Sigma:"\u03A3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",SOFTcy:"\u042C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",Sopf:"\u{1D54A}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",Sscr:"\u{1D4AE}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",Star:"\u22C6",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",sube:"\u2286",subE:"\u2AC5",subedot:"\u2AC3",submult:"\u2AC1",subne:"\u228A",subnE:"\u2ACB",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup:"\u2283",Sup:"\u22D1",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supE:"\u2AC6",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supne:"\u228B",supnE:"\u2ACC",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:"	",target:"\u2316",tau:"\u03C4",Tau:"\u03A4",tbrk:"\u23B4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",Tfr:"\u{1D517}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03B8",Theta:"\u0398",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",THORN:"\xDE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",Topf:"\u{1D54B}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",Tscr:"\u{1D4AF}",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045B",TSHcy:"\u040B",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uacute:"\xFA",Uacute:"\xDA",uarr:"\u2191",uArr:"\u21D1",Uarr:"\u219F",Uarrocir:"\u2949",ubrcy:"\u045E",Ubrcy:"\u040E",ubreve:"\u016D",Ubreve:"\u016C",ucirc:"\xFB",Ucirc:"\xDB",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21C5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",Ufr:"\u{1D518}",ugrave:"\xF9",Ugrave:"\xD9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",Umacr:"\u016A",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",uogon:"\u0173",Uogon:"\u0172",uopf:"\u{1D566}",Uopf:"\u{1D54C}",uparrow:"\u2191",Uparrow:"\u21D1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",Updownarrow:"\u21D5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",upsilon:"\u03C5",Upsilon:"\u03A5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",Uring:"\u016E",urtri:"\u25F9",uscr:"\u{1D4CA}",Uscr:"\u{1D4B0}",utdot:"\u22F0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",Uuml:"\xDC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",vee:"\u2228",Vee:"\u22C1",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",vfr:"\u{1D533}",Vfr:"\u{1D519}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",Vopf:"\u{1D54D}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",Vscr:"\u{1D4B1}",vsubne:"\u228A\uFE00",vsubnE:"\u2ACB\uFE00",vsupne:"\u228B\uFE00",vsupnE:"\u2ACC\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",Wfr:"\u{1D51A}",wopf:"\u{1D568}",Wopf:"\u{1D54E}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",Wscr:"\u{1D4B2}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",Xfr:"\u{1D51B}",xharr:"\u27F7",xhArr:"\u27FA",xi:"\u03BE",Xi:"\u039E",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",Xopf:"\u{1D54F}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",xscr:"\u{1D4CD}",Xscr:"\u{1D4B3}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",Yacute:"\xDD",yacy:"\u044F",YAcy:"\u042F",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044B",Ycy:"\u042B",yen:"\xA5",yfr:"\u{1D536}",Yfr:"\u{1D51C}",yicy:"\u0457",YIcy:"\u0407",yopf:"\u{1D56A}",Yopf:"\u{1D550}",yscr:"\u{1D4CE}",Yscr:"\u{1D4B4}",yucy:"\u044E",YUcy:"\u042E",yuml:"\xFF",Yuml:"\u0178",zacute:"\u017A",Zacute:"\u0179",zcaron:"\u017E",Zcaron:"\u017D",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017C",Zdot:"\u017B",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",zeta:"\u03B6",Zeta:"\u0396",zfr:"\u{1D537}",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",zscr:"\u{1D4CF}",Zscr:"\u{1D4B5}",zwj:"\u200D",zwnj:"\u200C"},P={aacute:"\xE1",Aacute:"\xC1",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",aelig:"\xE6",AElig:"\xC6",agrave:"\xE0",Agrave:"\xC0",amp:"&",AMP:"&",aring:"\xE5",Aring:"\xC5",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",brvbar:"\xA6",ccedil:"\xE7",Ccedil:"\xC7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",eacute:"\xE9",Eacute:"\xC9",ecirc:"\xEA",Ecirc:"\xCA",egrave:"\xE8",Egrave:"\xC8",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",iacute:"\xED",Iacute:"\xCD",icirc:"\xEE",Icirc:"\xCE",iexcl:"\xA1",igrave:"\xEC",Igrave:"\xCC",iquest:"\xBF",iuml:"\xEF",Iuml:"\xCF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",ntilde:"\xF1",Ntilde:"\xD1",oacute:"\xF3",Oacute:"\xD3",ocirc:"\xF4",Ocirc:"\xD4",ograve:"\xF2",Ograve:"\xD2",ordf:"\xAA",ordm:"\xBA",oslash:"\xF8",Oslash:"\xD8",otilde:"\xF5",Otilde:"\xD5",ouml:"\xF6",Ouml:"\xD6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",thorn:"\xFE",THORN:"\xDE",times:"\xD7",uacute:"\xFA",Uacute:"\xDA",ucirc:"\xFB",Ucirc:"\xDB",ugrave:"\xF9",Ugrave:"\xD9",uml:"\xA8",uuml:"\xFC",Uuml:"\xDC",yacute:"\xFD",Yacute:"\xDD",yen:"\xA5",yuml:"\xFF"},C={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"},A=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],S=String.fromCharCode,T={},s=T.hasOwnProperty,v=function(R,U){return s.call(R,U)},m=function(R,U){for(var j=-1,$=R.length;++j<$;)if(R[j]==U)return!0;return!1},E=function(R,U){if(!R)return U;var j={},$;for($ in U)j[$]=v(R,$)?R[$]:U[$];return j},I=function(R,U){var j="";return R>=55296&&R<=57343||R>1114111?(U&&F("character reference outside the permissible Unicode range"),"\uFFFD"):v(C,R)?(U&&F("disallowed character reference"),C[R]):(U&&m(A,R)&&F("disallowed character reference"),R>65535&&(R-=65536,j+=S(R>>>10&1023|55296),R=56320|R&1023),j+=S(R),j)},L=function(R){return"&#x"+R.toString(16).toUpperCase()+";"},W=function(R){return"&#"+R+";"},F=function(R){throw Error("Parse error: "+R)},G=function(R,U){U=E(U,G.options);var j=U.strict;j&&p.test(R)&&F("forbidden code point");var $=U.encodeEverything,ee=U.useNamedReferences,te=U.allowUnsafeSymbols,ie=U.decimal?W:L,ne=function(pe){return ie(pe.charCodeAt(0))};return $?(R=R.replace(c,function(pe){return ee&&v(d,pe)?"&"+d[pe]+";":ne(pe)}),ee&&(R=R.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),ee&&(R=R.replace(f,function(pe){return"&"+d[pe]+";"}))):ee?(te||(R=R.replace(h,function(pe){return"&"+d[pe]+";"})),R=R.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;"),R=R.replace(f,function(pe){return"&"+d[pe]+";"})):te||(R=R.replace(h,ne)),R.replace(i,function(pe){var oe=pe.charCodeAt(0),q=pe.charCodeAt(1),J=(oe-55296)*1024+q-56320+65536;return ie(J)}).replace(u,ne)};G.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var k=function(R,U){U=E(U,k.options);var j=U.strict;return j&&_.test(R)&&F("malformed character reference"),R.replace(y,function($,ee,te,ie,ne,pe,oe,q,J){var me,re,he,Ee,fe,H;return ee?(fe=ee,O[fe]):te?(fe=te,H=ie,H&&U.isAttributeValue?(j&&H=="="&&F("`&` did not start a character reference"),$):(j&&F("named character reference was not terminated by a semicolon"),P[fe]+(H||""))):ne?(he=ne,re=pe,j&&!re&&F("character reference was not terminated by a semicolon"),me=parseInt(he,10),I(me,j)):oe?(Ee=oe,re=q,j&&!re&&F("character reference was not terminated by a semicolon"),me=parseInt(Ee,16),I(me,j)):(j&&F("named character reference was not terminated by a semicolon"),$)})};k.options={isAttributeValue:!1,strict:!1};var x=function(R){return R.replace(h,function(U){return g[U]})},M={version:"1.2.0",encode:G,decode:k,escape:x,unescape:k};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd)define(function(){return M});else if(o&&!o.nodeType)if(n)n.exports=M;else for(var B in M)v(M,B)&&(o[B]=M[B]);else r.he=M})(this)},192628:function(b,l,e){"use strict";var r=e(870752),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[r.ForwardRef]=a,c[r.Memo]=i;function u(O){return r.isMemo(O)?i:c[O.$$typeof]||o}var f=Object.defineProperty,d=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,_=Object.getPrototypeOf,p=Object.prototype;function y(O,P,C){if(typeof P!="string"){if(p){var A=_(P);A&&A!==p&&y(O,A,C)}var S=d(P);h&&(S=S.concat(h(P)));for(var T=u(O),s=u(P),v=0;v<S.length;++v){var m=S[v];if(!n[m]&&!(C&&C[m])&&!(s&&s[m])&&!(T&&T[m])){var E=g(P,m);try{f(O,m,E)}catch{}}}}return O}b.exports=y},941834:function(b){(function(l,e){b.exports=e()})(this,function(){"use strict";var l=Array.prototype.slice;function e(ke,Jt){Jt&&(ke.prototype=Object.create(Jt.prototype)),ke.prototype.constructor=ke}function r(ke){return i(ke)?ke:me(ke)}e(o,r);function o(ke){return c(ke)?ke:re(ke)}e(n,r);function n(ke){return u(ke)?ke:he(ke)}e(a,r);function a(ke){return i(ke)&&!f(ke)?ke:Ee(ke)}function i(ke){return!!(ke&&ke[h])}function c(ke){return!!(ke&&ke[g])}function u(ke){return!!(ke&&ke[_])}function f(ke){return c(ke)||u(ke)}function d(ke){return!!(ke&&ke[p])}r.isIterable=i,r.isKeyed=c,r.isIndexed=u,r.isAssociative=f,r.isOrdered=d,r.Keyed=o,r.Indexed=n,r.Set=a;var h="@@__IMMUTABLE_ITERABLE__@@",g="@@__IMMUTABLE_KEYED__@@",_="@@__IMMUTABLE_INDEXED__@@",p="@@__IMMUTABLE_ORDERED__@@",y="delete",O=5,P=1<<O,C=P-1,A={},S={value:!1},T={value:!1};function s(ke){return ke.value=!1,ke}function v(ke){ke&&(ke.value=!0)}function m(){}function E(ke,Jt){Jt=Jt||0;for(var Fn=Math.max(0,ke.length-Jt),mr=new Array(Fn),Tr=0;Tr<Fn;Tr++)mr[Tr]=ke[Tr+Jt];return mr}function I(ke){return ke.size===void 0&&(ke.size=ke.__iterate(W)),ke.size}function L(ke,Jt){if(typeof Jt!="number"){var Fn=Jt>>>0;if(""+Fn!==Jt||Fn===4294967295)return NaN;Jt=Fn}return Jt<0?I(ke)+Jt:Jt}function W(){return!0}function F(ke,Jt,Fn){return(ke===0||Fn!==void 0&&ke<=-Fn)&&(Jt===void 0||Fn!==void 0&&Jt>=Fn)}function G(ke,Jt){return x(ke,Jt,0)}function k(ke,Jt){return x(ke,Jt,Jt)}function x(ke,Jt,Fn){return ke===void 0?Fn:ke<0?Math.max(0,Jt+ke):Jt===void 0?ke:Math.min(Jt,ke)}var M=0,B=1,R=2,U=typeof Symbol=="function"&&Symbol.iterator,j="@@iterator",$=U||j;function ee(ke){this.next=ke}ee.prototype.toString=function(){return"[Iterator]"},ee.KEYS=M,ee.VALUES=B,ee.ENTRIES=R,ee.prototype.inspect=ee.prototype.toSource=function(){return this.toString()},ee.prototype[$]=function(){return this};function te(ke,Jt,Fn,mr){var Tr=ke===0?Jt:ke===1?Fn:[Jt,Fn];return mr?mr.value=Tr:mr={value:Tr,done:!1},mr}function ie(){return{value:void 0,done:!0}}function ne(ke){return!!q(ke)}function pe(ke){return ke&&typeof ke.next=="function"}function oe(ke){var Jt=q(ke);return Jt&&Jt.call(ke)}function q(ke){var Jt=ke&&(U&&ke[U]||ke[j]);if(typeof Jt=="function")return Jt}function J(ke){return ke&&typeof ke.length=="number"}e(me,r);function me(ke){return ke==null?Ke():i(ke)?ke.toSeq():Le(ke)}me.of=function(){return me(arguments)},me.prototype.toSeq=function(){return this},me.prototype.toString=function(){return this.__toString("Seq {","}")},me.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},me.prototype.__iterate=function(ke,Jt){return Xe(this,ke,Jt,!0)},me.prototype.__iterator=function(ke,Jt){return Fe(this,ke,Jt,!0)},e(re,me);function re(ke){return ke==null?Ke().toKeyedSeq():i(ke)?c(ke)?ke.toSeq():ke.fromEntrySeq():He(ke)}re.prototype.toKeyedSeq=function(){return this},e(he,me);function he(ke){return ke==null?Ke():i(ke)?c(ke)?ke.entrySeq():ke.toIndexedSeq():ye(ke)}he.of=function(){return he(arguments)},he.prototype.toIndexedSeq=function(){return this},he.prototype.toString=function(){return this.__toString("Seq [","]")},he.prototype.__iterate=function(ke,Jt){return Xe(this,ke,Jt,!1)},he.prototype.__iterator=function(ke,Jt){return Fe(this,ke,Jt,!1)},e(Ee,me);function Ee(ke){return(ke==null?Ke():i(ke)?c(ke)?ke.entrySeq():ke:ye(ke)).toSetSeq()}Ee.of=function(){return Ee(arguments)},Ee.prototype.toSetSeq=function(){return this},me.isSeq=ge,me.Keyed=re,me.Set=Ee,me.Indexed=he;var fe="@@__IMMUTABLE_SEQ__@@";me.prototype[fe]=!0,e(H,he);function H(ke){this._array=ke,this.size=ke.length}H.prototype.get=function(ke,Jt){return this.has(ke)?this._array[L(this,ke)]:Jt},H.prototype.__iterate=function(ke,Jt){for(var Fn=this._array,mr=Fn.length-1,Tr=0;Tr<=mr;Tr++)if(ke(Fn[Jt?mr-Tr:Tr],Tr,this)===!1)return Tr+1;return Tr},H.prototype.__iterator=function(ke,Jt){var Fn=this._array,mr=Fn.length-1,Tr=0;return new ee(function(){return Tr>mr?ie():te(ke,Tr,Fn[Jt?mr-Tr++:Tr++])})},e(z,re);function z(ke){var Jt=Object.keys(ke);this._object=ke,this._keys=Jt,this.size=Jt.length}z.prototype.get=function(ke,Jt){return Jt!==void 0&&!this.has(ke)?Jt:this._object[ke]},z.prototype.has=function(ke){return this._object.hasOwnProperty(ke)},z.prototype.__iterate=function(ke,Jt){for(var Fn=this._object,mr=this._keys,Tr=mr.length-1,Oo=0;Oo<=Tr;Oo++){var Uo=mr[Jt?Tr-Oo:Oo];if(ke(Fn[Uo],Uo,this)===!1)return Oo+1}return Oo},z.prototype.__iterator=function(ke,Jt){var Fn=this._object,mr=this._keys,Tr=mr.length-1,Oo=0;return new ee(function(){var Uo=mr[Jt?Tr-Oo:Oo];return Oo++>Tr?ie():te(ke,Uo,Fn[Uo])})},z.prototype[p]=!0,e(_e,he);function _e(ke){this._iterable=ke,this.size=ke.length||ke.size}_e.prototype.__iterateUncached=function(ke,Jt){if(Jt)return this.cacheResult().__iterate(ke,Jt);var Fn=this._iterable,mr=oe(Fn),Tr=0;if(pe(mr))for(var Oo;!(Oo=mr.next()).done&&ke(Oo.value,Tr++,this)!==!1;);return Tr},_e.prototype.__iteratorUncached=function(ke,Jt){if(Jt)return this.cacheResult().__iterator(ke,Jt);var Fn=this._iterable,mr=oe(Fn);if(!pe(mr))return new ee(ie);var Tr=0;return new ee(function(){var Oo=mr.next();return Oo.done?Oo:te(ke,Tr++,Oo.value)})},e(ae,he);function ae(ke){this._iterator=ke,this._iteratorCache=[]}ae.prototype.__iterateUncached=function(ke,Jt){if(Jt)return this.cacheResult().__iterate(ke,Jt);for(var Fn=this._iterator,mr=this._iteratorCache,Tr=0;Tr<mr.length;)if(ke(mr[Tr],Tr++,this)===!1)return Tr;for(var Oo;!(Oo=Fn.next()).done;){var Uo=Oo.value;if(mr[Tr]=Uo,ke(Uo,Tr++,this)===!1)break}return Tr},ae.prototype.__iteratorUncached=function(ke,Jt){if(Jt)return this.cacheResult().__iterator(ke,Jt);var Fn=this._iterator,mr=this._iteratorCache,Tr=0;return new ee(function(){if(Tr>=mr.length){var Oo=Fn.next();if(Oo.done)return Oo;mr[Tr]=Oo.value}return te(ke,Tr,mr[Tr++])})};function ge(ke){return!!(ke&&ke[fe])}var Be;function Ke(){return Be||(Be=new H([]))}function He(ke){var Jt=Array.isArray(ke)?new H(ke).fromEntrySeq():pe(ke)?new ae(ke).fromEntrySeq():ne(ke)?new _e(ke).fromEntrySeq():typeof ke=="object"?new z(ke):void 0;if(!Jt)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+ke);return Jt}function ye(ke){var Jt=Ue(ke);if(!Jt)throw new TypeError("Expected Array or iterable object of values: "+ke);return Jt}function Le(ke){var Jt=Ue(ke)||typeof ke=="object"&&new z(ke);if(!Jt)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+ke);return Jt}function Ue(ke){return J(ke)?new H(ke):pe(ke)?new ae(ke):ne(ke)?new _e(ke):void 0}function Xe(ke,Jt,Fn,mr){var Tr=ke._cache;if(Tr){for(var Oo=Tr.length-1,Uo=0;Uo<=Oo;Uo++){var gt=Tr[Fn?Oo-Uo:Uo];if(Jt(gt[1],mr?gt[0]:Uo,ke)===!1)return Uo+1}return Uo}return ke.__iterateUncached(Jt,Fn)}function Fe(ke,Jt,Fn,mr){var Tr=ke._cache;if(Tr){var Oo=Tr.length-1,Uo=0;return new ee(function(){var gt=Tr[Fn?Oo-Uo:Uo];return Uo++>Oo?ie():te(Jt,mr?gt[0]:Uo-1,gt[1])})}return ke.__iteratorUncached(Jt,Fn)}function ht(ke,Jt){return Jt?Ne(Jt,ke,"",{"":ke}):Ce(ke)}function Ne(ke,Jt,Fn,mr){return Array.isArray(Jt)?ke.call(mr,Fn,he(Jt).map(function(Tr,Oo){return Ne(ke,Tr,Oo,Jt)})):we(Jt)?ke.call(mr,Fn,re(Jt).map(function(Tr,Oo){return Ne(ke,Tr,Oo,Jt)})):Jt}function Ce(ke){return Array.isArray(ke)?he(ke).map(Ce).toList():we(ke)?re(ke).map(Ce).toMap():ke}function we(ke){return ke&&(ke.constructor===Object||ke.constructor===void 0)}function $e(ke,Jt){if(ke===Jt||ke!==ke&&Jt!==Jt)return!0;if(!ke||!Jt)return!1;if(typeof ke.valueOf=="function"&&typeof Jt.valueOf=="function"){if(ke=ke.valueOf(),Jt=Jt.valueOf(),ke===Jt||ke!==ke&&Jt!==Jt)return!0;if(!ke||!Jt)return!1}return!!(typeof ke.equals=="function"&&typeof Jt.equals=="function"&&ke.equals(Jt))}function Ot(ke,Jt){if(ke===Jt)return!0;if(!i(Jt)||ke.size!==void 0&&Jt.size!==void 0&&ke.size!==Jt.size||ke.__hash!==void 0&&Jt.__hash!==void 0&&ke.__hash!==Jt.__hash||c(ke)!==c(Jt)||u(ke)!==u(Jt)||d(ke)!==d(Jt))return!1;if(ke.size===0&&Jt.size===0)return!0;var Fn=!f(ke);if(d(ke)){var mr=ke.entries();return Jt.every(function(it,Lt){var $t=mr.next().value;return $t&&$e($t[1],it)&&(Fn||$e($t[0],Lt))})&&mr.next().done}var Tr=!1;if(ke.size===void 0)if(Jt.size===void 0)typeof ke.cacheResult=="function"&&ke.cacheResult();else{Tr=!0;var Oo=ke;ke=Jt,Jt=Oo}var Uo=!0,gt=Jt.__iterate(function(it,Lt){if(Fn?!ke.has(it):Tr?!$e(it,ke.get(Lt,A)):!$e(ke.get(Lt,A),it))return Uo=!1,!1});return Uo&&ke.size===gt}e(Pt,he);function Pt(ke,Jt){if(!(this instanceof Pt))return new Pt(ke,Jt);if(this._value=ke,this.size=Jt===void 0?1/0:Math.max(0,Jt),this.size===0){if(Ie)return Ie;Ie=this}}Pt.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Pt.prototype.get=function(ke,Jt){return this.has(ke)?this._value:Jt},Pt.prototype.includes=function(ke){return $e(this._value,ke)},Pt.prototype.slice=function(ke,Jt){var Fn=this.size;return F(ke,Jt,Fn)?this:new Pt(this._value,k(Jt,Fn)-G(ke,Fn))},Pt.prototype.reverse=function(){return this},Pt.prototype.indexOf=function(ke){return $e(this._value,ke)?0:-1},Pt.prototype.lastIndexOf=function(ke){return $e(this._value,ke)?this.size:-1},Pt.prototype.__iterate=function(ke,Jt){for(var Fn=0;Fn<this.size;Fn++)if(ke(this._value,Fn,this)===!1)return Fn+1;return Fn},Pt.prototype.__iterator=function(ke,Jt){var Fn=this,mr=0;return new ee(function(){return mr<Fn.size?te(ke,mr++,Fn._value):ie()})},Pt.prototype.equals=function(ke){return ke instanceof Pt?$e(this._value,ke._value):Ot(ke)};var Ie;function Bt(ke,Jt){if(!ke)throw new Error(Jt)}e(mt,he);function mt(ke,Jt,Fn){if(!(this instanceof mt))return new mt(ke,Jt,Fn);if(Bt(Fn!==0,"Cannot step a Range by 0"),ke=ke||0,Jt===void 0&&(Jt=1/0),Fn=Fn===void 0?1:Math.abs(Fn),Jt<ke&&(Fn=-Fn),this._start=ke,this._end=Jt,this._step=Fn,this.size=Math.max(0,Math.ceil((Jt-ke)/Fn-1)+1),this.size===0){if(rt)return rt;rt=this}}mt.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},mt.prototype.get=function(ke,Jt){return this.has(ke)?this._start+L(this,ke)*this._step:Jt},mt.prototype.includes=function(ke){var Jt=(ke-this._start)/this._step;return Jt>=0&&Jt<this.size&&Jt===Math.floor(Jt)},mt.prototype.slice=function(ke,Jt){return F(ke,Jt,this.size)?this:(ke=G(ke,this.size),Jt=k(Jt,this.size),Jt<=ke?new mt(0,0):new mt(this.get(ke,this._end),this.get(Jt,this._end),this._step))},mt.prototype.indexOf=function(ke){var Jt=ke-this._start;if(Jt%this._step===0){var Fn=Jt/this._step;if(Fn>=0&&Fn<this.size)return Fn}return-1},mt.prototype.lastIndexOf=function(ke){return this.indexOf(ke)},mt.prototype.__iterate=function(ke,Jt){for(var Fn=this.size-1,mr=this._step,Tr=Jt?this._start+Fn*mr:this._start,Oo=0;Oo<=Fn;Oo++){if(ke(Tr,Oo,this)===!1)return Oo+1;Tr+=Jt?-mr:mr}return Oo},mt.prototype.__iterator=function(ke,Jt){var Fn=this.size-1,mr=this._step,Tr=Jt?this._start+Fn*mr:this._start,Oo=0;return new ee(function(){var Uo=Tr;return Tr+=Jt?-mr:mr,Oo>Fn?ie():te(ke,Oo++,Uo)})},mt.prototype.equals=function(ke){return ke instanceof mt?this._start===ke._start&&this._end===ke._end&&this._step===ke._step:Ot(this,ke)};var rt;e(ce,r);function ce(){throw TypeError("Abstract")}e(Re,ce);function Re(){}e(nt,ce);function nt(){}e(st,ce);function st(){}ce.Keyed=Re,ce.Indexed=nt,ce.Set=st;var vt=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(Jt,Fn){Jt=Jt|0,Fn=Fn|0;var mr=Jt&65535,Tr=Fn&65535;return mr*Tr+((Jt>>>16)*Tr+mr*(Fn>>>16)<<16>>>0)|0};function ze(ke){return ke>>>1&1073741824|ke&3221225471}function It(ke){if(ke===!1||ke===null||ke===void 0||typeof ke.valueOf=="function"&&(ke=ke.valueOf(),ke===!1||ke===null||ke===void 0))return 0;if(ke===!0)return 1;var Jt=typeof ke;if(Jt==="number"){var Fn=ke|0;for(Fn!==ke&&(Fn^=ke*4294967295);ke>4294967295;)ke/=4294967295,Fn^=ke;return ze(Fn)}if(Jt==="string")return ke.length>jn?on(ke):Pn(ke);if(typeof ke.hashCode=="function")return ke.hashCode();if(Jt==="object")return Yn(ke);if(typeof ke.toString=="function")return Pn(ke.toString());throw new Error("Value type "+Jt+" cannot be hashed.")}function on(ke){var Jt=cn[ke];return Jt===void 0&&(Jt=Pn(ke),Nn===Tn&&(Nn=0,cn={}),Nn++,cn[ke]=Jt),Jt}function Pn(ke){for(var Jt=0,Fn=0;Fn<ke.length;Fn++)Jt=31*Jt+ke.charCodeAt(Fn)|0;return ze(Jt)}function Yn(ke){var Jt;if(Zn&&(Jt=$n.get(ke),Jt!==void 0)||(Jt=ke[Rn],Jt!==void 0)||!bn&&(Jt=ke.propertyIsEnumerable&&ke.propertyIsEnumerable[Rn],Jt!==void 0||(Jt=ir(ke),Jt!==void 0)))return Jt;if(Jt=++jt,jt&1073741824&&(jt=0),Zn)$n.set(ke,Jt);else{if(Ln!==void 0&&Ln(ke)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(bn)Object.defineProperty(ke,Rn,{enumerable:!1,configurable:!1,writable:!1,value:Jt});else if(ke.propertyIsEnumerable!==void 0&&ke.propertyIsEnumerable===ke.constructor.prototype.propertyIsEnumerable)ke.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},ke.propertyIsEnumerable[Rn]=Jt;else if(ke.nodeType!==void 0)ke[Rn]=Jt;else throw new Error("Unable to set a non-enumerable property on object.")}return Jt}var Ln=Object.isExtensible,bn=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();function ir(ke){if(ke&&ke.nodeType>0)switch(ke.nodeType){case 1:return ke.uniqueID;case 9:return ke.documentElement&&ke.documentElement.uniqueID}}var Zn=typeof WeakMap=="function",$n;Zn&&($n=new WeakMap);var jt=0,Rn="__immutablehash__";typeof Symbol=="function"&&(Rn=Symbol(Rn));var jn=16,Tn=255,Nn=0,cn={};function or(ke){Bt(ke!==1/0,"Cannot perform this action with an infinite size.")}e(qn,Re);function qn(ke){return ke==null?Vt():Hr(ke)&&!d(ke)?ke:Vt().withMutations(function(Jt){var Fn=o(ke);or(Fn.size),Fn.forEach(function(mr,Tr){return Jt.set(Tr,mr)})})}qn.prototype.toString=function(){return this.__toString("Map {","}")},qn.prototype.get=function(ke,Jt){return this._root?this._root.get(0,void 0,ke,Jt):Jt},qn.prototype.set=function(ke,Jt){return Dn(this,ke,Jt)},qn.prototype.setIn=function(ke,Jt){return this.updateIn(ke,A,function(){return Jt})},qn.prototype.remove=function(ke){return Dn(this,ke,A)},qn.prototype.deleteIn=function(ke){return this.updateIn(ke,function(){return A})},qn.prototype.update=function(ke,Jt,Fn){return arguments.length===1?ke(this):this.updateIn([ke],Jt,Fn)},qn.prototype.updateIn=function(ke,Jt,Fn){Fn||(Fn=Jt,Jt=void 0);var mr=In(this,Lo(ke),Jt,Fn);return mr===A?void 0:mr},qn.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Vt()},qn.prototype.merge=function(){return kt(this,void 0,arguments)},qn.prototype.mergeWith=function(ke){var Jt=l.call(arguments,1);return kt(this,ke,Jt)},qn.prototype.mergeIn=function(ke){var Jt=l.call(arguments,1);return this.updateIn(ke,Vt(),function(Fn){return typeof Fn.merge=="function"?Fn.merge.apply(Fn,Jt):Jt[Jt.length-1]})},qn.prototype.mergeDeep=function(){return kt(this,ut,arguments)},qn.prototype.mergeDeepWith=function(ke){var Jt=l.call(arguments,1);return kt(this,Ft(ke),Jt)},qn.prototype.mergeDeepIn=function(ke){var Jt=l.call(arguments,1);return this.updateIn(ke,Vt(),function(Fn){return typeof Fn.mergeDeep=="function"?Fn.mergeDeep.apply(Fn,Jt):Jt[Jt.length-1]})},qn.prototype.sort=function(ke){return Ht(To(this,ke))},qn.prototype.sortBy=function(ke,Jt){return Ht(To(this,Jt,ke))},qn.prototype.withMutations=function(ke){var Jt=this.asMutable();return ke(Jt),Jt.wasAltered()?Jt.__ensureOwner(this.__ownerID):this},qn.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new m)},qn.prototype.asImmutable=function(){return this.__ensureOwner()},qn.prototype.wasAltered=function(){return this.__altered},qn.prototype.__iterator=function(ke,Jt){return new Qt(this,ke,Jt)},qn.prototype.__iterate=function(ke,Jt){var Fn=this,mr=0;return this._root&&this._root.iterate(function(Tr){return mr++,ke(Tr[1],Tr[0],Fn)},Jt),mr},qn.prototype.__ensureOwner=function(ke){return ke===this.__ownerID?this:ke?Gt(this.size,this._root,ke,this.__hash):(this.__ownerID=ke,this.__altered=!1,this)};function Hr(ke){return!!(ke&&ke[fo])}qn.isMap=Hr;var fo="@@__IMMUTABLE_MAP__@@",Jr=qn.prototype;Jr[fo]=!0,Jr[y]=Jr.remove,Jr.removeIn=Jr.deleteIn;function ro(ke,Jt){this.ownerID=ke,this.entries=Jt}ro.prototype.get=function(ke,Jt,Fn,mr){for(var Tr=this.entries,Oo=0,Uo=Tr.length;Oo<Uo;Oo++)if($e(Fn,Tr[Oo][0]))return Tr[Oo][1];return mr},ro.prototype.update=function(ke,Jt,Fn,mr,Tr,Oo,Uo){for(var gt=Tr===A,it=this.entries,Lt=0,$t=it.length;Lt<$t&&!$e(mr,it[Lt][0]);Lt++);var _n=Lt<$t;if(_n?it[Lt][1]===Tr:gt)return this;if(v(Uo),(gt||!_n)&&v(Oo),!(gt&&it.length===1)){if(!_n&&!gt&&it.length>=Mn)return Ae(ke,it,mr,Tr);var dn=ke&&ke===this.ownerID,Jn=dn?it:E(it);return _n?gt?Lt===$t-1?Jn.pop():Jn[Lt]=Jn.pop():Jn[Lt]=[mr,Tr]:Jn.push([mr,Tr]),dn?(this.entries=Jn,this):new ro(ke,Jn)}};function Xt(ke,Jt,Fn){this.ownerID=ke,this.bitmap=Jt,this.nodes=Fn}Xt.prototype.get=function(ke,Jt,Fn,mr){Jt===void 0&&(Jt=It(Fn));var Tr=1<<((ke===0?Jt:Jt>>>ke)&C),Oo=this.bitmap;return Oo&Tr?this.nodes[rr(Oo&Tr-1)].get(ke+O,Jt,Fn,mr):mr},Xt.prototype.update=function(ke,Jt,Fn,mr,Tr,Oo,Uo){Fn===void 0&&(Fn=It(mr));var gt=(Jt===0?Fn:Fn>>>Jt)&C,it=1<<gt,Lt=this.bitmap,$t=(Lt&it)!==0;if(!$t&&Tr===A)return this;var _n=rr(Lt&it-1),dn=this.nodes,Jn=$t?dn[_n]:void 0,Hn=Wt(Jn,ke,Jt+O,Fn,mr,Tr,Oo,Uo);if(Hn===Jn)return this;if(!$t&&Hn&&dn.length>=sr)return wt(ke,dn,Lt,gt,Hn);if($t&&!Hn&&dn.length===2&&Pe(dn[_n^1]))return dn[_n^1];if($t&&Hn&&dn.length===1&&Pe(Hn))return Hn;var jr=ke&&ke===this.ownerID,wo=$t?Hn?Lt:Lt^it:Lt|it,ko=$t?Hn?Sr(dn,_n,Hn,jr):Pr(dn,_n,jr):Yr(dn,_n,Hn,jr);return jr?(this.bitmap=wo,this.nodes=ko,this):new Xt(ke,wo,ko)};function Je(ke,Jt,Fn){this.ownerID=ke,this.count=Jt,this.nodes=Fn}Je.prototype.get=function(ke,Jt,Fn,mr){Jt===void 0&&(Jt=It(Fn));var Tr=(ke===0?Jt:Jt>>>ke)&C,Oo=this.nodes[Tr];return Oo?Oo.get(ke+O,Jt,Fn,mr):mr},Je.prototype.update=function(ke,Jt,Fn,mr,Tr,Oo,Uo){Fn===void 0&&(Fn=It(mr));var gt=(Jt===0?Fn:Fn>>>Jt)&C,it=Tr===A,Lt=this.nodes,$t=Lt[gt];if(it&&!$t)return this;var _n=Wt($t,ke,Jt+O,Fn,mr,Tr,Oo,Uo);if(_n===$t)return this;var dn=this.count;if(!$t)dn++;else if(!_n&&(dn--,dn<Ar))return qe(ke,Lt,dn,gt);var Jn=ke&&ke===this.ownerID,Hn=Sr(Lt,gt,_n,Jn);return Jn?(this.count=dn,this.nodes=Hn,this):new Je(ke,dn,Hn)};function At(ke,Jt,Fn){this.ownerID=ke,this.keyHash=Jt,this.entries=Fn}At.prototype.get=function(ke,Jt,Fn,mr){for(var Tr=this.entries,Oo=0,Uo=Tr.length;Oo<Uo;Oo++)if($e(Fn,Tr[Oo][0]))return Tr[Oo][1];return mr},At.prototype.update=function(ke,Jt,Fn,mr,Tr,Oo,Uo){Fn===void 0&&(Fn=It(mr));var gt=Tr===A;if(Fn!==this.keyHash)return gt?this:(v(Uo),v(Oo),xe(this,ke,Jt,Fn,[mr,Tr]));for(var it=this.entries,Lt=0,$t=it.length;Lt<$t&&!$e(mr,it[Lt][0]);Lt++);var _n=Lt<$t;if(_n?it[Lt][1]===Tr:gt)return this;if(v(Uo),(gt||!_n)&&v(Oo),gt&&$t===2)return new xt(ke,this.keyHash,it[Lt^1]);var dn=ke&&ke===this.ownerID,Jn=dn?it:E(it);return _n?gt?Lt===$t-1?Jn.pop():Jn[Lt]=Jn.pop():Jn[Lt]=[mr,Tr]:Jn.push([mr,Tr]),dn?(this.entries=Jn,this):new At(ke,this.keyHash,Jn)};function xt(ke,Jt,Fn){this.ownerID=ke,this.keyHash=Jt,this.entry=Fn}xt.prototype.get=function(ke,Jt,Fn,mr){return $e(Fn,this.entry[0])?this.entry[1]:mr},xt.prototype.update=function(ke,Jt,Fn,mr,Tr,Oo,Uo){var gt=Tr===A,it=$e(mr,this.entry[0]);if(it?Tr===this.entry[1]:gt)return this;if(v(Uo),gt){v(Oo);return}return it?ke&&ke===this.ownerID?(this.entry[1]=Tr,this):new xt(ke,this.keyHash,[mr,Tr]):(v(Oo),xe(this,ke,Jt,It(mr),[mr,Tr]))},ro.prototype.iterate=At.prototype.iterate=function(ke,Jt){for(var Fn=this.entries,mr=0,Tr=Fn.length-1;mr<=Tr;mr++)if(ke(Fn[Jt?Tr-mr:mr])===!1)return!1},Xt.prototype.iterate=Je.prototype.iterate=function(ke,Jt){for(var Fn=this.nodes,mr=0,Tr=Fn.length-1;mr<=Tr;mr++){var Oo=Fn[Jt?Tr-mr:mr];if(Oo&&Oo.iterate(ke,Jt)===!1)return!1}},xt.prototype.iterate=function(ke,Jt){return ke(this.entry)},e(Qt,ee);function Qt(ke,Jt,Fn){this._type=Jt,this._reverse=Fn,this._stack=ke._root&&Te(ke._root)}Qt.prototype.next=function(){for(var ke=this._type,Jt=this._stack;Jt;){var Fn=Jt.node,mr=Jt.index++,Tr;if(Fn.entry){if(mr===0)return qt(ke,Fn.entry)}else if(Fn.entries){if(Tr=Fn.entries.length-1,mr<=Tr)return qt(ke,Fn.entries[this._reverse?Tr-mr:mr])}else if(Tr=Fn.nodes.length-1,mr<=Tr){var Oo=Fn.nodes[this._reverse?Tr-mr:mr];if(Oo){if(Oo.entry)return qt(ke,Oo.entry);Jt=this._stack=Te(Oo,Jt)}continue}Jt=this._stack=this._stack.__prev}return ie()};function qt(ke,Jt){return te(ke,Jt[0],Jt[1])}function Te(ke,Jt){return{node:ke,index:0,__prev:Jt}}function Gt(ke,Jt,Fn,mr){var Tr=Object.create(Jr);return Tr.size=ke,Tr._root=Jt,Tr.__ownerID=Fn,Tr.__hash=mr,Tr.__altered=!1,Tr}var un;function Vt(){return un||(un=Gt(0))}function Dn(ke,Jt,Fn){var mr,Tr;if(ke._root){var Oo=s(S),Uo=s(T);if(mr=Wt(ke._root,ke.__ownerID,0,void 0,Jt,Fn,Oo,Uo),!Uo.value)return ke;Tr=ke.size+(Oo.value?Fn===A?-1:1:0)}else{if(Fn===A)return ke;Tr=1,mr=new ro(ke.__ownerID,[[Jt,Fn]])}return ke.__ownerID?(ke.size=Tr,ke._root=mr,ke.__hash=void 0,ke.__altered=!0,ke):mr?Gt(Tr,mr):Vt()}function Wt(ke,Jt,Fn,mr,Tr,Oo,Uo,gt){return ke?ke.update(Jt,Fn,mr,Tr,Oo,Uo,gt):Oo===A?ke:(v(gt),v(Uo),new xt(Jt,mr,[Tr,Oo]))}function Pe(ke){return ke.constructor===xt||ke.constructor===At}function xe(ke,Jt,Fn,mr,Tr){if(ke.keyHash===mr)return new At(Jt,mr,[ke.entry,Tr]);var Oo=(Fn===0?ke.keyHash:ke.keyHash>>>Fn)&C,Uo=(Fn===0?mr:mr>>>Fn)&C,gt,it=Oo===Uo?[xe(ke,Jt,Fn+O,mr,Tr)]:(gt=new xt(Jt,mr,Tr),Oo<Uo?[ke,gt]:[gt,ke]);return new Xt(Jt,1<<Oo|1<<Uo,it)}function Ae(ke,Jt,Fn,mr){ke||(ke=new m);for(var Tr=new xt(ke,It(Fn),[Fn,mr]),Oo=0;Oo<Jt.length;Oo++){var Uo=Jt[Oo];Tr=Tr.update(ke,0,void 0,Uo[0],Uo[1])}return Tr}function qe(ke,Jt,Fn,mr){for(var Tr=0,Oo=0,Uo=new Array(Fn),gt=0,it=1,Lt=Jt.length;gt<Lt;gt++,it<<=1){var $t=Jt[gt];$t!==void 0&&gt!==mr&&(Tr|=it,Uo[Oo++]=$t)}return new Xt(ke,Tr,Uo)}function wt(ke,Jt,Fn,mr,Tr){for(var Oo=0,Uo=new Array(P),gt=0;Fn!==0;gt++,Fn>>>=1)Uo[gt]=Fn&1?Jt[Oo++]:void 0;return Uo[mr]=Tr,new Je(ke,Oo+1,Uo)}function kt(ke,Jt,Fn){for(var mr=[],Tr=0;Tr<Fn.length;Tr++){var Oo=Fn[Tr],Uo=o(Oo);i(Oo)||(Uo=Uo.map(function(gt){return ht(gt)})),mr.push(Uo)}return tn(ke,Jt,mr)}function ut(ke,Jt,Fn){return ke&&ke.mergeDeep&&i(Jt)?ke.mergeDeep(Jt):$e(ke,Jt)?ke:Jt}function Ft(ke){return function(Jt,Fn,mr){if(Jt&&Jt.mergeDeepWith&&i(Fn))return Jt.mergeDeepWith(ke,Fn);var Tr=ke(Jt,Fn,mr);return $e(Jt,Tr)?Jt:Tr}}function tn(ke,Jt,Fn){return Fn=Fn.filter(function(mr){return mr.size!==0}),Fn.length===0?ke:ke.size===0&&!ke.__ownerID&&Fn.length===1?ke.constructor(Fn[0]):ke.withMutations(function(mr){for(var Tr=Jt?function(Uo,gt){mr.update(gt,A,function(it){return it===A?Uo:Jt(it,Uo,gt)})}:function(Uo,gt){mr.set(gt,Uo)},Oo=0;Oo<Fn.length;Oo++)Fn[Oo].forEach(Tr)})}function In(ke,Jt,Fn,mr){var Tr=ke===A,Oo=Jt.next();if(Oo.done){var Uo=Tr?Fn:ke,gt=mr(Uo);return gt===Uo?ke:gt}Bt(Tr||ke&&ke.set,"invalid keyPath");var it=Oo.value,Lt=Tr?A:ke.get(it,A),$t=In(Lt,Jt,Fn,mr);return $t===Lt?ke:$t===A?ke.remove(it):(Tr?Vt():ke).set(it,$t)}function rr(ke){return ke=ke-(ke>>1&1431655765),ke=(ke&858993459)+(ke>>2&858993459),ke=ke+(ke>>4)&252645135,ke=ke+(ke>>8),ke=ke+(ke>>16),ke&127}function Sr(ke,Jt,Fn,mr){var Tr=mr?ke:E(ke);return Tr[Jt]=Fn,Tr}function Yr(ke,Jt,Fn,mr){var Tr=ke.length+1;if(mr&&Jt+1===Tr)return ke[Jt]=Fn,ke;for(var Oo=new Array(Tr),Uo=0,gt=0;gt<Tr;gt++)gt===Jt?(Oo[gt]=Fn,Uo=-1):Oo[gt]=ke[gt+Uo];return Oo}function Pr(ke,Jt,Fn){var mr=ke.length-1;if(Fn&&Jt===mr)return ke.pop(),ke;for(var Tr=new Array(mr),Oo=0,Uo=0;Uo<mr;Uo++)Uo===Jt&&(Oo=1),Tr[Uo]=ke[Uo+Oo];return Tr}var Mn=P/4,sr=P/2,Ar=P/4;e(vr,nt);function vr(ke){var Jt=Qe();if(ke==null)return Jt;if(qr(ke))return ke;var Fn=n(ke),mr=Fn.size;return mr===0?Jt:(or(mr),mr>0&&mr<P?rn(0,mr,O,null,new Vo(Fn.toArray())):Jt.withMutations(function(Tr){Tr.setSize(mr),Fn.forEach(function(Oo,Uo){return Tr.set(Uo,Oo)})}))}vr.of=function(){return this(arguments)},vr.prototype.toString=function(){return this.__toString("List [","]")},vr.prototype.get=function(ke,Jt){if(ke=L(this,ke),ke>=0&&ke<this.size){ke+=this._origin;var Fn=Mt(this,ke);return Fn&&Fn.array[ke&C]}return Jt},vr.prototype.set=function(ke,Jt){return Ye(this,ke,Jt)},vr.prototype.remove=function(ke){return this.has(ke)?ke===0?this.shift():ke===this.size-1?this.pop():this.splice(ke,1):this},vr.prototype.insert=function(ke,Jt){return this.splice(ke,0,Jt)},vr.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=O,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Qe()},vr.prototype.push=function(){var ke=arguments,Jt=this.size;return this.withMutations(function(Fn){ot(Fn,0,Jt+ke.length);for(var mr=0;mr<ke.length;mr++)Fn.set(Jt+mr,ke[mr])})},vr.prototype.pop=function(){return ot(this,0,-1)},vr.prototype.unshift=function(){var ke=arguments;return this.withMutations(function(Jt){ot(Jt,-ke.length);for(var Fn=0;Fn<ke.length;Fn++)Jt.set(Fn,ke[Fn])})},vr.prototype.shift=function(){return ot(this,1)},vr.prototype.merge=function(){return et(this,void 0,arguments)},vr.prototype.mergeWith=function(ke){var Jt=l.call(arguments,1);return et(this,ke,Jt)},vr.prototype.mergeDeep=function(){return et(this,ut,arguments)},vr.prototype.mergeDeepWith=function(ke){var Jt=l.call(arguments,1);return et(this,Ft(ke),Jt)},vr.prototype.setSize=function(ke){return ot(this,0,ke)},vr.prototype.slice=function(ke,Jt){var Fn=this.size;return F(ke,Jt,Fn)?this:ot(this,G(ke,Fn),k(Jt,Fn))},vr.prototype.__iterator=function(ke,Jt){var Fn=0,mr=ar(this,Jt);return new ee(function(){var Tr=mr();return Tr===Bn?ie():te(ke,Fn++,Tr)})},vr.prototype.__iterate=function(ke,Jt){for(var Fn=0,mr=ar(this,Jt),Tr;(Tr=mr())!==Bn&&ke(Tr,Fn++,this)!==!1;);return Fn},vr.prototype.__ensureOwner=function(ke){return ke===this.__ownerID?this:ke?rn(this._origin,this._capacity,this._level,this._root,this._tail,ke,this.__hash):(this.__ownerID=ke,this)};function qr(ke){return!!(ke&&ke[Dr])}vr.isList=qr;var Dr="@@__IMMUTABLE_LIST__@@",eo=vr.prototype;eo[Dr]=!0,eo[y]=eo.remove,eo.setIn=Jr.setIn,eo.deleteIn=eo.removeIn=Jr.removeIn,eo.update=Jr.update,eo.updateIn=Jr.updateIn,eo.mergeIn=Jr.mergeIn,eo.mergeDeepIn=Jr.mergeDeepIn,eo.withMutations=Jr.withMutations,eo.asMutable=Jr.asMutable,eo.asImmutable=Jr.asImmutable,eo.wasAltered=Jr.wasAltered;function Vo(ke,Jt){this.array=ke,this.ownerID=Jt}Vo.prototype.removeBefore=function(ke,Jt,Fn){if(Fn===Jt?1<<Jt:this.array.length===0)return this;var mr=Fn>>>Jt&C;if(mr>=this.array.length)return new Vo([],ke);var Tr=mr===0,Oo;if(Jt>0){var Uo=this.array[mr];if(Oo=Uo&&Uo.removeBefore(ke,Jt-O,Fn),Oo===Uo&&Tr)return this}if(Tr&&!Oo)return this;var gt=Ze(this,ke);if(!Tr)for(var it=0;it<mr;it++)gt.array[it]=void 0;return Oo&&(gt.array[mr]=Oo),gt},Vo.prototype.removeAfter=function(ke,Jt,Fn){if(Fn===(Jt?1<<Jt:0)||this.array.length===0)return this;var mr=Fn-1>>>Jt&C;if(mr>=this.array.length)return this;var Tr;if(Jt>0){var Oo=this.array[mr];if(Tr=Oo&&Oo.removeAfter(ke,Jt-O,Fn),Tr===Oo&&mr===this.array.length-1)return this}var Uo=Ze(this,ke);return Uo.array.splice(mr+1),Tr&&(Uo.array[mr]=Tr),Uo};var Bn={};function ar(ke,Jt){var Fn=ke._origin,mr=ke._capacity,Tr=St(mr),Oo=ke._tail;return Uo(ke._root,ke._level,0);function Uo(Lt,$t,_n){return $t===0?gt(Lt,_n):it(Lt,$t,_n)}function gt(Lt,$t){var _n=$t===Tr?Oo&&Oo.array:Lt&&Lt.array,dn=$t>Fn?0:Fn-$t,Jn=mr-$t;return Jn>P&&(Jn=P),function(){if(dn===Jn)return Bn;var Hn=Jt?--Jn:dn++;return _n&&_n[Hn]}}function it(Lt,$t,_n){var dn,Jn=Lt&&Lt.array,Hn=_n>Fn?0:Fn-_n>>$t,jr=(mr-_n>>$t)+1;return jr>P&&(jr=P),function(){do{if(dn){var wo=dn();if(wo!==Bn)return wo;dn=null}if(Hn===jr)return Bn;var ko=Jt?--jr:Hn++;dn=Uo(Jn&&Jn[ko],$t-O,_n+(ko<<$t))}while(!0)}}}function rn(ke,Jt,Fn,mr,Tr,Oo,Uo){var gt=Object.create(eo);return gt.size=Jt-ke,gt._origin=ke,gt._capacity=Jt,gt._level=Fn,gt._root=mr,gt._tail=Tr,gt.__ownerID=Oo,gt.__hash=Uo,gt.__altered=!1,gt}var Rt;function Qe(){return Rt||(Rt=rn(0,0,O))}function Ye(ke,Jt,Fn){if(Jt=L(ke,Jt),Jt!==Jt)return ke;if(Jt>=ke.size||Jt<0)return ke.withMutations(function(Uo){Jt<0?ot(Uo,Jt).set(0,Fn):ot(Uo,0,Jt+1).set(Jt,Fn)});Jt+=ke._origin;var mr=ke._tail,Tr=ke._root,Oo=s(T);return Jt>=St(ke._capacity)?mr=yt(mr,ke.__ownerID,0,Jt,Fn,Oo):Tr=yt(Tr,ke.__ownerID,ke._level,Jt,Fn,Oo),Oo.value?ke.__ownerID?(ke._root=Tr,ke._tail=mr,ke.__hash=void 0,ke.__altered=!0,ke):rn(ke._origin,ke._capacity,ke._level,Tr,mr):ke}function yt(ke,Jt,Fn,mr,Tr,Oo){var Uo=mr>>>Fn&C,gt=ke&&Uo<ke.array.length;if(!gt&&Tr===void 0)return ke;var it;if(Fn>0){var Lt=ke&&ke.array[Uo],$t=yt(Lt,Jt,Fn-O,mr,Tr,Oo);return $t===Lt?ke:(it=Ze(ke,Jt),it.array[Uo]=$t,it)}return gt&&ke.array[Uo]===Tr?ke:(v(Oo),it=Ze(ke,Jt),Tr===void 0&&Uo===it.array.length-1?it.array.pop():it.array[Uo]=Tr,it)}function Ze(ke,Jt){return Jt&&ke&&Jt===ke.ownerID?ke:new Vo(ke?ke.array.slice():[],Jt)}function Mt(ke,Jt){if(Jt>=St(ke._capacity))return ke._tail;if(Jt<1<<ke._level+O){for(var Fn=ke._root,mr=ke._level;Fn&&mr>0;)Fn=Fn.array[Jt>>>mr&C],mr-=O;return Fn}}function ot(ke,Jt,Fn){Jt!==void 0&&(Jt=Jt|0),Fn!==void 0&&(Fn=Fn|0);var mr=ke.__ownerID||new m,Tr=ke._origin,Oo=ke._capacity,Uo=Tr+Jt,gt=Fn===void 0?Oo:Fn<0?Oo+Fn:Tr+Fn;if(Uo===Tr&&gt===Oo)return ke;if(Uo>=gt)return ke.clear();for(var it=ke._level,Lt=ke._root,$t=0;Uo+$t<0;)Lt=new Vo(Lt&&Lt.array.length?[void 0,Lt]:[],mr),it+=O,$t+=1<<it;$t&&(Uo+=$t,Tr+=$t,gt+=$t,Oo+=$t);for(var _n=St(Oo),dn=St(gt);dn>=1<<it+O;)Lt=new Vo(Lt&&Lt.array.length?[Lt]:[],mr),it+=O;var Jn=ke._tail,Hn=dn<_n?Mt(ke,gt-1):dn>_n?new Vo([],mr):Jn;if(Jn&&dn>_n&&Uo<Oo&&Jn.array.length){Lt=Ze(Lt,mr);for(var jr=Lt,wo=it;wo>O;wo-=O){var ko=_n>>>wo&C;jr=jr.array[ko]=Ze(jr.array[ko],mr)}jr.array[_n>>>O&C]=Jn}if(gt<Oo&&(Hn=Hn&&Hn.removeAfter(mr,0,gt)),Uo>=dn)Uo-=dn,gt-=dn,it=O,Lt=null,Hn=Hn&&Hn.removeBefore(mr,0,Uo);else if(Uo>Tr||dn<_n){for($t=0;Lt;){var Sa=Uo>>>it&C;if(Sa!==dn>>>it&C)break;Sa&&($t+=(1<<it)*Sa),it-=O,Lt=Lt.array[Sa]}Lt&&Uo>Tr&&(Lt=Lt.removeBefore(mr,it,Uo-$t)),Lt&&dn<_n&&(Lt=Lt.removeAfter(mr,it,dn-$t)),$t&&(Uo-=$t,gt-=$t)}return ke.__ownerID?(ke.size=gt-Uo,ke._origin=Uo,ke._capacity=gt,ke._level=it,ke._root=Lt,ke._tail=Hn,ke.__hash=void 0,ke.__altered=!0,ke):rn(Uo,gt,it,Lt,Hn)}function et(ke,Jt,Fn){for(var mr=[],Tr=0,Oo=0;Oo<Fn.length;Oo++){var Uo=Fn[Oo],gt=n(Uo);gt.size>Tr&&(Tr=gt.size),i(Uo)||(gt=gt.map(function(it){return ht(it)})),mr.push(gt)}return Tr>ke.size&&(ke=ke.setSize(Tr)),tn(ke,Jt,mr)}function St(ke){return ke<P?0:ke-1>>>O<<O}e(Ht,qn);function Ht(ke){return ke==null?Un():er(ke)?ke:Un().withMutations(function(Jt){var Fn=o(ke);or(Fn.size),Fn.forEach(function(mr,Tr){return Jt.set(Tr,mr)})})}Ht.of=function(){return this(arguments)},Ht.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ht.prototype.get=function(ke,Jt){var Fn=this._map.get(ke);return Fn!==void 0?this._list.get(Fn)[1]:Jt},Ht.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Un()},Ht.prototype.set=function(ke,Jt){return hr(this,ke,Jt)},Ht.prototype.remove=function(ke){return hr(this,ke,A)},Ht.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ht.prototype.__iterate=function(ke,Jt){var Fn=this;return this._list.__iterate(function(mr){return mr&&ke(mr[1],mr[0],Fn)},Jt)},Ht.prototype.__iterator=function(ke,Jt){return this._list.fromEntrySeq().__iterator(ke,Jt)},Ht.prototype.__ensureOwner=function(ke){if(ke===this.__ownerID)return this;var Jt=this._map.__ensureOwner(ke),Fn=this._list.__ensureOwner(ke);return ke?Mr(Jt,Fn,ke,this.__hash):(this.__ownerID=ke,this._map=Jt,this._list=Fn,this)};function er(ke){return Hr(ke)&&d(ke)}Ht.isOrderedMap=er,Ht.prototype[p]=!0,Ht.prototype[y]=Ht.prototype.remove;function Mr(ke,Jt,Fn,mr){var Tr=Object.create(Ht.prototype);return Tr.size=ke?ke.size:0,Tr._map=ke,Tr._list=Jt,Tr.__ownerID=Fn,Tr.__hash=mr,Tr}var mn;function Un(){return mn||(mn=Mr(Vt(),Qe()))}function hr(ke,Jt,Fn){var mr=ke._map,Tr=ke._list,Oo=mr.get(Jt),Uo=Oo!==void 0,gt,it;if(Fn===A){if(!Uo)return ke;Tr.size>=P&&Tr.size>=mr.size*2?(it=Tr.filter(function(Lt,$t){return Lt!==void 0&&Oo!==$t}),gt=it.toKeyedSeq().map(function(Lt){return Lt[0]}).flip().toMap(),ke.__ownerID&&(gt.__ownerID=it.__ownerID=ke.__ownerID)):(gt=mr.remove(Jt),it=Oo===Tr.size-1?Tr.pop():Tr.set(Oo,void 0))}else if(Uo){if(Fn===Tr.get(Oo)[1])return ke;gt=mr,it=Tr.set(Oo,[Jt,Fn])}else gt=mr.set(Jt,Tr.size),it=Tr.set(Tr.size,[Jt,Fn]);return ke.__ownerID?(ke.size=gt.size,ke._map=gt,ke._list=it,ke.__hash=void 0,ke):Mr(gt,it)}e(br,re);function br(ke,Jt){this._iter=ke,this._useKeys=Jt,this.size=ke.size}br.prototype.get=function(ke,Jt){return this._iter.get(ke,Jt)},br.prototype.has=function(ke){return this._iter.has(ke)},br.prototype.valueSeq=function(){return this._iter.valueSeq()},br.prototype.reverse=function(){var ke=this,Jt=Ea(this,!0);return this._useKeys||(Jt.valueSeq=function(){return ke._iter.toSeq().reverse()}),Jt},br.prototype.map=function(ke,Jt){var Fn=this,mr=bo(this,ke,Jt);return this._useKeys||(mr.valueSeq=function(){return Fn._iter.toSeq().map(ke,Jt)}),mr},br.prototype.__iterate=function(ke,Jt){var Fn=this,mr;return this._iter.__iterate(this._useKeys?function(Tr,Oo){return ke(Tr,Oo,Fn)}:(mr=Jt?ha(this):0,function(Tr){return ke(Tr,Jt?--mr:mr++,Fn)}),Jt)},br.prototype.__iterator=function(ke,Jt){if(this._useKeys)return this._iter.__iterator(ke,Jt);var Fn=this._iter.__iterator(B,Jt),mr=Jt?ha(this):0;return new ee(function(){var Tr=Fn.next();return Tr.done?Tr:te(ke,Jt?--mr:mr++,Tr.value,Tr)})},br.prototype[p]=!0,e(io,he);function io(ke){this._iter=ke,this.size=ke.size}io.prototype.includes=function(ke){return this._iter.includes(ke)},io.prototype.__iterate=function(ke,Jt){var Fn=this,mr=0;return this._iter.__iterate(function(Tr){return ke(Tr,mr++,Fn)},Jt)},io.prototype.__iterator=function(ke,Jt){var Fn=this._iter.__iterator(B,Jt),mr=0;return new ee(function(){var Tr=Fn.next();return Tr.done?Tr:te(ke,mr++,Tr.value,Tr)})},e(Kr,Ee);function Kr(ke){this._iter=ke,this.size=ke.size}Kr.prototype.has=function(ke){return this._iter.includes(ke)},Kr.prototype.__iterate=function(ke,Jt){var Fn=this;return this._iter.__iterate(function(mr){return ke(mr,mr,Fn)},Jt)},Kr.prototype.__iterator=function(ke,Jt){var Fn=this._iter.__iterator(B,Jt);return new ee(function(){var mr=Fn.next();return mr.done?mr:te(ke,mr.value,mr.value,mr)})},e(xo,re);function xo(ke){this._iter=ke,this.size=ke.size}xo.prototype.entrySeq=function(){return this._iter.toSeq()},xo.prototype.__iterate=function(ke,Jt){var Fn=this;return this._iter.__iterate(function(mr){if(mr){ea(mr);var Tr=i(mr);return ke(Tr?mr.get(1):mr[1],Tr?mr.get(0):mr[0],Fn)}},Jt)},xo.prototype.__iterator=function(ke,Jt){var Fn=this._iter.__iterator(B,Jt);return new ee(function(){for(;;){var mr=Fn.next();if(mr.done)return mr;var Tr=mr.value;if(Tr){ea(Tr);var Oo=i(Tr);return te(ke,Oo?Tr.get(0):Tr[0],Oo?Tr.get(1):Tr[1],mr)}}})},io.prototype.cacheResult=br.prototype.cacheResult=Kr.prototype.cacheResult=xo.prototype.cacheResult=ao;function Ho(ke){var Jt=Lr(ke);return Jt._iter=ke,Jt.size=ke.size,Jt.flip=function(){return ke},Jt.reverse=function(){var Fn=ke.reverse.apply(this);return Fn.flip=function(){return ke.reverse()},Fn},Jt.has=function(Fn){return ke.includes(Fn)},Jt.includes=function(Fn){return ke.has(Fn)},Jt.cacheResult=ao,Jt.__iterateUncached=function(Fn,mr){var Tr=this;return ke.__iterate(function(Oo,Uo){return Fn(Uo,Oo,Tr)!==!1},mr)},Jt.__iteratorUncached=function(Fn,mr){if(Fn===R){var Tr=ke.__iterator(Fn,mr);return new ee(function(){var Oo=Tr.next();if(!Oo.done){var Uo=Oo.value[0];Oo.value[0]=Oo.value[1],Oo.value[1]=Uo}return Oo})}return ke.__iterator(Fn===B?M:B,mr)},Jt}function bo(ke,Jt,Fn){var mr=Lr(ke);return mr.size=ke.size,mr.has=function(Tr){return ke.has(Tr)},mr.get=function(Tr,Oo){var Uo=ke.get(Tr,A);return Uo===A?Oo:Jt.call(Fn,Uo,Tr,ke)},mr.__iterateUncached=function(Tr,Oo){var Uo=this;return ke.__iterate(function(gt,it,Lt){return Tr(Jt.call(Fn,gt,it,Lt),it,Uo)!==!1},Oo)},mr.__iteratorUncached=function(Tr,Oo){var Uo=ke.__iterator(R,Oo);return new ee(function(){var gt=Uo.next();if(gt.done)return gt;var it=gt.value,Lt=it[0];return te(Tr,Lt,Jt.call(Fn,it[1],Lt,ke),gt)})},mr}function Ea(ke,Jt){var Fn=Lr(ke);return Fn._iter=ke,Fn.size=ke.size,Fn.reverse=function(){return ke},ke.flip&&(Fn.flip=function(){var mr=Ho(ke);return mr.reverse=function(){return ke.flip()},mr}),Fn.get=function(mr,Tr){return ke.get(Jt?mr:-1-mr,Tr)},Fn.has=function(mr){return ke.has(Jt?mr:-1-mr)},Fn.includes=function(mr){return ke.includes(mr)},Fn.cacheResult=ao,Fn.__iterate=function(mr,Tr){var Oo=this;return ke.__iterate(function(Uo,gt){return mr(Uo,gt,Oo)},!Tr)},Fn.__iterator=function(mr,Tr){return ke.__iterator(mr,!Tr)},Fn}function Ia(ke,Jt,Fn,mr){var Tr=Lr(ke);return mr&&(Tr.has=function(Oo){var Uo=ke.get(Oo,A);return Uo!==A&&!!Jt.call(Fn,Uo,Oo,ke)},Tr.get=function(Oo,Uo){var gt=ke.get(Oo,A);return gt!==A&&Jt.call(Fn,gt,Oo,ke)?gt:Uo}),Tr.__iterateUncached=function(Oo,Uo){var gt=this,it=0;return ke.__iterate(function(Lt,$t,_n){if(Jt.call(Fn,Lt,$t,_n))return it++,Oo(Lt,mr?$t:it-1,gt)},Uo),it},Tr.__iteratorUncached=function(Oo,Uo){var gt=ke.__iterator(R,Uo),it=0;return new ee(function(){for(;;){var Lt=gt.next();if(Lt.done)return Lt;var $t=Lt.value,_n=$t[0],dn=$t[1];if(Jt.call(Fn,dn,_n,ke))return te(Oo,mr?_n:it++,dn,Lt)}})},Tr}function Da(ke,Jt,Fn){var mr=qn().asMutable();return ke.__iterate(function(Tr,Oo){mr.update(Jt.call(Fn,Tr,Oo,ke),0,function(Uo){return Uo+1})}),mr.asImmutable()}function Za(ke,Jt,Fn){var mr=c(ke),Tr=(d(ke)?Ht():qn()).asMutable();ke.__iterate(function(Uo,gt){Tr.update(Jt.call(Fn,Uo,gt,ke),function(it){return it=it||[],it.push(mr?[gt,Uo]:Uo),it})});var Oo=yr(ke);return Tr.map(function(Uo){return go(ke,Oo(Uo))})}function Xa(ke,Jt,Fn,mr){var Tr=ke.size;if(Jt!==void 0&&(Jt=Jt|0),Fn!==void 0&&(Fn=Fn|0),F(Jt,Fn,Tr))return ke;var Oo=G(Jt,Tr),Uo=k(Fn,Tr);if(Oo!==Oo||Uo!==Uo)return Xa(ke.toSeq().cacheResult(),Jt,Fn,mr);var gt=Uo-Oo,it;gt===gt&&(it=gt<0?0:gt);var Lt=Lr(ke);return Lt.size=it===0?it:ke.size&&it||void 0,!mr&&ge(ke)&&it>=0&&(Lt.get=function($t,_n){return $t=L(this,$t),$t>=0&&$t<it?ke.get($t+Oo,_n):_n}),Lt.__iterateUncached=function($t,_n){var dn=this;if(it===0)return 0;if(_n)return this.cacheResult().__iterate($t,_n);var Jn=0,Hn=!0,jr=0;return ke.__iterate(function(wo,ko){if(!(Hn&&(Hn=Jn++<Oo)))return jr++,$t(wo,mr?ko:jr-1,dn)!==!1&&jr!==it}),jr},Lt.__iteratorUncached=function($t,_n){if(it!==0&&_n)return this.cacheResult().__iterator($t,_n);var dn=it!==0&&ke.__iterator($t,_n),Jn=0,Hn=0;return new ee(function(){for(;Jn++<Oo;)dn.next();if(++Hn>it)return ie();var jr=dn.next();return mr||$t===B?jr:$t===M?te($t,Hn-1,void 0,jr):te($t,Hn-1,jr.value[1],jr)})},Lt}function ba(ke,Jt,Fn){var mr=Lr(ke);return mr.__iterateUncached=function(Tr,Oo){var Uo=this;if(Oo)return this.cacheResult().__iterate(Tr,Oo);var gt=0;return ke.__iterate(function(it,Lt,$t){return Jt.call(Fn,it,Lt,$t)&&++gt&&Tr(it,Lt,Uo)}),gt},mr.__iteratorUncached=function(Tr,Oo){var Uo=this;if(Oo)return this.cacheResult().__iterator(Tr,Oo);var gt=ke.__iterator(R,Oo),it=!0;return new ee(function(){if(!it)return ie();var Lt=gt.next();if(Lt.done)return Lt;var $t=Lt.value,_n=$t[0],dn=$t[1];return Jt.call(Fn,dn,_n,Uo)?Tr===R?Lt:te(Tr,_n,dn,Lt):(it=!1,ie())})},mr}function ns(ke,Jt,Fn,mr){var Tr=Lr(ke);return Tr.__iterateUncached=function(Oo,Uo){var gt=this;if(Uo)return this.cacheResult().__iterate(Oo,Uo);var it=!0,Lt=0;return ke.__iterate(function($t,_n,dn){if(!(it&&(it=Jt.call(Fn,$t,_n,dn))))return Lt++,Oo($t,mr?_n:Lt-1,gt)}),Lt},Tr.__iteratorUncached=function(Oo,Uo){var gt=this;if(Uo)return this.cacheResult().__iterator(Oo,Uo);var it=ke.__iterator(R,Uo),Lt=!0,$t=0;return new ee(function(){var _n,dn,Jn;do{if(_n=it.next(),_n.done)return mr||Oo===B?_n:Oo===M?te(Oo,$t++,void 0,_n):te(Oo,$t++,_n.value[1],_n);var Hn=_n.value;dn=Hn[0],Jn=Hn[1],Lt&&(Lt=Jt.call(Fn,Jn,dn,gt))}while(Lt);return Oo===R?_n:te(Oo,dn,Jn,_n)})},Tr}function Ja(ke,Jt){var Fn=c(ke),mr=[ke].concat(Jt).map(function(Uo){return i(Uo)?Fn&&(Uo=o(Uo)):Uo=Fn?He(Uo):ye(Array.isArray(Uo)?Uo:[Uo]),Uo}).filter(function(Uo){return Uo.size!==0});if(mr.length===0)return ke;if(mr.length===1){var Tr=mr[0];if(Tr===ke||Fn&&c(Tr)||u(ke)&&u(Tr))return Tr}var Oo=new H(mr);return Fn?Oo=Oo.toKeyedSeq():u(ke)||(Oo=Oo.toSetSeq()),Oo=Oo.flatten(!0),Oo.size=mr.reduce(function(Uo,gt){if(Uo!==void 0){var it=gt.size;if(it!==void 0)return Uo+it}},0),Oo}function Is(ke,Jt,Fn){var mr=Lr(ke);return mr.__iterateUncached=function(Tr,Oo){var Uo=0,gt=!1;function it(Lt,$t){var _n=this;Lt.__iterate(function(dn,Jn){return(!Jt||$t<Jt)&&i(dn)?it(dn,$t+1):Tr(dn,Fn?Jn:Uo++,_n)===!1&&(gt=!0),!gt},Oo)}return it(ke,0),Uo},mr.__iteratorUncached=function(Tr,Oo){var Uo=ke.__iterator(Tr,Oo),gt=[],it=0;return new ee(function(){for(;Uo;){var Lt=Uo.next();if(Lt.done!==!1){Uo=gt.pop();continue}var $t=Lt.value;if(Tr===R&&($t=$t[1]),(!Jt||gt.length<Jt)&&i($t))gt.push(Uo),Uo=$t.__iterator(Tr,Oo);else return Fn?Lt:te(Tr,it++,$t,Lt)}return ie()})},mr}function Vr(ke,Jt,Fn){var mr=yr(ke);return ke.toSeq().map(function(Tr,Oo){return mr(Jt.call(Fn,Tr,Oo,ke))}).flatten(!0)}function Qr(ke,Jt){var Fn=Lr(ke);return Fn.size=ke.size&&ke.size*2-1,Fn.__iterateUncached=function(mr,Tr){var Oo=this,Uo=0;return ke.__iterate(function(gt,it){return(!Uo||mr(Jt,Uo++,Oo)!==!1)&&mr(gt,Uo++,Oo)!==!1},Tr),Uo},Fn.__iteratorUncached=function(mr,Tr){var Oo=ke.__iterator(B,Tr),Uo=0,gt;return new ee(function(){return(!gt||Uo%2)&&(gt=Oo.next(),gt.done)?gt:Uo%2?te(mr,Uo++,Jt):te(mr,Uo++,gt.value,gt)})},Fn}function To(ke,Jt,Fn){Jt||(Jt=ho);var mr=c(ke),Tr=0,Oo=ke.toSeq().map(function(Uo,gt){return[gt,Uo,Tr++,Fn?Fn(Uo,gt,ke):Uo]}).toArray();return Oo.sort(function(Uo,gt){return Jt(Uo[3],gt[3])||Uo[2]-gt[2]}).forEach(mr?function(Uo,gt){Oo[gt].length=2}:function(Uo,gt){Oo[gt]=Uo[1]}),mr?re(Oo):u(ke)?he(Oo):Ee(Oo)}function xr(ke,Jt,Fn){if(Jt||(Jt=ho),Fn){var mr=ke.toSeq().map(function(Tr,Oo){return[Tr,Fn(Tr,Oo,ke)]}).reduce(function(Tr,Oo){return uo(Jt,Tr[1],Oo[1])?Oo:Tr});return mr&&mr[0]}else return ke.reduce(function(Tr,Oo){return uo(Jt,Tr,Oo)?Oo:Tr})}function uo(ke,Jt,Fn){var mr=ke(Fn,Jt);return mr===0&&Fn!==Jt&&(Fn==null||Fn!==Fn)||mr>0}function Mo(ke,Jt,Fn){var mr=Lr(ke);return mr.size=new H(Fn).map(function(Tr){return Tr.size}).min(),mr.__iterate=function(Tr,Oo){for(var Uo=this.__iterator(B,Oo),gt,it=0;!(gt=Uo.next()).done&&Tr(gt.value,it++,this)!==!1;);return it},mr.__iteratorUncached=function(Tr,Oo){var Uo=Fn.map(function(Lt){return Lt=r(Lt),oe(Oo?Lt.reverse():Lt)}),gt=0,it=!1;return new ee(function(){var Lt;return it||(Lt=Uo.map(function($t){return $t.next()}),it=Lt.some(function($t){return $t.done})),it?ie():te(Tr,gt++,Jt.apply(null,Lt.map(function($t){return $t.value})))})},mr}function go(ke,Jt){return ge(ke)?Jt:ke.constructor(Jt)}function ea(ke){if(ke!==Object(ke))throw new TypeError("Expected [K, V] tuple: "+ke)}function ha(ke){return or(ke.size),I(ke)}function yr(ke){return c(ke)?o:u(ke)?n:a}function Lr(ke){return Object.create((c(ke)?re:u(ke)?he:Ee).prototype)}function ao(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):me.prototype.cacheResult.call(this)}function ho(ke,Jt){return ke>Jt?1:ke<Jt?-1:0}function Lo(ke){var Jt=oe(ke);if(!Jt){if(!J(ke))throw new TypeError("Expected iterable or array-like: "+ke);Jt=oe(r(ke))}return Jt}e(Yo,Re);function Yo(ke,Jt){var Fn,mr=function(Uo){if(Uo instanceof mr)return Uo;if(!(this instanceof mr))return new mr(Uo);if(!Fn){Fn=!0;var gt=Object.keys(ke);ds(Tr,gt),Tr.size=gt.length,Tr._name=Jt,Tr._keys=gt,Tr._defaultValues=ke}this._map=qn(Uo)},Tr=mr.prototype=Object.create(jo);return Tr.constructor=mr,mr}Yo.prototype.toString=function(){return this.__toString(Ua(this)+" {","}")},Yo.prototype.has=function(ke){return this._defaultValues.hasOwnProperty(ke)},Yo.prototype.get=function(ke,Jt){if(!this.has(ke))return Jt;var Fn=this._defaultValues[ke];return this._map?this._map.get(ke,Fn):Fn},Yo.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var ke=this.constructor;return ke._empty||(ke._empty=Xo(this,Vt()))},Yo.prototype.set=function(ke,Jt){if(!this.has(ke))throw new Error('Cannot set unknown key "'+ke+'" on '+Ua(this));var Fn=this._map&&this._map.set(ke,Jt);return this.__ownerID||Fn===this._map?this:Xo(this,Fn)},Yo.prototype.remove=function(ke){if(!this.has(ke))return this;var Jt=this._map&&this._map.remove(ke);return this.__ownerID||Jt===this._map?this:Xo(this,Jt)},Yo.prototype.wasAltered=function(){return this._map.wasAltered()},Yo.prototype.__iterator=function(ke,Jt){var Fn=this;return o(this._defaultValues).map(function(mr,Tr){return Fn.get(Tr)}).__iterator(ke,Jt)},Yo.prototype.__iterate=function(ke,Jt){var Fn=this;return o(this._defaultValues).map(function(mr,Tr){return Fn.get(Tr)}).__iterate(ke,Jt)},Yo.prototype.__ensureOwner=function(ke){if(ke===this.__ownerID)return this;var Jt=this._map&&this._map.__ensureOwner(ke);return ke?Xo(this,Jt,ke):(this.__ownerID=ke,this._map=Jt,this)};var jo=Yo.prototype;jo[y]=jo.remove,jo.deleteIn=jo.removeIn=Jr.removeIn,jo.merge=Jr.merge,jo.mergeWith=Jr.mergeWith,jo.mergeIn=Jr.mergeIn,jo.mergeDeep=Jr.mergeDeep,jo.mergeDeepWith=Jr.mergeDeepWith,jo.mergeDeepIn=Jr.mergeDeepIn,jo.setIn=Jr.setIn,jo.update=Jr.update,jo.updateIn=Jr.updateIn,jo.withMutations=Jr.withMutations,jo.asMutable=Jr.asMutable,jo.asImmutable=Jr.asImmutable;function Xo(ke,Jt,Fn){var mr=Object.create(Object.getPrototypeOf(ke));return mr._map=Jt,mr.__ownerID=Fn,mr}function Ua(ke){return ke._name||ke.constructor.name||"Record"}function ds(ke,Jt){try{Jt.forEach(us.bind(void 0,ke))}catch{}}function us(ke,Jt){Object.defineProperty(ke,Jt,{get:function(){return this.get(Jt)},set:function(Fn){Bt(this.__ownerID,"Cannot set on an immutable record."),this.set(Jt,Fn)}})}e(ys,st);function ys(ke){return ke==null?hi():Ys(ke)&&!d(ke)?ke:hi().withMutations(function(Jt){var Fn=a(ke);or(Fn.size),Fn.forEach(function(mr){return Jt.add(mr)})})}ys.of=function(){return this(arguments)},ys.fromKeys=function(ke){return this(o(ke).keySeq())},ys.prototype.toString=function(){return this.__toString("Set {","}")},ys.prototype.has=function(ke){return this._map.has(ke)},ys.prototype.add=function(ke){return Ai(this,this._map.set(ke,!0))},ys.prototype.remove=function(ke){return Ai(this,this._map.remove(ke))},ys.prototype.clear=function(){return Ai(this,this._map.clear())},ys.prototype.union=function(){var ke=l.call(arguments,0);return ke=ke.filter(function(Jt){return Jt.size!==0}),ke.length===0?this:this.size===0&&!this.__ownerID&&ke.length===1?this.constructor(ke[0]):this.withMutations(function(Jt){for(var Fn=0;Fn<ke.length;Fn++)a(ke[Fn]).forEach(function(mr){return Jt.add(mr)})})},ys.prototype.intersect=function(){var ke=l.call(arguments,0);if(ke.length===0)return this;ke=ke.map(function(Fn){return a(Fn)});var Jt=this;return this.withMutations(function(Fn){Jt.forEach(function(mr){ke.every(function(Tr){return Tr.includes(mr)})||Fn.remove(mr)})})},ys.prototype.subtract=function(){var ke=l.call(arguments,0);if(ke.length===0)return this;ke=ke.map(function(Fn){return a(Fn)});var Jt=this;return this.withMutations(function(Fn){Jt.forEach(function(mr){ke.some(function(Tr){return Tr.includes(mr)})&&Fn.remove(mr)})})},ys.prototype.merge=function(){return this.union.apply(this,arguments)},ys.prototype.mergeWith=function(ke){var Jt=l.call(arguments,1);return this.union.apply(this,Jt)},ys.prototype.sort=function(ke){return ks(To(this,ke))},ys.prototype.sortBy=function(ke,Jt){return ks(To(this,Jt,ke))},ys.prototype.wasAltered=function(){return this._map.wasAltered()},ys.prototype.__iterate=function(ke,Jt){var Fn=this;return this._map.__iterate(function(mr,Tr){return ke(Tr,Tr,Fn)},Jt)},ys.prototype.__iterator=function(ke,Jt){return this._map.map(function(Fn,mr){return mr}).__iterator(ke,Jt)},ys.prototype.__ensureOwner=function(ke){if(ke===this.__ownerID)return this;var Jt=this._map.__ensureOwner(ke);return ke?this.__make(Jt,ke):(this.__ownerID=ke,this._map=Jt,this)};function Ys(ke){return!!(ke&&ke[Gs])}ys.isSet=Ys;var Gs="@@__IMMUTABLE_SET__@@",xs=ys.prototype;xs[Gs]=!0,xs[y]=xs.remove,xs.mergeDeep=xs.merge,xs.mergeDeepWith=xs.mergeWith,xs.withMutations=Jr.withMutations,xs.asMutable=Jr.asMutable,xs.asImmutable=Jr.asImmutable,xs.__empty=hi,xs.__make=Pi;function Ai(ke,Jt){return ke.__ownerID?(ke.size=Jt.size,ke._map=Jt,ke):Jt===ke._map?ke:Jt.size===0?ke.__empty():ke.__make(Jt)}function Pi(ke,Jt){var Fn=Object.create(xs);return Fn.size=ke?ke.size:0,Fn._map=ke,Fn.__ownerID=Jt,Fn}var ei;function hi(){return ei||(ei=Pi(Vt()))}e(ks,ys);function ks(ke){return ke==null?Vs():Ms(ke)?ke:Vs().withMutations(function(Jt){var Fn=a(ke);or(Fn.size),Fn.forEach(function(mr){return Jt.add(mr)})})}ks.of=function(){return this(arguments)},ks.fromKeys=function(ke){return this(o(ke).keySeq())},ks.prototype.toString=function(){return this.__toString("OrderedSet {","}")};function Ms(ke){return Ys(ke)&&d(ke)}ks.isOrderedSet=Ms;var bs=ks.prototype;bs[p]=!0,bs.__empty=Vs,bs.__make=Hs;function Hs(ke,Jt){var Fn=Object.create(bs);return Fn.size=ke?ke.size:0,Fn._map=ke,Fn.__ownerID=Jt,Fn}var Os;function Vs(){return Os||(Os=Hs(Un()))}e(_s,nt);function _s(ke){return ke==null?Ji():fs(ke)?ke:Ji().unshiftAll(ke)}_s.of=function(){return this(arguments)},_s.prototype.toString=function(){return this.__toString("Stack [","]")},_s.prototype.get=function(ke,Jt){var Fn=this._head;for(ke=L(this,ke);Fn&&ke--;)Fn=Fn.next;return Fn?Fn.value:Jt},_s.prototype.peek=function(){return this._head&&this._head.value},_s.prototype.push=function(){if(arguments.length===0)return this;for(var ke=this.size+arguments.length,Jt=this._head,Fn=arguments.length-1;Fn>=0;Fn--)Jt={value:arguments[Fn],next:Jt};return this.__ownerID?(this.size=ke,this._head=Jt,this.__hash=void 0,this.__altered=!0,this):li(ke,Jt)},_s.prototype.pushAll=function(ke){if(ke=n(ke),ke.size===0)return this;or(ke.size);var Jt=this.size,Fn=this._head;return ke.reverse().forEach(function(mr){Jt++,Fn={value:mr,next:Fn}}),this.__ownerID?(this.size=Jt,this._head=Fn,this.__hash=void 0,this.__altered=!0,this):li(Jt,Fn)},_s.prototype.pop=function(){return this.slice(1)},_s.prototype.unshift=function(){return this.push.apply(this,arguments)},_s.prototype.unshiftAll=function(ke){return this.pushAll(ke)},_s.prototype.shift=function(){return this.pop.apply(this,arguments)},_s.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Ji()},_s.prototype.slice=function(ke,Jt){if(F(ke,Jt,this.size))return this;var Fn=G(ke,this.size),mr=k(Jt,this.size);if(mr!==this.size)return nt.prototype.slice.call(this,ke,Jt);for(var Tr=this.size-Fn,Oo=this._head;Fn--;)Oo=Oo.next;return this.__ownerID?(this.size=Tr,this._head=Oo,this.__hash=void 0,this.__altered=!0,this):li(Tr,Oo)},_s.prototype.__ensureOwner=function(ke){return ke===this.__ownerID?this:ke?li(this.size,this._head,ke,this.__hash):(this.__ownerID=ke,this.__altered=!1,this)},_s.prototype.__iterate=function(ke,Jt){if(Jt)return this.reverse().__iterate(ke);for(var Fn=0,mr=this._head;mr&&ke(mr.value,Fn++,this)!==!1;)mr=mr.next;return Fn},_s.prototype.__iterator=function(ke,Jt){if(Jt)return this.reverse().__iterator(ke);var Fn=0,mr=this._head;return new ee(function(){if(mr){var Tr=mr.value;return mr=mr.next,te(ke,Fn++,Tr)}return ie()})};function fs(ke){return!!(ke&&ke[Ss])}_s.isStack=fs;var Ss="@@__IMMUTABLE_STACK__@@",hs=_s.prototype;hs[Ss]=!0,hs.withMutations=Jr.withMutations,hs.asMutable=Jr.asMutable,hs.asImmutable=Jr.asImmutable,hs.wasAltered=Jr.wasAltered;function li(ke,Jt,Fn,mr){var Tr=Object.create(hs);return Tr.size=ke,Tr._head=Jt,Tr.__ownerID=Fn,Tr.__hash=mr,Tr.__altered=!1,Tr}var Ni;function Ji(){return Ni||(Ni=li(0))}function wi(ke,Jt){var Fn=function(mr){ke.prototype[mr]=Jt[mr]};return Object.keys(Jt).forEach(Fn),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(Jt).forEach(Fn),ke}r.Iterator=ee,wi(r,{toArray:function(){or(this.size);var ke=new Array(this.size||0);return this.valueSeq().__iterate(function(Jt,Fn){ke[Fn]=Jt}),ke},toIndexedSeq:function(){return new io(this)},toJS:function(){return this.toSeq().map(function(ke){return ke&&typeof ke.toJS=="function"?ke.toJS():ke}).__toJS()},toJSON:function(){return this.toSeq().map(function(ke){return ke&&typeof ke.toJSON=="function"?ke.toJSON():ke}).__toJS()},toKeyedSeq:function(){return new br(this,!0)},toMap:function(){return qn(this.toKeyedSeq())},toObject:function(){or(this.size);var ke={};return this.__iterate(function(Jt,Fn){ke[Fn]=Jt}),ke},toOrderedMap:function(){return Ht(this.toKeyedSeq())},toOrderedSet:function(){return ks(c(this)?this.valueSeq():this)},toSet:function(){return ys(c(this)?this.valueSeq():this)},toSetSeq:function(){return new Kr(this)},toSeq:function(){return u(this)?this.toIndexedSeq():c(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return _s(c(this)?this.valueSeq():this)},toList:function(){return vr(c(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(ke,Jt){return this.size===0?ke+Jt:ke+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+Jt},concat:function(){var ke=l.call(arguments,0);return go(this,Ja(this,ke))},includes:function(ke){return this.some(function(Jt){return $e(Jt,ke)})},entries:function(){return this.__iterator(R)},every:function(ke,Jt){or(this.size);var Fn=!0;return this.__iterate(function(mr,Tr,Oo){if(!ke.call(Jt,mr,Tr,Oo))return Fn=!1,!1}),Fn},filter:function(ke,Jt){return go(this,Ia(this,ke,Jt,!0))},find:function(ke,Jt,Fn){var mr=this.findEntry(ke,Jt);return mr?mr[1]:Fn},findEntry:function(ke,Jt){var Fn;return this.__iterate(function(mr,Tr,Oo){if(ke.call(Jt,mr,Tr,Oo))return Fn=[Tr,mr],!1}),Fn},findLastEntry:function(ke,Jt){return this.toSeq().reverse().findEntry(ke,Jt)},forEach:function(ke,Jt){return or(this.size),this.__iterate(Jt?ke.bind(Jt):ke)},join:function(ke){or(this.size),ke=ke!==void 0?""+ke:",";var Jt="",Fn=!0;return this.__iterate(function(mr){Fn?Fn=!1:Jt+=ke,Jt+=mr!=null?mr.toString():""}),Jt},keys:function(){return this.__iterator(M)},map:function(ke,Jt){return go(this,bo(this,ke,Jt))},reduce:function(ke,Jt,Fn){or(this.size);var mr,Tr;return arguments.length<2?Tr=!0:mr=Jt,this.__iterate(function(Oo,Uo,gt){Tr?(Tr=!1,mr=Oo):mr=ke.call(Fn,mr,Oo,Uo,gt)}),mr},reduceRight:function(ke,Jt,Fn){var mr=this.toKeyedSeq().reverse();return mr.reduce.apply(mr,arguments)},reverse:function(){return go(this,Ea(this,!0))},slice:function(ke,Jt){return go(this,Xa(this,ke,Jt,!0))},some:function(ke,Jt){return!this.every(Bs(ke),Jt)},sort:function(ke){return go(this,To(this,ke))},values:function(){return this.__iterator(B)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(ke,Jt){return I(ke?this.toSeq().filter(ke,Jt):this)},countBy:function(ke,Jt){return Da(this,ke,Jt)},equals:function(ke){return Ot(this,ke)},entrySeq:function(){var ke=this;if(ke._cache)return new H(ke._cache);var Jt=ke.toSeq().map(Zs).toIndexedSeq();return Jt.fromEntrySeq=function(){return ke.toSeq()},Jt},filterNot:function(ke,Jt){return this.filter(Bs(ke),Jt)},findLast:function(ke,Jt,Fn){return this.toKeyedSeq().reverse().find(ke,Jt,Fn)},first:function(){return this.find(W)},flatMap:function(ke,Jt){return go(this,Vr(this,ke,Jt))},flatten:function(ke){return go(this,Is(this,ke,!0))},fromEntrySeq:function(){return new xo(this)},get:function(ke,Jt){return this.find(function(Fn,mr){return $e(mr,ke)},void 0,Jt)},getIn:function(ke,Jt){for(var Fn=this,mr=Lo(ke),Tr;!(Tr=mr.next()).done;){var Oo=Tr.value;if(Fn=Fn&&Fn.get?Fn.get(Oo,A):A,Fn===A)return Jt}return Fn},groupBy:function(ke,Jt){return Za(this,ke,Jt)},has:function(ke){return this.get(ke,A)!==A},hasIn:function(ke){return this.getIn(ke,A)!==A},isSubset:function(ke){return ke=typeof ke.includes=="function"?ke:r(ke),this.every(function(Jt){return ke.includes(Jt)})},isSuperset:function(ke){return ke=typeof ke.isSubset=="function"?ke:r(ke),ke.isSubset(this)},keySeq:function(){return this.toSeq().map(Zi).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(ke){return xr(this,ke)},maxBy:function(ke,Jt){return xr(this,Jt,ke)},min:function(ke){return xr(this,ke?ti(ke):ki)},minBy:function(ke,Jt){return xr(this,Jt?ti(Jt):ki,ke)},rest:function(){return this.slice(1)},skip:function(ke){return this.slice(Math.max(0,ke))},skipLast:function(ke){return go(this,this.toSeq().reverse().skip(ke).reverse())},skipWhile:function(ke,Jt){return go(this,ns(this,ke,Jt,!0))},skipUntil:function(ke,Jt){return this.skipWhile(Bs(ke),Jt)},sortBy:function(ke,Jt){return go(this,To(this,Jt,ke))},take:function(ke){return this.slice(0,Math.max(0,ke))},takeLast:function(ke){return go(this,this.toSeq().reverse().take(ke).reverse())},takeWhile:function(ke,Jt){return go(this,ba(this,ke,Jt))},takeUntil:function(ke,Jt){return this.takeWhile(Bs(ke),Jt)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=bi(this))}});var vi=r.prototype;vi[h]=!0,vi[$]=vi.values,vi.__toJS=vi.toArray,vi.__toStringMapper=gi,vi.inspect=vi.toSource=function(){return this.toString()},vi.chain=vi.flatMap,vi.contains=vi.includes,function(){try{Object.defineProperty(vi,"length",{get:function(){if(!r.noLengthWarning){var ke;try{throw new Error}catch(Jt){ke=Jt.stack}if(ke.indexOf("_wrapObject")===-1)return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+ke),this.size}}})}catch{}}(),wi(o,{flip:function(){return go(this,Ho(this))},findKey:function(ke,Jt){var Fn=this.findEntry(ke,Jt);return Fn&&Fn[0]},findLastKey:function(ke,Jt){return this.toSeq().reverse().findKey(ke,Jt)},keyOf:function(ke){return this.findKey(function(Jt){return $e(Jt,ke)})},lastKeyOf:function(ke){return this.findLastKey(function(Jt){return $e(Jt,ke)})},mapEntries:function(ke,Jt){var Fn=this,mr=0;return go(this,this.toSeq().map(function(Tr,Oo){return ke.call(Jt,[Oo,Tr],mr++,Fn)}).fromEntrySeq())},mapKeys:function(ke,Jt){var Fn=this;return go(this,this.toSeq().flip().map(function(mr,Tr){return ke.call(Jt,mr,Tr,Fn)}).flip())}});var sl=o.prototype;sl[g]=!0,sl[$]=vi.entries,sl.__toJS=vi.toObject,sl.__toStringMapper=function(ke,Jt){return JSON.stringify(Jt)+": "+gi(ke)},wi(n,{toKeyedSeq:function(){return new br(this,!1)},filter:function(ke,Jt){return go(this,Ia(this,ke,Jt,!1))},findIndex:function(ke,Jt){var Fn=this.findEntry(ke,Jt);return Fn?Fn[0]:-1},indexOf:function(ke){var Jt=this.toKeyedSeq().keyOf(ke);return Jt===void 0?-1:Jt},lastIndexOf:function(ke){var Jt=this.toKeyedSeq().reverse().keyOf(ke);return Jt===void 0?-1:Jt},reverse:function(){return go(this,Ea(this,!1))},slice:function(ke,Jt){return go(this,Xa(this,ke,Jt,!1))},splice:function(ke,Jt){var Fn=arguments.length;if(Jt=Math.max(Jt|0,0),Fn===0||Fn===2&&!Jt)return this;ke=G(ke,ke<0?this.count():this.size);var mr=this.slice(0,ke);return go(this,Fn===1?mr:mr.concat(E(arguments,2),this.slice(ke+Jt)))},findLastIndex:function(ke,Jt){var Fn=this.toKeyedSeq().findLastKey(ke,Jt);return Fn===void 0?-1:Fn},first:function(){return this.get(0)},flatten:function(ke){return go(this,Is(this,ke,!1))},get:function(ke,Jt){return ke=L(this,ke),ke<0||this.size===1/0||this.size!==void 0&&ke>this.size?Jt:this.find(function(Fn,mr){return mr===ke},void 0,Jt)},has:function(ke){return ke=L(this,ke),ke>=0&&(this.size!==void 0?this.size===1/0||ke<this.size:this.indexOf(ke)!==-1)},interpose:function(ke){return go(this,Qr(this,ke))},interleave:function(){var ke=[this].concat(E(arguments)),Jt=Mo(this.toSeq(),he.of,ke),Fn=Jt.flatten(!0);return Jt.size&&(Fn.size=Jt.size*ke.length),go(this,Fn)},last:function(){return this.get(-1)},skipWhile:function(ke,Jt){return go(this,ns(this,ke,Jt,!1))},zip:function(){var ke=[this].concat(E(arguments));return go(this,Mo(this,yi,ke))},zipWith:function(ke){var Jt=E(arguments);return Jt[0]=this,go(this,Mo(this,ke,Jt))}}),n.prototype[_]=!0,n.prototype[p]=!0,wi(a,{get:function(ke,Jt){return this.has(ke)?ke:Jt},includes:function(ke){return this.has(ke)},keySeq:function(){return this.valueSeq()}}),a.prototype.has=vi.includes,wi(re,o.prototype),wi(he,n.prototype),wi(Ee,a.prototype),wi(Re,o.prototype),wi(nt,n.prototype),wi(st,a.prototype);function Zi(ke,Jt){return Jt}function Zs(ke,Jt){return[Jt,ke]}function Bs(ke){return function(){return!ke.apply(this,arguments)}}function ti(ke){return function(){return-ke.apply(this,arguments)}}function gi(ke){return typeof ke=="string"?JSON.stringify(ke):ke}function yi(){return E(arguments)}function ki(ke,Jt){return ke<Jt?1:ke>Jt?-1:0}function bi(ke){if(ke.size===1/0)return 0;var Jt=d(ke),Fn=c(ke),mr=Jt?1:0,Tr=ke.__iterate(Fn?Jt?function(Oo,Uo){mr=31*mr+Si(It(Oo),It(Uo))|0}:function(Oo,Uo){mr=mr+Si(It(Oo),It(Uo))|0}:Jt?function(Oo){mr=31*mr+It(Oo)|0}:function(Oo){mr=mr+It(Oo)|0});return nl(Tr,mr)}function nl(ke,Jt){return Jt=vt(Jt,3432918353),Jt=vt(Jt<<15|Jt>>>-15,461845907),Jt=vt(Jt<<13|Jt>>>-13,5),Jt=(Jt+3864292196|0)^ke,Jt=vt(Jt^Jt>>>16,2246822507),Jt=vt(Jt^Jt>>>13,3266489909),Jt=ze(Jt^Jt>>>16),Jt}function Si(ke,Jt){return ke^Jt+2654435769+(ke<<6)+(ke>>2)|0}var ta={Iterable:r,Seq:me,Collection:ce,Map:qn,OrderedMap:Ht,List:vr,Stack:_s,Set:ys,OrderedSet:ks,Record:Yo,Range:mt,Repeat:Pt,is:$e,fromJS:ht};return ta})},387966:function(b){typeof Object.create=="function"?b.exports=function(e,r){e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:b.exports=function(e,r){e.super_=r;var o=function(){};o.prototype=r.prototype,e.prototype=new o,e.prototype.constructor=e}},974689:function(b){var l={};b.exports=function(e,r){if(!l[e]){l[e]=!0;var o=document.createElement("style");o.setAttribute("type","text/css"),"textContent"in o?o.textContent=e:o.styleSheet.cssText=e;var n=document.getElementsByTagName("head")[0];r&&r.prepend?n.insertBefore(o,n.childNodes[0]):n.appendChild(o)}}},310365:function(b){b.exports=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")}},579085:function(b){b.exports=l;function l(e){return!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}},44254:function(module,__unused_webpack_exports,__webpack_require__){var process=__webpack_require__(760636);/**
 * [js-sha256]{@link https://github.com/emn178/js-sha256}
 *
 * @version 0.9.0
 * @author Chen, Yi-Cyuan [emn178@gmail.com]
 * @copyright Chen, Yi-Cyuan 2014-2017
 * @license MIT
 */(function(){"use strict";var ERROR="input is invalid type",WINDOW=typeof window=="object",root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&typeof self=="object",NODE_JS=!root.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;NODE_JS?root=__webpack_require__.g:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&!0&&module.exports,AMD=typeof define=="function"&&define.amd,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];(root.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(b){return Object.prototype.toString.call(b)==="[object Array]"}),ARRAY_BUFFER&&(root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(b){return typeof b=="object"&&b.buffer&&b.buffer.constructor===ArrayBuffer});var createOutputMethod=function(b,l){return function(e){return new Sha256(l,!0).update(e)[b]()}},createMethod=function(b){var l=createOutputMethod("hex",b);NODE_JS&&(l=nodeWrap(l,b)),l.create=function(){return new Sha256(b)},l.update=function(o){return l.create().update(o)};for(var e=0;e<OUTPUT_TYPES.length;++e){var r=OUTPUT_TYPES[e];l[r]=createOutputMethod(r,b)}return l},nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(b){if(typeof b=="string")return crypto.createHash(algorithm).update(b,"utf8").digest("hex");if(b==null)throw new Error(ERROR);return b.constructor===ArrayBuffer&&(b=new Uint8Array(b)),Array.isArray(b)||ArrayBuffer.isView(b)||b.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(b)).digest("hex"):method(b)};return nodeMethod},createHmacOutputMethod=function(b,l){return function(e,r){return new HmacSha256(e,l,!0).update(r)[b]()}},createHmacMethod=function(b){var l=createHmacOutputMethod("hex",b);l.create=function(o){return new HmacSha256(o,b)},l.update=function(o,n){return l.create(o).update(n)};for(var e=0;e<OUTPUT_TYPES.length;++e){var r=OUTPUT_TYPES[e];l[r]=createHmacOutputMethod(r,b)}return l};function Sha256(b,l){l?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],b?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=b}Sha256.prototype.update=function(b){if(!this.finalized){var l,e=typeof b;if(e!=="string"){if(e==="object"){if(b===null)throw new Error(ERROR);if(ARRAY_BUFFER&&b.constructor===ArrayBuffer)b=new Uint8Array(b);else if(!Array.isArray(b)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(b)))throw new Error(ERROR)}else throw new Error(ERROR);l=!0}for(var r,o=0,n,a=b.length,i=this.blocks;o<a;){if(this.hashed&&(this.hashed=!1,i[0]=this.block,i[16]=i[1]=i[2]=i[3]=i[4]=i[5]=i[6]=i[7]=i[8]=i[9]=i[10]=i[11]=i[12]=i[13]=i[14]=i[15]=0),l)for(n=this.start;o<a&&n<64;++o)i[n>>2]|=b[o]<<SHIFT[n++&3];else for(n=this.start;o<a&&n<64;++o)r=b.charCodeAt(o),r<128?i[n>>2]|=r<<SHIFT[n++&3]:r<2048?(i[n>>2]|=(192|r>>6)<<SHIFT[n++&3],i[n>>2]|=(128|r&63)<<SHIFT[n++&3]):r<55296||r>=57344?(i[n>>2]|=(224|r>>12)<<SHIFT[n++&3],i[n>>2]|=(128|r>>6&63)<<SHIFT[n++&3],i[n>>2]|=(128|r&63)<<SHIFT[n++&3]):(r=65536+((r&1023)<<10|b.charCodeAt(++o)&1023),i[n>>2]|=(240|r>>18)<<SHIFT[n++&3],i[n>>2]|=(128|r>>12&63)<<SHIFT[n++&3],i[n>>2]|=(128|r>>6&63)<<SHIFT[n++&3],i[n>>2]|=(128|r&63)<<SHIFT[n++&3]);this.lastByteIndex=n,this.bytes+=n-this.start,n>=64?(this.block=i[16],this.start=n-64,this.hash(),this.hashed=!0):this.start=n}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var b=this.blocks,l=this.lastByteIndex;b[16]=this.block,b[l>>2]|=EXTRA[l&3],this.block=b[16],l>=56&&(this.hashed||this.hash(),b[0]=this.block,b[16]=b[1]=b[2]=b[3]=b[4]=b[5]=b[6]=b[7]=b[8]=b[9]=b[10]=b[11]=b[12]=b[13]=b[14]=b[15]=0),b[14]=this.hBytes<<3|this.bytes>>>29,b[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var b=this.h0,l=this.h1,e=this.h2,r=this.h3,o=this.h4,n=this.h5,a=this.h6,i=this.h7,c=this.blocks,u,f,d,h,g,_,p,y,O,P,C;for(u=16;u<64;++u)g=c[u-15],f=(g>>>7|g<<25)^(g>>>18|g<<14)^g>>>3,g=c[u-2],d=(g>>>17|g<<15)^(g>>>19|g<<13)^g>>>10,c[u]=c[u-16]+f+c[u-7]+d<<0;for(C=l&e,u=0;u<64;u+=4)this.first?(this.is224?(y=300032,g=c[0]-1413257819,i=g-150054599<<0,r=g+24177077<<0):(y=704751109,g=c[0]-210244248,i=g-1521486534<<0,r=g+143694565<<0),this.first=!1):(f=(b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10),d=(o>>>6|o<<26)^(o>>>11|o<<21)^(o>>>25|o<<7),y=b&l,h=y^b&e^C,p=o&n^~o&a,g=i+d+p+K[u]+c[u],_=f+h,i=r+g<<0,r=g+_<<0),f=(r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10),d=(i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7),O=r&b,h=O^r&l^y,p=i&o^~i&n,g=a+d+p+K[u+1]+c[u+1],_=f+h,a=e+g<<0,e=g+_<<0,f=(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10),d=(a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7),P=e&r,h=P^e&b^O,p=a&i^~a&o,g=n+d+p+K[u+2]+c[u+2],_=f+h,n=l+g<<0,l=g+_<<0,f=(l>>>2|l<<30)^(l>>>13|l<<19)^(l>>>22|l<<10),d=(n>>>6|n<<26)^(n>>>11|n<<21)^(n>>>25|n<<7),C=l&e,h=C^l&r^P,p=n&a^~n&i,g=o+d+p+K[u+3]+c[u+3],_=f+h,o=b+g<<0,b=g+_<<0;this.h0=this.h0+b<<0,this.h1=this.h1+l<<0,this.h2=this.h2+e<<0,this.h3=this.h3+r<<0,this.h4=this.h4+o<<0,this.h5=this.h5+n<<0,this.h6=this.h6+a<<0,this.h7=this.h7+i<<0},Sha256.prototype.hex=function(){this.finalize();var b=this.h0,l=this.h1,e=this.h2,r=this.h3,o=this.h4,n=this.h5,a=this.h6,i=this.h7,c=HEX_CHARS[b>>28&15]+HEX_CHARS[b>>24&15]+HEX_CHARS[b>>20&15]+HEX_CHARS[b>>16&15]+HEX_CHARS[b>>12&15]+HEX_CHARS[b>>8&15]+HEX_CHARS[b>>4&15]+HEX_CHARS[b&15]+HEX_CHARS[l>>28&15]+HEX_CHARS[l>>24&15]+HEX_CHARS[l>>20&15]+HEX_CHARS[l>>16&15]+HEX_CHARS[l>>12&15]+HEX_CHARS[l>>8&15]+HEX_CHARS[l>>4&15]+HEX_CHARS[l&15]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[e&15]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[r&15]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[o&15]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[n&15]+HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[a&15];return this.is224||(c+=HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[i&15]),c},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var b=this.h0,l=this.h1,e=this.h2,r=this.h3,o=this.h4,n=this.h5,a=this.h6,i=this.h7,c=[b>>24&255,b>>16&255,b>>8&255,b&255,l>>24&255,l>>16&255,l>>8&255,l&255,e>>24&255,e>>16&255,e>>8&255,e&255,r>>24&255,r>>16&255,r>>8&255,r&255,o>>24&255,o>>16&255,o>>8&255,o&255,n>>24&255,n>>16&255,n>>8&255,n&255,a>>24&255,a>>16&255,a>>8&255,a&255];return this.is224||c.push(i>>24&255,i>>16&255,i>>8&255,i&255),c},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var b=new ArrayBuffer(this.is224?28:32),l=new DataView(b);return l.setUint32(0,this.h0),l.setUint32(4,this.h1),l.setUint32(8,this.h2),l.setUint32(12,this.h3),l.setUint32(16,this.h4),l.setUint32(20,this.h5),l.setUint32(24,this.h6),this.is224||l.setUint32(28,this.h7),b};function HmacSha256(b,l,e){var r,o=typeof b;if(o==="string"){var n=[],a=b.length,i=0,c;for(r=0;r<a;++r)c=b.charCodeAt(r),c<128?n[i++]=c:c<2048?(n[i++]=192|c>>6,n[i++]=128|c&63):c<55296||c>=57344?(n[i++]=224|c>>12,n[i++]=128|c>>6&63,n[i++]=128|c&63):(c=65536+((c&1023)<<10|b.charCodeAt(++r)&1023),n[i++]=240|c>>18,n[i++]=128|c>>12&63,n[i++]=128|c>>6&63,n[i++]=128|c&63);b=n}else if(o==="object"){if(b===null)throw new Error(ERROR);if(ARRAY_BUFFER&&b.constructor===ArrayBuffer)b=new Uint8Array(b);else if(!Array.isArray(b)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(b)))throw new Error(ERROR)}else throw new Error(ERROR);b.length>64&&(b=new Sha256(l,!0).update(b).array());var u=[],f=[];for(r=0;r<64;++r){var d=b[r]||0;u[r]=92^d,f[r]=54^d}Sha256.call(this,l,e),this.update(f),this.oKeyPad=u,this.inner=!0,this.sharedMemory=e}HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var b=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(b),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&define(function(){return exports}))})()},362775:function(b,l,e){"use strict";var r=e(172977);b.exports=o;function o(n,a,i){if(arguments.length===3)return o.set(n,a,i);if(arguments.length===2)return o.get(n,a);var c=o.bind(o,n);for(var u in o)o.hasOwnProperty(u)&&(c[u]=o[u].bind(c,n));return c}o.get=function(a,i){for(var c=Array.isArray(i)?i:o.parse(i),u=0;u<c.length;++u){var f=c[u];if(!(typeof a=="object"&&f in a))throw new Error("Invalid reference token: "+f);a=a[f]}return a},o.set=function(a,i,c){var u=Array.isArray(i)?i:o.parse(i),f=u[0];if(u.length===0)throw Error("Can not set the root object");for(var d=0;d<u.length-1;++d){var h=u[d];typeof h!="string"&&typeof h!="number"&&(h=String(h)),!(h==="__proto__"||h==="constructor"||h==="prototype")&&(h==="-"&&Array.isArray(a)&&(h=a.length),f=u[d+1],h in a||(f.match(/^(\d+|-)$/)?a[h]=[]:a[h]={}),a=a[h])}return f==="-"&&Array.isArray(a)&&(f=a.length),a[f]=c,this},o.remove=function(n,a){var i=Array.isArray(a)?a:o.parse(a),c=i[i.length-1];if(c===void 0)throw new Error('Invalid JSON pointer for remove: "'+a+'"');var u=o.get(n,i.slice(0,-1));if(Array.isArray(u)){var f=+c;if(c===""&&isNaN(f))throw new Error('Invalid array index: "'+c+'"');Array.prototype.splice.call(u,f,1)}else delete u[c]},o.dict=function(a,i){var c={};return o.walk(a,function(u,f){c[f]=u},i),c},o.walk=function(a,i,c){var u=[];c=c||function(f){var d=Object.prototype.toString.call(f);return d==="[object Object]"||d==="[object Array]"},function f(d){r(d,function(h,g){u.push(String(g)),c(h)?f(h):i(h,o.compile(u)),u.pop()})}(a)},o.has=function(a,i){try{o.get(a,i)}catch{return!1}return!0},o.escape=function(a){return a.toString().replace(/~/g,"~0").replace(/\//g,"~1")},o.unescape=function(a){return a.replace(/~1/g,"/").replace(/~0/g,"~")},o.parse=function(a){if(a==="")return[];if(a.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+a);return a.substring(1).split(/\//).map(o.unescape)},o.compile=function(a){return a.length===0?"":"/"+a.map(o.escape).join("/")}},568324:function(b){(function(l,e){typeof define=="function"&&define.amd?define([],e):b.exports=e()})(this,function(){var l=function(){},e={},r={},o={};function n(f,d){f=f.push?f:[f];var h=[],g=f.length,_=g,p,y,O,P;for(p=function(C,A){A.length&&h.push(C),_--,_||d(h)};g--;){if(y=f[g],O=r[y],O){p(y,O);continue}P=o[y]=o[y]||[],P.push(p)}}function a(f,d){if(f){var h=o[f];if(r[f]=d,!!h)for(;h.length;)h[0](f,d),h.splice(0,1)}}function i(f,d,h,g){var _=document,p=h.async,y=(h.numRetries||0)+1,O=h.before||l,P,C;g=g||0,/(^css!|\.css$)/.test(f)?(P=!0,C=_.createElement("link"),C.rel="stylesheet",C.href=f.replace(/^css!/,"")):(C=_.createElement("script"),C.src=f,C.async=p===void 0?!0:p),C.onload=C.onerror=C.onbeforeload=function(A){var S=A.type[0];if(P&&"hideFocus"in C)try{C.sheet.cssText.length||(S="e")}catch{S="e"}if(S=="e"&&(g+=1,g<y))return i(f,d,h,g);d(f,S,A.defaultPrevented)},O(f,C)!==!1&&_.head.appendChild(C)}function c(f,d,h){f=f.push?f:[f];var g=f.length,_=g,p=[],y,O;for(y=function(P,C,A){if(C=="e"&&p.push(P),C=="b")if(A)p.push(P);else return;g--,g||d(p)},O=0;O<_;O++)i(f[O],y,h)}function u(f,d,h){var g,_;if(d&&d.trim&&(g=d),_=(g?h:d)||{},g){if(g in e)throw"LoadJS";e[g]=!0}c(f,function(p){p.length?(_.error||l)(p):(_.success||l)(),a(g,p)},_)}return u.ready=function(d,h){return n(d,function(g){g.length?(h.error||l)(g):(h.success||l)()}),u},u.done=function(d){a(d,[])},u.reset=function(){e={},r={},o={}},u.isDefined=function(d){return d in e},u})},734301:function(b){(function(l,e){typeof define=="function"&&define.amd?define([],e):b.exports=e()})(this,function(){var l=function(){},e={},r={},o={};function n(d,h){d=d.push?d:[d];var g=[],_=d.length,p=_,y,O,P,C;for(y=function(A,S){S.length&&g.push(A),p--,p||h(g)};_--;){if(O=d[_],P=r[O],P){y(O,P);continue}C=o[O]=o[O]||[],C.push(y)}}function a(d,h){if(d){var g=o[d];if(r[d]=h,!!g)for(;g.length;)g[0](d,h),g.splice(0,1)}}function i(d,h){d.call&&(d={success:d}),h.length?(d.error||l)(h):(d.success||l)(d)}function c(d,h,g,_){var p=document,y=g.async,O=(g.numRetries||0)+1,P=g.before||l,C=d.replace(/^(css|img)!/,""),A,S;_=_||0,/(^css!|\.css$)/.test(d)?(S=p.createElement("link"),S.rel="stylesheet",S.href=C,A="hideFocus"in S,A&&S.relList&&(A=0,S.rel="preload",S.as="style")):/(^img!|\.(png|gif|jpg|svg)$)/.test(d)?(S=p.createElement("img"),S.src=C):(S=p.createElement("script"),S.src=d,S.async=y===void 0?!0:y),S.onload=S.onerror=S.onbeforeload=function(T){var s=T.type[0];if(A)try{S.sheet.cssText.length||(s="e")}catch(v){v.code!=18&&(s="e")}if(s=="e"){if(_+=1,_<O)return c(d,h,g,_)}else if(S.rel=="preload"&&S.as=="style")return S.rel="stylesheet";h(d,s,T.defaultPrevented)},P(d,S)!==!1&&p.head.appendChild(S)}function u(d,h,g){d=d.push?d:[d];var _=d.length,p=_,y=[],O,P;for(O=function(C,A,S){if(A=="e"&&y.push(C),A=="b")if(S)y.push(C);else return;_--,_||h(y)},P=0;P<p;P++)c(d[P],O,g)}function f(d,h,g){var _,p;if(h&&h.trim&&(_=h),p=(_?g:h)||{},_){if(_ in e)throw"LoadJS";e[_]=!0}function y(O,P){u(d,function(C){i(p,C),O&&i({success:O,error:P},C),a(_,C)},p)}if(p.returnPromise)return new Promise(y);y()}return f.ready=function(h,g){return n(h,function(_){i(g,_)}),f},f.done=function(h){a(h,[])},f.reset=function(){e={},r={},o={}},f.isDefined=function(h){return h in e},f})},537465:function(b,l,e){/*!
    localForage -- Offline Storage, Improved
    Version 1.10.0
    https://localforage.github.io/localForage
    (c) 2013-2017 Mozilla, Apache License 2.0
*/(function(r){if(1)b.exports=r();else var o})(function(){var r,o,n;return function a(i,c,u){function f(g,_){if(!c[g]){if(!i[g]){var p=void 0;if(!_&&p)return require(g,!0);if(d)return d(g,!0);var y=new Error("Cannot find module '"+g+"'");throw y.code="MODULE_NOT_FOUND",y}var O=c[g]={exports:{}};i[g][0].call(O.exports,function(P){var C=i[g][1][P];return f(C||P)},O,O.exports,a,i,c,u)}return c[g].exports}for(var d=void 0,h=0;h<u.length;h++)f(u[h]);return f}({1:[function(a,i,c){(function(u){"use strict";var f=u.MutationObserver||u.WebKitMutationObserver,d;if(f){var h=0,g=new f(P),_=u.document.createTextNode("");g.observe(_,{characterData:!0}),d=function(){_.data=h=++h%2}}else if(!u.setImmediate&&typeof u.MessageChannel<"u"){var p=new u.MessageChannel;p.port1.onmessage=P,d=function(){p.port2.postMessage(0)}}else"document"in u&&"onreadystatechange"in u.document.createElement("script")?d=function(){var A=u.document.createElement("script");A.onreadystatechange=function(){P(),A.onreadystatechange=null,A.parentNode.removeChild(A),A=null},u.document.documentElement.appendChild(A)}:d=function(){setTimeout(P,0)};var y,O=[];function P(){y=!0;for(var A,S,T=O.length;T;){for(S=O,O=[],A=-1;++A<T;)S[A]();T=O.length}y=!1}i.exports=C;function C(A){O.push(A)===1&&!y&&d()}}).call(this,typeof e.g<"u"?e.g:typeof self<"u"?self:typeof window<"u"?window:{})},{}],2:[function(a,i,c){"use strict";var u=a(1);function f(){}var d={},h=["REJECTED"],g=["FULFILLED"],_=["PENDING"];i.exports=p;function p(m){if(typeof m!="function")throw new TypeError("resolver must be a function");this.state=_,this.queue=[],this.outcome=void 0,m!==f&&C(this,m)}p.prototype.catch=function(m){return this.then(null,m)},p.prototype.then=function(m,E){if(typeof m!="function"&&this.state===g||typeof E!="function"&&this.state===h)return this;var I=new this.constructor(f);if(this.state!==_){var L=this.state===g?m:E;O(I,L,this.outcome)}else this.queue.push(new y(I,m,E));return I};function y(m,E,I){this.promise=m,typeof E=="function"&&(this.onFulfilled=E,this.callFulfilled=this.otherCallFulfilled),typeof I=="function"&&(this.onRejected=I,this.callRejected=this.otherCallRejected)}y.prototype.callFulfilled=function(m){d.resolve(this.promise,m)},y.prototype.otherCallFulfilled=function(m){O(this.promise,this.onFulfilled,m)},y.prototype.callRejected=function(m){d.reject(this.promise,m)},y.prototype.otherCallRejected=function(m){O(this.promise,this.onRejected,m)};function O(m,E,I){u(function(){var L;try{L=E(I)}catch(W){return d.reject(m,W)}L===m?d.reject(m,new TypeError("Cannot resolve promise with itself")):d.resolve(m,L)})}d.resolve=function(m,E){var I=A(P,E);if(I.status==="error")return d.reject(m,I.value);var L=I.value;if(L)C(m,L);else{m.state=g,m.outcome=E;for(var W=-1,F=m.queue.length;++W<F;)m.queue[W].callFulfilled(E)}return m},d.reject=function(m,E){m.state=h,m.outcome=E;for(var I=-1,L=m.queue.length;++I<L;)m.queue[I].callRejected(E);return m};function P(m){var E=m&&m.then;if(m&&(typeof m=="object"||typeof m=="function")&&typeof E=="function")return function(){E.apply(m,arguments)}}function C(m,E){var I=!1;function L(k){I||(I=!0,d.reject(m,k))}function W(k){I||(I=!0,d.resolve(m,k))}function F(){E(W,L)}var G=A(F);G.status==="error"&&L(G.value)}function A(m,E){var I={};try{I.value=m(E),I.status="success"}catch(L){I.status="error",I.value=L}return I}p.resolve=S;function S(m){return m instanceof this?m:d.resolve(new this(f),m)}p.reject=T;function T(m){var E=new this(f);return d.reject(E,m)}p.all=s;function s(m){var E=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var I=m.length,L=!1;if(!I)return this.resolve([]);for(var W=new Array(I),F=0,G=-1,k=new this(f);++G<I;)x(m[G],G);return k;function x(M,B){E.resolve(M).then(R,function(U){L||(L=!0,d.reject(k,U))});function R(U){W[B]=U,++F===I&&!L&&(L=!0,d.resolve(k,W))}}}p.race=v;function v(m){var E=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var I=m.length,L=!1;if(!I)return this.resolve([]);for(var W=-1,F=new this(f);++W<I;)G(m[W]);return F;function G(k){E.resolve(k).then(function(x){L||(L=!0,d.resolve(F,x))},function(x){L||(L=!0,d.reject(F,x))})}}},{1:1}],3:[function(a,i,c){(function(u){"use strict";typeof u.Promise!="function"&&(u.Promise=a(2))}).call(this,typeof e.g<"u"?e.g:typeof self<"u"?self:typeof window<"u"?window:{})},{2:2}],4:[function(a,i,c){"use strict";var u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ut){return typeof ut}:function(ut){return ut&&typeof Symbol=="function"&&ut.constructor===Symbol&&ut!==Symbol.prototype?"symbol":typeof ut};function f(ut,Ft){if(!(ut instanceof Ft))throw new TypeError("Cannot call a class as a function")}function d(){try{if(typeof indexedDB<"u")return indexedDB;if(typeof webkitIndexedDB<"u")return webkitIndexedDB;if(typeof mozIndexedDB<"u")return mozIndexedDB;if(typeof OIndexedDB<"u")return OIndexedDB;if(typeof msIndexedDB<"u")return msIndexedDB}catch{return}}var h=d();function g(){try{if(!h||!h.open)return!1;var ut=typeof openDatabase<"u"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),Ft=typeof fetch=="function"&&fetch.toString().indexOf("[native code")!==-1;return(!ut||Ft)&&typeof indexedDB<"u"&&typeof IDBKeyRange<"u"}catch{return!1}}function _(ut,Ft){ut=ut||[],Ft=Ft||{};try{return new Blob(ut,Ft)}catch(Sr){if(Sr.name!=="TypeError")throw Sr;for(var tn=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,In=new tn,rr=0;rr<ut.length;rr+=1)In.append(ut[rr]);return In.getBlob(Ft.type)}}typeof Promise>"u"&&a(3);var p=Promise;function y(ut,Ft){Ft&&ut.then(function(tn){Ft(null,tn)},function(tn){Ft(tn)})}function O(ut,Ft,tn){typeof Ft=="function"&&ut.then(Ft),typeof tn=="function"&&ut.catch(tn)}function P(ut){return typeof ut!="string"&&(console.warn(ut+" used as a key, but it is not a string."),ut=String(ut)),ut}function C(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var A="local-forage-detect-blob-support",S=void 0,T={},s=Object.prototype.toString,v="readonly",m="readwrite";function E(ut){for(var Ft=ut.length,tn=new ArrayBuffer(Ft),In=new Uint8Array(tn),rr=0;rr<Ft;rr++)In[rr]=ut.charCodeAt(rr);return tn}function I(ut){return new p(function(Ft){var tn=ut.transaction(A,m),In=_([""]);tn.objectStore(A).put(In,"key"),tn.onabort=function(rr){rr.preventDefault(),rr.stopPropagation(),Ft(!1)},tn.oncomplete=function(){var rr=navigator.userAgent.match(/Chrome\/(\d+)/),Sr=navigator.userAgent.match(/Edge\//);Ft(Sr||!rr||parseInt(rr[1],10)>=43)}}).catch(function(){return!1})}function L(ut){return typeof S=="boolean"?p.resolve(S):I(ut).then(function(Ft){return S=Ft,S})}function W(ut){var Ft=T[ut.name],tn={};tn.promise=new p(function(In,rr){tn.resolve=In,tn.reject=rr}),Ft.deferredOperations.push(tn),Ft.dbReady?Ft.dbReady=Ft.dbReady.then(function(){return tn.promise}):Ft.dbReady=tn.promise}function F(ut){var Ft=T[ut.name],tn=Ft.deferredOperations.pop();if(tn)return tn.resolve(),tn.promise}function G(ut,Ft){var tn=T[ut.name],In=tn.deferredOperations.pop();if(In)return In.reject(Ft),In.promise}function k(ut,Ft){return new p(function(tn,In){if(T[ut.name]=T[ut.name]||ie(),ut.db)if(Ft)W(ut),ut.db.close();else return tn(ut.db);var rr=[ut.name];Ft&&rr.push(ut.version);var Sr=h.open.apply(h,rr);Ft&&(Sr.onupgradeneeded=function(Yr){var Pr=Sr.result;try{Pr.createObjectStore(ut.storeName),Yr.oldVersion<=1&&Pr.createObjectStore(A)}catch(Mn){if(Mn.name==="ConstraintError")console.warn('The database "'+ut.name+'" has been upgraded from version '+Yr.oldVersion+" to version "+Yr.newVersion+', but the storage "'+ut.storeName+'" already exists.');else throw Mn}}),Sr.onerror=function(Yr){Yr.preventDefault(),In(Sr.error)},Sr.onsuccess=function(){var Yr=Sr.result;Yr.onversionchange=function(Pr){Pr.target.close()},tn(Yr),F(ut)}})}function x(ut){return k(ut,!1)}function M(ut){return k(ut,!0)}function B(ut,Ft){if(!ut.db)return!0;var tn=!ut.db.objectStoreNames.contains(ut.storeName),In=ut.version<ut.db.version,rr=ut.version>ut.db.version;if(In&&(ut.version!==Ft&&console.warn('The database "'+ut.name+`" can't be downgraded from version `+ut.db.version+" to version "+ut.version+"."),ut.version=ut.db.version),rr||tn){if(tn){var Sr=ut.db.version+1;Sr>ut.version&&(ut.version=Sr)}return!0}return!1}function R(ut){return new p(function(Ft,tn){var In=new FileReader;In.onerror=tn,In.onloadend=function(rr){var Sr=btoa(rr.target.result||"");Ft({__local_forage_encoded_blob:!0,data:Sr,type:ut.type})},In.readAsBinaryString(ut)})}function U(ut){var Ft=E(atob(ut.data));return _([Ft],{type:ut.type})}function j(ut){return ut&&ut.__local_forage_encoded_blob}function $(ut){var Ft=this,tn=Ft._initReady().then(function(){var In=T[Ft._dbInfo.name];if(In&&In.dbReady)return In.dbReady});return O(tn,ut,ut),tn}function ee(ut){W(ut);for(var Ft=T[ut.name],tn=Ft.forages,In=0;In<tn.length;In++){var rr=tn[In];rr._dbInfo.db&&(rr._dbInfo.db.close(),rr._dbInfo.db=null)}return ut.db=null,x(ut).then(function(Sr){return ut.db=Sr,B(ut)?M(ut):Sr}).then(function(Sr){ut.db=Ft.db=Sr;for(var Yr=0;Yr<tn.length;Yr++)tn[Yr]._dbInfo.db=Sr}).catch(function(Sr){throw G(ut,Sr),Sr})}function te(ut,Ft,tn,In){In===void 0&&(In=1);try{var rr=ut.db.transaction(ut.storeName,Ft);tn(null,rr)}catch(Sr){if(In>0&&(!ut.db||Sr.name==="InvalidStateError"||Sr.name==="NotFoundError"))return p.resolve().then(function(){if(!ut.db||Sr.name==="NotFoundError"&&!ut.db.objectStoreNames.contains(ut.storeName)&&ut.version<=ut.db.version)return ut.db&&(ut.version=ut.db.version+1),M(ut)}).then(function(){return ee(ut).then(function(){te(ut,Ft,tn,In-1)})}).catch(tn);tn(Sr)}}function ie(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function ne(ut){var Ft=this,tn={db:null};if(ut)for(var In in ut)tn[In]=ut[In];var rr=T[tn.name];rr||(rr=ie(),T[tn.name]=rr),rr.forages.push(Ft),Ft._initReady||(Ft._initReady=Ft.ready,Ft.ready=$);var Sr=[];function Yr(){return p.resolve()}for(var Pr=0;Pr<rr.forages.length;Pr++){var Mn=rr.forages[Pr];Mn!==Ft&&Sr.push(Mn._initReady().catch(Yr))}var sr=rr.forages.slice(0);return p.all(Sr).then(function(){return tn.db=rr.db,x(tn)}).then(function(Ar){return tn.db=Ar,B(tn,Ft._defaultConfig.version)?M(tn):Ar}).then(function(Ar){tn.db=rr.db=Ar,Ft._dbInfo=tn;for(var vr=0;vr<sr.length;vr++){var qr=sr[vr];qr!==Ft&&(qr._dbInfo.db=tn.db,qr._dbInfo.version=tn.version)}})}function pe(ut,Ft){var tn=this;ut=P(ut);var In=new p(function(rr,Sr){tn.ready().then(function(){te(tn._dbInfo,v,function(Yr,Pr){if(Yr)return Sr(Yr);try{var Mn=Pr.objectStore(tn._dbInfo.storeName),sr=Mn.get(ut);sr.onsuccess=function(){var Ar=sr.result;Ar===void 0&&(Ar=null),j(Ar)&&(Ar=U(Ar)),rr(Ar)},sr.onerror=function(){Sr(sr.error)}}catch(Ar){Sr(Ar)}})}).catch(Sr)});return y(In,Ft),In}function oe(ut,Ft){var tn=this,In=new p(function(rr,Sr){tn.ready().then(function(){te(tn._dbInfo,v,function(Yr,Pr){if(Yr)return Sr(Yr);try{var Mn=Pr.objectStore(tn._dbInfo.storeName),sr=Mn.openCursor(),Ar=1;sr.onsuccess=function(){var vr=sr.result;if(vr){var qr=vr.value;j(qr)&&(qr=U(qr));var Dr=ut(qr,vr.key,Ar++);Dr!==void 0?rr(Dr):vr.continue()}else rr()},sr.onerror=function(){Sr(sr.error)}}catch(vr){Sr(vr)}})}).catch(Sr)});return y(In,Ft),In}function q(ut,Ft,tn){var In=this;ut=P(ut);var rr=new p(function(Sr,Yr){var Pr;In.ready().then(function(){return Pr=In._dbInfo,s.call(Ft)==="[object Blob]"?L(Pr.db).then(function(Mn){return Mn?Ft:R(Ft)}):Ft}).then(function(Mn){te(In._dbInfo,m,function(sr,Ar){if(sr)return Yr(sr);try{var vr=Ar.objectStore(In._dbInfo.storeName);Mn===null&&(Mn=void 0);var qr=vr.put(Mn,ut);Ar.oncomplete=function(){Mn===void 0&&(Mn=null),Sr(Mn)},Ar.onabort=Ar.onerror=function(){var Dr=qr.error?qr.error:qr.transaction.error;Yr(Dr)}}catch(Dr){Yr(Dr)}})}).catch(Yr)});return y(rr,tn),rr}function J(ut,Ft){var tn=this;ut=P(ut);var In=new p(function(rr,Sr){tn.ready().then(function(){te(tn._dbInfo,m,function(Yr,Pr){if(Yr)return Sr(Yr);try{var Mn=Pr.objectStore(tn._dbInfo.storeName),sr=Mn.delete(ut);Pr.oncomplete=function(){rr()},Pr.onerror=function(){Sr(sr.error)},Pr.onabort=function(){var Ar=sr.error?sr.error:sr.transaction.error;Sr(Ar)}}catch(Ar){Sr(Ar)}})}).catch(Sr)});return y(In,Ft),In}function me(ut){var Ft=this,tn=new p(function(In,rr){Ft.ready().then(function(){te(Ft._dbInfo,m,function(Sr,Yr){if(Sr)return rr(Sr);try{var Pr=Yr.objectStore(Ft._dbInfo.storeName),Mn=Pr.clear();Yr.oncomplete=function(){In()},Yr.onabort=Yr.onerror=function(){var sr=Mn.error?Mn.error:Mn.transaction.error;rr(sr)}}catch(sr){rr(sr)}})}).catch(rr)});return y(tn,ut),tn}function re(ut){var Ft=this,tn=new p(function(In,rr){Ft.ready().then(function(){te(Ft._dbInfo,v,function(Sr,Yr){if(Sr)return rr(Sr);try{var Pr=Yr.objectStore(Ft._dbInfo.storeName),Mn=Pr.count();Mn.onsuccess=function(){In(Mn.result)},Mn.onerror=function(){rr(Mn.error)}}catch(sr){rr(sr)}})}).catch(rr)});return y(tn,ut),tn}function he(ut,Ft){var tn=this,In=new p(function(rr,Sr){if(ut<0){rr(null);return}tn.ready().then(function(){te(tn._dbInfo,v,function(Yr,Pr){if(Yr)return Sr(Yr);try{var Mn=Pr.objectStore(tn._dbInfo.storeName),sr=!1,Ar=Mn.openKeyCursor();Ar.onsuccess=function(){var vr=Ar.result;if(!vr){rr(null);return}ut===0||sr?rr(vr.key):(sr=!0,vr.advance(ut))},Ar.onerror=function(){Sr(Ar.error)}}catch(vr){Sr(vr)}})}).catch(Sr)});return y(In,Ft),In}function Ee(ut){var Ft=this,tn=new p(function(In,rr){Ft.ready().then(function(){te(Ft._dbInfo,v,function(Sr,Yr){if(Sr)return rr(Sr);try{var Pr=Yr.objectStore(Ft._dbInfo.storeName),Mn=Pr.openKeyCursor(),sr=[];Mn.onsuccess=function(){var Ar=Mn.result;if(!Ar){In(sr);return}sr.push(Ar.key),Ar.continue()},Mn.onerror=function(){rr(Mn.error)}}catch(Ar){rr(Ar)}})}).catch(rr)});return y(tn,ut),tn}function fe(ut,Ft){Ft=C.apply(this,arguments);var tn=this.config();ut=typeof ut!="function"&&ut||{},ut.name||(ut.name=ut.name||tn.name,ut.storeName=ut.storeName||tn.storeName);var In=this,rr;if(!ut.name)rr=p.reject("Invalid arguments");else{var Sr=ut.name===tn.name&&In._dbInfo.db,Yr=Sr?p.resolve(In._dbInfo.db):x(ut).then(function(Pr){var Mn=T[ut.name],sr=Mn.forages;Mn.db=Pr;for(var Ar=0;Ar<sr.length;Ar++)sr[Ar]._dbInfo.db=Pr;return Pr});ut.storeName?rr=Yr.then(function(Pr){if(Pr.objectStoreNames.contains(ut.storeName)){var Mn=Pr.version+1;W(ut);var sr=T[ut.name],Ar=sr.forages;Pr.close();for(var vr=0;vr<Ar.length;vr++){var qr=Ar[vr];qr._dbInfo.db=null,qr._dbInfo.version=Mn}var Dr=new p(function(eo,Vo){var Bn=h.open(ut.name,Mn);Bn.onerror=function(ar){var rn=Bn.result;rn.close(),Vo(ar)},Bn.onupgradeneeded=function(){var ar=Bn.result;ar.deleteObjectStore(ut.storeName)},Bn.onsuccess=function(){var ar=Bn.result;ar.close(),eo(ar)}});return Dr.then(function(eo){sr.db=eo;for(var Vo=0;Vo<Ar.length;Vo++){var Bn=Ar[Vo];Bn._dbInfo.db=eo,F(Bn._dbInfo)}}).catch(function(eo){throw(G(ut,eo)||p.resolve()).catch(function(){}),eo})}}):rr=Yr.then(function(Pr){W(ut);var Mn=T[ut.name],sr=Mn.forages;Pr.close();for(var Ar=0;Ar<sr.length;Ar++){var vr=sr[Ar];vr._dbInfo.db=null}var qr=new p(function(Dr,eo){var Vo=h.deleteDatabase(ut.name);Vo.onerror=function(){var Bn=Vo.result;Bn&&Bn.close(),eo(Vo.error)},Vo.onblocked=function(){console.warn('dropInstance blocked for database "'+ut.name+'" until all open connections are closed')},Vo.onsuccess=function(){var Bn=Vo.result;Bn&&Bn.close(),Dr(Bn)}});return qr.then(function(Dr){Mn.db=Dr;for(var eo=0;eo<sr.length;eo++){var Vo=sr[eo];F(Vo._dbInfo)}}).catch(function(Dr){throw(G(ut,Dr)||p.resolve()).catch(function(){}),Dr})})}return y(rr,Ft),rr}var H={_driver:"asyncStorage",_initStorage:ne,_support:g(),iterate:oe,getItem:pe,setItem:q,removeItem:J,clear:me,length:re,key:he,keys:Ee,dropInstance:fe};function z(){return typeof openDatabase=="function"}var _e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ae="~~local_forage_type~",ge=/^~~local_forage_type~([^~]+)~/,Be="__lfsc__:",Ke=Be.length,He="arbf",ye="blob",Le="si08",Ue="ui08",Xe="uic8",Fe="si16",ht="si32",Ne="ur16",Ce="ui32",we="fl32",$e="fl64",Ot=Ke+He.length,Pt=Object.prototype.toString;function Ie(ut){var Ft=ut.length*.75,tn=ut.length,In,rr=0,Sr,Yr,Pr,Mn;ut[ut.length-1]==="="&&(Ft--,ut[ut.length-2]==="="&&Ft--);var sr=new ArrayBuffer(Ft),Ar=new Uint8Array(sr);for(In=0;In<tn;In+=4)Sr=_e.indexOf(ut[In]),Yr=_e.indexOf(ut[In+1]),Pr=_e.indexOf(ut[In+2]),Mn=_e.indexOf(ut[In+3]),Ar[rr++]=Sr<<2|Yr>>4,Ar[rr++]=(Yr&15)<<4|Pr>>2,Ar[rr++]=(Pr&3)<<6|Mn&63;return sr}function Bt(ut){var Ft=new Uint8Array(ut),tn="",In;for(In=0;In<Ft.length;In+=3)tn+=_e[Ft[In]>>2],tn+=_e[(Ft[In]&3)<<4|Ft[In+1]>>4],tn+=_e[(Ft[In+1]&15)<<2|Ft[In+2]>>6],tn+=_e[Ft[In+2]&63];return Ft.length%3===2?tn=tn.substring(0,tn.length-1)+"=":Ft.length%3===1&&(tn=tn.substring(0,tn.length-2)+"=="),tn}function mt(ut,Ft){var tn="";if(ut&&(tn=Pt.call(ut)),ut&&(tn==="[object ArrayBuffer]"||ut.buffer&&Pt.call(ut.buffer)==="[object ArrayBuffer]")){var In,rr=Be;ut instanceof ArrayBuffer?(In=ut,rr+=He):(In=ut.buffer,tn==="[object Int8Array]"?rr+=Le:tn==="[object Uint8Array]"?rr+=Ue:tn==="[object Uint8ClampedArray]"?rr+=Xe:tn==="[object Int16Array]"?rr+=Fe:tn==="[object Uint16Array]"?rr+=Ne:tn==="[object Int32Array]"?rr+=ht:tn==="[object Uint32Array]"?rr+=Ce:tn==="[object Float32Array]"?rr+=we:tn==="[object Float64Array]"?rr+=$e:Ft(new Error("Failed to get type for BinaryArray"))),Ft(rr+Bt(In))}else if(tn==="[object Blob]"){var Sr=new FileReader;Sr.onload=function(){var Yr=ae+ut.type+"~"+Bt(this.result);Ft(Be+ye+Yr)},Sr.readAsArrayBuffer(ut)}else try{Ft(JSON.stringify(ut))}catch(Yr){console.error("Couldn't convert value into a JSON string: ",ut),Ft(null,Yr)}}function rt(ut){if(ut.substring(0,Ke)!==Be)return JSON.parse(ut);var Ft=ut.substring(Ot),tn=ut.substring(Ke,Ot),In;if(tn===ye&&ge.test(Ft)){var rr=Ft.match(ge);In=rr[1],Ft=Ft.substring(rr[0].length)}var Sr=Ie(Ft);switch(tn){case He:return Sr;case ye:return _([Sr],{type:In});case Le:return new Int8Array(Sr);case Ue:return new Uint8Array(Sr);case Xe:return new Uint8ClampedArray(Sr);case Fe:return new Int16Array(Sr);case Ne:return new Uint16Array(Sr);case ht:return new Int32Array(Sr);case Ce:return new Uint32Array(Sr);case we:return new Float32Array(Sr);case $e:return new Float64Array(Sr);default:throw new Error("Unkown type: "+tn)}}var ce={serialize:mt,deserialize:rt,stringToBuffer:Ie,bufferToString:Bt};function Re(ut,Ft,tn,In){ut.executeSql("CREATE TABLE IF NOT EXISTS "+Ft.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],tn,In)}function nt(ut){var Ft=this,tn={db:null};if(ut)for(var In in ut)tn[In]=typeof ut[In]!="string"?ut[In].toString():ut[In];var rr=new p(function(Sr,Yr){try{tn.db=openDatabase(tn.name,String(tn.version),tn.description,tn.size)}catch(Pr){return Yr(Pr)}tn.db.transaction(function(Pr){Re(Pr,tn,function(){Ft._dbInfo=tn,Sr()},function(Mn,sr){Yr(sr)})},Yr)});return tn.serializer=ce,rr}function st(ut,Ft,tn,In,rr,Sr){ut.executeSql(tn,In,rr,function(Yr,Pr){Pr.code===Pr.SYNTAX_ERR?Yr.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[Ft.storeName],function(Mn,sr){sr.rows.length?Sr(Mn,Pr):Re(Mn,Ft,function(){Mn.executeSql(tn,In,rr,Sr)},Sr)},Sr):Sr(Yr,Pr)},Sr)}function vt(ut,Ft){var tn=this;ut=P(ut);var In=new p(function(rr,Sr){tn.ready().then(function(){var Yr=tn._dbInfo;Yr.db.transaction(function(Pr){st(Pr,Yr,"SELECT * FROM "+Yr.storeName+" WHERE key = ? LIMIT 1",[ut],function(Mn,sr){var Ar=sr.rows.length?sr.rows.item(0).value:null;Ar&&(Ar=Yr.serializer.deserialize(Ar)),rr(Ar)},function(Mn,sr){Sr(sr)})})}).catch(Sr)});return y(In,Ft),In}function ze(ut,Ft){var tn=this,In=new p(function(rr,Sr){tn.ready().then(function(){var Yr=tn._dbInfo;Yr.db.transaction(function(Pr){st(Pr,Yr,"SELECT * FROM "+Yr.storeName,[],function(Mn,sr){for(var Ar=sr.rows,vr=Ar.length,qr=0;qr<vr;qr++){var Dr=Ar.item(qr),eo=Dr.value;if(eo&&(eo=Yr.serializer.deserialize(eo)),eo=ut(eo,Dr.key,qr+1),eo!==void 0){rr(eo);return}}rr()},function(Mn,sr){Sr(sr)})})}).catch(Sr)});return y(In,Ft),In}function It(ut,Ft,tn,In){var rr=this;ut=P(ut);var Sr=new p(function(Yr,Pr){rr.ready().then(function(){Ft===void 0&&(Ft=null);var Mn=Ft,sr=rr._dbInfo;sr.serializer.serialize(Ft,function(Ar,vr){vr?Pr(vr):sr.db.transaction(function(qr){st(qr,sr,"INSERT OR REPLACE INTO "+sr.storeName+" (key, value) VALUES (?, ?)",[ut,Ar],function(){Yr(Mn)},function(Dr,eo){Pr(eo)})},function(qr){if(qr.code===qr.QUOTA_ERR){if(In>0){Yr(It.apply(rr,[ut,Mn,tn,In-1]));return}Pr(qr)}})})}).catch(Pr)});return y(Sr,tn),Sr}function on(ut,Ft,tn){return It.apply(this,[ut,Ft,tn,1])}function Pn(ut,Ft){var tn=this;ut=P(ut);var In=new p(function(rr,Sr){tn.ready().then(function(){var Yr=tn._dbInfo;Yr.db.transaction(function(Pr){st(Pr,Yr,"DELETE FROM "+Yr.storeName+" WHERE key = ?",[ut],function(){rr()},function(Mn,sr){Sr(sr)})})}).catch(Sr)});return y(In,Ft),In}function Yn(ut){var Ft=this,tn=new p(function(In,rr){Ft.ready().then(function(){var Sr=Ft._dbInfo;Sr.db.transaction(function(Yr){st(Yr,Sr,"DELETE FROM "+Sr.storeName,[],function(){In()},function(Pr,Mn){rr(Mn)})})}).catch(rr)});return y(tn,ut),tn}function Ln(ut){var Ft=this,tn=new p(function(In,rr){Ft.ready().then(function(){var Sr=Ft._dbInfo;Sr.db.transaction(function(Yr){st(Yr,Sr,"SELECT COUNT(key) as c FROM "+Sr.storeName,[],function(Pr,Mn){var sr=Mn.rows.item(0).c;In(sr)},function(Pr,Mn){rr(Mn)})})}).catch(rr)});return y(tn,ut),tn}function bn(ut,Ft){var tn=this,In=new p(function(rr,Sr){tn.ready().then(function(){var Yr=tn._dbInfo;Yr.db.transaction(function(Pr){st(Pr,Yr,"SELECT key FROM "+Yr.storeName+" WHERE id = ? LIMIT 1",[ut+1],function(Mn,sr){var Ar=sr.rows.length?sr.rows.item(0).key:null;rr(Ar)},function(Mn,sr){Sr(sr)})})}).catch(Sr)});return y(In,Ft),In}function ir(ut){var Ft=this,tn=new p(function(In,rr){Ft.ready().then(function(){var Sr=Ft._dbInfo;Sr.db.transaction(function(Yr){st(Yr,Sr,"SELECT key FROM "+Sr.storeName,[],function(Pr,Mn){for(var sr=[],Ar=0;Ar<Mn.rows.length;Ar++)sr.push(Mn.rows.item(Ar).key);In(sr)},function(Pr,Mn){rr(Mn)})})}).catch(rr)});return y(tn,ut),tn}function Zn(ut){return new p(function(Ft,tn){ut.transaction(function(In){In.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(rr,Sr){for(var Yr=[],Pr=0;Pr<Sr.rows.length;Pr++)Yr.push(Sr.rows.item(Pr).name);Ft({db:ut,storeNames:Yr})},function(rr,Sr){tn(Sr)})},function(In){tn(In)})})}function $n(ut,Ft){Ft=C.apply(this,arguments);var tn=this.config();ut=typeof ut!="function"&&ut||{},ut.name||(ut.name=ut.name||tn.name,ut.storeName=ut.storeName||tn.storeName);var In=this,rr;return ut.name?rr=new p(function(Sr){var Yr;ut.name===tn.name?Yr=In._dbInfo.db:Yr=openDatabase(ut.name,"","",0),ut.storeName?Sr({db:Yr,storeNames:[ut.storeName]}):Sr(Zn(Yr))}).then(function(Sr){return new p(function(Yr,Pr){Sr.db.transaction(function(Mn){function sr(Dr){return new p(function(eo,Vo){Mn.executeSql("DROP TABLE IF EXISTS "+Dr,[],function(){eo()},function(Bn,ar){Vo(ar)})})}for(var Ar=[],vr=0,qr=Sr.storeNames.length;vr<qr;vr++)Ar.push(sr(Sr.storeNames[vr]));p.all(Ar).then(function(){Yr()}).catch(function(Dr){Pr(Dr)})},function(Mn){Pr(Mn)})})}):rr=p.reject("Invalid arguments"),y(rr,Ft),rr}var jt={_driver:"webSQLStorage",_initStorage:nt,_support:z(),iterate:ze,getItem:vt,setItem:on,removeItem:Pn,clear:Yn,length:Ln,key:bn,keys:ir,dropInstance:$n};function Rn(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}function jn(ut,Ft){var tn=ut.name+"/";return ut.storeName!==Ft.storeName&&(tn+=ut.storeName+"/"),tn}function Tn(){var ut="_localforage_support_test";try{return localStorage.setItem(ut,!0),localStorage.removeItem(ut),!1}catch{return!0}}function Nn(){return!Tn()||localStorage.length>0}function cn(ut){var Ft=this,tn={};if(ut)for(var In in ut)tn[In]=ut[In];return tn.keyPrefix=jn(ut,Ft._defaultConfig),Nn()?(Ft._dbInfo=tn,tn.serializer=ce,p.resolve()):p.reject()}function or(ut){var Ft=this,tn=Ft.ready().then(function(){for(var In=Ft._dbInfo.keyPrefix,rr=localStorage.length-1;rr>=0;rr--){var Sr=localStorage.key(rr);Sr.indexOf(In)===0&&localStorage.removeItem(Sr)}});return y(tn,ut),tn}function qn(ut,Ft){var tn=this;ut=P(ut);var In=tn.ready().then(function(){var rr=tn._dbInfo,Sr=localStorage.getItem(rr.keyPrefix+ut);return Sr&&(Sr=rr.serializer.deserialize(Sr)),Sr});return y(In,Ft),In}function Hr(ut,Ft){var tn=this,In=tn.ready().then(function(){for(var rr=tn._dbInfo,Sr=rr.keyPrefix,Yr=Sr.length,Pr=localStorage.length,Mn=1,sr=0;sr<Pr;sr++){var Ar=localStorage.key(sr);if(Ar.indexOf(Sr)===0){var vr=localStorage.getItem(Ar);if(vr&&(vr=rr.serializer.deserialize(vr)),vr=ut(vr,Ar.substring(Yr),Mn++),vr!==void 0)return vr}}});return y(In,Ft),In}function fo(ut,Ft){var tn=this,In=tn.ready().then(function(){var rr=tn._dbInfo,Sr;try{Sr=localStorage.key(ut)}catch{Sr=null}return Sr&&(Sr=Sr.substring(rr.keyPrefix.length)),Sr});return y(In,Ft),In}function Jr(ut){var Ft=this,tn=Ft.ready().then(function(){for(var In=Ft._dbInfo,rr=localStorage.length,Sr=[],Yr=0;Yr<rr;Yr++){var Pr=localStorage.key(Yr);Pr.indexOf(In.keyPrefix)===0&&Sr.push(Pr.substring(In.keyPrefix.length))}return Sr});return y(tn,ut),tn}function ro(ut){var Ft=this,tn=Ft.keys().then(function(In){return In.length});return y(tn,ut),tn}function Xt(ut,Ft){var tn=this;ut=P(ut);var In=tn.ready().then(function(){var rr=tn._dbInfo;localStorage.removeItem(rr.keyPrefix+ut)});return y(In,Ft),In}function Je(ut,Ft,tn){var In=this;ut=P(ut);var rr=In.ready().then(function(){Ft===void 0&&(Ft=null);var Sr=Ft;return new p(function(Yr,Pr){var Mn=In._dbInfo;Mn.serializer.serialize(Ft,function(sr,Ar){if(Ar)Pr(Ar);else try{localStorage.setItem(Mn.keyPrefix+ut,sr),Yr(Sr)}catch(vr){(vr.name==="QuotaExceededError"||vr.name==="NS_ERROR_DOM_QUOTA_REACHED")&&Pr(vr),Pr(vr)}})})});return y(rr,tn),rr}function At(ut,Ft){if(Ft=C.apply(this,arguments),ut=typeof ut!="function"&&ut||{},!ut.name){var tn=this.config();ut.name=ut.name||tn.name,ut.storeName=ut.storeName||tn.storeName}var In=this,rr;return ut.name?rr=new p(function(Sr){ut.storeName?Sr(jn(ut,In._defaultConfig)):Sr(ut.name+"/")}).then(function(Sr){for(var Yr=localStorage.length-1;Yr>=0;Yr--){var Pr=localStorage.key(Yr);Pr.indexOf(Sr)===0&&localStorage.removeItem(Pr)}}):rr=p.reject("Invalid arguments"),y(rr,Ft),rr}var xt={_driver:"localStorageWrapper",_initStorage:cn,_support:Rn(),iterate:Hr,getItem:qn,setItem:Je,removeItem:Xt,clear:or,length:ro,key:fo,keys:Jr,dropInstance:At},Qt=function(Ft,tn){return Ft===tn||typeof Ft=="number"&&typeof tn=="number"&&isNaN(Ft)&&isNaN(tn)},qt=function(Ft,tn){for(var In=Ft.length,rr=0;rr<In;){if(Qt(Ft[rr],tn))return!0;rr++}return!1},Te=Array.isArray||function(ut){return Object.prototype.toString.call(ut)==="[object Array]"},Gt={},un={},Vt={INDEXEDDB:H,WEBSQL:jt,LOCALSTORAGE:xt},Dn=[Vt.INDEXEDDB._driver,Vt.WEBSQL._driver,Vt.LOCALSTORAGE._driver],Wt=["dropInstance"],Pe=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(Wt),xe={description:"",driver:Dn.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function Ae(ut,Ft){ut[Ft]=function(){var tn=arguments;return ut.ready().then(function(){return ut[Ft].apply(ut,tn)})}}function qe(){for(var ut=1;ut<arguments.length;ut++){var Ft=arguments[ut];if(Ft)for(var tn in Ft)Ft.hasOwnProperty(tn)&&(Te(Ft[tn])?arguments[0][tn]=Ft[tn].slice():arguments[0][tn]=Ft[tn])}return arguments[0]}var wt=function(){function ut(Ft){f(this,ut);for(var tn in Vt)if(Vt.hasOwnProperty(tn)){var In=Vt[tn],rr=In._driver;this[tn]=rr,Gt[rr]||this.defineDriver(In)}this._defaultConfig=qe({},xe),this._config=qe({},this._defaultConfig,Ft),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return ut.prototype.config=function(tn){if((typeof tn>"u"?"undefined":u(tn))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var In in tn){if(In==="storeName"&&(tn[In]=tn[In].replace(/\W/g,"_")),In==="version"&&typeof tn[In]!="number")return new Error("Database version must be a number.");this._config[In]=tn[In]}return"driver"in tn&&tn.driver?this.setDriver(this._config.driver):!0}else return typeof tn=="string"?this._config[tn]:this._config},ut.prototype.defineDriver=function(tn,In,rr){var Sr=new p(function(Yr,Pr){try{var Mn=tn._driver,sr=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!tn._driver){Pr(sr);return}for(var Ar=Pe.concat("_initStorage"),vr=0,qr=Ar.length;vr<qr;vr++){var Dr=Ar[vr],eo=!qt(Wt,Dr);if((eo||tn[Dr])&&typeof tn[Dr]!="function"){Pr(sr);return}}var Vo=function(){for(var rn=function(Ze){return function(){var Mt=new Error("Method "+Ze+" is not implemented by the current driver"),ot=p.reject(Mt);return y(ot,arguments[arguments.length-1]),ot}},Rt=0,Qe=Wt.length;Rt<Qe;Rt++){var Ye=Wt[Rt];tn[Ye]||(tn[Ye]=rn(Ye))}};Vo();var Bn=function(rn){Gt[Mn]&&console.info("Redefining LocalForage driver: "+Mn),Gt[Mn]=tn,un[Mn]=rn,Yr()};"_support"in tn?tn._support&&typeof tn._support=="function"?tn._support().then(Bn,Pr):Bn(!!tn._support):Bn(!0)}catch(ar){Pr(ar)}});return O(Sr,In,rr),Sr},ut.prototype.driver=function(){return this._driver||null},ut.prototype.getDriver=function(tn,In,rr){var Sr=Gt[tn]?p.resolve(Gt[tn]):p.reject(new Error("Driver not found."));return O(Sr,In,rr),Sr},ut.prototype.getSerializer=function(tn){var In=p.resolve(ce);return O(In,tn),In},ut.prototype.ready=function(tn){var In=this,rr=In._driverSet.then(function(){return In._ready===null&&(In._ready=In._initDriver()),In._ready});return O(rr,tn,tn),rr},ut.prototype.setDriver=function(tn,In,rr){var Sr=this;Te(tn)||(tn=[tn]);var Yr=this._getSupportedDrivers(tn);function Pr(){Sr._config.driver=Sr.driver()}function Mn(vr){return Sr._extend(vr),Pr(),Sr._ready=Sr._initStorage(Sr._config),Sr._ready}function sr(vr){return function(){var qr=0;function Dr(){for(;qr<vr.length;){var eo=vr[qr];return qr++,Sr._dbInfo=null,Sr._ready=null,Sr.getDriver(eo).then(Mn).catch(Dr)}Pr();var Vo=new Error("No available storage method found.");return Sr._driverSet=p.reject(Vo),Sr._driverSet}return Dr()}}var Ar=this._driverSet!==null?this._driverSet.catch(function(){return p.resolve()}):p.resolve();return this._driverSet=Ar.then(function(){var vr=Yr[0];return Sr._dbInfo=null,Sr._ready=null,Sr.getDriver(vr).then(function(qr){Sr._driver=qr._driver,Pr(),Sr._wrapLibraryMethodsWithReady(),Sr._initDriver=sr(Yr)})}).catch(function(){Pr();var vr=new Error("No available storage method found.");return Sr._driverSet=p.reject(vr),Sr._driverSet}),O(this._driverSet,In,rr),this._driverSet},ut.prototype.supports=function(tn){return!!un[tn]},ut.prototype._extend=function(tn){qe(this,tn)},ut.prototype._getSupportedDrivers=function(tn){for(var In=[],rr=0,Sr=tn.length;rr<Sr;rr++){var Yr=tn[rr];this.supports(Yr)&&In.push(Yr)}return In},ut.prototype._wrapLibraryMethodsWithReady=function(){for(var tn=0,In=Pe.length;tn<In;tn++)Ae(this,Pe[tn])},ut.prototype.createInstance=function(tn){return new ut(tn)},ut}(),kt=new wt;i.exports=kt},{3:3}]},{},[4])(4)})},53477:function(b){function l(e,r,o){switch(o.length){case 0:return e.call(r);case 1:return e.call(r,o[0]);case 2:return e.call(r,o[0],o[1]);case 3:return e.call(r,o[0],o[1],o[2])}return e.apply(r,o)}b.exports=l},325912:function(b){function l(e,r,o,n){for(var a=-1,i=e==null?0:e.length;++a<i;){var c=e[a];r(n,c,o(c),e)}return n}b.exports=l},728197:function(b){function l(e,r){for(var o=-1,n=e==null?0:e.length;++o<n&&r(e[o],o,e)!==!1;);return e}b.exports=l},457210:function(b){function l(e,r){for(var o=-1,n=e==null?0:e.length;++o<n;)if(!r(e[o],o,e))return!1;return!0}b.exports=l},116857:function(b,l,e){var r=e(390889);function o(n,a){var i=n==null?0:n.length;return!!i&&r(n,a,0)>-1}b.exports=o},801365:function(b){function l(e,r,o){for(var n=-1,a=e==null?0:e.length;++n<a;)if(o(r,e[n]))return!0;return!1}b.exports=l},469163:function(b){function l(e,r,o,n){var a=-1,i=e==null?0:e.length;for(n&&i&&(o=e[++a]);++a<i;)o=r(o,e[a],a,e);return o}b.exports=l},501056:function(b){function l(e){return e.split("")}b.exports=l},223687:function(b){var l=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function e(r){return r.match(l)||[]}b.exports=e},22836:function(b,l,e){var r=e(666814),o=e(768824);function n(a,i,c){(c!==void 0&&!o(a[i],c)||c===void 0&&!(i in a))&&r(a,i,c)}b.exports=n},417362:function(b,l,e){var r=e(666814),o=e(768824),n=Object.prototype,a=n.hasOwnProperty;function i(c,u,f){var d=c[u];(!(a.call(c,u)&&o(d,f))||f===void 0&&!(u in c))&&r(c,u,f)}b.exports=i},657915:function(b,l,e){var r=e(722887);function o(n,a,i,c){return r(n,function(u,f,d){a(c,u,i(u),d)}),c}b.exports=o},808223:function(b,l,e){var r=e(98839),o=e(935215);function n(a,i){return a&&r(i,o(i),a)}b.exports=n},291597:function(b,l,e){var r=e(98839),o=e(726146);function n(a,i){return a&&r(i,o(i),a)}b.exports=n},666814:function(b,l,e){var r=e(343563);function o(n,a,i){a=="__proto__"&&r?r(n,a,{configurable:!0,enumerable:!0,value:i,writable:!0}):n[a]=i}b.exports=o},39171:function(b){function l(e,r,o){return e===e&&(o!==void 0&&(e=e<=o?e:o),r!==void 0&&(e=e>=r?e:r)),e}b.exports=l},162482:function(b,l,e){var r=e(547578),o=e(728197),n=e(417362),a=e(808223),i=e(291597),c=e(144686),u=e(195338),f=e(667366),d=e(503982),h=e(691011),g=e(299953),_=e(518921),p=e(897463),y=e(412210),O=e(276249),P=e(195593),C=e(651023),A=e(85558),S=e(58980),T=e(160571),s=e(935215),v=e(726146),m=1,E=2,I=4,L="[object Arguments]",W="[object Array]",F="[object Boolean]",G="[object Date]",k="[object Error]",x="[object Function]",M="[object GeneratorFunction]",B="[object Map]",R="[object Number]",U="[object Object]",j="[object RegExp]",$="[object Set]",ee="[object String]",te="[object Symbol]",ie="[object WeakMap]",ne="[object ArrayBuffer]",pe="[object DataView]",oe="[object Float32Array]",q="[object Float64Array]",J="[object Int8Array]",me="[object Int16Array]",re="[object Int32Array]",he="[object Uint8Array]",Ee="[object Uint8ClampedArray]",fe="[object Uint16Array]",H="[object Uint32Array]",z={};z[L]=z[W]=z[ne]=z[pe]=z[F]=z[G]=z[oe]=z[q]=z[J]=z[me]=z[re]=z[B]=z[R]=z[U]=z[j]=z[$]=z[ee]=z[te]=z[he]=z[Ee]=z[fe]=z[H]=!0,z[k]=z[x]=z[ie]=!1;function _e(ae,ge,Be,Ke,He,ye){var Le,Ue=ge&m,Xe=ge&E,Fe=ge&I;if(Be&&(Le=He?Be(ae,Ke,He,ye):Be(ae)),Le!==void 0)return Le;if(!S(ae))return ae;var ht=P(ae);if(ht){if(Le=p(ae),!Ue)return u(ae,Le)}else{var Ne=_(ae),Ce=Ne==x||Ne==M;if(C(ae))return c(ae,Ue);if(Ne==U||Ne==L||Ce&&!He){if(Le=Xe||Ce?{}:O(ae),!Ue)return Xe?d(ae,i(Le,ae)):f(ae,a(Le,ae))}else{if(!z[Ne])return He?ae:{};Le=y(ae,Ne,Ue)}}ye||(ye=new r);var we=ye.get(ae);if(we)return we;ye.set(ae,Le),T(ae)?ae.forEach(function(Pt){Le.add(_e(Pt,ge,Be,Pt,ae,ye))}):A(ae)&&ae.forEach(function(Pt,Ie){Le.set(Ie,_e(Pt,ge,Be,Ie,ae,ye))});var $e=Fe?Xe?g:h:Xe?v:s,Ot=ht?void 0:$e(ae);return o(Ot||ae,function(Pt,Ie){Ot&&(Ie=Pt,Pt=ae[Ie]),n(Le,Ie,_e(Pt,ge,Be,Ie,ae,ye))}),Le}b.exports=_e},836272:function(b,l,e){var r=e(58980),o=Object.create,n=function(){function a(){}return function(i){if(!r(i))return{};if(o)return o(i);a.prototype=i;var c=new a;return a.prototype=void 0,c}}();b.exports=n},617515:function(b,l,e){var r=e(718460),o=e(116857),n=e(801365),a=e(856575),i=e(557146),c=e(550778),u=200;function f(d,h,g,_){var p=-1,y=o,O=!0,P=d.length,C=[],A=h.length;if(!P)return C;g&&(h=a(h,i(g))),_?(y=n,O=!1):h.length>=u&&(y=c,O=!1,h=new r(h));e:for(;++p<P;){var S=d[p],T=g==null?S:g(S);if(S=_||S!==0?S:0,O&&T===T){for(var s=A;s--;)if(h[s]===T)continue e;C.push(S)}else y(h,T,_)||C.push(S)}return C}b.exports=f},132977:function(b,l,e){var r=e(722887);function o(n,a){var i=!0;return r(n,function(c,u,f){return i=!!a(c,u,f),i}),i}b.exports=o},790344:function(b){function l(e,r,o,n){for(var a=e.length,i=o+(n?1:-1);n?i--:++i<a;)if(r(e[i],i,e))return i;return-1}b.exports=l},979992:function(b){function l(e,r,o){var n;return o(e,function(a,i,c){if(r(a,i,c))return n=i,!1}),n}b.exports=l},313051:function(b,l,e){var r=e(66210),o=e(783726);function n(a,i,c,u,f){var d=-1,h=a.length;for(c||(c=o),f||(f=[]);++d<h;){var g=a[d];i>0&&c(g)?i>1?n(g,i-1,c,u,f):r(f,g):u||(f[f.length]=g)}return f}b.exports=n},390889:function(b,l,e){var r=e(790344),o=e(545186),n=e(943476);function a(i,c,u){return c===c?n(i,c,u):r(i,o,u)}b.exports=a},920006:function(b){function l(e,r,o,n){for(var a=o-1,i=e.length;++a<i;)if(n(e[a],r))return a;return-1}b.exports=l},321317:function(b,l,e){var r=e(718460),o=e(116857),n=e(801365),a=e(856575),i=e(557146),c=e(550778),u=Math.min;function f(d,h,g){for(var _=g?n:o,p=d[0].length,y=d.length,O=y,P=Array(y),C=1/0,A=[];O--;){var S=d[O];O&&h&&(S=a(S,i(h))),C=u(S.length,C),P[O]=!g&&(h||p>=120&&S.length>=120)?new r(O&&S):void 0}S=d[0];var T=-1,s=P[0];e:for(;++T<p&&A.length<C;){var v=S[T],m=h?h(v):v;if(v=g||v!==0?v:0,!(s?c(s,m):_(A,m,g))){for(O=y;--O;){var E=P[O];if(!(E?c(E,m):_(d[O],m,g)))continue e}s&&s.push(m),A.push(v)}}return A}b.exports=f},431345:function(b,l,e){var r=e(955232);function o(n,a,i,c){return r(n,function(u,f,d){a(c,i(u),f,d)}),c}b.exports=o},727311:function(b,l,e){var r=e(53477),o=e(335945),n=e(999324),a=e(292223),i=e(678958);function c(u,f,d){f=o(f,u),u=a(u,f);var h=u==null?u:u[i(n(f))];return h==null?void 0:r(h,u,d)}b.exports=c},134547:function(b,l,e){var r=e(518921),o=e(301602),n="[object Map]";function a(i){return o(i)&&r(i)==n}b.exports=a},545186:function(b){function l(e){return e!==e}b.exports=l},325330:function(b,l,e){var r=e(518921),o=e(301602),n="[object Set]";function a(i){return o(i)&&r(i)==n}b.exports=a},511196:function(b,l,e){var r=e(58980),o=e(605928),n=e(583790),a=Object.prototype,i=a.hasOwnProperty;function c(u){if(!r(u))return n(u);var f=o(u),d=[];for(var h in u)h=="constructor"&&(f||!i.call(u,h))||d.push(h);return d}b.exports=c},388425:function(b,l,e){var r=e(722887),o=e(820799);function n(a,i){var c=-1,u=o(a)?Array(a.length):[];return r(a,function(f,d,h){u[++c]=i(f,d,h)}),u}b.exports=n},352015:function(b,l,e){var r=e(547578),o=e(22836),n=e(165987),a=e(472591),i=e(58980),c=e(726146),u=e(357754);function f(d,h,g,_,p){d!==h&&n(h,function(y,O){if(p||(p=new r),i(y))a(d,h,O,g,f,_,p);else{var P=_?_(u(d,O),y,O+"",d,h,p):void 0;P===void 0&&(P=y),o(d,O,P)}},c)}b.exports=f},472591:function(b,l,e){var r=e(22836),o=e(144686),n=e(327640),a=e(195338),i=e(276249),c=e(217186),u=e(195593),f=e(237942),d=e(651023),h=e(687048),g=e(58980),_=e(540039),p=e(79656),y=e(357754),O=e(893057);function P(C,A,S,T,s,v,m){var E=y(C,S),I=y(A,S),L=m.get(I);if(L){r(C,S,L);return}var W=v?v(E,I,S+"",C,A,m):void 0,F=W===void 0;if(F){var G=u(I),k=!G&&d(I),x=!G&&!k&&p(I);W=I,G||k||x?u(E)?W=E:f(E)?W=a(E):k?(F=!1,W=o(I,!0)):x?(F=!1,W=n(I,!0)):W=[]:_(I)||c(I)?(W=E,c(E)?W=O(E):(!g(E)||h(E))&&(W=i(I))):F=!1}F&&(m.set(I,W),s(W,I,T,v,m),m.delete(I)),r(C,S,W)}b.exports=P},515883:function(b,l,e){var r=e(659360),o=e(13275);function n(a,i){return r(a,i,function(c,u){return o(a,u)})}b.exports=n},659360:function(b,l,e){var r=e(712869),o=e(455070),n=e(335945);function a(i,c,u){for(var f=-1,d=c.length,h={};++f<d;){var g=c[f],_=r(i,g);u(_,g)&&o(h,n(g,i),_)}return h}b.exports=a},861549:function(b){function l(e){return function(r){return e==null?void 0:e[r]}}b.exports=l},773029:function(b,l,e){var r=e(856575),o=e(390889),n=e(920006),a=e(557146),i=e(195338),c=Array.prototype,u=c.splice;function f(d,h,g,_){var p=_?n:o,y=-1,O=h.length,P=d;for(d===h&&(h=i(h)),g&&(P=r(d,a(g)));++y<O;)for(var C=0,A=h[y],S=g?g(A):A;(C=p(P,S,C,_))>-1;)P!==d&&u.call(P,C,1),u.call(d,C,1);return d}b.exports=f},423793:function(b,l,e){var r=e(839039),o=e(206261),n=e(255428);function a(i,c){return n(o(i,c,r),i+"")}b.exports=a},455070:function(b,l,e){var r=e(417362),o=e(335945),n=e(843765),a=e(58980),i=e(678958);function c(u,f,d,h){if(!a(u))return u;f=o(f,u);for(var g=-1,_=f.length,p=_-1,y=u;y!=null&&++g<_;){var O=i(f[g]),P=d;if(O==="__proto__"||O==="constructor"||O==="prototype")return u;if(g!=p){var C=y[O];P=h?h(C,O,y):void 0,P===void 0&&(P=a(C)?C:n(f[g+1])?[]:{})}r(y,O,P),y=y[O]}return u}b.exports=c},207320:function(b,l,e){var r=e(764483),o=e(343563),n=e(839039),a=o?function(i,c){return o(i,"toString",{configurable:!0,enumerable:!1,value:r(c),writable:!0})}:n;b.exports=a},553911:function(b){function l(e,r,o){var n=-1,a=e.length;r<0&&(r=-r>a?0:a+r),o=o>a?a:o,o<0&&(o+=a),a=r>o?0:o-r>>>0,r>>>=0;for(var i=Array(a);++n<a;)i[n]=e[n+r];return i}b.exports=l},369664:function(b,l,e){var r=e(246438),o=/^\s+/;function n(a){return a&&a.slice(0,r(a)+1).replace(o,"")}b.exports=n},622029:function(b,l,e){var r=e(718460),o=e(116857),n=e(801365),a=e(550778),i=e(271216),c=e(831175),u=200;function f(d,h,g){var _=-1,p=o,y=d.length,O=!0,P=[],C=P;if(g)O=!1,p=n;else if(y>=u){var A=h?null:i(d);if(A)return c(A);O=!1,p=a,C=new r}else C=h?[]:P;e:for(;++_<y;){var S=d[_],T=h?h(S):S;if(S=g||S!==0?S:0,O&&T===T){for(var s=C.length;s--;)if(C[s]===T)continue e;h&&C.push(T),P.push(S)}else p(C,T,g)||(C!==P&&C.push(T),P.push(S))}return P}b.exports=f},280832:function(b,l,e){var r=e(335945),o=e(999324),n=e(292223),a=e(678958);function i(c,u){return u=r(u,c),c=n(c,u),c==null||delete c[a(o(u))]}b.exports=i},464870:function(b){function l(e,r,o){for(var n=-1,a=e.length,i=r.length,c={};++n<a;){var u=n<i?r[n]:void 0;o(c,e[n],u)}return c}b.exports=l},557889:function(b,l,e){var r=e(237942);function o(n){return r(n)?n:[]}b.exports=o},34724:function(b,l,e){var r=e(839039);function o(n){return typeof n=="function"?n:r}b.exports=o},364687:function(b,l,e){var r=e(553911);function o(n,a,i){var c=n.length;return i=i===void 0?c:i,!a&&i>=c?n:r(n,a,i)}b.exports=o},521657:function(b,l,e){var r=e(390889);function o(n,a){for(var i=n.length;i--&&r(a,n[i],0)>-1;);return i}b.exports=o},653420:function(b,l,e){var r=e(390889);function o(n,a){for(var i=-1,c=n.length;++i<c&&r(a,n[i],0)>-1;);return i}b.exports=o},430415:function(b,l,e){var r=e(892252);function o(n){var a=new n.constructor(n.byteLength);return new r(a).set(new r(n)),a}b.exports=o},144686:function(b,l,e){b=e.nmd(b);var r=e(769795),o=l&&!l.nodeType&&l,n=o&&!0&&b&&!b.nodeType&&b,a=n&&n.exports===o,i=a?r.Buffer:void 0,c=i?i.allocUnsafe:void 0;function u(f,d){if(d)return f.slice();var h=f.length,g=c?c(h):new f.constructor(h);return f.copy(g),g}b.exports=u},639081:function(b,l,e){var r=e(430415);function o(n,a){var i=a?r(n.buffer):n.buffer;return new n.constructor(i,n.byteOffset,n.byteLength)}b.exports=o},332439:function(b){var l=/\w*$/;function e(r){var o=new r.constructor(r.source,l.exec(r));return o.lastIndex=r.lastIndex,o}b.exports=e},563555:function(b,l,e){var r=e(655730),o=r?r.prototype:void 0,n=o?o.valueOf:void 0;function a(i){return n?Object(n.call(i)):{}}b.exports=a},327640:function(b,l,e){var r=e(430415);function o(n,a){var i=a?r(n.buffer):n.buffer;return new n.constructor(i,n.byteOffset,n.length)}b.exports=o},195338:function(b){function l(e,r){var o=-1,n=e.length;for(r||(r=Array(n));++o<n;)r[o]=e[o];return r}b.exports=l},98839:function(b,l,e){var r=e(417362),o=e(666814);function n(a,i,c,u){var f=!c;c||(c={});for(var d=-1,h=i.length;++d<h;){var g=i[d],_=u?u(c[g],a[g],g,c,a):void 0;_===void 0&&(_=a[g]),f?o(c,g,_):r(c,g,_)}return c}b.exports=n},667366:function(b,l,e){var r=e(98839),o=e(714357);function n(a,i){return r(a,o(a),i)}b.exports=n},503982:function(b,l,e){var r=e(98839),o=e(764586);function n(a,i){return r(a,o(a),i)}b.exports=n},546785:function(b,l,e){var r=e(325912),o=e(657915),n=e(511079),a=e(195593);function i(c,u){return function(f,d){var h=a(f)?r:o,g=u?u():{};return h(f,c,n(d,2),g)}}b.exports=i},665169:function(b,l,e){var r=e(423793),o=e(22326);function n(a){return r(function(i,c){var u=-1,f=c.length,d=f>1?c[f-1]:void 0,h=f>2?c[2]:void 0;for(d=a.length>3&&typeof d=="function"?(f--,d):void 0,h&&o(c[0],c[1],h)&&(d=f<3?void 0:d,f=1),i=Object(i);++u<f;){var g=c[u];g&&a(i,g,u,d)}return i})}b.exports=n},230341:function(b,l,e){var r=e(364687),o=e(254837),n=e(342104),a=e(768441);function i(c){return function(u){u=a(u);var f=o(u)?n(u):void 0,d=f?f[0]:u.charAt(0),h=f?r(f,1).join(""):u.slice(1);return d[c]()+h}}b.exports=i},858544:function(b,l,e){var r=e(469163),o=e(748881),n=e(215464),a="['\u2019]",i=RegExp(a,"g");function c(u){return function(f){return r(n(o(f).replace(i,"")),u,"")}}b.exports=c},110179:function(b,l,e){var r=e(511079),o=e(820799),n=e(935215);function a(i){return function(c,u,f){var d=Object(c);if(!o(c)){var h=r(u,3);c=n(c),u=function(_){return h(d[_],_,d)}}var g=i(c,u,f);return g>-1?d[h?c[g]:g]:void 0}}b.exports=a},614661:function(b,l,e){var r=e(431345);function o(n,a){return function(i,c){return r(i,n,a(c),{})}}b.exports=o},109257:function(b,l,e){var r=e(769795),o=e(616982),n=e(549712),a=e(768441),i=r.isFinite,c=Math.min;function u(f){var d=Math[f];return function(h,g){if(h=n(h),g=g==null?0:c(o(g),292),g&&i(h)){var _=(a(h)+"e").split("e"),p=d(_[0]+"e"+(+_[1]+g));return _=(a(p)+"e").split("e"),+(_[0]+"e"+(+_[1]-g))}return d(h)}}b.exports=u},271216:function(b,l,e){var r=e(908192),o=e(860921),n=e(831175),a=1/0,i=r&&1/n(new r([,-0]))[1]==a?function(c){return new r(c)}:o;b.exports=i},372379:function(b,l,e){var r=e(540039);function o(n){return r(n)?void 0:n}b.exports=o},936990:function(b,l,e){var r=e(861549),o={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},n=r(o);b.exports=n},343563:function(b,l,e){var r=e(484819),o=function(){try{var n=r(Object,"defineProperty");return n({},"",{}),n}catch{}}();b.exports=o},527604:function(b,l,e){var r=e(597350),o=e(206261),n=e(255428);function a(i){return n(o(i,void 0,r),i+"")}b.exports=a},299953:function(b,l,e){var r=e(215502),o=e(764586),n=e(726146);function a(i){return r(i,n,o)}b.exports=a},880304:function(b,l,e){var r=e(564678),o=r(Object.getPrototypeOf,Object);b.exports=o},764586:function(b,l,e){var r=e(66210),o=e(880304),n=e(714357),a=e(307361),i=Object.getOwnPropertySymbols,c=i?function(u){for(var f=[];u;)r(f,n(u)),u=o(u);return f}:a;b.exports=c},254837:function(b){var l="\\ud800-\\udfff",e="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",n=e+r+o,a="\\ufe0e\\ufe0f",i="\\u200d",c=RegExp("["+i+l+n+a+"]");function u(f){return c.test(f)}b.exports=u},558273:function(b){var l=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function e(r){return l.test(r)}b.exports=e},897463:function(b){var l=Object.prototype,e=l.hasOwnProperty;function r(o){var n=o.length,a=new o.constructor(n);return n&&typeof o[0]=="string"&&e.call(o,"index")&&(a.index=o.index,a.input=o.input),a}b.exports=r},412210:function(b,l,e){var r=e(430415),o=e(639081),n=e(332439),a=e(563555),i=e(327640),c="[object Boolean]",u="[object Date]",f="[object Map]",d="[object Number]",h="[object RegExp]",g="[object Set]",_="[object String]",p="[object Symbol]",y="[object ArrayBuffer]",O="[object DataView]",P="[object Float32Array]",C="[object Float64Array]",A="[object Int8Array]",S="[object Int16Array]",T="[object Int32Array]",s="[object Uint8Array]",v="[object Uint8ClampedArray]",m="[object Uint16Array]",E="[object Uint32Array]";function I(L,W,F){var G=L.constructor;switch(W){case y:return r(L);case c:case u:return new G(+L);case O:return o(L,F);case P:case C:case A:case S:case T:case s:case v:case m:case E:return i(L,F);case f:return new G;case d:case _:return new G(L);case h:return n(L);case g:return new G;case p:return a(L)}}b.exports=I},276249:function(b,l,e){var r=e(836272),o=e(880304),n=e(605928);function a(i){return typeof i.constructor=="function"&&!n(i)?r(o(i)):{}}b.exports=a},783726:function(b,l,e){var r=e(655730),o=e(217186),n=e(195593),a=r?r.isConcatSpreadable:void 0;function i(c){return n(c)||o(c)||!!(a&&c&&c[a])}b.exports=i},583790:function(b){function l(e){var r=[];if(e!=null)for(var o in Object(e))r.push(o);return r}b.exports=l},206261:function(b,l,e){var r=e(53477),o=Math.max;function n(a,i,c){return i=o(i===void 0?a.length-1:i,0),function(){for(var u=arguments,f=-1,d=o(u.length-i,0),h=Array(d);++f<d;)h[f]=u[i+f];f=-1;for(var g=Array(i+1);++f<i;)g[f]=u[f];return g[i]=c(h),r(a,this,g)}}b.exports=n},292223:function(b,l,e){var r=e(712869),o=e(553911);function n(a,i){return i.length<2?a:r(a,o(i,0,-1))}b.exports=n},357754:function(b){function l(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}b.exports=l},255428:function(b,l,e){var r=e(207320),o=e(397825),n=o(r);b.exports=n},397825:function(b){var l=800,e=16,r=Date.now;function o(n){var a=0,i=0;return function(){var c=r(),u=e-(c-i);if(i=c,u>0){if(++a>=l)return arguments[0]}else a=0;return n.apply(void 0,arguments)}}b.exports=o},943476:function(b){function l(e,r,o){for(var n=o-1,a=e.length;++n<a;)if(e[n]===r)return n;return-1}b.exports=l},342104:function(b,l,e){var r=e(501056),o=e(254837),n=e(242071);function a(i){return o(i)?n(i):r(i)}b.exports=a},246438:function(b){var l=/\s/;function e(r){for(var o=r.length;o--&&l.test(r.charAt(o)););return o}b.exports=e},242071:function(b){var l="\\ud800-\\udfff",e="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",n=e+r+o,a="\\ufe0e\\ufe0f",i="["+l+"]",c="["+n+"]",u="\\ud83c[\\udffb-\\udfff]",f="(?:"+c+"|"+u+")",d="[^"+l+"]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",g="[\\ud800-\\udbff][\\udc00-\\udfff]",_="\\u200d",p=f+"?",y="["+a+"]?",O="(?:"+_+"(?:"+[d,h,g].join("|")+")"+y+p+")*",P=y+p+O,C="(?:"+[d+c+"?",c,h,g,i].join("|")+")",A=RegExp(u+"(?="+u+")|"+C+P,"g");function S(T){return T.match(A)||[]}b.exports=S},546881:function(b){var l="\\ud800-\\udfff",e="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",n=e+r+o,a="\\u2700-\\u27bf",i="a-z\\xdf-\\xf6\\xf8-\\xff",c="\\xac\\xb1\\xd7\\xf7",u="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",f="\\u2000-\\u206f",d=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",h="A-Z\\xc0-\\xd6\\xd8-\\xde",g="\\ufe0e\\ufe0f",_=c+u+f+d,p="['\u2019]",y="["+_+"]",O="["+n+"]",P="\\d+",C="["+a+"]",A="["+i+"]",S="[^"+l+_+P+a+i+h+"]",T="\\ud83c[\\udffb-\\udfff]",s="(?:"+O+"|"+T+")",v="[^"+l+"]",m="(?:\\ud83c[\\udde6-\\uddff]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",I="["+h+"]",L="\\u200d",W="(?:"+A+"|"+S+")",F="(?:"+I+"|"+S+")",G="(?:"+p+"(?:d|ll|m|re|s|t|ve))?",k="(?:"+p+"(?:D|LL|M|RE|S|T|VE))?",x=s+"?",M="["+g+"]?",B="(?:"+L+"(?:"+[v,m,E].join("|")+")"+M+x+")*",R="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",U="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",j=M+x+B,$="(?:"+[C,m,E].join("|")+")"+j,ee=RegExp([I+"?"+A+"+"+G+"(?="+[y,I,"$"].join("|")+")",F+"+"+k+"(?="+[y,I+W,"$"].join("|")+")",I+"?"+W+"+"+G,I+"+"+k,U,R,P,$].join("|"),"g");function te(ie){return ie.match(ee)||[]}b.exports=te},617724:function(b,l,e){var r=e(616982),o="Expected a function";function n(a,i){var c;if(typeof i!="function")throw new TypeError(o);return a=r(a),function(){return--a>0&&(c=i.apply(this,arguments)),a<=1&&(i=void 0),c}}b.exports=n},304003:function(b,l,e){var r=e(5921),o=e(858544),n=o(function(a,i,c){return i=i.toLowerCase(),a+(c?r(i):i)});b.exports=n},5921:function(b,l,e){var r=e(768441),o=e(157168);function n(a){return o(r(a).toLowerCase())}b.exports=n},308690:function(b,l,e){var r=e(553911),o=e(22326),n=e(616982),a=Math.ceil,i=Math.max;function c(u,f,d){(d?o(u,f,d):f===void 0)?f=1:f=i(n(f),0);var h=u==null?0:u.length;if(!h||f<1)return[];for(var g=0,_=0,p=Array(a(h/f));g<h;)p[_++]=r(u,g,g+=f);return p}b.exports=c},700436:function(b,l,e){var r=e(39171),o=e(549712);function n(a,i,c){return c===void 0&&(c=i,i=void 0),c!==void 0&&(c=o(c),c=c===c?c:0),i!==void 0&&(i=o(i),i=i===i?i:0),r(o(a),i,c)}b.exports=n},484623:function(b,l,e){var r=e(162482),o=1,n=4;function a(i){return r(i,o|n)}b.exports=a},451484:function(b,l,e){var r=e(162482),o=1,n=4;function a(i,c){return c=typeof c=="function"?c:void 0,r(i,o|n,c)}b.exports=a},496518:function(b){function l(e){for(var r=-1,o=e==null?0:e.length,n=0,a=[];++r<o;){var i=e[r];i&&(a[n++]=i)}return a}b.exports=l},764483:function(b){function l(e){return function(){return e}}b.exports=l},210750:function(b,l,e){var r=e(58980),o=e(215422),n=e(549712),a="Expected a function",i=Math.max,c=Math.min;function u(f,d,h){var g,_,p,y,O,P,C=0,A=!1,S=!1,T=!0;if(typeof f!="function")throw new TypeError(a);d=n(d)||0,r(h)&&(A=!!h.leading,S="maxWait"in h,p=S?i(n(h.maxWait)||0,d):p,T="trailing"in h?!!h.trailing:T);function s(k){var x=g,M=_;return g=_=void 0,C=k,y=f.apply(M,x),y}function v(k){return C=k,O=setTimeout(I,d),A?s(k):y}function m(k){var x=k-P,M=k-C,B=d-x;return S?c(B,p-M):B}function E(k){var x=k-P,M=k-C;return P===void 0||x>=d||x<0||S&&M>=p}function I(){var k=o();if(E(k))return L(k);O=setTimeout(I,m(k))}function L(k){return O=void 0,T&&g?s(k):(g=_=void 0,y)}function W(){O!==void 0&&clearTimeout(O),C=0,g=P=_=O=void 0}function F(){return O===void 0?y:L(o())}function G(){var k=o(),x=E(k);if(g=arguments,_=this,P=k,x){if(O===void 0)return v(P);if(S)return clearTimeout(O),O=setTimeout(I,d),s(P)}return O===void 0&&(O=setTimeout(I,d)),y}return G.cancel=W,G.flush=F,G}b.exports=u},748881:function(b,l,e){var r=e(936990),o=e(768441),n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",c="\\u20d0-\\u20ff",u=a+i+c,f="["+u+"]",d=RegExp(f,"g");function h(g){return g=o(g),g&&g.replace(n,r).replace(d,"")}b.exports=h},416203:function(b,l,e){var r=e(617515),o=e(313051),n=e(423793),a=e(237942),i=n(function(c,u){return a(c)?r(c,o(u,1,a,!0)):[]});b.exports=i},712182:function(b,l,e){var r=e(617515),o=e(313051),n=e(511079),a=e(423793),i=e(237942),c=e(999324),u=a(function(f,d){var h=c(d);return i(h)&&(h=void 0),i(f)?r(f,o(d,1,i,!0),n(h,2)):[]});b.exports=u},544553:function(b,l,e){var r=e(553911),o=e(616982);function n(a,i,c){var u=a==null?0:a.length;return u?(i=c||i===void 0?1:o(i),r(a,i<0?0:i,u)):[]}b.exports=n},791760:function(b,l,e){var r=e(457210),o=e(132977),n=e(511079),a=e(195593),i=e(22326);function c(u,f,d){var h=a(u)?r:o;return d&&i(u,f,d)&&(f=void 0),h(u,n(f,3))}b.exports=c},346979:function(b,l,e){var r=e(110179),o=e(259456),n=r(o);b.exports=n},259456:function(b,l,e){var r=e(790344),o=e(511079),n=e(616982),a=Math.max;function i(c,u,f){var d=c==null?0:c.length;if(!d)return-1;var h=f==null?0:n(f);return h<0&&(h=a(d+h,0)),r(c,o(u,3),h)}b.exports=i},485774:function(b,l,e){var r=e(979992),o=e(955232),n=e(511079);function a(i,c){return r(i,n(c,3),o)}b.exports=a},835630:function(b,l,e){var r=e(313051),o=e(93342);function n(a,i){return r(o(a,i),1)}b.exports=n},597350:function(b,l,e){var r=e(313051);function o(n){var a=n==null?0:n.length;return a?r(n,1):[]}b.exports=o},230864:function(b,l,e){var r=e(313051),o=1/0;function n(a){var i=a==null?0:a.length;return i?r(a,o):[]}b.exports=n},726184:function(b,l,e){var r=e(728197),o=e(722887),n=e(34724),a=e(195593);function i(c,u){var f=a(c)?r:o;return f(c,n(u))}b.exports=i},992474:function(b){function l(e){for(var r=-1,o=e==null?0:e.length,n={};++r<o;){var a=e[r];n[a[0]]=a[1]}return n}b.exports=l},365393:function(b,l,e){var r=e(666814),o=e(546785),n=Object.prototype,a=n.hasOwnProperty,i=o(function(c,u,f){a.call(c,f)?c[f].push(u):r(c,f,[u])});b.exports=i},813563:function(b,l,e){var r=e(856575),o=e(321317),n=e(423793),a=e(557889),i=n(function(c){var u=r(c,a);return u.length&&u[0]===c[0]?o(u):[]});b.exports=i},311064:function(b,l,e){var r=e(764483),o=e(614661),n=e(839039),a=Object.prototype,i=a.toString,c=o(function(u,f,d){f!=null&&typeof f.toString!="function"&&(f=i.call(f)),u[f]=d},r(n));b.exports=c},937280:function(b,l,e){var r=e(727311),o=e(423793),n=o(r);b.exports=n},237942:function(b,l,e){var r=e(820799),o=e(301602);function n(a){return o(a)&&r(a)}b.exports=n},326096:function(b,l,e){var r=e(892876),o=e(301602),n="[object Boolean]";function a(i){return i===!0||i===!1||o(i)&&r(i)==n}b.exports=a},416542:function(b,l,e){var r=e(301602),o=e(540039);function n(a){return r(a)&&a.nodeType===1&&!o(a)}b.exports=n},805187:function(b,l,e){var r=e(560825),o=e(518921),n=e(217186),a=e(195593),i=e(820799),c=e(651023),u=e(605928),f=e(79656),d="[object Map]",h="[object Set]",g=Object.prototype,_=g.hasOwnProperty;function p(y){if(y==null)return!0;if(i(y)&&(a(y)||typeof y=="string"||typeof y.splice=="function"||c(y)||f(y)||n(y)))return!y.length;var O=o(y);if(O==d||O==h)return!y.size;if(u(y))return!r(y).length;for(var P in y)if(_.call(y,P))return!1;return!0}b.exports=p},976003:function(b,l,e){var r=e(628982);function o(n,a){return r(n,a)}b.exports=o},691059:function(b,l,e){var r=e(616982);function o(n){return typeof n=="number"&&n==r(n)}b.exports=o},85558:function(b,l,e){var r=e(134547),o=e(557146),n=e(317042),a=n&&n.isMap,i=a?o(a):r;b.exports=i},103372:function(b){function l(e){return e==null}b.exports=l},471831:function(b){function l(e){return e===null}b.exports=l},845193:function(b,l,e){var r=e(892876),o=e(301602),n="[object Number]";function a(i){return typeof i=="number"||o(i)&&r(i)==n}b.exports=a},540039:function(b,l,e){var r=e(892876),o=e(880304),n=e(301602),a="[object Object]",i=Function.prototype,c=Object.prototype,u=i.toString,f=c.hasOwnProperty,d=u.call(Object);function h(g){if(!n(g)||r(g)!=a)return!1;var _=o(g);if(_===null)return!0;var p=f.call(_,"constructor")&&_.constructor;return typeof p=="function"&&p instanceof p&&u.call(p)==d}b.exports=h},160571:function(b,l,e){var r=e(325330),o=e(557146),n=e(317042),a=n&&n.isSet,i=a?o(a):r;b.exports=i},548068:function(b,l,e){var r=e(892876),o=e(195593),n=e(301602),a="[object String]";function i(c){return typeof c=="string"||!o(c)&&n(c)&&r(c)==a}b.exports=i},176944:function(b){function l(e){return e===void 0}b.exports=l},737012:function(b,l,e){var r=e(858544),o=r(function(n,a,i){return n+(i?"-":"")+a.toLowerCase()});b.exports=o},555827:function(b,l,e){var r=e(666814),o=e(546785),n=o(function(a,i,c){r(a,c,i)});b.exports=n},726146:function(b,l,e){var r=e(980538),o=e(511196),n=e(820799);function a(i){return n(i)?r(i,!0):o(i)}b.exports=a},999324:function(b){function l(e){var r=e==null?0:e.length;return r?e[r-1]:void 0}b.exports=l},419467:function(b,l,e){b=e.nmd(b);/**
 * @license
 * Lodash <https://lodash.com/>
 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
 * Released under MIT license <https://lodash.com/license>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 */(function(){var r,o="4.17.21",n=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",i="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",f=500,d="__lodash_placeholder__",h=1,g=2,_=4,p=1,y=2,O=1,P=2,C=4,A=8,S=16,T=32,s=64,v=128,m=256,E=512,I=30,L="...",W=800,F=16,G=1,k=2,x=3,M=1/0,B=9007199254740991,R=17976931348623157e292,U=NaN,j=4294967295,$=j-1,ee=j>>>1,te=[["ary",v],["bind",O],["bindKey",P],["curry",A],["curryRight",S],["flip",E],["partial",T],["partialRight",s],["rearg",m]],ie="[object Arguments]",ne="[object Array]",pe="[object AsyncFunction]",oe="[object Boolean]",q="[object Date]",J="[object DOMException]",me="[object Error]",re="[object Function]",he="[object GeneratorFunction]",Ee="[object Map]",fe="[object Number]",H="[object Null]",z="[object Object]",_e="[object Promise]",ae="[object Proxy]",ge="[object RegExp]",Be="[object Set]",Ke="[object String]",He="[object Symbol]",ye="[object Undefined]",Le="[object WeakMap]",Ue="[object WeakSet]",Xe="[object ArrayBuffer]",Fe="[object DataView]",ht="[object Float32Array]",Ne="[object Float64Array]",Ce="[object Int8Array]",we="[object Int16Array]",$e="[object Int32Array]",Ot="[object Uint8Array]",Pt="[object Uint8ClampedArray]",Ie="[object Uint16Array]",Bt="[object Uint32Array]",mt=/\b__p \+= '';/g,rt=/\b(__p \+=) '' \+/g,ce=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Re=/&(?:amp|lt|gt|quot|#39);/g,nt=/[&<>"']/g,st=RegExp(Re.source),vt=RegExp(nt.source),ze=/<%-([\s\S]+?)%>/g,It=/<%([\s\S]+?)%>/g,on=/<%=([\s\S]+?)%>/g,Pn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yn=/^\w*$/,Ln=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bn=/[\\^$.*+?()[\]{}|]/g,ir=RegExp(bn.source),Zn=/^\s+/,$n=/\s/,jt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Rn=/\{\n\/\* \[wrapped with (.+)\] \*/,jn=/,? & /,Tn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Nn=/[()=,{}\[\]\/\s]/,cn=/\\(\\)?/g,or=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qn=/\w*$/,Hr=/^[-+]0x[0-9a-f]+$/i,fo=/^0b[01]+$/i,Jr=/^\[object .+?Constructor\]$/,ro=/^0o[0-7]+$/i,Xt=/^(?:0|[1-9]\d*)$/,Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,At=/($^)/,xt=/['\n\r\u2028\u2029\\]/g,Qt="\\ud800-\\udfff",qt="\\u0300-\\u036f",Te="\\ufe20-\\ufe2f",Gt="\\u20d0-\\u20ff",un=qt+Te+Gt,Vt="\\u2700-\\u27bf",Dn="a-z\\xdf-\\xf6\\xf8-\\xff",Wt="\\xac\\xb1\\xd7\\xf7",Pe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",xe="\\u2000-\\u206f",Ae=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",qe="A-Z\\xc0-\\xd6\\xd8-\\xde",wt="\\ufe0e\\ufe0f",kt=Wt+Pe+xe+Ae,ut="['\u2019]",Ft="["+Qt+"]",tn="["+kt+"]",In="["+un+"]",rr="\\d+",Sr="["+Vt+"]",Yr="["+Dn+"]",Pr="[^"+Qt+kt+rr+Vt+Dn+qe+"]",Mn="\\ud83c[\\udffb-\\udfff]",sr="(?:"+In+"|"+Mn+")",Ar="[^"+Qt+"]",vr="(?:\\ud83c[\\udde6-\\uddff]){2}",qr="[\\ud800-\\udbff][\\udc00-\\udfff]",Dr="["+qe+"]",eo="\\u200d",Vo="(?:"+Yr+"|"+Pr+")",Bn="(?:"+Dr+"|"+Pr+")",ar="(?:"+ut+"(?:d|ll|m|re|s|t|ve))?",rn="(?:"+ut+"(?:D|LL|M|RE|S|T|VE))?",Rt=sr+"?",Qe="["+wt+"]?",Ye="(?:"+eo+"(?:"+[Ar,vr,qr].join("|")+")"+Qe+Rt+")*",yt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ze="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Mt=Qe+Rt+Ye,ot="(?:"+[Sr,vr,qr].join("|")+")"+Mt,et="(?:"+[Ar+In+"?",In,vr,qr,Ft].join("|")+")",St=RegExp(ut,"g"),Ht=RegExp(In,"g"),er=RegExp(Mn+"(?="+Mn+")|"+et+Mt,"g"),Mr=RegExp([Dr+"?"+Yr+"+"+ar+"(?="+[tn,Dr,"$"].join("|")+")",Bn+"+"+rn+"(?="+[tn,Dr+Vo,"$"].join("|")+")",Dr+"?"+Vo+"+"+ar,Dr+"+"+rn,Ze,yt,rr,ot].join("|"),"g"),mn=RegExp("["+eo+Qt+un+wt+"]"),Un=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,hr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],br=-1,io={};io[ht]=io[Ne]=io[Ce]=io[we]=io[$e]=io[Ot]=io[Pt]=io[Ie]=io[Bt]=!0,io[ie]=io[ne]=io[Xe]=io[oe]=io[Fe]=io[q]=io[me]=io[re]=io[Ee]=io[fe]=io[z]=io[ge]=io[Be]=io[Ke]=io[Le]=!1;var Kr={};Kr[ie]=Kr[ne]=Kr[Xe]=Kr[Fe]=Kr[oe]=Kr[q]=Kr[ht]=Kr[Ne]=Kr[Ce]=Kr[we]=Kr[$e]=Kr[Ee]=Kr[fe]=Kr[z]=Kr[ge]=Kr[Be]=Kr[Ke]=Kr[He]=Kr[Ot]=Kr[Pt]=Kr[Ie]=Kr[Bt]=!0,Kr[me]=Kr[re]=Kr[Le]=!1;var xo={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Ho={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},bo={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Ea={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ia=parseFloat,Da=parseInt,Za=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,Xa=typeof self=="object"&&self&&self.Object===Object&&self,ba=Za||Xa||Function("return this")(),ns=l&&!l.nodeType&&l,Ja=ns&&!0&&b&&!b.nodeType&&b,Is=Ja&&Ja.exports===ns,Vr=Is&&Za.process,Qr=function(){try{var dn=Ja&&Ja.require&&Ja.require("util").types;return dn||Vr&&Vr.binding&&Vr.binding("util")}catch{}}(),To=Qr&&Qr.isArrayBuffer,xr=Qr&&Qr.isDate,uo=Qr&&Qr.isMap,Mo=Qr&&Qr.isRegExp,go=Qr&&Qr.isSet,ea=Qr&&Qr.isTypedArray;function ha(dn,Jn,Hn){switch(Hn.length){case 0:return dn.call(Jn);case 1:return dn.call(Jn,Hn[0]);case 2:return dn.call(Jn,Hn[0],Hn[1]);case 3:return dn.call(Jn,Hn[0],Hn[1],Hn[2])}return dn.apply(Jn,Hn)}function yr(dn,Jn,Hn,jr){for(var wo=-1,ko=dn==null?0:dn.length;++wo<ko;){var Sa=dn[wo];Jn(jr,Sa,Hn(Sa),dn)}return jr}function Lr(dn,Jn){for(var Hn=-1,jr=dn==null?0:dn.length;++Hn<jr&&Jn(dn[Hn],Hn,dn)!==!1;);return dn}function ao(dn,Jn){for(var Hn=dn==null?0:dn.length;Hn--&&Jn(dn[Hn],Hn,dn)!==!1;);return dn}function ho(dn,Jn){for(var Hn=-1,jr=dn==null?0:dn.length;++Hn<jr;)if(!Jn(dn[Hn],Hn,dn))return!1;return!0}function Lo(dn,Jn){for(var Hn=-1,jr=dn==null?0:dn.length,wo=0,ko=[];++Hn<jr;){var Sa=dn[Hn];Jn(Sa,Hn,dn)&&(ko[wo++]=Sa)}return ko}function Yo(dn,Jn){var Hn=dn==null?0:dn.length;return!!Hn&&ei(dn,Jn,0)>-1}function jo(dn,Jn,Hn){for(var jr=-1,wo=dn==null?0:dn.length;++jr<wo;)if(Hn(Jn,dn[jr]))return!0;return!1}function Xo(dn,Jn){for(var Hn=-1,jr=dn==null?0:dn.length,wo=Array(jr);++Hn<jr;)wo[Hn]=Jn(dn[Hn],Hn,dn);return wo}function Ua(dn,Jn){for(var Hn=-1,jr=Jn.length,wo=dn.length;++Hn<jr;)dn[wo+Hn]=Jn[Hn];return dn}function ds(dn,Jn,Hn,jr){var wo=-1,ko=dn==null?0:dn.length;for(jr&&ko&&(Hn=dn[++wo]);++wo<ko;)Hn=Jn(Hn,dn[wo],wo,dn);return Hn}function us(dn,Jn,Hn,jr){var wo=dn==null?0:dn.length;for(jr&&wo&&(Hn=dn[--wo]);wo--;)Hn=Jn(Hn,dn[wo],wo,dn);return Hn}function ys(dn,Jn){for(var Hn=-1,jr=dn==null?0:dn.length;++Hn<jr;)if(Jn(dn[Hn],Hn,dn))return!0;return!1}var Ys=bs("length");function Gs(dn){return dn.split("")}function xs(dn){return dn.match(Tn)||[]}function Ai(dn,Jn,Hn){var jr;return Hn(dn,function(wo,ko,Sa){if(Jn(wo,ko,Sa))return jr=ko,!1}),jr}function Pi(dn,Jn,Hn,jr){for(var wo=dn.length,ko=Hn+(jr?1:-1);jr?ko--:++ko<wo;)if(Jn(dn[ko],ko,dn))return ko;return-1}function ei(dn,Jn,Hn){return Jn===Jn?Jt(dn,Jn,Hn):Pi(dn,ks,Hn)}function hi(dn,Jn,Hn,jr){for(var wo=Hn-1,ko=dn.length;++wo<ko;)if(jr(dn[wo],Jn))return wo;return-1}function ks(dn){return dn!==dn}function Ms(dn,Jn){var Hn=dn==null?0:dn.length;return Hn?_s(dn,Jn)/Hn:U}function bs(dn){return function(Jn){return Jn==null?r:Jn[dn]}}function Hs(dn){return function(Jn){return dn==null?r:dn[Jn]}}function Os(dn,Jn,Hn,jr,wo){return wo(dn,function(ko,Sa,Na){Hn=jr?(jr=!1,ko):Jn(Hn,ko,Sa,Na)}),Hn}function Vs(dn,Jn){var Hn=dn.length;for(dn.sort(Jn);Hn--;)dn[Hn]=dn[Hn].value;return dn}function _s(dn,Jn){for(var Hn,jr=-1,wo=dn.length;++jr<wo;){var ko=Jn(dn[jr]);ko!==r&&(Hn=Hn===r?ko:Hn+ko)}return Hn}function fs(dn,Jn){for(var Hn=-1,jr=Array(dn);++Hn<dn;)jr[Hn]=Jn(Hn);return jr}function Ss(dn,Jn){return Xo(Jn,function(Hn){return[Hn,dn[Hn]]})}function hs(dn){return dn&&dn.slice(0,Oo(dn)+1).replace(Zn,"")}function li(dn){return function(Jn){return dn(Jn)}}function Ni(dn,Jn){return Xo(Jn,function(Hn){return dn[Hn]})}function Ji(dn,Jn){return dn.has(Jn)}function wi(dn,Jn){for(var Hn=-1,jr=dn.length;++Hn<jr&&ei(Jn,dn[Hn],0)>-1;);return Hn}function vi(dn,Jn){for(var Hn=dn.length;Hn--&&ei(Jn,dn[Hn],0)>-1;);return Hn}function sl(dn,Jn){for(var Hn=dn.length,jr=0;Hn--;)dn[Hn]===Jn&&++jr;return jr}var Zi=Hs(xo),Zs=Hs(Ho);function Bs(dn){return"\\"+Ea[dn]}function ti(dn,Jn){return dn==null?r:dn[Jn]}function gi(dn){return mn.test(dn)}function yi(dn){return Un.test(dn)}function ki(dn){for(var Jn,Hn=[];!(Jn=dn.next()).done;)Hn.push(Jn.value);return Hn}function bi(dn){var Jn=-1,Hn=Array(dn.size);return dn.forEach(function(jr,wo){Hn[++Jn]=[wo,jr]}),Hn}function nl(dn,Jn){return function(Hn){return dn(Jn(Hn))}}function Si(dn,Jn){for(var Hn=-1,jr=dn.length,wo=0,ko=[];++Hn<jr;){var Sa=dn[Hn];(Sa===Jn||Sa===d)&&(dn[Hn]=d,ko[wo++]=Hn)}return ko}function ta(dn){var Jn=-1,Hn=Array(dn.size);return dn.forEach(function(jr){Hn[++Jn]=jr}),Hn}function ke(dn){var Jn=-1,Hn=Array(dn.size);return dn.forEach(function(jr){Hn[++Jn]=[jr,jr]}),Hn}function Jt(dn,Jn,Hn){for(var jr=Hn-1,wo=dn.length;++jr<wo;)if(dn[jr]===Jn)return jr;return-1}function Fn(dn,Jn,Hn){for(var jr=Hn+1;jr--;)if(dn[jr]===Jn)return jr;return jr}function mr(dn){return gi(dn)?gt(dn):Ys(dn)}function Tr(dn){return gi(dn)?it(dn):Gs(dn)}function Oo(dn){for(var Jn=dn.length;Jn--&&$n.test(dn.charAt(Jn)););return Jn}var Uo=Hs(bo);function gt(dn){for(var Jn=er.lastIndex=0;er.test(dn);)++Jn;return Jn}function it(dn){return dn.match(er)||[]}function Lt(dn){return dn.match(Mr)||[]}var $t=function dn(Jn){Jn=Jn==null?ba:_n.defaults(ba.Object(),Jn,_n.pick(ba,hr));var Hn=Jn.Array,jr=Jn.Date,wo=Jn.Error,ko=Jn.Function,Sa=Jn.Math,Na=Jn.Object,qa=Jn.RegExp,ms=Jn.String,Us=Jn.TypeError,$i=Hn.prototype,Mi=ko.prototype,si=Na.prototype,rl=Jn["__core-js_shared__"],El=Mi.toString,Ui=si.hasOwnProperty,il=0,fl=function(){var X=/[^.]+$/.exec(rl&&rl.keys&&rl.keys.IE_PROTO||"");return X?"Symbol(src)_1."+X:""}(),oi=si.toString,Nl=El.call(Na),xl=ba._,Ic=qa("^"+El.call(Ui).replace(bn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Kl=Is?Jn.Buffer:r,Jl=Jn.Symbol,Vi=Jn.Uint8Array,_c=Kl?Kl.allocUnsafe:r,mc=nl(Na.getPrototypeOf,Na),zl=Na.create,$l=si.propertyIsEnumerable,ln=$i.splice,sn=Jl?Jl.isConcatSpreadable:r,zn=Jl?Jl.iterator:r,Er=Jl?Jl.toStringTag:r,zr=function(){try{var X=tt(Na,"defineProperty");return X({},"",{}),X}catch{}}(),Ao=Jn.clearTimeout!==ba.clearTimeout&&Jn.clearTimeout,Zo=jr&&jr.now!==ba.Date.now&&jr.now,ia=Jn.setTimeout!==ba.setTimeout&&Jn.setTimeout,So=Sa.ceil,Ha=Sa.floor,is=Na.getOwnPropertySymbols,as=Kl?Kl.isBuffer:r,es=Jn.isFinite,Qs=$i.join,Rs=nl(Na.keys,Na),rs=Sa.max,Cs=Sa.min,Fs=jr.now,Ks=Jn.parseInt,Ls=Sa.random,Js=$i.reverse,Ts=tt(Jn,"DataView"),zs=tt(Jn,"Map"),Bi=tt(Jn,"Promise"),qs=tt(Jn,"Set"),Ti=tt(Jn,"WeakMap"),ui=tt(Na,"create"),qi=Ti&&new Ti,Ko={},Ur=md(Ts),aa=md(zs),ca=md(Bi),As=md(qs),Ri=md(Ti),Ei=Jl?Jl.prototype:r,pi=Ei?Ei.valueOf:r,Gi=Ei?Ei.toString:r;function Eo(X){if(qu(X)&&!nc(X)&&!(X instanceof Wi)){if(X instanceof Pl)return X;if(Ui.call(X,"__wrapped__"))return Uf(X)}return new Pl(X)}var _l=function(){function X(){}return function(be){if(!Bu(be))return{};if(zl)return zl(be);X.prototype=be;var Tt=new X;return X.prototype=r,Tt}}();function Al(){}function Pl(X,be){this.__wrapped__=X,this.__actions__=[],this.__chain__=!!be,this.__index__=0,this.__values__=r}Eo.templateSettings={escape:ze,evaluate:It,interpolate:on,variable:"",imports:{_:Eo}},Eo.prototype=Al.prototype,Eo.prototype.constructor=Eo,Pl.prototype=_l(Al.prototype),Pl.prototype.constructor=Pl;function Wi(X){this.__wrapped__=X,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=j,this.__views__=[]}function Mc(){var X=new Wi(this.__wrapped__);return X.__actions__=Tl(this.__actions__),X.__dir__=this.__dir__,X.__filtered__=this.__filtered__,X.__iteratees__=Tl(this.__iteratees__),X.__takeCount__=this.__takeCount__,X.__views__=Tl(this.__views__),X}function Fc(){if(this.__filtered__){var X=new Wi(this);X.__dir__=-1,X.__filtered__=!0}else X=this.clone(),X.__dir__*=-1;return X}function Ou(){var X=this.__wrapped__.value(),be=this.__dir__,Tt=nc(X),On=be<0,fr=Tt?X.length:0,Gr=Nr(0,fr,this.__views__),Do=Gr.start,Wo=Gr.end,zo=Wo-Do,_a=On?Wo:Do-1,Aa=this.__iteratees__,za=Aa.length,ps=0,Ws=Cs(zo,this.__takeCount__);if(!Tt||!On&&fr==zo&&Ws==zo)return yu(X,this.__actions__);var Oi=[];e:for(;zo--&&ps<Ws;){_a+=be;for(var bl=-1,tl=X[_a];++bl<za;){var cl=Aa[bl],pl=cl.iteratee,Uc=cl.type,rc=pl(tl);if(Uc==k)tl=rc;else if(!rc){if(Uc==G)continue e;break e}}Oi[ps++]=tl}return Oi}Wi.prototype=_l(Al.prototype),Wi.prototype.constructor=Wi;function Rl(X){var be=-1,Tt=X==null?0:X.length;for(this.clear();++be<Tt;){var On=X[be];this.set(On[0],On[1])}}function gu(){this.__data__=ui?ui(null):{},this.size=0}function Hl(X){var be=this.has(X)&&delete this.__data__[X];return this.size-=be?1:0,be}function Cl(X){var be=this.__data__;if(ui){var Tt=be[X];return Tt===u?r:Tt}return Ui.call(be,X)?be[X]:r}function Dl(X){var be=this.__data__;return ui?be[X]!==r:Ui.call(be,X)}function kl(X,be){var Tt=this.__data__;return this.size+=this.has(X)?0:1,Tt[X]=ui&&be===r?u:be,this}Rl.prototype.clear=gu,Rl.prototype.delete=Hl,Rl.prototype.get=Cl,Rl.prototype.has=Dl,Rl.prototype.set=kl;function ll(X){var be=-1,Tt=X==null?0:X.length;for(this.clear();++be<Tt;){var On=X[be];this.set(On[0],On[1])}}function el(){this.__data__=[],this.size=0}function vc(X){var be=this.__data__,Tt=ur(be,X);if(Tt<0)return!1;var On=be.length-1;return Tt==On?be.pop():ln.call(be,Tt,1),--this.size,!0}function Bl(X){var be=this.__data__,Tt=ur(be,X);return Tt<0?r:be[Tt][1]}function oc(X){return ur(this.__data__,X)>-1}function Wc(X,be){var Tt=this.__data__,On=ur(Tt,X);return On<0?(++this.size,Tt.push([X,be])):Tt[On][1]=be,this}ll.prototype.clear=el,ll.prototype.delete=vc,ll.prototype.get=Bl,ll.prototype.has=oc,ll.prototype.set=Wc;function Ll(X){var be=-1,Tt=X==null?0:X.length;for(this.clear();++be<Tt;){var On=X[be];this.set(On[0],On[1])}}function Qa(){this.size=0,this.__data__={hash:new Rl,map:new(zs||ll),string:new Rl}}function Eu(X){var be=_r(this,X).delete(X);return this.size-=be?1:0,be}function Ul(X){return _r(this,X).get(X)}function ql(X){return _r(this,X).has(X)}function Sc(X,be){var Tt=_r(this,X),On=Tt.size;return Tt.set(X,be),this.size+=Tt.size==On?0:1,this}Ll.prototype.clear=Qa,Ll.prototype.delete=Eu,Ll.prototype.get=Ul,Ll.prototype.has=ql,Ll.prototype.set=Sc;function Rc(X){var be=-1,Tt=X==null?0:X.length;for(this.__data__=new Ll;++be<Tt;)this.add(X[be])}function Mu(X){return this.__data__.set(X,u),this}function dc(X){return this.__data__.has(X)}Rc.prototype.add=Rc.prototype.push=Mu,Rc.prototype.has=dc;function ec(X){var be=this.__data__=new ll(X);this.size=be.size}function tc(){this.__data__=new ll,this.size=0}function qc(X){var be=this.__data__,Tt=be.delete(X);return this.size=be.size,Tt}function hu(X){return this.__data__.get(X)}function Tc(X){return this.__data__.has(X)}function ac(X,be){var Tt=this.__data__;if(Tt instanceof ll){var On=Tt.__data__;if(!zs||On.length<n-1)return On.push([X,be]),this.size=++Tt.size,this;Tt=this.__data__=new Ll(On)}return Tt.set(X,be),this.size=Tt.size,this}ec.prototype.clear=tc,ec.prototype.delete=qc,ec.prototype.get=hu,ec.prototype.has=Tc,ec.prototype.set=ac;function sc(X,be){var Tt=nc(X),On=!Tt&&Mh(X),fr=!Tt&&!On&&Ch(X),Gr=!Tt&&!On&&!fr&&Sh(X),Do=Tt||On||fr||Gr,Wo=Do?fs(X.length,ms):[],zo=Wo.length;for(var _a in X)(be||Ui.call(X,_a))&&!(Do&&(_a=="length"||fr&&(_a=="offset"||_a=="parent")||Gr&&(_a=="buffer"||_a=="byteLength"||_a=="byteOffset")||Fi(_a,zo)))&&Wo.push(_a);return Wo}function wc(X){var be=X.length;return be?X[wr(0,be-1)]:r}function Nc(X,be){return id(Tl(X),Yt(be,0,X.length))}function Kc(X){return id(Tl(X))}function Yl(X,be,Tt){(Tt!==r&&!Kf(X[be],Tt)||Tt===r&&!(be in X))&&Ge(X,be,Tt)}function ou(X,be,Tt){var On=X[be];(!(Ui.call(X,be)&&Kf(On,Tt))||Tt===r&&!(be in X))&&Ge(X,be,Tt)}function ur(X,be){for(var Tt=X.length;Tt--;)if(Kf(X[Tt][0],be))return Tt;return-1}function Xr(X,be,Tt,On){return la(X,function(fr,Gr,Do){be(On,fr,Tt(fr),Do)}),On}function Fr(X,be){return X&&nu(be,Xd(be),X)}function kr(X,be){return X&&nu(be,Hd(be),X)}function Ge(X,be,Tt){be=="__proto__"&&zr?zr(X,be,{configurable:!0,enumerable:!0,value:Tt,writable:!0}):X[be]=Tt}function An(X,be){for(var Tt=-1,On=be.length,fr=Hn(On),Gr=X==null;++Tt<On;)fr[Tt]=Gr?r:Dh(X,be[Tt]);return fr}function Yt(X,be,Tt){return X===X&&(Tt!==r&&(X=X<=Tt?X:Tt),be!==r&&(X=X>=be?X:be)),X}function fn(X,be,Tt,On,fr,Gr){var Do,Wo=be&h,zo=be&g,_a=be&_;if(Tt&&(Do=fr?Tt(X,On,fr,Gr):Tt(X)),Do!==r)return Do;if(!Bu(X))return X;var Aa=nc(X);if(Aa){if(Do=Pa(X),!Wo)return Tl(X,Do)}else{var za=nr(X),ps=za==re||za==he;if(Ch(X))return Zd(X,Wo);if(za==z||za==ie||ps&&!fr){if(Do=zo||ps?{}:$a(X),!Wo)return zo?dd(X,kr(Do,X)):uu(X,Fr(Do,X))}else{if(!Kr[za])return fr?X:{};Do=ss(X,za,Wo)}}Gr||(Gr=new ec);var Ws=Gr.get(X);if(Ws)return Ws;Gr.set(X,Do),E0(X)?X.forEach(function(tl){Do.add(fn(tl,be,Tt,tl,X,Gr))}):Up(X)&&X.forEach(function(tl,cl){Do.set(cl,fn(tl,be,Tt,cl,X,Gr))});var Oi=_a?zo?ru:Ki:zo?Hd:Xd,bl=Aa?r:Oi(X);return Lr(bl||X,function(tl,cl){bl&&(cl=tl,tl=X[cl]),ou(Do,cl,fn(tl,be,Tt,cl,X,Gr))}),Do}function Br(X){var be=Xd(X);return function(Tt){return yo(Tt,X,be)}}function yo(X,be,Tt){var On=Tt.length;if(X==null)return!On;for(X=Na(X);On--;){var fr=Tt[On],Gr=be[fr],Do=X[fr];if(Do===r&&!(fr in X)||!Gr(Do))return!1}return!0}function Jo(X,be,Tt){if(typeof X!="function")throw new Us(i);return Xu(function(){X.apply(r,Tt)},be)}function sa(X,be,Tt,On){var fr=-1,Gr=Yo,Do=!0,Wo=X.length,zo=[],_a=be.length;if(!Wo)return zo;Tt&&(be=Xo(be,li(Tt))),On?(Gr=jo,Do=!1):be.length>=n&&(Gr=Ji,Do=!1,be=new Rc(be));e:for(;++fr<Wo;){var Aa=X[fr],za=Tt==null?Aa:Tt(Aa);if(Aa=On||Aa!==0?Aa:0,Do&&za===za){for(var ps=_a;ps--;)if(be[ps]===za)continue e;zo.push(Aa)}else Gr(be,za,On)||zo.push(Aa)}return zo}var la=qd(ai),va=qd(yl,!0);function Ra(X,be){var Tt=!0;return la(X,function(On,fr,Gr){return Tt=!!be(On,fr,Gr),Tt}),Tt}function Ya(X,be,Tt){for(var On=-1,fr=X.length;++On<fr;){var Gr=X[On],Do=be(Gr);if(Do!=null&&(Wo===r?Do===Do&&!Lf(Do):Tt(Do,Wo)))var Wo=Do,zo=Gr}return zo}function wa(X,be,Tt,On){var fr=X.length;for(Tt=pc(Tt),Tt<0&&(Tt=-Tt>fr?0:fr+Tt),On=On===r||On>fr?fr:pc(On),On<0&&(On+=fr),On=Tt>On?0:y0(On);Tt<On;)X[Tt++]=be;return X}function xa(X,be){var Tt=[];return la(X,function(On,fr,Gr){be(On,fr,Gr)&&Tt.push(On)}),Tt}function Ds(X,be,Tt,On,fr){var Gr=-1,Do=X.length;for(Tt||(Tt=Ns),fr||(fr=[]);++Gr<Do;){var Wo=X[Gr];be>0&&Tt(Wo)?be>1?Ds(Wo,be-1,Tt,On,fr):Ua(fr,Wo):On||(fr[fr.length]=Wo)}return fr}var ws=af(),Di=af(!0);function ai(X,be){return X&&ws(X,be,Xd)}function yl(X,be){return X&&Di(X,be,Xd)}function ml(X,be){return Lo(be,function(Tt){return th(X[Tt])})}function Ii(X,be){be=au(be,X);for(var Tt=0,On=be.length;X!=null&&Tt<On;)X=X[du(be[Tt++])];return Tt&&Tt==On?X:r}function Xi(X,be,Tt){var On=be(X);return nc(X)?On:Ua(On,Tt(X))}function zi(X){return X==null?X===r?ye:H:Er&&Er in Na(X)?bt(X):ff(X)}function Sl(X,be){return X>be}function gc(X,be){return X!=null&&Ui.call(X,be)}function Xl(X,be){return X!=null&&be in Na(X)}function yc(X,be,Tt){return X>=Cs(be,Tt)&&X<rs(be,Tt)}function Zc(X,be,Tt){for(var On=Tt?jo:Yo,fr=X[0].length,Gr=X.length,Do=Gr,Wo=Hn(Gr),zo=1/0,_a=[];Do--;){var Aa=X[Do];Do&&be&&(Aa=Xo(Aa,li(be))),zo=Cs(Aa.length,zo),Wo[Do]=!Tt&&(be||fr>=120&&Aa.length>=120)?new Rc(Do&&Aa):r}Aa=X[0];var za=-1,ps=Wo[0];e:for(;++za<fr&&_a.length<zo;){var Ws=Aa[za],Oi=be?be(Ws):Ws;if(Ws=Tt||Ws!==0?Ws:0,!(ps?Ji(ps,Oi):On(_a,Oi,Tt))){for(Do=Gr;--Do;){var bl=Wo[Do];if(!(bl?Ji(bl,Oi):On(X[Do],Oi,Tt)))continue e}ps&&ps.push(Oi),_a.push(Ws)}}return _a}function Rd(X,be,Tt,On){return ai(X,function(fr,Gr,Do){be(On,Tt(fr),Gr,Do)}),On}function _u(X,be,Tt){be=au(be,X),X=gf(X,be);var On=X==null?X:X[du(wu(be))];return On==null?r:ha(On,X,Tt)}function td(X){return qu(X)&&zi(X)==ie}function Hu(X){return qu(X)&&zi(X)==Xe}function Ru(X){return qu(X)&&zi(X)==q}function Pu(X,be,Tt,On,fr){return X===be?!0:X==null||be==null||!qu(X)&&!qu(be)?X!==X&&be!==be:Oc(X,be,Tt,On,Pu,fr)}function Oc(X,be,Tt,On,fr,Gr){var Do=nc(X),Wo=nc(be),zo=Do?ne:nr(X),_a=Wo?ne:nr(be);zo=zo==ie?z:zo,_a=_a==ie?z:_a;var Aa=zo==z,za=_a==z,ps=zo==_a;if(ps&&Ch(X)){if(!Ch(be))return!1;Do=!0,Aa=!1}if(ps&&!Aa)return Gr||(Gr=new ec),Do||Sh(X)?Pd(X,be,Tt,On,fr,Gr):Cd(X,be,zo,Tt,On,fr,Gr);if(!(Tt&p)){var Ws=Aa&&Ui.call(X,"__wrapped__"),Oi=za&&Ui.call(be,"__wrapped__");if(Ws||Oi){var bl=Ws?X.value():X,tl=Oi?be.value():be;return Gr||(Gr=new ec),fr(bl,tl,Tt,On,Gr)}}return ps?(Gr||(Gr=new ec),xn(X,be,Tt,On,fr,Gr)):!1}function vf(X){return qu(X)&&nr(X)==Ee}function nd(X,be,Tt,On){var fr=Tt.length,Gr=fr,Do=!On;if(X==null)return!Gr;for(X=Na(X);fr--;){var Wo=Tt[fr];if(Do&&Wo[2]?Wo[1]!==X[Wo[0]]:!(Wo[0]in X))return!1}for(;++fr<Gr;){Wo=Tt[fr];var zo=Wo[0],_a=X[zo],Aa=Wo[1];if(Do&&Wo[2]){if(_a===r&&!(zo in X))return!1}else{var za=new ec;if(On)var ps=On(_a,Aa,zo,X,be,za);if(!(ps===r?Pu(Aa,_a,p|y,On,za):ps))return!1}}return!0}function ld(X){if(!Bu(X)||ri(X))return!1;var be=th(X)?Ic:Jr;return be.test(md(X))}function Wl(X){return qu(X)&&zi(X)==ge}function Ql(X){return qu(X)&&nr(X)==Be}function gd(X){return qu(X)&&ip(X.length)&&!!io[zi(X)]}function rd(X){return typeof X=="function"?X:X==null?pf:typeof X=="object"?nc(X)?Ed(X[0],X[1]):Bc(X):nv(X)}function Zu(X){if(!su(X))return Rs(X);var be=[];for(var Tt in Na(X))Ui.call(X,Tt)&&Tt!="constructor"&&be.push(Tt);return be}function Cu(X){if(!Bu(X))return $d(X);var be=su(X),Tt=[];for(var On in X)On=="constructor"&&(be||!Ui.call(X,On))||Tt.push(On);return Tt}function eu(X,be){return X<be}function Uu(X,be){var Tt=-1,On=rf(X)?Hn(X.length):[];return la(X,function(fr,Gr,Do){On[++Tt]=be(fr,Gr,Do)}),On}function Bc(X){var be=Ve(X);return be.length==1&&be[0][2]?$c(be[0][0],be[0][1]):function(Tt){return Tt===X||nd(Tt,X,be)}}function Ed(X,be){return ni(X)&&zc(be)?$c(du(X),be):function(Tt){var On=Dh(Tt,X);return On===r&&On===be?Hp(Tt,X):Pu(be,On,p|y)}}function Fu(X,be,Tt,On,fr){X!==be&&ws(be,function(Gr,Do){if(fr||(fr=new ec),Bu(Gr))Ut(X,be,Do,Tt,Fu,On,fr);else{var Wo=On?On(ef(X,Do),Gr,Do+"",X,be,fr):r;Wo===r&&(Wo=Gr),Yl(X,Do,Wo)}},Hd)}function Ut(X,be,Tt,On,fr,Gr,Do){var Wo=ef(X,Tt),zo=ef(be,Tt),_a=Do.get(zo);if(_a){Yl(X,Tt,_a);return}var Aa=Gr?Gr(Wo,zo,Tt+"",X,be,Do):r,za=Aa===r;if(za){var ps=nc(zo),Ws=!ps&&Ch(zo),Oi=!ps&&!Ws&&Sh(zo);Aa=zo,ps||Ws||Oi?nc(Wo)?Aa=Wo:Ju(Wo)?Aa=Tl(Wo):Ws?(za=!1,Aa=Zd(zo,!0)):Oi?(za=!1,Aa=yd(zo,!0)):Aa=[]:Ah(zo)||Mh(zo)?(Aa=Wo,Mh(Wo)?Aa=O0(Wo):(!Bu(Wo)||th(Wo))&&(Aa=$a(zo))):za=!1}za&&(Do.set(zo,Aa),fr(Aa,zo,On,Gr,Do),Do.delete(zo)),Yl(X,Tt,Aa)}function Q(X,be){var Tt=X.length;if(Tt)return be+=be<0?Tt:0,Fi(be,Tt)?X[be]:r}function De(X,be,Tt){be.length?be=Xo(be,function(Gr){return nc(Gr)?function(Do){return Ii(Do,Gr.length===1?Gr[0]:Gr)}:Gr}):be=[pf];var On=-1;be=Xo(be,li(wn()));var fr=Uu(X,function(Gr,Do,Wo){var zo=Xo(be,function(_a){return _a(Gr)});return{criteria:zo,index:++On,value:Gr}});return Vs(fr,function(Gr,Do){return Vd(Gr,Do,Tt)})}function at(X,be){return Dt(X,be,function(Tt,On){return Hp(X,On)})}function Dt(X,be,Tt){for(var On=-1,fr=be.length,Gr={};++On<fr;){var Do=be[On],Wo=Ii(X,Do);Tt(Wo,Do)&&Ca(Gr,au(Do,X),Wo)}return Gr}function zt(X){return function(be){return Ii(be,X)}}function Qn(X,be,Tt,On){var fr=On?hi:ei,Gr=-1,Do=be.length,Wo=X;for(X===be&&(be=Tl(be)),Tt&&(Wo=Xo(X,li(Tt)));++Gr<Do;)for(var zo=0,_a=be[Gr],Aa=Tt?Tt(_a):_a;(zo=fr(Wo,Aa,zo,On))>-1;)Wo!==X&&ln.call(Wo,zo,1),ln.call(X,zo,1);return X}function Cr(X,be){for(var Tt=X?be.length:0,On=Tt-1;Tt--;){var fr=be[Tt];if(Tt==On||fr!==Gr){var Gr=fr;Fi(fr)?ln.call(X,fr,1):tu(X,fr)}}return X}function wr(X,be){return X+Ha(Ls()*(be-X+1))}function No(X,be,Tt,On){for(var fr=-1,Gr=rs(So((be-X)/(Tt||1)),0),Do=Hn(Gr);Gr--;)Do[On?Gr:++fr]=X,X+=Tt;return Do}function Co(X,be){var Tt="";if(!X||be<1||be>B)return Tt;do be%2&&(Tt+=X),be=Ha(be/2),be&&(X+=X);while(be);return Tt}function Ro(X,be){return tf(bd(X,be,pf),X+"")}function Qo(X){return wc(Qh(X))}function ka(X,be){var Tt=Qh(X);return id(Tt,Yt(be,0,Tt.length))}function Ca(X,be,Tt,On){if(!Bu(X))return X;be=au(be,X);for(var fr=-1,Gr=be.length,Do=Gr-1,Wo=X;Wo!=null&&++fr<Gr;){var zo=du(be[fr]),_a=Tt;if(zo==="__proto__"||zo==="constructor"||zo==="prototype")return X;if(fr!=Do){var Aa=Wo[zo];_a=On?On(Aa,zo,Wo):r,_a===r&&(_a=Bu(Aa)?Aa:Fi(be[fr+1])?[]:{})}ou(Wo,zo,_a),Wo=Wo[zo]}return X}var ls=qi?function(X,be){return qi.set(X,be),X}:pf,vs=zr?function(X,be){return zr(X,"toString",{configurable:!0,enumerable:!1,value:hm(be),writable:!0})}:pf;function Es(X){return id(Qh(X))}function fi(X,be,Tt){var On=-1,fr=X.length;be<0&&(be=-be>fr?0:fr+be),Tt=Tt>fr?fr:Tt,Tt<0&&(Tt+=fr),fr=be>Tt?0:Tt-be>>>0,be>>>=0;for(var Gr=Hn(fr);++On<fr;)Gr[On]=X[On+be];return Gr}function Bo(X,be){var Tt;return la(X,function(On,fr,Gr){return Tt=be(On,fr,Gr),!Tt}),!!Tt}function Hi(X,be,Tt){var On=0,fr=X==null?On:X.length;if(typeof be=="number"&&be===be&&fr<=ee){for(;On<fr;){var Gr=On+fr>>>1,Do=X[Gr];Do!==null&&!Lf(Do)&&(Tt?Do<=be:Do<be)?On=Gr+1:fr=Gr}return fr}return Qi(X,be,pf,Tt)}function Qi(X,be,Tt,On){var fr=0,Gr=X==null?0:X.length;if(Gr===0)return 0;be=Tt(be);for(var Do=be!==be,Wo=be===null,zo=Lf(be),_a=be===r;fr<Gr;){var Aa=Ha((fr+Gr)/2),za=Tt(X[Aa]),ps=za!==r,Ws=za===null,Oi=za===za,bl=Lf(za);if(Do)var tl=On||Oi;else _a?tl=Oi&&(On||ps):Wo?tl=Oi&&ps&&(On||!Ws):zo?tl=Oi&&ps&&!Ws&&(On||!bl):Ws||bl?tl=!1:tl=On?za<=be:za<be;tl?fr=Aa+1:Gr=Aa}return Cs(Gr,$)}function Li(X,be){for(var Tt=-1,On=X.length,fr=0,Gr=[];++Tt<On;){var Do=X[Tt],Wo=be?be(Do):Do;if(!Tt||!Kf(Wo,zo)){var zo=Wo;Gr[fr++]=Do===0?0:Do}}return Gr}function Gl(X){return typeof X=="number"?X:Lf(X)?U:+X}function Zl(X){if(typeof X=="string")return X;if(nc(X))return Xo(X,Zl)+"";if(Lf(X))return Gi?Gi.call(X):"";var be=X+"";return be=="0"&&1/X==-M?"-0":be}function Vc(X,be,Tt){var On=-1,fr=Yo,Gr=X.length,Do=!0,Wo=[],zo=Wo;if(Tt)Do=!1,fr=jo;else if(Gr>=n){var _a=be?null:Bd(X);if(_a)return ta(_a);Do=!1,fr=Ji,zo=new Rc}else zo=be?[]:Wo;e:for(;++On<Gr;){var Aa=X[On],za=be?be(Aa):Aa;if(Aa=Tt||Aa!==0?Aa:0,Do&&za===za){for(var ps=zo.length;ps--;)if(zo[ps]===za)continue e;be&&zo.push(za),Wo.push(Aa)}else fr(zo,za,Tt)||(zo!==Wo&&zo.push(za),Wo.push(Aa))}return Wo}function tu(X,be){return be=au(be,X),X=gf(X,be),X==null||delete X[du(wu(be))]}function lu(X,be,Tt,On){return Ca(X,be,Tt(Ii(X,be)),On)}function Lu(X,be,Tt,On){for(var fr=X.length,Gr=On?fr:-1;(On?Gr--:++Gr<fr)&&be(X[Gr],Gr,X););return Tt?fi(X,On?0:Gr,On?Gr+1:fr):fi(X,On?Gr+1:0,On?fr:Gr)}function yu(X,be){var Tt=X;return Tt instanceof Wi&&(Tt=Tt.value()),ds(be,function(On,fr){return fr.func.apply(fr.thisArg,Ua([On],fr.args))},Tt)}function ic(X,be,Tt){var On=X.length;if(On<2)return On?Vc(X[0]):[];for(var fr=-1,Gr=Hn(On);++fr<On;)for(var Do=X[fr],Wo=-1;++Wo<On;)Wo!=fr&&(Gr[fr]=sa(Gr[fr]||Do,X[Wo],be,Tt));return Vc(Ds(Gr,1),be,Tt)}function kc(X,be,Tt){for(var On=-1,fr=X.length,Gr=be.length,Do={};++On<fr;){var Wo=On<Gr?be[On]:r;Tt(Do,X[On],Wo)}return Do}function cu(X){return Ju(X)?X:[]}function Au(X){return typeof X=="function"?X:pf}function au(X,be){return nc(X)?X:ni(X,be)?[X]:Ef(Vl(X))}var jc=Ro;function lc(X,be,Tt){var On=X.length;return Tt=Tt===r?On:Tt,!be&&Tt>=On?X:fi(X,be,Tt)}var Nu=Ao||function(X){return ba.clearTimeout(X)};function Zd(X,be){if(be)return X.slice();var Tt=X.length,On=_c?_c(Tt):new X.constructor(Tt);return X.copy(On),On}function _d(X){var be=new X.constructor(X.byteLength);return new Vi(be).set(new Vi(X)),be}function pu(X,be){var Tt=be?_d(X.buffer):X.buffer;return new X.constructor(Tt,X.byteOffset,X.byteLength)}function Lc(X){var be=new X.constructor(X.source,qn.exec(X));return be.lastIndex=X.lastIndex,be}function od(X){return pi?Na(pi.call(X)):{}}function yd(X,be){var Tt=be?_d(X.buffer):X.buffer;return new X.constructor(Tt,X.byteOffset,X.length)}function cd(X,be){if(X!==be){var Tt=X!==r,On=X===null,fr=X===X,Gr=Lf(X),Do=be!==r,Wo=be===null,zo=be===be,_a=Lf(be);if(!Wo&&!_a&&!Gr&&X>be||Gr&&Do&&zo&&!Wo&&!_a||On&&Do&&zo||!Tt&&zo||!fr)return 1;if(!On&&!Gr&&!_a&&X<be||_a&&Tt&&fr&&!On&&!Gr||Wo&&Tt&&fr||!Do&&fr||!zo)return-1}return 0}function Vd(X,be,Tt){for(var On=-1,fr=X.criteria,Gr=be.criteria,Do=fr.length,Wo=Tt.length;++On<Do;){var zo=cd(fr[On],Gr[On]);if(zo){if(On>=Wo)return zo;var _a=Tt[On];return zo*(_a=="desc"?-1:1)}}return X.index-be.index}function Od(X,be,Tt,On){for(var fr=-1,Gr=X.length,Do=Tt.length,Wo=-1,zo=be.length,_a=rs(Gr-Do,0),Aa=Hn(zo+_a),za=!On;++Wo<zo;)Aa[Wo]=be[Wo];for(;++fr<Do;)(za||fr<Gr)&&(Aa[Tt[fr]]=X[fr]);for(;_a--;)Aa[Wo++]=X[fr++];return Aa}function ud(X,be,Tt,On){for(var fr=-1,Gr=X.length,Do=-1,Wo=Tt.length,zo=-1,_a=be.length,Aa=rs(Gr-Wo,0),za=Hn(Aa+_a),ps=!On;++fr<Aa;)za[fr]=X[fr];for(var Ws=fr;++zo<_a;)za[Ws+zo]=be[zo];for(;++Do<Wo;)(ps||fr<Gr)&&(za[Ws+Tt[Do]]=X[fr++]);return za}function Tl(X,be){var Tt=-1,On=X.length;for(be||(be=Hn(On));++Tt<On;)be[Tt]=X[Tt];return be}function nu(X,be,Tt,On){var fr=!Tt;Tt||(Tt={});for(var Gr=-1,Do=be.length;++Gr<Do;){var Wo=be[Gr],zo=On?On(Tt[Wo],X[Wo],Wo,Tt,X):r;zo===r&&(zo=X[Wo]),fr?Ge(Tt,Wo,zo):ou(Tt,Wo,zo)}return Tt}function uu(X,be){return nu(X,an(X),be)}function dd(X,be){return nu(X,Wn(X),be)}function Tu(X,be){return function(Tt,On){var fr=nc(Tt)?yr:Xr,Gr=be?be():{};return fr(Tt,X,wn(On,2),Gr)}}function Wd(X){return Ro(function(be,Tt){var On=-1,fr=Tt.length,Gr=fr>1?Tt[fr-1]:r,Do=fr>2?Tt[2]:r;for(Gr=X.length>3&&typeof Gr=="function"?(fr--,Gr):r,Do&&xi(Tt[0],Tt[1],Do)&&(Gr=fr<3?r:Gr,fr=1),be=Na(be);++On<fr;){var Wo=Tt[On];Wo&&X(be,Wo,On,Gr)}return be})}function qd(X,be){return function(Tt,On){if(Tt==null)return Tt;if(!rf(Tt))return X(Tt,On);for(var fr=Tt.length,Gr=be?fr:-1,Do=Na(Tt);(be?Gr--:++Gr<fr)&&On(Do[Gr],Gr,Do)!==!1;);return Tt}}function af(X){return function(be,Tt,On){for(var fr=-1,Gr=Na(be),Do=On(be),Wo=Do.length;Wo--;){var zo=Do[X?Wo:++fr];if(Tt(Gr[zo],zo,Gr)===!1)break}return be}}function Kd(X,be,Tt){var On=be&O,fr=zu(X);function Gr(){var Do=this&&this!==ba&&this instanceof Gr?fr:X;return Do.apply(On?Tt:this,arguments)}return Gr}function ad(X){return function(be){be=Vl(be);var Tt=gi(be)?Tr(be):r,On=Tt?Tt[0]:be.charAt(0),fr=Tt?lc(Tt,1).join(""):be.slice(1);return On[X]()+fr}}function Vu(X){return function(be){return ds(fp(Gm(be).replace(St,"")),X,"")}}function zu(X){return function(){var be=arguments;switch(be.length){case 0:return new X;case 1:return new X(be[0]);case 2:return new X(be[0],be[1]);case 3:return new X(be[0],be[1],be[2]);case 4:return new X(be[0],be[1],be[2],be[3]);case 5:return new X(be[0],be[1],be[2],be[3],be[4]);case 6:return new X(be[0],be[1],be[2],be[3],be[4],be[5]);case 7:return new X(be[0],be[1],be[2],be[3],be[4],be[5],be[6])}var Tt=_l(X.prototype),On=X.apply(Tt,be);return Bu(On)?On:Tt}}function Wu(X,be,Tt){var On=zu(X);function fr(){for(var Gr=arguments.length,Do=Hn(Gr),Wo=Gr,zo=Sn(fr);Wo--;)Do[Wo]=arguments[Wo];var _a=Gr<3&&Do[0]!==zo&&Do[Gr-1]!==zo?[]:Si(Do,zo);if(Gr-=_a.length,Gr<Tt)return $u(X,be,lf,fr.placeholder,r,Do,_a,r,r,Tt-Gr);var Aa=this&&this!==ba&&this instanceof fr?On:X;return ha(Aa,this,Do)}return fr}function Ld(X){return function(be,Tt,On){var fr=Na(be);if(!rf(be)){var Gr=wn(Tt,3);be=Xd(be),Tt=function(Wo){return Gr(fr[Wo],Wo,fr)}}var Do=X(be,Tt,On);return Do>-1?fr[Gr?be[Do]:Do]:r}}function sf(X){return $s(function(be){var Tt=be.length,On=Tt,fr=Pl.prototype.thru;for(X&&be.reverse();On--;){var Gr=be[On];if(typeof Gr!="function")throw new Us(i);if(fr&&!Do&&Kt(Gr)=="wrapper")var Do=new Pl([],!0)}for(On=Do?On:Tt;++On<Tt;){Gr=be[On];var Wo=Kt(Gr),zo=Wo=="wrapper"?Zt(Gr):r;zo&&Ec(zo[0])&&zo[1]==(v|A|T|m)&&!zo[4].length&&zo[9]==1?Do=Do[Kt(zo[0])].apply(Do,zo[3]):Do=Gr.length==1&&Ec(Gr)?Do[Wo]():Do.thru(Gr)}return function(){var _a=arguments,Aa=_a[0];if(Do&&_a.length==1&&nc(Aa))return Do.plant(Aa).value();for(var za=0,ps=Tt?be[za].apply(this,_a):Aa;++za<Tt;)ps=be[za].call(this,ps);return ps}})}function lf(X,be,Tt,On,fr,Gr,Do,Wo,zo,_a){var Aa=be&v,za=be&O,ps=be&P,Ws=be&(A|S),Oi=be&E,bl=ps?r:zu(X);function tl(){for(var cl=arguments.length,pl=Hn(cl),Uc=cl;Uc--;)pl[Uc]=arguments[Uc];if(Ws)var rc=Sn(tl),Jc=sl(pl,rc);if(On&&(pl=Od(pl,On,fr,Ws)),Gr&&(pl=ud(pl,Gr,Do,Ws)),cl-=Jc,Ws&&cl<_a){var iu=Si(pl,rc);return $u(X,be,lf,tl.placeholder,Tt,pl,iu,Wo,zo,_a-cl)}var ju=za?Tt:this,vu=ps?ju[X]:X;return cl=pl.length,Wo?pl=Ku(pl,Wo):Oi&&cl>1&&pl.reverse(),Aa&&zo<cl&&(pl.length=zo),this&&this!==ba&&this instanceof tl&&(vu=bl||zu(vu)),vu.apply(ju,pl)}return tl}function xd(X,be){return function(Tt,On){return Rd(Tt,X,be(On),{})}}function wd(X,be){return function(Tt,On){var fr;if(Tt===r&&On===r)return be;if(Tt!==r&&(fr=Tt),On!==r){if(fr===r)return On;typeof Tt=="string"||typeof On=="string"?(Tt=Zl(Tt),On=Zl(On)):(Tt=Gl(Tt),On=Gl(On)),fr=X(Tt,On)}return fr}}function kd(X){return $s(function(be){return be=Xo(be,li(wn())),Ro(function(Tt){var On=this;return X(be,function(fr){return ha(fr,On,Tt)})})})}function fd(X,be){be=be===r?" ":Zl(be);var Tt=be.length;if(Tt<2)return Tt?Co(be,X):be;var On=Co(be,So(X/mr(be)));return gi(be)?lc(Tr(On),0,X).join(""):On.slice(0,X)}function sd(X,be,Tt,On){var fr=be&O,Gr=zu(X);function Do(){for(var Wo=-1,zo=arguments.length,_a=-1,Aa=On.length,za=Hn(Aa+zo),ps=this&&this!==ba&&this instanceof Do?Gr:X;++_a<Aa;)za[_a]=On[_a];for(;zo--;)za[_a++]=arguments[++Wo];return ha(ps,fr?Tt:this,za)}return Do}function cf(X){return function(be,Tt,On){return On&&typeof On!="number"&&xi(be,Tt,On)&&(Tt=On=r),be=ch(be),Tt===r?(Tt=be,be=0):Tt=ch(Tt),On=On===r?be<Tt?1:-1:ch(On),No(be,Tt,On,X)}}function uf(X){return function(be,Tt){return typeof be=="string"&&typeof Tt=="string"||(be=kf(be),Tt=kf(Tt)),X(be,Tt)}}function $u(X,be,Tt,On,fr,Gr,Do,Wo,zo,_a){var Aa=be&A,za=Aa?Do:r,ps=Aa?r:Do,Ws=Aa?Gr:r,Oi=Aa?r:Gr;be|=Aa?T:s,be&=~(Aa?s:T),be&C||(be&=~(O|P));var bl=[X,be,fr,Ws,za,Oi,ps,Wo,zo,_a],tl=Tt.apply(r,bl);return Ec(X)&&Gc(tl,bl),tl.placeholder=On,$f(tl,X,be)}function Nd(X){var be=Sa[X];return function(Tt,On){if(Tt=kf(Tt),On=On==null?0:Cs(pc(On),292),On&&es(Tt)){var fr=(Vl(Tt)+"e").split("e"),Gr=be(fr[0]+"e"+(+fr[1]+On));return fr=(Vl(Gr)+"e").split("e"),+(fr[0]+"e"+(+fr[1]-On))}return be(Tt)}}var Bd=qs&&1/ta(new qs([,-0]))[1]==M?function(X){return new qs(X)}:e0;function Pc(X){return function(be){var Tt=nr(be);return Tt==Ee?bi(be):Tt==Be?ke(be):Ss(be,X(be))}}function Fl(X,be,Tt,On,fr,Gr,Do,Wo){var zo=be&P;if(!zo&&typeof X!="function")throw new Us(i);var _a=On?On.length:0;if(_a||(be&=~(T|s),On=fr=r),Do=Do===r?Do:rs(pc(Do),0),Wo=Wo===r?Wo:pc(Wo),_a-=fr?fr.length:0,be&s){var Aa=On,za=fr;On=fr=r}var ps=zo?r:Zt(X),Ws=[X,be,Tt,On,fr,Aa,za,Gr,Do,Wo];if(ps&&df(Ws,ps),X=Ws[0],be=Ws[1],Tt=Ws[2],On=Ws[3],fr=Ws[4],Wo=Ws[9]=Ws[9]===r?zo?0:X.length:rs(Ws[9]-_a,0),!Wo&&be&(A|S)&&(be&=~(A|S)),!be||be==O)var Oi=Kd(X,be,Tt);else be==A||be==S?Oi=Wu(X,be,Wo):(be==T||be==(O|T))&&!fr.length?Oi=sd(X,be,Tt,On):Oi=lf.apply(r,Ws);var bl=ps?ls:Gc;return $f(bl(Oi,Ws),X,be)}function Gd(X,be,Tt,On){return X===r||Kf(X,si[Tt])&&!Ui.call(On,Tt)?be:X}function hd(X,be,Tt,On,fr,Gr){return Bu(X)&&Bu(be)&&(Gr.set(be,X),Fu(X,be,r,hd,Gr),Gr.delete(be)),X}function zd(X){return Ah(X)?r:X}function Pd(X,be,Tt,On,fr,Gr){var Do=Tt&p,Wo=X.length,zo=be.length;if(Wo!=zo&&!(Do&&zo>Wo))return!1;var _a=Gr.get(X),Aa=Gr.get(be);if(_a&&Aa)return _a==be&&Aa==X;var za=-1,ps=!0,Ws=Tt&y?new Rc:r;for(Gr.set(X,be),Gr.set(be,X);++za<Wo;){var Oi=X[za],bl=be[za];if(On)var tl=Do?On(bl,Oi,za,be,X,Gr):On(Oi,bl,za,X,be,Gr);if(tl!==r){if(tl)continue;ps=!1;break}if(Ws){if(!ys(be,function(cl,pl){if(!Ji(Ws,pl)&&(Oi===cl||fr(Oi,cl,Tt,On,Gr)))return Ws.push(pl)})){ps=!1;break}}else if(!(Oi===bl||fr(Oi,bl,Tt,On,Gr))){ps=!1;break}}return Gr.delete(X),Gr.delete(be),ps}function Cd(X,be,Tt,On,fr,Gr,Do){switch(Tt){case Fe:if(X.byteLength!=be.byteLength||X.byteOffset!=be.byteOffset)return!1;X=X.buffer,be=be.buffer;case Xe:return!(X.byteLength!=be.byteLength||!Gr(new Vi(X),new Vi(be)));case oe:case q:case fe:return Kf(+X,+be);case me:return X.name==be.name&&X.message==be.message;case ge:case Ke:return X==be+"";case Ee:var Wo=bi;case Be:var zo=On&p;if(Wo||(Wo=ta),X.size!=be.size&&!zo)return!1;var _a=Do.get(X);if(_a)return _a==be;On|=y,Do.set(X,be);var Aa=Pd(Wo(X),Wo(be),On,fr,Gr,Do);return Do.delete(X),Aa;case He:if(pi)return pi.call(X)==pi.call(be)}return!1}function xn(X,be,Tt,On,fr,Gr){var Do=Tt&p,Wo=Ki(X),zo=Wo.length,_a=Ki(be),Aa=_a.length;if(zo!=Aa&&!Do)return!1;for(var za=zo;za--;){var ps=Wo[za];if(!(Do?ps in be:Ui.call(be,ps)))return!1}var Ws=Gr.get(X),Oi=Gr.get(be);if(Ws&&Oi)return Ws==be&&Oi==X;var bl=!0;Gr.set(X,be),Gr.set(be,X);for(var tl=Do;++za<zo;){ps=Wo[za];var cl=X[ps],pl=be[ps];if(On)var Uc=Do?On(pl,cl,ps,be,X,Gr):On(cl,pl,ps,X,be,Gr);if(!(Uc===r?cl===pl||fr(cl,pl,Tt,On,Gr):Uc)){bl=!1;break}tl||(tl=ps=="constructor")}if(bl&&!tl){var rc=X.constructor,Jc=be.constructor;rc!=Jc&&"constructor"in X&&"constructor"in be&&!(typeof rc=="function"&&rc instanceof rc&&typeof Jc=="function"&&Jc instanceof Jc)&&(bl=!1)}return Gr.delete(X),Gr.delete(be),bl}function $s(X){return tf(bd(X,r,Xc),X+"")}function Ki(X){return Xi(X,Xd,an)}function ru(X){return Xi(X,Hd,Wn)}var Zt=qi?function(X){return qi.get(X)}:e0;function Kt(X){for(var be=X.name+"",Tt=Ko[be],On=Ui.call(Ko,be)?Tt.length:0;On--;){var fr=Tt[On],Gr=fr.func;if(Gr==null||Gr==X)return fr.name}return be}function Sn(X){var be=Ui.call(Eo,"placeholder")?Eo:X;return be.placeholder}function wn(){var X=Eo.iteratee||B0;return X=X===B0?rd:X,arguments.length?X(arguments[0],arguments[1]):X}function _r(X,be){var Tt=X.__data__;return dl(be)?Tt[typeof be=="string"?"string":"hash"]:Tt.map}function Ve(X){for(var be=Xd(X),Tt=be.length;Tt--;){var On=be[Tt],fr=X[On];be[Tt]=[On,fr,zc(fr)]}return be}function tt(X,be){var Tt=ti(X,be);return ld(Tt)?Tt:r}function bt(X){var be=Ui.call(X,Er),Tt=X[Er];try{X[Er]=r;var On=!0}catch{}var fr=oi.call(X);return On&&(be?X[Er]=Tt:delete X[Er]),fr}var an=is?function(X){return X==null?[]:(X=Na(X),Lo(is(X),function(be){return $l.call(X,be)}))}:Dp,Wn=is?function(X){for(var be=[];X;)Ua(be,an(X)),X=mc(X);return be}:Dp,nr=zi;(Ts&&nr(new Ts(new ArrayBuffer(1)))!=Fe||zs&&nr(new zs)!=Ee||Bi&&nr(Bi.resolve())!=_e||qs&&nr(new qs)!=Be||Ti&&nr(new Ti)!=Le)&&(nr=function(X){var be=zi(X),Tt=be==z?X.constructor:r,On=Tt?md(Tt):"";if(On)switch(On){case Ur:return Fe;case aa:return Ee;case ca:return _e;case As:return Be;case Ri:return Le}return be});function Nr(X,be,Tt){for(var On=-1,fr=Tt.length;++On<fr;){var Gr=Tt[On],Do=Gr.size;switch(Gr.type){case"drop":X+=Do;break;case"dropRight":be-=Do;break;case"take":be=Cs(be,X+Do);break;case"takeRight":X=rs(X,be-Do);break}}return{start:X,end:be}}function to(X){var be=X.match(Rn);return be?be[1].split(jn):[]}function qo(X,be,Tt){be=au(be,X);for(var On=-1,fr=be.length,Gr=!1;++On<fr;){var Do=du(be[On]);if(!(Gr=X!=null&&Tt(X,Do)))break;X=X[Do]}return Gr||++On!=fr?Gr:(fr=X==null?0:X.length,!!fr&&ip(fr)&&Fi(Do,fr)&&(nc(X)||Mh(X)))}function Pa(X){var be=X.length,Tt=new X.constructor(be);return be&&typeof X[0]=="string"&&Ui.call(X,"index")&&(Tt.index=X.index,Tt.input=X.input),Tt}function $a(X){return typeof X.constructor=="function"&&!su(X)?_l(mc(X)):{}}function ss(X,be,Tt){var On=X.constructor;switch(be){case Xe:return _d(X);case oe:case q:return new On(+X);case Fe:return pu(X,Tt);case ht:case Ne:case Ce:case we:case $e:case Ot:case Pt:case Ie:case Bt:return yd(X,Tt);case Ee:return new On;case fe:case Ke:return new On(X);case ge:return Lc(X);case Be:return new On;case He:return od(X)}}function cs(X,be){var Tt=be.length;if(!Tt)return X;var On=Tt-1;return be[On]=(Tt>1?"& ":"")+be[On],be=be.join(Tt>2?", ":" "),X.replace(jt,`{
/* [wrapped with `+be+`] */
`)}function Ns(X){return nc(X)||Mh(X)||!!(sn&&X&&X[sn])}function Fi(X,be){var Tt=typeof X;return be=be??B,!!be&&(Tt=="number"||Tt!="symbol"&&Xt.test(X))&&X>-1&&X%1==0&&X<be}function xi(X,be,Tt){if(!Bu(Tt))return!1;var On=typeof be;return(On=="number"?rf(Tt)&&Fi(be,Tt.length):On=="string"&&be in Tt)?Kf(Tt[be],X):!1}function ni(X,be){if(nc(X))return!1;var Tt=typeof X;return Tt=="number"||Tt=="symbol"||Tt=="boolean"||X==null||Lf(X)?!0:Yn.test(X)||!Pn.test(X)||be!=null&&X in Na(be)}function dl(X){var be=typeof X;return be=="string"||be=="number"||be=="symbol"||be=="boolean"?X!=="__proto__":X===null}function Ec(X){var be=Kt(X),Tt=Eo[be];if(typeof Tt!="function"||!(be in Wi.prototype))return!1;if(X===Tt)return!0;var On=Zt(Tt);return!!On&&X===On[0]}function ri(X){return!!fl&&fl in X}var cc=rl?th:r0;function su(X){var be=X&&X.constructor,Tt=typeof be=="function"&&be.prototype||si;return X===Tt}function zc(X){return X===X&&!Bu(X)}function $c(X,be){return function(Tt){return Tt==null?!1:Tt[X]===be&&(be!==r||X in Na(Tt))}}function Ad(X){var be=Iu(X,function(On){return Tt.size===f&&Tt.clear(),On}),Tt=be.cache;return be}function df(X,be){var Tt=X[1],On=be[1],fr=Tt|On,Gr=fr<(O|P|v),Do=On==v&&Tt==A||On==v&&Tt==m&&X[7].length<=be[8]||On==(v|m)&&be[7].length<=be[8]&&Tt==A;if(!(Gr||Do))return X;On&O&&(X[2]=be[2],fr|=Tt&O?0:C);var Wo=be[3];if(Wo){var zo=X[3];X[3]=zo?Od(zo,Wo,be[4]):Wo,X[4]=zo?Si(X[3],d):be[4]}return Wo=be[5],Wo&&(zo=X[5],X[5]=zo?ud(zo,Wo,be[6]):Wo,X[6]=zo?Si(X[5],d):be[6]),Wo=be[7],Wo&&(X[7]=Wo),On&v&&(X[8]=X[8]==null?be[8]:Cs(X[8],be[8])),X[9]==null&&(X[9]=be[9]),X[0]=be[0],X[1]=fr,X}function $d(X){var be=[];if(X!=null)for(var Tt in Na(X))be.push(Tt);return be}function ff(X){return oi.call(X)}function bd(X,be,Tt){return be=rs(be===r?X.length-1:be,0),function(){for(var On=arguments,fr=-1,Gr=rs(On.length-be,0),Do=Hn(Gr);++fr<Gr;)Do[fr]=On[be+fr];fr=-1;for(var Wo=Hn(be+1);++fr<be;)Wo[fr]=On[fr];return Wo[be]=Tt(Do),ha(X,this,Wo)}}function gf(X,be){return be.length<2?X:Ii(X,fi(be,0,-1))}function Ku(X,be){for(var Tt=X.length,On=Cs(be.length,Tt),fr=Tl(X);On--;){var Gr=be[On];X[On]=Fi(Gr,Tt)?fr[Gr]:r}return X}function ef(X,be){if(!(be==="constructor"&&typeof X[be]=="function")&&be!="__proto__")return X[be]}var Gc=pd(ls),Xu=ia||function(X,be){return ba.setTimeout(X,be)},tf=pd(vs);function $f(X,be,Tt){var On=be+"";return tf(X,cs(On,ph(to(On),Tt)))}function pd(X){var be=0,Tt=0;return function(){var On=Fs(),fr=F-(On-Tt);if(Tt=On,fr>0){if(++be>=W)return arguments[0]}else be=0;return X.apply(r,arguments)}}function id(X,be){var Tt=-1,On=X.length,fr=On-1;for(be=be===r?On:be;++Tt<be;){var Gr=wr(Tt,fr),Do=X[Gr];X[Gr]=X[Tt],X[Tt]=Do}return X.length=be,X}var Ef=Ad(function(X){var be=[];return X.charCodeAt(0)===46&&be.push(""),X.replace(Ln,function(Tt,On,fr,Gr){be.push(fr?Gr.replace(cn,"$1"):On||Tt)}),be});function du(X){if(typeof X=="string"||Lf(X))return X;var be=X+"";return be=="0"&&1/X==-M?"-0":be}function md(X){if(X!=null){try{return El.call(X)}catch{}try{return X+""}catch{}}return""}function ph(X,be){return Lr(te,function(Tt){var On="_."+Tt[0];be&Tt[1]&&!Yo(X,On)&&X.push(On)}),X.sort()}function Uf(X){if(X instanceof Wi)return X.clone();var be=new Pl(X.__wrapped__,X.__chain__);return be.__actions__=Tl(X.__actions__),be.__index__=X.__index__,be.__values__=X.__values__,be}function Xf(X,be,Tt){(Tt?xi(X,be,Tt):be===r)?be=1:be=rs(pc(be),0);var On=X==null?0:X.length;if(!On||be<1)return[];for(var fr=0,Gr=0,Do=Hn(So(On/be));fr<On;)Do[Gr++]=fi(X,fr,fr+=be);return Do}function _f(X){for(var be=-1,Tt=X==null?0:X.length,On=0,fr=[];++be<Tt;){var Gr=X[be];Gr&&(fr[On++]=Gr)}return fr}function jd(){var X=arguments.length;if(!X)return[];for(var be=Hn(X-1),Tt=arguments[0],On=X;On--;)be[On-1]=arguments[On];return Ua(nc(Tt)?Tl(Tt):[Tt],Ds(be,1))}var Yf=Ro(function(X,be){return Ju(X)?sa(X,Ds(be,1,Ju,!0)):[]}),Tf=Ro(function(X,be){var Tt=wu(be);return Ju(Tt)&&(Tt=r),Ju(X)?sa(X,Ds(be,1,Ju,!0),wn(Tt,2)):[]}),mu=Ro(function(X,be){var Tt=wu(be);return Ju(Tt)&&(Tt=r),Ju(X)?sa(X,Ds(be,1,Ju,!0),r,Tt):[]});function fc(X,be,Tt){var On=X==null?0:X.length;return On?(be=Tt||be===r?1:pc(be),fi(X,be<0?0:be,On)):[]}function Yu(X,be,Tt){var On=X==null?0:X.length;return On?(be=Tt||be===r?1:pc(be),be=On-be,fi(X,0,be<0?0:be)):[]}function Du(X,be){return X&&X.length?Lu(X,wn(be,3),!0,!0):[]}function Qu(X,be){return X&&X.length?Lu(X,wn(be,3),!0):[]}function bu(X,be,Tt,On){var fr=X==null?0:X.length;return fr?(Tt&&typeof Tt!="number"&&xi(X,be,Tt)&&(Tt=0,On=fr),wa(X,be,Tt,On)):[]}function Sd(X,be,Tt){var On=X==null?0:X.length;if(!On)return-1;var fr=Tt==null?0:pc(Tt);return fr<0&&(fr=rs(On+fr,0)),Pi(X,wn(be,3),fr)}function xu(X,be,Tt){var On=X==null?0:X.length;if(!On)return-1;var fr=On-1;return Tt!==r&&(fr=pc(Tt),fr=Tt<0?rs(On+fr,0):Cs(fr,On-1)),Pi(X,wn(be,3),fr,!0)}function Xc(X){var be=X==null?0:X.length;return be?Ds(X,1):[]}function Ff(X){var be=X==null?0:X.length;return be?Ds(X,M):[]}function Qf(X,be){var Tt=X==null?0:X.length;return Tt?(be=be===r?1:pc(be),Ds(X,be)):[]}function Jf(X){for(var be=-1,Tt=X==null?0:X.length,On={};++be<Tt;){var fr=X[be];On[fr[0]]=fr[1]}return On}function Df(X){return X&&X.length?X[0]:r}function vd(X,be,Tt){var On=X==null?0:X.length;if(!On)return-1;var fr=Tt==null?0:pc(Tt);return fr<0&&(fr=rs(On+fr,0)),ei(X,be,fr)}function yf(X){var be=X==null?0:X.length;return be?fi(X,0,-1):[]}var qf=Ro(function(X){var be=Xo(X,cu);return be.length&&be[0]===X[0]?Zc(be):[]}),Su=Ro(function(X){var be=wu(X),Tt=Xo(X,cu);return be===wu(Tt)?be=r:Tt.pop(),Tt.length&&Tt[0]===X[0]?Zc(Tt,wn(be,2)):[]}),If=Ro(function(X){var be=wu(X),Tt=Xo(X,cu);return be=typeof be=="function"?be:r,be&&Tt.pop(),Tt.length&&Tt[0]===X[0]?Zc(Tt,r,be):[]});function ku(X,be){return X==null?"":Qs.call(X,be)}function wu(X){var be=X==null?0:X.length;return be?X[be-1]:r}function Wf(X,be,Tt){var On=X==null?0:X.length;if(!On)return-1;var fr=On;return Tt!==r&&(fr=pc(Tt),fr=fr<0?rs(On+fr,0):Cs(fr,On-1)),be===be?Fn(X,be,fr):Pi(X,ks,fr,!0)}function hf(X,be){return X&&X.length?Q(X,pc(be)):r}var eh=Ro(Of);function Of(X,be){return X&&X.length&&be&&be.length?Qn(X,be):X}function sh(X,be,Tt){return X&&X.length&&be&&be.length?Qn(X,be,wn(Tt,2)):X}function Et(X,be,Tt){return X&&X.length&&be&&be.length?Qn(X,be,r,Tt):X}var D=$s(function(X,be){var Tt=X==null?0:X.length,On=An(X,be);return Cr(X,Xo(be,function(fr){return Fi(fr,Tt)?+fr:fr}).sort(cd)),On});function N(X,be){var Tt=[];if(!(X&&X.length))return Tt;var On=-1,fr=[],Gr=X.length;for(be=wn(be,3);++On<Gr;){var Do=X[On];be(Do,On,X)&&(Tt.push(Do),fr.push(On))}return Cr(X,fr),Tt}function Z(X){return X==null?X:Js.call(X)}function ve(X,be,Tt){var On=X==null?0:X.length;return On?(Tt&&typeof Tt!="number"&&xi(X,be,Tt)?(be=0,Tt=On):(be=be==null?0:pc(be),Tt=Tt===r?On:pc(Tt)),fi(X,be,Tt)):[]}function je(X,be){return Hi(X,be)}function pt(X,be,Tt){return Qi(X,be,wn(Tt,2))}function Nt(X,be){var Tt=X==null?0:X.length;if(Tt){var On=Hi(X,be);if(On<Tt&&Kf(X[On],be))return On}return-1}function hn(X,be){return Hi(X,be,!0)}function gn(X,be,Tt){return Qi(X,be,wn(Tt,2),!0)}function Xn(X,be){var Tt=X==null?0:X.length;if(Tt){var On=Hi(X,be,!0)-1;if(Kf(X[On],be))return On}return-1}function pr(X){return X&&X.length?Li(X):[]}function Zr(X,be){return X&&X.length?Li(X,wn(be,2)):[]}function oo(X){var be=X==null?0:X.length;return be?fi(X,1,be):[]}function vo(X,be,Tt){return X&&X.length?(be=Tt||be===r?1:pc(be),fi(X,0,be<0?0:be)):[]}function Fo(X,be,Tt){var On=X==null?0:X.length;return On?(be=Tt||be===r?1:pc(be),be=On-be,fi(X,be<0?0:be,On)):[]}function Go(X,be){return X&&X.length?Lu(X,wn(be,3),!1,!0):[]}function pa(X,be){return X&&X.length?Lu(X,wn(be,3)):[]}var Se=Ro(function(X){return Vc(Ds(X,1,Ju,!0))}),de=Ro(function(X){var be=wu(X);return Ju(be)&&(be=r),Vc(Ds(X,1,Ju,!0),wn(be,2))}),We=Ro(function(X){var be=wu(X);return be=typeof be=="function"?be:r,Vc(Ds(X,1,Ju,!0),r,be)});function _t(X){return X&&X.length?Vc(X):[]}function nn(X,be){return X&&X.length?Vc(X,wn(be,2)):[]}function vn(X,be){return be=typeof be=="function"?be:r,X&&X.length?Vc(X,r,be):[]}function cr(X){if(!(X&&X.length))return[];var be=0;return X=Lo(X,function(Tt){if(Ju(Tt))return be=rs(Tt.length,be),!0}),fs(be,function(Tt){return Xo(X,bs(Tt))})}function lo(X,be){if(!(X&&X.length))return[];var Tt=cr(X);return be==null?Tt:Xo(Tt,function(On){return ha(be,r,On)})}var Po=Ro(function(X,be){return Ju(X)?sa(X,be):[]}),oa=Ro(function(X){return ic(Lo(X,Ju))}),fa=Ro(function(X){var be=wu(X);return Ju(be)&&(be=r),ic(Lo(X,Ju),wn(be,2))}),Va=Ro(function(X){var be=wu(X);return be=typeof be=="function"?be:r,ic(Lo(X,Ju),r,be)}),ci=Ro(cr);function di(X,be){return kc(X||[],be||[],ou)}function Xs(X,be){return kc(X||[],be||[],Ca)}var _i=Ro(function(X){var be=X.length,Tt=be>1?X[be-1]:r;return Tt=typeof Tt=="function"?(X.pop(),Tt):r,lo(X,Tt)});function js(X){var be=Eo(X);return be.__chain__=!0,be}function al(X,be){return be(X),X}function vl(X,be){return be(X)}var hc=$s(function(X){var be=X.length,Tt=be?X[0]:0,On=this.__wrapped__,fr=function(Gr){return An(Gr,X)};return be>1||this.__actions__.length||!(On instanceof Wi)||!Fi(Tt)?this.thru(fr):(On=On.slice(Tt,+Tt+(be?1:0)),On.__actions__.push({func:vl,args:[fr],thisArg:r}),new Pl(On,this.__chain__).thru(function(Gr){return be&&!Gr.length&&Gr.push(r),Gr}))});function Cc(){return js(this)}function fu(){return new Pl(this.value(),this.__chain__)}function Ud(){this.__values__===r&&(this.__values__=_p(this.value()));var X=this.__index__>=this.__values__.length,be=X?r:this.__values__[this.__index__++];return{done:X,value:be}}function Td(){return this}function Dd(X){for(var be,Tt=this;Tt instanceof Al;){var On=Uf(Tt);On.__index__=0,On.__values__=r,be?fr.__wrapped__=On:be=On;var fr=On;Tt=Tt.__wrapped__}return fr.__wrapped__=X,be}function nf(){var X=this.__wrapped__;if(X instanceof Wi){var be=X;return this.__actions__.length&&(be=new Wi(this)),be=be.reverse(),be.__actions__.push({func:vl,args:[Z],thisArg:r}),new Pl(be,this.__chain__)}return this.thru(Z)}function mh(){return yu(this.__wrapped__,this.__actions__)}var xp=Tu(function(X,be,Tt){Ui.call(X,Tt)?++X[Tt]:Ge(X,Tt,1)});function op(X,be,Tt){var On=nc(X)?ho:Ra;return Tt&&xi(X,be,Tt)&&(be=r),On(X,wn(be,3))}function wp(X,be){var Tt=nc(X)?Lo:xa;return Tt(X,wn(be,3))}var Np=Ld(Sd),pp=Ld(xu);function ap(X,be){return Ds(Pf(X,be),1)}function Hh(X,be){return Ds(Pf(X,be),M)}function mp(X,be,Tt){return Tt=Tt===r?1:pc(Tt),Ds(Pf(X,be),Tt)}function Zh(X,be){var Tt=nc(X)?Lr:la;return Tt(X,wn(be,3))}function vp(X,be){var Tt=nc(X)?ao:va;return Tt(X,wn(be,3))}var Vh=Tu(function(X,be,Tt){Ui.call(X,Tt)?X[Tt].push(be):Ge(X,Tt,[be])});function sp(X,be,Tt,On){X=rf(X)?X:Qh(X),Tt=Tt&&!On?pc(Tt):0;var fr=X.length;return Tt<0&&(Tt=rs(fr+Tt,0)),Ep(X)?Tt<=fr&&X.indexOf(be,Tt)>-1:!!fr&&ei(X,be,Tt)>-1}var zh=Ro(function(X,be,Tt){var On=-1,fr=typeof be=="function",Gr=rf(X)?Hn(X.length):[];return la(X,function(Do){Gr[++On]=fr?ha(be,Do,Tt):_u(Do,be,Tt)}),Gr}),$h=Tu(function(X,be,Tt){Ge(X,Tt,be)});function Pf(X,be){var Tt=nc(X)?Xo:Uu;return Tt(X,wn(be,3))}function Bp(X,be,Tt,On){return X==null?[]:(nc(be)||(be=be==null?[]:[be]),Tt=On?r:Tt,nc(Tt)||(Tt=Tt==null?[]:[Tt]),De(X,be,Tt))}var Xh=Tu(function(X,be,Tt){X[Tt?0:1].push(be)},function(){return[[],[]]});function Ac(X,be,Tt){var On=nc(X)?ds:Os,fr=arguments.length<3;return On(X,wn(be,4),Tt,fr,la)}function u0(X,be,Tt){var On=nc(X)?us:Os,fr=arguments.length<3;return On(X,wn(be,4),Tt,fr,va)}function Oh(X,be){var Tt=nc(X)?Lo:xa;return Tt(X,Wa(wn(be,3)))}function d0(X){var be=nc(X)?wc:Qo;return be(X)}function Mf(X,be,Tt){(Tt?xi(X,be,Tt):be===r)?be=1:be=pc(be);var On=nc(X)?Nc:ka;return On(X,be)}function V(X){var be=nc(X)?Kc:Es;return be(X)}function se(X){if(X==null)return 0;if(rf(X))return Ep(X)?mr(X):X.length;var be=nr(X);return be==Ee||be==Be?X.size:Zu(X).length}function dt(X,be,Tt){var On=nc(X)?ys:Bo;return Tt&&xi(X,be,Tt)&&(be=r),On(X,wn(be,3))}var en=Ro(function(X,be){if(X==null)return[];var Tt=be.length;return Tt>1&&xi(X,be[0],be[1])?be=[]:Tt>2&&xi(be[0],be[1],be[2])&&(be=[be[0]]),De(X,Ds(be,1),[])}),kn=Zo||function(){return ba.Date.now()};function gr(X,be){if(typeof be!="function")throw new Us(i);return X=pc(X),function(){if(--X<1)return be.apply(this,arguments)}}function Io(X,be,Tt){return be=Tt?r:be,be=X&&be==null?X.length:be,Fl(X,v,r,r,r,r,be)}function ma(X,be){var Tt;if(typeof be!="function")throw new Us(i);return X=pc(X),function(){return--X>0&&(Tt=be.apply(this,arguments)),X<=1&&(be=r),Tt}}var Ta=Ro(function(X,be,Tt){var On=O;if(Tt.length){var fr=Si(Tt,Sn(Ta));On|=T}return Fl(X,On,be,Tt,fr)}),Ps=Ro(function(X,be,Tt){var On=O|P;if(Tt.length){var fr=Si(Tt,Sn(Ps));On|=T}return Fl(be,On,X,Tt,fr)});function ja(X,be,Tt){be=Tt?r:be;var On=Fl(X,A,r,r,r,r,r,be);return On.placeholder=ja.placeholder,On}function mi(X,be,Tt){be=Tt?r:be;var On=Fl(X,S,r,r,r,r,r,be);return On.placeholder=mi.placeholder,On}function ii(X,be,Tt){var On,fr,Gr,Do,Wo,zo,_a=0,Aa=!1,za=!1,ps=!0;if(typeof X!="function")throw new Us(i);be=kf(be)||0,Bu(Tt)&&(Aa=!!Tt.leading,za="maxWait"in Tt,Gr=za?rs(kf(Tt.maxWait)||0,be):Gr,ps="trailing"in Tt?!!Tt.trailing:ps);function Ws(iu){var ju=On,vu=fr;return On=fr=r,_a=iu,Do=X.apply(vu,ju),Do}function Oi(iu){return _a=iu,Wo=Xu(cl,be),Aa?Ws(iu):Do}function bl(iu){var ju=iu-zo,vu=iu-_a,ed=be-ju;return za?Cs(ed,Gr-vu):ed}function tl(iu){var ju=iu-zo,vu=iu-_a;return zo===r||ju>=be||ju<0||za&&vu>=Gr}function cl(){var iu=kn();if(tl(iu))return pl(iu);Wo=Xu(cl,bl(iu))}function pl(iu){return Wo=r,ps&&On?Ws(iu):(On=fr=r,Do)}function Uc(){Wo!==r&&Nu(Wo),_a=0,On=zo=fr=Wo=r}function rc(){return Wo===r?Do:pl(kn())}function Jc(){var iu=kn(),ju=tl(iu);if(On=arguments,fr=this,zo=iu,ju){if(Wo===r)return Oi(zo);if(za)return Nu(Wo),Wo=Xu(cl,be),Ws(zo)}return Wo===r&&(Wo=Xu(cl,be)),Do}return Jc.cancel=Uc,Jc.flush=rc,Jc}var ol=Ro(function(X,be){return Jo(X,1,be)}),hl=Ro(function(X,be,Tt){return Jo(X,kf(be)||0,Tt)});function gl(X){return Fl(X,E)}function Iu(X,be){if(typeof X!="function"||be!=null&&typeof be!="function")throw new Us(i);var Tt=function(){var On=arguments,fr=be?be.apply(this,On):On[0],Gr=Tt.cache;if(Gr.has(fr))return Gr.get(fr);var Do=X.apply(this,On);return Tt.cache=Gr.set(fr,Do)||Gr,Do};return Tt.cache=new(Iu.Cache||Ll),Tt}Iu.Cache=Ll;function Wa(X){if(typeof X!="function")throw new Us(i);return function(){var be=arguments;switch(be.length){case 0:return!X.call(this);case 1:return!X.call(this,be[0]);case 2:return!X.call(this,be[0],be[1]);case 3:return!X.call(this,be[0],be[1],be[2])}return!X.apply(this,be)}}function Fa(X){return ma(2,X)}var gs=jc(function(X,be){be=be.length==1&&nc(be[0])?Xo(be[0],li(wn())):Xo(Ds(be,1),li(wn()));var Tt=be.length;return Ro(function(On){for(var fr=-1,Gr=Cs(On.length,Tt);++fr<Gr;)On[fr]=be[fr].call(this,On[fr]);return ha(X,this,On)})}),Ci=Ro(function(X,be){var Tt=Si(be,Sn(Ci));return Fl(X,T,r,be,Tt)}),Ol=Ro(function(X,be){var Tt=Si(be,Sn(Ol));return Fl(X,s,r,be,Tt)}),Il=$s(function(X,be){return Fl(X,m,r,r,r,be)});function Ml(X,be){if(typeof X!="function")throw new Us(i);return be=be===r?be:pc(be),Ro(X,be)}function wl(X,be){if(typeof X!="function")throw new Us(i);return be=be==null?0:rs(pc(be),0),Ro(function(Tt){var On=Tt[be],fr=lc(Tt,0,be);return On&&Ua(fr,On),ha(X,this,fr)})}function uc(X,be,Tt){var On=!0,fr=!0;if(typeof X!="function")throw new Us(i);return Bu(Tt)&&(On="leading"in Tt?!!Tt.leading:On,fr="trailing"in Tt?!!Tt.trailing:fr),ii(X,be,{leading:On,maxWait:be,trailing:fr})}function Yc(X){return Io(X,1)}function ih(X,be){return Ci(Au(be),X)}function Ph(){if(!arguments.length)return[];var X=arguments[0];return nc(X)?X:[X]}function f0(X){return fn(X,_)}function $0(X,be){return be=typeof be=="function"?be:r,fn(X,_,be)}function h0(X){return fn(X,h|_)}function Mm(X,be){return be=typeof be=="function"?be:r,fn(X,h|_,be)}function p0(X,be){return be==null||yo(X,be,Xd(be))}function Kf(X,be){return X===be||X!==X&&be!==be}var Rm=uf(Sl),X0=uf(function(X,be){return X>=be}),Mh=td(function(){return arguments}())?td:function(X){return qu(X)&&Ui.call(X,"callee")&&!$l.call(X,"callee")},nc=Hn.isArray,m0=To?li(To):Hu;function rf(X){return X!=null&&ip(X.length)&&!th(X)}function Ju(X){return qu(X)&&rf(X)}function Yi(X){return X===!0||X===!1||qu(X)&&zi(X)==oe}var Ch=as||r0,v0=xr?li(xr):Ru;function g0(X){return qu(X)&&X.nodeType===1&&!Ah(X)}function Lm(X){if(X==null)return!0;if(rf(X)&&(nc(X)||typeof X=="string"||typeof X.splice=="function"||Ch(X)||Sh(X)||Mh(X)))return!X.length;var be=nr(X);if(be==Ee||be==Be)return!X.size;if(su(X))return!Zu(X).length;for(var Tt in X)if(Ui.call(X,Tt))return!1;return!0}function Y0(X,be){return Pu(X,be)}function Q0(X,be,Tt){Tt=typeof Tt=="function"?Tt:r;var On=Tt?Tt(X,be):r;return On===r?Pu(X,be,r,Tt):!!On}function gp(X){if(!qu(X))return!1;var be=zi(X);return be==me||be==J||typeof X.message=="string"&&typeof X.name=="string"&&!Ah(X)}function jp(X){return typeof X=="number"&&es(X)}function th(X){if(!Bu(X))return!1;var be=zi(X);return be==re||be==he||be==pe||be==ae}function lh(X){return typeof X=="number"&&X==pc(X)}function ip(X){return typeof X=="number"&&X>-1&&X%1==0&&X<=B}function Bu(X){var be=typeof X;return X!=null&&(be=="object"||be=="function")}function qu(X){return X!=null&&typeof X=="object"}var Up=uo?li(uo):vf;function lp(X,be){return X===be||nd(X,be,Ve(be))}function Fp(X,be,Tt){return Tt=typeof Tt=="function"?Tt:r,nd(X,be,Ve(be),Tt)}function Wp(X){return Kp(X)&&X!=+X}function J0(X){if(cc(X))throw new wo(a);return ld(X)}function xm(X){return X===null}function Rf(X){return X==null}function Kp(X){return typeof X=="number"||qu(X)&&zi(X)==fe}function Ah(X){if(!qu(X)||zi(X)!=z)return!1;var be=mc(X);if(be===null)return!0;var Tt=Ui.call(be,"constructor")&&be.constructor;return typeof Tt=="function"&&Tt instanceof Tt&&El.call(Tt)==Nl}var Id=Mo?li(Mo):Wl;function bh(X){return lh(X)&&X>=-B&&X<=B}var E0=go?li(go):Ql;function Ep(X){return typeof X=="string"||!nc(X)&&qu(X)&&zi(X)==Ke}function Lf(X){return typeof X=="symbol"||qu(X)&&zi(X)==He}var Sh=ea?li(ea):gd;function ul(X){return X===r}function wm(X){return qu(X)&&nr(X)==Le}function _0(X){return qu(X)&&zi(X)==Ue}var kp=uf(eu),Nm=uf(function(X,be){return X<=be});function _p(X){if(!X)return[];if(rf(X))return Ep(X)?Tr(X):Tl(X);if(zn&&X[zn])return ki(X[zn]());var be=nr(X),Tt=be==Ee?bi:be==Be?ta:Qh;return Tt(X)}function ch(X){if(!X)return X===0?X:0;if(X=kf(X),X===M||X===-M){var be=X<0?-1:1;return be*R}return X===X?X:0}function pc(X){var be=ch(X),Tt=be%1;return be===be?Tt?be-Tt:be:0}function y0(X){return X?Yt(pc(X),0,j):0}function kf(X){if(typeof X=="number")return X;if(Lf(X))return U;if(Bu(X)){var be=typeof X.valueOf=="function"?X.valueOf():X;X=Bu(be)?be+"":be}if(typeof X!="string")return X===0?X:+X;X=hs(X);var Tt=fo.test(X);return Tt||ro.test(X)?Da(X.slice(2),Tt?2:8):Hr.test(X)?U:+X}function O0(X){return nu(X,Hd(X))}function q0(X){return X?Yt(pc(X),-B,B):X===0?X:0}function Vl(X){return X==null?"":Zl(X)}var bc=Wd(function(X,be){if(su(be)||rf(be)){nu(be,Xd(be),X);return}for(var Tt in be)Ui.call(be,Tt)&&ou(X,Tt,be[Tt])}),Gp=Wd(function(X,be){nu(be,Hd(be),X)}),Yh=Wd(function(X,be,Tt,On){nu(be,Hd(be),X,On)}),Hc=Wd(function(X,be,Tt,On){nu(be,Xd(be),X,On)}),P0=$s(An);function em(X,be){var Tt=_l(X);return be==null?Tt:Fr(Tt,be)}var C0=Ro(function(X,be){X=Na(X);var Tt=-1,On=be.length,fr=On>2?be[2]:r;for(fr&&xi(be[0],be[1],fr)&&(On=1);++Tt<On;)for(var Gr=be[Tt],Do=Hd(Gr),Wo=-1,zo=Do.length;++Wo<zo;){var _a=Do[Wo],Aa=X[_a];(Aa===r||Kf(Aa,si[_a])&&!Ui.call(X,_a))&&(X[_a]=Gr[_a])}return X}),A0=Ro(function(X){return X.push(r,hd),ha(Pp,r,X)});function b0(X,be){return Ai(X,wn(be,3),ai)}function yp(X,be){return Ai(X,wn(be,3),yl)}function xf(X,be){return X==null?X:ws(X,wn(be,3),Hd)}function Bm(X,be){return X==null?X:Di(X,wn(be,3),Hd)}function tm(X,be){return X&&ai(X,wn(be,3))}function nm(X,be){return X&&yl(X,wn(be,3))}function rm(X){return X==null?[]:ml(X,Xd(X))}function Th(X){return X==null?[]:ml(X,Hd(X))}function Dh(X,be,Tt){var On=X==null?r:Ii(X,be);return On===r?Tt:On}function om(X,be){return X!=null&&qo(X,be,gc)}function Hp(X,be){return X!=null&&qo(X,be,Xl)}var Gf=xd(function(X,be,Tt){be!=null&&typeof be.toString!="function"&&(be=oi.call(be)),X[be]=Tt},hm(pf)),Zp=xd(function(X,be,Tt){be!=null&&typeof be.toString!="function"&&(be=oi.call(be)),Ui.call(X,be)?X[be].push(Tt):X[be]=[Tt]},wn),Op=Ro(_u);function Xd(X){return rf(X)?sc(X):Zu(X)}function Hd(X){return rf(X)?sc(X,!0):Cu(X)}function am(X,be){var Tt={};return be=wn(be,3),ai(X,function(On,fr,Gr){Ge(Tt,be(On,fr,Gr),On)}),Tt}function S0(X,be){var Tt={};return be=wn(be,3),ai(X,function(On,fr,Gr){Ge(Tt,fr,be(On,fr,Gr))}),Tt}var Vp=Wd(function(X,be,Tt){Fu(X,be,Tt)}),Pp=Wd(function(X,be,Tt,On){Fu(X,be,Tt,On)}),T0=$s(function(X,be){var Tt={};if(X==null)return Tt;var On=!1;be=Xo(be,function(Gr){return Gr=au(Gr,X),On||(On=Gr.length>1),Gr}),nu(X,ru(X),Tt),On&&(Tt=fn(Tt,h|g|_,zd));for(var fr=be.length;fr--;)tu(Tt,be[fr]);return Tt});function jm(X,be){return zp(X,Wa(wn(be)))}var Um=$s(function(X,be){return X==null?{}:at(X,be)});function zp(X,be){if(X==null)return{};var Tt=Xo(ru(X),function(On){return[On]});return be=wn(be),Dt(X,Tt,function(On,fr){return be(On,fr[0])})}function sm(X,be,Tt){be=au(be,X);var On=-1,fr=be.length;for(fr||(fr=1,X=r);++On<fr;){var Gr=X==null?r:X[du(be[On])];Gr===r&&(On=fr,Gr=Tt),X=th(Gr)?Gr.call(X):Gr}return X}function Fm(X,be,Tt){return X==null?X:Ca(X,be,Tt)}function Wm(X,be,Tt,On){return On=typeof On=="function"?On:r,X==null?X:Ca(X,be,Tt,On)}var $p=Pc(Xd),cp=Pc(Hd);function Km(X,be,Tt){var On=nc(X),fr=On||Ch(X)||Sh(X);if(be=wn(be,4),Tt==null){var Gr=X&&X.constructor;fr?Tt=On?new Gr:[]:Bu(X)?Tt=th(Gr)?_l(mc(X)):{}:Tt={}}return(fr?Lr:ai)(X,function(Do,Wo,zo){return be(Tt,Do,Wo,zo)}),Tt}function im(X,be){return X==null?!0:tu(X,be)}function Xp(X,be,Tt){return X==null?X:lu(X,be,Au(Tt))}function D0(X,be,Tt,On){return On=typeof On=="function"?On:r,X==null?X:lu(X,be,Au(Tt),On)}function Qh(X){return X==null?[]:Ni(X,Xd(X))}function Dc(X){return X==null?[]:Ni(X,Hd(X))}function ji(X,be,Tt){return Tt===r&&(Tt=be,be=r),Tt!==r&&(Tt=kf(Tt),Tt=Tt===Tt?Tt:0),be!==r&&(be=kf(be),be=be===be?be:0),Yt(kf(X),be,Tt)}function km(X,be,Tt){return be=ch(be),Tt===r?(Tt=be,be=0):Tt=ch(Tt),X=kf(X),yc(X,be,Tt)}function up(X,be,Tt){if(Tt&&typeof Tt!="boolean"&&xi(X,be,Tt)&&(be=Tt=r),Tt===r&&(typeof be=="boolean"?(Tt=be,be=r):typeof X=="boolean"&&(Tt=X,X=r)),X===r&&be===r?(X=0,be=1):(X=ch(X),be===r?(be=X,X=0):be=ch(be)),X>be){var On=X;X=be,be=On}if(Tt||X%1||be%1){var fr=Ls();return Cs(X+fr*(be-X+Ia("1e-"+((fr+"").length-1))),be)}return wr(X,be)}var Qc=Vu(function(X,be,Tt){return be=be.toLowerCase(),X+(Tt?Cp(be):be)});function Cp(X){return bp(Vl(X).toLowerCase())}function Gm(X){return X=Vl(X),X&&X.replace(Je,Zi).replace(Ht,"")}function Hm(X,be,Tt){X=Vl(X),be=Zl(be);var On=X.length;Tt=Tt===r?On:Yt(pc(Tt),0,On);var fr=Tt;return Tt-=be.length,Tt>=0&&X.slice(Tt,fr)==be}function lm(X){return X=Vl(X),X&&vt.test(X)?X.replace(nt,Zs):X}function dp(X){return X=Vl(X),X&&ir.test(X)?X.replace(bn,"\\$&"):X}var Yp=Vu(function(X,be,Tt){return X+(Tt?"-":"")+be.toLowerCase()}),I0=Vu(function(X,be,Tt){return X+(Tt?" ":"")+be.toLowerCase()}),Qp=ad("toLowerCase");function Jh(X,be,Tt){X=Vl(X),be=pc(be);var On=be?mr(X):0;if(!be||On>=be)return X;var fr=(be-On)/2;return fd(Ha(fr),Tt)+X+fd(So(fr),Tt)}function M0(X,be,Tt){X=Vl(X),be=pc(be);var On=be?mr(X):0;return be&&On<be?X+fd(be-On,Tt):X}function Zm(X,be,Tt){X=Vl(X),be=pc(be);var On=be?mr(X):0;return be&&On<be?fd(be-On,Tt)+X:X}function Vm(X,be,Tt){return Tt||be==null?be=0:be&&(be=+be),Ks(Vl(X).replace(Zn,""),be||0)}function cm(X,be,Tt){return(Tt?xi(X,be,Tt):be===r)?be=1:be=pc(be),Co(Vl(X),be)}function R0(){var X=arguments,be=Vl(X[0]);return X.length<3?be:be.replace(X[1],X[2])}var Ap=Vu(function(X,be,Tt){return X+(Tt?"_":"")+be.toLowerCase()});function zm(X,be,Tt){return Tt&&typeof Tt!="number"&&xi(X,be,Tt)&&(be=Tt=r),Tt=Tt===r?j:Tt>>>0,Tt?(X=Vl(X),X&&(typeof be=="string"||be!=null&&!Id(be))&&(be=Zl(be),!be&&gi(X))?lc(Tr(X),0,Tt):X.split(be,Tt)):[]}var $m=Vu(function(X,be,Tt){return X+(Tt?" ":"")+bp(be)});function Jp(X,be,Tt){return X=Vl(X),Tt=Tt==null?0:Yt(pc(Tt),0,X.length),be=Zl(be),X.slice(Tt,Tt+be.length)==be}function um(X,be,Tt){var On=Eo.templateSettings;Tt&&xi(X,be,Tt)&&(be=r),X=Vl(X),be=Yh({},be,On,Gd);var fr=Yh({},be.imports,On.imports,Gd),Gr=Xd(fr),Do=Ni(fr,Gr),Wo,zo,_a=0,Aa=be.interpolate||At,za="__p += '",ps=qa((be.escape||At).source+"|"+Aa.source+"|"+(Aa===on?or:At).source+"|"+(be.evaluate||At).source+"|$","g"),Ws="//# sourceURL="+(Ui.call(be,"sourceURL")?(be.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++br+"]")+`
`;X.replace(ps,function(tl,cl,pl,Uc,rc,Jc){return pl||(pl=Uc),za+=X.slice(_a,Jc).replace(xt,Bs),cl&&(Wo=!0,za+=`' +
__e(`+cl+`) +
'`),rc&&(zo=!0,za+=`';
`+rc+`;
__p += '`),pl&&(za+=`' +
((__t = (`+pl+`)) == null ? '' : __t) +
'`),_a=Jc+tl.length,tl}),za+=`';
`;var Oi=Ui.call(be,"variable")&&be.variable;if(!Oi)za=`with (obj) {
`+za+`
}
`;else if(Nn.test(Oi))throw new wo(c);za=(zo?za.replace(mt,""):za).replace(rt,"$1").replace(ce,"$1;"),za="function("+(Oi||"obj")+`) {
`+(Oi?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(Wo?", __e = _.escape":"")+(zo?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+za+`return __p
}`;var bl=w0(function(){return ko(Gr,Ws+"return "+za).apply(r,Do)});if(bl.source=za,gp(bl))throw bl;return bl}function qh(X){return Vl(X).toLowerCase()}function Xm(X){return Vl(X).toUpperCase()}function vh(X,be,Tt){if(X=Vl(X),X&&(Tt||be===r))return hs(X);if(!X||!(be=Zl(be)))return X;var On=Tr(X),fr=Tr(be),Gr=wi(On,fr),Do=vi(On,fr)+1;return lc(On,Gr,Do).join("")}function L0(X,be,Tt){if(X=Vl(X),X&&(Tt||be===r))return X.slice(0,Oo(X)+1);if(!X||!(be=Zl(be)))return X;var On=Tr(X),fr=vi(On,Tr(be))+1;return lc(On,0,fr).join("")}function Ym(X,be,Tt){if(X=Vl(X),X&&(Tt||be===r))return X.replace(Zn,"");if(!X||!(be=Zl(be)))return X;var On=Tr(X),fr=wi(On,Tr(be));return lc(On,fr).join("")}function dm(X,be){var Tt=I,On=L;if(Bu(be)){var fr="separator"in be?be.separator:fr;Tt="length"in be?pc(be.length):Tt,On="omission"in be?Zl(be.omission):On}X=Vl(X);var Gr=X.length;if(gi(X)){var Do=Tr(X);Gr=Do.length}if(Tt>=Gr)return X;var Wo=Tt-mr(On);if(Wo<1)return On;var zo=Do?lc(Do,0,Wo).join(""):X.slice(0,Wo);if(fr===r)return zo+On;if(Do&&(Wo+=zo.length-Wo),Id(fr)){if(X.slice(Wo).search(fr)){var _a,Aa=zo;for(fr.global||(fr=qa(fr.source,Vl(qn.exec(fr))+"g")),fr.lastIndex=0;_a=fr.exec(Aa);)var za=_a.index;zo=zo.slice(0,za===r?Wo:za)}}else if(X.indexOf(Zl(fr),Wo)!=Wo){var ps=zo.lastIndexOf(fr);ps>-1&&(zo=zo.slice(0,ps))}return zo+On}function fm(X){return X=Vl(X),X&&st.test(X)?X.replace(Re,Uo):X}var x0=Vu(function(X,be,Tt){return X+(Tt?" ":"")+be.toUpperCase()}),bp=ad("toUpperCase");function fp(X,be,Tt){return X=Vl(X),be=Tt?r:be,be===r?yi(X)?Lt(X):xs(X):X.match(be)||[]}var w0=Ro(function(X,be){try{return ha(X,r,be)}catch(Tt){return gp(Tt)?Tt:new wo(Tt)}}),Qm=$s(function(X,be){return Lr(be,function(Tt){Tt=du(Tt),Ge(X,Tt,Ta(X[Tt],X))}),X});function N0(X){var be=X==null?0:X.length,Tt=wn();return X=be?Xo(X,function(On){if(typeof On[1]!="function")throw new Us(i);return[Tt(On[0]),On[1]]}):[],Ro(function(On){for(var fr=-1;++fr<be;){var Gr=X[fr];if(ha(Gr[0],this,On))return ha(Gr[1],this,On)}})}function Jm(X){return Br(fn(X,h))}function hm(X){return function(){return X}}function wf(X,be){return X==null||X!==X?be:X}var Sp=sf(),qp=sf(!0);function pf(X){return X}function B0(X){return rd(typeof X=="function"?X:fn(X,h))}function pm(X){return Bc(fn(X,h))}function Tp(X,be){return Ed(X,fn(be,h))}var qm=Ro(function(X,be){return function(Tt){return _u(Tt,X,be)}}),j0=Ro(function(X,be){return function(Tt){return _u(X,Tt,be)}});function ep(X,be,Tt){var On=Xd(be),fr=ml(be,On);Tt==null&&!(Bu(be)&&(fr.length||!On.length))&&(Tt=be,be=X,X=this,fr=ml(be,Xd(be)));var Gr=!(Bu(Tt)&&"chain"in Tt)||!!Tt.chain,Do=th(X);return Lr(fr,function(Wo){var zo=be[Wo];X[Wo]=zo,Do&&(X.prototype[Wo]=function(){var _a=this.__chain__;if(Gr||_a){var Aa=X(this.__wrapped__),za=Aa.__actions__=Tl(this.__actions__);return za.push({func:zo,args:arguments,thisArg:X}),Aa.__chain__=_a,Aa}return zo.apply(X,Ua([this.value()],arguments))})}),X}function U0(){return ba._===this&&(ba._=xl),this}function e0(){}function F0(X){return X=pc(X),Ro(function(be){return Q(be,X)})}var ev=kd(Xo),tv=kd(ho),W0=kd(ys);function nv(X){return ni(X)?bs(du(X)):zt(X)}function t0(X){return function(be){return X==null?r:Ii(X,be)}}var n0=cf(),mm=cf(!0);function Dp(){return[]}function r0(){return!1}function rv(){return{}}function vm(){return""}function K0(){return!0}function k0(X,be){if(X=pc(X),X<1||X>B)return[];var Tt=j,On=Cs(X,j);be=wn(be),X-=j;for(var fr=fs(On,be);++Tt<X;)be(Tt);return fr}function Cf(X){return nc(X)?Xo(X,du):Lf(X)?[X]:Tl(Ef(Vl(X)))}function o0(X){var be=++il;return Vl(X)+be}var gm=wd(function(X,be){return X+be},0),nh=Nd("ceil"),G0=wd(function(X,be){return X/be},1),H0=Nd("floor");function Ip(X){return X&&X.length?Ya(X,pf,Sl):r}function Z0(X,be){return X&&X.length?Ya(X,wn(be,2),Sl):r}function a0(X){return Ms(X,pf)}function Em(X,be){return Ms(X,wn(be,2))}function _m(X){return X&&X.length?Ya(X,pf,eu):r}function ym(X,be){return X&&X.length?Ya(X,wn(be,2),eu):r}var Mp=wd(function(X,be){return X*be},1),Hf=Nd("round"),Vn=wd(function(X,be){return X-be},0);function dr(X){return X&&X.length?_s(X,pf):0}function Rr(X,be){return X&&X.length?_s(X,wn(be,2)):0}return Eo.after=gr,Eo.ary=Io,Eo.assign=bc,Eo.assignIn=Gp,Eo.assignInWith=Yh,Eo.assignWith=Hc,Eo.at=P0,Eo.before=ma,Eo.bind=Ta,Eo.bindAll=Qm,Eo.bindKey=Ps,Eo.castArray=Ph,Eo.chain=js,Eo.chunk=Xf,Eo.compact=_f,Eo.concat=jd,Eo.cond=N0,Eo.conforms=Jm,Eo.constant=hm,Eo.countBy=xp,Eo.create=em,Eo.curry=ja,Eo.curryRight=mi,Eo.debounce=ii,Eo.defaults=C0,Eo.defaultsDeep=A0,Eo.defer=ol,Eo.delay=hl,Eo.difference=Yf,Eo.differenceBy=Tf,Eo.differenceWith=mu,Eo.drop=fc,Eo.dropRight=Yu,Eo.dropRightWhile=Du,Eo.dropWhile=Qu,Eo.fill=bu,Eo.filter=wp,Eo.flatMap=ap,Eo.flatMapDeep=Hh,Eo.flatMapDepth=mp,Eo.flatten=Xc,Eo.flattenDeep=Ff,Eo.flattenDepth=Qf,Eo.flip=gl,Eo.flow=Sp,Eo.flowRight=qp,Eo.fromPairs=Jf,Eo.functions=rm,Eo.functionsIn=Th,Eo.groupBy=Vh,Eo.initial=yf,Eo.intersection=qf,Eo.intersectionBy=Su,Eo.intersectionWith=If,Eo.invert=Gf,Eo.invertBy=Zp,Eo.invokeMap=zh,Eo.iteratee=B0,Eo.keyBy=$h,Eo.keys=Xd,Eo.keysIn=Hd,Eo.map=Pf,Eo.mapKeys=am,Eo.mapValues=S0,Eo.matches=pm,Eo.matchesProperty=Tp,Eo.memoize=Iu,Eo.merge=Vp,Eo.mergeWith=Pp,Eo.method=qm,Eo.methodOf=j0,Eo.mixin=ep,Eo.negate=Wa,Eo.nthArg=F0,Eo.omit=T0,Eo.omitBy=jm,Eo.once=Fa,Eo.orderBy=Bp,Eo.over=ev,Eo.overArgs=gs,Eo.overEvery=tv,Eo.overSome=W0,Eo.partial=Ci,Eo.partialRight=Ol,Eo.partition=Xh,Eo.pick=Um,Eo.pickBy=zp,Eo.property=nv,Eo.propertyOf=t0,Eo.pull=eh,Eo.pullAll=Of,Eo.pullAllBy=sh,Eo.pullAllWith=Et,Eo.pullAt=D,Eo.range=n0,Eo.rangeRight=mm,Eo.rearg=Il,Eo.reject=Oh,Eo.remove=N,Eo.rest=Ml,Eo.reverse=Z,Eo.sampleSize=Mf,Eo.set=Fm,Eo.setWith=Wm,Eo.shuffle=V,Eo.slice=ve,Eo.sortBy=en,Eo.sortedUniq=pr,Eo.sortedUniqBy=Zr,Eo.split=zm,Eo.spread=wl,Eo.tail=oo,Eo.take=vo,Eo.takeRight=Fo,Eo.takeRightWhile=Go,Eo.takeWhile=pa,Eo.tap=al,Eo.throttle=uc,Eo.thru=vl,Eo.toArray=_p,Eo.toPairs=$p,Eo.toPairsIn=cp,Eo.toPath=Cf,Eo.toPlainObject=O0,Eo.transform=Km,Eo.unary=Yc,Eo.union=Se,Eo.unionBy=de,Eo.unionWith=We,Eo.uniq=_t,Eo.uniqBy=nn,Eo.uniqWith=vn,Eo.unset=im,Eo.unzip=cr,Eo.unzipWith=lo,Eo.update=Xp,Eo.updateWith=D0,Eo.values=Qh,Eo.valuesIn=Dc,Eo.without=Po,Eo.words=fp,Eo.wrap=ih,Eo.xor=oa,Eo.xorBy=fa,Eo.xorWith=Va,Eo.zip=ci,Eo.zipObject=di,Eo.zipObjectDeep=Xs,Eo.zipWith=_i,Eo.entries=$p,Eo.entriesIn=cp,Eo.extend=Gp,Eo.extendWith=Yh,ep(Eo,Eo),Eo.add=gm,Eo.attempt=w0,Eo.camelCase=Qc,Eo.capitalize=Cp,Eo.ceil=nh,Eo.clamp=ji,Eo.clone=f0,Eo.cloneDeep=h0,Eo.cloneDeepWith=Mm,Eo.cloneWith=$0,Eo.conformsTo=p0,Eo.deburr=Gm,Eo.defaultTo=wf,Eo.divide=G0,Eo.endsWith=Hm,Eo.eq=Kf,Eo.escape=lm,Eo.escapeRegExp=dp,Eo.every=op,Eo.find=Np,Eo.findIndex=Sd,Eo.findKey=b0,Eo.findLast=pp,Eo.findLastIndex=xu,Eo.findLastKey=yp,Eo.floor=H0,Eo.forEach=Zh,Eo.forEachRight=vp,Eo.forIn=xf,Eo.forInRight=Bm,Eo.forOwn=tm,Eo.forOwnRight=nm,Eo.get=Dh,Eo.gt=Rm,Eo.gte=X0,Eo.has=om,Eo.hasIn=Hp,Eo.head=Df,Eo.identity=pf,Eo.includes=sp,Eo.indexOf=vd,Eo.inRange=km,Eo.invoke=Op,Eo.isArguments=Mh,Eo.isArray=nc,Eo.isArrayBuffer=m0,Eo.isArrayLike=rf,Eo.isArrayLikeObject=Ju,Eo.isBoolean=Yi,Eo.isBuffer=Ch,Eo.isDate=v0,Eo.isElement=g0,Eo.isEmpty=Lm,Eo.isEqual=Y0,Eo.isEqualWith=Q0,Eo.isError=gp,Eo.isFinite=jp,Eo.isFunction=th,Eo.isInteger=lh,Eo.isLength=ip,Eo.isMap=Up,Eo.isMatch=lp,Eo.isMatchWith=Fp,Eo.isNaN=Wp,Eo.isNative=J0,Eo.isNil=Rf,Eo.isNull=xm,Eo.isNumber=Kp,Eo.isObject=Bu,Eo.isObjectLike=qu,Eo.isPlainObject=Ah,Eo.isRegExp=Id,Eo.isSafeInteger=bh,Eo.isSet=E0,Eo.isString=Ep,Eo.isSymbol=Lf,Eo.isTypedArray=Sh,Eo.isUndefined=ul,Eo.isWeakMap=wm,Eo.isWeakSet=_0,Eo.join=ku,Eo.kebabCase=Yp,Eo.last=wu,Eo.lastIndexOf=Wf,Eo.lowerCase=I0,Eo.lowerFirst=Qp,Eo.lt=kp,Eo.lte=Nm,Eo.max=Ip,Eo.maxBy=Z0,Eo.mean=a0,Eo.meanBy=Em,Eo.min=_m,Eo.minBy=ym,Eo.stubArray=Dp,Eo.stubFalse=r0,Eo.stubObject=rv,Eo.stubString=vm,Eo.stubTrue=K0,Eo.multiply=Mp,Eo.nth=hf,Eo.noConflict=U0,Eo.noop=e0,Eo.now=kn,Eo.pad=Jh,Eo.padEnd=M0,Eo.padStart=Zm,Eo.parseInt=Vm,Eo.random=up,Eo.reduce=Ac,Eo.reduceRight=u0,Eo.repeat=cm,Eo.replace=R0,Eo.result=sm,Eo.round=Hf,Eo.runInContext=dn,Eo.sample=d0,Eo.size=se,Eo.snakeCase=Ap,Eo.some=dt,Eo.sortedIndex=je,Eo.sortedIndexBy=pt,Eo.sortedIndexOf=Nt,Eo.sortedLastIndex=hn,Eo.sortedLastIndexBy=gn,Eo.sortedLastIndexOf=Xn,Eo.startCase=$m,Eo.startsWith=Jp,Eo.subtract=Vn,Eo.sum=dr,Eo.sumBy=Rr,Eo.template=um,Eo.times=k0,Eo.toFinite=ch,Eo.toInteger=pc,Eo.toLength=y0,Eo.toLower=qh,Eo.toNumber=kf,Eo.toSafeInteger=q0,Eo.toString=Vl,Eo.toUpper=Xm,Eo.trim=vh,Eo.trimEnd=L0,Eo.trimStart=Ym,Eo.truncate=dm,Eo.unescape=fm,Eo.uniqueId=o0,Eo.upperCase=x0,Eo.upperFirst=bp,Eo.each=Zh,Eo.eachRight=vp,Eo.first=Df,ep(Eo,function(){var X={};return ai(Eo,function(be,Tt){Ui.call(Eo.prototype,Tt)||(X[Tt]=be)}),X}(),{chain:!1}),Eo.VERSION=o,Lr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(X){Eo[X].placeholder=Eo}),Lr(["drop","take"],function(X,be){Wi.prototype[X]=function(Tt){Tt=Tt===r?1:rs(pc(Tt),0);var On=this.__filtered__&&!be?new Wi(this):this.clone();return On.__filtered__?On.__takeCount__=Cs(Tt,On.__takeCount__):On.__views__.push({size:Cs(Tt,j),type:X+(On.__dir__<0?"Right":"")}),On},Wi.prototype[X+"Right"]=function(Tt){return this.reverse()[X](Tt).reverse()}}),Lr(["filter","map","takeWhile"],function(X,be){var Tt=be+1,On=Tt==G||Tt==x;Wi.prototype[X]=function(fr){var Gr=this.clone();return Gr.__iteratees__.push({iteratee:wn(fr,3),type:Tt}),Gr.__filtered__=Gr.__filtered__||On,Gr}}),Lr(["head","last"],function(X,be){var Tt="take"+(be?"Right":"");Wi.prototype[X]=function(){return this[Tt](1).value()[0]}}),Lr(["initial","tail"],function(X,be){var Tt="drop"+(be?"":"Right");Wi.prototype[X]=function(){return this.__filtered__?new Wi(this):this[Tt](1)}}),Wi.prototype.compact=function(){return this.filter(pf)},Wi.prototype.find=function(X){return this.filter(X).head()},Wi.prototype.findLast=function(X){return this.reverse().find(X)},Wi.prototype.invokeMap=Ro(function(X,be){return typeof X=="function"?new Wi(this):this.map(function(Tt){return _u(Tt,X,be)})}),Wi.prototype.reject=function(X){return this.filter(Wa(wn(X)))},Wi.prototype.slice=function(X,be){X=pc(X);var Tt=this;return Tt.__filtered__&&(X>0||be<0)?new Wi(Tt):(X<0?Tt=Tt.takeRight(-X):X&&(Tt=Tt.drop(X)),be!==r&&(be=pc(be),Tt=be<0?Tt.dropRight(-be):Tt.take(be-X)),Tt)},Wi.prototype.takeRightWhile=function(X){return this.reverse().takeWhile(X).reverse()},Wi.prototype.toArray=function(){return this.take(j)},ai(Wi.prototype,function(X,be){var Tt=/^(?:filter|find|map|reject)|While$/.test(be),On=/^(?:head|last)$/.test(be),fr=Eo[On?"take"+(be=="last"?"Right":""):be],Gr=On||/^find/.test(be);fr&&(Eo.prototype[be]=function(){var Do=this.__wrapped__,Wo=On?[1]:arguments,zo=Do instanceof Wi,_a=Wo[0],Aa=zo||nc(Do),za=function(cl){var pl=fr.apply(Eo,Ua([cl],Wo));return On&&ps?pl[0]:pl};Aa&&Tt&&typeof _a=="function"&&_a.length!=1&&(zo=Aa=!1);var ps=this.__chain__,Ws=!!this.__actions__.length,Oi=Gr&&!ps,bl=zo&&!Ws;if(!Gr&&Aa){Do=bl?Do:new Wi(this);var tl=X.apply(Do,Wo);return tl.__actions__.push({func:vl,args:[za],thisArg:r}),new Pl(tl,ps)}return Oi&&bl?X.apply(this,Wo):(tl=this.thru(za),Oi?On?tl.value()[0]:tl.value():tl)})}),Lr(["pop","push","shift","sort","splice","unshift"],function(X){var be=$i[X],Tt=/^(?:push|sort|unshift)$/.test(X)?"tap":"thru",On=/^(?:pop|shift)$/.test(X);Eo.prototype[X]=function(){var fr=arguments;if(On&&!this.__chain__){var Gr=this.value();return be.apply(nc(Gr)?Gr:[],fr)}return this[Tt](function(Do){return be.apply(nc(Do)?Do:[],fr)})}}),ai(Wi.prototype,function(X,be){var Tt=Eo[be];if(Tt){var On=Tt.name+"";Ui.call(Ko,On)||(Ko[On]=[]),Ko[On].push({name:be,func:Tt})}}),Ko[lf(r,P).name]=[{name:"wrapper",func:r}],Wi.prototype.clone=Mc,Wi.prototype.reverse=Fc,Wi.prototype.value=Ou,Eo.prototype.at=hc,Eo.prototype.chain=Cc,Eo.prototype.commit=fu,Eo.prototype.next=Ud,Eo.prototype.plant=Dd,Eo.prototype.reverse=nf,Eo.prototype.toJSON=Eo.prototype.valueOf=Eo.prototype.value=mh,Eo.prototype.first=Eo.prototype.head,zn&&(Eo.prototype[zn]=Td),Eo},_n=$t();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(ba._=_n,define(function(){return _n})):Ja?((Ja.exports=_n)._=_n,ns._=_n):ba._=_n}).call(this)},93342:function(b,l,e){var r=e(856575),o=e(511079),n=e(388425),a=e(195593);function i(c,u){var f=a(c)?r:n;return f(c,o(u,3))}b.exports=i},130399:function(b,l,e){var r=e(666814),o=e(955232),n=e(511079);function a(i,c){var u={};return c=n(c,3),o(i,function(f,d,h){r(u,d,c(f,d,h))}),u}b.exports=a},646715:function(b,l,e){var r=e(352015),o=e(665169),n=o(function(a,i,c){r(a,i,c)});b.exports=n},185942:function(b,l,e){var r=e(352015),o=e(665169),n=o(function(a,i,c,u){r(a,i,c,u)});b.exports=n},836319:function(b){var l="Expected a function";function e(r){if(typeof r!="function")throw new TypeError(l);return function(){var o=arguments;switch(o.length){case 0:return!r.call(this);case 1:return!r.call(this,o[0]);case 2:return!r.call(this,o[0],o[1]);case 3:return!r.call(this,o[0],o[1],o[2])}return!r.apply(this,o)}}b.exports=e},860921:function(b){function l(){}b.exports=l},215422:function(b,l,e){var r=e(769795),o=function(){return r.Date.now()};b.exports=o},394470:function(b,l,e){var r=e(856575),o=e(162482),n=e(280832),a=e(335945),i=e(98839),c=e(372379),u=e(527604),f=e(299953),d=1,h=2,g=4,_=u(function(p,y){var O={};if(p==null)return O;var P=!1;y=r(y,function(A){return A=a(A,p),P||(P=A.length>1),A}),i(p,f(p),O),P&&(O=o(O,d|h|g,c));for(var C=y.length;C--;)n(O,y[C]);return O});b.exports=_},377397:function(b,l,e){var r=e(511079),o=e(836319),n=e(291341);function a(i,c){return n(i,o(r(c)))}b.exports=a},547740:function(b,l,e){var r=e(617724);function o(n){return r(2,n)}b.exports=o},322470:function(b,l,e){var r=e(515883),o=e(527604),n=o(function(a,i){return a==null?{}:r(a,i)});b.exports=n},291341:function(b,l,e){var r=e(856575),o=e(511079),n=e(659360),a=e(299953);function i(c,u){if(c==null)return{};var f=r(a(c),function(d){return[d]});return u=o(u),n(c,f,function(d,h){return u(d,h[0])})}b.exports=i},66127:function(b,l,e){var r=e(423793),o=e(790892),n=r(o);b.exports=n},790892:function(b,l,e){var r=e(773029);function o(n,a){return n&&n.length&&a&&a.length?r(n,a):n}b.exports=o},792495:function(b,l,e){var r=e(109257),o=r("round");b.exports=o},971676:function(b,l,e){var r=e(455070);function o(n,a,i){return n==null?n:r(n,a,i)}b.exports=o},690411:function(b,l,e){var r=e(858544),o=e(157168),n=r(function(a,i,c){return a+(c?" ":"")+o(i)});b.exports=n},134521:function(b,l,e){var r=e(210750),o=e(58980),n="Expected a function";function a(i,c,u){var f=!0,d=!0;if(typeof i!="function")throw new TypeError(n);return o(u)&&(f="leading"in u?!!u.leading:f,d="trailing"in u?!!u.trailing:d),r(i,c,{leading:f,maxWait:c,trailing:d})}b.exports=a},449603:function(b,l,e){var r=e(737561),o=e(34724),n=e(616982),a=9007199254740991,i=4294967295,c=Math.min;function u(f,d){if(f=n(f),f<1||f>a)return[];var h=i,g=c(f,i);d=o(d),f-=i;for(var _=r(g,d);++h<f;)d(h);return _}b.exports=u},928544:function(b,l,e){var r=e(549712),o=1/0,n=17976931348623157e292;function a(i){if(!i)return i===0?i:0;if(i=r(i),i===o||i===-o){var c=i<0?-1:1;return c*n}return i===i?i:0}b.exports=a},616982:function(b,l,e){var r=e(928544);function o(n){var a=r(n),i=a%1;return a===a?i?a-i:a:0}b.exports=o},549712:function(b,l,e){var r=e(369664),o=e(58980),n=e(146732),a=NaN,i=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,f=parseInt;function d(h){if(typeof h=="number")return h;if(n(h))return a;if(o(h)){var g=typeof h.valueOf=="function"?h.valueOf():h;h=o(g)?g+"":g}if(typeof h!="string")return h===0?h:+h;h=r(h);var _=c.test(h);return _||u.test(h)?f(h.slice(2),_?2:8):i.test(h)?a:+h}b.exports=d},893057:function(b,l,e){var r=e(98839),o=e(726146);function n(a){return r(a,o(a))}b.exports=n},487109:function(b,l,e){var r=e(58602),o=e(369664),n=e(364687),a=e(521657),i=e(653420),c=e(342104),u=e(768441);function f(d,h,g){if(d=u(d),d&&(g||h===void 0))return o(d);if(!d||!(h=r(h)))return d;var _=c(d),p=c(h),y=i(_,p),O=a(_,p)+1;return n(_,y,O).join("")}b.exports=f},874741:function(b,l,e){var r=e(313051),o=e(423793),n=e(622029),a=e(237942),i=o(function(c){return n(r(c,1,a,!0))});b.exports=i},224954:function(b,l,e){var r=e(622029);function o(n){return n&&n.length?r(n):[]}b.exports=o},575796:function(b,l,e){var r=e(768441),o=0;function n(a){var i=++o;return r(a)+i}b.exports=n},958111:function(b,l,e){var r=e(254293),o=e(856575),n=e(80328),a=e(737561),i=e(237942),c=Math.max;function u(f){if(!(f&&f.length))return[];var d=0;return f=r(f,function(h){if(i(h))return d=c(h.length,d),!0}),a(d,function(h){return o(f,n(h))})}b.exports=u},157168:function(b,l,e){var r=e(230341),o=r("toUpperCase");b.exports=o},215464:function(b,l,e){var r=e(223687),o=e(558273),n=e(768441),a=e(546881);function i(c,u,f){return c=n(c),u=f?void 0:u,u===void 0?o(c)?a(c):r(c):c.match(u)||[]}b.exports=i},232578:function(b,l,e){var r=e(423793),o=e(958111),n=r(o);b.exports=n},446354:function(b,l,e){var r=e(417362),o=e(464870);function n(a,i){return o(a||[],i||[],r)}b.exports=n},993990:function(b){"use strict";var l=typeof Element<"u"?Element.prototype:{},e=l.matches||l.matchesSelector||l.webkitMatchesSelector||l.mozMatchesSelector||l.msMatchesSelector||l.oMatchesSelector;b.exports=r;function r(o,n){if(!o||o.nodeType!==1)return!1;if(e)return e.call(o,n);for(var a=o.parentNode.querySelectorAll(n),i=0;i<a.length;i++)if(a[i]==o)return!0;return!1}},620477:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>a});var r=Number.isNaN||function(c){return typeof c=="number"&&c!==c};function o(i,c){return!!(i===c||r(i)&&r(c))}function n(i,c){if(i.length!==c.length)return!1;for(var u=0;u<i.length;u++)if(!o(i[u],c[u]))return!1;return!0}function a(i,c){c===void 0&&(c=n);var u=null;function f(){for(var d=[],h=0;h<arguments.length;h++)d[h]=arguments[h];if(u&&u.lastThis===this&&c(d,u.lastArgs))return u.lastResult;var g=i.apply(this,d);return u={lastResult:g,lastArgs:d,lastThis:this},g}return f.clear=function(){u=null},f}},139e3:function(b){"use strict";/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var l=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function n(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var i={},c=0;c<10;c++)i["_"+String.fromCharCode(c)]=c;var u=Object.getOwnPropertyNames(i).map(function(d){return i[d]});if(u.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(d){f[d]=d}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}b.exports=n()?Object.assign:function(a,i){for(var c,u=o(a),f,d=1;d<arguments.length;d++){c=Object(arguments[d]);for(var h in c)e.call(c,h)&&(u[h]=c[h]);if(l){f=l(c);for(var g=0;g<f.length;g++)r.call(c,f[g])&&(u[f[g]]=c[f[g]])}}return u}},308586:function(b){"use strict";b.exports=function(l,e,r){if(l==null||e==null)return l;var o=String(l),n=typeof e=="number"?e:parseInt(e,10);if(isNaN(n)||!isFinite(n))return o;var a=o.length;if(a>=n)return o;var i=r==null?"":String(r);i===""&&(i=" ");for(var c=n-a;i.length<c;)i+=i;var u=i.length>c?i.substr(0,c):i;return u+o}},457427:function(b){/*!
 * PEP v0.4.3 | https://github.com/jquery/PEP
 * Copyright jQuery Foundation and other contributors | http://jquery.org/license
 */(function(l,e){b.exports=e()})(this,function(){"use strict";var l=["bubbles","cancelable","view","detail","screenX","screenY","clientX","clientY","ctrlKey","altKey","shiftKey","metaKey","button","relatedTarget","pageX","pageY"],e=[!1,!1,null,null,0,0,0,0,!1,!1,!1,!1,0,null,0,0];function r(ae,ge){ge=ge||Object.create(null);var Be=document.createEvent("Event");Be.initEvent(ae,ge.bubbles||!1,ge.cancelable||!1);for(var Ke=2,He;Ke<l.length;Ke++)He=l[Ke],Be[He]=ge[He]||e[Ke];Be.buttons=ge.buttons||0;var ye=0;return ge.pressure&&Be.buttons?ye=ge.pressure:ye=Be.buttons?.5:0,Be.x=Be.clientX,Be.y=Be.clientY,Be.pointerId=ge.pointerId||0,Be.width=ge.width||0,Be.height=ge.height||0,Be.pressure=ye,Be.tiltX=ge.tiltX||0,Be.tiltY=ge.tiltY||0,Be.twist=ge.twist||0,Be.tangentialPressure=ge.tangentialPressure||0,Be.pointerType=ge.pointerType||"",Be.hwTimestamp=ge.hwTimestamp||0,Be.isPrimary=ge.isPrimary||!1,Be}var o=window.Map&&window.Map.prototype.forEach,n=o?Map:a;function a(){this.array=[],this.size=0}a.prototype={set:function(ae,ge){if(ge===void 0)return this.delete(ae);this.has(ae)||this.size++,this.array[ae]=ge},has:function(ae){return this.array[ae]!==void 0},delete:function(ae){this.has(ae)&&(delete this.array[ae],this.size--)},get:function(ae){return this.array[ae]},clear:function(){this.array.length=0,this.size=0},forEach:function(ae,ge){return this.array.forEach(function(Be,Ke){ae.call(ge,Be,Ke,this)},this)}};var i=["bubbles","cancelable","view","detail","screenX","screenY","clientX","clientY","ctrlKey","altKey","shiftKey","metaKey","button","relatedTarget","buttons","pointerId","width","height","pressure","tiltX","tiltY","pointerType","hwTimestamp","isPrimary","type","target","currentTarget","which","pageX","pageY","timeStamp"],c=[!1,!1,null,null,0,0,0,0,!1,!1,!1,!1,0,null,0,0,0,0,0,0,0,"",0,!1,"",null,null,0,0,0,0],u={pointerover:1,pointerout:1,pointerenter:1,pointerleave:1},f=typeof SVGElementInstance<"u",d={pointermap:new n,eventMap:Object.create(null),captureInfo:Object.create(null),eventSources:Object.create(null),eventSourceList:[],registerSource:function(ae,ge){var Be=ge,Ke=Be.events;Ke&&(Ke.forEach(function(He){Be[He]&&(this.eventMap[He]=Be[He].bind(Be))},this),this.eventSources[ae]=Be,this.eventSourceList.push(Be))},register:function(ae){for(var ge=this.eventSourceList.length,Be=0,Ke;Be<ge&&(Ke=this.eventSourceList[Be]);Be++)Ke.register.call(Ke,ae)},unregister:function(ae){for(var ge=this.eventSourceList.length,Be=0,Ke;Be<ge&&(Ke=this.eventSourceList[Be]);Be++)Ke.unregister.call(Ke,ae)},contains:function(ae,ge){try{return ae.contains(ge)}catch{return!1}},down:function(ae){ae.bubbles=!0,this.fireEvent("pointerdown",ae)},move:function(ae){ae.bubbles=!0,this.fireEvent("pointermove",ae)},up:function(ae){ae.bubbles=!0,this.fireEvent("pointerup",ae)},enter:function(ae){ae.bubbles=!1,this.fireEvent("pointerenter",ae)},leave:function(ae){ae.bubbles=!1,this.fireEvent("pointerleave",ae)},over:function(ae){ae.bubbles=!0,this.fireEvent("pointerover",ae)},out:function(ae){ae.bubbles=!0,this.fireEvent("pointerout",ae)},cancel:function(ae){ae.bubbles=!0,this.fireEvent("pointercancel",ae)},leaveOut:function(ae){this.out(ae),this.propagate(ae,this.leave,!1)},enterOver:function(ae){this.over(ae),this.propagate(ae,this.enter,!0)},eventHandler:function(ae){if(!ae._handledByPE){var ge=ae.type,Be=this.eventMap&&this.eventMap[ge];Be&&Be(ae),ae._handledByPE=!0}},listen:function(ae,ge){ge.forEach(function(Be){this.addEvent(ae,Be)},this)},unlisten:function(ae,ge){ge.forEach(function(Be){this.removeEvent(ae,Be)},this)},addEvent:function(ae,ge){ae.addEventListener(ge,this.boundHandler)},removeEvent:function(ae,ge){ae.removeEventListener(ge,this.boundHandler)},makeEvent:function(ae,ge){this.captureInfo[ge.pointerId]&&(ge.relatedTarget=null);var Be=new r(ae,ge);return ge.preventDefault&&(Be.preventDefault=ge.preventDefault),Be._target=Be._target||ge.target,Be},fireEvent:function(ae,ge){var Be=this.makeEvent(ae,ge);return this.dispatchEvent(Be)},cloneEvent:function(ae){for(var ge=Object.create(null),Be,Ke=0;Ke<i.length;Ke++)Be=i[Ke],ge[Be]=ae[Be]||c[Ke],f&&(Be==="target"||Be==="relatedTarget")&&ge[Be]instanceof SVGElementInstance&&(ge[Be]=ge[Be].correspondingUseElement);return ae.preventDefault&&(ge.preventDefault=function(){ae.preventDefault()}),ge},getTarget:function(ae){var ge=this.captureInfo[ae.pointerId];if(!ge)return ae._target;if(ae._target===ge||!(ae.type in u))return ge},propagate:function(ae,ge,Be){for(var Ke=ae.target,He=[];Ke!==document&&!Ke.contains(ae.relatedTarget);)if(He.push(Ke),Ke=Ke.parentNode,!Ke)return;Be&&He.reverse(),He.forEach(function(ye){ae.target=ye,ge.call(this,ae)},this)},setCapture:function(ae,ge,Be){this.captureInfo[ae]&&this.releaseCapture(ae,Be),this.captureInfo[ae]=ge,this.implicitRelease=this.releaseCapture.bind(this,ae,Be),document.addEventListener("pointerup",this.implicitRelease),document.addEventListener("pointercancel",this.implicitRelease);var Ke=new r("gotpointercapture");Ke.pointerId=ae,Ke._target=ge,Be||this.asyncDispatchEvent(Ke)},releaseCapture:function(ae,ge){var Be=this.captureInfo[ae];if(Be){this.captureInfo[ae]=void 0,document.removeEventListener("pointerup",this.implicitRelease),document.removeEventListener("pointercancel",this.implicitRelease);var Ke=new r("lostpointercapture");Ke.pointerId=ae,Ke._target=Be,ge||this.asyncDispatchEvent(Ke)}},dispatchEvent:function(ae){var ge=this.getTarget(ae);if(ge)return ge.dispatchEvent(ae)},asyncDispatchEvent:function(ae){requestAnimationFrame(this.dispatchEvent.bind(this,ae))}};d.boundHandler=d.eventHandler.bind(d);var h={shadow:function(ae){if(ae)return ae.shadowRoot||ae.webkitShadowRoot},canTarget:function(ae){return ae&&!!ae.elementFromPoint},targetingShadow:function(ae){var ge=this.shadow(ae);if(this.canTarget(ge))return ge},olderShadow:function(ae){var ge=ae.olderShadowRoot;if(!ge){var Be=ae.querySelector("shadow");Be&&(ge=Be.olderShadowRoot)}return ge},allShadows:function(ae){for(var ge=[],Be=this.shadow(ae);Be;)ge.push(Be),Be=this.olderShadow(Be);return ge},searchRoot:function(ae,ge,Be){if(ae){var Ke=ae.elementFromPoint(ge,Be),He,ye;for(ye=this.targetingShadow(Ke);ye;)if(He=ye.elementFromPoint(ge,Be),!He)ye=this.olderShadow(ye);else{var Le=this.targetingShadow(He);return this.searchRoot(Le,ge,Be)||He}return Ke}},owner:function(ae){for(var ge=ae;ge.parentNode;)ge=ge.parentNode;return ge.nodeType!==Node.DOCUMENT_NODE&&ge.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&(ge=document),ge},findTarget:function(ae){var ge=ae.clientX,Be=ae.clientY,Ke=this.owner(ae.target);return Ke.elementFromPoint(ge,Be)||(Ke=document),this.searchRoot(Ke,ge,Be)}},g=Array.prototype.forEach.call.bind(Array.prototype.forEach),_=Array.prototype.map.call.bind(Array.prototype.map),p=Array.prototype.slice.call.bind(Array.prototype.slice),y=Array.prototype.filter.call.bind(Array.prototype.filter),O=window.MutationObserver||window.WebKitMutationObserver,P="[touch-action]",C={subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0,attributeFilter:["touch-action"]};function A(ae,ge,Be,Ke){this.addCallback=ae.bind(Ke),this.removeCallback=ge.bind(Ke),this.changedCallback=Be.bind(Ke),O&&(this.observer=new O(this.mutationWatcher.bind(this)))}A.prototype={watchSubtree:function(ae){this.observer&&h.canTarget(ae)&&this.observer.observe(ae,C)},enableOnSubtree:function(ae){this.watchSubtree(ae),ae===document&&document.readyState!=="complete"?this.installOnLoad():this.installNewSubtree(ae)},installNewSubtree:function(ae){g(this.findElements(ae),this.addElement,this)},findElements:function(ae){return ae.querySelectorAll?ae.querySelectorAll(P):[]},removeElement:function(ae){this.removeCallback(ae)},addElement:function(ae){this.addCallback(ae)},elementChanged:function(ae,ge){this.changedCallback(ae,ge)},concatLists:function(ae,ge){return ae.concat(p(ge))},installOnLoad:function(){document.addEventListener("readystatechange",(function(){document.readyState==="complete"&&this.installNewSubtree(document)}).bind(this))},isElement:function(ae){return ae.nodeType===Node.ELEMENT_NODE},flattenMutationTree:function(ae){var ge=_(ae,this.findElements,this);return ge.push(y(ae,this.isElement)),ge.reduce(this.concatLists,[])},mutationWatcher:function(ae){ae.forEach(this.mutationHandler,this)},mutationHandler:function(ae){if(ae.type==="childList"){var ge=this.flattenMutationTree(ae.addedNodes);ge.forEach(this.addElement,this);var Be=this.flattenMutationTree(ae.removedNodes);Be.forEach(this.removeElement,this)}else ae.type==="attributes"&&this.elementChanged(ae.target,ae.oldValue)}};function S(ae){return"body /shadow-deep/ "+T(ae)}function T(ae){return'[touch-action="'+ae+'"]'}function s(ae){return"{ -ms-touch-action: "+ae+"; touch-action: "+ae+"; }"}var v=["none","auto","pan-x","pan-y",{rule:"pan-x pan-y",selectors:["pan-x pan-y","pan-y pan-x"]}],m="",E=window.PointerEvent||window.MSPointerEvent,I=!window.ShadowDOMPolyfill&&document.head.createShadowRoot;function L(){if(E){v.forEach(function(ge){String(ge)===ge?(m+=T(ge)+s(ge)+`
`,I&&(m+=S(ge)+s(ge)+`
`)):(m+=ge.selectors.map(T)+s(ge.rule)+`
`,I&&(m+=ge.selectors.map(S)+s(ge.rule)+`
`))});var ae=document.createElement("style");ae.textContent=m,document.head.appendChild(ae)}}var W=d.pointermap,F=25,G=[1,4,2,8,16],k=!1;try{k=new MouseEvent("test",{buttons:1}).buttons===1}catch{}var x={POINTER_ID:1,POINTER_TYPE:"mouse",events:["mousedown","mousemove","mouseup","mouseover","mouseout"],register:function(ae){d.listen(ae,this.events)},unregister:function(ae){d.unlisten(ae,this.events)},lastTouches:[],isEventSimulatedFromTouch:function(ae){for(var ge=this.lastTouches,Be=ae.clientX,Ke=ae.clientY,He=0,ye=ge.length,Le;He<ye&&(Le=ge[He]);He++){var Ue=Math.abs(Be-Le.x),Xe=Math.abs(Ke-Le.y);if(Ue<=F&&Xe<=F)return!0}},prepareEvent:function(ae){var ge=d.cloneEvent(ae),Be=ge.preventDefault;return ge.preventDefault=function(){ae.preventDefault(),Be()},ge.pointerId=this.POINTER_ID,ge.isPrimary=!0,ge.pointerType=this.POINTER_TYPE,ge},prepareButtonsForMove:function(ae,ge){var Be=W.get(this.POINTER_ID);ge.which===0||!Be?ae.buttons=0:ae.buttons=Be.buttons,ge.buttons=ae.buttons},mousedown:function(ae){if(!this.isEventSimulatedFromTouch(ae)){var ge=W.get(this.POINTER_ID),Be=this.prepareEvent(ae);k||(Be.buttons=G[Be.button],ge&&(Be.buttons|=ge.buttons),ae.buttons=Be.buttons),W.set(this.POINTER_ID,ae),!ge||ge.buttons===0?d.down(Be):d.move(Be)}},mousemove:function(ae){if(!this.isEventSimulatedFromTouch(ae)){var ge=this.prepareEvent(ae);k||this.prepareButtonsForMove(ge,ae),ge.button=-1,W.set(this.POINTER_ID,ae),d.move(ge)}},mouseup:function(ae){if(!this.isEventSimulatedFromTouch(ae)){var ge=W.get(this.POINTER_ID),Be=this.prepareEvent(ae);if(!k){var Ke=G[Be.button];Be.buttons=ge?ge.buttons&~Ke:0,ae.buttons=Be.buttons}W.set(this.POINTER_ID,ae),Be.buttons&=~G[Be.button],Be.buttons===0?d.up(Be):d.move(Be)}},mouseover:function(ae){if(!this.isEventSimulatedFromTouch(ae)){var ge=this.prepareEvent(ae);k||this.prepareButtonsForMove(ge,ae),ge.button=-1,W.set(this.POINTER_ID,ae),d.enterOver(ge)}},mouseout:function(ae){if(!this.isEventSimulatedFromTouch(ae)){var ge=this.prepareEvent(ae);k||this.prepareButtonsForMove(ge,ae),ge.button=-1,d.leaveOut(ge)}},cancel:function(ae){var ge=this.prepareEvent(ae);d.cancel(ge),this.deactivateMouse()},deactivateMouse:function(){W.delete(this.POINTER_ID)}},M=d.captureInfo,B=h.findTarget.bind(h),R=h.allShadows.bind(h),U=d.pointermap,j=2500,$=200,ee="touch-action",te,ie={events:["touchstart","touchmove","touchend","touchcancel"],register:function(ae){te.enableOnSubtree(ae)},unregister:function(){},elementAdded:function(ae){var ge=ae.getAttribute(ee),Be=this.touchActionToScrollType(ge);Be&&(ae._scrollType=Be,d.listen(ae,this.events),R(ae).forEach(function(Ke){Ke._scrollType=Be,d.listen(Ke,this.events)},this))},elementRemoved:function(ae){ae._scrollType=void 0,d.unlisten(ae,this.events),R(ae).forEach(function(ge){ge._scrollType=void 0,d.unlisten(ge,this.events)},this)},elementChanged:function(ae,ge){var Be=ae.getAttribute(ee),Ke=this.touchActionToScrollType(Be),He=this.touchActionToScrollType(ge);Ke&&He?(ae._scrollType=Ke,R(ae).forEach(function(ye){ye._scrollType=Ke},this)):He?this.elementRemoved(ae):Ke&&this.elementAdded(ae)},scrollTypes:{EMITTER:"none",XSCROLLER:"pan-x",YSCROLLER:"pan-y",SCROLLER:/^(?:pan-x pan-y)|(?:pan-y pan-x)|auto$/},touchActionToScrollType:function(ae){var ge=ae,Be=this.scrollTypes;if(ge==="none")return"none";if(ge===Be.XSCROLLER)return"X";if(ge===Be.YSCROLLER)return"Y";if(Be.SCROLLER.exec(ge))return"XY"},POINTER_TYPE:"touch",firstTouch:null,isPrimaryTouch:function(ae){return this.firstTouch===ae.identifier},setPrimaryTouch:function(ae){(U.size===0||U.size===1&&U.has(1))&&(this.firstTouch=ae.identifier,this.firstXY={X:ae.clientX,Y:ae.clientY},this.scrolling=!1,this.cancelResetClickCount())},removePrimaryPointer:function(ae){ae.isPrimary&&(this.firstTouch=null,this.firstXY=null,this.resetClickCount())},clickCount:0,resetId:null,resetClickCount:function(){var ae=(function(){this.clickCount=0,this.resetId=null}).bind(this);this.resetId=setTimeout(ae,$)},cancelResetClickCount:function(){this.resetId&&clearTimeout(this.resetId)},typeToButtons:function(ae){var ge=0;return(ae==="touchstart"||ae==="touchmove")&&(ge=1),ge},touchToPointer:function(ae){var ge=this.currentTouchEvent,Be=d.cloneEvent(ae),Ke=Be.pointerId=ae.identifier+2;Be.target=M[Ke]||B(Be),Be.bubbles=!0,Be.cancelable=!0,Be.detail=this.clickCount,Be.button=0,Be.buttons=this.typeToButtons(ge.type),Be.width=(ae.radiusX||ae.webkitRadiusX||0)*2,Be.height=(ae.radiusY||ae.webkitRadiusY||0)*2,Be.pressure=ae.force||ae.webkitForce||.5,Be.isPrimary=this.isPrimaryTouch(ae),Be.pointerType=this.POINTER_TYPE,Be.altKey=ge.altKey,Be.ctrlKey=ge.ctrlKey,Be.metaKey=ge.metaKey,Be.shiftKey=ge.shiftKey;var He=this;return Be.preventDefault=function(){He.scrolling=!1,He.firstXY=null,ge.preventDefault()},Be},processTouches:function(ae,ge){var Be=ae.changedTouches;this.currentTouchEvent=ae;for(var Ke=0,He;Ke<Be.length;Ke++)He=Be[Ke],ge.call(this,this.touchToPointer(He))},shouldScroll:function(ae){if(this.firstXY){var ge,Be=ae.currentTarget._scrollType;if(Be==="none")ge=!1;else if(Be==="XY")ge=!0;else{var Ke=ae.changedTouches[0],He=Be,ye=Be==="Y"?"X":"Y",Le=Math.abs(Ke["client"+He]-this.firstXY[He]),Ue=Math.abs(Ke["client"+ye]-this.firstXY[ye]);ge=Le>=Ue}return this.firstXY=null,ge}},findTouch:function(ae,ge){for(var Be=0,Ke=ae.length,He;Be<Ke&&(He=ae[Be]);Be++)if(He.identifier===ge)return!0},vacuumTouches:function(ae){var ge=ae.touches;if(U.size>=ge.length){var Be=[];U.forEach(function(Ke,He){if(He!==1&&!this.findTouch(ge,He-2)){var ye=Ke.out;Be.push(ye)}},this),Be.forEach(this.cancelOut,this)}},touchstart:function(ae){this.vacuumTouches(ae),this.setPrimaryTouch(ae.changedTouches[0]),this.dedupSynthMouse(ae),this.scrolling||(this.clickCount++,this.processTouches(ae,this.overDown))},overDown:function(ae){U.set(ae.pointerId,{target:ae.target,out:ae,outTarget:ae.target}),d.enterOver(ae),d.down(ae)},touchmove:function(ae){this.scrolling||(this.shouldScroll(ae)?(this.scrolling=!0,this.touchcancel(ae)):(ae.preventDefault(),this.processTouches(ae,this.moveOverOut)))},moveOverOut:function(ae){var ge=ae,Be=U.get(ge.pointerId);if(Be){var Ke=Be.out,He=Be.outTarget;d.move(ge),Ke&&He!==ge.target&&(Ke.relatedTarget=ge.target,ge.relatedTarget=He,Ke.target=He,ge.target?(d.leaveOut(Ke),d.enterOver(ge)):(ge.target=He,ge.relatedTarget=null,this.cancelOut(ge))),Be.out=ge,Be.outTarget=ge.target}},touchend:function(ae){this.dedupSynthMouse(ae),this.processTouches(ae,this.upOut)},upOut:function(ae){this.scrolling||(d.up(ae),d.leaveOut(ae)),this.cleanUpPointer(ae)},touchcancel:function(ae){this.processTouches(ae,this.cancelOut)},cancelOut:function(ae){d.cancel(ae),d.leaveOut(ae),this.cleanUpPointer(ae)},cleanUpPointer:function(ae){U.delete(ae.pointerId),this.removePrimaryPointer(ae)},dedupSynthMouse:function(ae){var ge=x.lastTouches,Be=ae.changedTouches[0];if(this.isPrimaryTouch(Be)){var Ke={x:Be.clientX,y:Be.clientY};ge.push(Ke);var He=(function(ye,Le){var Ue=ye.indexOf(Le);Ue>-1&&ye.splice(Ue,1)}).bind(null,ge,Ke);setTimeout(He,j)}}};te=new A(ie.elementAdded,ie.elementRemoved,ie.elementChanged,ie);var ne=d.pointermap,pe=window.MSPointerEvent&&typeof window.MSPointerEvent.MSPOINTER_TYPE_MOUSE=="number",oe={events:["MSPointerDown","MSPointerMove","MSPointerUp","MSPointerOut","MSPointerOver","MSPointerCancel","MSGotPointerCapture","MSLostPointerCapture"],register:function(ae){d.listen(ae,this.events)},unregister:function(ae){d.unlisten(ae,this.events)},POINTER_TYPES:["","unavailable","touch","pen","mouse"],prepareEvent:function(ae){var ge=ae;return pe&&(ge=d.cloneEvent(ae),ge.pointerType=this.POINTER_TYPES[ae.pointerType]),ge},cleanup:function(ae){ne.delete(ae)},MSPointerDown:function(ae){ne.set(ae.pointerId,ae);var ge=this.prepareEvent(ae);d.down(ge)},MSPointerMove:function(ae){var ge=this.prepareEvent(ae);d.move(ge)},MSPointerUp:function(ae){var ge=this.prepareEvent(ae);d.up(ge),this.cleanup(ae.pointerId)},MSPointerOut:function(ae){var ge=this.prepareEvent(ae);d.leaveOut(ge)},MSPointerOver:function(ae){var ge=this.prepareEvent(ae);d.enterOver(ge)},MSPointerCancel:function(ae){var ge=this.prepareEvent(ae);d.cancel(ge),this.cleanup(ae.pointerId)},MSLostPointerCapture:function(ae){var ge=d.makeEvent("lostpointercapture",ae);d.dispatchEvent(ge)},MSGotPointerCapture:function(ae){var ge=d.makeEvent("gotpointercapture",ae);d.dispatchEvent(ge)}};function q(){if(!window.PointerEvent){if(window.PointerEvent=r,window.navigator.msPointerEnabled){var ae=window.navigator.msMaxTouchPoints;Object.defineProperty(window.navigator,"maxTouchPoints",{value:ae,enumerable:!0}),d.registerSource("ms",oe)}else Object.defineProperty(window.navigator,"maxTouchPoints",{value:0,enumerable:!0}),d.registerSource("mouse",x),window.ontouchstart!==void 0&&d.registerSource("touch",ie);d.register(document)}}var J=window.navigator,me,re,he;function Ee(ae){if(!d.pointermap.has(ae)){var ge=new Error("InvalidPointerId");throw ge.name="InvalidPointerId",ge}}function fe(ae){for(var ge=ae.parentNode;ge&&ge!==ae.ownerDocument;)ge=ge.parentNode;if(!ge){var Be=new Error("InvalidStateError");throw Be.name="InvalidStateError",Be}}function H(ae){var ge=d.pointermap.get(ae);return ge.buttons!==0}J.msPointerEnabled?(me=function(ae){Ee(ae),fe(this),H(ae)&&(d.setCapture(ae,this,!0),this.msSetPointerCapture(ae))},re=function(ae){Ee(ae),d.releaseCapture(ae,!0),this.msReleasePointerCapture(ae)}):(me=function(ge){Ee(ge),fe(this),H(ge)&&d.setCapture(ge,this)},re=function(ge){Ee(ge),d.releaseCapture(ge)}),he=function(ge){return!!d.captureInfo[ge]};function z(){window.Element&&!Element.prototype.setPointerCapture&&Object.defineProperties(Element.prototype,{setPointerCapture:{value:me},releasePointerCapture:{value:re},hasPointerCapture:{value:he}})}L(),q(),z();var _e={dispatcher:d,Installer:A,PointerEvent:r,PointerMap:n,targetFinding:h};return _e})},415729:function(b,l,e){var r=e(760636);(function(){var o,n,a;typeof performance<"u"&&performance!==null&&performance.now?b.exports=function(){return performance.now()}:typeof r<"u"&&r!==null&&r.hrtime?(b.exports=function(){return(o()-a)/1e6},n=r.hrtime,o=function(){var i;return i=n(),i[0]*1e9+i[1]},a=o()):Date.now?(b.exports=function(){return Date.now()-a},a=Date.now()):(b.exports=function(){return new Date().getTime()-a},a=new Date().getTime())}).call(this)},717925:function(b,l,e){var r=e(760636);(function(){var o,n,a,i,c,u;typeof performance<"u"&&performance!==null&&performance.now?b.exports=function(){return performance.now()}:typeof r<"u"&&r!==null&&r.hrtime?(b.exports=function(){return(o()-c)/1e6},n=r.hrtime,o=function(){var f;return f=n(),f[0]*1e9+f[1]},i=o(),u=r.uptime()*1e9,c=i-u):Date.now?(b.exports=function(){return Date.now()-a},a=Date.now()):(b.exports=function(){return new Date().getTime()-a},a=new Date().getTime())}).call(this)},799401:function(b,l,e){b=e.nmd(b);/*!
 * Platform.js v1.3.6
 * Copyright 2014-2020 Benjamin Tan
 * Copyright 2011-2013 John-David Dalton
 * Available under MIT license
 */(function(){"use strict";var r={function:!0,object:!0},o=r[typeof window]&&window||this,n=o,a=r[typeof l]&&l,i=r.object&&b&&!b.nodeType&&b,c=a&&i&&typeof e.g=="object"&&e.g;c&&(c.global===c||c.window===c||c.self===c)&&(o=c);var u=Math.pow(2,53)-1,f=/\bOpera/,d=this,h=Object.prototype,g=h.hasOwnProperty,_=h.toString;function p(I){return I=String(I),I.charAt(0).toUpperCase()+I.slice(1)}function y(I,L,W){var F={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return L&&W&&/^Win/i.test(I)&&!/^Windows Phone /i.test(I)&&(F=F[/[\d.]+$/.exec(I)])&&(I="Windows "+F),I=String(I),L&&W&&(I=I.replace(RegExp(L,"i"),W)),I=P(I.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]),I}function O(I,L){var W=-1,F=I?I.length:0;if(typeof F=="number"&&F>-1&&F<=u)for(;++W<F;)L(I[W],W,I);else C(I,L)}function P(I){return I=v(I),/^(?:webOS|i(?:OS|P))/.test(I)?I:p(I)}function C(I,L){for(var W in I)g.call(I,W)&&L(I[W],W,I)}function A(I){return I==null?p(I):_.call(I).slice(8,-1)}function S(I,L){var W=I!=null?typeof I[L]:"number";return!/^(?:boolean|number|string|undefined)$/.test(W)&&(W=="object"?!!I[L]:!0)}function T(I){return String(I).replace(/([ -])(?!$)/g,"$1?")}function s(I,L){var W=null;return O(I,function(F,G){W=L(W,F,G,I)}),W}function v(I){return String(I).replace(/^ +| +$/g,"")}function m(I){var L=o,W=I&&typeof I=="object"&&A(I)!="String";W&&(L=I,I=null);var F=L.navigator||{},G=F.userAgent||"";I||(I=G);var k=W||d==n,x=W?!!F.likeChrome:/\bChrome\b/.test(I)&&!/internal|\n/i.test(_.toString()),M="Object",B=W?M:"ScriptBridgingProxyObject",R=W?M:"Environment",U=W&&L.java?"JavaPackage":A(L.java),j=W?M:"RuntimeObject",$=/\bJava/.test(U)&&L.java,ee=$&&A(L.environment)==R,te=$?"a":"\u03B1",ie=$?"b":"\u03B2",ne=L.document||{},pe=L.operamini||L.opera,oe=f.test(oe=W&&pe?pe["[[Class]]"]:A(pe))?oe:pe=null,q,J=I,me=[],re=null,he=I==G,Ee=he&&pe&&typeof pe.version=="function"&&pe.version(),fe,H=Be([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),z=He(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),_e=Le([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),ae=Ke({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}}),ge=ye(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function Be(ht){return s(ht,function(Ne,Ce){return Ne||RegExp("\\b"+(Ce.pattern||T(Ce))+"\\b","i").exec(I)&&(Ce.label||Ce)})}function Ke(ht){return s(ht,function(Ne,Ce,we){return Ne||(Ce[_e]||Ce[/^[a-z]+(?: +[a-z]+\b)*/i.exec(_e)]||RegExp("\\b"+T(we)+"(?:\\b|\\w*\\d)","i").exec(I))&&we})}function He(ht){return s(ht,function(Ne,Ce){return Ne||RegExp("\\b"+(Ce.pattern||T(Ce))+"\\b","i").exec(I)&&(Ce.label||Ce)})}function ye(ht){return s(ht,function(Ne,Ce){var we=Ce.pattern||T(Ce);return!Ne&&(Ne=RegExp("\\b"+we+"(?:/[\\d.]+|[ \\w.]*)","i").exec(I))&&(Ne=y(Ne,we,Ce.label||Ce)),Ne})}function Le(ht){return s(ht,function(Ne,Ce){var we=Ce.pattern||T(Ce);return!Ne&&(Ne=RegExp("\\b"+we+" *\\d+[.\\w_]*","i").exec(I)||RegExp("\\b"+we+" *\\w+-[\\w]*","i").exec(I)||RegExp("\\b"+we+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(I))&&((Ne=String(Ce.label&&!RegExp(we,"i").test(Ce.label)?Ce.label:Ne).split("/"))[1]&&!/[\d.]+/.test(Ne[0])&&(Ne[0]+=" "+Ne[1]),Ce=Ce.label||Ce,Ne=P(Ne[0].replace(RegExp(we,"i"),Ce).replace(RegExp("; *(?:"+Ce+"[_-])?","i")," ").replace(RegExp("("+Ce+")[-_.]?(\\w)","i"),"$1 $2"))),Ne})}function Ue(ht){return s(ht,function(Ne,Ce){return Ne||(RegExp(Ce+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(I)||0)[1]||null})}function Xe(){return this.description||""}if(H&&(H=[H]),/\bAndroid\b/.test(ge)&&!_e&&(q=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(I))&&(_e=v(q[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),ae&&!_e?_e=Le([ae]):ae&&_e&&(_e=_e.replace(RegExp("^("+T(ae)+")[-_.\\s]","i"),ae+" ").replace(RegExp("^("+T(ae)+")[-_.]?(\\w)","i"),ae+" $2")),(q=/\bGoogle TV\b/.exec(_e))&&(_e=q[0]),/\bSimulator\b/i.test(I)&&(_e=(_e?_e+" ":"")+"Simulator"),z=="Opera Mini"&&/\bOPiOS\b/.test(I)&&me.push("running in Turbo/Uncompressed mode"),z=="IE"&&/\blike iPhone OS\b/.test(I)?(q=m(I.replace(/like iPhone OS/,"")),ae=q.manufacturer,_e=q.product):/^iP/.test(_e)?(z||(z="Safari"),ge="iOS"+((q=/ OS ([\d_]+)/i.exec(I))?" "+q[1].replace(/_/g,"."):"")):z=="Konqueror"&&/^Linux\b/i.test(ge)?ge="Kubuntu":ae&&ae!="Google"&&(/Chrome/.test(z)&&!/\bMobile Safari\b/i.test(I)||/\bVita\b/.test(_e))||/\bAndroid\b/.test(ge)&&/^Chrome/.test(z)&&/\bVersion\//i.test(I)?(z="Android Browser",ge=/\bAndroid\b/.test(ge)?ge:"Android"):z=="Silk"?(/\bMobi/i.test(I)||(ge="Android",me.unshift("desktop mode")),/Accelerated *= *true/i.test(I)&&me.unshift("accelerated")):z=="UC Browser"&&/\bUCWEB\b/.test(I)?me.push("speed mode"):z=="PaleMoon"&&(q=/\bFirefox\/([\d.]+)\b/.exec(I))?me.push("identifying as Firefox "+q[1]):z=="Firefox"&&(q=/\b(Mobile|Tablet|TV)\b/i.exec(I))?(ge||(ge="Firefox OS"),_e||(_e=q[1])):!z||(q=!/\bMinefield\b/i.test(I)&&/\b(?:Firefox|Safari)\b/.exec(z))?(z&&!_e&&/[\/,]|^[^(]+?\)/.test(I.slice(I.indexOf(q+"/")+8))&&(z=null),(q=_e||ae||ge)&&(_e||ae||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(ge))&&(z=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(ge)?ge:q)+" Browser")):z=="Electron"&&(q=(/\bChrome\/([\d.]+)\b/.exec(I)||0)[1])&&me.push("Chromium "+q),Ee||(Ee=Ue(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",T(z),"(?:Firefox|Minefield|NetFront)"])),(q=H=="iCab"&&parseFloat(Ee)>3&&"WebKit"||/\bOpera\b/.test(z)&&(/\bOPR\b/.test(I)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(I)&&!/^(?:Trident|EdgeHTML)$/.test(H)&&"WebKit"||!H&&/\bMSIE\b/i.test(I)&&(ge=="Mac OS"?"Tasman":"Trident")||H=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(z)&&"NetFront")&&(H=[q]),z=="IE"&&(q=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(I)||0)[1])?(z+=" Mobile",ge="Windows Phone "+(/\+$/.test(q)?q:q+".x"),me.unshift("desktop mode")):/\bWPDesktop\b/i.test(I)?(z="IE Mobile",ge="Windows Phone 8.x",me.unshift("desktop mode"),Ee||(Ee=(/\brv:([\d.]+)/.exec(I)||0)[1])):z!="IE"&&H=="Trident"&&(q=/\brv:([\d.]+)/.exec(I))&&(z&&me.push("identifying as "+z+(Ee?" "+Ee:"")),z="IE",Ee=q[1]),he){if(S(L,"global"))if($&&(q=$.lang.System,J=q.getProperty("os.arch"),ge=ge||q.getProperty("os.name")+" "+q.getProperty("os.version")),ee){try{Ee=L.require("ringo/engine").version.join("."),z="RingoJS"}catch{(q=L.system)&&q.global.system==L.system&&(z="Narwhal",ge||(ge=q[0].os||null))}z||(z="Rhino")}else typeof L.process=="object"&&!L.process.browser&&(q=L.process)&&(typeof q.versions=="object"&&(typeof q.versions.electron=="string"?(me.push("Node "+q.versions.node),z="Electron",Ee=q.versions.electron):typeof q.versions.nw=="string"&&(me.push("Chromium "+Ee,"Node "+q.versions.node),z="NW.js",Ee=q.versions.nw)),z||(z="Node.js",J=q.arch,ge=q.platform,Ee=/[\d.]+/.exec(q.version),Ee=Ee?Ee[0]:null));else A(q=L.runtime)==B?(z="Adobe AIR",ge=q.flash.system.Capabilities.os):A(q=L.phantom)==j?(z="PhantomJS",Ee=(q=q.version||null)&&q.major+"."+q.minor+"."+q.patch):typeof ne.documentMode=="number"&&(q=/\bTrident\/(\d+)/i.exec(I))?(Ee=[Ee,ne.documentMode],(q=+q[1]+4)!=Ee[1]&&(me.push("IE "+Ee[1]+" mode"),H&&(H[1]=""),Ee[1]=q),Ee=z=="IE"?String(Ee[1].toFixed(1)):Ee[0]):typeof ne.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(z)&&(me.push("masking as "+z+" "+Ee),z="IE",Ee="11.0",H=["Trident"],ge="Windows");ge=ge&&P(ge)}if(Ee&&(q=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ee)||/(?:alpha|beta)(?: ?\d)?/i.exec(I+";"+(he&&F.appMinorVersion))||/\bMinefield\b/i.test(I)&&"a")&&(re=/b/i.test(q)?"beta":"alpha",Ee=Ee.replace(RegExp(q+"\\+?$"),"")+(re=="beta"?ie:te)+(/\d+\+?/.exec(q)||"")),z=="Fennec"||z=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(ge))z="Firefox Mobile";else if(z=="Maxthon"&&Ee)Ee=Ee.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(_e))_e=="Xbox 360"&&(ge=null),_e=="Xbox 360"&&/\bIEMobile\b/.test(I)&&me.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(z)||z&&!_e&&!/Browser|Mobi/.test(z))&&(ge=="Windows CE"||/Mobi/i.test(I)))z+=" Mobile";else if(z=="IE"&&he)try{L.external===null&&me.unshift("platform preview")}catch{me.unshift("embedded")}else(/\bBlackBerry\b/.test(_e)||/\bBB10\b/.test(I))&&(q=(RegExp(_e.replace(/ +/g," *")+"/([.\\d]+)","i").exec(I)||0)[1]||Ee)?(q=[q,/BB10/.test(I)],ge=(q[1]?(_e=null,ae="BlackBerry"):"Device Software")+" "+q[0],Ee=null):this!=C&&_e!="Wii"&&(he&&pe||/Opera/.test(z)&&/\b(?:MSIE|Firefox)\b/i.test(I)||z=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(ge)||z=="IE"&&(ge&&!/^Win/.test(ge)&&Ee>5.5||/\bWindows XP\b/.test(ge)&&Ee>8||Ee==8&&!/\bTrident\b/.test(I)))&&!f.test(q=m.call(C,I.replace(f,"")+";"))&&q.name&&(q="ing as "+q.name+((q=q.version)?" "+q:""),f.test(z)?(/\bIE\b/.test(q)&&ge=="Mac OS"&&(ge=null),q="identify"+q):(q="mask"+q,oe?z=P(oe.replace(/([a-z])([A-Z])/g,"$1 $2")):z="Opera",/\bIE\b/.test(q)&&(ge=null),he||(Ee=null)),H=["Presto"],me.push(q));(q=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(I)||0)[1])&&(q=[parseFloat(q.replace(/\.(\d)$/,".0$1")),q],z=="Safari"&&q[1].slice(-1)=="+"?(z="WebKit Nightly",re="alpha",Ee=q[1].slice(0,-1)):(Ee==q[1]||Ee==(q[2]=(/\bSafari\/([\d.]+\+?)/i.exec(I)||0)[1]))&&(Ee=null),q[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(I)||0)[1],q[0]==537.36&&q[2]==537.36&&parseFloat(q[1])>=28&&H=="WebKit"&&(H=["Blink"]),!he||!x&&!q[1]?(H&&(H[1]="like Safari"),q=(q=q[0],q<400?1:q<500?2:q<526?3:q<533?4:q<534?"4+":q<535?5:q<537?6:q<538?7:q<601?8:q<602?9:q<604?10:q<606?11:q<608?12:"12")):(H&&(H[1]="like Chrome"),q=q[1]||(q=q[0],q<530?1:q<532?2:q<532.05?3:q<533?4:q<534.03?5:q<534.07?6:q<534.1?7:q<534.13?8:q<534.16?9:q<534.24?10:q<534.3?11:q<535.01?12:q<535.02?"13+":q<535.07?15:q<535.11?16:q<535.19?17:q<536.05?18:q<536.1?19:q<537.01?20:q<537.11?"21+":q<537.13?23:q<537.18?24:q<537.24?25:q<537.36?26:H!="Blink"?"27":"28")),H&&(H[1]+=" "+(q+=typeof q=="number"?".x":/[.+]/.test(q)?"":"+")),z=="Safari"&&(!Ee||parseInt(Ee)>45)?Ee=q:z=="Chrome"&&/\bHeadlessChrome/i.test(I)&&me.unshift("headless")),z=="Opera"&&(q=/\bzbov|zvav$/.exec(ge))?(z+=" ",me.unshift("desktop mode"),q=="zvav"?(z+="Mini",Ee=null):z+="Mobile",ge=ge.replace(RegExp(" *"+q+"$"),"")):z=="Safari"&&/\bChrome\b/.exec(H&&H[1])?(me.unshift("desktop mode"),z="Chrome Mobile",Ee=null,/\bOS X\b/.test(ge)?(ae="Apple",ge="iOS 4.3+"):ge=null):/\bSRWare Iron\b/.test(z)&&!Ee&&(Ee=Ue("Chrome")),Ee&&Ee.indexOf(q=/[\d.]+$/.exec(ge))==0&&I.indexOf("/"+q+"-")>-1&&(ge=v(ge.replace(q,""))),ge&&ge.indexOf(z)!=-1&&!RegExp(z+" OS").test(ge)&&(ge=ge.replace(RegExp(" *"+T(z)+" *"),"")),H&&!/\b(?:Avant|Nook)\b/.test(z)&&(/Browser|Lunascape|Maxthon/.test(z)||z!="Safari"&&/^iOS/.test(ge)&&/\bSafari\b/.test(H[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(z)&&H[1])&&(q=H[H.length-1])&&me.push(q),me.length&&(me=["("+me.join("; ")+")"]),ae&&_e&&_e.indexOf(ae)<0&&me.push("on "+ae),_e&&me.push((/^on /.test(me[me.length-1])?"":"on ")+_e),ge&&(q=/ ([\d.+]+)$/.exec(ge),fe=q&&ge.charAt(ge.length-q[0].length-1)=="/",ge={architecture:32,family:q&&!fe?ge.replace(q[0],""):ge,version:q?q[1]:null,toString:function(){var ht=this.version;return this.family+(ht&&!fe?" "+ht:"")+(this.architecture==64?" 64-bit":"")}}),(q=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(J))&&!/\bi686\b/i.test(J)?(ge&&(ge.architecture=64,ge.family=ge.family.replace(RegExp(" *"+q),"")),z&&(/\bWOW64\b/i.test(I)||he&&/\w(?:86|32)$/.test(F.cpuClass||F.platform)&&!/\bWin64; x64\b/i.test(I))&&me.unshift("32-bit")):ge&&/^OS X/.test(ge.family)&&z=="Chrome"&&parseFloat(Ee)>=39&&(ge.architecture=64),I||(I=null);var Fe={};return Fe.description=I,Fe.layout=H&&H[0],Fe.manufacturer=ae,Fe.name=z,Fe.prerelease=re,Fe.product=_e,Fe.ua=I,Fe.version=z&&Ee,Fe.os=ge||{architecture:null,family:null,version:null,toString:function(){return"null"}},Fe.parse=m,Fe.toString=Xe,Fe.version&&me.unshift(Ee),Fe.name&&me.unshift(z),ge&&z&&!(ge==String(ge).split(" ")[0]&&(ge==z.split(" ")[0]||_e))&&me.push(_e?"("+ge+")":"on "+ge),me.length&&(Fe.description=me.join(" ")),Fe}var E=m();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(o.platform=E,define(function(){return E})):a&&i?C(E,function(I,L){a[L]=I}):o.platform=E}).call(this)},91913:function(b,l,e){typeof navigator=="object"&&function(r,o){b.exports=o()}(this,function(){"use strict";function r(Pe,xe,Ae){return(xe=function(qe){var wt=function(kt,ut){if(typeof kt!="object"||kt===null)return kt;var Ft=kt[Symbol.toPrimitive];if(Ft!==void 0){var tn=Ft.call(kt,ut||"default");if(typeof tn!="object")return tn;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ut==="string"?String:Number)(kt)}(qe,"string");return typeof wt=="symbol"?wt:String(wt)}(xe))in Pe?Object.defineProperty(Pe,xe,{value:Ae,enumerable:!0,configurable:!0,writable:!0}):Pe[xe]=Ae,Pe}function o(Pe,xe){for(var Ae=0;Ae<xe.length;Ae++){var qe=xe[Ae];qe.enumerable=qe.enumerable||!1,qe.configurable=!0,"value"in qe&&(qe.writable=!0),Object.defineProperty(Pe,qe.key,qe)}}function n(Pe,xe,Ae){return xe in Pe?Object.defineProperty(Pe,xe,{value:Ae,enumerable:!0,configurable:!0,writable:!0}):Pe[xe]=Ae,Pe}function a(Pe,xe){var Ae=Object.keys(Pe);if(Object.getOwnPropertySymbols){var qe=Object.getOwnPropertySymbols(Pe);xe&&(qe=qe.filter(function(wt){return Object.getOwnPropertyDescriptor(Pe,wt).enumerable})),Ae.push.apply(Ae,qe)}return Ae}function i(Pe){for(var xe=1;xe<arguments.length;xe++){var Ae=arguments[xe]!=null?arguments[xe]:{};xe%2?a(Object(Ae),!0).forEach(function(qe){n(Pe,qe,Ae[qe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Pe,Object.getOwnPropertyDescriptors(Ae)):a(Object(Ae)).forEach(function(qe){Object.defineProperty(Pe,qe,Object.getOwnPropertyDescriptor(Ae,qe))})}return Pe}var c={addCSS:!0,thumbWidth:15,watch:!0},u=function(Pe){return Pe!=null?Pe.constructor:null},f=function(Pe,xe){return!!(Pe&&xe&&Pe instanceof xe)},d=function(Pe){return Pe==null},h=function(Pe){return u(Pe)===Object},g=function(Pe){return u(Pe)===String},_=function(Pe){return Array.isArray(Pe)},p=function(Pe){return f(Pe,NodeList)},y={nullOrUndefined:d,object:h,number:function(Pe){return u(Pe)===Number&&!Number.isNaN(Pe)},string:g,boolean:function(Pe){return u(Pe)===Boolean},function:function(Pe){return u(Pe)===Function},array:_,nodeList:p,element:function(Pe){return f(Pe,Element)},event:function(Pe){return f(Pe,Event)},empty:function(Pe){return d(Pe)||(g(Pe)||_(Pe)||p(Pe))&&!Pe.length||h(Pe)&&!Object.keys(Pe).length}};function O(Pe,xe){if(1>xe){var Ae=function(qe){var wt="".concat(qe).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return wt?Math.max(0,(wt[1]?wt[1].length:0)-(wt[2]?+wt[2]:0)):0}(xe);return parseFloat(Pe.toFixed(Ae))}return Math.round(Pe/xe)*xe}var P=function(){function Pe(xe,Ae){(function(qe,wt){if(!(qe instanceof wt))throw new TypeError("Cannot call a class as a function")})(this,Pe),y.element(xe)?this.element=xe:y.string(xe)&&(this.element=document.querySelector(xe)),y.element(this.element)&&y.empty(this.element.rangeTouch)&&(this.config=i({},c,{},Ae),this.init())}return function(xe,Ae,qe){Ae&&o(xe.prototype,Ae),qe&&o(xe,qe)}(Pe,[{key:"init",value:function(){Pe.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){Pe.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(xe){var Ae=this,qe=xe?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach(function(wt){Ae.element[qe](wt,function(kt){return Ae.set(kt)},!1)})}},{key:"get",value:function(xe){if(!Pe.enabled||!y.event(xe))return null;var Ae,qe=xe.target,wt=xe.changedTouches[0],kt=parseFloat(qe.getAttribute("min"))||0,ut=parseFloat(qe.getAttribute("max"))||100,Ft=parseFloat(qe.getAttribute("step"))||1,tn=qe.getBoundingClientRect(),In=100/tn.width*(this.config.thumbWidth/2)/100;return 0>(Ae=100/tn.width*(wt.clientX-tn.left))?Ae=0:100<Ae&&(Ae=100),50>Ae?Ae-=(100-2*Ae)*In:50<Ae&&(Ae+=2*(Ae-50)*In),kt+O(Ae/100*(ut-kt),Ft)}},{key:"set",value:function(xe){Pe.enabled&&y.event(xe)&&!xe.target.disabled&&(xe.preventDefault(),xe.target.value=this.get(xe),function(Ae,qe){if(Ae&&qe){var wt=new Event(qe,{bubbles:!0});Ae.dispatchEvent(wt)}}(xe.target,xe.type==="touchend"?"change":"input"))}}],[{key:"setup",value:function(xe){var Ae=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},qe=null;if(y.empty(xe)||y.string(xe)?qe=Array.from(document.querySelectorAll(y.string(xe)?xe:'input[type="range"]')):y.element(xe)?qe=[xe]:y.nodeList(xe)?qe=Array.from(xe):y.array(xe)&&(qe=xe.filter(y.element)),y.empty(qe))return null;var wt=i({},c,{},Ae);if(y.string(xe)&&wt.watch){var kt=new MutationObserver(function(ut){Array.from(ut).forEach(function(Ft){Array.from(Ft.addedNodes).forEach(function(tn){y.element(tn)&&function(In,rr){return(function(){return Array.from(document.querySelectorAll(rr)).includes(this)}).call(In,rr)}(tn,xe)&&new Pe(tn,wt)})})});kt.observe(document.body,{childList:!0,subtree:!0})}return qe.map(function(ut){return new Pe(ut,Ae)})}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),Pe}();const C=Pe=>Pe!=null?Pe.constructor:null,A=(Pe,xe)=>!!(Pe&&xe&&Pe instanceof xe),S=Pe=>Pe==null,T=Pe=>C(Pe)===Object,s=Pe=>C(Pe)===String,v=Pe=>typeof Pe=="function",m=Pe=>Array.isArray(Pe),E=Pe=>A(Pe,NodeList),I=Pe=>S(Pe)||(s(Pe)||m(Pe)||E(Pe))&&!Pe.length||T(Pe)&&!Object.keys(Pe).length;var L={nullOrUndefined:S,object:T,number:Pe=>C(Pe)===Number&&!Number.isNaN(Pe),string:s,boolean:Pe=>C(Pe)===Boolean,function:v,array:m,weakMap:Pe=>A(Pe,WeakMap),nodeList:E,element:Pe=>Pe!==null&&typeof Pe=="object"&&Pe.nodeType===1&&typeof Pe.style=="object"&&typeof Pe.ownerDocument=="object",textNode:Pe=>C(Pe)===Text,event:Pe=>A(Pe,Event),keyboardEvent:Pe=>A(Pe,KeyboardEvent),cue:Pe=>A(Pe,window.TextTrackCue)||A(Pe,window.VTTCue),track:Pe=>A(Pe,TextTrack)||!S(Pe)&&s(Pe.kind),promise:Pe=>A(Pe,Promise)&&v(Pe.then),url:Pe=>{if(A(Pe,window.URL))return!0;if(!s(Pe))return!1;let xe=Pe;Pe.startsWith("http://")&&Pe.startsWith("https://")||(xe=`http://${Pe}`);try{return!I(new URL(xe).hostname)}catch{return!1}},empty:I};const W=(()=>{const Pe=document.createElement("span"),xe={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},Ae=Object.keys(xe).find(qe=>Pe.style[qe]!==void 0);return!!L.string(Ae)&&xe[Ae]})();function F(Pe,xe){setTimeout(()=>{try{Pe.hidden=!0,Pe.offsetHeight,Pe.hidden=!1}catch{}},xe)}var G={isIE:!!window.document.documentMode,isEdge:/Edge/g.test(navigator.userAgent),isWebKit:"WebkitAppearance"in document.documentElement.style&&!/Edge/g.test(navigator.userAgent),isIPhone:/iPhone|iPod/gi.test(navigator.userAgent)&&navigator.maxTouchPoints>1,isIPadOS:navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,isIos:/iPad|iPhone|iPod/gi.test(navigator.userAgent)&&navigator.maxTouchPoints>1};function k(Pe,xe){return xe.split(".").reduce((Ae,qe)=>Ae&&Ae[qe],Pe)}function x(Pe={},...xe){if(!xe.length)return Pe;const Ae=xe.shift();return L.object(Ae)?(Object.keys(Ae).forEach(qe=>{L.object(Ae[qe])?(Object.keys(Pe).includes(qe)||Object.assign(Pe,{[qe]:{}}),x(Pe[qe],Ae[qe])):Object.assign(Pe,{[qe]:Ae[qe]})}),x(Pe,...xe)):Pe}function M(Pe,xe){const Ae=Pe.length?Pe:[Pe];Array.from(Ae).reverse().forEach((qe,wt)=>{const kt=wt>0?xe.cloneNode(!0):xe,ut=qe.parentNode,Ft=qe.nextSibling;kt.appendChild(qe),Ft?ut.insertBefore(kt,Ft):ut.appendChild(kt)})}function B(Pe,xe){L.element(Pe)&&!L.empty(xe)&&Object.entries(xe).filter(([,Ae])=>!L.nullOrUndefined(Ae)).forEach(([Ae,qe])=>Pe.setAttribute(Ae,qe))}function R(Pe,xe,Ae){const qe=document.createElement(Pe);return L.object(xe)&&B(qe,xe),L.string(Ae)&&(qe.innerText=Ae),qe}function U(Pe,xe,Ae,qe){L.element(xe)&&xe.appendChild(R(Pe,Ae,qe))}function j(Pe){L.nodeList(Pe)||L.array(Pe)?Array.from(Pe).forEach(j):L.element(Pe)&&L.element(Pe.parentNode)&&Pe.parentNode.removeChild(Pe)}function $(Pe){if(!L.element(Pe))return;let{length:xe}=Pe.childNodes;for(;xe>0;)Pe.removeChild(Pe.lastChild),xe-=1}function ee(Pe,xe){return L.element(xe)&&L.element(xe.parentNode)&&L.element(Pe)?(xe.parentNode.replaceChild(Pe,xe),Pe):null}function te(Pe,xe){if(!L.string(Pe)||L.empty(Pe))return{};const Ae={},qe=x({},xe);return Pe.split(",").forEach(wt=>{const kt=wt.trim(),ut=kt.replace(".",""),Ft=kt.replace(/[[\]]/g,"").split("="),[tn]=Ft,In=Ft.length>1?Ft[1].replace(/["']/g,""):"";switch(kt.charAt(0)){case".":L.string(qe.class)?Ae.class=`${qe.class} ${ut}`:Ae.class=ut;break;case"#":Ae.id=kt.replace("#","");break;case"[":Ae[tn]=In}}),x(qe,Ae)}function ie(Pe,xe){if(!L.element(Pe))return;let Ae=xe;L.boolean(Ae)||(Ae=!Pe.hidden),Pe.hidden=Ae}function ne(Pe,xe,Ae){if(L.nodeList(Pe))return Array.from(Pe).map(qe=>ne(qe,xe,Ae));if(L.element(Pe)){let qe="toggle";return Ae!==void 0&&(qe=Ae?"add":"remove"),Pe.classList[qe](xe),Pe.classList.contains(xe)}return!1}function pe(Pe,xe){return L.element(Pe)&&Pe.classList.contains(xe)}function oe(Pe,xe){const{prototype:Ae}=Element;return(Ae.matches||Ae.webkitMatchesSelector||Ae.mozMatchesSelector||Ae.msMatchesSelector||function(){return Array.from(document.querySelectorAll(xe)).includes(this)}).call(Pe,xe)}function q(Pe){return this.elements.container.querySelectorAll(Pe)}function J(Pe){return this.elements.container.querySelector(Pe)}function me(Pe=null,xe=!1){L.element(Pe)&&Pe.focus({preventScroll:!0,focusVisible:xe})}const re={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},he={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check(Pe,xe){const Ae=he[Pe]||xe!=="html5";return{api:Ae,ui:Ae&&he.rangeInput}},pip:!(G.isIPhone||!L.function(R("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||R("video").disablePictureInPicture)),airplay:L.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime(Pe){if(L.empty(Pe))return!1;const[xe]=Pe.split("/");let Ae=Pe;if(!this.isHTML5||xe!==this.type)return!1;Object.keys(re).includes(Ae)&&(Ae+=`; codecs="${re[Pe]}"`);try{return!!(Ae&&this.media.canPlayType(Ae).replace(/no/,""))}catch{return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(()=>{const Pe=document.createElement("input");return Pe.type="range",Pe.type==="range"})(),touch:"ontouchstart"in document.documentElement,transitions:W!==!1,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},Ee=(()=>{let Pe=!1;try{const xe=Object.defineProperty({},"passive",{get:()=>(Pe=!0,null)});window.addEventListener("test",null,xe),window.removeEventListener("test",null,xe)}catch{}return Pe})();function fe(Pe,xe,Ae,qe=!1,wt=!0,kt=!1){if(!Pe||!("addEventListener"in Pe)||L.empty(xe)||!L.function(Ae))return;const ut=xe.split(" ");let Ft=kt;Ee&&(Ft={passive:wt,capture:kt}),ut.forEach(tn=>{this&&this.eventListeners&&qe&&this.eventListeners.push({element:Pe,type:tn,callback:Ae,options:Ft}),Pe[qe?"addEventListener":"removeEventListener"](tn,Ae,Ft)})}function H(Pe,xe="",Ae,qe=!0,wt=!1){fe.call(this,Pe,xe,Ae,!0,qe,wt)}function z(Pe,xe="",Ae,qe=!0,wt=!1){fe.call(this,Pe,xe,Ae,!1,qe,wt)}function _e(Pe,xe="",Ae,qe=!0,wt=!1){const kt=(...ut)=>{z(Pe,xe,kt,qe,wt),Ae.apply(this,ut)};fe.call(this,Pe,xe,kt,!0,qe,wt)}function ae(Pe,xe="",Ae=!1,qe={}){if(!L.element(Pe)||L.empty(xe))return;const wt=new CustomEvent(xe,{bubbles:Ae,detail:{...qe,plyr:this}});Pe.dispatchEvent(wt)}function ge(){this&&this.eventListeners&&(this.eventListeners.forEach(Pe=>{const{element:xe,type:Ae,callback:qe,options:wt}=Pe;xe.removeEventListener(Ae,qe,wt)}),this.eventListeners=[])}function Be(){return new Promise(Pe=>this.ready?setTimeout(Pe,0):H.call(this,this.elements.container,"ready",Pe)).then(()=>{})}function Ke(Pe){L.promise(Pe)&&Pe.then(null,()=>{})}function He(Pe){return L.array(Pe)?Pe.filter((xe,Ae)=>Pe.indexOf(xe)===Ae):Pe}function ye(Pe,xe){return L.array(Pe)&&Pe.length?Pe.reduce((Ae,qe)=>Math.abs(qe-xe)<Math.abs(Ae-xe)?qe:Ae):null}function Le(Pe){return!(!window||!window.CSS)&&window.CSS.supports(Pe)}const Ue=[[1,1],[4,3],[3,4],[5,4],[4,5],[3,2],[2,3],[16,10],[10,16],[16,9],[9,16],[21,9],[9,21],[32,9],[9,32]].reduce((Pe,[xe,Ae])=>({...Pe,[xe/Ae]:[xe,Ae]}),{});function Xe(Pe){return L.array(Pe)||L.string(Pe)&&Pe.includes(":")?(L.array(Pe)?Pe:Pe.split(":")).map(Number).every(L.number):!1}function Fe(Pe){if(!L.array(Pe)||!Pe.every(L.number))return null;const[xe,Ae]=Pe,qe=(kt,ut)=>ut===0?kt:qe(ut,kt%ut),wt=qe(xe,Ae);return[xe/wt,Ae/wt]}function ht(Pe){const xe=qe=>Xe(qe)?qe.split(":").map(Number):null;let Ae=xe(Pe);if(Ae===null&&(Ae=xe(this.config.ratio)),Ae===null&&!L.empty(this.embed)&&L.array(this.embed.ratio)&&({ratio:Ae}=this.embed),Ae===null&&this.isHTML5){const{videoWidth:qe,videoHeight:wt}=this.media;Ae=[qe,wt]}return Fe(Ae)}function Ne(Pe){if(!this.isVideo)return{};const{wrapper:xe}=this.elements,Ae=ht.call(this,Pe);if(!L.array(Ae))return{};const[qe,wt]=Fe(Ae),kt=100/qe*wt;if(Le(`aspect-ratio: ${qe}/${wt}`)?xe.style.aspectRatio=`${qe}/${wt}`:xe.style.paddingBottom=`${kt}%`,this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){const ut=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),Ft=(ut-kt)/(ut/50);this.fullscreen.active?xe.style.paddingBottom=null:this.media.style.transform=`translateY(-${Ft}%)`}else this.isHTML5&&xe.classList.add(this.config.classNames.videoFixedRatio);return{padding:kt,ratio:Ae}}function Ce(Pe,xe,Ae=.05){const qe=Pe/xe,wt=ye(Object.keys(Ue),qe);return Math.abs(wt-qe)<=Ae?Ue[wt]:[Pe,xe]}const we={getSources(){return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(Pe=>{const xe=Pe.getAttribute("type");return!!L.empty(xe)||he.mime.call(this,xe)}):[]},getQualityOptions(){return this.config.quality.forced?this.config.quality.options:we.getSources.call(this).map(Pe=>Number(Pe.getAttribute("size"))).filter(Boolean)},setup(){if(!this.isHTML5)return;const Pe=this;Pe.options.speed=Pe.config.speed.options,L.empty(this.config.ratio)||Ne.call(Pe),Object.defineProperty(Pe.media,"quality",{get(){const xe=we.getSources.call(Pe).find(Ae=>Ae.getAttribute("src")===Pe.source);return xe&&Number(xe.getAttribute("size"))},set(xe){if(Pe.quality!==xe){if(Pe.config.quality.forced&&L.function(Pe.config.quality.onChange))Pe.config.quality.onChange(xe);else{const Ae=we.getSources.call(Pe).find(tn=>Number(tn.getAttribute("size"))===xe);if(!Ae)return;const{currentTime:qe,paused:wt,preload:kt,readyState:ut,playbackRate:Ft}=Pe.media;Pe.media.src=Ae.getAttribute("src"),(kt!=="none"||ut)&&(Pe.once("loadedmetadata",()=>{Pe.speed=Ft,Pe.currentTime=qe,wt||Ke(Pe.play())}),Pe.media.load())}ae.call(Pe,Pe.media,"qualitychange",!1,{quality:xe})}}})},cancelRequests(){this.isHTML5&&(j(we.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function $e(Pe,...xe){return L.empty(Pe)?Pe:Pe.toString().replace(/{(\d+)}/g,(Ae,qe)=>xe[qe].toString())}const Ot=(Pe="",xe="",Ae="")=>Pe.replace(new RegExp(xe.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),Ae.toString()),Pt=(Pe="")=>Pe.toString().replace(/\w\S*/g,xe=>xe.charAt(0).toUpperCase()+xe.slice(1).toLowerCase());function Ie(Pe=""){let xe=Pe.toString();return xe=function(Ae=""){let qe=Ae.toString();return qe=Ot(qe,"-"," "),qe=Ot(qe,"_"," "),qe=Pt(qe),Ot(qe," ","")}(xe),xe.charAt(0).toLowerCase()+xe.slice(1)}function Bt(Pe){const xe=document.createElement("div");return xe.appendChild(Pe),xe.innerHTML}const mt={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},rt={get(Pe="",xe={}){if(L.empty(Pe)||L.empty(xe))return"";let Ae=k(xe.i18n,Pe);if(L.empty(Ae))return Object.keys(mt).includes(Pe)?mt[Pe]:"";const qe={"{seektime}":xe.seekTime,"{title}":xe.title};return Object.entries(qe).forEach(([wt,kt])=>{Ae=Ot(Ae,wt,kt)}),Ae}};class ce{constructor(xe){r(this,"get",Ae=>{if(!ce.supported||!this.enabled)return null;const qe=window.localStorage.getItem(this.key);if(L.empty(qe))return null;const wt=JSON.parse(qe);return L.string(Ae)&&Ae.length?wt[Ae]:wt}),r(this,"set",Ae=>{if(!ce.supported||!this.enabled||!L.object(Ae))return;let qe=this.get();L.empty(qe)&&(qe={}),x(qe,Ae);try{window.localStorage.setItem(this.key,JSON.stringify(qe))}catch{}}),this.enabled=xe.config.storage.enabled,this.key=xe.config.storage.key}static get supported(){try{if(!("localStorage"in window))return!1;const xe="___test";return window.localStorage.setItem(xe,xe),window.localStorage.removeItem(xe),!0}catch{return!1}}}function Re(Pe,xe="text"){return new Promise((Ae,qe)=>{try{const wt=new XMLHttpRequest;if(!("withCredentials"in wt))return;wt.addEventListener("load",()=>{if(xe==="text")try{Ae(JSON.parse(wt.responseText))}catch{Ae(wt.responseText)}else Ae(wt.response)}),wt.addEventListener("error",()=>{throw new Error(wt.status)}),wt.open("GET",Pe,!0),wt.responseType=xe,wt.send()}catch(wt){qe(wt)}})}function nt(Pe,xe){if(!L.string(Pe))return;const Ae="cache",qe=L.string(xe);let wt=!1;const kt=()=>document.getElementById(xe)!==null,ut=(Ft,tn)=>{Ft.innerHTML=tn,qe&&kt()||document.body.insertAdjacentElement("afterbegin",Ft)};if(!qe||!kt()){const Ft=ce.supported,tn=document.createElement("div");if(tn.setAttribute("hidden",""),qe&&tn.setAttribute("id",xe),Ft){const In=window.localStorage.getItem(`${Ae}-${xe}`);if(wt=In!==null,wt){const rr=JSON.parse(In);ut(tn,rr.content)}}Re(Pe).then(In=>{if(!L.empty(In)){if(Ft)try{window.localStorage.setItem(`${Ae}-${xe}`,JSON.stringify({content:In}))}catch{}ut(tn,In)}}).catch(()=>{})}}const st=Pe=>Math.trunc(Pe/60/60%60,10),vt=Pe=>Math.trunc(Pe/60%60,10),ze=Pe=>Math.trunc(Pe%60,10);function It(Pe=0,xe=!1,Ae=!1){if(!L.number(Pe))return It(void 0,xe,Ae);const qe=Ft=>`0${Ft}`.slice(-2);let wt=st(Pe);const kt=vt(Pe),ut=ze(Pe);return wt=xe||wt>0?`${wt}:`:"",`${Ae&&Pe>0?"-":""}${wt}${qe(kt)}:${qe(ut)}`}const on={getIconUrl(){const Pe=new URL(this.config.iconUrl,window.location),xe=window.location.host?window.location.host:window.top.location.host,Ae=Pe.host!==xe||G.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:Ae}},findElements(){try{return this.elements.controls=J.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:q.call(this,this.config.selectors.buttons.play),pause:J.call(this,this.config.selectors.buttons.pause),restart:J.call(this,this.config.selectors.buttons.restart),rewind:J.call(this,this.config.selectors.buttons.rewind),fastForward:J.call(this,this.config.selectors.buttons.fastForward),mute:J.call(this,this.config.selectors.buttons.mute),pip:J.call(this,this.config.selectors.buttons.pip),airplay:J.call(this,this.config.selectors.buttons.airplay),settings:J.call(this,this.config.selectors.buttons.settings),captions:J.call(this,this.config.selectors.buttons.captions),fullscreen:J.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=J.call(this,this.config.selectors.progress),this.elements.inputs={seek:J.call(this,this.config.selectors.inputs.seek),volume:J.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:J.call(this,this.config.selectors.display.buffer),currentTime:J.call(this,this.config.selectors.display.currentTime),duration:J.call(this,this.config.selectors.display.duration)},L.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(`.${this.config.classNames.tooltip}`)),!0}catch(Pe){return this.debug.warn("It looks like there is a problem with your custom controls HTML",Pe),this.toggleNativeControls(!0),!1}},createIcon(Pe,xe){const Ae="http://www.w3.org/2000/svg",qe=on.getIconUrl.call(this),wt=`${qe.cors?"":qe.url}#${this.config.iconPrefix}`,kt=document.createElementNS(Ae,"svg");B(kt,x(xe,{"aria-hidden":"true",focusable:"false"}));const ut=document.createElementNS(Ae,"use"),Ft=`${wt}-${Pe}`;return"href"in ut&&ut.setAttributeNS("http://www.w3.org/1999/xlink","href",Ft),ut.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",Ft),kt.appendChild(ut),kt},createLabel(Pe,xe={}){const Ae=rt.get(Pe,this.config);return R("span",{...xe,class:[xe.class,this.config.classNames.hidden].filter(Boolean).join(" ")},Ae)},createBadge(Pe){if(L.empty(Pe))return null;const xe=R("span",{class:this.config.classNames.menu.value});return xe.appendChild(R("span",{class:this.config.classNames.menu.badge},Pe)),xe},createButton(Pe,xe){const Ae=x({},xe);let qe=Ie(Pe);const wt={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(ut=>{Object.keys(Ae).includes(ut)&&(wt[ut]=Ae[ut],delete Ae[ut])}),wt.element!=="button"||Object.keys(Ae).includes("type")||(Ae.type="button"),Object.keys(Ae).includes("class")?Ae.class.split(" ").some(ut=>ut===this.config.classNames.control)||x(Ae,{class:`${Ae.class} ${this.config.classNames.control}`}):Ae.class=this.config.classNames.control,Pe){case"play":wt.toggle=!0,wt.label="play",wt.labelPressed="pause",wt.icon="play",wt.iconPressed="pause";break;case"mute":wt.toggle=!0,wt.label="mute",wt.labelPressed="unmute",wt.icon="volume",wt.iconPressed="muted";break;case"captions":wt.toggle=!0,wt.label="enableCaptions",wt.labelPressed="disableCaptions",wt.icon="captions-off",wt.iconPressed="captions-on";break;case"fullscreen":wt.toggle=!0,wt.label="enterFullscreen",wt.labelPressed="exitFullscreen",wt.icon="enter-fullscreen",wt.iconPressed="exit-fullscreen";break;case"play-large":Ae.class+=` ${this.config.classNames.control}--overlaid`,qe="play",wt.label="play",wt.icon="play";break;default:L.empty(wt.label)&&(wt.label=qe),L.empty(wt.icon)&&(wt.icon=Pe)}const kt=R(wt.element);return wt.toggle?(kt.appendChild(on.createIcon.call(this,wt.iconPressed,{class:"icon--pressed"})),kt.appendChild(on.createIcon.call(this,wt.icon,{class:"icon--not-pressed"})),kt.appendChild(on.createLabel.call(this,wt.labelPressed,{class:"label--pressed"})),kt.appendChild(on.createLabel.call(this,wt.label,{class:"label--not-pressed"}))):(kt.appendChild(on.createIcon.call(this,wt.icon)),kt.appendChild(on.createLabel.call(this,wt.label))),x(Ae,te(this.config.selectors.buttons[qe],Ae)),B(kt,Ae),qe==="play"?(L.array(this.elements.buttons[qe])||(this.elements.buttons[qe]=[]),this.elements.buttons[qe].push(kt)):this.elements.buttons[qe]=kt,kt},createRange(Pe,xe){const Ae=R("input",x(te(this.config.selectors.inputs[Pe]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":rt.get(Pe,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},xe));return this.elements.inputs[Pe]=Ae,on.updateRangeFill.call(this,Ae),P.setup(Ae),Ae},createProgress(Pe,xe){const Ae=R("progress",x(te(this.config.selectors.display[Pe]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},xe));if(Pe!=="volume"){Ae.appendChild(R("span",null,"0"));const qe={played:"played",buffer:"buffered"}[Pe],wt=qe?rt.get(qe,this.config):"";Ae.innerText=`% ${wt.toLowerCase()}`}return this.elements.display[Pe]=Ae,Ae},createTime(Pe,xe){const Ae=te(this.config.selectors.display[Pe],xe),qe=R("div",x(Ae,{class:`${Ae.class?Ae.class:""} ${this.config.classNames.display.time} `.trim(),"aria-label":rt.get(Pe,this.config),role:"timer"}),"00:00");return this.elements.display[Pe]=qe,qe},bindMenuItemShortcuts(Pe,xe){H.call(this,Pe,"keydown keyup",Ae=>{if(![" ","ArrowUp","ArrowDown","ArrowRight"].includes(Ae.key)||(Ae.preventDefault(),Ae.stopPropagation(),Ae.type==="keydown"))return;const qe=oe(Pe,'[role="menuitemradio"]');if(!qe&&[" ","ArrowRight"].includes(Ae.key))on.showMenuPanel.call(this,xe,!0);else{let wt;Ae.key!==" "&&(Ae.key==="ArrowDown"||qe&&Ae.key==="ArrowRight"?(wt=Pe.nextElementSibling,L.element(wt)||(wt=Pe.parentNode.firstElementChild)):(wt=Pe.previousElementSibling,L.element(wt)||(wt=Pe.parentNode.lastElementChild)),me.call(this,wt,!0))}},!1),H.call(this,Pe,"keyup",Ae=>{Ae.key==="Return"&&on.focusFirstMenuItem.call(this,null,!0)})},createMenuItem({value:Pe,list:xe,type:Ae,title:qe,badge:wt=null,checked:kt=!1}){const ut=te(this.config.selectors.inputs[Ae]),Ft=R("button",x(ut,{type:"button",role:"menuitemradio",class:`${this.config.classNames.control} ${ut.class?ut.class:""}`.trim(),"aria-checked":kt,value:Pe})),tn=R("span");tn.innerHTML=qe,L.element(wt)&&tn.appendChild(wt),Ft.appendChild(tn),Object.defineProperty(Ft,"checked",{enumerable:!0,get:()=>Ft.getAttribute("aria-checked")==="true",set(In){In&&Array.from(Ft.parentNode.children).filter(rr=>oe(rr,'[role="menuitemradio"]')).forEach(rr=>rr.setAttribute("aria-checked","false")),Ft.setAttribute("aria-checked",In?"true":"false")}}),this.listeners.bind(Ft,"click keyup",In=>{if(!L.keyboardEvent(In)||In.key===" "){switch(In.preventDefault(),In.stopPropagation(),Ft.checked=!0,Ae){case"language":this.currentTrack=Number(Pe);break;case"quality":this.quality=Pe;break;case"speed":this.speed=parseFloat(Pe)}on.showMenuPanel.call(this,"home",L.keyboardEvent(In))}},Ae,!1),on.bindMenuItemShortcuts.call(this,Ft,Ae),xe.appendChild(Ft)},formatTime(Pe=0,xe=!1){return L.number(Pe)?It(Pe,st(this.duration)>0,xe):Pe},updateTimeDisplay(Pe=null,xe=0,Ae=!1){L.element(Pe)&&L.number(xe)&&(Pe.innerText=on.formatTime(xe,Ae))},updateVolume(){this.supported.ui&&(L.element(this.elements.inputs.volume)&&on.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),L.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||this.volume===0))},setRange(Pe,xe=0){L.element(Pe)&&(Pe.value=xe,on.updateRangeFill.call(this,Pe))},updateProgress(Pe){if(!this.supported.ui||!L.event(Pe))return;let xe=0;const Ae=(kt,ut)=>{const Ft=L.number(ut)?ut:0,tn=L.element(kt)?kt:this.elements.display.buffer;if(L.element(tn)){tn.value=Ft;const In=tn.getElementsByTagName("span")[0];L.element(In)&&(In.childNodes[0].nodeValue=Ft)}};if(Pe)switch(Pe.type){case"timeupdate":case"seeking":case"seeked":qe=this.currentTime,wt=this.duration,xe=qe===0||wt===0||Number.isNaN(qe)||Number.isNaN(wt)?0:(qe/wt*100).toFixed(2),Pe.type==="timeupdate"&&on.setRange.call(this,this.elements.inputs.seek,xe);break;case"playing":case"progress":Ae(this.elements.display.buffer,100*this.buffered)}var qe,wt},updateRangeFill(Pe){const xe=L.event(Pe)?Pe.target:Pe;if(L.element(xe)&&xe.getAttribute("type")==="range"){if(oe(xe,this.config.selectors.inputs.seek)){xe.setAttribute("aria-valuenow",this.currentTime);const Ae=on.formatTime(this.currentTime),qe=on.formatTime(this.duration),wt=rt.get("seekLabel",this.config);xe.setAttribute("aria-valuetext",wt.replace("{currentTime}",Ae).replace("{duration}",qe))}else if(oe(xe,this.config.selectors.inputs.volume)){const Ae=100*xe.value;xe.setAttribute("aria-valuenow",Ae),xe.setAttribute("aria-valuetext",`${Ae.toFixed(1)}%`)}else xe.setAttribute("aria-valuenow",xe.value);(G.isWebKit||G.isIPadOS)&&xe.style.setProperty("--value",xe.value/xe.max*100+"%")}},updateSeekTooltip(Pe){var xe,Ae;if(!this.config.tooltips.seek||!L.element(this.elements.inputs.seek)||!L.element(this.elements.display.seekTooltip)||this.duration===0)return;const qe=this.elements.display.seekTooltip,wt=`${this.config.classNames.tooltip}--visible`,kt=rr=>ne(qe,wt,rr);if(this.touch)return void kt(!1);let ut=0;const Ft=this.elements.progress.getBoundingClientRect();if(L.event(Pe))ut=100/Ft.width*(Pe.pageX-Ft.left);else{if(!pe(qe,wt))return;ut=parseFloat(qe.style.left,10)}ut<0?ut=0:ut>100&&(ut=100);const tn=this.duration/100*ut;qe.innerText=on.formatTime(tn);const In=(xe=this.config.markers)===null||xe===void 0||(Ae=xe.points)===null||Ae===void 0?void 0:Ae.find(({time:rr})=>rr===Math.round(tn));In&&qe.insertAdjacentHTML("afterbegin",`${In.label}<br>`),qe.style.left=`${ut}%`,L.event(Pe)&&["mouseenter","mouseleave"].includes(Pe.type)&&kt(Pe.type==="mouseenter")},timeUpdate(Pe){const xe=!L.element(this.elements.display.duration)&&this.config.invertTime;on.updateTimeDisplay.call(this,this.elements.display.currentTime,xe?this.duration-this.currentTime:this.currentTime,xe),Pe&&Pe.type==="timeupdate"&&this.media.seeking||on.updateProgress.call(this,Pe)},durationUpdate(){if(!this.supported.ui||!this.config.invertTime&&this.currentTime)return;if(this.duration>=2**32)return ie(this.elements.display.currentTime,!0),void ie(this.elements.progress,!0);L.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);const Pe=L.element(this.elements.display.duration);!Pe&&this.config.displayDuration&&this.paused&&on.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),Pe&&on.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),this.config.markers.enabled&&on.setMarkers.call(this),on.updateSeekTooltip.call(this)},toggleMenuButton(Pe,xe){ie(this.elements.settings.buttons[Pe],!xe)},updateSetting(Pe,xe,Ae){const qe=this.elements.settings.panels[Pe];let wt=null,kt=xe;if(Pe==="captions")wt=this.currentTrack;else{if(wt=L.empty(Ae)?this[Pe]:Ae,L.empty(wt)&&(wt=this.config[Pe].default),!L.empty(this.options[Pe])&&!this.options[Pe].includes(wt))return void this.debug.warn(`Unsupported value of '${wt}' for ${Pe}`);if(!this.config[Pe].options.includes(wt))return void this.debug.warn(`Disabled value of '${wt}' for ${Pe}`)}if(L.element(kt)||(kt=qe&&qe.querySelector('[role="menu"]')),!L.element(kt))return;this.elements.settings.buttons[Pe].querySelector(`.${this.config.classNames.menu.value}`).innerHTML=on.getLabel.call(this,Pe,wt);const ut=kt&&kt.querySelector(`[value="${wt}"]`);L.element(ut)&&(ut.checked=!0)},getLabel(Pe,xe){switch(Pe){case"speed":return xe===1?rt.get("normal",this.config):`${xe}&times;`;case"quality":if(L.number(xe)){const Ae=rt.get(`qualityLabel.${xe}`,this.config);return Ae.length?Ae:`${xe}p`}return Pt(xe);case"captions":return Ln.getLabel.call(this);default:return null}},setQualityMenu(Pe){if(!L.element(this.elements.settings.panels.quality))return;const xe="quality",Ae=this.elements.settings.panels.quality.querySelector('[role="menu"]');L.array(Pe)&&(this.options.quality=He(Pe).filter(kt=>this.config.quality.options.includes(kt)));const qe=!L.empty(this.options.quality)&&this.options.quality.length>1;if(on.toggleMenuButton.call(this,xe,qe),$(Ae),on.checkMenu.call(this),!qe)return;const wt=kt=>{const ut=rt.get(`qualityBadge.${kt}`,this.config);return ut.length?on.createBadge.call(this,ut):null};this.options.quality.sort((kt,ut)=>{const Ft=this.config.quality.options;return Ft.indexOf(kt)>Ft.indexOf(ut)?1:-1}).forEach(kt=>{on.createMenuItem.call(this,{value:kt,list:Ae,type:xe,title:on.getLabel.call(this,"quality",kt),badge:wt(kt)})}),on.updateSetting.call(this,xe,Ae)},setCaptionsMenu(){if(!L.element(this.elements.settings.panels.captions))return;const Pe="captions",xe=this.elements.settings.panels.captions.querySelector('[role="menu"]'),Ae=Ln.getTracks.call(this),qe=!!Ae.length;if(on.toggleMenuButton.call(this,Pe,qe),$(xe),on.checkMenu.call(this),!qe)return;const wt=Ae.map((kt,ut)=>({value:ut,checked:this.captions.toggled&&this.currentTrack===ut,title:Ln.getLabel.call(this,kt),badge:kt.language&&on.createBadge.call(this,kt.language.toUpperCase()),list:xe,type:"language"}));wt.unshift({value:-1,checked:!this.captions.toggled,title:rt.get("disabled",this.config),list:xe,type:"language"}),wt.forEach(on.createMenuItem.bind(this)),on.updateSetting.call(this,Pe,xe)},setSpeedMenu(){if(!L.element(this.elements.settings.panels.speed))return;const Pe="speed",xe=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter(qe=>qe>=this.minimumSpeed&&qe<=this.maximumSpeed);const Ae=!L.empty(this.options.speed)&&this.options.speed.length>1;on.toggleMenuButton.call(this,Pe,Ae),$(xe),on.checkMenu.call(this),Ae&&(this.options.speed.forEach(qe=>{on.createMenuItem.call(this,{value:qe,list:xe,type:Pe,title:on.getLabel.call(this,"speed",qe)})}),on.updateSetting.call(this,Pe,xe))},checkMenu(){const{buttons:Pe}=this.elements.settings,xe=!L.empty(Pe)&&Object.values(Pe).some(Ae=>!Ae.hidden);ie(this.elements.settings.menu,!xe)},focusFirstMenuItem(Pe,xe=!1){if(this.elements.settings.popup.hidden)return;let Ae=Pe;L.element(Ae)||(Ae=Object.values(this.elements.settings.panels).find(wt=>!wt.hidden));const qe=Ae.querySelector('[role^="menuitem"]');me.call(this,qe,xe)},toggleMenu(Pe){const{popup:xe}=this.elements.settings,Ae=this.elements.buttons.settings;if(!L.element(xe)||!L.element(Ae))return;const{hidden:qe}=xe;let wt=qe;if(L.boolean(Pe))wt=Pe;else if(L.keyboardEvent(Pe)&&Pe.key==="Escape")wt=!1;else if(L.event(Pe)){const kt=L.function(Pe.composedPath)?Pe.composedPath()[0]:Pe.target,ut=xe.contains(kt);if(ut||!ut&&Pe.target!==Ae&&wt)return}Ae.setAttribute("aria-expanded",wt),ie(xe,!wt),ne(this.elements.container,this.config.classNames.menu.open,wt),wt&&L.keyboardEvent(Pe)?on.focusFirstMenuItem.call(this,null,!0):wt||qe||me.call(this,Ae,L.keyboardEvent(Pe))},getMenuSize(Pe){const xe=Pe.cloneNode(!0);xe.style.position="absolute",xe.style.opacity=0,xe.removeAttribute("hidden"),Pe.parentNode.appendChild(xe);const Ae=xe.scrollWidth,qe=xe.scrollHeight;return j(xe),{width:Ae,height:qe}},showMenuPanel(Pe="",xe=!1){const Ae=this.elements.container.querySelector(`#plyr-settings-${this.id}-${Pe}`);if(!L.element(Ae))return;const qe=Ae.parentNode,wt=Array.from(qe.children).find(kt=>!kt.hidden);if(he.transitions&&!he.reducedMotion){qe.style.width=`${wt.scrollWidth}px`,qe.style.height=`${wt.scrollHeight}px`;const kt=on.getMenuSize.call(this,Ae),ut=Ft=>{Ft.target===qe&&["width","height"].includes(Ft.propertyName)&&(qe.style.width="",qe.style.height="",z.call(this,qe,W,ut))};H.call(this,qe,W,ut),qe.style.width=`${kt.width}px`,qe.style.height=`${kt.height}px`}ie(wt,!0),ie(Ae,!1),on.focusFirstMenuItem.call(this,Ae,xe)},setDownloadUrl(){const Pe=this.elements.buttons.download;L.element(Pe)&&Pe.setAttribute("href",this.download)},create(Pe){const{bindMenuItemShortcuts:xe,createButton:Ae,createProgress:qe,createRange:wt,createTime:kt,setQualityMenu:ut,setSpeedMenu:Ft,showMenuPanel:tn}=on;this.elements.controls=null,L.array(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(Ae.call(this,"play-large"));const In=R("div",te(this.config.selectors.controls.wrapper));this.elements.controls=In;const rr={class:"plyr__controls__item"};return He(L.array(this.config.controls)?this.config.controls:[]).forEach(Sr=>{if(Sr==="restart"&&In.appendChild(Ae.call(this,"restart",rr)),Sr==="rewind"&&In.appendChild(Ae.call(this,"rewind",rr)),Sr==="play"&&In.appendChild(Ae.call(this,"play",rr)),Sr==="fast-forward"&&In.appendChild(Ae.call(this,"fast-forward",rr)),Sr==="progress"){const Yr=R("div",{class:`${rr.class} plyr__progress__container`}),Pr=R("div",te(this.config.selectors.progress));if(Pr.appendChild(wt.call(this,"seek",{id:`plyr-seek-${Pe.id}`})),Pr.appendChild(qe.call(this,"buffer")),this.config.tooltips.seek){const Mn=R("span",{class:this.config.classNames.tooltip},"00:00");Pr.appendChild(Mn),this.elements.display.seekTooltip=Mn}this.elements.progress=Pr,Yr.appendChild(this.elements.progress),In.appendChild(Yr)}if(Sr==="current-time"&&In.appendChild(kt.call(this,"currentTime",rr)),Sr==="duration"&&In.appendChild(kt.call(this,"duration",rr)),Sr==="mute"||Sr==="volume"){let{volume:Yr}=this.elements;if(L.element(Yr)&&In.contains(Yr)||(Yr=R("div",x({},rr,{class:`${rr.class} plyr__volume`.trim()})),this.elements.volume=Yr,In.appendChild(Yr)),Sr==="mute"&&Yr.appendChild(Ae.call(this,"mute")),Sr==="volume"&&!G.isIos&&!G.isIPadOS){const Pr={max:1,step:.05,value:this.config.volume};Yr.appendChild(wt.call(this,"volume",x(Pr,{id:`plyr-volume-${Pe.id}`})))}}if(Sr==="captions"&&In.appendChild(Ae.call(this,"captions",rr)),Sr==="settings"&&!L.empty(this.config.settings)){const Yr=R("div",x({},rr,{class:`${rr.class} plyr__menu`.trim(),hidden:""}));Yr.appendChild(Ae.call(this,"settings",{"aria-haspopup":!0,"aria-controls":`plyr-settings-${Pe.id}`,"aria-expanded":!1}));const Pr=R("div",{class:"plyr__menu__container",id:`plyr-settings-${Pe.id}`,hidden:""}),Mn=R("div"),sr=R("div",{id:`plyr-settings-${Pe.id}-home`}),Ar=R("div",{role:"menu"});sr.appendChild(Ar),Mn.appendChild(sr),this.elements.settings.panels.home=sr,this.config.settings.forEach(vr=>{const qr=R("button",x(te(this.config.selectors.buttons.settings),{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--forward`,role:"menuitem","aria-haspopup":!0,hidden:""}));xe.call(this,qr,vr),H.call(this,qr,"click",()=>{tn.call(this,vr,!1)});const Dr=R("span",null,rt.get(vr,this.config)),eo=R("span",{class:this.config.classNames.menu.value});eo.innerHTML=Pe[vr],Dr.appendChild(eo),qr.appendChild(Dr),Ar.appendChild(qr);const Vo=R("div",{id:`plyr-settings-${Pe.id}-${vr}`,hidden:""}),Bn=R("button",{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--back`});Bn.appendChild(R("span",{"aria-hidden":!0},rt.get(vr,this.config))),Bn.appendChild(R("span",{class:this.config.classNames.hidden},rt.get("menuBack",this.config))),H.call(this,Vo,"keydown",ar=>{ar.key==="ArrowLeft"&&(ar.preventDefault(),ar.stopPropagation(),tn.call(this,"home",!0))},!1),H.call(this,Bn,"click",()=>{tn.call(this,"home",!1)}),Vo.appendChild(Bn),Vo.appendChild(R("div",{role:"menu"})),Mn.appendChild(Vo),this.elements.settings.buttons[vr]=qr,this.elements.settings.panels[vr]=Vo}),Pr.appendChild(Mn),Yr.appendChild(Pr),In.appendChild(Yr),this.elements.settings.popup=Pr,this.elements.settings.menu=Yr}if(Sr==="pip"&&he.pip&&In.appendChild(Ae.call(this,"pip",rr)),Sr==="airplay"&&he.airplay&&In.appendChild(Ae.call(this,"airplay",rr)),Sr==="download"){const Yr=x({},rr,{element:"a",href:this.download,target:"_blank"});this.isHTML5&&(Yr.download="");const{download:Pr}=this.config.urls;!L.url(Pr)&&this.isEmbed&&x(Yr,{icon:`logo-${this.provider}`,label:this.provider}),In.appendChild(Ae.call(this,"download",Yr))}Sr==="fullscreen"&&In.appendChild(Ae.call(this,"fullscreen",rr))}),this.isHTML5&&ut.call(this,we.getQualityOptions.call(this)),Ft.call(this),In},inject(){if(this.config.loadSprite){const wt=on.getIconUrl.call(this);wt.cors&&nt(wt.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());let Pe=null;this.elements.controls=null;const xe={id:this.id,seektime:this.config.seekTime,title:this.config.title};let Ae=!0;L.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,xe)),this.config.controls||(this.config.controls=[]),L.element(this.config.controls)||L.string(this.config.controls)?Pe=this.config.controls:(Pe=on.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:Ln.getLabel.call(this)}),Ae=!1);let qe;if(Ae&&L.string(this.config.controls)&&(Pe=(wt=>{let kt=wt;return Object.entries(xe).forEach(([ut,Ft])=>{kt=Ot(kt,`{${ut}}`,Ft)}),kt})(Pe)),L.string(this.config.selectors.controls.container)&&(qe=document.querySelector(this.config.selectors.controls.container)),L.element(qe)||(qe=this.elements.container),qe[L.element(Pe)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",Pe),L.element(this.elements.controls)||on.findElements.call(this),!L.empty(this.elements.buttons)){const wt=kt=>{const ut=this.config.classNames.controlPressed;kt.setAttribute("aria-pressed","false"),Object.defineProperty(kt,"pressed",{configurable:!0,enumerable:!0,get:()=>pe(kt,ut),set(Ft=!1){ne(kt,ut,Ft),kt.setAttribute("aria-pressed",Ft?"true":"false")}})};Object.values(this.elements.buttons).filter(Boolean).forEach(kt=>{L.array(kt)||L.nodeList(kt)?Array.from(kt).filter(Boolean).forEach(wt):wt(kt)})}if(G.isEdge&&F(qe),this.config.tooltips.controls){const{classNames:wt,selectors:kt}=this.config,ut=`${kt.controls.wrapper} ${kt.labels} .${wt.hidden}`,Ft=q.call(this,ut);Array.from(Ft).forEach(tn=>{ne(tn,this.config.classNames.hidden,!1),ne(tn,this.config.classNames.tooltip,!0)})}},setMediaMetadata(){try{"mediaSession"in navigator&&(navigator.mediaSession.metadata=new window.MediaMetadata({title:this.config.mediaMetadata.title,artist:this.config.mediaMetadata.artist,album:this.config.mediaMetadata.album,artwork:this.config.mediaMetadata.artwork}))}catch{}},setMarkers(){var Pe,xe;if(!this.duration||this.elements.markers)return;const Ae=(Pe=this.config.markers)===null||Pe===void 0||(xe=Pe.points)===null||xe===void 0?void 0:xe.filter(({time:tn})=>tn>0&&tn<this.duration);if(Ae==null||!Ae.length)return;const qe=document.createDocumentFragment(),wt=document.createDocumentFragment();let kt=null;const ut=`${this.config.classNames.tooltip}--visible`,Ft=tn=>ne(kt,ut,tn);Ae.forEach(tn=>{const In=R("span",{class:this.config.classNames.marker},""),rr=tn.time/this.duration*100+"%";kt&&(In.addEventListener("mouseenter",()=>{tn.label||(kt.style.left=rr,kt.innerHTML=tn.label,Ft(!0))}),In.addEventListener("mouseleave",()=>{Ft(!1)})),In.addEventListener("click",()=>{this.currentTime=tn.time}),In.style.left=rr,wt.appendChild(In)}),qe.appendChild(wt),this.config.tooltips.seek||(kt=R("span",{class:this.config.classNames.tooltip},""),qe.appendChild(kt)),this.elements.markers={points:wt,tip:kt},this.elements.progress.appendChild(qe)}};function Pn(Pe,xe=!0){let Ae=Pe;if(xe){const qe=document.createElement("a");qe.href=Ae,Ae=qe.href}try{return new URL(Ae)}catch{return null}}function Yn(Pe){const xe=new URLSearchParams;return L.object(Pe)&&Object.entries(Pe).forEach(([Ae,qe])=>{xe.set(Ae,qe)}),xe}const Ln={setup(){if(!this.supported.ui)return;if(!this.isVideo||this.isYouTube||this.isHTML5&&!he.textTracks)return void(L.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&on.setCaptionsMenu.call(this));var Pe,xe;if(L.element(this.elements.captions)||(this.elements.captions=R("div",te(this.config.selectors.captions)),this.elements.captions.setAttribute("dir","auto"),Pe=this.elements.captions,xe=this.elements.wrapper,L.element(Pe)&&L.element(xe)&&xe.parentNode.insertBefore(Pe,xe.nextSibling)),G.isIE&&window.URL){const kt=this.media.querySelectorAll("track");Array.from(kt).forEach(ut=>{const Ft=ut.getAttribute("src"),tn=Pn(Ft);tn!==null&&tn.hostname!==window.location.href.hostname&&["http:","https:"].includes(tn.protocol)&&Re(Ft,"blob").then(In=>{ut.setAttribute("src",window.URL.createObjectURL(In))}).catch(()=>{j(ut)})})}const Ae=He((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map(kt=>kt.split("-")[0]));let qe=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();qe==="auto"&&([qe]=Ae);let wt=this.storage.get("captions");if(L.boolean(wt)||({active:wt}=this.config.captions),Object.assign(this.captions,{toggled:!1,active:wt,language:qe,languages:Ae}),this.isHTML5){const kt=this.config.captions.update?"addtrack removetrack":"removetrack";H.call(this,this.media.textTracks,kt,Ln.update.bind(this))}setTimeout(Ln.update.bind(this),0)},update(){const Pe=Ln.getTracks.call(this,!0),{active:xe,language:Ae,meta:qe,currentTrackNode:wt}=this.captions,kt=!!Pe.find(ut=>ut.language===Ae);this.isHTML5&&this.isVideo&&Pe.filter(ut=>!qe.get(ut)).forEach(ut=>{this.debug.log("Track added",ut),qe.set(ut,{default:ut.mode==="showing"}),ut.mode==="showing"&&(ut.mode="hidden"),H.call(this,ut,"cuechange",()=>Ln.updateCues.call(this))}),(kt&&this.language!==Ae||!Pe.includes(wt))&&(Ln.setLanguage.call(this,Ae),Ln.toggle.call(this,xe&&kt)),this.elements&&ne(this.elements.container,this.config.classNames.captions.enabled,!L.empty(Pe)),L.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&on.setCaptionsMenu.call(this)},toggle(Pe,xe=!0){if(!this.supported.ui)return;const{toggled:Ae}=this.captions,qe=this.config.classNames.captions.active,wt=L.nullOrUndefined(Pe)?!Ae:Pe;if(wt!==Ae){if(xe||(this.captions.active=wt,this.storage.set({captions:wt})),!this.language&&wt&&!xe){const kt=Ln.getTracks.call(this),ut=Ln.findTrack.call(this,[this.captions.language,...this.captions.languages],!0);return this.captions.language=ut.language,void Ln.set.call(this,kt.indexOf(ut))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=wt),ne(this.elements.container,qe,wt),this.captions.toggled=wt,on.updateSetting.call(this,"captions"),ae.call(this,this.media,wt?"captionsenabled":"captionsdisabled")}setTimeout(()=>{wt&&this.captions.toggled&&(this.captions.currentTrackNode.mode="hidden")})},set(Pe,xe=!0){const Ae=Ln.getTracks.call(this);if(Pe!==-1)if(L.number(Pe))if(Pe in Ae){if(this.captions.currentTrack!==Pe){this.captions.currentTrack=Pe;const qe=Ae[Pe],{language:wt}=qe||{};this.captions.currentTrackNode=qe,on.updateSetting.call(this,"captions"),xe||(this.captions.language=wt,this.storage.set({language:wt})),this.isVimeo&&this.embed.enableTextTrack(wt),ae.call(this,this.media,"languagechange")}Ln.toggle.call(this,!0,xe),this.isHTML5&&this.isVideo&&Ln.updateCues.call(this)}else this.debug.warn("Track not found",Pe);else this.debug.warn("Invalid caption argument",Pe);else Ln.toggle.call(this,!1,xe)},setLanguage(Pe,xe=!0){if(!L.string(Pe))return void this.debug.warn("Invalid language argument",Pe);const Ae=Pe.toLowerCase();this.captions.language=Ae;const qe=Ln.getTracks.call(this),wt=Ln.findTrack.call(this,[Ae]);Ln.set.call(this,qe.indexOf(wt),xe)},getTracks(Pe=!1){return Array.from((this.media||{}).textTracks||[]).filter(xe=>!this.isHTML5||Pe||this.captions.meta.has(xe)).filter(xe=>["captions","subtitles"].includes(xe.kind))},findTrack(Pe,xe=!1){const Ae=Ln.getTracks.call(this),qe=ut=>Number((this.captions.meta.get(ut)||{}).default),wt=Array.from(Ae).sort((ut,Ft)=>qe(Ft)-qe(ut));let kt;return Pe.every(ut=>(kt=wt.find(Ft=>Ft.language===ut),!kt)),kt||(xe?wt[0]:void 0)},getCurrentTrack(){return Ln.getTracks.call(this)[this.currentTrack]},getLabel(Pe){let xe=Pe;return!L.track(xe)&&he.textTracks&&this.captions.toggled&&(xe=Ln.getCurrentTrack.call(this)),L.track(xe)?L.empty(xe.label)?L.empty(xe.language)?rt.get("enabled",this.config):Pe.language.toUpperCase():xe.label:rt.get("disabled",this.config)},updateCues(Pe){if(!this.supported.ui)return;if(!L.element(this.elements.captions))return void this.debug.warn("No captions element to render to");if(!L.nullOrUndefined(Pe)&&!Array.isArray(Pe))return void this.debug.warn("updateCues: Invalid input",Pe);let xe=Pe;if(!xe){const qe=Ln.getCurrentTrack.call(this);xe=Array.from((qe||{}).activeCues||[]).map(wt=>wt.getCueAsHTML()).map(Bt)}const Ae=xe.map(qe=>qe.trim()).join(`
`);if(Ae!==this.elements.captions.innerHTML){$(this.elements.captions);const qe=R("span",te(this.config.selectors.caption));qe.innerHTML=Ae,this.elements.captions.appendChild(qe),ae.call(this,this.media,"cuechange")}}},bn={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"3.7.8/plyr.svg",blankVideo:"static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/oembed.json?url={0}"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",marker:"plyr__progress__marker",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id",hash:"data-plyr-embed-hash"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1},mediaMetadata:{title:"",artist:"",album:"",artwork:[]},markers:{enabled:!1,points:[]}},ir="picture-in-picture",Zn="inline",$n={html5:"html5",youtube:"youtube",vimeo:"vimeo"},jt="audio",Rn="video",jn=()=>{};class Tn{constructor(xe=!1){this.enabled=window.console&&xe,this.enabled&&this.log("Debugging enabled")}get log(){return this.enabled?Function.prototype.bind.call(console.log,console):jn}get warn(){return this.enabled?Function.prototype.bind.call(console.warn,console):jn}get error(){return this.enabled?Function.prototype.bind.call(console.error,console):jn}}class Nn{constructor(xe){r(this,"onChange",()=>{if(!this.supported)return;const Ae=this.player.elements.buttons.fullscreen;L.element(Ae)&&(Ae.pressed=this.active);const qe=this.target===this.player.media?this.target:this.player.elements.container;ae.call(this.player,qe,this.active?"enterfullscreen":"exitfullscreen",!0)}),r(this,"toggleFallback",(Ae=!1)=>{if(Ae?this.scrollPosition={x:window.scrollX??0,y:window.scrollY??0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=Ae?"hidden":"",ne(this.target,this.player.config.classNames.fullscreen.fallback,Ae),G.isIos){let qe=document.head.querySelector('meta[name="viewport"]');const wt="viewport-fit=cover";qe||(qe=document.createElement("meta"),qe.setAttribute("name","viewport"));const kt=L.string(qe.content)&&qe.content.includes(wt);Ae?(this.cleanupViewport=!kt,kt||(qe.content+=`,${wt}`)):this.cleanupViewport&&(qe.content=qe.content.split(",").filter(ut=>ut.trim()!==wt).join(","))}this.onChange()}),r(this,"trapFocus",Ae=>{if(G.isIos||G.isIPadOS||!this.active||Ae.key!=="Tab")return;const qe=document.activeElement,wt=q.call(this.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),[kt]=wt,ut=wt[wt.length-1];qe!==ut||Ae.shiftKey?qe===kt&&Ae.shiftKey&&(ut.focus(),Ae.preventDefault()):(kt.focus(),Ae.preventDefault())}),r(this,"update",()=>{if(this.supported){let Ae;Ae=this.forceFallback?"Fallback (forced)":Nn.nativeSupported?"Native":"Fallback",this.player.debug.log(`${Ae} fullscreen enabled`)}else this.player.debug.log("Fullscreen not supported and fallback disabled");ne(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.supported)}),r(this,"enter",()=>{this.supported&&(G.isIos&&this.player.config.fullscreen.iosNative?this.player.isVimeo?this.player.embed.requestFullscreen():this.target.webkitEnterFullscreen():!Nn.nativeSupported||this.forceFallback?this.toggleFallback(!0):this.prefix?L.empty(this.prefix)||this.target[`${this.prefix}Request${this.property}`]():this.target.requestFullscreen({navigationUI:"hide"}))}),r(this,"exit",()=>{if(this.supported)if(G.isIos&&this.player.config.fullscreen.iosNative)this.player.isVimeo?this.player.embed.exitFullscreen():this.target.webkitEnterFullscreen(),Ke(this.player.play());else if(!Nn.nativeSupported||this.forceFallback)this.toggleFallback(!1);else if(this.prefix){if(!L.empty(this.prefix)){const Ae=this.prefix==="moz"?"Cancel":"Exit";document[`${this.prefix}${Ae}${this.property}`]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)}),r(this,"toggle",()=>{this.active?this.exit():this.enter()}),this.player=xe,this.prefix=Nn.prefix,this.property=Nn.property,this.scrollPosition={x:0,y:0},this.forceFallback=xe.config.fullscreen.fallback==="force",this.player.elements.fullscreen=xe.config.fullscreen.container&&function(Ae,qe){const{prototype:wt}=Element;return(wt.closest||function(){let kt=this;do{if(oe.matches(kt,qe))return kt;kt=kt.parentElement||kt.parentNode}while(kt!==null&&kt.nodeType===1);return null}).call(Ae,qe)}(this.player.elements.container,xe.config.fullscreen.container),H.call(this.player,document,this.prefix==="ms"?"MSFullscreenChange":`${this.prefix}fullscreenchange`,()=>{this.onChange()}),H.call(this.player,this.player.elements.container,"dblclick",Ae=>{L.element(this.player.elements.controls)&&this.player.elements.controls.contains(Ae.target)||this.player.listeners.proxy(Ae,this.toggle,"fullscreen")}),H.call(this,this.player.elements.container,"keydown",Ae=>this.trapFocus(Ae)),this.update()}static get nativeSupported(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}get useNative(){return Nn.nativeSupported&&!this.forceFallback}static get prefix(){if(L.function(document.exitFullscreen))return"";let xe="";return["webkit","moz","ms"].some(Ae=>!(!L.function(document[`${Ae}ExitFullscreen`])&&!L.function(document[`${Ae}CancelFullScreen`]))&&(xe=Ae,!0)),xe}static get property(){return this.prefix==="moz"?"FullScreen":"Fullscreen"}get supported(){return[this.player.config.fullscreen.enabled,this.player.isVideo,Nn.nativeSupported||this.player.config.fullscreen.fallback,!this.player.isYouTube||Nn.nativeSupported||!G.isIos||this.player.config.playsinline&&!this.player.config.fullscreen.iosNative].every(Boolean)}get active(){if(!this.supported)return!1;if(!Nn.nativeSupported||this.forceFallback)return pe(this.target,this.player.config.classNames.fullscreen.fallback);const xe=this.prefix?this.target.getRootNode()[`${this.prefix}${this.property}Element`]:this.target.getRootNode().fullscreenElement;return xe&&xe.shadowRoot?xe===this.target.getRootNode().host:xe===this.target}get target(){return G.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen??this.player.elements.container}}function cn(Pe,xe=1){return new Promise((Ae,qe)=>{const wt=new Image,kt=()=>{delete wt.onload,delete wt.onerror,(wt.naturalWidth>=xe?Ae:qe)(wt)};Object.assign(wt,{onload:kt,onerror:kt,src:Pe})})}const or={addStyleHook(){ne(this.elements.container,this.config.selectors.container.replace(".",""),!0),ne(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls(Pe=!1){Pe&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build(){if(this.listeners.media(),!this.supported.ui)return this.debug.warn(`Basic support only for ${this.provider} ${this.type}`),void or.toggleNativeControls.call(this,!0);L.element(this.elements.controls)||(on.inject.call(this),this.listeners.controls()),or.toggleNativeControls.call(this),this.isHTML5&&Ln.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,on.updateVolume.call(this),on.timeUpdate.call(this),on.durationUpdate.call(this),or.checkPlaying.call(this),ne(this.elements.container,this.config.classNames.pip.supported,he.pip&&this.isHTML5&&this.isVideo),ne(this.elements.container,this.config.classNames.airplay.supported,he.airplay&&this.isHTML5),ne(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout(()=>{ae.call(this,this.media,"ready")},0),or.setTitle.call(this),this.poster&&or.setPoster.call(this,this.poster,!1).catch(()=>{}),this.config.duration&&on.durationUpdate.call(this),this.config.mediaMetadata&&on.setMediaMetadata.call(this)},setTitle(){let Pe=rt.get("play",this.config);if(L.string(this.config.title)&&!L.empty(this.config.title)&&(Pe+=`, ${this.config.title}`),Array.from(this.elements.buttons.play||[]).forEach(xe=>{xe.setAttribute("aria-label",Pe)}),this.isEmbed){const xe=J.call(this,"iframe");if(!L.element(xe))return;const Ae=L.empty(this.config.title)?"video":this.config.title,qe=rt.get("frameTitle",this.config);xe.setAttribute("title",qe.replace("{title}",Ae))}},togglePoster(Pe){ne(this.elements.container,this.config.classNames.posterEnabled,Pe)},setPoster(Pe,xe=!0){return xe&&this.poster?Promise.reject(new Error("Poster already set")):(this.media.setAttribute("data-poster",Pe),this.elements.poster.removeAttribute("hidden"),Be.call(this).then(()=>cn(Pe)).catch(Ae=>{throw Pe===this.poster&&or.togglePoster.call(this,!1),Ae}).then(()=>{if(Pe!==this.poster)throw new Error("setPoster cancelled by later call to setPoster")}).then(()=>(Object.assign(this.elements.poster.style,{backgroundImage:`url('${Pe}')`,backgroundSize:""}),or.togglePoster.call(this,!0),Pe)))},checkPlaying(Pe){ne(this.elements.container,this.config.classNames.playing,this.playing),ne(this.elements.container,this.config.classNames.paused,this.paused),ne(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach(xe=>{Object.assign(xe,{pressed:this.playing}),xe.setAttribute("aria-label",rt.get(this.playing?"pause":"play",this.config))}),L.event(Pe)&&Pe.type==="timeupdate"||or.toggleControls.call(this)},checkLoading(Pe){this.loading=["stalled","waiting"].includes(Pe.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout(()=>{ne(this.elements.container,this.config.classNames.loading,this.loading),or.toggleControls.call(this)},this.loading?250:0)},toggleControls(Pe){const{controls:xe}=this.elements;if(xe&&this.config.hideControls){const Ae=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(!!(Pe||this.loading||this.paused||xe.pressed||xe.hover||Ae))}},migrateStyles(){Object.values({...this.media.style}).filter(Pe=>!L.empty(Pe)&&L.string(Pe)&&Pe.startsWith("--plyr")).forEach(Pe=>{this.elements.container.style.setProperty(Pe,this.media.style.getPropertyValue(Pe)),this.media.style.removeProperty(Pe)}),L.empty(this.media.style)&&this.media.removeAttribute("style")}};class qn{constructor(xe){r(this,"firstTouch",()=>{const{player:Ae}=this,{elements:qe}=Ae;Ae.touch=!0,ne(qe.container,Ae.config.classNames.isTouch,!0)}),r(this,"global",(Ae=!0)=>{const{player:qe}=this;qe.config.keyboard.global&&fe.call(qe,window,"keydown keyup",this.handleKey,Ae,!1),fe.call(qe,document.body,"click",this.toggleMenu,Ae),_e.call(qe,document.body,"touchstart",this.firstTouch)}),r(this,"container",()=>{const{player:Ae}=this,{config:qe,elements:wt,timers:kt}=Ae;!qe.keyboard.global&&qe.keyboard.focused&&H.call(Ae,wt.container,"keydown keyup",this.handleKey,!1),H.call(Ae,wt.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",tn=>{const{controls:In}=wt;In&&tn.type==="enterfullscreen"&&(In.pressed=!1,In.hover=!1);let rr=0;["touchstart","touchmove","mousemove"].includes(tn.type)&&(or.toggleControls.call(Ae,!0),rr=Ae.touch?3e3:2e3),clearTimeout(kt.controls),kt.controls=setTimeout(()=>or.toggleControls.call(Ae,!1),rr)});const ut=()=>{if(!Ae.isVimeo||Ae.config.vimeo.premium)return;const tn=wt.wrapper,{active:In}=Ae.fullscreen,[rr,Sr]=ht.call(Ae),Yr=Le(`aspect-ratio: ${rr} / ${Sr}`);if(!In)return void(Yr?(tn.style.width=null,tn.style.height=null):(tn.style.maxWidth=null,tn.style.margin=null));const[Pr,Mn]=[Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)],sr=Pr/Mn>rr/Sr;Yr?(tn.style.width=sr?"auto":"100%",tn.style.height=sr?"100%":"auto"):(tn.style.maxWidth=sr?Mn/Sr*rr+"px":null,tn.style.margin=sr?"0 auto":null)},Ft=()=>{clearTimeout(kt.resized),kt.resized=setTimeout(ut,50)};H.call(Ae,wt.container,"enterfullscreen exitfullscreen",tn=>{const{target:In}=Ae.fullscreen;In===wt.container&&(!Ae.isEmbed&&L.empty(Ae.config.ratio)||(ut(),(tn.type==="enterfullscreen"?H:z).call(Ae,window,"resize",Ft)))})}),r(this,"media",()=>{const{player:Ae}=this,{elements:qe}=Ae;if(H.call(Ae,Ae.media,"timeupdate seeking seeked",kt=>on.timeUpdate.call(Ae,kt)),H.call(Ae,Ae.media,"durationchange loadeddata loadedmetadata",kt=>on.durationUpdate.call(Ae,kt)),H.call(Ae,Ae.media,"ended",()=>{Ae.isHTML5&&Ae.isVideo&&Ae.config.resetOnEnd&&(Ae.restart(),Ae.pause())}),H.call(Ae,Ae.media,"progress playing seeking seeked",kt=>on.updateProgress.call(Ae,kt)),H.call(Ae,Ae.media,"volumechange",kt=>on.updateVolume.call(Ae,kt)),H.call(Ae,Ae.media,"playing play pause ended emptied timeupdate",kt=>or.checkPlaying.call(Ae,kt)),H.call(Ae,Ae.media,"waiting canplay seeked playing",kt=>or.checkLoading.call(Ae,kt)),Ae.supported.ui&&Ae.config.clickToPlay&&!Ae.isAudio){const kt=J.call(Ae,`.${Ae.config.classNames.video}`);if(!L.element(kt))return;H.call(Ae,qe.container,"click",ut=>{([qe.container,kt].includes(ut.target)||kt.contains(ut.target))&&(Ae.touch&&Ae.config.hideControls||(Ae.ended?(this.proxy(ut,Ae.restart,"restart"),this.proxy(ut,()=>{Ke(Ae.play())},"play")):this.proxy(ut,()=>{Ke(Ae.togglePlay())},"play")))})}Ae.supported.ui&&Ae.config.disableContextMenu&&H.call(Ae,qe.wrapper,"contextmenu",kt=>{kt.preventDefault()},!1),H.call(Ae,Ae.media,"volumechange",()=>{Ae.storage.set({volume:Ae.volume,muted:Ae.muted})}),H.call(Ae,Ae.media,"ratechange",()=>{on.updateSetting.call(Ae,"speed"),Ae.storage.set({speed:Ae.speed})}),H.call(Ae,Ae.media,"qualitychange",kt=>{on.updateSetting.call(Ae,"quality",null,kt.detail.quality)}),H.call(Ae,Ae.media,"ready qualitychange",()=>{on.setDownloadUrl.call(Ae)});const wt=Ae.config.events.concat(["keyup","keydown"]).join(" ");H.call(Ae,Ae.media,wt,kt=>{let{detail:ut={}}=kt;kt.type==="error"&&(ut=Ae.media.error),ae.call(Ae,qe.container,kt.type,!0,ut)})}),r(this,"proxy",(Ae,qe,wt)=>{const{player:kt}=this,ut=kt.config.listeners[wt];let Ft=!0;L.function(ut)&&(Ft=ut.call(kt,Ae)),Ft!==!1&&L.function(qe)&&qe.call(kt,Ae)}),r(this,"bind",(Ae,qe,wt,kt,ut=!0)=>{const{player:Ft}=this,tn=Ft.config.listeners[kt],In=L.function(tn);H.call(Ft,Ae,qe,rr=>this.proxy(rr,wt,kt),ut&&!In)}),r(this,"controls",()=>{const{player:Ae}=this,{elements:qe}=Ae,wt=G.isIE?"change":"input";if(qe.buttons.play&&Array.from(qe.buttons.play).forEach(kt=>{this.bind(kt,"click",()=>{Ke(Ae.togglePlay())},"play")}),this.bind(qe.buttons.restart,"click",Ae.restart,"restart"),this.bind(qe.buttons.rewind,"click",()=>{Ae.lastSeekTime=Date.now(),Ae.rewind()},"rewind"),this.bind(qe.buttons.fastForward,"click",()=>{Ae.lastSeekTime=Date.now(),Ae.forward()},"fastForward"),this.bind(qe.buttons.mute,"click",()=>{Ae.muted=!Ae.muted},"mute"),this.bind(qe.buttons.captions,"click",()=>Ae.toggleCaptions()),this.bind(qe.buttons.download,"click",()=>{ae.call(Ae,Ae.media,"download")},"download"),this.bind(qe.buttons.fullscreen,"click",()=>{Ae.fullscreen.toggle()},"fullscreen"),this.bind(qe.buttons.pip,"click",()=>{Ae.pip="toggle"},"pip"),this.bind(qe.buttons.airplay,"click",Ae.airplay,"airplay"),this.bind(qe.buttons.settings,"click",kt=>{kt.stopPropagation(),kt.preventDefault(),on.toggleMenu.call(Ae,kt)},null,!1),this.bind(qe.buttons.settings,"keyup",kt=>{[" ","Enter"].includes(kt.key)&&(kt.key!=="Enter"?(kt.preventDefault(),kt.stopPropagation(),on.toggleMenu.call(Ae,kt)):on.focusFirstMenuItem.call(Ae,null,!0))},null,!1),this.bind(qe.settings.menu,"keydown",kt=>{kt.key==="Escape"&&on.toggleMenu.call(Ae,kt)}),this.bind(qe.inputs.seek,"mousedown mousemove",kt=>{const ut=qe.progress.getBoundingClientRect(),Ft=100/ut.width*(kt.pageX-ut.left);kt.currentTarget.setAttribute("seek-value",Ft)}),this.bind(qe.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",kt=>{const ut=kt.currentTarget,Ft="play-on-seeked";if(L.keyboardEvent(kt)&&!["ArrowLeft","ArrowRight"].includes(kt.key))return;Ae.lastSeekTime=Date.now();const tn=ut.hasAttribute(Ft),In=["mouseup","touchend","keyup"].includes(kt.type);tn&&In?(ut.removeAttribute(Ft),Ke(Ae.play())):!In&&Ae.playing&&(ut.setAttribute(Ft,""),Ae.pause())}),G.isIos){const kt=q.call(Ae,'input[type="range"]');Array.from(kt).forEach(ut=>this.bind(ut,wt,Ft=>F(Ft.target)))}this.bind(qe.inputs.seek,wt,kt=>{const ut=kt.currentTarget;let Ft=ut.getAttribute("seek-value");L.empty(Ft)&&(Ft=ut.value),ut.removeAttribute("seek-value"),Ae.currentTime=Ft/ut.max*Ae.duration},"seek"),this.bind(qe.progress,"mouseenter mouseleave mousemove",kt=>on.updateSeekTooltip.call(Ae,kt)),this.bind(qe.progress,"mousemove touchmove",kt=>{const{previewThumbnails:ut}=Ae;ut&&ut.loaded&&ut.startMove(kt)}),this.bind(qe.progress,"mouseleave touchend click",()=>{const{previewThumbnails:kt}=Ae;kt&&kt.loaded&&kt.endMove(!1,!0)}),this.bind(qe.progress,"mousedown touchstart",kt=>{const{previewThumbnails:ut}=Ae;ut&&ut.loaded&&ut.startScrubbing(kt)}),this.bind(qe.progress,"mouseup touchend",kt=>{const{previewThumbnails:ut}=Ae;ut&&ut.loaded&&ut.endScrubbing(kt)}),G.isWebKit&&Array.from(q.call(Ae,'input[type="range"]')).forEach(kt=>{this.bind(kt,"input",ut=>on.updateRangeFill.call(Ae,ut.target))}),Ae.config.toggleInvert&&!L.element(qe.display.duration)&&this.bind(qe.display.currentTime,"click",()=>{Ae.currentTime!==0&&(Ae.config.invertTime=!Ae.config.invertTime,on.timeUpdate.call(Ae))}),this.bind(qe.inputs.volume,wt,kt=>{Ae.volume=kt.target.value},"volume"),this.bind(qe.controls,"mouseenter mouseleave",kt=>{qe.controls.hover=!Ae.touch&&kt.type==="mouseenter"}),qe.fullscreen&&Array.from(qe.fullscreen.children).filter(kt=>!kt.contains(qe.container)).forEach(kt=>{this.bind(kt,"mouseenter mouseleave",ut=>{qe.controls&&(qe.controls.hover=!Ae.touch&&ut.type==="mouseenter")})}),this.bind(qe.controls,"mousedown mouseup touchstart touchend touchcancel",kt=>{qe.controls.pressed=["mousedown","touchstart"].includes(kt.type)}),this.bind(qe.controls,"focusin",()=>{const{config:kt,timers:ut}=Ae;ne(qe.controls,kt.classNames.noTransition,!0),or.toggleControls.call(Ae,!0),setTimeout(()=>{ne(qe.controls,kt.classNames.noTransition,!1)},0);const Ft=this.touch?3e3:4e3;clearTimeout(ut.controls),ut.controls=setTimeout(()=>or.toggleControls.call(Ae,!1),Ft)}),this.bind(qe.inputs.volume,"wheel",kt=>{const ut=kt.webkitDirectionInvertedFromDevice,[Ft,tn]=[kt.deltaX,-kt.deltaY].map(Sr=>ut?-Sr:Sr),In=Math.sign(Math.abs(Ft)>Math.abs(tn)?Ft:tn);Ae.increaseVolume(In/50);const{volume:rr}=Ae.media;(In===1&&rr<1||In===-1&&rr>0)&&kt.preventDefault()},"volume",!1)}),this.player=xe,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.firstTouch=this.firstTouch.bind(this)}handleKey(xe){const{player:Ae}=this,{elements:qe}=Ae,{key:wt,type:kt,altKey:ut,ctrlKey:Ft,metaKey:tn,shiftKey:In}=xe,rr=kt==="keydown",Sr=rr&&wt===this.lastKey;if(!(ut||Ft||tn||In)&&wt){if(rr){const Pr=document.activeElement;if(L.element(Pr)){const{editable:Mn}=Ae.config.selectors,{seek:sr}=qe.inputs;if(Pr!==sr&&oe(Pr,Mn)||xe.key===" "&&oe(Pr,'button, [role^="menuitem"]'))return}switch([" ","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","0","1","2","3","4","5","6","7","8","9","c","f","k","l","m"].includes(wt)&&(xe.preventDefault(),xe.stopPropagation()),wt){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Sr||(Yr=parseInt(wt,10),Ae.currentTime=Ae.duration/10*Yr);break;case" ":case"k":Sr||Ke(Ae.togglePlay());break;case"ArrowUp":Ae.increaseVolume(.1);break;case"ArrowDown":Ae.decreaseVolume(.1);break;case"m":Sr||(Ae.muted=!Ae.muted);break;case"ArrowRight":Ae.forward();break;case"ArrowLeft":Ae.rewind();break;case"f":Ae.fullscreen.toggle();break;case"c":Sr||Ae.toggleCaptions();break;case"l":Ae.loop=!Ae.loop}wt==="Escape"&&!Ae.fullscreen.usingNative&&Ae.fullscreen.active&&Ae.fullscreen.toggle(),this.lastKey=wt}else this.lastKey=null;var Yr}}toggleMenu(xe){on.toggleMenu.call(this.player,xe)}}typeof globalThis<"u"||typeof window<"u"||(typeof e.g<"u"?e.g:typeof self<"u");var Hr=function(Pe,xe){return Pe(xe={exports:{}},xe.exports),xe.exports}(function(Pe,xe){Pe.exports=function(){var Ae=function(){},qe={},wt={},kt={};function ut(Yr,Pr){Yr=Yr.push?Yr:[Yr];var Mn,sr,Ar,vr=[],qr=Yr.length,Dr=qr;for(Mn=function(eo,Vo){Vo.length&&vr.push(eo),--Dr||Pr(vr)};qr--;)sr=Yr[qr],(Ar=wt[sr])?Mn(sr,Ar):(kt[sr]=kt[sr]||[]).push(Mn)}function Ft(Yr,Pr){if(Yr){var Mn=kt[Yr];if(wt[Yr]=Pr,Mn)for(;Mn.length;)Mn[0](Yr,Pr),Mn.splice(0,1)}}function tn(Yr,Pr){Yr.call&&(Yr={success:Yr}),Pr.length?(Yr.error||Ae)(Pr):(Yr.success||Ae)(Yr)}function In(Yr,Pr,Mn,sr){var Ar,vr,qr=document,Dr=Mn.async,eo=(Mn.numRetries||0)+1,Vo=Mn.before||Ae,Bn=Yr.replace(/[\?|#].*$/,""),ar=Yr.replace(/^(css|img)!/,"");sr=sr||0,/(^css!|\.css$)/.test(Bn)?((vr=qr.createElement("link")).rel="stylesheet",vr.href=ar,(Ar="hideFocus"in vr)&&vr.relList&&(Ar=0,vr.rel="preload",vr.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(Bn)?(vr=qr.createElement("img")).src=ar:((vr=qr.createElement("script")).src=Yr,vr.async=Dr===void 0||Dr),vr.onload=vr.onerror=vr.onbeforeload=function(rn){var Rt=rn.type[0];if(Ar)try{vr.sheet.cssText.length||(Rt="e")}catch(Qe){Qe.code!=18&&(Rt="e")}if(Rt=="e"){if((sr+=1)<eo)return In(Yr,Pr,Mn,sr)}else if(vr.rel=="preload"&&vr.as=="style")return vr.rel="stylesheet";Pr(Yr,Rt,rn.defaultPrevented)},Vo(Yr,vr)!==!1&&qr.head.appendChild(vr)}function rr(Yr,Pr,Mn){var sr,Ar,vr=(Yr=Yr.push?Yr:[Yr]).length,qr=vr,Dr=[];for(sr=function(eo,Vo,Bn){if(Vo=="e"&&Dr.push(eo),Vo=="b"){if(!Bn)return;Dr.push(eo)}--vr||Pr(Dr)},Ar=0;Ar<qr;Ar++)In(Yr[Ar],sr,Mn)}function Sr(Yr,Pr,Mn){var sr,Ar;if(Pr&&Pr.trim&&(sr=Pr),Ar=(sr?Mn:Pr)||{},sr){if(sr in qe)throw"LoadJS";qe[sr]=!0}function vr(qr,Dr){rr(Yr,function(eo){tn(Ar,eo),qr&&tn({success:qr,error:Dr},eo),Ft(sr,eo)},Ar)}if(Ar.returnPromise)return new Promise(vr);vr()}return Sr.ready=function(Yr,Pr){return ut(Yr,function(Mn){tn(Pr,Mn)}),Sr},Sr.done=function(Yr){Ft(Yr,[])},Sr.reset=function(){qe={},wt={},kt={}},Sr.isDefined=function(Yr){return Yr in qe},Sr}()});function fo(Pe){return new Promise((xe,Ae)=>{Hr(Pe,{success:xe,error:Ae})})}function Jr(Pe){Pe&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===Pe&&(this.media.paused=!Pe,ae.call(this,this.media,Pe?"play":"pause"))}const ro={setup(){const Pe=this;ne(Pe.elements.wrapper,Pe.config.classNames.embed,!0),Pe.options.speed=Pe.config.speed.options,Ne.call(Pe),L.object(window.Vimeo)?ro.ready.call(Pe):fo(Pe.config.urls.vimeo.sdk).then(()=>{ro.ready.call(Pe)}).catch(xe=>{Pe.debug.warn("Vimeo SDK (player.js) failed to load",xe)})},ready(){const Pe=this,xe=Pe.config.vimeo,{premium:Ae,referrerPolicy:qe,...wt}=xe;let kt=Pe.media.getAttribute("src"),ut="";L.empty(kt)?(kt=Pe.media.getAttribute(Pe.config.attributes.embed.id),ut=Pe.media.getAttribute(Pe.config.attributes.embed.hash)):ut=function(Dr){const eo=Dr.match(/^.*(vimeo.com\/|video\/)(\d+)(\?.*&*h=|\/)+([\d,a-f]+)/);return eo&&eo.length===5?eo[4]:null}(kt);const Ft=ut?{h:ut}:{};Ae&&Object.assign(wt,{controls:!1,sidedock:!1});const tn=Yn({loop:Pe.config.loop.active,autoplay:Pe.autoplay,muted:Pe.muted,gesture:"media",playsinline:Pe.config.playsinline,...Ft,...wt}),In=(rr=kt,L.empty(rr)?null:L.number(Number(rr))?rr:rr.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:rr);var rr;const Sr=R("iframe"),Yr=$e(Pe.config.urls.vimeo.iframe,In,tn);if(Sr.setAttribute("src",Yr),Sr.setAttribute("allowfullscreen",""),Sr.setAttribute("allow",["autoplay","fullscreen","picture-in-picture","encrypted-media","accelerometer","gyroscope"].join("; ")),L.empty(qe)||Sr.setAttribute("referrerPolicy",qe),Ae||!xe.customControls)Sr.setAttribute("data-poster",Pe.poster),Pe.media=ee(Sr,Pe.media);else{const Dr=R("div",{class:Pe.config.classNames.embedContainer,"data-poster":Pe.poster});Dr.appendChild(Sr),Pe.media=ee(Dr,Pe.media)}xe.customControls||Re($e(Pe.config.urls.vimeo.api,Yr)).then(Dr=>{!L.empty(Dr)&&Dr.thumbnail_url&&or.setPoster.call(Pe,Dr.thumbnail_url).catch(()=>{})}),Pe.embed=new window.Vimeo.Player(Sr,{autopause:Pe.config.autopause,muted:Pe.muted}),Pe.media.paused=!0,Pe.media.currentTime=0,Pe.supported.ui&&Pe.embed.disableTextTrack(),Pe.media.play=()=>(Jr.call(Pe,!0),Pe.embed.play()),Pe.media.pause=()=>(Jr.call(Pe,!1),Pe.embed.pause()),Pe.media.stop=()=>{Pe.pause(),Pe.currentTime=0};let{currentTime:Pr}=Pe.media;Object.defineProperty(Pe.media,"currentTime",{get:()=>Pr,set(Dr){const{embed:eo,media:Vo,paused:Bn,volume:ar}=Pe,rn=Bn&&!eo.hasPlayed;Vo.seeking=!0,ae.call(Pe,Vo,"seeking"),Promise.resolve(rn&&eo.setVolume(0)).then(()=>eo.setCurrentTime(Dr)).then(()=>rn&&eo.pause()).then(()=>rn&&eo.setVolume(ar)).catch(()=>{})}});let Mn=Pe.config.speed.selected;Object.defineProperty(Pe.media,"playbackRate",{get:()=>Mn,set(Dr){Pe.embed.setPlaybackRate(Dr).then(()=>{Mn=Dr,ae.call(Pe,Pe.media,"ratechange")}).catch(()=>{Pe.options.speed=[1]})}});let{volume:sr}=Pe.config;Object.defineProperty(Pe.media,"volume",{get:()=>sr,set(Dr){Pe.embed.setVolume(Dr).then(()=>{sr=Dr,ae.call(Pe,Pe.media,"volumechange")})}});let{muted:Ar}=Pe.config;Object.defineProperty(Pe.media,"muted",{get:()=>Ar,set(Dr){const eo=!!L.boolean(Dr)&&Dr;Pe.embed.setMuted(!!eo||Pe.config.muted).then(()=>{Ar=eo,ae.call(Pe,Pe.media,"volumechange")})}});let vr,{loop:qr}=Pe.config;Object.defineProperty(Pe.media,"loop",{get:()=>qr,set(Dr){const eo=L.boolean(Dr)?Dr:Pe.config.loop.active;Pe.embed.setLoop(eo).then(()=>{qr=eo})}}),Pe.embed.getVideoUrl().then(Dr=>{vr=Dr,on.setDownloadUrl.call(Pe)}).catch(Dr=>{this.debug.warn(Dr)}),Object.defineProperty(Pe.media,"currentSrc",{get:()=>vr}),Object.defineProperty(Pe.media,"ended",{get:()=>Pe.currentTime===Pe.duration}),Promise.all([Pe.embed.getVideoWidth(),Pe.embed.getVideoHeight()]).then(Dr=>{const[eo,Vo]=Dr;Pe.embed.ratio=Ce(eo,Vo),Ne.call(this)}),Pe.embed.setAutopause(Pe.config.autopause).then(Dr=>{Pe.config.autopause=Dr}),Pe.embed.getVideoTitle().then(Dr=>{Pe.config.title=Dr,or.setTitle.call(this)}),Pe.embed.getCurrentTime().then(Dr=>{Pr=Dr,ae.call(Pe,Pe.media,"timeupdate")}),Pe.embed.getDuration().then(Dr=>{Pe.media.duration=Dr,ae.call(Pe,Pe.media,"durationchange")}),Pe.embed.getTextTracks().then(Dr=>{Pe.media.textTracks=Dr,Ln.setup.call(Pe)}),Pe.embed.on("cuechange",({cues:Dr=[]})=>{const eo=Dr.map(Vo=>function(Bn){const ar=document.createDocumentFragment(),rn=document.createElement("div");return ar.appendChild(rn),rn.innerHTML=Bn,ar.firstChild.innerText}(Vo.text));Ln.updateCues.call(Pe,eo)}),Pe.embed.on("loaded",()=>{Pe.embed.getPaused().then(Dr=>{Jr.call(Pe,!Dr),Dr||ae.call(Pe,Pe.media,"playing")}),L.element(Pe.embed.element)&&Pe.supported.ui&&Pe.embed.element.setAttribute("tabindex",-1)}),Pe.embed.on("bufferstart",()=>{ae.call(Pe,Pe.media,"waiting")}),Pe.embed.on("bufferend",()=>{ae.call(Pe,Pe.media,"playing")}),Pe.embed.on("play",()=>{Jr.call(Pe,!0),ae.call(Pe,Pe.media,"playing")}),Pe.embed.on("pause",()=>{Jr.call(Pe,!1)}),Pe.embed.on("timeupdate",Dr=>{Pe.media.seeking=!1,Pr=Dr.seconds,ae.call(Pe,Pe.media,"timeupdate")}),Pe.embed.on("progress",Dr=>{Pe.media.buffered=Dr.percent,ae.call(Pe,Pe.media,"progress"),parseInt(Dr.percent,10)===1&&ae.call(Pe,Pe.media,"canplaythrough"),Pe.embed.getDuration().then(eo=>{eo!==Pe.media.duration&&(Pe.media.duration=eo,ae.call(Pe,Pe.media,"durationchange"))})}),Pe.embed.on("seeked",()=>{Pe.media.seeking=!1,ae.call(Pe,Pe.media,"seeked")}),Pe.embed.on("ended",()=>{Pe.media.paused=!0,ae.call(Pe,Pe.media,"ended")}),Pe.embed.on("error",Dr=>{Pe.media.error=Dr,ae.call(Pe,Pe.media,"error")}),xe.customControls&&setTimeout(()=>or.build.call(Pe),0)}};function Xt(Pe){Pe&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===Pe&&(this.media.paused=!Pe,ae.call(this,this.media,Pe?"play":"pause"))}function Je(Pe){return Pe.noCookie?"https://www.youtube-nocookie.com":window.location.protocol==="http:"?"http://www.youtube.com":void 0}const At={setup(){if(ne(this.elements.wrapper,this.config.classNames.embed,!0),L.object(window.YT)&&L.function(window.YT.Player))At.ready.call(this);else{const Pe=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{L.function(Pe)&&Pe(),At.ready.call(this)},fo(this.config.urls.youtube.sdk).catch(xe=>{this.debug.warn("YouTube API failed to load",xe)})}},getTitle(Pe){Re($e(this.config.urls.youtube.api,Pe)).then(xe=>{if(L.object(xe)){const{title:Ae,height:qe,width:wt}=xe;this.config.title=Ae,or.setTitle.call(this),this.embed.ratio=Ce(wt,qe)}Ne.call(this)}).catch(()=>{Ne.call(this)})},ready(){const Pe=this,xe=Pe.config.youtube,Ae=Pe.media&&Pe.media.getAttribute("id");if(!L.empty(Ae)&&Ae.startsWith("youtube-"))return;let qe=Pe.media.getAttribute("src");L.empty(qe)&&(qe=Pe.media.getAttribute(this.config.attributes.embed.id));const wt=(kt=qe,L.empty(kt)?null:kt.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:kt);var kt;const ut=R("div",{id:`${Pe.provider}-${Math.floor(1e4*Math.random())}`,"data-poster":xe.customControls?Pe.poster:void 0});if(Pe.media=ee(ut,Pe.media),xe.customControls){const Ft=tn=>`https://i.ytimg.com/vi/${wt}/${tn}default.jpg`;cn(Ft("maxres"),121).catch(()=>cn(Ft("sd"),121)).catch(()=>cn(Ft("hq"))).then(tn=>or.setPoster.call(Pe,tn.src)).then(tn=>{tn.includes("maxres")||(Pe.elements.poster.style.backgroundSize="cover")}).catch(()=>{})}Pe.embed=new window.YT.Player(Pe.media,{videoId:wt,host:Je(xe),playerVars:x({},{autoplay:Pe.config.autoplay?1:0,hl:Pe.config.hl,controls:Pe.supported.ui&&xe.customControls?0:1,disablekb:1,playsinline:Pe.config.playsinline&&!Pe.config.fullscreen.iosNative?1:0,cc_load_policy:Pe.captions.active?1:0,cc_lang_pref:Pe.config.captions.language,widget_referrer:window?window.location.href:null},xe),events:{onError(Ft){if(!Pe.media.error){const tn=Ft.data,In={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[tn]||"An unknown error occurred";Pe.media.error={code:tn,message:In},ae.call(Pe,Pe.media,"error")}},onPlaybackRateChange(Ft){const tn=Ft.target;Pe.media.playbackRate=tn.getPlaybackRate(),ae.call(Pe,Pe.media,"ratechange")},onReady(Ft){if(L.function(Pe.media.play))return;const tn=Ft.target;At.getTitle.call(Pe,wt),Pe.media.play=()=>{Xt.call(Pe,!0),tn.playVideo()},Pe.media.pause=()=>{Xt.call(Pe,!1),tn.pauseVideo()},Pe.media.stop=()=>{tn.stopVideo()},Pe.media.duration=tn.getDuration(),Pe.media.paused=!0,Pe.media.currentTime=0,Object.defineProperty(Pe.media,"currentTime",{get:()=>Number(tn.getCurrentTime()),set(Yr){Pe.paused&&!Pe.embed.hasPlayed&&Pe.embed.mute(),Pe.media.seeking=!0,ae.call(Pe,Pe.media,"seeking"),tn.seekTo(Yr)}}),Object.defineProperty(Pe.media,"playbackRate",{get:()=>tn.getPlaybackRate(),set(Yr){tn.setPlaybackRate(Yr)}});let{volume:In}=Pe.config;Object.defineProperty(Pe.media,"volume",{get:()=>In,set(Yr){In=Yr,tn.setVolume(100*In),ae.call(Pe,Pe.media,"volumechange")}});let{muted:rr}=Pe.config;Object.defineProperty(Pe.media,"muted",{get:()=>rr,set(Yr){const Pr=L.boolean(Yr)?Yr:rr;rr=Pr,tn[Pr?"mute":"unMute"](),tn.setVolume(100*In),ae.call(Pe,Pe.media,"volumechange")}}),Object.defineProperty(Pe.media,"currentSrc",{get:()=>tn.getVideoUrl()}),Object.defineProperty(Pe.media,"ended",{get:()=>Pe.currentTime===Pe.duration});const Sr=tn.getAvailablePlaybackRates();Pe.options.speed=Sr.filter(Yr=>Pe.config.speed.options.includes(Yr)),Pe.supported.ui&&xe.customControls&&Pe.media.setAttribute("tabindex",-1),ae.call(Pe,Pe.media,"timeupdate"),ae.call(Pe,Pe.media,"durationchange"),clearInterval(Pe.timers.buffering),Pe.timers.buffering=setInterval(()=>{Pe.media.buffered=tn.getVideoLoadedFraction(),(Pe.media.lastBuffered===null||Pe.media.lastBuffered<Pe.media.buffered)&&ae.call(Pe,Pe.media,"progress"),Pe.media.lastBuffered=Pe.media.buffered,Pe.media.buffered===1&&(clearInterval(Pe.timers.buffering),ae.call(Pe,Pe.media,"canplaythrough"))},200),xe.customControls&&setTimeout(()=>or.build.call(Pe),50)},onStateChange(Ft){const tn=Ft.target;switch(clearInterval(Pe.timers.playing),Pe.media.seeking&&[1,2].includes(Ft.data)&&(Pe.media.seeking=!1,ae.call(Pe,Pe.media,"seeked")),Ft.data){case-1:ae.call(Pe,Pe.media,"timeupdate"),Pe.media.buffered=tn.getVideoLoadedFraction(),ae.call(Pe,Pe.media,"progress");break;case 0:Xt.call(Pe,!1),Pe.media.loop?(tn.stopVideo(),tn.playVideo()):ae.call(Pe,Pe.media,"ended");break;case 1:xe.customControls&&!Pe.config.autoplay&&Pe.media.paused&&!Pe.embed.hasPlayed?Pe.media.pause():(Xt.call(Pe,!0),ae.call(Pe,Pe.media,"playing"),Pe.timers.playing=setInterval(()=>{ae.call(Pe,Pe.media,"timeupdate")},50),Pe.media.duration!==tn.getDuration()&&(Pe.media.duration=tn.getDuration(),ae.call(Pe,Pe.media,"durationchange")));break;case 2:Pe.muted||Pe.embed.unMute(),Xt.call(Pe,!1);break;case 3:ae.call(Pe,Pe.media,"waiting")}ae.call(Pe,Pe.elements.container,"statechange",!1,{code:Ft.data})}}})}},xt={setup(){this.media?(ne(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),ne(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&ne(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=R("div",{class:this.config.classNames.video}),M(this.media,this.elements.wrapper),this.elements.poster=R("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?we.setup.call(this):this.isYouTube?At.setup.call(this):this.isVimeo&&ro.setup.call(this)):this.debug.warn("No media element found!")}};class Qt{constructor(xe){r(this,"load",()=>{this.enabled&&(L.object(window.google)&&L.object(window.google.ima)?this.ready():fo(this.player.config.urls.googleIMA.sdk).then(()=>{this.ready()}).catch(()=>{this.trigger("error",new Error("Google IMA SDK failed to load"))}))}),r(this,"ready",()=>{var Ae;this.enabled||((Ae=this).manager&&Ae.manager.destroy(),Ae.elements.displayContainer&&Ae.elements.displayContainer.destroy(),Ae.elements.container.remove()),this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then(()=>{this.clearSafetyTimer("onAdsManagerLoaded()")}),this.listeners(),this.setupIMA()}),r(this,"setupIMA",()=>{this.elements.container=R("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.player.config.playsinline),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container,this.player.media),this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,Ae=>this.onAdsManagerLoaded(Ae),!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,Ae=>this.onAdError(Ae),!1),this.requestAds()}),r(this,"requestAds",()=>{const{container:Ae}=this.player.elements;try{const qe=new google.ima.AdsRequest;qe.adTagUrl=this.tagUrl,qe.linearAdSlotWidth=Ae.offsetWidth,qe.linearAdSlotHeight=Ae.offsetHeight,qe.nonLinearAdSlotWidth=Ae.offsetWidth,qe.nonLinearAdSlotHeight=Ae.offsetHeight,qe.forceNonLinearFullSlot=!1,qe.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(qe)}catch(qe){this.onAdError(qe)}}),r(this,"pollCountdown",(Ae=!1)=>{if(!Ae)return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval(()=>{const qe=It(Math.max(this.manager.getRemainingTime(),0)),wt=`${rt.get("advertisement",this.player.config)} - ${qe}`;this.elements.container.setAttribute("data-badge-text",wt)},100)}),r(this,"onAdsManagerLoaded",Ae=>{if(!this.enabled)return;const qe=new google.ima.AdsRenderingSettings;qe.restoreCustomPlaybackStateOnAdBreakComplete=!0,qe.enablePreloading=!0,this.manager=Ae.getAdsManager(this.player,qe),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,wt=>this.onAdError(wt)),Object.keys(google.ima.AdEvent.Type).forEach(wt=>{this.manager.addEventListener(google.ima.AdEvent.Type[wt],kt=>this.onAdEvent(kt))}),this.trigger("loaded")}),r(this,"addCuePoints",()=>{L.empty(this.cuePoints)||this.cuePoints.forEach(Ae=>{if(Ae!==0&&Ae!==-1&&Ae<this.player.duration){const qe=this.player.elements.progress;if(L.element(qe)){const wt=100/this.player.duration*Ae,kt=R("span",{class:this.player.config.classNames.cues});kt.style.left=`${wt.toString()}%`,qe.appendChild(kt)}}})}),r(this,"onAdEvent",Ae=>{const{container:qe}=this.player.elements,wt=Ae.getAd(),kt=Ae.getAdData();switch((ut=>{ae.call(this.player,this.player.media,`ads${ut.replace(/_/g,"").toLowerCase()}`)})(Ae.type),Ae.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),this.pollCountdown(!0),wt.isLinear()||(wt.width=qe.offsetWidth,wt.height=qe.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:this.manager.setVolume(this.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.player.ended?this.loadAds():this.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.LOG:kt.adError&&this.player.debug.warn(`Non-fatal ad error: ${kt.adError.getMessage()}`)}}),r(this,"onAdError",Ae=>{this.cancel(),this.player.debug.warn("Ads error",Ae)}),r(this,"listeners",()=>{const{container:Ae}=this.player.elements;let qe;this.player.on("canplay",()=>{this.addCuePoints()}),this.player.on("ended",()=>{this.loader.contentComplete()}),this.player.on("timeupdate",()=>{qe=this.player.currentTime}),this.player.on("seeked",()=>{const wt=this.player.currentTime;L.empty(this.cuePoints)||this.cuePoints.forEach((kt,ut)=>{qe<kt&&kt<wt&&(this.manager.discardAdBreak(),this.cuePoints.splice(ut,1))})}),window.addEventListener("resize",()=>{this.manager&&this.manager.resize(Ae.offsetWidth,Ae.offsetHeight,google.ima.ViewMode.NORMAL)})}),r(this,"play",()=>{const{container:Ae}=this.player.elements;this.managerPromise||this.resumeContent(),this.managerPromise.then(()=>{this.manager.setVolume(this.player.volume),this.elements.displayContainer.initialize();try{this.initialized||(this.manager.init(Ae.offsetWidth,Ae.offsetHeight,google.ima.ViewMode.NORMAL),this.manager.start()),this.initialized=!0}catch(qe){this.onAdError(qe)}}).catch(()=>{})}),r(this,"resumeContent",()=>{this.elements.container.style.zIndex="",this.playing=!1,Ke(this.player.media.play())}),r(this,"pauseContent",()=>{this.elements.container.style.zIndex=3,this.playing=!0,this.player.media.pause()}),r(this,"cancel",()=>{this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()}),r(this,"loadAds",()=>{this.managerPromise.then(()=>{this.manager&&this.manager.destroy(),this.managerPromise=new Promise(Ae=>{this.on("loaded",Ae),this.player.debug.log(this.manager)}),this.initialized=!1,this.requestAds()}).catch(()=>{})}),r(this,"trigger",(Ae,...qe)=>{const wt=this.events[Ae];L.array(wt)&&wt.forEach(kt=>{L.function(kt)&&kt.apply(this,qe)})}),r(this,"on",(Ae,qe)=>(L.array(this.events[Ae])||(this.events[Ae]=[]),this.events[Ae].push(qe),this)),r(this,"startSafetyTimer",(Ae,qe)=>{this.player.debug.log(`Safety timer invoked from: ${qe}`),this.safetyTimer=setTimeout(()=>{this.cancel(),this.clearSafetyTimer("startSafetyTimer()")},Ae)}),r(this,"clearSafetyTimer",Ae=>{L.nullOrUndefined(this.safetyTimer)||(this.player.debug.log(`Safety timer cleared from: ${Ae}`),clearTimeout(this.safetyTimer),this.safetyTimer=null)}),this.player=xe,this.config=xe.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise((Ae,qe)=>{this.on("loaded",Ae),this.on("error",qe)}),this.load()}get enabled(){const{config:xe}=this;return this.player.isHTML5&&this.player.isVideo&&xe.enabled&&(!L.empty(xe.publisherId)||L.url(xe.tagUrl))}get tagUrl(){const{config:xe}=this;return L.url(xe.tagUrl)?xe.tagUrl:`https://go.aniview.com/api/adserver6/vast/?${Yn({AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:xe.publisherId})}`}}function qt(Pe=0,xe=0,Ae=255){return Math.min(Math.max(Pe,xe),Ae)}const Te=Pe=>{const xe=[];return Pe.split(/\r\n\r\n|\n\n|\r\r/).forEach(Ae=>{const qe={};Ae.split(/\r\n|\n|\r/).forEach(wt=>{if(L.number(qe.startTime)){if(!L.empty(wt.trim())&&L.empty(qe.text)){const kt=wt.trim().split("#xywh=");[qe.text]=kt,kt[1]&&([qe.x,qe.y,qe.w,qe.h]=kt[1].split(","))}}else{const kt=wt.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);kt&&(qe.startTime=60*Number(kt[1]||0)*60+60*Number(kt[2])+Number(kt[3])+ +`0.${kt[4]}`,qe.endTime=60*Number(kt[6]||0)*60+60*Number(kt[7])+Number(kt[8])+ +`0.${kt[9]}`)}}),qe.text&&xe.push(qe)}),xe},Gt=(Pe,xe)=>{const Ae={};return Pe>xe.width/xe.height?(Ae.width=xe.width,Ae.height=1/Pe*xe.width):(Ae.height=xe.height,Ae.width=Pe*xe.height),Ae};class un{constructor(xe){r(this,"load",()=>{this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then(()=>{this.enabled&&(this.render(),this.determineContainerAutoSizing(),this.listeners(),this.loaded=!0)})}),r(this,"getThumbnails",()=>new Promise(Ae=>{const{src:qe}=this.player.config.previewThumbnails;if(L.empty(qe))throw new Error("Missing previewThumbnails.src config attribute");const wt=()=>{this.thumbnails.sort((kt,ut)=>kt.height-ut.height),this.player.debug.log("Preview thumbnails",this.thumbnails),Ae()};if(L.function(qe))qe(kt=>{this.thumbnails=kt,wt()});else{const kt=(L.string(qe)?[qe]:qe).map(ut=>this.getThumbnail(ut));Promise.all(kt).then(wt)}})),r(this,"getThumbnail",Ae=>new Promise(qe=>{Re(Ae).then(wt=>{const kt={frames:Te(wt),height:null,urlPrefix:""};kt.frames[0].text.startsWith("/")||kt.frames[0].text.startsWith("http://")||kt.frames[0].text.startsWith("https://")||(kt.urlPrefix=Ae.substring(0,Ae.lastIndexOf("/")+1));const ut=new Image;ut.onload=()=>{kt.height=ut.naturalHeight,kt.width=ut.naturalWidth,this.thumbnails.push(kt),qe()},ut.src=kt.urlPrefix+kt.frames[0].text})})),r(this,"startMove",Ae=>{if(this.loaded&&L.event(Ae)&&["touchmove","mousemove"].includes(Ae.type)&&this.player.media.duration){if(Ae.type==="touchmove")this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var qe,wt;const kt=this.player.elements.progress.getBoundingClientRect(),ut=100/kt.width*(Ae.pageX-kt.left);this.seekTime=this.player.media.duration*(ut/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=Ae.pageX,this.elements.thumb.time.innerText=It(this.seekTime);const Ft=(qe=this.player.config.markers)===null||qe===void 0||(wt=qe.points)===null||wt===void 0?void 0:wt.find(({time:tn})=>tn===Math.round(this.seekTime));Ft&&this.elements.thumb.time.insertAdjacentHTML("afterbegin",`${Ft.label}<br>`)}this.showImageAtCurrentTime()}}),r(this,"endMove",()=>{this.toggleThumbContainer(!1,!0)}),r(this,"startScrubbing",Ae=>{(L.nullOrUndefined(Ae.button)||Ae.button===!1||Ae.button===0)&&(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}),r(this,"endScrubbing",()=>{this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):_e.call(this.player,this.player.media,"timeupdate",()=>{this.mouseDown||this.toggleScrubbingContainer(!1)})}),r(this,"listeners",()=>{this.player.on("play",()=>{this.toggleThumbContainer(!1,!0)}),this.player.on("seeked",()=>{this.toggleThumbContainer(!1)}),this.player.on("timeupdate",()=>{this.lastTime=this.player.media.currentTime})}),r(this,"render",()=>{this.elements.thumb.container=R("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=R("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);const Ae=R("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=R("span",{},"00:00"),Ae.appendChild(this.elements.thumb.time),this.elements.thumb.imageContainer.appendChild(Ae),L.element(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=R("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}),r(this,"destroy",()=>{this.elements.thumb.container&&this.elements.thumb.container.remove(),this.elements.scrubbing.container&&this.elements.scrubbing.container.remove()}),r(this,"showImageAtCurrentTime",()=>{this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();const Ae=this.thumbnails[0].frames.findIndex(kt=>this.seekTime>=kt.startTime&&this.seekTime<=kt.endTime),qe=Ae>=0;let wt=0;this.mouseDown||this.toggleThumbContainer(qe),qe&&(this.thumbnails.forEach((kt,ut)=>{this.loadedImages.includes(kt.frames[Ae].text)&&(wt=ut)}),Ae!==this.showingThumb&&(this.showingThumb=Ae,this.loadImage(wt)))}),r(this,"loadImage",(Ae=0)=>{const qe=this.showingThumb,wt=this.thumbnails[Ae],{urlPrefix:kt}=wt,ut=wt.frames[qe],Ft=wt.frames[qe].text,tn=kt+Ft;if(this.currentImageElement&&this.currentImageElement.dataset.filename===Ft)this.showImage(this.currentImageElement,ut,Ae,qe,Ft,!1),this.currentImageElement.dataset.index=qe,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);const In=new Image;In.src=tn,In.dataset.index=qe,In.dataset.filename=Ft,this.showingThumbFilename=Ft,this.player.debug.log(`Loading image: ${tn}`),In.onload=()=>this.showImage(In,ut,Ae,qe,Ft,!0),this.loadingImage=In,this.removeOldImages(In)}}),r(this,"showImage",(Ae,qe,wt,kt,ut,Ft=!0)=>{this.player.debug.log(`Showing thumb: ${ut}. num: ${kt}. qual: ${wt}. newimg: ${Ft}`),this.setImageSizeAndOffset(Ae,qe),Ft&&(this.currentImageContainer.appendChild(Ae),this.currentImageElement=Ae,this.loadedImages.includes(ut)||this.loadedImages.push(ut)),this.preloadNearby(kt,!0).then(this.preloadNearby(kt,!1)).then(this.getHigherQuality(wt,Ae,qe,ut))}),r(this,"removeOldImages",Ae=>{Array.from(this.currentImageContainer.children).forEach(qe=>{if(qe.tagName.toLowerCase()!=="img")return;const wt=this.usingSprites?500:1e3;if(qe.dataset.index!==Ae.dataset.index&&!qe.dataset.deleting){qe.dataset.deleting=!0;const{currentImageContainer:kt}=this;setTimeout(()=>{kt.removeChild(qe),this.player.debug.log(`Removing thumb: ${qe.dataset.filename}`)},wt)}})}),r(this,"preloadNearby",(Ae,qe=!0)=>new Promise(wt=>{setTimeout(()=>{const kt=this.thumbnails[0].frames[Ae].text;if(this.showingThumbFilename===kt){let ut;ut=qe?this.thumbnails[0].frames.slice(Ae):this.thumbnails[0].frames.slice(0,Ae).reverse();let Ft=!1;ut.forEach(tn=>{const In=tn.text;if(In!==kt&&!this.loadedImages.includes(In)){Ft=!0,this.player.debug.log(`Preloading thumb filename: ${In}`);const{urlPrefix:rr}=this.thumbnails[0],Sr=rr+In,Yr=new Image;Yr.src=Sr,Yr.onload=()=>{this.player.debug.log(`Preloaded thumb filename: ${In}`),this.loadedImages.includes(In)||this.loadedImages.push(In),wt()}}}),Ft||wt()}},300)})),r(this,"getHigherQuality",(Ae,qe,wt,kt)=>{if(Ae<this.thumbnails.length-1){let ut=qe.naturalHeight;this.usingSprites&&(ut=wt.h),ut<this.thumbContainerHeight&&setTimeout(()=>{this.showingThumbFilename===kt&&(this.player.debug.log(`Showing higher quality thumb for: ${kt}`),this.loadImage(Ae+1))},300)}}),r(this,"toggleThumbContainer",(Ae=!1,qe=!1)=>{const wt=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(wt,Ae),!Ae&&qe&&(this.showingThumb=null,this.showingThumbFilename=null)}),r(this,"toggleScrubbingContainer",(Ae=!1)=>{const qe=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(qe,Ae),Ae||(this.showingThumb=null,this.showingThumbFilename=null)}),r(this,"determineContainerAutoSizing",()=>{(this.elements.thumb.imageContainer.clientHeight>20||this.elements.thumb.imageContainer.clientWidth>20)&&(this.sizeSpecifiedInCSS=!0)}),r(this,"setThumbContainerSizeAndPos",()=>{const{imageContainer:Ae}=this.elements.thumb;if(this.sizeSpecifiedInCSS){if(Ae.clientHeight>20&&Ae.clientWidth<20){const qe=Math.floor(Ae.clientHeight*this.thumbAspectRatio);Ae.style.width=`${qe}px`}else if(Ae.clientHeight<20&&Ae.clientWidth>20){const qe=Math.floor(Ae.clientWidth/this.thumbAspectRatio);Ae.style.height=`${qe}px`}}else{const qe=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);Ae.style.height=`${this.thumbContainerHeight}px`,Ae.style.width=`${qe}px`}this.setThumbContainerPos()}),r(this,"setThumbContainerPos",()=>{const Ae=this.player.elements.progress.getBoundingClientRect(),qe=this.player.elements.container.getBoundingClientRect(),{container:wt}=this.elements.thumb,kt=qe.left-Ae.left+10,ut=qe.right-Ae.left-wt.clientWidth-10,Ft=this.mousePosX-Ae.left-wt.clientWidth/2,tn=qt(Ft,kt,ut);wt.style.left=`${tn}px`,wt.style.setProperty("--preview-arrow-offset",Ft-tn+"px")}),r(this,"setScrubbingContainerSize",()=>{const{width:Ae,height:qe}=Gt(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});this.elements.scrubbing.container.style.width=`${Ae}px`,this.elements.scrubbing.container.style.height=`${qe}px`}),r(this,"setImageSizeAndOffset",(Ae,qe)=>{if(!this.usingSprites)return;const wt=this.thumbContainerHeight/qe.h;Ae.style.height=Ae.naturalHeight*wt+"px",Ae.style.width=Ae.naturalWidth*wt+"px",Ae.style.left=`-${qe.x*wt}px`,Ae.style.top=`-${qe.y*wt}px`}),this.player=xe,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}get enabled(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}get currentImageContainer(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}get usingSprites(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}get thumbAspectRatio(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}get thumbContainerHeight(){if(this.mouseDown){const{height:xe}=Gt(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});return xe}return this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}get currentImageElement(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement}set currentImageElement(xe){this.mouseDown?this.currentScrubbingImageElement=xe:this.currentThumbnailImageElement=xe}}const Vt={insertElements(Pe,xe){L.string(xe)?U(Pe,this.media,{src:xe}):L.array(xe)&&xe.forEach(Ae=>{U(Pe,this.media,Ae)})},change(Pe){k(Pe,"sources.length")?(we.cancelRequests.call(this),this.destroy.call(this,()=>{this.options.quality=[],j(this.media),this.media=null,L.element(this.elements.container)&&this.elements.container.removeAttribute("class");const{sources:xe,type:Ae}=Pe,[{provider:qe=$n.html5,src:wt}]=xe,kt=qe==="html5"?Ae:"div",ut=qe==="html5"?{}:{src:wt};Object.assign(this,{provider:qe,type:Ae,supported:he.check(Ae,qe,this.config.playsinline),media:R(kt,ut)}),this.elements.container.appendChild(this.media),L.boolean(Pe.autoplay)&&(this.config.autoplay=Pe.autoplay),this.isHTML5&&(this.config.crossorigin&&this.media.setAttribute("crossorigin",""),this.config.autoplay&&this.media.setAttribute("autoplay",""),L.empty(Pe.poster)||(this.poster=Pe.poster),this.config.loop.active&&this.media.setAttribute("loop",""),this.config.muted&&this.media.setAttribute("muted",""),this.config.playsinline&&this.media.setAttribute("playsinline","")),or.addStyleHook.call(this),this.isHTML5&&Vt.insertElements.call(this,"source",xe),this.config.title=Pe.title,xt.setup.call(this),this.isHTML5&&Object.keys(Pe).includes("tracks")&&Vt.insertElements.call(this,"track",Pe.tracks),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&or.build.call(this),this.isHTML5&&this.media.load(),L.empty(Pe.previewThumbnails)||(Object.assign(this.config.previewThumbnails,Pe.previewThumbnails),this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new un(this))),this.fullscreen.update()},!0)):this.debug.warn("Invalid source format")}};class Dn{constructor(xe,Ae){if(r(this,"play",()=>L.function(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then(()=>this.ads.play()).catch(()=>Ke(this.media.play())),this.media.play()):null),r(this,"pause",()=>this.playing&&L.function(this.media.pause)?this.media.pause():null),r(this,"togglePlay",Ft=>(L.boolean(Ft)?Ft:!this.playing)?this.play():this.pause()),r(this,"stop",()=>{this.isHTML5?(this.pause(),this.restart()):L.function(this.media.stop)&&this.media.stop()}),r(this,"restart",()=>{this.currentTime=0}),r(this,"rewind",Ft=>{this.currentTime-=L.number(Ft)?Ft:this.config.seekTime}),r(this,"forward",Ft=>{this.currentTime+=L.number(Ft)?Ft:this.config.seekTime}),r(this,"increaseVolume",Ft=>{const tn=this.media.muted?0:this.volume;this.volume=tn+(L.number(Ft)?Ft:0)}),r(this,"decreaseVolume",Ft=>{this.increaseVolume(-Ft)}),r(this,"airplay",()=>{he.airplay&&this.media.webkitShowPlaybackTargetPicker()}),r(this,"toggleControls",Ft=>{if(this.supported.ui&&!this.isAudio){const tn=pe(this.elements.container,this.config.classNames.hideControls),In=Ft===void 0?void 0:!Ft,rr=ne(this.elements.container,this.config.classNames.hideControls,In);if(rr&&L.array(this.config.controls)&&this.config.controls.includes("settings")&&!L.empty(this.config.settings)&&on.toggleMenu.call(this,!1),rr!==tn){const Sr=rr?"controlshidden":"controlsshown";ae.call(this,this.media,Sr)}return!rr}return!1}),r(this,"on",(Ft,tn)=>{H.call(this,this.elements.container,Ft,tn)}),r(this,"once",(Ft,tn)=>{_e.call(this,this.elements.container,Ft,tn)}),r(this,"off",(Ft,tn)=>{z(this.elements.container,Ft,tn)}),r(this,"destroy",(Ft,tn=!1)=>{if(!this.ready)return;const In=()=>{document.body.style.overflow="",this.embed=null,tn?(Object.keys(this.elements).length&&(j(this.elements.buttons.play),j(this.elements.captions),j(this.elements.controls),j(this.elements.wrapper),this.elements.buttons.play=null,this.elements.captions=null,this.elements.controls=null,this.elements.wrapper=null),L.function(Ft)&&Ft()):(ge.call(this),we.cancelRequests.call(this),ee(this.elements.original,this.elements.container),ae.call(this,this.elements.original,"destroyed",!0),L.function(Ft)&&Ft.call(this.elements.original),this.ready=!1,setTimeout(()=>{this.elements=null,this.media=null},200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(or.toggleNativeControls.call(this,!0),In()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),this.embed!==null&&L.function(this.embed.destroy)&&this.embed.destroy(),In()):this.isVimeo&&(this.embed!==null&&this.embed.unload().then(In),setTimeout(In,200))}),r(this,"supports",Ft=>he.mime.call(this,Ft)),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=he.touch,this.media=xe,L.string(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||L.nodeList(this.media)||L.array(this.media))&&(this.media=this.media[0]),this.config=x({},bn,Dn.defaults,Ae||{},(()=>{try{return JSON.parse(this.media.getAttribute("data-plyr-config"))}catch{return{}}})()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new Tn(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",he),L.nullOrUndefined(this.media)||!L.element(this.media))return void this.debug.error("Setup failed: no suitable element passed");if(this.media.plyr)return void this.debug.warn("Target already setup");if(!this.config.enabled)return void this.debug.error("Setup failed: disabled by config");if(!he.check().api)return void this.debug.error("Setup failed: no support");const qe=this.media.cloneNode(!0);qe.autoplay=!1,this.elements.original=qe;const wt=this.media.tagName.toLowerCase();let kt=null,ut=null;switch(wt){case"div":if(kt=this.media.querySelector("iframe"),L.element(kt)){if(ut=Pn(kt.getAttribute("src")),this.provider=function(Ft){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(Ft)?$n.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(Ft)?$n.vimeo:null}(ut.toString()),this.elements.container=this.media,this.media=kt,this.elements.container.className="",ut.search.length){const Ft=["1","true"];Ft.includes(ut.searchParams.get("autoplay"))&&(this.config.autoplay=!0),Ft.includes(ut.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=Ft.includes(ut.searchParams.get("playsinline")),this.config.youtube.hl=ut.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(L.empty(this.provider)||!Object.values($n).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=Rn;break;case"video":case"audio":this.type=wt,this.provider=$n.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=he.check(this.type,this.provider),this.supported.api?(this.eventListeners=[],this.listeners=new qn(this),this.storage=new ce(this),this.media.plyr=this,L.element(this.elements.container)||(this.elements.container=R("div"),M(this.media,this.elements.container)),or.migrateStyles.call(this),or.addStyleHook.call(this),xt.setup.call(this),this.config.debug&&H.call(this,this.elements.container,this.config.events.join(" "),Ft=>{this.debug.log(`event: ${Ft.type}`)}),this.fullscreen=new Nn(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&or.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new Qt(this)),this.isHTML5&&this.config.autoplay&&this.once("canplay",()=>Ke(this.play())),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new un(this))):this.debug.error("Setup failed: no support")}get isHTML5(){return this.provider===$n.html5}get isEmbed(){return this.isYouTube||this.isVimeo}get isYouTube(){return this.provider===$n.youtube}get isVimeo(){return this.provider===$n.vimeo}get isVideo(){return this.type===Rn}get isAudio(){return this.type===jt}get playing(){return!!(this.ready&&!this.paused&&!this.ended)}get paused(){return!!this.media.paused}get stopped(){return!!(this.paused&&this.currentTime===0)}get ended(){return!!this.media.ended}set currentTime(xe){if(!this.duration)return;const Ae=L.number(xe)&&xe>0;this.media.currentTime=Ae?Math.min(xe,this.duration):0,this.debug.log(`Seeking to ${this.currentTime} seconds`)}get currentTime(){return Number(this.media.currentTime)}get buffered(){const{buffered:xe}=this.media;return L.number(xe)?xe:xe&&xe.length&&this.duration>0?xe.end(0)/this.duration:0}get seeking(){return!!this.media.seeking}get duration(){const xe=parseFloat(this.config.duration),Ae=(this.media||{}).duration,qe=L.number(Ae)&&Ae!==1/0?Ae:0;return xe||qe}set volume(xe){let Ae=xe;L.string(Ae)&&(Ae=Number(Ae)),L.number(Ae)||(Ae=this.storage.get("volume")),L.number(Ae)||({volume:Ae}=this.config),Ae>1&&(Ae=1),Ae<0&&(Ae=0),this.config.volume=Ae,this.media.volume=Ae,!L.empty(xe)&&this.muted&&Ae>0&&(this.muted=!1)}get volume(){return Number(this.media.volume)}set muted(xe){let Ae=xe;L.boolean(Ae)||(Ae=this.storage.get("muted")),L.boolean(Ae)||(Ae=this.config.muted),this.config.muted=Ae,this.media.muted=Ae}get muted(){return!!this.media.muted}get hasAudio(){return!this.isHTML5||!!this.isAudio||!!this.media.mozHasAudio||!!this.media.webkitAudioDecodedByteCount||!!(this.media.audioTracks&&this.media.audioTracks.length)}set speed(xe){let Ae=null;L.number(xe)&&(Ae=xe),L.number(Ae)||(Ae=this.storage.get("speed")),L.number(Ae)||(Ae=this.config.speed.selected);const{minimumSpeed:qe,maximumSpeed:wt}=this;Ae=qt(Ae,qe,wt),this.config.speed.selected=Ae,setTimeout(()=>{this.media&&(this.media.playbackRate=Ae)},0)}get speed(){return Number(this.media.playbackRate)}get minimumSpeed(){return this.isYouTube?Math.min(...this.options.speed):this.isVimeo?.5:.0625}get maximumSpeed(){return this.isYouTube?Math.max(...this.options.speed):this.isVimeo?2:16}set quality(xe){const Ae=this.config.quality,qe=this.options.quality;if(!qe.length)return;let wt=[!L.empty(xe)&&Number(xe),this.storage.get("quality"),Ae.selected,Ae.default].find(L.number),kt=!0;if(!qe.includes(wt)){const ut=ye(qe,wt);this.debug.warn(`Unsupported quality option: ${wt}, using ${ut} instead`),wt=ut,kt=!1}Ae.selected=wt,this.media.quality=wt,kt&&this.storage.set({quality:wt})}get quality(){return this.media.quality}set loop(xe){const Ae=L.boolean(xe)?xe:this.config.loop.active;this.config.loop.active=Ae,this.media.loop=Ae}get loop(){return!!this.media.loop}set source(xe){Vt.change.call(this,xe)}get source(){return this.media.currentSrc}get download(){const{download:xe}=this.config.urls;return L.url(xe)?xe:this.source}set download(xe){L.url(xe)&&(this.config.urls.download=xe,on.setDownloadUrl.call(this))}set poster(xe){this.isVideo?or.setPoster.call(this,xe,!1).catch(()=>{}):this.debug.warn("Poster can only be set for video")}get poster(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null}get ratio(){if(!this.isVideo)return null;const xe=Fe(ht.call(this));return L.array(xe)?xe.join(":"):xe}set ratio(xe){this.isVideo?L.string(xe)&&Xe(xe)?(this.config.ratio=Fe(xe),Ne.call(this)):this.debug.error(`Invalid aspect ratio specified (${xe})`):this.debug.warn("Aspect ratio can only be set for video")}set autoplay(xe){this.config.autoplay=L.boolean(xe)?xe:this.config.autoplay}get autoplay(){return!!this.config.autoplay}toggleCaptions(xe){Ln.toggle.call(this,xe,!1)}set currentTrack(xe){Ln.set.call(this,xe,!1),Ln.setup.call(this)}get currentTrack(){const{toggled:xe,currentTrack:Ae}=this.captions;return xe?Ae:-1}set language(xe){Ln.setLanguage.call(this,xe,!1)}get language(){return(Ln.getCurrentTrack.call(this)||{}).language}set pip(xe){if(!he.pip)return;const Ae=L.boolean(xe)?xe:!this.pip;L.function(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(Ae?ir:Zn),L.function(this.media.requestPictureInPicture)&&(!this.pip&&Ae?this.media.requestPictureInPicture():this.pip&&!Ae&&document.exitPictureInPicture())}get pip(){return he.pip?L.empty(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===ir:null}setPreviewThumbnails(xe){this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),Object.assign(this.config.previewThumbnails,xe),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new un(this))}static supported(xe,Ae){return he.check(xe,Ae)}static loadSprite(xe,Ae){return nt(xe,Ae)}static setup(xe,Ae={}){let qe=null;return L.string(xe)?qe=Array.from(document.querySelectorAll(xe)):L.nodeList(xe)?qe=Array.from(xe):L.array(xe)&&(qe=xe.filter(L.element)),L.empty(qe)?null:qe.map(wt=>new Dn(wt,Ae))}}var Wt;return Dn.defaults=(Wt=bn,JSON.parse(JSON.stringify(Wt))),Dn})},269010:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(497793),o={name:"maxSize",enabled:!0,phase:"main",requiresIfExists:["offset","preventOverflow","flip"],fn:function(i){var c=i.state,u=i.name,f=i.options,d=(0,r.Z)(c,f),h=c.modifiersData.preventOverflow||{x:0,y:0},g=h.x,_=h.y,p=c.rects.popper,y=p.width,O=p.height,P=c.placement.split("-"),C=P[0],A=C==="left"?"left":"right",S=C==="top"?"top":"bottom";c.modifiersData[u]={width:y-d[A]-g,height:O-d[S]-_}}};const n=o},669953:function(b,l,e){"use strict";var r=e(909747);function o(){}function n(){}n.resetWarningCache=o,b.exports=function(){function a(u,f,d,h,g,_){if(_!==r){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}a.isRequired=a;function i(){return a}var c={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:i,element:a,elementType:a,instanceOf:i,node:a,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:o};return c.PropTypes=c,c}},795478:function(b,l,e){if(0)var r,o;else b.exports=e(669953)()},909747:function(b){"use strict";var l="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";b.exports=l},470830:function(b){"use strict";var l=String.prototype.replace,e=/%20/g,r={RFC1738:"RFC1738",RFC3986:"RFC3986"};b.exports={default:r.RFC3986,formatters:{RFC1738:function(o){return l.call(o,e,"+")},RFC3986:function(o){return String(o)}},RFC1738:r.RFC1738,RFC3986:r.RFC3986}},866451:function(b,l,e){"use strict";var r=e(749653),o=e(854305),n=e(470830);b.exports={formats:n,parse:o,stringify:r}},854305:function(b,l,e){"use strict";var r=e(496743),o=Object.prototype.hasOwnProperty,n=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(p){return p.replace(/&#(\d+);/g,function(y,O){return String.fromCharCode(parseInt(O,10))})},c=function(p,y,O){if(p&&typeof p=="string"&&y.comma&&p.indexOf(",")>-1)return p.split(",");if(y.throwOnLimitExceeded&&O>=y.arrayLimit)throw new RangeError("Array limit exceeded. Only "+y.arrayLimit+" element"+(y.arrayLimit===1?"":"s")+" allowed in an array.");return p},u="utf8=%26%2310003%3B",f="utf8=%E2%9C%93",d=function(y,O){var P={__proto__:null},C=O.ignoreQueryPrefix?y.replace(/^\?/,""):y;C=C.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var A=O.parameterLimit===1/0?void 0:O.parameterLimit,S=C.split(O.delimiter,O.throwOnLimitExceeded?A+1:A);if(O.throwOnLimitExceeded&&S.length>A)throw new RangeError("Parameter limit exceeded. Only "+A+" parameter"+(A===1?"":"s")+" allowed.");var T=-1,s,v=O.charset;if(O.charsetSentinel)for(s=0;s<S.length;++s)S[s].indexOf("utf8=")===0&&(S[s]===f?v="utf-8":S[s]===u&&(v="iso-8859-1"),T=s,s=S.length);for(s=0;s<S.length;++s)if(s!==T){var m=S[s],E=m.indexOf("]="),I=E===-1?m.indexOf("="):E+1,L,W;I===-1?(L=O.decoder(m,a.decoder,v,"key"),W=O.strictNullHandling?null:""):(L=O.decoder(m.slice(0,I),a.decoder,v,"key"),W=r.maybeMap(c(m.slice(I+1),O,n(P[L])?P[L].length:0),function(G){return O.decoder(G,a.decoder,v,"value")})),W&&O.interpretNumericEntities&&v==="iso-8859-1"&&(W=i(String(W))),m.indexOf("[]=")>-1&&(W=n(W)?[W]:W);var F=o.call(P,L);F&&O.duplicates==="combine"?P[L]=r.combine(P[L],W):(!F||O.duplicates==="last")&&(P[L]=W)}return P},h=function(p,y,O,P){var C=0;if(p.length>0&&p[p.length-1]==="[]"){var A=p.slice(0,-1).join("");C=Array.isArray(y)&&y[A]?y[A].length:0}for(var S=P?y:c(y,O,C),T=p.length-1;T>=0;--T){var s,v=p[T];if(v==="[]"&&O.parseArrays)s=O.allowEmptyArrays&&(S===""||O.strictNullHandling&&S===null)?[]:r.combine([],S);else{s=O.plainObjects?{__proto__:null}:{};var m=v.charAt(0)==="["&&v.charAt(v.length-1)==="]"?v.slice(1,-1):v,E=O.decodeDotInKeys?m.replace(/%2E/g,"."):m,I=parseInt(E,10);!O.parseArrays&&E===""?s={0:S}:!isNaN(I)&&v!==E&&String(I)===E&&I>=0&&O.parseArrays&&I<=O.arrayLimit?(s=[],s[I]=S):E!=="__proto__"&&(s[E]=S)}S=s}return S},g=function(y,O,P,C){if(y){var A=P.allowDots?y.replace(/\.([^.[]+)/g,"[$1]"):y,S=/(\[[^[\]]*])/,T=/(\[[^[\]]*])/g,s=P.depth>0&&S.exec(A),v=s?A.slice(0,s.index):A,m=[];if(v){if(!P.plainObjects&&o.call(Object.prototype,v)&&!P.allowPrototypes)return;m.push(v)}for(var E=0;P.depth>0&&(s=T.exec(A))!==null&&E<P.depth;){if(E+=1,!P.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!P.allowPrototypes)return;m.push(s[1])}if(s){if(P.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+P.depth+" and strictDepth is true");m.push("["+A.slice(s.index)+"]")}return h(m,O,P,C)}},_=function(y){if(!y)return a;if(typeof y.allowEmptyArrays<"u"&&typeof y.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof y.decodeDotInKeys<"u"&&typeof y.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(y.decoder!==null&&typeof y.decoder<"u"&&typeof y.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof y.charset<"u"&&y.charset!=="utf-8"&&y.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof y.throwOnLimitExceeded<"u"&&typeof y.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var O=typeof y.charset>"u"?a.charset:y.charset,P=typeof y.duplicates>"u"?a.duplicates:y.duplicates;if(P!=="combine"&&P!=="first"&&P!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var C=typeof y.allowDots>"u"?y.decodeDotInKeys===!0?!0:a.allowDots:!!y.allowDots;return{allowDots:C,allowEmptyArrays:typeof y.allowEmptyArrays=="boolean"?!!y.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:typeof y.allowPrototypes=="boolean"?y.allowPrototypes:a.allowPrototypes,allowSparse:typeof y.allowSparse=="boolean"?y.allowSparse:a.allowSparse,arrayLimit:typeof y.arrayLimit=="number"?y.arrayLimit:a.arrayLimit,charset:O,charsetSentinel:typeof y.charsetSentinel=="boolean"?y.charsetSentinel:a.charsetSentinel,comma:typeof y.comma=="boolean"?y.comma:a.comma,decodeDotInKeys:typeof y.decodeDotInKeys=="boolean"?y.decodeDotInKeys:a.decodeDotInKeys,decoder:typeof y.decoder=="function"?y.decoder:a.decoder,delimiter:typeof y.delimiter=="string"||r.isRegExp(y.delimiter)?y.delimiter:a.delimiter,depth:typeof y.depth=="number"||y.depth===!1?+y.depth:a.depth,duplicates:P,ignoreQueryPrefix:y.ignoreQueryPrefix===!0,interpretNumericEntities:typeof y.interpretNumericEntities=="boolean"?y.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:typeof y.parameterLimit=="number"?y.parameterLimit:a.parameterLimit,parseArrays:y.parseArrays!==!1,plainObjects:typeof y.plainObjects=="boolean"?y.plainObjects:a.plainObjects,strictDepth:typeof y.strictDepth=="boolean"?!!y.strictDepth:a.strictDepth,strictNullHandling:typeof y.strictNullHandling=="boolean"?y.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:typeof y.throwOnLimitExceeded=="boolean"?y.throwOnLimitExceeded:!1}};b.exports=function(p,y){var O=_(y);if(p===""||p===null||typeof p>"u")return O.plainObjects?{__proto__:null}:{};for(var P=typeof p=="string"?d(p,O):p,C=O.plainObjects?{__proto__:null}:{},A=Object.keys(P),S=0;S<A.length;++S){var T=A[S],s=g(T,P[T],O,typeof p=="string");C=r.merge(C,s,O)}return O.allowSparse===!0?C:r.compact(C)}},749653:function(b,l,e){"use strict";var r=e(15378),o=e(496743),n=e(470830),a=Object.prototype.hasOwnProperty,i={brackets:function(C){return C+"[]"},comma:"comma",indices:function(C,A){return C+"["+A+"]"},repeat:function(C){return C}},c=Array.isArray,u=Array.prototype.push,f=function(P,C){u.apply(P,c(C)?C:[C])},d=Date.prototype.toISOString,h=n.default,g={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,filter:void 0,format:h,formatter:n.formatters[h],indices:!1,serializeDate:function(C){return d.call(C)},skipNulls:!1,strictNullHandling:!1},_=function(C){return typeof C=="string"||typeof C=="number"||typeof C=="boolean"||typeof C=="symbol"||typeof C=="bigint"},p={},y=function P(C,A,S,T,s,v,m,E,I,L,W,F,G,k,x,M,B,R){for(var U=C,j=R,$=0,ee=!1;(j=j.get(p))!==void 0&&!ee;){var te=j.get(C);if($+=1,typeof te<"u"){if(te===$)throw new RangeError("Cyclic object value");ee=!0}typeof j.get(p)>"u"&&($=0)}if(typeof L=="function"?U=L(A,U):U instanceof Date?U=G(U):S==="comma"&&c(U)&&(U=o.maybeMap(U,function(z){return z instanceof Date?G(z):z})),U===null){if(v)return I&&!M?I(A,g.encoder,B,"key",k):A;U=""}if(_(U)||o.isBuffer(U)){if(I){var ie=M?A:I(A,g.encoder,B,"key",k);return[x(ie)+"="+x(I(U,g.encoder,B,"value",k))]}return[x(A)+"="+x(String(U))]}var ne=[];if(typeof U>"u")return ne;var pe;if(S==="comma"&&c(U))M&&I&&(U=o.maybeMap(U,I)),pe=[{value:U.length>0?U.join(",")||null:void 0}];else if(c(L))pe=L;else{var oe=Object.keys(U);pe=W?oe.sort(W):oe}var q=E?String(A).replace(/\./g,"%2E"):String(A),J=T&&c(U)&&U.length===1?q+"[]":q;if(s&&c(U)&&U.length===0)return J+"[]";for(var me=0;me<pe.length;++me){var re=pe[me],he=typeof re=="object"&&re&&typeof re.value<"u"?re.value:U[re];if(!(m&&he===null)){var Ee=F&&E?String(re).replace(/\./g,"%2E"):String(re),fe=c(U)?typeof S=="function"?S(J,Ee):J:J+(F?"."+Ee:"["+Ee+"]");R.set(C,$);var H=r();H.set(p,R),f(ne,P(he,fe,S,T,s,v,m,E,S==="comma"&&M&&c(U)?null:I,L,W,F,G,k,x,M,B,H))}}return ne},O=function(C){if(!C)return g;if(typeof C.allowEmptyArrays<"u"&&typeof C.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof C.encodeDotInKeys<"u"&&typeof C.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(C.encoder!==null&&typeof C.encoder<"u"&&typeof C.encoder!="function")throw new TypeError("Encoder has to be a function.");var A=C.charset||g.charset;if(typeof C.charset<"u"&&C.charset!=="utf-8"&&C.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var S=n.default;if(typeof C.format<"u"){if(!a.call(n.formatters,C.format))throw new TypeError("Unknown format option provided.");S=C.format}var T=n.formatters[S],s=g.filter;(typeof C.filter=="function"||c(C.filter))&&(s=C.filter);var v;if(C.arrayFormat in i?v=C.arrayFormat:"indices"in C?v=C.indices?"indices":"repeat":v=g.arrayFormat,"commaRoundTrip"in C&&typeof C.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var m=typeof C.allowDots>"u"?C.encodeDotInKeys===!0?!0:g.allowDots:!!C.allowDots;return{addQueryPrefix:typeof C.addQueryPrefix=="boolean"?C.addQueryPrefix:g.addQueryPrefix,allowDots:m,allowEmptyArrays:typeof C.allowEmptyArrays=="boolean"?!!C.allowEmptyArrays:g.allowEmptyArrays,arrayFormat:v,charset:A,charsetSentinel:typeof C.charsetSentinel=="boolean"?C.charsetSentinel:g.charsetSentinel,commaRoundTrip:!!C.commaRoundTrip,delimiter:typeof C.delimiter>"u"?g.delimiter:C.delimiter,encode:typeof C.encode=="boolean"?C.encode:g.encode,encodeDotInKeys:typeof C.encodeDotInKeys=="boolean"?C.encodeDotInKeys:g.encodeDotInKeys,encoder:typeof C.encoder=="function"?C.encoder:g.encoder,encodeValuesOnly:typeof C.encodeValuesOnly=="boolean"?C.encodeValuesOnly:g.encodeValuesOnly,filter:s,format:S,formatter:T,serializeDate:typeof C.serializeDate=="function"?C.serializeDate:g.serializeDate,skipNulls:typeof C.skipNulls=="boolean"?C.skipNulls:g.skipNulls,sort:typeof C.sort=="function"?C.sort:null,strictNullHandling:typeof C.strictNullHandling=="boolean"?C.strictNullHandling:g.strictNullHandling}};b.exports=function(P,C){var A=P,S=O(C),T,s;typeof S.filter=="function"?(s=S.filter,A=s("",A)):c(S.filter)&&(s=S.filter,T=s);var v=[];if(typeof A!="object"||A===null)return"";var m=i[S.arrayFormat],E=m==="comma"&&S.commaRoundTrip;T||(T=Object.keys(A)),S.sort&&T.sort(S.sort);for(var I=r(),L=0;L<T.length;++L){var W=T[L],F=A[W];S.skipNulls&&F===null||f(v,y(F,W,m,E,S.allowEmptyArrays,S.strictNullHandling,S.skipNulls,S.encodeDotInKeys,S.encode?S.encoder:null,S.filter,S.sort,S.allowDots,S.serializeDate,S.format,S.formatter,S.encodeValuesOnly,S.charset,I))}var G=v.join(S.delimiter),k=S.addQueryPrefix===!0?"?":"";return S.charsetSentinel&&(S.charset==="iso-8859-1"?k+="utf8=%26%2310003%3B&":k+="utf8=%E2%9C%93&"),G.length>0?k+G:""}},496743:function(b,l,e){"use strict";var r=e(470830),o=Object.prototype.hasOwnProperty,n=Array.isArray,a=function(){for(var C=[],A=0;A<256;++A)C.push("%"+((A<16?"0":"")+A.toString(16)).toUpperCase());return C}(),i=function(A){for(;A.length>1;){var S=A.pop(),T=S.obj[S.prop];if(n(T)){for(var s=[],v=0;v<T.length;++v)typeof T[v]<"u"&&s.push(T[v]);S.obj[S.prop]=s}}},c=function(A,S){for(var T=S&&S.plainObjects?{__proto__:null}:{},s=0;s<A.length;++s)typeof A[s]<"u"&&(T[s]=A[s]);return T},u=function C(A,S,T){if(!S)return A;if(typeof S!="object"&&typeof S!="function"){if(n(A))A.push(S);else if(A&&typeof A=="object")(T&&(T.plainObjects||T.allowPrototypes)||!o.call(Object.prototype,S))&&(A[S]=!0);else return[A,S];return A}if(!A||typeof A!="object")return[A].concat(S);var s=A;return n(A)&&!n(S)&&(s=c(A,T)),n(A)&&n(S)?(S.forEach(function(v,m){if(o.call(A,m)){var E=A[m];E&&typeof E=="object"&&v&&typeof v=="object"?A[m]=C(E,v,T):A.push(v)}else A[m]=v}),A):Object.keys(S).reduce(function(v,m){var E=S[m];return o.call(v,m)?v[m]=C(v[m],E,T):v[m]=E,v},s)},f=function(A,S){return Object.keys(S).reduce(function(T,s){return T[s]=S[s],T},A)},d=function(C,A,S){var T=C.replace(/\+/g," ");if(S==="iso-8859-1")return T.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(T)}catch{return T}},h=1024,g=function(A,S,T,s,v){if(A.length===0)return A;var m=A;if(typeof A=="symbol"?m=Symbol.prototype.toString.call(A):typeof A!="string"&&(m=String(A)),T==="iso-8859-1")return escape(m).replace(/%u[0-9a-f]{4}/gi,function(k){return"%26%23"+parseInt(k.slice(2),16)+"%3B"});for(var E="",I=0;I<m.length;I+=h){for(var L=m.length>=h?m.slice(I,I+h):m,W=[],F=0;F<L.length;++F){var G=L.charCodeAt(F);if(G===45||G===46||G===95||G===126||G>=48&&G<=57||G>=65&&G<=90||G>=97&&G<=122||v===r.RFC1738&&(G===40||G===41)){W[W.length]=L.charAt(F);continue}if(G<128){W[W.length]=a[G];continue}if(G<2048){W[W.length]=a[192|G>>6]+a[128|G&63];continue}if(G<55296||G>=57344){W[W.length]=a[224|G>>12]+a[128|G>>6&63]+a[128|G&63];continue}F+=1,G=65536+((G&1023)<<10|L.charCodeAt(F)&1023),W[W.length]=a[240|G>>18]+a[128|G>>12&63]+a[128|G>>6&63]+a[128|G&63]}E+=W.join("")}return E},_=function(A){for(var S=[{obj:{o:A},prop:"o"}],T=[],s=0;s<S.length;++s)for(var v=S[s],m=v.obj[v.prop],E=Object.keys(m),I=0;I<E.length;++I){var L=E[I],W=m[L];typeof W=="object"&&W!==null&&T.indexOf(W)===-1&&(S.push({obj:m,prop:L}),T.push(W))}return i(S),A},p=function(A){return Object.prototype.toString.call(A)==="[object RegExp]"},y=function(A){return!A||typeof A!="object"?!1:!!(A.constructor&&A.constructor.isBuffer&&A.constructor.isBuffer(A))},O=function(A,S){return[].concat(A,S)},P=function(A,S){if(n(A)){for(var T=[],s=0;s<A.length;s+=1)T.push(S(A[s]));return T}return S(A)};b.exports={arrayToObject:c,assign:f,combine:O,compact:_,decode:d,encode:g,isBuffer:y,isRegExp:p,maybeMap:P,merge:u}},762809:function(b){"use strict";function l(e,r){return Object.prototype.hasOwnProperty.call(e,r)}b.exports=function(e,r,o,n){r=r||"&",o=o||"=";var a={};if(typeof e!="string"||e.length===0)return a;var i=/\+/g;e=e.split(r);var c=1e3;n&&typeof n.maxKeys=="number"&&(c=n.maxKeys);var u=e.length;c>0&&u>c&&(u=c);for(var f=0;f<u;++f){var d=e[f].replace(i,"%20"),h=d.indexOf(o),g,_,p,y;h>=0?(g=d.substr(0,h),_=d.substr(h+1)):(g=d,_=""),p=decodeURIComponent(g),y=decodeURIComponent(_),l(a,p)?Array.isArray(a[p])?a[p].push(y):a[p]=[a[p],y]:a[p]=y}return a}},910918:function(b){"use strict";var l=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};b.exports=function(e,r,o,n){return r=r||"&",o=o||"=",e===null&&(e=void 0),typeof e=="object"?Object.keys(e).map(function(a){var i=encodeURIComponent(l(a))+o;return Array.isArray(e[a])?e[a].map(function(c){return i+encodeURIComponent(l(c))}).join(r):i+encodeURIComponent(l(e[a]))}).filter(Boolean).join(r):n?encodeURIComponent(l(n))+o+encodeURIComponent(l(e)):""}},876978:function(b,l,e){"use strict";l.decode=l.parse=e(762809),l.encode=l.stringify=e(910918)},107261:function(b,l,e){for(var r=e(415729),o=typeof window>"u"?{}:window,n=["moz","webkit"],a="AnimationFrame",i=o["request"+a],c=o["cancel"+a]||o["cancelRequest"+a],u=0;u<n.length&&!i;u++)i=o[n[u]+"Request"+a],c=o[n[u]+"Cancel"+a]||o[n[u]+"CancelRequest"+a];if(!i||!c){var f=0,d=0,h=[],g=1e3/60;i=function(_){if(h.length===0){var p=r(),y=Math.max(0,g-(p-f));f=y+p,setTimeout(function(){var O=h.slice(0);h.length=0;for(var P=0;P<O.length;P++)if(!O[P].cancelled)try{O[P].callback(f)}catch(C){setTimeout(function(){throw C},0)}},Math.round(y))}return h.push({handle:++d,callback:_,cancelled:!1}),d},c=function(_){for(var p=0;p<h.length;p++)h[p].handle===_&&(h[p].cancelled=!0)}}b.exports=function(_){return i.call(o,_)},b.exports.cancel=function(){c.apply(o,arguments)}},731761:function(b,l,e){for(var r=e(717925),o=typeof window>"u"?e.g:window,n=["moz","webkit"],a="AnimationFrame",i=o["request"+a],c=o["cancel"+a]||o["cancelRequest"+a],u=0;!i&&u<n.length;u++)i=o[n[u]+"Request"+a],c=o[n[u]+"Cancel"+a]||o[n[u]+"CancelRequest"+a];if(!i||!c){var f=0,d=0,h=[],g=1e3/60;i=function(_){if(h.length===0){var p=r(),y=Math.max(0,g-(p-f));f=y+p,setTimeout(function(){var O=h.slice(0);h.length=0;for(var P=0;P<O.length;P++)if(!O[P].cancelled)try{O[P].callback(f)}catch(C){setTimeout(function(){throw C},0)}},Math.round(y))}return h.push({handle:++d,callback:_,cancelled:!1}),d},c=function(_){for(var p=0;p<h.length;p++)h[p].handle===_&&(h[p].cancelled=!0)}}b.exports=function(_){return i.call(o,_)},b.exports.cancel=function(){c.apply(o,arguments)},b.exports.polyfill=function(_){_||(_=o),_.requestAnimationFrame=i,_.cancelAnimationFrame=c}},608280:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=e;function e(r){return r.displayName||r.name||(typeof r=="string"&&r.length>0?r:"Unknown")}},511382:function(b,l,e){"use strict";/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=e(174161),o=e(557152);function n(V){for(var se="https://reactjs.org/docs/error-decoder.html?invariant="+V,dt=1;dt<arguments.length;dt++)se+="&args[]="+encodeURIComponent(arguments[dt]);return"Minified React error #"+V+"; visit "+se+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,i={};function c(V,se){u(V,se),u(V+"Capture",se)}function u(V,se){for(i[V]=se,V=0;V<se.length;V++)a.add(se[V])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),d=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},_={};function p(V){return d.call(_,V)?!0:d.call(g,V)?!1:h.test(V)?_[V]=!0:(g[V]=!0,!1)}function y(V,se,dt,en){if(dt!==null&&dt.type===0)return!1;switch(typeof se){case"function":case"symbol":return!0;case"boolean":return en?!1:dt!==null?!dt.acceptsBooleans:(V=V.toLowerCase().slice(0,5),V!=="data-"&&V!=="aria-");default:return!1}}function O(V,se,dt,en){if(se===null||typeof se>"u"||y(V,se,dt,en))return!0;if(en)return!1;if(dt!==null)switch(dt.type){case 3:return!se;case 4:return se===!1;case 5:return isNaN(se);case 6:return isNaN(se)||1>se}return!1}function P(V,se,dt,en,kn,gr,Io){this.acceptsBooleans=se===2||se===3||se===4,this.attributeName=en,this.attributeNamespace=kn,this.mustUseProperty=dt,this.propertyName=V,this.type=se,this.sanitizeURL=gr,this.removeEmptyString=Io}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(V){C[V]=new P(V,0,!1,V,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(V){var se=V[0];C[se]=new P(se,1,!1,V[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(V){C[V]=new P(V,2,!1,V.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(V){C[V]=new P(V,2,!1,V,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(V){C[V]=new P(V,3,!1,V.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(V){C[V]=new P(V,3,!0,V,null,!1,!1)}),["capture","download"].forEach(function(V){C[V]=new P(V,4,!1,V,null,!1,!1)}),["cols","rows","size","span"].forEach(function(V){C[V]=new P(V,6,!1,V,null,!1,!1)}),["rowSpan","start"].forEach(function(V){C[V]=new P(V,5,!1,V.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function S(V){return V[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(V){var se=V.replace(A,S);C[se]=new P(se,1,!1,V,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(V){var se=V.replace(A,S);C[se]=new P(se,1,!1,V,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(V){var se=V.replace(A,S);C[se]=new P(se,1,!1,V,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(V){C[V]=new P(V,1,!1,V.toLowerCase(),null,!1,!1)}),C.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(V){C[V]=new P(V,1,!1,V.toLowerCase(),null,!0,!0)});function T(V,se,dt,en){var kn=C.hasOwnProperty(se)?C[se]:null;(kn!==null?kn.type!==0:en||!(2<se.length)||se[0]!=="o"&&se[0]!=="O"||se[1]!=="n"&&se[1]!=="N")&&(O(se,dt,kn,en)&&(dt=null),en||kn===null?p(se)&&(dt===null?V.removeAttribute(se):V.setAttribute(se,""+dt)):kn.mustUseProperty?V[kn.propertyName]=dt===null?kn.type===3?!1:"":dt:(se=kn.attributeName,en=kn.attributeNamespace,dt===null?V.removeAttribute(se):(kn=kn.type,dt=kn===3||kn===4&&dt===!0?"":""+dt,en?V.setAttributeNS(en,se,dt):V.setAttribute(se,dt))))}var s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,v=Symbol.for("react.element"),m=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),W=Symbol.for("react.provider"),F=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),B=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var U=Symbol.iterator;function j(V){return V===null||typeof V!="object"?null:(V=U&&V[U]||V["@@iterator"],typeof V=="function"?V:null)}var $=Object.assign,ee;function te(V){if(ee===void 0)try{throw Error()}catch(dt){var se=dt.stack.trim().match(/\n( *(at )?)/);ee=se&&se[1]||""}return`
`+ee+V}var ie=!1;function ne(V,se){if(!V||ie)return"";ie=!0;var dt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(se)if(se=function(){throw Error()},Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch(Ps){var en=Ps}Reflect.construct(V,[],se)}else{try{se.call()}catch(Ps){en=Ps}V.call(se.prototype)}else{try{throw Error()}catch(Ps){en=Ps}V()}}catch(Ps){if(Ps&&en&&typeof Ps.stack=="string"){for(var kn=Ps.stack.split(`
`),gr=en.stack.split(`
`),Io=kn.length-1,ma=gr.length-1;1<=Io&&0<=ma&&kn[Io]!==gr[ma];)ma--;for(;1<=Io&&0<=ma;Io--,ma--)if(kn[Io]!==gr[ma]){if(Io!==1||ma!==1)do if(Io--,ma--,0>ma||kn[Io]!==gr[ma]){var Ta=`
`+kn[Io].replace(" at new "," at ");return V.displayName&&Ta.includes("<anonymous>")&&(Ta=Ta.replace("<anonymous>",V.displayName)),Ta}while(1<=Io&&0<=ma);break}}}finally{ie=!1,Error.prepareStackTrace=dt}return(V=V?V.displayName||V.name:"")?te(V):""}function pe(V){switch(V.tag){case 5:return te(V.type);case 16:return te("Lazy");case 13:return te("Suspense");case 19:return te("SuspenseList");case 0:case 2:case 15:return V=ne(V.type,!1),V;case 11:return V=ne(V.type.render,!1),V;case 1:return V=ne(V.type,!0),V;default:return""}}function oe(V){if(V==null)return null;if(typeof V=="function")return V.displayName||V.name||null;if(typeof V=="string")return V;switch(V){case E:return"Fragment";case m:return"Portal";case L:return"Profiler";case I:return"StrictMode";case k:return"Suspense";case x:return"SuspenseList"}if(typeof V=="object")switch(V.$$typeof){case F:return(V.displayName||"Context")+".Consumer";case W:return(V._context.displayName||"Context")+".Provider";case G:var se=V.render;return V=V.displayName,V||(V=se.displayName||se.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case M:return se=V.displayName||null,se!==null?se:oe(V.type)||"Memo";case B:se=V._payload,V=V._init;try{return oe(V(se))}catch{}}return null}function q(V){var se=V.type;switch(V.tag){case 24:return"Cache";case 9:return(se.displayName||"Context")+".Consumer";case 10:return(se._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return V=se.render,V=V.displayName||V.name||"",se.displayName||(V!==""?"ForwardRef("+V+")":"ForwardRef");case 7:return"Fragment";case 5:return se;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return oe(se);case 8:return se===I?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof se=="function")return se.displayName||se.name||null;if(typeof se=="string")return se}return null}function J(V){switch(typeof V){case"boolean":case"number":case"string":case"undefined":return V;case"object":return V;default:return""}}function me(V){var se=V.type;return(V=V.nodeName)&&V.toLowerCase()==="input"&&(se==="checkbox"||se==="radio")}function re(V){var se=me(V)?"checked":"value",dt=Object.getOwnPropertyDescriptor(V.constructor.prototype,se),en=""+V[se];if(!V.hasOwnProperty(se)&&typeof dt<"u"&&typeof dt.get=="function"&&typeof dt.set=="function"){var kn=dt.get,gr=dt.set;return Object.defineProperty(V,se,{configurable:!0,get:function(){return kn.call(this)},set:function(Io){en=""+Io,gr.call(this,Io)}}),Object.defineProperty(V,se,{enumerable:dt.enumerable}),{getValue:function(){return en},setValue:function(Io){en=""+Io},stopTracking:function(){V._valueTracker=null,delete V[se]}}}}function he(V){V._valueTracker||(V._valueTracker=re(V))}function Ee(V){if(!V)return!1;var se=V._valueTracker;if(!se)return!0;var dt=se.getValue(),en="";return V&&(en=me(V)?V.checked?"true":"false":V.value),V=en,V!==dt?(se.setValue(V),!0):!1}function fe(V){if(V=V||(typeof document<"u"?document:void 0),typeof V>"u")return null;try{return V.activeElement||V.body}catch{return V.body}}function H(V,se){var dt=se.checked;return $({},se,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:dt??V._wrapperState.initialChecked})}function z(V,se){var dt=se.defaultValue==null?"":se.defaultValue,en=se.checked!=null?se.checked:se.defaultChecked;dt=J(se.value!=null?se.value:dt),V._wrapperState={initialChecked:en,initialValue:dt,controlled:se.type==="checkbox"||se.type==="radio"?se.checked!=null:se.value!=null}}function _e(V,se){se=se.checked,se!=null&&T(V,"checked",se,!1)}function ae(V,se){_e(V,se);var dt=J(se.value),en=se.type;if(dt!=null)en==="number"?(dt===0&&V.value===""||V.value!=dt)&&(V.value=""+dt):V.value!==""+dt&&(V.value=""+dt);else if(en==="submit"||en==="reset"){V.removeAttribute("value");return}se.hasOwnProperty("value")?Be(V,se.type,dt):se.hasOwnProperty("defaultValue")&&Be(V,se.type,J(se.defaultValue)),se.checked==null&&se.defaultChecked!=null&&(V.defaultChecked=!!se.defaultChecked)}function ge(V,se,dt){if(se.hasOwnProperty("value")||se.hasOwnProperty("defaultValue")){var en=se.type;if(!(en!=="submit"&&en!=="reset"||se.value!==void 0&&se.value!==null))return;se=""+V._wrapperState.initialValue,dt||se===V.value||(V.value=se),V.defaultValue=se}dt=V.name,dt!==""&&(V.name=""),V.defaultChecked=!!V._wrapperState.initialChecked,dt!==""&&(V.name=dt)}function Be(V,se,dt){(se!=="number"||fe(V.ownerDocument)!==V)&&(dt==null?V.defaultValue=""+V._wrapperState.initialValue:V.defaultValue!==""+dt&&(V.defaultValue=""+dt))}var Ke=Array.isArray;function He(V,se,dt,en){if(V=V.options,se){se={};for(var kn=0;kn<dt.length;kn++)se["$"+dt[kn]]=!0;for(dt=0;dt<V.length;dt++)kn=se.hasOwnProperty("$"+V[dt].value),V[dt].selected!==kn&&(V[dt].selected=kn),kn&&en&&(V[dt].defaultSelected=!0)}else{for(dt=""+J(dt),se=null,kn=0;kn<V.length;kn++){if(V[kn].value===dt){V[kn].selected=!0,en&&(V[kn].defaultSelected=!0);return}se!==null||V[kn].disabled||(se=V[kn])}se!==null&&(se.selected=!0)}}function ye(V,se){if(se.dangerouslySetInnerHTML!=null)throw Error(n(91));return $({},se,{value:void 0,defaultValue:void 0,children:""+V._wrapperState.initialValue})}function Le(V,se){var dt=se.value;if(dt==null){if(dt=se.children,se=se.defaultValue,dt!=null){if(se!=null)throw Error(n(92));if(Ke(dt)){if(1<dt.length)throw Error(n(93));dt=dt[0]}se=dt}se==null&&(se=""),dt=se}V._wrapperState={initialValue:J(dt)}}function Ue(V,se){var dt=J(se.value),en=J(se.defaultValue);dt!=null&&(dt=""+dt,dt!==V.value&&(V.value=dt),se.defaultValue==null&&V.defaultValue!==dt&&(V.defaultValue=dt)),en!=null&&(V.defaultValue=""+en)}function Xe(V){var se=V.textContent;se===V._wrapperState.initialValue&&se!==""&&se!==null&&(V.value=se)}function Fe(V){switch(V){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ht(V,se){return V==null||V==="http://www.w3.org/1999/xhtml"?Fe(se):V==="http://www.w3.org/2000/svg"&&se==="foreignObject"?"http://www.w3.org/1999/xhtml":V}var Ne,Ce=function(V){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(se,dt,en,kn){MSApp.execUnsafeLocalFunction(function(){return V(se,dt,en,kn)})}:V}(function(V,se){if(V.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in V)V.innerHTML=se;else{for(Ne=Ne||document.createElement("div"),Ne.innerHTML="<svg>"+se.valueOf().toString()+"</svg>",se=Ne.firstChild;V.firstChild;)V.removeChild(V.firstChild);for(;se.firstChild;)V.appendChild(se.firstChild)}});function we(V,se){if(se){var dt=V.firstChild;if(dt&&dt===V.lastChild&&dt.nodeType===3){dt.nodeValue=se;return}}V.textContent=se}var $e={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ot=["Webkit","ms","Moz","O"];Object.keys($e).forEach(function(V){Ot.forEach(function(se){se=se+V.charAt(0).toUpperCase()+V.substring(1),$e[se]=$e[V]})});function Pt(V,se,dt){return se==null||typeof se=="boolean"||se===""?"":dt||typeof se!="number"||se===0||$e.hasOwnProperty(V)&&$e[V]?(""+se).trim():se+"px"}function Ie(V,se){V=V.style;for(var dt in se)if(se.hasOwnProperty(dt)){var en=dt.indexOf("--")===0,kn=Pt(dt,se[dt],en);dt==="float"&&(dt="cssFloat"),en?V.setProperty(dt,kn):V[dt]=kn}}var Bt=$({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function mt(V,se){if(se){if(Bt[V]&&(se.children!=null||se.dangerouslySetInnerHTML!=null))throw Error(n(137,V));if(se.dangerouslySetInnerHTML!=null){if(se.children!=null)throw Error(n(60));if(typeof se.dangerouslySetInnerHTML!="object"||!("__html"in se.dangerouslySetInnerHTML))throw Error(n(61))}if(se.style!=null&&typeof se.style!="object")throw Error(n(62))}}function rt(V,se){if(V.indexOf("-")===-1)return typeof se.is=="string";switch(V){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ce=null;function Re(V){return V=V.target||V.srcElement||window,V.correspondingUseElement&&(V=V.correspondingUseElement),V.nodeType===3?V.parentNode:V}var nt=null,st=null,vt=null;function ze(V){if(V=Mc(V)){if(typeof nt!="function")throw Error(n(280));var se=V.stateNode;se&&(se=Ou(se),nt(V.stateNode,V.type,se))}}function It(V){st?vt?vt.push(V):vt=[V]:st=V}function on(){if(st){var V=st,se=vt;if(vt=st=null,ze(V),se)for(V=0;V<se.length;V++)ze(se[V])}}function Pn(V,se){return V(se)}function Yn(){}var Ln=!1;function bn(V,se,dt){if(Ln)return V(se,dt);Ln=!0;try{return Pn(V,se,dt)}finally{Ln=!1,(st!==null||vt!==null)&&(Yn(),on())}}function ir(V,se){var dt=V.stateNode;if(dt===null)return null;var en=Ou(dt);if(en===null)return null;dt=en[se];e:switch(se){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(en=!en.disabled)||(V=V.type,en=!(V==="button"||V==="input"||V==="select"||V==="textarea")),V=!en;break e;default:V=!1}if(V)return null;if(dt&&typeof dt!="function")throw Error(n(231,se,typeof dt));return dt}var Zn=!1;if(f)try{var $n={};Object.defineProperty($n,"passive",{get:function(){Zn=!0}}),window.addEventListener("test",$n,$n),window.removeEventListener("test",$n,$n)}catch{Zn=!1}function jt(V,se,dt,en,kn,gr,Io,ma,Ta){var Ps=Array.prototype.slice.call(arguments,3);try{se.apply(dt,Ps)}catch(ja){this.onError(ja)}}var Rn=!1,jn=null,Tn=!1,Nn=null,cn={onError:function(V){Rn=!0,jn=V}};function or(V,se,dt,en,kn,gr,Io,ma,Ta){Rn=!1,jn=null,jt.apply(cn,arguments)}function qn(V,se,dt,en,kn,gr,Io,ma,Ta){if(or.apply(this,arguments),Rn){if(Rn){var Ps=jn;Rn=!1,jn=null}else throw Error(n(198));Tn||(Tn=!0,Nn=Ps)}}function Hr(V){var se=V,dt=V;if(V.alternate)for(;se.return;)se=se.return;else{V=se;do se=V,se.flags&4098&&(dt=se.return),V=se.return;while(V)}return se.tag===3?dt:null}function fo(V){if(V.tag===13){var se=V.memoizedState;if(se===null&&(V=V.alternate,V!==null&&(se=V.memoizedState)),se!==null)return se.dehydrated}return null}function Jr(V){if(Hr(V)!==V)throw Error(n(188))}function ro(V){var se=V.alternate;if(!se){if(se=Hr(V),se===null)throw Error(n(188));return se!==V?null:V}for(var dt=V,en=se;;){var kn=dt.return;if(kn===null)break;var gr=kn.alternate;if(gr===null){if(en=kn.return,en!==null){dt=en;continue}break}if(kn.child===gr.child){for(gr=kn.child;gr;){if(gr===dt)return Jr(kn),V;if(gr===en)return Jr(kn),se;gr=gr.sibling}throw Error(n(188))}if(dt.return!==en.return)dt=kn,en=gr;else{for(var Io=!1,ma=kn.child;ma;){if(ma===dt){Io=!0,dt=kn,en=gr;break}if(ma===en){Io=!0,en=kn,dt=gr;break}ma=ma.sibling}if(!Io){for(ma=gr.child;ma;){if(ma===dt){Io=!0,dt=gr,en=kn;break}if(ma===en){Io=!0,en=gr,dt=kn;break}ma=ma.sibling}if(!Io)throw Error(n(189))}}if(dt.alternate!==en)throw Error(n(190))}if(dt.tag!==3)throw Error(n(188));return dt.stateNode.current===dt?V:se}function Xt(V){return V=ro(V),V!==null?Je(V):null}function Je(V){if(V.tag===5||V.tag===6)return V;for(V=V.child;V!==null;){var se=Je(V);if(se!==null)return se;V=V.sibling}return null}var At=o.unstable_scheduleCallback,xt=o.unstable_cancelCallback,Qt=o.unstable_shouldYield,qt=o.unstable_requestPaint,Te=o.unstable_now,Gt=o.unstable_getCurrentPriorityLevel,un=o.unstable_ImmediatePriority,Vt=o.unstable_UserBlockingPriority,Dn=o.unstable_NormalPriority,Wt=o.unstable_LowPriority,Pe=o.unstable_IdlePriority,xe=null,Ae=null;function qe(V){if(Ae&&typeof Ae.onCommitFiberRoot=="function")try{Ae.onCommitFiberRoot(xe,V,void 0,(V.current.flags&128)===128)}catch{}}var wt=Math.clz32?Math.clz32:Ft,kt=Math.log,ut=Math.LN2;function Ft(V){return V>>>=0,V===0?32:31-(kt(V)/ut|0)|0}var tn=64,In=4194304;function rr(V){switch(V&-V){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return V&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return V&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return V}}function Sr(V,se){var dt=V.pendingLanes;if(dt===0)return 0;var en=0,kn=V.suspendedLanes,gr=V.pingedLanes,Io=dt&268435455;if(Io!==0){var ma=Io&~kn;ma!==0?en=rr(ma):(gr&=Io,gr!==0&&(en=rr(gr)))}else Io=dt&~kn,Io!==0?en=rr(Io):gr!==0&&(en=rr(gr));if(en===0)return 0;if(se!==0&&se!==en&&!(se&kn)&&(kn=en&-en,gr=se&-se,kn>=gr||kn===16&&(gr&4194240)!==0))return se;if(en&4&&(en|=dt&16),se=V.entangledLanes,se!==0)for(V=V.entanglements,se&=en;0<se;)dt=31-wt(se),kn=1<<dt,en|=V[dt],se&=~kn;return en}function Yr(V,se){switch(V){case 1:case 2:case 4:return se+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return se+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Pr(V,se){for(var dt=V.suspendedLanes,en=V.pingedLanes,kn=V.expirationTimes,gr=V.pendingLanes;0<gr;){var Io=31-wt(gr),ma=1<<Io,Ta=kn[Io];Ta===-1?(!(ma&dt)||ma&en)&&(kn[Io]=Yr(ma,se)):Ta<=se&&(V.expiredLanes|=ma),gr&=~ma}}function Mn(V){return V=V.pendingLanes&-1073741825,V!==0?V:V&1073741824?1073741824:0}function sr(){var V=tn;return tn<<=1,!(tn&4194240)&&(tn=64),V}function Ar(V){for(var se=[],dt=0;31>dt;dt++)se.push(V);return se}function vr(V,se,dt){V.pendingLanes|=se,se!==536870912&&(V.suspendedLanes=0,V.pingedLanes=0),V=V.eventTimes,se=31-wt(se),V[se]=dt}function qr(V,se){var dt=V.pendingLanes&~se;V.pendingLanes=se,V.suspendedLanes=0,V.pingedLanes=0,V.expiredLanes&=se,V.mutableReadLanes&=se,V.entangledLanes&=se,se=V.entanglements;var en=V.eventTimes;for(V=V.expirationTimes;0<dt;){var kn=31-wt(dt),gr=1<<kn;se[kn]=0,en[kn]=-1,V[kn]=-1,dt&=~gr}}function Dr(V,se){var dt=V.entangledLanes|=se;for(V=V.entanglements;dt;){var en=31-wt(dt),kn=1<<en;kn&se|V[en]&se&&(V[en]|=se),dt&=~kn}}var eo=0;function Vo(V){return V&=-V,1<V?4<V?V&268435455?16:536870912:4:1}var Bn,ar,rn,Rt,Qe,Ye=!1,yt=[],Ze=null,Mt=null,ot=null,et=new Map,St=new Map,Ht=[],er="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Mr(V,se){switch(V){case"focusin":case"focusout":Ze=null;break;case"dragenter":case"dragleave":Mt=null;break;case"mouseover":case"mouseout":ot=null;break;case"pointerover":case"pointerout":et.delete(se.pointerId);break;case"gotpointercapture":case"lostpointercapture":St.delete(se.pointerId)}}function mn(V,se,dt,en,kn,gr){return V===null||V.nativeEvent!==gr?(V={blockedOn:se,domEventName:dt,eventSystemFlags:en,nativeEvent:gr,targetContainers:[kn]},se!==null&&(se=Mc(se),se!==null&&ar(se)),V):(V.eventSystemFlags|=en,se=V.targetContainers,kn!==null&&se.indexOf(kn)===-1&&se.push(kn),V)}function Un(V,se,dt,en,kn){switch(se){case"focusin":return Ze=mn(Ze,V,se,dt,en,kn),!0;case"dragenter":return Mt=mn(Mt,V,se,dt,en,kn),!0;case"mouseover":return ot=mn(ot,V,se,dt,en,kn),!0;case"pointerover":var gr=kn.pointerId;return et.set(gr,mn(et.get(gr)||null,V,se,dt,en,kn)),!0;case"gotpointercapture":return gr=kn.pointerId,St.set(gr,mn(St.get(gr)||null,V,se,dt,en,kn)),!0}return!1}function hr(V){var se=Wi(V.target);if(se!==null){var dt=Hr(se);if(dt!==null){if(se=dt.tag,se===13){if(se=fo(dt),se!==null){V.blockedOn=se,Qe(V.priority,function(){rn(dt)});return}}else if(se===3&&dt.stateNode.current.memoizedState.isDehydrated){V.blockedOn=dt.tag===3?dt.stateNode.containerInfo:null;return}}}V.blockedOn=null}function br(V){if(V.blockedOn!==null)return!1;for(var se=V.targetContainers;0<se.length;){var dt=ba(V.domEventName,V.eventSystemFlags,se[0],V.nativeEvent);if(dt===null){dt=V.nativeEvent;var en=new dt.constructor(dt.type,dt);ce=en,dt.target.dispatchEvent(en),ce=null}else return se=Mc(dt),se!==null&&ar(se),V.blockedOn=dt,!1;se.shift()}return!0}function io(V,se,dt){br(V)&&dt.delete(se)}function Kr(){Ye=!1,Ze!==null&&br(Ze)&&(Ze=null),Mt!==null&&br(Mt)&&(Mt=null),ot!==null&&br(ot)&&(ot=null),et.forEach(io),St.forEach(io)}function xo(V,se){V.blockedOn===se&&(V.blockedOn=null,Ye||(Ye=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Kr)))}function Ho(V){function se(kn){return xo(kn,V)}if(0<yt.length){xo(yt[0],V);for(var dt=1;dt<yt.length;dt++){var en=yt[dt];en.blockedOn===V&&(en.blockedOn=null)}}for(Ze!==null&&xo(Ze,V),Mt!==null&&xo(Mt,V),ot!==null&&xo(ot,V),et.forEach(se),St.forEach(se),dt=0;dt<Ht.length;dt++)en=Ht[dt],en.blockedOn===V&&(en.blockedOn=null);for(;0<Ht.length&&(dt=Ht[0],dt.blockedOn===null);)hr(dt),dt.blockedOn===null&&Ht.shift()}var bo=s.ReactCurrentBatchConfig,Ea=!0;function Ia(V,se,dt,en){var kn=eo,gr=bo.transition;bo.transition=null;try{eo=1,Za(V,se,dt,en)}finally{eo=kn,bo.transition=gr}}function Da(V,se,dt,en){var kn=eo,gr=bo.transition;bo.transition=null;try{eo=4,Za(V,se,dt,en)}finally{eo=kn,bo.transition=gr}}function Za(V,se,dt,en){if(Ea){var kn=ba(V,se,dt,en);if(kn===null)Qs(V,se,en,Xa,dt),Mr(V,en);else if(Un(kn,V,se,dt,en))en.stopPropagation();else if(Mr(V,en),se&4&&-1<er.indexOf(V)){for(;kn!==null;){var gr=Mc(kn);if(gr!==null&&Bn(gr),gr=ba(V,se,dt,en),gr===null&&Qs(V,se,en,Xa,dt),gr===kn)break;kn=gr}kn!==null&&en.stopPropagation()}else Qs(V,se,en,null,dt)}}var Xa=null;function ba(V,se,dt,en){if(Xa=null,V=Re(en),V=Wi(V),V!==null)if(se=Hr(V),se===null)V=null;else if(dt=se.tag,dt===13){if(V=fo(se),V!==null)return V;V=null}else if(dt===3){if(se.stateNode.current.memoizedState.isDehydrated)return se.tag===3?se.stateNode.containerInfo:null;V=null}else se!==V&&(V=null);return Xa=V,null}function ns(V){switch(V){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Gt()){case un:return 1;case Vt:return 4;case Dn:case Wt:return 16;case Pe:return 536870912;default:return 16}default:return 16}}var Ja=null,Is=null,Vr=null;function Qr(){if(Vr)return Vr;var V,se=Is,dt=se.length,en,kn="value"in Ja?Ja.value:Ja.textContent,gr=kn.length;for(V=0;V<dt&&se[V]===kn[V];V++);var Io=dt-V;for(en=1;en<=Io&&se[dt-en]===kn[gr-en];en++);return Vr=kn.slice(V,1<en?1-en:void 0)}function To(V){var se=V.keyCode;return"charCode"in V?(V=V.charCode,V===0&&se===13&&(V=13)):V=se,V===10&&(V=13),32<=V||V===13?V:0}function xr(){return!0}function uo(){return!1}function Mo(V){function se(dt,en,kn,gr,Io){this._reactName=dt,this._targetInst=kn,this.type=en,this.nativeEvent=gr,this.target=Io,this.currentTarget=null;for(var ma in V)V.hasOwnProperty(ma)&&(dt=V[ma],this[ma]=dt?dt(gr):gr[ma]);return this.isDefaultPrevented=(gr.defaultPrevented!=null?gr.defaultPrevented:gr.returnValue===!1)?xr:uo,this.isPropagationStopped=uo,this}return $(se.prototype,{preventDefault:function(){this.defaultPrevented=!0;var dt=this.nativeEvent;dt&&(dt.preventDefault?dt.preventDefault():typeof dt.returnValue!="unknown"&&(dt.returnValue=!1),this.isDefaultPrevented=xr)},stopPropagation:function(){var dt=this.nativeEvent;dt&&(dt.stopPropagation?dt.stopPropagation():typeof dt.cancelBubble!="unknown"&&(dt.cancelBubble=!0),this.isPropagationStopped=xr)},persist:function(){},isPersistent:xr}),se}var go={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(V){return V.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ea=Mo(go),ha=$({},go,{view:0,detail:0}),yr=Mo(ha),Lr,ao,ho,Lo=$({},ha,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ms,button:0,buttons:0,relatedTarget:function(V){return V.relatedTarget===void 0?V.fromElement===V.srcElement?V.toElement:V.fromElement:V.relatedTarget},movementX:function(V){return"movementX"in V?V.movementX:(V!==ho&&(ho&&V.type==="mousemove"?(Lr=V.screenX-ho.screenX,ao=V.screenY-ho.screenY):ao=Lr=0,ho=V),Lr)},movementY:function(V){return"movementY"in V?V.movementY:ao}}),Yo=Mo(Lo),jo=$({},Lo,{dataTransfer:0}),Xo=Mo(jo),Ua=$({},ha,{relatedTarget:0}),ds=Mo(Ua),us=$({},go,{animationName:0,elapsedTime:0,pseudoElement:0}),ys=Mo(us),Ys=$({},go,{clipboardData:function(V){return"clipboardData"in V?V.clipboardData:window.clipboardData}}),Gs=Mo(Ys),xs=$({},go,{data:0}),Ai=Mo(xs),Pi={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ei={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ks(V){var se=this.nativeEvent;return se.getModifierState?se.getModifierState(V):(V=hi[V])?!!se[V]:!1}function Ms(){return ks}var bs=$({},ha,{key:function(V){if(V.key){var se=Pi[V.key]||V.key;if(se!=="Unidentified")return se}return V.type==="keypress"?(V=To(V),V===13?"Enter":String.fromCharCode(V)):V.type==="keydown"||V.type==="keyup"?ei[V.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ms,charCode:function(V){return V.type==="keypress"?To(V):0},keyCode:function(V){return V.type==="keydown"||V.type==="keyup"?V.keyCode:0},which:function(V){return V.type==="keypress"?To(V):V.type==="keydown"||V.type==="keyup"?V.keyCode:0}}),Hs=Mo(bs),Os=$({},Lo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Vs=Mo(Os),_s=$({},ha,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ms}),fs=Mo(_s),Ss=$({},go,{propertyName:0,elapsedTime:0,pseudoElement:0}),hs=Mo(Ss),li=$({},Lo,{deltaX:function(V){return"deltaX"in V?V.deltaX:"wheelDeltaX"in V?-V.wheelDeltaX:0},deltaY:function(V){return"deltaY"in V?V.deltaY:"wheelDeltaY"in V?-V.wheelDeltaY:"wheelDelta"in V?-V.wheelDelta:0},deltaZ:0,deltaMode:0}),Ni=Mo(li),Ji=[9,13,27,32],wi=f&&"CompositionEvent"in window,vi=null;f&&"documentMode"in document&&(vi=document.documentMode);var sl=f&&"TextEvent"in window&&!vi,Zi=f&&(!wi||vi&&8<vi&&11>=vi),Zs=" ",Bs=!1;function ti(V,se){switch(V){case"keyup":return Ji.indexOf(se.keyCode)!==-1;case"keydown":return se.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gi(V){return V=V.detail,typeof V=="object"&&"data"in V?V.data:null}var yi=!1;function ki(V,se){switch(V){case"compositionend":return gi(se);case"keypress":return se.which!==32?null:(Bs=!0,Zs);case"textInput":return V=se.data,V===Zs&&Bs?null:V;default:return null}}function bi(V,se){if(yi)return V==="compositionend"||!wi&&ti(V,se)?(V=Qr(),Vr=Is=Ja=null,yi=!1,V):null;switch(V){case"paste":return null;case"keypress":if(!(se.ctrlKey||se.altKey||se.metaKey)||se.ctrlKey&&se.altKey){if(se.char&&1<se.char.length)return se.char;if(se.which)return String.fromCharCode(se.which)}return null;case"compositionend":return Zi&&se.locale!=="ko"?null:se.data;default:return null}}var nl={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Si(V){var se=V&&V.nodeName&&V.nodeName.toLowerCase();return se==="input"?!!nl[V.type]:se==="textarea"}function ta(V,se,dt,en){It(en),se=rs(se,"onChange"),0<se.length&&(dt=new ea("onChange","change",null,dt,en),V.push({event:dt,listeners:se}))}var ke=null,Jt=null;function Fn(V){ia(V,0)}function mr(V){var se=Fc(V);if(Ee(se))return V}function Tr(V,se){if(V==="change")return se}var Oo=!1;if(f){var Uo;if(f){var gt="oninput"in document;if(!gt){var it=document.createElement("div");it.setAttribute("oninput","return;"),gt=typeof it.oninput=="function"}Uo=gt}else Uo=!1;Oo=Uo&&(!document.documentMode||9<document.documentMode)}function Lt(){ke&&(ke.detachEvent("onpropertychange",$t),Jt=ke=null)}function $t(V){if(V.propertyName==="value"&&mr(Jt)){var se=[];ta(se,Jt,V,Re(V)),bn(Fn,se)}}function _n(V,se,dt){V==="focusin"?(Lt(),ke=se,Jt=dt,ke.attachEvent("onpropertychange",$t)):V==="focusout"&&Lt()}function dn(V){if(V==="selectionchange"||V==="keyup"||V==="keydown")return mr(Jt)}function Jn(V,se){if(V==="click")return mr(se)}function Hn(V,se){if(V==="input"||V==="change")return mr(se)}function jr(V,se){return V===se&&(V!==0||1/V===1/se)||V!==V&&se!==se}var wo=typeof Object.is=="function"?Object.is:jr;function ko(V,se){if(wo(V,se))return!0;if(typeof V!="object"||V===null||typeof se!="object"||se===null)return!1;var dt=Object.keys(V),en=Object.keys(se);if(dt.length!==en.length)return!1;for(en=0;en<dt.length;en++){var kn=dt[en];if(!d.call(se,kn)||!wo(V[kn],se[kn]))return!1}return!0}function Sa(V){for(;V&&V.firstChild;)V=V.firstChild;return V}function Na(V,se){var dt=Sa(V);V=0;for(var en;dt;){if(dt.nodeType===3){if(en=V+dt.textContent.length,V<=se&&en>=se)return{node:dt,offset:se-V};V=en}e:{for(;dt;){if(dt.nextSibling){dt=dt.nextSibling;break e}dt=dt.parentNode}dt=void 0}dt=Sa(dt)}}function qa(V,se){return V&&se?V===se?!0:V&&V.nodeType===3?!1:se&&se.nodeType===3?qa(V,se.parentNode):"contains"in V?V.contains(se):V.compareDocumentPosition?!!(V.compareDocumentPosition(se)&16):!1:!1}function ms(){for(var V=window,se=fe();se instanceof V.HTMLIFrameElement;){try{var dt=typeof se.contentWindow.location.href=="string"}catch{dt=!1}if(dt)V=se.contentWindow;else break;se=fe(V.document)}return se}function Us(V){var se=V&&V.nodeName&&V.nodeName.toLowerCase();return se&&(se==="input"&&(V.type==="text"||V.type==="search"||V.type==="tel"||V.type==="url"||V.type==="password")||se==="textarea"||V.contentEditable==="true")}function $i(V){var se=ms(),dt=V.focusedElem,en=V.selectionRange;if(se!==dt&&dt&&dt.ownerDocument&&qa(dt.ownerDocument.documentElement,dt)){if(en!==null&&Us(dt)){if(se=en.start,V=en.end,V===void 0&&(V=se),"selectionStart"in dt)dt.selectionStart=se,dt.selectionEnd=Math.min(V,dt.value.length);else if(V=(se=dt.ownerDocument||document)&&se.defaultView||window,V.getSelection){V=V.getSelection();var kn=dt.textContent.length,gr=Math.min(en.start,kn);en=en.end===void 0?gr:Math.min(en.end,kn),!V.extend&&gr>en&&(kn=en,en=gr,gr=kn),kn=Na(dt,gr);var Io=Na(dt,en);kn&&Io&&(V.rangeCount!==1||V.anchorNode!==kn.node||V.anchorOffset!==kn.offset||V.focusNode!==Io.node||V.focusOffset!==Io.offset)&&(se=se.createRange(),se.setStart(kn.node,kn.offset),V.removeAllRanges(),gr>en?(V.addRange(se),V.extend(Io.node,Io.offset)):(se.setEnd(Io.node,Io.offset),V.addRange(se)))}}for(se=[],V=dt;V=V.parentNode;)V.nodeType===1&&se.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof dt.focus=="function"&&dt.focus(),dt=0;dt<se.length;dt++)V=se[dt],V.element.scrollLeft=V.left,V.element.scrollTop=V.top}}var Mi=f&&"documentMode"in document&&11>=document.documentMode,si=null,rl=null,El=null,Ui=!1;function il(V,se,dt){var en=dt.window===dt?dt.document:dt.nodeType===9?dt:dt.ownerDocument;Ui||si==null||si!==fe(en)||(en=si,"selectionStart"in en&&Us(en)?en={start:en.selectionStart,end:en.selectionEnd}:(en=(en.ownerDocument&&en.ownerDocument.defaultView||window).getSelection(),en={anchorNode:en.anchorNode,anchorOffset:en.anchorOffset,focusNode:en.focusNode,focusOffset:en.focusOffset}),El&&ko(El,en)||(El=en,en=rs(rl,"onSelect"),0<en.length&&(se=new ea("onSelect","select",null,se,dt),V.push({event:se,listeners:en}),se.target=si)))}function fl(V,se){var dt={};return dt[V.toLowerCase()]=se.toLowerCase(),dt["Webkit"+V]="webkit"+se,dt["Moz"+V]="moz"+se,dt}var oi={animationend:fl("Animation","AnimationEnd"),animationiteration:fl("Animation","AnimationIteration"),animationstart:fl("Animation","AnimationStart"),transitionend:fl("Transition","TransitionEnd")},Nl={},xl={};f&&(xl=document.createElement("div").style,"AnimationEvent"in window||(delete oi.animationend.animation,delete oi.animationiteration.animation,delete oi.animationstart.animation),"TransitionEvent"in window||delete oi.transitionend.transition);function Ic(V){if(Nl[V])return Nl[V];if(!oi[V])return V;var se=oi[V],dt;for(dt in se)if(se.hasOwnProperty(dt)&&dt in xl)return Nl[V]=se[dt];return V}var Kl=Ic("animationend"),Jl=Ic("animationiteration"),Vi=Ic("animationstart"),_c=Ic("transitionend"),mc=new Map,zl="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function $l(V,se){mc.set(V,se),c(se,[V])}for(var ln=0;ln<zl.length;ln++){var sn=zl[ln],zn=sn.toLowerCase(),Er=sn[0].toUpperCase()+sn.slice(1);$l(zn,"on"+Er)}$l(Kl,"onAnimationEnd"),$l(Jl,"onAnimationIteration"),$l(Vi,"onAnimationStart"),$l("dblclick","onDoubleClick"),$l("focusin","onFocus"),$l("focusout","onBlur"),$l(_c,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ao=new Set("cancel close invalid load scroll toggle".split(" ").concat(zr));function Zo(V,se,dt){var en=V.type||"unknown-event";V.currentTarget=dt,qn(en,se,void 0,V),V.currentTarget=null}function ia(V,se){se=(se&4)!==0;for(var dt=0;dt<V.length;dt++){var en=V[dt],kn=en.event;en=en.listeners;e:{var gr=void 0;if(se)for(var Io=en.length-1;0<=Io;Io--){var ma=en[Io],Ta=ma.instance,Ps=ma.currentTarget;if(ma=ma.listener,Ta!==gr&&kn.isPropagationStopped())break e;Zo(kn,ma,Ps),gr=Ta}else for(Io=0;Io<en.length;Io++){if(ma=en[Io],Ta=ma.instance,Ps=ma.currentTarget,ma=ma.listener,Ta!==gr&&kn.isPropagationStopped())break e;Zo(kn,ma,Ps),gr=Ta}}}if(Tn)throw V=Nn,Tn=!1,Nn=null,V}function So(V,se){var dt=se[_l];dt===void 0&&(dt=se[_l]=new Set);var en=V+"__bubble";dt.has(en)||(es(se,V,2,!1),dt.add(en))}function Ha(V,se,dt){var en=0;se&&(en|=4),es(dt,V,en,se)}var is="_reactListening"+Math.random().toString(36).slice(2);function as(V){if(!V[is]){V[is]=!0,a.forEach(function(dt){dt!=="selectionchange"&&(Ao.has(dt)||Ha(dt,!1,V),Ha(dt,!0,V))});var se=V.nodeType===9?V:V.ownerDocument;se===null||se[is]||(se[is]=!0,Ha("selectionchange",!1,se))}}function es(V,se,dt,en){switch(ns(se)){case 1:var kn=Ia;break;case 4:kn=Da;break;default:kn=Za}dt=kn.bind(null,se,dt,V),kn=void 0,!Zn||se!=="touchstart"&&se!=="touchmove"&&se!=="wheel"||(kn=!0),en?kn!==void 0?V.addEventListener(se,dt,{capture:!0,passive:kn}):V.addEventListener(se,dt,!0):kn!==void 0?V.addEventListener(se,dt,{passive:kn}):V.addEventListener(se,dt,!1)}function Qs(V,se,dt,en,kn){var gr=en;if(!(se&1)&&!(se&2)&&en!==null)e:for(;;){if(en===null)return;var Io=en.tag;if(Io===3||Io===4){var ma=en.stateNode.containerInfo;if(ma===kn||ma.nodeType===8&&ma.parentNode===kn)break;if(Io===4)for(Io=en.return;Io!==null;){var Ta=Io.tag;if((Ta===3||Ta===4)&&(Ta=Io.stateNode.containerInfo,Ta===kn||Ta.nodeType===8&&Ta.parentNode===kn))return;Io=Io.return}for(;ma!==null;){if(Io=Wi(ma),Io===null)return;if(Ta=Io.tag,Ta===5||Ta===6){en=gr=Io;continue e}ma=ma.parentNode}}en=en.return}bn(function(){var Ps=gr,ja=Re(dt),mi=[];e:{var ii=mc.get(V);if(ii!==void 0){var ol=ea,hl=V;switch(V){case"keypress":if(To(dt)===0)break e;case"keydown":case"keyup":ol=Hs;break;case"focusin":hl="focus",ol=ds;break;case"focusout":hl="blur",ol=ds;break;case"beforeblur":case"afterblur":ol=ds;break;case"click":if(dt.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ol=Yo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ol=Xo;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ol=fs;break;case Kl:case Jl:case Vi:ol=ys;break;case _c:ol=hs;break;case"scroll":ol=yr;break;case"wheel":ol=Ni;break;case"copy":case"cut":case"paste":ol=Gs;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ol=Vs}var gl=(se&4)!==0,Iu=!gl&&V==="scroll",Wa=gl?ii!==null?ii+"Capture":null:ii;gl=[];for(var Fa=Ps,gs;Fa!==null;){gs=Fa;var Ci=gs.stateNode;if(gs.tag===5&&Ci!==null&&(gs=Ci,Wa!==null&&(Ci=ir(Fa,Wa),Ci!=null&&gl.push(Rs(Fa,Ci,gs)))),Iu)break;Fa=Fa.return}0<gl.length&&(ii=new ol(ii,hl,null,dt,ja),mi.push({event:ii,listeners:gl}))}}if(!(se&7)){e:{if(ii=V==="mouseover"||V==="pointerover",ol=V==="mouseout"||V==="pointerout",ii&&dt!==ce&&(hl=dt.relatedTarget||dt.fromElement)&&(Wi(hl)||hl[Eo]))break e;if((ol||ii)&&(ii=ja.window===ja?ja:(ii=ja.ownerDocument)?ii.defaultView||ii.parentWindow:window,ol?(hl=dt.relatedTarget||dt.toElement,ol=Ps,hl=hl?Wi(hl):null,hl!==null&&(Iu=Hr(hl),hl!==Iu||hl.tag!==5&&hl.tag!==6)&&(hl=null)):(ol=null,hl=Ps),ol!==hl)){if(gl=Yo,Ci="onMouseLeave",Wa="onMouseEnter",Fa="mouse",(V==="pointerout"||V==="pointerover")&&(gl=Vs,Ci="onPointerLeave",Wa="onPointerEnter",Fa="pointer"),Iu=ol==null?ii:Fc(ol),gs=hl==null?ii:Fc(hl),ii=new gl(Ci,Fa+"leave",ol,dt,ja),ii.target=Iu,ii.relatedTarget=gs,Ci=null,Wi(ja)===Ps&&(gl=new gl(Wa,Fa+"enter",hl,dt,ja),gl.target=gs,gl.relatedTarget=Iu,Ci=gl),Iu=Ci,ol&&hl)t:{for(gl=ol,Wa=hl,Fa=0,gs=gl;gs;gs=Cs(gs))Fa++;for(gs=0,Ci=Wa;Ci;Ci=Cs(Ci))gs++;for(;0<Fa-gs;)gl=Cs(gl),Fa--;for(;0<gs-Fa;)Wa=Cs(Wa),gs--;for(;Fa--;){if(gl===Wa||Wa!==null&&gl===Wa.alternate)break t;gl=Cs(gl),Wa=Cs(Wa)}gl=null}else gl=null;ol!==null&&Fs(mi,ii,ol,gl,!1),hl!==null&&Iu!==null&&Fs(mi,Iu,hl,gl,!0)}}e:{if(ii=Ps?Fc(Ps):window,ol=ii.nodeName&&ii.nodeName.toLowerCase(),ol==="select"||ol==="input"&&ii.type==="file")var Ol=Tr;else if(Si(ii))if(Oo)Ol=Hn;else{Ol=dn;var Il=_n}else(ol=ii.nodeName)&&ol.toLowerCase()==="input"&&(ii.type==="checkbox"||ii.type==="radio")&&(Ol=Jn);if(Ol&&(Ol=Ol(V,Ps))){ta(mi,Ol,dt,ja);break e}Il&&Il(V,ii,Ps),V==="focusout"&&(Il=ii._wrapperState)&&Il.controlled&&ii.type==="number"&&Be(ii,"number",ii.value)}switch(Il=Ps?Fc(Ps):window,V){case"focusin":(Si(Il)||Il.contentEditable==="true")&&(si=Il,rl=Ps,El=null);break;case"focusout":El=rl=si=null;break;case"mousedown":Ui=!0;break;case"contextmenu":case"mouseup":case"dragend":Ui=!1,il(mi,dt,ja);break;case"selectionchange":if(Mi)break;case"keydown":case"keyup":il(mi,dt,ja)}var Ml;if(wi)e:{switch(V){case"compositionstart":var wl="onCompositionStart";break e;case"compositionend":wl="onCompositionEnd";break e;case"compositionupdate":wl="onCompositionUpdate";break e}wl=void 0}else yi?ti(V,dt)&&(wl="onCompositionEnd"):V==="keydown"&&dt.keyCode===229&&(wl="onCompositionStart");wl&&(Zi&&dt.locale!=="ko"&&(yi||wl!=="onCompositionStart"?wl==="onCompositionEnd"&&yi&&(Ml=Qr()):(Ja=ja,Is="value"in Ja?Ja.value:Ja.textContent,yi=!0)),Il=rs(Ps,wl),0<Il.length&&(wl=new Ai(wl,V,null,dt,ja),mi.push({event:wl,listeners:Il}),Ml?wl.data=Ml:(Ml=gi(dt),Ml!==null&&(wl.data=Ml)))),(Ml=sl?ki(V,dt):bi(V,dt))&&(Ps=rs(Ps,"onBeforeInput"),0<Ps.length&&(ja=new Ai("onBeforeInput","beforeinput",null,dt,ja),mi.push({event:ja,listeners:Ps}),ja.data=Ml))}ia(mi,se)})}function Rs(V,se,dt){return{instance:V,listener:se,currentTarget:dt}}function rs(V,se){for(var dt=se+"Capture",en=[];V!==null;){var kn=V,gr=kn.stateNode;kn.tag===5&&gr!==null&&(kn=gr,gr=ir(V,dt),gr!=null&&en.unshift(Rs(V,gr,kn)),gr=ir(V,se),gr!=null&&en.push(Rs(V,gr,kn))),V=V.return}return en}function Cs(V){if(V===null)return null;do V=V.return;while(V&&V.tag!==5);return V||null}function Fs(V,se,dt,en,kn){for(var gr=se._reactName,Io=[];dt!==null&&dt!==en;){var ma=dt,Ta=ma.alternate,Ps=ma.stateNode;if(Ta!==null&&Ta===en)break;ma.tag===5&&Ps!==null&&(ma=Ps,kn?(Ta=ir(dt,gr),Ta!=null&&Io.unshift(Rs(dt,Ta,ma))):kn||(Ta=ir(dt,gr),Ta!=null&&Io.push(Rs(dt,Ta,ma)))),dt=dt.return}Io.length!==0&&V.push({event:se,listeners:Io})}var Ks=/\r\n?/g,Ls=/\u0000|\uFFFD/g;function Js(V){return(typeof V=="string"?V:""+V).replace(Ks,`
`).replace(Ls,"")}function Ts(V,se,dt){if(se=Js(se),Js(V)!==se&&dt)throw Error(n(425))}function zs(){}var Bi=null,qs=null;function Ti(V,se){return V==="textarea"||V==="noscript"||typeof se.children=="string"||typeof se.children=="number"||typeof se.dangerouslySetInnerHTML=="object"&&se.dangerouslySetInnerHTML!==null&&se.dangerouslySetInnerHTML.__html!=null}var ui=typeof setTimeout=="function"?setTimeout:void 0,qi=typeof clearTimeout=="function"?clearTimeout:void 0,Ko=typeof Promise=="function"?Promise:void 0,Ur=typeof queueMicrotask=="function"?queueMicrotask:typeof Ko<"u"?function(V){return Ko.resolve(null).then(V).catch(aa)}:ui;function aa(V){setTimeout(function(){throw V})}function ca(V,se){var dt=se,en=0;do{var kn=dt.nextSibling;if(V.removeChild(dt),kn&&kn.nodeType===8)if(dt=kn.data,dt==="/$"){if(en===0){V.removeChild(kn),Ho(se);return}en--}else dt!=="$"&&dt!=="$?"&&dt!=="$!"||en++;dt=kn}while(dt);Ho(se)}function As(V){for(;V!=null;V=V.nextSibling){var se=V.nodeType;if(se===1||se===3)break;if(se===8){if(se=V.data,se==="$"||se==="$!"||se==="$?")break;if(se==="/$")return null}}return V}function Ri(V){V=V.previousSibling;for(var se=0;V;){if(V.nodeType===8){var dt=V.data;if(dt==="$"||dt==="$!"||dt==="$?"){if(se===0)return V;se--}else dt==="/$"&&se++}V=V.previousSibling}return null}var Ei=Math.random().toString(36).slice(2),pi="__reactFiber$"+Ei,Gi="__reactProps$"+Ei,Eo="__reactContainer$"+Ei,_l="__reactEvents$"+Ei,Al="__reactListeners$"+Ei,Pl="__reactHandles$"+Ei;function Wi(V){var se=V[pi];if(se)return se;for(var dt=V.parentNode;dt;){if(se=dt[Eo]||dt[pi]){if(dt=se.alternate,se.child!==null||dt!==null&&dt.child!==null)for(V=Ri(V);V!==null;){if(dt=V[pi])return dt;V=Ri(V)}return se}V=dt,dt=V.parentNode}return null}function Mc(V){return V=V[pi]||V[Eo],!V||V.tag!==5&&V.tag!==6&&V.tag!==13&&V.tag!==3?null:V}function Fc(V){if(V.tag===5||V.tag===6)return V.stateNode;throw Error(n(33))}function Ou(V){return V[Gi]||null}var Rl=[],gu=-1;function Hl(V){return{current:V}}function Cl(V){0>gu||(V.current=Rl[gu],Rl[gu]=null,gu--)}function Dl(V,se){gu++,Rl[gu]=V.current,V.current=se}var kl={},ll=Hl(kl),el=Hl(!1),vc=kl;function Bl(V,se){var dt=V.type.contextTypes;if(!dt)return kl;var en=V.stateNode;if(en&&en.__reactInternalMemoizedUnmaskedChildContext===se)return en.__reactInternalMemoizedMaskedChildContext;var kn={},gr;for(gr in dt)kn[gr]=se[gr];return en&&(V=V.stateNode,V.__reactInternalMemoizedUnmaskedChildContext=se,V.__reactInternalMemoizedMaskedChildContext=kn),kn}function oc(V){return V=V.childContextTypes,V!=null}function Wc(){Cl(el),Cl(ll)}function Ll(V,se,dt){if(ll.current!==kl)throw Error(n(168));Dl(ll,se),Dl(el,dt)}function Qa(V,se,dt){var en=V.stateNode;if(se=se.childContextTypes,typeof en.getChildContext!="function")return dt;en=en.getChildContext();for(var kn in en)if(!(kn in se))throw Error(n(108,q(V)||"Unknown",kn));return $({},dt,en)}function Eu(V){return V=(V=V.stateNode)&&V.__reactInternalMemoizedMergedChildContext||kl,vc=ll.current,Dl(ll,V),Dl(el,el.current),!0}function Ul(V,se,dt){var en=V.stateNode;if(!en)throw Error(n(169));dt?(V=Qa(V,se,vc),en.__reactInternalMemoizedMergedChildContext=V,Cl(el),Cl(ll),Dl(ll,V)):Cl(el),Dl(el,dt)}var ql=null,Sc=!1,Rc=!1;function Mu(V){ql===null?ql=[V]:ql.push(V)}function dc(V){Sc=!0,Mu(V)}function ec(){if(!Rc&&ql!==null){Rc=!0;var V=0,se=eo;try{var dt=ql;for(eo=1;V<dt.length;V++){var en=dt[V];do en=en(!0);while(en!==null)}ql=null,Sc=!1}catch(kn){throw ql!==null&&(ql=ql.slice(V+1)),At(un,ec),kn}finally{eo=se,Rc=!1}}return null}var tc=[],qc=0,hu=null,Tc=0,ac=[],sc=0,wc=null,Nc=1,Kc="";function Yl(V,se){tc[qc++]=Tc,tc[qc++]=hu,hu=V,Tc=se}function ou(V,se,dt){ac[sc++]=Nc,ac[sc++]=Kc,ac[sc++]=wc,wc=V;var en=Nc;V=Kc;var kn=32-wt(en)-1;en&=~(1<<kn),dt+=1;var gr=32-wt(se)+kn;if(30<gr){var Io=kn-kn%5;gr=(en&(1<<Io)-1).toString(32),en>>=Io,kn-=Io,Nc=1<<32-wt(se)+kn|dt<<kn|en,Kc=gr+V}else Nc=1<<gr|dt<<kn|en,Kc=V}function ur(V){V.return!==null&&(Yl(V,1),ou(V,1,0))}function Xr(V){for(;V===hu;)hu=tc[--qc],tc[qc]=null,Tc=tc[--qc],tc[qc]=null;for(;V===wc;)wc=ac[--sc],ac[sc]=null,Kc=ac[--sc],ac[sc]=null,Nc=ac[--sc],ac[sc]=null}var Fr=null,kr=null,Ge=!1,An=null;function Yt(V,se){var dt=vl(5,null,null,0);dt.elementType="DELETED",dt.stateNode=se,dt.return=V,se=V.deletions,se===null?(V.deletions=[dt],V.flags|=16):se.push(dt)}function fn(V,se){switch(V.tag){case 5:var dt=V.type;return se=se.nodeType!==1||dt.toLowerCase()!==se.nodeName.toLowerCase()?null:se,se!==null?(V.stateNode=se,Fr=V,kr=As(se.firstChild),!0):!1;case 6:return se=V.pendingProps===""||se.nodeType!==3?null:se,se!==null?(V.stateNode=se,Fr=V,kr=null,!0):!1;case 13:return se=se.nodeType!==8?null:se,se!==null?(dt=wc!==null?{id:Nc,overflow:Kc}:null,V.memoizedState={dehydrated:se,treeContext:dt,retryLane:1073741824},dt=vl(18,null,null,0),dt.stateNode=se,dt.return=V,V.child=dt,Fr=V,kr=null,!0):!1;default:return!1}}function Br(V){return(V.mode&1)!==0&&(V.flags&128)===0}function yo(V){if(Ge){var se=kr;if(se){var dt=se;if(!fn(V,se)){if(Br(V))throw Error(n(418));se=As(dt.nextSibling);var en=Fr;se&&fn(V,se)?Yt(en,dt):(V.flags=V.flags&-4097|2,Ge=!1,Fr=V)}}else{if(Br(V))throw Error(n(418));V.flags=V.flags&-4097|2,Ge=!1,Fr=V}}}function Jo(V){for(V=V.return;V!==null&&V.tag!==5&&V.tag!==3&&V.tag!==13;)V=V.return;Fr=V}function sa(V){if(V!==Fr)return!1;if(!Ge)return Jo(V),Ge=!0,!1;var se;if((se=V.tag!==3)&&!(se=V.tag!==5)&&(se=V.type,se=se!=="head"&&se!=="body"&&!Ti(V.type,V.memoizedProps)),se&&(se=kr)){if(Br(V))throw la(),Error(n(418));for(;se;)Yt(V,se),se=As(se.nextSibling)}if(Jo(V),V.tag===13){if(V=V.memoizedState,V=V!==null?V.dehydrated:null,!V)throw Error(n(317));e:{for(V=V.nextSibling,se=0;V;){if(V.nodeType===8){var dt=V.data;if(dt==="/$"){if(se===0){kr=As(V.nextSibling);break e}se--}else dt!=="$"&&dt!=="$!"&&dt!=="$?"||se++}V=V.nextSibling}kr=null}}else kr=Fr?As(V.stateNode.nextSibling):null;return!0}function la(){for(var V=kr;V;)V=As(V.nextSibling)}function va(){kr=Fr=null,Ge=!1}function Ra(V){An===null?An=[V]:An.push(V)}var Ya=s.ReactCurrentBatchConfig;function wa(V,se){if(V&&V.defaultProps){se=$({},se),V=V.defaultProps;for(var dt in V)se[dt]===void 0&&(se[dt]=V[dt]);return se}return se}var xa=Hl(null),Ds=null,ws=null,Di=null;function ai(){Di=ws=Ds=null}function yl(V){var se=xa.current;Cl(xa),V._currentValue=se}function ml(V,se,dt){for(;V!==null;){var en=V.alternate;if((V.childLanes&se)!==se?(V.childLanes|=se,en!==null&&(en.childLanes|=se)):en!==null&&(en.childLanes&se)!==se&&(en.childLanes|=se),V===dt)break;V=V.return}}function Ii(V,se){Ds=V,Di=ws=null,V=V.dependencies,V!==null&&V.firstContext!==null&&(V.lanes&se&&(Pc=!0),V.firstContext=null)}function Xi(V){var se=V._currentValue;if(Di!==V)if(V={context:V,memoizedValue:se,next:null},ws===null){if(Ds===null)throw Error(n(308));ws=V,Ds.dependencies={lanes:0,firstContext:V}}else ws=ws.next=V;return se}var zi=null;function Sl(V){zi===null?zi=[V]:zi.push(V)}function gc(V,se,dt,en){var kn=se.interleaved;return kn===null?(dt.next=dt,Sl(se)):(dt.next=kn.next,kn.next=dt),se.interleaved=dt,Xl(V,en)}function Xl(V,se){V.lanes|=se;var dt=V.alternate;for(dt!==null&&(dt.lanes|=se),dt=V,V=V.return;V!==null;)V.childLanes|=se,dt=V.alternate,dt!==null&&(dt.childLanes|=se),dt=V,V=V.return;return dt.tag===3?dt.stateNode:null}var yc=!1;function Zc(V){V.updateQueue={baseState:V.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Rd(V,se){V=V.updateQueue,se.updateQueue===V&&(se.updateQueue={baseState:V.baseState,firstBaseUpdate:V.firstBaseUpdate,lastBaseUpdate:V.lastBaseUpdate,shared:V.shared,effects:V.effects})}function _u(V,se){return{eventTime:V,lane:se,tag:0,payload:null,callback:null,next:null}}function td(V,se,dt){var en=V.updateQueue;if(en===null)return null;if(en=en.shared,fc&2){var kn=en.pending;return kn===null?se.next=se:(se.next=kn.next,kn.next=se),en.pending=se,Xl(V,dt)}return kn=en.interleaved,kn===null?(se.next=se,Sl(en)):(se.next=kn.next,kn.next=se),en.interleaved=se,Xl(V,dt)}function Hu(V,se,dt){if(se=se.updateQueue,se!==null&&(se=se.shared,(dt&4194240)!==0)){var en=se.lanes;en&=V.pendingLanes,dt|=en,se.lanes=dt,Dr(V,dt)}}function Ru(V,se){var dt=V.updateQueue,en=V.alternate;if(en!==null&&(en=en.updateQueue,dt===en)){var kn=null,gr=null;if(dt=dt.firstBaseUpdate,dt!==null){do{var Io={eventTime:dt.eventTime,lane:dt.lane,tag:dt.tag,payload:dt.payload,callback:dt.callback,next:null};gr===null?kn=gr=Io:gr=gr.next=Io,dt=dt.next}while(dt!==null);gr===null?kn=gr=se:gr=gr.next=se}else kn=gr=se;dt={baseState:en.baseState,firstBaseUpdate:kn,lastBaseUpdate:gr,shared:en.shared,effects:en.effects},V.updateQueue=dt;return}V=dt.lastBaseUpdate,V===null?dt.firstBaseUpdate=se:V.next=se,dt.lastBaseUpdate=se}function Pu(V,se,dt,en){var kn=V.updateQueue;yc=!1;var gr=kn.firstBaseUpdate,Io=kn.lastBaseUpdate,ma=kn.shared.pending;if(ma!==null){kn.shared.pending=null;var Ta=ma,Ps=Ta.next;Ta.next=null,Io===null?gr=Ps:Io.next=Ps,Io=Ta;var ja=V.alternate;ja!==null&&(ja=ja.updateQueue,ma=ja.lastBaseUpdate,ma!==Io&&(ma===null?ja.firstBaseUpdate=Ps:ma.next=Ps,ja.lastBaseUpdate=Ta))}if(gr!==null){var mi=kn.baseState;Io=0,ja=Ps=Ta=null,ma=gr;do{var ii=ma.lane,ol=ma.eventTime;if((en&ii)===ii){ja!==null&&(ja=ja.next={eventTime:ol,lane:0,tag:ma.tag,payload:ma.payload,callback:ma.callback,next:null});e:{var hl=V,gl=ma;switch(ii=se,ol=dt,gl.tag){case 1:if(hl=gl.payload,typeof hl=="function"){mi=hl.call(ol,mi,ii);break e}mi=hl;break e;case 3:hl.flags=hl.flags&-65537|128;case 0:if(hl=gl.payload,ii=typeof hl=="function"?hl.call(ol,mi,ii):hl,ii==null)break e;mi=$({},mi,ii);break e;case 2:yc=!0}}ma.callback!==null&&ma.lane!==0&&(V.flags|=64,ii=kn.effects,ii===null?kn.effects=[ma]:ii.push(ma))}else ol={eventTime:ol,lane:ii,tag:ma.tag,payload:ma.payload,callback:ma.callback,next:null},ja===null?(Ps=ja=ol,Ta=mi):ja=ja.next=ol,Io|=ii;if(ma=ma.next,ma===null){if(ma=kn.shared.pending,ma===null)break;ii=ma,ma=ii.next,ii.next=null,kn.lastBaseUpdate=ii,kn.shared.pending=null}}while(!0);if(ja===null&&(Ta=mi),kn.baseState=Ta,kn.firstBaseUpdate=Ps,kn.lastBaseUpdate=ja,se=kn.shared.interleaved,se!==null){kn=se;do Io|=kn.lane,kn=kn.next;while(kn!==se)}else gr===null&&(kn.shared.lanes=0);Ff|=Io,V.lanes=Io,V.memoizedState=mi}}function Oc(V,se,dt){if(V=se.effects,se.effects=null,V!==null)for(se=0;se<V.length;se++){var en=V[se],kn=en.callback;if(kn!==null){if(en.callback=null,en=dt,typeof kn!="function")throw Error(n(191,kn));kn.call(en)}}}var vf=new r.Component().refs;function nd(V,se,dt,en){se=V.memoizedState,dt=dt(en,se),dt=dt==null?se:$({},se,dt),V.memoizedState=dt,V.lanes===0&&(V.updateQueue.baseState=dt)}var ld={isMounted:function(V){return(V=V._reactInternals)?Hr(V)===V:!1},enqueueSetState:function(V,se,dt){V=V._reactInternals;var en=N(),kn=Z(V),gr=_u(en,kn);gr.payload=se,dt!=null&&(gr.callback=dt),se=td(V,gr,kn),se!==null&&(ve(se,V,kn,en),Hu(se,V,kn))},enqueueReplaceState:function(V,se,dt){V=V._reactInternals;var en=N(),kn=Z(V),gr=_u(en,kn);gr.tag=1,gr.payload=se,dt!=null&&(gr.callback=dt),se=td(V,gr,kn),se!==null&&(ve(se,V,kn,en),Hu(se,V,kn))},enqueueForceUpdate:function(V,se){V=V._reactInternals;var dt=N(),en=Z(V),kn=_u(dt,en);kn.tag=2,se!=null&&(kn.callback=se),se=td(V,kn,en),se!==null&&(ve(se,V,en,dt),Hu(se,V,en))}};function Wl(V,se,dt,en,kn,gr,Io){return V=V.stateNode,typeof V.shouldComponentUpdate=="function"?V.shouldComponentUpdate(en,gr,Io):se.prototype&&se.prototype.isPureReactComponent?!ko(dt,en)||!ko(kn,gr):!0}function Ql(V,se,dt){var en=!1,kn=kl,gr=se.contextType;return typeof gr=="object"&&gr!==null?gr=Xi(gr):(kn=oc(se)?vc:ll.current,en=se.contextTypes,gr=(en=en!=null)?Bl(V,kn):kl),se=new se(dt,gr),V.memoizedState=se.state!==null&&se.state!==void 0?se.state:null,se.updater=ld,V.stateNode=se,se._reactInternals=V,en&&(V=V.stateNode,V.__reactInternalMemoizedUnmaskedChildContext=kn,V.__reactInternalMemoizedMaskedChildContext=gr),se}function gd(V,se,dt,en){V=se.state,typeof se.componentWillReceiveProps=="function"&&se.componentWillReceiveProps(dt,en),typeof se.UNSAFE_componentWillReceiveProps=="function"&&se.UNSAFE_componentWillReceiveProps(dt,en),se.state!==V&&ld.enqueueReplaceState(se,se.state,null)}function rd(V,se,dt,en){var kn=V.stateNode;kn.props=dt,kn.state=V.memoizedState,kn.refs=vf,Zc(V);var gr=se.contextType;typeof gr=="object"&&gr!==null?kn.context=Xi(gr):(gr=oc(se)?vc:ll.current,kn.context=Bl(V,gr)),kn.state=V.memoizedState,gr=se.getDerivedStateFromProps,typeof gr=="function"&&(nd(V,se,gr,dt),kn.state=V.memoizedState),typeof se.getDerivedStateFromProps=="function"||typeof kn.getSnapshotBeforeUpdate=="function"||typeof kn.UNSAFE_componentWillMount!="function"&&typeof kn.componentWillMount!="function"||(se=kn.state,typeof kn.componentWillMount=="function"&&kn.componentWillMount(),typeof kn.UNSAFE_componentWillMount=="function"&&kn.UNSAFE_componentWillMount(),se!==kn.state&&ld.enqueueReplaceState(kn,kn.state,null),Pu(V,dt,kn,en),kn.state=V.memoizedState),typeof kn.componentDidMount=="function"&&(V.flags|=4194308)}function Zu(V,se,dt){if(V=dt.ref,V!==null&&typeof V!="function"&&typeof V!="object"){if(dt._owner){if(dt=dt._owner,dt){if(dt.tag!==1)throw Error(n(309));var en=dt.stateNode}if(!en)throw Error(n(147,V));var kn=en,gr=""+V;return se!==null&&se.ref!==null&&typeof se.ref=="function"&&se.ref._stringRef===gr?se.ref:(se=function(Io){var ma=kn.refs;ma===vf&&(ma=kn.refs={}),Io===null?delete ma[gr]:ma[gr]=Io},se._stringRef=gr,se)}if(typeof V!="string")throw Error(n(284));if(!dt._owner)throw Error(n(290,V))}return V}function Cu(V,se){throw V=Object.prototype.toString.call(se),Error(n(31,V==="[object Object]"?"object with keys {"+Object.keys(se).join(", ")+"}":V))}function eu(V){var se=V._init;return se(V._payload)}function Uu(V){function se(Wa,Fa){if(V){var gs=Wa.deletions;gs===null?(Wa.deletions=[Fa],Wa.flags|=16):gs.push(Fa)}}function dt(Wa,Fa){if(!V)return null;for(;Fa!==null;)se(Wa,Fa),Fa=Fa.sibling;return null}function en(Wa,Fa){for(Wa=new Map;Fa!==null;)Fa.key!==null?Wa.set(Fa.key,Fa):Wa.set(Fa.index,Fa),Fa=Fa.sibling;return Wa}function kn(Wa,Fa){return Wa=fu(Wa,Fa),Wa.index=0,Wa.sibling=null,Wa}function gr(Wa,Fa,gs){return Wa.index=gs,V?(gs=Wa.alternate,gs!==null?(gs=gs.index,gs<Fa?(Wa.flags|=2,Fa):gs):(Wa.flags|=2,Fa)):(Wa.flags|=1048576,Fa)}function Io(Wa){return V&&Wa.alternate===null&&(Wa.flags|=2),Wa}function ma(Wa,Fa,gs,Ci){return Fa===null||Fa.tag!==6?(Fa=nf(gs,Wa.mode,Ci),Fa.return=Wa,Fa):(Fa=kn(Fa,gs),Fa.return=Wa,Fa)}function Ta(Wa,Fa,gs,Ci){var Ol=gs.type;return Ol===E?ja(Wa,Fa,gs.props.children,Ci,gs.key):Fa!==null&&(Fa.elementType===Ol||typeof Ol=="object"&&Ol!==null&&Ol.$$typeof===B&&eu(Ol)===Fa.type)?(Ci=kn(Fa,gs.props),Ci.ref=Zu(Wa,Fa,gs),Ci.return=Wa,Ci):(Ci=Ud(gs.type,gs.key,gs.props,null,Wa.mode,Ci),Ci.ref=Zu(Wa,Fa,gs),Ci.return=Wa,Ci)}function Ps(Wa,Fa,gs,Ci){return Fa===null||Fa.tag!==4||Fa.stateNode.containerInfo!==gs.containerInfo||Fa.stateNode.implementation!==gs.implementation?(Fa=mh(gs,Wa.mode,Ci),Fa.return=Wa,Fa):(Fa=kn(Fa,gs.children||[]),Fa.return=Wa,Fa)}function ja(Wa,Fa,gs,Ci,Ol){return Fa===null||Fa.tag!==7?(Fa=Td(gs,Wa.mode,Ci,Ol),Fa.return=Wa,Fa):(Fa=kn(Fa,gs),Fa.return=Wa,Fa)}function mi(Wa,Fa,gs){if(typeof Fa=="string"&&Fa!==""||typeof Fa=="number")return Fa=nf(""+Fa,Wa.mode,gs),Fa.return=Wa,Fa;if(typeof Fa=="object"&&Fa!==null){switch(Fa.$$typeof){case v:return gs=Ud(Fa.type,Fa.key,Fa.props,null,Wa.mode,gs),gs.ref=Zu(Wa,null,Fa),gs.return=Wa,gs;case m:return Fa=mh(Fa,Wa.mode,gs),Fa.return=Wa,Fa;case B:var Ci=Fa._init;return mi(Wa,Ci(Fa._payload),gs)}if(Ke(Fa)||j(Fa))return Fa=Td(Fa,Wa.mode,gs,null),Fa.return=Wa,Fa;Cu(Wa,Fa)}return null}function ii(Wa,Fa,gs,Ci){var Ol=Fa!==null?Fa.key:null;if(typeof gs=="string"&&gs!==""||typeof gs=="number")return Ol!==null?null:ma(Wa,Fa,""+gs,Ci);if(typeof gs=="object"&&gs!==null){switch(gs.$$typeof){case v:return gs.key===Ol?Ta(Wa,Fa,gs,Ci):null;case m:return gs.key===Ol?Ps(Wa,Fa,gs,Ci):null;case B:return Ol=gs._init,ii(Wa,Fa,Ol(gs._payload),Ci)}if(Ke(gs)||j(gs))return Ol!==null?null:ja(Wa,Fa,gs,Ci,null);Cu(Wa,gs)}return null}function ol(Wa,Fa,gs,Ci,Ol){if(typeof Ci=="string"&&Ci!==""||typeof Ci=="number")return Wa=Wa.get(gs)||null,ma(Fa,Wa,""+Ci,Ol);if(typeof Ci=="object"&&Ci!==null){switch(Ci.$$typeof){case v:return Wa=Wa.get(Ci.key===null?gs:Ci.key)||null,Ta(Fa,Wa,Ci,Ol);case m:return Wa=Wa.get(Ci.key===null?gs:Ci.key)||null,Ps(Fa,Wa,Ci,Ol);case B:var Il=Ci._init;return ol(Wa,Fa,gs,Il(Ci._payload),Ol)}if(Ke(Ci)||j(Ci))return Wa=Wa.get(gs)||null,ja(Fa,Wa,Ci,Ol,null);Cu(Fa,Ci)}return null}function hl(Wa,Fa,gs,Ci){for(var Ol=null,Il=null,Ml=Fa,wl=Fa=0,uc=null;Ml!==null&&wl<gs.length;wl++){Ml.index>wl?(uc=Ml,Ml=null):uc=Ml.sibling;var Yc=ii(Wa,Ml,gs[wl],Ci);if(Yc===null){Ml===null&&(Ml=uc);break}V&&Ml&&Yc.alternate===null&&se(Wa,Ml),Fa=gr(Yc,Fa,wl),Il===null?Ol=Yc:Il.sibling=Yc,Il=Yc,Ml=uc}if(wl===gs.length)return dt(Wa,Ml),Ge&&Yl(Wa,wl),Ol;if(Ml===null){for(;wl<gs.length;wl++)Ml=mi(Wa,gs[wl],Ci),Ml!==null&&(Fa=gr(Ml,Fa,wl),Il===null?Ol=Ml:Il.sibling=Ml,Il=Ml);return Ge&&Yl(Wa,wl),Ol}for(Ml=en(Wa,Ml);wl<gs.length;wl++)uc=ol(Ml,Wa,wl,gs[wl],Ci),uc!==null&&(V&&uc.alternate!==null&&Ml.delete(uc.key===null?wl:uc.key),Fa=gr(uc,Fa,wl),Il===null?Ol=uc:Il.sibling=uc,Il=uc);return V&&Ml.forEach(function(ih){return se(Wa,ih)}),Ge&&Yl(Wa,wl),Ol}function gl(Wa,Fa,gs,Ci){var Ol=j(gs);if(typeof Ol!="function")throw Error(n(150));if(gs=Ol.call(gs),gs==null)throw Error(n(151));for(var Il=Ol=null,Ml=Fa,wl=Fa=0,uc=null,Yc=gs.next();Ml!==null&&!Yc.done;wl++,Yc=gs.next()){Ml.index>wl?(uc=Ml,Ml=null):uc=Ml.sibling;var ih=ii(Wa,Ml,Yc.value,Ci);if(ih===null){Ml===null&&(Ml=uc);break}V&&Ml&&ih.alternate===null&&se(Wa,Ml),Fa=gr(ih,Fa,wl),Il===null?Ol=ih:Il.sibling=ih,Il=ih,Ml=uc}if(Yc.done)return dt(Wa,Ml),Ge&&Yl(Wa,wl),Ol;if(Ml===null){for(;!Yc.done;wl++,Yc=gs.next())Yc=mi(Wa,Yc.value,Ci),Yc!==null&&(Fa=gr(Yc,Fa,wl),Il===null?Ol=Yc:Il.sibling=Yc,Il=Yc);return Ge&&Yl(Wa,wl),Ol}for(Ml=en(Wa,Ml);!Yc.done;wl++,Yc=gs.next())Yc=ol(Ml,Wa,wl,Yc.value,Ci),Yc!==null&&(V&&Yc.alternate!==null&&Ml.delete(Yc.key===null?wl:Yc.key),Fa=gr(Yc,Fa,wl),Il===null?Ol=Yc:Il.sibling=Yc,Il=Yc);return V&&Ml.forEach(function(Ph){return se(Wa,Ph)}),Ge&&Yl(Wa,wl),Ol}function Iu(Wa,Fa,gs,Ci){if(typeof gs=="object"&&gs!==null&&gs.type===E&&gs.key===null&&(gs=gs.props.children),typeof gs=="object"&&gs!==null){switch(gs.$$typeof){case v:e:{for(var Ol=gs.key,Il=Fa;Il!==null;){if(Il.key===Ol){if(Ol=gs.type,Ol===E){if(Il.tag===7){dt(Wa,Il.sibling),Fa=kn(Il,gs.props.children),Fa.return=Wa,Wa=Fa;break e}}else if(Il.elementType===Ol||typeof Ol=="object"&&Ol!==null&&Ol.$$typeof===B&&eu(Ol)===Il.type){dt(Wa,Il.sibling),Fa=kn(Il,gs.props),Fa.ref=Zu(Wa,Il,gs),Fa.return=Wa,Wa=Fa;break e}dt(Wa,Il);break}else se(Wa,Il);Il=Il.sibling}gs.type===E?(Fa=Td(gs.props.children,Wa.mode,Ci,gs.key),Fa.return=Wa,Wa=Fa):(Ci=Ud(gs.type,gs.key,gs.props,null,Wa.mode,Ci),Ci.ref=Zu(Wa,Fa,gs),Ci.return=Wa,Wa=Ci)}return Io(Wa);case m:e:{for(Il=gs.key;Fa!==null;){if(Fa.key===Il)if(Fa.tag===4&&Fa.stateNode.containerInfo===gs.containerInfo&&Fa.stateNode.implementation===gs.implementation){dt(Wa,Fa.sibling),Fa=kn(Fa,gs.children||[]),Fa.return=Wa,Wa=Fa;break e}else{dt(Wa,Fa);break}else se(Wa,Fa);Fa=Fa.sibling}Fa=mh(gs,Wa.mode,Ci),Fa.return=Wa,Wa=Fa}return Io(Wa);case B:return Il=gs._init,Iu(Wa,Fa,Il(gs._payload),Ci)}if(Ke(gs))return hl(Wa,Fa,gs,Ci);if(j(gs))return gl(Wa,Fa,gs,Ci);Cu(Wa,gs)}return typeof gs=="string"&&gs!==""||typeof gs=="number"?(gs=""+gs,Fa!==null&&Fa.tag===6?(dt(Wa,Fa.sibling),Fa=kn(Fa,gs),Fa.return=Wa,Wa=Fa):(dt(Wa,Fa),Fa=nf(gs,Wa.mode,Ci),Fa.return=Wa,Wa=Fa),Io(Wa)):dt(Wa,Fa)}return Iu}var Bc=Uu(!0),Ed=Uu(!1),Fu={},Ut=Hl(Fu),Q=Hl(Fu),De=Hl(Fu);function at(V){if(V===Fu)throw Error(n(174));return V}function Dt(V,se){switch(Dl(De,se),Dl(Q,V),Dl(Ut,Fu),V=se.nodeType,V){case 9:case 11:se=(se=se.documentElement)?se.namespaceURI:ht(null,"");break;default:V=V===8?se.parentNode:se,se=V.namespaceURI||null,V=V.tagName,se=ht(se,V)}Cl(Ut),Dl(Ut,se)}function zt(){Cl(Ut),Cl(Q),Cl(De)}function Qn(V){at(De.current);var se=at(Ut.current),dt=ht(se,V.type);se!==dt&&(Dl(Q,V),Dl(Ut,dt))}function Cr(V){Q.current===V&&(Cl(Ut),Cl(Q))}var wr=Hl(0);function No(V){for(var se=V;se!==null;){if(se.tag===13){var dt=se.memoizedState;if(dt!==null&&(dt=dt.dehydrated,dt===null||dt.data==="$?"||dt.data==="$!"))return se}else if(se.tag===19&&se.memoizedProps.revealOrder!==void 0){if(se.flags&128)return se}else if(se.child!==null){se.child.return=se,se=se.child;continue}if(se===V)break;for(;se.sibling===null;){if(se.return===null||se.return===V)return null;se=se.return}se.sibling.return=se.return,se=se.sibling}return null}var Co=[];function Ro(){for(var V=0;V<Co.length;V++)Co[V]._workInProgressVersionPrimary=null;Co.length=0}var Qo=s.ReactCurrentDispatcher,ka=s.ReactCurrentBatchConfig,Ca=0,ls=null,vs=null,Es=null,fi=!1,Bo=!1,Hi=0,Qi=0;function Li(){throw Error(n(321))}function Gl(V,se){if(se===null)return!1;for(var dt=0;dt<se.length&&dt<V.length;dt++)if(!wo(V[dt],se[dt]))return!1;return!0}function Zl(V,se,dt,en,kn,gr){if(Ca=gr,ls=se,se.memoizedState=null,se.updateQueue=null,se.lanes=0,Qo.current=V===null||V.memoizedState===null?Ld:sf,V=dt(en,kn),Bo){gr=0;do{if(Bo=!1,Hi=0,25<=gr)throw Error(n(301));gr+=1,Es=vs=null,se.updateQueue=null,Qo.current=lf,V=dt(en,kn)}while(Bo)}if(Qo.current=Wu,se=vs!==null&&vs.next!==null,Ca=0,Es=vs=ls=null,fi=!1,se)throw Error(n(300));return V}function Vc(){var V=Hi!==0;return Hi=0,V}function tu(){var V={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Es===null?ls.memoizedState=Es=V:Es=Es.next=V,Es}function lu(){if(vs===null){var V=ls.alternate;V=V!==null?V.memoizedState:null}else V=vs.next;var se=Es===null?ls.memoizedState:Es.next;if(se!==null)Es=se,vs=V;else{if(V===null)throw Error(n(310));vs=V,V={memoizedState:vs.memoizedState,baseState:vs.baseState,baseQueue:vs.baseQueue,queue:vs.queue,next:null},Es===null?ls.memoizedState=Es=V:Es=Es.next=V}return Es}function Lu(V,se){return typeof se=="function"?se(V):se}function yu(V){var se=lu(),dt=se.queue;if(dt===null)throw Error(n(311));dt.lastRenderedReducer=V;var en=vs,kn=en.baseQueue,gr=dt.pending;if(gr!==null){if(kn!==null){var Io=kn.next;kn.next=gr.next,gr.next=Io}en.baseQueue=kn=gr,dt.pending=null}if(kn!==null){gr=kn.next,en=en.baseState;var ma=Io=null,Ta=null,Ps=gr;do{var ja=Ps.lane;if((Ca&ja)===ja)Ta!==null&&(Ta=Ta.next={lane:0,action:Ps.action,hasEagerState:Ps.hasEagerState,eagerState:Ps.eagerState,next:null}),en=Ps.hasEagerState?Ps.eagerState:V(en,Ps.action);else{var mi={lane:ja,action:Ps.action,hasEagerState:Ps.hasEagerState,eagerState:Ps.eagerState,next:null};Ta===null?(ma=Ta=mi,Io=en):Ta=Ta.next=mi,ls.lanes|=ja,Ff|=ja}Ps=Ps.next}while(Ps!==null&&Ps!==gr);Ta===null?Io=en:Ta.next=ma,wo(en,se.memoizedState)||(Pc=!0),se.memoizedState=en,se.baseState=Io,se.baseQueue=Ta,dt.lastRenderedState=en}if(V=dt.interleaved,V!==null){kn=V;do gr=kn.lane,ls.lanes|=gr,Ff|=gr,kn=kn.next;while(kn!==V)}else kn===null&&(dt.lanes=0);return[se.memoizedState,dt.dispatch]}function ic(V){var se=lu(),dt=se.queue;if(dt===null)throw Error(n(311));dt.lastRenderedReducer=V;var en=dt.dispatch,kn=dt.pending,gr=se.memoizedState;if(kn!==null){dt.pending=null;var Io=kn=kn.next;do gr=V(gr,Io.action),Io=Io.next;while(Io!==kn);wo(gr,se.memoizedState)||(Pc=!0),se.memoizedState=gr,se.baseQueue===null&&(se.baseState=gr),dt.lastRenderedState=gr}return[gr,en]}function kc(){}function cu(V,se){var dt=ls,en=lu(),kn=se(),gr=!wo(en.memoizedState,kn);if(gr&&(en.memoizedState=kn,Pc=!0),en=en.queue,cd(jc.bind(null,dt,en,V),[V]),en.getSnapshot!==se||gr||Es!==null&&Es.memoizedState.tag&1){if(dt.flags|=2048,_d(9,au.bind(null,dt,en,kn,se),void 0,null),Yu===null)throw Error(n(349));Ca&30||Au(dt,se,kn)}return kn}function Au(V,se,dt){V.flags|=16384,V={getSnapshot:se,value:dt},se=ls.updateQueue,se===null?(se={lastEffect:null,stores:null},ls.updateQueue=se,se.stores=[V]):(dt=se.stores,dt===null?se.stores=[V]:dt.push(V))}function au(V,se,dt,en){se.value=dt,se.getSnapshot=en,lc(se)&&Nu(V)}function jc(V,se,dt){return dt(function(){lc(se)&&Nu(V)})}function lc(V){var se=V.getSnapshot;V=V.value;try{var dt=se();return!wo(V,dt)}catch{return!0}}function Nu(V){var se=Xl(V,1);se!==null&&ve(se,V,1,-1)}function Zd(V){var se=tu();return typeof V=="function"&&(V=V()),se.memoizedState=se.baseState=V,V={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Lu,lastRenderedState:V},se.queue=V,V=V.dispatch=Kd.bind(null,ls,V),[se.memoizedState,V]}function _d(V,se,dt,en){return V={tag:V,create:se,destroy:dt,deps:en,next:null},se=ls.updateQueue,se===null?(se={lastEffect:null,stores:null},ls.updateQueue=se,se.lastEffect=V.next=V):(dt=se.lastEffect,dt===null?se.lastEffect=V.next=V:(en=dt.next,dt.next=V,V.next=en,se.lastEffect=V)),V}function pu(){return lu().memoizedState}function Lc(V,se,dt,en){var kn=tu();ls.flags|=V,kn.memoizedState=_d(1|se,dt,void 0,en===void 0?null:en)}function od(V,se,dt,en){var kn=lu();en=en===void 0?null:en;var gr=void 0;if(vs!==null){var Io=vs.memoizedState;if(gr=Io.destroy,en!==null&&Gl(en,Io.deps)){kn.memoizedState=_d(se,dt,gr,en);return}}ls.flags|=V,kn.memoizedState=_d(1|se,dt,gr,en)}function yd(V,se){return Lc(8390656,8,V,se)}function cd(V,se){return od(2048,8,V,se)}function Vd(V,se){return od(4,2,V,se)}function Od(V,se){return od(4,4,V,se)}function ud(V,se){if(typeof se=="function")return V=V(),se(V),function(){se(null)};if(se!=null)return V=V(),se.current=V,function(){se.current=null}}function Tl(V,se,dt){return dt=dt!=null?dt.concat([V]):null,od(4,4,ud.bind(null,se,V),dt)}function nu(){}function uu(V,se){var dt=lu();se=se===void 0?null:se;var en=dt.memoizedState;return en!==null&&se!==null&&Gl(se,en[1])?en[0]:(dt.memoizedState=[V,se],V)}function dd(V,se){var dt=lu();se=se===void 0?null:se;var en=dt.memoizedState;return en!==null&&se!==null&&Gl(se,en[1])?en[0]:(V=V(),dt.memoizedState=[V,se],V)}function Tu(V,se,dt){return Ca&21?(wo(dt,se)||(dt=sr(),ls.lanes|=dt,Ff|=dt,V.baseState=!0),se):(V.baseState&&(V.baseState=!1,Pc=!0),V.memoizedState=dt)}function Wd(V,se){var dt=eo;eo=dt!==0&&4>dt?dt:4,V(!0);var en=ka.transition;ka.transition={};try{V(!1),se()}finally{eo=dt,ka.transition=en}}function qd(){return lu().memoizedState}function af(V,se,dt){var en=Z(V);if(dt={lane:en,action:dt,hasEagerState:!1,eagerState:null,next:null},ad(V))Vu(se,dt);else if(dt=gc(V,se,dt,en),dt!==null){var kn=N();ve(dt,V,en,kn),zu(dt,se,en)}}function Kd(V,se,dt){var en=Z(V),kn={lane:en,action:dt,hasEagerState:!1,eagerState:null,next:null};if(ad(V))Vu(se,kn);else{var gr=V.alternate;if(V.lanes===0&&(gr===null||gr.lanes===0)&&(gr=se.lastRenderedReducer,gr!==null))try{var Io=se.lastRenderedState,ma=gr(Io,dt);if(kn.hasEagerState=!0,kn.eagerState=ma,wo(ma,Io)){var Ta=se.interleaved;Ta===null?(kn.next=kn,Sl(se)):(kn.next=Ta.next,Ta.next=kn),se.interleaved=kn;return}}catch{}finally{}dt=gc(V,se,kn,en),dt!==null&&(kn=N(),ve(dt,V,en,kn),zu(dt,se,en))}}function ad(V){var se=V.alternate;return V===ls||se!==null&&se===ls}function Vu(V,se){Bo=fi=!0;var dt=V.pending;dt===null?se.next=se:(se.next=dt.next,dt.next=se),V.pending=se}function zu(V,se,dt){if(dt&4194240){var en=se.lanes;en&=V.pendingLanes,dt|=en,se.lanes=dt,Dr(V,dt)}}var Wu={readContext:Xi,useCallback:Li,useContext:Li,useEffect:Li,useImperativeHandle:Li,useInsertionEffect:Li,useLayoutEffect:Li,useMemo:Li,useReducer:Li,useRef:Li,useState:Li,useDebugValue:Li,useDeferredValue:Li,useTransition:Li,useMutableSource:Li,useSyncExternalStore:Li,useId:Li,unstable_isNewReconciler:!1},Ld={readContext:Xi,useCallback:function(V,se){return tu().memoizedState=[V,se===void 0?null:se],V},useContext:Xi,useEffect:yd,useImperativeHandle:function(V,se,dt){return dt=dt!=null?dt.concat([V]):null,Lc(4194308,4,ud.bind(null,se,V),dt)},useLayoutEffect:function(V,se){return Lc(4194308,4,V,se)},useInsertionEffect:function(V,se){return Lc(4,2,V,se)},useMemo:function(V,se){var dt=tu();return se=se===void 0?null:se,V=V(),dt.memoizedState=[V,se],V},useReducer:function(V,se,dt){var en=tu();return se=dt!==void 0?dt(se):se,en.memoizedState=en.baseState=se,V={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:V,lastRenderedState:se},en.queue=V,V=V.dispatch=af.bind(null,ls,V),[en.memoizedState,V]},useRef:function(V){var se=tu();return V={current:V},se.memoizedState=V},useState:Zd,useDebugValue:nu,useDeferredValue:function(V){return tu().memoizedState=V},useTransition:function(){var V=Zd(!1),se=V[0];return V=Wd.bind(null,V[1]),tu().memoizedState=V,[se,V]},useMutableSource:function(){},useSyncExternalStore:function(V,se,dt){var en=ls,kn=tu();if(Ge){if(dt===void 0)throw Error(n(407));dt=dt()}else{if(dt=se(),Yu===null)throw Error(n(349));Ca&30||Au(en,se,dt)}kn.memoizedState=dt;var gr={value:dt,getSnapshot:se};return kn.queue=gr,yd(jc.bind(null,en,gr,V),[V]),en.flags|=2048,_d(9,au.bind(null,en,gr,dt,se),void 0,null),dt},useId:function(){var V=tu(),se=Yu.identifierPrefix;if(Ge){var dt=Kc,en=Nc;dt=(en&~(1<<32-wt(en)-1)).toString(32)+dt,se=":"+se+"R"+dt,dt=Hi++,0<dt&&(se+="H"+dt.toString(32)),se+=":"}else dt=Qi++,se=":"+se+"r"+dt.toString(32)+":";return V.memoizedState=se},unstable_isNewReconciler:!1},sf={readContext:Xi,useCallback:uu,useContext:Xi,useEffect:cd,useImperativeHandle:Tl,useInsertionEffect:Vd,useLayoutEffect:Od,useMemo:dd,useReducer:yu,useRef:pu,useState:function(){return yu(Lu)},useDebugValue:nu,useDeferredValue:function(V){var se=lu();return Tu(se,vs.memoizedState,V)},useTransition:function(){var V=yu(Lu)[0],se=lu().memoizedState;return[V,se]},useMutableSource:kc,useSyncExternalStore:cu,useId:qd,unstable_isNewReconciler:!1},lf={readContext:Xi,useCallback:uu,useContext:Xi,useEffect:cd,useImperativeHandle:Tl,useInsertionEffect:Vd,useLayoutEffect:Od,useMemo:dd,useReducer:ic,useRef:pu,useState:function(){return ic(Lu)},useDebugValue:nu,useDeferredValue:function(V){var se=lu();return vs===null?se.memoizedState=V:Tu(se,vs.memoizedState,V)},useTransition:function(){var V=ic(Lu)[0],se=lu().memoizedState;return[V,se]},useMutableSource:kc,useSyncExternalStore:cu,useId:qd,unstable_isNewReconciler:!1};function xd(V,se){try{var dt="",en=se;do dt+=pe(en),en=en.return;while(en);var kn=dt}catch(gr){kn=`
Error generating stack: `+gr.message+`
`+gr.stack}return{value:V,source:se,stack:kn,digest:null}}function wd(V,se,dt){return{value:V,source:null,stack:dt??null,digest:se??null}}function kd(V,se){try{console.error(se.value)}catch(dt){setTimeout(function(){throw dt})}}var fd=typeof WeakMap=="function"?WeakMap:Map;function sd(V,se,dt){dt=_u(-1,dt),dt.tag=3,dt.payload={element:null};var en=se.value;return dt.callback=function(){If||(If=!0,ku=en),kd(V,se)},dt}function cf(V,se,dt){dt=_u(-1,dt),dt.tag=3;var en=V.type.getDerivedStateFromError;if(typeof en=="function"){var kn=se.value;dt.payload=function(){return en(kn)},dt.callback=function(){kd(V,se)}}var gr=V.stateNode;return gr!==null&&typeof gr.componentDidCatch=="function"&&(dt.callback=function(){kd(V,se),typeof en!="function"&&(wu===null?wu=new Set([this]):wu.add(this));var Io=se.stack;this.componentDidCatch(se.value,{componentStack:Io!==null?Io:""})}),dt}function uf(V,se,dt){var en=V.pingCache;if(en===null){en=V.pingCache=new fd;var kn=new Set;en.set(se,kn)}else kn=en.get(se),kn===void 0&&(kn=new Set,en.set(se,kn));kn.has(dt)||(kn.add(dt),V=Va.bind(null,V,se,dt),se.then(V,V))}function $u(V){do{var se;if((se=V.tag===13)&&(se=V.memoizedState,se=se!==null?se.dehydrated!==null:!0),se)return V;V=V.return}while(V!==null);return null}function Nd(V,se,dt,en,kn){return V.mode&1?(V.flags|=65536,V.lanes=kn,V):(V===se?V.flags|=65536:(V.flags|=128,dt.flags|=131072,dt.flags&=-52805,dt.tag===1&&(dt.alternate===null?dt.tag=17:(se=_u(-1,1),se.tag=2,td(dt,se,1))),dt.lanes|=1),V)}var Bd=s.ReactCurrentOwner,Pc=!1;function Fl(V,se,dt,en){se.child=V===null?Ed(se,null,dt,en):Bc(se,V.child,dt,en)}function Gd(V,se,dt,en,kn){dt=dt.render;var gr=se.ref;return Ii(se,kn),en=Zl(V,se,dt,en,gr,kn),dt=Vc(),V!==null&&!Pc?(se.updateQueue=V.updateQueue,se.flags&=-2053,V.lanes&=~kn,Nr(V,se,kn)):(Ge&&dt&&ur(se),se.flags|=1,Fl(V,se,en,kn),se.child)}function hd(V,se,dt,en,kn){if(V===null){var gr=dt.type;return typeof gr=="function"&&!hc(gr)&&gr.defaultProps===void 0&&dt.compare===null&&dt.defaultProps===void 0?(se.tag=15,se.type=gr,zd(V,se,gr,en,kn)):(V=Ud(dt.type,null,en,se,se.mode,kn),V.ref=se.ref,V.return=se,se.child=V)}if(gr=V.child,!(V.lanes&kn)){var Io=gr.memoizedProps;if(dt=dt.compare,dt=dt!==null?dt:ko,dt(Io,en)&&V.ref===se.ref)return Nr(V,se,kn)}return se.flags|=1,V=fu(gr,en),V.ref=se.ref,V.return=se,se.child=V}function zd(V,se,dt,en,kn){if(V!==null){var gr=V.memoizedProps;if(ko(gr,en)&&V.ref===se.ref)if(Pc=!1,se.pendingProps=en=gr,(V.lanes&kn)!==0)V.flags&131072&&(Pc=!0);else return se.lanes=V.lanes,Nr(V,se,kn)}return xn(V,se,dt,en,kn)}function Pd(V,se,dt){var en=se.pendingProps,kn=en.children,gr=V!==null?V.memoizedState:null;if(en.mode==="hidden")if(!(se.mode&1))se.memoizedState={baseLanes:0,cachePool:null,transitions:null},Dl(Sd,bu),bu|=dt;else{if(!(dt&1073741824))return V=gr!==null?gr.baseLanes|dt:dt,se.lanes=se.childLanes=1073741824,se.memoizedState={baseLanes:V,cachePool:null,transitions:null},se.updateQueue=null,Dl(Sd,bu),bu|=V,null;se.memoizedState={baseLanes:0,cachePool:null,transitions:null},en=gr!==null?gr.baseLanes:dt,Dl(Sd,bu),bu|=en}else gr!==null?(en=gr.baseLanes|dt,se.memoizedState=null):en=dt,Dl(Sd,bu),bu|=en;return Fl(V,se,kn,dt),se.child}function Cd(V,se){var dt=se.ref;(V===null&&dt!==null||V!==null&&V.ref!==dt)&&(se.flags|=512,se.flags|=2097152)}function xn(V,se,dt,en,kn){var gr=oc(dt)?vc:ll.current;return gr=Bl(se,gr),Ii(se,kn),dt=Zl(V,se,dt,en,gr,kn),en=Vc(),V!==null&&!Pc?(se.updateQueue=V.updateQueue,se.flags&=-2053,V.lanes&=~kn,Nr(V,se,kn)):(Ge&&en&&ur(se),se.flags|=1,Fl(V,se,dt,kn),se.child)}function $s(V,se,dt,en,kn){if(oc(dt)){var gr=!0;Eu(se)}else gr=!1;if(Ii(se,kn),se.stateNode===null)nr(V,se),Ql(se,dt,en),rd(se,dt,en,kn),en=!0;else if(V===null){var Io=se.stateNode,ma=se.memoizedProps;Io.props=ma;var Ta=Io.context,Ps=dt.contextType;typeof Ps=="object"&&Ps!==null?Ps=Xi(Ps):(Ps=oc(dt)?vc:ll.current,Ps=Bl(se,Ps));var ja=dt.getDerivedStateFromProps,mi=typeof ja=="function"||typeof Io.getSnapshotBeforeUpdate=="function";mi||typeof Io.UNSAFE_componentWillReceiveProps!="function"&&typeof Io.componentWillReceiveProps!="function"||(ma!==en||Ta!==Ps)&&gd(se,Io,en,Ps),yc=!1;var ii=se.memoizedState;Io.state=ii,Pu(se,en,Io,kn),Ta=se.memoizedState,ma!==en||ii!==Ta||el.current||yc?(typeof ja=="function"&&(nd(se,dt,ja,en),Ta=se.memoizedState),(ma=yc||Wl(se,dt,ma,en,ii,Ta,Ps))?(mi||typeof Io.UNSAFE_componentWillMount!="function"&&typeof Io.componentWillMount!="function"||(typeof Io.componentWillMount=="function"&&Io.componentWillMount(),typeof Io.UNSAFE_componentWillMount=="function"&&Io.UNSAFE_componentWillMount()),typeof Io.componentDidMount=="function"&&(se.flags|=4194308)):(typeof Io.componentDidMount=="function"&&(se.flags|=4194308),se.memoizedProps=en,se.memoizedState=Ta),Io.props=en,Io.state=Ta,Io.context=Ps,en=ma):(typeof Io.componentDidMount=="function"&&(se.flags|=4194308),en=!1)}else{Io=se.stateNode,Rd(V,se),ma=se.memoizedProps,Ps=se.type===se.elementType?ma:wa(se.type,ma),Io.props=Ps,mi=se.pendingProps,ii=Io.context,Ta=dt.contextType,typeof Ta=="object"&&Ta!==null?Ta=Xi(Ta):(Ta=oc(dt)?vc:ll.current,Ta=Bl(se,Ta));var ol=dt.getDerivedStateFromProps;(ja=typeof ol=="function"||typeof Io.getSnapshotBeforeUpdate=="function")||typeof Io.UNSAFE_componentWillReceiveProps!="function"&&typeof Io.componentWillReceiveProps!="function"||(ma!==mi||ii!==Ta)&&gd(se,Io,en,Ta),yc=!1,ii=se.memoizedState,Io.state=ii,Pu(se,en,Io,kn);var hl=se.memoizedState;ma!==mi||ii!==hl||el.current||yc?(typeof ol=="function"&&(nd(se,dt,ol,en),hl=se.memoizedState),(Ps=yc||Wl(se,dt,Ps,en,ii,hl,Ta)||!1)?(ja||typeof Io.UNSAFE_componentWillUpdate!="function"&&typeof Io.componentWillUpdate!="function"||(typeof Io.componentWillUpdate=="function"&&Io.componentWillUpdate(en,hl,Ta),typeof Io.UNSAFE_componentWillUpdate=="function"&&Io.UNSAFE_componentWillUpdate(en,hl,Ta)),typeof Io.componentDidUpdate=="function"&&(se.flags|=4),typeof Io.getSnapshotBeforeUpdate=="function"&&(se.flags|=1024)):(typeof Io.componentDidUpdate!="function"||ma===V.memoizedProps&&ii===V.memoizedState||(se.flags|=4),typeof Io.getSnapshotBeforeUpdate!="function"||ma===V.memoizedProps&&ii===V.memoizedState||(se.flags|=1024),se.memoizedProps=en,se.memoizedState=hl),Io.props=en,Io.state=hl,Io.context=Ta,en=Ps):(typeof Io.componentDidUpdate!="function"||ma===V.memoizedProps&&ii===V.memoizedState||(se.flags|=4),typeof Io.getSnapshotBeforeUpdate!="function"||ma===V.memoizedProps&&ii===V.memoizedState||(se.flags|=1024),en=!1)}return Ki(V,se,dt,en,gr,kn)}function Ki(V,se,dt,en,kn,gr){Cd(V,se);var Io=(se.flags&128)!==0;if(!en&&!Io)return kn&&Ul(se,dt,!1),Nr(V,se,gr);en=se.stateNode,Bd.current=se;var ma=Io&&typeof dt.getDerivedStateFromError!="function"?null:en.render();return se.flags|=1,V!==null&&Io?(se.child=Bc(se,V.child,null,gr),se.child=Bc(se,null,ma,gr)):Fl(V,se,ma,gr),se.memoizedState=en.state,kn&&Ul(se,dt,!0),se.child}function ru(V){var se=V.stateNode;se.pendingContext?Ll(V,se.pendingContext,se.pendingContext!==se.context):se.context&&Ll(V,se.context,!1),Dt(V,se.containerInfo)}function Zt(V,se,dt,en,kn){return va(),Ra(kn),se.flags|=256,Fl(V,se,dt,en),se.child}var Kt={dehydrated:null,treeContext:null,retryLane:0};function Sn(V){return{baseLanes:V,cachePool:null,transitions:null}}function wn(V,se,dt){var en=se.pendingProps,kn=wr.current,gr=!1,Io=(se.flags&128)!==0,ma;if((ma=Io)||(ma=V!==null&&V.memoizedState===null?!1:(kn&2)!==0),ma?(gr=!0,se.flags&=-129):(V===null||V.memoizedState!==null)&&(kn|=1),Dl(wr,kn&1),V===null)return yo(se),V=se.memoizedState,V!==null&&(V=V.dehydrated,V!==null)?(se.mode&1?V.data==="$!"?se.lanes=8:se.lanes=1073741824:se.lanes=1,null):(Io=en.children,V=en.fallback,gr?(en=se.mode,gr=se.child,Io={mode:"hidden",children:Io},!(en&1)&&gr!==null?(gr.childLanes=0,gr.pendingProps=Io):gr=Dd(Io,en,0,null),V=Td(V,en,dt,null),gr.return=se,V.return=se,gr.sibling=V,se.child=gr,se.child.memoizedState=Sn(dt),se.memoizedState=Kt,V):_r(se,Io));if(kn=V.memoizedState,kn!==null&&(ma=kn.dehydrated,ma!==null))return tt(V,se,Io,en,ma,kn,dt);if(gr){gr=en.fallback,Io=se.mode,kn=V.child,ma=kn.sibling;var Ta={mode:"hidden",children:en.children};return!(Io&1)&&se.child!==kn?(en=se.child,en.childLanes=0,en.pendingProps=Ta,se.deletions=null):(en=fu(kn,Ta),en.subtreeFlags=kn.subtreeFlags&14680064),ma!==null?gr=fu(ma,gr):(gr=Td(gr,Io,dt,null),gr.flags|=2),gr.return=se,en.return=se,en.sibling=gr,se.child=en,en=gr,gr=se.child,Io=V.child.memoizedState,Io=Io===null?Sn(dt):{baseLanes:Io.baseLanes|dt,cachePool:null,transitions:Io.transitions},gr.memoizedState=Io,gr.childLanes=V.childLanes&~dt,se.memoizedState=Kt,en}return gr=V.child,V=gr.sibling,en=fu(gr,{mode:"visible",children:en.children}),!(se.mode&1)&&(en.lanes=dt),en.return=se,en.sibling=null,V!==null&&(dt=se.deletions,dt===null?(se.deletions=[V],se.flags|=16):dt.push(V)),se.child=en,se.memoizedState=null,en}function _r(V,se){return se=Dd({mode:"visible",children:se},V.mode,0,null),se.return=V,V.child=se}function Ve(V,se,dt,en){return en!==null&&Ra(en),Bc(se,V.child,null,dt),V=_r(se,se.pendingProps.children),V.flags|=2,se.memoizedState=null,V}function tt(V,se,dt,en,kn,gr,Io){if(dt)return se.flags&256?(se.flags&=-257,en=wd(Error(n(422))),Ve(V,se,Io,en)):se.memoizedState!==null?(se.child=V.child,se.flags|=128,null):(gr=en.fallback,kn=se.mode,en=Dd({mode:"visible",children:en.children},kn,0,null),gr=Td(gr,kn,Io,null),gr.flags|=2,en.return=se,gr.return=se,en.sibling=gr,se.child=en,se.mode&1&&Bc(se,V.child,null,Io),se.child.memoizedState=Sn(Io),se.memoizedState=Kt,gr);if(!(se.mode&1))return Ve(V,se,Io,null);if(kn.data==="$!"){if(en=kn.nextSibling&&kn.nextSibling.dataset,en)var ma=en.dgst;return en=ma,gr=Error(n(419)),en=wd(gr,en,void 0),Ve(V,se,Io,en)}if(ma=(Io&V.childLanes)!==0,Pc||ma){if(en=Yu,en!==null){switch(Io&-Io){case 4:kn=2;break;case 16:kn=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:kn=32;break;case 536870912:kn=268435456;break;default:kn=0}kn=kn&(en.suspendedLanes|Io)?0:kn,kn!==0&&kn!==gr.retryLane&&(gr.retryLane=kn,Xl(V,kn),ve(en,V,kn,-1))}return Se(),en=wd(Error(n(421))),Ve(V,se,Io,en)}return kn.data==="$?"?(se.flags|=128,se.child=V.child,se=di.bind(null,V),kn._reactRetry=se,null):(V=gr.treeContext,kr=As(kn.nextSibling),Fr=se,Ge=!0,An=null,V!==null&&(ac[sc++]=Nc,ac[sc++]=Kc,ac[sc++]=wc,Nc=V.id,Kc=V.overflow,wc=se),se=_r(se,en.children),se.flags|=4096,se)}function bt(V,se,dt){V.lanes|=se;var en=V.alternate;en!==null&&(en.lanes|=se),ml(V.return,se,dt)}function an(V,se,dt,en,kn){var gr=V.memoizedState;gr===null?V.memoizedState={isBackwards:se,rendering:null,renderingStartTime:0,last:en,tail:dt,tailMode:kn}:(gr.isBackwards=se,gr.rendering=null,gr.renderingStartTime=0,gr.last=en,gr.tail=dt,gr.tailMode=kn)}function Wn(V,se,dt){var en=se.pendingProps,kn=en.revealOrder,gr=en.tail;if(Fl(V,se,en.children,dt),en=wr.current,en&2)en=en&1|2,se.flags|=128;else{if(V!==null&&V.flags&128)e:for(V=se.child;V!==null;){if(V.tag===13)V.memoizedState!==null&&bt(V,dt,se);else if(V.tag===19)bt(V,dt,se);else if(V.child!==null){V.child.return=V,V=V.child;continue}if(V===se)break e;for(;V.sibling===null;){if(V.return===null||V.return===se)break e;V=V.return}V.sibling.return=V.return,V=V.sibling}en&=1}if(Dl(wr,en),!(se.mode&1))se.memoizedState=null;else switch(kn){case"forwards":for(dt=se.child,kn=null;dt!==null;)V=dt.alternate,V!==null&&No(V)===null&&(kn=dt),dt=dt.sibling;dt=kn,dt===null?(kn=se.child,se.child=null):(kn=dt.sibling,dt.sibling=null),an(se,!1,kn,dt,gr);break;case"backwards":for(dt=null,kn=se.child,se.child=null;kn!==null;){if(V=kn.alternate,V!==null&&No(V)===null){se.child=kn;break}V=kn.sibling,kn.sibling=dt,dt=kn,kn=V}an(se,!0,dt,null,gr);break;case"together":an(se,!1,null,null,void 0);break;default:se.memoizedState=null}return se.child}function nr(V,se){!(se.mode&1)&&V!==null&&(V.alternate=null,se.alternate=null,se.flags|=2)}function Nr(V,se,dt){if(V!==null&&(se.dependencies=V.dependencies),Ff|=se.lanes,!(dt&se.childLanes))return null;if(V!==null&&se.child!==V.child)throw Error(n(153));if(se.child!==null){for(V=se.child,dt=fu(V,V.pendingProps),se.child=dt,dt.return=se;V.sibling!==null;)V=V.sibling,dt=dt.sibling=fu(V,V.pendingProps),dt.return=se;dt.sibling=null}return se.child}function to(V,se,dt){switch(se.tag){case 3:ru(se),va();break;case 5:Qn(se);break;case 1:oc(se.type)&&Eu(se);break;case 4:Dt(se,se.stateNode.containerInfo);break;case 10:var en=se.type._context,kn=se.memoizedProps.value;Dl(xa,en._currentValue),en._currentValue=kn;break;case 13:if(en=se.memoizedState,en!==null)return en.dehydrated!==null?(Dl(wr,wr.current&1),se.flags|=128,null):dt&se.child.childLanes?wn(V,se,dt):(Dl(wr,wr.current&1),V=Nr(V,se,dt),V!==null?V.sibling:null);Dl(wr,wr.current&1);break;case 19:if(en=(dt&se.childLanes)!==0,V.flags&128){if(en)return Wn(V,se,dt);se.flags|=128}if(kn=se.memoizedState,kn!==null&&(kn.rendering=null,kn.tail=null,kn.lastEffect=null),Dl(wr,wr.current),en)break;return null;case 22:case 23:return se.lanes=0,Pd(V,se,dt)}return Nr(V,se,dt)}var qo,Pa,$a,ss;qo=function(V,se){for(var dt=se.child;dt!==null;){if(dt.tag===5||dt.tag===6)V.appendChild(dt.stateNode);else if(dt.tag!==4&&dt.child!==null){dt.child.return=dt,dt=dt.child;continue}if(dt===se)break;for(;dt.sibling===null;){if(dt.return===null||dt.return===se)return;dt=dt.return}dt.sibling.return=dt.return,dt=dt.sibling}},Pa=function(){},$a=function(V,se,dt,en){var kn=V.memoizedProps;if(kn!==en){V=se.stateNode,at(Ut.current);var gr=null;switch(dt){case"input":kn=H(V,kn),en=H(V,en),gr=[];break;case"select":kn=$({},kn,{value:void 0}),en=$({},en,{value:void 0}),gr=[];break;case"textarea":kn=ye(V,kn),en=ye(V,en),gr=[];break;default:typeof kn.onClick!="function"&&typeof en.onClick=="function"&&(V.onclick=zs)}mt(dt,en);var Io;dt=null;for(Ps in kn)if(!en.hasOwnProperty(Ps)&&kn.hasOwnProperty(Ps)&&kn[Ps]!=null)if(Ps==="style"){var ma=kn[Ps];for(Io in ma)ma.hasOwnProperty(Io)&&(dt||(dt={}),dt[Io]="")}else Ps!=="dangerouslySetInnerHTML"&&Ps!=="children"&&Ps!=="suppressContentEditableWarning"&&Ps!=="suppressHydrationWarning"&&Ps!=="autoFocus"&&(i.hasOwnProperty(Ps)?gr||(gr=[]):(gr=gr||[]).push(Ps,null));for(Ps in en){var Ta=en[Ps];if(ma=kn!=null?kn[Ps]:void 0,en.hasOwnProperty(Ps)&&Ta!==ma&&(Ta!=null||ma!=null))if(Ps==="style")if(ma){for(Io in ma)!ma.hasOwnProperty(Io)||Ta&&Ta.hasOwnProperty(Io)||(dt||(dt={}),dt[Io]="");for(Io in Ta)Ta.hasOwnProperty(Io)&&ma[Io]!==Ta[Io]&&(dt||(dt={}),dt[Io]=Ta[Io])}else dt||(gr||(gr=[]),gr.push(Ps,dt)),dt=Ta;else Ps==="dangerouslySetInnerHTML"?(Ta=Ta?Ta.__html:void 0,ma=ma?ma.__html:void 0,Ta!=null&&ma!==Ta&&(gr=gr||[]).push(Ps,Ta)):Ps==="children"?typeof Ta!="string"&&typeof Ta!="number"||(gr=gr||[]).push(Ps,""+Ta):Ps!=="suppressContentEditableWarning"&&Ps!=="suppressHydrationWarning"&&(i.hasOwnProperty(Ps)?(Ta!=null&&Ps==="onScroll"&&So("scroll",V),gr||ma===Ta||(gr=[])):(gr=gr||[]).push(Ps,Ta))}dt&&(gr=gr||[]).push("style",dt);var Ps=gr;(se.updateQueue=Ps)&&(se.flags|=4)}},ss=function(V,se,dt,en){dt!==en&&(se.flags|=4)};function cs(V,se){if(!Ge)switch(V.tailMode){case"hidden":se=V.tail;for(var dt=null;se!==null;)se.alternate!==null&&(dt=se),se=se.sibling;dt===null?V.tail=null:dt.sibling=null;break;case"collapsed":dt=V.tail;for(var en=null;dt!==null;)dt.alternate!==null&&(en=dt),dt=dt.sibling;en===null?se||V.tail===null?V.tail=null:V.tail.sibling=null:en.sibling=null}}function Ns(V){var se=V.alternate!==null&&V.alternate.child===V.child,dt=0,en=0;if(se)for(var kn=V.child;kn!==null;)dt|=kn.lanes|kn.childLanes,en|=kn.subtreeFlags&14680064,en|=kn.flags&14680064,kn.return=V,kn=kn.sibling;else for(kn=V.child;kn!==null;)dt|=kn.lanes|kn.childLanes,en|=kn.subtreeFlags,en|=kn.flags,kn.return=V,kn=kn.sibling;return V.subtreeFlags|=en,V.childLanes=dt,se}function Fi(V,se,dt){var en=se.pendingProps;switch(Xr(se),se.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ns(se),null;case 1:return oc(se.type)&&Wc(),Ns(se),null;case 3:return en=se.stateNode,zt(),Cl(el),Cl(ll),Ro(),en.pendingContext&&(en.context=en.pendingContext,en.pendingContext=null),(V===null||V.child===null)&&(sa(se)?se.flags|=4:V===null||V.memoizedState.isDehydrated&&!(se.flags&256)||(se.flags|=1024,An!==null&&(hn(An),An=null))),Pa(V,se),Ns(se),null;case 5:Cr(se);var kn=at(De.current);if(dt=se.type,V!==null&&se.stateNode!=null)$a(V,se,dt,en,kn),V.ref!==se.ref&&(se.flags|=512,se.flags|=2097152);else{if(!en){if(se.stateNode===null)throw Error(n(166));return Ns(se),null}if(V=at(Ut.current),sa(se)){en=se.stateNode,dt=se.type;var gr=se.memoizedProps;switch(en[pi]=se,en[Gi]=gr,V=(se.mode&1)!==0,dt){case"dialog":So("cancel",en),So("close",en);break;case"iframe":case"object":case"embed":So("load",en);break;case"video":case"audio":for(kn=0;kn<zr.length;kn++)So(zr[kn],en);break;case"source":So("error",en);break;case"img":case"image":case"link":So("error",en),So("load",en);break;case"details":So("toggle",en);break;case"input":z(en,gr),So("invalid",en);break;case"select":en._wrapperState={wasMultiple:!!gr.multiple},So("invalid",en);break;case"textarea":Le(en,gr),So("invalid",en)}mt(dt,gr),kn=null;for(var Io in gr)if(gr.hasOwnProperty(Io)){var ma=gr[Io];Io==="children"?typeof ma=="string"?en.textContent!==ma&&(gr.suppressHydrationWarning!==!0&&Ts(en.textContent,ma,V),kn=["children",ma]):typeof ma=="number"&&en.textContent!==""+ma&&(gr.suppressHydrationWarning!==!0&&Ts(en.textContent,ma,V),kn=["children",""+ma]):i.hasOwnProperty(Io)&&ma!=null&&Io==="onScroll"&&So("scroll",en)}switch(dt){case"input":he(en),ge(en,gr,!0);break;case"textarea":he(en),Xe(en);break;case"select":case"option":break;default:typeof gr.onClick=="function"&&(en.onclick=zs)}en=kn,se.updateQueue=en,en!==null&&(se.flags|=4)}else{Io=kn.nodeType===9?kn:kn.ownerDocument,V==="http://www.w3.org/1999/xhtml"&&(V=Fe(dt)),V==="http://www.w3.org/1999/xhtml"?dt==="script"?(V=Io.createElement("div"),V.innerHTML="<script><\/script>",V=V.removeChild(V.firstChild)):typeof en.is=="string"?V=Io.createElement(dt,{is:en.is}):(V=Io.createElement(dt),dt==="select"&&(Io=V,en.multiple?Io.multiple=!0:en.size&&(Io.size=en.size))):V=Io.createElementNS(V,dt),V[pi]=se,V[Gi]=en,qo(V,se,!1,!1),se.stateNode=V;e:{switch(Io=rt(dt,en),dt){case"dialog":So("cancel",V),So("close",V),kn=en;break;case"iframe":case"object":case"embed":So("load",V),kn=en;break;case"video":case"audio":for(kn=0;kn<zr.length;kn++)So(zr[kn],V);kn=en;break;case"source":So("error",V),kn=en;break;case"img":case"image":case"link":So("error",V),So("load",V),kn=en;break;case"details":So("toggle",V),kn=en;break;case"input":z(V,en),kn=H(V,en),So("invalid",V);break;case"option":kn=en;break;case"select":V._wrapperState={wasMultiple:!!en.multiple},kn=$({},en,{value:void 0}),So("invalid",V);break;case"textarea":Le(V,en),kn=ye(V,en),So("invalid",V);break;default:kn=en}mt(dt,kn),ma=kn;for(gr in ma)if(ma.hasOwnProperty(gr)){var Ta=ma[gr];gr==="style"?Ie(V,Ta):gr==="dangerouslySetInnerHTML"?(Ta=Ta?Ta.__html:void 0,Ta!=null&&Ce(V,Ta)):gr==="children"?typeof Ta=="string"?(dt!=="textarea"||Ta!=="")&&we(V,Ta):typeof Ta=="number"&&we(V,""+Ta):gr!=="suppressContentEditableWarning"&&gr!=="suppressHydrationWarning"&&gr!=="autoFocus"&&(i.hasOwnProperty(gr)?Ta!=null&&gr==="onScroll"&&So("scroll",V):Ta!=null&&T(V,gr,Ta,Io))}switch(dt){case"input":he(V),ge(V,en,!1);break;case"textarea":he(V),Xe(V);break;case"option":en.value!=null&&V.setAttribute("value",""+J(en.value));break;case"select":V.multiple=!!en.multiple,gr=en.value,gr!=null?He(V,!!en.multiple,gr,!1):en.defaultValue!=null&&He(V,!!en.multiple,en.defaultValue,!0);break;default:typeof kn.onClick=="function"&&(V.onclick=zs)}switch(dt){case"button":case"input":case"select":case"textarea":en=!!en.autoFocus;break e;case"img":en=!0;break e;default:en=!1}}en&&(se.flags|=4)}se.ref!==null&&(se.flags|=512,se.flags|=2097152)}return Ns(se),null;case 6:if(V&&se.stateNode!=null)ss(V,se,V.memoizedProps,en);else{if(typeof en!="string"&&se.stateNode===null)throw Error(n(166));if(dt=at(De.current),at(Ut.current),sa(se)){if(en=se.stateNode,dt=se.memoizedProps,en[pi]=se,(gr=en.nodeValue!==dt)&&(V=Fr,V!==null))switch(V.tag){case 3:Ts(en.nodeValue,dt,(V.mode&1)!==0);break;case 5:V.memoizedProps.suppressHydrationWarning!==!0&&Ts(en.nodeValue,dt,(V.mode&1)!==0)}gr&&(se.flags|=4)}else en=(dt.nodeType===9?dt:dt.ownerDocument).createTextNode(en),en[pi]=se,se.stateNode=en}return Ns(se),null;case 13:if(Cl(wr),en=se.memoizedState,V===null||V.memoizedState!==null&&V.memoizedState.dehydrated!==null){if(Ge&&kr!==null&&se.mode&1&&!(se.flags&128))la(),va(),se.flags|=98560,gr=!1;else if(gr=sa(se),en!==null&&en.dehydrated!==null){if(V===null){if(!gr)throw Error(n(318));if(gr=se.memoizedState,gr=gr!==null?gr.dehydrated:null,!gr)throw Error(n(317));gr[pi]=se}else va(),!(se.flags&128)&&(se.memoizedState=null),se.flags|=4;Ns(se),gr=!1}else An!==null&&(hn(An),An=null),gr=!0;if(!gr)return se.flags&65536?se:null}return se.flags&128?(se.lanes=dt,se):(en=en!==null,en!==(V!==null&&V.memoizedState!==null)&&en&&(se.child.flags|=8192,se.mode&1&&(V===null||wr.current&1?xu===0&&(xu=3):Se())),se.updateQueue!==null&&(se.flags|=4),Ns(se),null);case 4:return zt(),Pa(V,se),V===null&&as(se.stateNode.containerInfo),Ns(se),null;case 10:return yl(se.type._context),Ns(se),null;case 17:return oc(se.type)&&Wc(),Ns(se),null;case 19:if(Cl(wr),gr=se.memoizedState,gr===null)return Ns(se),null;if(en=(se.flags&128)!==0,Io=gr.rendering,Io===null)if(en)cs(gr,!1);else{if(xu!==0||V!==null&&V.flags&128)for(V=se.child;V!==null;){if(Io=No(V),Io!==null){for(se.flags|=128,cs(gr,!1),en=Io.updateQueue,en!==null&&(se.updateQueue=en,se.flags|=4),se.subtreeFlags=0,en=dt,dt=se.child;dt!==null;)gr=dt,V=en,gr.flags&=14680066,Io=gr.alternate,Io===null?(gr.childLanes=0,gr.lanes=V,gr.child=null,gr.subtreeFlags=0,gr.memoizedProps=null,gr.memoizedState=null,gr.updateQueue=null,gr.dependencies=null,gr.stateNode=null):(gr.childLanes=Io.childLanes,gr.lanes=Io.lanes,gr.child=Io.child,gr.subtreeFlags=0,gr.deletions=null,gr.memoizedProps=Io.memoizedProps,gr.memoizedState=Io.memoizedState,gr.updateQueue=Io.updateQueue,gr.type=Io.type,V=Io.dependencies,gr.dependencies=V===null?null:{lanes:V.lanes,firstContext:V.firstContext}),dt=dt.sibling;return Dl(wr,wr.current&1|2),se.child}V=V.sibling}gr.tail!==null&&Te()>qf&&(se.flags|=128,en=!0,cs(gr,!1),se.lanes=4194304)}else{if(!en)if(V=No(Io),V!==null){if(se.flags|=128,en=!0,dt=V.updateQueue,dt!==null&&(se.updateQueue=dt,se.flags|=4),cs(gr,!0),gr.tail===null&&gr.tailMode==="hidden"&&!Io.alternate&&!Ge)return Ns(se),null}else 2*Te()-gr.renderingStartTime>qf&&dt!==1073741824&&(se.flags|=128,en=!0,cs(gr,!1),se.lanes=4194304);gr.isBackwards?(Io.sibling=se.child,se.child=Io):(dt=gr.last,dt!==null?dt.sibling=Io:se.child=Io,gr.last=Io)}return gr.tail!==null?(se=gr.tail,gr.rendering=se,gr.tail=se.sibling,gr.renderingStartTime=Te(),se.sibling=null,dt=wr.current,Dl(wr,en?dt&1|2:dt&1),se):(Ns(se),null);case 22:case 23:return vo(),en=se.memoizedState!==null,V!==null&&V.memoizedState!==null!==en&&(se.flags|=8192),en&&se.mode&1?bu&1073741824&&(Ns(se),se.subtreeFlags&6&&(se.flags|=8192)):Ns(se),null;case 24:return null;case 25:return null}throw Error(n(156,se.tag))}function xi(V,se){switch(Xr(se),se.tag){case 1:return oc(se.type)&&Wc(),V=se.flags,V&65536?(se.flags=V&-65537|128,se):null;case 3:return zt(),Cl(el),Cl(ll),Ro(),V=se.flags,V&65536&&!(V&128)?(se.flags=V&-65537|128,se):null;case 5:return Cr(se),null;case 13:if(Cl(wr),V=se.memoizedState,V!==null&&V.dehydrated!==null){if(se.alternate===null)throw Error(n(340));va()}return V=se.flags,V&65536?(se.flags=V&-65537|128,se):null;case 19:return Cl(wr),null;case 4:return zt(),null;case 10:return yl(se.type._context),null;case 22:case 23:return vo(),null;case 24:return null;default:return null}}var ni=!1,dl=!1,Ec=typeof WeakSet=="function"?WeakSet:Set,ri=null;function cc(V,se){var dt=V.ref;if(dt!==null)if(typeof dt=="function")try{dt(null)}catch(en){fa(V,se,en)}else dt.current=null}function su(V,se,dt){try{dt()}catch(en){fa(V,se,en)}}var zc=!1;function $c(V,se){if(Bi=Ea,V=ms(),Us(V)){if("selectionStart"in V)var dt={start:V.selectionStart,end:V.selectionEnd};else e:{dt=(dt=V.ownerDocument)&&dt.defaultView||window;var en=dt.getSelection&&dt.getSelection();if(en&&en.rangeCount!==0){dt=en.anchorNode;var kn=en.anchorOffset,gr=en.focusNode;en=en.focusOffset;try{dt.nodeType,gr.nodeType}catch{dt=null;break e}var Io=0,ma=-1,Ta=-1,Ps=0,ja=0,mi=V,ii=null;t:for(;;){for(var ol;mi!==dt||kn!==0&&mi.nodeType!==3||(ma=Io+kn),mi!==gr||en!==0&&mi.nodeType!==3||(Ta=Io+en),mi.nodeType===3&&(Io+=mi.nodeValue.length),(ol=mi.firstChild)!==null;)ii=mi,mi=ol;for(;;){if(mi===V)break t;if(ii===dt&&++Ps===kn&&(ma=Io),ii===gr&&++ja===en&&(Ta=Io),(ol=mi.nextSibling)!==null)break;mi=ii,ii=mi.parentNode}mi=ol}dt=ma===-1||Ta===-1?null:{start:ma,end:Ta}}else dt=null}dt=dt||{start:0,end:0}}else dt=null;for(qs={focusedElem:V,selectionRange:dt},Ea=!1,ri=se;ri!==null;)if(se=ri,V=se.child,(se.subtreeFlags&1028)!==0&&V!==null)V.return=se,ri=V;else for(;ri!==null;){se=ri;try{var hl=se.alternate;if(se.flags&1024)switch(se.tag){case 0:case 11:case 15:break;case 1:if(hl!==null){var gl=hl.memoizedProps,Iu=hl.memoizedState,Wa=se.stateNode,Fa=Wa.getSnapshotBeforeUpdate(se.elementType===se.type?gl:wa(se.type,gl),Iu);Wa.__reactInternalSnapshotBeforeUpdate=Fa}break;case 3:var gs=se.stateNode.containerInfo;gs.nodeType===1?gs.textContent="":gs.nodeType===9&&gs.documentElement&&gs.removeChild(gs.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Ci){fa(se,se.return,Ci)}if(V=se.sibling,V!==null){V.return=se.return,ri=V;break}ri=se.return}return hl=zc,zc=!1,hl}function Ad(V,se,dt){var en=se.updateQueue;if(en=en!==null?en.lastEffect:null,en!==null){var kn=en=en.next;do{if((kn.tag&V)===V){var gr=kn.destroy;kn.destroy=void 0,gr!==void 0&&su(se,dt,gr)}kn=kn.next}while(kn!==en)}}function df(V,se){if(se=se.updateQueue,se=se!==null?se.lastEffect:null,se!==null){var dt=se=se.next;do{if((dt.tag&V)===V){var en=dt.create;dt.destroy=en()}dt=dt.next}while(dt!==se)}}function $d(V){var se=V.ref;if(se!==null){var dt=V.stateNode;switch(V.tag){case 5:V=dt;break;default:V=dt}typeof se=="function"?se(V):se.current=V}}function ff(V){var se=V.alternate;se!==null&&(V.alternate=null,ff(se)),V.child=null,V.deletions=null,V.sibling=null,V.tag===5&&(se=V.stateNode,se!==null&&(delete se[pi],delete se[Gi],delete se[_l],delete se[Al],delete se[Pl])),V.stateNode=null,V.return=null,V.dependencies=null,V.memoizedProps=null,V.memoizedState=null,V.pendingProps=null,V.stateNode=null,V.updateQueue=null}function bd(V){return V.tag===5||V.tag===3||V.tag===4}function gf(V){e:for(;;){for(;V.sibling===null;){if(V.return===null||bd(V.return))return null;V=V.return}for(V.sibling.return=V.return,V=V.sibling;V.tag!==5&&V.tag!==6&&V.tag!==18;){if(V.flags&2||V.child===null||V.tag===4)continue e;V.child.return=V,V=V.child}if(!(V.flags&2))return V.stateNode}}function Ku(V,se,dt){var en=V.tag;if(en===5||en===6)V=V.stateNode,se?dt.nodeType===8?dt.parentNode.insertBefore(V,se):dt.insertBefore(V,se):(dt.nodeType===8?(se=dt.parentNode,se.insertBefore(V,dt)):(se=dt,se.appendChild(V)),dt=dt._reactRootContainer,dt!=null||se.onclick!==null||(se.onclick=zs));else if(en!==4&&(V=V.child,V!==null))for(Ku(V,se,dt),V=V.sibling;V!==null;)Ku(V,se,dt),V=V.sibling}function ef(V,se,dt){var en=V.tag;if(en===5||en===6)V=V.stateNode,se?dt.insertBefore(V,se):dt.appendChild(V);else if(en!==4&&(V=V.child,V!==null))for(ef(V,se,dt),V=V.sibling;V!==null;)ef(V,se,dt),V=V.sibling}var Gc=null,Xu=!1;function tf(V,se,dt){for(dt=dt.child;dt!==null;)$f(V,se,dt),dt=dt.sibling}function $f(V,se,dt){if(Ae&&typeof Ae.onCommitFiberUnmount=="function")try{Ae.onCommitFiberUnmount(xe,dt)}catch{}switch(dt.tag){case 5:dl||cc(dt,se);case 6:var en=Gc,kn=Xu;Gc=null,tf(V,se,dt),Gc=en,Xu=kn,Gc!==null&&(Xu?(V=Gc,dt=dt.stateNode,V.nodeType===8?V.parentNode.removeChild(dt):V.removeChild(dt)):Gc.removeChild(dt.stateNode));break;case 18:Gc!==null&&(Xu?(V=Gc,dt=dt.stateNode,V.nodeType===8?ca(V.parentNode,dt):V.nodeType===1&&ca(V,dt),Ho(V)):ca(Gc,dt.stateNode));break;case 4:en=Gc,kn=Xu,Gc=dt.stateNode.containerInfo,Xu=!0,tf(V,se,dt),Gc=en,Xu=kn;break;case 0:case 11:case 14:case 15:if(!dl&&(en=dt.updateQueue,en!==null&&(en=en.lastEffect,en!==null))){kn=en=en.next;do{var gr=kn,Io=gr.destroy;gr=gr.tag,Io!==void 0&&(gr&2||gr&4)&&su(dt,se,Io),kn=kn.next}while(kn!==en)}tf(V,se,dt);break;case 1:if(!dl&&(cc(dt,se),en=dt.stateNode,typeof en.componentWillUnmount=="function"))try{en.props=dt.memoizedProps,en.state=dt.memoizedState,en.componentWillUnmount()}catch(ma){fa(dt,se,ma)}tf(V,se,dt);break;case 21:tf(V,se,dt);break;case 22:dt.mode&1?(dl=(en=dl)||dt.memoizedState!==null,tf(V,se,dt),dl=en):tf(V,se,dt);break;default:tf(V,se,dt)}}function pd(V){var se=V.updateQueue;if(se!==null){V.updateQueue=null;var dt=V.stateNode;dt===null&&(dt=V.stateNode=new Ec),se.forEach(function(en){var kn=Xs.bind(null,V,en);dt.has(en)||(dt.add(en),en.then(kn,kn))})}}function id(V,se){var dt=se.deletions;if(dt!==null)for(var en=0;en<dt.length;en++){var kn=dt[en];try{var gr=V,Io=se,ma=Io;e:for(;ma!==null;){switch(ma.tag){case 5:Gc=ma.stateNode,Xu=!1;break e;case 3:Gc=ma.stateNode.containerInfo,Xu=!0;break e;case 4:Gc=ma.stateNode.containerInfo,Xu=!0;break e}ma=ma.return}if(Gc===null)throw Error(n(160));$f(gr,Io,kn),Gc=null,Xu=!1;var Ta=kn.alternate;Ta!==null&&(Ta.return=null),kn.return=null}catch(Ps){fa(kn,se,Ps)}}if(se.subtreeFlags&12854)for(se=se.child;se!==null;)Ef(se,V),se=se.sibling}function Ef(V,se){var dt=V.alternate,en=V.flags;switch(V.tag){case 0:case 11:case 14:case 15:if(id(se,V),du(V),en&4){try{Ad(3,V,V.return),df(3,V)}catch(gl){fa(V,V.return,gl)}try{Ad(5,V,V.return)}catch(gl){fa(V,V.return,gl)}}break;case 1:id(se,V),du(V),en&512&&dt!==null&&cc(dt,dt.return);break;case 5:if(id(se,V),du(V),en&512&&dt!==null&&cc(dt,dt.return),V.flags&32){var kn=V.stateNode;try{we(kn,"")}catch(gl){fa(V,V.return,gl)}}if(en&4&&(kn=V.stateNode,kn!=null)){var gr=V.memoizedProps,Io=dt!==null?dt.memoizedProps:gr,ma=V.type,Ta=V.updateQueue;if(V.updateQueue=null,Ta!==null)try{ma==="input"&&gr.type==="radio"&&gr.name!=null&&_e(kn,gr),rt(ma,Io);var Ps=rt(ma,gr);for(Io=0;Io<Ta.length;Io+=2){var ja=Ta[Io],mi=Ta[Io+1];ja==="style"?Ie(kn,mi):ja==="dangerouslySetInnerHTML"?Ce(kn,mi):ja==="children"?we(kn,mi):T(kn,ja,mi,Ps)}switch(ma){case"input":ae(kn,gr);break;case"textarea":Ue(kn,gr);break;case"select":var ii=kn._wrapperState.wasMultiple;kn._wrapperState.wasMultiple=!!gr.multiple;var ol=gr.value;ol!=null?He(kn,!!gr.multiple,ol,!1):ii!==!!gr.multiple&&(gr.defaultValue!=null?He(kn,!!gr.multiple,gr.defaultValue,!0):He(kn,!!gr.multiple,gr.multiple?[]:"",!1))}kn[Gi]=gr}catch(gl){fa(V,V.return,gl)}}break;case 6:if(id(se,V),du(V),en&4){if(V.stateNode===null)throw Error(n(162));kn=V.stateNode,gr=V.memoizedProps;try{kn.nodeValue=gr}catch(gl){fa(V,V.return,gl)}}break;case 3:if(id(se,V),du(V),en&4&&dt!==null&&dt.memoizedState.isDehydrated)try{Ho(se.containerInfo)}catch(gl){fa(V,V.return,gl)}break;case 4:id(se,V),du(V);break;case 13:id(se,V),du(V),kn=V.child,kn.flags&8192&&(gr=kn.memoizedState!==null,kn.stateNode.isHidden=gr,!gr||kn.alternate!==null&&kn.alternate.memoizedState!==null||(yf=Te())),en&4&&pd(V);break;case 22:if(ja=dt!==null&&dt.memoizedState!==null,V.mode&1?(dl=(Ps=dl)||ja,id(se,V),dl=Ps):id(se,V),du(V),en&8192){if(Ps=V.memoizedState!==null,(V.stateNode.isHidden=Ps)&&!ja&&V.mode&1)for(ri=V,ja=V.child;ja!==null;){for(mi=ri=ja;ri!==null;){switch(ii=ri,ol=ii.child,ii.tag){case 0:case 11:case 14:case 15:Ad(4,ii,ii.return);break;case 1:cc(ii,ii.return);var hl=ii.stateNode;if(typeof hl.componentWillUnmount=="function"){en=ii,dt=ii.return;try{se=en,hl.props=se.memoizedProps,hl.state=se.memoizedState,hl.componentWillUnmount()}catch(gl){fa(en,dt,gl)}}break;case 5:cc(ii,ii.return);break;case 22:if(ii.memoizedState!==null){Xf(mi);continue}}ol!==null?(ol.return=ii,ri=ol):Xf(mi)}ja=ja.sibling}e:for(ja=null,mi=V;;){if(mi.tag===5){if(ja===null){ja=mi;try{kn=mi.stateNode,Ps?(gr=kn.style,typeof gr.setProperty=="function"?gr.setProperty("display","none","important"):gr.display="none"):(ma=mi.stateNode,Ta=mi.memoizedProps.style,Io=Ta!=null&&Ta.hasOwnProperty("display")?Ta.display:null,ma.style.display=Pt("display",Io))}catch(gl){fa(V,V.return,gl)}}}else if(mi.tag===6){if(ja===null)try{mi.stateNode.nodeValue=Ps?"":mi.memoizedProps}catch(gl){fa(V,V.return,gl)}}else if((mi.tag!==22&&mi.tag!==23||mi.memoizedState===null||mi===V)&&mi.child!==null){mi.child.return=mi,mi=mi.child;continue}if(mi===V)break e;for(;mi.sibling===null;){if(mi.return===null||mi.return===V)break e;ja===mi&&(ja=null),mi=mi.return}ja===mi&&(ja=null),mi.sibling.return=mi.return,mi=mi.sibling}}break;case 19:id(se,V),du(V),en&4&&pd(V);break;case 21:break;default:id(se,V),du(V)}}function du(V){var se=V.flags;if(se&2){try{e:{for(var dt=V.return;dt!==null;){if(bd(dt)){var en=dt;break e}dt=dt.return}throw Error(n(160))}switch(en.tag){case 5:var kn=en.stateNode;en.flags&32&&(we(kn,""),en.flags&=-33);var gr=gf(V);ef(V,gr,kn);break;case 3:case 4:var Io=en.stateNode.containerInfo,ma=gf(V);Ku(V,ma,Io);break;default:throw Error(n(161))}}catch(Ta){fa(V,V.return,Ta)}V.flags&=-3}se&4096&&(V.flags&=-4097)}function md(V,se,dt){ri=V,ph(V,se,dt)}function ph(V,se,dt){for(var en=(V.mode&1)!==0;ri!==null;){var kn=ri,gr=kn.child;if(kn.tag===22&&en){var Io=kn.memoizedState!==null||ni;if(!Io){var ma=kn.alternate,Ta=ma!==null&&ma.memoizedState!==null||dl;ma=ni;var Ps=dl;if(ni=Io,(dl=Ta)&&!Ps)for(ri=kn;ri!==null;)Io=ri,Ta=Io.child,Io.tag===22&&Io.memoizedState!==null?_f(kn):Ta!==null?(Ta.return=Io,ri=Ta):_f(kn);for(;gr!==null;)ri=gr,ph(gr,se,dt),gr=gr.sibling;ri=kn,ni=ma,dl=Ps}Uf(V,se,dt)}else kn.subtreeFlags&8772&&gr!==null?(gr.return=kn,ri=gr):Uf(V,se,dt)}}function Uf(V){for(;ri!==null;){var se=ri;if(se.flags&8772){var dt=se.alternate;try{if(se.flags&8772)switch(se.tag){case 0:case 11:case 15:dl||df(5,se);break;case 1:var en=se.stateNode;if(se.flags&4&&!dl)if(dt===null)en.componentDidMount();else{var kn=se.elementType===se.type?dt.memoizedProps:wa(se.type,dt.memoizedProps);en.componentDidUpdate(kn,dt.memoizedState,en.__reactInternalSnapshotBeforeUpdate)}var gr=se.updateQueue;gr!==null&&Oc(se,gr,en);break;case 3:var Io=se.updateQueue;if(Io!==null){if(dt=null,se.child!==null)switch(se.child.tag){case 5:dt=se.child.stateNode;break;case 1:dt=se.child.stateNode}Oc(se,Io,dt)}break;case 5:var ma=se.stateNode;if(dt===null&&se.flags&4){dt=ma;var Ta=se.memoizedProps;switch(se.type){case"button":case"input":case"select":case"textarea":Ta.autoFocus&&dt.focus();break;case"img":Ta.src&&(dt.src=Ta.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(se.memoizedState===null){var Ps=se.alternate;if(Ps!==null){var ja=Ps.memoizedState;if(ja!==null){var mi=ja.dehydrated;mi!==null&&Ho(mi)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}dl||se.flags&512&&$d(se)}catch(ii){fa(se,se.return,ii)}}if(se===V){ri=null;break}if(dt=se.sibling,dt!==null){dt.return=se.return,ri=dt;break}ri=se.return}}function Xf(V){for(;ri!==null;){var se=ri;if(se===V){ri=null;break}var dt=se.sibling;if(dt!==null){dt.return=se.return,ri=dt;break}ri=se.return}}function _f(V){for(;ri!==null;){var se=ri;try{switch(se.tag){case 0:case 11:case 15:var dt=se.return;try{df(4,se)}catch(Ta){fa(se,dt,Ta)}break;case 1:var en=se.stateNode;if(typeof en.componentDidMount=="function"){var kn=se.return;try{en.componentDidMount()}catch(Ta){fa(se,kn,Ta)}}var gr=se.return;try{$d(se)}catch(Ta){fa(se,gr,Ta)}break;case 5:var Io=se.return;try{$d(se)}catch(Ta){fa(se,Io,Ta)}}}catch(Ta){fa(se,se.return,Ta)}if(se===V){ri=null;break}var ma=se.sibling;if(ma!==null){ma.return=se.return,ri=ma;break}ri=se.return}}var jd=Math.ceil,Yf=s.ReactCurrentDispatcher,Tf=s.ReactCurrentOwner,mu=s.ReactCurrentBatchConfig,fc=0,Yu=null,Du=null,Qu=0,bu=0,Sd=Hl(0),xu=0,Xc=null,Ff=0,Qf=0,Jf=0,Df=null,vd=null,yf=0,qf=1/0,Su=null,If=!1,ku=null,wu=null,Wf=!1,hf=null,eh=0,Of=0,sh=null,Et=-1,D=0;function N(){return fc&6?Te():Et!==-1?Et:Et=Te()}function Z(V){return V.mode&1?fc&2&&Qu!==0?Qu&-Qu:Ya.transition!==null?(D===0&&(D=sr()),D):(V=eo,V!==0||(V=window.event,V=V===void 0?16:ns(V.type)),V):1}function ve(V,se,dt,en){if(50<Of)throw Of=0,sh=null,Error(n(185));vr(V,dt,en),(!(fc&2)||V!==Yu)&&(V===Yu&&(!(fc&2)&&(Qf|=dt),xu===4&&Xn(V,Qu)),je(V,en),dt===1&&fc===0&&!(se.mode&1)&&(qf=Te()+500,Sc&&ec()))}function je(V,se){var dt=V.callbackNode;Pr(V,se);var en=Sr(V,V===Yu?Qu:0);if(en===0)dt!==null&&xt(dt),V.callbackNode=null,V.callbackPriority=0;else if(se=en&-en,V.callbackPriority!==se){if(dt!=null&&xt(dt),se===1)V.tag===0?dc(pr.bind(null,V)):Mu(pr.bind(null,V)),Ur(function(){!(fc&6)&&ec()}),dt=null;else{switch(Vo(en)){case 1:dt=un;break;case 4:dt=Vt;break;case 16:dt=Dn;break;case 536870912:dt=Pe;break;default:dt=Dn}dt=js(dt,pt.bind(null,V))}V.callbackPriority=se,V.callbackNode=dt}}function pt(V,se){if(Et=-1,D=0,fc&6)throw Error(n(327));var dt=V.callbackNode;if(Po()&&V.callbackNode!==dt)return null;var en=Sr(V,V===Yu?Qu:0);if(en===0)return null;if(en&30||en&V.expiredLanes||se)se=de(V,en);else{se=en;var kn=fc;fc|=2;var gr=pa();(Yu!==V||Qu!==se)&&(Su=null,qf=Te()+500,Fo(V,se));do try{_t();break}catch(ma){Go(V,ma)}while(!0);ai(),Yf.current=gr,fc=kn,Du!==null?se=0:(Yu=null,Qu=0,se=xu)}if(se!==0){if(se===2&&(kn=Mn(V),kn!==0&&(en=kn,se=Nt(V,kn))),se===1)throw dt=Xc,Fo(V,0),Xn(V,en),je(V,Te()),dt;if(se===6)Xn(V,en);else{if(kn=V.current.alternate,!(en&30)&&!gn(kn)&&(se=de(V,en),se===2&&(gr=Mn(V),gr!==0&&(en=gr,se=Nt(V,gr))),se===1))throw dt=Xc,Fo(V,0),Xn(V,en),je(V,Te()),dt;switch(V.finishedWork=kn,V.finishedLanes=en,se){case 0:case 1:throw Error(n(345));case 2:cr(V,vd,Su);break;case 3:if(Xn(V,en),(en&130023424)===en&&(se=yf+500-Te(),10<se)){if(Sr(V,0)!==0)break;if(kn=V.suspendedLanes,(kn&en)!==en){N(),V.pingedLanes|=V.suspendedLanes&kn;break}V.timeoutHandle=ui(cr.bind(null,V,vd,Su),se);break}cr(V,vd,Su);break;case 4:if(Xn(V,en),(en&4194240)===en)break;for(se=V.eventTimes,kn=-1;0<en;){var Io=31-wt(en);gr=1<<Io,Io=se[Io],Io>kn&&(kn=Io),en&=~gr}if(en=kn,en=Te()-en,en=(120>en?120:480>en?480:1080>en?1080:1920>en?1920:3e3>en?3e3:4320>en?4320:1960*jd(en/1960))-en,10<en){V.timeoutHandle=ui(cr.bind(null,V,vd,Su),en);break}cr(V,vd,Su);break;case 5:cr(V,vd,Su);break;default:throw Error(n(329))}}}return je(V,Te()),V.callbackNode===dt?pt.bind(null,V):null}function Nt(V,se){var dt=Df;return V.current.memoizedState.isDehydrated&&(Fo(V,se).flags|=256),V=de(V,se),V!==2&&(se=vd,vd=dt,se!==null&&hn(se)),V}function hn(V){vd===null?vd=V:vd.push.apply(vd,V)}function gn(V){for(var se=V;;){if(se.flags&16384){var dt=se.updateQueue;if(dt!==null&&(dt=dt.stores,dt!==null))for(var en=0;en<dt.length;en++){var kn=dt[en],gr=kn.getSnapshot;kn=kn.value;try{if(!wo(gr(),kn))return!1}catch{return!1}}}if(dt=se.child,se.subtreeFlags&16384&&dt!==null)dt.return=se,se=dt;else{if(se===V)break;for(;se.sibling===null;){if(se.return===null||se.return===V)return!0;se=se.return}se.sibling.return=se.return,se=se.sibling}}return!0}function Xn(V,se){for(se&=~Jf,se&=~Qf,V.suspendedLanes|=se,V.pingedLanes&=~se,V=V.expirationTimes;0<se;){var dt=31-wt(se),en=1<<dt;V[dt]=-1,se&=~en}}function pr(V){if(fc&6)throw Error(n(327));Po();var se=Sr(V,0);if(!(se&1))return je(V,Te()),null;var dt=de(V,se);if(V.tag!==0&&dt===2){var en=Mn(V);en!==0&&(se=en,dt=Nt(V,en))}if(dt===1)throw dt=Xc,Fo(V,0),Xn(V,se),je(V,Te()),dt;if(dt===6)throw Error(n(345));return V.finishedWork=V.current.alternate,V.finishedLanes=se,cr(V,vd,Su),je(V,Te()),null}function Zr(V,se){var dt=fc;fc|=1;try{return V(se)}finally{fc=dt,fc===0&&(qf=Te()+500,Sc&&ec())}}function oo(V){hf!==null&&hf.tag===0&&!(fc&6)&&Po();var se=fc;fc|=1;var dt=mu.transition,en=eo;try{if(mu.transition=null,eo=1,V)return V()}finally{eo=en,mu.transition=dt,fc=se,!(fc&6)&&ec()}}function vo(){bu=Sd.current,Cl(Sd)}function Fo(V,se){V.finishedWork=null,V.finishedLanes=0;var dt=V.timeoutHandle;if(dt!==-1&&(V.timeoutHandle=-1,qi(dt)),Du!==null)for(dt=Du.return;dt!==null;){var en=dt;switch(Xr(en),en.tag){case 1:en=en.type.childContextTypes,en!=null&&Wc();break;case 3:zt(),Cl(el),Cl(ll),Ro();break;case 5:Cr(en);break;case 4:zt();break;case 13:Cl(wr);break;case 19:Cl(wr);break;case 10:yl(en.type._context);break;case 22:case 23:vo()}dt=dt.return}if(Yu=V,Du=V=fu(V.current,null),Qu=bu=se,xu=0,Xc=null,Jf=Qf=Ff=0,vd=Df=null,zi!==null){for(se=0;se<zi.length;se++)if(dt=zi[se],en=dt.interleaved,en!==null){dt.interleaved=null;var kn=en.next,gr=dt.pending;if(gr!==null){var Io=gr.next;gr.next=kn,en.next=Io}dt.pending=en}zi=null}return V}function Go(V,se){do{var dt=Du;try{if(ai(),Qo.current=Wu,fi){for(var en=ls.memoizedState;en!==null;){var kn=en.queue;kn!==null&&(kn.pending=null),en=en.next}fi=!1}if(Ca=0,Es=vs=ls=null,Bo=!1,Hi=0,Tf.current=null,dt===null||dt.return===null){xu=1,Xc=se,Du=null;break}e:{var gr=V,Io=dt.return,ma=dt,Ta=se;if(se=Qu,ma.flags|=32768,Ta!==null&&typeof Ta=="object"&&typeof Ta.then=="function"){var Ps=Ta,ja=ma,mi=ja.tag;if(!(ja.mode&1)&&(mi===0||mi===11||mi===15)){var ii=ja.alternate;ii?(ja.updateQueue=ii.updateQueue,ja.memoizedState=ii.memoizedState,ja.lanes=ii.lanes):(ja.updateQueue=null,ja.memoizedState=null)}var ol=$u(Io);if(ol!==null){ol.flags&=-257,Nd(ol,Io,ma,gr,se),ol.mode&1&&uf(gr,Ps,se),se=ol,Ta=Ps;var hl=se.updateQueue;if(hl===null){var gl=new Set;gl.add(Ta),se.updateQueue=gl}else hl.add(Ta);break e}else{if(!(se&1)){uf(gr,Ps,se),Se();break e}Ta=Error(n(426))}}else if(Ge&&ma.mode&1){var Iu=$u(Io);if(Iu!==null){!(Iu.flags&65536)&&(Iu.flags|=256),Nd(Iu,Io,ma,gr,se),Ra(xd(Ta,ma));break e}}gr=Ta=xd(Ta,ma),xu!==4&&(xu=2),Df===null?Df=[gr]:Df.push(gr),gr=Io;do{switch(gr.tag){case 3:gr.flags|=65536,se&=-se,gr.lanes|=se;var Wa=sd(gr,Ta,se);Ru(gr,Wa);break e;case 1:ma=Ta;var Fa=gr.type,gs=gr.stateNode;if(!(gr.flags&128)&&(typeof Fa.getDerivedStateFromError=="function"||gs!==null&&typeof gs.componentDidCatch=="function"&&(wu===null||!wu.has(gs)))){gr.flags|=65536,se&=-se,gr.lanes|=se;var Ci=cf(gr,ma,se);Ru(gr,Ci);break e}}gr=gr.return}while(gr!==null)}vn(dt)}catch(Ol){se=Ol,Du===dt&&dt!==null&&(Du=dt=dt.return);continue}break}while(!0)}function pa(){var V=Yf.current;return Yf.current=Wu,V===null?Wu:V}function Se(){(xu===0||xu===3||xu===2)&&(xu=4),Yu===null||!(Ff&268435455)&&!(Qf&268435455)||Xn(Yu,Qu)}function de(V,se){var dt=fc;fc|=2;var en=pa();(Yu!==V||Qu!==se)&&(Su=null,Fo(V,se));do try{We();break}catch(kn){Go(V,kn)}while(!0);if(ai(),fc=dt,Yf.current=en,Du!==null)throw Error(n(261));return Yu=null,Qu=0,xu}function We(){for(;Du!==null;)nn(Du)}function _t(){for(;Du!==null&&!Qt();)nn(Du)}function nn(V){var se=_i(V.alternate,V,bu);V.memoizedProps=V.pendingProps,se===null?vn(V):Du=se,Tf.current=null}function vn(V){var se=V;do{var dt=se.alternate;if(V=se.return,se.flags&32768){if(dt=xi(dt,se),dt!==null){dt.flags&=32767,Du=dt;return}if(V!==null)V.flags|=32768,V.subtreeFlags=0,V.deletions=null;else{xu=6,Du=null;return}}else if(dt=Fi(dt,se,bu),dt!==null){Du=dt;return}if(se=se.sibling,se!==null){Du=se;return}Du=se=V}while(se!==null);xu===0&&(xu=5)}function cr(V,se,dt){var en=eo,kn=mu.transition;try{mu.transition=null,eo=1,lo(V,se,dt,en)}finally{mu.transition=kn,eo=en}return null}function lo(V,se,dt,en){do Po();while(hf!==null);if(fc&6)throw Error(n(327));dt=V.finishedWork;var kn=V.finishedLanes;if(dt===null)return null;if(V.finishedWork=null,V.finishedLanes=0,dt===V.current)throw Error(n(177));V.callbackNode=null,V.callbackPriority=0;var gr=dt.lanes|dt.childLanes;if(qr(V,gr),V===Yu&&(Du=Yu=null,Qu=0),!(dt.subtreeFlags&2064)&&!(dt.flags&2064)||Wf||(Wf=!0,js(Dn,function(){return Po(),null})),gr=(dt.flags&15990)!==0,dt.subtreeFlags&15990||gr){gr=mu.transition,mu.transition=null;var Io=eo;eo=1;var ma=fc;fc|=4,Tf.current=null,$c(V,dt),Ef(dt,V),$i(qs),Ea=!!Bi,qs=Bi=null,V.current=dt,md(dt,V,kn),qt(),fc=ma,eo=Io,mu.transition=gr}else V.current=dt;if(Wf&&(Wf=!1,hf=V,eh=kn),gr=V.pendingLanes,gr===0&&(wu=null),qe(dt.stateNode,en),je(V,Te()),se!==null)for(en=V.onRecoverableError,dt=0;dt<se.length;dt++)kn=se[dt],en(kn.value,{componentStack:kn.stack,digest:kn.digest});if(If)throw If=!1,V=ku,ku=null,V;return eh&1&&V.tag!==0&&Po(),gr=V.pendingLanes,gr&1?V===sh?Of++:(Of=0,sh=V):Of=0,ec(),null}function Po(){if(hf!==null){var V=Vo(eh),se=mu.transition,dt=eo;try{if(mu.transition=null,eo=16>V?16:V,hf===null)var en=!1;else{if(V=hf,hf=null,eh=0,fc&6)throw Error(n(331));var kn=fc;for(fc|=4,ri=V.current;ri!==null;){var gr=ri,Io=gr.child;if(ri.flags&16){var ma=gr.deletions;if(ma!==null){for(var Ta=0;Ta<ma.length;Ta++){var Ps=ma[Ta];for(ri=Ps;ri!==null;){var ja=ri;switch(ja.tag){case 0:case 11:case 15:Ad(8,ja,gr)}var mi=ja.child;if(mi!==null)mi.return=ja,ri=mi;else for(;ri!==null;){ja=ri;var ii=ja.sibling,ol=ja.return;if(ff(ja),ja===Ps){ri=null;break}if(ii!==null){ii.return=ol,ri=ii;break}ri=ol}}}var hl=gr.alternate;if(hl!==null){var gl=hl.child;if(gl!==null){hl.child=null;do{var Iu=gl.sibling;gl.sibling=null,gl=Iu}while(gl!==null)}}ri=gr}}if(gr.subtreeFlags&2064&&Io!==null)Io.return=gr,ri=Io;else e:for(;ri!==null;){if(gr=ri,gr.flags&2048)switch(gr.tag){case 0:case 11:case 15:Ad(9,gr,gr.return)}var Wa=gr.sibling;if(Wa!==null){Wa.return=gr.return,ri=Wa;break e}ri=gr.return}}var Fa=V.current;for(ri=Fa;ri!==null;){Io=ri;var gs=Io.child;if(Io.subtreeFlags&2064&&gs!==null)gs.return=Io,ri=gs;else e:for(Io=Fa;ri!==null;){if(ma=ri,ma.flags&2048)try{switch(ma.tag){case 0:case 11:case 15:df(9,ma)}}catch(Ol){fa(ma,ma.return,Ol)}if(ma===Io){ri=null;break e}var Ci=ma.sibling;if(Ci!==null){Ci.return=ma.return,ri=Ci;break e}ri=ma.return}}if(fc=kn,ec(),Ae&&typeof Ae.onPostCommitFiberRoot=="function")try{Ae.onPostCommitFiberRoot(xe,V)}catch{}en=!0}return en}finally{eo=dt,mu.transition=se}}return!1}function oa(V,se,dt){se=xd(dt,se),se=sd(V,se,1),V=td(V,se,1),se=N(),V!==null&&(vr(V,1,se),je(V,se))}function fa(V,se,dt){if(V.tag===3)oa(V,V,dt);else for(;se!==null;){if(se.tag===3){oa(se,V,dt);break}else if(se.tag===1){var en=se.stateNode;if(typeof se.type.getDerivedStateFromError=="function"||typeof en.componentDidCatch=="function"&&(wu===null||!wu.has(en))){V=xd(dt,V),V=cf(se,V,1),se=td(se,V,1),V=N(),se!==null&&(vr(se,1,V),je(se,V));break}}se=se.return}}function Va(V,se,dt){var en=V.pingCache;en!==null&&en.delete(se),se=N(),V.pingedLanes|=V.suspendedLanes&dt,Yu===V&&(Qu&dt)===dt&&(xu===4||xu===3&&(Qu&130023424)===Qu&&500>Te()-yf?Fo(V,0):Jf|=dt),je(V,se)}function ci(V,se){se===0&&(V.mode&1?(se=In,In<<=1,!(In&130023424)&&(In=4194304)):se=1);var dt=N();V=Xl(V,se),V!==null&&(vr(V,se,dt),je(V,dt))}function di(V){var se=V.memoizedState,dt=0;se!==null&&(dt=se.retryLane),ci(V,dt)}function Xs(V,se){var dt=0;switch(V.tag){case 13:var en=V.stateNode,kn=V.memoizedState;kn!==null&&(dt=kn.retryLane);break;case 19:en=V.stateNode;break;default:throw Error(n(314))}en!==null&&en.delete(se),ci(V,dt)}var _i;_i=function(V,se,dt){if(V!==null)if(V.memoizedProps!==se.pendingProps||el.current)Pc=!0;else{if(!(V.lanes&dt)&&!(se.flags&128))return Pc=!1,to(V,se,dt);Pc=!!(V.flags&131072)}else Pc=!1,Ge&&se.flags&1048576&&ou(se,Tc,se.index);switch(se.lanes=0,se.tag){case 2:var en=se.type;nr(V,se),V=se.pendingProps;var kn=Bl(se,ll.current);Ii(se,dt),kn=Zl(null,se,en,V,kn,dt);var gr=Vc();return se.flags|=1,typeof kn=="object"&&kn!==null&&typeof kn.render=="function"&&kn.$$typeof===void 0?(se.tag=1,se.memoizedState=null,se.updateQueue=null,oc(en)?(gr=!0,Eu(se)):gr=!1,se.memoizedState=kn.state!==null&&kn.state!==void 0?kn.state:null,Zc(se),kn.updater=ld,se.stateNode=kn,kn._reactInternals=se,rd(se,en,V,dt),se=Ki(null,se,en,!0,gr,dt)):(se.tag=0,Ge&&gr&&ur(se),Fl(null,se,kn,dt),se=se.child),se;case 16:en=se.elementType;e:{switch(nr(V,se),V=se.pendingProps,kn=en._init,en=kn(en._payload),se.type=en,kn=se.tag=Cc(en),V=wa(en,V),kn){case 0:se=xn(null,se,en,V,dt);break e;case 1:se=$s(null,se,en,V,dt);break e;case 11:se=Gd(null,se,en,V,dt);break e;case 14:se=hd(null,se,en,wa(en.type,V),dt);break e}throw Error(n(306,en,""))}return se;case 0:return en=se.type,kn=se.pendingProps,kn=se.elementType===en?kn:wa(en,kn),xn(V,se,en,kn,dt);case 1:return en=se.type,kn=se.pendingProps,kn=se.elementType===en?kn:wa(en,kn),$s(V,se,en,kn,dt);case 3:e:{if(ru(se),V===null)throw Error(n(387));en=se.pendingProps,gr=se.memoizedState,kn=gr.element,Rd(V,se),Pu(se,en,null,dt);var Io=se.memoizedState;if(en=Io.element,gr.isDehydrated)if(gr={element:en,isDehydrated:!1,cache:Io.cache,pendingSuspenseBoundaries:Io.pendingSuspenseBoundaries,transitions:Io.transitions},se.updateQueue.baseState=gr,se.memoizedState=gr,se.flags&256){kn=xd(Error(n(423)),se),se=Zt(V,se,en,dt,kn);break e}else if(en!==kn){kn=xd(Error(n(424)),se),se=Zt(V,se,en,dt,kn);break e}else for(kr=As(se.stateNode.containerInfo.firstChild),Fr=se,Ge=!0,An=null,dt=Ed(se,null,en,dt),se.child=dt;dt;)dt.flags=dt.flags&-3|4096,dt=dt.sibling;else{if(va(),en===kn){se=Nr(V,se,dt);break e}Fl(V,se,en,dt)}se=se.child}return se;case 5:return Qn(se),V===null&&yo(se),en=se.type,kn=se.pendingProps,gr=V!==null?V.memoizedProps:null,Io=kn.children,Ti(en,kn)?Io=null:gr!==null&&Ti(en,gr)&&(se.flags|=32),Cd(V,se),Fl(V,se,Io,dt),se.child;case 6:return V===null&&yo(se),null;case 13:return wn(V,se,dt);case 4:return Dt(se,se.stateNode.containerInfo),en=se.pendingProps,V===null?se.child=Bc(se,null,en,dt):Fl(V,se,en,dt),se.child;case 11:return en=se.type,kn=se.pendingProps,kn=se.elementType===en?kn:wa(en,kn),Gd(V,se,en,kn,dt);case 7:return Fl(V,se,se.pendingProps,dt),se.child;case 8:return Fl(V,se,se.pendingProps.children,dt),se.child;case 12:return Fl(V,se,se.pendingProps.children,dt),se.child;case 10:e:{if(en=se.type._context,kn=se.pendingProps,gr=se.memoizedProps,Io=kn.value,Dl(xa,en._currentValue),en._currentValue=Io,gr!==null)if(wo(gr.value,Io)){if(gr.children===kn.children&&!el.current){se=Nr(V,se,dt);break e}}else for(gr=se.child,gr!==null&&(gr.return=se);gr!==null;){var ma=gr.dependencies;if(ma!==null){Io=gr.child;for(var Ta=ma.firstContext;Ta!==null;){if(Ta.context===en){if(gr.tag===1){Ta=_u(-1,dt&-dt),Ta.tag=2;var Ps=gr.updateQueue;if(Ps!==null){Ps=Ps.shared;var ja=Ps.pending;ja===null?Ta.next=Ta:(Ta.next=ja.next,ja.next=Ta),Ps.pending=Ta}}gr.lanes|=dt,Ta=gr.alternate,Ta!==null&&(Ta.lanes|=dt),ml(gr.return,dt,se),ma.lanes|=dt;break}Ta=Ta.next}}else if(gr.tag===10)Io=gr.type===se.type?null:gr.child;else if(gr.tag===18){if(Io=gr.return,Io===null)throw Error(n(341));Io.lanes|=dt,ma=Io.alternate,ma!==null&&(ma.lanes|=dt),ml(Io,dt,se),Io=gr.sibling}else Io=gr.child;if(Io!==null)Io.return=gr;else for(Io=gr;Io!==null;){if(Io===se){Io=null;break}if(gr=Io.sibling,gr!==null){gr.return=Io.return,Io=gr;break}Io=Io.return}gr=Io}Fl(V,se,kn.children,dt),se=se.child}return se;case 9:return kn=se.type,en=se.pendingProps.children,Ii(se,dt),kn=Xi(kn),en=en(kn),se.flags|=1,Fl(V,se,en,dt),se.child;case 14:return en=se.type,kn=wa(en,se.pendingProps),kn=wa(en.type,kn),hd(V,se,en,kn,dt);case 15:return zd(V,se,se.type,se.pendingProps,dt);case 17:return en=se.type,kn=se.pendingProps,kn=se.elementType===en?kn:wa(en,kn),nr(V,se),se.tag=1,oc(en)?(V=!0,Eu(se)):V=!1,Ii(se,dt),Ql(se,en,kn),rd(se,en,kn,dt),Ki(null,se,en,!0,V,dt);case 19:return Wn(V,se,dt);case 22:return Pd(V,se,dt)}throw Error(n(156,se.tag))};function js(V,se){return At(V,se)}function al(V,se,dt,en){this.tag=V,this.key=dt,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=se,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=en,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vl(V,se,dt,en){return new al(V,se,dt,en)}function hc(V){return V=V.prototype,!(!V||!V.isReactComponent)}function Cc(V){if(typeof V=="function")return hc(V)?1:0;if(V!=null){if(V=V.$$typeof,V===G)return 11;if(V===M)return 14}return 2}function fu(V,se){var dt=V.alternate;return dt===null?(dt=vl(V.tag,se,V.key,V.mode),dt.elementType=V.elementType,dt.type=V.type,dt.stateNode=V.stateNode,dt.alternate=V,V.alternate=dt):(dt.pendingProps=se,dt.type=V.type,dt.flags=0,dt.subtreeFlags=0,dt.deletions=null),dt.flags=V.flags&14680064,dt.childLanes=V.childLanes,dt.lanes=V.lanes,dt.child=V.child,dt.memoizedProps=V.memoizedProps,dt.memoizedState=V.memoizedState,dt.updateQueue=V.updateQueue,se=V.dependencies,dt.dependencies=se===null?null:{lanes:se.lanes,firstContext:se.firstContext},dt.sibling=V.sibling,dt.index=V.index,dt.ref=V.ref,dt}function Ud(V,se,dt,en,kn,gr){var Io=2;if(en=V,typeof V=="function")hc(V)&&(Io=1);else if(typeof V=="string")Io=5;else e:switch(V){case E:return Td(dt.children,kn,gr,se);case I:Io=8,kn|=8;break;case L:return V=vl(12,dt,se,kn|2),V.elementType=L,V.lanes=gr,V;case k:return V=vl(13,dt,se,kn),V.elementType=k,V.lanes=gr,V;case x:return V=vl(19,dt,se,kn),V.elementType=x,V.lanes=gr,V;case R:return Dd(dt,kn,gr,se);default:if(typeof V=="object"&&V!==null)switch(V.$$typeof){case W:Io=10;break e;case F:Io=9;break e;case G:Io=11;break e;case M:Io=14;break e;case B:Io=16,en=null;break e}throw Error(n(130,V==null?V:typeof V,""))}return se=vl(Io,dt,se,kn),se.elementType=V,se.type=en,se.lanes=gr,se}function Td(V,se,dt,en){return V=vl(7,V,en,se),V.lanes=dt,V}function Dd(V,se,dt,en){return V=vl(22,V,en,se),V.elementType=R,V.lanes=dt,V.stateNode={isHidden:!1},V}function nf(V,se,dt){return V=vl(6,V,null,se),V.lanes=dt,V}function mh(V,se,dt){return se=vl(4,V.children!==null?V.children:[],V.key,se),se.lanes=dt,se.stateNode={containerInfo:V.containerInfo,pendingChildren:null,implementation:V.implementation},se}function xp(V,se,dt,en,kn){this.tag=se,this.containerInfo=V,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ar(0),this.expirationTimes=Ar(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ar(0),this.identifierPrefix=en,this.onRecoverableError=kn,this.mutableSourceEagerHydrationData=null}function op(V,se,dt,en,kn,gr,Io,ma,Ta){return V=new xp(V,se,dt,ma,Ta),se===1?(se=1,gr===!0&&(se|=8)):se=0,gr=vl(3,null,null,se),V.current=gr,gr.stateNode=V,gr.memoizedState={element:en,isDehydrated:dt,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zc(gr),V}function wp(V,se,dt){var en=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:m,key:en==null?null:""+en,children:V,containerInfo:se,implementation:dt}}function Np(V){if(!V)return kl;V=V._reactInternals;e:{if(Hr(V)!==V||V.tag!==1)throw Error(n(170));var se=V;do{switch(se.tag){case 3:se=se.stateNode.context;break e;case 1:if(oc(se.type)){se=se.stateNode.__reactInternalMemoizedMergedChildContext;break e}}se=se.return}while(se!==null);throw Error(n(171))}if(V.tag===1){var dt=V.type;if(oc(dt))return Qa(V,dt,se)}return se}function pp(V,se,dt,en,kn,gr,Io,ma,Ta){return V=op(dt,en,!0,V,kn,gr,Io,ma,Ta),V.context=Np(null),dt=V.current,en=N(),kn=Z(dt),gr=_u(en,kn),gr.callback=se??null,td(dt,gr,kn),V.current.lanes=kn,vr(V,kn,en),je(V,en),V}function ap(V,se,dt,en){var kn=se.current,gr=N(),Io=Z(kn);return dt=Np(dt),se.context===null?se.context=dt:se.pendingContext=dt,se=_u(gr,Io),se.payload={element:V},en=en===void 0?null:en,en!==null&&(se.callback=en),V=td(kn,se,Io),V!==null&&(ve(V,kn,Io,gr),Hu(V,kn,Io)),Io}function Hh(V){if(V=V.current,!V.child)return null;switch(V.child.tag){case 5:return V.child.stateNode;default:return V.child.stateNode}}function mp(V,se){if(V=V.memoizedState,V!==null&&V.dehydrated!==null){var dt=V.retryLane;V.retryLane=dt!==0&&dt<se?dt:se}}function Zh(V,se){mp(V,se),(V=V.alternate)&&mp(V,se)}function vp(){return null}var Vh=typeof reportError=="function"?reportError:function(V){console.error(V)};function sp(V){this._internalRoot=V}zh.prototype.render=sp.prototype.render=function(V){var se=this._internalRoot;if(se===null)throw Error(n(409));ap(V,se,null,null)},zh.prototype.unmount=sp.prototype.unmount=function(){var V=this._internalRoot;if(V!==null){this._internalRoot=null;var se=V.containerInfo;oo(function(){ap(null,V,null,null)}),se[Eo]=null}};function zh(V){this._internalRoot=V}zh.prototype.unstable_scheduleHydration=function(V){if(V){var se=Rt();V={blockedOn:null,target:V,priority:se};for(var dt=0;dt<Ht.length&&se!==0&&se<Ht[dt].priority;dt++);Ht.splice(dt,0,V),dt===0&&hr(V)}};function $h(V){return!(!V||V.nodeType!==1&&V.nodeType!==9&&V.nodeType!==11)}function Pf(V){return!(!V||V.nodeType!==1&&V.nodeType!==9&&V.nodeType!==11&&(V.nodeType!==8||V.nodeValue!==" react-mount-point-unstable "))}function Bp(){}function Xh(V,se,dt,en,kn){if(kn){if(typeof en=="function"){var gr=en;en=function(){var Ps=Hh(Io);gr.call(Ps)}}var Io=pp(se,en,V,0,null,!1,!1,"",Bp);return V._reactRootContainer=Io,V[Eo]=Io.current,as(V.nodeType===8?V.parentNode:V),oo(),Io}for(;kn=V.lastChild;)V.removeChild(kn);if(typeof en=="function"){var ma=en;en=function(){var Ps=Hh(Ta);ma.call(Ps)}}var Ta=op(V,0,!1,null,null,!1,!1,"",Bp);return V._reactRootContainer=Ta,V[Eo]=Ta.current,as(V.nodeType===8?V.parentNode:V),oo(function(){ap(se,Ta,dt,en)}),Ta}function Ac(V,se,dt,en,kn){var gr=dt._reactRootContainer;if(gr){var Io=gr;if(typeof kn=="function"){var ma=kn;kn=function(){var Ta=Hh(Io);ma.call(Ta)}}ap(se,Io,V,kn)}else Io=Xh(dt,se,V,kn,en);return Hh(Io)}Bn=function(V){switch(V.tag){case 3:var se=V.stateNode;if(se.current.memoizedState.isDehydrated){var dt=rr(se.pendingLanes);dt!==0&&(Dr(se,dt|1),je(se,Te()),!(fc&6)&&(qf=Te()+500,ec()))}break;case 13:oo(function(){var en=Xl(V,1);if(en!==null){var kn=N();ve(en,V,1,kn)}}),Zh(V,1)}},ar=function(V){if(V.tag===13){var se=Xl(V,134217728);if(se!==null){var dt=N();ve(se,V,134217728,dt)}Zh(V,134217728)}},rn=function(V){if(V.tag===13){var se=Z(V),dt=Xl(V,se);if(dt!==null){var en=N();ve(dt,V,se,en)}Zh(V,se)}},Rt=function(){return eo},Qe=function(V,se){var dt=eo;try{return eo=V,se()}finally{eo=dt}},nt=function(V,se,dt){switch(se){case"input":if(ae(V,dt),se=dt.name,dt.type==="radio"&&se!=null){for(dt=V;dt.parentNode;)dt=dt.parentNode;for(dt=dt.querySelectorAll("input[name="+JSON.stringify(""+se)+'][type="radio"]'),se=0;se<dt.length;se++){var en=dt[se];if(en!==V&&en.form===V.form){var kn=Ou(en);if(!kn)throw Error(n(90));Ee(en),ae(en,kn)}}}break;case"textarea":Ue(V,dt);break;case"select":se=dt.value,se!=null&&He(V,!!dt.multiple,se,!1)}},Pn=Zr,Yn=oo;var u0={usingClientEntryPoint:!1,Events:[Mc,Fc,Ou,It,on,Zr]},Oh={findFiberByHostInstance:Wi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},d0={bundleType:Oh.bundleType,version:Oh.version,rendererPackageName:Oh.rendererPackageName,rendererConfig:Oh.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:s.ReactCurrentDispatcher,findHostInstanceByFiber:function(V){return V=Xt(V),V===null?null:V.stateNode},findFiberByHostInstance:Oh.findFiberByHostInstance||vp,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Mf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Mf.isDisabled&&Mf.supportsFiber)try{xe=Mf.inject(d0),Ae=Mf}catch{}}l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=u0,l.createPortal=function(V,se){var dt=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!$h(se))throw Error(n(200));return wp(V,se,null,dt)},l.createRoot=function(V,se){if(!$h(V))throw Error(n(299));var dt=!1,en="",kn=Vh;return se!=null&&(se.unstable_strictMode===!0&&(dt=!0),se.identifierPrefix!==void 0&&(en=se.identifierPrefix),se.onRecoverableError!==void 0&&(kn=se.onRecoverableError)),se=op(V,1,!1,null,null,dt,!1,en,kn),V[Eo]=se.current,as(V.nodeType===8?V.parentNode:V),new sp(se)},l.findDOMNode=function(V){if(V==null)return null;if(V.nodeType===1)return V;var se=V._reactInternals;if(se===void 0)throw typeof V.render=="function"?Error(n(188)):(V=Object.keys(V).join(","),Error(n(268,V)));return V=Xt(se),V=V===null?null:V.stateNode,V},l.flushSync=function(V){return oo(V)},l.hydrate=function(V,se,dt){if(!Pf(se))throw Error(n(200));return Ac(null,V,se,!0,dt)},l.hydrateRoot=function(V,se,dt){if(!$h(V))throw Error(n(405));var en=dt!=null&&dt.hydratedSources||null,kn=!1,gr="",Io=Vh;if(dt!=null&&(dt.unstable_strictMode===!0&&(kn=!0),dt.identifierPrefix!==void 0&&(gr=dt.identifierPrefix),dt.onRecoverableError!==void 0&&(Io=dt.onRecoverableError)),se=pp(se,null,V,1,dt??null,kn,!1,gr,Io),V[Eo]=se.current,as(V),en)for(V=0;V<en.length;V++)dt=en[V],kn=dt._getVersion,kn=kn(dt._source),se.mutableSourceEagerHydrationData==null?se.mutableSourceEagerHydrationData=[dt,kn]:se.mutableSourceEagerHydrationData.push(dt,kn);return new zh(se)},l.render=function(V,se,dt){if(!Pf(se))throw Error(n(200));return Ac(null,V,se,!1,dt)},l.unmountComponentAtNode=function(V){if(!Pf(V))throw Error(n(40));return V._reactRootContainer?(oo(function(){Ac(null,null,V,!1,function(){V._reactRootContainer=null,V[Eo]=null})}),!0):!1},l.unstable_batchedUpdates=Zr,l.unstable_renderSubtreeIntoContainer=function(V,se,dt,en){if(!Pf(dt))throw Error(n(200));if(V==null||V._reactInternals===void 0)throw Error(n(38));return Ac(V,se,dt,!1,en)},l.version="18.2.0-next-9e3b772b8-20220608"},594127:function(b,l,e){"use strict";var r,o=e(233284);if(1)l.createRoot=o.createRoot,r=o.hydrateRoot;else var n},233284:function(b,l,e){"use strict";function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(o){console.error(o)}}r(),b.exports=e(511382)},872939:function(b){var l=typeof Element<"u",e=typeof Map=="function",r=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function n(a,i){if(a===i)return!0;if(a&&i&&typeof a=="object"&&typeof i=="object"){if(a.constructor!==i.constructor)return!1;var c,u,f;if(Array.isArray(a)){if(c=a.length,c!=i.length)return!1;for(u=c;u--!==0;)if(!n(a[u],i[u]))return!1;return!0}var d;if(e&&a instanceof Map&&i instanceof Map){if(a.size!==i.size)return!1;for(d=a.entries();!(u=d.next()).done;)if(!i.has(u.value[0]))return!1;for(d=a.entries();!(u=d.next()).done;)if(!n(u.value[1],i.get(u.value[0])))return!1;return!0}if(r&&a instanceof Set&&i instanceof Set){if(a.size!==i.size)return!1;for(d=a.entries();!(u=d.next()).done;)if(!i.has(u.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(i)){if(c=a.length,c!=i.length)return!1;for(u=c;u--!==0;)if(a[u]!==i[u])return!1;return!0}if(a.constructor===RegExp)return a.source===i.source&&a.flags===i.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===i.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===i.toString();if(f=Object.keys(a),c=f.length,c!==Object.keys(i).length)return!1;for(u=c;u--!==0;)if(!Object.prototype.hasOwnProperty.call(i,f[u]))return!1;if(l&&a instanceof Element)return!1;for(u=c;u--!==0;)if(!((f[u]==="_owner"||f[u]==="__v"||f[u]==="__o")&&a.$$typeof)&&!n(a[f[u]],i[f[u]]))return!1;return!0}return a!==a&&i!==i}b.exports=function(i,c){try{return n(i,c)}catch(u){if((u.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw u}}},130527:function(b,l,e){"use strict";e.d(l,{ZP:()=>Mt});var r=e(539474),o=e(397320),n=e(174161),a="data-focus-lock",i="data-focus-lock-disabled",c="data-no-focus-lock",u="data-autofocus-inside",f="data-no-autofocus",d=e(58328),h={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},g=function(et){var St=et.children,Ht=St===void 0?null:St;return n.createElement(n.Fragment,null,n.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:h}),Ht,Ht&&n.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:h}))};g.propTypes={};const _=null;var p=e(91798),y=(0,p.s)({},function(ot){var et=ot.target,St=ot.currentTarget;return{target:et,currentTarget:St}}),O=(0,p.s)(),P=(0,p.s)(),C=(0,p._)({async:!0,ssr:typeof document<"u"}),A=(0,n.createContext)(void 0),S=[],T=(0,n.forwardRef)(function(et,St){var Ht,er=(0,n.useState)(),Mr=er[0],mn=er[1],Un=(0,n.useRef)(),hr=(0,n.useRef)(!1),br=(0,n.useRef)(null),io=(0,n.useState)({}),Kr=io[1],xo=et.children,Ho=et.disabled,bo=Ho===void 0?!1:Ho,Ea=et.noFocusGuards,Ia=Ea===void 0?!1:Ea,Da=et.persistentFocus,Za=Da===void 0?!1:Da,Xa=et.crossFrame,ba=Xa===void 0?!0:Xa,ns=et.autoFocus,Ja=ns===void 0?!0:ns,Is=et.allowTextSelection,Vr=et.group,Qr=et.className,To=et.whiteList,xr=et.hasPositiveIndices,uo=et.shards,Mo=uo===void 0?S:uo,go=et.as,ea=go===void 0?"div":go,ha=et.lockProps,yr=ha===void 0?{}:ha,Lr=et.sideCar,ao=et.returnFocus,ho=ao===void 0?!1:ao,Lo=et.focusOptions,Yo=et.onActivation,jo=et.onDeactivation,Xo=(0,n.useState)({}),Ua=Xo[0],ds=(0,n.useCallback)(function(Ms){var bs=Ms.captureFocusRestore;if(!br.current){var Hs,Os=(Hs=document)==null?void 0:Hs.activeElement;br.current=Os,Os!==document.body&&(br.current=bs(Os))}Un.current&&Yo&&Yo(Un.current),hr.current=!0,Kr()},[Yo]),us=(0,n.useCallback)(function(){hr.current=!1,jo&&jo(Un.current),Kr()},[jo]),ys=(0,n.useCallback)(function(Ms){var bs=br.current;if(bs){var Hs=(typeof bs=="function"?bs():bs)||document.body,Os=typeof ho=="function"?ho(Hs):ho;if(Os){var Vs=typeof Os=="object"?Os:void 0;br.current=null,Ms?Promise.resolve().then(function(){return Hs.focus(Vs)}):Hs.focus(Vs)}}},[ho]),Ys=(0,n.useCallback)(function(Ms){hr.current&&y.useMedium(Ms)},[]),Gs=O.useMedium,xs=(0,n.useCallback)(function(Ms){Un.current!==Ms&&(Un.current=Ms,mn(Ms))},[]),Ai=(0,o.Z)((Ht={},Ht[i]=bo&&"disabled",Ht[a]=Vr,Ht),yr),Pi=Ia!==!0,ei=Pi&&Ia!=="tail",hi=(0,d.q)([St,xs]),ks=(0,n.useMemo)(function(){return{observed:Un,shards:Mo,enabled:!bo,active:hr.current}},[bo,hr.current,Mo,Mr]);return n.createElement(n.Fragment,null,Pi&&[n.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:bo?-1:0,style:h}),xr?n.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:bo?-1:1,style:h}):null],!bo&&n.createElement(Lr,{id:Ua,sideCar:C,observed:Mr,disabled:bo,persistentFocus:Za,crossFrame:ba,autoFocus:Ja,whiteList:To,shards:Mo,onActivation:ds,onDeactivation:us,returnFocus:ys,focusOptions:Lo,noFocusGuards:Ia}),n.createElement(ea,(0,o.Z)({ref:hi},Ai,{className:Qr,onBlur:Gs,onFocus:Ys}),n.createElement(A.Provider,{value:ks},xo)),ei&&n.createElement("div",{"data-focus-guard":!0,tabIndex:bo?-1:0,style:h}))});T.propTypes={};const s=T;var v=e(973420),m=e(805900);function E(ot,et){function St(Ht){return Ht.displayName||Ht.name||"Component"}return function(er){var Mr=[],mn;function Un(){mn=ot(Mr.map(function(br){return br.props})),et(mn)}var hr=function(br){(0,v.Z)(io,br);function io(){return br.apply(this,arguments)||this}io.peek=function(){return mn};var Kr=io.prototype;return Kr.componentDidMount=function(){Mr.push(this),Un()},Kr.componentDidUpdate=function(){Un()},Kr.componentWillUnmount=function(){var Ho=Mr.indexOf(this);Mr.splice(Ho,1),Un()},Kr.render=function(){return n.createElement(er,this.props)},io}(n.PureComponent);return(0,m.Z)(hr,"displayName","SideEffect("+St(er)+")"),hr}}const I=E;var L=function(ot){for(var et=Array(ot.length),St=0;St<ot.length;++St)et[St]=ot[St];return et},W=function(ot){return Array.isArray(ot)?ot:[ot]},F=function(ot){return Array.isArray(ot)?ot[0]:ot},G=function(ot){if(ot.nodeType!==Node.ELEMENT_NODE)return!1;var et=window.getComputedStyle(ot,null);return!et||!et.getPropertyValue?!1:et.getPropertyValue("display")==="none"||et.getPropertyValue("visibility")==="hidden"},k=function(ot){return ot.parentNode&&ot.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?ot.parentNode.host:ot.parentNode},x=function(ot){return ot===document||ot&&ot.nodeType===Node.DOCUMENT_NODE},M=function(ot){return ot.hasAttribute("inert")},B=function(ot,et){return!ot||x(ot)||!G(ot)&&!M(ot)&&et(k(ot))},R=function(ot,et){var St=ot.get(et);if(St!==void 0)return St;var Ht=B(et,R.bind(void 0,ot));return ot.set(et,Ht),Ht},U=function(ot,et){return ot&&!x(ot)?pe(ot)?et(k(ot)):!1:!0},j=function(ot,et){var St=ot.get(et);if(St!==void 0)return St;var Ht=U(et,j.bind(void 0,ot));return ot.set(et,Ht),Ht},$=function(ot){return ot.dataset},ee=function(ot){return ot.tagName==="BUTTON"},te=function(ot){return ot.tagName==="INPUT"},ie=function(ot){return te(ot)&&ot.type==="radio"},ne=function(ot){return!((te(ot)||ee(ot))&&(ot.type==="hidden"||ot.disabled))},pe=function(ot){var et=ot.getAttribute(f);return![!0,"true",""].includes(et)},oe=function(ot){var et;return!!(ot&&(!((et=$(ot))===null||et===void 0)&&et.focusGuard))},q=function(ot){return!oe(ot)},J=function(ot){return!!ot},me=function(ot,et){var St=Math.max(0,ot.tabIndex),Ht=Math.max(0,et.tabIndex),er=St-Ht,Mr=ot.index-et.index;if(er){if(!St)return 1;if(!Ht)return-1}return er||Mr},re=function(ot){return ot.tabIndex<0&&!ot.hasAttribute("tabindex")?0:ot.tabIndex},he=function(ot,et,St){return L(ot).map(function(Ht,er){var Mr=re(Ht);return{node:Ht,index:er,tabIndex:St&&Mr===-1?(Ht.dataset||{}).focusGuard?0:-1:Mr}}).filter(function(Ht){return!et||Ht.tabIndex>=0}).sort(me)},Ee=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],fe=Ee.join(","),H="".concat(fe,", [data-focus-guard]"),z=function(ot,et){return L((ot.shadowRoot||ot).children).reduce(function(St,Ht){return St.concat(Ht.matches(et?H:fe)?[Ht]:[],z(Ht))},[])},_e=function(ot,et){var St;return ot instanceof HTMLIFrameElement&&(!((St=ot.contentDocument)===null||St===void 0)&&St.body)?ae([ot.contentDocument.body],et):[ot]},ae=function(ot,et){return ot.reduce(function(St,Ht){var er,Mr=z(Ht,et),mn=(er=[]).concat.apply(er,Mr.map(function(Un){return _e(Un,et)}));return St.concat(mn,Ht.parentNode?L(Ht.parentNode.querySelectorAll(fe)).filter(function(Un){return Un===Ht}):[])},[])},ge=function(ot){var et=ot.querySelectorAll("[".concat(u,"]"));return L(et).map(function(St){return ae([St])}).reduce(function(St,Ht){return St.concat(Ht)},[])},Be=function(ot,et){return L(ot).filter(function(St){return R(et,St)}).filter(function(St){return ne(St)})},Ke=function(ot,et){return et===void 0&&(et=new Map),L(ot).filter(function(St){return j(et,St)})},He=function(ot,et,St){return he(Be(ae(ot,St),et),!0,St)},ye=function(ot,et){return he(Be(ae(ot),et),!1)},Le=function(ot,et){return Be(ge(ot),et)},Ue=function(ot,et){return ot.shadowRoot?Ue(ot.shadowRoot,et):Object.getPrototypeOf(ot).contains!==void 0&&Object.getPrototypeOf(ot).contains.call(ot,et)?!0:L(ot.children).some(function(St){var Ht;if(St instanceof HTMLIFrameElement){var er=(Ht=St.contentDocument)===null||Ht===void 0?void 0:Ht.body;return er?Ue(er,et):!1}return Ue(St,et)})},Xe=function(ot){try{return ot()}catch{return}},Fe=function(ot){if(ot===void 0&&(ot=document),!(!ot||!ot.activeElement)){var et=ot.activeElement;return et.shadowRoot?Fe(et.shadowRoot):et instanceof HTMLIFrameElement&&Xe(function(){return et.contentWindow.document})?Fe(et.contentWindow.document):et}},ht=function(ot){ot===void 0&&(ot=document);var et=Fe(ot);return et?L(ot.querySelectorAll("[".concat(c,"]"))).some(function(St){return Ue(St,et)}):!1},Ne=function(ot){for(var et=new Set,St=ot.length,Ht=0;Ht<St;Ht+=1)for(var er=Ht+1;er<St;er+=1){var Mr=ot[Ht].compareDocumentPosition(ot[er]);(Mr&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&et.add(er),(Mr&Node.DOCUMENT_POSITION_CONTAINS)>0&&et.add(Ht)}return ot.filter(function(mn,Un){return!et.has(Un)})},Ce=function(ot){return ot.parentNode?Ce(ot.parentNode):ot},we=function(ot){var et=W(ot);return et.filter(Boolean).reduce(function(St,Ht){var er=Ht.getAttribute(a);return St.push.apply(St,er?Ne(L(Ce(Ht).querySelectorAll("[".concat(a,'="').concat(er,'"]:not([').concat(i,'="disabled"])')))):[Ht]),St},[])},$e=function(ot,et){return ot===et},Ot=function(ot,et){return!!L(ot.querySelectorAll("iframe")).some(function(St){return $e(St,et)})},Pt=function(ot,et){return et===void 0&&(et=Fe(F(ot).ownerDocument)),!et||et.dataset&&et.dataset.focusGuard?!1:we(ot).some(function(St){return Ue(St,et)||Ot(St,et)})},Ie=function(ot,et){ot&&("focus"in ot&&ot.focus(et),"contentWindow"in ot&&ot.contentWindow&&ot.contentWindow.focus())},Bt=function(ot,et){return et.filter(ie).filter(function(St){return St.name===ot.name}).filter(function(St){return St.checked})[0]||ot},mt=function(ot,et){return ie(ot)&&ot.name?Bt(ot,et):ot},rt=function(ot){var et=new Set;return ot.forEach(function(St){return et.add(mt(St,ot))}),ot.filter(function(St){return et.has(St)})},ce=function(ot){return ot[0]&&ot.length>1?mt(ot[0],ot):ot[0]},Re=function(ot,et){return ot.indexOf(mt(et,ot))},nt="NEW_FOCUS",st=function(ot,et,St,Ht,er){var Mr=ot.length,mn=ot[0],Un=ot[Mr-1],hr=oe(Ht);if(!(Ht&&ot.indexOf(Ht)>=0)){var br=Ht!==void 0?St.indexOf(Ht):-1,io=er?St.indexOf(er):br,Kr=er?ot.indexOf(er):-1;if(br===-1)return Kr!==-1?Kr:nt;if(Kr===-1)return nt;var xo=br-io,Ho=St.indexOf(mn),bo=St.indexOf(Un),Ea=rt(St),Ia=Ht!==void 0?Ea.indexOf(Ht):-1,Da=er?Ea.indexOf(er):Ia,Za=Ea.filter(function(Vr){return Vr.tabIndex>=0}),Xa=Ht!==void 0?Za.indexOf(Ht):-1,ba=er?Za.indexOf(er):Xa,ns=Xa>=0&&ba>=0?ba-Xa:Da-Ia;if(!xo&&Kr>=0||et.length===0)return Kr;var Ja=Re(ot,et[0]),Is=Re(ot,et[et.length-1]);if(br<=Ho&&hr&&Math.abs(xo)>1)return Is;if(br>=bo&&hr&&Math.abs(xo)>1)return Ja;if(xo&&Math.abs(ns)>1)return Kr;if(br<=Ho)return Is;if(br>bo)return Ja;if(xo)return Math.abs(xo)>1?Kr:(Mr+Kr+xo)%Mr}},vt=function(ot){return function(et){var St,Ht=(St=$(et))===null||St===void 0?void 0:St.autofocus;return et.autofocus||Ht!==void 0&&Ht!=="false"||ot.indexOf(et)>=0}},ze=function(ot,et,St){var Ht=ot.map(function(Mr){var mn=Mr.node;return mn}),er=Ke(Ht.filter(vt(St)));return er&&er.length?ce(er):ce(Ke(et))},It=function(ot,et){return et===void 0&&(et=[]),et.push(ot),ot.parentNode&&It(ot.parentNode.host||ot.parentNode,et),et},on=function(ot,et){for(var St=It(ot),Ht=It(et),er=0;er<St.length;er+=1){var Mr=St[er];if(Ht.indexOf(Mr)>=0)return Mr}return!1},Pn=function(ot,et,St){var Ht=W(ot),er=W(et),Mr=Ht[0],mn=!1;return er.filter(Boolean).forEach(function(Un){mn=on(mn||Un,Un)||mn,St.filter(Boolean).forEach(function(hr){var br=on(Mr,hr);br&&(!mn||Ue(br,mn)?mn=br:mn=on(br,mn))})}),mn},Yn=function(ot,et){return ot.reduce(function(St,Ht){return St.concat(Le(Ht,et))},[])},Ln=function(ot,et){var St=new Map;return et.forEach(function(Ht){return St.set(Ht.node,Ht)}),ot.map(function(Ht){return St.get(Ht)}).filter(J)},bn=function(ot,et){var St=Fe(W(ot).length>0?document:F(ot).ownerDocument),Ht=we(ot).filter(q),er=Pn(St||ot,ot,Ht),Mr=new Map,mn=ye(Ht,Mr),Un=mn.filter(function(bo){var Ea=bo.node;return q(Ea)});if(Un[0]){var hr=ye([er],Mr).map(function(bo){var Ea=bo.node;return Ea}),br=Ln(hr,Un),io=br.map(function(bo){var Ea=bo.node;return Ea}),Kr=br.filter(function(bo){var Ea=bo.tabIndex;return Ea>=0}).map(function(bo){var Ea=bo.node;return Ea}),xo=st(io,Kr,hr,St,et);if(xo===nt){var Ho=ze(mn,Kr,Yn(Ht,Mr))||ze(mn,io,Yn(Ht,Mr));if(Ho)return{node:Ho};console.warn("focus-lock: cannot find any node to move focus into");return}return xo===void 0?xo:br[xo]}},ir=0,Zn=!1,$n=function(ot,et,St){St===void 0&&(St={});var Ht=bn(ot,et);if(!Zn&&Ht){if(ir>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Zn=!0,setTimeout(function(){Zn=!1},1);return}ir++,Ie(Ht.node,St.focusOptions),ir--}};function jt(ot){if(!ot)return null;if(typeof WeakRef>"u")return function(){return ot||null};var et=ot?new WeakRef(ot):null;return function(){return(et==null?void 0:et.deref())||null}}var Rn=function(ot){if(!ot)return null;for(var et=[],St=ot;St&&St!==document.body;)et.push({current:jt(St),parent:jt(St.parentElement),left:jt(St.previousElementSibling),right:jt(St.nextElementSibling)}),St=St.parentElement;return{element:jt(ot),stack:et,ownerDocument:ot.ownerDocument}},jn=function(ot){var et,St,Ht,er,Mr;if(ot)for(var mn=ot.stack,Un=ot.ownerDocument,hr=new Map,br=0,io=mn;br<io.length;br++){var Kr=io[br],xo=(et=Kr.parent)===null||et===void 0?void 0:et.call(Kr);if(xo&&Un.contains(xo)){for(var Ho=(St=Kr.left)===null||St===void 0?void 0:St.call(Kr),bo=Kr.current(),Ea=xo.contains(bo)?bo:void 0,Ia=(Ht=Kr.right)===null||Ht===void 0?void 0:Ht.call(Kr),Da=He([xo],hr),Za=(Mr=(er=Ea??(Ho==null?void 0:Ho.nextElementSibling))!==null&&er!==void 0?er:Ia)!==null&&Mr!==void 0?Mr:Ho;Za;){for(var Xa=0,ba=Da;Xa<ba.length;Xa++){var ns=ba[Xa];if(Za!=null&&Za.contains(ns.node))return ns.node}Za=Za.nextElementSibling}if(Da.length)return Da[0].node}}},Tn=function(ot){var et=Rn(ot);return function(){return jn(et)}},Nn=function(ot){var et=we(ot).filter(q),St=Pn(ot,ot,et),Ht=he(ae([St],!0),!0,!0),er=ae(et,!1);return Ht.map(function(Mr){var mn=Mr.node,Un=Mr.index;return{node:mn,index:Un,lockItem:er.indexOf(mn)>=0,guard:oe(mn)}})},cn=function(ot,et,St){if(!ot||!et)return console.error("no element or scope given"),{};var Ht=W(et);if(Ht.every(function(mn){return!Ue(mn,ot)}))return console.error("Active element is not contained in the scope"),{};var er=St?He(Ht,new Map):ye(Ht,new Map),Mr=er.findIndex(function(mn){var Un=mn.node;return Un===ot});if(Mr!==-1)return{prev:er[Mr-1],next:er[Mr+1],first:er[0],last:er[er.length-1]}},or=function(ot,et){var St=et?He(W(ot),new Map):ye(W(ot),new Map);return{first:St[0],last:St[St.length-1]}},qn=function(ot){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},ot)},Hr=function(ot,et,St){et===void 0&&(et={});var Ht=qn(et),er=cn(ot,Ht.scope,Ht.onlyTabbable);if(er){var Mr=St(er,Ht.cycle);Mr&&Ie(Mr.node,Ht.focusOptions)}},fo=function(ot,et){et===void 0&&(et={}),Hr(ot,et,function(St,Ht){var er=St.next,Mr=St.first;return er||Ht&&Mr})},Jr=function(ot,et){et===void 0&&(et={}),Hr(ot,et,function(St,Ht){var er=St.prev,Mr=St.last;return er||Ht&&Mr})},ro=function(ot,et,St){var Ht,er=or(ot,(Ht=et.onlyTabbable)!==null&&Ht!==void 0?Ht:!0),Mr=er[St];Mr&&Ie(Mr.node,et.focusOptions)},Xt=function(ot,et){et===void 0&&(et={}),ro(ot,et,"first")},Je=function(ot,et){et===void 0&&(et={}),ro(ot,et,"last")};function At(ot){setTimeout(ot,1)}var xt=function(et,St){var Ht={};return Ht[et]=St,Ht},Qt=function(et){return et&&"current"in et?et.current:et},qt=function(){return document&&document.activeElement===document.body},Te=function(){return qt()||ht()},Gt=null,un=null,Vt=function(){return null},Dn=null,Wt=!1,Pe=!1,xe=function(){return!0},Ae=function(et){return(Gt.whiteList||xe)(et)},qe=function(et,St){Dn={observerNode:et,portaledElement:St}},wt=function(et){return Dn&&Dn.portaledElement===et};function kt(ot,et,St,Ht){var er=null,Mr=ot;do{var mn=Ht[Mr];if(mn.guard)mn.node.dataset.focusAutoGuard&&(er=mn);else if(mn.lockItem){if(Mr!==ot)return;er=null}else break}while((Mr+=St)!==et);er&&(er.node.tabIndex=0)}var ut=function(et){return et?!!Wt:Wt==="meanwhile"},Ft=function ot(et,St,Ht){return St&&(St.host===et&&(!St.activeElement||Ht.contains(St.activeElement))||St.parentNode&&ot(et,St.parentNode,Ht))},tn=function(et,St){return St.some(function(Ht){return Ft(et,Ht,Ht)})},In=function(et){return ye(et,new Map)},rr=function(et){return!In([et.parentNode]).some(function(St){return St.node===et})},Sr=function(){var et=!1;if(Gt){var St=Gt,Ht=St.observed,er=St.persistentFocus,Mr=St.autoFocus,mn=St.shards,Un=St.crossFrame,hr=St.focusOptions,br=St.noFocusGuards,io=Ht||Dn&&Dn.portaledElement;if(qt()&&un&&un!==document.body&&(!document.body.contains(un)||rr(un))){var Kr=Vt();Kr&&Kr.focus()}var xo=document&&document.activeElement;if(io){var Ho=[io].concat(mn.map(Qt).filter(Boolean)),bo=function(){if(!ut(Un)||!br||!un||Pe)return!1;var Xa=In(Ho),ba=Xa.findIndex(function(ns){var Ja=ns.node;return Ja===un});return ba===0||ba===Xa.length-1};if((!xo||Ae(xo))&&(er||bo()||!Te()||!un&&Mr)&&(io&&!(Pt(Ho)||xo&&tn(xo,Ho)||wt(xo,io))&&(document&&!un&&xo&&!Mr?(xo.blur&&xo.blur(),document.body.focus()):(et=$n(Ho,un,{focusOptions:hr}),Dn={})),un=document&&document.activeElement,un!==document.body&&(Vt=Tn(un)),Wt=!1),document&&xo!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var Ea=document&&document.activeElement,Ia=Nn(Ho),Da=Ia.map(function(Za){var Xa=Za.node;return Xa}).indexOf(Ea);Da>-1&&(Ia.filter(function(Za){var Xa=Za.guard,ba=Za.node;return Xa&&ba.dataset.focusAutoGuard}).forEach(function(Za){var Xa=Za.node;return Xa.removeAttribute("tabIndex")}),kt(Da,Ia.length,1,Ia),kt(Da,-1,-1,Ia))}}}return et},Yr=function(et){Sr()&&et&&(et.stopPropagation(),et.preventDefault())},Pr=function(){return At(Sr)},Mn=function(et){var St=et.target,Ht=et.currentTarget;Ht.contains(St)||qe(Ht,St)},sr=function(){return null},Ar=function(et){var St=et.children;return n.createElement("div",{onBlur:Pr,onFocus:Mn},St)};Ar.propTypes={};var vr=function(){Pe=!0},qr=function(){Pe=!1,Wt="just",At(function(){Wt="meanwhile"})},Dr=function(){document.addEventListener("focusin",Yr),document.addEventListener("focusout",Pr),window.addEventListener("focus",vr),window.addEventListener("blur",qr)},eo=function(){document.removeEventListener("focusin",Yr),document.removeEventListener("focusout",Pr),window.removeEventListener("focus",vr),window.removeEventListener("blur",qr)};function Vo(ot){return ot.filter(function(et){var St=et.disabled;return!St})}var Bn={moveFocusInside:$n,focusInside:Pt,focusNextElement:fo,focusPrevElement:Jr,focusFirstElement:Xt,focusLastElement:Je,captureFocusRestore:Tn};function ar(ot){var et=ot.slice(-1)[0];et&&!Gt&&Dr();var St=Gt,Ht=St&&et&&et.id===St.id;Gt=et,St&&!Ht&&(St.onDeactivation(),ot.filter(function(er){var Mr=er.id;return Mr===St.id}).length||St.returnFocus(!et)),et?(un=null,(!Ht||St.observed!==et.observed)&&et.onActivation(Bn),Sr(!0),At(Sr)):(eo(),un=null)}y.assignSyncMedium(Mn),O.assignMedium(Pr),P.assignMedium(function(ot){return ot(Bn)});const rn=I(Vo,ar)(sr);var Rt=(0,n.forwardRef)(function(et,St){return n.createElement(s,(0,o.Z)({sideCar:rn,ref:St},et))}),Qe=s.propTypes||{},Ye=Qe.sideCar,yt=(0,r.Z)(Qe,["sideCar"]);Rt.propTypes={};const Mt=Rt},217169:function(b,l,e){"use strict";e.r(l),e.d(l,{FocusLockUI:()=>L,AutoFocusInside:()=>vr,default:()=>rn,useFocusInside:()=>qr,FreeFocusInside:()=>Bn,InFocusGuard:()=>y,MoveFocusInside:()=>eo});var r=e(539474),o=e(397320),n=e(174161),a="data-focus-lock",i="data-focus-lock-disabled",c="data-no-focus-lock",u="data-autofocus-inside",f="data-no-autofocus";function d(Rt,Qe){return typeof Rt=="function"?Rt(Qe):Rt&&(Rt.current=Qe),Rt}function h(Rt,Qe){var Ye=(0,n.useState)(function(){return{value:Rt,callback:Qe,facade:{get current(){return Ye.value},set current(yt){var Ze=Ye.value;Ze!==yt&&(Ye.value=yt,Ye.callback(yt,Ze))}}}})[0];return Ye.callback=Qe,Ye.facade}function g(Rt,Qe){return h(Qe||null,function(Ye){return Rt.forEach(function(yt){return d(yt,Ye)})})}var _={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},p=function(Qe){var Ye=Qe.children;return n.createElement(n.Fragment,null,n.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:_}),Ye,Ye&&n.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:_}))};p.propTypes={},p.defaultProps={children:null};const y=p;var O=e(415412);function P(Rt){return Rt}function C(Rt,Qe){Qe===void 0&&(Qe=P);var Ye=[],yt=!1,Ze={read:function(){if(yt)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return Ye.length?Ye[Ye.length-1]:Rt},useMedium:function(Mt){var ot=Qe(Mt,yt);return Ye.push(ot),function(){Ye=Ye.filter(function(et){return et!==ot})}},assignSyncMedium:function(Mt){for(yt=!0;Ye.length;){var ot=Ye;Ye=[],ot.forEach(Mt)}Ye={push:function(et){return Mt(et)},filter:function(){return Ye}}},assignMedium:function(Mt){yt=!0;var ot=[];if(Ye.length){var et=Ye;Ye=[],et.forEach(Mt),ot=Ye}var St=function(){var er=ot;ot=[],er.forEach(Mt)},Ht=function(){return Promise.resolve().then(St)};Ht(),Ye={push:function(er){ot.push(er),Ht()},filter:function(er){return ot=ot.filter(er),Ye}}}};return Ze}function A(Rt,Qe){return Qe===void 0&&(Qe=P),C(Rt,Qe)}function S(Rt){Rt===void 0&&(Rt={});var Qe=C(null);return Qe.options=(0,O.__assign)({async:!0,ssr:!1},Rt),Qe}var T=A({},function(Rt){var Qe=Rt.target,Ye=Rt.currentTarget;return{target:Qe,currentTarget:Ye}}),s=A(),v=A(),m=S({async:!0}),E=[],I=n.forwardRef(function(Qe,Ye){var yt,Ze=n.useState(),Mt=Ze[0],ot=Ze[1],et=n.useRef(),St=n.useRef(!1),Ht=n.useRef(null),er=Qe.children,Mr=Qe.disabled,mn=Qe.noFocusGuards,Un=Qe.persistentFocus,hr=Qe.crossFrame,br=Qe.autoFocus,io=Qe.allowTextSelection,Kr=Qe.group,xo=Qe.className,Ho=Qe.whiteList,bo=Qe.hasPositiveIndices,Ea=Qe.shards,Ia=Ea===void 0?E:Ea,Da=Qe.as,Za=Da===void 0?"div":Da,Xa=Qe.lockProps,ba=Xa===void 0?{}:Xa,ns=Qe.sideCar,Ja=Qe.returnFocus,Is=Qe.focusOptions,Vr=Qe.onActivation,Qr=Qe.onDeactivation,To=n.useState({}),xr=To[0],uo=n.useCallback(function(){Ht.current=Ht.current||document&&document.activeElement,et.current&&Vr&&Vr(et.current),St.current=!0},[Vr]),Mo=n.useCallback(function(){St.current=!1,Qr&&Qr(et.current)},[Qr]);(0,n.useEffect)(function(){Mr||(Ht.current=null)},[]);var go=n.useCallback(function(Yo){var jo=Ht.current;if(jo&&jo.focus){var Xo=typeof Ja=="function"?Ja(jo):Ja;if(Xo){var Ua=typeof Xo=="object"?Xo:void 0;Ht.current=null,Yo?Promise.resolve().then(function(){return jo.focus(Ua)}):jo.focus(Ua)}}},[Ja]),ea=n.useCallback(function(Yo){St.current&&T.useMedium(Yo)},[]),ha=s.useMedium,yr=n.useCallback(function(Yo){et.current!==Yo&&(et.current=Yo,ot(Yo))},[]),Lr=(0,o.Z)((yt={},yt[i]=Mr&&"disabled",yt[a]=Kr,yt),ba),ao=mn!==!0,ho=ao&&mn!=="tail",Lo=g([Ye,yr]);return n.createElement(n.Fragment,null,ao&&[n.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:Mr?-1:0,style:_}),bo?n.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:Mr?-1:1,style:_}):null],!Mr&&n.createElement(ns,{id:xr,sideCar:m,observed:Mt,disabled:Mr,persistentFocus:Un,crossFrame:hr,autoFocus:br,whiteList:Ho,shards:Ia,onActivation:uo,onDeactivation:Mo,returnFocus:go,focusOptions:Is}),n.createElement(Za,(0,o.Z)({ref:Lo},Lr,{className:xo,onBlur:ha,onFocus:ea}),er),ho&&n.createElement("div",{"data-focus-guard":!0,tabIndex:Mr?-1:0,style:_}))});I.propTypes={},I.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};const L=I;var W=e(973420),F=e(805900);function G(Rt,Qe){function Ye(yt){return yt.displayName||yt.name||"Component"}return function(Ze){var Mt=[],ot;function et(){ot=Rt(Mt.map(function(Ht){return Ht.props})),Qe(ot)}var St=function(Ht){(0,W.Z)(er,Ht);function er(){return Ht.apply(this,arguments)||this}er.peek=function(){return ot};var Mr=er.prototype;return Mr.componentDidMount=function(){Mt.push(this),et()},Mr.componentDidUpdate=function(){et()},Mr.componentWillUnmount=function(){var Un=Mt.indexOf(this);Mt.splice(Un,1),et()},Mr.render=function(){return n.createElement(Ze,this.props)},er}(n.PureComponent);return(0,F.Z)(St,"displayName","SideEffect("+Ye(Ze)+")"),St}}const k=G;var x=function(Rt){for(var Qe=Array(Rt.length),Ye=0;Ye<Rt.length;++Ye)Qe[Ye]=Rt[Ye];return Qe},M=function(Rt){return Array.isArray(Rt)?Rt:[Rt]},B=function(Rt){return Array.isArray(Rt)?Rt[0]:Rt},R=function(Rt){if(Rt.nodeType!==Node.ELEMENT_NODE)return!1;var Qe=window.getComputedStyle(Rt,null);return!Qe||!Qe.getPropertyValue?!1:Qe.getPropertyValue("display")==="none"||Qe.getPropertyValue("visibility")==="hidden"},U=function(Rt){return Rt.parentNode&&Rt.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Rt.parentNode.host:Rt.parentNode},j=function(Rt){return Rt===document||Rt&&Rt.nodeType===Node.DOCUMENT_NODE},$=function(Rt,Qe){return!Rt||j(Rt)||!R(Rt)&&Qe(U(Rt))},ee=function(Rt,Qe){var Ye=Rt.get(Qe);if(Ye!==void 0)return Ye;var yt=$(Qe,ee.bind(void 0,Rt));return Rt.set(Qe,yt),yt},te=function(Rt,Qe){return Rt&&!j(Rt)?me(Rt)?Qe(U(Rt)):!1:!0},ie=function(Rt,Qe){var Ye=Rt.get(Qe);if(Ye!==void 0)return Ye;var yt=te(Qe,ie.bind(void 0,Rt));return Rt.set(Qe,yt),yt},ne=function(Rt){return Rt.dataset},pe=function(Rt){return Rt.tagName==="BUTTON"},oe=function(Rt){return Rt.tagName==="INPUT"},q=function(Rt){return oe(Rt)&&Rt.type==="radio"},J=function(Rt){return!((oe(Rt)||pe(Rt))&&(Rt.type==="hidden"||Rt.disabled))},me=function(Rt){var Qe=Rt.getAttribute(f);return![!0,"true",""].includes(Qe)},re=function(Rt){var Qe;return!!(Rt&&(!((Qe=ne(Rt))===null||Qe===void 0)&&Qe.focusGuard))},he=function(Rt){return!re(Rt)},Ee=function(Rt){return!!Rt},fe=function(Rt,Qe){var Ye=Rt.tabIndex-Qe.tabIndex,yt=Rt.index-Qe.index;if(Ye){if(!Rt.tabIndex)return 1;if(!Qe.tabIndex)return-1}return Ye||yt},H=function(Rt,Qe,Ye){return x(Rt).map(function(yt,Ze){return{node:yt,index:Ze,tabIndex:Ye&&yt.tabIndex===-1?(yt.dataset||{}).focusGuard?0:-1:yt.tabIndex}}).filter(function(yt){return!Qe||yt.tabIndex>=0}).sort(fe)},z=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],_e=z.join(","),ae="".concat(_e,", [data-focus-guard]"),ge=function(Rt,Qe){return x((Rt.shadowRoot||Rt).children).reduce(function(Ye,yt){return Ye.concat(yt.matches(Qe?ae:_e)?[yt]:[],ge(yt))},[])},Be=function(Rt,Qe){var Ye;return Rt instanceof HTMLIFrameElement&&(!((Ye=Rt.contentDocument)===null||Ye===void 0)&&Ye.body)?Ke([Rt.contentDocument.body],Qe):[Rt]},Ke=function(Rt,Qe){return Rt.reduce(function(Ye,yt){var Ze,Mt=ge(yt,Qe),ot=(Ze=[]).concat.apply(Ze,Mt.map(function(et){return Be(et,Qe)}));return Ye.concat(ot,yt.parentNode?x(yt.parentNode.querySelectorAll(_e)).filter(function(et){return et===yt}):[])},[])},He=function(Rt){var Qe=Rt.querySelectorAll("[".concat(u,"]"));return x(Qe).map(function(Ye){return Ke([Ye])}).reduce(function(Ye,yt){return Ye.concat(yt)},[])},ye=function(Rt,Qe){return x(Rt).filter(function(Ye){return ee(Qe,Ye)}).filter(function(Ye){return J(Ye)})},Le=function(Rt,Qe){return Qe===void 0&&(Qe=new Map),x(Rt).filter(function(Ye){return ie(Qe,Ye)})},Ue=function(Rt,Qe,Ye){return H(ye(Ke(Rt,Ye),Qe),!0,Ye)},Xe=function(Rt,Qe){return H(ye(Ke(Rt),Qe),!1)},Fe=function(Rt,Qe){return ye(He(Rt),Qe)},ht=function(Rt,Qe){return Rt.shadowRoot?ht(Rt.shadowRoot,Qe):Object.getPrototypeOf(Rt).contains!==void 0&&Object.getPrototypeOf(Rt).contains.call(Rt,Qe)?!0:x(Rt.children).some(function(Ye){var yt;if(Ye instanceof HTMLIFrameElement){var Ze=(yt=Ye.contentDocument)===null||yt===void 0?void 0:yt.body;return Ze?ht(Ze,Qe):!1}return ht(Ye,Qe)})},Ne=function(Rt){try{return Rt()}catch{return}},Ce=function(Rt){if(Rt===void 0&&(Rt=document),!(!Rt||!Rt.activeElement)){var Qe=Rt.activeElement;return Qe.shadowRoot?Ce(Qe.shadowRoot):Qe instanceof HTMLIFrameElement&&Ne(function(){return Qe.contentWindow.document})?Ce(Qe.contentWindow.document):Qe}},we=function(Rt){Rt===void 0&&(Rt=document);var Qe=Ce(Rt);return Qe?x(Rt.querySelectorAll("[".concat(c,"]"))).some(function(Ye){return ht(Ye,Qe)}):!1},$e=function(Rt){for(var Qe=new Set,Ye=Rt.length,yt=0;yt<Ye;yt+=1)for(var Ze=yt+1;Ze<Ye;Ze+=1){var Mt=Rt[yt].compareDocumentPosition(Rt[Ze]);(Mt&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&Qe.add(Ze),(Mt&Node.DOCUMENT_POSITION_CONTAINS)>0&&Qe.add(yt)}return Rt.filter(function(ot,et){return!Qe.has(et)})},Ot=function(Rt){return Rt.parentNode?Ot(Rt.parentNode):Rt},Pt=function(Rt){var Qe=M(Rt);return Qe.filter(Boolean).reduce(function(Ye,yt){var Ze=yt.getAttribute(a);return Ye.push.apply(Ye,Ze?$e(x(Ot(yt).querySelectorAll("[".concat(a,'="').concat(Ze,'"]:not([').concat(i,'="disabled"])')))):[yt]),Ye},[])},Ie=function(Rt,Qe){return Rt===Qe},Bt=function(Rt,Qe){return!!x(Rt.querySelectorAll("iframe")).some(function(Ye){return Ie(Ye,Qe)})},mt=function(Rt,Qe){return Qe===void 0&&(Qe=Ce(B(Rt).ownerDocument)),!Qe||Qe.dataset&&Qe.dataset.focusGuard?!1:Pt(Rt).some(function(Ye){return ht(Ye,Qe)||Bt(Ye,Qe)})},rt=function(Rt,Qe){return Qe.filter(q).filter(function(Ye){return Ye.name===Rt.name}).filter(function(Ye){return Ye.checked})[0]||Rt},ce=function(Rt,Qe){return q(Rt)&&Rt.name?rt(Rt,Qe):Rt},Re=function(Rt){var Qe=new Set;return Rt.forEach(function(Ye){return Qe.add(ce(Ye,Rt))}),Rt.filter(function(Ye){return Qe.has(Ye)})},nt=function(Rt){return Rt[0]&&Rt.length>1?ce(Rt[0],Rt):Rt[0]},st=function(Rt,Qe){return Rt.length>1?Rt.indexOf(ce(Rt[Qe],Rt)):Qe},vt="NEW_FOCUS",ze=function(Rt,Qe,Ye,yt){var Ze=Rt.length,Mt=Rt[0],ot=Rt[Ze-1],et=re(Ye);if(!(Ye&&Rt.indexOf(Ye)>=0)){var St=Ye!==void 0?Qe.indexOf(Ye):-1,Ht=yt?Qe.indexOf(yt):St,er=yt?Rt.indexOf(yt):-1,Mr=St-Ht,mn=Qe.indexOf(Mt),Un=Qe.indexOf(ot),hr=Re(Qe),br=Ye!==void 0?hr.indexOf(Ye):-1,io=br-(yt?hr.indexOf(yt):St),Kr=st(Rt,0),xo=st(Rt,Ze-1);if(St===-1||er===-1)return vt;if(!Mr&&er>=0)return er;if(St<=mn&&et&&Math.abs(Mr)>1)return xo;if(St>=Un&&et&&Math.abs(Mr)>1)return Kr;if(Mr&&Math.abs(io)>1)return er;if(St<=mn)return xo;if(St>Un)return Kr;if(Mr)return Math.abs(Mr)>1?er:(Ze+er+Mr)%Ze}},It=function(Rt){return function(Qe){var Ye,yt=(Ye=ne(Qe))===null||Ye===void 0?void 0:Ye.autofocus;return Qe.autofocus||yt!==void 0&&yt!=="false"||Rt.indexOf(Qe)>=0}},on=function(Rt,Qe,Ye){var yt=Rt.map(function(Mt){var ot=Mt.node;return ot}),Ze=Le(yt.filter(It(Ye)));return Ze&&Ze.length?nt(Ze):nt(Le(Qe))},Pn=function(Rt,Qe){return Qe===void 0&&(Qe=[]),Qe.push(Rt),Rt.parentNode&&Pn(Rt.parentNode.host||Rt.parentNode,Qe),Qe},Yn=function(Rt,Qe){for(var Ye=Pn(Rt),yt=Pn(Qe),Ze=0;Ze<Ye.length;Ze+=1){var Mt=Ye[Ze];if(yt.indexOf(Mt)>=0)return Mt}return!1},Ln=function(Rt,Qe,Ye){var yt=M(Rt),Ze=M(Qe),Mt=yt[0],ot=!1;return Ze.filter(Boolean).forEach(function(et){ot=Yn(ot||et,et)||ot,Ye.filter(Boolean).forEach(function(St){var Ht=Yn(Mt,St);Ht&&(!ot||ht(Ht,ot)?ot=Ht:ot=Yn(Ht,ot))})}),ot},bn=function(Rt,Qe){return Rt.reduce(function(Ye,yt){return Ye.concat(Fe(yt,Qe))},[])},ir=function(Rt,Qe){var Ye=new Map;return Qe.forEach(function(yt){return Ye.set(yt.node,yt)}),Rt.map(function(yt){return Ye.get(yt)}).filter(Ee)},Zn=function(Rt,Qe){var Ye=Ce(M(Rt).length>0?document:B(Rt).ownerDocument),yt=Pt(Rt).filter(he),Ze=Ln(Ye||Rt,Rt,yt),Mt=new Map,ot=Xe(yt,Mt),et=Ue(yt,Mt).filter(function(Un){var hr=Un.node;return he(hr)});if(!(!et[0]&&(et=ot,!et[0]))){var St=Xe([Ze],Mt).map(function(Un){var hr=Un.node;return hr}),Ht=ir(St,et),er=Ht.map(function(Un){var hr=Un.node;return hr}),Mr=ze(er,St,Ye,Qe);if(Mr===vt){var mn=on(ot,er,bn(yt,Mt));if(mn)return{node:mn};console.warn("focus-lock: cannot find any node to move focus into");return}return Mr===void 0?Mr:Ht[Mr]}},$n=function(Rt,Qe){"focus"in Rt&&Rt.focus(Qe),"contentWindow"in Rt&&Rt.contentWindow&&Rt.contentWindow.focus()},jt=0,Rn=!1,jn=function(Rt,Qe,Ye){Ye===void 0&&(Ye={});var yt=Zn(Rt,Qe);if(!Rn&&yt){if(jt>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Rn=!0,setTimeout(function(){Rn=!1},1);return}jt++,$n(yt.node,Ye.focusOptions),jt--}};const Tn=jn;var Nn=function(Rt){var Qe=Pt(Rt).filter(he),Ye=Ln(Rt,Rt,Qe),yt=new Map,Ze=Ue([Ye],yt,!0),Mt=Ue(Qe,yt).filter(function(ot){var et=ot.node;return he(et)}).map(function(ot){var et=ot.node;return et});return Ze.map(function(ot){var et=ot.node,St=ot.index;return{node:et,index:St,lockItem:Mt.indexOf(et)>=0,guard:re(et)}})},cn=null;function or(Rt){var Qe=window,Ye=Qe.setImmediate;typeof Ye<"u"?Ye(Rt):setTimeout(Rt,1)}var qn=function(Qe,Ye){var yt={};return yt[Qe]=Ye,yt},Hr=function(){return document&&document.activeElement===document.body},fo=function(){return Hr()||we()},Jr=null,ro=null,Xt=null,Je=!1,At=function(){return!0},xt=function(Qe){return(Jr.whiteList||At)(Qe)},Qt=function(Qe,Ye){Xt={observerNode:Qe,portaledElement:Ye}},qt=function(Qe){return Xt&&Xt.portaledElement===Qe};function Te(Rt,Qe,Ye,yt){var Ze=null,Mt=Rt;do{var ot=yt[Mt];if(ot.guard)ot.node.dataset.focusAutoGuard&&(Ze=ot);else if(ot.lockItem){if(Mt!==Rt)return;Ze=null}else break}while((Mt+=Ye)!==Qe);Ze&&(Ze.node.tabIndex=0)}var Gt=function(Qe){return Qe&&"current"in Qe?Qe.current:Qe},un=function(Qe){return Qe?!!Je:Je==="meanwhile"},Vt=function Rt(Qe,Ye,yt){return Ye&&(Ye.host===Qe&&(!Ye.activeElement||yt.contains(Ye.activeElement))||Ye.parentNode&&Rt(Qe,Ye.parentNode,yt))},Dn=function(Qe,Ye){return Ye.some(function(yt){return Vt(Qe,yt,yt)})},Wt=function(){var Qe=!1;if(Jr){var Ye=Jr,yt=Ye.observed,Ze=Ye.persistentFocus,Mt=Ye.autoFocus,ot=Ye.shards,et=Ye.crossFrame,St=Ye.focusOptions,Ht=yt||Xt&&Xt.portaledElement,er=document&&document.activeElement;if(Ht){var Mr=[Ht].concat(ot.map(Gt).filter(Boolean));if((!er||xt(er))&&(Ze||un(et)||!fo()||!ro&&Mt)&&(Ht&&!(mt(Mr)||er&&Dn(er,Mr)||qt(er,Ht))&&(document&&!ro&&er&&!Mt?(er.blur&&er.blur(),document.body.focus()):(Qe=Tn(Mr,ro,{focusOptions:St}),Xt={})),Je=!1,ro=document&&document.activeElement),document){var mn=document&&document.activeElement,Un=Nn(Mr),hr=Un.map(function(br){var io=br.node;return io}).indexOf(mn);hr>-1&&(Un.filter(function(br){var io=br.guard,Kr=br.node;return io&&Kr.dataset.focusAutoGuard}).forEach(function(br){var io=br.node;return io.removeAttribute("tabIndex")}),Te(hr,Un.length,1,Un),Te(hr,-1,-1,Un))}}}return Qe},Pe=function(Qe){Wt()&&Qe&&(Qe.stopPropagation(),Qe.preventDefault())},xe=function(){return or(Wt)},Ae=function(Qe){var Ye=Qe.target,yt=Qe.currentTarget;yt.contains(Ye)||Qt(yt,Ye)},qe=function(){return null},wt=function(Qe){var Ye=Qe.children;return n.createElement("div",{onBlur:xe,onFocus:Ae},Ye)};wt.propTypes={};var kt=function(){Je="just",setTimeout(function(){Je="meanwhile"},0)},ut=function(){document.addEventListener("focusin",Pe),document.addEventListener("focusout",xe),window.addEventListener("blur",kt)},Ft=function(){document.removeEventListener("focusin",Pe),document.removeEventListener("focusout",xe),window.removeEventListener("blur",kt)};function tn(Rt){return Rt.filter(function(Qe){var Ye=Qe.disabled;return!Ye})}function In(Rt){var Qe=Rt.slice(-1)[0];Qe&&!Jr&&ut();var Ye=Jr,yt=Ye&&Qe&&Qe.id===Ye.id;Jr=Qe,Ye&&!yt&&(Ye.onDeactivation(),Rt.filter(function(Ze){var Mt=Ze.id;return Mt===Ye.id}).length||Ye.returnFocus(!Qe)),Qe?(ro=null,(!yt||Ye.observed!==Qe.observed)&&Qe.onActivation(),Wt(!0),or(Wt)):(Ft(),ro=null)}T.assignSyncMedium(Ae),s.assignMedium(xe),v.assignMedium(function(Rt){return Rt({moveFocusInside:Tn,focusInside:mt})});const rr=k(tn,In)(qe);var Sr=n.forwardRef(function(Qe,Ye){return n.createElement(L,(0,o.Z)({sideCar:rr,ref:Ye},Qe))}),Yr=L.propTypes||{},Pr=Yr.sideCar,Mn=(0,r.Z)(Yr,["sideCar"]);Sr.propTypes={};const sr=Sr;var Ar=function(Qe){var Ye=Qe.disabled,yt=Ye===void 0?!1:Ye,Ze=Qe.children,Mt=Qe.className,ot=Mt===void 0?void 0:Mt;return n.createElement("div",(0,o.Z)({},qn(u,!yt),{className:ot}),Ze)};Ar.propTypes={};const vr=Ar;var qr=function(Qe){n.useEffect(function(){var Ye=!0;return v.useMedium(function(yt){var Ze=Qe&&Qe.current;Ye&&Ze&&(yt.focusInside(Ze)||yt.moveFocusInside(Ze,null))}),function(){Ye=!1}},[Qe])};function Dr(Rt){var Qe=Rt.disabled,Ye=Rt.className,yt=Rt.children,Ze=n.useRef(null);return qr(Qe?void 0:Ze),n.createElement("div",(0,o.Z)({},qn(u,!Qe),{ref:Ze,className:Ye}),yt)}Dr.propTypes={},Dr.defaultProps={disabled:!1,className:void 0};const eo=Dr;var Vo=function(Qe){var Ye=Qe.children,yt=Qe.className;return n.createElement("div",(0,o.Z)({},qn(c,!0),{className:yt}),Ye)};Vo.propTypes={},Vo.defaultProps={className:void 0};const Bn=Vo,ar=null,rn=sr},739847:function(b,l){"use strict";/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,_=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,O=e?Symbol.for("react.block"):60121,P=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function S(s){if(typeof s=="object"&&s!==null){var v=s.$$typeof;switch(v){case r:switch(s=s.type,s){case f:case d:case n:case i:case a:case g:return s;default:switch(s=s&&s.$$typeof,s){case u:case h:case y:case p:case c:return s;default:return v}}case o:return v}}}function T(s){return S(s)===d}l.AsyncMode=f,l.ConcurrentMode=d,l.ContextConsumer=u,l.ContextProvider=c,l.Element=r,l.ForwardRef=h,l.Fragment=n,l.Lazy=y,l.Memo=p,l.Portal=o,l.Profiler=i,l.StrictMode=a,l.Suspense=g,l.isAsyncMode=function(s){return T(s)||S(s)===f},l.isConcurrentMode=T,l.isContextConsumer=function(s){return S(s)===u},l.isContextProvider=function(s){return S(s)===c},l.isElement=function(s){return typeof s=="object"&&s!==null&&s.$$typeof===r},l.isForwardRef=function(s){return S(s)===h},l.isFragment=function(s){return S(s)===n},l.isLazy=function(s){return S(s)===y},l.isMemo=function(s){return S(s)===p},l.isPortal=function(s){return S(s)===o},l.isProfiler=function(s){return S(s)===i},l.isStrictMode=function(s){return S(s)===a},l.isSuspense=function(s){return S(s)===g},l.isValidElementType=function(s){return typeof s=="string"||typeof s=="function"||s===n||s===d||s===i||s===a||s===g||s===_||typeof s=="object"&&s!==null&&(s.$$typeof===y||s.$$typeof===p||s.$$typeof===c||s.$$typeof===u||s.$$typeof===h||s.$$typeof===P||s.$$typeof===C||s.$$typeof===A||s.$$typeof===O)},l.typeOf=S},870752:function(b,l,e){"use strict";b.exports=e(739847)},155650:function(b,l,e){"use strict";e.r(l),e.d(l,{polyfill:()=>a});function r(){var i=this.constructor.getDerivedStateFromProps(this.props,this.state);i!=null&&this.setState(i)}function o(i){function c(u){var f=this.constructor.getDerivedStateFromProps(i,u);return f??null}this.setState(c.bind(this))}function n(i,c){try{var u=this.props,f=this.state;this.props=i,this.state=c,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(u,f)}finally{this.props=u,this.state=f}}r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,n.__suppressDeprecationWarning=!0;function a(i){var c=i.prototype;if(!c||!c.isReactComponent)throw new Error("Can only polyfill class components");if(typeof i.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function")return i;var u=null,f=null,d=null;if(typeof c.componentWillMount=="function"?u="componentWillMount":typeof c.UNSAFE_componentWillMount=="function"&&(u="UNSAFE_componentWillMount"),typeof c.componentWillReceiveProps=="function"?f="componentWillReceiveProps":typeof c.UNSAFE_componentWillReceiveProps=="function"&&(f="UNSAFE_componentWillReceiveProps"),typeof c.componentWillUpdate=="function"?d="componentWillUpdate":typeof c.UNSAFE_componentWillUpdate=="function"&&(d="UNSAFE_componentWillUpdate"),u!==null||f!==null||d!==null){var h=i.displayName||i.name,g=typeof i.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.

`+h+" uses "+g+" but also contains the following legacy lifecycles:"+(u!==null?`
  `+u:"")+(f!==null?`
  `+f:"")+(d!==null?`
  `+d:"")+`

The above lifecycles should be removed. Learn more about this warning here:
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof i.getDerivedStateFromProps=="function"&&(c.componentWillMount=r,c.componentWillReceiveProps=o),typeof c.getSnapshotBeforeUpdate=="function"){if(typeof c.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");c.componentWillUpdate=n;var _=c.componentDidUpdate;c.componentDidUpdate=function(y,O,P){var C=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:P;_.call(this,y,O,C)}}return i}},569461:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.bodyOpenClassName=l.portalClassName=void 0;var r=Object.assign||function(W){for(var F=1;F<arguments.length;F++){var G=arguments[F];for(var k in G)Object.prototype.hasOwnProperty.call(G,k)&&(W[k]=G[k])}return W},o=function(){function W(F,G){for(var k=0;k<G.length;k++){var x=G[k];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(F,x.key,x)}}return function(F,G,k){return G&&W(F.prototype,G),k&&W(F,k),F}}(),n=e(174161),a=C(n),i=e(233284),c=C(i),u=e(795478),f=C(u),d=e(54134),h=C(d),g=e(112174),_=P(g),p=e(957681),y=C(p),O=e(155650);function P(W){if(W&&W.__esModule)return W;var F={};if(W!=null)for(var G in W)Object.prototype.hasOwnProperty.call(W,G)&&(F[G]=W[G]);return F.default=W,F}function C(W){return W&&W.__esModule?W:{default:W}}function A(W,F){if(!(W instanceof F))throw new TypeError("Cannot call a class as a function")}function S(W,F){if(!W)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F&&(typeof F=="object"||typeof F=="function")?F:W}function T(W,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof F);W.prototype=Object.create(F&&F.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),F&&(Object.setPrototypeOf?Object.setPrototypeOf(W,F):W.__proto__=F)}var s=l.portalClassName="ReactModalPortal",v=l.bodyOpenClassName="ReactModal__Body--open",m=c.default.createPortal!==void 0,E=function(){return m?c.default.createPortal:c.default.unstable_renderSubtreeIntoContainer};function I(W){return W()}var L=function(W){T(F,W);function F(){var G,k,x,M;A(this,F);for(var B=arguments.length,R=Array(B),U=0;U<B;U++)R[U]=arguments[U];return M=(k=(x=S(this,(G=F.__proto__||Object.getPrototypeOf(F)).call.apply(G,[this].concat(R))),x),x.removePortal=function(){!m&&c.default.unmountComponentAtNode(x.node);var j=I(x.props.parentSelector);j?j.removeChild(x.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},x.portalRef=function(j){x.portal=j},x.renderPortal=function(j){var $=E(),ee=$(x,a.default.createElement(h.default,r({defaultStyles:F.defaultStyles},j)),x.node);x.portalRef(ee)},k),S(x,M)}return o(F,[{key:"componentDidMount",value:function(){if(p.canUseDOM){m||(this.node=document.createElement("div")),this.node.className=this.props.portalClassName;var k=I(this.props.parentSelector);k.appendChild(this.node),!m&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(k){var x=I(k.parentSelector),M=I(this.props.parentSelector);return{prevParent:x,nextParent:M}}},{key:"componentDidUpdate",value:function(k,x,M){if(p.canUseDOM){var B=this.props,R=B.isOpen,U=B.portalClassName;k.portalClassName!==U&&(this.node.className=U);var j=M.prevParent,$=M.nextParent;$!==j&&(j.removeChild(this.node),$.appendChild(this.node)),!(!k.isOpen&&!R)&&!m&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!p.canUseDOM||!this.node||!this.portal)){var k=this.portal.state,x=Date.now(),M=k.isOpen&&this.props.closeTimeoutMS&&(k.closesAt||x+this.props.closeTimeoutMS);M?(k.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,M-x)):this.removePortal()}}},{key:"render",value:function(){if(!p.canUseDOM||!m)return null;!this.node&&m&&(this.node=document.createElement("div"));var k=E();return k(a.default.createElement(h.default,r({ref:this.portalRef,defaultStyles:F.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(k){_.setElement(k)}}]),F}(n.Component);L.propTypes={isOpen:f.default.bool.isRequired,style:f.default.shape({content:f.default.object,overlay:f.default.object}),portalClassName:f.default.string,bodyOpenClassName:f.default.string,htmlOpenClassName:f.default.string,className:f.default.oneOfType([f.default.string,f.default.shape({base:f.default.string.isRequired,afterOpen:f.default.string.isRequired,beforeClose:f.default.string.isRequired})]),overlayClassName:f.default.oneOfType([f.default.string,f.default.shape({base:f.default.string.isRequired,afterOpen:f.default.string.isRequired,beforeClose:f.default.string.isRequired})]),appElement:f.default.instanceOf(y.default),onAfterOpen:f.default.func,onRequestClose:f.default.func,closeTimeoutMS:f.default.number,ariaHideApp:f.default.bool,shouldFocusAfterRender:f.default.bool,shouldCloseOnOverlayClick:f.default.bool,shouldReturnFocusAfterClose:f.default.bool,parentSelector:f.default.func,aria:f.default.object,data:f.default.object,role:f.default.string,contentLabel:f.default.string,shouldCloseOnEsc:f.default.bool,overlayRef:f.default.func,contentRef:f.default.func},L.defaultProps={isOpen:!1,portalClassName:s,bodyOpenClassName:v,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,parentSelector:function(){return document.body}},L.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,O.polyfill)(L),l.default=L},54134:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=Object.assign||function(k){for(var x=1;x<arguments.length;x++){var M=arguments[x];for(var B in M)Object.prototype.hasOwnProperty.call(M,B)&&(k[B]=M[B])}return k},o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},n=function(){function k(x,M){for(var B=0;B<M.length;B++){var R=M[B];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(x,R.key,R)}}return function(x,M,B){return M&&k(x.prototype,M),B&&k(x,B),x}}(),a=e(174161),i=s(a),c=e(795478),u=s(c),f=e(296807),d=T(f),h=e(575513),g=s(h),_=e(112174),p=T(_),y=e(625765),O=T(y),P=e(957681),C=s(P),A=e(397683),S=s(A);e(151135);function T(k){if(k&&k.__esModule)return k;var x={};if(k!=null)for(var M in k)Object.prototype.hasOwnProperty.call(k,M)&&(x[M]=k[M]);return x.default=k,x}function s(k){return k&&k.__esModule?k:{default:k}}function v(k,x){if(!(k instanceof x))throw new TypeError("Cannot call a class as a function")}function m(k,x){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:k}function E(k,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);k.prototype=Object.create(x&&x.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(k,x):k.__proto__=x)}var I={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},L=9,W=27,F=0,G=function(k){E(x,k);function x(M){v(this,x);var B=m(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,M));return B.setOverlayRef=function(R){B.overlay=R,B.props.overlayRef&&B.props.overlayRef(R)},B.setContentRef=function(R){B.content=R,B.props.contentRef&&B.props.contentRef(R)},B.afterClose=function(){var R=B.props,U=R.appElement,j=R.ariaHideApp,$=R.htmlOpenClassName,ee=R.bodyOpenClassName;ee&&O.remove(document.body,ee),$&&O.remove(document.getElementsByTagName("html")[0],$),j&&F>0&&(F-=1,F===0&&p.show(U)),B.props.shouldFocusAfterRender&&(B.props.shouldReturnFocusAfterClose?(d.returnFocus(),d.teardownScopedFocus()):d.popWithoutFocus()),B.props.onAfterClose&&B.props.onAfterClose(),S.default.deregister(B)},B.open=function(){B.beforeOpen(),B.state.afterOpen&&B.state.beforeClose?(clearTimeout(B.closeTimer),B.setState({beforeClose:!1})):(B.props.shouldFocusAfterRender&&(d.setupScopedFocus(B.node),d.markForFocusLater()),B.setState({isOpen:!0},function(){B.setState({afterOpen:!0}),B.props.isOpen&&B.props.onAfterOpen&&B.props.onAfterOpen({overlayEl:B.overlay,contentEl:B.content})}))},B.close=function(){B.props.closeTimeoutMS>0?B.closeWithTimeout():B.closeWithoutTimeout()},B.focusContent=function(){return B.content&&!B.contentHasFocus()&&B.content.focus()},B.closeWithTimeout=function(){var R=Date.now()+B.props.closeTimeoutMS;B.setState({beforeClose:!0,closesAt:R},function(){B.closeTimer=setTimeout(B.closeWithoutTimeout,B.state.closesAt-Date.now())})},B.closeWithoutTimeout=function(){B.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},B.afterClose)},B.handleKeyDown=function(R){R.keyCode===L&&(0,g.default)(B.content,R),B.props.shouldCloseOnEsc&&R.keyCode===W&&(R.stopPropagation(),B.requestClose(R))},B.handleOverlayOnClick=function(R){B.shouldClose===null&&(B.shouldClose=!0),B.shouldClose&&B.props.shouldCloseOnOverlayClick&&(B.ownerHandlesClose()?B.requestClose(R):B.focusContent()),B.shouldClose=null},B.handleContentOnMouseUp=function(){B.shouldClose=!1},B.handleOverlayOnMouseDown=function(R){!B.props.shouldCloseOnOverlayClick&&R.target==B.overlay&&R.preventDefault()},B.handleContentOnClick=function(){B.shouldClose=!1},B.handleContentOnMouseDown=function(){B.shouldClose=!1},B.requestClose=function(R){return B.ownerHandlesClose()&&B.props.onRequestClose(R)},B.ownerHandlesClose=function(){return B.props.onRequestClose},B.shouldBeClosed=function(){return!B.state.isOpen&&!B.state.beforeClose},B.contentHasFocus=function(){return document.activeElement===B.content||B.content.contains(document.activeElement)},B.buildClassName=function(R,U){var j=(typeof U>"u"?"undefined":o(U))==="object"?U:{base:I[R],afterOpen:I[R]+"--after-open",beforeClose:I[R]+"--before-close"},$=j.base;return B.state.afterOpen&&($=$+" "+j.afterOpen),B.state.beforeClose&&($=$+" "+j.beforeClose),typeof U=="string"&&U?$+" "+U:$},B.attributesFromObject=function(R,U){return Object.keys(U).reduce(function(j,$){return j[R+"-"+$]=U[$],j},{})},B.state={afterOpen:!1,beforeClose:!1},B.shouldClose=null,B.moveFromContentToOverlay=null,B}return n(x,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(B,R){this.props.isOpen&&!B.isOpen?this.open():!this.props.isOpen&&B.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!R.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer)}},{key:"beforeOpen",value:function(){var B=this.props,R=B.appElement,U=B.ariaHideApp,j=B.htmlOpenClassName,$=B.bodyOpenClassName;$&&O.add(document.body,$),j&&O.add(document.getElementsByTagName("html")[0],j),U&&(F+=1,p.hide(R)),S.default.register(this)}},{key:"render",value:function(){var B=this.props,R=B.id,U=B.className,j=B.overlayClassName,$=B.defaultStyles,ee=U?{}:$.content,te=j?{}:$.overlay;return this.shouldBeClosed()?null:i.default.createElement("div",{ref:this.setOverlayRef,className:this.buildClassName("overlay",j),style:r({},te,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},i.default.createElement("div",r({id:R,ref:this.setContentRef,style:r({},ee,this.props.style.content),className:this.buildClassName("content",U),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",this.props.aria||{}),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),this.props.children))}}]),x}(a.Component);G.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},G.propTypes={isOpen:u.default.bool.isRequired,defaultStyles:u.default.shape({content:u.default.object,overlay:u.default.object}),style:u.default.shape({content:u.default.object,overlay:u.default.object}),className:u.default.oneOfType([u.default.string,u.default.object]),overlayClassName:u.default.oneOfType([u.default.string,u.default.object]),bodyOpenClassName:u.default.string,htmlOpenClassName:u.default.string,ariaHideApp:u.default.bool,appElement:u.default.instanceOf(C.default),onAfterOpen:u.default.func,onAfterClose:u.default.func,onRequestClose:u.default.func,closeTimeoutMS:u.default.number,shouldFocusAfterRender:u.default.bool,shouldCloseOnOverlayClick:u.default.bool,shouldReturnFocusAfterClose:u.default.bool,role:u.default.string,contentLabel:u.default.string,aria:u.default.object,data:u.default.object,children:u.default.node,shouldCloseOnEsc:u.default.bool,overlayRef:u.default.func,contentRef:u.default.func,id:u.default.string,testId:u.default.string},l.default=G,b.exports=l.default},112174:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.assertNodeList=c,l.setElement=u,l.validateElement=f,l.hide=d,l.show=h,l.documentNotReadyOrSSRTesting=g,l.resetForTesting=_;var r=e(497681),o=a(r),n=e(957681);function a(p){return p&&p.__esModule?p:{default:p}}var i=null;function c(p,y){if(!p||!p.length)throw new Error("react-modal: No elements were found for selector "+y+".")}function u(p){var y=p;if(typeof y=="string"&&n.canUseDOM){var O=document.querySelectorAll(y);c(O,y),y="length"in O?O[0]:O}return i=y||i,i}function f(p){return!p&&!i?((0,o.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),!1):!0}function d(p){f(p)&&(p||i).setAttribute("aria-hidden","true")}function h(p){f(p)&&(p||i).removeAttribute("aria-hidden")}function g(){i=null}function _(){i=null}},151135:function(b,l,e){"use strict";var r=e(397683),o=n(r);function n(d){return d&&d.__esModule?d:{default:d}}var a=void 0,i=void 0,c=[];function u(){c.length!==0&&c[c.length-1].focusContent()}function f(d,h){(!a||!i)&&(a=document.createElement("div"),a.setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",u),i=a.cloneNode(),i.addEventListener("focus",u)),c=h,c.length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==i&&document.body.appendChild(i)):(a.parentElement&&a.parentElement.removeChild(a),i.parentElement&&i.parentElement.removeChild(i))}o.default.subscribe(f)},625765:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.dumpClassLists=o;var e={},r={};function o(){if(0)var d,h,g,_}var n=function(h,g){return h[g]||(h[g]=0),h[g]+=1,g},a=function(h,g){return h[g]&&(h[g]-=1),g},i=function(h,g,_){_.forEach(function(p){n(g,p),h.add(p)})},c=function(h,g,_){_.forEach(function(p){a(g,p),g[p]===0&&h.remove(p)})},u=l.add=function(h,g){return i(h.classList,h.nodeName.toLowerCase()=="html"?e:r,g.split(" "))},f=l.remove=function(h,g){return c(h.classList,h.nodeName.toLowerCase()=="html"?e:r,g.split(" "))}},296807:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.handleBlur=u,l.handleFocus=f,l.markForFocusLater=d,l.returnFocus=h,l.popWithoutFocus=g,l.setupScopedFocus=_,l.teardownScopedFocus=p;var r=e(151303),o=n(r);function n(y){return y&&y.__esModule?y:{default:y}}var a=[],i=null,c=!1;function u(){c=!0}function f(){if(c){if(c=!1,!i)return;setTimeout(function(){if(!i.contains(document.activeElement)){var y=(0,o.default)(i)[0]||i;y.focus()}},0)}}function d(){a.push(document.activeElement)}function h(){var y=null;try{a.length!==0&&(y=a.pop(),y.focus());return}catch{console.warn(["You tried to return focus to",y,"but it is not in the DOM anymore"].join(" "))}}function g(){a.length>0&&a.pop()}function _(y){i=y,window.addEventListener?(window.addEventListener("blur",u,!1),document.addEventListener("focus",f,!0)):(window.attachEvent("onBlur",u),document.attachEvent("onFocus",f))}function p(){i=null,window.addEventListener?(window.removeEventListener("blur",u),document.removeEventListener("focus",f)):(window.detachEvent("onBlur",u),document.detachEvent("onFocus",f))}},397683:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function e(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}var r=function n(){var a=this;e(this,n),this.register=function(i){a.openInstances.indexOf(i)===-1&&(a.openInstances.push(i),a.emit("register"))},this.deregister=function(i){var c=a.openInstances.indexOf(i);c!==-1&&(a.openInstances.splice(c,1),a.emit("deregister"))},this.subscribe=function(i){a.subscribers.push(i)},this.emit=function(i){a.subscribers.forEach(function(c){return c(i,a.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},o=new r;l.default=o,b.exports=l.default},957681:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.canUseDOM=void 0;var r=e(61551),o=n(r);function n(u){return u&&u.__esModule?u:{default:u}}var a=o.default,i=a.canUseDOM?window.HTMLElement:{},c=l.canUseDOM=a.canUseDOM;l.default=i},575513:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=e(151303),o=n(r);function n(i){return i&&i.__esModule?i:{default:i}}function a(i,c){var u=(0,o.default)(i);if(!u.length){c.preventDefault();return}var f=void 0,d=c.shiftKey,h=u[0],g=u[u.length-1];if(i===document.activeElement){if(!d)return;f=g}if(g===document.activeElement&&!d&&(f=h),h===document.activeElement&&d&&(f=g),f){c.preventDefault(),f.focus();return}var _=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),p=_!=null&&_[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(p){var y=u.indexOf(document.activeElement);if(y>-1&&(y+=d?-1:1),f=u[y],typeof f>"u"){c.preventDefault(),f=d?g:h,f.focus();return}c.preventDefault(),f.focus()}}b.exports=l.default},151303:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;/*!
 * Adapted from jQuery UI core
 *
 * http://jqueryui.com
 *
 * Copyright 2014 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/category/ui-core/
 */var e=/input|select|textarea|button|object/;function r(c){var u=c.offsetWidth<=0&&c.offsetHeight<=0;if(u&&!c.innerHTML)return!0;var f=window.getComputedStyle(c);return u?f.getPropertyValue("overflow")!=="visible"||c.scrollWidth<=0&&c.scrollHeight<=0:f.getPropertyValue("display")=="none"}function o(c){for(var u=c;u&&u!==document.body;){if(r(u))return!1;u=u.parentNode}return!0}function n(c,u){var f=c.nodeName.toLowerCase(),d=e.test(f)&&!c.disabled||f==="a"&&c.href||u;return d&&o(c)}function a(c){var u=c.getAttribute("tabindex");u===null&&(u=void 0);var f=isNaN(u);return(f||u>=0)&&n(c,!f)}function i(c){return[].slice.call(c.querySelectorAll("*"),0).filter(a)}b.exports=l.default},552970:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=e(569461),o=n(r);function n(a){return a&&a.__esModule?a:{default:a}}l.default=o.default,b.exports=l.default},504494:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=function(){function f(d,h){for(var g=0;g<h.length;g++){var _=h[g];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(d,_.key,_)}}return function(d,h,g){return h&&f(d.prototype,h),g&&f(d,g),d}}(),o=e(174161),n=e(233284);function a(f,d){if(!(f instanceof d))throw new TypeError("Cannot call a class as a function")}function i(f,d){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:f}function c(f,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);f.prototype=Object.create(d&&d.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(f,d):f.__proto__=d)}var u=function(f){c(d,f);function d(){return a(this,d),i(this,(d.__proto__||Object.getPrototypeOf(d)).apply(this,arguments))}return r(d,[{key:"componentDidMount",value:function(){this.props.innerRef((0,n.findDOMNode)(this))}},{key:"componentDidUpdate",value:function(g){g.children!==this.props.children&&this.props.innerRef((0,n.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),d}(o.Component);l.default=u},346905:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=e(504494);Object.defineProperty(l,"default",{enumerable:!0,get:function(){return o(r).default}});function o(n){return n&&n.__esModule?n:{default:n}}},662781:function(b,l,e){"use strict";e.d(l,{D:()=>_});var r=e(174161),o=e(233284),n=e(840615),a=e(872939),i=e.n(a),c=function(y){return Array.isArray(y)?y[0]:y},u=function(y){if(typeof y=="function"){for(var O=arguments.length,P=new Array(O>1?O-1:0),C=1;C<O;C++)P[C-1]=arguments[C];return y.apply(void 0,P)}},f=function(y,O){if(typeof y=="function")return u(y,O);y!=null&&(y.current=O)},d=function(y){return y.reduce(function(O,P){var C=P[0],A=P[1];return O[C]=A,O},{})},h=typeof window<"u"&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,g=[],_=function(y,O,P){P===void 0&&(P={});var C=r.useRef(null),A={onFirstUpdate:P.onFirstUpdate,placement:P.placement||"bottom",strategy:P.strategy||"absolute",modifiers:P.modifiers||g},S=r.useState({styles:{popper:{position:A.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),T=S[0],s=S[1],v=r.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(L){var W=L.state,F=Object.keys(W.elements);o.flushSync(function(){s({styles:d(F.map(function(G){return[G,W.styles[G]||{}]})),attributes:d(F.map(function(G){return[G,W.attributes[G]]}))})})},requires:["computeStyles"]}},[]),m=r.useMemo(function(){var I={onFirstUpdate:A.onFirstUpdate,placement:A.placement,strategy:A.strategy,modifiers:[].concat(A.modifiers,[v,{name:"applyStyles",enabled:!1}])};return i()(C.current,I)?C.current||I:(C.current=I,I)},[A.onFirstUpdate,A.placement,A.strategy,A.modifiers,v]),E=r.useRef();return h(function(){E.current&&E.current.setOptions(m)},[m]),h(function(){if(!(y==null||O==null)){var I=P.createPopper||n.fi,L=I(y,O,m);return E.current=L,function(){L.destroy(),E.current=null}}},[y,O,P.createPopper]),{state:E.current?E.current.state:null,styles:T.styles,attributes:T.attributes,update:E.current?E.current.update:null,forceUpdate:E.current?E.current.forceUpdate:null}}},331474:function(b,l,e){"use strict";e.r(l),e.d(l,{connect:()=>z,connectAdvanced:()=>W,useDispatch:()=>Ke,useSelector:()=>Ue,batch:()=>Xe.unstable_batchedUpdates,useStore:()=>ge,shallowEqual:()=>G,ReactReduxContext:()=>o,createDispatchHook:()=>Be,Provider:()=>p,createSelectorHook:()=>Le,createStoreHook:()=>ae});var r=e(174161),o=r.createContext(null);const n=null;function a(Fe){Fe()}var i=a,c=function(ht){return i=ht},u=function(){return i},f={notify:function(){}};function d(){var Fe=u(),ht=null,Ne=null;return{clear:function(){ht=null,Ne=null},notify:function(){Fe(function(){for(var we=ht;we;)we.callback(),we=we.next})},get:function(){for(var we=[],$e=ht;$e;)we.push($e),$e=$e.next;return we},subscribe:function(we){var $e=!0,Ot=Ne={callback:we,next:null,prev:Ne};return Ot.prev?Ot.prev.next=Ot:ht=Ot,function(){!$e||ht===null||($e=!1,Ot.next?Ot.next.prev=Ot.prev:Ne=Ot.prev,Ot.prev?Ot.prev.next=Ot.next:ht=Ot.next)}}}}var h=function(){function Fe(Ne,Ce){this.store=Ne,this.parentSub=Ce,this.unsubscribe=null,this.listeners=f,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var ht=Fe.prototype;return ht.addNestedSub=function(Ce){return this.trySubscribe(),this.listeners.subscribe(Ce)},ht.notifyNestedSubs=function(){this.listeners.notify()},ht.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},ht.isSubscribed=function(){return!!this.unsubscribe},ht.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=d())},ht.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=f)},Fe}(),g=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?r.useLayoutEffect:r.useEffect;function _(Fe){var ht=Fe.store,Ne=Fe.context,Ce=Fe.children,we=(0,r.useMemo)(function(){var Pt=new h(ht);return Pt.onStateChange=Pt.notifyNestedSubs,{store:ht,subscription:Pt}},[ht]),$e=(0,r.useMemo)(function(){return ht.getState()},[ht]);g(function(){var Pt=we.subscription;return Pt.trySubscribe(),$e!==ht.getState()&&Pt.notifyNestedSubs(),function(){Pt.tryUnsubscribe(),Pt.onStateChange=null}},[we,$e]);var Ot=Ne||o;return r.createElement(Ot.Provider,{value:we},Ce)}const p=_;var y=e(397320),O=e(539474),P=e(192628),C=e.n(P),A=e(870752),S=[],T=[null,null],s=function(ht){try{return JSON.stringify(ht)}catch{return String(ht)}};function v(Fe,ht){var Ne=Fe[1];return[ht.payload,Ne+1]}function m(Fe,ht,Ne){g(function(){return Fe.apply(void 0,ht)},Ne)}function E(Fe,ht,Ne,Ce,we,$e,Ot){Fe.current=Ce,ht.current=we,Ne.current=!1,$e.current&&($e.current=null,Ot())}function I(Fe,ht,Ne,Ce,we,$e,Ot,Pt,Ie,Bt){if(Fe){var mt=!1,rt=null,ce=function(){if(!mt){var st=ht.getState(),vt,ze;try{vt=Ce(st,we.current)}catch(It){ze=It,rt=It}ze||(rt=null),vt===$e.current?Ot.current||Ie():($e.current=vt,Pt.current=vt,Ot.current=!0,Bt({type:"STORE_UPDATED",payload:{error:ze}}))}};Ne.onStateChange=ce,Ne.trySubscribe(),ce();var Re=function(){if(mt=!0,Ne.tryUnsubscribe(),Ne.onStateChange=null,rt)throw rt};return Re}}var L=function(){return[null,0]};function W(Fe,ht){ht===void 0&&(ht={});var Ne=ht,Ce=Ne.getDisplayName,we=Ce===void 0?function(Ln){return"ConnectAdvanced("+Ln+")"}:Ce,$e=Ne.methodName,Ot=$e===void 0?"connectAdvanced":$e,Pt=Ne.renderCountProp,Ie=Pt===void 0?void 0:Pt,Bt=Ne.shouldHandleStateChanges,mt=Bt===void 0?!0:Bt,rt=Ne.storeKey,ce=rt===void 0?"store":rt,Re=Ne.withRef,nt=Re===void 0?!1:Re,st=Ne.forwardRef,vt=st===void 0?!1:st,ze=Ne.context,It=ze===void 0?o:ze,on=(0,O.Z)(Ne,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);if(0)var Pn;var Yn=It;return function(bn){var ir=bn.displayName||bn.name||"Component",Zn=we(ir),$n=(0,y.Z)({},on,{getDisplayName:we,methodName:Ot,renderCountProp:Ie,shouldHandleStateChanges:mt,storeKey:ce,displayName:Zn,wrappedComponentName:ir,WrappedComponent:bn}),jt=on.pure;function Rn(or){return Fe(or.dispatch,$n)}var jn=jt?r.useMemo:function(or){return or()};function Tn(or){var qn=(0,r.useMemo)(function(){var tn=or.reactReduxForwardedRef,In=(0,O.Z)(or,["reactReduxForwardedRef"]);return[or.context,tn,In]},[or]),Hr=qn[0],fo=qn[1],Jr=qn[2],ro=(0,r.useMemo)(function(){return Hr&&Hr.Consumer&&(0,A.isContextConsumer)(r.createElement(Hr.Consumer,null))?Hr:Yn},[Hr,Yn]),Xt=(0,r.useContext)(ro),Je=!!or.store&&!!or.store.getState&&!!or.store.dispatch,At=!!Xt&&!!Xt.store,xt=Je?or.store:Xt.store,Qt=(0,r.useMemo)(function(){return Rn(xt)},[xt]),qt=(0,r.useMemo)(function(){if(!mt)return T;var tn=new h(xt,Je?null:Xt.subscription),In=tn.notifyNestedSubs.bind(tn);return[tn,In]},[xt,Je,Xt]),Te=qt[0],Gt=qt[1],un=(0,r.useMemo)(function(){return Je?Xt:(0,y.Z)({},Xt,{subscription:Te})},[Je,Xt,Te]),Vt=(0,r.useReducer)(v,S,L),Dn=Vt[0],Wt=Dn[0],Pe=Vt[1];if(Wt&&Wt.error)throw Wt.error;var xe=(0,r.useRef)(),Ae=(0,r.useRef)(Jr),qe=(0,r.useRef)(),wt=(0,r.useRef)(!1),kt=jn(function(){return qe.current&&Jr===Ae.current?qe.current:Qt(xt.getState(),Jr)},[xt,Wt,Jr]);m(E,[Ae,xe,wt,Jr,kt,qe,Gt]),m(I,[mt,xt,Te,Qt,Ae,xe,wt,qe,Gt,Pe],[xt,Te,Qt]);var ut=(0,r.useMemo)(function(){return r.createElement(bn,(0,y.Z)({},kt,{ref:fo}))},[fo,bn,kt]),Ft=(0,r.useMemo)(function(){return mt?r.createElement(ro.Provider,{value:un},ut):ut},[ro,ut,un]);return Ft}var Nn=jt?r.memo(Tn):Tn;if(Nn.WrappedComponent=bn,Nn.displayName=Tn.displayName=Zn,vt){var cn=r.forwardRef(function(qn,Hr){return r.createElement(Nn,(0,y.Z)({},qn,{reactReduxForwardedRef:Hr}))});return cn.displayName=Zn,cn.WrappedComponent=bn,C()(cn,bn)}return C()(Nn,bn)}}function F(Fe,ht){return Fe===ht?Fe!==0||ht!==0||1/Fe===1/ht:Fe!==Fe&&ht!==ht}function G(Fe,ht){if(F(Fe,ht))return!0;if(typeof Fe!="object"||Fe===null||typeof ht!="object"||ht===null)return!1;var Ne=Object.keys(Fe),Ce=Object.keys(ht);if(Ne.length!==Ce.length)return!1;for(var we=0;we<Ne.length;we++)if(!Object.prototype.hasOwnProperty.call(ht,Ne[we])||!F(Fe[Ne[we]],ht[Ne[we]]))return!1;return!0}function k(Fe,ht){var Ne={},Ce=function(Ot){var Pt=Fe[Ot];typeof Pt=="function"&&(Ne[Ot]=function(){return ht(Pt.apply(void 0,arguments))})};for(var we in Fe)Ce(we);return Ne}function x(Fe){return function(Ne,Ce){var we=Fe(Ne,Ce);function $e(){return we}return $e.dependsOnOwnProps=!1,$e}}function M(Fe){return Fe.dependsOnOwnProps!==null&&Fe.dependsOnOwnProps!==void 0?!!Fe.dependsOnOwnProps:Fe.length!==1}function B(Fe,ht){return function(Ce,we){var $e=we.displayName,Ot=function(Ie,Bt){return Ot.dependsOnOwnProps?Ot.mapToProps(Ie,Bt):Ot.mapToProps(Ie)};return Ot.dependsOnOwnProps=!0,Ot.mapToProps=function(Ie,Bt){Ot.mapToProps=Fe,Ot.dependsOnOwnProps=M(Fe);var mt=Ot(Ie,Bt);return typeof mt=="function"&&(Ot.mapToProps=mt,Ot.dependsOnOwnProps=M(mt),mt=Ot(Ie,Bt)),mt},Ot}}function R(Fe){return typeof Fe=="function"?B(Fe,"mapDispatchToProps"):void 0}function U(Fe){return Fe?void 0:x(function(ht){return{dispatch:ht}})}function j(Fe){return Fe&&typeof Fe=="object"?x(function(ht){return k(Fe,ht)}):void 0}const $=[R,U,j];function ee(Fe){return typeof Fe=="function"?B(Fe,"mapStateToProps"):void 0}function te(Fe){return Fe?void 0:x(function(){return{}})}const ie=[ee,te];function ne(Fe,ht,Ne){return(0,y.Z)({},Ne,Fe,ht)}function pe(Fe){return function(Ne,Ce){var we=Ce.displayName,$e=Ce.pure,Ot=Ce.areMergedPropsEqual,Pt=!1,Ie;return function(mt,rt,ce){var Re=Fe(mt,rt,ce);return Pt?(!$e||!Ot(Re,Ie))&&(Ie=Re):(Pt=!0,Ie=Re),Ie}}}function oe(Fe){return typeof Fe=="function"?pe(Fe):void 0}function q(Fe){return Fe?void 0:function(){return ne}}const J=[oe,q];function me(Fe,ht,Ne,Ce){return function($e,Ot){return Ne(Fe($e,Ot),ht(Ce,Ot),Ot)}}function re(Fe,ht,Ne,Ce,we){var $e=we.areStatesEqual,Ot=we.areOwnPropsEqual,Pt=we.areStatePropsEqual,Ie=!1,Bt,mt,rt,ce,Re;function nt(on,Pn){return Bt=on,mt=Pn,rt=Fe(Bt,mt),ce=ht(Ce,mt),Re=Ne(rt,ce,mt),Ie=!0,Re}function st(){return rt=Fe(Bt,mt),ht.dependsOnOwnProps&&(ce=ht(Ce,mt)),Re=Ne(rt,ce,mt),Re}function vt(){return Fe.dependsOnOwnProps&&(rt=Fe(Bt,mt)),ht.dependsOnOwnProps&&(ce=ht(Ce,mt)),Re=Ne(rt,ce,mt),Re}function ze(){var on=Fe(Bt,mt),Pn=!Pt(on,rt);return rt=on,Pn&&(Re=Ne(rt,ce,mt)),Re}function It(on,Pn){var Yn=!Ot(Pn,mt),Ln=!$e(on,Bt);return Bt=on,mt=Pn,Yn&&Ln?st():Yn?vt():Ln?ze():Re}return function(Pn,Yn){return Ie?It(Pn,Yn):nt(Pn,Yn)}}function he(Fe,ht){var Ne=ht.initMapStateToProps,Ce=ht.initMapDispatchToProps,we=ht.initMergeProps,$e=(0,O.Z)(ht,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),Ot=Ne(Fe,$e),Pt=Ce(Fe,$e),Ie=we(Fe,$e),Bt=$e.pure?re:me;return Bt(Ot,Pt,Ie,Fe,$e)}function Ee(Fe,ht,Ne){for(var Ce=ht.length-1;Ce>=0;Ce--){var we=ht[Ce](Fe);if(we)return we}return function($e,Ot){throw new Error("Invalid value of type "+typeof Fe+" for "+Ne+" argument when connecting component "+Ot.wrappedComponentName+".")}}function fe(Fe,ht){return Fe===ht}function H(Fe){var ht=Fe===void 0?{}:Fe,Ne=ht.connectHOC,Ce=Ne===void 0?W:Ne,we=ht.mapStateToPropsFactories,$e=we===void 0?ie:we,Ot=ht.mapDispatchToPropsFactories,Pt=Ot===void 0?$:Ot,Ie=ht.mergePropsFactories,Bt=Ie===void 0?J:Ie,mt=ht.selectorFactory,rt=mt===void 0?he:mt;return function(Re,nt,st,vt){vt===void 0&&(vt={});var ze=vt,It=ze.pure,on=It===void 0?!0:It,Pn=ze.areStatesEqual,Yn=Pn===void 0?fe:Pn,Ln=ze.areOwnPropsEqual,bn=Ln===void 0?G:Ln,ir=ze.areStatePropsEqual,Zn=ir===void 0?G:ir,$n=ze.areMergedPropsEqual,jt=$n===void 0?G:$n,Rn=(0,O.Z)(ze,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),jn=Ee(Re,$e,"mapStateToProps"),Tn=Ee(nt,Pt,"mapDispatchToProps"),Nn=Ee(st,Bt,"mergeProps");return Ce(rt,(0,y.Z)({methodName:"connect",getDisplayName:function(or){return"Connect("+or+")"},shouldHandleStateChanges:!!Re,initMapStateToProps:jn,initMapDispatchToProps:Tn,initMergeProps:Nn,pure:on,areStatesEqual:Yn,areOwnPropsEqual:bn,areStatePropsEqual:Zn,areMergedPropsEqual:jt},Rn))}}const z=H();function _e(){var Fe=(0,r.useContext)(o);return Fe}function ae(Fe){Fe===void 0&&(Fe=o);var ht=Fe===o?_e:function(){return(0,r.useContext)(Fe)};return function(){var Ce=ht(),we=Ce.store;return we}}var ge=ae();function Be(Fe){Fe===void 0&&(Fe=o);var ht=Fe===o?ge:ae(Fe);return function(){var Ce=ht();return Ce.dispatch}}var Ke=Be(),He=function(ht,Ne){return ht===Ne};function ye(Fe,ht,Ne,Ce){var we=(0,r.useReducer)(function(nt){return nt+1},0),$e=we[1],Ot=(0,r.useMemo)(function(){return new h(Ne,Ce)},[Ne,Ce]),Pt=(0,r.useRef)(),Ie=(0,r.useRef)(),Bt=(0,r.useRef)(),mt=(0,r.useRef)(),rt=Ne.getState(),ce;try{if(Fe!==Ie.current||rt!==Bt.current||Pt.current){var Re=Fe(rt);mt.current===void 0||!ht(Re,mt.current)?ce=Re:ce=mt.current}else ce=mt.current}catch(nt){throw Pt.current&&(nt.message+=`
The error may be correlated with this previous error:
`+Pt.current.stack+`

`),nt}return g(function(){Ie.current=Fe,Bt.current=rt,mt.current=ce,Pt.current=void 0}),g(function(){function nt(){try{var st=Ne.getState(),vt=Ie.current(st);if(ht(vt,mt.current))return;mt.current=vt,Bt.current=st}catch(ze){Pt.current=ze}$e()}return Ot.onStateChange=nt,Ot.trySubscribe(),nt(),function(){return Ot.tryUnsubscribe()}},[Ne,Ot]),ce}function Le(Fe){Fe===void 0&&(Fe=o);var ht=Fe===o?_e:function(){return(0,r.useContext)(Fe)};return function(Ce,we){we===void 0&&(we=He);var $e=ht(),Ot=$e.store,Pt=$e.subscription,Ie=ye(Ce,we,Ot,Pt);return(0,r.useDebugValue)(Ie),Ie}}var Ue=Le(),Xe=e(233284);c(Xe.unstable_batchedUpdates)},863347:function(b,l,e){"use strict";var r;e.d(l,{$A:()=>He,AW:()=>Ce,DY:()=>W,F0:()=>we,FR:()=>c,Fg:()=>ht,GV:()=>p,HJ:()=>ne,KP:()=>Ot,Oe:()=>ce,SN:()=>oe,TH:()=>y,UO:()=>E,Us:()=>f,V$:()=>L,V4:()=>J,VA:()=>Fe,WU:()=>I,Yi:()=>ie,Z5:()=>$e,_Z:()=>H,bS:()=>P,bi:()=>nt,bx:()=>v,f_:()=>q,gd:()=>d,i7:()=>rt,iG:()=>Ee,is:()=>rt,j3:()=>Ne,lk:()=>re,nA:()=>me,oQ:()=>_,pC:()=>m,pW:()=>h,qv:()=>he,s0:()=>S,ur:()=>O,us:()=>Re,w3:()=>i,xW:()=>pe});var o=e(174161),n=e(540915);/**
 * React Router v6.29.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function a(){return a=Object.assign?Object.assign.bind():function(st){for(var vt=1;vt<arguments.length;vt++){var ze=arguments[vt];for(var It in ze)Object.prototype.hasOwnProperty.call(ze,It)&&(st[It]=ze[It])}return st},a.apply(this,arguments)}const i=o.createContext(null),c=o.createContext(null),u=o.createContext(null),f=o.createContext(null),d=o.createContext(null),h=o.createContext({outlet:null,matches:[],isDataRoute:!1}),g=o.createContext(null);function _(st,vt){let{relative:ze}=vt===void 0?{}:vt;p()||(0,n.J0)(!1);let{basename:It,navigator:on}=o.useContext(f),{hash:Pn,pathname:Yn,search:Ln}=I(st,{relative:ze}),bn=Yn;return It!=="/"&&(bn=Yn==="/"?It:(0,n.RQ)([It,Yn])),on.createHref({pathname:bn,search:Ln,hash:Pn})}function p(){return o.useContext(d)!=null}function y(){return p()||(0,n.J0)(!1),o.useContext(d).location}function O(){return o.useContext(d).navigationType}function P(st){p()||(0,n.J0)(!1);let{pathname:vt}=y();return o.useMemo(()=>(0,n.LX)(st,(0,n.Cd)(vt)),[vt,st])}const C=null;function A(st){o.useContext(f).static||o.useLayoutEffect(st)}function S(){let{isDataRoute:st}=o.useContext(h);return st?z():T()}function T(){p()||(0,n.J0)(!1);let st=o.useContext(i),{basename:vt,future:ze,navigator:It}=o.useContext(f),{matches:on}=o.useContext(h),{pathname:Pn}=y(),Yn=JSON.stringify((0,n.cm)(on,ze.v7_relativeSplatPath)),Ln=o.useRef(!1);return A(()=>{Ln.current=!0}),o.useCallback(function(ir,Zn){if(Zn===void 0&&(Zn={}),!Ln.current)return;if(typeof ir=="number"){It.go(ir);return}let $n=(0,n.pC)(ir,JSON.parse(Yn),Pn,Zn.relative==="path");st==null&&vt!=="/"&&($n.pathname=$n.pathname==="/"?vt:(0,n.RQ)([vt,$n.pathname])),(Zn.replace?It.replace:It.push)($n,Zn.state,Zn)},[vt,It,Yn,Pn,st])}const s=o.createContext(null);function v(){return o.useContext(s)}function m(st){let vt=o.useContext(h).outlet;return vt&&o.createElement(s.Provider,{value:st},vt)}function E(){let{matches:st}=o.useContext(h),vt=st[st.length-1];return vt?vt.params:{}}function I(st,vt){let{relative:ze}=vt===void 0?{}:vt,{future:It}=o.useContext(f),{matches:on}=o.useContext(h),{pathname:Pn}=y(),Yn=JSON.stringify((0,n.cm)(on,It.v7_relativeSplatPath));return o.useMemo(()=>(0,n.pC)(st,JSON.parse(Yn),Pn,ze==="path"),[st,Yn,Pn,ze])}function L(st,vt){return W(st,vt)}function W(st,vt,ze,It){p()||(0,n.J0)(!1);let{navigator:on,static:Pn}=o.useContext(f),{matches:Yn}=o.useContext(h),Ln=Yn[Yn.length-1],bn=Ln?Ln.params:{},ir=Ln?Ln.pathname:"/",Zn=Ln?Ln.pathnameBase:"/",$n=Ln&&Ln.route,jt=y(),Rn;if(vt){var jn;let qn=typeof vt=="string"?(0,n.cP)(vt):vt;Zn==="/"||(jn=qn.pathname)!=null&&jn.startsWith(Zn)||(0,n.J0)(!1),Rn=qn}else Rn=jt;let Tn=Rn.pathname||"/",Nn=Tn;if(Zn!=="/"){let qn=Zn.replace(/^\//,"").split("/");Nn="/"+Tn.replace(/^\//,"").split("/").slice(qn.length).join("/")}let cn=!Pn&&ze&&ze.matches&&ze.matches.length>0?ze.matches:(0,n.fp)(st,{pathname:Nn}),or=M(cn&&cn.map(qn=>Object.assign({},qn,{params:Object.assign({},bn,qn.params),pathname:(0,n.RQ)([Zn,on.encodeLocation?on.encodeLocation(qn.pathname).pathname:qn.pathname]),pathnameBase:qn.pathnameBase==="/"?Zn:(0,n.RQ)([Zn,on.encodeLocation?on.encodeLocation(qn.pathnameBase).pathname:qn.pathnameBase])})),Yn,ze,It);return vt&&or?o.createElement(d.Provider,{value:{location:a({pathname:"/",search:"",hash:"",state:null,key:"default"},Rn),navigationType:n.aU.Pop}},or):or}function F(){let st=re(),vt=(0,n.WK)(st)?st.status+" "+st.statusText:st instanceof Error?st.message:JSON.stringify(st),ze=st instanceof Error?st.stack:null,It="rgba(200,200,200, 0.5)",on={padding:"0.5rem",backgroundColor:It},Pn={padding:"2px 4px",backgroundColor:It},Yn=null;return o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},vt),ze?o.createElement("pre",{style:on},ze):null,Yn)}const G=o.createElement(F,null);class k extends o.Component{constructor(vt){super(vt),this.state={location:vt.location,revalidation:vt.revalidation,error:vt.error}}static getDerivedStateFromError(vt){return{error:vt}}static getDerivedStateFromProps(vt,ze){return ze.location!==vt.location||ze.revalidation!=="idle"&&vt.revalidation==="idle"?{error:vt.error,location:vt.location,revalidation:vt.revalidation}:{error:vt.error!==void 0?vt.error:ze.error,location:ze.location,revalidation:vt.revalidation||ze.revalidation}}componentDidCatch(vt,ze){console.error("React Router caught the following error during render",vt,ze)}render(){return this.state.error!==void 0?o.createElement(h.Provider,{value:this.props.routeContext},o.createElement(g.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function x(st){let{routeContext:vt,match:ze,children:It}=st,on=o.useContext(i);return on&&on.static&&on.staticContext&&(ze.route.errorElement||ze.route.ErrorBoundary)&&(on.staticContext._deepestRenderedBoundaryId=ze.route.id),o.createElement(h.Provider,{value:vt},It)}function M(st,vt,ze,It){var on;if(vt===void 0&&(vt=[]),ze===void 0&&(ze=null),It===void 0&&(It=null),st==null){var Pn;if(!ze)return null;if(ze.errors)st=ze.matches;else if((Pn=It)!=null&&Pn.v7_partialHydration&&vt.length===0&&!ze.initialized&&ze.matches.length>0)st=ze.matches;else return null}let Yn=st,Ln=(on=ze)==null?void 0:on.errors;if(Ln!=null){let Zn=Yn.findIndex($n=>$n.route.id&&(Ln==null?void 0:Ln[$n.route.id])!==void 0);Zn>=0||(0,n.J0)(!1),Yn=Yn.slice(0,Math.min(Yn.length,Zn+1))}let bn=!1,ir=-1;if(ze&&It&&It.v7_partialHydration)for(let Zn=0;Zn<Yn.length;Zn++){let $n=Yn[Zn];if(($n.route.HydrateFallback||$n.route.hydrateFallbackElement)&&(ir=Zn),$n.route.id){let{loaderData:jt,errors:Rn}=ze,jn=$n.route.loader&&jt[$n.route.id]===void 0&&(!Rn||Rn[$n.route.id]===void 0);if($n.route.lazy||jn){bn=!0,ir>=0?Yn=Yn.slice(0,ir+1):Yn=[Yn[0]];break}}}return Yn.reduceRight((Zn,$n,jt)=>{let Rn,jn=!1,Tn=null,Nn=null;ze&&(Rn=Ln&&$n.route.id?Ln[$n.route.id]:void 0,Tn=$n.route.errorElement||G,bn&&(ir<0&&jt===0?(ae("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),jn=!0,Nn=null):ir===jt&&(jn=!0,Nn=$n.route.hydrateFallbackElement||null)));let cn=vt.concat(Yn.slice(0,jt+1)),or=()=>{let qn;return Rn?qn=Tn:jn?qn=Nn:$n.route.Component?qn=o.createElement($n.route.Component,null):$n.route.element?qn=$n.route.element:qn=Zn,o.createElement(x,{match:$n,routeContext:{outlet:Zn,matches:cn,isDataRoute:ze!=null},children:qn})};return ze&&($n.route.ErrorBoundary||$n.route.errorElement||jt===0)?o.createElement(k,{location:ze.location,revalidation:ze.revalidation,component:Tn,error:Rn,children:or(),routeContext:{outlet:null,matches:cn,isDataRoute:!0}}):or()},null)}var B=function(st){return st.UseBlocker="useBlocker",st.UseRevalidator="useRevalidator",st.UseNavigateStable="useNavigate",st}(B||{}),R=function(st){return st.UseBlocker="useBlocker",st.UseLoaderData="useLoaderData",st.UseActionData="useActionData",st.UseRouteError="useRouteError",st.UseNavigation="useNavigation",st.UseRouteLoaderData="useRouteLoaderData",st.UseMatches="useMatches",st.UseRevalidator="useRevalidator",st.UseNavigateStable="useNavigate",st.UseRouteId="useRouteId",st}(R||{});function U(st){return st+" must be used within a data router.  See https://reactrouter.com/v6/routers/picking-a-router."}function j(st){let vt=o.useContext(i);return vt||(0,n.J0)(!1),vt}function $(st){let vt=o.useContext(c);return vt||(0,n.J0)(!1),vt}function ee(st){let vt=o.useContext(h);return vt||(0,n.J0)(!1),vt}function te(st){let vt=ee(st),ze=vt.matches[vt.matches.length-1];return ze.route.id||(0,n.J0)(!1),ze.route.id}function ie(){return te(R.UseRouteId)}function ne(){return $(R.UseNavigation).navigation}function pe(){let st=j(B.UseRevalidator),vt=$(R.UseRevalidator);return o.useMemo(()=>({revalidate:st.router.revalidate,state:vt.revalidation}),[st.router.revalidate,vt.revalidation])}function oe(){let{matches:st,loaderData:vt}=$(R.UseMatches);return o.useMemo(()=>st.map(ze=>(0,n.WS)(ze,vt)),[st,vt])}function q(){let st=$(R.UseLoaderData),vt=te(R.UseLoaderData);if(st.errors&&st.errors[vt]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+vt+")");return}return st.loaderData[vt]}function J(st){return $(R.UseRouteLoaderData).loaderData[st]}function me(){let st=$(R.UseActionData),vt=te(R.UseLoaderData);return st.actionData?st.actionData[vt]:void 0}function re(){var st;let vt=o.useContext(g),ze=$(R.UseRouteError),It=te(R.UseRouteError);return vt!==void 0?vt:(st=ze.errors)==null?void 0:st[It]}function he(){let st=o.useContext(u);return st==null?void 0:st._data}function Ee(){let st=o.useContext(u);return st==null?void 0:st._error}let fe=0;function H(st){let{router:vt,basename:ze}=j(B.UseBlocker),It=$(R.UseBlocker),[on,Pn]=o.useState(""),Yn=o.useCallback(Ln=>{if(typeof st!="function")return!!st;if(ze==="/")return st(Ln);let{currentLocation:bn,nextLocation:ir,historyAction:Zn}=Ln;return st({currentLocation:a({},bn,{pathname:(0,n.Zn)(bn.pathname,ze)||bn.pathname}),nextLocation:a({},ir,{pathname:(0,n.Zn)(ir.pathname,ze)||ir.pathname}),historyAction:Zn})},[ze,st]);return o.useEffect(()=>{let Ln=String(++fe);return Pn(Ln),()=>vt.deleteBlocker(Ln)},[vt]),o.useEffect(()=>{on!==""&&vt.getBlocker(on,Yn)},[vt,on,Yn]),on&&It.blockers.has(on)?It.blockers.get(on):n.qp}function z(){let{router:st}=j(B.UseNavigateStable),vt=te(R.UseNavigateStable),ze=o.useRef(!1);return A(()=>{ze.current=!0}),o.useCallback(function(on,Pn){Pn===void 0&&(Pn={}),ze.current&&(typeof on=="number"?st.navigate(on):st.navigate(on,a({fromRouteId:vt},Pn)))},[st,vt])}const _e={};function ae(st,vt,ze){!vt&&!_e[st]&&(_e[st]=!0)}const ge=null;function Be(st,vt){}const Ke=(st,vt,ze)=>(""+vt+("You can use the `"+st+"` future flag to opt-in early. ")+("For more information, see "+ze+"."),void 0);function He(st,vt){(st==null?void 0:st.v7_startTransition)===void 0&&Ke("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(st==null?void 0:st.v7_relativeSplatPath)===void 0&&(!vt||!vt.v7_relativeSplatPath)&&Ke("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),vt&&(vt.v7_fetcherPersist===void 0&&Ke("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),vt.v7_normalizeFormMethod===void 0&&Ke("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),vt.v7_partialHydration===void 0&&Ke("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),vt.v7_skipActionErrorRevalidation===void 0&&Ke("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}const ye="startTransition",Le=(r||(r=e.t(o,2)))[ye];function Ue(st){let{fallbackElement:vt,router:ze,future:It}=st,[on,Pn]=React.useState(ze.state),{v7_startTransition:Yn}=It||{},Ln=React.useCallback($n=>{Yn&&Le?Le(()=>Pn($n)):Pn($n)},[Pn,Yn]);React.useLayoutEffect(()=>ze.subscribe(Ln),[ze,Ln]),React.useEffect(()=>{},[]);let bn=React.useMemo(()=>({createHref:ze.createHref,encodeLocation:ze.encodeLocation,go:$n=>ze.navigate($n),push:($n,jt,Rn)=>ze.navigate($n,{state:jt,preventScrollReset:Rn==null?void 0:Rn.preventScrollReset}),replace:($n,jt,Rn)=>ze.navigate($n,{replace:!0,state:jt,preventScrollReset:Rn==null?void 0:Rn.preventScrollReset})}),[ze]),ir=ze.basename||"/",Zn=React.useMemo(()=>({router:ze,navigator:bn,static:!1,basename:ir}),[ze,bn,ir]);return React.useEffect(()=>He(It,ze.future),[ze,It]),React.createElement(React.Fragment,null,React.createElement(i.Provider,{value:Zn},React.createElement(c.Provider,{value:on},React.createElement(we,{basename:ir,location:on.location,navigationType:on.historyAction,navigator:bn,future:{v7_relativeSplatPath:ze.future.v7_relativeSplatPath}},on.initialized||ze.future.v7_partialHydration?React.createElement(Xe,{routes:ze.routes,future:ze.future,state:on}):vt))),null)}function Xe(st){let{routes:vt,future:ze,state:It}=st;return W(vt,void 0,It,ze)}function Fe(st){let{basename:vt,children:ze,initialEntries:It,initialIndex:on,future:Pn}=st,Yn=o.useRef();Yn.current==null&&(Yn.current=(0,n.PP)({initialEntries:It,initialIndex:on,v5Compat:!0}));let Ln=Yn.current,[bn,ir]=o.useState({action:Ln.action,location:Ln.location}),{v7_startTransition:Zn}=Pn||{},$n=o.useCallback(jt=>{Zn&&Le?Le(()=>ir(jt)):ir(jt)},[ir,Zn]);return o.useLayoutEffect(()=>Ln.listen($n),[Ln,$n]),o.useEffect(()=>He(Pn),[Pn]),o.createElement(we,{basename:vt,children:ze,location:bn.location,navigationType:bn.action,navigator:Ln,future:Pn})}function ht(st){let{to:vt,replace:ze,state:It,relative:on}=st;p()||(0,n.J0)(!1);let{future:Pn,static:Yn}=o.useContext(f),{matches:Ln}=o.useContext(h),{pathname:bn}=y(),ir=S(),Zn=(0,n.pC)(vt,(0,n.cm)(Ln,Pn.v7_relativeSplatPath),bn,on==="path"),$n=JSON.stringify(Zn);return o.useEffect(()=>ir(JSON.parse($n),{replace:ze,state:It,relative:on}),[ir,$n,on,ze,It]),null}function Ne(st){return m(st.context)}function Ce(st){(0,n.J0)(!1)}function we(st){let{basename:vt="/",children:ze=null,location:It,navigationType:on=n.aU.Pop,navigator:Pn,static:Yn=!1,future:Ln}=st;p()&&(0,n.J0)(!1);let bn=vt.replace(/^\/*/,"/"),ir=o.useMemo(()=>({basename:bn,navigator:Pn,static:Yn,future:a({v7_relativeSplatPath:!1},Ln)}),[bn,Ln,Pn,Yn]);typeof It=="string"&&(It=(0,n.cP)(It));let{pathname:Zn="/",search:$n="",hash:jt="",state:Rn=null,key:jn="default"}=It,Tn=o.useMemo(()=>{let Nn=(0,n.Zn)(Zn,bn);return Nn==null?null:{location:{pathname:Nn,search:$n,hash:jt,state:Rn,key:jn},navigationType:on}},[bn,Zn,$n,jt,Rn,jn,on]);return Tn==null?null:o.createElement(f.Provider,{value:ir},o.createElement(d.Provider,{children:ze,value:Tn}))}function $e(st){let{children:vt,location:ze}=st;return L(rt(vt),ze)}function Ot(st){let{children:vt,errorElement:ze,resolve:It}=st;return o.createElement(Bt,{resolve:It,errorElement:ze},o.createElement(mt,null,vt))}var Pt=function(st){return st[st.pending=0]="pending",st[st.success=1]="success",st[st.error=2]="error",st}(Pt||{});const Ie=new Promise(()=>{});class Bt extends o.Component{constructor(vt){super(vt),this.state={error:null}}static getDerivedStateFromError(vt){return{error:vt}}componentDidCatch(vt,ze){console.error("<Await> caught the following error during render",vt,ze)}render(){let{children:vt,errorElement:ze,resolve:It}=this.props,on=null,Pn=Pt.pending;if(!(It instanceof Promise))Pn=Pt.success,on=Promise.resolve(),Object.defineProperty(on,"_tracked",{get:()=>!0}),Object.defineProperty(on,"_data",{get:()=>It});else if(this.state.error){Pn=Pt.error;let Yn=this.state.error;on=Promise.reject().catch(()=>{}),Object.defineProperty(on,"_tracked",{get:()=>!0}),Object.defineProperty(on,"_error",{get:()=>Yn})}else It._tracked?(on=It,Pn="_error"in on?Pt.error:"_data"in on?Pt.success:Pt.pending):(Pn=Pt.pending,Object.defineProperty(It,"_tracked",{get:()=>!0}),on=It.then(Yn=>Object.defineProperty(It,"_data",{get:()=>Yn}),Yn=>Object.defineProperty(It,"_error",{get:()=>Yn})));if(Pn===Pt.error&&on._error instanceof n.X3)throw Ie;if(Pn===Pt.error&&!ze)throw on._error;if(Pn===Pt.error)return o.createElement(u.Provider,{value:on,children:ze});if(Pn===Pt.success)return o.createElement(u.Provider,{value:on,children:vt});throw on}}function mt(st){let{children:vt}=st,ze=he(),It=typeof vt=="function"?vt(ze):vt;return o.createElement(o.Fragment,null,It)}function rt(st,vt){vt===void 0&&(vt=[]);let ze=[];return o.Children.forEach(st,(It,on)=>{if(!o.isValidElement(It))return;let Pn=[...vt,on];if(It.type===o.Fragment){ze.push.apply(ze,rt(It.props.children,Pn));return}It.type!==Ce&&(0,n.J0)(!1),!It.props.index||!It.props.children||(0,n.J0)(!1);let Yn={id:It.props.id||Pn.join("-"),caseSensitive:It.props.caseSensitive,element:It.props.element,Component:It.props.Component,index:It.props.index,path:It.props.path,loader:It.props.loader,action:It.props.action,errorElement:It.props.errorElement,ErrorBoundary:It.props.ErrorBoundary,hasErrorBoundary:It.props.ErrorBoundary!=null||It.props.errorElement!=null,shouldRevalidate:It.props.shouldRevalidate,handle:It.props.handle,lazy:It.props.lazy};It.props.children&&(Yn.children=rt(It.props.children,Pn)),ze.push(Yn)}),ze}function ce(st){return M(st)}function Re(st){let vt={hasErrorBoundary:st.ErrorBoundary!=null||st.errorElement!=null};return st.Component&&Object.assign(vt,{element:o.createElement(st.Component),Component:void 0}),st.HydrateFallback&&Object.assign(vt,{hydrateFallbackElement:o.createElement(st.HydrateFallback),HydrateFallback:void 0}),st.ErrorBoundary&&Object.assign(vt,{errorElement:o.createElement(st.ErrorBoundary),ErrorBoundary:void 0}),vt}function nt(st,vt){return(0,n.p7)({basename:vt==null?void 0:vt.basename,future:a({},vt==null?void 0:vt.future,{v7_prependBasename:!0}),history:(0,n.PP)({initialEntries:vt==null?void 0:vt.initialEntries,initialIndex:vt==null?void 0:vt.initialIndex}),hydrationData:vt==null?void 0:vt.hydrationData,routes:st,mapRouteProperties:Re,dataStrategy:vt==null?void 0:vt.dataStrategy,patchRoutesOnNavigation:vt==null?void 0:vt.patchRoutesOnNavigation}).initialize()}},583374:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=function(){function S(T,s){for(var v=0;v<s.length;v++){var m=s[v];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(T,m.key,m)}}return function(T,s,v){return s&&S(T.prototype,s),v&&S(T,v),T}}(),o=e(174161),n=g(o),a=e(61551),i=e(552250),c=e(169764),u=g(c),f=e(346938),d=g(f),h=e(202147);function g(S){return S&&S.__esModule?S:{default:S}}function _(S,T){if(!(S instanceof T))throw new TypeError("Cannot call a class as a function")}function p(S,T){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T&&(typeof T=="object"||typeof T=="function")?T:S}function y(S,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);S.prototype=Object.create(T&&T.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(S,T):S.__proto__=T)}var O=function(S){y(T,S);function T(){return _(this,T),p(this,(T.__proto__||Object.getPrototypeOf(T)).apply(this,arguments))}return r(T,[{key:"componentDidMount",value:function(){a.canUseDOM&&(this.initialHeight=window.innerHeight)}},{key:"componentWillUnmount",value:function(){var v=window.innerHeight-this.initialHeight;v&&window.scrollTo(0,window.pageYOffset+v),this.initialHeight=window.innerHeight}},{key:"render",value:function(){var v=this.props.children;return v?n.default.createElement(i.TouchScrollable,null,v):null}}]),T}(o.PureComponent),P=(0,h.pipe)(d.default,u.default),C=P(O),A=function(T){return T.isActive?n.default.createElement(C,T):T.children};A.defaultProps={accountForScrollbars:!0,children:null,isActive:!0},l.default=A},552250:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TouchScrollable=void 0;var r=Object.assign||function(y){for(var O=1;O<arguments.length;O++){var P=arguments[O];for(var C in P)Object.prototype.hasOwnProperty.call(P,C)&&(y[C]=P[C])}return y},o=function(){function y(O,P){for(var C=0;C<P.length;C++){var A=P[C];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(O,A.key,A)}}return function(O,P,C){return P&&y(O.prototype,P),C&&y(O,C),O}}(),n=e(174161),a=d(n),i=e(61551),c=e(346905),u=d(c),f=e(202147);function d(y){return y&&y.__esModule?y:{default:y}}function h(y,O){if(!(y instanceof O))throw new TypeError("Cannot call a class as a function")}function g(y,O){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:y}function _(y,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);y.prototype=Object.create(O&&O.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(y,O):y.__proto__=O)}var p=l.TouchScrollable=function(y){_(O,y);function O(){var P,C,A,S;h(this,O);for(var T=arguments.length,s=Array(T),v=0;v<T;v++)s[v]=arguments[v];return S=(C=(A=g(this,(P=O.__proto__||Object.getPrototypeOf(O)).call.apply(P,[this].concat(s))),A),A.getScrollableArea=function(m){A.scrollableArea=m},C),g(A,S)}return o(O,[{key:"componentDidMount",value:function(){i.canUseEventListeners&&(this.scrollableArea.addEventListener("touchstart",f.preventInertiaScroll,f.listenerOptions),this.scrollableArea.addEventListener("touchmove",f.allowTouchMove,f.listenerOptions))}},{key:"componentWillUnmount",value:function(){i.canUseEventListeners&&(this.scrollableArea.removeEventListener("touchstart",f.preventInertiaScroll,f.listenerOptions),this.scrollableArea.removeEventListener("touchmove",f.allowTouchMove,f.listenerOptions))}},{key:"render",value:function(){return a.default.createElement(u.default,r({innerRef:this.getScrollableArea},this.props))}}]),O}(n.PureComponent)},671872:function(b,l,e){"use strict";var r;r={value:!0};var o=e(583374);Object.defineProperty(l,"default",{enumerable:!0,get:function(){return a(o).default}});var n=e(552250);Object.defineProperty(l,"TouchScrollable",{enumerable:!0,get:function(){return n.TouchScrollable}});function a(i){return i&&i.__esModule?i:{default:i}}},202147:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.pipe=l.listenerOptions=void 0,l.preventTouchMove=n,l.allowTouchMove=a,l.preventInertiaScroll=i,l.isTouchDevice=c,l.camelToKebab=u,l.parse=f,l.getPadding=g,l.getWindowHeight=_,l.getDocumentHeight=p,l.makeStyleTag=y,l.injectStyles=O,l.insertStyleTag=P;var r=e(61551),o=l.listenerOptions={capture:!1,passive:!1};function n(C){return C.preventDefault(),!1}function a(C){var A=C.currentTarget;return A.scrollHeight>A.clientHeight?(C.stopPropagation(),!0):(C.preventDefault(),!1)}function i(){var C=this.scrollTop,A=this.scrollHeight,S=C+this.offsetHeight;C===0?this.scrollTop=1:S===A&&(this.scrollTop=C-1)}function c(){return r.canUseDOM?"ontouchstart"in window||navigator.maxTouchPoints:!1}function u(C){return C.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function f(C){return isNaN(C)?C:C+"px"}var d=function(A,S){return function(){return S(A.apply(void 0,arguments))}},h=l.pipe=function(){for(var A=arguments.length,S=Array(A),T=0;T<A;T++)S[T]=arguments[T];return S.reduce(d)};function g(){if(!r.canUseDOM)return 0;var C=parseInt(document.body.paddingRight,10)||0,A=document.body?document.body.clientWidth:0,S=window.innerWidth-A+C||0;return S}function _(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;if(r.canUseDOM)return window.innerHeight*C}function p(){if(r.canUseDOM)return document.body.clientHeight}function y(){if(r.canUseDOM){var C=document.createElement("style");return C.type="text/css",C.setAttribute("data-react-scrolllock",""),C}}function O(C,A){r.canUseDOM&&(C.styleSheet?C.styleSheet.cssText=A:C.appendChild(document.createTextNode(A)))}function P(C){if(r.canUseDOM){var A=document.head||document.getElementsByTagName("head")[0];A.appendChild(C)}}},169764:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=function(){function h(g,_){for(var p=0;p<_.length;p++){var y=_[p];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(g,y.key,y)}}return function(g,_,p){return _&&h(g.prototype,_),p&&h(g,p),g}}();l.default=d;var o=e(174161),n=i(o),a=e(202147);function i(h){return h&&h.__esModule?h:{default:h}}function c(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}function u(h,g){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:h}function f(h,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);h.prototype=Object.create(g&&g.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(h,g):h.__proto__=g)}function d(h){return function(g){f(_,g);function _(){var p,y,O,P;c(this,_);for(var C=arguments.length,A=Array(C),S=0;S<C;S++)A[S]=arguments[S];return P=(y=(O=u(this,(p=_.__proto__||Object.getPrototypeOf(_)).call.apply(p,[this].concat(A))),O),O.addSheet=function(){var T=O.getStyles(),s=(0,a.makeStyleTag)();s&&((0,a.injectStyles)(s,T),(0,a.insertStyleTag)(s),O.sheet=s)},O.getStyles=function(){var T=O.props.accountForScrollbars,s=(0,a.getDocumentHeight)(),v=T?(0,a.getPadding)():null,m=`body {
        box-sizing: border-box !important;
        overflow: hidden !important;
        position: relative !important;
        `+(s?"height: "+s+"px !important;":"")+`
        `+(v?"padding-right: "+v+"px !important;":"")+`
      }`;return m},y),u(O,P)}return r(_,[{key:"componentDidMount",value:function(){this.addSheet()}},{key:"removeSheet",value:function(){this.sheet&&(this.sheet.parentNode.removeChild(this.sheet),this.sheet=null)}},{key:"componentWillUnmount",value:function(){this.removeSheet()}},{key:"render",value:function(){return n.default.createElement(h,this.props)}}]),_}(o.PureComponent)}},346938:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r=function(){function g(_,p){for(var y=0;y<p.length;y++){var O=p[y];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(_,O.key,O)}}return function(_,p,y){return p&&g(_.prototype,p),y&&g(_,y),_}}();l.default=h;var o=e(174161),n=c(o),a=e(61551),i=e(202147);function c(g){return g&&g.__esModule?g:{default:g}}function u(g,_){if(!(g instanceof _))throw new TypeError("Cannot call a class as a function")}function f(g,_){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:g}function d(g,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);g.prototype=Object.create(_&&_.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(g,_):g.__proto__=_)}function h(g){return function(_){d(p,_);function p(){return u(this,p),f(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return r(p,[{key:"componentDidMount",value:function(){!a.canUseDOM||!(0,i.isTouchDevice)()||document.addEventListener("touchmove",i.preventTouchMove,i.listenerOptions)}},{key:"componentWillUnmount",value:function(){!a.canUseDOM||!(0,i.isTouchDevice)()||document.removeEventListener("touchmove",i.preventTouchMove,i.listenerOptions)}},{key:"render",value:function(){return n.default.createElement(g,this.props)}}]),p}(o.PureComponent)}},854594:function(b,l,e){"use strict";e.d(l,{$r:()=>f,Ix:()=>_,Wj:()=>d,ZP:()=>O,cn:()=>g,d0:()=>h});var r=e(539474),o=e(973420),n=e(174161),a=e(233284),i=e(513122),c=e(559328),u=e(53870),f="unmounted",d="exited",h="entering",g="entered",_="exiting",p=function(P){(0,o.Z)(C,P);function C(S,T){var s;s=P.call(this,S,T)||this;var v=T,m=v&&!v.isMounting?S.enter:S.appear,E;return s.appearStatus=null,S.in?m?(E=d,s.appearStatus=h):E=g:S.unmountOnExit||S.mountOnEnter?E=f:E=d,s.state={status:E},s.nextCallback=null,s}C.getDerivedStateFromProps=function(T,s){var v=T.in;return v&&s.status===f?{status:d}:null};var A=C.prototype;return A.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},A.componentDidUpdate=function(T){var s=null;if(T!==this.props){var v=this.state.status;this.props.in?v!==h&&v!==g&&(s=h):(v===h||v===g)&&(s=_)}this.updateStatus(!1,s)},A.componentWillUnmount=function(){this.cancelNextCallback()},A.getTimeouts=function(){var T=this.props.timeout,s,v,m;return s=v=m=T,T!=null&&typeof T!="number"&&(s=T.exit,v=T.enter,m=T.appear!==void 0?T.appear:v),{exit:s,enter:v,appear:m}},A.updateStatus=function(T,s){if(T===void 0&&(T=!1),s!==null)if(this.cancelNextCallback(),s===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var v=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);v&&(0,u.Q)(v)}this.performEnter(T)}else this.performExit();else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:f})},A.performEnter=function(T){var s=this,v=this.props.enter,m=this.context?this.context.isMounting:T,E=this.props.nodeRef?[m]:[a.findDOMNode(this),m],I=E[0],L=E[1],W=this.getTimeouts(),F=m?W.appear:W.enter;if(!T&&!v||i.Z.disabled){this.safeSetState({status:g},function(){s.props.onEntered(I)});return}this.props.onEnter(I,L),this.safeSetState({status:h},function(){s.props.onEntering(I,L),s.onTransitionEnd(F,function(){s.safeSetState({status:g},function(){s.props.onEntered(I,L)})})})},A.performExit=function(){var T=this,s=this.props.exit,v=this.getTimeouts(),m=this.props.nodeRef?void 0:a.findDOMNode(this);if(!s||i.Z.disabled){this.safeSetState({status:d},function(){T.props.onExited(m)});return}this.props.onExit(m),this.safeSetState({status:_},function(){T.props.onExiting(m),T.onTransitionEnd(v.exit,function(){T.safeSetState({status:d},function(){T.props.onExited(m)})})})},A.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},A.safeSetState=function(T,s){s=this.setNextCallback(s),this.setState(T,s)},A.setNextCallback=function(T){var s=this,v=!0;return this.nextCallback=function(m){v&&(v=!1,s.nextCallback=null,T(m))},this.nextCallback.cancel=function(){v=!1},this.nextCallback},A.onTransitionEnd=function(T,s){this.setNextCallback(s);var v=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),m=T==null&&!this.props.addEndListener;if(!v||m){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var E=this.props.nodeRef?[this.nextCallback]:[v,this.nextCallback],I=E[0],L=E[1];this.props.addEndListener(I,L)}T!=null&&setTimeout(this.nextCallback,T)},A.render=function(){var T=this.state.status;if(T===f)return null;var s=this.props,v=s.children,m=s.in,E=s.mountOnEnter,I=s.unmountOnExit,L=s.appear,W=s.enter,F=s.exit,G=s.timeout,k=s.addEndListener,x=s.onEnter,M=s.onEntering,B=s.onEntered,R=s.onExit,U=s.onExiting,j=s.onExited,$=s.nodeRef,ee=(0,r.Z)(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return n.createElement(c.Z.Provider,{value:null},typeof v=="function"?v(T,ee):n.cloneElement(n.Children.only(v),ee))},C}(n.Component);p.contextType=c.Z,p.propTypes={};function y(){}p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:y,onEntering:y,onEntered:y,onExit:y,onExiting:y,onExited:y},p.UNMOUNTED=f,p.EXITED=d,p.ENTERING=h,p.ENTERED=g,p.EXITING=_;const O=p},559328:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(174161);const o=r.createContext(null)},513122:function(b,l,e){"use strict";e.d(l,{Z:()=>r});const r={disabled:!1}},53870:function(b,l,e){"use strict";e.d(l,{Q:()=>r});var r=function(n){return n.scrollTop}},447742:function(b,l,e){"use strict";/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=e(174161),o=Symbol.for("react.element"),n=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(f,d,h){var g,_={},p=null,y=null;h!==void 0&&(p=""+h),d.key!==void 0&&(p=""+d.key),d.ref!==void 0&&(y=d.ref);for(g in d)a.call(d,g)&&!c.hasOwnProperty(g)&&(_[g]=d[g]);if(f&&f.defaultProps)for(g in d=f.defaultProps,d)_[g]===void 0&&(_[g]=d[g]);return{$$typeof:o,type:f,key:p,ref:y,props:_,_owner:i.current}}l.Fragment=n,l.jsx=u,l.jsxs=u},152463:function(b,l){"use strict";/**
 * @license React
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),g=Symbol.iterator;function _(j){return j===null||typeof j!="object"?null:(j=g&&j[g]||j["@@iterator"],typeof j=="function"?j:null)}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,O={};function P(j,$,ee){this.props=j,this.context=$,this.refs=O,this.updater=ee||p}P.prototype.isReactComponent={},P.prototype.setState=function(j,$){if(typeof j!="object"&&typeof j!="function"&&j!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,j,$,"setState")},P.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function C(){}C.prototype=P.prototype;function A(j,$,ee){this.props=j,this.context=$,this.refs=O,this.updater=ee||p}var S=A.prototype=new C;S.constructor=A,y(S,P.prototype),S.isPureReactComponent=!0;var T=Array.isArray,s=Object.prototype.hasOwnProperty,v={current:null},m={key:!0,ref:!0,__self:!0,__source:!0};function E(j,$,ee){var te,ie={},ne=null,pe=null;if($!=null)for(te in $.ref!==void 0&&(pe=$.ref),$.key!==void 0&&(ne=""+$.key),$)s.call($,te)&&!m.hasOwnProperty(te)&&(ie[te]=$[te]);var oe=arguments.length-2;if(oe===1)ie.children=ee;else if(1<oe){for(var q=Array(oe),J=0;J<oe;J++)q[J]=arguments[J+2];ie.children=q}if(j&&j.defaultProps)for(te in oe=j.defaultProps,oe)ie[te]===void 0&&(ie[te]=oe[te]);return{$$typeof:e,type:j,key:ne,ref:pe,props:ie,_owner:v.current}}function I(j,$){return{$$typeof:e,type:j.type,key:$,ref:j.ref,props:j.props,_owner:j._owner}}function L(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function W(j){var $={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(ee){return $[ee]})}var F=/\/+/g;function G(j,$){return typeof j=="object"&&j!==null&&j.key!=null?W(""+j.key):$.toString(36)}function k(j,$,ee,te,ie){var ne=typeof j;(ne==="undefined"||ne==="boolean")&&(j=null);var pe=!1;if(j===null)pe=!0;else switch(ne){case"string":case"number":pe=!0;break;case"object":switch(j.$$typeof){case e:case r:pe=!0}}if(pe)return pe=j,ie=ie(pe),j=te===""?"."+G(pe,0):te,T(ie)?(ee="",j!=null&&(ee=j.replace(F,"$&/")+"/"),k(ie,$,ee,"",function(J){return J})):ie!=null&&(L(ie)&&(ie=I(ie,ee+(!ie.key||pe&&pe.key===ie.key?"":(""+ie.key).replace(F,"$&/")+"/")+j)),$.push(ie)),1;if(pe=0,te=te===""?".":te+":",T(j))for(var oe=0;oe<j.length;oe++){ne=j[oe];var q=te+G(ne,oe);pe+=k(ne,$,ee,q,ie)}else if(q=_(j),typeof q=="function")for(j=q.call(j),oe=0;!(ne=j.next()).done;)ne=ne.value,q=te+G(ne,oe++),pe+=k(ne,$,ee,q,ie);else if(ne==="object")throw $=String(j),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.");return pe}function x(j,$,ee){if(j==null)return j;var te=[],ie=0;return k(j,te,"","",function(ne){return $.call(ee,ne,ie++)}),te}function M(j){if(j._status===-1){var $=j._result;$=$(),$.then(function(ee){(j._status===0||j._status===-1)&&(j._status=1,j._result=ee)},function(ee){(j._status===0||j._status===-1)&&(j._status=2,j._result=ee)}),j._status===-1&&(j._status=0,j._result=$)}if(j._status===1)return j._result.default;throw j._result}var B={current:null},R={transition:null},U={ReactCurrentDispatcher:B,ReactCurrentBatchConfig:R,ReactCurrentOwner:v};l.Children={map:x,forEach:function(j,$,ee){x(j,function(){$.apply(this,arguments)},ee)},count:function(j){var $=0;return x(j,function(){$++}),$},toArray:function(j){return x(j,function($){return $})||[]},only:function(j){if(!L(j))throw Error("React.Children.only expected to receive a single React element child.");return j}},l.Component=P,l.Fragment=o,l.Profiler=a,l.PureComponent=A,l.StrictMode=n,l.Suspense=f,l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,l.cloneElement=function(j,$,ee){if(j==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+j+".");var te=y({},j.props),ie=j.key,ne=j.ref,pe=j._owner;if($!=null){if($.ref!==void 0&&(ne=$.ref,pe=v.current),$.key!==void 0&&(ie=""+$.key),j.type&&j.type.defaultProps)var oe=j.type.defaultProps;for(q in $)s.call($,q)&&!m.hasOwnProperty(q)&&(te[q]=$[q]===void 0&&oe!==void 0?oe[q]:$[q])}var q=arguments.length-2;if(q===1)te.children=ee;else if(1<q){oe=Array(q);for(var J=0;J<q;J++)oe[J]=arguments[J+2];te.children=oe}return{$$typeof:e,type:j.type,key:ie,ref:ne,props:te,_owner:pe}},l.createContext=function(j){return j={$$typeof:c,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},j.Provider={$$typeof:i,_context:j},j.Consumer=j},l.createElement=E,l.createFactory=function(j){var $=E.bind(null,j);return $.type=j,$},l.createRef=function(){return{current:null}},l.forwardRef=function(j){return{$$typeof:u,render:j}},l.isValidElement=L,l.lazy=function(j){return{$$typeof:h,_payload:{_status:-1,_result:j},_init:M}},l.memo=function(j,$){return{$$typeof:d,type:j,compare:$===void 0?null:$}},l.startTransition=function(j){var $=R.transition;R.transition={};try{j()}finally{R.transition=$}},l.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},l.useCallback=function(j,$){return B.current.useCallback(j,$)},l.useContext=function(j){return B.current.useContext(j)},l.useDebugValue=function(){},l.useDeferredValue=function(j){return B.current.useDeferredValue(j)},l.useEffect=function(j,$){return B.current.useEffect(j,$)},l.useId=function(){return B.current.useId()},l.useImperativeHandle=function(j,$,ee){return B.current.useImperativeHandle(j,$,ee)},l.useInsertionEffect=function(j,$){return B.current.useInsertionEffect(j,$)},l.useLayoutEffect=function(j,$){return B.current.useLayoutEffect(j,$)},l.useMemo=function(j,$){return B.current.useMemo(j,$)},l.useReducer=function(j,$,ee){return B.current.useReducer(j,$,ee)},l.useRef=function(j){return B.current.useRef(j)},l.useState=function(j){return B.current.useState(j)},l.useSyncExternalStore=function(j,$,ee){return B.current.useSyncExternalStore(j,$,ee)},l.useTransition=function(){return B.current.useTransition()},l.version="18.2.0"},174161:function(b,l,e){"use strict";b.exports=e(152463)},205843:function(b,l,e){"use strict";b.exports=e(447742)},937681:function(b,l,e){"use strict";var r,o=e(269399).compose;r=!0,l.composeWithDevTools=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?o:o.apply(null,arguments)},r=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(n){return n}}},40535:function(b,l,e){(function(r,o){o(l)})(this,function(r){"use strict";function o(j,$){j.super_=$,j.prototype=Object.create($.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}})}function n(j,$){Object.defineProperty(this,"kind",{value:j,enumerable:!0}),$&&$.length&&Object.defineProperty(this,"path",{value:$,enumerable:!0})}function a(j,$,ee){a.super_.call(this,"E",j),Object.defineProperty(this,"lhs",{value:$,enumerable:!0}),Object.defineProperty(this,"rhs",{value:ee,enumerable:!0})}function i(j,$){i.super_.call(this,"N",j),Object.defineProperty(this,"rhs",{value:$,enumerable:!0})}function c(j,$){c.super_.call(this,"D",j),Object.defineProperty(this,"lhs",{value:$,enumerable:!0})}function u(j,$,ee){u.super_.call(this,"A",j),Object.defineProperty(this,"index",{value:$,enumerable:!0}),Object.defineProperty(this,"item",{value:ee,enumerable:!0})}function f(j,$,ee){var te=j.slice((ee||$)+1||j.length);return j.length=$<0?j.length+$:$,j.push.apply(j,te),j}function d(j){var $=typeof j>"u"?"undefined":k(j);return $!=="object"?$:j===Math?"math":j===null?"null":Array.isArray(j)?"array":Object.prototype.toString.call(j)==="[object Date]"?"date":typeof j.toString=="function"&&/^\/.*\//.test(j.toString())?"regexp":"object"}function h(j,$,ee,te,ie,ne,pe){ie=ie||[],pe=pe||[];var oe=ie.slice(0);if(typeof ne<"u"){if(te){if(typeof te=="function"&&te(oe,ne))return;if((typeof te>"u"?"undefined":k(te))==="object"){if(te.prefilter&&te.prefilter(oe,ne))return;if(te.normalize){var q=te.normalize(oe,ne,j,$);q&&(j=q[0],$=q[1])}}}oe.push(ne)}d(j)==="regexp"&&d($)==="regexp"&&(j=j.toString(),$=$.toString());var J=typeof j>"u"?"undefined":k(j),me=typeof $>"u"?"undefined":k($),re=J!=="undefined"||pe&&pe[pe.length-1].lhs&&pe[pe.length-1].lhs.hasOwnProperty(ne),he=me!=="undefined"||pe&&pe[pe.length-1].rhs&&pe[pe.length-1].rhs.hasOwnProperty(ne);if(!re&&he)ee(new i(oe,$));else if(!he&&re)ee(new c(oe,j));else if(d(j)!==d($))ee(new a(oe,j,$));else if(d(j)==="date"&&j-$!==0)ee(new a(oe,j,$));else if(J==="object"&&j!==null&&$!==null)if(pe.filter(function(z){return z.lhs===j}).length)j!==$&&ee(new a(oe,j,$));else{if(pe.push({lhs:j,rhs:$}),Array.isArray(j)){var Ee;for(j.length,Ee=0;Ee<j.length;Ee++)Ee>=$.length?ee(new u(oe,Ee,new c(void 0,j[Ee]))):h(j[Ee],$[Ee],ee,te,oe,Ee,pe);for(;Ee<$.length;)ee(new u(oe,Ee,new i(void 0,$[Ee++])))}else{var fe=Object.keys(j),H=Object.keys($);fe.forEach(function(z,_e){var ae=H.indexOf(z);ae>=0?(h(j[z],$[z],ee,te,oe,z,pe),H=f(H,ae)):h(j[z],void 0,ee,te,oe,z,pe)}),H.forEach(function(z){h(void 0,$[z],ee,te,oe,z,pe)})}pe.length=pe.length-1}else j!==$&&(J==="number"&&isNaN(j)&&isNaN($)||ee(new a(oe,j,$)))}function g(j,$,ee,te){return te=te||[],h(j,$,function(ie){ie&&te.push(ie)},ee),te.length?te:void 0}function _(j,$,ee){if(ee.path&&ee.path.length){var te,ie=j[$],ne=ee.path.length-1;for(te=0;te<ne;te++)ie=ie[ee.path[te]];switch(ee.kind){case"A":_(ie[ee.path[te]],ee.index,ee.item);break;case"D":delete ie[ee.path[te]];break;case"E":case"N":ie[ee.path[te]]=ee.rhs}}else switch(ee.kind){case"A":_(j[$],ee.index,ee.item);break;case"D":j=f(j,$);break;case"E":case"N":j[$]=ee.rhs}return j}function p(j,$,ee){if(j&&$&&ee&&ee.kind){for(var te=j,ie=-1,ne=ee.path?ee.path.length-1:0;++ie<ne;)typeof te[ee.path[ie]]>"u"&&(te[ee.path[ie]]=typeof ee.path[ie]=="number"?[]:{}),te=te[ee.path[ie]];switch(ee.kind){case"A":_(ee.path?te[ee.path[ie]]:te,ee.index,ee.item);break;case"D":delete te[ee.path[ie]];break;case"E":case"N":te[ee.path[ie]]=ee.rhs}}}function y(j,$,ee){if(ee.path&&ee.path.length){var te,ie=j[$],ne=ee.path.length-1;for(te=0;te<ne;te++)ie=ie[ee.path[te]];switch(ee.kind){case"A":y(ie[ee.path[te]],ee.index,ee.item);break;case"D":ie[ee.path[te]]=ee.lhs;break;case"E":ie[ee.path[te]]=ee.lhs;break;case"N":delete ie[ee.path[te]]}}else switch(ee.kind){case"A":y(j[$],ee.index,ee.item);break;case"D":j[$]=ee.lhs;break;case"E":j[$]=ee.lhs;break;case"N":j=f(j,$)}return j}function O(j,$,ee){if(j&&$&&ee&&ee.kind){var te,ie,ne=j;for(ie=ee.path.length-1,te=0;te<ie;te++)typeof ne[ee.path[te]]>"u"&&(ne[ee.path[te]]={}),ne=ne[ee.path[te]];switch(ee.kind){case"A":y(ne[ee.path[te]],ee.index,ee.item);break;case"D":ne[ee.path[te]]=ee.lhs;break;case"E":ne[ee.path[te]]=ee.lhs;break;case"N":delete ne[ee.path[te]]}}}function P(j,$,ee){if(j&&$){var te=function(ie){ee&&!ee(j,$,ie)||p(j,$,ie)};h(j,$,te)}}function C(j){return"color: "+B[j].color+"; font-weight: bold"}function A(j){var $=j.kind,ee=j.path,te=j.lhs,ie=j.rhs,ne=j.index,pe=j.item;switch($){case"E":return[ee.join("."),te,"\u2192",ie];case"N":return[ee.join("."),ie];case"D":return[ee.join(".")];case"A":return[ee.join(".")+"["+ne+"]",pe];default:return[]}}function S(j,$,ee,te){var ie=g(j,$);try{te?ee.groupCollapsed("diff"):ee.group("diff")}catch{ee.log("diff")}ie?ie.forEach(function(ne){var pe=ne.kind,oe=A(ne);ee.log.apply(ee,["%c "+B[pe].text,C(pe)].concat(x(oe)))}):ee.log("\u2014\u2014 no diff \u2014\u2014");try{ee.groupEnd()}catch{ee.log("\u2014\u2014 diff end \u2014\u2014 ")}}function T(j,$,ee,te){switch(typeof j>"u"?"undefined":k(j)){case"object":return typeof j[te]=="function"?j[te].apply(j,x(ee)):j[te];case"function":return j($);default:return j}}function s(j){var $=j.timestamp,ee=j.duration;return function(te,ie,ne){var pe=["action"];return pe.push("%c"+String(te.type)),$&&pe.push("%c@ "+ie),ee&&pe.push("%c(in "+ne.toFixed(2)+" ms)"),pe.join(" ")}}function v(j,$){var ee=$.logger,te=$.actionTransformer,ie=$.titleFormatter,ne=ie===void 0?s($):ie,pe=$.collapsed,oe=$.colors,q=$.level,J=$.diff,me=typeof $.titleFormatter>"u";j.forEach(function(re,he){var Ee=re.started,fe=re.startedTime,H=re.action,z=re.prevState,_e=re.error,ae=re.took,ge=re.nextState,Be=j[he+1];Be&&(ge=Be.prevState,ae=Be.started-Ee);var Ke=te(H),He=typeof pe=="function"?pe(function(){return ge},H,re):pe,ye=F(fe),Le=oe.title?"color: "+oe.title(Ke)+";":"",Ue=["color: gray; font-weight: lighter;"];Ue.push(Le),$.timestamp&&Ue.push("color: gray; font-weight: lighter;"),$.duration&&Ue.push("color: gray; font-weight: lighter;");var Xe=ne(Ke,ye,ae);try{He?oe.title&&me?ee.groupCollapsed.apply(ee,["%c "+Xe].concat(Ue)):ee.groupCollapsed(Xe):oe.title&&me?ee.group.apply(ee,["%c "+Xe].concat(Ue)):ee.group(Xe)}catch{ee.log(Xe)}var Fe=T(q,Ke,[z],"prevState"),ht=T(q,Ke,[Ke],"action"),Ne=T(q,Ke,[_e,z],"error"),Ce=T(q,Ke,[ge],"nextState");if(Fe)if(oe.prevState){var we="color: "+oe.prevState(z)+"; font-weight: bold";ee[Fe]("%c prev state",we,z)}else ee[Fe]("prev state",z);if(ht)if(oe.action){var $e="color: "+oe.action(Ke)+"; font-weight: bold";ee[ht]("%c action    ",$e,Ke)}else ee[ht]("action    ",Ke);if(_e&&Ne)if(oe.error){var Ot="color: "+oe.error(_e,z)+"; font-weight: bold;";ee[Ne]("%c error     ",Ot,_e)}else ee[Ne]("error     ",_e);if(Ce)if(oe.nextState){var Pt="color: "+oe.nextState(ge)+"; font-weight: bold";ee[Ce]("%c next state",Pt,ge)}else ee[Ce]("next state",ge);J&&S(z,ge,ee,He);try{ee.groupEnd()}catch{ee.log("\u2014\u2014 log end \u2014\u2014")}})}function m(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$=Object.assign({},R,j),ee=$.logger,te=$.stateTransformer,ie=$.errorTransformer,ne=$.predicate,pe=$.logErrors,oe=$.diffPredicate;if(typeof ee>"u")return function(){return function(J){return function(me){return J(me)}}};if(j.getState&&j.dispatch)return console.error(`[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:
// Logger with default options
import { logger } from 'redux-logger'
const store = createStore(
  reducer,
  applyMiddleware(logger)
)
// Or you can create your own logger with custom options http://bit.ly/redux-logger-options
import createLogger from 'redux-logger'
const logger = createLogger({
  // ...options
});
const store = createStore(
  reducer,
  applyMiddleware(logger)
)
`),function(){return function(J){return function(me){return J(me)}}};var q=[];return function(J){var me=J.getState;return function(re){return function(he){if(typeof ne=="function"&&!ne(me,he))return re(he);var Ee={};q.push(Ee),Ee.started=G.now(),Ee.startedTime=new Date,Ee.prevState=te(me()),Ee.action=he;var fe=void 0;if(pe)try{fe=re(he)}catch(z){Ee.error=ie(z)}else fe=re(he);Ee.took=G.now()-Ee.started,Ee.nextState=te(me());var H=$.diff&&typeof oe=="function"?oe(me,he):$.diff;if(v(q,Object.assign({},$,{diff:H})),q.length=0,Ee.error)throw Ee.error;return fe}}}}var E,I,L=function(j,$){return new Array($+1).join(j)},W=function(j,$){return L("0",$-j.toString().length)+j},F=function(j){return W(j.getHours(),2)+":"+W(j.getMinutes(),2)+":"+W(j.getSeconds(),2)+"."+W(j.getMilliseconds(),3)},G=typeof performance<"u"&&performance!==null&&typeof performance.now=="function"?performance:Date,k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},x=function(j){if(Array.isArray(j)){for(var $=0,ee=Array(j.length);$<j.length;$++)ee[$]=j[$];return ee}return Array.from(j)},M=[];E=(typeof e.g>"u"?"undefined":k(e.g))==="object"&&e.g?e.g:typeof window<"u"?window:{},I=E.DeepDiff,I&&M.push(function(){typeof I<"u"&&E.DeepDiff===g&&(E.DeepDiff=I,I=void 0)}),o(a,n),o(i,n),o(c,n),o(u,n),Object.defineProperties(g,{diff:{value:g,enumerable:!0},observableDiff:{value:h,enumerable:!0},applyDiff:{value:P,enumerable:!0},applyChange:{value:p,enumerable:!0},revertChange:{value:O,enumerable:!0},isConflict:{value:function(){return typeof I<"u"},enumerable:!0},noConflict:{value:function(){return M&&(M.forEach(function(j){j()}),M=null),g},enumerable:!0}});var B={E:{color:"#2196F3",text:"CHANGED:"},N:{color:"#4CAF50",text:"ADDED:"},D:{color:"#F44336",text:"DELETED:"},A:{color:"#2196F3",text:"ARRAY:"}},R={level:"log",logger:console,logErrors:!0,collapsed:void 0,predicate:void 0,duration:!1,timestamp:!0,stateTransformer:function(j){return j},actionTransformer:function(j){return j},errorTransformer:function(j){return j},colors:{title:function(){return"inherit"},prevState:function(){return"#9E9E9E"},action:function(){return"#03A9F4"},nextState:function(){return"#4CAF50"},error:function(){return"#F20404"}},diff:!1,diffPredicate:void 0,transformer:void 0},U=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$=j.dispatch,ee=j.getState;return typeof $=="function"||typeof ee=="function"?m()({dispatch:$,getState:ee}):void console.error(`
[redux-logger v3] BREAKING CHANGE
[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.
[redux-logger v3] Change
[redux-logger v3] import createLogger from 'redux-logger'
[redux-logger v3] to
[redux-logger v3] import { createLogger } from 'redux-logger'
`)};r.defaults=R,r.createLogger=m,r.logger=U,r.default=U,Object.defineProperty(r,"__esModule",{value:!0})})},66748:function(b,l,e){"use strict";e.d(l,{Z:()=>n});function r(a){var i=function(u){var f=u.dispatch,d=u.getState;return function(h){return function(g){return typeof g=="function"?g(f,d,a):h(g)}}};return i}var o=r();o.withExtraArgument=r;const n=o},360131:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.ActionCreators=l.ActionTypes=void 0;var e={UNDO:"@@redux-undo/UNDO",REDO:"@@redux-undo/REDO",JUMP_TO_FUTURE:"@@redux-undo/JUMP_TO_FUTURE",JUMP_TO_PAST:"@@redux-undo/JUMP_TO_PAST",JUMP:"@@redux-undo/JUMP",CLEAR_HISTORY:"@@redux-undo/CLEAR_HISTORY"};l.ActionTypes=e;var r={undo:function(){return{type:e.UNDO}},redo:function(){return{type:e.REDO}},jumpToFuture:function(n){return{type:e.JUMP_TO_FUTURE,index:n}},jumpToPast:function(n){return{type:e.JUMP_TO_PAST,index:n}},jump:function(n){return{type:e.JUMP,index:n}},clearHistory:function(){return{type:e.CLEAR_HISTORY}}};l.ActionCreators=r},59254:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.set=p,l.start=h,l.end=g,l.log=_;function e(y){return n(y)||o(y)||r()}function r(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(y){if(Symbol.iterator in Object(y)||Object.prototype.toString.call(y)==="[object Arguments]")return Array.from(y)}function n(y){if(Array.isArray(y)){for(var O=0,P=new Array(y.length);O<y.length;O++)P[O]=y[O];return P}}var a,i,c={prevState:"#9E9E9E",action:"#03A9F4",nextState:"#4CAF50"};function u(){i={header:[],prev:[],action:[],next:[],msgs:[]}}function f(){var y=i,O=y.header,P=y.prev,C=y.next,A=y.action,S=y.msgs;if(console.group){var T,s,v,m,E;(T=console).groupCollapsed.apply(T,e(O)),(s=console).log.apply(s,e(P)),(v=console).log.apply(v,e(A)),(m=console).log.apply(m,e(C)),(E=console).log.apply(E,e(S)),console.groupEnd()}else{var I,L,W,F,G;(I=console).log.apply(I,e(O)),(L=console).log.apply(L,e(P)),(W=console).log.apply(W,e(A)),(F=console).log.apply(F,e(C)),(G=console).log.apply(G,e(S))}}function d(y,O,P){return["%c".concat(y),"color: ".concat(O,"; font-weight: bold"),P]}function h(y,O){u(),a&&(console.group?(i.header=["%credux-undo","font-style: italic","action",y.type],i.action=d("action",c.action,y),i.prev=d("prev history",c.prevState,O)):(i.header=["redux-undo action",y.type],i.action=["action",y],i.prev=["prev history",O]))}function g(y){a&&(console.group?i.next=d("next history",c.nextState,y):i.next=["next history",y],f())}function _(){if(a){for(var y=arguments.length,O=new Array(y),P=0;P<y;P++)O[P]=arguments[P];i.msgs=i.msgs.concat([].concat(O,[`
`]))}}function p(y){a=y}},95023:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.parseActions=e,l.isHistory=r,l.includeAction=o,l.excludeAction=n,l.combineFilters=a,l.groupByActionTypes=i,l.newHistory=c;function e(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Array.isArray(u)?u:typeof u=="string"?[u]:f}function r(u){return typeof u.present<"u"&&typeof u.future<"u"&&typeof u.past<"u"&&Array.isArray(u.future)&&Array.isArray(u.past)}function o(u){var f=e(u);return function(d){return f.indexOf(d.type)>=0}}function n(u){var f=e(u);return function(d){return f.indexOf(d.type)<0}}function a(){for(var u=arguments.length,f=new Array(u),d=0;d<u;d++)f[d]=arguments[d];return f.reduce(function(h,g){return function(_,p,y){return h(_,p,y)&&g(_,p,y)}},function(){return!0})}function i(u){var f=e(u);return function(d){return f.indexOf(d.type)>=0?d.type:null}}function c(u,f,d){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return{past:u,present:f,future:d,group:h,_latestUnfiltered:f,index:u.length,limit:u.length+d.length+1}}},986091:function(b,l,e){"use strict";var r;r={value:!0},Object.defineProperty(l,"ActionTypes",{enumerable:!0,get:function(){return o.ActionTypes}}),Object.defineProperty(l,"ActionCreators",{enumerable:!0,get:function(){return o.ActionCreators}}),r={enumerable:!0,get:function(){return n.parseActions}},r={enumerable:!0,get:function(){return n.isHistory}},r={enumerable:!0,get:function(){return n.includeAction}},r={enumerable:!0,get:function(){return n.excludeAction}},r={enumerable:!0,get:function(){return n.combineFilters}},r={enumerable:!0,get:function(){return n.groupByActionTypes}},r={enumerable:!0,get:function(){return n.newHistory}},Object.defineProperty(l,"default",{enumerable:!0,get:function(){return a.default}});var o=e(360131),n=e(95023),a=i(e(404421));function i(c){return c&&c.__esModule?c:{default:c}}},404421:function(b,l,e){"use strict";function r(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(m){return typeof m}:r=function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},r(s)}Object.defineProperty(l,"__esModule",{value:!0}),l.default=T;var o=c(e(59254)),n=e(360131),a=e(95023);function i(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return i=function(){return s},s}function c(s){if(s&&s.__esModule)return s;if(s===null||r(s)!=="object"&&typeof s!="function")return{default:s};var v=i();if(v&&v.has(s))return v.get(s);var m={},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in s)if(Object.prototype.hasOwnProperty.call(s,I)){var L=E?Object.getOwnPropertyDescriptor(s,I):null;L&&(L.get||L.set)?Object.defineProperty(m,I,L):m[I]=s[I]}return m.default=s,v&&v.set(s,m),m}function u(s,v){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(s);v&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(s,I).enumerable})),m.push.apply(m,E)}return m}function f(s){for(var v=1;v<arguments.length;v++){var m=arguments[v]!=null?arguments[v]:{};v%2?u(Object(m),!0).forEach(function(E){d(s,E,m[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(m)):u(Object(m)).forEach(function(E){Object.defineProperty(s,E,Object.getOwnPropertyDescriptor(m,E))})}return s}function d(s,v,m){return v in s?Object.defineProperty(s,v,{value:m,enumerable:!0,configurable:!0,writable:!0}):s[v]=m,s}function h(s){return p(s)||_(s)||g()}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _(s){if(Symbol.iterator in Object(s)||Object.prototype.toString.call(s)==="[object Arguments]")return Array.from(s)}function p(s){if(Array.isArray(s)){for(var v=0,m=new Array(s.length);v<s.length;v++)m[v]=s[v];return m}}function y(s,v){var m=(0,a.newHistory)([],s,[]);return v&&(m._latestUnfiltered=null),m}function O(s,v,m,E){var I=s.past.length+1;o.log("inserting",v),o.log("new free: ",m-I);var L=s.past,W=s._latestUnfiltered,F=m&&m<=I,G=L.slice(F?1:0),k=W!=null?[].concat(h(G),[W]):G;return(0,a.newHistory)(k,v,[],E)}function P(s,v){if(v<0||v>=s.future.length)return s;var m=s.past,E=s.future,I=s._latestUnfiltered,L=[].concat(h(m),[I],h(E.slice(0,v))),W=E[v],F=E.slice(v+1);return(0,a.newHistory)(L,W,F)}function C(s,v){if(v<0||v>=s.past.length)return s;var m=s.past,E=s.future,I=s._latestUnfiltered,L=m.slice(0,v),W=[].concat(h(m.slice(v+1)),[I],h(E)),F=m[v];return(0,a.newHistory)(L,F,W)}function A(s,v){return v>0?P(s,v-1):v<0?C(s,s.past.length+v):s}function S(s,v){return v.indexOf(s)>-1?s:!s}function T(s){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o.set(v.debug);var m=f({limit:void 0,filter:function(){return!0},groupBy:function(){return null},undoType:n.ActionTypes.UNDO,redoType:n.ActionTypes.REDO,jumpToPastType:n.ActionTypes.JUMP_TO_PAST,jumpToFutureType:n.ActionTypes.JUMP_TO_FUTURE,jumpType:n.ActionTypes.JUMP,neverSkipReducer:!1,ignoreInitialState:!1,syncFilter:!1},v,{initTypes:(0,a.parseActions)(v.initTypes,["@@redux-undo/INIT"]),clearHistoryType:(0,a.parseActions)(v.clearHistoryType,[n.ActionTypes.CLEAR_HISTORY])}),E=m.neverSkipReducer?function(L,W){for(var F=arguments.length,G=new Array(F>2?F-2:0),k=2;k<F;k++)G[k-2]=arguments[k];return f({},L,{present:s.apply(void 0,[L.present,W].concat(G))})}:function(L){return L},I;return function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:I,W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o.start(W,L);for(var F=L,G=arguments.length,k=new Array(G>2?G-2:0),x=2;x<G;x++)k[x-2]=arguments[x];if(!I)if(o.log("history is uninitialized"),L===void 0){var M={type:"@@redux-undo/CREATE_HISTORY"},B=s.apply(void 0,[L,M].concat(k));return F=y(B,m.ignoreInitialState),o.log("do not set initialState on probe actions"),o.end(F),F}else(0,a.isHistory)(L)?(F=I=m.ignoreInitialState?L:(0,a.newHistory)(L.past,L.present,L.future),o.log("initialHistory initialized: initialState is a history",I)):(F=I=y(L,m.ignoreInitialState),o.log("initialHistory initialized: initialState is not a history",I));var R;switch(W.type){case void 0:return F;case m.undoType:return R=A(F,-1),o.log("perform undo"),o.end(R),E.apply(void 0,[R,W].concat(k));case m.redoType:return R=A(F,1),o.log("perform redo"),o.end(R),E.apply(void 0,[R,W].concat(k));case m.jumpToPastType:return R=C(F,W.index),o.log("perform jumpToPast to ".concat(W.index)),o.end(R),E.apply(void 0,[R,W].concat(k));case m.jumpToFutureType:return R=P(F,W.index),o.log("perform jumpToFuture to ".concat(W.index)),o.end(R),E.apply(void 0,[R,W].concat(k));case m.jumpType:return R=A(F,W.index),o.log("perform jump to ".concat(W.index)),o.end(R),E.apply(void 0,[R,W].concat(k));case S(W.type,m.clearHistoryType):return R=y(F.present,m.ignoreInitialState),o.log("perform clearHistory"),o.end(R),E.apply(void 0,[R,W].concat(k));default:if(R=s.apply(void 0,[F.present,W].concat(k)),m.initTypes.some(function(te){return te===W.type}))return o.log("reset history due to init action"),o.end(I),I;if(F._latestUnfiltered===R)return F;var U=typeof m.filter=="function"&&!m.filter(W,R,F);if(U){var j=(0,a.newHistory)(F.past,R,F.future,F.group);return m.syncFilter||(j._latestUnfiltered=F._latestUnfiltered),o.log("filter ignored action, not storing it in past"),o.end(j),j}var $=m.groupBy(W,R,F);if($!=null&&$===F.group){var ee=(0,a.newHistory)(F.past,R,F.future,F.group);return o.log("groupBy grouped the action with the previous action"),o.end(ee),ee}return F=O(F,R,m.limit,$),o.log("inserted new state into history"),o.end(F),F}}}},269399:function(b,l,e){"use strict";e.r(l),e.d(l,{compose:()=>v,createStore:()=>y,bindActionCreators:()=>s,legacy_createStore:()=>O,combineReducers:()=>S,__DO_NOT_USE__ActionTypes:()=>u,applyMiddleware:()=>m});var r=e(805900);function o(I,L){var W=Object.keys(I);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(I);L&&(F=F.filter(function(G){return Object.getOwnPropertyDescriptor(I,G).enumerable})),W.push.apply(W,F)}return W}function n(I){for(var L=1;L<arguments.length;L++){var W=arguments[L]!=null?arguments[L]:{};L%2?o(Object(W),!0).forEach(function(F){(0,r.Z)(I,F,W[F])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(W)):o(Object(W)).forEach(function(F){Object.defineProperty(I,F,Object.getOwnPropertyDescriptor(W,F))})}return I}function a(I){return"Minified Redux error #"+I+"; visit https://redux.js.org/Errors?code="+I+" for the full message or use the non-minified dev environment for full errors. "}var i=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),c=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function f(I){if(typeof I!="object"||I===null)return!1;for(var L=I;Object.getPrototypeOf(L)!==null;)L=Object.getPrototypeOf(L);return Object.getPrototypeOf(I)===L}function d(I){if(I===void 0)return"undefined";if(I===null)return"null";var L=typeof I;switch(L){case"boolean":case"string":case"number":case"symbol":case"function":return L}if(Array.isArray(I))return"array";if(_(I))return"date";if(g(I))return"error";var W=h(I);switch(W){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return W}return L.slice(8,-1).toLowerCase().replace(/\s/g,"")}function h(I){return typeof I.constructor=="function"?I.constructor.name:null}function g(I){return I instanceof Error||typeof I.message=="string"&&I.constructor&&typeof I.constructor.stackTraceLimit=="number"}function _(I){return I instanceof Date?!0:typeof I.toDateString=="function"&&typeof I.getDate=="function"&&typeof I.setDate=="function"}function p(I){var L=typeof I;return L}function y(I,L,W){var F;if(typeof L=="function"&&typeof W=="function"||typeof W=="function"&&typeof arguments[3]=="function")throw new Error(a(0));if(typeof L=="function"&&typeof W>"u"&&(W=L,L=void 0),typeof W<"u"){if(typeof W!="function")throw new Error(a(1));return W(y)(I,L)}if(typeof I!="function")throw new Error(a(2));var G=I,k=L,x=[],M=x,B=!1;function R(){M===x&&(M=x.slice())}function U(){if(B)throw new Error(a(3));return k}function j(ie){if(typeof ie!="function")throw new Error(a(4));if(B)throw new Error(a(5));var ne=!0;return R(),M.push(ie),function(){if(ne){if(B)throw new Error(a(6));ne=!1,R();var oe=M.indexOf(ie);M.splice(oe,1),x=null}}}function $(ie){if(!f(ie))throw new Error(a(7));if(typeof ie.type>"u")throw new Error(a(8));if(B)throw new Error(a(9));try{B=!0,k=G(k,ie)}finally{B=!1}for(var ne=x=M,pe=0;pe<ne.length;pe++){var oe=ne[pe];oe()}return ie}function ee(ie){if(typeof ie!="function")throw new Error(a(10));G=ie,$({type:u.REPLACE})}function te(){var ie,ne=j;return ie={subscribe:function(oe){if(typeof oe!="object"||oe===null)throw new Error(a(11));function q(){oe.next&&oe.next(U())}q();var J=ne(q);return{unsubscribe:J}}},ie[i]=function(){return this},ie}return $({type:u.INIT}),F={dispatch:$,subscribe:j,getState:U,replaceReducer:ee},F[i]=te,F}var O=y;function P(I){typeof console<"u"&&typeof console.error=="function"&&console.error(I);try{throw new Error(I)}catch{}}function C(I,L,W,F){var G=Object.keys(L),k=W&&W.type===u.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(G.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!f(I))return"The "+k+' has unexpected type of "'+p(I)+'". Expected argument to be an object with the following '+('keys: "'+G.join('", "')+'"');var x=Object.keys(I).filter(function(M){return!L.hasOwnProperty(M)&&!F[M]});if(x.forEach(function(M){F[M]=!0}),!(W&&W.type===u.REPLACE)&&x.length>0)return"Unexpected "+(x.length>1?"keys":"key")+" "+('"'+x.join('", "')+'" found in '+k+". ")+"Expected to find one of the known reducer keys instead: "+('"'+G.join('", "')+'". Unexpected keys will be ignored.')}function A(I){Object.keys(I).forEach(function(L){var W=I[L],F=W(void 0,{type:u.INIT});if(typeof F>"u")throw new Error(a(12));if(typeof W(void 0,{type:u.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(a(13))})}function S(I){for(var L=Object.keys(I),W={},F=0;F<L.length;F++){var G=L[F];typeof I[G]=="function"&&(W[G]=I[G])}var k=Object.keys(W),x,M;try{A(W)}catch(B){M=B}return function(R,U){if(R===void 0&&(R={}),M)throw M;if(0)var j;for(var $=!1,ee={},te=0;te<k.length;te++){var ie=k[te],ne=W[ie],pe=R[ie],oe=ne(pe,U);if(typeof oe>"u"){var q=U&&U.type;throw new Error(a(14))}ee[ie]=oe,$=$||oe!==pe}return $=$||k.length!==Object.keys(R).length,$?ee:R}}function T(I,L){return function(){return L(I.apply(this,arguments))}}function s(I,L){if(typeof I=="function")return T(I,L);if(typeof I!="object"||I===null)throw new Error(a(16));var W={};for(var F in I){var G=I[F];typeof G=="function"&&(W[F]=T(G,L))}return W}function v(){for(var I=arguments.length,L=new Array(I),W=0;W<I;W++)L[W]=arguments[W];return L.length===0?function(F){return F}:L.length===1?L[0]:L.reduce(function(F,G){return function(){return F(G.apply(void 0,arguments))}})}function m(){for(var I=arguments.length,L=new Array(I),W=0;W<I;W++)L[W]=arguments[W];return function(F){return function(){var G=F.apply(void 0,arguments),k=function(){throw new Error(a(15))},x={getState:G.getState,dispatch:function(){return k.apply(void 0,arguments)}},M=L.map(function(B){return B(x)});return k=v.apply(void 0,M)(G.dispatch),n(n({},G),{},{dispatch:k})}}}function E(){}},221107:function(b){var l=function(e){"use strict";var r=Object.prototype,o=r.hasOwnProperty,n=Object.defineProperty||function(B,R,U){B[R]=U.value},a,i=typeof Symbol=="function"?Symbol:{},c=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",f=i.toStringTag||"@@toStringTag";function d(B,R,U){return Object.defineProperty(B,R,{value:U,enumerable:!0,configurable:!0,writable:!0}),B[R]}try{d({},"")}catch{d=function(R,U,j){return R[U]=j}}function h(B,R,U,j){var $=R&&R.prototype instanceof C?R:C,ee=Object.create($.prototype),te=new k(j||[]);return n(ee,"_invoke",{value:L(B,U,te)}),ee}e.wrap=h;function g(B,R,U){try{return{type:"normal",arg:B.call(R,U)}}catch(j){return{type:"throw",arg:j}}}var _="suspendedStart",p="suspendedYield",y="executing",O="completed",P={};function C(){}function A(){}function S(){}var T={};d(T,c,function(){return this});var s=Object.getPrototypeOf,v=s&&s(s(x([])));v&&v!==r&&o.call(v,c)&&(T=v);var m=S.prototype=C.prototype=Object.create(T);A.prototype=S,n(m,"constructor",{value:S,configurable:!0}),n(S,"constructor",{value:A,configurable:!0}),A.displayName=d(S,f,"GeneratorFunction");function E(B){["next","throw","return"].forEach(function(R){d(B,R,function(U){return this._invoke(R,U)})})}e.isGeneratorFunction=function(B){var R=typeof B=="function"&&B.constructor;return R?R===A||(R.displayName||R.name)==="GeneratorFunction":!1},e.mark=function(B){return Object.setPrototypeOf?Object.setPrototypeOf(B,S):(B.__proto__=S,d(B,f,"GeneratorFunction")),B.prototype=Object.create(m),B},e.awrap=function(B){return{__await:B}};function I(B,R){function U(ee,te,ie,ne){var pe=g(B[ee],B,te);if(pe.type==="throw")ne(pe.arg);else{var oe=pe.arg,q=oe.value;return q&&typeof q=="object"&&o.call(q,"__await")?R.resolve(q.__await).then(function(J){U("next",J,ie,ne)},function(J){U("throw",J,ie,ne)}):R.resolve(q).then(function(J){oe.value=J,ie(oe)},function(J){return U("throw",J,ie,ne)})}}var j;function $(ee,te){function ie(){return new R(function(ne,pe){U(ee,te,ne,pe)})}return j=j?j.then(ie,ie):ie()}n(this,"_invoke",{value:$})}E(I.prototype),d(I.prototype,u,function(){return this}),e.AsyncIterator=I,e.async=function(B,R,U,j,$){$===void 0&&($=Promise);var ee=new I(h(B,R,U,j),$);return e.isGeneratorFunction(R)?ee:ee.next().then(function(te){return te.done?te.value:ee.next()})};function L(B,R,U){var j=_;return function(ee,te){if(j===y)throw new Error("Generator is already running");if(j===O){if(ee==="throw")throw te;return M()}for(U.method=ee,U.arg=te;;){var ie=U.delegate;if(ie){var ne=W(ie,U);if(ne){if(ne===P)continue;return ne}}if(U.method==="next")U.sent=U._sent=U.arg;else if(U.method==="throw"){if(j===_)throw j=O,U.arg;U.dispatchException(U.arg)}else U.method==="return"&&U.abrupt("return",U.arg);j=y;var pe=g(B,R,U);if(pe.type==="normal"){if(j=U.done?O:p,pe.arg===P)continue;return{value:pe.arg,done:U.done}}else pe.type==="throw"&&(j=O,U.method="throw",U.arg=pe.arg)}}}function W(B,R){var U=R.method,j=B.iterator[U];if(j===a)return R.delegate=null,U==="throw"&&B.iterator.return&&(R.method="return",R.arg=a,W(B,R),R.method==="throw")||U!=="return"&&(R.method="throw",R.arg=new TypeError("The iterator does not provide a '"+U+"' method")),P;var $=g(j,B.iterator,R.arg);if($.type==="throw")return R.method="throw",R.arg=$.arg,R.delegate=null,P;var ee=$.arg;if(!ee)return R.method="throw",R.arg=new TypeError("iterator result is not an object"),R.delegate=null,P;if(ee.done)R[B.resultName]=ee.value,R.next=B.nextLoc,R.method!=="return"&&(R.method="next",R.arg=a);else return ee;return R.delegate=null,P}E(m),d(m,f,"Generator"),d(m,c,function(){return this}),d(m,"toString",function(){return"[object Generator]"});function F(B){var R={tryLoc:B[0]};1 in B&&(R.catchLoc=B[1]),2 in B&&(R.finallyLoc=B[2],R.afterLoc=B[3]),this.tryEntries.push(R)}function G(B){var R=B.completion||{};R.type="normal",delete R.arg,B.completion=R}function k(B){this.tryEntries=[{tryLoc:"root"}],B.forEach(F,this),this.reset(!0)}e.keys=function(B){var R=Object(B),U=[];for(var j in R)U.push(j);return U.reverse(),function $(){for(;U.length;){var ee=U.pop();if(ee in R)return $.value=ee,$.done=!1,$}return $.done=!0,$}};function x(B){if(B!=null){var R=B[c];if(R)return R.call(B);if(typeof B.next=="function")return B;if(!isNaN(B.length)){var U=-1,j=function $(){for(;++U<B.length;)if(o.call(B,U))return $.value=B[U],$.done=!1,$;return $.value=a,$.done=!0,$};return j.next=j}}throw new TypeError(typeof B+" is not iterable")}e.values=x;function M(){return{value:a,done:!0}}return k.prototype={constructor:k,reset:function(B){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(G),!B)for(var R in this)R.charAt(0)==="t"&&o.call(this,R)&&!isNaN(+R.slice(1))&&(this[R]=a)},stop:function(){this.done=!0;var B=this.tryEntries[0],R=B.completion;if(R.type==="throw")throw R.arg;return this.rval},dispatchException:function(B){if(this.done)throw B;var R=this;function U(ne,pe){return ee.type="throw",ee.arg=B,R.next=ne,pe&&(R.method="next",R.arg=a),!!pe}for(var j=this.tryEntries.length-1;j>=0;--j){var $=this.tryEntries[j],ee=$.completion;if($.tryLoc==="root")return U("end");if($.tryLoc<=this.prev){var te=o.call($,"catchLoc"),ie=o.call($,"finallyLoc");if(te&&ie){if(this.prev<$.catchLoc)return U($.catchLoc,!0);if(this.prev<$.finallyLoc)return U($.finallyLoc)}else if(te){if(this.prev<$.catchLoc)return U($.catchLoc,!0)}else if(ie){if(this.prev<$.finallyLoc)return U($.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(B,R){for(var U=this.tryEntries.length-1;U>=0;--U){var j=this.tryEntries[U];if(j.tryLoc<=this.prev&&o.call(j,"finallyLoc")&&this.prev<j.finallyLoc){var $=j;break}}$&&(B==="break"||B==="continue")&&$.tryLoc<=R&&R<=$.finallyLoc&&($=null);var ee=$?$.completion:{};return ee.type=B,ee.arg=R,$?(this.method="next",this.next=$.finallyLoc,P):this.complete(ee)},complete:function(B,R){if(B.type==="throw")throw B.arg;return B.type==="break"||B.type==="continue"?this.next=B.arg:B.type==="return"?(this.rval=this.arg=B.arg,this.method="return",this.next="end"):B.type==="normal"&&R&&(this.next=R),P},finish:function(B){for(var R=this.tryEntries.length-1;R>=0;--R){var U=this.tryEntries[R];if(U.finallyLoc===B)return this.complete(U.completion,U.afterLoc),G(U),P}},catch:function(B){for(var R=this.tryEntries.length-1;R>=0;--R){var U=this.tryEntries[R];if(U.tryLoc===B){var j=U.completion;if(j.type==="throw"){var $=j.arg;G(U)}return $}}throw new Error("illegal catch attempt")},delegateYield:function(B,R,U){return this.delegate={iterator:x(B),resultName:R,nextLoc:U},this.method==="next"&&(this.arg=a),P}},e}(b.exports);try{regeneratorRuntime=l}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=l:Function("r","regeneratorRuntime = r")(l)}},769630:function(){window.requestIdleCallback=window.requestIdleCallback||function(b){var l=Date.now();return setTimeout(function(){b({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-l))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(b){clearTimeout(b)}},45321:function(b,l,e){"use strict";e.d(l,{P1:()=>d});var r="NOT_FOUND";function o(g){var _;return{get:function(y){return _&&g(_.key,y)?_.value:r},put:function(y,O){_={key:y,value:O}},getEntries:function(){return _?[_]:[]},clear:function(){_=void 0}}}function n(g,_){var p=[];function y(A){var S=p.findIndex(function(s){return _(A,s.key)});if(S>-1){var T=p[S];return S>0&&(p.splice(S,1),p.unshift(T)),T.value}return r}function O(A,S){y(A)===r&&(p.unshift({key:A,value:S}),p.length>g&&p.pop())}function P(){return p}function C(){p=[]}return{get:y,put:O,getEntries:P,clear:C}}var a=function(_,p){return _===p};function i(g){return function(p,y){if(p===null||y===null||p.length!==y.length)return!1;for(var O=p.length,P=0;P<O;P++)if(!g(p[P],y[P]))return!1;return!0}}function c(g,_){var p=typeof _=="object"?_:{equalityCheck:_},y=p.equalityCheck,O=y===void 0?a:y,P=p.maxSize,C=P===void 0?1:P,A=p.resultEqualityCheck,S=i(O),T=C===1?o(S):n(C,S);function s(){var v=T.get(arguments);if(v===r){if(v=g.apply(null,arguments),A){var m=T.getEntries(),E=m.find(function(I){return A(I.value,v)});E&&(v=E.value)}T.put(arguments,v)}return v}return s.clearCache=function(){return T.clear()},s}function u(g){var _=Array.isArray(g[0])?g[0]:g;if(!_.every(function(y){return typeof y=="function"})){var p=_.map(function(y){return typeof y=="function"?"function "+(y.name||"unnamed")+"()":typeof y}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+p+"]")}return _}function f(g){for(var _=arguments.length,p=new Array(_>1?_-1:0),y=1;y<_;y++)p[y-1]=arguments[y];var O=function(){for(var C=arguments.length,A=new Array(C),S=0;S<C;S++)A[S]=arguments[S];var T=0,s,v={memoizeOptions:void 0},m=A.pop();if(typeof m=="object"&&(v=m,m=A.pop()),typeof m!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof m+"]");var E=v,I=E.memoizeOptions,L=I===void 0?p:I,W=Array.isArray(L)?L:[L],F=u(A),G=g.apply(void 0,[function(){return T++,m.apply(null,arguments)}].concat(W)),k=g(function(){for(var x=[],M=F.length,B=0;B<M;B++)x.push(F[B].apply(null,arguments));return s=G.apply(null,x),s});return Object.assign(k,{resultFunc:m,memoizedResultFunc:G,dependencies:F,lastResult:function(){return s},recomputations:function(){return T},resetRecomputations:function(){return T=0}}),k};return O}var d=f(c),h=function(_,p){if(p===void 0&&(p=d),typeof _!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof _));var y=Object.keys(_),O=p(y.map(function(P){return _[P]}),function(){for(var P=arguments.length,C=new Array(P),A=0;A<P;A++)C[A]=arguments[A];return C.reduce(function(S,T,s){return S[y[s]]=T,S},{})});return O}},551102:function(b,l,e){"use strict";e.d(l,{PW:()=>c});var r="NOT_FOUND";function o(u){var f;return{get:function(h){return f&&u(f.key,h)?f.value:r},put:function(h,g){f={key:h,value:g}},getEntries:function(){return f?[f]:[]},clear:function(){f=void 0}}}function n(u,f){var d=[];function h(y){var O=d.findIndex(function(C){return f(y,C.key)});if(O>-1){var P=d[O];return O>0&&(d.splice(O,1),d.unshift(P)),P.value}return r}function g(y,O){h(y)===r&&(d.unshift({key:y,value:O}),d.length>u&&d.pop())}function _(){return d}function p(){d=[]}return{get:h,put:g,getEntries:_,clear:p}}var a=function(f,d){return f===d};function i(u){return function(d,h){if(d===null||h===null||d.length!==h.length)return!1;for(var g=d.length,_=0;_<g;_++)if(!u(d[_],h[_]))return!1;return!0}}function c(u,f){var d=typeof f=="object"?f:{equalityCheck:f},h=d.equalityCheck,g=h===void 0?a:h,_=d.maxSize,p=_===void 0?1:_,y=d.resultEqualityCheck,O=i(g),P=p===1?o(O):n(p,O);function C(){var A=P.get(arguments);if(A===r){if(A=u.apply(null,arguments),y){var S=P.getEntries(),T=S.find(function(s){return y(s.value,A)});T&&(A=T.value)}P.put(arguments,A)}return A}return C.clearCache=function(){return P.clear()},C}},697710:function(b,l,e){"use strict";e.d(l,{P1:()=>a});var r=e(551102);function o(c){var u=Array.isArray(c[0])?c[0]:c;if(!u.every(function(d){return typeof d=="function"})){var f=u.map(function(d){return typeof d=="function"?"function "+(d.name||"unnamed")+"()":typeof d}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+f+"]")}return u}function n(c){for(var u=arguments.length,f=new Array(u>1?u-1:0),d=1;d<u;d++)f[d-1]=arguments[d];var h=function(){for(var _=arguments.length,p=new Array(_),y=0;y<_;y++)p[y]=arguments[y];var O=0,P,C={memoizeOptions:void 0},A=p.pop();if(typeof A=="object"&&(C=A,A=p.pop()),typeof A!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof A+"]");var S=C,T=S.memoizeOptions,s=T===void 0?f:T,v=Array.isArray(s)?s:[s],m=o(p),E=c.apply(void 0,[function(){return O++,A.apply(null,arguments)}].concat(v)),I=c(function(){for(var W=[],F=m.length,G=0;G<F;G++)W.push(m[G].apply(null,arguments));return P=E.apply(null,W),P});return Object.assign(I,{resultFunc:A,memoizedResultFunc:E,dependencies:m,lastResult:function(){return P},recomputations:function(){return O},resetRecomputations:function(){return O=0}}),I};return h}var a=n(r.PW),i=function(u,f){if(f===void 0&&(f=a),typeof u!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof u));var d=Object.keys(u),h=f(d.map(function(g){return u[g]}),function(){for(var g=arguments.length,_=new Array(g),p=0;p<g;p++)_[p]=arguments[p];return _.reduce(function(y,O,P){return y[d[P]]=O,y},{})});return h}},752822:function(b,l,e){"use strict";e.r(l),e.d(l,{createStructuredSelector:()=>h,defaultEqualityCheck:()=>a,createSelector:()=>d,createSelectorCreator:()=>f,defaultMemoize:()=>c});var r="NOT_FOUND";function o(g){var _;return{get:function(y){return _&&g(_.key,y)?_.value:r},put:function(y,O){_={key:y,value:O}},getEntries:function(){return _?[_]:[]},clear:function(){_=void 0}}}function n(g,_){var p=[];function y(A){var S=p.findIndex(function(s){return _(A,s.key)});if(S>-1){var T=p[S];return S>0&&(p.splice(S,1),p.unshift(T)),T.value}return r}function O(A,S){y(A)===r&&(p.unshift({key:A,value:S}),p.length>g&&p.pop())}function P(){return p}function C(){p=[]}return{get:y,put:O,getEntries:P,clear:C}}var a=function(_,p){return _===p};function i(g){return function(p,y){if(p===null||y===null||p.length!==y.length)return!1;for(var O=p.length,P=0;P<O;P++)if(!g(p[P],y[P]))return!1;return!0}}function c(g,_){var p=typeof _=="object"?_:{equalityCheck:_},y=p.equalityCheck,O=y===void 0?a:y,P=p.maxSize,C=P===void 0?1:P,A=p.resultEqualityCheck,S=i(O),T=C===1?o(S):n(C,S);function s(){var v=T.get(arguments);if(v===r){if(v=g.apply(null,arguments),A){var m=T.getEntries(),E=m.find(function(I){return A(I.value,v)});E&&(v=E.value)}T.put(arguments,v)}return v}return s.clearCache=function(){return T.clear()},s}function u(g){var _=Array.isArray(g[0])?g[0]:g;if(!_.every(function(y){return typeof y=="function"})){var p=_.map(function(y){return typeof y=="function"?"function "+(y.name||"unnamed")+"()":typeof y}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+p+"]")}return _}function f(g){for(var _=arguments.length,p=new Array(_>1?_-1:0),y=1;y<_;y++)p[y-1]=arguments[y];var O=function(){for(var C=arguments.length,A=new Array(C),S=0;S<C;S++)A[S]=arguments[S];var T=0,s,v={memoizeOptions:void 0},m=A.pop();if(typeof m=="object"&&(v=m,m=A.pop()),typeof m!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof m+"]");var E=v,I=E.memoizeOptions,L=I===void 0?p:I,W=Array.isArray(L)?L:[L],F=u(A),G=g.apply(void 0,[function(){return T++,m.apply(null,arguments)}].concat(W)),k=g(function(){for(var M=[],B=F.length,R=0;R<B;R++)M.push(F[R].apply(null,arguments));return s=G.apply(null,M),s});return Object.assign(k,{resultFunc:m,memoizedResultFunc:G,dependencies:F,lastResult:function(){return s},recomputations:function(){return T},resetRecomputations:function(){return T=0}}),k};return O}var d=f(c),h=function(_,p){if(p===void 0&&(p=d),typeof _!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof _));var y=Object.keys(_),O=p(y.map(function(P){return _[P]}),function(){for(var P=arguments.length,C=new Array(P),A=0;A<P;A++)C[A]=arguments[A];return C.reduce(function(S,T,s){return S[y[s]]=T,S},{})});return O}},255919:function(b,l,e){b.exports=e(169650)},169650:function(b,l,e){var r=e(165118),o={es3:3,es5:5,es2015:6,es7:7,es6:6,default:5,next:6},n=l.KEYWORDS={};l.check=function(c,u,f){u=u||o.default;var d=o[u]||u;return f&&d>=5&&(d+="-strict"),r(n[d],"Unknown dialect"),n[d].hasOwnProperty(c)},n[3]=a("break    else       new     var","case     finally    return  void","catch    for        switch  while","continue function   this    with","default  if         throw","delete   in         try","do       instanceof typeof","abstract enum       int        short","boolean  export     interface  static","byte     extends    long       super","char     final      native     synchronized","class    float      package    throws","const    goto       private    transient","debugger implements protected  volatile","double   import     public","null true false"),n[5]=a("break    do       instanceof typeof","case     else     new        var","catch    finally  return     void","continue for      switch     while","debugger function this       with","default  if       throw","delete   in       try","class enum extends super","const export import","null true false"),n["5-strict"]=a(n[5],"implements let     private   public yield","interface  package protected static"),n[6]=a("break    do       in         typeof","case     else     instanceof var","catch    export   new        void","class    extends  return     while","const    finally  super      with","continue for      switch     yield","debugger function this","default  if       throw","delete   import   try","enum await","null true false"),n["6-strict"]=a(n[6],"let static","implements package protected","interface private public");function a(){var i=Array.prototype.map.call(arguments,function(c){return typeof c=="string"?c:Object.keys(c).join(" ")}).join(" ");return i.split(/\s+/).reduce(function(c,u){return c[u]=!0,c},{})}},80982:function(b,l){"use strict";/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */function e(B,R){var U=B.length;B.push(R);e:for(;0<U;){var j=U-1>>>1,$=B[j];if(0<n($,R))B[j]=R,B[U]=$,U=j;else break e}}function r(B){return B.length===0?null:B[0]}function o(B){if(B.length===0)return null;var R=B[0],U=B.pop();if(U!==R){B[0]=U;e:for(var j=0,$=B.length,ee=$>>>1;j<ee;){var te=2*(j+1)-1,ie=B[te],ne=te+1,pe=B[ne];if(0>n(ie,U))ne<$&&0>n(pe,ie)?(B[j]=pe,B[ne]=U,j=ne):(B[j]=ie,B[te]=U,j=te);else if(ne<$&&0>n(pe,U))B[j]=pe,B[ne]=U,j=ne;else break e}}return R}function n(B,R){var U=B.sortIndex-R.sortIndex;return U!==0?U:B.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;l.unstable_now=function(){return a.now()}}else{var i=Date,c=i.now();l.unstable_now=function(){return i.now()-c}}var u=[],f=[],d=1,h=null,g=3,_=!1,p=!1,y=!1,O=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function A(B){for(var R=r(f);R!==null;){if(R.callback===null)o(f);else if(R.startTime<=B)o(f),R.sortIndex=R.expirationTime,e(u,R);else break;R=r(f)}}function S(B){if(y=!1,A(B),!p)if(r(u)!==null)p=!0,x(T);else{var R=r(f);R!==null&&M(S,R.startTime-B)}}function T(B,R){p=!1,y&&(y=!1,P(m),m=-1),_=!0;var U=g;try{for(A(R),h=r(u);h!==null&&(!(h.expirationTime>R)||B&&!L());){var j=h.callback;if(typeof j=="function"){h.callback=null,g=h.priorityLevel;var $=j(h.expirationTime<=R);R=l.unstable_now(),typeof $=="function"?h.callback=$:h===r(u)&&o(u),A(R)}else o(u);h=r(u)}if(h!==null)var ee=!0;else{var te=r(f);te!==null&&M(S,te.startTime-R),ee=!1}return ee}finally{h=null,g=U,_=!1}}var s=!1,v=null,m=-1,E=5,I=-1;function L(){return!(l.unstable_now()-I<E)}function W(){if(v!==null){var B=l.unstable_now();I=B;var R=!0;try{R=v(!0,B)}finally{R?F():(s=!1,v=null)}}else s=!1}var F;if(typeof C=="function")F=function(){C(W)};else if(typeof MessageChannel<"u"){var G=new MessageChannel,k=G.port2;G.port1.onmessage=W,F=function(){k.postMessage(null)}}else F=function(){O(W,0)};function x(B){v=B,s||(s=!0,F())}function M(B,R){m=O(function(){B(l.unstable_now())},R)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(B){B.callback=null},l.unstable_continueExecution=function(){p||_||(p=!0,x(T))},l.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<B?Math.floor(1e3/B):5},l.unstable_getCurrentPriorityLevel=function(){return g},l.unstable_getFirstCallbackNode=function(){return r(u)},l.unstable_next=function(B){switch(g){case 1:case 2:case 3:var R=3;break;default:R=g}var U=g;g=R;try{return B()}finally{g=U}},l.unstable_pauseExecution=function(){},l.unstable_requestPaint=function(){},l.unstable_runWithPriority=function(B,R){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var U=g;g=B;try{return R()}finally{g=U}},l.unstable_scheduleCallback=function(B,R,U){var j=l.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?j+U:j):U=j,B){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=U+$,B={id:d++,callback:R,priorityLevel:B,startTime:U,expirationTime:$,sortIndex:-1},U>j?(B.sortIndex=U,e(f,B),r(u)===null&&B===r(f)&&(y?(P(m),m=-1):y=!0,M(S,U-j))):(B.sortIndex=$,e(u,B),p||_||(p=!0,x(T))),B},l.unstable_shouldYield=L,l.unstable_wrapCallback=function(B){var R=g;return function(){var U=g;g=R;try{return B.apply(this,arguments)}finally{g=U}}}},557152:function(b,l,e){"use strict";b.exports=e(80982)},199195:function(b,l,e){(function(){var r=e(10092),o=e(358971).utf8,n=e(358971).bin,a=function(c){c.constructor==String?c=o.stringToBytes(c):typeof Buffer<"u"&&typeof Buffer.isBuffer=="function"&&Buffer.isBuffer(c)?c=Array.prototype.slice.call(c,0):Array.isArray(c)||(c=c.toString());var u=r.bytesToWords(c),f=c.length*8,d=[],h=1732584193,g=-271733879,_=-1732584194,p=271733878,y=-1009589776;u[f>>5]|=128<<24-f%32,u[(f+64>>>9<<4)+15]=f;for(var O=0;O<u.length;O+=16){for(var P=h,C=g,A=_,S=p,T=y,s=0;s<80;s++){if(s<16)d[s]=u[O+s];else{var v=d[s-3]^d[s-8]^d[s-14]^d[s-16];d[s]=v<<1|v>>>31}var m=(h<<5|h>>>27)+y+(d[s]>>>0)+(s<20?(g&_|~g&p)+1518500249:s<40?(g^_^p)+1859775393:s<60?(g&_|g&p|_&p)-1894007588:(g^_^p)-899497514);y=p,p=_,_=g<<30|g>>>2,g=h,h=m}h+=P,g+=C,_+=A,p+=S,y+=T}return[h,g,_,p,y]},i=function(c,u){var f=r.wordsToBytes(a(c));return u&&u.asBytes?f:u&&u.asString?n.bytesToString(f):r.bytesToHex(f)};i._blocksize=16,i._digestsize=20,b.exports=i})()},3340:function(b,l,e){"use strict";var r=e(741054),o=e(95766),n=function(f,d,h){for(var g=f,_;(_=g.next)!=null;g=_)if(_.key===d)return g.next=_.next,h||(_.next=f.next,f.next=_),_},a=function(f,d){if(f){var h=n(f,d);return h&&h.value}},i=function(f,d,h){var g=n(f,d);g?g.value=h:f.next={key:d,next:f.next,value:h}},c=function(f,d){return f?!!n(f,d):!1},u=function(f,d){if(f)return n(f,d,!0)};b.exports=function(){var d,h={assert:function(g){if(!h.has(g))throw new o("Side channel does not contain "+r(g))},delete:function(g){var _=d&&d.next,p=u(d,g);return p&&_&&_===p&&(d=void 0),!!p},get:function(g){return a(d,g)},has:function(g){return c(d,g)},set:function(g,_){d||(d={next:void 0}),i(d,g,_)}};return h}},414669:function(b,l,e){"use strict";var r=e(597646),o=e(296726),n=e(741054),a=e(95766),i=r("%Map%",!0),c=o("Map.prototype.get",!0),u=o("Map.prototype.set",!0),f=o("Map.prototype.has",!0),d=o("Map.prototype.delete",!0),h=o("Map.prototype.size",!0);b.exports=!!i&&function(){var _,p={assert:function(y){if(!p.has(y))throw new a("Side channel does not contain "+n(y))},delete:function(y){if(_){var O=d(_,y);return h(_)===0&&(_=void 0),O}return!1},get:function(y){if(_)return c(_,y)},has:function(y){return _?f(_,y):!1},set:function(y,O){_||(_=new i),u(_,y,O)}};return p}},476776:function(b,l,e){"use strict";var r=e(597646),o=e(296726),n=e(741054),a=e(414669),i=e(95766),c=r("%WeakMap%",!0),u=o("WeakMap.prototype.get",!0),f=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),h=o("WeakMap.prototype.delete",!0);b.exports=c?function(){var _,p,y={assert:function(O){if(!y.has(O))throw new i("Side channel does not contain "+n(O))},delete:function(O){if(c&&O&&(typeof O=="object"||typeof O=="function")){if(_)return h(_,O)}else if(a&&p)return p.delete(O);return!1},get:function(O){return c&&O&&(typeof O=="object"||typeof O=="function")&&_?u(_,O):p&&p.get(O)},has:function(O){return c&&O&&(typeof O=="object"||typeof O=="function")&&_?d(_,O):!!p&&p.has(O)},set:function(O,P){c&&O&&(typeof O=="object"||typeof O=="function")?(_||(_=new c),f(_,O,P)):a&&(p||(p=a()),p.set(O,P))}};return y}:a},15378:function(b,l,e){"use strict";var r=e(95766),o=e(741054),n=e(3340),a=e(414669),i=e(476776),c=i||a||n;b.exports=function(){var f,d={assert:function(h){if(!d.has(h))throw new r("Side channel does not contain "+o(h))},delete:function(h){return!!f&&f.delete(h)},get:function(h){return f&&f.get(h)},has:function(h){return!!f&&f.has(h)},set:function(h,g){f||(f=c()),f.set(h,g)}};return d}},578174:function(b,l,e){"use strict";var r=e(310365),o=Array.prototype.concat,n=Array.prototype.slice,a=b.exports=function(c){for(var u=[],f=0,d=c.length;f<d;f++){var h=c[f];r(h)?u=o.call(u,n.call(h)):u.push(h)}return u};a.wrap=function(i){return function(){return i(a(arguments))}}},863903:function(b){b.exports="data:image/svg+xml,%3csvg viewBox='0 0 8.5 8.5' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m4.261 1.126 3 6-3-1.647-3 1.647z' stroke='%23FFF' fill='%23FFF' fill-rule='evenodd'/%3e%3c/svg%3e"},568918:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.5 10h7.248a.75.75 0 1 1 0 1.5H11.5v7.248a.75.75 0 1 1-1.5 0V11.5H2.752a.75.75 0 1 1 0-1.5H10V2.752a.75.75 0 1 1 1.5 0V10Z' fill='%233E3E3E' fill-rule='evenodd'/%3e%3c/svg%3e"},143999:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15 6.25V9l-7 7-7-7V6.25l6 6V0h2v12.25l6-6Z' fill='%23313131'/%3e%3c/svg%3e"},882010:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15 6.25V9l-7 7-7-7V6.25l6 6V0h2v12.25l6-6Z' fill='%23D6D6D6'/%3e%3c/svg%3e"},648684:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.75 15H7L0 8l7-7h2.75l-6 6H16v2H3.75l6 6Z' fill='%23313131'/%3e%3c/svg%3e"},27642:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.75 15H7L0 8l7-7h2.75l-6 6H16v2H3.75l6 6Z' fill='%23D6D6D6'/%3e%3c/svg%3e"},148714:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.25 15H9l7-7-7-7H6.25l6 6H0v2h12.25l-6 6Z' fill='%23313131'/%3e%3c/svg%3e"},957448:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.25 15H9l7-7-7-7H6.25l6 6H0v2h12.25l-6 6Z' fill='%23D6D6D6'/%3e%3c/svg%3e"},592e3:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 9.75V7l7-7 7 7v2.75l-6-6V16H7V3.75l-6 6Z' fill='%23313131'/%3e%3c/svg%3e"},482212:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 9.75V7l7-7 7 7v2.75l-6-6V16H7V3.75l-6 6Z' fill='%23D6D6D6'/%3e%3c/svg%3e"},519827:function(b){b.exports="data:image/svg+xml,%3csvg viewBox='0 0 9 16' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdefs%3e%3cpath d='M7.501.5.707 7.294a1 1 0 0 0 0 1.414L7.501 15.5l1-1-6.5-6.499 6.5-6.501-1-1z' id='a'/%3e%3c/defs%3e%3cuse fill='%23313131' xlink:href='%23a' fill-rule='evenodd'/%3e%3c/svg%3e"},765481:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m7 7 8 8M15 7l-8 8' stroke='%23313131' stroke-width='1.414'/%3e%3c/svg%3e"},529882:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3ccircle fill='%23313131' cx='11' cy='11' r='10'/%3e%3cpath d='m7 7 8 8M15 7l-8 8' stroke='%23FFF' stroke-width='1.414'/%3e%3c/g%3e%3c/svg%3e"},213074:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m7 7 8 8M15 7l-8 8' stroke='%23A1A1A1' stroke-width='1.414'/%3e%3c/svg%3e"},339086:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3ccircle fill='%23A1A1A1' cx='11' cy='11' r='10'/%3e%3cpath d='m7 7 8 8M15 7l-8 8' stroke='%23FFF' stroke-width='1.414'/%3e%3c/g%3e%3c/svg%3e"},340437:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M14 2.5V5l-8 8-4-4V6.5l4 4 8-8Z' fill='%23313131'/%3e%3c/svg%3e"},860299:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 6.25V9l7 7 7-7V6.25l-7 7-7-7Z' fill='%23313131'/%3e%3c/svg%3e"},608666:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 6.25V9l7 7 7-7V6.25l-7 7-7-7Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},41759:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15.75 4H13l-7 7 7 7h2.75l-7-7 7-7Z' fill='%23313131'/%3e%3c/svg%3e"},496415:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15.75 4H13l-7 7 7 7h2.75l-7-7 7-7Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},836644:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.25 4H9l7 7-7 7H6.25l7-7-7-7Z' fill='%23313131'/%3e%3c/svg%3e"},535298:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.25 4H9l7 7-7 7H6.25l7-7-7-7Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},764515:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 15.75V13l-7-7-7 7v2.75l7-7 7 7Z' fill='%23313131'/%3e%3c/svg%3e"},802369:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 15.75V13l-7-7-7 7v2.75l7-7 7 7Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},835442:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M3 4.5V7l5 5 5-5V4.5l-5 5-5-5Z' fill='%23313131'/%3e%3c/svg%3e"},500435:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M3 4.5V7l5 5 5-5V4.5l-5 5-5-5Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},743915:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.5 13H9L4 8l5-5h2.5l-5 5 5 5Z' fill='%23313131'/%3e%3c/svg%3e"},735223:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.5 13H9L4 8l5-5h2.5l-5 5 5 5Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},724980:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.5 13H7l5-5-5-5H4.5l5 5-5 5Z' fill='%23313131'/%3e%3c/svg%3e"},717849:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.5 13H7l5-5-5-5H4.5l5 5-5 5Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},101403:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M3 11.5V9l5-5 5 5v2.5l-5-5-5 5Z' fill='%23313131'/%3e%3c/svg%3e"},636002:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M3 11.5V9l5-5 5 5v2.5l-5-5-5 5Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},100192:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11 10 8 7 7 8l3 3-3.003 3 1 1 3.002-3.001 3.001 3L15 14l-3-3 3-3-1-1-3 3Zm0 9a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z' fill='%23313131' fill-rule='evenodd'/%3e%3c/svg%3e"},437324:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11 10 8 7 7 8l3 3-3.003 3 1 1 3.002-3.001 3.001 3L15 14l-3-3 3-3-1-1-3 3Zm0 9a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z' fill='%23A1A1A1' fill-rule='evenodd'/%3e%3c/svg%3e"},226904:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='m17.5 5.5-1-1L11 10 5.5 4.5l-1 1L10 11l-5.5 5.5 1 1L11 12l5.5 5.5 1-1L12 11l5.5-5.5Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},570798:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='m17.5 5.5-1-1L11 10 5.5 4.5l-1 1L10 11l-5.5 5.5 1 1L11 12l5.5 5.5 1-1L12 11l5.5-5.5Z' fill='%23fff'/%3e%3c/svg%3e"},120406:function(b){b.exports="data:image/svg+xml,%3csvg height='22' width='22' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m18.5 4.5-1-1L11 10 4.5 3.5l-1 1L10 11l-6.5 6.5 1 1L11 12l6.5 6.5 1-1L12 11z' fill='%23313131' fill-rule='evenodd'/%3e%3c/svg%3e"},221361:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M11 1C5.477 1 1 5.477 1 11c0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10' fill='%23EC3E3D'/%3e%3cpath fill='%23FFF' d='M6 10v2h10v-2z'/%3e%3c/g%3e%3c/svg%3e"},636779:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdefs%3e%3cpath d='M21 16c0 .551-.449 1-1 1H2c-.551 0-1-.449-1-1V4c0-.551.449-1 1-1h18c.551 0 1 .449 1 1v12zM9 20h4v-2H9v2zM2 2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h6v2H6v1h10v-1h-2v-2h6a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z' id='a'/%3e%3c/defs%3e%3cuse fill='%23313131' xlink:href='%23a' fill-rule='evenodd'/%3e%3c/svg%3e"},529810:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-406 290.3 16 16'%3e%3cpath d='M-403.8 297.5h11.5c.4 0 .8.3.8.8s-.3.8-.8.8h-11.5c-.4 0-.8-.3-.8-.8s.4-.8.8-.8zm0-4h11.5c.4 0 .8.3.8.8s-.3.8-.8.8h-11.5c-.4 0-.8-.3-.8-.8s.4-.8.8-.8zm0 8h11.5c.4 0 .8.3.8.8s-.3.8-.8.8h-11.5c-.4 0-.8-.3-.8-.8s.4-.8.8-.8z' style='fill:%239fa7ab'/%3e%3c/svg%3e"},891164:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdefs%3e%3cpath id='a' d='m17 8-6 6-6-6z'/%3e%3c/defs%3e%3cg fill='none' fill-rule='evenodd'%3e%3cmask id='b' fill='%23fff'%3e%3cuse xlink:href='%23a'/%3e%3c/mask%3e%3cg mask='url(%23b)' fill='%23313131'%3e%3cpath d='M0 0h22v22H0z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e"},281175:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdefs%3e%3cpath id='a' d='m17 8-6 6-6-6z'/%3e%3c/defs%3e%3cg fill='none' fill-rule='evenodd'%3e%3cmask id='b' fill='%23fff'%3e%3cuse xlink:href='%23a'/%3e%3c/mask%3e%3cg mask='url(%23b)' fill='%23A1A1A1'%3e%3cpath d='M0 0h22v22H0z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e"},170737:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3e%3cdefs%3e%3cclipPath id='a'%3e%3cpath d='M0 0v22h22V0H0l4.5.5h9v11h-9V.5z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg fill-opacity='0' fill-rule='evenodd' stroke='%23313131' transform='translate(4 3)' fill='none'%3e%3crect width='9' height='11' x='4.5' y='.5' rx='1'/%3e%3crect width='9' height='11' x='.5' y='4.5' rx='1' clip-path='url(%23a)'/%3e%3c/g%3e%3c/svg%3e"},949305:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.8 11a1.8 1.8 0 1 1-3.6 0 1.8 1.8 0 0 1 3.6 0ZM5.8 11a1.8 1.8 0 1 1-3.6 0 1.8 1.8 0 0 1 3.6 0ZM18 12.8a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},380926:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6 11a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM13 11a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM18 13a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z' fill='%23313131'/%3e%3c/svg%3e"},155172:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3ccircle fill='%23EC3E3D' cx='11' cy='11' r='10'/%3e%3cpath d='M10 5h2v8h-2V5Zm1 12.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z' fill='%23FFF'/%3e%3c/g%3e%3c/svg%3e"},869157:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m5.5 15.395 1.174 1.135 8.278-8.277.019.019v7.585l1.578-1.579-.096-8.663L7.85 5.5l-1.56 1.54 7.546.038L5.5 15.396Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},512036:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Z' fill='%23D6D6D6'/%3e%3cpath d='M7 6a1 1 0 0 1 2 0v.172a1 1 0 0 1-.293.707L7.586 8A2 2 0 0 0 7 9.414V10h2v-.586l1.121-1.121A3 3 0 0 0 11 6.172V6a3 3 0 0 0-6 0h2ZM9 13v-2H7v2h2Z' fill='%23fff'/%3e%3c/svg%3e"},724052:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 3a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm0 1c3.859 0 7 3.14 7 7s-3.141 7-7 7-7-3.14-7-7 3.141-7 7-7Zm1 8v1h-2v-1c0-1.103.897-2 2-2V9h-2v1H8V9c0-1.103.897-2 2-2h2c1.103 0 2 .897 2 2v1c0 1.103-.897 2-2 2Zm-2 4v-2h2v2h-2Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},745536:function(b){b.exports="data:image/svg+xml,%3csvg width='33' height='33' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12 9.5v14l11.667-6.999z' fill='%23FFF' fill-rule='evenodd'/%3e%3c/svg%3e"},74619:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cpath d='M9.9 4 5 9v9h13V4H9.9zm.1 1.4V9H6.3L10 5.4zM17 17H5.9v-7H11V5h6v12z' style='fill-rule:evenodd;clip-rule:evenodd;fill:%23313131'/%3e%3c/svg%3e"},768766:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cpath d='M3 5v11h16V5H3zm13.8 1L11 9.9 5.2 6h11.6zM4 15V6.4l7 4.7 7-4.7V15H4z' style='fill:%23313131'/%3e%3c/svg%3e"},451279:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cpath d='M12 7V4H3v14h16V7h-7zm6 10H4V5h7v3h7v9z' style='fill:%23313131'/%3e%3c/svg%3e"},217820:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-409 287.3 22 22'%3e%3cpath d='M-396 301.2c-.6-.2-1.9-.8-3-1.9-1.1-1.1-1.6-2.4-1.9-3l1.5-1.5-3.3-5-2.9 2.9c-1.9 1.9-.6 6.3 3.1 10 2.5 2.5 5.4 4 7.6 4 1 0 1.8-.3 2.4-.9l2.9-2.9-5-3.3-1.4 1.6zm4.9 2-2.1 2.1c-.4.4-1 .6-1.7.6-2 0-4.7-1.5-6.9-3.7-3.2-3.2-4.6-7.1-3.1-8.6l2.1-2.1 2.2 3.3-1.4 1.4.1.3c0 .1.6 2.1 2.2 3.7 1.5 1.5 3.6 2.2 3.7 2.2l.3.1 1.4-1.4 3.2 2.1z'/%3e%3c/svg%3e"},830663:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cpath d='M17.1 3.9c-.7-.6-1.5-.9-2.3-.9-.8 0-1.7.3-2.3.9L8.8 7.5c-.9.8-1.2 2.1-.8 3.2l-3.1 3c-1.3 1.2-1.3 3.2 0 4.5.7.5 1.5.8 2.3.8.8 0 1.7-.3 2.3-.9l3.7-3.6c.9-.9 1.1-2.1.8-3.2l3.1-3c1.3-1.2 1.3-3.2 0-4.4zm-4.6 9.9-3.7 3.6c-.4.4-1 .6-1.6.6s-1.2-.2-1.6-.6c-.4-.4-.6-1-.6-1.5s.2-1.1.7-1.5l2.9-2.8.3.3c.6.6 1.5.9 2.3.9.7 0 1.5-.3 2.1-.8v.2c-.1.7-.3 1.2-.8 1.6zm-3.3-2.9.1-.1c.4-.4 1-.6 1.6-.6s1.2.2 1.6.6l.3.3-.1.1c-.4.4-1 .6-1.6.6-.6 0-1.2-.2-1.6-.6l-.3-.3zm7.2-3.3-2.9 2.8-.3-.3c-.6-.6-1.5-.9-2.3-.9-.7 0-1.5.3-2.1.8v-.2c0-.6.2-1.1.7-1.5l3.7-3.6c.4-.4 1-.6 1.6-.6.6 0 1.2.2 1.6.6.4.3.6.9.6 1.4s-.2 1.1-.6 1.5z' style='fill:%23313131'/%3e%3c/svg%3e"},987274:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-409 287.3 22 22'%3e%3cpath d='M-398 309.3c-6.1 0-11-4.9-11-11s4.9-11 11-11 11 4.9 11 11-4.9 11-11 11zm0-21c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.5-10-10-10z'/%3e%3ccircle cx='-396.9' cy='294.5' r='.8'/%3e%3cpath d='m-399.3 297.2-.1.4s1-.3 1.1 0c.3.5-.2 1.8-.4 3-.2.9-.6 1.6 0 2.1.5.3 1.1.1 2-.2l.1-.4s-.9.3-1.2-.1c-.3-.4.2-1.6.3-2.1.1-.8.8-2.3.3-2.8-.5-.6-1.7-.1-1.9 0'/%3e%3c/svg%3e"},479301:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 13'%3e%3cpath fill='none' stroke='%23000' d='M2.5 3v2.5H1c-.3 0-.5.2-.5.5v6c0 .3.2.5.5.5h8c.3 0 .5-.2.5-.5V6c0-.3-.2-.5-.5-.5H7.5V3C7.5 1.6 6.4.5 5 .5S2.5 1.6 2.5 3zm0 0C2.5 1.6 3.6.5 5 .5S7.5 1.6 7.5 3v2.5h-5V3z'/%3e%3c/svg%3e"},895863:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cimage width='22' height='22' xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAZCAYAAAAiwE4nAAAABGdBTUEAALGOGCHvlwAAAWBJREFUSA3tVO1RwkAQBccCpIOjA+0gHYgVABWoFYQWbEChAe1AhgbQCkw6wArE9+Ic8zj2zoOJ/GDcmZfb7Nvddx+5dDrtWIE2c2AFrIE3oAT+xG7QlSIWXttW7KJhFRHjBL6AAtjY2cY7zLlEmUuUckLXyoeCFyBLgGdAvAAOiBnzfzOXSqCAdRZciWVjBK18jS21UFfIpgMlxb8Vf193axdCwVizIkZkxGvNUUGnRKb/npFXa44KajzXp+BnIplnuVBeBWslAj/GseFDkKuvrJtpQH0e7grQL8z7Q00M/F6kjpc+Vde0meLpRfxYNUz6cW/UfaRLfliu0gv5cZhRaN3Hrftn9egieGUIThAjZxknWAKxo3gG54Ad6yMyBfyqwrECNwK8MEf+DGJCYf0Tch3Q2ATP3EIK3wEcw6Y574+cKROPZWu9h0cR/RdsfZtPf0vPsWeHXgv/E9hr278BIJiP8DaYRFsAAAAASUVORK5CYII=' fill='none' fill-rule='evenodd'/%3e%3c/svg%3e"},579587:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='%23313131' fill-rule='evenodd'%3e%3cpath d='M15 0H7a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2m0 1c.551 0 1 .449 1 1v18c0 .552-.449 1-1 1H7c-.551 0-1-.448-1-1V2c0-.551.449-1 1-1h8'/%3e%3cpath d='M9 20h4v-1H9z'/%3e%3c/g%3e%3c/svg%3e"},252846:function(b){b.exports="data:image/svg+xml,%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' x='0' y='0' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cstyle%3e.st0%7bfill-rule:evenodd;clip-rule:evenodd;fill:%23231f20%7d%3c/style%3e%3cpath class='st0' d='M13 13.8c-.7-.5-1.6-.8-2.7-.8-.5 0-1 .1-1.6.2-2.1.6-3.3 2.4-2.6 3.9.6 1.2 2 1.9 3.5 1.9.5 0 1-.1 1.6-.2 1.6-.5 2.6-1.6 2.8-2.8V3h-1v10.8zm-.1 2.5c-.3.6-1 1.2-1.9 1.5-.4.1-.8.2-1.3.2-1.2 0-2.2-.5-2.6-1.3-.2-.3-.1-.7 0-1.1.3-.6 1-1.2 1.9-1.5.4-.1.8-.2 1.3-.2 1.2 0 2.2.5 2.6 1.3.1.4.1.8 0 1.1z'/%3e%3ccircle class='st0' cx='17' cy='16' r='1'/%3e%3c/svg%3e"},812706:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cpath d='M16.5 18c-.5 0-.9-.2-1.1-.3-.3-.2-.4-.5-.4-.7V6.5S14.8 3 10.6 3C8 3 7.2 3.7 6.1 5 4.7 6.6 5 7.5 5 7.6l1-.1s-.2-.6.9-1.8C7.8 4.6 8.4 4 10.5 4 13.8 4 14 6.4 14 6.5v4c-1 .1-4.1.3-5.7 1-.2.1-.4.2-.6.2-1.2.4-3 1-2.7 4.3.1 1 .6 1.8 1.4 2.1.4.2.9.3 1.5.3 1.8 0 5-1 6.2-1.6v.5c0 .3.2.6.4.8.4.4 1 .8 1.9.8h.2l-.1-.9zm-9.7-.7c-.5-.2-.7-.7-.8-1.4-.3-2.5.8-2.8 2-3.2.3-.1.5-.2.7-.3 1.4-.6 4.4-.9 5.3-.9v4.2c-1.4.8-5.7 2.3-7.2 1.6z' style='fill:%23313131'/%3e%3c/svg%3e"},493974:function(b){b.exports="data:image/svg+xml,%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' x='0' y='0' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cstyle%3e.st0%7bfill-rule:evenodd;clip-rule:evenodd;fill:%23313131%7d%3c/style%3e%3cpath class='st0' d='M3 4v14h16V4H3zm15 13H4V5h14v12z'/%3e%3cpath transform='rotate(44.992 11 11)' class='st0' d='M10.5 5.3h1v11.3h-1z'/%3e%3c/svg%3e"},914953:function(b){b.exports="data:image/svg+xml,%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' x='0' y='0' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cstyle%3e.st0%7bfill-rule:evenodd;clip-rule:evenodd;fill:%23313131%7d%3c/style%3e%3cpath class='st0' d='M15 6V4h-1v2H7V4H6v2H3v13h15V6h-3zm2 12H4V7h2v2h1V7h7v2h1V7h2v11z'/%3e%3cpath class='st0' d='M13 11h1v1h-1zM10 11h1v1h-1zM7 11h1v1H7zM13 15h1v1h-1zM13 13h1v1h-1zM10 13h1v1h-1zM7 13h1v1H7zM10 15h1v1h-1zM7 15h1v1H7z'/%3e%3c/svg%3e"},496469:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cpath d='M12 7V4H3v14h16V7h-7zm6 10H4V5h7v3h7v9z' style='fill:%23797979'/%3e%3c/svg%3e"},368319:function(b){b.exports="data:image/svg+xml,%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' x='0' y='0' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cstyle%3e.st0%7bfill:%23313131%7d%3c/style%3e%3cpath class='st0' d='M17 6V4H3v11h2v2h14V6h-2zM4 14V5h12v8.6l-.3-.3-2.1-2.3-.5-.6-.7.4-1.4.8-1.4-1.7-.8-.8-.7.8L5 13.3l-.6.7H4zm11 0H5.7l3.1-3.4 2.1 2.3 2.1-1.1 2 2.2zm3 2H6v-1h11.3l-.3-.3V7h1v9z'/%3e%3ccircle class='st0' cx='6' cy='7' r='1'/%3e%3c/svg%3e"},726430:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M18 7H5V6h13v1ZM18 10H5V9h13v1ZM18 13H5v-1h13v1ZM18 16H5v-1h13v1Z' fill='%23313131'/%3e%3c/svg%3e"},244405:function(b){b.exports="data:image/svg+xml,%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' x='0' y='0' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cstyle%3e.st0%7bfill-rule:evenodd;clip-rule:evenodd;fill:%23313131%7d%3c/style%3e%3cpath class='st0' d='M17 17h-1v1h2v-2h-1zM17 12h1v2h-1zM17 8h1v2h-1zM5 16H4v2h2v-1H5zM4 12h1v2H4zM4 8h1v2H4zM12 17h2v1h-2zM8 17h2v1H8zM17 4h-1v1h1v1h1V4zM12 4h2v1h-2zM8 4h2v1H8zM4 4v2h1V5h1V4H5z'/%3e%3c/svg%3e"},996876:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cpath d='M17.1 3.9c-.7-.6-1.5-.9-2.3-.9-.8 0-1.7.3-2.3.9L8.8 7.5c-.9.8-1.2 2.1-.8 3.2l-3.1 3c-1.3 1.2-1.3 3.2 0 4.5.7.5 1.5.8 2.3.8.8 0 1.7-.3 2.3-.9l3.7-3.6c.9-.9 1.1-2.1.8-3.2l3.1-3c1.3-1.2 1.3-3.2 0-4.4zm-4.6 9.9-3.7 3.6c-.4.4-1 .6-1.6.6s-1.2-.2-1.6-.6c-.4-.4-.6-1-.6-1.5s.2-1.1.7-1.5l2.9-2.8.3.3c.6.6 1.5.9 2.3.9.7 0 1.5-.3 2.1-.8v.2c-.1.7-.3 1.2-.8 1.6zm-3.3-2.9.1-.1c.4-.4 1-.6 1.6-.6s1.2.2 1.6.6l.3.3-.1.1c-.4.4-1 .6-1.6.6-.6 0-1.2-.2-1.6-.6l-.3-.3zm7.2-3.3-2.9 2.8-.3-.3c-.6-.6-1.5-.9-2.3-.9-.7 0-1.5.3-2.1.8v-.2c0-.6.2-1.1.7-1.5l3.7-3.6c.4-.4 1-.6 1.6-.6.6 0 1.2.2 1.6.6.4.3.6.9.6 1.4s-.2 1.1-.6 1.5z' style='fill:%23313131'/%3e%3c/svg%3e"},219142:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cpath d='M9.9 4 5 9v9h13V4H9.9zm.1 1.4V9H6.3L10 5.4zM17 17H5.9v-7H11V5h6v12z' style='fill-rule:evenodd;clip-rule:evenodd;fill:%23313131'/%3e%3c/svg%3e"},708318:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cpath d='M12.8 10.6H12V4.9h.1c1.4 0 2.6.5 3.8 1.5l.6-.8C15.3 4.6 14 4 12.2 4H12V3h-1v1.1c-2.2.3-4.5 1.7-4.5 3.5 0 2 1.3 3.1 4.4 3.8h.1V17c-1.7-.1-3-.7-4.4-2l-.6.8c1.5 1.4 3.1 2.1 5 2.2v1h1v-1h.8c2.5-.1 4.2-1.6 4.2-3.7 0-2-1.2-3.1-4.2-3.7zM7.6 7.5c0-1.5 1.3-2.6 3.3-2.6h.1v5.5c-2.8-.7-3.4-1.5-3.4-2.9zm8.4 6.9c0 1.5-1.2 2.6-3.1 2.7H12v-5.6h.4c2.8.6 2.8 1.2 3.6 2.5v.4z' style='fill:%23313131'/%3e%3c/svg%3e"},619258:function(b){b.exports="data:image/svg+xml,%3csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' x='0' y='0' viewBox='0 0 22 22' style='enable-background:new 0 0 22 22' xml:space='preserve'%3e%3cstyle%3e.st0%7bfill:%23313131%7d%3c/style%3e%3cpath class='st0' d='M18 7h-1V5H3v11h2v2h14V7h-1zM4 15V6h12v9H4zm14 2H6v-1h11V8h1v9z'/%3e%3cpath class='st0' d='M11 8h3v1h-3zM11 10h3v1h-3zM11 12h3v1h-3zM10 8H6v5h4V8zm-1 4H7V9h2v3z'/%3e%3c/svg%3e"},399950:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.506 12.989 3 16h2l8-16h-2L9.78 2.441C6.117 1.646 2.083 3.332 0 7.5v1c1.084 2.167 2.694 3.663 4.506 4.489Zm.942-1.885L6.4 9.2A2 2 0 0 1 8 6l.944-1.888A4.01 4.01 0 0 0 8 4c-4.084 0-4.935 5.015-2.552 7.104ZM16 8.5c-1.727 3.453-4.792 5.203-7.875 5.25l.948-1.896a4.002 4.002 0 0 0 2.654-5.309L13.04 3.92c1.172.86 2.197 2.054 2.96 3.58v1Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},273951:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z' fill='%23A1A1A1'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 8.5v-1c3.5-7 12.5-7 16 0v1c-3.5 7-12.5 7-16 0ZM12 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},663565:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7 5 5 7h8.586l-9 9 1.415 1.414 8.999-9V17l2-2V5H7Z' fill='%23313131'/%3e%3c/svg%3e"},969702:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.5 8h14.293l-3.147-3.146.708-.708L21.707 8.5l-4.353 4.354-.708-.708L19.793 9H5.5C3.57 9 2 10.57 2 12.5S3.57 16 5.5 16H11v1H5.5A4.505 4.505 0 0 1 1 12.5C1 10.019 3.019 8 5.5 8' fill='%23313131' fill-rule='evenodd'/%3e%3c/svg%3e"},704314:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cpath d='M16.544 2.457a2.12 2.12 0 1 1 3 3c-1.25 1.25-4 2.5-5.75 4.25a1.414 1.414 0 0 0 0 2l1.75 1.75a.708.708 0 0 1 0 1l-2 2-8.001-8 2-2a.707.707 0 0 1 1 0l1.75 1.75a1.413 1.413 0 0 0 2 0c1.75-1.75 3-4.5 4.25-5.75Zm-3 14-4.5 4.5a.707.707 0 0 1-1.001 0l-7-7a.708.708 0 0 1 0-1l4.5-4.5 8 8Zm4.95-12.474a.477.477 0 1 0-.954 0 .477.477 0 0 0 .954 0Z' stroke='%23313131' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath fill='%23313131' d='m9.089 16.532-2.736 2.736.675.675 2.736-2.736-.675-.675M6.225 16.532l-1.304 1.303.675.676L6.9 17.207l-.675-.675'/%3e%3c/g%3e%3c/svg%3e"},856033:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.5 5.5h5a2.5 2.5 0 0 1 0 5h-5v-5ZM6.5 10.5H12a3 3 0 1 1 0 6H6.5v-6Z' stroke='%23313131' stroke-width='3'/%3e%3c/svg%3e"},379160:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M18 4H4v2h14V4Zm3 4H1v2h20V8ZM1 12h20v2H1v-2Zm17 4H4v2h14v-2Z' fill='%23313131'/%3e%3c/svg%3e"},846277:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='11' cy='11' r='8' stroke='%23313131' stroke-width='2'/%3e%3cpath fill='%23313131' d='M4.64 15.949 15.952 4.637l1.414 1.414L6.054 17.363z'/%3e%3c/svg%3e"},660555:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m11 9.586 5.293-5.293 1.414 1.414L12.414 11l5.293 5.293-1.414 1.414L11 12.414l-5.293 5.293-1.414-1.414L9.586 11 4.293 5.707l1.414-1.414L11 9.586Z' fill='%23313131'/%3e%3c/svg%3e"},558382:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m14.55 2-5 18h-2.1l5-18h2.1Z' fill='%23313131'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M6 6.168v2.404L2.357 11 6 13.428v2.404l-6-4v-1.664l6-4ZM16 6.168v2.404L19.642 11 16 13.428v2.404l6-4v-1.664l-6-4Z' fill='%23313131'/%3e%3c/svg%3e"},638240:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7.945 15V5.133h1.222V9.15c.468-.728 1.17-1.339 2.34-1.339 1.677 0 2.639 1.131 2.639 2.782V15h-1.222v-4.069c0-1.248-.663-2.002-1.807-2.002-1.118 0-1.95.806-1.95 2.067V15H7.945z' fill='%23313131' fill-rule='evenodd'/%3e%3c/svg%3e"},230925:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9 17v-5H3v5H1V5h2v5h6V5h2v12H9ZM21 17h-8v-2h3V9h-3V7.25c2 0 3-.75 3-2.25l2 .01V15h3v2Z' fill='%23313131'/%3e%3c/svg%3e"},716653:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15.8 15H21v2h-8v-1.9c.34-.302.697-.59 1.09-.905.672-.539 1.448-1.162 2.417-2.088 1.62-1.553 2.293-2.288 2.293-3.574 0-1.102-.723-1.933-1.876-1.933-1.352 0-1.953.998-1.97 2.334L12.9 8.85c.016-2.187 1.403-4.05 4.024-4.05 2.472 0 3.958 1.579 3.958 3.683C20.882 11.5 18.05 13.5 15.8 15ZM9 17v-5H3v5H1V5h2v5h6V5h2v12H9Z' fill='%23313131'/%3e%3c/svg%3e"},193565:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M16.808 17.217c-2.538 0-3.991-1.536-4.141-3.674l2.02-.083c.1 1.235.819 2.037 2.155 2.037 1.269 0 2.07-.902 2.07-2.054 0-1.443-.915-1.943-2.454-1.943h-.461V9.752c1.386 0 2.415-.434 2.415-1.703 0-.985-.719-1.549-1.604-1.549-1.018 0-1.586.697-1.686 1.682l-1.92-.083c.066-1.92 1.452-3.299 3.656-3.299 2.171 0 3.59 1.312 3.59 3.165 0 1.186-.7 2.004-1.67 2.489v.033C20.216 10.955 21 12.04 21 13.51c0 2.204-1.637 3.707-4.192 3.707ZM9 17v-5H3v5H1V5h2v5h6V5h2v12H9Z' fill='%23313131'/%3e%3c/svg%3e"},547861:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9 17v-5H3v5H1V5h2v5h6V5h2v12H9ZM21.5 15H20v2h-2v-2h-5.25v-1.75L15.5 5h2.05L15 13h3V8.5h2V13h1.5v2Z' fill='%23313131'/%3e%3c/svg%3e"},233629:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.233 15V5.133h1.222V9.15c.468-.728 1.17-1.339 2.34-1.339 1.677 0 2.639 1.131 2.639 2.782V15H9.212v-4.069c0-1.248-.663-2.002-1.807-2.002-1.118 0-1.95.806-1.95 2.067V15H4.233zm11.427.156c-1.378 0-2.535-.624-3.406-1.482l.806-.897c.806.767 1.677 1.248 2.613 1.248 1.287 0 2.158-.819 2.158-1.95v-.026c0-1.118-.923-1.859-2.236-1.859-.767 0-1.378.221-1.911.494l-.806-.533.273-4.615h5.512v1.131h-4.42l-.182 2.782c.507-.208 1.014-.377 1.755-.377 1.82 0 3.263 1.066 3.263 2.925v.026c0 1.872-1.404 3.133-3.419 3.133z' fill='%23313131' fill-rule='evenodd'/%3e%3c/svg%3e"},970132:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M3.499 15V5.133h1.222V9.15c.468-.728 1.17-1.339 2.34-1.339 1.677 0 2.639 1.131 2.639 2.782V15H8.478v-4.069c0-1.248-.663-2.002-1.807-2.002-1.118 0-1.95.806-1.95 2.067V15H3.499zm11.856.156c-1.079 0-1.937-.364-2.548-.962-.741-.754-1.17-1.729-1.17-3.653v-.026c0-2.886 1.43-5.135 3.978-5.135 1.157 0 1.989.403 2.821 1.066l-.702.975c-.689-.585-1.313-.91-2.184-.91-1.781 0-2.626 1.885-2.626 3.783v.065c.598-.832 1.404-1.326 2.574-1.326 1.781 0 3.289 1.118 3.289 2.925v.026c0 1.846-1.495 3.172-3.432 3.172zm0-1.092c1.326 0 2.158-.897 2.158-2.028v-.026c0-1.092-.884-1.911-2.197-1.911-1.352 0-2.236.936-2.236 1.95v.026c0 1.131.936 1.989 2.275 1.989z' fill='%23313131' fill-rule='evenodd'/%3e%3c/svg%3e"},364026:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M3.17 15V5.133h1.222V9.15c.468-.728 1.17-1.339 2.34-1.339 1.677 0 2.639 1.131 2.639 2.782V15H8.149v-4.069c0-1.248-.663-2.002-1.807-2.002-1.118 0-1.95.806-1.95 2.067V15H3.17zm11.531.156c-1.599 0-2.769-.689-3.549-1.664l.897-.819c.702.871 1.547 1.365 2.678 1.365 1.079 0 1.937-.689 1.937-1.716v-.026c0-1.105-1.027-1.716-2.509-1.716h-.65l-.234-.767 2.847-3.172h-4.459V5.536h6.11v.923l-2.873 3.12c1.586.143 3.029.923 3.029 2.665v.026c0 1.703-1.391 2.886-3.224 2.886z' fill='%23313131' fill-rule='evenodd'/%3e%3c/svg%3e"},568822:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='%23313131' d='M2 4h18v2H2zM11 8h9v2h-9zM11 12h9v2h-9zM2 16h18v2H2zM4.5 8h2.83l-3 3 3 3H4.5l-3-3 3-3Z'/%3e%3c/svg%3e"},142617:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.33 4h18v2h-18V4Zm9 4h9v2h-9V8Zm9 4h-9v2h9v-2Zm0 4v2h-18v-2h18ZM2 8h2.83l3 3-3 3H2l3-3-3-3Z' fill='%23313131'/%3e%3c/svg%3e"},986138:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='m14 4-4 14H8l4-14h2Z' fill='%23313131'/%3e%3cpath fill='%23313131' d='M6 16h7v2H6zM9 4h7v2H9z'/%3e%3c/svg%3e"},557462:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M14 4H2v2h12V4Zm6 4H2v2h18V8ZM2 12h18v2H2v-2Zm12 4H2v2h12v-2Z' fill='%23313131'/%3e%3c/svg%3e"},163533:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7 11h8M10 6H7a5 5 0 0 0 0 10h3M12 6h3a5 5 0 0 1 0 10h-3' stroke='%23313131' stroke-width='2'/%3e%3c/svg%3e"},913091:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.8 11a1.8 1.8 0 1 1-3.6 0 1.8 1.8 0 0 1 3.6 0ZM4.8 11a1.8 1.8 0 1 1-3.6 0 1.8 1.8 0 0 1 3.6 0ZM19 12.8a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6Z' fill='%23313131'/%3e%3c/svg%3e"},640342:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8.324 17v-.976l1.952-1.608c.736-.616 1.024-.944 1.024-1.432 0-.512-.344-.792-.816-.792-.464 0-.784.264-1.216.8l-.864-.688c.568-.784 1.12-1.208 2.16-1.208 1.192 0 1.992.704 1.992 1.784v.016c0 .96-.496 1.448-1.528 2.256l-1 .784h2.584V17H8.324zm1.924-8V4.384l-1.024.256-.256-1.008 1.656-.496h.84V9z' fill='%23313131' fill-rule='evenodd'/%3e%3c/svg%3e"},579854:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 5.5a.5.5 0 0 0 .5.5H4v1H1V6h.5a.5.5 0 0 0 .5-.5V4H1V3a1 1 0 0 0 1-1h1v3.5ZM21 4H7v2h14V4Zm0 6H7v2h14v-2ZM7 16h14v2H7v-2Zm-6-3v-.5c0-.486.156-.863.439-1.146l1.415-1.415A.507.507 0 0 0 3 9.586C3 9.224 2.775 9 2.5 9a.5.5 0 0 0-.5.5v.5H1v-.5C1 8.673 1.673 8 2.5 8S4 8.673 4 9.5c0 .486-.156.863-.439 1.146L2.207 12H4v1H1Zm1.503 1A1.5 1.5 0 0 1 4 15.5c0 .386-.15.734-.39 1 .24.266.39.614.39 1a1.5 1.5 0 0 1-3 .008l.998-.008a.501.501 0 1 0 .505-.5h-.499v-1h.499a.5.5 0 0 0 0-1 .5.5 0 0 0-.499.5h-.998A1.5 1.5 0 0 1 2.503 14Z' fill='%23313131'/%3e%3c/svg%3e"},202671:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 13v4H2V5h5.25a4 4 0 1 1 0 8H4Zm5.25-4a2 2 0 0 1-2 2H4V7h3.25a2 2 0 0 1 2 2Z' fill='%23313131'/%3e%3cpath d='M21 17h-8v-2h3V9h-3V7.25c2 0 3-.75 3-2.25l2 .01V15h3v2Z' fill='%23313131'/%3e%3c/svg%3e"},549631:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.8 15H21v2h-8v-1.9c.34-.302.697-.59 1.09-.905.672-.539 1.448-1.162 2.417-2.088 1.62-1.553 2.293-2.288 2.293-3.574 0-1.102-.723-1.933-1.876-1.933-1.352 0-1.953.998-1.97 2.334L12.9 8.85c.016-2.187 1.403-4.05 4.024-4.05 2.472 0 3.958 1.579 3.958 3.683C20.882 11.5 18.05 13.5 15.8 15ZM4 13v4H2V5h5.25a4 4 0 1 1 0 8H4Zm5.25-4a2 2 0 0 1-2 2H4V7h3.25a2 2 0 0 1 2 2Z' fill='%23313131'/%3e%3c/svg%3e"},127206:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M16.808 17.217c-2.538 0-3.991-1.536-4.141-3.674l2.02-.083c.1 1.235.819 2.037 2.155 2.037 1.269 0 2.07-.902 2.07-2.054 0-1.443-.915-1.943-2.454-1.943h-.461V9.752c1.386 0 2.415-.434 2.415-1.703 0-.985-.719-1.549-1.604-1.549-1.018 0-1.586.697-1.686 1.682l-1.92-.083c.066-1.92 1.452-3.299 3.656-3.299 2.171 0 3.59 1.312 3.59 3.165 0 1.186-.7 2.004-1.67 2.489v.033C20.216 10.955 21 12.04 21 13.51c0 2.204-1.637 3.707-4.192 3.707Z' fill='%23313131'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 13v4H2V5h5.25a4 4 0 1 1 0 8H4Zm5.25-4a2 2 0 0 1-2 2H4V7h3.25a2 2 0 0 1 2 2Z' fill='%23313131'/%3e%3c/svg%3e"},102546:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M2.505 17.158V7.967h1.222v1.339c.559-.819 1.365-1.495 2.613-1.495 1.664 0 3.328 1.339 3.328 3.653v.026c0 2.314-1.651 3.666-3.328 3.666-1.274 0-2.08-.676-2.613-1.43v3.432H2.505zm3.575-3.081c1.287 0 2.34-.975 2.34-2.574v-.026c0-1.573-1.079-2.587-2.34-2.587-1.235 0-2.392 1.04-2.392 2.574v.026c0 1.547 1.157 2.587 2.392 2.587zM16.259 15v-2.21h-4.927l-.273-.897 5.317-6.422h1.092v6.279h1.43v1.04h-1.43V15h-1.209zm-3.718-3.25h3.718V7.213l-3.718 4.537z' fill='%23313131' fill-rule='evenodd'/%3e%3c/svg%3e"},432090:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M3.902 17.158V7.967h1.222v1.339c.559-.819 1.365-1.495 2.612-1.495 1.664 0 3.328 1.339 3.328 3.653v.026c0 2.314-1.65 3.666-3.328 3.666-1.274 0-2.08-.676-2.612-1.43v3.432H3.902zm3.574-3.081c1.288 0 2.34-.975 2.34-2.574v-.026c0-1.573-1.079-2.587-2.34-2.587-1.235 0-2.391 1.04-2.391 2.574v.026c0 1.547 1.156 2.587 2.391 2.587zm8.515 1.079c-1.377 0-2.534-.624-3.405-1.482l.805-.897c.806.767 1.677 1.248 2.614 1.248 1.287 0 2.158-.819 2.158-1.95v-.026c0-1.118-.923-1.859-2.236-1.859-.768 0-1.379.221-1.912.494l-.805-.533.272-4.615h5.513v1.131h-4.42l-.182 2.782c.506-.208 1.014-.377 1.755-.377 1.82 0 3.262 1.066 3.262 2.925v.026c0 1.872-1.404 3.133-3.419 3.133z' fill='%23313131' fill-rule='evenodd'/%3e%3c/svg%3e"},186901:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M3.668 17.158V7.967h1.221v1.339c.56-.819 1.366-1.495 2.614-1.495 1.664 0 3.328 1.339 3.328 3.653v.026c0 2.314-1.652 3.666-3.328 3.666-1.274 0-2.08-.676-2.614-1.43v3.432H3.668zm3.574-3.081c1.287 0 2.34-.975 2.34-2.574v-.026c0-1.573-1.078-2.587-2.34-2.587-1.234 0-2.391 1.04-2.391 2.574v.026c0 1.547 1.157 2.587 2.391 2.587zm8.945 1.079c-1.08 0-1.937-.364-2.548-.962-.741-.754-1.17-1.729-1.17-3.653v-.026c0-2.886 1.43-5.135 3.978-5.135 1.157 0 1.989.403 2.82 1.066l-.701.975c-.69-.585-1.313-.91-2.185-.91-1.78 0-2.626 1.885-2.626 3.783v.065c.599-.832 1.404-1.326 2.575-1.326 1.78 0 3.289 1.118 3.289 2.925v.026c0 1.846-1.495 3.172-3.432 3.172zm0-1.092c1.326 0 2.158-.897 2.158-2.028v-.026c0-1.092-.884-1.911-2.197-1.911-1.353 0-2.236.936-2.236 1.95v.026c0 1.131.935 1.989 2.275 1.989z' fill='%23313131' fill-rule='evenodd'/%3e%3c/svg%3e"},319207:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 13a4.5 4.5 0 1 1 0-9h8v2h-1.973L15 18h-2V6h-2v12H9v-5Z' fill='%23313131'/%3e%3c/svg%3e"},827319:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 10h7v7H3v-7Z' fill='%23313131'/%3e%3cpath d='m3 10 3-6h2.75l-3 6H3Z' fill='%23313131'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 10h7v7h-7v-7Z' fill='%23313131'/%3e%3cpath d='m12 10 3-6h2.75l-3 6H12Z' fill='%23313131'/%3e%3c/svg%3e"},665430:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m16.582 7-4-4h2.828l5 5-5 5h-2.828l4-4H7.5a3.5 3.5 0 1 0 0 7H11v2H7.5a5.5 5.5 0 1 1 0-11h9.082Z' fill='%23313131'/%3e%3c/svg%3e"},603334:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m16.582 7-4-4h2.828l5 5-5 5h-2.828l4-4H7.5a3.5 3.5 0 1 0 0 7H11v2H7.5a5.5 5.5 0 1 1 0-11h9.082Z' fill='%23D6D6D6'/%3e%3c/svg%3e"},858828:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='%23313131'%3e%3cpath d='M11 17a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-1a5 5 0 1 0 0-10 5 5 0 0 0 0 10z'/%3e%3cpath d='m14.5 6.793.707.707L7.5 15.207l-.707-.707z'/%3e%3c/g%3e%3c/svg%3e"},844183:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M21 4H7v2h14V4Zm0 4H1v2h20V8ZM1 12h20v2H1v-2Zm20 4H7v2h14v-2Z' fill='%23313131'/%3e%3c/svg%3e"},81808:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M10 18h2V6h5V4H5v2h5v12Z' fill='%23313131'/%3e%3cpath fill='%23313131' d='M3 11h16v-1H3z'/%3e%3cpath fill='%23fff' d='M3 11h16v1H3z'/%3e%3c/svg%3e"},182258:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M20 18h-3v-.5c0-.486.156-.863.439-1.146l1.415-1.415a.507.507 0 0 0 .146-.353c0-.362-.225-.586-.5-.586a.5.5 0 0 0-.5.5v.5h-1v-.5c0-.827.673-1.5 1.5-1.5s1.5.673 1.5 1.5c0 .486-.156.863-.439 1.146L18.207 17H20v1Z' fill='%23313131'/%3e%3cpath d='M10 18h2V6h5V4H5v2h5v12Z' fill='%23313131'/%3e%3c/svg%3e"},656974:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M10 18h2V6h5V4H5v2h5v12Z' fill='%23313131'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M22 9h-3v-.5c0-.486.156-.863.439-1.146l1.415-1.415A.507.507 0 0 0 21 5.586c0-.362-.225-.586-.5-.586a.5.5 0 0 0-.5.5V6h-1v-.5c0-.827.673-1.5 1.5-1.5s1.5.673 1.5 1.5c0 .486-.156.863-.439 1.146L20.207 8H22v1Z' fill='%23313131'/%3e%3c/svg%3e"},414110:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 10.446C8 12.656 9.179 14 10.913 14 12.647 14 14 12.656 14 10.446V4h2v6.497C16 14.033 13.973 16 10.913 16 7.853 16 6 14.033 6 10.497V4h2v6.446ZM17 18H5v2h12v-2Z' fill='%23313131'/%3e%3c/svg%3e"},9848:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m5.418 7 4-4H6.59l-5 5 5 5h2.828l-4-4H14.5a3.5 3.5 0 1 1 0 7H11v2h3.5a5.5 5.5 0 1 0 0-11H5.418Z' fill='%23313131'/%3e%3c/svg%3e"},627896:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 6.8a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6ZM4 12.8a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6ZM4 18.8a1.8 1.8 0 1 0 0-3.6 1.8 1.8 0 0 0 0 3.6Z' fill='%23313131'/%3e%3cpath fill='%23313131' d='M8 4h12v2H8zM8 10h12v2H8zM8 16h12v2H8z'/%3e%3c/svg%3e"},454596:function(b){b.exports="data:image/svg+xml,%3csvg width='17' height='17' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m12.05 11.13.04-.04 4.242 4.243-1.06 1.061-4.243-4.243.11-.11a6.473 6.473 0 0 1-4.117 1.473c-3.59 0-6.5-2.918-6.5-6.5 0-3.59 2.917-6.5 6.5-6.5 3.59 0 6.5 2.917 6.5 6.5a6.47 6.47 0 0 1-1.473 4.117zM2.021 7.015c0 2.755 2.238 5 5 5 2.755 0 5-2.239 5-5 0-2.756-2.239-5-5-5-2.756 0-5 2.238-5 5z' fill='%23313131' fill-rule='evenodd'/%3e%3c/svg%3e"},849258:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdefs%3e%3cpath d='M6 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5Zm13.5 7.5-3.79-3.79A5.968 5.968 0 0 0 17 10a6 6 0 0 0-12 0 6 6 0 0 0 6 6 5.968 5.968 0 0 0 3.71-1.29l3.79 3.79 1-1Z' id='a'/%3e%3c/defs%3e%3cg fill='none' fill-rule='evenodd'%3e%3cmask id='b' fill='%23fff'%3e%3cuse xlink:href='%23a'/%3e%3c/mask%3e%3cg mask='url(%23b)' fill='%23d6d6d6'%3e%3cpath d='M0 0h22v22H0z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e"},997918:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdefs%3e%3cpath d='M6 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5Zm13.5 7.5-3.79-3.79A5.968 5.968 0 0 0 17 10a6 6 0 0 0-12 0 6 6 0 0 0 6 6 5.968 5.968 0 0 0 3.71-1.29l3.79 3.79 1-1Z' id='a'/%3e%3c/defs%3e%3cg fill='none' fill-rule='evenodd'%3e%3cmask id='b' fill='%23fff'%3e%3cuse xlink:href='%23a'/%3e%3c/mask%3e%3cg mask='url(%23b)' fill='%23A1A1A1'%3e%3cpath d='M0 0h22v22H0z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e"},267229:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.192 5.393A6.965 6.965 0 0 0 12 4.071V2h-2v2.07a6.964 6.964 0 0 0-3.192 1.323L5.344 3.93 3.93 5.343l1.464 1.464A6.964 6.964 0 0 0 4.07 10H2v2h2.07a6.964 6.964 0 0 0 1.324 3.193L3.93 16.657l1.414 1.414 1.464-1.464A6.964 6.964 0 0 0 10 17.929V20h2v-2.07a6.964 6.964 0 0 0 3.192-1.323l1.465 1.464 1.414-1.414-1.465-1.465A6.964 6.964 0 0 0 17.93 12H20v-2h-2.07a6.963 6.963 0 0 0-1.324-3.193l1.464-1.464-1.414-1.414-1.464 1.464ZM11 16a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z' fill='%23313131'/%3e%3c/svg%3e"},634053:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.066 0a.999.999 0 0 0-.979.8l-.416 2.031a8.45 8.45 0 0 0-1.803.744L5.14 2.434a1 1 0 0 0-1.258.128l-1.32 1.32a1 1 0 0 0-.128 1.258l1.141 1.728a8.45 8.45 0 0 0-.744 1.803L.8 9.086a1 1 0 0 0-.8.98v1.868a1 1 0 0 0 .8.98l2.031.415a8.45 8.45 0 0 0 .744 1.803L2.434 16.86a1 1 0 0 0 .128 1.258l1.32 1.32a1 1 0 0 0 1.258.128l1.728-1.141a8.45 8.45 0 0 0 1.803.744l.416 2.031c.095.466.504.8.979.8h1.868a1 1 0 0 0 .98-.8l.415-2.031a8.45 8.45 0 0 0 1.803-.744l1.728 1.141a1 1 0 0 0 1.258-.128l1.321-1.32a1 1 0 0 0 .127-1.258l-1.141-1.728a8.45 8.45 0 0 0 .744-1.803l2.031-.415a1 1 0 0 0 .8-.98v-1.868a1 1 0 0 0-.8-.98l-2.031-.415a8.45 8.45 0 0 0-.744-1.803l1.141-1.728a1 1 0 0 0-.127-1.258l-1.321-1.32a1 1 0 0 0-1.258-.128l-1.728 1.141a8.45 8.45 0 0 0-1.803-.744L12.914.8a1 1 0 0 0-.98-.8h-1.868Zm1.868 1 .415 2.031c.075.366.347.659.706.762.562.16 1.097.38 1.59.655a1 1 0 0 0 1.038-.039l1.728-1.14 1.321 1.32-1.141 1.727a1 1 0 0 0-.039 1.039c.275.492.495 1.027.655 1.59a.999.999 0 0 0 .762.705l2.031.416v1.868l-2.031.415a1.002 1.002 0 0 0-.762.706 7.457 7.457 0 0 1-.655 1.59 1 1 0 0 0 .039 1.038l1.141 1.728-1.321 1.32-1.728-1.14a1 1 0 0 0-1.038-.039 7.457 7.457 0 0 1-1.59.655 1.002 1.002 0 0 0-.706.762L11.934 21h-1.868l-.415-2.031a1.002 1.002 0 0 0-.706-.762 7.457 7.457 0 0 1-1.59-.655 1 1 0 0 0-1.038.039l-1.728 1.14-1.32-1.32 1.14-1.728a1 1 0 0 0 .039-1.038 7.457 7.457 0 0 1-.655-1.59 1 1 0 0 0-.762-.706L1 11.934v-1.868l2.031-.416a.998.998 0 0 0 .762-.705c.16-.563.38-1.098.655-1.59a1 1 0 0 0-.039-1.039l-1.14-1.727 1.32-1.32 1.728 1.14a1 1 0 0 0 1.038.039 7.457 7.457 0 0 1 1.59-.655c.359-.103.631-.396.706-.762L10.066 1h1.868ZM11 7a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm0 1c1.654 0 3 1.346 3 3s-1.346 3-3 3c-1.653 0-3-1.346-3-3s1.347-3 3-3Z' fill='%23313131'/%3e%3c/svg%3e"},234982:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 7v2h14V7H1Z' fill='%23313131'/%3e%3c/svg%3e"},33114:function(b){b.exports="data:image/svg+xml,%3csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1H7v6H1v2h6v6h2V9h6V7H9V1Z' fill='%23313131'/%3e%3c/svg%3e"},610478:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='%23313131' fill-rule='evenodd'%3e%3cpath d='M5 0a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H5zm13 2v18c0 .551-.449 1-1 1H5c-.551 0-1-.449-1-1V2c0-.551.449-1 1-1h12c.551 0 1 .449 1 1z'/%3e%3cpath d='M10 18h2v2h-2z'/%3e%3c/g%3e%3c/svg%3e"},53763:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3e%3cg fill='%233E3E3E' fill-rule='evenodd'%3e%3cpath d='M14 5h4v1h-1v10.997A2.007 2.007 0 0 1 14.991 19H7.01A2.004 2.004 0 0 1 5 16.997V6H4V5h4V4a1 1 0 0 1 .99-1h4.02c.546 0 .99.444.99 1v1ZM6 6v11.063a.997.997 0 0 0 .995 1.008h8.01c.54 0 .995-.451.995-1.008V6H6Zm6 2h1v8h-1V8ZM9 8h1v8H9V8Zm0-3.495V6h4V4.505A.49.49 0 0 0 12.51 4H9.49a.495.495 0 0 0-.49.505Z'/%3e%3cpath d='M9 5h4v1H9z'/%3e%3c/g%3e%3c/svg%3e"},736457:function(b){b.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3e%3cg fill='%23fff' fill-rule='evenodd'%3e%3cpath d='M14 5h4v1h-1v10.997A2.007 2.007 0 0 1 14.991 19H7.01A2.004 2.004 0 0 1 5 16.997V6H4V5h4V4a1 1 0 0 1 .99-1h4.02c.546 0 .99.444.99 1v1ZM6 6v11.063a.997.997 0 0 0 .995 1.008h8.01c.54 0 .995-.451.995-1.008V6H6Zm6 2h1v8h-1V8ZM9 8h1v8H9V8Zm0-3.495V6h4V4.505A.49.49 0 0 0 12.51 4H9.49a.495.495 0 0 0-.49.505Z'/%3e%3cpath d='M9 5h4v1H9z'/%3e%3c/g%3e%3c/svg%3e"},824488:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v1h4v1h-1v11a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6H4V5h4V4Zm1 2H6v11.071a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V6h-3V4.5a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5V6Zm4 2h-1v8h1V8Zm-4 8V8h1v8H9Z' fill='%23EC3E3D'/%3e%3cpath fill='%23EC3E3D' d='M9 5h4v1H9z'/%3e%3c/svg%3e"},455406:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdefs%3e%3cpath d='M16.5 8H2.207l3.147-3.146-.708-.708L.293 8.5l4.353 4.354.708-.708L2.207 9H16.5c1.93 0 3.5 1.57 3.5 3.5S18.43 16 16.5 16H11v1h5.5c2.481 0 4.5-2.019 4.5-4.5S18.981 8 16.5 8' id='a'/%3e%3c/defs%3e%3cuse fill='%23313131' xlink:href='%23a' fill-rule='evenodd'/%3e%3c/svg%3e"},778959:function(b){b.exports="data:image/svg+xml,%3csvg width='28' height='28' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 13.5C0 6.044 6.044 0 13.5 0S27 6.044 27 13.5 20.956 27 13.5 27 0 20.956 0 13.5Zm26 0C26 6.607 20.393 1 13.5 1S1 6.607 1 13.5 6.607 26 13.5 26 26 20.393 26 13.5ZM14.21 7.417l3.647 3.647-.707.707-3.147-3.146v10.293h-1V8.625l-3.146 3.146-.707-.707 3.646-3.647a1 1 0 0 1 1.414 0Z' fill='%23A1A1A1'/%3e%3c/svg%3e"},975749:function(b){b.exports="data:image/svg+xml,%3csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3ccircle fill-opacity='.16' fill='%23000' cx='10' cy='10' r='10'/%3e%3cpath fill='%23FFF' d='M15.33 10 7 15V5z'/%3e%3c/g%3e%3c/svg%3e"},40076:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6 6v10h10v-3h2v5H4V4h5v2H6Z' fill='%23313131'/%3e%3cpath d='M11 6V4h7v7h-2V7.5l-5 5L9.5 11l5.137-5H11Z' fill='%23313131'/%3e%3c/svg%3e"},771132:function(b){b.exports="data:image/svg+xml,%3csvg width='155' height='56' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M41.769 28.3a4.947 4.947 0 0 1 2.356-4.152 5.065 5.065 0 0 0-3.99-2.157c-1.68-.176-3.308 1.005-4.164 1.005-.872 0-2.19-.988-3.608-.958a5.315 5.315 0 0 0-4.473 2.727c-1.934 3.349-.492 8.27 1.361 10.977.927 1.325 2.01 2.805 3.428 2.753 1.387-.058 1.905-.885 3.58-.885 1.658 0 2.144.885 3.59.851 1.489-.024 2.426-1.33 3.32-2.669a10.962 10.962 0 0 0 1.52-3.092 4.782 4.782 0 0 1-2.92-4.4ZM39.037 20.21a4.872 4.872 0 0 0 1.115-3.49 4.957 4.957 0 0 0-3.208 1.66A4.635 4.635 0 0 0 35.8 21.74a4.099 4.099 0 0 0 3.237-1.53ZM59.302 35.14H54.57l-1.137 3.356h-2.005l4.484-12.418h2.083l4.483 12.418h-2.039l-1.136-3.356Zm-4.243-1.55h3.752l-1.85-5.446h-.051l-1.85 5.447ZM72.16 33.97c0 2.813-1.506 4.62-3.779 4.62a3.07 3.07 0 0 1-2.848-1.583h-.043v4.484H63.63V29.442h1.8v1.506h.033a3.21 3.21 0 0 1 2.883-1.6c2.298 0 3.813 1.816 3.813 4.622Zm-1.91 0c0-1.833-.948-3.038-2.393-3.038-1.42 0-2.375 1.23-2.375 3.038 0 1.824.955 3.046 2.375 3.046 1.445 0 2.392-1.197 2.392-3.046ZM82.124 33.97c0 2.813-1.505 4.62-3.778 4.62a3.069 3.069 0 0 1-2.848-1.583h-.043v4.484h-1.859V29.442h1.799v1.506h.034a3.21 3.21 0 0 1 2.883-1.6c2.298 0 3.813 1.816 3.813 4.622Zm-1.91 0c0-1.833-.947-3.038-2.392-3.038-1.42 0-2.375 1.23-2.375 3.038 0 1.824.955 3.046 2.375 3.046 1.445 0 2.392-1.197 2.392-3.046ZM88.71 35.036c.138 1.232 1.335 2.04 2.97 2.04 1.566 0 2.693-.808 2.693-1.919 0-.964-.68-1.54-2.29-1.936l-1.609-.388c-2.28-.55-3.339-1.617-3.339-3.348 0-2.142 1.867-3.614 4.519-3.614 2.624 0 4.423 1.472 4.483 3.614h-1.876c-.112-1.239-1.136-1.987-2.634-1.987-1.497 0-2.521.757-2.521 1.858 0 .878.654 1.395 2.255 1.79l1.368.336c2.548.603 3.606 1.626 3.606 3.443 0 2.323-1.85 3.778-4.793 3.778-2.754 0-4.614-1.42-4.734-3.667h1.902ZM100.346 27.3v2.142h1.722v1.472h-1.722v4.991c0 .776.345 1.137 1.102 1.137.204-.004.408-.018.611-.043v1.463c-.34.063-.686.092-1.032.086-1.833 0-2.548-.689-2.548-2.445v-5.189h-1.316v-1.472h1.316V27.3h1.867ZM103.065 33.97c0-2.849 1.678-4.639 4.294-4.639 2.625 0 4.295 1.79 4.295 4.639 0 2.856-1.661 4.638-4.295 4.638-2.633 0-4.294-1.782-4.294-4.638Zm6.695 0c0-1.954-.895-3.108-2.401-3.108-1.506 0-2.4 1.162-2.4 3.108 0 1.962.894 3.106 2.4 3.106 1.506 0 2.401-1.144 2.401-3.106ZM113.186 29.442h1.772v1.541h.043a2.159 2.159 0 0 1 2.178-1.635c.214-.001.428.022.637.07v1.737a2.594 2.594 0 0 0-.835-.112 1.872 1.872 0 0 0-1.937 2.083v5.37h-1.858v-9.054ZM126.384 35.837c-.25 1.643-1.85 2.771-3.898 2.771-2.634 0-4.269-1.764-4.269-4.595 0-2.84 1.644-4.682 4.191-4.682 2.505 0 4.08 1.72 4.08 4.466v.637h-6.395v.112a2.353 2.353 0 0 0 .639 1.832 2.364 2.364 0 0 0 1.797.732 2.045 2.045 0 0 0 2.091-1.273h1.764Zm-6.282-2.702h4.526a2.167 2.167 0 0 0-.608-1.634 2.168 2.168 0 0 0-1.612-.664 2.293 2.293 0 0 0-2.306 2.298ZM54.826 16.73a2.64 2.64 0 0 1 2.808 2.965c0 1.907-1.03 3.003-2.808 3.003h-2.155V16.73h2.155Zm-1.228 5.124h1.125a1.875 1.875 0 0 0 1.967-2.146 1.88 1.88 0 0 0-1.967-2.134h-1.125v4.28ZM58.68 20.444a2.132 2.132 0 1 1 4.248 0 2.135 2.135 0 1 1-4.247 0Zm3.334 0c0-.976-.439-1.547-1.208-1.547-.773 0-1.207.571-1.207 1.547 0 .984.434 1.55 1.207 1.55.77 0 1.208-.57 1.208-1.55ZM68.573 22.698h-.922l-.93-3.317h-.07l-.927 3.317h-.913l-1.242-4.503h.902l.806 3.436h.067l.926-3.436h.852l.926 3.436h.07l.803-3.436h.889l-1.237 4.503ZM70.854 18.195h.855v.715h.066a1.348 1.348 0 0 1 1.344-.802 1.464 1.464 0 0 1 1.559 1.674v2.916h-.889v-2.692c0-.724-.314-1.084-.972-1.084a1.032 1.032 0 0 0-1.075 1.141v2.635h-.889v-4.503ZM76.094 16.437h.889v6.26h-.89v-6.26ZM78.218 20.444a2.134 2.134 0 1 1 4.247 0 2.133 2.133 0 1 1-4.247 0Zm3.333 0c0-.976-.439-1.547-1.208-1.547-.773 0-1.207.571-1.207 1.547 0 .984.434 1.55 1.207 1.55.77 0 1.208-.57 1.208-1.55ZM83.4 21.424c0-.81.604-1.278 1.676-1.344l1.22-.07v-.39c0-.475-.315-.743-.922-.743-.496 0-.84.182-.939.5h-.86c.09-.773.818-1.27 1.84-1.27 1.128 0 1.765.563 1.765 1.514v3.077h-.855v-.633h-.07a1.515 1.515 0 0 1-1.353.707 1.36 1.36 0 0 1-1.501-1.348Zm2.895-.385v-.376l-1.1.07c-.62.042-.9.253-.9.65 0 .405.351.64.834.64a1.062 1.062 0 0 0 1.166-.984ZM88.348 20.444c0-1.423.732-2.324 1.87-2.324a1.483 1.483 0 0 1 1.38.79h.067v-2.473h.888v6.26h-.851v-.71h-.07a1.564 1.564 0 0 1-1.415.785c-1.145 0-1.869-.902-1.869-2.328Zm.918 0c0 .955.45 1.53 1.203 1.53.75 0 1.212-.583 1.212-1.526 0-.939-.468-1.53-1.212-1.53-.748 0-1.203.579-1.203 1.526ZM96.23 20.444a2.134 2.134 0 1 1 4.247 0 2.141 2.141 0 0 1-.543 1.64 2.134 2.134 0 0 1-3.704-1.64Zm3.333 0c0-.976-.439-1.547-1.208-1.547-.772 0-1.207.571-1.207 1.547 0 .984.435 1.55 1.207 1.55.77 0 1.208-.57 1.208-1.55ZM101.669 18.195h.856v.715h.066a1.35 1.35 0 0 1 1.344-.802 1.467 1.467 0 0 1 1.559 1.674v2.916h-.889v-2.692c0-.724-.314-1.084-.972-1.084a1.033 1.033 0 0 0-1.075 1.141v2.635h-.889v-4.503ZM110.515 17.073v1.142h.976v.749h-.976v2.315c0 .472.195.678.637.678.113 0 .226-.007.339-.02v.74c-.16.029-.322.044-.484.045-.988 0-1.381-.347-1.381-1.215v-2.543h-.715v-.749h.715v-1.142h.889ZM112.705 16.437h.88v2.481h.071a1.383 1.383 0 0 1 1.373-.806 1.482 1.482 0 0 1 1.55 1.678v2.908h-.889v-2.689c0-.719-.335-1.083-.963-1.083a1.052 1.052 0 0 0-1.134 1.142v2.63h-.888v-6.261ZM121.761 21.482a1.823 1.823 0 0 1-1.951 1.303 2.047 2.047 0 0 1-2.08-2.325 2.082 2.082 0 0 1 1.212-2.172c.272-.121.567-.183.864-.18 1.253 0 2.009.856 2.009 2.27v.31h-3.18v.05a1.191 1.191 0 0 0 1.2 1.29 1.078 1.078 0 0 0 1.071-.546h.855Zm-3.126-1.451h2.275a1.09 1.09 0 0 0-1.109-1.167 1.15 1.15 0 0 0-1.166 1.167Z' fill='%23fff'/%3e%3c/svg%3e"},16765:function(b){b.exports="data:image/svg+xml,%3csvg width='155' height='56' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23a)'%3e%3cpath d='M57.4 18.2c0 .8-.2 1.5-.7 2-.6.6-1.3.9-2.2.9-.9 0-1.6-.3-2.2-.9-.6-.6-.9-1.3-.9-2.2 0-.9.3-1.6.9-2.2.6-.6 1.3-.9 2.2-.9.4 0 .8.1 1.2.3.4.2.7.4.9.7l-.5.5c-.4-.5-.9-.7-1.6-.7-.6 0-1.2.2-1.6.7-.5.4-.7 1-.7 1.7s.2 1.3.7 1.7c.5.4 1 .7 1.6.7.7 0 1.2-.2 1.7-.7.3-.3.5-.7.5-1.2h-2.2v-.7h2.9v.3ZM62 15.7h-2.7v1.9h2.5v.7h-2.5v1.9H62v.8h-3.5v-6H62v.7ZM65.3 21h-.8v-5.3h-1.7V15H67v.7h-1.7V21ZM69.9 21v-6h.8v6h-.8ZM74.1 21h-.8v-5.3h-1.7V15h4.1v.7H74V21h.1ZM83.6 20.2c-.6.6-1.3.9-2.2.9-.9 0-1.6-.3-2.2-.9-.6-.6-.9-1.3-.9-2.2 0-.9.3-1.6.9-2.2.6-.6 1.3-.9 2.2-.9.9 0 1.6.3 2.2.9.6.6.9 1.3.9 2.2 0 .9-.3 1.6-.9 2.2Zm-3.8-.5c.4.4 1 .7 1.6.7.6 0 1.2-.2 1.6-.7.4-.4.7-1 .7-1.7s-.2-1.3-.7-1.7c-.4-.4-1-.7-1.6-.7-.6 0-1.2.2-1.6.7-.4.4-.7 1-.7 1.7s.2 1.3.7 1.7ZM85.6 21v-6h.9l2.9 4.7V15h.8v6h-.8l-3.1-4.9V21h-.7Z' fill='%23fff' stroke='%23fff' stroke-width='.2' stroke-miterlimit='10'/%3e%3cpath d='M78.1 29.8c-2.4 0-4.3 1.8-4.3 4.3 0 2.4 1.9 4.3 4.3 4.3s4.3-1.8 4.3-4.3c0-2.6-1.9-4.3-4.3-4.3Zm0 6.8c-1.3 0-2.4-1.1-2.4-2.6s1.1-2.6 2.4-2.6c1.3 0 2.4 1 2.4 2.6 0 1.5-1.1 2.6-2.4 2.6Zm-9.3-6.8c-2.4 0-4.3 1.8-4.3 4.3 0 2.4 1.9 4.3 4.3 4.3s4.3-1.8 4.3-4.3c0-2.6-1.9-4.3-4.3-4.3Zm0 6.8c-1.3 0-2.4-1.1-2.4-2.6s1.1-2.6 2.4-2.6c1.3 0 2.4 1 2.4 2.6 0 1.5-1.1 2.6-2.4 2.6Zm-11.1-5.5v1.8H62c-.1 1-.5 1.8-1 2.3-.6.6-1.6 1.3-3.3 1.3-2.7 0-4.7-2.1-4.7-4.8 0-2.7 2.1-4.8 4.7-4.8 1.4 0 2.5.6 3.3 1.3l1.3-1.3c-1.1-1-2.5-1.8-4.5-1.8-3.6 0-6.7 3-6.7 6.6 0 3.6 3.1 6.6 6.7 6.6 2 0 3.4-.6 4.6-1.9 1.2-1.2 1.6-2.9 1.6-4.2 0-.4 0-.8-.1-1.1h-6.2Zm45.4 1.4c-.4-1-1.4-2.7-3.6-2.7s-4 1.7-4 4.3c0 2.4 1.8 4.3 4.2 4.3 1.9 0 3.1-1.2 3.5-1.9l-1.4-1c-.5.7-1.1 1.2-2.1 1.2s-1.6-.4-2.1-1.3l5.7-2.4-.2-.5Zm-5.8 1.4c0-1.6 1.3-2.5 2.2-2.5.7 0 1.4.4 1.6.9l-3.8 1.6ZM92.6 38h1.9V25.5h-1.9V38Zm-3-7.3c-.5-.5-1.3-1-2.3-1-2.1 0-4.1 1.9-4.1 4.3s1.9 4.2 4.1 4.2c1 0 1.8-.5 2.2-1h.1v.6c0 1.6-.9 2.5-2.3 2.5-1.1 0-1.9-.8-2.1-1.5l-1.6.7c.5 1.1 1.7 2.5 3.8 2.5 2.2 0 4-1.3 4-4.4V30h-1.8v.7Zm-2.2 5.9c-1.3 0-2.4-1.1-2.4-2.6s1.1-2.6 2.4-2.6c1.3 0 2.3 1.1 2.3 2.6s-1 2.6-2.3 2.6Zm24.4-11.1h-4.5V38h1.9v-4.7h2.6c2.1 0 4.1-1.5 4.1-3.9s-2-3.9-4.1-3.9Zm.1 6h-2.7v-4.3h2.7c1.4 0 2.2 1.2 2.2 2.1-.1 1.1-.9 2.2-2.2 2.2Zm11.5-1.8c-1.4 0-2.8.6-3.3 1.9l1.7.7c.4-.7 1-.9 1.7-.9 1 0 1.9.6 2 1.6v.1c-.3-.2-1.1-.5-1.9-.5-1.8 0-3.6 1-3.6 2.8 0 1.7 1.5 2.8 3.1 2.8 1.3 0 1.9-.6 2.4-1.2h.1v1h1.8v-4.8c-.2-2.2-1.9-3.5-4-3.5Zm-.2 6.9c-.6 0-1.5-.3-1.5-1.1 0-1 1.1-1.3 2-1.3.8 0 1.2.2 1.7.4-.2 1.2-1.2 2-2.2 2Zm10.5-6.6-2.1 5.4h-.1l-2.2-5.4h-2l3.3 7.6-1.9 4.2h1.9l5.1-11.8h-2Zm-16.8 8h1.9V25.5h-1.9V38Z' fill='%23fff'/%3e%3cpath d='M20.4 15.5c-.3.3-.5.8-.5 1.4V39c0 .6.2 1.1.5 1.4l.1.1 12.4-12.4v-.2L20.4 15.5Z' fill='url(%23b)'/%3e%3cpath d='m37 32.3-4.1-4.1V27.9l4.1-4.1.1.1 4.9 2.8c1.4.8 1.4 2.1 0 2.9l-5 2.7Z' fill='url(%23c)'/%3e%3cpath d='M37.1 32.2 32.9 28 20.4 40.5c.5.5 1.2.5 2.1.1l14.6-8.4Z' fill='url(%23d)'/%3e%3cpath d='m37.1 23.8-14.6-8.3c-.9-.5-1.6-.4-2.1.1L32.9 28l4.2-4.2Z' fill='url(%23e)'/%3e%3cpath opacity='.2' d='m37 32.1-14.5 8.2c-.8.5-1.5.4-2 0l-.1.1.1.1c.5.4 1.2.5 2 0L37 32.1Z' fill='%23000'/%3e%3cpath opacity='.12' d='M20.4 40.3c-.3-.3-.4-.8-.4-1.4v.1c0 .6.2 1.1.5 1.4v-.1h-.1ZM42 29.3l-5 2.8.1.1 4.9-2.8c.7-.4 1-.9 1-1.4 0 .5-.4.9-1 1.3Z' fill='%23000'/%3e%3cpath opacity='.25' d='M22.5 15.6 42 26.7c.6.4 1 .8 1 1.3 0-.5-.3-1-1-1.4L22.5 15.5c-1.4-.8-2.5-.1-2.5 1.5v.1c0-1.6 1.1-2.3 2.5-1.5Z' fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient id='b' x1='31.8' y1='16.71' x2='15.017' y2='33.492' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%2300A0FF'/%3e%3cstop offset='.007' stop-color='%2300A1FF'/%3e%3cstop offset='.26' stop-color='%2300BEFF'/%3e%3cstop offset='.512' stop-color='%2300D2FF'/%3e%3cstop offset='.76' stop-color='%2300DFFF'/%3e%3cstop offset='1' stop-color='%2300E3FF'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='43.834' y1='28.001' x2='19.637' y2='28.001' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%23FFE000'/%3e%3cstop offset='.409' stop-color='%23FFBD00'/%3e%3cstop offset='.775' stop-color='orange'/%3e%3cstop offset='1' stop-color='%23FF9C00'/%3e%3c/linearGradient%3e%3clinearGradient id='d' x1='34.827' y1='30.296' x2='12.069' y2='53.054' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%23FF3A44'/%3e%3cstop offset='1' stop-color='%23C31162'/%3e%3c/linearGradient%3e%3clinearGradient id='e' x1='17.297' y1='8.176' x2='27.46' y2='18.339' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%2332A071'/%3e%3cstop offset='.069' stop-color='%232DA771'/%3e%3cstop offset='.476' stop-color='%2315CF74'/%3e%3cstop offset='.801' stop-color='%2306E775'/%3e%3cstop offset='1' stop-color='%2300F076'/%3e%3c/linearGradient%3e%3cclipPath id='a'%3e%3cpath fill='%23fff' d='M0 0h155v56H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},885446:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 21c5.523 0 10-4.477 10-10S16.523 1 11 1 1 5.477 1 11s4.477 10 10 10Z' fill='%23EC3E3D'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5h-2v8h2V5Zm.5 11a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z' fill='%23fff'/%3e%3c/svg%3e"},467621:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 2h-.414l-.293.293-4 4L4 6.586V20h14V2H9Zm1 2h6v14H6V8h4V4Z' fill='%23313131'/%3e%3c/svg%3e"},370509:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4 19h14M16 7l-4 8H5V8l8-4M5 15l5.5-5.5' stroke='%23313131' stroke-width='2'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.586 10 10 2.414 11.414 1 19 8.586 17.586 10Z' fill='%23313131'/%3e%3c/svg%3e"},511960:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 18V4H4v14h14ZM3 8h16' stroke='%23313131' stroke-width='2'/%3e%3ccircle cx='14' cy='14' r='2' fill='%23313131'/%3e%3c/svg%3e"},217470:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11 4H3v14h16V6H4' stroke='%23313131' stroke-width='2'/%3e%3c/svg%3e"},476916:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M7 11h8M10 6H7a5 5 0 0 0 0 10h3M12 6h3a5 5 0 0 1 0 10h-3' stroke='%23313131' stroke-width='2'/%3e%3c/svg%3e"},467231:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M17 19V3H5v16h12Z' stroke='%23313131' stroke-width='2'/%3e%3cpath fill='%23313131' d='M8 10h6v2H8zM8 6h6v2H8zM8 14h6v2H8z'/%3e%3c/svg%3e"},844958:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='%23313131' stroke-width='2' d='M4 4h5v5H4zM13 4h5v5h-5zM4 13h5v5H4zM13 13h5v5h-5z'/%3e%3c/svg%3e"},948863:function(b){b.exports="data:image/svg+xml,%3csvg height='22' width='22' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12 10.586V6h-2v5.414l3.793 3.793 1.414-1.414L12 10.586z'/%3e%3cpath clip-rule='evenodd' d='M20 11a9 9 0 1 1-18 0 9 9 0 0 1 18 0zm-2 0a7 7 0 1 1-14 0 7 7 0 0 1 14 0z' fill-rule='evenodd'/%3e%3c/svg%3e"},330717:function(b){b.exports="data:image/svg+xml,%3csvg width='22' height='22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 2h5v12h11l2-8H6' stroke='%23313131' stroke-width='2'/%3e%3ccircle cx='13' cy='19' r='2' fill='%23313131'/%3e%3ccircle cx='7' cy='19' r='2' fill='%23313131'/%3e%3c/svg%3e"},544285:function(b,l,e){"use strict";e.d(l,{Wq:()=>x,ht:()=>G});/*!
* tabbable 6.2.0
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],o=r.join(","),n=typeof Element>"u",a=n?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!n&&Element.prototype.getRootNode?function(R){var U;return R==null||(U=R.getRootNode)===null||U===void 0?void 0:U.call(R)}:function(R){return R==null?void 0:R.ownerDocument},c=function R(U,j){var $;j===void 0&&(j=!0);var ee=U==null||($=U.getAttribute)===null||$===void 0?void 0:$.call(U,"inert"),te=ee===""||ee==="true",ie=te||j&&U&&R(U.parentNode);return ie},u=function(U){var j,$=U==null||(j=U.getAttribute)===null||j===void 0?void 0:j.call(U,"contenteditable");return $===""||$==="true"},f=function(U,j,$){if(c(U))return[];var ee=Array.prototype.slice.apply(U.querySelectorAll(o));return j&&a.call(U,o)&&ee.unshift(U),ee=ee.filter($),ee},d=function R(U,j,$){for(var ee=[],te=Array.from(U);te.length;){var ie=te.shift();if(!c(ie,!1))if(ie.tagName==="SLOT"){var ne=ie.assignedElements(),pe=ne.length?ne:ie.children,oe=R(pe,!0,$);$.flatten?ee.push.apply(ee,oe):ee.push({scopeParent:ie,candidates:oe})}else{var q=a.call(ie,o);q&&$.filter(ie)&&(j||!U.includes(ie))&&ee.push(ie);var J=ie.shadowRoot||typeof $.getShadowRoot=="function"&&$.getShadowRoot(ie),me=!c(J,!1)&&(!$.shadowRootFilter||$.shadowRootFilter(ie));if(J&&me){var re=R(J===!0?ie.children:J.children,!0,$);$.flatten?ee.push.apply(ee,re):ee.push({scopeParent:ie,candidates:re})}else te.unshift.apply(te,ie.children)}}return ee},h=function(U){return!isNaN(parseInt(U.getAttribute("tabindex"),10))},g=function(U){if(!U)throw new Error("No node provided");return U.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(U.tagName)||u(U))&&!h(U)?0:U.tabIndex},_=function(U,j){var $=g(U);return $<0&&j&&!h(U)?0:$},p=function(U,j){return U.tabIndex===j.tabIndex?U.documentOrder-j.documentOrder:U.tabIndex-j.tabIndex},y=function(U){return U.tagName==="INPUT"},O=function(U){return y(U)&&U.type==="hidden"},P=function(U){var j=U.tagName==="DETAILS"&&Array.prototype.slice.apply(U.children).some(function($){return $.tagName==="SUMMARY"});return j},C=function(U,j){for(var $=0;$<U.length;$++)if(U[$].checked&&U[$].form===j)return U[$]},A=function(U){if(!U.name)return!0;var j=U.form||i(U),$=function(ne){return j.querySelectorAll('input[type="radio"][name="'+ne+'"]')},ee;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")ee=$(window.CSS.escape(U.name));else try{ee=$(U.name)}catch(ie){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",ie.message),!1}var te=C(ee,U.form);return!te||te===U},S=function(U){return y(U)&&U.type==="radio"},T=function(U){return S(U)&&!A(U)},s=function(U){var j,$=U&&i(U),ee=(j=$)===null||j===void 0?void 0:j.host,te=!1;if($&&$!==U){var ie,ne,pe;for(te=!!((ie=ee)!==null&&ie!==void 0&&(ne=ie.ownerDocument)!==null&&ne!==void 0&&ne.contains(ee)||U!=null&&(pe=U.ownerDocument)!==null&&pe!==void 0&&pe.contains(U));!te&&ee;){var oe,q,J;$=i(ee),ee=(oe=$)===null||oe===void 0?void 0:oe.host,te=!!((q=ee)!==null&&q!==void 0&&(J=q.ownerDocument)!==null&&J!==void 0&&J.contains(ee))}}return te},v=function(U){var j=U.getBoundingClientRect(),$=j.width,ee=j.height;return $===0&&ee===0},m=function(U,j){var $=j.displayCheck,ee=j.getShadowRoot;if(getComputedStyle(U).visibility==="hidden")return!0;var te=a.call(U,"details>summary:first-of-type"),ie=te?U.parentElement:U;if(a.call(ie,"details:not([open]) *"))return!0;if(!$||$==="full"||$==="legacy-full"){if(typeof ee=="function"){for(var ne=U;U;){var pe=U.parentElement,oe=i(U);if(pe&&!pe.shadowRoot&&ee(pe)===!0)return v(U);U.assignedSlot?U=U.assignedSlot:!pe&&oe!==U.ownerDocument?U=oe.host:U=pe}U=ne}if(s(U))return!U.getClientRects().length;if($!=="legacy-full")return!0}else if($==="non-zero-area")return v(U);return!1},E=function(U){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(U.tagName))for(var j=U.parentElement;j;){if(j.tagName==="FIELDSET"&&j.disabled){for(var $=0;$<j.children.length;$++){var ee=j.children.item($);if(ee.tagName==="LEGEND")return a.call(j,"fieldset[disabled] *")?!0:!ee.contains(U)}return!0}j=j.parentElement}return!1},I=function(U,j){return!(j.disabled||c(j)||O(j)||m(j,U)||P(j)||E(j))},L=function(U,j){return!(T(j)||g(j)<0||!I(U,j))},W=function(U){var j=parseInt(U.getAttribute("tabindex"),10);return!!(isNaN(j)||j>=0)},F=function R(U){var j=[],$=[];return U.forEach(function(ee,te){var ie=!!ee.scopeParent,ne=ie?ee.scopeParent:ee,pe=_(ne,ie),oe=ie?R(ee.candidates):ne;pe===0?ie?j.push.apply(j,oe):j.push(ne):$.push({documentOrder:te,tabIndex:pe,item:ee,isScope:ie,content:oe})}),$.sort(p).reduce(function(ee,te){return te.isScope?ee.push.apply(ee,te.content):ee.push(te.content),ee},[]).concat(j)},G=function(U,j){j=j||{};var $;return j.getShadowRoot?$=d([U],j.includeContainer,{filter:L.bind(null,j),flatten:!1,getShadowRoot:j.getShadowRoot,shadowRootFilter:W}):$=f(U,j.includeContainer,L.bind(null,j)),F($)},k=function(U,j){j=j||{};var $;return j.getShadowRoot?$=d([U],j.includeContainer,{filter:I.bind(null,j),flatten:!0,getShadowRoot:j.getShadowRoot}):$=f(U,j.includeContainer,I.bind(null,j)),$},x=function(U,j){if(j=j||{},!U)throw new Error("No node provided");return a.call(U,o)===!1?!1:L(j,U)},M=null,B=function(U,j){if(j=j||{},!U)throw new Error("No node provided");return a.call(U,M)===!1?!1:I(j,U)}},779291:function(b){(function(l){var e=/^\s+/,r=/\s+$/,o=0,n=l.round,a=l.min,i=l.max,c=l.random;function u(re,he){if(re=re||"",he=he||{},re instanceof u)return re;if(!(this instanceof u))return new u(re,he);var Ee=f(re);this._originalInput=re,this._r=Ee.r,this._g=Ee.g,this._b=Ee.b,this._a=Ee.a,this._roundA=n(100*this._a)/100,this._format=he.format||Ee.format,this._gradientType=he.gradientType,this._r<1&&(this._r=n(this._r)),this._g<1&&(this._g=n(this._g)),this._b<1&&(this._b=n(this._b)),this._ok=Ee.ok,this._tc_id=o++}u.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var re=this.toRgb();return(re.r*299+re.g*587+re.b*114)/1e3},getLuminance:function(){var re=this.toRgb(),he,Ee,fe,H,z,_e;return he=re.r/255,Ee=re.g/255,fe=re.b/255,he<=.03928?H=he/12.92:H=l.pow((he+.055)/1.055,2.4),Ee<=.03928?z=Ee/12.92:z=l.pow((Ee+.055)/1.055,2.4),fe<=.03928?_e=fe/12.92:_e=l.pow((fe+.055)/1.055,2.4),.2126*H+.7152*z+.0722*_e},setAlpha:function(re){return this._a=B(re),this._roundA=n(100*this._a)/100,this},toHsv:function(){var re=_(this._r,this._g,this._b);return{h:re.h*360,s:re.s,v:re.v,a:this._a}},toHsvString:function(){var re=_(this._r,this._g,this._b),he=n(re.h*360),Ee=n(re.s*100),fe=n(re.v*100);return this._a==1?"hsv("+he+", "+Ee+"%, "+fe+"%)":"hsva("+he+", "+Ee+"%, "+fe+"%, "+this._roundA+")"},toHsl:function(){var re=h(this._r,this._g,this._b);return{h:re.h*360,s:re.s,l:re.l,a:this._a}},toHslString:function(){var re=h(this._r,this._g,this._b),he=n(re.h*360),Ee=n(re.s*100),fe=n(re.l*100);return this._a==1?"hsl("+he+", "+Ee+"%, "+fe+"%)":"hsla("+he+", "+Ee+"%, "+fe+"%, "+this._roundA+")"},toHex:function(re){return y(this._r,this._g,this._b,re)},toHexString:function(re){return"#"+this.toHex(re)},toHex8:function(re){return O(this._r,this._g,this._b,this._a,re)},toHex8String:function(re){return"#"+this.toHex8(re)},toRgb:function(){return{r:n(this._r),g:n(this._g),b:n(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+n(this._r)+", "+n(this._g)+", "+n(this._b)+")":"rgba("+n(this._r)+", "+n(this._g)+", "+n(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:n(R(this._r,255)*100)+"%",g:n(R(this._g,255)*100)+"%",b:n(R(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+n(R(this._r,255)*100)+"%, "+n(R(this._g,255)*100)+"%, "+n(R(this._b,255)*100)+"%)":"rgba("+n(R(this._r,255)*100)+"%, "+n(R(this._g,255)*100)+"%, "+n(R(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:x[y(this._r,this._g,this._b,!0)]||!1},toFilter:function(re){var he="#"+P(this._r,this._g,this._b,this._a),Ee=he,fe=this._gradientType?"GradientType = 1, ":"";if(re){var H=u(re);Ee="#"+P(H._r,H._g,H._b,H._a)}return"progid:DXImageTransform.Microsoft.gradient("+fe+"startColorstr="+he+",endColorstr="+Ee+")"},toString:function(re){var he=!!re;re=re||this._format;var Ee=!1,fe=this._a<1&&this._a>=0,H=!he&&fe&&(re==="hex"||re==="hex6"||re==="hex3"||re==="hex4"||re==="hex8"||re==="name");return H?re==="name"&&this._a===0?this.toName():this.toRgbString():(re==="rgb"&&(Ee=this.toRgbString()),re==="prgb"&&(Ee=this.toPercentageRgbString()),(re==="hex"||re==="hex6")&&(Ee=this.toHexString()),re==="hex3"&&(Ee=this.toHexString(!0)),re==="hex4"&&(Ee=this.toHex8String(!0)),re==="hex8"&&(Ee=this.toHex8String()),re==="name"&&(Ee=this.toName()),re==="hsl"&&(Ee=this.toHslString()),re==="hsv"&&(Ee=this.toHsvString()),Ee||this.toHexString())},clone:function(){return u(this.toString())},_applyModification:function(re,he){var Ee=re.apply(null,[this].concat([].slice.call(he)));return this._r=Ee._r,this._g=Ee._g,this._b=Ee._b,this.setAlpha(Ee._a),this},lighten:function(){return this._applyModification(T,arguments)},brighten:function(){return this._applyModification(s,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(C,arguments)},saturate:function(){return this._applyModification(A,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(m,arguments)},_applyCombination:function(re,he){return re.apply(null,[this].concat([].slice.call(he)))},analogous:function(){return this._applyCombination(F,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(G,arguments)},splitcomplement:function(){return this._applyCombination(W,arguments)},triad:function(){return this._applyCombination(I,arguments)},tetrad:function(){return this._applyCombination(L,arguments)}},u.fromRatio=function(re,he){if(typeof re=="object"){var Ee={};for(var fe in re)re.hasOwnProperty(fe)&&(fe==="a"?Ee[fe]=re[fe]:Ee[fe]=ie(re[fe]));re=Ee}return u(re,he)};function f(re){var he={r:0,g:0,b:0},Ee=1,fe=null,H=null,z=null,_e=!1,ae=!1;return typeof re=="string"&&(re=J(re)),typeof re=="object"&&(q(re.r)&&q(re.g)&&q(re.b)?(he=d(re.r,re.g,re.b),_e=!0,ae=String(re.r).substr(-1)==="%"?"prgb":"rgb"):q(re.h)&&q(re.s)&&q(re.v)?(fe=ie(re.s),H=ie(re.v),he=p(re.h,fe,H),_e=!0,ae="hsv"):q(re.h)&&q(re.s)&&q(re.l)&&(fe=ie(re.s),z=ie(re.l),he=g(re.h,fe,z),_e=!0,ae="hsl"),re.hasOwnProperty("a")&&(Ee=re.a)),Ee=B(Ee),{ok:_e,format:re.format||ae,r:a(255,i(he.r,0)),g:a(255,i(he.g,0)),b:a(255,i(he.b,0)),a:Ee}}function d(re,he,Ee){return{r:R(re,255)*255,g:R(he,255)*255,b:R(Ee,255)*255}}function h(re,he,Ee){re=R(re,255),he=R(he,255),Ee=R(Ee,255);var fe=i(re,he,Ee),H=a(re,he,Ee),z,_e,ae=(fe+H)/2;if(fe==H)z=_e=0;else{var ge=fe-H;switch(_e=ae>.5?ge/(2-fe-H):ge/(fe+H),fe){case re:z=(he-Ee)/ge+(he<Ee?6:0);break;case he:z=(Ee-re)/ge+2;break;case Ee:z=(re-he)/ge+4;break}z/=6}return{h:z,s:_e,l:ae}}function g(re,he,Ee){var fe,H,z;re=R(re,360),he=R(he,100),Ee=R(Ee,100);function _e(Be,Ke,He){return He<0&&(He+=1),He>1&&(He-=1),He<1/6?Be+(Ke-Be)*6*He:He<1/2?Ke:He<2/3?Be+(Ke-Be)*(2/3-He)*6:Be}if(he===0)fe=H=z=Ee;else{var ae=Ee<.5?Ee*(1+he):Ee+he-Ee*he,ge=2*Ee-ae;fe=_e(ge,ae,re+1/3),H=_e(ge,ae,re),z=_e(ge,ae,re-1/3)}return{r:fe*255,g:H*255,b:z*255}}function _(re,he,Ee){re=R(re,255),he=R(he,255),Ee=R(Ee,255);var fe=i(re,he,Ee),H=a(re,he,Ee),z,_e,ae=fe,ge=fe-H;if(_e=fe===0?0:ge/fe,fe==H)z=0;else{switch(fe){case re:z=(he-Ee)/ge+(he<Ee?6:0);break;case he:z=(Ee-re)/ge+2;break;case Ee:z=(re-he)/ge+4;break}z/=6}return{h:z,s:_e,v:ae}}function p(re,he,Ee){re=R(re,360)*6,he=R(he,100),Ee=R(Ee,100);var fe=l.floor(re),H=re-fe,z=Ee*(1-he),_e=Ee*(1-H*he),ae=Ee*(1-(1-H)*he),ge=fe%6,Be=[Ee,_e,z,z,ae,Ee][ge],Ke=[ae,Ee,Ee,_e,z,z][ge],He=[z,z,ae,Ee,Ee,_e][ge];return{r:Be*255,g:Ke*255,b:He*255}}function y(re,he,Ee,fe){var H=[te(n(re).toString(16)),te(n(he).toString(16)),te(n(Ee).toString(16))];return fe&&H[0].charAt(0)==H[0].charAt(1)&&H[1].charAt(0)==H[1].charAt(1)&&H[2].charAt(0)==H[2].charAt(1)?H[0].charAt(0)+H[1].charAt(0)+H[2].charAt(0):H.join("")}function O(re,he,Ee,fe,H){var z=[te(n(re).toString(16)),te(n(he).toString(16)),te(n(Ee).toString(16)),te(ne(fe))];return H&&z[0].charAt(0)==z[0].charAt(1)&&z[1].charAt(0)==z[1].charAt(1)&&z[2].charAt(0)==z[2].charAt(1)&&z[3].charAt(0)==z[3].charAt(1)?z[0].charAt(0)+z[1].charAt(0)+z[2].charAt(0)+z[3].charAt(0):z.join("")}function P(re,he,Ee,fe){var H=[te(ne(fe)),te(n(re).toString(16)),te(n(he).toString(16)),te(n(Ee).toString(16))];return H.join("")}u.equals=function(re,he){return!re||!he?!1:u(re).toRgbString()==u(he).toRgbString()},u.random=function(){return u.fromRatio({r:c(),g:c(),b:c()})};function C(re,he){he=he===0?0:he||10;var Ee=u(re).toHsl();return Ee.s-=he/100,Ee.s=U(Ee.s),u(Ee)}function A(re,he){he=he===0?0:he||10;var Ee=u(re).toHsl();return Ee.s+=he/100,Ee.s=U(Ee.s),u(Ee)}function S(re){return u(re).desaturate(100)}function T(re,he){he=he===0?0:he||10;var Ee=u(re).toHsl();return Ee.l+=he/100,Ee.l=U(Ee.l),u(Ee)}function s(re,he){he=he===0?0:he||10;var Ee=u(re).toRgb();return Ee.r=i(0,a(255,Ee.r-n(255*-(he/100)))),Ee.g=i(0,a(255,Ee.g-n(255*-(he/100)))),Ee.b=i(0,a(255,Ee.b-n(255*-(he/100)))),u(Ee)}function v(re,he){he=he===0?0:he||10;var Ee=u(re).toHsl();return Ee.l-=he/100,Ee.l=U(Ee.l),u(Ee)}function m(re,he){var Ee=u(re).toHsl(),fe=(Ee.h+he)%360;return Ee.h=fe<0?360+fe:fe,u(Ee)}function E(re){var he=u(re).toHsl();return he.h=(he.h+180)%360,u(he)}function I(re){var he=u(re).toHsl(),Ee=he.h;return[u(re),u({h:(Ee+120)%360,s:he.s,l:he.l}),u({h:(Ee+240)%360,s:he.s,l:he.l})]}function L(re){var he=u(re).toHsl(),Ee=he.h;return[u(re),u({h:(Ee+90)%360,s:he.s,l:he.l}),u({h:(Ee+180)%360,s:he.s,l:he.l}),u({h:(Ee+270)%360,s:he.s,l:he.l})]}function W(re){var he=u(re).toHsl(),Ee=he.h;return[u(re),u({h:(Ee+72)%360,s:he.s,l:he.l}),u({h:(Ee+216)%360,s:he.s,l:he.l})]}function F(re,he,Ee){he=he||6,Ee=Ee||30;var fe=u(re).toHsl(),H=360/Ee,z=[u(re)];for(fe.h=(fe.h-(H*he>>1)+720)%360;--he;)fe.h=(fe.h+H)%360,z.push(u(fe));return z}function G(re,he){he=he||6;for(var Ee=u(re).toHsv(),fe=Ee.h,H=Ee.s,z=Ee.v,_e=[],ae=1/he;he--;)_e.push(u({h:fe,s:H,v:z})),z=(z+ae)%1;return _e}u.mix=function(re,he,Ee){Ee=Ee===0?0:Ee||50;var fe=u(re).toRgb(),H=u(he).toRgb(),z=Ee/100,_e={r:(H.r-fe.r)*z+fe.r,g:(H.g-fe.g)*z+fe.g,b:(H.b-fe.b)*z+fe.b,a:(H.a-fe.a)*z+fe.a};return u(_e)},u.readability=function(re,he){var Ee=u(re),fe=u(he);return(l.max(Ee.getLuminance(),fe.getLuminance())+.05)/(l.min(Ee.getLuminance(),fe.getLuminance())+.05)},u.isReadable=function(re,he,Ee){var fe=u.readability(re,he),H,z;switch(z=!1,H=me(Ee),H.level+H.size){case"AAsmall":case"AAAlarge":z=fe>=4.5;break;case"AAlarge":z=fe>=3;break;case"AAAsmall":z=fe>=7;break}return z},u.mostReadable=function(re,he,Ee){var fe=null,H=0,z,_e,ae,ge;Ee=Ee||{},_e=Ee.includeFallbackColors,ae=Ee.level,ge=Ee.size;for(var Be=0;Be<he.length;Be++)z=u.readability(re,he[Be]),z>H&&(H=z,fe=u(he[Be]));return u.isReadable(re,fe,{level:ae,size:ge})||!_e?fe:(Ee.includeFallbackColors=!1,u.mostReadable(re,["#fff","#000"],Ee))};var k=u.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},x=u.hexNames=M(k);function M(re){var he={};for(var Ee in re)re.hasOwnProperty(Ee)&&(he[re[Ee]]=Ee);return he}function B(re){return re=parseFloat(re),(isNaN(re)||re<0||re>1)&&(re=1),re}function R(re,he){$(re)&&(re="100%");var Ee=ee(re);return re=a(he,i(0,parseFloat(re))),Ee&&(re=parseInt(re*he,10)/100),l.abs(re-he)<1e-6?1:re%he/parseFloat(he)}function U(re){return a(1,i(0,re))}function j(re){return parseInt(re,16)}function $(re){return typeof re=="string"&&re.indexOf(".")!=-1&&parseFloat(re)===1}function ee(re){return typeof re=="string"&&re.indexOf("%")!=-1}function te(re){return re.length==1?"0"+re:""+re}function ie(re){return re<=1&&(re=re*100+"%"),re}function ne(re){return l.round(parseFloat(re)*255).toString(16)}function pe(re){return j(re)/255}var oe=function(){var re="[-\\+]?\\d+%?",he="[-\\+]?\\d*\\.\\d+%?",Ee="(?:"+he+")|(?:"+re+")",fe="[\\s|\\(]+("+Ee+")[,|\\s]+("+Ee+")[,|\\s]+("+Ee+")\\s*\\)?",H="[\\s|\\(]+("+Ee+")[,|\\s]+("+Ee+")[,|\\s]+("+Ee+")[,|\\s]+("+Ee+")\\s*\\)?";return{CSS_UNIT:new RegExp(Ee),rgb:new RegExp("rgb"+fe),rgba:new RegExp("rgba"+H),hsl:new RegExp("hsl"+fe),hsla:new RegExp("hsla"+H),hsv:new RegExp("hsv"+fe),hsva:new RegExp("hsva"+H),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function q(re){return!!oe.CSS_UNIT.exec(re)}function J(re){re=re.replace(e,"").replace(r,"").toLowerCase();var he=!1;if(k[re])re=k[re],he=!0;else if(re=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var Ee;return(Ee=oe.rgb.exec(re))?{r:Ee[1],g:Ee[2],b:Ee[3]}:(Ee=oe.rgba.exec(re))?{r:Ee[1],g:Ee[2],b:Ee[3],a:Ee[4]}:(Ee=oe.hsl.exec(re))?{h:Ee[1],s:Ee[2],l:Ee[3]}:(Ee=oe.hsla.exec(re))?{h:Ee[1],s:Ee[2],l:Ee[3],a:Ee[4]}:(Ee=oe.hsv.exec(re))?{h:Ee[1],s:Ee[2],v:Ee[3]}:(Ee=oe.hsva.exec(re))?{h:Ee[1],s:Ee[2],v:Ee[3],a:Ee[4]}:(Ee=oe.hex8.exec(re))?{r:j(Ee[1]),g:j(Ee[2]),b:j(Ee[3]),a:pe(Ee[4]),format:he?"name":"hex8"}:(Ee=oe.hex6.exec(re))?{r:j(Ee[1]),g:j(Ee[2]),b:j(Ee[3]),format:he?"name":"hex"}:(Ee=oe.hex4.exec(re))?{r:j(Ee[1]+""+Ee[1]),g:j(Ee[2]+""+Ee[2]),b:j(Ee[3]+""+Ee[3]),a:pe(Ee[4]+""+Ee[4]),format:he?"name":"hex8"}:(Ee=oe.hex3.exec(re))?{r:j(Ee[1]+""+Ee[1]),g:j(Ee[2]+""+Ee[2]),b:j(Ee[3]+""+Ee[3]),format:he?"name":"hex"}:!1}function me(re){var he,Ee;return re=re||{level:"AA",size:"small"},he=(re.level||"AA").toUpperCase(),Ee=(re.size||"small").toLowerCase(),he!=="AA"&&he!=="AAA"&&(he="AA"),Ee!=="small"&&Ee!=="large"&&(Ee="small"),{level:he,size:Ee}}b.exports?b.exports=u:typeof define=="function"&&define.amd?define(function(){return u}):window.tinycolor=u})(Math)},660013:function(b){b.exports=function(){var l=document.getSelection();if(!l.rangeCount)return function(){};for(var e=document.activeElement,r=[],o=0;o<l.rangeCount;o++)r.push(l.getRangeAt(o));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return l.removeAllRanges(),function(){l.type==="Caret"&&l.removeAllRanges(),l.rangeCount||r.forEach(function(n){l.addRange(n)}),e&&e.focus()}}},989164:function(b){(function(l,e){b.exports=e()})(this,function(){var l;return l=function(){var e;return e={perspective:function(r){return[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,-1/r,1]]},rotate:function(r){return e.rotateZ(r)},rotateX:function(r){return e.rotate3d(1,0,0,r)},rotateY:function(r){return e.rotate3d(0,1,0,r)},rotateZ:function(r){var o,n;return o=Math.cos(r),n=Math.sin(r),[[o,-n,0],[n,o,0]]},rotate3d:function(r,o,n,a){var i,c,u,f,d;return d=r*r+o*o+n*n,i=Math.cos(a),u=Math.sin(a),c=1-i,f=Math.sqrt(d)*u,[[(r*r+(o*o+n*n)*i)/d,(r*o*c-n*f)/d,(r*n*c+o*f)/d,0],[(r*o*c+n*f)/d,(o*o+(r*r+n*n)*i)/d,(o*n*c-r*f)/d,0],[(r*n*c-o*f)/d,(o*n*c+r*f)/d,(n*n+(r*r+o*o)*i)/d,0],[0,0,0,1]]},scale:function(r,o){return[[r,0,0],[0,o,0]]},scaleX:function(r){return e.scale(r,1)},scaleY:function(r){return e.scale(1,r)},scaleZ:function(r){return e.scale3d(1,1,r)},scale3d:function(r,o,n){return[[r,0,0,0],[0,o,0,0],[0,0,n,0],[0,0,0,1]]},skew:function(r,o){return[[1,Math.tan(r),0],[Math.tan(o),1,0]]},skewX:function(r){return[[1,Math.tan(r),0],[0,1,0]]},skewY:function(r){return[[1,0,0],[Math.tan(r),1,0]]},translate:function(r,o){return[[1,0,r],[0,1,o]]},translateX:function(r){return e.translate(r,0)},translateY:function(r){return e.translate(0,r)},translateZ:function(r){return e.translate3d(0,0,r)},translate3d:function(r,o,n){return[[1,0,0,r],[0,1,0,o],[0,0,1,n],[0,0,0,1]]}}}(),l})},75857:function(b){"use strict";function l(){var e=[],r=!1,o={},n=function(u){var f=e.indexOf(u);if(!(f<0)){if(r){o[f]=u;return}e.splice(f,1)}},a=function(u){var f=e.push(u),d=function(){return n(u)};return{dispose:d}},i=function(){for(var u=arguments.length,f=Array(u),d=0;d<u;d++)f[d]=arguments[d];r=!0;try{e.forEach(function(h,g){return o[g]||h.apply(void 0,f)})}finally{r=!1,Object.keys(o).forEach(function(h){return n(o[h])}),o={}}};return{publish:i,subscribe:a,$subscriptions:e}}b.exports=l},410633:function(b,l,e){(function(r){var o=function(){try{return!!Symbol.iterator}catch{return!1}},n=o(),a=function(h){var g={next:function(){var _=h.shift();return{done:_===void 0,value:_}}};return n&&(g[Symbol.iterator]=function(){return g}),g},i=function(h){return encodeURIComponent(h).replace(/%20/g,"+")},c=function(h){return decodeURIComponent(String(h).replace(/\+/g," "))},u=function(){var h=function(_){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var p=typeof _;if(p!=="undefined")if(p==="string")_!==""&&this._fromString(_);else if(_ instanceof h){var y=this;_.forEach(function(A,S){y.append(S,A)})}else if(_!==null&&p==="object")if(Object.prototype.toString.call(_)==="[object Array]")for(var O=0;O<_.length;O++){var P=_[O];if(Object.prototype.toString.call(P)==="[object Array]"||P.length!==2)this.append(P[0],P[1]);else throw new TypeError("Expected [string, any] as entry at index "+O+" of URLSearchParams's input")}else for(var C in _)_.hasOwnProperty(C)&&this.append(C,_[C]);else throw new TypeError("Unsupported input's type for URLSearchParams")},g=h.prototype;g.append=function(_,p){_ in this._entries?this._entries[_].push(String(p)):this._entries[_]=[String(p)]},g.delete=function(_){delete this._entries[_]},g.get=function(_){return _ in this._entries?this._entries[_][0]:null},g.getAll=function(_){return _ in this._entries?this._entries[_].slice(0):[]},g.has=function(_){return _ in this._entries},g.set=function(_,p){this._entries[_]=[String(p)]},g.forEach=function(_,p){var y;for(var O in this._entries)if(this._entries.hasOwnProperty(O)){y=this._entries[O];for(var P=0;P<y.length;P++)_.call(p,y[P],O,this)}},g.keys=function(){var _=[];return this.forEach(function(p,y){_.push(y)}),a(_)},g.values=function(){var _=[];return this.forEach(function(p){_.push(p)}),a(_)},g.entries=function(){var _=[];return this.forEach(function(p,y){_.push([y,p])}),a(_)},n&&(g[Symbol.iterator]=g.entries),g.toString=function(){var _=[];return this.forEach(function(p,y){_.push(i(y)+"="+i(p))}),_.join("&")},r.URLSearchParams=h},f=function(){try{var h=r.URLSearchParams;return new h("?a=1").toString()==="a=1"&&typeof h.prototype.set=="function"&&typeof h.prototype.entries=="function"}catch{return!1}};f()||u();var d=r.URLSearchParams.prototype;typeof d.sort!="function"&&(d.sort=function(){var h=this,g=[];this.forEach(function(p,y){g.push([y,p]),h._entries||h.delete(y)}),g.sort(function(p,y){return p[0]<y[0]?-1:p[0]>y[0]?1:0}),h._entries&&(h._entries={});for(var _=0;_<g.length;_++)this.append(g[_][0],g[_][1])}),typeof d._fromString!="function"&&Object.defineProperty(d,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(h){if(this._entries)this._entries={};else{var g=[];this.forEach(function(O,P){g.push(P)});for(var _=0;_<g.length;_++)this.delete(g[_])}h=h.replace(/^\?/,"");for(var p=h.split("&"),y,_=0;_<p.length;_++)y=p[_].split("="),this.append(c(y[0]),y.length>1?c(y[1]):"")}})})(typeof e.g<"u"?e.g:typeof window<"u"?window:typeof self<"u"?self:this),function(r){var o=function(){try{var i=new r.URL("b","http://a");return i.pathname="c d",i.href==="http://a/c%20d"&&i.searchParams}catch{return!1}},n=function(){var i=r.URL,c=function(d,h){typeof d!="string"&&(d=String(d)),h&&typeof h!="string"&&(h=String(h));var g=document,_;if(h&&(r.location===void 0||h!==r.location.href)){h=h.toLowerCase(),g=document.implementation.createHTMLDocument(""),_=g.createElement("base"),_.href=h,g.head.appendChild(_);try{if(_.href.indexOf(h)!==0)throw new Error(_.href)}catch(T){throw new Error("URL unable to set base "+h+" due to "+T)}}var p=g.createElement("a");p.href=d,_&&(g.body.appendChild(p),p.href=p.href);var y=g.createElement("input");if(y.type="url",y.value=d,p.protocol===":"||!/:/.test(p.href)||!y.checkValidity()&&!h)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:p});var O=new r.URLSearchParams(this.search),P=!0,C=!0,A=this;["append","delete","set"].forEach(function(T){var s=O[T];O[T]=function(){s.apply(O,arguments),P&&(C=!1,A.search=O.toString(),C=!0)}}),Object.defineProperty(this,"searchParams",{value:O,enumerable:!0});var S=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==S&&(S=this.search,C&&(P=!1,this.searchParams._fromString(this.search),P=!0))}})},u=c.prototype,f=function(d){Object.defineProperty(u,d,{get:function(){return this._anchorElement[d]},set:function(h){this._anchorElement[d]=h},enumerable:!0})};["hash","host","hostname","port","protocol"].forEach(function(d){f(d)}),Object.defineProperty(u,"search",{get:function(){return this._anchorElement.search},set:function(d){this._anchorElement.search=d,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(u,{toString:{get:function(){var d=this;return function(){return d.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(d){this._anchorElement.href=d,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(d){this._anchorElement.pathname=d},enumerable:!0},origin:{get:function(){var d={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],h=this._anchorElement.port!=d&&this._anchorElement.port!=="";return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(h?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(d){},enumerable:!0},username:{get:function(){return""},set:function(d){},enumerable:!0}}),c.createObjectURL=function(d){return i.createObjectURL.apply(i,arguments)},c.revokeObjectURL=function(d){return i.revokeObjectURL.apply(i,arguments)},r.URL=c};if(o()||n(),r.location!==void 0&&!("origin"in r.location)){var a=function(){return r.location.protocol+"//"+r.location.hostname+(r.location.port?":"+r.location.port:"")};try{Object.defineProperty(r.location,"origin",{get:a,enumerable:!0})}catch{setInterval(function(){r.location.origin=a()},100)}}}(typeof e.g<"u"?e.g:typeof window<"u"?window:typeof self<"u"?self:this)},58328:function(b,l,e){"use strict";e.d(l,{q:()=>c});var r=e(174161);function o(u,f){return typeof u=="function"?u(f):u&&(u.current=f),u}function n(u,f){var d=(0,r.useState)(function(){return{value:u,callback:f,facade:{get current(){return d.value},set current(h){var g=d.value;g!==h&&(d.value=h,d.callback(h,g))}}}})[0];return d.callback=f,d.facade}var a=typeof window<"u"?r.useLayoutEffect:r.useEffect,i=new WeakMap;function c(u,f){var d=n(f||null,function(h){return u.forEach(function(g){return o(g,h)})});return a(function(){var h=i.get(d);if(h){var g=new Set(h),_=new Set(u),p=d.current;g.forEach(function(y){_.has(y)||o(y,null)}),_.forEach(function(y){g.has(y)||o(y,p)})}i.set(d,u)},[u]),d}},556353:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(174161),o=e(159510);function n(u,f){return u===f}function a(u){return typeof u=="function"?function(){return u}:u}function i(u){var f=(0,r.useState)(a(u)),d=f[0],h=f[1],g=(0,r.useCallback)(function(_){return h(a(_))},[]);return[d,g]}function c(u,f,d){var h=d&&d.equalityFn||n,g=i(u),_=g[0],p=g[1],y=(0,o.Z)((0,r.useCallback)(function(P){return p(P)},[p]),f,d),O=(0,r.useRef)(u);return(0,r.useEffect)(function(){h(O.current,u)||(y.callback(u),O.current=u)},[u,y,h]),[_,{cancel:y.cancel,pending:y.pending,flush:y.flush}]}},159510:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(174161);function o(n,a,i){var c=this,u=(0,r.useRef)(null),f=(0,r.useRef)(0),d=(0,r.useRef)(null),h=(0,r.useRef)([]),g=(0,r.useRef)(),_=(0,r.useRef)(),p=(0,r.useRef)(n),y=(0,r.useRef)(!0);p.current=n;var O=!a&&a!==0&&typeof window<"u";if(typeof n!="function")throw new TypeError("Expected a function");a=+a||0,i=i||{};var P=!!i.leading,C="trailing"in i?!!i.trailing:!0,A="maxWait"in i,S=A?Math.max(+i.maxWait||0,a):null,T=(0,r.useCallback)(function(k){var x=h.current,M=g.current;return h.current=g.current=null,f.current=k,_.current=p.current.apply(M,x)},[]),s=(0,r.useCallback)(function(k,x){O&&cancelAnimationFrame(d.current),d.current=O?requestAnimationFrame(k):setTimeout(k,x)},[O]),v=(0,r.useCallback)(function(k){if(!y.current)return!1;var x=k-u.current,M=k-f.current;return!u.current||x>=a||x<0||A&&M>=S},[S,A,a]),m=(0,r.useCallback)(function(k){return d.current=null,C&&h.current?T(k):(h.current=g.current=null,_.current)},[T,C]),E=(0,r.useCallback)(function(){var k=Date.now();if(v(k))return m(k);if(y.current){var x=k-u.current,M=k-f.current,B=a-x,R=A?Math.min(B,S-M):B;s(E,R)}},[S,A,v,s,m,a]),I=(0,r.useCallback)(function(){d.current&&(O?cancelAnimationFrame(d.current):clearTimeout(d.current)),f.current=0,h.current=u.current=g.current=d.current=null},[O]),L=(0,r.useCallback)(function(){return d.current?m(Date.now()):_.current},[m]);(0,r.useEffect)(function(){return y.current=!0,function(){y.current=!1}},[]);var W=(0,r.useCallback)(function(){for(var k=[],x=0;x<arguments.length;x++)k[x]=arguments[x];var M=Date.now(),B=v(M);if(h.current=k,g.current=c,u.current=M,B){if(!d.current&&y.current)return f.current=u.current,s(E,a),P?T(u.current):_.current;if(A)return s(E,a),T(u.current)}return d.current||s(E,a),_.current},[T,P,A,v,s,E,a]),F=(0,r.useCallback)(function(){return!!d.current},[]),G=(0,r.useMemo)(function(){return{callback:W,cancel:I,flush:L,pending:F}},[W,I,L,F]);return G}},91798:function(b,l,e){"use strict";e.d(l,{_:()=>i,s:()=>a});var r=e(415412);function o(c){return c}function n(c,u){u===void 0&&(u=o);var f=[],d=!1,h={read:function(){if(d)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return f.length?f[f.length-1]:c},useMedium:function(g){var _=u(g,d);return f.push(_),function(){f=f.filter(function(p){return p!==_})}},assignSyncMedium:function(g){for(d=!0;f.length;){var _=f;f=[],_.forEach(g)}f={push:function(p){return g(p)},filter:function(){return f}}},assignMedium:function(g){d=!0;var _=[];if(f.length){var p=f;f=[],p.forEach(g),_=f}var y=function(){var P=_;_=[],P.forEach(g)},O=function(){return Promise.resolve().then(y)};O(),f={push:function(P){_.push(P),O()},filter:function(P){return _=_.filter(P),f}}}};return h}function a(c,u){return u===void 0&&(u=o),n(c,u)}function i(c){c===void 0&&(c={});var u=n(null);return u.options=(0,r.__assign)({async:!0,ssr:!1},c),u}},537093:function(b,l){/*! https://mths.be/utf8js v3.0.0 by @mathias */(function(e){var r=String.fromCharCode;function o(y){for(var O=[],P=0,C=y.length,A,S;P<C;)A=y.charCodeAt(P++),A>=55296&&A<=56319&&P<C?(S=y.charCodeAt(P++),(S&64512)==56320?O.push(((A&1023)<<10)+(S&1023)+65536):(O.push(A),P--)):O.push(A);return O}function n(y){for(var O=y.length,P=-1,C,A="";++P<O;)C=y[P],C>65535&&(C-=65536,A+=r(C>>>10&1023|55296),C=56320|C&1023),A+=r(C);return A}function a(y){if(y>=55296&&y<=57343)throw Error("Lone surrogate U+"+y.toString(16).toUpperCase()+" is not a scalar value")}function i(y,O){return r(y>>O&63|128)}function c(y){if(!(y&4294967168))return r(y);var O="";return y&4294965248?y&4294901760?y&4292870144||(O=r(y>>18&7|240),O+=i(y,12),O+=i(y,6)):(a(y),O=r(y>>12&15|224),O+=i(y,6)):O=r(y>>6&31|192),O+=r(y&63|128),O}function u(y){for(var O=o(y),P=O.length,C=-1,A,S="";++C<P;)A=O[C],S+=c(A);return S}function f(){if(_>=g)throw Error("Invalid byte index");var y=h[_]&255;if(_++,(y&192)==128)return y&63;throw Error("Invalid continuation byte")}function d(){var y,O,P,C,A;if(_>g)throw Error("Invalid byte index");if(_==g)return!1;if(y=h[_]&255,_++,!(y&128))return y;if((y&224)==192){if(O=f(),A=(y&31)<<6|O,A>=128)return A;throw Error("Invalid continuation byte")}if((y&240)==224){if(O=f(),P=f(),A=(y&15)<<12|O<<6|P,A>=2048)return a(A),A;throw Error("Invalid continuation byte")}if((y&248)==240&&(O=f(),P=f(),C=f(),A=(y&7)<<18|O<<12|P<<6|C,A>=65536&&A<=1114111))return A;throw Error("Invalid UTF-8 detected")}var h,g,_;function p(y){h=o(y),g=h.length,_=0;for(var O=[],P;(P=d())!==!1;)O.push(P);return n(O)}e.version="3.0.0",e.encode=u,e.decode=p})(l)},700236:function(b){b.exports=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}},962601:function(b,l,e){var r=e(760636),o=/%[sdj%]/g;l.format=function(R){if(!T(R)){for(var U=[],j=0;j<arguments.length;j++)U.push(i(arguments[j]));return U.join(" ")}for(var j=1,$=arguments,ee=$.length,te=String(R).replace(o,function(ne){if(ne==="%%")return"%";if(j>=ee)return ne;switch(ne){case"%s":return String($[j++]);case"%d":return Number($[j++]);case"%j":try{return JSON.stringify($[j++])}catch{return"[Circular]"}default:return ne}}),ie=$[j];j<ee;ie=$[++j])C(ie)||!E(ie)?te+=" "+ie:te+=" "+i(ie);return te},l.deprecate=function(R,U){if(v(e.g.process))return function(){return l.deprecate(R,U).apply(this,arguments)};if(r.noDeprecation===!0)return R;var j=!1;function $(){if(!j){if(r.throwDeprecation)throw new Error(U);r.traceDeprecation?console.trace(U):console.error(U),j=!0}return R.apply(this,arguments)}return $};var n={},a;l.debuglog=function(R){if(v(a)&&(a=r.env.NODE_DEBUG||""),R=R.toUpperCase(),!n[R])if(new RegExp("\\b"+R+"\\b","i").test(a)){var U=r.pid;n[R]=function(){var j=l.format.apply(l,arguments);console.error("%s %d: %s",R,U,j)}}else n[R]=function(){};return n[R]};function i(R,U){var j={seen:[],stylize:u};return arguments.length>=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),P(U)?j.showHidden=U:U&&l._extend(j,U),v(j.showHidden)&&(j.showHidden=!1),v(j.depth)&&(j.depth=2),v(j.colors)&&(j.colors=!1),v(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=c),d(j,R,j.depth)}l.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function c(R,U){var j=i.styles[U];return j?"\x1B["+i.colors[j][0]+"m"+R+"\x1B["+i.colors[j][1]+"m":R}function u(R,U){return R}function f(R){var U={};return R.forEach(function(j,$){U[j]=!0}),U}function d(R,U,j){if(R.customInspect&&U&&W(U.inspect)&&U.inspect!==l.inspect&&!(U.constructor&&U.constructor.prototype===U)){var $=U.inspect(j,R);return T($)||($=d(R,$,j)),$}var ee=h(R,U);if(ee)return ee;var te=Object.keys(U),ie=f(te);if(R.showHidden&&(te=Object.getOwnPropertyNames(U)),L(U)&&(te.indexOf("message")>=0||te.indexOf("description")>=0))return g(U);if(te.length===0){if(W(U)){var ne=U.name?": "+U.name:"";return R.stylize("[Function"+ne+"]","special")}if(m(U))return R.stylize(RegExp.prototype.toString.call(U),"regexp");if(I(U))return R.stylize(Date.prototype.toString.call(U),"date");if(L(U))return g(U)}var pe="",oe=!1,q=["{","}"];if(O(U)&&(oe=!0,q=["[","]"]),W(U)){var J=U.name?": "+U.name:"";pe=" [Function"+J+"]"}if(m(U)&&(pe=" "+RegExp.prototype.toString.call(U)),I(U)&&(pe=" "+Date.prototype.toUTCString.call(U)),L(U)&&(pe=" "+g(U)),te.length===0&&(!oe||U.length==0))return q[0]+pe+q[1];if(j<0)return m(U)?R.stylize(RegExp.prototype.toString.call(U),"regexp"):R.stylize("[Object]","special");R.seen.push(U);var me;return oe?me=_(R,U,j,ie,te):me=te.map(function(re){return p(R,U,j,ie,re,oe)}),R.seen.pop(),y(me,pe,q)}function h(R,U){if(v(U))return R.stylize("undefined","undefined");if(T(U)){var j="'"+JSON.stringify(U).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return R.stylize(j,"string")}if(S(U))return R.stylize(""+U,"number");if(P(U))return R.stylize(""+U,"boolean");if(C(U))return R.stylize("null","null")}function g(R){return"["+Error.prototype.toString.call(R)+"]"}function _(R,U,j,$,ee){for(var te=[],ie=0,ne=U.length;ie<ne;++ie)B(U,String(ie))?te.push(p(R,U,j,$,String(ie),!0)):te.push("");return ee.forEach(function(pe){pe.match(/^\d+$/)||te.push(p(R,U,j,$,pe,!0))}),te}function p(R,U,j,$,ee,te){var ie,ne,pe;if(pe=Object.getOwnPropertyDescriptor(U,ee)||{value:U[ee]},pe.get?pe.set?ne=R.stylize("[Getter/Setter]","special"):ne=R.stylize("[Getter]","special"):pe.set&&(ne=R.stylize("[Setter]","special")),B($,ee)||(ie="["+ee+"]"),ne||(R.seen.indexOf(pe.value)<0?(C(j)?ne=d(R,pe.value,null):ne=d(R,pe.value,j-1),ne.indexOf(`
`)>-1&&(te?ne=ne.split(`
`).map(function(oe){return"  "+oe}).join(`
`).substr(2):ne=`
`+ne.split(`
`).map(function(oe){return"   "+oe}).join(`
`))):ne=R.stylize("[Circular]","special")),v(ie)){if(te&&ee.match(/^\d+$/))return ne;ie=JSON.stringify(""+ee),ie.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ie=ie.substr(1,ie.length-2),ie=R.stylize(ie,"name")):(ie=ie.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ie=R.stylize(ie,"string"))}return ie+": "+ne}function y(R,U,j){var $=0,ee=R.reduce(function(te,ie){return $++,ie.indexOf(`
`)>=0&&$++,te+ie.replace(/\u001b\[\d\d?m/g,"").length+1},0);return ee>60?j[0]+(U===""?"":U+`
 `)+" "+R.join(`,
  `)+" "+j[1]:j[0]+U+" "+R.join(", ")+" "+j[1]}function O(R){return Array.isArray(R)}l.isArray=O;function P(R){return typeof R=="boolean"}l.isBoolean=P;function C(R){return R===null}l.isNull=C;function A(R){return R==null}l.isNullOrUndefined=A;function S(R){return typeof R=="number"}l.isNumber=S;function T(R){return typeof R=="string"}l.isString=T;function s(R){return typeof R=="symbol"}l.isSymbol=s;function v(R){return R===void 0}l.isUndefined=v;function m(R){return E(R)&&G(R)==="[object RegExp]"}l.isRegExp=m;function E(R){return typeof R=="object"&&R!==null}l.isObject=E;function I(R){return E(R)&&G(R)==="[object Date]"}l.isDate=I;function L(R){return E(R)&&(G(R)==="[object Error]"||R instanceof Error)}l.isError=L;function W(R){return typeof R=="function"}l.isFunction=W;function F(R){return R===null||typeof R=="boolean"||typeof R=="number"||typeof R=="string"||typeof R=="symbol"||typeof R>"u"}l.isPrimitive=F,l.isBuffer=e(700236);function G(R){return Object.prototype.toString.call(R)}function k(R){return R<10?"0"+R.toString(10):R.toString(10)}var x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(){var R=new Date,U=[k(R.getHours()),k(R.getMinutes()),k(R.getSeconds())].join(":");return[R.getDate(),x[R.getMonth()],U].join(" ")}l.log=function(){console.log("%s - %s",M(),l.format.apply(l,arguments))},l.inherits=e(387966),l._extend=function(R,U){if(!U||!E(U))return R;for(var j=Object.keys(U),$=j.length;$--;)R[j[$]]=U[j[$]];return R};function B(R,U){return Object.prototype.hasOwnProperty.call(R,U)}},539725:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r,o=new Uint8Array(16);function n(){if(!r&&(r=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}},80050:function(b,l,e){"use strict";e.d(l,{S:()=>a,Z:()=>c});for(var r=e(814885),o=[],n=0;n<256;++n)o.push((n+256).toString(16).slice(1));function a(u,f=0){return(o[u[f+0]]+o[u[f+1]]+o[u[f+2]]+o[u[f+3]]+"-"+o[u[f+4]]+o[u[f+5]]+"-"+o[u[f+6]]+o[u[f+7]]+"-"+o[u[f+8]]+o[u[f+9]]+"-"+o[u[f+10]]+o[u[f+11]]+o[u[f+12]]+o[u[f+13]]+o[u[f+14]]+o[u[f+15]]).toLowerCase()}function i(u,f=0){var d=a(u,f);if(!(0,r.Z)(d))throw TypeError("Stringified UUID is invalid");return d}const c=i},98677:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const o={randomUUID:r};var n=e(539725),a=e(80050);function i(u,f,d){if(o.randomUUID&&!f&&!u)return o.randomUUID();u=u||{};var h=u.random||(u.rng||n.Z)();if(h[6]=h[6]&15|64,h[8]=h[8]&63|128,f){d=d||0;for(var g=0;g<16;++g)f[d+g]=h[g];return f}return(0,a.S)(h)}const c=i},814885:function(b,l,e){"use strict";e.d(l,{Z:()=>n});const r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;function o(a){return typeof a=="string"&&r.test(a)}const n=o},79306:function(b,l,e){var r=e(289731),o=e(861288),n=o;n.v1=r,n.v4=o,b.exports=n},972261:function(b){for(var l=[],e=0;e<256;++e)l[e]=(e+256).toString(16).substr(1);function r(o,n){var a=n||0,i=l;return[i[o[a++]],i[o[a++]],i[o[a++]],i[o[a++]],"-",i[o[a++]],i[o[a++]],"-",i[o[a++]],i[o[a++]],"-",i[o[a++]],i[o[a++]],"-",i[o[a++]],i[o[a++]],i[o[a++]],i[o[a++]],i[o[a++]],i[o[a++]]].join("")}b.exports=r},448645:function(b){var l=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(l){var e=new Uint8Array(16);b.exports=function(){return l(e),e}}else{var r=new Array(16);b.exports=function(){for(var n=0,a;n<16;n++)n&3||(a=Math.random()*4294967296),r[n]=a>>>((n&3)<<3)&255;return r}}},289731:function(b,l,e){var r=e(448645),o=e(972261),n,a,i=0,c=0;function u(f,d,h){var g=d&&h||0,_=d||[];f=f||{};var p=f.node||n,y=f.clockseq!==void 0?f.clockseq:a;if(p==null||y==null){var O=r();p==null&&(p=n=[O[0]|1,O[1],O[2],O[3],O[4],O[5]]),y==null&&(y=a=(O[6]<<8|O[7])&16383)}var P=f.msecs!==void 0?f.msecs:new Date().getTime(),C=f.nsecs!==void 0?f.nsecs:c+1,A=P-i+(C-c)/1e4;if(A<0&&f.clockseq===void 0&&(y=y+1&16383),(A<0||P>i)&&f.nsecs===void 0&&(C=0),C>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");i=P,c=C,a=y,P+=122192928e5;var S=((P&268435455)*1e4+C)%4294967296;_[g++]=S>>>24&255,_[g++]=S>>>16&255,_[g++]=S>>>8&255,_[g++]=S&255;var T=P/4294967296*1e4&268435455;_[g++]=T>>>8&255,_[g++]=T&255,_[g++]=T>>>24&15|16,_[g++]=T>>>16&255,_[g++]=y>>>8|128,_[g++]=y&255;for(var s=0;s<6;++s)_[g+s]=p[s];return d||o(_)}b.exports=u},861288:function(b,l,e){var r=e(448645),o=e(972261);function n(a,i,c){var u=i&&c||0;typeof a=="string"&&(i=a==="binary"?new Array(16):null,a=null),a=a||{};var f=a.random||(a.rng||r)();if(f[6]=f[6]&15|64,f[8]=f[8]&63|128,i)for(var d=0;d<16;++d)i[u+d]=f[d];return i||o(f)}b.exports=n},610886:function(b,l,e){"use strict";e.r(l),e.d(l,{v3:()=>k,v4:()=>x.Z,NIL:()=>ee,v5:()=>$,version:()=>ie,v1:()=>f,stringify:()=>o.Z,parse:()=>g,validate:()=>d.Z});var r=e(526209),o=e(308793),n,a,i=0,c=0;function u(ne,pe,oe){var q=pe&&oe||0,J=pe||new Array(16);ne=ne||{};var me=ne.node||n,re=ne.clockseq!==void 0?ne.clockseq:a;if(me==null||re==null){var he=ne.random||(ne.rng||r.Z)();me==null&&(me=n=[he[0]|1,he[1],he[2],he[3],he[4],he[5]]),re==null&&(re=a=(he[6]<<8|he[7])&16383)}var Ee=ne.msecs!==void 0?ne.msecs:Date.now(),fe=ne.nsecs!==void 0?ne.nsecs:c+1,H=Ee-i+(fe-c)/1e4;if(H<0&&ne.clockseq===void 0&&(re=re+1&16383),(H<0||Ee>i)&&ne.nsecs===void 0&&(fe=0),fe>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");i=Ee,c=fe,a=re,Ee+=122192928e5;var z=((Ee&268435455)*1e4+fe)%4294967296;J[q++]=z>>>24&255,J[q++]=z>>>16&255,J[q++]=z>>>8&255,J[q++]=z&255;var _e=Ee/4294967296*1e4&268435455;J[q++]=_e>>>8&255,J[q++]=_e&255,J[q++]=_e>>>24&15|16,J[q++]=_e>>>16&255,J[q++]=re>>>8|128,J[q++]=re&255;for(var ae=0;ae<6;++ae)J[q+ae]=me[ae];return pe||(0,o.Z)(J)}const f=u;var d=e(397159);function h(ne){if(!(0,d.Z)(ne))throw TypeError("Invalid UUID");var pe,oe=new Uint8Array(16);return oe[0]=(pe=parseInt(ne.slice(0,8),16))>>>24,oe[1]=pe>>>16&255,oe[2]=pe>>>8&255,oe[3]=pe&255,oe[4]=(pe=parseInt(ne.slice(9,13),16))>>>8,oe[5]=pe&255,oe[6]=(pe=parseInt(ne.slice(14,18),16))>>>8,oe[7]=pe&255,oe[8]=(pe=parseInt(ne.slice(19,23),16))>>>8,oe[9]=pe&255,oe[10]=(pe=parseInt(ne.slice(24,36),16))/1099511627776&255,oe[11]=pe/4294967296&255,oe[12]=pe>>>24&255,oe[13]=pe>>>16&255,oe[14]=pe>>>8&255,oe[15]=pe&255,oe}const g=h;function _(ne){ne=unescape(encodeURIComponent(ne));for(var pe=[],oe=0;oe<ne.length;++oe)pe.push(ne.charCodeAt(oe));return pe}var p="6ba7b810-9dad-11d1-80b4-00c04fd430c8",y="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function O(ne,pe,oe){function q(J,me,re,he){if(typeof J=="string"&&(J=_(J)),typeof me=="string"&&(me=g(me)),me.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var Ee=new Uint8Array(16+J.length);if(Ee.set(me),Ee.set(J,me.length),Ee=oe(Ee),Ee[6]=Ee[6]&15|pe,Ee[8]=Ee[8]&63|128,re){he=he||0;for(var fe=0;fe<16;++fe)re[he+fe]=Ee[fe];return re}return(0,o.Z)(Ee)}try{q.name=ne}catch{}return q.DNS=p,q.URL=y,q}function P(ne){if(typeof ne=="string"){var pe=unescape(encodeURIComponent(ne));ne=new Uint8Array(pe.length);for(var oe=0;oe<pe.length;++oe)ne[oe]=pe.charCodeAt(oe)}return C(S(T(ne),ne.length*8))}function C(ne){for(var pe=[],oe=ne.length*32,q="0123456789abcdef",J=0;J<oe;J+=8){var me=ne[J>>5]>>>J%32&255,re=parseInt(q.charAt(me>>>4&15)+q.charAt(me&15),16);pe.push(re)}return pe}function A(ne){return(ne+64>>>9<<4)+14+1}function S(ne,pe){ne[pe>>5]|=128<<pe%32,ne[A(pe)-1]=pe;for(var oe=1732584193,q=-271733879,J=-1732584194,me=271733878,re=0;re<ne.length;re+=16){var he=oe,Ee=q,fe=J,H=me;oe=E(oe,q,J,me,ne[re],7,-680876936),me=E(me,oe,q,J,ne[re+1],12,-389564586),J=E(J,me,oe,q,ne[re+2],17,606105819),q=E(q,J,me,oe,ne[re+3],22,-1044525330),oe=E(oe,q,J,me,ne[re+4],7,-176418897),me=E(me,oe,q,J,ne[re+5],12,1200080426),J=E(J,me,oe,q,ne[re+6],17,-1473231341),q=E(q,J,me,oe,ne[re+7],22,-45705983),oe=E(oe,q,J,me,ne[re+8],7,1770035416),me=E(me,oe,q,J,ne[re+9],12,-1958414417),J=E(J,me,oe,q,ne[re+10],17,-42063),q=E(q,J,me,oe,ne[re+11],22,-1990404162),oe=E(oe,q,J,me,ne[re+12],7,1804603682),me=E(me,oe,q,J,ne[re+13],12,-40341101),J=E(J,me,oe,q,ne[re+14],17,-1502002290),q=E(q,J,me,oe,ne[re+15],22,1236535329),oe=I(oe,q,J,me,ne[re+1],5,-165796510),me=I(me,oe,q,J,ne[re+6],9,-1069501632),J=I(J,me,oe,q,ne[re+11],14,643717713),q=I(q,J,me,oe,ne[re],20,-373897302),oe=I(oe,q,J,me,ne[re+5],5,-701558691),me=I(me,oe,q,J,ne[re+10],9,38016083),J=I(J,me,oe,q,ne[re+15],14,-660478335),q=I(q,J,me,oe,ne[re+4],20,-405537848),oe=I(oe,q,J,me,ne[re+9],5,568446438),me=I(me,oe,q,J,ne[re+14],9,-1019803690),J=I(J,me,oe,q,ne[re+3],14,-187363961),q=I(q,J,me,oe,ne[re+8],20,1163531501),oe=I(oe,q,J,me,ne[re+13],5,-1444681467),me=I(me,oe,q,J,ne[re+2],9,-51403784),J=I(J,me,oe,q,ne[re+7],14,1735328473),q=I(q,J,me,oe,ne[re+12],20,-1926607734),oe=L(oe,q,J,me,ne[re+5],4,-378558),me=L(me,oe,q,J,ne[re+8],11,-2022574463),J=L(J,me,oe,q,ne[re+11],16,1839030562),q=L(q,J,me,oe,ne[re+14],23,-35309556),oe=L(oe,q,J,me,ne[re+1],4,-1530992060),me=L(me,oe,q,J,ne[re+4],11,1272893353),J=L(J,me,oe,q,ne[re+7],16,-155497632),q=L(q,J,me,oe,ne[re+10],23,-1094730640),oe=L(oe,q,J,me,ne[re+13],4,681279174),me=L(me,oe,q,J,ne[re],11,-358537222),J=L(J,me,oe,q,ne[re+3],16,-722521979),q=L(q,J,me,oe,ne[re+6],23,76029189),oe=L(oe,q,J,me,ne[re+9],4,-640364487),me=L(me,oe,q,J,ne[re+12],11,-421815835),J=L(J,me,oe,q,ne[re+15],16,530742520),q=L(q,J,me,oe,ne[re+2],23,-995338651),oe=W(oe,q,J,me,ne[re],6,-198630844),me=W(me,oe,q,J,ne[re+7],10,1126891415),J=W(J,me,oe,q,ne[re+14],15,-1416354905),q=W(q,J,me,oe,ne[re+5],21,-57434055),oe=W(oe,q,J,me,ne[re+12],6,1700485571),me=W(me,oe,q,J,ne[re+3],10,-1894986606),J=W(J,me,oe,q,ne[re+10],15,-1051523),q=W(q,J,me,oe,ne[re+1],21,-2054922799),oe=W(oe,q,J,me,ne[re+8],6,1873313359),me=W(me,oe,q,J,ne[re+15],10,-30611744),J=W(J,me,oe,q,ne[re+6],15,-1560198380),q=W(q,J,me,oe,ne[re+13],21,1309151649),oe=W(oe,q,J,me,ne[re+4],6,-145523070),me=W(me,oe,q,J,ne[re+11],10,-1120210379),J=W(J,me,oe,q,ne[re+2],15,718787259),q=W(q,J,me,oe,ne[re+9],21,-343485551),oe=s(oe,he),q=s(q,Ee),J=s(J,fe),me=s(me,H)}return[oe,q,J,me]}function T(ne){if(ne.length===0)return[];for(var pe=ne.length*8,oe=new Uint32Array(A(pe)),q=0;q<pe;q+=8)oe[q>>5]|=(ne[q/8]&255)<<q%32;return oe}function s(ne,pe){var oe=(ne&65535)+(pe&65535),q=(ne>>16)+(pe>>16)+(oe>>16);return q<<16|oe&65535}function v(ne,pe){return ne<<pe|ne>>>32-pe}function m(ne,pe,oe,q,J,me){return s(v(s(s(pe,ne),s(q,me)),J),oe)}function E(ne,pe,oe,q,J,me,re){return m(pe&oe|~pe&q,ne,pe,J,me,re)}function I(ne,pe,oe,q,J,me,re){return m(pe&q|oe&~q,ne,pe,J,me,re)}function L(ne,pe,oe,q,J,me,re){return m(pe^oe^q,ne,pe,J,me,re)}function W(ne,pe,oe,q,J,me,re){return m(oe^(pe|~q),ne,pe,J,me,re)}var G=O("v3",48,P);const k=G;var x=e(35557);function M(ne,pe,oe,q){switch(ne){case 0:return pe&oe^~pe&q;case 1:return pe^oe^q;case 2:return pe&oe^pe&q^oe&q;case 3:return pe^oe^q}}function B(ne,pe){return ne<<pe|ne>>>32-pe}function R(ne){var pe=[1518500249,1859775393,2400959708,3395469782],oe=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof ne=="string"){var q=unescape(encodeURIComponent(ne));ne=[];for(var J=0;J<q.length;++J)ne.push(q.charCodeAt(J))}else Array.isArray(ne)||(ne=Array.prototype.slice.call(ne));ne.push(128);for(var me=ne.length/4+2,re=Math.ceil(me/16),he=new Array(re),Ee=0;Ee<re;++Ee){for(var fe=new Uint32Array(16),H=0;H<16;++H)fe[H]=ne[Ee*64+H*4]<<24|ne[Ee*64+H*4+1]<<16|ne[Ee*64+H*4+2]<<8|ne[Ee*64+H*4+3];he[Ee]=fe}he[re-1][14]=(ne.length-1)*8/Math.pow(2,32),he[re-1][14]=Math.floor(he[re-1][14]),he[re-1][15]=(ne.length-1)*8&4294967295;for(var z=0;z<re;++z){for(var _e=new Uint32Array(80),ae=0;ae<16;++ae)_e[ae]=he[z][ae];for(var ge=16;ge<80;++ge)_e[ge]=B(_e[ge-3]^_e[ge-8]^_e[ge-14]^_e[ge-16],1);for(var Be=oe[0],Ke=oe[1],He=oe[2],ye=oe[3],Le=oe[4],Ue=0;Ue<80;++Ue){var Xe=Math.floor(Ue/20),Fe=B(Be,5)+M(Xe,Ke,He,ye)+Le+pe[Xe]+_e[Ue]>>>0;Le=ye,ye=He,He=B(Ke,30)>>>0,Ke=Be,Be=Fe}oe[0]=oe[0]+Be>>>0,oe[1]=oe[1]+Ke>>>0,oe[2]=oe[2]+He>>>0,oe[3]=oe[3]+ye>>>0,oe[4]=oe[4]+Le>>>0}return[oe[0]>>24&255,oe[0]>>16&255,oe[0]>>8&255,oe[0]&255,oe[1]>>24&255,oe[1]>>16&255,oe[1]>>8&255,oe[1]&255,oe[2]>>24&255,oe[2]>>16&255,oe[2]>>8&255,oe[2]&255,oe[3]>>24&255,oe[3]>>16&255,oe[3]>>8&255,oe[3]&255,oe[4]>>24&255,oe[4]>>16&255,oe[4]>>8&255,oe[4]&255]}var j=O("v5",80,R);const $=j,ee="00000000-0000-0000-0000-000000000000";function te(ne){if(!(0,d.Z)(ne))throw TypeError("Invalid UUID");return parseInt(ne.substr(14,1),16)}const ie=te},526209:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r,o=new Uint8Array(16);function n(){if(!r&&(r=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}},308793:function(b,l,e){"use strict";e.d(l,{Z:()=>i});for(var r=e(397159),o=[],n=0;n<256;++n)o.push((n+256).toString(16).substr(1));function a(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,f=(o[c[u+0]]+o[c[u+1]]+o[c[u+2]]+o[c[u+3]]+"-"+o[c[u+4]]+o[c[u+5]]+"-"+o[c[u+6]]+o[c[u+7]]+"-"+o[c[u+8]]+o[c[u+9]]+"-"+o[c[u+10]]+o[c[u+11]]+o[c[u+12]]+o[c[u+13]]+o[c[u+14]]+o[c[u+15]]).toLowerCase();if(!(0,r.Z)(f))throw TypeError("Stringified UUID is invalid");return f}const i=a},35557:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(526209),o=e(308793);function n(i,c,u){i=i||{};var f=i.random||(i.rng||r.Z)();if(f[6]=f[6]&15|64,f[8]=f[8]&63|128,c){u=u||0;for(var d=0;d<16;++d)c[u+d]=f[d];return c}return(0,o.Z)(f)}const a=n},397159:function(b,l,e){"use strict";e.d(l,{Z:()=>n});const r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function o(a){return typeof a=="string"&&r.test(a)}const n=o},752569:function(b,l,e){"use strict";e.r(l),e.d(l,{v3:()=>k,v4:()=>x.Z,NIL:()=>ee,v5:()=>$,version:()=>ie,v1:()=>f,stringify:()=>o.Z,parse:()=>g,validate:()=>d.Z});var r=e(31854),o=e(165838);let n,a,i=0,c=0;function u(ne,pe,oe){let q=pe&&oe||0;const J=pe||new Array(16);ne=ne||{};let me=ne.node||n,re=ne.clockseq!==void 0?ne.clockseq:a;if(me==null||re==null){const _e=ne.random||(ne.rng||r.Z)();me==null&&(me=n=[_e[0]|1,_e[1],_e[2],_e[3],_e[4],_e[5]]),re==null&&(re=a=(_e[6]<<8|_e[7])&16383)}let he=ne.msecs!==void 0?ne.msecs:Date.now(),Ee=ne.nsecs!==void 0?ne.nsecs:c+1;const fe=he-i+(Ee-c)/1e4;if(fe<0&&ne.clockseq===void 0&&(re=re+1&16383),(fe<0||he>i)&&ne.nsecs===void 0&&(Ee=0),Ee>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");i=he,c=Ee,a=re,he+=122192928e5;const H=((he&268435455)*1e4+Ee)%4294967296;J[q++]=H>>>24&255,J[q++]=H>>>16&255,J[q++]=H>>>8&255,J[q++]=H&255;const z=he/4294967296*1e4&268435455;J[q++]=z>>>8&255,J[q++]=z&255,J[q++]=z>>>24&15|16,J[q++]=z>>>16&255,J[q++]=re>>>8|128,J[q++]=re&255;for(let _e=0;_e<6;++_e)J[q+_e]=me[_e];return pe||(0,o.S)(J)}const f=u;var d=e(593704);function h(ne){if(!(0,d.Z)(ne))throw TypeError("Invalid UUID");let pe;const oe=new Uint8Array(16);return oe[0]=(pe=parseInt(ne.slice(0,8),16))>>>24,oe[1]=pe>>>16&255,oe[2]=pe>>>8&255,oe[3]=pe&255,oe[4]=(pe=parseInt(ne.slice(9,13),16))>>>8,oe[5]=pe&255,oe[6]=(pe=parseInt(ne.slice(14,18),16))>>>8,oe[7]=pe&255,oe[8]=(pe=parseInt(ne.slice(19,23),16))>>>8,oe[9]=pe&255,oe[10]=(pe=parseInt(ne.slice(24,36),16))/1099511627776&255,oe[11]=pe/4294967296&255,oe[12]=pe>>>24&255,oe[13]=pe>>>16&255,oe[14]=pe>>>8&255,oe[15]=pe&255,oe}const g=h;function _(ne){ne=unescape(encodeURIComponent(ne));const pe=[];for(let oe=0;oe<ne.length;++oe)pe.push(ne.charCodeAt(oe));return pe}const p="6ba7b810-9dad-11d1-80b4-00c04fd430c8",y="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function O(ne,pe,oe){function q(J,me,re,he){var Ee;if(typeof J=="string"&&(J=_(J)),typeof me=="string"&&(me=g(me)),((Ee=me)===null||Ee===void 0?void 0:Ee.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let fe=new Uint8Array(16+J.length);if(fe.set(me),fe.set(J,me.length),fe=oe(fe),fe[6]=fe[6]&15|pe,fe[8]=fe[8]&63|128,re){he=he||0;for(let H=0;H<16;++H)re[he+H]=fe[H];return re}return(0,o.S)(fe)}try{q.name=ne}catch{}return q.DNS=p,q.URL=y,q}function P(ne){if(typeof ne=="string"){const pe=unescape(encodeURIComponent(ne));ne=new Uint8Array(pe.length);for(let oe=0;oe<pe.length;++oe)ne[oe]=pe.charCodeAt(oe)}return C(S(T(ne),ne.length*8))}function C(ne){const pe=[],oe=ne.length*32,q="0123456789abcdef";for(let J=0;J<oe;J+=8){const me=ne[J>>5]>>>J%32&255,re=parseInt(q.charAt(me>>>4&15)+q.charAt(me&15),16);pe.push(re)}return pe}function A(ne){return(ne+64>>>9<<4)+14+1}function S(ne,pe){ne[pe>>5]|=128<<pe%32,ne[A(pe)-1]=pe;let oe=1732584193,q=-271733879,J=-1732584194,me=271733878;for(let re=0;re<ne.length;re+=16){const he=oe,Ee=q,fe=J,H=me;oe=E(oe,q,J,me,ne[re],7,-680876936),me=E(me,oe,q,J,ne[re+1],12,-389564586),J=E(J,me,oe,q,ne[re+2],17,606105819),q=E(q,J,me,oe,ne[re+3],22,-1044525330),oe=E(oe,q,J,me,ne[re+4],7,-176418897),me=E(me,oe,q,J,ne[re+5],12,1200080426),J=E(J,me,oe,q,ne[re+6],17,-1473231341),q=E(q,J,me,oe,ne[re+7],22,-45705983),oe=E(oe,q,J,me,ne[re+8],7,1770035416),me=E(me,oe,q,J,ne[re+9],12,-1958414417),J=E(J,me,oe,q,ne[re+10],17,-42063),q=E(q,J,me,oe,ne[re+11],22,-1990404162),oe=E(oe,q,J,me,ne[re+12],7,1804603682),me=E(me,oe,q,J,ne[re+13],12,-40341101),J=E(J,me,oe,q,ne[re+14],17,-1502002290),q=E(q,J,me,oe,ne[re+15],22,1236535329),oe=I(oe,q,J,me,ne[re+1],5,-165796510),me=I(me,oe,q,J,ne[re+6],9,-1069501632),J=I(J,me,oe,q,ne[re+11],14,643717713),q=I(q,J,me,oe,ne[re],20,-373897302),oe=I(oe,q,J,me,ne[re+5],5,-701558691),me=I(me,oe,q,J,ne[re+10],9,38016083),J=I(J,me,oe,q,ne[re+15],14,-660478335),q=I(q,J,me,oe,ne[re+4],20,-405537848),oe=I(oe,q,J,me,ne[re+9],5,568446438),me=I(me,oe,q,J,ne[re+14],9,-1019803690),J=I(J,me,oe,q,ne[re+3],14,-187363961),q=I(q,J,me,oe,ne[re+8],20,1163531501),oe=I(oe,q,J,me,ne[re+13],5,-1444681467),me=I(me,oe,q,J,ne[re+2],9,-51403784),J=I(J,me,oe,q,ne[re+7],14,1735328473),q=I(q,J,me,oe,ne[re+12],20,-1926607734),oe=L(oe,q,J,me,ne[re+5],4,-378558),me=L(me,oe,q,J,ne[re+8],11,-2022574463),J=L(J,me,oe,q,ne[re+11],16,1839030562),q=L(q,J,me,oe,ne[re+14],23,-35309556),oe=L(oe,q,J,me,ne[re+1],4,-1530992060),me=L(me,oe,q,J,ne[re+4],11,1272893353),J=L(J,me,oe,q,ne[re+7],16,-155497632),q=L(q,J,me,oe,ne[re+10],23,-1094730640),oe=L(oe,q,J,me,ne[re+13],4,681279174),me=L(me,oe,q,J,ne[re],11,-358537222),J=L(J,me,oe,q,ne[re+3],16,-722521979),q=L(q,J,me,oe,ne[re+6],23,76029189),oe=L(oe,q,J,me,ne[re+9],4,-640364487),me=L(me,oe,q,J,ne[re+12],11,-421815835),J=L(J,me,oe,q,ne[re+15],16,530742520),q=L(q,J,me,oe,ne[re+2],23,-995338651),oe=W(oe,q,J,me,ne[re],6,-198630844),me=W(me,oe,q,J,ne[re+7],10,1126891415),J=W(J,me,oe,q,ne[re+14],15,-1416354905),q=W(q,J,me,oe,ne[re+5],21,-57434055),oe=W(oe,q,J,me,ne[re+12],6,1700485571),me=W(me,oe,q,J,ne[re+3],10,-1894986606),J=W(J,me,oe,q,ne[re+10],15,-1051523),q=W(q,J,me,oe,ne[re+1],21,-2054922799),oe=W(oe,q,J,me,ne[re+8],6,1873313359),me=W(me,oe,q,J,ne[re+15],10,-30611744),J=W(J,me,oe,q,ne[re+6],15,-1560198380),q=W(q,J,me,oe,ne[re+13],21,1309151649),oe=W(oe,q,J,me,ne[re+4],6,-145523070),me=W(me,oe,q,J,ne[re+11],10,-1120210379),J=W(J,me,oe,q,ne[re+2],15,718787259),q=W(q,J,me,oe,ne[re+9],21,-343485551),oe=s(oe,he),q=s(q,Ee),J=s(J,fe),me=s(me,H)}return[oe,q,J,me]}function T(ne){if(ne.length===0)return[];const pe=ne.length*8,oe=new Uint32Array(A(pe));for(let q=0;q<pe;q+=8)oe[q>>5]|=(ne[q/8]&255)<<q%32;return oe}function s(ne,pe){const oe=(ne&65535)+(pe&65535);return(ne>>16)+(pe>>16)+(oe>>16)<<16|oe&65535}function v(ne,pe){return ne<<pe|ne>>>32-pe}function m(ne,pe,oe,q,J,me){return s(v(s(s(pe,ne),s(q,me)),J),oe)}function E(ne,pe,oe,q,J,me,re){return m(pe&oe|~pe&q,ne,pe,J,me,re)}function I(ne,pe,oe,q,J,me,re){return m(pe&q|oe&~q,ne,pe,J,me,re)}function L(ne,pe,oe,q,J,me,re){return m(pe^oe^q,ne,pe,J,me,re)}function W(ne,pe,oe,q,J,me,re){return m(oe^(pe|~q),ne,pe,J,me,re)}const k=O("v3",48,P);var x=e(305170);function M(ne,pe,oe,q){switch(ne){case 0:return pe&oe^~pe&q;case 1:return pe^oe^q;case 2:return pe&oe^pe&q^oe&q;case 3:return pe^oe^q}}function B(ne,pe){return ne<<pe|ne>>>32-pe}function R(ne){const pe=[1518500249,1859775393,2400959708,3395469782],oe=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof ne=="string"){const re=unescape(encodeURIComponent(ne));ne=[];for(let he=0;he<re.length;++he)ne.push(re.charCodeAt(he))}else Array.isArray(ne)||(ne=Array.prototype.slice.call(ne));ne.push(128);const q=ne.length/4+2,J=Math.ceil(q/16),me=new Array(J);for(let re=0;re<J;++re){const he=new Uint32Array(16);for(let Ee=0;Ee<16;++Ee)he[Ee]=ne[re*64+Ee*4]<<24|ne[re*64+Ee*4+1]<<16|ne[re*64+Ee*4+2]<<8|ne[re*64+Ee*4+3];me[re]=he}me[J-1][14]=(ne.length-1)*8/Math.pow(2,32),me[J-1][14]=Math.floor(me[J-1][14]),me[J-1][15]=(ne.length-1)*8&4294967295;for(let re=0;re<J;++re){const he=new Uint32Array(80);for(let ae=0;ae<16;++ae)he[ae]=me[re][ae];for(let ae=16;ae<80;++ae)he[ae]=B(he[ae-3]^he[ae-8]^he[ae-14]^he[ae-16],1);let Ee=oe[0],fe=oe[1],H=oe[2],z=oe[3],_e=oe[4];for(let ae=0;ae<80;++ae){const ge=Math.floor(ae/20),Be=B(Ee,5)+M(ge,fe,H,z)+_e+pe[ge]+he[ae]>>>0;_e=z,z=H,H=B(fe,30)>>>0,fe=Ee,Ee=Be}oe[0]=oe[0]+Ee>>>0,oe[1]=oe[1]+fe>>>0,oe[2]=oe[2]+H>>>0,oe[3]=oe[3]+z>>>0,oe[4]=oe[4]+_e>>>0}return[oe[0]>>24&255,oe[0]>>16&255,oe[0]>>8&255,oe[0]&255,oe[1]>>24&255,oe[1]>>16&255,oe[1]>>8&255,oe[1]&255,oe[2]>>24&255,oe[2]>>16&255,oe[2]>>8&255,oe[2]&255,oe[3]>>24&255,oe[3]>>16&255,oe[3]>>8&255,oe[3]&255,oe[4]>>24&255,oe[4]>>16&255,oe[4]>>8&255,oe[4]&255]}const $=O("v5",80,R),ee="00000000-0000-0000-0000-000000000000";function te(ne){if(!(0,d.Z)(ne))throw TypeError("Invalid UUID");return parseInt(ne.slice(14,15),16)}const ie=te},31854:function(b,l,e){"use strict";e.d(l,{Z:()=>n});let r;const o=new Uint8Array(16);function n(){if(!r&&(r=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}},165838:function(b,l,e){"use strict";e.d(l,{S:()=>n,Z:()=>i});var r=e(593704);const o=[];for(let c=0;c<256;++c)o.push((c+256).toString(16).slice(1));function n(c,u=0){return o[c[u+0]]+o[c[u+1]]+o[c[u+2]]+o[c[u+3]]+"-"+o[c[u+4]]+o[c[u+5]]+"-"+o[c[u+6]]+o[c[u+7]]+"-"+o[c[u+8]]+o[c[u+9]]+"-"+o[c[u+10]]+o[c[u+11]]+o[c[u+12]]+o[c[u+13]]+o[c[u+14]]+o[c[u+15]]}function a(c,u=0){const f=n(c,u);if(!(0,r.Z)(f))throw TypeError("Stringified UUID is invalid");return f}const i=a},305170:function(b,l,e){"use strict";e.d(l,{Z:()=>c});const o={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};var n=e(31854),a=e(165838);function i(u,f,d){if(o.randomUUID&&!f&&!u)return o.randomUUID();u=u||{};const h=u.random||(u.rng||n.Z)();if(h[6]=h[6]&15|64,h[8]=h[8]&63|128,f){d=d||0;for(let g=0;g<16;++g)f[d+g]=h[g];return f}return(0,a.S)(h)}const c=i},593704:function(b,l,e){"use strict";e.d(l,{Z:()=>n});const r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function o(a){return typeof a=="string"&&r.test(a)}const n=o},879283:function(b,l,e){"use strict";function r(Qt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(Te){return typeof Te}:r=function(Te){return Te&&typeof Symbol=="function"&&Te.constructor===Symbol&&Te!==Symbol.prototype?"symbol":typeof Te},r(Qt)}Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=Xt(e(541674)),n=Xt(e(219787)),a=Xt(e(64388)),i=Xt(e(254979)),c=Xt(e(911717)),u=Xt(e(123407)),f=Xt(e(337266)),d=Xt(e(172344)),h=Xt(e(892867)),g=Xt(e(616734)),_=Xt(e(36424)),p=Xt(e(504100)),y=Xt(e(254219)),O=Xt(e(312006)),P=Xt(e(857515)),C=Xt(e(677174)),A=Xt(e(897933)),S=ro(e(746447)),T=ro(e(279159)),s=Xt(e(75769)),v=Xt(e(407907)),m=Xt(e(363675)),E=Xt(e(459973)),I=Xt(e(895717)),L=Xt(e(387202)),W=Xt(e(82784)),F=Xt(e(108066)),G=Xt(e(523689)),k=Xt(e(91853)),x=Xt(e(58757)),M=Xt(e(959728)),B=Xt(e(321621)),R=Xt(e(263419)),U=ro(e(983139)),j=Xt(e(113763)),$=Xt(e(477756)),ee=Xt(e(260198)),te=Xt(e(121962)),ie=Xt(e(439550)),ne=Xt(e(543171)),pe=Xt(e(629110)),oe=Xt(e(67474)),q=ro(e(646186)),J=Xt(e(578009)),me=Xt(e(440016)),re=Xt(e(735299)),he=Xt(e(196642)),Ee=Xt(e(173295)),fe=Xt(e(950601)),H=Xt(e(364535)),z=Xt(e(443073)),_e=Xt(e(402729)),ae=Xt(e(138749)),ge=Xt(e(660868)),Be=Xt(e(194457)),Ke=Xt(e(709033)),He=Xt(e(586381)),ye=Xt(e(607368)),Le=Xt(e(550447)),Ue=Xt(e(530565)),Xe=Xt(e(354343)),Fe=Xt(e(696058)),ht=Xt(e(484249)),Ne=Xt(e(567148)),Ce=ro(e(504661)),we=Xt(e(62688)),$e=Xt(e(288071)),Ot=Xt(e(916876)),Pt=e(741356),Ie=Xt(e(166885)),Bt=Xt(e(450650)),mt=Xt(e(641343)),rt=Xt(e(166615)),ce=Xt(e(20074)),Re=Xt(e(504880)),nt=Xt(e(253725)),st=Xt(e(993080)),vt=Xt(e(324442)),ze=Xt(e(521517)),It=Xt(e(278819)),on=Xt(e(8892)),Pn=Xt(e(873087)),Yn=Xt(e(682338)),Ln=ro(e(65208)),bn=Xt(e(69632)),ir=Xt(e(431279)),Zn=Xt(e(357810)),$n=Xt(e(573381)),jt=Xt(e(924992)),Rn=Xt(e(202127)),jn=Xt(e(337711)),Tn=Xt(e(927294)),Nn=Xt(e(883567)),cn=Xt(e(763499)),or=Xt(e(380978)),qn=Xt(e(868106)),Hr=Xt(e(79326)),fo=Xt(e(463463));function Jr(){if(typeof WeakMap!="function")return null;var Qt=new WeakMap;return Jr=function(){return Qt},Qt}function ro(Qt){if(Qt&&Qt.__esModule)return Qt;if(Qt===null||r(Qt)!=="object"&&typeof Qt!="function")return{default:Qt};var qt=Jr();if(qt&&qt.has(Qt))return qt.get(Qt);var Te={},Gt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var un in Qt)if(Object.prototype.hasOwnProperty.call(Qt,un)){var Vt=Gt?Object.getOwnPropertyDescriptor(Qt,un):null;Vt&&(Vt.get||Vt.set)?Object.defineProperty(Te,un,Vt):Te[un]=Qt[un]}return Te.default=Qt,qt&&qt.set(Qt,Te),Te}function Xt(Qt){return Qt&&Qt.__esModule?Qt:{default:Qt}}var Je="13.11.0",At={version:Je,toDate:o.default,toFloat:n.default,toInt:a.default,toBoolean:i.default,equals:c.default,contains:u.default,matches:f.default,isEmail:d.default,isURL:h.default,isMACAddress:g.default,isIP:_.default,isIPRange:p.default,isFQDN:y.default,isBoolean:C.default,isIBAN:q.default,isBIC:J.default,isAlpha:S.default,isAlphaLocales:S.locales,isAlphanumeric:T.default,isAlphanumericLocales:T.locales,isNumeric:s.default,isPassportNumber:v.default,isPort:m.default,isLowercase:E.default,isUppercase:I.default,isAscii:W.default,isFullWidth:F.default,isHalfWidth:G.default,isVariableWidth:k.default,isMultibyte:x.default,isSemVer:M.default,isSurrogatePair:B.default,isInt:R.default,isIMEI:L.default,isFloat:U.default,isFloatLocales:U.locales,isDecimal:j.default,isHexadecimal:$.default,isOctal:ee.default,isDivisibleBy:te.default,isHexColor:ie.default,isRgbColor:ne.default,isHSL:pe.default,isISRC:oe.default,isMD5:me.default,isHash:re.default,isJWT:he.default,isJSON:Ee.default,isEmpty:fe.default,isLength:H.default,isLocale:A.default,isByteLength:z.default,isUUID:_e.default,isMongoId:ae.default,isAfter:ge.default,isBefore:Be.default,isIn:Ke.default,isLuhnNumber:He.default,isCreditCard:ye.default,isIdentityCard:Le.default,isEAN:Ue.default,isISIN:Xe.default,isISBN:Fe.default,isISSN:ht.default,isMobilePhone:Ce.default,isMobilePhoneLocales:Ce.locales,isPostalCode:Ln.default,isPostalCodeLocales:Ln.locales,isEthereumAddress:we.default,isCurrency:$e.default,isBtcAddress:Ot.default,isISO6346:Pt.isISO6346,isFreightContainerID:Pt.isFreightContainerID,isISO6391:Ie.default,isISO8601:Bt.default,isRFC3339:mt.default,isISO31661Alpha2:rt.default,isISO31661Alpha3:ce.default,isISO4217:Re.default,isBase32:nt.default,isBase58:st.default,isBase64:vt.default,isDataURI:ze.default,isMagnetURI:It.default,isMailtoURI:on.default,isMimeType:Pn.default,isLatLong:Yn.default,ltrim:bn.default,rtrim:ir.default,trim:Zn.default,escape:$n.default,unescape:jt.default,stripLow:Rn.default,whitelist:jn.default,blacklist:Tn.default,isWhitelisted:Nn.default,normalizeEmail:cn.default,toString,isSlug:or.default,isStrongPassword:Hr.default,isTaxID:Ne.default,isDate:O.default,isTime:P.default,isLicensePlate:qn.default,isVAT:fo.default,ibanLocales:q.locales},xt=At;l.default=xt,b.exports=l.default,b.exports.default=l.default},265407:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.commaDecimal=l.dotDecimal=l.bengaliLocales=l.farsiLocales=l.arabicLocales=l.englishLocales=l.decimal=l.alphanumeric=l.alpha=void 0;var e={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fi-FI":/^[A-ZÅÄÖ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[ぁ-んァ-ヶｦ-ﾟ一-龠ー・。、]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"kk-KZ":/^[А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ko-KR":/^[ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,"hi-IN":/^[\u0900-\u0961]+[\u0972-\u097F]*$/i,"si-LK":/^[\u0D80-\u0DFF]+$/};l.alpha=e;var r={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fi-FI":/^[0-9A-ZÅÄÖ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[0-9０-９ぁ-んァ-ヶｦ-ﾟ一-龠ー・。、]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"kk-KZ":/^[0-9А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ko-KR":/^[0-9ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣ০১২৩৪৫৬৭৮৯ৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i,"si-LK":/^[0-9\u0D80-\u0DFF]+$/};l.alphanumeric=r;var o={"en-US":".",ar:"\u066B"};l.decimal=o;var n=["AU","GB","HK","IN","NZ","ZA","ZM"];l.englishLocales=n;for(var a,i=0;i<n.length;i++)a="en-".concat(n[i]),e[a]=e["en-US"],r[a]=r["en-US"],o[a]=o["en-US"];var c=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];l.arabicLocales=c;for(var u,f=0;f<c.length;f++)u="ar-".concat(c[f]),e[u]=e.ar,r[u]=r.ar,o[u]=o.ar;var d=["IR","AF"];l.farsiLocales=d;for(var h,g=0;g<d.length;g++)h="fa-".concat(d[g]),r[h]=r.fa,o[h]=o.ar;var _=["BD","IN"];l.bengaliLocales=_;for(var p,y=0;y<_.length;y++)p="bn-".concat(_[y]),e[p]=e.bn,r[p]=r.bn,o[p]=o["en-US"];var O=["ar-EG","ar-LB","ar-LY"];l.dotDecimal=O;var P=["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","es-ES","fr-CA","fr-FR","id-ID","it-IT","ku-IQ","hi-IN","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","kk-KZ","si-LK","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA","vi-VN"];l.commaDecimal=P;for(var C=0;C<O.length;C++)o[O[C]]=o["en-US"];for(var A=0;A<P.length;A++)o[P[A]]=",";e["fr-CA"]=e["fr-FR"],r["fr-CA"]=r["fr-FR"],e["pt-BR"]=e["pt-PT"],r["pt-BR"]=r["pt-PT"],o["pt-BR"]=o["pt-PT"],e["pl-Pl"]=e["pl-PL"],r["pl-Pl"]=r["pl-PL"],o["pl-Pl"]=o["pl-PL"],e["fa-AF"]=e.fa},927294:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){return(0,r.default)(a),a.replace(new RegExp("[".concat(i,"]+"),"g"),"")}b.exports=l.default,b.exports.default=l.default},123407:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=a(e(209311)),o=a(e(642035)),n=a(e(375168));function a(u){return u&&u.__esModule?u:{default:u}}var i={ignoreCase:!1,minOccurrences:1};function c(u,f,d){return(0,r.default)(u),d=(0,n.default)(d,i),d.ignoreCase?u.toLowerCase().split((0,o.default)(f).toLowerCase()).length>d.minOccurrences:u.split((0,o.default)(f)).length>d.minOccurrences}b.exports=l.default,b.exports.default=l.default},911717:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){return(0,r.default)(a),a===i}b.exports=l.default,b.exports.default=l.default},573381:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a),a.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")}b.exports=l.default,b.exports.default=l.default},660868:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(541674));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){var c=(i==null?void 0:i.comparisonDate)||i||Date().toString(),u=(0,r.default)(c),f=(0,r.default)(a);return!!(f&&u&&f>u)}b.exports=l.default,b.exports.default=l.default},746447:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.locales=void 0;var r=n(e(209311)),o=e(265407);function n(c){return c&&c.__esModule?c:{default:c}}function a(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"en-US",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};(0,r.default)(c);var d=c,h=f.ignore;if(h)if(h instanceof RegExp)d=d.replace(h,"");else if(typeof h=="string")d=d.replace(new RegExp("[".concat(h.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"");else throw new Error("ignore should be instance of a String or RegExp");if(u in o.alpha)return o.alpha[u].test(d);throw new Error("Invalid locale '".concat(u,"'"))}var i=Object.keys(o.alpha);l.locales=i},279159:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.locales=void 0;var r=n(e(209311)),o=e(265407);function n(c){return c&&c.__esModule?c:{default:c}}function a(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"en-US",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};(0,r.default)(c);var d=c,h=f.ignore;if(h)if(h instanceof RegExp)d=d.replace(h,"");else if(typeof h=="string")d=d.replace(new RegExp("[".concat(h.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"");else throw new Error("ignore should be instance of a String or RegExp");if(u in o.alphanumeric)return o.alphanumeric[u].test(d);throw new Error("Invalid locale '".concat(u,"'"))}var i=Object.keys(o.alphanumeric);l.locales=i},82784:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^[\x00-\x7F]+$/;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},578009:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=n(e(209311)),o=e(166615);function n(c){return c&&c.__esModule?c:{default:c}}var a=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;function i(c){(0,r.default)(c);var u=c.slice(4,6).toUpperCase();return!o.CountryCodes.has(u)&&u!=="XK"?!1:a.test(c)}b.exports=l.default,b.exports.default=l.default},253725:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=u;var r=n(e(209311)),o=n(e(375168));function n(f){return f&&f.__esModule?f:{default:f}}var a=/^[A-Z2-7]+=*$/,i=/^[A-HJKMNP-TV-Z0-9]+$/,c={crockford:!1};function u(f,d){if((0,r.default)(f),d=(0,o.default)(d,c),d.crockford)return i.test(f);var h=f.length;return!!(h%8===0&&a.test(f))}b.exports=l.default,b.exports.default=l.default},993080:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^[A-HJ-NP-Za-km-z1-9]*$/;function a(i){return(0,r.default)(i),!!n.test(i)}b.exports=l.default,b.exports.default=l.default},324442:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=u;var r=n(e(209311)),o=n(e(375168));function n(f){return f&&f.__esModule?f:{default:f}}var a=/[^A-Z0-9+\/=]/i,i=/^[A-Z0-9_\-]*$/i,c={urlSafe:!1};function u(f,d){(0,r.default)(f),d=(0,o.default)(d,c);var h=f.length;if(d.urlSafe)return i.test(f);if(h%4!==0||a.test(f))return!1;var g=f.indexOf("=");return g===-1||g===h-1||g===h-2&&f[h-1]==="="}b.exports=l.default,b.exports.default=l.default},194457:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=n(e(209311)),o=n(e(541674));function n(i){return i&&i.__esModule?i:{default:i}}function a(i){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:String(new Date);(0,r.default)(i);var u=(0,o.default)(c),f=(0,o.default)(i);return!!(f&&u&&f<u)}b.exports=l.default,b.exports.default=l.default},677174:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=o(e(209311));function o(u){return u&&u.__esModule?u:{default:u}}var n={loose:!1},a=["true","false","1","0"],i=[].concat(a,["yes","no"]);function c(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n;return(0,r.default)(u),f.loose?i.includes(u.toLowerCase()):a.includes(u)}b.exports=l.default,b.exports.default=l.default},916876:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=o(e(209311));function o(c){return c&&c.__esModule?c:{default:c}}var n=/^(bc1)[a-z0-9]{25,39}$/,a=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;function i(c){return(0,r.default)(c),n.test(c)||a.test(c)}b.exports=l.default,b.exports.default=l.default},443073:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}function n(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(u){return typeof u}:n=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},n(i)}function a(i,c){(0,r.default)(i);var u,f;n(c)==="object"?(u=c.min||0,f=c.max):(u=arguments[1],f=arguments[2]);var d=encodeURI(i).split(/%..|./).length-1;return d>=u&&(typeof f>"u"||d<=f)}b.exports=l.default,b.exports.default=l.default},607368:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=n(e(209311)),o=n(e(586381));function n(u){return u&&u.__esModule?u:{default:u}}var a={amex:/^3[47][0-9]{13}$/,dinersclub:/^3(?:0[0-5]|[68][0-9])[0-9]{11}$/,discover:/^6(?:011|5[0-9][0-9])[0-9]{12,15}$/,jcb:/^(?:2131|1800|35\d{3})\d{11}$/,mastercard:/^5[1-5][0-9]{2}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$/,unionpay:/^(6[27][0-9]{14}|^(81[0-9]{14,17}))$/,visa:/^(?:4[0-9]{12})(?:[0-9]{3,6})?$/},i=function(){var u=[];for(var f in a)a.hasOwnProperty(f)&&u.push(a[f]);return u}();function c(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,r.default)(u);var d=f.provider,h=u.replace(/[- ]+/g,"");if(d&&d.toLowerCase()in a){if(!a[d.toLowerCase()].test(h))return!1}else{if(d&&!(d.toLowerCase()in a))throw new Error("".concat(d," is not a valid credit card provider."));if(!i.some(function(g){return g.test(h)}))return!1}return(0,o.default)(u)}b.exports=l.default,b.exports.default=l.default},288071:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=n(e(375168)),o=n(e(209311));function n(u){return u&&u.__esModule?u:{default:u}}function a(u){var f="\\d{".concat(u.digits_after_decimal[0],"}");u.digits_after_decimal.forEach(function(C,A){A!==0&&(f="".concat(f,"|\\d{").concat(C,"}"))});var d="(".concat(u.symbol.replace(/\W/,function(C){return"\\".concat(C)}),")").concat(u.require_symbol?"":"?"),h="-?",g="[1-9]\\d*",_="[1-9]\\d{0,2}(\\".concat(u.thousands_separator,"\\d{3})*"),p=["0",g,_],y="(".concat(p.join("|"),")?"),O="(\\".concat(u.decimal_separator,"(").concat(f,"))").concat(u.require_decimal?"":"?"),P=y+(u.allow_decimal||u.require_decimal?O:"");return u.allow_negatives&&!u.parens_for_negatives&&(u.negative_sign_after_digits?P+=h:u.negative_sign_before_digits&&(P=h+P)),u.allow_negative_sign_placeholder?P="( (?!\\-))?".concat(P):u.allow_space_after_symbol?P=" ?".concat(P):u.allow_space_after_digits&&(P+="( (?!$))?"),u.symbol_after_digits?P+=d:P=d+P,u.allow_negatives&&(u.parens_for_negatives?P="(\\(".concat(P,"\\)|").concat(P,")"):u.negative_sign_before_digits||u.negative_sign_after_digits||(P=h+P)),new RegExp("^(?!-? )(?=.*\\d)".concat(P,"$"))}var i={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};function c(u,f){return(0,o.default)(u),f=(0,r.default)(f,i),a(f).test(u)}b.exports=l.default,b.exports.default=l.default},521517:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=o(e(209311));function o(u){return u&&u.__esModule?u:{default:u}}var n=/^[a-z]+\/[a-z0-9\-\+\._]+$/i,a=/^[a-z\-]+=[a-z0-9\-]+$/i,i=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;function c(u){(0,r.default)(u);var f=u.split(",");if(f.length<2)return!1;var d=f.shift().trim().split(";"),h=d.shift();if(h.slice(0,5)!=="data:")return!1;var g=h.slice(5);if(g!==""&&!n.test(g))return!1;for(var _=0;_<d.length;_++)if(!(_===d.length-1&&d[_].toLowerCase()==="base64")&&!a.test(d[_]))return!1;for(var p=0;p<f.length;p++)if(!i.test(f[p]))return!1;return!0}b.exports=l.default,b.exports.default=l.default},312006:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=p;var r=o(e(375168));function o(y){return y&&y.__esModule?y:{default:y}}function n(y,O){return c(y)||i(y,O)||f(y,O)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(y,O){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(y)))){var P=[],C=!0,A=!1,S=void 0;try{for(var T=y[Symbol.iterator](),s;!(C=(s=T.next()).done)&&(P.push(s.value),!(O&&P.length===O));C=!0);}catch(v){A=!0,S=v}finally{try{!C&&T.return!=null&&T.return()}finally{if(A)throw S}}return P}}function c(y){if(Array.isArray(y))return y}function u(y,O){var P;if(typeof Symbol>"u"||y[Symbol.iterator]==null){if(Array.isArray(y)||(P=f(y))||O&&y&&typeof y.length=="number"){P&&(y=P);var C=0,A=function(){};return{s:A,n:function(){return C>=y.length?{done:!0}:{done:!1,value:y[C++]}},e:function(m){throw m},f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var S=!0,T=!1,s;return{s:function(){P=y[Symbol.iterator]()},n:function(){var m=P.next();return S=m.done,m},e:function(m){T=!0,s=m},f:function(){try{!S&&P.return!=null&&P.return()}finally{if(T)throw s}}}}function f(y,O){if(y){if(typeof y=="string")return d(y,O);var P=Object.prototype.toString.call(y).slice(8,-1);if(P==="Object"&&y.constructor&&(P=y.constructor.name),P==="Map"||P==="Set")return Array.from(y);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return d(y,O)}}function d(y,O){(O==null||O>y.length)&&(O=y.length);for(var P=0,C=new Array(O);P<O;P++)C[P]=y[P];return C}var h={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1};function g(y){return/(^(y{4}|y{2})[.\/-](m{1,2})[.\/-](d{1,2})$)|(^(m{1,2})[.\/-](d{1,2})[.\/-]((y{4}|y{2})$))|(^(d{1,2})[.\/-](m{1,2})[.\/-]((y{4}|y{2})$))/gi.test(y)}function _(y,O){for(var P=[],C=Math.min(y.length,O.length),A=0;A<C;A++)P.push([y[A],O[A]]);return P}function p(y,O){if(typeof O=="string"?O=(0,r.default)({format:O},h):O=(0,r.default)(O,h),typeof y=="string"&&g(O.format)){var P=O.delimiters.find(function(F){return O.format.indexOf(F)!==-1}),C=O.strictMode?P:O.delimiters.find(function(F){return y.indexOf(F)!==-1}),A=_(y.split(C),O.format.toLowerCase().split(P)),S={},T=u(A),s;try{for(T.s();!(s=T.n()).done;){var v=n(s.value,2),m=v[0],E=v[1];if(m.length!==E.length)return!1;S[E.charAt(0)]=m}}catch(F){T.e(F)}finally{T.f()}var I=S.y;if(S.y.length===2){var L=parseInt(S.y,10);if(isNaN(L))return!1;var W=new Date().getFullYear()%100;L<W?I="20".concat(S.y):I="19".concat(S.y)}return new Date("".concat(I,"-").concat(S.m,"-").concat(S.d)).getDate()===+S.d}return O.strictMode?!1:Object.prototype.toString.call(y)==="[object Date]"&&isFinite(y)}b.exports=l.default,b.exports.default=l.default},113763:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=d;var r=i(e(375168)),o=i(e(209311)),n=i(e(837514)),a=e(265407);function i(h){return h&&h.__esModule?h:{default:h}}function c(h){var g=new RegExp("^[-+]?([0-9]+)?(\\".concat(a.decimal[h.locale],"[0-9]{").concat(h.decimal_digits,"})").concat(h.force_decimal?"":"?","$"));return g}var u={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},f=["","-","+"];function d(h,g){if((0,o.default)(h),g=(0,r.default)(g,u),g.locale in a.decimal)return!(0,n.default)(f,h.replace(/ /g,""))&&c(g).test(h);throw new Error("Invalid locale '".concat(g.locale,"'"))}b.exports=l.default,b.exports.default=l.default},121962:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=n(e(209311)),o=n(e(219787));function n(i){return i&&i.__esModule?i:{default:i}}function a(i,c){return(0,r.default)(i),(0,o.default)(i)%parseInt(c,10)===0}b.exports=l.default,b.exports.default=l.default},530565:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=f;var r=o(e(209311));function o(d){return d&&d.__esModule?d:{default:d}}var n=8,a=14,i=/^(\d{8}|\d{13}|\d{14})$/;function c(d,h){return d===n||d===a?h%2===0?3:1:h%2===0?1:3}function u(d){var h=d.slice(0,-1).split("").map(function(_,p){return Number(_)*c(d.length,p)}).reduce(function(_,p){return _+p},0),g=10-h%10;return g<10?g:0}function f(d){(0,r.default)(d);var h=Number(d.slice(-1));return i.test(d)&&h===u(d)}b.exports=l.default,b.exports.default=l.default},172344:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=P;var r=c(e(209311)),o=c(e(443073)),n=c(e(254219)),a=c(e(36424)),i=c(e(375168));function c(C){return C&&C.__esModule?C:{default:C}}var u={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},f=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,h=/^[a-z\d]+$/,g=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,_=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,p=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i,y=254;function O(C){var A=C.replace(/^"(.+)"$/,"$1");if(!A.trim())return!1;var S=/[\.";<>]/.test(A);if(S){if(A===C)return!1;var T=A.split('"').length===A.split('\\"').length;if(!T)return!1}return!0}function P(C,A){if((0,r.default)(C),A=(0,i.default)(A,u),A.require_display_name||A.allow_display_name){var S=C.match(f);if(S){var T=S[1];if(C=C.replace(T,"").replace(/(^<|>$)/g,""),T.endsWith(" ")&&(T=T.slice(0,-1)),!O(T))return!1}else if(A.require_display_name)return!1}if(!A.ignore_max_length&&C.length>y)return!1;var s=C.split("@"),v=s.pop(),m=v.toLowerCase();if(A.host_blacklist.includes(m)||A.host_whitelist.length>0&&!A.host_whitelist.includes(m))return!1;var E=s.join("@");if(A.domain_specific_validation&&(m==="gmail.com"||m==="googlemail.com")){E=E.toLowerCase();var I=E.split("+")[0];if(!(0,o.default)(I.replace(/\./g,""),{min:6,max:30}))return!1;for(var L=I.split("."),W=0;W<L.length;W++)if(!h.test(L[W]))return!1}if(A.ignore_max_length===!1&&(!(0,o.default)(E,{max:64})||!(0,o.default)(v,{max:254})))return!1;if(!(0,n.default)(v,{require_tld:A.require_tld,ignore_max_length:A.ignore_max_length,allow_underscores:A.allow_underscores})){if(!A.allow_ip_domain)return!1;if(!(0,a.default)(v)){if(!v.startsWith("[")||!v.endsWith("]"))return!1;var F=v.slice(1,-1);if(F.length===0||!(0,a.default)(F))return!1}}if(E[0]==='"')return E=E.slice(1,E.length-1),A.allow_utf8_local_part?p.test(E):g.test(E);for(var G=A.allow_utf8_local_part?_:d,k=E.split("."),x=0;x<k.length;x++)if(!G.test(k[x]))return!1;return!(A.blacklisted_chars&&E.search(new RegExp("[".concat(A.blacklisted_chars,"]+"),"g"))!==-1)}b.exports=l.default,b.exports.default=l.default},950601:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=n(e(209311)),o=n(e(375168));function n(c){return c&&c.__esModule?c:{default:c}}var a={ignore_whitespace:!1};function i(c,u){return(0,r.default)(c),u=(0,o.default)(u,a),(u.ignore_whitespace?c.trim().length:c.length)===0}b.exports=l.default,b.exports.default=l.default},62688:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^(0x)[0-9a-f]{40}$/i;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},254219:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=n(e(209311)),o=n(e(375168));function n(c){return c&&c.__esModule?c:{default:c}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};function i(c,u){(0,r.default)(c),u=(0,o.default)(u,a),u.allow_trailing_dot&&c[c.length-1]==="."&&(c=c.substring(0,c.length-1)),u.allow_wildcard===!0&&c.indexOf("*.")===0&&(c=c.substring(2));var f=c.split("."),d=f[f.length-1];return u.require_tld&&(f.length<2||!u.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(d)||/\s/.test(d))||!u.allow_numeric_tld&&/^\d+$/.test(d)?!1:f.every(function(h){return!(h.length>63&&!u.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(h)||/[\uff01-\uff5e]/.test(h)||/^-|-$/.test(h)||!u.allow_underscores&&/_/.test(h))})}b.exports=l.default,b.exports.default=l.default},983139:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.locales=void 0;var r=n(e(209311)),o=e(265407);function n(c){return c&&c.__esModule?c:{default:c}}function a(c,u){(0,r.default)(c),u=u||{};var f=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(u.locale?o.decimal[u.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(c===""||c==="."||c===","||c==="-"||c==="+")return!1;var d=parseFloat(c.replace(",","."));return f.test(c)&&(!u.hasOwnProperty("min")||d>=u.min)&&(!u.hasOwnProperty("max")||d<=u.max)&&(!u.hasOwnProperty("lt")||d<u.lt)&&(!u.hasOwnProperty("gt")||d>u.gt)}var i=Object.keys(o.decimal);l.locales=i},108066:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.fullWidth=void 0;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;l.fullWidth=n;function a(i){return(0,r.default)(i),n.test(i)}},629110:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=o(e(209311));function o(c){return c&&c.__esModule?c:{default:c}}var n=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,a=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i;function i(c){(0,r.default)(c);var u=c.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/ig,"$1");return u.indexOf(",")!==-1?n.test(u):a.test(u)}b.exports=l.default,b.exports.default=l.default},523689:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.halfWidth=void 0;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;l.halfWidth=n;function a(i){return(0,r.default)(i),n.test(i)}},735299:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};function a(i,c){(0,r.default)(i);var u=new RegExp("^[a-fA-F0-9]{".concat(n[c],"}$"));return u.test(i)}b.exports=l.default,b.exports.default=l.default},439550:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},477756:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^(0x|0h)?[0-9A-F]+$/i;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},646186:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=u,l.locales=void 0;var r=o(e(209311));function o(d){return d&&d.__esModule?d:{default:d}}var n={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16}$/,CZ:/^(CZ[0-9]{2})\d{20}$/,DE:/^(DE[0-9]{2})\d{18}$/,DK:/^(DK[0-9]{2})\d{14}$/,DO:/^(DO[0-9]{2})[A-Z]{4}\d{20}$/,EE:/^(EE[0-9]{2})\d{16}$/,EG:/^(EG[0-9]{2})\d{25}$/,ES:/^(ES[0-9]{2})\d{20}$/,FI:/^(FI[0-9]{2})\d{14}$/,FO:/^(FO[0-9]{2})\d{14}$/,FR:/^(FR[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,GB:/^(GB[0-9]{2})[A-Z]{4}\d{14}$/,GE:/^(GE[0-9]{2})[A-Z0-9]{2}\d{16}$/,GI:/^(GI[0-9]{2})[A-Z]{4}[A-Z0-9]{15}$/,GL:/^(GL[0-9]{2})\d{14}$/,GR:/^(GR[0-9]{2})\d{7}[A-Z0-9]{16}$/,GT:/^(GT[0-9]{2})[A-Z0-9]{4}[A-Z0-9]{20}$/,HR:/^(HR[0-9]{2})\d{17}$/,HU:/^(HU[0-9]{2})\d{24}$/,IE:/^(IE[0-9]{2})[A-Z0-9]{4}\d{14}$/,IL:/^(IL[0-9]{2})\d{19}$/,IQ:/^(IQ[0-9]{2})[A-Z]{4}\d{15}$/,IR:/^(IR[0-9]{2})0\d{2}0\d{18}$/,IS:/^(IS[0-9]{2})\d{22}$/,IT:/^(IT[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,JO:/^(JO[0-9]{2})[A-Z]{4}\d{22}$/,KW:/^(KW[0-9]{2})[A-Z]{4}[A-Z0-9]{22}$/,KZ:/^(KZ[0-9]{2})\d{3}[A-Z0-9]{13}$/,LB:/^(LB[0-9]{2})\d{4}[A-Z0-9]{20}$/,LC:/^(LC[0-9]{2})[A-Z]{4}[A-Z0-9]{24}$/,LI:/^(LI[0-9]{2})\d{5}[A-Z0-9]{12}$/,LT:/^(LT[0-9]{2})\d{16}$/,LU:/^(LU[0-9]{2})\d{3}[A-Z0-9]{13}$/,LV:/^(LV[0-9]{2})[A-Z]{4}[A-Z0-9]{13}$/,MA:/^(MA[0-9]{26})$/,MC:/^(MC[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,MD:/^(MD[0-9]{2})[A-Z0-9]{20}$/,ME:/^(ME[0-9]{2})\d{18}$/,MK:/^(MK[0-9]{2})\d{3}[A-Z0-9]{10}\d{2}$/,MR:/^(MR[0-9]{2})\d{23}$/,MT:/^(MT[0-9]{2})[A-Z]{4}\d{5}[A-Z0-9]{18}$/,MU:/^(MU[0-9]{2})[A-Z]{4}\d{19}[A-Z]{3}$/,MZ:/^(MZ[0-9]{2})\d{21}$/,NL:/^(NL[0-9]{2})[A-Z]{4}\d{10}$/,NO:/^(NO[0-9]{2})\d{11}$/,PK:/^(PK[0-9]{2})[A-Z0-9]{4}\d{16}$/,PL:/^(PL[0-9]{2})\d{24}$/,PS:/^(PS[0-9]{2})[A-Z0-9]{4}\d{21}$/,PT:/^(PT[0-9]{2})\d{21}$/,QA:/^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};function a(d){var h=d.filter(function(g){return!(g in n)});return!(h.length>0)}function i(d,h){var g=d.replace(/[\s\-]+/gi,"").toUpperCase(),_=g.slice(0,2).toUpperCase(),p=_ in n;if(h.whitelist){if(!a(h.whitelist))return!1;var y=h.whitelist.includes(_);if(!y)return!1}if(h.blacklist){var O=h.blacklist.includes(_);if(O)return!1}return p&&n[_].test(g)}function c(d){var h=d.replace(/[^A-Z0-9]+/gi,"").toUpperCase(),g=h.slice(4)+h.slice(0,4),_=g.replace(/[A-Z]/g,function(y){return y.charCodeAt(0)-55}),p=_.match(/\d{1,7}/g).reduce(function(y,O){return Number(y+O)%97},"");return p===1}function u(d){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,r.default)(d),i(d,h)&&c(d)}var f=Object.keys(n);l.locales=f},387202:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=o(e(209311));function o(c){return c&&c.__esModule?c:{default:c}}var n=/^[0-9]{15}$/,a=/^\d{2}-\d{6}-\d{6}-\d{1}$/;function i(c,u){(0,r.default)(c),u=u||{};var f=n;if(u.allow_hyphens&&(f=a),!f.test(c))return!1;c=c.replace(/-/g,"");for(var d=0,h=2,g=14,_=0;_<g;_++){var p=c.substring(g-_-1,g-_),y=parseInt(p,10)*h;y>=10?d+=y%10+1:d+=y,h===1?h+=1:h-=1}var O=(10-d%10)%10;return O===parseInt(c.substring(14,15),10)}b.exports=l.default,b.exports.default=l.default},36424:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=f;var r=o(e(209311));function o(d){return d&&d.__esModule?d:{default:d}}var n="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",a="(".concat(n,"[.]){3}").concat(n),i=new RegExp("^".concat(a,"$")),c="(?:[0-9a-fA-F]{1,4})",u=new RegExp("^("+"(?:".concat(c,":){7}(?:").concat(c,"|:)|")+"(?:".concat(c,":){6}(?:").concat(a,"|:").concat(c,"|:)|")+"(?:".concat(c,":){5}(?::").concat(a,"|(:").concat(c,"){1,2}|:)|")+"(?:".concat(c,":){4}(?:(:").concat(c,"){0,1}:").concat(a,"|(:").concat(c,"){1,3}|:)|")+"(?:".concat(c,":){3}(?:(:").concat(c,"){0,2}:").concat(a,"|(:").concat(c,"){1,4}|:)|")+"(?:".concat(c,":){2}(?:(:").concat(c,"){0,3}:").concat(a,"|(:").concat(c,"){1,5}|:)|")+"(?:".concat(c,":){1}(?:(:").concat(c,"){0,4}:").concat(a,"|(:").concat(c,"){1,6}|:)|")+"(?::((?::".concat(c,"){0,5}:").concat(a,"|(?::").concat(c,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");function f(d){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,r.default)(d),h=String(h),h?h==="4"?i.test(d):h==="6"?u.test(d):!1:f(d,4)||f(d,6)}b.exports=l.default,b.exports.default=l.default},504100:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=u;var r=n(e(209311)),o=n(e(36424));function n(f){return f&&f.__esModule?f:{default:f}}var a=/^\d{1,3}$/,i=32,c=128;function u(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(0,r.default)(f);var h=f.split("/");if(h.length!==2||!a.test(h[1])||h[1].length>1&&h[1].startsWith("0"))return!1;var g=(0,o.default)(h[0],d);if(!g)return!1;var _=null;switch(String(d)){case"4":_=i;break;case"6":_=c;break;default:_=(0,o.default)(h[0],"6")?c:i}return h[1]<=_&&h[1]>=0}b.exports=l.default,b.exports.default=l.default},696058:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=o(e(209311));function o(u){return u&&u.__esModule?u:{default:u}}var n=/^(?:[0-9]{9}X|[0-9]{10})$/,a=/^(?:[0-9]{13})$/,i=[1,3];function c(u,f){(0,r.default)(u);var d=String((f==null?void 0:f.version)||f);if(!(f!=null&&f.version||f))return c(u,{version:10})||c(u,{version:13});var h=u.replace(/[\s-]+/g,""),g=0;if(d==="10"){if(!n.test(h))return!1;for(var _=0;_<d-1;_++)g+=(_+1)*h.charAt(_);if(h.charAt(9)==="X"?g+=10*10:g+=10*h.charAt(9),g%11===0)return!0}else if(d==="13"){if(!a.test(h))return!1;for(var p=0;p<12;p++)g+=i[p%2]*h.charAt(p);if(h.charAt(12)-(10-g%10)%10===0)return!0}return!1}b.exports=l.default,b.exports.default=l.default},354343:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;function a(i){if((0,r.default)(i),!n.test(i))return!1;for(var c=!0,u=0,f=i.length-2;f>=0;f--)if(i[f]>="A"&&i[f]<="Z")for(var d=i[f].charCodeAt(0)-55,h=d%10,g=Math.trunc(d/10),_=0,p=[h,g];_<p.length;_++){var y=p[_];c?y>=5?u+=1+(y-5)*2:u+=y*2:u+=y,c=!c}else{var O=i[f].charCodeAt(0)-48;c?O>=5?u+=1+(O-5)*2:u+=O*2:u+=O,c=!c}var P=Math.trunc((u+9)/10)*10-u;return+i[i.length-1]===P}b.exports=l.default,b.exports.default=l.default},166615:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.CountryCodes=void 0;var r=o(e(209311));function o(c){return c&&c.__esModule?c:{default:c}}var n=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]);function a(c){return(0,r.default)(c),n.has(c.toUpperCase())}var i=n;l.CountryCodes=i},20074:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]);function a(i){return(0,r.default)(i),n.has(i.toUpperCase())}b.exports=l.default,b.exports.default=l.default},504880:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.CurrencyCodes=void 0;var r=o(e(209311));function o(c){return c&&c.__esModule?c:{default:c}}var n=new Set(["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]);function a(c){return(0,r.default)(c),n.has(c.toUpperCase())}var i=n;l.CurrencyCodes=i},741356:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isISO6346=i,l.isFreightContainerID=void 0;var r=o(e(209311));function o(u){return u&&u.__esModule?u:{default:u}}var n=/^[A-Z]{3}(U[0-9]{7})|([J,Z][0-9]{6,7})$/,a=/^[0-9]$/;function i(u){if((0,r.default)(u),u=u.toUpperCase(),!n.test(u))return!1;if(u.length===11){for(var f=0,d=0;d<u.length-1;d++)if(a.test(u[d]))f+=u[d]*Math.pow(2,d);else{var h=void 0,g=u.charCodeAt(d)-55;g<11?h=g:g>=11&&g<=20?h=12+g%11:g>=21&&g<=30?h=23+g%21:h=34+g%31,f+=h*Math.pow(2,d)}var _=f%11;return Number(u[u.length-1])===_}return!0}var c=i;l.isFreightContainerID=c},166885:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=new Set(["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]);function a(i){return(0,r.default)(i),n.has(i)}b.exports=l.default,b.exports.default=l.default},450650:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=o(e(209311));function o(u){return u&&u.__esModule?u:{default:u}}var n=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,i=function(f){var d=f.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(d){var h=Number(d[1]),g=Number(d[2]);return h%4===0&&h%100!==0||h%400===0?g<=366:g<=365}var _=f.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),p=_[1],y=_[2],O=_[3],P=y&&"0".concat(y).slice(-2),C=O&&"0".concat(O).slice(-2),A=new Date("".concat(p,"-").concat(P||"01","-").concat(C||"01"));return y&&O?A.getUTCFullYear()===p&&A.getUTCMonth()+1===y&&A.getUTCDate()===O:!0};function c(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,r.default)(u);var d=f.strictSeparator?a.test(u):n.test(u);return d&&f.strict?i(u):d}b.exports=l.default,b.exports.default=l.default},67474:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},484249:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n="^\\d{4}-?\\d{3}[\\dX]$";function a(i){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,r.default)(i);var u=n;if(u=c.require_hyphen?u.replace("?",""):u,u=c.case_sensitive?new RegExp(u):new RegExp(u,"i"),!u.test(i))return!1;for(var f=i.replace("-","").toUpperCase(),d=0,h=0;h<f.length;h++){var g=f[h];d+=(g==="X"?10:+g)*(8-h)}return d%11===0}b.exports=l.default,b.exports.default=l.default},550447:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=n(e(209311)),o=n(e(263419));function n(c){return c&&c.__esModule?c:{default:c}}var a={PL:function(u){(0,r.default)(u);var f={1:1,2:3,3:7,4:9,5:1,6:3,7:7,8:9,9:1,10:3,11:0};if(u!=null&&u.length===11&&(0,o.default)(u,{allow_leading_zeroes:!0})){var d=u.split("").slice(0,-1),h=d.reduce(function(p,y,O){return p+Number(y)*f[O+1]},0),g=h%10,_=Number(u.charAt(u.length-1));if(g===0&&_===0||_===10-g)return!0}return!1},ES:function(u){(0,r.default)(u);var f=/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/,d={X:0,Y:1,Z:2},h=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"],g=u.trim().toUpperCase();if(!f.test(g))return!1;var _=g.slice(0,-1).replace(/[X,Y,Z]/g,function(p){return d[p]});return g.endsWith(h[_%23])},FI:function(u){if((0,r.default)(u),u.length!==11||!u.match(/^\d{6}[\-A\+]\d{3}[0-9ABCDEFHJKLMNPRSTUVWXY]{1}$/))return!1;var f="0123456789ABCDEFHJKLMNPRSTUVWXY",d=parseInt(u.slice(0,6),10)*1e3+parseInt(u.slice(7,10),10),h=d%31,g=f[h];return g===u.slice(10,11)},IN:function(u){var f=/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/,d=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],h=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],g=u.trim();if(!f.test(g))return!1;var _=0,p=g.replace(/\s/g,"").split("").map(Number).reverse();return p.forEach(function(y,O){_=d[_][h[O%8][y]]}),_===0},IR:function(u){if(!u.match(/^\d{10}$/)||(u="0000".concat(u).slice(u.length-6),parseInt(u.slice(3,9),10)===0))return!1;for(var f=parseInt(u.slice(9,10),10),d=0,h=0;h<9;h++)d+=parseInt(u.slice(h,h+1),10)*(10-h);return d%=11,d<2&&f===d||d>=2&&f===11-d},IT:function(u){return u.length!==9||u==="CA00000AA"?!1:u.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)>-1},NO:function(u){var f=u.trim();if(isNaN(Number(f))||f.length!==11||f==="00000000000")return!1;var d=f.split("").map(Number),h=(11-(3*d[0]+7*d[1]+6*d[2]+1*d[3]+8*d[4]+9*d[5]+4*d[6]+5*d[7]+2*d[8])%11)%11,g=(11-(5*d[0]+4*d[1]+3*d[2]+2*d[3]+7*d[4]+6*d[5]+5*d[6]+4*d[7]+3*d[8]+2*h)%11)%11;return!(h!==d[9]||g!==d[10])},TH:function(u){if(!u.match(/^[1-8]\d{12}$/))return!1;for(var f=0,d=0;d<12;d++)f+=parseInt(u[d],10)*(13-d);return u[12]===((11-f%11)%10).toString()},LK:function(u){var f=/^[1-9]\d{8}[vx]$/i,d=/^[1-9]\d{11}$/i;return u.length===10&&f.test(u)?!0:!!(u.length===12&&d.test(u))},"he-IL":function(u){var f=/^\d{9}$/,d=u.trim();if(!f.test(d))return!1;for(var h=d,g=0,_,p=0;p<h.length;p++)_=Number(h[p])*(p%2+1),g+=_>9?_-9:_;return g%10===0},"ar-LY":function(u){var f=/^(1|2)\d{11}$/,d=u.trim();return!!f.test(d)},"ar-TN":function(u){var f=/^\d{8}$/,d=u.trim();return!!f.test(d)},"zh-CN":function(u){var f=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],d=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],h=["1","0","X","9","8","7","6","5","4","3","2"],g=function(S){return f.includes(S)},_=function(S){var T=parseInt(S.substring(0,4),10),s=parseInt(S.substring(4,6),10),v=parseInt(S.substring(6),10),m=new Date(T,s-1,v);return m>new Date?!1:m.getFullYear()===T&&m.getMonth()===s-1&&m.getDate()===v},p=function(S){for(var T=S.substring(0,17),s=0,v=0;v<17;v++)s+=parseInt(T.charAt(v),10)*parseInt(d[v],10);var m=s%11;return h[m]},y=function(S){return p(S)===S.charAt(17).toUpperCase()},O=function(S){var T=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(S);if(!T)return!1;var s=S.substring(0,2);if(T=g(s),!T)return!1;var v="19".concat(S.substring(6,12));return T=_(v),!!T},P=function(S){var T=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(S);if(!T)return!1;var s=S.substring(0,2);if(T=g(s),!T)return!1;var v=S.substring(6,14);return T=_(v),T?y(S):!1},C=function(S){var T=/^\d{15}|(\d{17}(\d|x|X))$/.test(S);return T?S.length===15?O(S):P(S):!1};return C(u)},"zh-HK":function(u){u=u.trim();var f=/^[A-Z]{1,2}[0-9]{6}((\([0-9A]\))|(\[[0-9A]\])|([0-9A]))$/,d=/^[0-9]$/;if(u=u.toUpperCase(),!f.test(u))return!1;u=u.replace(/\[|\]|\(|\)/g,""),u.length===8&&(u="3".concat(u));for(var h=0,g=0;g<=7;g++){var _=void 0;d.test(u[g])?_=u[g]:_=(u[g].charCodeAt(0)-55)%11,h+=_*(9-g)}h%=11;var p;return h===0?p="0":h===1?p="A":p=String(11-h),p===u[u.length-1]},"zh-TW":function(u){var f={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},d=u.trim().toUpperCase();return/^[A-Z][0-9]{9}$/.test(d)?Array.from(d).reduce(function(h,g,_){if(_===0){var p=f[g];return p%10*9+Math.floor(p/10)}return _===9?(10-h%10-Number(g))%10===0:h+Number(g)*(9-_)},0):!1}};function i(c,u){if((0,r.default)(c),u in a)return a[u](c);if(u==="any"){for(var f in a)if(a.hasOwnProperty(f)){var d=a[f];if(d(c))return!0}return!1}throw new Error("Invalid locale '".concat(u,"'"))}b.exports=l.default,b.exports.default=l.default},709033:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=n(e(209311)),o=n(e(642035));function n(c){return c&&c.__esModule?c:{default:c}}function a(c){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?a=function(f){return typeof f}:a=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},a(c)}function i(c,u){(0,r.default)(c);var f;if(Object.prototype.toString.call(u)==="[object Array]"){var d=[];for(f in u)({}).hasOwnProperty.call(u,f)&&(d[f]=(0,o.default)(u[f]));return d.indexOf(c)>=0}else{if(a(u)==="object")return u.hasOwnProperty(c);if(u&&typeof u.indexOf=="function")return u.indexOf(c)>=0}return!1}b.exports=l.default,b.exports.default=l.default},263419:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=o(e(209311));function o(c){return c&&c.__esModule?c:{default:c}}var n=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,a=/^[-+]?[0-9]+$/;function i(c,u){(0,r.default)(c),u=u||{};var f=u.hasOwnProperty("allow_leading_zeroes")&&!u.allow_leading_zeroes?n:a,d=!u.hasOwnProperty("min")||c>=u.min,h=!u.hasOwnProperty("max")||c<=u.max,g=!u.hasOwnProperty("lt")||c<u.lt,_=!u.hasOwnProperty("gt")||c>u.gt;return f.test(c)&&d&&h&&g&&_}b.exports=l.default,b.exports.default=l.default},173295:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=n(e(209311)),o=n(e(375168));function n(u){return u&&u.__esModule?u:{default:u}}function a(u){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?a=function(d){return typeof d}:a=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},a(u)}var i={allow_primitives:!1};function c(u,f){(0,r.default)(u);try{f=(0,o.default)(f,i);var d=[];f.allow_primitives&&(d=[null,!1,!0]);var h=JSON.parse(u);return d.includes(h)||!!h&&a(h)==="object"}catch{}return!1}b.exports=l.default,b.exports.default=l.default},196642:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=n(e(209311)),o=n(e(324442));function n(i){return i&&i.__esModule?i:{default:i}}function a(i){(0,r.default)(i);var c=i.split("."),u=c.length;return u!==3?!1:c.reduce(function(f,d){return f&&(0,o.default)(d,{urlSafe:!0})},!0)}b.exports=l.default,b.exports.default=l.default},682338:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=d;var r=n(e(209311)),o=n(e(375168));function n(h){return h&&h.__esModule?h:{default:h}}var a=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,i=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,c=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,u=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,f={checkDMS:!1};function d(h,g){if((0,r.default)(h),g=(0,o.default)(g,f),!h.includes(","))return!1;var _=h.split(",");return _[0].startsWith("(")&&!_[1].endsWith(")")||_[1].endsWith(")")&&!_[0].startsWith("(")?!1:g.checkDMS?c.test(_[0])&&u.test(_[1]):a.test(_[0])&&i.test(_[1])}b.exports=l.default,b.exports.default=l.default},364535:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}function n(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(u){return typeof u}:n=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},n(i)}function a(i,c){(0,r.default)(i);var u,f;n(c)==="object"?(u=c.min||0,f=c.max):(u=arguments[1]||0,f=arguments[2]);var d=i.match(/(\uFE0F|\uFE0E)/g)||[],h=i.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],g=i.length-d.length-h.length;return g>=u&&(typeof f>"u"||g<=f)}b.exports=l.default,b.exports.default=l.default},868106:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n={"cs-CZ":function(c){return/^(([ABCDEFHIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(c)},"de-DE":function(c){return/^((A|AA|AB|AC|AE|AH|AK|AM|AN|AÖ|AP|AS|AT|AU|AW|AZ|B|BA|BB|BC|BE|BF|BH|BI|BK|BL|BM|BN|BO|BÖ|BS|BT|BZ|C|CA|CB|CE|CO|CR|CW|D|DA|DD|DE|DH|DI|DL|DM|DN|DO|DU|DW|DZ|E|EA|EB|ED|EE|EF|EG|EH|EI|EL|EM|EN|ER|ES|EU|EW|F|FB|FD|FF|FG|FI|FL|FN|FO|FR|FS|FT|FÜ|FW|FZ|G|GA|GC|GD|GE|GF|GG|GI|GK|GL|GM|GN|GÖ|GP|GR|GS|GT|GÜ|GV|GW|GZ|H|HA|HB|HC|HD|HE|HF|HG|HH|HI|HK|HL|HM|HN|HO|HP|HR|HS|HU|HV|HX|HY|HZ|IK|IL|IN|IZ|J|JE|JL|K|KA|KB|KC|KE|KF|KG|KH|KI|KK|KL|KM|KN|KO|KR|KS|KT|KU|KW|KY|L|LA|LB|LC|LD|LF|LG|LH|LI|LL|LM|LN|LÖ|LP|LR|LU|M|MA|MB|MC|MD|ME|MG|MH|MI|MK|ML|MM|MN|MO|MQ|MR|MS|MÜ|MW|MY|MZ|N|NB|ND|NE|NF|NH|NI|NK|NM|NÖ|NP|NR|NT|NU|NW|NY|NZ|OA|OB|OC|OD|OE|OF|OG|OH|OK|OL|OP|OS|OZ|P|PA|PB|PE|PF|PI|PL|PM|PN|PR|PS|PW|PZ|R|RA|RC|RD|RE|RG|RH|RI|RL|RM|RN|RO|RP|RS|RT|RU|RV|RW|RZ|S|SB|SC|SE|SG|SI|SK|SL|SM|SN|SO|SP|SR|ST|SU|SW|SY|SZ|TE|TF|TG|TO|TP|TR|TS|TT|TÜ|ÜB|UE|UH|UL|UM|UN|V|VB|VG|VK|VR|VS|W|WA|WB|WE|WF|WI|WK|WL|WM|WN|WO|WR|WS|WT|WÜ|WW|WZ|Z|ZE|ZI|ZP|ZR|ZW|ZZ)[- ]?[A-Z]{1,2}[- ]?\d{1,4}|(ABG|ABI|AIB|AIC|ALF|ALZ|ANA|ANG|ANK|APD|ARN|ART|ASL|ASZ|AUR|AZE|BAD|BAR|BBG|BCH|BED|BER|BGD|BGL|BID|BIN|BIR|BIT|BIW|BKS|BLB|BLK|BNA|BOG|BOH|BOR|BOT|BRA|BRB|BRG|BRK|BRL|BRV|BSB|BSK|BTF|BÜD|BUL|BÜR|BÜS|BÜZ|CAS|CHA|CLP|CLZ|COC|COE|CUX|DAH|DAN|DAU|DBR|DEG|DEL|DGF|DIL|DIN|DIZ|DKB|DLG|DON|DUD|DÜW|EBE|EBN|EBS|ECK|EIC|EIL|EIN|EIS|EMD|EMS|ERB|ERH|ERK|ERZ|ESB|ESW|FDB|FDS|FEU|FFB|FKB|FLÖ|FOR|FRG|FRI|FRW|FTL|FÜS|GAN|GAP|GDB|GEL|GEO|GER|GHA|GHC|GLA|GMN|GNT|GOA|GOH|GRA|GRH|GRI|GRM|GRZ|GTH|GUB|GUN|GVM|HAB|HAL|HAM|HAS|HBN|HBS|HCH|HDH|HDL|HEB|HEF|HEI|HER|HET|HGN|HGW|HHM|HIG|HIP|HMÜ|HOG|HOH|HOL|HOM|HOR|HÖS|HOT|HRO|HSK|HST|HVL|HWI|IGB|ILL|JÜL|KEH|KEL|KEM|KIB|KLE|KLZ|KÖN|KÖT|KÖZ|KRU|KÜN|KUS|KYF|LAN|LAU|LBS|LBZ|LDK|LDS|LEO|LER|LEV|LIB|LIF|LIP|LÖB|LOS|LRO|LSZ|LÜN|LUP|LWL|MAB|MAI|MAK|MAL|MED|MEG|MEI|MEK|MEL|MER|MET|MGH|MGN|MHL|MIL|MKK|MOD|MOL|MON|MOS|MSE|MSH|MSP|MST|MTK|MTL|MÜB|MÜR|MYK|MZG|NAB|NAI|NAU|NDH|NEA|NEB|NEC|NEN|NES|NEW|NMB|NMS|NOH|NOL|NOM|NOR|NVP|NWM|OAL|OBB|OBG|OCH|OHA|ÖHR|OHV|OHZ|OPR|OSL|OVI|OVL|OVP|PAF|PAN|PAR|PCH|PEG|PIR|PLÖ|PRÜ|QFT|QLB|RDG|REG|REH|REI|RID|RIE|ROD|ROF|ROK|ROL|ROS|ROT|ROW|RSL|RÜD|RÜG|SAB|SAD|SAN|SAW|SBG|SBK|SCZ|SDH|SDL|SDT|SEB|SEE|SEF|SEL|SFB|SFT|SGH|SHA|SHG|SHK|SHL|SIG|SIM|SLE|SLF|SLK|SLN|SLS|SLÜ|SLZ|SMÜ|SOB|SOG|SOK|SÖM|SON|SPB|SPN|SRB|SRO|STA|STB|STD|STE|STL|SUL|SÜW|SWA|SZB|TBB|TDO|TET|TIR|TÖL|TUT|UEM|UER|UFF|USI|VAI|VEC|VER|VIB|VIE|VIT|VOH|WAF|WAK|WAN|WAR|WAT|WBS|WDA|WEL|WEN|WER|WES|WHV|WIL|WIS|WIT|WIZ|WLG|WMS|WND|WOB|WOH|WOL|WOR|WOS|WRN|WSF|WST|WSW|WTL|WTM|WUG|WÜM|WUN|WUR|WZL|ZEL|ZIG)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(c)},"de-LI":function(c){return/^FL[- ]?\d{1,5}[UZ]?$/.test(c)},"en-IN":function(c){return/^[A-Z]{2}[ -]?[0-9]{1,2}(?:[ -]?[A-Z])(?:[ -]?[A-Z]*)?[ -]?[0-9]{4}$/.test(c)},"es-AR":function(c){return/^(([A-Z]{2} ?[0-9]{3} ?[A-Z]{2})|([A-Z]{3} ?[0-9]{3}))$/.test(c)},"fi-FI":function(c){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(c)},"hu-HU":function(c){return/^((((?!AAA)(([A-NPRSTVZWXY]{1})([A-PR-Z]{1})([A-HJ-NPR-Z]))|(A[ABC]I)|A[ABC]O|A[A-W]Q|BPI|BPO|UCO|UDO|XAO)-(?!000)\d{3})|(M\d{6})|((CK|DT|CD|HC|H[ABEFIKLMNPRSTVX]|MA|OT|R[A-Z]) \d{2}-\d{2})|(CD \d{3}-\d{3})|(C-(C|X) \d{4})|(X-(A|B|C) \d{4})|(([EPVZ]-\d{5}))|(S A[A-Z]{2} \d{2})|(SP \d{2}-\d{2}))$/.test(c)},"pt-BR":function(c){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(c)},"pt-PT":function(c){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(c)},"sq-AL":function(c){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(c)},"sv-SE":function(c){return/^[A-HJ-PR-UW-Z]{3} ?[\d]{2}[A-HJ-PR-UW-Z1-9]$|(^[A-ZÅÄÖ ]{2,7}$)/.test(c.trim())}};function a(i,c){if((0,r.default)(i),c in n)return n[c](i);if(c==="any"){for(var u in n){var f=n[u];if(f(i))return!0}return!1}throw new Error("Invalid locale '".concat(c,"'"))}b.exports=l.default,b.exports.default=l.default},897933:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=C;var r=o(e(209311));function o(A){return A&&A.__esModule?A:{default:A}}var n="([A-Za-z]{3}(-[A-Za-z]{3}){0,2})",a="(([a-zA-Z]{2,3}(-".concat(n,")?)|([a-zA-Z]{5,8}))"),i="([A-Za-z]{4})",c="([A-Za-z]{2}|\\d{3})",u="([A-Za-z0-9]{5,8}|(\\d[A-Z-a-z0-9]{3}))",f="(\\d|[A-W]|[Y-Z]|[a-w]|[y-z])",d="(".concat(f,"(-[A-Za-z0-9]{2,8})+)"),h="(x(-[A-Za-z0-9]{1,8})+)",g="((en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE))",_="((art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang))",p="(".concat(g,"|").concat(_,")"),y="(-|_)",O="".concat(a,"(").concat(y).concat(i,")?(").concat(y).concat(c,")?(").concat(y).concat(u,")*(").concat(y).concat(d,")*(").concat(y).concat(h,")?"),P=new RegExp("(^".concat(h,"$)|(^").concat(p,"$)|(^").concat(O,"$)"));function C(A){return(0,r.default)(A),P.test(A)}b.exports=l.default,b.exports.default=l.default},459973:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a),a===a.toLowerCase()}b.exports=l.default,b.exports.default=l.default},586381:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){(0,r.default)(a);for(var i=a.replace(/[- ]+/g,""),c=0,u,f,d,h=i.length-1;h>=0;h--)u=i.substring(h,h+1),f=parseInt(u,10),d?(f*=2,f>=10?c+=f%10+1:c+=f):c+=f,d=!d;return!!(c%10===0&&i)}b.exports=l.default,b.exports.default=l.default},616734:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=d;var r=o(e(209311));function o(h){return h&&h.__esModule?h:{default:h}}var n=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,a=/^([0-9a-fA-F]){12}$/,i=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/,c=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){6}([0-9a-fA-F]{2})$/,u=/^([0-9a-fA-F]){16}$/,f=/^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/;function d(h,g){return(0,r.default)(h),g!=null&&g.eui&&(g.eui=String(g.eui)),g!=null&&g.no_colons||g!=null&&g.no_separators?g.eui==="48"?a.test(h):g.eui==="64"?u.test(h):a.test(h)||u.test(h):(g==null?void 0:g.eui)==="48"?n.test(h)||i.test(h):(g==null?void 0:g.eui)==="64"?c.test(h)||f.test(h):d(h,{eui:"48"})||d(h,{eui:"64"})}b.exports=l.default,b.exports.default=l.default},440016:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^[a-f0-9]{32}$/;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},278819:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/(?:^magnet:\?|[^?&]&)xt(?:\.1)?=urn:(?:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?|btmh:1220[a-z0-9]{64})(?:$|&)/i;function a(i){return(0,r.default)(i),i.indexOf("magnet:?")!==0?!1:n.test(i)}b.exports=l.default,b.exports.default=l.default},8892:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=p;var r=a(e(357810)),o=a(e(172344)),n=a(e(209311));function a(y){return y&&y.__esModule?y:{default:y}}function i(y,O){return f(y)||u(y,O)||h(y,O)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(y,O){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(y)))){var P=[],C=!0,A=!1,S=void 0;try{for(var T=y[Symbol.iterator](),s;!(C=(s=T.next()).done)&&(P.push(s.value),!(O&&P.length===O));C=!0);}catch(v){A=!0,S=v}finally{try{!C&&T.return!=null&&T.return()}finally{if(A)throw S}}return P}}function f(y){if(Array.isArray(y))return y}function d(y,O){var P;if(typeof Symbol>"u"||y[Symbol.iterator]==null){if(Array.isArray(y)||(P=h(y))||O&&y&&typeof y.length=="number"){P&&(y=P);var C=0,A=function(){};return{s:A,n:function(){return C>=y.length?{done:!0}:{done:!1,value:y[C++]}},e:function(m){throw m},f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var S=!0,T=!1,s;return{s:function(){P=y[Symbol.iterator]()},n:function(){var m=P.next();return S=m.done,m},e:function(m){T=!0,s=m},f:function(){try{!S&&P.return!=null&&P.return()}finally{if(T)throw s}}}}function h(y,O){if(y){if(typeof y=="string")return g(y,O);var P=Object.prototype.toString.call(y).slice(8,-1);if(P==="Object"&&y.constructor&&(P=y.constructor.name),P==="Map"||P==="Set")return Array.from(y);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return g(y,O)}}function g(y,O){(O==null||O>y.length)&&(O=y.length);for(var P=0,C=new Array(O);P<O;P++)C[P]=y[P];return C}function _(y){var O=new Set(["subject","body","cc","bcc"]),P={cc:"",bcc:""},C=!1,A=y.split("&");if(A.length>4)return!1;var S=d(A),T;try{for(S.s();!(T=S.n()).done;){var s=T.value,v=s.split("="),m=i(v,2),E=m[0],I=m[1];if(E&&!O.has(E)){C=!0;break}I&&(E==="cc"||E==="bcc")&&(P[E]=I),E&&O.delete(E)}}catch(L){S.e(L)}finally{S.f()}return C?!1:P}function p(y,O){if((0,n.default)(y),y.indexOf("mailto:")!==0)return!1;var P=y.replace("mailto:","").split("?"),C=i(P,2),A=C[0],S=A===void 0?"":A,T=C[1],s=T===void 0?"":T;if(!S&&!s)return!0;var v=_(s);return v?"".concat(S,",").concat(v.cc,",").concat(v.bcc).split(",").every(function(m){return m=(0,r.default)(m," "),m?(0,o.default)(m,O):!0}):!1}b.exports=l.default,b.exports.default=l.default},873087:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=o(e(209311));function o(u){return u&&u.__esModule?u:{default:u}}var n=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+_]{1,100}$/i,a=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,i=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;function c(u){return(0,r.default)(u),n.test(u)||a.test(u)||i.test(u)}b.exports=l.default,b.exports.default=l.default},504661:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.locales=void 0;var r=o(e(209311));function o(c){return c&&c.__esModule?c:{default:c}}var n={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)([569]\d{7}|41\d{6})$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SD":/^((\+?249)|0)?(9[012369]|1[012])\d{7}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(10|5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)1)(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|9[1-9])\d{5}$/,"el-GR":/^(\+?30|0)?6(8[5-9]|9(?![26])[0-9])\d{7}$/,"el-CY":/^(\+?357?)?(9(9|6)\d{6})$/,"en-AI":/^(\+?1|0)264(?:2(35|92)|4(?:6[1-2]|76|97)|5(?:3[6-9]|8[1-4])|7(?:2(4|9)|72))\d{4}$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-AG":/^(?:\+1|1)268(?:464|7(?:1[3-9]|[28]\d|3[0246]|64|7[0-689]))\d{4}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}$))/,"en-BS":/^(\+?1[-\s]?|0)?\(?242\)?[-\s]?\d{3}[-\s]?\d{4}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-JM":/^(\+?876)?\d{7}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"fr-CF":/^(\+?236| ?)(70|75|77|72|21|22)\d{6}$/,"en-SS":/^(\+?211|0)(9[1257])\d{7}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-KN":/^(?:\+1|1)869(?:46\d|48[89]|55[6-8]|66\d|76[02-7])\d{4}$/,"en-LS":/^(\+?266)(22|28|57|58|59|27|52)\d{6}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PG":/^(\+?675|0)?(7\d|8[18])\d{6}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}$/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8|3|2]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-NI":/^(\+?505)\d{7,8}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4[0-6]|50)\s?(\d\s?){4,8}$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-BJ":/^(\+229)\d{8}$/,"fr-CD":/^(\+?243|0)?(8|9)\d{8}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"fr-WF":/^(\+681)?\d{6}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"ir-IR":/^(\+98|0)?9\d{9}$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(79\d{7}|5\d{8})$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"ky-KG":/^(\+?7\s?\+?7|0)\s?\d{2}\s?\d{3}\s?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"mg-MG":/^((\+?261|0)(2|3)\d)?\d{7}$/,"mn-MN":/^(\+|00|011)?976(77|81|88|91|94|95|96|99)\d{6}$/,"my-MM":/^(\+?959|09|9)(2[5-7]|3[1-2]|4[0-5]|6[6-9]|7[5-9]|9[6-9])[0-9]{7}$/,"ms-MY":/^(\+?60|0)1(([0145](-|\s)?\d{7,8})|([236-9](-|\s)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nl-AW":/^(\+)?297(56|59|64|73|74|99)\d{5}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?([5-8]\d|45) ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[1-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-MD":/^(\+?373|0)((6(0|1|2|6|7|8|9))|(7(6|7|8|9)))\d{6}$/,"ro-RO":/^(\+?40|0)\s?7\d{2}(\/|\s|\.|-)?\d{3}(\s|\.|-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"so-SO":/^(\+?252|0)((6[0-9])\d{7}|(7[1-9])\d{7})$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/,"ar-YE":/^(((\+|00)9677|0?7)[0137]\d{7}|((\+|00)967|0)[1-7]\d{6})$/,"ar-EH":/^(\+?212|0)[\s\-]?(5288|5289)[\s\-]?\d{5}$/,"fa-AF":/^(\+93|0)?(2{1}[0-8]{1}|[3-5]{1}[0-4]{1})(\d{7})$/};n["en-CA"]=n["en-US"],n["fr-CA"]=n["en-CA"],n["fr-BE"]=n["nl-BE"],n["zh-HK"]=n["en-HK"],n["zh-MO"]=n["en-MO"],n["ga-IE"]=n["en-IE"],n["fr-CH"]=n["de-CH"],n["it-CH"]=n["fr-CH"];function a(c,u,f){if((0,r.default)(c),f&&f.strictMode&&!c.startsWith("+"))return!1;if(Array.isArray(u))return u.some(function(g){if(n.hasOwnProperty(g)){var _=n[g];if(_.test(c))return!0}return!1});if(u in n)return n[u].test(c);if(!u||u==="any"){for(var d in n)if(n.hasOwnProperty(d)){var h=n[d];if(h.test(c))return!0}return!1}throw new Error("Invalid locale '".concat(u,"'"))}var i=Object.keys(n);l.locales=i},138749:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=n(e(209311)),o=n(e(477756));function n(i){return i&&i.__esModule?i:{default:i}}function a(i){return(0,r.default)(i),(0,o.default)(i)&&i.length===24}b.exports=l.default,b.exports.default=l.default},58757:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/[^\x00-\x7F]/;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},75769:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=n(e(209311)),o=e(265407);function n(c){return c&&c.__esModule?c:{default:c}}var a=/^[0-9]+$/;function i(c,u){return(0,r.default)(c),u&&u.no_symbols?a.test(c):new RegExp("^[+-]?([0-9]*[".concat((u||{}).locale?o.decimal[u.locale]:".","])?[0-9]+$")).test(c)}b.exports=l.default,b.exports.default=l.default},260198:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^(0o)?[0-7]+$/i;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},407907:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,AZ:/^[A-Z]{2,3}\d{7,8}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BR:/^[A-Z]{2}\d{6}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^G\d{8}$|^E(?![IO])[A-Z0-9]\d{7}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IN:/^[A-Z]{1}-?\d{7}$/,ID:/^[A-C]\d{7}$/,IR:/^[A-Z]\d{8}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JM:/^[Aa]\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,KZ:/^[a-zA-Z]\d{7}$/,LI:/^[a-zA-Z]\d{5}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,LY:/^[A-Z0-9]{8}$/,MT:/^\d{7}$/,MZ:/^([A-Z]{2}\d{7})|(\d{2}[A-Z]{2}\d{5})$/,MY:/^[AHK]\d{8}$/,MX:/^\d{10,11}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,NZ:/^([Ll]([Aa]|[Dd]|[Ff]|[Hh])|[Ee]([Aa]|[Pp])|[Nn])\d{6}$/,PH:/^([A-Z](\d{6}|\d{7}[A-Z]))|([A-Z]{2}(\d{6}|\d{7}))$/,PK:/^[A-Z]{2}\d{7}$/,PL:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TH:/^[A-Z]{1,2}\d{6,7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/};function a(i,c){(0,r.default)(i);var u=i.replace(/\s/g,"").toUpperCase();return c.toUpperCase()in n&&n[c].test(u)}b.exports=l.default,b.exports.default=l.default},363675:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(263419));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a,{min:0,max:65535})}b.exports=l.default,b.exports.default=l.default},65208:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=d,l.locales=void 0;var r=o(e(209311));function o(h){return h&&h.__esModule?h:{default:h}}var n=/^\d{3}$/,a=/^\d{4}$/,i=/^\d{5}$/,c=/^\d{6}$/,u={AD:/^AD\d{3}$/,AT:a,AU:a,AZ:/^AZ\d{4}$/,BA:/^([7-8]\d{4}$)/,BE:a,BG:a,BR:/^\d{5}-\d{3}$/,BY:/^2[1-4]\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:a,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:i,DK:a,DO:i,DZ:i,EE:i,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:i,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:a,ID:i,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/^(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}$/,IS:n,IT:i,JP:/^\d{3}\-\d{4}$/,KE:i,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:a,LV:/^LV\-\d{4}$/,LK:i,MG:n,MX:i,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:i,NL:/^\d{4}\s?[a-z]{2}$/i,NO:a,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:a,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:c,RU:c,SA:i,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:c,SI:a,SK:/^\d{3}\s?\d{2}$/,TH:i,TN:a,TW:/^\d{3}(\d{2})?$/,UA:i,US:/^\d{5}(-\d{4})?$/,ZA:a,ZM:i},f=Object.keys(u);l.locales=f;function d(h,g){if((0,r.default)(h),g in u)return u[g].test(h);if(g==="any"){for(var _ in u)if(u.hasOwnProperty(_)){var p=u[_];if(p.test(h))return!0}return!1}throw new Error("Invalid locale '".concat(g,"'"))}},641343:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=P;var r=o(e(209311));function o(C){return C&&C.__esModule?C:{default:C}}var n=/[0-9]{4}/,a=/(0[1-9]|1[0-2])/,i=/([12]\d|0[1-9]|3[01])/,c=/([01][0-9]|2[0-3])/,u=/[0-5][0-9]/,f=/([0-5][0-9]|60)/,d=/(\.[0-9]+)?/,h=new RegExp("[-+]".concat(c.source,":").concat(u.source)),g=new RegExp("([zZ]|".concat(h.source,")")),_=new RegExp("".concat(c.source,":").concat(u.source,":").concat(f.source).concat(d.source)),p=new RegExp("".concat(n.source,"-").concat(a.source,"-").concat(i.source)),y=new RegExp("".concat(_.source).concat(g.source)),O=new RegExp("^".concat(p.source,"[ tT]").concat(y.source,"$"));function P(C){return(0,r.default)(C),O.test(C)}b.exports=l.default,b.exports.default=l.default},543171:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=u;var r=o(e(209311));function o(f){return f&&f.__esModule?f:{default:f}}var n=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,a=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,i=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)$/,c=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/;function u(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,r.default)(f),d?n.test(f)||a.test(f)||i.test(f)||c.test(f):n.test(f)||a.test(f)}b.exports=l.default,b.exports.default=l.default},959728:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=n(e(209311)),o=n(e(764487));function n(c){return c&&c.__esModule?c:{default:c}}var a=(0,o.default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");function i(c){return(0,r.default)(c),a.test(c)}b.exports=l.default,b.exports.default=l.default},380978:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},79326:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=_;var r=n(e(375168)),o=n(e(209311));function n(p){return p&&p.__esModule?p:{default:p}}var a=/^[A-Z]$/,i=/^[a-z]$/,c=/^[0-9]$/,u=/^[-#!$@£%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/,f={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};function d(p){var y={};return Array.from(p).forEach(function(O){var P=y[O];P?y[O]+=1:y[O]=1}),y}function h(p){var y=d(p),O={length:p.length,uniqueChars:Object.keys(y).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(y).forEach(function(P){a.test(P)?O.uppercaseCount+=y[P]:i.test(P)?O.lowercaseCount+=y[P]:c.test(P)?O.numberCount+=y[P]:u.test(P)&&(O.symbolCount+=y[P])}),O}function g(p,y){var O=0;return O+=p.uniqueChars*y.pointsPerUnique,O+=(p.length-p.uniqueChars)*y.pointsPerRepeat,p.lowercaseCount>0&&(O+=y.pointsForContainingLower),p.uppercaseCount>0&&(O+=y.pointsForContainingUpper),p.numberCount>0&&(O+=y.pointsForContainingNumber),p.symbolCount>0&&(O+=y.pointsForContainingSymbol),O}function _(p){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;(0,o.default)(p);var O=h(p);return y=(0,r.default)(y||{},f),y.returnScore?g(O,y):O.length>=y.minLength&&O.lowercaseCount>=y.minLowercase&&O.uppercaseCount>=y.minUppercase&&O.numberCount>=y.minNumbers&&O.symbolCount>=y.minSymbols}b.exports=l.default,b.exports.default=l.default},321621:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},567148:function(b,l,e){"use strict";function r(H){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(_e){return typeof _e}:r=function(_e){return _e&&typeof Symbol=="function"&&_e.constructor===Symbol&&_e!==Symbol.prototype?"symbol":typeof _e},r(H)}Object.defineProperty(l,"__esModule",{value:!0}),l.default=fe;var o=u(e(209311)),n=c(e(325784)),a=u(e(312006));function i(){if(typeof WeakMap!="function")return null;var H=new WeakMap;return i=function(){return H},H}function c(H){if(H&&H.__esModule)return H;if(H===null||r(H)!=="object"&&typeof H!="function")return{default:H};var z=i();if(z&&z.has(H))return z.get(H);var _e={},ae=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ge in H)if(Object.prototype.hasOwnProperty.call(H,ge)){var Be=ae?Object.getOwnPropertyDescriptor(H,ge):null;Be&&(Be.get||Be.set)?Object.defineProperty(_e,ge,Be):_e[ge]=H[ge]}return _e.default=H,z&&z.set(H,_e),_e}function u(H){return H&&H.__esModule?H:{default:H}}function f(H){return _(H)||g(H)||h(H)||d()}function d(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h(H,z){if(H){if(typeof H=="string")return p(H,z);var _e=Object.prototype.toString.call(H).slice(8,-1);if(_e==="Object"&&H.constructor&&(_e=H.constructor.name),_e==="Map"||_e==="Set")return Array.from(H);if(_e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_e))return p(H,z)}}function g(H){if(typeof Symbol<"u"&&Symbol.iterator in Object(H))return Array.from(H)}function _(H){if(Array.isArray(H))return p(H)}function p(H,z){(z==null||z>H.length)&&(z=H.length);for(var _e=0,ae=new Array(z);_e<z;_e++)ae[_e]=H[_e];return ae}function y(H){var z=H.slice(0,2),_e=parseInt(H.slice(2,4),10);_e>40?(_e-=40,z="20".concat(z)):_e>20?(_e-=20,z="18".concat(z)):z="19".concat(z),_e<10&&(_e="0".concat(_e));var ae="".concat(z,"/").concat(_e,"/").concat(H.slice(4,6));if(!(0,a.default)(ae,"YYYY/MM/DD"))return!1;for(var ge=H.split("").map(function(ye){return parseInt(ye,10)}),Be=[2,4,8,5,10,9,7,3,6],Ke=0,He=0;He<Be.length;He++)Ke+=ge[He]*Be[He];return Ke=Ke%11===10?0:Ke%11,Ke===ge[9]}function O(H){var z=H.split(""),_e=z.filter(function(ge,Be){return Be%2}).map(function(ge){return Number(ge)*2}).join("").split(""),ae=z.filter(function(ge,Be){return!(Be%2)}).concat(_e).map(function(ge){return Number(ge)}).reduce(function(ge,Be){return ge+Be});return ae%10===0}function P(H){H=H.replace(/\W/,"");var z=parseInt(H.slice(0,2),10);if(H.length===10)z<54?z="20".concat(z):z="19".concat(z);else{if(H.slice(6)==="000")return!1;if(z<54)z="19".concat(z);else return!1}z.length===3&&(z=[z.slice(0,2),"0",z.slice(2)].join(""));var _e=parseInt(H.slice(2,4),10);if(_e>50&&(_e-=50),_e>20){if(parseInt(z,10)<2004)return!1;_e-=20}_e<10&&(_e="0".concat(_e));var ae="".concat(z,"/").concat(_e,"/").concat(H.slice(4,6));if(!(0,a.default)(ae,"YYYY/MM/DD"))return!1;if(H.length===10&&parseInt(H,10)%11!==0){var ge=parseInt(H.slice(0,9),10)%11;if(parseInt(z,10)<1986&&ge===10){if(parseInt(H.slice(9),10)!==0)return!1}else return!1}return!0}function C(H){return n.luhnCheck(H)}function A(H){for(var z=H.split("").map(function(ye){return parseInt(ye,10)}),_e=[],ae=0;ae<z.length-1;ae++){_e.push("");for(var ge=0;ge<z.length-1;ge++)z[ae]===z[ge]&&(_e[ae]+=ge)}if(_e=_e.filter(function(ye){return ye.length>1}),_e.length!==2&&_e.length!==3)return!1;if(_e[0].length===3){for(var Be=_e[0].split("").map(function(ye){return parseInt(ye,10)}),Ke=0,He=0;He<Be.length-1;He++)Be[He]+1===Be[He+1]&&(Ke+=1);if(Ke===2)return!1}return n.iso7064Check(H)}function S(H){H=H.replace(/\W/,"");var z=parseInt(H.slice(4,6),10),_e=H.slice(6,7);switch(_e){case"0":case"1":case"2":case"3":z="19".concat(z);break;case"4":case"9":z<37?z="20".concat(z):z="19".concat(z);break;default:if(z<37)z="20".concat(z);else if(z>58)z="18".concat(z);else return!1;break}z.length===3&&(z=[z.slice(0,2),"0",z.slice(2)].join(""));var ae="".concat(z,"/").concat(H.slice(2,4),"/").concat(H.slice(0,2));if(!(0,a.default)(ae,"YYYY/MM/DD"))return!1;for(var ge=H.split("").map(function(ye){return parseInt(ye,10)}),Be=0,Ke=4,He=0;He<9;He++)Be+=ge[He]*Ke,Ke-=1,Ke===1&&(Ke=7);return Be%=11,Be===1?!1:Be===0?ge[9]===0:ge[9]===11-Be}function T(H){for(var z=H.slice(0,8).split("").map(function(Be){return parseInt(Be,10)}),_e=0,ae=1;ae<z.length;ae+=2)_e+=z[ae];for(var ge=0;ge<z.length;ge+=2)z[ge]<2?_e+=1-z[ge]:(_e+=2*(z[ge]-2)+5,z[ge]>4&&(_e+=2));return String.fromCharCode(_e%26+65)===H.charAt(8)}function s(H){for(var z=H.split("").map(function(ge){return parseInt(ge,10)}),_e=0,ae=0;ae<8;ae++)_e+=z[ae]*Math.pow(2,8-ae);return _e%11%10===z[8]}function v(H){var z=n.reverseMultiplyAndSum(H.split("").slice(0,7).map(function(_e){return parseInt(_e,10)}),8);return H.length===9&&H[8]!=="W"&&(z+=(H[8].charCodeAt(0)-64)*9),z%=23,z===0?H[7].toUpperCase()==="W":H[7].toUpperCase()===String.fromCharCode(64+z)}var m={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]};function E(){var H=[];for(var z in m)m.hasOwnProperty(z)&&H.push.apply(H,f(m[z]));return H}function I(H){return E().indexOf(H.slice(0,2))!==-1}function L(H){var z=H.toUpperCase().split("");if(isNaN(parseInt(z[0],10))&&z.length>1){var _e=0;switch(z[0]){case"Y":_e=1;break;case"Z":_e=2;break;default:}z.splice(0,1,_e)}else for(;z.length<9;)z.unshift(0);var ae=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"];z=z.join("");var ge=parseInt(z.slice(0,8),10)%23;return z[8]===ae[ge]}function W(H){var z=H.slice(1,3),_e=H.slice(0,1);switch(_e){case"1":case"2":z="18".concat(z);break;case"3":case"4":z="19".concat(z);break;default:z="20".concat(z);break}var ae="".concat(z,"/").concat(H.slice(3,5),"/").concat(H.slice(5,7));if(!(0,a.default)(ae,"YYYY/MM/DD"))return!1;for(var ge=H.split("").map(function(Le){return parseInt(Le,10)}),Be=0,Ke=1,He=0;He<10;He++)Be+=ge[He]*Ke,Ke+=1,Ke===10&&(Ke=1);if(Be%11===10){Be=0,Ke=3;for(var ye=0;ye<10;ye++)Be+=ge[ye]*Ke,Ke+=1,Ke===10&&(Ke=1);if(Be%11===10)return ge[10]===0}return Be%11===ge[10]}function F(H){var z=H.slice(4,6),_e=H.slice(6,7);switch(_e){case"+":z="18".concat(z);break;case"-":z="19".concat(z);break;default:z="20".concat(z);break}var ae="".concat(z,"/").concat(H.slice(2,4),"/").concat(H.slice(0,2));if(!(0,a.default)(ae,"YYYY/MM/DD"))return!1;var ge=parseInt(H.slice(0,6)+H.slice(7,10),10)%31;if(ge<10)return ge===parseInt(H.slice(10),10);ge-=10;var Be=["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"];return Be[ge]===H.slice(10)}function G(H){if(H.slice(2,4)!=="00"||H.slice(4,6)!=="00"){var z="".concat(H.slice(0,2),"/").concat(H.slice(2,4),"/").concat(H.slice(4,6));if(!(0,a.default)(z,"YY/MM/DD"))return!1}var _e=97-parseInt(H.slice(0,9),10)%97,ae=parseInt(H.slice(9,11),10);return!(_e!==ae&&(_e=97-parseInt("2".concat(H.slice(0,9)),10)%97,_e!==ae))}function k(H){H=H.replace(/\s/g,"");var z=parseInt(H.slice(0,10),10)%511,_e=parseInt(H.slice(10,13),10);return z===_e}function x(H){var z="".concat(H.slice(0,4),"/").concat(H.slice(4,6),"/").concat(H.slice(6,8));return!(0,a.default)(z,"YYYY/MM/DD")||!n.luhnCheck(H.slice(0,12))?!1:n.verhoeffCheck("".concat(H.slice(0,11)).concat(H[12]))}function M(H){return n.iso7064Check(H)}function B(H){for(var z=H.split("").map(function(ge){return parseInt(ge,10)}),_e=8,ae=1;ae<9;ae++)_e+=z[ae]*(ae+1);return _e%11===z[9]}function R(H){for(var z=!1,_e=!1,ae=0;ae<3;ae++)if(!z&&/[AEIOU]/.test(H[ae]))z=!0;else if(!_e&&z&&H[ae]==="X")_e=!0;else if(ae>0&&(z&&!_e&&!/[AEIOU]/.test(H[ae])||_e&&!/X/.test(H[ae])))return!1;return!0}function U(H){var z=H.toUpperCase().split("");if(!R(z.slice(0,3))||!R(z.slice(3,6)))return!1;for(var _e=[6,7,9,10,12,13,14],ae={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},ge=0,Be=_e;ge<Be.length;ge++){var Ke=Be[ge];z[Ke]in ae&&z.splice(Ke,1,ae[z[Ke]])}var He={A:"01",B:"02",C:"03",D:"04",E:"05",H:"06",L:"07",M:"08",P:"09",R:"10",S:"11",T:"12"},ye=He[z[8]],Le=parseInt(z[9]+z[10],10);Le>40&&(Le-=40),Le<10&&(Le="0".concat(Le));var Ue="".concat(z[6]).concat(z[7],"/").concat(ye,"/").concat(Le);if(!(0,a.default)(Ue,"YY/MM/DD"))return!1;for(var Xe=0,Fe=1;Fe<z.length-1;Fe+=2){var ht=parseInt(z[Fe],10);isNaN(ht)&&(ht=z[Fe].charCodeAt(0)-65),Xe+=ht}for(var Ne={A:1,B:0,C:5,D:7,E:9,F:13,G:15,H:17,I:19,J:21,K:2,L:4,M:18,N:20,O:11,P:3,Q:6,R:8,S:12,T:14,U:16,V:10,W:22,X:25,Y:24,Z:23,0:1,1:0},Ce=0;Ce<z.length-1;Ce+=2){var we=0;if(z[Ce]in Ne)we=Ne[z[Ce]];else{var $e=parseInt(z[Ce],10);we=2*$e+1,$e>4&&(we+=2)}Xe+=we}return String.fromCharCode(65+Xe%26)===z[15]}function j(H){H=H.replace(/\W/,"");var z=H.slice(0,2);if(z!=="32"){var _e=H.slice(2,4);if(_e!=="00"){var ae=H.slice(4,6);switch(H[6]){case"0":ae="18".concat(ae);break;case"1":ae="19".concat(ae);break;default:ae="20".concat(ae);break}var ge="".concat(ae,"/").concat(H.slice(2,4),"/").concat(z);if(!(0,a.default)(ge,"YYYY/MM/DD"))return!1}for(var Be=1101,Ke=[1,6,3,7,9,10,5,8,4,2],He=0;He<H.length-1;He++)Be-=parseInt(H[He],10)*Ke[He];return parseInt(H[10],10)===Be%11}return!0}function $(H){if(H.length!==9){for(var z=H.toUpperCase().split("");z.length<8;)z.unshift(0);switch(H[7]){case"A":case"P":if(parseInt(z[6],10)===0)return!1;break;default:{var _e=parseInt(z.join("").slice(0,5),10);if(_e>32e3)return!1;var ae=parseInt(z.join("").slice(5,7),10);if(_e===ae)return!1}}}return!0}function ee(H){return n.reverseMultiplyAndSum(H.split("").slice(0,8).map(function(z){return parseInt(z,10)}),9)%11===parseInt(H[8],10)}function te(H){if(H.length===10){for(var z=[6,5,7,2,3,4,5,6,7],_e=0,ae=0;ae<z.length;ae++)_e+=parseInt(H[ae],10)*z[ae];return _e%=11,_e===10?!1:_e===parseInt(H[9],10)}var ge=H.slice(0,2),Be=parseInt(H.slice(2,4),10);Be>80?(ge="18".concat(ge),Be-=80):Be>60?(ge="22".concat(ge),Be-=60):Be>40?(ge="21".concat(ge),Be-=40):Be>20?(ge="20".concat(ge),Be-=20):ge="19".concat(ge),Be<10&&(Be="0".concat(Be));var Ke="".concat(ge,"/").concat(Be,"/").concat(H.slice(4,6));if(!(0,a.default)(Ke,"YYYY/MM/DD"))return!1;for(var He=0,ye=1,Le=0;Le<H.length-1;Le++)He+=parseInt(H[Le],10)*ye%10,ye+=2,ye>10?ye=1:ye===5&&(ye+=2);return He=10-He%10,He===parseInt(H[10],10)}function ie(H){if(H.length===11){var z,_e;if(z=0,H==="11111111111"||H==="22222222222"||H==="33333333333"||H==="44444444444"||H==="55555555555"||H==="66666666666"||H==="77777777777"||H==="88888888888"||H==="99999999999"||H==="00000000000")return!1;for(var ae=1;ae<=9;ae++)z+=parseInt(H.substring(ae-1,ae),10)*(11-ae);if(_e=z*10%11,_e===10&&(_e=0),_e!==parseInt(H.substring(9,10),10))return!1;z=0;for(var ge=1;ge<=10;ge++)z+=parseInt(H.substring(ge-1,ge),10)*(12-ge);return _e=z*10%11,_e===10&&(_e=0),_e===parseInt(H.substring(10,11),10)}if(H==="00000000000000"||H==="11111111111111"||H==="22222222222222"||H==="33333333333333"||H==="44444444444444"||H==="55555555555555"||H==="66666666666666"||H==="77777777777777"||H==="88888888888888"||H==="99999999999999")return!1;for(var Be=H.length-2,Ke=H.substring(0,Be),He=H.substring(Be),ye=0,Le=Be-7,Ue=Be;Ue>=1;Ue--)ye+=Ke.charAt(Be-Ue)*Le,Le-=1,Le<2&&(Le=9);var Xe=ye%11<2?0:11-ye%11;if(Xe!==parseInt(He.charAt(0),10))return!1;Be+=1,Ke=H.substring(0,Be),ye=0,Le=Be-7;for(var Fe=Be;Fe>=1;Fe--)ye+=Ke.charAt(Be-Fe)*Le,Le-=1,Le<2&&(Le=9);return Xe=ye%11<2?0:11-ye%11,Xe===parseInt(He.charAt(1),10)}function ne(H){var z=11-n.reverseMultiplyAndSum(H.split("").slice(0,8).map(function(_e){return parseInt(_e,10)}),9)%11;return z>9?parseInt(H[8],10)===0:z===parseInt(H[8],10)}function pe(H){if(H.slice(0,4)!=="9000"){var z=H.slice(1,3);switch(H[0]){case"1":case"2":z="19".concat(z);break;case"3":case"4":z="18".concat(z);break;case"5":case"6":z="20".concat(z);break;default:}var _e="".concat(z,"/").concat(H.slice(3,5),"/").concat(H.slice(5,7));if(_e.length===8){if(!(0,a.default)(_e,"YY/MM/DD"))return!1}else if(!(0,a.default)(_e,"YYYY/MM/DD"))return!1;for(var ae=H.split("").map(function(He){return parseInt(He,10)}),ge=[2,7,9,1,4,6,3,5,8,2,7,9],Be=0,Ke=0;Ke<ge.length;Ke++)Be+=ae[Ke]*ge[Ke];return Be%11===10?ae[12]===1:ae[12]===Be%11}return!0}function oe(H){if(H.length===9){if(H=H.replace(/\W/,""),H.slice(6)==="000")return!1;var z=parseInt(H.slice(0,2),10);if(z>53)return!1;z<10?z="190".concat(z):z="19".concat(z);var _e=parseInt(H.slice(2,4),10);_e>50&&(_e-=50),_e<10&&(_e="0".concat(_e));var ae="".concat(z,"/").concat(_e,"/").concat(H.slice(4,6));if(!(0,a.default)(ae,"YYYY/MM/DD"))return!1}return!0}function q(H){var z=11-n.reverseMultiplyAndSum(H.split("").slice(0,7).map(function(_e){return parseInt(_e,10)}),8)%11;return z===10?parseInt(H[7],10)===0:z===parseInt(H[7],10)}function J(H){var z=H.slice(0);H.length>11&&(z=z.slice(2));var _e="",ae=z.slice(2,4),ge=parseInt(z.slice(4,6),10);if(H.length>11)_e=H.slice(0,4);else if(_e=H.slice(0,2),H.length===11&&ge<60){var Be=new Date().getFullYear().toString(),Ke=parseInt(Be.slice(0,2),10);if(Be=parseInt(Be,10),H[6]==="-")parseInt("".concat(Ke).concat(_e),10)>Be?_e="".concat(Ke-1).concat(_e):_e="".concat(Ke).concat(_e);else if(_e="".concat(Ke-1).concat(_e),Be-parseInt(_e,10)<100)return!1}ge>60&&(ge-=60),ge<10&&(ge="0".concat(ge));var He="".concat(_e,"/").concat(ae,"/").concat(ge);if(He.length===8){if(!(0,a.default)(He,"YY/MM/DD"))return!1}else if(!(0,a.default)(He,"YYYY/MM/DD"))return!1;return n.luhnCheck(H.replace(/\W/,""))}var me={"bg-BG":/^\d{10}$/,"cs-CZ":/^\d{6}\/{0,1}\d{3,4}$/,"de-AT":/^\d{9}$/,"de-DE":/^[1-9]\d{10}$/,"dk-DK":/^\d{6}-{0,1}\d{4}$/,"el-CY":/^[09]\d{7}[A-Z]$/,"el-GR":/^([0-4]|[7-9])\d{8}$/,"en-CA":/^\d{9}$/,"en-GB":/^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i,"en-IE":/^\d{7}[A-W][A-IW]{0,1}$/i,"en-US":/^\d{2}[- ]{0,1}\d{7}$/,"es-ES":/^(\d{0,8}|[XYZKLM]\d{7})[A-HJ-NP-TV-Z]$/i,"et-EE":/^[1-6]\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\d$/,"fi-FI":/^\d{6}[-+A]\d{3}[0-9A-FHJ-NPR-Y]$/i,"fr-BE":/^\d{11}$/,"fr-FR":/^[0-3]\d{12}$|^[0-3]\d\s\d{2}(\s\d{3}){3}$/,"fr-LU":/^\d{13}$/,"hr-HR":/^\d{11}$/,"hu-HU":/^8\d{9}$/,"it-IT":/^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,"lv-LV":/^\d{6}-{0,1}\d{5}$/,"mt-MT":/^\d{3,7}[APMGLHBZ]$|^([1-8])\1\d{7}$/i,"nl-NL":/^\d{9}$/,"pl-PL":/^\d{10,11}$/,"pt-BR":/(?:^\d{11}$)|(?:^\d{14}$)/,"pt-PT":/^\d{9}$/,"ro-RO":/^\d{13}$/,"sk-SK":/^\d{6}\/{0,1}\d{3,4}$/,"sl-SI":/^[1-9]\d{7}$/,"sv-SE":/^(\d{6}[-+]{0,1}\d{4}|(18|19|20)\d{6}[-+]{0,1}\d{4})$/};me["lb-LU"]=me["fr-LU"],me["lt-LT"]=me["et-EE"],me["nl-BE"]=me["fr-BE"],me["fr-CA"]=me["en-CA"];var re={"bg-BG":y,"cs-CZ":P,"de-AT":C,"de-DE":A,"dk-DK":S,"el-CY":T,"el-GR":s,"en-CA":O,"en-IE":v,"en-US":I,"es-ES":L,"et-EE":W,"fi-FI":F,"fr-BE":G,"fr-FR":k,"fr-LU":x,"hr-HR":M,"hu-HU":B,"it-IT":U,"lv-LV":j,"mt-MT":$,"nl-NL":ee,"pl-PL":te,"pt-BR":ie,"pt-PT":ne,"ro-RO":pe,"sk-SK":oe,"sl-SI":q,"sv-SE":J};re["lb-LU"]=re["fr-LU"],re["lt-LT"]=re["et-EE"],re["nl-BE"]=re["fr-BE"],re["fr-CA"]=re["en-CA"];var he=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,Ee={"de-AT":he,"de-DE":/[\/\\]/g,"fr-BE":he};Ee["nl-BE"]=Ee["fr-BE"];function fe(H){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"en-US";(0,o.default)(H);var _e=H.slice(0);if(z in me)return z in Ee&&(_e=_e.replace(Ee[z],"")),me[z].test(_e)?z in re?re[z](_e):!0:!1;throw new Error("Invalid locale '".concat(z,"'"))}b.exports=l.default,b.exports.default=l.default},857515:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=o(e(375168));function o(c){return c&&c.__esModule?c:{default:c}}var n={hourFormat:"hour24",mode:"default"},a={hour24:{default:/^([01]?[0-9]|2[0-3]):([0-5][0-9])$/,withSeconds:/^([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/},hour12:{default:/^(0?[1-9]|1[0-2]):([0-5][0-9]) (A|P)M$/,withSeconds:/^(0?[1-9]|1[0-2]):([0-5][0-9]):([0-5][0-9]) (A|P)M$/}};function i(c,u){return u=(0,r.default)(u,n),typeof c!="string"?!1:a[u.hourFormat][u.mode].test(c)}b.exports=l.default,b.exports.default=l.default},892867:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=P;var r=i(e(209311)),o=i(e(254219)),n=i(e(36424)),a=i(e(375168));function i(C){return C&&C.__esModule?C:{default:C}}function c(C,A){return g(C)||h(C,A)||f(C,A)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(C,A){if(C){if(typeof C=="string")return d(C,A);var S=Object.prototype.toString.call(C).slice(8,-1);if(S==="Object"&&C.constructor&&(S=C.constructor.name),S==="Map"||S==="Set")return Array.from(C);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return d(C,A)}}function d(C,A){(A==null||A>C.length)&&(A=C.length);for(var S=0,T=new Array(A);S<A;S++)T[S]=C[S];return T}function h(C,A){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(C)))){var S=[],T=!0,s=!1,v=void 0;try{for(var m=C[Symbol.iterator](),E;!(T=(E=m.next()).done)&&(S.push(E.value),!(A&&S.length===A));T=!0);}catch(I){s=!0,v=I}finally{try{!T&&m.return!=null&&m.return()}finally{if(s)throw v}}return S}}function g(C){if(Array.isArray(C))return C}var _={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},p=/^\[([^\]]+)\](?::([0-9]+))?$/;function y(C){return Object.prototype.toString.call(C)==="[object RegExp]"}function O(C,A){for(var S=0;S<A.length;S++){var T=A[S];if(C===T||y(T)&&T.test(C))return!0}return!1}function P(C,A){if((0,r.default)(C),!C||/[\s<>]/.test(C)||C.indexOf("mailto:")===0||(A=(0,a.default)(A,_),A.validate_length&&C.length>=2083)||!A.allow_fragments&&C.includes("#")||!A.allow_query_components&&(C.includes("?")||C.includes("&")))return!1;var S,T,s,v,m,E,I,L;if(I=C.split("#"),C=I.shift(),I=C.split("?"),C=I.shift(),I=C.split("://"),I.length>1){if(S=I.shift().toLowerCase(),A.require_valid_protocol&&A.protocols.indexOf(S)===-1)return!1}else{if(A.require_protocol)return!1;if(C.slice(0,2)==="//"){if(!A.allow_protocol_relative_urls)return!1;I[0]=C.slice(2)}}if(C=I.join("://"),C==="")return!1;if(I=C.split("/"),C=I.shift(),C===""&&!A.require_host)return!0;if(I=C.split("@"),I.length>1){if(A.disallow_auth||I[0]===""||(T=I.shift(),T.indexOf(":")>=0&&T.split(":").length>2))return!1;var W=T.split(":"),F=c(W,2),G=F[0],k=F[1];if(G===""&&k==="")return!1}v=I.join("@"),E=null,L=null;var x=v.match(p);if(x?(s="",L=x[1],E=x[2]||null):(I=v.split(":"),s=I.shift(),I.length&&(E=I.join(":"))),E!==null&&E.length>0){if(m=parseInt(E,10),!/^[0-9]+$/.test(E)||m<=0||m>65535)return!1}else if(A.require_port)return!1;return A.host_whitelist?O(s,A.host_whitelist):s===""&&!A.require_host?!0:!(!(0,n.default)(s)&&!(0,o.default)(s,A)&&(!L||!(0,n.default)(L,6))||(s=s||L,A.host_blacklist&&O(s,A.host_blacklist)))}b.exports=l.default,b.exports.default=l.default},402729:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(209311));function o(i){return i&&i.__esModule?i:{default:i}}var n={1:/^[0-9A-F]{8}-[0-9A-F]{4}-1[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,2:/^[0-9A-F]{8}-[0-9A-F]{4}-2[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};function a(i,c){(0,r.default)(i);var u=n[[void 0,null].includes(c)?"all":c];return!!u&&u.test(i)}b.exports=l.default,b.exports.default=l.default},895717:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a),a===a.toUpperCase()}b.exports=l.default,b.exports.default=l.default},463463:function(b,l,e){"use strict";function r(g){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(p){return typeof p}:r=function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},r(g)}Object.defineProperty(l,"__esModule",{value:!0}),l.default=h,l.vatMatchers=void 0;var o=c(e(209311)),n=i(e(325784));function a(){if(typeof WeakMap!="function")return null;var g=new WeakMap;return a=function(){return g},g}function i(g){if(g&&g.__esModule)return g;if(g===null||r(g)!=="object"&&typeof g!="function")return{default:g};var _=a();if(_&&_.has(g))return _.get(g);var p={},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in g)if(Object.prototype.hasOwnProperty.call(g,O)){var P=y?Object.getOwnPropertyDescriptor(g,O):null;P&&(P.get||P.set)?Object.defineProperty(p,O,P):p[O]=g[O]}return p.default=g,_&&_.set(g,p),p}function c(g){return g&&g.__esModule?g:{default:g}}var u=function(_){var p=function(O){var P=O.pop(),C=[5,4,3,2,7,6,5,4],A=(11-O.reduce(function(S,T,s){return S+T*C[s]},0)%11)%11;return P===A};return/^(CHE[- ]?)?(\d{9}|(\d{3}\.\d{3}\.\d{3})|(\d{3} \d{3} \d{3})) ?(TVA|MWST|IVA)?$/.test(_)&&p(_.match(/\d/g).map(function(y){return+y}))},f=function(_){var p=_.match(/^(PT)?(\d{9})$/);if(!p)return!1;var y=p[2],O=11-n.reverseMultiplyAndSum(y.split("").slice(0,8).map(function(P){return parseInt(P,10)}),9)%11;return O>9?parseInt(y[8],10)===0:O===parseInt(y[8],10)},d={AT:function(_){return/^(AT)?U\d{8}$/.test(_)},BE:function(_){return/^(BE)?\d{10}$/.test(_)},BG:function(_){return/^(BG)?\d{9,10}$/.test(_)},HR:function(_){return/^(HR)?\d{11}$/.test(_)},CY:function(_){return/^(CY)?\w{9}$/.test(_)},CZ:function(_){return/^(CZ)?\d{8,10}$/.test(_)},DK:function(_){return/^(DK)?\d{8}$/.test(_)},EE:function(_){return/^(EE)?\d{9}$/.test(_)},FI:function(_){return/^(FI)?\d{8}$/.test(_)},FR:function(_){return/^(FR)?\w{2}\d{9}$/.test(_)},DE:function(_){return/^(DE)?\d{9}$/.test(_)},EL:function(_){return/^(EL)?\d{9}$/.test(_)},HU:function(_){return/^(HU)?\d{8}$/.test(_)},IE:function(_){return/^(IE)?\d{7}\w{1}(W)?$/.test(_)},IT:function(_){return/^(IT)?\d{11}$/.test(_)},LV:function(_){return/^(LV)?\d{11}$/.test(_)},LT:function(_){return/^(LT)?\d{9,12}$/.test(_)},LU:function(_){return/^(LU)?\d{8}$/.test(_)},MT:function(_){return/^(MT)?\d{8}$/.test(_)},NL:function(_){return/^(NL)?\d{9}B\d{2}$/.test(_)},PL:function(_){return/^(PL)?(\d{10}|(\d{3}-\d{3}-\d{2}-\d{2})|(\d{3}-\d{2}-\d{2}-\d{3}))$/.test(_)},PT:f,RO:function(_){return/^(RO)?\d{2,10}$/.test(_)},SK:function(_){return/^(SK)?\d{10}$/.test(_)},SI:function(_){return/^(SI)?\d{8}$/.test(_)},ES:function(_){return/^(ES)?\w\d{7}[A-Z]$/.test(_)},SE:function(_){return/^(SE)?\d{12}$/.test(_)},AL:function(_){return/^(AL)?\w{9}[A-Z]$/.test(_)},MK:function(_){return/^(MK)?\d{13}$/.test(_)},AU:function(_){return/^(AU)?\d{11}$/.test(_)},BY:function(_){return/^(УНП )?\d{9}$/.test(_)},CA:function(_){return/^(CA)?\d{9}$/.test(_)},IS:function(_){return/^(IS)?\d{5,6}$/.test(_)},IN:function(_){return/^(IN)?\d{15}$/.test(_)},ID:function(_){return/^(ID)?(\d{15}|(\d{2}.\d{3}.\d{3}.\d{1}-\d{3}.\d{3}))$/.test(_)},IL:function(_){return/^(IL)?\d{9}$/.test(_)},KZ:function(_){return/^(KZ)?\d{9}$/.test(_)},NZ:function(_){return/^(NZ)?\d{9}$/.test(_)},NG:function(_){return/^(NG)?(\d{12}|(\d{8}-\d{4}))$/.test(_)},NO:function(_){return/^(NO)?\d{9}MVA$/.test(_)},PH:function(_){return/^(PH)?(\d{12}|\d{3} \d{3} \d{3} \d{3})$/.test(_)},RU:function(_){return/^(RU)?(\d{10}|\d{12})$/.test(_)},SM:function(_){return/^(SM)?\d{5}$/.test(_)},SA:function(_){return/^(SA)?\d{15}$/.test(_)},RS:function(_){return/^(RS)?\d{9}$/.test(_)},CH:u,TR:function(_){return/^(TR)?\d{10}$/.test(_)},UA:function(_){return/^(UA)?\d{12}$/.test(_)},GB:function(_){return/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/.test(_)},UZ:function(_){return/^(UZ)?\d{9}$/.test(_)},AR:function(_){return/^(AR)?\d{11}$/.test(_)},BO:function(_){return/^(BO)?\d{7}$/.test(_)},BR:function(_){return/^(BR)?((\d{2}.\d{3}.\d{3}\/\d{4}-\d{2})|(\d{3}.\d{3}.\d{3}-\d{2}))$/.test(_)},CL:function(_){return/^(CL)?\d{8}-\d{1}$/.test(_)},CO:function(_){return/^(CO)?\d{10}$/.test(_)},CR:function(_){return/^(CR)?\d{9,12}$/.test(_)},EC:function(_){return/^(EC)?\d{13}$/.test(_)},SV:function(_){return/^(SV)?\d{4}-\d{6}-\d{3}-\d{1}$/.test(_)},GT:function(_){return/^(GT)?\d{7}-\d{1}$/.test(_)},HN:function(_){return/^(HN)?$/.test(_)},MX:function(_){return/^(MX)?\w{3,4}\d{6}\w{3}$/.test(_)},NI:function(_){return/^(NI)?\d{3}-\d{6}-\d{4}\w{1}$/.test(_)},PA:function(_){return/^(PA)?$/.test(_)},PY:function(_){return/^(PY)?\d{6,8}-\d{1}$/.test(_)},PE:function(_){return/^(PE)?\d{11}$/.test(_)},DO:function(_){return/^(DO)?(\d{11}|(\d{3}-\d{7}-\d{1})|[1,4,5]{1}\d{8}|([1,4,5]{1})-\d{2}-\d{5}-\d{1})$/.test(_)},UY:function(_){return/^(UY)?\d{12}$/.test(_)},VE:function(_){return/^(VE)?[J,G,V,E]{1}-(\d{9}|(\d{8}-\d{1}))$/.test(_)}};l.vatMatchers=d;function h(g,_){if((0,o.default)(g),(0,o.default)(_),_ in d)return d[_](g);throw new Error("Invalid country code: '".concat(_,"'"))}},91853:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=a(e(209311)),o=e(108066),n=e(523689);function a(c){return c&&c.__esModule?c:{default:c}}function i(c){return(0,r.default)(c),o.fullWidth.test(c)&&n.halfWidth.test(c)}b.exports=l.default,b.exports.default=l.default},883567:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){(0,r.default)(a);for(var c=a.length-1;c>=0;c--)if(i.indexOf(a[c])===-1)return!1;return!0}b.exports=l.default,b.exports.default=l.default},69632:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){(0,r.default)(a);var c=i?new RegExp("^[".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return a.replace(c,"")}b.exports=l.default,b.exports.default=l.default},337266:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i,c){return(0,r.default)(a),Object.prototype.toString.call(i)!=="[object RegExp]"&&(i=new RegExp(i,c)),!!a.match(i)}b.exports=l.default,b.exports.default=l.default},763499:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=d;var r=o(e(375168));function o(h){return h&&h.__esModule?h:{default:h}}var n={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},a=["icloud.com","me.com"],i=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],c=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],u=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function f(h){return h.length>1?h:""}function d(h,g){g=(0,r.default)(g,n);var _=h.split("@"),p=_.pop(),y=_.join("@"),O=[y,p];if(O[1]=O[1].toLowerCase(),O[1]==="gmail.com"||O[1]==="googlemail.com"){if(g.gmail_remove_subaddress&&(O[0]=O[0].split("+")[0]),g.gmail_remove_dots&&(O[0]=O[0].replace(/\.+/g,f)),!O[0].length)return!1;(g.all_lowercase||g.gmail_lowercase)&&(O[0]=O[0].toLowerCase()),O[1]=g.gmail_convert_googlemaildotcom?"gmail.com":O[1]}else if(a.indexOf(O[1])>=0){if(g.icloud_remove_subaddress&&(O[0]=O[0].split("+")[0]),!O[0].length)return!1;(g.all_lowercase||g.icloud_lowercase)&&(O[0]=O[0].toLowerCase())}else if(i.indexOf(O[1])>=0){if(g.outlookdotcom_remove_subaddress&&(O[0]=O[0].split("+")[0]),!O[0].length)return!1;(g.all_lowercase||g.outlookdotcom_lowercase)&&(O[0]=O[0].toLowerCase())}else if(c.indexOf(O[1])>=0){if(g.yahoo_remove_subaddress){var P=O[0].split("-");O[0]=P.length>1?P.slice(0,-1).join("-"):P[0]}if(!O[0].length)return!1;(g.all_lowercase||g.yahoo_lowercase)&&(O[0]=O[0].toLowerCase())}else u.indexOf(O[1])>=0?((g.all_lowercase||g.yandex_lowercase)&&(O[0]=O[0].toLowerCase()),O[1]="yandex.ru"):g.all_lowercase&&(O[0]=O[0].toLowerCase());return O.join("@")}b.exports=l.default,b.exports.default=l.default},431279:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){if((0,r.default)(a),i){var c=new RegExp("[".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g");return a.replace(c,"")}for(var u=a.length-1;/\s/.test(a.charAt(u));)u-=1;return a.slice(0,u+1)}b.exports=l.default,b.exports.default=l.default},202127:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=n(e(209311)),o=n(e(927294));function n(i){return i&&i.__esModule?i:{default:i}}function a(i,c){(0,r.default)(i);var u=c?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,o.default)(i,u)}b.exports=l.default,b.exports.default=l.default},254979:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){return(0,r.default)(a),i?a==="1"||/^true$/i.test(a):a!=="0"&&!/^false$/i.test(a)&&a!==""}b.exports=l.default,b.exports.default=l.default},541674:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a),a=Date.parse(a),isNaN(a)?null:new Date(a)}b.exports=l.default,b.exports.default=l.default},219787:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(983139));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a)?parseFloat(a):NaN}b.exports=l.default,b.exports.default=l.default},64388:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){return(0,r.default)(a),parseInt(a,i||10)}b.exports=l.default,b.exports.default=l.default},357810:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=n(e(431279)),o=n(e(69632));function n(i){return i&&i.__esModule?i:{default:i}}function a(i,c){return(0,r.default)((0,o.default)(i,c),c)}b.exports=l.default,b.exports.default=l.default},924992:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a),a.replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#x2F;/g,"/").replace(/&#x5C;/g,"\\").replace(/&#96;/g,"`").replace(/&amp;/g,"&")}b.exports=l.default,b.exports.default=l.default},325784:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.iso7064Check=e,l.luhnCheck=r,l.reverseMultiplyAndSum=o,l.verhoeffCheck=n;function e(a){for(var i=10,c=0;c<a.length-1;c++)i=(parseInt(a[c],10)+i)%10===0?10*2%11:(parseInt(a[c],10)+i)%10*2%11;return i=i===1?0:11-i,i===parseInt(a[10],10)}function r(a){for(var i=0,c=!1,u=a.length-1;u>=0;u--){if(c){var f=parseInt(a[u],10)*2;f>9?i+=f.toString().split("").map(function(d){return parseInt(d,10)}).reduce(function(d,h){return d+h},0):i+=f}else i+=parseInt(a[u],10);c=!c}return i%10===0}function o(a,i){for(var c=0,u=0;u<a.length;u++)c+=a[u]*(i-u);return c}function n(a){for(var i=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],c=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],u=a.split("").reverse().join(""),f=0,d=0;d<u.length;d++)f=i[f][c[d%8][parseInt(u[d],10)]];return f===0}},209311:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=r;function e(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(a){return typeof a}:e=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},e(o)}function r(o){var n=typeof o=="string"||o instanceof String;if(!n){var a=e(o);throw o===null?a="null":a==="object"&&(a=o.constructor.name),new TypeError("Expected a string but received a ".concat(a))}}b.exports=l.default,b.exports.default=l.default},837514:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e=function(n,a){return n.some(function(i){return a===i})},r=e;l.default=r,b.exports=l.default,b.exports.default=l.default},375168:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=e;function e(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;for(var n in o)typeof r[n]>"u"&&(r[n]=o[n]);return r}b.exports=l.default,b.exports.default=l.default},764487:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=e;function e(r,o){var n=r.join("");return new RegExp(n,o)}b.exports=l.default,b.exports.default=l.default},642035:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=r;function e(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(a){return typeof a}:e=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},e(o)}function r(o){return e(o)==="object"&&o!==null?typeof o.toString=="function"?o=o.toString():o="[object Object]":(o===null||typeof o>"u"||isNaN(o)&&!o.length)&&(o=""),String(o)}b.exports=l.default,b.exports.default=l.default},337711:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(209311));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){return(0,r.default)(a),a.replace(new RegExp("[^".concat(i,"]+"),"g"),"")}b.exports=l.default,b.exports.default=l.default},137260:function(b,l,e){"use strict";function r(ro){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(Je){return typeof Je}:r=function(Je){return Je&&typeof Symbol=="function"&&Je.constructor===Symbol&&Je!==Symbol.prototype?"symbol":typeof Je},r(ro)}Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=qn(e(494907)),n=qn(e(694717)),a=qn(e(53059)),i=qn(e(362122)),c=qn(e(604398)),u=qn(e(700844)),f=qn(e(120646)),d=qn(e(51988)),h=qn(e(172152)),g=qn(e(981938)),_=qn(e(567227)),p=qn(e(222573)),y=qn(e(287933)),O=qn(e(656709)),P=qn(e(352028)),C=qn(e(936971)),A=or(e(172002)),S=or(e(317244)),T=qn(e(911457)),s=qn(e(915781)),v=qn(e(857988)),m=qn(e(563522)),E=qn(e(549246)),I=qn(e(341525)),L=qn(e(198069)),W=qn(e(877464)),F=qn(e(672075)),G=qn(e(531999)),k=qn(e(458480)),x=qn(e(31792)),M=qn(e(473925)),B=qn(e(26176)),R=or(e(189797)),U=qn(e(345525)),j=qn(e(158485)),$=qn(e(503905)),ee=qn(e(523294)),te=qn(e(997822)),ie=qn(e(240442)),ne=qn(e(481590)),pe=qn(e(168825)),oe=or(e(309176)),q=qn(e(836610)),J=qn(e(252971)),me=qn(e(238593)),re=qn(e(235092)),he=qn(e(327489)),Ee=qn(e(227912)),fe=qn(e(563772)),H=qn(e(434926)),z=qn(e(379412)),_e=qn(e(884058)),ae=qn(e(664841)),ge=qn(e(301298)),Be=qn(e(103872)),Ke=qn(e(90686)),He=qn(e(73188)),ye=qn(e(242819)),Le=qn(e(946911)),Ue=qn(e(35882)),Xe=qn(e(740476)),Fe=qn(e(861989)),ht=or(e(432234)),Ne=qn(e(743106)),Ce=qn(e(589869)),we=qn(e(46977)),$e=qn(e(971154)),Ot=qn(e(530598)),Pt=qn(e(15476)),Ie=qn(e(715540)),Bt=qn(e(970858)),mt=qn(e(854202)),rt=qn(e(729768)),ce=qn(e(846576)),Re=qn(e(936913)),nt=qn(e(992351)),st=qn(e(937445)),vt=qn(e(79304)),ze=or(e(700597)),It=qn(e(28208)),on=qn(e(962505)),Pn=qn(e(482773)),Yn=qn(e(91444)),Ln=qn(e(15373)),bn=qn(e(17176)),ir=qn(e(171314)),Zn=qn(e(583933)),$n=qn(e(817913)),jt=qn(e(231931)),Rn=qn(e(88348)),jn=qn(e(239379)),Tn=qn(e(920023)),Nn=qn(e(265642));function cn(){if(typeof WeakMap!="function")return null;var ro=new WeakMap;return cn=function(){return ro},ro}function or(ro){if(ro&&ro.__esModule)return ro;if(ro===null||r(ro)!=="object"&&typeof ro!="function")return{default:ro};var Xt=cn();if(Xt&&Xt.has(ro))return Xt.get(ro);var Je={},At=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var xt in ro)if(Object.prototype.hasOwnProperty.call(ro,xt)){var Qt=At?Object.getOwnPropertyDescriptor(ro,xt):null;Qt&&(Qt.get||Qt.set)?Object.defineProperty(Je,xt,Qt):Je[xt]=ro[xt]}return Je.default=ro,Xt&&Xt.set(ro,Je),Je}function qn(ro){return ro&&ro.__esModule?ro:{default:ro}}var Hr="13.7.0",fo={version:Hr,toDate:o.default,toFloat:n.default,toInt:a.default,toBoolean:i.default,equals:c.default,contains:u.default,matches:f.default,isEmail:d.default,isURL:h.default,isMACAddress:g.default,isIP:_.default,isIPRange:p.default,isFQDN:y.default,isBoolean:P.default,isIBAN:oe.default,isBIC:q.default,isAlpha:A.default,isAlphaLocales:A.locales,isAlphanumeric:S.default,isAlphanumericLocales:S.locales,isNumeric:T.default,isPassportNumber:s.default,isPort:v.default,isLowercase:m.default,isUppercase:E.default,isAscii:L.default,isFullWidth:W.default,isHalfWidth:F.default,isVariableWidth:G.default,isMultibyte:k.default,isSemVer:x.default,isSurrogatePair:M.default,isInt:B.default,isIMEI:I.default,isFloat:R.default,isFloatLocales:R.locales,isDecimal:U.default,isHexadecimal:j.default,isOctal:$.default,isDivisibleBy:ee.default,isHexColor:te.default,isRgbColor:ie.default,isHSL:ne.default,isISRC:pe.default,isMD5:J.default,isHash:me.default,isJWT:re.default,isJSON:he.default,isEmpty:Ee.default,isLength:fe.default,isLocale:C.default,isByteLength:H.default,isUUID:z.default,isMongoId:_e.default,isAfter:ae.default,isBefore:ge.default,isIn:Be.default,isCreditCard:Ke.default,isIdentityCard:He.default,isEAN:ye.default,isISIN:Le.default,isISBN:Ue.default,isISSN:Xe.default,isMobilePhone:ht.default,isMobilePhoneLocales:ht.locales,isPostalCode:ze.default,isPostalCodeLocales:ze.locales,isEthereumAddress:Ne.default,isCurrency:Ce.default,isBtcAddress:we.default,isISO8601:$e.default,isRFC3339:Ot.default,isISO31661Alpha2:Pt.default,isISO31661Alpha3:Ie.default,isISO4217:Bt.default,isBase32:mt.default,isBase58:rt.default,isBase64:ce.default,isDataURI:Re.default,isMagnetURI:nt.default,isMimeType:st.default,isLatLong:vt.default,ltrim:It.default,rtrim:on.default,trim:Pn.default,escape:Yn.default,unescape:Ln.default,stripLow:bn.default,whitelist:ir.default,blacklist:Zn.default,isWhitelisted:$n.default,normalizeEmail:jt.default,toString,isSlug:Rn.default,isStrongPassword:Tn.default,isTaxID:Fe.default,isDate:O.default,isLicensePlate:jn.default,isVAT:Nn.default,ibanLocales:oe.locales},Jr=fo;l.default=Jr,b.exports=l.default,b.exports.default=l.default},205329:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.commaDecimal=l.dotDecimal=l.farsiLocales=l.arabicLocales=l.englishLocales=l.decimal=l.alphanumeric=l.alpha=void 0;var e={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fi-FI":/^[A-ZÅÄÖ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,"hi-IN":/^[\u0900-\u0961]+[\u0972-\u097F]*$/i};l.alpha=e;var r={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fi-FI":/^[0-9A-ZÅÄÖ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i};l.alphanumeric=r;var o={"en-US":".",ar:"\u066B"};l.decimal=o;var n=["AU","GB","HK","IN","NZ","ZA","ZM"];l.englishLocales=n;for(var a,i=0;i<n.length;i++)a="en-".concat(n[i]),e[a]=e["en-US"],r[a]=r["en-US"],o[a]=o["en-US"];var c=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];l.arabicLocales=c;for(var u,f=0;f<c.length;f++)u="ar-".concat(c[f]),e[u]=e.ar,r[u]=r.ar,o[u]=o.ar;var d=["IR","AF"];l.farsiLocales=d;for(var h,g=0;g<d.length;g++)h="fa-".concat(d[g]),r[h]=r.fa,o[h]=o.ar;var _=["ar-EG","ar-LB","ar-LY"];l.dotDecimal=_;var p=["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","es-ES","fr-CA","fr-FR","id-ID","it-IT","ku-IQ","hi-IN","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA","vi-VN"];l.commaDecimal=p;for(var y=0;y<_.length;y++)o[_[y]]=o["en-US"];for(var O=0;O<p.length;O++)o[p[O]]=",";e["fr-CA"]=e["fr-FR"],r["fr-CA"]=r["fr-FR"],e["pt-BR"]=e["pt-PT"],r["pt-BR"]=r["pt-PT"],o["pt-BR"]=o["pt-PT"],e["pl-Pl"]=e["pl-PL"],r["pl-Pl"]=r["pl-PL"],o["pl-Pl"]=o["pl-PL"],e["fa-AF"]=e.fa},583933:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(514868));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){return(0,r.default)(a),a.replace(new RegExp("[".concat(i,"]+"),"g"),"")}b.exports=l.default,b.exports.default=l.default},700844:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=a(e(514868)),o=a(e(950847)),n=a(e(442869));function a(u){return u&&u.__esModule?u:{default:u}}var i={ignoreCase:!1,minOccurrences:1};function c(u,f,d){return(0,r.default)(u),d=(0,n.default)(d,i),d.ignoreCase?u.toLowerCase().split((0,o.default)(f).toLowerCase()).length>d.minOccurrences:u.split((0,o.default)(f)).length>d.minOccurrences}b.exports=l.default,b.exports.default=l.default},604398:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(514868));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){return(0,r.default)(a),a===i}b.exports=l.default,b.exports.default=l.default},91444:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(514868));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a),a.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")}b.exports=l.default,b.exports.default=l.default},664841:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=n(e(514868)),o=n(e(494907));function n(i){return i&&i.__esModule?i:{default:i}}function a(i){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:String(new Date);(0,r.default)(i);var u=(0,o.default)(c),f=(0,o.default)(i);return!!(f&&u&&f>u)}b.exports=l.default,b.exports.default=l.default},172002:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.locales=void 0;var r=n(e(514868)),o=e(205329);function n(c){return c&&c.__esModule?c:{default:c}}function a(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"en-US",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};(0,r.default)(c);var d=c,h=f.ignore;if(h)if(h instanceof RegExp)d=d.replace(h,"");else if(typeof h=="string")d=d.replace(new RegExp("[".concat(h.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"");else throw new Error("ignore should be instance of a String or RegExp");if(u in o.alpha)return o.alpha[u].test(d);throw new Error("Invalid locale '".concat(u,"'"))}var i=Object.keys(o.alpha);l.locales=i},317244:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.locales=void 0;var r=n(e(514868)),o=e(205329);function n(c){return c&&c.__esModule?c:{default:c}}function a(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"en-US",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};(0,r.default)(c);var d=c,h=f.ignore;if(h)if(h instanceof RegExp)d=d.replace(h,"");else if(typeof h=="string")d=d.replace(new RegExp("[".concat(h.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"");else throw new Error("ignore should be instance of a String or RegExp");if(u in o.alphanumeric)return o.alphanumeric[u].test(d);throw new Error("Invalid locale '".concat(u,"'"))}var i=Object.keys(o.alphanumeric);l.locales=i},198069:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^[\x00-\x7F]+$/;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},836610:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=n(e(514868)),o=e(15476);function n(c){return c&&c.__esModule?c:{default:c}}var a=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;function i(c){return(0,r.default)(c),o.CountryCodes.has(c.slice(4,6).toUpperCase())?a.test(c):!1}b.exports=l.default,b.exports.default=l.default},854202:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^[A-Z2-7]+=*$/;function a(i){(0,r.default)(i);var c=i.length;return!!(c%8===0&&n.test(i))}b.exports=l.default,b.exports.default=l.default},729768:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^[A-HJ-NP-Za-km-z1-9]*$/;function a(i){return(0,r.default)(i),!!n.test(i)}b.exports=l.default,b.exports.default=l.default},846576:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=u;var r=n(e(514868)),o=n(e(442869));function n(f){return f&&f.__esModule?f:{default:f}}var a=/[^A-Z0-9+\/=]/i,i=/^[A-Z0-9_\-]*$/i,c={urlSafe:!1};function u(f,d){(0,r.default)(f),d=(0,o.default)(d,c);var h=f.length;if(d.urlSafe)return i.test(f);if(h%4!==0||a.test(f))return!1;var g=f.indexOf("=");return g===-1||g===h-1||g===h-2&&f[h-1]==="="}b.exports=l.default,b.exports.default=l.default},301298:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=n(e(514868)),o=n(e(494907));function n(i){return i&&i.__esModule?i:{default:i}}function a(i){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:String(new Date);(0,r.default)(i);var u=(0,o.default)(c),f=(0,o.default)(i);return!!(f&&u&&f<u)}b.exports=l.default,b.exports.default=l.default},352028:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=o(e(514868));function o(u){return u&&u.__esModule?u:{default:u}}var n={loose:!1},a=["true","false","1","0"],i=[].concat(a,["yes","no"]);function c(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n;return(0,r.default)(u),f.loose?i.includes(u.toLowerCase()):a.includes(u)}b.exports=l.default,b.exports.default=l.default},46977:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=o(e(514868));function o(c){return c&&c.__esModule?c:{default:c}}var n=/^(bc1)[a-z0-9]{25,39}$/,a=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;function i(c){return(0,r.default)(c),c.startsWith("bc1")?n.test(c):a.test(c)}b.exports=l.default,b.exports.default=l.default},434926:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}function n(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(u){return typeof u}:n=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},n(i)}function a(i,c){(0,r.default)(i);var u,f;n(c)==="object"?(u=c.min||0,f=c.max):(u=arguments[1],f=arguments[2]);var d=encodeURI(i).split(/%..|./).length-1;return d>=u&&(typeof f>"u"||d<=f)}b.exports=l.default,b.exports.default=l.default},90686:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14}|^(81[0-9]{14,17}))$/;function a(i){(0,r.default)(i);var c=i.replace(/[- ]+/g,"");if(!n.test(c))return!1;for(var u=0,f,d,h,g=c.length-1;g>=0;g--)f=c.substring(g,g+1),d=parseInt(f,10),h?(d*=2,d>=10?u+=d%10+1:u+=d):u+=d,h=!h;return!!(u%10===0&&c)}b.exports=l.default,b.exports.default=l.default},589869:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=n(e(442869)),o=n(e(514868));function n(u){return u&&u.__esModule?u:{default:u}}function a(u){var f="\\d{".concat(u.digits_after_decimal[0],"}");u.digits_after_decimal.forEach(function(C,A){A!==0&&(f="".concat(f,"|\\d{").concat(C,"}"))});var d="(".concat(u.symbol.replace(/\W/,function(C){return"\\".concat(C)}),")").concat(u.require_symbol?"":"?"),h="-?",g="[1-9]\\d*",_="[1-9]\\d{0,2}(\\".concat(u.thousands_separator,"\\d{3})*"),p=["0",g,_],y="(".concat(p.join("|"),")?"),O="(\\".concat(u.decimal_separator,"(").concat(f,"))").concat(u.require_decimal?"":"?"),P=y+(u.allow_decimal||u.require_decimal?O:"");return u.allow_negatives&&!u.parens_for_negatives&&(u.negative_sign_after_digits?P+=h:u.negative_sign_before_digits&&(P=h+P)),u.allow_negative_sign_placeholder?P="( (?!\\-))?".concat(P):u.allow_space_after_symbol?P=" ?".concat(P):u.allow_space_after_digits&&(P+="( (?!$))?"),u.symbol_after_digits?P+=d:P=d+P,u.allow_negatives&&(u.parens_for_negatives?P="(\\(".concat(P,"\\)|").concat(P,")"):u.negative_sign_before_digits||u.negative_sign_after_digits||(P=h+P)),new RegExp("^(?!-? )(?=.*\\d)".concat(P,"$"))}var i={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};function c(u,f){return(0,o.default)(u),f=(0,r.default)(f,i),a(f).test(u)}b.exports=l.default,b.exports.default=l.default},936913:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=o(e(514868));function o(u){return u&&u.__esModule?u:{default:u}}var n=/^[a-z]+\/[a-z0-9\-\+]+$/i,a=/^[a-z\-]+=[a-z0-9\-]+$/i,i=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;function c(u){(0,r.default)(u);var f=u.split(",");if(f.length<2)return!1;var d=f.shift().trim().split(";"),h=d.shift();if(h.substr(0,5)!=="data:")return!1;var g=h.substr(5);if(g!==""&&!n.test(g))return!1;for(var _=0;_<d.length;_++)if(!(_===d.length-1&&d[_].toLowerCase()==="base64")&&!a.test(d[_]))return!1;for(var p=0;p<f.length;p++)if(!i.test(f[p]))return!1;return!0}b.exports=l.default,b.exports.default=l.default},656709:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=p;var r=o(e(442869));function o(y){return y&&y.__esModule?y:{default:y}}function n(y,O){return c(y)||i(y,O)||f(y,O)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(y,O){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(y)))){var P=[],C=!0,A=!1,S=void 0;try{for(var T=y[Symbol.iterator](),s;!(C=(s=T.next()).done)&&(P.push(s.value),!(O&&P.length===O));C=!0);}catch(v){A=!0,S=v}finally{try{!C&&T.return!=null&&T.return()}finally{if(A)throw S}}return P}}function c(y){if(Array.isArray(y))return y}function u(y,O){var P;if(typeof Symbol>"u"||y[Symbol.iterator]==null){if(Array.isArray(y)||(P=f(y))||O&&y&&typeof y.length=="number"){P&&(y=P);var C=0,A=function(){};return{s:A,n:function(){return C>=y.length?{done:!0}:{done:!1,value:y[C++]}},e:function(m){throw m},f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var S=!0,T=!1,s;return{s:function(){P=y[Symbol.iterator]()},n:function(){var m=P.next();return S=m.done,m},e:function(m){T=!0,s=m},f:function(){try{!S&&P.return!=null&&P.return()}finally{if(T)throw s}}}}function f(y,O){if(y){if(typeof y=="string")return d(y,O);var P=Object.prototype.toString.call(y).slice(8,-1);if(P==="Object"&&y.constructor&&(P=y.constructor.name),P==="Map"||P==="Set")return Array.from(y);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return d(y,O)}}function d(y,O){(O==null||O>y.length)&&(O=y.length);for(var P=0,C=new Array(O);P<O;P++)C[P]=y[P];return C}var h={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1};function g(y){return/(^(y{4}|y{2})[.\/-](m{1,2})[.\/-](d{1,2})$)|(^(m{1,2})[.\/-](d{1,2})[.\/-]((y{4}|y{2})$))|(^(d{1,2})[.\/-](m{1,2})[.\/-]((y{4}|y{2})$))/gi.test(y)}function _(y,O){for(var P=[],C=Math.min(y.length,O.length),A=0;A<C;A++)P.push([y[A],O[A]]);return P}function p(y,O){if(typeof O=="string"?O=(0,r.default)({format:O},h):O=(0,r.default)(O,h),typeof y=="string"&&g(O.format)){var P=O.delimiters.find(function(I){return O.format.indexOf(I)!==-1}),C=O.strictMode?P:O.delimiters.find(function(I){return y.indexOf(I)!==-1}),A=_(y.split(C),O.format.toLowerCase().split(P)),S={},T=u(A),s;try{for(T.s();!(s=T.n()).done;){var v=n(s.value,2),m=v[0],E=v[1];if(m.length!==E.length)return!1;S[E.charAt(0)]=m}}catch(I){T.e(I)}finally{T.f()}return new Date("".concat(S.m,"/").concat(S.d,"/").concat(S.y)).getDate()===+S.d}return O.strictMode?!1:Object.prototype.toString.call(y)==="[object Date]"&&isFinite(y)}b.exports=l.default,b.exports.default=l.default},345525:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=d;var r=i(e(442869)),o=i(e(514868)),n=i(e(487138)),a=e(205329);function i(h){return h&&h.__esModule?h:{default:h}}function c(h){var g=new RegExp("^[-+]?([0-9]+)?(\\".concat(a.decimal[h.locale],"[0-9]{").concat(h.decimal_digits,"})").concat(h.force_decimal?"":"?","$"));return g}var u={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},f=["","-","+"];function d(h,g){if((0,o.default)(h),g=(0,r.default)(g,u),g.locale in a.decimal)return!(0,n.default)(f,h.replace(/ /g,""))&&c(g).test(h);throw new Error("Invalid locale '".concat(g.locale,"'"))}b.exports=l.default,b.exports.default=l.default},523294:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=n(e(514868)),o=n(e(694717));function n(i){return i&&i.__esModule?i:{default:i}}function a(i,c){return(0,r.default)(i),(0,o.default)(i)%parseInt(c,10)===0}b.exports=l.default,b.exports.default=l.default},242819:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=f;var r=o(e(514868));function o(d){return d&&d.__esModule?d:{default:d}}var n=8,a=14,i=/^(\d{8}|\d{13}|\d{14})$/;function c(d,h){return d===n||d===a?h%2===0?3:1:h%2===0?1:3}function u(d){var h=d.slice(0,-1).split("").map(function(_,p){return Number(_)*c(d.length,p)}).reduce(function(_,p){return _+p},0),g=10-h%10;return g<10?g:0}function f(d){(0,r.default)(d);var h=Number(d.slice(-1));return i.test(d)&&h===u(d)}b.exports=l.default,b.exports.default=l.default},51988:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=P;var r=c(e(514868)),o=c(e(442869)),n=c(e(434926)),a=c(e(287933)),i=c(e(567227));function c(C){return C&&C.__esModule?C:{default:C}}var u={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[]},f=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,h=/^[a-z\d]+$/,g=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,_=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,p=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i,y=254;function O(C){var A=C.replace(/^"(.+)"$/,"$1");if(!A.trim())return!1;var S=/[\.";<>]/.test(A);if(S){if(A===C)return!1;var T=A.split('"').length===A.split('\\"').length;if(!T)return!1}return!0}function P(C,A){if((0,r.default)(C),A=(0,o.default)(A,u),A.require_display_name||A.allow_display_name){var S=C.match(f);if(S){var T=S[1];if(C=C.replace(T,"").replace(/(^<|>$)/g,""),T.endsWith(" ")&&(T=T.substr(0,T.length-1)),!O(T))return!1}else if(A.require_display_name)return!1}if(!A.ignore_max_length&&C.length>y)return!1;var s=C.split("@"),v=s.pop(),m=v.toLowerCase();if(A.host_blacklist.includes(m))return!1;var E=s.join("@");if(A.domain_specific_validation&&(m==="gmail.com"||m==="googlemail.com")){E=E.toLowerCase();var I=E.split("+")[0];if(!(0,n.default)(I.replace(/\./g,""),{min:6,max:30}))return!1;for(var L=I.split("."),W=0;W<L.length;W++)if(!h.test(L[W]))return!1}if(A.ignore_max_length===!1&&(!(0,n.default)(E,{max:64})||!(0,n.default)(v,{max:254})))return!1;if(!(0,a.default)(v,{require_tld:A.require_tld})){if(!A.allow_ip_domain)return!1;if(!(0,i.default)(v)){if(!v.startsWith("[")||!v.endsWith("]"))return!1;var F=v.substr(1,v.length-2);if(F.length===0||!(0,i.default)(F))return!1}}if(E[0]==='"')return E=E.slice(1,E.length-1),A.allow_utf8_local_part?p.test(E):g.test(E);for(var G=A.allow_utf8_local_part?_:d,k=E.split("."),x=0;x<k.length;x++)if(!G.test(k[x]))return!1;return!(A.blacklisted_chars&&E.search(new RegExp("[".concat(A.blacklisted_chars,"]+"),"g"))!==-1)}b.exports=l.default,b.exports.default=l.default},227912:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=n(e(514868)),o=n(e(442869));function n(c){return c&&c.__esModule?c:{default:c}}var a={ignore_whitespace:!1};function i(c,u){return(0,r.default)(c),u=(0,o.default)(u,a),(u.ignore_whitespace?c.trim().length:c.length)===0}b.exports=l.default,b.exports.default=l.default},743106:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^(0x)[0-9a-f]{40}$/i;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},287933:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=n(e(514868)),o=n(e(442869));function n(c){return c&&c.__esModule?c:{default:c}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1};function i(c,u){(0,r.default)(c),u=(0,o.default)(u,a),u.allow_trailing_dot&&c[c.length-1]==="."&&(c=c.substring(0,c.length-1)),u.allow_wildcard===!0&&c.indexOf("*.")===0&&(c=c.substring(2));var f=c.split("."),d=f[f.length-1];return u.require_tld&&(f.length<2||!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(d)||/\s/.test(d))||!u.allow_numeric_tld&&/^\d+$/.test(d)?!1:f.every(function(h){return!(h.length>63||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(h)||/[\uff01-\uff5e]/.test(h)||/^-|-$/.test(h)||!u.allow_underscores&&/_/.test(h))})}b.exports=l.default,b.exports.default=l.default},189797:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.locales=void 0;var r=n(e(514868)),o=e(205329);function n(c){return c&&c.__esModule?c:{default:c}}function a(c,u){(0,r.default)(c),u=u||{};var f=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(u.locale?o.decimal[u.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(c===""||c==="."||c==="-"||c==="+")return!1;var d=parseFloat(c.replace(",","."));return f.test(c)&&(!u.hasOwnProperty("min")||d>=u.min)&&(!u.hasOwnProperty("max")||d<=u.max)&&(!u.hasOwnProperty("lt")||d<u.lt)&&(!u.hasOwnProperty("gt")||d>u.gt)}var i=Object.keys(o.decimal);l.locales=i},877464:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.fullWidth=void 0;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;l.fullWidth=n;function a(i){return(0,r.default)(i),n.test(i)}},481590:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=o(e(514868));function o(c){return c&&c.__esModule?c:{default:c}}var n=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,a=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i;function i(c){(0,r.default)(c);var u=c.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/ig,"$1");return u.indexOf(",")!==-1?n.test(u):a.test(u)}b.exports=l.default,b.exports.default=l.default},672075:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.halfWidth=void 0;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;l.halfWidth=n;function a(i){return(0,r.default)(i),n.test(i)}},238593:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};function a(i,c){(0,r.default)(i);var u=new RegExp("^[a-fA-F0-9]{".concat(n[c],"}$"));return u.test(i)}b.exports=l.default,b.exports.default=l.default},997822:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},158485:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^(0x|0h)?[0-9A-F]+$/i;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},309176:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c,l.locales=void 0;var r=o(e(514868));function o(f){return f&&f.__esModule?f:{default:f}}var n={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16}$/,CZ:/^(CZ[0-9]{2})\d{20}$/,DE:/^(DE[0-9]{2})\d{18}$/,DK:/^(DK[0-9]{2})\d{14}$/,DO:/^(DO[0-9]{2})[A-Z]{4}\d{20}$/,EE:/^(EE[0-9]{2})\d{16}$/,EG:/^(EG[0-9]{2})\d{25}$/,ES:/^(ES[0-9]{2})\d{20}$/,FI:/^(FI[0-9]{2})\d{14}$/,FO:/^(FO[0-9]{2})\d{14}$/,FR:/^(FR[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,GB:/^(GB[0-9]{2})[A-Z]{4}\d{14}$/,GE:/^(GE[0-9]{2})[A-Z0-9]{2}\d{16}$/,GI:/^(GI[0-9]{2})[A-Z]{4}[A-Z0-9]{15}$/,GL:/^(GL[0-9]{2})\d{14}$/,GR:/^(GR[0-9]{2})\d{7}[A-Z0-9]{16}$/,GT:/^(GT[0-9]{2})[A-Z0-9]{4}[A-Z0-9]{20}$/,HR:/^(HR[0-9]{2})\d{17}$/,HU:/^(HU[0-9]{2})\d{24}$/,IE:/^(IE[0-9]{2})[A-Z0-9]{4}\d{14}$/,IL:/^(IL[0-9]{2})\d{19}$/,IQ:/^(IQ[0-9]{2})[A-Z]{4}\d{15}$/,IR:/^(IR[0-9]{2})0\d{2}0\d{18}$/,IS:/^(IS[0-9]{2})\d{22}$/,IT:/^(IT[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,JO:/^(JO[0-9]{2})[A-Z]{4}\d{22}$/,KW:/^(KW[0-9]{2})[A-Z]{4}[A-Z0-9]{22}$/,KZ:/^(KZ[0-9]{2})\d{3}[A-Z0-9]{13}$/,LB:/^(LB[0-9]{2})\d{4}[A-Z0-9]{20}$/,LC:/^(LC[0-9]{2})[A-Z]{4}[A-Z0-9]{24}$/,LI:/^(LI[0-9]{2})\d{5}[A-Z0-9]{12}$/,LT:/^(LT[0-9]{2})\d{16}$/,LU:/^(LU[0-9]{2})\d{3}[A-Z0-9]{13}$/,LV:/^(LV[0-9]{2})[A-Z]{4}[A-Z0-9]{13}$/,MC:/^(MC[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,MD:/^(MD[0-9]{2})[A-Z0-9]{20}$/,ME:/^(ME[0-9]{2})\d{18}$/,MK:/^(MK[0-9]{2})\d{3}[A-Z0-9]{10}\d{2}$/,MR:/^(MR[0-9]{2})\d{23}$/,MT:/^(MT[0-9]{2})[A-Z]{4}\d{5}[A-Z0-9]{18}$/,MU:/^(MU[0-9]{2})[A-Z]{4}\d{19}[A-Z]{3}$/,MZ:/^(MZ[0-9]{2})\d{21}$/,NL:/^(NL[0-9]{2})[A-Z]{4}\d{10}$/,NO:/^(NO[0-9]{2})\d{11}$/,PK:/^(PK[0-9]{2})[A-Z0-9]{4}\d{16}$/,PL:/^(PL[0-9]{2})\d{24}$/,PS:/^(PS[0-9]{2})[A-Z0-9]{4}\d{21}$/,PT:/^(PT[0-9]{2})\d{21}$/,QA:/^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};function a(f){var d=f.replace(/[\s\-]+/gi,"").toUpperCase(),h=d.slice(0,2).toUpperCase();return h in n&&n[h].test(d)}function i(f){var d=f.replace(/[^A-Z0-9]+/gi,"").toUpperCase(),h=d.slice(4)+d.slice(0,4),g=h.replace(/[A-Z]/g,function(p){return p.charCodeAt(0)-55}),_=g.match(/\d{1,7}/g).reduce(function(p,y){return Number(p+y)%97},"");return _===1}function c(f){return(0,r.default)(f),a(f)&&i(f)}var u=Object.keys(n);l.locales=u},341525:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=o(e(514868));function o(c){return c&&c.__esModule?c:{default:c}}var n=/^[0-9]{15}$/,a=/^\d{2}-\d{6}-\d{6}-\d{1}$/;function i(c,u){(0,r.default)(c),u=u||{};var f=n;if(u.allow_hyphens&&(f=a),!f.test(c))return!1;c=c.replace(/-/g,"");for(var d=0,h=2,g=14,_=0;_<g;_++){var p=c.substring(g-_-1,g-_),y=parseInt(p,10)*h;y>=10?d+=y%10+1:d+=y,h===1?h+=1:h-=1}var O=(10-d%10)%10;return O===parseInt(c.substring(14,15),10)}b.exports=l.default,b.exports.default=l.default},567227:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=f;var r=o(e(514868));function o(d){return d&&d.__esModule?d:{default:d}}var n="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",a="(".concat(n,"[.]){3}").concat(n),i=new RegExp("^".concat(a,"$")),c="(?:[0-9a-fA-F]{1,4})",u=new RegExp("^("+"(?:".concat(c,":){7}(?:").concat(c,"|:)|")+"(?:".concat(c,":){6}(?:").concat(a,"|:").concat(c,"|:)|")+"(?:".concat(c,":){5}(?::").concat(a,"|(:").concat(c,"){1,2}|:)|")+"(?:".concat(c,":){4}(?:(:").concat(c,"){0,1}:").concat(a,"|(:").concat(c,"){1,3}|:)|")+"(?:".concat(c,":){3}(?:(:").concat(c,"){0,2}:").concat(a,"|(:").concat(c,"){1,4}|:)|")+"(?:".concat(c,":){2}(?:(:").concat(c,"){0,3}:").concat(a,"|(:").concat(c,"){1,5}|:)|")+"(?:".concat(c,":){1}(?:(:").concat(c,"){0,4}:").concat(a,"|(:").concat(c,"){1,6}|:)|")+"(?::((?::".concat(c,"){0,5}:").concat(a,"|(?::").concat(c,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");function f(d){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if((0,r.default)(d),h=String(h),!h)return f(d,4)||f(d,6);if(h==="4"){if(!i.test(d))return!1;var g=d.split(".").sort(function(_,p){return _-p});return g[3]<=255}return h==="6"?!!u.test(d):!1}b.exports=l.default,b.exports.default=l.default},222573:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=u;var r=n(e(514868)),o=n(e(567227));function n(f){return f&&f.__esModule?f:{default:f}}var a=/^\d{1,3}$/,i=32,c=128;function u(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(0,r.default)(f);var h=f.split("/");if(h.length!==2||!a.test(h[1])||h[1].length>1&&h[1].startsWith("0"))return!1;var g=(0,o.default)(h[0],d);if(!g)return!1;var _=null;switch(String(d)){case"4":_=i;break;case"6":_=c;break;default:_=(0,o.default)(h[0],"6")?c:i}return h[1]<=_&&h[1]>=0}b.exports=l.default,b.exports.default=l.default},35882:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=o(e(514868));function o(u){return u&&u.__esModule?u:{default:u}}var n=/^(?:[0-9]{9}X|[0-9]{10})$/,a=/^(?:[0-9]{13})$/,i=[1,3];function c(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";if((0,r.default)(u),f=String(f),!f)return c(u,10)||c(u,13);var d=u.replace(/[\s-]+/g,""),h=0,g;if(f==="10"){if(!n.test(d))return!1;for(g=0;g<9;g++)h+=(g+1)*d.charAt(g);if(d.charAt(9)==="X"?h+=10*10:h+=10*d.charAt(9),h%11===0)return!!d}else if(f==="13"){if(!a.test(d))return!1;for(g=0;g<12;g++)h+=i[g%2]*d.charAt(g);if(d.charAt(12)-(10-h%10)%10===0)return!!d}return!1}b.exports=l.default,b.exports.default=l.default},946911:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;function a(i){if((0,r.default)(i),!n.test(i))return!1;for(var c=!0,u=0,f=i.length-2;f>=0;f--)if(i[f]>="A"&&i[f]<="Z")for(var d=i[f].charCodeAt(0)-55,h=d%10,g=Math.trunc(d/10),_=0,p=[h,g];_<p.length;_++){var y=p[_];c?y>=5?u+=1+(y-5)*2:u+=y*2:u+=y,c=!c}else{var O=i[f].charCodeAt(0)-48;c?O>=5?u+=1+(O-5)*2:u+=O*2:u+=O,c=!c}var P=Math.trunc((u+9)/10)*10-u;return+i[i.length-1]===P}b.exports=l.default,b.exports.default=l.default},15476:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.CountryCodes=void 0;var r=o(e(514868));function o(c){return c&&c.__esModule?c:{default:c}}var n=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]);function a(c){return(0,r.default)(c),n.has(c.toUpperCase())}var i=n;l.CountryCodes=i},715540:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]);function a(i){return(0,r.default)(i),n.has(i.toUpperCase())}b.exports=l.default,b.exports.default=l.default},970858:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.CurrencyCodes=void 0;var r=o(e(514868));function o(c){return c&&c.__esModule?c:{default:c}}var n=new Set(["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]);function a(c){return(0,r.default)(c),n.has(c.toUpperCase())}var i=n;l.CurrencyCodes=i},971154:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=o(e(514868));function o(u){return u&&u.__esModule?u:{default:u}}var n=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,i=function(f){var d=f.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(d){var h=Number(d[1]),g=Number(d[2]);return h%4===0&&h%100!==0||h%400===0?g<=366:g<=365}var _=f.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),p=_[1],y=_[2],O=_[3],P=y&&"0".concat(y).slice(-2),C=O&&"0".concat(O).slice(-2),A=new Date("".concat(p,"-").concat(P||"01","-").concat(C||"01"));return y&&O?A.getUTCFullYear()===p&&A.getUTCMonth()+1===y&&A.getUTCDate()===O:!0};function c(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,r.default)(u);var d=f.strictSeparator?a.test(u):n.test(u);return d&&f.strict?i(u):d}b.exports=l.default,b.exports.default=l.default},168825:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},740476:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n="^\\d{4}-?\\d{3}[\\dX]$";function a(i){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,r.default)(i);var u=n;if(u=c.require_hyphen?u.replace("?",""):u,u=c.case_sensitive?new RegExp(u):new RegExp(u,"i"),!u.test(i))return!1;for(var f=i.replace("-","").toUpperCase(),d=0,h=0;h<f.length;h++){var g=f[h];d+=(g==="X"?10:+g)*(8-h)}return d%11===0}b.exports=l.default,b.exports.default=l.default},73188:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=n(e(514868)),o=n(e(26176));function n(c){return c&&c.__esModule?c:{default:c}}var a={PL:function(u){(0,r.default)(u);var f={1:1,2:3,3:7,4:9,5:1,6:3,7:7,8:9,9:1,10:3,11:0};if(u!=null&&u.length===11&&(0,o.default)(u,{allow_leading_zeroes:!0})){var d=u.split("").slice(0,-1),h=d.reduce(function(p,y,O){return p+Number(y)*f[O+1]},0),g=h%10,_=Number(u.charAt(u.length-1));if(g===0&&_===0||_===10-g)return!0}return!1},ES:function(u){(0,r.default)(u);var f=/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/,d={X:0,Y:1,Z:2},h=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"],g=u.trim().toUpperCase();if(!f.test(g))return!1;var _=g.slice(0,-1).replace(/[X,Y,Z]/g,function(p){return d[p]});return g.endsWith(h[_%23])},FI:function(u){if((0,r.default)(u),u.length!==11||!u.match(/^\d{6}[\-A\+]\d{3}[0-9ABCDEFHJKLMNPRSTUVWXY]{1}$/))return!1;var f="0123456789ABCDEFHJKLMNPRSTUVWXY",d=parseInt(u.slice(0,6),10)*1e3+parseInt(u.slice(7,10),10),h=d%31,g=f[h];return g===u.slice(10,11)},IN:function(u){var f=/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/,d=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],h=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],g=u.trim();if(!f.test(g))return!1;var _=0,p=g.replace(/\s/g,"").split("").map(Number).reverse();return p.forEach(function(y,O){_=d[_][h[O%8][y]]}),_===0},IR:function(u){if(!u.match(/^\d{10}$/)||(u="0000".concat(u).substr(u.length-6),parseInt(u.substr(3,6),10)===0))return!1;for(var f=parseInt(u.substr(9,1),10),d=0,h=0;h<9;h++)d+=parseInt(u.substr(h,1),10)*(10-h);return d%=11,d<2&&f===d||d>=2&&f===11-d},IT:function(u){return u.length!==9||u==="CA00000AA"?!1:u.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)>-1},NO:function(u){var f=u.trim();if(isNaN(Number(f))||f.length!==11||f==="00000000000")return!1;var d=f.split("").map(Number),h=(11-(3*d[0]+7*d[1]+6*d[2]+1*d[3]+8*d[4]+9*d[5]+4*d[6]+5*d[7]+2*d[8])%11)%11,g=(11-(5*d[0]+4*d[1]+3*d[2]+2*d[3]+7*d[4]+6*d[5]+5*d[6]+4*d[7]+3*d[8]+2*h)%11)%11;return!(h!==d[9]||g!==d[10])},TH:function(u){if(!u.match(/^[1-8]\d{12}$/))return!1;for(var f=0,d=0;d<12;d++)f+=parseInt(u[d],10)*(13-d);return u[12]===((11-f%11)%10).toString()},LK:function(u){var f=/^[1-9]\d{8}[vx]$/i,d=/^[1-9]\d{11}$/i;return u.length===10&&f.test(u)?!0:!!(u.length===12&&d.test(u))},"he-IL":function(u){var f=/^\d{9}$/,d=u.trim();if(!f.test(d))return!1;for(var h=d,g=0,_,p=0;p<h.length;p++)_=Number(h[p])*(p%2+1),g+=_>9?_-9:_;return g%10===0},"ar-LY":function(u){var f=/^(1|2)\d{11}$/,d=u.trim();return!!f.test(d)},"ar-TN":function(u){var f=/^\d{8}$/,d=u.trim();return!!f.test(d)},"zh-CN":function(u){var f=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],d=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],h=["1","0","X","9","8","7","6","5","4","3","2"],g=function(S){return f.includes(S)},_=function(S){var T=parseInt(S.substring(0,4),10),s=parseInt(S.substring(4,6),10),v=parseInt(S.substring(6),10),m=new Date(T,s-1,v);return m>new Date?!1:m.getFullYear()===T&&m.getMonth()===s-1&&m.getDate()===v},p=function(S){for(var T=S.substring(0,17),s=0,v=0;v<17;v++)s+=parseInt(T.charAt(v),10)*parseInt(d[v],10);var m=s%11;return h[m]},y=function(S){return p(S)===S.charAt(17).toUpperCase()},O=function(S){var T=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(S);if(!T)return!1;var s=S.substring(0,2);if(T=g(s),!T)return!1;var v="19".concat(S.substring(6,12));return T=_(v),!!T},P=function(S){var T=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(S);if(!T)return!1;var s=S.substring(0,2);if(T=g(s),!T)return!1;var v=S.substring(6,14);return T=_(v),T?y(S):!1},C=function(S){var T=/^\d{15}|(\d{17}(\d|x|X))$/.test(S);return T?S.length===15?O(S):P(S):!1};return C(u)},"zh-TW":function(u){var f={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},d=u.trim().toUpperCase();return/^[A-Z][0-9]{9}$/.test(d)?Array.from(d).reduce(function(h,g,_){if(_===0){var p=f[g];return p%10*9+Math.floor(p/10)}return _===9?(10-h%10-Number(g))%10===0:h+Number(g)*(9-_)},0):!1}};function i(c,u){if((0,r.default)(c),u in a)return a[u](c);if(u==="any"){for(var f in a)if(a.hasOwnProperty(f)){var d=a[f];if(d(c))return!0}return!1}throw new Error("Invalid locale '".concat(u,"'"))}b.exports=l.default,b.exports.default=l.default},103872:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=n(e(514868)),o=n(e(950847));function n(c){return c&&c.__esModule?c:{default:c}}function a(c){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?a=function(f){return typeof f}:a=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},a(c)}function i(c,u){(0,r.default)(c);var f;if(Object.prototype.toString.call(u)==="[object Array]"){var d=[];for(f in u)({}).hasOwnProperty.call(u,f)&&(d[f]=(0,o.default)(u[f]));return d.indexOf(c)>=0}else{if(a(u)==="object")return u.hasOwnProperty(c);if(u&&typeof u.indexOf=="function")return u.indexOf(c)>=0}return!1}b.exports=l.default,b.exports.default=l.default},26176:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=o(e(514868));function o(c){return c&&c.__esModule?c:{default:c}}var n=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,a=/^[-+]?[0-9]+$/;function i(c,u){(0,r.default)(c),u=u||{};var f=u.hasOwnProperty("allow_leading_zeroes")&&!u.allow_leading_zeroes?n:a,d=!u.hasOwnProperty("min")||c>=u.min,h=!u.hasOwnProperty("max")||c<=u.max,g=!u.hasOwnProperty("lt")||c<u.lt,_=!u.hasOwnProperty("gt")||c>u.gt;return f.test(c)&&d&&h&&g&&_}b.exports=l.default,b.exports.default=l.default},327489:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=n(e(514868)),o=n(e(442869));function n(u){return u&&u.__esModule?u:{default:u}}function a(u){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?a=function(d){return typeof d}:a=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},a(u)}var i={allow_primitives:!1};function c(u,f){(0,r.default)(u);try{f=(0,o.default)(f,i);var d=[];f.allow_primitives&&(d=[null,!1,!0]);var h=JSON.parse(u);return d.includes(h)||!!h&&a(h)==="object"}catch{}return!1}b.exports=l.default,b.exports.default=l.default},235092:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=n(e(514868)),o=n(e(846576));function n(i){return i&&i.__esModule?i:{default:i}}function a(i){(0,r.default)(i);var c=i.split("."),u=c.length;return u>3||u<2?!1:c.reduce(function(f,d){return f&&(0,o.default)(d,{urlSafe:!0})},!0)}b.exports=l.default,b.exports.default=l.default},79304:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=d;var r=n(e(514868)),o=n(e(442869));function n(h){return h&&h.__esModule?h:{default:h}}var a=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,i=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,c=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,u=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,f={checkDMS:!1};function d(h,g){if((0,r.default)(h),g=(0,o.default)(g,f),!h.includes(","))return!1;var _=h.split(",");return _[0].startsWith("(")&&!_[1].endsWith(")")||_[1].endsWith(")")&&!_[0].startsWith("(")?!1:g.checkDMS?c.test(_[0])&&u.test(_[1]):a.test(_[0])&&i.test(_[1])}b.exports=l.default,b.exports.default=l.default},563772:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}function n(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(u){return typeof u}:n=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},n(i)}function a(i,c){(0,r.default)(i);var u,f;n(c)==="object"?(u=c.min||0,f=c.max):(u=arguments[1]||0,f=arguments[2]);var d=i.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],h=i.length-d.length;return h>=u&&(typeof f>"u"||h<=f)}b.exports=l.default,b.exports.default=l.default},239379:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n={"cs-CZ":function(c){return/^(([ABCDEFHKIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(c)},"de-DE":function(c){return/^((AW|UL|AK|GA|AÖ|LF|AZ|AM|AS|ZE|AN|AB|A|KG|KH|BA|EW|BZ|HY|KM|BT|HP|B|BC|BI|BO|FN|TT|ÜB|BN|AH|BS|FR|HB|ZZ|BB|BK|BÖ|OC|OK|CW|CE|C|CO|LH|CB|KW|LC|LN|DA|DI|DE|DH|SY|NÖ|DO|DD|DU|DN|D|EI|EA|EE|FI|EM|EL|EN|PF|ED|EF|ER|AU|ZP|E|ES|NT|EU|FL|FO|FT|FF|F|FS|FD|FÜ|GE|G|GI|GF|GS|ZR|GG|GP|GR|NY|ZI|GÖ|GZ|GT|HA|HH|HM|HU|WL|HZ|WR|RN|HK|HD|HN|HS|GK|HE|HF|RZ|HI|HG|HO|HX|IK|IL|IN|J|JL|KL|KA|KS|KF|KE|KI|KT|KO|KN|KR|KC|KU|K|LD|LL|LA|L|OP|LM|LI|LB|LU|LÖ|HL|LG|MD|GN|MZ|MA|ML|MR|MY|AT|DM|MC|NZ|RM|RG|MM|ME|MB|MI|FG|DL|HC|MW|RL|MK|MG|MÜ|WS|MH|M|MS|NU|NB|ND|NM|NK|NW|NR|NI|NF|DZ|EB|OZ|TG|TO|N|OA|GM|OB|CA|EH|FW|OF|OL|OE|OG|BH|LR|OS|AA|GD|OH|KY|NP|WK|PB|PA|PE|PI|PS|P|PM|PR|RA|RV|RE|R|H|SB|WN|RS|RD|RT|BM|NE|GV|RP|SU|GL|RO|GÜ|RH|EG|RW|PN|SK|MQ|RU|SZ|RI|SL|SM|SC|HR|FZ|VS|SW|SN|CR|SE|SI|SO|LP|SG|NH|SP|IZ|ST|BF|TE|HV|OD|SR|S|AC|DW|ZW|TF|TS|TR|TÜ|UM|PZ|TP|UE|UN|UH|MN|KK|VB|V|AE|PL|RC|VG|GW|PW|VR|VK|KB|WA|WT|BE|WM|WE|AP|MO|WW|FB|WZ|WI|WB|JE|WF|WO|W|WÜ|BL|Z|GC)[- ]?[A-Z]{1,2}[- ]?\d{1,4}|(AIC|FDB|ABG|SLN|SAW|KLZ|BUL|ESB|NAB|SUL|WST|ABI|AZE|BTF|KÖT|DKB|FEU|ROT|ALZ|SMÜ|WER|AUR|NOR|DÜW|BRK|HAB|TÖL|WOR|BAD|BAR|BER|BIW|EBS|KEM|MÜB|PEG|BGL|BGD|REI|WIL|BKS|BIR|WAT|BOR|BOH|BOT|BRB|BLK|HHM|NEB|NMB|WSF|LEO|HDL|WMS|WZL|BÜS|CHA|KÖZ|ROD|WÜM|CLP|NEC|COC|ZEL|COE|CUX|DAH|LDS|DEG|DEL|RSL|DLG|DGF|LAN|HEI|MED|DON|KIB|ROK|JÜL|MON|SLE|EBE|EIC|HIG|WBS|BIT|PRÜ|LIB|EMD|WIT|ERH|HÖS|ERZ|ANA|ASZ|MAB|MEK|STL|SZB|FDS|HCH|HOR|WOL|FRG|GRA|WOS|FRI|FFB|GAP|GER|BRL|CLZ|GTH|NOH|HGW|GRZ|LÖB|NOL|WSW|DUD|HMÜ|OHA|KRU|HAL|HAM|HBS|QLB|HVL|NAU|HAS|EBN|GEO|HOH|HDH|ERK|HER|WAN|HEF|ROF|HBN|ALF|HSK|USI|NAI|REH|SAN|KÜN|ÖHR|HOL|WAR|ARN|BRG|GNT|HOG|WOH|KEH|MAI|PAR|RID|ROL|KLE|GEL|KUS|KYF|ART|SDH|LDK|DIL|MAL|VIB|LER|BNA|GHA|GRM|MTL|WUR|LEV|LIF|STE|WEL|LIP|VAI|LUP|HGN|LBZ|LWL|PCH|STB|DAN|MKK|SLÜ|MSP|TBB|MGH|MTK|BIN|MSH|EIL|HET|SGH|BID|MYK|MSE|MST|MÜR|WRN|MEI|GRH|RIE|MZG|MIL|OBB|BED|FLÖ|MOL|FRW|SEE|SRB|AIB|MOS|BCH|ILL|SOB|NMS|NEA|SEF|UFF|NEW|VOH|NDH|TDO|NWM|GDB|GVM|WIS|NOM|EIN|GAN|LAU|HEB|OHV|OSL|SFB|ERB|LOS|BSK|KEL|BSB|MEL|WTL|OAL|FÜS|MOD|OHZ|OPR|BÜR|PAF|PLÖ|CAS|GLA|REG|VIT|ECK|SIM|GOA|EMS|DIZ|GOH|RÜD|SWA|NES|KÖN|MET|LRO|BÜZ|DBR|ROS|TET|HRO|ROW|BRV|HIP|PAN|GRI|SHK|EIS|SRO|SOK|LBS|SCZ|MER|QFT|SLF|SLS|HOM|SLK|ASL|BBG|SBK|SFT|SHG|MGN|MEG|ZIG|SAD|NEN|OVI|SHA|BLB|SIG|SON|SPN|FOR|GUB|SPB|IGB|WND|STD|STA|SDL|OBG|HST|BOG|SHL|PIR|FTL|SEB|SÖM|SÜW|TIR|SAB|TUT|ANG|SDT|LÜN|LSZ|MHL|VEC|VER|VIE|OVL|ANK|OVP|SBG|UEM|UER|WLG|GMN|NVP|RDG|RÜG|DAU|FKB|WAF|WAK|SLZ|WEN|SOG|APD|WUG|GUN|ESW|WIZ|WES|DIN|BRA|BÜD|WHV|HWI|GHC|WTM|WOB|WUN|MAK|SEL|OCH|HOT|WDA)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(c)},"de-LI":function(c){return/^FL[- ]?\d{1,5}[UZ]?$/.test(c)},"fi-FI":function(c){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(c)},"pt-PT":function(c){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(c)},"sq-AL":function(c){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(c)},"pt-BR":function(c){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(c)}};function a(i,c){if((0,r.default)(i),c in n)return n[c](i);if(c==="any"){for(var u in n){var f=n[u];if(f(i))return!0}return!1}throw new Error("Invalid locale '".concat(c,"'"))}b.exports=l.default,b.exports.default=l.default},936971:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^[A-Za-z]{2,4}([_-]([A-Za-z]{4}|[\d]{3}))?([_-]([A-Za-z]{2}|[\d]{3}))?$/;function a(i){return(0,r.default)(i),i==="en_US_POSIX"||i==="ca_ES_VALENCIA"?!0:n.test(i)}b.exports=l.default,b.exports.default=l.default},563522:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(514868));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a),a===a.toLowerCase()}b.exports=l.default,b.exports.default=l.default},981938:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=o(e(514868));function o(u){return u&&u.__esModule?u:{default:u}}var n=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,a=/^([0-9a-fA-F]){12}$/,i=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/;function c(u,f){return(0,r.default)(u),f&&(f.no_colons||f.no_separators)?a.test(u):n.test(u)||i.test(u)}b.exports=l.default,b.exports.default=l.default},252971:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^[a-f0-9]{32}$/;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},992351:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^magnet:\?xt(?:\.1)?=urn:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?($|&)/i;function a(i){return(0,r.default)(i),n.test(i.trim())}b.exports=l.default,b.exports.default=l.default},937445:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=c;var r=o(e(514868));function o(u){return u&&u.__esModule?u:{default:u}}var n=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,a=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,i=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;function c(u){return(0,r.default)(u),n.test(u)||a.test(u)||i.test(u)}b.exports=l.default,b.exports.default=l.default},432234:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.locales=void 0;var r=o(e(514868));function o(c){return c&&c.__esModule?c:{default:c}}var n={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)[569]\d{7}$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)[1|3])([0|5][0-45-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|91|9[3-9])\d{7}$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}))/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(5|79)\d{7}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"ms-MY":/^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[2-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/};n["en-CA"]=n["en-US"],n["fr-CA"]=n["en-CA"],n["fr-BE"]=n["nl-BE"],n["zh-HK"]=n["en-HK"],n["zh-MO"]=n["en-MO"],n["ga-IE"]=n["en-IE"],n["fr-CH"]=n["de-CH"],n["it-CH"]=n["fr-CH"];function a(c,u,f){if((0,r.default)(c),f&&f.strictMode&&!c.startsWith("+"))return!1;if(Array.isArray(u))return u.some(function(g){if(n.hasOwnProperty(g)){var _=n[g];if(_.test(c))return!0}return!1});if(u in n)return n[u].test(c);if(!u||u==="any"){for(var d in n)if(n.hasOwnProperty(d)){var h=n[d];if(h.test(c))return!0}return!1}throw new Error("Invalid locale '".concat(u,"'"))}var i=Object.keys(n);l.locales=i},884058:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=n(e(514868)),o=n(e(158485));function n(i){return i&&i.__esModule?i:{default:i}}function a(i){return(0,r.default)(i),(0,o.default)(i)&&i.length===24}b.exports=l.default,b.exports.default=l.default},458480:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/[^\x00-\x7F]/;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},911457:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=n(e(514868)),o=e(205329);function n(c){return c&&c.__esModule?c:{default:c}}var a=/^[0-9]+$/;function i(c,u){return(0,r.default)(c),u&&u.no_symbols?a.test(c):new RegExp("^[+-]?([0-9]*[".concat((u||{}).locale?o.decimal[u.locale]:".","])?[0-9]+$")).test(c)}b.exports=l.default,b.exports.default=l.default},503905:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^(0o)?[0-7]+$/i;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},915781:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BR:/^[A-Z]{2}\d{6}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^G\d{8}$|^E(?![IO])[A-Z0-9]\d{7}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IN:/^[A-Z]{1}-?\d{7}$/,ID:/^[A-C]\d{7}$/,IR:/^[A-Z]\d{8}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,LY:/^[A-Z0-9]{8}$/,MT:/^\d{7}$/,MZ:/^([A-Z]{2}\d{7})|(\d{2}[A-Z]{2}\d{5})$/,MY:/^[AHK]\d{8}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,PL:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/};function a(i,c){(0,r.default)(i);var u=i.replace(/\s/g,"").toUpperCase();return c.toUpperCase()in n&&n[c].test(u)}b.exports=l.default,b.exports.default=l.default},857988:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(26176));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a,{min:0,max:65535})}b.exports=l.default,b.exports.default=l.default},700597:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=d,l.locales=void 0;var r=o(e(514868));function o(h){return h&&h.__esModule?h:{default:h}}var n=/^\d{3}$/,a=/^\d{4}$/,i=/^\d{5}$/,c=/^\d{6}$/,u={AD:/^AD\d{3}$/,AT:a,AU:a,AZ:/^AZ\d{4}$/,BE:a,BG:a,BR:/^\d{5}-\d{3}$/,BY:/2[1-4]{1}\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:a,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:i,DK:a,DO:i,DZ:i,EE:i,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:i,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:a,ID:i,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/\b(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}\b/,IS:n,IT:i,JP:/^\d{3}\-\d{4}$/,KE:i,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:a,LV:/^LV\-\d{4}$/,LK:i,MX:i,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:i,NL:/^\d{4}\s?[a-z]{2}$/i,NO:a,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:a,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:c,RU:c,SA:i,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:c,SI:a,SK:/^\d{3}\s?\d{2}$/,TH:i,TN:a,TW:/^\d{3}(\d{2})?$/,UA:i,US:/^\d{5}(-\d{4})?$/,ZA:a,ZM:i},f=Object.keys(u);l.locales=f;function d(h,g){if((0,r.default)(h),g in u)return u[g].test(h);if(g==="any"){for(var _ in u)if(u.hasOwnProperty(_)){var p=u[_];if(p.test(h))return!0}return!1}throw new Error("Invalid locale '".concat(g,"'"))}},530598:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=P;var r=o(e(514868));function o(C){return C&&C.__esModule?C:{default:C}}var n=/[0-9]{4}/,a=/(0[1-9]|1[0-2])/,i=/([12]\d|0[1-9]|3[01])/,c=/([01][0-9]|2[0-3])/,u=/[0-5][0-9]/,f=/([0-5][0-9]|60)/,d=/(\.[0-9]+)?/,h=new RegExp("[-+]".concat(c.source,":").concat(u.source)),g=new RegExp("([zZ]|".concat(h.source,")")),_=new RegExp("".concat(c.source,":").concat(u.source,":").concat(f.source).concat(d.source)),p=new RegExp("".concat(n.source,"-").concat(a.source,"-").concat(i.source)),y=new RegExp("".concat(_.source).concat(g.source)),O=new RegExp("^".concat(p.source,"[ tT]").concat(y.source,"$"));function P(C){return(0,r.default)(C),O.test(C)}b.exports=l.default,b.exports.default=l.default},240442:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=u;var r=o(e(514868));function o(f){return f&&f.__esModule?f:{default:f}}var n=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,a=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,i=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)/,c=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)/;function u(f){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,r.default)(f),d?n.test(f)||a.test(f)||i.test(f)||c.test(f):n.test(f)||a.test(f)}b.exports=l.default,b.exports.default=l.default},31792:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=n(e(514868)),o=n(e(483413));function n(c){return c&&c.__esModule?c:{default:c}}var a=(0,o.default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");function i(c){return(0,r.default)(c),a.test(c)}b.exports=l.default,b.exports.default=l.default},88348:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},920023:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=_;var r=n(e(442869)),o=n(e(514868));function n(p){return p&&p.__esModule?p:{default:p}}var a=/^[A-Z]$/,i=/^[a-z]$/,c=/^[0-9]$/,u=/^[-#!$@%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/,f={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};function d(p){var y={};return Array.from(p).forEach(function(O){var P=y[O];P?y[O]+=1:y[O]=1}),y}function h(p){var y=d(p),O={length:p.length,uniqueChars:Object.keys(y).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(y).forEach(function(P){a.test(P)?O.uppercaseCount+=y[P]:i.test(P)?O.lowercaseCount+=y[P]:c.test(P)?O.numberCount+=y[P]:u.test(P)&&(O.symbolCount+=y[P])}),O}function g(p,y){var O=0;return O+=p.uniqueChars*y.pointsPerUnique,O+=(p.length-p.uniqueChars)*y.pointsPerRepeat,p.lowercaseCount>0&&(O+=y.pointsForContainingLower),p.uppercaseCount>0&&(O+=y.pointsForContainingUpper),p.numberCount>0&&(O+=y.pointsForContainingNumber),p.symbolCount>0&&(O+=y.pointsForContainingSymbol),O}function _(p){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;(0,o.default)(p);var O=h(p);return y=(0,r.default)(y||{},f),y.returnScore?g(O,y):O.length>=y.minLength&&O.lowercaseCount>=y.minLowercase&&O.uppercaseCount>=y.minUppercase&&O.numberCount>=y.minNumbers&&O.symbolCount>=y.minSymbols}b.exports=l.default,b.exports.default=l.default},473925:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;function a(i){return(0,r.default)(i),n.test(i)}b.exports=l.default,b.exports.default=l.default},861989:function(b,l,e){"use strict";function r(fe){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?r=function(z){return typeof z}:r=function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z},r(fe)}Object.defineProperty(l,"__esModule",{value:!0}),l.default=Ee;var o=u(e(514868)),n=c(e(734729)),a=u(e(656709));function i(){if(typeof WeakMap!="function")return null;var fe=new WeakMap;return i=function(){return fe},fe}function c(fe){if(fe&&fe.__esModule)return fe;if(fe===null||r(fe)!=="object"&&typeof fe!="function")return{default:fe};var H=i();if(H&&H.has(fe))return H.get(fe);var z={},_e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ae in fe)if(Object.prototype.hasOwnProperty.call(fe,ae)){var ge=_e?Object.getOwnPropertyDescriptor(fe,ae):null;ge&&(ge.get||ge.set)?Object.defineProperty(z,ae,ge):z[ae]=fe[ae]}return z.default=fe,H&&H.set(fe,z),z}function u(fe){return fe&&fe.__esModule?fe:{default:fe}}function f(fe){return _(fe)||g(fe)||h(fe)||d()}function d(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h(fe,H){if(fe){if(typeof fe=="string")return p(fe,H);var z=Object.prototype.toString.call(fe).slice(8,-1);if(z==="Object"&&fe.constructor&&(z=fe.constructor.name),z==="Map"||z==="Set")return Array.from(fe);if(z==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(z))return p(fe,H)}}function g(fe){if(typeof Symbol<"u"&&Symbol.iterator in Object(fe))return Array.from(fe)}function _(fe){if(Array.isArray(fe))return p(fe)}function p(fe,H){(H==null||H>fe.length)&&(H=fe.length);for(var z=0,_e=new Array(H);z<H;z++)_e[z]=fe[z];return _e}function y(fe){var H=fe.slice(0,2),z=parseInt(fe.slice(2,4),10);z>40?(z-=40,H="20".concat(H)):z>20?(z-=20,H="18".concat(H)):H="19".concat(H),z<10&&(z="0".concat(z));var _e="".concat(H,"/").concat(z,"/").concat(fe.slice(4,6));if(!(0,a.default)(_e,"YYYY/MM/DD"))return!1;for(var ae=fe.split("").map(function(He){return parseInt(He,10)}),ge=[2,4,8,5,10,9,7,3,6],Be=0,Ke=0;Ke<ge.length;Ke++)Be+=ae[Ke]*ge[Ke];return Be=Be%11===10?0:Be%11,Be===ae[9]}function O(fe){fe=fe.replace(/\W/,"");var H=parseInt(fe.slice(0,2),10);if(fe.length===10)H<54?H="20".concat(H):H="19".concat(H);else{if(fe.slice(6)==="000")return!1;if(H<54)H="19".concat(H);else return!1}H.length===3&&(H=[H.slice(0,2),"0",H.slice(2)].join(""));var z=parseInt(fe.slice(2,4),10);if(z>50&&(z-=50),z>20){if(parseInt(H,10)<2004)return!1;z-=20}z<10&&(z="0".concat(z));var _e="".concat(H,"/").concat(z,"/").concat(fe.slice(4,6));if(!(0,a.default)(_e,"YYYY/MM/DD"))return!1;if(fe.length===10&&parseInt(fe,10)%11!==0){var ae=parseInt(fe.slice(0,9),10)%11;if(parseInt(H,10)<1986&&ae===10){if(parseInt(fe.slice(9),10)!==0)return!1}else return!1}return!0}function P(fe){return n.luhnCheck(fe)}function C(fe){for(var H=fe.split("").map(function(He){return parseInt(He,10)}),z=[],_e=0;_e<H.length-1;_e++){z.push("");for(var ae=0;ae<H.length-1;ae++)H[_e]===H[ae]&&(z[_e]+=ae)}if(z=z.filter(function(He){return He.length>1}),z.length!==2&&z.length!==3)return!1;if(z[0].length===3){for(var ge=z[0].split("").map(function(He){return parseInt(He,10)}),Be=0,Ke=0;Ke<ge.length-1;Ke++)ge[Ke]+1===ge[Ke+1]&&(Be+=1);if(Be===2)return!1}return n.iso7064Check(fe)}function A(fe){fe=fe.replace(/\W/,"");var H=parseInt(fe.slice(4,6),10),z=fe.slice(6,7);switch(z){case"0":case"1":case"2":case"3":H="19".concat(H);break;case"4":case"9":H<37?H="20".concat(H):H="19".concat(H);break;default:if(H<37)H="20".concat(H);else if(H>58)H="18".concat(H);else return!1;break}H.length===3&&(H=[H.slice(0,2),"0",H.slice(2)].join(""));var _e="".concat(H,"/").concat(fe.slice(2,4),"/").concat(fe.slice(0,2));if(!(0,a.default)(_e,"YYYY/MM/DD"))return!1;for(var ae=fe.split("").map(function(He){return parseInt(He,10)}),ge=0,Be=4,Ke=0;Ke<9;Ke++)ge+=ae[Ke]*Be,Be-=1,Be===1&&(Be=7);return ge%=11,ge===1?!1:ge===0?ae[9]===0:ae[9]===11-ge}function S(fe){for(var H=fe.slice(0,8).split("").map(function(ge){return parseInt(ge,10)}),z=0,_e=1;_e<H.length;_e+=2)z+=H[_e];for(var ae=0;ae<H.length;ae+=2)H[ae]<2?z+=1-H[ae]:(z+=2*(H[ae]-2)+5,H[ae]>4&&(z+=2));return String.fromCharCode(z%26+65)===fe.charAt(8)}function T(fe){for(var H=fe.split("").map(function(ae){return parseInt(ae,10)}),z=0,_e=0;_e<8;_e++)z+=H[_e]*Math.pow(2,8-_e);return z%11%10===H[8]}function s(fe){var H=n.reverseMultiplyAndSum(fe.split("").slice(0,7).map(function(z){return parseInt(z,10)}),8);return fe.length===9&&fe[8]!=="W"&&(H+=(fe[8].charCodeAt(0)-64)*9),H%=23,H===0?fe[7].toUpperCase()==="W":fe[7].toUpperCase()===String.fromCharCode(64+H)}var v={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]};function m(){var fe=[];for(var H in v)v.hasOwnProperty(H)&&fe.push.apply(fe,f(v[H]));return fe}function E(fe){return m().indexOf(fe.substr(0,2))!==-1}function I(fe){var H=fe.toUpperCase().split("");if(isNaN(parseInt(H[0],10))&&H.length>1){var z=0;switch(H[0]){case"Y":z=1;break;case"Z":z=2;break;default:}H.splice(0,1,z)}else for(;H.length<9;)H.unshift(0);var _e=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"];H=H.join("");var ae=parseInt(H.slice(0,8),10)%23;return H[8]===_e[ae]}function L(fe){var H=fe.slice(1,3),z=fe.slice(0,1);switch(z){case"1":case"2":H="18".concat(H);break;case"3":case"4":H="19".concat(H);break;default:H="20".concat(H);break}var _e="".concat(H,"/").concat(fe.slice(3,5),"/").concat(fe.slice(5,7));if(!(0,a.default)(_e,"YYYY/MM/DD"))return!1;for(var ae=fe.split("").map(function(ye){return parseInt(ye,10)}),ge=0,Be=1,Ke=0;Ke<10;Ke++)ge+=ae[Ke]*Be,Be+=1,Be===10&&(Be=1);if(ge%11===10){ge=0,Be=3;for(var He=0;He<10;He++)ge+=ae[He]*Be,Be+=1,Be===10&&(Be=1);if(ge%11===10)return ae[10]===0}return ge%11===ae[10]}function W(fe){var H=fe.slice(4,6),z=fe.slice(6,7);switch(z){case"+":H="18".concat(H);break;case"-":H="19".concat(H);break;default:H="20".concat(H);break}var _e="".concat(H,"/").concat(fe.slice(2,4),"/").concat(fe.slice(0,2));if(!(0,a.default)(_e,"YYYY/MM/DD"))return!1;var ae=parseInt(fe.slice(0,6)+fe.slice(7,10),10)%31;if(ae<10)return ae===parseInt(fe.slice(10),10);ae-=10;var ge=["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"];return ge[ae]===fe.slice(10)}function F(fe){if(fe.slice(2,4)!=="00"||fe.slice(4,6)!=="00"){var H="".concat(fe.slice(0,2),"/").concat(fe.slice(2,4),"/").concat(fe.slice(4,6));if(!(0,a.default)(H,"YY/MM/DD"))return!1}var z=97-parseInt(fe.slice(0,9),10)%97,_e=parseInt(fe.slice(9,11),10);return!(z!==_e&&(z=97-parseInt("2".concat(fe.slice(0,9)),10)%97,z!==_e))}function G(fe){fe=fe.replace(/\s/g,"");var H=parseInt(fe.slice(0,10),10)%511,z=parseInt(fe.slice(10,13),10);return H===z}function k(fe){var H="".concat(fe.slice(0,4),"/").concat(fe.slice(4,6),"/").concat(fe.slice(6,8));return!(0,a.default)(H,"YYYY/MM/DD")||!n.luhnCheck(fe.slice(0,12))?!1:n.verhoeffCheck("".concat(fe.slice(0,11)).concat(fe[12]))}function x(fe){return n.iso7064Check(fe)}function M(fe){for(var H=fe.split("").map(function(ae){return parseInt(ae,10)}),z=8,_e=1;_e<9;_e++)z+=H[_e]*(_e+1);return z%11===H[9]}function B(fe){for(var H=!1,z=!1,_e=0;_e<3;_e++)if(!H&&/[AEIOU]/.test(fe[_e]))H=!0;else if(!z&&H&&fe[_e]==="X")z=!0;else if(_e>0&&(H&&!z&&!/[AEIOU]/.test(fe[_e])||z&&!/X/.test(fe[_e])))return!1;return!0}function R(fe){var H=fe.toUpperCase().split("");if(!B(H.slice(0,3))||!B(H.slice(3,6)))return!1;for(var z=[6,7,9,10,12,13,14],_e={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},ae=0,ge=z;ae<ge.length;ae++){var Be=ge[ae];H[Be]in _e&&H.splice(Be,1,_e[H[Be]])}var Ke={A:"01",B:"02",C:"03",D:"04",E:"05",H:"06",L:"07",M:"08",P:"09",R:"10",S:"11",T:"12"},He=Ke[H[8]],ye=parseInt(H[9]+H[10],10);ye>40&&(ye-=40),ye<10&&(ye="0".concat(ye));var Le="".concat(H[6]).concat(H[7],"/").concat(He,"/").concat(ye);if(!(0,a.default)(Le,"YY/MM/DD"))return!1;for(var Ue=0,Xe=1;Xe<H.length-1;Xe+=2){var Fe=parseInt(H[Xe],10);isNaN(Fe)&&(Fe=H[Xe].charCodeAt(0)-65),Ue+=Fe}for(var ht={A:1,B:0,C:5,D:7,E:9,F:13,G:15,H:17,I:19,J:21,K:2,L:4,M:18,N:20,O:11,P:3,Q:6,R:8,S:12,T:14,U:16,V:10,W:22,X:25,Y:24,Z:23,0:1,1:0},Ne=0;Ne<H.length-1;Ne+=2){var Ce=0;if(H[Ne]in ht)Ce=ht[H[Ne]];else{var we=parseInt(H[Ne],10);Ce=2*we+1,we>4&&(Ce+=2)}Ue+=Ce}return String.fromCharCode(65+Ue%26)===H[15]}function U(fe){fe=fe.replace(/\W/,"");var H=fe.slice(0,2);if(H!=="32"){var z=fe.slice(2,4);if(z!=="00"){var _e=fe.slice(4,6);switch(fe[6]){case"0":_e="18".concat(_e);break;case"1":_e="19".concat(_e);break;default:_e="20".concat(_e);break}var ae="".concat(_e,"/").concat(fe.slice(2,4),"/").concat(H);if(!(0,a.default)(ae,"YYYY/MM/DD"))return!1}for(var ge=1101,Be=[1,6,3,7,9,10,5,8,4,2],Ke=0;Ke<fe.length-1;Ke++)ge-=parseInt(fe[Ke],10)*Be[Ke];return parseInt(fe[10],10)===ge%11}return!0}function j(fe){if(fe.length!==9){for(var H=fe.toUpperCase().split("");H.length<8;)H.unshift(0);switch(fe[7]){case"A":case"P":if(parseInt(H[6],10)===0)return!1;break;default:{var z=parseInt(H.join("").slice(0,5),10);if(z>32e3)return!1;var _e=parseInt(H.join("").slice(5,7),10);if(z===_e)return!1}}}return!0}function $(fe){return n.reverseMultiplyAndSum(fe.split("").slice(0,8).map(function(H){return parseInt(H,10)}),9)%11===parseInt(fe[8],10)}function ee(fe){if(fe.length===10){for(var H=[6,5,7,2,3,4,5,6,7],z=0,_e=0;_e<H.length;_e++)z+=parseInt(fe[_e],10)*H[_e];return z%=11,z===10?!1:z===parseInt(fe[9],10)}var ae=fe.slice(0,2),ge=parseInt(fe.slice(2,4),10);ge>80?(ae="18".concat(ae),ge-=80):ge>60?(ae="22".concat(ae),ge-=60):ge>40?(ae="21".concat(ae),ge-=40):ge>20?(ae="20".concat(ae),ge-=20):ae="19".concat(ae),ge<10&&(ge="0".concat(ge));var Be="".concat(ae,"/").concat(ge,"/").concat(fe.slice(4,6));if(!(0,a.default)(Be,"YYYY/MM/DD"))return!1;for(var Ke=0,He=1,ye=0;ye<fe.length-1;ye++)Ke+=parseInt(fe[ye],10)*He%10,He+=2,He>10?He=1:He===5&&(He+=2);return Ke=10-Ke%10,Ke===parseInt(fe[10],10)}function te(fe){if(fe.length===11){var H,z;if(H=0,fe==="11111111111"||fe==="22222222222"||fe==="33333333333"||fe==="44444444444"||fe==="55555555555"||fe==="66666666666"||fe==="77777777777"||fe==="88888888888"||fe==="99999999999"||fe==="00000000000")return!1;for(var _e=1;_e<=9;_e++)H+=parseInt(fe.substring(_e-1,_e),10)*(11-_e);if(z=H*10%11,z===10&&(z=0),z!==parseInt(fe.substring(9,10),10))return!1;H=0;for(var ae=1;ae<=10;ae++)H+=parseInt(fe.substring(ae-1,ae),10)*(12-ae);return z=H*10%11,z===10&&(z=0),z===parseInt(fe.substring(10,11),10)}if(fe==="00000000000000"||fe==="11111111111111"||fe==="22222222222222"||fe==="33333333333333"||fe==="44444444444444"||fe==="55555555555555"||fe==="66666666666666"||fe==="77777777777777"||fe==="88888888888888"||fe==="99999999999999")return!1;for(var ge=fe.length-2,Be=fe.substring(0,ge),Ke=fe.substring(ge),He=0,ye=ge-7,Le=ge;Le>=1;Le--)He+=Be.charAt(ge-Le)*ye,ye-=1,ye<2&&(ye=9);var Ue=He%11<2?0:11-He%11;if(Ue!==parseInt(Ke.charAt(0),10))return!1;ge+=1,Be=fe.substring(0,ge),He=0,ye=ge-7;for(var Xe=ge;Xe>=1;Xe--)He+=Be.charAt(ge-Xe)*ye,ye-=1,ye<2&&(ye=9);return Ue=He%11<2?0:11-He%11,Ue===parseInt(Ke.charAt(1),10)}function ie(fe){var H=11-n.reverseMultiplyAndSum(fe.split("").slice(0,8).map(function(z){return parseInt(z,10)}),9)%11;return H>9?parseInt(fe[8],10)===0:H===parseInt(fe[8],10)}function ne(fe){if(fe.slice(0,4)!=="9000"){var H=fe.slice(1,3);switch(fe[0]){case"1":case"2":H="19".concat(H);break;case"3":case"4":H="18".concat(H);break;case"5":case"6":H="20".concat(H);break;default:}var z="".concat(H,"/").concat(fe.slice(3,5),"/").concat(fe.slice(5,7));if(z.length===8){if(!(0,a.default)(z,"YY/MM/DD"))return!1}else if(!(0,a.default)(z,"YYYY/MM/DD"))return!1;for(var _e=fe.split("").map(function(Ke){return parseInt(Ke,10)}),ae=[2,7,9,1,4,6,3,5,8,2,7,9],ge=0,Be=0;Be<ae.length;Be++)ge+=_e[Be]*ae[Be];return ge%11===10?_e[12]===1:_e[12]===ge%11}return!0}function pe(fe){if(fe.length===9){if(fe=fe.replace(/\W/,""),fe.slice(6)==="000")return!1;var H=parseInt(fe.slice(0,2),10);if(H>53)return!1;H<10?H="190".concat(H):H="19".concat(H);var z=parseInt(fe.slice(2,4),10);z>50&&(z-=50),z<10&&(z="0".concat(z));var _e="".concat(H,"/").concat(z,"/").concat(fe.slice(4,6));if(!(0,a.default)(_e,"YYYY/MM/DD"))return!1}return!0}function oe(fe){var H=11-n.reverseMultiplyAndSum(fe.split("").slice(0,7).map(function(z){return parseInt(z,10)}),8)%11;return H===10?parseInt(fe[7],10)===0:H===parseInt(fe[7],10)}function q(fe){var H=fe.slice(0);fe.length>11&&(H=H.slice(2));var z="",_e=H.slice(2,4),ae=parseInt(H.slice(4,6),10);if(fe.length>11)z=fe.slice(0,4);else if(z=fe.slice(0,2),fe.length===11&&ae<60){var ge=new Date().getFullYear().toString(),Be=parseInt(ge.slice(0,2),10);if(ge=parseInt(ge,10),fe[6]==="-")parseInt("".concat(Be).concat(z),10)>ge?z="".concat(Be-1).concat(z):z="".concat(Be).concat(z);else if(z="".concat(Be-1).concat(z),ge-parseInt(z,10)<100)return!1}ae>60&&(ae-=60),ae<10&&(ae="0".concat(ae));var Ke="".concat(z,"/").concat(_e,"/").concat(ae);if(Ke.length===8){if(!(0,a.default)(Ke,"YY/MM/DD"))return!1}else if(!(0,a.default)(Ke,"YYYY/MM/DD"))return!1;return n.luhnCheck(fe.replace(/\W/,""))}var J={"bg-BG":/^\d{10}$/,"cs-CZ":/^\d{6}\/{0,1}\d{3,4}$/,"de-AT":/^\d{9}$/,"de-DE":/^[1-9]\d{10}$/,"dk-DK":/^\d{6}-{0,1}\d{4}$/,"el-CY":/^[09]\d{7}[A-Z]$/,"el-GR":/^([0-4]|[7-9])\d{8}$/,"en-GB":/^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i,"en-IE":/^\d{7}[A-W][A-IW]{0,1}$/i,"en-US":/^\d{2}[- ]{0,1}\d{7}$/,"es-ES":/^(\d{0,8}|[XYZKLM]\d{7})[A-HJ-NP-TV-Z]$/i,"et-EE":/^[1-6]\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\d$/,"fi-FI":/^\d{6}[-+A]\d{3}[0-9A-FHJ-NPR-Y]$/i,"fr-BE":/^\d{11}$/,"fr-FR":/^[0-3]\d{12}$|^[0-3]\d\s\d{2}(\s\d{3}){3}$/,"fr-LU":/^\d{13}$/,"hr-HR":/^\d{11}$/,"hu-HU":/^8\d{9}$/,"it-IT":/^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,"lv-LV":/^\d{6}-{0,1}\d{5}$/,"mt-MT":/^\d{3,7}[APMGLHBZ]$|^([1-8])\1\d{7}$/i,"nl-NL":/^\d{9}$/,"pl-PL":/^\d{10,11}$/,"pt-BR":/(?:^\d{11}$)|(?:^\d{14}$)/,"pt-PT":/^\d{9}$/,"ro-RO":/^\d{13}$/,"sk-SK":/^\d{6}\/{0,1}\d{3,4}$/,"sl-SI":/^[1-9]\d{7}$/,"sv-SE":/^(\d{6}[-+]{0,1}\d{4}|(18|19|20)\d{6}[-+]{0,1}\d{4})$/};J["lb-LU"]=J["fr-LU"],J["lt-LT"]=J["et-EE"],J["nl-BE"]=J["fr-BE"];var me={"bg-BG":y,"cs-CZ":O,"de-AT":P,"de-DE":C,"dk-DK":A,"el-CY":S,"el-GR":T,"en-IE":s,"en-US":E,"es-ES":I,"et-EE":L,"fi-FI":W,"fr-BE":F,"fr-FR":G,"fr-LU":k,"hr-HR":x,"hu-HU":M,"it-IT":R,"lv-LV":U,"mt-MT":j,"nl-NL":$,"pl-PL":ee,"pt-BR":te,"pt-PT":ie,"ro-RO":ne,"sk-SK":pe,"sl-SI":oe,"sv-SE":q};me["lb-LU"]=me["fr-LU"],me["lt-LT"]=me["et-EE"],me["nl-BE"]=me["fr-BE"];var re=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,he={"de-AT":re,"de-DE":/[\/\\]/g,"fr-BE":re};he["nl-BE"]=he["fr-BE"];function Ee(fe){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"en-US";(0,o.default)(fe);var z=fe.slice(0);if(H in J)return H in he&&(z=z.replace(he[H],"")),J[H].test(z)?H in me?me[H](z):!0:!1;throw new Error("Invalid locale '".concat(H,"'"))}b.exports=l.default,b.exports.default=l.default},172152:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=P;var r=i(e(514868)),o=i(e(287933)),n=i(e(567227)),a=i(e(442869));function i(C){return C&&C.__esModule?C:{default:C}}function c(C,A){return g(C)||h(C,A)||f(C,A)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(C,A){if(C){if(typeof C=="string")return d(C,A);var S=Object.prototype.toString.call(C).slice(8,-1);if(S==="Object"&&C.constructor&&(S=C.constructor.name),S==="Map"||S==="Set")return Array.from(C);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return d(C,A)}}function d(C,A){(A==null||A>C.length)&&(A=C.length);for(var S=0,T=new Array(A);S<A;S++)T[S]=C[S];return T}function h(C,A){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(C)))){var S=[],T=!0,s=!1,v=void 0;try{for(var m=C[Symbol.iterator](),E;!(T=(E=m.next()).done)&&(S.push(E.value),!(A&&S.length===A));T=!0);}catch(I){s=!0,v=I}finally{try{!T&&m.return!=null&&m.return()}finally{if(s)throw v}}return S}}function g(C){if(Array.isArray(C))return C}var _={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},p=/^\[([^\]]+)\](?::([0-9]+))?$/;function y(C){return Object.prototype.toString.call(C)==="[object RegExp]"}function O(C,A){for(var S=0;S<A.length;S++){var T=A[S];if(C===T||y(T)&&T.test(C))return!0}return!1}function P(C,A){if((0,r.default)(C),!C||/[\s<>]/.test(C)||C.indexOf("mailto:")===0||(A=(0,a.default)(A,_),A.validate_length&&C.length>=2083)||!A.allow_fragments&&C.includes("#")||!A.allow_query_components&&(C.includes("?")||C.includes("&")))return!1;var S,T,s,v,m,E,I,L;if(I=C.split("#"),C=I.shift(),I=C.split("?"),C=I.shift(),I=C.split("://"),I.length>1){if(S=I.shift().toLowerCase(),A.require_valid_protocol&&A.protocols.indexOf(S)===-1)return!1}else{if(A.require_protocol)return!1;if(C.substr(0,2)==="//"){if(!A.allow_protocol_relative_urls)return!1;I[0]=C.substr(2)}}if(C=I.join("://"),C==="")return!1;if(I=C.split("/"),C=I.shift(),C===""&&!A.require_host)return!0;if(I=C.split("@"),I.length>1){if(A.disallow_auth||I[0]===""||(T=I.shift(),T.indexOf(":")>=0&&T.split(":").length>2))return!1;var W=T.split(":"),F=c(W,2),G=F[0],k=F[1];if(G===""&&k==="")return!1}v=I.join("@"),E=null,L=null;var x=v.match(p);if(x?(s="",L=x[1],E=x[2]||null):(I=v.split(":"),s=I.shift(),I.length&&(E=I.join(":"))),E!==null&&E.length>0){if(m=parseInt(E,10),!/^[0-9]+$/.test(E)||m<=0||m>65535)return!1}else if(A.require_port)return!1;return A.host_whitelist?O(s,A.host_whitelist):!(!(0,n.default)(s)&&!(0,o.default)(s,A)&&(!L||!(0,n.default)(L,6))||(s=s||L,A.host_blacklist&&O(s,A.host_blacklist)))}b.exports=l.default,b.exports.default=l.default},379412:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n={1:/^[0-9A-F]{8}-[0-9A-F]{4}-1[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,2:/^[0-9A-F]{8}-[0-9A-F]{4}-2[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};function a(i,c){(0,r.default)(i);var u=n[[void 0,null].includes(c)?"all":c];return!!u&&u.test(i)}b.exports=l.default,b.exports.default=l.default},549246:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(514868));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a),a===a.toUpperCase()}b.exports=l.default,b.exports.default=l.default},265642:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a,l.vatMatchers=void 0;var r=o(e(514868));function o(i){return i&&i.__esModule?i:{default:i}}var n={GB:/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/,IT:/^(IT)?[0-9]{11}$/,NL:/^(NL)?[0-9]{9}B[0-9]{2}$/};l.vatMatchers=n;function a(i,c){if((0,r.default)(i),(0,r.default)(c),c in n)return n[c].test(i);throw new Error("Invalid country code: '".concat(c,"'"))}},531999:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var r=a(e(514868)),o=e(877464),n=e(672075);function a(c){return c&&c.__esModule?c:{default:c}}function i(c){return(0,r.default)(c),o.fullWidth.test(c)&&n.halfWidth.test(c)}b.exports=l.default,b.exports.default=l.default},817913:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(514868));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){(0,r.default)(a);for(var c=a.length-1;c>=0;c--)if(i.indexOf(a[c])===-1)return!1;return!0}b.exports=l.default,b.exports.default=l.default},28208:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(514868));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){(0,r.default)(a);var c=i?new RegExp("^[".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return a.replace(c,"")}b.exports=l.default,b.exports.default=l.default},120646:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(514868));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i,c){return(0,r.default)(a),Object.prototype.toString.call(i)!=="[object RegExp]"&&(i=new RegExp(i,c)),i.test(a)}b.exports=l.default,b.exports.default=l.default},231931:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=d;var r=o(e(442869));function o(h){return h&&h.__esModule?h:{default:h}}var n={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},a=["icloud.com","me.com"],i=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],c=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],u=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function f(h){return h.length>1?h:""}function d(h,g){g=(0,r.default)(g,n);var _=h.split("@"),p=_.pop(),y=_.join("@"),O=[y,p];if(O[1]=O[1].toLowerCase(),O[1]==="gmail.com"||O[1]==="googlemail.com"){if(g.gmail_remove_subaddress&&(O[0]=O[0].split("+")[0]),g.gmail_remove_dots&&(O[0]=O[0].replace(/\.+/g,f)),!O[0].length)return!1;(g.all_lowercase||g.gmail_lowercase)&&(O[0]=O[0].toLowerCase()),O[1]=g.gmail_convert_googlemaildotcom?"gmail.com":O[1]}else if(a.indexOf(O[1])>=0){if(g.icloud_remove_subaddress&&(O[0]=O[0].split("+")[0]),!O[0].length)return!1;(g.all_lowercase||g.icloud_lowercase)&&(O[0]=O[0].toLowerCase())}else if(i.indexOf(O[1])>=0){if(g.outlookdotcom_remove_subaddress&&(O[0]=O[0].split("+")[0]),!O[0].length)return!1;(g.all_lowercase||g.outlookdotcom_lowercase)&&(O[0]=O[0].toLowerCase())}else if(c.indexOf(O[1])>=0){if(g.yahoo_remove_subaddress){var P=O[0].split("-");O[0]=P.length>1?P.slice(0,-1).join("-"):P[0]}if(!O[0].length)return!1;(g.all_lowercase||g.yahoo_lowercase)&&(O[0]=O[0].toLowerCase())}else u.indexOf(O[1])>=0?((g.all_lowercase||g.yandex_lowercase)&&(O[0]=O[0].toLowerCase()),O[1]="yandex.ru"):g.all_lowercase&&(O[0]=O[0].toLowerCase());return O.join("@")}b.exports=l.default,b.exports.default=l.default},962505:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(514868));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){if((0,r.default)(a),i){var c=new RegExp("[".concat(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g");return a.replace(c,"")}for(var u=a.length-1;/\s/.test(a.charAt(u));)u-=1;return a.slice(0,u+1)}b.exports=l.default,b.exports.default=l.default},17176:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=n(e(514868)),o=n(e(583933));function n(i){return i&&i.__esModule?i:{default:i}}function a(i,c){(0,r.default)(i);var u=c?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,o.default)(i,u)}b.exports=l.default,b.exports.default=l.default},362122:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(514868));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){return(0,r.default)(a),i?a==="1"||/^true$/i.test(a):a!=="0"&&!/^false$/i.test(a)&&a!==""}b.exports=l.default,b.exports.default=l.default},494907:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(514868));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a),a=Date.parse(a),isNaN(a)?null:new Date(a)}b.exports=l.default,b.exports.default=l.default},694717:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(189797));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a)?parseFloat(a):NaN}b.exports=l.default,b.exports.default=l.default},53059:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(514868));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){return(0,r.default)(a),parseInt(a,i||10)}b.exports=l.default,b.exports.default=l.default},482773:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var r=n(e(962505)),o=n(e(28208));function n(i){return i&&i.__esModule?i:{default:i}}function a(i,c){return(0,r.default)((0,o.default)(i,c),c)}b.exports=l.default,b.exports.default=l.default},15373:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(514868));function o(a){return a&&a.__esModule?a:{default:a}}function n(a){return(0,r.default)(a),a.replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#x2F;/g,"/").replace(/&#x5C;/g,"\\").replace(/&#96;/g,"`").replace(/&amp;/g,"&")}b.exports=l.default,b.exports.default=l.default},734729:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.iso7064Check=e,l.luhnCheck=r,l.reverseMultiplyAndSum=o,l.verhoeffCheck=n;function e(a){for(var i=10,c=0;c<a.length-1;c++)i=(parseInt(a[c],10)+i)%10===0?10*2%11:(parseInt(a[c],10)+i)%10*2%11;return i=i===1?0:11-i,i===parseInt(a[10],10)}function r(a){for(var i=0,c=!1,u=a.length-1;u>=0;u--){if(c){var f=parseInt(a[u],10)*2;f>9?i+=f.toString().split("").map(function(d){return parseInt(d,10)}).reduce(function(d,h){return d+h},0):i+=f}else i+=parseInt(a[u],10);c=!c}return i%10===0}function o(a,i){for(var c=0,u=0;u<a.length;u++)c+=a[u]*(i-u);return c}function n(a){for(var i=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],c=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],u=a.split("").reverse().join(""),f=0,d=0;d<u.length;d++)f=i[f][c[d%8][parseInt(u[d],10)]];return f===0}},514868:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=r;function e(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(a){return typeof a}:e=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},e(o)}function r(o){var n=typeof o=="string"||o instanceof String;if(!n){var a=e(o);throw o===null?a="null":a==="object"&&(a=o.constructor.name),new TypeError("Expected a string but received a ".concat(a))}}b.exports=l.default,b.exports.default=l.default},487138:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e=function(n,a){return n.some(function(i){return a===i})},r=e;l.default=r,b.exports=l.default,b.exports.default=l.default},442869:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=e;function e(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;for(var n in o)typeof r[n]>"u"&&(r[n]=o[n]);return r}b.exports=l.default,b.exports.default=l.default},483413:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=e;function e(r,o){var n=r.join("");return new RegExp(n,o)}b.exports=l.default,b.exports.default=l.default},950847:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=r;function e(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?e=function(a){return typeof a}:e=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},e(o)}function r(o){return e(o)==="object"&&o!==null?typeof o.toString=="function"?o=o.toString():o="[object Object]":(o===null||typeof o>"u"||isNaN(o)&&!o.length)&&(o=""),String(o)}b.exports=l.default,b.exports.default=l.default},171314:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=n;var r=o(e(514868));function o(a){return a&&a.__esModule?a:{default:a}}function n(a,i){return(0,r.default)(a),a.replace(new RegExp("[^".concat(i,"]+"),"g"),"")}b.exports=l.default,b.exports.default=l.default},497681:function(b){"use strict";var l=!1,e=function(){};if(l){var r=function(n,a){var i=arguments.length;a=new Array(i>1?i-1:0);for(var c=1;c<i;c++)a[c-1]=arguments[c];var u=0,f="Warning: "+n.replace(/%s/g,function(){return a[u++]});typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}};e=function(o,n,a){var i=arguments.length;a=new Array(i>2?i-2:0);for(var c=2;c<i;c++)a[c-2]=arguments[c];if(n===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");o||r.apply(null,[n].concat(a))}}b.exports=e},556635:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(657408);function o(){var n;return(n=(0,r.getWebsiteContext)())===null||n===void 0?void 0:n.isCircleMemberWebsite}},641779:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(213865),o=e(885630);function n(){return(0,o.i)(r.breakpoints).platform==="desktop"}},371533:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(657408),o=e(720406),n=e.n(o);function a(){var i;return((i=(0,r.getWebsiteContext)())===null||i===void 0?void 0:i.templateVersion)===n().SEVEN_ONE}},318198:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(840747),o=e(657408),n=e(582388),a=e.n(n);function i(){var c,u,f;const d=(c=(0,r.getAccountContext)())===null||c===void 0||(c=c.authenticatedAccount)===null||c===void 0?void 0:c.email;if(!d)return!1;const h=((u=(0,o.getWebsiteContext)())===null||u===void 0||(u=u.website)===null||u===void 0||(u=u.siteStatus)===null||u===void 0?void 0:u.value)===a().INTERNAL,g=d.toLowerCase().endsWith("@squarespace.com"),_=!!((f=(0,r.getAccountContext)())!==null&&f!==void 0&&f.impersonatedSession);return h||g||_}},828200:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(657408),o=e(582388),n=e.n(o);function a(){var i;return((i=(0,r.getWebsiteContext)())===null||i===void 0||(i=i.website)===null||i===void 0?void 0:i.siteStatus.value)===n().EXPIRED}},439189:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(657408),o=e(582388),n=e.n(o);function a(){var i;return((i=(0,r.getWebsiteContext)())===null||i===void 0||(i=i.website)===null||i===void 0?void 0:i.siteStatus.value)===n().TRIAL}},758714:function(b,l,e){"use strict";e.d(l,{b:()=>S,y:()=>A});var r=e(392338),o=e(774692),n=e(171903),a=e(642198),i=e(618071),c=e(318198),u=e(228946),f=e(431925);const d="o3R1qOn9DAKe7fv89u9NKYtR528LdlKRFukVAGVDHD0OyHdrhEB9ZgGmEiqpvncM",h=T=>T===d?"activation_universal_holdout_group_2025":T,g=T=>T==null?void 0:T.secondary_exposures.find(s=>typeof s=="string"?!1:s.gate===d),_="LiPL7GWL9PTHj3925Ax3ElKtMwTblM9KnBDuSlWPrJK",p="31tBaQPSYQ5unyrnmC7rVfNtBUTMGpnASH7ikqbbshI9JEyIIZMJR9LLm560QpDKbm6EC7jTHfRFX332xkvS3s",y=T=>{const s=T==null?void 0:T.secondary_exposures.find(v=>typeof v=="string"?!1:v.gate===_||v.gate===p);return(s==null?void 0:s.gateValue)==="true"},O="variant",P="control",C="test",A=T=>{let{defaultVariant:s,experimentName:v,team:m,experimentVariants:E}=T;const I=G=>typeof G!="string"?!1:E.includes(G),L=(0,c.Z)(),W=()=>{const k=(0,a.h)(v,m).get(O,s),x=(0,i.G)(v,m);return L&&I(x)?x:I(k)?k:((0,f.Tb)(`Unexpected variant ${k} for experiment ${v}`),s)};return{getVariant:W,fireAssignmentEvent:G=>{var k;const x=(0,a.h)(v,m),M=!L&&((k=x.__evaluation)===null||k===void 0?void 0:k.is_experiment_active)&&x.__evaluation.is_user_in_experiment,B=y(x.__evaluation),R=g(x.__evaluation),U={is_holdout_eligible:B,is_holdout_group:(R==null?void 0:R.gateValue)==="true",holdout_name:R?h(R.gate):null};(0,o.trackAssignmentEvent)(x,m,{...U,...G}),M&&(0,u.fireEvent)("statsig_experiment_assignment",{[v]:W()})}}},S=T=>{let{featureFlag:s,...v}=T;const{getVariant:m,fireAssignmentEvent:E}=A({...v,defaultVariant:P,experimentVariants:["control","test"]});return{isEnabled:()=>m()===C,fireAssignmentEvent:E,isFeatureFlagEnabled:()=>(0,n.x)(s)}}},673223:function(b,l,e){"use strict";e.d(l,{u:()=>c});var r=e(171903),o=e(618071),n=e(318198),a=e(642198);const i="true",c=u=>{let{featureGateName:f,featureFlag:d,team:h}=u;return{isEnabled:()=>{const p=(0,o.G)(f,h);return(0,n.Z)()&&p!==null?p===i:(0,a.m)(f,h)||(0,r.x)(d)}}}},642198:function(b,l,e){"use strict";e.d(l,{h:()=>a,m:()=>i});var r=e(663634),o=e(618071);const n=(c,u)=>((0,o.H)(c,u),(0,r.GC)()),a=(c,u)=>n(u,c).getExperiment(c),i=(c,u)=>n(u,c).checkGate(c)},867287:function(b,l,e){"use strict";e.d(l,{SZ:()=>u,Wj:()=>n,fx:()=>c,hq:()=>a,pD:()=>i});var r=e(935662),o=e.n(r);let n=function(f){return f.AI_DISCOUNT_GENERATION="ai-discount-generation",f.AI_PRODUCT_COMPOSER_V2="ai-product-composer-v2",f.SETUP_GUIDE_LANDING="setup-guide_landing",f.SETUP_GUIDE_MERCH_WIDGET="setup-guide_merch-widget",f.SETUP_GUIDE_MERCH_AND_VIDEO_WIDGETS="setup-guide_merch-and-video-widgets",f.SETUP_GUIDE_REGISTRATION_SELLERS_GUIDE="setup-guide_registration-sellers-guide",f}({}),a=function(f){return f.MARKETING_BANNER_V1="marketing_banner_v1",f}({}),i=function(f){return f.IN_PRODUCT_NOTIFICATIONS_V1="in_product_notifications_v1",f[f.HOME_DASHBOARD=o().HOME_DASHBOARD]="HOME_DASHBOARD",f[f.HOME_DASHBOARD_WITHOUT_CUSTOMIZATION=o().HOME_DASHBOARD_WITHOUT_CUSTOMIZATION]="HOME_DASHBOARD_WITHOUT_CUSTOMIZATION",f[f.HOME_DASHBOARD_ANALYTICS_WIDGET=o().HOME_DASHBOARD_ANALYTICS_WIDGET]="HOME_DASHBOARD_ANALYTICS_WIDGET",f}({}),c=function(f){return f.HOME_DASHBOARD_CUSTOMIZATION="home_dashboard_customization",f.HOME_DASHBOARD_ROLLOUT="home_dashboard_rollout",f}({}),u=function(f){return f.ACTIVATION_ENGINE="activation-engine",f.ACTIVATION_FUNNEL="activation-funnel",f}({})},171903:function(b,l,e){"use strict";e.d(l,{x:()=>o});var r=e(762379);const o=n=>!!(n&&r.Z.isFeatureEnabled(n))},618071:function(b,l,e){"use strict";e.d(l,{G:()=>u,H:()=>c});var r=e(431925),o=e(867287);const n=(f,d)=>`${f}_${d}`,a=new Set(Object.values(o.SZ).flatMap(f=>[...Object.values(o.Wj),...Object.values(o.hq),...Object.values(o.pD),...Object.values(o.fx)].map(d=>n(f,d)))),i=(f,d)=>a.has(n(f,d)),c=(f,d)=>{const h=new URLSearchParams(window.location.search.toLocaleLowerCase());try{h.forEach((g,_)=>{i(f,d)&&sessionStorage.setItem(_,g)})}catch(g){(0,r.Tb)("Failed to write query param override to session storage",g)}},u=(f,d)=>{try{return sessionStorage.getItem(n(d,f))}catch(h){return(0,r.Tb)("Failed to read query param override to session storage",h),null}}},431925:function(b,l,e){"use strict";e.d(l,{S2:()=>i,Tb:()=>a,Xz:()=>c,j1:()=>o,r2:()=>u,uT:()=>n});var r=e(141117);const{BaseErrorBoundary:o,captureMessage:n,captureException:a,withRenderFallbackOnError:i,withRenderNothingOnError:c,withUnwrapProviderOnError:u}=(0,r.Z)({project:"activation-utils"})},734932:function(b,l,e){"use strict";e.d(l,{O:()=>r});let r=function(o){return o.Cached="cached",o.Deleted="deleted",o.Edited="edited",o.Unedited="unedited",o}({})},604041:function(b,l,e){"use strict";e.d(l,{Gw:()=>r,H8:()=>o,hm:()=>n});const r=a=>!!a.campaignId,o=a=>!!a.blockId,n=a=>!!a.productId},972242:function(b,l,e){"use strict";e.d(l,{c:()=>a});var r=e(456903),o=e(505685),n=e(911576);const a=async i=>{let{brandCategoryId:c,brandId:u,brandName:f,description:d,method:h,tone:g,visualTone:_,version:p,websiteId:y}=i;const O=`/api/v1/brand-identity-service/brands/tenants/WEBSITE/${y}`;try{let A;switch(h){case"GET":{A=await r.default.get(O);break}case"POST":{A=await r.default.post(O,{description:d,name:f,tone:g,visualTone:_});break}case"PUT":{A=await r.default.put(O,{brandCategoryId:c,description:d,name:f,id:u,tone:g,visualTone:_,version:p});break}}return{data:A.data}}catch(A){var P;if(!A||!(A!=null&&(P=A.response)!==null&&P!==void 0&&P.data)){var C;return o.Z.withSquarespaceScope(()=>{o.Z.captureException(A)}),{error:{status:(A==null||(C=A.response)===null||C===void 0?void 0:C.status)||500}}}const S=A.response.data;return!(0,n.E3)(S)&&!(0,n.YO)(S)&&o.Z.withSquarespaceScope(()=>{o.Z.captureException(A)}),{error:S}}}},911576:function(b,l,e){"use strict";e.d(l,{E3:()=>i,HT:()=>h,YO:()=>c,rr:()=>u});var r=e(300036);let o=function(g){return g.BrandVersionMismatch="BRAND_VERSION_MISMATCH",g.BrandNotFound="BRAND_NOT_FOUND",g.TenantNotFound="TENANT_NOT_FOUND",g}({});const n=g=>!!g&&g.hasOwnProperty("type"),a=g=>n(g)&&g.type===o.BrandVersionMismatch,i=g=>n(g)&&g.type===o.BrandNotFound,c=g=>n(g)&&g.type===o.TenantNotFound,u=g=>{if(n(g))return g.type??g.message},f=(0,r.t)("This form is out of date. Please refresh the page and try again.",null,{project:"assetManagement.aiWriter"}),d=(0,r.t)("Something went wrong. Please try again later.",null,{project:"assetManagement.aiWriter"}),h=g=>a(g)?f:d},300036:function(b,l,e){"use strict";e.d(l,{T:()=>g,_6:()=>s,t:()=>T});var r=e(555912),o=e(470407),n=e(59794),a=e(811699);const i=(0,a.Z)(),c=new n.default(i),u=new r.default(i),f=new o.default(i),{formatIcuMessage:d}=u,{parseNumber:h}=f,{T:g,Plural:_,FormattedCurrency:p,FormattedNumber:y,FormattedDateTime:O}=c,{formatNumber:P,formatCurrency:C,getCurrencySymbol:A,formatQuantity:S,translate:T,pluralize:s}=i},811699:function(b,l,e){"use strict";e.d(l,{U:()=>i,Z:()=>a});var r=e(638204);const o="assetManagement.aiWriter";function n(c){return e(621551)(`./${o}.${c}.yaml`)}const{getI18nInstance:a,setI18nInstance:i}=(0,r.setupLibrary)(o,n)},378201:function(b,l,e){"use strict";e.d(l,{V:()=>r});const r="aiWriter"},565983:function(b,l,e){"use strict";e.d(l,{G9:()=>O,Jr:()=>y,Ll:()=>A,MH:()=>C,aQ:()=>s,oT:()=>S,zT:()=>P});var r=e(392338),o=e.n(r),n=e(604041),a=e(722448),i=e.n(a),c=e(897071),u=e.n(c),f=e(221661),d=e.n(f),h=e(981491),g=e(484248);const _="SquarespaceAdminEvents";class p{constructor(m){let{customSchemaName:E}=m;this.customSchemaName=E;const I={event_owner_team:"content",event_source:"web",actor:"user"},L=!1,W=L?f.SourceEnvironment.DEV:h.isInternal()?f.SourceEnvironment.STAGING:f.SourceEnvironment.PROD,F={customSchemaName:E,logging:L,sourceEnvironment:W};this.defaultConfig={...I},this.tracker=new(d())(F,this.defaultConfig),E==="RichTextEditor"&&(this.legacyTracker=new(u())({...F,customSchemaName:"cms_v7"},this.defaultConfig))}setTrackingValues(m){this.defaultConfig.context_website_id=m.websiteId,this.defaultConfig.member_account_id=m.accountId,this.defaultConfig.member_account_locale=m.accountLocale,this.defaultConfig.product_area=m.productArea??"unknown",this.defaultConfig.product_area_level_2=m.productAreaLevel2,this.defaultConfig.product_section=m.productSection,this.defaultConfig.user_member_account_id=m.accountId,this.defaultConfig.user_website_id=m.websiteId,this.defaultConfig.website_locale=m.websiteLocale,(0,n.Gw)(m)&&(this.defaultConfig.campaign_id=m.campaignId,this.defaultConfig.composer_type=m.composerType,this.defaultConfig.property_path=m.propertyPath,this.defaultConfig.section_type=m.sectionType),(0,n.H8)(m)&&(this.defaultConfig.block_id=m.blockId,this.defaultConfig.collection_id=m.collectionId,this.defaultConfig.indirect_object_value=m.blockTypeName,this.defaultConfig.layout_type=m.layoutType,this.defaultConfig.section_id=m.sectionId,this.defaultConfig.selected_template_id=m.selectedTemplateId,this.defaultConfig.selected_template_identifier=m.selectedTemplateIdentifier),(0,n.hm)(m)&&(this.defaultConfig.product_id=m.productId),window.BroadcastChannel&&m.accessPermissions&&m.accessPermissions.includes(i().ADMIN)&&(this.bc=new BroadcastChannel(_))}track(m){if(!this.tracker){console.warn("Event is firing before the environment is initialized!");return}if(this.tracker.track(m),this.customSchemaName==="RichTextEditor")if(m.event_name==="SystemInsertsAIText"){var E;(E=this.legacyTracker)===null||E===void 0||E.track({...m,event_name:"UserInsertsAIText",action:g.kA.Input,object_type:g.W9.TextEditor})}else{var I;(I=this.legacyTracker)===null||I===void 0||I.track(m)}this.bc&&this.bc.postMessage({squarespaceEventPayload:m})}}const y=new p({customSchemaName:"AIProxy"}),O=new p({customSchemaName:"RichTextEditor"}),P=new p({customSchemaName:"Legal"}),C=new p({customSchemaName:"BrandIdentity"}),A=v=>{C.setTrackingValues(v)},S=v=>{P.setTrackingValues(v)},T=v=>{y.setTrackingValues(v)},s=v=>{O.setTrackingValues(v),S(v),A(v),T(v)}},484248:function(b,l,e){"use strict";e.d(l,{GN:()=>n,W9:()=>o,kA:()=>r});let r=function(a){return a.Click="click",a.Discard="discard",a.Generate="generate",a.Input="input",a.Insert="insert",a.Save="save",a.View="view",a}({}),o=function(a){return a.Button="button",a.Changes="changes",a.Checkbox="checkbox",a.Error="error",a.Modal="modal",a.Preview="preview",a.Text="text",a.TextEditor="texteditor",a.Warning="warning",a}({}),n=function(a){return a.AIDiscardText="ai-discard-text",a.AIErrorCharacterLimit="ai-error-character-limit",a.AIErrorModal="ai-error-modal",a.AIInsertText="ai-insert-text",a.AILaunchButton="ai-launch-button",a.AILaunchModal="ai-launch-modal",a.AIModalDropdown="ai-modal-dropdown",a.AIMoreInfo="ai-more-info",a.AIStopRequest="ai-stop-request",a.AIUserInputText="ai-user-input-text",a.AIWarningModal="ai-warning-modal",a.BrandDescription="description-text",a.BrandCustomTone="custom-personality-text",a.BrandDiscardChanges="discard-changes",a.BrandPreview="brand-identity-preview",a.BrandPreviewError="brand-id-preview-error",a.BrandToneOption="select-personality",a.BrandSaveChanges="save-changes",a.BrandSaveError="save-error",a.BlurbPrompt="blurb-prompt",a.EmailPrompt="email-prompt",a.HelpModal="help-modal",a.OpenBrandIdentity="open-brand-identity",a.SavedResponse="saved-response",a.TOSModal="tos-modal",a.TOSModalCheckbox="tos-modal-checkbox",a.TOSModalConfirmation="tos-modal-confirmation",a}({})},508417:function(b,l,e){"use strict";e.d(l,{A:()=>n});var r=e(565983),o=e(484248);const n=a=>{r.Jr.track({event_name:"UserSavesGeneratedText",action:o.kA.Save,object_identifier:o.GN.SavedResponse,object_type:o.W9.Text,saved_responses:a.map(i=>{let{isEdited:c,responseId:u}=i;return{is_edited:!!c,response_id:u}})})}},505685:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(199040),o=e(247380),n=e.n(o);const a=new r.Z("ai-writer",n().WEBSITES_CONTENT)},712953:function(b,l,e){"use strict";e.d(l,{R:()=>u,y:()=>c});var r=e(392338),o=e.n(r),n=e(174161),a=e(734932),i=e(508417);const c=f=>{let{generatedResponses:d,savedResponses:h=[]}=f;if(!d)return{idsToSave:[],savedResponses:h};const g=[...h];return{idsToSave:Object.keys(d).filter(p=>!h.includes(p)).reduce((p,y)=>{const{status:O}=d[y];switch(O){case a.O.Deleted:case a.O.Cached:return p;case a.O.Edited:case a.O.Unedited:p.push({isEdited:O===a.O.Edited,responseId:y}),g.push(y);break}return p},[]),savedResponses:g}},u=()=>{const[f,d]=(0,n.useState)({}),[h,g]=(0,n.useState)([]);return{onGeneratedTextSave:(0,n.useCallback)(()=>{const{idsToSave:p,savedResponses:y}=c({generatedResponses:f,savedResponses:h});return p.length>0&&(0,i.A)(p),g(y),p},[f,h]),onGeneratedTextUpdate:d}}},621551:function(b,l,e){var r={"./assetManagement.aiWriter.en-US.yaml":"375392"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=621551},595875:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=u;var o=c(e(216010)),n=c(e(550887)),a=r(e(579085));function i(f){if(typeof WeakMap!="function")return null;var d=new WeakMap,h=new WeakMap;return(i=function(g){return g?h:d})(f)}function c(f,d){if(!d&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var h=i(d);if(h&&h.has(f))return h.get(f);var g={__proto__:null},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in f)if(p!=="default"&&Object.prototype.hasOwnProperty.call(f,p)){var y=_?Object.getOwnPropertyDescriptor(f,p):null;y&&(y.get||y.set)?Object.defineProperty(g,p,y):g[p]=f[p]}return g.default=f,h&&h.set(f,g),g}function u(f,d,h,g,_){const p=n.uid(f._actionsRegistry,`${d}.${h}`);f._actionsRegistry[p]=1;const y={id:p,namespace:d,name:h},O=T=>f.dispatch(p,T,y),P=function(){for(var T=arguments.length,s=new Array(T),v=0;v<T;v++)s[v]=arguments[v];const m=g.apply(_,s);let E=m;return m!==void 0&&!(0,a.default)(m)&&(o.isFunction(m)?E=m(O,f):O(m)),m===void 0&&n.warn("An action was called but nothing was dispatched"),E};P.defer=function(){for(var T=arguments.length,s=new Array(T),v=0;v<T;v++)s[v]=arguments[v];return setTimeout(()=>P.apply(null,s))},P.id=p,P.data=y;const C=f.actions[d],A=n.uid(C,h);C[A]=P;const S=n.formatAsConstant(A);return C[S]=p,P}b.exports=l.default},216010:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.assign=n,l.eachObject=o,l.isFunction=void 0,l.isMutableObject=r;const e=a=>typeof a=="function";l.isFunction=e;function r(a){const i=a.constructor;return!!a&&Object.prototype.toString.call(a)==="[object Object]"&&e(i)&&!Object.isFrozen(a)&&(i instanceof i||a.type==="AltStore")}function o(a,i){i.forEach(c=>{Object.keys(Object(c)).forEach(u=>{a(u,c[u])})})}function n(a){for(var i=arguments.length,c=new Array(i>1?i-1:0),u=1;u<i;u++)c[u-1]=arguments[u];return o((f,d)=>{a[f]=d},c),a}},38193:function(b,l,e){"use strict";b=e.nmd(b);var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=e(317509),n=d(e(675936)),a=d(e(216010)),i=d(e(553042)),c=d(e(550887)),u=r(e(595875));function f(_){if(typeof WeakMap!="function")return null;var p=new WeakMap,y=new WeakMap;return(f=function(O){return O?y:p})(_)}function d(_,p){if(!p&&_&&_.__esModule)return _;if(_===null||typeof _!="object"&&typeof _!="function")return{default:_};var y=f(p);if(y&&y.has(_))return y.get(_);var O={__proto__:null},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in _)if(C!=="default"&&Object.prototype.hasOwnProperty.call(_,C)){var A=P?Object.getOwnPropertyDescriptor(_,C):null;A&&(A.get||A.set)?Object.defineProperty(O,C,A):O[C]=_[C]}return O.default=_,y&&y.set(_,O),O}class h{constructor(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.config=p,this.serialize=p.serialize||JSON.stringify,this.deserialize=p.deserialize||JSON.parse,this.dispatcher=p.dispatcher||new o.Dispatcher,this.batchingFunction=p.batchingFunction||(y=>y()),this.actions={global:{}},this.stores={},this.storeTransforms=p.storeTransforms||[],this.trapAsync=!1,this._actionsRegistry={},this._initSnapshot={},this._lastSnapshot={}}dispatch(p,y,O){this.batchingFunction(()=>{const P=Math.random().toString(18).substr(2,16);if(p.hasOwnProperty("type")&&p.hasOwnProperty("payload")){const C={id:p.type,namespace:p.type,name:p.type};return this.dispatcher.dispatch(c.fsa(P,p.type,p.payload,C))}return p.id&&p.dispatch?c.dispatch(P,p,y,this):this.dispatcher.dispatch(c.fsa(P,p,y,O))})}createUnsavedStore(p){const y=p.displayName||"";i.createStoreConfig(this.config,p);const O=i.transformStore(this.storeTransforms,p);for(var P=arguments.length,C=new Array(P>1?P-1:0),A=1;A<P;A++)C[A-1]=arguments[A];return a.isFunction(O)?i.createStoreFromClass(this,O,y,...C):i.createStoreFromObject(this,O,y)}createStore(p,y){let O=y||p.displayName||p.name||"";i.createStoreConfig(this.config,p);const P=i.transformStore(this.storeTransforms,p);b.hot&&delete this.stores[O],(this.stores[O]||!O)&&(this.stores[O]?c.warn(`A store named ${O} already exists, double check your store names or pass in your own custom identifier for each store`):c.warn("Store name was not specified"),O=c.uid(this.stores,O));for(var C=arguments.length,A=new Array(C>2?C-2:0),S=2;S<C;S++)A[S-2]=arguments[S];const T=a.isFunction(P)?i.createStoreFromClass(this,P,O,...A):i.createStoreFromObject(this,P,O);return this.stores[O]=T,n.saveInitialSnapshot(this,O),T}generateActions(){const p={name:"global"};for(var y=arguments.length,O=new Array(y),P=0;P<y;P++)O[P]=arguments[P];return this.createActions(O.reduce((C,A)=>(C[A]=c.dispatchIdentity,C),p))}createAction(p,y,O){return(0,u.default)(this,"global",p,y,O)}createActions(p){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const O={},P=c.uid(this._actionsRegistry,p.displayName||p.name||"Unknown");if(a.isFunction(p)){a.assign(O,c.getPrototypeChain(p));class T extends p{constructor(){super(...arguments)}generateActions(){for(var v=arguments.length,m=new Array(v),E=0;E<v;E++)m[E]=arguments[E];m.forEach(I=>{O[I]=c.dispatchIdentity})}}for(var C=arguments.length,A=new Array(C>2?C-2:0),S=2;S<C;S++)A[S-2]=arguments[S];a.assign(O,new T(...A))}else a.assign(O,p);return this.actions[P]=this.actions[P]||{},a.eachObject((T,s)=>{if(!a.isFunction(s)){y[T]=s;return}y[T]=(0,u.default)(this,P,T,s,y);const v=c.formatAsConstant(T);y[v]=y[T].id},[O]),y}takeSnapshot(){for(var p=arguments.length,y=new Array(p),O=0;O<p;O++)y[O]=arguments[O];const P=n.snapshot(this,y);return a.assign(this._lastSnapshot,P),this.serialize(P)}rollback(){n.setAppState(this,this.serialize(this._lastSnapshot),p=>{p.lifecycle("rollback"),p.emitChange()})}recycle(){for(var p=arguments.length,y=new Array(p),O=0;O<p;O++)y[O]=arguments[O];const P=y.length?n.filterSnapshots(this,this._initSnapshot,y):this._initSnapshot;n.setAppState(this,this.serialize(P),C=>{C.lifecycle("init"),C.emitChange()})}flush(){const p=this.serialize(n.snapshot(this));return this.recycle(),p}bootstrap(p){n.setAppState(this,p,(y,O)=>{y.lifecycle("bootstrap",O),y.emitChange()})}prepare(p,y){const O={};if(!p.displayName)throw new ReferenceError("Store provided does not have a name");return O[p.displayName]=y,this.serialize(O)}addActions(p,y){for(var O=arguments.length,P=new Array(O>2?O-2:0),C=2;C<O;C++)P[C-2]=arguments[C];this.actions[p]=Array.isArray(y)?this.generateActions.apply(this,y):this.createActions(y,...P)}addStore(p,y){for(var O=arguments.length,P=new Array(O>2?O-2:0),C=2;C<O;C++)P[C-2]=arguments[C];this.createStore(y,p,...P)}getActions(p){return this.actions[p]}getStore(p){return this.stores[p]}static debug(p,y,O){const P="alt.js.org";let C=O;return!C&&typeof window<"u"&&(C=window),typeof C<"u"&&(C[P]=C[P]||[],C[P].push({name:p,alt:y})),y}}var g=l.default=h;b.exports=l.default},934172:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=i(e(216010)),n=r(e(75857));function a(f){if(typeof WeakMap!="function")return null;var d=new WeakMap,h=new WeakMap;return(a=function(g){return g?h:d})(f)}function i(f,d){if(!d&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var h=a(d);if(h&&h.has(f))return h.get(f);var g={__proto__:null},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in f)if(p!=="default"&&Object.prototype.hasOwnProperty.call(f,p)){var y=_?Object.getOwnPropertyDescriptor(f,p):null;y&&(y.get||y.set)?Object.defineProperty(g,p,y):g[p]=f[p]}return g.default=f,h&&h.set(f,g),g}class c{constructor(d,h,g,_){const p=h.lifecycleEvents;this.transmitter=(0,n.default)(),this.lifecycle=(P,C)=>{p[P]&&p[P].publish(C)},this.state=g,this.alt=d,this.preventDefault=!1,this.displayName=h.displayName,this.boundListeners=h.boundListeners,this.StoreModel=_,this.reduce=h.reduce||(P=>P),this.subscriptions=[];const y=h.output||(P=>P);this.emitChange=()=>this.transmitter.publish(y(this.state));const O=(P,C)=>{try{return P()}catch(A){if(h.handlesOwnErrors)return this.lifecycle("error",{error:A,payload:C,state:this.state}),!1;throw A}};o.assign(this,h.publicMethods),this.dispatchToken=d.dispatcher.register(P=>{this.preventDefault=!1,this.lifecycle("beforeEach",{payload:P,state:this.state});const C=h.actionListeners[P.action];if(C||h.otherwise){let A;C?A=O(()=>C.filter(Boolean).every(S=>S.call(h,P.data,P.action)!==!1),P):A=O(()=>h.otherwise(P.data,P.action),P),A!==!1&&!this.preventDefault&&this.emitChange()}h.reduce&&(O(()=>{const A=h.reduce(this.state,P);A!==void 0&&(this.state=A)},P),this.preventDefault||this.emitChange()),this.lifecycle("afterEach",{payload:P,state:this.state})}),this.lifecycle("init")}listen(d){if(!o.isFunction(d))throw new TypeError("listen expects a function");if(!this.subscriptions.find(g=>g.cb===d)){const{dispose:g}=this.transmitter.subscribe(d),_={cb:d,dispose:g};this.subscriptions.push(_)}return()=>this.unlisten(d)}unlisten(d){this.lifecycle("unlisten"),this.subscriptions=this.subscriptions.filter(h=>h.cb===d?(h.dispose(),!1):!0)}getState(){return this.StoreModel.config.getState.call(this,this.state)}}var u=l.default=c;b.exports=l.default},528918:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(75857)),n=i(e(216010));function a(f){if(typeof WeakMap!="function")return null;var d=new WeakMap,h=new WeakMap;return(a=function(g){return g?h:d})(f)}function i(f,d){if(!d&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var h=a(d);if(h&&h.has(f))return h.get(f);var g={__proto__:null},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in f)if(p!=="default"&&Object.prototype.hasOwnProperty.call(f,p)){var y=_?Object.getOwnPropertyDescriptor(f,p):null;y&&(y.get||y.set)?Object.defineProperty(g,p,y):g[p]=f[p]}return g.default=f,h&&h.set(f,g),g}const c={waitFor(){for(var f=arguments.length,d=new Array(f),h=0;h<f;h++)d[h]=arguments[h];if(!d.length)throw new ReferenceError("Dispatch tokens not provided");let g=d;d.length===1&&(g=Array.isArray(d[0])?d[0]:d);const _=g.map(p=>p.dispatchToken||p);this.dispatcher.waitFor(_)},exportAsync(f){this.registerAsync(f)},registerAsync(f){var d=this;let h=0;const g=n.isFunction(f)?f(this.alt):f,_=Object.keys(g).reduce((p,y)=>{const O=g[y],P=n.isFunction(O)?O(this):O;return["success","error","loading"].forEach(A=>{if(P[A]&&!P[A].id)throw new Error(`${A} handler must be an action function`)}),p[y]=function(){for(var A=arguments.length,S=new Array(A),T=0;T<A;T++)S[T]=arguments[T];const s=d.getInstance().getState(),v=P.local&&P.local(s,...S),m=P.shouldFetch?P.shouldFetch(s,...S):v==null,E=P.interceptResponse||(L=>L),I=(L,W)=>F=>{const G=()=>{if(h-=1,L(E(F,L,S)),W)throw F;return F};return d.alt.trapAsync?()=>G():G()};return m?(h+=1,P.loading&&P.loading(E(null,P.loading,S)),P.remote(s,...S).then(I(P.success),I(P.error,1))):(d.emitChange(),v)},p},{});this.exportPublicMethods(_),this.exportPublicMethods({isLoading:()=>h>0})},exportPublicMethods(f){n.eachObject((d,h)=>{if(!n.isFunction(h))throw new TypeError("exportPublicMethods expects a function");this.publicMethods[d]=h},[f])},emitChange(){this.getInstance().emitChange()},on(f,d){f==="error"&&(this.handlesOwnErrors=!0);const h=this.lifecycleEvents[f]||(0,o.default)();return this.lifecycleEvents[f]=h,h.subscribe(d.bind(this))},bindAction(f,d){if(!f)throw new ReferenceError("Invalid action reference passed in");if(!n.isFunction(d))throw new TypeError("bindAction expects a function");const h=f.id?f.id:f;this.actionListeners[h]=this.actionListeners[h]||[],this.actionListeners[h].push(d.bind(this)),this.boundListeners.push(h)},bindActions(f){n.eachObject((d,h)=>{const g=/./,_=d.replace(g,y=>`on${y[0].toUpperCase()}`);if(this[d]&&this[_])throw new ReferenceError(`You have multiple action handlers bound to an action: ${d} and ${_}`);const p=this[d]||this[_];p&&this.bindAction(h,p)},[f])},bindListeners(f){n.eachObject((d,h)=>{const g=this[d];if(!g)throw new ReferenceError(`${d} defined but does not exist in ${this.displayName}`);Array.isArray(h)?h.forEach(_=>{this.bindAction(_,g)}):this.bindAction(h,g)},[f])}};var u=l.default=c;b.exports=l.default},553042:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.createStoreConfig=h,l.createStoreFromClass=p,l.createStoreFromObject=_,l.transformStore=g;var o=u(e(550887)),n=u(e(216010)),a=r(e(934172)),i=r(e(528918));function c(y){if(typeof WeakMap!="function")return null;var O=new WeakMap,P=new WeakMap;return(c=function(C){return C?P:O})(y)}function u(y,O){if(!O&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var P=c(O);if(P&&P.has(y))return P.get(y);var C={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in y)if(S!=="default"&&Object.prototype.hasOwnProperty.call(y,S)){var T=A?Object.getOwnPropertyDescriptor(y,S):null;T&&(T.get||T.set)?Object.defineProperty(C,S,T):C[S]=y[S]}return C.default=y,P&&P.set(y,C),C}function f(y,O,P){if(!P)return;const{config:C}=O.StoreModel,A=n.isFunction(P)?P(O.state):P;O.state=C.setState.call(y,O.state,A),y.alt.dispatcher.isDispatching()||y.emitChange()}function d(y,O,P,C){return n.assign(y,i.default,{displayName:P,alt:O,dispatcher:O.dispatcher,preventDefault(){this.getInstance().preventDefault=!0},boundListeners:[],lifecycleEvents:{},actionListeners:{},publicMethods:{},handlesOwnErrors:!1},C)}function h(y,O){O.config=n.assign({getState(P){return Array.isArray(P)?P.slice():n.isMutableObject(P)?n.assign({},P):P},setState(P,C){return n.isMutableObject(C)?n.assign(P,C):C}},y,O.config)}function g(y,O){return y.reduce((P,C)=>C(P),O)}function _(y,O,P){let C=null;const A=d({},y,P,n.assign({getInstance(){return C},setState(S){f(this,C,S)}},O));return A.bindListeners&&i.default.bindListeners.call(A,A.bindListeners),A.observe&&i.default.bindListeners.call(A,A.observe(y)),A.lifecycle&&n.eachObject((S,T)=>{i.default.on.call(A,S,T)},[A.lifecycle]),C=n.assign(new a.default(y,A,A.state!==void 0?A.state:{},O),A.publicMethods,{displayName:P,config:O.config}),C}function p(y,O,P){let C=null;const{config:A}=O;class S extends O{constructor(){super(...arguments)}}d(S.prototype,y,P,{type:"AltStore",getInstance(){return C},setState(E){f(this,C,E)}});for(var T=arguments.length,s=new Array(T>3?T-3:0),v=3;v<T;v++)s[v-3]=arguments[v];const m=new S(...s);return A.bindListeners&&m.bindListeners(A.bindListeners),A.datasource&&m.registerAsync(A.datasource),C=n.assign(new a.default(y,m,m.state!==void 0?m.state:m,O),o.getInternalMethods(O),A.publicMethods,{displayName:P}),C}},550887:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.dispatch=p,l.dispatchIdentity=g,l.formatAsConstant=h,l.fsa=_,l.getInternalMethods=c,l.getPrototypeChain=u,l.uid=d,l.warn=f;var r=n(e(216010));function o(O){if(typeof WeakMap!="function")return null;var P=new WeakMap,C=new WeakMap;return(o=function(A){return A?C:P})(O)}function n(O,P){if(!P&&O&&O.__esModule)return O;if(O===null||typeof O!="object"&&typeof O!="function")return{default:O};var C=o(P);if(C&&C.has(O))return C.get(O);var A={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in O)if(T!=="default"&&Object.prototype.hasOwnProperty.call(O,T)){var s=S?Object.getOwnPropertyDescriptor(O,T):null;s&&(s.get||s.set)?Object.defineProperty(A,T,s):A[T]=O[T]}return A.default=O,C&&C.set(O,A),A}const a=Object.getOwnPropertyNames(y),i=Object.getOwnPropertyNames(y.prototype);function c(O,P){const C=P?i:a,A=P?O.prototype:O;return Object.getOwnPropertyNames(A).reduce((S,T)=>(C.indexOf(T)!==-1||(S[T]=A[T]),S),{})}function u(O){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return O.prototype===void 0?P:u(Object.getPrototypeOf(O),r.assign(c(O,!0),P))}function f(O){typeof console<"u"&&console.warn(new ReferenceError(O))}function d(O,P){let C=0,A=P;for(;Object.hasOwnProperty.call(O,A);)A=P+String(++C);return A}function h(O){return O.replace(/[a-z]([A-Z])/g,P=>`${P[0]}_${P[1].toLowerCase()}`).toUpperCase()}function g(O){if(O===void 0)return null;for(var P=arguments.length,C=new Array(P>1?P-1:0),A=1;A<P;A++)C[A-1]=arguments[A];return C.length?[O].concat(C):O}function _(O,P,C,A){return{type:P,payload:C,meta:{dispatchId:O,...A},id:O,action:P,data:C,details:A}}function p(O,P,C,A){const S=P.dispatch(C);if(S===void 0)return null;const T=P.id,m={id:T,namespace:T,name:T},E=I=>A.dispatch(T,I,m);return r.isFunction(S)?S(E,A):A.dispatcher.dispatch(_(O,T,S,m))}function y(){}},675936:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.filterSnapshots=u,l.saveInitialSnapshot=c,l.setAppState=a,l.snapshot=i;var r=n(e(216010));function o(f){if(typeof WeakMap!="function")return null;var d=new WeakMap,h=new WeakMap;return(o=function(g){return g?h:d})(f)}function n(f,d){if(!d&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var h=o(d);if(h&&h.has(f))return h.get(f);var g={__proto__:null},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in f)if(p!=="default"&&Object.prototype.hasOwnProperty.call(f,p)){var y=_?Object.getOwnPropertyDescriptor(f,p):null;y&&(y.get||y.set)?Object.defineProperty(g,p,y):g[p]=f[p]}return g.default=f,h&&h.set(f,g),g}function a(f,d,h){const g=f.deserialize(d);r.eachObject((_,p)=>{const y=f.stores[_];if(y){const{config:O}=y.StoreModel,P=y.state;O.onDeserialize&&(g[_]=O.onDeserialize(p)||p),r.isMutableObject(P)?(r.eachObject(C=>delete P[C],[P]),r.assign(P,g[_])):y.state=g[_],h(y,y.state)}},[g])}function i(f){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return(d.length?d:Object.keys(f.stores)).reduce((g,_)=>{const p=_.displayName||_,y=f.stores[p],{config:O}=y.StoreModel;y.lifecycle("snapshot");const P=O.onSerialize&&O.onSerialize(y.state);return g[p]=P||y.getState(),g},{})}function c(f,d){const h=f.deserialize(f.serialize(f.stores[d].state));f._initSnapshot[d]=h,f._lastSnapshot[d]=h}function u(f,d,h){return h.reduce((g,_)=>{const p=_.displayName||_;if(!d[p])throw new ReferenceError(`${p} is not a valid store`);return g[p]=d[p],g},{})}},162120:function(b,l,e){"use strict";e.d(l,{Z:()=>s});var r=function(v){return v.PRODUCTION="PRODUCTION",v.STAGING="STAGING",v.DEV="DEV",v.DEV_PROXY="DEV_PROXY",v}(r||{});const o=r;var n=e(461761),a=e.n(n);const i=function(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return typeof v=="string"?new URL(v).hostname:a()(v,["Static","SQUARESPACE_CONTEXT","appDomain"],a()(v,["location","host"],""))},c=function(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;const m=i(v);return/\.squarespace\.com$/.test(m)?o.PRODUCTION:/\.sqsp\.net$/.test(m)?o.STAGING:/\.squarespace\.net$/.test(m)?o.DEV:/localhost/.test(m)?o.DEV_PROXY:o.PRODUCTION};var u=e(642979),f=e.n(u),d=e(456903);class h{authorize(m,E){const I=E,L={headers:{"Content-Type":"text/plain"},withCredentials:!0};return d.default.post(m,I,L)}}const g=new h;class _{constructor(){f()(this,"url","/api/media/auth/v1/library/authorization")}getLibraryToken(){return d.default.get(this.url).then(m=>m.data.token)}}const p=new _;var y=e(199040),O=e(247380),P=e.n(O);const C=new y.Z("asset-authorization-client",P().WEBSITES_CONTENT);class A{get authorizeExpirationTimeInMs(){return(this.expirationTimeInMin-this.expirationOffsetInMin)*60*1e3}constructor(m){f()(this,"expirationTimeInMin",15),f()(this,"expirationOffsetInMin",3),f()(this,"authorizePromise",null),f()(this,"authorizeExpiresAt",null),this.authorizationUrl=m}isAuthorized(){return this.authorizeExpiresAt!==null&&!this.isAuthorizeExpired()}authorize(){return(this.authorizePromise===null||this.isAuthorizeExpired())&&(this.authorizeExpiresAt=null,this.authorizePromise=new Promise((m,E)=>this.authorizeHandler(m,E))),this.authorizePromise}handleErrorResponse(m){const E=(m==null?void 0:m.status)===401;return E&&this.clearAuthorize(),{isUnauthorizedError:E}}isAuthorizeExpired(){return this.authorizeExpiresAt!==null&&Date.now()>=this.authorizeExpiresAt}authorizeHandler(m,E){p.getLibraryToken().then(I=>g.authorize(this.authorizationUrl,I)).then(()=>this.setAuthorizeExpiration()).then(()=>m()).catch(I=>{this.clearAuthorize(),this.trackError(I),E(I)})}setAuthorizeExpiration(){this.authorizeExpiresAt=Date.now()+this.authorizeExpirationTimeInMs}clearAuthorize(){this.authorizePromise=null,this.authorizeExpiresAt=null}trackError(m){C.withSquarespaceScope(()=>{C.captureException(m)})}}const T={[o.DEV_PROXY]:"/api/media/user/authorize",[o.DEV]:"https://media.dev.squarespace.net/user/authorize",[o.STAGING]:"https://media.stage.sqsp.net/user/authorize",[o.PRODUCTION]:"https://media-api.squarespace.com/user/authorize"}[c()],s=new A(T)},902442:function(b,l,e){"use strict";e.d(l,{z:()=>f});var r=e(162120),o=e(456903),n=e(608284),a=e(56059),i=e(571997);const c=2,u=async d=>{if(d!==n.Z.DEV_PROXY)try{await r.Z.authorize()}catch(h){return r.Z.handleErrorResponse(h),{error:(0,i.b)("Authorization Failed")}}},f=async d=>{let{data:h,environment:g,libraryId:_,method:p=a.B.Get,url:y,params:O}=d,P=0;for(;P<c;){P+=1;const C=await u(g);if(C)return C;try{const A={headers:{"Content-Type":"application/json","X-Library-Id":_},withCredentials:!0,data:h,params:O};let S;switch(p){case a.B.Get:S=await o.default.get(y,A);break;case a.B.Post:S=await o.default.post(y,h,A);break;case a.B.Delete:S=await o.default.delete(y,A);break;case a.B.Put:S=await o.default.put(y,h,A)}return{data:S.data}}catch(A){let S=!1;if(g!==n.Z.DEV_PROXY&&(S=r.Z.handleErrorResponse(A.response).isUnauthorizedError),!S||P===c)return{error:(0,i.b)(A)}}}return console.error("Unexpected escape from getAuthorizedRequest retry loop"),{error:(0,i.b)("Authorization Failed")}}},571997:function(b,l,e){"use strict";e.d(l,{T:()=>o,b:()=>i});var r=e(908262);const o=c=>{let{message:u,errorCode:f}=c;const d=(0,r.H0)(f)?f:void 0;return{message:(0,r.G9)(d)||u,errorCode:d,assetQueryIdentifier:"assetQueryIdentifier"}},n=c=>!!c&&typeof c=="object"&&"message"in c,a=c=>{var u;return(c==null||(u=c.response)===null||u===void 0?void 0:u.data)!==void 0},i=c=>typeof c=="string"?o({message:c}):a(c)?o({message:c.response.data.message,errorCode:c.response.data.errorCode}):n(c)?o({message:c.message,errorCode:c.errorCode}):o({message:"Unknown Error"})},908262:function(b,l,e){"use strict";e.d(l,{G9:()=>u,H0:()=>c,Tr:()=>d,WV:()=>f,lE:()=>a,rK:()=>h});var r=e(392338),o=e.n(r),n=e(880722);const a={filenameEmpty:(0,n.t)("File name cannot be empty",null,{project:"assetManagement.assetCommon"}),filenameTooLong:(0,n.t)("File name is too long. Max is 255 characters.",null,{project:"assetManagement.assetCommon"}),folderDoesNotExist:(0,n.t)("Folder doesn't exist",null,{project:"assetManagement.assetCommon"}),folderNameAlreadyTaken:(0,n.t)("Folder name is already taken. Choose a different name.",null,{project:"assetManagement.assetCommon"}),folderNotEmpty:(0,n.t)("Folder is not empty",null,{project:"assetManagement.assetCommon"}),folderNameEmpty:(0,n.t)("Folder name cannot be empty",null,{project:"assetManagement.assetCommon"}),invalidFolderCreation:(0,n.t)("Invalid folder creation. Please try again.",null,{project:"assetManagement.assetCommon"}),invalidFolderId:(0,n.t)("Invalid folder ID provided",null,{project:"assetManagement.assetCommon"}),parentFolderDoesNotExist:(0,n.t)("Parent folder does not exist",null,{project:"assetManagement.assetCommon"}),folderNameTooLong:(0,n.t)("Folder name is too long. Max is 1000 characters.",null,{project:"assetManagement.assetCommon"}),folderOperationNotPermitted:(0,n.t)("Folder operation is not permitted",null,{project:"assetManagement.assetCommon"}),tooManyChildFolders:(0,n.t)("Too many child folders. Max is 300.",null,{project:"assetManagement.assetCommon"}),tooManyNestedFolders:(0,n.t)("Too many levels of nested folders. Max is 40.",null,{project:"assetManagement.assetCommon"}),applicationUnavailable:(0,n.t)("Application Unavailable. Try again later.",null,{project:"assetManagement.assetCommon"}),libraryLimitExceeded:(0,n.t)("You have exceeded your video storage. Please upgrade your storage to perform this action.",null,{project:"assetManagement.assetCommon"})},i={"MP-ALEXANDRIA-ERR-001":a.folderDoesNotExist,"MP-ALEXANDRIA-ERR-002":a.folderNameAlreadyTaken,"MP-ALEXANDRIA-ERR-003":a.folderNotEmpty,"MP-ALEXANDRIA-ERR-004":a.folderNameEmpty,"MP-ALEXANDRIA-ERR-005":a.invalidFolderCreation,"MP-ALEXANDRIA-ERR-006":a.invalidFolderId,"MP-ALEXANDRIA-ERR-007":a.parentFolderDoesNotExist,"MP-ALEXANDRIA-ERR-008":a.folderNameTooLong,"MP-ALEXANDRIA-ERR-009":a.folderOperationNotPermitted,"MP-ALEXANDRIA-ERR-010":a.tooManyChildFolders,"MP-ALEXANDRIA-ERR-011":a.tooManyNestedFolders,"MP-ALEXANDRIA-ERR-012":a.applicationUnavailable,"MP-ALEXANDRIA-ERR-013":a.libraryLimitExceeded},c=g=>!!g&&g.includes("MP-ALEXANDRIA-ERR-"),u=g=>{if(g)return i[g]},f=g=>!!g&&g==="MP-ALEXANDRIA-ERR-001",d=g=>!!g&&g==="MP-ALEXANDRIA-ERR-002",h=g=>!!g&&g==="MP-ALEXANDRIA-ERR-013"},838848:function(b,l,e){"use strict";e.d(l,{Yw:()=>d,bJ:()=>h,pA:()=>a});var r=e(392338),o=e.n(r),n=e(449230);const a=g=>{const _={[n.J.GRADIENTS]:"",[n.J.IMAGES]:"",[n.J.PATTERNS]:""};return Object.values(n.J).forEach(p=>{const y=g.find(O=>O.folderName===p);y?_[p]=y.folderId:console.error(`Section background folder ${p} is missing from folder data`)}),_},i=["en-US","es-419","de-DE","fr-FR","it-IT","ja-JP","pt-BR","tr-TR"],c="collection-name-en-US",u=g=>{let _=c;return g&&i.includes(g)?_=`collection-name-${g}`:console.error(`Passed locale ${g} is not part of AI backgrounds supported locales`),_},f=g=>{var _,p;let{asset:y,localizedCollectionTag:O}=g;const P=(_=y.tags)===null||_===void 0?void 0:_.find(C=>C.startsWith(O));if(!P){console.error(`Asset with ID ${y.assetId} is missing tag ${O}`);return}return(p=P.split("="))===null||p===void 0?void 0:p[1]},d=g=>{let{assetRecords:_,locale:p}=g;const y={},O=u(p);return _.forEach(P=>{try{const C=f({asset:P,localizedCollectionTag:O});if(!C){console.error(`Skipping asset=${P.assetId} from section bkg`);return}y.hasOwnProperty(C)?y[C].push(P):y[C]=[P]}catch(C){console.error(`Encountered error when parsing asset=${P.assetId} tag=${O}. Error: ${C}`)}}),y},h=g=>{let{asset:_,locale:p}=g;const y=u(p);try{const P=_.filename.split("imgg")[0].replaceAll("-"," ").trim();if(y.includes("en-US"))return P;const C=f({asset:_,localizedCollectionTag:y}),A=f({asset:_,localizedCollectionTag:c});if(!A||!C)throw new Error(`Asset=${_.assetId} is missing collection name tags`);return P.replace(A,C)}catch(O){return console.error("AI backgrounds filename is not in the expected format",O),_.filename}}},504729:function(b,l,e){"use strict";e.d(l,{N:()=>c,b:()=>f});var r=e(162120),o=e(456903),n=e(56059),a=e(263456);const i=function(d,h){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:n.B.Get,_=arguments.length>3?arguments[3]:void 0;return r.Z.authorize().then(()=>{const p={headers:{"Content-Type":"application/json","X-Library-Id":h},withCredentials:!0,data:_};switch(g){case n.B.Get:return o.default.get(d,p).then(y=>y.data).catch(y=>y.response.status===404?{assetRecords:[]}:Promise.reject(y));case n.B.Post:return o.default.post(d,_,p).then(y=>y.data);case n.B.Delete:return o.default.delete(d,p).then(y=>y.status)}}).catch(p=>(r.Z.handleErrorResponse(p.response),Promise.reject(p)))},c=(d,h)=>{const g=`${a.V3}user/libraries/${d}/assets/${h}`;return i(g,d)},u=(d,h,g)=>{const _={imageAssetId:g},p=`${a.V3}user/libraries/${d}/assets/${h}/thumbnail`;return i(p,d,n.B.Post,_)},f={setEnvironment:a.Uw,associateAssetThumbnail:u}},414716:function(b,l,e){"use strict";e.d(l,{I:()=>r});const r=o=>Object.keys(o).filter(n=>typeof o[n]<"u").map(n=>n+"="+o[n]).join("&")},263456:function(b,l,e){"use strict";e.d(l,{Ph:()=>c,TK:()=>f,Uw:()=>h,V3:()=>u});var r=e(608284);const o="/api/media/",n="https://media.dev.squarespace.net/",a="https://media.stage.sqsp.net/",i="https://media-api.squarespace.com/",c={[r.Z.PRODUCTION]:{ALEXANDRIA_API_ROOT:i,V6_API_ROOT:"/"},[r.Z.STAGING]:{ALEXANDRIA_API_ROOT:a,V6_API_ROOT:"/"},[r.Z.QA]:{ALEXANDRIA_API_ROOT:a,V6_API_ROOT:"/"},[r.Z.DEVELOPMENT]:{ALEXANDRIA_API_ROOT:n,V6_API_ROOT:"/"},[r.Z.DEV_PROXY]:{ALEXANDRIA_API_ROOT:o,V6_API_ROOT:"/"}};let u=i,f="/",d;const h=g=>{d=g,c[g]?(u=c[g].ALEXANDRIA_API_ROOT,f=c[g].V6_API_ROOT):console.error(`Missing Environment Config for "${g}"`)}},473795:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(160553),o=e.n(r),n=e(174161),a=e(882684),i=e(412166),c=e(719484),u=e(115181);const d=h=>{let{children:g,IconComponent:_,onClick:p,variant:y,label:O}=h;const{color:P}=(0,n.useMemo)(()=>{switch(y){case"alert":return{color:"red",hoverSx:{backgroundColor:"red.900"}}}return{color:"gray.100",hoverSx:{backgroundColor:"gray.800"}}},[y]);return n.createElement(a.Z.Item,o()({label:O,"aria-label":O},(0,u.p)(p),{onClick:p,sx:{py:2,pl:2,pr:4,"&:after":{boxSizing:"border-box"}}}),n.createElement(i.Z,{justifyItems:"center",width:"100%"},n.createElement(i.Z,{alignSelf:"center",alignContent:"center",mr:2,size:"sizes.150"},n.createElement(_,{color:P,width:"100%"})),n.createElement(c.Z.Action,{color:P},g)))}},765569:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(174161),o=e(882684),n=e(412166),a=e(66232),i=e(158577);const{OVERLAY_CLASSNAME:c}=i,f=d=>{let{anchor:h,children:g,isOpen:_,onRequestClose:p,onRequestOpen:y,position:O="bottom-left"}=d;const P=(0,r.useCallback)(C=>{a.Z.isEsc(C)&&_&&p&&p()},[_,p]);return r.createElement(o.Z.PopOver,{anchor:h,isOpen:_,position:O,onRequestClose:p,onRequestOpen:y,className:c,offset:0,renderTrigger:()=>r.createElement(r.Fragment,null)},()=>r.createElement(n.Z,{as:"ul",background:"white",flexDirection:"column",m:0,py:1,onKeyDown:P},g))}},357909:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(160553),o=e.n(r),n=e(174161),a=e(936609),i=e(765569),c=e(944185);const f=d=>n.createElement(a.Z.Renderer,o()({},d,{render:{default:i.Z,"mobile-0":c.Z}}))},944185:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(174161),o=e(20561),n=e(881707),a=e(412166),i=e(719484),c=e(159945),u=e(534130);const d=h=>{let{children:g,isOpen:_,onRequestClose:p,title:y}=h;const[O,P]=(0,c.Z)(),[C,A]=(0,c.Z)(),S=(0,u.Z)(),T=()=>r.createElement(n.Z,{ref:C,css:S,onClick:p},y&&r.createElement(a.Z,{justifyContent:"center"},r.createElement(i.Z.Body,null,y))),s=()=>r.createElement(a.Z,{as:"ul",background:"white",flexDirection:"column",ref:O},g);return r.createElement(o.Z.Portal,null,r.createElement(o.Z.Container,{zIndex:99999},_&&r.createElement(o.Z.Overlay,{onClick:p}),r.createElement(o.Z.Drawer,{currentDockIndex:_?1:0,docks:[-24,P.height+A.height],onDockIndexChange:v=>{v===0&&(p==null||p())},flickThreshold:50,renderHeader:T,renderBody:s})))}},232574:function(b,l,e){"use strict";e.r(l),e.d(l,{Button:()=>r.Z,Divider:()=>i.Z,PopOver:()=>o.Z,Renderer:()=>a.Z,Sheet:()=>n.Z,addKeyboardListener:()=>c.p});var r=e(473795),o=e(765569),n=e(944185),a=e(357909),i=e(488609),c=e(115181)},115181:function(b,l,e){"use strict";e.d(l,{p:()=>r});const r=o=>({role:"button",tabIndex:0,onKeyDown:n=>{(n.keyCode===13||n.keyCode===32)&&(o(n),n.stopPropagation(),n.preventDefault())}})},996621:function(b,l,e){"use strict";e.d(l,{V:()=>k});var r=e(174161),o=e(783443),n=e(917269),a=e(688714),i=e(880722);const c=(0,i.t)("Filename",null,{project:"assetManagement.assetCommon"}),u=(0,i.t)("Type",null,{project:"assetManagement.assetCommon"}),f=(0,i.t)("Dimensions",null,{project:"assetManagement.assetCommon"}),d=(0,i.t)("Added",null,{project:"assetManagement.assetCommon"}),h=x=>{let{canRenameFile:M}=x;return{...!M&&{filename:c},fileExtension:u,dimensionsString:f,fileSize:(0,i.t)("Size",null,{project:"assetManagement.assetCommon"}),createdAt:d}},g=x=>{let{canRenameFile:M}=x;return{...!M&&{filename:c},fileExtension:u,durationString:(0,i.t)("Duration",null,{project:"assetManagement.assetCommon"}),dimensionsString:f,createdAt:d}};var _=e(881707),p=e(47932),y=e(412166),O=e(719484);const C=x=>{let{Icon:M,label:B,style:R,value:U}=x;const{space:j,colors:$,fontWeights:ee}=(0,p.F)();return r.createElement(r.Fragment,null,r.createElement(y.Z,null,r.createElement(O.Z.Body,{sx:{whiteSpace:"nowrap",marginTop:2,marginBottom:0,marginRight:M?j[1]:j[6],color:$.gray[100],fontWeight:ee.medium,...R}},B),M&&r.createElement(M,null)),r.createElement(O.Z.Body,{sx:{wordBreak:"break-word",marginBottom:0,marginTop:2,color:$.gray[400],fontWeight:ee.book,...R}},U))};var A=e(224353),S=e(122003),T=e(879441);const v=x=>{let{label:M}=x;const B=(0,r.useRef)(null),{isOpen:R,onClose:U,onOpen:j}=(0,T.Z)();return r.createElement(y.Z,{ref:B,sx:{mt:2},onMouseOver:j,onMouseOut:U,onFocus:j,onBlur:U},r.createElement(S.Z,{color:"gray.500"}),r.createElement(A.Z,{anchor:B==null?void 0:B.current,isOpen:R,position:"top-start"},M))},m=x=>{let{labels:M,value:B,sx:R}=x;const{space:U}=(0,p.F)(),$=Object.keys(M).length-1;return r.createElement(_.Z,{pt:2,pb:0,sx:{maxHeight:"317px",display:"grid",gridTemplateColumns:"min-content auto",gridTemplateRows:"auto",overflow:"auto",...R}},Object.entries(M).map((ee,te)=>{let[ie,ne]=ee;return r.createElement(C,{key:ie,label:typeof ne=="object"?ne.labelText:ne,value:B[ie],Icon:typeof ne=="object"?()=>r.createElement(v,{label:ne.tooltipText}):void 0,style:{paddingBottom:te===$?U[6]:0}})}))};var E=e(210679),I=e(204482),L=e(933474),W=e(923778),F=e(485231);const G=x=>{let{asset:M,onFileRename:B,sx:R}=x;const{filenameWithoutExt:U,extension:j}=(0,F.vy)({filename:M==null?void 0:M.filename}),[$,ee]=(0,r.useState)(null),[te,ie]=(0,r.useState)(U),[ne]=(0,L.jx)({fixedCacheKey:W.dJ}),pe=(0,r.useCallback)(()=>{const{validatedFilename:J,filenameError:me}=(0,F.GK)(te,U);if(M&&!me){const re=(0,F.wB)({filenameWithoutExt:J,extension:j});B==null||B({assetId:M.assetId,assetType:M.assetType,filename:re,trackingOrigin:"file-details"}),ne({assetId:M.assetId,filename:re})}},[M,te,U,B,ne]),oe=(0,r.useCallback)(()=>{$&&($.selectionStart=0,$.selectionEnd=te.length)},[te,$]),q=J=>{I.isEscapeKey(J)?(J.stopPropagation(),ie(U)):I.isEnterKey(J)&&(J.stopPropagation(),$==null||$.blur())};return r.createElement(E.Z,{inputProps:{disabled:!M,onBlur:pe,onChange:ie,onFocus:oe,onKeyDown:q,placeholder:U,ref:ee,value:te,"data-test":"filename-input"},label:c,pt:3,sx:R})},k=x=>{let{asset:M,entryOrigin:B,isOpen:R,onAssetDetailView:U,onFileRename:j,sx:$}=x;const ee=!!M&&(0,n.fQ)(M),{librarySource:te}=(0,a.t)(),ie=te==="library-page";(0,r.useEffect)(()=>{R&&M&&(U==null||U({expandedAsset:M,entryOrigin:B}))},[M,B,U,R]);const ne=oe=>{j&&j(oe)},pe=(0,r.useMemo)(()=>({...M,...!ee&&{fileSize:M!=null&&M.fileSize?(0,o.Z)(parseInt(M.fileSize),0):void 0}}),[M,ee]);return r.createElement(r.Fragment,null,ie?r.createElement(G,{asset:M,onFileRename:ne,sx:$}):null,r.createElement(m,{labels:ee?g({canRenameFile:ie}):h({canRenameFile:ie}),value:pe,sx:{...ie&&{pt:0},...$}}))}},713389:function(b,l,e){"use strict";e.d(l,{w:()=>n});var r=e(174161),o=e(147967);const n=a=>{let{children:i,dataTest:c,sx:u}=a;return r.createElement(o.Y,{"data-test":c,justifyContent:"center",alignItems:"center",sx:u},i)}},321064:function(b,l,e){"use strict";e.d(l,{r:()=>r});const r=o=>{let{fillEven:n,fillOdd:a="transparent",size:i=10}=o;const c=encodeURIComponent(n),u=encodeURIComponent(a);return`url("${`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${i*2}' height='${i*2}' %3E%3Crect fill='${c}' width='${i}' height='${i}' /%3E%3Crect fill='${c}' x='${i}' y='${i}' width='${i}' height='${i}' /%3E%3Crect fill='${u}' x='${i}' width='${i}' height='${i}' /%3E%3Crect fill='${u}' y='${i}' width='${i}' height='${i}' /%3E%3C/svg%3E`}")`}},851397:function(b,l,e){"use strict";e.d(l,{k:()=>d});var r=e(174161),o=e(917269),n=e(351353),a=e(881707),i=e(697400);const c=(0,r.memo)(h=>{let{src:g,thumbnailSrc:_,isMiniPreview:p}=h;return r.createElement(i.VideoPlayer,{environment:(0,i.getEnvironment)(),src:g,thumbnailSrc:_,options:{fullscreen:!p,controls:p?i.VideoPlayerControls.Minimal:i.VideoPlayerControls.Full,storage:!p}})}),f=h=>{let{src:g,thumbnailSrc:_,maxDimensions:p,isMiniPreview:y}=h;const O=16/9;return r.createElement(a.Z,{sx:{height:`${p.width/O}px`,width:`${p.width}px`,backgroundColor:"gray.100"}},r.createElement(c,{src:g,thumbnailSrc:_,isMiniPreview:y}))},d=h=>{let{asset:g,maxDimensions:_={height:200,width:400},isMiniPreview:p=!0}=h;return(0,o.fQ)(g)?r.createElement(f,{src:g.playlistUrl,thumbnailSrc:g.imageSrc,maxDimensions:_,isMiniPreview:p}):r.createElement(n.Z,{src:g.imageSrc,imageDimensions:g.dimensions,maxDimensions:_})}},351353:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(174161);const o=(i,c)=>{const{width:u,height:f}=c,d=u/f,h=i.width/i.height;return h>d?{width:u,height:u/h}:d>h?{width:f*h,height:f}:{width:u,height:f}},a=i=>{let{src:c,imageDimensions:u,maxDimensions:f}=i;const d=o(u,f);return r.createElement("div",{style:{height:`${f.height}px`}},r.createElement("img",{src:c,"data-pin-no-hover":"true",alt:"",style:{display:"block",border:0,margin:"0 auto",paddingTop:(f.height-d.height)/2,...d}}))}},443580:function(b,l,e){"use strict";e.d(l,{Z:()=>M});var r=e(160553),o=e.n(r),n=e(174161),a=e(936609),i=e(201117),c=e(488609),u=e(838270),f=e(881707),d=e(719484),h=e(51408),g=e(158577),_=e(523824);const p=(0,h.Z)(i.Z.Base,c.Z),{OVERLAY_CLASSNAME:y}=g,P=B=>{let{options:R,onChange:U,focusStyle:j,label:$,textStyle:ee=_.pn.BODY,...te}=B;const ie=ee===_.pn.BODY,ne=j===_.JU.BOX?i.Z.Base:p;return n.createElement(f.Z,te,n.createElement(ne,o()({},te,{label:ie?$:n.createElement(d.Z.Action,{mr:"-8px"},$),placement:"bottom",onChange:U,pr:ie?1:4,renderDropdown:pe=>n.createElement(i.Z.Dropdown,o()({},pe,{className:y})),renderDisplay:(0,n.forwardRef)((pe,oe)=>{const{detail:q,...J}=pe,me=ie?{}:{mr:2},re=j===_.JU.BOX?{border:"2px solid transparent","&.focus-visible":{border:"2px solid black"}}:{};return n.createElement(i.Z.Display,o()({},J,me,{ref:oe,detail:q,sx:{px:2,div:{px:0,ml:0},p:{maxWidth:150,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},...re},textStyle:ee,exteriorPre:u.Z,exteriorAccessory:null}))})}),R.map(pe=>{let{label:oe,value:q}=pe;return n.createElement(i.Z.Option,{key:oe,value:q},n.createElement(d.Z,{textStyle:ee,color:"gray.100",m:0},oe))})))};var C=e(882684),A=e(199025),S=e(599433),T=e(604934),s=e(826788),v=e(425629),m=e(412166),E=e(272578),I=e(159945);const L=(0,h.Z)(A.Z,c.Z),W=B=>{let{onClick:R,isOpen:U,labelNode:j,...$}=B;return n.createElement(L,o()({},$,{as:"label",body:n.createElement(v.Z,{onClick:R},j),exteriorAccessory:U?n.createElement(S.Z,null):n.createElement(T.Z,null),height:"30px"}))},F=B=>{let{onClick:R,labelNode:U,isOpen:j,...$}=B;const ee=(0,n.useRef)(null),ie={px:2,...(0,E.Z)(ee)&&{outline:"2px solid black"}};return n.createElement(A.Z,o()({},$,{sx:ie,as:"label",body:n.createElement(v.Z,{ref:ee,onClick:R},U),exteriorAccessory:j?n.createElement(S.Z,null):n.createElement(T.Z,null),height:"30px"}))},k=B=>{let{focusStyle:R,label:U="",onChange:j,options:$,textStyle:ee=_.pn.BODY,value:te,...ie}=B;const[ne,pe]=(0,n.useState)(!1),[oe,q]=(0,I.Z)();return n.createElement(C.Z.Sheet,{isOpen:ne,onRequestOpen:()=>pe(!0),onRequestClose:()=>pe(!1),docks:[0,q.height],renderTrigger:()=>{var J;const me=(J=$.find(Ee=>{let{value:fe}=Ee;return fe===te}))===null||J===void 0?void 0:J.label,re=R===_.JU.BOX?F:W,he=U?U+" "+me:me;return n.createElement(re,o()({},ie,{isOpen:ne,textStyle:ee,labelNode:n.createElement(d.Z,{py:0,my:0,textStyle:ee,fontSize:4,sx:{maxWidth:150,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},he),onClick:()=>pe(!0)}))}},J=>{let{onRequestClose:me}=J;return n.createElement(m.Z,{flexDirection:"column",py:3,px:_.Yq,ref:oe},$.map(re=>{let{label:he,value:Ee}=re;return n.createElement(n.Fragment,{key:Ee},n.createElement(m.Z,{zIndex:1,py:2,onClick:()=>{j(Ee),me()}},n.createElement(d.Z.Body,{flex:1,py:0,my:0},he),te===Ee&&n.createElement(s.Z,null)),n.createElement(c.Z,null))}))})},M=B=>n.createElement(a.Z.Renderer,o()({},B,{render:{default:P,"mobile-0":k}}))},45212:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(174161),o=e(881707),n=e(324959);const a=()=>{},c=u=>{let{children:f,className:d,dataTest:h,onDragEnter:g=a,onDragLeave:_=a,onDrop:p=a,onDragOver:y=a,sx:O={}}=u;const P=s=>{s.stopPropagation(),s.preventDefault()},C=(0,r.useCallback)(s=>{P(s),g()},[g]),A=(0,r.useCallback)(s=>{P(s),_()},[_]),S=(0,r.useCallback)(s=>{P(s),s.dataTransfer&&(0,n.Z)(s.dataTransfer,"copy"),y()},[y]),T=(0,r.useCallback)(s=>{P(s),p(s)},[p]);return r.createElement(o.Z,{"data-test":h,className:d,onDragEnter:C,onDragLeave:A,onDragOver:S,onDrop:T,sx:O},f)}},674965:function(b,l,e){"use strict";e.d(l,{U:()=>a});var r=e(174161),o=e(719484),n=e(713389);const a=i=>{let{children:c,dataTest:u,description:f,title:d,sx:h}=i;return r.createElement(n.w,{dataTest:u,sx:{...h,textAlign:"center"}},r.createElement(o.Z.Title,{color:"gray.400",mt:15,mb:0,sx:{fontSize:"16px"}},d),r.createElement(o.Z.Body,{color:"gray.400",mt:2,sx:{fontSize:"14px"}},f),c)}},147967:function(b,l,e){"use strict";e.d(l,{Y:()=>i});var r=e(160553),o=e.n(r),n=e(174161),a=e(412166);const i=(0,n.forwardRef)((c,u)=>n.createElement(a.Z,o()({flexDirection:"column",flex:"1",height:"100%"},c,{ref:u})))},857029:function(b,l,e){"use strict";e.d(l,{Y:()=>a});var r=e(174161),o=e(112686),n=e(880722);const a=i=>{var c;let{entryOrigin:u,onFolderClick:f,pathToFolder:d}=i;const h=!d.length,g=(0,n.t)("All Files",null,{project:"assetManagement.assetCommon"}),_=(0,r.useCallback)(y=>f==null?void 0:f({folderId:y,folderEntryOrigin:u??null}),[u,f]),p=(0,r.useMemo)(()=>{if(h)return[];const y=[{children:g,onClick:()=>_(null),onKeyPress:O=>{O.key==="Enter"&&_(null)},role:"button",tabIndex:0}].concat(d.map(O=>({children:O.folderName,onClick:()=>_(O.folderId),onKeyPress:P=>{P.key==="Enter"&&_(O.folderId)},role:"button",tabIndex:0})));return y.pop(),y},[g,h,_,d]);return r.createElement(o.O,{currentPage:{children:h?g:(c=d[d.length-1])===null||c===void 0?void 0:c.folderName},crumbs:p,useTruncation:o.O.useSimpleTruncation,sx:{margin:0}})}},419835:function(b,l,e){"use strict";e.d(l,{a:()=>Ie});var r=e(160553),o=e.n(r),n=e(174161),a=e(936609),i=e(184791),c=e(412166),u=e(881707),f=e(719484),d=e(880722),h=e(849373),g=e(575550);const _=4,p=3,y=Bt=>{let{width:mt,height:rt}=Bt;return mt/rt},O=(Bt,mt,rt)=>(Bt>=_||mt===rt.maxImageCount)&&mt>=rt.minImageCount;function*P(Bt,mt){const rt=new Map;let ce=0;for(const[Re,nt]of Bt.entries()){const st=y(nt);ce+=st,st>p?rt.set(Re,p):rt.set(Re,st),O(ce,rt.size,mt)&&(yield rt,rt.clear(),ce=0)}ce>0&&ce<_&&rt.set({last:!0},_-ce),yield rt}const C=P;var A=e(331474),S=e(207363),T=e(917269),s=e(900486),v=e(353134),m=e(933474),E=e(551547),I=e(351720),L=e(627199),W=e(688714),F=e(903638),G=e(425629),k=e(47932),x=e(272578),M=e(392936),B=e(956233),R=e(321064),U=e(807130);const j=(0,n.forwardRef)((Bt,mt)=>{let{ariaLabel:rt,dataTest:ce,isSelected:Re,isVisible:nt,onCheckboxClick:st}=Bt;const vt=(0,n.useMemo)(()=>Re?1:nt?.8:.01,[Re,nt]);return n.createElement(c.Z,{top:2,left:2,position:"absolute",zIndex:1},n.createElement(U.k,{ariaLabel:rt,dataTest:ce,ref:mt,onCheckboxClick:st,isSelected:Re,sx:{height:"26px",width:"26px",backgroundColor:"white",opacity:vt,borderRadius:"2px",border:"none","&:hover":{opacity:1}}}))});var $=e(146964);const ee=(0,n.forwardRef)((Bt,mt)=>{let{ariaLabel:rt,isVisible:ce,onEllipsisButtonClick:Re}=Bt;return n.createElement(G.Z.Element.WithoutFeedback,{"aria-label":rt,ref:mt,top:2,right:2,zIndex:1,position:"absolute",onClick:Re,onKeyPress:nt=>nt.stopPropagation(),className:"button","data-test":"expand-details",size:26,sx:{opacity:ce?1:0,"&:focus .ellipsis":{outline:"1px solid black"}}},n.createElement(c.Z,{size:"26px",justifyContent:"center",alignItems:"center",background:"white",opacity:.8,sx:{borderRadius:"2px","&:hover":{opacity:1}}},n.createElement($.Z,{className:"ellipsis"})))});var te=e(8483),ie=e(224353),ne=e(204482),pe=e(485231);const oe=750,q=100,J=Bt=>{let{assetId:mt,columnPosition:rt,filename:ce,isActiveFocus:Re,onClick:nt,renameFile:st,renameFileLoading:vt}=Bt;const[ze,It]=(0,n.useState)(null),{space:on,colors:Pn}=(0,k.F)(),[Yn,Ln]=(0,n.useState)(!1),[bn,ir]=(0,n.useState)(!1),{filenameWithoutExt:Zn,extension:$n}=(0,pe.vy)({filename:ce}),[jt,Rn]=(0,n.useState)(Zn),[jn,Tn]=(0,n.useState)(null),[Nn,cn]=(0,n.useState)(!1),or=(0,n.useRef)(),qn=()=>{Ln(!1)},Hr=()=>{Ln(!0)},fo=()=>rt==="start"?"top-start":rt==="end"?"top-end":"top",Jr=!!st,ro=xt=>{Jr&&(xt.stopPropagation(),(0,B.E)(xt.detail)?or.current=setTimeout(()=>{const Qt=xt.ctrlKey||xt.metaKey,qt=xt.shiftKey;nt({isCtrlClick:Qt,isShiftClick:qt})},M.B):(0,B.F)(xt.detail)&&(clearTimeout(or.current),or.current=void 0,ir(!0)))};(0,n.useEffect)(()=>{jn&&(jn.blur(),jn.focus())},[jn]),(0,n.useEffect)(()=>{jn&&!Nn&&bn&&(jn.selectionStart=0,jn.selectionEnd=jt.length||0,cn(!0))},[Nn,jt,jn,bn]),(0,n.useEffect)(()=>{Rn(Zn)},[Zn]);const Xt=()=>{ir(!1),cn(!1)},Je=()=>{Xt();const{validatedFilename:xt,filenameError:Qt}=(0,pe.GK)(jt,Zn);Qt||st==null||st({assetId:mt,filename:(0,pe.wB)({filenameWithoutExt:xt,extension:$n})})},At=xt=>{ne.isEscapeKey(xt)?(xt.stopPropagation(),Xt(),Rn(Zn)):ne.isEnterKey(xt)&&(xt.stopPropagation(),Je())};return n.createElement(c.Z,{position:"relative",backgroundColor:"white",alignItems:"center",height:on[6],ref:It,onMouseOver:Hr,onMouseOut:qn},bn?n.createElement(te.Z,{"data-no-focus-lock":!0,"data-test":"filename-input",fontSize:2,onBlur:Je,onChange:Rn,onClick:xt=>xt.stopPropagation(),onKeyDown:At,ref:Tn,placeholder:Zn,sx:{backgroundColor:"gray.900",p:"3px 6px",borderRadius:1},value:jt,width:"100%"}):n.createElement(f.Z.Body,{"data-test":"filename",onClick:ro,as:"span",fontSize:2,position:"absolute",overflow:"hidden",width:"100%",sx:{display:"flex",alignItems:"center",whiteSpace:"nowrap",textOverflow:"ellipsis",transition:"padding 0.1s ease-in-out",py:"3px",px:Re&&Jr?"6px":"0",borderRadius:1,minHeight:"28px"},style:{backgroundColor:Re&&Jr?Pn.gray[900]:void 0}},vt?n.createElement(i.Z,{size:0}):ce),Yn&&ce&&n.createElement(a.Z.Renderer,{render:{default:()=>n.createElement(ie.Z,{anchor:ze,delay:{enter:oe,exit:q},isOpen:Yn,popperConfig:{placement:fo(),modifiers:[{name:"offset",options:{offset:[0,-.5]}}]}},ce),"mobile-0":()=>null}}))},me=Bt=>{let{assetId:mt,columnPosition:rt,crossOrigin:ce="",durationString:Re,filename:nt,gridCardCheckboxProps:st,gridCardEllipsisMenuProps:vt,imageSrc:ze,onDoubleClick:It,onShiftClick:on,onSingleClick:Pn,onCtrlClick:Yn,renameFile:Ln,renameFileLoading:bn}=Bt;const[ir,Zn]=(0,n.useState)(!1),$n=(0,n.useRef)(),{colors:jt,time:Rn}=(0,k.F)(),jn=(0,n.useRef)(null),Tn=(0,n.useRef)(null),Nn=(0,x.Z)(jn),cn=(0,x.Z)(Tn),or=Nn||cn,qn=(0,R.r)({fillEven:jt.gray[900]}),Hr=Jr=>{let{isCtrlClick:ro,isShiftClick:Xt}=Jr;Yn&&ro?Yn():on&&Xt?on():Pn()},fo=Jr=>{Jr.stopPropagation();const ro=Jr.ctrlKey||Jr.metaKey,Xt=Jr.shiftKey;if(!It)return Hr({isCtrlClick:ro,isShiftClick:Xt});(0,B.E)(Jr.detail)?$n.current=setTimeout(()=>{Hr({isCtrlClick:ro,isShiftClick:Xt})},M.B):(0,B.F)(Jr.detail)&&(clearTimeout($n.current),$n.current=void 0,It==null||It())};return n.createElement(G.Z.Element.WithoutFeedback,{"aria-label":nt,className:or?"focus-visible":"","data-test":"asset-item",onClick:fo,onMouseOver:()=>Zn(!0),onFocus:()=>Zn(!0),onMouseOut:()=>Zn(!1),onBlur:()=>Zn(!1),sx:{position:"relative","&.focus-visible":{outline:"2px solid black !important",outlineOffset:"2px"},width:"100%"},tabIndex:st?-1:0},n.createElement(u.Z,{sx:{height:"200px"}},n.createElement(u.Z,{width:"100%",height:"100%",position:"relative"},n.createElement(u.Z,{className:"image-overlay",position:"absolute",backgroundColor:"black",size:"100%",sx:{transition:`opacity ${Rn[200]}`},style:{opacity:st!=null&&st.isSelected||ir?.1:0,zIndex:1}}),Re&&n.createElement(n.Fragment,null,n.createElement(u.Z,{className:"image-overlay",position:"absolute",background:"linear-gradient(211.69deg, rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0.2) 66%, rgba(0, 0, 0, 0.5) 100%)",size:"100%"}),n.createElement(f.Z.Caption,{position:"absolute",left:2,bottom:2,color:jt.white,fontWeight:"bold",sx:{textShadow:"0px 1px 1px rgba(0, 0, 0, 0.22)"}},Re)),n.createElement(F.Z,{width:"100%",height:"100%",src:ze,crossOrigin:ce,"data-pin-no-hover":"true",sx:{objectFit:"cover",backgroundImage:qn}})),st&&n.createElement(j,o()({dataTest:"checkbox",ref:jn},st,{isVisible:(st==null?void 0:st.isVisible)||ir})),vt&&n.createElement(ee,o()({ref:Tn},vt,{isVisible:vt.isVisible||ir}))),mt&&n.createElement(J,{assetId:mt,columnPosition:rt,filename:nt||"",isActiveFocus:ir,onClick:Hr,renameFile:Ln,renameFileLoading:bn}))},re=Bt=>{var mt;let{assetId:rt,assetType:ce,columnPosition:Re,imageType:nt,isEllipsisMenuVisible:st,isMobile:vt}=Bt;const ze=(0,A.useDispatch)(),It=(0,A.useSelector)(s.UV),on=(0,A.useSelector)((0,s.Kk)(rt)),Pn=(0,v.$2)(),{assetDetails:Yn}=(0,m.uy)(Pn,{selectFromResult:Jr=>{let{data:ro}=Jr;return{assetDetails:ro==null?void 0:ro.assets.find(Xt=>Xt.assetId===rt)}}}),{getEllipsisClickAction:Ln,getDoubleClickAction:bn,onFileRename:ir}=(0,h.v)(),{imageAuthToken:Zn}=(0,I.j)();if(!Yn)throw"Something went wrong with retrieving an asset from cache";const $n=(0,n.useCallback)(Jr=>{Jr.stopPropagation(),Jr.shiftKey?ze((0,E.$4)({assetId:rt})):ze((0,E.iL)({assetId:rt,changeMultiSelectMode:"enable"}))},[rt,ze]),jt=(0,n.useMemo)(()=>()=>{ze((0,E.iL)({assetId:rt,changeMultiSelectMode:"enable"}))},[rt,ze]),Rn=(0,n.useMemo)(()=>{if(!vt)return()=>{bn({assetDetails:Yn,entryOrigin:g.jz.AssetCardDblClick})}},[Yn,vt,bn]),jn=(0,n.useCallback)(Jr=>{Jr.stopPropagation(),Ln({assetDetails:Yn,imageType:nt})(Jr)},[Ln,Yn,nt]),Tn=(0,n.useMemo)(()=>()=>{ze((0,E.$4)({assetId:rt}))},[rt,ze]),Nn=(0,n.useCallback)(()=>{ze((0,E.iL)({assetId:rt}))},[rt,ze]),cn=(0,L.Q)({src:Yn.imageSrc,token:Zn}),[or,qn]=(0,m.jx)(),{librarySource:Hr}=(0,W.t)(),fo=Jr=>{ir==null||ir({assetId:rt,assetType:ce,filename:Jr.filename,layoutType:S.Z.GridCard,trackingOrigin:"double-click"}),or(Jr)};return n.createElement(me,{assetId:Yn.assetId,columnPosition:Re,durationString:(0,T.fQ)(Yn)?Yn.durationString:void 0,filename:((mt=qn.data)===null||mt===void 0?void 0:mt.filename)||Yn.filename,gridCardCheckboxProps:{ariaLabel:(0,d.t)("Asset ",null,{project:"assetManagement.assetCommon"})+Yn.filename,isSelected:on,isVisible:on||It,onCheckboxClick:$n},gridCardEllipsisMenuProps:{ariaLabel:(0,d.t)("Asset menu for ",null,{project:"assetManagement.assetCommon"})+Yn.filename,isVisible:st,onEllipsisButtonClick:jn},imageSrc:cn,crossOrigin:Zn?"anonymous":"",onCtrlClick:jt,onDoubleClick:Rn,onShiftClick:Tn,onSingleClick:Nn,renameFile:Hr==="library-page"?fo:void 0,renameFileLoading:qn.isLoading})},he=Bt=>{let{filename:mt,imageSrc:rt,onSingleClick:ce,containerHeight:Re="200px",useReactImage:nt=!1}=Bt;const[st,vt]=(0,n.useState)(!1),{colors:ze,time:It}=(0,k.F)(),on=(0,R.r)({fillEven:ze.gray[900]});return n.createElement(G.Z.Element.WithoutFeedback,{"aria-label":mt,"data-test":"asset-item",onClick:ce,onMouseOver:()=>vt(!0),onFocus:()=>vt(!0),onMouseOut:()=>vt(!1),onBlur:()=>vt(!1),sx:{position:"relative",borderRadius:1,"&.focus-visible":{outline:"2px solid black !important",outlineOffset:"2px"},width:"100%"},tabIndex:0},n.createElement(u.Z,{sx:{height:Re}},n.createElement(u.Z,{className:"image-overlay",position:"absolute",backgroundColor:"black",size:"100%",sx:{transition:`opacity ${It[200]}`},style:{opacity:st?.1:0}}),nt?n.createElement(F.Z,{width:"100%",height:"100%",src:(0,L.Q)({src:rt,format:300}),"data-pin-no-hover":"true",sx:{objectFit:"cover",backgroundImage:on}}):n.createElement(F.Z,{width:"100%",height:"100%",src:rt,"data-pin-no-hover":"true",sx:{objectFit:"cover",backgroundImage:on}})))};var Ee=e(134521),fe=e.n(Ee);const H=Bt=>{const[mt,rt]=(0,n.useState)(0);return(0,n.useEffect)(()=>{if(Bt){const ce=fe()(st=>{rt(st[0].contentRect.width)},30),Re=new ResizeObserver(ce),{width:nt}=Bt.getBoundingClientRect();return rt(nt),Re.observe(Bt),()=>{ce.cancel(),Re.unobserve(Bt)}}},[Bt]),mt},z=300,_e=22,ae=11,ge=Bt=>{if(Bt<=z*2+ae)return 2;const mt=(Bt+_e)/(z+_e),rt=Math.ceil(mt);return Math.max(3,rt)},Be=Bt=>{let{children:mt,showHeader:rt=!1,customHeader:ce}=Bt;const[Re,nt]=(0,n.useState)(null),st=H(Re),vt=(0,n.useMemo)(()=>ge(st),[st]),ze=(0,n.useMemo)(()=>vt<3?ae:_e,[vt]),It=(0,n.useMemo)(()=>{const Ln=(vt-1)*ze;return(st-Ln)/vt},[ze,vt,st]),on={gap:ce?0:`${ze}px`},Pn=ce?0:rt?6:4;return n.createElement(n.Fragment,null,rt?n.createElement(f.Z.Label,{mt:1,mb:2},n.createElement(d.T,{project:"assetManagement.assetCommon"},"Folders")):null,ce,n.createElement(c.Z,{display:"inline-flex",width:"100%",flexWrap:"wrap",ref:nt,sx:on,mb:Pn},mt({cardWidth:It})))};var Ke=e(16930);const He=Bt=>{let{cardWidth:mt,folderName:rt,gridCardCheckboxProps:ce,gridCardEllipsisMenuProps:Re,onDoubleClick:nt,onShiftClick:st,onSingleClick:vt,onCtrlClick:ze,onEllipsisButtonClick:It}=Bt;const[on,Pn]=(0,n.useState)(!1),Yn=(0,n.useRef)(),{time:Ln}=(0,k.F)(),bn=(0,n.useRef)(null),ir=(0,n.useRef)(null),Zn=(0,x.Z)(bn),$n=(0,x.Z)(ir),jt=Zn||$n,Rn=Nn=>{let{isCtrlClick:cn,isShiftClick:or}=Nn;ze&&cn?ze():st&&or?st():vt==null||vt()},jn=Nn=>{Nn.stopPropagation();const cn=Nn.ctrlKey||Nn.metaKey,or=Nn.shiftKey;if(!nt)return Rn({isCtrlClick:cn,isShiftClick:or});(0,B.E)(Nn.detail)?Yn.current=setTimeout(()=>{Rn({isCtrlClick:cn,isShiftClick:or})},M.B):(0,B.F)(Nn.detail)&&(clearTimeout(Yn.current),Yn.current=void 0,nt==null||nt())},Tn=Nn=>{Nn.stopPropagation();const cn=Nn.ctrlKey||Nn.metaKey,or=Nn.shiftKey;if(Nn.key==="Enter"){if(nt)return nt();Rn({isCtrlClick:cn,isShiftClick:or})}};return n.createElement(G.Z.Element.WithoutFeedback,{"aria-label":rt,className:jt?"focus-visible":"",onClick:jn,onMouseOver:()=>Pn(!0),onFocus:()=>Pn(!0),onMouseOut:()=>Pn(!1),onBlur:()=>Pn(!1),onKeyPress:Tn,style:{width:mt},sx:{position:"relative",borderRadius:1,"&.focus-visible":{outline:"2px solid black !important",outlineOffset:"2px"}},tabIndex:ce?-1:0},n.createElement(u.Z,{className:"folder-overlay",position:"absolute",backgroundColor:"black",size:"100%",sx:{borderRadius:1,transition:`opacity ${Ln[200]}`},style:{opacity:ce!=null&&ce.isSelected||on?.1:0}}),n.createElement(c.Z,{flexDirection:"column",sx:{boxSizing:"border-box",backgroundColor:"gray.900",borderRadius:4}},n.createElement(c.Z,{sx:{justifyContent:"center",mt:4,mb:3}},n.createElement(Ke.Z,{color:"gray.300"})),n.createElement(f.Z.Body,{fontSize:"12px",lineHeight:"16px",px:2,my:2,sx:{overflow:"hidden",boxSizing:"border-box",width:"100%",whiteSpace:"nowrap",textOverflow:"ellipsis"}},rt)),ce&&n.createElement(j,o()({ref:bn},ce,{ariaLabel:(0,d.t)("Folder ",null,{project:"assetManagement.assetCommon"})+rt,isVisible:(ce==null?void 0:ce.isVisible)||on})),Re&&n.createElement(ee,o()({ref:ir},Re,{onEllipsisButtonClick:It,isVisible:Re.isVisible||on})))},ye=Bt=>{let{cardWidth:mt,folderId:rt,getFolderActionProps:ce}=Bt;const Re=(0,A.useDispatch)(),nt=(0,v.$2)(),{folder:st}=(0,m.KX)(nt,{selectFromResult:ir=>{var Zn;let{data:$n}=ir;return{folder:$n==null||(Zn=$n.folders)===null||Zn===void 0?void 0:Zn.find(jt=>jt.folderId===rt)}}}),vt=(0,A.useSelector)(s.l7),ze=(0,A.useSelector)((0,s.cE)(rt)),It=(0,A.useSelector)(s.UV),{getDoubleClickAction:on,getSingleClickAction:Pn,getEllipsisClickAction:Yn}=(0,h.v)();if(!st)throw"There was an error retrieving folder from cache";const Ln=(0,n.useCallback)(ir=>{ir.stopPropagation(),ir.shiftKey?Re((0,E.$4)({folderId:rt})):Re((0,E.iL)({folderId:rt,changeMultiSelectMode:"enable"}))},[rt,Re]),bn=vt?{isSelected:ze,isVisible:It,onCheckboxClick:Ln}:void 0;return n.createElement(He,o()({cardWidth:mt,folderName:st.folderName||""},ce==null?void 0:ce({folderId:rt,folderName:st.folderName}),{onEllipsisButtonClick:ir=>{ir.stopPropagation(),Yn({folderDetails:st})(ir)},onSingleClick:()=>{Pn({folderDetails:st})()},onDoubleClick:()=>{on({folderDetails:st})()},gridCardCheckboxProps:bn}))},Le=Bt=>Bt.hasOwnProperty("last"),Ue={minImageCount:4,maxImageCount:4},Xe={minImageCount:2,maxImageCount:6},ht=Bt=>{let{variant:mt="image",dimensionsList:rt,folderIds:ce=[],getAssetEllipsisMenuProps:Re,getFolderActionProps:nt,imageType:st,isDragging:vt,isLoadingNextPage:ze,showHeader:It=!1,customHeader:on}=Bt;const Pn=2,Ln=C(rt,mt==="sectionBg"?Ue:Xe),bn=[],{getSingleClickAction:ir,getEllipsisClickAction:Zn}=(0,h.v)();for(const jt of Ln){const Rn=[];let jn="",Tn=0;const Nn=jt.size-1;jt.forEach((cn,or)=>{const qn=Le(or)?"last":or.assetId;if(jn+=qn+"-",Le(or))Rn.push(n.createElement(c.Z,{key:"last-column",flex:cn}));else{const Hr=Re==null?void 0:Re(or);Rn.push(n.createElement(c.Z,{key:qn,flex:cn,mr:Pn,sx:{pointerEvents:vt?"none":"auto","&:last-child":{marginRight:0}}},(()=>{switch(mt){case"card":return n.createElement(re,{assetId:or.assetId,assetType:or.assetType,columnPosition:Tn===0?"start":Tn===Nn?"end":void 0,imageType:st,isEllipsisMenuVisible:Hr==null?void 0:Hr.isVisible,onExpandAssetClick:fo=>{Zn({assetDetails:or,entryOrigin:g.jz.AssetCardOverflowMenu,imageType:st})(fo)}});case"sectionBg":case"image":default:return n.createElement(he,{containerHeight:mt==="sectionBg"?"110px":void 0,filename:or.filename,imageSrc:or.imageSrc,onSingleClick:()=>{ir({assetDetails:or,entryOrigin:g.jz.AssetCardOverflowMenu,imageType:st})()},useReactImage:mt==="sectionBg"})}})()))}Tn++}),Rn.length&&bn.push(n.createElement(c.Z,{key:jn,flexDirection:"row",alignItems:"flex-start",alignContent:"flex-start",justifyContent:"space-between",mb:4},Rn))}ze&&bn.push(n.createElement(c.Z,{alignItems:"center",justifyContent:"center",height:"200px"},n.createElement(i.Z,null)));const $n=ce.length?n.createElement(n.Fragment,null,n.createElement(Be,{showHeader:It},jt=>{let{cardWidth:Rn}=jt;return ce.map(jn=>n.createElement(ye,{key:jn,folderId:jn,cardWidth:Rn,getFolderActionProps:nt}))})):null;return n.createElement(u.Z,{sx:{mt:1}},$n,on,!on&&It&&rt.size?n.createElement(f.Z.Label,{my:2},n.createElement(d.T,{project:"assetManagement.assetCommon"},"Files")):null,bn)},Ne=Bt=>{let{width:mt,height:rt}=Bt;return rt/mt};function*Ce(Bt){const mt=new Set,rt=new Set;let ce=0,Re=0;for(const[nt,st]of Bt.entries()){const vt=Ne(st);Re>=ce?(mt.add(nt),ce+=vt):(rt.add(nt),Re+=vt),mt.size+rt.size===10&&(yield{left:mt,right:rt},mt.clear(),rt.clear())}yield{left:mt,right:rt}}const we=Ce,Ot=Bt=>{let{dimensionsList:mt,folderIds:rt=[],getAssetEllipsisMenuProps:ce,getFolderActionProps:Re,imageType:nt,showHeader:st,variant:vt="image",customHeader:ze}=Bt;const{getEllipsisClickAction:It,getSingleClickAction:on}=(0,h.v)(),Pn=ir=>ir.map(Zn=>{const $n=ce==null?void 0:ce(Zn);return n.createElement(c.Z,{mb:4,key:Zn.assetId},(()=>{switch(vt){case"card":return n.createElement(re,{assetId:Zn.assetId,assetType:Zn.assetType,imageType:nt,isMobile:!0,isEllipsisMenuVisible:$n==null?void 0:$n.isVisible,onExpandAssetClick:jt=>{It({assetDetails:Zn,entryOrigin:g.jz.AssetCardOverflowMenu,imageType:nt})(jt)}});case"sectionBg":case"image":default:return n.createElement(he,{containerHeight:vt==="sectionBg"?"110px":void 0,useReactImage:vt==="sectionBg",filename:Zn.filename,imageSrc:Zn.imageSrc,onSingleClick:()=>{on({assetDetails:Zn,entryOrigin:g.jz.AssetCardOverflowMenu,imageType:nt})()}})}})())}),Yn=[],Ln=[],bn=we(mt);for(const{left:ir,right:Zn}of bn)Yn.push(...ir),Ln.push(...Zn);return n.createElement(n.Fragment,null,n.createElement(Be,{showHeader:st,customHeader:ze},ir=>{let{cardWidth:Zn}=ir;return rt.map($n=>n.createElement(ye,{key:$n,folderId:$n,cardWidth:Zn,getFolderActionProps:Re}))}),n.createElement(c.Z,null,n.createElement(c.Z,{flexDirection:"column",flex:1},Pn(Yn)),n.createElement(u.Z,{width:0,ml:2}),n.createElement(c.Z,{flexDirection:"column",flex:1},Pn(Ln))))};var Pt=e(598693);const Ie=Bt=>{let{variant:mt="image",assetLibrary:rt,folderIds:ce,showHeader:Re=!1,...nt}=Bt;const[st]=(0,Pt.Z)(rt);return n.createElement(a.Z.Renderer,o()({},nt,{variant:mt,dimensionsList:st,folderIds:ce,showHeader:Re,render:{default:ht,"desktop-0":ht,"mobile-0":Ot}}))}},598693:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(174161);const n=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return[(0,r.useMemo)(()=>new Map(a.map(c=>[c,c.dimensions])),[a])]}},728487:function(b,l,e){"use strict";e.d(l,{h:()=>c});var r=e(160553),o=e.n(r),n=e(174161),a=e(199025),i=e(425629);const c=(0,n.forwardRef)((u,f)=>{let{hasDivider:d=!0,...h}=u;return n.createElement(a.Z,{position:"relative",px:"8px",sx:{...d&&{borderBottom:"1px solid",borderColor:"gray.800"}},body:n.createElement(i.Z.Element.Icon,o()({ref:f},h))})})},807130:function(b,l,e){"use strict";e.d(l,{k:()=>u});var r=e(174161),o=e(414569),n=e(826788),a=e(412166),i=e(272578),c=e(942085);const u=(0,r.forwardRef)((f,d)=>{let{ariaLabel:h,checkmarkSx:g,dataTest:_,isSelected:p,size:y="large",sx:O,onCheckboxClick:P,onKeyPress:C}=f;const[A,S]=(0,r.useState)(null),T=(0,i.Z)(A),s=(0,c.Z)(d,S),v={...g,...T&&{outline:"1px solid black"}};return r.createElement(a.Z,{alignItems:"center",justifyContent:"center",sx:O},r.createElement(n.Z,{fill:p?"gray.100":"white",width:y==="small"?"16px":"22px",height:y==="small"?"16px":"22px",sx:v}),r.createElement(o.Z,{"aria-label":h,"data-test":`${_}-${p?"checked":"unchecked"}`,ref:s,checked:p,onClick:P,onKeyPress:C,style:{position:"absolute",opacity:0,margin:0,cursor:"pointer"},type:"checkbox"}))})},34956:function(b,l,e){"use strict";e.d(l,{G:()=>h});var r=e(174161),o=e(224353),n=e(64569),a=e(112193),i=e(207363),c=e(880722),u=e(475478),f=e(728487);const d={GRID_CARD:{icon:n.Z,label:(0,c.t)("View as grid",null,{project:"assetManagement.assetCommon"})},LIST:{icon:a.Z,label:(0,c.t)("View as list",null,{project:"assetManagement.assetCommon"})}},h=g=>{let{hasDivider:_=!0,onLayoutTypeChange:p}=g;const[y,O]=(0,r.useState)(null),[P,C]=(0,r.useState)(!1),{layoutType:A,setLayoutType:S}=(0,u.v)(),T=A===i.Z.GridCard?i.Z.List:i.Z.GridCard,s=d[T],v=s.icon;return r.createElement(r.Fragment,null,r.createElement(f.h,{"aria-label":s.label,onClick:()=>{S(T),p(T)},"data-test":`layoutType-${T}`,hasDivider:_,ref:O,onMouseEnter:()=>{C(!0)},onMouseLeave:()=>{C(!1)}},r.createElement(v,{color:"gray.100"})),r.createElement(o.Z,{anchor:y,isOpen:P,position:"top-end",margin:2,delay:{enter:500,exit:100}},s.label))}},234625:function(b,l,e){"use strict";e.d(l,{L:()=>i});var r=e(174161),o=e(600994),n=e(880722),a=e(674965);const i=c=>{let{dataTest:u,currentFolderId:f=null,onFolderIdChange:d,onFolderNotFoundCTAClick:h,onViewFolderNotFound:g}=c;return(0,r.useEffect)(()=>{g==null||g({folderId:f})},[]),r.createElement(a.U,{dataTest:u,description:r.createElement(n.T,{project:"assetManagement.assetCommon"},"This folder has been deleted."),title:r.createElement(n.T,{project:"assetManagement.assetCommon"},"Folder doesn't exist")},r.createElement(o.Z.Tertiary,{mt:3,onClick:()=>{d==null||d({folderId:null,folderEntryOrigin:null}),h==null||h({folderId:f})}},r.createElement(n.T,{project:"assetManagement.assetCommon"},"Back to all files")))}},314499:function(b,l,e){"use strict";e.d(l,{t:()=>U});var r=e(160553),o=e.n(r),n=e(174161),a=e(47932),i=e(213865),c=e(885630),u=e(331474),f=e(523824),d=e(551547),h=e(152467),g=e(147967),_=e(642979),p=e.n(_),y=e(159510);function O(j){const{scrollHeight:$,scrollTop:ee,offsetHeight:te}=j;return $-(te+ee)<te/2}class P{constructor($){p()(this,"onScroll",ee=>{!this.nearBottom&&ee.target.scrollTop>0&&O(ee.target)?(this.onNearBottom(),this.nearBottom=!0):this.nearBottom&&!O(ee.target)&&(this.nearBottom=!1)}),p()(this,"whenNearBottom",ee=>{this.onNearBottom=ee}),this.onNearBottom=$||(()=>console.warn("No onNearBottom handler specified")),this.nearBottom=!1}}const C={childList:!0,subtree:!0},A=j=>j.tagName==="DIV"&&j.classList.contains("asset-item"),S=j=>Array.prototype.filter.call(j,A).length,T=(j,$)=>{const[ee]=(0,n.useState)(()=>new P($)),{callback:te}=(0,y.Z)(ee.onScroll,25,{leading:!0,trailing:!0});ee.whenNearBottom($),(0,n.useEffect)(()=>{if(typeof j=="function")return;const ie=j==null?void 0:j.current;let ne=null;return ie&&(ie.addEventListener("scroll",te),ne=new MutationObserver(pe=>{pe.reduce((q,J)=>q+S(J.removedNodes),0)>0&&(ie.scrollTop=0)}),ne.observe(ie,C)),()=>{ie&&ie.removeEventListener("scroll",te),ne.disconnect()}},[j,te])};var s=e(881707),v=e(62630),m=e(880722),E=e(674965),I=e(419835),L=e(509241);const W=(0,m.t)("Organize your files in the Asset Library for quick access while editing your site.",null,{project:"assetManagement.assetCommon"}),F=(0,m.t)("Uploaded files will show here in your library for quick access when editing your site.",null,{project:"assetManagement.assetCommon"}),G=j=>{let{isFolderView:$,sx:ee}=j;const te=(0,n.useMemo)(()=>$?W:F,[$]);return n.createElement(E.U,{title:n.createElement(m.T,{project:"assetManagement.assetCommon"},"No files"),description:te,sx:{...ee,textAlign:"center"}})};var k=e(234625);const x=j=>{let{sx:$}=j;return n.createElement(E.U,{sx:$,title:n.createElement(m.T,{project:"assetManagement.assetCommon"},"No results"),description:n.createElement(m.T,{project:"assetManagement.assetCommon"},"Try using different keywords.")})};var M=e(247509);const B=j=>{let{sx:$}=j;return n.createElement(E.U,{title:n.createElement(m.T,{project:"assetManagement.assetCommon"},"No items in trash"),description:n.createElement(s.Z,{maxWidth:400},n.createElement(m.T,{project:"assetManagement.assetCommon"},"Deleted items will appear here and will be permanently deleted after 30 days.")," ",n.createElement(M.Z,{href:"https://support.squarespace.com/hc/articles/205812748",target:"_blank",sx:{borderBottom:"none"}},n.createElement(m.T,{project:"assetManagement.assetCommon"},"Learn more"))),sx:{...$,textAlign:"center"}})},R=j=>{let{LoadedView:$=me=>n.createElement(I.a,o()({},me,{variant:"image"})),currentFolderId:ee,EmptyView:te,onFolderIdChange:ie,onFolderNotFoundCTAClick:ne,onViewFolderNotFound:pe,viewState:oe,...q}=j;const J={pb:"100px"};return oe===v.f.LOADED_EMPTY?te?n.createElement(te,{sx:J}):n.createElement(G,{isFolderView:!!ee,sx:J}):oe===v.f.LOADING?n.createElement(L.V,{sx:J}):oe===v.f.LOAD_ERROR?n.createElement(E.U,{description:n.createElement(m.T,{project:"assetManagement.assetCommon"},"An error occurred while loading the results. Please try again"),title:n.createElement(m.T,{project:"assetManagement.assetCommon"},"Error")}):oe===v.f.LOADED||oe===v.f.LOADING_NEXT_PAGE?n.createElement($,o()({},q,{isLoadingNextPage:oe===v.f.LOADING_NEXT_PAGE})):oe===v.f.NO_SEARCH_RESULTS?n.createElement(x,{sx:J}):oe===v.f.FOLDER_NOT_FOUND?n.createElement(s.Z,{sx:{height:"100vh"}},n.createElement(k.L,{currentFolderId:ee,onFolderIdChange:ie,onFolderNotFoundCTAClick:ne,onViewFolderNotFound:pe})):oe===v.f.TRASH_EMPTY?n.createElement(B,{sx:J}):(console.error("Invalid ViewState configured"),n.createElement(G,null))},U=(0,n.forwardRef)((j,$)=>{let{onNearBottom:ee,newScrollableNode:te,...ie}=j;const ne=(0,n.useRef)(null),pe=te||$||ne,{space:oe}=(0,a.F)(),{platform:q}=(0,c.i)(i.breakpoints),J=(0,h.Z)(pe),me=(0,u.useDispatch)(),re=()=>me((0,d.Op)()),he=q==="mobile"?f.p7:f.V7,Ee={overflowX:"hidden",width:"100%",px:he,pr:`calc(${oe[he]} - ${J}px)`};return T(pe,ee),n.createElement(g.Y,o()({ref:$||ne,onClick:re},Ee),n.createElement(R,ie))})},688714:function(b,l,e){"use strict";e.d(l,{H:()=>o,t:()=>n});var r=e(174161);const o=(0,r.createContext)(null),n=()=>{const a=(0,r.useContext)(o);if(a)return a;throw new Error("useLibraryContext failed because LibraryContext was not properly initialized.")}},651448:function(b,l,e){"use strict";e.d(l,{o:()=>d});var r=e(160553),o=e.n(r),n=e(174161),a=e(881707),i=e(207363),c=e(475478),u=e(419835),f=e(177163);const d=h=>{const{layoutType:g}=(0,c.v)();if(g===i.Z.GridCard)return n.createElement(a.Z,{pb:8,position:"relative"},n.createElement(u.a,o()({},h,{variant:"card",showHeader:h.showSectionHeaders})));if(g===i.Z.List)return n.createElement(f.B,h)}},177163:function(b,l,e){"use strict";e.d(l,{B:()=>mt});var r=e(174161),o=e(935662),n=e.n(o),a=e(762379),i=e(331474),c=e(850882),u=e(207363),f=e(917269),d=e(392936),h=e(880722),g=e(417762),_=e(94446),p=e(353134),y=e(933474),O=e(419748),P=e(900486),C=e(551547),A=e(849373),S=e(351720),T=e(545334),s=e.n(T);const v=rt=>{if(!rt)return;const ce=s()(new Date(rt)),Re=s()(Date.now());return Math.abs(30-Re.diff(ce,"days"))};var m=e(312084),E=e(956233),I=e(627199),L=e(575550),W=e(504386),F=e(807130);const G=rt=>{const ce=rt.value,Re=rt.row.original.onCheckboxClick,nt=rt.row.original.onKeyPress,st=rt.row.original.isFolder?(0,h.t)("Folder",null,{project:"assetManagement.assetCommon"}):(0,h.t)("Asset",null,{project:"assetManagement.assetCommon"});return Re?r.createElement(F.k,{ariaLabel:st+rt.row.original.filename,checkmarkSx:{outlineOffset:"2px"},isSelected:ce,onCheckboxClick:Re,onKeyPress:nt,size:"small",sx:{backgroundColor:"white",border:"solid 1px",borderColor:"gray.600"}}):null},k=(0,h.t)("Name",null,{project:"assetManagement.assetCommon"}),x=(0,h.t)("Duration",null,{project:"assetManagement.assetCommon"}),M=(0,h.t)("File Type",null,{project:"assetManagement.assetCommon"}),B=(0,h.t)("Date Added",null,{project:"assetManagement.assetCommon"}),R=(0,h.t)("Days Remaining",null,{project:"assetManagement.assetCommon"});var U=e(146964),j=e(728487);const $=rt=>{const{onEllipsisClick:ce}=rt.row.original;return ce?r.createElement(j.h,{hasDivider:!1,onClick:ce},r.createElement(U.Z,null)):null};var ee=e(8483),te=e(184791),ie=e(719484),ne=e(204482),pe=e(523824),oe=e(485231),q=e(688714);const J=rt=>{let{value:ce,...Re}=rt;const[nt,st]=(0,r.useState)(!1),{filenameWithoutExt:vt,extension:ze}=(0,oe.vy)({filename:ce}),[It,on]=(0,r.useState)(vt),[Pn,Yn]=(0,r.useState)(null),[Ln,bn]=(0,r.useState)(!1),ir=(0,r.useRef)(),{librarySource:Zn}=(0,q.t)(),{itemId:$n,isFolder:jt,onSingleClick:Rn,renameFile:jn,renameFileLoading:Tn}=Re.row.original,Nn=!!jn&&Zn==="library-page",cn=fo=>{!Nn||jt||(fo.stopPropagation(),(0,E.E)(fo.detail)?ir.current=setTimeout(()=>{Rn()},d.B):(0,E.F)(fo.detail)&&(clearTimeout(ir.current),ir.current=void 0,st(!0)))};(0,r.useEffect)(()=>{Pn&&(Pn.blur(),Pn.focus())},[Pn]),(0,r.useEffect)(()=>{Pn&&!Ln&&nt&&(Pn.selectionStart=0,Pn.selectionEnd=It.length||0,bn(!0))},[Ln,It,Pn,nt]);const or=()=>{st(!1),bn(!1)},qn=()=>{or();const{validatedFilename:fo,filenameError:Jr}=(0,oe.GK)(It,vt);Jr||jn==null||jn({assetId:$n,filename:(0,oe.wB)({filenameWithoutExt:fo,extension:ze})})},Hr=fo=>{ne.isEscapeKey(fo)?(fo.stopPropagation(),or(),on(vt)):ne.isEnterKey(fo)&&(fo.stopPropagation(),qn())};return nt?r.createElement(ee.Z,{"data-no-focus-lock":!0,"data-test":"filename-input",onBlur:qn,onChange:on,onClick:fo=>fo.stopPropagation(),onKeyDown:Hr,ref:Yn,placeholder:vt,sx:{backgroundColor:"white",px:"6px",height:"34px",borderRadius:1},value:It,width:"100%"}):r.createElement(ie.Z.Body,{"data-test":"filename",maxHeight:"sizes.250",margin:"0",onClick:cn,sx:{...pe.tm,transition:"padding 0.1s ease-in-out",borderRadius:1,minHeight:"34px",display:"flex",alignItems:"center",...Nn&&!jt&&{"&:hover":{backgroundColor:"white",px:"6px"}}}},Tn?r.createElement(te.Z,{size:0}):ce)};var me=e(903638),re=e(16930),he=e(224728),Ee=e(412166);const fe=rt=>{let{value:ce,width:Re="sizes.300",height:nt="sizes.300",m:st=1,row:vt}=rt;return ce?r.createElement(me.Z,{m:st,width:Re,height:nt,css:{objectFit:"cover"},src:ce,crossOrigin:vt==null?void 0:vt.original.crossOrigin}):r.createElement(Ee.Z,{m:st,sx:{justifyContent:"center",alignItems:"center",width:Re,height:nt,backgroundColor:"gray.900"}},vt!=null&&vt.original.isFolder?r.createElement(re.Z,{color:"gray.300"}):r.createElement(he.Z,{color:"gray.300"}))},H=W.i.Utils.createColumnHelper(),z={createdAt:H.accessor("createdAt",{enableSorting:!0,header:B,meta:{headCellProps:{maxWidth:198},bodyCellProps:{maxWidth:198}}}),daysRemaining:H.accessor("daysRemaining",{enableSorting:!0,header:R,meta:{headCellProps:{maxWidth:200},bodyCellProps:{maxWidth:200}}}),ellipsisMenu:H.accessor("ellipsisMenu",{cell:$,meta:{headCellProps:{maxWidth:44},bodyCellProps:{maxWidth:44}}}),durationString:H.accessor("durationString",{header:x,meta:{headCellProps:{maxWidth:110},bodyCellProps:{maxWidth:110}}}),fileExtension:H.accessor("fileExtension",{header:M,meta:{headCellProps:{maxWidth:110},bodyCellProps:{maxWidth:110}}}),filename:H.accessor("filename",{enableSorting:!0,header:k,cell:rt=>{const{getValue:ce,row:Re}=rt;return r.createElement(J,{value:ce(),row:Re})}}),image:H.accessor("image",{cell:rt=>{const{getValue:ce,row:Re}=rt;return r.createElement(fe,{value:ce(),row:Re})},meta:{headCellProps:{width:67},bodyCellProps:{width:67}}}),isSelected:H.accessor("isSelected",{cell:rt=>{const{getValue:ce,row:Re}=rt;return r.createElement(G,{value:ce(),row:Re})},meta:{headCellProps:{width:30},bodyCellProps:{width:30}}})},_e={[c.h.IMAGE]:[z.isSelected,z.image,z.filename,z.fileExtension,z.createdAt,z.ellipsisMenu],[c.h.VIDEO]:[z.isSelected,z.image,z.filename,z.durationString,z.fileExtension,z.createdAt,z.ellipsisMenu],[c.h.AUDIO]:[],[c.h.FILE]:[],[c.h.FONT]:[]},ae={[c.h.IMAGE]:[z.isSelected,z.image,z.filename,z.fileExtension,z.daysRemaining,z.ellipsisMenu],[c.h.VIDEO]:[z.isSelected,z.image,z.filename,z.durationString,z.fileExtension,z.daysRemaining,z.ellipsisMenu],[c.h.AUDIO]:[],[c.h.FILE]:[],[c.h.FONT]:[]},ge={[g.hn.FILE_NAME]:"filename",[g.hn.CREATED_AT]:"createdAt",[g.hn.DAYS_REMAINING]:"daysRemaining"},Be=Object.keys(ge).reduce((rt,ce)=>({...rt,[ge[ce]]:ce}),{});var Ke=e(160553),He=e.n(Ke),ye=e(881707),Le=e(936609),Ue=e(47932);const Fe=rt=>{const{space:ce}=(0,Ue.F)(),Re=rt.row.original.onRowClick,nt={cursor:"pointer",transition:"background 0.25s, border 0.25s",backgroundColor:rt.row.original.isSelected?"gray.900":"white",borderColor:rt.row.original.isSelected?"gray.900":"white","&:hover":{backgroundColor:"gray.900",borderColor:"gray.900"},borderStyle:"solid",borderLeftWidth:ce[2],borderRightWidth:ce[2],borderTopWidth:ce[0],borderBottomWidth:ce[0],marginLeft:`-${ce[2]}`,marginRight:`-${ce[2]}`,userSelect:"none"};return r.createElement(W.i.List.Body.Row,He()({className:"asset-item","data-test":"asset-item",onClick:Re,sx:{"&>:first-of-type":void 0,...nt},renderBodyCell:st=>r.createElement(W.i.List.Body.Cell,He()({pl:st.cell.column.id==="isSelected"||st.cell.column.id==="image"?0:2,pr:st.cell.column.id==="ellipsisMenu"||st.cell.column.id==="image"?0:2,py:0,borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"gray.800"},st))},rt))};var ht=e(199025),Ne=e(414569),Ce=e(488609);const we=()=>r.createElement(ye.Z,{borderRadius:"50%",backgroundColor:"gray.400",width:"sizes.75",height:"sizes.75",mx:"1"}),Ot=rt=>{let{row:ce}=rt;const{createdAt:Re,onEllipsisClick:nt,fileExtension:st,filename:vt,image:ze="",isFolder:It,isSelected:on,onRowClick:Pn=()=>{},onCheckboxClick:Yn=()=>{},rowCount:Ln}=ce.original,bn=ce.index===Ln-1;return r.createElement(r.Fragment,null,r.createElement(ht.Z.Container,{onClick:Pn},r.createElement(ht.Z.Shell,null,r.createElement(ht.Z.ExteriorPre,null,It?r.createElement(ye.Z,{size:11,mr:2}):r.createElement(Ne.Z,{checked:on,onClick:Yn})),r.createElement(ht.Z.InteriorPre,{mr:3},r.createElement(fe,{value:ze,width:"sizes.350",height:"sizes.350",m:0,row:ce})),r.createElement(ht.Z.Body,null,r.createElement(Ee.Z,{mb:1},r.createElement(ie.Z.Body,{m:0,fontWeight:"medium",sx:pe.tm},vt)),r.createElement(Ee.Z,{alignItems:"center"},It?null:r.createElement(r.Fragment,null,r.createElement(ie.Z.Caption,{my:0,color:"gray.100"},st),r.createElement(we,null)),r.createElement(ie.Z.Caption,{my:0,mr:1},r.createElement(h.T,{project:"assetManagement.assetCommon"},"Added")),r.createElement(ie.Z.Caption,{my:0,color:"gray.100"},Re))),It?null:r.createElement(ht.Z.ExteriorAccessory,{onClick:nt,py:2,pl:2,m:0},r.createElement(U.Z,null)))),!bn&&r.createElement(Ce.Z,null))},Pt=rt=>r.createElement(W.i.List.Head.Row,He()({},rt,{onClick:ce=>ce.stopPropagation()})),Ie=rt=>{let{primaryAssetType:ce,isLoadingNextPage:Re,data:nt,sortBy:st,sortDirection:vt,onRequestColumnSort:ze,variant:It}=rt;return r.createElement(ye.Z,{pb:8,position:"relative"},r.createElement(W.i,{columns:It==="trashcan"?ae[ce]:_e[ce],data:nt,defaultColumn:{header:"",enableSorting:!1},enableColumnHeaderSort:!0,enableSort:!0,manualSorting:!0,onSortingChange:ze,state:{sorting:[{id:ge[st],desc:vt===g.Sr.DESC}]}},r.createElement(W.i.List,{px:0},r.createElement(Le.Z.Renderer,{render:{default:()=>r.createElement(W.i.List.Head,{renderHeadRow:Pt}),"mobile-0":()=>null}}),r.createElement(W.i.List.Body,{renderBodyRow:on=>r.createElement(Le.Z.Renderer,He()({render:{default:Fe,"mobile-0":Ot}},on))}))),Re&&r.createElement(Ee.Z,{alignItems:"center",justifyContent:"center",height:"200px"},r.createElement(te.Z,null)))},Bt=rt=>rt?g.Sr.DESC:g.Sr.ASC,mt=rt=>{let{getFolderActionProps:ce,imageType:Re,onChangeSort:nt,variant:st="default"}=rt;const vt=(0,i.useSelector)(_.S),ze=(0,r.useRef)(),{sortBy:It,sortDirection:on}=(0,i.useSelector)(_.QO),Pn=(0,i.useDispatch)(),{getState:Yn}=(0,i.useStore)(),Ln=(0,p.$2)(),{data:bn,isFetching:ir}=(0,y.KX)(Ln),[Zn,$n]=(0,y.jx)(),jt=!!bn&&ir,Rn=(bn==null?void 0:bn.assets)||[],jn=(bn==null?void 0:bn.folders)||[],Tn=Rn.length+jn.length,Nn=Qt=>{if(Qt===void 0)return;let qt;if(Qt instanceof Function?qt=Qt():qt=Qt,!qt||qt.length===0)return;const Te=qt[0],Gt=Be[Te.id],un=Bt(Te.desc);Pn((0,O.uX)({sortBy:Gt,sortDirection:un})),nt==null||nt({sortDirection:un,sortField:Gt,type:`${Gt}_${un}`,imageType:Re})},cn=()=>a.Z.isFeatureEnabled(n().ASSET_AUTHORIZATION_GATE),{getEllipsisClickAction:or,getSingleClickAction:qn,getDoubleClickAction:Hr,onFileRename:fo}=(0,A.v)(),Jr=Qt=>{const qt=bn==null?void 0:bn.assets.find(Te=>Te.assetId===Qt.assetId);fo==null||fo({assetId:Qt.assetId,assetType:(qt==null?void 0:qt.assetType)||c.h.IMAGE,filename:Qt.filename,layoutType:u.Z.List,trackingOrigin:"double-click"}),Zn(Qt)},ro=Yn(),Xt=jn.map(Qt=>{const{createdAt:qt,deletedAt:Te,folderName:Gt,folderId:un}=Qt,Vt=ce==null?void 0:ce({folderId:un,folderName:Gt}),Dn=(0,P.cE)(un)(ro),Wt=v(Te);return{itemId:un,createdAt:(0,m.F)(qt),daysRemaining:Wt?(0,h._6)({one:"{%n} day",other:"{%n} days"},Wt,null,{project:"assetManagement.assetCommon"}):void 0,onEllipsisClick:Pe=>{Pe.stopPropagation(),or({folderDetails:Qt})(Pe)},filename:Gt,isFolder:!0,isSelected:Dn,rowCount:Tn,onKeyPress:Pe=>{Pe.key==="Enter"&&Hr({folderDetails:Qt})()},onRowClick:Pe=>{Pe.stopPropagation();const{metaKey:xe,ctrlKey:Ae,shiftKey:qe}=Pe;(0,E.E)(Pe.detail)?ze.current=setTimeout(()=>{qe&&Vt!==null&&Vt!==void 0&&Vt.onShiftClick?Vt==null||Vt.onShiftClick():(xe||Ae)&&Vt!==null&&Vt!==void 0&&Vt.onCtrlClick?Vt==null||Vt.onCtrlClick():qn({folderDetails:Qt})()},d.B):(0,E.F)(Pe.detail)&&(clearTimeout(ze.current),ze.current=void 0,Hr({folderDetails:Qt})())},...Vt,onSingleClick:()=>{qn({folderDetails:Qt})()},onDoubleClick:()=>{Hr({folderDetails:Qt})()}}})||[],{imageAuthToken:Je}=(0,S.j)(),At=Rn.map(Qt=>{var qt;const{assetId:Te,createdAt:Gt,deletedAt:un,fileExtension:Vt,filename:Dn,imageSrc:Wt}=Qt,Pe=(0,P.Kk)(Te)(Yn()),xe=v(un),Ae=cn()?(0,I.Q)({src:Wt,token:Je}):Wt,qe=cn()?"anonymous":void 0,wt=(0,f.fQ)(Qt)?{durationString:Qt.durationString}:{};return{itemId:Te,createdAt:Gt,daysRemaining:xe?(0,h._6)({one:"{%n} day",other:"{%n} days"},xe,null,{project:"assetManagement.assetCommon"}):void 0,onEllipsisClick:kt=>{kt.stopPropagation(),or({assetDetails:Qt,imageType:Re})(kt)},fileExtension:Vt,filename:Dn,image:Ae,crossOrigin:qe,isSelected:Pe,rowCount:Tn,...wt,onRowClick:kt=>{kt.stopPropagation();const ut={metaKey:kt.metaKey,ctrlKey:kt.ctrlKey,shiftKey:kt.shiftKey,target:kt.target};(0,E.E)(kt.detail)?ze.current=setTimeout(()=>{ut.shiftKey?Pn((0,C.$4)({assetId:Te})):ut.metaKey||ut.ctrlKey?Pn((0,C.iL)({assetId:Te,changeMultiSelectMode:"enable"})):Pn((0,C.iL)({assetId:Te}))},d.B):(0,E.F)(kt.detail)&&(clearTimeout(ze.current),ze.current=void 0,Hr({assetDetails:Qt,entryOrigin:L.jz.AssetListDblClick,imageType:Re})())},onSingleClick:()=>{Pn((0,C.iL)({assetId:Te}))},renameFile:Jr,renameFileLoading:$n.isLoading&&((qt=$n.originalArgs)===null||qt===void 0?void 0:qt.assetId)===Te,onCheckboxClick:kt=>{kt.stopPropagation(),kt.shiftKey?Pn((0,C.$4)({assetId:Te})):Pn((0,C.iL)({assetId:Te,changeMultiSelectMode:"enable"}))}}})||[],xt=[...Xt,...At];return r.createElement(Ie,{isLoadingNextPage:jt,primaryAssetType:vt,data:xt,sortBy:It,sortDirection:on,onRequestColumnSort:Nn,variant:st})}},509241:function(b,l,e){"use strict";e.d(l,{V:()=>a});var r=e(174161),o=e(184791),n=e(713389);const a=i=>{let{dataTest:c,sx:u}=i;return r.createElement(n.w,{dataTest:c,sx:u},r.createElement(o.Z,null))}},63248:function(b,l,e){"use strict";e.d(l,{Q:()=>c});var r=e(174161),o=e(425629),n=e(880722);const a=(0,n.t)("Learn more",null,{project:"assetManagement.assetCommon"}),i="https://support.squarespace.com/hc/articles/205812748",c=u=>{let{message:f}=u;return r.createElement(r.Fragment,null,f,"\xA0",r.createElement(o.Z,{as:"a",href:i,target:"_blank",css:{backgroundColor:"none",borderBottom:"1px solid black","&:focus":{backgroundColor:"gray.800"}}},a))}},116006:function(b,l,e){"use strict";e.d(l,{j:()=>He});var r=e(392338),o=e(174161),n=e(331474),a=e(435485),i=e(353134),c=e(933474),u=e(94446),f=e(9536),d=e(923778),h=e(387152),g=e(300958),_=e(575550),p=e(411722),y=e(184791),O=e(725538),P=e(412166),C=e(719484),A=e(880722),S=e(63248),T=e(302211);const s=ye=>{var Le;const Ue=[],Xe=[],Fe=[];return(Le=ye.failedAssets)===null||Le===void 0||Le.forEach(ht=>{Ue.push(ht.id),ht.status==="NOT_FOUND"&&Fe.push(ht.id)}),ye.usages.forEach(ht=>{ht.code===1&&Xe.push(ht.assetId)}),{errorAssetIds:Ue,successAssetIds:Xe,assetsNotFound:Fe}},v=ye=>!!ye&&ye!=="error"&&ye!=="pending",m=ye=>v(ye)&&ye.totalCampaignsUsageCount===0&&ye.totalWebsiteUsageCount===0,E=(0,A.t)("File failed to delete. Try again.",null,{project:"assetManagement.assetCommon"}),I=(0,A.t)("Some of the files failed to delete. Try again.",null,{project:"assetManagement.assetCommon"}),L=(0,A.t)("Files failed to delete. Try again.",null,{project:"assetManagement.assetCommon"}),W=(0,A.t)("Error deleting",null,{project:"assetManagement.assetCommon"}),F=(0,A.t)("Something went wrong. Please try again.",null,{project:"assetManagement.assetCommon"}),G={title:W,message:F,messageString:"Something went wrong. Please try again."},k=ye=>ye===1?(0,A.t)("File failed to delete because it doesn't exist. Refresh the page and try again.",null,{project:"assetManagement.assetCommon"}):(0,A.t)("{numFiles} files failed to delete because they don't exist. Refresh the page and try again.",{numFiles:ye},{project:"assetManagement.assetCommon"}),x=ye=>{const{errorAssetIds:Le,successAssetIds:Ue,assetsNotFound:Xe}=s(ye);let Fe="";return Le.length===0?null:(Xe.length===Le.length?Fe=k(Xe.length):Ue.length===0?Fe=Le.length===1?E:L:Fe=I,Fe?{title:W,message:Fe}:null)},M=(0,A.t)("Checking file usage...",null,{project:"assetManagement.assetCommon"}),B=(0,A.t)("Deleting...",null,{project:"assetManagement.assetCommon"}),R=ye=>{let{text:Le}=ye;return o.createElement(C.Z.Body,{as:"span",fontWeight:"semibold"},Le)},U=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",filename:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the filename in use"},"{filename} may be used on your website. Deleting will display it as a broken file but can be restored from Trash within 30 days."),messageString:`${ye} may be used on your website. Deleting will display it as a broken file but can be restored from Trash within 30 days.`}),j=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",numFiles:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the number of files in use"},"{numFiles} files may be used on your website. Deleting will display them as broken files but can be restored from Trash within 30 days."),messageString:`${ye} files may be used on your website. Deleting will display them as broken files but can be restored from Trash within 30 days.`}),$=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",filename:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the filename in use"},"{filename} is used in sent emails. Deleting will display it as a broken file but can be restored from Trash within 30 days."),messageString:`${ye} is used in sent emails. Deleting will display it as a broken file but can be restored from Trash within 30 days.`}),ee=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",numFiles:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the number of files in use"},"{numFiles} files are used in sent emails. Deleting will display them as broken files but can be restored from Trash within 30 days."),messageString:`${ye} files are used in sent emails. Deleting will display them as broken files but can be restored from Trash within 30 days.`}),te=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",filename:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the filename in use"},"{filename} is used in proposals. Deleting will display it as a broken file but can be restored from Trash within 30 days."),messageString:`${ye} is used in proposals. Deleting will display it as a broken file but can be restored from Trash within 30 days.`}),ie=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",numFiles:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the number of files in use"},"{numFiles} files are used in proposals. Deleting will display them as broken files but can be restored from Trash within 30 days."),messageString:`${ye} files are used in proposals. Deleting will display them as broken files but can be restored from Trash within 30 days.`}),ne=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",filename:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the filename in use"},"{filename} may be used on your website and sent emails. Deleting will display it as a broken file but can be restored from Trash within 30 days."),messageString:`${ye} may be used on your website and sent emails. Deleting will display it as a broken file but can be restored from Trash within 30 days.`}),pe=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",numFiles:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the number of files in use"},"{numFiles} files may be used on your website and sent emails. Deleting will display them as broken files but can be restored from Trash within 30 days."),messageString:`${ye} files may be used on your website and sent emails. Deleting will display them as broken files but can be restored from Trash within 30 days.`}),oe=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",filename:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the filename in use"},"{filename} may be used on your website and proposals. Deleting will display it as a broken file but can be restored from Trash within 30 days."),messageString:`${ye} may be used on your website and proposals. Deleting will display it as a broken file but can be restored from Trash within 30 days.`}),q=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",numFiles:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the number of files in use"},"{numFiles} files may be used on your website and proposals. Deleting will display them as broken files but can be restored from Trash within 30 days."),messageString:`${ye} files may be used on your website and proposals. Deleting will display them as broken files but can be restored from Trash within 30 days.`}),J=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",filename:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the filename in use"},"{filename} is used in proposals and sent emails. Deleting will display it as a broken file but can be restored from Trash within 30 days."),messageString:`${ye} is used in proposals and sent emails. Deleting will display it as a broken file but can be restored from Trash within 30 days.`}),me=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",numFiles:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the number of files in use"},"{numFiles} files are used in proposals and sent emails. Deleting will display them as broken files but can be restored from Trash within 30 days."),messageString:`${ye} files are used in proposals and sent emails. Deleting will display them as broken files but can be restored from Trash within 30 days.`}),re=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",filename:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the filename in use"},"{filename} may be used on your website, proposals, and sent emails. Deleting will display it as a broken file but can be restored from Trash within 30 days."),messageString:`${ye} may be used on your website, proposals, and sent emails. Deleting will display it as a broken file but can be restored from Trash within 30 days.`}),he=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",numFiles:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the number of files in use"},"{numFiles} files may be used on your website, proposals, and sent emails. Deleting will display them as broken files but can be restored from Trash within 30 days."),messageString:`${ye} files may be used on your website, proposals, and sent emails. Deleting will display them as broken files but can be restored from Trash within 30 days.`}),Ee=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",folderName:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the filename in use"},"{folderName} may include files that are in use. Deleting will display them as broken files but can be restored from Trash within 30 days."),messageString:`${ye} may include files that are in use. Deleting will display them as broken files but can be restored from Trash within 30 days.`}),fe=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",numFolders:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the number of files in use"},"{numFolders} folders may include files that are in use. Deleting will display them as broken files but can be restored from Trash within 30 days."),messageString:`${ye} folders may include files that are in use. Deleting will display them as broken files but can be restored from Trash within 30 days.`}),H=ye=>({messageJSX:o.createElement(A.T,{project:"assetManagement.assetCommon",numItems:o.createElement(R,{text:ye}),notes:"substitution is a <span> wrapper around the number of files in use"},"{numItems} items may include files that are in use. Deleting will display them as broken files but can be restored from Trash within 30 days."),messageString:`${ye} items may include files that are in use. Deleting will display them as broken files but can be restored from Trash within 30 days.`}),z=ye=>{let{totalWebsiteUsageCount:Le,totalCampaignsUsageCount:Ue,totalProposalsUsageCount:Xe,usages:Fe,fileName:ht="",folderName:Ne="",numFolders:Ce=0,numAssets:we=0}=ye;const $e=Le>0,Ot=Ue>0,Pt=Xe>0;if(Ce===1&&we===0&&($e||Ot))return Ee(Ne);if(Ce>0&&we===0&&($e||Ot))return fe(Ce);if(Ce>0&&we>0&&($e||Ot))return H(Ce+we);if(Fe.length===1){if($e&&Ot&&Pt)return re(ht);if($e&&Ot)return ne(ht);if($e&&Pt)return oe(ht);if(Ot&&Pt)return J(ht);if($e)return U(ht);if(Ot)return $(ht);if(Pt)return te(ht)}return $e&&!Ot&&!Pt?j(we):!$e&&Ot&&!Pt?ee(we):!$e&&!Ot&&Pt?ie(we):$e&&Ot&&Pt?he(we):$e&&Ot&&!Pt?pe(we):$e&&!Ot&&Pt?q(we):!$e&&Ot&&Pt?me(we):H(Ce+we)},_e=null,ae="delete-modal-title",ge="delete-modal-body",Be=ye=>{let{currentView:Le,checkAssetsUsageResponse:Ue,moveItemsToTrashResponse:Xe,fileName:Fe,folderName:ht,numAssets:Ne,numFolders:Ce,onCancel:we,onDelete:$e,onDismissNotification:Ot,onLoadedModalView:Pt,notificationVariant:Ie="library"}=ye;const[Bt,mt]=(0,o.useState)({title:"",message:"",messageString:""}),rt=(0,o.useMemo)(()=>{if(Xe==="error")return G;if(v(Xe)){const st=x(Xe);return st?{...st,messageString:st.message}:null}return null},[Xe]),{notificationTitle:ce,notificationMessage:Re}=(0,o.useMemo)(()=>({notificationTitle:Ie==="picker"?(0,A.t)("Deleted items are moved to Trash in the Asset Library",null,{project:"assetManagement.assetCommon"}):(0,A.t)("Deleted items are moved to Trash",null,{project:"assetManagement.assetCommon"}),notificationMessage:(0,A.t)("You can restore or permanently delete items from Trash. Items in Trash will be permanently deleted after 30 days.",null,{project:"assetManagement.assetCommon"})}),[Ie]),nt=(0,o.useMemo)(()=>!Ue||typeof Ue=="string"?!1:!Ue.totalCampaignsUsageCount&&!Ue.totalWebsiteUsageCount,[Ue]);return(0,o.useEffect)(()=>{if(Le==="notification"&&mt({title:ce,message:Re,messageString:Re}),Le==="error"&&mt(rt??G),Le==="confirmation"&&v(Ue)){const st=z({...Ue,fileName:Fe,folderName:ht,numFolders:Ce,numAssets:Ne});mt({title:(0,A.t)("Delete?",null,{project:"assetManagement.assetCommon"}),message:o.createElement(S.Q,{message:typeof st=="object"?st.messageJSX:st}),messageString:typeof st=="object"?st.messageString:st})}Le==="loading"&&mt({title:Ue==="pending"?M:B,message:o.createElement(P.Z,{justifyContent:"center"},o.createElement(y.Z,{size:0,mt:3})),messageString:"loading"})},[rt,Ue,Le,Fe,ht,Re,ce,Ne,Ce]),(0,o.useEffect)(()=>{Le&&Bt.messageString!=="loading"&&Pt&&Pt({title:Bt.title,message:Bt.messageString})},[Le,Bt.messageString,Bt.title,Pt]),o.createElement(O.Z.Transition,null,!!Le&&o.createElement(O.Z,{onRequestClose:we},o.createElement(O.Z.Overlay,null),o.createElement(O.Z.Position,{position:"center"},o.createElement(p.Z,{"aria-labelledby":ae,"aria-describedby":ge,title:o.createElement(C.Z.Subtitle,{id:ae,as:"h3",fontWeight:"semibold",m:0,mb:2,width:"100%"},Bt.title),message:o.createElement(C.Z.Body,{id:ge,m:0,width:"100%",sx:{wordWrap:"break-word"}},Bt.message),buttons:(0,T.L)({isLoading:Le==="loading",isError:Le==="error",isNotification:Le==="notification",onCancel:we,onDelete:$e,onDismissNotification:Ot,shouldReverseButtons:nt})}))))},Ke=ye=>{if(ye)return ye.status==="pending"?"pending":ye.status==="rejected"?"error":ye.data},He=ye=>{let{onDeleteModalViewed:Le,onErrorModalViewed:Ue,notificationVariant:Xe}=ye;const Fe=(0,n.useDispatch)(),ht=(0,i.$2)(),{data:Ne}=(0,c.KX)(ht),Ce=(0,n.useSelector)(u.xF),we=(0,n.useSelector)(f.M2),$e=(0,n.useSelector)(f.uv),{refreshUsage:Ot}=(0,h.o)(we,$e),[Pt,Ie]=(0,o.useState)(null),[Bt,mt]=(0,o.useState)(!1),[rt,ce]=(0,o.useState)(!1),[,Re]=(0,c.ZU)({fixedCacheKey:d.sN}),[nt,st]=(0,c.zX)({fixedCacheKey:d.rP}),vt=(0,o.useMemo)(()=>Ke(Re),[Re]),ze=(0,o.useMemo)(()=>Ke(st),[st]),It=(0,o.useMemo)(()=>!!Pt&&Pt!=="loading",[Pt]),on=(0,o.useMemo)(()=>{var Hr,fo,Jr,ro;return v(ze)&&((Hr=ze.failedAssets)!==null&&Hr!==void 0&&Hr.length||(fo=ze.failedFolders)!==null&&fo!==void 0&&fo.length)||v(vt)&&((Jr=vt.failedAssets)!==null&&Jr!==void 0&&Jr.length||(ro=vt.failedFolders)!==null&&ro!==void 0&&ro.length)?!0:vt==="error"||ze==="error"},[vt,ze]),Pn=(0,o.useMemo)(()=>{if(v(ze)){const{assets:Hr,folderIds:fo,failedAssets:Jr,failedFolders:ro}=ze,Xt=Hr&&Jr&&Hr.length>Jr.length,Je=fo&&ro&&fo.length>ro.length;return Xt||Je}return!1},[ze]),{assets:Yn,fileName:Ln,folderIds:bn,folderName:ir,deletionOrigin:Zn}=(0,o.useMemo)(()=>{var Hr;return!vt||vt==="error"||vt==="pending"?{assets:void 0,fileName:void 0,folderIds:void 0,folderName:void 0,deletionOrigin:void 0}:{assets:vt.assets,fileName:((Hr=vt.assets)===null||Hr===void 0?void 0:Hr.length)===1?vt.assets[0].filename:void 0,folderIds:vt.folderIds,folderName:vt.folderName,deletionOrigin:vt.deletionOrigin}},[vt]),$n=(0,o.useMemo)(()=>{const Hr=(0,g.J)(Yn||[]);return Hr===_.cD.Empty?bn!=null&&bn.length?_.cD.Folder:_.cD.Empty:bn!=null&&bn.length?_.cD.Mixed:Hr},[Yn,bn]),jt=(0,o.useMemo)(()=>{if(!(!Yn&&!bn||!Zn))return{assetId:(Yn==null?void 0:Yn.length)===1?Yn[0].assetId:null,contentType:$n,entryOrigin:Zn,folderId:(bn==null?void 0:bn.length)===1?bn[0]:null,isOverflowSource:Zn==="overflow-menu",numAssets:(Yn==null?void 0:Yn.length)??0,numFolders:(bn==null?void 0:bn.length)??0}},[Yn,$n,Zn,bn]),Rn=(0,o.useCallback)(()=>{(0,a.I)()||(0,a.r)(),Ie(on?"error":null)},[on]),jn=(0,o.useCallback)(()=>{Pn&&!(0,a.I)()?Ie("notification"):on&&Ie("error")},[Pn,on]),Tn=(0,o.useCallback)(()=>{Pn&&!(0,a.I)()?Ie("notification"):(st.reset(),Re.reset())},[Pn,Re,st]),Nn=(0,o.useMemo)(()=>{if(It)return Hr=>{let{title:fo,message:Jr}=Hr;!rt&&(vt==="error"||ze==="error")?(Ue==null||Ue({contentType:jt==null?void 0:jt.contentType,entryOrigin:jt==null?void 0:jt.entryOrigin,errorMessage:Jr}),ce(!0)):jt&&!Bt&&(Le==null||Le({contentType:jt.contentType,isOverflowSource:jt.isOverflowSource,message:Jr,numAssets:jt.numAssets,numFolders:jt.numFolders,title:fo}),mt(!0))}},[vt,rt,Bt,It,ze,jt,Le,Ue]),cn=(0,o.useCallback)(()=>{Pt==="notification"?jn():(st.reset(),Re.reset())},[Yn,Re,st,jn,jt]),or=(0,o.useCallback)(()=>{!Yn&&!bn||!Zn||nt({assets:Yn,folderIds:bn,deletionOrigin:Zn,parentFolderId:Ce||void 0})},[Yn,Zn,bn,nt,Ce]),qn=(0,o.useCallback)(Hr=>{var fo;const{errorAssetIds:Jr,successAssetIds:ro}=s(Hr),Xt=(Ne==null?void 0:Ne.assets.filter(Je=>ro.includes(Je.assetId)))||[];Fe(c.hi.util.updateQueryData("apiSearch",ht,Je=>{Je.totalAssets=Je.totalAssets-Xt.length,Je.assets=Je.assets.filter(At=>!ro.includes(At.assetId))})),Ot(),!Jr.length&&!((fo=Hr.failedFolders)!==null&&fo!==void 0&&fo.length)&&Tn()},[Ne,Fe,Ot,ht,Tn]);return(0,o.useEffect)(()=>{v(ze)&&Pn&&Pt!=="error"&&Pt!=="notification"&&qn(ze)},[Pn,Pt,ze,qn]),(0,o.useEffect)(()=>(Pt||(mt(!1),ce(!1)),()=>{mt(!1),ce(!1)}),[Pt]),(0,o.useEffect)(()=>{m(vt)&&!ze?or():v(vt)&&!m(vt)&&Ie("confirmation"),vt==="pending"||ze==="pending"?Ie("loading"):v(ze)?jn():!vt&&!ze&&Ie(null)},[vt,ze,or,jn]),o.createElement(Be,{currentView:Pt,checkAssetsUsageResponse:vt,moveItemsToTrashResponse:ze,numAssets:Yn==null?void 0:Yn.length,numFolders:bn==null?void 0:bn.length,fileName:Ln,folderName:ir,onCancel:cn,onDismissNotification:Rn,onDelete:or,onLoadedModalView:Nn,notificationVariant:Xe})}},302211:function(b,l,e){"use strict";e.d(l,{L:()=>f});var r=e(174161),o=e(411722),n=e(880722);const a=(0,n.t)("Delete",null,{project:"assetManagement.assetCommon"}),i=(0,n.t)("Empty trash",null,{project:"assetManagement.assetCommon"}),c=(0,n.t)("Cancel",null,{project:"assetManagement.assetCommon"}),u=(0,n.t)("Ok",null,{project:"assetManagement.assetCommon"}),f=d=>{let{isEmptyTrash:h,isLoading:g,isError:_,isNotification:p,onCancel:y,onDelete:O,onDismissNotification:P,shouldReverseButtons:C}=d;const A=h?i:a;if(g)return[()=>r.createElement(o.Z.Button,{key:"cancel",onClick:y},c)];if(_||p)return[()=>r.createElement(o.Z.Button,{key:"ok",onClick:p?P:y},u)];const S=[()=>r.createElement(o.Z.Button,{key:"delete",onClick:()=>{O()},variant:"danger"},A),()=>r.createElement(o.Z.Button,{key:"cancel",onClick:y},c)];return C?S.reverse():S}},383054:function(b,l,e){"use strict";e.d(l,{E:()=>s});var r=e(160553),o=e.n(r),n=e(174161),a=e(936609),i=e(880722),c=e(412166),u=e(523824),f=e(154642),d=e(199025),h=e(488609),g=e(252345),_=e(881707),p=e(425629),y=e(51408);const O=(0,y.Z)(d.Z,h.Z),P=v=>n.createElement(h.Z,o()({sx:{backgroundColor:"transparent"},css:{backgroundColor:"black"}},v)),C=(0,y.Z)(d.Z,P),A=v=>{let{animatedProps:m,onClear:E,onChange:I,placeholder:L,variant:W=u.pV.DEFAULT,value:F="",...G}=v;const[k,x]=(0,n.useState)(),[M,B]=(0,n.useState)(!(m!=null&&m.shouldCollapse));return n.createElement(_.Z,{sx:{flexGrow:"1",transition:"width 0.3s ease",overflowY:m?"hidden":void 0,...m==null?void 0:m.containerSx},style:{width:M?m==null?void 0:m.containerSx.width:"40px"}},m?n.createElement(C,o()({py:0,pr:2,body:n.createElement(f.Z.Input,{exteriorPre:n.createElement(p.Z.Element.Icon,{"aria-label":(0,i.t)("click to type a search string",null,{project:"assetManagement.assetCommon"}),disabled:M,my:-4,onFocus:()=>{var R;k==null||(R=k.getElementsByTagName("input"))===null||R===void 0||(R=R[0])===null||R===void 0||R.focus()},onClick:()=>{var R;k==null||(R=k.getElementsByTagName("input"))===null||R===void 0||(R=R[0])===null||R===void 0||R.focus()}},n.createElement(g.Z,null)),inputValue:F,onBlur:()=>{m.shouldCollapse&&B(!1)},onChange:I,onClear:E,onFocus:()=>B(!0),placeholder:L,ref:x})},G)):n.createElement(O,o()({variant:W,py:0,pr:2,body:n.createElement(f.Z.Input,{inputValue:F,onChange:I,onClear:E,placeholder:L})},G)))},S=v=>{let{animatedProps:m,children:E,initialSearchValue:I="",onClear:L,onSubmit:W,placeholder:F,sx:G,variant:k}=v;const[x,M]=(0,n.useState)(I),B={width:"100%",px:u.Yq};return n.createElement("form",{onSubmit:R=>{R.preventDefault(),W(x)}},n.createElement("input",{type:"submit",style:{display:"none"}}),n.createElement(c.Z,{sx:{...B,...G}},n.createElement(A,{animatedProps:m,ariaLabel:"asset-search-field",dataTest:"asset-search-field",onChange:M,onClear:()=>{M(""),W(""),L==null||L()},placeholder:F,value:x,variant:k}),E))},T=v=>{let{animatedProps:m,children:E,initialSearchValue:I="",onClear:L,onSubmit:W,placeholder:F,sx:G,variant:k}=v;const[x,M]=(0,n.useState)(I);return n.createElement(_.Z,{width:"100%",mb:4,px:u.Yq,sx:G},n.createElement("form",{onSubmit:B=>{B.preventDefault(),W(x)}},n.createElement("input",{type:"submit",style:{display:"none"}}),n.createElement(c.Z,null,n.createElement(A,{animatedProps:m,ariaLabel:"asset-search-field",dataTest:"asset-search-field",onChange:M,onClear:()=>{M(""),W(""),L==null||L()},placeholder:F,value:x,variant:k})),E))},s=v=>{let{initialSearchValue:m="",...E}=v;const I={...E,placeholder:(0,i.t)("Search",null,{project:"assetManagement.assetCommon"}),initialSearchValue:m};return n.createElement(a.Z.Renderer,o()({},I,{render:{default:S,"mobile-0":T}}))}},408836:function(b,l,e){"use strict";e.d(l,{S:()=>G});var r=e(160553),o=e.n(r),n=e(174161),a=e(936609),i=e(331474),c=e(900486),u=e(551547),f=e(224353),d=e(16930),h=e(374517),g=e(439504),_=e(881707),p=e(412166),y=e(600994),O=e(880722),P=e(792552),C=e(882684),A=e(599433),S=e(604934),T=e(208935);const s=k=>{let{buttonStyle:x="tertiary",unselectAll:M,unselectAllLabel:B=(0,O.t)("Deselect All",null,{project:"assetManagement.assetCommon"}),nonInteractiveClassName:R=T.NONINTERACTIVE_CLASSNAME,selectAll:U,selectAllLabel:j=(0,O.t)("Select All",null,{project:"assetManagement.assetCommon"}),selectedItemsCount:$}=k;const[ee,te]=(0,n.useState)(!1),ie=x==="base"?y.Z.Base:y.Z.Tertiary,ne=x==="base"?{borderRadius:"4px",padding:"7px","&:hover":{backgroundColor:"gray.800"}}:{mr:4};return n.createElement(C.Z.PopOver,{renderTrigger:pe=>{let{toggleActionListOpen:oe}=pe;return n.createElement(ie,{"data-test":"multi-select",onClick:()=>{te(q=>!q),oe()},sx:ne},n.createElement(O.T,{num:$,project:"assetManagement.assetCommon"},"{num} Selected"),ee?n.createElement(A.Z,{style:{marginLeft:6}}):n.createElement(S.Z,{style:{marginLeft:6}}))},isOpen:ee,onRequestOpen:()=>te(!0),onRequestClose:()=>te(!1),className:R},pe=>{let{onRequestClose:oe}=pe;return n.createElement(p.Z,{as:"ul",flexDirection:"column"},n.createElement(C.Z.Item,{sx:{"&:hover":{backgroundColor:"gray.900"}},css:{cursor:"pointer"},px:4,py:2,onClick:()=>{U(),oe()}},j),n.createElement(C.Z.Item,{sx:{"&:hover":{backgroundColor:"gray.900"}},css:{cursor:"pointer"},px:4,py:2,onClick:()=>{M(),oe()}},B))})},v={borderRadius:"4px",padding:"7px"},m=k=>{let{isMoveSelectLimit:x=!1,onDeleteButtonClick:M,onMoveToClick:B,onRestoreClick:R,sx:U,...j}=k;const[$,ee]=(0,n.useState)(null),[te,ie]=(0,n.useState)(null),[ne,pe]=(0,n.useState)(null),[oe,q]=(0,n.useState)(null),J=he=>({onMouseEnter:()=>q(he),onMouseLeave:()=>q(null),onFocus:()=>q(he),onBlur:()=>q(null)}),me=(0,n.useMemo)(()=>x?(0,O.t)("Only 75 files can be moved at one time.",null,{project:"assetManagement.assetCommon"}):(0,O.t)("Move to...",null,{project:"assetManagement.assetCommon"}),[x]),re=(0,n.useMemo)(()=>R?(0,O.t)("Permanently delete",null,{project:"assetManagement.assetCommon"}):(0,O.t)("Delete",null,{project:"assetManagement.assetCommon"}),[R]);return n.createElement(_.Z,{sx:{position:"absolute",bottom:"37px",left:"50%",transform:"translate(-50%, 0)",backgroundColor:"white",borderRadius:2,boxShadow:100,zIndex:3e4,...U}},n.createElement(p.Z,{alignItems:"center",padding:"4px"},n.createElement(s,o()({},j,{buttonStyle:"base"})),n.createElement(P.p,{my:0,mx:"4px"}),B?n.createElement(n.Fragment,null,n.createElement(y.Z.Base,o()({"aria-label":me,ref:ee},J("move"),{sx:{...v,"&:hover":{backgroundColor:x?void 0:"gray.800"}},onClick:B,disabled:x}),n.createElement(d.Z,{color:x?"gray.600":void 0})),n.createElement(f.Z,{anchor:$,isOpen:x||oe==="move",position:"top",delay:{enter:500,exit:100},margin:6},me)):null,R?n.createElement(n.Fragment,null,n.createElement(y.Z.Base,o()({"aria-label":(0,O.t)("Restore",null,{project:"assetManagement.assetCommon"}),ref:pe},J("restore"),{sx:{...v,"&:hover":{backgroundColor:"gray.800"}},onClick:R}),n.createElement(h.Z,null)),n.createElement(f.Z,{anchor:ne,isOpen:oe==="restore",position:"top",delay:{enter:500,exit:100},margin:6},(0,O.t)("Restore",null,{project:"assetManagement.assetCommon"}))):null,n.createElement(y.Z.Base,o()({"aria-label":re,ref:ie},J("delete"),{sx:{...v,"&:hover":{backgroundColor:"red.900"}},onClick:M}),n.createElement(g.Z,{color:"red.300"})),n.createElement(f.Z,{anchor:te,isOpen:oe==="delete",position:"top",delay:{enter:500,exit:100},margin:6},re)))};var E=e(486238),I=e(719484),L=e(47932),W=e(159945);const F=k=>{let{unselectAll:x,unselectAllLabel:M=(0,O.t)("Deselect All",null,{project:"assetManagement.assetCommon"}),nonInteractiveClassName:B=T.NONINTERACTIVE_CLASSNAME,selectAll:R,selectAllLabel:U=(0,O.t)("Select All",null,{project:"assetManagement.assetCommon"}),selectedItemsCount:j}=k;const[$,ee]=(0,W.Z)(),{fontWeights:te}=(0,L.F)();return n.createElement(C.Z.Sheet,{renderTrigger:ie=>{let{toggleActionListOpen:ne}=ie;return n.createElement(E.Z,{onClick:()=>ne(),sx:{height:"36px",marginRight:"11px",paddingLeft:"10px",paddingRight:"8px",borderRadius:"18px"},accessory:n.createElement(E.Z.ChevronDown,{color:"gray.100"}),label:n.createElement(I.Z.Body,{fontSize:16,my:0,px:1,color:"gray.100",fontWeight:te.medium},n.createElement(O.T,{num:j,project:"assetManagement.assetCommon"},"{num} Selected"))})},docks:[0,ee.height],className:B},ie=>{let{onRequestClose:ne}=ie;return n.createElement(p.Z,{as:"ul",flexDirection:"column",ref:$},n.createElement(C.Z.Item,{onClick:()=>{R(),ne()}},U),n.createElement(C.Z.Item,{onClick:()=>{x(),ne()}},M))})},G=k=>{let{onDeleteButtonClick:x,onRestoreClick:M,variant:B="default",...R}=k;const U=(0,i.useSelector)(c.gu),j=(0,i.useSelector)(c.vv),$=(0,i.useSelector)(c.j7),ee=(0,i.useDispatch)(),te=()=>ee((0,u.Hi)()),ie=()=>ee((0,u.Op)()),ne=(0,n.useMemo)(()=>j.length>75,[j]);if(!U)return null;const pe={...R,selectAll:te,selectedItemsCount:j.length+$.length,unselectAll:ie};return B==="floating"&&x?n.createElement(m,o()({},pe,{onDeleteButtonClick:x,onRestoreClick:M,isMoveSelectLimit:ne})):n.createElement(a.Z.Renderer,o()({},pe,{render:{default:s,"mobile-0":F}}))}},469906:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(160553),o=e.n(r),n=e(174161),a=e(331474),i=e(880722),c=e(417762),u=e(94446),f=e(419748),d=e(443580);const h=[{label:(0,i.t)("Newest",null,{project:"assetManagement.assetCommon"}),value:c.oO.CREATED_AT_DESC},{label:(0,i.t)("Oldest",null,{project:"assetManagement.assetCommon"}),value:c.oO.CREATED_AT_ASC},{label:(0,i.t)("Name A-Z",null,{project:"assetManagement.assetCommon"}),value:c.oO.FILE_NAME_ASC},{label:(0,i.t)("Name Z-A",null,{project:"assetManagement.assetCommon"}),value:c.oO.FILE_NAME_DESC}],_=p=>{let{focusStyle:y,label:O,onChange:P,imageType:C,...A}=p;const{sortBy:S,sortDirection:T}=(0,a.useSelector)(u.QO),s=(0,a.useDispatch)();return n.createElement(d.Z,o()({},A,{"aria-label":"sort-dropdown",focusStyle:y,label:O,options:h,value:`${S}_${T}`,onChange:v=>{(0,c.u2)(S,T)!==v&&(s((0,f.uX)(c.Cy[v])),P==null||P({sortDirection:T,sortField:S,type:v,imageType:C}))}}))}},182174:function(b,l,e){"use strict";e.d(l,{N:()=>k});var r=e(160553),o=e.n(r),n=e(174161),a=e(297761),i=e(136382),c=e(881707),u=e(412166),f=e(719484),d=e(600994),h=e(647221),g=e(879441),_=e(880722),p=e(777824),y=e(319372),O=e(725538),P=e(608371),C=e(425629),A=e(47932),S=e(18724);const T=x=>{let{secondsValue:M}=x;const B=p.dE.Long;M<0&&(M=0);const{hours:R,minutes:U}=(0,p.zs)(M),j=(0,_.oH)({value:R,unit:"hour"},{length:B}),$=(0,_.oH)({value:U,unit:"minute"},{length:B}),ee=(0,_.oH)({value:Math.floor(M),unit:"second"},{length:B});return R>0&&U>0?(0,_.t)("Your plan includes {formattedHours} and {formattedMinutes} of free uploaded video storage.",{formattedHours:j,formattedMinutes:$},{project:"assetManagement.assetCommon",notes:'Time of free storage includes hours and minutes. Ex: "...includes 5 hours, 3 minutes of..."'}):R>0?(0,_.t)("Your plan includes {formattedHours} of free uploaded video storage.",{formattedHours:j},{project:"assetManagement.assetCommon",notes:'Time of free storage includes hours only. Ex: "...includes 5 hours of..."'}):U>0||M===0?(0,_.t)("Your plan includes {formattedMinutes} of free uploaded video storage.",{formattedMinutes:$},{project:"assetManagement.assetCommon",notes:'Time of free storage includes minutes only. Ex: "...includes 3 minutes of..."'}):(0,_.t)("Your plan includes {formattedSeconds} of free uploaded video storage.",{formattedSeconds:ee},{project:"assetManagement.assetCommon",notes:'Time of free storage includes seconds only. Ex: "...includes 30 seconds of..."'})},s=()=>(0,_.t)("Your plan includes unlimited video storage.",null,{project:"assetManagement.assetCommon"}),v=(0,_.t)("Learn more",null,{project:"assetManagement.assetCommon"}),m="https://www.squarespace.com/pricing",E=x=>{let{constrainTo:M,isOpen:B,limit:R=0,isUnlimited:U=!1,onModalButtonClick:j,onRequestClose:$}=x;const{clientHeight:ee}=M||{},te=(0,n.useMemo)(()=>U?s():T({secondsValue:R}),[R,U]),ie="storage-limit-text";return n.createElement(A.Z.Provider,{theme:S.rosetta.darkest},n.createElement(O.Z.Transition,null,B&&n.createElement(O.Z,{onRequestClose:$,lockScroll:!1},n.createElement(O.Z.Overlay,{background:"transparent"}),n.createElement(O.Z.Position,{position:"top-right",constrainTo:M,constrainOffset:ee?{x:0,y:-1*(ee-11)}:void 0,onConstraintLeaveViewport:$},n.createElement(O.Z.Dialog,{"aria-labelledby":ie,style:{maxWidth:"320px"}},n.createElement(c.Z,{sx:{fontSize:"fontSizes.3",wrap:"flex-wrap",py:2,px:3}},n.createElement(f.Z.Body,{id:ie,sx:{mt:0,mb:0}},te,"\xA0\xA0",!U&&n.createElement(d.Z.Base,{as:"a",href:m,target:"_blank",tabIndex:0,sx:{textTransform:"none",textDecoration:"underline",fontWeight:400,fontSize:3,minHeight:0,letterSpacing:0,display:"inline"},onClick:j},v))))))))},L=x=>{let{onOpen:M,...B}=x;const{isOpen:R,onRequestClose:U}=B,j=(0,n.useCallback)(()=>{R?U():M()},[R,U,M]);return n.createElement(n.Fragment,null,n.createElement(E,B),n.createElement(C.Z.Element.Icon,{ml:1,onClick:j,"aria-label":(0,_.t)("Open storage dialog",null,{project:"assetManagement.assetCommon"})},n.createElement(P.Z,{color:"gray.400"})))},W=(0,_.t)("Video Storage",null,{project:"assetManagement.assetCommon"}),F=(0,_.t)("Upgrade Now",null,{project:"assetManagement.assetCommon"}),G=(0,_.t)("View Plans",null,{project:"assetManagement.assetCommon"}),k=x=>{let{indirectSource:M,isUnlimited:B=!1,limit:R=0,onLearnMoreClick:U,onUpsellClick:j,showUpsellFlow:$,sx:ee={},timeRemaining:te=0,used:ie=0,variant:ne="primary",customTooltip:pe,showTooltip:oe=!0,...q}=x;const J=(0,n.useRef)(void 0),{isOpen:me,onClose:re,onOpen:he}=(0,g.Z)(),Ee=(0,n.useMemo)(()=>(0,y.r2)({limit:R,timeRemaining:te}),[R,te]),fe=(0,n.useMemo)(()=>R===0?0:(R-te)/R*100,[R,te]),H=ne==="base"?{backgroundColor:"transparent"}:{borderWidth:0,borderColor:"gray.900",mt:2,mb:3,backgroundColor:"gray.900",borderRadius:1};return n.createElement(a.Z,o()({sx:{...H,...ee,borderWidth:0}},q),n.createElement(c.Z,{ref:J,"data-test":"storage-limit"},n.createElement(a.Z.Body,null,n.createElement(u.Z,{mb:3,alignItems:"center"},n.createElement(f.Z.Label,{sx:{flexGrow:1}},W),n.createElement(u.Z,{alignItems:"center"},B?n.createElement(f.Z.Label,null,n.createElement(_.T,{project:"assetManagement.assetCommon"},"Unlimited")):n.createElement(f.Z.Label,null,te>0&&(0,p.po)({secondsValue:te})),oe&&(pe??n.createElement(L,{onOpen:he,isOpen:me,onRequestClose:re,constrainTo:J==null?void 0:J.current,limit:R,isUnlimited:B,onModalButtonClick:()=>U({timeRemaining:te,limit:R,indirectSource:M})})))),B?n.createElement(f.Z.Label,{color:"gray.100",fontWeight:"semibold"},(0,p.$x)({secondsValue:ie})):n.createElement(n.Fragment,null,n.createElement(i.Z.Container,{backgroundColor:"gray.600","data-test":"storage-limit-progress-indicator",mb:1},n.createElement(i.Z.Track,{value:fe,backgroundColor:"blue.100",onOpen:he})),$&&j&&Ee?n.createElement(d.Z.Tertiary,{sx:{color:"blue.100",mt:2,minHeight:0},onClick:j},(0,h.m)()?G:F):null))))}},777824:function(b,l,e){"use strict";e.d(l,{$x:()=>a,dE:()=>n,po:()=>i,zs:()=>o});var r=e(880722);const o=c=>({hours:Math.floor(c/3600),minutes:Math.floor(c%3600/60)});let n=function(c){return c.Long="long",c.Short="short",c}({});const a=c=>{let{secondsValue:u=0,length:f=n.Short}=c;const{hours:d,minutes:h}=o(u),g=(0,r.oH)({value:d,unit:"hour"},{length:f}),_=(0,r.oH)({value:h,unit:"minute"},{length:f}),p=(0,r.oH)({value:Math.floor(u),unit:"second"},{length:f});return d>0&&h>0?f===n.Short?(0,r.t)("{formattedHours}, {formattedMinutes} used",{formattedHours:g,formattedMinutes:_},{project:"assetManagement.assetCommon",notes:'Time used with both hours and minutes displayed in a short form. Ex: "5 hrs, 3 min used"'}):(0,r.t)("{formattedHours} and {formattedMinutes} used",{formattedHours:g,formattedMinutes:_},{project:"assetManagement.assetCommon",notes:'Time used with both hours and minutes displayed in a long form. Ex: "5 hours, 3 minutes used"'}):d>0?f===n.Short?(0,r.t)("{formattedHours} used",{formattedHours:g},{project:"assetManagement.assetCommon",notes:'Time used with only hours displayed in a short form. Ex: "5 hrs used"'}):(0,r.t)("{formattedHours} used",{formattedHours:g},{project:"assetManagement.assetCommon",notes:'Time used with only hours displayed in a long form. Ex: "5 hours used"'}):Math.abs(h)>0||u===0?f===n.Short?(0,r.t)("{formattedMinutes} used",{formattedMinutes:_},{project:"assetManagement.assetCommon",notes:'Time used with only minutes displayed in a short form. Can be 0. Ex: "30 min used"'}):(0,r.t)("{formattedMinutes} used",{formattedMinutes:_},{project:"assetManagement.assetCommon",notes:'Time used with only minutes displayed in a long form. Can be 0. Ex: "30 minutes used"'}):f===n.Short?(0,r.t)("{formattedSeconds} used",{formattedSeconds:p},{project:"assetManagement.assetCommon",notes:'Time used with only seconds displayed in a short form. Can be 0. Ex: "30 sec used"'}):(0,r.t)("{formattedSeconds} used",{formattedSeconds:p},{project:"assetManagement.assetCommon",notes:'Time used with only seconds displayed in a long form. Can be 0. Ex: "30 seconds used"'})},i=c=>{let{secondsValue:u=0,length:f=n.Short}=c;u<0&&(u=0);const{hours:d,minutes:h}=o(u),g=(0,r.oH)({value:d,unit:"hour"},{length:f}),_=(0,r.oH)({value:h,unit:"minute"},{length:f}),p=(0,r.oH)({value:Math.floor(u),unit:"second"},{length:f});return d>0&&h>0?f===n.Short?(0,r.t)("{formattedHours}, {formattedMinutes} left",{formattedHours:g,formattedMinutes:_},{project:"assetManagement.assetCommon",notes:'Time remaining with both hours and minutes displayed in a short form. Ex: "5 hrs, 3 min left"'}):(0,r.t)("{formattedHours} and {formattedMinutes} left",{formattedHours:g,formattedMinutes:_},{project:"assetManagement.assetCommon",notes:'Time remaining with both hours and minutes displayed in a long form. Ex: "5 hours, 3 minutes left"'}):d>0?f===n.Short?(0,r.t)("{formattedHours} left",{formattedHours:g},{project:"assetManagement.assetCommon",notes:'Time remaining with only hours displayed in a short form. Ex: "5 hrs left"'}):(0,r.t)("{formattedHours} left",{formattedHours:g},{project:"assetManagement.assetCommon",notes:'Time remaining with only hours displayed in a long form. Ex: "5 hours left"'}):h>0||u===0?f===n.Short?(0,r.t)("{formattedMinutes} left",{formattedMinutes:_},{project:"assetManagement.assetCommon",notes:'Time remaining with only minutes displayed in a short form. Can be 0. Ex: "30 min left"'}):(0,r.t)("{formattedMinutes} left",{formattedMinutes:_},{project:"assetManagement.assetCommon",notes:'Time remaining with only minutes displayed in a long form. Can be 0. Ex: "30 minutes left"'}):f===n.Short?(0,r.t)("{formattedSeconds} left",{formattedSeconds:p},{project:"assetManagement.assetCommon",notes:'Time remaining with only seconds displayed in a short form. Can be 0. Ex: "30 sec left"'}):(0,r.t)("{formattedSeconds} left",{formattedSeconds:p},{project:"assetManagement.assetCommon",notes:'Time remaining with only seconds displayed in a long form. Can be 0. Ex: "30 seconds left"'})}},319372:function(b,l,e){"use strict";e.d(l,{r2:()=>i});const r=180,o=1800,n=18e3,a=9e5,i=c=>{let{limit:u,timeRemaining:f}=c;if(u+f===0)return!1;let d=o;return u===o?d=r:u>=a&&(d=n),f<=d}},792552:function(b,l,e){"use strict";e.d(l,{p:()=>c});var r=e(160553),o=e.n(r),n=e(174161),a=e(488609),i=e(881707);const c=u=>{let{my:f=2,mx:d=0,...h}=u;return n.createElement(i.Z,{mx:d},n.createElement(i.Z,o()({},h,{backgroundColor:"gray.800",css:{transition:"all 0.3s cubic-bezier(0.32, 0.94, 0.60, 1.00)"},height:"sizes.150",my:f,width:"sizes.25"})),n.createElement(a.Z,null))}},917269:function(b,l,e){"use strict";e.d(l,{DO:()=>o,fQ:()=>a,qp:()=>n});var r=e(850882);const o=i=>!!i&&typeof i=="object"&&"assetId"in i,n=i=>i.assetType===r.h.IMAGE,a=i=>i.assetType===r.h.VIDEO},608284:function(b,l,e){"use strict";e.d(l,{Z:()=>n,a:()=>o});var r=function(a){return a.PRODUCTION="PRODUCTION",a.STAGING="STAGING",a.QA="QA",a.DEVELOPMENT="DEVELOPMENT",a.DEV_PROXY="DEV_PROXY",a}(r||{});const o=a=>{if(typeof a=="string")return a;let i=r.PRODUCTION;return a.isQA?i=r.QA:a.isStage?i=r.STAGING:a.isDev&&(i=r.DEVELOPMENT),i},n=r},850882:function(b,l,e){"use strict";e.d(l,{h:()=>r});let r=function(o){return o.IMAGE="IMAGE",o.VIDEO="VIDEO",o.FILE="FILE",o.AUDIO="AUDIO",o.FONT="FONT",o}({})},580579:function(b,l,e){"use strict";e.d(l,{L$:()=>d,QV:()=>h,Tf:()=>u,eZ:()=>g});var r=e(802888),o=e.n(r),n=e(341493),a=e.n(n),i=e(955432),c=e.n(i);let u=function(_){return _.ABSTRACT="abstract",_.COPY_SPACE="copy_space",_.CUT_OUT="cut_out",_.FULL_FRAME="full_frame",_.MACRO="macro",_.PORTRAIT="portrait",_.SPARSE="sparse",_.STILL_LIFE="still_life",_}({});(()=>{Object.entries(u).forEach(_=>{let[p,y]=_;if(!Object.entries(o()).some(P=>{let[C,A]=P;return p===C&&y===A}))throw"There is a mismatch between SupportedCompositions for Getty Filters and what is coming from @sqs/enums/Compositions. Please investigate"})})();const d=_=>Object.values(u).some(p=>p===_),h=_=>Object.values(a()).some(p=>p===_),g=_=>Object.values(c()).some(p=>p===_)},517659:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n.DEFAULT="DEFAULT",n.FOCUS="FOCUS",n.HOVER="HOVER",n}(r||{});const o=r},207363:function(b,l,e){"use strict";e.d(l,{Z:()=>i,f:()=>a});var r=e(392338),o=e.n(r),n=function(c){return c.GridCard="GRID_CARD",c.List="LIST",c}(n||{});const a=c=>c&&typeof c=="string"?Object.values(n).includes(c):!1,i=n},56059:function(b,l,e){"use strict";e.d(l,{B:()=>r});let r=function(o){return o.Get="get",o.Post="post",o.Delete="delete",o.Put="put",o}({})},523824:function(b,l,e){"use strict";e.d(l,{JU:()=>c,V7:()=>r,Yq:()=>n,p7:()=>o,pV:()=>a,pn:()=>i,tm:()=>u});const r=6,o=3,n={_:r,"mobile-*":o};let a=function(f){return f.DEFAULT="default",f.FLOATING="floating",f}({}),i=function(f){return f.BODY="body",f.ACTION="action",f}({}),c=function(f){return f.BOX="box",f.UNDERLINE="underline",f}({});const u={overflow:"hidden",wordBreak:"break-word",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:"2",WebkitBoxOrient:"vertical"}},435485:function(b,l,e){"use strict";e.d(l,{I:()=>u,r:()=>c});var r=e(994336),o=e.n(r),n=e(545334),a=e.n(n);const i="trashcan_notification_modal",c=()=>{const f=a()().add(400,"days").toString();o().set(i,"true",{expires:f})},u=()=>{const f=o().get(i);return!!f&&f==="true"}},62630:function(b,l,e){"use strict";e.d(l,{f:()=>r});let r=function(o){return o.LOADING="LOADING",o.LOADED_EMPTY="LOADED_EMPTY",o.LOADED="LOADED",o.LOADING_NEXT_PAGE="LOADING_NEXT_PAGE",o.LOAD_ERROR="LOAD_ERROR",o.NO_SEARCH_RESULTS="NO_SEARCH_RESULTS",o.FOLDER_NOT_FOUND="FOLDER_NOT_FOUND",o.TRASH_EMPTY="TRASH_EMPTY",o}({})},392936:function(b,l,e){"use strict";e.d(l,{B:()=>r});const r=250},913605:function(b,l,e){"use strict";e.r(l),e.d(l,{AssetEnvironment:()=>n.Z,AssetType:()=>r.h,DESKTOP_HORIZONTAL_PADDING:()=>u.V7,FocusStyle:()=>u.JU,InteractionStates:()=>a.Z,LayoutType:()=>i.Z,MOBILE_HORIZONTAL_PADDING:()=>u.p7,MULTILINE_ELLIPSIS:()=>u.tm,RESPONSIVE_HORIZONTAL_PADDING:()=>u.Yq,RequestMethod:()=>f.B,StyleVariant:()=>u.pV,SupportedCompositions:()=>h.Tf,TextStyle:()=>u.pn,ViewState:()=>o.f,getEnvironmentFromConfig:()=>n.a,getTrashConfirmationCookie:()=>d.I,isAssetDetailsType:()=>g.DO,isImageAssetDetailsType:()=>g.qp,isImageFamily:()=>h.QV,isOrientation:()=>h.eZ,isSupportedComposition:()=>h.L$,isVideoAssetDetailsType:()=>g.fQ,setTrashConfirmationCookie:()=>d.r,v6ClassNames:()=>c});var r=e(850882),o=e(62630),n=e(608284),a=e(517659),i=e(207363),c=e(158577),u=e(523824),f=e(56059),d=e(435485),h=e(580579),g=e(917269)},158577:function(b,l,e){"use strict";e.r(l),e.d(l,{OVERLAY_CLASSNAME:()=>a});var r=e(208935),o=e(845076),n=e.n(o);const a=n()("image-picker-overlay",r.NONINTERACTIVE_CLASSNAME)},534130:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(47932);const n=()=>{const{space:a,colors:i}=(0,r.F)();return{":before":{content:'" "',width:a[4],height:"2px",background:i.gray[600],position:"absolute",marginLeft:"50%",transform:"translate3d(-50%, 0, 0)",top:"5px"}}}},879441:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(174161);const n=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const[i,c]=(0,r.useState)(a);return{isOpen:i,onClose:()=>c(!1),onOpen:()=>c(!0)}}},880722:function(b,l,e){"use strict";e.d(l,{T:()=>g,_6:()=>s,oH:()=>S,t:()=>T});var r=e(555912),o=e(470407),n=e(59794),a=e(619412);const i=(0,a.Z)(),c=new n.default(i),u=new r.default(i),f=new o.default(i),{formatIcuMessage:d}=u,{parseNumber:h}=f,{T:g,Plural:_,FormattedCurrency:p,FormattedNumber:y,FormattedDateTime:O}=c,{formatCurrency:P,formatCurrencyToParts:C,getCurrencySymbol:A,formatQuantity:S,translate:T,pluralize:s}=i},619412:function(b,l,e){"use strict";e.d(l,{U:()=>c,Z:()=>i});var r=e(638204);const n="assetManagement.assetCommon";function a(u){return e(984044)(`./${n}.${u}.yaml`)}const{getI18nInstance:i,setI18nInstance:c}=(0,r.setupLibrary)(n,a)},9536:function(b,l,e){"use strict";e.d(l,{M2:()=>i,bK:()=>n,uv:()=>a});var r=e(697710);const o=u=>u.apiEnvironment,n=(0,r.P1)(o,u=>{let{alexandriaApiRoot:f}=u;return f}),a=(0,r.P1)(o,u=>{let{environment:f}=u;return f}),i=(0,r.P1)(o,u=>{let{libraryId:f}=u;if(!f)throw"Library ID was not included in the assets apiEnvironment reducer";return f}),c=(0,r.P1)(o,u=>{let{v6ApiRoot:f}=u;return f})},542397:function(b,l,e){"use strict";e.d(l,{M:()=>M});var r=e(851939),o=e(263456),n=e(850882),a=e(419748),i=e(417762);const c={assetTypes:[n.h.IMAGE],folderId:null,folderEntryOrigin:null,isTrashcan:!1,scrollPage:1,search:"",sortBy:i.hn.CREATED_AT,sortDirection:i.Sr.DESC},u=(0,r.createReducer)(c,B=>{B.addCase(a.gG,R=>{R.scrollPage=R.scrollPage+1}).addCase(a.uX,(R,U)=>{const{sortBy:j,sortDirection:$}=U.payload;R.sortBy=j,R.sortDirection=$}).addCase(a.F5,(R,U)=>{const{search:j}=U.payload;R.search=j,R.scrollPage=c.scrollPage}).addCase(a.vt,(R,U)=>{const{folderId:j,folderEntryOrigin:$}=U.payload;R.isTrashcan=!1,R.folderId=j,R.folderEntryOrigin=$}).addCase(a.HK,(R,U)=>{R.isTrashcan=U.payload.isTrashcan}).addCase(a.me,R=>({...c,assetTypes:R.assetTypes}))});var f=e(608284);const d={alexandriaApiRoot:o.Ph[f.Z.PRODUCTION].ALEXANDRIA_API_ROOT,environment:f.Z.PRODUCTION,libraryId:null,v6ApiRoot:o.Ph[f.Z.PRODUCTION].V6_API_ROOT},h=(0,r.createReducer)(d,B=>{B.addDefaultCase(R=>R)}),g={isWebpEnabled:!1},_=(0,r.createReducer)(g,B=>{B.addDefaultCase(R=>R)});var p=e(325034),y=e(933474),O=e(551547);const P={assetIds:{},folderIds:{},selectableItems:[],isMultiSelectMode:!1},C=B=>!!Object.keys(B.assetIds).length||!!Object.keys(B.folderIds).length,A=B=>Object.keys(B.assetIds).length+Object.keys(B.folderIds).length===1,S=B=>{Object.keys(B.assetIds).forEach(R=>{B.selectableItems.find(U=>U.id===R)||delete B.assetIds[R]}),Object.keys(B.folderIds).forEach(R=>{B.selectableItems.find(U=>U.id===R)||delete B.folderIds[R]}),(!C(B)||A(B))&&(B.isMultiSelectMode=!1)},T=(B,R)=>{let{assetId:U,folderId:j,changeMultiSelectMode:$}=R;$==="enable"?B.isMultiSelectMode=!0:(!B.isMultiSelectMode||$==="disable")&&(B.assetIds={},B.folderIds={}),U?(B.assetIds[U]=!0,B.lastSelectedItem={type:"asset",id:U}):j&&(B.folderIds[j]=!0,B.lastSelectedItem={type:"folder",id:j})},s=(B,R)=>{let{assetId:U,folderId:j,changeMultiSelectMode:$}=R;if(U){var ee;delete B.assetIds[U],((ee=B.lastSelectedItem)===null||ee===void 0?void 0:ee.id)===U&&delete B.lastSelectedItem}if(j){var te;delete B.folderIds[j],((te=B.lastSelectedItem)===null||te===void 0?void 0:te.id)===j&&delete B.lastSelectedItem}($==="disable"||!C(B)||A(B))&&(B.isMultiSelectMode=!1)},v=(B,R)=>{let{assetId:U,folderId:j,changeMultiSelectMode:$}=R;U&&(B.assetIds[U]?s(B,{assetId:U,changeMultiSelectMode:$}):T(B,{assetId:U,changeMultiSelectMode:$})),j&&(B.folderIds[j]?s(B,{folderId:j,changeMultiSelectMode:$}):T(B,{folderId:j,changeMultiSelectMode:$}))},m=(0,r.createReducer)(P,B=>{B.addCase(O.i2,(R,U)=>{R.selectableItems=U.payload.selectableItems,S(R)}),B.addCase(O.iL,(R,U)=>{const{assetId:j,folderId:$,changeMultiSelectMode:ee}=U.payload;v(R,{assetId:j,folderId:$,changeMultiSelectMode:ee})}),B.addCase(O.$4,(R,U)=>{const j=U.payload.assetId||U.payload.folderId,$=U.payload.assetId?"asset":"folder";if(!C(R))v(R,U.payload);else if(j){const ee=R.lastSelectedItem?R.selectableItems.findIndex(pe=>{var oe;return pe.id===((oe=R.lastSelectedItem)===null||oe===void 0?void 0:oe.id)}):0,te=R.selectableItems.findIndex(pe=>pe.id===j),ie=Math.min(ee,te),ne=Math.max(ee,te);for(let pe=ie;pe<=ne;pe++){const oe=R.selectableItems[pe];oe.type==="asset"?R.assetIds[oe.id]=!0:oe.type==="folder"&&(R.folderIds[oe.id]=!0)}R.isMultiSelectMode=!0,R.lastSelectedItem={id:j,type:$}}}),B.addCase(O.Hi,R=>{R.isMultiSelectMode=!0,R.selectableItems.forEach(j=>{j.type==="asset"?R.assetIds[j.id]=!0:j.type==="folder"&&(R.folderIds[j.id]=!0)});const U=R.selectableItems[R.selectableItems.length-1];R.lastSelectedItem=U}),B.addCase(O.Op,R=>{R.assetIds={},R.folderIds={},R.isMultiSelectMode=!1})});var E=e(15831),I=e(449230);const L={scrollPage:1,search:{Gradients:"",Images:"",Patterns:""},subpanel:I.J.IMAGES},W=(0,r.createReducer)(L,B=>{B.addCase(E.K7,(R,U)=>{let{payload:j}=U;R.subpanel=j.subpanel,R.scrollPage=1}).addCase(E.oI,(R,U)=>{let{payload:j}=U;R.search[R.subpanel]=j.search,R.scrollPage=1}).addCase(E.jx,R=>{R.scrollPage=R.scrollPage+1})});var F=e(62630),G=e(195945);const k={page:1,query:"",viewState:F.f.LOADING},x=(0,r.createReducer)(k,B=>{B.addCase(G.oB,(R,U)=>{let{payload:j}=U;R.viewState=j.viewState}),B.addCase(G.$r,R=>{R.page=R.page+1,R.viewState=F.f.LOADING_NEXT_PAGE}),B.addCase(G.jj,(R,U)=>{let{payload:j}=U;R.query=j.search,R.page=1,R.viewState=F.f.LOADING})}),M=B=>{let{areFoldersSelectable:R,assetTypes:U,environment:j,libraryId:$,featureFlags:ee={}}=B;const{V6_API_ROOT:te,ALEXANDRIA_API_ROOT:ie}=o.Ph[j];return(0,r.configureStore)({reducer:{[y.hi.reducerPath]:y.hi.reducer,apiEnvironment:h,gettyImages:p.jv,searchParams:u,selectedItems:m,unsplashImages:x,featureFlags:_,stockBackgrounds:W},middleware:ne=>[...ne({immutableCheck:!1}),y.hi.middleware],preloadedState:{apiEnvironment:{environment:j,libraryId:$||null,v6ApiRoot:te,alexandriaApiRoot:ie},searchParams:{...c,assetTypes:U},selectedItems:{...P,areFoldersSelectable:R},featureFlags:ee},devTools:{name:"assets-store"}})}},848855:function(b,l,e){"use strict";e.d(l,{E:()=>n,IP:()=>c,Yo:()=>o,iA:()=>a,nX:()=>i});var r=e(851939);const o=(0,r.createAction)("GETTY_IMAGES_NEXT_PAGE_ACTION"),n=(0,r.createAction)("GETTY_IMAGES_SEARCH_STRING_CHANGE_ACTION"),a=(0,r.createAction)("GETTY_IMAGES_SORT_CHANGE_ACTION"),i=(0,r.createAction)("GETTY_IMAGES_FILTER_CHANGE_ACTION"),c=(0,r.createAction)("GETTY_SET_VIEW_STATE")},325034:function(b,l,e){"use strict";e.d(l,{jv:()=>O,wB:()=>p});var r=e(851939),o=e(341493),n=e.n(o),a=e(955432),i=e.n(a),c=e(732574),u=e.n(c),f=e(580579),d=e(62630),h=e(848855);const g=Object.values(f.Tf).reduce((P,C)=>(P[C]=!1,P),{}),_=Object.values(i()).reduce((P,C)=>(P[C]=!1,P),{}),p={compositions:g,imageFamily:n().CREATIVE,orientations:_},y={...p,page:1,query:"",sortOrder:u().MOST_POPULAR,viewState:d.f.LOADING},O=(0,r.createReducer)(y,P=>{P.addCase(h.IP,(C,A)=>{let{payload:S}=A;C.viewState=S.viewState}),P.addCase(h.Yo,C=>{C.page=C.page+1,C.viewState=d.f.LOADING_NEXT_PAGE}),P.addCase(h.E,(C,A)=>{let{payload:S}=A;C.query=S.search,C.page=1,C.viewState=d.f.LOADING}),P.addCase(h.iA,(C,A)=>{let{payload:S}=A;C.sortOrder=S.sortOrder,C.page=1,C.viewState=d.f.LOADING}),P.addCase(h.nX,(C,A)=>{let{payload:S}=A;C.compositions={...S.compositions},C.imageFamily=S.imageFamily,C.orientations={...S.orientations},C.page=1,C.viewState=d.f.LOADING})})},91039:function(b,l,e){"use strict";e.d(l,{I6:()=>i,cY:()=>n,r6:()=>a});var r=e(697710);const o=c=>c.gettyImages,n=(0,r.P1)(o,c=>c),a=(0,r.P1)(o,c=>{let{compositions:u,imageFamily:f,orientations:d}=c;return{compositions:u,imageFamily:f,orientations:d}}),i=(0,r.P1)(o,c=>{let{viewState:u}=c;return u})},353134:function(b,l,e){"use strict";e.d(l,{aP:()=>y,JT:()=>h,$2:()=>g,wj:()=>_});var r=e(331474),o=e(174161),n=e(936609);const i=()=>(0,o.useContext)(n.Z.Context);var c=e(9536),u=e(94446),f=e(417762),d=e(756409);let h=function(O){return O.ApiSearch="ApiSearch",O.FolderDetails="FolderDetails",O.LibraryAssetsCount="LibraryAssetsCount",O.RootFolders="RootFolders",O}({});const g=()=>{const{folderId:O,isTrashcan:P,scrollPage:C,sortBy:A,search:S,sortDirection:T}=(0,r.useSelector)(u.Qq),{platform:s}=i(),v=(0,r.useSelector)(c.M2);return{folderId:O,isTrashcan:P,libraryId:v,order:T,orderBy:A,platform:s,scrollPage:C,search:S}},_=O=>{let{folderId:P,libraryId:C}=O;const{platform:A}=i(),{scrollPage:S,search:T,subpanel:s}=(0,r.useSelector)(d.Ey);return C||console.error("AI backgrounds library ID is missing from context"),{folderId:P,isTrashcan:!1,libraryId:C??"",order:f.Sr.DESC,orderBy:f.hn.CREATED_AT,platform:A,scrollPage:S,search:T[s],searchInFolder:!0}},p=O=>(O==null?void 0:O.endpointName)==="apiSearch",y=O=>{const{queries:P}=O.api,C={};return Object.keys(P).forEach(A=>{const S=P[A];p(S)&&(C[A]=S)}),C}},933474:function(b,l,e){"use strict";e.d(l,{we:()=>oe,cQ:()=>q,zX:()=>H,ZU:()=>fe,hr:()=>Ee,hi:()=>te,PS:()=>he,H$:()=>ne,DD:()=>re,KX:()=>pe,Oe:()=>ae,jx:()=>J,ep:()=>me,uy:()=>ie,rg:()=>_e,U_:()=>Be,f6:()=>ge});var r=e(914624),o=e(850882),n=e(417762),a=e(414716);const i={order:n.Sr.DESC,orderBy:n.hn.CREATED_AT,search:void 0,assetTypes:[o.h.IMAGE]},c=Ke=>(0,a.I)({...i,...Ke});var u=e(902442);const f=Ke=>{let{alexandriaApiRoot:He,environment:ye,libraryId:Le,params:Ue}=Ke;const Xe=c(Ue),Fe=`${He}user/libraries/${Le}/assets?${Xe}`;return(0,u.z)({environment:ye,libraryId:Le,url:Fe})},d=async Ke=>{let{alexandriaApiRoot:He,environment:ye,libraryId:Le,params:Ue}=Ke;const Xe=c(Ue),Fe=`${He}user/libraries/${Le}/trashcan?${Xe}`;return(0,u.z)({environment:ye,libraryId:Le,url:Fe}).then(ht=>"error"in ht?ht:{data:{...ht.data,assets:{...ht.data.assets,deletedAssets:ht.data.assets.deletedAssets.map(Ne=>({...Ne.assetRecord,deletedAt:Ne.deletedAt}))}}})},h=async Ke=>{let{alexandriaApiRoot:He,environment:ye,folderId:Le,libraryId:Ue,params:Xe}=Ke;const Fe=c(Xe),ht=`${He}user/libraries/${Ue}/folders/${Le||"root"}/assets?${Fe}`;return(0,u.z)({environment:ye,libraryId:Ue,url:ht})},g=Ke=>!!Ke.assets&&"deletedAssets"in Ke.assets;var _=e(657408),p=e(571997),y=e(838848);const O=Ke=>{var He;let{alexandriaApiRoot:ye,environment:Le}=Ke;const Ue=(He=(0,_.getWebsiteContext)())===null||He===void 0||(He=He.websitesContentContext)===null||He===void 0?void 0:He.aiBackgroundsLibraryId,Xe=`${ye}user/libraries/${Ue}/folders/`;return Ue?(0,u.z)({environment:Le,libraryId:Ue,url:Xe}).then(Fe=>"data"in Fe?{data:(0,y.pA)(Fe.data)}:Fe):Promise.resolve({error:(0,p.T)({message:"AI backgrounds library ID is missing from context"})})};var P=e(456903);const C=async Ke=>{let{assetId:He,filename:ye,libraryId:Le}=Ke;const Ue=`/api/libraries/${Le}/assets/${He}`;return P.default.patch(Ue,{filename:ye}).then(Xe=>({data:{assetId:He,filename:Xe.data.stringMetaData.fileName}})).catch(Xe=>({error:(0,p.b)(Xe)}))},A=async Ke=>{let{assets:He,folderIds:ye,folderName:Le,deleteType:Ue,deletionOrigin:Xe,libraryId:Fe}=Ke;const ht=`/api/libraries/${Fe}/folders/assets`,we={dryRun:Ue==="dryRun",forceDelete:Ue==="forceDelete",assetIds:He?He.map($e=>$e.assetId):[],folderIds:ye??[]};return P.default.delete(ht,{data:we}).then($e=>{const{failedAssets:Ot,failedFolders:Pt,totalWebsiteUsageCount:Ie,totalCampaignsUsageCount:Bt,totalProposalsUsageCount:mt,totalUnusedCount:rt,usages:ce}=$e.data;return{data:{failedAssets:Ot,failedFolders:Pt,totalWebsiteUsageCount:Ie,totalCampaignsUsageCount:Bt,totalProposalsUsageCount:mt,totalUnusedCount:rt,usages:ce,assets:He,folderIds:ye,folderName:Le,deletionOrigin:Xe}}}).catch($e=>({error:(0,p.b)($e)}))},S=async Ke=>{let{alexandriaApiRoot:He,environment:ye,libraryId:Le}=Ke;const Ue=`${He}user/libraries/${Le}/trashcan/asset-ids`;return(0,u.z)({environment:ye,libraryId:Le,url:Ue})};var T=e(56059);const s=async Ke=>{let{alexandriaApiRoot:He,environment:ye,libraryId:Le}=Ke;const Ue=`${He}user/libraries/${Le}/trashcan/empty`;return(0,u.z)({environment:ye,libraryId:Le,url:Ue,method:T.B.Post})},v=async Ke=>{let{alexandriaApiRoot:He,environment:ye,libraryId:Le,assetIds:Ue,folderIds:Xe}=Ke;const Fe=T.B.Post,ht={assetIds:Ue,folderIds:Xe},Ne=`${He}user/libraries/${Le}/trashcan/delete`;return(0,u.z)({environment:ye,libraryId:Le,url:Ne,data:ht,method:Fe})},m=async Ke=>{let{assetIds:He,libraryId:ye}=Ke;const Le=`/api/libraries/${ye}/trash/licensed-assets/copies`;return P.default.post(Le,{assetIds:He}).then(Ue=>({data:{licensedAssetCopyIds:Ue.data.licensedAssetIdMapping.reduce((Xe,Fe)=>Xe.concat(Fe.assetIdsOfLicensedAssetCopies),[])}}))},E=Ke=>{let{alexandriaApiRoot:He,environment:ye,libraryId:Le,assetIds:Ue,folderIds:Xe,params:Fe,contentType:ht,entryOrigin:Ne}=Ke;const Ce=`${He}user/libraries/${Le}/trashcan/restore?${Fe?(0,a.I)(Fe):""}`;return m({assetIds:Ue,libraryId:Le}).then(we=>{const $e={assets:{assetIds:Ue.concat(we.data.licensedAssetCopyIds)},folders:{folderIds:Xe}};return(0,u.z)({environment:ye,libraryId:Le,url:Ce,data:$e,method:T.B.Post})}).then(we=>"error"in we?we:{data:{...we.data,contentType:ht,entryOrigin:Ne}}).catch(we=>({error:(0,p.b)(we)}))};var I=e(280686),L=e(9536);const W=Ke=>!Ke||typeof Ke!="object"?!1:Ke.hasOwnProperty("apiEnvironment")&&Ke.hasOwnProperty("searchParams"),F=Ke=>{const He=Ke();if(!W(He))throw"Assets redux state attempted without redux implementation.";return He};var G=e(94446);const k=32,x=72,M=Ke=>Ke==="mobile"?k:x,B=Ke=>{let{isPrevDataMissing:He,platform:ye,scrollPage:Le}=Ke;const Ue=M(ye),Xe=He?0:(Le-1)*Ue,Fe=Le>1&&He?Le*Ue:Ue;return{offset:Xe,limit:Fe}};var R=e(353134);const U=Ke=>{var He;let{triggers:ye,state:Le}=Ke;if(ye.scrollPage===1)return;const Ue=`apiSearch(${JSON.stringify(ye)})`,Xe=(0,R.aP)(Le),Fe=Ue.replace(`"scrollPage":${ye.scrollPage}`,`"scrollPage":${ye.scrollPage-1}`);return(He=Xe[Fe])===null||He===void 0?void 0:He.data};var j=e(967959);const $=Ke=>{var He,ye;let{assetRecords:Le,data:Ue,prevData:Xe}=Ke;const Fe=Ue.assets,ht=g(Ue)?((He=Ue.folders)===null||He===void 0?void 0:He.deletedFolders)||[]:((ye=Ue.folders)===null||ye===void 0?void 0:ye.folderRecords)||[],Ne=(Xe==null?void 0:Xe.assets)||[],Ce=Le.map($e=>(0,j.E)($e)),we=ht.length?ht:(Xe==null?void 0:Xe.folders)||[];return{assets:[...Ne,...Ce],folders:we,hasNextPage:!!(Fe!=null&&Fe.next),searchId:Fe==null?void 0:Fe.searchId,totalAssets:(Fe==null?void 0:Fe.total)||0}},ee=async(Ke,He)=>{let{method:ye,pathBuilder:Le,data:Ue,params:Xe}=Ke,{getState:Fe}=He;const ht=F(Fe),Ne=(0,L.bK)(ht),Ce=(0,L.M2)(ht),we=(0,L.uv)(ht),$e=Le({alexandriaApiRoot:Ne,libraryId:Ce});try{return(0,u.z)({data:Ue,environment:we,libraryId:Ce,method:ye,url:$e,params:Xe})}catch(Ot){return{error:(0,p.b)(Ot)}}},te=(0,r.createApi)({reducerPath:"api",baseQuery:ee,tagTypes:Object.values(R.JT),endpoints:Ke=>({getAssets:Ke.query({queryFn:(He,ye)=>{let{assetTypes:Le}=He,{getState:Ue}=ye;const Xe=F(Ue),Fe=(0,L.bK)(Xe),ht=(0,L.uv)(Xe),Ne=(0,L.M2)(Xe),Ce={assetSources:n.wW,assetTypes:Le};return f({environment:ht,alexandriaApiRoot:Fe,libraryId:Ne,params:Ce})},keepUnusedDataFor:60}),apiSearch:Ke.query({async queryFn(He,ye){var Le,Ue;let{getState:Xe}=ye;const{folderId:Fe,isTrashcan:ht,libraryId:Ne,order:Ce,orderBy:we,platform:$e,scrollPage:Ot,search:Pt,searchInFolder:Ie}=He,Bt=F(Xe),mt=U({triggers:He,state:Bt}),rt=(0,L.bK)(Bt),ce=(0,L.uv)(Bt),Re=(0,G.l8)(Bt),{offset:nt,limit:st}=B({isPrevDataMissing:!mt,platform:$e,scrollPage:Ot}),vt=[n.oI.AI_SECTION_BG],ze={assetSources:[...n.wW,...vt],assetTypes:Re,limit:st,offset:nt,order:Ce,orderBy:we,search:ht||Pt.trim().length===0?void 0:(0,I.Z)(Pt),searchId:Ot>1?mt==null?void 0:mt.searchId:void 0},It=ht?await d({alexandriaApiRoot:rt,environment:ce,libraryId:Ne,params:ze}):await h({alexandriaApiRoot:rt,environment:ce,folderId:Ie||Pt===""?Fe:null,libraryId:Ne,params:ze});if("error"in It)return It;const{data:on}=It,Pn=g(on)?((Le=on.assets)===null||Le===void 0?void 0:Le.deletedAssets)||[]:((Ue=on.assets)===null||Ue===void 0?void 0:Ue.assetRecords)||[];return{data:$({assetRecords:Pn,data:on,prevData:mt})}},keepUnusedDataFor:60,providesTags:(He,ye)=>ye?[]:[R.JT.ApiSearch]}),createFolder:Ke.mutation({query:He=>{let{parentFolderId:ye,folders:Le}=He;return{method:T.B.Post,pathBuilder:Ue=>{let{alexandriaApiRoot:Xe,libraryId:Fe}=Ue;return`${Xe}user/libraries/${Fe}/folders/`},data:{parentFolderId:ye??"root",folders:Le}}},invalidatesTags:(He,ye,Le)=>{if(!ye){const Ue=[{type:R.JT.ApiSearch},{type:R.JT.RootFolders}];return Le.parentFolderId&&Ue.push({type:R.JT.FolderDetails,id:Le.parentFolderId}),Ue}return[]}}),getFolderDetails:Ke.query({query:He=>{let{folderId:ye}=He;return{method:T.B.Get,pathBuilder:Le=>{let{alexandriaApiRoot:Ue,libraryId:Xe}=Le;return`${Ue}user/libraries/${Xe}/folders/${ye}`}}},transformResponse:He=>({...He,pathToFolder:[...He.pathToFolder||[],{folderId:He.folderId,folderName:He.folderName}]}),providesTags:(He,ye,Le)=>ye?[]:[{type:R.JT.FolderDetails,id:Le.folderId}],keepUnusedDataFor:0}),getBackgroundsFolders:Ke.query({queryFn:(He,ye)=>{let{getState:Le}=ye;const Ue=F(Le),Xe=(0,L.bK)(Ue),Fe=(0,L.uv)(Ue);return O({environment:Fe,alexandriaApiRoot:Xe})},keepUnusedDataFor:60}),updateAsset:Ke.mutation({async queryFn(He,ye){let{assetId:Le,filename:Ue}=He,{getState:Xe}=ye;const Fe=F(Xe),ht=(0,L.M2)(Fe);return C({assetId:Le,filename:Ue,libraryId:ht})},invalidatesTags:(He,ye)=>ye?[]:[{type:R.JT.ApiSearch}]}),updateFolder:Ke.mutation({query:He=>{let{folderId:ye,folderName:Le}=He;return{method:T.B.Put,pathBuilder:Ue=>{let{alexandriaApiRoot:Xe,libraryId:Fe}=Ue;return`${Xe}user/libraries/${Fe}/folders/${ye}`},data:{folderName:Le}}},invalidatesTags:(He,ye,Le)=>{if(!ye){const Ue=[{type:R.JT.ApiSearch},{type:R.JT.RootFolders},{type:R.JT.FolderDetails,id:Le.folderId}];return Le.parentFolderId&&Ue.push({type:R.JT.FolderDetails,id:Le.parentFolderId}),Ue}return[]}}),moveAssetsAndFolders:Ke.mutation({query(He){let{parentFolderId:ye,folderIds:Le,assetIds:Ue}=He;return{method:T.B.Post,pathBuilder:Xe=>{let{alexandriaApiRoot:Fe,libraryId:ht}=Xe;return`${Fe}user/libraries/${ht}/folders/move`},data:{parentFolderId:ye,folderIds:Le,assetIds:Ue}}},invalidatesTags:(He,ye,Le)=>{if(!ye){const Ue=[{type:R.JT.ApiSearch},{type:R.JT.RootFolders}];return Le.folderIds.length>0&&Le.folderIds.forEach(Xe=>{Ue.push({type:R.JT.FolderDetails,id:Xe})}),Le.parentFolderId&&Ue.push({type:R.JT.FolderDetails,id:Le.parentFolderId}),Le.originFolderId&&Ue.push({type:R.JT.FolderDetails,id:Le.originFolderId}),Ue}return[]}}),rootFolders:Ke.query({query(){return{method:T.B.Get,pathBuilder:He=>{let{alexandriaApiRoot:ye,libraryId:Le}=He;return`${ye}user/libraries/${Le}/folders`}}},providesTags:(He,ye)=>ye?[]:[{type:R.JT.RootFolders}],keepUnusedDataFor:0}),libraryAssetsCount:Ke.query({query(){return{method:T.B.Get,pathBuilder:He=>{let{alexandriaApiRoot:ye,libraryId:Le}=He;return`${ye}user/libraries/${Le}/usage`}}},transformResponse:He=>({libraryAssetsCount:He.IMAGE.count+He.VIDEO.count}),providesTags:(He,ye)=>ye?[]:[{type:R.JT.LibraryAssetsCount}]}),checkAssetsUsage:Ke.mutation({async queryFn(He,ye){let{assets:Le,folderIds:Ue,folderName:Xe,deletionOrigin:Fe}=He,{getState:ht}=ye;const Ne=F(ht),Ce=(0,L.M2)(Ne);return A({assets:Le,folderIds:Ue,folderName:Xe,deleteType:"dryRun",deletionOrigin:Fe,libraryId:Ce})}}),moveItemsToTrash:Ke.mutation({async queryFn(He,ye){let{assets:Le,folderIds:Ue,folderName:Xe,deletionOrigin:Fe}=He,{getState:ht}=ye;const Ne=F(ht),Ce=(0,L.M2)(Ne);return A({assets:Le,folderIds:Ue,folderName:Xe,deleteType:"forceDelete",deletionOrigin:Fe,libraryId:Ce})},invalidatesTags:(He,ye,Le)=>{if(!ye){const Ue=[{type:R.JT.ApiSearch}];return Le.parentFolderId&&Ue.push({type:R.JT.FolderDetails,id:Le.parentFolderId}),Le.folderIds&&(Ue.push({type:R.JT.RootFolders}),Le.folderIds.forEach(Xe=>{Ue.push({type:R.JT.FolderDetails,id:Xe})})),Ue}return[]}}),getAssetsInTrash:Ke.query({async queryFn(He,ye){let{getState:Le}=ye;const Ue=F(Le),Xe=(0,L.bK)(Ue),Fe=(0,L.uv)(Ue),ht=(0,L.M2)(Ue);return S({alexandriaApiRoot:Xe,environment:Fe,libraryId:ht})}}),emptyTrash:Ke.mutation({async queryFn(He,ye){let{getState:Le}=ye;const Ue=F(Le),Xe=(0,L.bK)(Ue),Fe=(0,L.uv)(Ue),ht=(0,L.M2)(Ue);return s({alexandriaApiRoot:Xe,environment:Fe,libraryId:ht})},invalidatesTags:(He,ye)=>ye?[]:[{type:R.JT.ApiSearch}]}),deleteItemsInTrash:Ke.mutation({async queryFn(He,ye){let{assetIds:Le,folderIds:Ue}=He,{getState:Xe}=ye;const Fe=F(Xe),ht=(0,L.bK)(Fe),Ne=(0,L.uv)(Fe),Ce=(0,L.M2)(Fe);return v({alexandriaApiRoot:ht,environment:Ne,libraryId:Ce,assetIds:Le,folderIds:Ue})},invalidatesTags:(He,ye)=>ye?[]:[{type:R.JT.ApiSearch}]}),restoreTrashItems:Ke.mutation({async queryFn(He,ye){let{assetIds:Le,folderIds:Ue,contentType:Xe,entryOrigin:Fe}=He,{getState:ht}=ye;const Ne=F(ht),Ce=(0,L.bK)(Ne),we=(0,L.uv)(Ne),$e=(0,L.M2)(Ne);return E({alexandriaApiRoot:Ce,environment:we,libraryId:$e,assetIds:Le,folderIds:Ue,params:{ifParentNoLongerExistsTryRestoringToRoot:!0,onConflictTryRestoringToRoot:!1,onConflictMergeIntoExistingFolders:!1},contentType:Xe,entryOrigin:Fe})},invalidatesTags:(He,ye)=>ye?[]:[{type:R.JT.ApiSearch}]})})}),ie=te.endpoints.apiSearch.useQueryState,{useGetAssetsQuery:ne,useApiSearchQuery:pe,useCreateFolderMutation:oe,useGetFolderDetailsQuery:q,useUpdateAssetMutation:J,useUpdateFolderMutation:me,useMoveAssetsAndFoldersMutation:re,useRootFoldersQuery:he,useLibraryAssetsCountQuery:Ee,useCheckAssetsUsageMutation:fe,useMoveItemsToTrashMutation:H,useGetAssetsInTrashQuery:z,useEmptyTrashMutation:_e,useDeleteItemsInTrashMutation:ae,useRestoreTrashItemsMutation:ge,useGetBackgroundsFoldersQuery:Be}=te},967959:function(b,l,e){"use strict";e.d(l,{E:()=>h});var r=e(850882);const o=g=>g.assetType===r.h.IMAGE,n=g=>g.assetType===r.h.VIDEO;var a=e(312084);const i=(g,_)=>({width:parseInt(g,10),height:parseInt(_,10)}),c=g=>{let{originalWidth:_,originalHeight:p,widths:y}=g;if(_&&p)return{width:_,height:p};const[O,P]=y.split(",")[0].split("x");return i(O,P)},u=(g,_)=>_===0?g:u(_,g%_),f=g=>{const _=Math.ceil(g),p=Math.floor(_/3600);let y=Math.floor((_-p*3600)/60),O=_-p*3600-y*60,P="";return p>0&&(p<10&&(P=`0${p}`),P=`${P}:`,y<10&&(y=`0${y}`)),O<10&&(O=`0${O}`),`${P}${y}:${O}`},d=g=>({assetId:g.id,assetUrl:g.assetUrl,assetType:g.assetType,createdAt:(0,a.F)(g.createdAt),deletedAt:g.deletedAt,dimensions:{width:0,height:0},dimensionsString:"",fileExtension:"",filename:g.stringMetaData.fileName,imageSrc:"",tags:g.tags}),h=g=>{const _=g.assetType;if(o(g)){const{numericMetadata:O,stringMetaData:P}=g,C=c({originalWidth:O.originalWidth,originalHeight:O.originalHeight,widths:P.widths||"1x1"}),A=d(g);return{...A,dimensions:C,dimensionsString:`${C.width} x ${C.height}`,fileExtension:P.originalImageType,fileSize:String(O.originalFileSize),imageSrc:A.assetUrl}}if(n(g)){var p,y;const{numericMetadata:O,stringMetaData:P}=g,C=(p=P.resolutions.split(","))===null||p===void 0||(p=p[0])===null||p===void 0?void 0:p.split(":"),A=d(g);let S=A.dimensions,T=A.dimensionsString;if(C&&C.length>1){const[v,m]=C,E=parseInt(v),I=parseInt(m),L=u(E,I);S={width:E,height:I},T=`${E} x ${I} (${E/L}:${I/L})`}return{...A,dimensions:S,dimensionsString:T,durationSeconds:O.durationSeconds,durationString:O.durationSeconds?f(O.durationSeconds):void 0,fileExtension:((y=P.videoFileFormat)===null||y===void 0?void 0:y.toUpperCase())||"",imageSrc:A.assetUrl.replace("{variant}","thumbnail"),playlistUrl:A.assetUrl.replace("{variant}","playlist.m3u8"),outputAudioCodec:P.outputAudioCodec,outputVideoCodec:P.outputVideoCodec,resolutions:P.resolutions,videoFileFormat:P.videoFileFormat}}throw new Error(`Cannot normalize the asset data due to unsupported asset type: ${_}`)}},923778:function(b,l,e){"use strict";e.d(l,{Xc:()=>n,dJ:()=>a,rP:()=>o,sN:()=>r});const r="checkAssetUsageMutationKey",o="deleteAssetsMutationKey",n="restoreItemsMutationKey",a="updateFilenameMutationKey"},419748:function(b,l,e){"use strict";e.d(l,{F5:()=>a,HK:()=>u,gG:()=>o,me:()=>i,uX:()=>n,vt:()=>c});var r=e(851939);const o=(0,r.createAction)("NEXT_PAGE"),n=(0,r.createAction)("SORT_BY"),a=(0,r.createAction)("SEARCH_STRING_CHANGE"),i=(0,r.createAction)("RESET_SEARCH_PARAMS"),c=(0,r.createAction)("SET_FOLDER_ID"),u=(0,r.createAction)("SET_TRASH_PAGE")},417762:function(b,l,e){"use strict";e.d(l,{Cy:()=>u,GU:()=>_,Sr:()=>a,hn:()=>n,oI:()=>f,oO:()=>c,u2:()=>i,wW:()=>g});var r=e(392338),o=e.n(r);let n=function(p){return p.CREATED_AT="CREATED_AT",p.DAYS_REMAINING="DELETED_AT",p.FILE_NAME="FILE_NAME",p}({}),a=function(p){return p.ASC="ASC",p.DESC="DESC",p}({});const i=(p,y)=>`${p}_${y}`;let c=function(p){return p.FILE_NAME_ASC="FILE_NAME_ASC",p.FILE_NAME_DESC="FILE_NAME_DESC",p.CREATED_AT_ASC="CREATED_AT_ASC",p.CREATED_AT_DESC="CREATED_AT_DESC",p}({});const u={[c.FILE_NAME_ASC]:{sortDirection:a.ASC,sortBy:n.FILE_NAME},[c.FILE_NAME_DESC]:{sortDirection:a.DESC,sortBy:n.FILE_NAME},[c.CREATED_AT_ASC]:{sortDirection:a.ASC,sortBy:n.CREATED_AT},[c.CREATED_AT_DESC]:{sortDirection:a.DESC,sortBy:n.CREATED_AT}};let f=function(p){return p.UPLOAD="UPLOAD",p.INSTAGRAM="INSTAGRAM",p.FLICKR="FLICKR",p.SMUGMUG="SMUGMUG",p.DROPBOX="DROPBOX",p.FIVEHUNDREDPX="FIVEHUNDREDPX",p.REHOST="REHOST",p.UNSPLASH="UNSPLASH",p.GETTY="GETTY",p.GETTYPREVIEW="GETTYPREVIEW",p.SQUARESPACE_APP="SQUARESPACE_APP",p.SQUARESPACE_APP_BULK="SQUARESPACE_APP_BULK",p.AI="AI",p.AI_SECTION_BG="AI_SECTION_BG",p}({});const d=[f.UPLOAD,f.INSTAGRAM,f.FLICKR,f.SMUGMUG,f.DROPBOX,f.FIVEHUNDREDPX,f.REHOST,f.UNSPLASH,f.GETTY,f.GETTYPREVIEW,f.SQUARESPACE_APP,f.SQUARESPACE_APP_BULK,f.AI],h=[f.GETTY,f.UNSPLASH,f.GETTYPREVIEW,f.INSTAGRAM],g=d.filter(p=>!h.includes(p)),_=p=>p?["root-menu","sub-folder","main-breadcrumb","overflow-breadcrumb","direct-url"].includes(p):!1},94446:function(b,l,e){"use strict";e.d(l,{QO:()=>i,Qq:()=>o,S:()=>a,c0:()=>u,l8:()=>n,n8:()=>d,xF:()=>f});var r=e(697710);const o=h=>h.searchParams,n=(0,r.P1)(o,h=>{let{assetTypes:g}=h;return g}),a=(0,r.P1)(n,h=>{if(!h.length)throw"Asset Types were not properly configured";return h[0]}),i=(0,r.P1)(o,h=>{let{sortBy:g,sortDirection:_}=h;return{sortBy:g,sortDirection:_}}),c=(0,r.P1)(o,h=>{let{scrollPage:g}=h;return g}),u=(0,r.P1)(o,h=>{let{search:g}=h;return g}),f=(0,r.P1)(o,h=>{let{folderId:g}=h;return g}),d=(0,r.P1)(o,h=>{let{folderEntryOrigin:g}=h;return g})},551547:function(b,l,e){"use strict";e.d(l,{$4:()=>a,Hi:()=>i,Op:()=>c,i2:()=>o,iL:()=>n});var r=e(851939);const o=(0,r.createAction)("SET_SELECTABLE_ITEMS"),n=(0,r.createAction)("SELECT_ITEM"),a=(0,r.createAction)("RANGE_SELECT"),i=(0,r.createAction)("SELECT_ALL"),c=(0,r.createAction)("UNSELECT_ALL_ITEMS")},327459:function(b,l,e){"use strict";e.d(l,{s:()=>u});var r=e(174161),o=e(331474),n=e(353134),a=e(933474),i=e(900486);const c=f=>!!f,u=()=>{const f=(0,o.useSelector)(i.vv),d=(0,n.$2)(),{data:h}=(0,a.uy)(d),g=(h==null?void 0:h.assets)||[];return(0,r.useMemo)(()=>f.map(p=>g.find(y=>y.assetId===p)).filter(c),[g,f])}},900486:function(b,l,e){"use strict";e.d(l,{Kk:()=>p,UV:()=>_,cE:()=>y,gu:()=>f,j7:()=>u,l7:()=>i,vv:()=>c});var r=e(697710);const o=O=>O.selectedItems,n=(O,P)=>P,a=(0,r.P1)(o,O=>{let{assetIds:P}=O;return P}),i=(0,r.P1)(o,O=>{let{areFoldersSelectable:P}=O;return!!P}),c=(0,r.P1)(o,O=>{let{assetIds:P}=O;return Object.keys(P)}),u=(0,r.P1)(o,O=>{let{folderIds:P}=O;return Object.keys(P)}),f=(0,r.P1)([c,u],(O,P)=>O.length>0||P.length>0),d=(0,r.P1)(o,O=>{let{folderIds:P}=O;return P}),h=(0,r.P1)([a,n],(O,P)=>!!O[P]),g=(0,r.P1)([d,n],(O,P)=>!!O[P]),_=(0,r.P1)(o,O=>O.isMultiSelectMode),p=O=>P=>h(P,O),y=O=>P=>g(P,O)},15831:function(b,l,e){"use strict";e.d(l,{K7:()=>o,jx:()=>a,oI:()=>n});var r=e(851939);const o=(0,r.createAction)("CHANGE_SUBPANEL_ACTION"),n=(0,r.createAction)("CHANGE_SEARCH_ACTION"),a=(0,r.createAction)("NEXT_PAGE")},449230:function(b,l,e){"use strict";e.d(l,{J:()=>r});let r=function(o){return o.GRADIENTS="Gradients",o.IMAGES="Images",o.PATTERNS="Patterns",o}({})},756409:function(b,l,e){"use strict";e.d(l,{Ey:()=>n,Um:()=>a});var r=e(697710);const o=c=>c.stockBackgrounds,n=(0,r.P1)(o,c=>{let{scrollPage:u,search:f,subpanel:d}=c;return{scrollPage:u,search:f,subpanel:d}}),a=(0,r.P1)(o,c=>{let{subpanel:u}=c;return{subpanel:u}}),i=(0,r.P1)(o,c=>{let{search:u}=c;return{search:u}})},195945:function(b,l,e){"use strict";e.d(l,{$r:()=>o,jj:()=>n,oB:()=>a});var r=e(851939);const o=(0,r.createAction)("UNSPLASH_IMAGES_NEXT_PAGE_ACTION"),n=(0,r.createAction)("UNSPLASH_IMAGES_SEARCH_STRING_CHANGE_ACTION"),a=(0,r.createAction)("UNSPLASH_SET_VIEW_STATE")},160467:function(b,l,e){"use strict";e.d(l,{GO:()=>n,a_:()=>a});var r=e(697710);const o=i=>i.unsplashImages,n=(0,r.P1)(o,i=>{let{page:c,query:u}=i;return{page:c,query:u}}),a=(0,r.P1)(o,i=>{let{viewState:c}=i;return c})},728277:function(b,l,e){"use strict";e.d(l,{O:()=>a,d:()=>i});var r=e(174161);const o={isAssetDeletionEnabled:!0,isWebpEnabled:!1},n=(0,r.createContext)(o),a=c=>{let{children:u,featureFlags:f}=c;const d=(0,r.useMemo)(()=>({isAssetDeletionEnabled:!0,isWebpEnabled:f==null?void 0:f.isWebpEnabled}),[f]);return r.createElement(n.Provider,{value:d},u)},i=()=>(0,r.useContext)(n)||o},351720:function(b,l,e){"use strict";e.d(l,{f:()=>a,j:()=>i});var r=e(174161);const o={imageAuthToken:void 0},n=(0,r.createContext)(o),a=c=>{let{children:u,imageAuthToken:f}=c;const d=(0,r.useMemo)(()=>({imageAuthToken:f}),[f]);return r.createElement(n.Provider,{value:d},u)},i=()=>(0,r.useContext)(n)||o},475478:function(b,l,e){"use strict";e.d(l,{v:()=>f,u:()=>h});var r=e(174161),o=e(207363);const n="ASSET_LAYOUT_TYPE",a=g=>{window.localStorage.setItem(n,JSON.stringify({type:g}))},i=()=>{const g=window.localStorage.getItem(n);if(g!==null)return JSON.parse(g).type},c=o.Z.GridCard,u=(0,r.createContext)(null),f=()=>{const g=(0,r.useContext)(u);if(g)return g;throw new Error("To use useLayoutTypeContext, the component needs to be a child of LayoutContext.Provider")},d=()=>{const g=i();return(0,o.f)(g)?g:c},h=g=>{let{children:_}=g;const[p,y]=(0,r.useState)(d());return(0,r.useEffect)(()=>{a(p)},[p]),r.createElement(u.Provider,{value:{layoutType:p,setLayoutType:y}},_)}},489902:function(b,l,e){"use strict";e.d(l,{x:()=>n});var r=e(174161);const o={getEllipsisClickAction:()=>()=>{},getSingleClickAction:()=>()=>{},getDoubleClickAction:()=>()=>{}},n=(0,r.createContext)(o)},481342:function(b,l,e){"use strict";e.d(l,{J:()=>n});var r=e(174161),o=e(489902);const n=a=>{let{children:i,onAssetEllipsisClick:c,onAssetSingleClick:u,onAssetDoubleClick:f,onFileRename:d,onFolderEllipsisClick:h,onFolderSingleClick:g,onFolderDoubleClick:_}=a;const p=P=>{let{assetDetails:C,folderDetails:A,entryOrigin:S,imageType:T}=P;return C&&c?c({assetDetails:C,entryOrigin:S,imageType:T}):A&&h?h({folderDetails:A,entryOrigin:S}):()=>{}},y=P=>{let{assetDetails:C,folderDetails:A,entryOrigin:S,imageType:T}=P;return C&&u?u({assetDetails:C,entryOrigin:S,imageType:T}):A&&g?g({folderDetails:A,entryOrigin:S}):()=>{}},O=P=>{let{assetDetails:C,folderDetails:A,entryOrigin:S,imageType:T}=P;return C&&f?f({assetDetails:C,entryOrigin:S,imageType:T}):A&&_?_({folderDetails:A,entryOrigin:S}):()=>{}};return r.createElement(o.x.Provider,{value:{getEllipsisClickAction:p,getSingleClickAction:y,getDoubleClickAction:O,onFileRename:d}},i)};n.displayName="LibraryActionsProvider"},849373:function(b,l,e){"use strict";e.d(l,{v:()=>n});var r=e(174161),o=e(489902);const n=()=>(0,r.useContext)(o.x)},818325:function(b,l,e){"use strict";e.d(l,{I:()=>f,z:()=>u});var r=e(174161),o=e(608284),n=e(166227),a=e(745001),i=e(222512);const c=(0,r.createContext)({licenseAsset:()=>Promise.resolve({url:"",licensedAssetId:"",isLicensed:!1}),licensedAssetsByAssetId:{},licensedAssetsBySourceId:{}}),u=d=>{let{children:h,environment:g}=d;const[_,p]=(0,r.useState)({}),[y,O]=(0,r.useState)({});(0,r.useEffect)(()=>{g!==o.Z.DEV_PROXY&&(0,n.Fl)().then(C=>{let{data:A}=C;p((0,a.Z)(A.thumbnails)),O((0,i.Z)(A.thumbnails))})},[g]);const P=(C,A)=>(0,n.Vl)(C).then(S=>{let{data:T}=S;return{url:A,licensedAssetId:T.id,isLicensed:!0}});return r.createElement(c.Provider,{value:{licensedAssetsByAssetId:_,licensedAssetsBySourceId:y,licenseAsset:P}},h)},f=()=>{const d=(0,r.useContext)(c);if(d)return d;throw new Error("To use useLicensedAssetContext, the component needs to be a child of LicensedAssetContext.Provider")}},166227:function(b,l,e){"use strict";e.d(l,{Fl:()=>i,Vl:()=>c,Xm:()=>f,km:()=>u});var r=e(544255),o=e.n(r),n=e(456903);const a="/api/licensed-assets",i=()=>n.default.get(a+"/thumbnails"),c=d=>n.default.post(a,{assetId:d,source:o().UNSPLASH}),u=d=>{let{id:h}=d;return n.default.get(a+"/"+h+"/download-url")},f=d=>{let{id:h}=d;return n.default.put(a+"/"+h+"/reset-thumbnail")}},745001:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o=n=>n.reduce((a,i)=>{if(i.thumbnail)a[i.thumbnail.systemDataId]=i.licensedAsset;else{const c=i.licensedAsset?i.licensedAsset.id:"";console.error("Licensed Asset with missing thumbnail",{licensedAssetId:c})}return a},{})},222512:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o=n=>n.reduce((a,i)=>{if(i.licensedAsset)a[i.licensedAsset.assetId]=i.licensedAsset;else{const c=i.thumbnail?i.thumbnail.id:"";console.error("Licensed Asset Thumbnail with missing licensedAsset",{thumbnailId:c})}return a},{})},218324:function(b,l,e){"use strict";e.r(l),e.d(l,{createLicensedAssetsByAssetIdMap:()=>r.Z,createLicensedAssetsBySourceIdMap:()=>o.Z,getAllWithThumbnails:()=>i.Fl,getDownloadUrl:()=>i.km,license:()=>i.Vl,resetThumbnail:()=>i.Xm,reuseLicensedAsset:()=>a.Z,separateLicensedAssetsFromStandardAssets:()=>n.Z});var r=e(745001),o=e(222512),n=e(738755),a=e(270593),i=e(166227)},270593:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(166227);const o="Cannot assemble data from null/undefined",a=i=>{let{additionalRequestParams:c={},licensedAsset:u,onChooseImageUrl:f}=i;if(!u)throw new Error(o);(0,r.km)(u).then(d=>{let{data:h}=d;const g={isLicensed:!0,licensedAssetId:u.id,displayIndex:u.displayIndex,url:h.url,...c};f({data:g})}),(0,r.Xm)(u)}},738755:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o=(n,a)=>n.reduce((i,c)=>(a[c]?i.licensedAssets.push({...a[c],assetRefId:c}):i.assetIds.push(c),i),{assetIds:[],licensedAssets:[]})},387152:function(b,l,e){"use strict";e.d(l,{o:()=>E});var r=e(174161),o=e(608284),n=e(850882),a=e(392338),i=e(162120),c=e(456903);const u="/api/media",f="https://media.dev.squarespace.net",d="https://media.stage.sqsp.net",h="https://media-api.squarespace.com",g=(I,L)=>{let W=h;[o.Z.STAGING,o.Z.QA].includes(L)?W=d:L===o.Z.DEVELOPMENT?W=f:L===o.Z.DEV_PROXY&&(W=u);const F=`${W}/user/libraries/${I}/usage`,G={headers:{"Content-Type":"application/json","X-Library-Id":I},withCredentials:!0};return c.default.get(F,G)},_=(I,L)=>i.Z.authorize().then(()=>g(I,L)).then(W=>W.data).catch(W=>(i.Z.handleErrorResponse(W),Promise.reject(W))),p=-1,y=(I,L)=>{const W=L===p;return{isUnlimited:W,limit:L,progress:W?0:Math.ceil(I*100/L),timeRemaining:W?1/0:Math.floor(L-I),used:Math.ceil(I)}};var O=e(269399);const P={UPDATE_USAGE:"UPDATE_USAGE"};var C=e(851939);const S=function(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=arguments.length>1?arguments[1]:void 0;switch(L.type){case P.UPDATE_USAGE:return{...I,...L.payload};default:return I}},s=(0,C.configureStore)({reducer:S,middleware:I=>I({immutableCheck:!1,serializableCheck:!1}),devTools:{name:"assets-upload-library"}}),v={updateUsage:I=>({type:P.UPDATE_USAGE,payload:I})},m=(0,O.bindActionCreators)(v,s.dispatch),E=(I,L)=>{const[W,F]=(0,r.useState)({}),G=(0,o.a)(L),k=(0,r.useCallback)(()=>{_(I,G).then(x=>{const{durationSeconds:M}=x[n.h.VIDEO],{durationSeconds:B}=x[n.h.VIDEO].limits;return y(M,B)}).then(x=>m.updateUsage(x)).catch(x=>console.error(x))},[G,I]);return(0,r.useEffect)(()=>{const x=s.getState();return x.limit?F(x):k(),s.subscribe(()=>{F(s.getState())})},[k]),(0,r.useMemo)(()=>({usage:W,refreshUsage:k}),[W,k])}},956233:function(b,l,e){"use strict";e.d(l,{E:()=>r,F:()=>o});const r=n=>n===1,o=n=>n===2},575550:function(b,l,e){"use strict";e.d(l,{$S:()=>c,Cx:()=>n,Mr:()=>o,Qv:()=>a,cD:()=>r,fc:()=>u,jz:()=>d,mQ:()=>f,w1:()=>i});let r=function(h){return h.Empty="",h.Image="IMAGE",h.Video="VIDEO",h.Mixed="MIXED",h.Folder="FOLDER",h}({}),o=function(h){return h.Click="click",h.Error="error",h.Load="load",h.Input="input",h.Rename="rename",h.Search="search",h.Select="select",h.View="view",h}({}),n=function(h){return h.OperatingSystem="operating-system",h}({}),a=function(h){return h.Asset="asset",h.Button="button",h.File="file",h.Menu="menu",h.MenuItem="menuitem",h.Modal="modal",h.Page="page",h.SearchQuery="searchquery",h.Tabs="tabs",h.Textarea="textarea",h}({}),i=function(h){return h.AddAsset="add-asset",h.AddFile="add-file",h.AddNewMenu="add-new-menu",h.AddNewMenuOptions="add-new-menu-options",h.AllFiles="all-files",h.ApplySearchFilters="apply-search-filters",h.AssetLibrary="asset-library",h.AssetOverflow="asset-overflow",h.AssetPicker="asset-picker",h.CancelCreateFolder="cancel-create-folder",h.CancelDelete="cancel-delete",h.CancelFileDetails="cancel-file-details",h.Close="close",h.CloseFileDetails="close-file-details",h.ConfirmDelete="confirm-delete",h.CreateFolder="create-folder",h.ErrorModal="error-modal",h.DeleteRequest="delete-request",h.DeleteRequestModal="delete-request-modal",h.DragAndDrop="drag-and-drop",h.FileDetails="file-details",h.FileName="file-name",h.FolderOverflow="folder-overflow",h.ImageOverflow="image-overflow",h.ImageType="image-type",h.MoreInfo="more-info",h.MoveToModal="move-to-modal",h.OpenSearchFilters="open-search-filters",h.OSFileMenu="os-file-menu",h.PreviewImage="preview-asset",h.RenameAsset="rename-asset",h.RenameDoneButton="rename-done-button",h.RenameFolderModal="rename-folder-modal",h.RestoreFromTrash="restore-trash",h.SelectFileOptions="select-file-options",h.SaveFileDetails="save-file-details",h.Search="search",h.Sort="sort",h.StockImageModal="stock-image-modal",h.Tab="tab",h.TrashBin="trash-bin",h.UpgradeModal="upgrade-modal",h.UpgradeModalOption="upgrade-modal-option",h.UploadFile="upload-file",h.ViewType="view-type",h}({}),c=function(h){return h.Add="Add",h.Apply="Apply",h.Cancel="Cancel",h.Close="Close",h.DragAndDrop="Drag and drop",h.Delete="Delete",h.Preview="Preview",h.Save="Save",h}({}),u=function(h){return h.AssetLibrary="asset-library",h.AssetLibraryAddNewMenu="asset-library-add-new-menu",h.AssetLibraryAllFiles="all-files",h.AssetLibraryFileDetails="asset-library-file-details",h.AssetLibraryOverflow="asset-library-overflow",h.AssetLibraryTrashBin="trash-bin",h}({}),f=function(h){return h.Add="add",h.Preview="preview",h}({}),d=function(h){return h.AssetCardDblClick="asset-card-dbl-click",h.AssetCardOverflowMenu="asset-card-overflow-menu",h.AssetListDblClick="asset-list-dbl-click",h.AssetListOverflowMenu="asset-list-overflow-menu",h}({})},310002:function(b,l,e){"use strict";e.d(l,{ZP:()=>p});var r=e(221661),o=e.n(r),n=e(608284),a;const i={customSchemaName:"",fireEvents:!0,logging:!1,useBeacon:!0,validateMode:!1},c={...i,devBaseDomainUrl:(a=window.location)===null||a===void 0?void 0:a.origin,logging:!0,sourceEnvironment:r.SourceEnvironment.DEV},u={...i,sourceEnvironment:r.SourceEnvironment.QA},f={...i,sourceEnvironment:r.SourceEnvironment.STAGING},d={...i,sourceEnvironment:r.SourceEnvironment.PROD},h={[n.Z.DEVELOPMENT]:c,[n.Z.DEV_PROXY]:c,[n.Z.QA]:u,[n.Z.STAGING]:f,[n.Z.PRODUCTION]:d},g=(y,O)=>({...h[O],customSchemaName:y}),p=y=>{const{assetDestination:O,customSchemaName:P,environment:C,userMemberAccountId:A,websiteId:S,websiteLocale:T,indirectObjectIdentifier:s,indirectObjectType:v=null,productPage:m,productArea:E,productSection:I,uploaderVersion:L}=y,F={actor:"user",event_owner_team:"asset_management",event_source:"web",member_account_id:null,object_id:null,object_identifier:null,product_area:E,website_locale:T,...{asset_destination:O,object_value:null,object_display_name:null,indirect_object_value:null,indirect_object_identifier:s,indirect_object_type:v,indirect_object_display_name:null,product_page:m,product_section:I,search_filter:null,uploader_version:L}},G=g(P,C),k=new(o())(G,{...F,context_website_id:S,member_account_id:A});return{trackEvent:M=>{k!==null?k.track(M):console.error(`[${F.product_area}] Event Tracker not initialized`)}}}},77968:function(b,l,e){"use strict";e.r(l),e.d(l,{formatTrackingObjectValue:()=>n,createEventTracker:()=>r.ZP,formatGettySearchFilters:()=>a});var r=e(310002),o=e(580579);const n=i=>i.toLowerCase().replace(/_/g,"-"),a=i=>{let{compositions:c,imageFamily:u,orientations:f}=i;const d=[];return Object.keys(c).forEach(h=>{(0,o.L$)(h)&&c[h]&&d.push(`compositions_${h}`)}),d.push(`imageFamily_${u}`),Object.keys(f).forEach(h=>{(0,o.eZ)(h)&&f[h]&&d.push(`orientations_${h}`)}),d}},485231:function(b,l,e){"use strict";e.d(l,{GK:()=>i,vy:()=>n,wB:()=>a});var r=e(908262),o=e(880722);const n=c=>{let{filename:u}=c;if(!u)return{filenameWithoutExt:"",extension:""};const f=u.lastIndexOf("."),d=u.slice(0,f),h=u.slice(f);return{filenameWithoutExt:d,extension:h}},a=c=>{let{filenameWithoutExt:u,extension:f}=c;return u+f},i=(c,u)=>{const f=c.trim();let d=null;return f.length===0?d={message:r.lE.filenameEmpty,type:"validation"}:f.length>255?d={message:r.lE.filenameTooLong,type:"validation"}:f===u&&(d={message:(0,o.t)("File already has this name. Please enter a new name.",null,{project:"assetManagement.assetCommon"}),type:"validation"}),{validatedFilename:f,filenameError:d}}},300958:function(b,l,e){"use strict";e.d(l,{J:()=>n,K:()=>a});var r=e(850882),o=e(575550);const n=i=>{const c={[r.h.IMAGE]:!1,[r.h.VIDEO]:!1},u=i.reduce((f,d)=>(d.assetType===r.h.IMAGE?f[r.h.IMAGE]=!0:d.assetType===r.h.VIDEO&&(f[r.h.VIDEO]=!0),f),c);return u[r.h.IMAGE]&&u[r.h.VIDEO]?o.cD.Mixed:u[r.h.IMAGE]?o.cD.Image:u[r.h.VIDEO]?o.cD.Video:o.cD.Empty},a=(i,c)=>{const u=n(i||[]);return u===o.cD.Empty?c!=null&&c.length?o.cD.Folder:o.cD.Empty:c!=null&&c.length?o.cD.Mixed:u}},312084:function(b,l,e){"use strict";e.d(l,{F:()=>n});var r=e(545334),o=e.n(r);function n(a){const i=(0,r.isMoment)(a)?a.calendar():o()(a).calendar(),c=i.charAt(0).toUpperCase(),u=i.slice(1);return`${c}${u}`}},367167:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o=n=>n.displayName||n.name||"Component"},627199:function(b,l,e){"use strict";e.d(l,{Q:()=>r});const r=o=>{let{format:n,src:a,token:i}=o;if(!a||a.startsWith("blob:"))return a;const[c,u]=a.split("?"),f=new URLSearchParams(u||"");return n&&f.set("format",`${n}w`),i&&f.set("token",i),f.toString()?`${c}?${f}`:c}},280686:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o=n=>encodeURIComponent(n)},152467:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(174161);const o=a=>!a||typeof a.offsetWidth!="number"||typeof a.clientWidth!="number"?(console.error("Invalid Node passed to getScrollbarWidth",a),0):a.offsetWidth-a.clientWidth,n=a=>{const[i,c]=(0,r.useState)(0);return(0,r.useEffect)(()=>{c(o(a.current))}),i}},707420:function(b,l,e){"use strict";e.d(l,{W:()=>u});var r=e(174161),o=e(331474),n=e(353134),a=e(933474),i=e(900486),c=e(551547);const u=()=>{const f=(0,n.$2)(),{data:d}=(0,a.uy)(f),h=(0,o.useDispatch)(),g=(0,o.useSelector)(i.l7);(0,r.useEffect)(()=>{const _=[];if(!d){h((0,c.i2)({selectableItems:_}));return}g&&d.folders&&d.folders.forEach(p=>_.push({type:"folder",id:p.folderId})),d.assets&&d.assets.forEach(p=>_.push({type:"asset",id:p.assetId})),h((0,c.i2)({selectableItems:_}))},[g,d,h])}},984044:function(b,l,e){var r={"./assetManagement.assetCommon.en-US.yaml":"886122"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=984044},595543:function(b,l,e){"use strict";e.d(l,{U:()=>c,Z:()=>i});var r=e(638204);const n="assetManagement.assetLibrary";function a(u){return e(458436)(`./${n}.${u}.yaml`)}const{getI18nInstance:i,setI18nInstance:c}=(0,r.setupLibrary)(n,a)},458436:function(b,l,e){var r={"./assetManagement.assetLibrary.en-US.yaml":"111209"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=458436},643272:function(b,l,e){"use strict";e.d(l,{m:()=>T});var r=e(174161),o=e(756409),n=e(575550),a=e(838848),i=e(199025),c=e(343701),u=e(719484),f=e(425629),d=e(881707),h=e(600994),g=e(331474),_=e(501304);const p={"en-US":"https://www.squarespace.com/product-specific-terms","es-419":"https://es.squarespace.com/condiciones-especificas-de-los-productos","de-DE":"https://de.squarespace.com/produktspezifische-bedingungen","fr-FR":"https://fr.squarespace.com/conditions-specifiques-aux-produits","it-IT":"https://it.squarespace.com/termini-specifici-del-prodotto","ja-JP":"https://ja.squarespace.com/product-specific-terms","pt-BR":"https://pt.squarespace.com/termos-especificos-do-produto"},y=s=>s&&s in p?p[s]:p["en-US"];var O=e(607710),P=e(195311),C=e(641380);const A="https://support.squarespace.com/hc/articles/16282290976013-Using-Squarespace-AI",S=r.createElement("a",{href:A,target:"_blank",rel:"noreferrer"},(0,C.t)("Learn more.",null,{project:"assetManagement.assetPicker",notes:"A text link to the KB article for Squarespace AI"})),T=s=>{let{asset:v,locale:m,onChooseAsset:E,onRequestClose:I}=s;const{trackViewStockImageModal:L}=(0,O.HK)(),{subpanel:W}=(0,g.useSelector)(o.Um),F=(0,r.useMemo)(()=>r.createElement("a",{href:y(m),target:"_blank",rel:"noreferrer"},(0,C.t)("Product Specific Terms",null,{project:"assetManagement.assetPicker",notes:"A text link to the Squarespace product specific terms page"})),[m]);(0,r.useEffect)(()=>{v&&L({callToAction:n.mQ.Add,imageType:_.f[W],objectId:v.filename})});const G=(0,r.useMemo)(()=>(0,a.bJ)({asset:v,locale:m}),[v,m]);return r.createElement(P.$,{asset:v,format:500,renderHeader:k=>r.createElement(i.Z,{ref:k,p:4,label:r.createElement(u.Z.Subtitle,{my:0},G),exteriorAccessory:r.createElement(f.Z.Element.Icon,{onClick:I},r.createElement(c.Z,null))}),renderFooter:k=>r.createElement(d.Z,{ref:k,mx:4,mt:4,mb:3},r.createElement(h.Z,{width:"100%",mb:5,size:"large",onClick:()=>{E({asset:v}),I({skipTracking:!0})}},r.createElement(C.T,{project:"assetManagement.assetPicker"},"Add Image")),r.createElement(d.Z,{sx:{lineHeight:1,mb:1}},r.createElement(u.Z.Caption,null,r.createElement(C.T,{project:"assetManagement.assetPicker",productSpecificTermsLink:F,learnMoreLink:S},`This image was generated by third party AI and is Licensed Content. By clicking "Add Image", you agree to Squarespace's {productSpecificTermsLink} and that you are publishing the image and responsible for any use. {learnMoreLink}`))))})}},356841:function(b,l,e){"use strict";e.d(l,{Q:()=>j});var r=e(160553),o=e.n(r),n=e(174161),a=e(449230),i=e(756409),c=e(933474),u=e(353134),f=e(62630),d=e(15831),h=e(383054),g=e(314499),_=e(881707),p=e(719484),y=e(213865),O=e(885630),P=e(936609),C=e(838848),A=e(598693),S=e(419835);const T=$=>{let{assetLibrary:ee,imageType:te,isLoadingNextPage:ie,locale:ne}=$;const[pe]=(0,A.Z)(ee),oe=(0,n.useMemo)(()=>(0,C.Yw)({assetRecords:ee,locale:ne}),[ee,ne]),{platform:q}=(0,O.i)(y.breakpoints);return n.createElement(_.Z,{pt:q==="mobile"?0:4,pb:8,position:"relative"},Object.keys(oe).map((J,me)=>{const re=me===Object.keys(oe).length-1;return n.createElement(S.a,{dimensionsList:pe,key:J,assetLibrary:oe[J],imageType:te,isLoadingNextPage:ie&&re,variant:"sectionBg",customHeader:n.createElement(P.Z.Renderer,{render:{default:()=>n.createElement(p.Z.Label,{mb:1},J),"mobile-0":()=>n.createElement(p.Z.Label,{my:0},J)}})})}))};var s=e(657408),v=e(412166),m=e(331474),E=e(494475),I=e(663429),L=e(103195),W=e(501304),F=e(607710),G=e(641380),k=e(19427),x=e(481342),M=e(987690),B=e(643272);const R=$=>{let{children:ee,locale:te,onChooseAsset:ie}=$;const{setExpandedAssetContents:ne}=(0,M.M)();return n.createElement(x.J,{onAssetSingleClick:pe=>{let{assetDetails:oe,imageType:q}=pe;return ne({content:J=>{let{onRequestClose:me}=J;return n.createElement(B.m,{asset:oe,locale:te,onChooseAsset:ie,onRequestClose:me})},asset:oe,imageType:q}),()=>{}}},ee)},U=[{label:(0,G.t)("Images",null,{project:"assetManagement.assetPicker",notes:"label for stock background images tab in asset picker"}),value:a.J.IMAGES},{label:(0,G.t)("Patterns",null,{project:"assetManagement.assetPicker",notes:"label for stock background patterns tab in asset picker "}),value:a.J.PATTERNS},{label:(0,G.t)("Gradients",null,{project:"assetManagement.assetPicker",notes:"label for stock background gradients tab in asset picker "}),value:a.J.GRADIENTS}],j=$=>{var ee;let{devOverrides:te,locale:ie,onChooseBgAsset:ne,onStockBackgroundSelected:pe,setTrackingImageType:oe,...q}=$;const{subpanel:J}=(0,m.useSelector)(i.Ey),me=(te==null?void 0:te.subpanel)||J,{data:re,error:he}=(0,c.U_)(),Ee=(0,n.useMemo)(()=>re?re[me]:null,[re,me]),fe=((ee=(0,s.getWebsiteContext)())===null||ee===void 0||(ee=ee.websitesContentContext)===null||ee===void 0?void 0:ee.aiBackgroundsLibraryId)||(te==null?void 0:te.libraryId)||null,H=(0,u.wj)({folderId:Ee,libraryId:fe}),{data:z,error:_e,isFetching:ae}=(0,c.KX)(H,{skip:!Ee||!fe}),ge=(0,n.useMemo)(()=>(te==null?void 0:te.assets)||(z==null?void 0:z.assets)||[],[z,te==null?void 0:te.assets]),Be=(0,n.useMemo)(()=>te!=null&&te.viewState?te==null?void 0:te.viewState:_e||he?f.f.LOAD_ERROR:z?ge.length?H.scrollPage>1&&ae?f.f.LOADING_NEXT_PAGE:f.f.LOADED:f.f.NO_SEARCH_RESULTS:f.f.LOADING,[ge,z,te==null?void 0:te.viewState,_e,he,H,ae]),Ke=(0,m.useDispatch)(),He=(0,n.useMemo)(()=>{var Ie;return!!((Ie=q.isPanelSelected)!==null&&Ie!==void 0&&Ie.call(q,L.G.AIBackgrounds))},[q]);(0,n.useEffect)(()=>{He||Ke((0,d.K7)({subpanel:a.J.IMAGES}))},[He,Ke]);const{trackToggleImageType:ye,trackSearchAssetPicker:Le}=(0,F.HK)(),Ue=(0,n.useRef)(null),Xe=()=>{var Ie;Ue==null||(Ie=Ue.current)===null||Ie===void 0||Ie.scrollTo({top:0,behavior:"instant"})},Fe=(0,n.useCallback)(Ie=>{var Bt;Xe(),ye({imageType:W.f[Ie]}),te==null||(Bt=te.changeSubpanel)===null||Bt===void 0||Bt.call(te,Ie),Ke((0,d.K7)({subpanel:Ie})),oe==null||oe({imageType:W.f[Ie]})},[Ke,te,oe,ye]),ht=(0,n.useCallback)(Ie=>{Ke((0,d.oI)({search:Ie})),Xe(),Le({searchQuery:Ie,imageType:W.f[me]})},[Ke,me,Le]),Ne=z==null?void 0:z.hasNextPage,Ce=(0,n.useCallback)(()=>{Ne&&Ke((0,d.jx)())},[Ke,Ne]),we=(0,n.useMemo)(()=>n.createElement(E.C,{currentValue:me,onChange:Fe,options:U}),[Fe,me]),$e=(0,n.useCallback)(Ie=>{ht(Ie)},[ht]),Ot=Ie=>{let{asset:Bt}=Ie;ne({asset:Bt}),pe==null||pe({filename:Bt.filename,imageType:W.f[me]})},Pt=(0,n.useMemo)(()=>Object.keys(a.J).map(Ie=>Ie.toLowerCase()===me.toLowerCase()?n.createElement(h.E,{key:Ie,initialSearchValue:H.search,onSubmit:$e,onClear:Xe},n.createElement(v.Z,{minHeight:44},n.createElement(I.x,null),we)):null),[$e,H.search,me,we]);return n.createElement(k.s,o()({id:L.G.AIBackgrounds,librarySource:"ai-backgrounds",title:(0,G.t)("Stock Backgrounds",null,{project:"assetManagement.assetPicker"})},q),Pt,n.createElement(R,{locale:ie,onChooseAsset:Ot},n.createElement(g.t,{ref:Ue,assetLibrary:ge,onNearBottom:Ce,viewState:Be,LoadedView:Ie=>n.createElement(T,o()({},Ie,{locale:ie})),imageType:W.f[me]})))}},606498:function(b,l,e){"use strict";e.d(l,{Z:()=>U});var r=e(160553),o=e.n(r),n=e(174161),a=e(850882),i=e(263456),c=e(608284),u=e(542397),f=e(728277),d=e(818325),h=e(351720),g=e(936609),_=e(331474),p=e(607710),y=e(642979),O=e.n(y),P=e(147967),C=e(523824),A=e(881707),S=e(412166),T=e(600994),s=e(233284),v=e(641380),m=e(443017);const E=j=>{let{child:$}=j;const ee=(0,n.useRef)(null);return n.createElement(A.Z,{ref:ee},$&&ee.current?(0,s.createPortal)($,ee.current):null)},L=j=>{let{onRequestClose:$}=j;const{closeBarComponent:ee}=(0,m.d)();return n.createElement(A.Z,{pt:"2",px:C.Yq,position:"sticky",top:"0",left:"0",zIndex:1,backgroundColor:"white",sx:{width:"100%"}},n.createElement(S.Z,{justifyContent:"space-between"},n.createElement(T.Z.Tertiary,{onClick:$},n.createElement(v.T,{project:"assetManagement.assetPicker"},"Close")),n.createElement(E,{child:ee})))};var W=e(506209);const F=j=>{let{options:$,value:ee,onChange:te}=j;return $?n.createElement(A.Z,{px:C.Yq},n.createElement(W.Z,{options:$,value:ee,onChange:te})):null},G=j=>{let{options:$,value:ee,onChange:te}=j;const ie=$.map(ne=>({...ne,label:ne.mobileLabel||ne.label}));return n.createElement(A.Z,{px:C.Yq},n.createElement(W.Z,{options:ie,value:ee,onChange:te}))},x=j=>{let{options:$,value:ee,onChange:te}=j;return n.createElement(g.Z.Renderer,{render:{default:F,"mobile-0":G},options:$,value:ee,onChange:te})};class M extends n.Component{constructor($){super($),O()(this,"isPanelSelected",ee=>ee===this.state.selectedPanelId),O()(this,"registerPanel",ee=>{let{id:te,title:ie,shortTitle:ne}=ee;this.setState(pe=>({selectedPanelId:pe.selectedPanelId||te,tabs:[...pe.tabs,{value:te,label:ie,mobileLabel:ne??ie}]}),()=>{const{trackInitialTab:pe}=this.props.tracking,{tabs:oe,selectedPanelId:q}=this.state;pe(oe.find(J=>{let{value:me}=J;return me===q})||{})})}),O()(this,"setTrackingImageType",ee=>{let{imageType:te}=ee;this.setState({imageType:te})}),O()(this,"handleClose",()=>{const{onRequestClose:ee,tracking:te}=this.props;ee==null||ee(),te.trackCloseAssetPicker({imageType:this.state.imageType})}),O()(this,"selectPanel",ee=>{var te;const{tabs:ie}=this.state,{trackClickAssetPickerTab:ne}=this.props.tracking;this.setState({selectedPanelId:ee,imageType:(0,p.kT)(ee)});const pe=(te=ie.find(oe=>{let{value:q}=oe;return q===ee}))===null||te===void 0?void 0:te.value;ne({value:pe})}),this.containerRef=(0,n.createRef)(),this.state={selectedPanelId:$.initialPanelId,imageType:(0,p.kT)($.initialPanelId),tabs:[]}}componentDidUpdate($){const{tabs:ee}=this.state,{children:te}=$}render(){const{selectedPanelId:$,tabs:ee}=this.state,{children:te,onRequestClose:ie,upperLimitForCollection:ne,collectionSize:pe}=this.props,oe=n.Children.map(te,J=>J&&(0,n.cloneElement)(J,{collectionSize:pe,containerNode:this.containerRef.current,isPanelSelected:this.isPanelSelected,onRegister:this.registerPanel,setTrackingImageType:this.setTrackingImageType,upperLimitForCollection:ne})),q=!!ie;return n.createElement(P.Y,{ref:this.containerRef,sx:{userSelect:"none"}},q&&n.createElement(L,{onRequestClose:this.handleClose}),n.createElement(x,{options:ee,value:$,onChange:this.selectPanel}),oe)}}const B=(0,p.zx)(M),U=j=>{let{assetTypes:$=[a.h.IMAGE],children:ee,collectionSize:te=0,featureFlags:ie,onRequestClose:ne,environment:pe,eventTracking:oe={},initialPanelId:q,libraryId:J,imageAuthToken:me,upperLimitForCollection:re=1}=j;(0,n.useEffect)(()=>{(0,i.Uw)((0,c.a)(pe))},[pe]);const he=(0,c.a)(pe),Ee=(0,n.useMemo)(()=>(0,u.M)({environment:he,libraryId:J,assetTypes:$,featureFlags:ie}),[he,J]);if(!ee)throw"Panel children are required for AssetPicker to work properly.";return n.createElement(g.Z.Provider,null,n.createElement(f.O,{featureFlags:ie},n.createElement(m.Z.Provider,{environment:he,environmentConfig:pe},n.createElement(d.z,{environment:he},n.createElement(p.NK,o()({},oe,{environment:he,initialPanelId:q}),n.createElement(_.Provider,{store:Ee},n.createElement(h.f,{imageAuthToken:me},n.createElement(B,{onRequestClose:ne,initialPanelId:q,upperLimitForCollection:re,collectionSize:te},ee))))))))}},443017:function(b,l,e){"use strict";e.d(l,{Z:()=>i,d:()=>a});var r=e(174161);const o=(0,r.createContext)({closeBarComponent:null,setCloseBarComponent:()=>{}}),n=c=>{let{children:u,environment:f,environmentConfig:d}=c;const[h,g]=(0,r.useState)(null);return r.createElement(o.Provider,{value:{environmentConfig:d,environment:f,closeBarComponent:h,setCloseBarComponent:g}},u)},a=()=>{const c=(0,r.useContext)(o);if(c)return c;throw new Error("To use useAssetPickerContext, the component needs to be a child of AssetPickerContext.Provider")},i={Provider:n}},209034:function(b,l,e){"use strict";e.d(l,{O:()=>f});var r=e(174161),o=e(523824),n=e(719484),a=e(641380);const i="https://unsplash.com?utm_source=squarespace&medium=referral",c=r.createElement(n.Z.Label,{as:"a",href:i,rel:"noopener",target:"_blank",display:"inline"},r.createElement(a.T,{project:"assetManagement.assetPicker"},"Unsplash")),u=r.createElement(n.Z.Label,{as:"a",href:"https://gettyimages.com",target:"_blank",rel:"noopener",display:"inline"},r.createElement(a.T,{project:"assetManagement.assetPicker"},"Getty")),f=d=>{let{source:h}=d;return r.createElement(n.Z.Label,{py:1,px:o.Yq,textAlign:"right"},r.createElement(a.T,{project:"assetManagement.assetPicker",attributionLink:h==="unsplash"?c:u,notes:"Will say Powered by Getty or Unsplash, where Getty or Unsplash is a link."},"Powered by {attributionLink}"))}},607710:function(b,l,e){"use strict";e.d(l,{HK:()=>O,NK:()=>T,kT:()=>S,tN:()=>y,zx:()=>s});var r=e(160553),o=e.n(r),n=e(174161),a=e(77968),i=e(608284),c=e(575550),u=e(850882),f=e(367167),d=e(192628),h=e.n(d);const{createEventTracker:g}=a,{formatTrackingObjectValue:_,formatGettySearchFilters:p}=a,y=(0,n.createContext)(null),O=()=>{const v=(0,n.useContext)(y);if(v)return v;throw new Error("To use useEventTrackingContext, the component needs to be a child of EventTrackingContext.Provider")};let P={trackEvent:()=>{}},C=!0,A;const S=v=>{if(!v)return"my-library";switch(v){case"stock-images-panel":return"free";case"ai-backgrounds":return"generated-images"}return"my-library"},T=v=>{let{children:m,environment:E=i.Z.DEVELOPMENT,assetDestination:I,initialPanelId:L,productPage:W,userMemberAccountId:F,websiteId:G,websiteLocale:k}=v;(0,n.useEffect)(()=>{A=L,C=!0},[]),(0,n.useEffect)(()=>{P=g({assetDestination:I,customSchemaName:"AssetPicker",environment:E,userMemberAccountId:F,websiteId:G,websiteLocale:k,indirectObjectIdentifier:c.w1.AssetPicker,productPage:W,productArea:"AssetPicker"})},[E]);const x=_e=>{let{value:ae}=_e;A||(A=ae)},M=_e=>{let{numAssets:ae}=_e;C&&A&&(P.trackEvent({action:c.Mr.View,event_name:"UserViewsAssetPicker",image_type:S(A),indirect_object_identifier:I,object_display_name:A,object_identifier:c.w1.AssetPicker,object_type:c.Qv.Modal,object_value:String(ae)}),C=!1)},B=_e=>{let{imageType:ae}=_e;P.trackEvent({action:c.Mr.Click,event_name:"UserClosesAssetPicker",image_type:ae,indirect_object_display_name:A,indirect_object_identifier:c.w1.AssetPicker,object_display_name:c.$S.Close,object_identifier:c.w1.Close,object_type:c.Qv.Button})},R=_e=>{let{value:ae}=_e;P.trackEvent({action:c.Mr.Click,event_name:"UserClicksAssetPickerTab",image_type:S(ae),indirect_object_display_name:A,object_display_name:ae,object_identifier:c.w1.Tab,object_type:c.Qv.Tabs,object_value:_(ae)}),A=ae},U=_e=>{let{displayLayout:ae}=_e;P.trackEvent({action:c.Mr.Click,event_name:"UserChangesAssetPickerView",object_type:c.Qv.Button,object_identifier:c.w1.ViewType,object_value:_(ae),indirect_object_display_name:A})},j=_e=>{let{sortDirection:ae,sortField:ge,type:Be,imageType:Ke}=_e;P.trackEvent({action:c.Mr.Click,event_name:"UserSortsAssetPicker",image_type:Ke,object_type:c.Qv.Button,object_identifier:c.w1.Sort,object_value:_(Be),indirect_object_display_name:A,sort_direction:ae,sort_field:ge})},$=_e=>{let{assetIds:ae,assets:ge,folderId:Be}=_e;P.trackEvent({action:c.Mr.Click,event_name:"UserAddsAssetPickerAsset",folder_id:Be,indirect_object_display_name:A,num_assets:ge.length,object_display_name:c.$S.Add,object_id:ae.length===1?ae[0]:null,object_identifier:c.w1.AddAsset,object_type:c.Qv.Button,content_type:ae.length===1?ge[0].assetType:null})},ee=_e=>{let{assetId:ae,contentType:ge,numAssets:Be}=_e;P.trackEvent({action:c.Mr.Click,content_type:ge,event_name:"UserClicksAssetPickerDeleteRequest",indirect_object_display_name:A,num_assets:Be,object_display_name:c.$S.Delete,object_id:Be===1?ae:null,object_identifier:c.w1.DeleteRequest,object_type:c.Qv.Button})},te=_e=>{let{contentType:ae,message:ge,numAssets:Be,title:Ke}=_e;P.trackEvent({action:c.Mr.View,content_type:ae,event_name:"UserViewsAssetPickerDeleteModal",indirect_object_display_name:A,num_assets:Be,object_display_name:Ke,object_identifier:c.w1.DeleteRequestModal,object_type:c.Qv.Modal,object_value:ge})},ie=_e=>{let{assetId:ae,contentType:ge,numAssets:Be}=_e;P.trackEvent({action:c.Mr.Click,content_type:ge,event_name:"UserConfirmsDeleteAssetPickerAsset",indirect_object_display_name:A,num_assets:Be,object_display_name:c.$S.Delete,object_id:Be===1?ae:null,object_identifier:c.w1.ConfirmDelete,object_type:c.Qv.Button})},ne=_e=>{let{assetId:ae,contentType:ge,numAssets:Be}=_e;P.trackEvent({action:c.Mr.Click,content_type:ge,event_name:"UserCancelsDeleteAsset",indirect_object_display_name:A,num_assets:Be,object_display_name:c.$S.Cancel,object_id:Be===1?ae:null,object_identifier:c.w1.CancelDelete,object_type:c.Qv.Button})},pe=_e=>{let{contentType:ae,imageType:ge,objectId:Be}=_e;P.trackEvent({action:c.Mr.Click,content_type:ae,event_name:"UserOpensAssetPickerAssetOverflow",image_type:ge,indirect_object_display_name:A,object_id:Be,object_identifier:c.w1.ImageOverflow,object_type:c.Qv.Button})},oe=_e=>{let{expandedAsset:ae,entryOrigin:ge}=_e;P.trackEvent({action:c.Mr.View,content_type:ae.assetType,entry_origin:ge,event_name:"UserViewsAssetPickerFileDetails",imageType:"my-library",indirect_object_display_name:A,object_id:ae.assetId,object_identifier:c.w1.FileDetails,object_type:c.Qv.Modal})},q=_e=>{let{objectId:ae,imageType:ge}=_e;P.trackEvent({action:c.Mr.Click,event_name:"UserClosesAssetPickerFileDetails",image_type:ge,indirect_object_display_name:A,object_display_name:c.$S.Close,object_id:ae,object_identifier:c.w1.CloseFileDetails,object_type:c.Qv.Button})},J=_e=>{let{callToAction:ae,imageType:ge,objectId:Be}=_e;P.trackEvent({action:c.Mr.View,event_name:"UserViewsAssetPickerStockImageModal",image_type:ge,indirect_object_display_name:A,indirect_object_value:ae,object_id:Be,object_identifier:c.w1.StockImageModal,object_type:c.Qv.Modal})},me=_e=>{let{imageType:ae}=_e;P.trackEvent({action:c.Mr.Click,content_type:u.h.IMAGE,event_name:"UserTogglesImageType",image_type:ae,indirect_object_display_name:A,object_value:ae,object_identifier:c.w1.ImageType,object_type:c.Qv.Button})},re=_e=>{let{gettyImage:ae}=_e;P.trackEvent({action:c.Mr.Click,event_name:"UserPreviewsAssetPickerStockImage",image_type:"premium",indirect_object_display_name:A,object_display_name:c.$S.Preview,object_id:ae.imageId,object_identifier:c.w1.PreviewImage,object_type:c.Qv.Button})},he=_e=>{let{searchQuery:ae,gettyFilters:ge,imageType:Be}=_e;!C&&(ae||ge)&&P.trackEvent({action:c.Mr.Search,event_name:"UserSearchesAssetPicker",image_type:Be,indirect_object_display_name:A,object_identifier:c.w1.Search,object_type:c.Qv.SearchQuery,object_value:ae,search_filter:ge?p(ge):[]})},Ee=_e=>{let{gettyFilters:ae}=_e;P.trackEvent({action:c.Mr.Click,event_name:"UserOpensAssetPickerSearchFilterDropdown",image_type:"premium",indirect_object_display_name:A,object_identifier:c.w1.OpenSearchFilters,object_type:c.Qv.Button,search_filter:p(ae)})},fe=_e=>{P.trackEvent({action:c.Mr.Click,event_name:"UserAppliesAssetPickerSearchFilter",image_type:"premium",indirect_object_display_name:A,object_display_name:c.$S.Apply,object_identifier:c.w1.ApplySearchFilters,object_type:c.Qv.Button,search_filter:p(_e)})},H=_e=>{let{folderId:ae}=_e;P.trackEvent({action:c.Mr.View,event_name:"UserViewsFolderNotFoundState",folder_id:ae,object_identifier:c.w1.AssetPicker,object_type:c.Qv.Modal})},z=_e=>{let{folderId:ae}=_e;P.trackEvent({action:c.Mr.Click,event_name:"UserClicksFolderNotFoundStateCTA",folder_id:ae,object_identifier:c.w1.AssetPicker,object_type:c.Qv.Modal})};return n.createElement(y.Provider,{value:{trackAddAssetPickerAsset:$,trackApplyFilters:fe,trackCancelDeleteAssetPickerAsset:ne,trackChangeAssetPickerView:U,trackClickAssetPickerTab:R,trackClickFolderNotFoundCTA:z,trackCloseAssetPicker:B,trackCloseFileDetails:q,trackConfirmDeleteAssetPickerAsset:ie,trackDeleteRequestAssetPickerAsset:ee,trackInitialTab:x,trackOpenAssetOverflow:pe,trackOpenSearchFilterDropdown:Ee,trackPreviewGettyImage:re,trackSearchAssetPicker:he,trackSortAssetPicker:j,trackToggleImageType:me,trackViewAssetPicker:M,trackViewDeleteModal:te,trackViewFileDetails:oe,trackViewStockImageModal:J,trackViewFolderNotFound:H}},m)},s=v=>{const m=E=>{const I=O();return n.createElement(v,o()({},E,{tracking:I}))};return m.displayName=`withEventTrackingConsumer(${(0,f.Z)(v)}`,h()(m,v)}},195311:function(b,l,e){"use strict";e.d(l,{$:()=>p});var r=e(160553),o=e.n(r),n=e(174161),a=e(351353),i=e(627199),c=e(936609),u=e(976003),f=e.n(u);const d={width:0,height:0},h={width:400,height:350},g=y=>{const[O,P]=(0,n.useState)(d);return(0,n.useEffect)(()=>{const C=y==null?void 0:y.current;if(C){const A={width:C.offsetWidth,height:C.offsetHeight};f()(A,d)||P(A)}},[y]),[O]},_=y=>{let{asset:O,contentHeight:P,format:C,renderHeader:A,renderFooter:S}=y;const{dimensions:T,imageSrc:s}=O,v=T.height/T.width,m=(0,n.useRef)(null),E=(0,n.useRef)(null),[I,L]=(0,n.useState)(h),[W]=g(m),[F]=g(E);return(0,n.useEffect)(()=>{const G=W.height+F.height,k={width:W.width,height:P-G};k.width*v>k.height?L(k):L({width:k.width,height:k.width*v})},[v,P,F.height,W.height,W.width,L]),n.createElement(n.Fragment,null,A(m),n.createElement(a.Z,{src:(0,i.Q)({src:s,format:C}),imageDimensions:T,maxDimensions:I}),S(E))},p=y=>n.createElement(c.Z.Renderer,o()({render:{default:O=>n.createElement(_,o()({contentHeight:510},O)),"mobile-0":O=>{const{innerHeight:P}=window,C=66*2;return n.createElement(_,o()({contentHeight:P-C},O))}}},y))},706018:function(b,l,e){"use strict";e.d(l,{o:()=>c});var r=e(174161),o=e(481342),n=e(607710),a=e(987690),i=e(453315);const c=u=>{let{children:f,localizedPrice:d,onChooseImageToPreview:h}=u;const{setExpandedAssetContents:g}=(0,a.M)(),{trackPreviewGettyImage:_}=(0,n.HK)(),p=y=>{h(y),_({gettyImage:y})};return r.createElement(o.J,{onAssetSingleClick:y=>{let{assetDetails:O,imageType:P}=y;return g({content:C=>{let{onRequestClose:A}=C;return r.createElement(i.Z,{asset:O,localizedPrice:d,onChooseImageToPreview:p,onRequestClose:A})},asset:O,imageType:P}),()=>{}}},f)}},453315:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(174161),o=e(818325),n=e(575550),a=e(728487),i=e(868192),c=e(199025),u=e(343701),f=e(719484),d=e(881707),h=e(600994),g=e(47932),_=e(607710),p=e(195311),y=e(641380);const O=(0,y.t)("Purchased",null,{project:"assetManagement.assetPicker"}),P=(0,y.t)("Add to site",null,{project:"assetManagement.assetPicker"}),C={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},A=function(s){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{assetId:m}=s;return!!v[m]},T=s=>{let{asset:v,localizedPrice:m,onChooseImageToPreview:E,onRequestClose:I}=s;const{licensedAssetsBySourceId:L}=o.I(),{trackViewStockImageModal:W}=(0,_.HK)();(0,r.useEffect)(()=>{v&&W({callToAction:n.mQ.Preview,imageType:"premium",objectId:v.assetId})},[v,W]);const{colors:F,fontSizes:G}=(0,g.F)(),k={fontSize:G[0],lineHeight:"11px",letterSpacing:"0.75px",color:F.gray[300]},x=(0,y.t)("By: {artist}",{artist:v.artist},{project:"assetManagement.assetPicker"}),M=A(v,L);return r.createElement(p.$,{asset:v,renderHeader:B=>r.createElement(c.Z,{ref:B,pl:4,pr:2,label:r.createElement(f.Z.Body,{as:"span",sx:C,label:v.title},v.title),description:r.createElement(f.Z.Caption,{sx:C,label:x},x),interiorPre:r.createElement(d.Z,{background:F.gray[900],p:1},M?O:m),interiorAccessory:r.createElement(a.h,{hasDivider:!1,onClick:R=>{R.stopPropagation(),I()}},r.createElement(u.Z,null))}),renderFooter:B=>r.createElement(d.Z,{ref:B,mx:4,mt:4,mb:3},r.createElement(h.Z,{width:"100%",mb:6,size:"large",onClick:()=>{E(v),I({skipTracking:!0})}},M?P:r.createElement(y.T,{project:"assetManagement.assetPicker"},"Preview on site")),M?null:r.createElement(f.Z.Caption,{sx:{display:"block",...k}},r.createElement(y.T,{project:"assetManagement.assetPicker",localizedPrice:m},"License this image for {localizedPrice} after previewing on your site."),"\xA0",r.createElement("a",{href:i.THIRD_PARTY_IMAGES,target:"_blank",rel:"noopener noreferrer",style:k},r.createElement(y.T,{project:"assetManagement.assetPicker"},"Learn more"))))})}},208065:function(b,l,e){"use strict";e.d(l,{B:()=>He});var r=e(174161),o=e(91039),n=e(728487),a=e(230540),i=e(881707),c=e(331474),u=e(607710),f=e(160553),d=e.n(f),h=e(580579),g=e(325034),_=e(719484),p=e(159945),y=e(936609),O=e(976003),P=e.n(O),C=e(641380);const{ABSTRACT:A,COPY_SPACE:S,CUT_OUT:T,FULL_FRAME:s,MACRO:v,PORTRAIT:m,SPARSE:E,STILL_LIFE:I}=h.Tf,L=[{value:A,label:(0,C.t)("Abstract",null,{project:"assetManagement.assetPicker"})},{value:v,label:(0,C.t)("Close up",null,{project:"assetManagement.assetPicker"})},{value:S,label:(0,C.t)("Copy Space",null,{project:"assetManagement.assetPicker"})},{value:E,label:(0,C.t)("Minimal",null,{project:"assetManagement.assetPicker"})},{value:T,label:(0,C.t)("Plain Background",null,{project:"assetManagement.assetPicker"})},{value:m,label:(0,C.t)("Portrait",null,{project:"assetManagement.assetPicker"})},{value:I,label:(0,C.t)("Still Life",null,{project:"assetManagement.assetPicker"})},{value:s,label:(0,C.t)("Wallpaper",null,{project:"assetManagement.assetPicker"})}],W={isRadio:!1,title:(0,C.t)("Image Style",null,{project:"assetManagement.assetPicker"}),options:L};var F=e(341493),G=e.n(F);const{CREATIVE:k,EDITORIAL:x}=G(),M=[{value:k,label:(0,C.t)("Creative",null,{project:"assetManagement.assetPicker"})},{value:x,label:(0,C.t)("Editorial",null,{project:"assetManagement.assetPicker"})}],B={defaultValue:k,isRadio:!0,title:(0,C.t)("Image Family",null,{project:"assetManagement.assetPicker"}),options:M};var R=e(955432),U=e.n(R);const{HORIZONTAL:j,VERTICAL:$,SQUARE:ee,PANORAMIC_HORIZONTAL:te,PANORAMIC_VERTICAL:ie}=U(),ne=[{value:j,label:(0,C.t)("Horizontal",null,{project:"assetManagement.assetPicker"})},{value:$,label:(0,C.t)("Vertical",null,{project:"assetManagement.assetPicker"})},{value:ee,label:(0,C.t)("Square",null,{project:"assetManagement.assetPicker"})},{value:te,label:(0,C.t)("Panoramic Horizontal",null,{project:"assetManagement.assetPicker"})},{value:ie,label:(0,C.t)("Panoramic Vertical",null,{project:"assetManagement.assetPicker"})}],pe={isRadio:!1,title:(0,C.t)("Orientations",null,{project:"assetManagement.assetPicker"}),options:ne};var oe=e(414569),q=e(578541);const J=ye=>{let{RenderComponent:Le,value:Ue,label:Xe,isChecked:Fe,onChange:ht,...Ne}=ye;return r.createElement(_.Z.Body,d()({},Ne,{key:Ue,as:"label",cursor:"pointer",position:"relative",display:"flex",alignItems:"center"}),r.createElement(Le,{checked:Fe,mr:2,onChange:ht,value:Ue}),Xe)},me=ye=>{let{title:Le,isRadio:Ue,options:Xe=[],onChange:Fe,isChecked:ht,...Ne}=ye;const Ce=Ue?q.Z:oe.Z;return r.createElement(i.Z,Ne,r.createElement(_.Z.Label,{mb:2},Le),Xe.map(we=>{let{value:$e,label:Ot}=we;return r.createElement(J,{key:$e,RenderComponent:Ce,mb:4,value:$e,label:Ot,isChecked:ht($e),onChange:Pt=>Fe({value:$e,isChecked:!!Pt})})}))};var re=e(412166),he=e(600994);const Ee=(0,r.forwardRef)((ye,Le)=>{let{hasChanges:Ue,onResetFilters:Xe,onApplyFilters:Fe}=ye;return r.createElement(re.Z,{py:4,px:6,width:"sizes.750",justifyContent:"space-between",ref:Le},r.createElement(he.Z.Tertiary,{size:"1",onClick:Xe,"data-test":"reset-filter-button","aria-label":"reset-filter-button"},r.createElement(C.T,{project:"assetManagement.assetPicker"},"Reset")),r.createElement(he.Z.Primary,{disabled:!Ue,size:"1",onClick:Fe,"data-test":"apply-filter-button","aria-label":"apply-filter-button",alignSelf:"right"},r.createElement(C.T,{project:"assetManagement.assetPicker"},"Apply")))}),fe=(0,r.forwardRef)((ye,Le)=>{let{onRequestClose:Ue,onResetFilters:Xe,onApplyFilters:Fe}=ye;return r.createElement(re.Z,{ref:Le,p:3,width:"fullwidth",justifyContent:"space-between",alignItems:"center"},r.createElement(he.Z.Tertiary,{onClick:Ue},r.createElement(C.T,{project:"assetManagement.assetPicker"},"Close")),r.createElement(i.Z,null,r.createElement(he.Z.Tertiary,{mx:2,onClick:Xe},r.createElement(C.T,{project:"assetManagement.assetPicker"},"Reset")),r.createElement(he.Z.Primary,{onClick:Fe,alignSelf:"right"},r.createElement(C.T,{project:"assetManagement.assetPicker"},"Apply"))))});var H=e(158577),z=e(208935),_e=e(725538),ae=e(47932);const{OVERLAY_CLASSNAME:ge}=H,Be=ye=>{let{children:Le,constrainTo:Ue,isOpen:Xe,onRequestClose:Fe,position:ht}=ye;const{sizes:Ne}=(0,ae.F)();return r.createElement(_e.Z.Transition,null,Xe&&r.createElement(_e.Z,{onRequestClose:Fe},r.createElement(_e.Z.Overlay,{sx:{background:"transparent"}}),r.createElement(y.Z.Renderer,{render:{default:Ce=>r.createElement(_e.Z.Position,d()({},Ce,{className:z.NONINTERACTIVE_CLASSNAME,constrainTo:Ue,position:ht,constrainOffset:{x:-1*parseInt(Ne.sizes[175],10),y:144}})),"mobile-0":Ce=>r.createElement(_e.Z.Position,Ce)}},r.createElement(_e.Z.Dialog,{className:ge,overflowY:"hidden"},Le))))},Ke=ye=>{let{constrainTo:Le,closeModal:Ue,isOpen:Xe,onFilter:Fe,position:ht="center"}=ye;const[Ne,Ce]=(0,p.Z)(),{compositions:we,imageFamily:$e,orientations:Ot,query:Pt}=(0,c.useSelector)(o.cY),{trackApplyFilters:Ie,trackSearchAssetPicker:Bt}=(0,u.HK)(),[mt,rt]=(0,r.useState)(we),[ce,Re]=(0,r.useState)($e),[nt,st]=(0,r.useState)(Ot);(0,r.useEffect)(()=>{rt(we),Re($e),st(Ot)},[we,$e,Ot]);const vt=()=>{Ue(),rt(we),Re($e),st(Ot)},ze=bn=>{let{value:ir,isChecked:Zn}=bn;if((0,h.L$)(ir)){const $n={...mt,[ir]:Zn};rt($n)}},It=bn=>{let{value:ir}=bn;(0,h.QV)(ir)&&Re(ir)},on=bn=>{let{value:ir,isChecked:Zn}=bn;if((0,h.eZ)(ir)){const $n={...nt,[ir]:Zn};st($n)}},Pn=(0,r.useMemo)(()=>!P()(we,mt)||!P()($e,ce)||!P()(Ot,nt),[we,$e,mt,ce,nt,Ot]),Yn=()=>{const bn={compositions:mt,imageFamily:ce,orientations:nt};Ie(bn),Bt({searchQuery:Pt,gettyFilters:bn,imageType:"premium"}),Fe(bn),vt()},Ln=()=>{Ie(g.wB),Bt({searchQuery:Pt,gettyFilters:g.wB,imageType:"premium"}),Fe(g.wB)};return r.createElement(Be,{constrainTo:Le,isOpen:Xe,onRequestClose:vt,position:ht},r.createElement(y.Z.Renderer,{render:{default:bn=>r.createElement(Ee,d()({},bn,{ref:Ne})),"mobile-0":bn=>r.createElement(fe,d()({},bn,{ref:Ne}))},hasChanges:Pn,onApplyFilters:Yn,onRequestClose:vt,onResetFilters:Ln}),r.createElement(y.Z.Renderer,{render:{default:bn=>r.createElement(i.Z,d()({},bn,{px:6,maxHeight:"374px"})),"mobile-0":bn=>{let{children:ir,...Zn}=bn;return r.createElement(i.Z,d()({},Zn,{px:3,pb:2,maxHeight:`calc(100vh - ${Ce.height}px)`}),r.createElement(_.Z.Title,{mt:0},r.createElement(C.T,{project:"assetManagement.assetPicker"},"Filter")),ir)}},width:"100%",overflowX:"hidden",overflowY:"auto"},r.createElement(me,d()({},B,{isChecked:bn=>bn===ce,onChange:It})),r.createElement(me,d()({mt:6},W,{isChecked:bn=>(0,h.L$)(bn)&&mt[bn],onChange:ze})),r.createElement(me,d()({mt:6},pe,{isChecked:bn=>(0,h.eZ)(bn)&&nt[bn],onChange:on}))))},He=ye=>{let{constrainTo:Le,onFilter:Ue}=ye;const[Xe,Fe]=(0,r.useState)(),[ht,Ne]=(0,r.useState)(!1),{trackOpenSearchFilterDropdown:Ce}=(0,u.HK)(),we=(0,c.useSelector)(o.r6),$e=()=>{Ne(!0),Ce({gettyFilters:we})};return r.createElement(r.Fragment,null,r.createElement(Ke,{closeModal:()=>Ne(!1),position:Xe,constrainTo:Le,isOpen:ht,onFilter:Ue}),r.createElement(i.Z,{ref:Fe},r.createElement(n.h,{onClick:$e,"data-test":"open-filter-button","aria-label":"open-filter-button",type:"button"},r.createElement(a.Z,null))))}},241441:function(b,l,e){"use strict";e.d(l,{$:()=>h});var r=e(160553),o=e.n(r),n=e(174161),a=e(443580),i=e(732574),c=e.n(i),u=e(641380);const f=[{label:(0,u.t)("Most Popular",null,{project:"assetManagement.assetPicker"}),value:c().MOST_POPULAR},{label:(0,u.t)("Best Match",null,{project:"assetManagement.assetPicker"}),value:c().BEST_MATCH},{label:(0,u.t)("Newest",null,{project:"assetManagement.assetPicker"}),value:c().NEWEST}],d=g=>Object.values(c()).some(_=>_===g),h=g=>{let{sortOrder:_,handleSort:p,...y}=g;return n.createElement(a.Z,o()({},y,{options:f,value:_,onChange:O=>{d(O)&&O!==_&&p(O)}}))}},941159:function(b,l,e){"use strict";e.d(l,{B:()=>i});var r=e(174161),o=e(218324),n=e(818325);const{reuseLicensedAsset:a}=o,i=c=>{let{onChooseImageUrl:u,onGettyAssetSelected:f=()=>{}}=c;const{licensedAssetsBySourceId:d}=n.I(),h=(0,r.useCallback)(_=>{a({licensedAsset:_,onChooseImageUrl:u})},[u]);return{onChooseImageToPreview:(0,r.useCallback)(_=>{const p=d[_.assetId];if(p){h(p);return}const y={licensedAssetPreview:_,url:_.urlWatermarkComp};u({data:y}),f(_.assetId)},[h,d,u,f])}}},757221:function(b,l,e){"use strict";e.d(l,{j2:()=>I,hx:()=>L});var r=e(392338),o=e(174161),n=e(263456),a=e(280686),i=e(91039),c=e(848855),u=e(62630),f=e(696049),d=e(456903),h=e(331474),g=e(556353),_=e(607710),p=e(641380),y=e(914246),O=e(994336),P=e.n(O);const A=W=>{let F=W||"";if(!W){const k=P().get("ss_i18n");if(k){const x=JSON.parse(k),{currency:M}=x;F=M}else F="USD"}const G={USD:10,EUR:9,GBP:8,AUD:14}[F];try{return(0,p.lb)(new f.default(G,F),{trimZeroFractions:!0})}catch{return"$10"}};var S=e(850882);const T=W=>{const F=parseInt(W.maxImageResolutionWidth,10),G=parseInt(W.maxImageResolutionHeight,10);return{...W,assetId:W.imageId,dimensions:{width:F,height:G},dimensionsString:`${F}x${G}`,imageSrc:W.urlComp,assetType:S.h.IMAGE,assetUrl:W.urlComp,createdAt:"",fileExtension:"",filename:"",fileSize:""}},s=W=>W.map(T),v=W=>Object.keys(W).filter(G=>typeof W[G]<"u").map(G=>{const k=W[G];return typeof k=="object"?Object.keys(k).filter(x=>k[x]).map(x=>`${G}[]=${x}`).join("&"):Array.isArray(k)?k.map(x=>`${G}[]=${x}`).join("&"):`${G}=${k}`}).join("&"),m=(W,F)=>{const G=`${n.TK}api/getty/`,k=v({...W,query:(0,a.Z)(W.query)}),x=(0,y.Z)(F);return d.default.get(`${G}search?${k}&pageSize=${x}`)},E=()=>d.default.get(`${n.TK}api/licensed-assets/price-with-tax?source=1`),I=W=>{let{devOverridePrice:F}=W;const[G,k]=(0,o.useState)(A);return(0,o.useEffect)(()=>{const x=E;(async()=>{try{const{data:B}=await x();k((0,p.lb)(f.default.fromJson(B),{trimZeroFractions:!0}))}catch(B){console.error(B)}})()},[F]),G},L=W=>{let{devOverrideSearch:F}=W;const[G,k]=(0,o.useState)([]),[x,M]=(0,o.useState)(!0),{platform:B}=(0,y.w)(),R=(0,h.useSelector)(i.cY),U=(0,h.useSelector)(i.I6),{getState:j}=(0,h.useStore)(),$=(0,h.useDispatch)(),{trackSearchAssetPicker:ee,trackSortAssetPicker:te}=(0,_.HK)(),ie=(0,o.useCallback)(async()=>{const me=(0,i.cY)(j()),re=m.bind(null,me,B);try{const{data:he}=await re(),Ee=s(he.results);if(M(he.hasNextPage),!Ee)throw new Error("EMPTY_RESPONSE");k(fe=>he.hasPreviousPage?[...fe,...Ee]:Ee),$((0,c.IP)({viewState:Ee.length?u.f.LOADED:u.f.NO_SEARCH_RESULTS}))}catch(he){console.error(he),$((0,c.IP)({viewState:u.f.LOAD_ERROR}))}},[F,$,j,B,k]),[ne]=(0,g.Z)(ie,100);return(0,o.useEffect)(()=>{[u.f.LOADING,u.f.LOADING_NEXT_PAGE].includes(U)&&x&&ne()},[ne,x,U]),{gettyData:G,handleSearch:me=>{M(!0),ee({searchQuery:me,gettyFilters:{compositions:R.compositions,imageFamily:R.imageFamily,orientations:R.orientations},imageType:"premium"}),$((0,c.E)({search:me}))},handleSort:me=>{M(!0),te({type:me,imageType:"premium"}),$((0,c.iA)({sortOrder:me}))},handleFilter:me=>{M(!0),$((0,c.nX)(me))},handleOnNearBottom:()=>{x&&$((0,c.Yo)())}}}},694979:function(b,l,e){"use strict";e.d(l,{Z:()=>cn});var r={};e.r(r),e.d(r,{Provider:()=>i.z,useLicensedAssetContext:()=>i.I});var o=e(160553),n=e.n(o),a=e(174161),i=e(818325),c=e(728277),u=e(94446),f=e(419748),d=e(353134),h=e(933474),g=e(707420),_=e(908262),p=e(62630),y=e(850882),O=e(475478),P=e(116006),C=e(331474),A=e(607710),S=e(392338),T=e(9536),s=e(608284),v=e(387152),m=e(297761),E=e(136382),I=e(412166),L=e(719484),W=e(47932),F=e(880722),G=e(777824);const k=(0,F.t)("Video Storage",null,{project:"assetManagement.assetCommon"}),x=or=>{let{progress:qn,timeRemaining:Hr,platform:fo="desktop"}=or;const Jr=fo==="mobile",{space:ro}=(0,W.F)();return a.createElement(m.Z,{marginLeft:"3",marginRight:Jr?`-${ro[2]}`:null,variant:"quiet",minWidth:"24%"},a.createElement(m.Z.Body,{sx:{paddingRight:Jr?null:0}},a.createElement(I.Z,{mb:2,alignItems:"center"},a.createElement(L.Z.Label,{sx:{flexGrow:1,marginRight:ro[3]}},k),a.createElement(I.Z,{alignItems:"center"},a.createElement(L.Z.Label,null,(0,G.po)({secondsValue:Hr})))),a.createElement(E.Z,{value:qn,backgroundColor:"blue.100",color:"white"})))};var M=e(738755),B=e(270593),R=e(443017),U=e(914246);const j=or=>{let{onChooseAssetIds:qn,onChooseImageUrl:Hr,onLibraryAssetSelected:fo=()=>{}}=or;const{setCloseBarComponent:Jr}=(0,R.d)(),{licensedAssetsByAssetId:ro}=i.I(),Xt=(0,C.useSelector)(u.S),{platform:Je}=(0,U.w)(),At=(0,C.useSelector)(T.M2),xt=(0,C.useSelector)(T.uv),Qt=(0,C.useSelector)(u.xF),qt=xt!==s.Z.DEV_PROXY?v.o(At,xt):{usage:{progress:0,timeRemaining:0},refreshUsage:()=>{}},{usage:Te,refreshUsage:Gt}=qt;(0,a.useEffect)(()=>{Jr(()=>{const{progress:Wt,timeRemaining:Pe}=Te||{};return Xt===y.h.VIDEO?a.createElement(x,{progress:Wt,timeRemaining:Pe,platform:Je}):null})},[Te,qt]);const un=(0,a.useCallback)(Wt=>M.Z(Wt,ro),[ro]),Vt=(0,a.useCallback)(Wt=>{B.Z({licensedAsset:Wt,onChooseImageUrl:Hr})},[Hr]);return{handleLibraryAssetSelected:(0,a.useCallback)((Wt,Pe)=>{const{assetIds:xe,licensedAssets:Ae}=un(Wt),qe=Pe.filter(wt=>xe.includes(wt.assetId)).map(wt=>({...wt,displayIndex:Wt.indexOf(wt.assetId)}));xe.length&&qn({assetIds:xe,assets:qe}),Ae.length&&Ae.forEach(wt=>{Vt({...wt,displayIndex:Wt.indexOf(wt.assetRefId)})}),fo({assetIds:xe,assets:Pe,folderId:Qt})},[Qt,un,Vt,qn,fo]),onAssetDeleted:Gt}};var $=e(327459),ee=e(923778),te=e(300958),ie=e(523824),ne=e(857029),pe=e(314499),oe=e(651448),q=e(408836),J=e(881707),me=e(103195),re=e(641380),he=e(19427),Ee=e(900486),fe=e(213865),H=e(885630),z=e(224353),_e=e(600994);const ge=or=>{let{ariaLabel:qn,children:Hr,dataTest:fo,isDisabled:Jr=!1,onClick:ro,tooltipContent:Xt}=or;const[Je,At]=(0,a.useState)(null),[xt,Qt]=(0,a.useState)(!1),qt=()=>Qt(!1),Te=()=>Qt(!0);return a.createElement(a.Fragment,null,a.createElement(J.Z,{sx:{position:"relative"}},a.createElement(_e.Z.Primary,{"aria-label":qn||null,"data-test":fo||null,ref:At,disabled:Jr,size:1,onClick:ro},Hr),Jr&&a.createElement(J.Z,{sx:{cursor:"not-allowed",position:"absolute",width:"100%",height:"100%",top:0,left:0},onMouseOver:Te,onMouseOut:qt,onFocus:Te,onBlur:qt})),Xt&&a.createElement(z.Z,{anchor:Je,isOpen:xt,position:"top",style:{maxWidth:"242px"}},Xt))},Be=or=>{let{addButtonLabel:qn,onChooseAssetIds:Hr,isDisabled:fo,errorMessage:Jr,children:ro}=or;const{space:Xt}=(0,W.F)(),{platform:Je}=(0,H.i)(fe.breakpoints),At=Je==="mobile"?ie.p7:ie.V7,xt=(0,C.useSelector)(Ee.vv),Qt=(0,$.s)();return Qt.length>0?a.createElement(J.Z,{"data-test":"asset-bar",bottom:"0",left:"0",position:"absolute",zIndex:1,sx:{width:`calc(100% - ${Xt[At]})`}},a.createElement(I.Z,{py:2,pl:At,justifyContent:"space-between",background:"white"},a.createElement(I.Z,{alignItems:"center"},ro),a.createElement(ge,{isDisabled:fo,tooltipContent:Jr,onClick:()=>Hr(xt,Qt),dataTest:"add-image-button",ariaLabel:"add-image-button"},qn))):null},Ke=(or,qn)=>{switch(or){case y.h.VIDEO:return(0,re._6)({one:"video",other:"videos"},qn?2:1,null,{notes:'Used as a variable asset type in other strings. Ex. "Maximum number of videos have been added" or "Only 1 video can be added".',project:"assetManagement.assetPicker"});case y.h.IMAGE:return(0,re._6)({one:"image",other:"images"},qn?2:1,null,{notes:'Used as a variable asset type in other strings. Ex. "Maximum number of images have been added" or "Only 1 image can be added".',project:"assetManagement.assetPicker"})}return(0,re._6)({one:"file",other:"files"},qn?2:1,null,{notes:'Used as a variable asset type in other strings. Ex. "Maximum number of files have been added" or "Only 1 file can be added".',project:"assetManagement.assetPicker"})},ye=or=>{let{assetType:qn,addLimit:Hr}=or;return Hr<=0?(0,re.t)("Maximum number of {formattedAssetType} have been added",{formattedAssetType:Ke(qn,!0)},{project:"assetManagement.assetPicker"}):(0,re.t)("Only {addLimit} {formattedAssetType} can be added",{addLimit:Hr,formattedAssetType:Ke(qn,Hr>1)},{project:"assetManagement.assetPicker",notes:'plural: "Only 3 videos can be added"'})},Le=250,Ue=(0,re.t)("Only {addLimit} files can be added at a time",{addLimit:Le},{project:"assetManagement.assetPicker"}),Xe={isError:!1,errorMessage:""},Fe=()=>Xe,ht=or=>{let{addButtonLabel:qn=(0,re.t)("Add",null,{project:"assetManagement.assetPicker"}),children:Hr,collectionSize:fo=0,isAddDisabled:Jr=Fe,licensedAssetsByAssetId:ro,onChooseAssetIds:Xt,upperLimitForCollection:Je=1}=or;const At=(0,$.s)(),[xt,Qt]=(0,a.useState)(Xe),qt=(0,C.useSelector)(u.S),Te=(0,a.useCallback)(()=>{let Gt="",un=!1;return At.forEach(Vt=>{if(un)return;const Dn=Jr(Vt,ro)||{};Dn.isError&&(Gt=Dn.errorMessage,un=Dn.isError)}),un?{errorMessage:Gt,isError:un}:void 0},[Jr,ro,At]);return(0,a.useEffect)(()=>{const Gt=Je-fo||1;if(At.length>Gt){Qt({isError:!0,errorMessage:ye({assetType:qt,addLimit:Gt})});return}if(At.length>Le){Qt({isError:!0,errorMessage:Ue});return}const un=Te();Qt(un||Xe)},[fo,Te,qt,At,Qt,Je]),a.createElement(Be,{isDisabled:xt.isError,errorMessage:xt.errorMessage,onChooseAssetIds:Xt,addButtonLabel:qn},Hr)};var Ne=e(936609);const we=or=>{let{onClick:qn}=or;return a.createElement(_e.Z.Danger,{size:1,onClick:qn,dataTest:"delete-asset-button",ariaLabel:"delete-asset-button"},a.createElement(re.T,{project:"assetManagement.assetPicker"},"Delete"))};var $e=e(728487),Ot=e(439504);const Ie=or=>{let{onClick:qn}=or;return a.createElement($e.h,{onClick:qn,"data-test":"delete-asset-button","aria-label":"delete-asset-button"},a.createElement(Ot.Z,{color:"red.300"}))},mt=or=>a.createElement(Ne.Z.Renderer,n()({},or,{render:{default:we,"mobile-0":Ie}}));var rt=e(481342),ce=e(987690),Re=e(851397),nt=e(996621);const st=or=>{let{onRequestClose:qn}=or;return a.createElement(J.Z,{mx:2},a.createElement(_e.Z.Tertiary,{ml:2,size:"large",onClick:qn},a.createElement(re.T,{project:"assetManagement.assetPicker"},"Close")))},vt=or=>{let{asset:qn,entryOrigin:Hr,onAssetDetailView:fo,onRequestClose:Jr}=or;const[ro,Xt]=(0,a.useState)(!0);return a.createElement(a.Fragment,null,a.createElement(st,{onRequestClose:()=>{Xt(!1),Jr()}}),qn?a.createElement(Re.k,{asset:qn}):null,a.createElement(nt.V,{asset:qn,entryOrigin:Hr,isOpen:ro,onAssetDetailView:fo,sx:{px:4}}))},ze=or=>{let{children:qn,onFolderIdChange:Hr}=or;const{setExpandedAssetContents:fo}=(0,ce.M)(),{trackViewFileDetails:Jr}=(0,A.HK)(),ro=Xt=>{let{folderDetails:Je}=Xt;const{folderId:At}=Je;return At?()=>{Hr==null||Hr({folderId:At,folderEntryOrigin:"root-menu"})}:()=>{}};return a.createElement(rt.J,{onAssetEllipsisClick:Xt=>{let{assetDetails:Je,entryOrigin:At,imageType:xt}=Xt;return fo({content:Qt=>{let{onRequestClose:qt}=Qt;return a.createElement(vt,{asset:Je,entryOrigin:At,onAssetDetailView:Jr,onRequestClose:qt})},asset:Je,imageType:xt}),()=>{}},onFolderSingleClick:ro,onFolderDoubleClick:ro},qn)};var It=e(383054),on=e(207363),Pn=e(469906),Yn=e(792552),Ln=e(488609),bn=e(34956);const Zn=()=>{const{trackChangeAssetPickerView:or}=(0,A.HK)();return a.createElement(bn.G,{onLayoutTypeChange:qn=>{or({displayLayout:qn})}})},$n=or=>{let{imageType:qn}=or;const{layoutType:Hr}=(0,O.v)(),{trackSearchAssetPicker:fo,trackSortAssetPicker:Jr}=(0,A.HK)(),ro=(0,C.useDispatch)(),Xt=(0,C.useSelector)(u.c0),[Je,At]=(0,a.useState)(Xt),xt=Qt=>{ro((0,f.F5)({search:Qt})),fo({searchQuery:Qt})};return a.createElement(It.E,{initialSearchValue:Je,onSubmit:Qt=>{xt(Qt),At(Qt)}},a.createElement(I.Z,null,a.createElement(Ne.Z.Renderer,{render:{default:()=>Hr===on.Z.GridCard?a.createElement(a.Fragment,null,a.createElement(Pn.Z,{onChange:Jr,imageType:qn}),a.createElement(Yn.p,{mr:1})):null,"mobile-0":()=>a.createElement(a.Fragment,null,a.createElement(Pn.Z,null),a.createElement(I.Z,{alignItems:"end",sx:{flex:1}},a.createElement(Ln.Z,null)))}}),a.createElement(Zn,null)))},Rn=or=>{let{assetLibrary:qn,folderIds:Hr,collectionSize:fo,onChooseAssetIds:Jr,title:ro=(0,re.t)("My Library",null,{project:"assetManagement.assetPicker"}),shortTitle:Xt=(0,re.t)("Library",null,{project:"assetManagement.assetPicker"}),viewState:Je,showDelete:At=!1,isAddDisabled:xt,licensedAssetsByAssetId:Qt,onNearBottom:qt,onFolderIdChange:Te,upperLimitForCollection:Gt,...un}=or;const{trackAddAssetPickerAsset:Vt,trackSortAssetPicker:Dn,trackDeleteRequestAssetPickerAsset:Wt,trackClickFolderNotFoundCTA:Pe}=(0,A.HK)(),xe=(0,C.useSelector)(u.xF),Ae=(0,$.s)(),[qe]=(0,h.ZU)({fixedCacheKey:ee.sN}),wt=()=>{qe({assets:Ae,deletionOrigin:"bulk-action-toolbar"}),Wt({assetId:Ae.length===1&&Ae[0].assetId||null,contentType:(0,te.J)(Ae),numAssets:Ae.length})},kt=(0,C.useSelector)(u.xF),{data:ut,isSuccess:Ft}=(0,h.cQ)({folderId:kt??""},{skip:!kt}),tn=(0,a.useMemo)(()=>Ft&&kt?ut.pathToFolder:[],[Ft,kt,ut]),In=(0,C.useSelector)(u.c0),{platform:rr}=(0,U.w)();return a.createElement(he.s,n()({id:me.G.MyLibrary,librarySource:"library-panel",title:ro,shortTitle:Xt},un),a.createElement(J.Z,{mb:rr==="mobile"?0:4},a.createElement($n,{imageType:"my-library"})),kt&&!In?a.createElement(I.Z,{ml:ie.Yq,mb:2},a.createElement(ne.Y,{pathToFolder:tn,onFolderClick:Te})):null,a.createElement(ze,{onFolderIdChange:Te},a.createElement(pe.t,{assetLibrary:qn,folderIds:Hr,currentFolderId:xe,viewState:Je,onNearBottom:qt,onChangeSort:Dn,LoadedView:oe.o,onFolderIdChange:Te,showSectionHeaders:!!Hr.length,onFolderNotFoundCTAClick:Pe,imageType:"my-library"})),a.createElement(ht,{collectionSize:fo,isAddDisabled:xt,licensedAssetsByAssetId:Qt,onChooseAssetIds:(Sr,Yr)=>{Jr(Sr,Yr),Vt({assetIds:Sr,assets:Yr,folderId:kt})},upperLimitForCollection:Gt},a.createElement(q.S,null),At?a.createElement(mt,{onClick:wt}):null))},{useLicensedAssetContext:jn}=r,Tn=or=>or&&or.length===0,cn=or=>{var qn;let{assetLibraryId:Hr,isAddDisabled:fo,onChooseAssetIds:Jr,onChooseImageUrl:ro,onLibraryAssetSelected:Xt,...Je}=or;const{isAssetDeletionEnabled:At}=(0,c.d)(),{licensedAssetsByAssetId:xt}=jn(),{handleLibraryAssetSelected:Qt}=j({onChooseAssetIds:Jr,onChooseImageUrl:ro,onLibraryAssetSelected:Xt}),{trackViewAssetPicker:qt,trackViewDeleteModal:Te,trackViewFolderNotFound:Gt}=(0,A.HK)(),un=(0,C.useSelector)(u.S),Vt=(0,C.useDispatch)(),Dn=rr=>{let{folderId:Sr,folderEntryOrigin:Yr}=rr;Vt((0,f.vt)({folderId:Sr,folderEntryOrigin:Yr})),Vt((0,f.F5)({search:""}))},Wt=(0,d.$2)(),{data:Pe,error:xe,isFetching:Ae}=(0,h.KX)(Wt);(0,g.W)();const qe=(Pe==null?void 0:Pe.assets)||[],wt=(Pe==null||(qn=Pe.folders)===null||qn===void 0?void 0:qn.map(rr=>rr.folderId))||[],kt=Pe==null?void 0:Pe.hasNextPage,ut=(0,a.useCallback)(()=>{kt&&Vt((0,f.gG)())},[Vt,kt]),Ft=(0,C.useSelector)(u.xF),tn=(0,a.useMemo)(()=>xe?"errorCode"in xe&&(0,_.WV)(xe.errorCode)?p.f.FOLDER_NOT_FOUND:p.f.LOAD_ERROR:Pe?Wt.scrollPage>1&&Ae?p.f.LOADING_NEXT_PAGE:!Pe.folders.length&&!Pe.assets.length?Wt.search?p.f.NO_SEARCH_RESULTS:p.f.LOADED_EMPTY:p.f.LOADED:p.f.LOADING,[Pe,xe,Wt,Ae]);(0,a.useEffect)(()=>{tn===p.f.LOADED?qt({numAssets:(Pe==null?void 0:Pe.assets.length)||0}):tn===p.f.FOLDER_NOT_FOUND&&Gt({folderId:Ft})},[Pe,tn,qt,Ft,Gt]);const In=(0,a.useMemo)(()=>un===y.h.IMAGE&&At||un===y.h.VIDEO,[un,At]);return a.createElement(O.u,null,a.createElement(Rn,n()({},Je,{onChooseAssetIds:Qt,assetLibrary:qe,folderIds:wt,viewState:tn,showDelete:In,assetLibraryId:Hr,licensedAssetsByAssetId:xt,isAddDisabled:fo,primaryAssetType:un,onNearBottom:ut,onFolderIdChange:Dn})),a.createElement(P.j,{onDeleteModalViewed:Te,notificationVariant:"picker"}))}},19427:function(b,l,e){"use strict";e.d(l,{s:()=>m});var r=e(174161),o=e(688714),n=e(160553),a=e.n(n),i=e(725538),c=e(987690),u=e(936609),f=e(158577),d=e(47932);const{OVERLAY_CLASSNAME:h}=f,_=E=>{let{children:I,constrainTo:L,...W}=E;const{space:F}=(0,d.F)();return r.createElement(i.Z.Position,{position:"top-right",constrainTo:L,constrainOffset:{x:-parseInt(F[6],10),y:parseInt(F[6],10)}},r.createElement(i.Z.Dialog,a()({className:h,sx:{display:"flex",flexDirection:"column",width:"sizes.750"}},W),I))},{OVERLAY_CLASSNAME:p}=f,O=E=>{let{children:I,...L}=E;const{space:W}=(0,d.F)(),F=parseInt(W[3],10),G=parseInt(W[6],10);return r.createElement(i.Z.Position,{position:"center"},r.createElement(i.Z.Dialog,a()({className:p,sx:{display:"flex",flexDirection:"column",width:`calc(100vw - ${F*2}px)`,maxHeight:`calc(100vh - ${G*2}px)`}},L),I))},C=E=>r.createElement(u.Z.Renderer,a()({render:{default:_,"mobile-0":O}},E)),A=E=>{let{constrainTo:I,...L}=E;const{ExpandedAssetContents:W,clearExpandedAssetContents:F}=(0,c.M)(),G=!!W,k=x=>{F(x)};return r.createElement(i.Z.Transition,null,G&&r.createElement(i.Z,{onRequestClose:()=>k()},r.createElement(i.Z.Overlay,null),r.createElement(C,{constrainTo:I,"data-test":"expanded-asset-modal"},r.createElement(W,a()({},L,{onRequestClose:k})))))};var S=e(392338),T=e(607710),s=e(95598);const v=E=>{let{children:I}=E;const[L,W]=(0,r.useState)(),{trackCloseFileDetails:F,trackOpenAssetOverflow:G}=(0,T.HK)(),k=M=>{var B;W(M);let R=M.asset.assetId;(B=M.imageType)!==null&&B!==void 0&&B.includes("generated")&&(R=M.asset.filename),G({contentType:M.asset.assetType,imageType:M.imageType,objectId:R})},x=M=>{if(L&&!(M!=null&&M.skipTracking)){var B;let R=L.asset.assetId;(B=L.imageType)!==null&&B!==void 0&&B.includes("generated")&&(R=L.asset.filename),F({imageType:L.imageType,objectId:R})}W(void 0)};return r.createElement(s.d.Provider,{value:{clearExpandedAssetContents:x,ExpandedAssetContents:L==null?void 0:L.content,setExpandedAssetContents:k}},I)},m=E=>{let{children:I,containerNode:L,id:W,isPanelSelected:F,librarySource:G,onRegister:k,shortTitle:x,title:M}=E;return(0,r.useEffect)(()=>{k==null||k({id:W,title:M,shortTitle:x})},[W,x,M,k]),F!=null&&F(W)?r.createElement(v,null,r.createElement(o.H.Provider,{value:{librarySource:G}},I,r.createElement(A,{constrainTo:L}))):null}},387642:function(b,l,e){"use strict";e.d(l,{J:()=>M});var r=e(160553),o=e.n(r),n=e(174161),a=e(91039),i=e(160467),c=e(383054),u=e(523824),f=e(412166),d=e(936609),h=e(331474),g=e(209034),_=e(494475),p=e(663429),y=e(103195),O=e(607710),P=e(757221),C=e(241441),A=e(208065),S=e(641380),T=e(19427),s=e(636759),v=e(914246),m=e(314499),E=e(419835),I=e(941159),L=e(706018);const W=B=>{let{devOverridePrice:R,gettyData:U,handleOnNearBottom:j,onChooseImageUrl:$,onGettyAssetSelected:ee}=B;const te=(0,P.j2)({devOverridePrice:R}),ie=(0,h.useSelector)(a.I6),{onChooseImageToPreview:ne}=(0,I.B)({onChooseImageUrl:$,onGettyAssetSelected:ee});return n.createElement(L.o,{localizedPrice:te,onChooseImageToPreview:ne},n.createElement(m.t,{assetLibrary:U,viewState:ie,onNearBottom:j,LoadedView:E.a,imageType:"premium"}))};var F=e(234433),G=e(666357);const k=B=>{let{handleOnNearBottom:R,onChooseImageUrl:U,onUnsplashAssetSelected:j,unsplashData:$}=B;const{onChooseUnlicensedAsset:ee}=(0,G.U)({onChooseImageUrl:U,onUnsplashAssetSelected:j}),te=(0,h.useSelector)(i.a_);return n.createElement(F.F,{onChooseUnlicensedAsset:ee},n.createElement(m.t,{assetLibrary:$,viewState:te,onNearBottom:R,LoadedView:E.a,imageType:"free"}))},x=[{label:(0,S.t)("Free",null,{project:"assetManagement.assetPicker",notes:"label for free images tab in asset picker"}),value:"free"},{label:(0,S.t)("Premium",null,{project:"assetManagement.assetPicker",notes:"label for premium images tab in asset picker "}),value:"premium"}],M=B=>{let{gettyProps:R,unsplashProps:U,setTrackingImageType:j,...$}=B;const[ee,te]=(0,n.useState)("free"),[ie,ne]=(0,n.useState)(""),pe=(0,h.useSelector)(a.cY),oe=(0,h.useSelector)(i.GO),q=(0,n.useMemo)(()=>{var Le;return!!((Le=$.isPanelSelected)!==null&&Le!==void 0&&Le.call($,y.G.StockImages))},[$]);(0,n.useEffect)(()=>{q||te("free")},[q]);const{trackToggleImageType:J}=(0,O.HK)(),{handleSearch:me,handleSort:re,handleFilter:he,...Ee}=(0,P.hx)({devOverrideSearch:R.devOverrideSearch}),{handleSearch:fe,...H}=(0,s.O)({devOverrideSearch:U.devOverrideSearch}),z=(0,n.useCallback)(Le=>{te(Le),J({imageType:Le}),ne(Le==="free"?oe.query:pe.query),j==null||j({imageType:Le})},[pe.query,oe.query,J,j]),_e=(0,n.useMemo)(()=>n.createElement(_.C,{currentValue:ee,onChange:z,options:x}),[ee,z]),ae=(0,n.useMemo)(()=>ee==="premium"?n.createElement(n.Fragment,null,n.createElement(C.$,{sortOrder:pe.sortOrder,handleSort:re}),n.createElement(p.x,null),n.createElement(A.B,{onFilter:he,constrainTo:R.containerNode})):null,[ee,R.containerNode,he,re,pe.sortOrder]),{platform:ge}=(0,v.w)(),Be=(0,n.useMemo)(()=>{if(ee==="premium"&&ge==="mobile")return{mb:0}},[ge,ee]),Ke=Le=>{ee==="free"?fe(Le):me(Le)},He=()=>{Ke(""),ne("")},ye=(0,n.useMemo)(()=>["free","premium"].map(Le=>Le===ee?n.createElement(c.E,{key:Le,sx:Be,initialSearchValue:ee==="free"?oe.query:pe.query,onClear:He,onSubmit:Ke},n.createElement(f.Z,{minHeight:44},n.createElement(d.Z.Renderer,{render:{default:()=>n.createElement(n.Fragment,null,n.createElement(p.x,null),ae,n.createElement(p.x,null),_e),"mobile-0":()=>n.createElement(n.Fragment,null,n.createElement(p.x,null),_e)}}))):null),[ae,pe.query,He,Ke,Be,ee,_e,oe.query]);return n.createElement(T.s,o()({id:y.G.StockImages,librarySource:"stock-images",title:(0,S.t)("Stock Images",null,{project:"assetManagement.assetPicker"})},$),ye,n.createElement(d.Z.Renderer,{render:{default:()=>null,"mobile-0":()=>ae?n.createElement(f.Z,{mx:u.Yq},ae):null}}),n.createElement(g.O,{source:ee==="free"?"unsplash":"getty"}),ee==="free"?n.createElement(k,o()({},U,H)):n.createElement(W,o()({},R,Ee)))}},234433:function(b,l,e){"use strict";e.d(l,{F:()=>i});var r=e(174161),o=e(481342),n=e(987690),a=e(124645);const i=c=>{let{children:u,onChooseUnlicensedAsset:f}=c;const{setExpandedAssetContents:d}=(0,n.M)();return r.createElement(o.J,{onAssetSingleClick:h=>{let{assetDetails:g,imageType:_}=h;return d({content:p=>{let{onRequestClose:y}=p;return r.createElement(a.Z,{asset:g,onChooseUnlicensedAsset:f,onRequestClose:y})},asset:g,imageType:_}),()=>{}}},u)}},124645:function(b,l,e){"use strict";e.d(l,{Z:()=>A});var r=e(174161),o=e(575550),n=e(728487),a=e(868192),i=e(199025),c=e(903638),u=e(343701),f=e(412166),d=e(719484),h=e(881707),g=e(600994),_=e(47932),p=e(607710),y=e(195311),O=e(641380);const P="https://unsplash.com/terms",A=S=>{let{asset:T,onChooseUnlicensedAsset:s,onRequestClose:v}=S;const{trackViewStockImageModal:m}=(0,p.HK)();(0,r.useEffect)(()=>{T&&m({callToAction:o.mQ.Add,imageType:"free",objectId:T.assetId})},[T,m]);const{colors:E,fontSizes:I}=(0,_.F)(),L={fontSize:I[0],lineHeight:"11px",letterSpacing:"0.75px",color:E.gray[300]},W=r.createElement("a",{href:P,target:"_blank",rel:"noopener noreferrer",style:L},r.createElement(O.T,{project:"assetManagement.assetPicker"},"Unsplash's Terms")),F=r.createElement("a",{href:a.THIRD_PARTY_IMAGES,target:"_blank",rel:"noopener noreferrer",style:L},r.createElement(O.T,{project:"assetManagement.assetPicker"},"Learn more"));return r.createElement(y.$,{asset:T,renderHeader:G=>r.createElement(i.Z,{ref:G,pl:4,pr:2,label:r.createElement(f.Z,null,r.createElement(d.Z.Body,{as:"a",href:T.artist.profileUrl,target:"_blank",css:{textDecoration:"none",borderWidth:"0px"}},T.artist.name)),description:r.createElement(f.Z,null,r.createElement(d.Z.Caption,{as:"a",href:T.artist.profileUrl,target:"_blank",css:{textDecoration:"none",borderWidth:"0px"}},`@${T.artist.username}`)),interiorPre:r.createElement(c.Z,{src:T.artist.photoUrl,sx:{clipPath:"circle(50%)"},alt:(0,O.t)("{name} Unsplash profile image",{name:T.artist.name},{project:"assetManagement.assetPicker"})}),interiorAccessory:r.createElement(n.h,{hasDivider:!1,onClick:k=>{k.stopPropagation(),v()}},r.createElement(u.Z,null))}),renderFooter:G=>r.createElement(h.Z,{ref:G,mx:4,mt:4,mb:3},r.createElement(g.Z,{width:"100%",mb:6,size:"large",onClick:()=>{s(T),v({skipTracking:!0})}},r.createElement(O.T,{project:"assetManagement.assetPicker"},"Add Image")),r.createElement(d.Z.Caption,{sx:{display:"block",...L}},r.createElement(O.T,{project:"assetManagement.assetPicker",termsLink:W,learnMore:F},'This image is provided by a third party called Unsplash; it is not provided by Squarespace. By clicking "Add Image", you are agreeing to {termsLink} and you understand that you are publishing the image and are responsible for it. {learnMore}')))})}},666357:function(b,l,e){"use strict";e.d(l,{U:()=>c});var r=e(174161),o=e(218324),n=e(818325),a=e(607710);const{reuseLicensedAsset:i}=o,c=u=>{let{onChooseImageUrl:f,onUnsplashAssetSelected:d=()=>{}}=u;const{trackAddAssetPickerAsset:h}=(0,a.HK)(),{licenseAsset:g,licensedAssetsBySourceId:_}=n.I(),p=(0,r.useCallback)(O=>{i({licensedAsset:O,onChooseImageUrl:f})},[f]);return{onChooseUnlicensedAsset:(0,r.useCallback)(O=>{const P=_[O.assetId];if(P){p(P);return}g(O.assetId,O.urlDownload).then(C=>{f({data:C})}).catch(C=>{console.error(C)}),h({assetIds:[O.assetId],assets:[O]}),d(O.assetId)},[p,g,_,f,d,h])}}},636759:function(b,l,e){"use strict";e.d(l,{O:()=>A});var r=e(392338),o=e(174161),n=e(263456),a=e(414716),i=e(280686),c=e(160467),u=e(195945),f=e(62630),d=e(456903),h=e(331474),g=e(556353),_=e(607710),p=e(914246),y=e(850882);const O=S=>({artist:{profileUrl:S.artistProfileUrl,photoUrl:S.artistPhotoUrl,username:S.artistUsername,name:S.artist},assetId:S.imageId,imageSrc:S.urlPreview,dimensions:{width:S.maxImageResolutionWidth,height:S.maxImageResolutionHeight},urlDownload:S.urlDownload,assetType:y.h.IMAGE,assetUrl:S.urlDownload,createdAt:"",dimensionsString:"",fileExtension:"",filename:"",fileSize:""}),P=S=>S.map(O),C=(S,T)=>{const s=`${n.TK}api/unsplash/`,v=(0,a.I)({...S,query:(0,i.Z)(S.query)}),m=(0,p.Z)(T);return d.default.get(`${s}search?${v}&pageSize=${m}`)},A=S=>{let{devOverrideSearch:T}=S;const[s,v]=(0,o.useState)([]),[m,E]=(0,o.useState)(!0),{platform:I}=(0,p.w)(),{trackSearchAssetPicker:L}=(0,_.HK)(),W=(0,h.useSelector)(c.a_),F=(0,h.useDispatch)(),{getState:G}=(0,h.useStore)(),k=(0,o.useCallback)(async()=>{const R=(0,c.GO)(G()),U=C.bind(null,R,I);try{const{data:j}=await U(),$=P(j.results);if(E(j.hasNextPage),!$)throw new Error("EMPTY_RESPONSE");v(ee=>j.hasPreviousPage?[...ee,...$]:$),F((0,u.oB)({viewState:$.length?f.f.LOADED:f.f.NO_SEARCH_RESULTS}))}catch(j){console.error(j),F((0,u.oB)({viewState:f.f.LOAD_ERROR}))}},[T,F,I,G]),[x]=(0,g.Z)(k,100);return(0,o.useEffect)(()=>{[f.f.LOADING,f.f.LOADING_NEXT_PAGE].includes(W)&&m&&x()},[x,m,W]),{unsplashData:s,handleSearch:R=>{E(!0),L({searchQuery:R,imageType:"free"}),F((0,u.jj)({search:R}))},handleOnNearBottom:()=>{m&&F((0,u.$r)())}}}},663429:function(b,l,e){"use strict";e.d(l,{x:()=>c});var r=e(174161),o=e(792552),n=e(488609),a=e(412166),i=e(936609);const c=()=>r.createElement(i.Z.Renderer,{render:{default:()=>r.createElement(o.p,null),"mobile-0":()=>r.createElement(a.Z,{alignItems:"end",sx:{flex:1}},r.createElement(n.Z,null))}})},494475:function(b,l,e){"use strict";e.d(l,{C:()=>i});var r=e(174161),o=e(483824),n=e(412166),a=e(213865);const i=c=>{let{currentValue:u,onChange:f,options:d,sx:h}=c;const g={maxHeight:"sizes.175",minHeight:"sizes.175",span:{fontSize:a.fontSizes[3],letterSpacing:0,textTransform:"none",px:2}};return r.createElement(n.Z,{sx:{alignItems:"center",borderBottom:"1px solid",borderColor:"gray.800",pl:2,...h}},r.createElement(o.Z,{onChange:f,value:u,variant:"compact",sx:{maxHeight:"sizes.175"}},d.map(_=>{const{label:p,value:y}=_;return r.createElement(o.Z.Option,{key:p,label:p,value:y,sx:g},p)})))}},103195:function(b,l,e){"use strict";e.d(l,{G:()=>r});let r=function(o){return o.MyLibrary="my-library",o.StockImages="stock-images-panel",o.AIBackgrounds="ai-backgrounds",o.Getty="getty-panel",o.Unsplash="unsplash-panel",o}({})},501304:function(b,l,e){"use strict";e.d(l,{f:()=>o});var r=e(449230);const o={[r.J.GRADIENTS]:"generated-gradients",[r.J.IMAGES]:"generated-images",[r.J.PATTERNS]:"generated-patterns"}},641380:function(b,l,e){"use strict";e.d(l,{T:()=>u,_6:()=>S,lb:()=>O,t:()=>T});var r=e(555912),o=e(59794),n=e(134902);const a=(0,n.Z)(),i=new o.default(a),c=new r.default(a),{T:u,Plural:f,FormattedCurrency:d,FormattedNumber:h,FormattedDateTime:g,FormattedMoney:_}=i,{formatCurrency:p,formatCurrencyToParts:y,formatMoney:O,formatNumber:P,formatQuantity:C,getCurrencySymbol:A,pluralize:S,translate:T}=a,{formatIcuMessage:s}=c},134902:function(b,l,e){"use strict";e.d(l,{U:()=>c,Z:()=>i});var r=e(638204);const n="assetManagement.assetPicker";function a(u){return e(228191)(`./${n}.${u}.yaml`)}const{getI18nInstance:i,setI18nInstance:c}=(0,r.setupLibrary)(n,a)},45096:function(b,l,e){"use strict";e.r(l),e.d(l,{AssetPicker:()=>o.Z,EventTrackingContext:()=>U.tN,GettyAssetDetail:()=>k.Z,AIBackgroundsAssetDetail:()=>B.m,AssetPickerPanelID:()=>p.G,AIBackgroundsPanel:()=>M.Q,AssetPickerState:()=>R.Z,GettyPanel:()=>G,MyLibraryAPI:()=>j,MyLibraryPanel:()=>n.Z,StockImagesPanel:()=>x.J,UnsplashAssetDetail:()=>T.Z,UnsplashPanel:()=>S});var r=e(504729),o=e(606498),n=e(694979),a=e(160553),i=e.n(a),c=e(174161),u=e(160467),f=e(383054),d=e(314499),h=e(419835),g=e(331474),_=e(209034),p=e(103195),y=e(641380),O=e(19427),P=e(666357),C=e(636759),A=e(234433);const S=$=>{let{onChooseImageUrl:ee,onUnsplashAssetSelected:te,devOverrideSearch:ie,...ne}=$;const{onChooseUnlicensedAsset:pe}=(0,P.U)({onChooseImageUrl:ee,onUnsplashAssetSelected:te}),oe=(0,g.useSelector)(u.a_),q=(0,g.useSelector)(u.GO),{handleSearch:J,handleOnNearBottom:me,unsplashData:re}=(0,C.O)({devOverrideSearch:ie});return c.createElement(O.s,i()({id:p.G.Unsplash,librarySource:"unsplash-panel",shortTitle:(0,y.t)("Free",null,{project:"assetManagement.assetPicker"}),title:(0,y.t)("Free Images",null,{project:"assetManagement.assetPicker"})},ne),c.createElement(f.E,{initialSearchValue:q.query,onSubmit:J}),c.createElement(_.O,{source:"unsplash"}),c.createElement(A.F,{onChooseUnlicensedAsset:pe},c.createElement(d.t,{assetLibrary:re,onNearBottom:me,viewState:oe,LoadedView:h.a,imageType:"free"})))};var T=e(124645),s=e(91039),v=e(412166),m=e(663429),E=e(941159),I=e(757221),L=e(706018),W=e(208065),F=e(241441);const G=$=>{let{devOverridePrice:ee,devOverrideSearch:te,onChooseImageUrl:ie,onGettyAssetSelected:ne,...pe}=$;const{onChooseImageToPreview:oe}=(0,E.B)({onChooseImageUrl:ie,onGettyAssetSelected:ne}),q=(0,g.useSelector)(s.cY),J=(0,g.useSelector)(s.I6),me=(0,I.j2)({devOverridePrice:ee}),{gettyData:re,handleSearch:he,handleSort:Ee,handleFilter:fe,handleOnNearBottom:H}=(0,I.hx)({devOverrideSearch:te});return c.createElement(O.s,i()({librarySource:"getty-panel",id:p.G.Getty,title:(0,y.t)("Premium Images",null,{project:"assetManagement.assetPicker"}),shortTitle:(0,y.t)("Premium",null,{project:"assetManagement.assetPicker"})},pe),c.createElement(f.E,{initialSearchValue:q.query,onSubmit:he},c.createElement(v.Z,null,c.createElement(F.$,{sortOrder:q.sortOrder,handleSort:Ee}),c.createElement(m.x,null),c.createElement(W.B,{constrainTo:pe.containerNode,onFilter:fe}))),c.createElement(_.O,{source:"getty"}),c.createElement(L.o,{localizedPrice:me,onChooseImageToPreview:oe},c.createElement(d.t,{assetLibrary:re,viewState:J,onNearBottom:H,LoadedView:h.a,imageType:"premium"})))};var k=e(453315),x=e(387642),M=e(356841),B=e(643272),R=e(443017),U=e(607710);const j=r.b},95598:function(b,l,e){"use strict";e.d(l,{d:()=>o});var r=e(174161);const o=(0,r.createContext)(void 0)},987690:function(b,l,e){"use strict";e.d(l,{M:()=>n});var r=e(174161),o=e(95598);const n=()=>{const a=(0,r.useContext)(o.d);if(a)return a;throw new Error("To use ExpandedAssetContext, the component needs to be a child of ExpandedAssetContext.Provider.")}},914246:function(b,l,e){"use strict";e.d(l,{Z:()=>i,w:()=>n});var r=e(174161),o=e(936609);const n=()=>(0,r.useContext)(o.Z.Context),i=c=>c==="mobile"?30:75},228191:function(b,l,e){var r={"./assetManagement.assetPicker.en-US.yaml":"523447"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=228191},4731:function(b,l,e){"use strict";e.d(l,{Z:()=>ee});var r=e(160553),o=e.n(r),n=e(174161),a=e(936609),i=e(232574),c=e(224353),u=e(122003),f=e(412166),d=e(425629),h=e(719484),g=e(213865),_=e(737012),p=e.n(_),y=e(845136);const{addKeyboardListener:O}=i,P=.4,A=te=>{let{onClick:ie,IconComponent:ne,title:pe,subtitle:oe="",color:q=g.colors.gray[100],help:J,isFocused:me,isDisabled:re,dataTest:he,isNew:Ee=!1}=te;const fe=(0,n.useRef)(null),H=(0,n.useRef)(null),[z,_e]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{me&&fe.current&&fe.current.focus()},[fe==null?void 0:fe.current]),n.createElement(f.Z,o()({ref:fe,flexDirection:"column",width:"100%"},O(ie)),n.createElement(d.Z.Solid,{onClick:re?null:ie},n.createElement(f.Z,{pl:2,pr:2,py:2,justifyItems:"center",width:"100%","data-test":p()(he)},n.createElement(f.Z,{alignSelf:"center",alignContent:"center",mr:2,size:"sizes.150",sx:re?{opacity:P,pointerEvents:"none"}:void 0},n.createElement(ne,{color:q,width:"100%"})),n.createElement(f.Z,{flexDirection:"column",flexGrow:1,sx:re?{opacity:P,pointerEvents:"none"}:void 0},n.createElement(h.Z.Action,{color:q},pe),oe&&n.createElement(h.Z.Caption,null,Ee?n.createElement(h.Z,{as:"span",color:"gray.100",fontWeight:"semibold"},"New \xB7"):""," ",oe)),!re&&J&&n.createElement(f.Z,{ref:H,size:"sizes.150",alignSelf:"center",alignContent:"center",sx:{position:"absolute",right:2}},n.createElement(u.Z,{onClick:ae=>{ae.stopPropagation(),_e(!z)}}),n.createElement(c.Z,{isOpen:z,anchor:H==null?void 0:H.current,position:"top-end",margin:"6",mr:-2,mb:2},J)),re&&n.createElement(y.Z,{onClick:ae=>{ae.stopPropagation(),_e(!z)},onOpen:()=>_e(!0),isOpen:z,onRequestClose:()=>_e(!1),position:fe==null?void 0:fe.current,constrainTo:fe==null?void 0:fe.current}))))};var S=e(158577),T=e(882684),s=e(725538),v=e(146964),m=e(881707),E=e(159945),I=e(845076),L=e.n(I),W=e(136407),F=e(334201),G=e.n(F);const{OVERLAY_CLASSNAME:k}=S,M=te=>{let{children:ie,isOpen:ne,onRequestOpen:pe,isFullWidth:oe,style:q,...J}=te;const[me,re]=n.useState(),[he,Ee]=(0,E.Z)(),{isCompact:fe}=(0,W.T)(),H=z=>{z.key==="Enter"&&pe&&pe()};return n.createElement(n.Fragment,null,ne&&n.createElement(s.Z,null,n.createElement(s.Z.Overlay,{background:"transparent"}),n.createElement(T.Z.PopOver,o()({},J,{className:k,isOpen:!0,anchor:me,renderTrigger:()=>null,style:{marginTop:oe?`calc(-1 * ${g.space[4]})`:0,...q}}),()=>n.createElement(f.Z,{background:"white",flexDirection:"column",py:1,width:oe&&Ee!==null&&Ee!==void 0&&Ee.width?`calc(${Ee.width}px - ${g.space[2]})`:void 0},ie))),n.createElement(m.Z,{ref:z=>{re(z),he(z)},className:L()({[G().isCompact]:fe})},J.renderTrigger?n.createElement(J.renderTrigger,{onClick:pe}):n.createElement(d.Z.Solid,{tabIndex:0,onKeyDown:H,onClick:pe,width:"sizes.200",height:"sizes.200",borderRadius:"circle",sx:{cursor:"pointer"}},n.createElement(v.Z,null))))};var B=e(534130);const R={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},j=te=>{let{children:ie,isOpen:ne,onRequestOpen:pe,onRequestClose:oe,title:q,...J}=te;const[me,re]=(0,E.Z)(),[he,Ee]=(0,E.Z)(),fe=(0,B.Z)();return n.createElement(T.Z.Sheet,o()({docks:[-24,re.height+Ee.height]},J,{isOpen:ne,onRequestOpen:pe,onRequestClose:oe,renderHeader:H=>{let{onRequestClose:z}=H;return n.createElement(m.Z,{ref:he,css:fe,onClick:z},q&&n.createElement(h.Z.Body,{as:"div",textAlign:"center",py:3,pl:2,pr:3,css:R},q))},renderTrigger:()=>J.renderTrigger?n.createElement(J.renderTrigger,{onClick:pe}):n.createElement(d.Z.Solid,{onClick:pe,width:"sizes.200",height:"sizes.200",borderRadius:"circle",sx:{cursor:"pointer"}},n.createElement(v.Z,null))}),()=>n.createElement(f.Z,{background:"white",ref:me,flexDirection:"column",py:1},ie))},$=te=>n.createElement(a.Z.Renderer,o()({},te,{render:{default:M,"mobile-0":j}}));$.Button=A;const ee=$},378651:function(b,l,e){"use strict";e.d(l,{Z:()=>q});var r=e(174161),o=e(298275),n=e(725538),a=e(695999),i=e(600994),c=e(881707),u=e(719484),f=e(130077),d=e(866815),h=e(378638),g=e(297761),_=e(903638),p=e(412166);const O=J=>{const{text:me="",number:re=1}=J;return r.createElement(h.Z,{space:2,direction:"row",mb:2},r.createElement(u.Z.Subtitle,{mt:"2px",mb:0,display:"block",textAlign:"center",width:"20px",height:"20px",borderRadius:"10px",fontSize:"12px",fontWeight:"600",lineHeight:"20px",bg:"gray.100",color:"white"},re),r.createElement(u.Z.Subtitle,{mt:0,mb:0},me))};var P=e(639365);const A=J=>{const{onRequestResend:me=()=>{},pop:re=()=>{},setLeftBarButton:he=()=>{},setRightBarButton:Ee=()=>{},trackUserSelectsModalItem:fe=()=>{}}=J,H=(0,a.t)("Resend Push",null,{project:"assetManagement.assetUploader"}),z=(0,a.t)("Troubleshooting Steps",null,{project:"assetManagement.assetUploader"}),_e=(0,a.t)("Get the latest version of Squarespace App for your iOS or Android device.",null,{project:"assetManagement.assetUploader"}),ae=(0,a.t)("Squarespace App QR code",null,{project:"assetManagement.assetUploader"}),ge=(0,a.t)("Sign into the app using the account associated with your Squarespace site.",null,{project:"assetManagement.assetUploader"}),Be=(0,a.t)("Check your device\u2019s settings to ensure push notifications from Squarespace App are enabled.",null,{project:"assetManagement.assetUploader"}),Ke=(0,a.t)("Scan this QR code to download the latest version on an iOS or Android device.",null,{project:"assetManagement.assetUploader"});return r.useEffect(()=>{he(null),Ee(r.createElement(i.Z.Tertiary,{sx:{whiteSpace:"nowrap"},onClick:()=>{me(),re(),fe("resent-push")}},H))},[]),r.createElement(c.Z,{tabIndex:0,minHeight:"375px"},r.createElement(c.Z,{mt:2,mb:2,pl:6,pr:6},r.createElement(u.Z.Label,{color:"gray.100"},z)),r.createElement(c.Z,{mt:0,mb:4,pb:0,pl:6,pr:6},r.createElement(O,{number:1,text:_e}),r.createElement(h.Z,{space:0,direction:"row",mt:0,mb:2,ml:5,mr:5},r.createElement(g.Z,{width:"92px",height:"92px",p:1},r.createElement(_.Z,{width:"78px",height:"78px",src:P,alt:ae})),r.createElement(p.Z,{height:"92px",borderWidth:1,borderStyle:"solid",borderColor:"gray.800",borderLeftWidth:0,alignItems:"center",justifyContent:"center"},r.createElement(u.Z.Caption,{m:1,ml:2,mr:2,color:"gray.100"},Ke))),r.createElement(O,{number:2,text:ge}),r.createElement(O,{number:3,text:Be})))},T=J=>{const{onRequestCancel:me=()=>{},onRequestResend:re=()=>{},push:he=()=>{},setLeftBarButton:Ee=()=>{},setRightBarButton:fe=()=>{},trackUserSelectsModalItem:H=()=>{}}=J,z=(0,a.t)("Push notification sent",null,{project:"assetManagement.assetUploader"}),_e=(0,a.t)("We\u2019ve sent a push notification to your phone or tablet with Squarespace App. Continue uploading from that device.",null,{project:"assetManagement.assetUploader"}),ae=(0,a.t)("Cancel",null,{project:"assetManagement.assetUploader"}),ge=(0,a.t)("Troubleshoot",null,{project:"assetManagement.assetUploader"});return r.useEffect(()=>{Ee(r.createElement(i.Z.Tertiary,{onClick:()=>{me(),H("cancel")}},ae)),fe(r.createElement(i.Z.Tertiary,{onClick:()=>{he({title:"",component:r.createElement(A,{onRequestResend:re,trackUserSelectsModalItem:H})}),H("need-help")}},ge))},[]),r.createElement(c.Z,{tabIndex:0,minHeight:"375px",overflow:"hidden"},r.createElement(c.Z,{mt:2,mb:4,pl:6,pr:6},r.createElement(u.Z.Title,{py:1,m:0},z),r.createElement(u.Z.Subtitle,{color:"gray.300",pt:1,pb:2,m:0},_e)),r.createElement(c.Z,{mt:0,mb:0,pb:0,css:{height:"226px",backgroundImage:'url("'+d+'")'}},r.createElement("video",{width:"100%",autoPlay:!0,loop:!1,muted:!0,controls:!1,poster:d},r.createElement("source",{type:"video/mp4",src:f+"#t=0.3"}))))};var s=e(456903);const v={PENDING:"PENDING",ACKNOWLEDGED:"ACKNOWLEDGED",IN_PROGRESS:"IN_PROGRESS",COMPLETED:"COMPLETED",EXPIRED:"EXPIRED",CANCELED:"CANCELED",ERROR:"ERROR"},m=1e3,E="/asset-drop-service/api/1.0",I=!1,L=!0,W=!1,F=!1,G=5e3,k="Alexandria_123123",x={},M=J=>{x[J]={status:v.PENDING,selectedAssets:[],mediaType:1},console.log(`[AssetHandoffApi] Job pending. jobId: ${J}`),F?setTimeout(()=>{x[J].status!==v.CANCELED&&(x[J]={status:v.ERROR,selectedAssets:[],mediaType:1},console.log(`[AssetHandoffApi] Job error. jobId: ${J}`))},G):L&&W?setTimeout(()=>{x[J]={status:v.CANCELED,selectedAssets:[],mediaType:1},console.log(`[AssetHandoffApi] User taps on notification. jobId: ${J}, alexandriaId: ${null}`)},G):L&&(setTimeout(()=>{x[J].status!==v.CANCELED&&(x[J]={status:v.ACKNOWLEDGED,selectedAssets:[],mediaType:1},console.log(`[AssetHandoffApi] User taps on notification. jobId: ${J}, alexandriaId: ${null}`))},G),setTimeout(()=>{if(x[J].status===v.CANCELED){console.log(`[AssetHandoffApi] Job cancelled. jobId: ${J}, alexandriaId: ${null}`);return}x[J]={status:v.IN_PROGRESS,selectedAssets:[k],mediaType:1},console.log(`[AssetHandoffApi] User selected photo to upload. jobId: ${J}, alexandriaId: ${k}`)},G+1e4),setTimeout(()=>{x[J].status!==v.CANCELED&&(x[J]={status:v.COMPLETED,selectedAssets:[k],mediaType:1},console.log(`[AssetHandoffApi] User completed uploading on mobile. jobId: ${J}, alexandriaId: ${k}`))},G+2e4)),setTimeout(()=>{x[J].status!==v.CANCELED&&(x[J]={status:v.EXPIRED,selectedAssets:[],mediaType:1},console.log(`[AssetHandoffApi] Job expired. jobId: ${J}`))},G+6e4)},B=J=>{let{libraryId:me,mediaType:re}=J;return I?new Promise(he=>{setTimeout(()=>{const Ee=`jobId_${Date.now()}`;M(Ee),he({data:{id:Ee}})},600)}):s.default.post(`${E}/libraries/${me}/jobs`,{appType:"SQUARESPACEAPP",mediaType:re,maxAssetSelectionCount:1,notificationTitle:(0,a.t)("Upload an image",null,{project:"assetManagement.assetUploader"}),notificationBody:(0,a.t)("Select an image to upload to your site",null,{project:"assetManagement.assetUploader"})},{headers:{"x-csrf-token":window.Static.SQUARESPACE_CONTEXT.csrfToken}})},R=J=>{let{jobId:me,libraryId:re}=J;return I?new Promise((he,Ee)=>{setTimeout(()=>{x[me]?x[me]={status:v.CANCELED,selectedAssets:[],mediaType:1}:Ee(),he()},200)}):s.default.put(`${E}/libraries/${re}/jobs/${me}`,{status:v.CANCELED,assets:[]},{headers:{"x-csrf-token":window.Static.SQUARESPACE_CONTEXT.csrfToken}})},U=J=>{let{jobId:me,libraryId:re}=J;return I?new Promise((he,Ee)=>{setTimeout(()=>{x[me]?he({data:{status:x[me].status,selectedAssets:x[me].selectedAssets,mediaType:x[me].mediaType}}):Ee()},200)}):s.default.get(`${E}/libraries/${re}/jobs/${me}`)},j={UPDATE_UPLOAD_STATUS:"UPDATE_UPLOAD_STATUS",SEND_NOTIFICATION_PENDING:"SEND_NOTIFICATION_PENDING",SEND_NOTIFICATION_SUCCESS:"SEND_NOTIFICATION_SUCCESS",SEND_NOTIFICATION_FAILURE:"SEND_NOTIFICATION_FAILURE",CANCEL_NOTIFICATION_PENDING:"CANCEL_NOTIFICATION_PENDING",CANCEL_NOTIFICATION_SUCCESS:"CANCEL_NOTIFICATION_SUCCESS",CANCEL_NOTIFICATION_FAILURE:"CANCEL_NOTIFICATION_FAILURE",JOB_EXPIRED:"JOB_EXPIRED",ERROR_RECEIVED:"ERROR_RECEIVED"};function $(J,me){switch(me.type){case j.UPDATE_UPLOAD_STATUS:return{...J,alexandriaId:me.payload.alexandriaId,jobStatus:me.payload.jobStatus};case j.SEND_NOTIFICATION_PENDING:return{...J,pendingNotification:!0};case j.SEND_NOTIFICATION_SUCCESS:return{...J,pendingNotification:!1,jobId:me.payload.jobId};case j.SEND_NOTIFICATION_FAILURE:return{...J,pendingNotification:!1,error:me.payload.error};case j.CANCEL_NOTIFICATION_PENDING:return{...J,pendingCancellation:!0};case j.CANCEL_NOTIFICATION_SUCCESS:return{...J,pendingCancellation:!1,jobId:null};case j.CANCEL_NOTIFICATION_FAILURE:return{...J,pendingCancellation:!1,error:me.payload.error};case j.JOB_EXPIRED:return{...J,jobExpired:!0};case j.ERROR_RECEIVED:return{...J,error:me.payload.error};default:throw new Error(`Unhandled type: ${me.type}`)}}const ee={jobId:null,jobStatus:v.pending,alexandriaId:null,pendingNotification:!0,pendingCancellation:!1};function te(){let{reducer:J=$,libraryId:me=null,handleAssetReceived:re=Fe=>{}}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const[he,Ee]=(0,r.useReducer)(J,ee),fe=Fe=>{let{jobStatus:ht,alexandriaId:Ne}=Fe;return Ee({type:j.UPDATE_UPLOAD_STATUS,payload:{jobStatus:ht,alexandriaId:Ne}})},H=()=>Ee({type:j.SEND_NOTIFICATION_PENDING}),z=Fe=>{let{jobId:ht}=Fe;return Ee({type:j.SEND_NOTIFICATION_SUCCESS,payload:{jobId:ht}})},_e=Fe=>{let{error:ht}=Fe;return Ee({type:j.SEND_NOTIFICATION_FAILURE,payload:{error:ht}})},ae=()=>Ee({type:j.CANCEL_NOTIFICATION_PENDING}),ge=()=>Ee({type:j.CANCEL_NOTIFICATION_SUCCESS}),Be=Fe=>{let{error:ht}=Fe;return Ee({type:j.CANCEL_NOTIFICATION_FAILURE,payload:{error:ht}})},Ke=()=>Ee({type:j.JOB_EXPIRED}),He=()=>Ee({type:j.ERROR_RECEIVED}),ye=(0,r.useRef)(null);(0,r.useEffect)(()=>{ye.current&&(clearInterval(ye.current),ye.current=null),he.pendingNotification&&!he.pendingCancellation&&Le()},[he.pendingNotification,he.pendingCancellation]),(0,r.useEffect)(()=>{he.pendingCancellation&&Ue({jobId:he.jobId})},[he.pendingCancellation,he.jobId]),(0,r.useEffect)(()=>(he.jobId?ye.current=setInterval(async()=>{var Fe;const{data:ht}=await U({jobId:he.jobId,libraryId:me});fe({jobStatus:ht.status,alexandriaId:ht==null||(Fe=ht.assets)===null||Fe===void 0||(Fe=Fe[0])===null||Fe===void 0?void 0:Fe.mediaUploadJobId})},m):(clearInterval(ye.current),ye.current=null),()=>{clearInterval(ye.current),ye.current=null}),[he.jobId]),(0,r.useEffect)(()=>{switch(he.jobStatus){case v.COMPLETED:{console.log("[AssetDropModal] - COMPLETED"),re(he.alexandriaId);break}case v.EXPIRED:{console.log("[AssetDropModal] - EXPIRED -  Show troubleshooting modal"),Ke();break}case v.CANCELED:{console.log("[AssetDropModal] - CANCELED");break}case v.ERROR:{console.log("[AssetDropModal] - ERROR -  Show troubleshooting modal"),He();break}default:break}},[he.jobStatus,he.alexandriaId]);function Le(){B({libraryId:me,mediaType:1}).then(Fe=>{let{data:ht}=Fe;return z({jobId:ht.id})}).catch(Fe=>{console.error("[AssetDropModal] Failed to send push notification",Fe),_e({error:Fe})})}function Ue(Fe){let{jobId:ht}=Fe;if(ht)R({jobId:ht,libraryId:me}).then(ge).catch(Ne=>{console.error("[AssetDropModal] Failed to cancel push notification",Ne),Be({error:Ne})});else{const Ne="Job id does not exist";console.error("[AssetDropModal] Failed to cancel push notification",Ne),Be({error:Ne})}}function Xe(){ae(),H()}return{...he,cancelNotificationPending:ae,resendNotification:Xe}}const ie=te;var ne=e(50563),pe=e.n(ne);const q=J=>{const{libraryId:me,onClose:re=()=>{},onAssetReceived:he=()=>{},trackUserViewsModal:Ee=()=>{},trackUserSelectsModalItem:fe=()=>{}}=J,H=(0,a.t)("Back",null,{project:"assetManagement.assetUploader"});r.useEffect(()=>{Ee()},[]);function z(Ke){he(Ke),re()}const{cancelNotificationPending:_e,resendNotification:ae}=ie({libraryId:me,handleAssetReceived:z});function ge(){_e(),ae()}function Be(){_e(),re()}return r.createElement(n.Z,{onRequestClose:Be,closeOnBackButton:!1,closeOnOverlayClicked:!1,className:"asset-drop-modal"},r.createElement(n.Z.Overlay,null),r.createElement(n.Z.Position,{position:"center"},r.createElement(n.Z.Dialog,{height:"438px",width:"400px",css:{overflow:"hidden"}},r.createElement(o.Z,{backTitle:H,headerClassName:pe().navigationHeader},r.createElement(T,{onRequestCancel:Be,onRequestResend:ge,trackUserSelectsModalItem:fe})))))}},967074:function(b,l,e){"use strict";e.d(l,{Z:()=>L});var r=e(160553),o=e.n(r),n=e(174161),a=e(725538),i=e(865898),c=e(298275),u=e(695999),f=e(903638),d=e(600994),h=e(881707),g=e(719484),_=e(412166),p=e(639365),y=e(130077),O=e(866815);const C=W=>{const{onCompleteTutorial:F=()=>{},setLeftBarButton:G=()=>{},setRightBarButton:k=()=>{}}=W,x=(0,u.t)("We\u2019ll send a push notification",null,{project:"assetManagement.assetUploader"}),M=(0,u.t)("Make sure push notifications are enabled for Squarespace App. You can verify these permissions from your device\u2019s settings.",null,{project:"assetManagement.assetUploader"}),B=(0,u.t)("Send Push",null,{project:"assetManagement.assetUploader"});return n.useEffect(()=>{G(null),k(n.createElement(d.Z.Tertiary,{css:{whiteSpace:"nowrap"},onClick:F},B))},[]),n.createElement(h.Z,{tabIndex:0,minHeight:"375px"},n.createElement(h.Z,{mt:2,mb:4,pl:6,pr:6},n.createElement(g.Z.Title,{py:1,m:0},x),n.createElement(g.Z.Subtitle,{color:"gray.300",pt:1,pb:2,m:0},M)),n.createElement(h.Z,{mt:0,mb:0,pb:0,css:{height:"226px",backgroundImage:'url("'+O+'")'}},n.createElement("video",{width:"100%",autoPlay:!1,loop:!1,muted:!0,controls:!1,poster:O},n.createElement("source",{type:"video/mp4",src:y+"#t=0.3"}))))},S=W=>{const{onRequestCancel:F=()=>{},onCompleteTutorial:G=()=>{},push:k=()=>{},setLeftBarButton:x=()=>{},setRightBarButton:M=()=>{}}=W,B=(0,u.t)("New from Squarespace App",null,{project:"assetManagement.assetUploader"}),R=(0,u.t)("Quickly upload images from your device to your site",null,{project:"assetManagement.assetUploader"}),U=(0,u.t)("Get the latest version of Squarespace App and sign in with your account to get started.",null,{project:"assetManagement.assetUploader"}),j=(0,u.t)("Cancel",null,{project:"assetManagement.assetUploader"}),$=(0,u.t)("Squarespace App QR code",null,{project:"assetManagement.assetUploader"}),ee=(0,u.t)("Scan using an iOS or Android device to get the latest version of Squarespace App.",null,{project:"assetManagement.assetUploader"}),te=(0,u.t)("Continue",null,{project:"assetManagement.assetUploader"});return n.useEffect(()=>{x(n.createElement(d.Z.Tertiary,{onClick:F},j)),M(n.createElement(d.Z.Tertiary,{onClick:()=>{k({title:"",component:n.createElement(C,{onCompleteTutorial:G})})}},te))},[]),n.createElement(h.Z,{tabIndex:0,minHeight:"375px"},n.createElement(h.Z,{mt:2,mb:0,pl:6,pr:6},n.createElement(g.Z.Label,{color:"gray.100"},B),n.createElement(g.Z.Title,{py:1,m:0},R),n.createElement(g.Z.Subtitle,{color:"gray.100",pt:1,pb:1,m:0},U),n.createElement(_.Z,{alignItems:"center",justifyContent:"center",flexDirection:"column",mt:3,mb:3,pb:0},n.createElement(f.Z,{width:"132px",height:"132px",src:p,alt:$})),n.createElement(_.Z,{alignItems:"center",ml:4,mr:4,mt:2},n.createElement(g.Z.Caption,{textAlign:"center"},ee))))};var T=e(50563),s=e.n(T);const m=W=>{let{onClose:F=()=>{},onCompleteTutorial:G=()=>{}}=W;const k=()=>{F()},x=(0,u.t)("Back",null,{project:"assetManagement.assetUploader"});return n.createElement(a.Z,{onRequestClose:F},n.createElement(a.Z.Overlay,null),n.createElement(a.Z.Position,{position:"center"},n.createElement(a.Z.Dialog,{height:"438px",width:"400px",css:{overflow:"hidden"}},n.createElement(c.Z,{backTitle:x,headerClassName:s().navigationHeader},n.createElement(S,{onRequestCancel:k,onCompleteTutorial:G})))))};var E=e(378651);const L=W=>{let{isOpen:F=!1,isTutorialComplete:G=!0,onCompleteTutorial:k=()=>{},...x}=W;const M=G?E.Z:m;return n.createElement(i.Z,null,n.createElement(a.Z.Transition,null,F&&n.createElement(M,o()({},x,{isOpen:F,isTutorialComplete:G,onCompleteTutorial:k}))))}},306537:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(174161),o=e(881707),n=e(14469),a=e(136407);const c=u=>{let{children:f,className:d,isCompact:h,isInImageBlock:g,sx:_={px:3,mt:-3},variant:p=n.Us.MINI,assetType:y}=u;return r.createElement(o.Z,{className:d,"data-test":`asset-preview-container-${y.toLowerCase()}`,sx:{"& > *":{width:"100%"},..._}},r.createElement(a.f,{isCompact:h,isInImageBlock:g},r.createElement(n.Wx,{variant:p},f)))}},989845:function(b,l,e){"use strict";e.d(l,{Z:()=>vt});var r=e(174161),o=e(850882),n=e(881707),a=e(719484),i=e(845076),c=e.n(i),u=e(683683),f=e(695999),d=e(14469),h=e(136407),g=e(879441),_=e(412166),p=e(600994),y=e(425629),O=e(936609),P=e(142118),C=e(160553),A=e.n(C),S=e(488609),T=e(737012),s=e.n(T),v=e(4731),m=e(845136);const I=ze=>{let{children:It,isOpen:on,onRequestClose:Pn,onRequestOpen:Yn,menuActions:Ln=[],isStorageFull:bn=!1,...ir}=ze;return r.createElement(r.Fragment,null,r.createElement(v.Z,A()({},ir,{isOpen:on,onRequestClose:Zn=>{var $n;(Zn==null||($n=Zn.target)===null||$n===void 0?void 0:$n.textContent)!==m.g&&Pn()},onRequestOpen:Yn}),[...Ln.map((Zn,$n)=>r.createElement(r.Fragment,{key:Zn.name},Zn.hasDivider&&r.createElement(S.Z,{my:1}),r.createElement(v.Z.Button,{isFocused:$n===0,IconComponent:Zn.icon,title:Zn.name,subtitle:Zn.description,help:Zn.uploadHelp,onClick:()=>{Zn.handler(),Pn()},isNew:Zn==null?void 0:Zn.isNew,isDisabled:bn&&(Zn==null?void 0:Zn.id)==="uploadVideo",dataTest:s()(Zn.key+"-button")}))),It]))},W=ze=>{let{title:It,isOpen:on,onRequestOpen:Pn,onRequestClose:Yn,menuActions:Ln=[],...bn}=ze;return r.createElement(v.Z,A()({},bn,{title:It,isOpen:on,onRequestOpen:Pn,onRequestClose:Yn,position:"bottom-left"}),Ln.map((ir,Zn)=>r.createElement(r.Fragment,{key:ir.key},r.createElement(v.Z.Button,{IconComponent:ir.icon,title:ir.name,color:ir.color,onClick:()=>{ir.handler(),Yn()},dataTest:ir.key.toLowerCase()+"-button"}),Zn!==Ln.length-1&&r.createElement(S.Z,{my:1}))))},G=ze=>{let{assetDetails:It,onEdit:on,onPurchase:Pn,onReplace:Yn=()=>{},onViewOptions:Ln=()=>{},replaceMenuActions:bn,moreMenuActions:ir,isStorageFull:Zn,menuAnchorRef:$n}=ze;const{variant:jt}=(0,d.Ff)(),{isOpen:Rn,onClose:jn,onOpen:Tn}=(0,g.Z)(),{isOpen:Nn,onClose:cn,onOpen:or}=(0,g.Z)(),qn=ir==null?void 0:ir.find(Hr=>Hr.key===P.X.REMOVE);return r.createElement(_.Z,{height:"sizes.250",alignItems:"center",justifyContent:"space-between",pb:1},r.createElement(_.Z,null,$n?r.createElement(p.Z.Tertiary,{onClick:Yn,ref:$n,display:"inline-block","data-test":"replace-button"},(0,f.t)("Replace",null,{project:"assetManagement.assetUploader"})):r.createElement(I,{renderTrigger:Hr=>{let{onClick:fo}=Hr;return r.createElement(p.Z.Tertiary,{onClick:fo,"data-test":"replace-button"},(0,f.t)("Replace",null,{project:"assetManagement.assetUploader"}))},isOpen:Nn,onRequestOpen:()=>{or(),Yn()},onRequestClose:cn,position:"bottom-right",title:It&&It.filename,style:{marginLeft:"-18px"},menuActions:bn,isStorageFull:Zn}),on&&r.createElement(O.Z.Renderer,{onClick:on,render:{default:Hr=>{let{onClick:fo}=Hr;return r.createElement(p.Z.Tertiary,{ml:2,onClick:fo},(0,f.t)("Edit",null,{project:"assetManagement.assetUploader"}))},"mobile-0":()=>null}}),Pn&&r.createElement(p.Z.Tertiary,{ml:2,onClick:Pn},(0,f.t)("Purchase",null,{project:"assetManagement.assetUploader"}))),jt===d.Us.LARGE&&qn!==null&&qn!==void 0&&qn.handler&&qn!==null&&qn!==void 0&&qn.icon?r.createElement(n.Z,{"data-test":qn.key.toLowerCase()+"-button"},r.createElement(y.Z.Element.Icon,{onClick:qn.handler,sx:{cursor:"pointer",alignSelf:"center"}},r.createElement(qn.icon,null))):r.createElement(W,{title:It==null?void 0:It.filename,isOpen:Rn,onRequestOpen:()=>{Tn(),Ln()},onRequestClose:jn,menuActions:ir,style:{marginLeft:"6px"}}))};var k=e(321064),x=e(903638),M=e(47932);const R=["image/png"],U=function(ze){let It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:4;const on=ze.lastIndexOf(".");if(on===-1)return;const Pn=ze.substring(on-It);return Pn.trim(),Pn},j=(ze,It)=>ze&&It?It>ze:!1,ee=ze=>{let{filename:It,hasFileExtension:on=!1,color:Pn="gray.100",sx:Yn}=ze;const[Ln,bn]=(0,r.useState)(),[ir,Zn]=(0,r.useState)(),[$n,jt]=(0,r.useState)(),Rn=(0,r.useCallback)(Tn=>{on&&Tn!==null&&Zn(Tn.getBoundingClientRect().width)},[on]),jn=(0,r.useCallback)(Tn=>{on&&Tn!==null&&jt(Tn.getBoundingClientRect().width)},[on]);return(0,r.useEffect)(()=>{const Tn=on&&j(ir,$n);bn(Tn?U(It):void 0)},[on,ir,$n]),r.createElement(_.Z,A()({ref:Rn,color:Pn},Yn),r.createElement(n.Z,{sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},r.createElement(a.Z.Body,{as:"span",color:Pn,ref:jn},It)),Ln&&r.createElement(n.Z,null,r.createElement(a.Z.Body,{as:"span",color:Pn,ml:"-2px"},Ln)))};var te=e(705967),ie=e(777321),ne=e.n(ie);const pe=125,oe=(0,f.t)("Image",null,{project:"assetManagement.assetUploader"}),q=(0,f.t)("{imageLabel} Preview",{imageLabel:oe},{project:"assetManagement.assetUploader"}),J=ze=>{let{fileType:It}=ze;return R.indexOf(It)>=0},re=ze=>{let{assetDetails:It,focalPointEditable:on,focalPointProps:Pn,isPreview:Yn=!1,showFadedContent:Ln}=ze;const bn=(0,r.createRef)(),{isCompact:ir,isInImageBlock:Zn}=(0,h.T)(),[$n,jt]=(0,r.useState)(null);(0,r.useEffect)(()=>{bn!=null&&bn.current&&(bn.current.onload=function(){jt(this.naturalWidth)})},[bn==null?void 0:bn.current,$n,jt]);const Rn=!on||Ln,{colors:jn}=(0,M.F)();let Tn="none";return J(It)&&(Tn=(0,k.r)({fillEven:"#E9E9E9",fillOdd:jn.gray[900]})),ir?r.createElement(_.Z,{className:ne().container},r.createElement(_.Z,{className:c()(ne().imageContainer,{[ne().isInImageBlock]:Zn})},Rn?r.createElement(x.Z,{style:{maxWidth:$n},ref:bn,className:c()(ne().image,{[ne().hasAssetUrl]:It.assetUrl}),src:It.assetUrl}):r.createElement(te.Z,{className:ne().imageWrapper,assetUrl:It.assetUrl,onChange:Pn.onChange,value:Pn.value})),!Ln&&r.createElement(a.Z.Caption,{as:"span",className:ne().caption},Yn?q:oe)):r.createElement(_.Z,{flexDirection:"column",flex:"1",minWidth:"0"},r.createElement(_.Z,{backgroundColor:"gray.800",backgroundImage:Tn,justifyContent:"center",mx:-2,mt:-2},Rn?r.createElement(x.Z,{height:pe,src:It.assetUrl,sx:{objectFit:"cover",visibility:It.assetUrl?"visible":"hidden"},opacity:Ln?"0.4":"1"}):r.createElement(te.Z,{assetUrl:It.assetUrl,maxHeight:pe,onChange:Pn.onChange,value:Pn.value})),r.createElement(ee,{filename:It.globalFilename||It.filename,hasFileExtension:!0,color:Ln?"gray.600":"gray.100",sx:{mt:2,mb:Ln?2:0}}),!Ln&&r.createElement(a.Z.Caption,{as:"span",mb:2,css:{textTransform:"capitalize"}},Yn?q:oe))};var he=e(697400),Ee=e(545334),fe=e.n(Ee);const H=ze=>{const It="m:ss",on="h:mm:ss";let Pn=It;return ze=Math.round(ze),ze=fe().duration(ze,"s"),ze.hours()>0&&(Pn=on),fe().utc(ze.as("milliseconds")).format(Pn)},z=125,_e=(0,r.memo)(ze=>{let{src:It,thumbnailSrc:on,localFilePreview:Pn,isExternalUrl:Yn}=ze;if(!It)return null;if(Pn)return r.createElement(he.VideoPreviewPlayer,{src:It});const Ln=It.substr(0,It.lastIndexOf("/")+1)+"playlist.m3u8";return r.createElement(he.VideoPlayer,{environment:(0,he.getEnvironment)(),src:Yn?It:Ln,thumbnailSrc:on,options:{fullscreen:!1,controls:he.VideoPlayerControls.Minimal,storage:!1}})});_e.displayName="AssetVideoPlayer";const ge=ze=>{let{assetDetails:It,showFadedContent:on}=ze;return r.createElement(_.Z,{flexDirection:"column",flex:"1",minWidth:"0"},r.createElement(_.Z,{backgroundColor:"gray.800",justifyContent:"center",mx:-2,mt:-2},on?r.createElement(n.Z,{width:"100%",height:z,sx:{objectFit:"cover",visibility:It.assetUrl?"visible":"hidden"},opacity:"0.4"},r.createElement(_e,{src:It.assetUrl,localFilePreview:!0})):r.createElement(n.Z,{width:"100%",height:z},r.createElement(_e,{src:It.assetUrl,thumbnailSrc:It.thumbnailUrl,localFilePreview:!1,isExternalUrl:It.isExternalUrl}))),r.createElement(ee,{filename:It.globalFilename||It.filename,hasFileExtension:It.isExternalUrl,color:on?"gray.600":"gray.100",sx:{mt:2,mb:on?2:0}}),!on&&r.createElement(n.Z,{sx:{mb:2,lineHeight:1}},r.createElement(a.Z.Caption,{as:"span",css:{textTransform:"capitalize"}},(It==null?void 0:It.providerName)||(0,f.t)("Video",null,{project:"assetManagement.assetUploader"})),It.fileDuration?r.createElement(r.Fragment,null,r.createElement(a.Z.Caption,{as:"span",mx:"3px"},"\xB7"),r.createElement(a.Z.Caption,{as:"span",css:{textTransform:"capitalize"}},H(It.fileDuration))):null))};var Be=e(184791);const Ke="38px",He=(0,f.t)("Image",null,{project:"assetManagement.assetUploader"}),ye=(0,f.t)("{imageLabel} Preview",{imageLabel:He},{project:"assetManagement.assetUploader"}),Ue=ze=>{let{assetDetails:It,isPreview:on=!1,showFadedContent:Pn}=ze;const Yn=It.miniAssetUrl||It.assetUrl;return r.createElement(_.Z,{minWidth:"0",mb:2},r.createElement(x.Z,{crossOrigin:"anonymous",error:r.createElement(Be.Z,null),borderRadius:"2px",mr:2,width:Ke,height:Ke,src:Yn,sx:{objectFit:"cover",visibility:Yn?"visible":"hidden"},opacity:Pn?"0.4":null}),r.createElement(_.Z,{flexDirection:"column",justifyContent:"center",flex:"1",minWidth:"0"},r.createElement(ee,{filename:It.globalFilename||It.filename,hasFileExtension:!0,color:Pn?"gray.600":"gray.100"}),!Pn&&r.createElement(a.Z.Caption,{as:"span",css:{textTransform:"capitalize"}},on?ye:He)))};var Xe=e(136382),Fe=e(343701),ht=e(192628),Ne=e.n(ht),Ce=e(518099),we=e(917697),$e=e.n(we);const Ot=ze=>{let{sx:It={},onClick:on}=ze;const{isCompact:Pn}=(0,h.T)();return Pn?r.createElement(y.Z.Element.Icon,{className:$e().cancelButtonTouchable,onClick:on},r.createElement(Fe.Z,null)):r.createElement(y.Z.Element.Icon,{sx:{"&>span":{borderColor:"transparent"},...It},onClick:on},r.createElement(Fe.Z,null))},Pt=ze=>{const It=on=>{try{const{component:Pn}=(0,Ce.useFrameContext)();return Pn?r.createElement(Pn,null,r.createElement(ze,on)):r.createElement(ze,on)}catch{return r.createElement(ze,on)}};return It.displayName="withFrameWrapper(ProgressIndicatorWrapper)",Ne()(It,ze)},Ie=ze=>{let{children:It,uploadState:on,uploadProgress:Pn,showCancellationButton:Yn,onCancel:Ln}=ze;if(on===u.h.Uploading||on===u.h.Processing){const{isCompact:bn}=(0,h.T)(),{variant:ir}=(0,d.Ff)(),Zn={[u.h.Uploading]:()=>r.createElement(Xe.Z,{value:Pn}),[u.h.Processing]:()=>r.createElement(Xe.Z,{isIndeterminate:!0})};return bn?r.createElement(r.Fragment,null,ir===d.Us.MINI&&r.createElement(_.Z,{className:$e().cancelButtonMiniFlex},It,Yn&&Ln&&r.createElement(n.Z,{className:$e().cancelButtonMiniContainer},r.createElement(Ot,{onClick:Ln}))),ir===d.Us.LARGE&&r.createElement(r.Fragment,null,It,Yn&&Ln&&r.createElement(n.Z,{className:$e().cancelButtonLargeContainer},r.createElement(Ot,{onClick:Ln}))),r.createElement(n.Z,{className:$e().indicator},Zn[on]())):r.createElement(r.Fragment,null,ir===d.Us.MINI&&r.createElement(_.Z,{justifyContent:"space-between",alignItems:"center",pb:2},It,Yn&&Ln&&r.createElement(n.Z,{ml:2},r.createElement(Ot,{onClick:Ln}))),ir===d.Us.LARGE&&r.createElement(r.Fragment,null,It,Yn&&Ln&&r.createElement(n.Z,{sx:{position:"absolute",bottom:"4px",right:"4px"}},r.createElement(Ot,{onClick:Ln,sx:{margin:"0 !important"}}))),r.createElement(n.Z,{position:"absolute",left:0,bottom:0,width:"100%",sx:{"&>div":{backgroundColor:"transparent"}}},Zn[on]()))}return r.createElement(r.Fragment,null,It)},mt=ze=>{const{isCompact:It}=(0,h.T)();return It?Pt(Ie)(ze):r.createElement(Ie,ze)};var rt=e(936980),ce=e.n(rt);const Re={[o.h.IMAGE]:{[d.Us.MINI]:ze=>r.createElement(Ue,ze),[d.Us.LARGE]:ze=>r.createElement(re,ze)},[o.h.VIDEO]:{[d.Us.LARGE]:ze=>r.createElement(ge,ze)}},nt=ze=>{var It;const{variant:on}=(0,d.Ff)(),Pn=ze==null||(It=ze.assetDetails)===null||It===void 0?void 0:It.assetType;return Pn&&on?Re[Pn][on](ze):r.Fragment},st=ze=>{let{assetDetails:It,onCancelUploading:on,onEdit:Pn,onPurchase:Yn,onReplace:Ln,onViewOptions:bn,uploadProgress:ir,uploadState:Zn,replaceMenuActions:$n=[],moreMenuActions:jt,focalPointEditable:Rn,focalPointProps:jn,isStorageFull:Tn,menuAnchorRef:Nn}=ze;const{isCompact:cn}=(0,h.T)();return r.createElement(r.Fragment,null,r.createElement(n.Z,{className:c()({[ce().isCompact]:cn}),backgroundColor:"gray.900",borderRadius:1,pt:2,px:2,position:"relative",overflow:"hidden"},r.createElement(mt,{onCancel:on,uploadProgress:ir,uploadState:Zn,showCancellationButton:Zn===u.h.Uploading},r.createElement(nt,{focalPointEditable:Rn,focalPointProps:jn,assetDetails:It,isPreview:!!Yn,showFadedContent:Zn===u.h.Uploading||Zn===u.h.Processing})),!(Zn===u.h.Uploading||Zn===u.h.Processing)&&r.createElement(G,{assetDetails:It,onEdit:Pn,onPurchase:Yn,onReplace:Ln,onViewOptions:bn,replaceMenuActions:$n,moreMenuActions:jt,isStorageFull:Tn,menuAnchorRef:Nn})),Yn&&r.createElement(a.Z.Caption,{as:"div",mt:1},(0,f.t)("This is an unlicensed preview image. To purchase its license, select \u201CPurchase\u201D above. Watermarks will be removed after purchase.",null,{project:"assetManagement.assetUploader"})))};st.Actions=G,st.ReplaceFileMenu=I;const vt=st},715899:function(b,l,e){"use strict";e.d(l,{Z:()=>B});var r=e(174161),o=e(850882),n=e(517659),a=e(45212),i=e(719484),c=e(845076),u=e.n(c),f=e(695999),d=e(136407),h=e(263681),g=e(957167),_=e(160553),p=e.n(_),y=e(668789),O=e(881707),P=e(412166),C=e(425629),A=e(47932);const T=R=>{let{children:U,ariaLabel:j,isOpen:$,uiState:ee,menuAnchorRef:te,sx:ie={},...ne}=R;const{colors:pe}=(0,A.F)(),oe=ee===n.Z.FOCUS?pe.gray[100]:pe.gray[600],q=`data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='9' ry='9' stroke='${encodeURIComponent(oe)}' stroke-width='1' stroke-dasharray='8%2c3' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e`,J=ee===n.Z.FOCUS?"gray.700":"transparent";return r.createElement(O.Z,p()({borderWidth:1,borderColor:oe,backgroundColor:J,borderRadius:9,backgroundImage:`url("${q}")`,"data-test":"asset-uploader-upload-button-container",sx:{cursor:"pointer",py:4,px:6,...ie},ref:te},ne),r.createElement(P.Z,{justifyContent:"center",sx:{pointerEvents:"none"}},r.createElement(O.Z,{role:"button","aria-label":j,"data-test":"asset-uploader-upload-button"},r.createElement(C.Z.Solid,{sx:{size:"sizes.200",borderRadius:"circle",backgroundColor:ee===n.Z.FOCUS&&"white"||(ee===n.Z.HOVER||$)&&"gray.800"||"gray.900"}},r.createElement(y.Z,null)))),U)};var s=e(232574),v=e(302198),m=e.n(v);const{addKeyboardListener:E}=s,L=R=>{let{isOpen:U,uiState:j,menuAnchorRef:$,...ee}=R;return r.createElement(O.Z,p()({},ee,E(te=>{ee==null||ee.onClick(te)}),{className:u()(m().wrapper,{[m().isFocused]:j===n.Z.FOCUS,[m().isHovered]:j===n.Z.HOVER||U}),ref:$}),r.createElement(P.Z,{className:m().contentArea},r.createElement(C.Z.Solid,{className:m().touchable},r.createElement(y.Z,null))))},W=R=>{const{isCompact:U}=R;return U?r.createElement(L,R):r.createElement(T,R)};var F=e(122357),G=e.n(F);const k={[o.h.IMAGE]:R=>{const{maxSize:U}=(0,h.Z)(o.h.IMAGE,R);return(0,f.t)("{sizeLimit} max",{sizeLimit:(0,f.oH)((0,g.q)(U),{length:"short"})},{project:"assetManagement.assetUploader"})},[o.h.VIDEO]:R=>{const{maxDuration:U}=(0,h.Z)(o.h.VIDEO,R);return(0,f.t)("{durationLimit} max",{durationLimit:(0,f.oH)((0,g.z)(U))},{project:"assetManagement.assetUploader"})},[o.h.FONT]:R=>{const{acceptedTypes:U}=(0,h.Z)(o.h.FONT,R),j=U==null?void 0:U.map($=>$.replace(/.*\/(x-)?/,"").toUpperCase()).join(", ");return(0,f.t)("({fileTypes} only)",{fileTypes:j},{project:"assetManagement.assetUploader"})}},x={[o.h.IMAGE]:(0,f.t)("Add an Image",null,{project:"assetManagement.assetUploader"}),[o.h.VIDEO]:(0,f.t)("Add a Video",null,{project:"assetManagement.assetUploader"}),[o.h.FONT]:(0,f.t)("Drag and drop your fonts",null,{project:"assetManagement.assetUploader"})},B=R=>{let{assetType:U=o.h.IMAGE,onAddFileClick:j,onDropFile:$=null,isOpen:ee,uploadLabel:te,uploadDescriptionLabel:ie,constraints:ne,menuAnchorRef:pe,isMultiple:oe=!1,sx:q}=R;const{isCompact:J}=(0,d.T)(),[me,re]=(0,r.useState)(n.Z.DEFAULT),he=_e=>{_e.stopPropagation(),j()},Ee=()=>{re(n.Z.HOVER)},fe=()=>{re(n.Z.DEFAULT)},H=te||x[U],z=_e=>{if(_e!=null&&_e.dataTransfer){const ae=Array.from(_e.dataTransfer.items),ge=ae==null?void 0:ae.reduce((Be,Ke)=>{if(Ke&&Ke.kind==="file"){const He=Ke.getAsFile();He&&Be.push(He)}return Be},[]);re(n.Z.DEFAULT),$(oe?ge:ge[0])}};return r.createElement(a.Z,{className:u()(G().droppableArea),onDragEnter:()=>re(n.Z.FOCUS),onDragLeave:()=>re(n.Z.DEFAULT),onDrop:z},r.createElement(W,{ariaLabel:H,uiState:me,isOpen:ee,menuAnchorRef:pe,onClick:he,onMouseOver:Ee,onFocus:Ee,onMouseOut:fe,onBlur:fe,isCompact:J,sx:q},r.createElement(i.Z.Body,{as:"div",color:"gray.100",textAlign:"center",borderRadius:"9px",pt:2,sx:{pointerEvents:"none"}},H),r.createElement(i.Z.Caption,{as:"div",color:"gray.300",textAlign:"center",sx:{pointerEvents:"none"}},ie||k[U](ne))))}},865898:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(642979),o=e.n(r),n=e(174161),a=e(199040),i=e(247380),c=e.n(i);const u=new a.Z("asset-uploader",c().WEBSITES_CONTENT);class f extends n.Component{constructor(){super(...arguments),o()(this,"state",{hasError:!1})}componentDidCatch(g){u.withSquarespaceScope(()=>{u.captureException(g)}),this.setState({hasError:!0})}render(){return this.state.hasError?null:this.props.children}}const d=f},433832:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(174161),o=e(158577),n=e(411722),a=e(725538),i=e(695999);const{OVERLAY_CLASSNAME:c}=o,f=d=>{let{error:h,isOpen:g}=d;return r.createElement(a.Z.Transition,null,g&&r.createElement(a.Z,{closeOnOverlayClicked:!1},r.createElement(a.Z.Overlay,null),r.createElement(a.Z.Position,{position:"center"},r.createElement(n.Z,{className:c,title:h.errorTitle||(0,i.t)("Couldn\u2019t upload",null,{project:"assetManagement.assetUploader"}),message:h.errorMessage,buttons:[()=>{var _;return r.createElement(n.Z.Button,{key:"close",onClick:(_=h.errorPayload)===null||_===void 0?void 0:_.onRequestClose},r.createElement(i.T,{project:"assetManagement.assetUploader"},"Close"))}]}))))}},705967:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(174161),o=e(322684),n=e(845076),a=e.n(n),i=e(134521),c=e.n(i),u=e(450953),f=e.n(u);const d=p=>({...p,y:1-p.y}),h=250,_=p=>{let{assetUrl:y,onChange:O,value:P,maxHeight:C}=p;const[A,S]=(0,r.useState)(d(P)),T=(0,r.useRef)(O);(0,r.useEffect)(()=>{T.current=O},[O]);const s=(0,r.useCallback)((L,W)=>{S({x:L,y:W})},[]),v=(0,r.useCallback)(c()(L=>{T.current(d(L))},h),[]);(0,r.useEffect)(()=>{v(A)},[A]),(0,r.useEffect)(()=>()=>v.flush(),[v]);const[m,E]=y.split("?"),I=new URLSearchParams(E||"");return r.createElement(o.default,{className:a()("focal-point-image-field",f().image,f().background),dataField:!1,focalPoint:A,maxHeight:C,onFocalPointChange:s,src:m,value:m,token:I.get("token"),formatSize:I.get("format")})}},830348:function(b,l,e){"use strict";e.r(l),e.d(l,{HiddenInputField:()=>o,default:()=>i});var r=e(174161);const o=(0,r.forwardRef)((c,u)=>{let{acceptedTypes:f=[],isMultiple:d=!1}=c;return r.createElement("input",{type:"file",accept:f.join(", "),ref:u,multiple:d,style:{display:"none"},"data-test":"file-input"})}),n=c=>{const u=(0,r.useRef)(null),f=(0,r.useCallback)(async()=>{var h;(h=u.current)!==null&&h!==void 0&&(h=h.files)!==null&&h!==void 0&&h.length&&(await c(u.current.files),u.current.value="")},[c]),d=()=>{var h;(h=u.current)===null||h===void 0||h.click()};return(0,r.useLayoutEffect)(()=>{const h=u.current;return h==null||h.addEventListener("change",f),()=>{h==null||h.removeEventListener("change",f)}},[f]),{inputRef:u,onOpenFileBrowser:d}};o.useFileInputField=n;const a=c=>{const u=(0,r.useRef)(null),f=(0,r.useCallback)(()=>{var h;const g=((h=u.current)===null||h===void 0?void 0:h.files)||null;g&&c(g.length>1?Array.from(g):g[0])},[u.current]),d=()=>{u!=null&&u.current&&u.current.click()};return u!=null&&u.current&&(u.current.removeEventListener("change",f),u.current.addEventListener("change",f)),{inputRef:u,onOpenFileBrowser:d}};o.useHiddenInputField=a;const i=o},845136:function(b,l,e){"use strict";e.d(l,{Z:()=>O,g:()=>_});var r=e(174161),o=e(725538),n=e(122003),a=e(881707),i=e(719484),c=e(600994),u=e(412166),f=e(47932),d=e(695999);const h=(0,d.t)("You've reached the max video limit for your plan.",null,{project:"assetManagement.assetUploader"}),g="https://www.squarespace.com/pricing",_=(0,d.t)("Learn more",null,{project:"assetManagement.assetUploader"}),p=P=>{let{isOpen:C,onRequestClose:A,position:S,constrainTo:T}=P;const{space:s}=(0,f.F)(),{clientWidth:v,clientHeight:m}=T||{};return r.createElement(o.Z.Transition,null,C&&r.createElement(o.Z,{onRequestClose:A},r.createElement(o.Z.Overlay,{background:"transparent"}),r.createElement(o.Z.Position,{position:S,constrainTo:T,constrainOffset:{x:0,y:-1*(m-11)}},r.createElement(o.Z.Dialog,{style:{background:"#0E0E0E",width:v,padding:`${s[2]} ${s[3]}`}},r.createElement(a.Z,{tabIndex:0,width:v,sx:{display:"inline",fontSize:"fontSizes.3"}},r.createElement(i.Z.Body,{mb:2,color:"white",sx:{mt:0,mb:0}},h),r.createElement(c.Z.Tertiary,{as:"a",id:"learnMoreLink",href:g,target:"_blank",onClick:E=>E.stopPropagation(),sx:{fontWeight:400,color:"white",minHeight:"space.4",textTransform:"capitalize"}},_))))))},O=P=>{let{onClick:C,onOpen:A,...S}=P;return r.createElement(r.Fragment,null,r.createElement(p,S),r.createElement(u.Z,{onFocus:A,ml:1,onClick:C},r.createElement(n.Z,{sx:{cursor:"pointer"}})))}},35739:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(160553),o=e.n(r),n=e(174161),a=e(47932);const c=u=>{const{colors:f}=(0,a.F)();return n.createElement("svg",o()({fill:"none",height:15,width:14,viewBox:"0 0 14 15",xmlns:"http://www.w3.org/2000/svg"},u),n.createElement("path",{d:"M4.75 6H6.25V11H4.75V6Z",fill:f.gray[100]}),n.createElement("path",{d:"M9.25 6H7.75V11H9.25V6Z",fill:f.gray[100]}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:f.gray[100],d:"M4 0H10V2H14V4H13V12C13 13.6569 11.6569 15 10 15H4C2.34315 15 1 13.6569 1 12V4H0V2H4V0ZM3 4V12C3 12.5523 3.44772 13 4 13H10C10.5523 13 11 12.5523 11 12V4H3Z"}))}},656219:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(160553),o=e.n(r),n=e(174161),a=e(683683),i=e(536285),c=e(989845),u=e(715899);const d=h=>{const{assetType:g,uploadState:_,uploadId:p}=h;if(_===a.h.Empty){const{isOpen:y,replaceMenuActions:O=[],onAddFileClick:P=()=>{},onDropFile:C=()=>{},uploadLabel:A,uploadDescriptionLabel:S,constraints:T,isStorageFull:s,onRequestClose:v=()=>{},onRequestOpen:m=()=>{},isFullWidth:E}=h;return n.createElement(c.Z.ReplaceFileMenu,{renderTrigger:I=>{let{onClick:L}=I;return n.createElement(u.Z,{onAddFileClick:()=>{L(),P()},onDropFile:C,isOpen:y,assetType:g,uploadLabel:A,uploadDescriptionLabel:S,constraints:T})},isOpen:y,menuActions:O,isStorageFull:s,position:"bottom",onRequestClose:v,onRequestOpen:m,isFullWidth:E})}return n.createElement(c.Z,o()({},h,{onCancelUploading:()=>{(0,i.$)(p)}}))}},98393:function(b,l,e){"use strict";e.d(l,{DB:()=>a,kr:()=>o,sA:()=>i,yB:()=>n});const r=null,o={Jpeg:"image/jpeg",Png:"image/png",Gif:"image/gif"},n={WebP:"image/webp"},a={Mp4:"video/mp4",Xm4v:"video/x-m4v",Quicktime:"video/quicktime"},i={Otf:"font/otf",Ttf:"font/ttf",Woff:"font/woff",Woff2:"font/woff2"}},778515:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o=Object.freeze({AUTHORIZATION_ERROR:"AuthorizationError",INTERNAL_ERROR:"InternalError",LIBRARY_LIMIT_EXCEEDED:"LibraryLimitExceeded",FILENAME_MAX_LENGTH_EXCEEDED:"FilenameMaxLengthExceeded",IMAGE_MAX_SIZE_EXCEEDED:"ImageMaxSizeExceeded",IMAGE_MAX_RESOLUTION_EXCEEDED:"ImageMaxResolutionExceeded",IMAGE_TYPE_NOT_RECOGNIZED:"ImageTypeNotRecognized",AUDIO_TYPE_NOT_RECOGNIZED:"AudioTypeNotRecognized",IMAGE_UNABLE_TO_PROCESS:"ImageUnableToProcess",INVALID_FILE_TYPE:"InvalidFileType",VIDEO_MAX_SIZE_EXCEEDED:"VideoMaxSizeExceeded",AUDIO_MAX_SIZE_EXCEEDED:"AudioMaxSizeExceeded",FILE_MAX_SIZE_EXCEEDED:"FileMaxSizeExceeded",VIDEO_MIN_RESOLUTION_NOT_MET:"VideoMinResolutionNotMet",VIDEO_MAX_RESOLUTION_EXCEEDED:"VideoMaxResolutionExceeded",VIDEO_TYPE_NOT_RECOGNIZED:"VideoTypeNotRecognized",VIDEO_UNABLE_TO_PROCESS:"VideoUnableToProcess",VIDEO_MAX_DURATION_EXCEEDED:"VideoMaxDurationExceeded",VIDEO_STREAM_NOT_FOUND:"VideoStreamNotFound",VIDEO_CODEC_NOT_RECOGNIZED:"VideoCodecNotRecognized",UPLOAD_CANCELLED:"UploadCancelled",FONT_TYPE_NOT_RECOGNIZED:"FontTypeNotRecognized"})},188337:function(b,l,e){"use strict";e.d(l,{GF:()=>o,ep:()=>n,k0:()=>i,rn:()=>a});var r=e(98393);const o={acceptedTypes:Object.values(r.kr),maxSize:20,maxFilenameLength:1024},n={acceptedTypes:Object.values(r.DB),maxSize:5120,maxDuration:10800,maxFilenameLength:1024},a={acceptedTypes:Object.values(r.sA),maxSize:10,maxFilenameLength:1024},i={Video:{maxSize:5*1024}}},142118:function(b,l,e){"use strict";e.d(l,{X:()=>n,Z:()=>i});var r=e(795478),o=e.n(r);const n={REMOVE:"REMOVE",FOCAL_POINT:"FOCAL_POINT",UPLOAD_FILE:"UPLOAD_FILE",SELECT_FROM_LIBRARY:"SELECT_FROM_LIBRARY",BROWSE_STOCK_IMAGES:"BROWSE_STOCK_IMAGES",ADD_FROM_LINK:"ADD_FROM_LINK",BROWSE_BACKGROUNDS:"BROWSE_BACKGROUNDS"},i=o().shape({name:o().string.isRequired,icon:o().elementType.isRequired,handler:o().func.isRequired,color:o().string,key:o().oneOf(Object.values(n)),hasDivider:o().bool,description:o().string,uploadHelp:o().string})},683683:function(b,l,e){"use strict";e.d(l,{h:()=>r});let r=function(o){return o.Empty="EMPTY",o.Uploading="UPLOADING",o.Processing="PROCESSING",o.UploadComplete="UPLOAD_COMPLETE",o.Complete="COMPLETE",o.Error="ERROR",o.Queued="QUEUED",o.Archived="ARCHIVED",o}({})},443224:function(b,l,e){"use strict";e.r(l),e.d(l,{ErrorCode:()=>n.Z,ImageFileType:()=>r.kr,MenuActionKey:()=>a.X,MenuActionPropType:()=>a.Z,UploadUIState:()=>o.h,VideoFileType:()=>r.DB,WebpFileType:()=>r.yB});var r=e(98393),o=e(683683),n=e(778515),a=e(142118)},480142:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(174161);const n=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const[i,c]=(0,r.useState)(a);return{isOpen:i,onToggleAssetDrop:f=>()=>{c(f)},assetDropTutorialName:"asset-drop-introduction"}}},695999:function(b,l,e){"use strict";e.d(l,{T:()=>u,oH:()=>A,t:()=>s});var r=e(555912),o=e(59794),n=e(910749);const a=(0,n.Z)(),i=new o.default(a),c=new r.default(a),{T:u,Plural:f,FormattedCurrency:d,FormattedNumber:h,FormattedDateTime:g,RelativeTime:_,FormattedMoney:p}=i,{formatCurrency:y,formatCurrencyToParts:O,formatMoney:P,formatNumber:C,formatQuantity:A,getCurrencySymbol:S,pluralize:T,translate:s}=a,{formatIcuMessage:v}=c},910749:function(b,l,e){"use strict";e.d(l,{U:()=>c,Z:()=>i});var r=e(638204);const n="assetManagement.assetUploader";function a(u){return e(481805)(`./${n}.${u}.yaml`)}const{getI18nInstance:i,setI18nInstance:c}=(0,r.setupLibrary)(n,a)},817254:function(b,l,e){"use strict";e.d(l,{M2:()=>a,cH:()=>n});var r=e(64745);const{CancelToken:o}=r.Z,n=r.Z.isCancel,a=()=>{const c=o.source();return{cancelToken:c.token,onCancel:c.cancel}};var i=null},478698:function(b,l,e){"use strict";e.d(l,{CO:()=>u,rj:()=>c,O:()=>f,Mw:()=>d});var r=e(642979),o=e.n(r),n=e(817254);class a{constructor(){o()(this,"cancellations",new Map),o()(this,"createCancellation",g=>{const _=(0,n.M2)();return this.cancellations.set(g,_),_.cancelToken}),o()(this,"triggerCancelUpload",g=>{const _=this.cancellations.get(g);_&&(_.onCancel(),this.deleteCancellation(g))}),o()(this,"deleteCancellation",g=>{this.cancellations.delete(g)}),o()(this,"hasCancellation",g=>this.cancellations.has(g))}}const i=new a,c=i.createCancellation,u=i.triggerCancelUpload,f=i.deleteCancellation,d=i.hasCancellation},536285:function(b,l,e){"use strict";e.d(l,{$:()=>o});var r=e(478698);const o=n=>{(0,r.Mw)(n)&&(0,r.CO)(n)}},318842:function(b,l,e){"use strict";e.r(l),e.d(l,{EventTrackingContext:()=>g,EventTrackingProvider:()=>p,FILE_SOURCE:()=>h.rn,OVERFLOW_OPTION:()=>h.k_,UPLOADER_ORIGIN:()=>h.Hs,UPLOAD_OPTION:()=>h.sW,useEventTrackingContext:()=>_,withEventTrackingConsumer:()=>O,withEventTrackingContext:()=>y});var r=e(160553),o=e.n(r),n=e(174161),a=e(367167),i=e(221661),c=e.n(i),u=e(192628),f=e.n(u),d=e(552813),h=e(8619);const g=(0,n.createContext)({}),_=()=>(0,n.useContext)(g),p=P=>{let{children:C}=P;const A={actor:"user",event_owner_team:"asset_management",event_source:"web",file_source:null,indirect_object_type:"menu",member_account_id:null,object_id:null,object_identifier:null,product_area:"AssetUploader",file_size_bytes:null,file_type:null,uploader_origin:h.Hs.DEFAULT},[S,T]=(0,n.useState)(null),s=(0,n.useCallback)(J=>{let{contentType:me,environment:re,indirectObjectIdentifier:he,indirectObjectValue:Ee,productPage:fe,productSection:H,productItemId:z,uploaderVersion:_e,uploaderOrigin:ae,userMemberAccountId:ge,websiteId:Be}=J;const Ke=(0,d.i)(re),He=new(c())(Ke,{...A,content_item_id:z,content_type:me,context_website_id:Be,indirect_object_identifier:he,indirect_object_value:Ee,member_account_id:ge||null,product_page:fe,product_section:H,uploader_origin:ae||A.uploader_origin,uploader_version:_e});T(He)},[d.i,c()]),v=(0,n.useCallback)(()=>{T(null)},[]),m=J=>{try{S.track(J)}catch{console.error(`[${A.product_area}] Event Tracker not initialized`)}},E=function(){let J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{objectDisplayName:me=h.Bv.CLICK_OR_DRAG_AND_DROP}=J;m({action:h.om.CLICK,event_name:h.W1.USER_CLICKS_TO_SELECT_FILE,object_type:h.Ng.MENU_ITEM,object_identifier:h.jC.CLICK_TO_SELECT,object_display_name:me})},I=function(J){let me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{name:re,type:he}=J,{objectDisplayName:Ee=h.Bv.CLICK_OR_DRAG_AND_DROP}=me;m({action:h.om.CLICK,event_name:h.W1.USER_DRAGS_AND_DROPS_FILE,file_type:he,file_source:h.rn.OPERATING_SYSTEM,object_display_name:Ee,object_identifier:h.jC.DRAG_AND_DROP,object_type:h.Ng.MENU_ITEM,object_value:re})},L=()=>{m({action:h.om.VIEW,event_name:h.W1.USER_VIEWS_OS_FILE_MENU,object_identifier:h.jC.OS_FILE_MENU,object_type:h.Ng.MENU,file_source:h.rn.OPERATING_SYSTEM})},W=()=>{m({action:h.om.VIEW,event_name:h.W1.USER_VIEWS_SELECT_FILE_OPTIONS,object_identifier:h.jC.SELECT_FILE_OPTIONS,object_type:h.Ng.MODAL})},F=J=>{let{filename:me,fileType:re,id:he}=J;m({action:h.om.CLICK,event_name:h.W1.USER_CLICKS_REPLACE_FILE,file_type:re,object_id:he,object_identifier:h.jC.REPLACE_FILE,object_type:h.Ng.BUTTON,object_value:me})},G=J=>{let{filename:me,fileType:re,id:he}=J;m({action:h.om.CLICK,event_name:h.W1.USER_CLICKS_EDIT_FILE,file_type:re,object_id:he,object_identifier:h.jC.EDIT_FILE,object_type:h.Ng.BUTTON,object_value:me})},k=()=>{m({action:h.om.CLICK,event_name:h.W1.USER_CLICKS_FILE_OVERFLOW,object_type:h.Ng.MENU_ITEM,object_identifier:h.jC.FILE_OVERFLOW_MENU})},x=J=>{m({action:h.om.SELECT,event_name:h.W1.USER_SELECTS_OPTION_FROM_FILE_OVERFLOW,object_type:h.Ng.MENU_ITEM,object_identifier:h.jC.FILE_OVERFLOW_MENU,object_value:J})},M=J=>{let{id:me,filename:re,fileType:he,fileSize:Ee,fileSource:fe,imageType:H}=J;m({action:h.om.CLICK,event_name:h.W1.USER_ADDS_FILE,file_type:he,file_size_bytes:Ee,file_source:fe,image_type:H,object_identifier:h.jC.ADD_FILE,object_type:h.Ng.MENU_ITEM,object_value:re,object_id:me})},B=J=>{let{id:me,filename:re,fileType:he,fileSize:Ee,fileSource:fe,folderId:H,imageType:z,timing:_e,fileDuration:ae,isBackgroundUploaded:ge}=J;m({action:h.om.LOAD,event_name:h.W1.USER_FILE_LOADS,event_timing_ms:_e,file_length_seconds:ae?Math.round(ae):null,file_size_bytes:Ee,file_source:fe,file_type:he,folder_id:H,image_type:z,object_id:me,object_identifier:h.jC.UPLOAD_FILE,object_type:h.Ng.FILE,object_value:re,is_background_uploaded:ge??!1})},R=J=>{let{url:me,fileDuration:re}=J;return m({action:h.om.CLICK,event_name:h.W1.USER_LINKS_EXTERNAL_VIDEO,object_type:h.Ng.URL_PARSE,object_identifier:h.jC.LINK,object_value:me,file_length_seconds:Math.round(re)})},U=J=>{m({action:h.om.SELECT,event_name:h.W1.USER_SELECTS_FILE_UPLOAD_OPTIONS,object_type:h.Ng.MENU_ITEM,object_identifier:h.jC.SELECT_FILE_OPTIONS,object_value:J})},j=J=>{let{filename:me,fileType:re,id:he}=J;m({action:h.om.CLICK,event_name:h.W1.USER_MOVES_FOCAL_POINT,object_identifier:`${re}-${h.jC.MEDIA_FOCAL_POINT}`,object_type:h.Ng.MENU_ITEM,object_value:me,file_type:re,object_id:he})},$=J=>{let{filename:me,fileType:re,id:he}=J;m({action:h.om.CLICK,event_name:h.W1.USER_PURCHASES_STOCK_IMAGE,object_type:h.Ng.BUTTON,object_identifier:h.jC.PURCHASE_FILE,object_value:me,file_type:re,file_source:h.rn.PAID,object_id:he})},ee=J=>{let{errorMessage:me,errorCode:re,fileSource:he}=J;return m({action:h.om.VIEW,event_name:h.W1.USER_VIEWS_ERROR_MODAL,object_type:h.Ng.MODAL,object_identifier:h.jC.ERROR_MODAL,object_display_name:me,object_value:re,file_source:he})},te=J=>{let{limit:me,timeRemaining:re,upgradeMessage:he,upgradeTitle:Ee}=J;return m({action:h.om.VIEW,event_name:h.W1.USER_VIEWS_UPGRADE_MODAL,object_type:h.Ng.MODAL,object_identifier:h.jC.UPGRADE_MODAL,object_display_name:Ee,object_value:he,storage_capacity_seconds:me,storage_remaining_seconds:re})},ie=J=>{let{label:me,limit:re,timeRemaining:he,value:Ee}=J;return m({action:h.om.VIEW,event_name:h.W1.USER_SELECTS_OPTION_FROM_UPGRADE_MODAL,object_type:h.Ng.MODAL,object_identifier:h.jC.UPGRADE_MODAL_ACTION,object_display_name:me,object_value:Ee,storage_capacity_seconds:re,storage_remaining_seconds:he})},ne=J=>{let{timeRemaining:me,limit:re,indirectSource:he}=J;m({action:h.om.CLICK,event_name:h.W1.USER_CLICKS_FOR_MORE_INFO,object_type:h.Ng.BUTTON,object_identifier:h.jC.MORE_INFO,storage_remaining_seconds:me,storage_capacity_seconds:re,indirect_object_type:he})},pe=J=>{let{timeRemaining:me,limit:re}=J;m({actor:"system",action:h.om.UPDATE,event_name:h.W1.USER_REACHES_STORAGE_LIMIT,object_type:h.Ng.WEBSITE,object_identifer:h.jC.STORAGE_LIMIT,storage_remaining_seconds:me,storage_capacity_seconds:re})},oe=()=>{m({action:h.om.VIEW,event_name:h.W1.USER_VIEWS_MODAL,object_identifier:h.jC.MOBILE_ASSET_DROP,object_type:h.Ng.MODAL})},q=J=>{m({action:h.om.SELECT,event_name:h.W1.USER_SELECTS_MODAL_ITEM,object_identifier:h.jC.MOBILE_ASSET_DROP,object_value:J,object_type:h.Ng.BUTTON})};return n.createElement(g.Provider,{value:{cleanupTracker:v,initializeTracker:s,trackClickToSelectFile:E,trackDragAndDropFile:I,trackUserClicksFileOverflow:k,trackUserFocalPointUpdate:j,trackUserPurchaseStockImage:$,trackUserSelectsEditFile:G,trackUserSelectsFileUploadOption:U,trackUserSelectsOverflowOption:x,trackUserSelectsReplaceFile:F,trackViewOSFileMenu:L,trackViewSelectFileOptions:W,tracksUserAddsFile:M,tracksUserFileLoads:B,tracksUserLinksExternalVideo:R,trackUserViewsErrorModal:ee,trackUserViewsUpgradeModal:te,trackUserSelectsUpgradeModalOption:ie,trackUserClicksForMoreInfo:ne,trackUserReachesStorageLimit:pe,trackUserViewsModal:oe,trackUserSelectsModalItem:q}},C)},y=P=>{const C=A=>n.createElement(p,null,n.createElement(P,A));return C.displayName=`withEventTrackingContext(${(0,a.Z)(P)}`,C},O=P=>{const C=A=>n.createElement(g.Consumer,null,S=>n.createElement(P,o()({},A,{tracking:S})));return C.displayName=`withEventTrackingConsumer(${(0,a.Z)(P)}`,f()(C,P)}},8619:function(b,l,e){"use strict";e.d(l,{Bv:()=>c,Hs:()=>d,Ng:()=>a,W1:()=>r,jC:()=>n,k_:()=>u,om:()=>o,rn:()=>i,sW:()=>f});const r={USER_ADDS_FILE:"UserAddsFile",USER_CANCELS_FROM_OS_FILE_MENU:"UserCancelsFromOSFileMenu",USER_CLICKS_EDIT_FILE:"UserClicksEditFile",USER_CLICKS_FILE_OVERFLOW:"UserClicksFileOverflow",USER_CLICKS_FOR_MORE_INFO:"UserClicksForMoreInfo",USER_CLICKS_REPLACE_FILE:"UserClicksReplaceFile",USER_CLICKS_TO_SELECT_FILE:"UserClicksToSelectFile",USER_DRAGS_AND_DROPS_FILE:"UserDragsAndDropsFile",USER_FILE_LOADS:"UserFileLoads",USER_MOVES_FOCAL_POINT:"UserMovesFocalPoint",USER_REACHES_STORAGE_LIMIT:"UserReachesStorageLimit",USER_SELECTS_FILE_FROM_OS_FILE_MENU:"UserSelectsFileFromOSFileMenu",USER_SELECTS_FILE_UPLOAD_OPTIONS:"UserSelectsFileUploadOptions",USER_SELECTS_MODAL_ITEM:"UserSelectsModalItem",USER_SELECTS_OPTION_FROM_FILE_OVERFLOW:"UserSelectsOptionFromFileOverflow",USER_VIEWS_OS_FILE_MENU:"UserViewsOSFileMenu",USER_VIEWS_SELECT_FILE_OPTIONS:"UserViewsSelectFileOptions",USER_PURCHASES_STOCK_IMAGE:"UserPurchasesStockImage",USER_LINKS_EXTERNAL_VIDEO:"UserLinksExternalVideo",USER_VIEWS_ERROR_MODAL:"UserViewsErrorModal",USER_VIEWS_MODAL:"UserViewsModal",USER_VIEWS_UPGRADE_MODAL:"UserViewsUpgradeModal",USER_SELECTS_OPTION_FROM_UPGRADE_MODAL:"UserSelectsOptionFromUpgradeModal"},o={CANCEL:"cancel",CLICK:"click",LOAD:"load",SELECT:"select",VIEW:"view",UPDATE:"update"},n={CLICK_TO_SELECT:"click-to-select",DRAG_AND_DROP:"drag-and-drop",SELECT_FILE_OPTIONS:"select-file-options",OS_FILE_MENU:"os-file-menu",OS_FILE_MENU_SELECT:"os-file-menu-select",ADD_FILE:"add-file",UPLOAD_FILE:"upload-file",EDIT_FILE:"edit-file",REPLACE_FILE:"replace-file",PURCHASE_FILE:"purchase-file",MEDIA_FOCAL_POINT:"focal-point",FILE_OVERFLOW_MENU:"file-overflow-menu",LINK:"link",ERROR_MODAL:"error-modal",UPGRADE_MODAL:"upgrade-modal",UPGRADE_MODAL_ACTION:"upgrade-modal-option",MORE_INFO:"more-info",STORAGE_LIMIT:"storage_limit",MOBILE_ASSET_DROP:"mobile-asset-drop"},a={BUTTON:"button",FILE:"file",MENU:"menu",MENU_ITEM:"menuitem",MODAL:"modal",URL_PARSE:"urlparse",WEBSITE:"website"},i={FREE:"free",LIBRARY:"library",OPERATING_SYSTEM:"operating-system",PAID:"paid",MOBILE_ASSET_DROP:"mobile-asset-drop",AI_BACKGROUND:"ai-background"},c={CLICK_OR_DRAG_AND_DROP:"Click to select file or drag and drop"},u={FOCAL_POINT:"focal-point",REMOVE:"remove"},f={UPLOAD_FILE:"upload-file",SELECT_FROM_LIBRARY:"select-from-library",BROWSE_STOCK_IMAGES:"browse-stock-images",ADD_FROM_LINK:"add-from-link",MOBILE_ASSET_DROP:"mobile-asset-drop",BROWSE_BACKGROUNDS:"browse-backgrounds"},d={DEFAULT:"default",EMPTY_STATE:"empty-state",QUICK_ACTION:"quick-action"}},565809:function(b,l,e){"use strict";e.r(l),e.d(l,{trackUserClicksForMoreInfo:()=>W,trackUserViewsUpgradeModal:()=>I,trackUserClicksFileOverflow:()=>_,trackUserSelectsOverflowOption:()=>C,tracksUserLinksExternalVideo:()=>m,UPLOAD_OPTION:()=>i.sW,trackUserSelectsFileUploadOption:()=>P,FILE_SOURCE:()=>i.rn,trackClickToSelectFile:()=>h,trackUserReachesStorageLimit:()=>F,trackDragAndDropFile:()=>g,trackUserSelectsEditFile:()=>O,trackUserSelectsUpgradeModalOption:()=>L,setTrackingPayload:()=>d,trackUserFocalPointUpdate:()=>p,trackUserPurchaseStockImage:()=>y,trackUserSelectsModalItem:()=>k,trackUserViewsErrorModal:()=>E,trackViewOSFileMenu:()=>S,trackViewSelectFileOptions:()=>T,tracksUserFileLoads:()=>v,tracksUserAddsFile:()=>s,trackUserSelectsReplaceFile:()=>A,trackUserViewsModal:()=>G});var r=e(608284),o=e(221661),n=e.n(o),a=e(981491),i=e(8619),c=e(552813);class u{constructor(){const M={actor:"user",event_owner_team:"asset_management",event_source:"web",file_source:null,indirect_object_type:"menu",member_account_id:null,object_id:null,object_identifier:null,product_area:"AssetUploader",file_size_bytes:null,file_type:null,uploader_origin:i.Hs.DEFAULT},B=a.isDev()?r.Z.DEVELOPMENT:a.isInternal()?r.Z.STAGING:r.Z.PRODUCTION,R=(0,c.i)(B);this.defaultConfig={...M},this.tracker=new(n())(R,this.defaultConfig)}setTrackingValues(M){let{contentType:B,indirectObjectIdentifier:R,indirectObjectValue:U,productItemId:j,productPage:$,productSection:ee,uploaderOrigin:te,uploaderVersion:ie,userMemberAccountId:ne=null,websiteId:pe,websiteLocale:oe}=M;this.defaultConfig.content_item_id=j,this.defaultConfig.content_type=B,this.defaultConfig.context_website_id=pe,this.defaultConfig.indirect_object_identifier=R,this.defaultConfig.indirect_object_value=U,this.defaultConfig.member_account_id=ne,this.defaultConfig.product_page=$,this.defaultConfig.product_section=ee,this.defaultConfig.uploader_origin=te||this.defaultConfig.uploader_origin,this.defaultConfig.uploader_version=ie,this.defaultConfig.website_locale=oe}track(M){if(!this.tracker){console.warn("Event is firing before the environment is initialized!");return}this.tracker.track(M)}}const f=new u,d=x=>{f.setTrackingValues(x)},h=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{objectDisplayName:M=i.Bv.CLICK_OR_DRAG_AND_DROP}=x;f.track({action:i.om.CLICK,event_name:i.W1.USER_CLICKS_TO_SELECT_FILE,object_type:i.Ng.MENU_ITEM,object_identifier:i.jC.CLICK_TO_SELECT,object_display_name:M})},g=function(x){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{name:B,type:R}=x,{objectDisplayName:U=i.Bv.CLICK_OR_DRAG_AND_DROP}=M;f.track({action:i.om.CLICK,event_name:i.W1.USER_DRAGS_AND_DROPS_FILE,file_type:R,file_source:i.rn.OPERATING_SYSTEM,object_display_name:U,object_identifier:i.jC.DRAG_AND_DROP,object_type:i.Ng.MENU_ITEM,object_value:B})},_=()=>{f.track({action:i.om.CLICK,event_name:i.W1.USER_CLICKS_FILE_OVERFLOW,object_type:i.Ng.MENU_ITEM,object_identifier:i.jC.FILE_OVERFLOW_MENU})},p=x=>{let{filename:M,fileType:B,id:R}=x;f.track({action:i.om.CLICK,event_name:i.W1.USER_MOVES_FOCAL_POINT,object_identifier:`${B}-${i.jC.MEDIA_FOCAL_POINT}`,object_type:i.Ng.MENU_ITEM,object_value:M,file_type:B,object_id:R})},y=x=>{let{filename:M,fileType:B,id:R}=x;f.track({action:i.om.CLICK,event_name:i.W1.USER_PURCHASES_STOCK_IMAGE,object_type:i.Ng.BUTTON,object_identifier:i.jC.PURCHASE_FILE,object_value:M,file_type:B,file_source:i.rn.PAID,object_id:R})},O=x=>{let{filename:M,fileType:B,id:R}=x;f.track({action:i.om.CLICK,event_name:i.W1.USER_CLICKS_EDIT_FILE,file_type:B,object_id:R,object_identifier:i.jC.EDIT_FILE,object_type:i.Ng.BUTTON,object_value:M})},P=x=>{f.track({action:i.om.SELECT,event_name:i.W1.USER_SELECTS_FILE_UPLOAD_OPTIONS,object_type:i.Ng.MENU_ITEM,object_identifier:i.jC.SELECT_FILE_OPTIONS,object_value:x})},C=x=>{f.track({action:i.om.SELECT,event_name:i.W1.USER_SELECTS_OPTION_FROM_FILE_OVERFLOW,object_type:i.Ng.MENU_ITEM,object_identifier:i.jC.FILE_OVERFLOW_MENU,object_value:x})},A=x=>{let{filename:M,fileType:B,id:R}=x;f.track({action:i.om.CLICK,event_name:i.W1.USER_CLICKS_REPLACE_FILE,file_type:B,object_id:R,object_identifier:i.jC.REPLACE_FILE,object_type:i.Ng.BUTTON,object_value:M})},S=()=>{f.track({action:i.om.VIEW,event_name:i.W1.USER_VIEWS_OS_FILE_MENU,object_identifier:i.jC.OS_FILE_MENU,object_type:i.Ng.MENU,file_source:i.rn.OPERATING_SYSTEM})},T=()=>{f.track({action:i.om.VIEW,event_name:i.W1.USER_VIEWS_SELECT_FILE_OPTIONS,object_identifier:i.jC.SELECT_FILE_OPTIONS,object_type:i.Ng.MODAL})},s=x=>{let{id:M,filename:B,fileType:R,fileSize:U,fileSource:j,imageType:$}=x;f.track({action:i.om.CLICK,event_name:i.W1.USER_ADDS_FILE,file_type:R,file_size_bytes:U,file_source:j,image_type:$,object_identifier:i.jC.ADD_FILE,object_type:i.Ng.MENU_ITEM,object_value:B,object_id:M})},v=x=>{let{id:M,filename:B,fileType:R,fileSize:U,fileSource:j,folderId:$,imageType:ee,timing:te,fileDuration:ie,isBackgroundUploaded:ne}=x;f.track({action:i.om.LOAD,event_name:i.W1.USER_FILE_LOADS,event_timing_ms:te,file_length_seconds:ie?Math.round(ie):null,file_size_bytes:U,file_source:j,file_type:R,folder_id:$,image_type:ee,object_id:M,object_identifier:i.jC.UPLOAD_FILE,object_type:i.Ng.FILE,object_value:B,is_background_uploaded:ne??!1})},m=x=>{let{url:M,fileDuration:B}=x;return f.track({action:i.om.CLICK,event_name:i.W1.USER_LINKS_EXTERNAL_VIDEO,object_type:i.Ng.URL_PARSE,object_identifier:i.jC.LINK,object_value:M,file_length_seconds:Math.round(B)})},E=x=>{let{errorMessage:M,errorCode:B,fileSource:R}=x;return f.track({action:i.om.VIEW,event_name:i.W1.USER_VIEWS_ERROR_MODAL,object_type:i.Ng.MODAL,object_identifier:i.jC.ERROR_MODAL,object_display_name:M,object_value:B,file_source:R})},I=x=>{let{limit:M,timeRemaining:B,upgradeMessage:R,upgradeTitle:U}=x;return f.track({action:i.om.VIEW,event_name:i.W1.USER_VIEWS_UPGRADE_MODAL,object_type:i.Ng.MODAL,object_identifier:i.jC.UPGRADE_MODAL,object_display_name:U,object_value:R,storage_capacity_seconds:M,storage_remaining_seconds:B})},L=x=>{let{label:M,limit:B,timeRemaining:R,value:U}=x;return f.track({action:i.om.VIEW,event_name:i.W1.USER_SELECTS_OPTION_FROM_UPGRADE_MODAL,object_type:i.Ng.MODAL,object_identifier:i.jC.UPGRADE_MODAL_ACTION,object_display_name:M,object_value:U,storage_capacity_seconds:B,storage_remaining_seconds:R})},W=x=>{let{timeRemaining:M,limit:B,indirectSource:R}=x;f.track({action:i.om.CLICK,event_name:i.W1.USER_CLICKS_FOR_MORE_INFO,object_type:i.Ng.BUTTON,object_identifier:i.jC.MORE_INFO,storage_remaining_seconds:M,storage_capacity_seconds:B,indirect_object_type:R})},F=x=>{let{timeRemaining:M,limit:B}=x;f.track({actor:"system",action:i.om.UPDATE,event_name:i.W1.USER_REACHES_STORAGE_LIMIT,object_type:i.Ng.WEBSITE,object_identifer:i.jC.STORAGE_LIMIT,storage_remaining_seconds:M,storage_capacity_seconds:B})},G=()=>{f.track({action:i.om.VIEW,event_name:i.W1.USER_VIEWS_MODAL,object_identifier:i.jC.MOBILE_ASSET_DROP,object_type:i.Ng.MODAL})},k=x=>{f.track({action:i.om.SELECT,event_name:i.W1.USER_SELECTS_MODAL_ITEM,object_identifier:i.jC.MOBILE_ASSET_DROP,object_value:x,object_type:i.Ng.BUTTON})}},552813:function(b,l,e){"use strict";e.d(l,{i:()=>g});var r=e(608284),o=e(221661),n=e.n(o),a;const i={customSchemaName:"AssetUploader",fireEvents:!0,logging:!1,useBeacon:!0,validateMode:!1},c={...i,devBaseDomainUrl:(a=window.location)===null||a===void 0?void 0:a.origin,logging:!0,sourceEnvironment:o.SourceEnvironment.DEV},u={...i,sourceEnvironment:o.SourceEnvironment.QA},f={...i,sourceEnvironment:o.SourceEnvironment.STAGING},d={...i,sourceEnvironment:o.SourceEnvironment.PROD},h={[r.Z.DEVELOPMENT]:c,[r.Z.DEV_PROXY]:c,[r.Z.QA]:u,[r.Z.STAGING]:f,[r.Z.PRODUCTION]:d},g=_=>h[_]},189277:function(b,l,e){"use strict";e.d(l,{Z:()=>x});var r={};e.r(r),e.d(r,{addNewUpload:()=>I,addQueuedUpload:()=>C,clearUpload:()=>L,clearUploads:()=>W,completeUpload:()=>m,failUpload:()=>s,markCompletionXHRsAsExecutable:()=>E,processUpload:()=>T,resetUpload:()=>F,setUploadCompletionXHRConfig:()=>G,startUpload:()=>A,updateUploadProgress:()=>S,uploadAndProcessFile:()=>P,uploadFileSuccess:()=>v});var o=e(269399),n=e(839403),a=e(608284),i=e(778515),c=e(559470),u=e(786221),f=e(808391),d=e(20666),h=e(905790),g=e(398084),_=e(478698),p=e(817254),y=e(115729);const P=function(M,B,R){let{fieldDescription:U,fieldId:j,folderId:$,assetType:ee,uploadRequestConfig:te,envConfig:ie,environment:ne,assetId:pe,completionXHRConfig:oe,constraints:q,isUploadVisible:J,shouldResetOnCancel:me=!0,validateFile:re}=B,he=arguments.length>3&&arguments[3]!==void 0?arguments[3]:()=>{};const Ee=async()=>re?await re():await(0,g.ZP)(ee,M,q);return async(fe,H)=>{const z=(0,n.w3)(U,j),_e=ie&&!ne?(0,a.a)(ie):ne||a.Z.PRODUCTION,ae=ge=>{fe(S(z,ge))};try{if(ee===null)throw i.Z.INVALID_FILE_TYPE;const ge=await Ee();if(!ge.isValidFile){const Le={message:ge.message};fe(s(z,Le));return}const Be=(0,n.av)({assetType:ee,id:pe,isExternalUrl:!1},M);fe(A(z,Be,oe,J));const Ke=(0,_.rj)(z),He=await(0,h.Z)(ee,M,{onProgress:ae,environment:_e,cancelToken:Ke,websiteId:te.websiteId},$);he(!1),fe(T(z)),(0,_.O)(z);const ye=await(0,d.Z)(ee,He.data.jobId,_e);if(ye.isSuccess){const Le=(0,f.Z)(ee,ye.assetRecord);fe(v(z,Le)),Be.assetUrl&&(0,n.ZA)(Be.assetUrl);const Ue=(0,n.Ci)(H(),z)??{},{shouldExecuteCompletionXHRs:Xe,completionXHRConfig:Fe}=Ue,ht=Fe!==void 0&&Xe===!0&&Le.id!==void 0;ht&&await(0,y.d)(Fe,Le.id),await R(Le,M.size,ht),fe(m(z))}else{const Le=c.Z.fromFailedJob(ye,q);fe(s(z,Le));return}}catch(ge){if(he(!(0,_.Mw)(z)),(0,p.cH)(ge)){if(me){fe(L(z)),fe(I(z));return}const He=u.Ns[1];fe(s(z,He()));return}if(ge===i.Z.INVALID_FILE_TYPE){const He=u.JN[1];fe(s(z,He()));return}const Be=(0,n.rk)(ge),Ke=c.Z.fromUploadError({assetType:ee,statusCode:Be},q);fe(s(z,Ke));return}}},C=(M,B)=>({type:n.sK.ADD_QUEUED_UPLOAD,uploadId:M,payload:B}),A=(M,B,R,U)=>({type:n.sK.START_UPLOAD,uploadId:M,payload:B,completionXHRConfig:R,isUploadVisible:U}),S=(M,B)=>({type:n.sK.UPDATE_UPLOAD_PROGRESS,uploadId:M,payload:B}),T=(M,B)=>({type:n.sK.PROCESS_UPLOAD,uploadId:M,payload:B}),s=(M,B)=>({type:n.sK.FAIL_UPLOAD,uploadId:M,payload:B}),v=(M,B)=>({type:n.sK.UPLOAD_FILE_SUCCESS,uploadId:M,payload:B}),m=(M,B)=>({type:n.sK.COMPLETE_UPLOAD,uploadId:M,payload:B}),E=(M,B)=>({type:n.sK.MARK_COMPLETION_XHRS_AS_EXECUTABLE,uploadId:M,payload:B}),I=M=>({type:n.sK.ADD_NEW_UPLOAD,uploadId:M}),L=M=>({type:n.sK.CLEAR_UPLOAD,uploadId:M}),W=()=>({type:n.sK.CLEAR_UPLOADS}),F=M=>({type:n.sK.RESET_UPLOAD,uploadId:M}),G=(M,B)=>({type:n.sK.SET_COMPLETION_XHR_CONFIG,uploadId:M,completionXHRConfig:B});var k=e(912555);const x=(0,o.bindActionCreators)(r,k.ZP.dispatch)},912555:function(b,l,e){"use strict";e.d(l,{ZP:()=>O,AU:()=>y,fS:()=>_,GS:()=>p});var r=e(851939),o=e(683683),n=e(839403);const i=(P,C)=>{switch(C.type){case n.su.START_UPLOAD:return{...P,uploadState:o.h.Uploading,uploadProgress:0,assetDetails:{...P.assetDetails,...C.payload},isUploadVisible:!0};case n.su.UPDATE_UPLOAD_PROGRESS:return{...P,uploadState:o.h.Uploading,uploadProgress:C.payload};case n.su.PROCESS_UPLOAD:return{...P,uploadState:o.h.Processing,assetDetails:{...P.assetDetails,...C.payload}};case n.su.UPLOAD_FILE_SUCCESS:return{...P,uploadState:o.h.UploadComplete,assetDetails:{...P.assetDetails,...C.payload}};case n.su.COMPLETE_UPLOAD:return{...P,uploadState:o.h.Complete,assetDetails:{...P.assetDetails,...C.payload}};case n.su.FAIL_UPLOAD:return{...P,uploadState:o.h.Error,uploadError:C.payload};case n.su.RESET_UPLOAD:return{...n.ke};default:return new Error("Invalid action")}},c=(P,C)=>{if(!C.uploadId)return P;const A=(0,n.Ci)(P,C.uploadId)||(0,n.td)(C.uploadId,C.payload),S=i(A,C);return(0,n.gs)(P,S)},u=(P,C)=>{if(!C.uploadId)return P;const A=(0,n.uG)(P,C.uploadId);if(A===-1)return P;const S={...P[A],isUploadVisible:!1,uploadId:(0,n._z)(C.uploadId),uploadState:o.h.Archived},T=[...P];return T[A]=S,T},f=(P,C)=>P??!!(C!=null&&C.length),h=function(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],C=arguments.length>1?arguments[1]:void 0;switch(C.type){case n.sK.ADD_QUEUED_UPLOAD:{if(!C.uploadId)return P;const S=(0,n.td)(C.uploadId,{uploadState:o.h.Queued,isUploadVisible:!0,...C.payload});return[...P,S]}case n.sK.START_UPLOAD:{if(!C.uploadId)return P;const S=(0,n.uG)(P,C.uploadId),T=P[S],s=T.uploadState!==o.h.Empty&&T.uploadState!==o.h.Queued&&T.isUploadVisible,v=[...P];s&&(v.splice(S,1,{...T,uploadId:(0,n._z)(T.uploadId)}),v.push((0,n.td)(C.uploadId,C.payload)));const m=i((0,n.Ci)(v,C.uploadId),C);return m.completionXHRConfig=T.completionXHRConfig??C.completionXHRConfig,m.isUploadVisible=f(C.isUploadVisible,m.completionXHRConfig),(0,n.gs)(v,m)}case n.sK.UPDATE_UPLOAD_PROGRESS:case n.sK.PROCESS_UPLOAD:{if(!C.uploadId)return P;const S=i((0,n.Ci)(P,C.uploadId),C);return(0,n.gs)(P,S)}case n.sK.FAIL_UPLOAD:{var A;if(!C.uploadId)return P;const S=i((0,n.Ci)(P,C.uploadId),C);return S.isUploadVisible=((A=C.payload)===null||A===void 0?void 0:A.isUploadVisible)??S.isUploadVisible,(0,n.gs)(P,S)}case n.sK.UPLOAD_FILE_SUCCESS:return c(P,C);case n.sK.COMPLETE_UPLOAD:{if(!C.uploadId)return P;const S=(0,n.Ci)(P,C.uploadId)||(0,n.td)(C.uploadId,C.payload),T=i(S,C);return(0,n.gs)(P,T)}case n.sK.ADD_NEW_UPLOAD:return C.uploadId?[...P,(0,n.td)(C.uploadId)]:P;case n.sK.CLEAR_UPLOAD:return u(P,C);case n.sK.CLEAR_UPLOADS:return[];case n.sK.MARK_COMPLETION_XHRS_AS_EXECUTABLE:return C.uploadId?(0,n.gs)(P,{...(0,n.Ci)(P,C.uploadId),shouldExecuteCompletionXHRs:!!C.payload}):P;case n.sK.RESET_UPLOAD:return P.reduce((S,T)=>{const{uploadId:s,isUploadVisible:v}=T;return s===C.uploadId?v?[...S,{...T,uploadId:(0,n._z)(s)}]:S:[...S,T]},[]);case n.sK.SET_COMPLETION_XHR_CONFIG:return C.uploadId?(0,n.gs)(P,{...(0,n.Ci)(P,C.uploadId),completionXHRConfig:C.completionXHRConfig}):P;case n.sK.REPLACE_STATE:return C.state?[...C.state]:P;default:return P}},g=(0,r.configureStore)({reducer:h,preloadedState:[],middleware:P=>P({thunk:!0,immutableCheck:!1,serializableCheck:!1}),devTools:{name:"assets-upload-manager"}}),_=g.subscribe,p=g.getState,y=g.dispatch,O=g},115729:function(b,l,e){"use strict";e.d(l,{Z:()=>c,d:()=>i});var r=e(456903),o=e(683683),n=e(971558),a=e(189277);const i=(u,f)=>Promise.all(u.map(d=>r.default.request({...d,data:{...d.data,systemDataId:f}}))),c=function(u,f){let d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const h=(0,n.Z)(u,f);if(!h)return Promise.reject("No upload found");const{completionXHRConfig:g,shouldExecuteCompletionXHRs:_,uploadId:p,uploadState:y}=h;return y===o.h.Complete&&g&&(_||d)?i(g,h.assetDetails.id):(a.Z.markCompletionXHRsAsExecutable(p,!0),Promise.resolve())}},971558:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(839403),o=e(912555);const n=(a,i)=>(0,r.Ci)((0,o.GS)(),(0,r.w3)(a,i))},839403:function(b,l,e){"use strict";e.d(l,{Ci:()=>p,ZA:()=>u,_z:()=>S,av:()=>f,gs:()=>y,ke:()=>i,rk:()=>n,sK:()=>h,sP:()=>d,su:()=>a,td:()=>g,uG:()=>_,w3:()=>A,x5:()=>C});var r=e(683683);const o=T=>!!T&&typeof T=="object"&&T.hasOwnProperty("response"),n=T=>{if(o(T))return T.response||T.response.status},a={START_UPLOAD:"START_UPLOAD",UPDATE_UPLOAD_PROGRESS:"UPDATE_UPLOAD_PROGRESS",PROCESS_UPLOAD:"PROCESS_UPLOAD",UPLOAD_FILE_SUCCESS:"UPLOAD_FILE_SUCCESS",COMPLETE_UPLOAD:"COMPLETE_UPLOAD",FAIL_UPLOAD:"FAIL_UPLOAD",RESET_UPLOAD:"RESET_UPLOAD",SET_COMPLETION_XHR_CONFIG:"SET_COMPLETION_XHR_CONFIG"},i={uploadId:void 0,uploadState:r.h.Empty,uploadProgress:0,uploadError:void 0,assetDetails:{assetUrl:"",thumbnailUrl:void 0,providerName:void 0,assetType:void 0,filename:"",id:void 0,licensedAssetPreview:void 0,mediaFocalPoint:{x:.5,y:.5}},isUploadVisible:!1},c=T=>URL.createObjectURL(T),u=T=>URL.revokeObjectURL(T),f=(T,s)=>{const v={...T,thumbnailUrl:void 0,providerName:void 0};return s?{...v,filename:s==null?void 0:s.name,fileSize:s==null?void 0:s.size,assetUrl:c(s)}:v},d=T=>T===r.h.Uploading||T===r.h.Processing,h={...a,ADD_QUEUED_UPLOAD:"ADD_QUEUED_UPLOAD",ADD_NEW_UPLOAD:"ADD_NEW_UPLOAD",CLEAR_UPLOAD:"CLEAR_UPLOAD",CLEAR_UPLOADS:"CLEAR_UPLOADS",MARK_COMPLETION_XHRS_AS_EXECUTABLE:"MARK_COMPLETION_XHRS_AS_EXECUTABLE",RESET_UPLOAD:"RESET_UPLOAD",REPLACE_STATE:"REPLACE_STATE"},g=function(T){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{...i,initializationId:`${Date.now()}`,uploadId:T,...s}},_=(T,s)=>{for(let v=T.length-1;v>=0;v--)if(T[v].uploadId===s)return v;return-1},p=(T,s)=>T[_(T,s)],y=(T,s)=>{const v=_(T,s.uploadId);if(v===-1)return T;const m=Array.from(T);return m[v]=s,m},O=T=>T.filter(s=>{let{uploadState:v}=s;return v===UploadUIState.Complete}),P=T=>T.filter(s=>{let{isUploadVisible:v}=s;return v}),C=T=>T.filter(s=>{let{uploadState:v}=s;return d(v)}),A=(T,s)=>s&&T?`${T}-${s}`:"",S=T=>`${T}-${Date.now()}`},757948:function(b,l,e){"use strict";e.r(l),e.d(l,{isUploadIncomplete:()=>o.sP,subscribeToStore:()=>r.fS,getUploadId:()=>o.w3,dispatchToStore:()=>r.AU,actions:()=>n.Z,getStateFromStore:()=>r.GS,store:()=>r.ZP,useFileUploadComplete:()=>g,useUploadManager:()=>a.default,getUploadFromState:()=>i.Z,executeCompletionXHRsIfReady:()=>c.Z,findUpload:()=>o.Ci});var r=e(912555),o=e(839403),n=e(189277),a=e(336435),i=e(971558),c=e(115729),u=e(174161),f=e(628955),d=e(683683);const g=function(_){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:()=>{};const[y,O]=(0,u.useState)(!1),P=(0,f.Z)(_);return(0,u.useEffect)(()=>{const C=P===d.h.UploadComplete&&_===d.h.Complete;C!==y&&(O(C),p())},[p,y,P,_]),y}},336435:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>f,useUploadManager:()=>u});var r=e(174161),o=e(839403),n=e(189277),a=e(912555);const i=d=>(0,o.Ci)((0,a.GS)(),d),c=(d,h)=>i((0,o.w3)(d,h))||o.ke,u=d=>{let{fieldDescription:h,fieldId:g}=d;const[_,p]=(0,r.useState)(()=>(0,o.w3)(h,g)),[y,O]=(0,r.useState)(()=>c(h,g)),P=(I,L,W,F)=>{n.Z.uploadAndProcessFile(I,L,W,F)},C=(0,r.useCallback)((I,L,W,F)=>{const G=(0,o.av)(I,L);G&&n.Z.startUpload(_,G,W,F)},[_]),A=(0,r.useCallback)(I=>{n.Z.updateUploadProgress(_,I)},[_]),S=(0,r.useCallback)(function(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.Z.processUpload(_,I)},[_]),T=(0,r.useCallback)(function(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(y){var L;(0,o.ZA)(y==null||(L=y.assetDetails)===null||L===void 0?void 0:L.assetUrl)}n.Z.completeUpload(_,I)},[_,y]),s=(0,r.useCallback)(()=>{n.Z.resetUpload(_),n.Z.addNewUpload(_)},[_]),v=(0,r.useCallback)(()=>{n.Z.clearUpload(_),n.Z.addNewUpload(_)},[_]),m=(0,r.useCallback)(I=>{n.Z.failUpload(_,I)},[_]),E=(0,r.useCallback)(I=>{n.Z.setUploadCompletionXHRConfig(_,I)},[_]);return(0,r.useEffect)(()=>{const I=(0,o.w3)(h,g);I!==_&&p(I)},[_,h,g]),(0,r.useEffect)(()=>{if(_&&!i(_))try{n.Z.addNewUpload(_)}catch{n.Z.addNewUpload(_)}},[_]),(0,r.useEffect)(()=>()=>{const I=i(_);_&&I&&!I.isUploadVisible&&n.Z.clearUpload(_)},[_]),(0,r.useEffect)(()=>(0,a.fS)(()=>{O(i(_))}),[_]),{uploadData:y,getCurrentUpload:(0,r.useCallback)(()=>i(_),[_]),uploadId:_,onUploadAndProcessFile:P,onUploadStart:C,onUploadProgress:A,onUploadProcess:S,onUploadComplete:T,onUploadReset:s,onUploadFail:m,onUploadClear:v,onCompletionXHRConfigUpdate:E}},f=u},518099:function(b,l,e){"use strict";e.r(l),e.d(l,{Provider:()=>n,useFrameContext:()=>a});var r=e(174161);const o=r.createContext(void 0),n=i=>{let{children:c,component:u}=i;return r.createElement(o.Provider,{value:{component:u}},c)},a=()=>{const i=(0,r.useContext)(o);if(i)return i;throw new Error("To use useFrameContext, the component needs to be a child of FrameContext")}},356877:function(b,l,e){"use strict";e.r(l),e.d(l,{ThemeProvider:()=>o.f,handleCancelUpload:()=>r.$});var r=e(536285),o=e(136407)},14469:function(b,l,e){"use strict";e.d(l,{Ff:()=>i,Us:()=>o,Wx:()=>a});var r=e(174161);const o={MINI:"MINI",LARGE:"LARGE"},n=r.createContext(void 0),a=c=>{let{children:u,variant:f}=c;return r.createElement(n.Provider,{value:{variant:f}},u)},i=()=>{const c=(0,r.useContext)(n);if(c)return c;throw new Error("To use useSizeVariantContext, the component needs to be a child of SizeVariantContext")}},136407:function(b,l,e){"use strict";e.d(l,{T:()=>a,f:()=>n});var r=e(174161);const o=r.createContext(void 0),n=i=>{let{children:c,isInImageBlock:u,isCompact:f}=i;return r.createElement(o.Provider,{value:{isInImageBlock:u,isCompact:f}},c)},a=()=>{const i=(0,r.useContext)(o);if(i)return i;throw new Error("To use useThemeContext, the component needs to be a child of ThemeContext")}},786221:function(b,l,e){"use strict";e.d(l,{JN:()=>d,Ns:()=>f,aN:()=>h});var r=e(778515),o=e(695999),n=e(957167);const a=[r.Z.AUTHORIZATION_ERROR,()=>({message:(0,o.t)("Your authorization has expired. Refresh the page and try again.",null,{project:"assetManagement.assetUploader"})})],i=[r.Z.INTERNAL_ERROR,()=>({message:(0,o.t)("There was an error, retry with the same file.",null,{project:"assetManagement.assetUploader"})})],c=[r.Z.LIBRARY_LIMIT_EXCEEDED,(g,_)=>{const{timeExceeded:p,usage:y,timeRemaining:O}=_,P=(0,o.oH)((0,n.z)(p,Math.ceil));return{errorCode:r.Z.LIBRARY_LIMIT_EXCEEDED,timeExceeded:P,timeRemaining:O,usage:y,message:(0,o.t)("You've reached the sitewide limit for video content. Trim this video or delete {timeExceeded} of other content to upload this video.",{timeExceeded:P},{project:"assetManagement.assetUploader"})}}],u=[r.Z.FILENAME_MAX_LENGTH_EXCEEDED,g=>{let{maxFilenameLength:_}=g;return{title:(0,o.t)("Filename too long.",null,{project:"assetManagement.assetUploader"}),message:(0,o.t)("Filename must be less than {maxFilenameLength} characters.",{maxFilenameLength:_},{project:"assetManagement.assetUploader"})}}],f=[r.Z.UPLOAD_CANCELLED,()=>({message:(0,o.t)("Upload cancelled.",null,{project:"assetManagement.assetUploader"})})],d=[r.Z.INVALID_FILE_TYPE,()=>({message:(0,o.t)("File must be JPG, PNG, GIF, MP4, MOV, M4V.",null,{project:"assetManagement.assetUploader"})})],h=new Map([a,i,c,u,f])},559470:function(b,l,e){"use strict";e.d(l,{R:()=>k,Z:()=>U});var r=e(850882),o=e(778515),n=e(695999),a=e(957167);const i=j=>{const $=j.map(te=>te.toUpperCase()),ee=$.pop();return{fileTypes1:$.join(", "),fileTypes2:ee}},c=[o.Z.AUDIO_MAX_SIZE_EXCEEDED,j=>{let{maxSize:$}=j;return{title:(0,n.t)("The file is too large",null,{project:"assetManagement.assetUploader"}),message:(0,n.t)("Audio must be less than {maxSize}.",{maxSize:(0,n.oH)((0,a.q)($),{length:"short"})},{project:"assetManagement.assetUploader"})}}],u=[o.Z.AUDIO_TYPE_NOT_RECOGNIZED,j=>{let{acceptedTypes:$}=j;return{title:(0,n.t)("The file type is not supported",null,{project:"assetManagement.assetUploader"}),message:(0,n.t)("Audio must be an {fileTypes1}, or {fileTypes2} file.",{...i($)},{project:"assetManagement.assetUploader"})}}],f=new Map([c,u]);var d=e(786221);const h=[o.Z.VIDEO_MAX_SIZE_EXCEEDED,j=>{let{maxSize:$}=j;return{title:(0,n.t)("The file is too large",null,{project:"assetManagement.assetUploader"}),message:(0,n.t)("Files must be less than {maxSize}.",{maxSize:(0,n.oH)((0,a.q)($),{length:"short"})},{project:"assetManagement.assetUploader"})}}],g=new Map([h]);var _=e(347029);const p=[o.Z.FONT_TYPE_NOT_RECOGNIZED,j=>{let{acceptedTypes:$}=j;return{title:(0,n.t)("The file type is not supported",null,{project:"assetManagement.assetUploader"}),message:(0,n.t)("Fonts must be an {fileTypes1}, or {fileTypes2} file.",{...(0,_.e)($)},{project:"assetManagement.assetUploader"})}}],y=new Map([p]),O=[o.Z.IMAGE_MAX_SIZE_EXCEEDED,j=>{let{maxSize:$}=j;return{title:(0,n.t)("The file is too large",null,{project:"assetManagement.assetUploader"}),message:(0,n.t)("Image must be less than {maxSize}.",{maxSize:(0,n.oH)((0,a.q)($),{length:"short"})},{project:"assetManagement.assetUploader"})}}],P=[o.Z.IMAGE_MAX_RESOLUTION_EXCEEDED,()=>({message:(0,n.t)("Resolution must be less than 60 megapixels.",null,{project:"assetManagement.assetUploader"})})],C=[o.Z.IMAGE_TYPE_NOT_RECOGNIZED,j=>{let{acceptedTypes:$}=j;return{title:(0,n.t)("The file type is not supported",null,{project:"assetManagement.assetUploader"}),message:(0,n.t)("Image must be an {fileTypes1}, or {fileTypes2} file.",{...(0,_.e)($)},{project:"assetManagement.assetUploader"})}}],A=[o.Z.IMAGE_UNABLE_TO_PROCESS,()=>({title:(0,n.t)("The file is corrupted or invalid",null,{project:"assetManagement.assetUploader"}),message:(0,n.t)("Use another file.",null,{project:"assetManagement.assetUploader"})})],S=[o.Z.IMAGE_LICENSED,()=>({message:(0,n.t)("Stock images cannot be added.",null,{project:"assetManagement.assetUploader"})})],T=new Map([O,P,C,A,S]),s=[o.Z.VIDEO_MAX_SIZE_EXCEEDED,j=>{let{maxSize:$}=j;return{title:(0,n.t)("The file is too large",null,{project:"assetManagement.assetUploader"}),message:(0,n.t)("Video must be less than {maxSize}.",{maxSize:(0,n.oH)((0,a.q)($),{length:"short"})},{project:"assetManagement.assetUploader"})}}],v=[o.Z.VIDEO_MIN_RESOLUTION_NOT_MET,()=>({message:(0,n.t)("Resolution must be at least 360 pixels.",null,{project:"assetManagement.assetUploader"})})],m=[o.Z.VIDEO_MAX_RESOLUTION_EXCEEDED,()=>({message:(0,n.t)("Resolution must be less than 4K.",null,{project:"assetManagement.assetUploader"})})],E=[o.Z.VIDEO_TYPE_NOT_RECOGNIZED,j=>{let{acceptedTypes:$}=j;return{title:(0,n.t)("The file type is not supported",null,{project:"assetManagement.assetUploader"}),message:(0,n.t)("Video must be an {fileTypes1}, or {fileTypes2} file.",{...(0,_.e)($)},{project:"assetManagement.assetUploader"})}}],I=[o.Z.VIDEO_UNABLE_TO_PROCESS,()=>({title:(0,n.t)("The file is corrupted or invalid",null,{project:"assetManagement.assetUploader"}),message:(0,n.t)("Try again with another file.",null,{project:"assetManagement.assetUploader"})})],L=[o.Z.VIDEO_MAX_DURATION_EXCEEDED,j=>{let{maxDuration:$}=j;return{message:(0,n.t)("Video must be less than {maxDuration}.",{maxDuration:(0,n.oH)((0,a.z)($))},{project:"assetManagement.assetUploader"})}}],W=[o.Z.VIDEO_STREAM_NOT_FOUND,()=>({message:(0,n.t)("This file is missing a video stream.",null,{project:"assetManagement.assetUploader"})})],F=[o.Z.VIDEO_CODEC_NOT_RECOGNIZED,()=>({title:(0,n.t)("The file codec is not supported",null,{project:"assetManagement.assetUploader"}),message:(0,n.t)("Video codec must be H264, MPEG4, HEVC or ProRes.",null,{project:"assetManagement.assetUploader"})})],G=new Map([s,v,m,E,I,L,W,F]),k=new Map([...d.aN,...T,...G,...g,...y,...f]),x=j=>{const $=j==null?void 0:j.libraryLimitExceededDetails;if($)return{timeExceeded:$.projectedUsageAfterUpload-$.libraryLimit,usage:$.usage,timeRemaining:$.libraryLimit-$.usage}},U={fromFailedJob:(j,$)=>{const ee=j==null?void 0:j.failureReasonCode,te=x(j),ie=k.has(ee)?ee:o.Z.INTERNAL_ERROR;return k.get(ie)($,te)},fromUploadError:(j,$)=>{const ee={[r.h.IMAGE]:o.Z.IMAGE_MAX_SIZE_EXCEEDED,[r.h.VIDEO]:o.Z.VIDEO_MAX_SIZE_EXCEEDED},ie={401:o.Z.AUTHORIZATION_ERROR,413:ee[j.assetType]}[j.statusCode]||o.Z.INTERNAL_ERROR;return k.get(ie)($)}}},808391:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(850882);const o=f=>{const d=f;return{id:d.id,assetType:r.h.IMAGE,assetUrl:d.assetUrl,fileType:d.stringMetaData.originalMime,filename:d.stringMetaData.fileName,licensedAssetPreview:void 0,mediaFocalPoint:{x:.5,y:.5}}},n=f=>{const d=f,{videoFileFormat:h,outputVideoCodec:g,outputAudioCodec:_,fileName:p}=d.stringMetaData,{durationSeconds:y}=d.numericMetadata,O=d.stringMetaData.resolutions.split(","),P=s=>_?`${h}-${g}-${_}-${s}`:`${h}-${g}-${s}`,A=O.map(s=>P(s))[0],S=f.assetUrl.replace("{variant}",A),T=f.assetUrl.replace("{variant}","thumbnail");return{id:f.id,assetType:r.h.VIDEO,assetUrl:S,thumbnailUrl:T,filename:p,fileDuration:y}},a=f=>{const d=f;return{assetType:r.h.FILE,assetUrl:d.assetUrl,contentType:d.stringMetaData.fileClassification,fileSize:d.numericMetadata.bytes,filename:d.stringMetaData.fileName,id:d.id,urlId:d.urlId}},i={[r.h.IMAGE]:o,[r.h.VIDEO]:n,[r.h.FILE]:a,[r.h.FONT]:f=>f,[r.h.AUDIO]:f=>f},u=(f,d)=>i[f](d)},263681:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(377397),o=e.n(r),n=e(103372),a=e.n(n),i=e(850882),c=e(188337);const f=function(d){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{...d===i.h.IMAGE?c.GF:d===i.h.VIDEO?c.ep:d===i.h.FONT?c.rn:{},...o()(h,a())}}},347029:function(b,l,e){"use strict";e.d(l,{e:()=>o});const r=n=>n?n.map(a=>a.replace("quicktime","mov").replace(/.*\/(x-)?/,"")):[],o=n=>{const a=r(n).map(c=>c.toUpperCase()),i=a.pop();return{fileTypes1:a.join(", "),fileTypes2:i}}},848047:function(b,l,e){"use strict";e.d(l,{a:()=>c});var r=e(608284);const o="/api/media",n="https://media.dev.squarespace.net",a="https://media.stage.sqsp.net",i="https://media-api.squarespace.com",c=u=>{switch(u){case r.Z.QA:case r.Z.STAGING:return a;case r.Z.DEVELOPMENT:return n;case r.Z.DEV_PROXY:return o;default:return i}}},155019:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(850882),o=e(695999),n=e(347029),a=e(957167);const i=(h,g)=>(0,o.t)("File types accepted are {fileTypes1}, and {fileTypes2}.",{...(0,n.e)(h)},{project:"assetManagement.assetUploader"}).concat(" ",g),c=(h,g)=>{const _=g||(0,o.t)("{maxVideoDuration} max.",{maxVideoDuration:(0,o.oH)((0,a.z)(h.maxDuration))},{project:"assetManagement.assetUploader"});return i(h.acceptedTypes,_)},u=(h,g)=>{const _=g||(0,o.t)("{maxFileSize} max.",{maxFileSize:(0,o.oH)((0,a.q)(h.maxSize),{length:"short"})},{project:"assetManagement.assetUploader"});return i(h.acceptedTypes,_)},d=()=>({[r.h.IMAGE]:u,[r.h.VIDEO]:c})},485747:function(b,l,e){"use strict";e.r(l),e.d(l,{getCurrentConstraints:()=>o.Z,validateFile:()=>r.ZP});var r=e(398084),o=e(263681)},957167:function(b,l,e){"use strict";e.d(l,{q:()=>o,z:()=>r});const r=function(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Math.floor;const i=n<60,c=n<3600;return{value:a(i?n:c?n/60:n/3600),unit:i?"second":c?"minute":"hour"}},o=n=>{const a=n>=1024;return{value:a?n/1024:n,unit:a?"gigabyte":"megabyte"}}},20666:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(456903),o=e(848047);const n=(c,u,f)=>{Array.isArray(u)&&(u=u.join(","));const d=(0,o.a)(f);return r.default.get(`${d}/jobs/${c.toLowerCase()}/status?job-list=${u}`)},i=async(c,u,f)=>{const d=()=>new Promise(g=>{setTimeout(()=>{n(c,u,f).then(_=>{g(_.data[0])})},2e3)}),h=async g=>{if(g.isActive){const _=await d();return h(_)}return g};return h({id:u,isActive:!0})}},905790:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(162120),o=e(850882),n=e(456903),a=e(848047);const i=g=>Object.keys(g).reduce((_,p)=>(g[p]instanceof window.Blob?_.append(p,g[p],g[p].name):g[p]!==void 0&&_.append(p,g[p]),_),new FormData),c=g=>{let{websiteId:_,retainMetadata:p,assetTags:y}=g;const O={"Content-Type":"multipart/form-data","X-sqsp-source":"web upload","X-Library-Id":_,"X-Sqsp-Retainmetadata":p};if(y){const P=Array.isArray(y)?y.join(","):y;O["X-sqsp-jobinputparams"]=`{tags: ${JSON.stringify(P)}}`}return O},u=(g,_,p,y)=>{const{websiteId:O,retainMetadata:P,onProgress:C,cancelToken:A,environment:S,assetTags:T}=p,v=`${(0,a.a)(S)}/uploads/${g.toLowerCase()}`;let m={};g===o.h.FILE?m={file:_,folderId:y||void 0}:m={image:_,folderId:y||void 0};const E={headers:c({websiteId:O,retainMetadata:P,assetTags:T}),withCredentials:!0,onUploadProgress:I=>{var L;(L=I.event)!==null&&L!==void 0&&L.lengthComputable&&I.progress&&C(I.progress*100)},cancelToken:A};return n.default.post(v,i(m),E)},f=null,h=(g,_,p,y)=>r.Z.authorize().then(()=>u(g,_,p,y)).catch(O=>(r.Z.handleErrorResponse(O),Promise.reject(O)))},262046:function(b,l,e){"use strict";e.d(l,{Z:()=>_,s:()=>u});var r=e(392338),o=e.n(r),n=e(850882),a=e(778515),i=e(559470),c=e(398084);const u=(p,y)=>{let{licensedAssetIds:O}=y;if(O.includes(p.assetId))return{isValidFile:!1,...i.R.get(a.Z.IMAGE_LICENSED)()}},f={[n.h.IMAGE]:[c.NO,u],[n.h.VIDEO]:[c.nb]},d={isValidFile:!0},h=p=>({size:p.fileSize,assetId:p.assetId,assetType:p.assetType,duration:p.durationSeconds}),_=(p,y)=>{const O=h(p);for(const P of f[p.assetType]){const C=P(O,y);if(C)return{...C,message:C.message.slice(0,-1)}}return d}},398084:function(b,l,e){"use strict";e.d(l,{NO:()=>p,ZP:()=>A,nb:()=>_});var r=e(392338),o=e.n(r),n=e(850882),a=e(778515),i=e(559470);const c={isValidFile:!0},u=S=>new Promise((T,s)=>{const v=document.createElement("video");v.preload="metadata";const m=()=>{window.URL.revokeObjectURL(v.src),v.remove()};v.onerror=E=>{s(E),m()},v.onloadedmetadata=()=>{T({duration:v.duration}),m()},v.src=window.URL.createObjectURL(S)}),f=S=>S/(1024*1024),d=(S,T)=>{const s=f(S);return s&&s<T},h=async(S,T)=>{var s;let v;if(T===n.h.VIDEO)try{v=await u(S)}catch(m){console.warn("Cannot get video duration",m)}return{name:S.name,size:S.size,type:S.type,assetType:T,duration:(s=v)===null||s===void 0?void 0:s.duration}},g=(S,T)=>{let{assetType:s,duration:v}=S;const{libraryUsage:m={}}=T;if(!(s===n.h.VIDEO&&m.isUnlimited)&&v>(m==null?void 0:m.timeRemaining)){const E=v-m.timeRemaining,I=i.R.get(a.Z.LIBRARY_LIMIT_EXCEEDED)(null,{timeExceeded:E,usage:m.used,timeRemaining:m.timeRemaining});return{isValidFile:!1,errorCode:a.Z.LIBRARY_LIMIT_EXCEEDED,...I}}},_=(S,T)=>{let{duration:s}=S,{maxDuration:v}=T;if(v&&s>v)return{isValidFile:!1,...i.R.get(a.Z.VIDEO_MAX_DURATION_EXCEEDED)({maxDuration:v})}},p=(S,T)=>{let{maxSize:s}=T;if(!d(S.size,s)){const v={[n.h.IMAGE]:a.Z.IMAGE_MAX_SIZE_EXCEEDED,[n.h.VIDEO]:a.Z.VIDEO_MAX_SIZE_EXCEEDED,[n.h.FILE]:a.Z.FILE_MAX_SIZE_EXCEEDED,[n.h.FONT]:a.Z.FILE_MAX_SIZE_EXCEEDED,[n.h.AUDIO]:a.Z.AUDIO_MAX_SIZE_EXCEEDED};return{isValidFile:!1,...i.R.get(v[S.assetType])({maxSize:s})}}},y=(S,T)=>{let{allFileTypesAccepted:s=!1,acceptedTypes:v=[]}=T;if(s)return{isValidFile:!0};if(!v.includes(S.type)){const m={[n.h.IMAGE]:a.Z.IMAGE_TYPE_NOT_RECOGNIZED,[n.h.VIDEO]:a.Z.VIDEO_TYPE_NOT_RECOGNIZED,[n.h.AUDIO]:a.Z.AUDIO_TYPE_NOT_RECOGNIZED,[n.h.FONT]:a.Z.FONT_TYPE_NOT_RECOGNIZED};return{isValidFile:!1,...i.R.get(m[S.assetType])({acceptedTypes:v})}}},O=(S,T)=>{let{maxFilenameLength:s}=T;if(s&&S.name.length>s)return{isValidFile:!1,...i.R.get(a.Z.FILENAME_MAX_LENGTH_EXCEEDED)({maxFilenameLength:s})}},P={[n.h.AUDIO]:[y,p],[n.h.FILE]:[p],[n.h.FONT]:[y],[n.h.IMAGE]:[y,p,O],[n.h.VIDEO]:[y,p,O,_,g]},A=async(S,T,s)=>{const v=await h(T,S);for(const m of P[S]){const E=m(v,s);if(E)return E}return c}},481805:function(b,l,e){var r={"./assetManagement.assetUploader.en-US.yaml":"959588"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=481805},500659:function(b,l,e){"use strict";e.r(l),e.d(l,{SELECTOR_COLOR_AS_ORDERED_ARRAY_V2:()=>a,SYSTEM_COLOR_AS_ORDERED_ARRAY_V2:()=>n,SYSTEM_COLOR_CONFIG_MAP:()=>o});var r=e(963218);const o=Object.freeze({...r.SYSTEM_COLOR_CONFIG_MAP,[r.SystemColorId.white]:{...r.SYSTEM_COLOR_CONFIG_MAP[r.SystemColorId.white],name:"Lightest",order:0},[r.SystemColorId.lightAccent]:{...r.SYSTEM_COLOR_CONFIG_MAP[r.SystemColorId.lightAccent],name:"Light",order:1},[r.SystemColorId.accent]:{...r.SYSTEM_COLOR_CONFIG_MAP[r.SystemColorId.accent],name:"Bright",order:2},[r.SystemColorId.darkAccent]:{...r.SYSTEM_COLOR_CONFIG_MAP[r.SystemColorId.darkAccent],name:"Dark",order:3},[r.SystemColorId.black]:{...r.SYSTEM_COLOR_CONFIG_MAP[r.SystemColorId.black],name:"Darkest",order:4}}),n=Object.keys(o).sort((i,c)=>o[i].order-o[c].order).map(i=>o[i]).filter(i=>{let{userVisible:c}=i;return c}),a=Object.keys(o).sort((i,c)=>o[i].order-o[c].order).map(i=>o[i]).filter(i=>{let{userVisible:c,hideInSelector:u}=i;return c&&!u})},259802:function(b,l,e){var r={"./brandSystem.colorPicker.en-US.yaml":"719405"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=259802},133803:function(b,l,e){"use strict";e.d(l,{Af:()=>A,Qk:()=>P,bb:()=>C});var r=e(174161),o=e(289578),n=e(128617),a=e(38605),i=e(840747),c=e(456158),u=e(203119);let f;const d=()=>{window.YUI=window.YUI||{},window.YUI.Env=window.YUI.Env||{},window.YUI.Env.globalEvents=o.Y,window.Y=window.Y||{},window.Y.Env=window.Y.Env||{},window.Y.Env.evt=o.Y.evt,window.Cypress!==void 0&&window.top&&(window.top.YUI=window.YUI,window.top.Y=window.Y)},h=S=>{let{yuiEntryPoint:T,yuiBoot:s,router:v,initiator:m="unknown"}=S;if(f.then(()=>{},L=>{}),!T||!s)return Promise.resolve();const E=n.g.getTracer("default"),I=E.startSpan("yui-initialization",{attributes:{initiator:m}});return T().catch(L=>{throw L.message=`failed to load yui entry point: ${L.message}`,c.Z.captureException(L),L}).then(L=>(d(),L)).then(L=>{var W;window.YUI.Env.CSRF_TOKEN=(W=(0,i.getAccountContext)())===null||W===void 0?void 0:W.csrfToken;const F={...window.YUI_CONFIG,injected:!0};if(typeof window.YUI!="function")return L||{};window.Y=window.YUI(F),window.Cypress!==void 0&&window.top&&(window.top.Y=window.Y);const G=E.startSpan("yui-boot",{},n.g.setSpan(a.D.active(),I));return s({Y:window.Y,router:v}),(k=>{k.Squarespace.EscManager.attach(),k.Squarespace.ResizeEmitter=k.Base.create("ExtraResizeEmitter",k.Squarespace.ResizeEmitter,[],{initializer:function(){k.Global.on("manual-resize",this.manualFire,this)},manualFire:function(){this.fire("resize:start"),this.fire("resize"),this.fire("resize:end")}})})(window.Y),!window.Y.Env.windowLoaded&&window.document.readyState==="complete"&&window.Y.fire("domready"),G.end(),I.end(),window.Y})},g=S=>(f=f||new Promise(T=>window.requestIdleCallback(T)).then(()=>h(S)),f);class _ extends r.Component{constructor(T){super(T),g(T)}render(){return r.createElement(u.T.Provider,{value:f},this.props.children)}}const p=_;let y;const O=r.createContext({yuiBoot:()=>{},yuiEntryPoint:()=>Promise.resolve()}),P=S=>{let{children:T,router:s,yuiBoot:v,yuiEntryPoint:m}=S;return(0,r.useEffect)(()=>{y={router:s,yuiBoot:v,yuiEntryPoint:m}},[v,m,s]),r.createElement(O.Provider,{value:{router:s,yuiBoot:v,yuiEntryPoint:m}},T)},C=S=>{const{yuiBoot:T,yuiEntryPoint:s,router:v,initiator:m}={...y,...S};return!T||!s?Promise.resolve():g({yuiBoot:T,yuiEntryPoint:s,router:v,initiator:m})},A=S=>{let{children:T,initiator:s}=S;const{router:v,yuiBoot:m,yuiEntryPoint:E}=(0,r.useContext)(O);return!m||!E?r.createElement(r.Fragment,null,T):r.createElement(p,{yuiBoot:m,yuiEntryPoint:E,router:v,initiator:s},T)}},456158:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(199040),o=e(247380),n=e.n(o);const a=new r.Z("config-appshell",n().CROSS_PRODUCT_SUCCESS)},203119:function(b,l,e){"use strict";e.d(l,{T:()=>h,Z:()=>_});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(174161),c=e(192628),u=e.n(c),f=e(608280),d=e(133803);const h=i.createContext(void 0),_=p=>{class y extends i.Component{constructor(){super(...arguments),a()(this,"unmounted",!1),a()(this,"state",{Y:null}),a()(this,"assignY",C=>{this.unmounted||this.setState({Y:C})})}componentDidMount(){this.props.YPromise?this.props.YPromise.then(this.assignY):this.assignY({})}componentWillUnmount(){this.unmounted=!0}render(){const{Y:C}=this.state;return C?i.createElement(p,o()({},this.props,{Y:C})):null}}const O=P=>i.createElement(d.Af,{initiator:O.displayName},i.createElement(h.Consumer,null,C=>i.createElement(y,o()({},P,{YPromise:C}))));return u()(O,p),O.displayName="withY("+(0,f.default)(p)+")",O}},840747:function(b,l,e){"use strict";e.r(l),e.d(l,{getAccountContext:()=>d,initAccountContext:()=>f,useAccountContext:()=>h});var r=e(174161),o=e(547740),n=e.n(o),a=e(209498);let i=null,c=!1;const u=n()(async()=>{try{return await(0,a.a)("/api/context/account")}catch(g){return console.error("[@sqs/config-context]",`Failed to fetch account context API.
`,g),null}});async function f(){if(c)return i;const g=await u();return i=g,c=!0,g}function d(){return c?i:(console.error("[@sqs/config-context]","Error! account context has not been initialized.","Multiple copies of @sqs/config-context being installed are not supported and must be deduplicated."),null)}function h(){const[g,_]=(0,r.useState)(i);return(0,r.useEffect)(()=>{async function p(){const y=await f();_(y)}c||p()},[]),g}},581308:function(b,l,e){"use strict";e.r(l),e.d(l,{getBillingContext:()=>d,initBillingContext:()=>f,useBillingContext:()=>h});var r=e(174161),o=e(547740),n=e.n(o),a=e(209498);let i=null,c=!1;const u=n()(async()=>{try{return await(0,a.a)("/api/context/billing")}catch(g){return console.error("[@sqs/config-context]",`Failed to fetch billing context API.
`,g),null}});async function f(){if(c)return i;const g=await u();return i=g,c=!0,g}function d(){return c?i:(console.error("[@sqs/config-context]","Error! billing context has not been initialized.","Multiple copies of @sqs/config-context being installed are not supported and must be deduplicated."),null)}function h(){const[g,_]=(0,r.useState)(i);return(0,r.useEffect)(()=>{async function p(){const y=await f();_(y)}c||p()},[]),g}},931387:function(b,l,e){"use strict";e.d(l,{D:()=>r,s:()=>o});const r=(n=>(n=window.Static)===null||n===void 0?void 0:n.SQUARESPACE_CONTEXT)(),o=()=>!!r&&Object.keys(r).length>0},94382:function(b,l,e){"use strict";e.d(l,{$C:()=>d,bq:()=>f});var r=e(174161),o=e(547740),n=e.n(o),a=e(209498);let i=null,c=!1;const u=n()(async()=>{try{return await(0,a.a)("/api/context/enterprise")}catch(g){return console.error("[@sqs/config-context]",`Failed to fetch enterprise context API.
`,g),null}});async function f(){if(c)return i;const g=await u();return i=g,c=!0,g}function d(){return c?i:(console.error("[@sqs/config-context]","Error! enterprise context has not been initialized.","Multiple copies of @sqs/config-context being installed are not supported and must be deduplicated."),null)}function h(){const[g,_]=useState(i);return useEffect(()=>{async function p(){const y=await f();_(y)}c||p()},[]),g}},616426:function(b,l,e){"use strict";e.d(l,{Ce:()=>f,iq:()=>d,y2:()=>h});var r=e(174161),o=e(547740),n=e.n(o),a=e(209498);let i=null,c=!1;const u=n()(async()=>{try{return await(0,a.a)("/api/context/environment")}catch(g){return console.error("[@sqs/config-context]",`Failed to fetch environment context API.
`,g),null}});async function f(){if(c)return i;const g=await u();return i=g,c=!0,g}function d(){return c?i:(console.error("[@sqs/config-context]","Error! environment context has not been initialized.","Multiple copies of @sqs/config-context being installed are not supported and must be deduplicated."),null)}function h(){const[g,_]=(0,r.useState)(i);return(0,r.useEffect)(()=>{async function p(){const y=await f();_(y)}c||p()},[]),g}},744218:function(b,l,e){"use strict";e.r(l),e.d(l,{context:()=>r.D,contextSuccessfullyLoaded:()=>r.s});var r=e(931387)},209498:function(b,l,e){"use strict";e.d(l,{a:()=>r});async function r(o){const n=await fetch(o);if(!n.ok)throw new Error(n.statusText);return await n.json()}},657408:function(b,l,e){"use strict";e.r(l),e.d(l,{getWebsiteContext:()=>d,initWebsiteContext:()=>f,useWebsiteContext:()=>h});var r=e(174161),o=e(547740),n=e.n(o),a=e(209498);let i=null,c=!1;const u=n()(async()=>{try{return await(0,a.a)("/api/context/website")}catch(g){return console.error("[@sqs/config-context]",`Failed to fetch website context API.
`,g),null}});async function f(){if(c)return i;const g=await u();return i=g,c=!0,g}function d(){return c?i:(console.error("[@sqs/config-context]","Error! website context has not been initialized.","Multiple copies of @sqs/config-context being installed are not supported and must be deduplicated."),null)}function h(){const[g,_]=(0,r.useState)(i);return(0,r.useEffect)(()=>{async function p(){const y=await f();_(y)}c||p()},[]),g}},228946:function(b,l,e){"use strict";e.r(l),e.d(l,{fireEvent:()=>y,exclude:()=>C,initialize:()=>p,mask:()=>P,unmask:()=>O});var r=e(342034);const o=async()=>await Promise.resolve().then(e.bind(e,456903)).then(A=>A.default);var n=e(247380),a=e.n(n),i=e(199040);const c=new i.Z("@sqs/config-fullstory",a().ACTIVATION),u="/api/commerce/fullstory/getId",f=(()=>{let A=null;return async()=>(A||(A=(async()=>{try{const S=await o(),{data:T}=await S.get(u);return T}catch(S){throw c.captureException(S),A=null,S}})()),A)})();var d=e(663634);const h="automated-mock-id",g="fullstory-down-sampled",_=async()=>{try{const A=(0,d.cr)(g);return!(await f()===h)&&A}catch(A){return console.error("[@sqs/fullstory] Error determining FullStory eligibility",A),c.captureException(A),!1}},p=A=>{let{onReady:S}=A;(0,r.j2)({consentMode:"trustArc",isEligible:_,readyCallback:async(T,s)=>{let{sessionUrl:v}=s;T("setIdentity",{uid:await f()});const m=c.getCurrentScope();m.setTag("is_fullstory_enabled",!0),m.setContext("fullstoryUrl",{sessionUrl:v}),await(S==null?void 0:S())}})},y=r.j,O="fs-unmask",P="fs-mask",C="fs-exclude"},984080:function(b,l,e){"use strict";e.d(l,{U:()=>u,Z:()=>i});var r=e(638204),o=e(280045);const n="config-persistent-navigation";function a(f){return e(152479)(`./${n}.${f}.yaml`)}const{getI18nInstance:i,setI18nInstance:c}=(0,r.setupLibrary)(n,a),u=(f,d)=>{(0,o.U)(f,d),c(f,d)}},152479:function(b,l,e){var r={"./config-persistent-navigation.en-US.yaml":"920123"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=152479},199040:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(642979),o=e.n(r),n=e(620085),a=e(282367);const i="/universal/",c=new Proxy({},{get:function(f){return()=>f}});class u{constructor(d,h,g,_){var p=this;if(o()(this,"logToConsole",function(O){console.group(`[Sentry] [${p.meta.owner}] [${p.meta.project}]`);for(var P=arguments.length,C=new Array(P>1?P-1:0),A=1;A<P;A++)C[A-1]=arguments[A];return typeof O=="string"?console.log(O,C):(console.error(O),C.length&&console.error(C)),console.groupEnd(),"some-error-identifier"}),o()(this,"isSentryConnected",!1),o()(this,"captureMessage",this.logToConsole),o()(this,"captureException",this.logToConsole),o()(this,"captureEvent",this.logToConsole),o()(this,"withScope",O=>{if(typeof O=="function")return O(c);throw new Error("non-function withScope not supported yet")}),o()(this,"getCurrentScope",()=>c),o()(this,"meta",{project:"config-frontend-undefined",owner:"unknown"}),o()(this,"withSquarespaceScope",O=>{this.isSentryConnected?this.withScope(P=>{if(P.setTag("project",this.meta.project),P.setTag("owner",this.meta.owner),this.meta.dsn){const C={dsn:this.meta.dsn,release:this.meta.release};P.setExtra(a.F,C)}O(P)}):O(c)}),o()(this,"initialize",O=>{this.captureMessage=O.captureMessage,this.captureException=O.captureException,this.captureEvent=O.captureEvent,this.withScope=O.withScope,this.getCurrentScope=O.getCurrentScope,this.isSentryConnected=!0}),this.meta.project=d,this.meta.owner=h,this.meta.dsn=g,this.meta.release=_,window.SQUARESPACE_SENTRY&&(this.initialize(window.SQUARESPACE_SENTRY),g))try{var y;const O=(0,n.Z)((y=document.currentScript)===null||y===void 0?void 0:y.src);if(O!=null&&O.startsWith(i))throw new Error("Cannot initialize Sentry MFE integration for code delivered by config-frontend");const P={dsn:g,release:_};window.SQUARESPACE_SENTRY.setExtra(`${a.U}${O}`,P)}catch(O){this.withSquarespaceScope(P=>{let C="unknown";try{var A;C=(A=document.currentScript)===null||A===void 0?void 0:A.src}catch{}P.setExtra("currentScriptSrc",C),this.captureException(new Error("Unable to associate custom Sentry project DSN",{cause:O}))})}}}},608800:function(b,l,e){"use strict";e.r(l),e.d(l,{ConfigSentryIntegration:()=>r.Z});var r=e(199040)},282367:function(b,l,e){"use strict";e.d(l,{F:()=>r,U:()=>o});const r="sqsCustomSentryRouting",o="sqsCustomSentryRoutingConfig-"},620085:function(b,l,e){"use strict";e.d(l,{Z:()=>r});const r=o=>o?new URL(o.replace(/\/+$/,"")).pathname.split("/").slice(0,-1).join("/"):void 0},262420:function(b,l,e){"use strict";e.d(l,{a:()=>a});var r=e(221661),o=e.n(r),n=e(998124);const a=new(o())({customSchemaName:"ABTestAssignment",sourceEnvironment:(0,n.isInternal)()?r.SourceEnvironment.STAGING:r.SourceEnvironment.PROD},{action:"assign",actor:"system",event_name:"StatsigAssignment_TestAssignment",event_source:"web",object_type:"subject",test_namespace:"Squarespace"})},663634:function(b,l,e){"use strict";e.d(l,{cr:()=>O,vk:()=>P,JD:()=>p,GC:()=>y});var r=e(646715),o=e.n(r),n=e(324615),a=e(998124);const i=(0,a.getEnvironment)(),c="client-hXbQ63BqA68Jpec4rnPjIAjGV2coXa9IB73ydOtHa4T";var u=e(341293),f=e.n(u),d=e(262420);function h(C){var A;const S=C==null?void 0:C.authenticatedAccount,T=Object.entries(f()).filter(v=>{var m;let[E,I]=v;return typeof I=="number"&&(S==null||(m=S.guilds)===null||m===void 0?void 0:m[I])===!0}).map(v=>{let[m]=v;return m}),s=S?(S==null||(A=S.guilds)===null||A===void 0?void 0:A[f().CIRCLE_USER])||!1:void 0;return{data:S,computed:{guilds:T,circleStatus:s}}}async function g(C){let A=C==null?void 0:C.website;return C||await fetch("/api/rest/websites/mine").then(S=>S.json()).then(S=>{A=S}).catch(S=>{console.warn("Experimentation assignment data initialized without Website related values",S)}),{data:A}}async function _(C){var A,S,T,s,v,m,E,I,L,W,F,G,k,x,M,B,R;const U=d.a._getAnalyticsId(),j=h(C==null?void 0:C.context),$=await g(C==null?void 0:C.context);return{email:(A=j.data)===null||A===void 0?void 0:A.email,customIDs:{analytics_id:U,member_account_id:(S=j.data)===null||S===void 0?void 0:S.id,website_id:(T=$.data)===null||T===void 0?void 0:T.id},custom:{circle_status:(s=j.computed)===null||s===void 0?void 0:s.circleStatus,circle_tier:(v=j.data)===null||v===void 0?void 0:v.circleTier,circle_website:C==null||(m=C.context)===null||m===void 0?void 0:m.isCircleMemberWebsite,initialization_timestamp:new Date().getTime(),member_account_creation_date:(E=j.data)===null||E===void 0?void 0:E.createdOn,member_account_guilds:(I=j.computed)===null||I===void 0?void 0:I.guilds,member_account_language:(L=j.data)===null||L===void 0?void 0:L.preferredLocale,release_variant:(C==null||(W=C.release)===null||W===void 0?void 0:W.variant)||"default",release_version:(C==null||(F=C.release)===null||F===void 0?void 0:F.version)||"unknown",site_status:(G=$.data)===null||G===void 0||(G=G.siteStatus)===null||G===void 0?void 0:G.value,template_version:C==null||(k=C.context)===null||k===void 0?void 0:k.templateVersion,developer_mode:(x=$.data)===null||x===void 0?void 0:x.developerMode,website_creation_date:(M=$.data)===null||M===void 0?void 0:M.createdOn,website_language:(B=$.data)===null||B===void 0?void 0:B.language,website_type:(R=$.data)===null||R===void 0?void 0:R.websiteType}}}async function p(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const S=await _(C),T=new n.StatsigClient(c,S,{environment:{tier:i},...A});return await T.initializeAsync(),T}function y(){return n.StatsigClient.instance(c)}function O(C){return y().checkGate(C)}async function P(C){const A=y();if(A.loadingStatus!=="Ready")return;const{user:S}=A.getContext();return await A.updateUserAsync(o()(S,C)),A.getContext().user}},774692:function(b,l,e){"use strict";e.r(l),e.d(l,{trackAssignmentEvent:()=>f});var r=e(262420),o=e(663634),n=e(199040),a=e(247380),i=e.n(a);const c=new n.Z("config-statsig",i().CONFIG_FRONTEND_ENG),u=new Set;async function f(h,g){var _,p,y,O;let P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const C=h.__evaluation,A=h.ruleID.endsWith("override"),S=P&&P.is_holdout_eligible;if(u.has(h.name)||!C||!C.is_experiment_active&&!A||!C.is_user_in_experiment&&!A&&!S)return;const T=(0,o.GC)(),{user:s}=T.getContext(),v=C.id_type,m=(_=s.customIDs)===null||_===void 0?void 0:_[v];let E=h.get("variant",h.groupName);!E&&S&&(E="ineligible_for_experiment");const I=((p=s.custom)===null||p===void 0?void 0:p.website_language)??null,L={event_owner_team:g,experiment_name:h.name,is_override:A,group_name:h.groupName,variant:E,product_area:"cms",website_locale:I,subject_id:m??null,subject_id_type:v,website_id:((y=s.customIDs)===null||y===void 0?void 0:y.website_id)??null,member_account_id:(s==null||(O=s.customIDs)===null||O===void 0?void 0:O.member_account_id)??null,...P};if(!d(L)){c.withSquarespaceScope(F=>{F.setTag("experiment.name",h.name),F.setTag("experiment.owner_team",g),F.setTag("experiment.is_override",A),F.captureException("Invalid ABTestAssignment event payload \u2014 missing required properties")});return}return await r.a.track(L),u.add(h.name),L}function d(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const g=["experiment_name","variant","is_override","subject_id","subject_id_type","member_account_id","website_id","event_owner_team","product_area"];for(const _ of g)if(h[_]===void 0||h[_]===null||typeof h[_]=="string"&&h[_]==="")return!1;return!0}},966135:function(b,l,e){"use strict";e.r(l),e.d(l,{createPricingPlan:()=>A,deletePricingPlan:()=>C,enableDigitalProductsSuport:()=>S,getAllPlanNames:()=>P,getAllPlans:()=>O,getAttachedPricingPlans:()=>y,getCanUpgradeDigitalProductsFeatures:()=>L,getDigitalProductsFeatureDetails:()=>W,getMonetizableContent:()=>m,getPricingPlan:()=>T,getPricingPlanTaxCategory:()=>v,getPricingPlans:()=>I,getPricingPlansCount:()=>p,updatePricingPlan:()=>E,upsertPricingPlanTaxCategory:()=>s});var r=e(456903),o=e(58140),n=e.n(o);const a="/api/content-monetization",i=(F,G)=>`/api/content-monetization/digital-products/${F}/${G}/pricing-plans/count`,c=(F,G)=>`/api/content-monetization/digital-products/${F}/${G}/pricing-plans`,u="/api/content-monetization/pricing-plans?includeDigitalProducts=true&includePricingDetails=true&includeMemberCounts=true",f="/api/content-monetization/pricing-plans",d=F=>`/api/content-monetization/pricing-plans/${F}`,h="/api/digital-products/enable-support",g="/api/digital-products/can-upgrade-features",_="/api/digital-products/feature-details";async function p(F,G){const{data:k}=await r.default.get(i(F,G));return k.count}async function y(F,G){const{data:k}=await r.default.get(c(F,G));return k.pricingPlans}async function O(){const{data:F}=await r.default.get(u);return F}async function P(){const{data:F}=await r.default.get(f);return F}async function C(F){const{data:G}=await r.default.delete(d(F));return G}const A=F=>r.default.post("/api/content-monetization/pricing-plans",F),S=()=>r.default.put(h),T=F=>r.default.get(`${a}/pricing-plans/${F}?includeDigitalProducts=true&includePricingDetails=true`).then(G=>{let{data:k}=G;return k!=null&&k.pricingOptions&&(k.pricingOptions=k.pricingOptions.map(x=>(x.price.value=+x.price.value,x))),{data:k}}),s=async(F,G)=>{await r.default.post("/api/1/commerce/products/stripe-tax-category",{productId:F,productType:n().PAYWALL,taxCategoryCode:G})},v=F=>r.default.get("/api/1/commerce/products/stripe-tax-category",{params:{productId:F,productType:n().PAYWALL}}).then(G=>{var k;let{data:x}=G;return x==null||(k=x.productTaxCategory)===null||k===void 0?void 0:k.taxCategoryCode}),m=async F=>{const G=F?`?pricingPlanId=${F}`:"";return r.default.get(`${a}/monetizable-content${G}`)},E=F=>r.default.put(`${a}/pricing-plans/${F.id}`,F),I=()=>r.default.get(`${a}/pricing-plans`),L=async()=>{try{const{data:F}=await r.default.get(g);return F}catch(F){throw console.error("Failed to fetch whether digital products features can be upgraded: ",F),new Error("Unable to fetch whether digital products features can be upgraded")}};async function W(){try{const{data:F}=await r.default.get(_);return F}catch(F){throw console.error("Failed to fetch digital products feature details: ",F),new Error("Unable to fetch digital products feature details")}}},654127:function(b,l,e){"use strict";e.d(l,{c:()=>r});const r=(o,n)=>{if(n){if(n&&!o.length)return n;if(n&&o.length){const a={};o.forEach(c=>{a[c.toLowerCase()]=!0});const i=n.toLowerCase();if(!a[i])return n;for(let c=0;c<o.length;c++)if(!a[`${i} ${c+2}`])return`${n} ${c+2}`}}else return"";return""}},841230:function(b,l,e){"use strict";e.d(l,{$g:()=>O,Bu:()=>s,C4:()=>S,O3:()=>g,Ps:()=>T,Rm:()=>u,Wx:()=>_,XY:()=>p,m6:()=>P,ns:()=>A,qJ:()=>f,rg:()=>h,v0:()=>d,w8:()=>C,y0:()=>y});var r=e(221661),o=e.n(r),n=e(228946);const a=(()=>{const v=/^qa\d+\.sqsp\.net/g,m=/^stage\.sqsp\.net/g,E=window.location.hostname.substr(window.location.hostname.indexOf(".")+1);return m.test(E)||v.test(E)?r.SourceEnvironment.STAGING:E==="localhost"?r.SourceEnvironment.DEV:r.SourceEnvironment.PROD})(),i=new(o())({customSchemaName:"MemberAreas",sourceEnvironment:a},{event_owner_team:"member_areas",event_source:"web",product_area:"member_areas"}),c=(v,m,E)=>({website_id:v,context_website_id:v,member_account_id:m,member_area_id:E.id,member_area_name:E.name,member_area_description:E.description}),u=(v,m,E,I,L,W,F)=>{if(!v)return;const G={actor:"user",action:"view",event_name:"MemberAreas_OnboardingModal",object_type:"modal",website_id:v,context_website_id:v,member_account_id:m,entrypoint:E,entrypoint_level2:I,entrypoint_path:L,modal_type:W,...F&&{modal_version:F}},{event_name:k,...x}=G;i.track(G),n.fireEvent(k,x)},f=(v,m,E,I,L,W)=>{if(!v)return;const F={actor:"user",action:"click",event_name:"MemberAreas_OnboardingModal",object_type:"modal",website_id:v,context_website_id:v,member_account_id:m,entrypoint:E,entrypoint_level2:I,entrypoint_path:L,modal_type:W},{event_name:G,...k}=F;i.track(F),n.fireEvent(G,k)},d=(v,m,E,I,L,W,F)=>{if(!v)return;const G={actor:"user",action:"dismiss",event_name:"MemberAreas_OnboardingModal",object_type:"modal",website_id:v,context_website_id:v,member_account_id:m,entrypoint:E,entrypoint_level2:I,entrypoint_path:L,modal_type:W,...F&&{modal_version:F}},{event_name:k,...x}=G;i.track(G),n.fireEvent(k,x)},h=(v,m,E,I,L,W,F)=>{if(!v)return;const G={actor:"user",action:"close",event_name:"MemberAreas_OnboardingModal",object_type:"modal",website_id:v,context_website_id:v,member_account_id:m,entrypoint:E,entrypoint_level2:I,entrypoint_path:L,modal_type:W,...F&&{modal_version:F}},{event_name:k,...x}=G;i.track(G),n.fireEvent(k,x)},g=(v,m,E,I,L)=>{if(!v)return;const W={actor:"user",action:"view",event_name:"DigitalProducts_View_NavigationSettingsModal",product_area:"DigitalProducts",event_owner_team:"digital_products",object_type:"modal",website_id:v,object_value:"view-member-navigation-settings",context_website_id:v,member_account_id:m,entrypoint:E,entrypoint_level2:I,entrypoint_path:L},{event_name:F,...G}=W;i.track(W),n.fireEvent(F,G)},_=(v,m,E,I,L)=>{if(!v)return;const W={actor:"user",action:"click",event_name:"DigitalProducts_Click_CloseMemberNavigationSettings",product_area:"DigitalProducts",event_owner_team:"digital_products",object_type:"button",website_id:v,object_value:"close-member-navigation-settings",context_website_id:v,member_account_id:m,entrypoint:E,entrypoint_level2:I,entrypoint_path:L},{event_name:F,...G}=W;i.track(W),n.fireEvent(F,G)},p=(v,m,E,I,L,W)=>{if(!v)return;const F={actor:"user",action:"click",event_name:"DigitalProducts_Click_SaveMemberNavigationSettings",product_area:"DigitalProducts",event_owner_team:"digital_products",object_type:"button",object_value:W,website_id:v,context_website_id:v,member_account_id:m,entrypoint:E,entrypoint_level2:I,entrypoint_path:L},{event_name:G,...k}=F;i.track(F),n.fireEvent(G,k)},y=(v,m,E,I,L,W)=>{if(!v)return;const F={actor:"user",action:"view",event_name:"MemberAreas_View_CreateModal",object_type:"modal",website_id:v,context_website_id:v,member_account_id:m,entrypoint:E,entrypoint_level2:I,entrypoint_path:L,num_member_areas:W},{event_name:G,...k}=F;i.track(F),n.fireEvent(G,k)},O=(v,m,E,I,L,W)=>{if(!v)return;const F={...c(v,m,E),actor:"user",action:"create",event_name:"MemberAreas_Create_NewMemberArea",object_type:"member_area",entrypoint:I,entrypoint_level2:L,entrypoint_path:W},{event_name:G,...k}=F;i.track(F),n.fireEvent(G,k)},P=(v,m,E,I,L,W,F,G)=>{if(!v)return;const k={...c(v,m,E),actor:"user",action:"view",event_name:"MemberAreas_View_SettingsModal",object_type:"modal",entrypoint:I,entrypoint_level2:L,entrypoint_path:W,num_member_areas:F,...G&&{modal_version:G}},{event_name:x,...M}=k;i.track(k),n.fireEvent(x,M)};let C=function(v){return v.CreateModal="CreateModal",v.SettingsModal="SettingsModal",v.OnboardingModal="OnboardingModal",v}({});const A=(v,m,E,I,L,W)=>{if(!v||L<1)return;let F;E?F={actor:"user",action:"click",event_name:"MemberAreas_Click_MemberAreaName",object_type:"member_area",website_id:v,context_website_id:v,member_account_id:m,member_area_id:E.id,member_area_name:E.name,member_area_description:E.description,modal_type:I,num_ma_name_clicks:L,...W&&{modal_version:W}}:F={actor:"user",action:"click",event_name:"MemberAreas_Click_MemberAreaName",object_type:"member_area",website_id:v,context_website_id:v,member_account_id:m,modal_type:I,num_ma_name_clicks:L,...W&&{modal_version:W}};const{event_name:G,...k}=F;i.track(F),n.fireEvent(G,k)},S=(v,m,E,I,L)=>{if(!v)return;let W;E?W={actor:"user",action:"click",event_name:"MemberAreas_Exit_Modal",object_type:"member_area",website_id:v,context_website_id:v,member_account_id:m,member_area_id:E.id,member_area_name:E.name,member_area_description:E.description,modal_type:I,...L&&{modal_version:L}}:W={actor:"user",action:"click",event_name:"MemberAreas_Exit_Modal",object_type:"member_area",website_id:v,context_website_id:v,member_account_id:m,modal_type:I,...L&&{modal_version:L}};const{event_name:F,...G}=W;i.track(W),n.fireEvent(F,G)},T=function(v,m,E,I){let L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,W=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,F=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null;if(!v)return;const G={...c(v,m,E),actor:"user",action:"save",event_name:"MemberAreas_Save_SettingsModal",object_type:"member_area",entrypoint:L,entrypoint_level2:W,entrypoint_path:F,num_member_areas:I},{event_name:k,...x}=G;i.track(G),n.fireEvent(k,x)},s=(v,m,E,I,L,W,F)=>{if(!v)return;const G={actor:"user",action:"delete",event_name:"MemberAreas_Delete_MemberArea",object_type:"member_area",website_id:v,context_website_id:v,member_area_id:E,entrypoint:I,entrypoint_level2:L,entrypoint_path:W,member_account_id:m,num_member_areas:F},{event_name:k,...x}=G;i.track(G),n.fireEvent(k,x)}},115725:function(b,l,e){"use strict";e.d(l,{NK:()=>o,Vp:()=>a,ad:()=>u,fL:()=>f,yY:()=>n});let r=null,o=function(h){return h.TryAgain="try-again",h.UnsavedChanges="unsaved-changes",h.Confirm="confirm",h}({}),n=function(h){return h.ISO_8601="iso-8601",h.UNIX_TIMESTAMP="unix-timestamp",h}({}),a=function(h){return h.PricingPlanModal="pricing_plan_modal",h}({}),i=null,c=null,u=function(h){return h.PRICING_PLAN="PRICING_PLAN",h.PASSWORD="PASSWORD",h.SSO="SSO",h}({}),f=function(h){return h.Week="WEEK",h.Month="MONTH",h.Year="YEAR",h}({}),d=null},651780:function(b,l,e){"use strict";e.d(l,{$h:()=>C,A8:()=>s,JY:()=>T,Nx:()=>_,RN:()=>P,X3:()=>S,Xu:()=>h,Zo:()=>O,_X:()=>_,fu:()=>v,kp:()=>g,mF:()=>A,uS:()=>m});var r=e(392338),o=e.n(r),n=e(582388),a=e.n(n),i=e(722448),c=e.n(i),u=e(94382),f=e(657408),d=e(840747);function h(){var E;return(E=(0,u.$C)())===null||E===void 0?void 0:E.organization}function g(){var E;return((E=(0,u.$C)())===null||E===void 0?void 0:E.orgRoles)??[]}function _(){var E;return((E=(0,u.$C)())===null||E===void 0?void 0:E.isOrgOwned)??!1}let p=null;async function y(E){var I;const L=(I=h())===null||I===void 0?void 0:I.id;return p||(p=extendUser({...E,customIDs:{...E==null?void 0:E.customIDs,org_id:L}})),p}async function O(){return _()&&g().length>0}function P(){return g().includes("ADMIN")}function C(){var E;return _()&&(((E=(0,u.$C)())===null||E===void 0?void 0:E.isSsoEnabled)??!1)}function A(E){var I;const L=(I=(0,f.getWebsiteContext)())===null||I===void 0?void 0:I.websiteSettings;if(!L)return!1;const{ownerId:W,orgId:F}=L;return F?F===E:W===E}function S(){var E,I;const L=(E=(0,f.getWebsiteContext)())===null||E===void 0?void 0:E.website;return(L==null||(I=L.siteStatus)===null||I===void 0?void 0:I.value)===a().TRIAL}function T(){var E;const I=(E=(0,f.getWebsiteContext)())===null||E===void 0?void 0:E.website;return((I==null?void 0:I.cloneable)??!1)||((I==null?void 0:I.hasBeenCloneable)??!1)}const s=()=>S()&&_();function v(){var E;return(((E=(0,d.getAccountContext)())===null||E===void 0?void 0:E.accessPermissions)??[]).includes(c().CONFIG_SETTINGS_SSO)}function m(){return _()&&g().length>0}},568688:function(b,l,e){"use strict";e.d(l,{U3:()=>T,Wl:()=>g,aU:()=>f,vt:()=>u});var r=e(221661),o=e.n(r),n=e(998124),a=e(657408),i=e(840747),c=e(651780);let u=function(s){return s.USER="user",s.SYSTEM="system",s}({}),f=function(s){return s.ADD="add",s.CLICK="click",s.VIEW="view",s.CREATE="create",s.DELETE="delete",s.UPDATE="update",s}({}),d=function(s){return s.BUTTON="button",s.SETTING="setting",s.MODAL="modal",s.LINK="link",s.SECTION="section",s.PAGE="page",s}({}),h=function(s){return s.USER_CLICKS_ENTERPRISE_BUTTON="UserClicksEnterpriseButton",s.USER_CLICKS_ENTERPRISE_LINK="UserClicksEnterpriseLink",s.USER_TOGGLES_PAGE_SSO="UserTogglesPageSso",s.USER_MODIFIES_SSO_CONFIGURATIONS="UserModifiesSsoConfigurations",s.USER_MODIFIES_SSO_PROTECTIONS="UserModifiesSsoProtections",s.USER_ADDS_SAVED_SECTION_TO_PAGE="UserAddsSavedSectionToPage",s}({}),g=function(s){return s.ORGANIZATION_CONTENT_SELECT_FIELD="organization-content-select-field",s.SITE_AVAILABILITY="site-availability",s.PAGE_SETTINGS="page-settings",s.SSO_CREDENTIALS_MANAGER="sso-credentials-manager",s.SAVED_SECTIONS="saved-sections",s}({});function _(){var s,v;const{id:m,orgType:E}=(0,c.Xu)()||{},I=(0,c.kp)()||[];return new(o())({customSchemaName:"EnterpriseWeb",sourceEnvironment:(0,n.isInternal)()?r.SourceEnvironment.STAGING:r.SourceEnvironment.PROD},{event_owner_team:"enterprise",event_source:"web",member_account_id:(s=(0,i.getAccountContext)())===null||s===void 0||(s=s.authenticatedAccount)===null||s===void 0?void 0:s.id,context_website_id:(v=(0,a.getWebsiteContext)())===null||v===void 0||(v=v.website)===null||v===void 0?void 0:v.id,org_id:m||"",org_type:E||"",...I.length&&{org_roles:I}})}const p=_();function y(s){let{productArea:v,objectIdentifier:m,value:E}=s;p.track({action:f.CLICK,actor:u.USER,event_name:h.USER_CLICKS_ENTERPRISE_BUTTON,object_identifier:m,object_type:d.BUTTON,object_value:E,product_area:v})}function O(){p.track({action:f.ADD,actor:u.USER,event_name:h.USER_ADDS_SAVED_SECTION_TO_PAGE,object_type:d.SECTION,product_area:g.SAVED_SECTIONS})}function P(s){let{productArea:v,objectIdentifier:m,value:E}=s;p.track({action:f.CLICK,actor:u.USER,event_name:h.USER_CLICKS_ENTERPRISE_LINK,object_identifier:m,object_type:d.LINK,object_value:E,product_area:v})}function C(s){p.track({action:f.CLICK,actor:u.USER,event_name:h.USER_TOGGLES_PAGE_SSO,object_value:s,object_type:d.BUTTON,product_area:g.PAGE_SETTINGS})}function A(s){let{action:v,objectValue:m}=s;p.track({action:v,actor:u.USER,event_name:h.USER_MODIFIES_SSO_CONFIGURATIONS,object_value:m,object_type:d.BUTTON,product_area:g.SSO_CREDENTIALS_MANAGER})}function S(s){let{action:v,productArea:m,objectValue:E}=s;p.track({action:v,actor:u.USER,event_name:h.USER_MODIFIES_SSO_PROTECTIONS,object_value:E,object_type:d.BUTTON,product_area:m})}const T={trackUserClicksEnterpriseButton:y,trackUserClicksEnterpriseLink:P,trackUserTogglesPageSSO:C,trackUserModifiesSsoConfigurations:A,trackUserModifiesSsoProtections:S,trackUserAddsSavedSectionToPage:O}},998124:function(b,l,e){"use strict";e.r(l),e.d(l,{Environment:()=>r,getDomain:()=>o,getEnvironment:()=>u,isDev:()=>c,isInternal:()=>n,isQA:()=>i,isStage:()=>a});let r=function(f){return f.DEVELOPMENT="development",f.STAGING="staging",f.QA="qa",f.PRODUCTION="production",f}({});const o=function(){var f,d;let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return typeof h=="string"?new URL(h).hostname:((f=h.Static)===null||f===void 0||(f=f.SQUARESPACE_CONTEXT)===null||f===void 0?void 0:f.appDomain)??((d=h.location)===null||d===void 0?void 0:d.host)??""},n=function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/\.(sqsp|squarespace)\.net$/.test(o(f))},a=function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/stage\.(sqsp|squarespace)\.net$/.test(o(f))},i=function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/qa[0-9]+\.(sqsp|squarespace)\.net$/.test(o(f))},c=function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/dev\.(sqsp|squarespace)\.net$/.test(o(f))},u=()=>{let f=r.PRODUCTION;return c()?f=r.DEVELOPMENT:i()?f=r.QA:(a()||n())&&(f=r.STAGING),f}},754861:function(b,l,e){"use strict";e.d(l,{m:()=>G});var r=e(689446),o=e(958013),n=e(39994);const{AUTH_ID:a,AUTH_TOKEN:i}=o.Z,c="9f562d6ca39adae019ef00367c3f3deae3c8627f22e3b025ba425fbc2aac6431",u=x=>(x.__isTypekitPreviewSetup=!1,x.document.querySelector('a[href*="use.typekit.net/previewkits/pk-v1.js"]')?Promise.resolve():(0,n.Z)("https://use.typekit.net/previewkits/pk-v1.js",{doc:x.document})),f=x=>{x.TypekitPreview&&!x.__isTypekitPreviewSetup&&(x.TypekitPreview.setup({auth_id:a,auth_token:i}),x.__isTypekitPreviewSetup=!0)},d=x=>{let{weight:M,style:B}=x;return B.substring(0,1)+Math.round(M/100)},h=(x,M)=>({id:x.typekitData.typekitId,css_name:x.cssString,variations:M?M==null?void 0:M.map(d):x.variantData.variants.map(d)}),g=(x,M)=>{const B=[];return x.forEach(R=>{let{font:U,options:j}=R,$;try{$=h(U,j==null?void 0:j.variants)}catch(ee){console.error(ee);return}j.loadConfigSubset&&($.primer=c),B.push($)}),new Promise(R=>{u(M).then(()=>{f(M)}).then(()=>{var U;(U=M.TypekitPreview)===null||U===void 0||U.load(B,{active:()=>{R()},inactive:()=>{R()}})})})},_=null,p="//fonts.googleapis.com/css2",y=x=>`${x.style==="italic"?1:0},${x.weight}`,O=x=>{let M=p+"?";return M+=x.map(B=>{var R;let{font:U,options:j}=B,$=`family=${U.googleData.familyName}`;const ee=(R=j.variants)!==null&&R!==void 0&&R.length?j.variants:U.variantData.variants;return $+=":ital,wght@",$+=ee.map(y).sort().join(";"),$}).join("&"),M},P=(x,M)=>{const B=O(x),R=M.document.createElement("link");return R.rel="stylesheet",R.href=B,new Promise(U=>{R.onload=()=>{U()},M.document.head.appendChild(R)})},C=null,A=x=>x.endsWith(".woff2")?"woff2":x.endsWith(".woff")?"woff":x.endsWith(".ttf")?"truetype":x.endsWith(".otf")?"opentype":null,S=x=>x.map(M=>{var B;let{font:R}=M;return(B=R.variantData)===null||B===void 0||(B=B.variants)===null||B===void 0?void 0:B.map(U=>{const j=A(U.url);let $="@font-face {";return $+=`font-family: '${R.id}';`,$+=`font-style: ${U.style};`,$+=`font-weight: ${U.weight};`,$+=`src:url('${U.url}')`,j!==null&&($+=` format('${j}');`),$+="}",$}).join(`
`)}).join(`
`),T=(x,M)=>{const B=M.document.createElement("style");return B.textContent=S(x),M.document.head.appendChild(B),x.flatMap(U=>{var j;let{font:$}=U;return(j=$.variantData)===null||j===void 0||(j=j.variants)===null||j===void 0?void 0:j.map(ee=>new Promise(te=>{const ie=`${ee.style} ${ee.weight} 1em ${$.id}`;M.document.fonts.load(ie),te()}))})},s=null,v="SQUARESPACE_FONT_LOADER",m=50,E=(x,M)=>{const B=[],R=[],U=[];x.forEach($=>{let{font:ee,options:te}=$;if(ee.provider===r.x.TYPEKIT){R.push({font:ee,options:te});return}if(ee.provider===r.x.GOOGLE){B.push({font:ee,options:te});return}ee.provider===r.x.CUSTOM&&U.push({font:ee,options:te})});const j=[];return B.length&&j.push(P(B,M)),R.length&&j.push(g(R,M)),U.length&&j.push(...T(U,M)),Promise.all(j)},I=x=>(x[v]=x[v]||{loadedFonts:new Set,fontsToLoad:[],fontResolveFns:[],timeout:0},x[v]),L=(x,M)=>{x[v]=M},W=x=>{let{loadedFonts:M,fontsToLoad:B,fontResolveFns:R,timeout:U}=I(x);B.forEach(j=>{let{font:$}=j;M.add($.id)}),R.forEach(j=>{j()}),R=[],B=[],L(x,{loadedFonts:M,fontsToLoad:B,fontResolveFns:R,timeout:U})},F=(x,M)=>{var B;return(B=M.variants)!==null&&B!==void 0&&B.length&&(M.variants.every(U=>{const j=x.variantData.variants.some($=>U.weight===$.weight&&U.style===$.style);return j||console.error(`Attempted to load variant that does not exist on font ${x.id}: ${U.style}, ${U.weight}`),j})||delete M.variants),M},G=function(x){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(x.provider===r.x.WEBSAFE)return Promise.resolve();M=F(x,M);const B=M.win||window;let{loadedFonts:R,fontsToLoad:U,fontResolveFns:j,timeout:$}=I(B);if(R.has(x.id))return Promise.resolve();U.find(te=>{let{font:ie}=te;return ie.id===x.id})||U.push({font:x,options:M}),$&&B.clearTimeout($),$=B.setTimeout(()=>{E(U,B).then(()=>{W(B)})},m);const ee=new Promise(te=>{j.push(te)});return L(B,{loadedFonts:R,fontsToLoad:U,fontResolveFns:j,timeout:$}),ee},k=null},9232:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.DismissConfirmationDialog=void 0;var o=e(320596),n=e(20462),a=r(e(174161)),i=e(613472);const c=u=>{let{id:f,isOpen:d,message:h,title:g,onClose:_}=u;return a.default.createElement(n.Modal.Transition,null,d&&a.default.createElement(n.Modal,{id:f,onRequestClose:()=>_({isDismissed:!1})},a.default.createElement(n.Modal.Overlay,null),a.default.createElement(n.Modal.Position,{position:"center"},a.default.createElement(o.AlertDialog,{buttons:[p=>{let{onRequestClose:y}=p;return a.default.createElement(o.AlertDialog.Button,{"data-testid":"dismiss-confirmation-dialog-cancel-button",key:"cancel",onClick:y},a.default.createElement(i.T,{project:"guidance-checklist"},"Cancel"))},()=>a.default.createElement(o.AlertDialog.Button,{"data-testid":"dismiss-confirmation-dialog-dismiss-button",key:"dismiss",variant:"danger",onClick:()=>{_({isDismissed:!0})}},a.default.createElement(i.T,{project:"guidance-checklist"},"Dismiss"))],message:h,title:g}))))};l.DismissConfirmationDialog=c},230552:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.GuidanceChecklistGroupContext=l.GuidanceChecklistGroup=void 0,e(392338);var r=e(534246),o=e(9250),n=g(e(174161)),a=e(312849),i=e(613472),c=e(511880),u=e(288870),f=e(9232),d=e(395986);function h(y){if(typeof WeakMap!="function")return null;var O=new WeakMap,P=new WeakMap;return(h=function(C){return C?P:O})(y)}function g(y,O){if(!O&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var P=h(O);if(P&&P.has(y))return P.get(y);var C={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in y)if(S!=="default"&&Object.prototype.hasOwnProperty.call(y,S)){var T=A?Object.getOwnPropertyDescriptor(y,S):null;T&&(T.get||T.set)?Object.defineProperty(C,S,T):C[S]=y[S]}return C.default=y,P&&P.set(y,C),C}const _=l.GuidanceChecklistGroupContext=(0,n.createContext)({activeItems:[],allowMultipleItemsOpen:!1,guideTypes:[],guides:[],isAccordion:!1,isError:!1,isLoading:!1,surfaceArea:r.SurfaceArea.SETUP_GUIDE,variant:c.ChecklistVariant.DEFAULT,onDismiss:()=>{},onRevealToggle:()=>{},onTaskClick:()=>{},registerGuideType:()=>{},unregisterGuideType:()=>{}}),p=y=>{let{isAccordion:O=!1,surfaceArea:P,variant:C=c.ChecklistVariant.DEFAULT,children:A,onDismiss:S,onRevealToggle:T,onTaskClick:s,...v}=y;const m=O&&"allowMultipleItemsOpen"in v?v.allowMultipleItemsOpen??!1:!1,[E,I]=(0,n.useState)([]),[L,W]=(0,n.useState)([]),[F,G]=(0,n.useState)(null),k=(0,n.useRef)(!1);(0,n.useEffect)(()=>{O&&L.length===0&&E.length>0&&!k.current&&(W([E[0]]),k.current=!0)},[O,L,E]);const x=(0,n.useCallback)(ne=>{I(pe=>[...new Set([...pe,ne])])},[]),M=(0,n.useCallback)(ne=>{I(pe=>pe.filter(oe=>oe!==ne))},[]),B=(0,n.useCallback)(ne=>{ne.dismissMode===c.ChecklistDismissMode.GUIDE?(0,u.trackUserClicksDismissChecklist)({guideType:ne.guideType,surfaceArea:P}):ne.dismissMode===c.ChecklistDismissMode.TASK&&(0,u.trackUserClicksDeleteChecklistItem)({guideType:ne.guideType,taskType:ne.taskType,surfaceArea:P}),G(ne),S==null||S(ne)},[P,S]),R=(0,n.useCallback)(ne=>{O&&(W(m?pe=>pe.includes(ne)?pe.filter(oe=>oe!==ne):[...pe,ne]:pe=>pe.includes(ne)?[]:[ne]),T==null||T(ne))},[O,m,T]),U=(0,n.useCallback)(ne=>{s==null||s(ne)},[s]),{guides:j,isError:$,isLoading:ee,dismissGuides:te,dismissTasks:ie}=(0,a.useGuides)({guideTypes:E,surfaceArea:P});return n.default.createElement(_.Provider,{value:{activeItems:L,allowMultipleItemsOpen:m,guideTypes:E,guides:j,isAccordion:O,isError:$,isLoading:ee,surfaceArea:P,variant:C,onDismiss:B,onRevealToggle:R,onTaskClick:U,registerGuideType:x,unregisterGuideType:M}},n.default.createElement(o.Flex,{flexDirection:"column",gap:3,width:"100%"},A),n.default.createElement(f.DismissConfirmationDialog,{id:d.DATA_ID_DISMISS_CONFIRMATION_DIALOG,isOpen:!!F,message:(F==null?void 0:F.dismissMode)===c.ChecklistDismissMode.TASK?(0,i.t)("You cannot undo this action.",null,{project:"guidance-checklist"}):(0,i.t)("If dismissed, you will no longer see this checklist.",null,{project:"guidance-checklist"}),title:(F==null?void 0:F.dismissMode)===c.ChecklistDismissMode.TASK?(0,i.t)("Dismiss task?",null,{project:"guidance-checklist"}):(0,i.t)("Dismiss checklist?",null,{project:"guidance-checklist"}),onClose:ne=>{let{isDismissed:pe}=ne;F&&(F.dismissMode===c.ChecklistDismissMode.GUIDE&&(pe&&te([F.guideType]),(0,u.trackUserClicksDismissChecklistConfirmationModal)({didDismiss:pe,guideType:F.guideType,surfaceArea:P})),F.dismissMode===c.ChecklistDismissMode.TASK&&(pe&&ie([F.taskType]),(0,u.trackUserClicksDeleteChecklistItemConfirmationModal)({guideType:F.guideType,identifier:pe?"dismiss":"cancel",surfaceArea:P,taskType:F.taskType})),G(null))}}))};l.GuidanceChecklistGroup=p},443737:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.GuidanceChecklistItemContext=l.GuidanceChecklistItem=void 0;var o=r(e(160553));e(392338);var n=e(9250),a=p(e(174161)),i=e(613472),c=e(986424),u=e(288870),f=e(230552),d=e(485527),h=e(627365),g=e(239240);function _(C){if(typeof WeakMap!="function")return null;var A=new WeakMap,S=new WeakMap;return(_=function(T){return T?S:A})(C)}function p(C,A){if(!A&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=_(A);if(S&&S.has(C))return S.get(C);var T={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in C)if(v!=="default"&&Object.prototype.hasOwnProperty.call(C,v)){var m=s?Object.getOwnPropertyDescriptor(C,v):null;m&&(m.get||m.set)?Object.defineProperty(T,v,m):T[v]=C[v]}return T.default=C,S&&S.set(C,T),T}const y=3,O=l.GuidanceChecklistItemContext=(0,a.createContext)({guide:null,guideType:null,isEditing:!1,loadingItemsCount:y,onDismiss:()=>{},onEditToggle:()=>{},onRevealToggle:()=>{},onTaskClick:()=>{},onView:()=>{}}),P=C=>{let{dismissMode:A,guideType:S,loadingItemsCount:T=y,onDismiss:s,onRevealToggle:v,onTaskClick:m}=C;const[E,I]=(0,a.useState)(!1),{activeItems:L,guides:W,isAccordion:F,isError:G,isLoading:k,surfaceArea:x,variant:M,onDismiss:B,onRevealToggle:R,onTaskClick:U,registerGuideType:j,unregisterGuideType:$}=(0,a.useContext)(f.GuidanceChecklistGroupContext),{title:ee}=(0,h.getGuideCopy)(S),{guide:te,guidePositionIndex:ie,guidePositionTotal:ne}=(0,a.useMemo)(()=>{const he=W.find(fe=>{let{guideType:H}=fe;return H===S}),Ee=W.filter(fe=>{let{isDismissed:H}=fe;return!H});return{guide:he??null,guidePositionIndex:he?Ee.indexOf(he):-1,guidePositionTotal:Ee.length}},[W,S]),pe=(0,a.useMemo)(()=>(te==null?void 0:te.tasks.every(he=>{let{isDismissed:Ee}=he;return Ee}))??!1,[te==null?void 0:te.tasks]);(0,a.useEffect)(()=>(j(S),()=>$(S)),[S,j,$]);const oe=(0,a.useCallback)(()=>{const he=!F||L.includes(S);(0,u.trackUserViewsGuide)({isVisible:he,guideType:S,surfaceArea:x,tasks:(te==null?void 0:te.tasks)??[],guidePositionIndex:ie,guidePositionTotal:ne})},[L,te,S,ie,ne,F,x]),q=(0,a.useCallback)(()=>{(0,u.trackUserClicksEditGuidanceChecklistCTA)({guideType:S,identifier:E?"done":"edit",surfaceArea:x}),I(he=>!he)},[S,E,x]),J=(0,a.useCallback)(he=>{A&&(s==null||s(he),B==null||B(he))},[A,s,B]),me=(0,a.useCallback)(he=>{if(te){var Ee;const fe=!!(!((Ee=te.tasks.find(H=>H.taskType===he))===null||Ee===void 0)&&Ee.isComplete);(0,c.broadcastGuidanceTaskClick)({guideType:S,surfaceArea:x,taskType:he,isComplete:fe}),(0,u.trackUserClicksChecklistItem)({guide:te,taskType:he,surfaceArea:x})}m==null||m(he),U==null||U(he)},[te,S,x,m,U]),re=(0,a.useCallback)(()=>{const he=L.includes(S),Ee={guideType:S,guidePositionIndex:ie,guidePositionTotal:ne,surfaceArea:x};he?(0,u.trackUserClosesGuidanceChecklist)(Ee):(0,u.trackUserOpensGuidanceChecklist)(Ee),v==null||v(S),R==null||R(S)},[L,S,ie,ne,x,v,R]);return te!=null&&te.isDismissed?null:a.default.createElement(n.Box,(0,o.default)({width:"100%"},g.VariantStyles[M]),a.default.createElement(O.Provider,{value:{dismissMode:A,guide:te,guideType:S,isEditing:E,loadingItemsCount:T,onDismiss:J,onEditToggle:q,onTaskClick:me,onRevealToggle:re,onView:oe}},!k&&(G||!te||pe)?a.default.createElement(n.Flex,{flexDirection:"column",px:6,py:2},a.default.createElement(n.Text.Subtitle,{m:0},ee),a.default.createElement(n.Text.Body,{color:"gray.300",m:0,mt:1},pe?a.default.createElement(i.T,{project:"guidance-checklist"},"You have dismissed all your tasks"):a.default.createElement(i.T,{project:"guidance-checklist"},"Unable to load checklist. Refresh the page to try again."))):a.default.createElement(d.Checklist,null)))};l.GuidanceChecklistItem=P},10442:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.ChecklistHeaderControls=void 0,e(392338);var r=e(347533),o=e(9250),n=h(e(174161)),a=e(613472),i=e(511880),c=e(450986),u=e(230552),f=e(443737);function d(p){if(typeof WeakMap!="function")return null;var y=new WeakMap,O=new WeakMap;return(d=function(P){return P?O:y})(p)}function h(p,y){if(!y&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var O=d(y);if(O&&O.has(p))return O.get(p);var P={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in p)if(A!=="default"&&Object.prototype.hasOwnProperty.call(p,A)){var S=C?Object.getOwnPropertyDescriptor(p,A):null;S&&(S.get||S.set)?Object.defineProperty(P,A,S):P[A]=p[A]}return P.default=p,O&&O.set(p,P),P}const g={clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"},_=p=>{let{isHovered:y}=p;const{activeItems:O,isAccordion:P,isLoading:C}=(0,n.useContext)(u.GuidanceChecklistGroupContext),{dismissMode:A,guide:S,guideType:T,isEditing:s,onDismiss:v,onEditToggle:m,onRevealToggle:E}=(0,n.useContext)(f.GuidanceChecklistItemContext),[I,L]=(0,n.useState)(!1),W=(0,n.useMemo)(()=>{const G=((S==null?void 0:S.tasks)??[]).filter(M=>{let{isDismissed:B}=M;return!B}),k=G.length;if(k===0)return 0;const x=G.filter(M=>{let{isComplete:B}=M;return B}).length;return Math.round(x/k*100)},[S==null?void 0:S.tasks]);if(A===i.ChecklistDismissMode.GUIDE)return n.default.createElement(n.default.Fragment,null,n.default.createElement(c.ProgressTracker,{isLoading:C,progress:W}),n.default.createElement(o.Button.Tertiary,{color:"gray.300",onClick:F=>{F.stopPropagation(),v({dismissMode:i.ChecklistDismissMode.GUIDE,guideType:T})}},n.default.createElement(a.T,{project:"guidance-checklist"},"Dismiss")));if(A===i.ChecklistDismissMode.TASK){if(s)return n.default.createElement(o.Button.Tertiary,{onClick:G=>{G.stopPropagation(),m()}},n.default.createElement(a.T,{project:"guidance-checklist"},"Done"));const F=I||y;return n.default.createElement(n.default.Fragment,null,n.default.createElement(o.Touchable.Element.Icon,{"data-testid":"checklist-edit-button",sx:F?{}:g,onBlur:G=>{G.stopPropagation(),L(!1)},onClick:G=>{G.stopPropagation(),L(!1),m(),P&&!O.includes(T)&&E()},onFocus:G=>{G.stopPropagation(),L(!0)}},n.default.createElement(r.Edit,null)),!F&&n.default.createElement(c.ProgressTracker,{isLoading:C,progress:W}))}return n.default.createElement(c.ProgressTracker,{isLoading:C,progress:W})};l.ChecklistHeaderControls=_},613605:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.ChecklistHeader=void 0;var o=r(e(160553)),n=e(20462),a=e(9250),i=g(e(174161)),c=e(10442),u=e(230552),f=e(443737),d=e(627365);function h(y){if(typeof WeakMap!="function")return null;var O=new WeakMap,P=new WeakMap;return(h=function(C){return C?P:O})(y)}function g(y,O){if(!O&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var P=h(O);if(P&&P.has(y))return P.get(y);var C={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in y)if(S!=="default"&&Object.prototype.hasOwnProperty.call(y,S)){var T=A?Object.getOwnPropertyDescriptor(y,S):null;T&&(T.get||T.set)?Object.defineProperty(C,S,T):C[S]=y[S]}return C.default=y,P&&P.set(y,C),C}const _=61,p=y=>{let{isHovered:O=!1,...P}=y;const{isLoading:C}=(0,i.useContext)(u.GuidanceChecklistGroupContext),{guide:A,guideType:S}=(0,i.useContext)(f.GuidanceChecklistItemContext),{title:T}=(0,d.getGuideCopy)(S,(A==null?void 0:A.isComplete)??!1);return i.default.createElement(a.Flex,(0,o.default)({alignItems:"center",gap:2,justifyContent:"space-between",minHeight:_,width:"100%"},P),C?i.default.createElement(n.Skeleton,{"data-testid":"guidance-checklist-loading",flex:1,height:"sizes.150",maxWidth:"256px",my:3}):i.default.createElement(a.Text.Subtitle,{color:"black",m:0},T),i.default.createElement(a.Flex,{alignItems:"center",gap:3},i.default.createElement(c.ChecklistHeaderControls,{isHovered:O})))};l.ChecklistHeader=p},315702:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.ChecklistTasks=void 0;var r=e(9250),o=d(e(174161)),n=e(221494),a=e(752204),i=e(230552),c=e(443737),u=e(239240);function f(g){if(typeof WeakMap!="function")return null;var _=new WeakMap,p=new WeakMap;return(f=function(y){return y?p:_})(g)}function d(g,_){if(!_&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var p=f(_);if(p&&p.has(g))return p.get(g);var y={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in g)if(P!=="default"&&Object.prototype.hasOwnProperty.call(g,P)){var C=O?Object.getOwnPropertyDescriptor(g,P):null;C&&(C.get||C.set)?Object.defineProperty(y,P,C):y[P]=g[P]}return y.default=g,p&&p.set(g,y),y}const h=()=>{const{isLoading:g,variant:_}=(0,o.useContext)(i.GuidanceChecklistGroupContext),{guide:p,onTaskClick:y}=(0,o.useContext)(c.GuidanceChecklistItemContext),O=(p==null?void 0:p.tasks)??[];return o.default.createElement(r.Flex,{flexDirection:"column",width:"100%"},g?o.default.createElement(a.TaskLoader,null):O.map((P,C)=>{let{isComplete:A,taskType:S,isDismissed:T}=P;const s=C===O.length-1,v=s?u.VariantStyles[_].borderRadius:0;return T?null:o.default.createElement(n.Task,{isComplete:A,key:S,sx:{borderBottomWidth:s?0:1,borderBottomLeftRadius:v,borderBottomRightRadius:v},taskType:S,onClick:()=>{y==null||y(S)}})}))};l.ChecklistTasks=h},421955:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.Task=void 0;var o=r(e(160553)),n=e(347533),a=e(9250),i=_(e(174161)),c=e(511880),u=e(627071),f=e(230552),d=e(443737),h=e(871983);function g(y){if(typeof WeakMap!="function")return null;var O=new WeakMap,P=new WeakMap;return(g=function(C){return C?P:O})(y)}function _(y,O){if(!O&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var P=g(O);if(P&&P.has(y))return P.get(y);var C={__proto__:null},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in y)if(S!=="default"&&Object.prototype.hasOwnProperty.call(y,S)){var T=A?Object.getOwnPropertyDescriptor(y,S):null;T&&(T.get||T.set)?Object.defineProperty(C,S,T):C[S]=y[S]}return C.default=y,P&&P.set(y,C),C}const p=y=>{let{isComplete:O,taskType:P,onClick:C,...A}=y;const{onDismiss:S}=(0,i.useContext)(f.GuidanceChecklistGroupContext),{guideType:T,isEditing:s}=(0,i.useContext)(d.GuidanceChecklistItemContext),v=(0,h.getTaskCopy)(P),m=s?i.default.createElement(a.Touchable.Element.Icon,{"data-testid":"dismiss-task-button",onClick:W=>{W.stopPropagation(),S({dismissMode:c.ChecklistDismissMode.TASK,guideType:T,taskType:P})}},i.default.createElement(n.Trash,null)):i.default.createElement(n.ArrowRight,{role:"img"}),E=i.default.createElement(a.Text.Body,(0,o.default)({},!O&&{fontWeight:"medium"},{m:0}),v),I=O?i.default.createElement(n.CheckmarkCircle,{color:"blue.300","data-testid":"checklist-task-complete-icon",sx:{mr:1}}):i.default.createElement(n.Circle,{color:"gray.800",sx:{mr:1}}),L=s?{interiorPre:E}:{as:"button",interiorPre:I,label:E,onClick:C};return i.default.createElement(u.TaskCellBase,(0,o.default)({"data-testid":"checklist-task",exteriorAccessory:m},L,A))};l.Task=p},627071:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.TaskCellBase=void 0;var o=r(e(160553)),n=e(20462),a=f(e(174161)),i=e(511880),c=e(230552);function u(h){if(typeof WeakMap!="function")return null;var g=new WeakMap,_=new WeakMap;return(u=function(p){return p?_:g})(h)}function f(h,g){if(!g&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var _=u(g);if(_&&_.has(h))return _.get(h);var p={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in h)if(O!=="default"&&Object.prototype.hasOwnProperty.call(h,O)){var P=y?Object.getOwnPropertyDescriptor(h,O):null;P&&(P.get||P.set)?Object.defineProperty(p,O,P):p[O]=h[O]}return p.default=h,_&&_.set(h,p),p}const d=h=>{let{exteriorAccessory:g,sx:_,onClick:p,...y}=h;const{variant:O}=(0,a.useContext)(c.GuidanceChecklistGroupContext);return a.default.createElement(n.Cell,(0,o.default)({background:"transparent",exteriorAccessory:g,px:6,py:4,sx:{"&:hover":p&&{backgroundColor:O===i.ChecklistVariant.GRAY?"gray.900":"gray.950",cursor:"pointer"},"&:focus-visible":{outline:"2px solid",outlineOffset:"2px",outlineColor:"gray.100"},textAlign:"left",borderBottomColor:"gray.800",borderBottomStyle:"solid",borderTop:0,borderLeft:0,borderRight:0,..._},onClick:p},y))};l.TaskCellBase=d},752204:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TaskLoader=void 0;var r=e(20462),o=e(347533),n=u(e(174161)),a=e(627071),i=e(443737);function c(d){if(typeof WeakMap!="function")return null;var h=new WeakMap,g=new WeakMap;return(c=function(_){return _?g:h})(d)}function u(d,h){if(!h&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var g=c(h);if(g&&g.has(d))return g.get(d);var _={__proto__:null},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in d)if(y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)){var O=p?Object.getOwnPropertyDescriptor(d,y):null;O&&(O.get||O.set)?Object.defineProperty(_,y,O):_[y]=d[y]}return _.default=d,g&&g.set(d,_),_}const f=()=>{const{loadingItemsCount:d}=(0,n.useContext)(i.GuidanceChecklistItemContext);return n.default.createElement(n.default.Fragment,null,[...Array(d)].map((h,g)=>{const _=g===d-1;return n.default.createElement(a.TaskCellBase,{interiorPre:n.default.createElement(o.Circle,{color:"gray.800",sx:{mr:1}}),key:`loading-${g}`,label:n.default.createElement(r.Skeleton,{height:"sizes.150"}),sx:{borderBottomWidth:_?0:1}})}))};l.TaskLoader=f},221494:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"Task",{enumerable:!0,get:function(){return r.Task}}),Object.defineProperty(l,"TaskCellBase",{enumerable:!0,get:function(){return o.TaskCellBase}}),Object.defineProperty(l,"TaskLoader",{enumerable:!0,get:function(){return n.TaskLoader}});var r=e(421955),o=e(627071),n=e(752204)},485527:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.Checklist=void 0;var o=r(e(160553));e(392338);var n=e(20462),a=e(9250),i=_(e(174161)),c=e(613605),u=e(315702),f=e(230552),d=e(443737),h=e(395986);function g(P){if(typeof WeakMap!="function")return null;var C=new WeakMap,A=new WeakMap;return(g=function(S){return S?A:C})(P)}function _(P,C){if(!C&&P&&P.__esModule)return P;if(P===null||typeof P!="object"&&typeof P!="function")return{default:P};var A=g(C);if(A&&A.has(P))return A.get(P);var S={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in P)if(s!=="default"&&Object.prototype.hasOwnProperty.call(P,s)){var v=T?Object.getOwnPropertyDescriptor(P,s):null;v&&(v.get||v.set)?Object.defineProperty(S,s,v):S[s]=P[s]}return S.default=P,A&&A.set(P,S),S}const p={alignItems:"center",gap:2},y={...p,mb:2,pt:2,px:6},O=()=>{const{activeItems:P,isAccordion:C,isLoading:A}=(0,i.useContext)(f.GuidanceChecklistGroupContext),{guideType:S,isEditing:T,onEditToggle:s,onRevealToggle:v,onView:m}=(0,i.useContext)(d.GuidanceChecklistItemContext),E=!C||P.includes(S),I=(0,i.useRef)(null),L=(0,i.useRef)(!1),[W,F]=(0,i.useState)(!1),G=(0,i.useRef)(!0);(0,i.useEffect)(()=>{!A&&!L.current&&(m(),L.current=!0)},[A]),(0,i.useEffect)(()=>{if(T){const M=B=>{var R;const U=B.target,j=document.getElementById(h.DATA_ID_DISMISS_CONFIRMATION_DIALOG),$=j==null?void 0:j.contains(U),ee=(R=I.current)===null||R===void 0?void 0:R.contains(U);!$&&!ee&&s()};return document.addEventListener("click",M),()=>{document.removeEventListener("click",M)}}},[T,I,s]);const k={onMouseEnter:()=>F(!0),onMouseLeave:()=>F(!1)},x={...k,containerStyles:{...y,width:"100%",color:W||T?"black":"gray.300"},isOpen:E,sx:T?{cursor:"default"}:void 0,width:"100%",onToggle:()=>{T||(G.current=!1,v())}};return i.default.createElement(a.Box,{ref:I},C?i.default.createElement(n.Reveal,{body:i.default.createElement(n.Reveal.Body,{isOpen:E,m:0,skipInitialAnimation:G.current},i.default.createElement(u.ChecklistTasks,null)),"data-testid":"checklist-reveal",trigger:i.default.createElement(n.Reveal.Trigger,x,i.default.createElement(c.ChecklistHeader,(0,o.default)({},p,{isHovered:W,width:"100%"})))}):i.default.createElement(a.Flex,(0,o.default)({},k,{flexDirection:"column",width:"100%"}),i.default.createElement(c.ChecklistHeader,(0,o.default)({},y,{isHovered:W})),i.default.createElement(u.ChecklistTasks,null)))};l.Checklist=O},627365:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getGuideCopy=void 0;var r=e(534246),o=e(613472);const n={[r.GuideType.REGISTRATION_SELLERS]:{completed:{title:(0,o.t)("You're ready to sell group events",null,{project:"guidance-checklist"})},default:{title:(0,o.t)("Set up to sell group events",null,{project:"guidance-checklist"})}},[r.GuideType.SETUP_CONTENT_AND_MEMBERSHIPS]:{completed:{title:(0,o.t)("You're ready to make your first online sale",null,{project:"guidance-checklist"})},default:{title:(0,o.t)("Set up to sell your content",null,{project:"guidance-checklist"})}},[r.GuideType.SETUP_DONATIONS]:{completed:{title:(0,o.t)("You're ready to start collecting donations",null,{project:"guidance-checklist"})},default:{title:(0,o.t)("Start collecting donations",null,{project:"guidance-checklist"})}},[r.GuideType.SETUP_INVOICING]:{completed:{title:(0,o.t)("You're ready to make a sale",null,{project:"guidance-checklist"})},default:{title:(0,o.t)("Set up invoicing",null,{project:"guidance-checklist"})}},[r.GuideType.SETUP_PHYSICAL_STORE]:{completed:{title:(0,o.t)("You're ready to sell physical products",null,{project:"guidance-checklist"})},default:{title:(0,o.t)("Start selling your physical products",null,{project:"guidance-checklist"})}},[r.GuideType.SETUP_SCHEDULING]:{completed:{title:(0,o.t)("You're ready to accept appointments",null,{project:"guidance-checklist"})},default:{title:(0,o.t)("Set up scheduling",null,{project:"guidance-checklist"})}},[r.GuideType.SETUP_SERVICES_STORE]:{completed:{title:(0,o.t)("You're ready to sell services",null,{project:"guidance-checklist"})},default:{title:(0,o.t)("Start selling services",null,{project:"guidance-checklist"})}},[r.GuideType.WEBSITE_ESSENTIALS]:{completed:{title:(0,o.t)("Set up your website",null,{project:"guidance-checklist"})},default:{title:(0,o.t)("Set up your website",null,{project:"guidance-checklist"})}},[r.GuideType.SETUP_SEO]:{completed:{title:(0,o.t)("You're set up for SEO",null,{project:"guidance-checklist"})},default:{title:(0,o.t)("Continue your SEO journey",null,{project:"guidance-checklist"})}},[r.GuideType.SETUP_SEO_AND_AIO]:{completed:{title:(0,o.t)("You're set up for SEO / AIO",null,{project:"guidance-checklist",notes:"Acronyms for Search Engine Optimization and Artificial Intelligence Optimization"})},default:{title:(0,o.t)("Continue your SEO / AIO journey",null,{project:"guidance-checklist",notes:"Acronyms for Search Engine Optimization and Artificial Intelligence Optimization"})}}},a=(i,c)=>{var u;const f=c?"completed":"default";return((u=n[i])===null||u===void 0?void 0:u[f])??{title:""}};l.getGuideCopy=a},871983:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getTaskCopy=l.TaskCopy=void 0;var r=e(534246),o=e(613472);const n=l.TaskCopy={[r.TaskType.ADD_CONTACT_FORM]:{description:(0,o.t)("Add a contact form",null,{project:"guidance-checklist"})},[r.TaskType.ADD_DIGITAL_PRODUCT]:{description:(0,o.t)("Create a product",null,{project:"guidance-checklist"})},[r.TaskType.ADD_EXPERIENCE]:{description:(0,o.t)("Add an experience",null,{project:"guidance-checklist"})},[r.TaskType.ADD_FULFILLMENT_METHOD]:{description:(0,o.t)("Add a fulfillment method",null,{project:"guidance-checklist"})},[r.TaskType.ADD_GROUP_EVENT]:{description:(0,o.t)("Add a group event",null,{project:"guidance-checklist"})},[r.TaskType.ADD_LOGO_OR_EDIT_SITE_TITLE]:{description:(0,o.t)("Personalize your site header and logo",null,{project:"guidance-checklist"})},[r.TaskType.ADD_PAGES_WITH_SECTIONS_AND_BLOCKS]:{description:(0,o.t)("Build your website",null,{project:"guidance-checklist"})},[r.TaskType.ADD_PHYSICAL_PRODUCT]:{description:(0,o.t)("Add a product",null,{project:"guidance-checklist"})},[r.TaskType.ADD_PRODUCT_OR_SERVICES]:{description:(0,o.t)("Add product or service",null,{project:"guidance-checklist"})},[r.TaskType.ADD_SCHEDULING_PAGE]:{description:(0,o.t)("Add a scheduling page to your website",null,{project:"guidance-checklist"})},[r.TaskType.ADD_SERVICE_PRODUCT]:{description:(0,o.t)("Add a service",null,{project:"guidance-checklist"})},[r.TaskType.ATTACH_PRICING_PLAN]:{description:(0,o.t)("Create a sales page with pricing plans",null,{project:"guidance-checklist"})},[r.TaskType.CONNECT_PAYMENT_PROCESSOR]:{description:(0,o.t)("Connect a payment processor",null,{project:"guidance-checklist"})},[r.TaskType.CREATE_GIFT_CARD]:{description:(0,o.t)("Sell gift cards",null,{project:"guidance-checklist"})},[r.TaskType.CREATE_GIVING_PAGE]:{description:(0,o.t)("Add a giving page",null,{project:"guidance-checklist"})},[r.TaskType.CREATE_INVOICE]:{description:(0,o.t)("Create first invoice",null,{project:"guidance-checklist"})},[r.TaskType.CREATE_RECURRING_SERIES]:{description:(0,o.t)("Set up a recurring invoice",null,{project:"guidance-checklist",notes:"A recurring invoice is a series of invoices that are sent at regular intervals defined by the user."})},[r.TaskType.CUSTOMIZE_CHECKOUT]:{description:(0,o.t)("Customize your checkout",null,{project:"guidance-checklist"})},[r.TaskType.CUSTOMIZE_PAYWALL]:{description:(0,o.t)("Customize your paywall",null,{project:"guidance-checklist"})},[r.TaskType.CUSTOMIZE_RECEIPT]:{description:(0,o.t)("Customize the donation receipt",null,{project:"guidance-checklist"})},[r.TaskType.CUSTOMIZE_SITE_LOOK_AND_FEEL]:{description:(0,o.t)("Customize your brand style",null,{project:"guidance-checklist"})},[r.TaskType.DOWNLOAD_SCHEDULING_APP]:{description:(0,o.t)("Download the mobile app",null,{project:"guidance-checklist"})},[r.TaskType.EDIT_SEO]:{description:(0,o.t)("Modify SEO for search",null,{project:"guidance-checklist"})},[r.TaskType.ENABLE_CART_RECOVERY]:{description:(0,o.t)("Enable abandoned cart",null,{project:"guidance-checklist"})},[r.TaskType.ENABLE_PRODUCT_WAITLISTS]:{description:(0,o.t)("Enable waitlists",null,{project:"guidance-checklist"})},[r.TaskType.EXPLORE_SCHEDULING]:{description:(0,o.t)("Set up your scheduling page",null,{project:"guidance-checklist"})},[r.TaskType.HOLIDAY_2024_CREATE_DISCOUNT]:{description:(0,o.t)("Create a holiday discount code",null,{project:"guidance-checklist"})},[r.TaskType.HOLIDAY_2024_CREATE_GIFT_WRAPPING_ADDON]:{description:(0,o.t)("Include a gift wrapping add-on",null,{project:"guidance-checklist"})},[r.TaskType.HOLIDAY_2024_VIEW_BLACK_FRIDAY_PLAYBOOK]:{description:(0,o.t)("Convert your subscribers",null,{project:"guidance-checklist"})},[r.TaskType.PUBLISH_SITE]:{description:(0,o.t)("Publish your site",null,{project:"guidance-checklist"})},[r.TaskType.READ_SEO_CHECKLIST]:{description:(0,o.t)("Read our SEO Checklist",null,{project:"guidance-checklist"})},[r.TaskType.ADD_FAVICON]:{description:(0,o.t)("Add a favicon to your site",null,{project:"guidance-checklist"})},[r.TaskType.CONNECT_GOOGLE_SEARCH_CONSOLE]:{description:(0,o.t)("Review keywords on Google Search Console",null,{project:"guidance-checklist"})},[r.TaskType.ADD_FAQ_PAGE]:{description:(0,o.t)("Add an FAQ to boost visibility in AI-generated search results",null,{project:"guidance-checklist"})},[r.TaskType.EXPLORE_AIO_RESOURCES]:{description:(0,o.t)("Explore AIO resources in our blog",null,{project:"guidance-checklist",notes:"Acronym for Artificial Intelligence Optimization"})}},a=i=>{var c;return((c=n[i])===null||c===void 0?void 0:c.description)??""};l.getTaskCopy=a},395986:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.DATA_ID_DISMISS_CONFIRMATION_DIALOG=void 0;const e=l.DATA_ID_DISMISS_CONFIRMATION_DIALOG="guidance-checklist-dismiss-confirmation-dialog"},239240:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.VariantStyles=void 0;var r=e(511880);const o=l.VariantStyles={[r.ChecklistVariant.DEFAULT]:{border:1,borderColor:"gray.800",borderRadius:6},[r.ChecklistVariant.GRAY]:{borderRadius:"11px",backgroundColor:"gray.950"}}},286289:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.GuidanceChecklistGroup=void 0;var r=e(230552),o=e(443737);const n=l.GuidanceChecklistGroup=Object.assign(r.GuidanceChecklistGroup,{Item:o.GuidanceChecklistItem})},537256:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.CircularProgressIcon=void 0;var o=e(460496),n=r(e(174161));const a=i=>{let{progress:c}=i;const{colors:u,sizes:f}=(0,o.useTheme)();return n.default.createElement("svg",{height:f.sizes[150],viewBox:"0 0 22 22",width:f.sizes[150],xmlns:"http://www.w3.org/2000/svg"},n.default.createElement("circle",{cx:f.sizes[100],cy:f.sizes[100],fill:"none",r:"9",stroke:u.gray[800],strokeWidth:f.sizes[50]}),n.default.createElement("circle",{cx:f.sizes[100],cy:f.sizes[100],fill:"none",r:"9",stroke:u.blue[300],strokeDasharray:2*Math.PI*9,strokeDashoffset:(1-c/100)*2*Math.PI*9,strokeWidth:f.sizes[50],transform:"rotate(-90 11 11)"}))};l.CircularProgressIcon=a},450986:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.ProgressTracker=void 0;var o=e(20462),n=e(9250),a=r(e(174161)),i=e(613472),c=e(537256);const u=f=>{let{progress:d,isLoading:h}=f;return a.default.createElement(n.Flex,{alignItems:"center",gap:2},a.default.createElement(c.CircularProgressIcon,{progress:d}),h?a.default.createElement(o.Skeleton,{height:"sizes.150",width:"sizes.200"}):a.default.createElement(n.Text.Body,{fontWeight:"medium"},(0,i.formatQuantity)({value:Math.floor(d),unit:"percent"},{length:"narrow",maximumFractionDigits:0})))};l.ProgressTracker=u},728807:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.useGuide=void 0;var r=e(174161),o=e(159643),n=e(440976),a=e(759287),i=e(211588),c=e(478217),u=e(144556);const f=(d,h)=>{const[g,_]=(0,r.useState)(null),[p,y]=(0,r.useState)(!0),[O,P]=(0,r.useState)(!1),C=(0,r.useCallback)(s=>{s&&_(v=>v?{...v,tasks:s,isComplete:(0,c.getIsGuideComplete)(s)}:null)},[_]),A=(0,r.useCallback)(async s=>{if(y(!0),!d){y(!1);return}try{P(!1);const{data:v}=await(0,a.getGuides)([d],h),m=v.guides[0];m?(m.tasks=await(0,o.mergeDerivedTaskState)(m.tasks),s!=null&&s.readFromCache&&(m.tasks=(0,n.mergeCachedTaskState)(m.tasks)),_({...m,isComplete:(0,c.getIsGuideComplete)(m.tasks)})):P(!0)}catch(v){P(!0),i.Sentry.captureException(v)}finally{y(!1)}},[d,h,_]),S=(0,r.useCallback)(async()=>{if(d)try{_(s=>s?{...s,isDismissed:!0}:null),(0,a.dismissGuides)([d],h)}catch(s){i.Sentry.captureException(s)}},[d,h]),T=(0,r.useCallback)(s=>{try{_(v=>{var m;const E=(v==null||(m=v.tasks)===null||m===void 0?void 0:m.map(L=>({...L,isDismissed:L.taskType===s||L.isDismissed})))||[];return v?{...v,tasks:E,isComplete:(0,c.getIsGuideComplete)(E)}:null}),(0,a.dismissTasks)([s],h)}catch(v){i.Sentry.captureException(v)}},[h]);return(0,r.useEffect)(()=>{A({readFromCache:!0})},[A]),(0,u.useOptimisticGuideCompletion)({tasks:(g==null?void 0:g.tasks)??null,setTasks:C,refetch:A}),{guide:g,isLoading:p,isError:O,refetch:A,dismissGuide:S,dismissTask:T}};l.useGuide=f},312849:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.useGuides=void 0,e(392338);var r=e(174161),o=e(440976),n=e(759287),a=e(211588),i=e(478217),c=e(144556);const u=f=>{let{guideTypes:d,surfaceArea:h}=f;const[g,_]=(0,r.useState)([]),[p,y]=(0,r.useState)(!0),[O,P]=(0,r.useState)(!1),C=(0,r.useCallback)(async v=>{y(!0),P(!1);try{const{data:m}=d.length>0?await(0,n.getGuides)(d,h):{data:null};let E=(m==null?void 0:m.guides)??[];v!=null&&v.readFromCache&&(E=E.map(I=>({...I,tasks:(0,o.mergeCachedTaskState)(I.tasks)}))),E=E.map(I=>({...I,isComplete:(0,i.getIsGuideComplete)(I.tasks)})),_(E)}catch(m){P(!0),a.Sentry.captureException(m)}finally{y(!1)}},[d,h]),A=(0,r.useCallback)(v=>{if(!v)return;const m=g.map(E=>{const I=E.tasks.map(L=>{const W=v.find(F=>{let{taskType:G}=F;return G===L.taskType});return W?{...L,...W}:L});return{...E,tasks:I,isComplete:(0,i.getIsGuideComplete)(I)}});_(m)},[g]),S=(0,r.useCallback)(v=>{if(v){_(m=>m.map(E=>v.includes(E.guideType)?{...E,isDismissed:!0}:E));try{(0,n.dismissGuides)(v,h)}catch(m){a.Sentry.captureException(m)}}},[h]),T=(0,r.useCallback)(v=>{if(!v)return;let m=!1;const E=g.map(I=>{const L=I.tasks.map(W=>{const F=v.includes(W.taskType);return m||(m=F),{...W,isDismissed:F||W.isDismissed}});return{...I,tasks:L,isComplete:(0,i.getIsGuideComplete)(L)}});if(m){_(E);try{(0,n.dismissTasks)(v,h)}catch(I){a.Sentry.captureException(I)}}},[h,g]);(0,r.useEffect)(()=>{C({readFromCache:!0})},[C]);const s=(0,r.useMemo)(()=>{const v=g.flatMap(m=>m.tasks);return v.filter((m,E)=>v.indexOf(m)===E)},[g]);return(0,c.useOptimisticGuideCompletion)({tasks:s,setTasks:A,refetch:C}),{guides:g,isLoading:p,isError:O,dismissGuides:S,dismissTasks:T,refetch:C}};l.useGuides=u},144556:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.useOptimisticTaskCompletion=l.useOptimisticGuideCompletion=void 0;var o=r(e(103372)),n=e(174161),a=e(905568);const i=u=>{let{tasks:f,setTasks:d,refetch:h}=u;(0,n.useEffect)(()=>{const g=P=>{let{payload:C,isComplete:A}=P;if((0,o.default)(f))return;const S=f.map(T=>T.taskType===C.taskType?{...T,isComplete:A}:{...T});d(S)},_=(0,a.listenForGuidanceTaskCompletion)(P=>g({payload:P,isComplete:!0})),p=(0,a.listenForGuidanceTaskIncompletion)(P=>g({payload:P,isComplete:!1})),y=(0,a.listenForGuidanceTaskRefetch)(h);return()=>{_(),p(),y()}},[f,d,h])};l.useOptimisticGuideCompletion=i;const c=u=>{let{task:f,setTask:d,refetch:h}=u;(0,n.useEffect)(()=>{const g=(0,a.listenForGuidanceTaskCompletion)(O=>O.taskType===(f==null?void 0:f.taskType)&&d({...f,isComplete:!0})),_=(0,a.listenForGuidanceTaskIncompletion)(O=>O.taskType===(f==null?void 0:f.taskType)&&d({...f,isComplete:!1})),p=(0,a.listenForGuidanceTaskRefetch)(h);return()=>{g(),_(),p()}},[f,d,h])};l.useOptimisticTaskCompletion=c},150380:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.useTask=void 0;var r=e(174161),o=e(159643),n=e(440976),a=e(759287),i=e(211588),c=e(144556);const u=(f,d)=>{const[h,g]=(0,r.useState)(null),[_,p]=(0,r.useState)(!1),[y,O]=(0,r.useState)(!1),P=(0,r.useCallback)(async C=>{try{p(!0),O(!1);const{data:A}=await(0,a.getTasks)(f,d),S=A.tasks[0];if(S){const T=await(0,o.applyDerivedCompletionIfApplicable)(S);if(C!=null&&C.readFromCache){const s=(0,n.readCachedTaskCompletion)({taskType:f});T.isComplete=s??T.isComplete}g(T)}else O(!0)}catch(A){O(!0),i.Sentry.captureException(A)}finally{p(!1)}},[f,d,g]);return(0,r.useEffect)(()=>{P({readFromCache:!0})},[P]),(0,c.useOptimisticTaskCompletion)({task:h,setTask:g,refetch:P}),{task:h,isLoading:_,isError:y,refetch:P}};l.useTask=u},613472:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.t=l.pluralize=l.parseNumber=l.getCurrencySymbol=l.formatQuantity=l.formatNumber=l.formatIcuMessage=l.formatCurrencyToParts=l.formatCurrency=l.T=l.Plural=l.FormattedNumber=l.FormattedDateTime=l.FormattedCurrency=void 0;var o=r(e(555912)),n=r(e(470407)),a=r(e(59794)),i=e(912150);const c=(0,i.getI18nInstance)(),u=new a.default(c),f=new o.default(c),d=new n.default(c),{formatIcuMessage:h}=f;l.formatIcuMessage=h;const{parseNumber:g}=d;l.parseNumber=g;const{T:_,Plural:p,FormattedCurrency:y,FormattedNumber:O,FormattedDateTime:P}=u;l.FormattedDateTime=P,l.FormattedNumber=O,l.FormattedCurrency=y,l.Plural=p,l.T=_;const{formatNumber:C,formatCurrency:A,formatCurrencyToParts:S,getCurrencySymbol:T,formatQuantity:s,translate:v,pluralize:m}=c;l.pluralize=m,l.t=v,l.formatQuantity=s,l.getCurrencySymbol=T,l.formatCurrencyToParts=S,l.formatCurrency=A,l.formatNumber=C},912150:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.setI18nInstance=l.getI18nInstance=void 0;var r=e(638204);const o="guidance-checklist";function n(c){return e(45282)(`./${o}.${c}.yaml`)}const{getI18nInstance:a,setI18nInstance:i}=(0,r.setupLibrary)(o,n);l.setI18nInstance=i,l.getI18nInstance=a},526974:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"ChecklistDismissMode",{enumerable:!0,get:function(){return d.ChecklistDismissMode}}),Object.defineProperty(l,"ChecklistVariant",{enumerable:!0,get:function(){return d.ChecklistVariant}}),Object.defineProperty(l,"GuidanceChecklistGroup",{enumerable:!0,get:function(){return o.GuidanceChecklistGroup}}),Object.defineProperty(l,"GuideType",{enumerable:!0,get:function(){return r.GuideType}}),Object.defineProperty(l,"SupportedGuideType",{enumerable:!0,get:function(){return d.SupportedChecklistGuideType}}),Object.defineProperty(l,"SurfaceArea",{enumerable:!0,get:function(){return r.SurfaceArea}}),Object.defineProperty(l,"TaskType",{enumerable:!0,get:function(){return r.TaskType}}),Object.defineProperty(l,"broadcastGuidanceTaskClick",{enumerable:!0,get:function(){return c.broadcastGuidanceTaskClick}}),Object.defineProperty(l,"broadcastGuidanceTaskCompletion",{enumerable:!0,get:function(){return c.broadcastGuidanceTaskCompletion}}),Object.defineProperty(l,"broadcastGuidanceTaskIncompletion",{enumerable:!0,get:function(){return c.broadcastGuidanceTaskIncompletion}}),Object.defineProperty(l,"broadcastGuidanceTaskRefetch",{enumerable:!0,get:function(){return c.broadcastGuidanceTaskRefetch}}),Object.defineProperty(l,"getTaskCopy",{enumerable:!0,get:function(){return n.getTaskCopy}}),Object.defineProperty(l,"listenForGuidanceTaskClick",{enumerable:!0,get:function(){return f.listenForGuidanceTaskClick}}),Object.defineProperty(l,"listenForGuidanceTaskCompletion",{enumerable:!0,get:function(){return f.listenForGuidanceTaskCompletion}}),Object.defineProperty(l,"listenForGuidanceTaskIncompletion",{enumerable:!0,get:function(){return f.listenForGuidanceTaskIncompletion}}),Object.defineProperty(l,"updateTaskCompletionCache",{enumerable:!0,get:function(){return u.updateTaskCompletionCache}}),Object.defineProperty(l,"useGuide",{enumerable:!0,get:function(){return a.useGuide}}),Object.defineProperty(l,"useTask",{enumerable:!0,get:function(){return i.useTask}});var r=e(534246),o=e(286289),n=e(871983),a=e(728807),i=e(150380),c=e(986424),u=e(440976),f=e(905568),d=e(511880)},775089:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.hasAddedServiceProduct=l.hasAddedProduct=l.hasAddedPhysicalProduct=void 0;var o=r(e(92286)),n=e(534246),a=e(796045),i=e(283423),c=e(774760),u=e(904944);const f=async()=>{if((0,a.getStaticAchievement)(o.default.PRODUCT_SAVED))return!0;const _=await(0,c.hasImportedEtsyProduct)();return _&&(0,i.grantAchievement)(o.default.PRODUCT_SAVED),_},d=l.hasAddedProduct=(0,u.withGuidanceBackfill)(n.TaskType.ADD_PRODUCT_OR_SERVICES,f,!0),h=l.hasAddedPhysicalProduct=(0,u.withGuidanceBackfill)(n.TaskType.ADD_PHYSICAL_PRODUCT,f,!0),g=l.hasAddedServiceProduct=(0,u.withGuidanceBackfill)(n.TaskType.ADD_SERVICE_PRODUCT,f,!0)},159643:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.mergeDerivedTaskState=l.applyDerivedCompletionIfApplicable=void 0;var r=e(775089);const o={ADD_PRODUCT_OR_SERVICES:r.hasAddedProduct,ADD_PHYSICAL_PRODUCT:r.hasAddedPhysicalProduct,ADD_SERVICE_PRODUCT:r.hasAddedServiceProduct},n=async c=>{const u=o[c];return u===void 0?null:u()},a=async c=>{if(c.isComplete)return c;const u=await n(c.taskType);return u===null?c:{...c,isComplete:u}};l.applyDerivedCompletionIfApplicable=a;const i=async c=>await Promise.all(c.map(a));l.mergeDerivedTaskState=i},796045:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getStaticAchievement=void 0;var r=e(744218);const o=n=>{var a;return((r.context===null||r.context===void 0||(a=r.context.websiteAchievement)===null||a===void 0?void 0:a.achievements)??[]).some(c=>{let{type:u}=c;return u===n})};l.getStaticAchievement=o},283423:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.grantAchievement=void 0;var o=r(e(456903)),n=e(211588);const a="/api/website-achievement",i=async c=>{try{await o.default.post(`${a}/${c}`)}catch(u){n.Sentry.captureException(u)}};l.grantAchievement=i},774760:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.hasImportedEtsyProduct=void 0;var o=r(e(456903));const n=async()=>{try{const{data:i}=await o.default.get("/commerce-channels/api/jobs?channel=ETSY&jobType=PRODUCT_IMPORT&pageSize=1");return JSON.parse(i[0].details)||{}}catch{return{}}},a=async()=>{const{importedCount:i}=await n();return i>0};l.hasImportedEtsyProduct=a},904944:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.withGuidanceBackfill=void 0;var o=r(e(547740)),n=e(986424);const a=(c,u)=>(0,o.default)(()=>{(0,n.broadcastGuidanceTaskCompletion)({taskType:c,skipPersist:u})}),i=function(c,u){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const d=a(c,f);return async()=>{const h=await u();return h&&d(),h}};l.withGuidanceBackfill=i},986424:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.broadcastGuidanceTaskRefetch=l.broadcastGuidanceTaskIncompletion=l.broadcastGuidanceTaskCompletion=l.broadcastGuidanceTaskClick=void 0;var r=e(259217);const o=u=>{var f;(f=window)===null||f===void 0||(f=f.top)===null||f===void 0||f.dispatchEvent(u)},n=u=>{let{guideType:f,surfaceArea:d,taskType:h,isComplete:g}=u;o(new CustomEvent(r.GUIDANCE_TASK_CLICK_EVENT,{detail:{guideType:f,surfaceArea:d,taskType:h,isComplete:g}}))};l.broadcastGuidanceTaskClick=n;const a=u=>{let{taskType:f,skipPersist:d}=u;o(new CustomEvent(r.GUIDANCE_TASK_COMPLETE_EVENT,{detail:{taskType:f,skipPersist:d}}))};l.broadcastGuidanceTaskCompletion=a;const i=u=>{let{taskType:f}=u;o(new CustomEvent(r.GUIDANCE_TASK_INCOMPLETE_EVENT,{detail:{taskType:f}}))};l.broadcastGuidanceTaskIncompletion=i;const c=u=>{let{taskType:f}=u;o(new CustomEvent(r.GUIDANCE_TASK_REFETCH_EVENT,{detail:{taskType:f}}))};l.broadcastGuidanceTaskRefetch=c},440976:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.updateTaskCompletionCache=l.readCachedTaskCompletion=l.mergeCachedTaskState=void 0;var o=r(e(326096)),n=e(211588);const a=f=>{let{taskType:d}=f;return`__GUIDANCE_TASK_COMPLETION__${d}__`},i=f=>{let{taskType:d,isComplete:h}=f;try{const g=a({taskType:d});sessionStorage.setItem(g,String(h))}catch(g){n.Sentry.captureException(g)}};l.updateTaskCompletionCache=i;const c=f=>{let{taskType:d}=f;try{const h=a({taskType:d}),g=sessionStorage.getItem(h);if(g===null)return null;const _=JSON.parse(g);if(!(0,o.default)(_))throw new Error(`Found unexpected non-boolean value when reading Guidance task cache: ${_}`);return _}catch(h){return n.Sentry.captureException(h),null}};l.readCachedTaskCompletion=c;const u=f=>f.map(d=>({...d,isComplete:c({taskType:d.taskType})??d.isComplete}));l.mergeCachedTaskState=u},259217:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.GUIDANCE_TASK_REFETCH_EVENT=l.GUIDANCE_TASK_INCOMPLETE_EVENT=l.GUIDANCE_TASK_COMPLETE_EVENT=l.GUIDANCE_TASK_CLICK_EVENT=void 0;const e="guidance_engine_task",r=l.GUIDANCE_TASK_COMPLETE_EVENT=`${e}__complete`,o=l.GUIDANCE_TASK_INCOMPLETE_EVENT=`${e}__incomplete`,n=l.GUIDANCE_TASK_REFETCH_EVENT=`${e}__refetch`,a=l.GUIDANCE_TASK_CLICK_EVENT=`${e}__click`},905568:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.listenForGuidanceTaskRefetch=l.listenForGuidanceTaskIncompletion=l.listenForGuidanceTaskCompletion=l.listenForGuidanceTaskClick=void 0;var r=e(259217);const o=(u,f)=>{var d;const h=_=>{const p=_.detail;f(p)};return(d=window)===null||d===void 0||(d=d.top)===null||d===void 0||d.addEventListener(u,h),()=>{var _;return(_=window)===null||_===void 0||(_=_.top)===null||_===void 0?void 0:_.removeEventListener(u,h)}},n=u=>o(r.GUIDANCE_TASK_COMPLETE_EVENT,u);l.listenForGuidanceTaskCompletion=n;const a=u=>o(r.GUIDANCE_TASK_INCOMPLETE_EVENT,u);l.listenForGuidanceTaskIncompletion=a;const i=u=>o(r.GUIDANCE_TASK_REFETCH_EVENT,u);l.listenForGuidanceTaskRefetch=i;const c=u=>{var f;const d=r.GUIDANCE_TASK_CLICK_EVENT,h=_=>{const p=_.detail;u(p)};return(f=window)===null||f===void 0||(f=f.top)===null||f===void 0||f.addEventListener(d,h),()=>{var _;return(_=window)===null||_===void 0||(_=_.top)===null||_===void 0?void 0:_.removeEventListener(d,h)}};l.listenForGuidanceTaskClick=c},511880:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.ChecklistVariant=l.ChecklistDismissMode=void 0;let e=l.ChecklistVariant=function(o){return o.DEFAULT="DEFAULT",o.GRAY="GRAY",o}({}),r=l.ChecklistDismissMode=function(o){return o.GUIDE="guide",o.TASK="task",o}({})},759287:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.getTasks=l.getGuides=l.dismissTasks=l.dismissGuides=void 0;var o=r(e(456903));const n="/api/v1/guidance",a=async(f,d)=>await o.default.get(`${n}/guide`,{params:{guide:f,surfaceArea:d},paramsSerializer:{indexes:null}});l.getGuides=a;const i=(f,d)=>{o.default.post(`${n}/guide/dismissal`,{guides:f,surfaceArea:d})};l.dismissGuides=i;const c=async(f,d)=>await o.default.get(`${n}/task`,{params:{task:f,surfaceArea:d}});l.getTasks=c;const u=(f,d)=>{o.default.post(`${n}/task/dismissal`,{tasks:f,surfaceArea:d})};l.dismissTasks=u},288870:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.trackUserViewsGuide=l.trackUserOpensGuidanceChecklist=l.trackUserClosesGuidanceChecklist=l.trackUserClicksEditGuidanceChecklistCTA=l.trackUserClicksDismissChecklistConfirmationModal=l.trackUserClicksDismissChecklist=l.trackUserClicksDeleteChecklistItemConfirmationModal=l.trackUserClicksDeleteChecklistItem=l.trackUserClicksChecklistItem=void 0;var r=e(744218),o=d(e(221661)),n=e(451846),a=e(728711),i=e(152050),c,u;function f(E){if(typeof WeakMap!="function")return null;var I=new WeakMap,L=new WeakMap;return(f=function(W){return W?L:I})(E)}function d(E,I){if(!I&&E&&E.__esModule)return E;if(E===null||typeof E!="object"&&typeof E!="function")return{default:E};var L=f(I);if(L&&L.has(E))return L.get(E);var W={__proto__:null},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var G in E)if(G!=="default"&&Object.prototype.hasOwnProperty.call(E,G)){var k=F?Object.getOwnPropertyDescriptor(E,G):null;k&&(k.get||k.set)?Object.defineProperty(W,G,k):W[G]=E[G]}return W.default=E,L&&L.set(E,W),W}var h=function(E){return E.USER="user",E}(h||{}),g=function(E){return E.CLICK="click",E.CLOSE="close",E.DISMISS="dismiss",E.OPEN="open",E.VIEW="view",E}(g||{}),_=function(E){return E.BUTTON="button",E.CHECKLIST="checklist",E.LINK="link",E.MODAL="modal",E.SECTION="section",E}(_||{});const p=new o.default({customSchemaName:"SetupGuide",sourceEnvironment:n.EnvUtils.isInternal()?o.SourceEnvironment.STAGING:o.SourceEnvironment.PROD},{product_area:"setup-guide",event_owner_team:"activation-engine",event_source:"web",context_website_id:r.context===null||r.context===void 0||(c=r.context.website)===null||c===void 0?void 0:c.id,member_account_id:r.context===null||r.context===void 0||(u=r.context.authenticatedAccount)===null||u===void 0?void 0:u.id,...(0,i.geti18nEventData)()}),y=E=>{p.track(E);const{event_name:I,...L}=E;(0,a.fireEvent)(I,L)},O=E=>{let{guidePositionIndex:I,guidePositionTotal:L,guideType:W,isVisible:F,surfaceArea:G,tasks:k}=E;const x=k.filter(M=>M.isComplete).map(M=>M.taskType).sort((M,B)=>M.localeCompare(B));y({action:g.VIEW,actor:h.USER,event_name:"UserViewsGuide",guide_name:W,object_type:_.SECTION,object_identifier:W,is_visible:F,item_completion_list:x,guide_position_index:I,guide_position_total:L,surface_area:G})};l.trackUserViewsGuide=O;const P=E=>{let{guide:I,taskType:L,surfaceArea:W}=E;const F=I.tasks.findIndex(G=>G.taskType===L);y({action:g.CLICK,actor:h.USER,event_name:"UserClicksChecklistItem",guide_name:I.guideType,object_type:_.LINK,object_identifier:L,item_position_index:F+1,item_position_total:I.tasks.length,surface_area:W})};l.trackUserClicksChecklistItem=P;const C=E=>{let{guideType:I,surfaceArea:L}=E;y({action:g.CLICK,actor:h.USER,event_name:"UserClicksDismissChecklist",guide_name:I,object_type:_.BUTTON,surface_area:L})};l.trackUserClicksDismissChecklist=C;const A=E=>{let{didDismiss:I,guideType:L,surfaceArea:W}=E;y({action:g.DISMISS,actor:h.USER,event_name:"UserClicksDismissChecklistConfirmationModal",guide_name:L,object_type:_.MODAL,object_identifier:I?"dismiss":"cancel",surface_area:W})};l.trackUserClicksDismissChecklistConfirmationModal=A;const S=E=>{let{guideType:I,surfaceArea:L,guidePositionIndex:W,guidePositionTotal:F}=E;y({action:g.OPEN,actor:h.USER,event_name:"UserOpensGuidanceChecklist",guide_name:I,object_type:_.CHECKLIST,guide_position_index:W,guide_position_total:F,surface_area:L})};l.trackUserOpensGuidanceChecklist=S;const T=E=>{let{guideType:I,surfaceArea:L,guidePositionIndex:W,guidePositionTotal:F}=E;y({action:g.CLOSE,actor:h.USER,event_name:"UserClosesGuidanceChecklist",guide_name:I,object_type:_.CHECKLIST,guide_position_index:W,guide_position_total:F,surface_area:L})};l.trackUserClosesGuidanceChecklist=T;const s=E=>{let{guideType:I,identifier:L,surfaceArea:W}=E;y({action:g.CLICK,actor:h.USER,event_name:"UserClicksEditGuidanceChecklistCTA",guide_name:I,object_type:_.BUTTON,surface_area:W,object_identifier:L})};l.trackUserClicksEditGuidanceChecklistCTA=s;const v=E=>{let{guideType:I,taskType:L,surfaceArea:W}=E;y({action:g.CLICK,actor:h.USER,event_name:"UserClicksDeleteChecklistItem",guide_name:I,object_type:_.BUTTON,surface_area:W,task_name:L})};l.trackUserClicksDeleteChecklistItem=v;const m=E=>{let{guideType:I,taskType:L,surfaceArea:W,identifier:F}=E;y({action:g.CLICK,actor:h.USER,event_name:"UserClicksDeleteChecklistItemConfirmationModal",guide_name:I,object_type:_.BUTTON,surface_area:W,task_name:L,object_identifier:F})};l.trackUserClicksDeleteChecklistItemConfirmationModal=m},728711:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.fireEvent=void 0;const e=o=>{try{var n;const a=(n=window)===null||n===void 0||(n=n.top)===null||n===void 0?void 0:n.FS;a&&o(a)}catch{}},r=(o,n)=>{e(a=>{a.event(o,n)})};l.fireEvent=r},211588:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.Sentry=void 0;var o=e(608800),n=r(e(247380));const a=l.Sentry=new o.ConfigSentryIntegration("guidance-engine",n.default.ACTIVATION)},478217:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getIsGuideComplete=void 0;const e=r=>r.every(o=>{let{isComplete:n,isDismissed:a}=o;return a||n});l.getIsGuideComplete=e},152050:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.geti18nEventData=void 0;var r=e(744218);const o=()=>{var i;return r.context===null||r.context===void 0||(i=r.context.website)===null||i===void 0?void 0:i.language},n=()=>{var i;return r.context===null||r.context===void 0||(i=r.context.authenticatedAccount)===null||i===void 0?void 0:i.preferredLocale},a=()=>{const i=n();return{website_locale:o()||i,member_account_locale:i}};l.geti18nEventData=a},45282:function(b,l,e){var r={"./guidance-checklist.en-US.yaml":"600255"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=45282},868192:function(b,l,e){"use strict";e.r(l),e.d(l,{ACCEPTING_AFTERPAY:()=>H,ACCEPTING_AFTERPAY_ELIGIBILITY:()=>z,ACCEPTING_GOOGLE_PAY_ABS:()=>ae,ACCEPTING_KLARNA_ABS:()=>_e,ACUITY_SCHEDULER:()=>n,ADDING_ALT_TEXT_TO_IMAGES:()=>f,ADDING_A_FAVICON_OR_BROWSER_ICON:()=>Be,ADDING_CONTENT_WITH_BLOCKS:()=>d,ADDING_CUSTOM_DNS_RECORDS_TO_YOUR_SQUARESPACE_MANAGED_DOMAIN_ABS:()=>P,ADDING_LINKS_TO_YOUR_SITE:()=>Yn,ADDING_NEW_PRODUCTS:()=>h,ADDING_THUMBNAILS:()=>g,ADDING_VIDEOS_TO_YOUR_SITE_EMBEDDED_VIDEOS:()=>Qa,ADD_BACKGROUND_VIDEO:()=>i,ADD_DONATION_BLOCK:()=>u,ADD_FALLBACK_IMAGE:()=>c,ADVANCED_DNS_SETTINGS:()=>y,ADVANCED_DNS_SETTINGS_ADD_SQSP_DEFAULTS_ABS:()=>p,ADVANCED_DNS_SETTINGS_LANDING:()=>_,ADVANCED_SETTINGS_AVAILABLE_SETTINGS:()=>O,AD_TRACKER:()=>a,AMAZON_EDITOR:()=>C,ANNOUNCEMENT_BAR:()=>A,API_ABOUT_PAGE:()=>S,API_KEY_SECURITY_PAGE:()=>T,APPLE_NEWS:()=>s,APPLE_PAY:()=>v,ARCHIVE_EDITOR:()=>m,AUDIO_ANALYTICS:()=>E,AUDIO_BLOCK_SUPPORT:()=>I,AUTOMATIC_SUBSCRIPTION_RENEWALS:()=>L,AU_AND_COMAU_DOMAINS_PRIORITY_FOR_AU_DOMAINS:()=>W,BACKGROUND_ART:()=>F,BANDSINTOWN:()=>k,BASIC_AUTHORS:()=>G,BILLING:()=>x,BILLING_BASICS:()=>M,BUILDING_A_NON_PROFIT_SITE:()=>Bl,BUILDING_A_SITE_HEADER_HIDE_THE_HEADER_ABS:()=>Ke,BUTTON_EDITOR:()=>B,BUTTON_STYLING:()=>R,BUY_AND_PRINT_SHIPPING_LABELS_ABS:()=>Pl,BUY_AND_PRINT_SHIPPING_LABELS_BEFORE_CREATING_YOUR_FIRST_UPS_LABEL_ABS:()=>Wi,CALCULATED_SHIPPING_RATES:()=>aa,CALENDAR_EDITOR:()=>U,CANCELLING_SERVICE:()=>ee,CANCELLING_YOUR_MEMBER_AREAS_SUBSCRIPTION:()=>ei,CANCELLING_YOUR_SCHEDULING_SUBSCRIPTION:()=>dn,CANCEL_G_SUITE:()=>$,CHANGE_BILLING_PLAN:()=>te,CHANGE_LANGUAGE:()=>ie,CHANGING_COLORS:()=>El,CHART_EDITOR:()=>ne,CHECKOUT_ON_DOMAINS:()=>pe,CHECKOUT_SETTINGS:()=>oe,CHOOSE_TEMPLATE:()=>q,CHOWNOW:()=>J,CODE_BLOCK:()=>me,CODE_INJECTION:()=>he,COMMERCE_CURRENCIES:()=>He,COMMERCE_FAQ:()=>ye,COMMERCE_FULFILLMENT_BY_PRODUCT:()=>Xe,COMMERCE_INVENTORY:()=>Le,COMMERCE_LOCAL_PICKUP:()=>Ue,COMMERCE_SUBSCRIPTIONS:()=>Fe,COMMERCE_SUBSCRIPTIONS_MANAGE:()=>ht,COMMERCE_TAXES:()=>Ne,COMMERCE_TAXES_AUTOMATED_PROMOTIONAL_PRICING:()=>we,COMMERCE_TAXES_AUTOMATED_SETUP:()=>$e,COMMERCE_TAXES_AUTO_CALCS:()=>Ce,COMMERCE_TAXES_COLLECTING_TAXES:()=>Ot,COMMERCE_TEST_MODE:()=>Pt,COMMERCE_TRANSACTION_FEES:()=>Ie,COMMERCE_VAT:()=>Bt,COM_AU_DOMAIN_ABN_ACN_DETAILS:()=>Ee,CONNECTED_ACCOUNTS:()=>rt,CONNECTING_A_BLUEHOST_DOMAIN_TO_A_SQUARESPACE_SITE:()=>ec,CONNECTING_A_DOTSTER_DOMAIN_TO_A_SQUARESPACE_SITE:()=>Tc,CONNECTING_A_DREAMHOST_DOMAIN_TO_A_SQUARESPACE_SITE:()=>dc,CONNECTING_A_ENOM_DOMAIN_TO_A_SQUARESPACE_SITE:()=>Rc,CONNECTING_A_GODADDY_DOMAIN_TO_A_SQUARESPACE_SITE:()=>ql,CONNECTING_A_HOVER_DOMAIN_TO_A_SQUARESPACE_SITE:()=>qc,CONNECTING_A_IWANTMYNAME_DOMAIN_TO_A_SQUARESPACE_SITE:()=>tc,CONNECTING_A_NAMECHEAP_DOMAIN_TO_A_SQUARESPACE_SITE:()=>Sc,CONNECTING_A_NETWORKSOLUTIONS_DOMAIN_TO_A_SQUARESPACE_SITE:()=>Mu,CONNECTING_A_ONEANDONE_DOMAIN_TO_A_SQUARESPACE_SITE:()=>hu,CONNECTING_A_PRINT_ON_DEMAND_EXTENSION:()=>nl,CONNECTING_A_REGISTERDOTCOM_DOMAIN_TO_A_SQUARESPACE_SITE:()=>ac,CONNECTING_A_SQUARESPACE_DOMAIN_TO_A_SQUARESPACE_SITE:()=>Wc,CONNECTING_A_TURBIFY_DOMAIN_TO_A_SQUARESPACE_SITE:()=>wc,CONNECTING_A_WORDPRESS_DOMAIN_TO_A_SQUARESPACE_SITE:()=>sc,CONNECT_DOMAIN:()=>mt,CONTACT_AUTHENTICATED_CUSTOMER_CARE:()=>ce,CONTACT_CUSTOMER_CARE:()=>Re,CONTENT_LINK_BLOCK:()=>nt,CONTRIBUTORS:()=>st,COVER_PAGE_PLAN:()=>vt,COVID_CANCELLATION_NOTICE:()=>ze,CREATING_ANCHOR_LINKS_ABS:()=>Pn,CREATING_AN_ABOUT_PAGE_ABS:()=>on,CREATING_A_CUSTOM_CHECKOUT_FORM:()=>ll,CREATING_A_CUSTOM_PRODUCT_FORM:()=>vc,CREATING_A_MULTILINGUAL_SITE_IN_SQUARESPACE:()=>It,CREATING_DISCOUNTS:()=>Ln,CREATING_GLOBAL_CONTENT_IN_DESIGN_LIBRARY_ABS:()=>el,CREATING_QR_CODES:()=>bn,CUSTOMER_ACCOUNTS:()=>ir,CUSTOMER_ACCOUNTS_DATA_PRIVACY_DE:()=>Zn,CUSTOMER_EMAIL_NOTIFICATIONS:()=>$n,CUSTOMER_EMAIL_NOTIFICATIONS_REPLY_TO_AND_FROM:()=>jt,CUSTOMIZING_THE_MEMBER_SITES_EXPERIENCE:()=>fe,CUSTOMIZING_YOUR_CHECKOUT_CART_SETTINGS:()=>j,DECLINED_PAYMENTS:()=>jn,DELETE_A_FUND:()=>Ll,DELETE_SITE:()=>Tn,DEVELOPER_SDK:()=>Nn,DE_DOMAINS:()=>Rn,DIFFERENCES_BETWEEN_SEVEN_AND_SEVEN_ONE:()=>Rl,DIGITAL_PRODUCT_BLOCKS:()=>cn,DOMAINS_POINTING:()=>Vt,DOMAIN_ACTIVATION:()=>or,DOMAIN_CONTACT_INFO:()=>qn,DOMAIN_EXPIRED:()=>Hr,DOMAIN_INTRO:()=>fo,DOMAIN_LIMITATIONS:()=>Jr,DOMAIN_LOCKED:()=>Xt,DOMAIN_NAMING:()=>ro,DOMAIN_PARKING_PAGE:()=>Je,DOMAIN_TRANSFER_AWAY:()=>At,DOMAIN_TRANSFER_STEPS:()=>Te,DOMAIN_TRANSFER_TIMING:()=>Gt,DOMAIN_VERIFICATION_WITH_A_TXT_RECORD__ALTERNATE_METHOD:()=>un,DONATION_EDITOR:()=>Dn,DOWNLOAD_PRODUCTS:()=>Wt,EMAIL_CAMPAIGNS_CANCEL_SUBSCRIPTION:()=>qe,EMAIL_CAMPAIGNS_PLANS_AND_PRICING:()=>wt,EMAIL_CAMPAIGNS_SETTING_UP_SENDER_DETAILS:()=>Dl,EMAIL_CAMPAIGNS_SUPPORT:()=>Ae,EMAIL_FORWARDING:()=>Pe,EMAIL_FORWARDING_MAILGUN_COLLISION:()=>xe,EMAIL_VERIFICATION:()=>kt,EMBED_EDITOR:()=>ut,ENABLED_DISABLED_PAGES:()=>Ft,ENABLING_LINK_BY_STRIPE_WITH_SQUARESPACE_PAYMENTS:()=>ge,ENTERPRISE_SSO:()=>tn,EU_COOKIES:()=>In,EXPORT_SITE:()=>Yr,EXTEND_TRIAL:()=>Pr,EXTENSIONS:()=>Mn,FACEBOOK_DYNAMIC_ADS:()=>sr,FACEBOOK_PIXEL:()=>Ar,FACEBOOK_PUSH:()=>vr,FORM_AND_NEWSLETTER_STORAGE:()=>qr,FORM_BLOCKS:()=>Dr,FORM_EDITOR:()=>eo,FORWARDING_A_SQUARESPACE_DOMAIN_ABS:()=>Vo,FORWARD_A_SQUARESPACE_DOMAIN_FORWARD_A_SUBDOMAIN_ABS:()=>Bn,FOURSQUARE:()=>ar,GALLERY_EDITOR:()=>rn,GALLERY_SECTION:()=>Rt,GDPR:()=>Qe,GENERAL_GA:()=>Ye,GENERAL_TYPEKIT:()=>yt,GETTING_STARTED_WITH_COURSES:()=>Ze,GETTING_STARTED_WITH_DIGITAL_PRODUCTS:()=>Mt,GETTING_STARTED_WITH_SQUARESPACE_COMMERCE:()=>ot,GETTING_STARTED_WITH_SQUARESPACE_SCHEDULING:()=>et,GETTING_STARTED_WITH_YOUR_SQUARESPACE_WEBSITE:()=>St,GETTY_IMAGES_OVERVIEW:()=>Ht,GOOGLE_ADS_REDEMPTION:()=>er,GOOGLE_APPS_NAME_IN_USE:()=>Mr,GOOGLE_APPS_RESELLER_ACCESS:()=>mn,GOOGLE_APPS_TROUBLESHOOTING:()=>Un,GOOGLE_RECAPTCHA_API_KEYS:()=>hr,GOOGLE_RECAPTCHA_LEARN_MORE:()=>br,GOOGLE_RECAPTCHA_SETUP:()=>io,GOOGLE_REVERIFICATION:()=>Kr,GOOGLE_SEARCH_CONSOLE_KEYWORDS:()=>xo,GOOGLE_SEARCH_CONSOLE_VERIFY:()=>Ho,GOOGLE_SUBSCRIPTION_EXISTS_ON_DOMAIN:()=>bo,GOOGLE_WORKSPACE_MX_RECORDS_DOMAIN_CONNECT_DNS_CONFLICT_ABS:()=>Ea,GOOGLE_WORKSPACE_PRICING_BILLING_AND_INVOICES_RESELLER_AND_API_ACCESS:()=>Ia,GOOGLE_WORKSPACE_TROUBLESHOOTING_ERRORS_ABS:()=>Da,GROWING_YOUR_MAILING_LISTS_WITH_SQUARESPACE:()=>Za,GST_INFO:()=>Xa,GSUITE_LEARN_MORE:()=>ba,HIDDEN_FORM_FIELD:()=>ns,HIDING_YOUR_SITE_FROM_SEARCH_RESULTS:()=>Ja,HOW_CUSTOMERS_BUY:()=>Is,HOW_CUSTOMERS_SIGN_UP_FOR_GATED_CONTENT:()=>Vr,HOW_MEMBERS_ACCESS_CUSTOMER_ACCOUNTS:()=>Qr,IMAGE_EDITOR:()=>To,IMAGE_EFFECTS:()=>xr,IMPORTING_PRODUCT_REVIEWS_FROM_ETSY:()=>ke,IMPORT_EXPORT:()=>uo,IMPORT_TWEAKS:()=>Mo,INSTAGRAM:()=>ha,INSTAGRAM_PRODUCTS:()=>ea,INTRODUCING_COMMERCE:()=>yr,IN_APP_PURCHASE_LEARN_MORE:()=>go,ITUNES_FEED_EXTERNAL_SERVICE:()=>Lr,ITUNES_FEED_MOVING_FROM_SQUARESPACE:()=>ao,ITUNES_FEED_MOVING_TO_SQUARESPACE:()=>ho,ITUNES_SYNDICATOR:()=>Lo,KNOWLEDGE_BASE:()=>Yo,LANGUAGE_AND_REGION_SETTINGS:()=>jo,LEGACY_COMMERCE_PLAN_UPGRADE:()=>Xo,LOCK_SCREEN:()=>Ua,LOGO_IMAGE:()=>ds,MAILING_LIST:()=>Gs,MANAGING_A_PARKED_DOMAIN_PARK_A_DOMAIN_ABS:()=>us,MANAGING_DOMAIN_PERMISSIONS:()=>ys,MANAGING_DONATIONS:()=>kl,MANAGING_MEMBERS:()=>Ys,MAP_EDITOR:()=>xs,MARKDOWN_CHEAT_SHEET:()=>Ai,MEMBER_SITES:()=>Pi,MENU_EDITOR:()=>hi,MOBILE_INFO_BAR:()=>ks,MOVE_DOMAIN:()=>Ms,MOVE_SQUARESPACE_DOMAIN:()=>bs,MOVING_A_THIRDPARTY_DOMAIN_BETWEEN_SQUARESPACE_SITES:()=>Hs,MOVING_FROM_SQUARESPACE_VERSION_SEVEN_ZERO_TO_VERSION_SEVEN_ONE_CHECKLIST:()=>Ou,NAMESERVERS_AND_DNSSEC_FOR_SQUARESPACE_MANAGED_DOMAINS_ABS:()=>Fs,NAMESERVERS_AND_DNSSEC_FOR_SQUARESPACE_MANAGED_DOMAINS_DNSSEC_ABS:()=>Ks,NAMESERVERS_AND_DNSSEC_FOR_SQUARESPACE_MANAGED_DOMAINS_NAMESERVERS_ABS:()=>Ls,NAMESERVERS_AND_DNSSEC_FOR_SQUARESPACE_MANAGED_DOMAINS_NAMESERVER_REGISTRATION_ABS:()=>Js,NAMESERVER_CONNECT_VS_DNS_CONNECT:()=>Cs,NEWSLETTER_EDITOR:()=>Os,OPENTABLE:()=>Vs,PAGES_AND_BLOCKS_NOT_SUPPORTED_INM_SEVEN_ONE:()=>gu,PAGE_DESCRIPTION:()=>_s,PAGE_NOT_LINKED:()=>fs,PAGE_SECTIONS_ABS:()=>Ss,PAGE_TITLE:()=>li,PAGE_TITLE_TEMPLATE_USAGE:()=>hs,PAO_TRANSFER_ABS:()=>Ul,PAYMENT_PROCESSOR:()=>Ni,PAYPAL:()=>wi,PAYPAL_MANUAL_ONBOARDING:()=>Ji,PAYWALLS_AND_PRICING_PLANS:()=>vi,PAYWALLS_AND_PRICING_PLANS_ADD_A_SECOND_PRICING_OPTION:()=>sl,PAYWALLS_AND_PRICING_PLANS_PUBLIC_PREVIEW_FOR_POTENTIAL_CUSTOMERS:()=>Zi,PERMISSIONS:()=>Bs,PINIT_EDITOR:()=>ti,PODCASTING_SUPPORT:()=>gi,POINT_OF_SALE:()=>yi,POPUP_OVERLAY:()=>ki,PREMIUM_FEATURES:()=>bi,PREMIUM_FEATURES_CODE_BLOCK_PREMIUM_FEATURES:()=>re,PRODUCT_EDITOR:()=>Si,PRODUCT_IMPORT:()=>ta,PRODUCT_REVIEWS:()=>Jt,QUOTE_EDITOR:()=>Fn,REDUCING_YOUR_PAGE_SIZE_FOR_FASTER_LOADING:()=>Oo,RELATED_PRODUCTS:()=>Uo,REQUEST_THAT_AI_MODELS_EXCLUDE_YOUR_SITE:()=>rr,REQUEST_THAT_AI_MODELS_EXCLUDE_YOUR_SITE_KNOWN_CRAWLER_LIST:()=>Sr,RESTRICT_COOKIES:()=>gt,RETIRED_FONTS_ABS:()=>Lt,REVIEW_DNS_SETTINGS:()=>$t,RE_ENABLE_GOOGLE_APPS_API:()=>Tr,RSS_EDITOR:()=>_n,SEARCH:()=>Hn,SEARCH_EDITOR:()=>Jn,SELLING_ADD_ON_PRODUCTS:()=>Fc,SELL_CUSTOM_MERCHANDISE_THROUGH_PRINTFUL:()=>jr,SENDING_AUTOMATED_CAMPAIGNS:()=>wo,SEO:()=>ms,SEO_CHECKLIST:()=>ko,SEO_EDIT_TITLE:()=>Sa,SEO_OVERVIEW:()=>Na,SEO_SOCIAL:()=>qa,SERVICE_PRODUCTS_TO_ACCEPT_DEPOSITS:()=>Us,SETTING_UP_SHIPPING_RATES:()=>ca,SEVEN_ONE_HEADER:()=>$i,SEVEN_ONE_MIGRATION_PREPARE_FOR_UPDATE:()=>Cl,SEVEN_ONE_MIGRATION_PREVIEW_NAVIGATION_HELP:()=>Hl,SHARE_BUTTONS:()=>Mi,SITE_AESTHETICS:()=>si,SITE_LAUNCH_CHECKLIST:()=>rl,SOCIAL_LINKS:()=>il,SOCIAL_LINKS_BLOCK:()=>Ui,SOCIAL_SHARING_LINK:()=>fl,SOCIAL_SHARING_LOGO:()=>oi,SOUNDCLOUD:()=>Nl,SQUARESPACE_CIRCLE_DISCOUNT_AND_BENEFITS_OVERVIEW_ABS:()=>xl,SSL:()=>Kl,SSL_CERTIFICATE:()=>Ic,START_OVER:()=>Jl,STORE_PAGE_TYPES:()=>Vi,STRIPE:()=>_c,SUMMARY_EDITOR:()=>mc,SUPPORTED_BROWSERS:()=>zl,SUPPORT_HOMEPAGE:()=>$l,SWITCH_PRODUCTS:()=>ln,TAGCLOUD_EDITOR:()=>sn,TEMPLATES:()=>Er,TEMPLATE_SWITCHING:()=>zn,THE_COOKIES_SQUARESPACE_USES_ANALYTICS_AND_PERFORMANCE_COOKIES_ABS:()=>it,THIRD_PARTY_IMAGES:()=>Ao,TIPS_FOR_CREATING_A_HOMEPAGE_ABS:()=>zr,TLD_REGISTRY_REGISTRATION_INFORMATION_SHARING_CONSENT:()=>Mc,TRAFFIC_SOURCES:()=>Zo,TRANSFERRING_A_DOMAIN_TO_SQUARESPACE_STEP_1_UNLOCK_YOUR_DOMAIN:()=>xt,TRANSFERRING_A_DOMAIN_TO_SQUARESPACE_STEP_2_GET_THE_AUTHORIZATION_CODE:()=>Qt,TRANSFERRING_A_DOMAIN_TO_SQUARESPACE_STEP_8_REVIEW_DNS_SETTINGS_OPTIONAL:()=>qt,TRANSFER_FAILED:()=>ia,TRANSFER_FIRST_DOMAIN:()=>So,TRANSFER_IN_DOMAIN:()=>Ha,TRANSFER_IN_PROGRESS:()=>is,TRANSFER_IN_REQUIREMENTS:()=>as,TRANSFER_IPS_TAG:()=>es,TRANSFER_PRICING_AND_BILLING:()=>Qs,TRANSFER_VS_CONNECT_DOMAIN:()=>Rs,TROUBLESHOOTING_BROWSER_ISSUES_ABS:()=>rs,TWITTER:()=>Ts,UNDER_CONSTRUCTION_PAGE:()=>zs,UPDATE_BILLING_INFO:()=>Bi,URL_MAPPINGS:()=>qs,USING_CSS_EDITOR:()=>ui,USING_GOOGLE_WORKSPACE_WITH_SQUARESPACE:()=>qi,USING_GOOGLE_WORKSPACE_WITH_SQUARESPACE_ELIGIBLE:()=>Ko,USING_SEPA_WITH_SQUARESPACE:()=>mr,USING_SQUARESPACE_AI_ABS:()=>Ur,USING_TAXJAR_WITH_SQUARESPACE_ABS:()=>oc,US_SALES_TAX:()=>Ti,VAT_INFO:()=>As,VIDEO_COLLECTION_CATEGORIES:()=>pi,VIDEO_COLLECTION_GENERAL:()=>Ei,VIDEO_EDITOR:()=>Ri,VIDEO_PAYWALLS:()=>Zs,VIDEO_TUTORIALS:()=>Gi,WEBP_FILE_FORMAT:()=>Eu,WHOIS_PRIVACY:()=>Eo,ZAPIER_INTEGRATION:()=>_l,ZOLA:()=>Al});var r="/api/auth/sso/help?path=",o="https://support.squarespace.com",n=r+"/hc/articles/206545577",a=r+"/hc/articles/360002072748",i=r+"/hc/articles/218562738",c=r+"/hc/articles/218562738#h_01HF786HBT57CNRB1Y3G7NWMW3",u=r+"/hc/articles/206543967#h_01HKWY55PH4EP87KF4ZN9MGTVX",f=r+"/hc/articles/206542357",d=o+"/hc/articles/206543757",h=r+"/hc/articles/205811338",g=r+"/hc/articles/205812718",_=o+"/hc/articles/205812348",p=o+"/hc/articles/205812348#h_01GTF9SH0S33FWTK2NJETCNRZP",y=o+"/hc/articles/205812348#h_01H8HJWZQN1PQQ9X1K3GQDC088",O=r+"/hc/articles/205815758#h_01HKNB9JFV135N64YF7AG0EGZH",P=o+"/hc/articles/360002101888",C=r+"/hc/articles/205814038",A=r+"/hc/articles/205815318",S=r+"/hc/articles/236297987#h_01JTR6YAC9GXV3VYT0C8VVFARS",T=r+"/hc/articles/236297987#h_01J6ZZPBYZFWY6D38JC6NEXVPB",s=r+"/hc/articles/219589708",v=r+"/hc/articles/227171968",m=r+"/hc/articles/206543327",E=o+"/hc/articles/115001906407#h_01JD5P72GS55ZZA88FSB9PMENK",I=o+"/hc/articles/206543197",L=r+"/hc/articles/230364668",W=r+"/hc/articles/360055266112#toc-priority-for--au-domains",F=o+"/hc/articles/360040839591#toc-background-art",G=r+"/hc/articles/205810518",k=r+"/hc/articles/205814698",x=r+"/hc/articles/206757857",M=r+"/hc/articles/360027504092",B=r+"/hc/articles/206543907",R=o+"/hc/articles/206544727",U=r+"/hc/articles/205814798",j=r+"/hc/articles/360002111987#h_01JM3V5AY2S747PN8Q4RM2QW32",$=r+"/hc/articles/206542007",ee=r+"/hc/articles/205810508",te=r+"/hc/articles/205826008",ie=r+"/hc/articles/360000177507",ne=r+"/hc/articles/205814688",pe=r+"/hc/articles/115004908508",oe=r+"/hc/articles/206540957",q=r+"/hc/articles/206545337",J=r+"/hc/articles/229651048",me=r+"/hc/articles/206543167",re=o+"/hc/articles/115015517328#h_01HMA520MM6ZAYQHXMYKNQPKF1",he=r+"/hc/articles/205815908",Ee=o+"/hc/articles/360055266112#h_01H946N8G9S0MCHKV2X8KA5XKJ",fe=r+"/hc/articles/360050832671",H=r+"/hc/articles/360056851912",z=r+"/hc/articles/360056851912#h_01JGKXMN7PQCR9CKHQRCK6NE0F",_e=o+"/hc/articles/24509035814285",ae=o+"/hc/articles/37109872867341",ge=o+"/hc/articles/27389520794125",Be=r+"/hc/articles/206542527",Ke=o+"/hc/articles/360000667707#h_01HRPXP50KYMFWEBWQAS3B0Y9W",He=r+"/hc/articles/206540937",ye=r+"/hc/articles/205811188",Le=r+"/hc/articles/205811228",Ue=o+"/hc/articles/207100347",Xe=o+"/hc/articles/206540667#h_01H96B9GWRBPHEXCR7JRB5QH80",Fe=r+"/hc/articles/360002012247",ht=o+"/hc/articles/360002012247#h_01JGQ1FY0B264F33242ENKM9TT",Ne=o+"/hc/articles/206540947",Ce=r+"/hc/sections/200825098",we=o+"/hc/articles/360053592211#h_01JVZ8QC0GX260WPG7XWFTRVWV",$e=o+"/hc/articles/360053592211",Ot=o+"/hc/articles/36378332727949",Pt=r+"/hc/articles/205811368",Ie=r+"/hc/articles/213653237",Bt=r+"/hc/articles/215074868",mt=r+"/hc/articles/205812378",rt=r+"/hc/articles/206543537",ce=r+"/hc/requests/new",Re=o+"/hc/requests/new",nt=r+"/hc/articles/206544037",st=r+"/hc/articles/206537287",vt=o+"/hc/articles/212743478#h_01JEY58SW73WPB843H5ERYY97A",ze=o+"/hc/requests/new?ticket_form_id=360000759532",It=r+"/hc/articles/205809778",on=o+"/hc/articles/206376598",Pn=o+"/hc/articles/207135178",Yn=o+"/hc/articles/206232858",Ln=r+"/hc/articles/205811178",bn=r+"/hc/articles/34989402663565",ir=r+"/hc/articles/115012777327",Zn=o+"/hc/de/articles/360000851908",$n=r+"/hc/articles/360049390031",jt=r+"/hc/articles/360049390031#h_01JGQ1XG7PFS0BFZYQ6EQZWTN3",Rn=r+"/hc/articles/360027272972",jn=r+"/hc/articles/206605397",Tn=o+"/hc/articles/205810528",Nn=r+"/hc/articles/206545717",cn=r+"/hc/articles/360050367672",or=o+"/hc/articles/360027272972",qn=r+"/hc/articles/206542087",Hr=o+"/hc/articles/218193418#h_01JKBF3P8DKTFFJ6Z0JE0BAXAE",fo=r+"/hc/articles/205812088",Jr=r+"/hc/articles/205812198#h_01JEY8Y5HD0ZMX93QZTVP9WXNK",ro=r+"/hc/articles/205812198#h_01JEVMH8GHNW9PEC0MZ8GWSM0T",Xt=r+"/hc/articles/360034059332",Je=r+"/hc/articles/217963508",At=r+"/hc/articles/205812338",xt=r+"/hc/articles/206542037/#h_01JEVXVMJ26YSKBSZN98VE6FYK",Qt=r+"/hc/articles/206542037/#h_01JEVXVFGEEN7HNGCWKR13SSPA",qt=r+"/hc/articles/206542037#h_01G1264R8V6TP2X52KZJ8VY0KW",Te=o+"/hc/articles/206542037#h_01G1264R8TTPKCPN36TFBAKM29",Gt=o+"/hc/articles/115011719247#h_01JEVXJAPVWXH03V1JHTM6P1ZG",un=r+"/hc/articles/205812388",Vt=r+"/hc/articles/205812368",Dn=r+"/hc/articles/206543967",Wt=r+"/hc/articles/206540787",Pe=o+"/hc/articles/19000909092237",xe=o+"/hc/articles/19000909092237#h_01JEVA4N4SZN7RSG2XHZTG4CVK",Ae=o+"/hc/articles/360001280588",qe=r+"/hc/articles/360002107268",wt=r+"/hc/articles/360002123507#h_01HA4WCVPCNXP0ZZP8F3EETNY4",kt=r+"/hc/articles/205812218",ut=r+"/hc/articles/206543617",Ft=r+"/hc/articles/206543067",tn=o+"/hc/articles/17590009546765",In=r+"/hc/articles/206545727",rr=r+"/hc/articles/360022347072",Sr=r+"/hc/articles/360022347072#h_01J3NBSZ8Q3T5SET08RAS155T3",Yr=r+"/hc/articles/206566687",Pr=r+"/hc/articles/205809808",Mn=r+"/hc/articles/360000975547",sr=r+"/hc/articles/360001257067#h_01JGPF0SXV8D8X0FNPBKR73D1R",Ar=o+"/hc/articles/115015760107",vr=r+"/hc/articles/206544007#h_777266c8-5e9b-4b33-8058-713d20856172",qr=r+"/hc/articles/205814638",Dr=o+"/hc/articles/206566737",eo=r+"/hc/articles/206566737",Vo=o+"/hc/articles/214767107",Bn=o+"/hc/articles/214767107#h_01J60GK7AJS2EZPTTZ736FJDGV",ar=r+"/hc/articles/205814718",rn=r+"/hc/articles/206543407",Rt=r+"/hc/articles/360035636332",Qe=r+"/hc/articles/360000851908",Ye=r+"/hc/articles/205815608",yt=r+"/hc/articles/206545327#h_01HRWH75KW98HCEEBVBJXH0Y77",Ze=r+"/hc/articles/16096751630221",Mt=r+"/hc/articles/360050366952",ot=r+"/hc/articles/206779077",et=r+"/hc/articles/360034560592",St=r+"/hc/articles/206756327",Ht=r+"/hc/articles/205812768",er=r+"/hc/articles/206537327",Mr=r+"/hc/articles/206541817#h_01HYE3D90G2FSZRT4CKJ1AF51A",mn=r+"/hc/articles/205812258",Un=r+"/hc/articles/206541817",hr=o+"/hc/articles/115013193528",br=o+"/hc/articles/360041087192#h_01JP3ARPAS3EQ98SMH033WF4RQ",io=o+"/hc/articles/115010449067",Kr=r+"/hc/articles/217402917",xo=r+"/hc/articles/360001014647",Ho=r+"/hc/articles/205813918",bo=r+"/hc/articles/206541817#h_01JHG3MY8AATKBJAEP93ZKWZ2V",Ea=o+"/hc/articles/360001476528#h_01JQW5TTENW6DA9GM8ZETFJEJX",Ia=r+"/hc/articles/205812258#h_01HE4H3FP49YH7Y2VJT4ERK8VR",Da=o+"/hc/articles/206541817#h_01JHG3G3WVSDSFB66BZCFXCK9H",Za=r+"/hc/articles/4406389606797",Xa=r+"/hc/articles/115008239727",ba=r+"/hc/articles/206541917#h_01HH2VT3DSBFY3BT740EADTCNS",ns=r+"/hc/articles/206543997",Ja=r+"/hc/articles/21829426828045",Is=r+"/hc/articles/206541027",Vr=r+"/hc/articles/360060545811",Qr=r+"/hc/articles/360050367312",To=r+"/hc/articles/205812888",xr=o+"/hc/articles/4424798177549#h_01HFADYFK40R35CF9BCFV9NP1Q",uo=r+"/hc/articles/205814028",Mo=r+"/hc/articles/206544597#h_01J4SVBM7TV2NYV4N7GPN4F07F",go=r+"/hc/articles/360029595191",ea=r+"/hc/articles/360001257067",ha=r+"/hc/articles/206543367",yr=r+"/hc/articles/206566707",Lr=r+"/hc/articles/115002267147#h_01JWH8ZQG2SXFVC7HXDXRNXEBR",ao=r+"/hc/articles/115002267147#h_01JWH8ZF6CKSRJ9G2QQ7M62MBN",ho=r+"/hc/articles/115002267147#h_01JWH8ZF6CSR7G4651SYNSTCS9",Lo=r+"/hc/articles/205814338",Yo=r+"/hc/categories/200352188-Knowledge-Base",jo=r+"/hc/articles/205816048",Xo=r+"/hc/articles/205826008#h_01HA7NEP1G5G19964T1K6ECPDH",Ua=r+"/hc/articles/205815178",ds=r+"/hc/articles/205812698",us=o+"/hc/articles/219975108#h_01HXW0HNC5QP0TZ79DMG02JP44",ys=o+"/hc/articles/25974568684557",Ys=r+"/hc/articles/360050832691",Gs=r+"/hc/articles/206540717",xs=r+"/hc/articles/206543867",Ai=o+"/hc/articles/206543587",Pi=r+"/hc/articles/360050832631",ei=r+"/hc/articles/360050367612",hi=r+"/hc/articles/206544087",ks=r+"/hc/articles/206545547",Ms=r+"/hc/articles/205812098",bs=r+"/hc/articles/205812098#h_01JE7B34ZTHD8NACHQ88CPKZ9T",Hs=r+"/hc/articles/26693397498509",Os=r+"/hc/articles/205826068",Vs=r+"/hc/articles/206544067",_s=r+"/hc/articles/206016198",fs=r+"/hc/articles/360025899552",Ss=o+"/hc/articles/360027987711",hs=r+"/hc/articles/360002104728#h_01JH0S4KZQPXJ0G5DE7W2942GT",li=r+"/hc/articles/205814568#h_01JGPZA0V0BW7ZEQR0YV1M1JA8",Ni=o+"/hc/articles/235161188",Ji=o+"/hc/articles/115002970367",wi=r+"/hc/articles/206545517",vi=r+"/hc/articles/4404628246669",sl=r+"/hc/articles/4404628246669#h_01JGPPSQRHBVQQ788XP7DSRDPA",Zi=r+"/hc/articles/4404628246669#h_01HGGF872A2SE26XVEAFGZ9MEK",Zs=r+"/hc/articles/8690906022285",Bs=r+"/hc/articles/206537297",ti=r+"/hc/articles/206544157",gi=o+"/hc/articles/205814338",yi=r+"/hc/articles/360035711431",ki=r+"/hc/articles/115008375848",bi=r+"/hc/articles/115015517328",nl=r+"/hc/articles/6210983112973",Si=r+"/hc/articles/205814508",ta=r+"/hc/articles/115000378108",ke=r+"/hc/articles/206540767",Jt=r+"/hc/articles/4413194180365",Fn=r+"/hc/articles/205814058",mr=r+"/hc/articles/4422767325709",Tr=r+"/hc/articles/206541817#could-not-register",Oo=r+"/hc/articles/360022529371",Uo=o+"/hc/articles/360033322792",gt=r+"/hc/articles/206545727#h_01J2EEPSQ2F6BM9HAYJCQQ8MH0",it=o+"/hc/articles/360001264507#h_01HAYTB2HMZ5HQCSWMEHN8JCT7",Lt=o+"/hc/articles/33763604442381",$t=o+"/hc/articles/206542037#h_01JP0SVWZET8C0RJRSCHRMKN30",_n=r+"/hc/articles/206543357",dn=r+"/hc/articles/360036951751",Jn=r+"/hc/articles/206543257",Hn=r+"/hc/search",jr=r+"/hc/articles/9052125217293",wo=r+"/hc/articles/360002077567",ko=r+"/hc/articles/360002090267",Sa=r+"/hc/articles/205814428#h_01HRFTKCNFZKGGAB82BB8CAG29",Na=r+"/hc/articles/205814568",qa=r+"/hc/articles/115009564587",ms=r+"/hc/articles/205814428",Us=r+"/hc/articles/206540867",$i=r+"/hc/articles/360000632208",Mi=r+"/hc/articles/206543857",si=r+"/hc/articles/205815788",rl=o+"/hc/articles/360022518252-Site-launch-checklist",El=r+"/hc/articles/205815278",Ui=r+"/hc/articles/205814468",il=r+"/hc/articles/205814598",fl=o+"/hc/articles/205812778",oi=r+"/hc/articles/205812778",Nl=r+"/hc/articles/206543777",xl=o+"/hc/articles/17127487603341",Ic=o+"/hc/articles/360028492471",Kl=o+"/hc/articles/205815898",Jl=r+"/hc/articles/205815378",Vi=r+"/hc/articles/227059347",_c=r+"/hc/articles/206540917",mc=r+"/hc/articles/206543337",zl=r+"/hc/articles/205815548",$l=r+"/",ln=r+"/hc/articles/206536797",sn=r+"/hc/articles/205814218",zn=r+"/hc/articles/205815598",Er=r+"/hc/articles/216562268",zr=o+"/hc/articles/360002104208",Ao=r+"/hc/articles/360001994087",Zo=r+"/hc/articles/217551548",ia=r+"/hc/articles/206542037#h_01JEYJ6G3XQGSCKHZT03E7CS68",So=r+"/hc/articles/115002531508",Ha=r+"/hc/articles/206542037",is=r+"/hc/articles/206542037#h_01G16SA16107ZEWPJ53D019Z81",as=r+"/hc/articles/206542037#h_01JEY5YYHD05FC5KS4W7E2EJD4",es=r+"/hc/articles/115013899008",Qs=o+"/hc/articles/34134026801549",Rs=r+"/hc/articles/115002755267",rs=o+"/hc/articles/115004581087",Cs=r+"/hc/articles/8387079117581",Fs=o+"/hc/articles/4404183898125",Ks=o+"/hc/articles/31094668921229",Ls=o+"/hc/articles/4404183898125#h_01J9CAZA11TAGNHCKMH3SS7WDX",Js=o+"/hc/articles/31043523769101",Ts=r+"/hc/articles/205814418",zs=r+"/hc/articles/205814388",Bi=r+"/hc/articles/206566667",qs=r+"/hc/articles/205815308",Ti=r+"/hc/articles/227535647",ui=r+"/hc/articles/206545567",qi=r+"/hc/articles/206542057",Ko=r+"/hc/articles/206542057#h_01HMF5DD4VSJVYGVKJ0YF4A69K",Ur=o+"/hc/articles/16282290976013",aa=o+"/hc/articles/213022907",ca=r+"/hc/articles/206540667",As=r+"/hc/articles/206951427",Ri=r+"/hc/articles/206544187",Ei=o+"/hc/articles/4419322418317#h_01JJVXFWVD2HYW5ZCB5XCFMJ3A",pi=o+"/hc/articles/4419330663949#h_01JJVWZ482GX6BAHR1E5E41MQX",Gi=r+"/hc/categories/200204575",Eo=o+"/hc/articles/205812438",_l=r+"/hc/articles/360000641507",Al=r+"/hc/articles/235995108",Pl=o+"/hc/articles/4412654332941",Wi=o+"/hc/articles/4412654332941#h_01HB91C4M5WPRJZNRSJK62TAQ1",Mc=o+"/hc/articles/20508241565453",Fc=o+"/hc/articles/21149527560205",Ou=o+"/hc/articles/360038270572",Rl=o+"/hc/articles/360038270572#h_01HE6D8FCEAZBXY8Q5VNJ15SZF",gu=o+"/hc/articles/360038270572#h_01HE6D8FCEB2X2W7NJ2ZWN6DWV",Hl=o+"/hc/articles/360038270572#h_01HE6D8FCEBBTNHH5RVQ846Z4E",Cl=o+"/hc/articles/360038270572#h_01HE6D8FCE21PTZKSZECF0Z9YG",Dl=r+"/hc/articles/360001280728",kl=r+"/hc/articles/205811198",ll=r+"/hc/articles/206540907",el=o+"/hc/articles/27643826794253",vc=r+"/hc/articles/205811218",Bl=r+"/hc/articles/115015429248",oc=o+"/hc/articles/360062100212",Wc=r+"/hc/articles/26692973710605#h_01J4AGW5W2HASDM7FX7A9PE660",Ll=r+"/hc/articles/31299996627213#h_01JAX6Z6GNXYH404E6GB4JAV08",Qa=r+"/hc/articles/206542397#h_01JFB4GMQ2YT39TZQT0XF6F1KM",Eu=o+"/hc/articles/206542517-Formatting-images-for-display-on-the-web#h_01JZQN7QNZ54XGKX62402VC846",Ul=o+"/hc/articles/38138069267597",ql=r+"/hc/articles/206541747",Sc=r+"/hc/articles/205812448",Rc=r+"/hc/articles/206541767",Mu=r+"/hc/articles/205812358",dc=r+"/hc/articles/206541647",ec=r+"/hc/articles/206541807",tc=r+"/hc/articles/206541797",qc=r+"/hc/articles/205812288",hu=r+"/hc/articles/205812408",Tc=r+"/hc/articles/205812238",ac=r+"/hc/articles/206541847",sc=r+"/hc/articles/206542027",wc=r+"/hc/articles/205812248"},314950:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(174161)),n=e(347533),a=e(9250);const i=u=>{let{clearInput:f}=u;return o.default.createElement(a.Touchable.Element.Icon,{"data-test":"clear-input-button",onClick:f},o.default.createElement(n.CrossLarge,null))};var c=l.default=i;b.exports=l.default},975424:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(174161)),n=e(9250);const a=c=>{let{buttonText:u,inputRef:f,showInput:d,setShowInput:h}=c;return d?null:o.default.createElement(n.Button.Tertiary,{size:"small",onClick:()=>{h(!0),setTimeout(()=>{var g;return(g=f.current)===null||g===void 0?void 0:g.focus()},0)}},u)};var i=l.default=a;b.exports=l.default},486707:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.EmailField=void 0,e(392338);var o=_(e(174161)),n=e(20462),a=e(9250),i=e(882502),c=e(861795),u=r(e(314950)),f=r(e(430016)),d=r(e(975424)),h=e(305964);function g(C){if(typeof WeakMap!="function")return null;var A=new WeakMap,S=new WeakMap;return(g=function(T){return T?S:A})(C)}function _(C,A){if(!A&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=g(A);if(S&&S.has(C))return S.get(C);var T={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in C)if(v!=="default"&&Object.prototype.hasOwnProperty.call(C,v)){var m=s?Object.getOwnPropertyDescriptor(C,v):null;m&&(m.get||m.set)?Object.defineProperty(T,v,m):T[v]=C[v]}return T.default=C,S&&S.set(C,T),T}let p=l.EmailField=function(C){return C.EMAIL="email",C.CC="cc",C.BCC="bcc",C.SUBJECT="subject",C.BODY="body",C}({});const y=C=>{let{field:A,label:S,emailObject:T,setEmailObject:s,innerRef:v,marginTop:m,placeholder:E,...I}=C;const L=T[A]||"";return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.Text.Label,{pt:m??4},S),o.default.createElement(f.default,{innerRef:v,exteriorAccessory:[p.EMAIL,p.CC,p.BCC].includes(A)&&L.length>0?o.default.createElement(u.default,{clearInput:()=>s({...T,[A]:""})}):null,value:L,onChange:W=>s({...T,[A]:W}),BodyInputComp:A==="body"?n.Textarea:n.TextInput,rows:A==="body"?6:1,outerProps:{mt:1,...I},placeholder:E??""}))},O=C=>{let{linkInput:A,setLinkInput:S}=C;const[T,s]=(0,o.useState)(),[v,m]=(0,o.useState)(!1),[E,I]=(0,o.useState)(!1),L=(0,o.useRef)(null),W=(0,o.useRef)(null),F=(0,o.useRef)(null);return(0,o.useEffect)(()=>{T&&S((0,h.buildEmailLink)(T))},[T,S]),(0,o.useEffect)(()=>{if(L.current&&L.current.focus(),(0,c.isStringInputEmailType)(A)){const G=(0,h.buildEmailObject)(A);s(G),Object.keys(G).includes("cc")&&m(!0),Object.keys(G).includes("bcc")&&I(!0)}else s({url:A,email:A})},[]),T?o.default.createElement(o.default.Fragment,null,o.default.createElement(y,{emailObject:T,setEmailObject:s,label:(0,i.t)("To",null,{project:"sqs.link-editor",notes:"Email input label"}),field:p.EMAIL,innerRef:L,placeholder:(0,i.t)("Enter email address",null,{project:"sqs.link-editor",notes:"Email input placeholder label"}),marginTop:2}),o.default.createElement(a.Flex,{columnGap:2},o.default.createElement(d.default,{buttonText:(0,i.t)("CC",null,{project:"sqs.link-editor",notes:"Email CC input label"}),showInput:v,setShowInput:m,inputRef:W}),o.default.createElement(d.default,{buttonText:(0,i.t)("BCC",null,{project:"sqs.link-editor",notes:"Email CC input label"}),showInput:E,setShowInput:I,inputRef:F})),v&&o.default.createElement(y,{emailObject:T,setEmailObject:s,marginTop:E?4:3,label:(0,i.t)("CC",null,{project:"sqs.link-editor",notes:"CC input label"}),field:p.CC,innerRef:W}),E&&o.default.createElement(y,{field:p.BCC,label:(0,i.t)("BCC",null,{project:"sqs.link-editor",notes:"BCC input label"}),emailObject:T,setEmailObject:s,innerRef:F,marginTop:v?4:3}),o.default.createElement(y,{field:p.SUBJECT,label:(0,i.t)("Subject",null,{project:"sqs.link-editor",notes:"Subject input label"}),emailObject:T,setEmailObject:s,marginTop:!v&&!E?3:4}),o.default.createElement(y,{field:p.BODY,label:(0,i.t)("Body",null,{project:"sqs.link-editor",notes:"Body input label"}),emailObject:T,setEmailObject:s})):null};var P=l.default=O},947821:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(486707)),n=l.default=o.default;b.exports=l.default},305964:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.buildEmailObject=l.buildEmailLink=void 0;const e=a=>a.split("&").reduce((i,c)=>{const u=c.split("="),[f,d]=u;return f.length>0&&(i[f]=decodeURIComponent(d)),i},{}),r=a=>{const i=a.split("?"),c=i.length>1?e(i[1]):{};return{url:a,email:i[0].substring(i[0].indexOf(":")+1,i[0].length),...c}};l.buildEmailObject=r;const o=a=>Object.keys(a).filter(i=>a[i]!=="").map(i=>`${encodeURIComponent(i)}=${encodeURIComponent(a[i])}`).join("&"),n=a=>{const i={cc:a.cc||"",bcc:a.bcc||"",subject:a.subject||"",body:a.body||""},c=o(i);return a.email===""&&c===""?"":"mailto:"+a.email+"?"+c};l.buildEmailLink=n},962384:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.LoadingFileItem=l.FileItem=void 0;var o=r(e(160553)),n=p(e(174161)),a=e(443224),i=e(20462),c=e(347533),u=e(9250),f=e(719081),d=e(882502),h=e(236064),g=r(e(375964));function _(S){if(typeof WeakMap!="function")return null;var T=new WeakMap,s=new WeakMap;return(_=function(v){return v?s:T})(S)}function p(S,T){if(!T&&S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var s=_(T);if(s&&s.has(S))return s.get(S);var v={__proto__:null},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var E in S)if(E!=="default"&&Object.prototype.hasOwnProperty.call(S,E)){var I=m?Object.getOwnPropertyDescriptor(S,E):null;I&&(I.get||I.set)?Object.defineProperty(v,E,I):v[E]=S[E]}return v.default=S,s&&s.set(S,v),v}const y=(0,f.withFocusManagedDivider)(i.Cell,i.Divider),O=S=>{let{children:T,onClick:s,ariaLabel:v,hoverColor:m,...E}=S;return n.default.createElement(u.Touchable.Element.WithoutFeedback,(0,o.default)({onClick:s,"aria-label":v,borderRadius:1,css:{"&:focus-within":{outline:h.FOCUS_STATE_OUTLINE_COLOR,outlineOffset:"0px"},"&:focus-within:not(:focus-visible)":{outline:"none",border:"none"}}},E),n.default.createElement(u.Flex,{sx:{"&:hover":{backgroundColor:m}},borderRadius:1,width:"sizes.200",height:"sizes.200",justifyContent:"center",alignItems:"center"},T))},P=S=>{let{handleCancel:T,handleRetry:s,status:v}=S;return n.default.createElement(n.default.Fragment,null,v===a.UploadUIState.Uploading&&T&&n.default.createElement(O,{"data-test":"link-editor-file-upload-cancel-button",onClick:T},n.default.createElement(c.CrossLarge,null)),v==="CANCELED"&&s&&n.default.createElement(O,{"data-test":"link-editor-file-retry-button",onClick:s},n.default.createElement(c.Refresh,null)))},C=S=>{let{fileName:T,imageUrl:s,status:v,shouldShowCheckbox:m,handleCancel:E,handleRetry:I}=S;return n.default.createElement(n.default.Fragment,null,n.default.createElement(i.Cell,{label:n.default.createElement(i.Stack,{direction:"column"},n.default.createElement(u.Text.Caption,{display:"block",color:"gray.300",fontSize:"14px",lineHeight:"22px",css:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}},T),v===a.UploadUIState.Error&&n.default.createElement(u.Text.Caption,{"data-test":"link-editor-file-upload-error",color:"red.600",sx:{hyphens:"none"}},(0,d.t)("Couldn\u2019t upload. This file is corrupted or invalid.",null,{project:"sqs.link-editor",notes:"Note to user that the upload failed"})),v==="CANCELED"&&n.default.createElement(u.Text.Caption,{"data-test":"link-editor-file-upload-cancelled",color:"red.600",sx:{hyphens:"none"}},(0,d.t)("Upload cancelled.",null,{project:"sqs.link-editor",notes:"Note to user that upload was cancelled"}))),interiorPre:s?n.default.createElement(i.Image,{src:s,width:"sizes.200",height:"sizes.200",sx:{objectFit:"cover",opacity:.4}}):n.default.createElement(u.Flex,{width:"sizes.200",height:"sizes.200",justifyContent:"center",alignItems:"center"},n.default.createElement(c.Page,{color:"gray.300"})),interiorAccessory:n.default.createElement(P,{status:v,handleCancel:E,handleRetry:I}),exteriorPre:m&&n.default.createElement(i.Checkbox,{isDisabled:!0}),exteriorAccessory:v===a.UploadUIState.Error&&n.default.createElement(c.ExclamationMarkCircle,{color:"red.600"})}),v!==a.UploadUIState.Error&&v!=="CANCELED"?n.default.createElement(i.ProgressIndicator,{isIndeterminate:!0}):null)};l.LoadingFileItem=C;const A=S=>{let{file:T,handleDelete:s,handleRename:v,linkInput:m,selectFile:E,deselectFile:I}=S;const[L,W]=(0,n.useState)(!1),[F,G]=(0,n.useState)(""),[k,x]=(0,n.useState)(!1),[M,B]=(0,n.useState)(!1);return M?n.default.createElement(C,{fileName:F??T.filename,imageUrl:T.contentType.startsWith("image")?T.assetUrl:null,shouldShowCheckbox:!0}):n.default.createElement(u.Box,{onMouseOver:()=>W(!0),onMouseLeave:()=>W(!1),onFocus:()=>W(!0)},n.default.createElement(y,{sx:{textWrap:"nowrap"},post:k&&n.default.createElement(u.Text.Caption,{color:"red.300"},(0,d.t)("File with that name already exists",null,{project:"sqs.link-editor",notes:"Edit filename - Link Editor"})),label:F?n.default.createElement(i.TextInput,{value:F,onChange:R=>{G(R)},onBlur:async()=>{B(!0),x(!1),await v(F,T)?G(""):x(!0),B(!1)},onKeyDown:async R=>{R.key==="Enter"&&(B(!0),x(!1),await v(F,T)?G(""):x(!0),B(!1))},onFocus:R=>R.target.select(),autoFocus:!0}):n.default.createElement(u.Touchable.Element.WithoutFeedback,{onDoubleClick:()=>{G(T.filename)},tabIndex:"-1"},n.default.createElement(g.default,{filename:T.filename,hasFileExtension:!0,extraCharacters:5,color:"gray.100",sx:{width:"100%",textWrap:"nowrap",fontSize:"14px",lineHeight:"22px"}})),interiorPre:T.contentType.startsWith("image")?n.default.createElement(i.Image,{src:T.assetUrl,width:"sizes.200",height:"sizes.200",sx:{objectFit:"cover"}}):n.default.createElement(u.Flex,{width:"sizes.200",height:"sizes.200",justifyContent:"center",alignItems:"center"},n.default.createElement(c.Page,null)),exteriorPre:n.default.createElement(i.Checkbox,{checked:T.suburl===m,onChange:()=>{T.suburl===m?I():E({fileUrl:T.suburl})}}),exteriorAccessory:L&&!F?n.default.createElement(i.Stack,{direction:"row",space:"4px",backgroundColor:"white",css:{position:"absolute"}},n.default.createElement(O,{onClick:()=>{G(T.filename)},hoverColor:"gray.900","aria-label":(0,d.t)("Edit filename",null,{project:"sqs.link-editor",notes:"Edit filename - Link Editor"})},n.default.createElement(c.Edit,null)),n.default.createElement(O,{onClick:()=>{B(!0),s(T)},ariaLabel:(0,d.t)("Delete file",null,{project:"sqs.link-editor",notes:"Delete file - Link Editor"}),width:"sizes.250",hoverColor:"red.900"},n.default.createElement(c.Trash,{color:"red.300"}))):null}))};l.FileItem=A},78081:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e(392338);var o=r(e(210750)),n=T(e(174161)),a=e(20462),i=e(347533),c=e(9250),u=e(719081),f=e(708731),d=r(e(567773)),h=e(875479),g=e(882502),_=e(861795),p=e(2239),y=e(236064),O=e(300430),P=r(e(314950)),C=r(e(430016)),A=r(e(318722));function S(m){if(typeof WeakMap!="function")return null;var E=new WeakMap,I=new WeakMap;return(S=function(L){return L?I:E})(m)}function T(m,E){if(!E&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var I=S(E);if(I&&I.has(m))return I.get(m);var L={__proto__:null},W=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var F in m)if(F!=="default"&&Object.prototype.hasOwnProperty.call(m,F)){var G=W?Object.getOwnPropertyDescriptor(m,F):null;G&&(G.get||G.set)?Object.defineProperty(L,F,G):L[F]=m[F]}return L.default=m,I&&I.set(m,L),L}const s=m=>{let{linkInput:E,setLinkInput:I,openNewWindow:L,setOpenNewWindow:W,uploadingFile:F,setUploadedFiles:G,setUploadingFile:k,uploadedFiles:x,scrollableElementRef:M,setShouldShowLinkPreview:B,validLinkTypes:R,disableNewWindow:U,isLinkEditorUAUEnabled:j}=m;const $=(0,O.getFrameDocument)(),ee=(0,n.useRef)(null),te=(0,n.useRef)(null),ie=(0,n.useRef)(null),[ne,pe]=(0,n.useState)(),[oe,q]=(0,n.useState)(""),[J,me]=(0,n.useState)([]),[re,he]=(0,n.useState)(!0),[Ee,fe]=(0,n.useState)(!1),[H,z]=(0,n.useState)("");(0,h.useInfiniteScroll)({scrollableElement:M.current,handleAddMoreItems:async()=>{if(!Ee&&!oe&&H){var Xe;fe(!0);const{files:Fe,nextPageStart:ht}=await(0,_.getUploadedFiles)(H);(Xe=ie.current)===null||Xe===void 0||Xe.scrollTo({behavior:"smooth"});const Ne=(0,_.formatFiles)(Fe).filter(Ce=>!x.find(we=>we.id===Ce.id));setTimeout(()=>{G(Ce=>Ce.concat(Ne)),z(ht),fe(!1)},1e3)}}});const _e=(0,n.useCallback)(Xe=>{let{fileUrl:Fe,showLinkPreview:ht=!0}=Xe;I(Fe),B(ht)},[I,B]),ae=(0,n.useCallback)(()=>{I("")},[I]);(0,n.useEffect)(()=>{(async function(){try{const{files:Xe,nextPageStart:Fe}=await(0,_.getUploadedFiles)();z(Fe);let ht=(0,_.formatFiles)(Xe);if(E){const Ne=ht.find(Ce=>Ce.suburl===E)??(0,_.formatFiles)(await(0,p.searchFiles)(E,!0))[0];Ne&&(ht=[Ne,...ht.filter(Ce=>Ce.id!==(Ne==null?void 0:Ne.id))])}G(ht),he(!1)}catch{he(!1)}})(),(0,_.determineLinkType)(E,R)!==y.LinkType.FILE&&W(!0)},[]);const ge=(0,n.useMemo)(()=>(0,o.default)(async Xe=>{if(!Xe){me(x);return}he(!0);const Fe=x.map(Ce=>Ce.id),ht=await(0,p.searchFiles)(Xe,!1),Ne=(0,_.formatFiles)(ht).filter(Ce=>!Fe.includes(Ce.id));G(Ce=>Ce.concat(Ne)),me(x.concat(Ne).filter(Ce=>Ce.filename.toLowerCase().includes(Xe.toLowerCase())||Ce.assetUrl.toLowerCase().includes(Xe.toLowerCase()))),he(!1)},300),[G,x]),Be=(0,n.useCallback)(Xe=>{($==null?void 0:$.activeElement)===te.current&&u.Keyboard.isEnter(Xe)&&W(!L)},[$==null?void 0:$.activeElement,L,W]);(0,d.default)("keydown",Be,{element:$}),(0,d.default)("keydown",Be,{element:document});const{renderedFileInputField:Ke,openFileBrowser:He,handleAssetUpload:ye,handleCancelFile:Le}=(0,f.useAssetUploader)({handleUpload:Xe=>{pe(void 0),k({file:Xe})},handleFileUploadComplete:Xe=>{G(Fe=>[Xe,...Fe]),I(Xe.suburl),k(null)},setFileStatus:pe}),Ue=(0,n.useCallback)(async Xe=>{const Fe=await(0,p.uploadFile)(Xe),ht={id:Fe.id,filename:Fe.filename,assetUrl:Fe.assetUrl,suburl:"/s/"+Fe.urlId,contentType:Fe.contentType};G(Ne=>[ht,...Ne]),I(ht.suburl),k(null)},[I,G,k]);return(0,n.useEffect)(()=>{var Xe;F!=null&&(Xe=F.config)!==null&&Xe!==void 0&&Xe.isDragAndDrop&&(j?ye(F.file):Ue(F.file))},[F]),n.default.createElement(n.default.Fragment,null,n.default.createElement(c.Flex,null,n.default.createElement(C.default,{BodyInputComp:a.TextInput,interiorPre:n.default.createElement(i.Search,null),exteriorAccessory:oe.length>0?n.default.createElement(P.default,{clearInput:()=>q("")}):null,onChange:Xe=>{q(Xe),ge(Xe)},value:oe,outerProps:{mr:2},placeholder:(0,g.t)("Search files",null,{project:"sqs.link-editor",notes:"Input Link - Link Editor"})}),n.default.createElement(n.default.Fragment,null,j?Ke:n.default.createElement("input",{type:"file",id:"file",ref:ee,style:{display:"none"},onChange:Xe=>{Xe.target.files&&(k({file:Xe.target.files[0]}),Ue(Xe.target.files[0]))}}),n.default.createElement(c.Touchable.Element.WithoutFeedback,{onClick:()=>{if(j)He();else{var Xe;ee==null||(Xe=ee.current)===null||Xe===void 0||Xe.click()}},css:{"&:focus-within":{outline:y.FOCUS_STATE_OUTLINE_COLOR},"&:focus-within:not(:focus-visible)":{outline:"none",border:"none"}},width:"sizes.250",borderRadius:1},n.default.createElement(c.Flex,{width:"sizes.250",height:"sizes.250",backgroundColor:"gray.900",borderRadius:1,justifyContent:"center",alignItems:"center"},n.default.createElement(i.Upload,null))))),!U&&n.default.createElement(c.Flex,{columnGap:2,mb:x.length>0?3:0,alignItems:"center"},n.default.createElement(c.Text.Body,{color:"gray.100"},(0,g.t)("Open link in new tab",null,{project:"sqs.link-editor",notes:"Open in new tab - Link Editor"})),n.default.createElement(a.Toggle,{ref:te,checked:L,value:L,onChange:W})),re?n.default.createElement(c.Flex,{justifyContent:"center",alignItems:"center",pb:3},n.default.createElement(a.ActivityIndicator,null)):n.default.createElement(c.Flex,{display:re?"none":"flex",flexDirection:"column",alignItems:"center"},n.default.createElement(A.default,{results:oe===""?x:J,allUploadedFiles:x,fileSearchInput:oe,linkInput:E,selectFile:_e,deselectFile:ae,uploadingFile:F,setUploadedFiles:G,fileUploadStatus:ne,handleCancel:Le,handleRetry:()=>{F&&ye(F.file)}}),Ee&&n.default.createElement(c.Flex,{height:y.FILE_CELL_HEIGHT,width:"100%",justifyContent:"center",alignItems:"center",ref:ie},n.default.createElement(a.ActivityIndicator,{size:0}))))};var v=l.default=s;b.exports=l.default},318722:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(174161)),n=e(9250),a=e(882502),i=e(861795),c=e(236064),u=e(962384);const f=h=>{let{results:g,linkInput:_,uploadingFile:p,fileSearchInput:y,allUploadedFiles:O,setUploadedFiles:P,selectFile:C,deselectFile:A,fileUploadStatus:S,handleCancel:T,handleRetry:s}=h;async function v(E,I){if(E===I.filename||!E)return!0;if(O.find(W=>W.filename===E))return!1;const L=await(0,i.renameFile)(I,E);return P(O.map(W=>W.id===L.id?{id:L.id,filename:L.filename,assetUrl:L.assetUrl,suburl:"/s/"+L.urlId,contentType:L.contentType}:W)),I.suburl===_&&C({fileUrl:"/s/"+L.urlId,showLinkPreview:!1}),!0}async function m(E){E.suburl===_&&A(),await(0,i.deleteFile)(E),P(O.filter(I=>I.id!==E.id))}return o.default.createElement(n.Flex,{flexDirection:"column",width:"100%",sx:{position:"relative"}},O.length>0&&o.default.createElement(n.Text.Label,null,(0,a.t)("Uploaded Files",null,{project:"sqs.link-editor",notes:"Input Link - Link Editor"})),p!==null?o.default.createElement(u.LoadingFileItem,{fileName:p.file.name,status:S,imageUrl:p.file.type.startsWith("image")?URL.createObjectURL(p.file):null,handleCancel:T,handleRetry:s}):null,o.default.createElement(n.Flex,{flexDirection:"column",css:{height:c.FILE_CELL_HEIGHT*O.length}},y.length>0&&g.length===0&&O.length>0?o.default.createElement(n.Text.Body,{display:"flex",flex:1,alignSelf:"center",css:{alignItems:"center",justifyContent:"center"}},(0,a.t)("No Results",null,{project:"sqs.link-editor",notes:"Empty Case File List - Link Editor"})):null,g.map(E=>o.default.createElement(u.FileItem,{key:E.id,file:E,handleDelete:m,handleRename:v,selectFile:C,deselectFile:A,linkInput:_}))))};var d=l.default=f;b.exports=l.default},112231:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.DROP_TO_UPLOAD=void 0;var o=r(e(174161)),n=e(347533),a=e(9250),i=e(784100),c=e(882502);const u=l.DROP_TO_UPLOAD=(0,c.t)("Drop to upload",null,{project:"sqs.link-editor",notes:"Drop to upload - Link Editor"}),f=h=>{let{setShowFileUploadOnDrag:g,handleUpload:_}=h;return o.default.createElement(i.FileDropZone,{onDragLeave:()=>g(!1),onDrop:async p=>{g(!1),await _(p,{isDragAndDrop:!0})}},o.default.createElement(a.Box,{sx:{position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.4)",height:"100%",width:"100%",top:0,left:0,zIndex:1e3,alignItems:"center"}},o.default.createElement(a.Flex,{height:"100%",justifyContent:"center",alignItems:"center",flexDirection:"column",rowGap:1},o.default.createElement(n.Upload,{sx:{color:"base"}}),o.default.createElement(a.Text.Caption,{color:"base",fontSize:"14px",lineHeight:"22px",fontWeight:500},u))))};var d=l.default=f},375964:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=c(e(174161)),a=e(9250);function i(g){if(typeof WeakMap!="function")return null;var _=new WeakMap,p=new WeakMap;return(i=function(y){return y?p:_})(g)}function c(g,_){if(!_&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var p=i(_);if(p&&p.has(g))return p.get(g);var y={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in g)if(P!=="default"&&Object.prototype.hasOwnProperty.call(g,P)){var C=O?Object.getOwnPropertyDescriptor(g,P):null;C&&(C.get||C.set)?Object.defineProperty(y,P,C):y[P]=g[P]}return y.default=g,p&&p.set(g,y),y}const u=function(g){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const p=g.lastIndexOf(".")+1;if(p===-1)return;const y=g.substring(p-_);return y.trim(),y},f=(g,_)=>g&&_?_>g:!1,d=g=>{let{filename:_,hasFileExtension:p=!1,color:y="gray.100",sx:O,extraCharacters:P}=g;const[C,A]=(0,n.useState)(),[S,T]=(0,n.useState)(),[s,v]=(0,n.useState)(),m=(0,n.useCallback)(I=>{p&&I!==null&&T(I.getBoundingClientRect().width)},[p]),E=I=>{p&&I!==null&&v(I.getBoundingClientRect().width)};return(0,n.useEffect)(()=>{const I=p&&f(S,s);A(I?u(_,P):void 0)},[p,S,s,_,P]),n.default.createElement(a.Flex,(0,o.default)({ref:m,color:y},O),n.default.createElement(a.Box,{sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},n.default.createElement(a.Text.Body,{title:C?_:"",as:"span",color:y,ref:E},_)),C?n.default.createElement(a.Box,null,n.default.createElement(a.Text.Body,{as:"span",color:y,ml:"-2px"},C)):null)};var h=l.default=d;b.exports=l.default},150234:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(78081)),n=l.default=o.default;b.exports=l.default},509627:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e(392338);var o=r(e(210750)),n=O(e(174161)),a=e(20462),i=e(719081),c=r(e(567773)),u=e(882502),f=e(861795),d=e(236064),h=e(300430),g=r(e(314950)),_=r(e(430016)),p=r(e(259442));function y(T){if(typeof WeakMap!="function")return null;var s=new WeakMap,v=new WeakMap;return(y=function(m){return m?v:s})(T)}function O(T,s){if(!s&&T&&T.__esModule)return T;if(T===null||typeof T!="object"&&typeof T!="function")return{default:T};var v=y(s);if(v&&v.has(T))return v.get(T);var m={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in T)if(I!=="default"&&Object.prototype.hasOwnProperty.call(T,I)){var L=E?Object.getOwnPropertyDescriptor(T,I):null;L&&(L.get||L.set)?Object.defineProperty(m,I,L):m[I]=T[I]}return m.default=T,v&&v.set(T,m),m}const P=272,C=T=>Object.keys(T).some(s=>T[s].items.length>0),A=T=>{let{linkInput:s,setLinkInput:v,navigationData:m,setOpenNewWindow:E,onRequestClose:I,clearInput:L,areSiteLayoutPagesLoaded:W,validLinkTypes:F,scrollableElementRef:G}=T;const[k,x]=(0,n.useState)(""),M=(0,n.useRef)(null),B=(0,h.getFrameDocument)(),R=(0,n.useRef)(null),[U,j]=(0,n.useState)(d.MIN_LIST_ITEMS),[$,ee]=(0,n.useState)({}),[te,ie]=(0,n.useState)(!1),[ne,pe]=(0,n.useState)(!0),oe=(0,n.useRef)(),q=(0,n.useCallback)(fe=>{var H,z;const _e=(H=oe.current)===null||H===void 0?void 0:H.contains(fe.target),ae=(z=R.current)===null||z===void 0?void 0:z.contains(fe.target);!_e&&!ae&&pe(!1)},[]);(0,c.default)("mousedown",q,{element:G.current});const[J,me]=(0,n.useState)(!1);(0,n.useEffect)(()=>{if(R.current&&M.current){R.current.focus(),x(M.current.clientWidth.toString()+"px");const fe=R.current.getAttribute("placeholder");fe!=null&&fe.includes("\u30EA")&&me(!0)}},[]);const re=(0,n.useCallback)(fe=>{document.activeElement===R.current&&s!==""&&i.Keyboard.isEnter(fe)&&I()},[s,I]);(0,c.default)("keydown",re,{element:B}),(0,c.default)("keydown",re,{element:document});const he=(0,n.useCallback)(fe=>{const H=fe==null?void 0:fe.target;H&&H.scrollHeight-H.scrollTop-P*3<=H.clientHeight&&te&&j(U+d.MIN_LIST_ITEMS)},[te,U]),Ee=(0,n.useMemo)(()=>(0,o.default)(fe=>{var H;if(((H=R.current)===null||H===void 0?void 0:H.value)!==fe)return;const z=(0,f.filterNavigationItems)(fe,m),_e=(0,f.limitNavResults)(z,d.MIN_LIST_ITEMS);j(d.MIN_LIST_ITEMS),ee(_e.limitedNavResults),ie(_e.hasMoreContent)},300),[m]);return(0,n.useEffect)(()=>{Ee(s)},[s,m,Ee]),n.default.createElement("div",{ref:M},n.default.createElement(_.default,{BodyInputComp:a.TextInput,sx:{fontSize:s===""&&J?"12px":"14px"},onFocus:()=>{s===""&&pe(!0)},exteriorAccessory:s.length>0?n.default.createElement(g.default,{clearInput:()=>{var fe;L(),(fe=R.current)===null||fe===void 0||fe.focus(),pe(!0)}}):null,value:s,onChange:fe=>{v(fe)},placeholder:(0,u.t)("Enter link, search, or add files",null,{project:"sqs.link-editor",notes:"Input Link - Link Editor"}),innerRef:R,rows:1,onPaste:fe=>{var H,z;const _e=(H=fe.clipboardData)!==null&&H!==void 0&&H.getData("Text")?(z=fe.clipboardData)===null||z===void 0?void 0:z.getData("Text"):"";if((0,h.isSameOriginFromCurrentLocation)(_e)&&!s){fe.preventDefault();const ge=(0,h.getOnlyPathAndHash)(_e);v(ge),E(!1)}}}),C($)&&W&&ne&&F.includes(d.LinkType.PAGE)&&n.default.createElement(p.default,{handleScroll:he,dropdownRef:oe,searchPageResults:$,setLinkInput:v,setShowDropdown:pe,setOpenNewWindow:E,textFieldWidth:k,onRequestClose:I}))};var S=l.default=A;b.exports=l.default},460370:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(174161)),n=e(236064),a=r(e(947821)),i=r(e(150234)),c=r(e(595118)),u=r(e(509627));const f=h=>{let{linkInput:g,setLinkInput:_,linkInputType:p,navigationData:y,setShowFileUploadOnDrag:O,openNewWindow:P,setOpenNewWindow:C,uploadingFile:A,setUploadingFile:S,onRequestClose:T,clearInput:s,areSiteLayoutPagesLoaded:v,setUploadedFiles:m,uploadedFiles:E,scrollableElementRef:I,setShouldShowLinkPreview:L,validLinkTypes:W,disableNewWindow:F,isFeatureEnabled:G,isLinkEditorUAUEnabled:k}=h;switch(p){case n.LinkType.EMAIL:return o.default.createElement(a.default,{linkInput:g,setLinkInput:_,onRequestClose:T});case n.LinkType.TELEPHONE:return o.default.createElement(c.default,{linkInput:g,setLinkInput:_,clearInput:s,onRequestClose:T});case n.LinkType.FILE:return o.default.createElement(i.default,{linkInput:g,setLinkInput:_,openNewWindow:P,setOpenNewWindow:C,uploadingFile:A,setUploadedFiles:m,uploadedFiles:E,scrollableElementRef:I,setShouldShowLinkPreview:L,validLinkTypes:W,disableNewWindow:F,isLinkEditorUAUEnabled:k,setUploadingFile:S});default:return o.default.createElement(u.default,{linkInput:g,setLinkInput:_,navigationData:y,setShowFileUploadOnDrag:O,openNewWindow:P,setOpenNewWindow:C,uploadingFile:A,setUploadingFile:S,onRequestClose:T,clearInput:s,areSiteLayoutPagesLoaded:v,validLinkTypes:W,isFeatureEnabled:G,scrollableElementRef:I})}};var d=l.default=f;b.exports=l.default},259442:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=_(e(174161)),n=e(20462),a=e(9250),i=e(460496),c=e(719081),u=r(e(473067)),f=r(e(567773)),d=e(236064),h=e(300430);function g(C){if(typeof WeakMap!="function")return null;var A=new WeakMap,S=new WeakMap;return(g=function(T){return T?S:A})(C)}function _(C,A){if(!A&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=g(A);if(S&&S.has(C))return S.get(C);var T={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in C)if(v!=="default"&&Object.prototype.hasOwnProperty.call(C,v)){var m=s?Object.getOwnPropertyDescriptor(C,v):null;m&&(m.get||m.set)?Object.defineProperty(T,v,m):T[v]=C[v]}return T.default=C,S&&S.set(C,T),T}const p=22,y=C=>{let{searchPageInCategoryResults:A,setLinkInput:S,setShowDropdown:T,setOpenNewWindow:s,index:v}=C;return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.Text.Label,{pt:v===0?2:4,px:2},A.categoryName),o.default.createElement(n.Stack,null,A.items.map(m=>o.default.createElement(a.Touchable.Element.WithoutFeedback,{css:{"&:focus":{outline:d.FOCUS_STATE_OUTLINE_COLOR,outlineOffset:"0px"}},onClick:()=>{m.openInNewTab&&m.externalLink?window.open(m.externalLink):(S(m.url),s(!1)),T(!1)},key:m.url},o.default.createElement(n.Cell,{label:m.name,description:o.default.createElement(a.Text.Caption,{m:0,css:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",textDecoration:m.externalLink?"underline":"none"}},m.url),interiorPre:m.image?o.default.createElement(n.Image,{src:m.image,width:"36px",height:"36px"}):m.icon,sx:{"&:hover":{backgroundColor:"gray.800"}},px:2}),o.default.createElement(a.Flex,{px:2},o.default.createElement(n.Divider,null))))))},O=C=>{let{searchPageResults:A,setLinkInput:S,setShowDropdown:T,setOpenNewWindow:s,textFieldWidth:v,onRequestClose:m,dropdownRef:E,handleScroll:I}=C;const{shadows:L}=(0,i.useTheme)(),[W,F]=(0,o.useState)(-1),[G,k]=(0,o.useState)(500),x=(0,h.getFrameDocument)(),M=(0,o.useCallback)(R=>{c.Keyboard.isEnter(R)?(R.target.click(),m()):c.Keyboard.isTab(R)&&T(!1)},[m,T]),B=(0,o.useCallback)(()=>{var R;const U=(R=E.current)===null||R===void 0?void 0:R.getBoundingClientRect();U&&k(window.innerHeight-U.top-p)},[E]);return(0,o.useEffect)(()=>{B()},[]),(0,u.default)({refOfElements:E,focusableTag:"button",setFocusedOptionIndex:F,focusedOptionIndex:W,frame:x}),(0,f.default)("keydown",M,{element:x}),(0,f.default)("resize",B,{element:window}),o.default.createElement(a.Box,{onScroll:I,ref:E,sx:{position:"fixed",backgroundColor:"white",borderRadius:2,boxShadow:L[200],width:v,mt:2,zIndex:8,height:`${G}px`,minHeight:"200px",maxHeight:"sizes.750",pt:2,pb:3,px:"2px",overflow:"scroll"},onClick:R=>{var U;const j=R.target;(U=E.current)!==null&&U!==void 0&&U.contains(j)||T(!1)}},Object.values(A).map((R,U)=>{if(R.items.length>0)return o.default.createElement(y,{key:R.categoryName,searchPageInCategoryResults:R,setLinkInput:S,setShowDropdown:T,setOpenNewWindow:s,index:U})}))};var P=l.default=O;b.exports=l.default},24820:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.LinkEditor=void 0;var o=r(e(160553));e(392338);var n=v(e(174161)),a=e(913605),i=v(e(565809)),c=e(20462),u=e(9250),f=e(719081),d=r(e(217169)),h=r(e(567773)),g=r(e(250112)),_=e(882502),p=e(204112),y=e(861795),O=e(236064),P=e(300430),C=r(e(112231)),A=r(e(460370)),S=e(261165),T=r(e(30515));function s(E){if(typeof WeakMap!="function")return null;var I=new WeakMap,L=new WeakMap;return(s=function(W){return W?L:I})(E)}function v(E,I){if(!I&&E&&E.__esModule)return E;if(E===null||typeof E!="object"&&typeof E!="function")return{default:E};var L=s(I);if(L&&L.has(E))return L.get(E);var W={__proto__:null},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var G in E)if(G!=="default"&&Object.prototype.hasOwnProperty.call(E,G)){var k=F?Object.getOwnPropertyDescriptor(E,G):null;k&&(k.get||k.set)?Object.defineProperty(W,G,k):W[G]=E[G]}return W.default=E,L&&L.set(E,W),W}const m=E=>{var I;let{customBoxCss:L,disableFocusLock:W,immediateOnChange:F,onChange:G,onRequestClose:k,value:x,trackingPayload:M={},disableNewWindow:B,linkTypes:R=O.ALL_LINK_TYPES,isFeatureEnabled:U,initialShouldShowLinkPreview:j,isLinkEditorUAUEnabled:$}=E;const ee=(0,y.formatLinkTypes)(R),[te,ie]=(0,n.useState)(x.url??""),[ne,pe]=(0,n.useState)((0,y.determineLinkType)(te,ee)),[oe,q]=(0,n.useState)(x.url===""?!0:x.newWindow),[J,me]=(0,n.useState)({}),[re,he]=(0,n.useState)(!1),[Ee,fe]=(0,n.useState)(!1),[H,z]=(0,n.useState)(!1),[_e,ae]=(0,n.useState)(null),[ge,Be]=(0,n.useState)([]),[Ke,He]=(0,n.useState)(!1),[ye,Le]=(0,n.useState)(j??!!((I=x.url)!==null&&I!==void 0&&I.startsWith("/s/")));(0,p.setTrackingPayload)(M),i.setTrackingPayload({contentType:a.AssetType.FILE,indirectObjectIdentifier:"link-editor",indirectObjectValue:"link-editor",productSection:"RTE",userMemberAccountId:M.accountId,websiteId:M.websiteId,websiteLocale:M.websiteLocale});const Ue=(0,n.useRef)(),Xe=(0,n.useRef)(null),Fe=(0,n.useRef)(),ht=(0,n.useRef)(null),Ne=(0,n.useRef)(null),Ce=(0,P.getFrameDocument)();(0,n.useEffect)(()=>{if(Ue.current=te,Fe.current=oe,ne===O.LinkType.EXTERNAL){const Ie=(0,y.determineLinkType)(te,ee);Ie!==O.LinkType.EXTERNAL&&(pe(Ie),He(!0))}},[te,oe,ne,ee]),(0,n.useEffect)(()=>((0,p.trackUserOpensLinkEditor)(),(async()=>(ee.includes(O.LinkType.PAGE)&&me(await(0,y.getInternalPageData)()),fe(!0)))(),()=>{const Ie=(0,y.determineLinkType)(Ue.current??"")===O.LinkType.EXTERNAL?(0,y.parseExternalLink)(Ue.current??""):Ue.current;G({...x,url:Ie,newWindow:Fe.current??!1}),(0,p.trackUserClosesLinkEditor)({linkInput:Ue.current,openNewWindow:Fe.current??!1,linkType:ne}),k()}),[]),(0,g.default)(null,()=>{k()});const we=(0,n.useCallback)(Ie=>{(Ce==null?void 0:Ce.activeElement)===Xe.current&&f.Keyboard.isEnter(Ie)&&q(!oe)},[Ce==null?void 0:Ce.activeElement,oe]);(0,h.default)("keydown",we,{element:Ce}),(0,h.default)("keydown",we,{element:document});const $e=(0,f.usePrevious)(te),Ot=(0,f.usePrevious)(oe),Pt=(0,n.useMemo)(()=>$e!==te||Ot!==oe,[$e,te,Ot,oe]);return(0,n.useEffect)(()=>{if(F&&Pt){const Ie=(0,y.determineLinkType)(Ue.current??"")===O.LinkType.EXTERNAL?(0,y.parseExternalLink)(Ue.current??""):Ue.current;G({...x,url:Ie,newWindow:Fe.current??!1})}},[G,F,Pt,x,ne]),ye?n.default.createElement(S.LinkPreview,{url:te,removeLink:()=>{ie(""),Le(!1)},trackingPayload:M,handleOpenLinkEditor:()=>{Le(!1)}}):n.default.createElement(d.default,{disabled:W,returnFocus:!W},n.default.createElement(u.Box,(0,o.default)({ref:Ne,flexDirection:"column",width:"320px",overflow:"auto",pb:[O.LinkType.EXTERNAL,O.LinkType.PAGE].includes(ne)||ge.length===0?2:4,px:4,sx:{maxHeight:"500px",position:"relative"},onClick:Ie=>{ht.current&&!ht.current.contains(Ie.target)&&he(!1)},onDragEnter:()=>{![O.LinkType.EMAIL,O.LinkType.TELEPHONE].includes(ne)&&ee.includes(O.LinkType.FILE)&&z(!0)}},L),H&&n.default.createElement(C.default,{setShowFileUploadOnDrag:z,handleUpload:Ie=>{pe(O.LinkType.FILE),ae({file:Ie,config:{isDragAndDrop:!0}})}}),n.default.createElement(u.Flex,{pb:2,pt:4,zIndex:10,backgroundColor:"base",width:"100%",position:"sticky",top:0},ne!==null&&n.default.createElement(T.default,{validLinkTypes:ee,linkInputType:ne,setLinkInputType:pe,setLinkInput:ie,setOpenNewWindow:q,isTypeDropdownActive:re,setIsTypeDropdownActive:he,ref:ht})),n.default.createElement(A.default,{linkInput:te,clearInput:()=>{ie(""),Ke&&(He(!1),pe(O.LinkType.EXTERNAL))},setLinkInput:ie,linkInputType:ne,navigationData:J,areSiteLayoutPagesLoaded:Ee,setShowFileUploadOnDrag:z,openNewWindow:oe,setOpenNewWindow:q,uploadingFile:_e,setUploadingFile:ae,onRequestClose:k,setUploadedFiles:Be,uploadedFiles:ge,scrollableElementRef:Ne,setShouldShowLinkPreview:Le,validLinkTypes:ee,disableNewWindow:B,isFeatureEnabled:U,isLinkEditorUAUEnabled:$}),[O.LinkType.EXTERNAL,O.LinkType.PAGE].includes(ne)&&!B?n.default.createElement(u.Flex,{columnGap:2,alignItems:"center",height:44,mt:1},n.default.createElement(u.Text.Body,{color:"gray.100",my:2},(0,_.t)("Open link in new tab",null,{project:"sqs.link-editor",notes:"Open in new tab - Link Editor"})),n.default.createElement(c.Toggle,{ref:Xe,checked:oe,value:oe,onChange:q})):n.default.createElement(u.Box,{height:"sizes.100"})))};l.LinkEditor=m},430016:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(160553)),n=u(e(174161)),a=e(20462),i=e(9250);function c(h){if(typeof WeakMap!="function")return null;var g=new WeakMap,_=new WeakMap;return(c=function(p){return p?_:g})(h)}function u(h,g){if(!g&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var _=c(g);if(_&&_.has(h))return _.get(h);var p={__proto__:null},y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in h)if(O!=="default"&&Object.prototype.hasOwnProperty.call(h,O)){var P=y?Object.getOwnPropertyDescriptor(h,O):null;P&&(P.get||P.set)?Object.defineProperty(p,O,P):p[O]=h[O]}return p.default=h,_&&_.set(h,p),p}const f=h=>{let{isDisabled:g,exteriorAccessory:_,value:p,onChange:y,placeholder:O,innerRef:P,rows:C,BodyInputComp:A,interiorPre:S,textProps:T,outerProps:s,onFocus:v,onBlur:m,onPaste:E,sx:I}=h;const[L,W]=(0,n.useState)(!1);return n.default.createElement(i.Flex,(0,o.default)({flex:1,flexDirection:"column",backgroundColor:"gray.900",borderRadius:"4px",overflow:"hidden"},s),n.default.createElement(i.Flex,{direction:"row",flex:1,padding:2,alignItems:"center",space:2},S&&n.default.createElement(i.Flex,{width:22,height:22,justifyContent:"center",alignItems:"center",mr:2},S),n.default.createElement(A,(0,o.default)({isDisabled:g,ref:P,onFocus:F=>{W(!0),v&&v(F)},onBlur:F=>{W(!1),m&&m(F)},placeholder:O,value:p,onChange:y,rows:C,width:"100%"},T,{sx:I,onPaste:E})),_?n.default.createElement(i.Flex,{ml:2},_):null),n.default.createElement(a.Divider,{focused:L}))};var d=l.default=f;b.exports=l.default},953449:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.LinkPreview=void 0;var o=r(e(160553)),n=p(e(174161)),a=e(20462),i=e(9250),c=p(e(253280)),u=e(882502),f=e(204112),d=e(861795),h=e(236064),g=e(904310);function _(P){if(typeof WeakMap!="function")return null;var C=new WeakMap,A=new WeakMap;return(_=function(S){return S?A:C})(P)}function p(P,C){if(!C&&P&&P.__esModule)return P;if(P===null||typeof P!="object"&&typeof P!="function")return{default:P};var A=_(C);if(A&&A.has(P))return A.get(P);var S={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in P)if(s!=="default"&&Object.prototype.hasOwnProperty.call(P,s)){var v=T?Object.getOwnPropertyDescriptor(P,s):null;v&&(v.get||v.set)?Object.defineProperty(S,s,v):S[s]=P[s]}return S.default=P,A&&A.set(P,S),S}const y={textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},O=P=>{var C;let{url:A,removeLink:S,handleOpenLinkEditor:T,customBoxCss:s,trackingPayload:v={},validLinkTypes:m=h.ALL_LINK_TYPES}=P;const[E,I]=(0,n.useState)(!1),[L,W]=(0,n.useState)(!1),[F,G]=(0,n.useState)({subtitle:"",title:"",icon:null,notFound:!1}),[k,x]=(0,n.useState)(!1),[M,B]=(0,n.useState)(),[R,U]=(0,n.useState)(),j=((C=window)===null||C===void 0||(C=C.Static)===null||C===void 0||(C=C.SQUARESPACE_CONTEXT)===null||C===void 0||(C=C.website)===null||C===void 0?void 0:C.baseUrl)??"/",$=(0,n.useMemo)(()=>A.replace(j,""),[j,A]),ee=(0,n.useMemo)(()=>(0,d.determineLinkType)($,m),[$,m]),te=(0,n.useRef)();(0,f.setTrackingPayload)(v),(0,n.useEffect)(()=>{(async function(){W(!0),G(await(0,g.getPreviewDataFromUrl)($,ee)),W(!1)})()},[ee,$]);const ie=(0,n.useCallback)(ne=>{const pe=M?M.offsetWidth<M.scrollWidth:R?R.offsetWidth<R.scrollWidth:!1,oe=$.startsWith("/");(pe||oe)&&I(ne)},[M,R,$]);return n.default.createElement(i.Box,(0,o.default)({width:320,height:123,backgroundColor:"base",px:3,ref:te},s),n.default.createElement(i.Flex,{flexDirection:"column",justifyContent:"space-between"},L?n.default.createElement(i.Box,{height:68},n.default.createElement(a.ProgressIndicator,{isIndeterminate:!0})):n.default.createElement(i.Touchable.Element.WithoutFeedback,{id:"linkPreview_anchor",onClick:()=>window.open($,"_blank"),onMouseEnter:()=>ie(!0),onMouseLeave:()=>ie(!1),onFocus:()=>ie(!0),onBlur:()=>ie(!1)},n.default.createElement(a.Cell,{label:F!=null&&F.title?n.default.createElement(i.Text,{ref:U,my:0,sx:y,textStyle:F.notFound?"caption":"subtitle"},F.title):null,description:F!=null&&F.subtitle?n.default.createElement(i.Text.Caption,{ref:B,sx:y,color:F.notFound?"red.300":"gray.300"},F.subtitle):null,space:3,py:"15px",interiorPre:F.icon})),n.default.createElement(i.Flex,{flexDirection:"row",justifyContent:"space-between"},n.default.createElement(a.Stack,{direction:"row",space:4},n.default.createElement(i.Button.Tertiary,{size:"large",onClick:T},(0,u.t)("Edit",null,{project:"sqs.link-editor",notes:"Link Preview Copy Edit Button"})),n.default.createElement(i.Button.Tertiary,{size:"large",onClick:()=>{x(!0),c.writeText(A.startsWith("/")?j+$:A),(0,f.trackUserCopiesLinkFromLinkEditor)(),setTimeout(()=>x(!1),4e3)}},k?(0,u.t)("Link Copied",null,{project:"sqs.link-editor",notes:"Link Preview Copy Url Button"}):(0,u.t)("Copy",null,{project:"sqs.link-editor",notes:"Link Preview Copy Url Button"}))),n.default.createElement(i.Button.Tertiary,{size:"large",onClick:()=>{S(),(0,f.trackUserRemovesLinkFromLinkEditor)()}},(0,u.t)("Remove Link",null,{project:"sqs.link-editor",notes:"Link Preview Remove Button"})))),n.default.createElement(a.Tooltip,{mountAt:te.current,anchor:te.current,isOpen:E,margin:6,sx:{maxWidth:"320px"},position:"top"},A.startsWith("/")?j+$:A))};l.LinkPreview=O},242120:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.LinkPreviewThumbnail=l.ErrorIcon=void 0;var o=r(e(174161)),n=e(20462),a=e(347533),i=e(9250),c=e(236064);const u=()=>o.default.createElement(a.ExclamationMarkCircle,{color:"red.300"});l.ErrorIcon=u;const f=h=>{let{linkType:g,faviconURL:_,url:p}=h;if(g===c.LinkType.EXTERNAL&&_)return o.default.createElement(n.Image,{width:"sizes.200",height:"sizes.200",borderRadius:"4px",sx:{objectFit:"cover"},src:_,fallback:o.default.createElement(i.Flex,{size:"sizes.200",borderRadius:"4px",justifyContent:"center",alignItems:"center",backgroundColor:"gray.900"},o.default.createElement(a.Global,null)),alt:"Favicon for "+p});switch(g){case c.LinkType.EMAIL:return o.default.createElement(a.Mail,null);case c.LinkType.FILE:return o.default.createElement(a.Page,null);case c.LinkType.TELEPHONE:return o.default.createElement(a.Phone,null);case c.LinkType.PAGE:return p.indexOf("#")>-1?o.default.createElement(a.Number,null):o.default.createElement(a.Global,null);default:return o.default.createElement(a.Global,null)}},d=h=>{let{linkType:g,thumbnailImageURL:_,url:p,InternalIcon:y}=h;return _?o.default.createElement(n.Image,{width:"sizes.200",height:"sizes.200",borderRadius:"4px",sx:{objectFit:"cover"},src:_,alt:"Favicon for "+p}):o.default.createElement(i.Flex,{size:"sizes.200",borderRadius:"4px",justifyContent:"center",alignItems:"center",backgroundColor:"gray.900"},y?o.default.createElement(y,null):o.default.createElement(f,{linkType:g,faviconURL:_,url:p}))};l.LinkPreviewThumbnail=d},261165:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"LinkPreview",{enumerable:!0,get:function(){return r.LinkPreview}});var r=e(953449)},904310:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getPreviewDataFromUrl=l.getFileData=void 0,e(392338);var r=e(347533),o=e(882502),n=e(861795),a=e(2239),i=e(236064),c=e(305964),u=e(318216),f=e(242120);const d=async p=>{const y=await(0,n.getInternalPageData)();for(const C of Object.values(y)){const A=C.items.find(S=>S.url===p);if(A)return A}const O=await(0,n.getProducts)("");for(const C of O)if(C.url.fullPath===p){var P;const A=r.Store;return{name:C.name,url:C.url.fullPath,image:(P=C.images[0])===null||P===void 0?void 0:P.urls.https,icon:A}}},h=async p=>{let y="",O="",P;const C="",A=(0,n.formatFiles)([await(0,a.getUploadedFileByURLId)(p)])[0];if(A)return y=A.assetUrl,O=A.filename,A.contentType.includes("image")&&(P=A.assetUrl),{icon:P,title:O,subtitle:y,thumbnailImageURL:C}};l.getFileData=h;const g=p=>{const y=(0,c.buildEmailObject)(p),O=y.email.split(",");return y.cc&&O.push(...y.cc.split(",")),y.bcc&&O.push(...y.bcc.split(",")),{title:O[0]+(O.length>1?", +"+(O.length-1).toString():""),subtitle:"Email"}},_=async(p,y)=>{let O="",P="",C=(0,f.LinkPreviewThumbnail)({linkType:y,url:p}),A=!1;if(y===i.LinkType.PAGE){const S=await d(p);if(S)O=S==null?void 0:S.url,P=S==null?void 0:S.name,C=(0,f.LinkPreviewThumbnail)({linkType:y,thumbnailImageURL:S==null?void 0:S.image,InternalIcon:S.icon,url:p});else if(p.indexOf("#")>-1){const T=p.split("#");P=T[T.length-1].replace(/-/g," ").toLowerCase().split(" ").map(m=>m.charAt(0).toUpperCase()+m.substring(1)).join(" "),O=p,C=(0,f.LinkPreviewThumbnail)({linkType:y,url:p})}else P=p,C=(0,f.LinkPreviewThumbnail)({linkType:y,url:p})}else if(y===i.LinkType.EMAIL){const S=g(p);P=S.title,O=S.subtitle}else if(y===i.LinkType.FILE){const S=await h(p);S?(O="/s/"+S.subtitle.split("/s/")[1],P=S.title,C=(0,f.LinkPreviewThumbnail)({linkType:y,thumbnailImageURL:S.icon,url:p})):(O=(0,o.t)("File not found",null,{project:"sqs.link-editor",notes:"Link Preview File not found error"}),P=p,C=(0,f.LinkPreviewThumbnail)({linkType:y,InternalIcon:f.ErrorIcon,url:p}),A=!0)}else if(y===i.LinkType.TELEPHONE){const S=(0,u.extractPhoneURLObject)(p);O=S.type===u.PhoneOption.TEL?(0,o.t)("Call",null,{project:"sqs.link-editor",notes:"Phone Preview - Link Editor"}):(0,o.t)("Text",null,{project:"sqs.link-editor",notes:"Phone Preview - Link Editor"}),P=S.number}else y===i.LinkType.EXTERNAL&&(P=p);return{subtitle:O,title:P,icon:C,notFound:A}};l.getPreviewDataFromUrl=_},30515:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e(392338);var o=C(e(174161)),n=C(e(868192)),a=e(20462),i=e(252631),c=e(347533),u=e(9250),f=e(460496),d=e(719081),h=r(e(473067)),g=r(e(567773)),_=e(882502),p=e(204112),y=e(236064),O=e(300430);function P(v){if(typeof WeakMap!="function")return null;var m=new WeakMap,E=new WeakMap;return(P=function(I){return I?E:m})(v)}function C(v,m){if(!m&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var E=P(m);if(E&&E.has(v))return E.get(v);var I={__proto__:null},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var W in v)if(W!=="default"&&Object.prototype.hasOwnProperty.call(v,W)){var F=L?Object.getOwnPropertyDescriptor(v,W):null;F&&(F.get||F.set)?Object.defineProperty(I,W,F):I[W]=v[W]}return I.default=v,E&&E.set(v,I),I}const A={[y.LinkType.EXTERNAL]:{name:(0,_.t)("URL",null,{project:"sqs.link-editor",notes:"URL Type"}),icon:o.default.createElement(c.Global,null)},[y.LinkType.FILE]:{name:(0,_.t)("File",null,{project:"sqs.link-editor",notes:"URL Type"}),icon:o.default.createElement(c.Gallery,null)},[y.LinkType.EMAIL]:{name:(0,_.t)("Email",null,{project:"sqs.link-editor",notes:"URL Type"}),icon:o.default.createElement(c.Mail,null)},[y.LinkType.TELEPHONE]:{name:(0,_.t)("Phone",null,{project:"sqs.link-editor",notes:"URL Type"}),icon:o.default.createElement(c.Phone,null)},[y.LinkType.PAGE]:{name:(0,_.t)("URL",null,{project:"sqs.link-editor",notes:"URL Type"}),icon:o.default.createElement(c.Global,null)}},S=v=>{let{children:m,fontWeight:E}=v;return o.default.createElement(u.Text.Caption,{color:"gray.100",fontSize:"14px",lineHeight:"22px",fontWeight:E},m)},T=(0,o.forwardRef)((v,m)=>{let{linkInputType:E,setLinkInputType:I,setLinkInput:L,setOpenNewWindow:W,isTypeDropdownActive:F,setIsTypeDropdownActive:G,validLinkTypes:k}=v;const{shadows:x,sizes:M}=(0,f.useTheme)(),B=(0,o.useRef)(),R=(0,O.getFrameDocument)(),U=(0,O.getFrameWindow)(),[j,$]=(0,o.useState)(-1),ee=m,te=(0,o.useCallback)(ne=>{F&&d.Keyboard.isEsc(ne)&&(ne.preventDefault(),ne.stopImmediatePropagation(),G(!1),$(-1),ee.current&&ee.current.focus())},[ee,F,G]),ie=(0,o.useCallback)(ne=>{var pe;if(!ne.target||!ee.current)return;const oe=!!ee.current.contains(ne.target),q=!!((pe=B.current)!==null&&pe!==void 0&&pe.contains(ne.target));if(F&&q)d.Keyboard.isTab(ne)&&(G(!1),$(-1));else if(oe&&(d.Keyboard.isArrowUp(ne)||d.Keyboard.isArrowDown(ne)||d.Keyboard.isSpace(ne))){var J;G(!0),(J=B.current)===null||J===void 0||J.querySelectorAll("button")[0].focus(),$(0)}},[ee,F,G]);return(0,h.default)({refOfElements:B,focusableTag:"button",setFocusedOptionIndex:$,focusedOptionIndex:j,frame:R}),(0,g.default)("keyup",te,{element:R==null?void 0:R.body}),(0,g.default)("keydown",ie,{element:U}),o.default.createElement(o.default.Fragment,null,o.default.createElement(u.Touchable.Element.WithoutFeedback,{onClick:()=>G(!F),css:{"&:focus":{outline:y.FOCUS_STATE_OUTLINE_COLOR,borderRadius:"100px"},"&:focus:not(:focus-visible)":{outline:"none",border:"none"}},width:"auto",minWidth:"96px",ref:m},o.default.createElement(u.Box,{px:"6px",py:"3px",borderRadius:"100px",bg:F?"gray.800":"gray.900",sx:{"&:hover":{backgroundColor:"gray.800"}}},o.default.createElement(u.Flex,{alignItems:"center",columnGap:1},A[E].icon,o.default.createElement(S,{fontWeight:"medium"},A[E].name),F?o.default.createElement(c.ChevronSmallUp,null):o.default.createElement(c.ChevronSmallDown,null)))),F&&o.default.createElement(u.Box,{ref:B,sx:{position:"fixed",backgroundColor:"white",overflowY:"visible",mt:"34px",borderRadius:2,boxShadow:x[200],minWidth:"142px"}},o.default.createElement(a.Stack,null,Object.keys(A).filter(ne=>ne!==y.LinkType.PAGE&&k.includes(ne)).map(ne=>o.default.createElement(u.Touchable.Element.WithoutFeedback,{key:ne,css:{"&:focus":{outline:y.FOCUS_STATE_OUTLINE_COLOR,outlineOffset:"0px"},"&:focus:not(:focus-visible)":{outline:"none",border:"none"}},onClick:()=>{if(ne===E||ne===y.LinkType.EXTERNAL&&E===y.LinkType.PAGE){G(!1);return}L(""),I(ne),(ne===y.LinkType.EXTERNAL||ne===y.LinkType.FILE)&&W(!0),(0,p.trackUserSelectsLinkType)(ne),G(!1)}},o.default.createElement(a.Cell,{label:A[ne].name,interiorPre:A[ne].icon,exteriorAccessory:ne===E||ne===y.LinkType.EXTERNAL&&E===y.LinkType.PAGE?o.default.createElement(c.Checkmark,null):null,sx:{"&:hover":{backgroundColor:"gray.800"}},px:2,pt:ne===y.LinkType.EXTERNAL?"17px":2,pb:3,borderTopLeftRadius:ne===y.LinkType.EXTERNAL&&2,borderTopRightRadius:ne===y.LinkType.EXTERNAL&&2}))),o.default.createElement(a.Divider,null),o.default.createElement(u.Touchable.Element.WithoutFeedback,{onClick:()=>window.open(n.ADDING_LINKS_TO_YOUR_SITE),css:{"&:focus":{outline:y.FOCUS_STATE_OUTLINE_COLOR,outlineOffset:"0px"},"&:focus:not(:focus-visible)":{outline:"none",border:"none"}}},o.default.createElement(u.Flex,{sx:{"&:hover":{backgroundColor:"gray.800"}},flexDirection:"row",alignItems:"center",py:1,pl:2,borderBottomLeftRadius:2,borderBottomRightRadius:2},o.default.createElement(u.Flex,{size:M.sizes[150],alignItems:"center",justifyContent:"center"},o.default.createElement(i.InfoCircle,{color:"gray.300"})),o.default.createElement(u.Text.Label,{sx:{cursor:"pointer"},ml:1},y.LEARN_MORE))))))});var s=l.default=T;b.exports=l.default},782705:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=p(e(174161)),n=e(20462),a=e(719081),i=r(e(567773)),c=e(882502),u=e(861795),f=e(300430),d=r(e(314950)),h=r(e(430016)),g=e(318216);function _(C){if(typeof WeakMap!="function")return null;var A=new WeakMap,S=new WeakMap;return(_=function(T){return T?S:A})(C)}function p(C,A){if(!A&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=_(A);if(S&&S.has(C))return S.get(C);var T={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in C)if(v!=="default"&&Object.prototype.hasOwnProperty.call(C,v)){var m=s?Object.getOwnPropertyDescriptor(C,v):null;m&&(m.get||m.set)?Object.defineProperty(T,v,m):T[v]=C[v]}return T.default=C,S&&S.set(C,T),T}const{Option:y}=n.SegmentedControl,O=(C,A)=>{let{linkInput:S,setLinkInput:T,onRequestClose:s}=C,{formatPhoneNumber:v=(0,g.formatTelephoneNumber)()}=A;const[m,E]=(0,o.useState)(),[I,L]=(0,o.useState)(!1),W=(0,o.useRef)(null);(0,o.useEffect)(()=>{m&&T((0,g.buildPhoneLink)(m))},[m,T]),(0,o.useEffect)(()=>{if(W.current&&W.current.focus(),(0,u.isStringInputPhoneNumber)(S)){const G=(0,g.extractPhoneURLObject)(S);E(G)}else E({url:S,type:g.PhoneOption.TEL,number:S});L(!0)},[]);const F=(0,o.useCallback)(G=>{var k;((k=document)===null||k===void 0?void 0:k.activeElement)===W.current&&a.Keyboard.isEnter(G)&&s()},[s]);return(0,i.default)("keydown",F,{element:(0,f.getFrameDocument)()}),(0,i.default)("keydown",F,{element:document}),m?o.default.createElement(o.default.Fragment,null,o.default.createElement(h.default,{BodyInputComp:n.TextInput,exteriorAccessory:o.default.createElement(d.default,{clearInput:()=>E({url:"",number:"",type:g.PhoneOption.TEL})}),value:I?v(m==null?void 0:m.number):"",onChange:G=>E({...m,number:G}),placeholder:(0,c.t)("Enter phone number",null,{project:"sqs.link-editor",notes:"Phone Input Placeholder - Link Editor"}),innerRef:W,rows:1}),o.default.createElement(n.SegmentedControl,{onChange:G=>E({...m,type:G}),value:I?m.type:g.PhoneOption.TEL,mt:2,sx:{width:"149px"}},o.default.createElement(y,{value:g.PhoneOption.TEL},(0,c.t)("Call",null,{project:"sqs.link-editor",notes:"Telephone type - Link Editor"})),o.default.createElement(y,{value:g.PhoneOption.SMS},(0,c.t)("Text",null,{project:"sqs.link-editor",notes:"SMS type - Link Editor"})))):null};var P=l.default=O;b.exports=l.default},595118:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=r(e(782705)),n=l.default=o.default;b.exports=l.default},318216:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isStringInputPhoneNumber=l.isPhoneNumberURL=l.formatTelephoneNumber=l.extractPhoneURLObject=l.buildPhoneLink=l.REGEX_KEEP_ALPHANUMERIC=l.REGEX_ALL_SPECIAL_CHARS=l.PhoneOption=l.PHONE_LINK_OBJ_KEYS=void 0;const e=/^\d+$/,r=/^(\+\d)\d*/g,o=l.REGEX_ALL_SPECIAL_CHARS=/[^+\d]+/g,n=l.REGEX_KEEP_ALPHANUMERIC=/[\W_]+/g,a=5,i=l.PHONE_LINK_OBJ_KEYS=["type","number"];let c=l.PhoneOption=function(p){return p.SMS="sms",p.TEL="tel",p}({});const u=()=>p=>{var y;return(p==null||(y=p.match(/(^\+)|(\d+)/g))===null||y===void 0?void 0:y.join(""))??""};l.formatTelephoneNumber=u;const f=p=>p.startsWith(`${c.TEL}:`)||p.startsWith(`${c.SMS}:`),d=p=>{const y={url:p,type:c.TEL,number:p};return f(p)&&(y.type=p.substring(0,3),y.number=p.substring(4)),y};l.extractPhoneURLObject=d;const h=p=>{if(p.number){const y=p.number.replace(o,"");return y.length>0&&(p.type===c.TEL||p.type===c.SMS)?`${p.type}:${y}`:""}return p.url};l.buildPhoneLink=h;const g=p=>{if(f(p)){let O=p.substring(4);return O=O.startsWith("+")?O.substring(1):O,e.test(O)}const y=p.replace(n,"");return r.test(y)||e.test(y)&&y.length>=a};l.isStringInputPhoneNumber=g;const _=p=>g(p)&&f(p);l.isPhoneNumberURL=_},473067:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=e(174161),n=e(719081),a=r(e(567773));const i=u=>{let{refOfElements:f,focusableTag:d,setFocusedOptionIndex:h,focusedOptionIndex:g,frame:_}=u;const p=(0,o.useCallback)(y=>{if((n.Keyboard.isArrowUp(y)||n.Keyboard.isArrowDown(y))&&(y.preventDefault(),f!=null&&f.current)){const O=f.current.querySelectorAll(d),P=O.length,C=g+(n.Keyboard.isArrowUp(y)?-1:1);C>=0&&C<P?(O[C].focus(),h(C)):C<0?(O[P-1].focus(),h(P-1)):C>=P&&(O[0].focus(),h(0))}},[f,d,g,h]);(0,a.default)("keydown",p,{element:_})};var c=l.default=i;b.exports=l.default},708731:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.useAssetUploader=void 0,e(392338);var o=C(e(174161)),n=e(913605),a=e(443224),i=C(e(565809)),c=e(830348),u=e(356877),f=e(336435),d=e(485747),h=e(744218),g=r(e(270848)),_=r(e(456903)),p=e(451846),y=e(112231),O=e(550155);function P(k){if(typeof WeakMap!="function")return null;var x=new WeakMap,M=new WeakMap;return(P=function(B){return B?M:x})(k)}function C(k,x){if(!x&&k&&k.__esModule)return k;if(k===null||typeof k!="object"&&typeof k!="function")return{default:k};var M=P(x);if(M&&M.has(k))return M.get(k);var B={__proto__:null},R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var U in k)if(U!=="default"&&Object.prototype.hasOwnProperty.call(k,U)){var j=R?Object.getOwnPropertyDescriptor(k,U):null;j&&(j.get||j.set)?Object.defineProperty(B,U,j):B[U]=k[U]}return B.default=k,M&&M.set(k,B),B}const A="/api/commondata/SaveMedia/asset-reference",{useFileInputField:S}=c.HiddenInputField,{FILE_SOURCE:T,UPLOAD_OPTION:s,trackDragAndDropFile:v,trackUserSelectsFileUploadOption:m,trackViewOSFileMenu:E,tracksUserAddsFile:I,tracksUserFileLoads:L}=i,W=async k=>{let{libraryId:x,assetId:M}=k;const B={headers:{"Content-Type":"application/x-www-form-urlencoded"}},R=(0,O.encodeUrl)({assetId:M,libraryId:x,recordType:g.default.ATTACHMENT,useFilenameAsUrlId:!0}),{data:U}=await _.default.post(A,R,B),[j]=U.media;return{assetUrl:"/s/"+j.urlId,contentType:j.contentType,filename:j.filename,id:j.id,suburl:"/s/"+j.urlId}},F=k=>{let{type:x}=k;const[M]=x.split("/");return M==="image"?n.AssetType.IMAGE:M==="audio"?n.AssetType.AUDIO:M==="video"?n.AssetType.VIDEO:n.AssetType.FILE},G=k=>{var x;let{handleUpload:M,handleFileUploadComplete:B,setFileStatus:R}=k;const U=h.context===null||h.context===void 0||(x=h.context.website)===null||x===void 0?void 0:x.id,j=U,$="link-editor",ee="link-editor",te=(0,f.useUploadManager)({fieldDescription:$,fieldId:ee}),{onUploadAndProcessFile:ie,uploadData:ne}=te||{};let pe=0;const oe=async Ee=>{if(!U)return;const fe=Ee,H=await W({libraryId:U,assetId:fe.id});L({id:fe.id,filename:fe.filename,fileType:fe.contentType,fileSize:parseInt(fe.fileSize),fileSource:T.OPERATING_SYSTEM,timing:Date.now()-pe}),B(H)};(0,o.useEffect)(()=>{[a.UploadUIState.Error,a.UploadUIState.Uploading,a.UploadUIState.Processing].includes(ne.uploadState)&&R(ne.uploadState)},[ne.uploadState,R]);const q=async function(Ee){let{isDragAndDrop:fe}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};await M(Ee,{isDragAndDrop:fe}),pe=Date.now(),fe&&v(Ee,{objectDisplayName:y.DROP_TO_UPLOAD}),I({filename:Ee.name,fileSize:Ee.size,fileType:Ee.type,fileSource:T.OPERATING_SYSTEM});const H=F(Ee),z=(0,d.getCurrentConstraints)(H,{maxSize:20,allFileTypesAccepted:!0});ie(Ee,{fieldDescription:$,fieldId:ee,assetType:n.AssetType.FILE,uploadRequestConfig:{websiteId:j||""},envConfig:{isDev:p.EnvUtils.isDev(),isQA:p.EnvUtils.isQA(),isStage:p.EnvUtils.isStage()},completionXHRConfig:void 0,constraints:z,validateFile:async()=>await(0,d.validateFile)(H,Ee,z)},oe)},{onOpenFileBrowser:J,inputRef:me}=S(Ee=>{if(!Ee)return;const[fe]=Array.from(Ee);q(fe)});return{renderedFileInputField:(0,o.useMemo)(()=>o.default.createElement(c.HiddenInputField,{ref:me}),[me]),openFileBrowser:()=>{J(),m(s.UPLOAD_FILE),E()},handleAssetUpload:q,handleCancelFile:()=>{(0,u.handleCancelUpload)(ne.uploadId),R("CANCELED")}}};l.useAssetUploader=G},567773:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=a;var o=r(e(176944)),n=e(174161);function a(i,c){let{element:u=document.body,useCapture:f,passive:d,shouldListen:h=!0}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const g=(0,n.useRef)(c);(0,n.useEffect)(()=>{g.current=c},[c]),(0,n.useEffect)(()=>{if(u&&h){const _={};(0,o.default)(f)||(_.capture=f),(0,o.default)(d)||(_.passive=d);const p=y=>g.current(y);return setTimeout(()=>u.addEventListener(i,p,_)),()=>{u.removeEventListener(i,p,_)}}},[i,u,h,d,f])}b.exports=l.default},250112:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=e(300430),n=r(e(567773));const a=250,i="data-is-hovered",c=d=>{let{sectionNode:h}=d;if(h){var g,_;const p=h.ownerDocument,y=(p==null||(g=p.querySelectorAll)===null||g===void 0?void 0:g.call(p,`[${i}]`))||[],O=(_=h.getAttribute)===null||_===void 0?void 0:_.call(h,"data-section-id");Array.from(y).forEach(P=>{P.getAttribute("data-section-id")!==O&&P.removeAttribute(i)}),h.setAttribute(i,"true")}},u=(d,h,g)=>{var _,p;const y=(P,C)=>{(P.key==="Escape"||P.key==="Esc")&&(P.preventDefault(),P.stopPropagation(),C&&C())},O=P=>{if(y(P,h),(P.key==="Escape"||P.key==="Esc")&&d){const A=`[data-section-id="${d.getAttribute("data-section-id")}"] ${g||".section-toolbar-button"}`;c({sectionNode:d}),setTimeout(()=>{var S,T;const s=document.querySelector(A)||((S=(0,o.getFrameDocument)())===null||S===void 0||(T=S.querySelector)===null||T===void 0?void 0:T.call(S,A));s==null||s.focus()},a)}};(0,n.default)("keyup",O,{element:((_=(0,o.getFrameDocument)())===null||_===void 0?void 0:_.body)??null}),(0,n.default)("keyup",O,{element:document.body}),(0,n.default)("keydown",y,{element:((p=(0,o.getFrameDocument)())===null||p===void 0?void 0:p.body)??null}),(0,n.default)("keydown",y,{element:document.body})};var f=l.default=u;b.exports=l.default},875479:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.useInfiniteScroll=void 0;var o=e(174161),n=r(e(567773));const a=i=>{let{scrollableElement:c,handleAddMoreItems:u,bottomPadding:f=0}=i;const d=(0,o.useCallback)(h=>{const g=h==null?void 0:h.target;g&&g.scrollHeight-g.scrollTop-f<=g.clientHeight&&u()},[f,u]);(0,n.default)("scroll",d,{element:c})};l.useInfiniteScroll=a},923581:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.useIsOnScreen=void 0;var r=e(174161),o=e(300430);const n=a=>{let{linkPreviewRef:i,anchorAt:c,initialPosition:u,initialAnchorPoint:f}=a;const[d,h]=(0,r.useState)(c),[g,_]=(0,r.useState)(f??{x:"center",y:"bottom"}),[p,y]=(0,r.useState)(null),[O,P]=(0,r.useState)(u??"bottom-center"),[C,A]=(0,r.useState)(!1),S=(0,r.useCallback)(()=>{const T=c==null?void 0:c.getBoundingClientRect(),s=(0,o.getFrameWindow)(),v=s==null?void 0:s.document.querySelector("div.rte-menu"),m=v==null?void 0:v.getBoundingClientRect(),E=v==null?void 0:v.querySelector('button[title="Link (\u2318K)"]');if(T&&p&&s){const I=s.innerHeight>T.bottom+16+p.height,L=s.innerWidth>T.right+16+p.width,W=T.left-16-p.width>0;let F=s.innerHeight>T.top-(p.height-T.height)/2+p.height;if(m&&(F=m.bottom+10<T.top-(p.height-T.height)/2&&s.innerHeight>T.top-(p.height-T.height)/2+p.height),I)O!=="bottom-center"&&(_({x:"center",y:"bottom"}),P("bottom-center"));else if(L&&F)O!=="right"&&(_({x:"right",y:"middle"}),P("right"));else if(W&&F)O!=="left"&&(_({x:"left",y:"middle"}),P("left"));else if(!m||m.top-p.height>0?(_({x:"center",y:"top"}),P("top-center")):(_({x:"center",y:"bottom"}),P("bottom-center")),E)return h(E),!0;return h(c),!0}return!1},[c,p,O]);return(0,r.useEffect)(()=>{C||A(S())},[S,C]),(0,r.useEffect)(()=>{var T,s;if(i!==null&&!(i!=null&&(T=i.current)!==null&&T!==void 0&&(T=T.node)!==null&&T!==void 0&&T.current)&&c!==null)return;const v=new ResizeObserver(m=>{let[E]=m;E.contentRect.height!==(p==null?void 0:p.height)&&(y(E.contentRect),S())});return v.observe(i==null||(s=i.current)===null||s===void 0||(s=s.node)===null||s===void 0?void 0:s.current),()=>v.disconnect()},[c,S,i,p==null?void 0:p.height]),(0,r.useEffect)(()=>{var T,s;if(!(i!==null&&!((T=i.current)!==null&&T!==void 0&&(T=T.node)!==null&&T!==void 0&&T.current)))return(s=(0,o.getFrameWindow)())===null||s===void 0||s.addEventListener("scroll",S),()=>{var v;(v=(0,o.getFrameWindow)())===null||v===void 0||v.removeEventListener("scroll",S)}}),{anchor:d,anchorPoint:g,position:O}};l.useIsOnScreen=n},882502:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.t=l.pluralize=l.parseNumber=l.getCurrencySymbol=l.formatQuantity=l.formatNumber=l.formatIcuMessage=l.formatCurrencyToParts=l.formatCurrency=l.T=l.Plural=l.FormattedNumber=l.FormattedDateTime=l.FormattedCurrency=void 0;var o=r(e(555912)),n=r(e(470407)),a=r(e(59794)),i=e(709771);const c=(0,i.getI18nInstance)(),u=new a.default(c),f=new o.default(c),d=new n.default(c),{T:h,Plural:g,FormattedCurrency:_,FormattedNumber:p,FormattedDateTime:y}=u;l.FormattedDateTime=y,l.FormattedNumber=p,l.FormattedCurrency=_,l.Plural=g,l.T=h;const{formatIcuMessage:O}=f;l.formatIcuMessage=O;const{parseNumber:P}=d;l.parseNumber=P;const{formatNumber:C,formatCurrency:A,formatCurrencyToParts:S,getCurrencySymbol:T,formatQuantity:s,translate:v,pluralize:m}=c;l.pluralize=m,l.t=v,l.formatQuantity=s,l.getCurrencySymbol=T,l.formatCurrencyToParts=S,l.formatCurrency=A,l.formatNumber=C},709771:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.setI18nInstance=l.getI18nInstance=void 0;var r=e(638204);const o="sqs.link-editor";function n(c){return e(264203)(`./${o}.${c}.yaml`)}const{getI18nInstance:a,setI18nInstance:i}=(0,r.setupLibrary)(o,n);l.setI18nInstance=i,l.getI18nInstance=a},561637:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r={LinkEditor:!0,LinkPreview:!0,LinkType:!0,ALL_LINK_TYPES:!0,LinkEditorTrackingPayload:!0,getCMSTrackingPayload:!0,shouldPasteAsLink:!0,useIsOnScreen:!0};Object.defineProperty(l,"ALL_LINK_TYPES",{enumerable:!0,get:function(){return i.ALL_LINK_TYPES}}),Object.defineProperty(l,"LinkEditor",{enumerable:!0,get:function(){return o.LinkEditor}}),Object.defineProperty(l,"LinkEditorTrackingPayload",{enumerable:!0,get:function(){return c.LinkEditorTrackingPayload}}),Object.defineProperty(l,"LinkPreview",{enumerable:!0,get:function(){return n.LinkPreview}}),Object.defineProperty(l,"LinkType",{enumerable:!0,get:function(){return i.LinkType}}),Object.defineProperty(l,"getCMSTrackingPayload",{enumerable:!0,get:function(){return c.getCMSTrackingPayload}}),Object.defineProperty(l,"shouldPasteAsLink",{enumerable:!0,get:function(){return u.shouldPasteAsLink}}),Object.defineProperty(l,"useIsOnScreen",{enumerable:!0,get:function(){return f.useIsOnScreen}});var o=e(24820),n=e(261165),a=e(862844);Object.keys(a).forEach(function(d){d==="default"||d==="__esModule"||Object.prototype.hasOwnProperty.call(r,d)||d in l&&l[d]===a[d]||Object.defineProperty(l,d,{enumerable:!0,get:function(){return a[d]}})});var i=e(236064),c=e(204112),u=e(861795),f=e(923581)},722002:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.setTrackingPayload=l.LinkEditorEvents=void 0,e(392338);var o=r(e(722448)),n=r(e(897071)),a=e(221661),i=e(451846);const c="SquarespaceAdminEvents";class u{constructor(g){let{customSchemaName:_,defaultConfigOverrides:p}=g;this.customSchemaName=_;const y={actor:"user",event_owner_team:"cms",event_source:"web"},O={customSchemaName:_,logging:!1,sourceEnvironment:i.EnvUtils.isInternal()?a.SourceEnvironment.STAGING:a.SourceEnvironment.PROD};this.defaultConfig={...y,...p},this.tracker=new n.default(O,this.defaultConfig)}setTrackingValues(g){let{accessPermissions:_,accountId:p,accountLocale:y,websiteId:O,websiteLocale:P,trackingLocation:C,effectiveConnectionSpeed:A,selectedTemplateIdentifier:S,isSquarespaceApp:T,deviceOrientation:s,displayMode:v,frameUrl:m}=g;this.defaultConfig.user_member_account_id=p,this.defaultConfig.display_mode=v,this.defaultConfig.frame_url=m,this.defaultConfig.effective_connection_speed=A,this.defaultConfig.selected_template_identifier=S,this.defaultConfig.device_orientation=s,this.defaultConfig.is_squarespace_app=T,this.defaultConfig.indirect_object_identifier=C,this.defaultConfig.member_account_locale=y,this.defaultConfig.website_locale=P,this.defaultConfig.user_website_id=O,this.defaultConfig.context_website_id=O,window.BroadcastChannel&&_!=null&&_.includes(o.default.ADMIN)&&(this.bc=new BroadcastChannel(c))}track(g){if(!this.tracker){console.warn("Event is firing before the environment is initialized!");return}this.tracker.track(g),this.bc&&this.bc.postMessage({squarespaceEventPayload:{...g,indirect_object_identifier:this.defaultConfig.indirect_object_identifier}})}}const f=l.LinkEditorEvents=new u({customSchemaName:"cms_v7"}),d=h=>{f.setTrackingValues(h)};l.setTrackingPayload=d},194293:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TrackObjectType=l.TrackAction=void 0;let e=l.TrackAction=function(o){return o.CLOSE="close",o.CLICK="click",o.OPEN="open",o.SELECT="select",o}({}),r=l.TrackObjectType=function(o){return o.BUTTON="button",o.MENU="menu",o.MENU_ITEM="menuitem",o}({})},204112:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var r={setTrackingPayload:!0,LinkEditorEvents:!0,trackUserClosesLinkEditor:!0,trackUserCopiesLinkFromLinkEditor:!0,trackUserOpensLinkEditor:!0,trackUserSelectsLinkType:!0,trackUserRemovesLinkFromLinkEditor:!0,getCMSTrackingPayload:!0};Object.defineProperty(l,"LinkEditorEvents",{enumerable:!0,get:function(){return o.LinkEditorEvents}}),Object.defineProperty(l,"getCMSTrackingPayload",{enumerable:!0,get:function(){return f.getCMSTrackingPayload}}),Object.defineProperty(l,"setTrackingPayload",{enumerable:!0,get:function(){return o.setTrackingPayload}}),Object.defineProperty(l,"trackUserClosesLinkEditor",{enumerable:!0,get:function(){return n.trackUserClosesLinkEditor}}),Object.defineProperty(l,"trackUserCopiesLinkFromLinkEditor",{enumerable:!0,get:function(){return a.trackUserCopiesLinkFromLinkEditor}}),Object.defineProperty(l,"trackUserOpensLinkEditor",{enumerable:!0,get:function(){return i.trackUserOpensLinkEditor}}),Object.defineProperty(l,"trackUserRemovesLinkFromLinkEditor",{enumerable:!0,get:function(){return u.trackUserRemovesLinkFromLinkEditor}}),Object.defineProperty(l,"trackUserSelectsLinkType",{enumerable:!0,get:function(){return c.trackUserSelectsLinkType}});var o=e(722002),n=e(454448),a=e(731247),i=e(777841),c=e(285858),u=e(460411),f=e(171277),d=e(194293);Object.keys(d).forEach(function(h){h==="default"||h==="__esModule"||Object.prototype.hasOwnProperty.call(r,h)||h in l&&l[h]===d[h]||Object.defineProperty(l,h,{enumerable:!0,get:function(){return d[h]}})})},454448:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.trackUserClosesLinkEditor=void 0;var r=e(318216),o=e(236064),n=e(204112);const a=i=>{let{linkInput:c,openNewWindow:u,linkType:f}=i;const d=f===o.LinkType.TELEPHONE?(0,r.extractPhoneURLObject)(c??"").type:u?"new-tab-on":"new-tab-off";n.LinkEditorEvents.track({action:n.TrackAction.CLOSE,object_type:n.TrackObjectType.MENU,object_identifier:c,object_value:d,event_name:"UserClosesLinkEditor"})};l.trackUserClosesLinkEditor=a},731247:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.trackUserCopiesLinkFromLinkEditor=void 0;var r=e(204112);const o=()=>{r.LinkEditorEvents.track({action:r.TrackAction.CLICK,object_type:r.TrackObjectType.BUTTON,object_identifier:"copy-link",event_name:"UserCopiesLinkFromLinkEditor"})};l.trackUserCopiesLinkFromLinkEditor=o},777841:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.trackUserOpensLinkEditor=void 0;var r=e(204112);const o=()=>{r.LinkEditorEvents.track({action:r.TrackAction.OPEN,object_type:r.TrackObjectType.MENU,object_identifier:"link-editor",event_name:"UserOpensLinkEditor"})};l.trackUserOpensLinkEditor=o},460411:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.trackUserRemovesLinkFromLinkEditor=void 0;var r=e(204112);const o=()=>{r.LinkEditorEvents.track({action:r.TrackAction.CLICK,object_type:r.TrackObjectType.BUTTON,object_identifier:"remove-link",event_name:"UserClicksRemoveLinkFromLinkEditor"})};l.trackUserRemovesLinkFromLinkEditor=o},285858:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.trackUserSelectsLinkType=void 0;var r=e(204112);const o=n=>{r.LinkEditorEvents.track({action:r.TrackAction.SELECT,object_type:r.TrackObjectType.MENU_ITEM,object_identifier:"link-type",object_value:n,event_name:"UserSelectsLinkType"})};l.trackUserSelectsLinkType=o},171277:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getCMSTrackingPayload=void 0;var r=e(744218);const o=function(){var n,a,i,c,u,f;let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"unknown";return{accessPermissions:r.context===null||r.context===void 0?void 0:r.context.accessPermissions,accountId:r.context===null||r.context===void 0||(n=r.context.authenticatedAccount)===null||n===void 0?void 0:n.id,accountLocale:r.context===null||r.context===void 0||(a=r.context.authenticatedAccount)===null||a===void 0?void 0:a.preferredLocale,deviceOrientation:window.matchMedia("(orientation: landscape)").matches?"landscape":"portrait",effectiveConnectionSpeed:(i=navigator)===null||i===void 0||(i=i.connection)===null||i===void 0?void 0:i.effectiveType,selectedTemplateIdentifier:r.context===null||r.context===void 0||(c=r.context.templateInstallation)===null||c===void 0||(c=c.templateWebsite)===null||c===void 0?void 0:c.identifier,trackingLocation:d,websiteId:r.context===null||r.context===void 0||(u=r.context.website)===null||u===void 0?void 0:u.id,websiteLocale:r.context===null||r.context===void 0||(f=r.context.website)===null||f===void 0?void 0:f.language}};l.getCMSTrackingPayload=o},271247:function(){"use strict"},862844:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"EmailStateInputType",{enumerable:!0,get:function(){return o.EmailStateInputType}}),Object.defineProperty(l,"FileItemType",{enumerable:!0,get:function(){return o.FileItemType}}),Object.defineProperty(l,"InitialStateParamType",{enumerable:!0,get:function(){return r.InitialStateParamType}}),Object.defineProperty(l,"InputFieldParamType",{enumerable:!0,get:function(){return r.InputFieldParamType}}),Object.defineProperty(l,"InputParamType",{enumerable:!0,get:function(){return r.InputParamType}}),Object.defineProperty(l,"LinkEditorProps",{enumerable:!0,get:function(){return r.LinkEditorProps}}),Object.defineProperty(l,"LinkEditorValueProps",{enumerable:!0,get:function(){return r.LinkEditorValueProps}}),Object.defineProperty(l,"Page",{enumerable:!0,get:function(){return n.Page}}),Object.defineProperty(l,"PageGroupType",{enumerable:!0,get:function(){return n.PageGroupType}}),Object.defineProperty(l,"PhoneStateInputType",{enumerable:!0,get:function(){return o.PhoneStateInputType}}),Object.defineProperty(l,"SearchItemType",{enumerable:!0,get:function(){return n.SearchItemType}}),Object.defineProperty(l,"SearchPageResultsType",{enumerable:!0,get:function(){return n.SearchPageResultsType}}),Object.defineProperty(l,"SearchResultCategories",{enumerable:!0,get:function(){return n.SearchResultCategories}});var r=e(517616),o=e(900287),n=e(271247)},900287:function(){"use strict"},517616:function(){"use strict"},2239:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.deleteFile=p,l.getFile=y,l.getNavigationData=O,l.getProducts=u,l.getUploadedFileByURLId=d,l.getUploadedFiles=h,l.renameFile=P,l.searchFiles=f,l.uploadFile=_;var o=r(e(394470)),n=r(e(697848)),a=r(e(270848)),i=r(e(456903)),c=e(236064);async function u(C){const{data:A}=await i.default.get(c.PRODUCTS_URL,{params:{searchQuery:C}});return A.results}async function f(C,A){let S=C;S.startsWith("/s/")&&(S=S.slice(3));const{data:T}=await i.default.get(c.SEARCH_FILES_URL,{params:{recordType:a.default.ATTACHMENT,orderDirection:n.default.DESCENDING,orderBy:"addedOn",q:S,transient:!0,limit:A?1:50}});return T.results}async function d(C){const A=C.startsWith("/s/")?C.slice(3):C,S={recordType:a.default.ATTACHMENT,urlId:A},{data:T}=await i.default.get(c.BASE_FILE_URL,{params:S});return T.results[0]}async function h(C){const A=[];let S=C??"";const T={orderBy:"addedOn",orderDirection:n.default.DESCENDING,recordType:a.default.ATTACHMENT,start:S,limit:c.MIN_LIST_ITEMS},{data:s}=await i.default.get(c.BASE_FILE_URL,{params:T});return A.push(...s.results),S=s.nextPageStart,{files:A,nextPageStart:S}}function g(C){const A=new FormData;return A.append("useFilenameAsUrlId","true"),A.append("contentType",C.type),A.append("fileName",C.name),A.append("fileSize",C.size.toString()),A.append("Filedata",C),A}async function _(C){const{data:A}=await i.default.post(c.UPLOAD_FILE_URL,g(C));if(A.media)return A.media[0];throw new Error(A.errorCode)}async function p(C){await i.default.delete(c.BASE_FILE_URL+C.id)}async function y(C){const{data:A}=await i.default.get(c.BASE_FILE_URL+C.id);return A}async function O(){const{data:C}=await i.default.get(c.GET_NAVIGATION_DATA,{params:{includeDemoCollections:!0}});return C}async function P(C,A){const S=await y(C),{data:T}=await i.default.put(c.BASE_FILE_URL+C.id,(0,o.default)({...S,filename:A},["pendingPushedServices","pushedServices"]),{headers:{"Content-Type":"application/json"}});return T}},236064:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.UPLOAD_FILE_URL=l.SearchResultLabels=l.SEARCH_FILES_URL=l.PRODUCTS_URL=l.MIN_LIST_ITEMS=l.LinkType=l.LEARN_MORE=l.GET_NAVIGATION_DATA=l.FOCUS_STATE_OUTLINE_COLOR=l.FILE_CELL_HEIGHT=l.DEPRECATED_LINK_TYPES_MAP=l.BASE_FILE_URL=l.ALL_LINK_TYPES=void 0;var r=e(213865),o=e(882502);let n=l.LinkType=function(P){return P.EMAIL="email",P.EXTERNAL="external",P.FILE="file",P.PAGE="page",P.TELEPHONE="telephone",P}({});const a=l.ALL_LINK_TYPES=[n.EMAIL,n.EXTERNAL,n.FILE,n.PAGE,n.TELEPHONE],i=l.DEPRECATED_LINK_TYPES_MAP={CONTENT_PICKER:n.PAGE,URL:n.EXTERNAL,EMAIL:n.EMAIL,FILE_MANAGER:n.FILE,PHONE_NUMBER:n.TELEPHONE},c=l.PRODUCTS_URL="/api/3/commerce/products",u=l.BASE_FILE_URL="/api/content-items/",f=l.SEARCH_FILES_URL=u+"search",d=l.UPLOAD_FILE_URL="/api/uploads/files",h=l.GET_NAVIGATION_DATA="/api/navigation",g=l.FOCUS_STATE_OUTLINE_COLOR=`2px solid ${r.colors.gray[100]}`,_=l.MIN_LIST_ITEMS=50,p=l.FILE_CELL_HEIGHT=59,y=l.LEARN_MORE=(0,o.t)("Learn more",null,{project:"sqs.link-editor",notes:"learn more"}),O=l.SearchResultLabels=Object.freeze({MAIN_NAVIGATION:(0,o.t)("Main Navigation",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),HIDDEN_NAVIGATION:(0,o.t)("Hidden Navigation",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),SECONDARY_NAVIGATION:(0,o.t)("Secondary Navigation",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),FOOTER_NAVIGATION:(0,o.t)("Footer Navigation",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),MEMBER_AREA:(0,o.t)("Member Area",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),PRODUCTS:(0,o.t)("Products",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),BLOG_CATEGORIES:(0,o.t)("Blog Categories",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),BLOG_TAGS:(0,o.t)("Blog Tags",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),COURSE_CATEGORIES:(0,o.t)("Course Categories",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),COURSE_TAGS:(0,o.t)("Course Tags",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),EVENT_CATEGORIES:(0,o.t)("Event Categories",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),EVENT_TAGS:(0,o.t)("Event Tags",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),LESSON_CATEGORIES:(0,o.t)("Lesson Categories",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),LESSON_TAGS:(0,o.t)("Lesson Tags",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),PORTFOLIO_CATEGORIES:(0,o.t)("Portfolio Categories",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),PORTFOLIO_TAGS:(0,o.t)("Portfolio Tags",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),PRODUCT_TAGS:(0,o.t)("Product Tags",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),PRODUCT_CATEGORIES:(0,o.t)("Product Categories",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),PROJECT_CATEGORIES:(0,o.t)("Project Categories",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),PROJECT_TAGS:(0,o.t)("Project Tags",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),OTHER_CATEGORIES:(0,o.t)("Other Categories",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),OTHER_TAGS:(0,o.t)("Other Tags",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),VIDEO_CATEGORIES:(0,o.t)("Video Categories",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),VIDEO_TAGS:(0,o.t)("Video Tags",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),ALBUM_CATEGORIES:(0,o.t)("Album Categories",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),ALBUM_TAGS:(0,o.t)("Album Tags",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),GALLERY_CATEGORIES:(0,o.t)("Gallery Categories",null,{project:"sqs.link-editor",notes:"Search field dropdown label"}),GALLERY_TAGS:(0,o.t)("Gallery Tags",null,{project:"sqs.link-editor",notes:"Search field dropdown label"})})},550155:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.encodeUrl=void 0;const e=o=>!!o||o===""||o===0,r=o=>{const n=[];return Object.keys(o).forEach(a=>{if(o.hasOwnProperty(a)&&e(o[a])){const i=typeof o[a]=="string"?o[a]:JSON.stringify(o[a]);n.push(encodeURIComponent(a)+"="+encodeURIComponent(i))}}),n.join("&")};l.encodeUrl=r},300430:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getFrameDocument=void 0,l.getFrameElement=r,l.getFrameWindow=o,l.isSameOriginFromCurrentLocation=l.getOnlyPathAndHash=void 0;const e="sqs-site-frame";function r(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:document).getElementById(e)}function o(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;const f=r(u);return(f==null?void 0:f.contentWindow)??window}const n=()=>{var u;return((u=o())===null||u===void 0?void 0:u.document)??document};l.getFrameDocument=n;const a=u=>{try{return!!new URL(u)}catch{return!1}},i=u=>{var f;const d=(f=window)===null||f===void 0||(f=f.Static)===null||f===void 0||(f=f.SQUARESPACE_CONTEXT)===null||f===void 0||(f=f.website)===null||f===void 0?void 0:f.baseUrl;if(!d)return!1;if(a(u)&&a(d)){const h=new URL(u);return new URL(d).origin===h.origin}return!1};l.isSameOriginFromCurrentLocation=i;const c=u=>{if(a(u)){const f=new URL(u);return f.pathname+f.hash}return""};l.getOnlyPathAndHash=c},726968:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.getNestedCategories=l.getCategories=l.default=void 0;var o=r(e(935662)),n=r(e(456903)),a=e(236371);const i=async d=>{const h={headers:{"Content-Type":"application/json"},data:{}},g=await n.default.get(`/api/product-content-service/products/${d}/categories/tree`,h);return g.status===200||g.status===204?g.data:{}};l.getNestedCategories=i;const c=async d=>{const h=await n.default.get(`/api/commondata/GetCollectionCategories?collectionId=${d}`);return h.status===200||h.status===204?h.data:{}};l.getCategories=c;const u=async d=>{const h=a.legacyV6Flags.isFeatureEnabled(o.default.NESTED_CATEGORIES);let g=!1,_=[];if(h)try{_=(await i(d)).categoryTree.slice(1).map(O=>({name:O.displayName,fullSlug:O.fullSlug}))}catch{g=!0}else try{_=(await c(d)).map(y=>({name:y.name,fullSlug:`?category=${y.name}`}))}catch{g=!0}return{storeWideCats:_,apiErrors:g}};var f=l.default=u},861795:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"deleteFile",{enumerable:!0,get:function(){return i.deleteFile}}),l.determineLinkType=void 0,Object.defineProperty(l,"filterNavigationItems",{enumerable:!0,get:function(){return a.filterNavigationItems}}),l.formatLinkTypes=l.formatFiles=void 0,Object.defineProperty(l,"getFile",{enumerable:!0,get:function(){return i.getFile}}),Object.defineProperty(l,"getInternalPageData",{enumerable:!0,get:function(){return a.getInternalPageData}}),Object.defineProperty(l,"getNavigationData",{enumerable:!0,get:function(){return i.getNavigationData}}),Object.defineProperty(l,"getProducts",{enumerable:!0,get:function(){return i.getProducts}}),Object.defineProperty(l,"getUploadedFiles",{enumerable:!0,get:function(){return i.getUploadedFiles}}),l.isStringInputEmailType=l.isInternalLink=void 0,Object.defineProperty(l,"isStringInputPhoneNumber",{enumerable:!0,get:function(){return o.isStringInputPhoneNumber}}),Object.defineProperty(l,"limitNavResults",{enumerable:!0,get:function(){return a.limitNavResults}}),l.parseExternalLink=void 0,Object.defineProperty(l,"renameFile",{enumerable:!0,get:function(){return i.renameFile}}),l.shouldPasteAsLink=void 0,Object.defineProperty(l,"uploadFile",{enumerable:!0,get:function(){return i.uploadFile}}),e(392338);var r=u(e(137260)),o=e(318216),n=e(236064),a=e(459628),i=e(2239);function c(C){if(typeof WeakMap!="function")return null;var A=new WeakMap,S=new WeakMap;return(c=function(T){return T?S:A})(C)}function u(C,A){if(!A&&C&&C.__esModule)return C;if(C===null||typeof C!="object"&&typeof C!="function")return{default:C};var S=c(A);if(S&&S.has(C))return S.get(C);var T={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in C)if(v!=="default"&&Object.prototype.hasOwnProperty.call(C,v)){var m=s?Object.getOwnPropertyDescriptor(C,v):null;m&&(m.get||m.set)?Object.defineProperty(T,v,m):T[v]=C[v]}return T.default=C,S&&S.set(C,T),T}const f=C=>r.default.isURL(C)&&!r.default.isEmail(C),d=C=>(C!==""&&!C.startsWith("http")&&!C.startsWith("https")&&(C="https://"+C),C);l.parseExternalLink=d;const h=C=>C&&!C.startsWith("/s/")&&(C.startsWith("/")||C.startsWith("#"));l.isInternalLink=h;const g=C=>r.default.isEmail(C)||C.startsWith("mailto:");l.isStringInputEmailType=g;const _=C=>C.startsWith("/s/"),p=C=>C.map(A=>({id:A.id,filename:A.filename,assetUrl:A.assetUrl,suburl:"/s/"+A.urlId,contentType:A.contentType}));l.formatFiles=p;const y=function(C){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.ALL_LINK_TYPES;return f(C)&&A.includes(n.LinkType.EXTERNAL)?n.LinkType.EXTERNAL:h(C)&&A.includes(n.LinkType.PAGE)?n.LinkType.PAGE:_(C)&&A.includes(n.LinkType.FILE)?n.LinkType.FILE:g(C)&&A.includes(n.LinkType.EMAIL)?n.LinkType.EMAIL:(0,o.isStringInputPhoneNumber)(C)&&A.includes(n.LinkType.TELEPHONE)?n.LinkType.TELEPHONE:n.LinkType.EXTERNAL};l.determineLinkType=y;const O=C=>{const A=[];return C==null||C.forEach(S=>{if(Object.keys(n.DEPRECATED_LINK_TYPES_MAP).includes(S))A.push(n.DEPRECATED_LINK_TYPES_MAP[S]);else if(Object.values(n.LinkType).includes(S))return A.push(S)}),A};l.formatLinkTypes=O;const P=C=>f(C)||h(C)||g(C)||_(C)||(0,o.isPhoneNumberURL)(C);l.shouldPasteAsLink=P},459628:function(b,l,e){"use strict";var r=e(241225);Object.defineProperty(l,"__esModule",{value:!0}),l.transformNavItemObj=l.limitNavResults=l.getInternalPageData=l.filterNavigationItems=void 0,e(392338);var o=r(e(230864)),n=e(347533),a=e(236064),i=r(e(726968)),c=e(483359),u=e(861795);const f=(O,P)=>{switch(O){case"blog":return P==="category"?"BLOG_CATEGORIES":"BLOG_TAGS";case"course":return P==="category"?"LESSON_CATEGORIES":"LESSON_TAGS";case"product":return P==="category"?"PRODUCT_CATEGORIES":"PRODUCT_TAGS";case"event":return P==="category"?"EVENT_CATEGORIES":"EVENT_TAGS";case"portfolio":return P==="category"?"PORTFOLIO_CATEGORIES":"PORTFOLIO_TAGS";case"video":return P==="category"?"VIDEO_CATEGORIES":"VIDEO_TAGS";case"album":return P==="category"?"ALBUM_CATEGORIES":"ALBUM_TAGS";case"gallery":return P==="category"?"GALLERY_CATEGORIES":"GALLERY_TAGS";default:return P==="category"?"OTHER_CATEGORIES":"OTHER_TAGS"}},d=O=>{const P={_hidden:[],mainNav:[],_memberareas:[],secondaryNavigation:[],footerMainNavigation:[]};return O.forEach(C=>{let A=C.identifier==="mainNavigation"?"mainNav":C.identifier;P[A]===void 0&&(A="mainNav"),C.links.forEach(S=>{P[A]&&(P[A].push(S),S.children&&P[A].push(...S.children))})}),P},h=O=>O.filter(P=>!("externalLink"in P)&&"urlId"in P&&!P.isFolder).map(P=>({name:"title"in P&&P.title||"",url:"urlId"in P&&"/"+P.urlId||"",icon:(0,c.getPageIcon)(P)}));l.transformNavItemObj=h;const g=async O=>{let{page:P,formattedCategories:C,formattedTags:A}=O;const S=(0,c.getCollectionPageType)(P);let T=[],s=[];if(S){var v;if(S==="product"){const{storeWideCats:E}=await(0,i.default)(P.collectionId);T=E.reduce((I,L)=>(L.fullSlug&&L.fullSlug.length>0&&I.push({name:L.name,url:`/${P.urlId}${L.fullSlug}`}),I),[])}else{var m;T=((m=P.categories)===null||m===void 0?void 0:m.map(E=>({name:E,url:`/${P.urlId}?category=${E}`})))??[]}s=((v=P.tags)===null||v===void 0?void 0:v.map(E=>({name:E,url:`/${P.urlId}?tag=${E}`})))??[],T&&T.length>0&&(C[S]===void 0&&(C[S]=[]),C[S].push(...T)),s&&s.length>0&&(A[S]===void 0&&(A[S]=[]),A[S].push(...s))}},_=async()=>{const O=d(await(0,u.getNavigationData)()),P={MAIN_NAVIGATION:{categoryName:a.SearchResultLabels.MAIN_NAVIGATION,items:h(O.mainNav)},HIDDEN_NAVIGATION:{categoryName:a.SearchResultLabels.HIDDEN_NAVIGATION,items:h(O._hidden)},MEMBER_AREA:{categoryName:a.SearchResultLabels.MEMBER_AREA,items:h(O._memberareas)},SECONDARY_NAVIGATION:{categoryName:a.SearchResultLabels.SECONDARY_NAVIGATION,items:h(O.secondaryNavigation)},FOOTER_NAVIGATION:{categoryName:a.SearchResultLabels.FOOTER_NAVIGATION,items:h(O.footerMainNavigation)}},C={},A={};for(const s of(0,o.default)(Object.values(O)))s.collectionId&&await g({page:s,formattedCategories:C,formattedTags:A});Object.keys(C).forEach(s=>{const v=f(s,"category");P[v]={categoryName:a.SearchResultLabels[v],items:C[s]}}),Object.keys(A).forEach(s=>{const v=f(s,"tag");P[v]={categoryName:a.SearchResultLabels[v],items:A[s]}});const T=(await(0,u.getProducts)("")).map(s=>{var v;const m=n.Store;return{name:s.name,url:s.url.fullPath,image:(v=s.images[0])===null||v===void 0?void 0:v.urls.https,icon:m}});return P.PRODUCTS={categoryName:a.SearchResultLabels.PRODUCTS,items:T},P};l.getInternalPageData=_;const p=(O,P)=>{let C=P,A=!1;const S={};for(const T of Object.keys(O))if(O[T].items.length>=C){S[T]={categoryName:O[T].categoryName,items:O[T].items.slice(0,C)},A=!0;break}else S[T]={categoryName:O[T].categoryName,items:O[T].items},C-=O[T].items.length;return{limitedNavResults:S,hasMoreContent:A}};l.limitNavResults=p;const y=(O,P)=>{const C={};return O?(Object.keys(P).forEach(A=>{const S=P[A].items.filter(T=>T.name.toLowerCase().includes(O.trim().toLowerCase())||T.url.toLowerCase().includes(O.trim().toLowerCase()));C[A]={...P[A],items:S}}),C):P};l.filterNavigationItems=y},483359:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.projectPageTypes=l.productPageNames=l.portfolioPageNames=l.lessonPageNames=l.getPageIcon=l.getCollectionPageType=l.galleryPageType=l.eventPageNames=l.coursePageNames=l.blogPageNames=l.albumPageTypes=l.SEVEN_ONE_PAGE_TYPES=void 0,e(392338);var r=e(347533);const o=l.productPageNames=["products","store"],n=l.blogPageNames=["blog","blog-masonry","blog-grid-masonry","blog-single-column","blog-side-by-side","blog-basic-grid","blog-alternating-side-by-side"],a=l.coursePageNames=["course"],i=l.eventPageNames=["events","events-stacked"],c=l.lessonPageNames=["lessons"],u=l.portfolioPageNames=["portfolio","portfolio-slides-split","portfolio-hover-follow","portfolio-slides-cover","portfolio-hover-static","portfolio-grid-basic","portfolio-index-background","portfolio-grid-overlay","portfolio-slides-inset"],f=l.projectPageTypes=["project","project-grid"],d=l.albumPageTypes=["album"],h=l.galleryPageType=["gallery"];let g=l.SEVEN_ONE_PAGE_TYPES=function(O){return O.FOLDERS="folders",O.INDEX="index",O.PAGE="page",O.SCHEDULING="scheduling",O.SPLASH_PAGE="splash-page",O.LINK="link",O.MEMBER_SITE="member-site",O.TWEAK="tweak",O.CHOW_NOW="chownow",O.SUBSCRIPTION="subscription",O.GALLERY_BLOCK="gallery-block",O.TEMPLATE_PAGE="template-page",O}({});const _={album:r.Album,index:r.Index,page:r.Page,blog:r.Blog,product:r.Store,event:r.Events,portfolio:r.Portfolio,video:r.Videos,gallery:r.Gallery,course:r.BookSpark,coverPage:r.CoverPage},p=O=>o.includes(O.typeName)?"product":n.includes(O.typeName)?"blog":a.includes(O.typeName)?"course":i.includes(O.typeName)?"event":c.includes(O.typeName)?"video":u.concat(f).includes(O.typeName)?"portfolio":d.includes(O.typeName)?"album":h.includes(O.typeName)?"gallery":null;l.getCollectionPageType=p;const y=O=>{const P=p(O);return P?_[P]??r.Page:r.Page};l.getPageIcon=y},264203:function(b,l,e){var r={"./sqs.link-editor.en-US.yaml":"300378"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=264203},116822:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(456903);const o="/api/finance/v1",a={createPaymentAccount:async i=>{const{data:c}=await r.default.post(`${o}/accounts`,JSON.stringify(i),{headers:{"content-type":"application/json"}});return c},fetchPaymentAccount:async i=>{const{data:c}=await r.default.get(`${o}/accounts/${i}`);return c},fetchPaymentAccountNotifications:async i=>{const{data:c}=await r.default.get(`${o}/accounts/${i}/notifications`),{notifications:u}=c;return u},updatePaymentAccountNotifications:async(i,c,u)=>{const{data:f}=await r.default.post(`${o}/accounts/${i}/notifications/${c}`,JSON.stringify(u),{headers:{"content-type":"application/json"}});return f},createIdentityVerificationSession:async i=>{const{data:c}=await r.default.post(`${o}/accounts/${i}/identity-verification-session`),{linkToken:u,expiration:f}=c;return{linkToken:u,expiration:f}},updateAccountIdentityVerification:async(i,c)=>{await r.default.post(`${o}/accounts/${i}/identity-verifications`,JSON.stringify(c),{headers:{"content-type":"application/json"}})},fetchAccountBalanceSummary:async(i,c)=>{const{data:u}=await r.default.get(`${o}/accounts/${i}/subAccounts/${c}/account-balance-summary`);return u},fetchAccountSettings:async i=>{const{data:c}=await r.default.get(`${o}/accounts/${i}/account-settings`);return c},fetchWebsiteRateSheet:async(i,c)=>{const{data:u}=await r.default.post(`${o}/websites/${i}/rate-sheet-lookup`,JSON.stringify({country:c}),{headers:{"content-type":"application/json"}});return u},fetchAccountRates:async(i,c)=>{const{data:u}=await r.default.get(`${o}/accounts/${i}/pricing-rates`,{params:{country:c}});return u},fetchPricingRates:async(i,c)=>{const{data:u}=await r.default.get(`${o}/websites/${i}/pricing-rates`,{params:{country:c}});return u},fetchAutoOnboardingEligibility:async()=>{const{data:i}=await r.default.get(`${o}/accounts/auto-onboarding-eligibility`);return i},initiateAutoOnboarding:async i=>{const{data:c}=await r.default.post(`${o}/accounts/${i}/auto-onboard`);return c},initiateEmbeddedOnboardingSession:async i=>{const{data:c}=await r.default.post(`${o}/accounts/${i}/initiate-onboarding-session`);return c},disconnectPaymentAccount:async i=>{await r.default.post(`${o}/accounts/${i}/disconnect`)}}},541895:function(b,l,e){"use strict";e.d(l,{T:()=>a,n:()=>n});var r=e(374344),o=e(87858);let n=function(i){return i.US="US",i.CA="CA",i.GB="GB",i.IE="IE",i.FR="FR",i.DE="DE",i.ES="ES",i.IT="IT",i.NL="NL",i.PT="PT",i.BE="BE",i.FI="FI",i.AT="AT",i.LU="LU",i.AU="AU",i.NZ="NZ",i}({});const a={[n.US]:{isPaymentsEnabled:!0,isEligibleForAch:!0,isEU:!1,isStripeBankConnectionRequired:!1,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.CA]:{isPaymentsEnabled:!0,isEU:!1,isStripeBankConnectionRequired:!1,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.GB]:{isPaymentsEnabled:!0,isEU:!1,isStripeBankConnectionRequired:!1,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.IE]:{isPaymentsEnabled:!0,isEU:!0,isStripeBankConnectionRequired:!1,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.FR]:{isPaymentsEnabled:!0,isEU:!0,isStripeBankConnectionRequired:!1,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.DE]:{isPaymentsEnabled:!0,isEU:!0,isStripeBankConnectionRequired:!1,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.ES]:{isPaymentsEnabled:!0,isEU:!0,isStripeBankConnectionRequired:!1,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.IT]:{isPaymentsEnabled:(0,r.c)(o.D.SQSPP.ITALY),isEU:!0,isStripeBankConnectionRequired:!1,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.NL]:{isPaymentsEnabled:!0,isEU:!0,isStripeBankConnectionRequired:!1,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.PT]:{isPaymentsEnabled:(0,r.c)(o.D.SQSPP.PORTUGAL),isEU:!0,isStripeBankConnectionRequired:!1,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.BE]:{isPaymentsEnabled:!0,isEU:!0,isStripeBankConnectionRequired:!1,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.FI]:{isPaymentsEnabled:!0,isEU:!0,isStripeBankConnectionRequired:!1,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.AT]:{isPaymentsEnabled:!0,isEU:!0,isStripeBankConnectionRequired:!1,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.LU]:{isPaymentsEnabled:(0,r.c)(o.D.SQSPP.LUXEMBOURG),isEU:!0,isStripeBankConnectionRequired:!1,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.AU]:{isPaymentsEnabled:(0,r.c)(o.D.SQSPP.AUSTRALIA),isEU:!1,isStripeBankConnectionRequired:!0,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)},[n.NZ]:{isPaymentsEnabled:(0,r.c)(o.D.SQSPP.NEW_ZEALAND),isEU:!1,isStripeBankConnectionRequired:!0,isEligibleForIdeal:(0,r.c)(o.D.IDEAL_APM)}}},13112:function(b,l,e){"use strict";e.d(l,{l:()=>n,u:()=>o});var r=e(541895);const o={[r.n.US]:{flatFee:{currency:"USD",value:"0.30"},percentFee:.025,minFee:null,maxFee:null},[r.n.CA]:{flatFee:{currency:"CAD",value:"0.30"},percentFee:.025,minFee:void 0,maxFee:void 0},[r.n.GB]:{flatFee:{currency:"GBP",value:"0.25"},percentFee:.015,minFee:void 0,maxFee:void 0},[r.n.IE]:{flatFee:{currency:"EUR",value:"0.25"},percentFee:.015,minFee:void 0,maxFee:void 0},[r.n.FR]:{flatFee:{currency:"EUR",value:"0.25"},percentFee:.015,minFee:void 0,maxFee:void 0},[r.n.DE]:{flatFee:{currency:"EUR",value:"0.25"},percentFee:.015,minFee:void 0,maxFee:void 0},[r.n.ES]:{flatFee:{currency:"EUR",value:"0.25"},percentFee:.015,minFee:void 0,maxFee:void 0},[r.n.IT]:{flatFee:{currency:"EUR",value:"0.25"},percentFee:.015,minFee:void 0,maxFee:void 0},[r.n.NL]:{flatFee:{currency:"EUR",value:"0.25"},percentFee:.015,minFee:void 0,maxFee:void 0},[r.n.PT]:{flatFee:{currency:"EUR",value:"0.25"},percentFee:.015,minFee:void 0,maxFee:void 0},[r.n.BE]:{flatFee:{currency:"EUR",value:"0.25"},percentFee:.015,minFee:void 0,maxFee:void 0},[r.n.FI]:{flatFee:{currency:"EUR",value:"0.25"},percentFee:.015,minFee:void 0,maxFee:void 0},[r.n.AT]:{flatFee:{currency:"EUR",value:"0.25"},percentFee:.015,minFee:void 0,maxFee:void 0},[r.n.LU]:{flatFee:{currency:"EUR",value:"0.25"},percentFee:.015,minFee:void 0,maxFee:void 0},[r.n.AU]:{flatFee:{currency:"AUD",value:"0.30"},percentFee:.0135,minFee:void 0,maxFee:void 0},[r.n.NZ]:{flatFee:{currency:"NZD",value:"0.30"},percentFee:.023,minFee:void 0,maxFee:void 0}},n={flatFee:{currency:"USD",value:"0.00"},percentFee:.01,minFee:null,maxFee:null}},870740:function(b,l,e){"use strict";e.d(l,{Z:()=>c,n:()=>i});var r=e(553070),o=e(36890);const n="payments";function a(u){return e(957916)(`./${n}.${u}.yaml`)}const i=()=>(0,r.Z)(a);function c(){return(0,o.Z)(a)}},659765:function(b,l,e){"use strict";e.d(l,{bk:()=>n,eE:()=>r,gk:()=>a,oi:()=>o});let r=function(i){return i.IDLE="idle",i.FETCHING="fetching",i.SUCCEEDED="succeeded",i.FAILED="failed",i}({}),o=function(i){return i.AccountBalanceSummary="account-balance-summary",i.AccountRates="account-rates",i.AutoOnboardingEligibility="auto-onboarding-eligibility",i.BankOnboardingSession="bank-onboarding-session",i.CapitalFinancingOffers="capital-financing-offers",i.ConnectedBankAccounts="connected-bank-accounts",i.DefaultRateSheet="default-rate-sheet",i.InstantPayoutDetails="instant-payout-details",i.MigrationDetails="migration-details",i.PaymentAccount="payment-account",i.PaymentAccountNotifications="payment-account-notifications",i.PaymentAccountSettings="payment-account-settings",i.PaymentSettings="payment-settings",i.PricingRates="pricing-rates",i.ReservesSummary="reserves-summary",i.ReservesTransactionsList="reserves-transactions-list",i.WebsiteRateSheet="website-rate-sheet",i}({}),n=function(i){return i.FINANCE_DASHBOARD_ROOT="FINANCE_DASHBOARD_ROOT",i.FINANCE_DASHBOARD_PAYMENTS="FINANCE_DASHBOARD_PAYMENTS",i.FINANCE_DASHBOARD_PAYMENT_DETAILS="FINANCE_DASHBOARD_PAYMENT_DETAILS",i.FINANCE_DASHBOARD_PAYOUTS="FINANCE_DASHBOARD_PAYOUTS",i.FINANCE_DASHBOARD_PAYOUT_DETAILS="FINANCE_DASHBOARD_PAYOUT_DETAILS",i.SETTINGS_STORE_PAYMENTS="SETTINGS_STORE_PAYMENTS",i.SETTINGS_ACCOUNT_SETTINGS="SETTINGS_ACCOUNT_SETTINGS",i.COMMERCE_DASHBOARD_ROOT="COMMERCE_DASHBOARD_ROOT",i}({}),a=function(i){return i.IS_ONBOARDING="isOnboarding",i.SOURCE="source",i.IS_MODAL_OPEN="isOnboardingModalOpen",i}({})},825059:function(b,l,e){"use strict";e.d(l,{r:()=>r});let r=function(o){return o.BANK_CONNECTED="BANK_CONNECTED",o.CONNECT_BANK="CONNECT_BANK",o.CURRENTLY_DUE_REQUIREMENTS="CURRENTLY_DUE_REQUIREMENTS",o.EMAIL_UNVERIFIED="EMAIL_UNVERIFIED",o.READY_TO_SELL="READY_TO_SELL",o.PAST_DUE_PAYOUT_PAUSED="PAST_DUE_PAYOUT_PAUSED",o.PAUSED="PAUSED",o.SUSPENDED="SUSPENDED",o.PAYOUT_SCHEDULE_REACTIVATED="PAYOUT_SCHEDULE_REACTIVATED",o.DEPRECATED="DEPRECATED",o.UNDER_REVIEW="UNDER_REVIEW",o.UNDER_REVIEW_DISABLED="UNDER_REVIEW_DISABLED",o.UNDER_REVIEW_ENABLED="UNDER_REVIEW_ENABLED",o.UPDATE_BANK_ACCOUNT="UPDATE_BANK_ACCOUNT",o.REJECTED="REJECTED",o.ONBOARDING_IN_PROGRESS="ONBOARDING_IN_PROGRESS",o.ONBOARDING_VERIFICATION_FAILED="ONBOARDING_VERIFICATION_FAILED",o.AUTO_ONBOARDING_ACTIVATING_ACCOUNT="AUTO_ONBOARDING_ACTIVATING_ACCOUNT",o.CONNECT_BANK_EXEMPT_FROM_INITIAL_HOLD="CONNECT_BANK_EXEMPT_FROM_INITIAL_HOLD",o.BANK_CONNECTED_EXEMPT_FROM_INITIAL_HOLD="BANK_CONNECTED_EXEMPT_FROM_INITIAL_HOLD",o.PAST_DUE_IDENTITY_VERIFICATION="PAST_DUE_IDENTITY_VERIFICATION",o.CONNECT_BANK_SAVINGS_ACCOUNT_ERROR="CONNECT_BANK_SAVINGS_ACCOUNT_ERROR",o.CONNECT_BANK_SAVINGS_ACCOUNT_ERROR_EXISTING_BANK_CONNECTION="CONNECT_BANK_SAVINGS_ACCOUNT_ERROR_EXISTING_BANK_CONNECTION",o.CONNECT_BANK_CURRENCY_ERROR="CONNECT_BANK_CURRENCY_ERROR",o.CONNECT_BANK_CURRENCY_ERROR_EXISTING_BANK_CONNECTION="CONNECT_BANK_CURRENCY_ERROR_EXISTING_BANK_CONNECTION",o.DUNNING_BEGIN_OR_CONTINUE_UPDATE="DUNNING_BEGIN_OR_CONTINUE_UPDATE",o.DUNNING_BEGIN_RETRY="DUNNING_BEGIN_RETRY",o.DUNNING_CONTINUE_RETRY="DUNNING_CONTINUE_RETRY",o.DUNNING_RESOLUTION_PENDING="DUNNING_RESOLUTION_PENDING",o.DUNNING_RESOLVED_SUCCESSFUL_DEBIT="DUNNING_RESOLVED_SUCCESSFUL_DEBIT",o.DUNNING_RESOLVED_INCOMING_FUNDS="DUNNING_RESOLVED_INCOMING_FUNDS",o.DUNNING_SUSPENSION="DUNNING_SUSPENSION",o.BANK_ACCOUNT_ONBOARDING_PENDING_AUTO_MICRODEPOSIT="BANK_ACCOUNT_ONBOARDING_PENDING_AUTO_MICRODEPOSIT",o.BANK_ACCOUNT_ONBOARDING_PENDING_AUTO_MICRODEPOSIT_EXISTING_BANK_CONNECTION="BANK_ACCOUNT_ONBOARDING_PENDING_AUTO_MICRODEPOSIT_EXISTING_BANK_CONNECTION",o.BANK_ACCOUNT_ONBOARDING_PENDING_MANUAL_MICRODEPOSIT="BANK_ACCOUNT_ONBOARDING_PENDING_MANUAL_MICRODEPOSIT",o.BANK_ACCOUNT_ONBOARDING_IN_REVIEW="BANK_ACCOUNT_ONBOARDING_IN_REVIEW",o.BANK_ACCOUNT_ONBOARDING_FAILED="BANK_ACCOUNT_ONBOARDING_FAILED",o.BANK_ACCOUNT_ONBOARDING_FAILED_EXISTING_BANK_CONNECTION="BANK_ACCOUNT_ONBOARDING_FAILED_EXISTING_BANK_CONNECTION",o.BANK_ACCOUNT_ONBOARDING_PENDING_DEBIT_AUTHORIZATION="BANK_ACCOUNT_ONBOARDING_PENDING_DEBIT_AUTHORIZATION",o.DISPUTE_OPENED="DISPUTE_OPENED",o.DISPUTE_ESCALATED="DISPUTE_ESCALATED",o.BANK_STATEMENTS_REQUESTED="BANK_STATEMENTS_REQUESTED",o.DISCOUNTED_RATES_ACTIVATED="DISCOUNTED_RATES_ACTIVATED",o.RESERVES_CREATED="RESERVES_CREATED",o.RESERVES_UPDATED="RESERVES_UPDATED",o.RESERVES_ADDITIONAL_HOLD="RESERVES_ADDITIONAL_HOLD",o.RESERVES_REMOVED="RESERVES_REMOVED",o.ACCOUNT_OWNERSHIP_TRANSFERRED="ACCOUNT_OWNERSHIP_TRANSFERRED",o}({})},416387:function(b,l,e){"use strict";e.d(l,{Hq:()=>u,M3:()=>d,Rt:()=>n,UX:()=>i,jf:()=>c,ks:()=>h,tY:()=>f,z3:()=>a});var r=e(541895),o=e(574782);const n=g=>{let{countryCode:_,key:p}=g;return!_||!Object.hasOwn(r.T,_)?!1:!!r.T[_][p]},a=g=>g?n({countryCode:g,key:"isEU"}):!1,i=g=>g?n({countryCode:g,key:"isEligibleForAch"}):!1,c=g=>g?n({countryCode:g,key:"isEligibleForIdeal"}):!1,u=()=>new Set(Object.keys(r.T).filter(g=>n({countryCode:g,key:"isPaymentsEnabled"})).map(g=>g)),f=g=>{let{priorityCountryCode:_,fallbackCountryCode:p}=g;const y=_??p;return y?n({countryCode:y,key:"isPaymentsEnabled"}):!1},d=()=>{const g=(0,o.m_)();return g&&f({priorityCountryCode:g})?g:null},h=g=>g?n({countryCode:g,key:"isStripeBankConnectionRequired"}):!1},574782:function(b,l,e){"use strict";e.d(l,{Ae:()=>x,CE:()=>W,Ex:()=>S,Kt:()=>M,L9:()=>A,Lf:()=>G,QY:()=>v,Qs:()=>C,WP:()=>F,Ws:()=>s,YW:()=>k,_S:()=>y,aj:()=>I,ci:()=>P,dg:()=>m,gt:()=>O,ht:()=>L,m_:()=>T,oA:()=>E,z7:()=>p});var r=e(392338),o=e.n(r),n=e(461761),a=e.n(n),i=e(116822),c=e(582388),u=e.n(c),f=e(825059),d=e(659765),h=e(870740),g=e(541895),_=e(13112);const p=B=>B.split(".")[0],y=(B,R)=>!B.length||!R||!R.length?[]:B.filter(U=>R.includes(U.type)),O=async(B,R)=>await i.Z.updatePaymentAccountNotifications(B,R,{dismissed:!0}),P=()=>{const{t:B}=(0,h.Z)();return{[f.r.REJECTED]:{subject:B("Squarespace Payments - Appeal Request",null,{project:"payments"}),body:B("I would like to request an appeal to use Squarespace Payments on my site, {websiteURL}",{websiteURL:window.location.origin},{project:"payments"})},[f.r.SUSPENDED]:{subject:B("Squarespace Payments - Suspended Account",null,{project:"payments"}),body:B("Squarespace Payments is suspended on my site, {websiteURL}",{websiteURL:window.location.origin},{project:"payments"})}}},C=(B,R)=>{const U="squarespace-payments-risk@squarespace.com",{subject:j,body:$}=R[B];return`mailto:${U}?subject=${j}&body=${$}`},A=()=>{const{pathname:B}=window.top?window.top.location:window.location,R={[d.bk.FINANCE_DASHBOARD_ROOT]:/^\/config\/finance$/,[d.bk.FINANCE_DASHBOARD_PAYMENTS]:/^\/config\/finance\/payments$/,[d.bk.FINANCE_DASHBOARD_PAYMENT_DETAILS]:/^\/config\/finance\/payments\/[0-9a-zA-Z-]+$/,[d.bk.FINANCE_DASHBOARD_PAYOUTS]:/^\/config\/finance\/payouts$/,[d.bk.FINANCE_DASHBOARD_PAYOUT_DETAILS]:/^\/config\/finance\/payouts\/[0-9a-zA-Z-]+$/,[d.bk.SETTINGS_STORE_PAYMENTS]:/^\/config\/settings\/selling\/payments$/,[d.bk.SETTINGS_ACCOUNT_SETTINGS]:/^\/config\/settings\/selling\/payments\/squarespace$/,[d.bk.COMMERCE_DASHBOARD_ROOT]:/^\/config\/commerce$/};for(const U in R)if(R.hasOwnProperty(U)&&R[U].test(B))return U;return null},S=()=>{const B=A();return[d.bk.FINANCE_DASHBOARD_PAYMENTS,d.bk.FINANCE_DASHBOARD_PAYMENT_DETAILS,d.bk.FINANCE_DASHBOARD_PAYOUTS,d.bk.FINANCE_DASHBOARD_PAYOUT_DETAILS].some(R=>R===B)},T=()=>a()(window,"Static.SQUARESPACE_CONTEXT.websiteSettings.country",null),s=()=>a()(window,"Static.SQUARESPACE_CONTEXT.website.id",null),v=()=>a()(window,"Static.SQUARESPACE_CONTEXT.websiteSettings.newPlanArchitectureEligible",null)===!0,m=()=>a()(window,"Static.SQUARESPACE_CONTEXT.website.siteStatus.value",null),E=()=>m()===u().TRIAL,I=()=>a()(window,"Static.SQUARESPACE_CONTEXT.authenticatedAccount.preferredLocale",void 0),L=()=>(I()??"").slice(0,2),W=()=>a()(window,"Static.SQUARESPACE_CONTEXT.authenticatedAccount.id",null),F=()=>a()(window,"Static.SQUARESPACE_CONTEXT.authenticatedAccount.displayName",null),G=()=>{const B=a()(window,"Static.SQUARESPACE_CONTEXT.authenticatedAccount.firstName",""),R=a()(window,"Static.SQUARESPACE_CONTEXT.authenticatedAccount.lastName","");if(B||R)return`${B.charAt(0)}${R.charAt(0)}`.toUpperCase();const U=F();return U?U.split(" ").map(j=>j.charAt(0)).join("").toUpperCase():null},k=()=>a()(window,"Static.SQUARESPACE_CONTEXT.authenticatedAccount.avatarUrl",null),x=B=>{const R=T()??g.n.US,U=B||R;return Object.hasOwn(_.u,U)?_.u[U]:_.u[g.n.US]},M=()=>a()(window,"Static.SQUARESPACE_CONTEXT.isOrgOwned",null)===!0},87858:function(b,l,e){"use strict";e.d(l,{D:()=>o});const o={SQSPP:{ITALY:"sqspp-italy",PORTUGAL:"sqspp-portugal",LUXEMBOURG:"sqspp-luxembourg",AUSTRALIA:"sqspp-australia",NEW_ZEALAND:"sqspp-new-zealand"},SQUARESPACE_CAPITAL:"squarespace-capital",DISABLE_COUNTRY_MISMATCH_CHECK:"disable-country-mismatch-check",SQSP_CAPITAL_PROMOTIONAL_BANNER_ON_CONTENT_AND_MEMBERSHIPS:"capital-promotional-banner-on-content-and-memberships",SQSP_CAPITAL_PROMOTIONAL_BANNER_ON_INVOICING:"capital-promotional-banner-on-invoicing",SQSP_CAPITAL_PROMOTIONAL_BANNER_ON_PRODUCTS_AND_SERVICES:"capital-promotional-banner-on-products-and-services",PENDING_PAYOUT_STATE:"pending-payout-state",SQSP_PAYMENTS_PLAID_BANNER_MODAL:"sqsp-payments-plaid-banner-modal",PAO_TRANSFERS:"sqspp-auto-pao-transfer-enabled",STRIPE_BANK_CONNECTION:"stripe-bank-connection",IDEAL_APM:"sqspp-ideal-apm"}},374344:function(b,l,e){"use strict";e.d(l,{c:()=>h});var r=e(208848);function o(){var g,_,p;const y=(g=window)===null||g===void 0||(g=g.Static)===null||g===void 0?void 0:g.SQUARESPACE_CONTEXT,O=y==null?void 0:y.authenticatedAccount,P=y==null?void 0:y.website;return{email:O==null?void 0:O.email,customIDs:{member_account_id:O==null?void 0:O.id,website_id:P==null?void 0:P.id},custom:{member_account_id:O==null?void 0:O.id,member_account_language:O==null?void 0:O.preferredLocale,member_account_creation_date:O==null?void 0:O.createdOn,website_id:P==null?void 0:P.id,website_creation_date:P==null?void 0:P.createdOn,website_language:P==null?void 0:P.language,website_type:P==null?void 0:P.websiteType,template_version:y==null?void 0:y.templateVersion,website_country_code:y==null||(_=y.websiteSettings)===null||_===void 0?void 0:_.country,website_status_value:y==null||(p=y.website)===null||p===void 0?void 0:p.siteStatus.value}}}var n=e(981491);let a=function(g){return g.DEVELOPMENT="development",g.STAGING="staging",g.QA="qa",g.PRODUCTION="production",g}({});const c=(()=>{let g=a.PRODUCTION;const{isDev:_,isQA:p,isStage:y,isInternal:O}=n;return _()?g=a.DEVELOPMENT:p()?g=a.QA:(y()||O())&&(g=a.STAGING),g})(),u="client-eGEbfbSEn0tI30zMFFswDnlzhL96P6Gvt0E4X6v6BL7",f=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const _=o(),p=new r.StatsigClient(u,_,{environment:{tier:c},...g});return p.initializeSync(),p},d=()=>{const g=r.StatsigClient.instance(u);return g.loadingStatus==="Uninitialized"?f():g},h=g=>d().checkGate(g)},957916:function(b,l,e){var r={"./payments.en-US.yaml":"765745"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=957916},698779:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.setI18nInstance=l.getI18nInstance=void 0;var r=e(638204);const o="rich-text-editor";function n(c){return e(647056)(`./${o}.${c}.yaml`)}const{getI18nInstance:a,setI18nInstance:i}=(0,r.setupLibrary)(o,n);l.setI18nInstance=i,l.getI18nInstance=a},647056:function(b,l,e){var r={"./rich-text-editor.en-US.yaml":"751621"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=647056},396303:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n.HEADER_SECTION="HEADER_SECTION",n.PAGE_SECTIONS="PAGE_SECTIONS",n.COLLECTION_ITEM_SECTIONS="COLLECTION_ITEM_SECTIONS",n.FOOTER_SECTIONS="FOOTER_SECTIONS",n}(r||{});const o=r},886346:function(b,l,e){"use strict";e.d(l,{Ii:()=>r,Y7:()=>n,oV:()=>o});const r="crumb",o="crumb",n="ss_cvr"},896093:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(642979),o=e.n(r),n=e(210750),a=e.n(n);class i{constructor(f){o()(this,"update",a()(()=>{this.container.classList.remove("loaded");const d=this.container.getBoundingClientRect().width,{fontSize:h}=window.getComputedStyle(this.textNode),g=parseFloat(h),_=this.textNode.getBoundingClientRect().width,p=d/_,y=`${Math.max(1,Math.round(p*g*10)/10)}px`;this.textNode.style.fontSize=y,this.container.classList.add("loaded")},40,{leading:!0,trailing:!0})),o()(this,"destroy",()=>{this.observer.disconnect(),i.cache.delete(this.container)}),i.cache.set(f,this),this.container=f,this.textNode=this.container.querySelector(".sqsrte-scaled-text"),this.observer=new ResizeObserver(this.update),this.observer.observe(this.container),this.observer.observe(this.textNode)}refresh(){this.observer.unobserve(this.textNode),this.textNode=this.container.querySelector(".sqsrte-scaled-text"),this.observer.observe(this.textNode)}}o()(i,"cache",new WeakMap);function c(u){if(!u)return;if(i.cache.has(u)){const d=i.cache.get(u);return d.refresh(),d}return new i(u)}},750438:function(b,l,e){"use strict";e.d(l,{Z:()=>Le});var r=e(642979),o=e.n(r),n=e(392338),a=e(708380),i=e(749189),c=e(210750),u=e.n(c),f=e(976003),d=e.n(f);function h(Ue){return Ue&&Ue.constructor&&Ue.constructor.name==="Object"}function g(Ue,Xe){return!Ue&&!Xe||Array.isArray(Ue)&&Array.isArray(Xe)||h(Ue)&&h(Xe)||typeof Ue=="string"&&typeof Xe=="string"||!isNaN(Ue)&&!isNaN(Xe)}function _(Ue){let{newPointer:Xe,oldPointer:Fe}=Ue;const ht=new Set;return Xe.forEach(Ne=>{Fe.includes(Ne)||ht.add(Ne)}),Array.isArray(Fe)&&Fe.forEach(Ne=>{Xe.includes(Ne)||ht.add(Ne)}),Array.from(ht)}function p(Ue,Xe){let Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";if(typeof Ue!="object"||typeof Xe!="object")throw new Error(`${p.name} parameters must be Arrays or Objects, received: ${Ue} and ${Xe}`);if(!d()(Ue,Xe)){if(Array.isArray(Ue)&&Array.isArray(Xe))return _({newPointer:Ue,oldPointer:Xe});const Ne=Object.keys(Ue).map(we=>{const $e=Ue[we],Ot=Xe[we];if(!g($e,Ot))return`${Fe}${we}`;if(h($e)&&h(Ot))return p($e,Ot,`${Fe}${we}.`);if(Array.isArray($e)){if(d()($e,Ot))return null;const Pt=_({newPointer:$e,oldPointer:Ot});return`${Fe}${we}[${Pt}]`}return d()($e,Ot)?null:`${Fe}${we}`}).filter(we=>!!we);return _({newPointer:Object.keys(Ue),oldPointer:Object.keys(Xe)}).forEach(we=>{Ne.includes(`${Fe}${we}`)||Ne.push(`${Fe}${we}`)}),Ne.flat()}return[]}const y=p,O=Ue=>`<svg>${Ue}</svg>`,P=function(){return`<path d="${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"M0,0"}" vector-effect="non-scaling-stroke" />`},C=(Ue,Xe)=>{const Fe=Xe[0]-Ue[0],ht=Xe[1]-Ue[1];return{length:Math.sqrt(Math.pow(Fe,2)+Math.pow(ht,2)),angle:Math.atan2(ht,Fe)}},A=(Ue,Xe)=>(Fe,ht,Ne,Ce)=>{const Ot=Ue(ht||Fe,Ne||Fe),Pt=Ot.angle+(Ce?Math.PI:0),Ie=Ot.length*.5*Xe,Bt=Fe[0]+Math.cos(Pt)*Ie,mt=Fe[1]+Math.sin(Pt)*Ie;return[Bt,mt]},S=function(Ue){let Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(Fe,ht,Ne)=>{const[Ce,we]=Ne[ht-1],$e=Ue(Ne[ht-1],Ne[ht-2],Fe),Ot=Ue(Fe,Ne[ht-1],Ne[ht+1],!0),Pt=Xe&&ht===Ne.length-1?" z":"";return`c ${$e[0]-Ce},${$e[1]-we} ${Ot[0]-Ce},${Ot[1]-we} ${Fe[0]-Ce},${Fe[1]-we}${Pt}`}},T=function(Ue,Xe){let Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Ue.reduce((ht,Ne,Ce,we)=>Ce===0?Fe?"":`M ${Ne[0]},${Ne[1]}`:`${ht} ${Xe(Ne,Ce,we)}`,"")};class s{constructor(Xe,Fe){o()(this,"node",document.createElement("svg")),o()(this,"paths",[]),o()(this,"pathsLen",[]),o()(this,"lastWidth",-1),o()(this,"lastHeight",-1),o()(this,"setRefs",()=>{this.svg=this.container.querySelector("svg"),this.paths=Array.from(this.container.querySelectorAll("path"))});const{uniforms:ht}=Fe;this.uniforms={progress:{value:-1},...ht},this.container=Xe}calculatePathLengths(){this.pathsLen=this.paths.map(Xe=>Xe.getTotalLength())}onSetSize(Xe,Fe){}onUpdate(){}onDestroy(){}setSize(Xe,Fe){Xe===this.lastWidth&&Fe===this.lastHeight||(this.onSetSize(Xe,Fe),this.calculatePathLengths(),this.lastWidth=Xe,this.lastHeight=Fe,this.update())}update(){const{progressDraw:Xe}=this.uniforms;this.paths.forEach((Fe,ht)=>{const Ne=Math.ceil(this.pathsLen[ht]);Ne&&(Fe.setAttribute("stroke-dasharray",Ne),Fe.setAttribute("stroke-dashoffset",Ne*2+Xe.value*-Ne))}),this.onUpdate()}destroy(){this.onDestroy(),this.node.remove()}}class v extends s{constructor(Xe,Fe){super(Xe,Fe),Xe.innerHTML=O(P()),this.setRefs()}onSetSize(Xe,Fe){const ht=Math.min(Xe*.2,10),Ne=Math.min(Fe*.25,5),Ce=Xe+ht*2,we=Fe+Ne*2,$e=[`M${-ht+Ce*.35},${-Ne+we*.95}`,`C ${-ht+Ce*.554},${-Ne+we*.994} ${-ht+Ce},${-Ne+we*.94} ${-ht+Ce},${-Ne+we*.52}`,`C ${-ht+Ce},${-Ne+we*.165} ${-ht+Ce*.706},0 ${-ht+Ce*.496},0`,`S ${-ht+Ce*.01},${-Ne+we*.165} ${-ht+Ce*.01},${-Ne+we*.508}`,`S ${-ht+Ce*.241},${-Ne+we*1.039} ${-ht+Ce*.74},${-Ne+we*.994}`];this.paths[0].setAttribute("d",$e.join(" "))}}class m extends s{constructor(Xe,Fe){super(Xe,Fe),this.bezierCalc=S(A(C,.5)),Xe.innerHTML=O(P()+P()),this.setRefs()}onSetSize(Xe,Fe){this.paths.forEach((ht,Ne)=>{const Ce=m.paths[Ne].map(we=>[we[0]*Xe,we[1]*Fe]);ht.setAttribute("d",T(Ce,this.bezierCalc))})}}m.paths=[[[0,1],[.5,.55],[1,.25]],[[0,.23],[.6,.6],[1,.9]]];class E extends s{constructor(Xe,Fe){super(Xe,Fe),this.bezierCalc=S(A(C,.7)),Xe.innerHTML=O(P()+P()),this.setRefs()}onSetSize(Xe,Fe){this.paths.forEach((ht,Ne)=>{const Ce=E.paths[Ne].map(we=>[we[0]*Xe,we[1]*Fe]);ht.setAttribute("d",T(Ce,this.bezierCalc))})}}E.paths=[[[0,.22],[.25,.21],[.5,.2],[.75,.21],[1,.24]],[[0,.92],[.25,.9],[.5,.88],[.75,.9],[1,.92]]];class I extends s{constructor(Xe,Fe){super(Xe,Fe),this.bezierCalc=S(A(C,.5)),Xe.innerHTML=O(P()),this.setRefs()}onSetSize(Xe,Fe){const ht=this.uniforms.fontSize.value,Ne=ht*.25,Ce=ht*.12,we=Math.floor(Xe/(Ne*.7)),$e=Fe*.97,Ot=[[0,$e],[Ne,$e-Ce],[Ne*.7,$e]],Pt=T(Ot,this.bezierCalc,!0);this.paths[0].setAttribute("d",`M0,${$e} ${Pt.repeat(we)}`)}}class L extends s{constructor(Xe,Fe){super(Xe,Fe),this.bezierCalc=S(A(C,.3)),Xe.innerHTML=O(P()),this.setRefs()}onSetSize(Xe,Fe){const ht=L.path.map(Ne=>[Ne[0]*Xe,Ne[1]*Fe]);this.paths[0].setAttribute("d",T(ht,this.bezierCalc))}}L.path=[[0,.88],[.5,.85],[1,.9],[.6,.85],[.1,.95],[.5,.93],[.8,.95],[.5,1],[.3,1]];class W extends s{constructor(Xe,Fe){super(Xe,Fe),this.bezierCalc=S(A(C,.5)),Xe.innerHTML=O(P()),this.setRefs()}onSetSize(Xe,Fe){const ht=W.paths[0].map(Ne=>[Ne[0]*Xe,Ne[1]*Fe]);this.paths[0].setAttribute("d",T(ht,this.bezierCalc))}}W.paths=[[[0,.55],[.5,.55],[1,.55]]];class F extends s{constructor(Xe,Fe){super(Xe,Fe),this.bezierCalc=S(A(C,.5)),Xe.innerHTML=O(P()),this.setRefs()}onSetSize(Xe,Fe){const ht=F.paths[0].map(Ne=>[Ne[0]*Xe,Ne[1]*Fe]);this.paths[0].setAttribute("d",T(ht,this.bezierCalc))}}F.paths=[[[0,.33],[.6,.6],[1,.88]]];class G extends s{constructor(Xe,Fe){super(Xe,Fe),Xe.innerHTML=O(P()),this.setRefs()}onSetSize(Xe,Fe){this.paths[0].setAttribute("d",`M0,${Fe*.9} L${Xe},${Fe*.9}`)}}class k extends s{constructor(Xe,Fe){super(Xe,Fe),Xe.innerHTML=O(P()),this.setRefs()}onSetSize(Xe,Fe){const ht=[[0,Fe*.99],[Xe*.5,Fe*.88],[Xe,Fe*.89],[Xe*.98,Fe*.92]],Ne=[.5,.5,.5,.1],Ce=(we,$e,Ot)=>{const Pt=A(C,Ne[$e]),[Ie,Bt]=Ot[$e-1],mt=Pt(Ot[$e-1],Ot[$e-2],we),rt=Pt(we,Ot[$e-1],Ot[$e+1],!0);return`c ${mt[0]-Ie},${mt[1]-Bt} ${rt[0]-Ie},${rt[1]-Bt} ${we[0]-Ie},${we[1]-Bt}`};this.paths[0].setAttribute("d",T(ht,Ce))}}class x extends s{constructor(Xe,Fe){super(Xe,Fe),this.bezierCalc=S(A(C,.5)),Xe.innerHTML=O(P()+P()),this.setRefs()}onSetSize(Xe,Fe){this.paths.forEach((ht,Ne)=>{const Ce=x.paths[Ne].map(we=>[we[0]*Xe,we[1]*Fe]);ht.setAttribute("d",T(Ce,this.bezierCalc))})}}x.paths=[[[0,.9],[.5,.9],[1,.9]],[[0,1],[.5,1],[1,1]]];class M extends s{constructor(Xe,Fe){super(Xe,Fe),this.bezierCalc=S(A(C,.5)),Xe.innerHTML=O(P()),this.setRefs()}onSetSize(Xe,Fe){const ht=this.uniforms.fontSize.value,Ne=ht*.25,Ce=ht*.15,we=Math.ceil(Xe/Ne)+1,$e=Fe*.97,Ot=[...Array(we)].map((Pt,Ie)=>[Ie*Ne,Ie%2===0?$e:$e-Ce]);this.paths[0].setAttribute("d",T(Ot,this.bezierCalc))}}const B={circle:v,cross:m,enclose:E,jagged:I,marker:W,scribble:L,strike:W,strikeDiagonal:F,underline:G,underlineCurve:k,underlineDouble:x,wave:M},R=Object.keys(B),U=B,j=(Ue,Xe)=>{for(var Fe in Xe)Ue.setProperty(Fe,Xe[Fe])},$=Ue=>({left:Ue.left,right:Ue.right,top:Ue.top,bottom:Ue.bottom,x:Ue.x,y:Ue.y,width:Math.max(0,Math.round(Ue.width)),height:Math.max(0,Math.round(Ue.height))}),ee=Ue=>{for(;Ue&&Ue.nodeType!==Node.ELEMENT_NODE;)Ue=Ue.parentNode;return Ue};class te{constructor(Xe,Fe){o()(this,"currentShapeType",null),this.state={...te.defaultState,...Fe},this.uniforms={thickness:{value:.1},...Fe.uniforms},this.container=Xe,this.node=document.createElement("div"),this.node.className="TextShape-node",this.onUpdateState(),this.container.appendChild(this.node),this.update()}onUpdateState(){let Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.state={...this.state,...Xe};const{id:Fe,isFront:ht,shape:Ne,color:Ce,thickness:we,linecap:$e,fontSize:Ot,blend:Pt,opacity:Ie}=this.state;this.node.dataset.textAttributeId=Fe,this.node.dataset.shape=Ne,this.node.dataset.fontSize=Ot,this.node.dataset.isFront=ht,Object.assign(this.node.style,{fontSize:`${Ot}px`}),this.uniforms.fontSize.value=Ot,this.uniforms.thickness.value=we.unit==="em"?Ot*parseFloat(we.value):we.value,j(this.node.style,{"--stroke":Ce,"--stroke-width":`${we.value}${we.unit}`,"--stroke-linecap":$e,"--stroke-linejoin":$e==="round"?"round":"bevel","--blend":Pt,"--opacity":Ie}),Ne!==this.currentShapeType&&this.createShape(Ne)}createShape(Xe){this.shape&&this.shape.destroy(),this.currentShapeType=Xe,this.shape=U[Xe]?new U[Xe](this.node,{uniforms:this.uniforms}):null}setSizeAndPosition(Xe,Fe,ht){const Ne=1/ht,Ce=this.uniforms.thickness.value-this.uniforms.fontSize.value*.25,we=Math.round(Xe.width*Ne-Ce),$e=Math.round(Xe.height*Ne),Ot=Xe.x*Ne,Pt=Xe.y*Ne,Ie=Fe.x*Ne,Bt=Fe.y*Ne;this.node.dataset.index=Xe.index,Object.assign(this.node.style,{width:`${we}px`,height:`${$e}px`,left:`${Math.round(Ot-Ie+Ce*.5)}px`,top:`${Math.round(Pt-Bt)}px`}),this.shape&&this.shape.setSize(we,$e)}update(){const{animation:Xe}=this.state,{progressReveal:Fe}=this.uniforms,ht=Xe==="fadeScale"?.5+Fe.value*.5:1;this.node.style.opacity=Fe.value,this.node.style.transform=`scale(${ht})`,this.shape&&this.shape.update()}destroy(){this.shape&&(this.shape.destroy(),delete this.shape),this.node.remove(),delete this.node,delete this.container}}te.defaultState={};var ie=e(860921),ne=e.n(ie),pe=e(700436),oe=e.n(pe);class q{constructor(Xe){o()(this,"setState",Fe=>{this.state={...this.state,...Fe}}),this.props={...this.constructor.defaultProps,...Xe},this.state={...this.constructor.defaultState,...this.constructor.state},window.Y&&window.Y.Global&&window.Y.Global.after("frame:device:change",this.flushResizeOnDeviceChange,this)}flushResizeOnDeviceChange(){this.onResize&&this.onResize.flush&&this.onResize.flush()}destroy(){window.Y&&window.Y.Global&&window.Y.Global.detach("frame:device:change",this.flushResizeOnDeviceChange,this)}}o()(q,"defaultProps",{}),o()(q,"defaultState",{});const J=(Ue,Xe,Fe)=>Ue*(1-Fe)+Xe*Fe,me=null,re=Ue=>Ue*Ue,he=function(Ue){let Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,ht=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;return-Fe*(Ue/=ht)*(Ue-2)+Xe},Ee=Ue=>Ue<.5?2*Ue*Ue:-1+(4-2*Ue)*Ue;class fe extends q{constructor(Xe){super(Xe),o()(this,"tick",()=>{const{ease:ht,from:Ne,to:Ce,duration:we,onUpdate:$e,onComplete:Ot}=this.props,Pt=Date.now()-this.lastUpdate;if(this.lastUpdate+=Pt,this.time=(this.lastUpdate-this.startTime)/1e3,this.time>we&&(this.time=we),$e(J(Ne,Ce,ht(this.time/we))),this.time>=we){Ot(Ce);return}this.frame=requestAnimationFrame(this.tick)});const{autoStart:Fe}=this.props;this.state={isActive:!1},this.startTime=null,this.lastUpdate=null,this.frame=null,Fe&&this.start()}start(){this.state.isActive||(this.setState({isActive:!0}),this.startTime=Date.now(),this.lastUpdate=this.startTime,this.frame=requestAnimationFrame(this.tick))}destroy(){cancelAnimationFrame(this.frame)}}o()(fe,"defaultProps",{autoStart:!0,duration:1,ease:he,from:0,onComplete:ne(),onUpdate:ne(),to:0});class H{constructor(Xe,Fe){o()(this,"timeout",{ready:null}),o()(this,"tween",null),o()(this,"initAnimation",()=>{this.animateTo(0)}),o()(this,"onUpdateDraw",Ce=>{const{onUpdate:we}=this.props;this.uniforms.progressDraw.value=Ce,we()}),o()(this,"onUpdateReveal",Ce=>{const{onUpdate:we}=this.props;this.uniforms.progressReveal.value=Ce,we()}),o()(this,"onAnimationComplete",()=>{}),this.props={...H.defaultProps,...Fe};const{uniforms:ht,config:Ne}=this.props;this.node=Xe,this.config={isAnimationEnabled:!1,animation:"draw",direction:"right",duration:1,...Ne},this.uniforms={progressDraw:{value:-1},...ht},this.reset()}setConfig(){let Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Fe={...this.config,...Xe};y(this.config,Fe).length&&(this.config={...Fe})}ready(){let Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250;const{onUpdate:Fe}=this.props;this.reset(),Fe(),this.timeout.ready=setTimeout(this.initAnimation,Xe)}setInitialState(){const{isAnimationEnabled:Xe,animation:Fe,direction:ht}=this.config;if(Xe&&Fe==="draw"){this.uniforms.progressReveal.value=1,this.uniforms.progressDraw.value=ht==="right"?-1:1;return}if(Xe&&(Fe==="fade"||Fe==="fadeScale")){this.uniforms.progressReveal.value=0,this.uniforms.progressDraw.value=0;return}this.uniforms.progressReveal.value=1,this.uniforms.progressDraw.value=0}reset(){const{onUpdate:Xe}=this.props;clearTimeout(this.timeout.ready),this.destroyTween(),this.setInitialState(),Xe()}animateTo(Xe){const{animation:Fe,duration:ht}=this.config;if(this.destroyTween(),Fe==="draw"){const we=oe()(Math.abs(this.uniforms.progressDraw.value-Xe),.2,1);this.tween=new fe({duration:ht*we,from:this.uniforms.progressDraw.value,to:Xe,onUpdate:this.onUpdateDraw,onComplete:this.onAnimationComplete});return}const Ne=1-Math.abs(Xe),Ce=oe()(Math.abs(this.uniforms.progressReveal.value-Ne),.2,1);this.tween=new fe({duration:ht*Ce,from:this.uniforms.progressReveal.value,to:Ne,onUpdate:this.onUpdateReveal,onComplete:this.onAnimationComplete})}destroyTween(){this.tween&&(this.tween.destroy(),this.tween=null)}destroy(){var Xe;this.destroyTween(),(Xe=this.timeout)!==null&&Xe!==void 0&&Xe.ready&&clearTimeout(this.timeout.ready)}}H.defaultProps={config:{},onUpdate:ne(),uniforms:{}};const z=function(Ue){let Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const Fe=[],ht=document.createTreeWalker(Ue,NodeFilter.SHOW_TEXT,null,!1);let Ne;for(;Ne=ht.nextNode();)Xe&&!Ne.parentNode.closest(Xe)&&Fe.push(Ne);return Fe};function _e(Ue){return Array.from(Ue.getClientRects()).map($)}function ae(Ue,Xe){return Xe.reduce((Fe,ht)=>([...ht.textContent.matchAll(/ /g)].forEach(Ne=>{Ue.setStart(ht,Ne.index),Ue.setEnd(ht,Ne.index+1),Fe.push($(Ue.getBoundingClientRect()))}),Fe),[])}function ge(Ue){const Fe=ee(Ue.commonAncestorContainer).closest(".catalog-entry-container");if(!Fe)return 1;const ht=window.getComputedStyle(Fe);return new DOMMatrix(ht.transform).a||1}const Be=(Ue,Xe)=>{let{rows:Fe}=Ue.reduce((ht,Ne)=>{let Ce=ht.rows[ht.rowIndex];return(!Ce||Ce.y!==Ne.y&&(Ce.y<Ne.y||Ce.y+Ce.height>Ne.y+Ne.height)&&Math.abs(Ce.endX-Ne.x)>1)&&(ht.rowIndex+=1,ht.rows[ht.rowIndex]={left:Ne.left,right:Ne.right,top:Ne.top,bottom:Ne.bottom,x:Ne.x,endX:Ne.x,y:Ne.y,width:0,height:Ne.height},Ce=ht.rows[ht.rowIndex]),Ce.endX=Math.max(Ce.endX,Ne.right),Ce.width=Math.max(0,Ce.endX-Ce.x),ht},{rowIndex:-1,rows:[]});return Fe.sort((ht,Ne)=>Ne.width-ht.width).sort((ht,Ne)=>Ne.y-ht.y),Fe=Fe.reduce((ht,Ne)=>{if(ht.length){const we=ht[ht.length-1];if(Ne.y===we.y&&Ne.x===we.x||Ne.y===we.y&&Ne.endX===we.endX)return ht}const Ce=Xe.findIndex(we=>Ne.endX===we.right&&Ne.y===we.y);return~Ce&&(Ne.width-=Xe[Ce].width),ht.push(Ne),ht},[]),Fe},Ke=Ue=>{if(!Ue||!Ue.length)return{scale:1,rowRects:[]};const Xe=document.createRange();Xe.setStart(Ue[0],0),Xe.setEnd(Ue[Ue.length-1],Ue[Ue.length-1].length);const Fe=_e(Xe),ht=ge(Xe),Ne=ae(Xe,Ue),Ce=Be(Fe,Ne);return Xe.detach(),{scale:ht,rowRects:Ce.reverse().map((we,$e)=>(we.index=$e,we))}};class He{constructor(Xe,Fe,ht){o()(this,"textNodes",[]),o()(this,"rowsPool",[]),o()(this,"intersectionScroll",null),o()(this,"uniforms",{progressReveal:{value:-1},progressDraw:{value:0},fontSize:{value:1}}),o()(this,"rAFID",null),o()(this,"timeoutGlobalAnimation",null),o()(this,"isTickingGlobalAnimation",!1),o()(this,"prefersReducedMotion",!0),o()(this,"_onMutation",()=>{this.isDestroyed||this.onResized()}),o()(this,"onResized",()=>{this.isDestroyed||(this.refreshFontSize(),this.refreshRows())}),o()(this,"onPrefersReducedMotionChange",Pt=>{this.prefersReducedMotion=!Pt.matches}),o()(this,"onIntersection",Pt=>{Pt&&(parseInt(window.getComputedStyle(this.parentNode).opacity)&&this.animation.ready(0),this.destroyIntersectionScroll())}),o()(this,"onGlobalAnimationStart",()=>{this.onResized(),this.startGlobalAnimationWatch()}),o()(this,"onGlobalAnimationEnd",()=>{this.onResized()}),o()(this,"tickSyncGlobalAnimation",()=>{this.onResized(),this.isTickingGlobalAnimation&&(this.rAFID=requestAnimationFrame(this.tickSyncGlobalAnimation))}),o()(this,"update",()=>{this.rowsPool.forEach(Pt=>Pt.update())}),this.node=Xe;let Ne={};try{const Pt=this.node.dataset.textAttributeId;Ne=Fe[Pt]||{}}catch{}this.prefersReducedMotion=!window.matchMedia("(prefers-reduced-motion: no-preference)").matches,this.state=this.getStateFromProps({...Ne,isAnimationEnabled:!this.prefersReducedMotion&&Ne.isAnimationEnabled}),this.container=ht||this.node.closest("div"),this.parentNode=this.node.closest("h1, h2, h3, h4, h5, h6, p, div, pre"),this.onMutation=u()(this._onMutation,10),Object.assign(this.container.style,{position:"relative",zIndex:0}),this.bindListeners();const{isAnimationEnabled:Ce,animation:we,direction:$e,duration:Ot}=this.state;this.animation=new H(this.node,{uniforms:this.uniforms,onUpdate:this.update,config:{isAnimationEnabled:Ce,animation:we,direction:$e,duration:Ot}})}getStateFromProps(){let Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Fe={...He.defaultState,...Xe};return typeof Fe.duration=="string"&&(Fe.duration=parseInt(Fe.duration,10)),Fe}onStateChange(){let Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const ht=this.getStateFromProps({...this.state,...Xe}),Ne=y(this.state,ht);if(this.state={...this.state,...ht},this.rowsPool.forEach(Pt=>Pt.onUpdateState(this.state)),!Fe||!Ne.length)return;const{isAnimationEnabled:Ce,animation:we,direction:$e,duration:Ot}=this.state;this.animation.setConfig({isAnimationEnabled:Ce,animation:we,direction:$e,duration:Ot}),ye(Ne)&&this.animation.ready(0),this.onMutation()}bindListeners(){a.Z.on(this.onResized,0),this.intersectionScroll=new i.Z(this.node,{onIntersection:this.onIntersection,normalize:!1}),this.parentNode.addEventListener("transitionstart",this.onGlobalAnimationStart),this.parentNode.addEventListener("transitionend",this.onGlobalAnimationEnd),window.ResizeObserver&&(this.observerResize=new ResizeObserver(this.onMutation),this.observerResize.observe(this.container),this.observerResize.observe(this.node)),window.MutationObserver&&(this.observerMutation=new MutationObserver(this.onMutation),this.observerMutation.observe(this.node,{attributes:!0,childList:!0,subtree:!0})),this.mediaQueryList=window.matchMedia("(prefers-reduced-motion: no-preference)"),this.mediaQueryList.addEventListener?this.mediaQueryList.addEventListener("change",this.onPrefersReducedMotionChange):this.mediaQueryList.addListener(this.onPrefersReducedMotionChange)}unbindListeners(){this.parentNode.removeEventListener("transitionstart",this.onGlobalAnimationStart),this.parentNode.removeEventListener("transitionend",this.onGlobalAnimationEnd),this.destroyIntersectionScroll(),this.observerResize&&(this.observerResize.disconnect(),this.observerResize=null),this.observerMutation&&(this.observerMutation.disconnect(),this.observerMutation=null),a.Z.off(this.onResized),this.mediaQueryList.removeEventListener?this.mediaQueryList.removeEventListener("change",this.onPrefersReducedMotionChange):this.mediaQueryList.removeListener(this.onPrefersReducedMotionChange)}startGlobalAnimationWatch(){clearTimeout(this.timeoutGlobalAnimation),this.timeoutGlobalAnimation=setTimeout(()=>{this.isTickingGlobalAnimation=!1},2e3),!this.isTickingGlobalAnimation&&(this.animation.ready(0),this.isTickingGlobalAnimation=!0,this.rAFID=requestAnimationFrame(this.tickSyncGlobalAnimation))}refreshFontSize(){const Xe=window.getComputedStyle(this.node),Fe=parseInt(Xe.fontSize);Number.isNaN(Fe)||this.onStateChange({fontSize:Fe},!1)}refreshTextNodes(){const Xe=this.node.ownerDocument;if(!Xe.contains(this.node)){const Fe=this.container.getAttribute("id"),ht=this.node.getAttribute("data-text-attribute-id"),Ne=Xe.querySelector(`[id="${Fe}"]`),Ce=Ne&&Ne.querySelector(`.sqsrte-text-highlight[data-text-attribute-id="${ht}"]`);Ce&&(this.container=Ne,this.node=Ce)}this.textNodes=z(this.node,".TextShape-node")}refreshRows(){this.refreshTextNodes();const Xe=this.container.getBoundingClientRect(),{rowRects:Fe,scale:ht}=Ke(this.textNodes);this.rowsPool.splice(Fe.length).forEach(Ce=>Ce.destroy());for(let Ce=0,we=Fe.length;Ce<we;Ce+=1){const $e=Fe[Ce],Ot=this.rowsPool[Ce]||new te(this.container,{...this.state,uniforms:this.uniforms});this.rowsPool[Ce]=Ot,Ot.setSizeAndPosition($e,Xe,ht)}}destroyIntersectionScroll(){this.intersectionScroll&&(this.intersectionScroll.destroy(),this.intersectionScroll=null)}destroy(){this.isDestroyed=!0,this.unbindListeners(),this.animation.destroy(),this.onMutation.cancel(),this.rowsPool.forEach(Xe=>Xe.destroy()),clearTimeout(this.timeoutGlobalAnimation),cancelAnimationFrame(this.rAFID),delete this.rowsPool,delete this.node,delete this.state,delete this.animation}}He.ANIMATION_CHANGE_PROPS=["shape","isAnimationEnabled","animation","duration","direction"];function ye(Ue){return Ue.some(Xe=>He.ANIMATION_CHANGE_PROPS.includes(Xe))}He.defaultState={fontSize:12,isFront:!0,isAnimationEnabled:!1,animation:"draw",duration:.75,direction:"right",color:"currentcolor",shape:"wave",thickness:{unit:"em",value:.06},linecap:"square",blend:"none"};const Le=He},122452:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(28365);const o=()=>{var u;return typeof window<"u"?((u=window)===null||u===void 0||(u=u.Static)===null||u===void 0||(u=u.SQUARESPACE_CONTEXT)===null||u===void 0||(u=u.website)===null||u===void 0?void 0:u.websiteType)===WebsiteType.PARKING_PAGE:!1},n=()=>{var u;return typeof window<"u"?((u=window)===null||u===void 0||(u=u.Static)===null||u===void 0||(u=u.SQUARESPACE_CONTEXT)===null||u===void 0||(u=u.website)===null||u===void 0?void 0:u.websiteType)===WebsiteType.COVER_PAGE:!1},a=()=>{var u;return typeof window<"u"?((u=window)===null||u===void 0||(u=u.Static)===null||u===void 0||(u=u.SQUARESPACE_CONTEXT)===null||u===void 0?void 0:u.isStandaloneScheduling)===!0:!1},c=function(){return{isStandaloneScheduling:()=>a()}}()},819596:function(b,l,e){"use strict";e.d(l,{z:()=>o});var r;const o=(n=>()=>n)((r=window.Static)===null||r===void 0||(r=r.SQUARESPACE_CONTEXT)===null||r===void 0||(r=r.websiteSettings)===null||r===void 0?void 0:r.bundleEligible)},647221:function(b,l,e){"use strict";e.d(l,{m:()=>n});var r=e(931387),o;const n=(a=>()=>a)(!!(r.D!==null&&r.D!==void 0&&(o=r.D.websiteSettings)!==null&&o!==void 0&&o.newPlanArchitectureEligible))},236371:function(b,l,e){"use strict";e.r(l),e.d(l,{getIsEligibleForNewPlanArchitecture:()=>c.m,isBundlingExperience:()=>i.z,legacyV6Flags:()=>o.Z,multiProductConfig:()=>u.Z,unmemoizedV6Flags:()=>a,praetorFlags:()=>r});var r={};e.r(r),e.d(r,{getIsEligibleForNewPlanArchitecture:()=>c.m,isBundlingExperience:()=>i.z});var o=e(762379);const a={getEnabledBackendFlags:()=>{var f;return((f=window.Static)===null||f===void 0||(f=f.SQUARESPACE_CONTEXT)===null||f===void 0?void 0:f.betaFeatureFlags)??[]},isFeatureEnabled:f=>{var d;return!f||!((d=window.Static)!==null&&d!==void 0&&(d=d.SQUARESPACE_CONTEXT)!==null&&d!==void 0&&d.betaFeatureFlags)?!1:window.Static.SQUARESPACE_CONTEXT.betaFeatureFlags.indexOf(f)!==-1}};var i=e(819596),c=e(647221),u=e(122452)},377105:function(b,l,e){"use strict";e.d(l,{U:()=>u,Z:()=>a});var r=e(638204),o=e(984080);const n="universal-panel-components",{getI18nInstance:a,setI18nInstance:i}=(0,r.setupLibrary)(n,c);function c(f){return e(490283)(`./${n}.${f}.yaml`)}const u=(f,d)=>{(0,o.U)(f,d),i(f,d)}},490283:function(b,l,e){var r={"./universal-panel-components.en-US.yaml":"129916"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=490283},476319:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(174161);const o=r.createContext(void 0)},346058:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(174161);const o=r.createContext(void 0)},657010:function(b,l,e){"use strict";e.d(l,{Z:()=>i,x:()=>a});var r=e(795478),o=e.n(r);const n={cacheAttrs:o().func.isRequired,createHref:o().func.isRequired,flushCachedAttrs:o().func.isRequired,getNavigatorWithListener:o().func.isRequired,getScrollTop:o().func.isRequired,goBack:o().func.isRequired,hasSquarespaceHistory:o().func.isRequired,goForward:o().func.isRequired,goUp:o().func.isRequired,hijackFrameUrl:o().func.isRequired,isValidPath:o().func.isRequired,isDisabledPath:o().func.isRequired,onBeforeChange:o().func.isRequired,onBeforeUnload:o().func.isRequired,onChange:o().func.isRequired,onExit:o().func.isRequired,push:o().func.isRequired,redirect:o().func.isRequired,replace:o().func.isRequired,replaceFrameUrl:o().func.isRequired,restoreFrameUrl:o().func.isRequired,saveScrollTop:o().func.isRequired,getRoutesForPathfinder:o().func.isRequired,getRouteHierarchy:o().func.isRequired,getCurrentLocation:o().func.isRequired,getCurrentRoute:o().func.isRequired,getSubRouterContext:o().func.isRequired,getSubRouterByName:o().func.isRequired,getSubRouterContextByName:o().func.isRequired,match:o().func.isRequired},a=Object.keys(n),i=o().shape(n)},161381:function(b,l,e){"use strict";e.d(l,{Z:()=>A});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(461761),c=e.n(i),u=e(795478),f=e.n(u),d=e(174161),h=e(192628),g=e.n(h),_=e(608280),p=e(723796),y=e(346058),O=e(476319),P=e(657010);function C(S,T){const s=c()(T,"silent",!0),m=`withRouter(${(0,_.default)(S)})`,E=(0,p.FB)(m);class I extends d.Component{getRouter(W){return!W&&!s&&E("RouterContext.Provider is not available, falling back to legacy context API"),this.props.router?this.props.router:this.context.router?this.context.router:window.CONFIG_PANEL?window.CONFIG_PANEL.get("router"):(this.warnContext(),null)}getLocation(){return s||E("LocationContext.Provider is not available, falling back to legacy context API"),this.props.location?this.props.location:this.context.location?this.context.location:(this.warnContext(),null)}warnContext(){s||E("Unable to retrieve router from context API, legacy context, or window.CONFIG_PANEL. Was this instance created in the frame or otherwise outside of damask?")}render(){return d.createElement(O.Z.Consumer,null,W=>d.createElement(y.Z.Consumer,null,F=>d.createElement(S,o()({},this.props,{router:F||this.getRouter(),location:W||this.getLocation()}))))}}return a()(I,"displayName",m),a()(I,"contextTypes",{location:f().object,router:P.Z}),g()(I,S)}const A=C},246699:function(b,l,e){"use strict";e.d(l,{zt:()=>B,v9:()=>j,ZP:()=>te,dq:()=>U,h:()=>M,I0:()=>$,$j:()=>ee});var r=e(269399),o=e(810573),n=e(177037),a=e(812949),i=e(789034),c=e(544418),u=e(883682);const d=(0,r.combineReducers)({accessPermissions:o.I6,authenticatedAccount:n.I6,billingStatuses:a.I6,flyout:i.I6,project:c.I6,hamburger:u.I6});let h=window,g=!1;function _(){return g=!0,h}function p(ie){if(g)throw new Error(`setRootWindow() called, but Universal State has already initialized.
setRootWindow() must be called before '@sqs/universal-state' is imported.
See https://goto/universal-state/api for more details.`);h=ie}const y={accessPermissions:o.E3,authenticatedAccount:n.E3,billingStatuses:a.E3,flyout:i.E3,project:c.E3,hamburger:u.E3};var O=e(174161),P=e(642979),C=e.n(P);const A="[universal-state]";function S(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";for(var ne=arguments.length,pe=new Array(ne>1?ne-1:0),oe=1;oe<ne;oe++)pe[oe-1]=arguments[oe];return typeof ie=="string"?[`${A} ${ie}`,...pe]:[A,ie,...pe]}const T={info(){console.info(...S(...arguments))},warn(){console.warn(...S(...arguments))},error(){console.error(...S(...arguments))}};let s=function(ie){return ie.REGISTER="register",ie.DISPATCH="dispatch",ie.STATE_UPDATE="state-update",ie}({});const v="@sqs/universal-state",m=ie=>(ie==null?void 0:ie.type)===v,E=(ie,ne)=>{if(ie.source!==ne)return null;if(ie.origin!==window.location.origin)return T.warn(`Received event from different origin (${ie.origin} !== ${window.location.origin}). Discarding.`),null;const pe=ie.data;return m(pe)?pe:null},I=(ie,ne)=>{const pe={type:v,event:ne};ie.postMessage(pe,window.location.origin)},L=(ie,ne)=>{const pe=oe=>{const q=E(oe,ie);q&&ne(q.event)};return window.addEventListener("message",pe),()=>window.removeEventListener("message",pe)};class W{constructor(ne,pe){C()(this,"handleEvent",oe=>{switch(oe.type){case s.REGISTER:this.sendStateUpdate();break;case s.DISPATCH:this.store.dispatch(oe.payload.action);break;default:break}}),C()(this,"sendStateUpdate",()=>{const oe=this.store.getState();I(this.consumerWindow,{type:s.STATE_UPDATE,payload:{state:oe}})}),this.store=ne,this.consumerWindow=pe,this.stopListeningForEvents=L(this.consumerWindow,this.handleEvent),this.unsubscribeFromStore=this.store.subscribe(this.sendStateUpdate)}teardown(){this.unsubscribeFromStore(),this.stopListeningForEvents()}}class F{constructor(ne,pe){C()(this,"handleEvent",oe=>{switch(oe.type){case s.STATE_UPDATE:this.update(oe.payload.state);break;default:break}}),this.rootWindow=ne,this.state=pe,this.hasReceivedState=!1,this.pendingActions=[],this.listeners=new Set,L(this.rootWindow,this.handleEvent),I(this.rootWindow,{type:s.REGISTER})}update(ne){this.state=ne,this.hasReceivedState||(this.flushPendingActions(),this.hasReceivedState=!0),this.listeners.forEach(pe=>pe())}flushPendingActions(){this.pendingActions.length>0&&(this.pendingActions.forEach(ne=>this.actuallyDispatch(ne)),this.pendingActions=[])}getState(){return this.state}dispatch(ne){if(!this.hasReceivedState){this.pendingActions.push(ne);return}this.actuallyDispatch(ne)}actuallyDispatch(ne){I(this.rootWindow,{type:s.DISPATCH,payload:{action:ne}})}subscribe(ne){return this.listeners.add(ne),()=>this.listeners.delete(ne)}}function G(ie,ne,pe){return pe===window?(0,r.createStore)(ie,ne,window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__({name:"@sqs/universal-state"})):new F(pe,ne)}function k(ie){const ne=()=>({state:ie.getState(),dispatch:ie.dispatch.bind(ie)}),pe=O.createContext(ne());function oe(){const[fe,H]=(0,O.useState)(ne());return(0,O.useEffect)(()=>ie.subscribe(()=>{H(ne())}),[]),fe}function q(fe){const[H,z]=(0,O.useState)(()=>fe(ie.getState())),_e=(0,O.useRef)(H);return(0,O.useEffect)(()=>ie.subscribe(()=>{const ae=fe(ie.getState());ae!==_e.current&&(_e.current=ae,z(ae))}),[fe]),H}function J(){return ie.dispatch.bind(ie)}const me=fe=>{let{iframe:H,children:z}=fe;return(0,O.useEffect)(()=>{if(!H)return;if(!H.contentWindow){T.error("iframe has no contentWindow - can't set up postMessage bridge");return}const _e=new W(ie,H.contentWindow);return()=>_e.teardown()},[H]),z},re=fe=>{let{children:H}=fe;const z=oe();return O.createElement(pe.Provider,{value:z},H)},he=pe.Consumer;return{Provider:re,Consumer:he,FrameBridge:me,useSelector:q,useDispatch:J,connect:(fe,H)=>z=>{const _e=ge=>{const{state:Be,dispatch:Ke}=(0,O.useContext)(pe),He={...fe==null?void 0:fe(Be),...H==null?void 0:H(Ke),...ge};return O.createElement(z,He)},ae=z.displayName||z.name||"Component";return _e.displayName=`connect(${ae})`,_e}}}function x(){return G(d,y,_())}const M=x(),{Provider:B,Consumer:R,FrameBridge:U,useSelector:j,useDispatch:$,connect:ee}=k(M),te={Provider:B,Consumer:R,FrameBridge:U,useSelector:j,useDispatch:$,connect:ee,store:M}},810573:function(b,l,e){"use strict";e.d(l,{E3:()=>c,I6:()=>f,wl:()=>C});var r=e(851939),o=e(697710),n=e(722448),a=e.n(n),i=e(563230);const c=null,u=(0,r.createSlice)({name:"accessPermissions",initialState:c,reducers:{update(A,S){return S.payload}},extraReducers:A=>{A.addCase(i.N.hardBootstrap,(S,T)=>T.payload.accessPermissions),A.addCase(i.N.softBootstrap,(S,T)=>S||T.payload.accessPermissions)}}),f=u.reducer,d={updateAccessPermissions:u.actions.update};function h(A,S){const T=typeof A=="string"?a()[A]:A;if(T===void 0)throw new Error(A?`Permission '${A}' not found.`:"Permission is undefined.");return S.has(T)}const g=A=>A.accessPermissions,_=(0,o.P1)(g,A=>new Set(A));function p(A){return(0,o.P1)(_,S=>h(A,S))}function y(A){return(0,o.P1)(_,S=>A.every(T=>h(T,S)))}function O(A){return(0,o.P1)(_,S=>A.some(T=>h(T,S)))}const P=p(a().ADMIN),C={selectHasPermission:p,selectHasAllPermissions:y,selectHasAnyPermission:O,selectIsAdmin:P}},177037:function(b,l,e){"use strict";e.d(l,{E3:()=>n,I6:()=>i,wl:()=>c});var r=e(851939),o=e(563230);const n=null,i=(0,r.createSlice)({name:"authenticatedAccount",initialState:n,reducers:{},extraReducers:u=>{u.addCase(o.N.hardBootstrap,(f,d)=>d.payload.authenticatedAccount),u.addCase(o.N.softBootstrap,(f,d)=>f||d.payload.authenticatedAccount)}}).reducer,c={selectAuthenticatedAccount:u=>{let{authenticatedAccount:f}=u;return f}}},812949:function(b,l,e){"use strict";e.d(l,{E3:()=>n,I6:()=>i,Nw:()=>c,wl:()=>f});var r=e(851939),o=e(563230);const n=null,a=(0,r.createSlice)({name:"billingStatuses",initialState:n,reducers:{update(d,h){return h.payload},upsertTemporaryBillingStatus(d,h){if(d===null)return;const g=d.findIndex(_=>_.productType===h.payload.productType);g!==-1?d.splice(g,1,h.payload):d.push(h.payload)}},extraReducers:d=>{d.addCase(o.N.hardBootstrap,(h,g)=>g.payload.billingStatuses),d.addCase(o.N.softBootstrap,(h,g)=>h||g.payload.billingStatuses)}}),i=a.reducer,c={updateBillingStatuses:a.actions.update,upsertTemporaryBillingStatus:a.actions.upsertTemporaryBillingStatus},f={selectBillingStatuses:d=>{let{billingStatuses:h}=d;return h}}},563230:function(b,l,e){"use strict";e.d(l,{N:()=>o});var r=e(851939);const o={hardBootstrap:(0,r.createAction)("bootstrap/hard"),softBootstrap:(0,r.createAction)("bootstrap/soft")}},789034:function(b,l,e){"use strict";e.d(l,{E3:()=>o,I6:()=>a,Nw:()=>i,wl:()=>c});var r=e(851939);const o={isOpen:!1,focusedProduct:null,isTemplatePickerOpen:!1},n=(0,r.createSlice)({name:"flyout",initialState:o,reducers:{open(u){u.isOpen=!0,u.focusedProduct=null},close(u){u.isOpen=!1,u.focusedProduct=null},openSubpanel(u,f){u.isOpen=!0,u.focusedProduct=f.payload},closeSubpanel(u){u.focusedProduct=null},openTemplatePicker(u){u.isTemplatePickerOpen=!0},closeTemplatePicker(u){u.isTemplatePickerOpen=!1}}}),a=n.reducer,i={openFlyout:n.actions.open,closeFlyout:n.actions.close,openFlyoutSubpanel:n.actions.openSubpanel,closeFlyoutSubpanel:n.actions.closeSubpanel,openTemplatePicker:n.actions.openTemplatePicker,closeTemplatePicker:n.actions.closeTemplatePicker},c={selectIsOpen:u=>{let{flyout:f}=u;return f.isOpen},selectFocusedProduct:u=>{let{flyout:f}=u;return f.focusedProduct},selectIsTemplatePickerOpen:u=>{let{flyout:f}=u;return f.isTemplatePickerOpen}}},883682:function(b,l,e){"use strict";e.d(l,{E3:()=>a,I6:()=>c,wl:()=>u});var r=e(851939),o=e(563230),n=e(544418);const a=null,c=(0,r.createSlice)({name:"hamburger",initialState:a,reducers:{},extraReducers:f=>{f.addCase(o.N.hardBootstrap,(d,h)=>h.payload.hamburger),f.addCase(o.N.softBootstrap,(d,h)=>d||h.payload.hamburger),f.addCase(n.Nw.updateProjectTitle,(d,h)=>{if(!d)throw new Error(`Received an action of type "${h.type}", but project state hasn't been bootstrapped. You probably need to dispatch the "bootstrap/softBootstrap" action first.See 'Bootstrapping initial state' in API.md.`);d.text.label=h.payload})}}).reducer,u={selectHamburgerLabel:f=>{let{hamburger:d}=f;return(d==null?void 0:d.text.label)??null},selectAriaLabel:f=>{let{hamburger:d}=f;return(d==null?void 0:d.text.ariaLabel)??null}}},544418:function(b,l,e){"use strict";e.d(l,{E3:()=>n,I6:()=>i,Nw:()=>c,wl:()=>u});var r=e(851939),o=e(563230);const n=null,a=(0,r.createSlice)({name:"project",initialState:n,reducers:{updateProjectTitle(f,d){if(!f)throw new Error(`Received an action of type "${d.type}", but project state hasn't been bootstrapped. You probably need to dispatch the "bootstrap/bootstrap" action first.`);f.projectTitle=d.payload}},extraReducers:f=>{f.addCase(o.N.hardBootstrap,(d,h)=>h.payload.project),f.addCase(o.N.softBootstrap,(d,h)=>d||h.payload.project)}}),i=a.reducer,c={updateProjectTitle:a.actions.updateProjectTitle},u={selectProjectTitle:f=>{let{project:d}=f;return(d==null?void 0:d.projectTitle)??null}}},283238:function(b,l,e){"use strict";e.d(l,{Z:()=>g});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(174161),c=e(860921),u=e.n(c),f=e(918925),d=e(587732);class h extends i.Component{render(){const{anchor:p,isOpen:y,onDismiss:O,title:P,children:C,dismissText:A,positionToMouse:S,theme:T,...s}=this.props;return i.createElement(d.Z,o()({},s,{isOpen:y,onRequestClose:O,anchor:p||(S?"mousepointer":"window"),style:{textAlign:"center"},theme:T}),P&&i.createElement(d.Z.Header,null,P),i.createElement(d.Z.Body,null,C),i.createElement(d.Z.Footer,{theme:T},i.createElement(d.Z.Button,{onClick:O},A)))}}a()(h,"defaultProps",{anchor:"mousepointer",dismissText:(0,f.t)("Okay",null,{project:"universal-ui"}),onDismiss:u(),positionToMouse:!0,theme:"damask",title:(0,f.t)("Something Happened",null,{project:"universal-ui"})});const g=h},93164:function(b,l,e){"use strict";e.d(l,{Z:()=>A});var r=e(642979),o=e.n(r),n=e(412166),a=e(600994),i=e(174161),c=e(918925),u=e(860921),f=e.n(u);let d,h,g,_,p;const y=function(S){for(var T=arguments.length,s=new Array(T>1?T-1:0),v=1;v<T;v++)s[v-1]=arguments[v];return console.log(`[Sentry] ${S}`,...s),"some-error-identifier"};let O=!1;window.SQUARESPACE_SENTRY?(O=!0,d=window.SQUARESPACE_SENTRY.captureMessage,h=window.SQUARESPACE_SENTRY.captureException,g=window.SQUARESPACE_SENTRY.captureEvent,_=window.SQUARESPACE_SENTRY.withScope,p=function(S){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0;_(v=>{Object.entries(T).forEach(m=>{let[E,I]=m;v.setTag(E,I)}),Object.entries(s).forEach(m=>{let[E,I]=m;v.setExtra(E,I)}),h(S)})}):(d=y,h=y,g=y,p=y,_=f());const P=S=>{let{retry:T}=S;return i.createElement(n.Z,{alignItems:"center",justifyContent:"center",height:"100%",width:"100%"},i.createElement(a.Z.Secondary,{onClick:T},i.createElement(c.T,{project:"universal-ui"},"Try again")))};class C extends i.Component{constructor(){super(...arguments),o()(this,"state",{hasError:!1})}static getDerivedStateFromError(T){return{hasError:!0}}componentDidCatch(T,s){if(navigator.onLine){const v={...this.props.sentryTags},m={componentStack:s.componentStack};p(T,v,m)}}render(){if(this.state.hasError){const{retry:T}=this.props;return i.createElement(P,{retry:()=>{T(),this.setState({hasError:!1})}})}return this.props.children}}const A=C},410016:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(174161),o=e(554823),n=e(93164);function a(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o.Z,f=arguments.length>2?arguments[2]:void 0;const d=r.lazy(c);function h(g){const[{Component:_,retryCount:p},y]=(0,r.useState)(()=>({Component:d,retryCount:0})),O=(0,r.useCallback)(()=>y(P=>({Component:d,retryCount:P.retryCount+1})),[]);return r.createElement(n.Z,{retry:O,key:p},r.createElement(r.Suspense,{fallback:r.createElement(u,null)},r.createElement(_,g)))}return h.displayName=f?`Async${f}Loader`:"AsyncComponentLoader",h}const i=a},554823:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(174161),o=e(184791),n=e(65266),a=e.n(n);function i(){const[u,f]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{const d=setTimeout(()=>f(!0),2e3);return()=>{clearTimeout(d)}},[]),r.createElement("div",{className:a().center},u?r.createElement(o.Z,{delay:0}):null)}const c=i},349865:function(b,l,e){"use strict";e.d(l,{Z:()=>A});var r=e(642979),o=e.n(r),n=e(174161),a=e(845076),i=e.n(a),c=e(134521),u=e.n(c),f=e(254229),d=e.n(f),h=e(918925),g=e(861673),_=e.n(g),p=e(719484),y=e(224353),O=e(694933),P=e.n(O);const C=300;class A extends n.Component{constructor(T){super(T),o()(this,"clearTooltip",()=>{const{isTooltipOpen:s}=this.state;s&&this.setState({isTooltipOpen:!1})}),o()(this,"showTooltip",()=>{const{isDragging:s,isTooltipOpen:v}=this.state;!s&&!v&&this.props.visible&&this.setState({isTooltipOpen:!0})}),o()(this,"onMouseDown",s=>{s.stopPropagation(),this.clearTooltip()}),o()(this,"onDragStart",()=>{const s=this.props.onDragStart;this.clearTooltip(),this.setState({isDragging:!0}),s&&s()}),o()(this,"onDrag",u()(s=>{const{mouseX:v,mouseY:m,minX:E,minY:I,maxX:L,maxY:W}=s,F=d()(v,E,L),G=d()(m,I,W);this.setState({x:Number(((F-E)/(L-E)).toFixed(2)),y:Number(((G-I)/(W-I)).toFixed(2))})},16)),o()(this,"onDragEnd",()=>{const{x:s,y:v}=this.state;this.setState({isDragging:!1}),this.props.onChange({x:s,y:v})}),this.state={x:this.props.x,y:this.props.y,isDragging:!1,isTooltipOpen:!1}}UNSAFE_componentWillReceiveProps(T){this.setState({x:T.x,y:T.y})}renderToolTip(){return n.createElement(y.Z,{title:(0,h.t)("Image Focal Point",null,{project:"universal-ui"}),isOpen:this.state.isTooltipOpen,anchor:this.refs.handle,position:"top",delay:C},n.createElement(p.Z.Action,{color:"gray.950"},n.createElement(h.T,{project:"universal-ui"},"Image Focal Point")),n.createElement(p.Z.Body,{color:"gray.950"},n.createElement(h.T,{project:"universal-ui"},"An image focal point allows Squarespace to make better cropping decisions when the image is placed within a thumbnail. Drag the circle to change the focal point in the image so it displays to your preference.")))}renderFocalPoint(){const{x:T,y:s,isDragging:v}=this.state,{imageNodeGetter:m,className:E,hideTooltip:I}=this.props,L=i()(P().handle,E,{[P().handleDragging]:v});return n.createElement(g.DragTrigger,{constraint:()=>m(),onMouseDown:this.onMouseDown,onDragStart:this.onDragStart,onDrag:this.onDrag,onDragEnd:this.onDragEnd},n.createElement("div",{ref:"handle",className:L,onMouseEnter:I?void 0:this.showTooltip,onMouseLeave:I?void 0:this.clearTooltip,style:{top:`${100*s}%`,left:`${100*T}%`}},this.renderToolTip()))}render(){return this.props.visible&&this.renderFocalPoint()}}o()(A,"defaultProps",{onChange:()=>{},visible:!0,x:.5,y:.5})},186538:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(174161),o=e(412166),n=e(425629),a=e(224353);function i(c){let{icon:u,title:f,onClick:d,testId:h="",position:g="bottom"}=c;const[_,p]=(0,r.useState)(null),[y,O]=(0,r.useState)(!1),P=()=>O(!1),C=()=>O(!0);return r.createElement(o.Z,{onMouseOver:C,onMouseOut:P,onFocus:C,onBlur:P},r.createElement(n.Z.Element.Icon,{onClick:()=>{_==null||_.blur(),d()},ml:2,"aria-label":f,"data-testid":h,ref:p},u,r.createElement(a.Z,{anchor:_,isOpen:y,position:g},f)))}},962239:function(b,l,e){"use strict";e.d(l,{Z:()=>A});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(174161),c=e(845076),u=e.n(c),f=e(346979),d=e.n(f),h=e(394470),g=e.n(h),_=e(693973),p=e.n(_),y=e(918925);const O=(S,T,s)=>s.some(v=>S[v]!==T[v]),P=/(\.png|\.ico)$/;class C extends i.Component{constructor(){super(...arguments),a()(this,"state",{url:"",displayWidth:0,displayHeight:0,hasError:!1,loaded:!1}),a()(this,"node",null),a()(this,"loadImage",()=>{const{src:T,fileData:s}=this.props;s?this.loadFromFileData():T&&this.loadFromSrc()}),a()(this,"loadFromFileData",()=>{const{width:T=0,height:s=0}=this.node||{};if(this.props.fileData instanceof Blob||this.props.fileData instanceof MediaSource){const v=(window.URL||window.webkitURL).createObjectURL(this.props.fileData);this.setState({url:v,displayWidth:T,displayHeight:s})}else console.error("Can't load file:",this.props.fileData)}),a()(this,"loadFromSrc",()=>{const{src:T}=this.props,{width:s=0,height:v=0}=this.node||{},m=this.findSmallestFormattedWidth(s,v);this.setState({url:T+(m?`?format=${m}w`:""),displayWidth:s,displayHeight:v})}),a()(this,"findSmallestFormattedWidth",(T,s)=>{let{formattedWidths:v,originalSize:m}=this.props;return v?(typeof v=="string"&&(v=v.split(",").map(E=>parseInt(E,10))),m&&(typeof m=="string"&&(m=m.split("x").map(E=>parseInt(E,10))),T=Math.min(T,s*m[0]/m[1])),Array.isArray(v)?d()(v,E=>T<=E):v):null}),a()(this,"handleLoad",T=>{const{onLoad:s,fileData:v}=this.props;let{url:m,displayWidth:E,displayHeight:I}=this.state;const L=T.target.width,W=T.target.height;W/L>=I/E?(E=Math.floor(Math.min(I,W)*L/W),I=Math.floor(E*W/L)):(E=Math.floor(Math.min(E,L)),I=Math.floor(E*W/L)),this.setState({loaded:!0,displayWidth:E,displayHeight:I}),s&&s(T,E,I),v&&(window.URL||window.webkitURL).revokeObjectURL(m)}),a()(this,"handleError",T=>{const{onError:s}=this.props;this.setState({hasError:!0}),s&&s(T)}),a()(this,"handleRef",T=>{this.node=T}),a()(this,"renderError",()=>i.createElement("span",{className:p().errorMsg},i.createElement(y.T,{project:"universal-ui"},"Error loading image"))),a()(this,"renderImage",()=>{const{url:T,loaded:s}=this.state,{alt:v,src:m}=this.props,E=u()(p().image,{[p().loaded]:!!s,[p().transparent]:!!m&&P.test(m)});return i.createElement("img",{alt:v,ref:this.handleRef,src:T||void 0,className:E,onLoad:this.handleLoad,onError:this.handleError})})}componentDidMount(){this.loadImage()}UNSAFE_componentWillReceiveProps(T){(T.fileData!==this.props.fileData||T.src!==this.props.src)&&this.setState({url:"",displayWidth:0,displayHeight:0,hasError:!1,loaded:!1})}shouldComponentUpdate(T,s){return O(this.props,T,["children","fileData","src"])||O(this.state,s,["url","loaded","hasError"])}componentDidUpdate(T){(T.fileData!==this.props.fileData||T.src!==this.props.src)&&this.loadImage()}render(){const{url:T,hasError:s,displayWidth:v,displayHeight:m}=this.state,{className:E,children:I}=this.props,L=g()(this.props,["alt","className","fileData","formattedWidths","onLoad","onError","originalSize","src"]),W=u()(p().container,E,{[p().error]:s,[p().empty]:!s&&!T}),F=s||!v?void 0:{width:v,marginLeft:-v/2,marginTop:-m/2};return i.createElement("div",o()({},L,{className:W,style:F}),s?this.renderError():this.renderImage(),I)}}a()(C,"defaultProps",{formattedWidths:[100,300,500,750,1e3,1500,2500],originalSize:[2500,2500]});const A=C},107299:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(642979),o=e.n(r),n=e(174161),a=e(795478),i=e.n(a);class c extends n.Component{async componentDidMount(){this.registerCallbacks(),typeof this.props.onLoad=="function"&&await this.props.onLoad()}componentDidUpdate(){this.registerCallbacks()}registerCallbacks(){Object.assign(window,{[c.RECEIVE_TOKEN_CALLBACK]:this.props.onReceiveToken,[c.ERROR_CALLBACK]:this.props.onError})}render(){const{action:f,siteKey:d}=this.props;return n.createElement("div",{className:c.RECAPTCHA_CLASSNAME,"data-action":f,"data-callback":c.RECEIVE_TOKEN_CALLBACK,"data-sitekey":d,"data-size":c.RECAPTCHA_TYPE,"data-expired-callback":c.ERROR_CALLBACK,"data-error-callback":c.ERROR_CALLBACK})}}o()(c,"RECAPTCHA_CLASSNAME","g-recaptcha"),o()(c,"RECAPTCHA_TYPE","invisible"),o()(c,"RECEIVE_TOKEN_CALLBACK","recaptchaReceiveTokenCallback"),o()(c,"ERROR_CALLBACK","recaptchaErrorCallback"),o()(c,"propTypes",{siteKey:i().string.isRequired,onReceiveToken:i().func.isRequired,onError:i().func.isRequired})},87706:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(174161),c=e(845076),u=e.n(c),f=e(79158),d=e.n(f);class h extends i.Component{constructor(){super(...arguments),a()(this,"state",{visible:this.props.delay===0}),a()(this,"initDelayTimeout",()=>{this.delayTimer=window.setTimeout(()=>{this.setState({visible:!0})},this.props.delay)})}componentDidMount(){this.props.delay&&this.props.delay>0&&this.initDelayTimeout()}componentWillUnmount(){this.delayTimer&&clearTimeout(this.delayTimer)}render(){const{size:_,color:p,horizontalAlign:y,verticalAlign:O,isOverlay:P,className:C,delay:A,...S}=this.props,{visible:T}=this.state,s=u()(C,d().spinner,_&&d()[_],p&&d()[p],{[d()[`halign-${y}`]]:!!y,[d()[`valign-${O}`]]:!!O,[d().overlay]:P});return T?i.createElement("div",o()({},S,{className:s,"data-test":"loading-spinner"})):null}}a()(h,"defaultProps",{color:"dark",delay:0,isOverlay:!1,size:"default"})},587732:function(b,l,e){"use strict";e.d(l,{Z:()=>Je});var r={};e.r(r),e.d(r,{alignNodes:()=>fe,alignNodesTooltip:()=>H});var o=e(160553),n=e.n(o),a=e(642979),i=e.n(a),c=e(976003),u=e.n(c),f=e(845076),d=e.n(f),h=e(174161),g=e(233284),_=e(552970),p=e.n(_),y=e(861673),O=e(204482),P=e(798589),C=e(732713),A=e(918925),S=e(461761),T=e.n(S),s=e(635489);let v=function(At){return At.TOP_LEFT="TOP_LEFT",At.TOP_CENTER="TOP_CENTER",At.TOP_RIGHT="TOP_RIGHT",At.CENTER_LEFT="CENTER_LEFT",At.CENTER_CENTER="CENTER_CENTER",At.CENTER_RIGHT="CENTER_RIGHT",At.BOTTOM_LEFT="BOTTOM_LEFT",At.BOTTOM_CENTER="BOTTOM_CENTER",At.BOTTOM_RIGHT="BOTTOM_RIGHT",At}({});const m=At=>({left:At.x,top:At.y}),E=At=>({x:At.left,y:At.top}),I=At=>At===Position.BOTTOM_LEFT||At===Position.CENTER_LEFT||At===Position.TOP_LEFT,L=At=>At===v.BOTTOM_RIGHT||At===v.CENTER_RIGHT||At===v.TOP_RIGHT,W=At=>At===v.BOTTOM_CENTER||At===v.BOTTOM_LEFT||At===v.BOTTOM_RIGHT,F=At=>At===Position.TOP_CENTER||At===Position.TOP_LEFT||At===Position.TOP_RIGHT,G=At=>At===v.BOTTOM_CENTER||At===v.CENTER_CENTER||At===v.TOP_CENTER,k=At=>At===v.CENTER_CENTER||At===v.CENTER_LEFT||At===v.CENTER_RIGHT,x=(At,xt,Qt)=>{Qt=typeof Qt=="number"?Qt:s.GRID_PX;const{innerHeight:qt,innerWidth:Te}=window,Gt=Object.assign({},At);return At.x+xt.width>Te-Qt&&(Gt.x=Te-xt.width-Qt),At.x<Qt&&(Gt.x=Qt),At.y+xt.height>qt-Qt&&(Gt.y=qt-xt.height-Qt),At.y<Qt&&(Gt.y=Qt),Gt},M=(At,xt)=>{const Qt={width:At.offsetWidth,height:At.offsetHeight},qt=x({x:xt.x-Math.floor(Qt.width/2),y:xt.y-Math.floor(Qt.height/2)},Qt);return{x:qt.x,y:qt.y}},B=At=>{const{lastX:xt,lastY:Qt}=Mouse.getPosition();return m(M(At,{x:xt,y:Qt}))},R=(At,xt,Qt)=>(At=Object.assign({x:0,y:0},At),xt=Object.assign({width:0,height:0},xt),L(Qt)&&(At.x+=xt.width),G(Qt)&&(At.x+=Math.floor(xt.width/2)),k(Qt)&&(At.y+=Math.floor(xt.height/2)),W(Qt)&&(At.y+=xt.height),At),U=(At,xt)=>{let{offsetX:Qt,offsetY:qt}=At;return L(xt)&&(Qt=-1*Qt),W(xt)&&(qt=-1*qt),{offsetX:Qt,offsetY:qt}},j=At=>At instanceof Object&&At.hasOwnProperty("top")&&At.hasOwnProperty("left"),$=At=>At instanceof Node||At instanceof Object&&!!At.nodeType,ee=At=>At==="window"||At===window,te=()=>{let At=window.innerWidth/2,xt=window.innerHeight/2;return T()(window,"Y.Squarespace.Mouse")&&(At=window.Y.Squarespace.Mouse.lastX,xt=window.Y.Squarespace.Mouse.lastY),{height:0,width:0,x:At,y:xt}},ie=()=>{const At=window.getSelection();if(At===null||At.rangeCount===0)return null;const xt=At.getRangeAt(0).getClientRects().item(0);if(xt){const{top:Qt,left:qt,height:Te,width:Gt}=xt;return{height:Te,width:Gt,x:qt,y:Qt}}},ne=At=>{const{top:xt,left:Qt}=At.getBoundingClientRect(),{offsetWidth:qt,offsetHeight:Te}=At;return{x:Qt,y:xt,width:qt,height:Te}},pe=At=>{const xt={height:0,width:0,x:0,y:0};let Qt={};if(!ee(At)){if(At==="mousepointer")Qt=te();else if(At==="selection")Qt=ie()||te();else if(At instanceof oe)Qt=At;else if($(At))Qt=ne(At);else if(j(At)){const qt=At;Qt={x:qt.left,y:qt.top,height:qt.height||0,width:qt.width||0}}}return Object.assign(xt,Qt)};class oe{constructor(xt){let Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};i()(this,"x",0),i()(this,"y",0),i()(this,"width",0),i()(this,"height",0),i()(this,"offsetY",0),i()(this,"offsetX",0),this.setProps(xt),this.setOptions(Qt)}setProps(xt){const{height:Qt,width:qt,x:Te,y:Gt}=pe(xt);this.height=Qt,this.width=qt,this.y=Gt,this.x=Te}setOptions(xt){const{offsetX:Qt,offsetY:qt}=xt;this.offsetY=qt||0,this.offsetX=Qt||0}getDimensions(){return{width:this.width,height:this.height}}getPoint(){return{x:this.x,y:this.y}}constrain(xt,Qt){(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"window")==="window"&&x(xt,Qt)}getJoinPoint(xt,Qt){const{offsetX:qt,offsetY:Te}=U({offsetX:this.offsetX,offsetY:this.offsetY},Qt.join);xt instanceof oe||(xt=new oe(xt));const Gt=R(xt.getPoint(),xt.getDimensions(),Qt.to),un=R({x:0,y:0},this.getDimensions(),Qt.join);return{x:Gt.x-un.x+qt,y:Gt.y-un.y+Te}}toJS(){return{x:this.x,y:this.y,width:this.width,height:this.height}}}const q=oe,J={padding:0,constrain:"window"},me={join:v.TOP_LEFT,to:v.TOP_RIGHT},re={join:v.CENTER_CENTER,to:v.CENTER_CENTER};function he(At,xt){let Qt=me;return(!xt||!xt.height&&!xt.width)&&(Qt=re),Object.assign({},Qt,J,At)}const Ee=(At,xt)=>{switch(At){case"center":return re;case"right":return{join:v.TOP_LEFT,to:v.TOP_RIGHT};case"left":return{join:v.TOP_RIGHT,to:v.TOP_LEFT};case"bottom":return{join:v.TOP_CENTER,to:v.BOTTOM_CENTER};case"top":return{join:v.BOTTOM_CENTER,to:v.TOP_CENTER};case"window":return he(At,xt);default:return he(At,xt)}},fe=function(At,xt){let Qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:J,qt=arguments.length>3?arguments[3]:void 0;const Te=Ee(Qt,new q(xt));Qt.padding&&(Te.offsetX=Qt.padding,Te.offsetY=Qt.padding);const Gt=new q(xt),un=new q(At,Te),Vt=un.getJoinPoint(Gt,Te);return m(x(Vt,un,qt))},H=(At,xt,Qt)=>{const qt=new q(xt),Te=new q(At),Gt={};for(const un of["right","left"]){const Vt=Ee(un),Dn=Te.getJoinPoint(qt,Vt),Wt=x(Dn,Te,Qt);if(Gt[un]={position:un,coords:Wt},Dn.x===Wt.x)return Gt[un]}return Gt.right};var z=e(184747),_e=e.n(z);const ae=document.querySelector(".sqs-damask")||document.createElement("div"),ge=At=>h.isValidElement(At);p().setAppElement(ae);class Be extends h.Component{constructor(){super(...arguments),i()(this,"state",{isUpdatingCoords:this.props.anchor!=="window",left:null,top:null}),i()(this,"modal",h.createRef()),i()(this,"setCoords",()=>{this.setState({isUpdatingCoords:!0},()=>{this._finishSettingCoordsOnStackEnd=window.setTimeout(this.finishSettingCoords,0)})}),i()(this,"finishSettingCoords",xt=>{this.setState(Qt=>({...Qt,...this.getCoords(),isUpdatingCoords:!1}),xt)}),i()(this,"getCoords",()=>{const xt=this.modal.current;if(!xt)return null;let{position:Qt,anchor:qt,globalPadding:Te}=this.props;if(ge(qt))qt=g.findDOMNode(qt);else if(qt==="window")return null;const Gt=fe(xt,qt,Qt,Te);return Gt||null}),i()(this,"onWindowKeyDown",xt=>{if(this._escHappenedOnInput=!1,O.isEscapeKey(xt)){if(!xt.target)return;const Qt=xt.target;(Qt.nodeName==="INPUT"&&typeof Qt.selectionDirection=="string"||Qt.nodeName==="TEXTAREA"||Qt.contentEditable==="true")&&(this._escHappenedOnInput=!0)}}),i()(this,"onWindowKeyUp",xt=>{O.isEscapeKey(xt)&&(xt.preventDefault(),xt.stopPropagation(),!this._escHappenedOnInput&&this.props.shouldCloseOnEsc&&this.handleRequestClose(xt))}),i()(this,"onTouchMove",xt=>{const Qt=xt.target;Qt&&Qt.classList.contains("ReactModal__Overlay")&&xt.preventDefault()}),i()(this,"handleRequestClose",xt=>{this.props.isOpen&&this.props.onRequestClose&&this.props.onRequestClose(xt)}),i()(this,"handleAfterClose",()=>{window.clearTimeout(this._afterCloseTimeout),window.removeEventListener("keydown",this.onWindowKeyDown,!0),window.removeEventListener("keyup",this.onWindowKeyUp,!0),document.body.removeEventListener("touchmove",this.onTouchMove)}),i()(this,"handleAfterOpen",()=>{window.clearTimeout(this._afterCloseTimeout),this.props.shouldCloseOnEsc&&window.addEventListener("keydown",this.onWindowKeyDown,!0),window.addEventListener("keyup",this.onWindowKeyUp,!0),document.body.addEventListener("touchmove",this.onTouchMove),this.props.onAfterOpen&&this.props.onAfterOpen()}),i()(this,"handleDragStart",()=>{if(!this.modal.current)return;let{left:xt,top:Qt}=this.state;(typeof xt!="number"||typeof Qt!="number")&&({left:xt,top:Qt}=this.modal.current.getClientRects()[0]),this.setState({left:xt,top:Qt,isDragging:!0})}),i()(this,"handleDrag",xt=>{let{deltaX:Qt,deltaY:qt}=xt;this.setState(Te=>{let{left:Gt,top:un}=Te;return{left:Gt!==null?Gt+Qt:Gt,top:un!==null?un+qt:un}})}),i()(this,"handleDragEnd",()=>{this.setState({isDragging:!1})}),i()(this,"renderDraggableInside",()=>h.createElement(y.DragTrigger,{handleSelector:this.props.dragHandleSelector,onDrag:this.handleDrag,onDragStart:this.handleDragStart,onDragEnd:this.handleDragEnd},this.renderInside())),i()(this,"renderInside",()=>{const{theme:xt,className:Qt,width:qt,height:Te,testAttr:Gt,children:un}=this.props,Vt=Object.assign({width:qt,height:Te},this.props.style),Dn=d()(_e().container,xt&&_e()[xt],Qt);return h.createElement("div",{ref:this.modal,className:Dn,style:Vt,"data-test":Gt},un)})}componentDidMount(){this.props.isOpen&&this.props.anchor!=="window"&&this.setCoords()}UNSAFE_componentWillReceiveProps(xt){const{anchor:Qt,position:qt,isOpen:Te}=this.props;(xt.anchor&&!u()(Qt,xt.anchor)||xt.position&&!u()(qt,xt.position))&&this.setCoords(),Te&&!xt.isOpen&&(window.clearTimeout(this._afterCloseTimeout),this._afterCloseTimeout=window.setTimeout(()=>this.handleAfterClose(),300))}componentDidUpdate(xt){this.props.isOpen&&!xt.isOpen&&this.props.anchor!=="window"&&this.setCoords()}componentWillUnmount(){this.handleAfterClose(),window.clearTimeout(this._finishSettingCoordsOnStackEnd),this.props.isOpen?this.finishSettingCoords():this.setState({isUpdatingCoords:!1})}render(){const{anchor:xt,className:Qt,overlayClassName:qt,onRequestClose:Te,isOpen:Gt,contentLabel:un,hideOverlay:Vt,isDraggable:Dn,breakpoint:Wt,style:Pe,theme:xe,zIndexOverride:Ae,...qe}=this.props,{left:wt,top:kt,isUpdatingCoords:ut,isDragging:Ft}=this.state,tn=wt||kt?{top:kt,left:wt,position:"absolute",height:"auto"}:{},In=Ae||Ae===0?{overlay:{zIndex:Ae}}:{},rr={content:Object.assign(tn,{visibility:ut?"hidden":null,transition:Ft?"none":null})},Sr=Object.assign(rr,In),Yr=d()(_e().content,xe&&_e()[xe],{[_e().positionToPoint]:xt!=="window"||typeof wt=="number"}),Pr=d()(_e().overlay,qt,{[_e().hideOverlay]:Vt});return h.createElement(p(),n()({closeTimeoutMS:300,style:Sr,className:Yr,overlayClassName:Pr,isOpen:Gt,contentLabel:un},qe,{onRequestClose:this.handleRequestClose,onAfterOpen:this.handleAfterOpen}),Dn&&!P.isMobile(Wt)?this.renderDraggableInside():this.renderInside())}}i()(Be,"defaultProps",{anchor:"window",contentLabel:(0,A.t)("Modal",null,{project:"universal-ui"}),height:"auto",hideOverlay:!1,isDraggable:!1,isOpen:!1,onRequestClose:()=>{console.log("[Modal.props.onRequestClose] callback not implemented.")},position:"center",shouldCloseOnEsc:!0,theme:"damask",width:350});const Ke=(0,C.Z)(Be);var He=e(555234),ye=e.n(He);class Le extends h.Component{render(){const{hasRule:xt,className:Qt,theme:qt,children:Te,onClick:Gt}=this.props,un=d()(ye().header,qt&&ye()[qt],Qt,{[ye().hasRule]:xt});return h.createElement("div",{className:un,onClick:Gt},Te)}}const Ue=Le;var Xe=e(892562),Fe=e.n(Xe);class ht extends h.Component{componentDidMount(){const xt=g.findDOMNode(this);if(xt){const Qt=xt.parentNode;Qt.className=d()(Qt.className,Fe().parent)}}render(){let{className:xt,theme:Qt,children:qt,...Te}=this.props;return xt=d()(Fe().body,Qt&&Fe()[Qt],xt),h.createElement("div",n()({className:xt},Te),qt)}}const Ne=ht;var Ce=e(18755),we=e.n(Ce);class $e extends h.Component{render(){const{style:xt,className:Qt,theme:qt,...Te}=this.props,Gt=d()([we().footer,qt&&we()[qt],Qt]);return h.createElement("div",n()({className:Gt,style:xt},Te),this.props.children)}}i()($e,"defaultProps",{style:null,theme:"damask"});var Ot=e(435111),Pt=e.n(Ot);class Ie extends h.Component{render(){const{type:xt,children:Qt,className:qt,theme:Te,...Gt}=this.props;return h.createElement("button",n()({},Gt,{className:d()(Pt().button,Pt()[xt],Te&&Pt()[Te],qt)}),Qt)}}i()(Ie,"defaultProps",{"data-test":"modal-button-test",theme:"damask",type:"minor"});const Bt=Ie;var mt=e(307248),rt=e.n(mt),ce=e(860921),Re=e.n(ce);class nt extends h.Component{render(){const{anchor:xt,isOpen:Qt,onCancel:qt,onConfirm:Te,title:Gt,children:un,cancelText:Vt,confirmText:Dn,testAttr:Wt,theme:Pe,...xe}=this.props;return h.createElement(Ke,n()({},xe,{testAttr:Wt,isOpen:Qt,onRequestClose:qt,anchor:xt,style:{textAlign:"center"},theme:Pe}),Gt&&h.createElement(Ue,{className:d()({[rt().headerWithoutBody]:!un})},Gt),un&&h.createElement(Ne,null,un),h.createElement($e,{theme:Pe},h.createElement(Bt,{onClick:qt,"data-test":`${Wt}-button-cancel`},Vt),h.createElement(Bt,{onClick:Te,"data-test":`${Wt}-button-confirm`},Dn)))}}i()(nt,"defaultProps",{anchor:"mousepointer",cancelText:(0,A.t)("Cancel",null,{project:"universal-ui",notes:"oldKey: dialogCancel"}),confirmText:(0,A.t)("Confirm",null,{project:"universal-ui",notes:"oldKey: dialogConfirm"}),onCancel:Re(),testAttr:"confirmation",theme:"damask",title:(0,A.t)("Are you sure?",null,{project:"universal-ui"})});var st=e(259549),vt=e.n(st);class ze extends h.Component{constructor(){super(...arguments),i()(this,"getPointingDirectionClass",xt=>["left","right","center","top","bottom"].indexOf(xt)!==-1?xt:T()(v,xt.join,"center"))}render(){const{direction:xt,...Qt}=this.props,qt=this.getPointingDirectionClass(xt),Te=d()(vt().pointer,vt()[qt]);return h.createElement("div",n()({className:Te},Qt))}}const It=ze;var on=e(845193),Pn=e.n(on),Yn=e(487109),Ln=e.n(Yn),bn=e(5921),ir=e.n(bn),Zn=e(153940),$n=e.n(Zn),jt=e(186100),Rn=e.n(jt);const jn=At=>typeof At=="object",Tn=At=>At==="center"||At.join===v.CENTER_LEFT||At.join===v.CENTER_RIGHT,Nn=At=>At==="left"||At==="right"||At.join===v.TOP_RIGHT||At.join===v.TOP_LEFT;class cn extends h.Component{constructor(){super(...arguments),i()(this,"state",{animatingClassName:!1}),i()(this,"pointerRef",null),i()(this,"getButtonClickHandler",xt=>{const Qt=xt.onClick||this.props.onRequestClose;return qt=>{Qt({command:xt.type,buttonClickEvent:qt})}}),i()(this,"positionPointer",()=>{setTimeout(()=>{const xt=g.findDOMNode(this.pointerRef);if(!xt)return;const Qt=xt.parentElement,qt=jn(this.props.anchor)?g.findDOMNode(this.props.anchor):this.props.anchor;if(Qt&&xt&&qt){const Te=this.getPointerTop(Qt.offsetHeight,xt.offsetHeight,qt.offsetHeight);xt.style.top=Math.floor(Te)+"px"}},0)}),i()(this,"getPointerTop",(xt,Qt,qt)=>{const Te=this.props.position,Gt=(qt-Qt)/2,un=(xt-Qt)/2;return Tn(Te)?un:Nn(Te)?qt>xt?un:Gt:((typeof Te=="object"&&Te.join===v.BOTTOM_LEFT||Te.join===v.BOTTOM_RIGHT)&&console.warn("Aligning pointers here is not generally supported."),0)}),i()(this,"shake",()=>{this.animateModal($n().shake)}),i()(this,"shiver",()=>{this.animateModal($n().shiver)}),i()(this,"animateModal",xt=>{this.setState({animatingClassName:xt}),setTimeout(()=>{this.setState({animatingClassName:null})},300)}),i()(this,"getDirectionToAnimate",()=>{const{position:xt}=this.props;return typeof xt=="string"?"to"+ir()(xt):null}),i()(this,"renderButtons",()=>{if(this.props.buttons.length===0)return null;const xt=d()({[Rn().dialogFooter]:!0,[Rn().isHidingFooter]:this.props.showFooter}),Qt=this.props.buttons.map(qt=>h.createElement(Je.Button,{disabled:qt.isDisabled||!1,key:qt.type,type:qt.type==="delete"?"caution":"minor",onClick:this.getButtonClickHandler(qt)},qt.label));return h.createElement(Je.Footer,{className:xt},Qt)}),i()(this,"renderHeader",()=>Ln()(this.props.title)===""&&!this.props.alwaysShowHeader?null:h.createElement(Je.Header,n()({},this.props.header,{className:d()(Rn().dialogHeader,this.props.header.className)}),this.props.title)),i()(this,"renderPointer",()=>this.props.hasAnchorPointer?h.createElement(It,{ref:xt=>{this.pointerRef=xt},direction:this.props.position}):null)}UNSAFE_componentWillUpdate(xt){xt.isOpen&&!this.props.isOpen&&this.props.hasAnchorPointer&&this.positionPointer()}render(){const{anchor:xt,showFooter:Qt,children:qt,className:Te,isOpen:Gt,onRequestClose:un,position:Vt,overlayClassName:Dn,body:Wt,scrollWrapper:Pe,...xe}=this.props;delete xe.hasAnchorPointer;const Ae=this.getDirectionToAnimate(),qe=Ae&&Rn()[Ae],wt=d()("DialogModal",qe,Dn),kt=d()(Rn().container,Te,typeof this.state.animatingClassName=="string"&&this.state.animatingClassName,{[Rn().isHidingFooter]:!Qt,[Rn().fixedHeight]:Pn()(this.props.height)}),ut=d()("u-dialog-body",Rn().dialogBody,Wt.className),Ft=d()("u-dialog-scroll-wrapper",Rn().scrollWrapper,Pe.className);return h.createElement(Je,n()({anchor:xt,className:kt,isOpen:Gt,onRequestClose:un,overlayClassName:wt,position:Vt},xe),this.renderHeader(),h.createElement(Je.Body,{className:ut},h.createElement("div",{className:Ft},qt)),this.renderButtons(),this.renderPointer())}}i()(cn,"defaultProps",{body:{fullSize:!1},buttons:[{label:(0,A.t)("Discard Changes",null,{project:"universal-ui"}),type:"discard"},{label:(0,A.t)("Save Changes",null,{project:"universal-ui"}),type:"save"}],hasAnchorPointer:!0,header:{alignment:"center",hasRule:!1},height:"auto",isOpen:!1,onRequestClose:()=>{console.log("[Dialog.props.onRequestClose] callback not implemented.")},position:"right",scrollWrapper:{},showFooter:!1,title:"",width:352});const or=cn;class qn extends h.PureComponent{constructor(){super(...arguments),i()(this,"state",{isOpen:!!this.props.startOpen}),i()(this,"node",null),i()(this,"handleReceiveRef",xt=>{this.node=xt}),i()(this,"onClose",()=>{this.setState({isOpen:!1})}),i()(this,"bindEvent",xt=>{const Qt={};return(Array.isArray(xt)?xt:[xt]).forEach(Te=>Qt["on"+ir()(Te)]=this.handleToggleIsOpen),Qt}),i()(this,"handleToggleIsOpen",xt=>{const Qt=xt.target,qt=xt.currentTarget;(Qt===qt||qt&&qt.contains(Qt))&&(xt.stopPropagation(),this.setState({isOpen:!this.state.isOpen}))})}render(){const{children:xt,component:Qt,uiEvent:qt,className:Te,...Gt}=this.props,{isOpen:un}=this.state,Vt=d()(Te,"u-trigger");return delete Gt.startOpen,h.createElement("div",n()({ref:this.handleReceiveRef,className:Vt},this.bindEvent(qt),Gt),xt,Qt(un,this.onClose,this.node))}}i()(qn,"defaultProps",{uiEvent:"click"});const Hr=qn;class fo extends h.Component{constructor(){super(...arguments),i()(this,"node",null),i()(this,"state",{isOpen:!!this.props.startOpen,isConfirmationOpen:!1}),i()(this,"handleReceiveRef",xt=>{this.node=xt}),i()(this,"onShowConfirm",()=>{this.setState({isConfirmationOpen:!0})}),i()(this,"onClose",()=>{this.setState({isOpen:!1,isConfirmationOpen:!1})}),i()(this,"bindEvent",xt=>{const Qt={};return(Array.isArray(xt)?xt:[xt]).forEach(Te=>Qt["on"+ir()(Te)]=this.handleToggleIsOpen),Qt}),i()(this,"handleToggleIsOpen",xt=>{xt.stopPropagation(),this.setState({isOpen:!this.state.isOpen})}),i()(this,"renderConfirmation",()=>{const{confirmTitle:xt,confirmBody:Qt,onConfirm:qt}=this.props,{isConfirmationOpen:Te}=this.state;return h.createElement(nt,{anchor:"mousepointer",isOpen:Te,onConfirm:()=>{this.setState({isConfirmationOpen:!1,isOpen:!1}),qt()},onCancel:()=>{this.setState({isConfirmationOpen:!1})},title:xt},Qt)})}render(){const{children:xt,className:Qt,component:qt,uiEvent:Te,...Gt}=this.props,{isOpen:un}=this.state,Vt=d()(Qt,"u-trigger");return h.createElement("div",n()({ref:this.handleReceiveRef,className:Vt},this.bindEvent(Te),Gt),xt,qt(un,this.onClose,this.node,this.onShowConfirm),this.renderConfirmation())}}i()(fo,"defaultProps",{onConfirm:()=>console.warn("[ConfirmableTrigger] Warning: No onConfirm set; you should probably be using a normal Trigger"),uiEvent:"click"});const ro=Object.assign(or,{Trigger:Hr,ConfirmableTrigger:fo}),Je=Object.assign(Ke,{Body:Ne,Button:Bt,Footer:$e,Header:Ue,Confirmation:nt,Dialog:ro,Position:v,positionAdapter:r,ReactModal:p()})},474641:function(b,l,e){"use strict";e.d(l,{Z:()=>S});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(174161),c=e(845076),u=e.n(c),f=e(210750),d=e.n(f),h=e(881707),g=e(590979),_=e.n(g);const{DragDelegator:p,DropZone:y}=e(861673),{CSSTransitionGroup:O,CSSTransitionGroupPresets:P}=e(721247),C=P.Reorderable.transitions;function A(T,s){if(!T||!s)return T===s||!T&&!s;if(T.length!==s.length)return!1;for(let v=0;v<T.length;v++)if(T[v]!==s[v])return!1;return!0}class S extends i.Component{constructor(s){super(s),a()(this,"onDropEnter",d()(v=>{const{reorderingItems:m,dragItem:E}=this.state;if(!m)throw new Error("ReorderableGroup bad state - no reorderingItems onDropEnter");if(!E)return;const I=this.state.childItems.slice(0);if(!this.state.itemsInitialIndices)throw new Error("ReorderableGroup bad state - no itemsInitialIndices onDropEnter");const L=new Map(this.state.itemsInitialIndices);this.getAffectedItemsInitialIndices(v).forEach(W=>{let[F,G]=W;L.has(F)||L.set(F,G)}),this.reorderDragItem(I,v),m.length>1&&this.reorderMultipleItems(I),this.setState({childItems:I,itemsInitialIndices:L})},140)),this.state={childItems:s.childItems.slice(0),reorderingItems:null,dragItem:null,itemsInitialIndices:void 0,propsChildItems:this.props.childItems}}static getDerivedStateFromProps(s,v){const{childItems:m,propsChildItems:E}=v,{childItems:I}=s;return!A(I,E)&&m!==I?{childItems:I.slice(0),propsChildItems:I}:null}shouldComponentUpdate(s,v){const{children:m,childItemRenderer:E,className:I,itemsToMultiReorder:L}=this.props,{childItems:W,dragItem:F}=this.state;return I!==s.className||!A(W,v.childItems)||!A(L,s.itemsToMultiReorder)||F!==v.dragItem||!v.dragItem&&(m!==s.children||E!==s.childItemRenderer)}componentDidUpdate(s){const v=this.props.itemsToMultiReorder}handleDragStart(s){const{onDragStart:v}=this.props;typeof v=="function"&&v(s);const{itemsToMultiReorder:m}=this.props,{childItems:E}=this.state,I=[],L=[];if(E){if(m&&m.length>1&&m.indexOf(s)>-1){L.push(...m);const W=E.indexOf(L[0]),F=E.indexOf(L[L.length-1])+1,k=E.slice(W,F).map((x,M)=>[x,W+M]);I.push(...k)}else L.push(s),I.push([s,E.indexOf(s)]);this.setState({dragItem:s,reorderingItems:L,itemsInitialIndices:new Map(I)})}}reorderDragItem(s,v){const{dragItem:m}=this.state;s.splice(s.indexOf(m),1),s.splice(v,0,m)}reorderMultipleItems(s){const{dragItem:v,reorderingItems:m}=this.state;if(!m)throw new Error("ReorderableGroup bad state - no reorderingItems in reorderMultipleItems");const E=m.indexOf(v),I=m.slice(0,E),L=m.slice(E+1),W=F=>{s.splice(s.indexOf(F),1)};I.forEach(W),L.forEach(W),s.splice(s.indexOf(v),0,...I),s.splice(s.indexOf(v)+1,0,...L)}getAffectedItemsInitialIndices(s){const{childItems:v,reorderingItems:m}=this.state;if(!m)throw new Error("ReorderableGroup bad state - no reorderingItems in getAffectedItemsInitialIndices");const E=m.length,I=v.indexOf(m[0]),L=E===1?I:v.indexOf(m[E-1]),W=Math.min(s,I),F=Math.max(s,L)+1;return v.slice(W,F).map((G,k)=>[G,W+k])}handleDragEnd(){const{dragItem:s,itemsInitialIndices:v}=this.state;if(!v)throw new Error("ReorderableGroup bad state - no itemsInitialIndices in handleDragEnd");this.onDropEnter.cancel(),this.setState({dragItem:null,itemsInitialIndices:void 0,reorderingItems:null},()=>{this.executeReorderCallback(v);const{onDragEnd:m}=this.props;typeof m=="function"&&m(s)})}executeReorderCallback(s){if(!s)return;const{childItems:v}=this.state,m=new Map;s.forEach((E,I)=>{const L=v.indexOf(I);E!==L&&m.set(I,L)}),m.size>0&&this.props.onReorder&&this.props.onReorder(m,v)}renderChild(s,v,m){if(!this.props.getChildKeyFromItem)throw new Error("ReorderableGroup bad state - no getChildKeyFromItem in renderChild");const E=this.props.getChildKeyFromItem(v);if(E==null)throw new Error("[ReorderableGroup] children require keys");const{groupName:I,childItemRenderer:L,handleSelector:W,draggingClassName:F}=this.props,{reorderingItems:G}=this.state,k=!!G&&G.length>1&&G.indexOf(v)>-1;return i.createElement(s,{key:"drag-"+E,group:I,onDragStart:this.handleDragStart.bind(this,v),handleSelector:W},(x,M)=>i.createElement(y,{key:"drop-"+E,position:m,group:I,onDropEnter:this.onDropEnter.bind(this,m),locked:x||k},(B,R)=>{const U={[_()["childItem-dragging"]]:x,[_()["childItem-multiReordering"]]:k};F&&(U[F]=x);const j=u()(U);if(!L)throw new Error("no renderer!");return L(v,j,{isDragging:x,isDragOver:M,isDropActive:B,isDropOver:R,isMultiReorder:k},m)}))}render(){const{className:s,children:v,extraChildItems:m,groupName:E,proxyClassName:I,reorderingClassName:L,groupClassName:W,groupComponent:F,draggingClassName:G,handleSelector:k,childItems:x,childItemRenderer:M,getChildKeyFromItem:B,itemsToMultiReorder:R,onReorder:U,onDragStart:j,onDragEnd:$,useOverwriteCount:ee,...te}=this.props,{reorderingItems:ie}=this.state,ne=u()(I,_().proxy,{[_()["proxy-multipleItems"]]:!!ie&&ie.length>1});return i.createElement(h.Z,{className:s},i.createElement(p,o()({key:"dragDelegator",autoScroll:!0,constraint:!0,release:!0},te,{className:_().dragContainer,proxyClassName:ne,group:E,onDragEnd:this.handleDragEnd.bind(this)}),(pe,oe)=>i.createElement(O,{className:W,component:F,key:"transitions",wrapChildWithTag:!1,transitions:C,animatingClassName:L,"data-selector":"transition-group"},this.state.childItems.map(this.renderChild.bind(this,oe)),m)),typeof v=="function"?v(this.state.dragItem):v)}}a()(S,"defaultProps",{childItemRenderer:T=>T,childItems:[],getChildKeyFromItem:T=>T.key,groupComponent:"div",groupName:"reorderableGroup",itemsToMultiReorder:[],onReorder:()=>{},useOverwriteCount:!1})},708674:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(642979),o=e.n(r),n=e(174161),a=e(134521),i=e.n(a);const c=(f,d,h)=>{if(!d||!f)return!1;const{x:g,y:_}=f;return g>=d.left&&g<=d.right&&_>=d.top&&_<=d.bottom};class u extends n.PureComponent{constructor(d){super(d),o()(this,"onClose",()=>{this.setState({isOpen:!1})}),o()(this,"handleMouseMove",h=>{const g=h.clientX,_=h.clientY,p=22;this.__box&&(c({x:g,y:_},this.__box,p)?this.throttledSetState({x:g,y:_}):this.handleLeave())}),o()(this,"handleScroll",i()(h=>{const{x:g,y:_}=this.state;this.syncBoundaryBox(),c({x:g,y:_},this.__box)?this.throttledSetState({x:g,y:_}):this.handleLeave()},16)),o()(this,"handleEnter",h=>{const g=h.clientX,_=h.clientY;!this.__timer&&!this.state.isOpen&&(this.setState({x:g,y:_}),this.syncBoundaryBox(),this.attachBodyListener(),this.__timer=setTimeout(()=>{this.setState({isOpen:!0}),this.__timer=void 0},this.props.openDelay))}),o()(this,"throttledSetState",i()((h,g)=>{this.setState(h,g)},16)),this.state={isOpen:d.enabled&&d.startOpen,x:0,y:0}}UNSAFE_componentWillReceiveProps(){this.syncBoundaryBox()}componentDidMount(){this.syncBoundaryBox()}componentWillUnmount(){this.detachBodyListener()}syncBoundaryBox(){const d=this.refs.wrapper;d&&(this.__box=d.getBoundingClientRect())}handleLeave(){this.__timer&&(window.clearTimeout(this.__timer),this.__timer=void 0),this.detachBodyListener(),this.setState({isOpen:!1})}attachBodyListener(){document.body.addEventListener("mousemove",this.handleMouseMove,!1),document.addEventListener("scroll",this.handleScroll,!0)}detachBodyListener(){document.body.removeEventListener("mousemove",this.handleMouseMove,!1),document.removeEventListener("scroll",this.handleScroll,!0)}render(){const{children:d,component:h,enabled:g,className:_}=this.props,{isOpen:p,x:y,y:O}=this.state,P=this.refs.wrapper,C=n.cloneElement(h(p,this.onClose,P),{overlayClassName:"Hovering",coords:{x:y,y:O}});return n.createElement("div",{ref:"wrapper",className:_,onMouseEnter:this.handleEnter},d,g&&C)}}o()(u,"defaultProps",{enabled:!0,openDelay:0,startOpen:!1})},514548:function(b,l,e){"use strict";e.d(l,{Z:()=>O});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(174161),c=e(233284),u=e(845076),f=e.n(u),d=e(586091),h=e.n(d);class g extends i.Component{constructor(C){super(C),a()(this,"handleAnimationEnd",()=>{this.setState({isClosing:!1})}),this.state={isClosing:!1}}UNSAFE_componentWillReceiveProps(C){!C.isOpen&&this.props.isOpen&&this.setState({isClosing:!0}),C.isOpen&&this.setState({isClosing:!1})}render(){const{anchor:C,children:A,className:S,coords:T,description:s,isOpen:v,position:m,title:E,width:I}=this.props,{isClosing:L}=this.state,W=m,F=typeof m=="string"?h()[m]:`${W.to}-${W.join}`,G={left:T.x,top:T.y,width:I},k=f()("u-tooltip-portal",h().container,S,F,{[h().isOpen]:!!v,[h().isClosing]:!!L,[h().isAnchored]:!!C});return!v&&!L?null:i.createElement("div",{onAnimationEnd:this.handleAnimationEnd,className:k,style:G},E&&i.createElement("div",{className:h().title},E),s&&i.createElement("div",{className:h().description},s),A)}}a()(g,"defaultProps",{coords:{x:-1e3,y:-1e3},isOpen:!1,onClose:()=>{},onOpen:()=>{},timeout:200,variant:"info",width:350});var _=e(587732),p=e(633305),y=e.n(p);class O extends i.Component{constructor(C){super(C),a()(this,"updateCoords",A=>{const{anchor:S}=this.props;let T;try{T=c.findDOMNode(this.tooltip)}catch{}if(!T||!S)return;const{coords:s,position:v}=_.Z.positionAdapter.alignNodesTooltip(T,S,11);this.setState({position:v,coords:s},A)}),a()(this,"renderPortal",A=>{const S=v=>{this.tooltip?v():this.tooltip=c.render(i.createElement(g,o()({},A,this.state)),this.node,v)},T=v=>{this.tooltip=c.render(i.createElement(g,o()({},A,this.state)),this.node,()=>{this.updateCoords(v)})},s=()=>{this.tooltip=c.render(i.createElement(g,o()({},A,this.state)),this.node)};S(()=>T(s))}),this.state={position:"right",coords:{x:0,y:0}},this.node=document.createElement("div")}componentDidMount(){this.node.className=y().portal,document.body.appendChild(this.node),this.renderPortal(this.props)}componentWillUnmount(){queueMicrotask(()=>{c.unmountComponentAtNode(this.node),document.body.removeChild(this.node)})}UNSAFE_componentWillReceiveProps(C){this.renderPortal(C)}render(){return null}}a()(O,"defaultProps",{isOpen:!1,variant:"info",width:250})},348969:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(642979),o=e.n(r),n=e(174161),a=e(708674),i=e(514548);class c extends n.PureComponent{render(){const{children:f,description:d,openDelay:h,position:g,title:_,tooltipClassName:p,className:y}=this.props;return n.createElement(a.Z,{className:y,openDelay:h,component:(O,P,C)=>n.createElement(i.Z,{isOpen:O,position:g,title:_,anchor:C,className:p,description:d})},f)}}o()(c,"defaultProps",{description:"",openDelay:150,position:"right",title:""})},413981:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(174161),c=e(324959),u=e(280845),f=e(63141);class d extends i.Component{constructor(g){super(g),a()(this,"handleDrag",_=>{const{multiple:p,onDragEnter:y,validMimeTypes:O}=this.props,P=_.dataTransfer.items;if(P&&P[0]&&P[0].size!==void 0){const{invalidTypeFiles:C,files:A}=(0,f.Z)(P,{validMimeTypes:O,maxSize:void 0});if(!p&&C.length!==0||C.length===A.length)return}_.preventDefault(),(0,c.Z)(_.dataTransfer,"copy"),y&&y()}),a()(this,"handleDragLeave",()=>{const{onDragLeave:_}=this.props;_&&_()}),a()(this,"handleDrop",_=>{const{multiple:p,onDrop:y,validMimeTypes:O,maxSize:P}=this.props,{files:C,invalidTypeFiles:A,oversizedFiles:S}=(0,f.Z)(_.dataTransfer.files,{validMimeTypes:O,maxSize:P});if(_.preventDefault(),_.stopPropagation(),A.length>0){this.setState({invalidTypeFiles:A}),this.handleDragLeave();return}if(S.length>0){this.setState({oversizedFiles:S}),this.handleDragLeave();return}y(p?C:C[0])}),a()(this,"renderValidationError",()=>{const{maxSize:_,validMimeTypes:p}=this.props,{invalidTypeFiles:y,oversizedFiles:O}=this.state;return i.createElement(u.Z,{maxSize:_,validMimeTypes:p||[],oversizedFiles:O||[],invalidTypeFiles:y||[],onDismiss:()=>this.setState({invalidTypeFiles:void 0,oversizedFiles:void 0})})}),this.state={invalidTypeFiles:void 0,oversizedFiles:void 0}}render(){const{children:g,className:_,onDragEnter:p,onDragLeave:y,validMimeTypes:O,maxSize:P,multiple:C,onDrop:A,...S}=this.props;return i.createElement("div",o()({},S,{onDragEnter:this.handleDrag,onDragOver:this.handleDrag,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop,className:_}),g,this.renderValidationError())}}},392241:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(642979),o=e.n(r),n=e(174161),a=e(799401),i=e.n(a),c=e(575796),u=e.n(c),f=e(280845),d=e(63141),h=e(414809),g=e.n(h);class _ extends n.Component{constructor(y){super(y),o()(this,"handleChange",O=>{if(!O.target.files||O.target.files.length===0)return;O.preventDefault();const{onChange:P,multiple:C}=this.props,{invalidTypeFiles:A,oversizedFiles:S,files:T}=(0,d.Z)(O.target.files,this.props);A.length>0?this.setState({invalidTypeFiles:A}):S.length>0?this.setState({oversizedFiles:S}):P(C?T:T[0]),setTimeout(()=>{if(this.refs.fileInput){const s=this.refs.fileInput;s.value=null}},0)}),o()(this,"renderValidationError",()=>{const{maxSize:O,validMimeTypes:P}=this.props,{invalidTypeFiles:C,oversizedFiles:A}=this.state;return n.createElement(f.Z,{maxSize:O,validMimeTypes:P,oversizedFiles:A||[],invalidTypeFiles:C||[],onDismiss:()=>this.setState({invalidTypeFiles:void 0,oversizedFiles:void 0})})}),o()(this,"renderForEdge",O=>{const{multiple:P,children:C,className:A,disabled:S}=this.props,T=u()("inputfile_");return n.createElement("div",{className:g().containerMSEdge},n.createElement("input",{className:g().fileInput,id:T,ref:"fileInput",type:"file",onChange:this.handleChange,accept:O,multiple:P,"data-test":"file-picker-input",disabled:S}),n.createElement("label",{className:A,htmlFor:T},C),this.renderValidationError())}),this.state={oversizedFiles:void 0,invalidTypeFiles:void 0}}render(){const{children:y,validMimeTypes:O,multiple:P,className:C}=this.props;let A;return O&&(A=O.join(),i().name==="Firefox"&&A.indexOf("image/jpeg")>-1&&(A=[A,".jpeg",".jpg"].join())),i().name==="Microsoft Edge"?this.renderForEdge(A):n.createElement("label",{className:C},n.createElement("input",{className:g().fileInput,ref:"fileInput",type:"file",onChange:this.handleChange,accept:A??void 0,multiple:P,"data-test":"file-picker-input"}),y,this.renderValidationError())}}o()(_,"defaultProps",{disabled:!1,multiple:!1,validMimeTypes:null})},280845:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(642979),o=e.n(r),n=e(174161),a=e(283238),i=e(918925);class c extends n.Component{constructor(){super(...arguments),o()(this,"renderFileNameList",f=>n.createElement("ul",{style:{margin:"11px 0 0",listStyle:"none"}},f.map(d=>{let{name:h}=d;return n.createElement("li",{key:h},h)}))),o()(this,"renderTypeErrorAlert",()=>{const{validMimeTypes:f,invalidTypeFiles:d,onDismiss:h}=this.props,g=f.map(_=>_.slice(_.indexOf("/")+1)).join(", ");return n.createElement(a.Z,{key:"alert",isOpen:!0,title:(0,i.t)("Invalid File Type",null,{project:"universal-ui"}),onDismiss:h},n.createElement(i.T,{validFileTypes:g,project:"universal-ui"},"Only {validFileTypes} files are accepted."),n.createElement("br",null),d.length>1&&(0,i.t)("The following files are of invalid file types.",null,{project:"universal-ui"}),this.renderFileNameList(d))}),o()(this,"renderSizeErrorAlert",()=>{const{maxSize:f,oversizedFiles:d,onDismiss:h}=this.props,g=n.createElement("strong",null,n.createElement(i.T,{maxSize:f,project:"universal-ui",notes:"File Size, in megabytes (MB)"},"{maxSize}MB")),_=n.createElement("strong",null,d[0].name);return n.createElement(a.Z,{key:"alert",isOpen:!0,title:(0,i.t)("File Size Limit Exceeded",null,{project:"universal-ui"}),onDismiss:h},n.createElement(i.T,{maxSizeMBs:g,project:"universal-ui",oversizedFileName:_},"The file {oversizedFileName} is too large. The maximum allowed file size is {maxSizeMBs}."),n.createElement("br",null),d.length>1&&(0,i.t)("The following files exceed the size limit.",null,{project:"universal-ui"}),d.length>1&&this.renderFileNameList(d))})}render(){const{invalidTypeFiles:f,oversizedFiles:d}=this.props;return f&&f.length>0&&this.renderTypeErrorAlert()||d&&d.length>0&&this.renderSizeErrorAlert()||n.createElement(a.Z,{key:"alert",title:"...",isOpen:!1})}}},63141:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(392338),o=e.n(r),n=e(597800),a=e(935662),i=e.n(a),c=e(762379);const u=(g,_)=>g.filter(p=>{const y="."+p.name.split(".").slice(-1);return!_.includes(p.type)&&!_.includes(y)}),f=(g,_)=>{const p=_*n.Z.BYTES_IN_MB;return g.filter(y=>y.size>p)},h=(g,_)=>{let{validMimeTypes:p,maxSize:y}=_;const O=Array.prototype.slice.call(g,0);return{files:O,invalidTypeFiles:p?u(O,p):[],oversizedFiles:y&&!c.Z.isFeatureEnabled(i().ALLOW_VIP_SIZE_UPLOADS)?f(O,y):[]}}},918925:function(b,l,e){"use strict";e.d(l,{T:()=>u,t:()=>A});var r=e(59794),o=e(555912),n=e(280045);const a=(0,n.Z)(),i=new r.default(a),c=new o.default(a),{T:u,Plural:f,FormattedCurrency:d,FormattedNumber:h,FormattedDateTime:g,FormattedMoney:_}=i,{formatNumber:p,formatCurrency:y,formatCurrencyToParts:O,getCurrencySymbol:P,formatQuantity:C,translate:A,pluralize:S,formatMoney:T}=a,{formatIcuMessage:s}=c},280045:function(b,l,e){"use strict";e.d(l,{U:()=>i,Z:()=>a});var r=e(638204);const o="universal-ui";function n(c){return e(464880)(`./${o}.${c}.yaml`)}const{getI18nInstance:a,setI18nInstance:i}=(0,r.setupLibrary)(o,n)},784100:function(b,l,e){"use strict";e.r(l),e.d(l,{Modal:()=>r.Z,Confirmation:()=>v,FocalPoint:()=>u.Z,IconWithTooltip:()=>S.Z,Tooltip:()=>d.Z,Alert:()=>o.Z,TooltipTrigger:()=>g.Z,Image:()=>n.Z,InvisibleGoogleReCaptcha:()=>a.Z,ErrorBoundaryWithRetry:()=>O.Z,SearchButtonWithTooltip:()=>s,Dialog:()=>m,DelayedLargeSpinner:()=>p.Z,LoadingSpinner:()=>f.Z,FileDropZone:()=>i.Z,HoverTrigger:()=>h.Z,AsyncComponent:()=>y.Z,ReorderableGroup:()=>_.Z,FilePicker:()=>c.Z});var r=e(587732),o=e(283238),n=e(962239),a=e(107299),i=e(413981),c=e(392241),u=e(349865),f=e(87706),d=e(514548),h=e(708674),g=e(348969);d.Z.Trigger=g.Z,d.Z.HoverTrigger=h.Z;var _=e(474641),p=e(554823),y=e(410016),O=e(93164),P=e(174161),C=e(918925),A=e(252345),S=e(186538);const s=E=>{let{onClick:I,tooltipPosition:L="right",testId:W}=E;return P.createElement(S.Z,{icon:P.createElement(A.Z,null),title:(0,C.t)("Search",null,{project:"universal-ui"}),position:L,onClick:()=>{I==null||I()},testId:W})},v=r.Z.Confirmation,m=r.Z.Dialog},464880:function(b,l,e){var r={"./universal-ui.en-US.yaml":"579174"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=464880},981491:function(b,l,e){"use strict";e.r(l),e.d(l,{getDomain:()=>r,isDev:()=>i,isInternal:()=>o,isQA:()=>a,isStage:()=>n});const r=function(){var c,u;let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return typeof f=="string"?new URL(f).hostname:((c=f.Static)===null||c===void 0||(c=c.SQUARESPACE_CONTEXT)===null||c===void 0?void 0:c.appDomain)??((u=f.location)===null||u===void 0?void 0:u.host)??""},o=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/\.(sqsp|squarespace)\.net$/.test(r(c))},n=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/stage\.(sqsp|squarespace)\.net$/.test(r(c))},a=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/qa[0-9]+\.(sqsp|squarespace)\.net$/.test(r(c))},i=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/dev\.(sqsp|squarespace)\.net$/.test(r(c))}},542411:function(b,l,e){"use strict";e.r(l),e.d(l,{getDetails:()=>c,getPlacePredictions:()=>i});var r=e(456903);const o="/api/google-maps/places/autocomplete",n="/api/google-maps/places/details",a=(u,f)=>{},i=(u,f)=>(a(u,f),r.default.get(o,{params:{...f,...u}})),c=(u,f)=>(a(u,f),(!f||!f.productPage||!f.productSection)&&console.error("Please provide a tracking context when using Google Places API details to track cost"),r.default.get(n,{params:{...f,...u}}))},963327:function(b,l,e){"use strict";e.r(l),e.d(l,{RECAPTCHA_RENDER_TYPE:()=>i,destroy:()=>O,execute:()=>g,executeFirst:()=>h,getCaptchaContainer:()=>y,getSiteKey:()=>a,loadReCaptcha:()=>c,render:()=>u,renderAll:()=>f,reset:()=>_,resetFirst:()=>p,validate:()=>d});var r=e(39994);const o="https://www.google.com/recaptcha/api.js?onload=__grecaptchaOnLoadCallback&render=",n="data-id",a=P=>{var C;return P==null||(C=P.Static)===null||C===void 0||(C=C.SQUARESPACE_CONTEXT)===null||C===void 0||(C=C.website)===null||C===void 0||(C=C.captchaSettings)===null||C===void 0?void 0:C.siteKey};let i=function(P){return P.EXPLICIT="explicit",P.ONLOAD="onload",P}({});function c(P){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i.EXPLICIT;const A='script[src*="https://www.google.com/recaptcha/enterprise.js"]',S=P.document.querySelector(A);if(S){S.remove();const T=P.document.querySelector("#forms-grecaptcha-badge-style"),s=P.document.querySelector(".grecaptcha-badge");T==null||T.remove(),s==null||s.remove()}else if(P.__grecaptchaOnLoadPromise)return P.__grecaptchaOnLoadPromise;return P.__grecaptchaOnLoadPromise=new Promise((T,s)=>{P.__grecaptchaOnLoadCallback=()=>T(),P.document?(0,r.Z)(o+C,{doc:P.document}).catch(s):s("[GoogleReCaptchaAPI] Document was destroyed")}),P.__grecaptchaOnLoadPromise}function u(P,C){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const T=(arguments.length>3&&arguments[3]!==void 0?arguments[3]:{customSiteKey:""}).customSiteKey||a(P);if(T)return c(P).then(()=>{var s;if(!C||C.getAttribute(n)||P.document!==C.ownerDocument||!(C!=null&&(s=C.ownerDocument)!==null&&s!==void 0&&s.defaultView)||!P.grecaptcha){console.error("Error rendering captcha into node",{node:C});return}const v=C.clientWidth<320?"compact":"normal",m=P.grecaptcha.render(C,{sitekey:T,size:v,...A},!0);C.setAttribute(n,`${m}`),C.classList.add("rendered")})}function f(P){if(!P.document)return;const C=P.document.querySelectorAll(".captcha-container:not('.rendered')");Array.from(C).forEach(A=>u(P,A))}function d(P,C){const A=C.getAttribute(n);if(!(!A||!P.grecaptcha))return P.grecaptcha.getResponse(parseFloat(A))}function h(P){return P.grecaptcha?Promise.resolve(P.grecaptcha.execute()):Promise.reject({error:"ReCaptcha has not been set up!"})}function g(P,C){const A=C.getAttribute(n);return A?P.grecaptcha?Promise.resolve(P.grecaptcha.execute(parseFloat(A))):Promise.reject({error:"ReCaptcha has not been set up!"}):Promise.resolve()}function _(P,C){const A=C.getAttribute(n);!A||!P.grecaptcha||P.grecaptcha.reset(parseFloat(A))}function p(P){P&&P.grecaptcha&&P.grecaptcha.reset()}function y(P,C){const A=C.querySelector(".captcha-container");return a(P)?A:null}function O(P){for(;P.firstChild;)P.removeChild(P.firstChild);P.removeAttribute(n)}},204482:function(b,l,e){"use strict";e.r(l),e.d(l,{hasShiftModifierKey:()=>M,isAlphanumericKey:()=>F,isArrowDownKey:()=>S,isArrowLeftKey:()=>s,isArrowRightKey:()=>v,isArrowUpKey:()=>T,isBackspaceKey:()=>E,isCommaKey:()=>G,isDeleteKey:()=>I,isEnterKey:()=>m,isEscapeKey:()=>L,isNumericKey:()=>W,isSlashKey:()=>x,isSpaceBar:()=>k,isTabKey:()=>C,isTabKeyWithShift:()=>A});const r=9,o=13,n=38,a=40,i=37,c=39,u=8,f=46,d=48,h=57,g=65,_=90,p=27,y=188,O=191,P=32,C=B=>B.keyCode===r&&!B.shiftKey,A=B=>B.keyCode===r&&B.shiftKey,S=B=>B.keyCode===a,T=B=>B.keyCode===n,s=B=>B.keyCode===i,v=B=>B.keyCode===c,m=B=>{let{keyCode:R}=B;return R===o},E=B=>{let{keyCode:R}=B;return R===u},I=B=>{let{keyCode:R}=B;return R===f},L=B=>{let{keyCode:R}=B;return R===p},W=B=>{let{keyCode:R}=B;return d<=R&&R<=h},F=B=>{const{keyCode:R}=B;return W(B)||g<=R&&R<=_},G=B=>{let{keyCode:R}=B;return R===y},k=B=>{let{keyCode:R}=B;return R===P},x=B=>{let{keyCode:R}=B;return R===O},M=B=>{let{shiftKey:R}=B;return R}},723796:function(b,l,e){"use strict";e.d(l,{$S:()=>c,Em:()=>g,FB:()=>i,TT:()=>u,g$:()=>a,hu:()=>n,sS:()=>f});var r=e(860921),o=e.n(r);const n=function(_,p){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1)?console.log.bind(console,`%c[${_}] %c`,`color: ${p}; font-weight: 300;`,"color: #000; font-weight: 400;"):o()},a=function(_,p){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1)?console.debug.bind(console,`%c[${_}] %c`,`color: ${p}; font-weight: 300;`,"color: #000; font-weight: 400;"):o()},i=_=>console.warn.bind(console,`[${_}]`),c=_=>function(){console.error.bind(console,`[${_}]`)(...arguments)},u=function(_,p){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return(arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1)?console.groupCollapsed.bind(console,_,`color: ${p}; font-weight: 300;`,...y):o()},f=function(_,p){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return{group:u(_,p,y,O),groupEnd:()=>console.groupEnd()}},g=Object.assign(function(_,p){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"";return{debug:a(_,p,y),err:c(_),log:n(_,p,y),warn:i(_)}},{createLogger:n,createDebugLogger:a,createWarningLogger:i,createGroupCollapsed:u,createGroup:f,createErrorLogger:c})},208250:function(b,l,e){"use strict";e.r(l),e.d(l,{bind:()=>a,debug:()=>i,getPosition:()=>n});var r=e(782664);let o={lastX:100,lastY:100,client:{lastX:100,lastY:100}};const n=()=>o,a=c=>{var u;const f=(0,r.getFrameElement)(c),d=_=>{const{left:p=0,top:y=0}=(f==null?void 0:f.getBoundingClientRect())||{};o={lastX:_.pageX+p,lastY:_.pageY+y,client:{lastX:_.clientX+p,lastY:_.clientY+y}}},h=_=>{_.changedTouches.length===1&&d(_.changedTouches[0])};c.addEventListener("mousemove",d),c.addEventListener("touchmove",h);const g=()=>{c.removeEventListener("mousemove",d),c.removeEventListener("touchmove",h)};return(u=c.defaultView)===null||u===void 0||u.addEventListener("beforeunload",g),g},i=(()=>{let c=null,u;return function(){if(!(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)){var d;cancelAnimationFrame(u),(d=c)===null||d===void 0||(d=d.parentNode)===null||d===void 0||d.removeChild(c),c=null;return}if(!c){c=document.createElement("div"),c.setAttribute("data-mouse","true"),c.style.position="fixed",c.style.width="50px",c.style.height="50px",c.style.borderRadius="50%",c.style.background="rgba(247, 202, 24, 0.5)",c.style.marginLeft="-25px",c.style.marginTop="-25px",c.style.zIndex=Math.pow(10,5)+"",c.style.pointerEvents="none",document.body.appendChild(c);const h=()=>{const{lastX:g,lastY:_}=n(),p=c;p.style.top=`${_}px`,p.style.left=`${g}px`,u=requestAnimationFrame(h)};h()}}})()},861749:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(456903);const n={fetchSettings(){return r.default.get("/api/multilingual/settings")},getStatus(){return r.default.get("/api/multilingual/status")},getLanguages(){return r.default.get("/api/multilingual/languages")},saveLanguages(a){return r.default.put("/api/multilingual/languages",{languages:a})},disconnectWeglot(){return r.default.delete("/api/multilingual/connection")}}},709778:function(b,l,e){"use strict";e.d(l,{be:()=>f,fW:()=>c,gP:()=>u});var r=e(845193),o=e.n(r),n=e(994336),a=e.n(n);const i=()=>!!window.localStorage,c=(d,h,g)=>{try{const _={value:h,expires:g?g.getTime():void 0},p=JSON.stringify(_);i()?localStorage.setItem(d,p):g?a().set(d,p,{path:"/",expires:g.toISOString()}):a().set(d,p,{path:"/"})}catch(_){console.warn(_)}},u=d=>{try{const h=i()?localStorage.getItem(d):a().get(d);if(h){const g=JSON.parse(h);return i()&&o()(g.expires)&&g.expires<new Date().getTime()?(localStorage.removeItem(d),null):g.value}}catch(h){console.warn(h)}return null},f=d=>{try{i()?localStorage.removeItem(d):a().set(d,"",{expires:new Date(0).toISOString()})}catch(h){console.warn(h)}}},25911:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(456903);const o="/api/site-header-footer",a={load:async()=>{const{data:i}=await r.default.get(o);return i},save:async i=>{let{header:c,footer:u}=i;const{data:f}=await r.default.put(o,{header:c,footer:u});return f}}},530773:function(b,l,e){"use strict";e.d(l,{Z:()=>i,p:()=>n});var r=e(456903);const o="/api/site-preview/v1";let n=function(c){return c.OK="OK",c.ERROR="ERROR",c.PROCESSING="PROCESSING",c.NONE="NONE",c.LOADING="LOADING",c}({});const i={fetchScreenshot(c){return r.default.get(`${o}/screenshots`,{params:{screenshotToken:c}})},requestNewScreenshot(){return r.default.post(`${o}/screenshots/request`)}}},695344:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(456903);const o="X-SiteUser-XSRF-Token",n=Object.assign(r.default,{setXsrfToken:i=>{i&&(n.defaults.headers[o]=i)}}),a=n},612132:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(695344);const o="/api/site-users/account/session",n="/api/site-users/account/locale",i={async login(c){const{data:u}=await r.Z.post(o,{email:c.email,password:c.password,rememberMe:c.rememberMe});return r.Z.setXsrfToken(u.xsrfToken)},async logout(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const u=await this.callLogoutEndpoint(c);return u.data&&u.data.crumbFail?this.callLogoutEndpoint(c):u},updateLocale(){var c;const u=(c=window.top)===null||c===void 0?void 0:c.Weglot;if(u!=null&&u.getCurrentLang){var f;const d=u.getCurrentLang();if(!((f=u.options)===null||f===void 0||(f=f.languages)===null||f===void 0?void 0:f.find(g=>g.custom_code===d)))return r.Z.post(n,{language:d})}},callLogoutEndpoint(c){return r.Z.delete(o,{params:{cloneCart:!!c.cloneCart}})}}},926498:function(b,l,e){"use strict";e.r(l),e.d(l,{getCenteredPopUpOptions:()=>r});const r=o=>{let{w:n,h:a}=o;const i=window.outerHeight/2+window.screenY-a/2,c=window.outerWidth/2+window.screenX-n/2;return`width=${n},height=${a},top=${i},left=${c}`}},641548:function(b,l,e){"use strict";e.d(l,{$:()=>T});var r=e(291341),o=e.n(r),n=e(176944),a=e.n(n),i=e(174161),c=e(456903),u=e(922357),f=e(141117);const{captureException:d}=(0,f.Z)({project:"commerce-preferences-service"}),h=s=>`COMMERCE_PREFERENCES_REFETCH_${s}`,g={},_=(s,v)=>{g[s]={...g[s],...v}},p=(s,v)=>{try{return Object.keys(v).some(m=>{var E;const I=(E=g[s])===null||E===void 0?void 0:E[m];return v[m]!==I})}catch(m){return d(m),!0}},y=async(s,v)=>{if(p(s,v)){_(s,v),document.dispatchEvent(new CustomEvent(h(s)));try{await c.default.put(`/api/v1/commerce-preferences/${s}`,v)}catch(m){throw d(m),m}}},O={},P=async s=>g[s]?g[s]:(O[s]||(O[s]=(async()=>{try{const{data:{websiteId:v,...m}}=await c.default.get(`/api/v1/commerce-preferences/${s}`);return _(s,m),m}catch(v){throw d(v),v}})()),O[s]),C=s=>{const v=`__setCommercePreferences_${s}`;window[v]=m=>y(s,m)},A=s=>{const{data:v=g[s],isError:m,error:E,isLoading:I,refetch:L}=(0,u.Z)(()=>P(s));return(0,i.useEffect)(()=>(document.addEventListener(h(s),L),()=>{document.removeEventListener(h(s),L)}),[L,s]),{preferences:{...o()(v,W=>!a()(W))},isError:m,error:E,isLoading:I,hasLoaded:!!v||m}},S=s=>function(v){return m=>{const{hasLoaded:E}=A(s);return E?i.createElement(v,m):null}};function T(s){let{namespace:v,injectHelper:m=!0}=s;return m&&C(v),{withEnsurePreferences:S(v),setPreferences:E=>{y(v,E)},fetchPreferences:async()=>await P(v),usePreferences:()=>{const{preferences:E,...I}=A(v);return{preferences:E,...I}}}}},898301:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(860921),o=e.n(r),n=e(174161);const i=(c,u)=>{const f=n.createContext({showConfirmModal:()=>Promise.resolve(!0),closeConfirmModal:o()});function d(g){let{children:_}=g;const[p,y]=(0,n.useState)(null),O=()=>{y(null)},P=p&&n.createElement(c,p);return n.createElement(n.Fragment,null,u?n.createElement(u,null,P):P,n.createElement(f.Provider,{value:{showConfirmModal:C=>{let{isCancellable:A=!0,autoClose:S=!0,...T}=C;return new Promise(s=>{y({...T,onConfirm:()=>{s(!0),S&&O()},onCancel:A?()=>{s(!1),S&&O()}:void 0})})},closeConfirmModal:O}},_))}function h(){return n.useContext(f)}return{ConfirmModalProvider:d,ConfirmModalContext:f,useConfirmModal:h}}},77694:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(737012),o=e.n(r),n=e(392338);const i=(h,g,_)=>{let p=o()(h);if((p===""||p.length<3)&&(p=g),_.includes(p)){let y=1;const O=new Intl.Collator([],{numeric:!0});return _.sort((P,C)=>O.compare(P,C)).forEach(P=>{P===`${p}-${y}`&&(y+=1)}),`${p}-${y}`}return p};var c=e(426488),u=e(7357);const d=async h=>{let{storeTitle:g,addToMainNav:_,fallbackStoreTitle:p,allCategoryDisplayName:y,websiteId:O,templateId:P,isSevenOne:C,storeUrls:A}=h,S;if(C)S=await(0,u.IU)();else{const T=i(g,p,A);S=await(0,u.XZ)({websiteId:O,navigationTitle:g,title:g,urlId:T,description:""}),await(0,u.Nq)({websiteId:O,collectionId:S.id,displayName:y})}return _&&await(0,c.addCollectionToMainNav)(S.id,P),{collection:S}}},7357:function(b,l,e){"use strict";e.d(l,{IU:()=>n,Nq:()=>a,XZ:()=>o});var r=e(456903);const o=async i=>{let{websiteId:c,navigationTitle:u,title:f,urlId:d,description:h}=i;const{data:g}=await r.default.post(`/api/content-service/product/1.1/websites/${c}/products`,{navigationTitle:u,title:f,urlId:d,description:h,enabled:!0});return g},n=async()=>{const{data:i}=await r.default.post("/api/content/copy/collection/empty-store");return i},a=async i=>{let{websiteId:c,collectionId:u,displayName:f}=i;await r.default.post(`/api/content-service/product/1.1/websites/${c}/products/${u}/categories`,{displayName:f,parentCategoryId:void 0,type:"ROOT",pageRendering:"LIST_VIEW",displayIndex:1})}},929635:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(174161);const n=()=>{const a=r.createContext(void 0);return[()=>{const c=r.useContext(a);if(!c)throw new Error("useGenericContext must be used within a Provider");return c},a.Provider]}},141117:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(642979),o=e.n(r),n=e(174161),a=e(461761),i=e.n(a);const c=g=>{try{var _;const p=(_=window)===null||_===void 0?void 0:_.FS;p&&g(p)}catch{}},u=(g,_)=>{c(p=>{p.event(g,_)})};let f=null;const d=()=>(f=f||i()(window,"SQUARESPACE_SENTRY"),f),h=g=>{let{project:_,owner:p,ignoreRegexes:y}=g;const O=(m,E,I,L)=>{m.setTag("project",_),p&&m.setTag("owner",p),E&&m.setExtra("context",JSON.stringify(E)),I&&m.setExtra("componentStack",I),L&&m.setTags(L)},P=m=>!(y&&y.some(E=>E.test(m))),C=(m,E,I)=>{const L=d();L&&P(m)&&L.withScope(W=>{O(W,E,void 0,I),L.captureMessage(m),console.error(`[${_} Sentry] context: `,E)})},A=(m,E,I,L)=>{u(`Error [${_}]`,{message:m});const W=d();W&&P(m)&&W.withScope(F=>{O(F,E,I,L);const G=typeof m=="string"?new Error(m):m;W.captureException(G),console.error(`[${_} Sentry] context: `,E)})};class S extends n.Component{constructor(){super(...arguments),o()(this,"state",{hasError:!1})}componentDidCatch(E,I){const L=typeof E=="string",W=new Error(`[${_} boundary] ${L?E:E.message}`);W.cause=E,A(W,void 0,I==null?void 0:I.componentStack),this.setState({hasError:!0})}render(){const{hasError:E}=this.state,{errorContents:I,children:L}=this.props;return E?I:L}}function T(m,E){return I=>n.createElement(S,{errorContents:E(I)},n.createElement(m,I))}function s(m){return E=>n.createElement(S,{errorContents:n.createElement(n.Fragment,null)},n.createElement(m,E))}function v(m){return E=>n.createElement(S,{errorContents:E.children},n.createElement(m,E))}return{captureMessage:C,captureException:A,BaseErrorBoundary:S,withRenderFallbackOnError:T,withRenderNothingOnError:s,withUnwrapProviderOnError:v}}},777868:function(b,l,e){"use strict";e.d(l,{Z:()=>o});class r extends Error{constructor(a){super(),this.name="NotFoundError",this.path=a}getPath(){return this.path}}const o=r},205738:function(b,l,e){"use strict";e.d(l,{v:()=>a});var r=e(976003),o=e.n(r);const n=(i,c)=>c.reduce((u,f)=>u?Math.abs(i.weight-f.weight)<Math.abs(i.weight-u.weight)?f:u:f,null),a=(i,c)=>{if(c.length===0)throw new Error("No font variants provided");const u=c.find(h=>o()(h,i));if(u)return u;const f=c.filter(h=>h.style===i.style),d=n(i,f);return d||n(i,c)||c[0]}},629301:function(b,l,e){"use strict";e.d(l,{l:()=>i});var r=e(582388),o=e.n(r),n=e(28365),a=e.n(n);const i=()=>{var c,u;const f=(c=window.Static)===null||c===void 0||(c=c.SQUARESPACE_CONTEXT)===null||c===void 0||(c=c.website)===null||c===void 0?void 0:c.websiteType,d=(u=window.Static)===null||u===void 0||(u=u.SQUARESPACE_CONTEXT)===null||u===void 0||(u=u.website)===null||u===void 0?void 0:u.siteStatus.value;return f!==a().PARKING_PAGE&&f!==a().COVER_PAGE&&d===o().EXPIRED}},100467:function(b,l,e){"use strict";e.d(l,{U:()=>c});var r=e(392338),o=e(141654),n=e.n(o),a=e(840747);function i(){var u;const f=((u=(0,a.getAccountContext)())===null||u===void 0?void 0:u.websiteRoles)||{};return Object.keys(f).map(h=>parseInt(h,10))}const c=()=>i().includes(n().ADMIN)},136538:function(b,l,e){"use strict";e.d(l,{s:()=>c});var r=e(392338),o=e.n(r);const n=["en-US","es-419","de-DE","fr-FR","it-IT","ja-JP","pt-BR"],a=u=>n.includes(u),i={"en-US":"https://www.squarespace.com","es-419":"https://es.squarespace.com","de-DE":"https://de.squarespace.com","fr-FR":"https://fr.squarespace.com","it-IT":"https://it.squarespace.com","ja-JP":"https://ja.squarespace.com","pt-BR":"https://pt.squarespace.com"},c=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"en-US";return a(u)?i[u]:i["en-US"]}},158127:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o=n=>a=>{(a.key==="Enter"||a.key==="Return")&&(a.preventDefault(),n(a))}},783443:function(b,l,e){"use strict";e.d(l,{Z:()=>r});const r=(o,n)=>{if(o===0)return"0 Bytes";const a=1024,i=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],c=Math.floor(Math.log(o)/Math.log(a)),u=o/Math.pow(a,c),f=Math.ceil(Math.log10(u)),d=n+f||f;return u.toPrecision(d)+" "+i[c]}},782664:function(b,l,e){"use strict";e.r(l),e.d(l,{getFrameElement:()=>o,isInIframe:()=>r});const r=n=>n&&n!==n.top,o=n=>n.defaultView&&r(n.defaultView)?n.defaultView.frameElement:null},451846:function(b,l,e){"use strict";e.r(l),e.d(l,{iframe:()=>d,UserSessionApiAxios:()=>o.Z,ScreenshotStatus:()=>i.p,createGroupCollapsed:()=>O.TT,createLoggers:()=>O.Em,useFetch:()=>F.Z,validateTweakValue:()=>me.f,parseTweakMixin:()=>re.YV,SitePreviewAPI:()=>i.Z,NotFoundError:()=>L.Z,MultilingualAPI:()=>a.Z,createEmptyStore:()=>G.Z,createGroup:()=>O.sS,createRootStoreCategory:()=>k.Nq,createWarningLogger:()=>O.FB,findFallbackFontVariant:()=>he.v,getTweakMixinVariableName:()=>re.Hp,GooglePlacesAPI:()=>f,WindowUtils:()=>y,createErrorLogger:()=>O.$S,parseTweakValue:()=>me.k,createGenericErrorHandling:()=>U.Z,saveSessionData:()=>W.fW,usePrefersReducedMotion:()=>pe.Z,loadScript:()=>P.Z,getLocalizedFrontsiteUrl:()=>J.s,getSessionData:()=>W.gP,getTrialDaysRemaining:()=>ne,createLogger:()=>O.hu,setupNamespace:()=>R.$,Mouse:()=>_,handleEnterKeyDown:()=>B.Z,createDebugLogger:()=>O.g$,createConfirmModal:()=>x.Z,GoogleReCaptchaAPI:()=>u,removeSessionData:()=>W.be,PositionPropTypes:()=>I,EnvUtils:()=>g,sort:()=>c,humanizeFileSize:()=>S.Z,SiteHeaderFooterAPI:()=>n.Z,getIsExpiredSite:()=>oe.l,navigationUtils:()=>$,stringifyTweakMixin:()=>re.Gt,getIsUserAdmin:()=>q.U,mediaQueries:()=>p,UserSessionApi:()=>r.Z,waitForDomNodeToSettle:()=>j.Z,withBreakpoint:()=>A.Z,createGenericContext:()=>M.Z,SetDragEffect:()=>C.Z,Keyboard:()=>h});var r=e(612132),o=e(695344),n=e(25911),a=e(861749),i=e(530773),c=e(207598),u=e(963327),f=e(542411),d=e(782664),h=e(204482),g=e(981491),_=e(208250),p=e(798589),y=e(926498),O=e(723796),P=e(39994),C=e(324959),A=e(732713),S=e(783443),T=e(795478),s=e.n(T);const v=s().oneOfType([s().instanceOf(Node),s().oneOf(["window","mousepointer","selection"]),s().shape({top:s().number,left:s().number})]),m=s().shape({x:s().number,y:s().number}),E=s().oneOfType([s().oneOf(["left","right","center","top","bottom"]),s().shape({join:s().string,to:s().string})]),I={anchor:v,coords:m,position:E};var L=e(777868),W=e(709778),F=e(922357),G=e(77694),k=e(7357),x=e(898301),M=e(929635),B=e(158127),R=e(641548),U=e(141117),j=e(247048),$=e(426488),ee=e(545334),te=e.n(ee),ie=e(931387);const ne=()=>{var Ee;const fe=Date.now(),H=ie.D===null||ie.D===void 0||(Ee=ie.D.website)===null||Ee===void 0||(Ee=Ee.siteStatus)===null||Ee===void 0?void 0:Ee.expiration;return H&&Math.max(0,te()(H).diff(te()(fe),"days")+1)};var pe=e(476629),oe=e(629301),q=e(100467),J=e(136538),me=e(862335),re=e(172334),he=e(205738)},39994:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(734301),o=e.n(r);const n=function(a){let{async:i=!0,doc:c=document}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{async:!0,doc:document};return new Promise((u,f)=>{o()(a,{before:(d,h)=>(c.body.appendChild(h),!1),success:()=>u(),error:()=>f(),async:i})})}},798589:function(b,l,e){"use strict";e.r(l),e.d(l,{checkBreakpoint:()=>n,determineCurrentMedia:()=>o,isDesktop:()=>i,isMobile:()=>a,isSubDesktop:()=>u,isTablet:()=>c,mediaQueries:()=>r});const r={mobile:"screen and (max-width: 432px)",desktop:"screen and (min-width: 433px)",tablet:"screen and (max-width: 0px)"},o=()=>Object.keys(r).find(f=>window.matchMedia(r[f]).matches),n=(f,d)=>d?d===f:o()===f,a=f=>n("mobile",f),i=f=>n("desktop",f),c=f=>n("tablet",f),u=f=>a(f)||c(f)},426488:function(b,l,e){"use strict";e.r(l),e.d(l,{addCollectionToMainNav:()=>i,getSiteNavigation:()=>n});var r=e(456903);const o=async c=>{await r.default.post("/api/widget/UpdateNavigation",c)},n=async()=>{const{data:c}=await r.default.get("/api/commondata/GetSiteLayout");return c},a=c=>c.map(u=>{let{collectionId:f,children:d,externalLink:h,memberAreaId:g}=u;return{items:d?a(d):[],collectionId:f,externalLink:h,memberAreaId:g}}),i=async(c,u)=>{const d=(await n()).layout[0];if(!d)throw new Error("Unable to find site main navigation");const g=[{collectionId:c},...a(d.links)];await o({fieldName:d.identifier,templateId:u,navigation:{items:g}})}},324959:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(o,n){try{o.dropEffect=n,o.effectAllowed=n}catch{}}},207598:function(b,l,e){"use strict";e.r(l),e.d(l,{alphabetical:()=>o});const r=function(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof n=="string"?n:typeof n[a]=="string"?n[a]:(console.warn(`Value is neither a string nor an object containing a string at ${a}`,n),"")},o=function(n){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return[...n].sort((i,c)=>{const u=r(i,a.key).toLowerCase(),f=r(c,a.key).toLowerCase();return u<f?-1:u>f?1:0})}},172334:function(b,l,e){"use strict";e.d(l,{Gt:()=>n,Hp:()=>a,YV:()=>o});const r={normal:"://",encoded:encodeURIComponent("://")};function o(i){return i.replace(r.normal,r.encoded).split(/\s*[{};]\s*/).filter(u=>!!u).reduce((u,f)=>{const[d,h]=f.split(/\s*:\s*/);return d!==void 0&&h!==void 0&&h!=="undefined"&&(u[d]=h.replace(r.encoded,r.normal)),u},{})}function n(i){return"{"+Object.keys(i).map(c=>c+":"+i[c]).join(";")+"}"}function a(i,c){return`${i}-${c}`}},862335:function(b,l,e){"use strict";e.d(l,{f:()=>i,k:()=>a});var r=e(392338),o=e.n(r),n=e(290048);function a(c){if(!c)return null;const u=c.match(/^(\.|-)?\d+(\.\d+)?/g);if(!u)return null;const f=c.substring(u[0].length);return Object.values(n.j).includes(f)?{num:parseFloat(u[0]),unit:f}:null}function i(c,u){const{defaultValue:f}=u,d=a(f),g=(a(c)||{}).unit,_=g===void 0,p=g==="",y=(d==null?void 0:d.unit)==="";return!(p!==y||_)}},922357:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(174161),o=function(c){return c.FETCH_PENDING="FETCH_PENDING",c.FETCH_SUCCESS="FETCH_SUCCESS",c.FETCH_FAILED="FETCH_FAILED",c}(o||{});const n=(c,u)=>{switch(u.type){case o.FETCH_PENDING:return{...c,isLoading:!0,isError:!1};case o.FETCH_SUCCESS:return{...c,data:u.payload,isLoading:!1};case o.FETCH_FAILED:return{...c,error:u.error,isError:!0,isLoading:!1};default:throw new Error("Invalid action type")}},i=function(c,u){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const d={isError:!1,isLoading:f},h=f?Date.now():0,g=(0,r.useRef)(),[_,p]=(0,r.useState)(h),[y,O]=(0,r.useReducer)(n,d),P=async()=>{O({type:o.FETCH_PENDING});try{const S=await c();O({type:o.FETCH_SUCCESS,payload:S})}catch(S){O({type:o.FETCH_FAILED,error:S}),u?u(S):console.error(S)}finally{var A;(A=g.current)===null||A===void 0||A.call(g)}},C=(0,r.useCallback)(()=>(p(Date.now()),new Promise(A=>{g.current=A})),[p]);return(0,r.useEffect)(()=>{_&&P()},[_]),{...y,refetch:C}}},476629:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(174161);const o=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches;function n(){const[a,i]=(0,r.useState)(o());return(0,r.useEffect)(()=>{const c=window.matchMedia("(prefers-reduced-motion: reduce)"),u=f=>{i(f.matches)};return c.addEventListener?c.addEventListener("change",u):c.addListener(u),()=>{c.removeEventListener?c.removeEventListener("change",u):c.removeListener(u)}},[]),a}},247048:function(b,l,e){"use strict";e.d(l,{Z:()=>n});const r={delay:3e3,settleFor:100,targetDocument:document},n=function(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{delay:c,settleFor:u,targetDocument:f}={...r,...i};let d,h;return new Promise(g=>{let _;const p=()=>{_=f.querySelector(a),clearTimeout(h),h=setTimeout(()=>{const y=f.querySelector(a);if(_&&_===y){d.disconnect(),g(y);return}_=y},u)};d=new MutationObserver(p),d.observe(f.body,{childList:!0,subtree:!0}),p(),setTimeout(()=>{d.disconnect(),g(null),clearTimeout(h)},c)})}},732713:function(b,l,e){"use strict";e.d(l,{Z:()=>g});var r=e(160553),o=e.n(r),n=e(642979),a=e.n(n),i=e(174161),c=e(795478),u=e.n(c),f=e(192628),d=e.n(f);const g=_=>{class p extends i.Component{render(){const{childRef:O,...P}=this.props;return i.createElement(_,o()({breakpoint:this.context.breakpoint},P,{ref:O}))}}return a()(p,"contextTypes",{breakpoint:u().string}),d()(p,_)}},227706:function(b,l,e){"use strict";e.d(l,{k:()=>a,n:()=>i});var r=e(555827),o=e.n(r),n=e(931387);const a=()=>((n.D===null||n.D===void 0?void 0:n.D.siteLayout)??[]).reduce((u,f)=>{let{links:d}=f;return d.forEach(h=>{var g;u.push(h),"children"in h&&(g=h.children)!==null&&g!==void 0&&g.length&&h.children.forEach(_=>{u.push(_);const p="children"in _?_.children:[];u.push(...p||[])})}),u},[]).filter(u=>"collectionId"in u&&!!u.collectionId).map(u=>({...u,id:u.collectionId,navigationTitle:u.title})),i=()=>{const c=a();return o()(c,"id")}},428070:function(b,l,e){var r={"./websites-collection-utils.en-US.yaml":"153506"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=428070},338435:function(b,l,e){"use strict";e.d(l,{T:()=>v,a:()=>s});var r=e(59507),o=e.n(r),n=e(762918),a=e.n(n),i=e(312887),c=e.n(i),u=e(857712),f=e.n(u),d=e(623795),h=e.n(d),g=e(740907);const _={SMALL:{top:{value:3,unit:h().PERCENT},bottom:{value:3,unit:h().PERCENT},left:{value:3,unit:h().PERCENT},right:{value:3,unit:h().PERCENT}},MEDIUM:{top:{value:6,unit:h().PERCENT},bottom:{value:6,unit:h().PERCENT},left:{value:6,unit:h().PERCENT},right:{value:6,unit:h().PERCENT}},LARGE:{top:{value:12,unit:h().PERCENT},bottom:{value:12,unit:h().PERCENT},left:{value:12,unit:h().PERCENT},right:{value:12,unit:h().PERCENT}}},p={topLeft:{unit:h().PIXEL,value:0},topRight:{unit:h().PIXEL,value:0},bottomLeft:{unit:h().PIXEL,value:0},bottomRight:{unit:h().PIXEL,value:0}},y={topLeft:{unit:h().PIXEL,value:22},topRight:{unit:h().PIXEL,value:22},bottomLeft:{unit:h().PIXEL,value:22},bottomRight:{unit:h().PIXEL,value:22}},O={backgroundEnabled:!1,backgroundColor:{type:"THEME_COLOR"},blendMode:o().NORMAL,linecap:c().SQUARE,blur:{enabled:!1,filterType:a().BACKDROP,blurRadius:{value:0,unit:h().PIXEL}}},P={style:f().NONE,color:{type:"THEME_COLOR"},thickness:{value:0,unit:h().PIXEL},dashLength:{value:0,unit:h().PIXEL},gapLength:{value:0,unit:h().PIXEL},linecap:c().SQUARE},C={...O,borderRadii:p,stroke:{style:f().SOLID,color:{type:"THEME_COLOR"},thickness:{value:1,unit:h().PIXEL},dashLength:{value:0,unit:h().PIXEL},gapLength:{value:0,unit:h().PIXEL},linecap:c().SQUARE},padding:_.LARGE},A={...O,borderRadii:y,stroke:{style:f().SOLID,color:{type:"THEME_COLOR"},thickness:{value:1,unit:h().PIXEL},dashLength:{value:0,unit:h().PIXEL},gapLength:{value:0,unit:h().PIXEL},linecap:c().SQUARE},padding:_.LARGE},S={...O,borderRadii:p,backgroundEnabled:!0,backgroundColor:{type:"THEME_COLOR"},stroke:P,padding:_.LARGE},T={...O,borderRadii:y,backgroundEnabled:!0,backgroundColor:{type:"THEME_COLOR"},stroke:P,padding:_.LARGE},s={...O,borderRadii:p,stroke:P,padding:_.SMALL},v=m=>{switch(m){case g.m.PROFESSIONAL:return[T];default:return[T]}}},565263:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n.BASIC="BASIC",n.IMAGE="IMAGE",n.GALLERY="GALLERY",n.SUMMARY="SUMMARY",n.MORE="MORE",n.FILTERS_LISTS="FILTERS_LISTS",n.COMMERCE="COMMERCE",n.CHARTS="CHARTS",n.SOCIAL="SOCIAL",n.INTEGRATIONS="INTEGRATIONS",n.TOCK="TOCK",n.GLOBAL="GLOBAL",n.PREMIUM="PREMIUM",n}(r||{});const o=r},784874:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n[n.NAVIGATION=1]="NAVIGATION",n[n.HTML=2]="HTML",n[n.LOGO=3]="LOGO",n[n.MAP=4]="MAP",n[n.IMAGE=5]="IMAGE",n[n.TWITTER=6]="TWITTER",n[n.JOURNAL=7]="JOURNAL",n[n.GALLERY=8]="GALLERY",n[n.FORM=9]="FORM",n[n.GEO=10]="GEO",n[n.INDEX=11]="INDEX",n[n.COLLECTION_LINK=12]="COLLECTION_LINK",n[n.LINK=13]="LINK",n[n.TAGCLOUD=14]="TAGCLOUD",n[n.COMMENTS=16]="COMMENTS",n[n.FOLDER=17]="FOLDER",n[n.MENU=18]="MENU",n[n.SOCIAL_LINKS=19]="SOCIAL_LINKS",n[n.SUMMARY=20]="SUMMARY",n[n.SPACER=21]="SPACER",n[n.EMBED=22]="EMBED",n[n.CODE=23]="CODE",n[n.FOURSQUARE=24]="FOURSQUARE",n[n.INSTAGRAM=25]="INSTAGRAM",n[n.CALENDAR=26]="CALENDAR",n[n.POSTS_BY_AUTHOR=27]="POSTS_BY_AUTHOR",n[n.POSTS_BY_TAG=28]="POSTS_BY_TAG",n[n.POSTS_BY_CATEGORY=29]="POSTS_BY_CATEGORY",n[n.POSTS_BY_MONTH=30]="POSTS_BY_MONTH",n[n.QUOTE=31]="QUOTE",n[n.VIDEO=32]="VIDEO",n[n.SEARCH=33]="SEARCH",n[n.AUDIO=41]="AUDIO",n[n.FIVEHUNDREDPIX=42]="FIVEHUNDREDPIX",n[n.PRODUCT=43]="PRODUCT",n[n.MARKDOWN=44]="MARKDOWN",n[n.FLICKR=45]="FLICKR",n[n.AMAZON=46]="AMAZON",n[n.HORIZONTAL_RULE=47]="HORIZONTAL_RULE",n[n.SOCIAL_ACCOUNT_LINKS=48]="SOCIAL_ACCOUNT_LINKS",n[n.RSS=49]="RSS",n[n.OPENTABLE=50]="OPENTABLE",n[n.NEWSLETTER=51]="NEWSLETTER",n[n.DONATION=52]="DONATION",n[n.BUTTON=53]="BUTTON",n[n.SOCIAL_ACCOUNT_LINKS_V2=54]="SOCIAL_ACCOUNT_LINKS_V2",n[n.SUMMARY_V2=55]="SUMMARY_V2",n[n.SOUNDCLOUD=56]="SOUNDCLOUD",n[n.EMAIL_FOOTER=57]="EMAIL_FOOTER",n[n.IN_BROWSER_MESSAGE_LINK=58]="IN_BROWSER_MESSAGE_LINK",n[n.TOURDATES=59]="TOURDATES",n[n.ALBUM=60]="ALBUM",n[n.ARCHIVE=61]="ARCHIVE",n[n.CHART=62]="CHART",n[n.ZOLA=63]="ZOLA",n[n.ACUITY=65]="ACUITY",n[n.OPENTABLE_V2=66]="OPENTABLE_V2",n[n.MEMBER_AREA=67]="MEMBER_AREA",n[n.TOCK=68]="TOCK",n[n.ACCORDION=69]="ACCORDION",n[n.MARQUEE=70]="MARQUEE",n[n.SHAPE=71]="SHAPE",n[n.PRICING_PLAN=72]="PRICING_PLAN",n[n.WEBSITE_COMPONENT=1337]="WEBSITE_COMPONENT",n}(r||{});const o=r},734526:function(b,l,e){"use strict";e.d(l,{Z:()=>C});var r=e(737012),o=e.n(r),n=e(690411),a=e.n(n),i=e(304003),c=e.n(i),u=e(130399),f=e.n(u),d=e(311064),h=e.n(d),g=e(784874);function _(A){return o()(A).replace(/-v-(\d+)/,"-v$1")}const p=h()(g.Z),y=f()(p,c()),O=f()(p,a()),P=f()(p,_),C={BlockTypeKeys:p,BlockTypeNames:y,BlockTypeLabels:O,BlockTypeKebab:P}},527062:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o=Object.freeze({})},362130:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(960489),o=e.n(r),n=e(784874);const a={[n.Z.AMAZON]:o().BLOCK_AMAZON,[n.Z.DONATION]:o().BLOCK_DONATION,[n.Z.MENU]:o().BLOCK_MENU,[n.Z.OPENTABLE]:o().BLOCK_OPENTABLE,[n.Z.OPENTABLE_V2]:o().BLOCK_OPENTABLE}},675641:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(311064),o=e.n(r),n=e(135118);const a=o()(n.Z)},135118:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o={GALLERY_SLIDESHOW:1e3,GALLERY_CAROUSEL:1002,GALLERY_GRID:1003,GALLERY_STACK:1004,SUMMARY_WALL:1005,SUMMARY_CAROUSEL:1006,SUMMARY_LIST:1007,SUMMARY_GRID:1008,CHART_BAR:1009,CHART_LINE:1010,CHART_PIE:1011,IMAGE_INLINE:1012,IMAGE_POSTER:1013,IMAGE_CARD:1014,IMAGE_OVERLAP:1015,IMAGE_COLLAGE:1016,IMAGE_STACK:1017,TOCK_RESERVATIONS:1018,TOCK_EVENTS:1019}},740907:function(b,l,e){"use strict";e.d(l,{m:()=>r});let r=function(o){return o.PROFESSIONAL="professional",o.SOPHISTICATED="sophisticated",o.FRIENDLY="friendly",o.PLAYFUL="playful",o.BOLD="bold",o.QUIRKY="quirky",o.INNOVATIVE="innovative",o.CUSTOM="custom",o}({})},27409:function(b,l,e){"use strict";e.r(l),e.d(l,{ADD_SECTION_FROM_CATALOG:()=>re,ANIMATIONS_EDIT_SAVE:()=>_,ANIMATIONS_PANEL_INTERACTIVE:()=>p,ASSET_UPLOAD:()=>pe,COLLECTION_NEW_LAYOUT_LOAD:()=>d,COLORS_PANEL_GENERATE_PALETTE:()=>m,COLORS_PANEL_INTERACTIVE:()=>T,COLORS_PANEL_SAVE:()=>S,COLORS_PANEL_SELECT_PALETTE:()=>v,COLORS_PANEL_UPDATE_PALETTE_COLOR:()=>E,COLORS_PANEL_UPDATE_TWEAK_COLOR:()=>I,DESIGN_BUTTONS_PANEL_LOAD:()=>ie,FONTS_PANEL_BASE_FONT_SIZE_CHANGE:()=>R,FONTS_PANEL_CUSTOM_FONT_FAMILY_CHANGE:()=>ee,FONTS_PANEL_CUSTOM_FONT_PROPERTY_CHANGE:()=>$,FONTS_PANEL_FETCHED_DATA:()=>L,FONTS_PANEL_FETCHED_DATA_TO_INTERACTIVE:()=>W,FONTS_PANEL_INTERACTIVE:()=>F,FONTS_PANEL_MAPPING_CHANGE:()=>te,FONTS_PANEL_MASTER_FONT_FAMILY_CHANGE:()=>j,FONTS_PANEL_MASTER_FONT_PROPERTY_CHANGE:()=>U,FONTS_PANEL_PACK_CHANGE_CLEAN_DIRTY:()=>M,FONTS_PANEL_PACK_CHANGE_DIRTY_DIRTY:()=>B,FONTS_PANEL_RENDER_ACTIVE_CARD:()=>G,FONTS_PANEL_SAVE:()=>k,FONTS_PANEL_TAB_SWITCH_INTERACTIVE:()=>x,FRAME_TOOLBAR_EDIT:()=>n,GALLERY_SECTION_NEW_LAYOUT_LOAD:()=>f,HEADER_NEW_LAYOUT_LOAD:()=>u,HEADER_PROPERTY_UPDATE:()=>c,LAYOUT_ENGINE_SECTION_COLOR_PREVIEW:()=>g,MEDIA_UPLOAD_SERVICE_ASSET_PROCESSING_ONLY:()=>me,MEDIA_UPLOAD_SERVICE_ASSET_UPLOAD:()=>q,MEDIA_UPLOAD_SERVICE_ASSET_UPLOAD_ONLY:()=>J,ONBOARDING_SAVE_TITLE:()=>r,PAGES_ADD_BLANK:()=>o,PAGE_EDIT_SAVE:()=>a,RENDER_LAYOUT_ENGINE_SECTION:()=>h,SECTION_DUPLICATION:()=>ne,SITE_HEADER_FOOTER_LOAD:()=>i,SITE_SERVER_ASSET_UPLOAD:()=>oe,THEME_EDITOR_INTERACTIVE:()=>s,TWEAKACTION_FETCH_CUSTOM_CSS:()=>y,TWEAKACTION_FETCH_DATA:()=>O,TWEAKACTION_FETCH_TEMPLATE_TWEAK_SETTINGS:()=>P,TWEAKACTION_FETCH_TWEAK_ENGINE_PROPERTIES:()=>A,TWEAKACTION_FETCH_TYPEKIT_DATA:()=>C});const r="cms-onboarding-save-title",o="cms-pages-add-blank",n="cms-frame-toolbar-edit",a="cms-page-edit-save",i="cms-site-header-footer-load",c="cms-header-property-update",u="cms-header-new-layout-load",f="cms-section-gallery-new-layout-load",d="cms-collection-new-layout-load",h="cms-render-layout-engine-section",g="cms-layout-engine-section-color-preview",_="cms-design-animations-panel-save",p="cms-design-animations-panel-interactive",y="cms-tweakactions-fetch-custom-css",O="cms-tweakactions-fetchdata",P="cms-tweakactions-fetch-template-tweak-settings",C="cms-tweakactions-fetch-typekit-data",A="cms-tweakactions-fetch-tweak-engine-properties",S="cms-design-colors-panel-save",T="cms-design-colors-panel-interactive",s="cms-design-colors-theme-editor-interactive",v="cms-design-colors-panel-select-palette",m="cms-design-colors-panel-generate-palette",E="cms-design-colors-panel-update-palette-color",I="cms-design-colors-panel-update-tweak-color",L="cms-design-fonts-panel-fetched-data",W="cms-design-fonts-panel-fetched-data-interactive",F="cms-design-fonts-panel-packs-interactive",G="cms-design-fonts-render-active-card",k="cms-design-fonts-panel-save",x="cms-design-fonts-panel-tab-switch-interactive",M="cms-design-fonts-panel-pack-change-clean-dirty",B="cms-design-fonts-panel-pack-change-dirty-dirty",R="cms-design-fonts-panel-base-font-size-change",U="cms-design-fonts-panel-master-font-property-change",j="cms-design-fonts-panel-master-font-family-change",$="cms-design-fonts-panel-custom-font-property-change",ee="cms-design-fonts-panel-custom-font-family-change",te="cms-design-fonts-panel-mapping-change",ie="cms-design-buttons-panel-load",ne="cms-section-duplicate",pe="cms-asset-upload",oe="cms-site-server-asset-upload",q="cms-media-upload-service-asset-upload",J="cms-media-upload-service-asset-upload-only",me="cms-media-upload-service-asset-processing-only",re="cms-add-section-from-catalog"},652838:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o={LIST:"list",GRID:"grid",PRODUCT:"product"}},579197:function(b,l,e){"use strict";e.r(l),e.d(l,{ColorTypeEnum:()=>r});let r=function(o){return o.SITE_PALETTE_COLOR="SITE_PALETTE_COLOR",o.CUSTOM_COLOR="CUSTOM_COLOR",o.THEME_COLOR="THEME_COLOR",o}({})},387582:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o={hiddenNavigationName:"_hidden",memberAreaNavigationName:"_memberareas",memberAreaNavigationTestAttr:"navlist-member_areas",MEMBER_AREA_NAVIGATION_TYPE:"member-area",README_PAGE_NAME:"readme",MAX_SMUGMUG_GALLERY_COUNT:20,MAX_SMUGMUG_GALLERY_SIZE:50,MAX_BLOCKS_PER_LAYOUT:60,MAX_TRACKS_IN_ALBUM:60,MAX_ITEMS_IN_USER_ORDERABLE_COLLECTION:250,NESTED_CATEGORIES_LIMIT:1e4,MAX_PRODUCTS_IN_COLLECTION:200,SQUARESPACE_SEVEN_PREVIEW_COOKIE:"squarespace_seven_preview",SQUARESPACE_SIX_OVERRIDE_COOKIE:"squarespace_six_override",PREVIEW_FRAME_EXPANDED_COOKIE:"seven_frame_expanded",DISABLE_USER_SCRIPTS_COOKIE:"disable-user-scripts",IGNORED_ITEM_ANNOTATION_SELECTORS:["sqs-simple-like","sqs-add-to-cart-button","product-variants","product-quantity-input","sqs-suppress-edit-mode"],REGISTERED_ACTIONS_FOR_NEXT_LOAD_STORE_KEY:"sqs_actions_for_next_load",DAMASK_URL_PREVIEW_SEPARATOR:"|",MAX_TAG_LENGTH:50,MAX_CATEGORY_LENGTH:25,PASSWORD_MASK:"__MASKED_FIELD__"}},655191:function(b,l,e){"use strict";e.d(l,{A:()=>r,J:()=>o});let r=function(n){return n.ALBUM_COLLECTION="ALBUM_COLLECTION",n.BLOG_COLLECTION="BLOG_COLLECTION",n.COURSE_COLLECTION="COURSE_COLLECTION",n.EVENT_COLLECTION="EVENT_COLLECTION",n.VIDEO_COLLECTION="VIDEO_COLLECTION",n.PORTFOLIO_COLLECTION="PORTFOLIO_COLLECTION",n.PRODUCT_COLLECTION="PRODUCT_COLLECTION",n.CUSTOM_COLLECTION_70="CUSTOM_COLLECTION_70",n.GALLERY_COLLECTION_70="GALLERY_COLLECTION_70",n.REGULAR_PAGE="REGULAR_PAGE",n.REGULAR_PAGE_DRAFT="REGULAR_PAGE_DRAFT",n.COVER_PAGE_70="COVER_PAGE_70",n.INDEX_PAGE_70="INDEX_PAGE_70",n.FOLDER="FOLDER",n.MEMBER_AREA="MEMBER_AREA",n.LINK="LINK",n}({}),o=function(n){return n.ALBUM_ITEM="ALBUM_ITEM",n.BLOG_ITEM="BLOG_ITEM",n.COURSE_ITEM="COURSE_ITEM",n.EVENT_ITEM="EVENT_ITEM",n.GALLERY_ITEM="GALLERY_ITEM",n.VIDEO_ITEM="VIDEO_ITEM",n.PRODUCT_ITEM="PRODUCT_ITEM",n.PORTFOLIO_ITEM="PORTFOLIO_ITEM",n}({})},906194:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n.DESKTOP="desktop",n.PHONE="phone",n.TABLET="tablet",n}(r||{});const o=r},607371:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o={NEWSLETTER_OVERLAY_NODE_ID:"overlayNewsletterEmail"}},365270:function(b,l,e){"use strict";e.r(l),e.d(l,{FLUID_ENGINE_BLUE_HEX:()=>n,FLUID_ENGINE_BLUE_HEX_WITH_OPACITY:()=>i,FLUID_ENGINE_LIGHT_BLUE_HEX:()=>o,FLUID_ENGINE_LIGHT_BLUE_HEX_WITH_OPACITY:()=>a,FLUID_ENGINE_LIGHT_PURPLE_HEX:()=>c,FLUID_ENGINE_LIGHT_PURPLE_HEX_WITH_OPACITY:()=>f,FLUID_ENGINE_PURPLE_HEX:()=>u,FLUID_ENGINE_PURPLE_HEX_WITH_OPACITY:()=>d,FLUID_ENGINE_YELLOW:()=>h,FluidEngineBreakpoints:()=>r});let r=function(g){return g.MOBILE="mobile",g.DESKTOP="desktop",g}({});const o="#4894FF",n="#027AFF",a="#4894FFb3",i="#027AFF7d",c="#9284FB",u="#6E4FD6",f="#9284FBb3",d="#6E4FD67d",h="#FFB802"},434709:function(b,l,e){"use strict";e.d(l,{s:()=>r,x:()=>o});let r=function(n){return n.HEADING="HEADING",n.PARAGRAPH="PARAGRAPH",n.ACTION="ACTION",n.CTA="CTA",n.DECOR="DECOR",n.SOCIAL="SOCIAL",n.MEDIA="MEDIA",n}({}),o=function(n){return n.HEADING="HEADING",n.PARAGRAPH="PARAGRAPH",n.CTA="CTA",n.DECOR="DECOR",n.SOCIAL="SOCIAL",n.INTERACTIVE_MEDIA="INTERACTIVE_MEDIA",n.NONINTERACTIVE_MEDIA_PORTRAIT="NONINTERACTIVE_MEDIA_PORTRAIT",n.NONINTERACTIVE_MEDIA_LANDSCAPE="NONINTERACTIVE_MEDIA_LANDSCAPE",n}({})},425364:function(b,l,e){"use strict";e.r(l),e.d(l,{AttrChangeProps:()=>n,BlockFocusIgnoredSelectors:()=>i,EMPTY_DATA:()=>o,SetDetails:()=>a});var r=e(208935);const o={body:{raw:!1,layout:{columns:12,rows:[]}}},n={FROM_WYSIWYG:"fromWysiwyg",FROM_DIALOG:"fromDialog"},a={FROM_DIALOG:{[n.FROM_DIALOG]:!0},FROM_WYSIWYG:{[n.FROM_WYSIWYG]:!0}},i=[`.${r.BLOCK_FOCUS_IGNORE_CLASSNAME}`,"#avpw_holder",".dialog-choose-image-picker-url",".dialog-content-type.flyout",".dialog-minimal-video-editor.flyout",".dialog-screen-overlay",".image-picker-overlay",".ReactModal__Overlay",".sqs-image-picker",".sqs-item-view",".sqs-widgets-confirmation",".sqs-widgets-confirmation-overlay",".sqs-wysiwyg-toolbar-mobile",".sqsp-tooltip",".workflow-flyout",".block-editor-schemas-code",".CCLinkEditorModal",".CCLinkEditorPopOver",".CCModalOverlay",".CCPageDropDown","[data-dropdown-overlay]","[data-dropdown-container]",'[data-test="ColorPicker.Input.Type"]'].join(", ")},208935:function(b,l,e){"use strict";e.r(l),e.d(l,{BLOCK_FOCUS_IGNORE_CLASSNAME:()=>r,DISABLE_YUI_DRAG_CLASSNAME:()=>a,ESCMANAGER_IGNORE_CLASSNAME:()=>o,NONINTERACTIVE_CLASSNAME:()=>i,NONINTERACTIVE_CLASSNAMES:()=>n,TEXT_BLOCK:()=>c});const r="sqs-prevent-block-focus-change",o="escmanager-ignore",n=[r,o],a="sqs-dd-invalid-handle",i=n.join(" "),c="sqs-block-html"},604453:function(b,l,e){"use strict";e.d(l,{H:()=>n,t:()=>a});var r=e(623795),o=e.n(r);let n=function(i){return i.STRAIGHT_LINE_PRESET="STRAIGHT_LINE_PRESET",i.MILD_WAVE_PRESET="MILD_WAVE_PRESET",i}({});const a={[n.STRAIGHT_LINE_PRESET]:{waveFrequency:4,waveIntensity:0,animationDirection:"left",animationSpeed:.5,pausedOnHover:!1,fadeEdges:!1,textStyle:"heading-1",textSize:{value:4,unit:o().REM},itemSpacing:{unit:o().EM,value:.4}},[n.MILD_WAVE_PRESET]:{waveFrequency:4,waveIntensity:60,animationDirection:"right",animationSpeed:.5,pausedOnHover:!1,fadeEdges:!1,textStyle:"heading-1",textSize:{value:4,unit:o().REM},itemSpacing:{unit:o().EM,value:.4}}}},433566:function(b,l,e){"use strict";e.d(l,{P:()=>r});let r=function(o){return o.LEGACY_COMPATIBLE="LEGACY_COMPATIBLE",o.IN_MIGRATION="IN_MIGRATION",o}({})},965658:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o={BLOGS:['body.collection-type-blog [data-type="item"]','body.collection-type-blog [data-type="promoted-block"]','[class*="collection-type-blog"]'],BLOGS_AND_PAGES:['body.collection-type-blog [data-type="item"]','body.collection-type-blog [data-type="promoted-block"]','[class*="collection-type-page"]','[class*="collection-type-blog"]','[class*="collection-type-products"]','[data-type="page"]',"#productList","#productlist","#productGallery",".ProductList",".sqs-system-gallery","#flowItems",".productlist",".productitem-images",".sqs-pinterest-products-wrapper"],VALID_IMAGE_CONTAINER:[".sqs-block-image",".sqs-gallery-block-stacked",".sqs-gallery-block-grid",".sqs-gallery-block-slideshow",".sqs-block-html",".product-image","#productGallery","#productSlideshow",".ProductList-item",".product",".productlist-item",".sqs-system-gallery .slides .slide","article.flow-item",".productitem-images",".sqs-pinterest-products-wrapper",'[data-controller="ProductListImageLoader"]'],TRIGGER_SELECTORS:[".sqs-block-image",".sqs-gallery-block-stacked",".sqs-gallery-block-grid",".sqs-gallery-block-slideshow",".sqs-block-html img",".product-image","#productGallery .slide img","#productSlideshow",".ProductList-item",".product",'[class^="products"]',".productlist-item",".sqs-system-gallery","#flowItems",".productitem-images",".sqs-pinterest-image img",".sqs-pinterest-products-wrapper img"]}},6233:function(b,l,e){"use strict";e.d(l,{Z:()=>r});const r={CLOSED_DATE:"date-closed",KEY:"squarespace-popup-overlay",VERSION:"version",SUBMITTED:"submitted"}},731144:function(b,l,e){"use strict";e.d(l,{d:()=>r});let r=function(o){return o.BETA="beta",o.PRODUCTION="production",o}({})},722033:function(b,l,e){"use strict";e.d(l,{SN:()=>P,n_:()=>O,tX:()=>y});var r=e(646715),o=e.n(r),n=e(623795),a=e.n(n),i=e(146171),c=e.n(i),u=e(312887),f=e.n(u),d=e(579197),h=e(740907);const g={SMALL:{value:2,unit:a().VIEWPORT_WIDTH},MEDIUM:{value:6,unit:a().VIEWPORT_WIDTH},LARGE:{value:12,unit:a().VIEWPORT_WIDTH}},_={SMALL:{value:5,unit:a().VIEWPORT_WIDTH},MEDIUM:{value:20,unit:a().VIEWPORT_WIDTH},LARGE:{value:100,unit:a().VIEWPORT_WIDTH}},p={enabled:!0,type:c().WAVY,isFlipX:!1,isFlipY:!1,offset:{value:0,unit:a().PIXEL},stroke:{style:"solid",color:{type:d.ColorTypeEnum.THEME_COLOR},thickness:{value:6,unit:a().PIXEL},dashLength:{value:5,unit:a().PIXEL},gapLength:{value:15,unit:a().PIXEL},linecap:f().SQUARE}};let y=function(C){return C.MODERN_FRIENDLY_PRESET_A="MODERN_FRIENDLY_PRESET_A",C.MODERN_FRIENDLY_PRESET_B="MODERN_FRIENDLY_PRESET_B",C}({});const O={[y.MODERN_FRIENDLY_PRESET_A]:o()({},p,{type:c().SOFT_CORNERS,height:g.MEDIUM,stroke:{style:"none"}}),[y.MODERN_FRIENDLY_PRESET_B]:o()({},p,{type:c().ROUNDED,height:g.MEDIUM,width:_.LARGE,stroke:{style:"none"}})},P=C=>{switch(C){case h.m.FRIENDLY:return[O.MODERN_FRIENDLY_PRESET_A,O.MODERN_FRIENDLY_PRESET_B];default:return[O.MODERN_FRIENDLY_PRESET_A,O.MODERN_FRIENDLY_PRESET_B]}}},564666:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o={SPLASH_PAGE:"SPLASH_PAGE",LOCK_SCREEN:"LOCK_SCREEN",POPUP_OVERLAY:"POPUP_OVERLAY",CHECKOUT:"CHECKOUT",STYLE:"STYLE",SSO_PAGE:"SSO_PAGE"}},290048:function(b,l,e){"use strict";e.d(l,{j:()=>o,x:()=>r});let r=function(n){return n.LESS="less",n.CSS="css",n}({}),o=function(n){return n.UNITLESS="",n.PERCENT="%",n.EM="em",n.PT="pt",n.PX="px",n.REM="rem",n.S="s",n.VH="vh",n.VW="vw",n}({})},958013:function(b,l,e){"use strict";e.d(l,{Z:()=>n});const n={AUTH_ID:"ss",AUTH_TOKEN:"BInhlQ%2Bl4i%2FTK2LNzmpe2QC%2Bdl6Qc7iJa15oy7OfSGK%2BY7lwDRam4FlQCIzQGEqAiJZo10MshaDLZWgX%2FckdPK0bOW%2FAfpkj2O5MO1d7Aul7v1RGoa7OBxfdciGAxZqjHAPKKo0fqkxxKF%2F9mM9JjA%3D%3D"}},689446:function(b,l,e){"use strict";e.d(l,{r:()=>o,x:()=>r});let r=function(n){return n.TYPEKIT="typekit",n.GOOGLE="google",n.CUSTOM="custom",n.WEBSAFE="websafe",n}({}),o=function(n){return n.PRODUCTION="production",n.LEGACY="legacy",n.DEPRECATED="deprecated",n}({})},885481:function(b,l,e){"use strict";e.d(l,{Qq:()=>n,Qs:()=>f,Z$:()=>r,Zw:()=>u,_5:()=>a,dK:()=>o,kN:()=>i,pN:()=>c});let r=function(d){return d.REM="rem",d.EM="em",d.PIXEL="px",d}({}),o=function(d){return d.MIXED="mixed",d.SANS_SERIF="sans-serif",d.SERIF="serif",d}({}),n=function(d){return d.PRODUCTION="production",d.DEPRECATED="deprecated",d}({}),a=function(d){return d.NONE="none",d.CAPITALIZE="capitalize",d.LOWERCASE="lowercase",d.UPPERCASE="uppercase",d}({}),i=function(d){return d.HEADING_1="heading-1-size",d.HEADING_2="heading-2-size",d.HEADING_3="heading-3-size",d.HEADING_4="heading-4-size",d.LARGE_TEXT="large-text-size",d.NORMAL_TEXT="normal-text-size",d.SMALL_TEXT="small-text-size",d.NORMAL_META="normal-meta-size",d}({}),c=function(d){return d.HEADING="heading-font",d.BODY="body-font",d.META="meta-font",d}({}),u=function(d){return d.PRIMARY="primary-button-font",d.SECONDARY="secondary-button-font",d.TERTIARY="tertiary-button-font",d}({});const f={[i.HEADING_1]:c.HEADING,[i.HEADING_2]:c.HEADING,[i.HEADING_3]:c.HEADING,[i.HEADING_4]:c.HEADING,[i.LARGE_TEXT]:c.BODY,[i.NORMAL_TEXT]:c.BODY,[i.SMALL_TEXT]:c.BODY,[i.NORMAL_META]:c.META}},506739:function(b,l,e){"use strict";e.d(l,{Z:()=>r});const r={TRIAL_UPGRADE_PLAN:"trial-upgrade",UPGRADE_PLAN:"upgrade"}},995821:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(506739);const o={[r.Z.TRIAL_UPGRADE_PLAN]:"/settings/billing/upgrade",[r.Z.UPGRADE_PLAN]:"/settings/billing/subscriptions/website"}},597800:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n[n.BYTES_IN_MB=1e6]="BYTES_IN_MB",n}(r||{});const o=r},832978:function(b,l,e){"use strict";e.d(l,{U:()=>i,Z:()=>a});var r=e(638204);const o="websites-render-jsont";function n(c){return{}}const{getI18nInstance:a,setI18nInstance:i}=(0,r.setupLibrary)(o,n)},554396:function(b,l,e){"use strict";e.d(l,{_:()=>i,W:()=>y});var r=e(533219);class o{constructor(P){this.init=P,this.value=void 0,this.idleHandle=requestIdleCallback(()=>{this.value=this.init()})}getValue(){return this.value===void 0&&(this.cancelIdleInit(),this.value=this.init()),this.value}setValue(P){this.cancelIdleInit(),this.value=P}cancelIdleInit(){this.idleHandle&&(cancelIdleCallback(this.idleHandle),this.idleHandle=null)}}const n=new o(()=>new r.ZPm),i=O=>n.getValue().parse(O).code;var c=e(199040),u=e(247380),f=e.n(u);const d=new c.Z("websites-render-jsont",f().WEBSITE_EDITOR);var h=e(832978);const g={formatters:r.UgU,predicates:r.gAQ},_=new o(()=>new r.D4V(g)),y=function(O,P){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};try{const A=new r._yD(P,{cldr:(0,h.Z)().getFormattingCldrForTemplateEngine(),partials:C,enableExpr:!0});return _.getValue().execute(O,A),A.render()}catch(A){throw d.withScope(S=>{S.setTag("project","frontend_rendering"),d.captureMessage("executeTemplate failed")}),typeof A=="string"?new Error(A):A}}},150782:function(b,l,e){"use strict";e.d(l,{U:()=>i,Z:()=>a});var r=e(638204);const o="commerce-afterpay";function n(c){return e(548712)(`./${o}.${c}.yaml`)}const{getI18nInstance:a,setI18nInstance:i}=(0,r.setupLibrary)(o,n)},548712:function(b,l,e){var r={"./commerce-afterpay.en-US.yaml":"995265"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=548712},461037:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(642979),o=e.n(r),n=e(134521),a=e.n(n),i=e(292649),c=e(336032),u=e(319340),f=e.n(u);const d=100,h=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return p>d?`${d}+`:p.toString()},g=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return p>d?(0,c._6)({one:"More than one item in cart",other:"More than {%n} items in cart"},d,void 0,{notes:`A spoken message that helps non-visual users understand that they're focused on a cart link and that their cart has over N items. The "one" variant will probably never be used, it' just here for completeness.`,project:"website.CartPage"}):(0,c._6)({one:"One item in cart",other:"{%n} items in cart"},p,void 0,{notes:"A spoken message that helps non-visual users understand that they're focused on a cart link and that their cart has N items.",project:"website.CartPage"})};class _{static syncAll(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};_.instances.forEach(O=>O.sync(y))}static mountAll(){const y=Array.from(document.getElementsByClassName(_.CONTAINER_CLASSNAME));for(const O of y)_.instances.push(new _(O))}static isInstanceVisible(y){const{containerEl:O}=y;return O&&O.clientWidth&&O.clientHeight&&O.getBoundingClientRect().top>0}static removePopoverIfExists(){_.popover&&(_.popover.remove(),_.popover=null)}static showAddedItemPopover(y){const O=_.createProductAddedToCartPopover(y.title);let P=null,C=null;const A=a()(()=>{_.popover&&(C&&C.getBoundingClientRect().top<=0&&_.setPopoverToTopRight(),_.instances.forEach(s=>{if(_.isInstanceVisible(s)){const{containerEl:v}=s;C=v,P=s,_.snapPopoverToCart(s,_.popover)}}))},100);_.popover&&window.removeEventListener("scroll",A),_.removePopoverIfExists(),_.popover=O,_.instances.forEach(s=>{if(_.isInstanceVisible(s)){const{containerEl:v}=s;C=v,P=s}}),_.popover.querySelector(".close").addEventListener("click",()=>{_.removePopoverIfExists(),window.removeEventListener("scroll",A)}),window.addEventListener("scroll",A),setTimeout(()=>{_.removePopoverIfExists(),window.removeEventListener("scroll",A)},3e3),C&&P?_.snapPopoverToCart(P,O):_.setPopoverToTopRight();const S=document.querySelector(".product-list-section"),T=S instanceof HTMLElement?S.dataset.sectionTheme:null;T&&O.setAttribute("data-section-theme",T),document.body.append(_.popover),O.classList.remove("hidden")}static setPopoverToTopRight(){_.popover&&(_.popover.style.marginTop="33px",_.popover.style.top="0px")}static snapPopoverToCart(y,O){var P;const{containerEl:C}=y,A=C==null?void 0:C.parentNode,S=C;if(!S)return;let T=S.getBoundingClientRect();if(A!=null&&A.classList.contains("floating-cart")){T=A==null?void 0:A.getBoundingClientRect(),O.style.bottom=`${T.bottom-T.top+33}px`,O.style.right=`${window.innerWidth-T.right}px`;return}const s=(P=document.querySelector("header"))===null||P===void 0||(P=P.getBoundingClientRect())===null||P===void 0?void 0:P.height;let v=T.top+T.height;const m=16;s?v=s+m:v+=m,O.style.marginTop="0",O.style.top=`${v}px`}static createProductAddedToCartPopover(y){const O=(0,c.t)("{productName} was added to your cart.",{productName:y},{project:"website.CartPage"}),P=(0,c.t)("Close",null,{project:"website.CartPage"}),C=document.createElement("div"),A=document.createElement("p"),S=document.createElement("span");return C.classList.add("template-cart-item-added-popover","hidden"),S.classList.add("close"),A.append(O),S.setAttribute("aria-label",P),S.setAttribute("role","button"),S.innerHTML='<svg color="gray.100" fill="currentColor" height="28" viewBox="0 0 22 22" width="28" xmlns="http://www.w3.org/2000/svg" role="img" class="css-1fy6kej"><path d="M11 12.414l-3.293 3.293-1.414-1.414L9.586 11 6.293 7.707l1.414-1.414L11 9.586l3.293-3.293 1.414 1.414L12.414 11l3.293 3.293-1.414 1.414L11 12.414z"></path></svg>',C.append(A),C.append(S),C}static unmountAll(){_.instances=[]}constructor(y){o()(this,"initialized",!1),o()(this,"containerEl",null),o()(this,"quantityEl",null),o()(this,"subtotalEl",null),this.containerEl=y,this.containerEl.classList.add(_.CLASSNAME),this.containerEl.setAttribute("data-test","continue-to-cart"),this.containerEl.setAttribute("aria-label",g(0)),this.quantityEl=y.getElementsByClassName(_.QUANTITY_CLASSNAME)[0],this.subtotalEl=y.getElementsByClassName(_.SUBTOTAL_CLASSNAME)[0]}sync(y){let{items:O=0,subtotal:P=""}=y;!this.initialized&&this.containerEl&&(this.containerEl.classList.add(_.INITIALIZED_CLASS),this.initialized=!0),this.containerEl&&(this.quantityEl?(O===0?this.containerEl.classList.add(i.qJ):this.containerEl.classList.remove(i.qJ),this.quantityEl.textContent=h(O),this.containerEl.setAttribute("aria-label",g(O))):this.containerEl.setAttribute("aria-label",(0,c.t)("Cart",null,{notes:"Shopping cart label",project:"website.CartPage"}))),this.subtotalEl&&(this.subtotalEl.textContent=P)}}o()(_,"CONTAINER_CLASSNAME",i.ad),o()(_,"QUANTITY_CLASSNAME",i.tK),o()(_,"SUBTOTAL_CLASSNAME",i.hD),o()(_,"CLASSNAME",i.OP),o()(_,"INITIALIZED_CLASS",i.M2),o()(_,"instances",[]),o()(_,"popover",null)},336032:function(b,l,e){"use strict";e.d(l,{T:()=>T,Wj:()=>y,_6:()=>A,lb:()=>S,t:()=>C});var r=e(555912),o=e(470407),n=e(59794),a=e(708427);const i=(0,a.Z)(),c=new n.default(i),u=new r.default(i),f=new o.default(i),{formatIcuMessage:d}=u,{parseNumber:h}=f,{formatNumber:g,formatCurrency:_,formatCurrencyToParts:p,getCurrencyFractions:y,getCurrencySymbol:O,formatQuantity:P,translate:C,pluralize:A,formatMoney:S}=i,{T}=c},708427:function(b,l,e){"use strict";e.d(l,{U:()=>i,Z:()=>a});var r=e(638204);const o="website.CartPage";function n(c){return e(399755)(`./${o}.${c}.yaml`)}const{getI18nInstance:a,setI18nInstance:i}=(0,r.setupLibrary)(o,n)},292649:function(b,l,e){"use strict";e.d(l,{Dz:()=>o,M2:()=>c,OP:()=>i,ad:()=>a,gB:()=>r,hD:()=>f,qJ:()=>d,tK:()=>u});const r="sqs-cart-root",o="sqs-cart-container",n="sqs-has-custom-cart",a="sqs-custom-cart",i="sqs-template-integrated-shopping-cart",c="sqs-cart-initialized",u="sqs-cart-quantity",f="sqs-cart-subtotal",d="cart-quantity-zero"},822054:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(292649);const o=function(){return!!(arguments.length>0&&arguments[0]!==void 0?arguments[0]:window).document.getElementById(r.gB)}},399755:function(b,l,e){var r={"./website.CartPage.en-US.yaml":"281928"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=399755},461984:function(b,l,e){"use strict";e.d(l,{U:()=>i,Z:()=>a});var r=e(638204);const o="commerce.utils";function n(c){return e(629258)(`./${o}.${c}.yaml`)}const{getI18nInstance:a,setI18nInstance:i}=(0,r.setupLibrary)(o,n)},629258:function(b,l,e){var r={"./commerce.utils.en-US.yaml":"299435"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=629258},284106:function(b,l,e){"use strict";e.d(l,{HC:()=>m,w:()=>p,Bn:()=>s,fY:()=>_,Kc:()=>P,QQ:()=>C,E0:()=>S,iL:()=>A,ok:()=>T,f0:()=>O,Tu:()=>v,O1:()=>y});var r=e(221661),o=e(994336),n=e.n(o),a=e(886346);const c=E=>/\.(sqsp|squarespace)\.net$/.test(E),u="SiteUserInfo",f=()=>{const E=n().get(u);if(!E)return null;try{return JSON.parse(E)}catch(I){return console.error("Could not parse user info cookie value",I),null}},d=()=>{const E=f();return!!(E!=null&&E.authenticated)},h=()=>{const E=f();return E==null?void 0:E.siteUserId},g=new r.SiteVisitorClient({customSchemaName:"CommerceShopping",sourceEnvironment:c(window.location.hostname)?r.SourceEnvironment.STAGING:r.SourceEnvironment.PROD},{event_source:"web",event_owner_team:"commerce_merchandising",product_area:"commerce_shopping"}),_=E=>{let{website_id:I,page_id:L,product_page:W,pdp_layout:F,product:G}=E;g.track({event_name:"CommerceShopping_VisitPDP",actor:"site_user",action:"view",object_type:"product",email_derived_user_id:h(),logged_in:d(),website_id:I,page_id:L,product_page:W,pdp_layout:F,end_user_session_id:n().get(a.oV),ss_cvr:n().get(a.Y7),...G})},p=E=>{let{websiteId:I,pageId:L}=E;g.track({event_name:"CommerceShopping_VisitPLP",actor:"site_user",action:"view",object_type:"shop",site_user_id:h(),end_user_session_id:n().get(a.oV),ss_cvr:n().get(a.Y7),logged_in:d(),website_id:I,page_id:L})},y=E=>{g.track({event_name:"CommerceShopping_ReviewsVitalsAnchorLink",actor:"site_user",action:"click",object_type:"link",email_derived_user_id:h(),ss_cvr:n().get(a.Y7),logged_in:d(),product_page:"pdp",end_user_session_id:n().get(a.oV),...E})},O=E=>{let{website_id:I,item_id:L,item_type:W,item_title:F,page_id:G,item_category_ids:k,item_category_names:x,item_collection_id:M,item_collection_name:B,pdp_layout:R,tabType:U}=E;g.track({event_name:"CommerceShopping_ReviewsTab",actor:"site_user",action:"click",object_type:"tab",email_derived_user_id:h(),ss_cvr:n().get(a.Y7),logged_in:d(),website_id:I,item_id:L,item_type:W,item_title:F,page_id:G,item_category_ids:k,item_category_names:x,item_collection_id:M,item_collection_name:B,product_page:"pdp",pdp_layout:R,end_user_session_id:n().get(a.oV),object_identifier:U})},P=E=>{let{website_id:I,page_id:L,cart_id:W,product_page:F,pdp_layout:G,is_quickview:k,has_custom_form:x,error_type:M,product:B}=E;g.track({event_name:"CommerceShopping_AddToCart",actor:"site_user",action:"add",object_type:"product",email_derived_user_id:h(),logged_in:d(),website_id:I,page_id:L,product_page:F,pdp_layout:G,cart_id:W,end_user_session_id:n().get(a.oV),ss_cvr:n().get(a.Y7),is_quickview:k,has_custom_form:x,error_type:M,...B})},C=E=>{let{website_id:I,cart_id:L,num_items_in_cart:W,product_types_list:F,cart_value:G,purchase_type_list:k,currency_code:x}=E;g.track({event_name:"CommerceShopping_ViewCart",actor:"site_user",action:"view",object_type:"cart",email_derived_user_id:h(),logged_in:d(),website_id:I,cart_id:L,num_items_in_cart:W,product_types_list:F,purchase_type_list:k,cart_value:G,currency_code:x,end_user_session_id:n().get(a.oV),ss_cvr:n().get(a.Y7)})},A=E=>{let{website_id:I,cart_id:L,item_id:W,item_type:F,item_title:G,item_variant_object:k,item_price:x,currency_code:M,item_quantity:B}=E;g.track({event_name:"CommerceShopping_RemoveFromCart",actor:"site_user",action:"view",object_type:"cart",email_derived_user_id:h(),logged_in:d(),website_id:I,cart_id:L,item_id:W,item_type:F,item_title:G,item_variant_object:k,item_price:x,currency_code:M,item_quantity:B,end_user_session_id:n().get(a.oV),ss_cvr:n().get(a.Y7)})},S=E=>{let{website_id:I,item_ids:L,cart_id:W}=E;g.track({event_name:"CommerceShopping_RelatedProductDisplay",actor:"system",action:"display",object_type:"cart",email_derived_user_id:h(),logged_in:d(),website_id:I,related_product_item_ids:L,cart_id:W,end_user_session_id:n().get(a.oV),ss_cvr:n().get(a.Y7)})},T=E=>{let{website_id:I,item_id:L,cart_id:W}=E;g.track({event_name:"CommerceShopping_RelatedProductAddToCart",actor:"site_user",action:"add",object_type:"product",email_derived_user_id:h(),logged_in:d(),website_id:I,item_id:L,cart_id:W,end_user_session_id:n().get(a.oV),ss_cvr:n().get(a.Y7)})},s=E=>{let{website_id:I,item_id:L,cart_id:W}=E;g.track({event_name:"CommerceShopping_RelatedProductClick",actor:"site_user",action:"click",object_type:"product",email_derived_user_id:h(),logged_in:d(),website_id:I,item_id:L,cart_id:W,end_user_session_id:n().get(a.oV),ss_cvr:n().get(a.Y7)})},v=E=>{let{website_id:I,product_page:L,pdp_layout:W,is_quickview:F,item_variant_selector:G,product:k}=E;g.track({event_name:"CommerceShopping_OpenCustomProductForm",actor:"site_user",action:"open",object_type:"product_form",end_user_session_id:n().get(a.oV),ss_cvr:n().get(a.Y7),logged_in:d(),website_id:I,product_page:L,pdp_layout:W,has_custom_form:!0,is_quickview:F,item_variant_selector:G,...k})},m=E=>{let{website_id:I,product_page:L,pdp_layout:W,is_quickview:F,item_variant_selector:G,product:k}=E;g.track({event_name:"CommerceShopping_SaveCustomProductForm",actor:"site_user",action:"save",object_type:"product_form",end_user_session_id:n().get(a.oV),ss_cvr:n().get(a.Y7),logged_in:d(),website_id:I,product_page:L,pdp_layout:W,has_custom_form:!0,is_quickview:F,item_variant_selector:G,...k})}},528215:function(b,l,e){"use strict";e.d(l,{EH:()=>g,TJ:()=>p,qH:()=>y,Yt:()=>h,DU:()=>u,bI:()=>_,aI:()=>i,ZQ:()=>d});var r=e(39994),o=function(O){return O.HIDDEN=".grecaptcha-badge { visibility: hidden; }",O.UNHIDDEN=".grecaptcha-badge { visibility: visible; z-index: 12000 }",O.UNHIDDEN_LIGHTBOX=".grecaptcha-badge { visibility: visible; z-index: 100000001 }",O}(o||{});const n="forms-grecaptcha-badge-style",a=o,i={FORM_BLOCK:"FORM_BLOCK_SUBMISSION",NEWSLETTER_BLOCK:"NEWSLETTER_BLOCK_SUBMISSION",PRODUCT_WAITLIST:"PRODUCT_WAITLIST_SUBMISSION",PROMO_POPUP:"PROMO_POPUP_SUBMISSION"},c=(O,P)=>{const C='script[src*="https://www.google.com/recaptcha/api.js"]',A=O.document.querySelector(C);if(A)A.remove();else if(O.__grecaptchaOnLoadPromise)return O.__grecaptchaOnLoadPromise;return O.__grecaptchaOnLoadPromise=new Promise((S,T)=>{const s="__grecaptchaOnLoadCallback";O[s]=()=>S(),O.document?(0,r.Z)(`https://www.google.com/recaptcha/enterprise.js?onload=${s}&render=${P}`,{doc:O.document}).catch(T):T("[EnterpriseV3ReCaptchaApi] Document was destroyed")}),O.__grecaptchaSiteKey=P,O.__grecaptchaOnLoadPromise},u=async(O,P)=>{if(await c(O,P),!O.document.getElementById(n)){const C=O.document.createElement("style");C.id=n,C.textContent=a.HIDDEN,O.document.head.appendChild(C)}},f=(O,P)=>{const C=O.document.getElementById(n);C&&(C.textContent=P)},d=O=>{let{win:P,isLightbox:C=!1}=O;C?f(P,a.UNHIDDEN_LIGHTBOX):f(P,a.UNHIDDEN)},h=O=>{let{win:P}=O;f(P,a.HIDDEN)},g=O=>{let{element:P,win:C,isLightbox:A=!1}=O;P.addEventListener("focus",()=>{d({win:C,isLightbox:A})})},_=O=>{let{formEl:P,isLightbox:C=!1,win:A}=O;P.querySelectorAll("input, textarea, select").forEach(S=>{g({element:S,win:A,isLightbox:C})})},p=async(O,P)=>{var C;await((O==null?void 0:O.__grecaptchaOnLoadPromise)??Promise.resolve());const A=O==null||(C=O.grecaptcha)===null||C===void 0?void 0:C.enterprise;return A?new Promise(S=>{A.ready(()=>{try{A.execute(O.__grecaptchaSiteKey,{action:P}).then(T=>{S(T)})}catch{S(null)}})}):Promise.resolve(null)},y=O=>{const P=O.querySelector(".captcha-container");return P||null}},289578:function(b,l,e){"use strict";e.d(l,{Y:()=>L});class r{constructor(G,k){this.evt=G,this.sub=k}batch(G,k){G.call(k||this,this),Array.isArray(this.evt)&&this.evt.forEach(function(x){x.batch.call(k||x,G)})}detach(){const G=this.evt;let k=0;if(G)if(Array.isArray(G))for(const x of G)k+=x.detach();else G._delete(this.sub),k=1;return k}monitor(G){return this.evt.monitor.apply(this.evt,arguments)}}let o=0;function n(F){const G="_"+ ++o;return F?F+G:G}function a(F){for(var G=arguments.length,k=new Array(G>1?G-1:0),x=1;x<G;x++)k[x-1]=arguments[x];return Array.prototype.slice.bind(F)(...k)}const i=0,c=1;class u{constructor(G,k){this.obj=G,this.methodName=k,this.method=G[k],this.before={},this.after={}}}function f(F,G){let k;if(!F)return F;if(F.uniqueID&&F.nodeType&&F.nodeType!==9?k=F.uniqueID:k=typeof F=="string"?F:F._yuid,!k&&(k=n(),!G))try{F._yuid=k}catch{k=null}return k}class d{before(G,k,x,M){for(var B=arguments.length,R=new Array(B>4?B-4:0),U=4;U<B;U++)R[U-4]=arguments[U];let j=G;return M&&(j=function(){for(var $=arguments.length,ee=new Array($),te=0;te<$;te++)ee[te]=arguments[te];return G.bind(M)(...ee,...R)}),this._inject(i,j,k,x)}after(G,k,x,M){for(var B=arguments.length,R=new Array(B>4?B-4:0),U=4;U<B;U++)R[U-4]=arguments[U];let j=G;return M&&(j=function(){for(var $=arguments.length,ee=new Array($),te=0;te<$;te++)ee[te]=arguments[te];return G.bind(M)(...ee,...R)}),this._inject(c,j,k,x)}_inject(G,k,x,M){const B=f(x);x._yuiaop||(x._yuiaop={});const R=x._yuiaop;R[M]||(R[M]=new u(x,M),x[M]=function(){return R[M].exec.apply(R[M],arguments)});const U=B+f(k)+M;return R[M].register(U,k,G),new r(R[M],U)}detach(G){G.detach()}}var h=e(642979),g=e.n(h);class _{constructor(G,k,x,M){this.fn=G,this.context=k,this.id=n(),this.args=x,this._when=M}_notify(G,k,x){if(this.deleted&&!this.postponed)if(this.postponed)delete this.fn,delete this.context;else return delete this.postponed,null;let M=this.args,B;switch(x.signature){case 0:B=this.fn.call(G,x.type,k,G);break;case 1:B=this.fn.call(G,k[0]||null,G);break;default:M||k?(k=k||[],M=M?k.concat(M):k,B=this.fn.apply(G,M)):B=this.fn.call(G)}return this.once&&x._delete(this),B}notify(G,k){let x=this.context,M=!0;x||(x=k.contextFn?k.contextFn():k.context);try{M=this._notify(x,G,k)}catch{}return M}contains(G,k){return k?this.fn===G&&this.context===k:this.fn===G}valueOf(){return this.id}}const p="after";class y{constructor(G,k){g()(this,"preventable",!0),g()(this,"bubbles",!0),this._kds=y.keepDeprecatedSubs,this.id=n(),this.type=G,this.silent=!0,this._kds&&(this.subscribers={},this.afters={}),k&&E(this,k,!0)}hasSubs(G){let k=0,x=0,M=this._subscribers,B=this._afters;const R=this.sibling;return M&&(k=M.length),B&&(x=B.length),R&&(M=R._subscribers,B=R._afters,M&&(k+=M.length),B&&(x+=B.length)),G?G==="after"?x:k:k+x}monitor(G){this.monitored=!0;const k=this.id+"|"+this.type+"_"+G,x=a(arguments,0);return x[0]=k,this.host.on.apply(this.host,x)}getSubs(){const G=this.sibling;let k=this._subscribers,x=this._afters,M,B;return G&&(M=G._subscribers,B=G._afters),M?k?k=k.concat(M):k=M.concat():k?k=k.concat():k=[],B?x?x=x.concat(B):x=B.concat():x?x=x.concat():x=[],[k,x]}applyConfig(G,k){E(this,G,k)}_on(G,k,x,M){const B=new _(G,k,x,M);let R;return this.fireOnce&&this.fired&&(R=this.firedWith,this.emitFacade&&this._addFacadeToArgs&&this._addFacadeToArgs(R),this.async?setTimeout(()=>this._notify(B,R),0):this._notify(B,R)),M===p?(this._afters||(this._afters=[]),this._afters.push(B)):(this._subscribers||(this._subscribers=[]),this._subscribers.push(B)),this._kds&&(M===p?this.afters[B.id]=B:this.subscribers[B.id]=B),new r(this,B)}subscribe(G,k){const x=arguments.length>2?a(arguments,2):null;return this._on(G,k,x,!0)}on(G,k){const x=arguments.length>2?a(arguments,2):null;return this.monitored&&this.host&&this.host._monitor("attach",this,{args:arguments}),this._on(G,k,x,!0)}after(G,k){const x=arguments.length>2?a(arguments,2):null;return this._on(G,k,x,p)}detach(G,k){if(G&&G.detach)return G.detach();let x=0;const M=this._subscribers,B=this._afters;if(M)for(let R=M.length;R>=0;R--){const U=M[R];U&&(!G||G===U.fn)&&(this._delete(U,M,R),x++)}if(B)for(let R=B.length;R>=0;R--){const U=B[R];U&&(!G||G===U.fn)&&(this._delete(U,B,R),x++)}return x}unsubscribe(){return this.detach.apply(this,arguments)}_notify(G,k,x){return!(G.notify(k,this)===!1||this.stopped>1)}log(G,k){}fire(){const G=[];return G.push.apply(G,arguments),this._fire(G)}_fire(G){return this.fireOnce&&this.fired?!0:(this.fired=!0,this.fireOnce&&(this.firedWith=G),this.emitFacade?this.fireComplex(G):this.fireSimple(G))}fireSimple(G){if(this.stopped=0,this.prevented=0,this.hasSubs()){const k=this.getSubs();this._procSubs(k[0],G),this._procSubs(k[1],G)}return this.broadcast&&this._broadcast(G),!this.stopped}fireComplex(G){return G[0]=G[0]||{},this.fireSimple(G)}_procSubs(G,k,x){for(let M=0,B=G.length;M<B;M++){const R=G[M];if(R&&R.fn&&(this._notify(R,k,x)===!1&&(this.stopped=2),this.stopped===2))return!1}return!0}_broadcast(G){!this.stopped&&this.broadcast&&G.concat().unshift(this.type)}unsubscribeAll(){return this.detachAll.apply(this,arguments)}detachAll(){return this.detach()}_delete(G,k,x){const M=G._when;k||(k=M===p?this._afters:this._subscribers),k&&(x=k.indexOf(G),G&&k[x]===G&&k.splice(x,1)),this._kds&&(M===p?delete this.afters[G.id]:delete this.subscribers[G.id]),this.monitored&&this.host&&this.host._monitor("detach",this,{ce:this,sub:G}),G&&(G.deleted=!0)}}g()(y,"keepDeprecatedSubs",!1),g()(y,"mixConfigs",E);const O=":",P="|",C="~AFTER~",A=/(.*?)(:)(.*?)/,S=function(F){return F.replace(A,"*$2$3")},T=function(F,G){return!G||!F||F.indexOf(O)>-1?F:G+O+F},s=function(F,G){let k=F,x,M,B;return typeof k!="string"?k:(B=k.indexOf(C),B>-1&&(M=!0,k=k.substr(C.length)),B=k.indexOf(P),B>-1&&(x=k.substr(0,B),k=k.substr(B+1),k==="*"&&(k=null)),[x,G?T(k,G):k,M,k])},v=["broadcast","monitored","bubbles","context","contextFn","currentTarget","defaultFn","defaultTargetOnly","details","emitFacade","fireOnce","async","host","preventable","preventedFn","queuable","silent","stoppedFn","target","type"],m={};for(const F of v)m[F]=F;function E(F,G,k){for(const x in G)m[x]&&(k||!(x in F))&&(F[x]=G[x]);return F}class I{constructor(G){let k=this._yuievt;k||(k=this._yuievt={events:{},targets:null,config:{host:this,context:this}});const x=k.config;G&&(E(x,G,!0),G.chain!==void 0&&(k.chain=G.chain),G.prefix&&(x.prefix=G.prefix)),this.evt={handles:{},plugins:{}},this.do=new d}once(){const G=this.on.apply(this,arguments);if(G)return G.batch(function(k){k.sub&&(k.sub.once=!0)}),G}onceAfter(){const G=this.after.apply(this,arguments);return G.batch(function(k){k.sub&&(k.sub.once=!0)}),G}parseType(G,k){return s(G,k||this._yuievt.config.prefix)}on(G,k,x){const M=this._yuievt,B=s(G,M.config.prefix),R=this.evt.handles;let U,j,$,ee,te,ie,ne,pe;if(this._monitor("attach",B[1],{args:arguments,category:B[0],after:B[2]}),typeof G=="function")return this.do.before.apply(this.do,arguments);if(typeof G=="object"){U=k,j=x,$=a(arguments,0),ee=[],Array.isArray(G)&&(pe=!0),ne=G._after,delete G._after;for(const q in G){const J=G[q];(typeof J=="function"||typeof J=="object")&&(U=J.fn||typeof J=="function"?J:U,j=J.context||j);const me=ne?C:"";$[0]=me+(pe?J:q),$[1]=U,$[2]=j,ee.push(this.on.apply(this,$))}return M.chain?this:new r(ee)}const oe=B[0];return ne=B[2],G=B[1],ie||(te=M.events[G]||this.publish(G),ie=te._on(k,x,arguments.length>3?a(arguments,3):null,ne?"after":!0),G.indexOf("*:")!==-1&&(this._hasSiblings=!0)),oe&&(R[oe]=R[oe]||{},R[oe][G]=R[oe][G]||[],R[oe][G].push(ie)),M.chain?this:ie}subscribe(){return this.on.apply(this,arguments)}detach(G,k,x){const M=this._yuievt.events;if(!G){for(const ie in M)M.hasOwnProperty(ie)&&M[ie].detach(k,x);return this}const B=s(G,this._yuievt.config.prefix),R=Array.isArray(B)?B[0]:null,U=this.evt.handles;let j,$;const ee=function(ie,ne,pe){const oe=ie[ne];let q;if(oe)for(let J=oe.length-1;J>=0;--J)q=oe[J].evt,(q.host===pe||q.el===pe)&&oe[J].detach()};if(R){if($=U[R],G=B[1],j=this,$){if(G)ee($,G,j);else for(const ie in $)$.hasOwnProperty(ie)&&ee($,ie,j);return this}}else if(G&&G.detach)return G.detach(),this;const te=M[B[1]];return te&&te.detach(k,x),this}unsubscribe(){return this.detach.apply(this,arguments)}detachAll(G){return this.detach(G)}unsubscribeAll(){return this.detachAll.apply(this,arguments)}publish(G,k){let x;const B=this._yuievt.config,R=B.prefix;return typeof G=="string"?(R&&(G=T(G,R)),x=this._publish(G,B,k)):(x={},G.forEach((U,j)=>{R&&(j=T(j,R)),x[j]=this._publish(j,B,U||k)},this)),x}_getFullType(G){const k=this._yuievt.config.prefix;return k?k+O+G:G}_publish(G,k,x){let M;const B=this._yuievt,R=B.config,U=R.host,j=R.context,$=B.events;return M=$[G],(R.monitored&&!M||M&&M.monitored)&&this._monitor("publish",G,{args:arguments}),M||(M=$[G]=new y(G,k),k||(M.host=U,M.context=j)),x&&E(M,x,!0),M}_monitor(G,k,x){let M,B,R;k&&(typeof k=="string"?(R=k,B=this.getEvent(k,!0)):(B=k,R=k.type),(this._yuievt.config.monitored&&(!B||B.monitored)||B&&B.monitored)&&(M=R+"_"+G,x.monitored=G,this.fire.call(this,M,x)))}fire(G){const k=typeof G=="string",x=arguments.length,M=this._yuievt,B=M.config,R=B.prefix;let U,j=G,$,ee,te;if(k&&x<=3?x===2?te=[arguments[1]]:x===3?te=[arguments[1],arguments[2]]:te=[]:te=a(arguments,k?1:0),k||(j=G&&G.type),R&&(j=T(j,R)),$=M.events[j],this._hasSiblings&&(ee=this.getSibling(j,$),ee&&!$&&($=this.publish(j))),(B.monitored&&(!$||$.monitored)||$&&$.monitored)&&this._monitor("fire",$||j,{args:te}),$)ee&&($.sibling=ee),U=$._fire(te);else{if(M.hasTargets)return this.bubble({type:j},te,this);U=!0}return M.chain?this:U}getSibling(G,k){let x;return G.indexOf(O)>-1&&(G=S(G),x=this.getEvent(G,!0),x&&(x.applyConfig(k),x.bubbles=!1,x.broadcast=0)),x}getEvent(G,k){let x;return k||(x=this._yuievt.config.prefix,G=x?T(G,x):G),this._yuievt.events[G]||null}after(G,k){const x=a(arguments,0);switch(typeof G){case"function":return this.do.after.apply(this.do,arguments);case"object":x[0]._after=!0;break;default:x[0]=C+G}return this.on.apply(this,x)}before(){return this.on.apply(this,arguments)}}const L=new I,W=null},869670:function(b,l,e){"use strict";e.d(l,{U:()=>i,Z:()=>a});var r=e(638204);const o="website.ProductReviews";function n(c){return e(60103)(`./${o}.${c}.yaml`)}const{getI18nInstance:a,setI18nInstance:i}=(0,r.setupLibrary)(o,n)},60103:function(b,l,e){var r={"./website.ProductReviews.en-US.yaml":"251707"};function o(a){var i=n(a);return e(i)}function n(a){if(!e.o(r,a)){var i=new Error("Cannot find module '"+a+"'");throw i.code="MODULE_NOT_FOUND",i}return r[a]}o.keys=function(){return Object.keys(r)},o.resolve=n,b.exports=o,o.id=60103},691985:function(b,l,e){"use strict";e.d(l,{D:()=>r,R:()=>o});const r=(()=>{try{return window.Static.SQUARESPACE_CONTEXT}catch{throw new Error("@sqs/website-context was imported before window.Static.SQUARESPACE_CONTEXT was set")}})(),o=()=>{var n;return r==null||(n=r.website)===null||n===void 0?void 0:n.timeZone}},232630:function(){(function(){function b(l){l.Modernizr=function(e,r,o){var n="2.8.3",a={},i=!0,c=r.documentElement,u="modernizr",f=r.createElement(u),d=f.style,h=r.createElement("input"),g=":)",_={}.toString,p=" -webkit- -moz- -o- -ms- ".split(" "),y="Webkit Moz O ms",O=y.split(" "),P=y.toLowerCase().split(" "),C={svg:"http://www.w3.org/2000/svg"},A={},S={},T={},s=[],v=s.slice,m,E=function($,ee,te,ie){u+="x";var ne,pe,oe,q,J=r.createElement("div"),me=r.body,re=me||r.createElement("body");if(parseInt(te,10))for(;te--;)oe=r.createElement("div"),oe.id=ie?ie[te]:u+(te+1),J.appendChild(oe);return ne=["&#173;",'<style id="s',u,'">',$,"</style>"].join(""),J.id=u,(me?J:re).innerHTML+=ne,re.appendChild(J),me||(re.style.background="",re.style.overflow="hidden",q=c.style.overflow,c.style.overflow="hidden",c.appendChild(re)),pe=ee(J,$),me?(J.style.display="none",e.setTimeout(function(){J.parentNode.removeChild(J)},1e3)):(re.parentNode.removeChild(re),c.style.overflow=q),!!pe},I=function(){var $={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};function ee(te,ie){ie=ie||r.createElement($[te]||"div"),te="on"+te;var ne=te in ie;return ne||(ie.setAttribute||(ie=r.createElement("div")),ie.setAttribute&&ie.removeAttribute&&(ie.setAttribute(te,""),ne=k(ie[te],"function"),k(ie[te],"undefined")||(ie[te]=o),ie.removeAttribute(te))),ie=null,ne}return ee}(),L={}.hasOwnProperty,W;!k(L,"undefined")&&!k(L.call,"undefined")?W=function($,ee){return L.call($,ee)}:W=function($,ee){return ee in $&&k($.constructor.prototype[ee],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(ee){var te=this;if(typeof te!="function")throw new TypeError;var ie=v.call(arguments,1),ne=function(){if(this instanceof ne){var pe=function(){};pe.prototype=te.prototype;var oe=new pe,q=te.apply(oe,ie.concat(v.call(arguments)));return Object(q)===q?q:oe}else return te.apply(ee,ie.concat(v.call(arguments)))};return ne});function F($){d.cssText=$}function G($,ee){return F(p.join($+";")+(ee||""))}function k($,ee){return typeof $===ee}function x($,ee){return!!~(""+$).indexOf(ee)}function M($,ee){for(var te in $){var ie=$[te];if(!x(ie,"-")&&d[ie]!==o)return ee=="pfx"?ie:!0}return!1}function B($,ee,te){for(var ie in $){var ne=ee[$[ie]];if(ne!==o)return te===!1?$[ie]:k(ne,"function")?ne.bind(te||ee):ne}return!1}function R($,ee,te){var ie=$.charAt(0).toUpperCase()+$.slice(1),ne=($+" "+O.join(ie+" ")+ie).split(" ");return k(ee,"string")||k(ee,"undefined")?M(ne,ee):(ne=($+" "+P.join(ie+" ")+ie).split(" "),B(ne,ee,te))}A.flexbox=function(){return R("flexWrap")},A.canvas=function(){var $=r.createElement("canvas");return!!($.getContext&&$.getContext("2d"))},A.canvastext=function(){return!!(a.canvas&&k(r.createElement("canvas").getContext("2d").fillText,"function"))},A.webgl=function(){return!!e.WebGLRenderingContext},A.touch=function(){var $;return"ontouchstart"in e||e.DocumentTouch&&r instanceof DocumentTouch?$=!0:E(["@media (",p.join("touch-enabled),("),u,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(ee){$=ee.offsetTop===9}),$},A.hashchange=function(){return I("hashchange",e)&&(r.documentMode===o||r.documentMode>7)},A.history=function(){return!!(e.history&&history.pushState)},A.draganddrop=function(){var $=r.createElement("div");return"draggable"in $||"ondragstart"in $&&"ondrop"in $},A.rgba=function(){return F("background-color:rgba(150,255,150,.5)"),x(d.backgroundColor,"rgba")},A.hsla=function(){return F("background-color:hsla(120,40%,100%,.5)"),x(d.backgroundColor,"rgba")||x(d.backgroundColor,"hsla")},A.multiplebgs=function(){return F("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(d.background)},A.backgroundsize=function(){return R("backgroundSize")},A.borderimage=function(){return R("borderImage")},A.borderradius=function(){return R("borderRadius")},A.boxshadow=function(){return R("boxShadow")},A.textshadow=function(){return r.createElement("div").style.textShadow===""},A.opacity=function(){return G("opacity:.55"),/^0.55$/.test(d.opacity)},A.cssanimations=function(){return R("animationName")},A.csscolumns=function(){return R("columnCount")},A.cssgradients=function(){var $="background-image:",ee="gradient(linear,left top,right bottom,from(#9f9),to(white));",te="linear-gradient(left top,#9f9, white);";return F(($+"-webkit- ".split(" ").join(ee+$)+p.join(te+$)).slice(0,-$.length)),x(d.backgroundImage,"gradient")},A.cssreflections=function(){return R("boxReflect")},A.csstransforms=function(){return!!R("transform")},A.csstransforms3d=function(){var $=!!R("perspective");return $&&"webkitPerspective"in c.style&&E("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(ee,te){$=ee.offsetLeft===9&&ee.offsetHeight===3}),$},A.csstransitions=function(){return R("transition")},A.video=function(){var $=r.createElement("video"),ee=!1;try{(ee=!!$.canPlayType)&&(ee=new Boolean(ee),ee.ogg=$.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),ee.h264=$.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),ee.webm=$.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch{}return ee},A.audio=function(){var $=r.createElement("audio"),ee=!1;try{(ee=!!$.canPlayType)&&(ee=new Boolean(ee),ee.ogg=$.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),ee.mp3=$.canPlayType("audio/mpeg;").replace(/^no$/,""),ee.wav=$.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),ee.m4a=($.canPlayType("audio/x-m4a;")||$.canPlayType("audio/aac;")).replace(/^no$/,""))}catch{}return ee},A.svg=function(){return!!r.createElementNS&&!!r.createElementNS(C.svg,"svg").createSVGRect},A.inlinesvg=function(){var $=r.createElement("div");return $.innerHTML="<svg/>",($.firstChild&&$.firstChild.namespaceURI)==C.svg},A.svgclippaths=function(){return!!r.createElementNS&&/SVGClipPath/.test(_.call(r.createElementNS(C.svg,"clipPath")))};function U(){a.input=function($){for(var ee=0,te=$.length;ee<te;ee++)T[$[ee]]=$[ee]in h;return T.list&&(T.list=!!(r.createElement("datalist")&&e.HTMLDataListElement)),T}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),a.inputtypes=function($){for(var ee=0,te,ie,ne,pe=$.length;ee<pe;ee++)h.setAttribute("type",ie=$[ee]),te=h.type!=="text",te&&(h.value=g,h.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(ie)&&h.style.WebkitAppearance!==o?(c.appendChild(h),ne=r.defaultView,te=ne.getComputedStyle&&ne.getComputedStyle(h,null).WebkitAppearance!=="textfield"&&h.offsetHeight!==0,c.removeChild(h)):/^(search|tel)$/.test(ie)||(/^(url|email)$/.test(ie)?te=h.checkValidity&&h.checkValidity()===!1:te=h.value!=g)),S[$[ee]]=!!te;return S}("search tel url email datetime date month week time datetime-local number range color".split(" "))}for(var j in A)W(A,j)&&(m=j.toLowerCase(),a[m]=A[j](),s.push((a[m]?"":"no-")+m));return a.input||U(),a.addTest=function($,ee){if(typeof $=="object")for(var te in $)W($,te)&&a.addTest(te,$[te]);else{if($=$.toLowerCase(),a[$]!==o)return a;ee=typeof ee=="function"?ee():ee,typeof i<"u"&&i&&(c.className+=" "+(ee?"":"no-")+$),a[$]=ee}return a},F(""),f=h=null,a._version=n,a._prefixes=p,a._domPrefixes=P,a._cssomPrefixes=O,a.hasEvent=I,a.testProp=function($){return M([$])},a.testAllProps=R,a.testStyles=E,c.className=c.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(i?" js "+s.join(" "):""),a}(l,l.document)}YUI.add("thirdparty-modernizr",function(l){b(l.config.win)},"1.0",{})})()},130077:function(b,l,e){"use strict";b.exports=e.p+"asset-drop-push-e2c6120bfec27d0c.mp4"},866815:function(b,l,e){"use strict";b.exports=e.p+"asset-drop-video-placeholder-28dfd03a2ed1d416.jpg"},639365:function(b,l,e){"use strict";b.exports=e.p+"squarespace-app-qr-6fb870a507f12fe2.png"},841863:function(b,l,e){"use strict";e.d(l,{YG:()=>oe,iZ:()=>pe,a6:()=>ne,Zj:()=>j,EP:()=>$,ws:()=>q,js:()=>ie,el:()=>U});var r=e(714487),o=e(750954),n=e.n(o),a=e(467621),i=e.n(a),c=e(467231),u=e.n(c),f=e(370509),d=e.n(f),h=e(844958),g=e.n(h),_=e(330717),p=e.n(_),y=e(511960),O=e.n(y),P=e(948863),C=e.n(P),A=e(217470),S=e.n(A),T=e(476916),s=e.n(T),v=e(540316),m=e(755210),E=e(406409);const I="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAeCAYAAAA/xX6fAAAAAXNSR0IArs4c6QAAA1lJREFUSA21llmIT1Ecx/8jE7KOEDMKMYo8CPFgyQspigcPeJAlMUTZHmwveCWDpDxLiUQS2ZVdsjeYkSZLIbvsy+dz555x3Zn/f/4z+Nbn3PNbzjn3nHvO+f8LMg2rGSnDYAKMgGLoBj/gKTyBM3AILoP+Jqk5rWbDQ/iZJw/Is41tG6XBZN+DMFAV9U0wDvpCW2gP/WA8bIVqCPmV1F2VvDSXrE9g4wqYAi5rQyogYRr4crb9Aoshp8qIhrfcTr1Fzuz6g4W4N0PoZ2X9aZnMRALf48SF2ZIa4Z+T6G9mul0RjmfgW61PB2O7NItfd0dwgLSW47DP99A9GfSjG7gEfou01uHwu7pp0nIDXQTbL0oHsffHsd0h5uw+x86hwZl6bonj6UFb4j8Rx9wsns+03NVfwRfqCZlZoHFBI4fSg3rWDoBtH0MvyKZ9BMxziWun3OAWJjc56HFsO3kB/SGXwqROmXQTbDhKIw+FQW3zAYbk0WYgOebf90CH3fMoj4amuOOCXNZOwcjxdBVUF4uP4OjZvoHb/S68httgrrdI+H5uuAp4B1dhEqTlFWi7NwaqY2OMRkoLsE1M4q/BDFBhyyfj1tdE0d/FZKr6b7mkvp3qU/OoLTtT2xBbztIVcIYF4Kqo4ppHppxnCSwFb6u1kBx0ALa6brEaHP2wRkJeb/qdRdAuKvrmxw6XUTsMrHsqfINVGsgXvAPmzYDo50bDpeqtI9ZGnvpd1lawAjzAdhaOgd/MnCWQVIjrGwvmuHHaQKRjlDq31ZhRGWb4FitsLF9qWSLHDWI7X2Jawp+snsQwJ8w4ivljqdP1Hxl5MhmvrXBDGDsN9W0sv5Xx5MwxI82jNPYK2kWeRLGdusFK8EIOKqJSuxTBmXo66B8zwC4Fz6x9+lnqyB/bK2DCcWjKjy/NInWl9MXta2fkyVL0xP8STNwD3iSNlStyDezjFrSGnBpB9A3Y4AjUWXt82dSDQDgCzlA7Lw0i6zk46A1IXwq46mg4nqdgGy+I5NnEbFjef1VgBx7w6VCfvK1WgmfU3HPQCZqk9rTyW9qRHIQeEDSAynkI8Y3UC0Pwb55lNPYCsOMP4H+ccgizciknwj9VCb3thTAbn948O6AD/DeNpuezcBSGQKP0C8/h97QX6VebAAAAAElFTkSuQmCC",L="page",W="page-layouts",F="blog-masonry",G="events-stacked",k="portfolio-grid-basic",x="products",M="lessons",B="course",R="scheduling",U="folders",j="link",$="chownow",ee="memberarea",te="member_site",ie={[L]:{iconDetail:(0,r.t)("Start with a blank page",null,{project:"src.seven-one"}),iconName:(0,r.t)("Blank Page",null,{project:"src.seven-one"}),iconUrl:i(),templateConfigType:L,testAttr:"blank_page"},[W]:{iconDetail:(0,r.t)("Use a designer layout",null,{project:"src.seven-one"}),iconName:(0,r.t)("Page Layouts",null,{project:"src.seven-one"}),iconUrl:u(),templateConfigType:n().GENERAL,testAttr:"page_layouts"},[R]:{iconDetail:(0,r.t)("Book appointments or classes",null,{project:"src.seven-one"}),iconName:(0,r.t)("Scheduling",null,{project:"src.seven-one"}),iconUrl:C(),templateConfigType:n().APPOINTMENTS,testAttr:"scheduling"}},ne={[F]:{iconDetail:(0,r.t)("Share stories, thoughts, and ideas",null,{project:"src.seven-one"}),iconName:(0,r.t)("Blog",null,{project:"src.seven-one"}),iconUrl:d(),templateConfigType:n().BLOG,testAttr:"collection_blog"},[x]:{iconDetail:(0,r.t)("Sell products and services online",null,{project:"src.seven-one"}),iconName:(0,r.t)("Store",null,{project:"src.seven-one"}),iconUrl:p(),templateConfigType:n().STORE,testAttr:"collection_products"},[k]:{iconDetail:(0,r.t)("Present projects and visual work",null,{project:"src.seven-one"}),iconName:(0,r.t)("Portfolio",null,{project:"src.seven-one"}),iconUrl:g(),templateConfigType:n().PORTFOLIO,testAttr:"collection_portfolio"},[G]:{iconDetail:(0,r.t)("Showcase upcoming events",null,{project:"src.seven-one"}),iconName:(0,r.t)("Events",null,{project:"src.seven-one"}),iconUrl:O(),templateConfigType:n().EVENTS,testAttr:"collection_events"},[M]:{iconDetail:(0,r.t)("Share and sell on-demand videos",null,{project:"commerce.lessons"}),iconName:(0,r.t)("Videos",null,{project:"commerce.lessons"}),iconUrl:v.Z,templateConfigType:n().LESSONS,testAttr:"collection_lessons"},[B]:{iconDetail:(0,r.t)("Create a series of guided lessons",null,{project:"commerce.course"}),iconName:(0,r.t)("Course",null,{project:"commerce.course"}),iconUrl:m.Z,templateConfigType:n().COURSE,testAttr:"collection_course"},[te]:{iconDetail:(0,r.t)("Create content for members only",null,{project:"commerce.course"}),iconName:(0,r.t)("Member Site",null,{project:"commerce.course"}),iconUrl:E.Z,templateConfigType:n().MEMBER_SITE_HOMEPAGE,testAttr:"member_site"}},pe={[U]:{iconDetail:(0,r.t)("Organize your site navigation",null,{project:"src.seven-one"}),iconName:(0,r.t)("Folder",null,{project:"src.seven-one"}),iconUrl:S(),templateConfigType:U},[j]:{iconDetail:(0,r.t)("Link to pages or external sites",null,{project:"src.seven-one"}),iconName:(0,r.t)("Link",null,{project:"src.seven-one"}),iconUrl:s(),templateConfigType:"link"},[$]:{iconDetail:(0,r.t)("Add a ChowNow link",null,{project:"src.seven-one",notes:"ChowNow is a third party service name that we can provide custom links to."}),iconName:(0,r.t)("ChowNow",null,{project:"src.seven-one"}),iconUrl:I,templateConfigType:$}},oe={...pe,[L]:ie[L]},q={PAGES:(0,r.t)("Pages",null,{project:"src.seven-one"}),COLLECTIONS:(0,r.t)("Collections",null,{project:"src.seven-one"}),MORE:(0,r.t)("More",null,{project:"src.seven-one"})}},665630:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(174161),o=e(412166),n=e(719484),a=e(517658),i=e(400882),c=e(934951);const u={mb:"4px"};function f(d){let{analyticsId:h,isTrial:g,label:_,...p}=d;const[y]=(0,i.Z)(O=>{let{purchaseCompleted:P}=O});return r.createElement(o.Z,{mt:4,mx:2,px:2,flexDirection:"column",alignItems:"flex-start",...p,css:{a:{color:"blue.100"}}},r.createElement(a.Z,{onCtaClick:y,analyticsId:h,isTrial:g,sx:u}),_?r.createElement(n.Z,{color:"blue.100",lineHeight:1,m:0,dangerouslySetInnerHTML:{__html:_}}):r.createElement(n.Z,{color:"blue.100",lineHeight:1,m:0},r.createElement(c.T,{project:"apps.App"},"Upgrade to a professional plan or higher to publish your site using premium blocks")))}},767665:function(b,l,e){"use strict";e.d(l,{Hv:()=>u,O:()=>c});var r=e(59001),o=e(762918),n=e.n(o);function a(f){let{angle:d,distance:h,blur:g}=f;const _=(180-d)*Math.PI/180,p=Math.round(Math.cos(_))*h.value,y=Math.round(Math.sin(_))*h.value;return`drop-shadow(${p}${h.unit} ${y}${h.unit} ${g.value}${g.unit})`}const i="opacity(1)";function c(f,d,h,g){let _="";const p=f.parentElement;if(d){_=a(d);const O=window.getComputedStyle(f).getPropertyValue("color");p.style.color=O}const y=h!=null&&h.enabled?`blur(${h.blurRadius.value}${h.blurRadius.unit}) `:"";if((h==null?void 0:h.filterType)===n().BACKDROP){if(g)for(const O in g)p.style["border-"+r.Z[O]]=g[O].value+g[O].unit;p.style.filter=_,p.style.backdropFilter=y,p.style.webkitBackdropFilter=y,p.style.display="none",p.offsetHeight,p.style.display=""}else p.style.backdropFilter=null,p.style.webkitBackdropFilter=i,p.style.filter=`${y}${_}`}function u(f,d){const h=f.parentElement;h.style.mixBlendMode=d,h.style.webkitBackdropFilter=i}},689700:function(b,l,e){"use strict";e.d(l,{OD:()=>a,S_:()=>E,_x:()=>p,fE:()=>P,iM:()=>O,mU:()=>v,sZ:()=>i});var r=e(249009),o=e(497147);const n="objectFitContain";function a(L){return L&&!!L.closest(".design-layout-fluid")}function i(L){if(_(L),g(L)){const W=h(L),F=!1,G=f(L);v(W,G,F)}}function c(L){const W=h(L);return W&&W.getAttribute("data-shape-mask")}function u(L){return{width:100,height:o.Z[L]}}function f(L){if(!L)return null;const W=c(L),F=d(L);return W?u(W):F}function d(L){const W=L.getAttribute("data-image-dimensions");if(!L||!W)return;const F=W.split("x");return{width:F[0],height:F[1]}}function h(L){return L==null?void 0:L.closest(".sqs-image-content")}function g(L){return L.getAttribute("data-stretch")!=="true"}function _(L){const W=L.closest(".sqs-block-content");y(W,{height:"100%",width:"100%"})}function p(L){const W={height:"100%",width:"100%"};y(L,W),y(L.closest(".sqs-image"),W),y(L.closest(".fluid-image-editor-wrapper"),W),y(L.closest(".sqs-block-content"),W)}function y(L,W){!L||!W||Object.assign(L.style,W)}function O(L){const W={height:"100%",width:"100%"};y(L,W),y(L.closest(".sqs-image"),W),y(L.closest(".fluid-image-editor-wrapper"),W),y(L.closest(".design-layout-fluid"),W);const F={position:"absolute",left:0,top:0};y(L.closest(".fluid-image-editor-wrapper"),F)}function P(L,W,F){F?C(L):A(L,W)}function C(L){L.style.height="100%",L.style.width="100%"}function A(L,W){if(!W||!L)return;const F=L.parentElement;if(!F)return;S(L)&&T(F);const G=F.clientWidth,k=F.clientHeight,x=G/k,M=W.width/W.height,B=x>M?"height":"width";L.style[B]="100%",B==="height"?L.style.width=k*M+"px":L.style.height=G/M+"px"}function S(L){return!!L.closest(".fluid-image-editor-wrapper")}function T(L){L.classList.add("sqs-block-alignment-wrapper"),y(L,{display:"flex",justifyContent:s(L)})}function s(L){let W="center";const F=L.closest(".design-layout-fluid");return F&&(F.classList.contains("image-position-left")&&(W="flex-start"),F.classList.contains("image-position-right")&&(W="flex-end")),W}function v(L,W,F){const G=I(L),k=L.querySelector("img");r.mh(n,G)&&E(L);const M=m(L,k,W,F);r._m({observerName:n,resizeListenerTarget:G,callback:M})}function m(L,W,F,G){return function(){let x=F;G&&(x=G.contentImage.get("model").get("dimensions"));const M=c(W);M&&(x=u(M)),P(L,x,!1)}}function E(L){const W=I(L);W._sqsResizeObservers&&r.Y2({resizeListenerTarget:W,observerName:n})}function I(L){return L.closest(".image-block-outer-wrapper")}},62054:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(829499),o=e(699321),n=e(506110);function a(){const{connectedAccounts:i}=o.Z.getState(),{socialAccountDisplayOrder:c=[]}=r.default.getState(),u=(0,n.wi)(i,{showSocialLinksOnly:!0}),f=[],d=[];for(const h of u){const g=c.indexOf(h.id);g===-1?d.push(h):f[g]=h}return[...f,...d].filter(Boolean)}},108471:function(b,l,e){"use strict";e.d(l,{C:()=>f,L:()=>c});var r=e(419467),o=e.n(r),n=e(784874),a=e(695960);const i={[n.Z.SHAPE]:["value.dropShadow.color","value.backgroundColor"]},c=d=>i[d],u=d=>{const h=c(d.type);return h?h.some(g=>{const _=(0,r.get)(d,g+".type");return _==="SITE_PALETTE_COLOR"||_==="CUSTOM_COLOR"}):!1},f=d=>{let h=!1;if(d.sectionName===a.Z.FLUID_ENGINE){const{gridContents:g}=d.fluidEngineContext;h=g.some(_=>{let{content:p}=_;return u(p.value)})}else if(d.sectionName===a.Z.LAYOUT_ENGINE){let g=function(_){for(const p of _)for(const y of p.columns){if(y.blocks&&(h=y.blocks.some(u),h))break;y.rows&&g(y.rows)}};g(d.content.layout.rows)}return h}},249009:function(b,l,e){"use strict";e.d(l,{Y2:()=>n,_m:()=>o,mh:()=>r});function r(a,i){return!!(i._sqsResizeObservers&&i._sqsResizeObservers[a])}function o(a){let{observerName:i,resizeListenerTarget:c,callback:u}=a;const f=new ResizeObserver(function(d){for(let h=0;h<d.length;h++)u()});f.observe(c),c._sqsResizeObservers||(c._sqsResizeObservers={}),c._sqsResizeObservers[i]=f}function n(a){let{resizeListenerTarget:i,observerName:c}=a;const u=i._sqsResizeObservers&&i._sqsResizeObservers[c];u&&(u.unobserve(i),i._sqsResizeObservers[c]=null)}},630459:function(b,l,e){"use strict";e.d(l,{OH:()=>p,z6:()=>P});var r=e(380250),o=e.n(r),n=e(249009),a=e(767665);const i="shapeFit",c="data-drop-shadow",u="data-blend-mode",f="data-blur";function d(C,A){!C||!A||Object.assign(C.style,A)}function h(C){!C||C.nodeName!=="svg"||C.setAttribute("preserveAspectRatio","none")}function g(C){return C.classList.contains("sqs-stretched")}function _(C){return C.querySelector(".sqs-shape-block-container").getAttribute("data-shape-name")}function p(C,A){n.mh(i,C)&&n.Y2({resizeListenerTarget:C,observerName:i}),h(A),g(C)?O(A):n._m({observerName:i,resizeListenerTarget:C,callback:()=>y(C,A)})}function y(C,A){if(!A)return;let S,T;if(_(C)===o().RECTANGLE)S=1,T=1;else{const W=A.getAttribute("viewBox").split(" ");T=W.pop(),S=W.pop()}const s=C.clientWidth,v=C.clientHeight,m=s/v,E=S/T,I={},L=m>E?"height":"width";I[L]="100%",L==="height"?I.width=v*E+"px":I.height=s/E+"px",d(A,I)}function O(C){d(C,{width:"100%",height:"100%"})}function P(C){const A=C.querySelector(".sqs-shape"),S=A.parentElement;if(p(C,A),S.hasAttribute(c)||S.hasAttribute(f))try{const T=JSON.parse(S.getAttribute(c)),s=JSON.parse(S.getAttribute(f));(0,a.O)(C,T,s)}catch(T){console.error(T)}if(S.hasAttribute(u))try{const T=S.getAttribute(u);(0,a.Hv)(C,T)}catch(T){console.error(T)}}},957892:function(b,l,e){"use strict";e.d(l,{Un:()=>v,sw:()=>C,SS:()=>T});var r=e(419467),o=e(734526),n=e(675641),a=e(784874),i=e(365270),c=e(273564),u=e(637533),f=e(175424),d=e(489152);const g={[a.Z.NAVIGATION]:{columns:8,rows:5},[a.Z.HTML]:{columns:6,rows:2},[a.Z.LOGO]:{columns:8,rows:5},[a.Z.MAP]:{columns:8,rows:12},[a.Z.IMAGE]:{columns:6,rows:6},[a.Z.TWITTER]:{columns:8,rows:5},[a.Z.JOURNAL]:{columns:8,rows:5},[a.Z.GALLERY]:{columns:10,rows:18},[a.Z.FORM]:{columns:9,rows:16},[a.Z.GEO]:{columns:8,rows:5},[a.Z.INDEX]:{columns:8,rows:5},[a.Z.COLLECTION_LINK]:{columns:8,rows:5},[a.Z.LINK]:{columns:8,rows:5},[a.Z.TAGCLOUD]:{columns:8,rows:5},[a.Z.COMMENTS]:{columns:8,rows:5},[a.Z.FOLDER]:{columns:8,rows:5},[a.Z.MENU]:{columns:12,rows:28},[a.Z.SOCIAL_LINKS]:{columns:8,rows:5},[a.Z.SUMMARY]:{columns:18,rows:5},[a.Z.SPACER]:{columns:8,rows:5},[a.Z.EMBED]:{columns:8,rows:8},[a.Z.CODE]:{columns:4,rows:6},[a.Z.FOURSQUARE]:{columns:8,rows:5},[a.Z.INSTAGRAM]:{columns:8,rows:12},[a.Z.CALENDAR]:{columns:12,rows:15},[a.Z.POSTS_BY_AUTHOR]:{columns:8,rows:5},[a.Z.POSTS_BY_TAG]:{columns:8,rows:5},[a.Z.POSTS_BY_CATEGORY]:{columns:8,rows:5},[a.Z.POSTS_BY_MONTH]:{columns:8,rows:5},[a.Z.QUOTE]:{columns:6,rows:6},[a.Z.VIDEO]:{columns:8,rows:8},[a.Z.SEARCH]:{columns:8,rows:5},[a.Z.AUDIO]:{columns:6,rows:3},[a.Z.FIVEHUNDREDPIX]:{columns:8,rows:5},[a.Z.PRODUCT]:{columns:6,rows:14},[a.Z.MARKDOWN]:{columns:4,rows:6},[a.Z.FLICKR]:{columns:8,rows:5},[a.Z.AMAZON]:{columns:8,rows:5},[a.Z.HORIZONTAL_RULE]:{columns:4,rows:1},[a.Z.SOCIAL_ACCOUNT_LINKS]:{columns:4,rows:2},[a.Z.RSS]:{columns:8,rows:5},[a.Z.OPENTABLE]:{columns:8,rows:5},[a.Z.NEWSLETTER]:{columns:10,rows:8},[a.Z.DONATION]:{columns:4,rows:3},[a.Z.BUTTON]:{columns:5,rows:2},[a.Z.SOCIAL_ACCOUNT_LINKS_V2]:{columns:4,rows:2},[a.Z.SUMMARY_V2]:{columns:18,rows:5},[a.Z.SOUNDCLOUD]:{columns:8,rows:5},[a.Z.EMAIL_FOOTER]:{columns:8,rows:5},[a.Z.IN_BROWSER_MESSAGE_LINK]:{columns:8,rows:5},[a.Z.TOURDATES]:{columns:8,rows:5},[a.Z.ALBUM]:{columns:8,rows:5},[a.Z.ARCHIVE]:{columns:8,rows:5},[a.Z.CHART]:{columns:8,rows:8},[a.Z.ZOLA]:{columns:8,rows:14},[a.Z.ACUITY]:{columns:8,rows:5},[a.Z.OPENTABLE_V2]:{columns:8,rows:5},[a.Z.MEMBER_AREA]:{columns:8,rows:10},[a.Z.TOCK]:{columns:18,rows:2},[a.Z.ACCORDION]:{columns:8,rows:5},[a.Z.MARQUEE]:{columns:24,rows:2},[a.Z.SHAPE]:{columns:6,rows:6},[a.Z.PRICING_PLAN]:{columns:8,rows:10}};var _=e(239530),p=e(101382),y=e(104550);const{featureGateBlockItems:O}=c,P=(0,r.memoize)(()=>(0,d.Z)({isFluidEngine:!0})),C=()=>[O({isMainContentSection:!1}),u.e].reduce((I,L)=>L(I),P()),A=(0,r.merge)(o.Z.BlockTypeKeys,n.Z);function S(m){return A[m]}const T=()=>{const m=new window.Y.Squarespace.Layout.RenderableBlocksWebApp().getAttrs();return P().reduce((E,I)=>{let{items:L}=I;return L.forEach(W=>{const F=S(W);E[W]=m[F]}),E},{})},s=m=>{let{blockData:E,value:I}=m;const L={...E,containerStyles:E.containerStyles||{},value:{...E.value,...I.defaultContentModel||{}}};switch(I.id){case"image":L.containerStyles.stretchedToFill=y.aB[a.Z.IMAGE].stretchedToFill,L.value.stretch=!1,L.value.designLayout="fluid",L.value.imagePosition="center",L.value.title={engine:"wysiwyg",html:"",source:""},L.value.subtitle={engine:"wysiwyg",html:"",source:""};break;case"button":L.containerStyles.stretchedToFill=!0;break;case"audio":L.containerStyles.stretchedToFill=y.aB[a.Z.AUDIO].stretchedToFill;break}return L},v=function(m){let{startX:E,startY:I}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{startX:0,startY:0},L=arguments.length>2?arguments[2]:void 0;var W,F,G;const k=new m.ctor({editable:!1,visible:!1,isNewBlock:!0}),x=s({blockData:k.toJSON(),value:m});k.destroy();const{columns:M,rows:B}=(m==null||(F=m.editorSettings)===null||F===void 0||(W=F.layout)===null||W===void 0?void 0:W.initialSizes)||g[x.type],R=E,U=E+M-1,j=I,$=I+B-1,ee=(0,_.Z)(x),te={[i.FluidEngineBreakpoints.DESKTOP]:{verticalAlignment:ee,visible:!0,start:{x:R,y:j},end:{x:U,y:$},zIndex:99999999,stickyScroll:p.J0},[i.FluidEngineBreakpoints.MOBILE]:{verticalAlignment:ee,visible:!0,start:{x:R,y:j},end:{x:U,y:$},zIndex:99999999,stickyScroll:p.J0}};return{fluidEngineId:L,currentPosition:{start:{x:R,y:j},end:{x:U,y:$}},selectedBlockIds:[],newBlockData:{content:{value:x},layout:te},startingScrollTop:(G=(0,f.V6)())===null||G===void 0?void 0:G.scrollY}}},785193:function(b,l,e){"use strict";e.d(l,{v:()=>Cd});var r=e(223215),o=e.n(r),n=e(434709),a=e(784874),i=e(604453),c=e(365270),u=e(858579),f=e(419467),d=e(572425),h=e(623795),g=e.n(h),_=e(637174);const{DESKTOP:p,MOBILE:y}=c.FluidEngineBreakpoints,O=[{type:n.x.PARAGRAPH,layout:{[p]:{marginBottom:1},[y]:{marginBottom:1}},transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}],P=[{type:n.x.HEADING,transform:{fontStyle:"heading3"}},...O],C={rows:[{columns:[{[p]:{startX:3,width:6},[y]:{startX:1,width:4},center:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:12},[y]:{height:8,marginBottom:1}}}]},{[p]:{startX:13,width:11},[y]:{startX:1,width:8},center:[{type:n.x.HEADING,transform:{fontStyle:"heading3"}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[p]:{width:8},[y]:{width:6}}},{type:n.x.CTA,layout:{[p]:{width:8,marginTop:1}}}],horizontalAlignmentWithin:o().LEFT}]}]},A=(0,u.ZP)(C,xn=>{var $s;xn.rows[0].columns[0].center[0].transform={fontStyle:"heading2"},xn.rows[0].columns[0][p]={startX:16,width:8},xn.rows[0].columns[0][y]={startX:1,width:6};const Ki=($s=xn.rows[0].columns[0].center)===null||$s===void 0?void 0:$s[0];Ki&&(Ki.layout={[p]:{height:16},[y]:{height:11,marginBottom:1}}),xn.rows[0].columns[1][p]={startX:2,width:10},xn.rows[0].columns[1].center[0].transform.fontStyle="heading2"}),S={rows:[{columns:[{[p]:{startX:8,width:10},[y]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.HEADING,transform:{fontStyle:"heading1"}}]}]},{columns:[{[p]:{startX:10,width:6},[y]:{startX:3,width:4},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:12,marginBottom:1},[y]:{height:8}}}]}]},{columns:[{[p]:{startX:9,width:8},[y]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:(0,u.ZP)(O,xn=>{xn[0].layout={[p]:{marginBottom:0},[y]:{marginBottom:1}}})}]}]},T={rows:[{columns:[{[p]:{startX:0,width:26},[y]:{startX:0,width:10},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.HEADING,transform:{fontStyle:"marquee"},layout:{[p]:{marginBottom:1}},contentValue:{[a.Z.MARQUEE]:i.t.STRAIGHT_LINE_PRESET}}]},{[p]:{startX:2,width:9},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[p]:{marginTop:3}}},{type:n.x.CTA}]},{[p]:{startX:16,width:8},[y]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:16},[y]:{height:14}}}]}]}]},s=(0,u.ZP)(C,xn=>{var $s;xn.styles={sectionHeight:_.qj.CUSTOM,customSectionHeight:0},xn.margins={},xn.rows[0].columns[0][p]={startX:0,width:13},xn.rows[0].columns[0][y]={startX:1,width:8};const Ki=($s=xn.rows[0].columns[0].center)===null||$s===void 0?void 0:$s[0];Ki&&(Ki.layout={[p]:{height:23},[y]:{height:15}}),xn.rows[0].columns[1][p]={startX:14,width:10},xn.rows[0].columns[1].center[0].transform.fontStyle="heading1"}),v=(0,u.ZP)((0,d.nN)(s),xn=>{xn.rows[0].columns[0]={[p]:{startX:1,width:11},[y]:{startX:1,width:8},top:[{type:n.x.HEADING,transform:{fontStyle:"heading1"},layout:{[p]:{marginTop:1}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[p]:{width:8,marginTop:1}}}],bottom:[{type:n.x.CTA,layout:{[p]:{width:9,marginBottom:2}}}],horizontalAlignmentWithin:o().LEFT},xn.rows[0].columns[1].center[0].layout={[p]:{height:22},[y]:{height:15}}}),m={rows:[{columns:[{[p]:{startX:1,width:7},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading2"}}],bottom:[{type:n.x.CTA}]},{[p]:{startX:9,width:7},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[p]:{startX:17,width:8},[y]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:18},[y]:{marginTop:1,height:14}}}]}]}]},E={rows:[{columns:[{[p]:{startX:1,width:24},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.HEADING,transform:{fontStyle:"scaledText"},layout:{[p]:{marginBottom:1},[y]:{marginBottom:1}}}]}]},{columns:[{[p]:{startX:1,width:12},[y]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:21},[y]:{height:14}}}]},{[p]:{startX:14,width:9},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:(0,u.ZP)(O,xn=>{xn[0].layout={[p]:{marginBottom:0},[y]:{marginBottom:0}}})}]}]},I=[C,A,S,T,s,v,m,E],L=I.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),W=I.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH}])),F=W.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),G=I.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),k=G.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),x=G.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH}])),M=(0,u.ZP)(C,xn=>{xn.rows[0].columns[0][p]={startX:1,width:10},xn.margins={[p]:{marginBottom:1,marginTop:1}},xn.rows[0].columns[0][y]={startX:1,width:8},xn.rows[0].columns[0].center=[{type:n.x.NONINTERACTIVE_MEDIA_LANDSCAPE,layout:{[p]:{height:8},[y]:{height:7,marginBottom:1}}}],xn.rows[0].columns[1][p]={startX:13,width:10},xn.rows[0].columns[1].center=(0,u.ZP)(P,$s=>{$s[1].layout={[p]:{width:7},[y]:{width:8}},$s[2].layout={[p]:{width:7,marginTop:1},[y]:{width:8}}})}),B=(0,u.ZP)(A,xn=>{xn.margins={[p]:{marginBottom:1,marginTop:1}},xn.rows[0].columns[0][p]={startX:14,width:10},xn.rows[0].columns[0][y]={startX:1,width:8},xn.rows[0].columns[0].center=[{type:n.x.NONINTERACTIVE_MEDIA_LANDSCAPE,layout:{[p]:{height:8},[y]:{height:7,marginBottom:1}}}],xn.rows[0].columns[1][p]={startX:2,width:10},xn.rows[0].columns[1].center=(0,u.ZP)(P,$s=>{$s[1].layout={[p]:{width:7},[y]:{width:8}},$s[2].layout={[p]:{width:7,marginTop:1},[y]:{width:8}}})}),R={margins:{[y]:{marginBottom:2,marginTop:2}},rows:[{columns:[{[p]:{startX:6,width:14},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.HEADING,transform:{fontStyle:"heading2"}}]}]},{columns:[{[p]:{startX:7,width:12},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.NONINTERACTIVE_MEDIA_LANDSCAPE,layout:{[p]:{height:10,marginBottom:1},[y]:{height:7,marginBottom:1}}}]}]},{columns:[{[p]:{startX:9,width:8},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:O}]}]},U={margins:{[y]:{marginBottom:2,marginTop:2}},rows:[{columns:[{[p]:{startX:4,width:18},[y]:{startX:0,width:10},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.NONINTERACTIVE_MEDIA_LANDSCAPE,layout:{[p]:{height:13,marginBottom:1},[y]:{height:11}}}]}]},{columns:[{[p]:{startX:4,width:18},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[p]:{marginBottom:1},[y]:{marginBottom:1}}}]}]},{columns:[{[p]:{startX:4,width:8},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[p]:{startX:14,width:8},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().RIGHT,top:[{type:n.x.CTA}]}]}]},j={margins:{[y]:{marginBottom:2,marginTop:2}},rows:[{columns:[{horizontalAlignmentWithin:o().CENTER,[p]:{startX:2,width:22},[y]:{startX:1,width:8},top:[{type:n.x.HEADING,transform:{fontStyle:"heading1"},layout:{[y]:{marginBottom:0}}}]}]},{columns:[{horizontalAlignmentWithin:o().CENTER,[p]:{startX:9,width:8},[y]:{startX:1,width:8},top:(0,u.ZP)(O,xn=>{xn[1].layout={[p]:{zIndex:4}}})}]},{columns:[{[p]:{startX:2,width:22},[y]:{startX:0,width:10},top:[{type:n.x.NONINTERACTIVE_MEDIA_LANDSCAPE,layout:{[p]:{height:14,marginTop:-2,zIndex:0},[y]:{height:10}}}]}]}]},$={margins:{[y]:{marginBottom:2,marginTop:2}},rows:[{columns:[{[p]:{startX:1,width:18},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading1"},layout:{[y]:{marginBottom:0}}}]}]},{columns:[{[p]:{startX:1,width:9},[y]:{startX:1,width:8},bottom:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}],horizontalAlignmentWithin:o().LEFT},{[p]:{startX:17,width:8},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().RIGHT,bottom:[{type:n.x.CTA,layout:{[y]:{zIndex:2}}}]}]},{columns:[{[p]:{startX:1,width:24},[y]:{startX:0,width:10},top:[{type:n.x.NONINTERACTIVE_MEDIA_LANDSCAPE,layout:{[p]:{height:16,marginTop:.5},[y]:{height:11,marginTop:-2,zIndex:1}}}]}]}]},ee={styles:{sectionHeight:_.qj.SMALL},margins:{[y]:{marginBottom:2,marginTop:2}},rows:[{columns:[{[p]:{startX:0,width:26},[y]:{startX:0,width:10},top:[{type:n.x.HEADING,contentValue:{[a.Z.MARQUEE]:{...i.t.STRAIGHT_LINE_PRESET,textSize:{value:8,unit:g().REM}}},transform:{fontStyle:"marquee"}},{type:n.x.NONINTERACTIVE_MEDIA_LANDSCAPE,layout:{[p]:{height:16},[y]:{height:9}}}]}]},{[p]:{marginTop:1},columns:[{[p]:{startX:6,width:14},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]}]}]},te=[M,B,R,U,j,$,ee],ie={margins:{[y]:{marginTop:1,marginBottom:1}},rows:[{columns:[{[p]:{startX:1,width:8},[y]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_LANDSCAPE,layout:{[p]:{height:6},[y]:{height:7}}}]},{[p]:{startX:10,width:15},[y]:{startX:1,width:8},top:[{type:n.x.HEADING,layout:{[y]:{marginTop:.5}},transform:{fontStyle:"heading2"}},{columns:[{[p]:{startX:0,width:7},[y]:{startX:0,width:6},top:[{type:n.x.PARAGRAPH,layout:{[y]:{marginTop:0}},transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]},{[p]:{startX:8,width:7},[y]:{startX:0,width:6},top:[{type:n.x.PARAGRAPH,layout:{[y]:{marginTop:0}},transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]}]}]}]}]},ne=(0,u.ZP)(ie,xn=>{xn.rows[0].columns[0][p]={startX:17,width:8},xn.rows[0].columns[1][p]={startX:1,width:15}}),pe={rows:[{columns:[{[p]:{startX:5,width:16},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[p]:{marginBottom:1}}}]}]},{columns:[{[p]:{startX:6,width:14},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.NONINTERACTIVE_MEDIA_LANDSCAPE,layout:{[p]:{height:11,marginBottom:1},[y]:{height:7,marginBottom:.5}}}]}]},{columns:[{[p]:{startX:6,width:7},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[p]:{marginBottom:1}}},{type:n.x.CTA}]},{[p]:{startX:13,width:7},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[p]:{marginBottom:1}}},{type:n.x.CTA}]}]}]},oe={margins:{[y]:{marginBottom:1,marginTop:1}},rows:[{columns:[{[p]:{startX:4,width:18},[y]:{startX:0,width:10},top:[{type:n.x.NONINTERACTIVE_MEDIA_LANDSCAPE,layout:{[p]:{height:12},[y]:{height:11}}}]}]},{columns:[{[p]:{startX:4,width:18},[y]:{startX:1,width:8},top:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[p]:{marginBottom:1}}}]}]},{columns:[{[p]:{startX:4,width:6},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[p]:{startX:10,width:6},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[p]:{startX:16,width:6},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().RIGHT,top:[{type:n.x.CTA,layout:{[y]:{marginTop:.5}}},{type:n.x.CTA}]}]}]},q=(0,u.ZP)(pe,xn=>{xn.rows[1].columns[0][p]={startX:2,width:22},xn.rows[1].columns[0][y]={startX:0,width:10},xn.rows[0].columns[0].top[0].transform.fontStyle="heading1",xn.rows[1].columns[0].top[0].layout[p]={height:11,marginBottom:1},xn.rows[2].columns[0][p]={startX:5,width:7},xn.rows[2].columns[1][p]={startX:14,width:7}}),J={rows:[{columns:[{[p]:{startX:2,width:22},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.HEADING,transform:{fontStyle:"heading1"},layout:{[p]:{marginBottom:1}}}]}]},{columns:[{[p]:{startX:2,width:22},[y]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_LANDSCAPE,layout:{[p]:{height:13},[y]:{height:11}}}]}]},{columns:[{[p]:{startX:9,width:8},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.CTA,layout:{[p]:{marginTop:-2,marginBottom:1}}}]}]},{columns:[{[p]:{startX:5,width:7},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[p]:{startX:14,width:7},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]}]}]},me={rows:[{columns:[{[p]:{startX:1,width:24},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"scaledText"}}]}]},{columns:[{[p]:{startX:1,width:8},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[p]:{marginTop:.5}}}]},{[p]:{startX:10,width:8},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[p]:{marginTop:.5}}}]},{[p]:{startX:19,width:6},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().RIGHT,top:[{type:n.x.CTA,layout:{[p]:{marginTop:.5}}}]}]},{columns:[{[p]:{startX:1,width:24},[y]:{startX:0,width:10},top:[{type:n.x.NONINTERACTIVE_MEDIA_LANDSCAPE,layout:{[p]:{height:13,marginTop:.5},[y]:{height:12}}}]}]}]},re={rows:[0,2,1].map(xn=>me.rows[xn])},he=[{columns:[{[p]:{startX:0,width:26},[y]:{startX:0,width:10},top:[{type:n.x.HEADING,contentValue:{[a.Z.MARQUEE]:i.t.STRAIGHT_LINE_PRESET},transform:{fontStyle:"marquee"}}]}]},{columns:[{[p]:{startX:0,width:26},[y]:{startX:0,width:10},top:[{type:n.x.NONINTERACTIVE_MEDIA_LANDSCAPE,layout:{[p]:{height:16,marginBottom:1},[y]:{height:11}}}]}]}],Ee={margins:{[y]:{marginBottom:2}},rows:[...he,{columns:[{[p]:{startX:5,width:8},[y]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[p]:{marginBottom:1}}}]},{[p]:{startX:15,width:6},[y]:{startX:2,width:6},horizontalAlignmentWithin:o().RIGHT,top:[{type:n.x.CTA,layout:{[p]:{marginBottom:1},[y]:{marginBottom:1}}}]}]},{columns:[{[p]:{startX:5,width:8},[y]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[p]:{startX:15,width:6},[y]:{startX:2,width:6},horizontalAlignmentWithin:o().RIGHT,top:[{type:n.x.CTA}]}]}]},fe={margins:{[y]:{marginBottom:2}},rows:[...he,{columns:[{[p]:{startX:4,width:8},[y]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[p]:{startX:14,width:8},[y]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]}]},{columns:[{[p]:{startX:9,width:8},[y]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.CTA,layout:{[y]:{marginTop:.5}}}]}]}]},H=(0,d.t2)(ie,[{elementType:n.x.CTA,locations:[1]}]),z=(0,d.t2)(ne,[{elementType:n.x.CTA,locations:[1]}]),_e=(0,u.ZP)((0,d.t2)(pe,[{elementType:n.x.CTA,locations:[0,1]}]),xn=>{xn.rows.push({columns:[{[p]:{startX:9,width:8},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.CTA}]}]})}),ae=(0,d.t2)(oe,[{elementType:n.x.CTA,locations:[1]}]),ge=[ie,ne,pe,oe,q,Ee],Be=[H,z,_e,ae,J,me,re,fe],Ke=Be.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),He=Ke.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),ye=te.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),Le=te.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH}])),Ue=Le.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),Xe=te.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Fe=Xe.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),ht=Xe.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH}])),Ne={rows:[{columns:[{[p]:{startX:1,width:7},[y]:{startX:1,width:4},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:14},[y]:{height:8,marginBottom:1}}}]},{[p]:{startX:10,width:15},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[p]:{marginBottom:1.5,marginTop:1}}},{layout:{[p]:{marginBottom:1,marginTop:.5}},columns:[{[p]:{startX:0,width:7},[y]:{startX:0,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}],bottom:[{type:n.x.CTA,layout:{desktop:{marginTop:1}}}]},{[p]:{startX:8,width:7},[y]:{startX:0,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}],bottom:[{type:n.x.CTA,layout:{desktop:{marginTop:1}}}]}]}]}]}]},Ce={rows:[{columns:[{[p]:{startX:1,width:15},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[p]:{marginTop:3}}},{columns:[{[p]:{startX:0,width:7},[y]:{startX:0,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[p]:{marginTop:1}}}],bottom:[{type:n.x.CTA,layout:{desktop:{marginTop:1}}}]},{[p]:{startX:8,width:7},[y]:{startX:0,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[p]:{marginTop:1}}}],bottom:[{type:n.x.CTA,layout:{desktop:{marginTop:1}}}]}]}]},{[p]:{startX:17,width:8},[y]:{startX:1,width:6},center:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:18},[y]:{height:11,marginBottom:1}}}]}]}]},we={rows:[{columns:[{[p]:{startX:3,width:20},[y]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.HEADING,transform:{fontStyle:"heading1"}}]}]},{columns:[{[p]:{startX:10,width:6},[y]:{startX:3,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:12,marginBottom:1},[y]:{height:8}}}]}]},{columns:[{[p]:{startX:6,width:7},[y]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[p]:{startX:13,width:7},[y]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.PARAGRAPH,layout:{[y]:{marginBottom:1},[p]:{marginBottom:0}},transform:{fontStyle:"paragraph2"}}]}]},{columns:[{[p]:{startX:6,width:7},[y]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.CTA}]},{[p]:{startX:13,width:7},[y]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.CTA}]}]}]},$e={styles:{sectionHeight:_.qj.CUSTOM,customSectionHeight:0},margins:{[y]:{marginTop:1,marginBottom:2}},rows:[{columns:[{[p]:{startX:0,width:13},[y]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:22},[y]:{height:13,marginBottom:1}}}]},{[p]:{startX:15,width:10},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[p]:{marginTop:2}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[p]:{width:8},[y]:{width:6}}},{type:n.x.CTA,layout:{[p]:{width:8,marginBottom:1},[y]:{width:6}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[p]:{width:8},[y]:{width:6}}},{type:n.x.CTA,layout:{[p]:{width:8},[y]:{width:6}}}]}]}]},Ot=(0,u.ZP)($e,xn=>{xn.margins={},xn.rows[0].columns[0].desktop.startX=13,xn.rows[0].columns[1].desktop.startX=1}),Pt={rows:[{columns:[{[p]:{startX:1,width:7},[y]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading3"}}],bottom:[{type:n.x.CTA,layout:{[p]:{marginTop:1},[y]:{marginBottom:1}}}]},{[p]:{startX:9,width:7},[y]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[p]:{marginBottom:1}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}],bottom:[{type:n.x.CTA,layout:{[p]:{marginTop:1},[y]:{marginBottom:1}}}]},{[p]:{startX:17,width:8},[y]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:18},[y]:{height:14}}}]}]}]},Ie={rows:[{columns:[{[p]:{startX:1,width:24},[y]:{startX:0,width:10},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,layout:{[p]:{marginBottom:1},[y]:{marginBottom:1}},transform:{fontStyle:"scaledText"}}]}]},{columns:[{[p]:{startX:1,width:12},[y]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:20},[y]:{height:13,marginBottom:1}}}]},{[p]:{startX:14,width:5},[y]:{startX:1,width:7},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA,layout:{[y]:{marginBottom:1},[p]:{marginTop:1}}}]},{[p]:{startX:20,width:5},[y]:{startX:1,width:7},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA,layout:{[y]:{marginBottom:1},[p]:{marginTop:1}}}]}]}]},Bt=(0,u.ZP)(Ce,xn=>{const $s=xn.rows[0].columns[0];$s[p]={startX:0,width:26},$s[y]={startX:0,width:10};const Ki=xn.rows[0].columns[0].top,ru=Ki[0];ru.layout[p].marginTop=0,(0,f.merge)(ru,{contentValue:{[a.Z.MARQUEE]:i.t.STRAIGHT_LINE_PRESET},transform:{fontStyle:"marquee"}});const Zt=Ki[1];Zt.columns[0][p].startX+=1,Zt.columns[0].top[0].layout[p].marginTop=5,Zt.columns[0][y]={startX:2,width:5},Zt.columns[1][p].startX+=1,Zt.columns[1].top[0].layout[p].marginTop=5,Zt.columns[1][y]={startX:2,width:5},xn.rows[0].columns[1].center[0].layout[p].height=16,xn.rows[0].columns[1][y]={startX:2,width:6}}),mt=[Ne,Ce,we,Bt,Pt,$e,Ot,Ie],rt=mt.map((xn,$s)=>$s===2?(0,u.ZP)((0,d.t2)(xn,[{elementType:n.x.CTA,locations:[1]}]),Ki=>{Ki.rows[3].columns[0][p].startX=9,Ki.rows[3].columns[0][p].width=8}):[5,6].includes($s)?(0,u.ZP)((0,d.t2)(xn,[{elementType:n.x.CTA,locations:[0]}]),Ki=>{Ki.rows[0].columns[1].top[3].layout={[p]:{marginTop:1}}}):(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[1]}])),ce=rt.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),Re=ce.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),nt=[(0,d.IM)({margins:{[y]:{marginBottom:2,marginTop:2}},columnProperties:{[p]:{startX:10,width:6},[y]:{startX:0,width:10}},item:{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:12,marginTop:1},[y]:{height:7}}}}),(0,d.IM)({margins:{[y]:{marginBottom:2,marginTop:2}},columnProperties:{[p]:{startX:9,width:8},[y]:{startX:0,width:10}},item:{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:16},[y]:{height:7}}}}),(0,d.IM)({margins:{[y]:{marginBottom:2,marginTop:2}},columnProperties:{[p]:{startX:6,width:14},[y]:{startX:0,width:10}},item:{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:12},[y]:{height:7}}}}),(0,d.IM)({margins:{[y]:{marginBottom:2,marginTop:2}},columnProperties:{[p]:{startX:4,width:18},[y]:{startX:0,width:10}},item:{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:14},[y]:{height:7}}}}),(0,d.IM)({margins:{[y]:{marginBottom:2,marginTop:2}},columnProperties:{[p]:{startX:2,width:22},[y]:{startX:0,width:10}},item:{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:16},[y]:{height:7}}}}),(0,d.IM)({columnProperties:{[p]:{startX:0,width:13},[y]:{startX:0,width:10}},item:{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:20},[y]:{height:7}}}}),(0,d.IM)({columnProperties:{[p]:{startX:13,width:13},[y]:{startX:0,width:10}},item:{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:20},[y]:{height:7}}}}),(0,d.IM)({columnProperties:{[p]:{startX:0,width:26},[y]:{startX:0,width:10}},item:{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[p]:{height:20},[y]:{height:7}}}})],st=nt.map(xn=>(0,u.ZP)(xn,$s=>{$s.rows[0].columns[0].center[0].type=n.x.NONINTERACTIVE_MEDIA_LANDSCAPE})),vt=[(0,u.ZP)(nt[0],xn=>{const $s=xn.rows[0].columns[0].center[0];$s.enableBlockBackground=!0}),(0,u.ZP)(nt[0],xn=>{xn.enableDivider=!0,xn.swapTheme=!0}),(0,u.ZP)(nt[4],xn=>{xn.enableDivider=!0,xn.swapTheme=!0}),(0,u.ZP)(nt[4],xn=>{const $s=xn.rows[0].columns[0].center[0];$s.enableBlockBackground=!0}),(0,u.ZP)(st[0],xn=>{const $s=xn.rows[0].columns[0].center[0];$s.enableBlockBackground=!0}),(0,u.ZP)(st[0],xn=>{xn.enableDivider=!0,xn.swapTheme=!0}),(0,u.ZP)(st[4],xn=>{xn.enableDivider=!0,xn.swapTheme=!0}),(0,u.ZP)(st[4],xn=>{const $s=xn.rows[0].columns[0].center[0];$s.enableBlockBackground=!0})],It=[...[...mt,...rt,...ce,...I,...L,...Re,...W,...G,...F,...k,...x,...ge,...Be,...Ke,...te,...ye,...He,...Le,...Xe,...Ue,...Fe,...ht,...st,...nt],...vt],{DESKTOP:on,MOBILE:Pn}=c.FluidEngineBreakpoints,Yn=[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[on]:{marginBottom:1},[Pn]:{marginBottom:1}}},{type:n.x.CTA}],Ln={columns:[{[on]:{startX:9,width:8},[Pn]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Yn}]},bn=[{columns:[{[on]:{startX:4,width:18},[Pn]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[on]:{marginBottom:1},[Pn]:{marginBottom:0}}}]}]},{columns:[{[on]:{startX:1,width:8},[Pn]:{startX:0,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:12,marginBottom:1},[Pn]:{height:5}}}]},{[on]:{startX:9,width:8},[Pn]:{startX:3,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:12,marginBottom:1},[Pn]:{height:5}}}]},{[on]:{startX:17,width:8},[Pn]:{startX:6,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:12,marginBottom:1},[Pn]:{height:5}}}]}]}],ir=[{columns:[{[on]:{startX:4,width:18},[Pn]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[on]:{marginBottom:1},[Pn]:{marginBottom:0}}}]}]},{columns:[{[on]:{startX:4,width:6},[Pn]:{startX:1,width:3},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:8,marginTop:7},[Pn]:{height:4,marginTop:4}}}]},{[on]:{startX:9,width:8},[Pn]:{startX:3,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:18,marginBottom:1},[Pn]:{height:9,marginBottom:1}}}]},{[on]:{startX:16,width:6},[Pn]:{startX:6,width:3},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:12,marginTop:1},[Pn]:{height:4,marginTop:1}}}]}]}],Zn=[{columns:[{[on]:{startX:5,width:8},[Pn]:{startX:1,width:5},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:12},[Pn]:{height:7}}}]},{[on]:{startX:13,width:8},[Pn]:{startX:5,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:12},[Pn]:{height:7}}}]}]},{columns:[{[on]:{startX:5,width:16},[Pn]:{startX:1,width:5},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:10,marginBottom:1},[Pn]:{height:6,marginTop:-1}}}]}]}],$n=[{columns:[{[on]:{startX:5,width:16},[Pn]:{startX:1,width:5},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:10},[Pn]:{height:6}}}]}]},{columns:[{[on]:{startX:5,width:8},[Pn]:{startX:1,width:5},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:12,marginBottom:1},[Pn]:{height:7,marginTop:-1}}}]},{[on]:{startX:13,width:8},[Pn]:{startX:5,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:12,marginBottom:1},[Pn]:{height:7,marginTop:-1}}}]}]}],jt=[{columns:[{[on]:{startX:7,width:6},[Pn]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[on]:{startX:14,width:6},[Pn]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]}]},{columns:[{[on]:{startX:9,width:8},[Pn]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.CTA}]}]}],Rn=[{columns:[{[on]:{startX:4,width:18},[Pn]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.HEADING,transform:{fontStyle:"heading3"},layout:{[on]:{marginBottom:1},[Pn]:{marginBottom:0}}}]}]},{columns:[{[on]:{startX:4,width:6},[Pn]:{startX:1,width:3},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:12,marginTop:1},[Pn]:{height:4,marginTop:1}}}]},{[on]:{startX:9,width:8},[Pn]:{startX:3,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:18,marginBottom:1},[Pn]:{height:9,marginBottom:1}}}]},{[on]:{startX:16,width:6},[Pn]:{startX:6,width:3},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[on]:{height:8,marginTop:9},[Pn]:{height:4,marginTop:4}}}]}]}],jn=[{columns:[{[on]:{startX:3,width:20},[Pn]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.HEADING,transform:{fontStyle:"heading2"}}]}]},{columns:[{[on]:{startX:9,width:8},[Pn]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA,layout:{[on]:{marginBottom:1},[Pn]:{marginBottom:1}}}]}]}],{DESKTOP:Tn,MOBILE:Nn}=c.FluidEngineBreakpoints,cn={rows:[{columns:[{[Tn]:{startX:1,width:18},[Nn]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.HEADING,transform:{fontStyle:"heading3"},layout:{[Tn]:{marginBottom:1},[Nn]:{marginBottom:0}}}]}]},{columns:[{[Tn]:{startX:1,width:8},[Nn]:{startX:1,width:7},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:5,marginBottom:1},[Nn]:{height:4,marginBottom:0}}}]},{[Tn]:{startX:9,width:8},[Nn]:{startX:1,width:7},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:5,marginBottom:1},[Nn]:{height:4,marginBottom:0}}}]},{[Tn]:{startX:17,width:8},[Nn]:{startX:1,width:7},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:5,marginBottom:1},[Nn]:{height:4,marginBottom:0}}}]}]},{columns:[{[Tn]:{startX:1,width:7},[Nn]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]},{[Tn]:{startX:9,width:7},[Nn]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]},{[Tn]:{startX:17,width:7},[Nn]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]}]}]},or={rows:[...bn,{columns:[{[Tn]:{startX:1,width:8},[Nn]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Yn},{[Tn]:{startX:9,width:8},[Nn]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Yn},{[Tn]:{startX:17,width:8},[Nn]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Yn}]}]},qn={rows:[...ir,{columns:[{[Tn]:{startX:3,width:6},[Nn]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Yn},{[Tn]:{startX:10,width:6},[Nn]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Yn},{[Tn]:{startX:17,width:6},[Nn]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Yn}]}]},Hr={rows:[...Rn,{columns:[{[Tn]:{startX:3,width:6},[Nn]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Yn},{[Tn]:{startX:10,width:6},[Nn]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Yn},{[Tn]:{startX:17,width:6},[Nn]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Yn}]}]},fo={margins:{[Nn]:{marginTop:1,marginBottom:1}},rows:[{columns:[{[Tn]:{startX:1,width:18},[Nn]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.HEADING,transform:{fontStyle:"heading1"},layout:{[Tn]:{marginBottom:1},[Nn]:{marginBottom:1}}}]}]},{columns:[{[Tn]:{startX:1,width:7},[Nn]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginTop:0},[Nn]:{marginBottom:1}}},{type:n.x.CTA}]},{[Tn]:{startX:9,width:8},[Nn]:{startX:3,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:16},[Nn]:{height:10}}}]},{[Tn]:{startX:17,width:8},[Nn]:{startX:6,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:16},[Nn]:{height:10}}}]}]},{columns:[{[Tn]:{startX:1,width:8},[Nn]:{startX:0,width:3},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:12},[Nn]:{height:7}}}]},{[Tn]:{startX:10,width:7},[Nn]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginTop:.5},[Nn]:{marginBottom:1}}},{type:n.x.CTA}]},{[Tn]:{startX:18,width:7},[Nn]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginTop:.5},[Nn]:{marginBottom:1}}},{type:n.x.CTA}]}]}]},Jr={margins:{[Nn]:{marginTop:1,marginBottom:1}},rows:[{columns:[{[Tn]:{startX:1,width:20},[Nn]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.HEADING,transform:{fontStyle:"heading1"},layout:{[Tn]:{marginBottom:1},[Nn]:{marginBottom:1}}}]}]},{columns:[{[Tn]:{startX:1,width:8},[Nn]:{startX:0,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:16},[Nn]:{height:11}}}]},{[Tn]:{startX:9,width:8},[Nn]:{startX:4,width:3},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:16},[Nn]:{height:11}}}]},{[Tn]:{startX:18,width:7},[Nn]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginTop:0},[Nn]:{marginBottom:1}}},{type:n.x.CTA}]}]},{columns:[{[Tn]:{startX:1,width:7},[Nn]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginTop:.5,marginBottom:1},[Nn]:{marginBottom:1}}},{type:n.x.CTA}]},{[Tn]:{startX:9,width:7},[Nn]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginTop:.5,marginBottom:1},[Nn]:{marginBottom:1}}},{type:n.x.CTA}]},{[Tn]:{startX:17,width:8},[Nn]:{startX:7,width:3},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:12},[Nn]:{height:8}}}]}]}]},ro={rows:[{columns:[{[Tn]:{startX:1,width:20},[Nn]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.HEADING,transform:{fontStyle:"heading1"},layout:{[Tn]:{marginBottom:1},[Nn]:{marginBottom:0}}}]}]},{columns:[{[Tn]:{startX:1,width:16},[Nn]:{startX:0,width:7},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:14},[Nn]:{height:6}}}]},{[Tn]:{startX:18,width:7},[Nn]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]}]},{columns:[{[Tn]:{startX:1,width:7},[Nn]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginTop:.5},[Nn]:{marginBottom:0}}},{type:n.x.CTA}]},{[Tn]:{startX:17,width:8},[Nn]:{startX:7,width:3},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:16},[Nn]:{height:5}}}]}]},{columns:[{[Tn]:{startX:1,width:16},[Nn]:{startX:0,width:7},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:14},[Nn]:{height:6}}}]},{[Tn]:{startX:18,width:7},[Nn]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginTop:.5},[Nn]:{marginBottom:0}}},{type:n.x.CTA}]}]}]},Xt={rows:[{columns:[{[Tn]:{startX:1,width:17},[Nn]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.HEADING,transform:{fontStyle:"heading1"},layout:{[Tn]:{marginBottom:1},[Nn]:{marginBottom:0}}}]}]},{columns:[{[Tn]:{startX:1,width:7},[Nn]:{startX:1,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginTop:.5,marginBottom:1},[Nn]:{marginBottom:1}}},{type:n.x.CTA}]},{[Tn]:{startX:13,width:12},[Nn]:{startX:5,width:5},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:12},[Nn]:{height:4}}}]}]},{columns:[{[Tn]:{startX:1,width:12},[Nn]:{startX:0,width:5},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:21},[Nn]:{height:9}}}]},{[Tn]:{startX:14,width:8},[Nn]:{startX:1,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginTop:.5,marginBottom:1},[Nn]:{marginBottom:0}}},{type:n.x.CTA}]}]},{columns:[{[Tn]:{startX:2,width:8},[Nn]:{startX:1,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginTop:.5,marginBottom:1},[Nn]:{marginBottom:0}}},{type:n.x.CTA}]},{[Tn]:{startX:13,width:12},[Nn]:{startX:5,width:5},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:12,marginBottom:3},[Nn]:{height:4}}}]}]}]},Je={rows:[{columns:[{[Tn]:{startX:1,width:18},[Nn]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.HEADING,transform:{fontStyle:"heading1"},layout:{[Tn]:{marginBottom:1},[Nn]:{marginBottom:0}}}]}]},{columns:[{[Tn]:{startX:1,width:13},[Nn]:{startX:5,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:22,marginBottom:1},[Nn]:{height:7}}}]},{[Tn]:{startX:17,width:8},[Nn]:{startX:5,width:4},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:14,marginBottom:1},[Nn]:{height:7}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]}]},{columns:[{[Tn]:{startX:1,width:7},[Nn]:{startX:1,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginBottom:1},[Nn]:{marginBottom:0}}},{type:n.x.CTA}]},{[Tn]:{startX:12,width:13},[Nn]:{startX:5,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:22,marginBottom:1,marginTop:3},[Nn]:{height:7}}}]}]},{columns:[{[Tn]:{startX:12,width:7},[Nn]:{startX:1,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginBottom:1},[Nn]:{marginBottom:0}}},{type:n.x.CTA,layout:{[Tn]:{marginBottom:1},[Nn]:{marginBottom:0}}}]}]}]},At={rows:[{columns:[{[Tn]:{startX:1,width:18},[Nn]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.HEADING,transform:{fontStyle:"heading1"},layout:{[Tn]:{marginBottom:1},[Nn]:{marginBottom:0}}}]}]},{columns:[{[Tn]:{startX:1,width:8},[Nn]:{startX:1,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:14,marginBottom:1},[Nn]:{height:7}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]},{[Tn]:{startX:12,width:13},[Nn]:{startX:5,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:22,marginBottom:1},[Nn]:{height:7}}}]}]},{columns:[{[Tn]:{startX:12,width:7},[Nn]:{startX:1,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginBottom:1},[Nn]:{marginBottom:0}}},{type:n.x.CTA,layout:{[Tn]:{marginBottom:1},[Nn]:{marginBottom:0}}}]}]},{columns:[{[Tn]:{startX:1,width:13},[Nn]:{startX:5,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Tn]:{height:22,marginBottom:1},[Nn]:{height:7}}}]}]},{columns:[{[Tn]:{startX:1,width:7},[Nn]:{startX:1,width:6},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Tn]:{marginBottom:1},[Nn]:{marginBottom:0}}},{type:n.x.CTA,layout:{[Tn]:{marginBottom:1},[Nn]:{marginBottom:0}}}]}]}]},xt=[cn,or,qn,Hr,fo,Jr,ro,Xt,Je,At],{DESKTOP:Qt,MOBILE:qt}=c.FluidEngineBreakpoints,Te={rows:[{columns:[{[Qt]:{startX:1,width:11},[qt]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.HEADING,transform:{fontStyle:"heading3"}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Qt]:{width:7}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Qt]:{width:7}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Qt]:{marginBottom:1,width:7}}},{type:n.x.CTA,layout:{[Qt]:{width:7}}}]},{[Qt]:{startX:13,width:4},[qt]:{startX:2,width:6},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Qt]:{height:6,marginTop:2},[qt]:{height:3}}},{type:n.x.CTA}]},{[Qt]:{startX:17,width:4},[qt]:{startX:2,width:6},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Qt]:{height:6,marginTop:2},[qt]:{height:3}}}]},{[Qt]:{startX:21,width:4},[qt]:{startX:2,width:6},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Qt]:{height:6,marginTop:2},[qt]:{height:3}}}]}]}]},Gt={rows:[{columns:[{[Qt]:{startX:3,width:20},[qt]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.HEADING,transform:{fontStyle:"heading2"}}]}]},{columns:[{[Qt]:{startX:9,width:8},[qt]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Qt]:{marginBottom:1},[qt]:{marginBottom:1}}}]}]},...Zn,{columns:[{[Qt]:{startX:5,width:7},[qt]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Yn},{[Qt]:{startX:14,width:7},[qt]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Yn}]}]},un={rows:[{columns:[{[Qt]:{startX:3,width:20},[qt]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.HEADING,transform:{fontStyle:"heading2"}}]}]},{columns:[{[Qt]:{startX:9,width:8},[qt]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Qt]:{marginBottom:1},[qt]:{marginBottom:1}}}]}]},...$n,{columns:[{[Qt]:{startX:5,width:7},[qt]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Yn},{[Qt]:{startX:14,width:7},[qt]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Yn}]}]},Vt=xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[2]}]),Dn=[Vt(cn),Te,Vt(or),Vt(qn),Vt(Hr),Vt(fo),Vt(Jr),Vt(ro),Vt(Xt),Gt,un,Vt(Je),Vt(At)],{DESKTOP:Wt,MOBILE:Pe}=c.FluidEngineBreakpoints,xe=xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[1]}]),Ae=[{elementType:n.x.CTA,locations:[1]}],qe={rows:[{columns:[{[Wt]:{startX:1,width:14},[Pe]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.HEADING,transform:{fontStyle:"heading3"},layout:{[Wt]:{marginBottom:1},[Pe]:{marginBottom:0}}}]},{[Wt]:{startX:18,width:7},[Pe]:{startX:1,width:8},horizontalAlignmentWithin:o().RIGHT,bottom:[{type:n.x.CTA,layout:{[Wt]:{marginBottom:1},[Pe]:{marginBottom:0}}}]}]},{columns:[{[Wt]:{startX:1,width:8},[Pe]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Wt]:{height:5,marginBottom:1},[Pe]:{height:4,marginBottom:0}}}]},{[Wt]:{startX:9,width:8},[Pe]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Wt]:{height:5,marginBottom:1},[Pe]:{height:4,marginBottom:0}}}]},{[Wt]:{startX:17,width:8},[Pe]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Wt]:{height:5,marginBottom:1},[Pe]:{height:4,marginBottom:0}}}]}]},{columns:[{[Wt]:{startX:1,width:7},[Pe]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[Wt]:{startX:9,width:7},[Pe]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[Wt]:{startX:17,width:7},[Pe]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]}]}]},wt={rows:[{columns:[{[Wt]:{startX:3,width:20},[Pe]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.HEADING,transform:{fontStyle:"heading2"}}]}]},{columns:[{[Wt]:{startX:9,width:8},[Pe]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Wt]:{marginBottom:1},[Pe]:{marginBottom:0}}},{type:n.x.CTA,layout:{[Wt]:{marginBottom:1},[Pe]:{marginBottom:0}}}]}]},...Zn,{columns:[{[Wt]:{startX:5,width:7},[Pe]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Wt]:{marginBottom:1},[Pe]:{marginBottom:0}}}]},{[Wt]:{startX:14,width:7},[Pe]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Wt]:{marginBottom:1},[Pe]:{marginBottom:0}}}]}]}]},kt={rows:[...wt.rows.slice(0,2),...$n,...wt.rows.slice(4)]},ut=xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[0,2]}]),Ft=xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[1,2]}]),tn=[xe(Te),qe,ut(or),ut(qn),ut(Hr),Ft(fo),Ft(Jr),Ft(ro),Ft(Xt),wt,kt,Ft(Je),Ft(At)],In=(0,d.t2)(Te,[{elementType:n.x.PARAGRAPH,locations:[0]},...Ae]),rr={rows:[{columns:[{[Wt]:{startX:1,width:14},[Pe]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.HEADING,transform:{fontStyle:"heading3"},layout:{[Wt]:{marginBottom:1},[Pe]:{marginBottom:0}}}]}]},{columns:[{[Wt]:{startX:1,width:8},[Pe]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Wt]:{height:5,marginBottom:1},[Pe]:{height:4,marginBottom:0}}}]},{[Wt]:{startX:9,width:8},[Pe]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Wt]:{height:5,marginBottom:1},[Pe]:{height:4,marginBottom:0}}}]},{[Wt]:{startX:17,width:8},[Pe]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Wt]:{height:5,marginBottom:1},[Pe]:{height:4,marginBottom:0}}}]}]},{columns:[{[Wt]:{startX:1,width:7},[Pe]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[Wt]:{startX:9,width:7},[Pe]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[Wt]:{startX:18,width:7},[Pe]:{startX:1,width:7},horizontalAlignmentWithin:o().RIGHT,top:[{type:n.x.CTA}]}]}]},Sr={rows:[...bn,{columns:[{[Wt]:{startX:1,width:7},[Pe]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[Wt]:{startX:9,width:7},[Pe]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[Wt]:{startX:17,width:8},[Pe]:{startX:2,width:6},horizontalAlignmentWithin:o().RIGHT,top:[{type:n.x.CTA}]}]}]},Yr={rows:[...ir,...jt]},Pr={rows:[...Rn,...jt]},Mn={rows:[{columns:[{[Wt]:{startX:1,width:20},[Pe]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[Wt]:{marginBottom:1},[Pe]:{marginBottom:0}}}]}]},{columns:[{[Wt]:{startX:1,width:16},[Pe]:{startX:0,width:7},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Wt]:{height:14},[Pe]:{height:6}}}]},{[Wt]:{startX:18,width:7},[Pe]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]}]},{columns:[{[Wt]:{startX:17,width:8},[Pe]:{startX:7,width:3},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Wt]:{height:16},[Pe]:{height:5}}}]}]},{columns:[{[Wt]:{startX:1,width:16},[Pe]:{startX:0,width:7},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Wt]:{height:14},[Pe]:{height:6}}}]},{[Wt]:{startX:18,width:7},[Pe]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Wt]:{marginTop:.5},[Pe]:{marginBottom:0}}}]}]}]},sr={rows:[{columns:[{[Wt]:{startX:1,width:17},[Pe]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[Wt]:{marginBottom:1},[Pe]:{marginBottom:0}}}]}]},{columns:[{[Wt]:{startX:1,width:8},[Pe]:{startX:1,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Wt]:{marginTop:.5,marginBottom:1},[Pe]:{marginBottom:1}}},{type:n.x.CTA}]},{[Wt]:{startX:13,width:12},[Pe]:{startX:5,width:5},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Wt]:{height:12},[Pe]:{height:4}}}]}]},{columns:[{[Wt]:{startX:1,width:12},[Pe]:{startX:0,width:5},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Wt]:{height:21},[Pe]:{height:9}}}]},{[Wt]:{startX:14,width:8},[Pe]:{startX:1,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Wt]:{marginTop:.5,marginBottom:1},[Pe]:{marginBottom:0}}}]}]},{columns:[{[Wt]:{startX:13,width:12},[Pe]:{startX:5,width:5},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Wt]:{height:12,marginBottom:3},[Pe]:{height:4}}}]}]}]},Ar=(0,u.ZP)((0,d.t2)(Gt,[{elementType:n.x.PARAGRAPH,locations:[0]},{elementType:n.x.CTA,locations:[1]}]),xn=>{xn.rows[4].columns[0].horizontalAlignmentWithin=o().LEFT,xn.rows[4].columns[1].horizontalAlignmentWithin=o().LEFT}),vr={rows:[{columns:[{[Wt]:{startX:3,width:20},[Pe]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.HEADING,transform:{fontStyle:"heading2"}}]}]},{columns:[{[Wt]:{startX:5,width:7},[Pe]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Wt]:{marginBottom:1},[Pe]:{marginBottom:0}}}]},{[Wt]:{startX:14,width:7},[Pe]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Wt]:{marginBottom:1},[Pe]:{marginBottom:0}}}]}]},...$n,{columns:[{[Wt]:{startX:9,width:8},[Pe]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.CTA,layout:{[Wt]:{marginBottom:2},[Pe]:{marginBottom:0}}}]}]}]},qr=(0,d.t2)(Je,[{elementType:n.x.PARAGRAPH,locations:[2]},{elementType:n.x.CTA,locations:[1,2]}]),Dr=(0,d.t2)(At,[{elementType:n.x.PARAGRAPH,locations:[2]},{elementType:n.x.CTA,locations:[1,2]}]),eo=[...tn.slice(5,7).map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[2]}]))],Vo=[In,rr,Sr,Yr,Pr,...eo,Mn,sr,Ar,vr,qr,Dr],Bn={rows:[...bn,{columns:[{[Wt]:{startX:9,width:8},[Pe]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Wt]:{marginBottom:1},[Pe]:{marginBottom:0}}},{type:n.x.CTA}]}]}]},ar={rows:[...ir,Ln]},rn={rows:[...Rn,Ln]},Rt=[...Vo.slice(5,7).map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[1]}]))],Qe={rows:[...jn,...Zn]},Ye={rows:[...jn,...$n]},yt=xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[1]}]),Ze=[yt(rr),yt(In),Bn,ar,rn,...Rt,yt(Mn),yt(sr),Qe,Ye,yt(qr),yt(Dr)],Mt=xt.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[0,1,2]}])),ot=xt.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),et=xt.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[0,1,2]},{elementType:n.x.HEADING}])),St=Dn.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[2]}])),Ht=St.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[1]}])),er=Mt.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[1]}])),Mr=Dn.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),mn=et.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[2]}])),Un=St.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),hr=er.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[1]}])),br=tn.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),io=mn.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[1]}])),Kr=Vo.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),xo=tn.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),Ho=xo.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),bo=Vo.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),Ea=bo.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Ia=Ze.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),Da=Ht.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Za=Ze.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Xa=Ia.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH}])),ba=Ia.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),ns=ba.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH}])),Ja=[...xt,...Dn,...tn,...xo,...Mt,...er,...hr,...ot,...Mr,...br,...Ho,...St,...Vo,...bo,...Un,...Kr,...Ea,...Ze,...Ht,...Ia,...Da,...Za,...ba,...Xa,...et,...mn,...io,...ns],Is=(0,d.xX)(Ja);var Vr=e(598768),Qr=e(310955),To=e.n(Qr);const{DESKTOP:xr,MOBILE:uo}=c.FluidEngineBreakpoints,Mo=[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA,layout:{[xr]:{marginTop:1},[uo]:{marginTop:1}}}],go={margins:{[uo]:{marginBottom:2,marginTop:2}},rows:[{columns:[{[xr]:{startX:7,width:12},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[uo]:{marginBottom:1}}}]}]},{columns:[{[xr]:{startX:9,width:8},[uo]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:Mo}]}]},ea=(0,u.ZP)(go,xn=>{xn.margins={[uo]:{marginBottom:2,marginTop:2}},xn.rows[0].columns[0][xr]={startX:2,width:10},xn.rows[0].columns[0].top[0].layout={[xr]:{marginBottom:0},[uo]:{marginBottom:1}},xn.rows[0].columns[0].top[0].transform={fontStyle:"heading3"},xn.rows[0].columns[1]=(0,f.cloneDeep)(xn.rows[1].columns[0]),xn.rows[1].columns[0].top=void 0,xn.rows[0].columns[1][xr]={startX:14,width:8},xn.rows[0].columns[1][uo]={startX:1,width:6},xn.rows[0].columns[0].horizontalAlignmentWithin=o().LEFT,xn.rows[0].columns[1].horizontalAlignmentWithin=o().LEFT}),ha={margins:{[uo]:{marginBottom:2,marginTop:2}},rows:[{columns:[{[xr]:{startX:5,width:16},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{layout:{[xr]:{marginBottom:1},[uo]:{marginBottom:0}},type:n.x.HEADING,transform:{fontStyle:"heading2"}}]}]},{columns:[{[xr]:{startX:5,width:7},[uo]:{startX:2,width:6},top:[{layout:{[xr]:{marginBottom:1},[uo]:{marginBottom:0}},type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[xr]:{startX:14,width:7},[uo]:{startX:2,width:6},top:[{layout:{[xr]:{marginBottom:1},[uo]:{marginBottom:1}},type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]}]},{columns:[{[xr]:{startX:9,width:8},[uo]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.CTA}]}]}]},yr={margins:{[uo]:{marginBottom:2,marginTop:2}},rows:[{columns:[{[xr]:{startX:2,width:7},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading3"},layout:{[uo]:{marginBottom:1}}}]},{[xr]:{startX:10,width:7},[uo]:{startX:1,width:7},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA,layout:{[xr]:{marginTop:1},[uo]:{marginBottom:1}}}]},{[xr]:{startX:18,width:7},[uo]:{startX:1,width:7},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]}]}]},Lr={margins:{[uo]:{marginBottom:1,marginTop:2}},rows:[{columns:[{[xr]:{startX:2,width:19},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,layout:{[xr]:{marginBottom:3},[uo]:{marginBottom:1}},transform:{fontStyle:"heading1"}}]}]},{columns:[{[xr]:{startX:2,width:7},[uo]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.CTA}]},{[xr]:{startX:10,width:7},[uo]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[xr]:{startX:18,width:7},[uo]:{startX:1,width:7},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]}]}]},ao=(0,u.ZP)(Lr,xn=>{xn.rows[0].columns[0][xr].width=20,xn.rows[1].columns[0][xr].startX=18,xn.rows[1].columns[0].horizontalAlignmentWithin=o().RIGHT,xn.rows[1].columns[1][xr].startX=2,xn.rows[1].columns[2][xr].startX=10,xn.rows[1].columns=[...xn.rows[1].columns.slice(1),xn.rows[1].columns[0]]}),ho=(0,u.ZP)(go,xn=>{(0,f.merge)(xn.rows[0].columns[0].top[0],{transform:{fontStyle:"marquee"},contentValue:{[a.Z.MARQUEE]:i.t.STRAIGHT_LINE_PRESET}}),xn.rows[0].columns[0][xr]={startX:0,width:26},xn.rows[1].columns[0][xr]={startX:2,width:9},xn.rows[1].columns[0].horizontalAlignmentWithin=o().LEFT,xn.rows[1].columns[0].top[0].transform={fontStyle:"paragraph2"},xn.rows[1].columns[0].top[1].transform={fontStyle:"paragraph2"}}),Lo=(0,u.ZP)(ha,xn=>{xn.margins={[xr]:{marginTop:3,marginBottom:3},[uo]:{marginTop:2,marginBottom:2}},xn.rows[0].columns[0].top[0].transform={fontStyle:"scaledText"},xn.rows[0].columns[0].top[0].layout={[xr]:{marginBottom:1},[uo]:{marginBottom:1}},xn.rows[0].columns[0][xr]={startX:1,width:24},xn.rows[0].columns[0][uo]={startX:0,width:10},xn.rows[1].columns[0].horizontalAlignmentWithin=o().LEFT,xn.rows[1].columns[1].horizontalAlignmentWithin=o().LEFT,xn.rows[2].columns[0].horizontalAlignmentWithin=o().CENTER,xn.rows[1].columns[0][xr]={startX:3,width:9},xn.rows[1].columns[1][xr]={startX:14,width:9},xn.rows[2].columns[0][uo]={startX:1,width:8}}),Yo=[go,ha,ea,yr,ho,Lr,ao,Lo],jo=(0,u.ZP)(go,xn=>{xn.margins={[uo]:{marginBottom:2,marginTop:2}},xn.rows[0].columns[0].top[0].layout={[uo]:{marginTop:1}},xn.rows[1].columns[0][uo]={startX:2,width:6},xn.rows[1].columns[0].top=(0,d.z)(xn.rows[1].columns[0].top,n.x.CTA),xn.rows.push({columns:[{[xr]:{startX:9,width:4},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.CTA,layout:{[xr]:{marginTop:.5}}}]},{[xr]:{startX:13,width:4},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.CTA,layout:{[xr]:{marginTop:.5}}}]}]})}),Xo={[xr]:{startX:6,width:7},[uo]:{startX:2,width:6},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]},Ua={margins:{[uo]:{marginBottom:2,marginTop:2}},rows:[{columns:[{[xr]:{startX:5,width:16},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[xr]:{marginBottom:1},[uo]:{marginTop:1}}}]}]},{columns:[Xo,(0,u.ZP)(Xo,xn=>{xn[xr]={startX:13,width:7}})]}]},ds={margins:{[uo]:{marginBottom:2,marginTop:2}},rows:[{columns:[{[xr]:{startX:1,width:10},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading3"},layout:{[uo]:{marginTop:1}}}]},(0,u.ZP)(Xo,xn=>{xn[xr]={startX:12,width:6},xn[uo]={startX:1,width:7},xn.horizontalAlignmentWithin=o().LEFT,xn.top[1].layout={[xr]:{marginTop:.5}}}),(0,u.ZP)(Xo,xn=>{xn[xr]={startX:19,width:6},xn[uo]={startX:1,width:7},xn.horizontalAlignmentWithin=o().LEFT,xn.top[1].layout={[xr]:{marginTop:.5}}})]}]},us={margins:{[uo]:{marginBottom:2,marginTop:2}},rows:[{columns:[{[xr]:{startX:1,width:12},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading3"},layout:{[uo]:{marginTop:1}}}]},{[xr]:{startX:15,width:9},[uo]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA,layout:{[xr]:{marginBottom:1},[uo]:{marginBottom:1}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]}]}]},ys={margins:{[uo]:{marginBottom:2,marginTop:2}},rows:[{columns:[{[xr]:{startX:2,width:17},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading1"},layout:{[xr]:{marginBottom:3},[uo]:{marginBottom:1}}}]}]},{columns:[{[xr]:{startX:2,width:7},[uo]:{startX:1,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.CTA},{type:n.x.CTA}]},{[xr]:{startX:10,width:7},[uo]:{startX:1,width:7},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[xr]:{startX:18,width:7},[uo]:{startX:1,width:7},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]}]}]},Ys=(0,u.ZP)(ys,xn=>{xn.rows[0].columns[0][xr].width=19,xn.rows[0].columns[0].top[0].layout[xr].marginBottom=4,xn.rows[1].columns[0].horizontalAlignmentWithin=o().RIGHT,xn.rows[1].columns[0][xr].startX=18,xn.rows[1].columns[1][xr].startX=2,xn.rows[1].columns[2][xr].startX=10,xn.rows[1].columns[0][uo].startX=2,xn.rows[1].columns[1][uo].startX=2,xn.rows[1].columns[2][uo].startX=2,xn.rows[1].columns=[...xn.rows[1].columns.slice(1),xn.rows[1].columns[0]]}),Gs=(0,u.ZP)(Ua,xn=>{xn.rows[0].columns[0][xr]={startX:1,width:24},xn.rows[0].columns[0].center[0].transform.fontStyle="scaledText",xn.rows[0].columns[0].center[0].layout={[xr]:{marginBottom:1}},xn.rows[1].columns[0][xr]={startX:3,width:9},xn.rows[1].columns[1][xr]={startX:14,width:9},xn.rows[1].columns[0][uo]={startX:1,width:7},xn.rows[1].columns[1][uo]={startX:1,width:7},xn.rows[1].columns[0].horizontalAlignmentWithin=o().LEFT,xn.rows[1].columns[1].horizontalAlignmentWithin=o().LEFT,xn.rows[1].columns[0].top[0].layout={[xr]:{marginBottom:1}},xn.rows[1].columns[1].top[0].layout={[xr]:{marginBottom:1}}}),xs=[jo,Ua,us,ds,ys,Ys,Gs],Ai=xs.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Pi=xs.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[0,1]}])),ei=Yo.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),hi=Yo.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),ks=hi.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Ms=(0,u.ZP)(go,xn=>{xn.margins={[uo]:{marginBottom:2,marginTop:2}},xn.rows[0].columns[0][xr]={startX:8,width:10},xn.rows[0].columns[0].top[0].transform={fontStyle:"heading3"},xn.rows[1].columns[0][xr]={startX:9,width:8};const $s=xn.rows[1].columns[0].top;xn.rows[1].columns[0].top=(0,d.z)($s,n.x.PARAGRAPH)}),bs=(0,u.ZP)(ea,xn=>{xn.margins={[uo]:{marginBottom:3,marginTop:4}},xn.rows[0].columns[0].top[0].transform={fontStyle:"heading2"},xn.rows[0].columns[0][xr]={startX:2,width:10},xn.rows[0].columns[1][xr]={startX:14,width:8};const $s=xn.rows[0].columns[1].top;xn.rows[0].columns[1].top=(0,d.z)($s,n.x.PARAGRAPH)}),Hs=(0,u.ZP)(Ms,xn=>{xn.margins={[uo]:{marginBottom:4,marginTop:4}},xn.rows[0].columns[0].top[0].transform={fontStyle:"heading1"},xn.rows[0].columns[0][xr]={startX:3,width:20},xn.rows[1].columns[0][xr]={startX:9,width:8},xn.rows[1].columns[0].top[1].layout={[xr]:{marginTop:1},[uo]:{marginTop:0}}}),Os=(0,u.ZP)(bs,xn=>{xn.margins={[xr]:{marginBottom:3,marginTop:3},[uo]:{marginBottom:4,marginTop:4}},xn.rows[0].columns[0][xr]={startX:2,width:11},xn.rows[0].columns[0].top[0].transform={fontStyle:"heading1"},xn.rows[0].columns[1][xr]={startX:14,width:8}}),Vs=(0,u.ZP)(ho,xn=>{const $s=xn.rows[1].columns[0].top;xn.rows[0].columns[0][xr]={startX:0,width:26},xn.rows[1].columns[0].top=(0,d.z)($s,n.x.PARAGRAPH),xn.rows[1].columns[0][xr]={startX:2,width:10}}),_s=(0,u.ZP)(Lo,xn=>{xn.margins={[xr]:{marginBottom:3,marginTop:3},[uo]:{marginBottom:2,marginTop:3}},xn.rows[0].columns[0].top[0].transform={fontStyle:"scaledText"},xn.rows[0].columns[0].top[0].layout={[xr]:{marginBottom:1},[uo]:{marginBottom:2}};const $s=xn.rows[1].columns;xn.rows[1].columns=$s.slice(0,1),xn.rows[1].columns[0][xr]={startX:9,width:8},xn.rows[2].columns[0][xr]={startX:9,width:8},xn.rows[1].columns[0].horizontalAlignmentWithin=o().CENTER,xn.rows[2].columns[0].horizontalAlignmentWithin=o().CENTER,xn.rows[2].columns[0][uo]={startX:0,width:10},xn.rows[1].columns[0].top[0].layout={[xr]:{marginBottom:1},[uo]:{marginBottom:1}}}),fs=[Ms,bs,Hs,Vs,Os,_s],Ss=(0,u.ZP)((0,d.t2)(jo,[{elementType:n.x.PARAGRAPH,locations:[1]}]),xn=>{xn.rows[0].columns[0][xr]={width:10,startX:8},xn.rows[0].columns[0].top[0].transform.fontStyle="heading3",xn.rows[2].columns[0].top[0].layout[xr].marginTop=0,xn.rows[2].columns[1].top[0].layout[xr].marginTop=0}),hs={margins:{[uo]:{marginBottom:2,marginTop:2}},rows:[{columns:[{[xr]:{startX:2,width:10},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading3"}}]},{[xr]:{startX:14,width:9},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{columns:[{[xr]:{startX:0,width:4},[uo]:{startX:0,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.CTA}]},{[xr]:{startX:5,width:5},[uo]:{startX:0,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.CTA}]}]}]}]}]},li=(0,u.ZP)(Ss,xn=>{xn.rows[0].columns[0][xr]={startX:3,width:20},xn.rows[0].columns[0].top[0].transform.fontStyle="heading1"}),Ni=(0,u.ZP)(hs,xn=>{xn.rows[0].columns[0].top[0].transform.fontStyle="heading1",xn.rows[0].columns[1].top[0].layout={[xr]:{marginBottom:1}},xn.rows[0].columns[1].top[1].columns[1][xr].startX=4}),Ji=(0,u.ZP)(li,xn=>{xn.rows[0].columns[0][xr]={startX:1,width:24};const $s=xn.rows[0].columns[0].top[0];$s.transform={fontStyle:"scaledText"},$s.layout={[xr]:{marginBottom:1}};const Ki=xn.rows[1].columns[0].top[0];Ki.layout={[xr]:{marginBottom:1}}}),wi=[Ss,hs,li,Ni,Ji],vi=wi.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),sl=fs.map(xn=>(0,u.ZP)(xn,$s=>{(0,Vr.aH)($s,Ki=>{let{block:ru}=Ki;ru.type===n.x.PARAGRAPH&&(ru.type=n.x.HEADING,ru.transform={fontStyle:"heading4"})})})),Zi=sl.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),Zs=fs.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),Bs={margins:{[xr]:{marginBottom:1,marginTop:4},[uo]:{marginBottom:1,marginTop:1}},rows:[{columns:[{[xr]:{startX:0,width:26},[uo]:{startX:0,width:10},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.HEADING,transform:{fontStyle:"marquee"},contentValue:{[a.Z.MARQUEE]:{...i.t.STRAIGHT_LINE_PRESET,textSize:{value:8,unit:g().REM},animationDirection:"right",animationSpeed:1}}}]}]},{[xr]:{marginTop:1},columns:[{[xr]:{startX:2,width:8},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.CTA}]}]}]},ti={margins:{[xr]:{marginTop:2},[uo]:{marginBottom:0,marginTop:0}},enableDivider:!0,swapTheme:!0,rows:[{columns:[{[xr]:{startX:0,width:26},[uo]:{startX:0,width:10},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.HEADING,transform:{fontStyle:"marquee"},contentValue:{[a.Z.MARQUEE]:{...i.t.MILD_WAVE_PRESET,textSize:{value:8,unit:g().REM},animationDirection:"left",animationSpeed:1}}}]}]},{columns:[{[xr]:{startX:16,width:8},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().RIGHT,center:[{type:n.x.CTA}]}]}]},gi={margins:{[xr]:{marginBottom:1,marginTop:4},[uo]:{marginBottom:1,marginTop:1}},rows:[{columns:[{[xr]:{startX:1,width:24},[uo]:{startX:0,width:10},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.HEADING,layout:{[xr]:{verticalAlignment:To().CENTER},[uo]:{verticalAlignment:To().CENTER}},transform:{fontStyle:"scaledText"}}]}]},{[xr]:{marginTop:1},columns:[{[xr]:{startX:9,width:8},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.CTA}]}]}]},yi=(0,u.ZP)(gi,xn=>{xn.enableDivider=!0,xn.swapTheme=!0,xn.margins={[xr]:{marginTop:3,marginBottom:0},[uo]:{marginTop:1,marginBottom:0}},xn.rows[1].columns[0].center[0].layout={[xr]:{verticalAlignment:To().BOTTOM},[uo]:{verticalAlignment:To().BOTTOM}}}),ki={margins:{[xr]:{marginBottom:1,marginTop:2},[uo]:{marginBottom:0,marginTop:0}},rows:[{columns:[{[xr]:{startX:5,width:16},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.HEADING,layout:{[xr]:{verticalAlignment:To().CENTER},[uo]:{verticalAlignment:To().CENTER}},transform:{fontStyle:"heading1"}}]}]},{[xr]:{marginTop:1},columns:[{[xr]:{startX:9,width:8},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.CTA}]}]}]},bi={margins:{[xr]:{marginBottom:2,marginTop:2},[uo]:{marginBottom:0,marginTop:0}},swapTheme:!0,rows:[{columns:[{[xr]:{startX:2,width:22},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.HEADING,layout:{[xr]:{verticalAlignment:To().CENTER},[uo]:{verticalAlignment:To().CENTER}},transform:{fontStyle:"heading1"}}]}]},{[xr]:{marginTop:1},columns:[{[xr]:{startX:9,width:8},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.CTA}]}]}]},nl=[Bs,ti,gi,yi,ki,bi],Si=nl.map((xn,$s)=>(0,u.ZP)(xn,Ki=>{Ki.rows=[Ki.rows[0]],$s===1?Ki.margins[xr]={marginBottom:0,marginTop:3}:Ki.margins[xr].marginBottom=Ki.margins[xr].marginTop})),ta={margins:{[xr]:{marginTop:4,marginBottom:2},[uo]:{marginTop:1,marginBottom:1}},rows:[{columns:[{[xr]:{startX:6,width:14},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]}]},{[xr]:{marginTop:1},columns:[{[xr]:{startX:10,width:6},[uo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,center:[{type:n.x.CTA,layout:{[xr]:{verticalAlignment:To().CENTER},[uo]:{verticalAlignment:To().CENTER}}}]}]}]},ke=(0,u.ZP)(ta,xn=>{xn.margins[xr]={marginTop:3,marginBottom:1},xn.margins[uo]={marginTop:0,marginBottom:0},xn.rows[0].columns[0][xr]={startX:5,width:16};const $s=xn.rows[0].columns[0].center[0];$s.layout={[xr]:{verticalAlignment:To().CENTER},[uo]:{verticalAlignment:To().CENTER}},$s.enableBlockBackground=!0,xn.rows[1].columns[0][xr]={startX:9,width:8},xn.swapTheme=!0}),Jt=(0,u.ZP)(ta,xn=>{xn.margins[xr]={marginTop:6,marginBottom:0},xn.margins[uo]={marginTop:1,marginBottom:0};const $s=xn.rows[0].columns[0],Ki=xn.rows[1].columns[0];$s[xr]={startX:14,width:10},$s.horizontalAlignmentWithin=o().LEFT,Ki[xr]={startX:14,width:10},Ki.horizontalAlignmentWithin=o().LEFT,xn.enableDivider=!0;const ru=$s.center[0];ru.layout={[xr]:{verticalAlignment:To().CENTER},[uo]:{verticalAlignment:To().CENTER}}}),Fn=(0,u.ZP)(ta,xn=>{xn.margins[xr]={marginTop:2,marginBottom:4},xn.margins[uo]={marginTop:1,marginBottom:0},xn.enableDivider=!0,xn.swapTheme=!0;const $s=xn.rows[0].columns[0],Ki=xn.rows[1].columns[0];$s[xr]={startX:2,width:10},$s.horizontalAlignmentWithin=o().LEFT,Ki[xr]={startX:2,width:10},Ki.horizontalAlignmentWithin=o().LEFT}),mr=(0,u.ZP)(ta,xn=>{xn.margins[xr]={marginTop:2,marginBottom:1},xn.margins[uo]={marginTop:0,marginBottom:0};const $s=xn.rows[0].columns[0].center[0];$s.layout={[xr]:{verticalAlignment:To().CENTER},[uo]:{verticalAlignment:To().CENTER}},xn.rows[1].columns[0][xr]={width:8,startX:9},xn.rows[0].columns[0][xr]={startX:8,width:10}}),Tr=(0,u.ZP)(ta,xn=>{xn.margins[xr]={marginTop:1,marginBottom:1},xn.margins[uo]={marginTop:0,marginBottom:0},xn.swapTheme=!0,xn.rows[0].columns[0][xr]=xn.rows[1].columns[0][xr]={startX:9,width:8},xn.rows[1][xr].marginTop=0}),Oo=[ta,ke,Jt,Fn,mr,Tr],Uo=Oo.map((xn,$s)=>(0,u.ZP)(xn,Ki=>{Ki.rows=[Ki.rows[0]],$s===2?Ki.margins[xr]={marginBottom:0,marginTop:7}:$s===3?Ki.margins[xr].marginBottom=4:$s===4?Ki.margins[xr]={marginBottom:3,marginTop:3}:$s===5?Ki.margins[xr]={marginBottom:2,marginTop:2}:Ki.margins[xr].marginBottom=Ki.margins[xr].marginTop})),gt=[...xs,...Yo,...wi,...fs,...sl,...Ai,...ei,...Pi,...nl,...vi,...Oo],it=gt.map(xn=>(0,u.ZP)(xn,$s=>{(0,Vr.aH)($s,Ki=>{let{block:ru}=Ki;ru.type===n.x.CTA&&(ru.type=n.x.SOCIAL)})})),Lt=[...hi,...Zs,...Zi,...ks,...Si,...Uo],$t=[...gt,...it,...Lt],{DESKTOP:_n,MOBILE:dn}=c.FluidEngineBreakpoints,Jn={margins:{[dn]:{marginBottom:1,marginTop:1}},rows:[{columns:[{horizontalAlignmentWithin:o().CENTER,[_n]:{startX:6,width:14},[dn]:{startX:1,width:8},center:[{type:n.x.HEADING,transform:{fontStyle:"heading3"}},{type:n.x.PARAGRAPH,layout:{[_n]:{width:8},[dn]:{width:6}},transform:{fontStyle:"paragraph2"}},{layout:{[_n]:{width:8},[dn]:{width:6}},type:n.x.CTA}]}]},{[_n]:{marginTop:1},columns:[{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:3,width:9},[dn]:{startX:2,width:6},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[_n]:{height:13,marginBottom:1},[dn]:{height:5,width:4}}},{type:n.x.PARAGRAPH,layout:{[_n]:{width:8}},transform:{fontStyle:"paragraph2"}},{layout:{[_n]:{marginTop:1}},horizontalAlignment:o().CENTER,type:n.x.CTA}]},{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:14,width:9},[dn]:{startX:2,width:6},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[_n]:{height:13,marginBottom:1},[dn]:{height:5,width:4,marginTop:1}}},{type:n.x.PARAGRAPH,layout:{[_n]:{width:8}},transform:{fontStyle:"paragraph2"}},{layout:{[_n]:{marginTop:1}},horizontalAlignment:o().CENTER,type:n.x.CTA}]}]}]},Hn=(0,u.ZP)(Jn,xn=>{xn.rows[0].columns[0][_n].startX=4;const $s=xn.rows[0].columns[0].center[0];$s.transform={fontStyle:"heading2"},xn.rows[0].columns[0][_n].width=18,xn.rows[1].columns[0].top[0].layout[_n].height=17,xn.rows[1].columns[0].top[1].layout[_n].marginBottom=0,xn.rows[1].columns[1].top[0].layout[_n].height=17,xn.rows[1].columns[1].top[1].layout[_n].marginBottom=0}),jr={margins:{[dn]:{marginTop:1,marginBottom:2}},rows:[{columns:[{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:1,width:17},[dn]:{startX:1,width:8},center:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[dn]:{marginBottom:1}}}]}]},{[_n]:{marginBottom:1},columns:[{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:1,width:16},[dn]:{startX:0,width:7},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[_n]:{height:15},[dn]:{height:6}}}]},{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:17,width:8},[dn]:{startX:7,width:3},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[_n]:{height:15},[dn]:{height:5,marginBottom:1}}}]}]},{columns:[{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:1,width:7},[dn]:{startX:2,width:6},top:[...O]},{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:9,width:7},[dn]:{startX:2,width:6},top:[...O]},{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:17,width:7},[dn]:{startX:2,width:6},top:[...O]}]}]},wo=(0,u.ZP)(jr,xn=>{xn.rows[1].columns[0][_n].startX=9,xn.rows[1].columns[1][_n].startX=1}),ko=(0,u.ZP)(Hn,xn=>{xn.margins.desktop={},xn.rows[0].columns[0].center[1].layout.desktop.marginBottom=1;const $s=xn.rows[1].columns[0];$s[_n].startX=1,$s[_n].width=11,$s.top[0].layout[_n].height=20,$s.top[0].layout[_n].marginTop=2,$s.top[1].layout[_n].marginBottom=1;const Ki=xn.rows[1].columns[1];Ki[_n].startX=14,Ki[_n].width=11,Ki.top[0].layout[_n].marginTop=0,Ki.top[0].layout[_n].height=20,Ki.top[1].layout[_n].marginBottom=1}),Sa=(0,u.ZP)(ko,xn=>{const $s=xn.rows[1].columns[0].top[0];$s.layout[_n].marginTop=0;const Ki=xn.rows[1].columns[1].top[0];Ki.layout[_n].marginTop=3}),Na={rows:[{columns:[{[_n]:{startX:1,width:18},[dn]:{startX:1,width:8},top:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[_n]:{marginBottom:1},[dn]:{marginBottom:1}}}]}]},{columns:[{[_n]:{startX:1,width:12},[dn]:{startX:1,width:5},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[_n]:{height:16,marginBottom:1},[dn]:{height:7}}}]},{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:14,width:8},[dn]:{startX:1,width:7},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[_n]:{marginBottom:1}}},{type:n.x.CTA}]}]},{columns:[{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:1,width:8},[dn]:{startX:1,width:7},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[_n]:{marginBottom:1}}},{type:n.x.CTA}]},{[_n]:{startX:13,width:12},[dn]:{startX:4,width:5},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[_n]:{height:16,marginBottom:1},[dn]:{height:7}}}]}]},{columns:[{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:14,width:8},[dn]:{startX:1,width:7},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]}]}]},qa=(0,u.ZP)(Na,xn=>{const $s=xn.rows;[$s[1],$s[2]]=[$s[2],$s[1]],$s[3].columns[0][_n].startX=1,$s[3].columns[0].top[0].layout={[_n]:{marginBottom:1}}}),ms={rows:[{columns:[{[_n]:{startX:1,width:18},[dn]:{startX:1,width:8},top:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[_n]:{marginBottom:1}}}]}]},{columns:[{[_n]:{startX:1,width:16},[dn]:{startX:0,width:7},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[_n]:{height:15},[dn]:{height:6}}}]},{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:18,width:7},[dn]:{startX:1,width:6},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[_n]:{marginBottom:1}}},{type:n.x.CTA}]}]},{columns:[{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:1,width:7},[dn]:{startX:1,width:6},bottom:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[_n]:{marginBottom:1}}},{type:n.x.CTA}]},{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:9,width:7},[dn]:{startX:1,width:6},bottom:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[_n]:{marginBottom:1}}},{type:n.x.CTA}]},{[_n]:{startX:17,width:8},[dn]:{startX:7,width:3},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[_n]:{height:17},[dn]:{height:5}}}]}]}]},Us={margins:{[dn]:{marginBottom:2}},rows:[{columns:[{[_n]:{startX:1,width:17},[dn]:{startX:1,width:8},top:[{type:n.x.HEADING,transform:{fontStyle:"heading2"}}]}]},{columns:[{[_n]:{startX:1,width:8},[dn]:{startX:3,width:6},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[_n]:{marginBottom:1}}}]}]},{columns:[{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:1,width:6},[dn]:{startX:1,width:6},top:[{type:n.x.CTA}]},{[_n]:{startX:8,width:17},[dn]:{startX:3,width:7},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[_n]:{height:16},[dn]:{height:6}}}]}]},{columns:[{[_n]:{startX:1,width:7},[dn]:{startX:0,width:3},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[_n]:{height:15},[dn]:{height:5}}}]},{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:9,width:7},[dn]:{startX:3,width:6},bottom:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[_n]:{marginBottom:1}}},{type:n.x.CTA,layout:{[dn]:{marginBottom:1}}}]},{horizontalAlignmentWithin:o().LEFT,[_n]:{startX:17,width:7},[dn]:{startX:3,width:6},bottom:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[_n]:{marginBottom:1}}},{type:n.x.CTA}]}]}]},$i=[Jn,Hn,jr,wo,ko,Sa,Na,qa,ms,Us],{DESKTOP:Mi,MOBILE:si}=c.FluidEngineBreakpoints,rl={margins:{[si]:{marginTop:1,marginBottom:2}},rows:[{columns:[{[Mi]:{startX:1,width:11},[si]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading3"}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[Mi]:{width:8},[si]:{width:7}}},{columns:[{[Mi]:{startX:0,width:4},[si]:{startX:0,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.CTA,layout:{[Mi]:{marginTop:1}}}]},{[Mi]:{startX:4,width:5},[si]:{startX:0,width:7},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.CTA,layout:{[Mi]:{marginTop:1}}}]}]}]},{[Mi]:{startX:14,width:5},[si]:{startX:1,width:5},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Mi]:{marginBottom:1,height:7},[si]:{marginBottom:1,height:5}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[Mi]:{startX:20,width:5},[si]:{startX:1,width:5},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Mi]:{marginBottom:1,height:7},[si]:{marginBottom:1,height:5}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]}]}]},El={styles:{sectionHeight:_.qj.SMALL},rows:[{[Mi]:{marginBottom:1},columns:[{horizontalAlignmentWithin:o().CENTER,[Mi]:{startX:1,width:24},[si]:{startX:0,width:10},center:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Mi]:{height:18},[si]:{height:12}}}]},{horizontalAlignmentWithin:o().LEFT,[Mi]:{startX:10,width:6},[si]:{startX:3,width:4},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[Mi]:{height:9,zIndex:2,marginTop:3},[si]:{height:6,zIndex:2}}}]}]},{columns:[{horizontalAlignmentWithin:o().CENTER,[Mi]:{startX:3,width:20},[si]:{startX:1,width:8},center:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[Mi]:{marginBottom:1}}}]}]},{columns:[{horizontalAlignmentWithin:o().CENTER,[Mi]:{startX:4,width:8},[si]:{startX:2,width:6},top:[{layout:{[Mi]:{marginBottom:1}},type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}},{type:n.x.PARAGRAPH,layout:{[Mi]:{marginBottom:1},[si]:{marginBottom:1}},transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]},{horizontalAlignmentWithin:o().CENTER,[Mi]:{startX:14,width:8},[si]:{startX:2,width:6},top:[...O]}]}]},Ui=xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[2]}]),il=[rl,Ui(Jn),Ui(Hn),El,Ui(jr),Ui(wo),Ui(ko),Ui(Sa),Ui(Na),Ui(qa),Ui(ms),Ui(Us)],{DESKTOP:fl,MOBILE:oi}=c.FluidEngineBreakpoints,Nl={rows:[{columns:[{horizontalAlignmentWithin:o().LEFT,[fl]:{startX:1,width:15},[oi]:{startX:1,width:8},center:[{type:n.x.HEADING,transform:{fontStyle:"heading2"}}]}]},{[fl]:{marginBottom:1,marginTop:1},columns:[{horizontalAlignmentWithin:o().LEFT,[fl]:{startX:1,width:25},[oi]:{startX:2,width:6},center:[{columns:[{[fl]:{startX:0,width:7},[oi]:{startX:0,width:6},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[fl]:{startX:8,width:7},[oi]:{startX:0,width:6},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[fl]:{startX:16,width:7},[oi]:{startX:0,width:6},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]}]}]}]},{columns:[{horizontalAlignmentWithin:o().LEFT,[fl]:{startX:1,width:7},[oi]:{startX:0,width:5},top:[{type:n.x.CTA}]},{horizontalAlignmentWithin:o().LEFT,[fl]:{startX:9,width:8},[oi]:{startX:0,width:7},center:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[fl]:{height:16},[oi]:{height:6}}}]},{horizontalAlignmentWithin:o().LEFT,[fl]:{startX:17,width:8},[oi]:{startX:6,width:4},center:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[fl]:{height:16},[oi]:{height:6}}}]}]}]},xl=(0,u.ZP)(Nl,xn=>{xn.rows[2].columns[0].horizontalAlignmentWithin=o().RIGHT,xn.rows[2].columns[0][fl].startX=18,xn.rows[2].columns[1][fl].startX=1,xn.rows[2].columns[2][fl].startX=9}),Ic=(0,d.t2)(El,[{elementType:n.x.CTA,locations:[0]}]),Kl=il.slice(0,3).map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[1]}])),Jl=il.slice(4).map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[1]}])),Vi=[...Kl,Ic,Nl,xl,...Jl],{DESKTOP:_c,MOBILE:mc}=c.FluidEngineBreakpoints,zl=[...il.slice(0,3).map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[1]}])),Nl,xl,...il.slice(3).map((xn,$s)=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[$s===0?0:1]}]))],$l=$i.map((xn,$s)=>{const Ki=[0,1,4,5,8,9].includes($s)?0:2;return(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[Ki]}])}),ln=il.map((xn,$s)=>{const Ki=[0,1,2,6,7,10,11].includes($s)?0:$s===3?1:2;return(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[Ki]}])}),sn=zl.map((xn,$s)=>[0,1,2,8,9,12,13].includes($s)?(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[0]}]):$s===5?(0,u.ZP)((0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[1]},{elementType:n.x.CTA}]),Ki=>{Ki.rows.push({columns:[{[_c]:{startX:9,width:8},[mc]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.CTA}]}]})}):(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[2]}])),zn=il.map((xn,$s)=>$s===3?(0,u.ZP)((0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[1,2]}]),Ki=>{Ki.rows[2].columns[0].desktop.startX=9}):(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[1,2]}])),Er=zl.map((xn,$s)=>(0,u.ZP)((0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[1,2]}]),Ki=>{$s===5&&(Ki.rows[2].columns[0][_c].startX=9,Ki.rows[2].columns[1].top=void 0,Ki.rows[2].columns[0].top.push({type:n.x.CTA}))})),zr=zl.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),Ao=sn.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[0]}])),Zo=ln.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),ia=sn.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),So=Ao.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Ha=$i.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[0,1,2]}])),is=il.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[0,1,2]}])),as=zl.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[0,1,2]}])),es=il.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Qs=il.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Rs=zl.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),rs=zr.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Cs=Er.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[0]}])),Fs=zn.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Ks=Er.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Ls=Ks.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),Js=as.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),Ts=$l.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING},{elementType:n.x.PARAGRAPH,locations:[0,1]}])),zs=Ts.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),Bi=zs.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),qs=Bi.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),Ti=[...il,...$i,...zl,...Ha,...is,...as,...zr,...es,...Qs,...Rs,...rs,...$l,...ln,...sn,...Ao,...Zo,...ia,...So,...zn,...Er,...Cs,...Fs,...Ks,...Ls,...Js,...Ts,...zs,...Bi,...qs],ui=(0,d.xX)(Ti),{DESKTOP:qi,MOBILE:Ko}=c.FluidEngineBreakpoints,Ur=(xn,$s,Ki)=>{const ru=Ki?1:0;return{[qi]:{startX:xn,width:$s},[Ko]:{startX:1,width:8},center:[{type:n.x.INTERACTIVE_MEDIA,layout:{[qi]:{marginTop:ru},[Ko]:{marginTop:ru}}}]}},aa=(xn,$s,Ki)=>({columns:[Ur(xn,$s,Ki)]}),{DESKTOP:ca,MOBILE:As}=c.FluidEngineBreakpoints,Ri=(0,u.ZP)(I[0],xn=>{xn.rows[0].columns[0].top=xn.rows[0].columns[0].center,xn.rows[0].columns[0].center=void 0,xn.rows[0].columns[1].top=xn.rows[0].columns[1].center,xn.rows[0].columns[1].top.push({type:n.x.INTERACTIVE_MEDIA}),xn.rows[0].columns[1].center=void 0}),Ei=(0,u.ZP)(I[1],xn=>{xn.rows[0].columns[0].top=xn.rows[0].columns[0].center,xn.rows[0].columns[0].center=void 0,xn.rows[0].columns[1].top=xn.rows[0].columns[1].center,xn.rows[0].columns[1].top.push({type:n.x.INTERACTIVE_MEDIA}),xn.rows[0].columns[1].center=void 0}),pi=(0,u.ZP)(I[2],xn=>{xn.rows.push(aa(8,10,!0))}),Gi={margins:{[ca]:{marginTop:1,marginBottom:1},[As]:{marginBottom:1}},rows:[{columns:[{[ca]:{startX:2,width:22},[As]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"marquee"},layout:{[ca]:{marginBottom:1}},contentValue:{[a.Z.MARQUEE]:i.t.STRAIGHT_LINE_PRESET}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[ca]:{width:9,marginBottom:1}}},{type:n.x.CTA},{type:n.x.INTERACTIVE_MEDIA,layout:{[ca]:{width:11}}}]},{[ca]:{startX:16,width:8},[As]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[ca]:{height:16},[As]:{height:14}}}]}]}]},Eo=(0,u.ZP)(I[4],xn=>{xn.rows[0].columns[1].center.push({type:n.x.INTERACTIVE_MEDIA,layout:{[ca]:{marginTop:1,width:10}}}),xn.rows[0].columns[0].center[0].layout={[ca]:{height:31},[As]:{height:15}}}),_l=(0,u.ZP)(I[5],xn=>{xn.rows[0].columns[0].top.push({type:n.x.INTERACTIVE_MEDIA,layout:{[ca]:{marginTop:1,width:10}}}),xn.rows[0].columns[1].center[0].layout={[ca]:{height:29},[As]:{height:15}}}),Al=(0,u.ZP)(I[7],xn=>{xn.rows[1].columns[1].top.push({type:n.x.INTERACTIVE_MEDIA})}),Pl=[Ri,Ei,pi,Gi,Eo,_l,Al],Wi=Pl.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),Mc=(0,u.ZP)(te[0],xn=>{xn.rows[0].columns[0].top=xn.rows[0].columns[0].center,xn.rows[0].columns[0].center=void 0,xn.rows[0].columns[1].top=xn.rows[0].columns[1].center,xn.rows[0].columns[1].top.push({type:n.x.INTERACTIVE_MEDIA}),xn.rows[0].columns[1].center=void 0}),Fc=(0,u.ZP)(te[1],xn=>{xn.rows[0].columns[0].top=xn.rows[0].columns[0].center,xn.rows[0].columns[0].center=void 0,xn.rows[0].columns[1].top=xn.rows[0].columns[1].center,xn.rows[0].columns[1].top.push({type:n.x.INTERACTIVE_MEDIA}),xn.rows[0].columns[1].center=void 0}),Ou=(0,u.ZP)(te[2],xn=>{xn.rows.push(aa(7,12,!1))}),Rl=(0,u.ZP)(te[3],xn=>{xn.rows.push(aa(4,18,!0))}),gu=(0,u.ZP)(te[4],xn=>{xn.rows.push(aa(2,22,!0)),xn.rows[2].columns[0].top[0].layout={[ca]:{height:14},[As]:{height:10}}}),Hl=(0,u.ZP)(te[5],xn=>{xn.rows.push(aa(1,24,!0))}),Cl=(0,u.ZP)(te[6],xn=>{xn.rows.push(aa(2,22,!0))}),Dl=[Mc,Fc,Ou,Rl,gu,Hl,Cl],kl=Dl.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA}])),ll=(0,u.ZP)(zr[0],xn=>{xn.rows[0].columns[0].top.push({type:n.x.INTERACTIVE_MEDIA})}),el=(0,u.ZP)(zr[1],xn=>{xn.rows.push(aa(5,16,!0))}),vc=(0,u.ZP)(zr[2],xn=>{xn.rows.push(aa(3,20,!0))}),Bl=(0,u.ZP)(zr[5],xn=>{xn.rows.push(aa(4,18,!0))}),oc=(0,u.ZP)(zr[6],xn=>{xn.rows.push(aa(1,16,!0))}),Wc=(0,u.ZP)(zr[7],xn=>{xn.rows.push(aa(9,16,!0))}),Ll={margins:{[ca]:{marginBottom:2},[As]:{marginBottom:1}},rows:[{columns:[{[ca]:{startX:0,width:26},[As]:{startX:0,width:10},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[ca]:{height:15,marginBottom:2},[As]:{height:6}}}]}]},{columns:[{[ca]:{startX:2,width:11},[As]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[ca]:{marginBottom:1},[As]:{marginBottom:1}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[ca]:{width:8,marginBottom:1}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[ca]:{width:8,marginBottom:1}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[ca]:{width:8}}},{type:n.x.INTERACTIVE_MEDIA,layout:{[ca]:{marginTop:1}}}]},{[ca]:{startX:14,width:10},[As]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[ca]:{height:17,marginBottom:1},[As]:{marginBottom:1}}}]}]}]},Qa=(0,u.ZP)(zr[9],xn=>{xn.rows.push(aa(3,20,!1))}),Eu=(0,d.nN)(Qa),Ul=(0,u.ZP)(zr[10],xn=>{xn.rows[3].columns.push(Ur(1,11,!1))}),ql=(0,u.ZP)(zr[11],xn=>{xn.rows[3].columns.push(Ur(14,11,!1))}),Sc=(0,u.ZP)(zr[12],xn=>{xn.rows.push(aa(1,15,!1))}),Rc=(0,u.ZP)(zr[13],xn=>{xn.rows.push(aa(9,15,!1))}),Mu=[ll,el,vc,Bl,oc,Wc,Ll,Qa,Eu,Ul,ql,Sc,Rc],dc=(0,u.ZP)(xo[1],xn=>{xn.rows.push(aa(9,16,!0))}),ec=(0,u.ZP)(xo[2],xn=>{xn.rows.push(aa(3,20,!0))}),tc=(0,u.ZP)(xo[3],xn=>{xn.rows.push(aa(3,20,!0))}),qc=(0,d.nN)(tc),hu=(0,u.ZP)(xo[5],xn=>{xn.rows.push(aa(9,16,!1))}),Tc=(0,u.ZP)(xo[6],xn=>{xn.rows.push(aa(1,16,!1))}),ac=(0,u.ZP)(xo[9],xn=>{xn.rows.push(aa(5,16,!0))}),sc=(0,u.ZP)(xo[10],xn=>{xn.rows.push(aa(5,16,!0))}),wc={rows:[{columns:[{[ca]:{startX:1,width:18},[As]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[ca]:{marginBottom:2}}}]}]},{columns:[{[ca]:{startX:1,width:13},[As]:{startX:2,width:6},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[ca]:{height:22,marginBottom:1},[As]:{height:7}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[ca]:{width:8,marginBottom:2}}}]},{[ca]:{startX:17,width:8},[As]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[ca]:{height:14,marginBottom:1},[As]:{height:7}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]}]},{columns:[{[ca]:{startX:1,width:10},[As]:{startX:2,width:6},top:[{type:n.x.INTERACTIVE_MEDIA}]},{[ca]:{startX:12,width:13},[As]:{startX:2,width:6},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[ca]:{height:22,marginBottom:1},[As]:{height:7}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[ca]:{width:8}}}]}]}]},Nc={rows:[{columns:[{[ca]:{startX:1,width:18},[As]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,center:[{type:n.x.HEADING,transform:{fontStyle:"heading2"},layout:{[ca]:{marginBottom:2}}}]}]},{columns:[{[ca]:{startX:1,width:8},[As]:{startX:2,width:6},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[ca]:{height:14,marginBottom:1},[As]:{height:7}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[ca]:{startX:12,width:13},[As]:{startX:2,width:6},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[ca]:{height:22,marginBottom:1},[As]:{height:7}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[ca]:{width:8,marginBottom:2}}}]}]},{columns:[{[ca]:{startX:1,width:13},[As]:{startX:1,width:8},top:[{type:n.x.NONINTERACTIVE_MEDIA_PORTRAIT,layout:{[ca]:{height:22,marginBottom:1},[As]:{height:7}}},{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"},layout:{[ca]:{width:8}}}]},{[ca]:{startX:15,width:10},[As]:{startX:1,width:8},top:[{type:n.x.INTERACTIVE_MEDIA}]}]}]},Kc=[dc,ec,tc,qc,hu,Tc,ac,sc,wc,Nc],Yl=xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[0]}]),ou=xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[1]}]),ur=xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[2]}]),Xr=xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[1,2]}]),Fr=xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[0,2]}]),kr=xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[0,1]}]),Ge=[Yl(ll),Yl(el),Yl(vc),ur(Bl),ur(oc),Yl(Wc),ur(Ll),Yl(Qa),Yl(Eu),ur(Ul),ur(ql),Yl(Sc),Yl(Rc)],An=[Xr(ll),Xr(el),Xr(vc),Xr(Bl),kr(oc),Xr(Wc),Xr(Ll),Xr(Qa),Xr(Eu),Xr(Ul),Xr(ql),Xr(Sc),Xr(Rc)],Yt=Mu.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[0,1,2]}])),fn=Mu.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Br=An.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),yo=Br.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH}])),Jo=[ou(dc),ou(ec),ou(tc),ou(qc),Yl(hu),Yl(Tc),Yl(ac),Yl(sc),ur(wc),ur(Nc)],sa=[Fr(dc),Fr(ec),Fr(tc),Fr(qc),Xr(hu),Xr(Tc),Xr(ac),Xr(sc),Xr(wc),Xr(Nc)],la=Kc.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH,locations:[0,1,2]}])),va=Jo.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Ra=sa.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING}])),Ya=Ra.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH}])),wa=Pl.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING},{elementType:n.x.PARAGRAPH}])),xa=Dl.map(xn=>(0,d.t2)(xn,[{elementType:n.x.HEADING},{elementType:n.x.PARAGRAPH}])),Ds=(0,u.ZP)(mt[0],xn=>{xn.rows[0].columns[1].top.push({type:n.x.INTERACTIVE_MEDIA})}),ws=(0,u.ZP)(mt[1],xn=>{xn.rows[0].columns[0].top.push({type:n.x.INTERACTIVE_MEDIA})}),Di=(0,u.ZP)(mt[2],xn=>{xn.rows.push(aa(6,14,!0))}),ai=(0,u.ZP)(mt[3],xn=>{xn.rows.push(aa(2,15,!0))}),yl=(0,u.ZP)(mt[4],xn=>{xn.rows.push(aa(1,15,!0))}),ml=(0,u.ZP)(mt[5],xn=>{xn.rows[0].columns[1].top.push({type:n.x.INTERACTIVE_MEDIA})}),Ii=(0,u.ZP)(mt[6],xn=>{xn.rows[0].columns[1].top.push({type:n.x.INTERACTIVE_MEDIA})}),Xi=(0,u.ZP)(mt[7],xn=>{xn.rows.push(aa(1,12,!0))}),zi=[Ds,ws,Di,ai,yl,ml,Ii,Xi],Sl=(0,u.ZP)(rt[0],xn=>{xn.rows[0].columns[1].top.push({type:n.x.INTERACTIVE_MEDIA})}),gc=(0,u.ZP)(rt[1],xn=>{xn.rows[0].columns[0].top.push({type:n.x.INTERACTIVE_MEDIA})}),Xl=(0,u.ZP)(rt[2],xn=>{xn.rows.push(aa(6,14,!0))}),yc=(0,u.ZP)(rt[3],xn=>{xn.rows.push(aa(2,15,!0))}),Zc=(0,u.ZP)(rt[4],xn=>{xn.rows.push(aa(1,15,!0))}),Rd=(0,u.ZP)(rt[5],xn=>{xn.rows[0].columns[1].top.push({type:n.x.INTERACTIVE_MEDIA})}),_u=(0,u.ZP)(rt[6],xn=>{xn.rows[0].columns[1].top.push({type:n.x.INTERACTIVE_MEDIA})}),td=(0,u.ZP)(rt[7],xn=>{xn.rows.push(aa(1,12,!0))}),Hu=[Sl,gc,Xl,yc,Zc,Rd,_u,td],Ru=(0,u.ZP)(ge[0],xn=>{xn.rows[0].columns[1].top.push({type:n.x.INTERACTIVE_MEDIA})}),Pu=(0,u.ZP)(ge[1],xn=>{xn.rows[0].columns[0].top.push({type:n.x.INTERACTIVE_MEDIA})}),Oc=(0,u.ZP)(ge[2],xn=>{xn.rows.push(aa(6,12,!0))}),vf=(0,u.ZP)(ge[3],xn=>{xn.rows.push(aa(4,18,!0))}),nd=(0,u.ZP)(ge[4],xn=>{xn.rows.push(aa(5,16,!0))}),ld=(0,u.ZP)(ge[5],xn=>{xn.rows.push(aa(5,16,!0))}),Wl=[Ru,Pu,Oc,vf,nd,ld],Ql=(0,u.ZP)(Be[0],xn=>{xn.rows[0].columns[1].top.push({type:n.x.INTERACTIVE_MEDIA})}),gd=(0,u.ZP)(Be[1],xn=>{xn.rows[0].columns[1].top.push({type:n.x.INTERACTIVE_MEDIA})}),rd=(0,u.ZP)(Be[2],xn=>{xn.rows.push(aa(6,14,!0))}),Zu=(0,u.ZP)(Be[3],xn=>{xn.rows.push(aa(4,18,!0))}),Cu=(0,u.ZP)(Be[4],xn=>{xn.rows.push(aa(5,16,!0))}),eu=(0,u.ZP)(Be[5],xn=>{xn.rows.push(aa(3,20,!0))}),Uu=(0,u.ZP)(Be[6],xn=>{xn.rows.push(aa(1,17,!0))}),Bc=(0,u.ZP)(Be[7],xn=>{xn.rows.push(aa(4,18,!0))}),Ed=[Ql,gd,rd,Zu,Cu,eu,Uu,Bc],Fu=[...zi,...Hu,...Pl,...Wi,...Wl,...Ed,...Dl,...kl,...wa,...xa],Ut=[...Kc,...Jo,...sa,...la,...va,...Ra,...Ya,...Mu,...Ge,...An,...Yt,...fn,...Br,...yo],Q=[...Fu,...(0,d.xX)(Ut)],{DESKTOP:De,MOBILE:at}=c.FluidEngineBreakpoints,Dt={margins:{[De]:{marginTop:2,marginBottom:2},[at]:{marginTop:1,marginBottom:1}},rows:[{columns:[{[De]:{startX:2,width:22},[at]:{startX:1,width:8},center:[{type:n.x.INTERACTIVE_MEDIA,contentValue:{[a.Z.SUMMARY_V2]:{columnWidth:240,design:"autogrid",gutter:20,imageAspectRatio:"1"}}}]}]}]},zt=(0,u.ZP)(Dt,xn=>{xn.enableDivider=!0,xn.swapTheme=!0}),Qn=(0,u.ZP)(Dt,xn=>{xn.rows[0].columns[0][De].width=16}),Cr=(0,u.ZP)((0,d.nN)(Qn),xn=>{xn.enableDivider=!0,xn.swapTheme=!0}),wr={margins:{[De]:{marginTop:1,marginBottom:1},[at]:{marginTop:1,marginBottom:1}},rows:[{columns:[{[De]:{startX:7,width:12},[at]:{startX:1,width:8},center:[{type:n.x.INTERACTIVE_MEDIA,enableBlockBackground:!0}]}]}]},No={margins:{[De]:{marginTop:1,marginBottom:1},[at]:{marginTop:1,marginBottom:1}},swapTheme:!0,rows:[aa(7,12,!1)]},Co=[Dt,zt,Qn,Cr,wr,No],{DESKTOP:Ro,MOBILE:Qo}=c.FluidEngineBreakpoints,ka={margins:{[Ro]:{marginTop:2,marginBottom:2},[Qo]:{marginTop:1,marginBottom:1}},rows:[{columns:[{[Ro]:{startX:0,width:26},[Qo]:{startX:1,width:8},top:[{type:n.x.HEADING,layout:{[Ro]:{marginBottom:1},[Qo]:{marginBottom:1}},transform:{fontStyle:"marquee"},contentValue:{[a.Z.MARQUEE]:{...i.t.STRAIGHT_LINE_PRESET,animationDirection:"right"}}}]}]},{columns:[{[Ro]:{startX:2,width:6},[Qo]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.CTA,layout:{[Qo]:{marginBottom:1}}}]},{[Ro]:{startX:9,width:16},[Qo]:{startX:1,width:8},top:[{type:n.x.INTERACTIVE_MEDIA}]}]}]},Ca={margins:{[Ro]:{marginTop:2,marginBottom:2},[Qo]:{marginTop:1,marginBottom:1}},swapTheme:!0,enableDivider:!0,rows:[{columns:[{[Ro]:{startX:0,width:26},[Qo]:{startX:1,width:8},top:[{type:n.x.HEADING,layout:{[Qo]:{marginBottom:1}},transform:{fontStyle:"marquee"},contentValue:{[a.Z.MARQUEE]:{...i.t.MILD_WAVE_PRESET,animationDirection:"left"}}}]}]},{columns:[{[Ro]:{startX:2,width:16},[Qo]:{startX:1,width:8},top:[{type:n.x.INTERACTIVE_MEDIA,layout:{[Qo]:{marginBottom:1}}}]},{[Ro]:{startX:18,width:6},[Qo]:{startX:1,width:8},horizontalAlignmentWithin:o().RIGHT,top:[{type:n.x.CTA}]}]}]},ls={margins:{[Ro]:{marginTop:2,marginBottom:2},[Qo]:{marginTop:1,marginBottom:1}},rows:[{columns:[{[Ro]:{startX:1,width:24},[Qo]:{startX:0,width:10},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.HEADING,layout:{[Ro]:{marginBottom:1},[Qo]:{marginBottom:1}},transform:{fontStyle:"scaledText"}}]}]},{columns:[{[Ro]:{startX:2,width:22},[Qo]:{startX:1,width:8},top:[{type:n.x.INTERACTIVE_MEDIA,layout:{[Ro]:{marginBottom:1},[Qo]:{marginBottom:1}}},{type:n.x.CTA}]}]}]},vs=(0,u.ZP)(ls,xn=>{xn.enableDivider=!0,xn.swapTheme=!0,xn.margins={[Ro]:{marginTop:3,marginBottom:1},[Qo]:{marginTop:1,marginBottom:0}}}),Es={margins:{[Ro]:{marginTop:1,marginBottom:1},[Qo]:{marginTop:1,marginBottom:1}},rows:[{columns:[{[Ro]:{startX:5,width:16},[Qo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.HEADING,layout:{[Ro]:{marginBottom:1},[Qo]:{marginBottom:1}},transform:{fontStyle:"heading1"}}]}]},{columns:[{[Ro]:{startX:5,width:16},[Qo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.INTERACTIVE_MEDIA},{type:n.x.CTA}]}]}]},fi=(0,u.ZP)(Es,xn=>{xn.swapTheme=!0,xn.rows[0].columns[0][Ro]={startX:2,width:22},xn.rows[0].columns[0][Ro]={startX:7,width:12},xn.rows[1].columns[0].top[0].layout={[Ro]:{marginBottom:1},[Qo]:{marginBottom:1}}}),Bo=[ka,Ca,ls,vs,Es,fi],Hi=Bo.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[0]}])),Qi={margins:{[Ro]:{marginTop:2,marginBottom:2},[Qo]:{marginTop:1,marginBottom:1}},rows:[{columns:[{[Ro]:{startX:6,width:14},[Qo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.PARAGRAPH,layout:{[Ro]:{marginBottom:1},[Qo]:{marginBottom:1}},transform:{fontStyle:"paragraph2"}}]}]},{columns:[{[Ro]:{startX:2,width:22},[Qo]:{startX:1,width:8},top:[{type:n.x.INTERACTIVE_MEDIA,layout:{[Ro]:{marginBottom:1},[Qo]:{marginBottom:1}}}]}]},{columns:[{[Ro]:{startX:2,width:22},[Qo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.CTA}]}]}]},Li=(0,u.ZP)(Qi,xn=>{xn.swapTheme=!0,xn.margins={[Ro]:{marginTop:1,marginBottom:1},[Qo]:{marginTop:1,marginBottom:1}}}),Gl={margins:{[Ro]:{marginTop:3},[Qo]:{marginTop:1}},enableDivider:!0,rows:[{columns:[Ur(2,11,!1),{[Ro]:{startX:14,width:10},[Qo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.PARAGRAPH,layout:{[Ro]:{marginBottom:1}},transform:{fontStyle:"paragraph2"}},{type:n.x.CTA}]}]}]},Zl=(0,u.ZP)((0,d.nN)(Gl),xn=>{xn.enableDivider=!0,xn.swapTheme=!0,xn.margins={[Ro]:{marginTop:3},[Qo]:{marginTop:1}}}),Vc={margins:{[Ro]:{marginTop:1,marginBottom:1},[Qo]:{marginTop:1,marginBottom:1}},rows:[{columns:[{[Ro]:{startX:6,width:14},[Qo]:{startX:1,width:8},horizontalAlignmentWithin:o().CENTER,top:[{type:n.x.PARAGRAPH,layout:{[Ro]:{marginBottom:1},[Qo]:{marginBottom:1}},transform:{fontStyle:"paragraph2"}},{type:n.x.INTERACTIVE_MEDIA,layout:{[Qo]:{marginBottom:1}}},{type:n.x.CTA}]}]}]},tu=(0,u.ZP)(Vc,xn=>{xn.swapTheme=!0}),lu=[Qi,Li,Gl,Zl,Vc,tu],Lu=lu.map(xn=>(0,d.t2)(xn,[{elementType:n.x.CTA,locations:[0]}])),yu={margins:{[Ro]:{marginTop:1,marginBottom:1},[Qo]:{marginTop:1,marginBottom:1}},rows:[...Zs[0].rows,aa(7,12,!1)]},ic=(0,u.ZP)(Zs[1],xn=>{xn.margins={[Ro]:{marginTop:1,marginBottom:1},[Qo]:{marginTop:1,marginBottom:1}},xn.rows[0].columns[1][Ro].width=11,xn.rows[0].columns[1].top.unshift({type:n.x.INTERACTIVE_MEDIA,layout:{[Ro]:{width:11,marginBottom:1}}})}),kc={margins:{[Ro]:{marginTop:1,marginBottom:1},[Qo]:{marginTop:1,marginBottom:1}},rows:[...Zs[2].rows,aa(5,16,!1)]},cu=(0,u.ZP)(Zs[3],xn=>{xn.rows[1].columns.push(Ur(12,13,!1))}),Au={margins:{[Ro]:{marginTop:2,marginBottom:2},[Qo]:{marginTop:1,marginBottom:1}},rows:[...Zs[4].rows,aa(2,22,!1)]},au={margins:{[Ro]:{marginTop:2,marginBottom:2},[Qo]:{marginTop:1,marginBottom:1}},rows:[...Zs[5].rows,aa(2,22,!1)]},jc=[yu,ic,kc,cu,Au,au],lc=(0,u.ZP)(hi[0],xn=>{xn.rows.push(aa(7,12,!1))}),Nu=(0,u.ZP)(hi[1],xn=>{xn.margins={[Ro]:{marginTop:1,marginBottom:1},[Qo]:{marginTop:1,marginBottom:1}},xn.rows.push(aa(5,16,!1))}),Zd={margins:{[Ro]:{marginTop:2,marginBottom:2},[Qo]:{marginTop:1,marginBottom:1}},rows:[...hi[2].rows,{columns:[{[Ro]:{startX:2,width:22},[Qo]:{startX:1,width:8},top:[{type:n.x.INTERACTIVE_MEDIA,layout:{[Ro]:{marginTop:3},[Qo]:{marginTop:1}}}]}]}]},_d={margins:{[Ro]:{marginBottom:2,marginTop:2},[Qo]:{marginBottom:1,marginTop:1}},rows:[{columns:[{[Ro]:{startX:2,width:7},[Qo]:{startX:1,width:8},horizontalAlignmentWithin:o().LEFT,top:[{type:n.x.HEADING,transform:{fontStyle:"heading3"},layout:{[Qo]:{marginBottom:1}}}]},{[Ro]:{startX:10,width:15},[Qo]:{startX:1,width:8},top:[{type:n.x.INTERACTIVE_MEDIA,layout:{[Ro]:{marginBottom:1}}}]}]},{columns:[{[Ro]:{startX:10,width:7},[Qo]:{startX:1,width:7},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]},{[Ro]:{startX:18,width:7},[Qo]:{startX:1,width:7},top:[{type:n.x.PARAGRAPH,transform:{fontStyle:"paragraph2"}}]}]}]},pu=(0,u.ZP)(hi[4],xn=>{xn.margins={[Ro]:{marginTop:2,marginBottom:2},[Qo]:{marginTop:1,marginBottom:1}},xn.rows[1].columns[0][Ro]={startX:2,width:8},xn.rows[1].columns.push(Ur(11,14,!1))}),Lc=(0,u.ZP)(hi[5],xn=>{xn.margins={[Ro]:{marginTop:2,marginBottom:2},[Qo]:{marginTop:1,marginBottom:1}},xn.rows.push(aa(10,15,!0))}),od=(0,u.ZP)(hi[6],xn=>{xn.margins={[Ro]:{marginTop:2,marginBottom:2},[Qo]:{marginTop:1,marginBottom:1}},xn.rows.push(aa(2,18,!0))}),yd=(0,u.ZP)(hi[7],xn=>{xn.margins={[Ro]:{marginTop:1,marginBottom:1},[Qo]:{marginTop:1,marginBottom:1}},xn.rows.push(aa(3,20,!1))}),cd=[lc,Nu,Zd,_d,pu,Lc,od,yd],Vd=(0,u.ZP)(xs[0],xn=>{xn.rows.push(aa(7,12,!0))}),Od=(0,u.ZP)(xs[1],xn=>{xn.rows.push(aa(6,14,!0))}),ud=(0,u.ZP)(xs[2],xn=>{xn.rows[0].columns[0].top.push({type:n.x.INTERACTIVE_MEDIA})}),Tl=(0,u.ZP)(xs[3],xn=>{xn.rows[0].columns[0].top.push({type:n.x.INTERACTIVE_MEDIA})}),nu=(0,u.ZP)(xs[4],xn=>{xn.rows.push(aa(2,23,!0))}),uu=(0,u.ZP)(xs[5],xn=>{xn.rows.push(aa(2,23,!0))}),dd=[Vd,Od,ud,Tl,nu,uu],Tu=(0,u.ZP)(Yo[0],xn=>{xn.rows.push(aa(7,12,!0))}),Wd=(0,u.ZP)(Yo[1],xn=>{xn.rows.push(aa(5,16,!0))}),qd=(0,u.ZP)(Yo[2],xn=>{xn.rows[0].columns[0].top.push({type:n.x.INTERACTIVE_MEDIA})}),af=(0,u.ZP)(Yo[3],xn=>{xn.rows.push(aa(10,15,!0))}),Kd=(0,u.ZP)(Yo[4],xn=>{xn.rows[1].columns.push(Ur(11,14,!1))}),ad=(0,u.ZP)(Yo[5],xn=>{xn.rows.push(aa(10,15,!0))}),Vu=(0,u.ZP)(Yo[6],xn=>{xn.rows.push(aa(2,15,!0))}),zu=(0,u.ZP)(Yo[7],xn=>{xn.rows.push(aa(3,20,!0))}),Wu=[Tu,Wd,qd,af,Kd,ad,Vu,zu],Ld=(0,u.ZP)(wi[0],xn=>{xn.rows.push(aa(7,12,!0))}),sf=(0,u.ZP)(wi[1],xn=>{xn.rows[0].columns[0].top.push({type:n.x.INTERACTIVE_MEDIA})}),lf=(0,u.ZP)(wi[2],xn=>{xn.rows.push(aa(5,16,!0))}),xd=(0,u.ZP)(wi[3],xn=>{xn.rows.push(aa(14,11,!0))}),wd=(0,u.ZP)(wi[4],xn=>{xn.rows.push(aa(5,16,!0))}),kd=[Ld,sf,lf,xd,wd],fd=kd.map(xn=>(0,d.t2)(xn,[{elementType:n.x.PARAGRAPH}])),sd=(0,u.ZP)(fs[0],xn=>{xn.rows.push(aa(7,12,!0))}),cf=(0,u.ZP)(fs[1],xn=>{xn.rows.push(aa(14,10,!0))}),uf=(0,u.ZP)(fs[2],xn=>{xn.rows.push(aa(5,16,!0))}),$u=(0,u.ZP)(fs[3],xn=>{xn.rows[1].columns.push(Ur(14,10,!1))}),Nd=(0,u.ZP)(fs[4],xn=>{xn.rows.push(aa(14,10,!0))}),Bd=(0,u.ZP)(fs[5],xn=>{xn.rows.push(aa(7,12,!0))}),Pc=[sd,cf,uf,$u,Nd,Bd],Fl=[...dd,...Wu,...kd,...fd,...Pc,...cd,...jc,...Bo,...lu,...Hi,...Lu],Gd=[...Q,...Fl,...Co];var hd=e(578422),zd=e(668468);const Pd=[...It,...Is,...ui,...$t,...Gd].map(xn=>(0,d.ii)(xn)),Cd={};Pd.forEach(xn=>{const $s=(0,hd.$C)(xn),Ki=(0,zd.n)(xn),ru={...xn,suggestionId:Ki};Cd[$s]?Cd[$s].push(ru):Cd[$s]=[ru]})},504446:function(b,l,e){"use strict";e.d(l,{CX:()=>Ke,ev:()=>He,je:()=>he,jE:()=>ge,pz:()=>re});var r=e(858579),o=e(784874),n=e(434709),a=e(120108),i=e(104550),c=e(436715),u=e(785193),f=e(419467),d=e(663634);function h(){return(0,d.cr)("cdk_website_components_html_enabled")}const g=h;var _=e(334001),p=e(957892);const y=ye=>{let{blockType:Le}=ye;const Ue=(0,p.SS)()[Le];return(0,p.Un)(Ue,{startX:1,startY:0},"STUB").newBlockData},O=ye=>{const Le=_.Z.getWebsiteComponentBlockConfig(ye);return(0,p.Un)(Le,{startX:1,startY:0},"STUB").newBlockData},P=(ye,Le)=>{let Ue=y({blockType:o.Z.HTML});return g()&&(Ue=O("website.components.html")),(0,r.ZP)(Ue,Xe=>{Xe.content.value.value.html=ye,Xe.content.value.value.source=ye,Le&&(Xe.content.value.id=Le)})},C=ye=>{const Le=y({blockType:BlockType.IMAGE});return immer(Le,Ue=>{Ue.content.value.value.imageId=ye})},A=(ye,Le)=>{const Ue=y({blockType:o.Z.MARQUEE});return(0,r.ZP)(Ue,Xe=>{Xe.content.value.value.marqueeItems=[{text:ye},{text:"*"}],Le&&(Xe.content.value.id=Le)})};var S=e(691415),T=e(229805),s=e(193213),v=e(598768);function m(ye,Le){return new Set(Array.isArray(ye)?ye:[ye]).has(Le.content.value.type)}var E=e(338435),I=e(223215),L=e.n(I),W=e(898730),F=e.n(W);const G={rotation:{value:0,unit:"deg"},scale:{x:{value:100,unit:"%"},y:{value:100,unit:"%"}},opacity:1,offset:{x:{value:0,unit:"px"},y:{value:0,unit:"px"}},origin:{x:{value:50,unit:"%"},y:{value:50,unit:"%"}},skew:{x:{value:0,unit:"deg"},y:{value:0,unit:"deg"}}};var k=e(439939),x=e(787592);const M=ye=>m(o.Z.HTML,ye)||m(o.Z.WEBSITE_COMPONENT,ye)&&ye.content.value.definitionName==="website.components.html",B=(ye,Le)=>{if(!Object.values(k.NI).includes(Le)){(0,x.uT)("applyCommandToDraftTextBlock called with invalid rteCommandName");return}const Ue=(0,T.DD)({currentHtml:ye.content.value.value.html,rteCommandName:Le});ye.content.value.value.html=Ue,ye.content.value.value.source=Ue},R=ye=>{const Le=(0,T.Hg)({currentHtml:ye.content.value.value.html});ye.content.value.value.html=Le,ye.content.value.value.source=Le},U={[L().LEFT]:k.NI.LEFT_ALIGN,[L().CENTER]:k.NI.CENTER_ALIGN,[L().RIGHT]:k.NI.RIGHT_ALIGN},j=(ye,Le)=>{M(ye)?B(ye,U[Le]):m([o.Z.DONATION,o.Z.NEWSLETTER,o.Z.BUTTON],ye)?(0,f.merge)(ye,{content:{value:{value:{buttonAlignment:Le}}}}):m(o.Z.ACCORDION,ye)?(0,f.merge)(ye,{content:{value:{value:{accordionDescriptionAlignment:Le,accordionDescriptionPlacement:Le,accordionTitleAlignment:Le}}}}):m(o.Z.FORM,ye)?(0,f.merge)(ye,{content:{value:{value:{submissionTextAlignment:Le,buttonAlignment:Le}}}}):m([o.Z.PRODUCT,o.Z.PRICING_PLAN],ye)?(0,f.merge)(ye,{content:{value:{value:{alignment:Le}}}}):m(o.Z.SHAPE,ye)?(0,f.merge)(ye,{content:{value:{value:{horizontalAlignment:Le}}}}):m(o.Z.SOCIAL_ACCOUNT_LINKS_V2,ye)?(0,f.merge)(ye,{content:{value:{value:{iconAlignment:Le}}}}):m(o.Z.SUMMARY_V2,ye)?(0,f.merge)(ye,{content:{value:{value:{textAlignment:Le}}}}):m(o.Z.TOCK,ye)&&(0,f.merge)(ye,{content:{value:{value:{tockAlignment:Le}}}})},$={scaledText:k.NI.SCALED_TEXT,heading1:k.NI.HEADING_1,heading2:k.NI.HEADING_2,heading3:k.NI.HEADING_3,heading4:k.NI.HEADING_4,paragraph1:k.NI.PARAGRAPH_LARGE,paragraph2:k.NI.PARAGRAPH,paragraph3:k.NI.PARAGRAPH_SMALL,monospace:k.NI.CODE_BLOCK},ee=(ye,Le)=>{if(M(ye)){if(Le.type!==n.x.HEADING&&Le.type!==n.x.PARAGRAPH)throw new Error("Text block is trying to apply to invalid LayoutElementType");const{fontStyle:Ue}=Le.transform;if(Ue==="marquee"){const Fe=new DOMParser().parseFromString(ye.content.value.value.html,"text/html").body.textContent||"",ht=A(Fe,ye.content.value.id);ye.content=(0,f.cloneDeep)(ht.content)}else if(Ue==="scaledText")(0,T.lG)(ye.content.value.value.html)||B(ye,$.heading1);else{if((0,T.lG)(ye.content.value.value.html)&&B(ye,$.scaledText),Le.type===n.x.PARAGRAPH&&(0,T.UO)(ye.content.value.value.html))return;B(ye,$[Ue])}}else if(m(o.Z.MARQUEE,ye)){if(Le.type!==n.x.HEADING)throw new Error("Marquee block is trying to apply to invalid LayoutElementType");const{fontStyle:Ue}=Le.transform;if(Ue!=="marquee"){const Xe=Ue==="scaledText"?"heading1":Ue;let Fe="";ye.content.value.value.marqueeItems.forEach(Ce=>{let{text:we}=Ce;we!=="*"&&(Fe=Fe.concat(we," "))});const ht=(0,T.DD)({currentHtml:Fe,rteCommandName:$[Xe]}),Ne=P(ht,ye.content.value.id);ye.content=(0,f.cloneDeep)(Ne.content)}}},te=ye=>m(o.Z.WEBSITE_COMPONENT,ye)?ye.content.value.value.containerStyles:ye.content.value.containerStyles?ye.content.value.containerStyles:null,ie=(ye,Le,Ue,Xe)=>{const Fe=te(ye);if(Fe)if(Le.enableBlockBackground){const ht=(0,E.T)(Ue);(0,f.merge)(Fe,ht[Xe%ht.length])}else(0,f.merge)(Fe,E.a)},ne={[o.Z.BUTTON]:{content:{value:{containerStyles:{stretchedToFill:!1}}}},[o.Z.IMAGE]:{content:{value:{value:{stretch:!0}}}}},pe=ye=>{const Le=ye.content.value;if(Le.type===o.Z.IMAGE){const Ue=Le.value;if(Ue.imageCropType===F().MASK){Ue.stretch=!1;return}}Le.type===o.Z.HTML&&R(ye),Le.value.transforms&&(Le.value.transforms=G),(0,f.merge)(ye,ne[Le.type]||{})},oe=(ye,Le,Ue,Xe)=>{let{horizontalAlignment:Fe,suggestionBlock:ht}=Xe;return(0,r.ZP)(ye,Ne=>{var Ce;ee(Ne,ht),pe(Ne),(0,f.merge)(Ne,{content:{value:{value:((Ce=ht.contentValue)===null||Ce===void 0?void 0:Ce[Ne.content.value.type])||{}}}}),j(Ne,Fe),ie(Ne,ht,Le,Ue)})},q=(ye,Le,Ue)=>{const Xe=ye;return Fe=>{let{block:ht,column:Ne}=Fe;const Ce=ht.type,[we,...$e]=Xe[Ce]||[];if(!we)throw new Error("Suggestion paired without matching element");Xe[Ce]=$e;const Ot=oe(we,Le,Ue,{horizontalAlignment:ht.horizontalAlignment??(Ne.horizontalAlignmentWithin||L().LEFT),suggestionBlock:ht});return{layout:ht.layout,content:Ot.content}}};var J=e(572425),me=e(578422);const re=ye=>ye.flatMap(Le=>{if(!M(Le))return Le;const Ue=Le,Xe=(0,T.Cf)(Ue.content.value.value.html);return Xe.length===0?[]:Xe.map((Fe,ht)=>ht===0?(0,r.ZP)(Ue,Ne=>{M(Ne)&&(Ne.content.value.value.html=Fe,Ne.content.value.value.source=Fe)}):P(Fe,`${Le.content.value.id}-${ht}`))}),he=ye=>S.Xt.includes(ye.content.value.type),Ee=ye=>ye.some(Le=>Le.content.value.type===o.Z.VIDEO||Le.content.value.type===o.Z.MAP),fe=(ye,Le)=>{const Ue=[];return ye.forEach(Xe=>{const Fe=(0,S.Wn)(Xe);!i.Dv.has((0,s.ck)(Xe))&&!M(Xe)&&Fe&&Ue.push(Fe)}),Le.filter(Xe=>!(0,v.wh)(Xe).some(Fe=>Ue.includes(Fe.type)&&Fe.enableBlockBackground))},H=ye=>{const Le=ye.backgroundImageId,Ue=ye.styles.backgroundMode;let Xe=null,Fe=null;return Le&&Ue===SectionBackgroundMode.IMAGE&&(Xe=immer(ye,ht=>{ht.backgroundImageId=null,ht.fluidEngineContext.gridContents.push(createImageBlock(Le))})),Xe&&(Fe=getBlocksById(Xe.fluidEngineContext.gridContents)),{convertedSection:Xe,convertedBlocksById:Fe}},z=ye=>{let Le=null,Ue=null;if(ye.backgroundImageId)return{convertedSection:Le,convertedBlocksById:Ue};const Xe=[],Fe=ye.fluidEngineContext.gridContents;let ht=null;for(const Ne of Fe)!ht&&doesFluidEngineBlockHaveType(BlockType.IMAGE,Ne)&&tokenizeBlock(Ne)===LayoutElementType.NONINTERACTIVE_MEDIA_LANDSCAPE?ht=Ne.content.value.value.imageId:Xe.push(Ne);return ht&&(Le=immer(ye,Ne=>{Ne.backgroundImageId=ht,Ne.fluidEngineContext.gridContents=Xe,Ne.styles.backgroundMode=SectionBackgroundMode.IMAGE}),Ue=getBlocksById(Xe)),{convertedSection:Le,convertedBlocksById:Ue}},_e=ye=>{function Le(Ue){for(let Xe=1;Xe<Ue.columns.length;Xe+=1){const Fe=Ue.columns[Xe];if(Ue.columns.slice(0,Xe).some(Ne=>Fe.desktop.startX>=Ne.desktop.startX&&Fe.desktop.startX<Ne.desktop.startX+Ne.desktop.width||Ne.desktop.startX>=Fe.desktop.startX&&Ne.desktop.startX<Fe.desktop.startX+Fe.desktop.width))return!0;Fe.desktop.startX&&v.MQ.forEach(Ne=>{const Ce=Fe[Ne];if(Ce){for(const we of Ce)if("columns"in we&&Le(we))return!0}})}return!1}for(const Ue of ye.rows)if(Le(Ue))return!0;return!1},ae=ye=>(0,v.wh)(ye).some(Ue=>{var Xe,Fe,ht,Ne;return(((Fe=Ue.layout)===null||Fe===void 0||(Xe=Fe.desktop)===null||Xe===void 0?void 0:Xe.marginTop)||0)<0||(((Ne=Ue.layout)===null||Ne===void 0||(ht=Ne.mobile)===null||ht===void 0?void 0:ht.marginTop)||0)<0})?!0:_e(ye),ge=(ye,Le,Ue,Xe)=>{const Fe=(0,f.omit)((0,f.groupBy)(Le,S.Wn),[n.x.DECOR,"null"]),ht=(0,v.c2)(ye,q(Fe,Ue,Xe));return(0,J.V1)(ht)},Be=ye=>{const Le=u.v[(0,me.o8)(ye)];if(Le)return Le;const[Ue,Xe]=(0,f.partition)(ye,Fe=>Fe.content.value.type===o.Z.SOCIAL_ACCOUNT_LINKS_V2);if(Ue.length===1){const Fe=u.v[(0,me.o8)(Xe)];if(Fe)return Fe.map(J.UR)}return[]},Ke=ye=>Be(re(ye)).length>0||Be(ye).length>0,He=function(ye,Le){let Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const Xe=Ce=>{let we=Be(Ce);return we=fe(Ce,we),we.map(($e,Ot)=>ge($e,Ce,Le,Ot))},Fe=Xe(re(ye)),ht=Fe.length>0?Fe:Xe(ye);let Ne=[...ht];if(Ee(ye)&&(Ne=Ne.filter(Ce=>!ae(Ce))),Ue&&ye.length>1){const Ce=Ne.slice(1).filter(we=>(0,v.H$)(we)>1||(0,v.tE)(we)>20);if(Ce.length>0)return Ce}return Ne.length>0?Ne:ht}},2477:function(b,l,e){"use strict";e.d(l,{FC:()=>i,HG:()=>c,wx:()=>a});var r=e(765724),o=e(578422),n=null;const a=u=>{let{allSuggestions:f,isMobile:d,section:h}=u;var g;const _=h==null?void 0:h.fluidEngineContext,p=(0,o.o8)(_==null?void 0:_.gridContents),y=(f==null?void 0:f.length)??0,O=(g=_.gridContents)===null||g===void 0?void 0:g.length,P=d?_.gridSettings.breakpointSettings.mobile.rows:_.gridSettings.breakpointSettings.desktop.rows;return{blockCombination:p,numAvailableLayouts:y,numBlocks:O,numRows:P,sectionId:h.id}},i=()=>{r.p8.track({action:r.kA.CLICK,collection_type:"page",event_name:"UserOpensLayoutStyleSwitcher",object_type:r.W9.BUTTON,suggestion_type:"layout"})},c=u=>{let{suggestionIndex:f,suggestionId:d,numRows:h}=u;const g=(d==null?void 0:d.split("_").length)??1;r.p8.track({action:r.kA.CLICK,collection_type:"page",event_name:"UserSelectsSectionLayoutStyle",object_type:r.W9.LAYOUT,selected_order_index:f+1,suggestion_type:"layout",num_rows_after_application:h,num_slices:g,layout_style_selection:d})}},598768:function(b,l,e){"use strict";e.d(l,{H$:()=>_,Lm:()=>c,MQ:()=>a,aH:()=>i,aj:()=>g,c2:()=>f,g_:()=>d,tE:()=>p,wh:()=>u,zF:()=>y});var r=e(365270),o=e(691415);const{DESKTOP:n}=r.FluidEngineBreakpoints,a=["top","center","bottom"],i=(O,P)=>{function C(A,S){A.columns.forEach(T=>{a.forEach(s=>{const v=T[s];v&&v.forEach((m,E)=>{"columns"in m?C(m,T):P({block:m,column:T,index:E,outerColumn:S})})})})}O.rows.forEach(A=>C(A,null))},c=O=>{const P=[];return O.columns.forEach(C=>{a.forEach(A=>{const S=C[A];S&&S.forEach(T=>{"columns"in T?P.push(...c(T)):P.push(T)})})}),P},u=O=>{const P=[];return i(O,C=>{let{block:A}=C;return P.push(A)}),P},f=(O,P)=>{function C(S){let{stackItem:T,column:s,index:v}=S;return"columns"in T?A(T):P({block:T,column:s,index:v})}function A(S){return{...S,columns:S.columns.map(T=>{var s,v,m;return{...T,top:(s=T.top)===null||s===void 0?void 0:s.map((E,I)=>C({stackItem:E,index:I,column:T})),center:(v=T.center)===null||v===void 0?void 0:v.map((E,I)=>C({stackItem:E,index:I,column:T})),bottom:(m=T.bottom)===null||m===void 0?void 0:m.map((E,I)=>C({stackItem:E,index:I,column:T}))}})}}return{...O,rows:O.rows.map(A)}},d=(O,P)=>{O.rows.forEach(C=>{C.columns=C.columns.map(A=>P(A))})},h=(O,P)=>{O.rows.forEach(C=>{C.columns.map(A=>P(A))})},g=(O,P)=>{function C(S){let{column:T}=S;if(!T)return;const s=T.findIndex(v=>"columns"in v);if(s>=0){const v=T[s];T.splice(s,1);const m=P(T),E=A(v);return m.splice(s,0,E),m}return P(T)}function A(S){return{...S,columns:S.columns.map(T=>({...T,top:C({column:T.top}),center:C({column:T.center}),bottom:C({column:T.bottom})}))}}O.rows.forEach(S=>{S.columns.forEach(T=>{a.forEach(s=>{T[s]=C({column:T[s]})})})})},_=O=>O.rows.reduce((P,C)=>Math.max(C.columns.length,P),0),p=O=>{let P=0;return h(O,C=>{P=Math.max(P,C[n].width)}),P},y=O=>{let P=!1;return i(O,C=>{let{block:A}=C;o.w$.includes(A.content.value.type)&&(P=!0)}),P}},578422:function(b,l,e){"use strict";e.d(l,{$C:()=>h,o8:()=>d});var r=e(419467),o=e.n(r),n=e(434709),a=e(598768),i=e(691415);const c=[n.x.DECOR,"null"],u=g=>Object.keys(g).sort().flatMap(p=>{const y=g[p];if(y)return`${p}${y.length}`}).join("_"),f=g=>(0,r.omit)((0,r.groupBy)(g,i.Wn),c),d=g=>u(f(g)),h=g=>{const _=(0,a.wh)(g);return u((0,r.omit)((0,r.groupBy)(_,"type"),c))}},572425:function(b,l,e){"use strict";e.d(l,{IM:()=>A,UR:()=>T,V1:()=>E,ii:()=>y,nN:()=>p,t2:()=>C,xX:()=>m,z:()=>P});var r=e(858579),o=e(365270),n=e(434709),a=e(598768),i=e(223215),c=e.n(i),u=e(419467),f=e.n(u),d=e(504446),h=e(637174);const{DESKTOP:g,MOBILE:_}=o.FluidEngineBreakpoints,p=I=>(0,r.ZP)(I,L=>{L.rows.forEach(W=>{W.columns.reverse(),W.columns.forEach(F=>{F[g].startX=26-(F[g].startX+F[g].width),F[_].startX=10-(F[_].startX+F[_].width)})})}),y=I=>(0,r.ZP)(I,L=>{L.rows=L.rows.filter(W=>(0,a.Lm)(W).length>0)}),O=(I,L)=>I.filter(W=>W.type===L).length,P=(I,L,W)=>{if(W){const G=[];let k=-1;return I.forEach(x=>{x.type===L?(k+=1,W.includes(k)||G.push(x)):G.push(x)}),G}const F=I.findLastIndex(G=>G.type===L);return F===-1?I:[...I.slice(0,F),...I.slice(F+1)]},C=(I,L)=>(0,r.ZP)(I,W=>{L.forEach(F=>{let{elementType:G,locations:k}=F,x=!1,M=0;(0,a.aj)(W,B=>{let R=B;const U=O(B,G);if(k){const j=k.filter($=>U+(M-1)>=$&&M-1<$);if(j.length){const $=j.map(ee=>ee-M);R=P(B,G,$)}M+=U}else!x&&U>0&&(R=P(B,G),R.length!==B.length&&(x=!0));return R})})}),A=I=>{let{columnProperties:L,item:W,margins:F,swapTheme:G,enableDivider:k,styles:x}=I;return{styles:x,swapTheme:G,enableDivider:k,margins:F,rows:[{columns:[{...L,center:[W]}]}]}},S={columns:[{[g]:{startX:21,width:4},[_]:{startX:1,width:8},horizontalAlignmentWithin:c().RIGHT,center:[{type:n.x.SOCIAL,layout:{[g]:{marginBottom:1},[_]:{marginBottom:0}}}]}]},T=I=>(0,r.ZP)(I,L=>{var W,F,G,k;L.rows.unshift(S);const M=((W=L.styles)===null||W===void 0?void 0:W.sectionHeight)!==h.qj.CUSTOM&&((F=L.styles)===null||F===void 0?void 0:F.customSectionHeight)!==0?0:1;L.margins={[g]:{...(G=L.margins)===null||G===void 0?void 0:G.desktop,marginTop:M},[_]:{...(k=L.margins)===null||k===void 0?void 0:k.mobile,marginTop:M}}}),s=I=>{let L=!1;return(0,r.ZP)(I,W=>{(0,a.aH)(W,F=>{let{block:G}=F;!L&&G.type===n.x.NONINTERACTIVE_MEDIA_PORTRAIT&&(G.type=n.x.NONINTERACTIVE_MEDIA_LANDSCAPE,L=!0)})})},v=I=>(0,r.ZP)(I,L=>{(0,a.aH)(L,W=>{let{block:F}=W;F.type===n.x.NONINTERACTIVE_MEDIA_LANDSCAPE?F.type=n.x.NONINTERACTIVE_MEDIA_PORTRAIT:F.type===n.x.NONINTERACTIVE_MEDIA_PORTRAIT&&(F.type=n.x.NONINTERACTIVE_MEDIA_LANDSCAPE)})}),m=I=>{const L=[];L.push(...I),L.push(...I.map(G=>v(G)));const W=I.map(G=>s(G));return L.push(...W),(0,a.wh)(I[0]).filter(G=>[n.x.NONINTERACTIVE_MEDIA_PORTRAIT,n.x.NONINTERACTIVE_MEDIA_LANDSCAPE].includes(G.type)).length>2&&L.push(...W.map(G=>v(G))),L},E=I=>{let L=!1;return(0,a.aH)(I,W=>{let{block:F,outerColumn:G}=W;!G&&(0,d.je)(F)&&(L=!0)}),L?(0,r.ZP)(I,W=>{(0,a.g_)(W,F=>{const G=(0,u.cloneDeep)(F);return G[g].startX===0&&(G[g].startX=1,G[g].width-=1),G[g].startX+G[g].width===26&&(G[g].width-=1),G[_].startX===0&&(G[_].startX=1,G[_].width-=1),G[_].startX+G[_].width===10&&(G[_].width-=1),G})}):I}},163767:function(b,l,e){"use strict";e.d(l,{w1:()=>fe,ul:()=>q});var r=e(858579),o=e(419467),n=e(365270),a=e(740907),i=e(722033),c=e(504446),u=e(598768),f=e(637174),d=e(695960),h=e(299174);const g=z=>{switch(z){case h.UP.LIGHTEST:return h.UP.DARK;case h.UP.LIGHTEST_BOLD:return h.UP.BLACK_BOLD;case h.UP.LIGHT:return h.UP.BLACK;case h.UP.LIGHT_BOLD:return h.UP.BRIGHT;case h.UP.BRIGHT:return h.UP.BRIGHT_INVERSE;case h.UP.BRIGHT_INVERSE:return h.UP.BRIGHT;case h.UP.DARK:return h.UP.BRIGHT;case h.UP.DARK_BOLD:return h.UP.LIGHTEST_BOLD;case h.UP.BLACK:return h.UP.LIGHTEST;case h.UP.BLACK_BOLD:return h.UP.BRIGHT;default:return h.UP.DARK}};var _=e(434709),p=e(436715),y=e(193213),O=e(691415);const{DESKTOP:P}=n.FluidEngineBreakpoints,C=2,A=z=>{const _e=[];return z.forEach(ae=>{const ge=ae.layout[P],Be=_e.find((Ke,He)=>{if(He===0&&(0,y.Xj)(Ke.groupCoordinates)>12){const ye=Ke.blocks[0].layout[P];if((0,p.ln)(ge,ye)||(0,p.v4)(ge,ye)||ge.start.y-ye.end.y<=1)return Ke}else if((0,p.ln)(ge,Ke.groupCoordinates)||(0,p.Iu)(ge,Ke.groupCoordinates)&&ge.start.y-Ke.groupCoordinates.end.y<=C)return Ke});Be?(Be.blocks.push(ae),Be.groupCoordinates=(0,p.qY)([Be.groupCoordinates,ge])):_e.push({blocks:[ae],groupCoordinates:ge})}),_e.map(ae=>ae.blocks)},S=(z,_e)=>{const ae=(0,y.Pi)(z,P),ge=[];let Be=[],Ke;return ae.forEach(He=>{const ye=He.layout[P];Be.length===0?(Be.push(He),Ke=ye.end.y):ye.start.y>Ke+_e?(ge.push((0,o.cloneDeep)(Be)),Be=[He],Ke=ye.end.y):(Be.push(He),Ke=Math.max(Ke,ye.end.y))}),Be.length>0&&ge.push(Be),ge},T=z=>{const _e=(0,o.cloneDeep)(z.gridContents).filter(Be=>(0,O.Wn)(Be)!==_.x.DECOR),ae=(0,y.Pi)(_e,P);return S(ae,C).map(Be=>A(Be))};var s=e(668468),v=e(784874),m=e(223215),E=e.n(m);const{DESKTOP:I,MOBILE:L}=n.FluidEngineBreakpoints,W=[{numColumns:2,minItems:2,columnWidth:12,startX:1,shortContentWidth:6,enableTwoColumns:!0},{numColumns:4,minItems:4,columnWidth:6,startX:1,shortContentWidth:6},{numColumns:3,minItems:3,columnWidth:8,startX:1,shortContentWidth:8},{numColumns:2,minItems:2,columnWidth:12,startX:1,shortContentWidth:8}],F=[_.x.PARAGRAPH,_.x.CTA,_.x.DECOR],G={[_.x.NONINTERACTIVE_MEDIA_LANDSCAPE]:0,[_.x.NONINTERACTIVE_MEDIA_PORTRAIT]:0,[_.x.HEADING]:1,[_.x.PARAGRAPH]:2,[_.x.CTA]:3,[_.x.SOCIAL]:4,[_.x.DECOR]:5,[_.x.INTERACTIVE_MEDIA]:6},k=z=>z===_.x.NONINTERACTIVE_MEDIA_LANDSCAPE||z===_.x.NONINTERACTIVE_MEDIA_PORTRAIT,x=z=>z.sort((_e,ae)=>G[_e.type]-G[ae.type]),M=(z,_e)=>{const ae=(0,c.pz)(z),ge=(0,c.pz)(_e);if(ae.length!==ge.length)return!1;for(let Be=0;Be<ae.length;Be+=1)if((0,O.Wn)(ae[Be])!==(0,O.Wn)(ge[Be]))return!1;return!0},B=(z,_e,ae)=>{const{startX:ge,columnWidth:Be,shortContentWidth:Ke}=_e;return z.map((He,ye)=>({[I]:{startX:ge+ae*Be+ye*Ke,width:Ke},[L]:{startX:1,width:8},top:He}))},R=(z,_e,ae)=>{const{columnWidth:ge,startX:Be,shortContentWidth:Ke}=_e;let He=!1,ye=!1;z.forEach(Ue=>{if(k(Ue.type)){var Xe;He=!0;const Ce=(Xe=Ue.content)===null||Xe===void 0?void 0:Xe.value;if((Ce==null?void 0:Ce.type)===v.Z.IMAGE){var Fe,ht,Ne;const we=((Fe=Ce.value)===null||Fe===void 0?void 0:Fe.imageCropType)==="mask",$e=((ht=Ce.value)===null||ht===void 0?void 0:ht.imageCropType)==="css_styles"&&((Ne=Ce.value)===null||Ne===void 0?void 0:Ne.stretch)===!1;ye=we||$e?!0:ye}}});const Le=!He&&ge>8?1:0;return{[I]:{startX:Be+Le+ae*ge,width:ge-Le},[L]:{startX:1,width:8},horizontalAlignmentWithin:ye?E().CENTER:E().LEFT,top:z.map(Ue=>(0,r.ZP)(Ue,Xe=>{F.includes(Ue.type)&&(Xe.layout={[I]:{width:Ke}})}))}},U=z=>{const _e=x(z[0].map(Ke=>{const He=(0,O.Wn)(Ke);return He===_.x.PARAGRAPH?{type:He,transform:{fontStyle:"paragraph2"}}:He===_.x.HEADING?{type:He,transform:{fontStyle:"heading2"}}:k(He)?{type:He,content:Ke.content,layout:{[I]:{height:Math.max(8,(0,y.Ii)(Ke.layout[I]))},[L]:{height:8}}}:{type:He}})),[ae,ge]=(0,o.partition)(_e,Ke=>k(Ke.type)),Be=ae.length===0||ge.some(Ke=>Ke.type===_.x.INTERACTIVE_MEDIA);return W.reduce((Ke,He,ye)=>{if(z.length>=He.minItems){const{numColumns:Le,enableTwoColumns:Ue}=He;if(Ue&&Be)return Ke;const Xe={suggestionId:`repeated-${z.length}blocks-index${ye}`,rows:(0,o.chunk)(z,Le).map(Fe=>({columns:(0,o.flatten)(Fe.map((ht,Ne)=>Ue?B([ae,ge],He,Ne):[R(_e,He,Ne)])),[I]:{marginBottom:1},[L]:{marginBottom:1}}))};Ke.push(Xe)}return Ke},[])},j=(z,_e)=>U(z).map((ge,Be)=>(0,c.jE)(ge,z.flat(),_e,Be)),$=(z,_e)=>{const ae=[];let ge=[...z];for(;ge.length>0;){const Be=(0,o.takeWhile)(ge,(Ke,He,ye)=>_e(ye[0],Ke));ae.push(Be),ge=ge.slice(Be.length)}return ae},ee=z=>$(z,(_e,ae)=>M(_e.flat(),ae.flat())).map(_e=>{if(_e.length>1)return{type:"REPEATER",children:_e.map(Ke=>Ke.flat())};const ae=_e[0];return $(ae,M).map(ge=>ge.length>1?{type:"REPEATER",children:ge}:ge[0])}),{DESKTOP:te,MOBILE:ie}=n.FluidEngineBreakpoints,ne=5,pe=(z,_e)=>{var ae;if((_e==null||(ae=_e.rows)===null||ae===void 0?void 0:ae.length)===0)return z;const Be=(0,u.zF)(z)&&(0,u.zF)(_e)?1:2;return(0,r.ZP)(z,Ke=>{const He=Ke.rows[0];He.desktop={marginTop:Be},He.mobile={marginTop:Be}})},oe=z=>z.flatMap(_e=>"type"in _e?_e.children.flat():_e),q=z=>{if((0,c.CX)(z.fluidEngineContext.gridContents))return!0;const ae=T(z.fluidEngineContext),ge=ee(ae);if(ge.length===0)return!1;for(let He=0;He<ge.length;He+=1){var Be;const ye=ge[He];if("type"in ye){if(((Be=ye.children)===null||Be===void 0?void 0:Be.length)>0&&!(0,c.CX)(ye.children[0]))return!1}else{if(ye.length===0)return!1;const Le=oe(ye);if((0,c.CX)(Le))continue;for(let Xe=0;Xe<ye.length;Xe+=1){var Ke;const Fe=ye[Xe];if("type"in Fe){if(((Ke=Fe.children)===null||Ke===void 0?void 0:Ke.length)>0&&!(0,c.CX)(Fe.children[0]))return!1}else if(!(0,c.CX)(Fe))return!1}}}return!0},J=(z,_e)=>{const ae=[];for(let ge=0;ge<z.length;ge+=1){const Be=z[ge];if("type"in Be){ae.push([j(Be.children,_e)]);continue}const Ke=(0,c.ev)(oe(Be),_e,!0);if(Ke.length>0)ae.push([Ke]);else{const He=[];for(let ye=0;ye<Be.length;ye+=1){const Le=Be[ye];if("type"in Le)He.push(j(Le.children,_e));else{const Ue=(0,c.ev)(Le,_e,!0);if(Ue.length>0)He.push(Ue);else return null}}ae.push(He)}}return ae},me=(z,_e)=>{const ae=[],ge=[];return z.forEach(Be=>{Be.map(He=>He[_e%He.length]).forEach(He=>{const ye=ge.length===0?He:pe(He,ge[ge.length-1]);ge.push(ye);const Le=He.suggestionId;Le&&ae.push(Le)})}),{suggestionIdBySlices:ae,suggestionBySlices:ge}},re=(z,_e)=>{const ae=(0,c.ev)(z.fluidEngineContext.gridContents,_e);if(ae.length>0)return ae;const ge=T(z.fluidEngineContext),Be=J(ge,_e),Ke=ee(ge),He=J(Ke,_e);if(!Be||Be.length===0||!He||He.length===0)return[];const ye=Math.min(...He.map(Le=>Math.max(...Le.map(Ue=>Ue.length))));return(0,o.range)(ne).map(Le=>{const{suggestionIdBySlices:Ue,suggestionBySlices:Xe}=me(ye>Le?He:Be,Le);return{suggestionId:Ue.join("_"),margins:{[te]:{marginTop:2,marginBottom:2},[ie]:{marginTop:2,marginBottom:2}},rows:Xe.flatMap(Fe=>Fe.rows)}})},he=function(z){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a.m.PROFESSIONAL;const{fluidEngineContext:ae,isDirty:ge,backgroundImageId:Be,divider:Ke,styles:He,...ye}=z,Le=z.styles.customSectionHeight;let Ue=0;return re(z,_e).map(Xe=>{const Fe=(0,i.SN)(_e),ht=_e&&Xe.enableDivider?Fe[Ue%Fe.length]:Ke;Xe.enableDivider&&(Ue+=1);const Ne=Xe.swapTheme?g(He.sectionTheme):He.sectionTheme;return{...ye,contextId:ae.id,meta:void 0,backgroundImageId:Be??null,sectionName:d.H.STRUCTURED_SECTION,divider:ht,...Xe,styles:{...He,sectionHeight:Le===0?f.qj.SMALL:z.styles.sectionHeight,customSectionHeight:Le===0?1:Le,...Xe.styles||{},backgroundWidth:"background-width--full-bleed",sectionTheme:Ne}}})};let Ee={};const fe=async function(z){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a.m.PROFESSIONAL;var ae,ge;if(!z)return[];if((z==null?void 0:z.sectionName)!==d.Z.FLUID_ENGINE)return[];const Be=(0,s.n)(z);if(((ae=Ee[z.id])===null||ae===void 0?void 0:ae.sectionHash)===Be)return Ee[z.id].suggestions;const Ke=he(z,_e),He=(ge=Ee[z.id])===null||ge===void 0?void 0:ge.suggestions;return He&&(0,o.isEqual)(He,Ke)?(Ee[z.id]={sectionHash:Be,suggestions:He},He):(Ee[z.id]={sectionHash:Be,suggestions:Ke},Ke)},H=()=>{Ee={}}},706338:function(b,l,e){"use strict";e.d(l,{b:()=>d,l:()=>f});var r=e(784874),o=e(175424),n=e(581729),a=e(419467),i=e.n(a),c=e(668468);const u=new Set([r.Z.ZOLA,r.Z.CHART,r.Z.OPENTABLE,r.Z.OPENTABLE_V2]),f=h=>{var g,_,p,y,O,P;return((g=h.containerStyles)===null||g===void 0?void 0:g.backgroundEnabled)||((_=h.containerStyles)===null||_===void 0?void 0:_.blendMode)!=="normal"||((y=h.containerStyles)===null||y===void 0||(p=y.blur)===null||p===void 0?void 0:p.enabled)||((P=h.containerStyles)===null||P===void 0||(O=P.stroke)===null||O===void 0?void 0:O.style)!=="none"},d=async h=>{const g=(0,a.uniqBy)(h.flat(),c.n),_={},[p,y]=(0,a.partition)(g,S=>u.has(S.type));p.forEach(S=>{var T,s;const v=`.fe-block-${S.id} .sqs-block-content`,m=(s=(0,o.wo)())===null||s===void 0||(T=s.querySelector(v))===null||T===void 0?void 0:T.outerHTML;m?_[(0,c.n)(S)]=m:y.push(S)});const[O,P]=(0,a.partition)(y,n.yW),C=O.map(async S=>{const{html:T}=await(0,n.lD)(S);_[(0,c.n)(S)]=T}),A=(0,n._T)(P).then(S=>S.forEach((T,s)=>{let{html:v}=T;_[(0,c.n)(P[s])]=v}));return await Promise.all([...C,A]),h.map(S=>S.map(T=>_[(0,c.n)(T)]))}},691415:function(b,l,e){"use strict";e.d(l,{Wn:()=>g,Xt:()=>c,w$:()=>u});var r=e(784874),o=e(434709),n=e(193213),a=e(229805),i=e(997809);const c=[r.Z.FORM,r.Z.NEWSLETTER,r.Z.ACUITY,r.Z.PRODUCT,r.Z.MEMBER_AREA,r.Z.ACCORDION,r.Z.SUMMARY_V2,r.Z.TOCK,r.Z.EMBED,r.Z.AUDIO,r.Z.ARCHIVE,r.Z.INSTAGRAM,r.Z.TWITTER,r.Z.ZOLA,r.Z.SOUNDCLOUD,r.Z.OPENTABLE_V2,r.Z.FOURSQUARE,r.Z.FIVEHUNDREDPIX,r.Z.TOURDATES,r.Z.FLICKR,r.Z.AMAZON,r.Z.PRICING_PLAN,r.Z.MENU,r.Z.CALENDAR,r.Z.GALLERY,r.Z.CHART],u=[r.Z.IMAGE,r.Z.VIDEO,r.Z.MAP],f=[...c,...u];function d(_){return!!_&&Object.values(o.x).includes(_)}function h(_){const p=(0,n.Ii)(_.layout.desktop);return(0,n.Xj)(_.layout.desktop)>=p?o.x.NONINTERACTIVE_MEDIA_LANDSCAPE:o.x.NONINTERACTIVE_MEDIA_PORTRAIT}const g=_=>{const p=_.content.value;if(p.type===r.Z.FORM&&p.value.useLightbox)return o.x.CTA;if(p.type===r.Z.PRICING_PLAN){const{showBenefits:y,showDescription:O,showJoinButton:P,showPrice:C,showTitle:A}=p.value;if(!(y||O||C||A)&&P)return o.x.CTA}if(p.type===r.Z.PRODUCT){const{showExcerpt:y,showImage:O,showBuyButton:P,showPrice:C,showTitle:A}=p.value;if(!(y||O||C||A)&&P)return o.x.CTA}if(p.type===r.Z.TOCK&&p.value.tockDisplayMode==="button")return o.x.CTA;if(u.includes(p.type))return h(_);if(c.includes(p.type))return o.x.INTERACTIVE_MEDIA;switch(p.type){case r.Z.HTML:try{const{html:y}=p.value;return(0,a.JP)(y)?(0,a.K_)(y)?o.x.HEADING:o.x.PARAGRAPH:null}catch{return null}case r.Z.WEBSITE_COMPONENT:{const O=(0,i.i8)(p.definitionName)(p);return d(O)?O:O===o.s.MEDIA?h(_):null}case r.Z.MARQUEE:return o.x.HEADING;case r.Z.CODE:case r.Z.MARKDOWN:case r.Z.QUOTE:case r.Z.TAGCLOUD:return o.x.PARAGRAPH;case r.Z.SOCIAL_ACCOUNT_LINKS_V2:return o.x.SOCIAL;case r.Z.BUTTON:case r.Z.DONATION:case r.Z.COLLECTION_LINK:case r.Z.SEARCH:case r.Z.RSS:return o.x.CTA;case r.Z.SHAPE:case r.Z.HORIZONTAL_RULE:return o.x.DECOR;default:return null}}},101382:function(b,l,e){"use strict";e.d(l,{J0:()=>g,Pi:()=>d,Sf:()=>f,d8:()=>h,h$:()=>_,j2:()=>p,pL:()=>c});var r=e(310955),o=e.n(r),n=e(637174),a=e(120108),i=e.n(a);const c=1e4,u=1e3,f=55,d=1,h={unit:"px",value:24},g={enabled:!1,offset:{value:0,unit:"px"},position:o().TOP},_={rowGap:{unit:"px",value:11},columnGap:{unit:"px",value:11},rowStretch:!1,breakpointSettings:{mobile:{rows:2,columns:8,rowSize:{unit:"vw",value:6}},desktop:{rows:8,columns:24,rowSize:{unit:"vw",value:2}}}},p={backgroundWidth:"background-width--full-bleed",imageOverlayOpacity:.15,sectionHeight:n.qj.MEDIUM,customSectionHeight:10,contentWidth:"content-width--wide",horizontalAlignment:"horizontal-alignment--center",verticalAlignment:n.hM.MIDDLE,customContentWidth:50,backgroundColor:"",sectionTheme:"",sectionAnimation:n.$S.NONE,backgroundMode:i().IMAGE}},6471:function(b,l,e){"use strict";e.d(l,{FA:()=>T,Iu:()=>m,OD:()=>O,PO:()=>W,WQ:()=>F,Z8:()=>y,Zg:()=>C,h6:()=>s,i_:()=>G,ln:()=>A,v4:()=>E,v8:()=>P,zZ:()=>k});var r=e(193213);function o(x,M){return x.start.x<M.start.x}function n(x,M){return x.start.y<M.start.y}function a(x,M){return o(x,M)?x:M}function i(x,M){return n(x,M)?x:M}function c(x,M){return x.start.x<=M.end.x}function u(x,M){return x.end.x>M.start.x}function f(x,M){return x.start.x===M.start.x}function d(x,M){return x.start.y===M.start.y}function h(x,M){return x.end.y<M.start.y}function g(x,M){return x.end.x<M.start.x}function _(x,M){return x.start.x>M.end.x}function p(x,M){return x.start.y>M.end.y}function y(x,M,B){const R=(0,r.Fq)({layout:x,numCols:B}),U=(0,r.Fq)({layout:x,numCols:B});return(0,r.Xj)(x)===(0,r.Xj)(M)&&R===U}function O(x,M){return(0,r.Ii)(x)===(0,r.Ii)(M)}function P(x,M){return!(g(x,M)||g(M,x))}function C(x,M){return!(h(x,M)||h(M,x))}function A(x,M){return P(x,M)&&C(x,M)}function S(x,M){let B=!1;return M.map(R=>{A(x,R)&&(B=!0)}),B}function T(x){let{selectedBlockId:M,blocks:B,deviceKey:R}=x;const U=B.find(j=>(0,r.IF)(j)===M);if(!U)throw new Error(`Block with ID "${M}" not found`);return B.filter(j=>j!==U&&A(U.layout[R],j.layout[R]))}function s(x){let{blockIds:M,blocks:B,deviceKey:R}=x;const U=B.filter(j=>M.includes((0,r.IF)(j))).map(j=>j.layout[R]);return B.filter(j=>!M.includes((0,r.IF)(j))&&S(j.layout[R],U))}function v(x,M){return c(x,M)&&u(x,M)||c(M,x)&&u(M,x)}function m(x,M){return x.start.x<=M.start.x&&x.end.x>=M.end.x||M.start.x<=x.start.x&&M.end.x>=x.end.x}function E(x,M){return x.start.y<=M.start.y&&x.end.y>=M.end.y||M.start.y<=x.start.y&&M.end.y>=x.end.y}function I(x,M){const B=(0,r.Ii)(x),R=(0,r.Ii)(M);return B<R?x:M}function L(x,M){return A(x,M)?(Math.abs(Math.max(x.start.x,M.start.x)-Math.min(x.end.x,M.end.x))+1)*(Math.abs(Math.max(x.start.y,M.start.y)-Math.min(x.end.y,M.end.y))+1):0}function W(x){const{start:M,end:B}=x;return(B.x-M.x+1)*(B.y-M.y+1)}function F(x,M){return x.start.x===M.start.x&&x.end.x===M.end.x&&x.start.y===M.start.y&&x.end.y===M.end.y}function G(x,M){let B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.8;const R=L(x,M),U=W(x),j=W(M);return R/U>=B&&R/j<=B}function k(x,M){const B=a(x,M),R=i(x,M),U=I(x,M);return G(U,U===x?M:x)?U===x?1:-1:f(x,M)?x===R?-1:1:d(x,M)?x===B?-1:1:v(x,M)?x===R?-1:1:x===B?-1:1}},193213:function(b,l,e){"use strict";e.d(l,{vT:()=>ne,aE:()=>_,IF:()=>P,Ux:()=>k,oz:()=>fe,yt:()=>G,Xj:()=>S,Ii:()=>A,Ye:()=>f,ck:()=>C,pV:()=>te,AQ:()=>u,i8:()=>T,VK:()=>M,Pi:()=>pe,di:()=>Ee,rZ:()=>Be,Fq:()=>h,bH:()=>he,BN:()=>z,gF:()=>g,wo:()=>ee,MQ:()=>ie});var r=e(858579),o=e(456903),n=e(365270),a=e(436715),i=e(419467);const c=Ke=>Ke.reduce((He,ye)=>(He[getBlockId(ye)]=ye.layout,He),{}),u=(Ke,He)=>{var ye,Le,Ue;const Xe=Ke.filter(Fe=>Fe.layout[He].visible??!0);return((Ue=(0,i.maxBy)(Xe,`layout.${He}.end.y`))===null||Ue===void 0||(Le=Ue.layout[He])===null||Le===void 0||(ye=Le.end)===null||ye===void 0?void 0:ye.y)||0},f=(Ke,He)=>{const ye=Ke.filter(Le=>Le.layout[He].visible??!0);return Math.min(...ye.map(Le=>Le.layout[He].start.y,0))},d=Ke=>{let{blockIds:He,blocksById:ye,deviceKey:Le}=Ke;return Math.min(...He.map(Ue=>ye[Ue].layout[Le].zIndex))},h=Ke=>{let{layout:He,numCols:ye}=Ke;return He.start.x===0||He.end.x===ye+1},g=(Ke,He,ye)=>{const Le=He-Ke.start.x+1,Ue=Ke.end.x-He,Xe=Ke.end.x-Ke.start.x+1;return Ue===Le&&Xe!==ye+2},_=(Ke,He)=>{const ye=Ke.end.x-Ke.start.x+1;if(ye%2===0){const Le=He/2-ye/2+1,Ue=He/2+ye/2;return Ke.start.x===Le&&Ke.end.x===Ue}return!1};var p=e(6471),y=e(101382),O=e(784874);function P(Ke){return Ke.content.value.id}function C(Ke){return Ke.content.value.type}function A(Ke){return Ke.end.y-Ke.start.y+1}function S(Ke){return Ke.end.x-Ke.start.x+1}function T(Ke){return Ke.type===O.Z.WEBSITE_COMPONENT?Ke.value.containerStyles:Ke.containerStyles}var s=e(808145);const{DESKTOP:v,MOBILE:m}=n.FluidEngineBreakpoints,E="/api/content/copy/grid-item-content-clone",I=async Ke=>(await o.default.post(E,Ke.map(ye=>ye.content))).data,L=async Ke=>{let{fluidEngineContext:He,blocksToDuplicate:ye,positionBlockCopies:Le}=Ke;const[Ue]=await Promise.all([I(ye)]),Xe=(0,r.ZP)(ye,ht=>{ht.forEach((Ne,Ce)=>{Ne.content=Ue[Ce],Ne.layout.desktop.zIndex+=1,Ne.layout.mobile.zIndex+=1}),Le(He,ht),[v,m].forEach(Ne=>{const Ce=u(ht,Ne);if(Ce>y.pL-1){const we=Ce-(y.pL-1);ht.forEach($e=>{$e.layout[Ne].start.y-=we,$e.layout[Ne].end.y-=we})}})});let Fe=(0,r.ZP)(He,ht=>{ht.gridContents.push(...Xe),ht.gridSettings.breakpointSettings=(0,s.L)(ht.gridContents,ht.gridSettings.breakpointSettings)});return Fe=(0,a.UI)({fluidEngineContext:Fe,deviceKey:m,startRow:f(Xe,m),endRow:u(Xe,m)}),{newFluidEngineContext:Fe,blockIds:Xe.map(ht=>P(ht))}},W=(Ke,He)=>{const ye=u(Ke.gridContents,m)+1,Le=f(He,m);He.forEach(Ue=>{const{mobile:Xe}=Ue.layout,Fe=Xe.end.y-Xe.start.y;Xe.start.y=ye+(Xe.start.y-Le),Xe.end.y=Xe.start.y+Fe})},F=(Ke,He)=>{const{breakpointSettings:ye}=Ke.gridSettings,Le=(0,a.qY)(He.map(Fe=>Fe.layout.desktop)),Ue=Le.start.x===0,Xe=Le.end.x>=ye[v].columns;He.forEach(Fe=>{const{desktop:ht}=Fe.layout;ht.start.y+=1,ht.end.y+=1,!Ue&&!Xe&&(ht.start.x+=1,ht.end.x+=1)})},G=async Ke=>{let{fluidEngineContext:He,originalBlockIds:ye}=Ke;const Le=He.gridContents.filter(Xe=>ye.includes(P(Xe)));return L({fluidEngineContext:He,blocksToDuplicate:Le,positionBlockCopies:(Xe,Fe)=>{W(Xe,Fe),F(Xe,Fe)}})},k=async Ke=>{let{fluidEngineContext:He,originalBlockIds:ye,currentPosition:Le,getMultiselectionArea:Ue}=Ke;const Xe=He.gridContents.filter(Ce=>ye.includes(P(Ce))),Fe=Xe.length>1?Ue():Xe[0].layout.desktop,ht={start:{x:Le.start.x-Fe.start.x,y:Le.start.y-Fe.start.y},end:{x:Le.end.x-Fe.end.x,y:Le.end.y-Fe.end.y}};return L({fluidEngineContext:He,blocksToDuplicate:Xe,positionBlockCopies:(Ce,we)=>{W(Ce,we),we.forEach($e=>{const{desktop:Ot}=$e.layout;Ot.start.x+=ht.start.x,Ot.start.y+=ht.start.y,Ot.end.x+=ht.end.x,Ot.end.y+=ht.end.y})}})},x=(Ke,He)=>He.every(ye=>Ke.gridContents.some(Le=>(0,p.WQ)(ye.layout.desktop,Le.layout.desktop))),M=async Ke=>{let{fluidEngineContext:He,blockClipboardBlocks:ye,firstVisibleRow:Le,useDuplicatePositioning:Ue}=Ke;return L({fluidEngineContext:He,blocksToDuplicate:ye,positionBlockCopies:(Fe,ht)=>{if(W(Fe,ht),Ue)F(Fe,ht);else{const Ne=f(ht,v);ht.forEach(Ce=>{const{desktop:we}=Ce.layout,$e=we.end.y-we.start.y;we.start.y=we.start.y-Ne+Le,we.end.y=we.start.y+$e})}for(;x(Fe,ht);)F(Fe,ht)}})};function B(Ke,He,ye){return He in Ke?Object.defineProperty(Ke,He,{value:ye,enumerable:!0,configurable:!0,writable:!0}):Ke[He]=ye,Ke}const{FluidEngineBreakpoints:{MOBILE:R,DESKTOP:U}}=n;class j{addBlockToContainedBlocks(He){this.containedBlocks.push(He)}sortContainedBlocksByGivenLayout(He){this.containedBlocks=[...this.containedBlocks].sort((ye,Le)=>(0,p.zZ)(ye.fluidEngineBlockData.layout[He],Le.fluidEngineBlockData.layout[He]));for(const ye of this.containedBlocks)ye.sortContainedBlocksByGivenLayout(He)}getBlockAndChildren(){return[this,...this.containedBlocks.map(He=>He.getBlockAndChildren()).flat()]}getBlockAndChildrenIds(){return[P(this.fluidEngineBlockData),...this.containedBlocks.map(He=>He.getBlockAndChildrenIds()).flat()]}positionWithinBoundsOnMobile(He){let{startingRowNumber:ye,containerStartX:Le,containerEndX:Ue,getMinimumMobileRowsForBlock:Xe}=He;this.sortContainedBlocksByGivenLayout(U),this.containedBlocks.forEach(($e,Ot)=>{const Pt=this.containedBlocks[Ot-1],Ie=Pt?Pt.fluidEngineBlockData.layout[R].end.y+1:ye+1;$e.positionWithinBoundsOnMobile({startingRowNumber:Ie,containerStartX:Le+1,containerEndX:Ue-1,getMinimumMobileRowsForBlock:Xe})});const Fe=this.fluidEngineBlockData,ht=Fe.layout[R],Ne=Xe(Fe),Ce=this.containedBlocks[this.containedBlocks.length-1],we=Ce?Ce.fluidEngineBlockData.layout[R].end.y+1:ye+Ne;return this.fluidEngineBlockData={...Fe,layout:{...Fe.layout,[R]:{...ht,start:{x:Le,y:ye},end:{x:Ue,y:we}}}},this}constructor(He){B(this,"containedBlocks",[]),B(this,"fluidEngineBlockData",void 0),this.fluidEngineBlockData=He}}class ${static getSmallestBlock(He,ye){return He.length===0?null:(0,i.minBy)(He,Le=>(0,p.PO)(Le.fluidEngineBlockData.layout[ye]))}static getLargestBlock(He,ye){return He.length===0?null:(0,i.maxBy)(He,Le=>(0,p.PO)(Le.fluidEngineBlockData.layout[ye]))}static groupBlocksForLayout(He,ye){const Le=He.map(Xe=>new j(Xe)),Ue=[];for(const Xe of Le){const Fe=Le.filter($e=>$e!==Xe&&(0,p.i_)(Xe.fluidEngineBlockData.layout[ye],$e.fluidEngineBlockData.layout[ye])),ht=this.getSmallestBlock(Fe,ye),Ne=ye!==R?[]:Le.filter($e=>(0,p.Zg)(Xe.fluidEngineBlockData.layout[R],$e.fluidEngineBlockData.layout[R])),Ce=this.getLargestBlock(Ne,ye),we=Ce?P(Ce.fluidEngineBlockData)!==P(Xe.fluidEngineBlockData):!1;ht?ht.addBlockToContainedBlocks(Xe):Ce&&we?Ce.addBlockToContainedBlocks(Xe):Ue.push(Xe)}return Ue}static sortGroupedBlocksForLayout(He,ye){const Le=[...He].sort((Ue,Xe)=>(0,p.zZ)(Ue.fluidEngineBlockData.layout[ye],Xe.fluidEngineBlockData.layout[ye]));return Le.forEach(Ue=>Ue.sortContainedBlocksByGivenLayout(ye)),Le}static sortAndGroupBlocksBasedOnLayout(He,ye){const Le=this.groupBlocksForLayout(He,ye);return this.sortGroupedBlocksForLayout(Le,ye)}static sortBlocksForLayout(He,ye){const Ue=this.sortAndGroupBlocksBasedOnLayout(He,ye).map(Fe=>Fe.getBlockAndChildren()).flat();return Ue.some((Fe,ht)=>P(Ue[ht].fluidEngineBlockData)!==P(He[ht]))?Ue.map(Fe=>Fe.fluidEngineBlockData):He}}function ee(Ke){return $.sortBlocksForLayout(Ke,U)}function te(Ke){return $.sortBlocksForLayout(Ke,R)}function ie(Ke,He){return $.sortAndGroupBlocksBasedOnLayout(Ke,He).map(Le=>Le.getBlockAndChildrenIds())}function ne(Ke,He){return[...Ke].sort((ye,Le)=>{const Ue=ye.layout[He].zIndex,Xe=Le.layout[He].zIndex;return Ue>Xe?1:Xe>Ue?-1:0})}function pe(Ke,He){return[...Ke].sort((ye,Le)=>{const Ue=ye.layout[He],Xe=Le.layout[He];return Ue.start.y!==Xe.start.y?Ue.start.y-Xe.start.y:Ue.end.y!==Xe.end.y?Ue.end.y-Xe.end.y:Ue.start.x!==Xe.start.x?Ue.start.x-Xe.start.x:Ue.end.x!==Xe.end.x?Ue.end.x-Xe.end.x:P(ye).localeCompare(P(Le))})}var oe=e(310955),q=e.n(oe),J=e(789802);const{DESKTOP:me,MOBILE:re}=n.FluidEngineBreakpoints,he=Ke=>`fe-block-${Ke}`,Ee=Ke=>`fluid-engine-block-editing-indicator-${Ke}`,fe=Ke=>`transform-indicator-${Ke}`,H=Ke=>`@media (max-width: ${J.m-1}px) { ${Ke} }`,z=Ke=>`@media (min-width: ${J.m}px) { ${Ke} }`,_e=Ke=>Ke===q().TOP?"flex-start":Ke===q().CENTER?"center":Ke===q().BOTTOM?"flex-end":"center",ae=Ke=>{let{stickyScroll:He,height:ye}=Ke;var Le,Ue;if(!(He!=null&&He.enabled))return"";const Xe="position: sticky;",Fe=(He==null||(Le=He.offset)===null||Le===void 0?void 0:Le.value)??"0",ht=(He==null||(Ue=He.offset)===null||Ue===void 0?void 0:Ue.unit)??"px";return(He==null?void 0:He.position)===q().CENTER?ye>0?Xe+`
        top: calc(50% - ${ye/2}px + ${Fe}${ht});
      `:Xe+`
        top: calc(50% + ${Fe}${ht});
        transform: translateY(-50%);
      `:Xe+`
    ${(He==null?void 0:He.position)??"top"}: ${Fe}${ht};
  `},ge=Ke=>{let{start:He,end:ye}=Ke;return`${He.y+1}/${He.x+1}/${ye.y+2}/${ye.x+2}`},Be=Ke=>{let{layout:He,id:ye,positionArgs:Le}=Ke;const Ue=He[me],Xe=He[re],Fe=he(ye),ht=Ee(ye),Ne=fe(ye);let Ce=0,we=0;if(Le){var $e,Ot;Ce=($e=(0,J.a)({layout:Ue,...Le}))===null||$e===void 0?void 0:$e.height,we=(Ot=(0,J.a)({layout:Xe,...Le}))===null||Ot===void 0?void 0:Ot.height}const Pt=ae({stickyScroll:Xe.stickyScroll,height:we});return`
  .${Fe}, .${ht}, .${Ne} {
    grid-area: ${ge(Xe)};

    ${Pt?H(Pt):""}
  }

  .${Fe}, .${Ne} {
    z-index: ${Xe.zIndex};
  }

  .${Fe} .sqs-block {
    justify-content: ${_e(Xe.verticalAlignment)};
  }

  .${Fe} .sqs-block-alignment-wrapper {
    align-items: ${_e(Xe.verticalAlignment)};
  }

  ${z(`
    .${Fe}, .${ht}, .${Ne} {
      grid-area: ${ge(Ue)};

      ${ae({stickyScroll:Ue.stickyScroll,height:Ce})}
    }

    .${Fe}, .${Ne} {
      z-index: ${Ue.zIndex};
    }

    .${Fe} .sqs-block {
      justify-content: ${_e(Ue.verticalAlignment)};
    }

    .${Fe} .sqs-block-alignment-wrapper {
      align-items: ${_e(Ue.verticalAlignment)};
    }
  `)}
  `}},808145:function(b,l,e){"use strict";e.d(l,{J:()=>c,L:()=>u});var r=e(858579),o=e(365270),n=e(193213);const{DESKTOP:a,MOBILE:i}=o.FluidEngineBreakpoints;function c(f,d,h){return f[h].rows-((0,n.AQ)(d,h)+1)}function u(f,d){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return(0,r.ZP)(d,_=>{_[a].rows=Math.max((0,n.AQ)(f,a)+1+h,d[a].rows),_[i].rows=Math.max((0,n.AQ)(f,i)+1+g,d[i].rows)})}},85019:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(419467),o=e.n(r),n=e(784874),a=e(175424),i=e(104495),c=e(426728);const u=(0,r.invert)(n.Z),f={alignInsertPoints(){},enableInsertPoints(){},disableInsertPoints(){},cleanGrids(){},hideBlockMenus(){},getRenderableBlocks(){},insertBlockTolayout(){},get(h){if(h==="supportsRedirectsInBlockEditor")return!0},set(){}};function d(h){var g;const _=(g=(0,a.V6)())===null||g===void 0?void 0:g.Y;if(!_)throw new Error("YUI not defined in frame window");const p=new _.Squarespace.Layout.RenderableBlocksWebApp,y=u[h.type],O=y?p.get(y):null,P=i.Z.SECTION,C=void 0,A=h.type===n.Z.WEBSITE_COMPONENT?{definitionName:h.definitionName,editorSettings:(0,c.L)(h)}:{},S=O?new O.ctor({...A,defaultContentModel:h.defaultContentModel,editable:!0,editMode:P,editController:f,id:h.id,model:h.value,stack:C,type:h.type,containerStyles:h.containerStyles,isNewBlock:!1,collectionId:void 0,contentItemId:void 0}):new _.SQS.LayoutEngine.Block.Unrenderable({editMode:P,editController:f,id:h.id,model:h.value,stack:C,type:h.type});return S.get("model").layout=new window.Y.SQS.LayoutEngine.Models.PageLayout({collectionId:void 0,parentItemId:void 0}),S}},554973:function(b,l,e){"use strict";e.d(l,{BB:()=>E,KM:()=>I,Mm:()=>G,Ni:()=>P,T0:()=>m,TA:()=>C,V7:()=>S,WI:()=>L,Y3:()=>O,_Q:()=>W,d0:()=>v,e1:()=>F,ro:()=>A,sk:()=>y,tk:()=>s,vI:()=>T});var r=e(734526),o=e(784874),n=e(193213),a=e(475521),i=e(502284),c=e(929698),u=e(411790),f=e(310955),d=e.n(f);const h=k=>k.objectDisplayNames.length>1?{objectDisplayName:"MULTI",objectValue:k.objectValues.sort().join()}:{blockId:k.blockIds[0],objectDisplayName:k.objectDisplayNames[0],objectValue:k.objectValues[0]},g=k=>{const x=k.reduce((M,B)=>{const R=(0,c.q5)(B);if(!R)return M;const U=R.get("type"),j=R.get("trackingBlockTypeName")||r.Z.BlockTypeNames[U];return M.objectDisplayNames.push(j.toUpperCase()),M.objectValues.push(j),M},{blockIds:k,objectDisplayNames:[],objectValues:[]});return h(x)},_=k=>{const x=k.reduce((M,B)=>{if(!B)return M;const R=(0,n.IF)(B),U=B.content.value.type===o.Z.WEBSITE_COMPONENT?B.content.value.definitionName:r.Z.BlockTypeNames[(0,n.ck)(B)];return M.blockIds.push(R),M.objectDisplayNames.push(U.toUpperCase()),M.objectValues.push(U),M},{blockIds:[],objectDisplayNames:[],objectValues:[]});return h(x)},p=k=>{switch(k){case u.i7:return"block-container-alignment-vertical-top";case u.yf:return"block-container-alignment-vertical-center";case u.PS:return"block-container-alignment-vertical-bottom";case u.qr:return"block-container-alignment-horizontal-left";case u.az:return"block-container-alignment-horizontal-center";case u.nf:return"block-container-alignment-horizontal-right";case d().TOP:return"block-alignment-vertical-top";case d().CENTER:return"block-alignment-vertical-center";case d().BOTTOM:return"block-alignment-vertical-bottom";default:return""}},y=k=>{let{collection:x,collectionId:M=void 0,editingSectionArea:B,itemId:R=void 0}=k;(0,a.L0)({collection:x,collectionId:M,editingSectionArea:B,itemId:R})},O=(k,x,M,B)=>{(0,a.KX)({..._([k]),indirectObjectValue:x,sectionId:M,pageId:B})},P=(k,x,M,B)=>{(0,a.LT)({...g(k),indirectObjectValue:"within-section",isKeyboardShortcut:x,sectionId:M,pageId:B})},C=(k,x,M,B)=>{(0,a.ld)({...g(k),isKeyboardShortcut:x,sectionId:M,pageId:B})},A=(k,x,M,B)=>{(0,a.HE)({...g(k),isKeyboardShortcut:x,sectionId:M,pageId:B})},S=(k,x)=>{(0,a.UN)({action:k,..._(x)})},T=k=>{(0,a.NP)({..._(k)})},s=k=>{let{blockId:x,direction:M,isKeyboard:B}=k;(0,i.Vf)({...g([x]),indirectObjectValue:M,isKeyboardShortcut:B})},v=k=>{let{blockIds:x,displayName:M,indirectObjectValue:B,isKeyboard:R}=k;(0,i.$i)({...g(x),indirectObjectValue:B,displayName:M,isKeyboardShortcut:R})},m=k=>{let{blockIds:x,isKeyboard:M,deviceView:B}=k;(0,i.Sb)({...g(x),isKeyboardShortcut:M,displayName:B})},E=k=>{let{blocks:x,isKeyboard:M,pasteDistance:B,deviceView:R}=k;(0,i.Sm)({..._(x),displayName:R,isKeyboardShortcut:M,indirectObjectValue:B})},I=k=>{let{blockIds:x,isKeyboard:M}=k;(0,a.Og)({...g(x),isKeyboardShortcut:M})},L=k=>{let{blockIds:x,alignValue:M}=k;(0,a.qt)({...g(x),objectIdentifier:p(M)})},W=k=>{let{blockId:x,enabled:M}=k;(0,a.Si)({...g([x]),indirectObjectValue:String(M)})},F=k=>{let{blockId:x,position:M}=k;(0,a.lX)({...g([x]),indirectObjectValue:M})},G=k=>{let{blockId:x,offset:M}=k;(0,a.Qn)({...g([x]),indirectObjectValue:M})}},78936:function(b,l,e){"use strict";e.d(l,{Wx:()=>f,i0:()=>d,r2:()=>h,uP:()=>g,yk:()=>u});var r=e(784874),o=e(476086),n=e(597306),a=e(193213);const i=1;function c(_){let p=0;if(!_)return p;const O=_.classList.contains("sqs-block")?_:_.querySelector(".sqs-block");if(O){const P=getComputedStyle(O);p=p+parseInt(P.getPropertyValue("padding-top"),10)+parseInt(P.getPropertyValue("padding-bottom"),10)}return p}function u(_,p){var y,O,P,C;if(!_)return 1;const A=_.clientHeight,S=_.querySelector(".sqs-block-content");let T=S?S.clientHeight:A;if(p.type===r.Z.BUTTON&&(!((y=p.containerStyles)===null||y===void 0)&&y.stretchedToFill)){var s;T=((s=_.querySelector(".sqs-html"))===null||s===void 0?void 0:s.clientHeight)||A}else if(p.type===r.Z.AUDIO&&(!((O=p.containerStyles)===null||O===void 0)&&O.stretchedToFill)){const E=_.querySelector(".title-wrapper"),I=_.querySelector(".artistName"),L=_.querySelector(".play-button");T=E&&I&&L?Math.max(E.clientHeight+I.clientHeight,Math.round(L.getBoundingClientRect().height)):A}else if(p.type===r.Z.ACCORDION)T=(0,o.wW)(_);else{if(p.type===r.Z.CODE&&!(!((P=_.querySelector(".sqs-block-content"))===null||P===void 0)&&P.hasChildNodes()))return 1;if(p.type===r.Z.TOCK)return 2}let v=0;return!((C=(0,a.i8)(p))===null||C===void 0)&&C.backgroundEnabled&&(v=c(_)),T+v}function f(_,p,y){return Math.ceil((_+y-i)/(p+y))}function d(_,p,y,O){const P=u(_,p);return f(P,y,O)}function h(_,p,y,O){return(0,n.Z)(p)?d(_,p,y,O):0}function g(_,p,y,O){if(!_)return 1;const P=p===r.Z.BUTTON?_.querySelector(".sqs-block-button-element"):_.querySelector(".sqs-block-content"),C=P?P.clientWidth:_.clientWidth;return Math.ceil((C+O-i)/(y+O))}},239530:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(784874),o=e(310955),n=e.n(o),a=e(426728);const i=new Set([r.Z.BUTTON,r.Z.IMAGE,r.Z.HORIZONTAL_RULE,r.Z.MARQUEE,r.Z.SHAPE,r.Z.TOCK]);function c(u){if(u.type===r.Z.WEBSITE_COMPONENT){var f,d;return((d=(0,a.L)(u))===null||d===void 0||(f=d.layout)===null||f===void 0?void 0:f.defaultVerticalAlignment)||n().TOP}return i.has(u.type)?n().CENTER:n().TOP}},556472:function(b,l,e){"use strict";e.d(l,{Mc:()=>c,X9:()=>o,d6:()=>a});function r(u,f){const d=[...u].reverse().findIndex(f);return d===-1?-1:u.length-1-d}function o(u,f){return r(f,d=>{let{y:h}=d;return h<u})}function n(u,f){return f.findIndex(d=>{let{y:h,clientHeight:g}=d;return h+g>u})}function a(u,f){return r(f,d=>{let{x:h}=d;return h<=u})}function i(u,f){return f.findIndex(d=>{let{x:h,clientWidth:g}=d;return h+g>=u})}function c(u,f){let{left:d,top:h,right:g,bottom:_}=u,{rows:p,columns:y}=f;const O=i(d,y),P=n(h,p),C=a(g,y),A=o(_,p);return C===-1||O===-1||A===-1||P===-1?null:{start:{x:O,y:P},end:{x:C,y:A}}}},145332:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(436715),o=e(175424);function n(i,c,u){const f=i.getBoundingClientRect();return{index:c,x:f.x,y:f.y,clientHeight:f.height,clientWidth:f.width,offsetTop:i.offsetTop,offsetBottom:i.offsetTop+i.offsetHeight,offsetLeft:i.offsetLeft,offsetRight:i.offsetLeft+i.offsetWidth,topPageY:f.top+u,bottomPageY:f.bottom+u}}function a(i){let{containerNode:c}=i;if(!c)return null;const u=(0,r.ov)(c),f=(0,r.Ur)(c),d=(0,o.V6)();if(!u.length||!f.length||!d)return null;const h=d.scrollY,g=u.map((p,y)=>n(p,y,h)),_=f.map((p,y)=>n(p,y,h));return{rows:g,columns:_}}},597306:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(784874),o=e(426728);const n=new Set([r.Z.IMAGE,r.Z.MAP,r.Z.SHAPE]);function a(i){const{type:c}=i;if(c===r.Z.WEBSITE_COMPONENT){var u,f;return((f=(0,o.L)(i))===null||f===void 0||(u=f.layout)===null||u===void 0?void 0:u.hasContentBasedMinSize)!==!1}return!n.has(c)}},369751:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(784874),o=e(426728);const n={[r.Z.NAVIGATION]:3,[r.Z.HTML]:1,[r.Z.LOGO]:3,[r.Z.MAP]:4,[r.Z.IMAGE]:1,[r.Z.TWITTER]:3,[r.Z.JOURNAL]:3,[r.Z.GALLERY]:5,[r.Z.FORM]:4,[r.Z.GEO]:3,[r.Z.INDEX]:3,[r.Z.COLLECTION_LINK]:3,[r.Z.LINK]:3,[r.Z.TAGCLOUD]:3,[r.Z.COMMENTS]:3,[r.Z.FOLDER]:3,[r.Z.MENU]:6,[r.Z.SOCIAL_LINKS]:3,[r.Z.SUMMARY]:4,[r.Z.SPACER]:3,[r.Z.EMBED]:4,[r.Z.CODE]:2,[r.Z.FOURSQUARE]:3,[r.Z.INSTAGRAM]:4,[r.Z.CALENDAR]:6,[r.Z.POSTS_BY_AUTHOR]:3,[r.Z.POSTS_BY_TAG]:3,[r.Z.POSTS_BY_CATEGORY]:3,[r.Z.POSTS_BY_MONTH]:3,[r.Z.QUOTE]:3,[r.Z.VIDEO]:4,[r.Z.SEARCH]:3,[r.Z.AUDIO]:4,[r.Z.FIVEHUNDREDPIX]:3,[r.Z.PRODUCT]:4,[r.Z.MARKDOWN]:2,[r.Z.FLICKR]:3,[r.Z.AMAZON]:3,[r.Z.HORIZONTAL_RULE]:1,[r.Z.SOCIAL_ACCOUNT_LINKS]:2,[r.Z.RSS]:3,[r.Z.OPENTABLE]:3,[r.Z.NEWSLETTER]:7,[r.Z.DONATION]:3,[r.Z.BUTTON]:3,[r.Z.SOCIAL_ACCOUNT_LINKS_V2]:2,[r.Z.SUMMARY_V2]:4,[r.Z.SOUNDCLOUD]:3,[r.Z.EMAIL_FOOTER]:3,[r.Z.IN_BROWSER_MESSAGE_LINK]:3,[r.Z.TOURDATES]:3,[r.Z.ALBUM]:3,[r.Z.ARCHIVE]:3,[r.Z.CHART]:8,[r.Z.ZOLA]:3,[r.Z.ACUITY]:8,[r.Z.OPENTABLE_V2]:3,[r.Z.MEMBER_AREA]:4,[r.Z.TOCK]:3,[r.Z.ACCORDION]:3,[r.Z.MARQUEE]:3,[r.Z.SHAPE]:1},i=c=>{var u,f;return((f=(0,o.L)(c))===null||f===void 0||(u=f.layout)===null||u===void 0?void 0:u.minimumWidth)||n[c.type]}},789802:function(b,l,e){"use strict";e.d(l,{a:()=>o,m:()=>r});const r=768,o=n=>{let{layout:a,numCols:i,unstretchedRowHeight:c,rowGap:u,columnWidth:f,columnGap:d,gutterWidth:h}=n;const{start:{x:g,y:_},end:{x:p,y}}=a,O=g===0,P=p===i+1,C=[O,P].filter(Boolean).length,A=Math.max(g-1,0)*(f+d)+(O?0:h),T=(p-g+1-C)*(f+d)-d+C*h,s=_*(c+u),v=(y-_+1)*(c+u)-u;return{left:A,right:A+T,top:s,bottom:s+v,width:T,height:v}}},911896:function(b,l,e){"use strict";e.d(l,{CQ:()=>v,Kh:()=>m,UA:()=>k,UI:()=>s,c1:()=>P,ee:()=>I,vA:()=>T,vc:()=>L});var r=e(419467),o=e.n(r),n=e(858579),a=e(365270),i=e(784874),c=e(193213),u=e(663634),f=e(436715);const d=4,{DESKTOP:h,MOBILE:g}=a.FluidEngineBreakpoints,_=x=>{const M=x.layout[g].start.x,B=x.layout[g].end.x,R=x.layout[g].start.y,U=x.layout[g].end.y;return{x:(M+B)/2,y:(R+U)/2}},p=(x,M)=>Math.sqrt(Math.pow(x.x-M.x,2)+Math.pow(x.y-M.y,2)),y=x=>{switch((0,c.ck)(x)){case i.Z.ACUITY:return 0;default:return 1}},O=(x,M)=>{switch((0,c.ck)(M)){case i.Z.BUTTON:{const R=x.gridContents.filter($=>(0,c.ck)($)===i.Z.BUTTON&&(0,c.IF)($)!==(0,c.IF)(M));if(R.length===0)return d;const U=_(M),j=R.reduce(($,ee)=>{const te=_($),ie=_(ee),ne=p(te,U);return p(ie,U)<ne?ee:$});return j.layout[g].end.x-j.layout[g].start.x+1}case i.Z.ACUITY:return x.gridSettings.breakpointSettings[g].columns+1;default:return x.gridSettings.breakpointSettings[g].columns}},P=(x,M)=>{const B=(0,n.ZP)(x,R=>{const U=Math.max(...R.gridContents.map(ne=>ne.layout[g].end.y),0),j=R.gridSettings.breakpointSettings[g].rows-U,$=R.gridContents.length>0,ee=$?Math.max(...R.gridContents.map(ne=>ne.layout[g].end.y))+1:0,te=(0,n.ZP)(M,ne=>{const pe=ne.layout[g],oe=pe.end.y-pe.start.y;pe.start.x=y(M),pe.end.x=O(x,M),pe.start.y=ee,pe.end.y=ee+oe,ne.layout[h].zIndex=$?Math.max(...R.gridContents.map(q=>q.layout[h].zIndex))+1:1,ne.layout[g].zIndex=$?Math.max(...R.gridContents.map(q=>q.layout[g].zIndex))+1:1});R.gridSettings.breakpointSettings[h].rows=Math.max(R.gridSettings.breakpointSettings[h].rows,te.layout[h].end.y+1);const ie=R.gridContents.length!==0;R.gridSettings.breakpointSettings[g].rows=Math.max(R.gridSettings.breakpointSettings[g].rows,te.layout[g].end.y+(ie?j:1)),R.gridContents.push(te)});return{...B,gridContents:B.gridContents}},C=(x,M,B)=>(0,r.inRange)(x.start.x,M,B+1)||(0,r.inRange)(x.end.x,M,B+1),A=(x,M)=>{const B=new Set;for(const R of x){const U=R.layout[M];for(let j=U.start.y;j<=U.end.y;j++)B.add(j)}return Array.from(B)},S=(x,M)=>{let{deviceKey:B,startRow:R,endRow:U,startCol:j,endCol:$}=M;const ee=[];for(let te=R;te<=U;te++){let ie=!1;for(const ne of x.gridContents){const pe=ne.layout[B],oe=(0,r.inRange)(te,pe.start.y,pe.end.y+1),q=pe.start.x<$+1&&pe.end.x>=j,J=(0,u.cr)("fluid_engine_clean_up_grid_contextual_change")?C(pe,j,$)||q:C(pe,j,$);if(oe&&J){ie=!0;break}}ie||ee.push(te)}return ee},T=(x,M)=>{let{deviceKey:B,unoccupiedRows:R,startCol:U=0,endCol:j=x.gridSettings.breakpointSettings[B].columns+2}=M;return R.length?(0,n.ZP)(x,$=>{$.gridContents.forEach(ee=>{const te=ee.layout[B];if(!(te.start.x<j+1&&te.end.x>=U)||!te.visible)return;const ne=R.filter(pe=>pe<te.start.y).length;ne!==0&&(ee.layout[B].start.y-=ne,ee.layout[B].end.y-=ne)}),$.gridSettings.breakpointSettings[B].rows=Math.max($.gridSettings.breakpointSettings[B].rows-R.length,(0,c.AQ)($.gridContents,B)+1)}):x},s=x=>{let{fluidEngineContext:M,blocksToDelete:B,deviceKey:R,startRow:U,endRow:j,startCol:$=0,endCol:ee=M.gridSettings.breakpointSettings[R].columns+2}=x,te=S(M,{startRow:U,endRow:j,startCol:$,endCol:ee,deviceKey:R});return B&&(te=(0,r.intersection)(te,A(B,R))),T(M,{deviceKey:R,startCol:$,endCol:ee,unoccupiedRows:te})},v=async x=>{let{fluidEngineContext:M,blockIds:B}=x;const{gridContents:R}=M,U=R.filter(ne=>B.includes((0,c.IF)(ne))),j=R.filter(ne=>!B.includes((0,c.IF)(ne))),$=(0,c.AQ)(U,h),ee=M.gridContents.findIndex(ne=>ne.layout[h].end.y===$),te=M.gridContents[ee];let ie={...M,gridContents:j};return(0,c.AQ)(M.gridContents,h)===te.layout[h].end.y&&(ie=s({fluidEngineContext:ie,deviceKey:h,startRow:Math.max(te.layout[h].start.y,(0,c.AQ)(j,h)),endRow:te.layout[h].end.y})),ie=s({fluidEngineContext:ie,blocksToDelete:U,deviceKey:g,startRow:(0,c.Ye)(U,g),endRow:(0,c.AQ)(U,g)}),ie},m=x=>{let{fluidEngineContext:M,blockIds:B,deviceKey:R,visible:U}=x;return(0,n.ZP)(M,$=>{const ee=$.gridSettings.breakpointSettings[R].rows;$.gridContents=$.gridContents.map(ie=>{if(B.includes((0,c.IF)(ie))){const ne=(0,r.cloneDeep)(ie);return ne.layout[R].visible=U,ne}return ie});const te=(0,c.AQ)($.gridContents,R);(U&&te>ee||R===g&&!U)&&($.gridSettings.breakpointSettings[R].rows=te+1)})};function E(x,M){return{...x,start:{...x.start,x:x.start.x+M.start.x,y:x.start.y+M.start.y},end:{...x.end,x:x.end.x+M.end.x,y:x.end.y+M.end.y}}}const I=x=>{let{fluidEngineContext:M,deviceKey:B,currentPosition:R,selectedBlockIds:U,origRowCount:j}=x;return U.length===0?M:(0,n.ZP)(M,$=>{const ee=(0,r.keyBy)($.gridContents,c.IF),te=U.map(me=>ee[me].layout[B]),ie=(0,f.qY)(te),ne={start:{x:R.start.x-ie.start.x,y:R.start.y-ie.start.y},end:{x:R.end.x-ie.end.x,y:R.end.y-ie.end.y}},pe=$.gridSettings.breakpointSettings[B].rows,oe=R.end.y,q=j&&oe>=j;$.gridContents.filter(me=>U.includes((0,c.IF)(me))).forEach(me=>{me.layout[B]=E(me.layout[B],ne)}),(oe>=pe||q&&oe<pe)&&($.gridSettings.breakpointSettings[B].rows=oe+1)})},L=x=>{let{fluidEngineContext:M,deviceKey:B,selectedBlockIds:R,blockLayoutsById:U}=x;return R.length===0?M:(0,n.ZP)(M,j=>{j.gridContents.filter(ee=>R.includes((0,c.IF)(ee))).forEach(ee=>{ee.layout[B]=U[(0,c.IF)(ee)][B]})})},W=(x,M,B)=>{let R;const U=[];for(const j of x)(0,c.IF)(j)===M?R=j:B.includes((0,c.IF)(j))&&U.push(j);return{currentBlock:R,blocksToSwap:U}},F=x=>({groupStartY:(0,r.minBy)(x,M=>M.layout[g].start.y).layout[g].start.y,groupEndY:(0,r.maxBy)(x,M=>M.layout[g].end.y).layout[g].end.y}),G=(x,M)=>{const B=(0,r.range)(x.layout[g].start.y,x.layout[g].end.y+1),R=M.map(j=>(0,r.range)(j.layout[g].start.y,j.layout[g].end.y+1)),U=(0,r.union)(...R);return(0,r.intersection)(B,U).length},k=x=>{let{fluidEngineContext:M,blockId:B,direction:R}=x;const U=M.gridContents.filter(Le=>Le.layout[g].visible),j=(0,c.MQ)(U,g),$=j.findIndex(Le=>Le.find(Ue=>Ue===B)),ee=j[$],te=ee.length>1,ie=R==="UP"?$-1:$+1,ne=te?ee:j[ie],{currentBlock:pe,blocksToSwap:oe}=W(U,B,[...ne,B]),q=te?(0,r.flattenDeep)(j.slice($+1)):[],J=pe.layout[g].start.y,me=pe.layout[g].end.y,re=me-J,he=te&&R==="UP",Ee=te&&R==="DOWN",fe=te&&!Ee?[...oe,pe]:oe,{groupStartY:H,groupEndY:z}=F(fe),_e=G(pe,oe),ae=Ee?z+1:H,ge=he?_e:Ee?re+1:R==="UP"?me-z:-1*(ae-J),Be=he&&H!==J?re+1:ge,{rows:Ke,columns:He}=M.gridSettings.breakpointSettings[g];let ye=Ke;return(0,n.ZP)(M,Le=>{Le.gridContents.forEach(Ue=>{const Xe=Ue.layout[g],Fe=(0,c.IF)(Ue);if(Ue.layout[g].visible&&(Fe===B?(R==="UP"||Ee?(Xe.start.y=ae,Xe.end.y=ae+re):(Xe.start.y=z-re,Xe.end.y=z),te&&(Xe.start.x=1,Xe.end.x=He)):ne.includes(Fe)&&!Ee?(Xe.start.y+=Be,Xe.end.y+=Be):te&&q.includes(Fe)&&(Xe.start.y+=ge,Xe.end.y+=ge),Xe.end.y>ye)){const ht=te?Xe.end.y+1:Xe.end.y;Le.gridSettings.breakpointSettings[g].rows=ht,ye=ht}})})}},436715:function(b,l,e){"use strict";e.d(l,{UI:()=>y.UI,F3:()=>E,Wb:()=>Ke,er:()=>me,qY:()=>oe,Ce:()=>fe,yR:()=>ee,S6:()=>U,C9:()=>m,Gg:()=>F.G,mC:()=>_.m,o:()=>He,Iu:()=>g.Iu,Fc:()=>R,Z6:()=>H,gM:()=>ie,CQ:()=>y.CQ,Tw:()=>B,UQ:()=>ge,Z8:()=>g.Z8,Ur:()=>pe,Vx:()=>$,G6:()=>q,Ji:()=>s,ov:()=>ne,h6:()=>g.h6,ye:()=>Ee,i_:()=>g.i_,v4:()=>g.v4,Kh:()=>y.Kh,JN:()=>te,FA:()=>g.FA,v8:()=>g.v8,tB:()=>J,eM:()=>re,OD:()=>g.OD,GV:()=>G.Z,ln:()=>g.ln,KZ:()=>M,Zg:()=>g.Zg,ae:()=>_.a,H2:()=>I});var r=e(419467),o=e(365270),n=e(784874),a=e(929698),i=e(409011),c=e(175424),u=e(167078),f=e(247380),d=e(66232),h=e(193213),g=e(6471),_=e(789802),p=e(85019),y=e(911896),O=e(484623),P=e.n(O);const{MOBILE:C}=o.FluidEngineBreakpoints;function A(ye,Le){let Ue,Xe=0;return Le.map(Fe=>{const ht=ye.find(Ne=>(0,h.IF)(Ne)===Fe);ht&&ht.layout[C].end.y>Xe&&(Ue=Fe,Xe=ht.layout[C].end.y)}),Ue??null}function S(ye){let{block:Le,blocks:Ue,deviceKey:Xe}=ye;const Fe=Le.layout[Xe].start.y;let ht=Fe;for(const Ne of Ue){if((0,h.IF)(Ne)===(0,h.IF)(Le))continue;const Ce=Ne.layout[Xe];if(!(Ce.start.y>=Fe)){if(Ce.end.y>=Fe)return 0;ht=Math.max(Math.min(ht,Fe-Ce.end.y-1),0)}}return ht}function T(ye){let{blockId:Le,blocks:Ue,previousBlockId:Xe}=ye;const Fe=Ue.findIndex(vt=>(0,h.IF)(vt)===Le),ht=Xe?Ue.findIndex(vt=>(0,h.IF)(vt)===Xe):-1;if(Fe===ht+1)return Ue;const Ne=S({block:Ue[Fe],blocks:Ue,deviceKey:C}),Ce=P()(Ue[Fe]),we=(0,h.Ii)(Ce.layout[C]),$e=Ce.layout[C].start.y,Ot=ht===-1?0:Ue[ht].layout[C].end.y,Pt=$e>=Ot,Ie=Ce.layout[C].start.y-Ne,Bt=Ie+we-1,mt=ht===-1?Ne:Ot+Ne-(Pt?-1:we-1),rt=mt+we-1;Ce.layout[C].start.y=mt,Ce.layout[C].end.y=rt;const ce=we+Ne,Re=mt-Ne,nt=rt-Ne,st=Ue.reduce((vt,ze)=>{if((0,h.IF)(ze)===Le)return vt;let It=ze;return ze.layout[C].start.y<=(Pt?Bt:nt)&&ze.layout[C].end.y>=(Pt?Re:Ie)&&(It=P()(ze),It.layout[C].start.y+=(Pt?1:-1)*ce,It.layout[C].end.y+=(Pt?1:-1)*ce),vt.concat(It)},[]);return[...st.slice(0,ht+1),Ce,...st.slice(ht+1)]}function s(ye){let{blocks:Le,blockIdsToMove:Ue}=ye,Xe=P()(Le);const Fe=(0,h.wo)(Xe),ht=(0,h.MQ)(Xe,C),Ne=Fe.reduce((Ce,we,$e,Ot)=>{if(Ue.has((0,h.IF)(we))){const Pt=Ot[$e-1]&&(0,h.IF)(Ot[$e-1]),Ie=Pt?ht.findIndex(mt=>mt.find(rt=>rt===Pt)):-1,Bt=Ie>=0?A(Xe,ht[Ie]):null;return Ce.concat([{block:we,previousBlockId:Bt}])}return Ce},[]);for(const{block:Ce,previousBlockId:we}of Ne)Xe=T({blocks:Xe,blockId:(0,h.IF)(Ce),previousBlockId:we});return Xe}const v=.9,m=ye=>{let{topFromContentTopInPx:Le,heightInPx:Ue,rowGapInPx:Xe,unstretchedRowHeightInPx:Fe}=ye;const ht=Fe+Xe,Ne=Math.abs(Math.ceil((Le-v)/ht)),Ce=1+Math.ceil((Ue-Fe-v)/ht);return{start:Ne,end:Ne+Ce-1}},E=ye=>{let{rowSpan:Le,rowGapInPx:Ue,unstretchedRowHeightInPx:Xe}=ye;const Fe=Xe+Ue;return(Le-1)*Fe+Xe},I=ye=>{let{leftFromContentLeftInPx:Le,widthInPx:Ue,columnGapInPx:Xe,columnWidthInPx:Fe,columnCount:ht}=ye;const Ne=ht+1,Ce=$e=>Math.ceil(($e+Xe-v)/(Fe+Xe));if(Le<0){const $e=Ue-Math.abs(Le);return $e<=v?{start:0,end:0}:{start:0,end:Math.min(Ce($e),Ne)}}const we=Le<0?0:1+Math.ceil((Le-v)/(Fe+Xe));return{start:we,end:Math.min(we+Ce(Ue)-1,Ne)}},L=ye=>{let{blocksById:Le,deviceKey:Ue,focusedBlockIds:Xe,resizingItemWidth:Fe,resizingItemHeight:ht,isKeyboardResize:Ne,isResizingFullBleed:Ce,numCols:we}=ye;const $e=[],Ot=[];if(Xe.length===0)return{widthMatchingIds:$e,heightMatchingIds:Ot};for(const[Pt,Ie]of Object.entries(Le)){if(Xe.includes(Pt))continue;const Bt=Ie.layout[Ue],mt=isBlockFullBleed({layout:Bt,numCols:we}),rt=getBlockWidth(Bt),ce=getBlockHeight(Bt);Fe===rt&&Ce===mt&&$e.push(Pt),ht===ce&&Ot.push(Pt)}return $e.length>0&&Ne&&$e.concat(Xe),Ot.length>0&&Ne&&Ot.concat(Xe),{widthMatchingIds:$e,heightMatchingIds:Ot}},W=null;var F=e(224299),G=e(369751);const{DESKTOP:k,MOBILE:x}=o.FluidEngineBreakpoints,M=999999,B=.0215,R=ye=>{let{start:Le,end:Ue}=ye;return`${Le.y+1}/${Le.x+1}/${Ue.y+2}/${Ue.x+2}`},U=ye=>ye.reduce((Le,Ue)=>(Le[(0,h.IF)(Ue)]=Ue,Le),{}),j=ye=>{let{value:Le,unit:Ue}=ye;return`${Le}${Ue}`},$=ye=>{let{variableDeclarationClassName:Le,className:Ue,breakpointSettings:Xe,rowGap:Fe,columnGap:ht}=ye;const{columns:Ne,rows:Ce}=Xe[k],{columns:we,rows:$e}=Xe[x],Ot=j(ht);return`
    .${Le} {
      --grid-gutter: calc(var(--sqs-mobile-site-gutter, 6vw) - ${Ot});
      --cell-max-width: calc( ( var(--sqs-site-max-width, 1500px) - ( ${Ot} * ${we-1}) ) / ${we} );
      --row-gap: ${j(Fe)};
      --unstretched-row-height: 24px;
    }

    .${Ue} {
      display: grid;
      position: relative;
      grid-area: 1/1/-1/-1;
      grid-template-rows: repeat(${$e},minmax(var(--unstretched-row-height), auto));
      grid-template-columns:
        minmax(var(--grid-gutter), 1fr)
        repeat(${we}, minmax(0, var(--cell-max-width)))
        minmax(var(--grid-gutter), 1fr);
      row-gap: var(--row-gap);
      column-gap: ${Ot};
    }

    ${(0,h.BN)(`
      .background-width--inset .${Le} {
        --inset-padding: calc(var(--sqs-site-gutter) * 2);
      }

      .${Le} {
        --grid-gutter: calc(var(--sqs-site-gutter, 4vw) - ${Ot});
        --cell-max-width: calc( ( var(--sqs-site-max-width, 1500px) - (${Ot} * ${Ne-1}) ) / ${Ne} );
        --inset-padding: 0vw;
        --container-width: min(var(--sqs-site-max-width, 1500px), calc(100vw - var(--sqs-site-gutter, 4vw) * 2 - var(--inset-padding) ));
        --unstretched-row-height: calc(var(--container-width) * ${B});
      }

      .${Ue} {
        grid-template-rows: repeat(${Ce},minmax(var(--unstretched-row-height), auto));
        grid-template-columns:
          minmax(var(--grid-gutter), 1fr)
          repeat(${Ne}, minmax(0, var(--cell-max-width)))
          minmax(var(--grid-gutter), 1fr);
      }
    `)}
  `},ee=ye=>ye?!!ye.closest('[data-fluid-engine="true"]'):!1,te="fe-grid-row",ie="fe-grid-column";function ne(ye){return Array.from(ye.getElementsByClassName(te))}function pe(ye){return Array.from(ye.getElementsByClassName(ie))}function oe(ye){var Le,Ue,Xe,Fe;const ht=((Le=(0,r.minBy)(ye,"start.x"))===null||Le===void 0?void 0:Le.start.x)||0,Ne=((Ue=(0,r.minBy)(ye,"start.y"))===null||Ue===void 0?void 0:Ue.start.y)||0,Ce=((Xe=(0,r.maxBy)(ye,"end.x"))===null||Xe===void 0?void 0:Xe.end.x)||0,we=((Fe=(0,r.maxBy)(ye,"end.y"))===null||Fe===void 0?void 0:Fe.end.y)||0;return{start:{x:ht,y:Ne},end:{x:Ce,y:we}}}function q(ye,Le){const Ue={start:{x:0,y:0},end:{x:0,y:0}};return d.Z.isArrowUp(ye)?(Ue.end.y=-1,Le||(Ue.start.y=-1)):d.Z.isArrowDown(ye)?(Ue.end.y=1,Le||(Ue.start.y=1)):d.Z.isArrowLeft(ye)?(Ue.end.x=-1,Le||(Ue.start.x=-1)):d.Z.isArrowRight(ye)&&(Ue.end.x=1,Le||(Ue.start.x=1)),Ue}function J(ye){const Le=(0,a.q5)(ye);(0,a.n6)(Le)}function me(){const ye=(0,c.V6)(),Le=(0,i.ZP)(ye);return Le===null||Le>=_.m?k:x}const re=ye=>{if(!ye)return;const Le=ye.get("type");if([n.Z.GALLERY,n.Z.SUMMARY_V2].includes(Le))try{(0,c.V6)().Y.SQS.Gallery.Manager.initializeBlock(ye.get("boundingBox"))}catch(Ue){console.log(Ue)}else if([n.Z.CALENDAR,n.Z.CHART,n.Z.INSTAGRAM].includes(Le))try{ye.fire("resized")}catch(Ue){console.log(Ue)}},he=(0,u.Z)()?"metaKey":"ctrlKey",Ee=ye=>ye[he]||ye.shiftKey,fe=ye=>ye.altKey,H=(ye,Le)=>(ye.ctrlKey||ye.metaKey)&&(Le?ye.shiftKey:!0),z=(ye,Le)=>{var Ue,Xe,Fe,ht,Ne,Ce,we,$e;ye.setTag("product_area","fluid_engine"),ye.setTag("owner",Team.WEBSITE_EDITOR),ye.setContext("fe-coordinates",Le);const Ot=(ht=window.Static)===null||ht===void 0||(Fe=ht.SQUARESPACE_CONTEXT)===null||Fe===void 0||(Xe=Fe.templateInstallation)===null||Xe===void 0||(Ue=Xe.templateWebsite)===null||Ue===void 0?void 0:Ue.id;Ot&&ye.setTag("source_template_id",Ot);const Pt=($e=window.Static)===null||$e===void 0||(we=$e.SQUARESPACE_CONTEXT)===null||we===void 0||(Ce=we.templateInstallation)===null||Ce===void 0||(Ne=Ce.templateWebsite)===null||Ne===void 0?void 0:Ne.identifier;Pt&&ye.setTag("source_template_identifier",Pt)},_e=ye=>{let{elementTop:Le,elementBottom:Ue,scrollTop:Xe,scrollBottom:Fe}=ye;return Xe>Ue||Fe<Le?BLOCK_NOT_IN_VIEW:Xe>=Le&&Xe<=Ue?BLOCK_TOP_OUT_OF_VIEW:Fe<=Ue&&Fe>=Le?BLOCK_BOTTOM_OUT_OF_VIEW:BLOCK_FULLY_IN_VIEW},ae=ye=>{let{currentSection:Le,newSection:Ue,revertibleSection:Xe}=ye;if(!Xe)return!1;const Fe=getBlockLayouts(Le.fluidEngineContext.gridContents),ht=Ue.fluidEngineContext.gridContents,Ne=getBlockLayouts(ht),Ce=Xe.fluidEngineContext.gridContents,we=isEqual(Fe,Ne);if(Ce.length===ht.length&&we)return!0;const $e=Ce.filter(rt=>getBlockType(rt)===BlockType.IMAGE),Ot=ht.filter(rt=>getBlockType(rt)===BlockType.IMAGE),Pt=difference(Ot,$e);if(Ot.length===$e.length||Pt.length>1)return!1;const Ie=Pt[0];if(!Ie||Ie.content.value.type!==BlockType.IMAGE)return we;const Bt=Ie.content.value.value.imageId;return(Bt===Ue.backgroundImageId||Bt===Xe.backgroundImageId)&&we},ge=ye=>{let{blocks:Le,blockIds:Ue}=ye;return Le.reduce((Xe,Fe)=>(Ue.includes((0,h.IF)(Fe))&&(Xe[(0,h.IF)(Fe)]=Fe.layout),Xe),{})};function Be(ye,Le){return ye&&Le&&typeof ye=="string"&&typeof Le=="string"?ye===Le:!ye||!Le||!Array.isArray(ye)||!Array.isArray(Le)||ye.length!==Le.length?!1:ye.every((Ue,Xe)=>Be(ye[Xe],Le[Xe]))}function Ke(ye,Le){return Be((0,h.MQ)(ye,x),(0,h.MQ)(Le,x))}const He=ye=>{let{blockIdSet:Le,newGridContents:Ue,oldGridContents:Xe}=ye;const Fe=new Set(Ue.map(Ot=>(0,h.IF)(Ot))),ht=new Set(Xe.map(Ot=>(0,h.IF)(Ot))),Ne=Ue.filter(Ot=>!ht.has((0,h.IF)(Ot))),Ce=Xe.filter(Ot=>!Fe.has((0,h.IF)(Ot)));if(!Ne.length&&!Ce.length)return Le;const we=new Set(Le);for(const Ot of Ce)we.delete((0,h.IF)(Ot));const $e=Ne.filter(Ot=>!Ne.some(Ie=>(0,h.IF)(Ie)!==(0,h.IF)(Ot)&&(0,g.Zg)(Ot.layout[x],Ie.layout[x])));for(const Ot of $e)we.add((0,h.IF)(Ot));return we}},681975:function(b,l,e){"use strict";e.d(l,{$0:()=>O,IG:()=>y,oV:()=>_,pQ:()=>p});var r=e(193213),o=e(6471),n=e(175424);function a(P){let C=0,A=55,S=P;for(;S;)C+=S.offsetLeft,A+=S.offsetTop,S=S.offsetParent;const T=P.ownerDocument.defaultView;return C-=(T==null?void 0:T.scrollX)??0,A-=(T==null?void 0:T.scrollY)??0,{x:C,y:A,width:P.offsetWidth,height:P.offsetHeight}}function i(P){var C;return((C=(0,n.wo)())===null||C===void 0?void 0:C.querySelector(`.${(0,r.bH)(P)}`))||void 0}function c(P){const C=window.getComputedStyle(P).transform;return C==="none"?void 0:new DOMMatrix(C)}function u(P,C){const{x:A,y:S,width:T,height:s}=a(P),[v,m]=getComputedStyle(P).transformOrigin.split(" ").map(I=>parseFloat(I));return[[0,0],[T,0],[T,s],[0,s]].map(I=>{let[L,W]=I;const F=new DOMPoint(L-v,W-m),G=C?F.matrixTransform(C):F;return[G.x+v+A,G.y+m+S]})}function f(P){return P.map((C,A)=>{const[S,T]=C,[s,v]=P[(A+1)%P.length];return[-(v-T),s-S]})}function d(P,C){const[A,S]=C,T=Math.hypot(A,S),[s,v]=[A/T,S/T],m=P.map(E=>{let[I,L]=E;return I*s+L*v});return[Math.min(...m),Math.max(...m)]}function h(P,C){return P[1]>=C[0]&&C[1]>=P[0]}function g(P,C){return![...f(P),...f(C)].some(S=>{const T=d(P,S),s=d(C,S);return!h(T,s)})}function _(P,C,A){const S=i((0,r.IF)(P)),T=i((0,r.IF)(C));if(!S||!T)return!1;const s=c(S),v=c(T);if((!s||s.isIdentity)&&(!v||v.isIdentity))return(0,o.ln)(P.layout[A],C.layout[A]);const m=u(S,s),E=u(T,v);return g(m,E)}function p(P){let{selectedBlockId:C,blocks:A,deviceKey:S}=P;const T=A.find(s=>(0,r.IF)(s)===C);return T?A.filter(s=>(0,r.IF)(s)!==C&&_(T,s,S)):[]}function y(P){let{blockIds:C,blocks:A,deviceKey:S}=P;const T=A.filter(s=>C.includes((0,r.IF)(s)));return A.filter(s=>!C.includes((0,r.IF)(s))&&T.some(v=>_(s,v,S)))}function O(P,C){const A=i(P);if(!A||!C)return!1;const S=c(A);if(!S||S.isIdentity)return!1;const T=u(A,S),s=C.getBoundingClientRect(),v=[[s.left,s.top],[s.right,s.top],[s.right,s.bottom],[s.left,s.bottom]];return g(T,v)}},24099:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(31966),o=e.n(r);const n=[o().FOOTER]},918025:function(b,l,e){"use strict";e.d(l,{CY:()=>u,eA:()=>f,yg:()=>d});var r=e(31966),o=e.n(r),n=e(762379),a=e(935662),i=e.n(a);const c=n.Z.isFeatureEnabled(i().SECTION_ADMIN),u="-",f=[o().HEADLINES,o().LIST,o().GALLERY,o().IMAGES,o().QUOTE,o().TEXT,o().VIDEO,u,o().APPOINTMENTS,o().CONTACT,o().DONATION,o().FORM,o().NEWSLETTER,o().MEMBERS,o().PRODUCTS,o().RESERVATIONS,o().SOCIAL,o().TOUR_DATES,u,o().CALENDAR,o().CHART,o().FAQS,o().LOCATION,o().LOGO_WALL,o().MENU,o().MUSIC,o().PEOPLE,o().PRICING,o().REGISTRY,o().RESUME,o().SUMMARY,...c?[o().STAGING]:[]],d=[o().INTRO,o().CONTACT,o().ABOUT,o().PEOPLE,o().PRODUCTS,o().SERVICES,o().PORTFOLIOS,o().TESTIMONIALS,o().EVENTS,o().QUOTE,o().DIGITAL_PRODUCTS,o().APPOINTMENTS,o().DONATION,u,o().IMAGES,o().VIDEO,o().MENU,o().FORM,o().CHART,o().MUSIC,...c?[o().STAGING]:[]]},872501:function(b,l,e){"use strict";e.d(l,{t:()=>n});var r=e(31966),o=e.n(r);const n=[o().SAVED_SECTIONS,o().ORGANIZATION,o().PRO_USER]},532199:function(b,l,e){"use strict";e.d(l,{Z:()=>I});var r=e(419467),o=e.n(r),n=e(343839),a=e.n(n),i=e(44254),c=e.n(i),u=e(456903),f=e(723796),d=e(423394),h=e(67530);const g=(0,f.hu)("SectionCatalogEntryAPI","#357"),_=2,p=new(a())("SectionCatalogEntryAPI");p.version(1).stores({catalogPreviews:"cacheKey"});let y=null;const O=async()=>{const L=await u.default.get("/api/section-catalog/fluid-engine");return y=(0,i.sha256)(JSON.stringify(L.data)),L},P=async()=>{const L="/api/section-catalog/sections?engine=FLUID",W=await u.default.get(L);return y=(0,i.sha256)(JSON.stringify(W.data)),W},C=async()=>{const L="/api/section-catalog/layout-engine",W=await u.default.get(L);return y=(0,i.sha256)(JSON.stringify(W.data)),W},A=async()=>{const L="/api/section-catalog/sections?engine=LAYOUT",W=await u.default.get(L);return y=(0,i.sha256)(JSON.stringify(W.data)),W},S=async L=>{try{const W=await p.catalogPreviews.where({cacheKey:L}).first();return W!=null&&W.results?{status:"hit",results:W.results}:{status:"miss"}}catch{return{status:"error"}}},I={loadLayoutEngineCatalog:A,loadFluidEngineCatalog:P,loadLegacyLayoutEngineCatalog:C,loadLegacyFluidEngineCatalog:O,loadPreviews:async L=>{let W;const F=(0,r.get)(window,"Static.SQUARESPACE_CONTEXT.templateRevisionNumber"),G=(0,i.sha256)(JSON.stringify(L)),k=(0,d.mg)(),x=`${y}--${G}--${k}--${F}--${_}`;if(y&&(0,h.Z)()&&(W=await S(x),g(W),W.status==="hit"))return W.results;const M=await u.default.post("/api/catalog-preview/sections",L);return(W==null?void 0:W.status)==="miss"&&(await p.catalogPreviews.count()>3&&(g("pruning cache"),await p.catalogPreviews.clear()),p.catalogPreviews.put({cacheKey:x,results:{data:M.data}})),M},loadBlankLayoutEngine:()=>u.default.get("/api/catalog-preview/blankLayoutEngineSection"),loadBlankFluidEngine:()=>u.default.get("/api/catalog-preview/blankFluidEngineSection"),loadBlankAdminSections:()=>u.default.get("/api/catalog-preview/blankAdminSections")}},511354:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(347560),o=e(787592),n=e(635897);class a{selectPlan(u){return f=>{if(!u)throw(0,o.$e)(d=>{(0,n.N)(d),(0,o.uT)("Plan was falsey")}),new Error("Plan was falsey");f(u)}}selectPlansByProductType(u){return f=>{if(!u)throw(0,o.$e)(d=>{(0,n.N)(d),(0,o.uT)("plansByProductType was falsey")}),new Error("plansByProductType was falsey");f(u)}}constructor(){this.generateActions("reset","selectFeatureLevel","removeSelectedPlanOfProductType")}}const i=r.Z.createActions(a)},296535:function(b,l,e){"use strict";e.d(l,{Z:()=>v});var r=e(839241),o=e(520616),n=e(142477),a=e(312039),i=e(621106),c=e(211489),u=e(829566),f=e(571009),d=e(497440),h=e(347560);class g{onLoadOffers(){this.setState({isLoading:!0})}onLoadSuccess(E){this.setState({promotionalOffers:E,isLoading:!1})}onLoadFail(){this.setState({isLoading:!1})}constructor(){this.promotionalOffers=null,this.isLoading=!1,this.bindActions(d.Z)}}const _=h.Z.createStore(g,"Billing-AdvertisedOffersStore");var p=e(848371),y=e(960489),O=e.n(y),P=e(967361),C=e(23006),A=e(28589),S=e(276406),T=e.n(S);class s{onDomainDiscountChange(){this.waitFor(c.Z);const{domainDiscountStatus:E}=c.Z.getState();this.areLoading.domainDiscountStatus=!E,E&&(this.domainDiscountStatus=E)}getStateFromContext(E){return{isGoogleAppsPromoForAnnualOnly:P.Z.isFeatureEnabled(O().STRICT_GOOGLE_APPS_FREE_INBOX_POLICY)}}onPlansChange(){this.waitFor(a.ZP);const E=a.ZP.getState();this.areLoading.availableProducts=E.isLoading,E.isLoading||(this.availableProducts=E.products,this.availableBundledPlans=E.bundledPlans,this.availablePlansFormattedForUPS=E.availablePlansFormattedForUPS,this.availableProductsCurrency=E.currency,this.availableProductsByProductType[E.productType]={availableProducts:E.products,availableProductsCurrency:E.currency})}onPromotionalOffersChange(){this.waitFor(_);const E=_.getState();this.areLoading.promotionalOffers=E.isLoading,E.isLoading||(this.promotionalOffers=E.promotionalOffers)}onViolationsChange(){this.waitFor(f.Z);const E=f.Z.getState();this.areLoading.violations=E.isLoading,E.isLoading||(this.violations=E.violations)}onCurrenciesChange(){this.waitFor(o.Z);const E=o.Z.getState();this.areLoading.currencies=E.isLoading,E.isLoading||(this.acceptedCurrencies=[].concat(E.acceptedCurrencies))}onSubscriptionsChange(){this.waitFor(A.ZP);const{loading:E}=A.ZP.getState();if(this.areLoading.subscriptions=E,!E){var I;this.subscriptions=A.ZP.getContracts(),this.subscribedWebsitePlan=(I=A.ZP.getActivePlanOfType(T().WEBSITE))===null||I===void 0?void 0:I.plan}}constructor(){this.areLoading={availableProducts:!1,currencies:!1,promotionalOffers:!1,domainDiscountStatus:!1,violations:!1,subscriptions:!1},this.isLoading=!1,this.acceptedCurrencies=[],this.availableProducts=null,this.availableBundledPlans=null,this.availablePlansFormattedForUPS=null,this.availableProductsByProductType={},this.availableProductsCurrency=null,this.domainDiscountStatus=null,this.promotionalOffers=null,this.isTaxCollected=!1,this.isGoogleAppsPromoForAnnualOnly=null,this.subscribedWebsitePlan=null,this.violations=[],this.canLoadTax=!1,this.subscriptions=null,this.bindListeners({onPlansChange:[n.Z.LOAD_START,n.Z.LOAD_SUCCESS,n.Z.LOAD_FAIL,n.Z.RESET],onViolationsChange:[u.Z.LOAD_MULTIPLE_SUCCESS,u.Z.LOAD_FAIL],onDomainDiscountChange:[i.Z.LOAD_DISCOUNT_STATUS,i.Z.LOAD_DISCOUNT_STATUS_SUCCESS,i.Z.LOAD_DISCOUNT_STATUS_FAILURE],onCurrenciesChange:[r.Z.LOAD,r.Z.LOAD_SUCCESS,r.Z.LOAD_FAIL],onSubscriptionsChange:[C.Z.LOADING,C.Z.LOAD_FAILURE,C.Z.NEW_CONTRACTS],onPromotionalOffersChange:[d.Z.LOAD_OFFERS,d.Z.LOAD_SUCCESS,d.Z.LOAD_FAIL]})}}s.config={getState(m){const{areLoading:E}=m,I=!Object.values(E).every(L=>!L);return Object.assign({},m,{isLoading:I})}};const v=(0,p.ZP)(s,"PlanSelectionAggregateDataStore")},419805:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560),o=e(511354);class n{onSelectFeatureLevel(c){this.featureLevel=c,this.plan=null,this.selectionByProduct={}}onSelectPlan(c){let{plan:u,productType:f}=c;if(u.productLine){this.featureLevel=u.featureLevel,this.productLine=u.productLine,this.currency=u.price.currencyCode,this.plan=u,this.selectionByProduct[f]={plan:u,featureLevel:this.featureLevel,productLine:this.productLine,currency:this.currency};return}this.featureLevel=u.products.length>1?null:u.products[0].featureLevel,this.productLine=u.planLine,this.currency=u.price.currencyCode,this.plan=u,this.selectionByProduct[f]={plan:u,featureLevel:this.featureLevel,productLine:this.productLine,currency:this.currency}}onSelectPlansByProductType(c){Object.entries(c).forEach(u=>{let[f,d]=u;this.selectionByProduct[f]={plan:d,featureLevel:d.featureLevel,productLine:d.productLine,currency:d.price.currencyCode}})}onRemoveSelectedPlanOfProductType(c){const u={...this.selectionByProduct};delete u[c],this.selectionByProduct=u}onReset(){this.productLine=null,this.currency=null,this.featureLevel=null,this.plan=null,this.selectionByProduct={}}constructor(){this.productLine=null,this.currency=null,this.featureLevel=null,this.plan=null,this.country="US",this.selectionByProduct={},this.bindActions(o.Z)}}const a=r.Z.createStore(n,"PlanSelectionStore")},67055:function(b,l,e){"use strict";e.d(l,{g:()=>r});const r=function(){let{productToPurchase:o}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return[]}},93331:function(b,l,e){"use strict";e.d(l,{rF:()=>g});var r=e(92286),o=e.n(r),n=e(985078),a=e(479348),i=e(750954),c=e.n(i),u=e(92839);const f=()=>n.Z.hasAchievement(o().PRODUCT_SAVED),d=()=>a.Z.grantAchievement(o().PRODUCT_SAVED),h=(_,p)=>_===c().STORE?!0:[c().PRODUCTS,c().SERVICES,c().GROUP_EVENTS].includes(_)&&p===c().STORE,g=_=>{let{selectedCategory:p,selectedSubcategory:y,products:O,typeName:P}=_;f()||(h(p,y)||O&&O.length>0||P===u.Yi.PRODUCTS)&&d()}},978422:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(347560),o=e(831650),n=e.n(o),a=e(202637);class i{load(){return f=>(f(),a.Z.load().then(d=>this.loadSuccess(d.data),this.handleFailure).catch(this.handleError))}connectStripe(){return f=>(this.stripeProcessing(),f(),a.Z.connect(n().STRIPE).then(this.load,this.handleFailure).catch(this.handleError))}connectPayPal(f){return d=>(this.disconnectPayPal().then(this.payPalProcessing),d(),a.Z.connect(n().PAYPAL,f).then(this.handlePayPalConnected,this.handleFailure).catch(this.handleError))}handlePayPalConnected(){return f=>(f(),this.load())}approvePayPalBillingAgreement(f){return d=>(this.payPalBillingAgreementProcessing(),d(),a.Z.approvePayPalBillingAgreement(f).then(this.load,this.handleFailure).catch(this.handleError))}disconnectStripe(){return f=>(this.stripeProcessing(),f(),a.Z.disconnect(n().STRIPE).then(this.disconnectStripeSuccess,this.handleFailure).catch(this.handleError))}disconnectPayPal(){return f=>(this.payPalProcessing(),f(),a.Z.disconnect(n().PAYPAL).then(this.disconnectPayPalSuccess,this.handleFailure).catch(this.handleError))}connectSquare(f){return d=>(this.squareProcessing(),d(),a.Z.connect(n().SQUARE,f).then(this.load,this.handleFailure).catch(this.handleError))}disconnectSquare(){return f=>(this.squareProcessing(),f(),a.Z.disconnect(n().SQUARE).then(this.disconnectSquareSuccess,this.handleFailure).catch(this.handleError))}updateSquareSettings(f){return d=>(this.squareProcessing(),d(),a.Z.updateSquareSettings(f).then(this.updateSquareSuccess,this.handleFailure).catch(this.handleError))}setSquareSettings(f){return d=>(d(f),Promise.resolve())}updateTestMode(f){return d=>(d(),a.Z.updateTestMode(f).then(this.updateTestModeSuccess,this.handleFailure).catch(this.handleError))}setStripeSettings(f){return d=>(d(f),Promise.resolve())}updateStoreCurrency(f){return d=>(d(),a.Z.updateStoreCurrency(f).then(()=>this.updateStoreCurrencySuccess(f),this.handleFailure).catch(this.handleError))}updateStripeSettings(f){return d=>(d(),a.Z.updateStripeSettings(f).then(this.updateStripeSuccess,this.handleFailure).catch(this.handleError))}handleError(f){this.handleFailure(f)}constructor(){this.generateActions("disconnectStripeSuccess","disconnectPayPalSuccess","disconnectSquareSuccess","handleFailure","loadSuccess","payPalProcessing","stripeProcessing","squareProcessing","payPalBillingAgreementProcessing","setStoreCurrency","setTestMode","setStripeSettings","updateStripeSuccess","updateStoreCurrencySuccess","updateTestModeSuccess","updateSquareSuccess","cancelPayPalBillingAgreement","closeFeatureGateModal","showFeatureGateModal","openPurchaseMessagingModal","closePurchaseMessagingModal")}}const c=r.Z.createActions(i)},202637:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(456903),o=e(389186),n=e.n(o),a=e(831650),i=e.n(a),c=e(518703);const u="/api/commerce/settings/payment",d={load(){return r.default.get(u)},approvePayPalBillingAgreement(h){return this.startAuthentication(h?n().PAYPAL_LIVE_BILLING:n().PAYPAL_SANDBOX_BILLING)},connect(h,g){let _=null;const p={};return h===i().STRIPE?_=n().STRIPE:h===i().PAYPAL?(p.RESET_OPENER=!0,_=g?n().PAYPAL_LIVE_ONBOARDING:n().PAYPAL_SANDBOX_ONBOARDING):h===i().SQUARE&&(_=g?n().SQUARE:n().SQUARE_SANDBOX),this.startAuthentication(_,p)},startAuthentication(h){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return c.Z.authenticate({serviceProvider:h,customParameters:g,urlParams:{authenticationType:"website",startSubscription:!0}})},disconnect(h){return r.default.delete(u+"/"+h)},updateStoreCurrency(h){return r.default.put(u+"/store-currency",h,{headers:{"content-type":"text/plain"}})},updateTestMode(h){return r.default.put(u+"/testmode",h,{headers:{"content-type":"text/plain"}})},updateStripeSettings(h){const g={applePayEnabled:h.isApplePayEnabled,googlePayEnabled:h.isGooglePayEnabled,linkEnabled:h.isLinkEnabled,afterpayEnabled:h.isAfterpayEnabled,klarnaEnabled:h.isKlarnaEnabled,paymentRequestEnabled:h.isPaymentRequestEnabled,testMode:h.isTestMode};return r.default.put(u+"/stripe",g)},updateSquareSettings(h){return r.default.put(u+"/square",h)}}},271685:function(b,l,e){"use strict";e.d(l,{CP:()=>i,Yp:()=>p,_j:()=>g,nE:()=>d,rV:()=>a,sw:()=>c,uu:()=>h,yr:()=>u});var r=e(456903);const o=O=>O.map(P=>`categoryIds=${P}`).join("&"),n={products:{GET_ITEM:(O,P,C)=>`/api/content-service/product/1.1/websites/${O}/products/${P}/product-items/${C}`,GET_CATEGORIES:(O,P)=>`/api/product-content-service/products/${P}/categories/tree`,CREATE_CATEGORIES:(O,P)=>`/api/content-service/product/1.1/websites/${O}/products/${P}/categories`,UPDATE_CATEGORIES:(O,P,C)=>`/api/content-service/product/1.1/websites/${O}/products/${P}/categories/${C}`,DELETE_CATEGORY:(O,P,C)=>`/api/commerce/products/collections/${P}/categories/${C}`,ADD_ITEM_TO_CATEGORIES:(O,P,C)=>`/api/content-service/product/1.1/websites/${O}/products/${P}/product-items/${C}/add-categories`,REMOVE_CATEGORY:(O,P,C)=>`/api/content-service/product/1.1/websites/${O}/products/${P}/categories/${C}/remove-product-items`,ASSIGN_CATEGORY:(O,P)=>`/api/commerce/products/${P}/categories/assign?${o(O)}`,UNASSIGN_CATEGORY:(O,P)=>`/api/commerce/products/${P}/categories/unassign?${o(O)}`},lessons:{GET_ITEM:(O,P,C)=>`/api/lesson-service/1.0/websites/${O}/lessons/${P}/lesson/${C}`,GET_CATEGORIES:(O,P)=>`/api/lesson-service/1.0/websites/${O}/lessons/${P}/categories/tree`,CREATE_CATEGORIES:(O,P)=>`/api/lesson-service/1.0/websites/${O}/lessons/${P}/categories`,UPDATE_CATEGORIES:(O,P,C)=>`/api/lesson-service/1.0/websites/${O}/lessons/${P}/categories/${C}`,DELETE_CATEGORY:(O,P,C)=>`/api/lesson-service/1.0/websites/${O}/lessons/${P}/categories/${C}`,ADD_ITEM_TO_CATEGORIES:(O,P,C)=>`/api/lesson-service/1.0/websites/${O}/lessons/${P}/categories/${C}`,ASSIGN_CATEGORY:(O,P,C,A)=>`/api/lesson-service/1.0/websites/${C}/lessons/${A}/lesson/${P}/categories/assign`,UNASSIGN_CATEGORY:(O,P,C,A)=>`/api/lesson-service/1.0/websites/${C}/lessons/${A}/lesson/${P}/categories/unassign`}},a=async function(O,P,C){let A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"products";const S=await r.default.get(n[A].GET_ITEM(O,P,C));return S.status===200||S.status===204?S.data:{}},i=async function(O,P){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"products";const A={headers:{"Content-Type":"application/json"},data:{}},S=await r.default.get(n[C].GET_CATEGORIES(P,O),A);return S.status===200||S.status===204?S.data:{}},c=async function(O,P,C){let A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"products";const S={displayName:O.displayName,parentCategoryId:O.id||void 0,type:"INTERIOR",pageRendering:"LIST_VIEW",displayIndex:1},T=await r.default.post(n[A].CREATE_CATEGORIES(P,C,A),S);return T.status===200||T.status===201||T.status===204?T.data:{}},u=async function(O,P,C){let A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"products";const S={displayName:O.displayName,menuHidden:!O.menuVisibility,orderedItemIds:O.orderedItemIds,childrenMenuHidden:!O.menuVisibility,pageRendering:O.pageVisibility?"LIST_VIEW":"UNRESOLVABLE",parentCategoryId:O.parentCategoryId,shortSlug:O.shortSlug,displayIndex:O.displayIndex},T=await r.default.put(n[A].UPDATE_CATEGORIES(P,C,O.id),S);return T.status===200||T.status===204?T.data:{}},f=async(O,P,C)=>{const A=await network.delete(`/api/content-service/product/1.1/websites/${P}/products/${C}/categories/${O}?recursive=true`);return A.status===200||A.status===204?A.data:{}},d=async function(O,P,C){let A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;const S=await r.default.put(`/api/commerce/products/collections/${P}/categories/${O}/reparent`,{parentCategoryId:C,displayIndex:A});return S.status===200||S.status===204?S.data:{}},h=async function(O,P,C){let A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"products";const S=await r.default.delete(n[A].DELETE_CATEGORY(C,P,O));return S.status===200||S.status===204?S.data:{}},g=async function(O,P,C,A){let S=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"products";const T=S==="lessons"?await r.default.put(n[S].ASSIGN_CATEGORY(O,P,C,A),{categoryIds:O}):await r.default.post(n[S].ASSIGN_CATEGORY(O,P,C,A));return T.status===200||T.status===204?T.data:{}},_=async(O,P,C,A)=>{const S={itemIds:[A]},T=await network.post(`/api/content-service/product/1.1/websites/${P}/products/${C}/categories/${O}/remove-product-items`,S);return T.status===200||T.status===204?T.data:{}},p=async function(O,P,C,A){let S=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"products";const T=S==="lessons"?await r.default.put(n[S].UNASSIGN_CATEGORY(O,P,C,A),{categoryIds:O}):await r.default.post(n[S].UNASSIGN_CATEGORY(O,P,C,A));return T.status===200||T.status===204?T.data:{}},y=async(O,P,C,A)=>{const S=await network.post(`/api/content-service/product/1.1/websites/${P}/products/${C}/categories/${A}/move-items`,{categoryIds:[O]});return S.status===200||S.status===204?S.data:{}}},397372:function(b,l,e){"use strict";e.d(l,{C:()=>o});function r(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class o{addUnlinkedNode(a){this.categoryList[a.id]=a}cloneTree(){return new o({...this.topLevelCategories},{...this.categoryList})}constructor(a,i){r(this,"topLevelCategories",void 0),r(this,"categoryList",void 0),r(this,"addRootLevelCategory",(c,u)=>{this.topLevelCategories[c]=u}),r(this,"removeRootLevelCategory",c=>{delete this.topLevelCategories[c]}),r(this,"getAllCategories",()=>Object.values(this.categoryList)),r(this,"getTopLevelCategoryIds",()=>Object.values(this.topLevelCategories)),r(this,"getNodesInRenderOrder",()=>{let c=[];return this.getTopLevelCategoryIds().sort((u,f)=>this.findNode(u).displayIndex-this.findNode(f).displayIndex).forEach(u=>{const f=this.findNode(u);c=[...c,...this.getNodesInOrderHelper(f)]}),c}),r(this,"getNodesInOrderHelper",c=>{let u=[];return u.push(c),c.children&&Object.values(c.children).sort((f,d)=>f.displayIndex<d.displayIndex?-1:1).forEach(f=>{u=[...u,...this.getNodesInOrderHelper(f)]}),u}),r(this,"findNode",c=>this.categoryList[c]),r(this,"descendantNameContainsString",(c,u)=>{if(c.displayName.toUpperCase().includes(u.toUpperCase()))return!0;if(c.children&&Object.keys(c.children).length>0){for(const f of Object.values(c.children))if(this.descendantNameContainsString(f,u))return!0}else return!1;return!1}),r(this,"isChild",(c,u)=>{for(;u&&u.parentCategoryId;){if(u.parentCategoryId===c.id)return!0;u=this.findNode(u.parentCategoryId)}return!1}),r(this,"getSelectedSubnodes",(c,u)=>(c.selected&&u.add(c.id),c.children&&Object.values(c.children).forEach(f=>{u=this.getSelectedSubnodes(f,u)}),u)),r(this,"getSubNodeIds",c=>{const u=new Set;return u.add(c.id),c.children&&Object.values(c.children).forEach(f=>{this.getSubNodeIds(f).forEach(d=>u.add(d))}),u}),r(this,"getParentIds",c=>{const u=new Set;for(;c.parentNode;)u.add(c.parentNode.id),c=c.parentNode;return u}),r(this,"getExplicitIdsOnly",c=>{const u=new Set([...c]);return c.forEach(f=>{const d=this.findNode(f);d&&this.getParentIds(d).forEach(h=>{u.delete(h)})}),[...u]}),r(this,"getSubTreeDepth",c=>{let u=1;return c.children&&Object.values(c.children).forEach(f=>{u=Math.max(this.getSubTreeDepth(f)+1,u)}),u}),this.topLevelCategories=a,this.categoryList=i}}r(o,"constructCategoriesTree",function(n,a,i){let c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,u={children:{}},f=[...n];const d={},h={},g=c?1:0;return c?f=f.map(_=>({..._,fullSlug:`/root${_.fullSlug}`})):f=n.filter(_=>_.type!=="ROOT"),f.forEach(_=>{if(_.fullSlug){const p=_.fullSlug.split("/");p.shift();let y=u.children,O=u.children;p.forEach(P=>{if(!y[P]&&_.id){const C=_.fullSlug.split("/").length-1-g,A=_.parentCategoryId,S=_.fullSlug.lastIndexOf(_.shortSlug),T=_.fullSlug.substring(0,S),s={children:{},displayName:_.displayName,fullSlug:_.fullSlug,id:_.id,displayIndex:_.displayIndex,menuVisibility:!_.menuHidden,pageVisibility:_.pageRendering==="LIST_VIEW",level:C,parentCategoryId:A,parentNode:O.id?O:c?void 0:i,selected:!!a&&a.includes(_.id),shortSlug:_.shortSlug,slugPrefix:T,orderedItemIds:_.orderedItemIds,type:_.type};d[_.id]=s;let v=s;if(v.selected)for(;v.parentNode;)v=v.parentNode,v.selected=!0;y[P]=y=O=s}else O=y[P],y=y[P].children})}}),c&&Object.values(d).forEach(_=>{_.fullSlug=_.fullSlug.replace("/root",""),_.slugPrefix=_.slugPrefix.replace("/root","")}),u=u.children,Object.keys(u).forEach(_=>{h[_]=u[_].id}),Object.values(d).forEach(_=>{_.pageVisibility||o.setPageHidden(_,!0),!_.menuVisibility&&(_.type!=="ROOT"||!_.pageVisibility)&&o.setMenuHidden(_,!0)}),new o(h,d)}),r(o,"setMenuHidden",(n,a)=>{n&&!a&&(n.ancestorMenuHidden=!0),n.children&&Object.values(n.children).forEach(i=>{o.setMenuHidden(i)})}),r(o,"setPageHidden",(n,a)=>{n&&!a&&(n.ancestorPageHidden=!0),n.children&&Object.values(n.children).forEach(i=>{o.setPageHidden(i)})})},125582:function(b,l,e){"use strict";e.d(l,{C:()=>a});var r=e(960489),o=e.n(r),n=e(967361);const a=()=>n.Z.isFeatureGated(o().COMMERCE)&&n.Z.isFeatureGated(o().COMMERCE_CHECKOUT_ON_DOMAIN)&&n.Z.isFeatureEnabled(o().ADD_COMMERCE_PRODUCTS)},730842:function(b,l,e){"use strict";e.d(l,{Z:()=>qi});var r=e(600663),o=e(419467),n=e(931387),a=e(58713),i=e(681328),c=e(516614),u=e(324270),f=e(173585),d=e(769995),h=e(174161),g=e(821919),_=e(580774),p=e(655191),y=e(989250),O=e(996595),P=e(714487);const C=(0,_._)(f.L6,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.ALBUM_COLLECTION},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("99414"),e.e("85399"),e.e("3869"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("19410"),e.e("49886"),e.e("4735"),e.e("31596"),e.e("1793")]).then(e.bind(e,908429)))),A=(0,_._)(f.bl,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.ALBUM_COLLECTION},O.Z),S=(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.ALBUM_COLLECTION},Ko=>({[g._O]:(0,P.t)("Delete Album",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Deleted albums are no longer available and will be permanently deleted in 30 days",null,{project:"apps.ContentBrowser"}),[g.Kz]:(0,P.t)("No Categories Found",null,{project:"apps.ContentBrowser"}),[g.Os]:(0,P.t)("To manage categories, add them to tracks in this album first.",null,{project:"apps.ContentBrowser"}),[g.Xz]:(0,P.t)("No Tags Found",null,{project:"apps.ContentBrowser"}),[g.Kj]:(0,P.t)("To manage tags, add them to tracks in this album first.",null,{project:"apps.ContentBrowser"})})),T=[C,A,S];var s=e(667735),v=e.n(s),m=e(247380),E=e.n(m),I=e(791229),L=e(277945),W=e(522364),F=e(147291),G=e(686281),k=e(787592),x=e(487558),M=e(661614),B=e(916661);const R=["assetUrl","fullUrl","hasFileData","mainImage"];class U{onCreate(Ur,aa){const ca={...this.additionalDeterminants,collectionId:Ur},{recordType:As}=ca,Ri=(0,F.Z)({...aa,recordType:As,collectionId:Ur}),Ei={headers:{"X-AutoSave":!0}};return I.Z.createForCollection(Ri,Ei,ca).catch(pi=>{if(B.Z.isSevenOne()){var Gi,Eo;const _l=pi==null||(Eo=pi.response)===null||Eo===void 0||(Gi=Eo.data)===null||Gi===void 0?void 0:Gi.message;_l&&_l.includes("Request contains invalid data")&&k.$e(Al=>{Al.setTag("owner",E().WEBSITE_EDITOR),Al.setExtra("collectionId",Ur),Al.setExtra("item determinants",ca),Al.setExtra("item options",aa),Al.setExtra("item defaults data",Ri),Al.setExtra("collection stored",(0,M.Lg)((0,x.UT)())[Ur]),k.uT("ContentItem onCreate called with invalid collection")})}throw pi}).then(pi=>{let{data:Gi}=pi;return Gi})}onLoad(Ur,aa){const ca={...this.additionalDeterminants,collectionId:Ur},As=[I.Z.read(aa,!1,ca).then(Ri=>{let{data:Ei}=Ri;return Ei})];return this.hasContentStats&&As.push(L.Z.getTags(Ur).then(Ri=>{let{data:Ei}=Ri;return Ei}),L.Z.getCategories(Ur).then(Ri=>{let{data:Ei}=Ri;return Ei})),Promise.all(As).then(Ri=>{let[Ei,pi,Gi]=Ri;return{collectionId:Ur,item:(0,G.Z)(Ei),tags:pi,categories:Gi}})}onUpdate(Ur){const aa={...this.additionalDeterminants,...Ur};return I.Z.update((0,o.omit)(Ur,R),aa).then(ca=>(W.Z.contentBrowserSettingsSaved(ca.data),ca.data)).catch(ca=>{let{response:As}=ca;return Promise.reject(As.data)})}onDelete(Ur){const aa={...this.additionalDeterminants,item:Ur};return W.Z.delete(Ur.id,aa)}onDeleteEmbeddedAsset(Ur){return I.Z.deleteEmbeddedAsset(Ur)}onClone(Ur){let{id:aa}=Ur;return W.Z.copy(aa,v().DRAFT).then(ca=>(W.Z.contentBrowserSettingsSaved(ca),ca))}constructor({hasContentStats:Ur,additionalDeterminants:aa={}}){this.hasContentStats=Ur,this.additionalDeterminants=aa}}const j=U,$=new j({hasContentStats:!0}),ee=(0,_._)(f.L6,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.ALBUM_ITEM},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("84456"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("35174"),e.e("92928"),e.e("82350")]).then(e.bind(e,355535)))),te=(0,_._)(f.bl,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.ALBUM_ITEM},$),ie=(0,_._)(f.TY,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.ALBUM_ITEM},Ko=>({[g._O]:(0,P.t)("Delete Track",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Are you sure you want to delete this track from your album? This can\u2019t be undone.",null,{project:"apps.ContentBrowser"})})),ne=[ee,te,ie];var pe=e(817187),oe=e(394607),q=e(777903),J=e(365989),me=e(274414),re=e.n(me),he=e(699027),Ee=e(456903),fe=e(823036),H=e(530149),z=e.n(H);class _e extends q.Z{afterLoad(Ur){return{...super.afterLoad(Ur),type:z().COLLECTION_TYPE_GENERIC}}async fetchItems(Ur,aa){const ca=(0,he.Tg)(re().CHRONOLOGICAL).replace("{collectionId}",Ur),{data:As}=await Ee.default.get(ca,{params:{...aa,limit:20}}),{results:Ri,...Ei}=As;return{items:Ri.map(F.Z),pagination:Ei}}async search(Ur){let{collection:aa,query:ca,page:As,workflowState:Ri,currentResultCount:Ei}=Ur;const pi=await(0,fe.y)({collectionId:aa==null?void 0:aa.id,query:ca,page:As,workflowState:Ri}),{items:Gi,totalCount:Eo}=pi,_l=Gi.map(Wi=>(Wi.title=Wi.title.replace(/<em>|<\/em>/g,""),Wi)),Al=Gi.length+Ei<Eo,Pl=Al?As+1:As;return{newResults:_l,hasNextPage:Al,nextPageMarker:Pl}}}const ae=new _e(oe.w,{hasContentStats:!0,hasContentItems:!0},J);var ge=e(412010),Be=e(934951),Ke=e(412166),He=e(881707),ye=e(719484),Le=e(600994),Ue=e(213865),Xe=e(880330),Fe=e.n(Xe);const Ne=Ko=>{let{collection:Ur,icon:aa,key:ca,isLast:As,onClick:Ri}=Ko;const[Ei,pi]=(0,h.useState)(!1),Gi=Ur.navigationTitle||(0,P.t)("No Title",null,{project:"apps.ContentBrowser"}),Eo=(0,P.t)("Deleted on {date}",{date:(0,P.p6)(Ur.updatedOn,{date:"medium"})},{project:"apps.ContentBrowser"}),_l=!!Gi,Al=aa,Pl=/&amp;/g,Wi=(Gi||(0,P.t)("No Title",null,{project:"apps.ContentBrowser"})).replace(Pl,"&");return h.createElement("div",{key:ca},h.createElement(Ke.Z,{alignItems:"center",mt:0,mb:As?3:0,px:6,mx:-6,py:4,height:"sizes.350",className:Fe().container,bg:Ei?"gray.900":"transparent",borderTop:`1px solid ${Ue.colors.gray[700]}`,borderBottom:As?`1px solid ${Ue.colors.gray[700]}`:"",onMouseEnter:()=>pi(!0),onMouseLeave:()=>pi(!1)},h.createElement(Ke.Z,{flexGrow:1,alignItems:"center",overflow:"hidden",pb:"1px"},h.createElement(Al,null),h.createElement(He.Z,{overflow:"hidden",mx:2},h.createElement(ye.Z.Body,{m:"0",className:Fe().label,color:_l?"gray.100":"gray.400"},Wi),h.createElement(ye.Z.Caption,null,Eo))),h.createElement(Ke.Z,null,Ei?h.createElement(Le.Z.Tertiary,{onClick:Ri},h.createElement(Be.T,{project:"apps.ContentBrowser",notes:"Restore deleted page back to navigation"},"Restore")):null)))},we=Ko=>h.createElement(Ne,{...Ko,icon:ge.Z}),$e=(0,_._)(f.L6,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.BLOG_COLLECTION},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("99414"),e.e("85399"),e.e("3869"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("19410"),e.e("49886"),e.e("4735"),e.e("31596"),e.e("95371")]).then(e.bind(e,864681)))),Ot=(0,_._)(f.y0,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.BLOG_COLLECTION},we),Pt=(0,_._)(f.Vw,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.BLOG_COLLECTION&&B.Z.isSevenOne()},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("43104"),e.e("14540"),e.e("3976"),e.e("41901"),e.e("52947"),e.e("77593"),e.e("73865"),e.e("69682"),e.e("87831"),e.e("97908"),e.e("31552")]).then(e.bind(e,26634)))),Ie=(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.BLOG_COLLECTION},Ko=>({[g._O]:(0,P.t)("Delete Blog",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Deleted blog pages are no longer available and will be permanently deleted in 30 days",null,{project:"apps.ContentBrowser"}),[g.Kz]:(0,P.t)("No Categories Found",null,{project:"apps.ContentBrowser"}),[g.Os]:(0,P.t)("To manage categories, add them to posts in this blog first.",null,{project:"apps.ContentBrowser"}),[g.Xz]:(0,P.t)("No Tags Found",null,{project:"apps.ContentBrowser"}),[g.Kj]:(0,P.t)("To manage tags, add them to posts in this blog first.",null,{project:"apps.ContentBrowser"})}));function Bt(){return pe.B?ae:oe.Z}const mt=(0,_._)(f.bl,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.BLOG_COLLECTION},Bt()),rt=[$e,Pt,mt,Ot,Ie];var ce=e(270848),Re=e.n(ce),nt=e(668558),st=e.n(nt),vt=e(425364),ze=e(829499);const It={collectionOrdering:re().CHRONOLOGICAL,collectionType:z().COLLECTION_TYPE_GENERIC,recordType:Re().TEXT};class on extends j{onDelete(Ur,aa){const ca=aa?{...It,collectionId:Ur.collectionId}:{collectionId:Ur.collectionId};return I.Z.delete(Ur.id,ca)}onCreate(Ur,aa){const ca=ze.default.getState().commentsEnabled?st().ENABLED:st().DISABLED;return super.onCreate(Ur,{...vt.EMPTY_DATA,...aa,commentState:ca})}}const Pn=new on({hasContentStats:!0,additionalDeterminants:It}),Yn=(0,_._)(f.L6,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.BLOG_ITEM&&B.Z.isSevenOne()},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("84456"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("35174"),e.e("92928"),e.e("31916")]).then(e.bind(e,133861)))),Ln=(0,_._)(f.bl,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.BLOG_ITEM&&B.Z.isSevenOne()},Pn),bn=(0,_._)(f.TY,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.BLOG_ITEM},Ko=>({[g._O]:(0,P.t)("Delete Blog Post",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Deleted blog posts are no longer available and will be permanently deleted in 30 days.",null,{project:"apps.ContentBrowser"})})),ir=[Ln,Yn,bn];var Zn=e(41361);const $n=(0,_._)(f.L6,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.COVER_PAGE_70},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("99414"),e.e("85399"),e.e("3869"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("19410"),e.e("49886"),e.e("4735"),e.e("31596"),e.e("39515")]).then(e.bind(e,190739)))),jt=(0,_._)(f.bl,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.COVER_PAGE_70},Zn.Z),Rn=(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.COVER_PAGE_70},Ko=>({[g._O]:(0,P.t)("Delete Cover Page",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Deleted cover pages are no longer available and will be permanently deleted in 30 days",null,{project:"apps.ContentBrowser"})})),jn=[$n,jt,Rn];var Tn=e(428106);const Nn=(0,_._)(f.L6,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.CUSTOM_COLLECTION_70},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("99414"),e.e("85399"),e.e("3869"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("19410"),e.e("49886"),e.e("4735"),e.e("31596"),e.e("25045")]).then(e.bind(e,839426)))),cn=(0,_._)(f.bl,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.CUSTOM_COLLECTION_70},Tn.Z),or=(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.CUSTOM_COLLECTION_70},Ko=>({[g._O]:(0,P.t)("Delete Collection",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Deleted collection pages are no longer available and will be permanently deleted in 30 days",null,{project:"apps.ContentBrowser"}),[g.Kz]:(0,P.t)("No Categories Found",null,{project:"apps.ContentBrowser"}),[g.Os]:(0,P.t)("To manage categories, add them to items in this collection first.",null,{project:"apps.ContentBrowser"}),[g.Xz]:(0,P.t)("No Tags Found",null,{project:"apps.ContentBrowser"}),[g.Kj]:(0,P.t)("To manage tags, add them to items in this collection first.",null,{project:"apps.ContentBrowser"})})),qn=[Nn,cn,or];var Hr=e(373721);const Jr=Ko=>h.createElement(Ne,{...Ko,icon:Hr.Z});var ro=e(668562);const Xt=(0,_._)(f.L6,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.REGULAR_PAGE_DRAFT},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("99414"),e.e("85399"),e.e("3869"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("19410"),e.e("49886"),e.e("10287")]).then(e.bind(e,906815)))),Je=(0,_._)(f.y0,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.REGULAR_PAGE_DRAFT},Jr),At=(0,_._)(f.bl,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.REGULAR_PAGE_DRAFT},ro.Z),xt=(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.REGULAR_PAGE_DRAFT},Ko=>({[g._O]:(0,P.t)("Delete draft",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Are you sure you want to permanently delete {title}? Once deleted, it cannot be restored.",{title:Ko.title},{project:"apps.ContentBrowser"})})),Qt=[Xt,Je,At,xt];var qt=e(840763),Te=e(239161);const un=Ko=>h.createElement(Ne,{...Ko,icon:Te.Z});var Vt=e(35045),Dn=e(906346),Wt=e(281663);class Pe extends Wt.Z{afterLoad(Ur){return super.afterLoad({...Ur,title:Ur.eventName})}beforeSave(Ur){return super.beforeSave({...Ur,eventName:Ur.title})}async fetchItems(Ur,aa){const ca=(0,he.Tg)(re().CALENDAR).replace("{collectionId}",Ur),{data:As}=await Ee.default.get(ca,{params:{...aa,limit:20}}),{results:Ri,...Ei}=As;return{items:Ri.map(F.Z),pagination:Ei}}async search(Ur){let{collection:aa,query:ca,page:As,workflowState:Ri,currentResultCount:Ei}=Ur;const pi=await(0,fe.y)({collectionId:aa==null?void 0:aa.id,query:ca,page:As,workflowState:Ri}),{items:Gi,totalCount:Eo}=pi,_l=Gi.map(Wi=>(Wi.title=Wi.title.replace(/<em>|<\/em>/g,""),Wi)),Al=Gi.length+Ei<Eo,Pl=Al?As+1:As;return{newResults:_l,hasNextPage:Al,nextPageMarker:Pl}}}const xe=new Pe(qt.w,{hasContentStats:!0,hasContentItems:!0},J),Ae=(0,_._)(f.L6,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.EVENT_COLLECTION},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("99414"),e.e("85399"),e.e("3869"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("19410"),e.e("49886"),e.e("4735"),e.e("31596"),e.e("99198")]).then(e.bind(e,923273)))),qe=(0,_._)(f.Vw,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.EVENT_COLLECTION&&(B.Z.isSevenOne()||!Vt.default.getState().get("developerMode"))},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("43104"),e.e("3976"),e.e("77593"),e.e("87831"),e.e("35606")]).then(e.bind(e,484841)))),wt=(0,_._)(f.y0,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.EVENT_COLLECTION},un);function kt(){return Dn.B?xe:qt.Z}const ut=(0,_._)(f.bl,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.EVENT_COLLECTION},kt()),Ft=(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.EVENT_COLLECTION},Ko=>({[g._O]:(0,P.t)("Delete Event List",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Deleted event lists are no longer available and will be permanently deleted in 30 days",null,{project:"apps.ContentBrowser"}),[g.Kz]:(0,P.t)("No Categories Found",null,{project:"apps.ContentBrowser"}),[g.Os]:(0,P.t)("To manage categories, add them to events in this event list first.",null,{project:"apps.ContentBrowser"}),[g.Xz]:(0,P.t)("No Tags Found",null,{project:"apps.ContentBrowser"}),[g.Kj]:(0,P.t)("To manage tags, add them to events in this event list first.",null,{project:"apps.ContentBrowser"})})),tn=[Ae,ut,qe,wt,Ft];var In=e(459612),rr=e.n(In);const Sr={collectionOrdering:re().CALENDAR,collectionType:z().COLLECTION_TYPE_GENERIC,recordType:Re().EVENT};class Yr extends j{onCreate(Ur,aa){const ca=rr()().second(0).millisecond(0);ca.minute()>=30?(ca.add(1,"h"),ca.minute(0)):ca.minute(30);const As=rr()(ca);As.add(1,"h");const Ri={_type:"CalendarEvent",startDate:ca.valueOf(),endDate:As.valueOf()};return super.onCreate(Ur,{...vt.EMPTY_DATA,...aa,structuredContent:Ri})}}const Pr=new Yr({hasContentStats:!0,additionalDeterminants:Sr}),Mn=(0,_._)(f.L6,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.EVENT_ITEM&&B.Z.isSevenOne()},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("84456"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("35174"),e.e("92928"),e.e("88388")]).then(e.bind(e,285353)))),sr=(0,_._)(f.bl,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.EVENT_ITEM},Pr),Ar=(0,_._)(f.TY,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.EVENT_ITEM},Ko=>({[g._O]:(0,P.t)("Delete Event",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Are you sure you want to delete this event from your event list? This can\u2019t be undone.",null,{project:"apps.ContentBrowser"})})),vr=[Mn,sr,Ar];var qr=e(899136),Dr=e(890100);const eo="folders";class Vo extends Dr.Z{onUpdate(Ur){return super.onUpdate({...(0,qr.r6)(Ur.typeName||eo),...Ur})}constructor(){super(eo)}}const Bn=new Vo;var ar=e(589543);const rn="folder";class Rt extends Wt.Z{onCreate(Ur){return super.onCreate({...Ur,folderBehavior:ar.wd.REDIRECT,urlId:null})}onUpdate(Ur){return super.onUpdate({...(0,qr.r6)(Ur.typeName||rn),...Ur})}}const Qe=new Rt(rn,{hasContentStats:!1,hasContentItems:!1},J);var Ye=e(16930);const Ze=Ko=>h.createElement(Ne,{...Ko,icon:Ye.Z}),Mt=(0,_._)(f.L6,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.FOLDER},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("11546"),e.e("60217")]).then(e.bind(e,943712)))),ot=(0,_._)(f.y0,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.FOLDER},Ze);function et(){return B.Z.isSevenOne()?Qe:Bn}const St=(0,_._)(f.bl,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.FOLDER},et()),Ht=(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.FOLDER},Ko=>({[g._O]:(0,P.t)("Delete Dropdown",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Are you sure you want to delete this dropdown? This can\u2019t be undone.",null,{project:"apps.ContentBrowser"})})),er=[Mt,St,ot,Ht],Mr="gallery",mn=new Dr.Z(Mr,{hasContentStats:!0,hasContentItems:!0}),Un=(0,_._)(f.L6,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.GALLERY_COLLECTION_70},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("99414"),e.e("85399"),e.e("3869"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("19410"),e.e("49886"),e.e("4735"),e.e("31596"),e.e("91675")]).then(e.bind(e,417699)))),hr=(0,_._)(f.bl,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.GALLERY_COLLECTION_70},mn),br=(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.GALLERY_COLLECTION_70},Ko=>(Ko==null?void 0:Ko.typeName)==="project"?{[g._O]:(0,P.t)("Delete Project",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Deleted project pages are no longer available and will be permanently deleted in 30 days",null,{project:"apps.ContentBrowser"}),[g.Kz]:(0,P.t)("No Categories Found",null,{project:"apps.ContentBrowser"}),[g.Os]:(0,P.t)("To manage categories, add them to projects in this project collection first.",null,{project:"apps.ContentBrowser"}),[g.Xz]:(0,P.t)("No Tags Found",null,{project:"apps.ContentBrowser"}),[g.Kj]:(0,P.t)("To manage tags, add them to projects in this project collection first.",null,{project:"apps.ContentBrowser"})}:{[g._O]:(0,P.t)("Delete Gallery",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Deleted gallery pages are no longer available and will be permanently deleted in 30 days",null,{project:"apps.ContentBrowser"}),[g.Kz]:(0,P.t)("No Categories Found",null,{project:"apps.ContentBrowser"}),[g.Os]:(0,P.t)("To manage categories, add them to gallery items in this gallery first.",null,{project:"apps.ContentBrowser"}),[g.Xz]:(0,P.t)("No Tags Found",null,{project:"apps.ContentBrowser"}),[g.Kj]:(0,P.t)("To manage tags, add them to gallery items in this gallery first.",null,{project:"apps.ContentBrowser"})}),io=[Un,hr,br],Kr=new j({hasContentStats:!0}),xo=(0,_._)(f.L6,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.GALLERY_ITEM},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("84456"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("35174"),e.e("92928"),e.e("26245")]).then(e.bind(e,434580)))),Ho=(0,_._)(f.bl,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.GALLERY_ITEM},Kr),bo=(0,_._)(f.TY,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.GALLERY_ITEM},Ko=>({[g._O]:(0,P.t)("Delete Gallery Item",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Are you sure you want to delete this gallery item from your gallery? This can\u2019t be undone.",null,{project:"apps.ContentBrowser"})})),Ea=[xo,Ho,bo];var Ia=e(99589);const Da=(0,_._)(f.L6,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.INDEX_PAGE_70},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("99414"),e.e("85399"),e.e("3869"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("19410"),e.e("49886"),e.e("4735"),e.e("31596"),e.e("73278")]).then(e.bind(e,855609)))),Za=(0,_._)(f.bl,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.INDEX_PAGE_70},Ia.Z),Xa=(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.INDEX_PAGE_70},Ko=>({[g._O]:(0,P.t)("Delete Index Page",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Deleted index pages are no longer available and will be permanently deleted in 30 days.",null,{project:"apps.ContentBrowser"})})),ba=[Da,Za,Xa],Ja=[(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.LINK},Ko=>({[g._O]:(0,P.t)("Delete Link",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Are you sure you want to delete this link? This can\u2019t be undone.",null,{project:"apps.ContentBrowser"})}))];var Is=e(699760);const Qr=Ko=>h.createElement(Ne,{...Ko,icon:Hr.Z});class To extends q.Z{afterLoad(Ur){return{...super.afterLoad(Ur),type:z().COLLECTION_TYPE_PAGE}}}const xr=new To(Is.w,{hasContentStats:!1,hasContentItems:!1},J);var uo=e(472387),Mo=e(744793);const{forEachItem:go}=Mo.k,ea=(0,_._)(f.L6,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.REGULAR_PAGE},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("99414"),e.e("85399"),e.e("3869"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("19410"),e.e("49886"),e.e("4735"),e.e("31596"),e.e("784")]).then(e.bind(e,993280)))),ha=(0,_._)(f.y0,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.REGULAR_PAGE},Qr),yr=(0,_._)(f.bl,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.REGULAR_PAGE},ao()),Lr=(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.REGULAR_PAGE},Ko=>{var Ur;const aa={items:Object.values((0,M.$q)((0,x.UT)()))},ca=go(aa,Ri=>{if("collectionId"in Ri&&Ri.collectionId===(Ko==null?void 0:Ko.id))return Ri}),As=!(ca==null||(Ur=ca.items)===null||Ur===void 0)&&Ur.length?(0,P.t)("Deleted pages are no longer available and will be permanently deleted in 30 days. Any associated drafts are immediately deleted and cannot be restored.",null,{project:"apps.ContentBrowser"}):(0,P.t)("Deleted pages are no longer available and will be permanently deleted in 30 days.",null,{project:"apps.ContentBrowser"});return{[g._O]:(0,P.t)("Delete Page",null,{project:"apps.ContentBrowser"}),[g.wJ]:As}});function ao(){return uo.B?xr:new Is.Z}const ho=[ea,ha,yr,Lr];var Lo=e(935662),Yo=e.n(Lo),jo=e(762379),Xo=e(987993),Ua=e(727180);const us=Ko=>h.createElement(Ne,{...Ko,icon:Ua.Z}),ys=Ko=>(0,y.j)(Ko)===p.A.PRODUCT_COLLECTION&&jo.Z.isFeatureEnabled(Yo().NESTED_CATEGORIES),Ys=(0,_._)(f.Vw,Ko=>{let{collection:Ur}=Ko;return ys(Ur)},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("43104"),e.e("3017"),e.e("61618"),e.e("62250"),e.e("188"),e.e("11546"),e.e("37840"),e.e("19410"),e.e("3976"),e.e("84733"),e.e("60164"),e.e("66847"),e.e("87034"),e.e("79511"),e.e("77593"),e.e("91001"),e.e("82282"),e.e("87831"),e.e("19786")]).then(e.bind(e,569242)))),Gs=(0,_._)(f.L6,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.PRODUCT_COLLECTION},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("99414"),e.e("85399"),e.e("3869"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("19410"),e.e("49886"),e.e("4735"),e.e("31596"),e.e("21321")]).then(e.bind(e,949485)))),xs=(0,_._)(f.y0,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.PRODUCT_COLLECTION},us),Ai=(0,_._)(f.bl,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.PRODUCT_COLLECTION},Xo.Z),Pi=(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.PRODUCT_COLLECTION},Ko=>({[g._O]:(0,P.t)("Delete Store",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Deleted store pages are no longer available and will be permanently deleted in 30 days",null,{project:"apps.ContentBrowser"}),[g.Kz]:(0,P.t)("No Categories Found",null,{project:"apps.ContentBrowser"}),[g.Os]:(0,P.t)("To manage categories, add them to products in this store first.",null,{project:"apps.ContentBrowser"}),[g.Xz]:(0,P.t)("No Tags Found",null,{project:"apps.ContentBrowser"}),[g.Kj]:(0,P.t)("To manage tags, add them to products in this store first.",null,{project:"apps.ContentBrowser"})})),ei=[Ys,Gs,Ai,xs,Pi];var hi=e(637635);class ks{onCreate(Ur,aa){const ca={...this.additionalDeterminants,collectionId:Ur},{recordType:As}=ca,Ri=(0,F.Z)({...aa,recordType:As,collectionId:Ur}),Ei={headers:{"X-AutoSave":!0}};return I.Z.createForCollection(Ri,Ei,ca).then(pi=>{let{data:Gi}=pi;return Gi})}onLoad(Ur,aa){return this.ServiceAPI.getItem(this.type,Ur,aa).then(ca=>({item:ca}))}constructSeoImageOnItem(Ur){const ca=hi.Z.getState().toJS()[Ur.seoData.seoImageId],As=(0,o.pick)(ca,["dataSize","filename","ghost","id","websiteId"]);return delete Ur.seoData.seoImageId,Ur.seoData.seoDescription=Ur.seoData.seoDescription||"",Ur.seoData.seoImage={...As,assetUrls:[{height:0,width:0,url:ca.assetUrl}],mimeType:ca.contentType,focalPoint:{x:.5,y:.5,source:"DEFAULT"},type:"IMAGE"},Ur}onUpdate(Ur){let aa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;var ca,As,Ri,Ei,pi;Ur.thumbnailImage&&!Ur.thumbnailImage.id&&(Ur.thumbnailImage=null);const Gi=Ur==null||(As=Ur.seoData)===null||As===void 0||(ca=As.seoImage)===null||ca===void 0?void 0:ca.id;!(Ur==null||(Ri=Ur.seoData)===null||Ri===void 0)&&Ri.seoImage&&!Gi&&(Ur.seoData=(0,o.omit)(Ur.seoData,"seoImage")),!(!(Ur==null||(Ei=Ur.seoData)===null||Ei===void 0)&&Ei.seoImage)&&(!(Ur==null||(pi=Ur.seoData)===null||pi===void 0)&&pi.seoImageId)&&this.constructSeoImageOnItem(Ur);const Eo=(typeof Ur.workflowState=="number"?(0,o.invert)(v())[Ur.workflowState]:Ur.workflowState)||"DRAFT";return this.ServiceAPI.updateItem(this.type,Ur.parentCollectionId||Ur.collectionId,{...Ur,workflowState:Eo,updatedOn:Date.now()}).then(_l=>(aa&&u.default.setUrl(_l.fullUrl),_l))}onDelete(Ur){const aa={...this.additionalDeterminants,item:Ur};return W.Z.delete(Ur.id,aa)}onClone(Ur,aa){let{id:ca,parentCollectionId:As}=Ur;return I.Z.copy(ca,aa).then(Ri=>{let{data:{id:Ei}}=Ri;return this.ServiceAPI.getItem(this.type,As,Ei).then(pi=>pi)})}convertToJSFValue(Ur){return Ur}async mergeCollectionItemToRenderContext(Ur,aa){return aa}constructor(Ur,aa,ca={}){this.type=Ur,this.ServiceAPI=aa,this.additionalDeterminants=ca}}const Ms=ks;class bs extends Ms{onCreate(Ur,aa,ca){const As=Date.now(),Ri={...this.getBaseItem(),...aa,parentCollectionId:Ur,addedOn:As,publishOn:As};return this.ServiceAPI.createItem(this.type,Ur,Ri,ca)}getBaseItem(){return(0,o.isFunction)(this.newItemConfig)?this.newItemConfig():this.newItemConfig}onDelete(Ur){let{collectionId:aa,parentCollectionId:ca,id:As}=Ur;return this.ServiceAPI.deleteItem(this.type,ca||aa,As)}constructor(Ur,aa,ca){super(Ur,ca),this.newItemConfig=aa}}const Hs=bs;var Os=e(271685),Vs=e(345521);const _s={title:(0,P.t)("New Products Item",null,{project:"apps.ContentBrowser"}),subtitle:"",imageId:void 0,workflowState:0},fs="products";class Ss extends Hs{onLoad(Ur,aa){return Os.rV(window.Static.SQUARESPACE_CONTEXT.website.id,Ur,aa).then(ca=>({item:ca}))}onDelete(Ur){return Ee.default.delete(`/api/commerce/products/${Ur.id}`)}}const hs=new Ss(fs,_s,Vs),li=Ko=>jo.Z.isFeatureEnabled(Yo().NESTED_CATEGORIES)&&(0,y.V)(Ko)===p.J.PRODUCT_ITEM,Ni=(0,_._)(f.bl,Ko=>{let{contentItem:Ur}=Ko;return li(Ur)},hs),Ji=(0,_._)(f.TY,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.PRODUCT_ITEM},Ko=>({[g._O]:(0,P.t)("Delete Product",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Are you sure you want to delete this product from your store? This can\u2019t be undone.",null,{project:"apps.ContentBrowser"})})),wi=[Ni,Ji];var vi=e(64569);const Zi=Ko=>h.createElement(Ne,{...Ko,icon:vi.Z});var Zs=e(800191);const Bs=60,ti=J.TYPE_TO_ITEMS_KEY[Zs.D.PORTFOLIO];class gi extends Wt.Z{fetchItems(Ur){return J.getItems(this.typeName,Ur,Bs).then(aa=>({items:aa[ti]}))}}const yi=new gi(Zs.D.PORTFOLIO,{hasContentStats:!0,hasContentItems:!0},J),ki=(0,_._)(f.Vw,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.PORTFOLIO_COLLECTION},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("43104"),e.e("3976"),e.e("77593"),e.e("29095")]).then(e.bind(e,294465)))),bi=(0,_._)(f.y0,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.PORTFOLIO_COLLECTION},Zi),nl=(0,_._)(f.L6,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.PORTFOLIO_COLLECTION},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("99414"),e.e("85399"),e.e("3869"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("19410"),e.e("49886"),e.e("4735"),e.e("95127")]).then(e.bind(e,744628))));function Si(){return yi}const ta=(0,_._)(f.bl,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.PORTFOLIO_COLLECTION},Si()),ke=(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.PORTFOLIO_COLLECTION},Ko=>({[g._O]:(0,P.t)("Delete Portfolio",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Deleted portfolio pages are no longer available and will be permanently deleted in 30 days",null,{project:"apps.ContentBrowser"}),[g.Kz]:(0,P.t)("No Categories Found",null,{project:"apps.ContentBrowser"}),[g.Os]:(0,P.t)("To manage categories, add them to projects in this portfolio first.",null,{project:"apps.ContentBrowser"}),[g.Xz]:(0,P.t)("No Tags Found",null,{project:"apps.ContentBrowser"}),[g.Kj]:(0,P.t)("To manage tags, add them to projects in this portfolio first.",null,{project:"apps.ContentBrowser"})})),Jt=[ki,nl,ta,bi,ke];var Fn=e(478750),mr=e(963699);const Tr={title:(0,P.t)("New Portfolio Item",null,{project:"apps.ContentBrowser"}),subtitle:"",imageId:void 0,workflowState:(0,Fn.Z)()?mr.Z.DRAFT:0};class Oo extends Hs{onClone(Ur){let{id:aa,parentCollectionId:ca}=Ur;return super.onClone({id:aa,parentCollectionId:ca},v().DRAFT)}constructor(Ur,aa,ca){super(Ur,aa,ca)}}const Uo=new Oo(Zs.D.PORTFOLIO,Tr,Vs),gt=(0,_._)(f.L6,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.PORTFOLIO_ITEM},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("84456"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("35174"),e.e("92928"),e.e("88719")]).then(e.bind(e,226140)))),it=(0,_._)(f.bl,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.PORTFOLIO_ITEM},Uo),Lt=(0,_._)(f.TY,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.PORTFOLIO_ITEM},Ko=>({[g._O]:(0,P.t)("Delete Project",null,{project:"apps.ContentBrowser"}),[g.wJ]:(0,P.t)("Are you sure you want to delete this project from your portfolio? This can\u2019t be undone.",null,{project:"apps.ContentBrowser"})})),$t=[gt,it,Lt];var _n=e(468287),dn=e(540316);const Hn=Ko=>h.createElement(Ne,{...Ko,icon:dn.Z}),jr=(0,_._)(f.Vw,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.VIDEO_COLLECTION},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("43104"),e.e("14540"),e.e("3976"),e.e("41901"),e.e("84733"),e.e("52947"),e.e("77593"),e.e("73865"),e.e("69682"),e.e("35020"),e.e("87831"),e.e("97908"),e.e("75493")]).then(e.bind(e,666035)))),wo=(0,_._)(f.L6,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.VIDEO_COLLECTION},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("99414"),e.e("85399"),e.e("3869"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("19410"),e.e("49886"),e.e("4735"),e.e("43512")]).then(e.bind(e,7448)))),ko=(0,_._)(f.y0,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.VIDEO_COLLECTION},Hn),Sa=(0,_._)(f.bl,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.VIDEO_COLLECTION},_n.Z),Na=(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.VIDEO_COLLECTION},()=>({[g._O]:(0,P.t)("Delete videos page?",null,{project:"commerce.lessons"}),[g.wJ]:(0,P.t)("Deleted videos pages are no longer available and will be permanently deleted in 30 days. Videos you\u2019ve uploaded will remain in your library for use elsewhere.",null,{project:"commerce.lessons"}),[g.Kz]:(0,P.t)("No Categories Found",null,{project:"commerce.lessons"}),[g.Os]:(0,P.t)("To manage categories, add them to lessons in this store first.",null,{project:"commerce.lessons"}),[g.Xz]:(0,P.t)("No Tags Found",null,{project:"commerce.lessons"}),[g.Kj]:(0,P.t)("To manage tags, add them to lessons in this store first.",null,{project:"commerce.lessons"})})),qa=[jr,wo,Sa,ko,Na],ms={workflowState:"DRAFT"};class Us extends Hs{async onCreate(Ur,aa){const ca=await super.onCreate(Ur,aa);return qi.loadNestedCategories(Ur),ca}async onDelete(Ur){const aa=await super.onDelete(Ur);return qi.loadNestedCategories(Ur.parentCollectionId),aa}onUpdate(Ur){return super.onUpdate(Ur,!1)}onClone(Ur){return super.onClone(Ur,v().DRAFT)}}const $i=new Us(Zs.D.VIDEO_COLLECTION,ms,J),Mi=(0,_._)(f.L6,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.VIDEO_ITEM},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("84456"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("35174"),e.e("92928"),e.e("44301")]).then(e.bind(e,922873)))),si=(0,_._)(f.bl,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.VIDEO_ITEM},$i),rl=(0,_._)(f.TY,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.VIDEO_ITEM},()=>({[g._O]:(0,P.t)("Delete video item",null,{project:"commerce.lessons"}),[g.wJ]:(0,P.t)("Are you sure you want to delete this video item? Videos you\u2019ve uploaded will remain in your library for use elsewhere.",null,{project:"commerce.lessons"})})),El=[Mi,si,rl];var Ui=e(333993),il=e(755210);const oi=Ko=>h.createElement(Ne,{...Ko,icon:il.Z}),Nl=(0,_._)(f.Vw,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.COURSE_COLLECTION},(0,h.lazy)(()=>Promise.all([e.e("14540"),e.e("56750"),e.e("3976"),e.e("41901"),e.e("84733"),e.e("52947"),e.e("77593"),e.e("73865"),e.e("69682"),e.e("35020"),e.e("97908"),e.e("32141")]).then(e.bind(e,397106)))),xl=(0,_._)(f.L6,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.COURSE_COLLECTION},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("99414"),e.e("85399"),e.e("3869"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("19410"),e.e("49886"),e.e("4735"),e.e("10310")]).then(e.bind(e,715363)))),Ic=(0,_._)(f.y0,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.COURSE_COLLECTION},oi),Kl=(0,_._)(f.bl,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.COURSE_COLLECTION},Ui.Z),Jl=(0,_._)(f.TY,Ko=>{let{collection:Ur}=Ko;return(0,y.j)(Ur)===p.A.COURSE_COLLECTION},()=>({[g._O]:(0,P.t)("Delete course?",null,{project:"commerce.course"}),[g.wJ]:(0,P.t)("Deleted courses are no longer available and will be permanently deleted in 30 days. Videos you\u2019ve uploaded will remain in your library for use elsewhere.",null,{project:"commerce.course"}),[g.Kz]:(0,P.t)("No Categories Found",null,{project:"commerce.course"}),[g.Os]:(0,P.t)("To manage categories, add them to course in this store first.",null,{project:"commerce.course"})})),Vi=[Nl,xl,Kl,Ic,Jl];var _c=e(858579),mc=e(334691),zl=e(738423),$l=e(434960),ln=e(920577);async function sn(Ko){var Ur;if(!Ko)return null;const aa=(Ur=Ko.embeddedVideo)===null||Ur===void 0?void 0:Ur.url,ca=Ko.hostedVideoId,As=!!ca,Ri=aa?"embedded":As?"hosted":void 0;let Ei;if(As){const Gi=(await hi.Z.fetch(ca)).toJS();if(!Gi.hasFileData)return null;if(Ei={...Gi,defaultThumbnail:{assetUrl:Gi.alexandriaUrl.replace("{variant}","thumbnail")}},Ko.videoThumbnailImageId){const Eo=(await hi.Z.fetch(Ko.videoThumbnailImageId)).toJS();Ei.customThumbnail=Eo}}let pi;return aa&&(pi={oembedHtml:Ko.embeddedVideo.html,defaultThumbnail:{title:Ko.embeddedVideo.title,url:Ko.embeddedVideo.thumbnailUrl}}),{videoType:Ri,embeddedVideo:pi,hostedVideo:Ei}}const zn={workflowState:"DRAFT"};class Er extends Hs{async onCreate(Ur,aa,ca){return await super.onCreate(Ur,aa,ca)}async onDelete(Ur){return await super.onDelete(Ur)}async onUpdate(Ur){const aa=(0,_c.ZP)(Ur,As=>{delete As._draftAssets}),ca=!1;return await super.onUpdate(aa,ca),Ur._draftAssets&&(await(0,zl.H)({courseItem:Ur,persistedHostedVideo:Ur.courseItemContent.hostedVideo,draftHostedVideoAsset:Ur._draftAssets.hostedVideoAsset,persistedEmbeddedVideo:Ur.courseItemContent.embeddedVideo,draftEmbeddedVideo:Ur._draftAssets.embeddedVideo}),await(0,$l.r)({courseItem:Ur,persistedThumbnailContentItem:Ur.courseItemContent.customVideoThumbnailImage,draftThumbnailAsset:Ur._draftAssets.videoThumbnailImageAsset,thumbnailTarget:ln.w4.Video})),await qi.loadItem(Ur.id)}onClone(Ur){return super.onClone(Ur,v().DRAFT)}convertToJSFValue(Ur){if(Ur=super.convertToJSFValue(Ur),!Ur._draftAssets){const{hostedVideo:aa,embeddedVideo:ca,customVideoThumbnailImage:As}=Ur.courseItemContent;Ur={...Ur,_draftAssets:{hostedVideoId:(aa==null?void 0:aa.id)??null,hostedVideoAsset:aa&&(0,mc.q)(aa),videoThumbnailImageId:(As==null?void 0:As.id)??null,videoThumbnailImageAsset:As&&(0,mc.B)(As),embeddedVideo:ca&&{...ca}}}}return Ur}async mergeCollectionItemToRenderContext(Ur,aa){const{title:ca,id:As,_draftAssets:Ri,courseItemContent:{videoVisible:Ei}}=Ur,pi=await sn(Ri);return(0,_c.ZP)(aa,Gi=>{Gi.title=ca,Gi.videoVisible=Ei,pi&&(Gi.videoType=pi.videoType,Gi.hostedVideo=pi.hostedVideo,Gi.embeddedVideo=pi.embeddedVideo);const Eo=Gi.items.find(Pl=>Pl.id===As);if(Eo&&(Eo.title=ca,pi)){var _l,Al;Eo.videoType=pi.videoType,Eo.defaultHostedImage=(_l=pi.hostedVideo)===null||_l===void 0?void 0:_l.defaultThumbnail,Eo.embeddedVideoThumbnail=(Al=pi.embeddedVideo)===null||Al===void 0?void 0:Al.defaultThumbnail}})}}const zr=new Er(Zs.D.COURSE,zn,J),Ao=(0,_._)(f.L6,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.COURSE_ITEM},(0,h.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("38145"),e.e("8751"),e.e("84456"),e.e("11546"),e.e("37840"),e.e("9381"),e.e("78781"),e.e("14980"),e.e("35174"),e.e("92928"),e.e("50137")]).then(e.bind(e,477606)))),Zo=(0,_._)(f.bl,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.COURSE_ITEM},zr),ia=(0,_._)(f.TY,Ko=>{let{contentItem:Ur}=Ko;return(0,y.V)(Ur)===p.J.COURSE_ITEM},()=>({[g._O]:(0,P.t)("Delete course item",null,{project:"commerce.course"}),[g.wJ]:(0,P.t)("Are you sure you want to delete this lesson?",null,{project:"commerce.course"})})),So=[Ao,Zo,ia];function Ha(){const Ko=[qa,El];return[T,ne,rt,ir,jn,Qt,tn,vr,er,io,Ea,ba,Ja,ho,Jt,$t,...[Vi,So],...Ko,ei,wi,qn]}var is=e(314123),as=e(673092),es=e(505020),Qs=e(45614),Rs=e(440125),rs=e(984350),Cs=e(421616),Fs=e(85375),Ks=e(379958),Ls=e(617801),Js=e(227706);function Ts(Ko,Ur,aa){return Ur in Ko?Object.defineProperty(Ko,Ur,{value:aa,enumerable:!0,configurable:!0,writable:!0}):Ko[Ur]=aa,Ko}const zs=["folders","index","page"],{forEachItem:Bi}=Mo.k;function qs(Ko,Ur){(0,d.Tb)(Ko,{context:Ur})}const Ti=Ko=>{let{Y:Ur,collectionId:aa,itemId:ca,onSave:As=()=>{}}=Ko;const Ri=new Ur.Squarespace.Models.ContentItem({id:ca,collectionId:aa});Ri.load(()=>{const Ei=Ur.Squarespace.ContentItemEditorFactory.getEditor(Ri),pi=new Ei({model:Ri});pi.once("savingClose",()=>{u.default.setUrl(Ri.get("fullUrl")),As(Ri.toJSON())}),pi.show()})};class ui{init(){this.setContext(),this.unlistenToTemplateStore||(this.unlistenToTemplateStore=i.default.listen(Ur=>{let{id:aa}=Ur;return this.handleTemplateChange({id:aa})}))}destroy(){this.unlistenToTemplateStore&&(this.unlistenToTemplateStore(),this.unlistenToTemplateStore=null)}getState(){return(0,x.UT)()}handleTemplateChange(Ur){let{id:aa}=Ur;aa!==this.templateId&&this.setContext()}setContext(){var Ur,aa;(0,x.Ci)((0,is.Z)({authorId:(n.D===null||n.D===void 0||(Ur=n.D.authenticatedAccount)===null||Ur===void 0?void 0:Ur.id)??null,websiteId:(n.D===null||n.D===void 0||(aa=n.D.website)===null||aa===void 0?void 0:aa.id)??null,hasDeletedCollections:(n.D===null||n.D===void 0?void 0:n.D.hasDeletedCollections)??!1,homepageCollectionId:c.Z.getHomepageCollectionId(),summaries:(0,Js.k)(),...this.getTemplateConfiguration()}))}getTemplateConfiguration(){const{collectionConfigs:Ur={},demoCollections:aa,pageConfigs:ca,layouts:As,id:Ri}=i.default.getState();return this.templateId=Ri,{templateConfig:{collectionConfigs:Ur,pageConfigs:ca,layouts:As},customCollectionTypes:Object.keys(Ur).filter(Ei=>{var pi,Gi,Eo,_l,Al;return!(!((Al=window)===null||Al===void 0||(_l=Al.Static)===null||_l===void 0||(Eo=_l.SQUARESPACE_CONTEXT)===null||Eo===void 0||(Gi=Eo.template)===null||Gi===void 0||(pi=Gi.systemCollections)===null||pi===void 0)&&pi.includes(Ei))&&!zs.includes(Ei)}),demoCollectionIds:aa.map(Ei=>{let{collectionId:pi}=Ei;return pi})}}loadSiteLayout(){return(0,x.Ci)((0,Qs.n3)())}onSiteLayoutChange(Ur){return(0,x.Ho)(M.$q,Ur)}getCurrentCollection(){return M.Y0((0,x.UT)())}getSiteLayout(){return M.$q((0,x.UT)())}getSiteLayoutItem(Ur){const aa={items:Object.values(M.$q((0,x.UT)()))};return Bi(aa,ca=>{if("collectionId"in ca&&ca.collectionId===Ur)return ca})}isCollectionIdDraft(Ur){if(!Ur)return!1;const aa=this.getSiteLayoutItem(Ur);return!!(Ur&&aa&&"isDraft"in aa&&aa.isDraft)}createCollection(Ur,aa){try{return(0,x.Ci)((0,rs.BL)({typeName:Ur,options:aa})).unwrap()}catch(ca){qs(ca,{collectionType:Ur,options:aa})}}async syncCollection(Ur){try{return(0,x.Ci)((0,rs.kk)(Ur)).unwrap()}catch(aa){qs(aa,{collection:Ur})}}loadNestedCategories(Ur){try{return(0,x.Ci)((0,es.RE)(Ur)).unwrap()}catch(aa){qs(aa,{collectionId:Ur})}}updateNestedCategories(Ur,aa){try{return(0,x.Ci)((0,rs.Bh)({collectionId:Ur,tree:aa}))}catch(ca){qs(ca,{collectionId:Ur})}}updateCollection(Ur){try{return(0,x.Ci)((0,rs.Rm)({collection:Ur})).unwrap()}catch(aa){qs(aa,{collection:Ur})}}refreshCollection(Ur){try{return(0,x.Ci)((0,rs.e7)(Ur)).unwrap()}catch(aa){qs(aa,{collectionId:Ur})}}deleteCollection(Ur){let{silent:aa,modalTitle:ca,modalMessage:As,confirmLabel:Ri,confirmVariant:Ei,callback:pi}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{silent:!0};const Gi=(0,o.castArray)(Ur);try{return aa?(0,x.Ci)((0,rs.P4)(Gi)).unwrap():(0,x.Ci)((0,Fs._5)({title:ca,message:As,confirmLabel:Ri,confirmVariant:Ei},Ks.ge,[Gi],pi))}catch(Eo){qs(Eo,{collectionIds:Gi})}}cloneCollection(Ur){try{return(0,x.Ci)((0,rs.gh)(Ur)).unwrap().then(aa=>{let{collection:ca}=aa;return ca})}catch(aa){qs(aa,{collectionId:Ur})}}cloneDemoCollectionWithItem(Ur,aa){try{return(0,x.Ci)((0,rs.tp)({collectionId:Ur,itemId:aa})).unwrap().then(ca=>{let{collection:As,itemFullUrl:Ri}=ca;return{collection:As,itemFullUrl:Ri}})}catch(ca){qs(ca,{collectionId:Ur,itemId:aa})}}canEditCollection(Ur){return _.Z.accepts(f.Vw,{collection:Ur})}canHandleCollection(Ur){const aa=!!Ur&&_.Z.accepts(f.bl,{collection:Ur});if(!aa&&Ur){if(B.Z.isSevenOne())try{throw new Error("canHandleCollection false for 7.1 (v0.3)")}catch(ca){k.$e(As=>{As.setFingerprint(["canHandleCollection-7.1"]),As.setExtra("collection",Ur),As.setTag("owner",E().WEBSITE_EDITOR),k.Tb(ca)})}if(!B.Z.isSevenOne())try{throw new Error("canHandleCollection false for 7.0 (v0.3)")}catch(ca){k.$e(As=>{As.setFingerprint(["canHandleCollection-7.0"]),As.setExtra("collection",Ur),As.setTag("owner",E().WEBSITE_EDITOR),k.Tb(ca)})}}return aa}canEditItemSettings(Ur){return _.Z.accepts(f.L6,{contentItem:Ur})}onCollectionsChange(Ur){return(0,x.Ho)(M.Lg,Ur)}getCollections(){return M.Lg((0,x.UT)())}getCollectionsOfType(Ur,aa){return Object.values(this.getCollections()).filter(ca=>(0,Ls.rm)(ca)===Ur&&(aa||!(0,qr.$D)(ca.collectionId||ca.id)))}getCollection(Ur){if(Ur)return this.getCollections()[Ur]}getItem(Ur){return M.kk((0,x.UT)())[Ur]}loadItem(Ur){const aa=this.getItem(Ur);return(0,x.Ci)((0,es.oi)(aa)).then(ca=>{let{item:As}=ca;return As})}loadPersistedItem(Ur){return(0,x.Ci)((0,es.oi)(Ur)).then(aa=>{let{item:ca}=aa;return ca})}loadItemsForCategory(Ur,aa){return(0,x.Ci)((0,es.Cr)({collectionId:Ur,categoryId:aa})).unwrap()}updateItem(Ur){const aa=this.getItem(Ur.id);return(0,x.Ci)((0,es.$G)({...aa,...Ur}))}deleteEmbeddedAsset(Ur){const aa=this.getItem(Ur);return(0,x.Ci)((0,es.Oh)(aa))}syncItem(Ur){return(0,x.Ci)((0,es.HM)(Ur))}deleteItem(Ur,aa){return(0,x.Ci)((0,es.wz)(Ur,aa))}createCollectionCategory(Ur,aa){return(0,x.Ci)((0,rs.lN)({collectionId:Ur,category:aa})).unwrap()}showAlert(Ur,aa){return(0,x.Ci)((0,Rs.y)({title:Ur,message:aa}))}forLocation(Ur){let{params:{id:aa},query:{migrate:ca}}=Ur;if(ca==="false")return!1;const As=this.getCollection(aa);return As?this.canHandleCollection(As)&&this.canEditCollection(As):!1}isCollectionLoaded(Ur){return!!M.bG((0,x.UT)())[Ur]}loadCollection(Ur){try{return(0,x.Ci)((0,rs.Ys)(Ur)).unwrap()}catch(aa){qs(aa,{collectionId:Ur})}}showCollectionSettingsEditor(Ur,aa){try{(0,x.Ci)((0,as.AY)({collectionId:Ur,defaultTab:aa}))}catch(ca){qs(ca,{collectionId:Ur})}}showCollectionItemSettingsEditor(Ur,aa,ca){(0,x.Ci)((0,as.iJ)({itemToLoad:Ur,defaultTab:aa,isNewItem:ca}))}openItemSettingsEditor(Ur,aa,ca){(0,x.Ci)((0,as.WK)(Ur,aa,ca))}addItem(Ur){(0,x.Ci)((0,as.qq)(Ur))}setHomepage(Ur){return(0,x.Ci)((0,rs.qk)(Ur)).unwrap()}openNestedCategoriesMigrationModal(){(0,x.Ci)((0,Cs.cl)())}constructor(){Ts(this,"unlistenToTemplateStore",void 0),Ts(this,"templateId",void 0),Ts(this,"openEventModal70",(Ur,aa,ca)=>{Ti({Y:Ur,collectionId:aa,itemId:ca,onSave:this.syncItem})}),Ts(this,"addEvent70",async(Ur,aa)=>{const ca=await(0,x.Ci)((0,es.fC)(Re().EVENT,aa));this.openEventModal70(Ur,aa,ca.id)}),Ts(this,"createContentItem",(Ur,aa,ca)=>(0,x.Ci)((0,es.fC)(Ur,aa,ca))),Ts(this,"copyContentItem",Ur=>(0,x.Ci)((0,es.hd)(Ur))),(0,a.Z)()&&this.loadSiteLayout(),_.Z.addBundles(Ha()),this.unlistenToTemplateStore=null}}const qi=new ui},996595:function(b,l,e){"use strict";e.d(l,{Z:()=>c,w:()=>a});var r=e(419467),o=e.n(r),n=e(890100);const a="album";class i extends n.Z{onUpdate(f){return super.onUpdate({...f,metadata:f.metadata?(0,r.omit)(f.metadata,["albumCover"]):void 0})}constructor(){super(a,{hasContentStats:!0,hasContentItems:!0})}}const c=new i},394607:function(b,l,e){"use strict";e.d(l,{Z:()=>h,w:()=>f});var r=e(274414),o=e.n(r),n=e(890100),a=e(699027),i=e(456903),c=e(823036),u=e(147291);const f="blog";class d extends n.Z{async fetchItems(_,p){const y=(0,a.Tg)(o().CHRONOLOGICAL).replace("{collectionId}",_),{data:O}=await i.default.get(y,{params:{...p,limit:20}}),{results:P,...C}=O;return{items:P.map(u.Z),pagination:C}}async search(_){let{collection:p,query:y,page:O,workflowState:P,currentResultCount:C}=_;const A=await(0,c.y)({collectionId:p==null?void 0:p.id,query:y,page:O,workflowState:P}),{items:S,totalCount:T}=A,s=S.map(E=>(E.title=E.title.replace(/<em>|<\/em>/g,""),E.fullUrl=E.itemUrl,E)),v=S.length+C<T,m=v?O+1:O;return{newResults:s,hasNextPage:v,nextPageMarker:m}}}const h=new d(f,{hasContentStats:!0,hasContentItems:!0})},817187:function(b,l,e){"use strict";e.d(l,{B:()=>r});const r=!1},333993:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(861288),o=e.n(r),n=e(714487),a=e(281663),i=e(365989),c=e(899136),u=e(800191);function f(g,_,p){return _ in g?Object.defineProperty(g,_,{value:p,enumerable:!0,configurable:!0,writable:!0}):g[_]=p,g}class d extends a.Z{onCreate(_){const p={...(0,c.r6)(_.typeName||this.typeName),..._,navigationTitle:(0,n.t)("Course",null,{project:"commerce.course"}),urlId:o()()};return this.ServiceAPI.createCollection(this.typeName,{...p})}async onLoad(_){const[{collection:p}]=await Promise.all([super.onLoad(_)]);return{collection:p}}async mergeCollectionToRenderContext(_,p){return{...p,courseName:_.title,courseDescription:_.description}}constructor(..._){super(..._),f(this,"itemsPerPage",250)}}const h=new d(u.D.COURSE,{hasContentStats:!0,hasContentItems:!0},i)},367059:function(b,l,e){"use strict";e.d(l,{KZ:()=>d,Qi:()=>u,R7:()=>a,et:()=>i,x9:()=>f});var r=e(456903);const o=h=>`/api/course-service/content/courses/${h}/ordering`,n=h=>{let{data:g}=h;return g},a=h=>{const g=o(h);return r.default.get(g).then(n)},i=(h,g)=>{const _=o(h);return r.default.put(_,g).then(n)},c=(h,g)=>{const _=`${o(h)}/add-course-items`,p={courseItems:[{path:"/",courseItemIds:[g]}]};return axios.put(_,p).then(n)},u=(h,g)=>{const _=`${o(h)}/chapters`;return r.default.post(_,{title:g}).then(n)},f=(h,g,_)=>{const p=`${o(h)}/chapters/${g}/update-title`;return r.default.put(p,{title:_}).then(n)},d=(h,g)=>{const _=`${o(h)}/chapters/${g}`;return r.default.delete(_).then(n)}},116413:function(b,l,e){"use strict";e.d(l,{$y:()=>o,Ey:()=>r,Io:()=>h,JN:()=>u,NT:()=>c,Np:()=>i,OE:()=>_,P2:()=>f,ZA:()=>g,_h:()=>d,et:()=>O,it:()=>y,wd:()=>p});const r=P=>P.type==="chapter",o=P=>P.type==="courseItem",n=(P,C)=>{for(let A=0;A<P.courseContents.length;A++){const S=P.courseContents[A];if(r(S)&&S.id===C)return{chapter:S,chapterIndex:A}}return null},a=(P,C)=>{for(let A=0;A<P.courseContents.length;A++){const S=P.courseContents[A];if(r(S))for(let T=0;T<S.courseItems.length;T++){const s=S.courseItems[T];if(s.id===C)return{courseItem:s,courseItemIndex:T,chapter:S,chapterIndex:A}}else if(S.id===C)return{courseItem:S,courseItemIndex:A}}return null},i=P=>({id:P,type:"courseItem"}),c=(P,C,A)=>{const S={...P},T={id:C,type:"courseItem"};if(A){var s;const v=n(S,A);v==null||(s=v.chapter)===null||s===void 0||s.courseItems.push(T)}else S.courseContents.push(T);return S},u=function(P,C,A){let S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;const T=a(P,C);if(T===null)return P;const{courseItemIndex:s,chapterIndex:v}=T,m=S===1?s+1:s,E={...P};return v!==void 0?E.courseContents[v].courseItems.splice(m,0,A):E.courseContents.splice(m,0,A),E},f=(P,C)=>{const A={...P};return A.courseContents=A.courseContents.reduce((S,T)=>(r(T)&&(T.courseItems=T.courseItems.filter(C)),(r(T)||C(T))&&S.push(T),S),[]),A},d=(P,C,A,S)=>{let T;const s=f(P,m=>m.id===C?(T=m,!1):!0);if(T)if(A){var v;const m=n(s,A);m==null||(v=m.chapter)===null||v===void 0||v.courseItems.splice(S,0,T)}else s.courseContents.splice(S,0,T);return s},h=(P,C,A)=>{const S=(L,W,F)=>{const G=(W==null?void 0:W.courseItems)??P.courseContents,k=F?G.length:Math.max(G.length-1,0);return L>=0&&L<=k?d(P,C,W==null?void 0:W.id,L):P},T=a(P,C);if(!T)return P;const{courseItemIndex:s,chapter:v,chapterIndex:m}=T,E=s+A;if(v)return E===-1?S(m,null,!0):E===v.courseItems.length?S(m+1,null,!0):S(E,v,!1);const I=P.courseContents[E];if(I){if(r(I)){const L=A<0?I.courseItems.length:0;return S(L,I,!0)}return S(E,null,!1)}return P},g=(P,C,A)=>{const S={...P};return S.courseContents.push({id:C,type:"chapter",title:A,courseItems:[]}),S},_=(P,C,A)=>{const S={...P};return S.courseContents=S.courseContents.map(T=>r(T)&&T.id===C?{...T,title:A}:T),S},p=(P,C)=>{const A={...P};return A.courseContents=A.courseContents.reduce((S,T)=>((o(T)||C(T))&&S.push(T),S),[]),A},y=(P,C,A)=>{let S;const T=p(P,s=>s.id===C?(S=s,!1):!0);return S&&T.courseContents.splice(A,0,S),T},O=(P,C,A)=>{const S=n(P,C);if(!S)return P;const{chapterIndex:T}=S,s=T+A;return s>=0&&s<P.courseContents.length?y(P,C,s):P}},322605:function(b,l,e){"use strict";e.d(l,{EQ:()=>i,Op:()=>n,a3:()=>a,lY:()=>c});var r=e(204770),o=e(920577);const n="course-item-thumbnail",a="course-item-video",i=a+r.iY.VIDEO;function c(u){switch(u){case o.w4.CollectionItem:return n;case o.w4.Video:return a+r.iY.IMAGE}}},334691:function(b,l,e){"use strict";e.d(l,{B:()=>n,q:()=>a});var r=e(58468),o=e(850882);const n=i=>({id:i.systemDataId,contentItemId:i.id,assetType:o.h.IMAGE,assetUrl:i.assetUrls[0].url,fileType:i.mimeType,filename:i.filename,licensedAssetPreview:void 0,mediaFocalPoint:i.focalPoint}),a=i=>{const{videoFileFormat:c,videoCodec:u,audioCodec:f}=i,d=i.resolutions.split(","),h=O=>f?`${c}-${u}-${f}-${O}`:`${c}-${u}-${O}`,_=d.map(O=>h(O))[0],p=i.assetUrl.replace("{variant}",_),y=i.assetUrl.replace("{variant}","thumbnail");return{id:i.systemDataId,contentItemId:i.id,assetType:o.h.VIDEO,assetUrl:p,thumbnailUrl:y,filename:i.filename,fileDuration:i.durationInSeconds}}},920577:function(b,l,e){"use strict";e.d(l,{A5:()=>f,MV:()=>c,d_:()=>u,iM:()=>d,w4:()=>a});var r=e(456903),o=e(474698),n=e(655392),a=function(h){return h.CollectionItem="collection-item",h.Video="video",h}({});const i=(h,g,_)=>{const p=(0,n.D)(h,g);switch(_){case"collection-item":return`${p}/thumbnail-image`;case"video":return`${p}/video-thumbnail-image`}},c=(h,g,_,p)=>{const{id:y}=o.Z.getState().toObject();return[{method:"POST",url:`${i(h,g,_)}/image-reference`,data:{systemDataId:p,authorId:y}}]},u=(h,g,_,p)=>{const y=`${i(h,g,_)}/image-reference`;return r.default.post(y,p)},f=(h,g,_,p)=>{const y=`${i(h,g,_)}/focal-point`;return r.default.put(y,p)},d=(h,g,_)=>r.default.delete(i(h,g,_))},655392:function(b,l,e){"use strict";e.d(l,{D:()=>o});const r="/api/course-service/content/courses",o=(n,a)=>`${r}/${n}/course-items/${a}`},434960:function(b,l,e){"use strict";e.d(l,{r:()=>u});var r=e(58468),o=e(971558),n=e(839403),a=e(115729),i=e(920577),c=e(322605);async function u(f){let{courseItem:d,persistedThumbnailContentItem:h,draftThumbnailAsset:g,thumbnailTarget:_}=f;const{parentCollectionId:p,id:y,authorId:O}=d,P=(0,c.lY)(_),C=g==null?void 0:g.id,A=!!C,S=(h==null?void 0:h.systemDataId)!==C,T=o.Z(P,y),s=T&&(0,n.sP)(T.uploadState);if(S&&!A){await(0,i.iM)(p,y,_);return}if(s?await a.Z(P,y,!0):S&&A&&await(0,i.d_)(p,y,_,{authorId:O,systemDataId:C}),A){const v=g.mediaFocalPoint;await(0,i.A5)(p,y,_,v)}}},738423:function(b,l,e){"use strict";e.d(l,{H:()=>_});var r=e(58468),o=e(456903),n=e(655392);const a=(p,y,O)=>{const P=(0,n.D)(p,y);return o.default.post(`${P}/video/embedded`,O)},i=(p,y)=>{const O=(0,n.D)(p,y);return o.default.delete(`${O}/video/embedded`)},c=(p,y,O)=>{const P=(0,n.D)(p,y);return o.default.post(`${P}/video/hosted`,O)},u=(p,y)=>{const O=(0,n.D)(p,y);return o.default.delete(`${O}/video/hosted`)};var f=e(971558),d=e(839403),h=e(115729),g=e(322605);async function _(p){let{courseItem:y,persistedHostedVideo:O,draftHostedVideoAsset:P,persistedEmbeddedVideo:C,draftEmbeddedVideo:A}=p;const{id:S,parentCollectionId:T,authorId:s}=y,v=A==null?void 0:A.html,m=(C==null?void 0:C.url)!==(A==null?void 0:A.url),E=P==null?void 0:P.id,I=!!E,L=(O==null?void 0:O.systemDataId)!==E,W=f.Z(g.EQ,S),F=W&&(0,d.sP)(W.uploadState);if(m&&!v&&!I){await i(T,S);return}if(L&&!I&&!v){await u(T,S);return}if(m&&v){await a(T,S,A);return}if(F){await h.Z(g.EQ,S,!0);return}L&&I&&await c(T,S,{authorId:s,systemDataId:E})}},41361:function(b,l,e){"use strict";e.d(l,{Z:()=>n,w:()=>o});var r=e(890100);const o="splash-page",n=new r.Z(o)},428106:function(b,l,e){"use strict";e.d(l,{Z:()=>n,w:()=>o});var r=e(890100);const o="",n=new r.Z(o,{hasContentStats:!0,hasContentItems:!0})},668562:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(890100),o=e(899136),n=e(699760),a=e(456903);class i extends n.Z{onUpdateDraftTitle(f,d){return a.default.put(`/api/content/draft/${f}/rename`,{title:d,navigationTitle:d}).then(h=>{let{data:g}=h;return r.Z.handleErrorOrReturn(g,o.vI)})}onDelete(f){return a.default.delete(`/api/content/draft/${f.id}`).then(d=>{let{data:h}=d;return r.Z.handleErrorOrReturn(h)})}publishDraft(f){return a.default.post("/api/content/copy/draft-publish",{},{headers:{"Content-Type":"application/json"},params:{sourceId:f}})}createDraft(f){return a.default.post("/api/content/copy/collection-draft",{},{headers:{"Content-Type":"application/json"},params:{sourceId:f}}).then(d=>{let{data:h}=d;return r.Z.handleErrorOrReturn(h)})}constructor(){super()}}const c=new i},840763:function(b,l,e){"use strict";e.d(l,{Z:()=>f,w:()=>c});var r=e(274414),o=e.n(r),n=e(890100),a=e(699027),i=e(456903);const c="events";class u extends n.Z{fetchItems(h,g){const _=(0,a.Tg)(o().CALENDAR).replace("{collectionId}",h);return i.default.get(_,{params:{...g,limit:40}}).then(p=>{let{data:{results:y,...O}}=p;return{items:y,pagination:O}})}}const f=new u(c,{hasContentStats:!0,hasContentItems:!0})},906346:function(b,l,e){"use strict";e.d(l,{B:()=>o});var r=e(916661);const o=r.Z.isSevenOne()},99589:function(b,l,e){"use strict";e.d(l,{Z:()=>n,w:()=>o});var r=e(890100);const o="index",n=new r.Z(o)},699760:function(b,l,e){"use strict";e.d(l,{Z:()=>i,w:()=>o});var r=e(890100);const o="page";function n(c){return c.typeName||(c.typeName=o),c}class a extends r.Z{onCreate(u){return super.onCreate(u).then(n)}onLoad(u){return super.onLoad(u).then(f=>{let{collection:d}=f;return{collection:n(d)}})}onUpdate(u){return super.onUpdate(u).then(n)}onClone(u){return super.onClone(u).then(f=>{let{collection:d,collectionId:h}=f;return{collectionId:h,collection:n(d)}})}constructor(){super(o)}}const i=a},472387:function(b,l,e){"use strict";e.d(l,{B:()=>r});const r=!1},987993:function(b,l,e){"use strict";e.d(l,{Z:()=>A,w:()=>y});var r=e(935662),o=e.n(r),n=e(247380),a=e.n(n),i=e(762379),c=e(456903),u=e(618662),f=e(890100),d=e(281663),h=e(365989),g=e(734622),_=e(899136),p=e(787592);const y="products",O=async S=>{const T={method:"get",headers:{Accept:"application/json","Content-Type":"application/json"}},s=c.default.request({url:`/api/product-content-service/products/${S}`,...T}),v=c.default.request({url:`/api/product-content-service/products/${S}/categories/tree`,...T}),[{data:m},{data:{categoryTree:E}}]=await Promise.all([s,v]);return{collection:m,nestedCategories:E}};class P extends d.Z{beforeSave(T){return T.typeName!=="products"&&p.$e(s=>{s.setTag("typeName",T.typeName),s.setExtra("collection",T),s.setTag("owner",a().WEBSITE_EDITOR),p.uT("Products Collection save called with invalid typename")}),T}async onLoad(T){if((0,_.$D)(T))return O(T);const[{collection:s,tags:v,categories:m},{nestedCategories:E}]=await Promise.all([super.onLoad(T),this.getNestedCategories(T)]);return{collection:s,tags:v,categories:m,nestedCategories:E}}fetchItems(){return Promise.resolve({products:[]})}async loadItemsForCategory(T,s,v){const m=await h.queryProductItems(y,T,{...v,queryTermDTO:{queryCriteria:"ORDERED_PRODUCT",queryFilters:[{filterCriteria:"categoryId",filterParameter:s}]}});return{items:m[h.TYPE_TO_ITEMS_KEY[y]],pagination:m.pagination}}async getNestedCategories(T){return{nestedCategories:await g.ZP.getNestedCategories(y,T)}}async onClone(T){const{collection:s,collectionId:v,tags:m,categories:E}=await super.onClone(T),{nestedCategories:I}=await this.getNestedCategories(v);return{collectionId:v,collection:s,tags:m,categories:E,nestedCategories:I}}async onUpdateRootCategory(T,s){return{nestedCategories:await g.ZP.updateRootCategory(T,s)}}async onUpdateCategory(T,s){return{nestedCategories:await g.ZP.updateCategory(T,s)}}async search(T){const{collection:s,category:v,query:{searchQuery:m,nextPageMarker:E}}=T,{products:I,pagination:{hasNextPage:L,hasPrevPage:W,nextPageMarker:F}}=await h.queryProductItems(y,s.id,{marker:E,queryTermDTO:{queryCriteria:"CATEGORY_PRODUCT_SEARCH",queryDirection:"ASCENDING",queryFilters:[{filterCriteria:"categoryId",filterParameter:v.id},{filterCriteria:"keywords",filterParameter:m}]}});return(0,u.YC)(s,v,I.length),{newResults:I,hasNextPage:L,hasPrevPage:W,nextPageMarker:F}}}const A=i.Z.isFeatureEnabled(o().NESTED_CATEGORIES)?new P(y,{hasContentStats:!0,hasContentItems:!0},h):new f.Z(y,{hasContentStats:!0,hasContentItems:!0})},468287:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(861288),o=e.n(r),n=e(714487),a=e(281663),i=e(365989),c=e(734622),u=e(899136),f=e(800191);class d extends a.Z{onCreate(_){const p={...(0,u.r6)(_.typeName||this.typeName),..._,navigationTitle:(0,n.t)("Videos",null,{project:"commerce.lessons"}),urlId:o()()};return this.ServiceAPI.createCollection(this.typeName,{lessonsCollection:p,rootCategoryDisplayName:(0,n.t)("All",null,{project:"commerce.lessons"})})}async onUpdateRootCategory(_,p){return{nestedCategories:await c.ZP.updateCategory(_,p,f.D.VIDEO_COLLECTION)}}async onUpdateCategory(_,p){return{nestedCategories:await c.ZP.updateCategory(_,p,f.D.VIDEO_COLLECTION)}}async onLoad(_){const[{collection:p,tags:y,categories:O},{nestedCategories:P}]=await Promise.all([super.onLoad(_),this.getNestedCategories(_)]);return{collection:p,tags:y,categories:O,nestedCategories:P}}async loadItemsForCategory(_,p,y){const O=await i.searchItems(f.D.VIDEO_COLLECTION,_,{...y,queryTermDTO:{queryCriteria:"ORDERED_LESSON",queryFilters:[{filterCriteria:"categoryId",filterParameter:p}]}});return{items:O[i.TYPE_TO_ITEMS_KEY[f.D.VIDEO_COLLECTION]],pagination:O.pagination}}async getNestedCategories(_){return{nestedCategories:await c.ZP.getNestedCategories(f.D.VIDEO_COLLECTION,_)}}async onDeleteItemsBulk(_,p){return i.deleteVideoItemsBulk(f.D.VIDEO_COLLECTION,_,p)}}const h=new d(f.D.VIDEO_COLLECTION,{hasContentStats:!0,hasContentItems:!0},i)},89084:function(b,l,e){"use strict";e.d(l,{$5:()=>_,J:()=>g,oP:()=>f});var r=e(750954),o=e.n(r),n=e(810276),a=e.n(n),i=e(261279),c=e(563259);const u=[i.x.PRODUCT_TYPE_PICKER,i.x.COURSE_ONBOARDING,i.x.MORE_WAYS_TO_SELL_COURSE_WIDGET,i.x.DIGITAL_PRODUCTS_INVENTORY_PANEL,i.x.DIGITAL_PRODUCTS_CREATION_WIZARD],f=p=>{let{pageCategory:y,pageSubcategory:O}=p;switch(y){case o().LESSONS:return a().VIDEO_COLLECTION;case o().COURSE:return a().COURSE;case o().MEMBER_SITE_HOMEPAGE:return a().MEMBER_SITE;case o().BLOG:return a().BLOG;case o().CONTENT_AND_MEMBERSHIPS:switch(O){case o().MEMBER_SITE:return a().MEMBER_SITE;case o().VIDEOS:return a().VIDEO_COLLECTION;case o().COURSE:return a().COURSE;case o().BLOG:return a().BLOG}}},d=(p,y)=>!!f({pageCategory:p,pageSubcategory:y}),h=p=>u.includes(p),g=p=>{let{pageCategory:y,pageSubcategory:O,entryPoint:P}=p;return d(y,O)&&h(P)};async function _(p){let{pageCategory:y,pageSubcategory:O,pageCatalogEntryPoint:P,pricingPlanName:C,collectionId:A}=p;if(g({pageCategory:y,pageSubcategory:O,entryPoint:P})){const S=f({pageCategory:y,pageSubcategory:O});if(!S)throw new Error(`No digital product type found for ${y} category`);await(0,c.E)(A,S,C)}}},83277:function(b,l,e){"use strict";e.d(l,{H:()=>k});var r=e(620477),o=e(419467),n=e(92839);function a(x,M){if((x??[]).length!==(M??[]).length)return!1;for(let B=0;B<(x??[]).length;B++)if((x??[])[B]!==(M??[])[B])return!1;return!0}const c=x=>{const M={},B={},R={};return function(){for(var j=arguments.length,$=new Array(j),ee=0;ee<j;ee++)$[ee]=arguments[ee];const te=$[0];return R[te]&&a($,M[te])||(B[te]=x.apply(this,$),R[te]=!0,M[te]=$),B[te]}};var u=e(714487),f=e(487558),d=e(606954);const h="navigationManager",g="sitemap",_="SITE_HOMEPAGE",{GROUP:p,MEMBER_AREAS:y,MEMBER_AREA:O}=n.gJ,P=(0,u.t)("Not Linked",null,{project:"apps.ContentBrowser"}),C=Object.values(n.Yi),A=[O],S=C.filter(x=>![n.Yi.SUBSCRIPTION,n.Yi.GALLERY_BLOCK,n.Yi.TEMPLATE_PAGE,n.Yi.FOLDERS,n.Yi.MEMBER_SITE].includes(x)),T=x=>{const{homepageCollectionId:M}=(0,f.UT)().context;return M===x},s=c((x,M,B)=>{const R=(B==null?void 0:B[M.typeName])||{};return{...M,id:x,items:M.items?W(M.items):[],canAdd:R.folder,acceptTypes:R.acceptTypes||[],metaExcludeTypes:[],metaType:T(x)?_:void 0,isNavigation:!1,isCollapsible:R.folder,supportsEmptyRegion:R.folder,emptyRegionMessage:(0,u.t)("This dropdown is empty",null,{project:"apps.ContentBrowser"})}}),v=c((x,M)=>({id:x,items:[],title:M.title,typeName:n.Yi.LINK,externalLink:M,acceptTypes:[],metaExcludeTypes:[],canAdd:!1})),m=c((x,M,B,R)=>({id:x,title:M,name:M,memberAreaId:x,pagePermissionType:R,typeName:O,acceptTypes:S,metaExcludeTypes:[_],items:B?W(B):[],canAdd:!0,isNavigation:!1,isCollapsible:!1,supportsEmptyRegion:!0})),E=(x,M)=>{if(x.collectionId)return s(x.collectionId,x,M);if(x.externalLink)return v(x.externalLink.id,x.externalLink);if(x.memberAreaId)return m(x.memberAreaId,x.title,x.items,x.pagePermissionType)},I=x=>{switch(x){case d.jl:return(0,u.t)("Main Navigation is Empty",null,{project:"apps.ContentBrowser"});case d.Dr:return(0,u.t)("There are no member sites",null,{project:"apps.ContentBrowser"});case d.ZE:return(0,u.t)("Not Linked is Empty",null,{project:"apps.ContentBrowser"})}},L=x=>{switch(x){case d.jl:return(0,u.t)("Main Navigation",null,{project:"apps.ContentBrowser"});case d.Dr:return(0,u.t)("Member Sites",null,{project:"apps.ContentBrowser"});case d.ZE:return(0,u.t)("Not Linked",null,{project:"apps.ContentBrowser"})}},W=(x,M)=>(0,o.compact)(x.map(B=>E(B,M))),F=(0,r.default)(function(x,M){let B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,R=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return x?{id:x.identifier,name:B?P:L(x.identifier),items:W(x.items,M),typeName:p,isMemberAreas:R,isUngrouped:B,acceptTypes:R?A:C,metaExcludeTypes:R?[O]:[],canAdd:!0,isNavigation:!0,supportsEmptyRegion:!0,isCollapsible:!0,emptyRegionMessage:I(x.identifier)}:void 0});function G(x,M){return Object.keys(x).reduce((B,R)=>{if(R!==h&&R!==g){const U=x[R];B.push(F(U,M))}return B},[])}function k(x,M){const{_hidden:B,_memberareas:R,...U}=x;return{items:(0,o.compact)([...G(U,M),F(R,M,!1,!0),F(B,M,!0,!1)]),acceptTypes:[p,y],metaExcludeTypes:[],canAdd:!1}}},606954:function(b,l,e){"use strict";e.d(l,{Dr:()=>o,ZE:()=>n,jl:()=>r});const r="mainNav",o="_memberareas",n="_hidden"},580774:function(b,l,e){"use strict";e.d(l,{_:()=>i,Z:()=>c});var r=e(173585);function o(u,f,d){return f in u?Object.defineProperty(u,f,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[f]=d,u}const n=()=>null;class a{addBundles(f){f.flat().forEach(d=>{let{key:h,accepts:g,record:_}=d;if(!(h in this.records))throw new Error("Bad registration for unknown registry key "+h);this.records[h].push({accepts:g,record:_})})}_find(f){for(var d=arguments.length,h=new Array(d>1?d-1:0),g=1;g<d;g++)h[g-1]=arguments[g];return this.records[f].find(_=>{let{accepts:p}=_;return p(...h)})}accepts(f){for(var d=arguments.length,h=new Array(d>1?d-1:0),g=1;g<d;g++)h[g-1]=arguments[g];return this.records.hasOwnProperty(f)&&!!this._find(f,...h)}get(f){for(var d=arguments.length,h=new Array(d>1?d-1:0),g=1;g<d;g++)h[g-1]=arguments[g];const _=f in this.fallbacks?this.fallbacks[f]:n;if(this.records.hasOwnProperty(f)){const p=this._find(f,...h);if(p!=null&&p.record)return p.record}return _}constructor(){o(this,"records",{[r.bl]:[],[r.Vw]:[],[r.y0]:[],[r.L6]:[],[r.TY]:[]}),o(this,"fallbacks",{[r.bl]:null,[r.TY]:()=>({})})}}function i(u,f,d){return{key:u,accepts:f,record:d}}const c=new a},890100:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(419467),o=e.n(r),n=e(277945),a=e(714487),i=e(899136),c=e(769995);function u(h,g,_){return g in h?Object.defineProperty(h,g,{value:_,enumerable:!0,configurable:!0,writable:!0}):h[g]=_,h}class f{static async fetchCategories(g){const{data:_}=await n.Z.getCategories(g);return _}static async fetchTags(g){const{data:_}=await n.Z.getTags(g);return _}static async fetchCollection(g){const{data:_}=await n.Z.readCollectionSettings(g);return f.handleErrorOrReturn(_,i.vI)}static async generateURL(g){const{data:_}=await n.Z.generateUrl(g)??{};return _==null?void 0:_.urlId}static handleErrorOrReturn(g,_){return g&&typeof g=="object"&&"error"in g&&g.error?Promise.reject(g):_?_(g):g}async onCreate(g){const{data:_}=await n.Z.create({...(0,i.r6)(g.typeName||this.typeName),...(0,r.omit)(g,"typeName")});return f.handleErrorOrReturn(_)}async onLoad(g){const _=this.hasContentStats?[f.fetchCollection(g),f.fetchTags(g),f.fetchCategories(g)]:[f.fetchCollection(g)],[p,y,O]=await Promise.all(_);return{collection:p,tags:y,categories:O}}async onUpdate(g){let _=g.urlId;g.urlId||(_=await f.generateURL(g));const{data:p}=await n.Z.create({...g,collectionId:g.id,urlId:_});return f.handleErrorOrReturn(p,i.vI)}async onDelete(g){if(!g||!g.id)return(0,c.n_)({category:"BaseContentCollectionAPI",message:"Calling onDelete without a valid collection!",data:{collection:g},level:"debug"}),Promise.resolve();const{data:_}=await n.Z.delete(g.id);return f.handleErrorOrReturn(_)}async onClone(g){const _=(0,i.$D)(g)||this.typeName==="splash-page"?n.Z.clone(g):n.Z.copy(g),{data:p}=await _,y=f.handleErrorOrReturn(p,A=>{const S=(0,i.vI)(A);return(0,c.n_)({category:"BaseContentCollectionAPI",message:`Calling adaptCollection collectionId#${g}`,data:{collection:A,adaptedCollection:S,responseData:p},level:"debug"}),S});(!y||!y.id)&&(0,c.n_)({category:"BaseContentCollectionAPI",message:`Issue with cloning collection #${g}!`,data:{collection:y},level:"error"});const{id:O}=y??{};if(!this.hasContentStats)return{collection:y,collectionId:O};const[P,C]=await Promise.all([f.fetchTags(O),f.fetchCategories(O)]);return{collection:y,tags:P,categories:C,collectionId:O}}async onCloneDemoWithItem(g,_){if(!(0,i.$D)(g))throw new Error((0,a.t)("The collection should be a demo collection!",null,{project:"apps.ContentBrowser"}));const{data:p}=await n.Z.cloneDemoWithItem(g,_),{collection:y,itemFullUrl:O}=f.handleErrorOrReturn(p.collection,S=>{const T=(0,i.vI)(S);return(0,c.n_)({category:"BaseContentCollectionAPI",message:`Calling adaptCollection collectionId#${g} itemId#${_}`,data:{collection:y,adaptedCollection:T,itemFullUrl:p.itemFullUrl,responseData:p},level:"debug"}),{collection:T,itemFullUrl:p.itemFullUrl}});(!y||!y.id)&&(0,c.n_)({category:"BaseContentCollectionAPI",message:`Issue with cloning collection #${g} and item #${_}!`,data:{collection:y},level:"error"});const{id:P}=y??{};if(!this.hasContentStats)return{collection:y,collectionId:P,itemFullUrl:O};const[C,A]=await Promise.all([f.fetchTags(P),f.fetchCategories(P)]);return{collection:y,tags:C,categories:A,collectionId:P,itemFullUrl:O}}fetchItems(){return Promise.resolve({items:[]})}constructor(g,{hasContentStats:_=!1,hasContentItems:p=!1}={}){u(this,"typeName",void 0),u(this,"hasContentStats",void 0),u(this,"hasContentItems",void 0),this.typeName=g,this.hasContentStats=_,this.hasContentItems=p}}const d=f},777903:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(419467),o=e.n(r),n=e(899136),a=e(681328),i=e(890100),c=e(345521),u=e(883583),f=e(589543),d=e(723796);const h=(0,d.hu)("BaseContentServiceCollectionAPI","red");class g extends i.Z{onLoad(y){if(a.default.isDemoCollectionId(y))return super.onLoad(y);const O=[this.ServiceAPI.getCollection(this.typeName,y).then(n.vI)];return this.hasContentStats&&O.push(i.Z.fetchTags(y),i.Z.fetchCategories(y)),Promise.all(O).then(P=>{let[C,A,S]=P;return{collection:this.afterLoad(C),tags:A,categories:S}})}async onUpdate(y){let O=Promise.resolve(y.urlId);y.urlId||(O=i.Z.generateURL(y));const P=await O,C=(0,r.get)(y,"seoData.seoImage.id");y.seoData&&y.seoData.seoImage&&!C&&(y.seoData=(0,r.omit)(y.seoData,"seoImage"));const A=this.beforeSave({...y,urlId:P}),S=await this.ServiceAPI.updateCollection(this.typeName,A),T=this.afterLoad(S);return(0,n.vI)(T)}fetchItems(y){return this.hasContentItems?this.ServiceAPI.getItems(this.typeName,y,this.itemsPerPage).then(O=>({items:O[this.ServiceAPI.TYPE_TO_ITEMS_KEY[this.typeName]]})):Promise.resolve({items:[]})}reorderItems(y,O){return this.ServiceAPI.reorderItems(this.typeName,y,O)}afterLoad(y){return y.folderBehavior&&typeof y.folderBehavior=="string"?{...y,folderBehavior:(0,f.c6)(y.folderBehavior)}:y}beforeSave(y){let O=y;return typeof(y==null?void 0:y.permissionType)=="number"?(O={...O,pagePermissionType:(0,u.OX)(y.permissionType)},h("converted collection.permissionType to collection.pagePermissionType",y)):typeof(y==null?void 0:y.pagePermissionType)=="number"&&(O={...O,pagePermissionType:(0,u.OX)(y.pagePermissionType)},h("converted collection.pagePermissionType to string",y)),y.folderBehavior&&typeof y.folderBehavior=="number"&&(O={...O,folderBehavior:(0,f.QE)(y.folderBehavior)}),O}async mergeCollectionToRenderContext(y,O){return O}constructor(y,O,P){super(y,O),this.ServiceAPI=P||c}}const _=g},281663:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(861288),o=e.n(r),n=e(777903),a=e(899136),i=e(681328);class c extends n.Z{onCreate(d){const h=this.beforeSave({...(0,a.r6)(d.typeName||this.typeName),...d,urlId:d.urlId||o()()});return this.ServiceAPI.createCollection(this.typeName,h)}onDelete(d){return i.default.isDemoCollectionId(d.id)?super.onDelete(d):this.ServiceAPI.deleteCollection(this.typeName,d.id)}}const u=c},496099:function(b,l,e){"use strict";e.d(l,{B:()=>c,Z:()=>u});var r=e(174161),o=e(655191),n=e(916661);const a=()=>null,i=new Map(n.Z.isSevenOne()?[[o.J.EVENT_ITEM,(0,r.lazy)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("84456"),e.e("11546"),e.e("35174"),e.e("83902")]).then(e.bind(e,703249)))]]:[]),c=f=>f&&i.has(f)?i.get(f):a,u=i},330905:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(174161),o=e(881707);const n={lineHeight:4,fontSize:1,textAlign:"center"},i=r.memo(c=>{let{message:u}=c;return r.createElement(o.Z,{color:"gray.300",border:"2px dashed",borderColor:"gray.600",mx:6,my:1,sx:n},r.createElement("p",null,u))})},744793:function(b,l,e){"use strict";e.d(l,{k:()=>Ke,Z:()=>He});var r=e(174161),o=e(419467),n=e(881707);const a=r.createContext(null);var i=e(213865),c=e(743398),u=e(139581),f=e(630015),d=e(722448),h=e.n(d),g=e(810573),_=e(246699);const y=r.memo(ye=>{let{isDragging:Le,item:Ue,isLastChild:Xe,path:Fe,itemComponent:ht,isCollapsed:Ne,handleToggleCollapsed:Ce,isSelecting:we,isSelected:$e,handleToggleSelected:Ot}=ye;return Le?r.createElement(n.Z,{height:"44px"},r.createElement(n.Z,{height:"43px",border:"1px dashed #e1e1e1"})):r.createElement(ht,{item:Ue,path:Fe,isLastChild:Xe,isCollapsed:Ne,handleToggleCollapsed:Ce,isSelecting:we,isSelected:$e,handleToggleSelected:Ot})});var O=e(739676),P=e(98666),C=e(974538),A=e(387582);const{selectHasPermission:S}=g.wl,T=ye=>{let{item:Le,isLastChild:Ue,parentItem:Xe,path:Fe,maxItemHeight:ht,isParentCollapsed:Ne}=ye;var Ce,we,$e,Ot,Pt,Ie;const{ItemComponent:Bt,disabledItemIds:mt,selectedItemIds:rt,onSetItemSelected:ce}=(0,r.useContext)(a),[Re,nt]=(0,P.Z)((0,C.r)(Le.id),!1),{active:st,over:vt}=(0,u.Cj)(),ze=(0,_.v9)(S(h().CONFIG_CHANGE_STRUCTURE)),{isDraft:It,isPending:on}=Le,Pn=Le.isCollapsible||!1,Yn=Re&&Pn,Ln=!!(st!=null&&st.id),bn=(st==null?void 0:st.id)===Le.id,ir=!mt.has(Le.id)&&!It&&!on&&ze,Zn=st&&st.data.current?st.data.current.item.typeName:null,$n=st&&st.data.current?st.data.current.item.metaType:null,jt=(st==null||($e=st.data)===null||$e===void 0||(we=$e.current)===null||we===void 0||(Ce=we.item)===null||Ce===void 0?void 0:Ce.pagePermissionType)??null,Rn=(st==null||(Ie=st.data)===null||Ie===void 0||(Pt=Ie.current)===null||Pt===void 0||(Ot=Pt.parent)===null||Ot===void 0?void 0:Ot.id)??null,jn=(0,r.useCallback)(Gt=>{nt(Gt!==void 0?Gt:un=>!un)},[nt]),Tn=rt.size>0,Nn=rt.has(Le.id),cn=(0,r.useCallback)(()=>ce==null?void 0:ce(Le.id,!Nn),[Nn,Le.id,ce]),or=Xe?Xe.acceptTypes.includes(Zn)&&!Xe.metaExcludeTypes.includes(jt)&&!Xe.metaExcludeTypes.includes($n)&&!Ne:!0,qn=Le?Le.acceptTypes.includes(Zn)&&!Le.metaExcludeTypes.includes($n)&&!Le.metaExcludeTypes.includes(jt):!0,Hr=Xe.metaExcludeTypes.includes(Zn),fo=Xe.id===A.Z.memberAreaNavigationName,ro=Ln?fo?!bn&&!or&&!qn:!bn&&!or:!1,Xt=Ln&&fo&&(vt==null?void 0:vt.id)===Le.id&&Rn!==Xe.id,{attributes:Je,listeners:At,setNodeRef:xt,transform:Qt,transition:qt}=(0,c.nB)({id:Le.id,disabled:{draggable:!ir,droppable:ro},data:{path:Fe,item:Le,parent:Xe}}),Te={transform:O.ux.Transform.toString(Qt),transition:qt,touchAction:ir?"manipulation":""};return r.createElement(n.Z,null,r.createElement("div",{style:Te,...Je,ref:xt,tabIndex:-1},r.createElement("div",{...At,style:{opacity:st&&!or&&!qn||Hr?.3:1,...Xt&&{backgroundColor:"#ebebeb"}},"data-test":"grouped-list-item"},r.createElement(y,{isDragging:bn,item:Le,isLastChild:Ue,path:Fe,itemComponent:Bt,isCollapsed:Yn,handleToggleCollapsed:Pn?jn:null,isSelecting:Tn,isSelected:Nn,handleToggleSelected:cn})),!fo&&r.createElement(pe,{parentItem:Le,path:Fe,canAdd:Le.canAdd||!1,items:Le.items,supportsEmptyRegion:Le.supportsEmptyRegion||!1,emptyRegionMessage:Le.emptyRegionMessage||"",isDisabled:bn,isCollapsed:Yn,isParentCollapsed:Ne,isCollapsible:Pn,maxItemHeight:ht})))},s=r.memo(T);var v=e(92839),m=e(330905),E=e(488609),I=e(337061),L=e(487558),W=e(661614),F=e(938077),G=e(897820);const k=ye=>{let{item:Le,isLastChild:Ue,path:Xe,maxItemHeight:Fe}=ye;var ht,Ne,Ce;const{ItemComponent:we}=(0,r.useContext)(a),$e=(0,I.useCmsDispatch)(),Ot=Le.id,Pt=(0,I.useCmsSelector)((0,F.getCollapsedNavGroup)(Le.id)),Ie=(0,L.k1)(W.s$),Bt=(0,r.useCallback)(Yn=>$e((0,G._z)({navGroupId:Ot,manualValue:Yn})),[Ot,$e]),{active:mt}=(0,u.Cj)(),rt=Le.isCollapsible||!1,ce=Pt&&rt,Re=(0,I.useCmsSelector)(F.getPagesPanelHasActiveSearch),nt=Ue&&!Re&&Ie,st=mt&&mt.data.current?mt.data.current.item.typeName:null,vt=mt&&mt.data.current?mt.data.current.item.metaType:null,ze=(mt==null||(Ce=mt.data)===null||Ce===void 0||(Ne=Ce.current)===null||Ne===void 0||(ht=Ne.item)===null||ht===void 0?void 0:ht.pagePermissionType)??null,It=(0,r.useCallback)(()=>{ce&&Bt(!1)},[ce,Bt]),on=Le?Le.acceptTypes.includes(st)&&!Le.metaExcludeTypes.includes(vt)&&!Le.metaExcludeTypes.includes(ze):!0,{setNodeRef:Pn}=(0,u.Zj)({id:Le.id,disabled:!ce,data:{path:Xe,item:Le,openCollapsedGroupOnDragHover:It,isNavGroup:!0}});return r.createElement(n.Z,null,r.createElement("div",{ref:Pn,tabIndex:-1},r.createElement("div",{style:{opacity:mt&&!ce&&!on?.3:1},"data-test":"grouped-list-item"},r.createElement(y,{item:Le,isLastChild:Ue,path:Xe,itemComponent:we,isCollapsed:ce,handleToggleCollapsed:rt?Bt:null})),r.createElement(pe,{parentItem:Le,path:Xe,canAdd:Le.canAdd||!1,items:Le.items,supportsEmptyRegion:Le.supportsEmptyRegion||!1,emptyRegionMessage:Le.emptyRegionMessage||"",isDisabled:!1,isCollapsed:ce,isParentCollapsed:ce,isCollapsible:rt,maxItemHeight:Fe})),nt?r.createElement(E.Z,{width:"auto",mx:6,my:4}):null)},x=r.memo(k);var M=e(370938);const B=ye=>ye===v.gJ.MEMBER_AREA?f.TV:{},R=`opacity .4s ${i.easing.product.entrance}`,U="108px",j={overflow:"hidden",opacity:"1",maxHeight:"max-content",transition:R,visibility:"visible"},$=ye=>ye.reduce((Ue,Xe)=>Ue+$(Xe.items),ye.length),ee=(ye,Le,Ue,Xe)=>{const Fe=(0,M.Z)(Le),ht=$(ye),Ne=ye.length>0?`${(ht+1)*Xe}px`:U;return{...Fe,overflow:"hidden",maxHeight:Ue?Le?"0px":Ne:"max-content"}},te=ye=>ye.typeName===v.gJ.GROUP,ie=[],ne=ye=>{let{canAdd:Le,parentItem:Ue,items:Xe=ie,path:Fe="",supportsEmptyRegion:ht,emptyRegionMessage:Ne="",isDisabled:Ce=!1,isCollapsed:we=!1,isParentCollapsed:$e=!1,isCollapsible:Ot=!1,maxItemHeight:Pt}=ye;const{AddItemComponent:Ie,draggingItem:Bt}=(0,r.useContext)(a),[mt,rt]=(0,r.useState)(j),ce=!Xe.length&&ht,Re=Bt&&Ue?!Ue.acceptTypes.includes(Bt.typeName)||Bt.metaType&&Ue.metaExcludeTypes.includes(Bt.metaType)||Bt.pagePermissionType&&Ue.metaExcludeTypes.includes(Bt.pagePermissionType)||we||$e:!1,{setNodeRef:nt}=(0,u.Zj)({id:`${Ue==null?void 0:Ue.id}-EMPTY_REGION_DROPZONE`,disabled:!Ue||(Bt==null?void 0:Bt.id)===(Ue==null?void 0:Ue.id)||!ce||Re,data:{isEmptyDropzone:!0,item:Ue}});return(0,r.useEffect)(()=>{rt(ee(Xe,we,Ot,Pt))},[we,Xe,Ot,Pt,Fe]),Le||Xe.length>0||ce?r.createElement(n.Z,{className:"rpp-item-list",m:0,p:0,sx:Ue==null?void 0:Ue.itemListStyles},r.createElement(c.Fo,{strategy:c.qw,items:Xe.map(st=>{let{id:vt}=st;return vt})},r.createElement(n.Z,{position:"relative",style:mt},Xe.map((st,vt)=>r.createElement("div",{key:st.id,...B(st.typeName)},te(st)?r.createElement(x,{item:st,path:Fe?`${Fe}.${vt}`:`${vt}`,isLastChild:vt===Xe.length-1,maxItemHeight:Pt}):r.createElement(s,{item:st,parentItem:Ue,isParentCollapsed:we||$e,path:Fe?`${Fe}.${vt}`:`${vt}`,isLastChild:vt===Xe.length-1,maxItemHeight:Pt}))),ce?r.createElement(n.Z,{ref:nt,opacity:Re?.3:1},r.createElement(m.Z,{message:Ne})):null,Le&&Ie?r.createElement(n.Z,{opacity:Ce||Re?.3:1},r.createElement(Ie,{path:Fe??"",group:Ue})):null))):null},pe=r.memo(ne);function oe(ye){return(ye.items??[]).reduce((Le,Ue)=>({...Le,[Ue.id]:ye.id,...oe(Ue)}),{})}function q(ye){return(ye.items??[]).reduce((Le,Ue)=>({...Le,...q(Ue)}),"id"in ye&&ye.id?{[ye.id]:ye}:{})}function J(ye){let{groups:Le,active:Ue,over:Xe}=ye;var Fe,ht,Ne;const Ce=(0,o.cloneDeep)(Le),we=q(Ce),$e=oe(Ce),Ot=we[Ue.id],Pt=we[Xe.id],Ie=we[$e[Ot.id]];Ie.items.splice(Ie.items.findIndex(Re=>{let{id:nt}=Re;return nt===Ot.id}),1);const mt=(((Ne=Ue.rect)===null||Ne===void 0||(ht=Ne.current)===null||ht===void 0||(Fe=ht.translated)===null||Fe===void 0?void 0:Fe.top)??0)>Xe.rect.top?1:0,rt=we[$e[Pt.id]],ce=rt.items.findIndex(Re=>{let{id:nt}=Re;return nt===Pt.id})+mt;return rt.items.splice(ce,0,Ot),Ce}function me(ye){let{groups:Le,item:Ue,targetItem:Xe}=ye;const Fe=(0,o.cloneDeep)(Le),ht=q(Fe),Ne=oe(Fe),Ce=ht[Ne[Ue.id]],we=Ce.items.findIndex(Ot=>{let{id:Pt}=Ot;return Pt===Ue.id}),$e=Ce.items.findIndex(Ot=>{let{id:Pt}=Ot;return Pt===Xe.id});return Ce.items.splice(we,1),Ce.items.splice($e,0,Ue),Fe}function re(ye){let{groups:Le,active:Ue,over:Xe}=ye;var Fe,ht;const Ne=(0,o.cloneDeep)(Le),Ce=q(Ne),we=oe(Ne),$e=Ce[(Fe=Xe.data.current)===null||Fe===void 0?void 0:Fe.item.id],Ot=Ce[we[Ue.id]],Pt=Ot.items.findIndex(Ie=>{let{id:Bt}=Ie;return Bt===Ue.id});return Ot.items.splice(Pt,1),$e.items.push((ht=Ue.data.current)===null||ht===void 0?void 0:ht.item),Ne}function he(ye){let{groups:Le,active:Ue,over:Xe,direction:Fe}=ye;const ht=(0,o.cloneDeep)(Le),Ne=q(ht),Ce=oe(ht),we=Ne[Ue.id],$e=Ne[Xe.id],Ot=Ne[$e.id];Ot.items.splice(Ot.items.findIndex(Bt=>{let{id:mt}=Bt;return mt===we.id}),1);const Pt=Fe==="UP"?0:1,Ie=Ne[Ce[$e.id]];return Ie.items.splice(Ie.items.findIndex(Bt=>{let{id:mt}=Bt;return mt===$e.id})+Pt,0,we),ht}var Ee=e(413019),fe=e(69637),H=e(69822);const z=()=>null,_e=750,ge=[ye=>{let{draggingNodeRect:Le,transform:Ue,activatorEvent:Xe}=ye;if(Le&&Xe){const Fe=(0,O.DC)(Xe);if(!Fe)return Ue;const ht=Fe.y-Le.top,Ce=Le.height/2-ht;return{...Ue,x:0,y:Ue.y-Ce/2}}return{x:0,y:Ue.y,scaleX:1,scaleY:1}}];function Be(ye){let{disabledItemIds:Le=new Set,addItemComponent:Ue=z,itemComponent:Xe,groups:Fe,onDragStart:ht=o.noop,onDragEnd:Ne=o.noop,selectedItemIds:Ce=new Set,onSetItemSelected:we=o.noop,maxItemHeight:$e=70,style:Ot,shouldDisableDnD:Pt=!1}=ye;const[Ie,Bt]=(0,r.useState)(()=>(0,o.cloneDeep)(Fe));(0,r.useEffect)(()=>{Bt((0,o.cloneDeep)(Fe))},[Fe]);const[mt,rt]=(0,r.useState)(""),[ce,Re]=(0,r.useState)(null),nt=(0,r.useRef)(null),st=(0,r.useRef)(Ie),vt=(0,r.useRef)(null),ze=(0,r.useRef)(null),It=(0,r.useMemo)(()=>oe(Ie),[Ie]),on=(0,r.useMemo)(()=>q(Ie),[Ie]),Pn=(0,r.useMemo)(()=>({disabledItemIds:Le,draggingItem:ce,AddItemComponent:Ue,ItemComponent:Xe,selectedItemIds:Ce,onSetItemSelected:we}),[Le,ce,Ue,Xe,Ce,we]);(0,r.useEffect)(()=>{const Tn=(0,Ee.L8)("click-pages-nav-to-pages-panel-ready",{tracer:fe.Z,requireStart:!0}),Nn=Tn!=null&&Tn.duration?Math.round(Tn.duration):0;(0,H.BQ)({totalTime:Nn})},[]);const Yn=(0,r.useRef)([]),Ln=Tn=>{const{droppableContainers:Nn,droppableRects:cn,active:or}=Tn,qn=(0,u.j2)(Tn),Hr=qn.length>0?qn:(0,u.Xo)(Tn),fo=(0,u._8)(Hr,"id"),Jr=fo&&Object.values(It).includes(fo);if(fo!==or.id&&Jr){const ro=cn.get(fo),Xt=Nn.filter(xt=>{let{id:Qt}=xt;return It[Qt]===fo});if(!ro||!or.rect.current.initial)return Hr;const Je=or.rect.current.initial.top<ro.top;if(Xt.every(xt=>{let{rect:Qt}=xt;if(!Qt.current||!or.rect.current.translated)return!0;const qt=Qt.current.height,Te=Je?Qt.current.bottom+qt/3:Qt.current.top-qt/3;return Je?or.rect.current.translated.top>Te:or.rect.current.translated.bottom<Te})||Hr.shift(),Hr.length===0)return(0,u.Xo)(Tn).filter(xt=>{let{id:Qt}=xt;return It[Qt]===fo})}return Hr},bn=function(){for(var Tn=arguments.length,Nn=new Array(Tn),cn=0;cn<Tn;cn++)Nn[cn]=arguments[cn];const or=Ln(...Nn);return or.length===0?Yn.current:(Yn.current=[...or],or)},ir=(0,r.useCallback)(Tn=>{let{active:Nn}=Tn;var cn;const{item:or,path:qn}=(Nn==null||(cn=Nn.data)===null||cn===void 0?void 0:cn.current)??{};!or||!qn||(rt(qn),Re(or),nt.current=It[or.id],st.current=Ie,ht(or))},[ht,Ie,It]),Zn=(0,r.useRef)(!1);(0,r.useEffect)(()=>{requestAnimationFrame(()=>{Zn.current=!1})},[Ie]);const $n=(0,r.useCallback)(Tn=>{let{active:Nn,over:cn,delta:or}=Tn;var qn,Hr;if(!cn||!Nn)return;const fo=It[Nn.id],Jr=It[cn.id];if(vt.current!==cn.id&&(vt.current=cn.id,ze.current&&clearTimeout(ze.current)),!Zn.current&&!(fo!==Jr&&Jr===A.Z.memberAreaNavigationName)){if(!((qn=cn.data.current)===null||qn===void 0)&&qn.isEmptyDropzone)Zn.current=!0,Bt(Xt=>re({groups:Xt,active:Nn,over:cn}));else if(fo===cn.id)Zn.current=!0,Bt(Xt=>he({groups:Xt,active:Nn,over:cn,direction:or.y<0?"UP":"DOWN"}));else if(fo!==Jr||!((Hr=cn.data.current)===null||Hr===void 0)&&Hr.isNavGroup){var ro;Zn.current=!0,!((ro=cn.data.current)===null||ro===void 0)&&ro.openCollapsedGroupOnDragHover&&(ze.current=setTimeout(()=>{var Xt;(Xt=cn.data.current)===null||Xt===void 0||Xt.openCollapsedGroupOnDragHover()},_e)),Bt(Xt=>J({groups:Xt,active:Nn,over:cn}))}}},[It]),jt=(0,r.useCallback)(Tn=>{const{active:Nn,over:cn}=Tn;let or=Ie,qn=(cn==null?void 0:cn.id)&&It[cn.id];Nn!=null&&Nn.id&&(cn!=null&&cn.id)&&Nn.id!==cn.id&&It[Nn.id]===It[cn.id]?or=me({groups:Ie,item:on[Nn.id],targetItem:on[cn.id]}):cn&&It[Nn.id]!==It[cn.id]&&It[cn.id]===A.Z.memberAreaNavigationName&&(or=re({groups:Ie,active:Nn,over:cn}),qn=cn==null?void 0:cn.id),Bt(or),Ne(or,{draggingItem:Nn!=null&&Nn.id?on[Nn.id]:null,dragStartParent:nt.current?on[nt.current]:null,dragEndParent:qn?on[qn]:null,cancelDragging:()=>{Bt(st.current)}}),Yn.current=[],vt.current=null,clearTimeout(ze.current),ze.current=null,rt(""),Re(null)},[on,It,Ie,Ne]),Rn=(0,u.Dy)((0,u.VT)(u.MA,{activationConstraint:{distance:15}}),(0,u.VT)(u.LO,{activationConstraint:{delay:250,tolerance:10}})),jn=Xe;return r.createElement(a.Provider,{value:Pn},!Pt&&r.createElement(u.LB,{onDragStart:ir,onDragOver:$n,onDragEnd:jt,sensors:Rn,modifiers:ge,collisionDetection:bn},r.createElement(n.Z,{position:"relative",style:Ot},r.createElement(pe,{parentItem:Ie,canAdd:!!Ie.canAdd,items:Ie.items,supportsEmptyRegion:!!Ie.supportsEmptyRegion,emptyRegionMessage:Ie.emptyRegionMessage??"",maxItemHeight:$e})),r.createElement(u.y9,{modifiers:ge},r.createElement(n.Z,{backgroundColor:"white",boxShadow:"200"},ce?r.createElement(jn,{item:ce,path:mt,isPreview:!0}):null))),Pt&&r.createElement(n.Z,{position:"relative",style:Ot},r.createElement(pe,{parentItem:Ie,canAdd:!!Ie.canAdd,items:Ie.items,supportsEmptyRegion:!!Ie.supportsEmptyRegion,emptyRegionMessage:Ie.emptyRegionMessage,maxItemHeight:$e})))}var Ke=e(63742);const He=Be},63742:function(b,l,e){"use strict";e.r(l),e.d(l,{addItem:()=>_,forEachItem:()=>f,getFullSiteLayoutGroupPathForItem:()=>d,getGroupFromItemPath:()=>c,getItemFromPath:()=>i,getNavigationGroupFromPath:()=>a,getPathForAddedItem:()=>u,isPathDepthNested:()=>p,removeItem:()=>g,replaceItem:()=>y,setPathValue:()=>h});var r=e(419467),o=e.n(r),n=e(858579);function a(O,P){if(!O.items)throw new Error(`items undefined for groups: ${O}`);const C=P.split(".").slice(0,1);return o().get(O.items,C)??null}function i(O,P){return P.split(".").filter(A=>!!A).map(A=>parseInt(A)).reduce((A,S)=>{var T;return A==null||(T=A.items)===null||T===void 0?void 0:T[S]},O)??null}function c(O,P){const A=P.split(".").slice(0,-1).join(".");return i(O,A)??null}function u(O,P){var C;const A=i(O,P);if(!A)return null;const T=P.length===1?0:"items"in A&&((C=A.items)===null||C===void 0?void 0:C.length)||0;return`${P}.${T}`}function f(O,P){const C=(A,S)=>{let T;if(A.find((v,m)=>{const E=S?[S,m].join("."):String(m),I=v.items??null;return T=P(v,E)||C(I??[],E),T}))return T};return C(O.items??[])??null}function d(O,P){return f(O,(C,A)=>{if((0,r.isEqual)(C,P))return A})}function h(O,P,C){return(0,n.ZP)(O??{},A=>{const S=c(A,P);if(!S)throw new Error(`No group found at path: ${P}`);const T=P.split(".").slice(-1);return S.items=S.items||[],o().set(S.items,T,C),A})}function g(O,P){return(0,n.ZP)(O??{},C=>{const A=c(C,P);if(!A)throw new Error(`No group found at path: ${P}`);const S=P.split(".").slice(-1)[0],T=parseInt(S);return A.items.splice(T,1),C})}function _(O,P,C){return(0,n.ZP)(O??{},A=>{const S=c(A,C);if(!S)throw new Error(`No group found at path: ${C}`);const T=C.split(".").slice(-1)[0],s=parseInt(T);return S.items=S.items||[],S.items.splice(s,0,P),A})}function p(O){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return O.split(".").length>P}function y(O,P,C){return(0,n.ZP)(O??{},A=>{const S=c(A,C);if(!S)throw new Error(`No group found at path: ${C}`);const T=C.split(".").slice(-1);S.items=S.items||[];const s=S.items;return o().set(s,T,P),A})}},46137:function(b,l,e){"use strict";e.d(l,{s:()=>Ne,Z:()=>we});var r=e(156130),o=e(174161),n=e(845076),a=e.n(n),i=e(936609),c=e(719484),u=e(412166),f=e(810573),d=e(246699),h=e(203119),g=e(445208),_=e.n(g),p=e(722448),y=e.n(p),O=e(883583),P=e(714487),C=e(337061),A=e(504049),S=e(938077),T=e(899136),s=e(754671),v=e(101311),m=e(425629),E=e(604934),I=e(599433),L=e(117008),W=e(432752),F=e(729387),G=e(122003),k=e(425740),x=e(327828),M=e(439504),B=e(378638),R=e(87706),U=e(630015),j=e(828071),$=e.n(j),ee=e(934951),te=e(170099),ie=e(881707),ne=e(285814),pe=e(213865),oe=e(838481),q=e(197257),J=e(629786),me=e(682345);const he=$e=>{let{isOpen:Ot,setIsOpen:Pt,anchor:Ie}=$e;return o.createElement(ne.Z,{isOpen:Ot,anchor:Ie,anchorPoint:{x:"right",y:"bottom"},position:"bottom-right",hideArrow:!0,closeOnClickOutside:!0,onRequestClose:()=>Pt(!1),offset:{x:(0,q.K)()?0:-27,y:0}},o.createElement(ie.Z,{px:3,py:3,background:pe.colors.gray[100],maxWidth:"367px"},o.createElement(u.Z,{justifyContent:"space-between"},o.createElement(c.Z.Body,{fontWeight:"semibold",color:"white",mt:0,mb:1},o.createElement(ee.T,{project:"apps.App"},"Upgrade to sell")),o.createElement(oe.Z,{color:"white",sx:{cursor:"pointer"},onClick:Bt=>{Bt.stopPropagation(),Pt(!1),(0,J.gU)({objectIdentifier:J.rP.WARNING_ICON_STORE_PAGES}),(0,J.IF)({objectIdentifier:J.rP.WARNING_ICON_STORE_PAGES})}})),o.createElement(c.Z.Body,{color:"white",my:0},o.createElement(ee.T,{upgradeLink:o.createElement(ie.Z,{as:"a",href:"#",onClick:Bt=>{Bt.stopPropagation(),Bt.preventDefault(),(0,J.Ch)({objectIdentifier:J.rP.WARNING_ICON_STORE_PAGES}),(0,me.R)()}},o.createElement(ee.T,{project:"apps.App",notes:"Full string: 'To make products in your online store available for purchase, upgrade your plan to Business or above.' This part is a link to Universal Checkout."},"upgrade your plan to Business or above")),project:"apps.App"},"To make products in your online store available for purchase, {upgradeLink}."))))};var Ee=e(70426);const fe=$e=>{let{isHomePage:Ot,handleKeyDown:Pt,isDraft:Ie,isPending:Bt,renderLabel:mt,renderDraftText:rt,isCloning:ce,isNameEditing:Re,canChangeNavigation:nt,shouldShowCreateDraftIcon:st,handleRequestCreateDraft:vt,handleSetDisableCollapse:ze,onRequestOpenCollectionSettings:It,IconComponent:on,handleToggleCollapsed:Pn,isCollapsed:Yn,isCollapsable:Ln,isListPageType:bn,addStorePopupRef:ir,isLocked:Zn,shouldShowDeleteIcon:$n,handleDeleteButtonClick:jt,updatedDate:Rn,shouldShowUpgradeInfo:jn=!1}=$e;const Tn=(0,o.useRef)(null),Nn=Yn?E.Z:I.Z,[cn,or]=(0,o.useState)(!1),[qn,Hr]=(0,o.useState)(null);(0,o.useEffect)(()=>{jn&&(0,J.uy)({objectType:J.LP.ICON,objectIdentifier:J.rP.WARNING_ICON_STORE_PAGES})},[jn]);const fo=(0,Ee.VJ)();return o.createElement(u.Z,{flexDirection:"column",height:"100%",width:"100%"},o.createElement(u.Z,{alignItems:"center",justifyContent:"space-between",flex:1,height:"100%"},Ot?o.createElement(L.Z,{className:$().homepageIcon}):null,o.createElement(u.Z,{className:$().contentBox,tabIndex:0,onKeyDown:Pt,alignItems:"center",flex:"1",pr:4,height:"100%"},o.createElement(u.Z,{height:33,width:22,mr:2,alignItems:"center",justifyContent:"center",userSelect:"none"},o.createElement(on,{color:Ie?"gray.600":"gray.100"})),mt()),rt(),o.createElement(B.Z,{space:2,alignItems:"center",direction:"row"},ce?o.createElement(R.Z,null):null,o.createElement(u.Z,{gap:2},!ce&&!Re&&nt?o.createElement(te.Z,{content:fo?o.createElement(ee.T,{project:"apps.App",notes:"Tooltip shown when users previewing their 7.0 site's migration to 7.1 try to change page settings"},"Publish update to change page settings"):null},o.createElement(m.Z.Element.Icon,{...U.j0,className:$().settingsButton,"data-test":"collection-settings",disabled:fo||Bt,onClick:Jr=>{Jr.stopPropagation(),It(Jr)},onFocus:()=>ze(!0),onBlur:()=>ze(!1),opacity:fo?.3:void 0},o.createElement(W.Z,{className:$().settingsIcon}))):!ce&&!Re&&st?o.createElement(o.Fragment,null,o.createElement(te.Z,{content:fo?o.createElement(ee.T,{project:"apps.App",notes:"Tooltip shown when users previewing their 7.0 site's migration to 7.1 try to add a page draft"},"Publish update to add drafts"):(0,P.t)("Create draft",null,{project:"apps.App"}),id:"draft-button",placement:"top"},o.createElement(m.Z.Element.Icon,{...U.j0,className:$().settingsButton,"data-test":"draft-button",onClick:Jr=>{Jr.stopPropagation(),vt()},onFocus:()=>ze(!0),onBlur:()=>ze(!1),"aria-describedby":"draft-button",ref:Tn,disabled:fo||Bt,opacity:fo?.3:void 0},o.createElement(F.Z,{className:$().settingsIcon})))):null,jn&&o.createElement(o.Fragment,null,o.createElement(he,{isOpen:cn,setIsOpen:or,anchor:qn}),o.createElement(m.Z.Element.Icon,{ref:Hr,onClick:Jr=>{Jr.stopPropagation(),or(!0)}},o.createElement(G.Z,{color:"yellow.300"})))),Ln?o.createElement(m.Z.Element.WithoutFeedback,{tabIndex:-1,className:a()($().collapseArrow),"data-test":"collapse-arrow",onClick:Jr=>{Jr.stopPropagation(),Pn()}},o.createElement(Nn,{className:$().collapseIcon})):null,bn?o.createElement(m.Z.Element.WithoutFeedback,{ref:ir,className:a()($().rightArrow),tabIndex:-1},o.createElement(k.Z,{className:$().rightIcon})):null,Zn?o.createElement(x.Z,{className:$().pagePermissionIcon}):null),$n?o.createElement(te.Z,{content:fo?o.createElement(ee.T,{project:"apps.App",notes:"Tooltip shown when users previewing their 7.0 site's migration to 7.1 try to delete a page"},"Publish update to delete pages"):null,containerProps:{position:"absolute",left:0,alignItems:"center"}},o.createElement(m.Z.Element.Icon,{onClick:jt,className:$().deleteButton,"data-test":"delete-item",onFocus:()=>ze(!0),onBlur:()=>ze(!1),mr:0,ml:"-5px",disabled:fo||Bt},o.createElement(M.Z,{className:$().deleteIcon}))):null),Ie&&o.createElement(u.Z,{className:$().timestamp},o.createElement(c.Z.Body,{m:0,fontSize:2,color:"gray.300",lineHeight:1},(0,P.t)("Last updated on {updatedDate}",{updatedDate:Rn},{project:"apps.App"}))))},H=o.memo(fe);var z=e(952417),_e=e(545334),ae=e.n(_e),ge=e(480901),Be=e(92839),Ke=e(93331),He=e(125582),ye=e(834105),Le=e(487558),Ue=e(984350),Xe=e(661614);const{selectHasPermission:Fe}=f.wl,ht=250,Ne="pricing-plan-required-label",Ce=$e=>{let{Y:Ot,item:Pt,icon:Ie,path:Bt,isPreview:mt=!1,isLastChild:rt,isCollapsed:ce,handleToggleCollapsed:Re,isListPageType:nt}=$e;var st,vt;const{platform:ze}=(0,o.useContext)(i.Z.Context),It=(0,o.useRef)(null),{onDeleteItem:on,onRenameItem:Pn,onSelectItem:Yn}=(0,o.useContext)(z.Z),Ln=(0,C.useCmsDispatch)(),bn=(0,C.useCmsSelector)(S.getPagesPanelCloningId),ir=(0,C.useCmsSelector)(S.getPagesPanelDraggingId),Zn=(0,C.useCmsSelector)(S.getPagesPanelEditingPath),$n=(0,C.useCmsSelector)(S.getPagesPanelEditingName),jt=(0,C.useCmsSelector)(S.getPagesPanelFrameCollectionUrl),Rn=(0,Le.k1)(Xe.Nj),jn=Ie,{isFolder:Tn,updatedOn:Nn,id:cn,urlId:or,typeName:qn}=Pt,Hr=!!Pt.isDraft,fo=cn===Rn,Jr="externalLink"in Pt?Pt.externalLink:void 0,ro="memberAreaId"in Pt?Pt.memberAreaId:void 0,Xt="collectionId"in Pt?Pt.collectionId:void 0,Je=!!Pt.isCollapsible,At=Zn===Bt,xt=ir===cn,Qt=bn===cn,qt=(0,T.$D)(cn),Te=`/${or}`===jt||jt==="/"&&fo||!!ro&&((st=Pt.items)===null||st===void 0?void 0:st.find(St=>`/${St.urlId}`===jt)),Gt=Pt.pagePermissionType===_().SCRYPT_HASH||Pt.pagePermissionType===O.ZP.SCRYPT_HASH||Pt.pagePermissionType===_().SSO,un=!Tn&&((vt=Pt.items)===null||vt===void 0?void 0:vt.length),Vt=ae()(Nn).format("M/DD/YY h:mmA"),Dn=(0,d.v9)(Fe(y().CONFIG_CHANGE_STRUCTURE)),Wt=(0,d.v9)(Fe(y().CONFIG_DRAFT_EDIT)),Pe=Dn||Hr&&Wt,xe=Wt&&(0,ge.fV)(Pt),Ae=(0,o.useRef)(null),qe=Dn||Hr&&Wt,wt=Pt.pagePermissionType===_().PRICING_PLAN||Pt.pagePermissionType===O.ZP.PRICING_PLAN,kt=wt,ut=Pt.typeName===Be.gJ.MEMBER_AREA&&!wt,Ft=Pt.isPending,[tn,In]=(0,o.useState)(!1),[rr,Sr]=(0,o.useState)(!1),[Yr,Pr]=(0,o.useState)(!1),Mn=(0,o.useRef)(null),sr=ye.Z.isTrial(),Ar=(0,He.C)()&&!sr&&Pt.typeName==="products",vr=(0,o.useCallback)(St=>{Ln((0,A.BL)(St))},[Ln]),qr=(0,o.useCallback)(()=>{if(!qt){Ln((0,A.C6)({editingName:Pt.title,editingPath:Bt}));const St=It.current;St&&St.select()}},[qt,Ln,Pt.title,Bt]),Dr=(0,Le.Sb)(),eo=(0,o.useCallback)(async()=>{if(!Xt)return;const{collection:St}=await Dr((0,Ue.P2)(Xt)).unwrap();Ot.Global.fire("create-draft",{newCollection:St})},[Dr,Xt,Ot]),Vo=St=>{St.stopPropagation();const Ht=St.target;Ht&&Ht.select()},Bn=(0,o.useCallback)(St=>(St.stopPropagation(),St.preventDefault(),on({item:Pt,isDraft:Hr,path:Bt})),[Pt,Hr,Bt,on]),ar=(0,o.useCallback)(async St=>{let Ht=null;if(qt){if(!Dn)return;(0,Ke.rF)({typeName:qn}),Ht=await Ln((0,A.MZ)({collectionId:cn,homepageCollectionId:Rn})).unwrap()}!At&&!Jr&&!Tn&&Yn({id:Ht?Ht.id:cn,urlId:Ht?Ht.urlId:or,isListPageType:nt,memberAreaId:ro}),Sr(St)},[qn,cn,or,Jr,Tn,ro,Dn,qt,nt,At,Rn,Ln,Yn]),rn=(0,o.useCallback)(async St=>{let Ht=null;qt&&(Ht=await Ln((0,A.MZ)({collectionId:cn,homepageCollectionId:Rn})).unwrap()),Ln((0,A.ns)({item:Ht||Pt,path:Bt,event:St}))},[Rn,qt,Pt,cn,Bt,Ln]),Rt=(0,o.useCallback)(St=>{if(St.target&&"closest"in St.target&&St.target.closest("[disabled]")){St.stopPropagation(),St.preventDefault();return}if(Ae.current){if(clearTimeout(Ae.current),Ae.current=null,qe)return qr()}else Ae.current=setTimeout(()=>{Ae.current=null,ar(!0)},ht);St.preventDefault()},[qe,ar,qr]),Qe=(0,o.useCallback)(St=>{At||xt||(St.key==="Enter"||St.key==="Return"||St.key===" "?Je&&!tn?Re():ar(!1):(St.key==="Backspace"||St.key==="Delete")&&on({item:Pt,isDraft:Hr,path:Bt}))},[tn,At,xt,Je,Hr,Pt,Bt,on,Re,ar]),Ye=(0,o.useCallback)(St=>{In(St)},[]),yt=(0,o.useCallback)(()=>qt?o.createElement(c.Z.Caption,{className:$().demo},(0,P.t)("Demo",null,{project:"apps.ContentBrowser",notes:"Tiny [DEMO] tag after page title on demo pages"})):null,[qt]),Ze=(0,o.useCallback)(()=>{if(Hr)return o.createElement(c.Z.Label,{className:$().caption},(0,P.t)("Draft",null,{project:"apps.App"}))},[Hr]),Mt=(0,o.useCallback)(()=>{Pr(!0),Sr(!1)},[]),ot=(0,o.useCallback)(()=>{Pr(!1),Sr(!1)},[]),et=(0,o.useCallback)(()=>{const St=o.createElement(c.Z.Caption,{color:"red.300",className:Ne},(0,P.t)("Pricing plan required",null,{project:"apps.ContentBrowser",notes:"Tiny tag below the member site title indicating it is not paywalled."})),Ht=o.createElement(c.Z.Caption,null,(0,P.t)("Duplication in progress",null,{project:"apps.ContentBrowser",notes:"Tiny tag below the page indicating it is about to be duplicated."})),er=o.createElement(c.Z.Caption,{color:"yellow.300"},(0,P.t)("Upgrade Required",null,{project:"apps.ContentBrowser"}));return(kt||ut||Ft||Ar)&&!At?o.createElement(u.Z,{flexGrow:1,className:$().labelContainer},o.createElement(u.Z,null,o.createElement(c.Z.Body,{className:a()($().paywalledLabel,$().label)},Pt.title,yt())),o.createElement(u.Z,null,kt&&o.createElement(c.Z.Caption,null,(0,P.t)("Paywalled",null,{project:"apps.ContentBrowser",notes:"Tiny Paywalled tag below the page title for paywalled pages"})),ut&&St,Ft&&Ht,Ar&&er)):At?o.createElement("form",{onSubmit:Mr=>{Mr.preventDefault(),Pn(Bt,$n)},"data-test":"add-page-form",className:$().label},o.createElement("input",{type:"text",value:$n,className:$().input,onFocus:Vo,onChange:Mr=>vr(Mr.target.value),onBlur:()=>Pn(Bt,$n),placeholder:$n,ref:It,autoFocus:!0})):o.createElement(c.Z.Body,{className:$().label},Pt.title,yt())},[At,$n,yt,Bt,Pt.title,vr,Pn,Ft,kt,ut,Ar]);return o.createElement(s.Z,{path:Bt,isPreview:mt,isSelected:Te,hasPaywallStatus:kt||ut,isDraft:Hr,isPending:Pt.isPending,hasDrafts:un,isLastChild:rt,onClick:Rt,className:a()($().item,{[$().dragging]:xt,[$().disabled]:Pt.enabled===!1&&!Hr,[$().isSelected]:Te,[$().mobile]:ze==="mobile",[$().isDraft]:Hr,[$().isNameEditing]:At,[$().activeItem]:rr,[$().isFocusedByClick]:rr,[$().isFocused]:Yr,[$().showsPaywallStatus]:kt||ut||Ft,[$().showsInProgressStatus]:Ft}),onFocus:Mt,onBlur:ot},o.createElement(H,{isHomePage:fo,handleKeyDown:Qe,isDraft:Hr,renderLabel:et,renderDraftText:Ze,isCloning:Qt,isNameEditing:At,canChangeNavigation:Dn,isPending:!!Pt.isPending,shouldShowCreateDraftIcon:xe,handleRequestCreateDraft:eo,handleSetDisableCollapse:Ye,onRequestOpenCollectionSettings:rn,IconComponent:jn,handleToggleCollapsed:Re,isCollapsable:Je,isCollapsed:ce,isListPageType:nt,addStorePopupRef:Mn,isLocked:Gt,shouldShowDeleteIcon:Pe,handleDeleteButtonClick:Bn,updatedDate:Vt,shouldShowUpgradeInfo:Ar}))},we=(0,h.Z)(Ce)},754671:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(174161),o=e(213865),n=e(412166),a=e(47932),i=e(63742);const u=(0,r.forwardRef)(function(d,h){let{path:g,isPreview:_=!1,className:p,children:y,"data-test":O="pages-panel-item",isFolderInsert:P=!1,isLastChild:C,isSelected:A=!1,isDraft:S=!1,isPending:T=!1,hasDrafts:s=!1,onFocus:v,onBlur:m,onClick:E,disabled:I=!1,hasPaywallStatus:L=!1}=d;const W=(0,a.F)(),F=!(0,i.isPathDepthNested)(g);let G=F?38:70;const k=(0,i.isPathDepthNested)(g,3)&&S;k&&(G=parseInt(W.sizes.sizes[400]));const x=S?"dotted":"solid",M=S?o.sizes.sizes[350]:P?o.space[6]:o.space[8],B=A?"gray.800":"transparent",R=P?3:0,U={position:"absolute",content:"''",display:"block",left:k?"64px":o.space[9],borderLeft:`2px ${x} ${W.colors.gray[600]}`,height:L?"30px":o.space[4],width:"5px"},j=I||T?"auto":"pointer",$=F||_||P?{cursor:j}:{cursor:j,"&:before":{...U,top:0,borderBottom:`2px ${x} ${W.colors.gray[600]}`},"&:after":C||s?{}:{...U,height:S?o.space[8]:L?"31px":o.space[4],top:L?"31px":o.space[4]}};return r.createElement(n.Z,{className:p,"data-test":O,alignItems:"center",height:M,pl:P?60:G,pr:5,position:"relative",bg:B,disabled:T,ref:h,mb:R,css:$,onFocus:v,onBlur:m,onClick:E},y)})},92839:function(b,l,e){"use strict";e.d(l,{Yi:()=>a,bL:()=>c,cl:()=>r,gJ:()=>i});var r=function(u){return u.ALBUM="album",u.BLOG="blog",u.EVENTS="events",u.FOLDERS="folders",u.GALLERY="gallery",u.INDEX="index",u.PAGE="page",u.PRODUCTS="products",u.PORTFOLIO="portfolio",u.PROJECT="project",u.VIDEO_COLLECTION="lessons",u.COURSE="course",u.SCHEDULING="scheduling",u}({}),o=function(u){return u.BLOG_GRID="blog-masonry",u.BLOG_MASONRY="blog-grid-masonry",u.BLOG_SINGLE_COLUMN="blog-single-column",u.BLOG_SIDE_BY_SIDE="blog-side-by-side",u.BLOG_BASIC_GRID="blog-basic-grid",u.BLOG_ALTERNATING_SIDE_BY_SIDE="blog-alternating-side-by-side",u.EVENTS_STACKED="events-stacked",u.STORE="store",u.PROJECT_GRID="project-grid",u.PORTFOLIO_SLIDES_SPLIT="portfolio-slides-split",u.PORTFOLIO_HOVER_FOLLOW="portfolio-hover-follow",u.PORTFOLIO_SLIDES_COVER="portfolio-slides-cover",u.PORTFOLIO_HOVER_STATIC="portfolio-hover-static",u.PORTFOLIO_GRID_BASIC="portfolio-grid-basic",u.PORTFOLIO_INDEX_BACKGROUND="portfolio-index-background",u.PORTFOLIO_GRID_OVERLAY="portfolio-grid-overlay",u.PORTFOLIO_SLIDES_INSET="portfolio-slides-inset",u.VIDEO_ITEM="lesson",u.COURSE_ITEM="course-item",u}({}),n=function(u){return u.SPLASH_PAGE="splash-page",u.LINK="link",u.MEMBER_SITE="member-site",u.TWEAK="tweak",u.CHOW_NOW="chownow",u.SUBSCRIPTION="subscription",u.GALLERY_BLOCK="gallery-block",u.TEMPLATE_PAGE="template-page",u}(n||{});const a={...r,...o,...n};var i=function(u){return u.GROUP="GROUP",u.MEMBER_AREAS="memberareas",u.MEMBER_AREA="memberarea",u}({});const c=["blog","blog-masonry","blog-single-column","blog-side-by-side","blog-basic-grid","blog-alternating-side-by-side","blog-grid-masonry","portfolio","portfolio-slides-split","portfolio-hover-follow","portfolio-slides-cover","portfolio-hover-static","portfolio-grid-basic","portfolio-index-background","portfolio-grid-overlay","portfolio-slides-inset","lessons","course","events","events-stacked","products","store"]},379958:function(b,l,e){"use strict";e.d(l,{$Y:()=>u,Hn:()=>r,PB:()=>c,Rj:()=>P,X9:()=>O,ZC:()=>o,_j:()=>A,cN:()=>n,d6:()=>p,ge:()=>a,jp:()=>y,mN:()=>i,mR:()=>f,sC:()=>C,t$:()=>h,um:()=>_,yZ:()=>g,yi:()=>d});const r="NONE",o="CLONE_COLLECTION",n="CLONE_ITEM",a="DELETE_COLLECTION",i="DELETE_ITEM",c="DELETE_ITEMS",u="DELETE_PRODUCTS_BULK",f="DELETE_ITEMS_BULK",d="DISCONNECT_APPLE_NEWS",h="DISCONNECT_PODCAST",g="EMPTY_TRASH",_="PUBLISH_COLLECTION",p="REMOVE_ITEM_FROM_NAVIGATION",y="ADD_PENDING_COLLECTION_TO_NAVIGATION",O="RESTORE_ITEM",P="RESTORE_COLLECTION",C="RESTORE_ITEMS",A="SET_HOMEPAGE_FOR_CURRENT_COLLECTION"},173585:function(b,l,e){"use strict";e.d(l,{L6:()=>a,TY:()=>i,Vw:()=>o,bl:()=>r,y0:()=>n});const r="API",o="COLLECTION_PANEL",n="RECYCLE_BIN_ITEM",a="SETTINGS",i="STRINGS"},622580:function(b,l,e){"use strict";e.d(l,{Jk:()=>r,br:()=>n,rm:()=>a,tE:()=>o});const r=void 0,o="loaded",n="loading",a="rejected"},821919:function(b,l,e){"use strict";e.d(l,{Kj:()=>f,Kz:()=>i,Os:()=>c,Xz:()=>u,_O:()=>r,wJ:()=>o});const r="DELETE_TITLE",o="DELETE_MESSAGE",n="DELETE_MULTIPLE_TITLE",a="DELETE_MULTIPLE_MESSAGE",i="NO_CATEGORIES_TITLE",c="NO_CATEGORIES_MESSAGE",u="NO_TAGS_TITLE",f="NO_TAGS_MESSAGE"},420042:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(714487);const o={label:(0,r.t)("None",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:""},a=[o,{label:(0,r.t)("Arts",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Arts",subcategories:[o,{label:(0,r.t)("Books",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Books"},{label:(0,r.t)("Design",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Design"},{label:(0,r.t)("Fashion & Beauty",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Fashion & Beauty"},{label:(0,r.t)("Food",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Food"},{label:(0,r.t)("Performing Arts",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Performing Arts"},{label:(0,r.t)("Visual Arts",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Visual Arts"}]},{label:(0,r.t)("Business",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Business",subcategories:[o,{label:(0,r.t)("Careers",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Careers"},{label:(0,r.t)("Entrepreneurship",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Entrepreneurship"},{label:(0,r.t)("Investing",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Investing"},{label:(0,r.t)("Management",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Management"},{label:(0,r.t)("Marketing",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Marketing"},{label:(0,r.t)("Non-Profit",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Non-Profit"}]},{label:(0,r.t)("Comedy",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Comedy",subcategories:[o,{label:(0,r.t)("Comedy Interviews",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Comedy Interviews"},{label:(0,r.t)("Improv",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Improv"},{label:(0,r.t)("Stand-Up",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Stand-Up"}]},{label:(0,r.t)("Education",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Education",subcategories:[o,{label:(0,r.t)("Courses",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Courses"},{label:(0,r.t)("How To",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"How To"},{label:(0,r.t)("Language Learning",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Language Learning"},{label:(0,r.t)("Self-Improvement",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Self-Improvement"}]},{label:(0,r.t)("Fiction",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Fiction",subcategories:[o,{label:(0,r.t)("Comedy Fiction",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Comedy Fiction"},{label:(0,r.t)("Drama",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Drama"},{label:(0,r.t)("Science Fiction",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Science Fiction"}]},{label:(0,r.t)("Leisure",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Leisure",subcategories:[o,{label:(0,r.t)("Animation & Manga",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Animation & Manga"},{label:(0,r.t)("Automotive",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Automotive"},{label:(0,r.t)("Aviation",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Aviation"},{label:(0,r.t)("Crafts",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Crafts"},{label:(0,r.t)("Hobbies",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Hobbies"},{label:(0,r.t)("Home & Garden",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Home & Garden"},{label:(0,r.t)("Games",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Games"},{label:(0,r.t)("Video Games",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Video Games"}]},{label:(0,r.t)("Government",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Government"},{label:(0,r.t)("History",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"History"},{label:(0,r.t)("Health & Fitness",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Health & Fitness",subcategories:[o,{label:(0,r.t)("Alternative Health",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Alternative Health"},{label:(0,r.t)("Fitness",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Fitness"},{label:(0,r.t)("Medicine",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Medicine"},{label:(0,r.t)("Mental Health",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Mental Health"},{label:(0,r.t)("Nutrition",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Nutrition"},{label:(0,r.t)("Sexuality",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Sexuality"}]},{label:(0,r.t)("Kids & Family",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Kids & Family",subcategories:[o,{label:(0,r.t)("Education for Kids",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Education for Kids"},{label:(0,r.t)("Parenting",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Parenting"},{label:(0,r.t)("Pets & Animals",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Pets & Animals"},{label:(0,r.t)("Stories for Kids",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Stories for Kids"}]},{label:(0,r.t)("Music",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Music",subcategories:[o,{label:(0,r.t)("Music Commentary",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Music Commentary"},{label:(0,r.t)("Music History",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Music History"},{label:(0,r.t)("Music Interviews",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Music Interviews"}]},{label:(0,r.t)("News",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"News",subcategories:[o,{label:(0,r.t)("Business News",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Business News"},{label:(0,r.t)("Daily News",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Daily News"},{label:(0,r.t)("Entertainment News",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Entertainment News"},{label:(0,r.t)("News Commentary",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"News Commentary"},{label:(0,r.t)("Politics",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Politics"},{label:(0,r.t)("Sports News",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Sports News"},{label:(0,r.t)("Tech News",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Tech News"}]},{label:(0,r.t)("Religion & Spirituality",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Religion & Spirituality",subcategories:[o,{label:(0,r.t)("Buddhism",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Buddhism"},{label:(0,r.t)("Christianity",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Christianity"},{label:(0,r.t)("Hinduism",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Hinduism"},{label:(0,r.t)("Islam",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Islam"},{label:(0,r.t)("Judaism",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Judaism"},{label:(0,r.t)("Religion",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Religion"},{label:(0,r.t)("Spirituality",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Spirituality"}]},{label:(0,r.t)("Science",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Science",subcategories:[o,{label:(0,r.t)("Astronomy",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Astronomy"},{label:(0,r.t)("Chemistry",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Chemistry"},{label:(0,r.t)("Earth Sciences",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Earth Sciences"},{label:(0,r.t)("Life Sciences",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Life Sciences"},{label:(0,r.t)("Mathematics",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Mathematics"},{label:(0,r.t)("Natural Sciences",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Natural Sciences"},{label:(0,r.t)("Nature",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Nature"},{label:(0,r.t)("Physics",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Physics"},{label:(0,r.t)("Social Sciences",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Social Sciences"}]},{label:(0,r.t)("Society & Culture",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Society & Culture",subcategories:[o,{label:(0,r.t)("Documentary",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Documentary"},{label:(0,r.t)("Personal Journals",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Personal Journals"},{label:(0,r.t)("Philosophy",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Philosophy"},{label:(0,r.t)("Places & Travel",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Places & Travel"},{label:(0,r.t)("Relationships",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Relationships"}]},{label:(0,r.t)("Sports",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Sports",subcategories:[o,{label:(0,r.t)("Baseball",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Baseball"},{label:(0,r.t)("Basketball",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Basketball"},{label:(0,r.t)("Cricket",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Cricket"},{label:(0,r.t)("Fantasy Sports",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Fantasy Sports"},{label:(0,r.t)("Football",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Football"},{label:(0,r.t)("Golf",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Golf"},{label:(0,r.t)("Hockey",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Hockey"},{label:(0,r.t)("Rugby",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Rugby"},{label:(0,r.t)("Running",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Running"},{label:(0,r.t)("Soccer",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Soccer"},{label:(0,r.t)("Swimming",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Swimming"},{label:(0,r.t)("Tennis",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Tennis"},{label:(0,r.t)("Volleyball",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Volleyball"},{label:(0,r.t)("Wilderness",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Wilderness"},{label:(0,r.t)("Wrestling",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Wrestling"}]},{label:(0,r.t)("Technology",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"Technology"},{label:(0,r.t)("True Crime",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"True Crime"},{label:(0,r.t)("TV & Film",null,{project:"apps.ContentBrowser",notes:"iTunes podcast category"}),value:"TV & Film",subcategories:[o,{label:(0,r.t)("After Shows",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"After Shows"},{label:(0,r.t)("Film History",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Film History"},{label:(0,r.t)("Film Interviews",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Film Interviews"},{label:(0,r.t)("Film Reviews",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"Film Reviews"},{label:(0,r.t)("TV Reviews",null,{project:"apps.App",notes:"iTunes podcast category"}),value:"TV Reviews"}]}]},952417:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(174161);const o=r.createContext(null)},989250:function(b,l,e){"use strict";e.d(l,{V:()=>r.V,j:()=>S});var r=e(176742),o=e(931387),n=e(274414),a=e.n(n),i=e(530149),c=e.n(i),u=e(521237),f=e.n(u),d=e(720406),h=e.n(d),g=e(655191),_=e(92839),p=e(617801);const{LINK:y}=_.Yi;function O(){return(o.D===null||o.D===void 0?void 0:o.D.templateVersion)===h().SEVEN_ONE}const P={[a().CHRONOLOGICAL]:g.A.BLOG_COLLECTION,[a().CALENDAR]:g.A.EVENT_COLLECTION,[a().MUSIC_ALBUM]:g.A.ALBUM_COLLECTION,[a().USER]:g.A.GALLERY_COLLECTION_70},C={[c().PRODUCTS]:g.A.PRODUCT_COLLECTION,[c().TEMPLATE_PAGE]:g.A.REGULAR_PAGE,...O()?{[c().COURSE]:g.A.COURSE_COLLECTION,[c().LESSONS]:g.A.VIDEO_COLLECTION,[c().PORTFOLIO]:g.A.PORTFOLIO_COLLECTION}:{[c().SPLASH_PAGE]:g.A.COVER_PAGE_70}},A={[y]:g.A.LINK,...O()?{course:g.A.COURSE_COLLECTION,lessons:g.A.VIDEO_COLLECTION}:{}},S=T=>{if(!T)return null;if(T.typeName==="gallery")return g.A.GALLERY_COLLECTION_70;if((0,p.kc)(T)){const E=T,I=(0,p.JC)(E),L=P[I];return L||g.A.CUSTOM_COLLECTION_70}const s=(0,p.T5)(T);if(s){if(s.folder&&s.folderBehavior===f().INDEX)return g.A.INDEX_PAGE_70;if(s.folder&&!s.index)return g.A.FOLDER}const v=(0,p.rm)(T);if(v===c().COLLECTION_TYPE_PAGE)return("draft"in T?T.draft:T.isDraft)?g.A.REGULAR_PAGE_DRAFT:g.A.REGULAR_PAGE;const m=C[v];if(m)return m;if(T.memberAreaId)return g.A.MEMBER_AREA;if(T.typeName){const E=A[T.typeName];if(E)return E}return null}},769995:function(b,l,e){"use strict";e.d(l,{Tb:()=>f,n_:()=>d,uT:()=>u});var r=e(935662),o=e.n(r),n=e(762379);const a=window.SQUARESPACE_SENTRY,i=[o().NESTED_CATEGORIES,o().NESTED_CATEGORIES_MIGRATION_LOCK],c=function(h){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{context:_,level:p}=g;if(h.setTag("project","content_browser"),i.forEach(y=>h.setTag(`flag.${y}`,n.Z.isFeatureEnabled(y))),_){try{const y=JSON.stringify(_,null,2);h.setExtra("context",y)}catch{h.setExtra("context",{unstringifiedContext:_})}_.typeName&&h.setTag("typeName",_.typeName)}p&&h.setLevel(p)},u=function(h){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{context:_}=g;a&&a.withScope(function(p){c(p,g),a.captureMessage(h),console.error(_)})},f=function(h){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{context:_}=g;a&&a.withScope(p=>{c(p,g);let y=h;if(!(y instanceof Error&&typeof y=="object")){"error"in y&&y.error instanceof Error?y=y.error:"message"in y&&(y=new Error(y.message));try{const O=JSON.stringify(h,null,2);p.setExtra("stringifiedError",O)}catch{}}a.captureException(y),console.error(_)})},d=h=>{a&&a.addBreadcrumb(h)}},345521:function(b,l,e){"use strict";e.r(l),e.d(l,{TYPE_TO_ITEMS_ENDPOINT:()=>c,getItems:()=>s,deleteCollection:()=>A,updateItem:()=>E,getCollection:()=>P,TYPE_TO_ITEMS_LIMIT:()=>f,TYPE_TO_COLLECTION_ENDPOINT:()=>i,TYPE_TO_ITEMS_KEY:()=>u,createCollection:()=>C,getCollectionSocialImagePath:()=>p,updateCollection:()=>S,getItemSocialImagePath:()=>y,deleteItem:()=>I,reorderItems:()=>T,createItem:()=>m,getItem:()=>v});var r=e(456903);const o=L=>r.default.request({method:"get",headers:{Accept:"application/json","Content-Type":"application/json"},...L}).then(W=>{let{data:F}=W;return F}).catch(W=>{let{response:F}=W;return Promise.reject(F.data)}),n="api",a=1,i={blog:"blog-content-service/blogs",events:"event-content-service/events",folder:"folder-content-service/folders",page:"page-content-service/pages",portfolio:"portfolio-content-service/portfolios",products:"product-content-service/products",project:"projects"},c={project:"project-items",portfolio:"portfolio-items",products:"product-items"},u={project:"projectItems",portfolio:"portfolioItems"},f={project:20,portfolio:60,products:1e4},d=function(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return`/${n}/${a}/${L}`},h=(L,W)=>`${i[L]}/${W}`,g=(L,W)=>`${h(L,W)}/${c[L]}`,_=(L,W,F)=>`${h(L,W)}/${c[L]}/${F}`,p=(L,W)=>`${d(h(L,W))}/seo/social-sharing-image`,y=(L,W,F)=>`${d(_(L,W,F))}/seo/social-sharing-image`,O=L=>o({...L,url:d(L.endpoint)}),P=(L,W)=>O({endpoint:h(L,W)}),C=(L,W)=>O({endpoint:i[L],method:"post",data:W}),A=(L,W)=>O({endpoint:h(L,W),method:"delete"}),S=(L,W)=>O({endpoint:h(L,W.id),method:"put",data:W}),T=(L,W,F)=>O({endpoint:h(L,W)+"/reorder",method:"post",data:F}),s=(L,W,F)=>O({endpoint:g(L,W),params:{limit:F??f[L]}}),v=(L,W,F)=>O({endpoint:_(L,W,F)}),m=(L,W,F)=>O({endpoint:g(L,W),method:"post",data:F}),E=(L,W,F)=>O({endpoint:_(L,W,F.id),method:"put",data:F}),I=(L,W,F)=>O({endpoint:_(L,W,F),method:"delete"})},365989:function(b,l,e){"use strict";e.r(l),e.d(l,{LIMIT:()=>u,TYPE_TO_ITEMS_KEY:()=>p,TYPE_TO_SEARCH:()=>y,addToCategory:()=>re,createCollection:()=>x,createItem:()=>ie,deleteCollection:()=>M,deleteItem:()=>pe,deleteVideoItemsBulk:()=>oe,getCollection:()=>k,getCollectionSocialImageReferencePath:()=>m,getContentServiceTypeFromItem:()=>f,getItem:()=>te,getItemSocialImagePath:()=>v,getItemSocialImageReferencePath:()=>E,getItemThumbnailImagePath:()=>L,getItemThumbnailImageReferencePath:()=>W,getItems:()=>ee,getNestedCategories:()=>$,getNestedCategoryPath:()=>I,getSocialImagePath:()=>s,queryProductItems:()=>J,reorderItems:()=>R,reorderItemsInCategory:()=>U,searchItems:()=>me,temporaryPutOrderedItemIds:()=>j,updateCategory:()=>he,updateCollection:()=>B,updateItem:()=>ne,updateRootCategory:()=>Ee});var r=e(456903),o=e(270848),n=e.n(o),a=e(35045),i=e(800191);const c="/api/product-content-service",u=20,f=fe=>{if(fe.entityType===i.d.PORTFOLIO_ITEM)return"portfolio";switch(fe.recordType){case n().EVENT:return"events";case n().TEXT:return"blog"}throw new Error("Unknown Collection Type for item",fe.recordType)},d={blog:"/api/content-service/blog",events:"/api/content-service/event",folder:"/api/content-service/folder",lessons:"/api/lesson-service",course:"/api/course-service/content",page:"/api/content-service/page",portfolio:"/api/content-service/portfolio",products:"/api/content-service/product"},h={blog:"1.0",events:"1.0",folder:"1.0",lessons:"1.0",page:"1.0",portfolio:"1.0",products:"1.1"},g={blog:"blogs",events:"events",folder:"folders",lessons:"lessons",course:"courses",page:"pages",portfolio:"portfolios",products:"products"},_={blog:"le-posts",events:"event-items",lessons:"lesson",course:"course-items",portfolio:"portfolio-items",products:"product-items"},p={blog:"layoutEnginePosts",events:"eventItems",lessons:"lessons",course:"courseItems",portfolio:"portfolioItems",products:"products",project:"projectItems"},y={lessons:"queryLesson",course:"queryLesson"},O=()=>a.default.getState().get("id"),P=function(fe){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h[fe];const z=d[fe],_e=g[fe];switch(fe){case"course":return`${z}/${_e}`;default:return`${z}/${H}/websites/${O()}/${_e}`}},C=(fe,H,z)=>`${P(fe,z)}/${H}`,A=function(fe,H){let z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return fe==="lessons"&&z?`${C(fe,H)}/categories/${z}/${_[fe]}`:`${C(fe,H)}/${_[fe]}`},S=(fe,H,z)=>`${C(fe,H)}/${_[fe]}/${z}`,T=(fe,H,z)=>`${C(fe,H,z)}/categories`,s=(fe,H)=>`${C(fe,H)}/seo/social-sharing-image`,v=(fe,H,z)=>`${S(fe,H,z)}/seo/social-sharing-image`,m=(fe,H)=>`${s(fe,H)}/image-reference`,E=(fe,H,z)=>`${v(fe,H,z)}/image-reference`,I=(fe,H)=>fe==="products"?`${c}/products/${H}/categories/tree`:`${C(fe,H)}/categories/tree`,L=(fe,H,z)=>`${S(fe,H,z)}/thumbnail-image`,W=(fe,H,z)=>`${L(fe,H,z)}/image-reference`,F=fe=>r.default.request({method:"get",headers:{Accept:"application/json","Content-Type":"application/json"},...fe}).then(H=>{let{data:z}=H;return z}).catch(H=>{let{response:z}=H;return Promise.reject(z.data)}),G=(fe,H)=>{const z=new URLSearchParams(H??{}).toString();return z?`${fe}?${z}`:fe},k=(fe,H)=>F({url:C(fe,H)}),x=(fe,H,z)=>F({url:P(fe,z),method:"post",data:H}),M=(fe,H)=>F({url:C(fe,H),method:"delete"}),B=(fe,H)=>F({url:C(fe,H.id),method:"put",data:H}),R=(fe,H,z)=>F({url:`${C(fe,H)}/reorder`,method:"post",data:z}),U=(fe,H,z,_e)=>F({url:`${T(fe,H)}/${z}/reorder-items`,method:"post",data:_e}),j=(fe,H,z,_e)=>F({url:`${T(fe,H)}/${z.id}`,method:"put",data:{...z,orderedItemIds:_e}}),$=(fe,H)=>F({url:I(fe,H),headers:{"Content-Type":"application/json"},data:{}}),ee=function(fe,H){let z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:u;return F({url:A(fe,H),params:{limit:z}})},te=(fe,H,z)=>F({url:S(fe,H,z)}),ie=(fe,H,z,_e)=>F({url:G(A(fe,H,z.category),_e),method:"post",data:z}),ne=(fe,H,z)=>F({url:S(fe,H,z.id),method:"put",data:z}),pe=(fe,H,z)=>F({url:S(fe,H,z),method:"delete"}),oe=(fe,H,z)=>F({url:`${C(fe,H)}/bulk-delete-lesson`,method:"post",data:z}),q={limit:u,pageAction:"NEXT",queryTermDTO:{queryDirection:"ASCENDING"}},J=function(fe,H){let z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return F({url:`${C(fe,H)}/queryProductItems`,method:"post",data:{...q,...z,queryTermDTO:{...q.queryTermDTO,...z.queryTermDTO}}})},me=function(fe,H){let z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return F({url:`${C(fe,H)}/${y[fe]}`,method:"post",data:{...q,...z,queryTermDTO:{...q.queryTermDTO,...z.queryTermDTO}}})},re=(fe,H,z,_e)=>F({url:`${T(fe,H)}/${z}/add-product-items`,method:"post",data:{itemIds:_e}}),he=(fe,H,z)=>F({url:`${T(fe,H)}/${z.id}`,method:"put",data:z}),Ee=(fe,H,z)=>F({url:`${T(fe,H)}/update-root`,method:"put",data:z})},823036:function(b,l,e){"use strict";e.d(l,{y:()=>a});var r=e(456903);const o=10,n=i=>r.default.request({method:"get",headers:{Accept:"application/json","Content-Type":"application/json"},...i}).then(c=>{let{data:u}=c;return u}),a=i=>{let{collectionId:c,query:u,page:f=0,workflowState:d}=i;const h={p:f,size:o,q:u,f_collectionId:c};return d&&(h.f_workflowState=d),n({url:"/api/search/GeneralSearch",params:h})}},734622:function(b,l,e){"use strict";e.d(l,{ZP:()=>f,fH:()=>i,tf:()=>c});var r=e(365989),o=e(397372),n=e(456903);const a="products",i=d=>{let h=!d.menuVisibility;return d.type==="ROOT"&&(d.pageVisibility?h=!1:h=!0),{id:d.id,displayName:d.displayName,menuHidden:!d.menuVisibility,orderedItemIds:d.orderedItemIds,childrenMenuHidden:h,pageRendering:d.pageVisibility?"LIST_VIEW":"UNRESOLVABLE",parentCategoryId:d.parentCategoryId,shortSlug:d.shortSlug,displayIndex:d.displayIndex}},c=d=>o.C.constructCategoriesTree(d,null,null,!0).getAllCategories(),f={async getNestedCategories(d,h){const{categoryTree:g}=await r.getNestedCategories(d,h);return g},async temporaryPutOrderedItemIds(d,h,g){const _=i(h),{categoryTree:p}=await r.temporaryPutOrderedItemIds(a,d,_,g);return p},async reorderItemsInCategory(d,h,g,_){let p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:a;return r.reorderItemsInCategory(p,d,h,{itemIds:[g],insertAtIndex:_})},async updateRootCategory(d,h){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a;const _=i(h),{categoryTree:p}=await r.updateRootCategory(g,d.id,_);return p},async updateCategory(d,h){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a;const _=i(h),{categoryTree:p}=await r.updateCategory(g,d.id,_);return p},async startMigration(){return n.default.request({method:"post",url:"/api/commondata/nested-categories/migration/migrate",headers:{Accept:"application/json","Content-Type":"application/json"}}).then(d=>{let{data:h}=d;return h})}}},461214:function(b,l,e){"use strict";e.d(l,{GY:()=>y,Nk:()=>_,Vh:()=>O,oi:()=>g,uo:()=>p});var r=e(667735),o=e.n(r),n=e(697848),a=e.n(n),i=e(739316),c=e.n(i),u=e(456903),f=e(714487);const d="/api/content-collections/",h={limit:20,orderBy:"updatedOn",orderDirection:a().DESCENDING,pageAction:c().NEXT},g=(P,C)=>u.default.get(`${d}${P}/content-items`,{params:{...h,workflowState:o().DELETED,...C}}).then(A=>{let{data:S}=A;return S}),_=(P,C)=>g(P,C).then(A=>{let{results:S}=A;return S.length}).catch(()=>0),p=P=>{const C=P?`/api/recycle-bin/collection/${P}/items`:"/api/recycle-bin/collection";return u.default.delete(C).catch(()=>Promise.reject({title:(0,f.t)("Couldn\u2019t Empty Trash",null,{project:"apps.ContentBrowser"})}))},y=P=>u.default.get("/api/recycle-bin",{params:{...h,...P}}).then(C=>{let{data:A}=C;return A}),O=P=>u.default.post(`/api/recycle-bin/collection/${P}/restore`).then(C=>{let{data:A}=C;return A})},52151:function(b,l,e){"use strict";e.d(l,{l:()=>r});const r={mainNav:{errors:[],identifier:"mainNav",index:!1,items:[],name:"Main Navigation"},_hidden:{errors:[],identifier:"_hidden",index:!1,items:[],name:"Hidden"}}},686281:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(419467),o=e.n(r),n=e(35045);const a=()=>{const f=n.default.getState().get("location").toJS();if(!(0,r.isEmpty)(f))return{...f,mapZoom:12,markerLat:f.mapLat,markerLng:f.mapLng};const d={lat:40.7207559,lng:-74.0007613};return{mapLat:d.lat,mapLng:d.lng,mapZoom:12,markerLat:d.lat,markerLng:d.lng}},c=u=>({...u,location:u.location||a()})},147291:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(667735),o=e.n(r),n=e(35045),a=e(686281);const c=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const f=Date.now();return(0,a.Z)({addedOn:f,publishOn:f,websiteId:n.default.getState().get("id"),mediaFocalPoint:{x:.5,y:.5},likeCount:0,dislikeCount:0,commentCount:0,publicCommentCount:0,workflowState:o().DRAFT,urlId:null,proxyForId:null,childType:null,updatedOn:null,unsaved:null,title:null,body:null,excerpt:{html:"",raw:!1},displayIndex:0,starred:!1,passthrough:!1,tags:[],categories:[],systemDataId:null,systemDataVariants:null,systemDataOrigin:null,contentType:null,fileName:null,dataSize:null,sourceUrl:null,mediaProcessingState:null,colorData:null,clickThroughUrl:null,customContent:null,...u})}},899136:function(b,l,e){"use strict";e.d(l,{$D:()=>h,r6:()=>g,vI:()=>d});var r=e(487558),o=e(617801),n=e(661614),a=e(387582),i=e(714487),c=e(883583);const u={externalLink:{newWindow:!1,title:"",url:""}},f={description:{html:"",raw:!1},enabled:!0,deleted:!1,folder:!1,memberAreaIds:[],regionName:"default",dirty:!1,body:null},d=_=>({..._,password:"passwordProtected"in _&&_.passwordProtected||"isPasswordProtected"in _&&_.isPasswordProtected||_.pagePermissionType===c.ZP.SCRYPT_HASH?a.Z.PASSWORD_MASK:""}),h=_=>((0,n.tb)((0,r.UT)())??[]).indexOf(_)>-1;function g(_){if(_==="link")return u;const p=(0,o.ih)(_),y=(0,i.t)("New {title}",{title:p==null?void 0:p.title},{project:"apps.ContentBrowser",notes:"Deprecated new title. Left for compatibility with old untranslated templates."}),O=(p==null?void 0:p.newTitle)||y;return{...f,...p,typeName:_,enabled:!0,title:O,navigationTitle:O,type:p==null?void 0:p.collectionType}}},480901:function(b,l,e){"use strict";e.d(l,{$B:()=>B,GH:()=>x,Gw:()=>R,Ir:()=>M,J7:()=>I,Lz:()=>L,_M:()=>U,dn:()=>G,fV:()=>k,jO:()=>v});var r=e(714487),o=e(387582),n=e(722448),a=e.n(n),i=e(530149),c=e.n(i),u=e(445208),f=e.n(u),d=e(676749),h=e.n(d),g=e(651780),_=e(58713),p=e(617801),y=e(487558),O=e(661614),P=e(63742),C=e(104002),A=e(991735),S=e(883583),T=e(28849),s=e(810965);function v(j,$){const ee=(0,p.T5)(j);return(0,r.t)("{title} Settings",{title:(ee==null?void 0:ee.title)||$},{project:"apps.ContentBrowser"})}function m(j){const $=(0,O.Nj)((0,y.UT)());if(!$)return!1;const ee=C.default.getPathToCollection($),te=ee==null?void 0:ee.at(-2);return!te||!("collectionId"in te)||!te.collectionId?!1:te.collectionId===j}function E(j){const $=(0,y.UT)(),ee=(0,O.Nj)($);if(!ee)return!1;const te={items:Object.values((0,O.$q)($))},ie=(0,P.forEachItem)(te,(pe,oe)=>{if("collectionId"in pe&&pe.collectionId===ee)return oe});if(!ie)return!1;const ne=(0,P.getGroupFromItemPath)(te,ie);return!ne||!("collectionId"in ne)||!ne.collectionId?!1:ne.collectionId===j}function I(j){return(0,_.Z)()?E(j):m(j)}function L(){return A.Z.hasPermission(a().CONFIG_CHANGE_STRUCTURE)}function W(j){var $,ee,te,ie,ne;const pe=(ie=window.Y)===null||ie===void 0||(te=ie.Squarespace)===null||te===void 0||(ee=te.Singletons)===null||ee===void 0||($=ee.TemplateNavigationList)===null||$===void 0?void 0:$.getMemberAreaNavigation(),oe=(pe==null||(ne=pe.get("itemList"))===null||ne===void 0?void 0:ne.toJSON())||[];let q=null;const J=(me,re,he)=>{const Ee=me.children||me.items;if(!q)for(let z=0;z<Ee.length;z++){var fe,H;if(Ee[z].collectionId===re){q||(q=he);return}!(!((fe=Ee[z].children)===null||fe===void 0)&&fe.length)&&!(!((H=Ee[z].items)===null||H===void 0)&&H.length)||J(Ee[z],re,he)}};return oe.forEach(me=>{(me.children||me.items)&&J(me,j,me.memberAreaId)}),q}function F(j){const $=(0,O.$q)((0,y.UT)())[o.Z.memberAreaNavigationName];return $?(0,P.forEachItem)($,(te,ie)=>{if("collectionId"in te&&te.collectionId===j){const ne=(0,P.getItemFromPath)($,ie[0]);return ne&&"memberAreaId"in ne?ne.memberAreaId:void 0}})??void 0:void 0}function G(j){return(0,T.mP)()?(0,_.Z)()?F(j):W(j):null}function k(j){return(0,g.Nx)()&&(0,p.rm)(j)===c().COLLECTION_TYPE_PAGE&&(0,_.Z)()&&!j.draft&&!j.isDraft}function x(j){return j.id===(0,O.Nj)((0,y.UT)())}function M(j){if(!(0,T.mP)())return!1;const $=typeof j=="object"?j.id:j,ee=s.Z.getMemberAreasHomepages(),te=Object.keys(ee).find(ie=>ee[ie]===$);return te&&te===G($)}function B(j){const ee=s.Z.getMemberAreasHomepages()[j];return(0,O.Yz)((0,y.UT)(),ee)}function R(){const j=(0,O.Dm)((0,y.UT)()),$={enum:[],enumAnnotation:[]};for(const ee in j)$.enum.push(ee),$.enumAnnotation.push({label:j[ee].name});return $}function U(j){var $,ee;if(!(j.pagePermissionType===f().PRICING_PLAN||j.pagePermissionType===S.ZP.PRICING_PLAN))return!1;const ie="pricingPlanProtection"in j?($=j.pricingPlanProtection)===null||$===void 0?void 0:$.previewableContent:void 0;return!!(ie&&h()[ie]===h().NONE||("protection"in j?(ee=j.protection)===null||ee===void 0?void 0:ee.previewableContent:void 0))}},617801:function(b,l,e){"use strict";e.d(l,{JC:()=>s,Q4:()=>L,Q7:()=>C,T5:()=>T,fp:()=>W,iP:()=>G,ih:()=>S,kc:()=>E,ln:()=>F,p6:()=>I,rm:()=>m});var r=e(600663),o=e(419467),n=e.n(o),a=e(487558),i=e(722448),c=e.n(i),u=e(530149),f=e.n(u),d=e(521237),h=e.n(d),g=e(661614),_=e(800191),p=e(991735),y=e(883583),O=e(762535),P=e(227706);const C=()=>p.Z.hasPermission(c().CONFIG_CONTENT_EDIT);function A(k,x){const M=k.ordering,B=k.collectionType||k.type,R=!!k.folder,U=!!k.index;return Object.keys(x).find($=>{const ee=x[$];return B===f().PRODUCTS&&ee.collectionType===f().PRODUCTS||R&&ee.folder||U&&ee.index||M===ee.ordering&&B===ee.collectionType&&R===!!ee.folder})}function S(k){var x;const M=(0,a.UT)(),B=(0,g.aN)(M);return(B==null?void 0:B[k])||((x=(0,g.KD)(M))===null||x===void 0?void 0:x[k])}function T(k){var x;const M=(0,a.UT)();let{typeName:B}=k;const R="id"in k?k.id:k.collectionId;if(!B){const j=(0,P.n)()[R];j&&(B=j.typeName)}const U=(0,g.aN)(M);if(U&&!B&&"deleted"in k&&k.deleted&&(B=A(k,U)),!!B)return(U==null?void 0:U[B])||((x=(0,g.KD)(M))===null||x===void 0?void 0:x[B])}function s(k){return k.ordering||T(k).ordering}function v(k){return!!T(k)}function m(k){if(k.collectionType)return k.collectionType;if(k.type)return k.type;const x=T(k);return x==null?void 0:x.collectionType}function E(k){if(!v(k)||m(k)!==f().COLLECTION_TYPE_GENERIC)return!1;const x=T(k);if(!x)throw new Error("No config found for given collection");return!x.folder&&x.folderBehavior!==h().INDEX}function I(k){let{collection:x}=k;return!x||!v(x)?x:{...(0,o.omit)(x,["passwordProtected","password","memberAreaIds"]),collectionConfig:T(x)}}function L(k){const x=k.pagePermissionType;return typeof x=="number"?(0,y.OX)(x):x}function W(k,x,M){if(x.entityType===_.D.PRODUCT&&(M==null?void 0:M.length)===1){const B=M.find(R=>R.type==="ROOT");return k.pathname===O.Z.forPagesPanel()+"/"+x.id+"/categories/"+(B==null?void 0:B.id)}return k.pathname===O.Z.forPagesPanel()+"/"+x.id}function F(k,x){let M=null;return k==null||k.items.find(B=>{B.items.find(U=>U.collectionId===x.id)&&(M=O.Z.forPagesPanel()+"/member-sites/"+B.memberAreaId)}),M}function G(k){return"collectionId"in k&&k.collectionId?k.collectionId:"parentCollectionId"in k&&k.parentCollectionId?k.parentCollectionId:null}},563259:function(b,l,e){"use strict";e.d(l,{E:()=>H});var r=e(714011),o=e(814710),n=e(966135),a=e(654127),i=e(714487),c=e(115725),u=e(554468),f=e(793275),d=e.n(f);const h=u.Z.getStoreCurrency(),g=[{name:(0,i.t)("Silver Tier",null,{project:"apps.ContentBrowser"}),pricingType:d().RECURRING,description:(0,i.t)("Dive into a dynamic curriculum crafted by industry experts, offering practical insights and real-world applications.",null,{project:"apps.ContentBrowser"}),benefits:[{description:(0,i.t)("Over 20 hours of instruction",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("Unlimited lifetime access",null,{project:"apps.ContentBrowser"})}],pricingOptions:[{price:{currency:h,value:50},billingPeriod:{value:1,unit:c.fL.Month},numBillingCycles:0}]},{name:(0,i.t)("Gold Tier",null,{project:"apps.ContentBrowser"}),pricingType:d().RECURRING,description:(0,i.t)("As a Gold Tier member, you will receive access to everything in the Silver Tier, as well as support from our mentors and access to the private learning community.",null,{project:"apps.ContentBrowser"}),benefits:[{description:(0,i.t)("Over 20 hours of instruction",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("Unlimited lifetime access",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("1-1 Mentorship Sessions",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("Access to the learning community",null,{project:"apps.ContentBrowser"})}],pricingOptions:[{price:{currency:h,value:100},billingPeriod:{value:1,unit:c.fL.Month},numBillingCycles:0}]}];var _=e(696049);const p=u.Z.getStoreCurrency(),y=(0,i.lb)(new _.default(44,p)),O=[{name:(0,i.t)("Monthly",null,{project:"apps.ContentBrowser"}),pricingType:d().RECURRING,description:(0,i.t)("Get anytime access to our growing collection of video classes, workshops, and exclusive content. New items added every month. You will be charged every month and can cancel at anytime.",null,{project:"apps.ContentBrowser"}),benefits:[{description:(0,i.t)("All-Access Pass",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("New videos every month",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("Watch anywhere, anytime",null,{project:"apps.ContentBrowser"})}],pricingOptions:[{price:{currency:p,value:22},billingPeriod:{value:1,unit:c.fL.Month},numBillingCycles:0}]},{name:(0,i.t)("Annual",null,{project:"apps.ContentBrowser"}),pricingType:d().RECURRING,description:(0,i.t)("Get anytime access to our growing collection of classes, workshops, and exclusive content. New items added every month. Save {savedAmount} with the annual plan.",{savedAmount:y},{project:"apps.ContentBrowser"}),benefits:[{description:(0,i.t)("All-Access Pass + 2 FREE months",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("New videos every months",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("Watch anywhere, anytime",null,{project:"apps.ContentBrowser"})}],pricingOptions:[{price:{currency:p,value:200},billingPeriod:{value:12,unit:c.fL.Month},numBillingCycles:0}]}],P=u.Z.getStoreCurrency(),C=[{name:(0,i.t)("Club Member",null,{project:"apps.ContentBrowser"}),pricingType:d().RECURRING,description:(0,i.t)("As a member, you gain access to a wealth of resources and exclusive content tailored to your interests.",null,{project:"apps.ContentBrowser"}),benefits:[{description:(0,i.t)("Access to the community chat",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("Behind-the-scenes content",null,{project:"apps.ContentBrowser"})}],pricingOptions:[{price:{currency:P,value:10},billingPeriod:{value:1,unit:c.fL.Month},numBillingCycles:0}]},{name:(0,i.t)("VIP Member",null,{project:"apps.ContentBrowser"}),pricingType:d().RECURRING,description:(0,i.t)("Unlock a higher level of access by upgrading to our VIP membership. Enjoy all the perks of a club member, plus additional content and 1-1 access.",null,{project:"apps.ContentBrowser"}),benefits:[{description:(0,i.t)("All club member perks",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("Bonus videos",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("1-1 appointments",null,{project:"apps.ContentBrowser"})}],pricingOptions:[{price:{currency:P,value:20},billingPeriod:{value:1,unit:c.fL.Month},numBillingCycles:0}]}],A=u.Z.getStoreCurrency(),S=(0,i.lb)(new _.default(64,A)),T=[{name:(0,i.t)("Annual",null,{project:"apps.ContentBrowser"}),pricingType:d().RECURRING,description:(0,i.t)("Get access to exclusive content with new posts added every day. Save {savedAmount} with the annual plan.",{savedAmount:S},{project:"apps.ContentBrowser"}),benefits:[{description:(0,i.t)("All-Access Pass",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("New posts every day",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("View anytime, anywhere",null,{project:"apps.ContentBrowser"})}],pricingOptions:[{price:{currency:A,value:200},billingPeriod:{value:12,unit:c.fL.Month},numBillingCycles:0}]},{name:(0,i.t)("Monthly",null,{project:"apps.ContentBrowser"}),pricingType:d().RECURRING,description:(0,i.t)("Get access to exclusive content with new posts added every day.",null,{project:"apps.ContentBrowser"}),benefits:[{description:(0,i.t)("All-Access Pass",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("New posts every day",null,{project:"apps.ContentBrowser"})},{description:(0,i.t)("View anytime, anywhere",null,{project:"apps.ContentBrowser"})}],pricingOptions:[{price:{currency:A,value:22},billingPeriod:{value:1,unit:c.fL.Month},numBillingCycles:0}]}],s={headline:(0,i.t)("Choose your plan",null,{project:"apps.ContentBrowser"}),description:(0,i.t)("This page will be available once you choose a plan.",null,{project:"apps.ContentBrowser"}),pricingPlanIdList:[]};var v=e(367059),m=e(116413),E=e(333993),I=e(468287),L=e(394607),W=e(730842),F=e(734622),G=e(800191),k=e(398358),x=e(175577),M=e.n(x),B=e(810276),R=e.n(B),U=e(419467),j=e(526974);const{createPricingPlan:$,getAllPlanNames:ee}=n,te=[R().VIDEO_COLLECTION,R().COURSE,R().BLOG],ie={[R().COURSE]:g,[R().VIDEO_COLLECTION]:O,[R().MEMBER_SITE]:C,[R().BLOG]:T},ne="ROOT",pe=2,oe=async(z,_e)=>{const{items:ae}=await L.Z.fetchItems(z);return ae.splice(0,_e)},q=async(z,_e)=>{const{items:ae}=await I.Z.fetchItems(z),Be=(await F.ZP.getNestedCategories(G.D.VIDEO_COLLECTION,z)).find(Ke=>Ke.type===ne).orderedItemIds.splice(0,_e);return ae.filter(Ke=>Be.includes(Ke.id))},J=async(z,_e)=>{const{items:ae}=await E.Z.fetchItems(z),{courseContents:ge}=await(0,v.R7)(z),Be=ge.flatMap(Ke=>(0,m.Ey)(Ke)?Ke.courseItems:Ke).map(Ke=>Ke.id).splice(0,_e);return ae.filter(Ke=>Be.includes(Ke.id))},me=async(z,_e)=>{const ae=(0,U.cloneDeep)(z);return _e===R().BLOG?ae.protectionSettings={...ae.protectionSettings,type:"PRICING_PLAN",isPreviewable:!0}:ae.pricingPlanProtectionSettings={...ae.pricingPlanProtectionSettings,isPreviewable:!0},W.Z.updateItem(ae)},re=async(z,_e,ae)=>{let ge=[];return _e===R().VIDEO_COLLECTION?ge=await q(z,ae):_e===R().COURSE?ge=await J(z,ae):_e===R().BLOG&&(ge=await oe(z,ae)),Promise.all(ge.map(Be=>me(Be,_e)))},he=async(z,_e,ae)=>{const ge={...s};return _e===R().VIDEO_COLLECTION?ge.previewScope=M().COLLECTION_AND_ALL_ITEMS:_e===R().COURSE?ge.previewScope=M().COLLECTION_ONLY:_e===R().BLOG&&(ge.previewScope=M().COLLECTION_AND_ALL_ITEMS),ge.pricingPlanIdList=ae,(0,k.N)(_e,z,ge)},Ee=z=>te.includes(z),fe=async(z,_e,ae)=>{const{pricingPlans:ge}=await ee(),Be=ge.map(He=>He.name.trim()),Ke=[];for(const He of ie[_e]){const ye={...He};ye.name=(0,a.c)(Be,ye.name),ye.isDemoContent=!0,ye.digitalProducts=[{name:ae,id:z,type:_e}];const{data:Le}=await $(ye);Ke.push(Le.id)}return Ke},H=async(z,_e,ae)=>{const ge=await fe(z,_e,ae);await he(z,_e,ge),Ee(_e)&&re(z,_e,pe),(0,j.broadcastGuidanceTaskCompletion)({taskType:j.TaskType.ADD_DIGITAL_PRODUCT,skipPersist:!0})}},370938:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(213865);const n=a=>{const i=`opacity .4s ${r.easing.product.entrance}`,c=a?"hidden":"visible",u=a?"0":"1",f=a?`opacity .2s  ${r.easing.product.exit}, visibility .2s ${r.easing.product.exit}`:i,d=`max-height .4s ${r.easing.product.default}, ${f}`;return{opacity:u,transition:d,visibility:c}}},176742:function(b,l,e){"use strict";e.d(l,{V:()=>_,i:()=>u});var r=e(931387),o=e(270848),n=e.n(o),a=e(655191),i=e(800191);let c=null;function u(p){c=!!(p&&p.length>0)}function f(){if(c===null){var p;u(r.D===null||r.D===void 0||(p=r.D.template)===null||p===void 0?void 0:p.customTypes)}return c}const d={audio:a.J.ALBUM_ITEM,[i.d.COURSE_ITEM]:a.J.COURSE_ITEM,[i.d.VIDEO_ITEM]:a.J.VIDEO_ITEM,[i.d.PORTFOLIO_ITEM]:a.J.PORTFOLIO_ITEM,[i.d.STORE_ITEM]:a.J.PRODUCT_ITEM},h=()=>{const p=!f();return{[n().TEXT]:a.J.BLOG_ITEM,[n().COURSE_ITEM]:a.J.COURSE_ITEM,[n().EVENT]:a.J.EVENT_ITEM,[n().IMAGE]:p?a.J.GALLERY_ITEM:null,[n().VIDEO]:p?a.J.GALLERY_ITEM:null,[n().LESSON]:a.J.VIDEO_ITEM,[n().STORE_ITEM]:a.J.PRODUCT_ITEM,[n().PORTFOLIO_ITEM]:a.J.PORTFOLIO_ITEM}},g={"course-item":a.J.COURSE_ITEM,lesson:a.J.VIDEO_ITEM,portfolio_item:a.J.PORTFOLIO_ITEM,store_item:a.J.PRODUCT_ITEM},_=p=>{if(!p)return null;if(p.recordTypeLabel==="audio")return a.J.ALBUM_ITEM;const y=d[p.entityType],O=p.recordType&&h()[p.recordType],P=p.typeName&&g[p.typeName];return y||O||P||null}},183753:function(b,l,e){"use strict";e.d(l,{VN:()=>n,ZF:()=>r,lj:()=>o});const r=a=>{let{id:i,type:c,enabled:u,pagePermissionType:f,passwordProtected:d=!1,navigationTitle:h,title:g,typeName:_,updatedOn:p,urlId:y,children:O,draft:P=!1,isPending:C=!1}=a;return{collectionId:i,collectionType:c,enabled:u,isFolder:_==="folders",items:O||[],linkId:i,linkType:"collection",passwordProtected:d,title:h||g,typeName:_,urlId:y,isDraft:P,isPending:C,pagePermissionType:f,updatedOn:p}},o=a=>({enabled:!1,externalLink:a,passwordProtected:!1,title:a.title,isDraft:!1,isFolder:!1}),n=a=>({enabled:!1,isFolder:!1,items:[],memberAreaId:a.id,memberAreaDefaultLandingPageId:a.defaultLandingPageId,passwordProtected:!1,title:a.name,typeName:"_memberareas"})},289348:function(b,l,e){"use strict";e.d(l,{CP:()=>y,x6:()=>O,Sj:()=>C});var r=e(456903),o=e(912289);const n="/api/content-collections",a="apple-news-channel-mapping";function i(A){return`${n}/${A}/${a}`}const u={fetch(A){return r.default.get(i(A))},connect(A,S,T,s){try{(0,o.uU)({feedType:"appleNews",collectionId:A})}catch(v){console.warn("event capture failed",v)}return r.default.post(i(A),{channelId:S,apiKey:T,secret:s})},disconnect(A){return r.default.delete(i(A))}};var f=e(163301),d=e.n(f),h=e(661614),g=e(283052),_=e(765134);const p=15e3,y=(0,g.X)("APPLE_NEWS_FETCH_STATE",async A=>(await u.fetch(A)).data),O=(0,g.X)("APPLE_NEWS_CONNECT",async(A,S)=>{let{getState:T}=S;const s=T(),{channelId:v,apiKey:m,secret:E}=(0,h.lZ)(s),{data:I}=await u.connect(A,v,m,E);return I});async function P(A,S){try{(await S(y(A)).unwrap()).state===d().DISCONNECTING&&(await(0,_.Z)(p),await P(A,S))}catch{}}const C=(0,g.X)("APPLE_NEWS_DISCONNECT",async(A,S)=>{let{dispatch:T}=S;await u.disconnect(A),await P(A,T)})},984350:function(b,l,e){"use strict";e.d(l,{kk:()=>M,Bh:()=>ge,Vh:()=>ae,se:()=>U,Qw:()=>re,Jd:()=>ie,yk:()=>x,BL:()=>ee,uH:()=>R,P2:()=>oe,Ys:()=>B,e7:()=>ne,tp:()=>q,wK:()=>he,ny:()=>fe,P4:()=>J,Jt:()=>Ee,qk:()=>z,mg:()=>_e,Rm:()=>$,lN:()=>me,OQ:()=>H,gh:()=>pe});var r=e(419467),o=e(456903),n=e(387582),a=e(655191),i=e(651780),c=e(580774),u=e(173585),f=e(714487),d=e(890100),h=e(277945),g=e(283052),_=e(661614),p=e(851939),y=e(58713),O=e(45614),P=e(505020),C=e(63742),A=e(668562),S=e(989250),T=e(912289),s=e(769995);const v=Be=>{let{collectionId:Ke,collectionTypeName:He,collectionDataBefore:ye,collectionDataAfter:Le}=Be;try{He==="blog"&&m({collectionId:Ke,collectionDataBefore:ye,collectionDataAfter:Le})}catch{(0,s.uT)("track collection item updates failed")}};function m(Be){let{collectionId:Ke,collectionDataBefore:He,collectionDataAfter:ye}=Be;ye.rssFeedReplacementUrl&&!He.rssFeedReplacementUrl&&(0,T.uU)({feedType:"replaceFeedUrl",collectionId:Ke})}var E=e(899136),I=e(35045),L=e(618662),W=e(399080),F=e(461214);const G=new d.Z("",{hasContentStats:!0,hasContentItems:!1}),k=Be=>{const Ke=c.Z.get(u.bl,Be);return Ke||G},x=(0,p.createAction)("SET_SEO_DATA_FOR_HOMEPAGE"),M=g.X.withTypes()("COLLECTION_SYNC_COLLECTION",async(Be,Ke)=>{let{rejectWithValue:He}=Ke;const ye=k({collection:Be});try{return{...await ye.onLoad(Be.id),collectionId:Be.id}}catch(Le){throw He(Le,{title:(0,f.t)("Couldn\u2019t sync collection",null,{project:"apps.ContentBrowser"})})}}),B=g.X.withTypes()("COLLECTIONS_LOAD_COLLECTION",async(Be,Ke)=>{let{getState:He,rejectWithValue:ye}=Ke;const Le=He(),Ue=(0,_.Lg)(Le)[Be],Xe=k({collection:Ue});try{return{...await Xe.onLoad(Be),collectionId:Be}}catch(Fe){throw ye(Fe,{title:(0,f.t)("Couldn\u2019t load collection",null,{project:"apps.ContentBrowser"})})}}),R=g.X.withTypes()("COLLECTIONS_UPDATE_ROOT_CATEGORY",async(Be,Ke)=>{let{collection:He,category:ye}=Be,{fulfillWithValue:Le,rejectWithValue:Ue}=Ke;const Xe={title:(0,f.t)("Couldn\u2019t update category",null,{project:"apps.ContentBrowser"}),collectionId:He.id},Fe=c.Z.get(u.bl,{collection:He});try{const ht=await Fe.onUpdateRootCategory(He,ye);return Le(ht,Xe)}catch(ht){throw Ue(ht,Xe)}}),U=g.X.withTypes()("COLLECTIONS_UPDATE_DRAFT_TITLE",async(Be,Ke)=>{let{collectionId:He,newTitle:ye}=Be,{fulfillWithValue:Le,rejectWithValue:Ue}=Ke;const Xe={title:(0,f.t)("Couldn\u2019t update draft title",null,{project:"apps.ContentBrowser"}),collectionId:He};try{const Fe=await A.Z.onUpdateDraftTitle(He,ye).then(ht=>((0,T.PR)("PAGE",He,{isNameChanged:!1}),ht));return Le(Fe,Xe)}catch(Fe){throw Ue(Fe,Xe)}}),j=(Be,Ke)=>{var He,ye,Le,Ue;const Xe=[];return((He=Be.seoData)===null||He===void 0?void 0:He.seoTitle)!==((ye=Ke.seoData)===null||ye===void 0?void 0:ye.seoTitle)&&Xe.push("seo-title"),((Le=Be.seoData)===null||Le===void 0?void 0:Le.seoDescription)!==((Ue=Ke.seoData)===null||Ue===void 0?void 0:Ue.seoDescription)&&Xe.push("seo-description"),Xe},$=g.X.withTypes()("COLLECTIONS_UPDATE_COLLECTION",async(Be,Ke)=>{let{collection:He}=Be,{rejectWithValue:ye,fulfillWithValue:Le,getState:Ue,dispatch:Xe}=Ke;const Fe={title:(0,f.t)("Couldn\u2019t update collection",null,{project:"apps.ContentBrowser"}),collectionId:He.id},ht=Ue(),Ne=k({collection:He}),Ce=(0,_.lb)(ht),we=(0,_.Lg)(ht)[He.id],$e=Ie=>{var Bt,mt;return Ie.isAxiosError&&(!((mt=Ie.response)===null||mt===void 0||(Bt=mt.data)===null||Bt===void 0)&&Bt.error)?Ie.response.data:Ie},Ot=Ie=>Promise.resolve(Ie).then(Bt=>({status:"fulfilled",value:Bt})).catch(Bt=>({status:"rejected",reason:$e(Bt)})),Pt=[Ot(Ce?Xe(R({collection:He,category:Ce})).unwrap():Promise.resolve(null)),Ot(Ne.onUpdate(He))];try{const Ie=await Promise.all(Pt).then(Bt=>{var mt;const rt=Bt.filter(vt=>vt.status==="rejected");if(rt.length>0)throw(0,r.merge)(...rt.map(ze=>ze.reason));const ce=Bt[1];v({collectionId:He.id,collectionTypeName:Ne.typeName,collectionDataBefore:we,collectionDataAfter:ce.value});const Re=He.homepage,nt=(mt=ht.collections[He.id])===null||mt===void 0?void 0:mt.collection,st=He;return(0,T.PR)(Ne.typeName,He.id,{isNameChanged:we?we.title!==He.title:!1,modifiedSEOContent:!Re&&nt?j(nt,st):void 0,isUrlSlugChanged:we?we.urlId!==He.urlId:!1}),ce.value});return Le(Ie,Fe)}catch(Ie){throw ye(Ie,Fe)}}),ee=g.X.withTypes()("COLLECTIONS_CREATE_COLLECTION",async(Be,Ke)=>{let{typeName:He,options:ye}=Be,{getState:Le,fulfillWithValue:Ue,rejectWithValue:Xe}=Ke;const Fe=Le().context.websiteId,ht=k({collection:{typeName:He}}),Ne={title:(0,f.t)("Couldn\u2019t create collection",null,{project:"apps.ContentBrowser"})};try{return Ue(await ht.onCreate({...ye,websiteId:Fe,typeName:He}),Ne)}catch(Ce){throw Xe(Ce,Ne)}}),te=Be=>{let{collectionId:Ke,websiteId:He,componentReplacements:ye}=Be;const Le="/api/content/copy/collection/component-replacements",Ue=`sourceCollectionId=${Ke}&sourceWebsiteId=${He}`;return o.default.post(`${Le}?${Ue}`,ye)},ie=(0,g.X)("COLLECTIONS_COPY_COLLECTION",async(Be,Ke)=>{let{rejectWithValue:He}=Ke;try{const{data:ye}=await te(Be);return{...await k({collection:ye}).onLoad(ye.id),collectionId:ye.id}}catch(ye){throw He(ye)}}),ne=(0,g.X)("COLLECTION_REFRESH",async Be=>{const{data:Ke}=await h.Z.readCollectionSettings(Be);return{collection:Ke}}),pe=g.X.withTypes()("COLLECTIONS_CLONE_COLLECTION",async(Be,Ke)=>{let{dispatch:He,getState:ye,fulfillWithValue:Le,rejectWithValue:Ue}=Ke;const Xe=ye(),Fe=(0,_.Lg)(Xe)[Be],ht=k({collection:Fe}),Ne=(0,E.$D)(Be),Ce=!!(Fe!=null&&Fe.draft||Fe!=null&&Fe.isDraft),we={title:Ce?(0,f.t)("Couldn\u2019t duplicate draft",null,{project:"apps.ContentBrowser"}):(0,f.t)("Couldn\u2019t clone collection",null,{project:"apps.ContentBrowser"}),collectionId:Be,isDemo:Ne,isDraft:Ce};try{const $e=Ce?Fe==null?void 0:Fe.parentCollectionId:Be;let Ot=n.Z.hiddenNavigationName,Pt="0";if((Ce||Ne)&&(0,y.Z)()){const Bt={items:Object.values((0,_.$q)(Xe))},mt=(0,C.forEachItem)(Bt,(rt,ce)=>{if(rt&&"collectionId"in rt&&rt.collectionId===$e)return ce});if(Ot=(0,C.getNavigationGroupFromPath)(Bt,mt).identifier,Ne)Pt=mt;else{const rt=(0,C.getPathForAddedItem)(Bt,mt);if(!rt)throw new Error("Could not find path for added item");Pt=rt.slice(2)}}const Ie=await ht.onClone(Be);return Ne&&(0,y.Z)()?He((0,O.d4)({navigationId:Ot,fullPath:Pt,itemToAdd:Ie.collection,oldId:Be})):He((0,O.DM)(Ot,Pt,Ie.collection)),Le(Ie,we)}catch($e){throw Ue($e,we)}}),oe=g.X.withTypes()("COLLECTIONS_CREATE_DRAFT",async(Be,Ke)=>{let{getState:He,dispatch:ye,rejectWithValue:Le}=Ke;const Ue=He(),Xe={items:Object.values((0,_.$q)(Ue))},Fe=(0,C.forEachItem)(Xe,(we,$e)=>{if("collectionId"in we&&we.collectionId===Be)return $e}),{identifier:ht}=(0,C.getNavigationGroupFromPath)(Xe,Fe),Ne=(0,C.getPathForAddedItem)(Xe,Fe);if(!Ne)throw new Error("Could not find path for added item");const Ce=Ne.slice(2);try{const we=await A.Z.createDraft(Be);return ye((0,O.DM)(ht,Ce,we,!1)),{collection:we}}catch(we){throw Le(we,{title:(0,f.t)("Couldn\u2019t create draft",null,{project:"apps.App"}),collectionId:Be,isDraft:!0})}}),q=g.X.withTypes()("COLLECTIONS_CLONE_COLLECTION_WITH_ITEM",async(Be,Ke)=>{let{collectionId:He,itemId:ye}=Be,{getState:Le,rejectWithValue:Ue}=Ke;const Xe=Le(),Fe=(0,_.Lg)(Xe)[He],ht=k({collection:Fe});try{return await ht.onCloneDemoWithItem(He,ye)}catch(Ne){throw Ue(Ne,{title:(0,f.t)("Couldn\u2019t clone collection",null,{project:"apps.ContentBrowser"})})}}),J=g.X.withTypes()("COLLECTIONS_DELETE_COLLECTION",async(Be,Ke)=>{let{getState:He,fulfillWithValue:ye,rejectWithValue:Le}=Ke;const{hasBeenCloneable:Ue}=I.default.getState();if(Ue&&!(0,i.Nx)())throw Le({title:(0,f.t)("Couldn't delete collection",null,{project:"apps.ContentBrowser"}),message:(0,f.t)("Collections can not be deleted on previously cloneable websites",null,{project:"apps.ContentBrowser"})},{});const Xe=He(),Fe=(0,_.Lg)(Xe),ht=(0,r.map)((0,r.castArray)(Be),Ne=>{const Ce=Fe[Ne];return k({collection:Ce}).onDelete(Ce)});try{const Ne=(await Promise.all(ht)).filter(Ce=>!!Ce);return ye(Ne,{collectionIds:Be})}catch(Ne){throw Le(Ne,{title:(0,f.t)("Couldn\u2019t delete collection",null,{project:"apps.ContentBrowser"})})}}),me=(0,g.X)("COLLECTIONS_CREATE_COLLECTION_CATEGORY",Be=>{let{collectionId:Ke,category:He}=Be;return h.Z.createCategory(Ke,He).then(ye=>{let{data:Le}=ye;return Le})}),re=(0,g.X)("COLLECTIONS_RENAME_COLLECTION_CATEGORY",async(Be,Ke)=>{let{collectionId:He,oldCategoryName:ye,newCategoryName:Le}=Be,{getState:Ue,dispatch:Xe}=Ke;const{data:Fe}=await h.Z.mergeCategories(He,ye,Le),ht=Ue(),Ne=(0,_.kk)(ht);return Object.keys(Fe.items??{}).map(we=>Ne[we]).forEach(we=>{Xe((0,P.oi)(we))}),Fe}),he=(0,g.X)("COLLECTIONS_DELETE_COLLECTION_CATEGORY",async(Be,Ke)=>{let{collectionId:He,category:ye}=Be,{getState:Le,dispatch:Ue}=Ke;const Xe=Le(),ht=(0,_.Lg)(Xe)[He];(0,S.j)(ht)===a.A.PRODUCT_COLLECTION&&(0,L.tF)(ye);const{data:Ne}=await h.Z.deleteCategory(He,ye),Ce=(0,_.kk)(Xe);return(Ne.items??{}).map($e=>Ce[$e]).forEach($e=>{Ue((0,P.oi)($e))}),Ne}),Ee=(0,g.X)("COLLECTIONS_LOAD_COLLECTION_TAGS",async Be=>{const{data:Ke}=await h.Z.getTags(Be);return Ke}),fe=(0,g.X)("COLLECTIONS_RENAME_COLLECTION_TAG",async(Be,Ke)=>{let{collectionId:He,oldTagName:ye,newTagName:Le}=Be,{dispatch:Ue,getState:Xe}=Ke;const{data:Fe}=await h.Z.mergeTags(He,ye,Le),ht=Xe(),Ne=(0,_.kk)(ht);return(Fe.items??[]).map(we=>Ne[we]).forEach(we=>{Ue((0,P.oi)(we))}),Fe}),H=(0,g.X)("COLLECTIONS_DELETE_COLLECTION_TAG",async(Be,Ke)=>{let{collectionId:He,tag:ye}=Be,{dispatch:Le,getState:Ue}=Ke;const{data:Xe}=await h.Z.deleteTag(He,ye),Fe=Ue(),ht=(0,_.kk)(Fe);return(Xe.items??[]).map(Ce=>ht[Ce]).forEach(Ce=>{Le((0,P.oi)(Ce))}),Xe}),z=(0,g.X)("COLLECTIONS_SET_HOMEPAGE_FOR_CURRENT_COLLECTION",async Be=>(await W.Z.setHomepageCollectionId(Be),Be)),_e=Be=>async Ke=>{await Ke(z(Be)).unwrap(),Ke(x())},ae=g.X.withTypes()("COLLECTIONS_RESTORE_DELETED_COLLECTION",async(Be,Ke)=>{let{dispatch:He,rejectWithValue:ye}=Ke;const{hasDeletedCollections:Le}=await F.Vh(Be.id),{collection:Ue}=await He(M(Be)).unwrap();try{return{collection:Ue,hasDeletedCollections:Le}}catch(Xe){throw ye(Xe,{title:(0,f.t)("Couldn\u2019t restore collection",null,{project:"apps.ContentBrowser"})})}}),ge=(0,p.createAction)("COLLECTIONS_UPDATE_CATEGORY_TREE")},85375:function(b,l,e){"use strict";e.d(l,{OW:()=>S,_5:()=>C,d6:()=>P,gH:()=>A});var r=e(818584),o=e.n(r),n=e(419467),a=e.n(n),i=e(661614),c=e(984350),u=e(505020),f=e(274252),d=e(289348),h=e(924298),g=e(379958),_=e(45614),p=e(58713);let y=n.noop,O=n.noop;const P=(0,r.defineAction)("CONFIRM_CLOSE_CONFIRM_MODAL"),C=(0,r.defineAction)("CONFIRM_OPEN_CONFIRM_MODAL",function(T){let{title:s,message:v,confirmLabel:m,confirmVariant:E,fsUnmask:I=!1}=T,L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:g.Hn,W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],F=arguments.length>3&&arguments[3]!==void 0?arguments[3]:n.noop,G=arguments.length>4&&arguments[4]!==void 0?arguments[4]:n.noop;return k=>(y=F,O=G,k({payload:{title:s,message:v,confirmLabel:m,confirmVariant:E,action:L,args:(0,n.castArray)(W),fsUnmask:I}}))}),A=(0,r.defineAction)("CONFIRM_CONFIRM_ACTION",()=>async(T,s)=>{const v=s(),m=(0,i.OT)(v),E=(0,i.Wv)(v);let I;switch(m){case g.ge:await T((0,c.P4)(...E)).unwrap(),(0,p.Z)()&&await T((0,_.OS)(...E));break;case g.mN:I=await T((0,u.wz)(...E));break;case g.yi:await T((0,d.Sj)(...E));break;case g._j:await T((0,c.mg)(...E));break;case g.ZC:I=await T((0,c.gh)(...E)).unwrap();break;case g.cN:I=await T((0,u.Hw)(...E));break;case g.t$:await T((0,h.wU)(...E));break;case g.PB:try{await T((0,u.CV)(...E))}catch{console.error("Couldn't delete items")}break;case g.yZ:await T((0,f.u)(...E));break;case g.X9:await T((0,u.$G)(...E));break;case g.Rj:await T((0,c.Vh)(...E)).unwrap();break;case g.d6:await T((0,_.UP)(...E)).unwrap();break;case g.jp:await T((0,_.Il)(...E)).unwrap();break;case g.sC:await T((0,u.ff)(...E));break;case g.mR:await T((0,u.By)(...E));break;case g.$Y:try{await T((0,u.O2)(...E))}catch{console.error("Couldn't delete items")}break;default:break}return y(I),y=n.noop,T(P())}),S=(0,r.defineAction)("CONFIRM_CANCEL_ACTION",()=>T=>(O(),O=n.noop,T(P())))},314123:function(b,l,e){"use strict";e.d(l,{G:()=>a,Z:()=>n});var r=e(600663),o=e(851939);const n=(0,o.createAction)("EDITOR_LOAD_EDITOR_CONTEXT"),a=(0,o.createAction)("CONTEXT_UPDATE_CURRENT_LOCATION")},673092:function(b,l,e){"use strict";e.d(l,{AY:()=>pe,CU:()=>E,DJ:()=>G,LA:()=>M,WK:()=>ee,Ym:()=>I,Z7:()=>B,_g:()=>x,aC:()=>s,e9:()=>m,iJ:()=>te,jz:()=>ie,mN:()=>U,o6:()=>v,pO:()=>L,qq:()=>R,sp:()=>k,t_:()=>A,uY:()=>T,vJ:()=>S,xq:()=>W});var r=e(851939),o=e(445208),n=e.n(o),a=e(714487),i=e(734622),c=e(661614),u=e(505020),f=e(984350),d=e(283052),h=e(389186),g=e.n(h),_=e(270848),p=e.n(_),y=e(699321),O=e(506110),P=e(264065),C=e(617801);const A=(0,r.createAction)("EDITOR_CLOSE_ADD_ITEM_MODAL"),S=(0,r.createAction)("EDITOR_CLOSE_SETTINGS_EDITOR_MODAL"),T=(0,r.createAction)("EDITOR_SELECT_CATEGORY"),s=(0,r.createAction)("EDITOR_ERRORS_CHANGE"),v=(0,r.createAction)("RESET_PASSWORD_AFTER_SSO",oe=>({payload:{collection:{...oe,password:"",pagePermissionType:n().SSO,protection:{type:"SSO"}}}})),m=(0,r.createAction)("EDITOR_EMBEDDED_TITLE_DESC_CHANGE"),E=(0,r.createAction)("EDITOR_CATEGORY_CHANGE"),I=(0,r.createAction)("EDITOR_TAG_CHANGE"),L=(0,r.createAction)("EDITOR_APPLE_NEWS_CHANGE"),W=(0,r.createAction)("EDITOR_ROOT_CATEGORY_CHANGE"),F=oe=>(q,J)=>{const me=(0,c.FC)(J()),re=i.fH({...me,...oe.value}),he={...oe,value:re};return q(W(he))},G=(0,r.createAction)("EDITOR_ITUNES_CHANGE",oe=>{const{diff:q,value:J}=oe,me={...J.value};return q["#/value/categoryPrimary"]!==void 0&&(me.subcategoryPrimary=""),q["#/value/categorySecondary"]!==void 0&&(me.subcategorySecondary=""),q["#/value/categoryTertiary"]!==void 0&&(me.subcategoryTertiary=""),{payload:{...oe,value:me}}}),k=(0,r.createAction)("EDITOR_COLLECTION_CHANGE"),x=(0,r.createAction)("EDITOR_COLLECTION_ITEM_CHANGE"),M=oe=>{let{changes:q}=oe;return(J,me)=>{const re=(0,c.FJ)(me());Object.keys(q).forEach(he=>{if(he==="categories")return J(E(q.categories));if(he==="applenews")return J(L(q.applenews));if(he==="itunes")return J(G(q.itunes));if(he==="tags")return J(I(q.tags));if(he==="rootCategory")return J(F(q.rootCategory));if(re){const fe=q[he];return J(k(fe))}const Ee=q[he];return J(x(Ee))})}},B=(0,r.createAction)("EDITOR_LESSON_CONTENT_RELATED_VIDEO_CHANGE"),R=d.X.withTypes()("LOAD_AND_OPEN_ADD_ITEM_MODAL",async(oe,q)=>{let{dispatch:J,rejectWithValue:me}=q;try{return await J((0,u.oi)(oe))}catch(re){return me(re,{title:(0,a.t)("Couldn\u2019t Load Item",null,{project:"apps.ContentBrowser"})})}}),U=(0,r.createAction)("EDITOR_LOAD_SETTINGS_EDITOR_MODAL"),j=oe=>(0,O.wi)(y.Z.getState().connectedAccounts,{showSocialLinksOnly:!1,showOAuthOnly:!0}).filter(q=>{let{serviceId:J,pushAvailable:me,pushEnabled:re}=q;return me&&re&&!(J===g().TUMBLR&&oe.recordType===p().IMAGE)}),$=oe=>j(oe).map(q=>{const J=(oe.shareStates||[]).find(me=>{let{connectedAccountId:re}=me;return re===q.id});return[g().TWITTER,g().TWITTER_UNAUTH].includes(q.serviceId)&&!(J!=null&&J.pushEnabled)?null:J||{connectedAccountId:q.id,message:q.defaultPushMessage,pushEnabled:!1}}).filter(Boolean),ee=(0,r.createAction)("OPEN_ITEM_SETTINGS_MODAL",function(oe){let q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,J=arguments.length>2?arguments[2]:void 0;return{payload:{item:{...oe,shareStates:$(oe)},defaultTab:q,isNewItem:J||!1}}}),te=(0,d.X)("LOAD_AND_OPEN_ITEM_SETTINGS_MODAL",async(oe,q)=>{let{itemToLoad:J,defaultTab:me=null,isNewItem:re=!1}=oe,{dispatch:he,getState:Ee}=q;he(U()),await he((0,u.oi)(J));const fe=(0,c.kk)(Ee())[J.id],H=(0,C.iP)(fe);return he((0,u.LW)({collectionId:H})).unwrap(),he(ee(fe,me,re))}),ie=(0,r.createAction)("OPEN_COLLECTION_SETTINGS_MODAL"),ne=function(oe){let q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(J,me)=>{const{collection:re,tags:he,categories:Ee}=oe,fe=me(),H=(0,c.Ph)(fe);return J(ie({collection:re,categories:Ee,tags:he,defaultTab:q,nestedCategories:oe[P.XX],currentNestedCategoryId:H}))}},pe=(0,d.X)("LOAD_AND_OPEN_COLLECTION_SETTINGS_MODAL",async(oe,q)=>{let{collectionId:J,defaultTab:me=null}=oe,{dispatch:re,getState:he}=q;re(U()),await re((0,f.Ys)(J)).unwrap();const Ee=(0,c.bG)(he())[J];return re(ne(Ee,me))})},440125:function(b,l,e){"use strict";e.d(l,{f:()=>a,y:()=>n});var r=e(818584),o=e.n(r);const n=(0,r.defineAction)("ERROR_OPEN_ERROR_MODAL"),a=(0,r.defineAction)("ERROR_CLOSE_ERROR_MODAL")},924298:function(b,l,e){"use strict";e.d(l,{wU:()=>F,Y7:()=>W,GP:()=>k,eo:()=>G});var r=e(742693),o=e.n(r),n=e(648191),a=e.n(n),i=e(674310),c=e.n(i),u=e(456903),f=e(423394),d=e(912289);const h="/api/content-collections",g="itunes-syndication";function _(x){return`${h}/${x}/${g}`}const y={fetch(x){return u.default.get(_(x))},save(x,M){try{(0,d.uU)({feedType:"podcasting",collectionId:x})}catch(B){console.warn("event capture failed",B)}return u.default.put(_(x),M)},async getLanguageOptions(){const{data:{languageOptions:x}}=await u.default.get(`/api/itunes-syndication/languages/${(0,f.mg)()}`);return x}},O="||",P="|",C=[["categoryPrimary","subcategoryPrimary"],["categorySecondary","subcategorySecondary"],["categoryTertiary","subcategoryTertiary"]],A=function(){const M=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split(O);return C.reduce((B,R,U)=>(R.forEach((j,$)=>{M[U]&&(B[R[$]]=M[U].split(P)[$])}),B),{})},S=x=>C.map(M=>M.map(B=>x[B]).filter(B=>B).join(P)).filter(M=>M).join(O);var T=e(661614);const s=x=>{if(!x)return"";const M=document.createElement("div");return M.innerHTML=x,M.textContent};var v=e(283052),m=e(851939);const E=x=>Object.assign({},x,A(x.categories)),I=x=>Object.assign({},x,{categories:S(x)}),L={feedType:o().EPISODIC,newFeedUrlBehavior:a().NONE,feedSizeOption:c().STANDARD},W=(0,v.X)("ITUNES_LOAD_SETTINGS",async x=>{const{data:M}=await y.fetch(x);return{collectionId:x,...L,...E(M)}}),F=v.X.withTypes()("ITUNES_SAVE_SETTINGS",async(x,M)=>{let{collectionId:B,isEnabled:R=!0,fallbackSummary:U}=x,{getState:j,rejectWithValue:$}=M;const ee=j(),te={...(0,T.Y_)(ee)},ie=te.enabled;try{const{siteTitle:ne}=ee.iTunesSyndicator;te.enabled=R,te.title=te.title||ne,te.author=te.author||ne,te.summary=s(te.summary)?te.summary:U;const{data:pe}=await y.save(B,I(te));return E(pe)}catch{return $(null,{prevEnabledValue:!!ie})}}),G=(0,m.createAction)("ITUNES_ADD_ERRORS"),k=(0,v.X)("ITUNES_LOAD_LANGUAGES",async()=>y.getLanguageOptions())},505020:function(b,l,e){"use strict";e.d(l,{hd:()=>E,O2:()=>S,LW:()=>L,Hw:()=>s,fC:()=>_,RE:()=>F,zX:()=>x,KT:()=>m,HM:()=>I,Cr:()=>W,$G:()=>y,ff:()=>O,AQ:()=>v,B6:()=>G,By:()=>T,oi:()=>p,CV:()=>A,wz:()=>C,xI:()=>k,Oh:()=>P});var r=e(714487),o=e(283052),n=e(580774),a=e(173585),i=e(661614),c=e(734622),u=e(791229),f=e(818584),d=e(945664),h=e(963699),g=e(478750);const _=(0,f.defineAction)("ITEMS_CREATE_ITEM",(M,B,R,U,j)=>($,ee)=>{const te=ee(),ie=(0,i.Ws)(te),ne=(0,i.kx)(te),pe=(0,i.FC)(te),oe=R===(pe==null?void 0:pe.id)?null:R,q=n.Z.get(a.bl,{contentItem:{entityType:M,recordType:M}});if(q)return $({payload:q.onCreate(B,{websiteId:ie,authorId:ne,category:oe},U),meta:{...j??{},type:M}})}),p=(0,f.defineAction)("ITEMS_LOAD_ITEM",M=>(B,R)=>{const U=n.Z.get(a.bl,{contentItem:M}),j=M.parentCollectionId||M.collectionId;if(U)return B({payload:U.onLoad(j,M.id),meta:{title:(0,r.t)("Couldn\u2019t load item",null,{project:"apps.ContentBrowser"})}})}),y=(0,f.defineAction)("ITEMS_UPDATE_ITEM",(M,B,R)=>(U,j)=>{const $=n.Z.get(a.bl,{contentItem:M});if($)return U({payload:$.onUpdate(M,B),meta:{title:(0,r.t)("Couldn\u2019t update item",null,{project:"apps.ContentBrowser"}),type:R}})}),O=(0,f.defineAction)("ITEMS_UPDATE_ITEMS",M=>B=>{const R=M.map(U=>n.Z.get(a.bl,{contentItem:U}).onUpdate(U));return B({payload:Promise.all(R),meta:{title:(0,r.t)("Couldn\u2019t update items",null,{project:"apps.ContentBrowser"})}})}),P=(0,f.defineAction)("ITEMS_DELETE_MAIN_IMAGE",M=>(B,R)=>{const U=n.Z.get(a.bl,{contentItem:M});if(U)return B({payload:U.onDeleteEmbeddedAsset(M.id),meta:{title:(0,r.t)("Couldn\u2019t delete image",null,{project:"apps.ContentBrowser"})}})}),C=(0,f.defineAction)("ITEMS_DELETE_ITEM",(M,B)=>(R,U)=>{const j=U(),$=(0,i.kk)(j)[M]||B,ee=n.Z.get(a.bl,{contentItem:$});if(ee)return R({payload:ee.onDelete($,!0),meta:{title:(0,r.t)("Couldn\u2019t delete item",null,{project:"apps.ContentBrowser"}),id:M}})}),A=(0,f.defineAction)("ITEMS_REMOVE_ITEMS",function(M){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(R,U)=>{const j=U(),$=M.map(ee=>{const te=(0,i.kk)(j)[ee]||(0,i.XA)(j)[ee];return n.Z.get(a.bl,{contentItem:te}).onDelete(te,B)});return R({payload:Promise.all($),meta:{ids:M,title:(0,r.t)("Couldn\u2019t delete items",null,{project:"apps.ContentBrowser"})}})}}),S=(0,f.defineAction)("ITEMS_REMOVE_PRODUCTS_BULK",M=>(B,R)=>{const U=M.map(j=>({id:j}));return B({payload:(0,d.F)(U),meta:{ids:M,title:(0,r.t)("Couldn\u2019t delete items",null,{project:"apps.ContentBrowser"})}})}),T=(0,f.defineAction)("ITEMS_REMOVE_ITEMS_BULK",M=>(B,R)=>{const U=R(),j=(0,i.GC)(U),$=(0,i.bG)(U)[j],ee=n.Z.get(a.bl,$);return B({payload:ee.onDeleteItemsBulk(j,M),meta:{ids:M,title:(0,r.t)("Couldn\u2019t delete items",null,{project:"apps.ContentBrowser"})}})}),s=(0,f.defineAction)("ITEM_CLONE",M=>(B,R)=>{const U=R(),j=(0,i.kk)(U)[M],$=n.Z.get(a.bl,{contentItem:j});if($)return B({payload:$.onClone(j),meta:{title:(0,r.t)("Couldn\u2019t duplicate item",null,{project:"apps.ContentBrowser"})}})}),v=(0,f.defineAction)("ITEMS_CLEAR_SEARCH"),m=(0,f.defineAction)("ITEMS_SEARCH_ITEMS",(M,B)=>(R,U)=>{const{query:j,categoryId:$,workflowState:ee}=B,te=U();let ie;j===(0,i.KZ)(te)&&ee===(0,i.cp)(te)?ie=(0,i.Tv)(te):ie=0;const ne=(0,i.Lg)(te)[M],pe=(0,i.BS)(te,{collectionId:M,categoryId:$}),oe=n.Z.get(a.bl,{collection:ne});return oe.search?R({payload:oe.search({collection:ne,category:pe,query:j,page:ie,workflowState:ee,currentResultCount:(0,i.BP)(te).length}),meta:{page:ie,query:j,workflowState:ee,title:(0,r.t)("Couldn\u2019t Search Items",null,{project:"apps.ContentBrowser"})}}):(console.error(`search is not available for collection ${M}`),R({payload:Promise.reject(`search is not available for collection ${M}`)}))}),E=(0,f.defineAction)("ITEMS_COPY_FROM_CATALOG",M=>async B=>{const{toCollectionId:R,websiteId:U,itemId:j}=M,$=await u.Z.copyFromCatalog(R,U,j).then(te=>{let{data:ie}=te;return ie}),ee=n.Z.get(a.bl,{contentItem:$});return B({payload:ee.onLoad(R,$.id).then(te=>{let{item:ie}=te;return(0,g.Z)()?{...ie,workflowState:h.Z.DRAFT}:ie}),meta:{title:(0,r.t)("Couldn\u2019t create item",null,{project:"apps.ContentBrowser"})}})}),I=(0,o.X)("ITEMS_SYNC_ITEM",async M=>M),L=o.X.withTypes()("ITEMS_LOAD_ITEMS_FOR_COLLECTION",async(M,B)=>{let{collectionId:R,searchParams:U}=M,{getState:j,rejectWithValue:$}=B;const ee=j(),te=(0,i.Lg)(ee)[R];if(!te)return{items:[]};try{const ie=n.Z.get(a.bl,{collection:te});if(!ie)throw new Error("No collection API found for given collection");return await ie.fetchItems(R,U)}catch(ie){throw $(ie,{title:(0,r.t)("Couldn\u2019t load items",null,{project:"apps.ContentBrowser"})})}}),W=o.X.withTypes()("ITEMS_LOAD_ITEMS_FOR_CATEGORY",async(M,B)=>{let{collectionId:R,categoryId:U,searchParams:j}=M,{getState:$,rejectWithValue:ee}=B;const te=$(),ie=(0,i.Lg)(te)[R];if(!ie)return{items:[]};try{return await n.Z.get(a.bl,{collection:ie}).loadItemsForCategory(R,U,j)}catch(ne){throw ee(ne,{title:(0,r.t)("Couldn\u2019t load items for category",null,{project:"apps.ContentBrowser"})})}}),F=o.X.withTypes()("ITEMS_LOAD_NESTED_CATEGORIES",async(M,B)=>{let{getState:R,rejectWithValue:U}=B;const j=R(),$=(0,i.Lg)(j)[M];if(!$)return{nestedCategories:[],collectionId:M};const ee=n.Z.get(a.bl,{collection:$});try{return await ee.getNestedCategories(M).then(te=>{let{nestedCategories:ie}=te;return{nestedCategories:ie,collectionId:M}})}catch(te){throw U(te,{title:(0,r.t)("Couldn\u2019t load nested categories",null,{project:"apps.ContentBrowser"})})}}),G=(0,o.X)("ITEMS_MOVE_ITEMS",async M=>{let{toCollectionId:B,itemIds:R}=M;return u.Z.moveItems(B,R)}),k=o.X.withTypes()("ITEMS_REORDER_IN_CATEGORY",async(M,B)=>{let{categoryId:R,itemId:U,insertAtIndex:j,oldOrderedItemIds:$,type:ee}=M,{getState:te,rejectWithValue:ie}=B;const ne=(0,i.GC)(te());try{await c.ZP.reorderItemsInCategory(ne,R,U,j,ee)}catch(pe){throw ie(pe,{collectionId:ne,categoryId:R,oldOrderedItemIds:$})}},{getPendingMeta:(M,B)=>{let{arg:R}=M,{getState:U}=B;return{collectionId:(0,i.GC)(U()),categoryId:R.categoryId,newOrderedItemIds:R.newOrderedItemIds}}}),x=o.X.withTypes()("ITEMS_REORDER_ITEMS",async(M,B)=>{let{oldIndex:R,newIndex:U}=M,{getState:j,rejectWithValue:$}=B;try{if(U===R)return;const ee=j(),te=(0,i.GC)(ee);if(!te)throw new Error("No current collection ID - cannot reorder items");const ie=(0,i.Lg)(ee)[te];if(!ie)throw new Error("No collection found for given ID - cannot reorder items");const ne=n.Z.get(a.bl,{collection:ie});if(!(ne!=null&&ne.reorderItems))throw new Error(`reorderItems is not available for collection ${te}`);const pe=fe=>"collectionSequence"in fe&&fe.collectionSequence===R,oe=(fe,H)=>"collectionSequence"in fe&&fe.collectionSequence===H,q=Object.values((0,i.kk)(ee)).filter(fe=>(fe.parentCollectionId||fe.collectionId)===ie.id),me=function(){if(U===0)return null;const fe=R>U?U-1:U;return q.find(H=>oe(H,fe))}(),re=q.find(pe),he={afterItemId:me?me.id:null,selectedItemIds:re.id};return await ne.reorderItems(te,he,q)}catch(ee){throw $(ee,{title:(0,r.t)("Couldn\u2019t reorder items",null,{project:"apps.ContentBrowser"})})}})},998274:function(b,l,e){"use strict";e.d(l,{$b:()=>h,G$:()=>f,Ki:()=>a,Zm:()=>d,hk:()=>i,l2:()=>u,qJ:()=>c,ut:()=>n});var r=e(818584),o=e.n(r);const n=(0,r.defineAction)("OPEN_DELETE_MEMBER_AREA_MODAL"),a=(0,r.defineAction)("CLOSE_DELETE_MEMBER_AREA_MODAL"),i=(0,r.defineAction)("OPEN_CREATE_MEMBER_AREA_MODAL"),c=(0,r.defineAction)("CLOSE_CREATE_MEMBER_AREA_MODAL"),u=(0,r.defineAction)("OPEN_MEMBER_AREA_EDITOR"),f=(0,r.defineAction)("CLOSE_MEMBER_AREA_EDITOR"),d=(0,r.defineAction)("OPEN_MEMBER_NAV_SETTINGS"),h=(0,r.defineAction)("CLOSE_MEMBER_NAV_SETTINGS")},322057:function(b,l,e){"use strict";e.d(l,{JF:()=>f,Rx:()=>d,aV:()=>c,dQ:()=>i,fT:()=>u,nZ:()=>n,w2:()=>o,x9:()=>a});var r=e(851939);const o=(0,r.createAction)("OPEN_PRICING_PICKER_MODAL"),n=(0,r.createAction)("CLOSE_PRICING_PICKER_MODAL"),a=(0,r.createAction)("OPEN_PRICING_PLAN_EDITOR"),i=(0,r.createAction)("CLOSE_PRICING_PLAN_EDITOR"),c=(0,r.createAction)("OPEN_ENABLE_DIGITAL_PRODUCTS_SUPPORT_MODAL"),u=(0,r.createAction)("CLOSE_ENABLE_DIGITAL_PRODUCTS_SUPPORT_MODAL"),f=(0,r.createAction)("PRICING_PLAN_SAVED"),d=(0,r.createAction)("PRICING_PLAN_DELETED")},274252:function(b,l,e){"use strict";e.d(l,{i:()=>a,u:()=>i});var r=e(818584),o=e.n(r),n=e(461214);const a=(0,r.defineAction)("RECYCLE_BIN_LOAD_DELETED_ITEMS",function(){let{collectionId:c,...u}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return c?(0,n.oi)(c,u):(0,n.GY)(u)}),i=(0,r.defineAction)("RECYCLE_BIN_EMPTY_TRASH",c=>u=>u({payload:(0,n.uo)(c),meta:{hasDeletedCollections:c?void 0:!1}}))},45614:function(b,l,e){"use strict";e.d(l,{EN:()=>k,OS:()=>L,n3:()=>S,DM:()=>I,Tk:()=>m,UP:()=>E,KA:()=>F,fS:()=>G,Il:()=>v,LH:()=>s,fR:()=>W,d4:()=>x,ce:()=>B,HI:()=>M,k_:()=>T});var r=e(714011),o=e(419467),n=e(851939),a=e(931387),i=e(655191),c=e(387582),u=e(456903),f=e(79306);function d(R){const U={...R};return delete U.children,delete U.links,U.items=[..."links"in R&&R.links?R.links:[],..."items"in R&&R.items?R.items:[]].map(h),U}function h(R){const U={...R};return delete U.children,delete U.links,U.items=[..."children"in R&&R.children?R.children:[],..."items"in R&&R.items?R.items:[]].map(h),"externalLink"in U&&U.externalLink&&(U.externalLink={...U.externalLink,id:(0,f.v4)()}),U}function g(R){return R.map(d)}var _=e(283052),p=e(661614),y=e(577408),O=e(183753),P=e(989250),C=e(421616),A=e(63742);const S=(0,n.createAction)("LOAD_LINK_GROUPS",()=>{const R=g((a.D===null||a.D===void 0?void 0:a.D.siteLayout)??[]);return{payload:(0,o.keyBy)(R,"identifier")}}),T=(0,_.X)("PERSIST_SITE_LAYOUT",async(R,U)=>{let{getState:j}=U;const $=j(),ee=(0,p.$q)($),te=a.D.template.id;await Promise.all(Object.keys(R).map(ne=>{const pe=!!ee[ne],oe=!(0,o.isEqual)(ee[ne],R[ne]);if(pe&&oe){const q=R[ne].items;return y.Z.update({fieldName:ne,templateId:te,navigation:{items:q}})}},[]));const{data:ie}=await y.Z.get();return(0,o.keyBy)(g(ie.layout),"identifier")}),s=(0,_.X)("FETCH_SITE_LAYOUT",async()=>{const{data:R}=await y.Z.get();return(0,o.keyBy)(g(R.layout),"identifier")}),v=(0,_.X)("ADD_PENDING_COLLECTION_TO_NAVIGATION",async(R,U)=>{let{navigationId:j,path:$,item:ee,id:te}=R,{dispatch:ie,getState:ne}=U;const pe=(0,p.$q)(ne()),oe=(0,o.cloneDeep)(pe),q=pe[j],J=await u.default.post(`/api/content/async-copy/collection?sourceCollectionId=${te}`,{},{headers:{"Content-Type":"application/json"}}),{items:me}=(0,A.addItem)(q,(0,O.ZF)(ee),$);return oe[j]={...oe[j],items:me},ie((0,C.t$)(J.data.jobId)),oe}),m=(0,_.X)("ADD_ITEM_TO_NAVIGATION",async(R,U)=>{let{navigationId:j,path:$,item:ee,doUpdateRequest:te=!0}=R,{getState:ie}=U;const ne=(0,p.$q)(ie())[j],{items:pe}=(0,A.addItem)(ne,ee,$);te&&await y.Z.update({fieldName:j,templateId:a.D.template.id,navigation:{items:pe}});const{data:oe}=await y.Z.get();return(0,o.keyBy)(g(oe.layout),"identifier")}),E=(0,_.X)("REMOVE_ITEM_FROM_NAVIGATION",async(R,U)=>{let{navigationId:j,path:$,navigationItem:ee}=R,{getState:te}=U;const ie=(0,p.$q)(te())[j],{items:ne}=(0,A.removeItem)(ie,$);ee&&(0,P.j)(ee)!==i.A.REGULAR_PAGE_DRAFT||await y.Z.update({fieldName:j,templateId:a.D.template.id,navigation:{items:ne}});const{data:oe}=await y.Z.get();return(0,o.keyBy)(g(oe.layout),"identifier")}),I=function(R,U,j){let $=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;return m({navigationId:R,path:U,item:(0,O.ZF)(j),doUpdateRequest:$})},L=R=>(U,j)=>{const[$]=(0,o.castArray)(R),ee={items:Object.values((0,p.$q)(j()))},te=(0,A.forEachItem)(ee,(pe,oe)=>{if("collectionId"in pe&&pe.collectionId===$)return oe});if(!te)throw new Error("Path not found");const ie=(0,A.getItemFromPath)(ee,te[0]),ne=(0,A.getItemFromPath)(ee,te);if(!ie||!ne)throw new Error("Could not find navigation item");return U(E({navigationId:ie.identifier,path:te.slice(1),navigationItem:ne}))},W=R=>(U,j)=>{const $=(0,p.$q)(j())[c.Z.memberAreaNavigationName];if(!$)throw new Error("Member areas navigation group not found");const ee=(0,A.forEachItem)($,(te,ie)=>{if("memberAreaId"in te&&te.memberAreaId===R)return ie});if(!ee)throw new Error("Could not find member area with given ID");return U(E({navigationId:c.Z.memberAreaNavigationName,path:ee}))},F=(R,U,j)=>m({navigationId:R,path:U,item:(0,O.lj)(j)}),G=(R,U,j)=>m({navigationId:R,path:U,item:(0,O.VN)(j)}),k=_.X.withTypes()("UPDATE_LINK_IN_NAVIGATION",async(R,U)=>{let{externalLink:j,navigationId:$,groupPath:ee}=R,{getState:te,fulfillWithValue:ie}=U;const ne=(0,p.$q)(te())[$],{items:pe}=(0,A.setPathValue)(ne,ee,(0,O.lj)(j)),oe=await y.Z.update({fieldName:$,templateId:a.D.template.id,navigation:{items:pe}});return ie(oe,{navigationId:$,items:pe})}),x=(0,_.X)("REPLACE_ITEM_IN_NAVIGATION",async(R,U)=>{let{navigationId:j,fullPath:$,itemToAdd:ee,oldId:te}=R,{getState:ie}=U;const ne=$.slice(2),pe=(0,p.$q)(ie()),oe={items:Object.values(pe)},q=pe[j],J=(0,O.ZF)(ee),me=(0,A.getItemFromPath)(oe,$);if(!me)throw new Error("No parent item found from given path");const re=(me.items||[]).filter(fe=>"collectionId"in fe&&fe.collectionId!==te);J.items=re;const{items:he}=(0,A.replaceItem)(q,J,ne);await y.Z.update({fieldName:j,templateId:a.D.template.id,navigation:{items:he}});const{data:Ee}=await y.Z.get();return(0,o.keyBy)(g(Ee.layout),"identifier")}),M=(0,n.createAction)("UPDATE_MEMBER_AREA_IN_NAVIGATION"),B=(R,U)=>(j,$)=>{const ee=c.Z.memberAreaNavigationName,te=(0,p.$q)($())[ee];if(!te)throw new Error("Member areas navigation group not found");const ie=(0,A.forEachItem)(te,(oe,q)=>{if("memberAreaId"in oe&&oe.memberAreaId===R)return q});if(!ie)throw new Error("No member site found for given ID");const ne=(0,A.getItemFromPath)(te,ie);if(!ne)throw new Error("No member site found for given ID");const{items:pe}=(0,A.setPathValue)(te,ie,{...ne,title:U});return j(M({navigationId:ee,items:pe}))}},421616:function(b,l,e){"use strict";e.d(l,{O3:()=>_,Qf:()=>h,Yx:()=>C,cl:()=>g,t$:()=>O});var r=e(851939),o=e(437327),n=e.n(o),a=e(856747),i=e(472373),c=e(714487),u=e(45614),f=e(984350),d=e(440125);const h=(0,r.createAction)("UI_CLOSE_NESTED_CATEGORIES_MIGRATION_MODAL"),g=(0,r.createAction)("UI_OPEN_NESTED_CATEGORIES_MIGRATION_MODAL"),_=(0,r.createAction)("UI_NESTED_CATEGORIES_MIGRATION_COMPLETED"),p=A=>{A((0,d.y)({message:(0,c.t)("Try again later.",null,{project:"apps.ContentBrowser",notes:"Error modal message when course duplication fails"}),title:(0,c.t)("Course Duplication Failed",null,{project:"apps.ContentBrowser",notes:"Error modal title when course duplication fails"}),fsUnmask:!0}))},y=function(A,S){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:2e3;T>15||setTimeout(()=>{a.Z.load([A]).then(v=>{let{data:m}=v;const{status:E}=m[0];if(E===n().SUCCESS){S((0,u.LH)());const I=m[0].data.newCollectionId;I&&S((0,f.Ys)(I)),i.Z.present({text:(0,c.t)("Course duplication successful",null,{project:"apps.ContentBrowser"})})}else E===n().FAILURE||E===n().CANCELLED?(S((0,u.LH)()),p(S)):y(A,S,T+1)}).catch(v=>{S((0,u.LH)()),p(S)})},s)},O=A=>S=>{y(A,S)},P=2e3,C=A=>S=>{setTimeout(()=>{a.Z.load(A).then(T=>{let{data:s}=T;const{status:v}=s[0];v===n().SUCCESS?(S(_()),i.Z.present({text:(0,c.t)("Your stores have been upgraded",null,{project:"apps.ContentBrowser"})}),setTimeout(()=>window.location.reload(),1e3)):C(A)(S)})},P)}},264065:function(b,l,e){"use strict";e.d(l,{MQ:()=>i,XX:()=>a,c9:()=>o,gb:()=>r,nO:()=>n});const r="collection",o="categories",n="tags",a="nestedCategoriesApiModel",i="loadingState"},487558:function(b,l,e){"use strict";e.d(l,{Sb:()=>rn,k1:()=>Rt,Ci:()=>Ze,SB:()=>Ye,UT:()=>yt,Ho:()=>Mt,$j:()=>Qe});var r=e(174161),o=e(858579),n=e(331474),a=e(350398),i=e(851939),c=e(818584),u=e(269399),f=e(289348),d=e(163301),h=e.n(d),g=e(714487);const _={isConnected:!1,isDisconnecting:!1,statusCTA:(0,g.t)("Off",null,{project:"apps.ContentBrowser"})},y=(0,i.createReducer)(_,ot=>{ot.addCase(f.CP.fulfilled,(et,St)=>{let{payload:Ht}=St;return{...et,isConnected:!0,isDisconnecting:Ht.state===h().DISCONNECTING,statusCTA:Ht.state===h().DISCONNECTING?(0,g.t)("Disconnecting",null,{project:"apps.ContentBrowser"}):(0,g.t)("On",null,{project:"apps.ContentBrowser"})}}).addCase(f.CP.rejected,et=>({...et,isConnected:!1,isDisconnecting:!1,statusCTA:(0,g.t)("Off",null,{project:"apps.ContentBrowser"})})).addCase(f.x6.fulfilled,et=>({...et,isConnected:!0,statusCTA:(0,g.t)("On",null,{project:"apps.ContentBrowser"})})).addCase(f.Sj.pending,et=>({...et,isDisconnecting:!0}))});var O=e(419467),P=e(247380),C=e.n(P),A=e(984350),S=e(505020),T=e(800191),s=e(787592),v=e(916661),m=e(622580),E=e(264065);const I={},L={[T.D.CALENDAR]:{"events-stacked":!0},[T.D.COURSE]:{course:!0},[T.D.FOLDER]:{folders:!0},[T.D.VIDEO_COLLECTION]:{lessons:!0},[T.D.PORTFOLIO]:{"portfolio-hover-follow":!0,"portfolio-hover-static":!0,"portfolio-index-background":!0,"portfolio-grid-basic":!0,"portfolio-grid-overlay":!0},[T.D.PRODUCT]:{products:!0}},W=ot=>{if(!ot||!ot.entityType)return!1;const et=L[ot.entityType];return typeof et!="object"?(s.$e(St=>{St.setTag("owner",C().WEBSITE_EDITOR),St.setTag("entityType",ot.entityType),St.setExtra("collection",ot),s.uT("updateCollectionData encountered unknown entityType")}),!1):!et.hasOwnProperty(ot.typeName)};function F(ot,et,St){const Ht=ot[et];if(!Ht)return{...ot,[et]:St};const er={...Ht,...St};return v.Z.isSevenOne()&&W(er.collection)&&!W(Ht.collection)&&s.$e(Mr=>{var mn,Un;Mr.setTag("owner",C().WEBSITE_EDITOR),Mr.setTag("entity typeName",`${(mn=er.collection)===null||mn===void 0?void 0:mn.entityType} - ${(Un=er.collection)===null||Un===void 0?void 0:Un.typeName}`),Mr.setExtra("collection before",Ht.collection),Mr.setExtra("collection update",er.collection),s.uT("updateCollectionData has just now corrupted a collection")}),{...ot,[et]:er}}function G(ot,et,St,Ht){const er=ot[et][E.XX],Mr=er.findIndex(mn=>{let{id:Un}=mn;return Un===St});return F(ot,et,{[E.XX]:[...er.slice(0,Mr),{...er[Mr],...Ht},...er.slice(Mr+1)]})}const k=(0,i.createReducer)(I,ot=>{ot.addCase(A.Vh.fulfilled,(et,St)=>{let{payload:{collection:Ht}}=St;return{...et,[Ht.id]:{collection:Ht,[E.XX]:[]}}}),ot.addCase(A.kk.fulfilled,(et,St)=>{let{payload:{collectionId:Ht,collection:er,tags:Mr=[],categories:mn=[],nestedCategories:Un=[]}}=St;return{...et,[Ht]:{...et[Ht],collection:er,tags:Mr,categories:mn,[E.XX]:Un}}}),ot.addCase(A.Ys.fulfilled,(et,St)=>{let{payload:{collectionId:Ht,collection:er,tags:Mr=[],categories:mn=[],nestedCategories:Un=[]}}=St;return{...et,[Ht]:{...et[Ht],collection:er,tags:Mr,categories:mn,[E.XX]:Un}}}),ot.addCase(A.Rm.fulfilled,(et,St)=>{let{payload:Ht}=St;return F(et,Ht.id,{[E.gb]:Ht})}),ot.addCase(A.se.fulfilled,(et,St)=>{let{payload:Ht}=St;return F(et,Ht.id,{[E.gb]:Ht})}),ot.addCase(A.BL.fulfilled,(et,St)=>{let{payload:Ht}=St;return F(et,Ht.id,{[E.gb]:Ht,[E.XX]:[]})}),ot.addCase(A.Jd.fulfilled,(et,St)=>{let{payload:{collectionId:Ht,collection:er,tags:Mr,categories:mn,nestedCategories:Un=[]}}=St;return{...et,[Ht]:{collection:er,tags:Mr??[],categories:mn??[],[E.XX]:Un}}}),ot.addCase(A.e7.fulfilled,(et,St)=>{let{payload:{collection:Ht}}=St;return F(et,Ht.id,{[E.gb]:Ht})}),ot.addCase(A.gh.fulfilled,(et,St)=>{let{payload:{collectionId:Ht,collection:er,tags:Mr,categories:mn,nestedCategories:Un=[]}}=St;return{...et,[Ht]:{collection:er,tags:Mr,categories:mn,[E.XX]:Un}}}),ot.addCase(A.tp.fulfilled,(et,St)=>{let{payload:{collectionId:Ht,collection:er,tags:Mr,categories:mn}}=St;return{...et,[Ht]:{collection:er,tags:Mr,categories:mn}}}),ot.addCase(A.P2.fulfilled,(et,St)=>{let{payload:{collection:Ht}}=St;return F(et,Ht.id,{[E.gb]:Ht,[E.XX]:[]})}),ot.addCase(A.P4.fulfilled,(et,St)=>{let{meta:{collectionIds:Ht}}=St;return(0,O.omit)(et,Ht)}),ot.addCase(A.lN.fulfilled,(et,St)=>{let{payload:{collectionId:Ht,collectionCategories:er}}=St;return F(et,Ht,{[E.c9]:er})}),ot.addCase(A.Qw.fulfilled,(et,St)=>{let{payload:{collectionId:Ht,collectionCategories:er}}=St;return F(et,Ht,{[E.c9]:er})}),ot.addCase(A.wK.fulfilled,(et,St)=>{let{payload:{collectionId:Ht,collectionCategories:er}}=St;return F(et,Ht,{[E.c9]:er})}),ot.addCase(A.Jt.fulfilled,(et,St)=>{let{payload:{collectionId:Ht,tags:er}}=St;return F(et,Ht,{[E.nO]:er})}),ot.addCase(A.ny.fulfilled,(et,St)=>{let{payload:{collectionId:Ht,collectionTags:er}}=St;return F(et,Ht,{[E.nO]:er})}),ot.addCase(A.OQ.fulfilled,(et,St)=>{let{payload:{collectionId:Ht,collectionTags:er}}=St;return F(et,Ht,{[E.nO]:er})}),ot.addCase(S.oi.resolved,(et,St)=>{let{payload:{collectionId:Ht,categories:er,tags:Mr}}=St;return!er&&!Mr?et:F(et,Ht,{[E.c9]:er,[E.nO]:Mr})}),ot.addCase(S.RE.fulfilled,(et,St)=>{let{payload:{nestedCategories:Ht,collectionId:er}}=St;return F(et,er,{[E.XX]:Ht,[E.MQ]:m.tE})}),ot.addCase(S.xI.pending,(et,St)=>{let{meta:{collectionId:Ht,categoryId:er,newOrderedItemIds:Mr}}=St;return G(et,Ht,er,{orderedItemIds:Mr})}),ot.addCase(S.xI.rejected,(et,St)=>{let{meta:{collectionId:Ht,categoryId:er,oldOrderedItemIds:Mr}}=St;return G(et,Ht,er,{orderedItemIds:Mr})}),ot.addCase(A.uH.fulfilled,(et,St)=>{let{payload:{nestedCategories:Ht},meta:{collectionId:er}}=St;return F(et,er,{[E.XX]:Ht})}),ot.addCase(A.Bh,(et,St)=>{let{payload:{collectionId:Ht,tree:er}}=St;return F(et,Ht,{[E.XX]:er})}),ot.addCase(S.LW.pending,(et,St)=>{let{meta:{arg:{collectionId:Ht}}}=St;return F(et,Ht,{[E.MQ]:m.br})}),ot.addCase(S.LW.fulfilled,(et,St)=>{let{meta:{arg:{collectionId:Ht}}}=St;return F(et,Ht,{[E.MQ]:m.tE})}),ot.addCase(S.LW.rejected,(et,St)=>{let{meta:{arg:{collectionId:Ht}}}=St;return F(et,Ht,{[E.MQ]:m.rm})}),ot.addCase(S.RE.pending,(et,St)=>{let{meta:{arg:Ht}}=St;return F(et,Ht,{[E.MQ]:m.br})}),ot.addCase(S.RE.rejected,(et,St)=>{let{meta:{arg:Ht}}=St;return F(et,Ht,{[E.MQ]:m.rm})})});var x=e(85375);const M={confirmAction:"",confirmArguments:[],confirmMessage:"",confirmTitle:"",confirmLabel:"",confirmVariant:"",fsUnmask:!1},R=(0,i.createReducer)(M,ot=>{ot.addCase(x._5,(et,St)=>{let{payload:{action:Ht,args:er,title:Mr,message:mn,confirmLabel:Un,confirmVariant:hr,fsUnmask:br}}=St;return{...et,confirmAction:Ht,confirmArguments:er,confirmTitle:Mr,confirmMessage:mn,confirmLabel:Un,confirmVariant:hr,fsUnmask:br}}).addCase(x.d6,et=>({...et,confirmAction:"",confirmArguments:[]}))});var U=e(314123),j=e(274252),$=e(673092),ee=e(617801),te,ie;const ne={authorId:null,websiteId:null,currentCollectionId:null,currentItemId:null,currentCategoryId:null,hasDeletedCollections:!1,homepageCollectionId:((ie=window.Static)===null||ie===void 0||(te=ie.SQUARESPACE_CONTEXT)===null||te===void 0?void 0:te.homepageCollectionId)||""},oe=(0,i.createReducer)(ne,ot=>{ot.addCase(U.Z,(et,St)=>{let{payload:{authorId:Ht,websiteId:er,customCollectionTypes:Mr,demoCollectionIds:mn,homepageCollectionId:Un,hasDeletedCollections:hr}}=St;return{...et,authorId:Ht,websiteId:er,customCollectionTypes:Mr,demoCollectionIds:mn,homepageCollectionId:Un,hasDeletedCollections:hr}}).addCase(U.G,(et,St)=>{let{payload:{collectionId:Ht,itemId:er,categoryId:Mr=null}}=St;return{...et,currentCollectionId:Ht??null,currentItemId:er??null,currentCategoryId:Mr??null}}).addCase(A.qk.fulfilled,(et,St)=>{let{payload:Ht}=St;return{...et,homepageCollectionId:Ht}}).addCase(A.P4.fulfilled,(et,St)=>{let{meta:{collectionIds:Ht}}=St;return{...et,currentCollectionId:et.currentCollectionId&&Ht.includes(et.currentCollectionId)?null:et.currentCollectionId,hasDeletedCollections:!0}}).addCase(A.Vh.fulfilled,(et,St)=>{let{payload:{hasDeletedCollections:Ht}}=St;return{...et,hasDeletedCollections:(0,O.isBoolean)(Ht)?Ht:et.hasDeletedCollections}}).addCase(j.u.resolved,(et,St)=>{let{meta:{hasDeletedCollections:Ht}}=St;return{...et,hasDeletedCollections:(0,O.isBoolean)(Ht)?Ht:et.hasDeletedCollections}}).addCase($.jz,(et,St)=>{let{payload:{collection:Ht}}=St;return{...et,currentCollectionId:Ht.id}}).addCase($.WK,(et,St)=>{let{payload:{item:Ht}}=St;return{...et,currentItemId:Ht.id,currentCollectionId:(0,ee.iP)(Ht)}}).addCase($.qq.fulfilled,(et,St)=>{let{payload:{item:Ht}}=St;return{...et,currentItemId:Ht.id,currentCollectionId:(0,ee.iP)(Ht)}})});var q=e(924298);const J={currentCollection:null,currentItem:null,currentCategories:null,currentTags:null,appleNewsSyndication:{},itunesSyndication:{},formValidationErrors:null,defaultTab:null,currentRootCategory:null,currentNestedCategoryId:null},me=(0,i.createReducer)(J,ot=>{ot.addCase(U.Z,(et,St)=>{let{payload:{templateConfig:Ht}}=St;return{...et,...Ht}}).addCase($.jz,(et,St)=>{let{payload:{collection:Ht,categories:er,tags:Mr,defaultTab:mn,nestedCategories:Un,currentNestedCategoryId:hr}}=St;return{...et,...J,currentCollection:Ht,currentCategories:{categories:er},currentTags:{tags:Mr},isNewItem:!1,defaultTab:mn,currentRootCategory:Un.length?Un[0]:null,currentNestedCategoryId:hr}}).addCase($.WK,(et,St)=>{let{payload:{item:Ht,defaultTab:er,isNewItem:Mr}}=St;return{...et,...J,currentItem:Ht,defaultTab:er,isNewItem:Mr}}).addCase($.qq.fulfilled,(et,St)=>{let{payload:{item:Ht}}=St;return{...et,currentItem:Ht}}).addCase($.vJ,et=>({...et,currentRootCategory:null,defaultTab:null})).addCase($.aC,(et,St)=>{let{payload:{errors:Ht}}=St;return{...et,formValidationErrors:Ht}}).addCase($.sp,(et,St)=>{let{payload:{value:Ht}}=St;var er;return!(et==null||(er=et.currentItem)===null||er===void 0)&&er.id&&(Ht!=null&&Ht.id)&&et.currentItem.id!==Ht.id?{...et}:{...et,currentCollection:Ht}}).addCase($.o6,(et,St)=>{let{payload:{collection:Ht}}=St;return{...et,currentCollection:Ht}}).addCase($._g,(et,St)=>{let{payload:{value:Ht}}=St;var er;return!(et==null||(er=et.currentItem)===null||er===void 0)&&er.id&&(Ht!=null&&Ht.id)&&et.currentItem.id!==Ht.id?{...et}:{...et,currentItem:Ht}}).addCase($.CU,(et,St)=>{let{payload:{value:Ht}}=St;return{...et,currentCategories:Ht}}).addCase($.Ym,(et,St)=>{let{payload:{value:Ht}}=St;return{...et,currentTags:Ht}}).addCase($.pO,(et,St)=>{let{payload:{value:Ht}}=St;return{...et,appleNewsSyndication:Ht}}).addCase($.DJ,(et,St)=>{let{payload:{value:Ht}}=St;return{...et,itunesSyndication:Ht}}).addCase(q.Y7.fulfilled,(et,St)=>{let{payload:Ht}=St;return{...et,itunesSyndication:Ht}}).addCase(q.wU.fulfilled,(et,St)=>{let{payload:Ht}=St;return{...et,itunesSyndication:Ht}}).addCase(q.wU.rejected,(et,St)=>{let{meta:{prevEnabledValue:Ht}}=St;return{...et,itunesSyndication:{...et.itunesSyndication,enabled:Ht}}}).addCase(f.x6.fulfilled,et=>({...et,appleNewsSyndication:{}})).addCase(f.CP.rejected,et=>({...et,appleNewsSyndication:{}})).addCase(A.yk,et=>({...et,currentCollection:{...et.currentCollection,seoData:{...et.currentCollection.seoData,seoHidden:!1}}})).addCase($.xq,(et,St)=>{let{payload:{value:Ht}}=St;return{...et,currentRootCategory:{...et.currentRootCategory,...Ht}}}).addCase($.uY,(et,St)=>{let{payload:Ht}=St;return{...et,currentNestedCategoryId:Ht}}).addCase($.e9,(et,St)=>{let{payload:{title:Ht,description:er}}=St;const Mr=Ht||et.currentItem.title,mn=er||et.currentItem.description;return{...et,currentItem:{...et.currentItem,title:Mr,description:mn}}}).addCase($.Z7,(et,St)=>{let{payload:Ht}=St;return{...et,currentItem:{...et.currentItem,lessonContent:{...et.currentItem.lessonContent,relatedLessonsConfig:Ht}}}})});var re=e(440125),he=e(45614),Ee=e(998274),fe=e(322057);const H="FieldTooLongValidationError",z=(ot,et)=>{var St,Ht,er,Mr;return ot==null||(Mr=ot.details)===null||Mr===void 0||(er=Mr["detail.errors"])===null||er===void 0||(Ht=er[et])===null||Ht===void 0||(St=Ht[0])===null||St===void 0?void 0:St.type},_e=(ot,et)=>(et==null?void 0:et.type)==="lesson"&&z(ot,"misc")==="CollectionLimitExceededValidationError",ae=(ot,et)=>(et==null?void 0:et.type)==="lesson"&&z(ot,"urlId")==="FieldNotPresentValidationError",ge=(ot,et)=>(et==null?void 0:et.type)==="lesson"&&z(ot,"title")===H,Be=(ot,et)=>(et==null?void 0:et.type)==="lesson"&&z(ot,"urlId")===H,Ke=(ot,et)=>(et==null?void 0:et.type)==="lesson"&&z(ot,"excerpt")===H,ye=(ot,et)=>{const St=[];return _e(ot,et)&&(St.push((0,g.t)("The 10,000 video item limit has been reached. Add more pages or reduce video items",null,{project:"apps.ContentBrowser"})),St.push(r.createElement("br",{key:1}))),ge(ot,et)&&(St.push((0,g.t)("Title must be less than 200 characters",null,{project:"apps.ContentBrowser"})),St.push(r.createElement("br",{key:2}))),Be(ot,et)&&(St.push((0,g.t)("URL must be less than 200 characters",null,{project:"apps.ContentBrowser"})),St.push(r.createElement("br",{key:3}))),Ke(ot,et)&&(St.push((0,g.t)("Excerpt must be less than 500 characters",null,{project:"apps.ContentBrowser"})),St.push(r.createElement("br",{key:4}))),ae(ot,et)&&(St.push((0,g.t)("URL is not present",null,{project:"apps.ContentBrowser"})),St.push(r.createElement("br",{key:5}))),St};var Le=e(934951),Ue=e(719484),Xe=e(881707);const Fe=ot=>parseFloat(ot)||null,ht="FieldTooLongValidationError",Ne="FieldNotPresentValidationError",Ce="FieldNotProvidedValidationError",we="CollectionLimitExceededValidationError",$e=(ot,et)=>{var St,Ht;return(Ht=ot[et])===null||Ht===void 0||(St=Ht[0])===null||St===void 0?void 0:St.type},Ot=(ot,et)=>(et==null?void 0:et.type)===ItemEntityTypes.VIDEO_ITEM&&$e(ot,"misc")===we,Pt={title:ot=>{let{limit:et}=ot;return(0,g.t)("Title must be less than {limit} characters",{limit:(0,g.uf)(et)},{project:"apps.ContentBrowser"})},navigationTitle:ot=>{let{limit:et}=ot;return(0,g.t)("Navigation Title must be less than {limit} characters",{limit:(0,g.uf)(et)},{project:"apps.ContentBrowser"})},urlId:ot=>{let{limit:et}=ot;return(0,g.t)("URL must be less than {limit} characters",{limit:(0,g.uf)(et)},{project:"apps.ContentBrowser"})},excerpt:ot=>{let{limit:et}=ot;return(0,g.t)("Excerpt must be less than {limit} characters",{limit:(0,g.uf)(et)},{project:"apps.ContentBrowser"})},description:ot=>{let{limit:et}=ot;return(0,g.t)("Description must be less than {limit} characters",{limit:(0,g.uf)(et)},{project:"apps.ContentBrowser"})}},Ie={title:()=>(0,g.t)("Title is not present",null,{project:"apps.ContentBrowser"}),navigationTitle:()=>(0,g.t)("Navigation Title is not present",null,{project:"apps.ContentBrowser"}),urlId:()=>(0,g.t)("URL is not present",null,{project:"apps.ContentBrowser"}),excerpt:()=>(0,g.t)("Excerpt is not present",null,{project:"apps.ContentBrowser"}),description:()=>(0,g.t)("Description is not present",null,{project:"apps.ContentBrowser"})},Bt=ot=>ot.length?ot.length===1?r.createElement(Ue.Z.Body,null,ot[0]):r.createElement(Xe.Z,null,r.createElement(Ue.Z.Body,null,r.createElement(Le.T,{project:"apps.ContentBrowser"},"The request could not be processed for the following reasons:")),r.createElement(Xe.Z,{as:"ul",sx:{listStylePosition:"inside"}},ot.map((et,St)=>r.createElement(Ue.Z.Body,{as:"li",key:St},et)))):null,mt=(ot,et)=>{var St;const Ht=ot==null||(St=ot.details)===null||St===void 0?void 0:St["detail.errors"];if(!Ht)return null;const er=[];for(const[Mr,mn]of Object.entries(Ht))for(const Un of mn){const{type:hr,properties:br}=Un;switch(hr){case ht:{const io=Fe(br==null?void 0:br.limit);if(io!==null&&Pt[Mr]){const Kr=Pt[Mr]({limit:io});er.push(Kr)}break}case Ce:case Ne:{if(Ie[Mr]){const io=Ie[Mr]();er.push(io)}break}case we:{const io=Fe(br==null?void 0:br.limit);switch(et==null?void 0:et.type){case T.d.VIDEO_ITEM:er.push((0,g.t)("The {limit} video item limit has been reached. Add more pages or reduce video items",{limit:io?(0,g.uf)(io):""},{project:"apps.ContentBrowser"}));break;case T.d.COURSE_ITEM:er.push((0,g.t)("The {limit} lesson limit has been reached. Add more courses or reduce lessons",{limit:io?(0,g.uf)(io):""},{project:"apps.ContentBrowser"}));break}break}}}return Bt(er)},rt=(ot,et)=>{var St;const Ht=ot==null||(St=ot.details)===null||St===void 0?void 0:St["detail.errors"];return Ht?Ot(Ht,et)?t("Couldn\u2019t create video items",null,{project:"apps.ContentBrowser"}):$e(Ht,"misc")===we?t("Couldn\u2019t create more items",null,{project:"apps.ContentBrowser",notes:"Title of an error message"}):null:null},ce=(0,g.t)("Couldn\u2019t save changes",null,{project:"apps.ContentBrowser"}),Re=(0,g.t)("Check each section to make sure all field requirements are met.",null,{project:"apps.ContentBrowser"}),nt=[f.Sj.rejected,A.Ys.rejected,A.Rm.rejected,A.BL.rejected,A.P4.rejected,A.Jd.rejected,A.gh.rejected,A.lN.rejected,A.Qw.rejected,A.wK.rejected,A.Jt.rejected,A.ny.rejected,A.OQ.rejected,A.Vh.rejected,A.P2.rejected,re.y,S.hd.rejected,S.LW.rejected,S.zX.rejected,S.fC.rejected,S.$G.rejected,S.oi.rejected,S.Oh.rejected,S.wz.rejected,S.Hw.rejected,S.CV.rejected,S.O2.rejected,S.KT.rejected,j.u.rejected,q.Y7.rejected,he.Tk.rejected,he.UP.rejected,he.Il.rejected],st={errorModalMessage:"",errorModalTitle:"",shouldShowErrorModal:!1,fsUnmask:!1},vt=(ot,et)=>{var St,Ht,er;if(!!(!(ot==null||(St=ot.details)===null||St===void 0)&&St.errorId)){if((et==null?void 0:et.type)===T.d.VIDEO_ITEM){const hr=ye(ot,et);if((hr==null?void 0:hr.length)>0)return r.createElement(r.Fragment,null,hr)}const mn=mt(ot,et);if(mn)return mn;const Un=Object.values((0,O.omit)(ot.details,"errorId","detail.errors")).flat();if(Un.length>0)return Bt(Un)}return et&&et.isDraft&&(!(ot==null||(er=ot.response)===null||er===void 0||(Ht=er.data)===null||Ht===void 0)&&Ht.message)?ot.response.data.message:ot!=null&&ot.message?ot.message:ot!=null&&ot.errors?Object.values(ot.errors)[0]:Re},ze=(ot,et)=>_e(ot,et)?(0,g.t)("Couldn\u2019t create video items",null,{project:"apps.ContentBrowser"}):(ot==null?void 0:ot.title)||(et==null?void 0:et.title)||ce,It=(ot,et)=>{let{payload:St,meta:Ht}=et;return{errorModalMessage:vt(St,Ht),errorModalTitle:ze(St,Ht),shouldShowErrorModal:!0,fsUnmask:(St==null?void 0:St.fsUnmask)||!1}},on=nt.reduce((ot,et)=>(ot[et]=It,ot),{});function Pn(ot){return ot==="apiKey"?(0,g.t)("Invalid API key",null,{project:"apps.ContentBrowser"}):ot==="channelId"?(0,g.t)("Invalid channel ID",null,{project:"apps.ContentBrowser"}):(0,g.t)("Invalid secret",null,{project:"apps.ContentBrowser"})}const Yn=(0,c.handleActions)({[re.f]:ot=>({...ot,shouldShowErrorModal:!1}),[f.x6.rejected]:(ot,et)=>{let{payload:{data:St}}=et;return{errorModalTitle:(0,g.t)("Couldn\u2019t connect Apple News",null,{project:"apps.ContentBrowser"}),errorModalMessage:Pn(St.message),shouldShowErrorModal:!0}},[j.i.rejected]:ot=>({errorModalTitle:(0,g.t)("Couldn\u2019t Load Recycle Bin",null,{project:"apps.ContentBrowser"}),errorModalMessage:Re,shouldShowErrorModal:!0}),...on},st),Ln=null,ir=(ot,et)=>({...ot,...(0,O.keyBy)((0,O.orderBy)((0,O.pickBy)(ot,St=>St.parentCollectionId===et),"collectionSequence").map((St,Ht)=>({...St,collectionSequence:Ht})),"id")}),Zn={pagination:{},items:{},searchResults:{isLoading:!1,nextPageMarker:"0",results:[]},recycleBin:[]},$n=(ot,et)=>{let{meta:{ids:St}}=et;var Ht,er;const Mr=(St==null?void 0:St.length)||0,mn=Number((Ht=ot.searchResults)===null||Ht===void 0?void 0:Ht.nextPageMarker)||0,Un=Number((er=ot.pagination)===null||er===void 0?void 0:er.nextPageMarker)||0,hr=St[0],br=ot.items[hr]&&ot.items[hr].parentCollectionId;return{...ot,items:ir((0,O.omit)(ot.items,St),br),pagination:{...ot.pagination,nextPageMarker:Math.max(Un-Mr,0).toString()},searchResults:{...ot.searchResults,results:ot.searchResults.results.filter(io=>!St.includes(io.id)),nextPageMarker:Math.max(mn-Mr,0).toString()}}},jt=(0,i.createReducer)(Zn,ot=>{ot.addCase(S.HM.fulfilled,(et,St)=>{let{payload:Ht}=St;return{...et,items:{...et.items,[Ht.id]:Ht}}}).addCase(S.LW.pending,et=>({...et,pagination:{}})).addCase(S.LW.fulfilled,(et,St)=>{let{payload:{items:Ht,pagination:er}}=St;return{...et,items:{...et.items,...(0,O.keyBy)(Ht,"id")},pagination:er}}).addCase(S.Cr.fulfilled,(et,St)=>{let{payload:{items:Ht,pagination:er}}=St;return{...et,items:{...et.items,...(0,O.keyBy)(Ht,"id")},pagination:er}}).addCase(S.zX.fulfilled,(et,St)=>{let{payload:Ht}=St;return{...et,items:{...et.items,...(0,O.keyBy)(Ht,"id")}}}).addCase(S.fC.resolved,(et,St)=>{let{payload:Ht}=St;return{...et,items:{...et.items,[Ht.id]:Ht}}}).addCase(S.$G.resolved,(et,St)=>{let{payload:Ht}=St;return{...et,items:{...et.items,[Ht.id]:Ht}}}).addCase(S.ff.resolved,(et,St)=>{let{payload:Ht}=St;return{...et,items:{...et.items,...(0,O.keyBy)(Ht,"id")}}}).addCase(S.oi.resolved,(et,St)=>{let{payload:{item:Ht}}=St;return{...et,items:{...et.items,[Ht.id]:Ht}}}).addCase(S.Hw.resolved,(et,St)=>{let{payload:Ht}=St;return{...et,items:{...et.items,[Ht.id]:Ht}}}).addCase(S.hd.resolved,(et,St)=>{let{payload:Ht}=St;return{...et,items:{...et.items,[Ht.id]:Ht}}}).addCase(S.wz.resolved,(et,St)=>{let{meta:{id:Ht}}=St;var er,Mr;const mn=et.items[Ht]&&et.items[Ht].parentCollectionId,Un=Number((er=et.searchResults)===null||er===void 0?void 0:er.nextPageMarker)||0,hr=Number((Mr=et.pagination)===null||Mr===void 0?void 0:Mr.nextPageMarker)||0;return{...et,items:ir((0,O.omit)(et.items,Ht),mn),pagination:{...et.pagination,nextPageMarker:Math.max(hr-1,0).toString()},searchResults:{...et.searchResults,results:et.searchResults.results.filter(br=>br.id!==Ht),nextPageMarker:Math.max(Un-1,0).toString()}}}).addCase(S.CV.resolved,$n).addCase(S.O2.resolved,$n).addCase(S.By.resolved,$n).addCase(S.B6.fulfilled,(et,St)=>{let{meta:{arg:{toCollectionId:Ht,itemIds:er}}}=St;return{...et,items:{...et.items,...(0,O.mapValues)((0,O.pick)(et.items,er),Mr=>({...Mr,collectionId:Ht,parentCollectionId:Ht}))}}}).addCase(S.AQ,et=>({...et,searchResults:Zn.searchResults})).addCase(S.KT,(et,St)=>{let{meta:{query:Ht}}=St;return{...et,searchResults:{...et.searchResults,query:Ht,isLoading:!0}}}).addCase(S.KT.resolved,(et,St)=>{let{payload:{newResults:Ht,hasNextPage:er,hasPrevPage:Mr,nextPageMarker:mn},meta:{page:Un,query:hr,workflowState:br}}=St,io;return Un>0||Mr?io=[...et.searchResults.results,...Ht]:io=Ht,(0,O.isEqual)(hr,et.searchResults.query)?{...et,searchResults:{nextPageMarker:mn,hasNextPage:er,results:io,query:hr,isLoading:!1,workflowState:br}}:et}).addCase(S.KT.rejected,et=>({...et,searchResults:{...et.searchResults,isLoading:!1}}))});var Rn=e(742693),jn=e.n(Rn),Tn=e(674310),Nn=e.n(Tn),cn=e(86851),or=e(35045);const qn={[jn().EPISODIC]:{label:(0,g.t)("Episodic",null,{project:"apps.ContentBrowser"})},[jn().SERIAL]:{label:(0,g.t)("Serial",null,{project:"apps.ContentBrowser"})}},Hr={[Nn().STANDARD]:{label:(0,g.t)("100 Episodes",null,{project:"apps.ContentBrowser"})},[Nn().EXPANDED]:{label:(0,g.t)("300 Episodes",null,{project:"apps.ContentBrowser"})}},fo={collectionId:null,feedTypeLabel:qn[jn().EPISODIC].label,statusCTA:(0,g.t)("Off",null,{project:"apps.ContentBrowser"}),enabled:!1,errors:null,languageOptions:[]},Jr={message:(0,g.t)("Please enter a value.",null,{project:"apps.ContentBrowser"})},ro={title:Jr,author:Jr,subtitle:Jr,summary:{message:(0,g.t)("You must add a description.",null,{project:"apps.ContentBrowser"})},owner:Jr,categoryPrimary:{message:(0,g.t)("You must choose a category.",null,{project:"apps.ContentBrowser"})},ownerEmail:{message:(0,g.t)("You must enter an email address.",null,{project:"apps.ContentBrowser"})},imageId:{message:(0,g.t)("You must upload an image.",null,{project:"apps.ContentBrowser"})}},Xt=ot=>ot?(0,g.t)("On",null,{project:"apps.ContentBrowser"}):(0,g.t)("Off",null,{project:"apps.ContentBrowser"});function Je(){let ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,O.pick)(ro,Object.keys(ot).filter(et=>ot&&et in ot&&!!ot[et]))}function At(ot){let et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},St=arguments.length>2?arguments[2]:void 0;const Ht={...ot};return Object.keys(St).forEach(er=>{const Mr=cn.jsonPointerUtils.jsonPointerToObjectPath(er);(0,O.get)(Ht,Mr)&&(0,O.unset)(Ht,Mr)}),{...Ht.value,...Je(et?et.value:{})}}const xt=(0,i.createReducer)(fo,ot=>{ot.addCase(q.Y7.fulfilled,(et,St)=>{let{payload:Ht}=St;return{...et,collectionId:Ht.collectionId,feedTypeLabel:qn[Ht.feedType].label,feedSizeLabel:Hr[Ht.feedSizeOption].label,statusCTA:Xt(Ht.enabled),siteTitle:or.default.getState().get("siteTitle"),errors:null}}).addCase(q.wU.fulfilled,(et,St)=>{let{payload:Ht}=St;return{...et,statusCTA:Xt(Ht.enabled)}}).addCase(q.wU.rejected,et=>({...et,errors:{...et.errors,value:{}}})).addCase($.aC,(et,St)=>{let{payload:{formValidationErrors:Ht}}=St;return{...et,errors:{value:At(et.errors,Ht&&Ht.itunes,{})}}}).addCase($.DJ,(et,St)=>{let{payload:{value:Ht,diff:er}}=St;return{...et,errors:{value:At(et.errors,et.errors,er)},feedTypeLabel:qn[Ht.feedType].label,feedSizeLabel:Hr[Ht.feedSizeOption].label}}).addCase(q.eo,(et,St)=>{let{payload:Ht}=St;return{...et,errors:{...et.errors,value:Je(Ht)}}}).addCase(q.GP.fulfilled,(et,St)=>{let{payload:Ht}=St;return{...et,languageOptions:Ht}})}),Qt={pagination:{hasNextPage:!1,hasPreviousPage:!1},items:{}},Te=(0,i.createReducer)(Qt,ot=>{ot.addCase(j.i.resolved,(et,St)=>{let{payload:{results:Ht,...er}}=St;return{...et,items:er.hasPreviousPage?{...et.items,...(0,O.keyBy)(Ht,"id")}:(0,O.keyBy)(Ht,"id"),pagination:er}})});var Gt=e(387582),un=e(58713),Vt=e(183753),Dn=e(52151);const Wt=(ot,et,St)=>{const Ht=Object.values(ot);function er(mn,Un){for(let hr=0;hr<mn.length;hr++){if(Un(mn[hr]))return{navigationParent:mn,itemIndex:hr};const br=mn[hr],io=br&&"items"in br?br.items:null;if(io){const Kr=er(io,Un);if(Kr)return Kr}}}const Mr=er(Ht,mn=>"collectionId"in mn&&mn.collectionId===St);if(Mr){const{navigationParent:mn,itemIndex:Un}=Mr;mn[Un]={...(0,Vt.ZF)(et),items:mn[Un].items}}},xe=(0,i.createReducer)(Dn.l,ot=>{(0,un.Z)()&&ot.addCase(he.n3,(et,St)=>{let{payload:Ht}=St;return Ht}).addCase(he.LH.fulfilled,(et,St)=>{let{payload:Ht}=St;return Ht}).addCase(he.Tk.fulfilled,(et,St)=>{let{payload:Ht}=St;return Ht}).addCase(he.UP.fulfilled,(et,St)=>{let{payload:Ht}=St;return Ht}).addCase(he.EN.fulfilled,(et,St)=>{let{meta:{navigationId:Ht,items:er}}=St;et[Ht].items=er}).addCase(he.Il.fulfilled,(et,St)=>{let{payload:Ht}=St;return Ht}).addCase(he.HI,(et,St)=>{let{payload:{navigationId:Ht,items:er}}=St;et[Ht].items=er}).addCase(A.Rm.fulfilled,(et,St)=>{let{payload:Ht}=St;Wt(et,Ht,Ht.id)}).addCase(A.se.fulfilled,(et,St)=>{let{payload:Ht}=St;Wt(et,Ht,Ht.id)}).addCase(he.d4.fulfilled,(et,St)=>{let{payload:Ht}=St;return Ht}).addCase(A.Vh.fulfilled,(et,St)=>{let{payload:{collection:Ht}}=St;et[Gt.Z.hiddenNavigationName].items.push((0,Vt.ZF)(Ht))}).addCase(he.k_.fulfilled,(et,St)=>{let{payload:Ht}=St;return Ht}).addCase(A.e7.fulfilled,(et,St)=>{let{payload:{collection:Ht}}=St;Wt(et,Ht,Ht.id)})}),Ae={},wt=(0,i.createReducer)(Ae,ot=>{ot.addCase(U.Z,(et,St)=>{let{payload:{summaries:Ht}}=St;return{...et,...(0,O.keyBy)(Ht,"id")}}).addCase(A.P4.fulfilled,(et,St)=>{let{meta:{collectionIds:Ht}}=St;return(0,O.omit)(et,Ht)})});var kt=e(421616),ut=e(507033),Ft=e(496099),tn=e(989250);const In={isDirty:!1,isLoading:!1,isSaving:!1,addItemModalState:ut.Z.CLOSED,settingsModalState:ut.Z.CLOSED,shouldShowPricingPickerModal:!1,shouldShowPricingPlanEditor:!1,shouldShowConfirmModal:!1,shouldShowNestedCategoriesMigrationModal:!1,shouldShowMemberAreaDeleteModal:!1,shouldShowMemberNavSettings:!1,shouldShowMemberAreaCreateModal:!1,shouldShowMemberAreaEditor:!1,shouldShowDigitalProductsSupportModal:!1},rr=(ot,et)=>({...ot,shouldShowNestedCategoriesMigrationModal:et}),Yr=(0,i.createReducer)(In,ot=>{ot.addCase($.mN,et=>({...et,settingsModalState:ut.Z.LOADING})).addCase(S.LW.pending,et=>({...et,isLoading:!0})).addCase(S.LW.fulfilled,et=>({...et,isLoading:!1})).addCase(S.fC,(et,St)=>{let{meta:{type:Ht,noModal:er}}=St,Mr={};if(!er){const mn=(0,tn.V)({recordType:Ht,entityType:Ht});Mr=mn!==null&&Ft.Z.has(mn)?{addItemModalState:ut.Z.LOADING}:{settingsModalState:ut.Z.LOADING}}return{...et,...Mr}}).addCase(S.fC.resolved,et=>({...et})).addCase(S.fC.rejected,et=>({...et,...et.addItemModalState===ut.Z.LOADING?{addItemModalState:ut.Z.CLOSED}:{settingsModalState:ut.Z.CLOSED}})).addCase(S.Cr.pending,et=>({...et,isLoading:!0})).addCase(S.Cr.fulfilled,et=>({...et,isLoading:!1})).addCase($.qq.pending,et=>({...et,addItemModalState:ut.Z.LOADING,isDirty:!1})).addCase($.qq.rejected,et=>({...et,addItemModalState:ut.Z.CLOSED})).addCase($.qq.fulfilled,et=>({...et,addItemModalState:ut.Z.OPEN})).addCase($.t_,et=>({...et,isDirty:!1,addItemModalState:ut.Z.CLOSED})).addCase($.vJ,et=>({...et,settingsModalState:ut.Z.CLOSED})).addCase(fe.nZ,et=>({...et,shouldShowPricingPickerModal:!1})).addCase(fe.w2,et=>({...et,shouldShowPricingPickerModal:!0})).addCase(fe.dQ,et=>({...et,shouldShowPricingPlanEditor:!1})).addCase(fe.x9,et=>({...et,shouldShowPricingPlanEditor:!0})).addCase(fe.fT,et=>({...et,shouldShowDigitalProductsSupportModal:!1})).addCase(fe.aV,et=>({...et,shouldShowDigitalProductsSupportModal:!0})).addCase($.WK,et=>({...et,isDirty:!1,settingsModalState:ut.Z.OPEN})).addCase($.jz,et=>({...et,isDirty:!1,settingsModalState:ut.Z.OPEN})).addCase(A.Rm.pending,et=>({...et,isSaving:!0})).addCase(A.Rm.fulfilled,et=>({...et,isDirty:!1,isSaving:!1})).addCase(A.Rm.rejected,et=>({...et,isSaving:!1})).addCase($.sp,et=>({...et,isDirty:!0})).addCase($._g,et=>({...et,isDirty:!0})).addCase(x._5,et=>({...et,shouldShowConfirmModal:!0})).addCase(x.d6,et=>({...et,shouldShowConfirmModal:!1})).addCase($.xq,et=>({...et,isDirty:!0})).addCase($.Z7,et=>({...et,isDirty:!0})).addCase(Ee.ut,et=>({...et,shouldShowMemberAreaDeleteModal:!0})).addCase(Ee.Ki,et=>({...et,shouldShowMemberAreaDeleteModal:!1})).addCase(Ee.Zm,et=>({...et,shouldShowMemberNavSettings:!0})).addCase(Ee.$b,et=>({...et,shouldShowMemberNavSettings:!1})).addCase(Ee.hk,et=>({...et,shouldShowMemberAreaCreateModal:!0})).addCase(Ee.qJ,et=>({...et,shouldShowMemberAreaCreateModal:!1})).addCase(Ee.l2,et=>({...et,shouldShowMemberAreaEditor:!0})).addCase(Ee.G$,et=>({...et,shouldShowMemberAreaEditor:!1})).addCase(kt.Qf,et=>rr(et,!1)).addCase(kt.O3,et=>rr(et,!1)).addCase(kt.cl,et=>rr(et,!0))}),Pr={isOnboarding:!1,memberAreaDetails:{}},sr=(0,i.createReducer)(Pr,ot=>{ot.addCase(Ee.ut,(et,St)=>{let{payload:{memberAreaDetails:Ht}}=St;return{...et,memberAreaDetails:Ht}}).addCase(Ee.Ki,et=>({...et,memberAreaDetails:{}})).addCase(Ee.l2,(et,St)=>{let{payload:{memberAreaDetails:Ht}}=St;return{...et,memberAreaDetails:Ht}}).addCase(Ee.G$,et=>({...et,memberAreaDetails:{}})).addCase(Ee.hk,(et,St)=>{let{payload:{isOnboarding:Ht}}=St;return{...et,isOnboarding:Ht}}).addCase(Ee.qJ,et=>({...et,isOnboarding:!1,memberAreaDetails:{}}))});var Ar=e(484143);const qr=(0,u.combineReducers)({appleNewsSyndicator:y,collections:k,confirm:R,context:oe,editor:me,error:Yn,items:jt,iTunesSyndicator:xt,recycleBin:Te,summaries:wt,ui:Yr,memberAreas:sr,pricingPlans:Ar.Z,siteLayout:xe});function Dr(ot){const et=[c.promiseMiddleware];return(0,i.configureStore)({reducer:qr,preloadedState:ot,middleware:St=>St({immutableCheck:!1,serializableCheck:!1}).concat(et),devTools:!1})}function eo(ot){return Dr(ot)}let Vo;function Bn(){return Vo||(Vo=eo()),Vo}const ar=r.createContext({}),rn=(0,n.createDispatchHook)(ar),Rt=(0,n.createSelectorHook)(ar),Qe=function(ot,et,St){let Ht=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return Ht.context=ar,(0,n.connect)(ot,et,St,Ht)};if(window.Cypress){window.dev={...window.dev||{},current:o.Vk};const ot=window.frameElement?window.parent:window;Object.defineProperty(ot,"__contentBrowserStore",{get(){return Bn()}})}const Ye=ot=>{let{children:et}=ot;return r.createElement(n.Provider,{store:Bn(),context:ar},et)};function yt(){return Bn().getState()}const Ze=ot=>Bn().dispatch(ot);function Mt(){for(var ot=arguments.length,et=new Array(ot),St=0;St<ot;St++)et[St]=arguments[St];const Ht=Bn();if(et.length===1){const[mn]=et;return Ht.subscribe(mn)}const[er,Mr]=et;return(0,a.Z)(Ht,er,Mr)}},484143:function(b,l,e){"use strict";e.d(l,{Z:()=>c,e:()=>n});var r=e(851939),o=e(322057),n=function(u){return u.NONE="none",u.SAVE_SUCCESS="save-success",u.DELETE_SUCCESS="delete-success",u}({});const a={includedProducts:[],defaultName:"",pricingPlanId:"",callbackState:"none"},c=(0,r.createReducer)(a,u=>{u.addCase(o.x9,(f,d)=>{let{payload:h}=d;return{...f,...h}}).addCase(o.JF,f=>({...f,callbackState:"save-success"})).addCase(o.Rx,f=>({...f,callbackState:"delete-success"})).addCase(o.dQ,f=>({...f,includedProducts:[],defaultName:"",pricingPlanId:"",callbackState:"none"}))})},661614:function(b,l,e){"use strict";e.d(l,{RZ:()=>ye,Oi:()=>vt,M1:()=>C,w0:()=>Vt,Dm:()=>st,Ph:()=>W,H8:()=>rt,Y0:()=>Xe,dF:()=>Pe,tY:()=>Zn,Qy:()=>S,Ox:()=>P,Be:()=>c,W_:()=>Bt,Zf:()=>z,cp:()=>jt,wo:()=>xe,_n:()=>_,aN:()=>Re,FJ:()=>Rn,Yz:()=>H,OT:()=>G,kx:()=>s,UA:()=>Ie,e3:()=>Gt,s$:()=>F,KG:()=>ge,BS:()=>He,Yd:()=>i,yS:()=>d,Z3:()=>Wt,Lg:()=>fe,FC:()=>Fe,XA:()=>we,Tv:()=>ir,yW:()=>Ne,JE:()=>A,ec:()=>p,B$:()=>ze,KZ:()=>Ln,Wv:()=>k,Rn:()=>j,P6:()=>xt,lZ:()=>on,BP:()=>bn,zw:()=>y,KD:()=>nt,$q:()=>ht,CO:()=>Te,n_:()=>Hr,tb:()=>L,CS:()=>u,Dz:()=>Tn,RJ:()=>$n,bG:()=>Ee,lb:()=>Ot,rD:()=>un,Mn:()=>Ce,Iw:()=>O,Ws:()=>v,Q9:()=>qn,GC:()=>m,J4:()=>Jr,kk:()=>ee,t3:()=>or,AO:()=>pe,KT:()=>jn,PF:()=>ne,Uo:()=>te,g6:()=>E,Nj:()=>T,Y_:()=>Pn,gq:()=>f,fv:()=>fo,mi:()=>h,j6:()=>_e,fU:()=>mt});var r=e(45321);const o=Ae=>Ae.pricingPlans.pricingPlanId,n=Ae=>Ae.pricingPlans.includedProducts,a=Ae=>Ae.pricingPlans.defaultName,i=Ae=>Ae.pricingPlans.callbackState,c=(0,r.P1)(o,a,n,i,(Ae,qe,wt,kt)=>({pricingPlanId:Ae,defaultName:qe,includedProducts:wt,callbackState:kt})),u=Ae=>Ae.ui.isDirty,f=Ae=>Ae.ui.isSaving,d=Ae=>Ae.ui.settingsModalState,h=Ae=>Ae.ui.addItemModalState,g=Ae=>Ae.ui.shouldShowConfirmModal,_=Ae=>Ae.ui.shouldShowPricingPickerModal,p=Ae=>Ae.ui.shouldShowPricingPlanEditor,y=Ae=>Ae.ui.shouldShowMemberAreaDeleteModal,O=Ae=>Ae.ui.shouldShowMemberNavSettings,P=Ae=>Ae.ui.shouldShowMemberAreaCreateModal,C=Ae=>Ae.ui.shouldShowMemberAreaEditor,A=Ae=>Ae.ui.shouldShowNestedCategoriesMigrationModal,S=Ae=>Ae.ui.shouldShowDigitalProductsSupportModal,T=Ae=>Ae.context.homepageCollectionId,s=Ae=>Ae.context.authorId,v=Ae=>Ae.context.websiteId,m=Ae=>Ae.context.currentCollectionId,E=Ae=>Ae.context.currentItemId,I=Ae=>Ae.context.customCollectionTypes,L=Ae=>Ae.context.demoCollectionIds,W=Ae=>Ae.context.currentCategoryId,F=Ae=>Ae.context.hasDeletedCollections,G=Ae=>Ae.confirm.confirmAction,k=Ae=>Ae.confirm.confirmArguments,x=Ae=>Ae.confirm.confirmTitle,M=Ae=>Ae.confirm.confirmMessage,B=Ae=>Ae.confirm.confirmLabel,R=Ae=>Ae.confirm.confirmVariant,U=Ae=>Ae.confirm.fsUnmask,j=(0,r.P1)(g,x,M,B,R,U,(Ae,qe,wt,kt,ut,Ft)=>({isOpen:Ae,title:qe,message:wt,confirmLabel:kt,confirmVariant:ut,fsUnmask:Ft})),$=Ae=>Ae.items,ee=Ae=>Ae.items.items,te=Ae=>Ae.items.pagination,ie=(0,r.P1)(E,ee,(Ae,qe)=>Ae?qe[Ae]:null),ne=(0,r.P1)([(Ae,qe)=>qe,ee],(Ae,qe)=>Ae&&qe&&qe[Ae]?qe[Ae]:null),pe=(0,r.P1)(m,ee,(Ae,qe)=>Object.values(qe).filter(wt=>(wt.parentCollectionId||wt.collectionId)===Ae).sort((wt,kt)=>("collectionSequence"in wt?wt.collectionSequence:0)-("collectionSequence"in kt?kt.collectionSequence:0)));var oe=e(419467),q=e(264065);const J=Ae=>Ae.summaries;var me=e(734622);const re=(0,oe.memoize)(me.tf);re.cache=new WeakMap;const he=(0,oe.memoize)(Ae=>(0,me.tf)([Ae])[0]);he.cache=new WeakMap;const Ee=Ae=>Ae.collections,fe=(0,r.P1)(J,Ee,(Ae,qe)=>({...Ae,...(0,oe.mapValues)((0,oe.pickBy)(qe,wt=>{let{collection:kt}=wt;return!!kt}),wt=>{let{collection:kt}=wt;return kt})})),H=(0,r.P1)(fe,(Ae,qe)=>qe,(Ae,qe)=>qe?Ae[qe]??null:null),z=(Ae,qe)=>{var wt;return!!qe&&((wt=fe(Ae)[qe])===null||wt===void 0?void 0:wt.enabled)===!1},_e=(0,r.P1)(m,Ee,(Ae,qe)=>Ae&&qe[Ae]?qe[Ae].collection:void 0),ae=[],ge=(Ae,qe)=>{var wt;return re(((wt=Ee(Ae)[qe])===null||wt===void 0?void 0:wt[q.XX])??ae)},Be=(Ae,qe)=>ge(Ae,qe.collectionId),Ke=(Ae,qe)=>qe.categoryId,He=(0,r.P1)(Be,Ke,(Ae,qe)=>Ae.find(wt=>{let{id:kt}=wt;return kt===qe})),ye=(0,r.P1)(Ee,m,(Ae,qe)=>{var wt;return re(qe&&((wt=Ae[qe])===null||wt===void 0?void 0:wt[q.XX])||ae)}),Le=(0,r.P1)(Ee,Ae=>(0,oe.mapValues)(Ae,qe=>{let{tags:wt}=qe;return wt})),Ue=(0,r.P1)(Ee,Ae=>(0,oe.mapValues)(Ae,qe=>{let{categories:wt}=qe;return wt})),Xe=(0,r.P1)(m,fe,(Ae,qe)=>Ae?qe[Ae]:null),Fe=(0,r.P1)(ye,Ae=>Ae.find(qe=>qe.type==="ROOT")),ht=Ae=>Ae.siteLayout,Ne=(0,r.P1)(ht,Ae=>Ae._memberareas),Ce=Ae=>Ae.recycleBin.pagination,we=Ae=>Ae.recycleBin.items,$e=Ae=>Ae.editor,Ot=(0,r.P1)($e,Ae=>Ae.currentRootCategory&&he(Ae.currentRootCategory)),Pt=(0,r.P1)($e,Ae=>Ae.currentNestedCategoryId),Ie=Ae=>Ae.editor.currentCollection,Bt=Ae=>Ae.editor.currentItem,mt=Ae=>Ae.editor.currentCategories,rt=Ae=>Ae.editor.currentTags,ce=Ae=>Ae.editor.formValidationErrors,Re=Ae=>Ae.editor.collectionConfigs,nt=Ae=>Ae.editor.pageConfigs,st=Ae=>Ae.editor.layouts,vt=Ae=>Ae.editor.defaultTab,ze=Ae=>Ae.editor.isNewItem,It=(0,r.P1)(Ie,Ae=>Ae==null?void 0:Ae.id),on=Ae=>Ae.editor.appleNewsSyndication,Pn=Ae=>Ae.editor.itunesSyndication,Yn=Ae=>Ae.items.searchResults,Ln=(0,r.P1)(Yn,Ae=>Ae.query),bn=(0,r.P1)(Yn,Ae=>Ae.results),ir=(0,r.P1)(Yn,Ae=>Ae.nextPageMarker),Zn=(0,r.P1)(Yn,Ae=>Ae.hasNextPage),$n=(0,r.P1)(Yn,Ae=>Ae.isLoading),jt=(0,r.P1)(Yn,Ae=>Ae.workflowState),Rn=(0,r.P1)(Ie,Ae=>!!Ae),jn=Ae=>Ae.memberAreas.isOnboarding,Tn=Ae=>Ae.memberAreas.memberAreaDetails;var Nn=e(420042);const cn=Ae=>Ae.iTunesSyndicator,or=(0,r.P1)(Pn,cn,(Ae,qe)=>({...qe,value:Ae})),qn=(0,r.P1)(or,Ae=>{const qe=Nn.Z.find(ut=>ut.value===Ae.value.categoryPrimary),wt=Nn.Z.find(ut=>ut.value===Ae.value.categorySecondary),kt=Nn.Z.find(ut=>ut.value===Ae.value.categoryTertiary);return{categories:{categoryPrimary:qe,categorySecondary:wt,categoryTertiary:kt,subcategoryPrimary:qe&&qe.subcategories&&qe.subcategories.find(ut=>ut.value===Ae.value.subcategoryPrimary),subcategorySecondary:wt&&wt.subcategories&&wt.subcategories.find(ut=>ut.value===Ae.value.subcategorySecondary),subcategoryTertiary:kt&&kt.subcategories&&kt.subcategories.find(ut=>ut.value===Ae.value.subcategoryTertiary)}}}),Hr=(0,r.P1)(or,Ae=>{var qe;return(qe=Ae.languageOptions)===null||qe===void 0?void 0:qe.find(wt=>wt.value===Ae.value.language)}),fo=Ae=>Ae.appleNewsSyndicator,Jr=(0,r.P1)(on,fo,(Ae,qe)=>({...qe,value:Ae})),ro=Ae=>Ae.error.shouldShowErrorModal,Xt=Ae=>Ae.error.errorModalTitle,Je=Ae=>Ae.error.errorModalMessage,At=Ae=>Ae.error.fsUnmask,xt=(0,r.P1)(ro,Xt,Je,Xe,At,(Ae,qe,wt,kt,ut)=>({isOpen:Ae,title:qe,message:wt,collection:kt,fsUnmask:ut}));var Qt=e(617801);const qt=(0,r.P1)(fe,ee,(Ae,qe)=>({...Ae,...qe})),Te=(0,r.P1)(Ie,Bt,(Ae,qe)=>Ae?{collection:Ae}:{contentItem:qe}),Gt=(0,r.P1)(fe,Bt,(Ae,qe)=>{if(!qe)return null;const wt=(0,Qt.iP)(qe);return wt?Ae[wt]:null}),un=(0,r.P1)(Gt,Ae=>Ae?`/${Ae.urlId}/`:null),Vt=(0,r.P1)(Pt,ye,(Ae,qe)=>qe.find(wt=>wt.id===Ae)),Dn=(0,r.P1)(Ee,Bt,(Ae,qe)=>{if(!qe)throw new Error("No collection item is being edited to fetch tags for");const wt=(0,Qt.iP)(qe);if(!wt)throw new Error("No parent collection found for given collection item");return Ae[wt]}),Wt=(0,r.P1)(Dn,Ae=>Ae.tags.map(qe=>{let{name:wt}=qe;return wt})),Pe=(0,r.P1)(Dn,Ae=>Ae.categories.map(qe=>{let{name:wt}=qe;return wt})),xe=(0,r.P1)(Ie,T,(Ae,qe)=>!!(Ae&&Ae.id===qe))},283052:function(b,l,e){"use strict";e.d(l,{X:()=>o});var r=e(851939);const o=r.createAsyncThunk.withTypes()},920496:function(b,l,e){"use strict";e.d(l,{Z:()=>r});const r={COLOR:"color",FONT:"font",IMAGE:"image",VALUE:"value",DROPDOWN:"dropdown",CHECKBOX:"checkbox",FONT_WEIGHT:"fontWeight",FONT_STYLE:"fontStyle",FONT_FAMILY:"fontFamily",IMAGE_EDITOR:"imageEditor"}},989449:function(b,l,e){"use strict";e.d(l,{J:()=>a,Z:()=>c});var r=e(714487),o=e(920496),n=e(241932);const a={SIZE:{"%":{min:0,max:10,step:.5},px:{min:8,max:120,step:1},pt:{min:8,max:120,step:1},rem:{min:.5,max:2,step:.25},em:{min:.5,max:2,step:.25},vh:{min:0,max:10,step:.5},vw:{min:0,max:10,step:.5}},LETTER_SPACING:{"%":{min:0,max:10,step:.5},px:{min:1,max:20,step:1},pt:{min:8,max:120,step:1},rem:{min:.5,max:2,step:.25},em:{min:-.1,max:2,step:.1},vh:{min:0,max:10,step:.5},vw:{min:0,max:10,step:.5}}},c=[{label:(0,r.t)("Family",null,{project:"apps.App"}),slug:"font-family",type:o.Z.FONT_FAMILY,mapKeysFromParent:["loadAllVariants"]},{label:(0,r.t)("Weight",null,{project:"apps.App"}),slug:"font-weight",type:o.Z.FONT_WEIGHT,options:n.MJ},{label:(0,r.t)("Style",null,{project:"apps.App"}),slug:"font-style",type:o.Z.FONT_STYLE,options:n.ww,optionsLabels:n.I7},{label:(0,r.t)("Size",null,{project:"apps.App"}),slug:"font-size",type:o.Z.VALUE,units:a.SIZE},{label:(0,r.t)("Letter Spacing",null,{project:"apps.App"}),slug:"letter-spacing",type:o.Z.VALUE,units:a.LETTER_SPACING},{label:(0,r.t)("Text Decoration",null,{project:"apps.App"}),slug:"text-decoration",type:o.Z.DROPDOWN,options:n.bS,optionsLabels:n.H$},{label:(0,r.t)("Text Transform",null,{project:"apps.App"}),slug:"text-transform",type:o.Z.DROPDOWN,options:n.jq,optionsLabels:n.PX},{label:(0,r.t)("Text Align",null,{project:"apps.App"}),slug:"text-align",type:o.Z.DROPDOWN,options:n.uI,optionsLabels:n.Wz}]},241932:function(b,l,e){"use strict";e.d(l,{H$:()=>d,I7:()=>u,MJ:()=>o,PX:()=>f,Wz:()=>h,bS:()=>i,jq:()=>a,uI:()=>c,ww:()=>n});var r=e(714487);const o=["100","200","300","400","500","600","700","800","900"],n=["normal","italic"],a=["none","uppercase","lowercase","capitalize"],i=["none","underline","overline","line-through"],c=["left","center","right","justify"],u=[(0,r.t)("Normal",null,{project:"apps.App"}),(0,r.t)("Italic",null,{project:"apps.App"})],f=[(0,r.t)("None",null,{project:"apps.App"}),(0,r.t)("Uppercase",null,{project:"apps.App"}),(0,r.t)("Lowercase",null,{project:"apps.App"}),(0,r.t)("Capitalize",null,{project:"apps.App"})],d=[(0,r.t)("None",null,{project:"apps.App"}),(0,r.t)("Underline",null,{project:"apps.App"}),(0,r.t)("Overline",null,{project:"apps.App"}),(0,r.t)("Line-through",null,{project:"apps.App"})],h=[(0,r.t)("Left",null,{project:"apps.App"}),(0,r.t)("Center",null,{project:"apps.App"}),(0,r.t)("Right",null,{project:"apps.App"}),(0,r.t)("Justify",null,{project:"apps.App"})]},994549:function(b,l,e){"use strict";e.d(l,{Hf:()=>c,V3:()=>u,X3:()=>n});const r=f=>`${f.variableName}-licensed-asset-preview-assetid`,o=f=>`${f.variableName}-licensedassetid`,n=f=>f.replace(/^url\(["']?|["']?\)$/gi,""),a=(f,d)=>(f=Object.assign({},f),Object.keys(d).forEach(h=>{const g=d[h];g!==void 0?f[h]=g:f.hasOwnProperty(h)&&delete f[h]}),f),i=f=>{let{def:d,options:h={}}=f;const{licensedAssetPreviewId:g,licensedAssetId:_}=h;return a(d,{licensedAssetPreviewId:g,licensedAssetId:_})},c=f=>{let{tweakValues:d,def:h}=f;return i({def:h,options:{licensedAssetPreviewId:d[r(h)],licensedAssetId:d[o(h)]}})},u=(f,d)=>{let{def:h,options:g={}}=d;const _=r(h),p=o(h);return a(f,{[_]:g.licensedAssetPreviewId,[p]:g.licensedAssetId})}},209496:function(b,l,e){"use strict";e.d(l,{ky:()=>G,Vu:()=>j,C5:()=>R,h1:()=>U});var r=e(485774),o=e.n(r),n=e(176944),a=e.n(n),i=e(413543),c=e.n(i),u=e(862335),f=e(172334),d=e(419467),h=e(714487),g=e(920496),_=e(241932);const y=[{label:(0,h.t)("Family",null,{project:"apps.App"}),slug:"font-family",type:g.Z.FONT_FAMILY,mapKeysFromParent:["loadAllVariants"]},{label:(0,h.t)("Weight",null,{project:"apps.App"}),slug:"font-weight",type:g.Z.FONT_WEIGHT,options:_.MJ},{label:(0,h.t)("Style",null,{project:"apps.App"}),slug:"font-style",type:g.Z.FONT_STYLE,options:_.ww,optionsLabels:_.I7},{label:(0,h.t)("Size",null,{project:"apps.App"}),slug:"font-size",type:g.Z.VALUE,min:8,max:120,step:1},{label:(0,h.t)("Letter Spacing",null,{project:"apps.App"}),slug:"letter-spacing",type:g.Z.VALUE,min:-.1,max:2,step:.01},{label:(0,h.t)("Text Decoration",null,{project:"apps.App"}),slug:"text-decoration",type:g.Z.DROPDOWN,options:_.bS,optionsLabels:_.H$},{label:(0,h.t)("Text Transform",null,{project:"apps.App"}),slug:"text-transform",type:g.Z.DROPDOWN,options:_.jq,optionsLabels:_.PX},{label:(0,h.t)("Line Height",null,{project:"apps.App"}),slug:"line-height",type:g.Z.VALUE,min:0,max:10,step:.1},{label:(0,h.t)("Text Align",null,{project:"apps.App"}),slug:"text-align",type:g.Z.DROPDOWN,options:_.uI,optionsLabels:_.Wz}],P=[{label:(0,h.t)("Image",null,{project:"apps.App"}),slug:"background-image",type:g.Z.IMAGE_EDITOR},{label:(0,h.t)("Size",null,{project:"apps.App"}),slug:"background-size",type:g.Z.DROPDOWN,options:["auto","cover","contain"],optionsLabels:[(0,h.t)("Auto",null,{project:"apps.App"}),(0,h.t)("Cover",null,{project:"apps.App"}),(0,h.t)("Contain",null,{project:"apps.App"})]},{label:(0,h.t)("Position",null,{project:"apps.App"}),slug:"background-position",type:g.Z.DROPDOWN,options:["top left","top center","top right","center left","center center","center right","bottom left","bottom center","bottom right"],optionsLabels:[(0,h.t)("Top left",null,{project:"apps.App"}),(0,h.t)("Top center",null,{project:"apps.App"}),(0,h.t)("Top right",null,{project:"apps.App"}),(0,h.t)("Center left",null,{project:"apps.App"}),(0,h.t)("Center center",null,{project:"apps.App"}),(0,h.t)("Center right",null,{project:"apps.App"}),(0,h.t)("Bottom left",null,{project:"apps.App"}),(0,h.t)("Bottom center",null,{project:"apps.App"}),(0,h.t)("Bottom right",null,{project:"apps.App"})]},{label:(0,h.t)("Repeat",null,{project:"apps.App"}),slug:"background-repeat",type:g.Z.DROPDOWN,options:["no-repeat","repeat","repeat-x","repeat-y"],optionsLabels:[(0,h.t)("No repeat",null,{project:"apps.App"}),(0,h.t)("Repeat",null,{project:"apps.App"}),(0,h.t)("Repeat horizontal",null,{project:"apps.App"}),(0,h.t)("Repeat vertical",null,{project:"apps.App"})]},{label:(0,h.t)("Fix Position",null,{project:"apps.App"}),slug:"background-attachment",type:g.Z.DROPDOWN,options:["scroll","fixed"],optionsLabels:[(0,h.t)("Scroll",null,{project:"apps.App"}),(0,h.t)("Fixed",null,{project:"apps.App"})]}];var C=e(989449);const A={font:y,image:P,buttonVariantFont:C.Z};var S=e(168849),T=e.n(S);const s=["js","showOnlyWhenPresent","target","category","tweakFilter","isMobileTweak"],v=["label","mapKeysFromParent","slug"];function m($,ee){const{label:te,title:ie,variableName:ne,mixinType:pe,type:oe}=$,J=pe==="font"&&(ie.startsWith(T().PRIMARY)||ie.startsWith(T().SECONDARY)||ie.startsWith(T().TERTIARY))?"buttonVariantFont":pe,me=A[J],re=(0,f.YV)($.defaultValue),he=[];return me.filter(fe=>!!re[fe.slug]).map(fe=>{const{label:H,slug:z,mapKeysFromParent:_e}=fe;fe=(0,d.omit)(fe,v);const ae={label:H,title:`${ie}-${z}`,variableName:(0,f.Hp)(ne,z),defaultValue:ee[z],parentType:oe,parentName:ne,parentLabel:te,siblingTweaks:he};he.push(ae.variableName);const ge=(0,d.pick)($,s.concat(_e||[]));return Object.assign({},ae,ge,fe)})}const E={Options:[g.Z.DROPDOWN,g.Z.CHECKBOX],Colors:[g.Z.COLOR,g.Z.IMAGE],Typography:[g.Z.FONT],"Size & Values":[g.Z.VALUE]},I={Options:(0,h.t)("Options",null,{project:"apps.App"}),Colors:(0,h.t)("Colors",null,{project:"apps.App"}),Typography:(0,h.t)("Typography",null,{project:"apps.App"}),"Size & Values":(0,h.t)("Size & Values",null,{project:"apps.App"})},L={[c().COLOR]:g.Z.COLOR,[c().FONT]:g.Z.FONT,[c().IMAGE]:g.Z.IMAGE,[c().VALUE]:g.Z.VALUE,[c().DROPDOWN]:g.Z.DROPDOWN,[c().CHECKBOX]:g.Z.CHECKBOX,[c().FONT_FAMILY]:g.Z.FONT_FAMILY,[c().FONT_WEIGHT]:g.Z.FONT_WEIGHT,[c().FONT_STYLE]:g.Z.FONT_STYLE},W={[g.Z.VALUE]:$=>{let{defaultValue:ee,min:te}=$;return a()(ee)?te.toString():(0,u.k)(ee)?ee:"0px"},[g.Z.DROPDOWN]:$=>{let{defaultValue:ee,options:te}=$;return a()(ee)?te?te[0]:null:ee}};function F($){const ee=o()(E,te=>te.includes($));return ee?I.hasOwnProperty(ee)?I[ee]:ee:$}function G($,ee){return $.parentName+"-"+ee}function k($){const{variableName:ee,parentName:te}=$;return ee.replace(te+"-","")}function x($){W[$.type]&&($.defaultValue=W[$.type]($))}function M($){($.type===g.Z.FONT||$.type===g.Z.IMAGE)&&($.mixinType=$.type)}function B($){return $.type=L[$.type]||$.type,x($),M($),$.label=$.label||$.title,$.category||($.category=F($.type)),$}function R($){const ee={},te={};for(const ie in $){const ne=$[ie],pe=B({...ne});if(pe.mixinType){const oe=(0,f.YV)(pe.defaultValue);m(pe,oe).forEach(q=>{q=B({...q}),ee[q.variableName]=q}),te[ne.variableName]=pe}else pe.variableName&&(ee[pe.variableName]=pe)}return{tweakDefinitions:ee,mixinTweakDefinitions:te}}function U($){let{tweakValuesCurrent:ee,mixinTweakDefinitions:te,def:ie}=$;const{parentName:ne,variableName:pe}=ie;if(!ee[ne])return null;const oe=ee[pe],q=te[ne],J=k(ie),me=(0,f.YV)(ee[ne]),re=(0,f.YV)(q.defaultValue),he=Object.keys(re).reduce((Ee,fe)=>(Ee[fe]=fe===J?oe:me[fe],Ee),{});return(0,f.Gt)(he)}function j($){let{def:ee,tweakValues:te}=$;const ie=ee.siblingTweaks||null;return ie?ie.reduce((ne,pe)=>(ne[pe]=te[pe],ne),{}):null}},613852:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(684353),o=e(920496);const n=[o.Z.VALUE,o.Z.DROPDOWN,o.Z.CHECKBOX,o.Z.COLOR,o.Z.FONT_STYLE,o.Z.FONT_WEIGHT,o.Z.FONT_FAMILY,o.Z.IMAGE_EDITOR];function a(d,h){const{tweakValuesCurrent:g}=d,{variableName:_,type:p}=h;return g[_]!==void 0&&n.includes(p)}function i(d,h){const{filterString:g,showOnlyWhenPresent:_,visibleDefinitions:p,selectedDefinitions:y}=d,{variableName:O,label:P,category:C}=h;let A=!1;if(g){const v=g.trim().toLocaleLowerCase(r.translationLocale),m=C.toLocaleLowerCase(r.translationLocale).indexOf(v)>-1,E=P.toLocaleLowerCase(r.translationLocale).indexOf(v)>-1;A=!m&&!E}const S=_&&p.indexOf(O)===-1,T=y.length>0&&y.indexOf(O)===-1;return!(A||S||T)}function c(d,h){const{category:g,parentName:_,variableName:p,parentType:y,type:O,parentLabel:P,label:C,tweakFilter:A}=h,S=_||p;return d[S]||(d[S]={category:g,key:S,label:P||C,type:y||O,tweakFilter:A,defs:[]}),d[S].defs.push(p),d}function u(d){const{tweakDefinitions:h,selectedDefinitions:g,tweakValuesCurrent:_,filterString:p,showOnlyWhenPresent:y,groupType:O}=d,P=d.visibleDefinitions||[],C=Object.values(h).filter(a.bind(void 0,{tweakValuesCurrent:_})),A=C.filter(i.bind(void 0,{filterString:p,showOnlyWhenPresent:y,visibleDefinitions:P,selectedDefinitions:g})),S=A.map(v=>{let{variableName:m}=v;return m}),T=A.reduce(c,{});return{fieldGroups:Object.values(T).reduce((v,m)=>{const E=O==="all"?"all":m[O];return v[E]||(v[E]=[]),v[E].push(m),v},{}),visibleFieldKeys:S,numTweaksDisplayed:A.length,numTweaksAvailable:C.length}}const f=u},134922:function(b,l,e){"use strict";e.d(l,{$c:()=>g,P1:()=>_,PW:()=>d,R1:()=>i,W9:()=>h,gX:()=>p,uI:()=>c});var r=e(205738),o=e(920496),n=e(655446),a=e(209496);const i=function(){const O=(""+(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"")).toLowerCase();return O==="normal"?n.F_:O==="bold"?n.VV:O},c=y=>y?y.indexOf(",")>=0?y:y.replace(/\s*["']\s*/g,""):null,u=(y,O)=>y.variantData.variants.reduce((P,C)=>(""+C.weight===O&&C.style===n.X0&&P.indexOf(n.X0)===-1&&P.push(n.X0),P),[n.ip]),f=y=>y.variantData.variants.reduce((O,P)=>{const C=""+P.weight;return O.indexOf(C)===-1&&O.push(C),O},[]);function d(y){let{siblingTweakValues:O,def:P,webFontsByCssString:C}=y;const A=(0,a.ky)(P,"font-family"),S=(0,a.ky)(P,"font-weight"),T=O[A],s=O[S],v=C[T];return v?u(v,s):P.options}function h(y){let{siblingTweakValues:O,def:P,webFontsByCssString:C}=y;const A=(0,a.ky)(P,"font-family"),S=O[A],T=C[S];return T?f(T):P.options}function g(y){let{tweakValuesCurrent:O,def:P,webFontsByCssString:C}=y;const A=O[(0,a.ky)(P,"font-family")],S=(0,a.ky)(P,"font-weight"),T=(0,a.ky)(P,"font-style"),s=C[A],v=O[S],m=O[T];if(!s||!v)return null;const{weight:E}=(0,r.v)({weight:parseInt(v,10),style:m},s.variantData.variants);return{variableName:S,value:""+E}}function _(y){let{tweakValuesCurrent:O,def:P,webFontsByCssString:C}=y;const A=(0,a.ky)(P,"font-style"),S=O[(0,a.ky)(P,"font-weight")],T=O[A],s=O[(0,a.ky)(P,"font-family")],v=C[s];if(!v||!S||!T)return null;const{style:m}=(0,r.v)({weight:parseInt(S,10),style:T},v.variantData.variants);return{variableName:A,value:m}}function p(y,O){const P=new Set;return Object.keys(y).forEach(C=>{const A=O[C];A&&A.type===o.Z.FONT_FAMILY&&P.add(y[C])}),P}},685896:function(b,l,e){"use strict";e.d(l,{Z:()=>g});var r=e(419467),o=e(920496),n=e(134922),a=e(172334),i=e(919019),c=e(209496),u=e(553573);const d={"proxima-nova-soft":"proxima-soft","proxima-nova-alt":"proxima-nova","proxima-nova-alt-condensed":"proxima-nova-condensed","proxima-nova-alt-extra-condensed":"proxima-nova-extra-condensed","proxima-nova-sc-osf":"proxima-nova","proxima-nova-sc-osf-condensed":"proxima-nova-condensed","proxima-nova-sc-osf-extra-condensed":"proxima-nova-extra-condensed","aktiv-grotesk-std":"aktiv-grotesk","acta-display":"freight-big-pro","acta-poster":"didoni-urw","acta-poster-swashes":"didoni-urw","cabrito-sans-condensed":"cabrito-sans","cabrito-sans-extended":"cabrito-sans","estilo-pro":"niveau-grotesk","estilo-regular":"niveau-grotesk","estilo-script":"niveau-grotesk","leitura-news":"baskerville-urw","penna-connected":"bickham-script-pro-3","penna-connected-swashes":"bickham-script-pro-3","penna-swashes":"bickham-script-pro-3",penna:"bickham-script-pro-3","velino-poster":"lexia-advertising"},g=_=>{const{mixinTweakDefinitions:p,webFontsByCssString:y,typekitKitFonts:O,noValidate:P}=_,C=new Set,A=[],S={..._.tweakValues},T={..._.tweakDefinitions};for(const s in p){const v=p[s],{variableName:m,defaultValue:E}=v;S[m]||(S[m]=E);const I=(0,a.YV)(S[m]);Object.keys(I).forEach(L=>{const W=(0,a.Hp)(m,L);S[W]=I[L]})}for(const s in T){let v=T[s];const m=v.type===o.Z.FONT_FAMILY,E=v.type===o.Z.FONT_WEIGHT,I=v.variableName.includes("font-style"),L=v.variableName.includes("text-transform");let W=S[v.variableName];(0,r.isUndefined)(W)&&(W=v.defaultValue),(I||L)&&(W=W.toLowerCase()),P||(W=(0,u.Z)(W,v)?W:v.defaultValue),E&&(0,n.R1)(W),m&&(C.add(W),W=(0,n.uI)(W),d[W]&&(A.push(v.category),W=d[W])),v=(0,i.Z)(v,{webFontsByCssString:{...y,...O},tweakValues:S}),S[v.variableName]=W,T[v.variableName]=v,v.parentName&&(S[v.parentName]=(0,c.h1)({tweakValuesCurrent:S,mixinTweakDefinitions:p,def:v}))}return{tweakValues:S,activeFontCssStrings:C,tweakDefinitions:T,changedFontTweaks:A}}},919019:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(920496),o=e(209496),n=e(994549),a=e(134922),i=e(40666);function c(f,d){const{webFontsByCssString:h,tweakValues:g}=d;f={...f};const _=f.type===r.Z.IMAGE_EDITOR,p=f.type===r.Z.FONT_WEIGHT,y=f.type===r.Z.FONT_STYLE,O=f.type===r.Z.VALUE;if(p){const P=(0,o.Vu)({def:f,tweakValues:g});return f.options=(0,a.W9)({siblingTweakValues:P,def:f,webFontsByCssString:h}),f}if(y){const P=(0,o.Vu)({def:f,tweakValues:g});return f.options=(0,a.PW)({siblingTweakValues:P,def:f,webFontsByCssString:h}),f}return _?(0,n.Hf)({tweakValues:g,def:f}):O?{...f,...(0,i.Dt)({def:f,value:g[f.variableName]})}:f}const u=c},574922:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(754861),o=e(920496),n=e(134922),a=e(209496),i=e(994549),c=e(919019),u=e(553573);const f=g=>{let{def:_,tweakValuesCurrent:p,mixinTweakDefinitions:y}=g;if(!_.parentName)return p;const O=(0,a.h1)({tweakValuesCurrent:p,mixinTweakDefinitions:y,def:_});return O?{...p,[_.parentName]:O}:p},h=g=>{const{webFontsByCssString:_,typekitKitFonts:p,mixinTweakDefinitions:y,variableName:O,value:P,options:C,tweakApi:A}=g;let{tweakDefinitions:S,tweakValuesCurrent:T,activeFontCssStrings:s}=g,v=S[O],m=null;if(v&&(0,u.Z)(P,v)){T={...T,[O]:P};const E=v.type===o.Z.FONT_WEIGHT,I=v.type===o.Z.FONT_FAMILY,L=v.type===o.Z.IMAGE_EDITOR;if(I){const W=_[P];W&&(0,r.m)(W,{win:A.getFrameWindow()}),m=(0,n.$c)({tweakValuesCurrent:T,def:v,webFontsByCssString:{..._,...p}}),s=(0,n.gX)(T,S)}else E?m=(0,n.P1)({tweakValuesCurrent:T,def:v,webFontsByCssString:{..._,...p}}):L&&(T=(0,i.V3)(T,{def:v,options:C}));v=(0,c.Z)(v,{webFontsByCssString:{..._,...p},tweakValues:T}),S[v.variableName]=v,T=f({def:v,tweakValuesCurrent:T,mixinTweakDefinitions:y})}return{activeFontCssStrings:s,tweakValuesCurrent:T,tweakDefinitions:S,updatedTweakAsSideEffect:m}}},553573:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(176944),o=e.n(r),n=e(825473),a=e.n(n),i=e(862335),c=e(920496);const u={[c.Z.COLOR]:h=>({isValid:!!a()(h)}),[c.Z.VALUE]:(h,g)=>({isValid:(0,i.f)(h,g)}),[c.Z.DROPDOWN]:(h,g)=>({isValid:g.options.indexOf(h)>=0,error:`Value missing in dropdown options ${JSON.stringify(g.options)}`})};function f(h,g){const _=u[g.type];if(!_)return!o()(h);const{isValid:p,error:y}=_(h,g);return p||console.warn(`Invalid tweak value "${h}" in "${g.type}:${g.variableName}". ${y||""}`),p}const d=f},797400:function(b,l,e){"use strict";e.d(l,{Bi:()=>v,GJ:()=>y,Ir:()=>p,JK:()=>g,_F:()=>C,gM:()=>_,lA:()=>P,lx:()=>h,ql:()=>S,wN:()=>d});var r=e(419467),o=e.n(r),n=e(963218),a=e(804914),i=e.n(a),c=e(938094),u=e(687808);const f=(m,E)=>{const I=E.find(L=>L.id===m);if(!I)throw new Error(`Could not find palette color ${m}`);return I},d=(m,E)=>{const I=m.find(L=>L.variableName===E);if(!I)throw new Error(`Could not find color variable definition with name ${E}`);return I},h=(m,E)=>{const I=m.find(L=>L.themeName===E);if(!I)throw new Error(`Could not find theme with name ${E}`);return I},g=(m,E)=>{const I=m.findIndex(L=>L.themeName===E);if(I===-1)throw new Error(`Could not find index for theme with name ${E}`);return I},_=(m,E)=>E.mappings.find(I=>I.variableName===m),p=m=>({variableName:m,paletteColorMapping:{colorName:c.SV.white,alphaModifier:1}}),y=m=>{if(!m)return null;if(m.includes("text-highlight-color"))return{type:c.$9.THEME_COLOR};if(m.startsWith("hsla(var(--")&&m.includes("-hsl)")){var E,I;const W=(E=m.match(/--([^-]+)-hsl/))===null||E===void 0?void 0:E[1],F=parseFloat(((I=m.match(/,\s*([\d.]+)\)/))===null||I===void 0?void 0:I[1])??"1");return(0,u.eF)(W,F)}const L=(0,a.parseColor)(m,"hsl",!0);return L?{type:c.$9.CUSTOM_COLOR,customColor:{userFormat:c.qz.HSL,hslaValue:(0,u.jU)(L)}}:null},O="#ffffff",P=(m,E)=>{const{type:I,sitePaletteColor:L,customColor:W}=m;if(I===c.$9.THEME_COLOR)throw new Error("resolveCssColorFromLocalOverride does not currently support resolution of theme colors");if(I===c.$9.CUSTOM_COLOR&&W){const{hslaValue:F,userFormat:G}=W,{hue:k,saturation:x,lightness:M,alpha:B}=F;return(0,a.stringifyColor)({hue:k,saturation:x*100,lightness:M*100,alpha:B},G)}if(I===c.$9.SITE_PALETTE_COLOR&&L){const{colorName:F,alphaModifier:G}=L,k=f(F,E),{values:x}=k.value;return(0,a.stringifyColor)({...x,alpha:G},c.qz.HSL)}return O},C=(m,E)=>{const{customColor:I,paletteColorMapping:L}=m;if(I){const{values:x,userFormat:M}=I;return(0,a.stringifyColor)({...x},M)}const{colorName:W,alphaModifier:F}=L,G=f(W,E),{values:k}=G.value;return(0,a.stringifyColor)({...k,alpha:F},c.qz.HSL)},A=m=>Math.round(m*100)/100,S=m=>{const{palette:E,colorThemes:I,defaultTheme:L}=m,W=(0,r.keyBy)(E,"id"),F=n.SYSTEM_COLOR_AS_ORDERED_ARRAY.map(k=>{let{id:x}=k;const M=W[x],{hue:B,saturation:R,lightness:U}=M.value.values,j={hue:A(B),saturation:A(R),lightness:A(U)};return M.value.values=j,M}),G=I.map(k=>{const x=k.mappings.map(M=>{if(M.customColor){const{hue:B,saturation:R,lightness:U,alpha:j}=M.customColor.values,$={hue:A(B),saturation:A(R),lightness:A(U),alpha:A(j)};M.customColor.values=$}return M});return k.mappings=x,k});return{palette:F,colorThemes:G,defaultTheme:L}},T=(m,E)=>{const I=(0,r.keyBy)(m,"id");return E.filter(L=>{let{id:W,value:F}=L;var G;return!(0,r.isEqual)(F,(G=I[W])===null||G===void 0?void 0:G.value)}).map(L=>{let{id:W,value:F}=L;const{hue:G,saturation:k,lightness:x}=F.values;return{variableName:`${W}-hsl`,cssValue:`${G}, ${k}%, ${x}%`}})},s=(m,E,I)=>{const L=(0,r.keyBy)((m==null?void 0:m.mappings)??[],"variableName"),W=[],F=E.mappings.filter(k=>!(0,r.isEqual)(L[k.variableName],k));for(const k of F){var G;const{variableName:x,paletteColorMapping:M,customColor:B}=k,R=(G=I.find($=>$.variableName===x))===null||G===void 0?void 0:G.outputAlphaSeparately;if(B){const{hue:$,saturation:ee,lightness:te,alpha:ie}=B.values;W.push({variableName:x,cssValue:`hsla(${$}, ${ee}%, ${te}%, ${ie??1})`}),R&&(W.push({variableName:`${x}-hsl`,cssValue:`${$}, ${ee}%, ${te}%`}),W.push({variableName:`${x}-a`,cssValue:ie??1}));continue}const{colorName:U,alphaModifier:j}=M;W.push({variableName:x,cssValue:`hsla(var(--${U}-hsl), ${j??1})`}),R&&(W.push({variableName:`${x}-hsl`,cssValue:`var(--${U}-hsl)`}),W.push({variableName:`${x}-a`,cssValue:j??1}))}return W},v=(m,E,I)=>{let L="";const W=T(m.palette,E.palette);W.length&&(L+=`:root {
      ${W.map(G=>{let{variableName:k,cssValue:x}=G;return`--${k}: ${x};`}).join(`
`)}
    }
`);const F=(0,r.keyBy)(m.colorThemes,"themeName");return E.colorThemes.forEach(G=>{const{themeName:k}=G,x=s(F[k],G,I);if(x.length){const M=k===E.defaultTheme?":root":`.${k}`;L+=`${M} {
        ${x.map(B=>{let{variableName:R,cssValue:U}=B;return`--${R}: ${U};`}).join(`
`)}
      }
`}}),L}},36442:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(276406),o=e.n(r),n=e(286650),a=e(442797),i=e(347560),c=e(878062);class u extends c.Z{cancel(h){return async()=>{try{this.setCancel();const g=await n.Z.getSubscriptionByContractId(h),_=g==null?void 0:g.googleAppsSubscriptionInfoId;await n.Z.cancel(_),this.cancelSuccess()}catch(g){this.cancelFailure(),console.error(g)}}}reverify(h){return g=>{g();const _=n.Z.reverify(h).then(p=>{let{isVerified:y}=p;y?this.verificationSuccess():this.verificationFailure()},()=>{this.verificationFailure()});return _.catch(p=>console.error(p)),_}}async setAutoRenew(h,g){this.update();try{const _=await n.Z.toggleAutoRenew(h.googleAppsSubscriptionInfoId,g);this.updateSuccess(_.data)}catch(_){this.updateFailure(),console.error(_)}}load(){let{subscriptionId:h,contractId:g}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return async _=>{_();try{const[p,y]=await Promise.all([(0,a.H)(o().GOOGLE_WORKSPACE,"CREATE").catch(()=>{}),(()=>{if(h)return n.Z.getSubscription(h);if(g)return n.Z.getSubscriptionByContractId(g)})()]);y?p?this.loadSuccess({...y,billingStatus:p}):this.loadSuccess(y):this.loadFailure(new Error("Subscription not found - subscriptionId or contractId param is required with MGW enabled"))}catch(p){this.loadFailure(p)}}}constructor(){super(),this.generateActions("setCancel","clearError","clearReactivation","update","updateFailure","updateSuccess","verificationFailure","verificationSuccess","cancelSuccess","cancelFailure","loadSuccess","loadFailure","newUserReady","dismissMigrationConfirmationBannerSuccess","dismissMigrationConfirmationBannerError")}}const f=i.Z.createActions(u)},594114:function(b,l,e){"use strict";e.d(l,{x:()=>r});const r="Google Workspace"},52894:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(745747),o=e(36442),n=e(347560),a=e(878062),i=e(340505);class c extends a.Z{resetPassword(y){let{userId:O,recipientEmail:P,gwSubscriptionId:C}=y;return A=>(A(),i.Z.resetPassword({subscriptionId:C,userId:O,email:P}).then(this.resetPasswordSucceed).catch(S=>{let{response:T={}}=S;return this.resetPasswordFailed(T)}))}resendInvitation(y){let{userId:O,invitationEmail:P,gwSubscriptionId:C}=y;return A=>(A(),i.Z.resendInvite({subscriptionId:C,userId:O,email:P}).then(this.resendInviteSucceed).catch(S=>{let{response:T={}}=S;return this.resendInviteFailed(T)}))}deleteUser(y){let{userId:O,gwSubscriptionId:P}=y;return C=>(C(),i.Z.deleteUser({subscriptionId:P,userId:O}).then(this.deleteUserSucceed).catch(A=>{let{response:S={}}=A;return this.deleteUserFailed(S)}))}saveUserChanges(y,O){return P=>(P(),i.Z.updateUser({subscriptionId:O,user:y}).then(this.updateUserSucceed).catch(C=>{let{response:A={}}=C;return this.updateUserFailed(A)}))}constructor(){super(),this.generateActions("setUser","updateUser","clearErrors","resetState","closeRequestNotification","openResetPassword","closeResetPassword","resetPasswordSucceed","resetPasswordFailed","cleanResetPasswordErrors","openDeleteUser","closeDeleteUser","deleteUserSucceed","deleteUserFailed","openResendInvitation","closeResendInvitation","resendInviteSucceed","resendInviteFailed","cleanInvitationErrors","updateUserSucceed","updateUserFailed")}}const u=n.Z.createActions(c);var f=e(848371),d=e(28365),h=e.n(d);class g extends r.Z{onVerificationFailure(){this.state.subscription!==null&&this.setState(y=>({subscription:{...y.subscription,domainVerified:!1}}))}onVerificationSuccess(){this.state.subscription!==null&&this.setState(y=>({subscription:{...y.subscription,domainVerified:!0}}))}onUpdateSuccess(y){this.setState({isLoading:!1,subscription:y})}onUpdate(){this.setState({isLoading:!0})}onUpdateFailure(){this.setState({isLoading:!1})}getStateFromContext(y){let{website:O}=y;return{isParkedPage:(O==null?void 0:O.websiteType)===h().PARKING_PAGE}}onSetCancel(){this.setState({isCancelling:!0,hasCancelFailed:!1,hasCompletedCancel:!1})}onCancelFailure(){this.setState({isCancelling:!1,hasCancelFailed:!0,hasCompletedCancel:!1})}onCancelSuccess(){this.setState({subscription:null,isCancelling:!1,hasCancelFailed:!1,hasCompletedCancel:!0})}onDeleteSuccess(){this.state.subscription&&this.setState(y=>({subscription:{...y.subscription,numUsers:y.subscription.numUsers-1,usedSeats:y.subscription.usedSeats-1}}))}onNewUserReady(){this.state.subscription&&this.setState(y=>({subscription:{...y.subscription,numUsers:y.subscription.numUsers+1,usedSeats:y.subscription.usedSeats+1}}))}onLoad(){this.setState({isLoading:!0})}onLoadSuccess(y){this.setState({isLoading:!1,subscription:y,loadFailure:!1,googleLoadFailure:!1})}onLoadFailure(y){var O,P,C;this.setState({isLoading:!1,subscription:null,loadFailure:((y==null||(O=y.response)===null||O===void 0?void 0:O.status)??0)>=500,googleLoadFailure:!!(!(y==null||(C=y.response)===null||C===void 0||(P=C.data)===null||P===void 0)&&P.googleInternalError)})}onClearError(){this.setState({lastServerError:null})}onClearReactivation(){this.setState({reactivationSuccess:null})}onReactivationSuccess(){this.setState({reactivationSuccess:!0,isLoading:!1})}onReactivationFailure(y){this.setState({isLoading:!1,reactivationSuccess:!1,lastServerError:y.data})}constructor(){super(),this.state={subscription:null,isLoading:!0,isCancelling:!1,hasCancelFailed:!1,hasCompletedCancel:!1,reactivationSuccess:null,googleLoadFailure:!1,loadFailure:!1},this.bindActions(o.Z),this.bindListeners({onDeleteSuccess:u.DELETE_USER_SUCCEED})}}const _=(0,f.ZP)(g,"GA-SubscriptionStore")},340505:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(456903),o=e(861288),n=e.n(o),a=e(503408);const i="/api/google-email-product/subscriptions",u={getUser(f){let{subscriptionId:d,userId:h}=f;return r.default.get(`${i}/${d}/users/${h}`)},deleteUser(f){let{subscriptionId:d,userId:h}=f;return r.default.delete(`${i}/${d}/users/${h}`,{headers:{"Idempotency-Key":n()()}})},validateNewUser(f){let{subscriptionId:d,user:h}=f;return r.default.post(`${i}/${d}/users/validate`,h)},saveUser(f){let{subscriptionId:d,user:h}=f;return r.default.post(`${i}/${d}/users`,h).catch(a.Z.cleanFormFieldError)},updateUser(f){let{subscriptionId:d,user:h}=f;return r.default.put(`${i}/${d}/users/${h.id}`,h).catch(a.Z.cleanFormFieldError)},loadPage(f){let{subscriptionId:d,limit:h,token:g}=f;return r.default.get(`${i}/${d}/users`,{params:{limit:h,token:g}})},resendInvite(f){let{subscriptionId:d,userId:h,email:g}=f;return r.default.post(`${i}/${d}/users/${h}/invite?recipient=${g}`).catch(a.Z.cleanFormFieldError)},resetPassword(f){let{subscriptionId:d,userId:h,email:g}=f;return r.default.put(`${i}/${d}/users/${h}/password-reset?recipient=${g}`).catch(a.Z.cleanFormFieldError)}}},286650:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(456903),o=e(861288),n=e.n(o),a=e(76964),i=e(733285);const c=(0,a.S)(i.Z,"data.invoice"),u="/api/google-email-product/subscriptions",d={async getSubscriptionSummaries(){return(await r.default.get(`${u}/summaries`)).data},async getSubscription(h){return(await r.default.get(`${u}/${h}`)).data},async getSubscriptionByContractId(h){return(await r.default.get(`${u}`,{params:{contractId:h}})).data},async cancel(h){const g=n()();return(await r.default.delete(`${u}/${h}`,{headers:{"Idempotency-Key":g}})).data},async reverify(h){return(await r.default.post(`${u}/${h}/verification`)).data},async reactivationPreview(h){const g=await r.default.get(`${u}/${h}/reactivate/preview`);return c(g)},reactivate(h){return r.default.put(`${u}/${h}/reactivate`)},toggleAutoRenew(h,g){return r.default.put(`${u}/${h}/auto-renew`,void 0,{params:{enable:g}})},dismissUpgradeBanner(h){return r.default.put(`${u}/${h}/dismiss-upgrade-banner`)},acknowledgeReseller(h){return r.default.post(`${u}/${h}/acknowledge-reseller`)}}},558353:function(b,l,e){"use strict";e.d(l,{d:()=>n});var r=e(456903);const o="/api/google-email-product/subscription-requests",n={validateUser(a){return r.default.post(`${o}/validate-user`,a)},getSummaries(){return r.default.get(o)},getRequest(a){return r.default.get(`${o}/${a}`)},dismissRequest(a){return r.default.put(`${o}/${a}/dismiss`)}}},619560:function(b,l,e){"use strict";e.d(l,{E:()=>r});const r=o=>(o==null?void 0:o.stripeSubscriptionId)||(o==null?void 0:o.suspendedSubscriptionId)},69462:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(174161),o=e(714487),n=e(997305);const a=c=>{let{isOpen:u,title:f,message:d}=c;const h=()=>{window.top.location.reload()};return r.createElement(n.Z,{isOpen:u,onDismiss:h,dismissText:(0,o.t)("Reload",null,{project:"universal-checkout.full-page-billing"}),message:d,title:f,testAttr:"billing-error-modal"})};a.defaultProps={message:(0,o.t)("Try reloading the page. If this issue persists, contact us.",null,{project:"universal-checkout.full-page-billing"}),title:(0,o.t)("Couldn\u2019t Load Information",null,{project:"universal-checkout.full-page-billing"})};const i=a},709348:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(69462);const o=r.Z},357055:function(b,l,e){"use strict";e.d(l,{jW:()=>i});var r=e(212004),o=e.n(r);const n=[o().WEBSITE_BASIC,o().WEBSITE_CORE,o().WEBSITE_PLUS,o().WEBSITE_ADVANCED],a=c=>n.includes(c),i=c=>c.some(u=>a(u.featureLevel))},549578:function(b,l,e){"use strict";e.d(l,{$:()=>n});var r=e(108351),o=e.n(r);const n=a=>{var i;return(a==null||(i=a.paymentMethod)===null||i===void 0?void 0:i.type)===o().SEPA_DEBIT}},567876:function(b,l,e){"use strict";e.d(l,{M:()=>f,Y:()=>_});var r=e(174161),o=e(714487),n=e(934951),a=e(389186),i=e.n(a),c=e(868192);const u="https://www.chownow.com/lp/squarespace?utm_source=squarespace&utm_medium=squarespace_UI&utm_campaign=squarespace_referral",f={NONE:1,USERNAME:2,PROFILE:3},d=!0,h=!0,g=!0,_={[i().EMAIL]:{name:(0,o.t)("Add Email",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Email",null,{project:"apps.App.Settings"}),icon:"email",accountName:(0,o.t)("Email Address",null,{project:"apps.App.Settings"}),description:r.createElement(n.T,{disclaimer:r.createElement("strong",null,r.createElement(n.T,{project:"apps.App.Settings"},"Please be sure this information is correct.")),project:"apps.App.Settings"},"Enter your Email Address to add it to your Squarespace site. {disclaimer}"),useOAuth:!1,dialogType:f.USERNAME,capabilities:{ICON:g}},[i().FACEBOOK]:{displayName:(0,o.t)("Facebook",null,{project:"apps.App.Settings"}),icon:"facebook",useOAuth:!0,dialogType:f.NONE,capabilities:{ICON:g,PUSH:d}},[i().FACEBOOK_UNAUTH]:{name:(0,o.t)("Facebook",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Facebook",null,{project:"apps.App.Settings"}),useOAuth:!1,icon:"facebook",dialogType:f.PROFILE,capabilities:{ICON:g}},[i().LINKEDIN]:{displayName:(0,o.t)("LinkedIn",null,{project:"apps.App.Settings"}),icon:"linkedin",useOAuth:!0,dialogType:f.NONE,capabilities:{ICON:g,PUSH:d}},[i().LINKEDIN_UNAUTH]:{name:(0,o.t)("LinkedIn",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("LinkedIn",null,{project:"apps.App.Settings"}),useOAuth:!1,icon:"linkedin",dialogType:f.PROFILE,capabilities:{ICON:g}},[i().MEDIUM]:{name:(0,o.t)("Medium",null,{project:"apps.App.Settings",notes:"oldKey: mediumSocialMediaProvider"}),displayName:(0,o.t)("Medium",null,{project:"apps.App.Settings",notes:"oldKey: mediumSocialMediaProvider"}),icon:"medium",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().PINTEREST]:{name:(0,o.t)("Connect to Pinterest",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Pinterest",null,{project:"apps.App.Settings"}),icon:"pinterest",accountName:(0,o.t)("Pinterest Username",null,{project:"apps.App.Settings"}),description:r.createElement(n.T,{disclaimer:r.createElement("strong",null,r.createElement(n.T,{project:"apps.App.Settings"},"Please be sure this information is correct.")),project:"apps.App.Settings"},"Enter your Pinterest account username to connect it to your Squarespace site. {disclaimer}"),useOAuth:!0,dialogType:f.USERNAME,capabilities:{ICON:g,PUSH:d}},[i().PINTEREST_UNAUTH]:{name:(0,o.t)("Pinterest",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Pinterest",null,{project:"apps.App.Settings"}),useOAuth:!1,icon:"pinterest",dialogType:f.PROFILE,capabilities:{ICON:g}},[i().TUMBLR]:{displayName:(0,o.t)("Tumblr",null,{project:"apps.App.Settings"}),icon:"tumblr",useOAuth:!0,dialogType:f.NONE,capabilities:{ICON:g,PUSH:d}},[i().TUMBLR_UNAUTH]:{name:(0,o.t)("Tumblr",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Tumblr",null,{project:"apps.App.Settings"}),useOAuth:!1,icon:"tumblr",dialogType:f.PROFILE,capabilities:{ICON:g}},[i().TWITTER]:{displayName:(0,o.t)("Twitter",null,{project:"apps.App.Settings"}),icon:"twitter",useOAuth:!0,dialogType:f.NONE,capabilities:{ICON:g,PULL:h,PUSH:d}},[i().TWITTER_UNAUTH]:{name:(0,o.t)("Twitter",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Twitter",null,{project:"apps.App.Settings"}),useOAuth:!1,icon:"twitter",dialogType:f.PROFILE,capabilities:{ICON:g}},[i().X_FORMERLY_TWITTER_UNAUTH]:{name:(0,o.t)("X",null,{project:"apps.App.Settings",notes:"The name of the social network formerly known as Twitter"}),displayName:(0,o.t)("X",null,{project:"apps.App.Settings",notes:"The name of the social network formerly known as Twitter"}),useOAuth:!1,icon:"x-formerly-twitter",dialogType:f.PROFILE,capabilities:{ICON:g}},[i().REDDIT]:{name:(0,o.t)("Reddit",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Reddit",null,{project:"apps.App.Settings"}),icon:"reddit",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().STUMBLEUPON]:{name:(0,o.t)("StumbleUpon",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("StumbleUpon",null,{project:"apps.App.Settings"}),icon:"stumbleupon",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().HOUZZ]:{name:(0,o.t)("Houzz",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Houzz",null,{project:"apps.App.Settings"}),icon:"houzz",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().CHOWNOW]:{name:(0,o.t)("Connect to ChowNow",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("ChowNow",null,{project:"apps.App.Settings"}),icon:"chownow",accountName:(0,o.t)("ChowNow Company ID",null,{project:"apps.App.Settings"}),description:r.createElement(n.T,{signupLink:r.createElement("a",{href:u,target:"_blank"},r.createElement(n.T,{project:"apps.App.Settings"},"here")),learnMore:r.createElement("a",{href:c.CHOWNOW,target:"_blank"},r.createElement(n.T,{project:"apps.App.Settings"},"Learn more")),project:"apps.App.Settings"},"Enter your ChowNow Company ID to connect it to Squarespace and accept orders online. If you don\u2019t have a ChowNow account yet, sign up {signupLink}. {learnMore}"),useOAuth:!1,dialogType:f.USERNAME,capabilities:{ICON:g}},[i().SNAPCHAT]:{name:(0,o.t)("Connect to Snapchat",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Snapchat",null,{project:"apps.App.Settings"}),icon:"snapchat",accountName:(0,o.t)("Snapchat Username",null,{project:"apps.App.Settings"}),description:r.createElement(n.T,{disclaimer:r.createElement("strong",null,r.createElement(n.T,{project:"apps.App.Settings"},"Please be sure this information is correct.")),project:"apps.App.Settings"},"Enter your Snapchat account username to connect it to your Squarespace site. {disclaimer}"),useOAuth:!1,dialogType:f.USERNAME,capabilities:{ICON:g}},[i().IMDB]:{name:(0,o.t)("IMDb",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("IMDb",null,{project:"apps.App.Settings"}),icon:"imdb",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().GOODREADS]:{name:(0,o.t)("Goodreads",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Goodreads",null,{project:"apps.App.Settings"}),icon:"goodreads",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().STITCHER]:{name:(0,o.t)("Stitcher",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Stitcher",null,{project:"apps.App.Settings"}),icon:"stitcher",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().FIVEHUNDREDPIX]:{displayName:(0,o.t)("500px",null,{project:"apps.App.Settings"}),icon:"500px",useOAuth:!0,dialogType:f.NONE,capabilities:{ICON:g,PULL:h}},[i().FIVEHUNDREDPIX_UNAUTH]:{name:(0,o.t)("500px",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("500px",null,{project:"apps.App.Settings"}),useOAuth:!1,icon:"500px",dialogType:f.PROFILE,capabilities:{ICON:g}},[i().BEHANCE]:{name:(0,o.t)("Behance",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Behance",null,{project:"apps.App.Settings"}),icon:"behance",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().DRIBBBLE]:{name:(0,o.t)("Connect to Dribbble",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Dribbble",null,{project:"apps.App.Settings"}),icon:"dribbble",accountName:(0,o.t)("Dribbble Username",null,{project:"apps.App.Settings"}),description:r.createElement(n.T,{disclaimer:r.createElement("strong",null,r.createElement(n.T,{project:"apps.App.Settings"},"Please be sure this information is correct.")),project:"apps.App.Settings"},"Enter your Dribbble account username to connect it to your Squarespace site. {disclaimer}"),useOAuth:!1,dialogType:f.USERNAME,capabilities:{ICON:g}},[i().DROPBOX2017]:{displayName:(0,o.t)("Dropbox",null,{project:"apps.App.Settings"}),icon:"dropbox2017",useOAuth:!0,dialogType:f.NONE,capabilities:{}},[i().DROPBOX]:{displayName:(0,o.t)("Dropbox",null,{project:"apps.App.Settings"}),icon:"dropbox2017",useOAuth:!0,dialogType:f.NONE,capabilities:{}},[i().FLICKR]:{displayName:(0,o.t)("Flickr",null,{project:"apps.App.Settings"}),icon:"flickr",useOAuth:!0,dialogType:f.NONE,capabilities:{ICON:g,PULL:h}},[i().FLICKR_UNAUTH]:{name:(0,o.t)("Flickr",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Flickr",null,{project:"apps.App.Settings"}),icon:"flickr",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().INSTAGRAM]:{displayName:(0,o.t)("Instagram",null,{project:"apps.App.Settings"}),icon:"instagram",useOAuth:!0,dialogType:f.NONE,customParameters:{startSubscription:!0},capabilities:{ICON:g,PULL:h}},[i().INSTAGRAM_UNAUTH]:{name:(0,o.t)("Instagram",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Instagram",null,{project:"apps.App.Settings"}),useOAuth:!1,icon:"instagram",dialogType:f.PROFILE,capabilities:{ICON:g}},[i().SMUGMUG]:{name:(0,o.t)("Connect to SmugMug",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("SmugMug",null,{project:"apps.App.Settings"}),icon:"smugmug",accountName:(0,o.t)("SmugMug Nickname",null,{project:"apps.App.Settings"}),description:r.createElement(n.T,{disclaimer:r.createElement("strong",null,r.createElement(n.T,{project:"apps.App.Settings"},"Please be sure this information is correct.")),project:"apps.App.Settings"},"Enter your SmugMug account nickname to connect it to your Squarespace site. {disclaimer}"),useOAuth:!1,dialogType:f.USERNAME,capabilities:{ICON:g}},[i().SMUGMUG_UNAUTH]:{name:(0,o.t)("SmugMug",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("SmugMug",null,{project:"apps.App.Settings"}),icon:"smugmug",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().VSCO]:{name:(0,o.t)("VSCO",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("VSCO",null,{project:"apps.App.Settings"}),icon:"vsco",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().TWITCH]:{name:(0,o.t)("Twitch",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Twitch",null,{project:"apps.App.Settings"}),icon:"twitch",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().VEVO]:{name:(0,o.t)("Vevo",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Vevo",null,{project:"apps.App.Settings"}),icon:"vevo",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().VIMEO]:{displayName:(0,o.t)("Vimeo",null,{project:"apps.App.Settings"}),icon:"vimeo",useOAuth:!0,dialogType:f.NONE,capabilities:{ICON:g}},[i().VIMEO_UNAUTH]:{name:(0,o.t)("Vimeo",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Vimeo",null,{project:"apps.App.Settings"}),icon:"vimeo",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().VINE]:{name:(0,o.t)("Vine",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Vine",null,{project:"apps.App.Settings"}),icon:"vine",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().YOUTUBE]:{displayName:(0,o.t)("YouTube",null,{project:"apps.App.Settings"}),icon:"youtube",useOAuth:!0,dialogType:f.NONE,capabilities:{ICON:g}},[i().YOUTUBE_UNAUTH]:{name:(0,o.t)("YouTube",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("YouTube",null,{project:"apps.App.Settings"}),icon:"youtube",dialogType:f.PROFILE,capabilities:{ICON:g}},[i().APPLEPODCAST]:{name:(0,o.t)("Apple Podcasts",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Apple Podcasts",null,{project:"apps.App.Settings"}),icon:"applepodcast",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().BANDSINTOWN]:{name:(0,o.t)("Bandsintown",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Bandsintown",null,{project:"apps.App.Settings"}),icon:"bandsintown",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().BLUESKY_UNAUTH]:{name:(0,o.t)("Bluesky",null,{project:"apps.App.Settings.ConnectedAccounts",notes:"Name for icon used for Bluesky links"}),displayName:(0,o.t)("Bluesky",null,{project:"apps.App.Settings.ConnectedAccounts",notes:"Name for icon used for Bluesky links"}),icon:"bluesky",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().GOOGLEPLAY]:{name:(0,o.t)("Google Play",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Google Play",null,{project:"apps.App.Settings"}),icon:"googleplay",description:r.createElement(n.T,{googleplayLink:r.createElement("a",{href:"http://play.google.com",target:"_blank"},"play.google.com"),project:"apps.App.Settings"},"Copy and paste a URL from {googleplayLink} to create an icon that links to Google Play music, apps, books, magazines, movies, or TV shows."),useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().ITUNES]:{name:(0,o.t)("iTunes Store",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("iTunes Store",null,{project:"apps.App.Settings"}),icon:"itunes",description:r.createElement(n.T,{itunesStoreLink:r.createElement("a",{href:"https://linkmaker.itunes.apple.com",target:"_blank"},r.createElement(n.T,{project:"apps.App.Settings"},"Apple's Link Maker tool")),project:"apps.App.Settings"},"Enter a URL to create an icon that links to the iTunes Store, App Store, iBooks Store, or Mac App Store. Find iTunes URLs with {itunesStoreLink}."),useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().RDIO]:{name:(0,o.t)("Rdio",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Rdio",null,{project:"apps.App.Settings"}),icon:"rdio",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().SOUNDCLOUD]:{displayName:(0,o.t)("SoundCloud",null,{project:"apps.App.Settings"}),icon:"soundcloud",useOAuth:!0,dialogType:f.NONE,capabilities:{ICON:g}},[i().SOUNDCLOUD_UNAUTH]:{name:(0,o.t)("SoundCloud",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("SoundCloud",null,{project:"apps.App.Settings"}),icon:"soundcloud",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().SPOTIFY]:{displayName:(0,o.t)("Spotify",null,{project:"apps.App.Settings"}),icon:"spotify",useOAuth:!0,dialogType:f.NONE,capabilities:{ICON:g}},[i().SPOTIFY_UNAUTH]:{name:(0,o.t)("Spotify",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Spotify Link  ",null,{project:"apps.App.Settings"}),icon:"spotify",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().TIDAL]:{name:(0,o.t)("TIDAL",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("TIDAL",null,{project:"apps.App.Settings"}),icon:"tidal",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().FOURSQUARE]:{displayName:(0,o.t)("Foursquare Swarm",null,{project:"apps.App.Settings"}),icon:"foursquare",useOAuth:!0,dialogType:f.NONE,capabilities:{ICON:g,PULL:h}},[i().FOURSQUARE_UNAUTH]:{name:(0,o.t)("Foursquare Swarm",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Foursquare Swarm",null,{project:"apps.App.Settings"}),icon:"foursquare",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().MEETUP]:{name:(0,o.t)("Meetup",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Meetup",null,{project:"apps.App.Settings"}),icon:"meetup",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().YELP]:{name:(0,o.t)("Yelp",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Yelp",null,{project:"apps.App.Settings"}),icon:"yelp",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().CODEPEN]:{name:(0,o.t)("CodePen",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("CodePen",null,{project:"apps.App.Settings"}),icon:"codepen",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().GITHUB]:{displayName:(0,o.t)("GitHub",null,{project:"apps.App.Settings"}),icon:"github",useOAuth:!0,dialogType:f.NONE,capabilities:{ICON:g}},[i().GITHUB_UNAUTH]:{name:(0,o.t)("GitHub",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("GitHub",null,{project:"apps.App.Settings"}),icon:"github",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().GOOGLESEARCHCONSOLE]:{displayName:(0,o.t)("Google Search Console",null,{project:"apps.App.Settings"}),icon:"googlesearchconsole",useOAuth:!0,dialogType:f.NONE,capabilities:{}},[i().THEDOTS]:{name:(0,o.t)("The Dots",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("The Dots",null,{project:"apps.App.Settings"}),icon:"thedots",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().DISCORD_UNAUTH]:{name:(0,o.t)("Discord",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Discord",null,{project:"apps.App.Settings"}),icon:"discord",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().THREADS_UNAUTH]:{name:(0,o.t)("Threads",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("Threads",null,{project:"apps.App.Settings"}),icon:"threads",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().TIKTOK_UNAUTH]:{name:(0,o.t)("TikTok",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("TikTok",null,{project:"apps.App.Settings"}),icon:"tiktok",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().TRIPADVISOR]:{name:(0,o.t)("TripAdvisor",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("TripAdvisor",null,{project:"apps.App.Settings"}),icon:"tripadvisor",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}},[i().URL]:{name:(0,o.t)("URL",null,{project:"apps.App.Settings"}),displayName:(0,o.t)("URL",null,{project:"apps.App.Settings"}),icon:"url",useOAuth:!1,dialogType:f.PROFILE,capabilities:{ICON:g}}}},506110:function(b,l,e){"use strict";e.d(l,{AB:()=>y,DA:()=>h,In:()=>C,MU:()=>p,Mb:()=>_,PD:()=>T,P_:()=>O,Pi:()=>A,e$:()=>P,tR:()=>g,wi:()=>S});var r=e(714487),o=e(389186),n=e.n(o),a=e(887347),i=e.n(a),c=e(567876),u=e(868463),f=e(759352);const d={REQUIRED:(0,r.t)("Required field.",null,{project:"apps.App.Settings"}),INVALID_URI:(0,r.t)('Invalid URL Format. Should look like "http://www.example.com".',null,{project:"apps.App.Settings"}),INVALID_EMAIL:(0,r.t)('Invalid Email Format. Should look like "name@example.com".',null,{project:"apps.App.Settings"}),INVALID_FORMAT:(0,r.t)("Invalid Format.",null,{project:"apps.App.Settings"})};function h(s,v){switch(s){case n().FACEBOOK:return v&&(v.isPageAccount||v.managedPages.length);default:return!0}}function g(s){for(const v in i())if(i()[v]===s)return!0;return!1}function _(s,v){return v.find(function(m){return m.id===s})}function p(s,v){return v.find(function(m){return m.serviceId===s})}function y(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n()[s.toUpperCase()]}function O(s){return c.Y[s]}function P(s){if(s&&s.keyword==="minLength")return d.REQUIRED;if(s&&s.keyword==="format")switch(s.params.format){case"uri":return d.INVALID_URI;case"email":return d.INVALID_EMAIL;default:return d.INVALID_FORMAT}return s&&s.keyword==="pattern"?d.INVALID_EMAIL:null}function C(s,v){return!!O(s).capabilities[v]}function A(s,v){return s.sort(function(m,E){const I=v.indexOf(m.id),L=v.indexOf(E.id);return I===L?0:I<0?1:L<0?-1:I-L})}function S(s,v){const m=new Set([n().SPOTIFY,n().VIMEO,n().YOUTUBE,n().GITHUB,n().SOUNDCLOUD]),{showSocialLinksOnly:E,showOAuthOnly:I}=v;return s.filter(L=>E?L.serviceId===n().DROPBOX||L.serviceId===n().DROPBOX2017||!c.Y[L.serviceId]?!1:c.Y[L.serviceId].useOAuth?L.iconEnabled:!!(c.Y[L.serviceId].capabilities.ICON&&!((L.serviceId===n().CHOWNOW||L.serviceId===n().SMUGMUG)&&!L.iconEnabled)):I?m.has(L.serviceId)?!1:c.Y[L.serviceId].useOAuth||L.serviceId===n().CHOWNOW||L.serviceId===n().SMUGMUG:L)}function T(s){return(0,u.vV)(s)?`mailto:${s}`:(0,f.r_)(s)}},963758:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560),o=e(878062);class n extends o.Z{constructor(){super(),this.generateActions("updateCookieSettingsSaveSuccess")}}const a=r.Z.createActions(n)},999794:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(516275),o=e(347560);class n{updateMemberNavSetting(c){return u=>(u(),r.Z.updateMemberAreaNavigationSetting(c).then(()=>this.updateMemberNavSettingSuccess(c)))}constructor(){this.generateActions("updateMemberNavSettingSuccess")}}const a=o.Z.createActions(n)},37005:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(516275),o=e(662887),n=e(347560),a=e(487558),i=e(45614),c=e(58713),u=e(962398);class f{toggleFeature(g){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"settings",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{entryPointLevel2:null};return async O=>{O(),await r.Z.toggleMemberAreasFeature(g),(0,c.Z)()?await(0,a.Ci)((0,i.LH)()).unwrap():await u.Z.refresh(),this.toggleFeatureSuccess(g),g?(0,o.TZ)({isAutoEnabled:_,entryPoint:p,entryPointLevel2:y.entryPointLevel2}):(0,o.dl)()}}constructor(){this.generateActions("toggleFeatureSuccess")}}const d=n.Z.createActions(f)},630015:function(b,l,e){"use strict";e.d(l,{En:()=>u,Es:()=>i,Ht:()=>c,TV:()=>f,WI:()=>a,YC:()=>n,Zk:()=>h,bO:()=>g,j0:()=>p,vm:()=>y,w4:()=>o,yG:()=>O});var r=e(387582);const o="openMemberAreaCreation",n={"data-button":`add-page-button-${r.Z.memberAreaNavigationTestAttr}`},a='[data-button="add-page-button-'+r.Z.memberAreaNavigationTestAttr+'"]',i={"data-button":"member-site-navigation-settings-button"},c="openMemberAreaAddPage",u=`${r.Z.MEMBER_AREA_NAVIGATION_TYPE}-navigation-list`,f={"data-test":u},d="add-page-button",h={"data-test":d},g=`[data-test="${u}"] [data-test="${d}"]`,_="navlist-item-settings",p={"data-js":_},y=`[data-test="${u}"] [data-js="${_}"]`,O="openMemberAreaEditPage"},516843:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560),o=e(878062);class n extends o.Z{constructor(){super(),this.generateActions("updateRegionalSaveSuccess")}}const a=r.Z.createActions(n)},203027:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(347560),o=e(456903);const a={sendVerificationEmail(){return o.default.post("/api/me/verification-email")},markTutorialCompleted(u){return o.default.post("/api/config/MarkMemberTutorialCompleted",{tutorial:u})},loadDiscountEligibility(){return o.default.get("/api/me/discount-eligibility")}};class i{syncMarkTutorialCompletedFromRedux(f){return d=>d(f)}sendVerificationEmail(){return a.sendVerificationEmail()}constructor(){this.generateActions("updateSuccess","updateFailure")}}const c=r.Z.createActions(i)},603257:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(347560);class o{updateSiteStatus(i){return{siteStatus:i}}updateBillingStatus(i){return{billingStatus:i}}}const n=r.Z.createActions(o)},523609:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560),o=e(803864);class n extends o.Z{}const a=r.Z.createActions(n)},840635:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(347560),o=e(868052),n=e(829499),a=e(830510),i=e(324270),c=e(518703),u=e(659519),f=e(250632);class d{createNonOAuthAccount(_,p,y,O){return P=>{P();const C={service:_,...y};return o.Z.createNonOAuthAccount(C).then(A=>{if(A.data.error)throw A.data;return(0,u.Z)("engagement_connected_account_add",{serviceName:p}),O&&(0,f.pu)({...O,value:y.profileUrl}),this.createNonOAuthAccountSuccess(A.data.account),this.refreshLayoutEngine(),i.default.refresh(),A.data})}}updateConnectedAccount(_){return p=>(p(),o.Z.updateSocialAccount(_).then(y=>{this.updateConnectedAccountSuccess(y.data),this.refreshLayoutEngine(),i.default.refresh()}).catch(this.updateConnectedAccountFailure))}refreshConnectedAccounts(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return p=>(p(),o.Z.getSocialAccounts().then(y=>{const O=y.data.connectedAccounts;this.refreshConnectedAccountsSuccess(O),_?this.refreshLayoutEngine():i.default.refresh()}).catch(this.refreshConnectedAccountsFailure))}removeConnectedAccount(_){return p=>(p(),o.Z.removeSocialAccount(_).then(y=>{this.removeConnectedAccountSuccess(_),this.refreshLayoutEngine(),i.default.refresh()}).catch(this.removeConnectedAccountFailure))}authenticate(_,p){return y=>(y(),c.Z.authenticate({serviceProvider:_,urlParams:{authenticationType:"website"},customParameters:p}).then((O,P)=>(O.socialConfig||P(),this.refreshConnectedAccounts())).catch(O=>c.Z.logException(O,_)))}resetSubscription(_){return p=>{p();const y={connectedAccountId:_};return o.Z.resetSubscription(y)}}saveDisplayOrder(_){return p=>(p(),a.Z.save(n.default.getMergedWebsiteSettings({socialAccountDisplayOrder:_})).then(()=>{this.refreshLayoutEngine(),i.default.refresh()}))}constructor(){this.generateActions("createNonOAuthAccountSuccess","refreshConnectedAccountsSuccess","refreshConnectedAccountsFailure","updateConnectedAccountSuccess","updateConnectedAccountFailure","refreshLayoutEngine","removeConnectedAccountSuccess","removeConnectedAccountFailure","update","saveSuccess","resetSuccess")}}const h=r.Z.createActions(d)},142849:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(277945),o=e(347560),n=e(487558),a=e(984350),i=e(530149),c=e.n(i),u=e(580774),f=e(173585);class d{create(_){return p=>(p(_),r.Z.create(_).then(y=>{let{data:O}=y;return this.updateSuccess(O),O.id}))}read(_){return p=>(p(_),r.Z.readCollectionSettings(_).then(y=>{let{data:O}=y;return this.insert(O)}))}readAll(){return r.Z.readAll().then(_=>{let{data:p}=_;return this.insertMany(p)}).catch(_=>{let{response:p}=_;return Promise.reject(p.data.message)})}delete(_){return p=>(p(_),r.Z.delete(_).then(y=>(this.deleteSuccess(_),y),y=>{let{data:O}=y;return this.deleteFailure(_,O),Promise.reject(O.message)}))}deleteUnusedCollectionPermanently(_){return p=>(p(_),r.Z.deleteUnusedPageCollectionPermanently(_).then(y=>(this.deleteSuccess(_),y),y=>{let{data:O}=y;return this.deleteFailure(_,O),Promise.reject(O.message)}))}update(_){if(_.type!==c().GALLERY_BLOCK&&u.Z.accepts(f.bl,{collection:_}))return(0,n.Ci)((0,a.Rm)({collection:_})).unwrap().then(y=>(this.updateSuccess(y),y));const p=r.Z.create;return _.id&&!_.urlId?r.Z.generateUrl(_).then(y=>{let{data:O}=y;return _.urlId=O.urlId,p(_).then(P=>(this.updateSuccess(P.data),P.data))}).catch(y=>{let{response:O}=y;return Promise.reject(O.data.message)}):p(_).then(y=>{let{data:O}=y;return this.updateSuccess(O),O})}constructor(){this.generateActions("insert","insertMany","deleteSuccess","updateSuccess","deleteFailure","addLinkFromReact")}}const h=o.Z.createActions(d)},522364:function(b,l,e){"use strict";e.d(l,{Z:()=>g});var r=e(936177),o=e.n(r),n=e(413019),a=e(69637),i=e(27409),c=e(347560),u=e(891259),f=e(791229);const{MEDIA_UPLOAD_SERVICE_ASSET_UPLOAD:d}=i;class h{read(p){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,O=arguments.length>2?arguments[2]:void 0;return P=>(P(p),f.Z.read(p,y,O).then(C=>{let{data:A}=C;return this.insert(A)}).catch(C=>{let{response:A}=C;return Promise.reject(A.data.message||A.data)}))}readForCollection(p){return y=>(y(p),f.Z.readForCollection(p).then(O=>{let{data:P}=O;return P&&this.insertMany(P.results),Promise.resolve(P)}).catch(O=>{let{response:P}=O;return Promise.reject(P.data.message||P.data)}))}update(p,y){return O=>(O(p.id),f.Z.update(p,y).then(P=>{let{data:C}=P;return this.insert(C),C}).catch(P=>{let{response:C}=P;return Promise.reject(C.data.message||C.data)}))}updateField(p,y,O){return P=>(P({id:p,key:y,value:O}),f.Z.updateField({itemId:p,field:y,value:O}).then(C=>{let{data:A}=C;return Promise.resolve(A)}).catch(C=>{let{response:A}=C;return Promise.reject(A.data.message||A.data)}))}updateForCollection(p,y){return f.Z.updateForCollection(p,y).then(O=>{let{data:P}=O;return this.insert(P)}).catch(O=>{let{response:P}=O;return Promise.reject(P.data.message||P.data)})}create(p,y,O){return f.Z.create(p,y,O).then(P=>{let{data:C}=P;return this.insert(C),C}).catch(P=>{let{response:C}=P;return Promise.reject(C.data.message||C.data)})}createForCollection(p,y,O){return P=>(P(p),f.Z.createForCollection(p,y,O).then(C=>{let{data:A}=C;return this.insert(A),A}).catch(C=>{let{response:A}=C;return Promise.reject(A.data.message||A.data)}))}createAssetReference(p,y,O){const P=()=>f.Z.createAssetReference(p,y).then(C=>{let{data:A}=C;(0,n.L8)(d,{requireStart:!0,start:`${d}-${O.getId()}`,tracer:a.Z}),u.Z.assetUploadFinish(O);const S=A.media[0];return this.createAssetReferenceSuccess.defer(S),S}).catch(C=>{this.createAssetReferenceFailure.defer({details:y,createAssetReference:P}),this.trackError("Asset Reference Error",C)});return P()}delete(p,y){return O=>(O(p),f.Z.delete(p,y).catch(P=>{let{response:C}=P;return Promise.reject(C.data.message||C.data)}))}deleteMany(p){return y=>(y(p),f.Z.deleteMany(p))}reorderItems(p,y,O){return P=>f.Z.reorderItems(p,y,O).then(C=>{let{data:A}=C;P({collectionId:p,reorderedItems:A.items,afterItemId:O})}).catch(C=>{let{response:A}=C;return Promise.reject(A.data.message||A.data)})}copy(p,y){return f.Z.copy(p,y).then(O=>{let{data:P}=O;return this.insert(P),P}).catch(O=>{let{response:P}=O;return Promise.reject(P.data.message||P.data)})}trackError(p,y){const O=y.response,P=y.config,C={status:y.status||(O==null?void 0:O.status),url:P==null?void 0:P.url,message:y.message,data:y.data},A=(S,T)=>T===""?void 0:T;(0,r.trackCaughtError)("damask",`${p}: ${JSON.stringify(C,A)}`)}constructor(){this.generateActions("insert","insertMany","contentBrowserSettingsSaved","contentBrowserDeleteItem","createAssetReferenceSuccess","createAssetReferenceFailure","cancelCreateAssetReference")}}const g=c.Z.createActions(h)},436679:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>h});var r=e(347560),o=e(878062),n=e(100666),a=e(881893),i=e.n(a),c=e(750253),u=e.n(c);function f(g){return!!(g&&g.registeredOn&&g.emailVerificationStatus&&g.emailVerificationStatus!==u().VERIFIED&&g.emailVerificationStatus!==u().UNVERIFIED)}class d extends o.Z{load(_){return p=>(p({type:_}),n.Z.loadDomains(_).then(y=>{this.loadSuccess(y.data.results),this.getDomainsStatus(y.data.results)},()=>this.loadFailure()).catch(y=>console.error(y)))}getDomainsStatus(_){return p=>{p(),_.forEach(y=>{y.type===i().LINKED?this.getLinkStatus(y):(y.type===i().SQUARESPACE||y.type===i().RESOLD)&&f(y)&&this.getEmailVerificationDetails(y)})}}getEmailVerificationDetails(_){return p=>{p(),n.Z.getEmailVerificationDetails(_.id).then(y=>this.getEmailVerificationDetailsSuccess({domain:_,emailVerificationDetails:y.data}),y=>this.getEmailVerificationDetailsFailure({domain:_,emailVerificationFailureData:y.data})).catch(y=>console.error(y))}}getLinkStatus(_){return p=>(p(),n.Z.getLinkStatus(_.id).then(y=>{this.getLinkStatusSuccess({domain:_,linkStatusRecords:y.data.results})}).catch(this.getLinkStatusFailure))}getDomainByName(_){return p=>(p(),n.Z.getDomainByName(_).then(y=>{y.data.type===i().LINKED&&this.getLinkStatus(y.data),this.getDomainByNameSuccess(y)}).catch(()=>{this.getDomainByNameFailure()}))}constructor(){super(),this.generateActions("getEmailVerificationDetailsFailure","getEmailVerificationDetailsSuccess","getLinkStatusFailure","getLinkStatusSuccess","loadFailure","loadSuccess","reset","getDomainByNameFailure","getDomainByNameSuccess")}}const h=r.Z.createActions(d)},871255:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560),o=e(803864);class n extends o.Z{}const a=r.Z.createActions(n)},324270:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>n});var r=e(347560);class o{constructor(){this.generateActions("refresh","setUrl","setEditingCustomCss","ifLoaded","exitSiteStylesEditMode","disableSevenZeroFullScreenPreview","toggleFullScreenPreviewMode","enableSevenZeroFullScreenPreview","enterItemEditingMode","enterItemInlineEditingMode")}}const n=r.Z.createActions(o)},626606:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(347560);class o{constructor(){this.generateActions("finishLoadingImage")}}const n=r.Z.createActions(o)},108819:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(347560);function o(h,g){if(g)for(const _ of g){const p=h.livechat.departments.getAllDepartments().find(y=>{let{id:O}=y;return O===_});if(p)return p}return null}function n(h,g,_){_&&h.livechat.addTags(_),h.livechat.addTags("inapp"),h.livechat.addTags(`Dept: ${g.id}. TS: ${new Date().getTime()}`),h.livechat.departments.setVisitorDepartment(g.id)}function a(h,g){let{onChatEnd:_,onChatStart:p,onConnected:y,onStatus:O,onUnreadMsgs:P}=g;p&&h.livechat.setOnChatStart(p),_&&h.livechat.setOnChatEnd(_),y&&h.livechat.setOnConnected(y),O&&h.livechat.setOnStatus(O),P&&h.livechat.setOnUnreadMsgs(P)}const i=new Set(["online"]),c=new Set(["away","offline"]);function u(h,g,_){h.livechat.setOnStatus(()=>{var p;const y=(p=o(h,g))===null||p===void 0?void 0:p.status;i.has(y)?_(!0):c.has(y)&&_(!1)})}class f{startZopimAfterLoad(g){let{eligibleDepartments:_,email:p,firstName:y,lastName:O,onChatEnd:P,onChatStart:C,onConnected:A,onStatus:S,onUnreadMsgs:T,onZopimLoaded:s}=g;return v=>{let E=0;const I=()=>{if(E>=10){this.setIsChatAvailable(!0);return}const{$zopim:L}=window;if(typeof L!="function"){E++,setTimeout(I,50*E**2);return}try{L(()=>{L.livechat.departments.filter(""),L.livechat.window.hide(),L.livechat.setOnConnected(()=>{const W=o(L,_);let F=!1;W&&(F=W.status==="online"),this.setIsChatAvailable(F),this.setLoadedChat(!0),s(),u(L,_,this.setIsChatAvailable)}),a(L,{onChatStart:C,onChatEnd:P,onConnected:A,onStatus:S,onUnreadMsgs:T}),L.livechat.setName([y,O].join(" ").trim()),L.livechat.setEmail(p),L.livechat.prechatForm.setGreetings("A member of our team will respond as soon as possible.")})}catch{this.setIsChatAvailable(!0)}};I()}}loadZopim(){const g={},_=g.s=document.createElement("script"),p=document.getElementsByTagName("script")[0];return _.setAttribute("charset","utf-8"),_.src="https://v2.zopim.com/?3urzX8KrilTeDCX2nHRJwBXiTM1jw7xL",_.addEventListener("load",()=>{this.setLoadedLibrary(!0)}),g.t=+new Date,p.parentNode.insertBefore(_,p),null}openPopout(g,_){try{const p=o(window.$zopim,g);return p&&n(window.$zopim,p,_),window.$zopim.livechat.window.openPopout(),null}catch(p){return console.warn("Issue opening popup!",p),p}}constructor(){this.generateActions("setLoadedLibrary","setLoadedChat","setIsChatAvailable","setEligible","setExpanded","setEligibleChatDepartments")}}const d=r.Z.createActions(f)},13795:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560);class o{constructor(){this.generateActions("loadAll","removeMemberAreasHomepage","setIsDeleteConfirmationOpen","setDeleteCollectionTitle","setMemberAreaHomepage","setMemberAreaModel","setMemberArea","setMemberAreaModelList","setIsUserViewingPagesPanel","setIsUserClickSimulated","setMACreationEntryPoint","setMAEntryPointLevel2","setMAEntryPointPath","setIsShowingChecklistWizard")}}const a=r.Z.createActions(o)},386773:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(347560),o=e(456903);const n="/api/member-website-settings",i={save:function(f,d){const h=`${n}/${f}`;return o.default.put(h,d)},commerceUpsellShown:function(f){const d=`${n}/${f}/commerce-upsell-shown`;return o.default.post(d)}};class c{save(d,h){return g=>(g(),i.save(d,h).then(_=>{this.saveSuccess(_)}))}constructor(){this.generateActions("saveSuccess")}}const u=r.Z.createActions(c)},143379:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560),o=e(803864);class n extends o.Z{constructor(){super(),this.generateActions("setMainContentItemLayoutKey","reset","updateFrameFromContentBrowserSave")}}const a=r.Z.createActions(n)},80143:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(347560),o=e(878062),n=e(829499),a=e(175469);class i extends o.Z{reset(){return Promise.all([a.Z.getContributors(),a.Z.getInvites()]).then(f=>{let[d,h]=f;const{ownerId:g,orgId:_}=n.default.getState(),p=[],y=[];let O;d.data&&d.data.forEach(C=>{C.isBasicAuthor?p.push(C):_?y.push(C):C.id===g?O=C:y.push(C)});const P=h.data||[];this.resetSuccess({invitations:P,basicAuthors:p,contributors:y,websiteOwner:O})}).catch(this.resetFailure)}transferOwner(f){return a.Z.transferOwner(f).then(()=>{this.transferOwnerSuccess(f)})}async loadInvite(f){try{const{data:d}=await a.Z.getInvite(f);this.loadInviteSuccess(d)}catch(d){throw console.error(d),d}}async createInvite(f){try{const{data:d}=await a.Z.createInvite(f);return this.createInviteSuccess(d),d}catch(d){throw console.error(d),d}}async updateInvite(f,d){try{const{data:h}=await a.Z.updateInvite(f,d);return this.updateInviteSuccess(h),h}catch(h){throw console.error(h),h}}deleteInvite(f){return a.Z.deleteInvite(f).then(()=>this.deleteInviteSuccess(f)).catch(console.error)}async loadContributor(f){try{const{data:d}=await a.Z.getContributor(f);this.loadContributorSuccess(d)}catch(d){throw console.error(d),d}}async updateContributor(f,d){try{const{data:h}=await a.Z.updateContributor(f,d);return this.updateContributorSuccess(h),h}catch(h){throw console.error(h),h}}deleteContributor(f){return a.Z.deleteContributor(f).then(()=>(this.deleteContributorSuccess(f),Promise.resolve())).catch(console.error)}async createAuthor(f){try{const{data:d}=await a.Z.createBasicAuthor(f),h={isBasicAuthor:!0,...d};return this.createAuthorSuccess(h),h}catch(d){throw console.error(d),d}}async updateAuthor(f,d){try{const{data:h}=await a.Z.updateBasicAuthor(f,d),g={isBasicAuthor:!0,...h};this.updateAuthorSuccess(g)}catch(h){this.updateAuthorFailure(h)}}async deleteBasicAuthor(f,d){try{return await a.Z.replaceBasicAuthor(f,d),await a.Z.deleteBasicAuthor(f),this.deleteAuthorSuccess(f),f}catch(h){throw console.error(h),h}}constructor(){super(),this.generateActions("createAuthorSuccess","createAuthorFailure","updateAuthorSuccess","updateAuthorFailure","deleteAuthorSuccess","loadInviteSuccess","createInviteSuccess","updateInviteSuccess","deleteInviteSuccess","loadContributorSuccess","updateContributorSuccess","deleteContributorSuccess","resetSuccess","resetFailure","transferOwnerSuccess","setSelectedItem")}}const c=r.Z.createActions(i)},244712:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(144771),o=e.n(r),n=e(347560),a=e(999880),i=e(503408),c=e(787592);class u{getDownloadUrl(h){return a.km(h).catch(g=>{const _=new i.M("Could not get download URL for licensed asset",g);throw _.licensedAsset=h,(0,c.$e)(p=>{p.setTag("product-area",o().GETTY_IMAGE),(0,c.Tb)(_)}),_})}fetch(){return h=>(h(),a.go().then(g=>{let{data:_}=g;this.fetchComplete(_)}).catch(g=>{this.fetchFailed()}))}constructor(){this.generateActions("fetchComplete","fetchFailed")}}const f=n.Z.createActions(u)},803864:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(630056),o=e(13828),n=e(188405),a=e(107384);class i{setIsSettingsOpen(u){let{openSettingsId:f,isSettingsOpen:d,openSectionToolbarRect:h,isMainContent:g,tweakDefinitions:_,typeName:p,itemLayoutKey:y,jsonSchemaSectionSubUiSchema:O}=u;return async P=>{const C=r.Z.getState();_=_??C.tweakDefinitions;const A=(0,n.jd)(f),S=d?(0,o.ZP)({isMainContent:g,sectionNode:A,tweakDefinitions:_,typeName:p,itemLayoutKey:y}):{},T=d?{type:"themecards",$mapping:"#/styles/sectionTheme"}:{type:"hidden"},s=a.Z.SPACING;P({activeTab:s,isSettingsOpen:d,openSectionToolbarRect:h,openSettingsId:f,themeUISchema:T,tweakDefinitionsForSection:S,itemLayoutKey:y,jsonSchemaSectionSubUiSchema:O})}}setIsGalleryContentEditorOpen(u){let{isGalleryContentEditorOpen:f,sectionId:d}=u;return{isGalleryContentEditorOpen:f,sectionId:d}}constructor(){this.generateActions("setTweakDefinitionsForSection","setTweakValues","loadCatalogSuccess","loadCatalogHTMLSuccess","setControllerInitialized","setCollectionAndItemId","setCollectionId","setActiveTab","setIsColorPanelOpen","setIsThemeEditorOpen","setIsSectionThemesPanelOpen")}}},155955:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(347560);class o{constructor(){this.generateActions("setHeaderModalOpen","setFieldErrors","setHeaderTab","setOverlayDisclosureOpen","setOverlayNavOpen","setHeaderStyle","setCartIconType","setLanguageSwitchAlertOpen","setColorPickerOpen","setEditorInitialRoute","setOpenHeaderElementModal","setSelectedHeaderElementPosition","setHeaderElementModalTab","setSelectedHeaderElement")}}const n=r.Z.createActions(o)},962398:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(347560),o=e(577408),n=e(378449);class a{update(u,f){return d=>{const h=e(681328),g={fieldName:u,templateId:h.getState().id,navigation:{items:f}};return d(g),o.Z.update(g).then(_=>{let{data:p}=_;return this.refreshNavData(p),p.id})}}refresh(){return u=>(u(),o.Z.get().then(f=>{let{data:d}=f;this.refreshSuccess(d)}))}async prependNavItemToNavigation(u,f){const h=e(104002).getNavigation(u);let g=[f,...h.links];return g=(0,n.TM)(g),await this.update(u,g),f}prependCollectionToNavigation(u,f){const h=e(104002).getNavItemForCollection(f);return this.prependNavItemToNavigation(u,h)}deleteNavItemByCollectionId(u){const d=e(104002).getPathToCollection(u);if(d.length===2){const[h,g]=d,_=h.identifier,p=(0,n.lW)(h,g);if(p===-1)return;this.deleteNavItem(_,p)}if(d.length===3){const[h,g,_]=d,p=h.identifier,y=(0,n.lW)(h,g),O=(0,n.I4)(g,_);if(y===-1||O===-1)return;this.deleteNavItemInFolder(p,y,O)}}deleteNavItem(u,f){let g=e(104002).getNavigation(u).links.slice();return g.splice(f,1),g=(0,n.TM)(g),this.update(u,g)}deleteNavItemInFolder(u,f,d){let _=e(104002).getNavigation(u).links.slice();const p=_[f].children.slice();return p.splice(d,1),_[f]={..._[f],children:p},_=(0,n.TM)(_),this.update(u,_)}constructor(){this.generateActions("refreshNavData","navChange","refreshSuccess")}}const i=r.Z.createActions(a)},663639:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(347560),o=e(456903),n=e(759352);const a="/api/templates",c={getTemplate(h){return o.default.get(`${a}/${h}`)},getTemplateFeatureFlags(h){return o.default.get(`${a}/${h}/features`)},executeTemplate(h,g){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return o.default.post("/api/template/ExecuteTemplate",(0,n.Mq)({template:h,partials:JSON.stringify(_),json:JSON.stringify(g)}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(p=>p.data)}};var u=e(878062);class f extends u.Z{loadTemplate(g){return async _=>{try{const[p,y]=await Promise.all([c.getTemplate(g),c.getTemplateFeatureFlags(g)]);_({template:p.data,featureFlags:y.data})}catch(p){_({error:!0,response:p})}}}}const d=r.Z.createActions(f)},399080:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(386773),o=e(484849),n=e(347560),a=e(324270),i=e(663639);class c{loadAll(){return d=>(d(),o.Z.loadTemplateInstallations().then(h=>{this.loadSuccess(h.data)},h=>{this.loadFailure(h.error)}))}setPreviewInstallation(d,h,g,_){return p=>{const y=Object.assign({},d,{previewInstallationId:h});return r.Z.save(d.id,y).then(O=>{i.Z.loadTemplate.defer(g),p(h),setTimeout(()=>{_&&_.reload?window.location.reload():(a.default.setUrl("/"),a.default.refresh())},1e3)},O=>{})}}setLiveInstallation(d,h){return g=>{o.Z.setLiveInstallation(d).then(_=>{i.Z.loadTemplate.defer(h),g(d),setTimeout(a.default.refresh,1e3)},_=>{})}}setHomepageCollectionId(d){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return g=>o.Z.setHomepageCollectionId(d).then(_=>{const p={homepageCollectionId:d,fromDemoContentClone:h};return g(p),p},_=>{const p={homepageCollectionId:d,error:!0,fromDemoContentClone:h};return g(p),p})}updateInstallation(d){return o.Z.updateInstallation(d).then(this.loadAll)}sevenOneMigrationSetAsLive(){return d=>o.Z.sevenOneMigrationSetAsLive().then(h=>(d(),h))}constructor(){this.generateActions("loadSuccess","loadFailure")}}const u=n.Z.createActions(c)},472373:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560),o=e(878062);class n extends o.Z{constructor(){super(),this.generateActions("setToastManager","dismiss","dismissAll","present")}}const a=r.Z.createActions(n)},138002:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(413019),o=e(69637),n=e(347560),a=e(27409),i=e(564666),c=e(146640),u=e(723796),f=e(916661),d=e(659519);const h=(0,u.hu)("TweakActions","red");class g{fetchData(y){let{pageType:O,tweakApi:P}=y;return async C=>{if(P!==this.tweakApi&&(this.tweakApi=P),this.fetchingApi===this.tweakApi)return;C(this.tweakApi),h("fetchData - initiating new fetch"),(0,r.B1)(a.TWEAKACTION_FETCH_DATA,{tracer:o.Z}),this.fetchingApi=this.tweakApi;const A=[this.fetchTemplateTweakSettings(),this.fetchCustomCss()];A.push(this.fetchWebFonts()),O===i.Z.STYLE&&this.fetchTweakEngineProperties();try{const S=await Promise.all(A);if(this.fetchingApi===this.tweakApi){const T=(0,r.L8)(a.TWEAKACTION_FETCH_DATA,{requireStart:!0,tracer:o.Z});T&&h(`fetchData - completed in ${T.duration}ms`),this.fetchingApi=null,this.fetchDataSuccess.defer(S)}}catch(S){this.fetchingApi===this.tweakApi&&(this.fetchingApi=null,this.fetchDataFailure.defer(S))}}}save(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return async O=>{O(),(0,d.Z)("tweakactions_save",{source:y.source||"unknown"}),this.saving();const{tweakValues:P}=y;h(f.Z?"#save WITH FONTS":"#save",y);try{if(!P)throw new Error("No tweakValues to save.");const C=[],A=this.tweakApi.save({tweakValues:P});C.push(A);const S=await Promise.all(C);return h("#save success"),this.saveSuccess(P),S}catch(C){throw h("#save failed"),this.saveFailure(),C}}}resetTweakValues(){return this.tweakApi.reset().then(this.resetSuccess).catch(this.resetFailure)}fetchCleanCss(){return this.tweakApi.fetchCleanCss().then(this.fetchCleanCssSuccess).catch(y=>{console.error(y)})}fetchTemplateTweakSettings(){return(0,r.B1)(a.TWEAKACTION_FETCH_TEMPLATE_TWEAK_SETTINGS,{tracer:o.Z}),this.tweakApi.fetchTemplateTweakSettings().then(this.fetchTemplateTweakSettingsSuccess).catch(y=>{console.error(y)})}fetchTemplateTweakSettingsSuccess(y){return(0,r.L8)(a.TWEAKACTION_FETCH_TEMPLATE_TWEAK_SETTINGS,{requireStart:!0,tracer:o.Z}),y}fetchWebFonts(){return(0,c.G)().then(this.fetchWebFontsSuccess).catch(y=>{console.error(y)})}fetchWebFontsSuccess(y){return y}fetchCustomCss(){return(0,r.B1)(a.TWEAKACTION_FETCH_CUSTOM_CSS,{tracer:o.Z}),this.tweakApi.fetchCustomCss().then(this.fetchCustomCssSuccess).catch(y=>{console.error(y)})}fetchCustomCssSuccess(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(0,r.L8)(a.TWEAKACTION_FETCH_CUSTOM_CSS,{requireStart:!0,tracer:o.Z}),y}fetchTweakEngineProperties(){return(0,r.B1)(a.TWEAKACTION_FETCH_TWEAK_ENGINE_PROPERTIES,{tracer:o.Z}),this.tweakApi.fetchTweakEngineProperties().then(this.fetchTweakEnginePropertiesSuccess).catch(y=>{console.error(y)})}fetchTweakEnginePropertiesSuccess(y){return(0,r.L8)(a.TWEAKACTION_FETCH_TWEAK_ENGINE_PROPERTIES,{requireStart:!0,tracer:o.Z}),y}constructor(){this.generateActions("fetchDataSuccess","fetchDataFailure","saving","saveSuccess","saveFailure","resetSuccess","resetFailure","discard","discardSiteFonts","fetchCleanCssSuccess","hydrate","updateField","updateMultipleFontFields","updateMultipleFields","revertFields","setFilterProperty","loadTypekitKitSuccess","enableUndo","disableUndo","setUndoStack","resetUndoStack","applyUndoStackTweaks","requestAddToHistoryStack"),this.tweakApi=null,this.fetchingApi=null}}const _=n.Z.createActions(g)},53678:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560),o=e(417505);class n{reset(){return o.Z.get().then(c=>this.update(c.data))}save(c){return o.Z.save(c).then(u=>this.update({logoImageId:void 0,mobileLogoImageId:void 0,socialLogoImageId:void 0,faviconItemId:void 0,protectionType:void 0,...u.data}))}saveShareButtonOptions(c){return o.Z.saveShareButtonOptions(c).then(u=>this.update(u.data))}cancelTrial(){return o.Z.cancelTrial().then(c=>this.update(c.data))}updatePrimaryDomain(c){return o.Z.updatePrimaryDomain(c).then(u=>this.update(u.data))}constructor(){this.generateActions("update")}}const a=r.Z.createActions(n)},830510:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(347560),o=e(456903);const n="/api/settings",i={save(f,d){return o.default.put(n,f,{params:d})},load(){return o.default.get(n)},validateLanguage(f){return o.default.get(`${n}/validate-language?locale=${f}`)}};class c{save(d,h){const g=h?{isOnboarding:h}:{};return i.save(d,g).then(_=>this.saveSuccess(_.data))}load(){return i.load().then(d=>this.loadSuccess(d.data))}constructor(){this.generateActions("update","saveSuccess","loadSuccess")}}const u=r.Z.createActions(c)},839241:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(347560),o=e(456903);const n="/api/billing/accepted-currencies",i={load(){return o.default.get(n)}};var c=e(787592),u=e(635897);class f{load(){return g=>(g(),i.load().then(_=>{this.loadSuccess(_.data.results)}).catch(_=>{(0,c.$e)(p=>{(0,u.N)(p),(0,c.Tb)(_)}),this.loadFail()}))}constructor(){this.generateActions("loadSuccess","loadFail","reload")}}const d=r.Z.createActions(f)},497440:function(b,l,e){"use strict";e.d(l,{Z:()=>y});var r=e(347560),o=e(276406),n=e.n(o),a=e(456903);const i="/api/billing/promotions",u={loadOffers(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n().WEBSITE;return a.default.get(i+"/offers",{params:{planType:O}})}};var f=e(144771),d=e.n(f),h=e(787592),g=e(503408),_=e(635897);class p{loadOffers(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d().WEBSITE;return()=>{const C=u.loadOffers(P);return C.then(A=>this.loadSuccess(A.data),A=>{throw new g.M(`Could not load offers for plan type: ${P}`,"loadAdvertisedOffers",A)}).catch(A=>{(0,h.$e)(S=>{(0,_.N)(S),S.setTag("uc-product-area",P),(0,h.Tb)(A)}),this.loadFail()}),C}}constructor(){this.generateActions("loadSuccess","loadFail")}}const y=r.Z.createActions(p)},142477:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(347560),o=e(156207),n=e(787592),a=e(503408),i=e(635897);class c{getAvailablePlans(d){let{planType:h,currency:g=null,contractId:_=null,filterBy:p={}}=d;return this.loadStart(),o.Z.getAvailable(h,g,_).then(y=>(this.loadSuccess({plans:y,billingProductType:h,filterBy:p}),y),y=>{throw new a.M(`Could not fetch available plans for plan type: ${h}`,"getAvailablePlans",y)}).catch(y=>{(0,n.$e)(O=>{(0,i.N)(O),O.setTag("uc-product-area",h),(0,n.Tb)(y)}),this.loadFail()})}constructor(){this.generateActions("loadStart","loadSuccess","loadFail","reset")}}const u=r.Z.createActions(c)},23006:function(b,l,e){"use strict";e.d(l,{Z:()=>A});var r=e(347560),o=e(878062),n=e(456903),a=e(442797),i=e(696049),c=e(76964);const u=(0,c.S)(i.default.fromJson,"data.results.plan.price","data.results.renewalDetails.chargeAmount","data.results.renewalDetails.plan.price"),f=(0,c.S)(i.default.fromJson,"data.plan.price","data.renewalDetails.chargeAmount","data.renewalDetails.plan.price"),d=(0,c.S)(i.default.fromJson,"data.invoice.total"),h=(0,c.S)(i.default.fromJson,"data.contract.plan.price"),g="/api/billing/contracts",_="/api/billing/billing-requests",y={async loadAll(){const S=await n.default.get(g);return u(S)},async loadByPlanType(S){const T=await n.default.get(g,{params:{planType:S}});return u(T)},async loadIapWebsite(){return await n.default.get(g+"/iap-website")},async load(S){const T=await n.default.get(`${g}/${S}`);return f(T)},async enableAutoRenew(S){const T=await n.default.put(`${g}/${S}/auto-renew/true`);return f(T)},async unschedulePlanChange(S){return await n.default.delete(`${g}/${S}/plan-change/unschedule`)},async updateAutoRenew(S,T){const s=await n.default.put(`${g}/${S}/auto-renew/${T}`);return f(s)},async delete(S){const T=await n.default.post(`${_}/cancel`,{contractId:S});return await(0,a.r)(T.data.id)},async loadCancellationPreview(S){const T=await n.default.put(`${g}/preview-cancellation`,{contractId:S});return h(d(T))}};var O=e(787592),P=e(117562);class C extends o.Z{async loadAll(){this.loading();try{const T=await y.loadAll();this.newContracts({contracts:T.data.results})}catch(T){this.loadFailure(),(0,O.Tb)(T)}}async loadByPlanType(T){if(T===P.Z.IAP){this.loadIapWebsite();return}this.loading();try{const s=await y.loadByPlanType(T);this.newContracts({contracts:s.data.results,planType:T})}catch(s){this.loadFailure(),(0,O.Tb)(s)}}async loadIapWebsite(){this.loading();try{const s={...(await y.loadIapWebsite()).data,plan:{planType:P.Z.IAP}};this.newContracts({contracts:[s],planType:P.Z.IAP})}catch(T){this.loadFailure(),(0,O.Tb)(T)}}async load(T){this.loading();try{const s=await y.load(T);this.newContract(s.data)}catch(s){this.loadFailure(),(0,O.Tb)(s)}}async deleteWithoutImmediateRemoval(T){this.cancel();try{await y.delete(T),this.cancelSuccess()}catch(s){this.cancelFailure(),(0,O.Tb)(s)}}async enableAutoRenew(T){this.loading();try{const v=(await y.enableAutoRenew(T)).data;this.newContracts({contracts:[v],planType:v.plan.planType})}catch(s){this.loadFailure(),(0,O.Tb)(s)}}async unschedulePlanChangeById(T,s){this.loading();try{await y.unschedulePlanChange(T),this.unschedulePlanChangeSuccess(),this.loadByPlanType(s)}catch(v){this.unschedulePlanChangeFailure(),(0,O.Tb)(v)}}dismissUnschedulePlanChangeError(){this.dismissUnschedulePlanChangeErrorMessage()}async updateAutoRenew(T,s){this.loading();try{const m=(await y.updateAutoRenew(T,s)).data;this.newContracts({contracts:[m],planType:m.plan.planType})}catch(v){this.loadFailure(),(0,O.Tb)(v)}}async loadCancellationPreview(T){this.loadingCancellationPreview(T);try{const s=await y.loadCancellationPreview(T);this.loadCancellationPreviewSuccess(s.data)}catch(s){this.loadCancellationPreviewFailure(),(0,O.Tb)(s)}}constructor(){super(),this.generateActions("cancel","cancelFailure","cancellationPreviewReset","cancelSuccess","dismissUnschedulePlanChangeErrorMessage","loadCancellationPreviewFailure","loadCancellationPreviewSuccess","loadFailure","loading","loadingCancellationPreview","newContract","newContracts","unschedulePlanChangeFailure","unschedulePlanChangeSuccess")}}const A=r.Z.createActions(C)},829566:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(347560),o=e(867853),n=e(787592),a=e(503408),i=e(635897);class c{loadMultiple(d,h,g){return _=>{_(),this.reset(),o.Z.load({products:d,currencyCode:h,checkoutType:g}).then(p=>{this.loadMultipleSuccess(p.data.results)},p=>{throw new a.M(`Could not load plan change violations for product types: ${d.join(", ")}`,"loadMultiplePlanChangeViolations",p)}).catch(p=>{(0,n.$e)(y=>{(0,i.N)(y),y.setTag("uc-product-area",d),(0,n.Tb)(p)}),this.loadFail()})}}constructor(){this.generateActions("loadMultipleSuccess","loadFail","reset")}}const u=r.Z.createActions(c)},688948:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(247380),o=e.n(r),n=e(347560),a=e(878062),i=e(787592),c=e(252747),u=e(627196);class f extends a.Z{load(){return _=>{_(),(0,c.K)().then(p=>{this.loadSuccess((0,u.Z)(p))}).catch(p=>{(0,i.$e)(y=>{y.setTag("owner",o().CHECKOUT_PAYMENTS),y.setTag("project","nemo"),(0,i.Tb)(p)})})}}constructor(){super(),this.generateActions("loadSuccess")}}const h=n.Z.createActions(f)},692964:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(347560),o=e(456903);const a={load:()=>o.default.get("/api/newsletters/v1.0/composer/usage-info")};class i{load(){return a.load().then(f=>{this.loadSuccess(f.data)}).catch(this.loadFailure)}constructor(){this.generateActions("loadSuccess","loadFailure")}}const c=r.Z.createActions(i)},257341:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(347560),o=e(456903);const n={load(){return o.default.get("/api/google-email-product/subscription-requests/discount-eligibility")}};class a{load(){return u=>{u(),n.load().then(f=>{this.newEligibility(f.data.isEligible)},f=>{this.loadFailure()}).catch(f=>console.error(f))}}constructor(){this.generateActions("loadFailure","newEligibility","reset")}}const i=r.Z.createActions(a)},599422:function(b,l,e){"use strict";e.d(l,{Z:()=>E});var r=e(347560),o=e(558353),n=e(805187),a=e.n(n),i=e(471831),c=e.n(i),u=e(176944),f=e.n(u),d=e(271672),h=e(868463),g=e(446354),_=e.n(g),p=e(413951);const y=Object.keys(p.Z),O=_()(y,y),P={[O.AE]:!0,[O.AG]:!0,[O.AO]:!0,[O.AQ]:!0,[O.AW]:!0,[O.BF]:!0,[O.BH]:!0,[O.BI]:!0,[O.BJ]:!0,[O.BO]:!0,[O.BQ]:!0,[O.BS]:!0,[O.BV]:!0,[O.BW]:!0,[O.BZ]:!0,[O.CD]:!0,[O.CF]:!0,[O.CG]:!0,[O.CI]:!0,[O.CK]:!0,[O.CM]:!0,[O.CW]:!0,[O.DJ]:!0,[O.DM]:!0,[O.ER]:!0,[O.FJ]:!0,[O.GA]:!0,[O.GD]:!0,[O.GH]:!0,[O.GM]:!0,[O.GQ]:!0,[O.GY]:!0,[O.HK]:!0,[O.JM]:!0,[O.KI]:!0,[O.KM]:!0,[O.KN]:!0,[O.LB]:!0,[O.LC]:!0,[O.LY]:!0,[O.ML]:!0,[O.MO]:!0,[O.MR]:!0,[O.MS]:!0,[O.MW]:!0,[O.NA]:!0,[O.NR]:!0,[O.NU]:!0,[O.PA]:!0,[O.PS]:!0,[O.QA]:!0,[O.RW]:!0,[O.SB]:!0,[O.SC]:!0,[O.SL]:!0,[O.SR]:!0,[O.SS]:!0,[O.ST]:!0,[O.SV]:!0,[O.SX]:!0,[O.TD]:!0,[O.TF]:!0,[O.TG]:!0,[O.TK]:!0,[O.TL]:!0,[O.TO]:!0,[O.TT]:!0,[O.TV]:!0,[O.UG]:!0,[O.VU]:!0,[O.WS]:!0,[O.YE]:!0,[O.ZW]:!0};var C=e(714487),A=e(594114),S=e(552141);const T=I=>!(c()(I)||f()(I)),v=I=>{const L=[S.y.DOMAIN,S.y.FIRST_NAME,S.y.LAST_NAME,S.y.USER_NAME,S.y.ALTERNATE_EMAIL,S.y.ORGANIZATION,S.y.COUNTRY,S.y.POSTAL_CODE],{country:W}=I,F=T(W)&&!P[W];return L.reduce((G,k)=>{const x=I[k];if(x!=null&&x.trim())k==="alternateEmail"?(x.endsWith("@"+I.domain)&&(G[k]=(0,C.t)("Current email may not be on your {googleProduct} domain.",{googleProduct:A.x},{project:"apps.App"})),(0,h.vV)(x)||(G[k]=(0,C.t)("Needs to be a valid email address.",null,{project:"apps.App"}))):k==="postalCode"?W==="US"&&!(0,d.D)(I.postalCode)?G[k]=(0,C.t)("Invalid ZIP Code.",null,{project:"apps.App"}):F||(G[k]=(0,C.t)("A postal code isn\u2019t needed for this region. Delete it to continue.",null,{project:"apps.App"})):k==="organizationName"&&x.includes('"')&&(G[k]=(0,C.t)("Organization name cannot include double quotes.",null,{project:"apps.App"}));else{if(k==="postalCode"&&!F)return G;G[k]=(0,C.t)("Required field.",null,{project:"apps.App"})}return G},{})};class m{validateSubscription(L){return async W=>{W();let F=v(L);const G={email:L.userName.trim()+"@"+L.domain};try{L.userName&&await o.d.validateUser(G)}catch(k){F={...F,...k.response.data.errors}}return a()(F)?this.validationSucceeded(G):(this.validationFailure(F),Promise.reject(F))}}constructor(){this.generateActions("change","validationFailure","validationSucceeded","resetForm","clearFieldError")}}const E=r.Z.createActions(m)},836708:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>G});var r=e(843165),o=e(276309),n=e(174161),a=e(725538),i=e(228946),c=e(694979),u=e(387642),f=e(356841),d=e(606498),h=e(35045),g=e(474698),_=e(845076),p=e.n(_),y=e(30712),O=e(208935),P=e(522057),C=e(538117),A=e(694598),S=e(190644);const{NONINTERACTIVE_CLASSNAME:T}=O,s="image-picker-overlay",v=(0,n.createContext)(void 0),m=(0,y.L)(),E=()=>{const k=n.useContext(v);if(!k)throw new Error("Asset Picker Panels cannot be rendered outside the AssetPickerPanelContext component");return k},I=k=>{const{assetLibraryId:x,onChooseAssetIds:M,onChooseImageUrl:B,onLibraryAssetSelected:R}=E();return n.createElement(c.Z,{assetLibraryId:x,onChooseAssetIds:M,onChooseImageUrl:B,onLibraryAssetSelected:R,...k})},L=k=>{const{onChooseImageUrl:x,onUnsplashAssetSelected:M,onGettyAssetSelected:B}=E();return n.createElement(u.J,{gettyProps:{onChooseImageUrl:x,onGettyAssetSelected:B},unsplashProps:{onChooseImageUrl:x,onUnsplashAssetSelected:M},...k})},W=k=>{const{onChooseBgAsset:x,onStockBackgroundSelected:M}=E(),B=(0,P.Z)();return n.createElement(f.Q,{locale:B,onChooseBgAsset:x,onStockBackgroundSelected:M,...k})},F=k=>{const{assetDestination:x,assetTypes:M,baseZIndex:B=0,collectionSize:R,initialPanelId:U,isOpen:j,onChooseAssetIds:$,onChooseImageUrl:ee,onChooseBgAsset:te,onGettyAssetSelected:ie=()=>{},onLibraryAssetSelected:ne=()=>{},onRequestClose:pe,onUnsplashAssetSelected:oe=()=>{},onStockBackgroundSelected:q=()=>{},productPage:J,upperLimitForCollection:me}=k,re=h.default.getState().id,he=re,Ee={isQA:(0,C.Oj)(),isStage:(0,C.Jl)(),isDev:(0,C.r8)()},fe=(0,n.useCallback)(async()=>await(0,A.b)(),[]),[H,z]=(0,n.useState)(void 0);(0,n.useEffect)(()=>{(0,S.p)()&&fe().then(ge=>{z(ge)})},[fe]);const _e=g.Z.getState().toJS().id,ae=(0,P.Z)();return n.createElement(a.Z.Transition,null,d.Z&&j&&n.createElement(a.Z,{onRequestClose:pe,zIndex:B+50,onClick:ge=>ge.stopPropagation()},n.createElement(a.Z.Overlay,null),n.createElement(a.Z.Position,{position:"center"},n.createElement(a.Z.Dialog.ResponsiveProvider,null,n.createElement(a.Z.Dialog,{className:p()(s,T,i.unmask)},n.createElement(v.Provider,{value:{onChooseImageUrl:ee,assetLibraryId:he,onChooseAssetIds:$,onLibraryAssetSelected:ne,onUnsplashAssetSelected:oe,onGettyAssetSelected:ie,onChooseBgAsset:te,onStockBackgroundSelected:q}},n.createElement(d.Z,{libraryId:he,environment:Ee,eventTracking:{assetDestination:x,productPage:J,userMemberAccountId:_e,websiteId:re,websiteLocale:ae},onRequestClose:pe,upperLimitForCollection:me,initialPanelId:U,assetTypes:M,collectionSize:R,featureFlags:m,imageAuthToken:H},k.children)))))))};F.defaultProps={baseZIndex:31e3,children:[n.createElement(I,{key:"my-library"}),n.createElement(L,{key:"stock-images"})]},F.MyLibrary=I,F.StockImages=L,F.AIBackgrounds=W;const G=F},320110:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o={CONTENT_ITEM_MAIN_IMAGE:"content-item-main-image",FEEDS_PODCASTING_COVER_ART:"feeds-podcasting-cover-art",GALLERY_BLOCK:"gallery-block",GALLERY_COLLECTION:"gallery-collection",IMAGE_BLOCK:"image-block",MEDIA_TAB:"collection-settings-media-tab",SEO_CONTENT:"seo-content-collection-tab",SOCIAL_CONTENT:"social-image-content-collection-tab",STYLE_EDITOR:"style-editor-background-image",VIDEO_SUBPANEL:"video-subpanel-fallback-image",PAGE_SECTION_BACKGROUND_IMAGE:"page-section-background-image",PAGE_SECTION_BACKGROUND_VIDEO:"page-section-background-video",PAGE_SECTION_BACKGROUND_VIDEO_FALLBACK:"page-section-background-fallback-image",COVER_PAGE_MEDIA:"cover-page-media",PORTFOLIO_COLLECTION:"portfolio-collection"}},21655:function(b,l,e){"use strict";e.d(l,{S:()=>n,Z:()=>a});var r=e(174161);const o=()=>{const[i,c]=(0,r.useState)(!1);return{isPickerOpen:i,onClosePicker:()=>c(!1),onOpenPicker:()=>c(!0)}};function n(i){return r.forwardRef((c,u)=>{const{isPickerOpen:f,onClosePicker:d,onOpenPicker:h}=o();return r.createElement(i,{isPickerOpen:f,onClosePicker:d,onOpenPicker:h,ref:u,...c})})}const a=o},281395:function(b,l,e){"use strict";e.d(l,{jx:()=>jt,eG:()=>Yr,ZP:()=>rr,P6:()=>$n,IN:()=>ut,Qc:()=>Sr,ht:()=>cn});var r=e(276309),o=e(58468),n=e(714011),a=e(843165),i=e(174161),c=e(795478),u=e.n(c),f=e(881707),d=e(228946),h=e(922357),g=e(836708),_=e(21655),p=e(35045),y=e(474698),O=e(538117),P=e(829499),C=e(830510),A=e(30712),S=e(142118),T=e(318842),s=e(850882),v=e(714487),m=e(987924),E=e(64569),I=e(318039),L=e(252345),W=e(560742),F=e(15451),G=e(103195);const k=function(Pr){let Mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{name:(0,v.t)("Upload File",null,{project:"apps.assetUploader"}),icon:m.Z,handler:Pr,key:S.X.UPLOAD_FILE,...Mn}},x=Pr=>({name:(0,v.t)("Select from Library",null,{project:"apps.assetUploader"}),icon:E.Z,handler:Pr,key:S.X.SELECT_FROM_LIBRARY}),M=Pr=>({name:(0,v.t)("Add From Link",null,{project:"apps.assetUploader"}),description:(0,v.t)("YouTube or Vimeo",null,{project:"apps.assetUploader"}),icon:I.Z,hasDivider:!0,handler:Pr,key:S.X.ADD_FROM_LINK}),B=Pr=>({name:(0,v.t)("Browse Stock Images",null,{project:"apps.assetUploader"}),icon:L.Z,handler:Pr,key:S.X.BROWSE_STOCK_IMAGES}),R=Pr=>({name:(0,v.t)("Upload From Mobile",null,{project:"apps.assetUploader",notes:"Button which sends notification to the user's phone to upload an image or video from the phone."}),description:(0,v.t)("Select an image from your phone or tablet.",null,{project:"apps.assetUploader"}),icon:W.Z,hasDivider:!0,handler:Pr,isNew:!1}),U=Pr=>({name:(0,v.t)("Browse Backgrounds",null,{project:"apps.assetUploader"}),icon:F.Z,handler:Pr,key:S.X.BROWSE_BACKGROUNDS}),$=Pr=>{let{uploadFileHandler:Mn,setInitialPanelId:sr,trackUpload:Ar,openImagePicker:vr,videoExternalLinkHandler:qr,uploadFileHelp:Dr,isLicensedAssetDisabled:eo,isMyLibraryDisabled:Vo=!1,isImageAssetDropEnabled:Bn=!1,openAssetDropModal:ar,isAIBackgroundsEnabled:rn=!1}=Pr;const{UPLOAD_OPTION:Rt}=T,Qe=[],Ye=[];if(Qe.push(k(Mn)),Ye.push(k(Mn,{uploadHelp:Dr,id:"uploadVideo"})),!Vo){const yt=x(()=>{vr(),sr(G.G.MyLibrary),Ar(Rt.SELECT_FROM_LIBRARY)});Qe.push(yt),Ye.push(yt)}return Ye.push(M(qr)),eo||Qe.push(B(()=>{vr(),sr(G.G.StockImages),Ar(Rt.BROWSE_STOCK_IMAGES)})),rn&&Qe.push(U(()=>{vr(),sr(G.G.AIBackgrounds),Ar(Rt.BROWSE_BACKGROUNDS)})),Bn&&Qe.push(R(()=>{ar(),Ar(Rt.MOBILE_ASSET_DROP)})),{[s.h.IMAGE]:Qe,[s.h.VIDEO]:Ye}};var ee=e(387152),te=e(182174),ie=e(830348),ne=e(115729),pe=e(14469),oe=e(336435),q=e(480142),J=e(565809),me=e(879441),re=e(778515),he=e(398084),Ee=e(559470),fe=e(20666),H=e(808391),z=e(683683),_e=e(155019),ae=e(262046),ge=e(306537),Be=e(433832),Ke=e(967074),He=e(151703),ye=e(370483),Le=e(35739),Ue=e(656219),Xe=e(627199),Fe=e(976003),ht=e.n(Fe),Ne=e(225093),Ce=e(776533),we=e(694598),$e=e(190644);const{useEventTrackingContext:Ot,OVERFLOW_OPTION:Pt}=T,Bt=Pr=>{const{assetDetails:Mn={},assetType:sr,constraints:Ar,handleAssetUpload:vr,handleChooseImageUrl:qr,handleFocalPointChange:Dr,inputRef:eo,isMenuOpen:Vo,onCloseMenu:Bn,onOpenMenu:ar,onUploadReset:rn,storageTimeRemaining:Rt,uploadState:Qe}=Pr,{isBcContentBrowserUAUEnabled:Ye}=(0,A.L)(),yt=Ot(),{trackClickToSelectFile:Ze,trackDragAndDropFile:Mt,trackUserFocalPointUpdate:ot,trackUserPurchaseStockImage:et,trackUserSelectsEditFile:St,trackViewSelectFileOptions:Ht,trackUserSelectsReplaceFile:er,trackUserSelectsOverflowOption:Mr,trackUserClicksFileOverflow:mn}=Ye?J:yt,Un=()=>{const ns=()=>{Pr.onChange({asset:void 0}),rn(),Mr(Pt.REMOVE)};return Pr.getMoreMenuActions?Pr.getMoreMenuActions(ns):[{name:(0,v.t)("Remove",null,{project:"apps.assetUploader"}),icon:Le.Z,handler:ns,color:"red",key:S.X.REMOVE}]},hr=sr===s.h.IMAGE&&(Qe===z.h.Complete||Qe===z.h.UploadComplete),br=ns=>qr({data:ns}),[io,Kr]=(0,i.useState)(!1),[xo,Ho]=(0,i.useState)(!1),[bo,Ea]=(0,i.useState)(void 0);(0,i.useEffect)(()=>{async function ns(){if((0,$e.p)()){const Ja=await(0,we.b)("session-storage");Ea(Ja)}}ns()},[]);const Ia=()=>{Kr(!1)},Da=ns=>{Ia(),vr(ns,!0)},Za=()=>Ho(!1),Xa=(0,Xe.Q)({src:Mn.assetUrl,token:bo}),ba=(0,Xe.Q)({src:Mn.assetUrl,token:bo,format:100});return i.createElement(i.Fragment,null,i.createElement(ie.default,{ref:eo,acceptedTypes:Ar.acceptedTypes}),i.createElement(Ue.Z,{...Pr,assetDetails:{...Mn,assetUrl:Xa,miniAssetUrl:ba},onAssetPurchaseSuccess:br,onReplace:()=>{er(Mn),Ht()},moreMenuActions:Un(),onEdit:!Mn.licensedAssetPreview&&sr===s.h.IMAGE?()=>{Kr(!0),St(Mn)}:void 0,onPurchase:Mn.licensedAssetPreview?()=>{Ho(!0),et(Mn)}:void 0,focalPointProps:Pr.focalPointEditable?{onChange:ns=>{ht()(ns,Mn.mediaFocalPoint)||(Dr(ns),ot(Mn))},value:Mn.mediaFocalPoint,assetUrl:Mn==null?void 0:Mn.assetUrl}:{},onViewOptions:mn,onAddFileClick:()=>{Ze({objectDisplayName:Pr.objectDisplayName}),Ht()},onDropFile:ns=>{Mt(ns,{objectDisplayName:Pr.objectDisplayName}),vr(ns)},isOpen:Vo,onRequestClose:Bn,onRequestOpen:ar,isStorageFull:Rt<1}),hr&&i.createElement(Ne.Z,{isOpen:io,imageSrc:Mn.assetUrl,imageFileName:Mn.filename||"",onCancel:Ia,onSave:Da}),hr&&Mn.licensedAssetPreview&&i.createElement(Ce.Z,{key:"licensed-image-purchase-modal",assetPreview:Mn.licensedAssetPreview,previewUrl:xo&&Mn.assetUrl,isOpen:Mn.licensedAssetPreview&&xo,onRequestClose:Za,onPurchaseSuccess:ns=>{br(ns),Za()}}))};var mt=e(115576),rt=e(966135),ce=e(400882);const{getCanUpgradeDigitalProductsFeatures:Re}=rt,{useHiddenInputField:nt}=ie.default,{FILE_SOURCE:st,UPLOAD_OPTION:vt,useEventTrackingContext:ze,withEventTrackingContext:It}=T,on=(Pr,Mn,sr)=>Pr?ne.Z(Mn,sr).catch(Ar=>{throw Ar}):Promise.resolve(),Pn=Pr=>{const Mn=Pr.value.asset,sr=Mn?Mn.filename:"",Ar=Pr.value.id;return Ar&&Pr.configurations&&Pr.configurations[Ar]&&Pr.configurations[Ar].value.globalFilename||sr};function Yn(Pr){var Mn,sr,Ar,vr;const qr=(sr=window.Static)===null||sr===void 0||(Mn=sr.SQUARESPACE_CONTEXT)===null||Mn===void 0?void 0:Mn.env,{assetDestination:Dr,assetType:eo,fieldDescription:Vo,fieldId:Bn,completionXHRConfig:ar,onAssetUpload:rn,onAssetUploadCancelled:Rt,onAssetReady:Qe,onChange:Ye,isUploadVisible:yt}=Pr,Mt=eo===s.h.VIDEO?pe.Us.LARGE:Pr.variant??pe.Us.MINI,{isBcContentBrowserUAUEnabled:ot}=(0,A.L)(),et=(0,i.useMemo)(()=>(0,ye.EV)({assetType:eo,constraints:Pr.constraints}),[eo,Pr.constraints]),St=Pr.isLicensedAssetDisabled,Ht=oe.default({fieldDescription:Vo,fieldId:Bn}),er=p.default.getState().id,{isOpen:Mr,onToggleAssetDrop:mn,assetDropTutorialName:Un}=(0,q.Z)(!1),[hr,br]=i.useState(()=>P.default.getState().tutorialsCompleted.includes(Un)),io=()=>{br(!0);const{tutorialsCompleted:Hn}=P.default.getState();Hn.includes(Un)||C.Z.save(P.default.getMergedWebsiteSettings({tutorialsCompleted:Hn.concat(Un)}))},{uploadProgress:Kr,uploadState:xo,assetDetails:Ho,uploadError:bo}=Ht.uploadData||{},Ea=Pn(Pr),Ia=(0,i.useMemo)(()=>({...Ho,globalFilename:Ea}),[Ea,Ho]),{uploadId:Da,onUploadStart:Za,onUploadProcess:Xa,onUploadComplete:ba,onUploadFail:ns,onUploadReset:Ja,onUploadClear:Is,onUploadAndProcessFile:Vr,onCompletionXHRConfigUpdate:Qr}=Ht||{},To={isQA:(0,O.Oj)(),isStage:(0,O.Jl)(),isDev:(0,O.r8)()},xr=ee.o(er,To),{timeRemaining:uo,limit:Mo,isUnlimited:go}=xr.usage,ea=ze(),{cleanupTracker:ha=()=>{},initializeTracker:yr,setTrackingPayload:Lr,trackUserSelectsFileUploadOption:ao,trackViewOSFileMenu:ho,tracksUserAddsFile:Lo,tracksUserFileLoads:Yo,trackUserViewsErrorModal:jo,tracksUserLinksExternalVideo:Xo,trackUserViewsUpgradeModal:Ua,trackUserSelectsUpgradeModalOption:ds,trackUserClicksForMoreInfo:us,trackUserReachesStorageLimit:ys,trackUserViewsModal:Ys,trackUserSelectsModalItem:Gs}=ot?J:ea,{isOpen:xs,onClose:Ai,onOpen:Pi}=(0,me.Z)(),{onOpenPicker:ei,onClosePicker:hi,isPickerOpen:ks}=(0,_.Z)(),{isOpen:Ms,onClose:bs,onOpen:Hs}=(0,me.Z)(),[Os,Vs]=(0,i.useState)(G.G.MyLibrary),[_s,fs]=(0,i.useState)(null),[Ss,hs]=(0,i.useState)(),[li,Ni]=(0,i.useState)(0),[Ji,wi]=(0,i.useState)(null),vi=y.Z.getState().toJS().id,sl=(0,ye.Th)(),[Zi]=(0,ce.Z)(ce.A),{data:Zs}=(0,h.Z)(Re),Bs=Hn=>{let{errorCode:jr,message:wo,title:ko,...Sa}=Hn;if(jr===re.Z.LIBRARY_LIMIT_EXCEEDED){const Na={timeRemaining:Sa.timeRemaining,limit:xr.usage.limit},{title:qa,message:ms}=(0,ye.VK)({planStatus:sl,secondsValue:Na.timeRemaining,openPicker:()=>{ei(),Vs(G.G.MyLibrary)},openWebsiteCheckout:Zi});ns({isUploadVisible:!0,title:qa,message:ms,errorCode:jr})}else ns({title:ko,message:wo,payload:{onRequestClose:Is}}),jo({errorCode:jr,errorMessage:wo,fileSource:Sa.fileSource})},ti=(0,i.useCallback)(async(Hn,jr)=>{if(rn){const wo=await rn(eo,Hn,jr),ko={asset:Ia,...wo};Ye(ko)}},[Ia,eo,rn,Ye]),gi=async(Hn,jr)=>{Ye({asset:Ia});let wo=null,ko=0;const Sa=async(Us,$i,Mi)=>{const si=await Qe(Us,!0),rl={asset:Us,...si};Ye(rl),eo===s.h.VIDEO&&xr.refreshUsage(),Us.id&&wo===st.OPERATING_SYSTEM&&ko>0&&Yo({id:Us.id,filename:Us.filename,fileType:Us.fileType,fileSize:$i,fileSource:wo,fileDuration:Us.fileDuration,timing:Date.now()-ko,isBackgroundUploaded:Mi})},Na=Us=>{Us&&Rt&&Rt(eo)},qa={...et,libraryUsage:xr.usage},ms=await(0,he.ZP)(eo,Hn,qa);if(!ms.isValidFile){Bs(ms);return}jr||(wo=st.OPERATING_SYSTEM,ko=Date.now(),Lo({filename:Hn.name,fileSize:Hn.size,fileType:Hn.type,fileSource:wo}));try{await ti(Hn)}catch(Us){Bs({errorCode:re.Z.INTERNAL_ERROR,...Ee.Z.fromUploadError({assetType:eo}),error:{fileSource:wo,...Us}});return}Vr(Hn,{fieldDescription:Vo,fieldId:Bn,assetType:eo,uploadRequestConfig:{websiteId:er,retainMetadata:p.default.getState().imageMetadataProcessingEnabled,assetTags:Pr.assetTags},envConfig:To,assetId:Ia.id,completionXHRConfig:ar,constraints:et},Sa,Na)},yi=Hn=>(Xa(),(0,fe.Z)(eo,Hn,To).then(async jr=>{if(jr.isSuccess){var wo,ko;const Sa=(0,H.Z)(Pr.assetType,jr.assetRecord),Na=await Pr.onAssetReady(Sa);Pr.onChange({asset:Sa,...Na}),xr.refreshUsage(),ba(Sa);const qa=jr==null||(ko=jr.assetRecord)===null||ko===void 0||(wo=ko.numericMetadata)===null||wo===void 0?void 0:wo.originalFileSize;Yo({id:Sa.id,filename:Sa.filename,fileType:Sa.fileType,fileSize:qa,fileSource:"mobile-asset-drop"})}})),{onOpenFileBrowser:ki,inputRef:bi}=nt(gi);(0,i.useEffect)(()=>((yr||Lr)({contentType:Pr.assetType,environment:qr,indirectObjectIdentifier:Pr.indirectObjectIdentifier,indirectObjectValue:Dr,productPage:Pr.productPage,productItemId:Pr.productItemId,productSection:Pr.productSection,uploaderOrigin:Pr.uploaderOrigin,uploaderVersion:Mt,userMemberAccountId:vi,websiteId:er}),ha),[Dr,ha,qr,yr,Pr.assetType,Pr.indirectObjectIdentifier,Pr.productItemId,Pr.productPage,Pr.productSection,Pr.uploaderOrigin,Lr,vi,Mt,er]),(0,i.useEffect)(()=>{const Hn=Pr.value.asset;xo===z.h.Complete&&!Hn&&Ia.id?Is():xo===z.h.Complete&&Hn&&Hn.assetUrl!==Ia.assetUrl?ba(Hn):xo!==z.h.Complete&&xo!==z.h.Uploading&&Hn&&Ia&&Hn.id!==Ia.id&&(ba(Hn),_s&&_s!==st.OPERATING_SYSTEM&&li!==0&&(Yo({id:Ss&&Ss.includes("generated")?Hn.filename:Hn.id,filename:Hn.filename,fileType:Hn.fileType,fileSize:Ia.fileSize,fileSource:_s,fileDuration:Hn.fileDuration,folderId:Ji,imageType:Ss,timing:Date.now()-li}),fs(null),hs(void 0),Ni(0),wi(null)))},[Ji,Pr.assetType,Pr.value.asset,Ia,xo,ba,Is,Yo,li,_s,Ss]);const nl=(Ar=Pr.value.embed)===null||Ar===void 0?void 0:Ar.url;(0,i.useEffect)(()=>{const Hn=xo===z.h.Complete&&!nl&&Ia.isExternalUrl,jr=xo===z.h.Complete&&nl&&nl!==Ia.assetUrl&&Ia.isExternalUrl,wo=xo!==z.h.Complete&&nl;Hn?Is():(jr||wo)&&(0,He.wy)(nl,Pr.allowVimeoBasicAuthorEmbed).then(ko=>{let{embed:Sa}=ko;ba({id:void 0,assetType:s.h.VIDEO,assetUrl:nl,thumbnailUrl:void 0,providerName:Sa==null?void 0:Sa.providerName,filename:Sa==null?void 0:Sa.title,fileDuration:Sa==null?void 0:Sa.duration,isExternalUrl:!0})})},[Ia,nl,xo,ba,Is,Pr.allowVimeoBasicAuthorEmbed]),(0,i.useEffect)(()=>{!go&&uo<1&&ys({timeRemaining:uo,limit:Mo})},[uo,ys,Mo,go]);const Si=JSON.stringify(ar);(0,i.useEffect)(()=>{Qr(ar)},[Si,Qr]);const ta=(0,ye.rp)({onClosePicker:hi,onUploadStart:Za,onUploadProcess:Xa,assetDetails:Ia,props:Pr,assetType:eo,completionXHRConfig:ar,isUploadVisible:yt}),ke=(0,ye.W7)({onClosePicker:hi,onUploadStart:Za,onUploadProcess:Xa,onUploadComplete:ba,executeCompletionXHRsIfPresent:on,uploadImageUrl:ye.Rd,assetDetails:Ia,props:Pr,assetType:eo,completionXHRConfig:ar,fieldDescription:Vo,fieldId:Bn,isUploadVisible:yt}),Jt=(0,ye.Qy)({onClosePicker:hi,onUploadStart:Za,onUploadProcess:Xa,assetDetails:Ia,props:Pr,assetType:eo,completionXHRConfig:ar,libraryId:er,onUploadFail:ns}),Fn=Hn=>{const jr={...Ia,mediaFocalPoint:Hn};Pr.onChange({asset:jr})},mr=()=>{ki(),ao(vt.UPLOAD_FILE),ho()},Tr=Hn=>ao(Hn),Oo=()=>{Hs(),ao(vt.ADD_FROM_LINK)},Uo=Pr.getReplaceMenuActions({uploadFileHandler:mr,setInitialPanelId:Vs,trackUpload:Tr,openImagePicker:ei,videoExternalLinkHandler:Oo,uploadFileHelp:(0,_e.Z)()[eo](et,Pr.uploadHelpAltLabel),isLicensedAssetDisabled:St,isMyLibraryDisabled:Pr.isMyLibraryDisabled,openAssetDropModal:mn(!0),isImageAssetDropEnabled:(0,ye.mH)(Dr),isAIBackgroundsEnabled:(0,ye.tN)(Dr)})[eo],gt=(Hn,jr)=>{const wo=St&&jr?Object.keys(jr):[],ko=(0,ae.Z)(Hn,{...et,licensedAssetIds:wo});return ko.isValidFile?{isError:!1,errorMessage:""}:{isError:!0,errorMessage:ko.message}},it=()=>{const Hn={...Pr,assetDetails:Ia,constraints:et,handleAssetUpload:gi,handleChooseImageUrl:ke,handleFocalPointChange:Fn,inputRef:bi,isMenuOpen:xs,onCloseMenu:Ai,onOpenMenu:Pi,onUploadClear:Is,onUploadReset:Ja,replaceMenuActions:Uo,storageTimeRemaining:uo,uploadProgress:Kr,uploadState:xo,uploadId:Da};return i.createElement(Bt,Hn)},Lt=i.useRef(null),$t=[i.createElement(g.default.MyLibrary,{key:"my-library",isAddDisabled:(Hn,jr)=>gt(Hn,jr)})];St||$t.push(i.createElement(g.default.StockImages,{key:"stock-images"})),(0,ye.tN)(Dr)&&$t.push(i.createElement(g.default.AIBackgrounds,{key:"ai-backgrounds"}));const _n=[i.createElement(g.default.MyLibrary,{key:"my-library",isAddDisabled:Hn=>gt(Hn)})],dn=xo===z.h.Error&&(bo==null?void 0:bo.errorCode)===re.Z.LIBRARY_LIMIT_EXCEEDED,Jn=(0,i.useCallback)(Hn=>{Hn.key==="Enter"&&!ks&&Pi()},[Pi,ks]);return i.createElement(f.Z,{className:d.unmask,tabIndex:0,onKeyDown:Jn},i.createElement(ge.Z,{className:Pr.className,isCompact:Pr.isCompact,isInImageBlock:Pr.isInImageBlock,sx:Pr.sx,variant:Mt,assetType:eo},i.createElement(f.Z,{ref:Lt}),it(),eo===s.h.VIDEO&&xr.usage.limit&&i.createElement(te.N,{isUnlimited:xr.usage.isUnlimited,limit:xr.usage.limit,progress:xr.usage.progress,timeRemaining:xr.usage.timeRemaining,used:xr.usage.used,showUpsellFlow:!!(Zs!=null&&Zs.canUpgradeForHigherVideoStorage),onLearnMoreClick:us,indirectSource:"card",onUpsellClick:()=>{const{onClick:Hn}=(0,ye.VK)({planStatus:sl,openWebsiteCheckout:Zi});Hn()}})),eo===s.h.VIDEO&&i.createElement(mt.kT,{isOpen:dn,websiteId:er,envConfig:To,onOpenPicker:()=>{ei(),Vs(G.G.MyLibrary)},onRequestClose:Is,trackUserViewsUpgradeModal:Ua,trackUserSelectsUpgradeModalOption:ds,trackUserClicksForMoreInfo:us}),!ar&&xo===z.h.Error&&i.createElement(Be.Z,{isOpen:xo===z.h.Error&&(bo==null?void 0:bo.errorCode)!==re.Z.LIBRARY_LIMIT_EXCEEDED,error:{errorTitle:bo==null?void 0:bo.title,errorMessage:bo==null?void 0:bo.message,errorPayload:{onRequestClose:Is}}}),eo===s.h.VIDEO&&Lt.current&&i.createElement(He.ZP,{position:Lt.current,positionOffset:xo===z.h.Empty?"65px":"185px",link:(vr=Pr.value.embed)===null||vr===void 0?void 0:vr.url,isOpen:Ms,onCancel:bs,onSave:Hn=>{var jr;Hn.url!==((jr=Pr.value.embed)===null||jr===void 0?void 0:jr.url)&&(Xa(),Pr.onChange({embed:Hn}),Xo({url:Hn.url,fileDuration:Hn.duration})),bs()},allowVimeoBasicAuthorEmbed:Pr.allowVimeoBasicAuthorEmbed}),eo===s.h.IMAGE&&i.createElement(g.default,{isOpen:ks,onRequestClose:hi,baseZIndex:300001,onChooseAssetIds:ta,onChooseImageUrl:ke,onChooseBgAsset:Jt,assetDestination:Dr,initialPanelId:Os,productPage:Pr.productPage,onLibraryAssetSelected:Hn=>{let{assets:jr,folderId:wo}=Hn;fs(st.LIBRARY),Ni(Date.now()),wi(wo);const ko=jr[0];Lo({id:ko.assetId,filename:ko.filename,fileSource:st.LIBRARY})},onUnsplashAssetSelected:Hn=>{fs(st.FREE),hs("free"),Ni(Date.now()),Lo({fileSource:st.FREE,id:Hn,imageType:"free"})},onGettyAssetSelected:Hn=>{fs(st.PAID),hs("premium"),Ni(Date.now()),Lo({fileSource:st.PAID,id:Hn,imageType:"premium"})},onStockBackgroundSelected:Hn=>{let{filename:jr,imageType:wo}=Hn;fs(st.AI_BACKGROUND),hs(wo),Ni(Date.now()),Lo({fileSource:st.AI_BACKGROUND,id:jr,imageType:wo})}},Pr.assetPickerPanels?Pr.assetPickerPanels:$t),eo===s.h.VIDEO&&i.createElement(g.default,{isOpen:ks,assetTypes:[eo],onRequestClose:hi,baseZIndex:300001,onChooseAssetIds:ta,assetDestination:Dr,initialPanelId:Os,productPage:Pr.productPage,onLibraryAssetSelected:Hn=>{let{assetIds:jr,assets:wo}=Hn;fs(st.LIBRARY),Ni(Date.now());const ko=wo[0];Lo({id:ko.assetId,filename:ko.filename,fileSource:st.LIBRARY})}},Pr.assetPickerPanels?Pr.assetPickerPanels:_n),i.createElement(Ke.Z,{onClose:mn(!1),onAssetReceived:yi,isTutorialComplete:hr,onCompleteTutorial:io,libraryId:er,isOpen:Mr,trackUserViewsModal:Ys,trackUserSelectsModalItem:Gs}))}Yn.defaultProps={focalPointEditable:!0,getReplaceMenuActions:$,isFullWidth:!0,onAssetReady:()=>Promise.resolve()},Yn.propTypes={assetPickerPanels:u().arrayOf(u().element),assetTags:u().oneOfType([u().arrayOf(u().string),u().string]),assetType:u().oneOf(Object.values(s.h)).isRequired,completionXHRConfig:u().arrayOf(u().shape({method:u().oneOf(["GET","POST","PUT","DELETE"]).isRequired,url:u().string.isRequired,data:u().object})),fieldDescription:u().string.isRequired,fieldId:u().string.isRequired,focalPointEditable:u().bool,getMoreMenuActions:u().func,getReplaceMenuActions:u().func.isRequired,assetDestination:u().string,onAssetUpload:u().func,onAssetUploadCancelled:u().func,onAssetReady:u().func,onChange:u().func.isRequired,productPage:u().string,productItemId:u().string,uploaderOrigin:u().string,sx:u().object,uploadLabel:u().string,uploadDescriptionLabel:u().string,value:u().shape({asset:u().object,embed:He.Z}).isRequired,isFullWidth:u().bool,variant:u().oneOf(Object.values(pe.Us)),constraints:u().shape({acceptedTypes:u().arrayOf(u().string),maxSize:u().number,maxDuration:u().number}),allowVimeoBasicAuthorEmbed:u().bool,uploadHelpAltLabel:u().string,isLicensedAssetDisabled:u().bool,className:u().string,isCompact:u().bool,isInImageBlock:u().bool};const Ln=It(Yn);var bn=e(757948);const ir=(0,i.createContext)({}),{getUploadId:Zn}=bn,$n=Pr=>{let{children:Mn}=Pr;const[sr,Ar]=(0,i.useState)(new Map),vr=(0,i.useCallback)((Dr,eo,Vo)=>{Ar(sr.set(Zn(Dr,eo),Vo))},[sr,Ar]),qr=(0,i.useCallback)((Dr,eo)=>sr.get(Zn(Dr,eo)),[sr]);return i.createElement(ir.Provider,{value:{setAsset:vr,getAsset:qr}},Mn)},jt=(Pr,Mn)=>{const{getAsset:sr}=(0,i.useContext)(ir);if(sr)return sr(Pr,Mn)};var Rn=e(637635);const jn=Pr=>({id:Pr.systemDataId,contentItemId:Pr.id,assetType:s.h.IMAGE,assetUrl:Pr.assetUrl,fileType:Pr.contentType,filename:Pr.filename,licensedAssetPreview:Pr.licensedAssetPreview,mediaFocalPoint:Pr.mediaFocalPoint,fileSize:Pr.dataSize}),Tn=Pr=>{const{systemDataSourceType:Mn,videoCodec:sr,audioCodec:Ar,durationSeconds:vr}=Pr,qr=Pr.systemDataVariants.split(","),Dr=rn=>Ar?`${Mn}-${sr}-${Ar}-${rn}`:`${Mn}-${sr}-${rn}`,Vo=qr.map(rn=>Dr(rn))[0],Bn=Pr.alexandriaUrl.replace("{variant}",Vo),ar=Pr.alexandriaUrl.replace("{variant}","thumbnail");return{id:Pr.systemDataId,contentItemId:Pr.id,assetType:s.h.VIDEO,assetUrl:Bn,thumbnailUrl:ar,filename:Pr.filename,fileDuration:vr,licensedAssetPreview:Pr.licensedAssetPreview,mediaFocalPoint:Pr.mediaFocalPoint,fileSize:Pr.dataSize}},cn={[s.h.IMAGE]:jn,[s.h.VIDEO]:Tn};var or=e(192628),qn=e.n(or);const fo=Pr=>{const Mn=sr=>{let{onChange:Ar,value:vr,...qr}=sr;var Dr,eo;const[Vo,Bn]=(0,i.useState)(),{setAsset:ar,getAsset:rn}=(0,i.useContext)(ir),{fieldDescription:Rt,fieldId:Qe}=qr,Ye=((Dr=vr.item)===null||Dr===void 0?void 0:Dr.id)||(vr==null?void 0:vr.id),yt=rn(Rt,Qe),Ze=yt||yt===null;(0,i.useEffect)(()=>{let et=!0;if(Ye&&!Ze){var St;let Ht;return!(qr==null||(St=qr.options)===null||St===void 0)&&St.forceReload?Ht=Rn.Z.fetchFromServer(Ye):Ht=Rn.Z.fetch(Ye),Ht.then(er=>{et&&er&&Bn(cn[s.h.IMAGE](er.toJS()))}),()=>et=!1}},[Ye,Ze,qr==null||(eo=qr.options)===null||eo===void 0?void 0:eo.forceReload,Bn]);const Mt=(0,i.useCallback)(et=>{var St;if(et&&(et.id||!((St=et.item)===null||St===void 0)&&St.id))Ar(et);else{ar(Rt,Qe,et.asset||null);const Ht="item"in vr?{id:null,item:null}:{id:null};Ar(Ht)}},[Rt,Qe,Ar,ar,vr]),ot=Ze?yt:Vo;return i.createElement(Pr,{...qr,value:{asset:ot},onChange:Mt})};return Mn.displayName="withAssetValueFromContentItem(AssetUploaderField)",Mn.propTypes={onChange:u().func.isRequired,value:u().shape({id:u().string})},qn()(Mn,Pr)};var Jr=e(103372),ro=e.n(Jr),Xt=e(522364),Je=e(984791),At=e(62868),xt=e(456903);class Qt{getEndpointUrl(Mn){let sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return`/api/content-service/asset/1.0/websites/${Mn}/video-asset/${sr}`}createVideoReference(Mn,sr){const Ar=this.getEndpointUrl(Mn,"video-reference"),qr={authorId:y.Z.getState().toObject().id,systemDataId:sr};return xt.default.post(Ar,qr).then(Dr=>{let{data:eo}=Dr;return eo}).catch(Dr=>{let{response:eo}=Dr;return Promise.reject((eo==null?void 0:eo.data)||{})})}}const qt=new Qt,Te=Pr=>{const Mn=Je.U.TRANSIENT_IMAGE;return(0,At.Z)(Mn,Pr).then(sr=>{if(sr)return Xt.Z.insert({...sr,licensedAssetPreview:void 0}),sr.id})},Gt=Pr=>{const Mn=p.default.getState().id;return qt.createVideoReference(Mn,Pr).then(sr=>Xt.Z.read(sr.id)).then(sr=>sr.id)},Vt={[s.h.IMAGE]:Te,[s.h.VIDEO]:Gt};var Dn=e(270848),Wt=e.n(Dn);function Pe(Pr,Mn,sr){return Mn in Pr?Object.defineProperty(Pr,Mn,{value:sr,enumerable:!0,configurable:!0,writable:!0}):Pr[Mn]=sr,Pr}class xe{createTemporaryAssetItem(Mn){const sr=`${this.baseUrl}/createTemporaryAssetItem`,vr={authorId:y.Z.getState().toObject().id,recordType:Mn};return xt.default.post(sr,vr).then(qr=>{let{data:Dr}=qr;return Dr.contentItemId}).catch(qr=>{let{response:Dr}=qr;return Promise.reject((Dr==null?void 0:Dr.data)||{})})}finalizeTemporaryAssetItem(Mn,sr){const Ar=`${this.baseUrl}/finalizeTemporaryAssetItem`,vr={contentItemId:Mn,systemDataId:sr};return xt.default.put(Ar,vr).then(qr=>{let{data:Dr}=qr;return Dr}).catch(qr=>{let{response:Dr}=qr;return Promise.reject((Dr==null?void 0:Dr.data)||{})})}constructor(){Pe(this,"baseUrl","/api/background-upload")}}const Ae=new xe,qe=Pr=>{const Mn={[s.h.IMAGE]:Wt().IMAGE,[s.h.VIDEO]:Wt().SQSP_VIDEO};return Ae.createTemporaryAssetItem(Mn[Pr]).then(sr=>Xt.Z.read(sr)).then(sr=>sr.id)},wt=(Pr,Mn)=>Ae.finalizeTemporaryAssetItem(Pr,Mn).then(sr=>Xt.Z.read(sr.id)).then(sr=>sr.id),ut={get:Pr=>Xt.Z.read(Pr),createTemp:Pr=>qe(Pr),updateTemp:(Pr,Mn)=>wt(Pr,Mn),create:(Pr,Mn)=>Vt[Pr](Mn),updateFocalPoint:(Pr,Mn)=>{Xt.Z.updateField.defer(Pr,"mediaFocalPoint",Mn)}};var Ft=e(787592);const In=Pr=>{const Mn=sr=>{let{onChange:Ar,value:vr,assetType:qr,...Dr}=sr;const[eo,Vo]=(0,i.useState)(),Bn=vr==null?void 0:vr.id,ar=eo==null?void 0:eo.id,rn=(0,i.useRef)();rn.current={assetType:qr,fieldDescription:Dr.fieldDescription,assetDestination:Dr.assetDestination,sectionId:Dr.fieldId},(0,i.useEffect)(()=>{let Ye=!0;if(Bn){Vo(void 0);const Ze=setTimeout(async()=>{if(Ye)try{const Mt=await ut.get(Bn);if(Ye&&Mt){const ot=cn[qr](Mt);Vo(ot)}}catch(Mt){(0,Ft.$e)(ot=>{const et=new Error(`AssetUploaderField was rendered for a content item with the ID "${Bn}", but no content item with that ID was found.`,{cause:Mt});ot.setTag("field-description",rn.current.fieldDescription),ot.setTag("asset-destination",rn.current.assetDestination),ot.setTag("asset-type",rn.current.assetType),ot.setTag("section-id",rn.current.sectionId),ot.setFingerprint(["asset-uploader-field-with-invalid-content-id"]),(0,Ft.Tb)(et)})}},0);return()=>{Ye=!1,clearInterval(Ze)}}Vo(void 0)},[Bn,qr,Vo]);const Rt=(0,i.useCallback)(async Ye=>Ye.licensedAssetPreview?{id:Ye.licensedAssetPreview.contentItemId}:{id:await ut.create(qr,Ye.id)},[qr]),Qe=(0,i.useCallback)(Ye=>{var yt,Ze,Mt;const ot=!ro()((yt=Ye.asset)===null||yt===void 0?void 0:yt.id),et=((Ze=Ye.asset)===null||Ze===void 0?void 0:Ze.id)!==ar,St=(Mt=Ye.asset)===null||Mt===void 0?void 0:Mt.mediaFocalPoint,Ht=!ht()(St,eo==null?void 0:eo.mediaFocalPoint);ot||Ar({...Ye,id:void 0,mediaFocalPoint:void 0}),ot&&et&&Ar({...Ye,mediaFocalPoint:void 0}),ot&&!et&&Ht&&(ut.updateFocalPoint(Bn,St),Ar({...Ye,id:Bn,mediaFocalPoint:St}))},[Ar,ar,Bn,eo]);return i.createElement(Pr,{...Dr,assetType:qr,value:{...vr,asset:eo},onAssetReady:Rt,onChange:Qe})};return Mn.displayName="withAssetValueFromV6ContentItem(AssetUploaderField)",Mn.propTypes={onChange:u().func.isRequired,value:u().shape({id:u().string,mediaFocalPoint:u().shape({x:u().number,y:u().number}),asset:u().object,embed:He.Z}),assetType:u().oneOf(Object.values(s.h)).isRequired},qn()(Mn,Pr)},rr=Ln,Sr=fo(Ln),Yr=In(Ln)},370483:function(b,l,e){"use strict";e.d(l,{VK:()=>F,tN:()=>ae,rp:()=>fe,W7:()=>z,EV:()=>we,Th:()=>g,mH:()=>he,Qy:()=>Fe,Rd:()=>me});var r=e(834105),o=function($e){return $e.TRIAL="TRIAL",$e.SUBSCRIBER="SUBSCRIBER",$e.MEMBER_AREAS="MEMBER_AREAS",$e.MEMBER_AREAS_PRO="MEMBER_AREAS_PRO",$e}(o||{});const n=o;var a=e(212004),i=e.n(a),c=e(125943),u=e.n(c),f=e(831131),d=e(144771),h=e.n(d);const g=()=>{const $e=r.Z.isTrial(),Ot=f.Z.getFirstStatusForProductType(h().MEMBER_AREAS),Pt=(Ot==null?void 0:Ot.state)===u().ACTIVE;return $e?n.TRIAL:Pt?(Ot==null?void 0:Ot.featureLevel)!==i().MEMBER_AREAS_PRO?n.MEMBER_AREAS:n.MEMBER_AREAS_PRO:n.SUBSCRIBER};var _=e(714487),p=e(149893),y=e(935237),O=e(647221),P=e(819596);const C=(0,_.t)("Digital Products",null,{project:"apps.assetUploader"}),A=(0,_.t)("View Plans",null,{project:"apps.assetUploader"}),S=(0,_.t)("Get more storage",null,{project:"apps.assetUploader"}),T=(0,_.t)("Browse Plans",null,{project:"apps.assetUploader"}),s=$e=>{let{storageRemainingMessage:Ot}=$e;return(0,_.t)("{storageRemainingMessage} Upgrade your plan to get more video storage.",{storageRemainingMessage:Ot},{project:"apps.assetUploader",notes:'Prompt for users to upgrade their plans when they run out of video storage or approach the limit. {storageRemainingMessage} indicates the amount of video storage remaining, example: "You only have 30 minutes of video storage left."'})},v=$e=>{let{storageRemainingMessage:Ot}=$e;return(0,_.t)("{storageRemainingMessage} Add a {productNameMessage} plan to your Squarespace plan to get more video storage.",{storageRemainingMessage:Ot,productNameMessage:C},{project:"apps.assetUploader",notes:'product name will be Member Areas or Digital Products{storageRemainingMessage} indicates the amount of video storage remaining, example: "You only have 30 minutes of video storage left."productNameMessage is "Digital Products"'})},m=(0,_.t)("Add {productNameMessage} Plan",{productNameMessage:C},{project:"apps.assetUploader",notes:"product name will be Member Areas or Digital Products"}),E={[n.TRIAL]:$e=>{let{storageRemainingMessage:Ot,openWebsiteCheckout:Pt}=$e;return{title:S,message:s({storageRemainingMessage:Ot}),label:(0,O.m)()?A:T,onClick:Pt}},[n.SUBSCRIBER]:$e=>{let{storageRemainingMessage:Ot,openWebsiteCheckout:Pt}=$e;return{title:S,message:(0,O.m)()?s({storageRemainingMessage:Ot}):v({storageRemainingMessage:Ot}),label:(0,O.m)()?A:m,onClick:()=>{(0,O.m)()?Pt==null||Pt():(0,p.j6)(h().MEMBER_AREAS,p.vl.NEW_PURCHASE,{eventChannel:y.eg})}}},[n.MEMBER_AREAS]:$e=>{let{storageRemainingMessage:Ot}=$e;return{title:(0,_.t)("Upgrade for more storage",null,{project:"apps.assetUploader"}),message:(0,_.t)("{storageRemainingMessage} Upgrade to the next {productNameMessage} plan to get more video storage.",{storageRemainingMessage:Ot,productNameMessage:C},{project:"apps.assetUploader",notes:"product name will be Member Areas or Digital Products"}),label:(0,_.t)("Upgrade",null,{project:"apps.assetUploader"}),onClick:()=>{(0,p.j6)(h().MEMBER_AREAS,p.vl.BILLING_PLAN_SWITCH,{eventChannel:y.eg})}}},[n.MEMBER_AREAS_PRO]:$e=>{let{storageRemainingMessage:Ot,openPicker:Pt}=$e;return{title:(0,_.t)("Not enough storage left",null,{project:"apps.assetUploader"}),message:(0,_.t)("{storageRemainingMessage} Free up space by deleting videos from your library.",{storageRemainingMessage:Ot},{project:"apps.assetUploader"}),label:(0,_.t)("Go to your library",null,{project:"apps.assetUploader"}),onClick:Pt}}},I=$e=>({hours:Math.floor($e/3600),minutes:Math.floor($e%3600/60)}),L=$e=>{let{secondsValue:Ot=0}=$e;Ot<0&&(Ot=0);const{hours:Pt,minutes:Ie}=I(Ot),Bt=(0,_.oH)({value:Pt,unit:"hour"},{length:"long"}),mt=(0,_.oH)({value:Ie,unit:"minute"},{length:"long"}),rt=(0,_.oH)({value:Math.floor(Ot),unit:"second"},{length:"long"});return Pt>0&&Ie>0?(0,_.t)("You only have {formattedHours} and {formattedMinutes} of video storage left.",{formattedHours:Bt,formattedMinutes:mt},{project:"apps.assetUploaderassetUploader",notes:'Time remaining with both hours and minutes displayed in a long form.Ex: "You only have 2 hours and 20 minutes of video storage left."'}):Pt>0?(0,_.t)("You only have {formattedHours} of video storage left.",{formattedHours:Bt},{project:"apps.assetUploaderassetUploader",notes:'Time remaining with only hours displayed in a long form.Ex: "You only have 2 hours of video storage left."'}):Math.abs(Ie)>0||Ot===0?(0,_.t)("You only have {formattedMinutes} of video storage left.",{formattedMinutes:mt},{project:"apps.assetUploaderassetUploader",notes:'Time remaining with only minutes displayed in a long form.Ex: "You only have 2 minutes of video storage left."'}):(0,_.t)("You only have {formattedSeconds} of video storage left.",{formattedSeconds:rt},{project:"apps.assetUploaderassetUploader",notes:'Time remaining with only seconds displayed in a long form.Ex: "You only have 20 seconds of video storage left."'})},W=$e=>{let{storageRemainingMessage:Ot,openWebsiteCheckout:Pt}=$e;return{title:S,message:(0,_.t)("{storageRemainingMessage} Upgrade your Squarespace plan to get more video storage",{storageRemainingMessage:Ot},{project:"apps.assetUploader"}),label:(0,_.t)("Upgrade",null,{project:"apps.assetUploader"}),onClick:Pt}},F=$e=>{let{planStatus:Ot,secondsValue:Pt=0,openPicker:Ie,openWebsiteCheckout:Bt}=$e;const mt=L({secondsValue:Pt});return(0,P.z)()?W({storageRemainingMessage:mt,openWebsiteCheckout:Bt}):E[Ot]({storageRemainingMessage:mt,openPicker:Ie,openWebsiteCheckout:Bt})};var G=e(58468),k=e(850882),x=e(637635),M=e(270848),B=e.n(M),R=e(211568),U=e(607620),j=e(867826),$=e(856747),ee=e(437327),te=e.n(ee);const ie=async $e=>{const Ot=Ie=>new Promise((Bt,mt)=>{setTimeout(()=>{$.Z.load(Ie.id).then(rt=>{Bt(rt.data[0])}).catch(rt=>{mt(rt)})},2e3)}),Pt=async Ie=>{if(!Ie||!Ie.status||Ie.status===te().FAILURE)throw new Error("job failed");if(Ie.status===te().WAITING||Ie.status===te().PROCESSING){const Bt=await Ot(Ie);return Pt(Bt)}return Ie};return Pt($e)},ne=async($e,Ot)=>{const Pt=(0,U.Z)($e,B().IMAGE,j.Z.TRANSIENT,Ot);return R.r2(void 0,R.ns.IMAGE,Pt).then(Ie=>{if(Ie!=null&&Ie.data)return{job:Ie.data.job,media:Ie.data.media[0]};throw new Error("No response data")}).catch(Ie=>{console.error(Ie)})},pe=async $e=>await ie($e),oe=ne,q=$e=>({assetType:k.h.IMAGE,assetUrl:$e.assetUrl,fileType:$e.contentType,filename:$e.filename,id:$e.systemDataId,licensedAssetPreview:{...$e.licensedAssetPreview,contentItemId:$e.id},mediaFocalPoint:$e.mediaFocalPoint}),me=($e,Ot,Pt)=>{oe($e).then(Ie=>{let{job:Bt,media:mt}=Ie;return Ot(mt.filename),Bt}).then(Ie=>pe(Ie)).then(Ie=>{var Bt;const mt=Ie==null||(Bt=Ie.data)===null||Bt===void 0?void 0:Bt.contentItemId;mt&&setTimeout(async()=>{x.Z.fetch(mt).then(rt=>rt==null?void 0:rt.toJS()).then(rt=>{const ce=q(rt);Pt(ce)})},0)})};var re=e(798589);const he=$e=>re!=null&&re.isMobile()||window.MOBILEAPP?!1:$e==="image-block";var Ee=e(276309);const fe=$e=>{let{onClosePicker:Ot,onUploadStart:Pt,onUploadProcess:Ie,assetDetails:Bt,props:mt,assetType:rt,completionXHRConfig:ce,isUploadVisible:Re}=$e;return async st=>{let{assets:vt}=st;Ot();const ze=vt[0];if(ze.assetId===Bt.id)return;mt.onChange({asset:Bt}),Pt({assetType:rt,id:Bt.id,isExternalUrl:!1},null,ce,Re),Ie();let on={id:ze.assetId,assetType:ze.assetType,filename:ze.filename};if(ze.assetType===k.h.IMAGE)on={...on,assetUrl:ze.imageSrc,fileType:`image/${ze.fileExtension.toLowerCase()}`,licensedAssetPreview:void 0,mediaFocalPoint:{x:.5,y:.5}};else if(ze.assetType===k.h.VIDEO){const{assetUrl:Yn,durationSeconds:Ln,outputAudioCodec:bn,outputVideoCodec:ir,videoFileFormat:Zn,resolutions:$n}=ze,jt=jn=>bn?`${Zn}-${ir}-${bn}-${jn}`:`${Zn}-${ir}-${jn}`,[Rn]=$n.split(",").map(jn=>jt(jn));on={...on,assetUrl:Yn.replace("{variant}",Rn),fileDuration:Ln,thumbnailUrl:Yn.replace("{variant}","thumbnail")}}const Pn=await mt.onAssetReady(on);mt.onChange({asset:on,...Pn})}};var H=e(626606);const z=$e=>{let{onClosePicker:Ot,onUploadStart:Pt,onUploadProcess:Ie,onUploadComplete:Bt,executeCompletionXHRsIfPresent:mt,uploadImageUrl:rt,assetDetails:ce,props:Re,assetType:nt,completionXHRConfig:st,fieldDescription:vt,fieldId:ze,isUploadVisible:It}=$e;return async Pn=>{let{data:Yn}=Pn;const Ln=ce.id;Pt({assetType:nt,id:Ln},null,st,It),H.Z.finishLoadingImage(),Ot(),rt(Yn,Zn=>{const $n={id:Ln,assetUrl:Yn.url,assetType:nt,filename:Zn};Ie($n)},async Zn=>{const $n=await Re.onAssetReady(Zn);Re.onChange({asset:Zn,...$n}),Bt(Zn),mt(st,vt,ze)})}};var _e=e(320110);const ae=$e=>$e===_e.Z.PAGE_SECTION_BACKGROUND_IMAGE;var ge=e(657408),Be=e(417762),Ke=e(902442),He=e(56059);const ye=$e=>{let{assetIds:Ot,destinationLibraryId:Pt,destinationPath:Ie="/",sourceLibraryId:Bt}=$e;const mt=`${(0,R.am)()}/user/libraries/${Pt}/importAssetsWithPath`,rt=Ot.reduce((ce,Re)=>(ce.push({sourceLibraryId:Bt,sourceAssetId:Re,destinationPath:Ie}),ce),[]);return(0,Ke.z)({libraryId:Pt,url:mt,data:{assetImports:rt},method:He.B.Post}).then(ce=>{if("data"in ce){var Re;const nt=[];return(Re=ce.data.results)===null||Re===void 0||Re.forEach(st=>{nt.push(st.toAssetId)}),nt}console.error(`Import asset failed due to error:${ce==null?void 0:ce.error}`)})};var Le=e(414716);const Ue=$e=>{let{libraryId:Ot,params:Pt={}}=$e;const Ie=`?${(0,Le.I)(Pt)}`,Bt=`${(0,R.am)()}/user/libraries/${Ot}/assets${Ie}`;return(0,Ke.z)({libraryId:Ot,url:Bt}).then(mt=>{if("data"in mt)return mt.data;console.error(`Get assets failed due to error:${mt==null?void 0:mt.error}`)})},Xe=async $e=>{let{bkgAsset:Ot,libraryId:Pt}=$e;const Ie=await Ue({libraryId:Pt,params:{assetSources:[Be.oI.AI_SECTION_BG],search:Ot.filename}}),Bt=Ie==null?void 0:Ie.assetRecords;if(Bt!=null&&Bt.length)return Bt.find(rt=>Ot.filename===rt.stringMetaData.fileName)},Fe=$e=>{let{onClosePicker:Ot,onUploadFail:Pt,onUploadStart:Ie,onUploadProcess:Bt,assetDetails:mt,props:rt,assetType:ce,completionXHRConfig:Re,libraryId:nt}=$e;const{onChange:st,onAssetReady:vt}=rt;return async It=>{let{asset:on}=It;var Pn,Yn;Ot(),rt.onChange({asset:mt}),Ie({assetType:ce,id:mt.id,isExternalUrl:!1},null,Re,!1),Bt();const Ln=(Yn=(0,ge.getWebsiteContext)())===null||Yn===void 0||(Pn=Yn.websitesContentContext)===null||Pn===void 0?void 0:Pn.aiBackgroundsLibraryId;if(!Ln){console.error("AI backgrounds library ID is missing from context");return}const bn={id:"",assetType:k.h.IMAGE,assetUrl:on.imageSrc,filename:on.filename,fileType:`image/${on.fileExtension.toLowerCase()}`,licensedAssetPreview:void 0,mediaFocalPoint:{x:.5,y:.5}},ir=await Xe({bkgAsset:on,libraryId:nt});if(ir)bn.id=ir.id;else{const Zn=await ye({assetIds:[on.assetId],destinationLibraryId:nt,sourceLibraryId:Ln});Zn!=null&&Zn.length&&(bn.id=Zn[0])}if(bn.id.length){const Zn=await vt(bn);st({asset:bn,...Zn})}else Pt({title:(0,_.t)("Unable to Add Image",null,{project:"assetManagement.assetUploader"}),message:(0,_.t)("Try refreshing the page and adding the image again.",null,{project:"assetManagement.assetUploader"})})}};var ht=e(98393),Ne=e(263681),Ce=e(30712);const we=$e=>{let{assetType:Ot,constraints:Pt={}}=$e;const{isWebpEnabled:Ie}=(0,Ce.L)(),Bt=[...(Pt==null?void 0:Pt.acceptedTypes)||Object.values(ht.kr),ht.yB.WebP],mt=Ot===k.h.IMAGE?Bt:void 0,rt=Ie?{...Pt,acceptedTypes:mt}:Pt;return(0,Ne.Z)(Ot,rt)}},199155:function(b,l,e){"use strict";e.d(l,{Z:()=>A});var r=e(174161),o=e(934951),n=e(983171),a=e(100638),i=e(881707),c=e(600994),u=e(719484),f=e(725538),d=e(161381);const h=S=>{let{isOpen:T,setIsOpen:s,handleTracking:v,router:m}=S;return r.createElement(f.Z.Transition,null,T&&r.createElement(f.Z,{onRequestClose:()=>s(!1),zIndex:31e3},r.createElement(f.Z.Overlay,null),r.createElement(f.Z.Position,{position:"center"},r.createElement(f.Z.Dialog,null,r.createElement(i.Z,{pb:2,pt:5,px:6,tabIndex:0,width:"sizes.700"},r.createElement(c.Z.Tertiary,{mb:4,onClick:()=>s(!1)},r.createElement(o.T,{project:"apps.App"},"Close")),r.createElement(u.Z.Title,{py:1},r.createElement(o.T,{project:"apps.App"},"Upgrade account?")),r.createElement(u.Z.Subtitle,{color:"gray.300",pb:4,pt:0,mb:0,mt:2},r.createElement(o.T,{project:"apps.App"},"Access more features by upgrading to a different plan.")),r.createElement(n.Yz.Primary,{onClick:()=>{m.redirect("/config/settings/billing/subscriptions/website"),s(!1),v("upgrade_click")},size:"large",mb:5,sx:{width:"100%"}},r.createElement(o.T,{project:"apps.App"},"Upgrade")))))))},g=(0,d.Z)(h);var _=e(406713),p=e(659519),y=e(976490),O=e.n(y),P=e(47932);const A=S=>{let{iconOnly:T,isYUILabelRender:s,analyticsId:v,isTrial:m}=S;const[E,I]=(0,r.useState)(!1),{colors:L}=(0,P.F)(),W=F=>{(0,p.Z)("feature_gate",{action:F,identifier:v,isTrial:m,currentPlan:_.Z.getPaidWebsiteFeatureLevel()})};return W("display"),r.createElement(r.Fragment,null,T?r.createElement(a.Z,{className:O().yuiIcon,color:L.blue[100],onClick:()=>I(!0)}):r.createElement(n.__,{onClick:()=>I(!0),ml:s?6:0,mt:s?2:0},r.createElement(o.T,{project:"commerce-shipping-screen"},"Upgrade")),r.createElement(g,{isOpen:E,setIsOpen:I,handleTracking:W}))}},181169:function(b,l,e){"use strict";e.d(l,{K:()=>d,Z:()=>p});var r=e(174161),o=e(411722),n=e(725538),a=e(714487),i=e(934951);let c,u,f;const d=y=>{c=y.afterBackOut,u=y.afterConfirmDiscard,f=y.afterConfirmSaveDiscard},h=()=>{c=void 0,u=void 0,f=void 0},g=r.createElement(i.T,{project:"apps.App",notes:"Title of a modal that appears when users try to exit edit mode"},"Exit Without Saving?"),p=y=>{let{isOpen:O,requestClose:P,innerRef:C,onExit:A,onConfirm:S}=y;const T=C||"center",s=C?"bottom-left":void 0;return r.createElement(n.Z.Transition,null,O&&r.createElement(n.Z,{onRequestClose:v=>{P(),["esc","hashchange","overlay_click"].includes(v==null?void 0:v.source)&&(c==null||c(),h())}},r.createElement(n.Z.Overlay,null),r.createElement(n.Z.Position,{positionPoint:s,position:T},r.createElement(o.Z,{title:g,message:(0,a.t)("Any unsaved changes will be discarded when you exit.",null,{project:"src.seven-one"}),buttons:[v=>{let{onRequestClose:m}=v;return r.createElement(o.Z.Button,{key:"save","data-fs":"discard-confirmation-save",onClick:async()=>{m(),await S(),f==null||f(),h()}},(0,a.t)("Save",null,{project:"src.seven-one"}))},v=>{let{onRequestClose:m}=v;return r.createElement(o.Z.Button,{variant:"danger",key:"exit","data-fs":"discard-confirmation-exit",onClick:()=>{A(),m(),u==null||u(),h()}},(0,a.t)("Exit",null,{project:"src.seven-one"}))}]}))))}},225093:function(b,l,e){"use strict";e.d(l,{Z:()=>fe});var r=e(174161),o=e(337061),n=e(153088),a=e(101311),i=e(276309),c=e(795478),u=e.n(c),f=e(338527),d=e(444531),h=e(35496),g=e.n(h),_=e(217528),p=e(938077),y=e(714487),O=e(934951),P=e(954142),C=e(868192),A=e(114527),S=e.n(A);function T(H,z,_e){return z in H?Object.defineProperty(H,z,{value:_e,enumerable:!0,configurable:!0,writable:!0}):H[z]=_e,H}const s=15447024e5;var v;class m extends(v=r.Component){render(){return r.createElement(f.ZP,{isOpen:this.shouldShowModal(),message:r.createElement("div",{className:S().welcomeModal},r.createElement("h2",{className:S().welcomeModalTitle},r.createElement(O.T,{project:"imageEditor.ui"},"Welcome to the new Squarespace Image Editor")),r.createElement("p",{className:S().welcomeModalText},r.createElement(O.T,{project:"imageEditor.ui",learnMore:r.createElement("a",{href:`${C.IMAGE_EDITOR}#toc-my-image-editor-looks-different`,target:"_blank"},r.createElement(O.T,{project:"imageEditor.ui"},"Learn more"))},"Designed to help you make essential edits. {learnMore}")),r.createElement(P.default,{color:"default",alignment:"center",inverted:!0,label:(0,y.t)("Get Started",null,{project:"imageEditor.ui"}),onClick:this.onCloseWelcomeMessage,underlined:!1,className:S().welcomeDismissButton})),baseZIndex:4e4,maxWidth:330})}constructor(z){super(z),T(this,"shouldShowModal",()=>{const{isImageEditorOpen:_e}=this.props,{isWelcomeDismissed:ae}=this.state;return!!(_e&&!this.hasSeenWelcomeMessage&&this.memberAccountCreatedOn<s&&!ae)}),T(this,"onCloseWelcomeMessage",()=>{(0,o.dispatchCmsReduxAction)((0,_.ic)(g().WELCOME_MESSAGE)),this.setState({isWelcomeDismissed:!0})}),this.state={isWelcomeDismissed:!1},this.hasSeenWelcomeMessage=(0,p.getIsTutorialCompleted)((0,o.getCmsReduxState)(),g().WELCOME_MESSAGE)??!1,this.memberAccountCreatedOn=(0,p.getAuthenticatedAccountCreatedOn)((0,o.getCmsReduxState)())}}T(m,"propTypes",{isImageEditorOpen:u().bool.isRequired});const E=m;var I=e(238569);const L=H=>{let{isOpen:z,onConfirm:_e,onDismiss:ae}=H;return r.createElement(I.Z,{title:(0,y.t)("Animated GIFs aren\u2019t supported.",null,{project:"imageEditor.ui"}),message:(0,y.t)("When you edit an animated GIF, you\u2019ll only edit the very first frame and make the image static.",null,{project:"imageEditor.ui"}),isOpen:z,onConfirm:_e,onDismiss:ae,onRequestClose:ae,confirmStyle:"default",cancelStyle:"default",confirmLabel:(0,y.t)("Edit Anyway",null,{project:"imageEditor.ui"}),cancelLabel:(0,y.t)("Cancel",null,{project:"imageEditor.ui"}),baseZIndex:4e4})};L.propTypes={isOpen:u().bool,onConfirm:u().func,onDismiss:u().func},L.defaultProps={isOpen:!1,onConfirm:()=>{},onDismiss:()=>{}};const W=L;var F=e(410016),G=e(189067),k=e.n(G),x=e(759352);const M={SAVE:(0,y.t)("Save",null,{project:"imageEditor.ui"}),CANCEL:(0,y.t)("Cancel",null,{project:"imageEditor.ui"}),FLIP_X:(0,y.t)("Flip X",null,{project:"imageEditor.ui"}),FLIP_Y:(0,y.t)("Flip Y",null,{project:"imageEditor.ui"}),RESET_ADJUST:(0,y.t)("Reset",null,{project:"imageEditor.ui"}),BRIGHTNESS:(0,y.t)("Brightness",null,{project:"imageEditor.ui"}),SATURATION:(0,y.t)("Saturation",null,{project:"imageEditor.ui"}),SHARPNESS:(0,y.t)("Sharpness",null,{project:"imageEditor.ui"}),BLUR:(0,y.t)("Blur",null,{project:"imageEditor.ui"}),CONTRAST:(0,y.t)("Contrast",null,{project:"imageEditor.ui"}),HIGHLIGHTS:(0,y.t)("Highlights",null,{project:"imageEditor.ui"}),SHADOWS:(0,y.t)("Shadows",null,{project:"imageEditor.ui"}),RESET_CROP:(0,y.t)("Reset",null,{project:"imageEditor.ui"}),FILTER_STRENGTH:(0,y.t)("Strength",null,{project:"imageEditor.ui"}),REVIEW_CANCEL:{CANCEL_LABEL:(0,y.t)("Resume",null,{project:"imageEditor.ui"}),CONFIRM_LABEL:(0,y.t)("Discard",null,{project:"imageEditor.ui"}),MESSAGE:(0,y.t)("Are you sure you want to discard your changes? This can't be undone.",null,{project:"imageEditor.ui"})},REVIEW_SAVE:{CANCEL_LABEL:(0,y.t)("Resume",null,{project:"imageEditor.ui"}),CONFIRM_LABEL:(0,y.t)("Save",null,{project:"imageEditor.ui"}),MESSAGE:(0,y.t)("Are you sure you want to save your changes? This will be permanent.",null,{project:"imageEditor.ui"})},EDITOR_TYPE:{LIGHT_AND_COLOR:(0,y.t)("Adjust",null,{project:"imageEditor.ui"}),CROP_AND_ROTATE:(0,y.t)("Crop",null,{project:"imageEditor.ui"}),FILTER:(0,y.t)("Filter",null,{project:"imageEditor.ui"})},FILTER_CONFIG:{VOYAGER:(0,y.t)("Voyager",null,{project:"imageEditor.ui"}),APOLLO:(0,y.t)("Apollo",null,{project:"imageEditor.ui"}),CASSINI:(0,y.t)("Cassini",null,{project:"imageEditor.ui"}),GRAMERCY:(0,y.t)("Gramercy",null,{project:"imageEditor.ui"}),DENALI:(0,y.t)("Denali",null,{project:"imageEditor.ui"}),NIAGARA:(0,y.t)("Niagara",null,{project:"imageEditor.ui"}),DELAVAN:(0,y.t)("Delavan",null,{project:"imageEditor.ui"}),FACET:(0,y.t)("Facet",null,{project:"imageEditor.ui"}),FRIEZE:(0,y.t)("Frieze",null,{project:"imageEditor.ui"}),SERENGETI:(0,y.t)("Serengeti",null,{project:"imageEditor.ui"}),SAVANNAH:(0,y.t)("Savannah",null,{project:"imageEditor.ui"})},CROP_CONFIG:{ORIGINAL:(0,y.t)("Original",null,{project:"imageEditor.ui"}),TWO_THREE:(0,y.t)("2:3",null,{project:"imageEditor.ui"}),THREE_FOUR:(0,y.t)("3:4",null,{project:"imageEditor.ui"}),FOUR_FIVE:(0,y.t)("4:5",null,{project:"imageEditor.ui"}),NINE_SIXTEEN:(0,y.t)("9:16",null,{project:"imageEditor.ui"}),CUSTOM:(0,y.t)("Custom",null,{project:"imageEditor.ui"}),ONE_ONE:(0,y.t)("1:1",null,{project:"imageEditor.ui"}),THREE_TWO:(0,y.t)("3:2",null,{project:"imageEditor.ui"}),FOUR_THREE:(0,y.t)("4:3",null,{project:"imageEditor.ui"}),FIVE_FOUR:(0,y.t)("5:4",null,{project:"imageEditor.ui"}),SIXTEEN_NINE:(0,y.t)("16:9",null,{project:"imageEditor.ui"})}};var B=e(936177),R=e.n(B),U=e(47932),j=e(18724),$=e(627199),ee=e(694598),te=e(190644);function ie(H,z,_e){return z in H?Object.defineProperty(H,z,{value:_e,enumerable:!0,configurable:!0,writable:!0}):H[z]=_e,H}const ne=()=>r.createElement("div",{className:k().spinner},r.createElement(d.default,{size:"large"})),pe=["images.squarespace-cdn.com","image-origin.dev.squarespace.net"],oe=(0,F.Z)(()=>Promise.all([e.e("44368"),e.e("67180"),e.e("86412"),e.e("44953"),e.e("43295"),e.e("90067")]).then(e.t.bind(e,844195,23)),ne),q=function(H){let z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document.location.origin,_e=arguments.length>2?arguments[2]:void 0;const ae=(0,x.Lp)(H||""),ge=(0,$.Q)({src:H,token:(0,te.p)()&&_e,format:2500});if(pe.find(Ke=>ae===Ke))return ge;const Be=z+(0,x.DW)(H).replace(/^[\/]{0,1}static\//,"/static/image-editor/");return(0,$.Q)({src:Be,token:(0,te.p)()&&_e,format:2500})},J=function(){let H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return H?H.indexOf(".gif")!==-1||H.indexOf("image/gif")!==-1:!1};var me;class re extends(me=r.Component){async componentDidMount(){if((0,te.p)()){const z=await this.getImageAuthToken();this.setState({imageAuthToken:z})}}static getDerivedStateFromProps(z,_e){const ae={},ge=J(z.imageSrc);return z.isOpen&&!_e.isOpen?Object.assign(ae,{isGifWarningOpen:ge,isOpen:!ge,instanceId:_e.instanceId+1}):!z.isOpen&&_e.isOpen&&Object.assign(ae,{isOpen:!1,isGifWarningOpen:!1}),ae}render(){const{onCancel:z,imageSrc:_e,imageFileName:ae}=this.props,{instanceId:ge,isGifWarningOpen:Be,isOpen:Ke,imageAuthToken:He}=this.state;return r.createElement("div",{onClick:ye=>ye.stopPropagation(),onKeyUp:ye=>{ye.stopPropagation()}},r.createElement(f.IX,{className:k().modal,isOpen:Ke,closeTimeoutMS:220,baseZIndex:4e4,style:{content:{position:"absolute",top:"0",left:"0",transform:""}}},r.createElement("div",{className:"image-picker-overlay escmanager-ignore"},Ke&&r.createElement(U.Z.Provider,{theme:j.rosetta.white},r.createElement(oe,{instance:ge,onSave:this.handleSave,onCancel:z,imageSrc:q(_e,void 0,He),imageFileName:ae,messages:M,showExperimentalFeatures:!0,webglEnabled:!0})))),r.createElement(E,{isImageEditorOpen:Ke}),r.createElement(W,{isOpen:Be,onConfirm:this.handleGifWarningConfirm,onDismiss:this.handleGifWarningCancel}))}constructor(z){super(z),ie(this,"getImageAuthToken",async()=>await(0,ee.b)("session-storage")),ie(this,"handleSave",_e=>{const{onSave:ae,imageSrc:ge}=this.props;setTimeout(()=>{R().trackCaughtError("ImageEditor",`ImageEditorSaveEvent : Previous Source: ${ge}`)},0),ae(_e)}),ie(this,"handleGifWarningConfirm",()=>{this.setState({isGifWarningOpen:!1,isOpen:!0})}),ie(this,"handleGifWarningCancel",()=>{this.props.onCancel(),this.setState({isGifWarningOpen:!1})}),this.state={isOpen:!1,instanceId:0,isGifWarningOpen:!1,imageAuthToken:void 0}}}ie(re,"propTypes",{imageSrc:u().string,imageFileName:u().string,isOpen:u().bool,onSave:u().func.isRequired,onCancel:u().func.isRequired});const he=re,fe=H=>r.createElement(o.default,null,r.createElement(he,H))},776533:function(b,l,e){"use strict";e.d(l,{Z:()=>te});var r=e(374335),o=e.n(r),n=e(276406),a=e.n(n),i=e(347560),c=e(544255),u=e.n(c),f=e(999880);class d{preview(ne){let pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return oe=>{oe();const q=(0,f.t7)(ne,pe);return q.then(this.previewSuccess,J=>{console.error("Error previewing",J),this.previewFail()}),q}}getGettyPriceWithTax(){let ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return pe=>{pe();const oe=(0,f.Fi)(u().GETTY,ne);return oe.then(this.getGettyPriceWithTaxSuccess,q=>{console.error("Error getting price with tax",q),this.getGettyPriceWithTaxFail()}),oe}}constructor(){this.generateActions("previewSuccess","previewFail","getGettyPriceWithTaxSuccess","getGettyPriceWithTaxFail")}}const h=i.Z.createActions(d);class g{onPreview(){this.setState({isLoading:!0})}onPreviewSuccess(ne){let{invoice:pe}=ne;this.setState({isLoading:!1,invoice:pe})}onPreviewFail(){this.setState({isLoading:!1})}onGetGettyPriceWithTax(){this.setState({isPriceForSourceWithTaxLoading:!0})}onGetGettyPriceWithTaxSuccess(ne){this.setState({isGettyPriceWithTaxLoading:!1,gettyPriceWithTax:ne})}onGetGettyPriceWithTaxFail(){this.setState({isGettyPriceWithTaxLoading:!1})}constructor(){this.bindActions(h),this.state={isLoading:!1,invoice:null,isGettyPriceWithTaxLoading:!1,gettyPriceWithTax:null}}}const _=i.Z.createStore(g,"PurchasePreviewStore");var p=e(896136),y=e(142477),O=e(267359),P=e(312039),C=e(174161),A=e(861288),S=e.n(A),T=e(795478),s=e.n(T),v=e(144771),m=e.n(v),E=e(149893),I=e(787592),L=e(244712),W=e(839241),F=e(714487);const G={title:(0,F.t)("Couldn\u2018t Add Image",null,{project:"universal-checkout"}),message:(0,F.t)("We\u2018re having trouble adding your image right now. Go to Image Search, then the Imported tab to add your image.",null,{project:"universal-checkout"})},k={title:(0,F.t)("Something Happened",null,{project:"universal-checkout"}),message:(0,F.t)("There was an error while licensing the image.",null,{project:"universal-checkout"})};var x=e(997305),M=e(791818),B=e(635897);function R(ie,ne,pe){return ne in ie?Object.defineProperty(ie,ne,{value:pe,enumerable:!0,configurable:!0,writable:!0}):ie[ne]=pe,ie}const U=4e5;var j;class $ extends(j=C.Component){static getDerivedStateFromError(){return{error:k}}_initEventEmitters(){this.ucModalCloseStart=new E.Ac(E.bg.CLOSE_START,{channel:this.ucEventChannel}),this.purchaseComplete=new E.Ac(E.bg.PURCHASE_COMPLETE,{channel:this.ucEventChannel})}componentDidMount(){h.getGettyPriceWithTax.defer(),this.purchaseComplete.subscribe(this.onPurchaseComplete),this.ucModalCloseStart.subscribe(this.onCloseModal)}componentDidCatch(ne){(0,I.$e)(pe=>{(0,B.N)(pe),pe.setTag("uc-product-area",m().GETTY_IMAGE),(0,I.Tb)(ne)})}componentWillUnmount(){this.purchaseComplete.unsubscribe(),this.ucModalCloseStart.unsubscribe()}onCurrencyChange(ne,pe){const{assetPreview:oe}=this.props;h.preview(oe,ne),pe({[m().GETTY_IMAGE]:{currencyCode:ne}})}onPurchaseComplete(ne){const oe=((ne==null?void 0:ne.detail)||{}).purchaseData,{assetPreview:q}=this.props;W.Z.load(),L.Z.fetch();const J=L.Z.getDownloadUrl(oe);this.setState({[q.assetId]:{licensedAssetId:oe.id,downloadUrlPromise:J}})}onCloseModal(ne){const{purchaseCompleted:pe}=(ne==null?void 0:ne.detail)||{},{assetPreview:oe,onPurchaseSuccess:q,onRequestClose:J}=this.props;if(!pe){J();return}const me=oe.assetId,{licensedAssetId:re,downloadUrlPromise:he}=this.state[me];he.then(Ee=>{let{data:fe}=Ee;q({url:fe.url,licensedAssetId:re})}).catch(Ee=>{this.setState({error:G}),J()}),this.setState({[me]:null})}renderErrorAlert(){const{error:ne}=this.state;return C.createElement(x.Z,{testAttr:"license-image-error-alert",isOpen:!!ne,title:ne==null?void 0:ne.title,message:ne==null?void 0:ne.message,onDismiss:this.onDismissError})}onDismissError(){this.setState({error:null})}render(){const{isOpen:ne,assetPreview:pe,previewUrl:oe,currency:q,isCustomerLoaded:J,planId:me}=this.props;return!pe||!oe||!me?null:C.createElement(C.Fragment,null,this.renderErrorAlert(),J&&C.createElement(M.E,{isOpen:ne,onRequestClose:this.onCloseModal,assetPreview:pe,currencyCode:q,onCurrencyCodeChange:this.onCurrencyChange,previewUrl:oe,planId:me,ucEventChannel:this.ucEventChannel,zIndex:U}))}constructor(ne){super(ne),R(this,"purchaseComplete",{}),R(this,"ucModalCloseStart",{}),R(this,"ucEventChannel",`license-image--${S()()}`),this.onPurchaseComplete=this.onPurchaseComplete.bind(this),this.onCloseModal=this.onCloseModal.bind(this),this.onCurrencyChange=this.onCurrencyChange.bind(this),this.onDismissError=this.onDismissError.bind(this),this.state={error:null},this._initEventEmitters()}}R($,"propTypes",{isOpen:s().bool,assetPreview:s().object,previewUrl:s().string,onPurchaseSuccess:s().func.isRequired,onRequestClose:s().func.isRequired,currency:s().string,planId:s().string}),R($,"defaultProps",{isOpen:!1,onPurchaseSuccess:()=>{},onRequestClose:()=>{}});const ee=$,te=o()({getStores(){return[_,O.Z,P.ZP]},getPropsFromStores(){var ie;const{invoice:ne}=_.getState(),{loaded:pe}=O.Z.getState(),{productType:oe,products:q}=P.ZP.getState();let J=ne==null||(ie=ne.total)===null||ie===void 0?void 0:ie.currencyCode;if(!J){const{gettyPriceWithTax:me}=_.getState();J=me==null?void 0:me.currencyCode}return{currency:J||"USD",isCustomerLoaded:pe,planId:oe===a().GETTY_IMAGE?q==null?void 0:q[0].plans[0].id:null}},componentDidConnect(){const{customer:ie}=O.Z.getState(),{productType:ne}=P.ZP.getState();ie||p.Z.load.defer(),ne!==a().GETTY_IMAGE&&y.Z.getAvailablePlans({planType:a().GETTY_IMAGE})}},ee)},756962:function(b,l,e){"use strict";e.d(l,{O:()=>r});var r=function(o){return o.INTRODUCE="INTRODUCE",o.SELL="SELL",o.SHOWCASE="SHOWCASE",o}({})},746460:function(b,l,e){"use strict";e.d(l,{VW:()=>S,ff:()=>T,fh:()=>A,fs:()=>O,hR:()=>P,tU:()=>y,wZ:()=>C});var r=e(750954),o=e.n(r),n=e(762379),a=e(935662),i=e.n(a),c=e(496518),u=e.n(c),f=e(176515),d=e(756962),h=e(689787),g=e(841863),_;const p=n.Z.isFeatureEnabled(i().SECTION_ADMIN),y=u()([o().GENERAL,o().APPOINTMENTS,o().ABOUT,o().CONTACT,o().SERVICES,o().DIGITAL_PRODUCTS,o().GIVING_PAGES,o().GALLERY,o().TEAM,o().REVIEWS,o().MENU,o().MUSIC,o().RSVP,o().FAQS,o().PRIVACY_POLICY,o().TOS,o().IMPRINT,o().IMPRINT_INDIVIDUAL_ENTREPRENEUR]),O=Object.values(g.a6).map(s=>s.templateConfigType),P={layoutCategories:{key:"layoutCategories",type:"groupLabel",categories:y.map(s=>({key:s,label:h.Z[s],type:"category"}))}},C={engine:"LAYOUT",category:y[0]};p&&y.push(o().STAGING);const A=[{key:d.O.INTRODUCE,categories:[{key:o().HOME},{key:o().ABOUT},{key:o().CONTACT},{key:o().TEAM},{key:o().FAQS}]},{key:d.O.SELL,categories:[{key:o().PRODUCTS,subcategories:[{key:o().STORE},{key:o().FEATURED}]},{key:o().SERVICES,subcategories:[{key:o().SALES_PAGE},{key:o().STORE},{key:o().BOOK_CONSULTATION}]},{key:o().GROUP_EVENTS,subcategories:[{key:o().SALES_PAGE},{key:o().STORE}]},{key:o().CONTENT_AND_MEMBERSHIPS,subcategories:[{key:o().SALES_PAGE},{key:o().MEMBER_SITE},{key:o().COURSE},{key:o().VIDEOS},{key:o().BLOG}]},{key:o().SCHEDULING,subcategories:[{key:o().SALES_PAGE},{key:o().BOOK_APPOINTMENT}]},{key:o().DONATIONS,subcategories:[{key:o().DONATE},{key:o().VOLUNTEER}]}]},{key:d.O.SHOWCASE,categories:[{key:o().PORTFOLIO},{key:o().GALLERY},{key:o().BLOG},{key:o().CALENDAR},{key:o().VIDEOS}]}],S=A.reduce((s,v)=>(s[v.key]={key:v.key,label:f.D[v.key],type:"groupLabel",categories:v.categories.map(m=>({key:m.key,label:f.D[m.key],type:"category"}))},s),{}),T={engine:"FLUID",category:A[0].categories[0].key,subcategory:(_=A[0].categories[0].subcategories)===null||_===void 0?void 0:_[0].key}},676619:function(b,l,e){"use strict";e.d(l,{J9:()=>A,Lc:()=>P,OL:()=>y,Ty:()=>O,iC:()=>h,l3:()=>C,n7:()=>d});var r=e(31966),o=e.n(r),n=e(756962),a=e(918025),i=e(551462),c=e(415711),u=e(24099),f;const d=a.eA.filter(S=>S!==a.CY),h={footerGroup:{key:"footerGroup",type:"groupLabel",categories:u.Z.map(S=>({key:S,type:"category",label:i.Z[S]}))}};let g=0;const _=()=>`layoutGroup${g}`,p={[_()]:{key:_(),type:"groupLabel",categories:[]}},y=a.eA.reduce((S,T)=>(T===a.CY?(g++,S[_()]={key:_(),type:"groupLabel",categories:[]}):S[_()].categories.push({key:T,type:"category",label:i.Z[T]}),S),p),O={engine:"LAYOUT",category:d[0]},P=[{key:n.O.INTRODUCE,categories:[{key:o().INTRO},{key:o().ABOUT},{key:o().CONTACT},{key:o().TEAM},{key:o().FAQS}]},{key:n.O.SELL,categories:[{key:o().PRODUCTS,subcategories:[{key:o().FEATURED},{key:o().DETAILS}]},{key:o().SERVICES,subcategories:[{key:o().OFFERINGS},{key:o().DETAILS},{key:o().CLIENT_LIST}]},{key:o().GROUP_EVENTS,subcategories:[{key:o().OFFERINGS},{key:o().DETAILS},{key:o().ITINERARY},{key:o().LOCATION}]},{key:o().CONTENT_AND_MEMBERSHIPS,subcategories:[{key:o().PRICING_PLANS},{key:o().DETAILS}]},{key:o().SCHEDULING,subcategories:[{key:o().BOOK_APPOINTMENT},{key:o().DETAILS}]},{key:o().DONATIONS,subcategories:[{key:o().DONATE},{key:o().VOLUNTEER}]}]},{key:n.O.SHOWCASE,categories:[{key:o().IMAGES},{key:o().PORTFOLIO},{key:o().TESTIMONIALS},{key:o().VIDEOS},{key:o().CALENDAR},{key:o().MENUS},{key:o().AUDIO},{key:o().CHARTS}]}],C=P.reduce((S,T)=>(S[T.key]={key:T.key,label:c.T[T.key],type:"groupLabel",categories:T.categories.map(s=>({key:s.key,label:c.T[s.key],type:"category"}))},S),{}),A={engine:"FLUID",category:P[0].categories[0].key,subcategory:(f=P[0].categories[0].subcategories)===null||f===void 0?void 0:f[0].key}},176515:function(b,l,e){"use strict";e.d(l,{D:()=>i});var r=e(714487),o=e(750954),n=e.n(o),a=e(756962);const i={[a.O.INTRODUCE]:(0,r.t)("Introduce",null,{project:"websites-content.catalog"}),[a.O.SELL]:(0,r.t)("Sell",null,{project:"websites-content.catalog"}),[a.O.SHOWCASE]:(0,r.t)("Showcase",null,{project:"websites-content.catalog"}),[n().ABOUT]:(0,r.t)("About",null,{project:"websites-content.catalog"}),[n().APPOINTMENTS]:(0,r.t)("Scheduling",null,{project:"websites-content.catalog"}),[n().BLOG]:(0,r.t)("Blog",null,{project:"websites-content.catalog"}),[n().BOOK_APPOINTMENT]:(0,r.t)("Book Appointment",null,{project:"websites-content.catalog"}),[n().BOOK_CONSULTATION]:(0,r.t)("Book Consultation",null,{project:"websites-content.catalog"}),[n().CALENDAR]:(0,r.t)("Calendar",null,{project:"websites-content.catalog"}),[n().CAMPAIGN]:(0,r.t)("Campaign",null,{project:"websites-content.catalog"}),[n().CONTACT]:(0,r.t)("Contact",null,{project:"websites-content.catalog"}),[n().CONTENT_AND_MEMBERSHIPS]:(0,r.t)("Content & Memberships",null,{project:"websites-content.catalog"}),[n().COURSE]:(0,r.t)("Course",null,{project:"websites-content.catalog"}),[n().DESIGNER_LAYOUTS]:(0,r.t)("Designer Layouts",null,{project:"websites-content.catalog"}),[n().DIGITAL_PRODUCTS]:(0,r.t)("Digital Products",null,{project:"websites-content.catalog",notes:"Create a landing page for digital products"}),[n().DONATE]:(0,r.t)("Donate",null,{project:"websites-content.catalog"}),[n().DONATIONS]:(0,r.t)("Donations",null,{project:"websites-content.catalog"}),[n().EVENTS]:(0,r.t)("Events",null,{project:"websites-content.catalog"}),[n().FAQS]:(0,r.t)("FAQs",null,{project:"websites-content.catalog"}),[n().FEATURED]:(0,r.t)("Featured",null,{project:"websites-content.catalog"}),[n().GALLERY]:(0,r.t)("Gallery",null,{project:"websites-content.catalog"}),[n().GENERAL]:(0,r.t)("General",null,{project:"websites-content.catalog"}),[n().GIVING_PAGES]:(0,r.t)("Giving Pages",null,{project:"websites-content.catalog",notes:"Page catalog category where various page templates related to things like donations will be hosted"}),[n().GROUP_EVENTS]:(0,r.t)("Group Events",null,{project:"websites-content.catalog"}),[n().HOME]:(0,r.t)("Home",null,{project:"websites-content.catalog"}),[n().IMPRINT]:(0,r.t)("Imprint",null,{project:"websites-content.catalog"}),[n().IMPRINT_INDIVIDUAL_ENTREPRENEUR]:(0,r.t)("Imprint - Individual Entrepreneur",null,{project:"websites-content.catalog"}),[n().LESSONS]:(0,r.t)("Layouts",null,{project:"websites-content.catalog"}),[n().MEMBER_AREAS]:(0,r.t)("Member Areas",null,{project:"MemberAreas"}),[n().MEMBER_SITE]:(0,r.t)("Member Site",null,{project:"websites-content.catalog"}),[n().MEMBER_SITE_HOMEPAGE]:(0,r.t)("Member Site Homepage",null,{project:"websites-content.catalog"}),[n().MENU]:(0,r.t)("Menu",null,{project:"websites-content.catalog"}),[n().MUSIC]:(0,r.t)("Music",null,{project:"websites-content.catalog"}),[n().PORTFOLIO]:(0,r.t)("Portfolio",null,{project:"websites-content.catalog"}),[n().PRIVACY_POLICY]:(0,r.t)("Privacy Policy",null,{project:"websites-content.catalog"}),[n().PRODUCTS]:(0,r.t)("Products",null,{project:"websites-content.catalog"}),[n().PROJECT]:(0,r.t)("Project",null,{project:"websites-content.catalog"}),[n().REVIEWS]:(0,r.t)("Reviews",null,{project:"websites-content.catalog"}),[n().RSVP]:(0,r.t)("RSVP",null,{project:"websites-content.catalog"}),[n().SALES_PAGE]:(0,r.t)("Sales Page",null,{project:"websites-content.catalog"}),[n().SCHEDULING]:(0,r.t)("Scheduling",null,{project:"websites-content.catalog"}),[n().SERVICES]:(0,r.t)("Services",null,{project:"websites-content.catalog"}),[n().STAGING]:(0,r.t)("Staging (Internal Only)",null,{project:"websites-content.catalog"}),[n().STORE]:(0,r.t)("Store",null,{project:"websites-content.catalog"}),[n().TEAM]:(0,r.t)("Team",null,{project:"websites-content.catalog"}),[n().TOS]:(0,r.t)("Terms of Service",null,{project:"websites-content.catalog"}),[n().VIDEOS]:(0,r.t)("Videos",null,{project:"websites-content.catalog"}),[n().VOLUNTEER]:(0,r.t)("Volunteer",null,{project:"websites-content.catalog"})}},415711:function(b,l,e){"use strict";e.d(l,{T:()=>i});var r=e(714487),o=e(31966),n=e.n(o),a=e(756962);const i={[a.O.INTRODUCE]:(0,r.t)("Introduce",null,{project:"websites-content.catalog"}),[a.O.SELL]:(0,r.t)("Sell",null,{project:"websites-content.catalog"}),[a.O.SHOWCASE]:(0,r.t)("Showcase",null,{project:"websites-content.catalog"}),[n().ABOUT]:(0,r.t)("About",null,{project:"websites-content.catalog"}),[n().AUDIO]:(0,r.t)("Audio",null,{project:"websites-content.catalog"}),[n().APPOINTMENTS]:(0,r.t)("Scheduling",null,{project:"websites-content.catalog"}),[n().BANNER]:(0,r.t)("Banner",null,{project:"websites-content.catalog"}),[n().BENEFITS]:(0,r.t)("Benefits",null,{project:"websites-content.catalog"}),[n().BOOK_APPOINTMENT]:(0,r.t)("Book Appointment",null,{project:"websites-content.catalog"}),[n().CALENDAR]:(0,r.t)("Calendar",null,{project:"websites-content.catalog"}),[n().CHART]:(0,r.t)("Charts",null,{project:"websites-content.catalog"}),[n().CHARTS]:(0,r.t)("Charts",null,{project:"websites-content.catalog"}),[n().CLIENT_LIST]:(0,r.t)("Client List",null,{project:"websites-content.catalog"}),[n().CONTACT]:(0,r.t)("Contact",null,{project:"websites-content.catalog"}),[n().CONTENT_AND_MEMBERSHIPS]:(0,r.t)("Content & Memberships",null,{project:"websites-content.catalog"}),[n().DETAILS]:(0,r.t)("Details",null,{project:"websites-content.catalog"}),[n().DIGITAL_PRODUCTS]:(0,r.t)("Digital Products",null,{project:"websites-content.catalog",notes:"Create a landing section for digital products"}),[n().DONATE]:(0,r.t)("Donate",null,{project:"websites-content.catalog"}),[n().DONATION]:(0,r.t)("Donations",null,{project:"websites-content.catalog"}),[n().DONATIONS]:(0,r.t)("Donations",null,{project:"websites-content.catalog"}),[n().EVENTS]:(0,r.t)("Events",null,{project:"websites-content.catalog"}),[n().FAQS]:(0,r.t)("FAQs",null,{project:"websites-content.catalog"}),[n().FEATURED]:(0,r.t)("Featured",null,{project:"websites-content.catalog"}),[n().FOOTER]:(0,r.t)("Footer",null,{project:"websites-content.catalog"}),[n().FORM]:(0,r.t)("Forms",null,{project:"websites-content.catalog"}),[n().GALLERY]:(0,r.t)("Gallery",null,{project:"websites-content.catalog"}),[n().GROUP_EVENTS]:(0,r.t)("Group Events",null,{project:"websites-content.catalog"}),[n().HEADLINES]:(0,r.t)("Headlines",null,{project:"websites-content.catalog"}),[n().IMAGES]:(0,r.t)("Images",null,{project:"websites-content.catalog"}),[n().INTRO]:(0,r.t)("Intro",null,{project:"websites-content.catalog"}),[n().ITINERARY]:(0,r.t)("Itinerary",null,{project:"websites-content.catalog"}),[n().LIST]:(0,r.t)("List",null,{project:"websites-content.catalog"}),[n().LOCATION]:(0,r.t)("Location",null,{project:"websites-content.catalog"}),[n().LOGO_WALL]:(0,r.t)("Logo Wall",null,{project:"websites-content.catalog"}),[n().MEMBERS]:(0,r.t)("Member Areas",null,{project:"websites-content.catalog"}),[n().MENU]:(0,r.t)("Menus",null,{project:"websites-content.catalog"}),[n().MENUS]:(0,r.t)("Menus",null,{project:"websites-content.catalog"}),[n().MUSIC]:(0,r.t)("Audio",null,{project:"websites-content.catalog"}),[n().NEWSLETTER]:(0,r.t)("Newsletter",null,{project:"websites-content.catalog"}),[n().OFFERINGS]:(0,r.t)("Offerings",null,{project:"websites-content.catalog"}),[n().PEOPLE]:(0,r.t)("People",null,{project:"websites-content.catalog"}),[n().POLICIES]:(0,r.t)("Policies",null,{project:"websites-content.catalog"}),[n().PORTFOLIO]:(0,r.t)("Portfolio",null,{project:"websites-content.catalog"}),[n().PORTFOLIOS]:(0,r.t)("Portfolios",null,{project:"websites-content.catalog"}),[n().PRICING]:(0,r.t)("Pricing",null,{project:"websites-content.catalog"}),[n().PRICING_PLANS]:(0,r.t)("Pricing Plans",null,{project:"websites-content.catalog"}),[n().PRODUCTS]:(0,r.t)("Products",null,{project:"websites-content.catalog"}),[n().QUOTE]:(0,r.t)("Quotes",null,{project:"websites-content.catalog"}),[n().REGISTRY]:(0,r.t)("Registry",null,{project:"websites-content.catalog"}),[n().RESERVATIONS]:(0,r.t)("Reservations",null,{project:"websites-content.catalog"}),[n().RESUME]:(0,r.t)("Resume",null,{project:"websites-content.catalog"}),[n().SCHEDULING]:(0,r.t)("Scheduling",null,{project:"websites-content.catalog"}),[n().SERVICES]:(0,r.t)("Services",null,{project:"websites-content.catalog"}),[n().SOCIAL]:(0,r.t)("Social",null,{project:"websites-content.catalog"}),[n().STAGING]:(0,r.t)("Staging (Internal Only)",null,{project:"websites-content.catalog"}),[n().SUMMARY]:(0,r.t)("Summary",null,{project:"websites-content.catalog"}),[n().TESTIMONIALS]:(0,r.t)("Testimonials",null,{project:"websites-content.catalog"}),[n().TEAM]:(0,r.t)("Team",null,{project:"websites-content.catalog"}),[n().TEXT]:(0,r.t)("Text",null,{project:"websites-content.catalog"}),[n().TOUR_DATES]:(0,r.t)("Tour Dates",null,{project:"websites-content.catalog"}),[n().VIDEO]:(0,r.t)("Videos",null,{project:"websites-content.catalog"}),[n().VIDEOS]:(0,r.t)("Videos",null,{project:"websites-content.catalog"}),[n().VOLUNTEER]:(0,r.t)("Volunteer",null,{project:"websites-content.catalog"}),[n().ORGANIZATION]:(0,r.t)("Organization",null,{project:"websites-content.catalog"}),[n().PRO_USER]:(0,r.t)("Pro User",null,{project:"websites-content.catalog"}),[n().SAVED_SECTIONS]:(0,r.t)("Saved Sections",null,{project:"websites-content.catalog"})}},605254:function(b,l,e){"use strict";e.d(l,{s:()=>u,v:()=>i});var r=e(663634),o=e(762379),n=e(935662),a=e.n(n);const i=(0,r.cr)("new_catalog_taxonomy"),c=!o.Z.isFeatureEnabled(a().FLUID_ENGINE_OPT_OUT),u=i&&c},904177:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(714487),o=e(868192),n=e(400027),a=e(200965);const i={COLLECTION_PANEL:{TITLE:(0,r.t)("Format",null,{project:"src.seven-one"})},GALLERY_PANEL:{TITLE:(0,r.t)("Gallery",null,{project:"src.seven-one"})},SIZE:{SMALL:(0,r.t)("Small",null,{project:"src.seven-one"}),MEDIUM:(0,r.t)("Medium",null,{project:"src.seven-one"}),LARGE:(0,r.t)("Large",null,{project:"src.seven-one"})},SIZE_ABBREVIATIONS:{SMALL:(0,r.t)("S",null,{project:"src.seven-one",notes:'Abbreviation for "Small"'}),MEDIUM:(0,r.t)("M",null,{project:"src.seven-one",notes:'Abbreviation for "Medium"'}),LARGE:(0,r.t)("L",null,{project:"src.seven-one",notes:'Abbreviation for "Large"'})},MULTIPLIER:{ZERO_POINT_FIVE:(0,r.t)(".5x",null,{project:"src.seven-one",notes:"0.5x value multiplier"}),ONE:(0,r.t)("1x",null,{project:"src.seven-one",notes:"1x value multiplier"}),TWO:(0,r.t)("2x",null,{project:"src.seven-one",notes:"2x value multiplier"})},MAGNITUDE:{ON:(0,r.t)("On",null,{project:"src.seven-one"}),OFF:(0,r.t)("Off",null,{project:"src.seven-one"}),LOW:(0,r.t)("Low",null,{project:"src.seven-one"}),HIGH:(0,r.t)("High",null,{project:"src.seven-one"})},POSITION:{LEFT:(0,r.t)("Left",null,{project:"src.seven-one"}),CENTER:(0,r.t)("Center",null,{project:"src.seven-one"}),RIGHT:(0,r.t)("Right",null,{project:"src.seven-one"})},BACKGROUND_MEDIA:{ADD_AN_IMAGE:(0,r.t)("Add an Image",null,{project:"src.seven-one"}),EDIT_AN_IMAGE:(0,r.t)("Image Editor",null,{project:"src.seven-one"}),REMOVE_AN_IMAGE:(0,r.t)("Delete",null,{project:"src.seven-one"}),SEARCH_STOCK_IMAGES:(0,r.t)("Search Images",null,{project:"src.seven-one"}),BACKGROUND:(0,r.t)("Background",null,{project:"src.seven-one"}),IMAGE:(0,r.t)("Image",null,{project:"src.seven-one"}),IMAGE_EFFECT:(0,r.t)("Image Effect",null,{project:"src.seven-one"}),IMAGE_EFFECT_DESCRIPTION:(0,r.t)('Image Effects will only appear in browsers that support WebGL. <a href="{helpLink}" target="_blank">Learn more</a>',{helpLink:o.IMAGE_EFFECTS},{project:"src.seven-one"}),IMAGE_EFFECT_OPTIONS:{NONE:(0,r.t)("None",null,{project:"src.seven-one"}),LIQUID:(0,r.t)("Liquid",null,{project:"src.seven-one"}),FILM_GRAIN:(0,r.t)("Film Grain",null,{project:"src.seven-one"}),REFRACTED_LINES:(0,r.t)("Refracted Lines",null,{project:"src.seven-one"}),REFRACTED_CIRCLES:(0,r.t)("Refracted Circles",null,{project:"src.seven-one"}),TILT:(0,r.t)("Tilt",null,{project:"src.seven-one"}),PAN:(0,r.t)("Pan",null,{project:"src.seven-one"}),ZOOM:(0,r.t)("Zoom",null,{project:"src.seven-one"})},MEDIA_EFFECTS:{REFRACTION:(0,r.t)("Refraction",null,{project:"src.seven-one"}),REFRACTION_CIRCLES:(0,r.t)("Circles",null,{project:"src.seven-one"}),REFRACTION_LINES:(0,r.t)("Lines",null,{project:"src.seven-one"}),INTERACTION_TYPE:(0,r.t)("Interaction",null,{project:"src.seven-one"}),INTERACTION:{SCROLL:(0,r.t)("Scroll",null,{project:"src.seven-one"}),MOUSE:(0,r.t)("Mouse",null,{project:"src.seven-one"}),NONE:(0,r.t)("None",null,{project:"src.seven-one"})},LIQUID:{COMPLEXITY:(0,r.t)("Complexity",null,{project:"src.seven-one"}),INTENSITY:(0,r.t)("Intensity",null,{project:"src.seven-one"}),SPEED:(0,r.t)("Speed",null,{project:"src.seven-one"}),DIRECTION:(0,r.t)("Direction",null,{project:"src.seven-one"}),MORPH_SPEED:(0,r.t)("Morph speed",null,{project:"src.seven-one"}),SMOOTHNESS:(0,r.t)("Smoothness",null,{project:"src.seven-one"}),SEED:(0,r.t)("Seed",null,{project:"src.seven-one"}),SHADOW:(0,r.t)("Shadow",null,{project:"src.seven-one"})},REFRACTED_CIRCLES:{SCALE:(0,r.t)("Scale",null,{project:"src.seven-one"}),CENTER_OFFSET:(0,r.t)("Center offset",null,{project:"src.seven-one"}),SIZE:(0,r.t)("Ring size",null,{project:"src.seven-one"}),LIMIT_RINGS:(0,r.t)("Limit rings",null,{project:"src.seven-one"}),RING_COUNT:(0,r.t)("Ring count",null,{project:"src.seven-one"}),COMPLEXITY:(0,r.t)("Complexity",null,{project:"src.seven-one"}),SCALE_EVEN:(0,r.t)("Scale even",null,{project:"src.seven-one"}),SCALE_ODD:(0,r.t)("Scale odd",null,{project:"src.seven-one"}),SCALE_TAPER_EVEN:(0,r.t)("Taper even",null,{project:"src.seven-one"}),SCALE_TAPER_ODD:(0,r.t)("Taper odd",null,{project:"src.seven-one"}),FLIP_ROTATION:(0,r.t)("Flip rotation",null,{project:"src.seven-one"}),FLIP_X:(0,r.t)("Flip X",null,{project:"src.seven-one"}),FLIP_Y:(0,r.t)("Flip Y",null,{project:"src.seven-one"}),SHIFT_INTENSITY:(0,r.t)("Intensity",null,{project:"src.seven-one"}),SHIFT_SPEED:(0,r.t)("Speed",null,{project:"src.seven-one"})},REFRACTED_LINES:{SCALE:(0,r.t)("Scale",null,{project:"src.seven-one"}),SIZE:(0,r.t)("Line size",null,{project:"src.seven-one"}),IMAGE_SCALE:(0,r.t)("Image scale",null,{project:"src.seven-one"}),COMPLEXITY:(0,r.t)("Complexity",null,{project:"src.seven-one"}),INTENSITY:(0,r.t)("Intensity",null,{project:"src.seven-one"}),OFFSET_SCALE_X:(0,r.t)("Offset scale X",null,{project:"src.seven-one"}),OFFSET_SCALE_Y:(0,r.t)("Offset scale Y",null,{project:"src.seven-one"}),ROTATION:(0,r.t)("Rotation",null,{project:"src.seven-one"}),SHIFT_INTENSITY:(0,r.t)("Intensity",null,{project:"src.seven-one"}),SHIFT_SPEED:(0,r.t)("Speed",null,{project:"src.seven-one"})},FILM_GRAIN:{NOISE:(0,r.t)("Noise",null,{project:"src.seven-one"}),INTENSITY:(0,r.t)("Intensity",null,{project:"src.seven-one"}),DEPTH:(0,r.t)("Depth",null,{project:"src.seven-one"}),ANIMATION:(0,r.t)("Animation",null,{project:"src.seven-one"})},PARALLAX:{PARALLAX:(0,r.t)("Parallax",null,{project:"src.seven-one"}),INTENSITY:(0,r.t)("Intensity",null,{project:"src.seven-one"}),ROTATION:(0,r.t)("Angle",null,{project:"src.seven-one"}),ZOOM:(0,r.t)("Zoom",null,{project:"src.seven-one"}),ZOOM_START:(0,r.t)("Zoom start",null,{project:"src.seven-one"}),ZOOM_END:(0,r.t)("Zoom end",null,{project:"src.seven-one"})}},IMAGE_OPACITY:(0,r.t)("Overlay Opacity",null,{project:"src.seven-one"}),MOBILE_FALLBACK_DESC:(0,r.t)('Add an image to replace your video in mobile browsers. If left blank a background color will display. You can change this color in the Style panel. <a target="_blank" href="{helpLink}">Learn more</a>',{helpLink:o.ADD_FALLBACK_IMAGE},{project:"src.seven-one"}),MOBILE_FALLBACK_IMAGE:(0,r.t)("Mobile Fallback Image",null,{project:"src.seven-one"}),SETTINGS:(0,r.t)("Settings",null,{project:"src.seven-one"}),VIDEO_DESC:(0,r.t)('Vimeo and YouTube links only. <a target="_blank" href="{helpLink}">Learn more</a>',{helpLink:o.ADD_BACKGROUND_VIDEO},{project:"src.seven-one"}),VIDEO_TITLE:(0,r.t)("Video",null,{project:"src.seven-one"}),VIDEO_PREVIEW_TITLE:(0,r.t)("Video Preview",null,{project:"src.seven-one"}),VIDEO_FILTER_TITLE:(0,r.t)("Filter",null,{project:"src.seven-one"}),VIDEO_FILTER:{NONE:(0,r.t)("None",null,{project:"src.seven-one"}),BLUR:(0,r.t)("Blur",null,{project:"src.seven-one"}),BRIGHTNESS:(0,r.t)("Brightness",null,{project:"src.seven-one"}),CONTRAST:(0,r.t)("Contrast",null,{project:"src.seven-one"}),INVERT:(0,r.t)("Invert",null,{project:"src.seven-one"}),OPACITY:(0,r.t)("Opacity",null,{project:"src.seven-one"}),SATURATE:(0,r.t)("Saturate",null,{project:"src.seven-one"}),SEPIA:(0,r.t)("Sepia",null,{project:"src.seven-one"})},VIDEO_PLAYBACK_SPEED_TITLE:(0,r.t)("Playback Speed",null,{project:"src.seven-one"}),VIDEO_PLAYBACK_SPEED:{ZERO_POINT_FIVE:(0,r.t)("0.5x",null,{project:"src.seven-one",notes:"0.5x playback speed"}),ONE:(0,r.t)("1x",null,{project:"src.seven-one",notes:"1x playback speed"}),ONE_POINT_FIVE:(0,r.t)("1.5x",null,{project:"src.seven-one",notes:"1.5x playback speed"}),TWO:(0,r.t)("2x",null,{project:"src.seven-one",notes:"2x playback speed"})},VIDEO_UPLOAD_DESC:(0,r.t)("Video plays without sound.",null,{project:"src.seven-one"}),GENERATIVE_BACKGROUND_PRESET_OPTIONS:{NONE:(0,r.t)("None",null,{project:"src.seven-one"}),CONTOURS:(0,r.t)("Contours",null,{project:"src.seven-one"}),GRADIENT:(0,r.t)("Gradient",null,{project:"src.seven-one"}),SHAPES:(0,r.t)("Shapes",null,{project:"src.seven-one"}),IMAGES:(0,r.t)("Images",null,{project:"src.seven-one"}),ISOMETRIC:(0,r.t)("Isometric",null,{project:"src.seven-one"}),SURFACE:(0,r.t)("Surface",null,{project:"src.seven-one"}),CONIC:(0,r.t)("Conic",null,{project:"src.seven-one"}),BOKEH:(0,r.t)("Bokeh",null,{project:"src.seven-one"})},GENERATIVE_BACKGROUND_TITLE:(0,r.t)("Art",null,{project:"src.seven-one"}),GENERATIVE_BACKGROUND_GRADIENT_TYPE_OPTIONS:{RADIAL:(0,r.t)("Radial",null,{project:"src.seven-one"}),LINEAR:(0,r.t)("Linear",null,{project:"src.seven-one"})},GENERATIVE_BACKGROUND_DISTRIBUTION_MODE_OPTIONS:{LINEAR:(0,r.t)("Linear",null,{project:"src.seven-one"}),EDGE:(0,r.t)("Edge",null,{project:"src.seven-one"}),CENTER:(0,r.t)("Center",null,{project:"src.seven-one"})},GENERATIVE_BACKGROUND_COLOR_MODE_OPTIONS:{MONOCHROMATIC:(0,r.t)("Monochromatic",null,{project:"src.seven-one"}),VIBRANT:(0,r.t)("Vibrant",null,{project:"src.seven-one"})},GENERATIVE_BACKGROUND_IMAGE_PRESET_OPTIONS:{[n.Z.blob1]:(0,r.t)("Blob 1",null,{project:"src.seven-one"}),[n.Z.blob2]:(0,r.t)("Blob 2",null,{project:"src.seven-one"}),[n.Z.brush1]:(0,r.t)("Brush 1",null,{project:"src.seven-one"}),[n.Z.brush2]:(0,r.t)("Brush 2",null,{project:"src.seven-one"}),[n.Z.brush3]:(0,r.t)("Brush 3",null,{project:"src.seven-one"}),[n.Z.circle1]:(0,r.t)("Circle 1",null,{project:"src.seven-one"}),[n.Z.polygon1]:(0,r.t)("Polygon 1",null,{project:"src.seven-one"}),[n.Z.polygon2]:(0,r.t)("Polygon 2",null,{project:"src.seven-one"})},GENERATIVE_BACKGROUND_PATTERN_PRESET_OPTIONS:{NONE:(0,r.t)("None",null,{project:"src.seven-one"}),[a.Z.circle]:(0,r.t)("Circle",null,{project:"src.seven-one"}),[a.Z.crossStitch]:(0,r.t)("Cross stitch",null,{project:"src.seven-one"}),[a.Z.cube]:(0,r.t)("Cube",null,{project:"src.seven-one"}),[a.Z.gradientCircle]:(0,r.t)("Gradient circle",null,{project:"src.seven-one"}),[a.Z.gingham]:(0,r.t)("Gingham",null,{project:"src.seven-one"}),[a.Z.houndstooth]:(0,r.t)("Houndstooth",null,{project:"src.seven-one"}),[a.Z.stitch]:(0,r.t)("Stitch",null,{project:"src.seven-one"})},GENERATIVE_BACKGROUND_COMMON_COLOR_PROPERTIES:{START_COLOR:(0,r.t)("Start color",null,{project:"src.seven-one"}),END_COLOR:(0,r.t)("End color",null,{project:"src.seven-one"}),INVERT_COLORS:(0,r.t)("Invert colors",null,{project:"src.seven-one"})},GENERATIVE_BACKGROUND_SHAPE_AND_SIZE:(0,r.t)("Shape and size",null,{project:"src.seven-one"}),GENERATIVE_BACKGROUND_TEXTURE:(0,r.t)("Texture",null,{project:"src.seven-one"}),GENERATIVE_BACKGROUND_NOISE:(0,r.t)("Noise",null,{project:"src.seven-one"}),GENERATIVE_BACKGROUND_MOTION:(0,r.t)("Motion",null,{project:"src.seven-one"}),GENERATIVE_BACKGROUND_GRADIENT:{GRADIENT:(0,r.t)("Gradient",null,{project:"src.seven-one"}),START_POSITION:(0,r.t)("Start position",null,{project:"src.seven-one"}),END_POSITION:(0,r.t)("End position",null,{project:"src.seven-one"}),ANGLE:(0,r.t)("Angle",null,{project:"src.seven-one"}),DISTORTION:(0,r.t)("Distortion",null,{project:"src.seven-one"}),COMPLEXITY:(0,r.t)("Complexity",null,{project:"src.seven-one"}),DIRECTION:(0,r.t)("Direction",null,{project:"src.seven-one"}),INTENSITY:(0,r.t)("Intensity",null,{project:"src.seven-one"}),SPEED:(0,r.t)("Speed",null,{project:"src.seven-one"}),SEED:(0,r.t)("Seed",null,{project:"src.seven-one"}),SMOOTHNESS:(0,r.t)("Smoothness",null,{project:"src.seven-one"}),MORPH_SPEED:(0,r.t)("Morph speed",null,{project:"src.seven-one"}),ANIMATE:(0,r.t)("Animate",null,{project:"src.seven-one"}),SCALE:(0,r.t)("Scale",null,{project:"src.seven-one"}),RADIAL_SIZE:(0,r.t)("Radial size",null,{project:"src.seven-one"}),RADIAL_X_POSITION:(0,r.t)("Radial X position",null,{project:"src.seven-one"}),RADIAL_Y_POSITION:(0,r.t)("Radial Y position",null,{project:"src.seven-one"}),FOLLOW_CURSOR:(0,r.t)("Follow cursor",null,{project:"src.seven-one"}),FOLLOW_CURSOR_SPEED:(0,r.t)("Follow cursor speed",null,{project:"src.seven-one"})},GENERATIVE_BACKGROUND_SHAPES:{SHAPE_COLOR:(0,r.t)("Shape color",null,{project:"src.seven-one"}),BACKGROUND_COLOR:(0,r.t)("Background color",null,{project:"src.seven-one"}),SPREAD:(0,r.t)("Spread",null,{project:"src.seven-one"}),DENSITY:(0,r.t)("Density",null,{project:"src.seven-one"}),NUMBER_OF_SHAPES:(0,r.t)("Number of shapes",null,{project:"src.seven-one"}),SHAPE_SIZE:(0,r.t)("Shape size",null,{project:"src.seven-one"}),SHAPE_VARIANCE:(0,r.t)("Shape variance",null,{project:"src.seven-one"}),SEED:(0,r.t)("Seed",null,{project:"src.seven-one"}),SPEED:(0,r.t)("Speed",null,{project:"src.seven-one"}),MORPH:(0,r.t)("Morph",null,{project:"src.seven-one"}),WOBBLE:(0,r.t)("Wobble",null,{project:"src.seven-one"}),SCROLL_MOVEMENT:(0,r.t)("Scroll movement",null,{project:"src.seven-one"})},GENERATIVE_BACKGROUND_ISOMETRIC:{BOX_SIZE:(0,r.t)("Box size",null,{project:"src.seven-one"}),SIZE:(0,r.t)("Size",null,{project:"src.seven-one"}),WIDTH:(0,r.t)("Width",null,{project:"src.seven-one"}),HEIGHT:(0,r.t)("Height",null,{project:"src.seven-one"}),DEPTH:(0,r.t)("Depth",null,{project:"src.seven-one"}),SPEED:(0,r.t)("Speed",null,{project:"src.seven-one"}),DISPLACEMENT:(0,r.t)("Displacement",null,{project:"src.seven-one"}),PIXELATED:(0,r.t)("Pixelated",null,{project:"src.seven-one"}),TURBULENT:(0,r.t)("Turbulent",null,{project:"src.seven-one"}),RANGE:(0,r.t)("Range",null,{project:"src.seven-one"}),SCALE:(0,r.t)("Scale",null,{project:"src.seven-one"}),LIGHT_POSITION:(0,r.t)("Light position",null,{project:"src.seven-one"}),TOP:(0,r.t)("Top",null,{project:"src.seven-one"}),BOTTOM:(0,r.t)("Bottom",null,{project:"src.seven-one"}),X_AXIS:(0,r.t)("X-axis",null,{project:"src.seven-one"}),Y_AXIS:(0,r.t)("Y-axis",null,{project:"src.seven-one"}),Z_AXIS:(0,r.t)("Z-axis",null,{project:"src.seven-one"}),BRIGHTNESS:(0,r.t)("Brightness",null,{project:"src.seven-one"}),MORPH:(0,r.t)("Morph",null,{project:"src.seven-one"})},GENERATIVE_BACKGROUND_CONTOURS:{SIZE:(0,r.t)("Size",null,{project:"src.seven-one"}),SPEED:(0,r.t)("Speed",null,{project:"src.seven-one"}),TRAVEL_SPEED:(0,r.t)("Travel speed",null,{project:"src.seven-one"}),MORPH_SPEED:(0,r.t)("Morph speed",null,{project:"src.seven-one"}),MOVEMENT_DIRECTION:(0,r.t)("Movement direction",null,{project:"src.seven-one"}),BEVEL:(0,r.t)("Bevel",null,{project:"src.seven-one"}),ANGLE:(0,r.t)("Angle",null,{project:"src.seven-one"}),BEVEL_SIZE:(0,r.t)("Size",null,{project:"src.seven-one"}),BEVEL_STRENGTH:(0,r.t)("Strength",null,{project:"src.seven-one"}),BLUR:(0,r.t)("Blur",null,{project:"src.seven-one"}),STEPS:(0,r.t)("Steps",null,{project:"src.seven-one"})},GENERATIVE_BACKGROUND_IMAGES:{IMAGE_TINT:(0,r.t)("Image tint",null,{project:"src.seven-one"}),BACKGROUND_COLOR:(0,r.t)("Background color",null,{project:"src.seven-one"}),IMAGE_SCALE:(0,r.t)("Scale",null,{project:"src.seven-one"}),NUMBER_OF_IMAGES:(0,r.t)("Number of images",null,{project:"src.seven-one"}),FILTER:(0,r.t)("Filter",null,{project:"src.seven-one"}),PATTERN_COLOR:(0,r.t)("Pattern color",null,{project:"src.seven-one"}),WAVE:(0,r.t)("Wave",null,{project:"src.seven-one"}),WAVE_SPEED:(0,r.t)("Wave speed",null,{project:"src.seven-one"}),WAVE_COMPLEXITY:(0,r.t)("Wave complexity",null,{project:"src.seven-one"}),WAVE_DEPTH:(0,r.t)("Wave depth",null,{project:"src.seven-one"}),WAVE_SHADOW_DEPTH:(0,r.t)("Wave shadow depth",null,{project:"src.seven-one"})},GENERATIVE_BACKGROUND_SURFACE:{COLOR_1:(0,r.t)("First color",null,{project:"src.seven-one"}),COLOR_2:(0,r.t)("Second color",null,{project:"src.seven-one"}),COLOR_3:(0,r.t)("Third color",null,{project:"src.seven-one"}),COLOR_4:(0,r.t)("Fourth color",null,{project:"src.seven-one"}),SURFACE_HEIGHT:(0,r.t)("Surface height",null,{project:"src.seven-one"}),PATTERN:(0,r.t)("Pattern",null,{project:"src.seven-one"}),PATTERN_AMOUNT:(0,r.t)("Amount",null,{project:"src.seven-one"}),PATTERN_SCALE_X:(0,r.t)("Scale X",null,{project:"src.seven-one"}),PATTERN_SCALE_Y:(0,r.t)("Scale Y",null,{project:"src.seven-one"}),PATTERN_POWER_X:(0,r.t)("Power X",null,{project:"src.seven-one"}),PATTERN_POWER_Y:(0,r.t)("Power Y",null,{project:"src.seven-one"}),DISTORTION:(0,r.t)("Distortion",null,{project:"src.seven-one"}),DISTORTION_SCALE_X:(0,r.t)("Scale X",null,{project:"src.seven-one"}),DISTORTION_SCALE_Y:(0,r.t)("Scale Y",null,{project:"src.seven-one"}),SPEED:(0,r.t)("Speed",null,{project:"src.seven-one"}),COLORS:(0,r.t)("Colors",null,{project:"src.seven-one"}),COLORS_BLENDED:(0,r.t)("Blended",null,{project:"src.seven-one"}),COLORS_SEPARATE:(0,r.t)("Separate",null,{project:"src.seven-one"}),COLOR_STOP_1:(0,r.t)("Color stop 1",null,{project:"src.seven-one"}),COLOR_STOP_2:(0,r.t)("Color stop 2",null,{project:"src.seven-one"}),COLOR_STOP_3:(0,r.t)("Color stop 3",null,{project:"src.seven-one"}),COLOR_STOP_4:(0,r.t)("Color stop 4",null,{project:"src.seven-one"}),COLOR_DISTORTION:(0,r.t)("Color distortion",null,{project:"src.seven-one"}),GRADIENT_DISTORTION_X:(0,r.t)("Scale X",null,{project:"src.seven-one"}),GRADIENT_DISTORTION_Y:(0,r.t)("Scale Y",null,{project:"src.seven-one"}),NOISE:(0,r.t)("Noise",null,{project:"src.seven-one"}),NOISE_INTENSITY:(0,r.t)("Amount",null,{project:"src.seven-one"}),NOISE_SCALE:(0,r.t)("Scale",null,{project:"src.seven-one"})},GENERATIVE_BACKGROUND_CONIC:{COLOR_1:(0,r.t)("First color",null,{project:"src.seven-one"}),COLOR_2:(0,r.t)("Second color",null,{project:"src.seven-one"}),COLOR_3:(0,r.t)("Fog color",null,{project:"src.seven-one"}),FUNNEL_SIZE:(0,r.t)("Funnel size",null,{project:"src.seven-one"}),FUNNEL_POSITION:(0,r.t)("Funnel position",null,{project:"src.seven-one"}),FUNNEL_X:(0,r.t)("X",null,{project:"src.seven-one"}),FUNNEL_Y:(0,r.t)("Y",null,{project:"src.seven-one"}),SPEED:(0,r.t)("Speed",null,{project:"src.seven-one"}),SCROLL:(0,r.t)("Scroll",null,{project:"src.seven-one"}),ROTATION_SPEED:(0,r.t)("Rotation",null,{project:"src.seven-one"}),DISTORTION_SPEED:(0,r.t)("Distortion",null,{project:"src.seven-one"}),DISTORTION:(0,r.t)("Distortion",null,{project:"src.seven-one"}),DISTORTION_SCALE_X:(0,r.t)("Scale X",null,{project:"src.seven-one"}),DISTORTION_SCALE_Y:(0,r.t)("Scale Y",null,{project:"src.seven-one"}),DISTORTION_AMOUNT:(0,r.t)("Amount",null,{project:"src.seven-one"}),PATTERN:(0,r.t)("Pattern",null,{project:"src.seven-one"}),REPEAT:(0,r.t)("Repeat",null,{project:"src.seven-one"}),ROTATION:(0,r.t)("Rotation",null,{project:"src.seven-one"}),BLUR:(0,r.t)("Pattern blur",null,{project:"src.seven-one"}),FOG:(0,r.t)("Fog",null,{project:"src.seven-one"}),NOISE:(0,r.t)("Noise",null,{project:"src.seven-one"}),NOISE_INTENSITY:(0,r.t)("Amount",null,{project:"src.seven-one"}),NOISE_SCALE:(0,r.t)("Scale",null,{project:"src.seven-one"})},GENERATIVE_BACKGROUND_BOKEH:{COLOR_1:(0,r.t)("First color",null,{project:"src.seven-one"}),COLOR_2:(0,r.t)("Second color",null,{project:"src.seven-one"}),BACKGROUND_COLOR:(0,r.t)("Background color",null,{project:"src.seven-one"}),COLOR_3:(0,r.t)("Light color",null,{project:"src.seven-one"}),SIZE:(0,r.t)("Particle size",null,{project:"src.seven-one"}),COUNT:(0,r.t)("Particle count",null,{project:"src.seven-one"}),OPACITY:(0,r.t)("Particle opacity",null,{project:"src.seven-one"}),WAVE:(0,r.t)("Particle wave",null,{project:"src.seven-one"}),SEED:(0,r.t)("Seed",null,{project:"src.seven-one"}),OFFSET:(0,r.t)("Offset",null,{project:"src.seven-one"}),COMPLEXITY:(0,r.t)("Complexity",null,{project:"src.seven-one"}),COMPLEXITY_Y:(0,r.t)("Vertical",null,{project:"src.seven-one"}),COMPLEXITY_Z:(0,r.t)("Depth",null,{project:"src.seven-one"}),AMPLITUDE:(0,r.t)("Amplitude",null,{project:"src.seven-one"}),AMPLITUDE_Y:(0,r.t)("Vertical",null,{project:"src.seven-one"}),AMPLITUDE_Z:(0,r.t)("Depth",null,{project:"src.seven-one"}),SPEED:(0,r.t)("Speed",null,{project:"src.seven-one"}),PARTICLE_SPEED:(0,r.t)("Particle movement",null,{project:"src.seven-one"}),WAVE_SPEED:(0,r.t)("Wave movement",null,{project:"src.seven-one"}),LIGHT:(0,r.t)("Light",null,{project:"src.seven-one"}),LIGHT_SOURCE:(0,r.t)("Light source",null,{project:"src.seven-one"}),LIGHT_ANGLE:(0,r.t)("Angle",null,{project:"src.seven-one"}),LIGHT_X:(0,r.t)("Position",null,{project:"src.seven-one"}),LIGHT_INTENSITY:(0,r.t)("Intensity",null,{project:"src.seven-one"})},MEDIA_EFFECT_PRESET_OPTIONS:{NONE:(0,r.t)("None",null,{project:"src.seven-one"}),FILMGRAIN:(0,r.t)("Film grain",null,{project:"src.seven-one"}),LIQUID:(0,r.t)("Liquid",null,{project:"src.seven-one"}),REFRACTEDLINES:(0,r.t)("Lines",null,{project:"src.seven-one"}),REFRACTEDCIRCLES:(0,r.t)("Circles",null,{project:"src.seven-one"}),PARALLAX:(0,r.t)("Parallax",null,{project:"src.seven-one"})}},LAYOUTS:{PRODUCTS:(0,r.t)("Simple",null,{project:"src.seven-one"}),"PRODUCTS-FULL-BLEED":(0,r.t)("Half",null,{project:"src.seven-one"}),"PRODUCTS-FULL-WIDTH-CAROUSEL":(0,r.t)("Full",null,{project:"src.seven-one"}),"PRODUCTS-WRAP-AROUND-GRID":(0,r.t)("Wrap",null,{project:"src.seven-one"})},SPACING_PANEL:{LAYOUT:(0,r.t)("Layout",null,{project:"src.seven-one"}),BACKGROUND_WIDTH:(0,r.t)("Background Width",null,{project:"src.seven-one"}),FULL_BLEED:(0,r.t)("Full Bleed",null,{project:"src.seven-one"}),INSET:(0,r.t)("Inset",null,{project:"src.seven-one"}),LARGE:(0,r.t)("L",null,{project:"src.seven-one"}),MEDIUM:(0,r.t)("M",null,{project:"src.seven-one"}),SMALL:(0,r.t)("S",null,{project:"src.seven-one"}),SPACING:(0,r.t)("Format",null,{project:"src.seven-one"}),SECTION_HEIGHT:(0,r.t)("Section Height",null,{project:"src.seven-one"}),CUSTOM_HEIGHT:(0,r.t)("Custom Height",null,{project:"src.seven-one"}),CUSTOM_WIDTH:(0,r.t)("Custom Width",null,{project:"src.seven-one"}),LEFT:(0,r.t)("Left",null,{project:"src.seven-one"}),CENTER:(0,r.t)("Center",null,{project:"src.seven-one"}),RIGHT:(0,r.t)("Right",null,{project:"src.seven-one"}),CONTENT_WIDTH:(0,r.t)("Content Width",null,{project:"src.seven-one"}),CONTENT_ALIGNMENT:(0,r.t)("Content Alignment",null,{project:"src.seven-one"}),TOP:(0,r.t)("Top",null,{project:"src.seven-one"}),BOTTOM:(0,r.t)("Bottom",null,{project:"src.seven-one"}),MIDDLE:(0,r.t)("Middle",null,{project:"src.seven-one"}),SECTION_ANIMATION:(0,r.t)("Section Animation",null,{project:"src.seven-one"}),NONE:(0,r.t)("None",null,{project:"src.seven-one"}),FADE_UP:(0,r.t)("Fade Up",null,{project:"src.seven-one"}),FADE_LEFT:(0,r.t)("Fade Left",null,{project:"src.seven-one"}),FADE_RIGHT:(0,r.t)("Fade Right",null,{project:"src.seven-one"}),SCALE_UP:(0,r.t)("Scale Up",null,{project:"src.seven-one"}),CLIP_UP:(0,r.t)("Clip Up",null,{project:"src.seven-one"}),CLIP_LEFT:(0,r.t)("Clip Left",null,{project:"src.seven-one"}),CLIP_RIGHT:(0,r.t)("Clip Right",null,{project:"src.seven-one"})},THEME_PANEL:{THEME:(0,r.t)("Colors",null,{project:"src.seven-one"})},QUICK_ACTIONS:{MOVE_UP:(0,r.t)("Move up",null,{project:"src.seven-one"}),MOVE_DOWN:(0,r.t)("Move down",null,{project:"src.seven-one"}),DELETE:(0,r.t)("Delete",null,{project:"src.seven-one"})},SECTION_DIVIDERS:{STYLING:(0,r.t)("Styling",null,{project:"src.seven-one",notes:"Category title for Section Divider fields"}),DIVIDER:(0,r.t)("Divider",null,{project:"src.seven-one",notes:"Label for Section Divider feature toggle"}),SHAPE:(0,r.t)("Shape",null,{project:"src.seven-one",notes:"Label for Section Divider shape selector field"}),SHAPE_OPTIONS:{NONE:(0,r.t)("None",null,{project:"src.seven-one",notes:"Label for Section Divider shape option"}),SOFT_CORNERS:(0,r.t)("Soft Corners",null,{project:"src.seven-one",notes:"Label for Section Divider shape option"}),ROUNDED:(0,r.t)("Rounded",null,{project:"src.seven-one",notes:"Label for Section Divider shape option"}),SLANTED:(0,r.t)("Slanted",null,{project:"src.seven-one",notes:"Label for Section Divider shape option"}),SCALLOPED:(0,r.t)("Scalloped",null,{project:"src.seven-one",notes:"Label for Section Divider shape option"}),WAVY:(0,r.t)("Wavy",null,{project:"src.seven-one",notes:"Label for Section Divider shape option"}),POINTED:(0,r.t)("Pointed",null,{project:"src.seven-one",notes:"Label for Section Divider shape option"}),JAGGED:(0,r.t)("Jagged",null,{project:"src.seven-one",notes:"Label for Section Divider shape option"})},SHUFFLE_SETTINGS:(0,r.t)("Shuffle Settings",null,{notes:"Label for button which shuffles the selected Section Divider shape options",project:"src.seven-one"}),WIDTH:(0,r.t)("Width",null,{project:"src.seven-one",notes:"Label for Section Divider width field"}),HEIGHT:(0,r.t)("Height",null,{project:"src.seven-one",notes:"Label for Section Divider height field"}),FLIP:(0,r.t)("Flip",null,{project:"src.seven-one",notes:"Title for Section Divider fields to flip shape on axis"}),FLIP_X:(0,r.t)("Flip X Axis",null,{project:"src.seven-one",notes:"Label for Section Divider button to flip shape vertically"}),FLIP_Y:(0,r.t)("Flip Y Axis",null,{project:"src.seven-one",notes:"Label for Section Divider button to flip shape horizontally"}),OFFSET:(0,r.t)("Alignment",null,{project:"src.seven-one",notes:"Label for Section Divider alignment field"}),STROKE_TITLE:(0,r.t)("Stroke",null,{project:"src.seven-one",notes:"Title for Section Divider stroke option selector field"}),STROKE_TYPES:{NONE:(0,r.t)("No Stroke",null,{project:"src.seven-one",notes:"Label for Section Divider stroke option"}),SOLID:(0,r.t)("Solid Stroke",null,{project:"src.seven-one",notes:"Label for Section Divider stroke option"}),DASHED:(0,r.t)("Dashed Stroke",null,{project:"src.seven-one",notes:"Label for Section Divider stroke option"})},STROKE:{COLOR:(0,r.t)("Color",null,{project:"src.seven-one",notes:"Label for Section Divider stroke color field"}),THICKNESS:(0,r.t)("Thickness",null,{project:"src.seven-one",notes:"Label for Section Divider stroke thickness field"}),DASH:(0,r.t)("Dash",null,{project:"src.seven-one",notes:"Label for Section Divider stroke dash field"}),GAP:(0,r.t)("Gap",null,{project:"src.seven-one",notes:"Label for Section Divider stroke gap field"}),LINECAPS_TITLE:(0,r.t)("End Caps",null,{project:"src.seven-one",notes:"Title for Section Divider stroke fields for linecap options"}),LINECAP_OPTIONS:{SQUARE:(0,r.t)("Square",null,{project:"src.seven-one",notes:"Label for Section Divider stroke linecap option"}),ROUND:(0,r.t)("Round",null,{project:"src.seven-one",notes:"Label for Section Divider stroke linecap option"})}}}}},107384:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n.SPACING="spacing",n.BACKGROUND="background",n.COLOR="color",n}(r||{});const o=r},637174:function(b,l,e){"use strict";e.d(l,{$S:()=>g,ZP:()=>p,hM:()=>h,qj:()=>d});var r=e(174161),o=e(904177),n=e(919389),a=e(677818),i=e(198678),c=e(893326),u=e(20203),f=e(502814),d=function(y){return y.SMALL="section-height--small",y.MEDIUM="section-height--medium",y.LARGE="section-height--large",y.CUSTOM="section-height--custom",y}({}),h=function(y){return y.TOP="vertical-alignment--top",y.MIDDLE="vertical-alignment--middle",y.BOTTOM="vertical-alignment--bottom",y}({}),g=function(y){return y.NONE="none",y.SCALE_UP="scale-up",y.FADE_UP="fade-up",y.FADE_LEFT="fade-left",y.FADE_RIGHT="fade-right",y.CLIP_UP="clip-up",y.CLIP_LEFT="clip-left",y.CLIP_RIGHT="clip-right",y}({});const p={SECTION_ANIMATION:{NONE:{label:o.Z.SPACING_PANEL.NONE,value:"none"},SCALE_UP:{label:o.Z.SPACING_PANEL.SCALE_UP,value:"scale-up"},FADE_UP:{label:o.Z.SPACING_PANEL.FADE_UP,value:"fade-up"},FADE_LEFT:{label:o.Z.SPACING_PANEL.FADE_LEFT,value:"fade-left"},FADE_RIGHT:{label:o.Z.SPACING_PANEL.FADE_RIGHT,value:"fade-right"},CLIP_UP:{label:o.Z.SPACING_PANEL.CLIP_UP,value:"clip-up"},CLIP_LEFT:{label:o.Z.SPACING_PANEL.CLIP_LEFT,value:"clip-left"},CLIP_RIGHT:{label:o.Z.SPACING_PANEL.CLIP_RIGHT,value:"clip-right"}},CONTENT_WIDTH:{SMALL:{label:o.Z.SPACING_PANEL.SMALL,value:"content-width--narrow"},MEDIUM:{label:o.Z.SPACING_PANEL.MEDIUM,value:"content-width--medium"},LARGE:{label:o.Z.SPACING_PANEL.LARGE,value:"content-width--wide"}},SECTION_HEIGHT:{SMALL:{label:o.Z.SPACING_PANEL.SMALL,value:"section-height--small"},MEDIUM:{label:o.Z.SPACING_PANEL.MEDIUM,value:"section-height--medium"},LARGE:{label:o.Z.SPACING_PANEL.LARGE,value:"section-height--large"}},HORIZONTAL_ALIGNMENT:{LEFT:{icon:r.createElement(n.Z,null),showLabel:!1,label:o.Z.SPACING_PANEL.LEFT,value:"horizontal-alignment--left"},CENTER:{icon:r.createElement(a.Z,null),showLabel:!1,label:o.Z.SPACING_PANEL.CENTER,value:"horizontal-alignment--center"},RIGHT:{icon:r.createElement(i.Z,null),showLabel:!1,label:o.Z.SPACING_PANEL.RIGHT,value:"horizontal-alignment--right"}},VERTICAL_ALIGNMENT:{TOP:{icon:r.createElement(c.Z,null),showLabel:!1,label:o.Z.SPACING_PANEL.TOP,value:"vertical-alignment--top"},MIDDLE:{icon:r.createElement(u.Z,null),showLabel:!1,label:o.Z.SPACING_PANEL.MIDDLE,value:"vertical-alignment--middle"},BOTTOM:{icon:r.createElement(f.Z,null),showLabel:!1,label:o.Z.SPACING_PANEL.BOTTOM,value:"vertical-alignment--bottom"}}}},170099:function(b,l,e){"use strict";e.d(l,{Z:()=>g});var r=e(174161),o=e(795478),n=e.n(o),a=e(419467),i=e.n(a),c=e(79306),u=e.n(c),f=e(412166),d=e(224353);const h=_=>{let{content:p=null,children:y,isDisabled:O=!1,containerProps:P={},id:C,...A}=_;const[S,T]=(0,r.useState)(!1),s=(0,r.useRef)(null),[v]=(0,r.useState)(()=>C||(0,c.v4)());(0,r.useEffect)(()=>{const I=()=>{T(!1)},L=document.querySelector(".sqs-damask-panel-content");return L&&L.addEventListener("scroll",I),function(){L&&L.removeEventListener("scroll",I),I()}},[]);const m=(0,r.useCallback)(()=>{T(!0)},[]),E=(0,r.useCallback)(()=>{T(!1)},[]);return(0,r.useEffect)(()=>{const I=s.current;if(!S||!I)return;const L=W=>{const F=W.target;if(!F)return;const G=document.getElementById(v);!I.contains(F)&&(!G||!G.contains(F))&&T(!1)};return I.ownerDocument.body.addEventListener("mouseover",L),()=>{var W,F;(F=I.ownerDocument)===null||F===void 0||(W=F.body)===null||W===void 0||W.removeEventListener("mouseover",L)}},[S,v]),r.createElement(r.Fragment,null,r.createElement(f.Z,{ref:s,onMouseEnter:m,onMouseLeave:E,onFocus:m,onBlur:E,...P},y),p&&S&&s.current&&!O?r.createElement(d.Z,{anchor:s.current,isOpen:S,position:"bottom",delay:{enter:120,exit:0},onRequestClose:a.noop,id:v,...A},p):null)};h.propTypes={content:n().oneOfType([n().string,n().element])};const g=h},151703:function(b,l,e){"use strict";e.d(l,{wy:()=>k,ZP:()=>ee,Z:()=>te});var r=e(174161),o=e(210750),n=e.n(o),a=e(795478),i=e.n(a),c=e(719484),u=e(881707),f=e(412166),d=e(600994),h=e(247509),g=e(725538),_=e(378638),p=e(488609),y=e(8483),O=e(184791),P=e(213865),C=e(228946),A=e(868192),S=e(714487),T=e(934951),s=e(153088),v=e(619972),m=e(997968);const E={VALID:"VALID",INVALID:"INVALID",VIMEO_BASIC_ACCOUNT:"VIMEO_BASIC_ACCOUNT"},I={YOUTUBE:"youtube",VIMEO:"vimeo"},L={[I.YOUTUBE]:{...m.EmbedResolvers[I.YOUTUBE],config:{...m.EmbedResolvers[I.YOUTUBE].config,serviceUrl:"/api/oembed/youtube",format:"json"}},[I.VIMEO]:{...m.EmbedResolvers[I.VIMEO],checkErr:null,sanitizeData:ie=>(ie.accountType=ie.account_type,delete ie.account_type,ie)}},W=Object.keys(L),F=new v.Z,k=async function(ie){let ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{const pe=await F.process(ie,W,L);return pe.resolved?pe.resolvedBy===I.YOUTUBE&&(pe.type!=="video"||!pe.authorName)?{status:E.INVALID}:pe.resolvedBy===I.VIMEO&&pe.accountType==="basic"&&!ne?{status:E.VIMEO_BASIC_ACCOUNT}:{status:E.VALID,embed:pe}:{status:E.INVALID}}catch{return{status:E.INVALID}}},x=r.createElement(h.Z,{href:A.ADDING_VIDEOS_TO_YOUR_SITE_EMBEDDED_VIDEOS,target:"_blank"},r.createElement(T.T,{project:"apps.assetUploader"},"Learn more")),M=r.createElement(T.T,{learnMore:x,project:"apps.assetUploader"},"Unsupported link format. {learnMore} about supported video links."),B={[E.VALID]:(0,S.t)("Video found and ready for use.",null,{project:"apps.assetUploader"}),[E.INVALID]:M,[E.VIMEO_BASIC_ACCOUNT]:(0,S.t)("Vimeo Basic accounts are unsupported, update the link.",null,{project:"apps.assetUploader"})},R={EMPTY:"EMPTY",PROCESSING:"PROCESSING",VALID:"VALID",INVALID:"INVALID"},U={ui:R.EMPTY,embed:{},message:""},j=ie=>ie===void 0||ie.trim()==="",$=ie=>{let{position:ne,positionOffset:pe,link:oe,isOpen:q,onSave:J,onCancel:me,allowVimeoBasicAuthorEmbed:re=!1}=ie;var he;const[Ee,fe]=(0,r.useState)(U),H=(0,r.useRef)(),z=rt=>{fe({ui:R.PROCESSING,message:(0,S.t)("Searching...",null,{project:"apps.assetUploader"}),embed:{url:rt}})},_e=(rt,ce)=>{fe({ui:R.VALID,embed:rt,message:ce})},ae=(rt,ce)=>{fe({ui:R.INVALID,embed:{url:rt},message:ce})},ge=()=>{fe(U)},Be=async rt=>{z(rt);const{status:ce,embed:Re}=await k(rt,re),nt=B[ce];ce===E.VALID?_e(Re,nt):ae(rt,nt)},Ke=rt=>{const ce=rt.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/);return ce?rt.replace(ce[2],ce[2].slice(0,11)):rt},He=rt=>{const ce=rt.trim();return Ke(ce)},ye=r.useCallback(n()(async rt=>{const ce=He(rt);if(H!=null&&H.current&&ce!==rt&&(H.current.value=ce),j(ce)){ge();return}await Be(ce)},500),[]),Le=r.useCallback(()=>{j(oe)?ge():ye(oe)},[oe,ye]),Ue=rt=>({...rt,authorUrl:rt.authorUrl&&encodeURI(rt.authorUrl)}),Xe=()=>{const rt=Ue(Ee.embed);J(rt)},Fe=()=>{me(),Le()},ht=Ee.ui===R.PROCESSING,Ne=Ee.ui===R.VALID,Ce=Ee.ui===R.INVALID,we=ht||Ne||Ce,$e=ne==null?void 0:ne.offsetWidth,Ot=P.space[1];(0,r.useEffect)(()=>{Le()},[Le]);const Pt=rt=>{let{message:ce,...Re}=rt;return r.createElement(c.Z.Body,{mt:1,mb:2,fontSize:2,lineHeight:1,...Re},ce)},Ie=()=>r.createElement(Pt,{message:Ee.message,color:"gray.300"}),Bt=()=>r.createElement(Pt,{message:Ee.message,color:"green.300"}),mt=()=>r.createElement(Pt,{message:Ee.message,color:"red.300"});return r.createElement(g.Z.Transition,null,q&&r.createElement(g.Z,{onRequestClose:Fe},r.createElement(g.Z.Overlay,{backgroundColor:"transparent"}),r.createElement(g.Z.Position,{position:ne},r.createElement(g.Z.Dialog,{mt:pe,mx:Ot,width:$e?`calc(${$e}px - 2 * ${Ot})`:"277px",className:C.unmask},r.createElement(_.Z,{space:0,divider:r.createElement(p.Z,null),px:2,pt:2,m:0},r.createElement(_.Z,{space:0},r.createElement(c.Z.Label,null,(0,S.t)("Add a YouTube or Vimeo link",null,{project:"apps.assetUploader"})),r.createElement(u.Z,null,r.createElement(y.Z,{autoFocus:!0,width:"100%",mt:2,mb:we?0:2,defaultValue:(he=Ee.embed)===null||he===void 0?void 0:he.url,placeholder:(0,S.t)("https://...",null,{project:"apps.assetUploader"}),onChange:ye,ref:H})),ht&&r.createElement(Ie,null),Ne&&r.createElement(Bt,null),Ce&&r.createElement(mt,null)),r.createElement(f.Z,{flexWrap:"wrap",justifyContent:"flex-end",alignItems:"center",m:0,mt:we?"-1px":4},r.createElement(d.Z.Tertiary,{onClick:Fe,size:1,p:0,mr:4},(0,S.t)("Cancel",null,{project:"apps.assetUploader"})),ht?r.createElement(u.Z,{width:"sizes.175"},r.createElement(O.Z,{size:0})):r.createElement(d.Z.Tertiary,{onClick:Xe,size:1,p:0,m:0,disabled:!Ne},(0,S.t)("Add",null,{project:"apps.assetUploader"}))))))))};$.propTypes={position:i().oneOfType([i().element,i().object]).isRequired,positionOffset:i().string,link:i().string,isOpen:i().bool,onSave:i().func,onCancel:i().func,allowVimeoBasicAuthorEmbed:i().bool};const ee=$,te=i().shape({url:i().string,thumbnailUrl:i().string,providerName:i().string,description:i().string,title:i().string,height:i().number,width:i().number,html:i().string,version:i().string,type:i().string,thumbnailHeight:i().number,authorName:i().string,authorUrl:i().string,providerUrl:i().string,resolveObject:i().string,resolvedBy:i().string,resolved:i().bool})},115576:function(b,l,e){"use strict";e.d(l,{jE:()=>W,kT:()=>I});var r=e(276309),o=e(714011),n=e(174161),a=e(725538),i=e(983171),c=e(881707),u=e(600994),f=e(719484),d=e(412166),h=e(158577),g=e(880722);const{OVERLAY_CLASSNAME:_}=h,y={backgroundColor:"blue.100",animationBackgroundColor:"blue.300"},O=F=>{let{isUpsellAvailable:G,isMaxPlanButtonHidden:k=!1,children:x,isOpen:M=!1,label:B,message:R,onClick:U,onRequestClose:j,title:$}=F;return n.createElement(a.Z.Transition,null,M&&n.createElement(a.Z,{closeOnOverlayClicked:!1},n.createElement(a.Z.Overlay,{background:"transparent"}),n.createElement(a.Z.Position,{position:"center"},n.createElement(a.Z.Dialog,{className:_,overflowY:"hidden"},n.createElement(c.Z,{pb:2,pt:5,px:6,tabIndex:0,width:"400px"},n.createElement(u.Z.Tertiary,{mb:4,onClick:j},n.createElement(g.T,{project:"assetManagement.assetCommon"},"Close")),n.createElement(f.Z.Title,{py:1},$),n.createElement(f.Z.Subtitle,{color:"gray.300",pb:4,pt:1},R),x,n.createElement(d.Z,{flexDirection:"column"},!(k&&!G)&&n.createElement(i.Yz.Primary,{size:"large",onClick:U,sx:G?y:{}},B),n.createElement(u.Z,{variant:k&&!G?"primary":"tertiary",size:"large",onClick:j},n.createElement(g.T,{project:"assetManagement.assetCommon"},"Dismiss"))))))))};var P=e(182174),C=e(922357),A=e(966135);const{getCanUpgradeDigitalProductsFeatures:S}=A,T=F=>{let{isOpen:G,isMaxPlanButtonHidden:k=!1,onConfirm:x,onLearnMoreClick:M,onRequestClose:B,upgradeMessage:R,usage:U}=F;const{timeRemaining:j,limit:$,progress:ee}=U,{title:te,message:ie,label:ne,onClick:pe}=R,{data:oe}=(0,C.Z)(S);return n.createElement(O,{isOpen:G,isUpsellAvailable:!!(oe!=null&&oe.canUpgradeForHigherVideoStorage),isMaxPlanButtonHidden:k,label:ne,message:ie,onClick:()=>{pe==null||pe(),x(ne)},onRequestClose:B,title:te},n.createElement(P.N,{progress:ee,timeRemaining:j,limit:$,showUpsellFlow:!1,onLearnMoreClick:M,indirectSource:"card"}))};var s=e(387152),v=e(370483),m=e(714487),E=e(400882);const I=F=>{let{isOpen:G=!1,websiteId:k,envConfig:x,isMaxPlanButtonHidden:M=!1,onOpenPicker:B,onRequestClose:R,trackUserViewsUpgradeModal:U,trackUserSelectsUpgradeModalOption:j,trackUserClicksForMoreInfo:$}=F;const ee=(0,v.Th)(),{usage:te}=s.o(k,x),{timeRemaining:ie,limit:ne}=te,[pe]=(0,E.Z)(E.A),oe=(0,v.VK)({planStatus:ee,secondsValue:ie,openPicker:B,openWebsiteCheckout:pe});return(0,n.useEffect)(()=>{G&&U({timeRemaining:ie,upgradeMessage:oe.message,upgradeTitle:oe.title,limit:ne})},[G,ne,ie,U,oe.message,oe.title]),n.createElement(T,{isMaxPlanButtonHidden:M,isOpen:G,upgradeMessage:oe,usage:te,onConfirm:()=>{j({timeRemaining:ie,limit:ne,label:oe.label,value:"CONFIRM"})},onRequestClose:()=>{R(),j({timeRemaining:ie,limit:ne,label:(0,m.t)("Dismiss",null,{project:"apps.assetUploader"}),value:"DISMISS"})},onLearnMoreClick:$})},L=F=>{let{onLearnMoreClick:G,onUpsellClick:k,showUpsellFlow:x=!0,customTooltip:M,showTooltip:B,usage:R,sx:U}=F;return n.createElement(P.N,{sx:U,isUnlimited:R.isUnlimited,limit:R.limit,progress:R.progress,timeRemaining:R.timeRemaining,used:R.used,showUpsellFlow:x,onLearnMoreClick:G,onUpsellClick:k,customTooltip:M,showTooltip:B,indirectSource:"card",variant:"base"})},W=F=>{let{websiteId:G,envConfig:k,onLearnMoreClick:x,onUpgradeClick:M,showUpsellFlow:B=!0,customTooltip:R,showTooltip:U,sx:j}=F;const{usage:$}=s.o(G,k);return n.createElement(L,{onLearnMoreClick:x,onUpsellClick:M,showUpsellFlow:B,customTooltip:R,showTooltip:U,usage:$,sx:j})}},204770:function(b,l,e){"use strict";e.d(l,{iY:()=>j,Xf:()=>te,ZP:()=>ee});var r=e(58468),o=e(843165),n=e(174161),a=e(103372),i=e.n(a),c=e(795478),u=e.n(c),f=e(881707),d=e(412166),h=e(719484),g=e(668100),_=e(224353),p=e(488609),y=e(850882),O=e(14469),P=e(45096),C=e(35045),A=e(787592),S=e(714487),T=e(228946),s=e(281395),v=e(151703),m=e(976003),E=e.n(m),I=e(192628),L=e.n(I),W=e(861623),F=e.n(W),G=e(335598);const k={[y.h.VIDEO]:"videoId",[y.h.IMAGE]:"thumbnailId"},x={[y.h.VIDEO]:"videoAssetId",[y.h.IMAGE]:"thumbnailAssetId"},B=ie=>{const ne=pe=>{let{onChange:oe,value:q,...J}=pe;const[me,re]=(0,n.useState)(null),[he,Ee]=(0,n.useState)(null),fe=(0,n.useRef)(q),{videoId:H=null,videoAssetId:z=null,thumbnailId:_e=null,thumbnailAssetId:ae=null}=q,ge=(Le,Ue,Xe)=>{let Fe=!0;if(Le){Xe(null);const Ne=setTimeout(()=>s.IN.get(Le).then(Ce=>{if(Fe&&Ce&&Ce.mediaProcessingState===F().READY){const we=s.ht[Ue](Ce);Xe(we)}}),0);return()=>{Fe=!1,clearTimeout(Ne)}}Xe(null)};(0,n.useEffect)(()=>{if(!H&&!z)re(null);else if(!G.Z.hasUpload(H))return ge(H,y.h.VIDEO,re)},[H,z,re]),(0,n.useEffect)(()=>{if(!_e&&!ae)Ee(null);else if(!G.Z.hasUpload(_e))return ge(_e,y.h.IMAGE,Ee)},[_e,ae,Ee]),(0,n.useEffect)(()=>{fe.current=q},[q]);const Be=async(Le,Ue,Xe)=>{if(Xe){console.error("Licensed assets are not support in temp content item flow!");return}const Fe=await s.IN.createTemp(Le);return G.Z.addUpload({fieldDescription:J.fieldDescription+j[Le],fieldId:J.fieldId,contentItemId:Fe}),{[k[Le]]:Fe}},Ke=async function(Le){let Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe;const Fe=k[Le.assetType],ht=x[Le.assetType];if(Ue){const Ne=fe.current[Fe];G.Z.hasUpload(Ne)?Xe=await s.IN.updateTemp(Ne,Le.id):Xe=Ne}else Xe=await s.IN.create(Le.assetType,Le.id);return{[Fe]:Xe,[ht]:Le.id}},He=Le=>{const Ue=k[Le],Xe=fe.current[Ue];G.Z.removeUpload(Xe),oe({...fe.current,[Ue]:void 0})},ye=(0,n.useCallback)(Le=>{var Ue,Xe,Fe,ht,Ne;const Ce=!i()((Ue=Le.video)===null||Ue===void 0?void 0:Ue.id),we=!i()((Xe=Le.thumbnail)===null||Xe===void 0?void 0:Xe.id),$e=((Fe=Le.video)===null||Fe===void 0?void 0:Fe.id)!==(me==null?void 0:me.id),Ot=((ht=Le.thumbnail)===null||ht===void 0?void 0:ht.id)!==(he==null?void 0:he.id),Pt=(Ne=Le.thumbnail)===null||Ne===void 0?void 0:Ne.mediaFocalPoint,Ie=!E()(Pt,he==null?void 0:he.mediaFocalPoint),Bt=Le.videoId!==fe.current.videoId,mt=Le.thumbnailId!==fe.current.thumbnailId;if(Bt||mt){oe(Le);return}Ce&&$e&&re(Le.video),we&&Ot&&Ee(Le.thumbnail),!Ce&&!we&&oe({...Le,thumbnailId:void 0,thumbnailAssetId:void 0,videoId:void 0,videoAssetId:void 0,thumbnailFocalPoint:void 0}),we&&Ot&&G.Z.hasUpload(fe.current.thumbnailId)&&(G.Z.removeUpload(fe.current.thumbnailId),oe({...Le,thumbnailFocalPoint:void 0})),Ce&&$e&&G.Z.hasUpload(fe.current.videoId)&&(G.Z.removeUpload(fe.current.videoId),oe({...Le,thumbnailFocalPoint:void 0})),Ce&&!we&&Ot&&oe({...Le,thumbnailId:void 0,thumbnailAssetId:void 0,thumbnailFocalPoint:void 0}),we&&!Ot&&Ie&&(s.IN.updateFocalPoint(fe.current.thumbnailId,Pt),oe({...Le,thumbnailId:fe.current.thumbnailId,thumbnailFocalPoint:Pt}))},[oe,me,he]);return n.createElement(ie,{...J,value:{...q,video:me,thumbnail:he},onAssetUpload:Be,onAssetUploadCancelled:He,onAssetReady:Ke,onChange:ye})};return ne.displayName="withAssetValueFromV6ContentItem(VideoUploaderField)",ne.propTypes={onChange:u().func.isRequired,value:u().shape({video:u().object,videoId:u().string,videoAssetId:u().string,thumbnail:u().object,thumbnailId:u().string,thumbnailAssetId:u().string,thumbnailFocalPoint:u().shape({x:u().number,y:u().number}),embed:v.Z})},L()(ne,ie)};var R=e(616426),U=e(651780);const j={VIDEO:"-video",IMAGE:"-thumbnail"},$=ie=>{let{fieldDescription:ne,fieldId:pe,value:oe,onChange:q,constraints:J,getMoreMenuActions:me,uploadLabel:re,uploadDescriptionLabel:he,isFullWidth:Ee,sx:fe,allowVimeoBasicAuthorEmbed:H,allowVideoExternalLinkThumbnail:z=!1,completionXHRConfig:_e,thumbnailCompletionXHRConfig:ae,assetDestination:ge,indirectObjectIdentifier:Be,objectDisplayName:Ke,productPage:He,productSection:ye,productItemId:Le,uploaderOrigin:Ue,...Xe}=ie;var Fe,ht;const Ne=(0,n.useRef)(),Ce=(0,n.useRef)(!1),we=(0,n.useRef)(oe),$e=(0,R.y2)(),[Ot,Pt]=(0,n.useState)(!1),[Ie,Bt]=(0,n.useState)(!1),mt=!i()((Fe=oe.video)===null||Fe===void 0?void 0:Fe.id),rt=!!(!((ht=oe.embed)===null||ht===void 0)&&ht.url),Re=mt||z&&rt,nt=(0,U.Nx)()?10800:J==null?void 0:J.maxDuration;(0,n.useEffect)(()=>{$e!=null&&$e.env&&P.MyLibraryAPI.setEnvironment($e.env)},[$e==null?void 0:$e.env]);const st=z?(0,S.t)("Upload or link a video to add a custom featured image.",null,{project:"apps.assetUploader"}):(0,S.t)("Upload a video to add a custom featured image.",null,{project:"apps.assetUploader"}),vt=Pn=>{q({...we.current,...Pn})},ze=Pn=>{Pt(!1),vt({...Pn,video:Pn.asset,thumbnail:void 0,embed:Pn.embed})},It=Pn=>{var Yn,Ln,bn;if(!Ce.current)return;const ir=!i()((Yn=Pn.asset)===null||Yn===void 0?void 0:Yn.id),Zn=((Ln=oe.thumbnail)===null||Ln===void 0?void 0:Ln.id)!==((bn=Pn.asset)===null||bn===void 0?void 0:bn.id);if(mt&&Zn&&ir){const $n=C.default.getState().id;P.MyLibraryAPI.associateAssetThumbnail($n,oe.video.id,Pn.asset.id).catch(jt=>{(0,A.$e)(Rn=>{Rn.setTag("project","asset-uploader"),Rn.setTag("MyLibraryAPI","associateAssetThumbnail"),Rn.setExtra("context",JSON.stringify({libraryId:$n,videoAssetId:oe.video.id,imageAssetId:Pn.asset.id})),(0,A.Tb)(jt)})})}vt({...Pn,thumbnail:Pn.asset})},on=Pn=>{Re&&(Pt(Pn),oe.thumbnail&&vt({thumbnail:void 0}))};return(0,n.useEffect)(()=>{oe.thumbnail&&Pt(!0)},[oe.thumbnail]),(0,n.useEffect)(()=>{we.current=oe},[oe]),(0,n.useEffect)(()=>{Ce.current=Ot},[Ot]),n.createElement(n.Fragment,null,n.createElement(s.ZP,{...Xe,value:{asset:oe.video,embed:oe.embed},fieldId:pe,fieldDescription:`${ne}${j.VIDEO}`,assetType:y.h.VIDEO,onChange:Pn=>ze(Pn),constraints:J?{...J,maxDuration:nt}:null,getMoreMenuActions:me,uploadLabel:re,uploadDescriptionLabel:he,isFullWidth:Ee,sx:fe,allowVimeoBasicAuthorEmbed:H,completionXHRConfig:_e,assetDestination:`${ge}${j.VIDEO}`,indirectObjectIdentifier:Be,productPage:He,productSection:ye,productItemId:Le,uploaderOrigin:Ue}),n.createElement(f.Z,{className:T.unmask,px:(fe==null?void 0:fe.px)||3,"data-test":"custom-featured-image"},n.createElement(d.Z,{ref:Ne,mt:2,py:2,onMouseEnter:()=>Bt(!0),onMouseLeave:()=>Bt(!1)},n.createElement(d.Z,{onClick:()=>on(Pn=>!Pn),flexGrow:1,sx:{cursor:Re?"pointer":"not-allowed"}},n.createElement(h.Z.Body,{m:0,color:Re?"gray.100":"gray.600"},(0,S.t)("Custom featured image",null,{project:"apps.assetUploader"}))),n.createElement(d.Z,{alignSelf:"center","data-test":"custom-featured-image-toggle"},n.createElement(g.Z,{checked:Ot,disabled:!Re,onChange:Pn=>on(Pn)}))),n.createElement(_.Z,{anchor:Ne.current,position:"top",margin:"0",isOpen:Ie&&!Re},st),Ot?n.createElement(s.ZP,{...Xe,fieldId:pe,fieldDescription:`${ne}${j.IMAGE}`,value:{asset:oe.thumbnail},assetType:y.h.IMAGE,onChange:Pn=>It(Pn),isFullWidth:Ee,sx:{px:0},variant:O.Us.LARGE,isLicensedAssetDisabled:!0,completionXHRConfig:ae,assetDestination:`${ge}${j.IMAGE}`,indirectObjectIdentifier:Be,productPage:He,productSection:ye,productItemId:Le,uploaderOrigin:Ue}):n.createElement(p.Z,null)))};$.propTypes={value:u().shape({video:u().object,thumbnail:u().object,embed:v.Z}).isRequired,onChange:u().func.isRequired,constraints:u().shape({acceptedTypes:u().arrayOf(u().string),maxSize:u().number,maxDuration:u().number}),getMoreMenuActions:u().func,uploadLabel:u().string,uploadDescriptionLabel:u().string,isFullWidth:u().bool,sx:u().object,fieldDescription:u().string.isRequired,fieldId:u().string.isRequired,allowVimeoBasicAuthorEmbed:u().bool,allowVideoExternalLinkThumbnail:u().bool,completionXHRConfig:u().arrayOf(u().object),thumbnailCompletionXHRConfig:u().arrayOf(u().object),assetDestination:u().string,indirectObjectIdentifier:u().string,productPage:u().string,productSection:u().string,productItemId:u().string,uploaderOrigin:u().string};const ee=$,te=B($)},249134:function(b,l,e){"use strict";e.d(l,{Z:()=>y});var r=e(347560),o=e(878062),n=e(456903),a=e(131626),i=e.n(a);const c="/api/tld-forms",u="/api/domain-tld-info",d={getTldForms(O){return n.default.get(c,{paramsSerializer:()=>i().stringify({domains:O},{indices:!1}),params:O})},saveTldInfo(O){return n.default.post(u,O)}};var h=e(922115);const _=O=>{let{validator:P,hasAgreedToTerms:C,tldInfo:A}=O;return new Promise((S,T)=>P&&!P.isValid({...A.data||{},hasAgreedToTerms:C})?T({[A.formName]:P.errors}):d.saveTldInfo(A).then(s=>S(s)).catch(s=>{let{response:v}=s;if(v.data.errors)return T({[A.formName]:v.data.errors})}))};class p extends o.Z{loadTldForms(P){return C=>{const A=P?P.map(S=>(0,h.x)(S)):[];return C(),d.getTldForms(A).then(S=>{const T=S.data.forms;this.loadTldFormsSuccess(T)}).catch(this.loadTldFormsFailure)}}saveMultipleTldInfo(P){return C=>{C();const A=Object.values(P).map(_);return Promise.all(A).then(S=>{const T={},s={};return S.forEach(v=>{let{data:m}=v;const{formName:E,...I}=m,L=P[E];s[E]={...I,hasAgreedToTerms:L==null?void 0:L.hasAgreedToTerms},L.affectedDomains.forEach(W=>{T[W]=I.id})}),this.saveTldInfoSuccess({tldInfoByFormName:s,domainNameToTldInfoIdMap:T}),Promise.resolve(T)}).catch(S=>{throw S&&this.saveTldInfoFailure(S),new Error})}}constructor(){super(),this.generateActions("loadTldFormsFailure","loadTldFormsSuccess","saveTldInfoSuccess","saveTldInfoFailure","reset","updateFormField","updateHasAgreedToTerms","removeDomain","discardDirtyState")}}const y=r.Z.createActions(p)},413866:function(b,l,e){"use strict";e.d(l,{Z:()=>P});var r=e(745747),o=e(347560),n=e(680363),a=e(660671),i=e.n(a);const u=C=>{let{form:A,data:S,includeTermsAgreement:T=!1}=C;return(0,n.Z)({...A.fields.reduce((s,v)=>(v.type===i().DISPLAY?s[v.id]={required:!1}:s[v.id]={required:v.requiredWhen?v.requiredWhen.valueMap[S==null?void 0:S[v.requiredWhen.fieldId]]:!0},s),{}),hasAgreedToTerms:{required:T?!!A.termsTitle:!1}})};function f(C){return typeof C=="string"}function d(C){return C!==null&&typeof C=="object"&&!Array.isArray(C)}function h(C){for(const A in C)if(C.hasOwnProperty(A)){const S=C[A];d(S)?h(S):f(S)&&(C[A]=S.trim())}}var g=e(249134),_=e(638774);const p={tldInfoByFormName:{},isDirty:!1,isSavingTldInfo:!1,tldInfoErrors:{}},y={cleanFormState:{...p},tldForms:[],isLoadingTldForms:!1,tldFormsErrors:null,didLoadWithTldForms:!1,hasTldIds:!1,domainNameToTldInfoIdMap:{},domainsRequiringTldId:[],...p};class O extends r.Z{getDomainToTldInfoIdMapForPurchase(){return this.getState().domainNameToTldInfoIdMap}prepareTldInfoForSave(){const{tldInfoByFormName:A,tldForms:S}=this.getState();return S.reduce((s,v)=>{const m=A[v.name]||{};m.data&&h(m.data);const E=u({form:v,includeTermsAgreement:!0,data:m.data});return{...s,[v.name]:{validator:E,hasAgreedToTerms:m.hasAgreedToTerms,affectedDomains:v.domains,tldInfo:{formName:v.name,data:m.data}}}},{})}onLoadTldForms(){this.setState({isLoadingTldForms:!0,tldFormsErrors:null})}onLoadTldFormsSuccess(A){const{tldInfoByFormName:S}=this.state,T=[],s={};A.forEach(v=>{T.push(...v.domains),s[v.name]=S[v.name]||{data:v.fields.reduce((m,E)=>({...m,[E.id]:E.props.defaultValue||""}),{})}}),this.setState({cleanFormState:{...p,tldInfoByFormName:s},isLoadingTldForms:!1,didLoadWithTldForms:!!A.length,tldForms:A,tldInfoByFormName:s,domainsRequiringTldId:T})}onLoadTldFormsFailure(A){this.setState({isLoadingTldForms:!1,tldFormsErrors:A})}onSaveMultipleTldInfo(){this.setState({isSavingTldInfo:!0})}onSaveTldInfoSuccess(A){let{tldInfoByFormName:S,domainNameToTldInfoIdMap:T}=A;const{domainsRequiringTldId:s}=this.state,v=s.every(m=>!!T[m]);this.setState({cleanFormState:{...p,tldInfoByFormName:S},domainNameToTldInfoIdMap:T,tldInfoByFormName:S,hasTldIds:v,isSavingTldInfo:!1,isDirty:!1})}onSaveTldInfoFailure(A){this.setState({isSavingTldInfo:!1,tldInfoErrors:A})}onUpdateFormField(A){let{formName:S,field:T,update:s}=A;const{tldInfoByFormName:v,tldInfoErrors:m}=this.state,{[S]:E={}}=v,I=m[S]||{},{[T]:L,...W}=I;this.setState({tldInfoByFormName:{...v,[S]:{...E,data:{...E.data||{},[T]:s}}},isDirty:!0,tldInfoErrors:{...m,[S]:W}})}onUpdateHasAgreedToTerms(A){let{formName:S,update:T}=A;const{tldInfoByFormName:s,tldInfoErrors:v}=this.state,{[S]:m={}}=s,E=v[S]||{},{hasAgreedToTerms:I,...L}=E;this.setState({tldInfoByFormName:{...s,[S]:{...m,hasAgreedToTerms:T}},isDirty:!0,tldInfoErrors:{...v,[S]:L}})}onRemoveDomain(A){const{tldForms:S,domainNameToTldInfoIdMap:T,domainsRequiringTldId:s}=this.state,v=S.findIndex(W=>W.domains.some(F=>F===A));if(v<0)return;const m=S[v].domains,E=[...s];E.splice(s.indexOf(A),1);const{[A]:I,...L}=T;if(m.length>1){const W=m.findIndex(F=>F===A);this.setState({tldForms:[...S.slice(0,v),{...S[v],domains:[...m.slice(0,W),...m.slice(W+1)]},...S.slice(v+1)],domainNameToTldInfoIdMap:L,domainsRequiringTldId:E})}else{const{tldInfoByFormName:W}=this.state,{[S[v].name]:F,...G}=W,k=[...S.slice(0,v),...S.slice(v+1)];this.setState({tldInfoByFormName:G,tldInfoErrors:{},domainNameToTldInfoIdMap:L,domainsRequiringTldId:E,tldForms:k})}}onReset(){this.setState(y)}onDiscardDirtyState(){this.setState(A=>({...this.state,...A.cleanFormState}))}constructor(){super(),this.state={...y},this.bindActions(g.Z),this.bindListeners({onReset:_.Z.resetCart}),this.exportPublicMethods({getDomainToTldInfoIdMapForPurchase:this.getDomainToTldInfoIdMapForPurchase,prepareTldInfoForSave:this.prepareTldInfoForSave})}}const P=o.Z.createStore(O,"DomainTldInfoStore")},815694:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(174161),o=e(795478),n=e.n(o),a=e(719484),i=e(201117),c=e(714487);const u=h=>{let{className:g,value:_,onChange:p,...y}=h;const O=(0,r.useMemo)(()=>Object.entries((0,c.ox)()).map(P=>{let[C,A]=P;return r.createElement(i.Z.Option,{key:C,value:C},r.createElement(a.Z.Body,{title:A,m:0},A))}),[]);return r.createElement(i.Z,{onChange:p,placeholder:(0,c.t)("Country",null,{project:"domains-universal-checkout"}),"aria-label":(0,c.t)("Country",null,{project:"domains-universal-checkout"}),value:_,mountAt:document.body,renderDropdown:P=>r.createElement(i.Z.Dropdown,{...P,"data-test":"country-select-options"}),...y,"data-test":"country-select"},O)};u.propTypes={value:n().string,locale:n().string,onChange:n().func};const d=u},274270:function(b,l,e){"use strict";e.d(l,{Z:()=>s});var r=e(347560),o=e(144771),n=e.n(o),a=e(456903);const i="/api/domain-contacts",c="/api/1/contact-field-formats/postal-code",u=i+"/default",d={getDefaultContact(){return a.default.get(u)},post(v){return a.default.post(i,v)},getPostalCodeFormats(){return a.default.get(c)}};var h=e(680363),g=e(714487),_=e(795767),p=e.n(_);const O={address1:{required:!0},address2:{validator:v=>v&&(v.length<2||v.length>255)?(0,g.t)("Entry must be 2-255 characters (for example, Apt. 1G)",null,{project:"src.shared"}):null},country:{required:!0},city:{required:!0},state:{validator:(v,m)=>["US","CA"].indexOf(m.country)>=0&&!v?"required":null},postalCode:{validator:(v,m)=>m.country in p()||v?null:"required"}},P=(0,h.Z)(Object.assign({firstName:{required:!0},lastName:{required:!0},email:{required:!0},phone:{required:!0}},O));var C=e(503408),A=e(787592),S=e(878062);class T extends S.Z{loadDefault(){return m=>(m(),d.getDefaultContact().then(E=>this.loadSuccess(E.data)).catch(this.loadFailure))}loadContactPostalCodeFormats(){return m=>(m(),d.getPostalCodeFormats().then(E=>this.loadContactPostalCodeFormatsSuccess(E.data)).catch(()=>{}))}create(m){return E=>(E(),P.isValid(m.contact)?d.post(m).then(I=>(this.createSuccess(I.data),Promise.resolve(I.data)),I=>{let{response:L}=I;if(L.status===400)return this.createFailure(L.data.errors),Promise.reject(L.data.errors);throw this.showSavingErrorAlert(),new C.M("Could not save domain contact information","saveDomainContact",L)}).catch(I=>(I instanceof C.M&&(0,A.$e)(L=>{L.setTag("uc-product-area",n().DOMAIN),(0,A.Tb)(I)}),Promise.reject(I))):(this.createFailure(P.errors),Promise.reject(P.errors)))}constructor(){super(),this.generateActions("createSuccess","createFailure","discardDirtyState","loadFailure","loadSuccess","reset","update","loadContactPostalCodeFormatsSuccess","showSavingErrorAlert","dismissSavingErrorAlert")}}const s=r.Z.createActions(T)},710904:function(b,l,e){"use strict";e.d(l,{Z:()=>p});var r=e(347560),o=e(394470),n=e.n(o),a=e(274270),i=e(413951);const u=y=>i.Z[y.country]?y:{...y,country:""};var f=e(745747);const d=()=>({contact:null,errors:{},isLoading:!1,isCreated:!1,isDirty:!1,isSaving:!1,postalCodeFormats:{},showSavingError:!1});let h=d();const g=y=>{let{contact:O}=y;return h={...d(),contact:O}};class _ extends f.Z{onReset(){this.setState(d())}onUpdate(O){this.setContact(Object.assign({},this.state.contact,O)),Object.keys(this.state.errors).length&&this.setState(P=>({errors:n()(P.errors,Object.keys(O))}))}onCreate(){this.setState({isSaving:!0})}onLoadDefault(){this.setState({isLoading:!0})}onLoadSuccess(O){this.setContact(O),this.setState({isLoading:!1,errors:{},isDirty:!1,isCreated:!1})}onLoadContactPostalCodeFormatsSuccess(O){this.setState({postalCodeFormats:O})}onLoadFailure(){this.setContact({}),this.setState({isLoading:!1,isDirty:!1})}onCreateSuccess(O){this.setContact(O),g({contact:O}),this.setState({isSaving:!1,errors:{},isCreated:!0,isDirty:!1})}setContact(O){if(O.zip&&(O.postalCode=O.zip),O.postal&&(O.postalCode=O.postal),!O.country){var P,C,A,S;O.country=((S=window)===null||S===void 0||(A=S.Static)===null||A===void 0||(C=A.SQUARESPACE_CONTEXT)===null||C===void 0||(P=C.websiteSettings)===null||P===void 0?void 0:P.country)??""}O.phoneCountryCode||(O.phoneCountryCode="US"),this.setState({contact:u(O),isDirty:!0})}onCreateFailure(O){Object.entries({phoneCountryCode:"phone"}).forEach(C=>{let[A,S]=C;O[A]&&(O[S]=O[A])}),this.setState({isSaving:!1,errors:O})}onShowSavingErrorAlert(){this.setState({showSavingError:!0})}onDismissSavingErrorAlert(){this.setState({showSavingError:!1,isSaving:!1})}onDiscardDirtyState(){this.setState(h)}constructor(){super(),this.bindActions(a.Z),this.state=d()}}const p=r.Z.createStore(_,"DomainContactStore")},638774:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(347560),o=e(555827),n=e.n(o),a=e(276406),i=e.n(a),c=e(878062),u=e(142477);class f extends c.Z{setAndPropagateCurrencyCode(g){let{currencyCode:_,cart:p=[],plans:y=[]}=g;return async O=>{if(O(_),p.length)if(y.length)this.updateCartWithNewCurrency({newPlans:n()(y,"planTierName")});else{const P=await u.Z.getAvailablePlans({planType:i().DOMAIN,currency:_});P&&this.updateCartWithNewCurrency({newPlans:n()(P,"planTierName")})}}}constructor(){super(),this.generateActions("setInitialQuery","setIsCartOpen","addSearchResultToCart","removeSearchResultFromCart","resetCart","loadDiscountStatusSuccess","loadDiscountStatusFailure","removeTerm","selectTerm","setPurchaseComplete","updateCartWithNewCurrency")}}const d=r.Z.createActions(f)},348025:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(347560),o=e(745747),n=e(638774),a=e(621106),i=e(827);const c={initialQuery:"",cart:[],isCartOpen:!1,isFreeDomainAvailable:!1,currencyCode:"",isPurchaseComplete:!1,selectedTerms:{}};class u extends o.Z{getFreeDomain(){var h;return(h=this.state.cart.find(g=>g.isPurchasedFree))===null||h===void 0?void 0:h.domainName}getDomains(){return this.state.cart.map(h=>h.domainName)}onSetInitialQuery(h){this.setState({initialQuery:h})}onSetIsCartOpen(h){this.setState({isCartOpen:h})}onAddSearchResultToCart(h){this.setState(g=>{let{cart:_,isFreeDomainAvailable:p}=g;return{cart:[..._,h],isFreeDomainAvailable:p&&!h.isPurchasedFree}})}onRemoveSearchResultFromCart(h){this.setState(g=>{let{cart:_,isFreeDomainAvailable:p,isCartOpen:y,selectedTerms:O}=g;var P;const C=typeof h=="string"?h:h.domainName,A=_.findIndex(s=>s.domainName===C),S=[..._.slice(0,A),..._.slice(A+1)];O!=null&&O[C]&&delete O[C];let T=(P=_[A])===null||P===void 0?void 0:P.isPurchasedFree;return{cart:S.map(s=>(T&&(0,i.t)(s.level)&&(s.isPurchasedFree=!0,T=!1),s)),isFreeDomainAvailable:p||T,isCartOpen:!!S.length&&y,selectedTerms:O}})}onSelectTerm(h){this.setState(g=>{let{selectedTerms:_}=g;return{selectedTerms:{..._,...h}}})}onRemoveTerm(h){this.setState(g=>{let{selectedTerms:_}=g;return _!=null&&_[h]&&delete _[h],{selectedTerms:{..._}}})}onResetCart(){this.setState({cart:[],isCartOpen:!1,selectedTerms:{}})}onLoadDiscountStatusSuccess(h){this.setState({isFreeDomainAvailable:h.isAvailable})}onLoadDiscountStatusFailure(){this.setState({isFreeDomainAvailable:!1})}updateCartWithNewCurrency(h){let{newPlans:g}=h;this.setState(_=>{let{cart:p}=_;return{cart:p.map(y=>{const O=g[y.level]??y.plan;return{...y,plan:{...O}}})}})}onSetAndPropagateCurrencyCode(h){this.setState({currencyCode:h})}onSetPurchaseComplete(h){this.setState({isPurchaseComplete:h})}constructor(){super(),this.state={...c},this.bindActions(n.Z),this.bindActions(a.Z),this.exportPublicMethods({getDomains:this.getDomains,getFreeDomain:this.getFreeDomain})}}const f=r.Z.createStore(u,"DomainSearchStore")},827:function(b,l,e){"use strict";e.d(l,{t:()=>a});var r=e(541339),o=e.n(r);const n={[o().BASIC]:!0,[o().DOMAIN_COM]:!0,[o().DOMAIN_NET]:!0,[o().DOMAIN_ORG]:!0},a=i=>Object.keys(n).includes(i)},422966:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(174161),o=e(881707),n=e(719484),a=e(662872),i=e(552141);const u=f=>{let{username:d,domainName:h}=f;const g=a.Xs[i.y.USER_NAME],_=a.Xs[i.y.DOMAIN],p=d||g,y=h?`@${h}`:_;return r.createElement(o.Z,{borderBottom:1,borderBottomColor:"gray.800"},r.createElement(n.Z.Body,{css:{overflowWrap:"break-word"},"data-test":"gsuite-email-preview","data-testid":"gsuite-email-preview"},r.createElement(n.Z,{as:"span",color:d?void 0:"gray.400","data-test":"user-name"},p),r.createElement(n.Z,{as:"span",color:h?void 0:"gray.400","data-test":"domain-name"},y)))}},119203:function(b,l,e){"use strict";e.d(l,{Z:()=>Hf});var r={};e.r(r),e.d(r,{CATEGORY_ORDER:()=>Ro,FEATURE_IDS_BY_CATEGORY:()=>wr,HIGHLIGHTED_FEATURE_IDS_BY_PLAN:()=>No,MESSAGES_BY_FEATURE_ID:()=>Co});var o={};e.r(o),e.d(o,{CATEGORY_ORDER:()=>Au,FEATURE_IDS_BY_CATEGORY:()=>ic,HIGHLIGHTED_FEATURE_IDS_BY_PLAN:()=>kc,MESSAGES_BY_FEATURE_ID:()=>cu});var n=e(174161),a=e(172788),i=e(657010),c=e(161381),u=e(795478),f=e.n(u),d=e(374335),h=e.n(d),g=e(538117),_=e(859817),p=e(377790),y=e(787592),O=e(714487),P=e(59358);class C extends P.Z{hasPermission(){return!!(0,g.dU)()}getErrorModalProps(){return{title:(0,O.t)("Checkout cannot be completed",null,{project:"universal-checkout"}),message:(0,O.t)("Try again later or contact Squarespace if the problem persists.",null,{project:"universal-checkout"}),dismissText:(0,O.t)("OK",null,{project:"universal-checkout"})}}constructor(){super("environment")}}const S=async function(){let Vn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{displayName:""};Vn=Vn.map(X=>new X(dr));const Rr=await Promise.all(Vn.map(X=>X.hasPermission()));for(const[X,be]of Rr.entries())if(!be)return{canPurchase:!1,errorType:Vn[X].type,errorModalProps:Vn[X].getErrorModalProps()};return{canPurchase:!0}};var T=e(276406),s=e.n(T),v=e(296535),m=e(141654),E=e.n(m),I=e(286465);class L extends P.Z{hasPermission(){return I.Z.hasRole(E().ADMIN)||I.Z.hasRole(E().BILLING)}getErrorModalProps(){return{title:(0,O.t)("Administrator Role Required",null,{project:"universal-checkout"}),message:(0,O.t)("Only contributors with administrator or billing permissions can make purchases. To change your permissions, contact the site owner or an administrator.",null,{project:"universal-checkout"}),dismissText:(0,O.t)("OK",null,{project:"universal-checkout"})}}constructor(){super("admin")}}var W=e(144771),F=e.n(W),G=e(346979),k=e.n(G),x=e(520616),M=e(497440),B=e(474698),R=e(142477),U=e(347560),j=e(456903);const ee={load:()=>j.default.get("/api/newsletters/v1.0/composer/available-plans")};class te{load(){return ee.load().then(dr=>{this.loadSuccess(dr.data)}).catch(this.loadFailure)}constructor(){this.generateActions("loadSuccess","loadFailure")}}const ie=U.Z.createActions(te);class ne{onLoad(){this.setState({isLoading:!0})}onLoadSuccess(dr){this.setState({availablePlans:dr,isLoading:!1,hasLoadError:!1})}onLoadFailure(){this.setState({isLoading:!1,hasLoadError:!0})}constructor(){this.state={isLoading:!1},this.bindActions(ie)}}const pe=U.Z.createStore(ne,"CampaignsAvailablePlansStore");var oe=e(552606),q=e(692964),J=e(419805),me=e(28589),re=e(23006),he=e(475356),Ee=e(287734),fe=e(212004),H=e.n(fe),z=e(696049),_e=e(815248),ae=e.n(_e);const ge=f().oneOf(Object.values(ae())),Be=f().shape({annualSavingsPercent:f().number,id:f().string.isRequired,billingPeriod:f().string.isRequired,periodDisplayName:f().string,price:f().instanceOf(z.default),basePrice:f().instanceOf(z.default),websitePlanGenus:ge}),Ke=f().shape({featureLevel:f().oneOf(Object.values(H())).isRequired,name:f().string.isRequired,plans:f().arrayOf(Be).isRequired,websitePlanGenus:ge});var He=e(897071),ye=e.n(He),Le=e(102825);const Xe=new(ye())({url:"https://events.squarespace.com/api/v1/events",customSchemaName:"universal_checkout"},{event_owner_team:"checkout-payments",event_source:"web",is_squarespace_app:(0,Le.isNativeApp)(),...(0,p.ZP)()}),Fe=(Vn,dr)=>({product_area:Vn,checkout_type:dr,action:"click",actor:"user",object_type:"button"}),ht=(Vn,dr)=>(Rr,X)=>{Xe.track({...Fe(Vn,dr),action:Rr,feature_name:X,object_identifier:"feature-detail-viewed"})},Ne=(Vn,dr)=>Rr=>{Xe.track({...Fe(Vn,dr),list_state:Rr?"expanded":"collapsed",object_identifier:"feature-expansion-button-clicked"})},Ce=(Vn,dr)=>Rr=>{Xe.track({...Fe(Vn,dr),billing_period:Rr,object_identifier:"billing-period-toggle-clicked"})},we=(Vn,dr)=>()=>{Xe.track({...Fe(Vn,dr),action:"view",object_type:"selector",object_identifier:`${Vn}-${dr}-plan-selector`})},$e=(Vn,dr)=>(Rr,X)=>{Xe.track({...Fe(Vn,dr),action:"click",object_type:Rr,object_identifier:`${X}`})},Ot=(Vn,dr)=>({trackFeatureViewed:ht(Vn,dr),trackFeatureExpansion:Ne(Vn,dr),trackBillingPeriodToggle:Ce(Vn,dr),trackPlanSelectorView:we(Vn,dr),trackCampaignsCheckoutRedesignPlanSelectorProductChange:$e(Vn,dr)});var Pt=e(845076),Ie=e.n(Pt),Bt=e(736206),mt=e(920389),rt=e.n(mt),ce=e(153088),Re=e(725538),nt=e(934951),st=e(122606),vt=e(325625),ze=e.n(vt),It=e(719484);function on(Vn,dr,Rr){return dr in Vn?Object.defineProperty(Vn,dr,{value:Rr,enumerable:!0,configurable:!0,writable:!0}):Vn[dr]=Rr,Vn}var Pn;class Yn extends(Pn=n.Component){render(){const{showModal:dr,onModalClose:Rr,heading:X,body:be,closeOnBackButton:Tt,position:On,draggable:fr,lockScroll:Gr,dialogClassName:Do}=this.props;return n.createElement(Re.Z.Transition,null,dr&&n.createElement(Re.Z,{onRequestClose:Rr,closeOnBackButton:Tt,lockScroll:Gr,"data-test":"styled-modal","data-testid":"styled-modal"},n.createElement(Re.Z.Overlay,null),n.createElement(Re.Z.Position,{draggable:fr,position:On},n.createElement(Re.Z.TouchScroll,null,n.createElement(Re.Z.Dialog,{className:Ie()(ze().modalDialog,Do)},n.createElement(st.Z,{className:ze().modalClose,onClick:Rr},n.createElement(nt.T,{project:"universal-checkout"},"Close")),n.createElement("div",{className:ze().modalBody},n.createElement("h1",{className:ze().modalHeading},X),n.createElement(It.Z.Body,{className:ze().modalBodyContent,color:"fg.muted"},be)))))))}}on(Yn,"propTypes",{showModal:f().bool.isRequired,onModalClose:f().func.isRequired,heading:f().string.isRequired|f().func.isRequired,body:f().string.isRequired,closeOnBackButton:f().bool,position:f().string,draggable:f().bool,lockScroll:f().bool,dialogClassName:f().string}),on(Yn,"defaultProps",{closeOnBackButton:!1,dialogClassName:"",draggable:!1,lockScroll:!0,position:"center"});const bn=Yn;var ir=e(881707),Zn=e(297761),$n=e(866264),jt=e.n($n),Rn=e(213865),jn=e(885630),Tn=e(47932);const Nn={SAVE_PERCENT:"save_percent",BILLED_ANNUALLY:"billed_annually",FIRST_MONTH_DISCOUNT:"first_month_discount"};var cn=e(289041),or=e.n(cn),qn=e(600994),Hr=e(936609);const fo=Vn=>{let{isAnalogousToSubscribed:dr,isCurrentlySubscribed:Rr,isPriceRefreshScheduled:X,isSecondaryCTA:be,onClick:Tt,onSelectMouseEnter:On,onSelectMouseLeave:fr}=Vn;const Gr=Rr||dr&&X,Do=dr&&!X,Wo=()=>{const _a=n.createElement(nt.T,{project:"universal-checkout"},"This plan\u2019s features are most similar to your current plan."),Aa=()=>n.createElement(It.Z.Caption,null,_a),za=()=>n.createElement(It.Z.Body,{color:"gray.400"},_a);return n.createElement(Hr.Z.Renderer,{render:{default:za,"desktop-100":Aa}})},zo=be?qn.Z.Secondary:qn.Z.Primary;return n.createElement(n.Fragment,null,Do&&n.createElement(Wo,null),n.createElement(zo,{size:"large",onClick:Tt,onMouseEnter:On,onMouseLeave:fr,"data-test":Gr?"keep-button":"select-button","data-testid":Gr?"keep-button":"select-button",sx:{px:{_:2,"desktop-100":3}}},Gr?n.createElement(nt.T,{project:"universal-checkout"},"Keep"):n.createElement(nt.T,{project:"universal-checkout"},"Select")))};fo.propTypes={isAnalogousToSubscribed:f().bool,isCurrentlySubscribed:f().bool,isPriceRefreshScheduled:f().bool,isSecondaryCTA:f().bool,onClick:f().func,onSelectMouseEnter:f().func,onSelectMouseLeave:f().func};const Jr=fo;function ro(Vn,dr,Rr){return dr in Vn?Object.defineProperty(Vn,dr,{value:Rr,enumerable:!0,configurable:!0,writable:!0}):Vn[dr]=Rr,Vn}class Xt{validatePlanCount(){let dr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.planCount;if(dr<0||dr>5)throw new TypeError(`${dr} plans is not supported. PlanSelectorPlanCount must be between 0 and 5.`)}applyVariantBreakpoints(dr){const{card:Rr,grid:X,_:be}=dr,Tt=dr.default,On={};if(be!==void 0?On._=be:Tt!==void 0&&(On.default=Tt),Rr!==void 0){var fr,Gr;(Gr=this.breakpointsByPlanCountAndVariant[this.planCount])===null||Gr===void 0||(fr=Gr.card)===null||fr===void 0||fr.forEach(zo=>{On[zo]=Rr})}if(X!==void 0){var Do,Wo;(Wo=this.breakpointsByPlanCountAndVariant[this.planCount])===null||Wo===void 0||(Do=Wo.grid)===null||Do===void 0||Do.forEach(zo=>{On[zo]=X})}return On}applyVariantMediaQueries(dr,Rr){const{card:X,grid:be}=dr,Tt=dr._||dr.default||{},On=this.applyVariantBreakpoints({card:X,grid:be}),fr={...Tt};return Object.keys(On).forEach(Gr=>{const Do=Rr[Gr];fr[Do]=On[Gr]}),fr}showCardVariant(dr){return this.getVariantsByPlanCount(this.planCount).card?this.getVariantsByPlanCount(this.planCount).card.includes(dr):!1}showGridVariant(dr){return this.getVariantsByPlanCount(this.planCount).grid?this.getVariantsByPlanCount(this.planCount).grid.includes(dr):!1}constructor(dr=0){var Rr=this;ro(this,"defaultBreakpointsByVariant",{card:["desktop-0","mobile-0","mobile-100"],grid:["desktop-100","desktop-50","tablet-0","tablet-100"]}),ro(this,"breakpointsByPlanCountAndVariant",{0:this.defaultBreakpointsByVariant,1:this.defaultBreakpointsByVariant,2:this.defaultBreakpointsByVariant,3:this.defaultBreakpointsByVariant,4:this.defaultBreakpointsByVariant,5:{card:["desktop-0","desktop-50","mobile-0","mobile-100","tablet-0"],grid:["desktop-100","tablet-100"]}}),ro(this,"planCount",0),ro(this,"getVariantsByPlanCount",function(){let X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Rr.planCount;return Rr.validatePlanCount(X),Rr.breakpointsByPlanCountAndVariant[X]}),this.validatePlanCount(dr),this.planCount=dr}}const Je=n.createContext(new Xt);var At=e(37943),xt=e.n(At),Qt=e(647221);const qt=Vn=>(Vn==null?void 0:Vn.some(Rr=>(Rr==null?void 0:Rr.featureLevel)===H().WEBSITE_BASIC))||(0,Qt.m)(),Te=Vn=>{let{productLine:dr,planLine:Rr,products:X,shouldShowProductLine:be}=Vn;const On=qt(X)?void 0:(0,O.t)("Commerce",null,{project:"universal-checkout"}),fr={[xt().WEBSITE_COMMERCE]:On,[xt().GOOGLE_WORKSPACE]:"Business"};if(be){if(dr)return be(dr)&&dr}else return;return be(Rr)&&Rr&&fr[Rr]},un=Vn=>{let{productLine:dr,planLine:Rr,products:X,shouldShowProductLine:be}=Vn;const Tt=(0,n.useContext)(Je);return be?n.createElement(It.Z.Label,{position:Tt.applyVariantBreakpoints({_:"relative",grid:"absolute"}),top:Tt.applyVariantBreakpoints({_:0,grid:2}),mb:Tt.applyVariantBreakpoints({_:1,grid:0}),left:"50%","data-testid":"product-line",sx:{transform:"translateX(-50%)"}},Te({products:X,productLine:dr,planLine:Rr,shouldShowProductLine:be})):null},Vt=Vn=>{let{amount:dr,annualBilledAmount:Rr,annualSavingsPercent:X,hasFirstMonthDiscount:be,hasSubscription:Tt,isAnnualVariant:On}=Vn;const fr=(0,n.useContext)(Je);if(be)return n.createElement(nt.T,{basePrice:dr,project:"universal-checkout"},"{basePrice} thereafter");const zo=Tt?_a=>n.createElement(nt.T,{annualBilledAmount:Rr,annualSavingsPercent:(0,O.uf)(X/100,{style:"percent"}),break:_a,project:"universal-checkout","data-testid":"combined-annual-savings-and-amount"},"Save {annualSavingsPercent} and pay{break}{annualBilledAmount} annually"):On?_a=>n.createElement(nt.T,{annualBilledAmount:dr,break:_a,project:"universal-checkout","data-test":"billed-annually-amount","data-testid":"billed-annually-amount"},"Billed at {annualBilledAmount}{break}annually"):_a=>n.createElement(nt.T,{annualSavings:(0,O.uf)(X/100,{style:"percent"}),break:_a,project:"universal-checkout","data-test":"annual-savings"},"Save {annualSavings}{break}annually");return n.createElement(Hr.Z.Renderer,{render:fr.applyVariantBreakpoints({default:()=>zo(" "),grid:()=>zo(n.createElement("br",null))})})};Vt.propTypes={amount:f().string.isRequired,annualBilledAmount:f().string.isRequired,annualSavingsPercent:f().number.isRequired,hasFirstMonthDiscount:f().bool,hasSubscription:f().bool,variant:f().string};const Wt=Vt,Pe=Vn=>{let{amount:dr,annualBilledAmount:Rr,annualSavingsPercent:X,displayAnnualPricingText:be,hasFirstMonthDiscount:Tt,hasSubscription:On,isAnnualPlan:fr,planPricingVariant:Gr}=Vn;const Do=(0,n.useContext)(Je),Wo=be&&fr,zo=On&&!be,_a=Number(X)>0&&(fr||Tt)||zo||Wo,Aa=Gr===Nn.BILLED_ANNUALLY;return n.createElement(It.Z.Caption,{color:be?"gray.100":"blue.300",mb:{_:Rn.space[4],"desktop-100":Rn.space[2],"desktop-50":Rn.space[2]},opacity:_a?1:0,minHeight:On?0:{_:"auto","desktop-100":Rn.space[6],"desktop-50":Rn.space[6]},sx:{transition:`opacity ${Rn.time[350]} ${Rn.easing.product.default}`},fontSize:Do.applyVariantBreakpoints({_:4,grid:2}),lineHeight:Do.applyVariantBreakpoints({_:2,grid:1}),"data-test":_a?"visible-savings":""},n.createElement(Wt,{amount:dr,annualBilledAmount:Rr,annualSavingsPercent:X,hasFirstMonthDiscount:Tt,hasSubscription:zo,isAnnualVariant:Aa,displayAnnualPricingText:be}))};Pe.propTypes={amount:f().string.isRequired,annualBilledAmount:f().string.isRequired,annualSavingsPercent:f().number.isRequired,displayAnnualPricingText:f().bool,hasFirstMonthDiscount:f().bool,hasSubscription:f().bool,isAnnualPlan:f().bool,planPricingVariant:f().string};const Ae=Pe;function qe(Vn){if(!Vn)return!1;const{type:dr,value:Rr}=Vn;return dr==="spacer"||Rr.charCodeAt(0)===160}const ut=Vn=>{let{currencyType:dr,monthlyPrice:Rr}=Vn;const{breakpoints:X}=(0,Tn.F)(),be=(0,jn.i)(X).name,Tt=(0,n.useContext)(Je);let On;return Tt.showCardVariant(be)?On=(0,O.lb)(Rr,{trimZeroFractions:!0}):On=(0,O.$R)(Rr.toFloat(),dr,{trimZeroFractions:!0}).map((fr,Gr)=>fr.type==="currency"||qe(fr)?n.createElement(It.Z,{as:"sup",fontSize:3,lineHeight:2,"data-testid":"currency-sup",key:Gr,top:"-0.75em"},fr.value):fr.value),n.createElement(n.Fragment,null,On)},Ft=Vn=>Vn.basePrice?Vn.price:Vn.discountedPrice||Vn.price,tn=Vn=>Vn.basePrice||Vn.price,In=Vn=>{let{annualPlan:dr,currency:Rr,displayAnnualPricingText:X,priceUnitModifier:be,hasFirstMonthDiscount:Tt,hasSubscription:On,isAnnualPlan:fr,isCurrentlySubscribed:Gr,monthlyPrice:Do,plan:Wo,planPricingVariant:zo}=Vn;const _a=(0,O.lb)(tn(Wo),{trimZeroFractions:!0}),Aa=(0,O.lb)(tn(dr),{trimZeroFractions:!0}),za=dr.annualSavingsPercent,ps=(0,n.useContext)(Je),{breakpoints:Ws}=(0,Tn.F)(),Oi=(0,jn.i)(Ws).name;return n.createElement(n.Fragment,null,n.createElement(It.Z.Title,{as:"p",fontSize:ps.applyVariantBreakpoints({_:"32px",card:7}),fontWeight:ps.applyVariantBreakpoints({_:"medium",card:"semibold"}),lineHeight:ps.applyVariantBreakpoints({_:"33px",card:5}),"data-test":"price","data-testid":"price",my:2,color:"gray.100"},n.createElement(ut,{monthlyPrice:Do,currencyType:Rr.code}),be&&n.createElement(It.Z.Caption,{color:Gr?"gray.300":"gray.100",fontSize:ps.applyVariantBreakpoints({_:2,card:4}),fontWeight:"semibold",ml:1},be),n.createElement(It.Z.Caption,{fontSize:ps.applyVariantBreakpoints({_:2,card:4}),display:ps.applyVariantBreakpoints({_:"block",card:"inline"}),mt:1,color:"gray.100"},Tt?(0,O.t)(" first month",null,{project:"universal-checkout"}):ps.showCardVariant(Oi)?(0,O.t)(" / month",null,{project:"universal-checkout",notes:"Shorter version of per month (for example, $16 / month)"}):(0,O.t)(" per month",null,{project:"universal-checkout"}))),n.createElement(Ae,{amount:_a,annualBilledAmount:Aa,annualSavingsPercent:za,displayAnnualPricingText:X,hasFirstMonthDiscount:Tt,hasSubscription:On,isAnnualPlan:fr,isCurrentlySubscribed:Gr,planPricingVariant:zo}))};In.propTypes={annualPlan:Be.isRequired,currency:f().object,displayAnnualPricingText:f().bool,priceUnitModifier:f().string,hasFirstMonthDiscount:f().bool,hasSubscription:f().bool,isAnnualPlan:f().bool,isCurrentlySubscribed:f().bool,monthlyPrice:f().object,plan:Be.isRequired,planPricingVariant:f().string};const Sr=In,Yr="50px",Mn=Vn=>{let{backgroundColor:dr="blue.300",children:Rr,dataTest:X,bigBanner:be=!0}=Vn;const Tt=(0,n.useContext)(Je),On=be?`-${Yr}`:`-${Rn.space[4]}`;return n.createElement(ir.Z,{position:"absolute",top:Tt.applyVariantBreakpoints({_:0,grid:On}),left:0,right:0,backgroundColor:dr,py:be?0:1,height:be?Yr:"sizes.150",width:"100%","data-test":X},n.createElement(It.Z.Label,{textAlign:"center",color:"white",lineHeight:be?Yr:0},Rr))},vr=Vn=>{let{showCurrentBanner:dr,showSimilarBanner:Rr,showMostPopular:X,showRecommended:be}=Vn;return n.createElement(n.Fragment,null,X&&n.createElement(Mn,{dataTest:"most-popular"},n.createElement(nt.T,{project:"universal-checkout"},"Most Popular")),be&&n.createElement(Mn,{dataTest:"recommended"},n.createElement(nt.T,{project:"universal-checkout",notes:"This text is displayed above the recommended plan for a user to purchase."},"Recommended")),Rr&&n.createElement(Mn,{dataTest:"similar-plan-banner",bigBanner:!1},n.createElement(nt.T,{project:"universal-checkout"},"Similar Plan")),dr&&n.createElement(Mn,{dataTest:"current-plan-banner",backgroundColor:"gray.300",bigBanner:!1},n.createElement(nt.T,{project:"universal-checkout"},"Current Plan")))},Dr=Vn=>Vn===a.vl.NEW_PURCHASE,eo=Vn=>{let{annualPlan:dr,annualPricingDetailsByProductCurrency:Rr,BadgeSection:X,checkoutType:be,currency:Tt,displayAnnualPricingText:On,hasSubscription:fr,isAnalogousToSubscribed:Gr,isCurrentlySubscribed:Do,isSimilarToSubscribed:Wo,onSelect:zo,onSelectMouseEnter:_a,onSelectMouseLeave:Aa,plan:za,planPricingVariant:ps,pricePerCycle:Ws,priceUnitModifier:Oi,products:bl,shouldShowProductLine:tl,showMostPopular:cl,showRecommended:pl,isPriceRefreshScheduled:Uc}=Vn;var rc;const Jc=(0,n.useContext)(Je),{productLine:iu,planLine:ju,planDisplayName:vu,featureLevel:ed,displayName:Nf,planType:Zf}=za,Af=(0,Ee.pE)(za.billingPeriod),rh=Af?Ws.divide(12):Ws,Yd=!Af&&ps===Nn.FIRST_MONTH_DISCOUNT,Qd=Rr==null||(rc=Rr[ed])===null||rc===void 0?void 0:rc[Tt.code],Bf=Do||Gr&&Uc,mf=!Gr||Uc,oh=cl||pl||Bf||Wo,jf=Dr(be),uh=oh&&jf||Bf,Gu=!oh&&jf,{breakpoints:gh}=(0,Tn.F)(),Om=Jc.planCount<5&&(0,jn.i)(gh).name==="desktop-100"?`${Rn.space[4]} ${Rn.space[4]} ${Rn.space[2]}`:`${Rn.space[4]} ${Rn.space[2]} ${Rn.space[2]}`;return n.createElement(ir.Z,{"data-test":"plan-pricing-selector","data-testid":"plan-pricing-selector",sx:{textAlign:Jc.applyVariantBreakpoints({_:"left",grid:"center"}),position:Jc.applyVariantBreakpoints({_:"initial",grid:"relative"})},padding:Jc.applyVariantBreakpoints({_:Om,card:`0 0 ${Rn.space[6]}`}),pt:uh?Jc.applyVariantBreakpoints({card:Yr}):null,className:Ie()(or().contents,{[or().analogousPlanContents]:Gr})},uh&&n.createElement(vr,{showCurrentBanner:Bf,showSimilarBanner:Wo,showMostPopular:cl,showRecommended:pl}),n.createElement(un,{productLine:iu,products:bl,planLine:ju,shouldShowProductLine:tl}),n.createElement(It.Z.Body,{m:0,"data-test":"plan-name",fontSize:Jc.applyVariantBreakpoints({_:3,card:5}),fontWeight:Rn.fontWeights.medium},vu||Nf),X&&n.createElement(X,{plan:za}),mf&&n.createElement(Sr,{annualPlan:dr,annualPricingDetail:Qd,currency:Tt,displayAnnualPricingText:On,priceUnitModifier:Oi,hasFirstMonthDiscount:Yd,hasSubscription:fr,isAnnualPlan:Af,isCurrentlySubscribed:Do,monthlyPrice:rh,plan:za,planPricingVariant:ps}),n.createElement(Jr,{isAnalogousToSubscribed:Gr,isCurrentlySubscribed:Do,isSimilarToSubscribed:Wo,isPriceRefreshScheduled:Uc,onClick:()=>{zo({...za,isCurrentlySubscribed:Do})},onSelectMouseEnter:_a,onSelectMouseLeave:Aa,isSecondaryCTA:Gu}))};eo.defaultProps={currency:{code:"USD"},hasSubscription:!1,isAnalogousToSubscribed:!1,isAnnualPlan:!0,isCurrentlySubscribed:!1,onSelectMouseEnter:()=>{},onSelectMouseLeave:()=>{},planPricingVariant:Nn.SAVE_PERCENT,showMostPopular:!1,showRecommended:!1},eo.propTypes={annualPlan:Be.isRequired,annualPricingDetailsByProductCurrency:f().object,BadgeSection:f().oneOfType([f().node,f().func]),checkoutType:f().string,currency:f().object,displayAnnualPricingText:f().bool,hasSubscription:f().bool,isAnalogousToSubscribed:f().bool,isCurrentlySubscribed:f().bool,onSelect:f().func.isRequired,onSelectMouseEnter:f().func,onSelectMouseLeave:f().func,plan:Be.isRequired,planPricingVariant:f().string,pricePerCycle:f().instanceOf(z.default).isRequired,priceUnitModifier:f().string,products:f().arrayOf(Ke),shouldShowProductLine:f().func,showMostPopular:f().bool,showRecommended:f().bool,isPriceRefreshScheduled:f().bool};const Bn=eo;var ar=e(207250),rn=e(826788),Rt=e(122003),Qe=e(61742),Ye=e.n(Qe);const yt=Vn=>{let{billingPeriod:dr,feature:Rr,product:X,openFeatureModel:be,...Tt}=Vn;const On=dr===Ee.fn&&Rr.disabledOnMonthly,fr=typeof Rr.featureLevelIndicators=="function"?Rr.featureLevelIndicators(X.plans[0].rateSheet):Rr.featureLevelIndicators[X.featureLevel],Gr=typeof Rr.cardDisplayName=="function"?Rr.cardDisplayName(fr):Rr.cardDisplayName,Do=typeof Rr.displayName=="function"?Rr.displayName(fr):Rr.displayName,Wo=Gr||Rr.displayNameWithLink||Do,zo=(fr||Rr.showWithoutIndicators)&&!On,_a=qt([X]);return zo?n.createElement("div",{role:"button",key:Rr.id,"data-test":"feature-item","data-testid":"feature-item",className:Ye().feature,...Tt},fr&&n.createElement(rn.Z,{"data-testid":"checkmark-icon"}),n.createElement("div",{"data-test":"indicator-content"},n.createElement("span",{style:_a?{verticalAlign:"top"}:{}},Wo,Rr.footnoteIndicator&&n.createElement(Rr.footnoteIndicator,null)),_a&&Rr.description&&n.createElement(qn.Z.Base,{sx:{minHeight:"auto",verticalAlign:"text-bottom"},onClick:()=>be(Rr.id),"aria-label":(0,O.t)("feature details",null,{project:"universal-checkout"})},n.createElement(Rt.Z,{color:"fg.muted",sx:{pl:1},"data-testid":"info-circle-icon"})))):null};yt.propTypes={billingPeriod:f().string,feature:f().shape({id:f().string,displayName:f().oneOfType([f().string,f().func,f().object]),featureLevelIndicators:f().oneOfType([f().object,f().func]),displayNameWithLink:f().object,cardDisplayName:f().oneOfType([f().string,f().func])}),product:Ke,openFeatureModel:f().func};const Mt=yt;var ot=e(859947),et=e.n(ot);const St=Vn=>{let{featureMessages:dr,isExpanded:Rr,label:X,list:be,openFeatureModel:Tt,product:On,selectedBillingPeriod:fr,...Gr}=Vn;return n.createElement("div",{className:Ie()(et().featureCategory,Rr&&et().featureCategoryExpanded),...Gr},n.createElement(ar.Z,{context:!0,className:et().categoryLabel,label:X}),be.map(Do=>n.createElement(Mt,{key:Do,billingPeriod:fr,feature:dr.byId[Do],product:On,onClick:qt([On])?()=>{}:()=>Tt(Do),openFeatureModel:Tt})))};St.propTypes={featureMessages:f().object,isExpanded:f().bool,label:f().string,list:f().array,openFeatureModel:f().func,product:Ke,selectedBillingPeriod:f().string},St.defaultProps={isExpanded:!1,list:[]};const er=St;var Mr=e(412166),mn=e(599433),Un=e(604934);const hr=Vn=>{let{isExpanded:dr,onClick:Rr}=Vn;const X=dr?n.createElement(nt.T,{project:"universal-checkout"},"Show Fewer Features"):n.createElement(nt.T,{project:"universal-checkout"},"Show All Features");return n.createElement(ir.Z,{p:1,sx:{borderTop:`1px solid ${Rn.colors.gray[800]}`}},n.createElement(qn.Z,{onClick:Rr,variant:"base",size:"large",color:Rn.colors.black,fontSize:1,fontWeight:Rn.fontWeights.book,width:"100%"},n.createElement(Mr.Z,{px:3,width:"100%",justifyContent:"space-between"},X,dr?n.createElement(mn.Z,null):n.createElement(Un.Z,null))))};hr.propTypes={isExpanded:f().bool,onClick:f().func.isRequired},hr.defaultProps={isExpanded:!1};const io=hr;var Kr=e(183668);const xo=Vn=>{let{annualPricingDetailsByProductCurrency:dr,BadgeSection:Rr,checkoutType:X,currency:be,displayAnnualPricingText:Tt,expandedFeatureLevels:On,featureLevelMetadata:fr,featureMessages:Gr,handleExpandFeature:Do,hasSubscription:Wo,hideFeaturesToggle:zo,onSelect:_a,openFeatureModel:Aa,planPricingVariant:za,products:ps,selectedBillingPeriod:Ws,shouldShowProductLine:Oi,priceUnitModifier:bl,isPriceRefreshScheduled:tl}=Vn;const{highlightedFeaturesByPlan:cl,orderedByCategory:pl}=Gr,Uc=!zo;return n.createElement(n.Fragment,null,ps.map(rc=>{const Jc=rc[Ws]||rc[Ms],{[Kr.tv.ANNUALLY]:iu,featureLevel:ju}=rc,vu=(cl==null?void 0:cl[ju])||{},{includes:ed,features:Nf}=vu,Zf=On[ju],{isMostPopular:Af,isRecommended:rh,isCurrentlySubscribed:Yd,isAnalogousToSubscribed:Qd,isHighlighted:Bf,isSimilarToSubscribed:mf}=fr[ju];return n.createElement(Zn.Z,{key:ju,className:Ie()(jt().card,{[jt().highlightedPlan]:Bf}),"data-test":"feature-card","data-testid":"feature-card"},n.createElement(ir.Z,{className:jt().featureInformation,"data-test":Af?"is-most-popular-mobile":""},n.createElement(Bn,{annualPlan:iu,annualPricingDetailsByProductCurrency:dr,BadgeSection:Rr,checkoutType:X,currency:be,displayAnnualPricingText:Tt,hasSubscription:Wo,isAnalogousToSubscribed:Qd,isSimilarToSubscribed:mf,isCurrentlySubscribed:Yd,onSelect:_a,plan:Jc,planPricingVariant:za,pricePerCycle:Ft(Jc),products:ps,shouldShowProductLine:Oi,showMostPopular:Af,showRecommended:rh,priceUnitModifier:bl,isPriceRefreshScheduled:tl}),!Zf&&Uc?n.createElement(er,{list:Nf,product:rc,selectedBillingPeriod:Ws,featureMessages:Gr,openFeatureModel:Aa,label:ed}):pl.map(oh=>oh.features.some(uh=>Gr.byId[uh].featureLevelIndicators[ju])&&n.createElement(er,{list:oh.features,product:rc,selectedBillingPeriod:Ws,featureMessages:Gr,key:oh.id,label:oh.displayName,openFeatureModel:Aa,isExpanded:!0}))),Uc&&n.createElement(io,{product:rc,isExpanded:Zf,onClick:()=>Do(ju)}))}))};xo.propTypes={annualPricingDetailsByProductCurrency:f().object,BadgeSection:f().oneOfType([f().node,f().func]),currency:f().shape({symbol:f().string,code:f().string}),expandedFeatureLevels:f().object,featureMessages:f().shape({byId:f().object,orderedByCategory:f().array}),handleExpandFeature:f().func,hasSubscription:f().bool,onSelect:f().func.isRequired,planPricingVariant:f().string,products:f().arrayOf(Ke).isRequired,selectedBillingPeriod:f().string,displayAnnualPricingText:f().bool,shouldShowProductLine:f().func,featureLevelMetadata:f().object.isRequired,priceUnitModifier:f().string,isPriceRefreshScheduled:f().bool};const bo=xo,Ia=()=>(0,n.useContext)(a.D4),Da=Vn=>{let{feature:dr}=Vn;const Rr=dr!=null&&dr.displayNameWithLink?dr.displayNameWithLink:dr.displayName;return n.createElement("span",{"data-testid":"mobile-modal-heading-label"},Rr,dr.footnoteIndicator&&n.createElement(dr.footnoteIndicator,null))},Za=Vn=>{let{universalCheckoutVariant:dr,className:Rr,hideFeaturesToggle:X,subscribedPlan:be,currency:Tt,products:On,checkoutType:fr,onSelect:Gr,featureMessages:Do={},BannerSection:Wo,BadgeSection:zo,annualPricingDetailsByProductCurrency:_a,possibleSavingsByCurrency:Aa,maxSavingsAnnually:za,planPricingVariant:ps,shouldShowProductLine:Ws,displayAnnualPricingText:Oi,selectedBillingPeriod:bl,trackingUtils:{trackFeatureExpansion:tl,trackFeatureViewed:cl},handleBillingPeriodChange:pl,featureLevelMetadata:Uc,priceUnitModifier:rc,isPriceRefreshScheduled:Jc}=Vn;const iu=(0,n.useRef)(null),[ju,vu]=(0,n.useState)(!1),{isCenteredLayout:ed,setIsCenteredLayout:Nf}=Ia(),Zf=async()=>{await(0,Bt.Z)();const Gu=new IntersectionObserver(gh=>{gh.forEach(Om=>{const{isIntersecting:yv}=Om;vu(!yv)})},{threshold:[.02,.98]});return Gu&&iu.current&&Gu.observe(iu.current),Gu};(0,n.useEffect)(()=>{let Gu;return Zf().then(gh=>{Gu=gh}),()=>{Gu&&Gu.disconnect()}},[]),(0,n.useEffect)(()=>{ed||Nf(!0)},[ed,Nf]);const Af=On.reduce((Gu,gh)=>(Gu[gh.featureLevel]=!1,Gu),{}),[rh,Yd]=(0,n.useState)(null),[Qd,Bf]=(0,n.useState)(Af),mf=rh&&Do.byId[rh],oh=(0,n.useCallback)(Gu=>{cl("click",Do.byId[Gu].displayName),Yd(Gu)},[Do,cl,Yd]),jf=(0,n.useCallback)(()=>{Yd(null)},[Yd]),uh=(0,n.useCallback)(Gu=>{const gh=!Qd[Gu];tl(gh),Bf({...Qd,[Gu]:gh})},[Qd,tl,Bf]);return n.createElement("div",{"data-testid":"mobile-plan-selector",className:Ie()(rt().contents,Rr)},Wo&&n.createElement(Wo,null),n.createElement(bo,{annualPricingDetailsByProductCurrency:_a,BadgeSection:zo,currency:Tt,checkoutType:fr,displayAnnualPricingText:Oi,expandedFeatureLevels:Qd,featureLevelMetadata:Uc,featureMessages:Do,handleExpandFeature:uh,hasSubscription:!!be,hideFeaturesToggle:X,onSelect:Gr,openFeatureModel:oh,planPricingVariant:ps,products:On,selectedBillingPeriod:bl,shouldShowProductLine:Ws,universalCheckoutVariant:dr,priceUnitModifier:rc,isPriceRefreshScheduled:Jc}),(mf==null?void 0:mf.description)&&n.createElement(bn,{showModal:!0,heading:n.createElement(Da,{feature:mf}),body:mf.description,onModalClose:jf,position:"fullscreen"}))};Za.defaultProps={BannerSection:null,hasFirstMonthDiscount:!1,products:[]},Za.propTypes={annualPricingDetailsByProductCurrency:f().object,BannerSection:f().oneOfType([f().node,f().func]),BadgeSection:f().oneOfType([f().node,f().func]),checkoutType:f().string,currency:f().shape({symbol:f().string,code:f().string}),className:f().string,featureMessages:f().shape({byId:f().object,orderedByCategory:f().array}),handleBillingPeriodChange:f().func.isRequired,maxSavingsAnnually:f().number,onSelect:f().func.isRequired,planPricingVariant:f().string,products:f().arrayOf(Ke).isRequired,possibleSavingsByCurrency:f().object,selectedBillingPeriod:f().string,shouldShowProductLine:f().func,displayAnnualPricingText:f().bool,trackingUtils:f().shape({trackFeatureExpansion:f().func,trackFeatureViewed:f().func}).isRequired,subscribedPlan:Be,featureLevelMetadata:f().object.isRequired,hideFeaturesToggle:f().bool,priceUnitModifier:f().string,isPriceRefreshScheduled:f().bool};const ba=Za;var ns=e(464792),Ja=e.n(ns);const Is=Vn=>{let{className:dr,indicator:Rr}=Vn;return n.createElement("span",{className:dr},Rr==="CHECK"?n.createElement(rn.Z,{"data-testid":"checkmark-icon"}):Rr)},Vr=Vn=>{let{billingPeriod:dr,feature:Rr,hoverColumnIndex:X,products:be,featureLevelMetadata:Tt}=Vn;return!be||!be.length?null:be&&be.map((On,fr)=>{let{featureLevel:Gr,plans:Do}=On;const Wo=X===fr;let zo=null;if(Rr.featureLevelIndicators){var _a;zo=typeof Rr.featureLevelIndicators=="function"?Rr.featureLevelIndicators((_a=Do[0])===null||_a===void 0?void 0:_a.rateSheet):Rr.featureLevelIndicators[Gr]}const Aa=dr===Ee.fn&&Rr.disabledOnMonthly,za=Tt[Gr],ps=za?za.isHighlighted:!1;return n.createElement(ir.Z,{key:Gr,className:Ja().featureIndicator,backgroundColor:ps||Wo?"gray.900":"none","data-test":"product-feature","data-testid":"product-feature"},zo&&n.createElement(Is,{className:Ie()(Ja().featureIndicatorIcon,{[Ja().hideMonthly]:Aa}),indicator:zo}))})};Vr.defaultProps={feature:{}},Vr.propTypes={billingPeriod:f().string,feature:f().object,hoverColumnIndex:f().number,products:f().array,featureLevelMetadata:f().object.isRequired};const To=Vr;var xr=e(635897),uo=e(826081),Mo=e(224353),go=e(966449),ea=e.n(go);const ha=Vn=>{let{dataTest:dr,className:Rr,feature:X,onTooltipClose:be,onTooltipOpen:Tt,productType:On,tooltipOpen:fr,trackingUtils:{trackFeatureViewed:Gr},...Do}=Vn;const Wo=1,zo=(0,n.useRef)(null),_a=`${X.id}__tooltip_description`,Aa=qt(Do.products),za=()=>X.displayNameWithLink||X.displayName,ps=(Oi,bl)=>{Oi?(Tt(),typeof X.displayName=="string"?Gr(bl,X.displayName):(0,y.$e)(tl=>{(0,xr.N)(tl),tl.setTag("uc-product-area",On),(0,y.uT)("FeatureRow tooltip event: unexpected type for feature display name","error")})):be()},Ws=Aa?{}:{className:ea().tooltipAnchor,onBlur:()=>ps(!1),onFocus:()=>ps(!0,"focus"),onMouseEnter:()=>ps(!0,"hover"),onMouseLeave:()=>ps(!1)};return n.createElement(ir.Z,{"data-test":dr,"data-testid":dr,className:Ie()(ea().featureRow,Rr),borderBottomWidth:1,borderBottomColor:"gray.800",borderBottomStyle:"solid"},n.createElement(ir.Z,{className:ea().featureName,py:2},X.description?n.createElement(n.Fragment,null,n.createElement(ir.Z,{"data-testid":`${dr}__tooltipAnchor`,"aria-describedby":_a,pl:Wo,ref:zo,display:"inline-block",style:Aa?{textWrap:"pretty"}:{},...Ws},n.createElement("span",{"data-testid":"feature-row-display-name"},za(),X.footnoteIndicator&&n.createElement(X.footnoteIndicator,null)),Aa&&n.createElement(qn.Z.Base,{height:Rn.sizes.sizes[125],width:Rn.sizes.sizes[125],m:`0 0 0 ${Rn.space[1]}`,sx:{minHeight:"auto",verticalAlign:"text-bottom"},onBlur:()=>ps(!1),onFocus:()=>ps(!0,"focus"),onMouseEnter:()=>ps(!0,"hover"),onMouseLeave:()=>ps(!1)},n.createElement(uo.Z,{color:"fg.muted","aria-label":(0,O.t)("feature details",null,{project:"universal-checkout"})}))),n.createElement(Mo.Z,{anchor:zo.current,id:`${X.id}__tooltip`,isOpen:fr,role:"tooltip",position:"top-start","data-testid":"tooltip"},n.createElement(It.Z.Subtitle,{as:"span",color:Rn.colors.white,display:"block",mb:2,"data-testid":"feature-row-tooltip-subtitle"},X.displayName.replace?X.displayName.replace("*",""):X.displayName,X.footnoteIndicator&&n.createElement(X.footnoteIndicator,null)),n.createElement(It.Z.Caption,{id:_a,as:"span",sx:{whiteSpace:"pre-wrap"},color:Rn.colors.white,display:"block"},X.description))):n.createElement(ir.Z,{pl:Wo},za())),n.createElement(To,{feature:X,...Do}))};ha.defaultProps={className:"",feature:{},onTooltipClose:()=>{},onTooltipOpen:()=>{},tooltipOpen:!1,trackingUtils:{trackFeatureViewed:()=>{}}},ha.propTypes={className:f().string,feature:f().object,onTooltipClose:f().func.isRequired,onTooltipOpen:f().func.isRequired,productType:f().string,tooltipOpen:f().bool.isRequired,trackingUtils:f().object};const Lr=ha;var ao=e(951129),ho=e.n(ao);const Lo=Vn=>{let{className:dr,featureMessages:Rr,hoverColumnIndex:X,products:be,productType:Tt,selectedBillingPeriod:On,trackingUtils:fr,featureLevelMetadata:Gr}=Vn;const[Do,Wo]=(0,n.useState)(null),zo=ho()[`columns${be.length}`];return n.createElement("div",{className:Ie()(dr,ho().featuresTable)},Rr&&Rr.orderedByCategory.map((_a,Aa)=>{const{id:za,displayName:ps,features:Ws}=_a;return n.createElement(n.Fragment,{key:za},n.createElement("div",{className:Ie()(ho().categoryRow,zo)},n.createElement(ar.Z,{className:ho().categoryLabel,label:ps,context:!0}),n.createElement(To,{hoverColumnIndex:X,products:be,featureLevelMetadata:Gr})),Ws.map(Oi=>n.createElement(Lr,{onTooltipOpen:()=>Wo(Oi),onTooltipClose:()=>Wo(null),tooltipOpen:Do===Oi,billingPeriod:On,className:zo,dataTest:"initially-shown-features",feature:Rr.byId[Oi],hoverColumnIndex:X,key:Oi,products:be,productType:Tt,trackingUtils:fr,featureLevelMetadata:Gr})))}))};Lo.defaultProps={className:""},Lo.propTypes={className:f().string,featureMessages:f().shape({byId:f().object,orderedByCategory:f().array}),hoverColumnIndex:f().number,products:f().arrayOf(Ke).isRequired,productType:f().string,selectedBillingPeriod:f().string,trackingUtils:f().object,featureLevelMetadata:f().object.isRequired};const jo=Lo;var Xo=e(655729),Ua=e.n(Xo);const ds=-1,us=Vn=>{let{subscribedPlan:dr,currency:Rr,products:X,isPriceRefreshScheduled:be,checkoutType:Tt,onSelect:On,featureMessages:fr,BannerSection:Gr,BadgeSection:Do,annualPricingDetailsByProductCurrency:Wo,planPricingVariant:zo,shouldShowProductLine:_a,displayAnnualPricingText:Aa,selectedBillingPeriod:za,trackingUtils:ps,featureLevelMetadata:Ws,priceUnitModifier:Oi,productType:bl}=Vn;const tl=(0,n.useRef)(null),[cl,pl]=(0,n.useState)(ds),[Uc,rc]=(0,n.useState)(!1),{isCenteredLayout:Jc,setIsCenteredLayout:iu}=Ia(),ju=async()=>{await(0,Bt.Z)();const vu=new IntersectionObserver(ed=>{ed.forEach(Nf=>{const{isIntersecting:Zf}=Nf;rc(!Zf)})},{threshold:[.05,.95]});return vu&&tl.current&&vu.observe(tl.current),vu};return(0,n.useEffect)(()=>{let vu;return ju().then(ed=>{vu=ed}),()=>{vu&&vu.disconnect()}},[]),(0,n.useEffect)(()=>{Jc&&iu(!1)},[Jc,iu]),n.createElement(n.Fragment,null,Gr&&n.createElement(Gr,null),n.createElement("div",{"data-testid":"desktop-plan-selector",className:Ie()(Ua().sticky,{[Ua().stickyDivider]:Uc})},n.createElement(ir.Z,{position:"absolute",width:"100%",height:4,top:`-${Rn.space[4]}`,ref:tl}),n.createElement("div",{className:Ie()(Ua().headerSelector,Ua()[`columns${X.length}`])},n.createElement(ir.Z,{className:Ua().tableSpacer,height:"100%",pb:3,pt:4}),X.map((vu,ed)=>{const Nf=vu[za]||vu[Ms],{[Kr.tv.ANNUALLY]:Zf,featureLevel:Af}=vu,{isMostPopular:rh,isRecommended:Yd,isCurrentlySubscribed:Qd,isAnalogousToSubscribed:Bf,isHighlighted:mf,isSimilarToSubscribed:oh}=Ws[Af],jf={};rh&&(jf["data-test"]="universal-checkout-most-popular"),Yd&&(jf["data-test"]="universal-checkout-recommended"),ed===0&&(jf["data-test-least-expensive-plan"]=!0),ed===X.length-1&&(jf["data-test-most-expensive-plan"]=!0),mf&&(jf["data-test-is-highlighted"]=!0);const uh=cl===ed,Gu=Dr(Tt);return n.createElement(ir.Z,{key:Af,"data-test":"plan-pricing-selector-wrapper","data-testid":"plan-pricing-selector-wrapper",className:Ua().planPricingSelector,position:mf?"relative":void 0,paddingTop:Gu?Yr:0,backgroundColor:mf||uh?"gray.900":"none",...jf},n.createElement(Bn,{annualPlan:Zf,annualPricingDetailsByProductCurrency:Wo,BadgeSection:Do,currency:Rr,displayAnnualPricingText:Aa,hasSubscription:!!dr,isAnalogousToSubscribed:Bf,isCurrentlySubscribed:Qd,isSimilarToSubscribed:oh,isPriceRefreshScheduled:be,onSelect:On,onSelectMouseEnter:()=>pl(ed),onSelectMouseLeave:()=>pl(ds),plan:Nf,planPricingVariant:zo,pricePerCycle:Ft(Nf),priceUnitModifier:Oi,products:X,shouldShowProductLine:_a,showMostPopular:rh,showRecommended:Yd,checkoutType:Tt}))}))),n.createElement(jo,{featureMessages:fr,hoverColumnIndex:cl,products:X,productType:bl,selectedBillingPeriod:za,trackingUtils:ps,featureLevelMetadata:Ws}))};us.defaultProps={hasFirstMonthDiscount:!1,products:[]},us.propTypes={annualPricingDetailsByProductCurrency:f().object,BadgeSection:f().oneOfType([f().node,f().func]),BannerSection:f().oneOfType([f().node,f().func]),checkoutType:f().string,currency:f().shape({symbol:f().string,code:f().string}),featureMessages:f().shape({byId:f().object,orderedByCategory:f().array}),displayAnnualPricingText:f().bool,featureLevelMetadata:f().object.isRequired,handleBillingPeriodChange:f().func.isRequired,hasFirstMonthDiscount:f().bool,maxSavingsAnnually:f().number,onSelect:f().func.isRequired,planPricingVariant:f().string,possibleSavingsByCurrency:f().object,products:f().arrayOf(Ke).isRequired,selectedBillingPeriod:f().string,shouldShowProductLine:f().func,subscribedPlan:Be,trackingUtils:f().object,priceUnitModifier:f().string,productType:f().string,isPriceRefreshScheduled:f().bool};const Ys=us;var Gs=e(357055);const xs={[H().WEBSITE_CLASSIC_PERSONAL_GATED_TEST]:H().WEBSITE_BASIC,[H().WEBSITE_BUSINESS_PRICE_TEST_AUG_2017]:H().WEBSITE_CORE,[H().WEBSITE_COMMERCE_BASIC]:H().WEBSITE_PLUS,[H().WEBSITE_COMMERCE_ADVANCED]:H().WEBSITE_ADVANCED,[H().WEBSITE_CLASSIC_PERSONAL]:H().WEBSITE_BASIC,[H().WEBSITE_LEGACY_PERSONAL]:H().WEBSITE_BASIC,[H().WEBSITE_LEGACY_PROFESSIONAL]:H().WEBSITE_CORE,[H().CLASSIC_BUSINESS_PRIORITY_SUPPORT]:H().WEBSITE_CORE,[H().WEBSITE_LEGACY_BUSINESS]:H().WEBSITE_PLUS,[H().WEBSITE_COMMERCE_ADVANCED_CALLBACKS]:H().WEBSITE_ADVANCED,[H().COMMERCE_ADVANCED_PRIORITY_SUPPORT]:H().WEBSITE_ADVANCED},Ai=(Vn,dr)=>{if(!(0,Gs.jW)((dr==null?void 0:dr.products)||[])){var Rr;if(dr==null||(Rr=dr.products)===null||Rr===void 0?void 0:Rr.some(be=>(Vn==null?void 0:Vn.featureLevel)===xs[be==null?void 0:be.featureLevel]))return!0}return!1},ei=Vn=>{let{products:dr,popularFeatureLevels:Rr,recommendedFeatureLevels:X,subscribedPlan:be,analogousCurrentFeatureLevel:Tt}=Vn;return dr.reduce((On,fr)=>{const{featureLevel:Gr}=fr,Do=!!(Rr!=null&&Rr[Gr]),Wo=!!(X!=null&&X[Gr]),zo=!!(be!=null&&be.products&&Gr===be.products[0].featureLevel||be&&"featureLevel"in be&&Gr===be.featureLevel),_a=Gr===Tt,Aa=Ai(fr,be);return On[Gr]={isMostPopular:Do,isRecommended:Wo,isCurrentlySubscribed:zo,isAnalogousToSubscribed:_a,isSimilarToSubscribed:Aa,isHighlighted:Do||Wo||zo||_a||Aa},On},{})},hi=Vn=>{const{analogousCurrentFeatureLevel:dr,billingPeriod:Rr,checkoutType:X,popularFeatureLevels:be,recommendedFeatureLevels:Tt,productType:On,products:fr,shouldShowMostPopularBanner:Gr,shouldShowRecommendedBanner:Do,subscribedPlan:Wo,renewalPlanMatchesExistingPlan:zo,updateAnalyticsData:_a}=Vn,Aa=(0,n.useMemo)(()=>Ot(On,X),[On,X]);(0,n.useEffect)(()=>{Aa.trackPlanSelectorView(),_a&&_a({renewalPlanMatchesExistingPlan:zo})},[Aa,_a,On,zo]);const[za,ps]=(0,n.useState)(Rr),Ws=()=>{const pl=za===Ee.$d?Ee.fn:Ee.$d;ps(pl),Aa.trackBillingPeriodToggle(pl)},Oi=ei({products:fr,subscribedPlan:Wo,popularFeatureLevels:Gr?be:null,recommendedFeatureLevels:Do?Tt:null,analogousCurrentFeatureLevel:dr}),tl=fr.reduce((pl,Uc)=>{const rc=Uc[Ee.$d].annualSavingsPercent;return Math.max(pl,rc)},0),cl=pl=>new Xt(pl);return n.createElement(Je.Provider,{value:cl(fr.length)},n.createElement(Hr.Z.Provider,null,n.createElement(Hr.Z.Renderer,{...Vn,checkoutType:X,featureLevelMetadata:Oi,handleBillingPeriodChange:Ws,maxSavingsAnnually:tl,productType:On,selectedBillingPeriod:za,trackingUtils:Aa,render:cl(fr.length).applyVariantBreakpoints({default:ba,grid:Ys})})))},ks=hi;hi.defaultProps={billingPeriod:Ee.$d,shouldShowMostPopularBanner:!1},hi.propTypes={productType:f().oneOf(Object.values(F())),checkoutType:f().oneOf(Object.values(a.vl)),annualPricingDetailsByProductCurrency:f().object,BannerSection:f().oneOfType([f().node,f().func]),BadgeSection:f().oneOfType([f().node,f().func]),billingPeriod:f().string,currency:f().shape({symbol:f().string,code:f().string}),className:f().string,featureMessages:f().shape({byId:f().object,orderedByCategory:f().array}).isRequired,onSelect:f().func.isRequired,planPricingVariant:f().string,popularFeatureLevels:f().object,products:f().arrayOf(Ke).isRequired,shouldShowMostPopularBanner:f().bool,universalCheckoutVariant:f().string,subscribedPlan:Be,analogousCurrentFeatureLevel:f().oneOf(Object.values(H())),hideFeaturesToggle:f().bool,renewalPlanMatchesExistingPlan:f().bool,updateAnalyticsData:f().func,priceUnitModifier:f().string,isPriceRefreshScheduled:f().bool};const Ms=Ee.$d,bs=ks;var Hs=e(663634),Os=e(556556),Vs=e.n(Os),_s=e(125820),fs=e(619461);const Ss={[Kr.OH.SUCCESS]:n.createElement(_s.Z,{"data-testid":"icon-variant-success"}),[Kr.OH.INFO]:n.createElement(Rt.Z,{"data-testid":"icon-variant-info"}),[Kr.OH.CAUTION]:n.createElement(fs.Z,{"data-testid":"icon-variant-caution"})},hs=Vn=>{let{variant:dr}=Vn;return Ss[dr]||Ss[Kr.OH.CAUTION]};hs.propTypes={variant:f().oneOf(Object.values(Kr.OH))},hs.defaultProps={variant:Kr.OH.CAUTION};const li=hs;var Ni=e(488609),Ji=e(847844),wi=e.n(Ji);const vi={bg:"gray.800",display:"inline-flex",margin:0,maxWidth:{_:"auto","mobile-0":"960px","mobile-100":"960px","desktop-0":"960px"},width:{_:"100%","mobile-0":"120vw","mobile-100":"120vw","desktop-0":"120vw"}},sl=Vn=>{let{bodyClassName:dr,children:Rr,tagClassName:X,variant:be}=Vn;return n.createElement("div",{className:wi().banner,"data-test":"plan-selector-banner"},n.createElement(Ni.Z,vi),n.createElement("div",{className:Ie()(wi().bannerBody,dr)},n.createElement("span",{className:Ie()(wi().bannerTag,{[X]:!be})},be&&n.createElement(li,{variant:be})),n.createElement("div",null,Rr)),n.createElement(Ni.Z,vi))};sl.propTypes={bodyClassName:f().string,tagClassName:f().string,variant:f().oneOf([...Object.values(Kr.OH),void 0])},sl.defaultProps={bodyClassName:"",tagClassName:""};const Zs=sl,Bs=(0,O.t)("Squarespace Circle Member",null,{project:"universal-checkout"}),ti=Vn=>{let{isCircleDiscountOffered:dr}=Vn;return dr?n.createElement(Zs,{tagClassName:Vs().circleMemberTag},n.createElement(nt.T,{project:"universal-checkout",discountAmount:(0,O.uf)(.2,{style:"percent"}),SquarespaceCircleMember:n.createElement("strong",null,Bs)},"{SquarespaceCircleMember}, save {discountAmount} on your Squarespace plan for the first year when you pay annually.")):null};ti.propTypes={isCircleDiscountOffered:f().bool};const gi=ti;var yi=e(648134),ki=e.n(yi);const bi={[ki().GOLD]:"Gold",[ki().SILVER]:"Silver",[ki().PLATINUM]:"Platinum"},Si=Vn=>{let{isCircleDiscountOffered:dr,circleTier:Rr,circlePercentOff:X}=Vn;if(!dr)return null;const be=Rr?`Circle ${bi[Rr]} Partner`:"Circle Partner",Tt=X/100;return n.createElement(Zs,{tagClassName:Vs().circleMemberTag},n.createElement(nt.T,{project:"universal-checkout",notes:`squarespaceCircleText will be an untranslated text to display a customer's Circle Tier,such as "Circle Platinum Partner". discountAmount will be a percentage.`,discountAmount:(0,O.uf)(Tt,{style:"percent"}),squarespaceCircleText:n.createElement("strong",null,be)},"As a {squarespaceCircleText} or their client, save an additional {discountAmount} for the first year when you pay annually."))},ta=h()({getStores(){return[v.Z]},getPropsFromStores(){const{promotionalOffers:Vn}=v.Z.getState(),{isCircleDiscountOffered:dr,circleTier:Rr,circlePercentOff:X}=Vn||{};return{isCircleDiscountOffered:dr,circleTier:Rr,circlePercentOff:X}}},Vn=>{let{isCircleDiscountOffered:dr,circleTier:Rr,circlePercentOff:X}=Vn;return(0,Hs.cr)("use_circle_tier")?n.createElement(Si,{isCircleDiscountOffered:dr,circleTier:Rr,circlePercentOff:X}):n.createElement(gi,{isCircleDiscountOffered:dr})});var ke=e(709348);const Fn={};var mr=function(Vn){return Vn.AUTOMATED_CAMPAIGNS="automatedCampaigns",Vn.DISABLE_POWERED_BY_SQUARESPACE="disablePowerdBySquarespace",Vn.EMAILS="emails",Vn.STANDARD_CAMPAIGNS="standardCampaigns",Vn}(mr||{});const Tr=mr,Uo={orderedByCategory:[{displayName:(0,O.t)("Campaigns",null,{project:"universal-checkout"}),id:"campaigns",showLabel:!1,features:[Tr.STANDARD_CAMPAIGNS,Tr.AUTOMATED_CAMPAIGNS,Tr.EMAILS]},{displayName:(0,O.t)("Features",null,{project:"universal-checkout"}),id:"features",showLabel:!1,features:[Tr.DISABLE_POWERED_BY_SQUARESPACE]}],byId:{[Tr.STANDARD_CAMPAIGNS]:{displayName:(0,O.t)("Standard campaigns per month ",null,{project:"universal-checkout"}),id:Tr.STANDARD_CAMPAIGNS,featureLevelIndicators:{},disabledOnMonthly:!1},[Tr.EMAILS]:{displayName:(0,O.t)("Emails per month",null,{project:"universal-checkout"}),id:Tr.EMAILS,featureLevelIndicators:{},disabledOnMonthly:!1},[Tr.DISABLE_POWERED_BY_SQUARESPACE]:{displayName:(0,O.t)("No Squarespace branding",null,{project:"universal-checkout"}),id:Tr.DISABLE_POWERED_BY_SQUARESPACE,featureLevelIndicators:{},disabledOnMonthly:!1},[Tr.AUTOMATED_CAMPAIGNS]:{displayName:(0,O.t)("Automated campaigns",null,{project:"universal-checkout"}),id:Tr.AUTOMATED_CAMPAIGNS,featureLevelIndicators:{},disabledOnMonthly:!1}}},gt=Vn=>Vn===-1?(0,O.t)("Unlimited",null,{project:"universal-checkout"}):Vn===!0?"CHECK":Vn===!1?"":Vn,Lt=Vn=>{let{availablePlans:dr,usage:Rr,subscribedPlan:X}=Vn;return dr?dr.reduce((be,Tt)=>(Object.values(Tr).forEach(On=>{const fr=H()[Tt.featureLevel],Gr=Tt[On],Do=gt(Gr),Wo=(X==null?void 0:X.featureLevel)===fr&&(Rr==null?void 0:Rr[On])!==void 0?(0,O.t)("{usage} of {quota}",{usage:Rr[On],quota:Do},{project:"universal-checkout"}):Do;be.byId[On].featureLevelIndicators[fr]=Wo}),be),{...Uo}):Uo};var $t=e(774692),_n=function(Vn){return Vn.CONTROL="control",Vn.SLIDER="slider",Vn.DROPDOWN="dropdown",Vn}({});const dn=()=>{const Vn=(0,Hs.GC)().getExperiment("campaigns-checkout-redesign");return Vn.get("checkout_type",null)!==null&&(0,$t.trackAssignmentEvent)(Vn,"campaigns"),Vn},Jn=()=>dn().get("checkout_type","control");var Hn=e(201117),jr=e(954879);const wo="campaigns-plan-dropdown-label",ko="4px",Sa="6px",qa=Vn=>{const{featureMessages:dr,onChange:Rr,products:X,value:be}=Vn;return n.createElement(Mr.Z,{alignItems:"center",justifyContent:"start"},n.createElement(jr.Z.Item,{width:{_:"180px","mobile-*":"125px"},mr:3},n.createElement(Hn.Z.Base,{"aria-labelledby":wo,border:`2px solid ${Rn.colors.gray[800]}`,borderRadius:Sa,css:{"&:focus":{"&:after":{border:`2px solid ${Rn.colors.gray[100]}`,borderRadius:Sa,height:`calc(100% + ${ko})`,position:"absolute",width:`calc(100% + ${ko})`,top:`-${ko}`,left:`-${ko}`}}},onChange:Rr,placement:"bottom",px:3,value:be,width:"100%"},X.map((Tt,On)=>{let{featureLevel:fr}=Tt;var Gr;const Do=(Gr=dr.byId[Tr.EMAILS])===null||Gr===void 0?void 0:Gr.featureLevelIndicators[fr];return Do?n.createElement(Hn.Z.Option,{key:On,value:On},Do.toLocaleString()):null}))),n.createElement(It.Z.Body,{id:wo},n.createElement(nt.T,{project:"universal-checkout",notes:"Label for a number, ie: '500 emails per month'"},"emails per month")))};var ms=e(378638),Us=e(968779);const Mi=Vn=>{let{subtitle:dr,product:Rr}=Vn;return n.createElement(Mr.Z,{alignItems:"center"},n.createElement(rn.Z,{"aria-label":(0,O.t)("Applies to {productName} plan.",{productName:Rr.name},{project:"universal-checkout"}),role:"img",sx:{marginRight:2},color:"gray.300"}),n.createElement(It.Z.Subtitle,{fontWeight:Rn.fontWeights.book,m:0},dr))};var si=e(607378),rl=e(47979);const Ui=Vn=>{let{product:dr}=Vn;const[Rr,X]=(0,n.useState)(!1);return n.createElement(n.Fragment,null,n.createElement(ir.Z,{padding:4,py:0},n.createElement(It.Z.Action,{color:"gray.300"},n.createElement(nt.T,{project:"universal-checkout"},"Includes"))),n.createElement(ir.Z,null,n.createElement(ms.Z,{space:5,mt:4,mb:4,px:4},[n.createElement(nt.T,{project:"universal-checkout"},"Unlimited contacts"),n.createElement(nt.T,{project:"universal-checkout"},"Premium email templates"),n.createElement(nt.T,{project:"universal-checkout"},"Smart segmentation")].map((be,Tt)=>n.createElement(Mi,{subtitle:be,key:`campaigns-redesign-plan-selector-features-table-${Tt}`,product:dr}))),n.createElement(Us.Z,null,n.createElement(Us.Z.Item,{isOpen:Rr},n.createElement(Us.Z.Body,{m:0,p:0},n.createElement(ms.Z,{space:5,px:4,mb:4},[n.createElement(nt.T,{project:"universal-checkout"},"Email personalization"),n.createElement(nt.T,{project:"universal-checkout"},"Marketing automations"),n.createElement(nt.T,{project:"universal-checkout"},"Real-time analytics"),n.createElement(nt.T,{project:"universal-checkout"},"E-commerce tools"),n.createElement(nt.T,{project:"universal-checkout"},"AI email copy")].map((be,Tt)=>n.createElement(Mi,{subtitle:be,key:`campaigns-redesign-plan-selector-features-table-${Tt}`,product:dr}))))))),n.createElement(Mr.Z,{width:"100%",p:3,onClick:()=>{X(!Rr)},role:"button",justifyContent:"space-between",alignItems:"center"},n.createElement(It.Z.Action,null,Rr?n.createElement(nt.T,{project:"universal-checkout"},"Show Less"):n.createElement(nt.T,{project:"universal-checkout"},"Show More")),Rr?n.createElement(si.Z,{"aria-label":(0,O.t)("Show less features",null,{project:"universal-checkout"})}):n.createElement(rl.Z,{"aria-label":(0,O.t)("Show more features",null,{project:"universal-checkout"})})))},fl=Vn=>{let{product:dr}=Vn;return n.createElement(ir.Z,{padding:8,pt:0},n.createElement(It.Z.Action,{color:"gray.300"},n.createElement(nt.T,{project:"universal-checkout"},"Also Includes")),n.createElement(Mr.Z,{gap:4,mt:4},n.createElement(ms.Z,{space:3,flexGrow:1,width:0},[n.createElement(nt.T,{project:"universal-checkout"},"Unlimited contacts"),n.createElement(nt.T,{project:"universal-checkout"},"Premium email templates"),n.createElement(nt.T,{project:"universal-checkout"},"Smart segmentation"),n.createElement(nt.T,{project:"universal-checkout"},"Email personalization")].map((Rr,X)=>n.createElement(Mi,{subtitle:Rr,key:`campaigns-redesign-plan-selector-features-table-${X}`,product:dr}))),n.createElement(ms.Z,{space:3,flexGrow:1,width:0},[n.createElement(nt.T,{project:"universal-checkout"},"Marketing automations"),n.createElement(nt.T,{project:"universal-checkout"},"Real-time analytics"),n.createElement(nt.T,{project:"universal-checkout"},"E-commerce tools"),n.createElement(nt.T,{project:"universal-checkout"},"AI email copy")].map((Rr,X)=>n.createElement(Mi,{subtitle:Rr,key:`campaigns-redesign-plan-selector-features-table-${X}`,product:dr})))))},Nl=Vn=>{let{product:dr}=Vn;return n.createElement(Hr.Z.Renderer,{product:dr,render:{default:fl,"mobile-0":Ui}})};var xl=e(211278);const Kl=Vn=>{let{featureMessages:dr,onChange:Rr,products:X,value:be}=Vn;const Tt=0,On=X.length-1,fr=1,Gr="4px",Do="0 0 0 6px white",Wo={height:"22px",width:"22px",marginTop:"-10px",boxShadow:Do},zo=(0,n.useCallback)(ps=>{var Ws;return dr==null||(Ws=dr.byId[Tr.EMAILS])===null||Ws===void 0?void 0:Ws.featureLevelIndicators[ps]},[dr]),[_a,Aa]=[X[0],X[On]].map(ps=>zo(ps.featureLevel)),za=(0,n.useMemo)(()=>zo(X[be].featureLevel)?n.createElement(nt.T,{project:"universal-checkout",emailCount:zo(X[be].featureLevel).toLocaleString()},"Send up to {emailCount} emails each month"):null,[zo,X,be]);return n.createElement(n.Fragment,null,n.createElement(Hr.Z.Renderer,{render:{default:()=>n.createElement(It.Z.SectionTitle,{mb:6,fontWeight:Rn.fontWeights.medium},za),"mobile-0":()=>n.createElement(It.Z.Body,{mb:6,fontWeight:Rn.fontWeights.medium},za)}}),n.createElement(Mr.Z,{flexDirection:"column","data-testid":"CampaignsPlanSlider"},n.createElement(It.Z.Label,null,n.createElement(nt.T,{project:"universal-checkout"},"Email Sends")),n.createElement(ir.Z,{position:"relative",width:"100%",mb:-1},n.createElement(xl.Z.Input,{onChange:Rr,min:Tt,max:On,showTrackFill:!0,step:fr,value:be,style:{backgroundSize:`100% ${Gr}`,borderRadius:"50%"},sx:{"&::-webkit-slider-thumb":{borderRadius:"circle",boxShadow:Do,"&:active":Wo,"&:hover":Wo,marginTop:"-8px",height:"18px",width:"18px",backgroundColor:"gray.100"}}}),n.createElement(xl.Z.TickContainer,null,xl.Z.createValueArray({min:Tt,max:On,step:fr}).map(ps=>n.createElement(xl.Z.Tick,{key:`tick-${ps}`,bg:ps<=be?"gray.100":"gray.500",size:Gr})))),n.createElement(Mr.Z,{justifyContent:"space-between"},_a&&n.createElement(It.Z.Label,null,_a.toLocaleString()),Aa&&n.createElement(It.Z.Label,null,Aa.toLocaleString()))))};var Jl=e(486238);const Vi=300,_c=n.forwardRef((Vn,dr)=>{let{children:Rr}=Vn;const{breakpoints:X}=(0,Tn.F)();return n.createElement(It.Z.Figure,{ref:dr,m:0,sx:{fontSize:"50px",lineHeight:"120%",[X["mobile-0"]]:{fontSize:"40px",lineHeight:"120%"}}},Rr)}),zl=Vn=>{let{children:dr,transitionDuration:Rr=800,left:X,height:be}=Vn;return dr===null||!/^\d+$/.test(dr)?n.createElement(Mr.Z,{position:"absolute",sx:{transform:`translateX(${X}px)`,transition:"transform",transitionDuration:`${Vi}ms`,transitionDelay:"0"}},n.createElement(_c,null,dr)):n.createElement(ir.Z,{position:"absolute",sx:{transform:`translateX(${X}px)`,transition:"transform",transitionDuration:`${Vi}ms`,transitionDelay:"0"}},n.createElement(Mr.Z,{flexDirection:"column",position:"absolute",sx:{transform:`translateY(-${be*Number(dr)}px)`,transition:"transform",transitionDuration:`${Rr}ms`,transitionDelay:"0",transitionTimingFunction:"cubic-bezier(0.47, 0, 0.23, 1.38)"}},Array(10).fill(null).map((Tt,On)=>n.createElement(_c,{key:On},`${On}`))))},$l=Vn=>{let{plan:dr}=Vn;const{breakpoints:Rr}=(0,Tn.F)();return n.createElement(Mr.Z,{alignItems:"center"},n.createElement(_c,null,dr.formattedPricePerMonth),n.createElement(It.Z.Figure,{m:0,sx:{fontSize:"36px",lineHeight:"160%",[Rr["mobile-0"]]:{fontSize:"30px",lineHeight:"120%"}}},"/",n.createElement(nt.T,{project:"universal-checkout",notes:"Label to indicate per month pricing for campaigns subscription"},"mo")))},sn=Vn=>{let{plan:dr,isStale:Rr}=Vn;const{breakpoints:X}=(0,Tn.F)(),be=(0,n.useRef)(null),Tt=(0,n.useRef)(0),[On,fr]=(0,n.useState)([]),Gr=(0,n.useMemo)(()=>{const zo=dr.formattedPricePerMonth.split("").map(Ws=>/\d/.test(Ws)?{digit:Ws,isNumber:!0}:{digit:Ws,isNumber:!1}),_a=be.current?be.current.length-zo.length:0,Aa=zo.findIndex(Ws=>Ws.isNumber),za=[...zo.slice(0,Aa),...Array(_a>=0?_a:0).fill({digit:null,isNumber:!1}),...zo.slice(Aa,zo.length)],ps=za.map(()=>n.createRef());return be.current=za,{digits:za,digitRefs:ps}},[dr.formattedPricePerMonth]);(0,n.useEffect)(()=>{if(!Gr.digitRefs.every(Aa=>Aa.current!==null))return;const _a=Gr.digitRefs.map(Aa=>Aa.current.getBoundingClientRect());fr(_a)},[Gr,fr]);const{width:Do,wider:Wo}=(0,n.useMemo)(()=>{const zo=On.reduce((Aa,za)=>Aa+za.width,0),_a=Tt.current<zo;return Tt.current=zo,{width:zo,wider:_a}},[On]);return n.createElement(n.Fragment,null,n.createElement(Mr.Z,{opacity:Rr?1:0,height:"0",overflow:"hidden"},n.createElement($l,{plan:dr})),n.createElement(Mr.Z,{"aria-hidden":"true",alignItems:"center"},n.createElement(ir.Z,{position:"relative",overflow:"hidden",sx:Rr?{}:{width:Do,transition:"width",transitionDuration:"300ms",transitionDelay:Wo?"0":"200ms"}},n.createElement(Mr.Z,{opacity:Rr?1:0},Gr.digits.map((zo,_a)=>{let{digit:Aa}=zo;return n.createElement(_c,{key:`static-digit-${_a}`,ref:Gr.digitRefs[_a]},Aa)})),n.createElement(Mr.Z,{position:"absolute",top:0,left:0,opacity:Rr?0:1},Gr.digits.map((zo,_a)=>{let{digit:Aa}=zo;var za;const ps=On.slice(0,_a).reduce((Ws,Oi)=>Ws+Oi.width,0);return n.createElement(zl,{key:`digit-${_a}`,height:(za=On[_a])===null||za===void 0?void 0:za.height,left:ps},Aa)}))),n.createElement(It.Z.Figure,{m:0,sx:{fontSize:"36px",lineHeight:"160%",[X["mobile-0"]]:{fontSize:"30px",lineHeight:"120%"}}},"/",n.createElement(nt.T,{project:"universal-checkout",notes:"Label to indicate per month pricing for campaigns subscription"},"mo"))))};var zn=e(793888);const Er=H().CAMPAIGNS_CORE_UNLIMITED;var zr=null;const Ao=()=>(0,zn.t)().get("variant","control")==="variant-2"?H().CAMPAIGNS_10000:Er,ia=Vn=>{const{checkoutType:dr,featureMessages:Rr,productType:X,subscribedPlan:be,updateAnalyticsData:Tt,analogousCurrentFeatureLevel:On,shouldShowMostPopularBanner:fr,shouldShowRecommendedBanner:Gr,popularFeatureLevels:Do,recommendedFeatureLevels:Wo,renewalPlanMatchesExistingPlan:zo=!1,onSelect:_a,currentlySelectedPlan:Aa}=Vn,[za,ps]=(0,n.useState)(!0),Ws=(0,n.useMemo)(()=>Vn.products||[],[Vn.products]),Oi=(0,zn.S)(),bl=Ao(),tl=Jn(),{breakpoints:cl,shadows:pl}=(0,Tn.F)(),Uc=(0,n.useMemo)(()=>Ot(X,dr),[X,dr]);(0,n.useEffect)(()=>{Uc.trackPlanSelectorView(),Tt&&Tt({renewalPlanMatchesExistingPlan:zo})},[Uc,Tt,zo]);const rc=ei({products:Ws,subscribedPlan:be,popularFeatureLevels:fr?Do:void 0,recommendedFeatureLevels:Gr?Wo:void 0,analogousCurrentFeatureLevel:On}),[Jc,iu]=(0,n.useMemo)(()=>{const Yd=Ws.findIndex(Qd=>Qd.featureLevel===bl);return Ws.reduce((Qd,Bf,mf)=>{const oh=Aa==null?void 0:Aa.products.find(uh=>uh.featureLevel===Bf.featureLevel),{isCurrentlySubscribed:jf}=rc[Bf.featureLevel];return jf||oh?[mf,!0]:Qd},[Yd>=0?Yd:0,!1])},[Ws,rc,Aa,bl]),[ju,vu]=(0,n.useState)(Jc),ed=Ws[ju],Nf=rc[ed.featureLevel].isCurrentlySubscribed,Zf=ed.plans.find(Yd=>Yd.billingPeriod===Kr.tv.ANNUALLY),Af=Yd=>{var Qd;ps(!1);const Bf=Rr==null||(Qd=Rr.byId[Tr.EMAILS])===null||Qd===void 0?void 0:Qd.featureLevelIndicators[Ws[Yd].featureLevel],mf=tl===_n.SLIDER?"email_slider":"email_dropdown";Uc.trackCampaignsCheckoutRedesignPlanSelectorProductChange(mf,Bf),vu(Yd)};if(!Ws.length)return null;const rh=!iu&&ed.featureLevel===bl;return n.createElement(Hr.Z.Provider,null,n.createElement(jr.Z.Container,{"data-testid":"campaigns-redesign-plan-selector",margin:[3,196,10],py:5,gridConstraint:12,breakpoints:[559,1024,1280,1440,1/0]},n.createElement(jr.Z.Item,{columns:[12,12,4,5],mb:{_:10,"mobile-*":6}},n.createElement(It.Z.Title,{mb:2},n.createElement(nt.T,{project:"universal-checkout"},"Simple plans. Simple prices.")),n.createElement(It.Z.Subtitle,{color:"gray.300"},n.createElement(nt.T,{project:"universal-checkout"},"Unlimited contacts included in every plan. Only pay for what you need. Upgrade or downgrade at any time."))),n.createElement(jr.Z.Item,{columns:[12,12,8,7]},n.createElement(Mr.Z,{width:"100%",justifyContent:"end"},n.createElement(ir.Z,{boxShadow:pl[300],borderRadius:"8px",sx:{width:"600px",[cl["tablet-0"]]:{width:"600px"},[cl["mobile-0"]]:{width:"100%",boxShadow:"none",border:"1.5px solid",borderColor:"border.default"}}},n.createElement(jr.Z.Item,{px:{_:8,"mobile-*":4},pt:{_:8,"mobile-*":4},pb:0,mb:{_:10,"mobile-*":6}},n.createElement(jr.Z.Item,{mb:{_:6,"mobile-*":4}},n.createElement(Mr.Z,{alignItems:"center",justifyContent:"space-between",height:"34px"},n.createElement(Hr.Z.Renderer,{render:{default:()=>Oi?n.createElement(It.Z.SectionTitle.Small,null,n.createElement(nt.T,{project:"universal-checkout"},"From")):n.createElement(It.Z.SectionTitle,null,ed.name),"mobile-0":()=>Oi?n.createElement(It.Z.Subtitle,null,n.createElement(nt.T,{project:"universal-checkout"},"From")):n.createElement(It.Z.SectionTitle,null,ed.name)}}),rh&&n.createElement(Jl.Z.Container,{px:3,borderRadius:"30px",backgroundColor:"#2f80ed"},n.createElement(Jl.Z.Label,null,n.createElement(Hr.Z.Renderer,{render:{default:()=>n.createElement(It.Z.Subtitle,{my:0,color:"white"},n.createElement(nt.T,{project:"universal-checkout"},"Recommended")),"mobile-0":()=>n.createElement(It.Z.Caption,{my:0,color:"white",fontWeight:Rn.fontWeights.medium},n.createElement(nt.T,{project:"universal-checkout"},"Recommended"))}}))),Nf&&n.createElement(Jl.Z.Container,{px:3,borderRadius:"16px",backgroundColor:"gray.900"},n.createElement(Jl.Z.Label,null,n.createElement(Hr.Z.Renderer,{render:{default:()=>n.createElement(It.Z.Subtitle,{my:0},n.createElement(nt.T,{project:"universal-checkout"},"Current Plan")),"mobile-0":()=>n.createElement(It.Z.Caption,{my:0,fontWeight:Rn.fontWeights.medium},n.createElement(nt.T,{project:"universal-checkout"},"Current Plan"))}}))))),n.createElement(jr.Z.Item,{mt:Oi?{_:10,"mobile-*":6}:{_:6,"mobile-*":4},mb:{_:6,"mobile-*":4}},!Oi&&n.createElement(It.Z.Subtitle,{color:"gray.300","data-testid":"campaigns-redesign-plan-selector-from-label"},n.createElement(nt.T,{project:"universal-checkout"},"From"))),n.createElement(jr.Z.Item,{mb:2},tl===_n.SLIDER?n.createElement(sn,{plan:Zf,isStale:za}):n.createElement(Mr.Z,null,n.createElement($l,{plan:Zf}))),tl===_n.DROPDOWN&&n.createElement(qa,{featureMessages:Rr,onChange:Af,products:Ws,value:ju}),tl===_n.SLIDER&&n.createElement(Kl,{featureMessages:Rr,onChange:Af,products:Ws,value:ju}),n.createElement(jr.Z.Item,{mt:{_:8,"mobile-*":6}},n.createElement(qn.Z.Primary,{size:"large",width:"100%",onClick:()=>{_a({...Zf,isCurrentlySubscribed:Nf})}},Nf?n.createElement(nt.T,{project:"universal-checkout"},"Change Billing Cycle"):n.createElement(nt.T,{project:"universal-checkout"},"Select")))),n.createElement(Nl,{product:ed}))))))},Ha=Vn=>{let{availablePlans:dr,hasLoadError:Rr,isLoading:X,subscribedPlan:be,usage:Tt,...On}=Vn;const fr=Jn();if(X)return n.createElement(he.Z,null);if(Rr)return n.createElement(ke.Z,{isOpen:!0});const Gr=Lt({availablePlans:dr,usage:Tt,subscribedPlan:be});return fr===_n.CONTROL?n.createElement(bs,{...On,subscribedPlan:be,productType:F().CAMPAIGNS,featureMessages:Gr,popularFeatureLevels:Fn,BannerSection:ta,hideFeaturesToggle:!0}):n.createElement(ia,{...On,featureMessages:Gr,subscribedPlan:be,productType:F().CAMPAIGNS,popularFeatureLevels:Fn})},is=h()({componentDidConnect(){const dr=v.Z.getState().availableProductsCurrency;re.Z.loadByPlanType(s().CAMPAIGNS),x.Z.getAcceptedCurrencies(),R.Z.getAvailablePlans({planType:s().CAMPAIGNS,currency:dr}),M.Z.loadOffers(s().CAMPAIGNS),ie.load(),q.Z.load()},getStores(){return[B.Z,pe,oe.Z,v.Z,J.Z,me.ZP]},getPropsFromStores(){const{acceptedCurrencies:Vn,availableProducts:dr,availableProductsCurrency:Rr}=v.Z.getState(),{plan:X}=J.Z.getState(),be=me.ZP.getActivePlanOfType(s().CAMPAIGNS),Tt=be==null?void 0:be.plan,On=Tt?Tt.billingPeriod:X==null?void 0:X.billingPeriod,fr=k()(Vn,{code:Rr})||{code:"USD",symbol:"$"},{availablePlans:Gr,isLoading:Do,hasLoadError:Wo}=pe.getState(),{usage:zo,isLoading:_a,hasLoadError:Aa}=oe.Z.getState();return{availablePlans:Gr,billingPeriod:On,currency:fr,hasLoadError:Wo||Aa,isLoading:Do||_a||!dr,products:dr,subscribedPlan:Tt,usage:zo,currentlySelectedPlan:X}}},Ha);is.displayName="CampaignsCampaignsPlanSelection";const as=is;var es=e(511354);const Qs=Vn=>{const dr=(0,O.t)("Campaigns{separator}{plan}",{plan:Vn.displayName,separator:" - "},{project:"universal-checkout"});return{customProductTitle:dr,customPurchaseProductTitle:dr}},rs=Vn=>{let{saveAndGotoNext:dr}=Vn;const Rr=X=>{es.Z.selectPlan({plan:X,productType:F().CAMPAIGNS}),dr({[F().CAMPAIGNS]:{planId:X.id,...Qs(X)}})};return n.createElement(as,{onSelect:Rr,checkoutType:a.vl.NEW_PURCHASE,shouldShowMostPopularBanner:!0})};var Cs=e(502572),Fs=e.n(Cs),Ks=e(921533),Ls=e.n(Ks);const Js=(Vn,dr)=>!Vn||!(dr!=null&&dr.length)?!1:dr.some(Rr=>Rr.plans.some(X=>{const be=X.id===Vn.id||X.legacyId===Vn.id;if(Vn.price instanceof z.default&&X.price instanceof z.default){const Tt=Vn.price.compare(X.price)===0,On=X.planTierId===Vn.planTierId,fr=X.billingPeriod===Vn.billingPeriod;return be||Tt&&On&&fr}return be})),Ts=(Vn,dr)=>Vn?dr.some(Rr=>Rr.id===Vn.id):!1,zs=(Vn,dr,Rr)=>{const X=dr.find(be=>Rr(Vn,be));return X&&X.featureLevel};var Bi=e(659519),qs=e(169393),Ti=e(184791),ui=e(425629),qi=e(199025),Ko=e(109045),Ur=e(56865);const aa=(Vn,dr,Rr,X)=>{if(!X||Js(Vn,Rr))return!1;const Tt=Rr.find(fr=>X(Vn,fr));return Tt?(Tt==null?void 0:Tt.featureLevel)===dr.products[0].featureLevel:!1},ca=(Vn,dr)=>{var Rr;const{PlanSelectionStore:X,PlanSelectionAggregateDataStore:be}=(0,Ur.Z)(Vn),Tt=(Rr=X.getState().selectionByProduct[Vn])===null||Rr===void 0?void 0:Rr.plan;if(!Tt||Tt.isCurrentlySubscribed)return Kr.mo.ANALOGOUS;const{subscriptions:On,availableProducts:fr}=be.getState(),Gr=On==null?void 0:On.find(Aa=>Aa.plan.planType===Vn);if(!Gr)throw new TypeError("A subscription is required to compare a subscribed plan to a selected plan.");const{plan:Do}=Gr;return Tt.id===Do.id||Tt.planLine===Do.planLine&&Tt.products[0].featureLevel===Do.products[0].featureLevel||aa(Do,Tt,fr,dr)?Kr.mo.ANALOGOUS:Ft(Tt).compare(Ft(Do))},Ei=Vn=>{let{customDiscountLabelText:dr,discountAmount:Rr,displayMonthlyDeferralWarning:X,isAnnualCycle:be,plan:Tt}=Vn;return n.createElement(n.Fragment,null,n.createElement(It.Z.Body,{m:0,color:"gray.400",fontSize:3},n.createElement(nt.T,{project:"universal-checkout",paymentInterval:Tt.periodDisplayName.toLowerCase(),paymentAmount:(0,O.lb)(Ft(Tt))},"Billed {paymentAmount} {paymentInterval} + applicable taxes")),X&&n.createElement(It.Z.Body,{m:0,fontSize:3,color:"orange.500","data-test":"monthly-deferral-warning","data-testid":"monthly-deferral-warning"},n.createElement(nt.T,{project:"universal-checkout"},"Changes will take place at the end of your current billing cycle when you pay monthly.")),be&&Rr&&n.createElement(It.Z.Body,{m:0,fontSize:3,color:"blue","data-test":"discount-amount","data-testid":be?"annual-plan-discount-amount":"monthly-plan-discount-amount"},n.createElement(nt.T,{project:"universal-checkout",discountAmount:Rr},"You save {discountAmount}% by paying annually.")),dr&&n.createElement(It.Z.Body,{m:0,color:"blue","data-test":"custom-discount",fontSize:3},dr))},Eo=Vn=>{let{customDiscountLabelText:dr,discountAmount:Rr,currentBillingPeriod:X,isCurrentBillingPeriod:be,isCurrent:Tt,isSelected:On,plan:fr,productType:Gr,selectable:Do,checkoutType:Wo}=Vn;const{billingPeriod:zo}=fr,_a=(0,Ee.pE)(zo),Aa=(0,Ee.pE)(X),za=Wo===a.vl.BILLING_PLAN_SWITCH&&!_a&&Aa&&ca(Gr)===Kr.mo.UPGRADE,ps=_a?Ft(fr).divide(12):Ft(fr),Ws=(0,O.lb)(ps,{trimZeroFractions:!0}),Oi=n.createElement(nt.T,{project:"universal-checkout",paymentInterval:fr.periodDisplayName.toLowerCase()},"Pay {paymentInterval} (current)"),bl=n.createElement(nt.T,{project:"universal-checkout",paymentInterval:fr.periodDisplayName.toLowerCase()},"Pay {paymentInterval}"),tl=n.createElement(nt.T,{project:"universal-checkout",displayPrice:Ws,notes:"Shorter version of per month (for example, $16/month)"},"({displayPrice}/month)"),cl=(0,n.useMemo)(()=>Do?n.createElement(rn.Z,{sx:{visibility:On?"visible":"hidden"},"data-testid":"checkmark"}):!Tt&&n.createElement(Ko.Z,{"data-testid":"next-arrow"}),[Do,On,Tt]);return n.createElement(Zn.Z,{isActive:On,isSelectable:Do,py:Do?3:4,px:Do?4:5,sx:{textAlign:"left",textTransform:"none"}},n.createElement(qi.Z,{p:0,label:n.createElement(It.Z.Subtitle,{m:0,color:Tt?"gray.400":"black"},Tt||be?Oi:bl,Do&&" ",Do&&tl),description:n.createElement(Ei,{customDiscountLabelText:dr,discountAmount:Rr,displayMonthlyDeferralWarning:za,isAnnualCycle:_a,plan:fr}),exteriorAccessory:cl}))},Al=Vn=>{let{customDiscountLabelText:dr,discountAmount:Rr,currentBillingPeriod:X,isCurrentBillingPeriod:be,isCurrent:Tt,isSelected:On,onPlanClick:fr,plan:Gr,productType:Do,selectable:Wo,checkoutType:zo}=Vn;const _a=Tt,{billingPeriod:Aa}=Gr,za=(0,Ee.pE)(Aa),Ws=Wo?ui.Z.WithoutFeedback:Oi=>n.createElement(ui.Z.Solid,{display:"block",width:"100%",height:"100%",...Oi});return n.createElement(ui.Z,{as:Wo?"div":"button",mb:4,width:"100%",disabled:_a,onClick:()=>{fr(Gr)},"data-test":za?"annual-plan-option-button":"monthly-plan-option-button","data-testid":za?"annual-plan-option-button":"monthly-plan-option-button",interaction:Ws,sx:{display:"block",padding:0,"&:disabled":{backgroundColor:"gray.900",cursor:"not-allowed"},"&:focus":{outline:"2px solid #3E3E3E",outlineOffset:"2px"},"&:focus-visible":{outline:"2px solid #3E3E3E",outlineOffset:"2px"},"&:focus:not(:focus-visible)":{outline:"none"}}},n.createElement(Eo,{customDiscountLabelText:dr,discountAmount:Rr,currentBillingPeriod:X,isCurrentBillingPeriod:be,isCurrent:Tt,isSelected:On,plan:Gr,productType:Do,selectable:Wo,checkoutType:zo}))};var Pl=e(965935),Wi=e.n(Pl);const Mc=(Vn,dr)=>dr.products[0].featureLevel===Vn,Fc=(Vn,dr)=>n.createElement(a.P3,{backButtonProps:{isShown:!0},continueButtonProps:{buttonText:(0,O.t)("Confirm Selection",null,{project:"universal-checkout"}),isShown:!0,isDisabled:!Vn,onClick:()=>Vn&&dr(Vn)}}),gu=Vn=>{let{analogousCurrentFeatureLevel:dr,currentBillingPeriod:Rr,currentPlanId:X,isLoading:be,onPlanSelect:Tt,plansToSelect:On=[],productType:fr,checkoutType:Gr}=Vn;const Wo=[s().WEBSITE,s().CAMPAIGNS,s().SCHEDULING,s().MEMBER_AREAS,s().GOOGLE_WORKSPACE].includes(fr)&&!X&&!Rr,zo=On==null?void 0:On.find(ps=>ps.billingPeriod===Kr.tv.ANNUALLY),[_a,Aa]=(0,n.useState)(Wo?zo:void 0),za=(0,n.useCallback)(ps=>{Wo?Aa(ps):Tt(ps)},[Wo,Tt,Aa]);return be||!(On!=null&&On.length)?n.createElement(Mr.Z,{"data-testid":"billing-period-switch-loading",justifyContent:"center",alignItems:"center"},n.createElement(Ti.Z,null)):n.createElement("div",null,!Wo&&n.createElement(qs.Z,{"data-testid":"billing-cycles-header",className:Wi().billingCyclesHeader},n.createElement(nt.T,{project:"universal-checkout"},"Billing Cycles")),On.map(ps=>{const Ws=Mc(dr,ps);return n.createElement(Al,{selectable:Wo,key:ps.id,plan:ps,currentBillingPeriod:Rr,isAnalogousToSubscribed:Ws,isCurrentBillingPeriod:ps.billingPeriod===Rr,isCurrent:ps.id===X,isSelected:ps.id===(_a==null?void 0:_a.id),onPlanClick:za,discountAmount:ps.annualSavingsPercent,productType:fr,checkoutType:Gr})}),Wo&&Fc(_a,Tt))},Cl=Vn=>{let{analogousCurrentFeatureLevel:dr,currentBillingPeriod:Rr,currentPlanId:X,isLoading:be,plansToSelect:Tt,productType:On,saveAndGotoNext:fr,subscriptionId:Gr,checkoutType:Do,getCustomPurchaseProductTitle:Wo,getCustomPurchaseProductSubtitle:zo,getCustomProductIcon:_a,getCustomProductTitle:Aa,getCustomProductSubtitle:za,getCustomCartItemIcon:ps}=Vn;const Ws=(0,n.useCallback)(Oi=>{(0,Bi.Z)("engagement_checkout_pick_plan",{selectedFeatureLevel:Oi.products[0].featureLevel}),es.Z.selectPlan({plan:Oi,productType:On}),fr({[On]:{planId:Oi.id,subscriptionId:Gr,customPurchaseProductTitle:Wo?Wo(Oi):void 0,customPurchaseProductSubtitle:zo?zo(Oi):void 0,customProductIcon:_a?_a(Oi):void 0,customProductTitle:Aa?Aa(Oi):void 0,customProductSubtitle:za?za(Oi):void 0,customCartItemIcon:ps?ps(Oi):void 0}})},[On,fr,Gr,Wo,zo,_a,Aa,za,ps]);return n.createElement(gu,{analogousCurrentFeatureLevel:dr,currentBillingPeriod:Rr,currentPlanId:X,isLoading:be,onPlanSelect:Ws,plansToSelect:Tt,productType:On,checkoutType:Do})},Dl={getStores(){return[v.Z,J.Z,me.ZP]},getPlansToSelect(Vn,dr,Rr){const X=dr==null?void 0:dr.products[0].featureLevel,be=k()(Vn,On=>On.featureLevel===X)||k()(Vn,On=>On.featureLevel===(Rr==null?void 0:Rr.products[0].featureLevel));return(be==null?void 0:be.plans)||Vn[0].plans},getBundlePlansToSelect(Vn,dr,Rr){if(!Rr)return Vn;const X=(dr==null?void 0:dr.rank)??(Rr==null?void 0:Rr.rank),be=Vn.filter(Tt=>Tt.rank===X);return this.getSortedPlans(be)},getSortedPlans(Vn){return Vn.sort((dr,Rr)=>dr.billingPeriod===Kr.tv.ANNUALLY?-1:Rr.billingPeriod===Kr.tv.ANNUALLY?1:0)},getSelectedPlan(Vn){var dr;const{selectionByProduct:Rr}=J.Z.getState();return((dr=Rr[Vn])===null||dr===void 0?void 0:dr.plan)||null},getSubscription(Vn){let dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a.vl.BILLING_PLAN_SWITCH;const Rr=me.ZP.getActivePlanOfType(Vn);if(dr===a.vl.BILLING_PLAN_SWITCH&&!Rr)throw new TypeError("A subscription is required to change plans or billing periods.");return Rr},getAnalogousCurrentFeatureLevel(Vn,dr,Rr){return!Rr||Js(Vn,dr)?null:zs(Vn,dr,Rr)||null},getPropsFromStores(Vn){let{productType:dr,checkoutType:Rr=a.vl.BILLING_PLAN_SWITCH,analogousPlanComparator:X}=Vn;const Tt=Rr===a.vl.NEW_PURCHASE&&dr===s().WEBSITE?null:this.getSubscription(dr,Rr),On=Rr===a.vl.BILLING_PLAN_SWITCH?Tt==null?void 0:Tt.plan:null,fr=this.getSelectedPlan(dr),{availableProducts:Gr,availableBundledPlans:Do,isLoading:Wo}=v.Z.getState();if(Wo||!Gr&&!Do)return{isLoading:!0,plansToSelect:null};let zo;return dr===s().SQUARESPACE?zo=this.getBundlePlansToSelect(Do,fr,On):zo=this.getPlansToSelect(Gr,fr,On),{analogousCurrentFeatureLevel:Rr===a.vl.BILLING_PLAN_SWITCH?this.getAnalogousCurrentFeatureLevel(On,Gr,X):null,currentBillingPeriod:On==null?void 0:On.billingPeriod,currentPlanId:On==null?void 0:On.id,isLoading:!1,plansToSelect:zo,subscriptionId:Tt==null?void 0:Tt.id}},componentDidConnect(Vn){let{productType:dr}=Vn;const Rr=v.Z.getState().availableProductsCurrency,X=this.getSelectedPlan(dr),be=[X==null?void 0:X.planLine];R.Z.getAvailablePlans({planType:dr,currency:Rr,filterBy:{planLines:be}}),me.ZP.getOrLoadByPlanType(dr)}},kl=h()(Dl,Cl);kl.displayName="ConnectedBillingPeriodSwitchSelector";const ll=kl,el=Vn=>{let{saveAndGotoNext:dr}=Vn;return n.createElement(ll,{checkoutType:a.vl.NEW_PURCHASE,productLine:Ls().CAMPAIGNS,productType:s().CAMPAIGNS,saveAndGotoNext:dr,getCustomProductTitle:Rr=>Qs(Rr).customProductTitle,getCustomPurchaseProductTitle:Rr=>Qs(Rr).customPurchaseProductTitle})},Bl=()=>{const Vn=Jn();return[{component:rs,page:"campaigns-select-plan-screen",navLabel:(0,O.t)("Campaigns",null,{project:"universal-checkout"}),...Vn===_n.CONTROL?{title:(0,O.t)("Select a Plan",null,{project:"universal-checkout"}),subtitle:(0,O.t)("Simple plans. Simple prices. Only pay for what you really need. All plans come with award-winning 24/7 customer support. Prices do not include applicable taxes.",null,{project:"universal-checkout"})}:{}},{component:el,contentWrapperClassName:Fs().centeredPlanSelectorScreenWrapper,page:"campaigns-interval-switch-screen",navLabel:(0,O.t)("Billing",null,{project:"universal-checkout"}),title:(0,O.t)("Select a Billing Cycle",null,{project:"universal-checkout"}),subtitle:(0,O.t)("Choose how often you would like to be billed. You can change the frequency of your billing cycle later.",null,{project:"universal-checkout"})}]},oc=(Vn,dr)=>Vn.find(Rr=>dr.planTierId&&Rr.planTierId?dr.billingPeriod===Rr.billingPeriod&&dr.planTierId===Rr.planTierId:dr.featureLevel&&Rr.featureLevel?dr.billingPeriod===Rr.billingPeriod&&dr.featureLevel===Rr.featureLevel:!1);var Wc=e(898845);const Ll=Vn=>{let{productType:dr,productLines:Rr}=Vn;return X=>(be,Tt)=>{R.Z.getAvailablePlans({planType:dr,currency:be,filterBy:{planLines:Rr}}).then(On=>{var fr;const Gr=(fr=X[dr])===null||fr===void 0?void 0:fr.plan;if(!Gr)return;const Do=oc(On,Gr);Tt({[dr]:{planId:Do==null?void 0:Do.id}}),es.Z.selectPlan({plan:Do,productType:dr})})}},Qa=Vn=>{let{shouldRedirect:dr}=Vn;(0,Wc.C)({shouldRedirect:dr})},Ul=()=>{const{selectionByProduct:Vn}=J.Z.getState();return{preCheckoutScreens:Bl(),onCurrencyChange:Ll({productType:s().CAMPAIGNS,productLines:[xt().CAMPAIGNS]})(Vn)}},Sc=Vn=>Vn!=null&&Vn.renewalDetails?Vn.plan.id===Vn.renewalDetails.plan.id:null,Rc=Vn=>{let{subscription:dr,saveAndGotoNext:Rr,subscribedFeatureLevel:X,updateAnalyticsData:be}=Vn;const Tt=On=>{es.Z.selectPlan({plan:On,productType:F().CAMPAIGNS}),Rr({})};return n.createElement(as,{checkoutType:a.vl.BILLING_PLAN_SWITCH,onSelect:Tt,updateAnalyticsData:be,subscribedFeatureLevel:X,shouldShowMostPopularBanner:!1,renewalPlanMatchesExistingPlan:Sc(dr)})};Rc.propTypes={saveAndGotoNext:f().func.isRequired,subscribedFeatureLevel:f().oneOf(Object.values(H())),subscription:f().object.isRequired,updateAnalyticsData:f().func};const Mu=h()({getStores(){return[me.ZP]},getPropsFromStores(){return{subscription:me.ZP.getByPlanType(s().CAMPAIGNS)}}},Rc),dc=(Vn,dr)=>{const Rr=ca(Vn,dr);if(Rr===Kr.mo.ANALOGOUS)return" ";const X=me.ZP.getActivePlanOfType(Vn),be=X==null?void 0:X.plan.billingPeriod;return Rr===Kr.mo.UPGRADE&&be===Kr.tv.ANNUALLY?(0,O.t)("Select a new billing cycle or keep your current one. To access your new plan immediately, continue paying annually.",null,{project:"universal-checkout"}):(0,O.t)("Select a new billing cycle or keep your current one.",null,{project:"universal-checkout"})},ec=Vn=>ca(Vn)===Kr.mo.ANALOGOUS?(0,O.t)("Select a new billing cycle",null,{project:"universal-checkout"}):(0,O.t)("Select a billing cycle",null,{project:"universal-checkout"});var tc=e(117562);const qc=Vn=>{let{saveAndGotoNext:dr}=Vn;return n.createElement(ll,{productLine:Ls().CAMPAIGNS,productType:s().CAMPAIGNS,saveAndGotoNext:dr,getCustomProductTitle:Rr=>Qs(Rr).customProductTitle,getCustomPurchaseProductTitle:Rr=>Qs(Rr).customPurchaseProductTitle})},Tc=()=>{const Vn=Jn();return[{component:Mu,page:"campaigns-plan-switch-screen",navLabel:(0,O.t)("Plans",null,{project:"universal-checkout"}),...Vn===_n.CONTROL?{title:(0,O.t)("Select a plan",null,{project:"universal-checkout"}),subtitle:(0,O.t)("Select a new plan or keep your current one. You\u2019ll select your billing cycle next.",null,{project:"universal-checkout"})}:{}},{component:qc,contentWrapperClassName:Fs().centeredPlanSelectorScreenWrapper,page:"campaigns-interval-switch-screen",navLabel:(0,O.t)("Billing",null,{project:"universal-checkout"}),subtitle:()=>dc(tc.Z.CAMPAIGNS),title:()=>ec(tc.Z.CAMPAIGNS)}]},sc=()=>({preCheckoutScreens:Tc()}),wc={[a.vl.NEW_PURCHASE]:Ul,[a.vl.BILLING_PLAN_SWITCH]:sc},Nc=()=>{const{availableProductsCurrency:Vn}=v.Z.getState();return{currencyCode:Vn||"USD"}},Yl=Vn=>{const{checkoutType:dr}=Vn,Rr=wc[dr],X=(Rr==null?void 0:Rr())||{};return{data:{UCProps:{showCrossSell:!0,analytics:{productArea:s().CAMPAIGNS},...X,...Vn},productToPurchase:s().CAMPAIGNS,stores:[v.Z],getStoreProps:Nc},validators:[L]}};var ou=e(108351),ur=e.n(ou),Xr=e(67842);const kr=Vn=>({data:{UCProps:{showCrossSell:!1,restrictedPaymentMethods:[ur().SEPA_DEBIT],analytics:{productArea:F().SHIPPING_LABEL},...Vn},productToPurchase:{displayName:"Shipping Labels"}},validators:[L,Xr.Z]});var Ge=e(570867),An=e(834105);class Yt extends P.Z{hasPermission(){return!An.Z.isTrial()}getErrorModalProps(){return{title:(0,O.t)("Trial Account",null,{project:"universal-checkout"}),message:(0,O.t)("To purchase images, you must have a paid Squarespace account. Please upgrade your site via the Billing area.",null,{project:"universal-checkout"}),dismissText:(0,O.t)("OK",null,{project:"universal-checkout"})}}constructor(){super("trial-website")}}var fn=e(829499);class Br extends P.Z{hasPermission(){const dr=I.Z.hasRole(E().ADMIN),Rr=fn.default.getState().assetPurchasesByNonAdminsAllowed;return dr||Rr}getErrorModalProps(){return{title:(0,O.t)("Administrator Role Required",null,{project:"universal-checkout"}),message:(0,O.t)("Only users with the Administrator role can make this purchase. To change your role, contact the site owner or an Administrator.",null,{project:"universal-checkout"}),dismissText:(0,O.t)("OK",null,{project:"universal-checkout"})}}constructor(){super("purchase-permission")}}const yo=Vn=>{var dr;const Rr=Vn==null||(dr=Vn.initCart)===null||dr===void 0?void 0:dr[F().GETTY_IMAGE];return Rr&&{[F().GETTY_IMAGE]:Rr}},sa=Vn=>yo(Vn)?{data:{UCProps:{showCrossSell:!1,customScreenProps:Ge.Z,restrictedPaymentMethods:[ur().SEPA_DEBIT],analytics:{productArea:F().GETTY_IMAGE},...Vn},productToPurchase:{displayName:"Getty Image"}},validators:[Yt,Xr.Z,Br]}:((0,y.$e)(Rr=>{(0,xr.N)(Rr),Rr.setTag("uc-product-area",F().GETTY_IMAGE),(0,y.Tb)(new Error("The property initCart is required to purchase a Getty image"))}),null),va=Vn=>n.createElement(ll,{productLine:Ls().COVER_PAGE,productType:F().WEBSITE,saveAndGotoNext:Vn.saveAndGotoNext,checkoutType:Vn.checkoutType}),Ya=[{component:va,page:"cover-page-plan-screen",navLabel:(0,O.t)("Plans",null,{project:"universal-checkout"}),title:(0,O.t)("Select a Plan",null,{project:"universal-checkout"}),subtitle:(0,O.t)("Simple plans. Simple prices. Only pay for what you really need. All plans come with award-winning 24/7 customer support. Prices do not include applicable taxes.",null,{project:"universal-checkout"}),isCenteredLayout:!0}],xa=Vn=>({preCheckoutScreens:Ya,onCurrencyChange:dr=>Ll({...dr,...Vn})}),ws=[{component:va,page:"cover-page-plan-screen",navLabel:(0,O.t)("Billing",null,{project:"universal-checkout"}),title:(0,O.t)("Select a New Billing Cycle",null,{project:"universal-checkout"}),subtitle:(0,O.t)("Simple plans. Simple prices. Only pay for what you really need. All plans come with award-winning 24/7 customer support. Prices do not include applicable taxes.",null,{project:"universal-checkout"}),isCenteredLayout:!0}],ai=Vn=>({preCheckoutScreens:ws,onCurrencyChange:Ll(Vn)}),yl={[a.vl.NEW_PURCHASE]:xa,[a.vl.BILLING_PLAN_SWITCH]:ai},Ii=Vn=>{const{checkoutType:dr}=Vn,Rr=yl[dr];return{data:{UCProps:{showCrossSell:!1,analytics:{productArea:F().WEBSITE},...Rr(Vn),...Vn}},validators:[L,Xr.Z]}};var Xi=e(35045);const zi=Vn=>{var dr,Rr;const X=Vn==null||(dr=Vn.offeredBannerDiscount)===null||dr===void 0?void 0:dr.percent,be=Vn==null||(Rr=Vn.offeredBannerDiscount)===null||Rr===void 0?void 0:Rr.expiry;return X&&be?Nn.FIRST_MONTH_DISCOUNT:Nn.SAVE_PERCENT},Sl=Vn=>{const Rr=!(0,Qt.m)()&&Vn.planLine===xt().WEBSITE_COMMERCE,X=(0,O.t)("Website{separator}{product}{plan}",{plan:Vn.displayName,product:Rr?(0,O.t)("Commerce ",null,{project:"universal-checkout"}):"",separator:" - "},{project:"universal-checkout"});return{customProductTitle:X,customPurchaseProductTitle:X}};var gc=e(571009),Xl=e(985078),yc=e(850427),Zc=e(296765),Rd=e(108819),_u=e(457811),td=e(48007),Hu=e.n(td);function Ru(Vn,dr,Rr){return dr in Vn?Object.defineProperty(Vn,dr,{value:Rr,enumerable:!0,configurable:!0,writable:!0}):Vn[dr]=Rr,Vn}var Pu;class Oc extends(Pu=n.PureComponent){render(){const{violationInformation:dr,showViolationConfirmation:Rr,selectedPlan:X}=this.props;if(dr.length<1)return null;const be=this.renderViolationMessage({violationInformation:dr});let Tt=X.planDisplayName||X.displayName||X.planName;return X.featureLevel===H().WEBSITE_COMMERCE_BASIC&&(Tt=(0,O.t)("Basic Commerce",null,{project:"universal-checkout"})),n.createElement(_u.Z,{isOpen:Rr,title:(0,O.t)("Confirm Plan Selection",null,{project:"universal-checkout"}),message:n.createElement("div",{className:Hu().violationModalMessage},n.createElement(nt.CN,{forms:{one:"If you select the {downgradedPlan} plan, you\u2019ll see the following change to your plan:",other:"If you select the {downgradedPlan} plan, you\u2019ll see the following changes to your plan:"},n:dr.length,downgradedPlan:Tt,project:"universal-checkout"}),be),onConfirm:this.violationCloseAndGoToPricePanel,onCancel:this.closeViolationConfirmation,"data-test":"warning-violation-modal"})}constructor(...dr){super(...dr),Ru(this,"closeViolationConfirmation",()=>{this.props.onClose()}),Ru(this,"violationCloseAndGoToPricePanel",()=>{this.props.onConfirm()}),Ru(this,"renderViolationMessage",Rr=>{let{violationInformation:X}=Rr;return X.length===0?"":n.createElement("ul",{className:Hu().violation},X.map((be,Tt)=>n.createElement("li",{key:Tt},be)))})}}Ru(Oc,"propTypes",{onConfirm:f().func.isRequired,onClose:f().func.isRequired,violationInformation:f().array.isRequired,showViolationConfirmation:f().bool,selectedPlan:f().object});const nd=Oc;var ld=e(461761),Wl=e.n(ld),Ql=e(464208),gd=e.n(Ql);const rd=Vn=>{let{offeredBannerPercentOff:dr,offeredBannerExpiry:Rr,shouldShowDiscountBanner:X}=Vn;const[be,Tt]=(0,n.useState)(!1);if(!X)return null;const On=()=>Tt(!0),fr=()=>Tt(!1),Gr=(0,O.t)("Terms and Conditions",null,{project:"universal-checkout"}),Do=_a=>{let{onClick:Aa}=_a;return n.createElement("button",{className:gd().TOCButton,onClick:za=>{za.preventDefault(),Aa()},"data-test":"toc-button"},Gr)},Wo=_a=>{let{children:Aa}=_a;return n.createElement(nt.T,{project:"universal-checkout",TOCButton:Aa},"See {TOCButton}.")},zo=_a=>{let{percentOff:Aa}=_a;return n.createElement("strong",null,n.createElement(nt.T,{project:"universal-checkout",percentOff:Aa},"{percentOff}% Discount Applied."))};return n.createElement(n.Fragment,null,n.createElement(Zs,{variant:Kr.OH.SUCCESS},n.createElement(zo,{percentOff:dr})," ",n.createElement(nt.T,{project:"universal-checkout",expirationDate:(0,O.p6)(new Date(Rr),{date:"medium",time:"short"})},"Discount applies to the first payment only. This offer expires on {expirationDate}.")," ",n.createElement(Wo,null,n.createElement(Do,{onClick:On}))),n.createElement(bn,{showModal:be,onModalClose:fr,heading:Gr,body:(0,O.t)("Discount can not be combined with any other offer and is not valid for purchases made prior to this promotion period. Discount only applies to the first payment of a monthly or annual plan, and does not apply to any future recurring payments.",null,{project:"universal-checkout"}),dialogClassName:gd().AccountDiscountBannerPromoModalDialog}))};rd.propTypes={offeredBannerPercentOff:f().string,offeredBannerExpiry:f().string,shouldShowDiscountBanner:f().bool};const Zu=rd,Cu=h()({getStores(){return[v.Z]},getPropsFromStores(){const{promotionalOffers:Vn}=v.Z.getState(),dr=Wl()(Vn,"offeredBannerDiscount.percent"),Rr=Wl()(Vn,"offeredBannerDiscount.expiry");return{shouldShowDiscountBanner:!!(dr&&Rr),offeredBannerPercentOff:dr,offeredBannerExpiry:Rr}}},Zu),Uu=Vn=>{let{isPriceRefreshScheduled:dr,isSubscribedPlanNonCurrent:Rr,subscribedPlan:X}=Vn;if(!X||!Rr)return null;if(dr)return n.createElement(Zs,{variant:Kr.OH.CAUTION},n.createElement(nt.T,{project:"universal-checkout"},"We\u2019ve updated our plans and prices to deliver more value to your subscription."));const{billingPeriod:be}=X,Tt=(0,Ee.hT)(be),On=!(0,Gs.jW)((X==null?void 0:X.products)||[])&&X.planLine===xt().WEBSITE_COMMERCE,fr=(0,O.t)("{prefix}{plan}",{plan:X.displayName,prefix:On?(0,O.t)("Commerce ",null,{project:"universal-checkout"}):""},{project:"universal-checkout"});return n.createElement(Zs,{variant:Kr.OH.CAUTION},n.createElement(nt.T,{project:"universal-checkout",planLabel:fr,planPrice:(0,O.lb)(Ft(X)),planBillingCycle:Tt},"We\u2019ve changed plans and prices since you subscribed. You currently have a {planLabel} plan and you\u2019re paying {planPrice} {planBillingCycle}."))},Bc=h()({getStores(){return[v.Z,me.ZP]},getPropsFromStores(Vn){let{planType:dr}=Vn;var Rr;const{availableProducts:X,availableBundledPlans:be}=v.Z.getState(),Tt=(Rr=me.ZP.getActivePlanOfType(dr))===null||Rr===void 0?void 0:Rr.plan,On=dr===s().SQUARESPACE?!Ts(Tt,be):!Js(Tt,X),fr=me.ZP.getIsPriceRefreshScheduled(dr);return{subscribedPlan:Tt,isSubscribedPlanNonCurrent:On,isPriceRefreshScheduled:fr}}},Uu);Bc.displayName="ConnectedNonCurrentPlanBanner";const Ed=Bc;var Fu=e(79306),Ut=e.n(Fu);const Q=Vn=>{let{shouldShowPrioritySupport:dr}=Vn;const Rr=(0,n.useContext)(Je),X=(0,n.useRef)(null),[be,Tt]=(0,n.useState)(!1),{breakpoints:On}=(0,Tn.F)(),fr=(0,n.useRef)(`priority-support-tooltip-${Ut()()}`),Gr=(0,jn.i)(On).name;if(!dr&&Rr.showCardVariant(Gr))return null;const Do=()=>dr?Tt(!0):void 0,Wo=()=>dr?Tt(!1):void 0;return n.createElement(n.Fragment,null,n.createElement(It.Z.Body,{"data-testid":"priority-support-badge",color:Rn.colors.gray[300],fontSize:Rr.applyVariantBreakpoints({grid:1,card:4}),lineHeight:Rr.applyVariantBreakpoints({grid:1,card:2}),mb:Rr.applyVariantBreakpoints({grid:-1,card:0}),mt:0,sx:dr?void 0:{visibility:"hidden"}},(0,O.t)("with Priority Support",null,{project:"universal-checkout"}),n.createElement(ir.Z,{ref:X,"aria-labelledby":fr.current,as:"span",onMouseEnter:Do,onFocus:Do,onMouseLeave:Wo,onBlur:Wo,ml:Rr.applyVariantBreakpoints({grid:"4px",card:"8px"}),tabIndex:dr?0:null},n.createElement(Rt.Z,{color:Rn.colors.gray[300],sx:Rr.applyVariantMediaQueries({grid:{height:"sizes.100",verticalAlign:"-2px",width:"sizes.100"},card:{height:"sizes.125",verticalAlign:"-2px",width:"sizes.125"}},On)}))),dr&&n.createElement(Mo.Z,{"data-testid":"priority-support-tooltip",anchor:X.current,id:fr.current,isOpen:be,placement:"bottom",role:"tooltip"},(0,O.t)("With priority support for your website, you\u2019ll skip the line and get your request answered first.",null,{project:"universal-checkout"})))};Q.propTypes={shouldShowPrioritySupport:f().bool.isRequired};const De=Q;var at=e(594114);const zt={ABANDONED_CART:"abandoned-cart",ACCEPTED_DONATIONS:"accept-donations",ADVANCED_DISCOUNTS:"advanced-discounts",ADVANCED_ECOMMERCE_ANALYTICS:"advanced-ecommerce-analytics",ADVANCED_SHIPPING:"advanced-shipping",ADVANCED_WEBSITE:"advanced-website",BASIC_WEBSITE:"basic-website",CHECK_ON:"checkout-on",CLIENT_INVOICING:"client-invoicing",COMMERCE_APIS:"commerce-apis",COMPLETE_CUSTOMIZATION:"complete-customization",CONTRIBUTORS:"contributors",CUSTOMER_ACCOUNTS:"customer-accounts",CUSTOMER_NOTIFICATIONS:"customer-notifications",DIGITAL_PRODUCTS_TRANSACTION_FEES:"digital-products-transaction-fees",FREE_CUSTOM:"free-custom",FULLY_INTEGRATED:"fully-integrated",GIFT_CARDS:"gift-cards",LIMITED_AVAILABILITY:"limited-availability",MOBILE_OPTIMIZED:"mobile-optimized",POINT_OF_SALE:"point-of-sale",POWERFUL_E:"powerful-e",POWERFUL_SELLING:"powerful-selling",POWERFUL_MERCH:"powerful-merch",PREMIUM_INTEGRATIONS:"premium-integrations",PRIORITY_SUPPORT:"priority-support",PRODUCTS_ON:"products-on",PROFESSIONAL_EMAIL:"professional-email",PROFILES:"profiles",PROMOTIONAL_POP:"promotional-pop",SELL_CONTENT:"sell-content",SELL_ONLINE:"sell-online",SELL_SUBSCRIPTIONS:"sell-subscriptions",SELL_UNLIMITED:"sell-unlimited",SEO_FEATURES:"seo-features",SHIPPING:"shipping",SQUARESPACE_EXTENSIONS:"squarespace-extensions",SSL_SECURITY:"ssl-security",SUPPORT_ALWAYS_AVAILABLE:"24-7",TEMPLATES_TO:"templates-to",TRANSACTION_FEES:"transaction-fees",UNLIMITED_BANDWIDTH:"unlimited-bandwidth",VIDEO_HOSTING:"video-hosting",WEBSITE_ANALYTICS:"website-analytics"},Qn=(0,O.t)(`With annual purchase 
 
All Squarespace website plans purchased for an annual term include one (1) year of free domain registration on available domains on our cheapest pricing tier. Domains registered through this promotion will renew at our standard rate, plus applicable taxes, after the first year. Outside of this offer, you can attach unlimited domains to any Squarespace plan, on a monthly or yearly basis. 
 
* The free domain must be registered within one year of the start of your eligible website subscription and there may only be one free domain per website. If you paid with SEPA Direct Debit, you can register your free domain only after your payment has gone through. This may take up to 15 days after the time of payment.`,null,{project:"universal-checkout"}),Cr=(0,O.t)("Unlimited",null,{project:"universal-checkout"}),wr={core:[zt.FREE_CUSTOM,zt.SSL_SECURITY,zt.UNLIMITED_BANDWIDTH,[zt.VIDEO_HOSTING],zt.SEO_FEATURES,zt.TEMPLATES_TO,zt.CONTRIBUTORS,zt.MOBILE_OPTIMIZED,zt.SUPPORT_ALWAYS_AVAILABLE,zt.BASIC_WEBSITE,zt.SQUARESPACE_EXTENSIONS,zt.PROFESSIONAL_EMAIL,zt.PREMIUM_INTEGRATIONS,zt.COMPLETE_CUSTOMIZATION],commerce:[zt.CLIENT_INVOICING,zt.SELL_CONTENT,zt.CUSTOMER_ACCOUNTS,zt.FULLY_INTEGRATED,zt.TRANSACTION_FEES,zt.DIGITAL_PRODUCTS_TRANSACTION_FEES,zt.SELL_UNLIMITED,zt.CHECK_ON,zt.ACCEPTED_DONATIONS,zt.GIFT_CARDS,zt.ADVANCED_SHIPPING,zt.POINT_OF_SALE,zt.POWERFUL_E,zt.POWERFUL_MERCH,zt.PRODUCTS_ON,zt.LIMITED_AVAILABILITY,zt.ABANDONED_CART,zt.SELL_SUBSCRIPTIONS,zt.ADVANCED_DISCOUNTS,zt.COMMERCE_APIS],marketing:[zt.ADVANCED_WEBSITE,zt.PROMOTIONAL_POP]},No={classic_personal_gated:[zt.FREE_CUSTOM,zt.UNLIMITED_BANDWIDTH,zt.SEO_FEATURES],website_business_price_test_aug_2017:[zt.FREE_CUSTOM,zt.PROFESSIONAL_EMAIL,zt.FULLY_INTEGRATED],classic_business_priority_support:[zt.FREE_CUSTOM,zt.PRIORITY_SUPPORT,zt.FULLY_INTEGRATED],commerce_basic:[zt.FREE_CUSTOM,zt.TRANSACTION_FEES,zt.CHECK_ON],commerce_advanced_priority_support:[zt.FREE_CUSTOM,zt.ABANDONED_CART,zt.ADVANCED_SHIPPING],commerce_advanced:[zt.FREE_CUSTOM,zt.ABANDONED_CART,zt.ADVANCED_SHIPPING]},Co={[zt.FREE_CUSTOM]:{displayName:(0,O.t)("Free Custom Domain*",null,{project:"universal-checkout"}),id:zt.FREE_CUSTOM,featureLevelIndicators:{classic_personal_gated:"CHECK",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:Qn,disabledOnMonthly:!0},[zt.UNLIMITED_BANDWIDTH]:{description:(0,O.t)("Scale with confidence. There are no caps on bandwidth and photo storage.",null,{project:"universal-checkout"}),displayName:(0,O.t)("Unlimited Bandwidth",null,{project:"universal-checkout"}),featureLevelIndicators:{classic_personal_gated:"CHECK",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},id:zt.UNLIMITED_BANDWIDTH},[zt.VIDEO_HOSTING]:{displayName:(0,O.t)("Video Hosting",null,{project:"universal-checkout"}),id:zt.VIDEO_HOSTING,featureLevelIndicators:{classic_personal_gated:"CHECK",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Upload video, display your video library beautifully, and allow visitors to stream directly on your site. All plans come with 30 minutes of video storage, and additional storage is available with the Digital Products Add-On.",null,{project:"universal-checkout"})},[zt.PREMIUM_INTEGRATIONS]:{displayName:(0,O.t)("Premium Integrations and Blocks",null,{project:"universal-checkout"}),id:zt.PREMIUM_INTEGRATIONS,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Grow your website with integrations and apps that connect with your visitors, create leads, and build your customer database. Add restaurant reservation booking through OpenTable or ordering through ChowNow. Even showcase and sell items via Instagram.",null,{project:"universal-checkout"})},[zt.PROFESSIONAL_EMAIL]:{displayName:(0,O.t)("Professional Email from Google*",null,{project:"universal-checkout"}),id:zt.PROFESSIONAL_EMAIL,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)(`If you sign up for an eligible plan and register or connect a domain, you\u2019ll receive one (1) professional {productName} account, free for the first year. Additional users on your {productName} account will be billed at the standard rate. After the first year your {productName} account will renew at the standard annual or monthly rate, plus applicable taxes, depending on which billing plan you choose. 
 
* Offer is only valid for new {productName} accounts set up through Squarespace. Domains that have previously had or currently have a {productName} account cannot be used to redeem the offer. Offer must be redeemed within one year from purchase of the eligible plan.`,{productName:at.x},{project:"universal-checkout"})},[zt.COMPLETE_CUSTOMIZATION]:{displayName:(0,O.t)("Complete Customization With CSS and JavaScript",null,{project:"universal-checkout"}),id:zt.COMPLETE_CUSTOMIZATION,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Build upon Squarespace\u2019s beautiful templates by adding bespoke CSS and Java Script elements",null,{project:"universal-checkout"})},[zt.TEMPLATES_TO]:{displayName:(0,O.t)("Templates to Fit Every Need from Blogs to Portfolios",null,{project:"universal-checkout"}),id:zt.TEMPLATES_TO,featureLevelIndicators:{classic_personal_gated:"CHECK",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Squarespace offers curated templates specifically designed to not only look great, but solve your business or personal goals",null,{project:"universal-checkout"})},[zt.CONTRIBUTORS]:{displayName:(0,O.t)("Contributors",null,{project:"universal-checkout"}),cardDisplayName:Vn=>Vn===Cr?(0,O.t)("Unlimited Contributors",null,{project:"universal-checkout"}):(0,O.t)("{contributors} Contributors",{contributors:Vn},{project:"universal-checkout",notes:'The number of contributors allow on a website. For example, "2 Contributors"'}),id:zt.CONTRIBUTORS,featureLevelIndicators:{classic_personal_gated:"2",website_business_price_test_aug_2017:Cr,classic_business_priority_support:Cr,commerce_basic:Cr,commerce_advanced:Cr,commerce_advanced_priority_support:Cr},description:(0,O.t)("The number of contributors allowed on your website.",null,{project:"universal-checkout"})},[zt.SSL_SECURITY]:{displayName:(0,O.t)("SSL Security",null,{project:"universal-checkout"}),id:zt.SSL_SECURITY,featureLevelIndicators:{classic_personal_gated:"CHECK",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Squarespace automatically creates and configures free SSL certificates with industry recommended 2048-bit keys and SHA-2 signatures for all of our websites, including ones with custom domains. With your site secured by SSL, your visitors will see a green secure lock icon when browsing your site in their browser\u2019s address bar, and your site\u2019s rankings in Google will be improved.",null,{project:"universal-checkout"})},[zt.MOBILE_OPTIMIZED]:{displayName:(0,O.t)("Mobile Optimized Websites",null,{project:"universal-checkout"}),id:zt.MOBILE_OPTIMIZED,featureLevelIndicators:{classic_personal_gated:"CHECK",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("All Squarespace websites are optimized for mobile shopping and checkout works flawlessly on any device.",null,{project:"universal-checkout"})},[zt.SUPPORT_ALWAYS_AVAILABLE]:{displayName:(0,O.t)("24/7 Customer Support",null,{project:"universal-checkout"}),id:zt.SUPPORT_ALWAYS_AVAILABLE,featureLevelIndicators:{classic_personal_gated:"CHECK",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Squarespace\u2019s Award Winning customer care team is ready to help 24/7",null,{project:"universal-checkout"})},[zt.PRIORITY_SUPPORT]:{displayName:(0,O.t)("Priority Support",null,{project:"universal-checkout"}),id:zt.PRIORITY_SUPPORT,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"",classic_business_priority_support:"CHECK",commerce_basic:"",commerce_advanced:"",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("With priority support for your website, you\u2019ll skip the line and get your request answered first.",null,{project:"universal-checkout"})},[zt.BASIC_WEBSITE]:{displayName:(0,O.t)("Basic Website Metrics",null,{project:"universal-checkout"}),id:zt.BASIC_WEBSITE,featureLevelIndicators:{classic_personal_gated:"CHECK",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Track website visits, traffic sources, visitor geography and site paths, popular content, and much more.",null,{project:"universal-checkout"})},[zt.CLIENT_INVOICING]:{displayName:(0,O.t)("Client Invoicing",null,{project:"universal-checkout"}),id:zt.CLIENT_INVOICING,featureLevelIndicators:{classic_personal_gated:"CHECK",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Tools for managing your service business: invoice your clients and manage your projects all in one workflow with no transaction fees. Credit card processor fees still apply on all plans.",null,{project:"universal-checkout"})},[zt.SELL_CONTENT]:{displayName:(0,O.t)("Sell content and memberships",null,{project:"universal-checkout"}),id:zt.SELL_CONTENT,featureLevelIndicators:{classic_personal_gated:"CHECK",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Sell content and memberships, including online courses, blogs, and video. Squarespace charges a 9% fee on these sales with website plans. You can add the Digital Products Add-On to your website plan at any time to lower the transaction fees. Credit card processor fees also apply.",null,{project:"universal-checkout"})},[zt.FULLY_INTEGRATED]:{displayName:(0,O.t)("Fully Integrated E-Commerce",null,{project:"universal-checkout"}),id:zt.FULLY_INTEGRATED,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("From robust order, inventory, and product catalog management, to all the payment, taxes, and shipping tools needed to sell online.",null,{project:"universal-checkout"})},[zt.TRANSACTION_FEES]:{displayName:(0,O.t)("Transaction Fees for Physical Products and Services",null,{project:"universal-checkout"}),cardDisplayName:Vn=>(0,O.t)("{transactionFees} Transaction Fees for Physical Products and Services",{transactionFees:Vn},{project:"universal-checkout",notes:'The percentage transaction fees on physical products and services. For example, "3% Transaction Fees for Physical Products and Services"'}),id:zt.TRANSACTION_FEES,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:(0,O.uf)(.03,{style:"percent"}),classic_business_priority_support:(0,O.uf)(.03,{style:"percent"}),commerce_basic:(0,O.uf)(0,{style:"percent"}),commerce_advanced:(0,O.uf)(0,{style:"percent"}),commerce_advanced_priority_support:(0,O.uf)(0,{style:"percent"})},description:(0,O.t)("Squarespace doesn\u2019t charge transaction fees for sales of physical products, services, downloads (like mp3s or ebooks), or gift cards on certain plans. You can upgrade your plan at any time to remove transaction fees for these sales. Different transaction fees apply for sales of digital products (courses, memberships, video-on-demand). Credit card processor fees apply on all plans.",null,{project:"universal-checkout"})},[zt.DIGITAL_PRODUCTS_TRANSACTION_FEES]:{displayName:(0,O.t)("Transaction Fees for Content and Memberships Sales",null,{project:"universal-checkout"}),cardDisplayName:Vn=>(0,O.t)("{transactionFees} Transaction Fees for Content and Memberships Sales",{transactionFees:Vn},{project:"universal-checkout",notes:'The percentage transaction fee on digital products sales. For example, "3% Transaction Fees for Content and Memberships Sales"'}),id:zt.DIGITAL_PRODUCTS_TRANSACTION_FEES,featureLevelIndicators:{classic_personal_gated:(0,O.uf)(.09,{style:"percent"}),website_business_price_test_aug_2017:(0,O.uf)(.09,{style:"percent"}),classic_business_priority_support:(0,O.uf)(.09,{style:"percent"}),commerce_basic:(0,O.uf)(.09,{style:"percent"}),commerce_advanced:(0,O.uf)(.09,{style:"percent"}),commerce_advanced_priority_support:(0,O.uf)(.09,{style:"percent"})},description:(0,O.t)("Sell content and memberships, including online courses, blogs, and video. Squarespace charges a 9% fee on these sales with website plans. You can add the Digital Products Add-On to your website plan at any time to lower the transaction fees. Credit card processor fees also apply.",null,{project:"universal-checkout"})},[zt.CUSTOMER_ACCOUNTS]:{displayName:(0,O.t)("Customer Accounts",null,{project:"universal-checkout"}),id:zt.CUSTOMER_ACCOUNTS,featureLevelIndicators:{classic_personal_gated:"CHECK",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Your customers can sign in and create accounts for faster checkout, helping you increase sales and build lasting relationships.",null,{project:"universal-checkout"})},[zt.ABANDONED_CART]:{displayName:(0,O.t)("Abandoned Cart Recovery",null,{project:"universal-checkout"}),id:zt.ABANDONED_CART,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"",classic_business_priority_support:"",commerce_basic:"",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Send automated email reminders to customers who abandon the checkout process before completing their purchases.",null,{project:"universal-checkout"})},[zt.GIFT_CARDS]:{displayName:(0,O.t)("Gift Cards",null,{project:"universal-checkout"}),id:zt.GIFT_CARDS,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Sell digital gift cards in your online store to expand your reach. Recipients can redeem these gift cards as payment in checkout.",null,{project:"universal-checkout"})},[zt.SELL_SUBSCRIPTIONS]:{displayName:(0,O.t)("Sell Recurring Subscription Products",null,{project:"universal-checkout"}),id:zt.SELL_SUBSCRIPTIONS,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"",classic_business_priority_support:"",commerce_basic:"",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Sell subscriptions to the physical products in your online store on a weekly or monthly basis to generate recurring revenue.",null,{project:"universal-checkout"})},[zt.SELL_UNLIMITED]:{displayName:(0,O.t)("Sell Unlimited Products",null,{project:"universal-checkout"}),id:zt.SELL_UNLIMITED,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("With Squarespace there\u2019s no limit to the amount of products you can sell, or additional fees per sale",null,{project:"universal-checkout"})},[zt.POWERFUL_E]:{displayName:(0,O.t)("Powerful E-Commerce Analytics",null,{project:"universal-checkout"}),id:zt.POWERFUL_E,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"",classic_business_priority_support:"",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Make better business decisions by tracking your store\u2019s performance. See your best-selling products, identify sales trends, and monitor conversion from visit to purchase.",null,{project:"universal-checkout"})},[zt.CHECK_ON]:{displayName:(0,O.t)("Checkout on Your Domain",null,{project:"universal-checkout"}),id:zt.CHECK_ON,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Direct customers to a secure checkout page on your domain (e.g., https://example.com/checkout) for a consistent shopping experience and stronger sense of security.",null,{project:"universal-checkout"})},[zt.PRODUCTS_ON]:{displayName:(0,O.t)("Products on Instagram",null,{project:"universal-checkout"}),id:zt.PRODUCTS_ON,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"",classic_business_priority_support:"",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Sync your products with Facebook\u2019s Product Catalog to tag products in your Instagram posts and sell more.",null,{project:"universal-checkout"})},[zt.ADVANCED_SHIPPING]:{displayName:(0,O.t)("Advanced Shipping*",null,{project:"universal-checkout"}),id:zt.ADVANCED_SHIPPING,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Set your own shipping rates or get real-time rates from popular carriers in your country. Offer pickup or local delivery.",null,{project:"universal-checkout"})},[zt.ADVANCED_DISCOUNTS]:{displayName:(0,O.t)("Advanced Discounts",null,{project:"universal-checkout"}),id:zt.ADVANCED_DISCOUNTS,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"",classic_business_priority_support:"",commerce_basic:"",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Offer discounts that automatically apply to qualifying orders in checkout or are limited in use, giving you full control over your store\u2019s promotions.",null,{project:"universal-checkout"})},[zt.ACCEPTED_DONATIONS]:{displayName:(0,O.t)("Accept Donations",null,{project:"universal-checkout"}),id:zt.ACCEPTED_DONATIONS,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Easily collect donations for your cause through Stripe or Paypal",null,{project:"universal-checkout"})},[zt.LIMITED_AVAILABILITY]:{displayName:(0,O.t)("Limited Availability Labels",null,{project:"universal-checkout"}),id:zt.LIMITED_AVAILABILITY,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"",classic_business_priority_support:"",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Increase urgency and encourage conversion by letting customers know the current inventory level of any product.",null,{project:"universal-checkout"})},[zt.SEO_FEATURES]:{displayName:(0,O.t)("SEO Features for Site Visibility",null,{project:"universal-checkout"}),id:zt.SEO_FEATURES,featureLevelIndicators:{classic_personal_gated:"CHECK",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Squarespace guides you through simple steps to help improve your site\u2019s search ranking",null,{project:"universal-checkout"})},[zt.ADVANCED_WEBSITE]:{displayName:(0,O.t)("Advanced Website Analytics",null,{project:"universal-checkout"}),id:zt.ADVANCED_WEBSITE,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Track website visits, traffic sources, visitor geography, site paths, popular content, and much more. Higher tier plans include additional sales and conversion metrics, so you can understand how visitors contact you, book your services, join your mailing list and RSVP to an event.",null,{project:"universal-checkout"})},[zt.PROMOTIONAL_POP]:{displayName:(0,O.t)("Promotional Pop-Ups and Banners",null,{project:"universal-checkout"}),id:zt.PROMOTIONAL_POP,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Use pop-ups to advertise promotions, collect email addresses or even make an announcement like new store opening hours.",null,{project:"universal-checkout"})},[zt.POWERFUL_MERCH]:{displayName:(0,O.t)("Powerful Merchandising Tools",null,{project:"universal-checkout"}),id:zt.POWERFUL_MERCH,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"",classic_business_priority_support:"",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Showcase products with rich product merchandising tools. Display Related Products and allow customers to join Product Waitlists. Save time and manage inventory easily with Spreadsheet Bulk Editing.",null,{project:"universal-checkout"})},[zt.COMMERCE_APIS]:{displayName:(0,O.t)("Commerce APIs",null,{project:"universal-checkout"}),id:zt.COMMERCE_APIS,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"",classic_business_priority_support:"",commerce_basic:"",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Build custom integrations to third party systems to handle your back office and ecommerce needs, from order fulfillment to inventory management to much more.",null,{project:"universal-checkout"})},[zt.SQUARESPACE_EXTENSIONS]:{displayName:(0,O.t)("Squarespace Extensions",null,{project:"universal-checkout"}),id:zt.SQUARESPACE_EXTENSIONS,featureLevelIndicators:{classic_personal_gated:"CHECK",website_business_price_test_aug_2017:"CHECK",classic_business_priority_support:"CHECK",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Portfolio of third-party extensions to help you manage, expand, and optimize your business.",null,{project:"universal-checkout"})},[zt.POINT_OF_SALE]:{displayName:(0,O.t)("Point of Sale",null,{project:"universal-checkout"}),id:zt.POINT_OF_SALE,featureLevelIndicators:{classic_personal_gated:"",website_business_price_test_aug_2017:"",classic_business_priority_support:"",commerce_basic:"CHECK",commerce_advanced:"CHECK",commerce_advanced_priority_support:"CHECK"},description:(0,O.t)("Sell in person with the Commerce app. Connect a Square account and pair a reader to accept payments and keep your inventory, customers and analytics in sync.",null,{project:"universal-checkout"})}},Ro=["core","commerce","marketing"],{CATEGORY_ORDER:Qo,FEATURE_IDS_BY_CATEGORY:ka,HIGHLIGHTED_FEATURE_IDS_BY_PLAN:Ca,MESSAGES_BY_FEATURE_ID:ls}=r,Es=function(){let{checkoutType:Vn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const dr={core:{displayName:(0,O.t)("Core",null,{project:"universal-checkout"}),id:"core",features:ka.core},commerce:{displayName:(0,O.t)("Commerce",null,{project:"universal-checkout"}),id:"commerce",features:ka.commerce},marketing:{displayName:(0,O.t)("Marketing",null,{project:"universal-checkout"}),id:"marketing",features:ka.marketing}};return{orderedByCategory:Qo.map(X=>dr[X]),highlightedFeaturesByPlan:{classic_personal_gated:{includes:(0,O.t)("Includes",null,{project:"universal-checkout"}),features:Ca.classic_personal_gated},website_business_price_test_aug_2017:{includes:(0,O.t)("Includes",null,{project:"universal-checkout"}),features:Ca.website_business_price_test_aug_2017},classic_business_priority_support:{includes:(0,O.t)("Includes",null,{project:"universal-checkout"}),features:Ca.classic_business_priority_support},commerce_basic:{includes:(0,O.t)("Includes",null,{project:"universal-checkout"}),features:Ca.commerce_basic},commerce_advanced:{includes:(0,O.t)("Includes",null,{project:"universal-checkout"}),features:Ca.commerce_advanced},commerce_advanced_priority_support:{includes:(0,O.t)("Includes",null,{project:"universal-checkout"}),features:Ca.commerce_advanced_priority_support}},byId:ls}},Bo={ABANDONED_CART_RECOVERY:"abandoned-cart-recovery",ACCEPT_DONATIONS:"accept-donations",ACH_PAYMENT_PROCESSING_RATE:"ach-payment-processing-rate",ADVANCED_FACEBOOK_INSTAGRAM_ADVERTISING:"advanced-facebook-and-instagram-advertising",ADVANCED_MERCHANDISING_FEATURES:"advanced-merchandising-features",AMAZON_BLOCK:"amazon-block",ANNOUNCEMENT_BAR:"announcement-bar",AUTOMATIC_GLOBAL_TAX_RATE_CALCULATIONS:"automatic-global-tax-rate-calculations",AUTOMATIC_US_TAX_RATE_CALCULATIONS:"automatic-us-tax-rate-calculations",BASIC_WEBSITE_METRICS:"basic-website-metrics",CHECKOUT_ON_YOUR_DOMAIN:"checkout-on-your-domain",CHOWNOW_INTEGRATION:"chownow-integration",CODE_BLOCK_ADVANCED:"code-block-advanced",CODE_BLOCK_BASIC:"code-block-basic",CODE_INJECTION:"code-injection",COMMERCE_APIS:"commerce-apis",CONTACTS_PANEL:"contacts-panel-for-audience-management",CONTRIBUTORS:"contributors",CREDIT_CARD_PAYMENT_PROCESSING_RATE:"credit-card-payment-processing-rate",CSS_EDITOR:"css-editor",CURRENCY_CONVERSION_TRANSACTION_FEE:"currency-conversion-transaction-fee",CUSTOMER_ACCOUNTS:"customer-accounts",CUSTOMER_SUPPORT:"24-7-customer-support",DESIGNER_TEMPLATES:"designer-templates",DIGITAL_CONTENT_AND_MEMBERSHIPS_TRANSACTION_FEE:"digital-content-and-memberships-transaction-fee",DISPLAY_PHYSICAL_PRODUCTS:"display-physical-products-in-google-shopping",DRAG_AND_DROP_EDITOR:"drag-and-drop-editor",ECOMMERCE_ANALYTICS:"ecommerce-analytics",EMBED_BLOCK:"embed-block",FORM_AND_BUTTON_CONVERSION_INSIGHTS:"form-and-button-conversion-insights",FREE_CUSTOM_DOMAIN:"free-custom-domain",FULLY_INTEGRATED_ECOMMERCE:"fully-integrated-ecommerce",GENERATE_LEADS_FORM_BLOCKS:"generate-leads-via-form-blocks",GROW_AUDIENCE_NEWSLETTER_BLOCKS:"grow-audience-subscriptions-using-newsletter-blocks",INTERNATIONAL_CREDIT_CARD_PAYMENT_PROCESSING_RATE:"international-credit-card-payment-processing-rate",MAILCHIMP_INTEGRATION:"mailchimp-integration",MENU_BLOCK:"menu-block",MOBILE_INFORMATION_BAR:"mobile-information-bar",MOBILE_OPTIMIZED_WEBSITES:"mobile-optimized-websites",NO_INVOICE_TRANSACTION_FEES:"no-invoice-transaction-fees",OFFER_DISCOUNTS:"offer-discounts",ONLINE_STORE_TRANSACTION_FEE:"online-store-transaction-fee",OPENTABLE_BLOCK:"opentable-block",POINT_OF_SALE_PAYMENT_PROCESSOR:"point-of-sale-payment-processor",PREMIUM_CREDIT_CARD_PAYMENT_PROCESSING_RATE:"premium-credit-card-payment-processing-rate",PREMIUM_INTEGRATIONS_AND_BLOCKS:"premium-integrations-and-blocks",PRODUCT_STATUS:"product-status-limited-availability-labels-out-of-stock-notifications",PROFESSIONAL_EMAIL:"professional-email-from-google-workspace**",PROMOTE_PRODUCTS_FACEBOOK_INSTAGRAM:"promote-products-on-facebook-and-instagram",PROMOTIONAL_POP_UPS:"promotional-pop-ups",REAL_TIME_CARRIER_RATES:"real-time-carrier-rates",SEARCH_KEYWORD_ANALYSIS:"search-keyword-analysis-for-seo",SELL_COURSES_BLOGS_VIDEOS_MEMBERSHIPS:"sell-courses-blogs-videos-memberships-subscriptions",SELL_CUSTOM_MERCHANDISE:"sell-custom-merchandise-using-a-print-on-demand-drop-shipping-service",SELL_GIFT_CARDS:"sell-gift-cards",SELL_IN_PERSON_POS:"sell-in-person-with-squarespace-point-of-sale-pos",SELL_SUBSCRIPTION_PRODUCTS:"sell-subscription-products",SELL_UNLIMITED_PRODUCTS_SERVICES:"sell-unlimited-products-and-services",SEND_INVOICES_MANAGE_PROJECTS:"send-invoices-and-manage-projects",SEO_TOOLS:"seo-tools-for-site-visibility",SHIPPING_LABELS:"shipping-labels",SQUARESPACE_AI:"squarespace-ai",SQUARESPACE_EXTENSIONS:"squarespace-extensions",SQUARESPACE_PAYMENTS:"squarespace-payments",SSL_SECURITY:"ssl-security",TRACK_POPULAR_SITE_CONTENT:"track-popular-site-content",TRAFFIC_ACTIVITY_INSIGHTS:"traffic-and-activity-insights",UNLIMITED_BANDWIDTH:"unlimited-bandwidth",VIDEO_HOSTING_STORAGE:"video-hosting-storage",ZAPIER_INTEGRATION:"zapier-integration",AVAIL_WITH_SQPP:"available-with-squarespace-payments"},Hi=Vn=>(0,O.uf)(Vn,{style:"percent",minimumFractionDigits:0,maximumFractionDigits:20}),Qi=function(Vn,dr){const X=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"")+Hi(Vn);return dr.value==="0.00"?X:X+" + "+(0,O.lb)(new z.default.fromJson(dr))},Li=(0,O.t)("Unlimited",null,{project:"universal-checkout"}),Gl=()=>n.createElement("sup",null,"\u2020"),Zl=(0,O.t)("If you sign up for select plans and register or connect a domain, you\u2019ll receive one (1) professional Gmail and {productName} account, free for the first year. Additional users on your {productName} account will be billed at the standard rate. After the first year your Gmail and {productName} account will renew at the standard annual or monthly rate, plus applicable taxes, depending on which billing plan you choose.** Offer is only valid for new {productName} accounts set up through Squarespace. Domains that have previously had or currently have a {productName} account cannot be used to redeem the offer. Offer must be redeemed within one year from purchase of the eligible plan.",{productName:at.x},{project:"universal-checkout"}),Vc=(0,O.t)("Applied when selling online products, services, or donations. Upgrade your plan for 0% transaction fees.",null,{project:"universal-checkout"}),tu=(0,O.t)("Get automatic tax rate calculations in over 100 countries for a limited-time promotional price of $0.00 per transaction.",null,{project:"universal-checkout"}),lu=(0,O.t)("Connect the TaxJar extension to calculate sales tax for your orders (U.S. only). No TaxJar plan required if you're on select plans.",null,{project:"universal-checkout"}),Lu=(0,O.t)("Connect your store to Printful to sell custom printed, embroidered, and engraved products anywhere in the world. Design and sell on any plan.",null,{project:"universal-checkout"}),yu=(0,O.t)(`All Squarespace website plans purchased for an annual term include one (1) year of free domain registration on available domains on our cheapest pricing tier. Domains registered through this promotion will renew at our standard rate, plus applicable taxes, after the first year. Outside of this offer, you can attach unlimited domains to any website plan, on a monthly or yearly basis.

*The free domain must be registered within one year of the start of your eligible website subscription and there may only be one free domain per website.`,null,{project:"universal-checkout"}),ic={build_your_website:[Bo.DESIGNER_TEMPLATES,Bo.DRAG_AND_DROP_EDITOR,Bo.FREE_CUSTOM_DOMAIN,Bo.MOBILE_OPTIMIZED_WEBSITES,Bo.SEO_TOOLS,Bo.CUSTOMER_SUPPORT,Bo.SQUARESPACE_AI,Bo.BASIC_WEBSITE_METRICS,Bo.VIDEO_HOSTING_STORAGE,Bo.UNLIMITED_BANDWIDTH,Bo.CONTRIBUTORS,Bo.SSL_SECURITY,Bo.SQUARESPACE_EXTENSIONS,Bo.CODE_BLOCK_BASIC,Bo.CSS_EDITOR,Bo.EMBED_BLOCK,Bo.ACCEPT_DONATIONS,Bo.PROFESSIONAL_EMAIL,Bo.CODE_BLOCK_ADVANCED,Bo.CODE_INJECTION,Bo.PREMIUM_INTEGRATIONS_AND_BLOCKS,Bo.MOBILE_INFORMATION_BAR,Bo.ANNOUNCEMENT_BAR],accept_payments:[Bo.SQUARESPACE_PAYMENTS,Bo.CREDIT_CARD_PAYMENT_PROCESSING_RATE,Bo.PREMIUM_CREDIT_CARD_PAYMENT_PROCESSING_RATE,Bo.ACH_PAYMENT_PROCESSING_RATE,Bo.INTERNATIONAL_CREDIT_CARD_PAYMENT_PROCESSING_RATE,Bo.CURRENCY_CONVERSION_TRANSACTION_FEE,Bo.AVAIL_WITH_SQPP,Bo.POINT_OF_SALE_PAYMENT_PROCESSOR,Bo.ONLINE_STORE_TRANSACTION_FEE,Bo.DIGITAL_CONTENT_AND_MEMBERSHIPS_TRANSACTION_FEE,Bo.NO_INVOICE_TRANSACTION_FEES],accept_payments_without_ACH_RATE:[Bo.SQUARESPACE_PAYMENTS,Bo.CREDIT_CARD_PAYMENT_PROCESSING_RATE,Bo.PREMIUM_CREDIT_CARD_PAYMENT_PROCESSING_RATE,Bo.INTERNATIONAL_CREDIT_CARD_PAYMENT_PROCESSING_RATE,Bo.CURRENCY_CONVERSION_TRANSACTION_FEE,Bo.AVAIL_WITH_SQPP,Bo.POINT_OF_SALE_PAYMENT_PROCESSOR,Bo.ONLINE_STORE_TRANSACTION_FEE,Bo.DIGITAL_CONTENT_AND_MEMBERSHIPS_TRANSACTION_FEE,Bo.NO_INVOICE_TRANSACTION_FEES],accept_payments_without_squarespace_payments:[Bo.POINT_OF_SALE_PAYMENT_PROCESSOR,Bo.ONLINE_STORE_TRANSACTION_FEE,Bo.DIGITAL_CONTENT_AND_MEMBERSHIPS_TRANSACTION_FEE,Bo.NO_INVOICE_TRANSACTION_FEES],sell_products_and_services:[Bo.FULLY_INTEGRATED_ECOMMERCE,Bo.SELL_UNLIMITED_PRODUCTS_SERVICES,Bo.SELL_GIFT_CARDS,Bo.SEND_INVOICES_MANAGE_PROJECTS,Bo.SELL_COURSES_BLOGS_VIDEOS_MEMBERSHIPS,Bo.CHECKOUT_ON_YOUR_DOMAIN,Bo.PROMOTE_PRODUCTS_FACEBOOK_INSTAGRAM,Bo.ABANDONED_CART_RECOVERY,Bo.PRODUCT_STATUS,Bo.SELL_IN_PERSON_POS,Bo.AUTOMATIC_GLOBAL_TAX_RATE_CALCULATIONS,Bo.SELL_SUBSCRIPTION_PRODUCTS,Bo.AMAZON_BLOCK,Bo.OPENTABLE_BLOCK,Bo.MENU_BLOCK,Bo.SELL_CUSTOM_MERCHANDISE,Bo.OFFER_DISCOUNTS,Bo.DISPLAY_PHYSICAL_PRODUCTS,Bo.ADVANCED_FACEBOOK_INSTAGRAM_ADVERTISING,Bo.ADVANCED_MERCHANDISING_FEATURES,Bo.SHIPPING_LABELS,Bo.REAL_TIME_CARRIER_RATES,Bo.CHOWNOW_INTEGRATION,Bo.COMMERCE_APIS],market_your_brand:[Bo.CONTACTS_PANEL,Bo.CUSTOMER_ACCOUNTS,Bo.GENERATE_LEADS_FORM_BLOCKS,Bo.GROW_AUDIENCE_NEWSLETTER_BLOCKS,Bo.TRAFFIC_ACTIVITY_INSIGHTS,Bo.SEARCH_KEYWORD_ANALYSIS,Bo.TRACK_POPULAR_SITE_CONTENT,Bo.PROMOTIONAL_POP_UPS,Bo.FORM_AND_BUTTON_CONVERSION_INSIGHTS,Bo.ECOMMERCE_ANALYTICS,Bo.MAILCHIMP_INTEGRATION,Bo.ZAPIER_INTEGRATION]},kc={website_basic:[Bo.SELL_UNLIMITED_PRODUCTS_SERVICES,Bo.ONLINE_STORE_TRANSACTION_FEE,Bo.CREDIT_CARD_PAYMENT_PROCESSING_RATE,Bo.VIDEO_HOSTING_STORAGE,Bo.BASIC_WEBSITE_METRICS,Bo.FREE_CUSTOM_DOMAIN],website_core:[Bo.SELL_UNLIMITED_PRODUCTS_SERVICES,Bo.ONLINE_STORE_TRANSACTION_FEE,Bo.CREDIT_CARD_PAYMENT_PROCESSING_RATE,Bo.VIDEO_HOSTING_STORAGE,Bo.ECOMMERCE_ANALYTICS,Bo.AUTOMATIC_GLOBAL_TAX_RATE_CALCULATIONS,Bo.SHIPPING_LABELS,Bo.FREE_CUSTOM_DOMAIN,Bo.PROFESSIONAL_EMAIL],website_plus:[Bo.SELL_UNLIMITED_PRODUCTS_SERVICES,Bo.ONLINE_STORE_TRANSACTION_FEE,Bo.CREDIT_CARD_PAYMENT_PROCESSING_RATE,Bo.VIDEO_HOSTING_STORAGE,Bo.ECOMMERCE_ANALYTICS,Bo.AUTOMATIC_GLOBAL_TAX_RATE_CALCULATIONS,Bo.SHIPPING_LABELS,Bo.FREE_CUSTOM_DOMAIN,Bo.PROFESSIONAL_EMAIL],website_advanced:[Bo.SELL_UNLIMITED_PRODUCTS_SERVICES,Bo.ONLINE_STORE_TRANSACTION_FEE,Bo.CREDIT_CARD_PAYMENT_PROCESSING_RATE,Bo.VIDEO_HOSTING_STORAGE,Bo.ECOMMERCE_ANALYTICS,Bo.AUTOMATIC_GLOBAL_TAX_RATE_CALCULATIONS,Bo.SHIPPING_LABELS,Bo.FREE_CUSTOM_DOMAIN,Bo.PROFESSIONAL_EMAIL],website_basic_without_squarespace_payments:[Bo.SELL_UNLIMITED_PRODUCTS_SERVICES,Bo.ONLINE_STORE_TRANSACTION_FEE,Bo.VIDEO_HOSTING_STORAGE,Bo.BASIC_WEBSITE_METRICS,Bo.FREE_CUSTOM_DOMAIN],website_core_without_squarespace_payments:[Bo.SELL_UNLIMITED_PRODUCTS_SERVICES,Bo.ONLINE_STORE_TRANSACTION_FEE,Bo.VIDEO_HOSTING_STORAGE,Bo.ECOMMERCE_ANALYTICS,Bo.AUTOMATIC_GLOBAL_TAX_RATE_CALCULATIONS,Bo.SHIPPING_LABELS,Bo.FREE_CUSTOM_DOMAIN,Bo.PROFESSIONAL_EMAIL],website_plus_without_squarespace_payments:[Bo.SELL_UNLIMITED_PRODUCTS_SERVICES,Bo.ONLINE_STORE_TRANSACTION_FEE,Bo.VIDEO_HOSTING_STORAGE,Bo.ECOMMERCE_ANALYTICS,Bo.AUTOMATIC_GLOBAL_TAX_RATE_CALCULATIONS,Bo.SHIPPING_LABELS,Bo.FREE_CUSTOM_DOMAIN,Bo.PROFESSIONAL_EMAIL],website_advanced_without_squarespace_payments:[Bo.SELL_UNLIMITED_PRODUCTS_SERVICES,Bo.ONLINE_STORE_TRANSACTION_FEE,Bo.VIDEO_HOSTING_STORAGE,Bo.ECOMMERCE_ANALYTICS,Bo.AUTOMATIC_GLOBAL_TAX_RATE_CALCULATIONS,Bo.SHIPPING_LABELS,Bo.FREE_CUSTOM_DOMAIN,Bo.PROFESSIONAL_EMAIL]},cu={[Bo.DESIGNER_TEMPLATES]:{displayName:(0,O.t)("Designer templates to fit every need",null,{project:"universal-checkout"}),id:Bo.DESIGNER_TEMPLATES,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Squarespace offers beautiful templates designed to solve your business or personal goals.",null,{project:"universal-checkout"})},[Bo.DRAG_AND_DROP_EDITOR]:{displayName:(0,O.t)("Drag-and-drop editor",null,{project:"universal-checkout"}),id:Bo.DRAG_AND_DROP_EDITOR,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Customize page layouts easier than ever with Fluid Engine, our newest website editing experience on version 7.1 websites.",null,{project:"universal-checkout"})},[Bo.FREE_CUSTOM_DOMAIN]:{displayName:(0,O.t)("Free custom domain*",null,{project:"universal-checkout"}),id:Bo.FREE_CUSTOM_DOMAIN,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:yu,disabledOnMonthly:!0},[Bo.MOBILE_OPTIMIZED_WEBSITES]:{displayName:(0,O.t)("Mobile-optimized websites",null,{project:"universal-checkout"}),id:Bo.MOBILE_OPTIMIZED_WEBSITES,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("All Squarespace websites are optimized for mobile. Shopping and checkout work flawlessly on any device.",null,{project:"universal-checkout"})},[Bo.SEO_TOOLS]:{displayName:(0,O.t)("SEO tools for site visibility",null,{project:"universal-checkout"}),id:Bo.SEO_TOOLS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Squarespace guides you through simple steps to help improve your site\u2019s search ranking.",null,{project:"universal-checkout"})},[Bo.CUSTOMER_SUPPORT]:{displayName:(0,O.t)("24/7 Customer Support",null,{project:"universal-checkout"}),id:Bo.CUSTOMER_SUPPORT,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Squarespace\u2019s award-winning customer care team is ready to help 24/7.",null,{project:"universal-checkout"})},[Bo.SQUARESPACE_AI]:{displayName:(0,O.t)("Squarespace AI",null,{project:"universal-checkout"}),id:Bo.SQUARESPACE_AI,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Squarespace AI is your personal creative agency to help build out your brand. Select the lightning bolt in the editor and enter a prompt to get started.",null,{project:"universal-checkout"})},[Bo.BASIC_WEBSITE_METRICS]:{displayName:(0,O.t)("Basic website metrics",null,{project:"universal-checkout"}),id:Bo.BASIC_WEBSITE_METRICS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Track website visits, traffic sources, visitor geography, popular content, and more.",null,{project:"universal-checkout"})},[Bo.VIDEO_HOSTING_STORAGE]:{displayName:(0,O.t)("Video hosting & storage",null,{project:"universal-checkout"}),id:Bo.VIDEO_HOSTING_STORAGE,cardDisplayName:Vn=>(0,O.t)("Video hosting & storage ({storageAmount})",{storageAmount:Vn},{project:"universal-checkout",notes:'The amount of video hosting in minutes or hours. For example, "Video hosting & storage 30 min"'}),featureLevelIndicators:{website_basic:(0,O.t)("30 min",null,{project:"universal-checkout",notes:"The amount of video storage allowed on a website, with a shortened version of minutes."}),website_core:(0,O.t)("5 hours",null,{project:"universal-checkout"}),website_plus:(0,O.t)("50 hours",null,{project:"universal-checkout"}),website_advanced:Li},description:(0,O.t)("Upload videos, display your video library beautifully, and allow visitors to stream directly on your site.",null,{project:"universal-checkout"})},[Bo.UNLIMITED_BANDWIDTH]:{displayName:(0,O.t)("Unlimited bandwidth",null,{project:"universal-checkout"}),id:Bo.UNLIMITED_BANDWIDTH,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Scale with confidence. There are no caps on your bandwidth and photo storage.",null,{project:"universal-checkout"})},[Bo.CONTRIBUTORS]:{displayName:(0,O.t)("Contributors",null,{project:"universal-checkout"}),cardDisplayName:Vn=>Vn===Li?(0,O.t)("Unlimited Contributors",null,{project:"universal-checkout"}):(0,O.t)("{contributors} Contributors",{contributors:Vn},{project:"universal-checkout",notes:'The number of contributors allowed on a website. For example, "2 Contributors"'}),id:Bo.CONTRIBUTORS,featureLevelIndicators:{website_basic:"2",website_core:Li,website_plus:Li,website_advanced:Li},description:(0,O.t)("The number of contributors allowed on your website.",null,{project:"universal-checkout"})},[Bo.SSL_SECURITY]:{displayName:(0,O.t)("SSL security",null,{project:"universal-checkout"}),id:Bo.SSL_SECURITY,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Squarespace automatically creates and configures free SSL certificates with industry recommended 2048-bit keys and SHA-2 signatures for all of our websites, including ones with custom domains. SSL secure sites rank more highly on Google.",null,{project:"universal-checkout"})},[Bo.SQUARESPACE_EXTENSIONS]:{displayName:(0,O.t)("Squarespace Extensions",null,{project:"universal-checkout"}),id:Bo.SQUARESPACE_EXTENSIONS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Squarespace Extensions are a collection of third-party tools to enhance your site and streamline key tasks, like sales tax compliance, drop shipping, SEO, and social media marketing. Built and managed by third-party services, our extensions connect to your site and are the equivalent of plugins, add-ons, or apps.",null,{project:"universal-checkout"})},[Bo.CODE_BLOCK_BASIC]:{displayName:(0,O.t)("Code block (basic)",null,{project:"universal-checkout"}),id:Bo.CODE_BLOCK_BASIC,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Use HTML, plain text, markdown, or CSS code to customize your website.",null,{project:"universal-checkout"})},[Bo.CSS_EDITOR]:{displayName:(0,O.t)("CSS Editor",null,{project:"universal-checkout"}),id:Bo.CSS_EDITOR,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Change fonts, colors, and backgrounds.",null,{project:"universal-checkout"})},[Bo.EMBED_BLOCK]:{displayName:(0,O.t)("Embed block",null,{project:"universal-checkout"}),id:Bo.EMBED_BLOCK,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Embed content from external sites that use the oEmbed standard.",null,{project:"universal-checkout"})},[Bo.PROFESSIONAL_EMAIL]:{displayName:(0,O.t)("Professional email from {productName}**",{productName:at.x},{project:"universal-checkout"}),id:Bo.PROFESSIONAL_EMAIL,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:Zl},[Bo.CODE_BLOCK_ADVANCED]:{displayName:(0,O.t)("Code block (advanced)",null,{project:"universal-checkout"}),id:Bo.CODE_BLOCK_ADVANCED,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Customize with CSS, HTML, iFrames, JavaScript.",null,{project:"universal-checkout"})},[Bo.CODE_INJECTION]:{displayName:(0,O.t)("Code injection",null,{project:"universal-checkout"}),id:Bo.CODE_INJECTION,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Add code that affects your entire site or a single page, like Meta Pixel or live chat services.",null,{project:"universal-checkout"})},[Bo.PREMIUM_INTEGRATIONS_AND_BLOCKS]:{displayName:(0,O.t)("Premium integrations and blocks",null,{project:"universal-checkout"}),id:Bo.PREMIUM_INTEGRATIONS_AND_BLOCKS,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Grow your website with integrations and apps that connect with your visitors, create leads, and build your customer database. Add restaurant reservation booking through OpenTable or ordering through ChowNow. Even showcase and sell items via Instagram.",null,{project:"universal-checkout"})},[Bo.ACCEPT_DONATIONS]:{displayName:(0,O.t)("Accept Donations",null,{project:"universal-checkout"}),id:Bo.ACCEPT_DONATIONS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Use the Donation block to easily collect donations for your charity or cause through Squarespace Payments, Stripe, or PayPal.",null,{project:"universal-checkout"})},[Bo.MOBILE_INFORMATION_BAR]:{displayName:(0,O.t)("Mobile information bar",null,{project:"universal-checkout"}),id:Bo.MOBILE_INFORMATION_BAR,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Display your business information in a banner at the bottom of your mobile site.",null,{project:"universal-checkout"})},[Bo.ANNOUNCEMENT_BAR]:{displayName:(0,O.t)("Announcement bar",null,{project:"universal-checkout"}),id:Bo.ANNOUNCEMENT_BAR,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Create and style a message that displays across your pages. Great for announcing sales, promotions, or change to your hours.",null,{project:"universal-checkout"})},[Bo.SQUARESPACE_PAYMENTS]:{displayName:(0,O.t)("Squarespace Payments",null,{project:"universal-checkout"}),id:Bo.SQUARESPACE_PAYMENTS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("With Squarespace Payments as your payment solution, you can centralize your finances in one easy-to-use dashboard. Accepts Visa, Mastercard, AMEX, Discover, Apple Pay, Afterpay, Klarna.",null,{project:"universal-checkout"})},[Bo.CREDIT_CARD_PAYMENT_PROCESSING_RATE]:{displayName:(0,O.t)("Credit card payment processing rate",null,{project:"universal-checkout"}),footnoteIndicator:Gl,id:Bo.CREDIT_CARD_PAYMENT_PROCESSING_RATE,cardDisplayName:Vn=>(0,O.t)("{processingRate} credit card payment processing rate",{processingRate:Vn},{project:"universal-checkout"}),featureLevelIndicators:Vn=>Qi(Vn.cardRate.percentFee,Vn.cardRate.flatFee),description:(0,O.t)("Accept all major credit and debit cards with Squarespace Payments.",null,{project:"universal-checkout"})},[Bo.PREMIUM_CREDIT_CARD_PAYMENT_PROCESSING_RATE]:{displayName:(0,O.t)("Premium credit card payment processing rate",null,{project:"universal-checkout"}),footnoteIndicator:Gl,id:Bo.PREMIUM_CREDIT_CARD_PAYMENT_PROCESSING_RATE,cardDisplayName:Vn=>(0,O.t)("{processingRate} premium credit card payment processing rate",{processingRate:Vn},{project:"universal-checkout"}),featureLevelIndicators:Vn=>Qi(Vn.amexRate.percentFee,Vn.amexRate.flatFee),description:(0,O.t)("The Premium card rate applies to all cards issued by American Express and some commercial, corporate, and business cards depending on your country. Refer to the Squarespace Help Center for details specific to your country.",null,{project:"universal-checkout"})},[Bo.ACH_PAYMENT_PROCESSING_RATE]:{displayName:(0,O.t)("ACH payment processing rate",null,{project:"universal-checkout"}),footnoteIndicator:Gl,id:Bo.ACH_PAYMENT_PROCESSING_RATE,cardDisplayName:Vn=>(0,O.t)("{processingRate} ACH payment processing rate",{processingRate:Vn},{project:"universal-checkout"}),featureLevelIndicators:Vn=>{var dr;let Rr="";const X=Vn==null||(dr=Vn.achRate)===null||dr===void 0?void 0:dr.maxFee;return X&&X.value!=="0.00"&&(Rr=" ("+(0,O.lb)(new z.default.fromJson(X),{trimZeroFractions:!0})+" maximum fee)"),Qi(Vn.achRate.percentFee,Vn.achRate.flatFee)+Rr},description:(0,O.t)("Accept electronic transfers to your bank as payment for the products and services you sell on your Squarespace site. ($250 minimum transaction amount on all plans, available only in the U.S.).",null,{project:"universal-checkout"})},[Bo.INTERNATIONAL_CREDIT_CARD_PAYMENT_PROCESSING_RATE]:{displayName:(0,O.t)("International credit card payment processing rate",null,{project:"universal-checkout"}),footnoteIndicator:Gl,id:Bo.INTERNATIONAL_CREDIT_CARD_PAYMENT_PROCESSING_RATE,cardDisplayName:Vn=>(0,O.t)("{processingRate} international credit card payment processing rate",{processingRate:Vn},{project:"universal-checkout"}),featureLevelIndicators:Vn=>{const dr=Vn.flatInternationalRate?"":"+";return Qi(Vn.internationalCardRate.percentFee,Vn.internationalCardRate.flatFee,dr)},description:(0,O.t)("Take your business global and accept and process payments from around the world.",null,{project:"universal-checkout"})},[Bo.CURRENCY_CONVERSION_TRANSACTION_FEE]:{displayName:(0,O.t)("Currency conversion transaction fee",null,{project:"universal-checkout"}),footnoteIndicator:Gl,id:Bo.CURRENCY_CONVERSION_TRANSACTION_FEE,cardDisplayName:Vn=>(0,O.t)("{transactionFee} currency conversion transaction fee",{transactionFee:Vn},{project:"universal-checkout"}),featureLevelIndicators:Vn=>Qi(Vn.fxRate.percentFee,Vn.fxRate.flatFee,"+"),description:(0,O.t)("Accept payments from around the world in your own currency.",null,{project:"universal-checkout"})},[Bo.AVAIL_WITH_SQPP]:{displayName:n.createElement(It.Z.Caption,null,n.createElement(Gl,null),n.createElement(nt.T,{project:"universal-checkout"},"Available with Squarespace Payments")),id:Bo.AVAIL_WITH_SQPP,featureLevelIndicators:{website_basic:"",website_core:"",website_plus:"",website_advanced:""},showWithoutIndicators:!0},[Bo.POINT_OF_SALE_PAYMENT_PROCESSOR]:{displayName:(0,O.t)("Point of Sale (POS) Payment Processor",null,{project:"universal-checkout"}),id:Bo.POINT_OF_SALE_PAYMENT_PROCESSOR,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Sell face-to-face and accept payments with a Point-of-Sale system (available only in the U.S.).",null,{project:"universal-checkout"})},[Bo.ONLINE_STORE_TRANSACTION_FEE]:{displayName:(0,O.t)("Online store transaction fee",null,{project:"universal-checkout"}),id:Bo.ONLINE_STORE_TRANSACTION_FEE,cardDisplayName:Vn=>(0,O.t)("{transactionFees} online store transaction fee",{transactionFees:Vn},{project:"universal-checkout",notes:'The percentage transaction fee on digital products sales. For example, "2% online store transaction fee"'}),featureLevelIndicators:{website_basic:(0,O.uf)(.02,{style:"percent"}),website_core:(0,O.uf)(0,{style:"percent"}),website_plus:(0,O.uf)(0,{style:"percent"}),website_advanced:(0,O.uf)(0,{style:"percent"})},description:Vc},[Bo.DIGITAL_CONTENT_AND_MEMBERSHIPS_TRANSACTION_FEE]:{displayName:(0,O.t)("Digital Content and Memberships transaction fee",null,{project:"universal-checkout"}),id:Bo.DIGITAL_CONTENT_AND_MEMBERSHIPS_TRANSACTION_FEE,cardDisplayName:Vn=>n.createElement(nt.T,{project:"universal-checkout",transactionFee:Vn},"{transactionFee} Digital Content and Memberships transaction fee"),featureLevelIndicators:{website_basic:(0,O.uf)(.07,{style:"percent"}),website_core:(0,O.uf)(.05,{style:"percent"}),website_plus:(0,O.uf)(.01,{style:"percent"}),website_advanced:(0,O.uf)(0,{style:"percent"})},description:(0,O.t)("Build your business and your community with Courses, Memberships, and more. Upgrade your plan for lower transaction fees.",null,{project:"universal-checkout"})},[Bo.NO_INVOICE_TRANSACTION_FEES]:{displayName:(0,O.t)("No invoice transaction fees",null,{project:"universal-checkout"}),id:Bo.NO_INVOICE_TRANSACTION_FEES,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Send and process invoices for free on all Squarespace plans.",null,{project:"universal-checkout"})},[Bo.FULLY_INTEGRATED_ECOMMERCE]:{displayName:(0,O.t)("Fully integrated eCommerce",null,{project:"universal-checkout"}),id:Bo.FULLY_INTEGRATED_ECOMMERCE,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("With robust order, inventory, and product catalog management, plus payment, tax and shipping tools needed to sell online. Accept payments with Stripe or PayPal, and allow customers to pay with credit card, Apple Pay or Afterpay.",null,{project:"universal-checkout"})},[Bo.SELL_UNLIMITED_PRODUCTS_SERVICES]:{displayName:(0,O.t)("Sell unlimited products and services",null,{project:"universal-checkout"}),id:Bo.SELL_UNLIMITED_PRODUCTS_SERVICES,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("There\u2019s no limit to the number of products and services you can sell on your online store. Sell physical products, services, and digital products.",null,{project:"universal-checkout"})},[Bo.SELL_GIFT_CARDS]:{displayName:(0,O.t)("Sell gift cards",null,{project:"universal-checkout"}),id:Bo.SELL_GIFT_CARDS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Sell digital gift cards in your online store to expand your reach. Recipients can redeem these gift cards as payment in checkout.",null,{project:"universal-checkout"})},[Bo.SEND_INVOICES_MANAGE_PROJECTS]:{displayName:(0,O.t)("Send invoices and manage projects",null,{project:"universal-checkout"}),id:Bo.SEND_INVOICES_MANAGE_PROJECTS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Accept payments from clients with a single click and maintain a consistent brand presence with a professional invoice that matches your brand identity, included for free on all plans.",null,{project:"universal-checkout"})},[Bo.SELL_COURSES_BLOGS_VIDEOS_MEMBERSHIPS]:{displayName:(0,O.t)("Sell courses, blogs, videos, memberships, subscriptions",null,{project:"universal-checkout"}),id:Bo.SELL_COURSES_BLOGS_VIDEOS_MEMBERSHIPS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Sell content and memberships, including online courses, blogs, and video with a transaction fee.",null,{project:"universal-checkout"})},[Bo.CHECKOUT_ON_YOUR_DOMAIN]:{displayName:(0,O.t)("Checkout on your domain",null,{project:"universal-checkout"}),id:Bo.CHECKOUT_ON_YOUR_DOMAIN,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Direct customers to a secure checkout page on your domain (e.g., https://example.com/checkout) for a consistent shopping experience and stronger sense of security.",null,{project:"universal-checkout"})},[Bo.PROMOTE_PRODUCTS_FACEBOOK_INSTAGRAM]:{displayName:(0,O.t)("Promote products on Facebook and Instagram",null,{project:"universal-checkout"}),id:Bo.PROMOTE_PRODUCTS_FACEBOOK_AND_INSTAGRAM,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Connect with Facebook to sync your product catalog.",null,{project:"universal-checkout"})},[Bo.ABANDONED_CART_RECOVERY]:{displayName:(0,O.t)("Abandoned cart recovery",null,{project:"universal-checkout"}),id:Bo.ABANDONED_CART_RECOVERY,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Send automated email reminders to customers who abandon the checkout process before completing their purchases.",null,{project:"universal-checkout"})},[Bo.PRODUCT_STATUS]:{displayName:(0,O.t)("Product Status (limited availability labels, out of stock notifications)",null,{project:"universal-checkout"}),id:Bo.PRODUCT_STATUS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Increase urgency and encourage conversion by letting your customers know the current inventory level of any product.",null,{project:"universal-checkout"})},[Bo.SELL_IN_PERSON_POS]:{displayName:(0,O.t)("Sell in person with Squarespace point of sale (POS)",null,{project:"universal-checkout"}),id:Bo.SELL_IN_PERSON_POS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Use the Squarespace mobile app (available only in the U.S. for iOS and Android) to accept payments through Square and keep your inventory, customers, and sales analytics in sync.",null,{project:"universal-checkout"})},[Bo.AUTOMATIC_GLOBAL_TAX_RATE_CALCULATIONS]:{displayName:(0,O.t)("Automatic global tax rate calculations",null,{project:"universal-checkout"}),id:Bo.AUTOMATIC_GLOBAL_TAX_RATE_CALCULATIONS,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:tu},[Bo.AUTOMATIC_US_TAX_RATE_CALCULATIONS]:{displayName:(0,O.t)("Automatic US tax rate calculations",null,{project:"universal-checkout"}),id:Bo.AUTOMATIC_US_TAX_RATE_CALCULATIONS,featureLevelIndicators:{website_basic:(0,O.t)("Available with TaxJar",null,{project:"universal-checkout"}),website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:lu},[Bo.SELL_SUBSCRIPTION_PRODUCTS]:{displayName:(0,O.t)("Sell subscription goods or services",null,{project:"universal-checkout"}),id:Bo.SELL_SUBSCRIPTION_PRODUCTS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Create and sell subscription products to sell goods or services in your online store on a weekly or monthly basis to generate recurring revenue.",null,{project:"universal-checkout"})},[Bo.AMAZON_BLOCK]:{displayName:(0,O.t)("Amazon block",null,{project:"universal-checkout"}),id:Bo.AMAZON_BLOCK,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Feature and link to a product from Amazon on your site.",null,{project:"universal-checkout"})},[Bo.OPENTABLE_BLOCK]:{displayName:(0,O.t)("OpenTable block",null,{project:"universal-checkout"}),id:Bo.OPENTABLE_BLOCK,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Encourage visitors to book reservations or sign up for waitlists through OpenTable.",null,{project:"universal-checkout"})},[Bo.MENU_BLOCK]:{displayName:(0,O.t)("Menu block",null,{project:"universal-checkout"}),id:Bo.MENU_BLOCK,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Organize your restaurant\u2019s appetizers, entrees, and desserts with a menu directly on your site.",null,{project:"universal-checkout"})},[Bo.SELL_CUSTOM_MERCHANDISE]:{displayName:(0,O.t)("Sell custom merchandise using a print on demand drop shipping service",null,{project:"universal-checkout"}),id:Bo.SELL_CUSTOM_MERCHANDISE,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:Lu},[Bo.OFFER_DISCOUNTS]:{displayName:(0,O.t)("Offer discounts",null,{project:"universal-checkout"}),id:Bo.OFFER_DISCOUNTS,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Create discounts that apply to qualifying orders in checkout, with options like 'Buy X, Get Y,' automatic application, and free shipping. Set usage limits, subscription discounts, and customer restrictions to fully control your store\u2019s promotions.",null,{project:"universal-checkout"})},[Bo.DISPLAY_PHYSICAL_PRODUCTS]:{displayName:(0,O.t)("Display physical products in Google Shopping",null,{project:"universal-checkout"}),id:Bo.DISPLAY_PHYSICAL_PRODUCTS,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Using our integration with Google Merchant Center, you can display your physical products in product listings across Google, like in Google Shopping, Google image searches, and on YouTube.",null,{project:"universal-checkout"})},[Bo.ADVANCED_FACEBOOK_INSTAGRAM_ADVERTISING]:{displayName:(0,O.t)("Advanced Facebook and Instagram advertising and insights",null,{project:"universal-checkout"}),id:Bo.ADVANCED_FACEBOOK_INSTAGRAM_ADVERTISING,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Use Meta Pixel and Facebook\u2019s dynamic ads to promote the products you sell, and drive more traffic to your site.",null,{project:"universal-checkout"})},[Bo.ADVANCED_MERCHANDISING_FEATURES]:{displayName:(0,O.t)("Advanced merchandising features",null,{project:"universal-checkout"}),id:Bo.ADVANCED_MERCHANDISING_FEATURES,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Tools designed to help you increase sales: display related products; offer product waitlists; drive urgency with low stock alerts, and more.",null,{project:"universal-checkout"})},[Bo.SHIPPING_LABELS]:{displayName:(0,O.t)("Shipping labels",null,{project:"universal-checkout"}),id:Bo.SHIPPING_LABELS,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Get UPS or USPS shipping labels directly through your store for orders shipping within the United States.",null,{project:"universal-checkout"})},[Bo.REAL_TIME_CARRIER_RATES]:{displayName:(0,O.t)("Carrier-calculated shipping",null,{project:"universal-checkout"}),id:Bo.REAL_TIME_CARRIER_RATES,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Calculate the shipping cost at checkout based on your shopper\u2019s address and shopping cart with real-time rates from popular carriers in your country.",null,{project:"universal-checkout"})},[Bo.CHOWNOW_INTEGRATION]:{displayName:(0,O.t)("ChowNow integration",null,{project:"universal-checkout"}),id:Bo.CHOWNOW_INTEGRATION,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Add online food ordering to your site.",null,{project:"universal-checkout"})},[Bo.COMMERCE_APIS]:{displayName:(0,O.t)("Commerce APIs",null,{project:"universal-checkout"}),id:Bo.COMMERCE_APIS,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Build custom integrations to third party systems to handle your back office and ecommerce needs, from order fulfillment to inventory management and much more.",null,{project:"universal-checkout"})},[Bo.CONTACTS_PANEL]:{displayName:(0,O.t)("Contacts Panel for audience management",null,{project:"universal-checkout"}),id:Bo.CONTACTS_PANEL,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Collect unlimited email subscribers, customers, members, donors, and form submissions. Maintain detailed user profiles, and segment your audience.",null,{project:"universal-checkout"})},[Bo.CUSTOMER_ACCOUNTS]:{displayName:(0,O.t)("Customer accounts",null,{project:"universal-checkout"}),id:Bo.CUSTOMER_ACCOUNTS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Your customers can create accounts and sign in for faster checkout, helping you increase sales and build ongoing relationships.",null,{project:"universal-checkout"})},[Bo.GENERATE_LEADS_FORM_BLOCKS]:{displayName:(0,O.t)("Generate leads via Form blocks",null,{project:"universal-checkout"}),id:Bo.GENERATE_LEADS_FORM_BLOCKS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Create and customize forms to collect information from visitors using contact forms, surveys, polls, applications, and more.",null,{project:"universal-checkout"})},[Bo.GROW_AUDIENCE_NEWSLETTER_BLOCKS]:{displayName:(0,O.t)("Grow audience subscriptions using Newsletter blocks",null,{project:"universal-checkout"}),id:Bo.GROW_AUDIENCE_NEWSLETTER_BLOCKS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Encourage visitors to subscribe to your mailing list.",null,{project:"universal-checkout"})},[Bo.TRAFFIC_ACTIVITY_INSIGHTS]:{displayName:(0,O.t)("Traffic and activity insights",null,{project:"universal-checkout"}),id:Bo.TRAFFIC_ACTIVITY_INSIGHTS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Measure your site\u2019s traffic and engagement.",null,{project:"universal-checkout"})},[Bo.SEARCH_KEYWORD_ANALYSIS]:{displayName:(0,O.t)("Search keyword analysis for SEO",null,{project:"universal-checkout"}),id:Bo.SEARCH_KEYWORD_ANALYSIS,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Identify which terms direct visitors to your site so you can focus your content on the search terms people use.",null,{project:"universal-checkout"})},[Bo.TRACK_POPULAR_SITE_CONTENT]:{displayName:(0,O.t)("Track popular site content",null,{project:"universal-checkout"}),id:Bo.TRACK_POPULAR_SITE_CONTENT,featureLevelIndicators:{website_basic:"CHECK",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Understand how your site performs against the goals you set for visitor engagement.",null,{project:"universal-checkout"})},[Bo.PROMOTIONAL_POP_UPS]:{displayName:(0,O.t)("Promotional pop-ups",null,{project:"universal-checkout"}),id:Bo.PROMOTIONAL_POP_UPS,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Trigger a new subscribers form, share a discount, or make an announcement that appears when a visitor loads your site.",null,{project:"universal-checkout"})},[Bo.FORM_AND_BUTTON_CONVERSION_INSIGHTS]:{displayName:(0,O.t)("Form and button conversion insights",null,{project:"universal-checkout"}),id:Bo.FORM_AND_BUTTON_CONVERSION_INSIGHTS,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Gain insight into how visitors engage with the forms and buttons on your site.",null,{project:"universal-checkout"})},[Bo.ECOMMERCE_ANALYTICS]:{displayName:(0,O.t)("Ecommerce analytics",null,{project:"universal-checkout"}),id:Bo.ECOMMERCE_ANALYTICS,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Review data on the how often your customers visit your site, view products, add products to carts, and make purchases.",null,{project:"universal-checkout"})},[Bo.MAILCHIMP_INTEGRATION]:{displayName:(0,O.t)("Mailchimp integration",null,{project:"universal-checkout"}),id:Bo.MAILCHIMP_INTEGRATION,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Grow your subscriber list, send newsletters, and sync information from your online store.",null,{project:"universal-checkout"})},[Bo.ZAPIER_INTEGRATION]:{displayName:(0,O.t)("Zapier integration",null,{project:"universal-checkout"}),id:Bo.ZAPIER_INTEGRATION,featureLevelIndicators:{website_basic:"",website_core:"CHECK",website_plus:"CHECK",website_advanced:"CHECK"},description:(0,O.t)("Use Zapier as form storage to trigger automated actions when visitors submit a form.",null,{project:"universal-checkout"})}},Au=["build_your_website","accept_payments","sell_products_and_services","market_your_brand"],{CATEGORY_ORDER:au,FEATURE_IDS_BY_CATEGORY:jc,HIGHLIGHTED_FEATURE_IDS_BY_PLAN:lc,MESSAGES_BY_FEATURE_ID:Nu}=o,_d=Vn=>{let{allPlansHaveRateSheets:dr,hasACHRates:Rr}=Vn;const X={build_your_website:{displayName:(0,O.t)("Build Your Website",null,{project:"universal-checkout"}),id:"build_your_website",features:jc.build_your_website},accept_payments:{displayName:(0,O.t)("Accept Payments",null,{project:"universal-checkout"}),id:"accept_payments",features:dr?Rr?jc.accept_payments:jc.accept_payments_without_ACH_RATE:jc.accept_payments_without_squarespace_payments},sell_products_and_services:{displayName:(0,O.t)("Sell Products and Services",null,{project:"universal-checkout"}),id:"sell_products_and_services",features:jc.sell_products_and_services},market_your_brand:{displayName:(0,O.t)("Market Your Brand",null,{project:"universal-checkout"}),id:"market_your_brand",features:jc.market_your_brand}};return{orderedByCategory:au.map(Tt=>X[Tt]),highlightedFeaturesByPlan:{website_basic:{includes:(0,O.t)("Includes",null,{project:"universal-checkout"}),features:dr?lc.website_basic:lc.website_basic_without_squarespace_payments},website_core:{includes:(0,O.t)("Includes",null,{project:"universal-checkout"}),features:dr?lc.website_core:lc.website_core_without_squarespace_payments},website_plus:{includes:(0,O.t)("Includes",null,{project:"universal-checkout"}),features:dr?lc.website_plus:lc.website_plus_without_squarespace_payments},website_advanced:{includes:(0,O.t)("Includes",null,{project:"universal-checkout"}),features:dr?lc.website_advanced:lc.website_advanced_without_squarespace_payments}},byId:Nu}},pu={[H().WEBSITE_LEGACY_PROFESSIONAL]:!0,[H().WEBSITE_CLASSIC_BUSINESS]:!0,[H().WEBSITE_BUSINESS_PRICE_TEST_AUG_2017]:!0},Lc=()=>pu,od={[H().WEBSITE_CORE]:!0},yd=()=>od;var cd=e(416387),Vd=e(868192);const Od=Vn=>({product_area:s().WEBSITE,checkout_type:Vn,actor:"user",object_identifier:"customer-support",product_page:`${s().WEBSITE}-${Vn}-plan-selector`}),ud=Vn=>{let{checkoutType:dr,onClose:Rr}=Vn;(0,n.useEffect)(()=>{Xe.track({...Od(dr),action:"view",object_type:"modal"})},[dr]);const X=async()=>{await Xe.track({...Od(dr),action:"click",object_type:"button"}),window.location.href=Vd.CONTACT_CUSTOMER_CARE};return n.createElement(n.Fragment,null,n.createElement(Re.Z.Transition,null,n.createElement(Re.Z,null,n.createElement(Re.Z.Overlay,null),n.createElement(Re.Z.Position,{position:"center"},n.createElement(Re.Z.Dialog,null,n.createElement(ir.Z,{px:6,pt:5,pb:3,width:"sizes.750"},n.createElement(ir.Z,{pb:4},n.createElement(qn.Z.Tertiary,{onClick:Rr},n.createElement(nt.T,{project:"universal-checkout.member-areas"},"Close"))),n.createElement(It.Z.Title,null,n.createElement(nt.T,{project:"universal-checkout.member-areas"},"Let us assist you")),n.createElement(It.Z.Body,null,n.createElement(nt.T,{project:"universal-checkout.member-areas"},"You currently have a Digital Products add-on subscription and these features are now included with our website plans.")),n.createElement(It.Z.Body,{mb:10},n.createElement(nt.T,{project:"universal-checkout.member-areas"},"To coordinate the right billing changes and to avoid any service disruption for your subscribers, please contact us.")),n.createElement(qn.Z,{variant:"primary",size:"large",width:"100%",onClick:X},n.createElement(nt.T,{project:"universal-checkout.member-areas"},"CONTACT CUSTOMER SUPPORT"),n.createElement(Ko.Z,{color:"white",sx:{marginLeft:2},"data-testid":"arrow-right-icon"}))))))))};function Tl(Vn,dr,Rr){return dr in Vn?Object.defineProperty(Vn,dr,{value:Rr,enumerable:!0,configurable:!0,writable:!0}):Vn[dr]=Rr,Vn}const nu=[H().CLASSIC_BUSINESS_PRIORITY_SUPPORT,H().COMMERCE_ADVANCED_PRIORITY_SUPPORT];var uu;class dd extends(uu=n.PureComponent){componentDidMount(){Zc.Z.fire(yc.Z.PAID_CONVERSION_LANDING),this.timer=setTimeout(()=>Rd.Z.setExpanded(!0),5e3)}render(){return n.createElement(n.Fragment,null,this.renderSelector(),this.renderViolationConfirmation())}constructor(dr){super(dr),Tl(this,"state",{showViolationsConfirmation:!1,violationMessages:[],showBlockerModal:!1}),Tl(this,"onSelect",Rr=>{if(this.shouldShowNPABlockModal()){this.setState({showBlockerModal:!0});return}const X=Rr.featureLevel||Rr.products[0].featureLevel,{productViolations:be=[],onPlanSelect:Tt}=this.props,On=be.filter(fr=>fr.featureLevel===X);if(On.length>0){const fr=[...new Map(On.map(Gr=>[Gr.message,Gr])).values()];this.showViolationsConfirmation(fr,Rr)}else es.Z.selectPlan({plan:Rr,productType:F().WEBSITE}),Tt(Rr)}),Tl(this,"closeBlockerModal",()=>{this.setState({showBlockerModal:!1})}),Tl(this,"showViolationsConfirmation",(Rr,X)=>{const be=Rr.map(Tt=>Tt.message);this.setState({selectedPlanInViolation:X,showViolationsConfirmation:!0,violationMessages:be})}),Tl(this,"closeViolationsConfirmation",()=>{this.setState({showViolationsConfirmation:!1,violationMessages:[]})}),Tl(this,"closeAndGoToPricePanel",()=>{this.closeViolationsConfirmation();const{selectedPlanInViolation:Rr}=this.state;es.Z.selectPlan({plan:Rr,productType:F().WEBSITE}),this.props.onPlanSelect(Rr)}),Tl(this,"getBannerSection",()=>n.createElement(n.Fragment,null,n.createElement(Cu,null),n.createElement(ta,null),n.createElement(Ed,{planType:s().WEBSITE}))),Tl(this,"getBadgeSection",Rr=>{let{plan:X}=Rr;var be;return((be=this.props.products)===null||be===void 0?void 0:be.some(On=>nu.includes(On.featureLevel)))?n.createElement(De,{shouldShowPrioritySupport:nu.includes(X.featureLevel)}):null}),Tl(this,"shouldShowProductLine",Rr=>{const X={[Ls().CLASSIC]:!1,[xt().WEBSITE_CLASSIC]:!1,default:!0};return X[Rr]??X.default}),Tl(this,"isAnalogous",(Rr,X)=>{const{products:be}=this.props;if(qt(be))return!1;if(Rr.websitePlanGenus&&X.websitePlanGenus)return Rr.websitePlanGenus===X.websitePlanGenus;if(Rr.rank&&X.rank)return Rr.rank===X.rank}),Tl(this,"shouldShowNPABlockModal",()=>(0,Qt.m)()&&this.props.hasDigitalProductsSubscription),Tl(this,"checkRateSheetState",Rr=>{let X=!1,be=!0;return Rr==null||Rr.forEach(Tt=>{var On;Tt==null||(On=Tt.plans)===null||On===void 0||On.forEach(fr=>{const Gr=fr==null?void 0:fr.rateSheet;X=X||Gr,be=be&&Gr})}),X&&!be&&(0,y.$e)(Tt=>{(0,xr.N)(Tt),Tt.setTag("uc-product-area",F().WEBSITE),(0,y.uT)("Mixed rate sheet state detected - some plans have rate sheets while others do not","error")}),be}),Tl(this,"hasACHRates",Rr=>{var X,be,Tt,On;const fr=(On=window)===null||On===void 0||(Tt=On.Static)===null||Tt===void 0||(be=Tt.SQUARESPACE_CONTEXT)===null||be===void 0||(X=be.websiteSettings)===null||X===void 0?void 0:X.country;return(0,cd.UX)(fr)&&(Rr==null?void 0:Rr.some(Do=>{var Wo;return Do==null||(Wo=Do.plans)===null||Wo===void 0?void 0:Wo.some(zo=>{var _a,Aa;return(zo==null||(Aa=zo.rateSheet)===null||Aa===void 0||(_a=Aa.achRate)===null||_a===void 0?void 0:_a.percentFee)>0})}))}),Tl(this,"renderSelector",()=>{const{checkoutType:Rr,products:X,subscribedPlan:be,isLoading:Tt}=this.props,On=qt(X)?_d({allPlansHaveRateSheets:this.checkRateSheetState(X),hasACHRates:this.hasACHRates(X)}):Es({checkoutType:Rr});if(!X||Tt)return n.createElement(he.Z,null);const fr=X.some(Wo=>Wo.featureLevel===H().WEBSITE_BASIC);(0,Qt.m)()!==fr&&(0,y.$e)(Wo=>{(0,xr.N)(Wo),Wo.setTag("uc-product-area",F().WEBSITE),(0,y.uT)("User has a mismatch between NPA eligibility and NPA products","info")});const Do=(be?!Js(be,X):!1)?zs(be,X,this.isAnalogous):void 0;return n.createElement(n.Fragment,null,n.createElement(bs,{...this.props,productType:F().WEBSITE,products:X,featureMessages:On,popularFeatureLevels:Lc(),recommendedFeatureLevels:yd(),onSelect:this.onSelect,BadgeSection:this.getBadgeSection,BannerSection:this.getBannerSection,shouldShowProductLine:this.shouldShowProductLine,analogousCurrentFeatureLevel:Do}),this.state.showBlockerModal&&n.createElement(ud,{checkoutType:Rr,onClose:this.closeBlockerModal}))}),Tl(this,"renderViolationConfirmation",()=>{const{showViolationsConfirmation:Rr,violationMessages:X,selectedPlanInViolation:be}=this.state;return n.createElement(nd,{onConfirm:this.closeAndGoToPricePanel,onClose:this.closeViolationsConfirmation,showViolationConfirmation:Rr,violationInformation:X,selectedPlan:be})})}}Tl(dd,"propTypes",{planPricingVariant:f().string,currency:f().shape({code:f().string.isRequired,symbol:f().string.isRequired}).isRequired,currentFeatureLevel:f().oneOf(Object.values(H())),onPlanSelect:f().func.isRequired,products:f().arrayOf(f().object),productViolations:f().arrayOf(f().object).isRequired,promotionalOffers:f().object,shouldShowMostPopularBanner:f().bool,subscribedPlan:f().object,renewalPlanMatchesExistingPlan:f().bool,updateAnalyticsData:f().func.isRequired,isPriceRefreshScheduled:f().bool.isRequired,hasDigitalProductsSubscription:f().bool.isRequired}),Tl(dd,"defaultProps",{onPlanSelect:()=>{},productViolations:[],promotionalOffers:{}});const Tu=dd;var Wd=e(829566),qd=e(342622);const af=[xt().WEBSITE_CLASSIC,xt().WEBSITE_COMMERCE],Kd=[F().WEBSITE],ad=h()({getStores(){return[v.Z,J.Z,Xl.Z,qd.Z,gc.Z,me.ZP]},getPropsFromStores(Vn){let{enableHighlightedPlanBanner:dr}=Vn;const{acceptedCurrencies:Rr,availableProductsByProductType:X,areLoading:be,subscribedWebsitePlan:Tt,isTaxCollected:On,violations:fr}=v.Z.getState(),{availableProducts:Gr,availableProductsCurrency:Do}=(X==null?void 0:X[F().WEBSITE])??{},Wo=k()(Rr,{code:Do})||{code:"USD",symbol:"$"},{isEligible:zo,isChatAvailable:_a,loaded:Aa}=qd.Z.getState(),za=me.ZP.getIsPriceRefreshScheduled(s().WEBSITE),ps=be.availableProducts,Ws=!!me.ZP.getActivePlanOfType(s().MEMBER_AREAS);return{billingPeriod:Tt==null?void 0:Tt.billingPeriod,subscribedPlan:Tt,currency:Wo,productViolations:fr,products:Gr,isTaxCollected:On,chatAvailable:zo&&_a&&Aa,shouldShowMostPopularBanner:dr,shouldShowRecommendedBanner:dr,isLoading:ps,isPriceRefreshScheduled:za,hasDigitalProductsSubscription:Ws}},componentDidConnect(Vn){let{checkoutType:dr}=Vn;const Rr=v.Z.getState(),X=af,be=Kd,Tt=Rr.availableProductsCurrency;x.Z.getAcceptedCurrencies(),Wd.Z.loadMultiple(be,Tt,dr),R.Z.getAvailablePlans({planType:s().WEBSITE,currency:Tt,filterBy:{planLines:X}}).then(()=>{const{subscribedWebsitePlan:On}=v.Z.getState();On&&es.Z.selectPlan({plan:On,productType:F().WEBSITE})}),M.Z.loadOffers(s().WEBSITE)}},Tu);ad.displayName="ConnectedWebsitePlanSelection",ad.propTypes={enableHighlightedPlanBanner:f().bool};const Vu=ad,zu=Vn=>{let{promotionalOffers:dr,saveAndGotoNext:Rr,updateAnalyticsData:X}=Vn;const be=Tt=>{(0,Bi.Z)("engagement_checkout_pick_plan",{selectedFeatureLevel:Tt.featureLevel}),Rr({[F().WEBSITE]:{planId:Tt.id,...Sl(Tt)}})};return n.createElement(Vu,{checkoutType:a.vl.NEW_PURCHASE,updateAnalyticsData:X,onPlanSelect:be,planPricingVariant:zi(dr),enableHighlightedPlanBanner:!0})};zu.propTypes={saveAndGotoNext:f().func,updateAnalyticsData:f().func.isRequired,promotionalOffers:f().object};const Wu=h()({getStores(){return[v.Z]},getPropsFromStores(){const{promotionalOffers:Vn}=v.Z.getState();return{promotionalOffers:Vn}}},zu);var Ld=e(904808);const sf=Vn=>n.createElement(ll,{productLine:(0,Ld.Qy)(Xi.default.getState().websiteType),productType:F().WEBSITE,saveAndGotoNext:Vn.saveAndGotoNext,checkoutType:a.vl.NEW_PURCHASE,getCustomProductTitle:dr=>Sl(dr).customProductTitle,getCustomPurchaseProductTitle:dr=>Sl(dr).customPurchaseProductTitle}),xd=[{component:Wu,page:"websites-select-plan-screen",navLabel:(0,O.t)("Plans",null,{project:"universal-checkout"}),title:(0,O.t)("Select a Plan",null,{project:"universal-checkout"}),subtitle:(0,O.t)("Simple plans. Simple prices. Only pay for what you really need. All plans come with award-winning 24/7 customer support. Prices do not include applicable taxes.",null,{project:"universal-checkout"})},{component:sf,contentWrapperClassName:Fs().centeredPlanSelectorScreenWrapper,page:"websites-interval-switch-screen",navLabel:(0,O.t)("Billing",null,{project:"universal-checkout"}),title:(0,O.t)("Select a Billing Cycle",null,{project:"universal-checkout"}),subtitle:(0,O.t)("Choose how often you would like to be billed. You can change the frequency of your billing cycle later.",null,{project:"universal-checkout"})}];var wd=e(238120);const fd=()=>{const{selectionByProduct:Vn}=J.Z.getState();return{preCheckoutScreens:(0,wd.$R)()?[]:xd,onCurrencyChange:Ll({productType:s().WEBSITE,productLines:[xt().WEBSITE_CLASSIC,xt().WEBSITE_COMMERCE]})(Vn)}},sd=Vn=>{let{subscription:dr,saveAndGotoNext:Rr,updateAnalyticsData:X}=Vn;const be=Tt=>{es.Z.selectPlan({plan:Tt,productType:F().WEBSITE}),Rr({})};return n.createElement(Vu,{checkoutType:a.vl.BILLING_PLAN_SWITCH,onPlanSelect:be,updateAnalyticsData:X,planPricingVariant:Nn.BILLED_ANNUALLY,enableHighlightedPlanBanner:!1,renewalPlanMatchesExistingPlan:Sc(dr)})};sd.propTypes={saveAndGotoNext:f().func.isRequired,updateAnalyticsData:f().func.isRequired,subscription:f().object.isRequired};const cf=h()({getStores(){return[me.ZP]},getPropsFromStores(){return{subscription:me.ZP.getByPlanType(s().WEBSITE)}}},sd),$u=(Vn,dr)=>Vn.planLine&&dr.planLine&&Vn.planLine===dr.planLine&&Vn.rank===dr.rank?!0:Ai(dr,Vn),Nd=Vn=>n.createElement(ll,{analogousPlanComparator:$u,productLine:(0,Ld.Qy)(Xi.default.getState().websiteType),productType:F().WEBSITE,saveAndGotoNext:Vn.saveAndGotoNext,getCustomProductTitle:dr=>Sl(dr).customProductTitle,getCustomPurchaseProductTitle:dr=>Sl(dr).customPurchaseProductTitle}),Bd=[{component:cf,page:"websites-plan-switch-screen",navLabel:(0,O.t)("Plans",null,{project:"universal-checkout"}),title:(0,O.t)("Select a plan",null,{project:"universal-checkout"}),subtitle:(0,O.t)("Select a new plan or keep your current one. You\u2019ll select your billing cycle next.",null,{project:"universal-checkout"})},{component:Nd,contentWrapperClassName:Fs().centeredPlanSelectorScreenWrapper,page:"websites-interval-switch-screen",navLabel:(0,O.t)("Billing",null,{project:"universal-checkout"}),subtitle:()=>dc(tc.Z.WEBSITE,$u),title:()=>ec(tc.Z.WEBSITE)}],Fl=()=>({preCheckoutScreens:Bd});var Gd=e(228946);const hd={[a.vl.NEW_PURCHASE]:fd,[a.vl.BILLING_PLAN_SWITCH]:Fl},zd=()=>{const{availableProductsCurrency:Vn}=v.Z.getState();return{currencyCode:Vn||"USD"}},Cd=Vn=>{const{checkoutType:dr,productCheckoutVariant:Rr}=Vn;if(Rr===Ls().COVER_PAGE)return Ii(Vn);const X=hd[dr];return{data:{UCProps:{showCrossSell:!0,analytics:{productArea:F().WEBSITE},onPurchaseComplete:be=>{let{purchaseData:Tt}=be;var On,fr;const{periodName:Gr,planName:Do}=((fr=Tt.invoice)===null||fr===void 0||(On=fr.lineItems)===null||On===void 0?void 0:On[0].subscriptionDetail)??{};(0,Gd.fireEvent)("User Creates Subscription",{billingPeriod:Gr,planName:Do})},...X(Vn),...Vn},stores:[v.Z],getStoreProps:zd},validators:[L]}},$s={screens:{[a.nq.ORDER_SUMMARY]:{subtitle:(0,O.t)("Your subscription changes will take place immediately.",null,{project:"google-workspace-universal-checkout"})},[a.nq.SUCCESS_SCREEN]:{title:(0,O.t)("We\u2019ve updated your subscription",null,{project:"google-workspace-universal-checkout"}),subtitle:(0,O.t)("Your subscription changes were successful. We\u2019ll email you a copy of your receipt.",null,{project:"google-workspace-universal-checkout"})}}};var Ki=e(156207),ru=e(503408);function Zt(Vn){function dr(Rr,X){const be=Rr.billingPeriod,Tt=X.billingPeriod;return be>Tt?-1:be<Tt?1:0}return Array.prototype.slice.call(Vn).sort(dr)}const Kt=Zt;class Sn{getPlans(dr){const Rr=Ki.Z.getAvailable(W.GOOGLE_APPS,dr);return this.loadStart(),Rr.then(be=>{const Tt=Kt(be);return this.loadSuccess(Tt),Tt},be=>{throw new ru.M(`Could not fetch available plans for product line: ${W.GOOGLE_APPS}`,"getPlans",be)}).catch(be=>{(0,y.$e)(Tt=>{(0,xr.N)(Tt),Tt.setTag("uc-product-area",W.GOOGLE_APPS),(0,y.Tb)(be)})})}constructor(){this.generateActions("loadStart","loadSuccess")}}const wn=U.Z.createActions(Sn);class _r{onLoadStart(){this.loading=!0}onLoadSuccess(dr){this.loading=!1,this.plans=dr,dr.length>0?this.currency=dr[0].price.currencyCode:this.currency=null}constructor(){this.loading=!1,this.plans=null,this.currency=null,this.bindActions(wn)}}const Ve=U.Z.createStore(_r,"GSuitePlansStore");var tt=e(257341),bt=e(783611);const Wn={CUSTOM_SECURE_EMAIL:"custom_secure_email",SECURITY_MANAGEMENT_CONTROLS:"security_management_controls",VIDEO_MEETING_PARTICIPANTS:"video_meeting_participants",VIDEO_RECORDING:"video_recording",CLOUD_STORAGE_PER_USER:"cloud_storage_per_user",STANDARD_SUPPORT:"standard_support",FREE_INBOX:"free_inbox"},Nr=Vn=>{const dr=[Wn.CUSTOM_SECURE_EMAIL,Wn.SECURITY_MANAGEMENT_CONTROLS,Wn.VIDEO_MEETING_PARTICIPANTS,Wn.VIDEO_RECORDING,Wn.CLOUD_STORAGE_PER_USER,Wn.STANDARD_SUPPORT,...Vn?[Wn.FREE_INBOX]:[]];return{orderedByCategory:[{displayName:(0,O.t)("Features",null,{project:"google-workspace-universal-checkout"}),id:"features",showLabel:!1,features:dr}],highlightedFeaturesByPlan:{[H().GOOGLE_WORKSPACE_STARTER]:{includes:(0,O.t)("Includes",null,{project:"google-workspace-universal-checkout"}),features:[Wn.CUSTOM_SECURE_EMAIL,Wn.CLOUD_STORAGE_PER_USER,Wn.VIDEO_MEETING_PARTICIPANTS]},[H().GOOGLE_WORKSPACE_STANDARD]:{includes:(0,O.t)("Includes",null,{project:"google-workspace-universal-checkout"}),features:[Wn.CLOUD_STORAGE_PER_USER,Wn.VIDEO_MEETING_PARTICIPANTS,Wn.CUSTOM_SECURE_EMAIL]},[H().GOOGLE_WORKSPACE_PLUS]:{includes:(0,O.t)("Includes",null,{project:"google-workspace-universal-checkout"}),features:[Wn.CLOUD_STORAGE_PER_USER,Wn.VIDEO_MEETING_PARTICIPANTS,Wn.CUSTOM_SECURE_EMAIL]}},byId:{[Wn.CUSTOM_SECURE_EMAIL]:{displayName:(0,O.t)("Custom and secure business email",null,{project:"google-workspace-universal-checkout"}),id:Wn.CUSTOM_SECURE_EMAIL,featureLevelIndicators:{[H().GOOGLE_WORKSPACE_STARTER]:"CHECK",[H().GOOGLE_WORKSPACE_STANDARD]:"CHECK",[H().GOOGLE_WORKSPACE_PLUS]:"CHECK"},disabledOnMonthly:!1},[Wn.SECURITY_MANAGEMENT_CONTROLS]:{displayName:(0,O.t)("Security and management controls",null,{project:"google-workspace-universal-checkout"}),id:Wn.SECURITY_MANAGEMENT_CONTROLS,featureLevelIndicators:{[H().GOOGLE_WORKSPACE_STARTER]:"CHECK",[H().GOOGLE_WORKSPACE_STANDARD]:"CHECK",[H().GOOGLE_WORKSPACE_PLUS]:"CHECK"},disabledOnMonthly:!1},[Wn.VIDEO_MEETING_PARTICIPANTS]:{displayName:(0,O.t)("Google Meet Video and voice conferencing",null,{project:"google-workspace-universal-checkout"}),id:Wn.VIDEO_MEETING_PARTICIPANTS,cardDisplayName:X=>(0,O.t)("{numberOfParticipants} Google Meet Video and voice conferencing",{numberOfParticipants:X},{project:"google-workspace-universal-checkout"}),featureLevelIndicators:{[H().GOOGLE_WORKSPACE_STARTER]:"100",[H().GOOGLE_WORKSPACE_STANDARD]:"150",[H().GOOGLE_WORKSPACE_PLUS]:"500"},disabledOnMonthly:!1},[Wn.VIDEO_RECORDING]:{displayName:(0,O.t)("Google Meet recording",null,{project:"google-workspace-universal-checkout"}),id:Wn.VIDEO_RECORDING,featureLevelIndicators:{[H().GOOGLE_WORKSPACE_STARTER]:"",[H().GOOGLE_WORKSPACE_STANDARD]:"CHECK",[H().GOOGLE_WORKSPACE_PLUS]:"CHECK"},disabledOnMonthly:!1},[Wn.CLOUD_STORAGE_PER_USER]:{displayName:(0,O.t)("Cloud storage per user",null,{project:"google-workspace-universal-checkout"}),cardDisplayName:X=>(0,O.t)("{storageSize} cloud storage per user",{storageSize:X},{project:"google-workspace-universal-checkout"}),id:Wn.CLOUD_STORAGE_PER_USER,featureLevelIndicators:{[H().GOOGLE_WORKSPACE_STARTER]:(0,O.oH)({value:30,unit:"gigabyte"},{length:"short"}),[H().GOOGLE_WORKSPACE_STANDARD]:(0,O.oH)({value:2,unit:"terabyte"},{length:"short"}),[H().GOOGLE_WORKSPACE_PLUS]:(0,O.oH)({value:5,unit:"terabyte"},{length:"short"})},disabledOnMonthly:!1},[Wn.STANDARD_SUPPORT]:{displayName:(0,O.t)("Standard support*",null,{project:"google-workspace-universal-checkout"}),id:Wn.STANDARD_SUPPORT,featureLevelIndicators:{[H().GOOGLE_WORKSPACE_STARTER]:"CHECK",[H().GOOGLE_WORKSPACE_STANDARD]:"CHECK",[H().GOOGLE_WORKSPACE_PLUS]:"CHECK"},description:(0,O.t)("Paid upgrade to Enterprise Support is available with the Standard plan.",null,{project:"google-workspace-universal-checkout"}),disabledOnMonthly:!1},[Wn.FREE_INBOX]:{displayName:(0,O.t)("Free Google Workspace inbox for one year",null,{project:"google-workspace-universal-checkout"}),id:Wn.FREE_INBOX,featureLevelIndicators:{[H().GOOGLE_WORKSPACE_STARTER]:"CHECK",[H().GOOGLE_WORKSPACE_STANDARD]:"",[H().GOOGLE_WORKSPACE_PLUS]:""},disabledOnMonthly:!1}}}},to=()=>({[H().GOOGLE_WORKSPACE_STANDARD]:!0});var qo=e(6152);const Pa=(Vn,dr)=>Vn.find(X=>!X.products||!(dr!=null&&dr.products)?!1:X.products[0].featureLevel===(dr==null?void 0:dr.products[0].featureLevel))?null:Vn.find(X=>X.rank===(dr==null?void 0:dr.rank)&&X.billingPeriod===(dr==null?void 0:dr.billingPeriod)),$a=()=>n.createElement(Ed,{planType:s().GOOGLE_WORKSPACE}),cs=Vn=>{let{billingPeriod:dr,currency:Rr,isLoading:X,plans:be,products:Tt,subscribedPlan:On,checkoutType:fr,hasFreeInbox:Gr,closeModal:Do,saveAndGotoNext:Wo,contract:zo}=Vn;if(X||!be)return n.createElement(he.Z,null);const _a=Ws=>{Ws.isCurrentlySubscribed?Do():(es.Z.selectPlan({plan:Ws,productType:s().GOOGLE_WORKSPACE}),Wo({[s().GOOGLE_WORKSPACE]:{planId:Ws.id,subscriptionId:zo==null?void 0:zo.id,customProductIcon:qo.Z,customPurchaseProductTitle:`${at.x} - ${Ws.displayName}`}}))},Aa=fr===a.vl.NEW_PURCHASE,za=Nr(Gr),ps=Pa(be,On);return n.createElement(bs,{billingPeriod:dr,BannerSection:$a,checkoutType:fr,currency:Rr,onSelect:_a,products:Tt,subscribedPlan:ps||On,productType:s().GOOGLE_WORKSPACE,featureMessages:za,shouldShowMostPopularBanner:Aa,popularFeatureLevels:to(),hideFeaturesToggle:!1,priceUnitModifier:`/ ${(0,O.t)("user",null,{project:"google-workspace-universal-checkout"})}`,planPricingVariant:Aa?Nn.SAVE_PERCENT:Nn.BILLED_ANNUALLY,displayAnnualPricingText:!Aa,shouldShowProductLine:Ws=>Ws===xt().GOOGLE_WORKSPACE})};var Ns=e(619560),Fi=e(36442),xi=e(52894);const ni=h()({getStores(){return[Ve,v.Z,J.Z]},componentDidConnect(Vn){let{checkoutType:dr,router:Rr}=Vn;bt.Z.getState().isEligible===null&&tt.Z.load(),Ve.getState().plans||wn.getPlans();const{availableProductsCurrency:X}=v.Z.getState();re.Z.loadByPlanType(s().GOOGLE_WORKSPACE),x.Z.getAcceptedCurrencies();const be=()=>{if(dr===a.vl.BILLING_PLAN_SWITCH){var Tt;const On=(Tt=Rr.getCurrentRoute())===null||Tt===void 0?void 0:Tt.params;if(!On)return null;if("contractId"in On)return On.contractId;if("subscriptionId"in On){const fr=On.subscriptionId;return Fi.Z.load.defer({subscriptionId:fr}),(0,Ns.E)(xi.Z.getState().subscription)}}return null};R.Z.getAvailablePlans({planType:s().GOOGLE_WORKSPACE,currency:X,contractId:be()})},getPlanSelectionAggregateData(){const{acceptedCurrencies:Vn,areLoading:dr,availableProductsByProductType:Rr}=v.Z.getState(),{availableProducts:X,availableProductsCurrency:be}=(Rr==null?void 0:Rr[s().GOOGLE_WORKSPACE])??{},Tt=k()(Vn,{code:be})||{code:"USD",symbol:"$"};return{availableProducts:X,currency:Tt,isPlanSelectionAggregateDataStoreLoading:Object.values(dr).some(On=>On)}},getPlanSelectionData(){const{selectionByProduct:Vn}=J.Z.getState(),{plan:dr}=Vn[s().GOOGLE_WORKSPACE]??{},Rr=me.ZP.getAllActivePlanOfType(s().GOOGLE_WORKSPACE),{subscription:X}=xi.Z.getState(),be=Rr==null?void 0:Rr.find(fr=>fr.id===(0,Ns.E)(X)),Tt=be==null?void 0:be.plan;return{billingPeriod:(Tt==null?void 0:Tt.billingPeriod)||(dr==null?void 0:dr.billingPeriod),subscribedPlan:Tt,contract:be}},getPropsFromStores(){const{loading:Vn,plans:dr}=Ve.getState(),{availableProducts:Rr,currency:X,isPlanSelectionAggregateDataStoreLoading:be}=this.getPlanSelectionAggregateData(),{billingPeriod:Tt,subscribedPlan:On,contract:fr}=this.getPlanSelectionData(),{isEligible:Gr,loading:Do}=bt.Z.getState();return{billingPeriod:Tt,currency:X,isLoading:Vn||be||Do,plans:dr,products:Rr,subscribedPlan:On,hasFreeInbox:Gr,contract:fr}}},cs);ni.displayName="ConnectedGoogleWorkspaceSelector";const dl=(0,c.Z)(ni),su=[{component:Vn=>{let{saveAndGotoNext:dr,closeModal:Rr}=Vn;return n.createElement(dl,{checkoutType:a.vl.BILLING_PLAN_SWITCH,saveAndGotoNext:dr,closeModal:Rr})},page:"google-workspace-plan-change-select-plan-screen",navLabel:(0,O.t)("Plans",null,{project:"google-workspace-universal-checkout"}),title:(0,O.t)("Select a plan",null,{project:"google-workspace-universal-checkout"}),subtitle:(0,O.t)("Send emails from your domain and get access to productivity tools like cloud storage, calendar, video conference, and more.",null,{project:"google-workspace-universal-checkout"})}],$c=Vn=>({preCheckoutScreens:su,customScreenProps:$s,onPurchaseComplete:()=>Vn,onRequestClose:()=>Vn}),df={screens:{[a.nq.ORDER_SUMMARY]:{subtitle:""},[a.nq.SUCCESS_SCREEN]:{title:(0,O.t)("Your registration is processing.",null,{project:"universal-checkout"}),subtitle:(0,O.t)("You\u2019ll get notified by email when registration is complete. You won\u2019t be charged until {googleWorkspace} is successfully registered.",{googleWorkspace:at.x},{project:"universal-checkout"})}}};var $d=e(805187),ff=e.n($d),bd=e(859256);class gf{load(){return dr=>{try{dr(),bd.Z.getLocation().then(Rr=>{if(!Array.isArray(Rr))throw new Error(`Location data returned as ${typeof Rr}`);this.getLocationSuccess(Rr)})}catch(Rr){this.getLocationFailure(Rr)}}}constructor(){this.generateActions("getLocationSuccess","getLocationFailure")}}const Ku=U.Z.createActions(gf),ef={locationData:[],error:null};class Gc{onGetLocationSuccess(dr){this.setState({locationData:dr,error:null})}onGetLocationFailure(dr){this.setState({error:dr})}constructor(){this.state={...ef},this.bindActions(Ku)}}const Xu=U.Z.createStore(Gc,"CustomerLocationStore");var tf=e(436679),$f=e(274270),pd=e(710904),id=e(663955),Ef=e(599422);class du{onChange(dr){this.setState(Rr=>({adminContact:{...Rr.adminContact,...dr}}))}onValidateSubscription(){this.setState({isValidating:!0})}validationSucceeded(){this.setState({errors:{},isValidating:!1})}onValidationFailure(dr){this.setState({errors:dr,isValidating:!1})}onResetForm(){this.setState({adminContact:{},errors:{},isValidating:!1})}onClearFieldError(dr){this.setState(Rr=>{const{[dr]:X,...be}=Rr.errors||{};return{errors:be}})}constructor(){this.state={adminContact:{},errors:{},isValidating:!1},this.bindActions(Ef.Z)}}const md=U.Z.createStore(du,"GSuiteInitialPurchaseRegistrationStore");var ph=e(8483),Uf=e(51408);const _f=Vn=>{const{domain:dr,alternateEmail:Rr,country:X,postalCode:be,firstName:Tt,lastName:On,organizationName:fr,userName:Gr}=Vn;if([dr,Rr,X,Tt,On,fr,Gr].includes(void 0))return null;const Do=[{firstName:Tt,lastName:On,admin:!0,emailAddress:`${Gr}@${dr}`}];return{productMetadata:[{domainName:dr,administrativeContact:{alternateEmail:Rr,country:X,postalCode:be,contactName:`${Tt} ${On}`,organizationName:fr},users:Do,productType:s().GOOGLE_WORKSPACE}]}};var jd=e(552141),Yf=e(815694),Tf=e(422966),mu=e(662872),fc=e(632539);const Du=(Vn,dr)=>Vn===fc.v?(0,O.t)("Your {label} is incomplete.",{label:dr},{project:"gsuite-universal-checkout"}):Vn,Qu=Vn=>dr=>{Ef.Z.clearFieldError(Vn),Ef.Z.change({[Vn]:dr})},Sd=(Vn,dr,Rr)=>{const X=mu.Ql[Vn],be=mu.Xs[Vn],Tt=mu.Hk[Vn],On=Du(dr[Vn],Tt);return{value:Rr[Vn]??"",label:X,errors:On?{message:On,name:On}:void 0,placeholder:be||X,errorDataTest:`${Vn}-error`,"data-test":Vn,onChange:Qu(Vn),rightAlign:!0}},Xc=Vn=>Vn.map(dr=>({label:`@${dr.name}`,value:dr.name})),Qf=Vn=>{let{adminContactCountry:dr,adminContactDomain:Rr,locationData:X,defaultDomain:be}=Vn;const Tt={};if(!Rr){var On;const fr=be==null||(On=be.replace)===null||On===void 0?void 0:On.call(be,/^www\./,"");Tt[jd.y.DOMAIN]=fr}if(!dr&&X){const fr=X.find(Gr=>Gr.type==="COUNTRY");Tt[jd.y.COUNTRY]=fr==null?void 0:fr.code}ff()(Tt)||Ef.Z.change.defer(Tt)};var Jf=e(997305),Df=e(611630);const vd=(0,Uf.Z)(qi.Z,Ni.Z),yf=Vn=>{const{onChange:dr,value:Rr,placeholder:X,label:be,textAlign:Tt="right",errors:On,"data-test":fr,errorDataTest:Gr,...Do}=Vn;return n.createElement(vd,{as:"label",...Do,body:n.createElement(ph.Z,{"data-test":fr,onChange:dr,placeholder:X,value:Rr,textAlign:Tt,"aria-invalid":!!On,"aria-describedby":On?Gr:void 0,sx:{"&:focus":{outline:"2px solid transparent"},"&:focus:not(:focus-visible)":{outline:"none"}}}),interiorPre:be,post:On&&n.createElement(It.Z.Caption,{id:Gr,p:0,color:"red.300","data-test":Gr,"data-testid":Gr},On.message)})},Su=Vn=>{let{adminContact:dr,domains:Rr,errors:X={},isValidating:be,locationData:Tt,postalCodeFormats:On,defaultDomain:fr,saveAndGotoNext:Gr}=Vn;(0,n.useEffect)(()=>{Qf({adminContactCountry:dr.country,adminContactDomain:dr.domain,locationData:Tt,defaultDomain:fr})},[dr.country,dr.domain,Tt,fr]);const{state:{forwardingEmails:Do}}=(0,Df.Z)(dr.domain),Wo=(Do==null?void 0:Do.length)>0,[zo,_a]=n.useState(!1),Aa=(0,n.useMemo)(()=>Xc(Rr),[Rr]),za=ps=>{if(ps.preventDefault(),Wo){_a(!0);return}Ef.Z.validateSubscription(dr).then(()=>{const Ws=_f(dr);Gr({[F().GOOGLE_APPS]:{...Ws,customProductIcon:qo.Z}})}).catch(()=>{})};return n.createElement(n.Fragment,null,n.createElement("form",{onSubmit:za},n.createElement(It.Z,{as:"div",color:"gray.100",fontSize:3,"data-test":"contact-info"},n.createElement(It.Z.Label,{as:"span"},n.createElement(nt.T,{project:"google-workspace-universal-checkout"},"Email Address")),n.createElement(yf,Sd(jd.y.FIRST_NAME,X,dr)),n.createElement(yf,Sd(jd.y.LAST_NAME,X,dr)),n.createElement(yf,Sd(jd.y.USER_NAME,X,dr)),n.createElement(Hn.Z,{...Sd(jd.y.DOMAIN,X,dr),"data-test":"domain-selection-dropdown","aria-label":(0,O.t)("Domain",null,{project:"google-workspace-universal-checkout"})},Aa.map(ps=>n.createElement(Hn.Z.Option,{key:ps.value,value:ps.value},ps.label)))),n.createElement(It.Z,{as:"div",color:"gray.100",fontSize:3,mt:4},n.createElement(It.Z.Label,{as:"span"},n.createElement(nt.T,{project:"google-workspace-universal-checkout"},"New Email Address")),n.createElement(Tf.Z,{username:dr[jd.y.USER_NAME],domainName:dr[jd.y.DOMAIN]})),n.createElement(It.Z,{as:"div",color:"gray.100",fontSize:3,mt:6},n.createElement(It.Z.Label,{as:"span"},n.createElement(nt.T,{project:"google-workspace-universal-checkout"},"Contact Information")),n.createElement(yf,{type:"email",...Sd(jd.y.ALTERNATE_EMAIL,X,dr)}),n.createElement(yf,Sd(jd.y.ORGANIZATION,X,dr)),n.createElement(Yf.Z,Sd(jd.y.COUNTRY,X,dr)),n.createElement(yf,{...Sd(jd.y.POSTAL_CODE,X,dr),placeholder:On[dr.country??"US"]||mu.Ql[jd.y.POSTAL_CODE]})),n.createElement(a.P3,{backButtonProps:{isShown:!0},continueButtonProps:{isShown:!0,isLoading:be,onClick:za}})),n.createElement(Jf.Z,{isOpen:zo,title:(0,O.t)("Delete email forwarding rules to purchase Google Workspace",null,{project:"domains"}),message:(0,O.t)("You can\u2019t add Google Workspace to a domain with email forwarding rules. To add Google Workspace, first delete any email forwarding rules you created for this domain.",null,{project:"domains"}),onDismiss:()=>_a(!1)}))},If=h()({componentDidConnect(){const{postalCodeFormats:Vn}=pd.Z.getState();ff()(Vn)&&$f.Z.loadContactPostalCodeFormats(),id.Z.getState().ids.length||tf.default.load(),Ku.load()},getStores(){return[Xu,pd.Z,id.Z,md,Xi.default,Ve]},getPropsFromStores(Vn){var dr,Rr;const{locationData:X}=Xu.getState(),{postalCodeFormats:be}=pd.Z.getState(),Tt=id.Z.getFilteredDomains(),On=(dr=Tt.sort((Gr,Do)=>Do.createdOn-Gr.createdOn)[0])===null||dr===void 0?void 0:dr.name,fr=Vn.location.query.domain?(Rr=Tt.find(Gr=>Gr.name===Vn.location.query.domain))===null||Rr===void 0?void 0:Rr.name:null;return{...md.getState(),locationData:X,domains:Tt,postalCodeFormats:be,defaultDomain:fr??On,...Vn}}},Su),ku=(0,c.Z)(If);var wu=e(104943);const Wf=n.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:Vd.GSUITE_LEARN_MORE},n.createElement(nt.T,{project:"google-workspace-universal-checkout"},"Learn More")),hf=Vn=>{let{saveAndGotoNext:dr}=Vn;return n.createElement(ll,{checkoutType:a.vl.NEW_PURCHASE,productLine:Ls().GOOGLE_APPS,productType:s().GOOGLE_WORKSPACE,saveAndGotoNext:dr,getCustomPurchaseProductTitle:Rr=>`${at.x} - ${Rr.displayName}`})},Of=[{component:Vn=>{let{saveAndGotoNext:dr,closeModal:Rr}=Vn;return n.createElement(dl,{saveAndGotoNext:dr,checkoutType:a.vl.NEW_PURCHASE,closeModal:Rr})},page:"google-workspace-initial-purchase-select-plan-screen",navLabel:(0,O.t)("Plans",null,{project:"google-workspace-universal-checkout"}),title:(0,O.t)("Select a {productName} plan",{productName:wu.Z.displayName},{project:"google-workspace-universal-checkout"}),subtitle:n.createElement(nt.T,{project:"google-workspace-universal-checkout",learnMoreLink:Wf},"Send emails from your domain and get access to productivity tools like cloud storage, calendar, video conference, and more. {learnMoreLink}")},{component:hf,contentWrapperClassName:Fs().centeredPlanSelectorScreenWrapper,page:"google-workspace-initial-purchase-interval-switch-screen",navLabel:(0,O.t)("Billing",null,{project:"universal-checkout"}),title:(0,O.t)("Select a Billing Cycle",null,{project:"universal-checkout"}),subtitle:(0,O.t)("Choose how often you would like to be billed.",null,{notes:"Instructional text for a user to choose between annual or monthly billing cycles for a new Squarespace purchase.",project:"universal-checkout"})},{component:ku,isSplitScreen:!0,page:"google-workspace-initial-purchase-registration-screen",navLabel:(0,O.t)("Registration",null,{project:"google-workspace-universal-checkout"}),title:(0,O.t)("Registration",null,{project:"google-workspace-universal-checkout"}),subtitle:n.createElement(nt.T,{project:"google-workspace-universal-checkout",learnMoreLink:Wf},"Choose a user name for your email and the domain you want to send your emails from. {learnMoreLink}")}],Et=(Vn,dr)=>{R.Z.getAvailablePlans({planType:s().GOOGLE_WORKSPACE,currency:Vn}),wn.getPlans(Vn).then(Rr=>{var X;const{selectionByProduct:be}=J.Z.getState(),Tt=(X=be[s().GOOGLE_WORKSPACE])===null||X===void 0?void 0:X.plan;if(!Tt)return;const On=oc(Rr,Tt);es.Z.selectPlan({plan:On,productType:s().GOOGLE_WORKSPACE});const{adminContact:fr}=md.getState(),Gr=_f(fr);dr({[s().GOOGLE_WORKSPACE]:{planId:On.id,...Gr}})})};var D=e(747002),N=e(762535),Z=e(331280),ve=e(28365),je=e.n(ve);const pt="/config/settings/email",Nt=()=>{if((0,Z.AV)()!==je().PARKING_PAGE)return;const Vn=new URLSearchParams(window.location.search),dr=Vn.get("domainName");if(Vn.get("domainName")){const Rr=`https://account.${(0,D.$$)()}${N.Z.forDomainsInAccountService()}managed/${dr}/email`;window.location.href=Rr}else window.location.href=window.location.origin+pt},gn=()=>({preCheckoutScreens:Of,customScreenProps:df,onCurrencyChange:Et,onRequestClose:Nt}),Xn={[a.vl.BILLING_PLAN_SWITCH]:$c,[a.vl.NEW_PURCHASE]:gn},pr=()=>{const{availableProductsCurrency:Vn}=v.Z.getState();return{currencyCode:Vn||"USD"}},oo=Vn=>{const{checkoutType:dr}=Vn,Rr=Xn[dr];return{data:{UCProps:{showCrossSell:!0,analytics:{productArea:F().GOOGLE_APPS},checkoutType:dr,...Rr(Vn)},stores:[v.Z],getStoreProps:pr,productToPurchase:s().GOOGLE_WORKSPACE},validators:[]}};var vo=e(158744),Fo=e(600557);const pa=Vn=>{const{initCart:dr}=Vn;return dr?{data:{UCProps:{showCrossSell:!1,restrictedPaymentMethods:[ur().SEPA_DEBIT],analytics:{productArea:s().DOMAIN},...Vn},productToPurchase:s().DOMAIN},validators:[]}:((0,vo.$e)(Rr=>{(0,xr.N)(Rr),Rr.setTag("uc-product-area",s().DOMAIN),(0,Fo.Tb)(new Error("The property initCart is required to purchase a Domain"))}),null)};var Se=e(996120);const We={[H().SCHEDULING_GROWING]:!0},nn={CALENDAR_FOR_EACH:"calendar_for_each",CALENDAR_SYNCING:"calendar_syncing",CUSTOM_PAYMENT_AND_CARD_VAULTING:"custom_payment_and_card_vaulting",EMBEDDABLE_SCHEDULER:"embeddable_scheduler",CUSTOMIZABLE_SCHEDULER:"customizable_scheduler",AUTOMATIC_REMINDERS:"automatic_remainders",TIME_ZONE_CONVERSION:"time_zone_conversion",INTEGRATIONS:"integrations",GROUP_APPOINTMENTS:"group_appointments",DISCOUNTS_AND_COUPONS:"discounts_and_coupons",ADVANCED_REPORTING:"advanced_reporting",SMS_REMINDERS:"sms_reminders",BUNDLE_DEALS:"bundle_deals",MULTIPLE_TIME_ZONES:"multiple_time_zones",POWERED_BY_BADGE:"powered_by_badge",HIPAA:"HIPAA",CUSTOM_API_AND_CSS:"custom_api_and_css"};var vn=e(181380);const Po={orderedByCategory:[{displayName:(0,O.t)("Features",null,{project:"universal-checkout"}),id:"features",showLabel:!1,features:[nn.CALENDAR_FOR_EACH,nn.CALENDAR_SYNCING,nn.CUSTOM_PAYMENT_AND_CARD_VAULTING,nn.EMBEDDABLE_SCHEDULER,nn.CUSTOMIZABLE_SCHEDULER,nn.AUTOMATIC_REMINDERS,nn.TIME_ZONE_CONVERSION,nn.INTEGRATIONS,nn.GROUP_APPOINTMENTS,nn.DISCOUNTS_AND_COUPONS,nn.ADVANCED_REPORTING,nn.SMS_REMINDERS,nn.BUNDLE_DEALS,nn.MULTIPLE_TIME_ZONES,nn.POWERED_BY_BADGE,nn.HIPAA,nn.CUSTOM_API_AND_CSS]}],highlightedFeaturesByPlan:{[H().SCHEDULING_EMERGING]:{includes:(0,O.t)("Includes",null,{project:"universal-checkout"}),features:[nn.CALENDAR_SYNCING,nn.EMBEDDABLE_SCHEDULER]},[H().SCHEDULING_GROWING]:{includes:(0,O.t)("Includes",null,{project:"universal-checkout"}),features:[nn.SMS_REMINDERS,nn.BUNDLE_DEALS]},[H().SCHEDULING_POWERHOUSE]:{includes:(0,O.t)("Includes",null,{project:"universal-checkout"}),features:[nn.POWERED_BY_BADGE,nn.HIPAA]}},byId:{[nn.CALENDAR_FOR_EACH]:{displayName:(0,O.t)("Calendar for each team member, employee, or location",null,{project:"universal-checkout"}),cardDisplayName:Vn=>Vn==="1"?(0,O.t)("1 calendar for each team member, employee, or location",{calendarsRange:Vn},{project:"universal-checkout"}):(0,O.t)("{calendarsRange} calendars for each team member, employee, or location",{calendarsRange:Vn},{project:"universal-checkout",notes:'The range of numbers of calendars. For example, "2-6 calendars for each team member, employee, or location"'}),id:nn.CALENDAR_FOR_EACH,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"1",[H().SCHEDULING_GROWING]:"2-6",[H().SCHEDULING_POWERHOUSE]:"7-36"},description:(0,O.t)("Select a plan with a single calendar or multiple calendars.",null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.CALENDAR_SYNCING]:{displayName:(0,O.t)("Calendar Syncing",null,{project:"universal-checkout"}),id:nn.CALENDAR_SYNCING,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"CHECK",[H().SCHEDULING_GROWING]:"CHECK",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("Add appointments to personal calendars such as Google, Outlook, iCloud, and Office 365.",null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.CUSTOM_PAYMENT_AND_CARD_VAULTING]:{displayName:(0,O.t)("Custom Payment Settings and Card Vaulting",null,{project:"universal-checkout"}),id:nn.CUSTOM_PAYMENT_AND_CARD_VAULTING,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"CHECK",[H().SCHEDULING_GROWING]:"CHECK",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("Accept payments from your clients with payment processors like PayPal, Square, or Stripe. Vault credit cards, accept tips, and take deposits through Square or Stripe.",null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.EMBEDDABLE_SCHEDULER]:{displayName:(0,O.t)("Embeddable Scheduler",null,{project:"universal-checkout"}),id:nn.EMBEDDABLE_SCHEDULER,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"CHECK",[H().SCHEDULING_GROWING]:"CHECK",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("Allow clients to easily schedule time with you without leaving your website or social media account.",null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.CUSTOMIZABLE_SCHEDULER]:{displayName:(0,O.t)("Customizable Scheduler",null,{project:"universal-checkout"}),id:nn.CUSTOMIZABLE_SCHEDULER,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"CHECK",[H().SCHEDULING_GROWING]:"CHECK",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("Unify the way clients experience your brand with a custom logo, fonts, colors, and copy on your scheduler.",null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.AUTOMATIC_REMINDERS]:{displayName:(0,O.t)("Automatic Reminder Emails ",null,{project:"universal-checkout"}),id:nn.AUTOMATIC_REMINDERS,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"CHECK",[H().SCHEDULING_GROWING]:"CHECK",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("Reach your clients at every point in the scheduling funnel with customized confirmation, reminder, and follow-up emails.",null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.TIME_ZONE_CONVERSION]:{displayName:(0,O.t)("Time Zone Conversion for Clients ",null,{project:"universal-checkout"}),id:nn.TIME_ZONE_CONVERSION,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"CHECK",[H().SCHEDULING_GROWING]:"CHECK",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("View appointments in your time zone while clients view in their time zone.",null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.INTEGRATIONS]:{displayName:(0,O.t)("Integrations",null,{project:"universal-checkout"}),id:nn.INTEGRATIONS,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"CHECK",[H().SCHEDULING_GROWING]:"CHECK",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("Automate your business and client experience by integrating your account with tools like Quickbooks, Zoom and many more.",null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.GROUP_APPOINTMENTS]:{displayName:(0,O.t)("Group Appointments, Classes or One-on-One Appointments",null,{project:"universal-checkout"}),id:nn.INTEGRATIONS,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"CHECK",[H().SCHEDULING_GROWING]:"CHECK",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("Offer unlimited services, appointments, classes, workshops, and/or group events.",null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.DISCOUNTS_AND_COUPONS]:{displayName:(0,O.t)("Discounts and Coupons",null,{project:"universal-checkout"}),id:nn.DISCOUNTS_AND_COUPONS,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"CHECK",[H().SCHEDULING_GROWING]:"CHECK",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("Clients can enter a coupon code for discounted percentage or set dollar amount.",null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.ADVANCED_REPORTING]:{displayName:(0,O.t)("Advanced Reporting",null,{project:"universal-checkout"}),id:nn.ADVANCED_REPORTING,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"CHECK",[H().SCHEDULING_GROWING]:"CHECK",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("Advanced reporting about appointments, revenue, and no-shows.",null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.SMS_REMINDERS]:{displayName:(0,O.t)("SMS/Text Reminders",null,{project:"universal-checkout"}),id:nn.SMS_REMINDERS,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"",[H().SCHEDULING_GROWING]:"CHECK",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("Send text message reminders to clients and receive notifications on the go. Unlimited text reminders sent to any country in the world.",null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.BUNDLE_DEALS]:{displayName:(0,O.t)("Packages, Gift Certificates, Memberships, or Subscriptions",null,{project:"universal-checkout"}),id:nn.BUNDLE_DEALS,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"",[H().SCHEDULING_GROWING]:"CHECK",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("Bundled deals allow clients to purchase several appointments at once or recurring appointments. Gain new clients with giftable options.",null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.MULTIPLE_TIME_ZONES]:{displayName:(0,O.t)("Multiple Time Zones for Staff/Locations",null,{project:"universal-checkout"}),id:nn.MULTIPLE_TIME_ZONES,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"",[H().SCHEDULING_GROWING]:"",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("Each staff member or location will see appointment times in their own time zone.",null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.POWERED_BY_BADGE]:{displayName:(0,O.t)("Optional \u201CPowered by\u201D Badge",null,{project:"universal-checkout"}),id:nn.POWERED_BY_BADGE,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"",[H().SCHEDULING_GROWING]:"",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)('Hide "Powered by" for a fully-branded scheduling experience.',null,{project:"universal-checkout"}),disabledOnMonthly:!1},[nn.HIPAA]:{displayName:(0,O.t)("HIPAA (BAA)",null,{project:"universal-checkout"}),id:nn.POWERED_BY_BADGE,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"",[H().SCHEDULING_GROWING]:"",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("You can sign a BAA with {planTypeName} to help satisfy your requirements to be a HIPAA compliant business, and also have your account marked as HIPAA compliant to help ensure safe handling of data.",{planTypeName:(0,vn.Z)(s().SCHEDULING).displayName},{notes:'"BAA" is an abbreviation for "Business Associate Agreement". The substitution variable is the display name of a plan type, like "Acuity Scheduling".',project:"universal-checkout"}),disabledOnMonthly:!1},[nn.CUSTOM_API_AND_CSS]:{displayName:(0,O.t)("Custom API & CSS",null,{project:"universal-checkout"}),id:nn.POWERED_BY_BADGE,featureLevelIndicators:{[H().SCHEDULING_EMERGING]:"",[H().SCHEDULING_GROWING]:"",[H().SCHEDULING_POWERHOUSE]:"CHECK"},description:(0,O.t)("Build a deeper integration through the API or customize your client scheduler to fit your brand more seamlessly through custom CSS.",null,{project:"universal-checkout"}),disabledOnMonthly:!1}}},oa=()=>n.createElement(n.Fragment,null,n.createElement(ta,null),n.createElement(Ed,{planType:s().SCHEDULING})),Va=Vn=>{const{products:dr}=Vn;return dr?n.createElement(bs,{...Vn,productType:F().SCHEDULING,featureMessages:Po,popularFeatureLevels:We,BannerSection:oa}):n.createElement(he.Z,null)},ci=h()({getStores(){return[v.Z,J.Z,B.Z,me.ZP]},getPropsFromStores(){const{acceptedCurrencies:Vn,availableProducts:dr,availableProductsCurrency:Rr}=v.Z.getState(),{plan:X}=J.Z.getState(),be=me.ZP.getActivePlanOfType(s().SCHEDULING),Tt=be==null?void 0:be.plan,On=Tt?Tt.billingPeriod:X==null?void 0:X.billingPeriod,fr=k()(Vn,{code:Rr})||{code:"USD",symbol:"$"};return{billingPeriod:On,subscribedPlan:Tt,currency:fr,products:dr}},componentDidConnect(){const dr=v.Z.getState().availableProductsCurrency;me.ZP.getOrLoadByPlanType(s().SCHEDULING),x.Z.getAcceptedCurrencies(),R.Z.getAvailablePlans({planType:s().SCHEDULING,currency:dr}),M.Z.loadOffers(s().SCHEDULING)}},Va);ci.displayName="ConnectedSchedulingPlanSelection";const di=ci,Xs=Vn=>{var dr;const Rr="planType"in Vn?Vn.planType:Vn.productLine,X=((dr=(0,vn.Z)(Rr))===null||dr===void 0?void 0:dr.displayName)||"",be="displayName"in Vn?Vn.displayName:Vn.planDisplayName,Tt=`${X} - ${be}`;return{customProductTitle:Tt,customPurchaseProductTitle:Tt}},js=Vn=>{let{saveAndGotoNext:dr}=Vn;const Rr=X=>{const{customProductIcon:be}=(0,vn.Z)(s().SCHEDULING)||{};es.Z.selectPlan({plan:X,productType:s().SCHEDULING}),dr({[s().SCHEDULING]:{...Xs(X),customProductIcon:be,planId:X.id}})};return n.createElement(di,{checkoutType:a.vl.NEW_PURCHASE,onSelect:Rr,shouldShowMostPopularBanner:!0})};var al=e(707699);const vl=Vn=>{let{saveAndGotoNext:dr}=Vn;return n.createElement(ll,{checkoutType:a.vl.NEW_PURCHASE,getCustomProductIcon:()=>al.Z,getCustomProductTitle:Rr=>Xs(Rr).customProductTitle,getCustomPurchaseProductTitle:Rr=>Xs(Rr).customPurchaseProductTitle,productLine:Ls().SCHEDULING,productType:s().SCHEDULING,saveAndGotoNext:dr})},hc={component:js,navLabel:(0,O.t)("Plans",null,{project:"universal-checkout"}),page:"scheduling-select-plan-screen",subtitle:(0,O.t)("Simple plans. Simple prices. Only pay for what you really need. All plans come with award-winning 24/7 customer support. Prices do not include applicable taxes.",null,{project:"universal-checkout"}),title:(0,O.t)("Select an Acuity Scheduling Plan",null,{project:"universal-checkout"})},Cc={component:vl,contentWrapperClassName:Fs().centeredPlanSelectorScreenWrapper,navLabel:(0,O.t)("Billing",null,{project:"universal-checkout"}),page:"scheduling-interval-switch-screen",subtitle:(0,O.t)("Choose how often you would like to be billed. You can change the frequency of your billing cycle later.",null,{project:"universal-checkout"}),title:(0,O.t)("Select a Billing Cycle",null,{project:"universal-checkout"})},Ud=[hc,Cc],Dd=()=>{const{selectionByProduct:Vn}=J.Z.getState();return{preCheckoutScreens:Ud,onCurrencyChange:Ll({productType:s().SCHEDULING,productLines:[xt().SCHEDULING]})(Vn),restrictedPaymentMethods:[ur().SEPA_DEBIT]}},nf=Vn=>{let{subscription:dr,saveAndGotoNext:Rr,updateAnalyticsData:X}=Vn;const be=Tt=>{es.Z.selectPlan({plan:Tt,productType:F().SCHEDULING}),Rr({})};return n.createElement(di,{checkoutType:a.vl.BILLING_PLAN_SWITCH,onSelect:be,shouldShowMostPopularBanner:!1,renewalPlanMatchesExistingPlan:Sc(dr),updateAnalyticsData:X})};nf.propTypes={saveAndGotoNext:f().func.isRequired,updateAnalyticsData:f().func.isRequired,subscription:f().object.isRequired};const mh=h()({getStores(){return[me.ZP]},getPropsFromStores(){return{subscription:me.ZP.getByPlanType(s().SCHEDULING)}}},nf),xp=Vn=>{let{saveAndGotoNext:dr}=Vn;return n.createElement(ll,{getCustomProductIcon:()=>al.Z,getCustomProductTitle:Rr=>Xs(Rr).customProductTitle,getCustomPurchaseProductTitle:Rr=>Xs(Rr).customPurchaseProductTitle,productLine:Ls().SCHEDULING,productType:s().SCHEDULING,saveAndGotoNext:dr})},op=Vn=>{let{subscription:dr,saveAndGotoNext:Rr,updateAnalyticsData:X}=Vn;return n.createElement(mh,{saveAndGotoNext:Rr,subscription:dr,updateAnalyticsData:X})},wp=Vn=>{let{saveAndGotoNext:dr}=Vn;return n.createElement(xp,{saveAndGotoNext:dr})},pp=[{component:op,page:"scheduling-plan-switch-screen",navLabel:(0,O.t)("Plans",null,{project:"universal-checkout"}),title:(0,O.t)("Select a plan",null,{project:"universal-checkout"}),subtitle:(0,O.t)("Select a new plan or keep your current one. You\u2019ll select your billing cycle next.",null,{project:"universal-checkout"})},{component:wp,page:"scheduling-interval-switch-screen",navLabel:(0,O.t)("Billing",null,{project:"universal-checkout"}),subtitle:()=>dc(tc.Z.SCHEDULING),title:()=>ec(tc.Z.SCHEDULING),contentWrapperClassName:Fs().centeredPlanSelectorScreenWrapper}],Hh=()=>({preCheckoutScreens:pp}),mp={[a.vl.NEW_PURCHASE]:Dd,[a.vl.BILLING_PLAN_SWITCH]:Hh},Zh=()=>{const{availableProductsCurrency:Vn}=v.Z.getState();return{currencyCode:Vn||"USD"}},Vh=Vn=>{const dr=!(0,Se.Z)(),{checkoutType:Rr}=Vn,X=mp[Rr],be=(X==null?void 0:X())||{};return{data:{UCProps:{showCrossSell:dr,analytics:{productArea:s().SCHEDULING},...be,...Vn},productToPurchase:s().SCHEDULING,stores:[v.Z],getStoreProps:Zh},validators:[]}};var sp=e(967361),zh=e(478795);const $h=f().shape({code:f().string.isRequired,symbol:f().string.isRequired}),Pf="unlimited-members",Bp="number-of-member-areas",Xh="transaction-fees",Ac="fee-structure",u0="member-experience",Oh="member-management",d0="integrate-campaigns",Mf="integrate-analytics",V="offer-discount",se="payments",dt="no-ads",en="customer-support",kn="video-hosting-limits",gr="unlimited-memberships",Io="unlimited-courses",ma="unlimited-downloads",Ta="analytics-and-customer-insights",Ps="physical-products";var ja;const mi=(0,O.t)("Features",null,{project:"universal-checkout.member-areas",notes:"Features included in a subscription"}),ii=Vn=>(0,O.oH)({value:Vn,unit:"percent"},{length:"narrow"}),ol=Vn=>(0,O.oH)({value:Vn,unit:"hour"},{length:"long"}),hl=[{displayName:mi,id:"features-top",features:[Xh,kn]},{displayName:(0,O.t)("Included with your website plan",null,{project:"universal-checkout.member-areas"}),id:"included-with-website",features:[Io,gr,ma,Pf,Ac,Ta,Ps,V]}],gl=[{displayName:mi,id:"features-top",features:[Xh,kn,Io,gr,Pf,Ac,Ta,V]}],Iu={orderedByCategory:hl,byId:{[Xh]:{id:Xh,displayName:(0,O.t)("Transaction fee for content and memberships sales",null,{project:"universal-checkout.member-areas"}),cardDisplayName:Vn=>(0,O.t)("{transactionFee} transaction fee for content and memberships sales",{transactionFee:Vn},{project:"universal-checkout",notes:'A percentage transaction fee will be substituted in. For example, "4% transaction fee".'}),featureLevelIndicators:{[H().MEMBER_AREAS_STARTER]:ii(7),[H().MEMBER_AREAS_CORE]:ii(3),[H().MEMBER_AREAS_PRO]:ii(0)},description:(0,O.t)("Upgrade as you scale your business for lower transaction fees. Transaction fees are charged in addition to payment processing fees and are only applied to content and memberships transactions.",null,{project:"universal-checkout.member-areas"})},[kn]:{id:kn,displayName:(0,O.t)("Additional video storage",null,{project:"universal-checkout.member-areas"}),cardDisplayName:Vn=>(0,O.t)("{amountVideoStorage} additional video storage",{amountVideoStorage:Vn},{project:"universal-checkout",notes:'The amount of additional video storage in hours will be substituted in. For example, "5 hours additional video storage".'}),featureLevelIndicators:{[H().MEMBER_AREAS_STARTER]:ol(10),[H().MEMBER_AREAS_CORE]:ol(50),[H().MEMBER_AREAS_PRO]:(0,O.t)("Unlimited",null,{project:"universal-checkout.member-areas"})},description:(0,O.t)("Upload video, display your video library beautifully, and allow visitors to stream directly on your website. All Squarespace website plans come with 30 minutes of video storage, and additional storage is available with a {planTypeName} plan.",{planTypeName:(ja=(0,vn.Z)(s().MEMBER_AREAS))===null||ja===void 0?void 0:ja.displayName},{project:"universal-checkout.member-areas"})},[Io]:{id:Io,displayName:(0,O.t)("Unlimited courses",null,{project:"universal-checkout.member-areas"}),description:(0,O.t)("Turn your knowledge and expertise into income with online courses. Easily create and sell an unlimited number of professional courses.",null,{project:"universal-checkout.member-areas"}),featureLevelIndicators:{[H().MEMBER_AREAS_STARTER]:"CHECK",[H().MEMBER_AREAS_CORE]:"CHECK",[H().MEMBER_AREAS_PRO]:"CHECK"}},[gr]:{id:gr,displayName:(0,O.t)("Unlimited memberships",null,{project:"universal-checkout.member-areas"}),description:(0,O.t)("Monetize your content by gating access to exclusive members-only areas. Create and sell classes, trainings, and more.",null,{project:"universal-checkout.member-areas"}),featureLevelIndicators:{[H().MEMBER_AREAS_STARTER]:"CHECK",[H().MEMBER_AREAS_CORE]:"CHECK",[H().MEMBER_AREAS_PRO]:"CHECK"}},[ma]:{id:ma,displayName:(0,O.t)("Unlimited downloads",null,{project:"universal-checkout.member-areas"}),description:(0,O.t)("Sell ebooks, audio files, and other downloadable content.",null,{project:"universal-checkout.member-areas"}),featureLevelIndicators:{[H().MEMBER_AREAS_STARTER]:"CHECK",[H().MEMBER_AREAS_CORE]:"CHECK",[H().MEMBER_AREAS_PRO]:"CHECK"}},[Pf]:{id:Pf,displayName:(0,O.t)("Unlimited customers and members",null,{project:"universal-checkout.member-areas"}),description:(0,O.t)("There\u2019s no limit to the number of customers, students or members you can have. Easily view customer information and history to analyze and segment users for email marketing.",null,{project:"universal-checkout.member-areas"}),featureLevelIndicators:{[H().MEMBER_AREAS_STARTER]:"CHECK",[H().MEMBER_AREAS_CORE]:"CHECK",[H().MEMBER_AREAS_PRO]:"CHECK"}},[Ac]:{id:Ac,displayName:(0,O.t)("Free, one-time, or subscription pricing options",null,{project:"universal-checkout.member-areas"}),featureLevelIndicators:{[H().MEMBER_AREAS_STARTER]:"CHECK",[H().MEMBER_AREAS_CORE]:"CHECK",[H().MEMBER_AREAS_PRO]:"CHECK"},description:(0,O.t)("For each digital product you sell, you can charge a one-time fee or a recurring subscription every week, month or year. You can also make digital products completely free.",null,{project:"universal-checkout.member-areas"})},[Ta]:{id:Ta,displayName:(0,O.t)("Analytics and customer insights",null,{project:"universal-checkout.member-areas"}),description:(0,O.t)("Track performance on your courses and memberships. View sales, identify trends, and understand how customers and members engage with your content.",null,{project:"universal-checkout.member-areas"}),featureLevelIndicators:{[H().MEMBER_AREAS_STARTER]:"CHECK",[H().MEMBER_AREAS_CORE]:"CHECK",[H().MEMBER_AREAS_PRO]:"CHECK"}},[Ps]:{id:Ps,displayName:(0,O.t)("Physical products, custom merch, and gift cards",null,{project:"universal-checkout.member-areas"}),description:(0,O.t)("Sell physical products with an online store that comes with everything you need to manage orders, accept payments, and ship products.",null,{project:"universal-checkout.member-areas"}),featureLevelIndicators:{[H().MEMBER_AREAS_STARTER]:"CHECK",[H().MEMBER_AREAS_CORE]:"CHECK",[H().MEMBER_AREAS_PRO]:"CHECK"}},[V]:{id:V,displayName:(0,O.t)("Offer discounts and promotions",null,{project:"universal-checkout.member-areas"}),featureLevelIndicators:{[H().MEMBER_AREAS_STARTER]:"CHECK",[H().MEMBER_AREAS_CORE]:"CHECK",[H().MEMBER_AREAS_PRO]:"CHECK"},description:(0,O.t)("Offer discount codes or promotions that apply automatically to qualifying orders with full control over expiration dates and triggers.",null,{project:"universal-checkout.member-areas"})}}},Wa={...Iu,orderedByCategory:gl},Fa=Iu,gs={},Ci=Vn=>{let{checkoutType:dr,products:Rr,subscribedPlan:X,billingPeriod:be,currency:Tt,onSelect:On,isLoadingAvailableProducts:fr,isCommerceEnabled:Gr,renewalPlanMatchesExistingPlan:Do,updateAnalyticsData:Wo}=Vn;if((0,n.useEffect)(()=>{Zc.Z.fire(yc.Z.PAID_CONVERSION_LANDING)},[]),!Rr||fr)return n.createElement(he.Z,null);let zo;return Gr?zo=Fa:zo=Wa,n.createElement(n.Fragment,null,n.createElement(bs,{checkoutType:dr,products:Rr,subscribedPlan:X,billingPeriod:be,currency:Tt,onSelect:On,productType:F().MEMBER_AREAS,featureMessages:zo,shouldShowMostPopularBanner:!1,popularFeatureLevels:gs,BannerSection:ta,hideFeaturesToggle:!0,renewalPlanMatchesExistingPlan:Do,updateAnalyticsData:Wo}))};Ci.propTypes={checkoutType:f().oneOf(Object.values(zh.v)).isRequired,products:f().arrayOf(Ke),subscribedPlan:Be,billingPeriod:f().string,currency:$h.isRequired,onSelect:f().func.isRequired,renewalPlanMatchesExistingPlan:f().bool,isCommerceEnabled:f().bool,updateAnalyticsData:f().func};const Ol=Ci;var Il=e(960489),Ml=e.n(Il);const wl=h()({getStores:()=>[J.Z,v.Z,x.Z,me.ZP],componentDidConnect:()=>{const{availableProductsCurrency:Vn}=v.Z.getState();re.Z.loadByPlanType(s().MEMBER_AREAS),x.Z.getAcceptedCurrencies(),R.Z.getAvailablePlans({planType:s().MEMBER_AREAS,currency:Vn}),M.Z.loadOffers(s().MEMBER_AREAS)},getPropsFromStores:()=>{const{acceptedCurrencies:Vn,availableProductsByProductType:dr,areLoading:Rr}=v.Z.getState(),{availableProducts:X,availableProductsCurrency:be}=(dr==null?void 0:dr[F().MEMBER_AREAS])??{},{selectionByProduct:Tt}=J.Z.getState(),{plan:On}=Tt[F().MEMBER_AREAS]??{},fr=me.ZP.getActivePlanOfType(s().MEMBER_AREAS),Gr=fr==null?void 0:fr.plan,Do=(Gr==null?void 0:Gr.billingPeriod)||(On==null?void 0:On.billingPeriod),Wo=k()(Vn,{code:be})||{code:"USD",symbol:"$"},zo=sp.Z.isFeatureEnabled(Ml().COMMERCE);return{billingPeriod:Do,subscribedPlan:Gr,currency:Wo,products:X,isLoadingAvailableProducts:Rr.availableProducts,isCommerceEnabled:zo}}},Ol);wl.displayName="ConnectedMemberAreasPlanSelection";const uc=wl,Yc=Vn=>{let{saveAndGotoNext:dr,subscription:Rr,updateAnalyticsData:X}=Vn;const be=(0,n.useCallback)(Tt=>{es.Z.selectPlan({plan:Tt,productType:F().MEMBER_AREAS}),dr({})},[dr]);return n.createElement(uc,{checkoutType:a.vl.BILLING_PLAN_SWITCH,onSelect:be,updateAnalyticsData:X,renewalPlanMatchesExistingPlan:Sc(Rr)})},ih=h()({getStores(){return[me.ZP]},getPropsFromStores(){return{subscription:me.ZP.getByPlanType(s().MEMBER_AREAS)}}},Yc),Ph=Vn=>{const dr=(0,O.t)("Digital Products{separator}{displayName}",{separator:" - ",displayName:Vn.displayName},{project:"universal-checkout.member-areas"});return{customProductTitle:dr,customPurchaseProductTitle:dr}},f0=Vn=>{let{saveAndGotoNext:dr}=Vn;return n.createElement(ll,{productLine:Ls().MEMBER_AREAS,productType:F().MEMBER_AREAS,saveAndGotoNext:dr,getCustomProductTitle:Rr=>Ph(Rr).customProductTitle,getCustomPurchaseProductTitle:Rr=>Ph(Rr).customPurchaseProductTitle})},$0={component:ih,navLabel:(0,O.t)("Plans",null,{project:"universal-checkout"}),page:"member-areas-plan-switch-screen",subtitle:(0,O.t)("Select a new plan or keep your current one. You\u2019ll select your billing cycle next.",null,{project:"universal-checkout"}),title:(0,O.t)("Select a plan",null,{project:"universal-checkout"})},h0={component:f0,contentWrapperClassName:Fs().centeredPlanSelectorScreenWrapper,navLabel:(0,O.t)("Billing",null,{project:"universal-checkout"}),page:"member-areas-billing-period-switch-selector",subtitle:()=>dc(tc.Z.MEMBER_AREAS),title:()=>ec(tc.Z.MEMBER_AREAS)},p0=[$0,h0],Kf=()=>{Qa({shouldRedirect:!1})},X0=()=>({preCheckoutScreens:p0,onRequestClose:Kf}),nc=Vn=>{let{saveAndGotoNext:dr}=Vn;const Rr=(0,n.useCallback)(X=>{es.Z.selectPlan({plan:X,productType:s().MEMBER_AREAS}),dr({[s().MEMBER_AREAS]:{...Ph(X),planId:X.id}})},[dr]);return n.createElement(uc,{checkoutType:a.vl.NEW_PURCHASE,onSelect:Rr})},m0=Vn=>{let{saveAndGotoNext:dr}=Vn;return n.createElement(ll,{checkoutType:a.vl.NEW_PURCHASE,getCustomProductTitle:Rr=>Ph(Rr).customProductTitle,getCustomPurchaseProductTitle:Rr=>Ph(Rr).customPurchaseProductTitle,productLine:Ls().MEMBER_AREAS,productType:F().MEMBER_AREAS,saveAndGotoNext:dr})},rf=(0,O.t)("Access more video storage and lower transaction fees for content and memberships.",null,{project:"universal-checkout.member-areas"}),Ju={component:nc,page:"member-areas-plan-selector",navLabel:(0,O.t)("Plans",null,{project:"universal-checkout"}),title:(0,O.t)("Select a Digital Products add-on plan",null,{project:"universal-checkout.member-areas"}),subtitle:rf},Yi={component:m0,contentWrapperClassName:Fs().centeredPlanSelectorScreenWrapper,navLabel:(0,O.t)("Billing",null,{project:"universal-checkout"}),page:"member-areas-interval-switch-screen",subtitle:(0,O.t)("Choose how often you would like to be billed. You can change the frequency of your billing cycle later.",null,{project:"universal-checkout"}),title:(0,O.t)("Select a Billing Cycle",null,{project:"universal-checkout"})},v0=[Ju,Yi],g0=Vn=>{Qa({...Vn,shouldRedirect:Vn.purchaseCompleted})},Y0=()=>{const{selectionByProduct:Vn}=J.Z.getState();return{onCurrencyChange:Ll({productType:s().MEMBER_AREAS,productLines:[xt().MEMBER_AREAS]})(Vn),onRequestClose:g0,preCheckoutScreens:v0}},Q0={[a.vl.BILLING_PLAN_SWITCH]:X0,[a.vl.NEW_PURCHASE]:Y0},gp=()=>{const{availableProductsCurrency:Vn}=v.Z.getState();return{currencyCode:Vn||"USD"}},th=Vn=>{const{checkoutType:dr}=Vn,Rr=Q0[dr];return Rr?{data:{getStoreProps:gp,productToPurchase:s().MEMBER_AREAS,stores:[v.Z],UCProps:{...Rr(),analytics:{productArea:s().MEMBER_AREAS},checkoutType:dr}},validators:[]}:null},lh={data:{},validators:[]},ip={[s().CAMPAIGNS]:Yl,[s().DOMAIN]:pa,[s().GETTY_IMAGE]:sa,[s().GOOGLE_WORKSPACE]:oo,[s().MEMBER_AREAS]:th,[s().SCHEDULING]:Vh,[s().SHIPPING_LABEL]:kr,[s().WEBSITE]:Cd},Bu=async Vn=>{const{productToPurchase:dr}=Vn,Rr=ip[dr],X=Rr==null?void 0:Rr(Vn);try{const{validators:be,data:Tt}=X||lh,On=[C];return{purchaseValidation:await S([...be,...On],(0,vn.Z)(dr)),...Tt}}catch(be){return(0,y.$e)(Tt=>{(0,xr.N)(Tt),Tt.setTag("uc-product-area",dr),(0,y.Tb)(be)}),{}}},qu=Vn=>{const{productToPurchase:dr}=Vn,Rr=ip[dr],{data:{stores:X,getStoreProps:be}}=(Rr==null?void 0:Rr(Vn))||{data:{}};return X?{stores:X,getStoreProps:be}:{stores:[],getStoreProps:()=>{}}},lp=async(Vn,dr)=>{var Rr;const X=await R.Z.getAvailablePlans({planType:s().SQUARESPACE,currency:Vn}),{selectionByProduct:be}=J.Z.getState(),Tt=(Rr=be[s().SQUARESPACE])===null||Rr===void 0?void 0:Rr.plan;if(!Tt)return;const On=oc(X,Tt);es.Z.selectPlan({plan:On,productType:s().SQUARESPACE}),dr({[s().SQUARESPACE]:{planId:On.id}})},Fp=2,Wp=[(0,O.t)("24/7 customer support",null,{project:"apps.App"}),(0,O.t)("Unlimited bandwidth and storage",null,{project:"apps.App"}),(0,O.t)("Templates to fit all your needs",null,{project:"apps.App"}),(0,O.t)("Mobile optimized websites",null,{project:"apps.App"})],J0=(0,O.t)("All plans include:",null,{project:"apps.App"}),Kp=Vn=>{let{columnCount:dr=Fp,features:Rr=Wp,label:X=J0}=Vn;const be=()=>n.createElement(ir.Z,{bg:"gray.900",borderTop:1,maxWidth:"sizes.900",minWidth:"sizes.800",p:4,ml:4},n.createElement(It.Z.Subtitle,{mb:3,mt:0,role:"heading"},X),n.createElement(ir.Z,{as:"ul",mb:-2,sx:{columnCount:dr}},Rr.map(Tt=>n.createElement(Mr.Z,{alignItems:"flex-start",as:"li",key:Tt,pb:2},n.createElement(_s.Z,{role:"presentation"}),n.createElement(It.Z.Body,{ml:2,my:0},Tt)))));return n.createElement(Hr.Z.Provider,null,n.createElement(Hr.Z.Renderer,{render:{default:be,"mobile-0":()=>null,"desktop-0":()=>null}}))};var Ah=e(483824),Id=function(Vn){return Vn.PERSONAL="5fe8ee2a-a76d-4b0d-a95f-1815caaf618c",Vn.PROFESSIONAL="27076e1e-b0e6-4db9-82ca-7ae8130c2a11",Vn.PREMIUM="b869d511-65a8-4653-8e7b-fed5c84a601b",Vn}({}),bh=function(Vn){return Vn.BEST_VALUE="best-value",Vn.CURRENT="current",Vn.MOST_POPULAR="most-popular",Vn.RECOMMENDED="recommended",Vn}({}),E0=function(Vn){return Vn.NORMAL="normal",Vn.SUPERSCRIPT="superscript",Vn}({});const Ep=Vn=>{let{bundle:dr,checkoutType:Rr,subscription:X}=Vn;if(Rr===a.vl.BILLING_PLAN_SWITCH)return dr.id===(X==null?void 0:X.plan.id)?bh.CURRENT:void 0;if(dr.planTierId===Id.PROFESSIONAL)return bh.BEST_VALUE},Lf=Vn=>Vn?(0,O.t)("Everything in {lowerPlanName} +",{lowerPlanName:Vn.toLowerCase()},{project:"universal-checkout"}):"";var Sh=function(Vn){return Vn.ABANDONED_CART="abandoned-cart",Vn.AUDIENCE_MANAGEMENT="audience-management",Vn.AUTOMATED_CAMPAIGNS="automated-campaigns",Vn.BLAST_CAMPAIGNS="blast-campaigns",Vn.COMMERCE_APIS="commerce-apis",Vn.CONTRIBUTORS="contributors",Vn.CUSTOM_MERCH="custom-merch",Vn.CUSTOMER_SERVICE="customer-service",Vn.CUSTOMIZATION_CSS_JS="customization-css-js",Vn.DRAG_AND_DROP="drag-and-drop",Vn.EMAIL_LIST="email-list",Vn.FULLY_INTEGRATED="fully-integrated",Vn.INVENTORY_MANAGEMENT="inventory-management",Vn.POINT_OF_SALE="point-of-sale",Vn.PROFESSIONAL_EMAIL="professional-email",Vn.SELL_ON_FB="sell-on-fb",Vn.SELL_UNLIMITED="sell-unlimited",Vn.SQUARESPACE_EXTENSIONS="squarespace-extensions",Vn.SSL_SECURITY="ssl-security",Vn.UNLIMITED_BANDWIDTH="unlimited-bandwidth",Vn.VIDEO_HOSTING="video-hosting",Vn.VIDEO_MAKER="video-maker",Vn.WEBSITE_ANALYTICS="website-analytics",Vn}(Sh||{});const ul=Sh,_0={[ul.ABANDONED_CART]:{default:{displayName:(0,O.t)("Abandoned cart recovery",null,{project:"universal-checkout"}),id:ul.ABANDONED_CART}},[ul.AUTOMATED_CAMPAIGNS]:{default:{displayName:(0,O.t)("Automated email sends",null,{project:"universal-checkout"}),id:ul.AUTOMATED_CAMPAIGNS}},[ul.AUDIENCE_MANAGEMENT]:{default:{displayName:(0,O.t)("Audience management",null,{project:"universal-checkout"}),id:ul.AUDIENCE_MANAGEMENT}},[ul.BLAST_CAMPAIGNS]:{default:{id:ul.BLAST_CAMPAIGNS},[Id.PROFESSIONAL]:{displayName:(0,O.t)("{maxBlastEmails} email campaigns per month",{maxBlastEmails:5},{project:"universal-checkout"})},[Id.PREMIUM]:{displayName:(0,O.t)("Unlimited monthly email campaigns",null,{project:"universal-checkout"})}},[ul.COMMERCE_APIS]:{default:{displayName:(0,O.t)("Commerce APIs",null,{project:"universal-checkout"}),id:ul.COMMERCE_APIS}},[ul.CONTRIBUTORS]:{default:{id:ul.CONTRIBUTORS},[Id.PERSONAL]:{displayName:(0,O.t)("{numContributors} contributors",{numContributors:2},{project:"universal-checkout"})},[Id.PROFESSIONAL]:{displayName:(0,O.t)("Unlimited website contributors",null,{project:"universal-checkout"})}},[ul.CUSTOM_MERCH]:{default:{displayName:(0,O.t)("Custom merch",null,{project:"universal-checkout"}),id:ul.CUSTOM_MERCH}},[ul.CUSTOMER_SERVICE]:{default:{displayName:(0,O.t)("24/7 customer service",null,{project:"universal-checkout"}),id:ul.CUSTOMER_SERVICE}},[ul.CUSTOMIZATION_CSS_JS]:{default:{displayName:(0,O.t)("Complete customization with CSS and Javascript",null,{project:"universal-checkout"}),id:ul.CUSTOMIZATION_CSS_JS}},[ul.DRAG_AND_DROP]:{default:{displayName:(0,O.t)("Drag-and-drop editor",null,{project:"universal-checkout"}),id:ul.DRAG_AND_DROP}},[ul.EMAIL_LIST]:{default:{displayName:(0,O.t)("Unlimited email list subscribers",null,{project:"universal-checkout"}),id:ul.EMAIL_LIST}},[ul.FULLY_INTEGRATED]:{default:{displayName:(0,O.t)("Fully integrated ecommerce",null,{project:"universal-checkout"}),id:ul.FULLY_INTEGRATED}},[ul.INVENTORY_MANAGEMENT]:{default:{displayName:(0,O.t)("Inventory and catalog management",null,{project:"universal-checkout"}),id:ul.INVENTORY_MANAGEMENT}},[ul.POINT_OF_SALE]:{default:{displayName:(0,O.t)("Point of sale",null,{project:"universal-checkout"}),id:ul.POINT_OF_SALE}},[ul.SELL_ON_FB]:{default:{displayName:(0,O.t)("Sell on Facebook and Instagram",null,{project:"universal-checkout"}),id:ul.SELL_ON_FB}},[ul.SELL_UNLIMITED]:{default:{displayName:(0,O.t)("Sell unlimited products",null,{project:"universal-checkout"}),id:ul.SELL_UNLIMITED}},[ul.SQUARESPACE_EXTENSIONS]:{default:{displayName:(0,O.t)("Squarespace extensions",null,{project:"universal-checkout"}),id:ul.SQUARESPACE_EXTENSIONS}},[ul.SSL_SECURITY]:{default:{displayName:(0,O.t)("SSL security",null,{project:"universal-checkout"}),id:ul.SSL_SECURITY}},[ul.UNLIMITED_BANDWIDTH]:{default:{displayName:(0,O.t)("Unlimited bandwidth",null,{project:"universal-checkout"}),id:ul.UNLIMITED_BANDWIDTH}},[ul.VIDEO_HOSTING]:{default:{id:ul.VIDEO_HOSTING},[Id.PERSONAL]:{displayName:(0,O.t)("30 minutes of video storage",null,{project:"universal-checkout"})}},[ul.VIDEO_MAKER]:{default:{displayName:(0,O.t)("Video maker",null,{project:"universal-checkout"}),id:ul.VIDEO_MAKER}},[ul.WEBSITE_ANALYTICS]:{default:{id:ul.WEBSITE_ANALYTICS},[Id.PERSONAL]:{displayName:(0,O.t)("Basic website metrics",null,{project:"universal-checkout"})},[Id.PREMIUM]:{displayName:(0,O.t)("Advanced website and ecommerce analytics",null,{project:"universal-checkout"})}}},kp={[Id.PERSONAL]:[ul.UNLIMITED_BANDWIDTH,ul.VIDEO_HOSTING,ul.CUSTOMER_SERVICE,ul.DRAG_AND_DROP,ul.CONTRIBUTORS,ul.WEBSITE_ANALYTICS,ul.SSL_SECURITY,ul.SQUARESPACE_EXTENSIONS,ul.CUSTOM_MERCH,ul.AUDIENCE_MANAGEMENT,ul.VIDEO_MAKER],[Id.PROFESSIONAL]:[ul.CONTRIBUTORS,ul.CUSTOMIZATION_CSS_JS,ul.FULLY_INTEGRATED,ul.INVENTORY_MANAGEMENT,ul.SELL_UNLIMITED,ul.SELL_ON_FB,ul.POINT_OF_SALE,ul.BLAST_CAMPAIGNS,ul.EMAIL_LIST,ul.AUTOMATED_CAMPAIGNS],[Id.PREMIUM]:[ul.WEBSITE_ANALYTICS,ul.BLAST_CAMPAIGNS,ul.ABANDONED_CART,ul.COMMERCE_APIS]},_p=Vn=>{const dr=kp[Vn]||[],Rr=[];return dr.forEach(X=>{var be,Tt;const On=(be=_0[X])===null||be===void 0?void 0:be.default,fr=(Tt=_0[X])===null||Tt===void 0?void 0:Tt[Vn];(On||fr)&&Rr.push({...On&&{...On},...fr&&{...fr}})}),Rr},ch={[Id.PERSONAL]:(0,O.t)("Our foundational plan with access to fully customizable, best-in-class templates.",null,{project:"universal-checkout"}),[Id.PROFESSIONAL]:(0,O.t)("Our essential plan with all the selling tools you need to grow your business.",null,{project:"universal-checkout"}),[Id.PREMIUM]:(0,O.t)("Unlimited access to everything you need to scale your business.",null,{project:"universal-checkout"})};var pc=e(191223),y0=e(793534),kf=e(101635),O0=e(61430),q0=e(727180),Vl=e(822751),bc=e(305051),Gp=e(223826),Yh=e(343701),Hc=function(Vn){return Vn.CAMPAIGNS="campaigns",Vn.MEMBER_AREAS="member-areas",Vn.FREE_DOMAIN="free-domain",Vn.SEO="seo",Vn.SELL_PRODUCTS="sell-products",Vn.ADVANCED_DISCOUNTING="advanced-discounting",Vn.VIDEO_HOSTING="video-hosting",Vn.MEMBER_AREAS_TRANSACTION_FEE="member-areas-transaction-fee",Vn}({});const P0=(0,O.t)("All Squarespace website plans purchased for an annual term include one (1) year of free domain registration on available domains on our cheapest pricing tier. Domains registered through this promotion will renew at our standard rate, plus applicable taxes, after the first year. Outside of this offer, you can attach unlimited domains to any Squarespace plan, on a monthly or yearly basis.* The free domain must be registered within one year of the start of your eligible website subscription and there may only be one free domain per website. If you paid with SEPA Direct Debit, you can register your free domain only after your payment has gone through. This may take up to 15 days after the time of payment.",null,{project:"universal-checkout"}),em=[H().MEMBER_AREAS_STARTER,H().MEMBER_AREAS_CORE,H().MEMBER_AREAS_PRO],C0={[H().WEBSITE_COMMERCE_ADVANCED]:{pctTransactionFee:(0,O.uf)(0,{style:"percent"})},[H().CAMPAIGNS_MAX]:{numSends:(0,O.uf)(25e4),planTierName:"Premium"},[H().CAMPAIGNS_CORE]:{numSends:(0,O.uf)(5e3),planTierName:"Professional"},[H().MEMBER_AREAS_PRO]:{numMemberAreas:10,numMemberAreasText:(0,O.t)("ten",null,{project:"universal-checkout",notes:'This refers to the number of areas on a website. For example, "ten areas on your Squarespace website"'}),pctMemberAreaTransactionFee:(0,O.uf)(0,{style:"percent"})},[H().MEMBER_AREAS_STARTER]:{numMemberAreas:1,numVideoHours:10,pctMemberAreaTransactionFee:(0,O.uf)(.07,{style:"percent"})}},A0={[H().MEMBER_AREAS_PRO]:(0,O.t)("We charge a {pctMemberAreaTransactionFee} transaction fee on sales in the Premium website plan for digital product transactions. Credit card processor fees will still apply on all plans.",{pctMemberAreaTransactionFee:(0,O.uf)(0,{style:"percent"})},{project:"universal-checkout"}),[H().MEMBER_AREAS_STARTER]:(0,O.t)("We charge a {pctMemberAreaTransactionFee} transaction fee on sales in the Professional website plan for digital product transactions. You can upgrade to Premium at any time to reduce Squarespace transaction fees on digital products to {upgradePctMemberAreaTransactionFee}. Credit card processor fees will still apply on all plans.",{pctMemberAreaTransactionFee:(0,O.uf)(.07,{style:"percent"}),upgradePctMemberAreaTransactionFee:(0,O.uf)(0,{style:"percent"})},{project:"universal-checkout"})},yp=(Vn,dr,Rr)=>{var X;const be=Rr&&C0[Rr]||null,Tt=Rr&&em.includes(Rr),On=Tt?(X=C0[Rr])===null||X===void 0?void 0:X.numMemberAreas:void 0,fr={[Hc.ADVANCED_DISCOUNTING]:{ItemIcon:Wo=>n.createElement(pc.Z,Wo),itemName:(0,O.t)("Advanced discounting, shipping, and subscription selling",null,{project:"universal-checkout"}),itemType:Hc.ADVANCED_DISCOUNTING,tooltipText:(0,O.t)("Start selling subscriptions to the products in your online store, offer limited or product specific discounts, and provide free shipping for orders that meet a set threshold with the Premium website plan.",null,{project:"universal-checkout"})},[Hc.CAMPAIGNS]:{ItemIcon:Wo=>n.createElement(y0.Z,Wo),itemName:(0,O.t)("{numSends} sends a month",be,{project:"universal-checkout"}),itemType:Hc.CAMPAIGNS,tooltipText:(0,O.t)("Every month, {planTierName} website plan users can send up to {numSends} emails.",be,{project:"universal-checkout"})},[Hc.MEMBER_AREAS]:{ItemIcon:Wo=>n.createElement(kf.Z,Wo),itemName:(0,O.t)("Unlimited courses & memberships",null,{project:"universal-checkout"}),itemType:Hc.MEMBER_AREAS,tooltipText:Tt?(0,O._6)({one:"Create subscriptions or gate content for one area on your Squarespace website.",other:"Create subscriptions or gate content for up to {numMemberAreasText} areas on your Squarespace website."},On,be,{project:"universal-checkout"}):void 0},[Hc.MEMBER_AREAS_TRANSACTION_FEE]:{ItemIcon:Wo=>n.createElement(O0.Z,Wo),itemName:(0,O.t)("{pctMemberAreaTransactionFee} transaction fee",be,{project:"universal-checkout"}),itemType:Hc.MEMBER_AREAS_TRANSACTION_FEE,tooltipText:Rr&&A0[Rr]},[Hc.SELL_PRODUCTS]:{ItemIcon:Wo=>n.createElement(q0.Z,Wo),itemName:(0,O.t)("Sell products, services, and accept donations",null,{project:"universal-checkout"}),itemType:Hc.SELL_PRODUCTS,tooltipText:(0,O.t)("Whether online or POS, Squarespace\u2019s Professional website plan gives you the ability to accept payments from your clients and track performance through a powerful analytics dashboard.",null,{project:"universal-checkout"})},[Hc.SEO]:{ItemIcon:Wo=>n.createElement(Vl.Z,Wo),itemName:(0,O.t)("SEO features for site visibility",null,{project:"universal-checkout"}),itemType:Hc.SEO,tooltipText:(0,O.t)("Squarespace guides you through simple steps to help improve your site\u2019s search ranking",null,{project:"universal-checkout"})},[Hc.VIDEO_HOSTING]:{ItemIcon:Wo=>n.createElement(bc.Z,Wo),itemName:be!=null&&be.numVideoHours?(0,O.t)("{numVideoHours} hours of video storage",be,{project:"universal-checkout"}):(0,O.t)("Unlimited video storage",null,{project:"universal-checkout"}),itemType:Hc.VIDEO_HOSTING,tooltipText:(0,O.t)("Upload video, display your video library beautifully, and allow visitors to stream directly on your website.",null,{project:"universal-checkout"})},[Hc.FREE_DOMAIN]:{ItemIcon:Wo=>n.createElement(Gp.Z,Wo),itemName:(0,O.t)("Free custom domain*",null,{project:"universal-checkout"}),itemType:Hc.FREE_DOMAIN,tooltipText:P0}},Gr=fr,Do={...fr,[Hc.FREE_DOMAIN]:{ItemIcon:Wo=>n.createElement(Yh.Z,Wo),itemName:(0,O.t)("Free custom domain*",null,{project:"universal-checkout"}),itemType:Hc.FREE_DOMAIN,tooltipText:P0,strikethrough:!0}};return dr===Kr.tv.MONTHLY?Do[Vn]:Gr[Vn]};var xf=function(Vn){return Vn[Vn.ECOMMERCE=0]="ECOMMERCE",Vn[Vn.EMAIL_MARKETING=1]="EMAIL_MARKETING",Vn[Vn.MEMBER_AREAS=2]="MEMBER_AREAS",Vn[Vn.WEBSITE=3]="WEBSITE",Vn}({});const tm={[Id.PERSONAL]:[{spotlightHeaderName:xf.WEBSITE,lineItems:[{includedItem:Hc.SEO},{includedItem:Hc.FREE_DOMAIN}]}],[Id.PROFESSIONAL]:[{spotlightHeaderName:xf.WEBSITE,lineItems:[{includedItem:Hc.SEO},{includedItem:Hc.FREE_DOMAIN}]},{spotlightHeaderName:xf.ECOMMERCE,lineItems:[{includedItem:Hc.SELL_PRODUCTS}]},{spotlightHeaderName:xf.EMAIL_MARKETING,lineItems:[{includedItem:Hc.CAMPAIGNS,featureLevel:H().CAMPAIGNS_CORE}]},{spotlightHeaderName:xf.MEMBER_AREAS,lineItems:[{includedItem:Hc.MEMBER_AREAS,featureLevel:H().MEMBER_AREAS_STARTER},{includedItem:Hc.MEMBER_AREAS_TRANSACTION_FEE,featureLevel:H().MEMBER_AREAS_STARTER},{includedItem:Hc.VIDEO_HOSTING,featureLevel:H().MEMBER_AREAS_STARTER}]}],[Id.PREMIUM]:[{spotlightHeaderName:xf.WEBSITE,lineItems:[{includedItem:Hc.SEO},{includedItem:Hc.FREE_DOMAIN}]},{spotlightHeaderName:xf.ECOMMERCE,lineItems:[{includedItem:Hc.SELL_PRODUCTS},{includedItem:Hc.ADVANCED_DISCOUNTING}]},{spotlightHeaderName:xf.EMAIL_MARKETING,lineItems:[{includedItem:Hc.CAMPAIGNS,featureLevel:H().CAMPAIGNS_MAX}]},{spotlightHeaderName:xf.MEMBER_AREAS,lineItems:[{includedItem:Hc.MEMBER_AREAS,featureLevel:H().MEMBER_AREAS_PRO},{includedItem:Hc.MEMBER_AREAS_TRANSACTION_FEE,featureLevel:H().MEMBER_AREAS_PRO},{includedItem:Hc.VIDEO_HOSTING,featureLevel:H().MEMBER_AREAS_PRO}]}]},nm={[xf.ECOMMERCE]:(0,O.t)("Ecommerce",null,{project:"universal-checkout"}),[xf.EMAIL_MARKETING]:(0,O.t)("Email Marketing",null,{project:"universal-checkout"}),[xf.MEMBER_AREAS]:(0,O.t)("Gated Content & Courses",null,{project:"universal-checkout"}),[xf.WEBSITE]:(0,O.t)("Website",null,{project:"universal-checkout"})},rm=Vn=>{let{planTierId:dr,billingPeriod:Rr}=Vn;return tm[dr].map(X=>({header:nm[X.spotlightHeaderName],features:X.lineItems.map(be=>yp(be.includedItem,Rr,be.featureLevel))}))},Th=[Kr.tv.ANNUALLY,Kr.tv.MONTHLY],Dh={P1Y:(0,O.t)("Pay annually",null,{project:"universal-checkout"}),P1M:(0,O.t)("Pay monthly",null,{project:"universal-checkout"})},om=Vn=>{let{bundledPlans:dr,checkoutType:Rr,subscriptionBillingPeriod:X}=Vn;const be={},Tt=dr==null?void 0:dr.sort((fr,Gr)=>fr.rank-Gr.rank);return(Rr===a.vl.BILLING_PLAN_SWITCH&&X?Th.filter(fr=>fr===X):Th).forEach(fr=>{be[fr]=Tt==null?void 0:Tt.filter(Gr=>Gr.billingPeriod===fr)}),be},Hp=Vn=>{let{bundle:dr,checkoutType:Rr,lowerBundle:X,annualSavingsToDisplay:be,subscription:Tt}=Vn;const On=be?(0,O.t)("Save {annualSavingsPercent} annually",{annualSavingsPercent:(0,O.uf)(be/100,{style:"percent"})},{project:"universal-checkout"}):"",fr=Ep({bundle:dr,checkoutType:Rr,subscription:Tt}),Do=dr.id===(Tt==null?void 0:Tt.plan.id)?(0,O.t)("Keep",null,{project:"universal-checkout"}):(0,O.t)("Select",null,{project:"universal-checkout"}),Wo=Lf(X);if(!(Ws=>Object.values(Id).includes(Ws))(dr.planTierId))throw(0,y.$e)(Ws=>{(0,xr.N)(Ws),(0,y.uT)("Bundle plan tier is invalid")}),console.error("Invalid planTierId");const _a=dr.planTierId,Aa=_p(_a),za=rm({planTierId:_a,billingPeriod:dr.billingPeriod}),ps=dr.discountedPrice||dr.price;return{annualSavingsText:On,...fr&&{bannerType:fr},billingCycleText:(0,O.t)("per month",null,{project:"universal-checkout"}),billingPeriod:dr.billingPeriod,buttonLabel:Do,features:Aa,...Wo&&{featureListLabel:Wo},periodDisplayName:dr.periodDisplayName,id:dr.id,plan:dr,planDescription:ch[dr.planTierId],planName:dr.displayName,planTierId:dr.planTierId,planType:dr.planType,price:dr.billingPeriod==="P1Y"?ps.divide(12):ps,rank:dr.rank,spotlightFeatures:za}},Gf=Vn=>{let{bundledPlans:dr=[],checkoutType:Rr,subscription:X}=Vn;var be;const Tt=(X==null||(be=X.renewalDetails)===null||be===void 0?void 0:be.plan)||(X==null?void 0:X.plan),On=Tt==null?void 0:Tt.billingPeriod,fr=om({bundledPlans:dr,checkoutType:Rr,subscriptionBillingPeriod:On}),Gr={};return Th.forEach(Do=>{const Wo=fr[Do]||[];Gr[Do]=Wo.map((zo,_a)=>{var Aa,za;const ps=_a>0?Wo[_a-1].displayName:"",Ws=Do===Kr.tv.MONTHLY?(za=fr[Kr.tv.ANNUALLY])===null||za===void 0||(Aa=za.find(Oi=>Oi.rank===zo.rank))===null||Aa===void 0?void 0:Aa.annualSavingsPercent:zo==null?void 0:zo.annualSavingsPercent;return Hp({bundle:zo,checkoutType:Rr,lowerBundle:ps,annualSavingsToDisplay:Ws,subscription:X})})}),Gr},Zp=Rn.sizes.sizes[175],Op=`-${Zp}`,Hd={[bh.CURRENT]:{bg:"gray.300",color:"white",label:(0,O.t)("Current plan",null,{project:"universal-checkout"})},[bh.BEST_VALUE]:{bg:"blue.300",color:"white",label:(0,O.t)("Best Value",null,{project:"universal-checkout"})},[bh.MOST_POPULAR]:{bg:"blue.300",color:"white",label:(0,O.t)("Most popular",null,{project:"universal-checkout"})},[bh.RECOMMENDED]:{bg:"blue.300",color:"white",label:(0,O.t)("Recommended",null,{project:"universal-checkout"})}};var am=e(871832),S0=e.n(am);const T0=Vn=>{let{description:dr,displayName:Rr,enableTooltip:X,id:be}=Vn;const Tt=()=>n.createElement(Mr.Z,null,n.createElement(It.Z.Body,{as:"span"},Rr)),On=()=>{const[fr,Gr]=(0,n.useState)(!1),Do=(0,n.useRef)(null),Wo=`${be}__tooltip-description`,zo=(0,O.t)("Tooltip",null,{project:"universal-checkout"}),_a="30%";return n.createElement(n.Fragment,null,n.createElement(It.Z.Body,{"aria-describedby":Wo,as:"span",className:S0().tooltipAnchor,onBlur:()=>Gr(!1),onFocus:()=>Gr(!0),onMouseEnter:()=>Gr(!0),onMouseLeave:()=>Gr(!1),ref:Do,sx:{textDecoration:"1px underline dashed",textUnderlineOffset:_a},tabIndex:"0"},Rr),fr&&n.createElement(Mo.Z,{anchor:Do.current,isOpen:!0,position:"top-start",role:"tooltip"},n.createElement(It.Z.Body,{"aria-label":zo,as:"span",color:"white",display:"block",id:Wo,sx:{whiteSpace:"pre-wrap"}},dr)))};return X&&dr?n.createElement(On,null):n.createElement(Tt,null)},zp=Vn=>{let{enableTooltips:dr,features:Rr,label:X,showFeatureIcons:be=!1}=Vn;return n.createElement(n.Fragment,null,n.createElement(It.Z.Subtitle,{mb:0,mt:4,color:"gray.300"},(0,O.t)("Features",null,{project:"universal-checkout"})),X&&n.createElement(It.Z.Subtitle,{fontSize:3,fontWeight:"semibold",mb:0,mt:1},X),n.createElement(ms.Z,{mt:2,space:2},Rr.map(Tt=>{let{description:On,displayName:fr,id:Gr}=Tt;return n.createElement(T0,{enableTooltip:dr,description:On,displayName:fr,id:Gr,key:Gr,showFeatureIcon:be})})))};var sm=function(Vn){return Vn.BANNER="banner",Vn.STICKER="sticker",Vn}({});const $p=Vn=>{let{bannerType:dr,variant:Rr="banner"}=Vn;const X=()=>n.createElement(It.Z.Label,{color:Hd[dr].color},Hd[dr].label),be=()=>n.createElement(Mr.Z,{alignItems:"center",bg:Hd[dr].bg,borderRadius:1,height:Zp,px:2},n.createElement(X,null)),Tt=()=>n.createElement(Mr.Z,{alignItems:"center",bg:Hd[dr].bg,height:"sizes.175",justifyContent:"center",left:"0",position:"absolute",px:1,right:"0",top:Op},n.createElement(X,null));return{banner:n.createElement(Tt,null),sticker:n.createElement(be,null)}[Rr]||null};function cp(Vn){if(!Vn)return!1;const{type:dr,value:Rr}=Vn;return dr==="spacer"||Rr.charCodeAt(0)===160}const Xp=Vn=>{let{monthlyPrice:dr,variant:Rr="normal"}=Vn,X;switch(Rr){case"superscript":{const be=dr.currencyCode;X=(0,O.$R)(dr.toFloat(),be,{trimZeroFractions:!0}).map((Tt,On)=>Tt.type==="currency"||cp(Tt)?n.createElement(It.Z,{as:"sup",fontSize:3,lineHeight:2,"data-testid":"currency-sup",key:On,top:"-0.75em"},Tt.value):Tt.value);break}default:X=(0,O.lb)(dr,{trimZeroFractions:!0})}return n.createElement(n.Fragment,null,X)};var D0=e(159945);const Qh=(0,O.t)("per month",null,{project:"universal-checkout"}),Dc=(0,O.t)("Select",null,{project:"universal-checkout"}),up=Vn=>{let{annualSavingsText:dr,billingCycleText:Rr,buttonLabel:X,formattedPriceVariant:be,height:Tt,onHeaderHeightChange:On,price:fr,onSelect:Gr=za=>{},planDescription:Do,planName:Wo}=Vn;const[zo,_a]=(0,D0.Z)(),Aa=(0,n.useRef)(null);return(0,n.useEffect)(()=>{Aa.current&&Tt!==Aa.current.clientHeight&&(On==null||On(Aa.current.clientHeight))},[_a,Tt,On]),n.createElement(Mr.Z,{as:"header",flexDirection:"column"},n.createElement(Mr.Z,{ref:zo,height:Tt,flexDirection:"column"},n.createElement(ir.Z,{ref:Aa},Wo&&n.createElement(It.Z.Title,{mb:4},Wo),n.createElement(Mr.Z,{alignItems:"baseline",as:"p",color:"gray.100",flexDirection:"row",mb:2,mt:0},n.createElement(It.Z,{as:"span",fontSize:"32px",fontWeight:"medium",lineHeight:"33px"},n.createElement(Xp,{monthlyPrice:fr,variant:be})),n.createElement(It.Z.Body,{as:"span",color:"inherit",ml:1},Rr||Qh)),dr&&n.createElement(It.Z.Body,{color:"blue.300",m:0},dr),Do&&n.createElement(It.Z.Body,{mt:2,mb:0},Do))),n.createElement(qn.Z,{onClick:Gr,size:"large",mt:4},X||Dc))};var Qc=e(579206),Cp=e.n(Qc);const lm=Vn=>{let{tooltipText:dr}=Vn;const Rr=(0,n.useRef)(null),[X,be]=(0,n.useState)(!1);return n.createElement(n.Fragment,null,n.createElement(Mr.Z,{className:Cp().tooltipAnchor,"data-testid":"tooltip-anchor",onBlur:()=>be(!1),onFocus:()=>be(!0),onMouseEnter:()=>be(!0),onMouseLeave:()=>be(!1),ref:Rr,tabIndex:"0"},n.createElement(Rt.Z,{"data-testid":"info-icon",color:"gray.300"})),X&&n.createElement(Mo.Z,{anchor:Rr.current,isOpen:X,role:"tooltip",position:"top"},dr))},I0=Vn=>{let{ItemIcon:dr,itemDescription:Rr,itemName:X,py:be=2,tooltipText:Tt,strikethrough:On}=Vn;const fr=()=>Rr?n.createElement(It.Z.Caption,{color:"gray.100",fontWeight:"semibold","data-testid":"description"},Rr):null;return n.createElement(qi.Z,{"data-testid":"item-row",description:fr(),display:be>=2?void 0:"flex",exteriorAccessory:Tt&&n.createElement(lm,{tooltipText:Tt}),exteriorPre:dr&&n.createElement(dr,{color:"gray.300"}),label:n.createElement(n.Fragment,null,On&&n.createElement("span",{className:"v6-visually-hidden"},(0,O.t)("Unavailable:",null,{project:"universal-checkout"})),n.createElement(It.Z.Body,{as:"span",sx:{textDecoration:On?"line-through":"none"}},X)),py:be})},M0=Vn=>{let{spotlightFeatures:dr}=Vn;return n.createElement(ms.Z,{space:1},dr.map(Rr=>n.createElement(n.Fragment,null,n.createElement(It.Z.Subtitle,{mb:0,mt:4,color:"gray.300"},Rr.header),Rr.features.map(X=>n.createElement(I0,X)))))},cm=Vn=>{let{annualSavingsText:dr,bannerType:Rr,billingCycleText:X,buttonLabel:be=(0,O.t)("Select",null,{project:"universal-checkout"}),features:Tt,featureListLabel:On,headerHeight:fr,price:Gr,onHeaderHeightChange:Do=ps=>{},onSelect:Wo=()=>{},planDescription:zo,planName:_a,spotlightFeatures:Aa}=Vn;const za=!!(Tt!=null&&Tt.length)||!!(Aa!=null&&Aa.length);return n.createElement(Zn.Z,{boxShadow:200,mt:Zp,overflow:"visible",p:6,variant:"quiet",sx:{flex:1}},Rr&&n.createElement($p,{bannerType:Rr}),n.createElement(up,{annualSavingsText:dr,billingCycleText:X,buttonLabel:be,height:fr,onHeaderHeightChange:Do,onSelect:Wo,planDescription:zo,planName:_a,price:Gr,formattedPriceVariant:E0.SUPERSCRIPT}),za&&n.createElement(Zn.Z.Body,{sx:{pt:6},"data-testid":"card-body"},!!(Aa!=null&&Aa.length)&&n.createElement(M0,{spotlightFeatures:Aa,enableTooltips:!0}),!!(Tt!=null&&Tt.length)&&n.createElement(zp,{enableTooltips:!0,features:Tt,label:On})))};var R0=e(861288),Ap=e.n(R0);const Jp=Vn=>{let{ariaControls:dr,collapsed:Rr,id:X,onCollapsedChange:be}=Vn;return n.createElement(ui.Z.Element.WithoutFeedback,{"aria-controls":dr,"aria-expanded":!Rr,css:{"&:focus":{outline:`2px solid ${Rn.colors.gray[100]}`},"&:focus:not(:focus-visible)":{outline:"none"}},onClick:be},n.createElement(qi.Z,{borderTop:1,borderTopColor:"gray.800",body:n.createElement(It.Z.Action,{id:X},Rr?(0,O.t)("Show features",null,{project:"universal-checkout"}):(0,O.t)("Hide features",null,{project:"universal-checkout"})),exteriorAccessory:n.createElement(ir.Z,{sx:{transform:Rr?void 0:"rotateZ(180deg)",transformOrigin:"center"},transitionDuration:300,transitionProperty:"transform",transitionTimingFunction:"default"},n.createElement(rl.Z,null)),p:3}))},vh={Desktop:cm,Mobile:Vn=>{let{annualSavingsText:dr,bannerType:Rr,billingCycleText:X=(0,O.t)("/ month",null,{project:"universal-checkout",notes:'As in, "per month", to go along with a price'}),buttonLabel:be=(0,O.t)("Select",null,{project:"universal-checkout"}),featureListLabel:Tt,features:On,onSelect:fr=()=>{},planDescription:Gr,planName:Do,price:Wo,spotlightFeatures:zo}=Vn;const{current:_a}=(0,n.useRef)(Ap()()),{current:Aa}=(0,n.useRef)(Ap()()),[za,ps]=(0,n.useState)(!0),Ws=()=>ps(!za),Oi=()=>n.createElement(It.Z.Subtitle,{m:0,mb:1},Do);return n.createElement(Zn.Z,{overflow:"visible",mb:"4"},n.createElement(ir.Z,{pt:4,px:3},n.createElement(Mr.Z,{justifyContent:"space-between"},n.createElement(Oi,null),Rr&&n.createElement($p,{bannerType:Rr,variant:sm.STICKER})),n.createElement(up,{annualSavingsText:dr,billingCycleText:X,buttonLabel:be,onSelect:fr,planDescription:Gr,price:Wo,formattedPriceVariant:E0.NORMAL}),zo&&n.createElement(ir.Z,{mb:4,mt:6},n.createElement(M0,{spotlightFeatures:zo,enableTooltips:!0})),On&&!za&&n.createElement(ir.Z,{id:_a,"aria-labelledby":Aa,mb:4,role:"region"},n.createElement(zp,{features:On,label:Tt}))),On&&n.createElement(ir.Z,{"aria-level":"3",as:"footer",role:"heading"},n.createElement(Jp,{ariaControls:_a,collapsed:za,id:Aa,onCollapsedChange:Ws})))}},{Option:L0}=Ah.Z,dm=Vn=>{let{billingPeriod:dr,planDetails:Rr,handleSelectPlan:X,hideBillingPeriod:be,setBillingPeriod:Tt}=Vn;return n.createElement(n.Fragment,null,!be&&n.createElement(Ah.Z,{"data-testid":"segmented-control",onChange:Tt,value:dr,mt:8},Th.map(On=>n.createElement(L0,{value:On,key:On},Dh[On]))),n.createElement(ir.Z,{"data-testid":"card-view",mt:be?8:6,mb:6},Rr.map(On=>n.createElement(vh.Mobile,{...On,key:On.id,onSelect:()=>X(On.plan)}))))};var fm=e(506209);const x0=vh,bp="100px",w0=Vn=>{let{billingPeriod:dr,handleSelectPlan:Rr,hideBillingPeriod:X,planDetails:be,setBillingPeriod:Tt}=Vn;const[On,fr]=(0,n.useState)(0),[Gr,Do]=(0,n.useState)({}),Wo=(0,n.useCallback)((zo,_a)=>{const Aa={...Gr,[_a]:zo},za=Math.max(...Object.values(Aa));(za!==On||zo!==Gr[_a])&&(Do(Aa),fr(za))},[On,Gr]);return n.createElement(n.Fragment,null,!X&&n.createElement(fm.Z,{"data-testid":"tabs",options:Th.map(zo=>({label:Dh[zo],value:zo})),onChange:Tt,value:dr}),n.createElement(Mr.Z,{sx:{gap:6},justifyContent:"space-between",my:X?bp:6,"data-testid":"grid-view"},be.map((zo,_a)=>n.createElement(x0.Desktop,{...zo,key:zo.id,headerHeight:On,onHeaderHeightChange:Aa=>Wo(Aa,_a),onSelect:()=>Rr(zo.plan)}))))},Qm=12,N0=Kr.tv.ANNUALLY,wf=Vn=>{let{onSelect:dr,checkoutType:Rr=a.vl.NEW_PURCHASE,billingPeriod:X=N0,planDetailsByBillingPeriod:be}=Vn;var Tt;const[On,fr]=(0,n.useState)(X),Gr=Math.min(((Tt=be[On])===null||Tt===void 0?void 0:Tt.length)||0,5),Do=zo=>new Xt(zo),Wo=Rr===a.vl.BILLING_PLAN_SWITCH;return n.createElement(Je.Provider,{value:Do(Gr)},n.createElement(Ed,{planType:s().SQUARESPACE}),n.createElement(Hr.Z.Provider,null,n.createElement(Hr.Z.Renderer,{billingPeriod:On,setBillingPeriod:fr,planDetails:be[On],handleSelectPlan:dr,hideBillingPeriod:Wo,render:Do(Gr).applyVariantBreakpoints({default:dm,grid:w0})})))};var Sp=e(867853);const pf=Vn=>{let{checkoutType:dr,currencyCode:Rr,onSelect:X,products:be}=Vn;const[Tt,On]=(0,n.useState)([]),[fr,Gr]=(0,n.useState)(!0),[Do,Wo]=(0,n.useState)(!1),[zo,_a]=(0,n.useState)([]),[Aa,za]=(0,n.useState)(),ps=(cl,pl)=>{za(pl);const Uc=cl.map(rc=>rc.message);_a(Uc),Wo(!0)},Ws=()=>{Wo(!1),_a([])},Oi=()=>{Ws(),Aa&&X(Aa)};(0,n.useEffect)(()=>{(async()=>{if(!be||be.length===0)On([]),Gr(!1);else if(Rr)try{const{data:cl}=await Sp.Z.load({products:be,currencyCode:Rr,checkoutType:dr}),{results:pl}=cl;On(pl),Gr(!1)}catch(cl){(0,y.$e)(pl=>{(0,xr.N)(pl),pl.setTag("uc-product-area",be.join(", ")),(0,y.Tb)(cl)})}})()},[Rr]);const bl=cl=>{let pl=[];if(cl.products){var Uc;const rc=((Uc=cl.products)===null||Uc===void 0?void 0:Uc.map(Jc=>Jc.featureLevel))||[];pl=Tt.filter(Jc=>rc.includes(Jc.featureLevel))}else{const{featureLevel:rc}=cl;pl=Tt.filter(Jc=>Jc.featureLevel===rc)}return pl};return{violationModalProps:{onConfirm:Oi,onClose:Ws,showViolationConfirmation:Do,violationInformation:zo,selectedPlan:Aa},onSelectWithViolations:cl=>{const pl=bl(cl);if(pl.length){const Uc=[...new Map(pl.map(rc=>[rc.message,rc])).values()];ps(Uc,cl)}else X(cl)},isLoadingViolations:fr}},pm=Vn=>{const{checkoutType:dr,currencyCode:Rr,isLoadingSubscription:X,planDetailsByBillingPeriod:be,saveAndGotoNext:Tt,subscription:On}=Vn,Gr={onSelect:(0,n.useCallback)(ps=>{es.Z.selectPlan({plan:ps,productType:s().SQUARESPACE}),dr===a.vl.NEW_PURCHASE?Tt({[ps.planType]:{planId:ps.id}}):Tt({})},[Tt,dr]),checkoutType:dr,currencyCode:Rr},Do={...Gr,products:[F().MEMBER_AREAS]},Wo={...Gr,products:[F().WEBSITE,F().MEMBER_AREAS]},zo=dr===a.vl.NEW_PURCHASE?Do:Wo,{violationModalProps:_a,onSelectWithViolations:Aa,isLoadingViolations:za}=pf(zo);return!be||X||za?n.createElement(he.Z,null):n.createElement(n.Fragment,null,n.createElement(wf,{key:On==null?void 0:On.id,checkoutType:dr,billingPeriod:On==null?void 0:On.plan.billingPeriod,planDetailsByBillingPeriod:be,onSelect:Aa}),n.createElement(nd,_a))};var Tp=e(312039);const qm=Vn=>Vn==null?void 0:Vn.reduce((dr,Rr)=>(dr[Rr.id]=Rr.violations||[],dr),{}),j0=h()({componentDidConnect(Vn){let{checkoutType:dr}=Vn;const{currency:Rr}=Tp.ZP.getState();R.Z.getAvailablePlans({planType:s().SQUARESPACE,currency:Rr}),dr===a.vl.BILLING_PLAN_SWITCH&&me.ZP.getOrLoadByPlanType(s().SQUARESPACE)},getStores(){return[Tp.ZP,me.ZP]},getPropsFromStores(Vn){let{checkoutType:dr}=Vn;const{bundledPlans:Rr,currency:X,productType:be}=Tp.ZP.getState(),Tt=dr===a.vl.BILLING_PLAN_SWITCH?me.ZP.getState().loading:!1,On=me.ZP.getByPlanType(s().SQUARESPACE);return{currencyCode:X,planDetailsByBillingPeriod:Gf({bundledPlans:Rr,checkoutType:dr,subscription:On}),productType:be,isLoadingSubscription:Tt,subscription:On}}},pm);j0.displayName="ConnectedSquarespaceSelector";const ep=j0,U0=(0,O.t)("Select a plan and publish your site today",null,{project:"universal-checkout"}),e0=()=>n.createElement(It.Z.Title,{as:"div",sx:{wordBreak:"break-word"},fontSize:"32px",lineHeight:"40px",maxWidth:"sizes.750"},U0),F0=()=>n.createElement(It.Z.Title,{sx:{wordBreak:"break-word"},fontSize:7,lineHeight:5},U0),W0=()=>n.createElement(Hr.Z.Provider,null,n.createElement(Hr.Z.Renderer,{render:{default:e0,"desktop-0":F0}})),t0=[{component:ep,page:"squarespace-plan-screen",navLabel:(0,O.t)("Plans",null,{project:"universal-checkout"}),title:W0,isCenteredLayout:!1,RightTitleSection:Kp}],mm=()=>({onCurrencyChange:lp,preCheckoutScreens:t0}),Dp=Vn=>{let{saveAndGotoNext:dr}=Vn;return n.createElement(ll,{productLine:J.Z.getState().productLine,productType:s().SQUARESPACE,saveAndGotoNext:dr})},r0=[{component:ep,page:"squarespace-plan-switch-screen",navLabel:(0,O.t)("Plans",null,{project:"universal-checkout"}),title:W0,RightTitleSection:Kp},{component:Dp,contentWrapperClassName:Fs().centeredPlanSelectorScreenWrapper,page:"squarespace-interval-switch-screen",navLabel:(0,O.t)("Billing",null,{project:"universal-checkout"})}],rv=()=>({preCheckoutScreens:r0}),vm={[a.vl.NEW_PURCHASE]:mm,[a.vl.BILLING_PLAN_SWITCH]:rv},K0=()=>{const{availableProductsCurrency:Vn}=v.Z.getState();return{currencyCode:Vn||"USD"}},Cf=Vn=>{const{checkoutType:dr}=Vn,Rr=vm[dr];return{data:{UCProps:{restrictedPaymentMethods:[],showCrossSell:!0,analytics:{productArea:s().SQUARESPACE},...Rr(),...Vn},stores:[v.Z],getStoreProps:K0},validators:[]}},o0={[s().SQUARESPACE]:Cf},gm=async Vn=>{const{productToPurchase:dr}=Vn,Rr=o0[dr];try{const{validators:X,data:be}=Rr(Vn),Tt=[C];return{purchaseValidation:await S([...X,...Tt],be.planToPurchase),...be}}catch(X){throw(0,y.$e)(be=>{(0,xr.N)(be),be.setTag("uc-product-area",dr),(0,y.Tb)(X)}),new Error(`Error: ${X} occured. There may be an issue with plan configurations.`)}},nh=Vn=>{const{productToPurchase:dr}=Vn,Rr=o0[dr],{data:{stores:X,getStoreProps:be}}=Rr(Vn);return X?{stores:X,getStoreProps:be}:{stores:[],getStoreProps:()=>{}}},G0=Object.keys(o0),H0=Vn=>G0.includes(Vn.productToPurchase)?gm(Vn):Bu(Vn),Ip=Vn=>G0.includes(Vn.productToPurchase)?nh(Vn):qu(Vn),Z0=Vn=>{let{closeModal:dr,onConfirm:Rr,dismissText:X,title:be,message:Tt,...On}=Vn;return Rr?n.createElement(_u.Z,{...On,title:be,message:Tt,onCancel:dr,cancelText:X}):n.createElement(Jf.Z,{...On,title:be,message:Tt,dismissText:X,onDismiss:dr})};Z0.propTypes={isOpen:f().bool.isRequired,title:f().node,message:f().node,position:f().oneOf(["center","top-left","top-right","bottom-right","bottom-left"]),dismissText:f().string,testAttr:f().string,closeModal:f().func.isRequired,onConfirm:f().func,confirmText:f().string};const a0=Z0,Em=f().oneOf([...Object.values(F()),...Object.values(s())]);var _m=e(67055);const ym=h()({getStores(Vn){return Ip(Vn).stores},getPropsFromStores(Vn){var dr,Rr;const X=Tp.ZP.getState().productType;return X&&X!==Vn.productToPurchase&&R.Z.reset(),(dr=(Rr=Ip(Vn)).getStoreProps)===null||dr===void 0?void 0:dr.call(Rr)}},a.$k),Mp=Vn=>{const{isOpen:dr,productToPurchase:Rr,setIsOpen:X=()=>null,eventChannel:be,initCart:Tt={}}=Vn,[On,fr]=(0,n.useState)({}),{user:Gr}=(0,_.useStatsigUser)(),Do=(0,g.dU)(),{UCProps:Wo,purchaseValidation:zo}=On,{onDismiss:_a=()=>null}=(zo==null?void 0:zo.errorModalProps)||{};return(0,n.useEffect)(()=>{H0(Vn).then(Aa=>fr(Aa))},[]),Wo?zo.canPurchase?n.createElement(ym,{productToPurchase:Rr,...Wo,isOpen:dr,locale:p.Ue,websiteLocale:p.ST,statsigUser:Gr,isProd:Do==="PRODUCTION",environment:Do,eventChannel:be,features:(0,_m.g)(),initCart:Tt}):n.createElement(a0,{isOpen:dr,closeModal:()=>{X(!1),_a(Vn)},testAttr:`${zo.errorType}-error-modal`,baseZIndex:Wo.zIndex,...zo.errorModalProps}):null};Mp.propTypes={isOpen:f().bool.isRequired,productToPurchase:Em.isRequired,checkoutType:f().oneOf(Object.values(a.vl)).isRequired,productCheckoutVariant:f().string,router:i.Z.isRequired,setIsOpen:f().func,eventChannel:f().string.isRequired};const Hf=(0,c.Z)(Mp)},238120:function(b,l,e){"use strict";e.d(l,{$R:()=>u,aY:()=>f});var r=e(663634),o=e(276406),n=e.n(o),a=e(774692);const i="ups-website-v1",c="use_universal_plan_selector",u=()=>(0,r.GC)().getExperiment(i).get(c,!1),f=()=>{const d=(0,r.GC)().getExperiment(i);(0,a.trackAssignmentEvent)(d,"pricing-merchandising",{productArea:n().WEBSITE})}},791818:function(b,l,e){"use strict";e.d(l,{E:()=>W,Bn:()=>oe,nb:()=>v});var r=e(174161),o=e(795478),n=e.n(o),a=e(861288),i=e.n(a),c=e(149893),u=e(144771),f=e.n(u),d=e(119203),h=e(644550),g=e(714487),_=e(172788),p=e(934951),y=e(207518);const P=()=>({screens:{[_.nq.ORDER_SUMMARY]:{subtitle:(0,g.t)("A copy of your receipt will be sent to your email.",null,{project:"universal-checkout"}),disclaimer:r.createElement(p.T,{project:"universal-checkout",termsOfService:r.createElement("a",{href:y.Z.SERVICE,target:"_blank",rel:"noopener noreferrer"},r.createElement(p.T,{project:"universal-checkout"},"Terms of Service")),shippingTerms:r.createElement("a",{href:y.Z.PRODUCT_SPECIFIC,target:"_blank",rel:"noopener noreferrer"},r.createElement(p.T,{project:"universal-checkout"},"Shipping Terms")),privacyPolicy:r.createElement("a",{href:y.Z.PRIVACY,target:"_blank",rel:"noopener noreferrer"},r.createElement(p.T,{project:"universal-checkout"},"Privacy Policy"))},"Our {termsOfService}, {shippingTerms}, and confirm that you have read and understood our {privacyPolicy}.")}}}),C=(q,J)=>{if(!J)return{};const me=J.find(re=>re.productType===q);return me||{}};var A=e(903638),S=e(787592),T=e(635897);const s=q=>{let{rateId:J,orderId:me,fileType:re,planId:he,destinationAddress:Ee,carrier:fe,shippingService:H,carrierImageUrl:z,onRequestClose:_e,currencyCode:ae,onPurchaseComplete:ge,onPrintLabelClick:Be}=q;const[Ke,He]=(0,r.useState)(!0),ye=(0,r.useRef)(`shipping-label--${i()()}`),Le={productMetadata:[{orderId:me,fileType:re,productType:f().SHIPPING_LABEL}]},Ue=Pt=>{const{purchaseData:Ie}=(Pt==null?void 0:Pt.detail)||{},{labelId:Bt}=C(f().SHIPPING_LABEL,Ie.productResponseData);Bt?ge({labelId:Bt}):(0,S.$e)(mt=>{(0,T.N)(mt),mt.setTag("uc-product-area",f().SHIPPING_LABEL),(0,S.Tb)(new Error("No label id was sent in the purchase response"))})},Xe=Pt=>{const Ie=(Pt==null?void 0:Pt.detail)||{};He(!1),_e==null||_e(Ie)};(0,r.useEffect)(()=>{const Pt=ye.current,Ie=new c.Ac(c.bg.PURCHASE_COMPLETE,{channel:Pt}),Bt=new c.Ac(c.bg.CLOSE_START,{channel:Pt});return Ie.subscribe(Ue),Bt.subscribe(Xe),()=>{Ie.unsubscribe(),Bt.unsubscribe()}},[]);const{street1:Fe,street2:ht,city:Ne,region:Ce,postalCode:we,countryCode:$e}=Ee,Ot=[Fe,ht,Ne,Ce,we,$e].filter(Boolean).join(", ");return r.createElement(d.Z,{productToPurchase:f().SHIPPING_LABEL,checkoutType:c.vl.NEW_PURCHASE,isOpen:Ke,initCart:{[f().SHIPPING_LABEL]:{...Le,planId:he,currencyCode:ae,fulfillmentVendor:fe,customProductIcon:h.Z,customCartItemIcon:()=>r.createElement(A.Z,{src:z}),customPurchaseProductTitle:(0,g.t)("Shipping label",null,{project:"universal-checkout"}),customPurchaseProductSubtitle:`${fe} ${H}`,customProductTitle:(0,g.t)("Shipping label - {name}",{name:Ee.name},{project:"universal-checkout"}),customProductSubtitle:Ot,priceId:J}},eventChannel:ye.current,currencyCode:ae,customScreenProps:P({onPrintLabelClick:Be})})};s.propTypes={destinationAddress:n().object,carrier:n().string,rateId:n().string.isRequired,orderId:n().string.isRequired,planId:n().string.isRequired,fileType:n().string.isRequired,packageDimensions:n().string,packageWeight:n().string,shippingService:n().string,carrierImageUrl:n().string,currencyCode:n().string.isRequired,onRequestClose:n().func,onPurchaseComplete:n().func,onPrintLabelClick:n().func};const v=s;var m=e(775863);const E=(q,J,me,re)=>{const{assetId:he,title:Ee,artist:fe,collectionId:H,collectionName:z}=q;return{id:he,planId:re,title:Ee,artist:fe,collectionId:H,collectionName:z,productImageUrl:J,currencyCode:me,customProductIcon:m.Z,customPurchaseProductTitle:"1 Getty Image",customPurchaseProductSubtitle:(0,g.t)("Single License",null,{project:"universal-checkout"})}};var I=e(570867);const W=q=>{let{assetPreview:J,currencyCode:me,isOpen:re,onCurrencyCodeChange:he,onRequestClose:Ee,previewUrl:fe,planId:H,ucEventChannel:z,zIndex:_e}=q;return r.createElement(d.Z,{checkoutType:_.vl.NEW_PURCHASE,currencyCode:me,customScreenProps:I.Z,eventChannel:z,initCart:{[f().GETTY_IMAGE]:E(J,fe,me,H)},isOpen:re,setIsOpen:Ee,onCurrencyCodeChange:he,productToPurchase:f().GETTY_IMAGE,zIndex:_e})};var F=e(961812),G=e.n(F),k=e(276406),x=e.n(k),M=e(374335),B=e.n(M),R=e(312039),U=e(142477),j=e(108351),$=e.n(j);const ee=q=>{let{paymentMethodType:J}=q;return J===$().SEPA_DEBIT?(0,g.t)("For SEPA purchases, domains will be registered once funds are received.",null,{project:"domains-universal-checkout"}):(0,g.t)("Domain processing times vary, so it may take up to an hour for charges to go through.",null,{project:"domains-universal-checkout"})},ie={screens:{[_.nq.ORDER_SUMMARY]:{title:(0,g.t)("Domain Reactivation",null,{project:"universal-checkout"}),subtitle:ee,navLabel:(0,g.t)("Reactivation",null,{project:"universal-checkout"})}}};var ne=e(282995);const pe=q=>{let{domain:J,planId:me,isOpen:re,onClose:he}=q;const{lockFocus:Ee,unlockFocus:fe}=(0,ne.U3)();if((0,r.useEffect)(()=>(re?fe():Ee(),()=>{Ee()}),[re,Ee,fe]),!J||!me)return null;const H={productMetadata:[{domainName:J.name,domainContractCreationType:G().REACTIVATION,productType:x().DOMAIN}]};return r.createElement(d.Z,{productToPurchase:x().DOMAIN,checkoutType:_.vl.REACTIVATION,isOpen:re,onRequestClose:he,initCart:{[x().DOMAIN]:{...H,planId:me,customPurchaseProductTitle:J.name}},customScreenProps:ie})},oe=B()({componentDidConnect(){const{productType:q}=R.ZP.getState();q!==x().DOMAIN&&U.Z.getAvailablePlans({planType:x().DOMAIN})},getStores(){return[R.ZP]},getPropsFromStores(q){let{domain:J}=q;var me,re;const{isLoading:he,products:Ee}=R.ZP.getState();return{planId:J&&J.migratedPlanId?J.migratedPlanId:!he&&Ee&&J?(re=Ee.filter(z=>z.featureLevel===J.tldFeatures.tldPlanLevel)[0])===null||re===void 0||(me=re.plans[0])===null||me===void 0?void 0:me.id:void 0}}},pe)},793888:function(b,l,e){"use strict";e.d(l,{S:()=>i,t:()=>a});var r=e(663634),o=e(774692);const n="jun-2025-campaigns-x-emails-price-test",a=()=>{const c=(0,r.GC)().getExperiment(n);return c.get("variant",null)!==null&&(0,o.trackAssignmentEvent)(c,"campaigns"),c},i=()=>a().get("variant","control")!=="control"},570867:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(174161),o=e(934951),n=e(172788),a=e(207518);const i=()=>r.createElement("a",{href:a.Z.SERVICE,target:"_blank",rel:"noopener noreferrer"},r.createElement(o.T,{project:"universal-checkout"},"Terms of Service")),c=()=>r.createElement(o.T,{project:"universal-checkout",termsOfService:i()},"You will receive the right to use this image on your website, and a higher resolution image will be automatically downloaded for you. By licensing this image, you agree to our {termsOfService}."),f={screens:{[n.nq.ORDER_SUMMARY]:{subtitle:r.createElement(o.T,{project:"universal-checkout"},"Once you license this image, you\u2019ll get a watermark-free, high resolution version."),disclaimer:c}}}},6152:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(174161),o=e(374078);const a=()=>r.createElement(o.Z,{"aria-hidden":"true","data-testid":"icon"})},104943:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(594114);const n={analyticsName:r.x,displayName:r.x}},707699:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(174161),o=e(501239);const a=()=>{const i="#5F93C0";return r.createElement(o.Z,{"aria-hidden":"true",color:i,"data-testid":"icon"})}},181380:function(b,l,e){"use strict";e.d(l,{Z:()=>W});var r=e(419467),o=e(276406),n=e.n(o),a=e(707699);const c={analyticsName:"Acuity Scheduling",customProductIcon:a.Z,displayName:"Acuity Scheduling"};var u=e(714487);const d={analyticsName:"Website",displayName:(0,u.t)("website",null,{notes:'A common noun. The "website" plan type enables our customers to create and host a custom website.',project:"apps.App"})},g={analyticsName:"Digital Products",displayName:(0,u.t)("Digital Products",null,{notes:'A proper noun. The "Digital Products" plan type enables our customers to offer _their_ subscribing members special access to otherwise hidden areas on their website.',project:"apps.App"})};var _=e(104943);const y={analyticsName:"Campaigns",displayName:(0,u.t)("Campaigns",null,{notes:'A proper noun. The "Campaigns" plan type enables our customers to send marketing campaigns to their subscribers.',project:"apps.App"})},P={analyticsName:"Domain",displayName:(0,u.t)("Domain",null,{notes:'A proper noun. The "Domain" plan type enables our customers to attach a custom domain name for their website, e.g. "myexamplesite.com".',project:"apps.App"})},A={analyticsName:"Getty",displayName:"Getty"},T={analyticsName:"Squarespace",displayName:"Squarespace"};var s=e(117562);const m={analyticsName:"",displayName:""},E=F=>`Profile information for planType: ${F} has not been implemented.`,I={[n().CAMPAIGNS]:()=>y,[n().DOMAIN]:()=>P,[n().GETTY_IMAGE]:()=>A,[n().GOOGLE_WORKSPACE]:()=>_.Z,[n().MEMBER_AREAS]:()=>g,[n().SCHEDULING]:()=>c,[n().SQUARESPACE]:()=>T,[n().WEBSITE]:()=>d,[n().RESOLD_WEBSITE]:()=>d,[s.Z.GOOGLE_APPS]:()=>_.Z},W=F=>{var G;const k=((G=I[F])===null||G===void 0?void 0:G.call(I))||{};return(0,r.isEmpty)(k)?(console.warn(E(F)),m):k}},67842:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(174161),o=e(868192),n=e(714487),a=e(934951),i=e(896136),c=e(267359),u=e(549578),f=e(59358);class d extends f.Z{hasPermission(){const{customer:g}=c.Z.getState();return g?!(0,u.$)(g):i.Z.load().then(_=>!(0,u.$)(_))}getErrorModalProps(){var g;const _=r.createElement("a",{href:o.UPDATE_BILLING_INFO,target:"_blank",rel:"noopener noreferrer"},r.createElement(a.T,{project:"universal-checkout",notes:"Link to a article about updating a customers billing information"},"Learn more")),p=r.createElement(a.T,{project:"universal-checkout",notes:"The customer has attempted to purchase a product with an unsupported payment method.",customerRedirectLink:_,productType:(g=this.productType)===null||g===void 0?void 0:g.displayName,"data-test":"async-warning"},"To purchase {productType}, switch to an alternative payment method. {customerRedirectLink}");return{title:(0,n.t)("Can't be purchased with SEPA",null,{project:"universal-checkout",notes:"Title for a modal that tells the customer to change their payment method."}),message:p,dismissText:(0,n.t)("SWITCH PAYMENT",null,{project:"universal-checkout",notes:"A button that takes customers to a page where they can switch their payment method"}),onDismiss:y=>{y.router.push("/config/settings/billing/payment-info")}}}constructor(g){super("not-async-customer"),this.productType=g}}},59358:function(b,l,e){"use strict";e.d(l,{Z:()=>o});function r(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class o{hasPermission(){}getErrorModalProps(){}constructor(a){r(this,"type",void 0),this.type=a}}},160964:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n.GALLERY_IMAGE="GALLERY_IMAGE",n.TRANSIENT_IMAGE="TRANSIENT_IMAGE",n.COLLECTION_IMAGE="COLLECTION_IMAGE",n.TWEAK_BACKGROUND_IMAGE="TWEAK_BACKGROUND_IMAGE",n}(r||{});const o=r},651961:function(b,l,e){"use strict";e.d(l,{Ip:()=>g,K0:()=>p,L9:()=>c,PB:()=>d,SK:()=>u,_E:()=>a,dd:()=>_,ks:()=>f,tU:()=>h,wF:()=>i});var r=e(714487),o=e(963218),n=e(401135);const a={[o.SystemColorId.safeLightAccent]:(0,r.t)("Safe\u2122 Light",null,{project:"src.seven-one"}),[o.SystemColorId.safeDarkAccent]:(0,r.t)("Safe\u2122 Dark",null,{project:"src.seven-one"}),[o.SystemColorId.safeInverseAccent]:(0,r.t)("Safe\u2122 Inverse",null,{project:"src.seven-one"}),[o.SystemColorId.safeInverseLightAccent]:(0,r.t)("Safe\u2122 Inverse Light",null,{project:"src.seven-one"}),[o.SystemColorId.safeInverseDarkAccent]:(0,r.t)("Safe\u2122 Inverse Dark",null,{project:"src.seven-one"}),[o.SystemColorId.white]:(0,r.t)("Lightest",null,{project:"src.seven-one"}),[o.SystemColorId.lightAccent]:(0,r.t)("Light",null,{project:"src.seven-one"}),[o.SystemColorId.accent]:(0,r.t)("Bright",null,{project:"src.seven-one"}),[o.SystemColorId.darkAccent]:(0,r.t)("Dark",null,{project:"src.seven-one"}),[o.SystemColorId.black]:(0,r.t)("Darkest",null,{project:"src.seven-one"})},i=n._O.map(y=>({...y,name:a[y.id]})),c={monochrome:(0,r.t)("Monochrome",null,{project:"src.seven-one"}),complementary:(0,r.t)("Complementary",null,{project:"src.seven-one"}),"analogous-i":(0,r.t)("Analogous I",null,{project:"src.seven-one"}),"analogous-ii":(0,r.t)("Analogous II",null,{project:"src.seven-one"})},u={label:(0,r.t)("Presets",null,{project:"src.seven-one"}),value:"designerPalettes"},f={label:(0,r.t)("Custom Colors",null,{project:"src.seven-one"}),value:"custom"},d={label:(0,r.t)("From Image",null,{project:"src.seven-one"}),value:"from-image"},h={label:(0,r.t)("From Color",null,{project:"src.seven-one"}),value:"from-color"},g=Object.values(o.SystemColorId).filter(y=>!y.startsWith("safe")),_={SITE_PALETTE_COLOR:"SITE_PALETTE_COLOR",CUSTOM_COLOR:"CUSTOM_COLOR",THEME_COLOR:"THEME_COLOR"},p=["rgb","hsl","hex"]},104550:function(b,l,e){"use strict";e.d(l,{Dv:()=>T,ED:()=>s,FY:()=>v,aB:()=>W});var r=e(784874),o=e(935662),n=e.n(o),a=e(762379),i=e(663634),c=e(623795),u=e.n(c),f=e(59507),d=e.n(f),h=e(857712),g=e.n(h),_=e(312887),p=e.n(_),y=e(762918),O=e.n(y);const P=!a.Z.isFeatureEnabled(n().FLUID_ENGINE_OPT_OUT),C=(0,i.cr)("legacy_layout_engine_button_block_fill_enabled")?[r.Z.BUTTON]:[],A=P&&r.Z.IMAGE,S=[r.Z.ACCORDION,r.Z.HTML,r.Z.NEWSLETTER,r.Z.MARQUEE,r.Z.QUOTE,r.Z.SUMMARY_V2,r.Z.FORM],T=new Set(S),s={sevenOne:{fluidEngine:{blockBackground:S,filters:S,stretchedToFill:[r.Z.BUTTON,A,r.Z.SHAPE,r.Z.AUDIO]},layoutEngine:{blockBackground:S,stretchedToFill:[r.Z.AUDIO,...C]}},seven:{layoutEngine:{stretchedToFill:C}}},v={blockBackground:["backgroundEnabled","padding","borderRadii","stroke"],filters:["blur","blendMode"],stretchedToFill:["stretchedToFill"]};function m(F,G){return{value:G,unit:F}}const E={stroke:{style:g().NONE,color:{type:"THEME_COLOR"},thickness:m(u().PIXEL,6),dashLength:m(u().PIXEL,5),gapLength:m(u().PIXEL,15),linecap:p().SQUARE}},I={blur:{enabled:!1,filterType:O().BACKDROP,blurRadius:{value:15,unit:"px"}}},L={backgroundEnabled:!1,backgroundColor:{type:"THEME_COLOR"},borderRadii:{topLeft:m(u().PIXEL,0),topRight:m(u().PIXEL,0),bottomLeft:m(u().PIXEL,0),bottomRight:m(u().PIXEL,0)},padding:{top:m(u().PERCENT,6),bottom:m(u().PERCENT,6),left:m(u().PERCENT,6),right:m(u().PERCENT,6)},...E,blendMode:d().NORMAL,...I},W={[r.Z.ACCORDION]:L,[r.Z.BUTTON]:{stretchedToFill:!1},[r.Z.HTML]:L,[r.Z.IMAGE]:{stretchedToFill:!0},[r.Z.NEWSLETTER]:L,[r.Z.SUMMARY_V2]:L,[r.Z.QUOTE]:L,[r.Z.FORM]:L,[r.Z.AUDIO]:{stretchedToFill:!0},[r.Z.MARQUEE]:{...L,padding:{top:m(u().PERCENT,3),bottom:m(u().PERCENT,3),left:m(u().PERCENT,0),right:m(u().PERCENT,0)}},[r.Z.SHAPE]:{stretchedToFill:!0,...E,blendMode:d().NORMAL,blur:{enabled:!1,filterType:O().ELEMENT,blurRadius:{value:15,unit:"px"}}}}},134798:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n.PAGE="PAGE",n.COLLECTION_ITEM="COLLECTION_ITEM",n.FOOTER="FOOTER",n.HEADER="HEADER",n.NOT_EDITING="NOT_EDITING",n}(r||{});const o=r},553763:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(714487);const n={trialUpgradeTitle:(0,r.t)("Upgrade account?",null,{project:"apps.App"}),trialUpgradeDescription:(0,r.t)("Access more features by upgrading to a paid plan.",null,{project:"apps.App"}),trialUpgradeCta:(0,r.t)("Upgrade",null,{project:"apps.App"}),upgradeTitle:(0,r.t)("Upgrade account?",null,{project:"apps.App"}),upgradeDescription:(0,r.t)("Access more features by upgrading to a different plan.",null,{project:"apps.App"}),upgradeCta:(0,r.t)("Upgrade",null,{project:"apps.App"}),trialConfirmTitle:(0,r.t)("Upgrade account?",null,{project:"apps.App"}),trialConfirmDescription:(0,r.t)("Access more features by upgrading to a paid plan.",null,{project:"apps.App"}),confirmTitle:"",confirmDescription:(0,r.t)("This feature isn\u2019t available in your current plan, so it won\u2019t appear to visitors.",null,{project:"apps.App"}),description:(0,r.t)("Access more features by upgrading to a different plan.",null,{project:"apps.App"}),learnMoreLabel:(0,r.t)("Learn more",null,{project:"apps.App"}),premiumFeatureLabel:(0,r.t)("Premium Feature",null,{project:"apps.App"}),addOnDescription:(0,r.t)("Available as an add-on.",null,{project:"apps.App"}),addOnTrialUpgradeTitle:(0,r.t)("Add-on Required",null,{project:"apps.App",notes:"title in feature gating modal indicating an add-on subscription is required to use the feature"}),addOnUpgradeTitle:(0,r.t)("Add-on Required",null,{project:"apps.App",notes:"title in feature gating modal indicating an add-on subscription is required to use the feature"}),addOnTrialUpgradeCta:(0,r.t)("Subscribe now",null,{project:"apps.App"}),addOnUpgradeCta:(0,r.t)("Purchase Now",null,{project:"apps.App"})}},65265:function(b,l,e){"use strict";e.d(l,{U:()=>r});var r=function(o){return o.UNSET="UNSET",o.LOADING="LOADING",o.FINISHED="FINISHED",o}({})},874644:function(b,l,e){"use strict";e.d(l,{BX:()=>o,hn:()=>r,qN:()=>n});var r=function(a){return a.PREVIEW_LEFT_PANEL="PREVIEW_LEFT_PANEL",a.PREVIEW_FULL_SCREEN="PREVIEW_FULL_SCREEN",a.PAGE_EDIT_FULL_SCREEN="PAGE_EDIT_FULL_SCREEN",a.PAGE_EDIT_RIGHT_PANEL="PAGE_EDIT_RIGHT_PANEL",a}({});const o=a=>["PAGE_EDIT_FULL_SCREEN","PREVIEW_FULL_SCREEN"].includes(a),n=a=>["PAGE_EDIT_FULL_SCREEN","PAGE_EDIT_RIGHT_PANEL"].includes(a)},261279:function(b,l,e){"use strict";e.d(l,{x:()=>r});var r=function(o){return o.PRODUCT_TYPE_PICKER="PRODUCT_TYPE_PICKER",o.COURSE_ONBOARDING="COURSE_ONBOARDING",o.MORE_WAYS_TO_SELL_COURSE_WIDGET="MORE_WAYS_TO_SELL_COURSE_WIDGET",o.DIGITAL_PRODUCTS_INVENTORY_PANEL="DIGITAL_PRODUCTS_INVENTORY_PANEL",o.DIGITAL_PRODUCTS_CREATION_WIZARD="DIGITAL_PRODUCTS_CREATION_WIZARD",o.DONATION_DASHBOARD_CHECKLIST="DONATION_DASHBOARD_CHECKLIST",o.DONATION_DASHBOARD_SELLING_CARDS="DONATION_DASHBOARD_SELLING_CARDS",o}({})},871106:function(b,l,e){"use strict";e.d(l,{A8:()=>i,AG:()=>y,Bw:()=>S,C5:()=>ne,CB:()=>ie,CW:()=>_,EQ:()=>m,Ec:()=>te,Ev:()=>L,F$:()=>$,Gg:()=>f,Gz:()=>I,Iw:()=>G,JK:()=>R,My:()=>g,O_:()=>B,Oc:()=>x,QK:()=>s,Qg:()=>j,T5:()=>u,Ti:()=>U,UL:()=>k,Wf:()=>a,XC:()=>n,YH:()=>P,ZD:()=>W,Zl:()=>E,d1:()=>M,dJ:()=>O,em:()=>v,gu:()=>o,h6:()=>F,jN:()=>c,ne:()=>h,oe:()=>T,sL:()=>ee,vC:()=>C});var r=e(695960);const{FLUID_ENGINE:o,LAYOUT_ENGINE:n,MAIN_CONTENT:a,JSON_SCHEMA:i}=r.Z,c="section",u="data-section-id",f=`${c}[${u}]`,d="header",h="header",g=".header-menu",_="overlay-nav",p="__jacquard-block-html--heading",y=p+"-1",O=p+"-2",P=p+"-3",C=p+"-4",A="__jacquard-block-html--paragraph",S=A+"-1",T=A+"-2",s=A+"-3",v="sqsrte-large",m="sqsrte-small",E=`${d}[${u}="${h}"]`,I=`${g}[${u}="${_}"]`,L=`${E},${I},${f}`,W="add-hit-box",F="js-section-editor-ui-container",G="control-button-wrapper",k="js-section-toolbar",x="__jacquard-section",M="gallery",B="user-items-list",R="lessons-list",U="lessons-item",j="course-list",$="course-item",ee="product-list",te="product-item",ie="page-section",ne=`.sqs-layout[data-type="${ie}"]`},269994:function(b,l,e){"use strict";e.d(l,{B:()=>r});var r=function(o){return o.Section="Section",o.CollectionItem="CollectionItem",o}({})},695960:function(b,l,e){"use strict";e.d(l,{H:()=>r,Z:()=>n});var r=function(a){return a.STRUCTURED_SECTION="STRUCTURED_SECTION",a}({}),o=function(a){return a.FLUID_ENGINE="FLUID_ENGINE",a.LAYOUT_ENGINE="LAYOUT_ENGINE",a.MAIN_CONTENT="MAIN_CONTENT",a.JSON_SCHEMA="JSON_SCHEMA",a}(o||{});const n=o},734455:function(b,l,e){"use strict";e.d(l,{Z:()=>r});const r={WEBSITE_EXPIRED:"WEBSITE_EXPIRED",WEBSITE_TRIAL:"WEBSITE_TRIAL",WEBSITE_PASTDUE:"WEBSITE_PASTDUE",WEBSITE_PAID:"WEBSITE_PAID",WEBSITE_RESOLD_GRACE_PERIOD:"WEBSITE_RESOLD_GRACE_PERIOD",COVER_PAGE_EXPIRED:"COVER_PAGE_EXPIRED",COVER_PAGE_TRIAL:"COVER_PAGE_TRIAL",COVER_PAGE_PASTDUE:"COVER_PAGE_PASTDUE",COVER_PAGE_PAID:"COVER_PAGE_PAID",COVER_PAGE_RESOLD_GRACE_PERIOD:"COVER_PAGE_RESOLD_GRACE_PERIOD",COMMERCE_EXPIRED:"COMMERCE_EXPIRED",COMMERCE_TRIAL:"COMMERCE_TRIAL",COMMERCE_PASTDUE:"COMMERCE_PASTDUE",COMMERCE_PAID:"COMMERCE_PAID",COMMERCE_RESOLD_GRACE_PERIOD:"COMMERCE_RESOLD_GRACE_PERIOD"}},974538:function(b,l,e){"use strict";e.d(l,{r:()=>r});const r=o=>"collapsedItem-"+o},689787:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(714487),o=e(750954),n=e.n(o);const i={[n().ABOUT]:(0,r.t)("About",null,{project:"src.seven-one"}),[n().APPOINTMENTS]:(0,r.t)("Scheduling",null,{project:"src.seven-one"}),[n().BLOG]:(0,r.t)("Blog",null,{project:"src.seven-one"}),[n().CONTACT]:(0,r.t)("Contact",null,{project:"src.seven-one"}),[n().DESIGNER_LAYOUTS]:(0,r.t)("Designer Layouts",null,{project:"src.seven-one"}),[n().EVENTS]:(0,r.t)("Events",null,{project:"src.seven-one"}),[n().FAQS]:(0,r.t)("FAQs",null,{project:"src.seven-one"}),[n().GALLERY]:(0,r.t)("Gallery",null,{project:"src.seven-one"}),[n().GENERAL]:(0,r.t)("General",null,{project:"src.seven-one"}),[n().LESSONS]:(0,r.t)("Layouts",null,{project:"src.seven-one"}),[n().MEMBER_AREAS]:(0,r.t)("Member Areas",null,{project:"MemberAreas"}),[n().DIGITAL_PRODUCTS]:(0,r.t)("Digital Products",null,{project:"src.seven-one",notes:"Create a landing page for digital products"}),[n().MENU]:(0,r.t)("Menu",null,{project:"src.seven-one"}),[n().MUSIC]:(0,r.t)("Music",null,{project:"src.seven-one"}),[n().PORTFOLIO]:(0,r.t)("Portfolio",null,{project:"src.seven-one"}),[n().PRIVACY_POLICY]:(0,r.t)("Privacy Policy",null,{project:"src.seven-one"}),[n().PROJECT]:(0,r.t)("Project",null,{project:"src.seven-one"}),[n().REVIEWS]:(0,r.t)("Reviews",null,{project:"src.seven-one"}),[n().RSVP]:(0,r.t)("RSVP",null,{project:"src.seven-one"}),[n().SERVICES]:(0,r.t)("Services",null,{project:"src.seven-one"}),[n().STAGING]:(0,r.t)("Staging (Internal Only)",null,{project:"src.seven-one"}),[n().STORE]:(0,r.t)("Store",null,{project:"src.seven-one"}),[n().TEAM]:(0,r.t)("Team",null,{project:"src.seven-one"}),[n().TOS]:(0,r.t)("Terms of Service",null,{project:"src.seven-one"}),[n().COURSE]:(0,r.t)("Course",null,{project:"src.seven-one"}),[n().MEMBER_SITE_HOMEPAGE]:(0,r.t)("Member Site Homepage",null,{project:"src.seven-one"}),[n().GIVING_PAGES]:(0,r.t)("Giving Pages",null,{project:"src.seven-one",notes:"Page catalog category where various page templates related to things like donations will be hosted"}),[n().IMPRINT]:(0,r.t)("Imprint",null,{project:"src.seven-one"}),[n().IMPRINT_INDIVIDUAL_ENTREPRENEUR]:(0,r.t)("Imprint - Individual Entrepreneur",null,{project:"src.seven-one"})}},551462:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(714487),o=e(31966),n=e.n(o);const i={[n().ABOUT]:(0,r.t)("About",null,{project:"src.seven-one"}),[n().APPOINTMENTS]:(0,r.t)("Scheduling",null,{project:"src.seven-one"}),[n().BANNER]:(0,r.t)("Banner",null,{project:"src.seven-one"}),[n().CALENDAR]:(0,r.t)("Calendar",null,{project:"src.seven-one"}),[n().CHART]:(0,r.t)("Charts",null,{project:"src.seven-one"}),[n().CONTACT]:(0,r.t)("Contact",null,{project:"src.seven-one"}),[n().DONATION]:(0,r.t)("Donations",null,{project:"src.seven-one"}),[n().EVENTS]:(0,r.t)("Events",null,{project:"src.seven-one"}),[n().FAQS]:(0,r.t)("FAQs",null,{project:"src.seven-one"}),[n().FOOTER]:(0,r.t)("Footer",null,{project:"src.seven-one"}),[n().FORM]:(0,r.t)("Forms",null,{project:"src.seven-one"}),[n().GALLERY]:(0,r.t)("Gallery",null,{project:"src.seven-one"}),[n().HEADLINES]:(0,r.t)("Headlines",null,{project:"src.seven-one"}),[n().IMAGES]:(0,r.t)("Images",null,{project:"src.seven-one"}),[n().INTRO]:(0,r.t)("Intro",null,{project:"src.seven-one"}),[n().LIST]:(0,r.t)("List",null,{project:"src.seven-one"}),[n().LOCATION]:(0,r.t)("Location",null,{project:"src.seven-one"}),[n().LOGO_WALL]:(0,r.t)("Logo Wall",null,{project:"src.seven-one"}),[n().MEMBERS]:(0,r.t)("Member Areas",null,{project:"src.seven-one"}),[n().DIGITAL_PRODUCTS]:(0,r.t)("Digital Products",null,{project:"src.seven-one",notes:"Create a landing section for digital products"}),[n().MENU]:(0,r.t)("Menus",null,{project:"src.seven-one"}),[n().MUSIC]:(0,r.t)("Audio",null,{project:"src.seven-one"}),[n().NEWSLETTER]:(0,r.t)("Newsletter",null,{project:"src.seven-one"}),[n().PEOPLE]:(0,r.t)("People",null,{project:"src.seven-one"}),[n().PORTFOLIOS]:(0,r.t)("Portfolios",null,{project:"src.seven-one"}),[n().PRICING]:(0,r.t)("Pricing",null,{project:"src.seven-one"}),[n().PRODUCTS]:(0,r.t)("Products",null,{project:"src.seven-one"}),[n().QUOTE]:(0,r.t)("Quotes",null,{project:"src.seven-one"}),[n().REGISTRY]:(0,r.t)("Registry",null,{project:"src.seven-one"}),[n().RESERVATIONS]:(0,r.t)("Reservations",null,{project:"src.seven-one"}),[n().RESUME]:(0,r.t)("Resume",null,{project:"src.seven-one"}),[n().SERVICES]:(0,r.t)("Services",null,{project:"src.seven-one"}),[n().SOCIAL]:(0,r.t)("Social",null,{project:"src.seven-one"}),[n().STAGING]:(0,r.t)("Staging (Internal Only)",null,{project:"src.seven-one"}),[n().SUMMARY]:(0,r.t)("Summary",null,{project:"src.seven-one"}),[n().TESTIMONIALS]:(0,r.t)("Testimonials",null,{project:"src.seven-one"}),[n().TEXT]:(0,r.t)("Text",null,{project:"src.seven-one"}),[n().TOUR_DATES]:(0,r.t)("Tour Dates",null,{project:"src.seven-one"}),[n().VIDEO]:(0,r.t)("Videos",null,{project:"src.seven-one"})}},632539:function(b,l,e){"use strict";e.d(l,{v:()=>r});const r="required"},552141:function(b,l,e){"use strict";e.d(l,{y:()=>r});var r=function(o){return o.FIRST_NAME="firstName",o.LAST_NAME="lastName",o.USER_NAME="userName",o.DOMAIN="domain",o.ALTERNATE_EMAIL="alternateEmail",o.ORGANIZATION="organizationName",o.COUNTRY="country",o.POSTAL_CODE="postalCode",o}({})},662872:function(b,l,e){"use strict";e.d(l,{Hk:()=>n,Ql:()=>o,Xs:()=>a});var r=e(714487);const o={firstName:(0,r.t)("First Name",null,{project:"domains-universal-checkout"}),lastName:(0,r.t)("Last Name",null,{project:"domains-universal-checkout"}),email:(0,r.t)("Email Address",null,{project:"domains-universal-checkout"}),userName:(0,r.t)("Username",null,{project:"gsuite-universal-checkout"}),isAdmin:(0,r.t)("Administrator",null,{project:"gsuite-universal-checkout"}),domain:(0,r.t)("Domain",null,{project:"gsuite-universal-checkout"}),alternateEmail:(0,r.t)("Personal Email",null,{project:"gsuite-universal-checkout"}),phone:(0,r.t)("Phone Number",null,{project:"domains-universal-checkout"}),address:(0,r.t)("Address",null,{project:"domains-universal-checkout"}),streetAddress:(0,r.t)("Street Address",null,{project:"domains-universal-checkout"}),address1:(0,r.t)("Street Address",null,{project:"domains-universal-checkout"}),address2:(0,r.t)("Apt/Suite",null,{project:"domains-universal-checkout"}),city:(0,r.t)("City",null,{project:"domains-universal-checkout"}),state:(0,r.t)("State",null,{project:"domains-universal-checkout"}),postalCode:(0,r.t)("Postal Code",null,{project:"domains-universal-checkout"}),country:(0,r.t)("Country",null,{project:"domains-universal-checkout"}),organizationName:(0,r.t)("Organization",null,{project:"domains-universal-checkout"})},n={firstName:(0,r.t)("first name",null,{project:"domains-universal-checkout"}),lastName:(0,r.t)("last name",null,{project:"domains-universal-checkout"}),email:(0,r.t)("email address",null,{project:"domains-universal-checkout"}),userName:(0,r.t)("username",null,{project:"gsuite-universal-checkout"}),isAdmin:(0,r.t)("administrator",null,{project:"gsuite-universal-checkout"}),domain:(0,r.t)("domain",null,{project:"gsuite-universal-checkout"}),alternateEmail:(0,r.t)("personal email",null,{project:"gsuite-universal-checkout"}),phone:(0,r.t)("phone number",null,{project:"domains-universal-checkout"}),streetAddress:(0,r.t)("street address",null,{project:"domains-universal-checkout"}),address1:(0,r.t)("street address",null,{project:"domains-universal-checkout"}),city:(0,r.t)("city",null,{project:"domains-universal-checkout"}),state:(0,r.t)("state",null,{project:"domains-universal-checkout"}),postalCode:(0,r.t)("postal code",null,{project:"domains-universal-checkout"}),country:(0,r.t)("country",null,{project:"domains-universal-checkout"})},a={firstName:(0,r.t)("First Name",null,{project:"domains-universal-checkout",notes:"placeholder name in a form i.e: Sara or Taro"}),lastName:(0,r.t)("Last Name",null,{project:"domains-universal-checkout",notes:"placeholder lastname in a form i.e: Smith or Yamada"}),email:(0,r.t)("name@example.com",null,{project:"domains-universal-checkout"}),userName:(0,r.t)("username",null,{project:"gsuite-universal-checkout"}),domain:"@example.com",alternateEmail:(0,r.t)("email@example.com",null,{project:"gsuite-universal-checkout"}),phone:(0,r.t)("(555) 555-2368",null,{project:"domains-universal-checkout"}),streetAddress:(0,r.t)("Main Street 101",null,{project:"domains-universal-checkout"}),address1:(0,r.t)("Main Street 101",null,{project:"domains-universal-checkout"}),address2:(0,r.t)("Apt. 1G",null,{project:"domains-universal-checkout"}),city:(0,r.t)("Springfield",null,{project:"domains-universal-checkout"}),state:(0,r.t)("ST",null,{project:"domains-universal-checkout"}),organizationName:(0,r.t)("Organization, Inc.",null,{project:"domains-universal-checkout"})}},401135:function(b,l,e){"use strict";e.d(l,{_O:()=>n});var r=e(963218);const o=Object.freeze({...r.SYSTEM_COLOR_CONFIG_MAP,[r.SystemColorId.white]:{...r.SYSTEM_COLOR_CONFIG_MAP[r.SystemColorId.white],name:"Lightest",order:0},[r.SystemColorId.lightAccent]:{...r.SYSTEM_COLOR_CONFIG_MAP[r.SystemColorId.lightAccent],name:"Light",order:1},[r.SystemColorId.accent]:{...r.SYSTEM_COLOR_CONFIG_MAP[r.SystemColorId.accent],name:"Bright",order:2},[r.SystemColorId.darkAccent]:{...r.SYSTEM_COLOR_CONFIG_MAP[r.SystemColorId.darkAccent],name:"Dark",order:3},[r.SystemColorId.black]:{...r.SYSTEM_COLOR_CONFIG_MAP[r.SystemColorId.black],name:"Darkest",order:4}}),n=Object.keys(o).sort((i,c)=>o[i].order-o[c].order).map(i=>o[i]).filter(i=>{let{userVisible:c}=i;return c}),a=Object.keys(o).sort((i,c)=>o[i].order-o[c].order).map(i=>o[i]).filter(i=>{let{userVisible:c,hideInSelector:u}=i;return c&&!u})},400882:function(b,l,e){"use strict";e.d(l,{A:()=>g,Z:()=>_});var r=e(174161),o=e(861288),n=e.n(o),a=e(144771),i=e.n(a),c=e(276406),u=e.n(c),f=e(819596),d=e(149893),h=e(834105);const g=p=>{let{purchaseCompleted:y,detail:O}=p;(y||O!=null&&O.purchaseCompleted)&&window.location.reload()};function _(p){const y=(0,r.useMemo)(()=>n()(),[]),O=(0,r.useCallback)(()=>{const P=(0,f.z)()?u().SQUARESPACE:i().WEBSITE,C=h.Z.isTrial()?d.vl.NEW_PURCHASE:d.vl.BILLING_PLAN_SWITCH;(0,d.j6)(P,C,{eventChannel:y})},[y]);return(0,r.useEffect)(()=>{const P=new d.Ac(d.bg.CLOSE_START,{channel:y});return P.subscribe(p),()=>P.unsubscribe()},[p,y]),[O]}},337061:function(b,l,e){"use strict";e.r(l),e.d(l,{withCmsStore:()=>U,listenForCmsReduxChange:()=>$,useCmsDispatch:()=>M,default:()=>x,getCmsReduxState:()=>j,cmsStoreConnect:()=>R,useCmsSelector:()=>B,dispatchCmsReduxAction:()=>ee});var r=e(174161),o=e(331474),n=e(608280),a=e(851939),i=e(818584),c=e(768809),u=e(247380),f=e.n(u),d=e(938077),h=e(874644),g=e(787592);const _=te=>{let{getState:ie}=te;return ne=>pe=>{var oe;let q=pe;if(!!(!((oe=pe.meta)===null||oe===void 0)&&oe.undoable)){var me;const re=(0,d.getFrameMode)(ie());!!(![h.hn.PAGE_EDIT_RIGHT_PANEL,h.hn.PAGE_EDIT_FULL_SCREEN].includes(re)&&(!((me=pe.meta)===null||me===void 0)&&me.undoable)&&!window.MOBILEAPP)&&(g.$e(fe=>{fe.setTag("owner",f().WEBSITE_EDITOR),fe.setTag("action",pe.type),fe.setTag("frame_mode",re);const H=new Error("Undoable action called outside of editing mode.");g.Tb(H)}),q={...pe,meta:{...pe.meta,undoable:!1}})}return ne(q)}};function p(){const{createLogger:te}=e(40535);return te({duration:!0,collapsed:!0,logger:{...console,groupCollapsed(ie){for(var ne=arguments.length,pe=new Array(ne>1?ne-1:0),oe=1;oe<ne;oe++)pe[oe-1]=arguments[oe];console.groupCollapsed("%c [CmsStore]"+ie,"color: #b88927; font-weight: lighter;",...pe)}}})}var y=e(673951),O=e(865428),P=e(210750),C=e.n(P),A=e(537465),S=e.n(A),T=e(102825);async function s(te){try{await S().setItem(`cmsAppState#${te.cmsEditorState.collectionId}`,te)}catch(ie){console.error("Error saving state to localForage:",ie)}}const v=C()(s,1e3,{trailing:!0});function m(){S().clear()}const I=te=>ie=>ne=>{const pe=te.getState(),oe=ie(ne),q=te.getState(),J=(0,d.getIsPageEditorDirty)(pe),me=(0,d.getIsPageEditorDirty)(q);return me?((0,O.Z)()&&T.default.sendEvent("isEditing",{isDirty:!0}).catch(re=>console.error(`Could not send event through Mobile Web Bridge.
            If you are debugging in a web environment then this should be okay.
            Otherwise, check that the Mobile Web Container library (@sqs/mobile-web container)
            is functioning properly.`,re)),v(te.getState())):J&&!me&&((0,O.Z)()&&T.default.sendEvent("isEditing",{isDirty:!1}).catch(re=>console.error(`Could not send event through Mobile Web Bridge.
            If you are debugging in a web environment then this should be okay.
            Otherwise, check that the Mobile Web Container library (@sqs/mobile-web container)
            is functioning properly.`,re)),v.cancel(),m()),oe};function L(te){const ie=[i.promiseMiddleware,_];return(y.Ay||(0,O.Z)())&&ie.push(I),(0,a.configureStore)({preloadedState:te,reducer:c.Z,middleware:ne=>ne({immutableCheck:!1,serializableCheck:!1}).concat(ie),devTools:!1})}let W;function F(){return W||(W=L()),W}var G=e(350398);const k=r.createContext({});function x(te){let{children:ie}=te;const ne=F();return r.createElement(o.Provider,{store:ne,context:k},ie)}const M=(0,o.createDispatchHook)(k),B=(0,o.createSelectorHook)(k),R=function(te,ie,ne){let pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return pe.context=k,(0,o.connect)(te,ie,ne,pe)};function U(te){function ie(ne){return r.createElement(x,null,r.createElement(te,ne))}return ie.displayName=`withCmsStore(${(0,n.default)(te)})`,ie}function j(){return F().getState()}function $(te,ie){const ne=F();return(0,G.Z)(ne,te,ie)}const ee=te=>F().dispatch(te)},835713:function(b,l,e){"use strict";e.d(l,{CG:()=>f,DJ:()=>d,GG:()=>u,I4:()=>h,h8:()=>_,zt:()=>g});var r=e(719881),o=e(851939),n=e(578451),a=e(712953),i=e(565983),c=e(508417);const u=(0,o.createAction)("cms/aiGeneratedContent/UPDATE_TAKE_RATE"),f=(0,o.createAction)("cms/aiGeneratedContent/INIT_TAKE_RATE_TRACKING"),d=(0,n.B)(p=>{let{recordId:y,trackingPayload:O}=p;return async P=>P(f({recordId:y,trackingPayload:O}))}),h=(0,n.B)(p=>{let{recordId:y,updates:O}=p;return async P=>P(u({recordId:y,updates:O}))}),g=p=>{let{aiGeneratedContent:y}=p;const O={},P=[...y.savedResponses];return Object.keys(y.generatedResponsesMap).forEach(C=>{const A=y.generatedResponsesMap[C];O[C]={...A};const{responses:S={},trackingPayload:T}=A,{idsToSave:s,savedResponses:v}=(0,a.y)({generatedResponses:S,savedResponses:P});s.length>0&&((0,i.aQ)(T),(0,c.A)(s)),v.forEach(m=>P.push(m))}),{generatedResponsesMap:O,savedResponses:P}},_=(0,n.O)("cms/aiGeneratedContent/TRACK_TAKE_RATE",async(p,y)=>{let{getState:O}=y;const P=O();return await g(P)})},217528:function(b,l,e){"use strict";e.d(l,{iG:()=>g,ic:()=>_});var r=e(851939),o=e(35496),n=e.n(o),a=e(247380),i=e.n(a),c=e(456903),u=e(787592),f=e(578451),d=e(203027);const h={sendVerificationEmail:()=>c.default.post("/api/me/verification-email"),markTutorialCompleted:O=>c.default.post("/api/config/MarkMemberTutorialCompleted",{tutorial:O}),loadDiscountEligibility:()=>c.default.get("/api/me/discount-eligibility")},g=(0,r.createAction)("cms/authenticatedAccounts/MARK_TUTORIAL_COMPLETED"),_=(0,f.B)(O=>async P=>(Object.values(n()).includes(O)||(0,u.$e)(C=>{C.setTag("project","seven_one"),C.setTag("owner",i().WEBSITE_EDITOR),C.setTag("tutorialName",O),(0,u.uT)("Invalid tutorial name")}),h.markTutorialCompleted(O).then(()=>{d.Z.syncMarkTutorialCompletedFromRedux(O),P(g({tutorialName:O,isCompleted:!0}))}).catch(C=>((0,u.$e)(A=>{A.setTag("project","seven_one"),A.setTag("owner",i().WEBSITE_EDITOR),(0,u.Tb)(C)}),P(g({tutorialName:O,isCompleted:!1})),{success:!1})))),p=(0,r.createAction)("cms/authenticatedAccounts/SEND_VERIFICATION_EMAIL"),y=(0,f.B)(()=>async O=>(await h.sendVerificationEmail(),O(p())))},121857:function(b,l,e){"use strict";e.d(l,{J4:()=>f,eF:()=>u,wW:()=>d});var r=e(719881),o=e(972242),n=e(35045),a=e(267561),i=e(578451),c=e(938077);const u=(0,i.O)("cms/brandIdentity/LOAD_BRAND_IDENTITY",async(h,g)=>{let{rejectWithValue:_}=g;const p=n.default.getState().get("id"),y=await(0,o.c)({method:"GET",websiteId:p});return"error"in y?_(y.error):y.data}),f=(0,a.w)("cms/brandIdentity/SET_BRAND_IDENTITY"),d=(0,i.O)("cms/brandIdentity/SAVE_BRAND_IDENTITY",async(h,g)=>{let{getState:_,rejectWithValue:p}=g;const y=_(),O=n.default.getState().get("id"),P=(0,c.getHasBrandIdentity)(y);let C;return P?C=await(0,o.c)({method:"PUT",websiteId:O,tone:(0,c.getBrandTone)(y),visualTone:(0,c.getVisualTone)(y),description:(0,c.getBrandDescription)(y),brandName:(0,c.getBrandName)(y),brandId:(0,c.getBrandId)(y),version:(0,c.getBrandVersion)(y)}):C=await(0,o.c)({method:"POST",websiteId:O,tone:(0,c.getBrandTone)(y),visualTone:(0,c.getVisualTone)(y),brandName:(0,c.getBrandName)(y)??n.default.getState().get("siteTitle")}),"error"in C?p(C.error):C.data})},11214:function(b,l,e){"use strict";e.d(l,{P:()=>i,Rd:()=>n,md:()=>o,sj:()=>a});var r=e(851939);const o=(0,r.createAction)("cms/catalogAdmin/SET_CATALOG_ADMIN_MODAL"),n=(0,r.createAction)("cms/catalogAdmin/SET_CATALOG_ADMIN_MODAL_CLOSED"),a=(0,r.createAction)("cms/catalogAdmin/SET_CATALOG_ADMIN_TAXONOMY_NAVIGATION"),i=(0,r.createAction)("cms/catalogAdmin/SET_CATALOG_ADMIN_TAXONOMY_ENGINE")},897820:function(b,l,e){"use strict";e.d(l,{ou:()=>M,BR:()=>qn,oI:()=>Ee,TE:()=>Ke,jP:()=>Pr,qd:()=>ae,hp:()=>Rn,gI:()=>on,qC:()=>me,aX:()=>Ye,Ox:()=>vt,OA:()=>ro,Ps:()=>Yn,VJ:()=>xe,u3:()=>oe,wv:()=>Fe,r7:()=>cn,NF:()=>x,$l:()=>$e,AT:()=>wt,N4:()=>Wt,Rx:()=>In,aN:()=>Zn,is:()=>z,wC:()=>J,pq:()=>Ce,n9:()=>ut,Ic:()=>eo,$p:()=>Je,CU:()=>kt,PV:()=>Ie,Y4:()=>Qt,Yo:()=>jt,bn:()=>ge,ci:()=>Ne,oo:()=>Xt,yt:()=>Yr,Xi:()=>$,xu:()=>ie,pI:()=>j,JA:()=>Ze,_r:()=>ar,hP:()=>Re,D7:()=>H,V5:()=>Ue,Tk:()=>Pt,Kw:()=>Gt,rN:()=>Ft,zG:()=>U,v$:()=>bn,jJ:()=>pe,e:()=>nt,$x:()=>_e,aY:()=>Dn,wR:()=>ee,RX:()=>yt,V9:()=>Jr,cq:()=>Ot,fm:()=>Bn,_z:()=>Mn,jd:()=>k,dC:()=>we,a5:()=>ye,_U:()=>un,kI:()=>qe,Hb:()=>Te,QV:()=>rn,W8:()=>Ae,B9:()=>rt,rl:()=>Ln,pU:()=>He,l2:()=>Ar,q$:()=>Dr,yI:()=>mt,E_:()=>Le,Qe:()=>Pn,Vb:()=>Sr,TK:()=>Rt,kr:()=>fe,hU:()=>Qe,bs:()=>qr,Ks:()=>st,Pj:()=>Tn,n:()=>te,Cm:()=>Vo,GN:()=>Be,U4:()=>ne,bK:()=>ce,tj:()=>At,cF:()=>tn,Ds:()=>Vt,je:()=>q,HT:()=>Bt,Vq:()=>Pe,AZ:()=>$n,Ii:()=>he,Uo:()=>qt,lT:()=>Xe,xZ:()=>jn,S:()=>ze,C3:()=>vr,Rw:()=>R,Kc:()=>fo,hl:()=>sr,j6:()=>Hr,sw:()=>Nn,yd:()=>It,hK:()=>xt,y8:()=>rr,C_:()=>re,XC:()=>ht});var r=e(851939),o=e(155955),n=e(916661),a=e(787592),i=e(929698),c=e(188405),u=e(395542),f=e(938077),d=e(436715),h=e(193213),g=e(484345),_=e(874644),p=e(827302),y=e(233232),O=e(906194),P=e(578451),C=e(871106),A=e(267561),S=e(175424);const s=Mt=>{var ot;const et=(ot=(0,S.V6)())===null||ot===void 0?void 0:ot.innerHeight;if(!Mt||!et)return!1;const St=Mt.getBoundingClientRect();return St.top<0?St.bottom>0:St.top<et},m=Mt=>{const ot=(0,c.jd)(Mt);if(!ot||!s(ot))return null;const et=[...ot.querySelectorAll(`.${d.JN}`)],St=et.findIndex(Ht=>Ht.getBoundingClientRect().top>0);return St===-1?et.length:St};var E=e(554973),I=e(181169),L=e(581729),W=e(950570),F=e(586350),G=e(2477);const k=(0,r.createAction)("cms/editor/SET_HAS_SEVEN_ZERO_DIRTY_ANNOTATION"),x=(0,r.createAction)("cms/editor/SET_HAS_EDITABLE_ANNOTATION"),M=(0,r.createAction)("cms/editor/SET_PRE_SITESTYLES_LOCATION"),B=(0,r.createAction)("cms/editor/EXIT_SITE_STYLES_EDIT_MODE"),R=(0,r.createAction)("cms/editor/EXIT_EDIT_MODE"),U=(0,r.createAction)("cms/editor/SET_FRAME_MODE"),j=(0,P.B)(function(Mt){return(ot,et)=>(a.n_({category:"frame",message:`frameMode changed ${(0,f.getFrameMode)(et())} -> ${Mt}`,level:"debug"}),Mt===_.hn.PREVIEW_LEFT_PANEL&&(0,L.C8)(),ot(U(Mt)))}),$=(0,r.createAction)("cms/editor/SET_COLLECTION_AND_ITEM_ID"),ee=(0,r.createAction)("cms/editor/SET_PERSISTED_COLLECTION"),te=(0,r.createAction)("cms/editor/SET_PERSISTED_COLLECTION_ITEM"),ie=(0,r.createAction)("cms/editor/SET_EDITING_SECTION_AREA"),ne=(0,r.createAction)("cms/editor/SET_IS_HEADER_MODAL_OPEN"),pe=(0,P.B)(function(Mt){return ot=>{if(o.Z.setHeaderModalOpen(Mt),!Mt){const{headerStyle:et,cartIconType:St}=u.Z.getState();(0,g.Ug)(et,St),o.Z.setHeaderStyle(null),o.Z.setCartIconType(null)}return ot(ne(Mt))}}),oe=(0,r.createAction)("cms/editor/SET_SELECTED_HEADER_ELEMENT"),q=(0,P.B)(function(Mt){return ot=>(o.Z.setSelectedHeaderElement(Mt),ot(oe(Mt)))}),J=(0,r.createAction)("cms/editor/SET_OPEN_HEADER_ELEMENT_MODAL"),me=(0,P.B)(function(Mt){return ot=>(o.Z.setOpenHeaderElementModal(Mt),ot(J(Mt)))}),re=(0,r.createAction)("cms/editor/SET_HOVERING_HEADER_ELEMENT"),he=(0,r.createAction)("cms/editor/SET_SELECTED_HEADER_ELEMENT_POSITION"),Ee=(0,P.B)(function(Mt){return ot=>(o.Z.setSelectedHeaderElementPosition(Mt),ot(he(Mt)))}),fe=(0,r.createAction)("cms/editor/BLOCK_EDITOR_DISCLOSURE_NAVIGATED"),H=(0,r.createAction)("cms/editor/BLOCK_EDITOR_OPENED"),z=(0,r.createAction)("cms/editor/BLOCK_EDITOR_CLOSED"),_e=(0,r.createAction)("cms/editor/OPEN_REACT_BLOCK_EDITOR"),ae=(0,r.createAction)("cms/editor/CLOSE_REACT_BLOCK_EDITOR"),ge=(0,r.createAction)("cms/editor/FOCUS_SECTION"),Be=(0,P.B)(function(Mt){return ot=>(o.Z.setHeaderModalOpen(!1),ot(ge(Mt)))}),Ke=(0,r.createAction)("cms/editor/CLEAR_SECTION_FOCUS"),He=(0,r.createAction)("cms/editor/MULTISELECT_BLOCKS"),ye=(0,r.createAction)("cms/editor/START_MULTI_RESIZING"),Le=(0,r.createAction)("cms/editor/STOP_MULTI_RESIZING"),Ue=(0,r.createAction)("cms/editor/FOCUS_BLOCK"),Xe=(0,P.B)(function(Mt){return ot=>{if(n.Z.isSevenOne()){const et=(0,c.F8)(Mt);et&&ot(Be(et))}return ot(Ue(Mt))}}),Fe=(0,r.createAction)("cms/editor/CLEAR_BLOCK_FOCUS"),ht=(0,r.createAction)("cms/editor/SET_LAYERS_PANEL_HOVERED_BLOCK"),Ne=(0,r.createAction)("cms/editor/CLEAR_LAYERS_PANEL_HOVERED_BLOCK"),Ce=(0,P.B)(function(Mt){return(ot,et)=>{Mt&&Mt===(0,f.getFocusedBlockId)(et())&&ot(Fe())}}),we=(0,r.createAction)("cms/editor/START_BLOCK_DRAG"),$e=(0,r.createAction)("cms/editor/END_BLOCK_DRAG"),Ot=(0,P.B)(function(Mt){return ot=>{if(n.Z.isSevenOne()){const et=(0,c.F8)(Mt);et&&ot(Be(et))}ot($e(Mt))}}),Pt=(0,r.createAction)("cms/editor/HIDE_BLOCK_EDITOR"),Ie=(0,P.B)(()=>(Mt,ot)=>{const et=(0,f.getCurrentBlockEditorId)(ot());return Mt(Pt(et))}),Bt=(0,r.createAction)("cms/editor/UNHIDE_BLOCK_EDITOR"),mt=(0,r.createAction)("cms/editor/UPDATE_BLOCK_IDS_AUTO_REORDERING_IN_MOBILE"),rt=(0,r.createAction)("cms/editor/SHOW_ERROR_MODAL"),ce=(0,r.createAction)("cms/editor/DISMISS_ERROR_MODAL"),Re=(0,r.createAction)("cms/editor/START_ARROW_KEYS_MOVE"),nt=(0,r.createAction)("cms/editor/END_ARROW_KEYS_MOVE"),st=(0,r.createAction)("cms/editor/START_SECTION_MOVE"),vt=(0,r.createAction)("cms/editor/FINISH_SECTION_MOVE"),ze=(0,P.B)(()=>(Mt,ot)=>{if((0,y.ly)(ot()))return Mt(vt())}),It=(0,r.createAction)("cms/editor/OPEN_SECTION_SETTINGS"),on=(0,P.B)(Mt=>ot=>{ot((0,F._n)({sectionId:Mt?Mt==null?void 0:Mt.sectionId:""})),ot(It(Mt))}),Pn=(0,r.createAction)("cms/editor/OPEN_LAYOUT_SWITCHER"),Yn=(0,P.B)(Mt=>{let{sectionId:ot}=Mt;return async et=>{await et((0,F.KM)({sectionId:ot})),et(Pn({sectionId:ot})),(0,G.FC)()}}),Ln=(0,r.createAction)("cms/editor/CLOSE_SECTION_SETTINGS"),bn=(0,r.createAction)("cms/editor/CLOSE_LAYOUT_SWITCHER"),ir=Mt=>(0,P.B)(()=>ot=>{(0,W.P_)().getState().isSettingsOpen&&(0,W._w)().setIsSettingsOpen({openSettingsId:null,isSettingsOpen:!1,openSectionToolbarRect:null}),ot(Mt())}),Zn=(0,r.createAction)("cms/editor/BEGIN_RTE_EDITING"),$n=ir(Zn),jt=(0,r.createAction)("cms/editor/ENTER_SITE_STYLES_EDITING"),Rn=ir(jt),jn=(0,r.createAction)("cms/editor/TOGGLE_PREVIEW_MODE"),Tn=(0,P.B)(function(Mt){return ot=>{(0,W.P_)().getState().isSettingsOpen&&(0,W._w)().setIsSettingsOpen({openSettingsId:null,isSettingsOpen:!1,openSectionToolbarRect:null}),ot(jn(Mt))}}),Nn=(0,r.createAction)("cms/editor/HANDLE_MOBILE_DONE_CLICK"),cn=ir(Nn),or=(0,r.createAction)("cms/editor/CLOSE_MOBILE_SECTION_DRAWER"),qn=ir(or),Hr=(0,r.createAction)("cms/editor/CLICK_OUTSIDE_POPOVER"),fo=ir(Hr),Jr=(0,r.createAction)("cms/editor/OPEN_BLOCK_SELECTOR"),ro=(0,P.B)(function(Mt){return(ot,et)=>{const St=(0,y.dm)(et());ot(Jr(Mt));const Ht=et(),er=(0,y.dm)(Ht);if(St!==er){const mn=(0,y.Zx)(Ht),Un=(0,y.fP)(Ht),hr=(0,y.x3)(Ht),br=e(730842).Z;(0,E.sk)({collection:br.getCollection(mn),collectionId:mn,editingSectionArea:Un,itemId:hr})}}}),Xt=(0,r.createAction)("cms/editor/CLOSE_BLOCK_SELECTOR"),Je=(0,r.createAction)("cms/editor/OPEN_LAYERS_PANEL"),At=(0,P.B)(Mt=>ot=>{ot((0,F._n)({sectionId:Mt})),ot(Je(Mt))}),xt=(0,r.createAction)("cms/editor/CLOSE_LAYERS_PANEL"),Qt=(0,r.createAction)("cms/editor/SET_EDITING_ADMIN_SECTION"),qt=(0,r.createAction)("cms/editor/SET_IS_PAGE_ADMIN_OPEN"),Te=(0,r.createAction)("cms/editor/SET_DEVICE_VIEW"),Gt=(0,P.B)(function(Mt,ot,et){return(St,Ht)=>{(0,y.Hl)(Ht())!==Mt&&(ot==="site-header"||ot==="frame-toolbar"?(0,p.vI)(Mt,ot,et):(0,p.no)(Mt,ot,et),St(Te(Mt)))}}),un=(0,P.B)(function(Mt,ot){return(et,St)=>{const Ht=(0,y.Hl)(St())===O.Z.DESKTOP?O.Z.PHONE:O.Z.DESKTOP;et(Gt(Ht,Mt,ot))}}),Vt=(0,r.createAction)("cms/editor/SET_DEVICE_VIEW_TRANSITIONING"),Dn=(0,r.createAction)("cms/editor/SET_IS_REORDERING_MOBILE_BLOCK"),Wt=(0,r.createAction)("cms/editor/SET_IS_DRAGGING_FE_ROW_HANDLE"),Pe=(0,P.B)(function(Mt){return(ot,et)=>{Mt!==(0,y.xu)(et())&&ot(Wt(Mt))}}),xe=(0,r.createAction)("cms/editor/SET_HAS_ACCESS_TO_EDIT_CURRENT_PAGE"),Ae=(0,r.createAction)("cms/editor/HIDE_ANNOTATION_CONTROLLERS"),qe=(0,r.createAction)("cms/editor/UNHIDE_ANNOTATION_CONTROLLERS"),wt=(0,r.createAction)("cms/editor/COPY_BLOCKS_TO_CLIPBOARD"),kt=(0,P.B)(function(Mt){return(ot,et)=>{if(Mt.length===0)return;const St=et(),Ht=(0,f.getFluidEngineSectionContainingBlock)(St,Mt[0]);if(!Ht)return;const er=(0,d.S6)(Ht.fluidEngineContext.gridContents),Mr=Mt.map(mn=>er[mn]);(0,E.T0)({blockIds:Mt,isKeyboard:!0,deviceView:(0,y.Hl)(St)}),ot(wt({copiedBlocks:Mr,sectionId:(0,y._6)(St),pageId:(0,y.Zx)(St)}))}}),ut=(0,r.createAction)("cms/editor/CLEAR_BLOCK_CLIPBOARD"),Ft=(0,A.w)("cms/editor/PASTE_BLOCKS_TO_SECTION"),tn=(0,P.B)(function(Mt){return async(ot,et)=>{const St=et(),Ht=(0,f.getSectionEditContextById)(St,Mt);if(!Ht||Ht.sectionName!==C.gu)return;const er=m(Mt),{copiedBlocks:Mr,origin:mn}=(0,y.X3)(St);if(!Mr||!mn||er===null)return;const Un=Mt===mn.sectionId?"within-section":(0,y.Zx)(St)===mn.pageId?"between-section":"new-page",{newFluidEngineContext:hr,blockIds:br}=await(0,h.VK)({fluidEngineContext:Ht.fluidEngineContext,blockClipboardBlocks:Mr,firstVisibleRow:er,useDuplicatePositioning:Un==="within-section"&&Mr.some(Kr=>s((0,i.HF)((0,h.IF)(Kr))))}),io=ot(Ft({blockIds:br,sectionId:Mt,fluidEngineContext:hr}));if((0,E.BB)({blocks:Mr,deviceView:(0,y.Hl)(St),isKeyboard:!0,pasteDistance:Un}),br.length===1){const Kr=(0,y.Ut)(St,Mt),xo=new Set([...Array.from(Kr),...br]);ot(mt({sectionId:Mt,blockIds:xo}))}return io}}),In=(0,A.w)("cms/editor/DELETE_BLOCKS"),rr=(0,P.B)(function(Mt){let{sectionId:ot,blockIds:et,isKeyboard:St}=Mt;return async(Ht,er)=>{const Mr=er(),mn=(0,f.getSectionEditContextById)(Mr,ot);if(!mn||mn.sectionName!==C.gu||!et||et.length<1)return;const Un=(0,y.Zx)(Mr)??"";(0,E.TA)(et,St,ot,Un);const hr=await(0,d.CQ)({fluidEngineContext:mn.fluidEngineContext,blockIds:et}),br=Ht(In({blockIds:et,sectionId:ot,fluidEngineContext:hr}));return Ht(mt({sectionId:ot,blockIds:(0,d.o)({blockIdSet:(0,y.Ut)(Mr,ot),newGridContents:hr.gridContents,oldGridContents:mn.fluidEngineContext.gridContents})})),br}}),Sr=(0,A.w)("cms/editor/DUPLICATE_BLOCKS"),Yr=(0,P.B)(function(Mt){let{sectionId:ot,blockIds:et,sourceAction:St,deviceKey:Ht}=Mt;return async(er,Mr)=>{const mn=Mr(),Un=(0,f.getSectionEditContextById)(mn,ot);if(!Un||Un.sectionName!==C.gu||!et||et.length<1)return;const hr=St==="keyboard";(0,E.d0)({blockIds:et,displayName:Ht,indirectObjectValue:St,isKeyboard:hr});const{newFluidEngineContext:br,blockIds:io}=await(0,h.yt)({fluidEngineContext:Un.fluidEngineContext,originalBlockIds:et}),Kr=er(Sr({blockIds:io,sectionId:ot,fluidEngineContext:br})),xo=(0,y.Ut)(mn,ot),Ho=(0,d.o)({blockIdSet:xo,oldGridContents:Un.fluidEngineContext.gridContents,newGridContents:br.gridContents});return er(mt({sectionId:ot,blockIds:Ho})),Kr}}),Pr=(0,r.createAction)("cms/editor/SET_COLLAPSED_NAV_GROUP"),Mn=(0,P.B)(function(Mt){let{navGroupId:ot,manualValue:et}=Mt;return(St,Ht)=>{if(et!==void 0)return St(Pr({navGroupId:ot,value:et}));const er=(0,f.getCollapsedNavGroup)(ot)(Ht());return St(Pr({navGroupId:ot,value:!er}))}}),sr=(0,r.createAction)("cms/editor/FRAME_LOCATION_LOADING"),Ar=(0,r.createAction)("cms/editor/FRAME_LOCATION_FINISHED"),vr=(0,r.createAction)("cms/editor/SET_IS_ADD_PAGE_MODAL_OPEN"),qr=(0,r.createAction)("cms/editor/SET_SECTION_ID_WITH_RTE_FOCUSED"),Dr=(0,r.createAction)("cms/editor/TOGGLE_IS_FLUID_ENGINE_DEBUG_MODE_ACTIVE"),eo=(0,r.createAction)("cms/editor/CLOSE_EDIT_MODE_DISCARD_CONFIRMATION"),Vo=(0,r.createAction)("cms/editor/OPEN_EDIT_MODE_DISCARD_CONFIRMATION"),Bn=(0,P.B)(function(){let Mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ot=>{(0,I.K)(Mt),ot(Vo())}}),ar=(0,r.createAction)("cms/editor/SET_IS_MOBILE_DRAWER_EXPANDED"),rn=(0,r.createAction)("cms/editor/SET_IS_SITE_FRAME_OVERLAY_OPEN"),Rt=(0,r.createAction)("cms/editor/SET_IS_MOBILE_HEADER_MENU_OVERLAY_OPEN"),Qe=(0,r.createAction)("cms/editor/SET_IS_CUSTOMER_ACCOUNT_ALERT_OPEN"),Ye=(0,r.createAction)("cms/editor/SET_SHOW_CUSTOMER_ACCOUNT_REMOVAL_WARNING"),yt=(0,r.createAction)("cms/editor/SET_HAS_LAST_CHANGED_GRID_SETTING"),Ze=(0,r.createAction)("cms/editor/SET_IS_CHANGING_HEADER_HEIGHT")},850255:function(b,l,e){"use strict";e.d(l,{KX:()=>a,Yw:()=>n,lW:()=>i});var r=e(986091),o=e(851939);const n=r.ActionCreators.undo,a=r.ActionCreators.redo,i=(0,o.createAction)("cms/undoStack/END_GROUP")},934965:function(b,l,e){"use strict";e.d(l,{R:()=>o});var r=e(267561);const o=(0,r.w)("cms/collectionItem/UPDATE_COLLECTION")},294646:function(b,l,e){"use strict";e.d(l,{i:()=>o});var r=e(267561);const o=(0,r.w)("cms/collectionItem/UPDATE_COLLECTION_ITEM")},1531:function(b,l,e){"use strict";e.d(l,{CO:()=>u,E_:()=>c,d_:()=>a,jC:()=>g,ki:()=>i,oO:()=>_,oP:()=>p,p3:()=>h,tW:()=>d,u1:()=>y,uB:()=>n,xm:()=>f});var r=e(267561),o=e(851939);const n=(0,r.w)("cms/colors/UPDATE_COLOR_PALETTE"),a=(0,r.w)("cms/colors/UPDATE_THEME_PALETTE_MAPPING"),i=(0,r.w)("cms/colors/UPDATE_THEME_MAPPING_ALPHA"),c=(0,r.w)("cms/colors/UPDATE_THEME_CUSTOM_COLOR"),u=(0,r.w)("cms/colors/RESET_THEME"),f=(0,r.w)("cms/colors/RESET_THEME_WITH_FILTERS"),d=(0,r.w)("cms/colors/RESET_ALL_THEMES"),h=(0,r.w)("cms/colors/RESET_ALL_THEMES_WITH_FILTERS"),g=(0,o.createAction)("cms/colors/SET_ACTIVE_THEME_NAME"),_=(0,o.createAction)("cms/colors/SET_IS_COLORS_PANEL_OPEN"),p=(0,o.createAction)("cms/colors/SET_IS_THEME_EDITOR_OPEN"),y=(0,o.createAction)("cms/colors/FILTER_BY_VARIABLE_NAMES")},561755:function(b,l,e){"use strict";e.d(l,{FC:()=>g,Dd:()=>h,r6:()=>f,iS:()=>d});var r=e(851939),o=e(938077),n=e(456903);const a="/api/eu-cookie-settings-v2";function i(_){let{position:p,themeName:y}=_;return n.default.put(`${a}/styles`,{bannerPositionForSevenOneSite:p,themeNameForSevenOneSite:y}).then(O=>{let{data:P}=O;return P})}var c=e(578451),u=e(267561);const f=(0,u.w)("cms/cookie-banner/SET_COOKIE_BANNER_POSITION"),d=(0,u.w)("cms/cookie-banner/SET_COOKIE_BANNER_THEME"),h=(0,r.createAction)("cms/cookie-banner/SAVE_COOKIE_BANNER_SUCCESS"),g=(0,c.B)(()=>async(_,p)=>{try{const y=p();if((0,o.getIsCookieBannerDirty)(y)){const O=(0,o.getCookieBannerPosition)(y),P=(0,o.getCookieBannerTheme)(y);if(!O)return;await i({position:O,themeName:P||null})}return _(h())}catch{}})},230924:function(b,l,e){"use strict";e.d(l,{I:()=>f,R:()=>u});var r=e(851939),o=e(861749),n=e(247380),a=e.n(n),i=e(787592),c=e(578451);const u=(0,r.createAction)("cms/extensions/LOAD_EXTENSIONS_DATA"),f=(0,c.B)(()=>async d=>{let h;try{const{data:p}=await o.Z.getStatus();h=p.isWeglotConnected}catch(p){(0,i.$e)(y=>{y.setTag("project","multilingual-cms"),y.setTag("owner",a().I18N_PRODUCT),(0,i.Tb)(p)}),h=!1}d(u({isMultilingualConnected:h,requiresFullPreviewRefresh:h}))})},330718:function(b,l,e){"use strict";e.d(l,{OG:()=>fe,fc:()=>q,cR:()=>J,ZT:()=>j,Ce:()=>ne,Gr:()=>pe,Qy:()=>U,Q7:()=>me,ex:()=>ee,u3:()=>he,_4:()=>$,pX:()=>re,eX:()=>Ee,Bz:()=>H,Tc:()=>oe,_M:()=>ie,I:()=>te});var r=e(419467),o=e(851939),n=e(86851),a=e(365270),i=e(734526),c=e(267561),u=e(578451),f=e(938077),d=e(858579),h=e(784874),g=e(929698),_=e(436715),p=e(145332),y=e(911896),O=e(78936),P=e(193213),C=e(808145),A=e(6471);function S(z){let{groupBlockIds:_e,blocksDraft:ae,deviceKey:ge,originalBlocks:Be}=z;const Ke=(0,A.h6)({blockIds:Array.from(_e),blocks:ae,deviceKey:ge});if(Ke.length===0)return 0;let He=0;for(const ye of ae){const Le=(0,P.IF)(ye);if(!_e.has(Le))continue;const Ue=Be.find(Xe=>(0,P.IF)(Xe)===Le);if(!Ue)throw new Error("Could not find original block in grid");for(const Xe of Ke){const Fe=Be.find(ht=>(0,P.IF)(ht)===(0,P.IF)(Xe));if(!Fe)throw new Error("Could not find original intersecting block in grid");(0,A.ln)(ye.layout[ge],Xe.layout[ge])&&!(0,A.ln)(Ue.layout[ge],Fe.layout[ge])&&(He=Math.max(He,Xe.layout[ge].end.y+1-ye.layout[ge].start.y))}}return He}const{DESKTOP:T,MOBILE:s}=a.FluidEngineBreakpoints;function v(z,_e,ae){return(0,r.range)(z.start[ae],z.end[ae]+1).some(ge=>_e.has(ge))}function m(z){let{affectedRows:_e,affectedBlockLayout:ae,initialLayout:ge,displacement:Be}=z,Ke=!0,He=!0;ae&&(Ke=(0,_.i_)(ae,ge,1),He=(0,_.v8)(ae,ge));const ye={...ge};for(const Le of _e)Le>=ge.start.y&&Le<=ge.end.y+1?Ke?ye.end.y+=Be:He&&(ye.start.y+=Be,ye.end.y+=Be):Le<=ge.start.y&&(ye.start.y+=Be,ye.end.y+=Be);return ye}function E(z){let{fluidEngineContext:_e,deviceKey:ae,stretchedRows:ge,affectedBlockLayout:Be=null,containerNode:Ke,unstretchedRowHeight:He,rowGapSize:ye}=z;if(Ke)return(0,d.ZP)(_e,Le=>{const Ue=new Set,Xe=new Set;for(const we of Le.gridContents){const $e=we.layout[ae];if(!v($e,ge,"y")||!$e.visible)continue;const Ot=(0,g.HF)((0,P.IF)(we));if(!Ot)continue;const Pt=$e.end.y-$e.start.y,Bt=Math.max((0,O.r2)(Ot,we.content.value,He,ye)-1,Pt)-Pt,mt=we.layout[ae].end.y;if(Bt>0)for(let rt=mt+1;rt<=mt+Bt;rt++)Xe.add(rt);else if(Bt<0)for(let rt=mt;rt>=mt+Bt;rt--)Ue.add(rt)}const Fe=Array.from(Ue).sort((we,$e)=>we-$e),ht=Array.from(Xe).sort((we,$e)=>we-$e);for(const we of Le.gridContents){const $e=we.layout[ae];if(Fe.length>0){const Ot=m({affectedBlockLayout:Be,affectedRows:Fe,initialLayout:$e,displacement:-1});we.layout[ae].start.y=Ot.start.y,we.layout[ae].end.y=Ot.end.y}else if(ht.length>0){const Ot=m({affectedBlockLayout:Be,affectedRows:ht,initialLayout:$e,displacement:1});we.layout[ae].start.y=Ot.start.y,we.layout[ae].end.y=Ot.end.y}}const Ne=(0,C.J)(_e.gridSettings.breakpointSettings,_e.gridContents,T),Ce=(0,C.J)(_e.gridSettings.breakpointSettings,_e.gridContents,s);Le.gridSettings.breakpointSettings=(0,C.L)(Le.gridContents,Le.gridSettings.breakpointSettings,Ne,Ce)})}function I(z){let{fluidEngineContext:_e,deviceKey:ae,unstretchedRowHeight:ge,rowGapSize:Be}=z;return(0,d.ZP)(_e,Ke=>{const He=(0,P.Pi)(Ke.gridContents,ae);for(let ye=0;ye<He.length;ye++){const Le=He[ye],Ue=Le.layout[ae],Xe=(0,P.IF)(Le),Fe=(0,g.HF)(Xe),ht=Ue.end.y-Ue.start.y+1,Ne=(0,O.i0)(Fe,Le.content.value,ge,Be),Ce=Ne!==0?Ne:ht,we=Ce>ht,$e=He.every(Pt=>{if((0,P.IF)(Pt)===Xe)return!0;const Ie=Pt.layout[ae];return!(0,_.Zg)(Ue,Ie)});if(we&&$e){Ue.end.y=Ue.start.y+Ce-1;const Pt=Ce-ht,Ie=He.slice(ye+1);for(const Bt of Ie){const mt=Bt.layout[ae];mt.start.y+=Pt,mt.end.y+=Pt}Ke.gridSettings.breakpointSettings[ae].rows+=Pt}}})}function L(z){let{fluidEngineContext:_e,containerNode:ae,deviceKey:ge,unstretchedRowHeight:Be,rowGapSize:Ke}=z;const He=(0,p.Z)({containerNode:ae});if(!He)return;const ye=1,Le=new Set;return He.rows.forEach((Ue,Xe)=>{Math.floor(Ue.clientHeight-ye)>Be&&Le.add(Xe)}),E({fluidEngineContext:_e,deviceKey:ge,stretchedRows:Le,containerNode:ae,unstretchedRowHeight:Be,rowGapSize:Ke})}function W(z){let{fluidEngineContext:_e,containerNode:ae,blockId:ge,deviceKey:Be,unstretchedRowHeight:Ke,rowGapSize:He,columnGapSize:ye,columnWidth:Le,growOrShrink:Ue,contentHeightDifferenceInPixels:Xe}=z;const Fe=_e.gridContents.findIndex(vt=>(0,P.IF)(vt)===ge),ht=_e.gridContents[Fe],Ne=(0,g.HF)(ge);if(Fe<0||!ht||!Ne)return;let Ce=_e,we=!1;const{start:{x:$e,y:Ot},end:{x:Pt,y:Ie}}=ht.layout[Be],Bt=(0,P.ck)(ht);if(Bt===h.Z.BUTTON){const vt=(0,O.uP)(Ne,Bt,Le,ye),ze=Pt-$e+1;if(vt>ze){const on=$e+vt-1;Ce=(0,d.ZP)(Ce,Pn=>{Pn.gridContents[Fe].layout[Be].end.x=on}),we=!0}}const mt=Ie-Ot+1,rt=(0,O.i0)(Ne,ht.content.value,Ke,He),ce=rt!==0?rt:mt,Re=ce>mt,nt=ce<mt,st=new Set((0,r.range)(Ot,Ie+1));if(Re&&Ue==="grow"){const vt=E({fluidEngineContext:_e,deviceKey:Be,stretchedRows:st,containerNode:ae,unstretchedRowHeight:Ke,rowGapSize:He,affectedBlockLayout:ht.layout[Be]});vt&&(Ce=vt,we=!0)}else if(nt&&Ue==="shrink"){let vt=Math.max(0,(0,O.Wx)(Xe,Ke,He));vt=vt>=mt?mt-1:vt;const ze=new Set;let It=vt;Ce=(0,d.ZP)(Ce,on=>{const Pn=on.gridContents[Fe],Yn=Pn.layout[Be];Yn.end.y-=vt;const Ln=Yn.end.y+1;for(const bn of on.gridContents){if((0,P.IF)(bn)===ge||!(0,g.HF)((0,P.IF)(Pn)))continue;const Zn=bn.layout[Be],$n=Zn.end.y>=Ln,jt=Zn.start.y-Ln>0;$n&&jt&&(ze.add((0,P.IF)(bn)),Zn.start.y-It<=Yn.start.y&&(It=Math.min(It,Zn.start.y-Ln)))}}),we=!0,Ce=(0,y.UI)({fluidEngineContext:Ce,deviceKey:Be,startRow:Ot,endRow:Ie,startCol:$e,endCol:Pt}),Ce=(0,d.ZP)(Ce,on=>{for(const Ln of on.gridContents){const bn=(0,P.IF)(Ln);if(!ze.has(bn))continue;const ir=_e.gridContents.find(jt=>(0,P.IF)(jt)===bn);if(!ir)throw new Error("Could not find original block in grid");const Zn=ir.layout[Be].start.y-Ln.layout[Be].start.y;It-Zn>0&&(Ln.layout[Be].start.y-=It-Zn,Ln.layout[Be].end.y-=It-Zn)}const Pn=S({groupBlockIds:ze,blocksDraft:on.gridContents,deviceKey:Be,originalBlocks:_e.gridContents});if(Pn>0)for(const Ln of on.gridContents){const bn=(0,P.IF)(Ln);if(!ze.has(bn))continue;if(!_e.gridContents.find(Zn=>(0,P.IF)(Zn)===bn))throw new Error("Could not find original block in grid");Ln.layout[Be].start.y+=Pn,Ln.layout[Be].end.y+=Pn}const Yn=(0,C.J)(_e.gridSettings.breakpointSettings,_e.gridContents,Be);on.gridSettings.breakpointSettings[Be].rows=Math.max(on.gridSettings.breakpointSettings[Be].rows-vt,(0,P.AQ)(on.gridContents,Be)+1+Yn)})}if(we)return Ce}var F=e(897820),G=e(586350),k=e(213552),x=e(765724);const{setJsonPointerValue:M}=n.jsonPointerUtils,{DESKTOP:B,MOBILE:R}=a.FluidEngineBreakpoints,U=(0,c.w)("cms/sections/FLUID_ENGINE_MOVE_BLOCK_LAYER"),j=(0,u.B)(function(z){let{sectionId:_e,deviceKey:ae,direction:ge}=z;return(Be,Ke)=>{if((0,f.getFocusedSectionId)(Ke())!==_e)return;const ye=(0,f.getFocusedBlockId)(Ke());ye&&Be(U({sectionId:_e,blockId:ye,deviceKey:ae,direction:ge}))}}),$=(0,c.w)("cms/sections/FLUID_ENGINE_UPDATE_Z_INDEX_FROM_BLOCK_ID_ORDER"),ee=(0,u.B)(function(z){let{sectionId:_e,deviceKey:ae,updatedBlockOrder:ge,oldIndex:Be,newIndex:Ke,blockId:He}=z;return(ye,Le)=>{const Ue=(0,f.getFluidEngineContextBySectionId)(Le(),_e);if(ye((0,G._n)({sectionId:_e})),Ue&&Ue.gridContents){const Xe=Ue.gridContents.find(Ne=>(0,P.IF)(Ne)===He),Fe=Xe?Xe.content.value.type:"",ht=i.Z.BlockTypeNames[Fe];x.p8.track({action:x.kA.REORDER,event_name:"UserReordersBlockLayer",object_type:x.W9.BLOCK,display_mode:ae===B?"desktop":"mobile",num_blocks:Ue.gridContents.length,block_id:He,selected_order_index:Be,object_value:Ke.toString(),block_type:ht})}ye($({sectionId:_e,deviceKey:ae,updatedBlockOrder:ge}))}}),te=(0,c.w)("cms/sections/FLUID_ENGINE_TOGGLE_BLOCK_STICKY_SCROLL"),ie=(0,u.B)(function(z){let{enabled:_e,position:ae,offset:ge,sectionId:Be,deviceKey:Ke}=z;return(He,ye)=>{const Le=(0,f.getFocusedBlockId)(ye());!Be||!Le||He(te({enabled:_e,position:ae,offset:ge,sectionId:Be,blockId:Le,deviceKey:Ke}))}}),ne=(0,c.w)("cms/sections/FLUID_ENGINE_MOVE_GROUP_BLOCK_LAYER"),pe=(0,c.w)("cms/sections/FLUID_ENGINE_SET_VERTICAL_ALIGNMENT"),oe=(0,c.w)("cms/sections/FLUID_ENGINE_SET_VISIBILITY"),q=(0,u.B)(function(z){let{blockIds:_e,sectionId:ae,visible:ge,deviceKey:Be,isTriggeredByKeyboard:Ke}=z;return(He,ye)=>{const Le=(0,f.getFluidEngineContextBySectionId)(ye(),ae);if(He((0,G._n)({sectionId:ae})),Le&&Le.gridContents){const Ue=Le.gridContents.reduce((we,$e)=>{const Ot=(0,P.IF)($e),Pt=$e.content.value.type;return we[Ot]=Pt,we},{}),Fe=(0,P.vT)(Le.gridContents,Be).reverse().map(P.IF),ht=_e.map(we=>Fe.indexOf(we)),Ne=_e.map(we=>i.Z.BlockTypeNames[Ue[we]]),Ce=[];for(let we=0;we<_e.length;we++){const $e={};$e.block_id=_e[we],$e.block_type=Ne[we],$e.selected_order_index=ht[we],Ce.push($e)}x.p8.track({action:x.kA.TOGGLE,event_name:"UserTogglesBlockVisibility",object_type:x.W9.BLOCK,display_mode:Be===B?"desktop":"mobile",is_keyboard_shortcut:Ke,num_blocks:Le.gridContents.length,is_hidden:!ge,section_content:Ce})}if(Le){const Ue=(0,_.Kh)({fluidEngineContext:Le,visible:ge,blockIds:_e,deviceKey:Be});if(!ge){const Xe=ye(),Fe=(0,f.getAllSelectedBlockIds)(Xe);if(Fe){const ht=Fe.filter(Ne=>!_e.includes(Ne));if(ht.length>1){const Ne=(0,_.UQ)({blocks:Ue.gridContents,blockIds:_e});He((0,F.pU)({sectionId:ae,blockIds:ht,initialLayout:Ne}))}else ht.length===1?He((0,F.lT)(ht[0])):He((0,F.wv)())}}He(oe({sectionId:ae,fluidEngineContext:Ue}))}}}),J=(0,c.w)("cms/sections/FLUID_ENGINE_SWAP_BLOCK"),me=(0,c.w)("cms/sections/FLUID_ENGINE_MULTISELECT_CONTAINER_ALIGNMENT"),re=(0,o.createAction)("cms/sections/FLUID_ENGINE_AUTO_UPDATE_GRID_FROM_CONTENT_CHANGE"),he=(0,u.B)(z=>{let{containerNode:_e,deviceKey:ae,sectionId:ge,unstretchedRowHeight:Be,rowGapSize:Ke}=z;return(He,ye)=>{const Le=(0,f.getFluidEngineContextBySectionId)(ye(),ge);if(!Le)return null;const Ue=(0,k.Z)()?I({fluidEngineContext:Le,deviceKey:ae,unstretchedRowHeight:Be,rowGapSize:Ke}):L({fluidEngineContext:Le,containerNode:_e,deviceKey:ae,unstretchedRowHeight:Be,rowGapSize:Ke});return Ue?(He(re({sectionId:ge,updatedFluidEngineContext:Ue})),Ue):Le}}),Ee=(0,u.B)(z=>{let{sectionId:_e,deviceKey:ae,getUpdate:ge}=z;return(Be,Ke)=>{const He=Ke(),ye=(0,f.getFluidEngineContextBySectionId)(He,_e);if(!ye)throw new Error("No fluid engine edit context found for given ID");const{gridContents:Le}=ye,Ue=ge(ye);if(!Ue)return ye;const{newValue:Xe,meta:Fe}=Ue;let ht={...Xe};const{gridContents:Ne}=ht,Ce=ae===R&&Ne.length===Le.length&&!(0,_.Wb)(Ne,Le),we=(0,f.getBlockIdsAutoReorderingInMobile)(He,_e),$e=Ce?new Set:(0,_.o)({blockIdSet:we,newGridContents:Ne,oldGridContents:Le});(0,r.isEqual)($e,we)||Be((0,F.yI)({sectionId:_e,blockIds:$e})),ae===B&&$e.size>0&&(ht={...ht,gridContents:(0,_.Ji)({blocks:Ne,blockIdsToMove:$e})}),ht={...ht,gridContents:(0,P.pV)(ht.gridContents)};const Ot=ht.gridSettings.breakpointSettings[ae].rows;return ht=M(ht,`#/gridSettings/breakpointSettings/${ae}/rows`,Math.max(Ot,(0,P.AQ)(ht.gridContents,ae)+1)),Fe.deviceKey=ae,Be((0,G.yV)({sectionId:_e,fluidEngineContext:ht},Fe)),ht}}),fe=(0,u.B)(z=>{let{sectionId:_e,blockId:ae,growOrShrink:ge,containerNode:Be,deviceKey:Ke,unstretchedRowHeight:He,rowGapSize:ye,columnGapSize:Le,columnWidth:Ue,contentHeightDifferenceInPixels:Xe}=z;return(Fe,ht)=>{const Ne=(0,f.getFluidEngineContextBySectionId)(ht(),_e);if(!Ne)throw new Error("No value found for Fluid Engine section with given ID");if(!Be)return Ne;const we=W({...{fluidEngineContext:Ne,containerNode:Be,deviceKey:Ke,unstretchedRowHeight:He,rowGapSize:ye,columnGapSize:Le},blockId:ae,columnWidth:Ue,growOrShrink:ge,contentHeightDifferenceInPixels:Xe});we&&Fe(re({sectionId:_e,updatedFluidEngineContext:we}))}}),H=(0,u.B)(z=>{let{sectionId:_e,endingBlockPosition:ae,selectedBlockIds:ge,deviceKey:Be}=z;return async(Ke,He)=>{const ye=He(),Le=(0,f.getFluidEngineContextBySectionId)(ye,_e);if(!Le)throw new Error("Could not find edit context for Fluid Engine section with given ID");const Ue=new Set((0,f.getSectionMultiselectedBlockIds)(ye,_e)),Xe=Le.gridContents.reduce((Ce,we)=>(Ue.has((0,P.IF)(we))&&Ce.push(we.layout[Be]),Ce),[]),Fe=(0,_.qY)(Xe),{newFluidEngineContext:ht,blockIds:Ne}=await(0,P.Ux)({fluidEngineContext:Le,currentPosition:ae,originalBlockIds:ge,getMultiselectionArea:()=>Fe});return Ke(Ee({sectionId:_e,deviceKey:Be,getUpdate:()=>({newValue:ht,meta:{sourceFluidEngineAction:"user-duplicated-block-by-drag"}})})),{newBlockIds:Ne}}})},678269:function(b,l,e){"use strict";e.d(l,{$P:()=>_,FY:()=>o,Fd:()=>g,IA:()=>d,JU:()=>f,Vz:()=>a,_T:()=>h,a_:()=>i,h6:()=>c,iZ:()=>n,zH:()=>u});var r=e(267561);const o=(0,r.w)("cms/fonts/UPDATE_ACTIVE_FONT_PACK"),n=(0,r.w)("cms/fonts/SWITCH_ACTIVE_FONT_PACK"),a=(0,r.w)("cms/fonts/UPDATE_BASE_FONT_SIZE"),i=(0,r.w)("cms/fonts/UPDATE_MASTER_FONT_VALUE"),c=(0,r.w)("cms/fonts/UPDATE_MASTER_SIZE_VALUE"),u=(0,r.w)("cms/fonts/UPDATE_FONT_MAPPING"),f=(0,r.w)("cms/fonts/UPDATE_SIZE_MAPPING"),d=(0,r.w)("cms/fonts/UPDATE_CUSTOM_FONT_VALUE"),h=(0,r.w)("cms/fonts/UPDATE_CUSTOM_SIZE_VALUE"),g=(0,r.w)("cms/fonts/RESET_ACTIVE_FONT_PACK"),_=(0,r.w)("cms/fonts/RESET_FONT_MAPPINGS")},106393:function(b,l,e){"use strict";e.d(l,{UD:()=>n,fI:()=>o});var r=e(851939);const o=(0,r.createAction)("fundManager/deleteFundModal/OPEN_DELETE_FUND_MODAL"),n=(0,r.createAction)("fundManager/deleteFundModal/CLOSE_DELETE_FUND_MODAL"),a=(0,r.createAction)("fundManager/deleteFundModal/DELETE_FUND_SUCCESS")},58267:function(b,l,e){"use strict";e.d(l,{F:()=>n,s:()=>a});var r=e(144775),o=e(851939);const n=(0,o.createAction)("fundManager/entryPoint/setFundManagerEntryPoint"),a=(0,o.createAction)("fundManager/entryPoint/clearFundManagerEntryPoint")},991681:function(b,l,e){"use strict";e.d(l,{Y:()=>a,s:()=>n});var r=e(144775),o=e(851939);const n=(0,o.createAction)("fundManager/errorState/setErrorState"),a=(0,o.createAction)("fundManager/errorState/clearErrorState")},953847:function(b,l,e){"use strict";e.d(l,{C:()=>n,p:()=>o});var r=e(851939);const o=(0,r.createAction)("fundManager/fundEditor/openFundEditorModal"),n=(0,r.createAction)("fundManager/fundEditor/closeFundEditorModal")},145092:function(b,l,e){"use strict";e.d(l,{Co:()=>r.C,Fl:()=>a.F,UD:()=>o.UD,Y$:()=>n.Y,Y8:()=>n.s,fI:()=>o.fI,pI:()=>r.p});var r=e(953847),o=e(106393),n=e(991681),a=e(58267)},1733:function(b,l,e){"use strict";e.d(l,{A:()=>i,i:()=>a});var r=e(818584),o=e.n(r),n=e(267561);const a=(0,r.defineAction)("cms/header/LOAD_HEADER_NAV",c=>c),i=(0,n.w)("cms/header/UPDATE_HEADER_NAV")},682395:function(b,l,e){"use strict";e.d(l,{l:()=>n});var r=e(267561),o=e(505739);const n=(0,r.w)("cms/header/SET_HEADER_WEBSITE_DATA",o.Z.DEBOUNCED)},267561:function(b,l,e){"use strict";e.d(l,{w:()=>n});var r=e(851939),o=e(92485);function n(a,i){return(0,r.createAction)(a,function(u,f){const d=(0,o.i)()&&((f==null?void 0:f.undoable)??!0);return{payload:u,meta:{undoable:d,grouping:i,timestamp:Date.now(),...f}}})}},2395:function(b,l,e){"use strict";e.d(l,{Of:()=>d,Rm:()=>u,SZ:()=>f,YR:()=>P,_E:()=>y,ct:()=>C,gJ:()=>O,rV:()=>p});var r=e(851939),o=e(456903),n=e(938077),a=e(567248),i=e(578451);const c=A=>`${A.websiteId}:${A.collectionId}:${A.itemId}`,u=(0,r.createAction)("cms/itemCatalog/OPEN_ITEM_CATALOG"),f=(0,r.createAction)("cms/itemCatalog/CLOSE_ITEM_CATALOG"),d=(0,r.createAction)("cms/itemCatalog/TOGGLE_CATALOG_TYPE"),h=A=>o.default.post("/api/catalog-preview/items",A),g=async A=>{const S=(await h(A)).data,T=new Map;for(const s of S)T.set(c(s),s);return T},_=async A=>{const S=(await A()).data,T=await g(S),s=[];for(const v of S){const m=T.get(c(v));m?s.push({...v,...m,id:v.itemId,html:(0,a.QO)(m.html,v.itemId,v.websiteId,m.isFolder)}):console.warn("Omitting item catalog entry because preview isn't available",v)}return s},p=(0,r.createAsyncThunk)("cms/itemCatalog/LOAD_LAYOUT_ENGINE_CATALOG",()=>Promise.resolve({})),y=(0,r.createAsyncThunk)("cms/itemCatalog/LOAD_LEGACY_FLUID_ENGINE_CATALOG",()=>_(()=>o.default.get("/api/item-catalog/fluid-engine"))),O=(0,r.createAsyncThunk)("cms/itemCatalog/LOAD_LEGACY_LAYOUT_ENGINE_CATALOG",()=>_(()=>{const A="/api/item-catalog/layout-engine";return o.default.get(A)})),P=(0,r.createAsyncThunk)("cms/itemCatalog/LOAD_FLUID_ENGINE_CATALOG",()=>Promise.resolve({})),C=(0,i.B)(A=>(S,T)=>{const s=T(),v=typeof A=="boolean"?A:(0,n.getIsItemCatalogFluidEngine)(s);v&&!(0,n.getIsFluidEngineItemCatalogLoaded)(s)?S(y()):!v&&!(0,n.getIsLayoutEngineItemCatalogLoaded)(s)?S(O()):S(d(v))})},117384:function(b,l,e){"use strict";e.d(l,{D2:()=>O,Hj:()=>F,NG:()=>S,RQ:()=>v,To:()=>P,V:()=>g,_B:()=>T,_M:()=>A,ac:()=>x,d6:()=>W,rH:()=>G,sv:()=>s,wG:()=>m,zJ:()=>k});var r=e(851939),o=e(456903),n=e(750954),a=e.n(n),i=e(938077),c=e(567248),u=e(578451),f=e(746460),d=e(605254);const h=M=>`${M.websiteId}:${M.collectionId}`,g=(0,r.createAction)("cms/pageCatalog/OPEN_PAGE_CATALOG"),_=(M,B)=>M?B.includes(M):!1,p=f.fh.reduce((M,B)=>(B.categories.forEach(R=>{M.push(R.key)}),M),[]),y=M=>{var B;return(B=f.fh.find(R=>R.categories.some(U=>U.key===M)))===null||B===void 0?void 0:B.categories.find(R=>R.key===M)},O=(0,r.createAction)("cms/pageCatalog/CHANGE_CATEGORY"),P=(M,B)=>{var R,U;if(!M||!d.s)return;const j=y(M);return j&&B&&(!((R=j.subcategories)===null||R===void 0)&&R.some($=>$.key===B))?B:j==null||(U=j.subcategories)===null||U===void 0?void 0:U[0].key},C=M=>{let{isFluidEngine:B,state:R,selectedCategory:U,selectedSubcategory:j}=M;if(!(typeof B=="boolean"?B:(0,i.getIsPageCatalogFluidEngine)(R))||!d.s)return{selectedCategory:_(U,[...f.tU,...f.fs])?U:f.tU[0]};const ee=f.ff.category||a().HOME;return{selectedCategory:_(U,p)?U:ee,selectedSubcategory:P(U,j)}},A=(0,u.B)(M=>async(B,R)=>{const U=R(),{selectedCategory:j,selectedSubcategory:$}=C({state:U,selectedCategory:M.selectedCategory,selectedSubcategory:M.selectedSubcategory});B(g({selectedCategory:j,selectedSubcategory:$,restrictToSingleCategory:M.restrictToSingleCategory}))}),S=(0,r.createAction)("cms/pageCatalog/OPEN_PAGE_CATALOG_ENTRYPOINT"),T=(0,r.createAction)("cms/pageCatalog/SET_PAGE_CREATION_OPTIONS"),s=(0,r.createAction)("cms/pageCatalog/CLOSE_PAGE_CATALOG"),v=(0,r.createAction)("cms/pageCatalog/TOGGLE_CATALOG_TYPE"),m=M=>o.default.post("/api/catalog-preview/pages",M),E=async M=>{const R=(0,c.FX)(M,3),j=(await Promise.all(R.map(m)).then(ee=>ee.map(te=>te.data).flat())).flat(),$=new Map;for(const ee of j)$.set(h(ee),ee);return $},I=async M=>{const B=(await M()).data,R=Object.values(B).flat(),U={};for(const ee of R)U[h(ee)]=ee;const j=Object.values(U),$=await E(j);return Object.keys(B).reduce((ee,te)=>{for(const ie of B[te]){const ne=$.get(h(ie));ne?(ee[te]||(ee[te]=[]),ee[te].push({...ie,...ne,id:ie.collectionId,html:(0,c.Bv)(ne.html,ie.collectionId,ie.websiteId,ne.isFolder)})):console.warn("Omitting page catalog entry because preview isn't available",ie)}return ee},{})},L=async M=>{const B=(await M()).data,R=await E(B),U=[];for(const j of B){const $=R.get(h(j));$?U.push({...j,...$,id:j.collectionId,html:(0,c.Bv)($.html,j.collectionId,j.websiteId,$.isFolder)}):console.warn("Omitting page catalog entry because preview isn't available",j)}return U},W=(0,r.createAsyncThunk)("cms/pageCatalog/LOAD_LEGACY_LAYOUT_ENGINE_CATALOG",()=>L(()=>{const M="/api/page-catalog/layout-engine";return o.default.get(M)})),F=(0,r.createAsyncThunk)("cms/pageCatalog/LOAD_LAYOUT_ENGINE_CATALOG",()=>I(()=>{const M="/api/page-catalog/pages?engine=LAYOUT";return o.default.get(M)})),G=(0,r.createAsyncThunk)("cms/pageCatalog/LOAD_LEGACY_FLUID_ENGINE_CATALOG",()=>L(()=>{const M="/api/page-catalog/fluid-engine?includeInternalEntries=true";return o.default.get(M)})),k=(0,r.createAsyncThunk)("cms/pageCatalog/LOAD_FLUID_ENGINE_CATALOG",()=>I(()=>{const M="/api/page-catalog/pages?engine=FLUID";return o.default.get(M)})),x=(0,u.B)(M=>(B,R)=>{const U=R(),j=typeof M=="boolean"?M:(0,i.getIsPageCatalogFluidEngine)(U);d.v?j&&!(0,i.getIsFluidEnginePageCatalogLoaded)(U)?B(k()):!j&&!(0,i.getIsLayoutEnginePageCatalogLoaded)(U)?B(F()):B(v(j)):j&&!(0,i.getIsFluidEnginePageCatalogLoaded)(U)?B(G()):!j&&!(0,i.getIsLayoutEnginePageCatalogLoaded)(U)?B(W()):B(v(j))})},504049:function(b,l,e){"use strict";e.d(l,{BL:()=>he,C6:()=>Ee,KE:()=>H,MZ:()=>Ke,N7:()=>oe,Nd:()=>_e,RQ:()=>J,TP:()=>ee,Vw:()=>j,XK:()=>te,YL:()=>ie,Zo:()=>ge,_3:()=>ae,aF:()=>me,f1:()=>Be,g6:()=>$,mv:()=>fe,ns:()=>He,ov:()=>pe,pt:()=>q,s3:()=>U,u9:()=>R,we:()=>re,z4:()=>ne});var r=e(858579),o=e(851939),n=e(657408),a=e(387582),i=e(7357),c=e(79306),u=e.n(c),f=e(714487),d=e(419467),h=e.n(d),g=e(297314),_=e(912289),p=e(89084),y=e(63742),O=e(92839),P=e(46137),C=e(935237),A=e(899136),S=e(989250),T=e(487558),s=e(183753),v=e(83277),m=e(984350),E=e(673092),I=e(998274),L=e(505020),W=e(45614),F=e(459083),G=e(578451),k=e(810965),x=e(13795),M=e(938077),B=e(605254);const R=(0,o.createAction)("cms/pagesPanel/SET_PAGES_PANEL_HAS_ACTIVE_SEARCH"),U=(0,o.createAction)("cms/pagesPanel/SET_PAGES_PANEL_SEARCH_QUERY"),j=(0,o.createAction)("cms/pagesPanel/SET_PAGES_PANEL_SEARCH_RESULTS"),$=(0,o.createAction)("cms/pagesPanel/SET_PAGES_PANEL_CLONED_ITEMS_DURING_SEARCH"),ee=(0,o.createAction)("cms/pagesPanel/OPEN_PAGES_PANEL_LINK_MODAL"),te=(0,o.createAction)("cms/pagesPanel/CLOSE_PAGES_PANEL_LINK_MODAL"),ie=(0,o.createAction)("cms/pagesPanel/SET_PAGES_PANEL_LINK_VALUE"),ne=(0,o.createAction)("cms/pagesPanel/CLEAR_PAGES_PANEL_LINK_VALUE"),pe=(0,o.createAction)("cms/pagesPanel/SET_PAGES_PANEL_OPTIMISTIC_DATA"),oe=(0,o.createAction)("cms/pagesPanel/CLEAR_PAGES_PANEL_OPTIMISTIC_DATA"),q=(0,o.createAction)("cms/pagesPanel/SET_PAGES_PANEL_ACTIVE_GROUP_PATH"),J=(0,o.createAction)("cms/pagesPanel/SET_PAGES_PANEL_CLONING_ID"),me=(0,o.createAction)("cms/pagesPanel/SET_PAGES_PANEL_DRAGGING_ID"),re=(0,o.createAction)("cms/pagesPanel/SET_PAGES_PANEL_EDITING_PATH"),he=(0,o.createAction)("cms/pagesPanel/SET_PAGES_PANEL_EDITING_NAME"),Ee=(0,o.createAction)("cms/pagesPanel/SET_PAGES_PANEL_EDITING_ITEM"),fe=(0,o.createAction)("cms/pagesPanel/SET_PAGES_PANEL_FRAME_COLLECTION_URL"),H=(0,o.createAction)("cms/pagesPanel/SET_PAGES_PANEL_NAVIGATION_GROUPS"),{hiddenNavigationName:z}=a.Z,_e=(0,G.O)("cms/pagesPanel/UPDATE_PAGES_PANEL_NAVIGATION_GROUPS",(ye,Le)=>{let{optimisticData:Ue,siteLayout:Xe,collectionConfigs:Fe}=ye,{dispatch:ht}=Le;if(!Ue||!Ue.optimisticCollection||!Ue.navigationId){ht(H((0,v.H)(Xe,Fe)));return}const{navigationId:Ne,nestedGroupIndex:Ce}=Ue,we=Ue.optimisticCollection,$e=(0,r.ZP)(Xe,Ot=>{if(typeof Ce>"u")Ot[Ne].items.unshift(we);else{const Pt=Ot[Ne].items[Ce];("isFolder"in Pt||"memberAreaId"in Pt)&&Pt.items.push(we)}});ht(H((0,v.H)($e,Fe)))}),ae=(0,G.O)("cms/pagesPanel/CREATE_LINK_FOR_NAVIGATION",async(ye,Le)=>{let{externalLink:Ue,path:Xe}=ye,{getState:Fe}=Le;const ht=(0,M.getPagesPanelNavigationGroups)(Fe()),Ne=(0,y.getNavigationGroupFromPath)(ht,Xe);if(Ne){const Ce={...Ue,id:(0,c.v4)()};await(0,T.Ci)((0,W.KA)(Ne.id,Xe.slice(2),Ce))}}),ge=(0,G.O)("cms/pagesPanel/SETUP_COLLECTION_FOR_NAVIGATION",async(ye,Le)=>{let{typeName:Ue,subtypeName:Xe,groupPathToAdd:Fe,collectionToCopy:ht,openPageCatalogEntryPoint:Ne,navigationGroups:Ce}=ye,{dispatch:we}=Le,$e=null;if(ht&&!(0,d.isEmpty)(ht)&&($e=(await(0,T.Ci)((0,m.Jd)(ht)).unwrap()).collection,await(0,T.Ci)((0,L.LW)({collectionId:$e.id})).unwrap()),$e)try{await(0,p.$5)({pageCategory:Ue,pageSubcategory:Xe,pageCatalogEntryPoint:Ne,collectionId:$e.id,pricingPlanName:$e.title})}catch(ce){console.error(ce)}finally{$e=(await(0,T.Ci)((0,m.Ys)($e.id)).unwrap()).collection}const Ot=$e||(0,A.r6)(Ue);let Pt=Fe;Pt||(Pt=`${Ce.items.findIndex(ce=>{let{id:Re}=ce;return Re===z})}`);const Ie=(0,y.getPathForAddedItem)(Ce,Pt);if(!Ie)throw new Error("No path found for added item");const Bt=(0,s.ZF)({...Ot,id:(0,c.v4)()}),mt=(0,y.getNavigationGroupFromPath)(Ce,Ie);if(!mt)throw new Error("No group found for added item");const rt=(0,y.getItemFromPath)(Ce,Pt);if(!rt)throw new Error("No group found for added item");return we(pe({itemPath:Ie,copiedCollection:$e,optimisticCollection:Bt,catalogCategory:Ue==="page"?"blank-page":Ue,navigationId:mt.id,nestedGroupIndex:mt.id!==rt.id?mt.items.indexOf(rt):void 0})),{itemPath:Ie,collectionConfig:Ot}}),Be=(0,G.O)("cms/pagesPanel/ADD_COLLECTION_WITH_ITEM_NAME_TO_NAVIGATION",async(ye,Le)=>{let{item:Ue,itemName:Xe,navigationGroups:Fe}=ye,{dispatch:ht,getState:Ne}=Le;const Ce=(0,M.getPagesPanelOptimisticData)(Ne()),{typeName:we}=Ue,{itemPath:$e="",copiedCollection:Ot,catalogCategory:Pt}=Ce,Ie=(0,y.getItemFromPath)(Fe,$e[0]);if(!Ie)throw new Error("could not find group with provided path");function Bt(nt){return(0,T.Ci)((0,m.Rm)({collection:{...nt,title:Xe??"",navigationTitle:Xe??"",urlId:""}})).unwrap()}let mt;if(Ot)mt=await Bt(Ot);else if(mt=await(0,T.Ci)((0,m.BL)({typeName:we,options:{title:Xe,navigationTitle:Xe}})).unwrap(),we===O.Yi.PRODUCTS){var rt;const nt=(rt=(0,n.getWebsiteContext)())===null||rt===void 0?void 0:rt.website;if(!nt)throw new Error("Could not get website object from @sqs/config-context");await(0,i.Nq)({websiteId:nt.id,collectionId:mt.id,displayName:(0,f.t)("All",null,{project:"apps.ContentBrowser"})}),await(0,T.Ci)((0,m.kk)(mt)).unwrap()}const ce=(0,S.j)(mt)||we,Re=we===O.Yi.PAGE&&Pt?Pt:void 0;return B.v||(0,g.Nh)({collectionType:ce,collectionId:mt.id,typeName:mt.typeName,productSection:Ie.id,...Re&&{collectionCategory:Re}}),await(0,T.Ci)((0,W.DM)(Ie.id,$e.slice(2),mt)).unwrap(),ht(pe({optimisticCollection:mt})),we===O.Yi.FOLDERS&&await Bt(mt),mt}),Ke=(0,G.O)("cms/pagesPanel/CLONE_PAGES_PANEL_COLLECTION",async(ye,Le)=>{let{collectionId:Ue,homepageCollectionId:Xe}=ye,{dispatch:Fe}=Le;Fe(J(Ue));const ht=(await(0,T.Ci)((0,m.gh)(Ue)).unwrap()).collection;return Xe===Ue&&(0,T.Ci)((0,m.qk)(ht.id)),ht}),He=(0,G.O)("cms/pagesPanel/REQUEST_COLLECTION_SETTINGS_MODAL",(ye,Le)=>{let{item:Ue,path:Xe,event:Fe}=ye,{dispatch:ht}=Le;const{typeName:Ne}=Ue,Ce="memberAreaId"in Ue?Ue.memberAreaId:void 0,we="externalLink"in Ue?Ue.externalLink:void 0;if(Ne===O.Yi.LINK&&we)ht(ee({linkEditMode:F.BY.EDIT,linkValue:we,linkEditPath:Xe}));else if(Ce){if(!k.Z.getIsUserClickSimulated()){const $e=Fe==null?void 0:Fe.target;x.Z.setMACreationEntryPoint(C.qp.PAGES_PANEL),x.Z.setMAEntryPointLevel2($e!=null&&$e.classList.contains(P.s)?C.rN.PRICING_PLAN_REQUIRED:C.rN.SETTINGS_GEAR_ICON),x.Z.setMAEntryPointPath(window.location.pathname)}(0,T.Ci)((0,I.l2)({memberAreaDetails:Ue}))}else(0,T.Ci)((0,E.AY)({collectionId:Ue.id}));(0,_.dj)(Ne,Ue.id,"pages-panel")})},586350:function(b,l,e){"use strict";e.d(l,{CX:()=>we,F_:()=>Ke,bm:()=>ht,Oi:()=>ae,a1:()=>Re,Sm:()=>fe,sP:()=>Fe,eJ:()=>$e,tl:()=>_e,vc:()=>ye,C$:()=>Ee,rm:()=>z,f1:()=>he,qG:()=>Le,BB:()=>Ce,nb:()=>He,yV:()=>H,Y2:()=>Be,Mo:()=>Ue,KM:()=>st,mi:()=>Xe,KC:()=>ge,fV:()=>Ne,_n:()=>vt,_X:()=>nt});var r=e(419467),o=e(851939),n=e(456903),a=e(663634),i=e(935662),c=e.n(i),u=e(762379),f=e(53678);const d=20;function h(ze){let{block:It,allImageMappings:on,collectionId:Pn,itemId:Yn,sectionId:Ln,websiteId:bn}=ze;if(It&&It.value&&It.value.mapping&&It.value.imageId){const{mapping:ir,imageId:Zn}=It.value,jt={websiteId:bn,collectionId:Pn,sectionId:Ln,referenceId:Zn,mapping:ir,...Yn?{itemId:Yn}:{}};on.push(jt)}}function g(ze){let{column:It,allImageMappings:on,collectionId:Pn,itemId:Yn,sectionId:Ln,websiteId:bn,depthRemaining:ir}=ze;It.rows&&It.rows.forEach(Zn=>_({row:Zn,allImageMappings:on,collectionId:Pn,itemId:Yn,sectionId:Ln,websiteId:bn,depthRemaining:ir-1})),It.blocks&&It.blocks.forEach(Zn=>h({block:Zn,allImageMappings:on,collectionId:Pn,itemId:Yn,sectionId:Ln,websiteId:bn}))}function _(ze){let{row:It,allImageMappings:on,collectionId:Pn,itemId:Yn,sectionId:Ln,websiteId:bn,depthRemaining:ir}=ze;It.columns&&It.columns.forEach(Zn=>g({column:Zn,allImageMappings:on,collectionId:Pn,itemId:Yn,sectionId:Ln,websiteId:bn,depthRemaining:ir-1}))}function p(ze){let{collectionId:It,itemId:on,websiteId:Pn,sections:Yn}=ze;const Ln=[];return Yn.forEach(bn=>{if(bn&&bn.content&&bn.content.layout&&bn.content.layout.rows){const ir=bn.id;bn.content.layout.rows.forEach(Zn=>_({row:Zn,allImageMappings:Ln,collectionId:It,itemId:on,sectionId:ir,websiteId:Pn,MAX_TOTAL_DEPTH:d}))}}),Ln}var y=e(25911);const O=y.Z;var P=e(505739);const C={af:"za",am:"et",ar:"sa",az:"az",ba:"ru",be:"by",bg:"bg",bn:"bd","pt-br":"br",bs:"ba",ca:"es-ca",co:"fr-co",cs:"cz",cy:"gb-wls",da:"dk",de:"de",el:"gr",en:"gb",eo:"eo",es:"es",et:"ee",eu:"eus",fa:"ir",fi:"fi",fj:"fj",fl:"ph",fr:"fr",fy:"nl",ga:"ie",gd:"gb-sct",gl:"es-ga",gu:"in",ha:"ne",he:"il",hi:"in",hr:"hr",ht:"ht",hu:"hu",hw:"hw",hy:"am",id:"id",ig:"ne",is:"is",it:"it",ja:"jp",jv:"id",ka:"ge",kk:"kz",km:"kh",kn:"in",ko:"kr",ku:"iq",ky:"kg",la:"it",lb:"lu",lo:"la",lt:"lt",lv:"lv",lg:"ug",mg:"mg",mi:"nz",mk:"mk",ml:"in",mn:"mn",mr:"in",ms:"my",mt:"mt",my:"mm",ne:"np",nl:"nl",no:"no",ny:"mw",pa:"in",pl:"pl",ps:"pk",pt:"pt",ro:"ro",ru:"ru",sd:"pk",si:"lk",sk:"sk",sl:"si",sm:"ws",sn:"zw",so:"so",sq:"al",sr:"rs",st:"ng",su:"sd",sv:"se",sw:"ke",ta:"in",te:"in",tg:"tj",th:"th",tl:"ph",to:"to",tr:"tr",tt:"tr","zh-tw":"tw",ty:"pf",uk:"ua",ur:"pk",uz:"uz",vi:"vn",xh:"za",yi:"il",yo:"ng",zh:"cn",zu:"za",hmn:"hmn",ceb:"ph",or:"in",tk:"tr",ug:"uig","fr-ca":"ca",as:"in","sr-latn":"rs",om:"et",iu:"ca",ti:"er",bm:"ml",bo:"cn",ak:"gh",rw:"rw",kb:"iq",fo:"fo",il:"ph",ay:"bo",dv:"mv",ee:"gh",gn:"py",ln:"cd",qu:"pe",ts:"za",oc:"fr",nb:"no",yue:"hk",mh:"mh",chk:"fm"},A=ze=>{var It;const on=(It=document.getElementById("sqs-site-frame"))===null||It===void 0?void 0:It.contentWindow,Pn=on==null?void 0:on.Weglot;if(Pn){var Yn,Ln;const bn=Pn.options&&Object.keys(Pn.options).length>0,ir=(Yn=Pn.options)===null||Yn===void 0?void 0:Yn.language_from,Zn=(Ln=Pn.options)===null||Ln===void 0?void 0:Ln.languages;if(bn&&ir&&Zn){const{languageFlags:$n}=ze,jt=$n.reduce((jn,Tn)=>(jn[Tn.languageCode]=Tn.countryCode,jn),{}),Rn=[{languageCode:ir,countryCode:jt[ir]||C[ir]}];return Zn.forEach(jn=>{const Tn=jn.custom_code||jn.language_to;Rn.push({languageCode:Tn,countryCode:jt[Tn]||C[Tn]||jn.custom_flag})}),{...ze,languageFlags:Rn}}}return ze};var S=e(193213),T=e(267561),s=e(18487),v=e(108471),m=e(938077),E=e(35045),I=e(578451),L=e(92485),W=e(695960),F=e(787592),G=e(914239),k=e(874644),x=e(765724),M=e(2477),B=e(835713),R=e(334001),U=e(163767);const j={async getById(ze){try{const{data:It}=await n.default.get(`/api/page-sections/${ze}`);return It}catch(It){throw new n.errors.ApiError("Could not fetch PageSection","PageSectionsAPI.getById",It)}}};var $=e(213552),ee=e(623795),te=e.n(ee);const ie=ze=>{const{iconOptions:It}=ze.header,{desktopDropdownIconOptions:on,mobileDropdownIconOptions:Pn}=It,Yn={unit:te().EM,value:.35},Ln={unit:te().EM,value:.15},bn={unit:te().EM,value:1};on.strokeWidth||(on.strokeWidth={unit:te().PIXEL,value:1}),Pn.strokeWidth||(Pn.strokeWidth={unit:te().PIXEL,value:.5}),on.size||(on.size=bn),Pn.size||(Pn.size=bn),on.iconSpacing||(on.iconSpacing=Yn),Pn.iconSpacing||(Pn.iconSpacing=Ln)};var ne=e(906194),pe=e(102825);const oe="/api/content/add/",q="/api/content/copy/section",J="/api/content/copy/section-clone",me="header",re=ze=>{let{templateSections:It=[],templateUpdatedOn:on=null,collectionItemSections:Pn=[],collectionItemUpdatedOn:Yn=null,footerSections:Ln=[],header:bn,headerWebsiteData:ir,collectionId:Zn,lastUpdate:$n}=ze;var jt;let Rn=e(966819);Rn.default&&(Rn=Rn.default);const jn=(jt=Rn.getState().get(Zn))===null||jt===void 0?void 0:jt.get("typeName");return{pageSectionIds:(0,r.map)(It,"id"),pageSectionsUpdatedOn:on,collectionItemSectionIds:(0,r.map)(Pn,"id"),collectionItemPageSectionsUpdatedOn:Yn,headerSectionIds:[me],footerSectionIds:(0,r.map)(Ln,"id"),sectionEditContexts:{header:{...bn,id:me,sectionId:me},...(0,r.keyBy)([...It,...Pn].map(Tn=>({...Tn,typeName:jn})),"id"),...(0,r.keyBy)(Ln,"id")},headerWebsiteData:ir,lastUpdate:$n}},he=(0,T.w)("cms/sections/UPDATE_ITEM_INLINE_FIELDS",P.Z.DEBOUNCED),Ee=(0,T.w)("cms/sections/SECTION_DIFF",P.Z.DEBOUNCED),fe=(0,T.w)("cms/sections/SECTION_CHANGED"),H=(0,I.B)((ze,It)=>(on,Pn)=>{(0,m.getFrameMode)(Pn())===k.hn.PREVIEW_LEFT_PANEL&&!window.MOBILEAPP||(ze&&ze.sectionId?on(fe(ze,It)):F.Tb(new Error("sectionChanged called without changed sectionId")))}),z=(0,I.B)((ze,It)=>(on,Pn)=>{const{newSection:Yn,sectionId:Ln}=ze;let bn=(0,m.getRevertibleSectionById)(Pn(),Ln);const ir=(0,m.getSectionEditContextById)(Pn(),Ln);bn||(bn=ir);let Zn=Yn.backgroundImageId;!bn.backgroundImageId&&Zn===void 0&&(Zn=null);const $n={...Yn,backgroundImageId:Zn,fluidEngineContext:{...Yn.fluidEngineContext,gridContents:(0,S.pV)(Yn.fluidEngineContext.gridContents)},sectionId:Ln,revertibleSection:bn,layoutSuggestion:ze.appliedSuggestion};on(fe($n,It))}),_e=(0,T.w)("cms/sections/RESET_SECTION_LAYOUT"),ae=(0,T.w)("cms/sections/REMOVE_SECTION"),ge=(0,T.w)("cms/sections/REORDER_SECTION"),Be=(ze,It)=>ge({sectionId:ze,region:It,moveAmount:-1}),Ke=(ze,It)=>ge({sectionId:ze,region:It,moveAmount:1}),He=(0,T.w)("cms/sections/CONVERT_TO_FLUID_ENGINE",P.Z.DEBOUNCED),ye=(0,o.createAction)("cms/sections/RESTORE_SECTIONS"),Le=(0,o.createAsyncThunk)("cms/sections/ADD_SECTION",async(ze,It)=>{let{addPromise:on,afterSectionId:Pn,isAddAbove:Yn,region:Ln="page"}=ze,{dispatch:bn,fulfillWithValue:ir}=It;const Zn=await on.then(async $n=>{let{data:jt}=$n;return jt.sectionName===W.Z.JSON_SCHEMA&&bn((0,s.C)(jt.sectionDefinitionName)),jt});return await R.Z.fetchAll(),ir(Zn,{afterSectionId:Pn,isAddAbove:Yn,region:Ln,undoable:(0,L.i)(),grouping:P.Z.DEBOUNCED,timestamp:Date.now()})}),Ue=ze=>{let{endpointName:It="layoutEngineSection",sectionId:on,sectionDefinitionName:Pn,afterSectionId:Yn,isAddAbove:Ln,region:bn}=ze;const ir=n.default.post(`${oe}${It}`,null,{headers:{"Content-Type":"application/json"},params:{sectionId:on,sectionDefinitionName:Pn}});return Le({addPromise:ir,afterSectionId:Yn,isAddAbove:Ln,region:bn})},Xe=ze=>{let{section:It,isAddAbove:on,componentReplacements:Pn,afterSectionId:Yn,websiteId:Ln,region:bn}=ze;const ir=n.default.post(q,Pn,{params:{sourceWebsiteId:Ln,sourceCollectionId:It.collectionId,sourceSectionId:It.sectionId}});return Le({addPromise:ir,afterSectionId:Yn,isAddAbove:on,region:bn})},Fe=ze=>{let{section:It,region:on}=ze;const Pn=n.default.post(J,It);return Le({addPromise:Pn,afterSectionId:It.id,region:on,isAddAbove:!1})},ht=(0,I.O)("cms/sections/LOAD_SECTIONS",async(ze,It)=>{let{templatePageSectionsId:on,collectionItemPageSectionsId:Pn,collectionId:Yn}=ze,{dispatch:Ln,getState:bn}=It;var ir;const[Zn,$n,jt]=await Promise.all([on?j.getById(on):null,Pn?j.getById(Pn):null,O.load()]);await R.Z.setup();const Rn=(0,m.getIsMultilingualConnected)(bn());let jn=jt;if(Rn){const{header:Nn}=jt,cn=A(Nn.languagePicker);jn={...jt,header:{...Nn,languagePicker:cn}}}ie(jn);const Tn=re({templateSections:Zn==null?void 0:Zn.sections,templateUpdatedOn:(Zn==null?void 0:Zn.updatedOn)??null,collectionItemSections:$n==null?void 0:$n.sections,collectionItemUpdatedOn:($n==null?void 0:$n.updatedOn)??null,footerSections:jn==null||(ir=jn.footer)===null||ir===void 0?void 0:ir.sections,header:jn==null?void 0:jn.header,headerWebsiteData:{siteTitle:E.default.getState().get("siteTitle"),logoImageId:E.default.getState().get("logoImageId"),mobileLogoImageId:E.default.getState().get("mobileLogoImageId")},collectionId:Yn,lastUpdate:0});return Object.values(Tn.sectionEditContexts).forEach(Nn=>{if(Nn.id!=="header"){const cn=Nn;cn.sectionName===W.Z.JSON_SCHEMA&&Ln((0,s.C)(cn.sectionDefinitionName))}}),Tn}),Ne=ze=>async It=>{var on,Pn,Yn;const Ln=(on=ze.Static)===null||on===void 0?void 0:on.SQUARESPACE_CONTEXT;if(!Ln)return;const{collectionId:bn,itemId:ir}=Ln;if(!bn)return;const Zn=(Pn=ze.document.querySelector("[data-page-sections]"))===null||Pn===void 0?void 0:Pn.getAttribute("data-page-sections"),$n=(Yn=ze.document.querySelector("[data-collection-item-sections]"))===null||Yn===void 0?void 0:Yn.getAttribute("data-collection-item-sections");return It(ht({templatePageSectionsId:Zn,collectionItemPageSectionsId:$n,collectionId:bn,itemId:ir})).unwrap()},Ce=(0,I.B)(()=>(ze,It)=>{const on=(0,m.getOpenSectionSettingsSectionId)(It());if(!on)return;const Pn=(0,m.getSectionEditContextById)(It(),on);if(!Pn)throw new Error("Could not reset color overrides - no section context found for given ID");const Yn=bn=>{const ir=(0,v.L)(bn.type);if(!ir)return bn;const Zn=(0,r.cloneDeep)(bn);return ir.forEach($n=>(0,r.set)(Zn,$n,{type:"THEME_COLOR"})),Zn},Ln=(0,G.Mx)(Pn,Yn);ze(H({...Ln,sectionId:on},{undoable:!0,timestamp:Date.now()}))}),we=(0,o.createAction)("cms/sections/DISCARD"),$e=(0,I.B)(()=>(ze,It)=>{const on=(0,m.getPersistedSections)(It()),Pn=(0,m.getPersistedCollection)(It()),Yn=(0,m.getPersistedCollectionItem)(It());ze(we({persistedSections:on,persistedCollection:Pn,persistedCollectionItem:Yn,headerWebsiteData:{siteTitle:E.default.getState().get("siteTitle"),logoImageId:E.default.getState().get("logoImageId"),mobileLogoImageId:E.default.getState().get("mobileLogoImageId")}}))}),Ot=async ze=>(0,$.Z)()?await(0,G.V1)(ze):ze,Pt="debug_matching_redux_page_section_ids",Ie=async ze=>{const It=(0,m.getPageSectionsId)(ze);if(!It)return null;(0,a.cr)(Pt)&&((0,m.getAreSectionsLoaded)(ze)||F.Tb(new Error("Save triggered before page sections finished loading")),(0,m.getSectionsParentPageSectionsId)(ze)!==It&&F.Tb(new Error("Recorded parent ID in sections slice does not match the template page sections ID from the cmsEditorState slice")));const on=(0,m.getPageSectionsUpdatedOn)(ze),Pn=(0,m.getCollectionId)(ze),Yn=(0,m.getItemId)(ze),Ln=(0,m.getPageSections)(ze),bn=(0,m.getCollectionItemPageSectionsId)(ze),ir=`/api/page-sections/${It}/collection/${Pn}`,Zn=Yn&&!bn?`${ir}/item/${Yn}`:ir,$n=await Ot(Ln),jt=(0,G.uB)((0,G.mv)($n)),{data:Rn}=await n.default.put(Zn,{sections:jt,updatedOn:on});return Rn},Bt=async ze=>{const It=(0,m.getCollectionItemPageSectionsId)(ze);if(!It)return null;(0,a.cr)(Pt)&&((0,m.getAreSectionsLoaded)(ze)||F.Tb(new Error("Save triggered before page sections finished loading")));const on=(0,m.getCollectionItemPageSectionsUpdatedOn)(ze),Pn=(0,m.getCollectionId)(ze),Yn=(0,m.getItemId)(ze),Ln=(0,m.getCollectionItemSections)(ze),bn=`/api/page-sections/${It}/collection/${Pn}/item/${Yn}`,ir=await Ot(Ln),Zn=(0,G.uB)((0,G.mv)(ir));return await n.default.put(bn,{sections:Zn,updatedOn:on}).then(jt=>{let{data:Rn}=jt;return Rn})},mt=async ze=>{const It=(0,m.getPersistedHeader)(ze),on=(0,m.getPersistedFooter)(ze),Pn=(0,m.getFooterSections)(ze),{header:Yn}=(0,m.getHeaderFullData)(ze),Ln=await Ot(Pn),bn=(0,G.mv)(Ln);let ir=Promise.resolve({header:Yn,footer:{sections:bn}});return(!(0,r.isEqual)(It,Yn)||!(0,r.isEqual)(on,bn))&&(ir=await O.save({header:Yn,footer:{sections:bn}})),ir},rt=async ze=>{const{headerWebsiteData:It}=(0,m.getHeaderFullData)(ze),on=E.default.getState().toJS();if(It.siteTitle===on.siteTitle&&It.logoImageId===on.logoImageId&&It.mobileLogoImageId===on.mobileLogoImageId)return It;const Pn=await f.Z.save({...on,...It});return(0,r.pick)(Pn,["siteTitle","logoImageId","mobileLogoImageId"])},ce=async(ze,It)=>{if(!u.Z.isFeatureEnabled(c().SECTION_ADMIN))return Promise.resolve(null);const on=(0,m.getCollectionId)(It),Pn=(0,m.getItemId)(It),Yn=[...(0,m.getPageSections)(It)??[],...(0,m.getCollectionItemSections)(It)??[]],Ln=p({collectionId:on,websiteId:ze,itemId:Pn,sections:Yn});return await n.default.put("/api/abstract-content-mapping/image-items",{contentMappings:Ln})},Re=(0,o.createAsyncThunk)("cms/sections/SAVE",async(ze,It)=>{let{websiteId:on}=ze,{getState:Pn}=It;var Yn;const Ln=Pn(),[bn,ir,Zn,$n]=await Promise.all([Ie(Ln),Bt(Ln),mt(Ln),rt(Ln),ce(on,Ln),(0,B.zt)(Ln)]),jt=(0,m.getSectionsLayoutSwitchApplied)(Ln);if(Object.keys(jt).length>0){const Rn=Object.keys(jt),jn=Rn.map(Tn=>jt[Tn].suggestionId);(0,x.az)(),x.p8.track({action:x.kA.SAVE,collection_type:"page",event_name:"UserSavesLayoutStyleSelections",object_type:x.W9.LAYOUT,section_id:JSON.stringify(Rn),layout_style_selection:JSON.stringify(jn)})}return re({templateSections:bn==null?void 0:bn.sections,templateUpdatedOn:bn==null?void 0:bn.updatedOn,collectionItemSections:ir==null?void 0:ir.sections,collectionItemUpdatedOn:ir==null?void 0:ir.updatedOn,footerSections:Zn==null||(Yn=Zn.footer)===null||Yn===void 0?void 0:Yn.sections,header:Zn==null?void 0:Zn.header,headerWebsiteData:$n,collectionId:(0,m.getCollectionId)(Ln),lastUpdate:(0,m.getUndoStackLastUpdate)(Ln)})}),nt=(0,T.w)("cms/sections/UPDATE_SECTION_ROW_COUNT",P.Z.UNTIL_END_UNDO_GROUP),st=(0,I.B)(ze=>{let{sectionId:It}=ze;return async(on,Pn)=>{var Yn,Ln,bn,ir,Zn,$n,jt;const Rn=(0,m.getSectionEditContextById)(Pn(),It);if(!Rn||Rn.sectionName!==W.Z.FLUID_ENGINE)return;const jn=await(0,U.w1)(Rn),Tn=(0,M.wx)({allSuggestions:jn,isMobile:!1,section:Rn}),Nn=(0,m.getCollectionId)(Pn()),cn=(Ln=window)===null||Ln===void 0||(Yn=Ln.Static)===null||Yn===void 0?void 0:Yn.SQUARESPACE_CONTEXT,or=cn==null||(bn=cn.templateInstallation)===null||bn===void 0?void 0:bn.templateWebsite;(0,x.aQ)({accountId:cn==null||(ir=cn.authenticatedAccount)===null||ir===void 0?void 0:ir.id,accountLocale:cn==null||(Zn=cn.authenticatedAccount)===null||Zn===void 0?void 0:Zn.preferredLocale,collectionId:Nn,editorType:Rn==null?void 0:Rn.sectionName,entryPoint:x.N9.SECTION_OVERLAY,productArea:x.Wl.CMS,productSection:x.lC.PAGE_EDITOR,selectedTemplateId:or==null?void 0:or.id,selectedTemplateIdentifier:or==null?void 0:or.identifier,websiteId:cn==null||($n=cn.website)===null||$n===void 0?void 0:$n.id,websiteLocale:cn==null||(jt=cn.website)===null||jt===void 0?void 0:jt.language,...Tn})}}),vt=(0,I.B)(ze=>{let{sectionId:It}=ze,on=e(966819);return on.default&&(on=on.default),(Pn,Yn)=>{var Ln,bn,ir,Zn,$n,jt,Rn,jn;const Tn=(0,m.getSectionEditContextById)(Yn(),It),Nn=(0,m.getCollectionId)(Yn()),cn=(bn=window)===null||bn===void 0||(Ln=bn.Static)===null||Ln===void 0?void 0:Ln.SQUARESPACE_CONTEXT,or=cn==null||(ir=cn.templateInstallation)===null||ir===void 0?void 0:ir.templateWebsite,qn=(0,m.getFrameDeviceView)(Yn()),Hr={accountId:cn==null||(Zn=cn.authenticatedAccount)===null||Zn===void 0?void 0:Zn.id,accountLocale:cn==null||($n=cn.authenticatedAccount)===null||$n===void 0?void 0:$n.preferredLocale,collectionId:Nn,collectionType:(jt=on.getState().get(Nn))===null||jt===void 0?void 0:jt.get("typeName"),editorType:Tn==null?void 0:Tn.sectionName,productArea:x.Wl.CMS,productSection:x.lC.PAGE_EDITOR,sectionId:It,selectedTemplateId:or==null?void 0:or.id,selectedTemplateIdentifier:or==null?void 0:or.identifier,websiteId:cn==null||(Rn=cn.website)===null||Rn===void 0?void 0:Rn.id,websiteLocale:cn==null||(jn=cn.website)===null||jn===void 0?void 0:jn.language,displayMode:qn===ne.Z.PHONE?x.d1.MOBILE:x.d1.DESKTOP,deviceOrientation:window.matchMedia("(orientation: landscape)").matches?"landscape":"portrait",isSquarespaceApp:(0,pe.isNativeApp)()};(0,x.aQ)({...Hr})}})},173606:function(b,l,e){"use strict";e.d(l,{AK:()=>$,Bx:()=>U,C2:()=>_e,C4:()=>J,CQ:()=>G,IU:()=>x,JK:()=>re,Je:()=>q,KM:()=>pe,Og:()=>M,On:()=>L,Qq:()=>F,Qr:()=>me,SL:()=>H,Tj:()=>fe,_b:()=>z,ah:()=>ae,d8:()=>k,dc:()=>T,gl:()=>I,jW:()=>he,lV:()=>Ee,tx:()=>oe,wm:()=>B,xm:()=>R,zC:()=>ee});var r=e(851939),o=e(578451),n=e(938077),a=e(532199),i=e(567248),c=e(500415),u=e(31966),f=e.n(u),d=e(651780),h=e(334358),g=e(466409),_=e(586350),p=e(605254),y=e(24099),O=e(918025),P=e(676619),C=e(134798),A=e(872501);const S=ge=>`${ge.websiteId}:${ge.collectionId}:${ge.sectionId}`,T=(0,r.createAction)("cms/sectionCatalog/OPEN_SECTION_CATALOG"),s=(ge,Be)=>{if(ge===f().SAVED_SECTIONS)return Be&&A.t.includes(Be)?Be:f().SAVED_SECTIONS},v=(ge,Be)=>ge?ge===f().SAVED_SECTIONS?!0:Be.includes(ge):!1,m=P.Lc.reduce((ge,Be)=>(Be.categories.forEach(Ke=>{ge.push(Ke.key)}),ge),[]),E=ge=>{var Be;return(Be=P.Lc.find(Ke=>Ke.categories.some(He=>He.key===ge)))===null||Be===void 0?void 0:Be.categories.find(Ke=>Ke.key===ge)},I=(0,r.createAction)("cms/sectionCatalog/CHANGE_CATEGORY"),L=(ge,Be)=>{var Ke,He;const ye=s(ge,Be);if(ye)return ye;if(!ge||!p.s)return;const Le=E(ge);return Le&&Be&&(!((Ke=Le.subcategories)===null||Ke===void 0)&&Ke.some(Ue=>Ue.key===Be))?Be:Le==null||(He=Le.subcategories)===null||He===void 0?void 0:He[0].key},W=ge=>{let{isFluidEngine:Be,state:Ke,selectedCategory:He,selectedSubcategory:ye}=ge;const Le=typeof Be=="boolean"?Be:(0,n.getIsSectionCatalogFluidEngine)(Ke),Ue=(0,n.getEditingSectionArea)(Ke),Xe=s(He,ye);if(Ue===C.Z.FOOTER)return{selectedCategory:v(He,y.Z)?He:y.Z[0],selectedSubcategory:Xe};if(!Le)return{selectedCategory:v(He,O.eA)?He:O.eA[0],selectedSubcategory:Xe};if(!p.v)return{selectedCategory:v(He,O.yg)?He:O.yg[0],selectedSubcategory:Xe};const Fe=P.J9.category||f().INTRO;return{selectedCategory:v(He,m)?He:Fe,selectedSubcategory:L(He,ye)}},F=(0,o.B)(ge=>async(Be,Ke)=>{const He=Ke(),{selectedCategory:ye,selectedSubcategory:Le}=W({state:He,selectedCategory:ge.selectedCategory,selectedSubcategory:ge.selectedSubcategory});Be(T({sectionId:ge.sectionId,selectedCategory:ye,selectedSubcategory:Le,shouldAddAbove:ge.shouldAddAbove}))}),G=(0,r.createAction)("cms/sectionCatalog/CLOSE_SECTION_CATALOG"),k=(0,r.createAction)("cms/sectionCatalog/MARK_SECTION_ID_AS_SAVEABLE"),x=(0,r.createAction)("cms/sectionCatalog/MARK_SECTION_ID_AS_UNSAVEABLE"),M=(0,r.createAction)("cms/sectionCatalog/SAVE_SECTION"),B=(0,o.B)(ge=>async(Be,Ke)=>{const He=(0,n.getSectionEditContextByIdWithoutCustomId)(Ke(),ge);if(!He)throw new Error("Could not save reusable section: no section context found for given ID");Be(x(ge));const ye=await(0,c.tj)(He).catch(Xe=>{throw k(ge),Xe}),Le=(await(0,c.G7)([{id:ye.id}]))[0],Ue={...ye,...Le};Be(M(Ue))}),R=(0,r.createAction)("cms/sectionCatalog/DELETE_SAVED_SECTIONS"),U=(0,o.B)(ge=>async Be=>{await(0,c.Kr)(ge),Be(R(ge))}),j={[c.sX.ORGANIZATION]:f().ORGANIZATION,[c.sX.ACCOUNT]:f().PRO_USER,[c.sX.WEBSITE]:f().SAVED_SECTIONS},$=(0,r.createAction)("cms/sectionCatalog/DELETE_MULTI_SITE_SAVED_SECTIONS"),ee=(0,r.createAction)("cms/sectionCatalog/TOGGLE_CATALOG_TYPE"),te=async ge=>{const Ke=(0,i.FX)(ge,3),ye=(await Promise.all(Ke.map(a.Z.loadPreviews)).then(Ue=>Ue.map(Xe=>Xe.data).flat())).flat(),Le=new Map;for(const Ue of ye)Le.set(S(Ue),Ue);return Le},ie=async ge=>{const Be=(await ge()).data,Ke=Object.values(Be).flat(),He={};for(const Ue of Ke)He[S(Ue)]=Ue;const ye=Object.values(He),Le=await te(ye);return Object.keys(Be).reduce((Ue,Xe)=>{for(const Fe of Be[Xe]){const ht=Le.get(S(Fe));ht?(Ue[Xe]||(Ue[Xe]=[]),Ue[Xe].push({...Fe,...ht,id:Fe.sectionId,html:(0,i.Qy)(ht.html,Fe.sectionId)})):console.warn("Omitting section catalog entry because preview isn't available",Fe)}return Ue},{})},ne=async ge=>{const Be=(await ge()).data,Ke=await te(Be),He=[];for(const ye of Be){const Le=Ke.get(S(ye));Le?He.push({...ye,...Le,id:ye.sectionId,html:(0,i.Qy)(Le.html,ye.sectionId)}):console.warn("Omitting section catalog entry because preview isn't available",ye)}return He},pe=(0,r.createAsyncThunk)("cms/pageCatalog/LOAD_SAVED_SECTIONS_CATALOG",async()=>{const ge=await(0,c.OY)(),Be=ge.map(ye=>({id:ye.id}));return(await(0,c.G7)(Be)).map((ye,Le)=>({...ye,...ge[Le]}))}),oe=(0,r.createAsyncThunk)("cms/pageCatalog/LOAD_MULTI_SAVED_SECTIONS_CATALOG",async ge=>{let{scope:Be,pageSize:Ke,page:He,search:ye,sortBy:Le,sortDirection:Ue}=ge;const{sections:Xe,totalSections:Fe}=await(0,c.jL)(Be,Ke,He,ye,Le,Ue),ht=Xe.map($e=>({id:$e.id})),Ne=await(0,c.VD)(ht,Be),Ce=Xe.map($e=>{const Ot=Ne.findIndex(Pt=>$e.id===Pt.id);return{...Ne[Ot],...$e}});let we;return Be===c.sX.ORGANIZATION?we=f().ORGANIZATION:Be===c.sX.ACCOUNT?we=f().PRO_USER:we=f().SAVED_SECTIONS,{catalog:Ce,sectionCategory:we,queryResultsCount:Fe}}),q=(0,r.createAsyncThunk)("cms/sectionCatalog/GET_SAVED_SECTIONS_COUNT",async ge=>({totalSections:await(0,c.lm)(ge),sectionCategory:j[ge]})),J=(0,o.B)(ge=>{let{sectionIds:Be,scope:Ke,pageSize:He,page:ye,search:Le,sortBy:Ue,sortDirection:Xe}=ge;return async Fe=>{await(0,c.c3)(Be,Ke),Fe($({deletedSectionIds:Be,sectionCategory:j[Ke]})),Fe(oe({scope:Ke,pageSize:He,page:ye,search:Le,sortBy:Ue,sortDirection:Xe}))}}),me=(0,r.createAsyncThunk)("cms/sectionCatalog/LOAD_LAYOUT_ENGINE_CATALOG",()=>ie(a.Z.loadLayoutEngineCatalog)),re=(0,r.createAsyncThunk)("cms/sectionCatalog/LOAD_LEGACY_LAYOUT_ENGINE_CATALOG",()=>ne(a.Z.loadLegacyLayoutEngineCatalog)),he=(0,r.createAsyncThunk)("cms/sectionCatalog/LOAD_FLUID_ENGINE_CATALOG",()=>ie(a.Z.loadFluidEngineCatalog)),Ee=(0,r.createAsyncThunk)("cms/sectionCatalog/LOAD_LEGACY_FLUID_ENGINE_CATALOG",()=>ne(a.Z.loadLegacyFluidEngineCatalog)),fe=(0,o.B)(ge=>async(Be,Ke)=>{const He=Ke(),ye=typeof ge=="boolean"?ge:(0,n.getIsSectionCatalogFluidEngine)(He),Le=W({state:He,isFluidEngine:ye});Be(I({category:Le.selectedCategory,subcategory:Le.selectedSubcategory})),await(0,d.Zo)()&&Be(q(c.sX.ORGANIZATION)),(0,h.Gd)()&&Be(q(c.sX.ACCOUNT)),(0,g.Z)()?Be(q(c.sX.WEBSITE)):Be(pe()),p.v?ye&&!(0,n.getIsFluidEngineSectionCatalogLoaded)(He)?Be(he()):!ye&&!(0,n.getIsLayoutEngineSectionCatalogLoaded)(He)?Be(me()):Be(ee(ye)):ye&&!(0,n.getIsFluidEngineSectionCatalogLoaded)(He)?Be(Ee()):!ye&&!(0,n.getIsLayoutEngineSectionCatalogLoaded)(He)?Be(re()):Be(ee(ye))}),H=(0,r.createAction)("cms/sectionCatalog/SAVE_MULTI_SECTION"),z=(0,o.B)((ge,Be,Ke)=>{const He=j[Ke];return async(ye,Le)=>{ye((0,_._n)({sectionId:Be}));const Ue=(0,n.getSectionEditContextByIdWithoutCustomId)(Le(),Be);if(!Ue)throw new Error("Could not save reusable section: no section context found for given ID");const Xe=await(0,c.N)(ge,Ue,Ke).catch(Ne=>{throw Ne}),Fe=(await(0,c.VD)([{id:Xe.id}],Ke))[0],ht={...Xe,...Fe};ye(H({savedSection:ht,sectionCategory:He}))}}),_e=(0,r.createAction)("cms/sectionCatalog/RENAME_MULTI_SITE_SECTION"),ae=(0,o.B)((ge,Be,Ke)=>async He=>{const ye=await(0,c.V7)(ge,Be,Ke);return He(_e({...ye,sectionCategory:j[Ke]}))})},18487:function(b,l,e){"use strict";e.d(l,{C:()=>d});var r=e(687006),o=e(714487),n=e(456903);const a=h=>typeof h=="object"&&typeof h.$translate=="object"?o.ZP.translate(h.$translate.stringValue,h.$translate.substitutionsObject,h.$translate.options):typeof h=="object"?Object.keys(h).reduce((g,_)=>(g[_]=a(h[_]),g),{}):h;function i(h){return Array.isArray(h)?h.map(g=>({...g,value:a(g.value)})):h}const c=async h=>{const{data:g}=await n.default.get(`/api/1/client-rendering/section-definition/${h}`);o.ZP.extendTranslationDictionary(g.uiSchemaLocalizedStrings),o.ZP.extendTranslationDictionary(g.itemDefaultsLocalizedStrings);const _={...g};return _.uiSchema||(_.uiSchema={default:[]}),_.itemDefaults=i(g.itemDefaults),_};var u=e(938077),f=e(578451);const d=(0,f.O)("cms/sections/LOAD_SECTION_DEFINITION",async h=>await c(h),{condition:(h,g)=>{let{getState:_}=g;return!(0,u.getSectionDefinitions)(_())[h]}})},481190:function(b,l,e){"use strict";e.d(l,{P:()=>o});var r=e(267561);const o=(0,r.w)("cms/siteTheme/UPDATE_SITE_THEME_SETTINGS")},721460:function(b,l,e){"use strict";e.d(l,{XF:()=>$,Bh:()=>G,tH:()=>U,jE:()=>q,vl:()=>W,wQ:()=>m,$Q:()=>M,Lz:()=>ee,xM:()=>L,fq:()=>te,Ne:()=>j,lI:()=>x,w3:()=>pe,w4:()=>I,dR:()=>v,_U:()=>s,YR:()=>oe,bR:()=>F,DD:()=>B,o2:()=>E,gP:()=>ne,lc:()=>ie,s4:()=>R,bk:()=>k});var r=e(818584),o=e(564666),n=e(885481);const a=async J=>await J.fetchTemplateTweakSettings(),i=async J=>await J.fetchCustomCss(),c=async J=>await J.fetchTweakEngineProperties();var u=e(938077),f=e(456903);const d="/api/website-colors";function h(){return f.default.get(d).then(J=>{let{data:me}=J;return me})}function g(J){return f.default.put(d,J).then(me=>{let{data:re}=me;return re})}function _(){return f.default.get(`${d}/defaults`).then(J=>{let{data:me}=J;return me})}function p(){return f.default.get(`${d}/definitions`).then(J=>{let{data:me}=J;return me})}const y="/api/website-fonts";async function O(){const{data:J}=await f.default.get(`${y}`);return J}async function P(J){const{data:me}=await f.default.put(y,J);return me}async function C(J){const{data:me}=await f.default.get(`${y}/template-font-packs`,{params:J});return me}async function A(){const{data:J}=await f.default.get(`${y}/font-definitions`);return J}var S=e(146640),T=e(267561);const s=(0,r.defineAction)("cms/tweak/FETCH_TEMPLATE_TWEAK_SETTINGS_SUCCESS"),v=(0,r.defineAction)("cms/tweak/FETCH_CUSTOM_CSS_SUCCESS"),m=(0,r.defineAction)("cms/tweak/FETCH_SITE_STYLES_DATA_SUCCESS"),E=(0,r.defineAction)("cms/tweak/FETCH_SITE_STYLES_DATA_FAILURE"),I=(0,r.defineAction)("cms/tweak/FETCH_TWEAK_ENGINE_PROPERTIES_SUCCESS"),L=(0,r.defineAction)("cms/tweak/FETCH_SITE_FONTS_SUCCESS"),W=(0,r.defineAction)("cms/tweak/FETCH_FONT_PACKS_SUCCESS"),F=(0,r.defineAction)("cms/tweak/FETCH_FONT_DEFINITIONS_SUCCESS"),G=(0,r.defineAction)("cms/tweak/FETCH_SITE_COLORS_SUCCESS"),k=(0,r.defineAction)("cms/tweak/FETCH_DEFAULT_COLOR_THEMES_SUCCESS"),x=(0,r.defineAction)("cms/tweak/FETCH_COLOR_VARIABLE_DEFINITIONS_SUCCESS"),M=(0,r.defineAction)("cms/tweak/FETCH_WEB_FONTS_SUCCESS"),B=(0,r.defineAction)("cms/tweak/FETCH_SITE_STYLES_DATA",J=>{let{pageType:me,tweakApi:re,languageSubset:he}=J;return async Ee=>{Ee({}),me===o.Z.STYLE&&c(re).then(H=>Ee(I(H)));const fe=[S.G().then(H=>Ee(M(H))),a(re).then(H=>Ee(s(H))),i(re).then(H=>Ee(v(H))),p().then(H=>Ee(x(H))),_().then(H=>Ee(k(H))),h().then(H=>Ee(G(H))),A().then(H=>Ee(F(H))),O().then(H=>(Ee(L(H)),C({releaseStatus:n.Qq.PRODUCTION,languageSubset:he,includeName:H.name}).then(z=>Ee(W(z)))))];try{const H=await Promise.all(fe);Ee(m(H))}catch(H){Ee(E(H))}}}),R=(0,r.defineAction)("cms/tweak/SAVE_SITE_STYLES_SUCCESS"),U=(0,r.defineAction)("cms/tweak/SAVE_SITE_STYLES_FAILURE"),j=(0,r.defineAction)("cms/tweak/SAVE_SITE_STYLES",J=>async(me,re)=>{me({});try{const he=re(),Ee=(0,u.getTweaksIsDirty)(he),fe=(0,u.getWebFontsByCssString)(he),H=(0,u.getTweakValuesCurrent)(he),z=(0,u.getIsFontsDirty)(he),_e=(0,u.getIsColorsDirty)(he),ae=(0,u.getSiteThemeSettings)(he),ge=z&&(0,u.getIsSavingFonts)(he),Be=[],Ke=[];if((0,u.getIsSavingColors)(he)&&_e&&Be.push(g((0,u.getWebsiteColors)(he))),ge){const He=(0,u.getActiveFontPack)(he);Be.push(P(He))}return(Ee||ge)&&Be.push(J.save({tweakValues:H,siteThemeSettings:ae})),await Promise.all(Be),me(R({tweakValuesCurrent:H}))}catch(he){return me(U(he))}}),$=(0,r.defineAction)("cms/tweak/DISCARD_SITE_STYLES"),ee=(0,r.defineAction)("cms/tweak/RESET_TWEAKS_TO_DEFAULTS_SUCCESS",J=>J,()=>({undoable:!0,timestamp:Date.now()})),te=(0,r.defineAction)("cms/tweak/RESET_TWEAKS_TO_DEFAULTS_FAILURE"),ie=(0,r.defineAction)("cms/tweak/REQUEST_RESET_TWEAKS_TO_DEFAULTS",J=>async(me,re)=>{me({});try{const he=await J.reset();me(ee(he))}catch(he){me(te(he))}}),ne=(0,r.defineAction)("cms/tweak/REVERT_TWEAK_FIELDS",J=>J,()=>({undoable:!0,timestamp:Date.now()})),pe=(0,r.defineAction)("cms/tweak/UPDATE_TWEAK_FIELD",J=>J,J=>{let{options:me}=J;return{undoable:!0,grouping:me==null?void 0:me.grouping,timestamp:Date.now()}}),oe=(0,T.w)("cms/siteTheme/UPDATE_MULTIPLE_TWEAK_FIELDS"),q=(0,r.defineAction)("cms/tweak/SET_TWEAK_FILTER_PROPERTIES")},758152:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(851939),o=e(121857);const n={tone:void 0,visualTone:void 0,description:void 0,name:void 0,id:void 0,version:void 0,exists:!1,loading:!1,loaded:!1,isDirty:!1,isSaving:!1},a=(0,r.createReducer)(n,i=>{i.addCase(o.eF.pending,c=>({...c,loading:!0})).addCase(o.eF.fulfilled,(c,u)=>{let{payload:{tone:f,visualTone:d,description:h,name:g,id:_,version:p}}=u;return{...c,exists:!0,loading:!1,loaded:!0,tone:f,visualTone:d,description:h,name:g,id:_,version:p}}).addCase(o.eF.rejected,c=>({...c,exists:!1,loading:!1,loaded:!1})).addCase(o.J4,(c,u)=>{let{payload:{tone:f,visualTone:d,description:h}}=u;return{...c,isDirty:!0,tone:f??c.tone,visualTone:d??c.visualTone,description:h??c.description}}).addCase(o.wW.pending,c=>({...c,isSaving:!0})).addCase(o.wW.fulfilled,(c,u)=>{let{payload:{version:f}}=u;return{...c,isSaving:!1,isDirty:!1,version:f}})})},717919:function(b,l,e){"use strict";e.d(l,{Z:()=>Qt});var r=e(269399),o=e(986091),n=e(818584),a=e(209496),i=e(685896),c=e(613852),u=e(802671),f=e(37755),d=e(574922),h=e(721460);const g={filterString:"",groupType:u.c8[0],groupsExpandedState:"expanded",showExperimental:!1,showOnlyWhenPresent:!1,loading:!1,loaded:!1,saving:!1,visibleDefinitions:[],definitionVisibility:{},selectedDefinitions:[],numTweaksAvailable:0,numTweaksDisplayed:0,fieldGroups:{},tweakValuesSaved:{},tweakValuesCurrent:{},tweakDefinitions:{},mixinTweakDefinitions:{},changedFontTweaks:[],customCss:{value:"",compiledCss:"",isDirty:!1},rawData:{}},_=qt=>{let{tweakValuesCurrent:Te,tweakValuesSaved:Gt,tweakDefinitions:un}=qt;const Vt=(0,f.Z)({prev:Gt,next:Te});return Object.keys(Vt).filter(Wt=>un[Wt]).length>0},p=(qt,Te)=>{const{tweakValuesSaved:Gt}=qt,{changedFontTweaks:un,tweakValues:Vt,tweakDefinitions:Dn}=(0,i.Z)({...qt,tweakValues:{...qt.tweakValuesCurrent,...Te},noValidate:!0}),Wt=Vt,Pe=_({tweakValuesCurrent:Wt,tweakValuesSaved:Gt,tweakDefinitions:qt.tweakDefinitions});return{changedFontTweaks:un,tweakDefinitions:Dn,tweakValuesCurrent:Wt,isDirty:Pe}},y=(0,n.handleActions)({[h.XF]:qt=>({...qt,loading:!1,loaded:!1,saving:!1,isDirty:!1,tweakValuesCurrent:qt.tweakValuesSaved}),[h.dR]:(qt,Te)=>{let{payload:Gt}=Te;return{...qt,customCss:{value:Gt,isDirty:!1}}},[h.w4]:(qt,Te)=>{let{payload:Gt}=Te;return{...qt,rawData:{...qt.rawData,...Gt}}},[h.DD]:qt=>({...qt,loading:!0,loaded:!1,saving:!1}),[h.o2]:qt=>({...qt,loading:!1}),[h.wQ]:qt=>({...qt,loading:!1,loaded:!0}),[h._U]:(qt,Te)=>{let{payload:Gt}=Te;const un=Gt,Vt=(0,a.C5)(Gt.tweakDefinitions),{tweakValues:Dn,changedFontTweaks:Wt,tweakDefinitions:Pe}=(0,i.Z)({tweakValues:Gt.tweakValues,mixinTweakDefinitions:Vt.mixinTweakDefinitions,tweakDefinitions:Vt.tweakDefinitions}),xe=(0,c.Z)({tweakDefinitions:Pe,tweakValuesCurrent:Dn,visibleDefinitions:qt.visibleDefinitions,filterString:qt.filterString,selectedDefinitions:qt.selectedDefinitions,showOnlyWhenPresent:!1,groupType:qt.groupType}),Ae={tweakValuesCurrent:Dn,tweakValuesSaved:Dn,changedFontTweaks:Wt,tweakDefinitions:Pe,mixinTweakDefinitions:Vt.mixinTweakDefinitions,rawData:{...qt.rawData,...un,tweakValues:Dn},...xe};return{...qt,...Ae}},[h.Lz]:(qt,Te)=>{let{payload:Gt}=Te;return{...qt,...p(qt,Gt)}},[h.gP]:(qt,Te)=>{let{payload:Gt}=Te;const un=Gt.reduce((Vt,Dn)=>(Vt[Dn]=qt.tweakValuesSaved[Dn],Vt),{});return{...qt,...p(qt,un)}},[h.Ne]:qt=>({...qt,saving:!0}),[h.s4]:qt=>({...qt,isDirty:!1,loading:!1,loaded:!1,saving:!1,tweakValuesSaved:qt.tweakValuesCurrent}),[h.jE]:(qt,Te)=>{let{payload:Gt}=Te;const un=(0,c.Z)({tweakValuesCurrent:qt.tweakValuesCurrent,tweakDefinitions:qt.tweakDefinitions,selectedDefinitions:qt.selectedDefinitions,filterString:qt.filterString,groupType:qt.groupType,visibleDefinitions:qt.visibleDefinitions,...Gt,showOnlyWhenPresent:!1});return{...qt,...un,...Gt}},[h.w3]:(qt,Te)=>{let{payload:{variableName:Gt,value:un,options:Vt={}}}=Te;const{tweakValuesCurrent:Dn,tweakDefinitions:Wt}=(0,d.Z)({...qt,variableName:Gt,value:un,options:Vt});return{...qt,tweakValuesCurrent:Dn,tweakDefinitions:Wt,isDirty:_({tweakValuesCurrent:Dn,tweakValuesSaved:qt.tweakValuesSaved,tweakDefinitions:qt.tweakDefinitions})}},[h.YR]:(qt,Te)=>{let{payload:Gt}=Te;return{...qt,...p(qt,Gt)}}},g);var O=e(851939),P=e(268084),C=e(678269),A=e(731144);const T={activeFontPack:{name:null},templateFontPacks:[],fontDefinitions:[],initialActiveFontCssStrings:new Set,isFontsDirty:!1,isSavingFonts:!1},s=(0,O.createReducer)(T,qt=>{qt.addCase(h.XF,Te=>{Te.isFontsDirty=!1}).addCase(h.xM,(Te,Gt)=>{let{payload:un}=Gt;Te.activeFontPack=un;const Vt=(0,P.Xl)(un);Te.initialActiveFontCssStrings=Vt}).addCase(h.bR,(Te,Gt)=>{let{payload:un}=Gt;Te.fontDefinitions=un}).addCase(h.vl,(Te,Gt)=>{let{payload:un}=Gt;Te.templateFontPacks=un}).addCase(h.Ne,Te=>{Te.isSavingFonts=!0}).addCase(h.s4,Te=>{Te.isFontsDirty=!1,Te.isSavingFonts=!1}).addCase(C.FY,(Te,Gt)=>{let{payload:un}=Gt;Te.activeFontPack=un,Te.isFontsDirty=!0}).addCase(C.iZ,(Te,Gt)=>{let{payload:un}=Gt;const Vt=(0,P.jT)(Te.templateFontPacks,un);Vt&&(Te.activeFontPack=Vt),Te.isFontsDirty=!0}).addCase(C.Vz,(Te,Gt)=>{let{payload:un}=Gt;Te.activeFontPack&&(Te.activeFontPack.baseFontSize=un),Te.isFontsDirty=!0}).addCase(C.a_,(Te,Gt)=>{let{payload:{name:un,value:Vt}}=Gt;const Dn=(0,P.Nb)(Te.activeFontPack,un);Dn&&(Dn.fontValue={...Dn.fontValue,...Vt},Te.isFontsDirty=!0)}).addCase(C.h6,(Te,Gt)=>{let{payload:{name:un,value:Vt}}=Gt;const Dn=(0,P.aX)(Te.activeFontPack,un);Dn&&(Dn.value={...Dn.value,...Vt},Te.isFontsDirty=!0)}).addCase(C.zH,(Te,Gt)=>{let{payload:{name:un,mapping:Vt}}=Gt;const Dn=(0,P.G7)(Te.fontDefinitions,un);let Wt=(0,P.iS)(Te.activeFontPack,un);if(!Wt&&(Dn==null?void 0:Dn.releaseStatus)===A.d.BETA){var Pe;Wt=(0,P.Dj)(un),(Pe=Te.activeFontPack)===null||Pe===void 0||Pe.fontMappings.push(Wt)}if(Wt){if(Vt==="custom"){var xe;const Ae=(xe=(0,P.Nb)(Te.activeFontPack,Wt.fontMapping))===null||xe===void 0?void 0:xe.fontValue;Ae&&(Wt.customFontValue={...Ae})}else Wt.fontMapping=Vt,Wt.customFontValue=void 0;Te.isFontsDirty=!0}}).addCase(C.JU,(Te,Gt)=>{let{payload:{name:un,mapping:Vt}}=Gt;const Dn=(0,P.G7)(Te.fontDefinitions,un);let Wt=(0,P.iS)(Te.activeFontPack,un);if(!Wt&&(Dn==null?void 0:Dn.releaseStatus)===A.d.BETA){var Pe;Wt=(0,P.Dj)(un),(Pe=Te.activeFontPack)===null||Pe===void 0||Pe.fontMappings.push(Wt)}if(Wt){if(Vt==="custom"){var xe;const Ae=(xe=(0,P.aX)(Te.activeFontPack,Wt.sizeMapping))===null||xe===void 0?void 0:xe.value;Ae&&(Wt.customSizeValue={...Ae})}else Wt.sizeMapping=Vt,Wt.customSizeValue=void 0;Te.isFontsDirty=!0}}).addCase(C.IA,(Te,Gt)=>{let{payload:{name:un,value:Vt}}=Gt;const Dn=(0,P.G7)(Te.fontDefinitions,un);let Wt=(0,P.iS)(Te.activeFontPack,un);if(!Wt&&(Dn==null?void 0:Dn.releaseStatus)===A.d.BETA){var Pe;Wt=(0,P.Dj)(un),(Pe=Te.activeFontPack)===null||Pe===void 0||Pe.fontMappings.push(Wt)}Wt&&(Wt.customFontValue={...Wt.customFontValue,...Vt},Te.isFontsDirty=!0)}).addCase(C._T,(Te,Gt)=>{let{payload:{name:un,value:Vt}}=Gt;const Dn=(0,P.G7)(Te.fontDefinitions,un);let Wt=(0,P.iS)(Te.activeFontPack,un);if(!Wt&&(Dn==null?void 0:Dn.releaseStatus)===A.d.BETA){var Pe;Wt=(0,P.Dj)(un),(Pe=Te.activeFontPack)===null||Pe===void 0||Pe.fontMappings.push(Wt)}Wt&&(Wt.customSizeValue={...Wt.customSizeValue,...Vt},Te.isFontsDirty=!0)}).addCase(C.Fd,Te=>{const{templateFontPacks:Gt,activeFontPack:un}=Te;if(!un)return;const Vt=un.name,Dn=(0,P.jT)(Gt,Vt);Dn&&(Te.activeFontPack=Dn,Te.isFontsDirty=!0)}).addCase(C.$P,(Te,Gt)=>{let{payload:{filter:un}}=Gt;const{templateFontPacks:Vt,activeFontPack:Dn,fontDefinitions:Wt}=Te;if(!Dn)return;const Pe=Dn.name,xe=(0,P.jT)(Vt,Pe);if(!xe)return;(un?Wt.filter(qe=>qe.filter&&un.includes(qe.filter)):Wt).forEach(qe=>{const wt=(0,P.iS)(Te.activeFontPack,qe.name),kt=xe.fontMappings.find(ut=>ut.name===qe.name);!wt||!kt||(wt.fontMapping=kt.fontMapping,wt.sizeMapping=kt.sizeMapping,wt.customFontValue=kt.customFontValue,wt.customSizeValue=kt.customSizeValue)}),Te.isFontsDirty=!0})});var v=e(938094),m=e(1531),E=e(797400);const I={websiteColors:{palette:[],colorThemes:[],defaultTheme:v.Pi.WHITE},defaultColorThemes:[],colorVariableDefinitions:[],activeThemeName:v.Pi.WHITE,filteredVariableNames:[],isSavingColors:!1,isColorsDirty:!1,isColorsPanelOpen:!1,isThemeEditorOpen:!1},L=(0,O.createReducer)(I,qt=>{qt.addCase(h.Bh,(Te,Gt)=>{let{payload:un}=Gt;Te.websiteColors=(0,E.ql)(un)}).addCase(h.bk,(Te,Gt)=>{let{payload:un}=Gt;Te.defaultColorThemes=un}).addCase(h.lI,(Te,Gt)=>{let{payload:un}=Gt;Te.colorVariableDefinitions=un}).addCase(m.uB,(Te,Gt)=>{let{payload:un}=Gt;Te.websiteColors.palette=un,Te.isColorsDirty=!0}).addCase(m.d_,(Te,Gt)=>{let{payload:{themeName:un,variableName:Vt,colorName:Dn}}=Gt;const{colorThemes:Wt}=Te.websiteColors,Pe=Te.colorVariableDefinitions,xe=(0,E.lx)(Wt,un),Ae=(0,E.wN)(Pe,Vt);let qe=(0,E.gM)(Vt,xe);Ae.releaseStatus===A.d.BETA&&!qe&&(qe=(0,E.Ir)(Vt),xe.mappings.push(qe)),qe&&(delete qe.customColor,qe.paletteColorMapping.colorName=Dn,Te.isColorsDirty=!0)}).addCase(m.ki,(Te,Gt)=>{let{payload:{themeName:un,variableName:Vt,alphaModifier:Dn}}=Gt;const{colorThemes:Wt}=Te.websiteColors,Pe=Te.colorVariableDefinitions,xe=(0,E.lx)(Wt,un),Ae=(0,E.wN)(Pe,Vt);let qe=(0,E.gM)(Vt,xe);Ae.releaseStatus===A.d.BETA&&!qe&&(qe=(0,E.Ir)(Vt),xe.mappings.push(qe)),qe&&(delete qe.customColor,qe.paletteColorMapping.alphaModifier=Dn,Te.isColorsDirty=!0)}).addCase(m.E_,(Te,Gt)=>{let{payload:{themeName:un,variableName:Vt,customColor:Dn}}=Gt;const{colorThemes:Wt}=Te.websiteColors,Pe=Te.colorVariableDefinitions,xe=(0,E.lx)(Wt,un),Ae=(0,E.wN)(Pe,Vt);let qe=(0,E.gM)(Vt,xe);Ae.releaseStatus===A.d.BETA&&!qe&&(qe=(0,E.Ir)(Vt),xe.mappings.push(qe)),qe&&(qe.customColor=Dn,Te.isColorsDirty=!0)}).addCase(m.CO,(Te,Gt)=>{let{payload:un}=Gt;const Vt=(0,E.lx)(Te.defaultColorThemes,un),Dn=(0,E.JK)(Te.websiteColors.colorThemes,un),Wt=new Set(Te.websiteColors.colorThemes[Dn].mappings.map(xe=>xe.variableName)),Pe=new Set(Te.colorVariableDefinitions.filter(xe=>xe.releaseStatus===A.d.BETA).map(xe=>xe.variableName));Te.websiteColors.colorThemes[Dn].mappings=Vt.mappings.reduce((xe,Ae)=>{const qe=Pe.has(Ae.variableName),wt=Wt.has(Ae.variableName);return(!qe||wt&&qe)&&xe.push(Ae),xe},[]),Te.isColorsDirty=!0}).addCase(m.xm,(Te,Gt)=>{let{payload:{themeName:un,filters:Vt}}=Gt;const Dn=(0,E.lx)(Te.defaultColorThemes,un),Wt=(0,E.JK)(Te.websiteColors.colorThemes,un),Pe=Te.websiteColors.colorThemes[Wt],xe=new Set(Te.colorVariableDefinitions.filter(qe=>Vt.includes(qe.filter)).map(qe=>qe.variableName)),Ae=Pe.mappings.map(qe=>{const{variableName:wt}=qe;return xe.has(wt)?(0,E.gM)(wt,Dn):qe}).filter(qe=>!!qe);Te.websiteColors.colorThemes[Wt].mappings=Ae,Te.isColorsDirty=!0}).addCase(m.tW,Te=>{Te.websiteColors.colorThemes=Te.defaultColorThemes,Te.isColorsDirty=!0}).addCase(m.p3,(Te,Gt)=>{let{payload:{filters:un}}=Gt;const{colorThemes:Vt}=Te.websiteColors,Dn=new Set(Te.colorVariableDefinitions.filter(Wt=>{let{filter:Pe,releaseStatus:xe}=Wt;return un.includes(Pe)&&xe!==A.d.BETA}).map(Wt=>{let{variableName:Pe}=Wt;return Pe}));Vt.forEach((Wt,Pe)=>{const xe=(0,E.lx)(Te.defaultColorThemes,Wt.themeName),Ae=Wt.mappings.map(qe=>{const{variableName:wt}=qe;return Dn.has(wt)?(0,E.gM)(wt,xe):qe}).filter(qe=>!!qe);Te.websiteColors.colorThemes[Pe].mappings=Ae}),Te.isColorsDirty=!0}).addCase(m.jC,(Te,Gt)=>{let{payload:un}=Gt;Te.activeThemeName=un}).addCase(m.oO,(Te,Gt)=>{let{payload:un}=Gt;Te.isColorsPanelOpen=un}).addCase(m.oP,(Te,Gt)=>{let{payload:un}=Gt;Te.isThemeEditorOpen=un}).addCase(m.u1,(Te,Gt)=>{let{payload:un}=Gt;Te.filteredVariableNames=un}).addCase(h.XF,Te=>{Te.isColorsDirty=!1}).addCase(h.Ne,Te=>{Te.isSavingColors=!0}).addCase(h.s4,Te=>{Te.isColorsDirty=!1,Te.isSavingColors=!1})});var W=e(586350),F=e(897820);const G={lastUpdate:0};function k(){let qt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:G,Te=arguments.length>1?arguments[1]:void 0;switch(Te.type){case W.CX.toString():case F.Rw.toString():return G;default:var Gt;return!((Gt=Te.meta)===null||Gt===void 0)&&Gt.undoable?{lastUpdate:Te.meta.timestamp}:qt}}var x=e(419467),M=e(86851),B=e(663634);const R=(qt,Te,Gt)=>[...qt.slice(0,Te),Gt,...qt.slice(Te)],U=(qt,Te)=>{const Gt=[...qt];return Gt.splice(Te,1),Gt},j=(qt,Te,Gt)=>{const un=[...qt];return un[Te]=Gt,un},$=(qt,Te,Gt)=>{const un=[...qt.slice(0,Te),...qt.slice(Te+1)];return R(un,Gt,qt[Te])};var ee=e(695960),te=e(330718),ie=e(858579),ne=e(436715),pe=e(193213),oe=e(411790),q=e(681975),J=e(120497);const me=1,re=-1,he=qt=>{let{blocks:Te,blockId:Gt,direction:un,deviceKey:Vt}=qt;if(un!==me&&un!==re)throw new Error("invalid direction to move block");const Dn=(0,pe.vT)(Te,Vt).map(tn=>(0,pe.IF)(tn)),Pe=Te.some(tn=>{var In;return(In=tn.layout[Vt].stickyScroll)===null||In===void 0?void 0:In.enabled})?Te:(0,J.Z)()?(0,q.pQ)({blocks:Te,selectedBlockId:Gt,deviceKey:Vt}):(0,ne.FA)({blocks:Te,deviceKey:Vt,selectedBlockId:Gt}),xe=new Set([Gt,...Pe.map(tn=>(0,pe.IF)(tn))]),Ae=Dn.filter(tn=>xe.has(tn)||tn===Gt),qe=Ae.findIndex(tn=>tn===Gt),wt=Ae[qe+un];if(!wt)return Te;const kt=Dn.findIndex(tn=>tn===Gt),ut=Dn.findIndex(tn=>tn===wt);Dn.splice(kt,1),Dn.splice(ut,0,Gt);const Ft={};return Dn.forEach((tn,In)=>{Ft[tn]=In+1}),Te.map(function(In){const rr=(0,x.cloneDeep)(In);return rr.layout[Vt].zIndex=Ft[(0,pe.IF)(In)],rr})},Ee=qt=>{let{enabled:Te,position:Gt,offset:un,blocks:Vt,blockId:Dn,deviceKey:Wt}=qt;return Vt.map(function(xe){const Ae=(0,x.cloneDeep)(xe);if((0,pe.IF)(xe)===Dn){const qe={enabled:Te,position:Gt,offset:un};Ae.layout[Wt].stickyScroll=(0,x.merge)(Ae.layout[Wt].stickyScroll,qe)}return Ae})},fe=qt=>{let{blocks:Te,blockIds:Gt,direction:un,deviceKey:Vt}=qt;if(un!==me&&un!==re)throw new Error("invalid direction to move block");const Dn=(0,pe.vT)(Te,Vt).map(kt=>(0,pe.IF)(kt)),Wt=(0,J.Z)()?(0,q.IG)({blocks:Te,blockIds:Gt,deviceKey:Vt}):(0,ne.h6)({blocks:Te,deviceKey:Vt,blockIds:Gt}),Pe=new Set(Wt.map(kt=>(0,pe.IF)(kt))),xe=Dn.filter(kt=>Pe.has(kt));if(xe.length<1)return Te;const Ae=Dn.filter(kt=>Gt.includes(kt)),qe=Dn.filter(kt=>!Gt.includes(kt));if(un===me){const kt=qe.findIndex(ut=>ut===xe[xe.length-1]);qe.splice(kt+1,0,...Ae)}else{const kt=qe.findIndex(ut=>ut===xe[0]);qe.splice(kt,0,...Ae)}const wt={};return qe.forEach((kt,ut)=>{wt[kt]=ut+1}),Te.map(function(ut){const Ft=(0,x.cloneDeep)(ut);return Ft.layout[Vt].zIndex=wt[(0,pe.IF)(ut)],Ft})},H=qt=>{let{blocks:Te,blockIds:Gt,direction:un,deviceKey:Vt,initialBlockLayout:Dn}=qt;switch(un){case oe.qr:{let Wt=1/0;return(0,ie.ZP)(Te,Pe=>{Pe.map(xe=>{const Ae=(0,pe.IF)(xe);if(!Gt.includes(Ae))return xe;const qe=xe.layout[Vt].end.x-xe.layout[Vt].start.x,wt=Dn[Ae][Vt].end.x-Dn[Ae][Vt].start.x,kt=qe-wt;return xe.layout[Vt].start.x<=Wt&&(Wt=xe.layout[Vt].start.x),kt!==0&&(xe.layout[Vt].end.x=xe.layout[Vt].end.x-kt),xe}).map(xe=>{const Ae=(0,pe.IF)(xe);if(!Gt.includes(Ae))return xe;const qe=xe.layout[Vt].start.x-Wt;return xe.layout[Vt].start.x=Wt,xe.layout[Vt].end.x=xe.layout[Vt].end.x-qe,xe})})}case oe.az:{const Wt=(0,ne.qY)((0,x.compact)(Te.map(qe=>Gt.includes((0,pe.IF)(qe))&&qe.layout[Vt]))),Pe=Wt.end.x-Wt.start.x,xe=Wt.start.x+Math.floor(Pe/2),Ae=Wt.start.x+Math.ceil(Pe/2);return(0,ie.ZP)(Te,qe=>{qe.map(wt=>{const kt=(0,pe.IF)(wt);if(!Gt.includes(kt))return wt;const ut=Dn[kt][Vt].end.x-Dn[kt][Vt].start.x;return Pe%2===0?(wt.layout[Vt].start.x=xe-Math.ceil(ut/2),wt.layout[Vt].end.x=Ae+Math.ceil(ut/2)):(wt.layout[Vt].start.x=xe-Math.floor(ut/2),wt.layout[Vt].end.x=Ae+Math.floor(ut/2)),wt})})}case oe.nf:{let Wt=-1/0;return(0,ie.ZP)(Te,Pe=>{Pe.map(xe=>{const Ae=(0,pe.IF)(xe);if(!Gt.includes(Ae))return xe;const qe=xe.layout[Vt].end.x-xe.layout[Vt].start.x,wt=Dn[Ae][Vt].end.x-Dn[Ae][Vt].start.x,kt=qe-wt;return xe.layout[Vt].end.x>=Wt&&(Wt=xe.layout[Vt].end.x),kt!==0&&(xe.layout[Vt].start.x=xe.layout[Vt].start.x+kt),xe}).map(xe=>{const Ae=(0,pe.IF)(xe);if(!Gt.includes(Ae))return xe;const qe=xe.layout[Vt].end.x-Wt;return xe.layout[Vt].end.x=Wt,xe.layout[Vt].start.x=xe.layout[Vt].start.x-qe,xe})})}case oe.i7:{let Wt=1/0;return(0,ie.ZP)(Te,Pe=>{Pe.map(xe=>{const Ae=(0,pe.IF)(xe);if(!Gt.includes(Ae))return xe;const qe=xe.layout[Vt].end.y-xe.layout[Vt].start.y,wt=Dn[Ae][Vt].end.y-Dn[Ae][Vt].start.y,kt=qe-wt;return xe.layout[Vt].start.y<=Wt&&(Wt=xe.layout[Vt].start.y),kt!==0&&(xe.layout[Vt].end.y=xe.layout[Vt].end.y-kt),xe}).map(xe=>{const Ae=(0,pe.IF)(xe);if(!Gt.includes(Ae))return xe;const qe=xe.layout[Vt].start.y-Wt;return xe.layout[Vt].start.y=Wt,xe.layout[Vt].end.y=xe.layout[Vt].end.y-qe,xe})})}case oe.yf:{const Wt=(0,ne.qY)((0,x.compact)(Te.map(qe=>Gt.includes((0,pe.IF)(qe))&&qe.layout[Vt]))),Pe=Wt.end.y-Wt.start.y,xe=Wt.start.y+Math.floor(Pe/2),Ae=Wt.start.y+Math.ceil(Pe/2);return(0,ie.ZP)(Te,qe=>{qe.map(wt=>{const kt=(0,pe.IF)(wt);if(!Gt.includes(kt))return wt;const ut=Dn[kt][Vt].end.y-Dn[kt][Vt].start.y;return Pe%2===0?(wt.layout[Vt].start.y=xe-Math.ceil(ut/2),wt.layout[Vt].end.y=Ae+Math.ceil(ut/2)):(wt.layout[Vt].start.y=xe-Math.floor(ut/2),wt.layout[Vt].end.y=Ae+Math.floor(ut/2)),wt})})}case oe.PS:{let Wt=-1/0;return(0,ie.ZP)(Te,Pe=>{Pe.map(xe=>{const Ae=(0,pe.IF)(xe);if(!Gt.includes(Ae))return xe;const qe=xe.layout[Vt].end.y-xe.layout[Vt].start.y,wt=Dn[Ae][Vt].end.y-Dn[Ae][Vt].start.y,kt=qe-wt;return xe.layout[Vt].end.y>=Wt&&(Wt=xe.layout[Vt].end.y),kt!==0&&(xe.layout[Vt].start.y=xe.layout[Vt].start.y+kt),xe}).map(xe=>{const Ae=(0,pe.IF)(xe);if(!Gt.includes(Ae))return xe;const qe=xe.layout[Vt].end.y-Wt;return xe.layout[Vt].end.y=Wt,xe.layout[Vt].start.y=xe.layout[Vt].start.y-qe,xe})})}default:return Te}};function z(qt){return qt.sectionName===ee.Z.FLUID_ENGINE}var _e=e(911896),ae=e(787592),ge=e(600557),Be=e(213552);const{setJsonPointerValue:Ke}=M.jsonPointerUtils,He={collectionId:null,parentPageSectionsId:null,lastLoadRequestId:null,headerSectionIds:[],pageSectionIds:[],collectionItemSectionIds:[],footerSectionIds:[],sectionEditContexts:{},sectionsLayoutSwitchApplied:{},unsavedInlineItemChanges:{title:null,body:null},revertibleSection:{},loadingStatus:"idle",selectedLayoutSuggestion:null},ye="debug_section_load_race_condition";function Le(qt){return{...He,...qt}}const Ue=(qt,Te,Gt,un)=>{let Vt=qt.indexOf(Gt);return un||(Vt=Vt+1),R(qt,Vt,Te)},Xe=(qt,Te,Gt)=>{const un=qt.indexOf(Te);if(un===-1)return qt;const Vt=(0,x.clamp)(un+Gt,0,qt.length-1);return $(qt,un,Vt)},ht=(0,O.createReducer)(He,qt=>{qt.addCase(W.bm.pending,(Te,Gt)=>{let{meta:{arg:{templatePageSectionsId:un,collectionItemPageSectionsId:Vt},requestId:Dn}}=Gt;return{...He,parentPageSectionsId:un??Vt??null,lastLoadRequestId:Dn,loadingStatus:"pending"}}).addCase(W.bm.fulfilled,(Te,Gt)=>{let{payload:{headerSectionIds:un,pageSectionIds:Vt,collectionItemSectionIds:Dn,footerSectionIds:Wt,sectionEditContexts:Pe},meta:{arg:{collectionId:xe,templatePageSectionsId:Ae,collectionItemPageSectionsId:qe},requestId:wt}}=Gt;return(0,B.cr)(ye)&&Te.lastLoadRequestId!==wt&&(0,ge.Tb)(new Error("A section load event completed after a different one was started")),{...Te,collectionId:xe,parentPageSectionsId:Ae??qe??null,headerSectionIds:un,pageSectionIds:Vt,collectionItemSectionIds:Dn,footerSectionIds:Wt,sectionEditContexts:Pe,loadingStatus:"fulfilled"}}).addCase(W.bm.rejected,Te=>(0,B.cr)(ye)?{...Te,loadingStatus:"idle"}:Te).addCase(W.CX,(Te,Gt)=>{let{payload:{persistedSections:{headerSectionIds:un,pageSectionIds:Vt,collectionItemSectionIds:Dn,footerSectionIds:Wt,sectionEditContexts:Pe}}}=Gt;return{...Te,headerSectionIds:un,pageSectionIds:Vt,collectionItemSectionIds:Dn,footerSectionIds:Wt,sectionEditContexts:Pe}}).addCase(F.Rw,Te=>({...Te,unsavedInlineItemChanges:He.unsavedInlineItemChanges})).addCase(W.a1.fulfilled,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,sectionsLayoutSwitchApplied:He.sectionsLayoutSwitchApplied,sectionEditContexts:(0,Be.Z)()?un.sectionEditContexts:Te.sectionEditContexts}}).addCase(W.f1,(Te,Gt)=>{let{payload:un}=Gt;const Vt=(0,x.pick)(un,["title","body","workflowState","publishOn"]);Te.unsavedInlineItemChanges={...Te.unsavedInlineItemChanges,...Vt}}).addCase(W.Sm,(Te,Gt)=>{let{payload:un}=Gt;const{sectionId:Vt,isDirty:Dn=!0,revertibleSection:Wt,layoutSuggestion:Pe,...xe}=un;Te.sectionEditContexts[Vt]={...Te.sectionEditContexts[Vt],...xe,isDirty:Dn},Wt&&(Te.revertibleSection[Vt]=Wt),Pe&&(Te.selectedLayoutSuggestion=Pe,Te.sectionsLayoutSwitchApplied[Vt]=Pe)}).addCase(F.Qe,(Te,Gt)=>{let{payload:{sectionId:un}}=Gt;Te.revertibleSection[un]=null}).addCase(F.v$,Te=>{Te.revertibleSection={}}).addCase(F.yd,Te=>{Te.selectedLayoutSuggestion=null}).addCase(F.rl,Te=>{Te.selectedLayoutSuggestion=null}).addCase(W.tl,(Te,Gt)=>{let{payload:{sectionId:un}}=Gt;const Vt=Te.revertibleSection[un],Dn=Te.sectionEditContexts[un];Dn.backgroundImageId=Vt.backgroundImageId,Dn.fluidEngineContext=Vt.fluidEngineContext,Dn.styles.customSectionHeight=Vt.styles.customSectionHeight,Dn.styles.sectionHeight=Vt.styles.sectionHeight,Te.revertibleSection[un]=null}).addCase(te.pX,(Te,Gt)=>{let{payload:{sectionId:un,updatedFluidEngineContext:Vt}}=Gt;const Dn=Te.sectionEditContexts[un];if(!Dn){(0,ae.$e)(Wt=>{Wt.setTag("has_section_id",!!un),Wt.setTag("section_id",un),Wt.setTag("section_load_status",Te.loadingStatus),Wt.setTag("has_section_contexts",Object.keys(Te.sectionEditContexts).length!==0),(0,ge.Tb)(new Error("No section edit context found for given ID when auto updating grid"))});return}if(!z(Dn))throw new Error("cannot clean non-FluidEngine section");Te.sectionEditContexts[un]={...Dn,fluidEngineContext:Vt,isDirty:!0}}).addCase(W._X,(Te,Gt)=>{let{payload:{sectionId:un,deviceKey:Vt,rowCount:Dn}}=Gt;const Wt=Te.sectionEditContexts[un];Wt.fluidEngineContext.gridSettings.breakpointSettings[Vt].rows=Dn}).addCase(F.rN,(Te,Gt)=>{let{payload:{sectionId:un,fluidEngineContext:Vt}}=Gt;const Dn=Te.sectionEditContexts[un];Dn.fluidEngineContext=Vt}).addCase(F.Rx,(Te,Gt)=>{let{payload:{sectionId:un,fluidEngineContext:Vt}}=Gt;const Dn=Te.sectionEditContexts[un];Dn.fluidEngineContext=Vt,Te.revertibleSection[un]=null}).addCase(F.Vb,(Te,Gt)=>{let{payload:{sectionId:un,fluidEngineContext:Vt}}=Gt;const Dn=Te.sectionEditContexts[un];Dn.fluidEngineContext=Vt}).addCase(W.C$,(Te,Gt)=>{let{payload:un}=Gt;const{sectionId:Vt,diff:Dn}=un,Wt=Te.sectionEditContexts[Vt];if(!Wt){(0,ae.$e)(Pe=>{Pe.setTag("has_section_id",!!Vt),Pe.setTag("section_id",Vt),Pe.setTag("section_load_status",Te.loadingStatus),Pe.setTag("has_section_contexts",Object.keys(Te.sectionEditContexts).length!==0),(0,ge.Tb)(new Error("No section edit context found for given ID when handling section diff action"))});return}Wt.sectionName===ee.Z.JSON_SCHEMA?"#/customId"in Dn?Wt.customId=Dn["#/customId"]:Wt.jsonData=Object.entries(Dn).reduce((Pe,xe)=>{let[Ae,qe]=xe;return Ke(Pe,Ae,qe)},Wt.jsonData):Te.sectionEditContexts[Vt]=Object.entries(Dn).reduce((Pe,xe)=>{let[Ae,qe]=xe;return Ke(Pe,Ae,qe)},Te.sectionEditContexts[Vt])}).addCase(W.KC,(Te,Gt)=>{let{payload:{sectionId:un,moveAmount:Vt,region:Dn}}=Gt;Dn==="page"?Te.pageSectionIds=Xe(Te.pageSectionIds,un,Vt):Dn==="collection-item"?Te.collectionItemSectionIds=Xe(Te.collectionItemSectionIds,un,Vt):Dn==="footer"&&(Te.footerSectionIds=Xe(Te.footerSectionIds,un,Vt))}).addCase(W.Oi,(Te,Gt)=>{let{payload:un}=Gt;Te.pageSectionIds=Te.pageSectionIds.filter(Vt=>Vt!==un),Te.collectionItemSectionIds=Te.collectionItemSectionIds.filter(Vt=>Vt!==un),Te.footerSectionIds=Te.footerSectionIds.filter(Vt=>Vt!==un),delete Te.sectionEditContexts[un]}).addCase(W.qG.fulfilled,(Te,Gt)=>{let{payload:un,meta:{region:Vt,afterSectionId:Dn,isAddAbove:Wt}}=Gt;Te.sectionEditContexts[un.id]=un,Vt==="page"?Te.pageSectionIds=Ue(Te.pageSectionIds,un.id,Dn,Wt):Vt==="collection-item"?Te.collectionItemSectionIds=Ue(Te.collectionItemSectionIds,un.id,Dn,Wt):Vt==="footer"&&(Te.footerSectionIds=Ue(Te.footerSectionIds,un.id,Dn,Wt))}).addCase(W.vc,(Te,Gt)=>{let{payload:{sections:un,region:Vt}}=Gt;Vt==="page"?(Te.pageSectionIds.forEach(Dn=>{delete Te.sectionEditContexts[Dn]}),Te.pageSectionIds=un.map(Dn=>{let{id:Wt}=Dn;return Wt})):Vt==="collection-item"?(Te.collectionItemSectionIds.forEach(Dn=>{delete Te.sectionEditContexts[Dn]}),Te.collectionItemSectionIds=un.map(Dn=>{let{id:Wt}=Dn;return Wt})):Vt==="footer"&&(Te.footerSectionIds.forEach(Dn=>{delete Te.sectionEditContexts[Dn]}),Te.footerSectionIds=un.map(Dn=>{let{id:Wt}=Dn;return Wt})),un.forEach(Dn=>{Te.sectionEditContexts[Dn.id]=Dn})}).addCase(te.Qy,(Te,Gt)=>{let{payload:{sectionId:un,blockId:Vt,direction:Dn,deviceKey:Wt}}=Gt;const Pe=Te.sectionEditContexts[un],xe=(Pe==null?void 0:Pe.fluidEngineContext.gridContents)??[];if(!Pe||!xe.find(qe=>(0,pe.IF)(qe)===Vt))return Te;const Ae=he({blocks:xe,blockId:Vt,direction:Dn,deviceKey:Wt});(0,x.isEqual)(xe,Ae)||(Pe.fluidEngineContext.gridContents=Ae)}).addCase(te._4,(Te,Gt)=>{let{payload:{sectionId:un,deviceKey:Vt,updatedBlockOrder:Dn}}=Gt;const Wt=Te.sectionEditContexts[un];if(!Wt)return Te;const Pe=(Wt==null?void 0:Wt.fluidEngineContext.gridContents)??[];Wt.fluidEngineContext.gridContents=Pe.map(xe=>{const Ae=(0,x.cloneDeep)(xe);return Ae.layout[Vt].zIndex=Dn.indexOf((0,pe.IF)(Ae))+1,Ae})}).addCase(te.I,(Te,Gt)=>{let{payload:{enabled:un,position:Vt,offset:Dn,sectionId:Wt,blockId:Pe,deviceKey:xe}}=Gt;const Ae=Te.sectionEditContexts[Wt],qe=(Ae==null?void 0:Ae.fluidEngineContext.gridContents)??[];if(!Ae||!qe.find(kt=>(0,pe.IF)(kt)===Pe))return Te;const wt=Ee({enabled:un,position:Vt,offset:Dn,blocks:qe,blockId:Pe,deviceKey:xe});(0,x.isEqual)(qe,wt)||(Ae.fluidEngineContext.gridContents=wt)}).addCase(te.Ce,(Te,Gt)=>{let{payload:{sectionId:un,blockIds:Vt,direction:Dn,deviceKey:Wt}}=Gt;const Pe=Te.sectionEditContexts[un],xe=Pe.fluidEngineContext.gridContents,Ae=fe({blocks:xe,blockIds:Vt,direction:Dn,deviceKey:Wt});(0,x.isEqual)(xe,Ae)||(Pe.fluidEngineContext.gridContents=Ae)}).addCase(te.Q7,(Te,Gt)=>{let{payload:{sectionId:un,blockIds:Vt,direction:Dn,deviceKey:Wt,initialBlockLayout:Pe}}=Gt;const xe=Te.sectionEditContexts[un],Ae=xe.fluidEngineContext.gridContents,qe=H({blocks:Ae,blockIds:Vt,direction:Dn,deviceKey:Wt,initialBlockLayout:Pe});(0,x.isEqual)(Ae,qe)||(xe.fluidEngineContext.gridContents=qe)}).addCase(te.Gr,(Te,Gt)=>{let{payload:{sectionId:un,blockId:Vt,verticalAlignment:Dn,deviceKey:Wt}}=Gt;const Ae=Te.sectionEditContexts[un].fluidEngineContext.gridContents.find(qe=>(0,pe.IF)(qe)===Vt);Ae&&(Ae.layout[Wt].verticalAlignment=Dn)}).addCase(te.Tc,(Te,Gt)=>{let{payload:{sectionId:un,fluidEngineContext:Vt}}=Gt;const Dn=Te.sectionEditContexts[un];Dn.fluidEngineContext=Vt,Te.revertibleSection[un]=null}).addCase(te.cR,(Te,Gt)=>{let{payload:{sectionId:un,blockId:Vt,direction:Dn}}=Gt;const Wt=Te.sectionEditContexts[un];Wt.fluidEngineContext=(0,_e.UA)({fluidEngineContext:Wt.fluidEngineContext,blockId:Vt,direction:Dn})}).addCase(W.nb,(Te,Gt)=>{let{payload:{previousSectionId:un,sections:Vt,region:Dn}}=Gt;const Wt=Te.pageSectionIds.findIndex(Ae=>Ae===un),Pe=Te.collectionItemSectionIds.findIndex(Ae=>Ae===un),xe=Te.footerSectionIds.findIndex(Ae=>Ae===un);Te.pageSectionIds=Te.pageSectionIds.filter(Ae=>Ae!==un),Te.collectionItemSectionIds=Te.collectionItemSectionIds.filter(Ae=>Ae!==un),Te.footerSectionIds=Te.footerSectionIds.filter(Ae=>Ae!==un),delete Te.sectionEditContexts[un],Vt.forEach((Ae,qe)=>{if(Te.sectionEditContexts[Ae.id]=Ae,Dn==="page"){const wt=Wt+qe;Te.pageSectionIds.splice(wt,0,Ae.id)}else if(Dn==="collection-item"){const wt=Pe+qe;Te.collectionItemSectionIds.splice(wt,0,Ae.id)}else if(Dn==="footer"){const wt=xe+qe;Te.footerSectionIds.splice(wt,0,Ae.id)}})})});var Ne=e(850255),Ce=e(505739);const we=[h.XF.toString(),F.Rw.toString(),W.CX.toString()],$e=1e3,Ot={groupName:null,lastDebounceTime:null};function Pt(){let qt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ot,Te=arguments.length>1?arguments[1]:void 0;var Gt;const un=Date.now();if(Te.type===Ne.lW.toString()||we.includes(Te.type))return Ot;switch(Te==null||(Gt=Te.meta)===null||Gt===void 0?void 0:Gt.grouping){case Ce.Z.DEBOUNCED:var Vt;return!(Te==null||(Vt=Te.meta)===null||Vt===void 0)&&Vt.undoable?!qt.groupName||!qt.lastDebounceTime||un-qt.lastDebounceTime>$e?{groupName:un,lastDebounceTime:un}:{...qt,lastDebounceTime:un}:qt;case Ce.Z.UNTIL_END_UNDO_GROUP:var Dn;return!(Te==null||(Dn=Te.meta)===null||Dn===void 0)&&Dn.undoable?{groupName:qt.groupName??un,lastDebounceTime:null}:qt;default:var Wt;return!(Te==null||(Wt=Te.meta)===null||Wt===void 0)&&Wt.undoable&&qt.groupName?Ot:qt}}var Ie=e(682395),Bt,mt,rt,ce,Re,nt,st,vt,ze;const It={siteTitle:((rt=window.Static)===null||rt===void 0||(mt=rt.SQUARESPACE_CONTEXT)===null||mt===void 0||(Bt=mt.website)===null||Bt===void 0?void 0:Bt.siteTitle)||"",fieldErrors:null,logoImageId:((nt=window.Static)===null||nt===void 0||(Re=nt.SQUARESPACE_CONTEXT)===null||Re===void 0||(ce=Re.website)===null||ce===void 0?void 0:ce.logoImageId)||null,mobileLogoImageId:((ze=window.Static)===null||ze===void 0||(vt=ze.SQUARESPACE_CONTEXT)===null||vt===void 0||(st=vt.website)===null||st===void 0?void 0:st.mobileLogoImageId)||null},on=(0,O.createReducer)(It,qt=>{qt.addCase(W.CX,(Te,Gt)=>{let{payload:{headerWebsiteData:un}}=Gt;return un}).addCase(W.bm.fulfilled,(Te,Gt)=>{let{payload:{headerWebsiteData:un}}=Gt;return un}).addCase(W.a1.fulfilled,(Te,Gt)=>{let{payload:{headerWebsiteData:un}}=Gt;return un}).addCase(Ie.l,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,...un}})});var Pn=e(934965);const Yn=null,Ln=(0,O.createReducer)(Yn,qt=>{qt.addCase(F.wR,(Te,Gt)=>{let{payload:un}=Gt;return un}).addCase(W.CX,(Te,Gt)=>{let{payload:{persistedCollection:un}}=Gt;return un}).addCase(Pn.R,(Te,Gt)=>{let{payload:un}=Gt;return un})});var bn=e(294646);const ir=null,Zn=(0,O.createReducer)(ir,qt=>{qt.addCase(F.n,(Te,Gt)=>{let{payload:un}=Gt;return un}).addCase(W.CX,(Te,Gt)=>{let{payload:{persistedCollectionItem:un}}=Gt;return un}).addCase(bn.i,(Te,Gt)=>{let{payload:un}=Gt;return un})});var $n=e(1733),jt=e(52151);const Rn=(0,O.createReducer)(jt.l,qt=>{qt.addCase($n.i,(Te,Gt)=>{let{payload:un}=Gt;return un}).addCase($n.A,(Te,Gt)=>{let{payload:un}=Gt;return un})});var jn=e(481190);const Tn={siteThemeSettings:{}},Nn=(0,O.createReducer)(Tn,qt=>{qt.addCase(h._U,(Te,Gt)=>{let{payload:{siteThemeSettings:un}}=Gt;Te.siteThemeSettings=un}).addCase(jn.P,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,siteThemeSettings:{...Te.siteThemeSettings,...un}}})});var cn=e(758152),or=e(657408),qn=e(561755),Hr,fo;const{position:Jr,themeName:ro}=((fo=(0,or.getWebsiteContext)())===null||fo===void 0||(Hr=fo.websiteSettings)===null||Hr===void 0?void 0:Hr.cookieBannerSettings)||{},Xt={cookieBannerPosition:Jr,cookieBannerTheme:ro,isCookieBannerDirty:!1},Je=(0,O.createReducer)(Xt,qt=>{qt.addCase(qn.r6,(Te,Gt)=>{let{payload:un}=Gt;Te.cookieBannerPosition=un,Te.isCookieBannerDirty=!0}).addCase(qn.iS,(Te,Gt)=>{let{payload:un}=Gt;Te.cookieBannerTheme=un,Te.isCookieBannerDirty=!0}).addCase(h.XF,Te=>{Te.isCookieBannerDirty=!1,Te.cookieBannerPosition=Xt.cookieBannerPosition,Te.cookieBannerTheme=Xt.cookieBannerTheme}).addCase(qn.Dd,Te=>{Te.isCookieBannerDirty=!1})}),At=(0,r.combineReducers)({tweaks:y,fonts:s,colors:L,sections:ht,grouping:Pt,headerWebsiteData:on,collection:Ln,collectionItem:Zn,editTimer:k,headerNav:Rn,siteTheme:Nn,brandIdentity:cn.Z,cookieBanner:Je}),xt={clearDirtyType:[],clearHistoryType:we,syncFilter:!0,filter:qt=>{let{meta:Te}=qt;return!!(Te!=null&&Te.undoable)},groupBy:(qt,Te)=>{let{meta:Gt}=qt;return Gt!=null&&Gt.grouping?Te.grouping.groupName:null},neverSkipReducer:!0,limit:1e3},Qt=(0,o.default)(At,xt)},768809:function(b,l,e){"use strict";e.d(l,{h:()=>At,Z:()=>Qt});var r=e(269399),o=e(851939),n=e(646715),a=e.n(n),i=e(217528),c,u;const f={id:"",email:"",displayName:"",firstName:"",lastName:"",avatarAssetUrl:"",createdOn:-1,lastLoginOn:-1,tutorialsCompleted:{},notificationsRead:{},roles:{},guilds:{},circleTier:"",eligibleForMarketingDiscount:!1,pseudonymAccount:!1,marketingId:"",preferredLocale:"en-US",analyticsId:""},d=a()(f,((u=window.Static)===null||u===void 0||(c=u.SQUARESPACE_CONTEXT)===null||c===void 0?void 0:c.authenticatedAccount)??{}),g=(0,o.createReducer)(d,qt=>{qt.addCase(i.iG,(Te,Gt)=>{let{payload:{tutorialName:un,isCompleted:Vt}}=Gt;return{...Te,tutorialsCompleted:{...Te.tutorialsCompleted,[un]:Vt}}})});var _=e(758152),p=e(11214),y=e(676619),O=e(746460);const P={currentOpenModal:null,taxonomyNavigation:{}},C=qt=>{let{modal:Te,taxonomyNavigation:Gt}=qt;return Gt!=null&&Gt.category?Gt:Te==="PageCatalogTaxonomy"?(Gt==null?void 0:Gt.engine)==="LAYOUT"?O.wZ:O.ff:Te==="SectionCatalogTaxonomy"?(Gt==null?void 0:Gt.engine)==="LAYOUT"?y.Ty:y.J9:{}},A=(0,o.createReducer)(P,qt=>{qt.addCase(p.md,(Te,Gt)=>{let{payload:un}=Gt;const{modal:Vt,sectionId:Dn,taxonomyNavigation:Wt}=un;Te.currentOpenModal=Vt,Te.sectionId=Dn,Te.taxonomyNavigation=C({modal:Vt,taxonomyNavigation:Wt})}).addCase(p.Rd,Te=>{Te.currentOpenModal=null,Te.sectionId=void 0}).addCase(p.sj,(Te,Gt)=>{let{payload:un}=Gt;Te.taxonomyNavigation=un}).addCase(p.P,(Te,Gt)=>{let{payload:un}=Gt;Te.taxonomyNavigation=C({modal:Te.currentOpenModal,taxonomyNavigation:{engine:un}})})});var S=e(687006),T=e(606954),s=e(994336),v=e.n(s),m=e(897820),E=e(134798),I=e(586350),L=e(721460),W=e(65265),F=e(714487),G=e(213865),k=e(885630),x=e(906194),M=e(874644),B=e(436715),R=e(173606),U=e(663634);const j=[],$={},ee="fluidEngineDebug",te={frameMode:M.hn.PREVIEW_LEFT_PANEL,focusedSectionId:null,areSectionsMoving:!1,collectionId:void 0,currentBlockEditorId:null,currentBlockDisclosureRoute:null,draggingBlockId:null,editingAdminSectionId:null,errorTitle:null,errorMessage:null,focusedBlockId:null,layersPanelHoveredBlockId:null,multiselectedBlockIds:j,multiselectedBlockInitialLayoutById:$,hiddenBlockEditorId:null,isHeaderModalOpen:!1,openHeaderElementModal:null,selectedHeaderElement:null,selectedHeaderElementPosition:null,hoveringHeaderElement:null,isConnectedAccountAlertOpen:!1,isLoaded:!1,isMovingFluidEngineBlockWithKeys:!1,isReorderingMobileBlock:!1,isPageAdminOpen:!1,isRequestingTweakDefaults:!1,isSaving:!1,itemId:void 0,blockIdsAutoReorderingInMobile:{},openReactBlockEditorId:null,currentLayoutSwitcherSectionId:null,openSectionSettings:null,pageSectionsId:void 0,pageSectionsUpdatedOn:null,collectionItemPageSectionsId:void 0,collectionItemPageSectionsUpdatedOn:null,sectionIdWithBlockSelectorOpen:null,sectionIdWithLayersPanelOpen:null,showErrorModal:!1,isDraggingFluidEngineRowHandle:!1,hasSevenZeroDirtyAnnotation:!1,areAnnotationControllersHidden:!1,addPageModalPath:null,lastSavedUpdate:0,sectionIdWithRteFocused:null,hasLastChangedSectionGridSetting:!1,isFluidEngineDebugModeActive:(0,U.cr)("fluid_engine_debug_toggle")&&v().get(ee)==="1",isMultiResizing:!1},ie={...te,frameMode:M.hn.PREVIEW_LEFT_PANEL,frameLocationStatus:W.U.UNSET,deviceView:(0,k.i)(G.breakpoints).platform==="mobile"?x.Z.PHONE:x.Z.DESKTOP,deviceViewTransitioning:!1,editingSectionArea:E.Z.NOT_EDITING,isEditModeDiscardConfirmationOpen:!1,hasEditableAnnotation:!1,hasAccessToEditCurrentPage:!1,isEditModePreview:!1,preSiteStylesLocation:null,blockClipboard:{copiedBlocks:null,origin:null},collapsedNavGroups:{[T.jl]:!1,[T.ZE]:!1,[T.Dr]:!1},persistedCollection:null,persistedCollectionItem:null,isMobileDrawerExpanded:!1,isMobileHeaderMenuOverlayOpen:!1,isCustomerAccountAlertOpen:!1,showCustomerAccountRemovalWarning:!1,isSiteFrameOverlayOpen:!1,isChangingHeaderHeight:!1};function ne(qt){return{...ie,...qt}}const pe=qt=>{qt.openSectionSettings=null,qt.currentLayoutSwitcherSectionId=null},q=(0,o.createReducer)(ie,qt=>{qt.addCase(I.bm.pending,Te=>({...Te,...te})).addCase(I.bm.fulfilled,(Te,Gt)=>{let{payload:{pageSectionsUpdatedOn:un,collectionItemPageSectionsUpdatedOn:Vt},meta:{arg:{templatePageSectionsId:Dn,collectionItemPageSectionsId:Wt,collectionId:Pe,itemId:xe}}}=Gt;return{...Te,isLoaded:!0,pageSectionsId:Dn,pageSectionsUpdatedOn:un,collectionItemPageSectionsId:Wt,collectionItemPageSectionsUpdatedOn:Vt,collectionId:Pe,itemId:xe}}).addCase(I.bm.rejected,Te=>({...Te,showErrorModal:!0,errorTitle:(0,F.t)("Unable to retrieve sections",null,{project:"src.seven-one"})})).addCase(I.CX,Te=>({...Te,isLoaded:!1,editingSectionArea:E.Z.NOT_EDITING})).addCase(m.Xi,(Te,Gt)=>{let{payload:{itemId:un,collectionId:Vt}}=Gt;return{...Te,collectionId:Vt,itemId:un}}).addCase(I.Sm,Te=>({...Te})).addCase(I.a1.pending,Te=>({...Te,isSaving:!0})).addCase(I.a1.fulfilled,(Te,Gt)=>{let{payload:{pageSectionsUpdatedOn:un,collectionItemPageSectionsUpdatedOn:Vt,lastUpdate:Dn}}=Gt;return{...Te,pageSectionsUpdatedOn:un,collectionItemPageSectionsUpdatedOn:Vt,lastSavedUpdate:Dn,isSaving:!1}}).addCase(I.a1.rejected,Te=>({...Te,isSaving:!1})).addCase(m.xu,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,editingSectionArea:un}}).addCase(m.U4,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,isHeaderModalOpen:un}}).addCase(m.wC,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,openHeaderElementModal:un}}).addCase(m.Ii,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,selectedHeaderElementPosition:un}}).addCase(m.u3,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,selectedHeaderElement:un}}).addCase(m.C_,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,hoveringHeaderElement:un}}).addCase(m.kr,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,currentBlockDisclosureRoute:un||null}}).addCase(m.D7,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,currentBlockEditorId:un}}).addCase(m.is,Te=>({...Te,currentBlockEditorId:null,currentBlockDisclosureRoute:null})).addCase(m.ou,(Te,Gt)=>{let{payload:{pathname:un}}=Gt;return{...Te,preSiteStylesLocation:{pathname:un}}}).addCase(L.lc,Te=>({...Te,isRequestingTweakDefaults:!0})).addCase(L.fq,Te=>({...Te,isRequestingTweakDefaults:!1})).addCase(L.Lz,Te=>({...Te,isRequestingTweakDefaults:!1})).addCase(m.wR,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,persistedCollection:un}}).addCase(m.n,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,persistedCollectionItem:un}}).addCase(m.bn,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,focusedSectionId:un,isHeaderModalOpen:!1}}).addCase(m.TE,Te=>({...Te,focusedSectionId:null,focusedBlockId:null,multiselectedBlockIds:j,multiselectedBlockInitialLayoutById:$})).addCase(m.V5,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,focusedBlockId:un,multiselectedBlockIds:j,multiselectedBlockInitialLayoutById:$}}).addCase(m.wv,Te=>({...Te,focusedSectionId:null,focusedBlockId:null,multiselectedBlockIds:j,multiselectedBlockInitialLayoutById:$})).addCase(m.XC,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,layersPanelHoveredBlockId:un}}).addCase(m.ci,Te=>({...Te,layersPanelHoveredBlockId:null})).addCase(m.pU,(Te,Gt)=>{let{payload:{sectionId:un,blockIds:Vt,initialLayout:Dn}}=Gt;return{...Te,focusedSectionId:un,focusedBlockId:null,multiselectedBlockIds:Vt,multiselectedBlockInitialLayoutById:Dn}}).addCase(m.a5,Te=>({...Te,isMultiResizing:!0})).addCase(m.E_,Te=>({...Te,isMultiResizing:!1})).addCase(m.$x,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,openReactBlockEditorId:un}}).addCase(m.qd,Te=>({...Te,openReactBlockEditorId:null})).addCase(m.dC,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,draggingBlockId:un}}).addCase(m.$l,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,draggingBlockId:null,focusedBlockId:un}}).addCase(m.hP,Te=>({...Te,isMovingFluidEngineBlockWithKeys:!0})).addCase(m.e,Te=>({...Te,isMovingFluidEngineBlockWithKeys:!1})).addCase(m.Tk,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,hiddenBlockEditorId:un}}).addCase(m.HT,Te=>{const Gt=Te.hiddenBlockEditorId;return Gt&&(Te.currentBlockEditorId=Gt,Te.hiddenBlockEditorId=null),Te}).addCase(m.yI,(Te,Gt)=>{let{payload:{sectionId:un,blockIds:Vt}}=Gt;Te.blockIdsAutoReorderingInMobile[un]=Vt}).addCase(m.bK,Te=>({...Te,showErrorModal:!1})).addCase(m.B9,Te=>({...Te,showErrorModal:!0,errorTitle:(0,F.t)("Unable to convert Layout Engine section",null,{project:"src.seven-one"}),errorMessage:(0,F.t)("There is a block that is too tall to be converted",null,{project:"src.seven-one"})})).addCase(m.zG,(Te,Gt)=>{let{payload:un}=Gt;const Vt=Te.frameMode;Te.frameMode=un,un===M.hn.PAGE_EDIT_RIGHT_PANEL&&(Te.editingSectionArea=E.Z.NOT_EDITING),un===M.hn.PREVIEW_LEFT_PANEL?Te.isMobileDrawerExpanded=!1:!(0,M.BX)(Vt)&&(0,M.BX)(un)?Te.isMobileDrawerExpanded=!0:un===M.hn.PAGE_EDIT_RIGHT_PANEL&&(Te.isMobileDrawerExpanded=!1)}).addCase(m.Rw,Te=>({...Te,lastSavedUpdate:0,focusedSectionId:null,focusedBlockId:null,multiselectedBlockIds:j,multiselectedBlockInitialLayoutById:$,openReactBlockEditorId:null,currentBlockEditorId:null,currentBlockDisclosureRoute:null,sectionIdWithBlockSelectorOpen:null,sectionIdWithLayersPanelOpen:null,currentLayoutSwitcherSectionId:null,isLoaded:!1})).addCase(m.Ks,Te=>({...Te,areSectionsMoving:!0})).addCase(m.Ox,Te=>({...Te,areSectionsMoving:!1})).addCase(m.Qe,(Te,Gt)=>{let{payload:{sectionId:un}}=Gt;Te.currentLayoutSwitcherSectionId=un,Te.openSectionSettings=null}).addCase(m.v$,Te=>{Te.currentLayoutSwitcherSectionId=null}).addCase(m.yd,(Te,Gt)=>{let{payload:un}=Gt;Te.openSectionSettings=un,Te.currentLayoutSwitcherSectionId=null}).addCase(m.rl,Te=>{Te.openSectionSettings=null}).addCase(m.aN,pe).addCase(m.sw,pe).addCase(m.Yo,pe).addCase(R.dc,pe).addCase(m.j6,pe).addCase(m.V9,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,sectionIdWithBlockSelectorOpen:un}}).addCase(m.oo,(Te,Gt)=>{let{payload:un}=Gt;return Te.sectionIdWithBlockSelectorOpen===un&&(Te.sectionIdWithBlockSelectorOpen=null),Te}).addCase(m.$p,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,sectionIdWithLayersPanelOpen:un}}).addCase(m.hK,Te=>({...Te,layersPanelHoveredBlockId:null,sectionIdWithLayersPanelOpen:null})).addCase(m.Y4,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,editingAdminSectionId:un}}).addCase(m.Uo,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,isPageAdminOpen:un}}).addCase(m.Hb,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,deviceView:un}}).addCase(m.Ds,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,deviceViewTransitioning:un}}).addCase(m.aY,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,isReorderingMobileBlock:un}}).addCase(m.N4,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,isDraggingFluidEngineRowHandle:un}}).addCase(m.jd,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,hasSevenZeroDirtyAnnotation:un}}).addCase(m.NF,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,hasEditableAnnotation:un}}).addCase(m.VJ,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,hasAccessToEditCurrentPage:un}}).addCase(m.W8,Te=>({...Te,areAnnotationControllersHidden:!0})).addCase(m.kI,Te=>({...Te,areAnnotationControllersHidden:!1})).addCase(m.AT,(Te,Gt)=>{let{payload:{copiedBlocks:un,sectionId:Vt,pageId:Dn}}=Gt;return{...Te,blockClipboard:{copiedBlocks:un,origin:{sectionId:Vt,pageId:Dn}}}}).addCase(m.n9,Te=>({...Te,blockClipboard:ie.blockClipboard})).addCase(m.rN,(Te,Gt)=>{let{payload:{sectionId:un,blockIds:Vt,fluidEngineContext:Dn}}=Gt;Vt.length===1?(Te.focusedBlockId=Vt[0],Te.multiselectedBlockIds=j,Te.multiselectedBlockInitialLayoutById=$):(Te.multiselectedBlockIds=Vt,Te.focusedBlockId=null,Te.multiselectedBlockInitialLayoutById=(0,B.UQ)({blocks:Dn.gridContents,blockIds:Vt})),Te.focusedSectionId=un}).addCase(m.Rx,Te=>{Te.focusedSectionId=null,Te.focusedBlockId=null,Te.multiselectedBlockIds=j,Te.multiselectedBlockInitialLayoutById=$}).addCase(m.Vb,(Te,Gt)=>{let{payload:{sectionId:un,blockIds:Vt,fluidEngineContext:Dn}}=Gt;Vt.length===1?(Te.focusedBlockId=Vt[0],Te.multiselectedBlockIds=j,Te.multiselectedBlockInitialLayoutById=$):(Te.multiselectedBlockIds=Vt,Te.focusedBlockId=null,Te.multiselectedBlockInitialLayoutById=(0,B.UQ)({blocks:Dn.gridContents,blockIds:Vt})),Te.focusedSectionId=un}).addCase(m.hl,Te=>{Te.frameLocationStatus=W.U.LOADING}).addCase(m.l2,Te=>{Te.frameLocationStatus=W.U.FINISHED}).addCase(m.C3,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,addPageModalPath:un}}).addCase(m.jP,(Te,Gt)=>{let{payload:{navGroupId:un,value:Vt}}=Gt;Te.collapsedNavGroups={...Te.collapsedNavGroups,[un]:Vt}}).addCase(m.bs,(Te,Gt)=>{let{payload:un}=Gt;Te.sectionIdWithRteFocused=un}).addCase(m.q$,Te=>{if(!(0,U.cr)("fluid_engine_debug_toggle"))return Te;const Gt=Te.isFluidEngineDebugModeActive;v().set(ee,Gt?"0":"1"),Te.isFluidEngineDebugModeActive=!Gt}).addCase(m.Cm,Te=>{Te.isEditModeDiscardConfirmationOpen=!0}).addCase(m.Ic,Te=>{Te.isEditModeDiscardConfirmationOpen=!1}).addCase(m._r,(Te,Gt)=>{let{payload:un}=Gt;Te.isMobileDrawerExpanded=un}).addCase(m.QV,(Te,Gt)=>{let{payload:un}=Gt;Te.isSiteFrameOverlayOpen=un}).addCase(m.TK,(Te,Gt)=>{let{payload:un}=Gt;Te.isMobileHeaderMenuOverlayOpen=un}).addCase(m.RX,(Te,Gt)=>{let{payload:un}=Gt;Te.hasLastChangedSectionGridSetting=un}).addCase(m.JA,(Te,Gt)=>{let{payload:un}=Gt;Te.isChangingHeaderHeight=un}).addCase(m.hU,(Te,Gt)=>{let{payload:un}=Gt;Te.isCustomerAccountAlertOpen=un}).addCase(m.aX,(Te,Gt)=>{let{payload:un}=Gt;Te.showCustomerAccountRemovalWarning=un}).addCase(m.xZ,(Te,Gt)=>{let{payload:un}=Gt;Te.isEditModePreview=un})});var J=e(717919),me=e(2395),re=e(338301);const he={...re.VZ,collectionId:null,isOpen:!1},Ee=(0,o.createReducer)(he,qt=>(0,re.ZW)(qt,{toggle:me.Of,loadFluidEngine:me.YR,loadLegacyFluidEngine:me._E,loadLayoutEngine:me.rV,loadLegacyLayoutEngine:me.gJ,idProperty:"itemId"}).addCase(me.Rm,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,isOpen:!0,collectionId:un}}).addCase(me.SZ,Te=>({...Te,isOpen:!1,collectionId:null})));var fe=e(750954),H=e.n(fe),z=e(117384),_e=e(605254);const ae={...re.VZ,isOpen:!1,openPageCatalogEntryPoint:null,pageCreationOptions:null},ge=(0,o.createReducer)(ae,qt=>(0,re.ZW)(qt,{toggle:z.RQ,loadFluidEngine:z.zJ,loadLegacyFluidEngine:z.rH,loadLayoutEngine:z.Hj,loadLegacyLayoutEngine:z.d6,idProperty:"collectionId"}).addCase(z.V,(Te,Gt)=>{let{payload:un}=Gt;Te.selectedCategory=un.selectedCategory||(_e.v?H().HOME:H().GENERAL),Te.selectedSubcategory=un.selectedSubcategory,Te.isOpen=!0,Te.restrictToSingleCategory=un.restrictToSingleCategory}).addCase(z.D2,(Te,Gt)=>{let{payload:un}=Gt;Te.selectedCategory=un.category,Te.selectedSubcategory=z.To(un.category,un.subcategory)}).addCase(z.NG,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,openPageCatalogEntryPoint:un}}).addCase(z._B,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,pageCreationOptions:un}}).addCase(z.sv,Te=>({...Te,isOpen:!1,selectedCategory:void 0,selectedSubcategory:void 0,restrictToSingleCategory:!1,openPageCatalogEntryPoint:null,pageCreationOptions:null})));var Be=e(31966),Ke=e.n(Be);const He={isSectionCatalogOpen:!1,sectionId:null,shouldAddAbove:!1,savedSectionStatuses:{},...re.VZ},ye=(0,o.createReducer)(He,qt=>(0,re.ZW)(qt,{toggle:R.zC,loadFluidEngine:R.jW,loadLegacyFluidEngine:R.lV,loadLayoutEngine:R.Qr,loadLegacyLayoutEngine:R.JK,idProperty:"sectionId"}).addCase(R.KM.fulfilled,(Te,Gt)=>{let{payload:un}=Gt;return{...Te,isSavedSectionsLoaded:!0,fluidEngineEntriesByCategory:{...Te.fluidEngineEntriesByCategory,SAVED_SECTIONS:un},layoutEngineEntriesByCategory:{...Te.layoutEngineEntriesByCategory,SAVED_SECTIONS:un}}}).addCase(R.KM.rejected,Te=>({...Te,isSavedSectionsLoaded:!0})).addCase(R.tx.fulfilled,(Te,Gt)=>{let{payload:{catalog:un,sectionCategory:Vt,queryResultsCount:Dn}}=Gt;var Wt;return{...Te,isSavedSectionsLoaded:!0,fluidEngineEntriesByCategory:{...Te.fluidEngineEntriesByCategory,[Vt]:un},layoutEngineEntriesByCategory:{...Te.layoutEngineEntriesByCategory,[Vt]:un},multiSiteSavedSectionData:{...Te.multiSiteSavedSectionData,[Vt]:{totalSections:((Wt=Te.multiSiteSavedSectionData[Vt])===null||Wt===void 0?void 0:Wt.totalSections)||0,isLoaded:!0,queryResultsCount:Dn}}}}).addCase(R.tx.pending,(Te,Gt)=>({...Te,multiSiteSavedSectionData:{[Ke().ORGANIZATION]:{...Te.multiSiteSavedSectionData[Ke().ORGANIZATION],isLoaded:!1},[Ke().PRO_USER]:{...Te.multiSiteSavedSectionData[Ke().PRO_USER],isLoaded:!1},[Ke().SAVED_SECTIONS]:{...Te.multiSiteSavedSectionData[Ke().SAVED_SECTIONS],isLoaded:!1}}})).addCase(R.Je.fulfilled,(Te,Gt)=>{let{payload:{totalSections:un,sectionCategory:Vt}}=Gt;return{...Te,multiSiteSavedSectionData:{...Te.multiSiteSavedSectionData,[Vt]:{...Te.multiSiteSavedSectionData[Vt],totalSections:un}}}}).addCase(R.tx.rejected,Te=>({...Te,isSavedSectionsLoaded:!0})).addCase(R.dc,(Te,Gt)=>{let{payload:un}=Gt;Te.isSectionCatalogOpen=!0,Te.sectionId=un.sectionId,Te.selectedCategory=un.selectedCategory,Te.selectedSubcategory=un.selectedSubcategory,Te.shouldAddAbove=un.shouldAddAbove}).addCase(R.gl,(Te,Gt)=>{let{payload:un}=Gt;Te.selectedCategory=un.category,Te.selectedSubcategory=R.On(un.category,un.subcategory)}).addCase(R.CQ,Te=>{Te.isSectionCatalogOpen=!1,Te.sectionId=null,Te.selectedCategory=void 0,Te.selectedSubcategory=void 0,Te.shouldAddAbove=!1}).addCase(R.d8,(Te,Gt)=>{let{payload:un}=Gt;Te.savedSectionStatuses[un]=!1}).addCase(R.IU,(Te,Gt)=>{let{payload:un}=Gt;Te.savedSectionStatuses[un]=!0}).addCase(R.Og,(Te,Gt)=>{let{payload:un}=Gt;var Vt;const Dn=((Vt=Te.fluidEngineEntriesByCategory)===null||Vt===void 0?void 0:Vt.SAVED_SECTIONS)||[];Te.fluidEngineEntriesByCategory.SAVED_SECTIONS=Dn.concat(un),Te.layoutEngineEntriesByCategory.SAVED_SECTIONS=Dn.concat(un)}).addCase(I.Sm,(Te,Gt)=>{let{payload:{sectionId:un}}=Gt;Te.savedSectionStatuses[un]=!1}).addCase(R.xm,(Te,Gt)=>{let{payload:un}=Gt;un.forEach(Vt=>{var Dn,Wt;const Pe=(Dn=Te.fluidEngineEntriesByCategory.SAVED_SECTIONS)===null||Dn===void 0?void 0:Dn.findIndex(ut=>Vt===ut.id);if(typeof Pe=="number"&&Pe!==-1){var xe,Ae;const ut=(xe=Te.fluidEngineEntriesByCategory.SAVED_SECTIONS)===null||xe===void 0?void 0:xe[Pe];Te.savedSectionStatuses[ut.section.sourceSectionId]=!1,(Ae=Te.fluidEngineEntriesByCategory.SAVED_SECTIONS)===null||Ae===void 0||Ae.splice(Pe,1)}const qe=(Wt=Te.layoutEngineEntriesByCategory.SAVED_SECTIONS)===null||Wt===void 0?void 0:Wt.findIndex(ut=>Vt===ut.id);if(typeof qe=="number"&&qe!==-1){var wt,kt;const ut=(wt=Te.layoutEngineEntriesByCategory.SAVED_SECTIONS)===null||wt===void 0?void 0:wt[qe];Te.savedSectionStatuses[ut.section.sourceSectionId]=!1,(kt=Te.layoutEngineEntriesByCategory.SAVED_SECTIONS)===null||kt===void 0||kt.splice(qe,1)}})}).addCase(R.SL,(Te,Gt)=>{let{payload:{savedSection:un,sectionCategory:Vt}}=Gt;var Dn;const Pe=(Te.fluidEngineEntriesByCategory[Vt]||[]).concat(un);return{...Te,multiSiteSavedSectionData:{...Te.multiSiteSavedSectionData,[Vt]:{...Te.multiSiteSavedSectionData[Vt],totalSections:(((Dn=Te.multiSiteSavedSectionData[Vt])===null||Dn===void 0?void 0:Dn.totalSections)||0)+1}},fluidEngineEntriesByCategory:{...Te.fluidEngineEntriesByCategory,[Vt]:Pe},layoutEngineEntriesByCategory:{...Te.layoutEngineEntriesByCategory,[Vt]:Pe}}}).addCase(R.AK,(Te,Gt)=>{let{payload:{deletedSectionIds:un,sectionCategory:Vt}}=Gt;var Dn;Te.multiSiteSavedSectionData={...Te.multiSiteSavedSectionData,[Vt]:{...Te.multiSiteSavedSectionData[Vt],totalSections:(((Dn=Te.multiSiteSavedSectionData[Vt])===null||Dn===void 0?void 0:Dn.totalSections)||0)-un.length,isLoaded:!0}}}).addCase(R.C2,(Te,Gt)=>{let{payload:un}=Gt;const Vt=(Te.fluidEngineEntriesByCategory[un.sectionCategory]||[]).map(Dn=>Dn.id===un.id?{...Dn,name:un.name}:Dn);return{...Te,fluidEngineEntriesByCategory:{...Te.fluidEngineEntriesByCategory,[un.sectionCategory]:Vt},layoutEngineEntriesByCategory:{...Te.layoutEngineEntriesByCategory,[un.sectionCategory]:Vt}}})),Le={headerSectionIds:[],pageSectionIds:[],collectionItemSectionIds:[],footerSectionIds:[],sectionEditContexts:{}},Ue=(qt,Te)=>{let{payload:{headerSectionIds:Gt,pageSectionIds:un,collectionItemSectionIds:Vt,footerSectionIds:Dn,sectionEditContexts:Wt}}=Te;return{...qt,headerSectionIds:Gt,pageSectionIds:un,collectionItemSectionIds:Vt,footerSectionIds:Dn,sectionEditContexts:Wt}},Xe=(0,o.createReducer)(Le,qt=>{qt.addCase(I.bm.fulfilled,(Te,Gt)=>Ue(Te,Gt)).addCase(I.a1.fulfilled,(Te,Gt)=>Ue(Te,Gt))});var Fe=e(986091),ht=e(682395);const Ne={lastUpdate:0,editCount:0,undoCount:0,sessionEditCount:0,sessionUndoCount:0},Ce=400;function we(){let qt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ne,Te=arguments.length>1?arguments[1]:void 0;switch(Te.type){case m.Rw.toString():case I.CX.toString():case I.bm.fulfilled.toString():return Ne;case I.a1.fulfilled.toString():return{...Ne,sessionEditCount:qt.sessionEditCount,sessionUndoCount:qt.sessionUndoCount};case ht.l.toString():case I.qG.fulfilled.toString():case I.KC.toString():case I.Oi.toString():case I.Sm.toString():case I.C$.toString():return{...qt,lastUpdate:Te.meta.timestamp,editCount:Te.meta.timestamp-qt.lastUpdate<=Ce?qt.editCount:qt.editCount+1,sessionEditCount:Te.meta.timestamp-qt.lastUpdate<=Ce?qt.sessionEditCount:qt.sessionEditCount+1};case Fe.ActionTypes.UNDO:return{...qt,undoCount:qt.undoCount+1,sessionUndoCount:qt.sessionUndoCount+1};case Fe.ActionTypes.REDO:return{...qt,undoCount:qt.undoCount-1,sessionUndoCount:qt.sessionUndoCount-1};default:return qt}}var $e=e(18487);const Ot={},Pt=(0,o.createReducer)(Ot,qt=>{qt.addCase($e.C.fulfilled,(Te,Gt)=>{let{payload:un}=Gt;const{definitionName:Vt,referencedCollection:Dn,schema:Wt,uiSchema:Pe,uiSchemaLocalizedStrings:xe,referencedContent:Ae,itemDefaults:qe}=un;if(!Vt){console.warn("Load Section Definition resolved without a definitionName",un);return}Te[Vt]={referencedCollection:Dn,jsonSchema:Wt,uiSchema:Pe,uiSchemaLocalizedStrings:xe,quickActionsUiSchema:[],referencedContent:Ae,itemDefaults:qe}})});var Ie=e(230924);const Bt={isMultilingualConnected:!1,requiresFullPreviewRefresh:!1},rt=(0,o.createReducer)(Bt,qt=>{qt.addCase(Ie.R,(Te,Gt)=>{let{payload:{isMultilingualConnected:un,requiresFullPreviewRefresh:Vt}}=Gt;return{...Te,isMultilingualConnected:un,requiresFullPreviewRefresh:Vt}})});var ce=e(459083),Re=e(953847);const nt={isOpen:!1,fundId:null},vt=(0,o.createReducer)(nt,qt=>{qt.addCase(Re.p,(Te,Gt)=>{Te.isOpen=!0,Te.fundId=Gt.payload.fundId}).addCase(Re.C,Te=>{Te.isOpen=!1,Te.fundId=nt.fundId})});var ze=e(106393),It=null;const on={id:null,name:null},Yn=(0,o.createReducer)(on,qt=>{qt.addCase(ze.fI,(Te,Gt)=>{Te.id=Gt.payload.id,Te.name=Gt.payload.name}).addCase(ze.UD,Te=>{Te.id=on.id,Te.name=on.name})});var Ln=e(144775),bn=e(58267);const Zn=(0,o.createReducer)(null,qt=>{qt.addCase(bn.F,(Te,Gt)=>Gt.payload).addCase(bn.s,()=>null)});var $n=e(145092);const jt={state:null,metadata:{}},jn=(0,o.createReducer)(jt,qt=>{qt.addCase($n.Y8,(Te,Gt)=>{Te.state=Gt.payload.state,Te.metadata=Gt.payload.metadata||{}}).addCase($n.Y$,()=>jt)}),Nn=(0,r.combineReducers)({deleteFundModal:Yn,entryPoint:Zn,fundEditor:vt,errorState:jn});var cn=e(835713);const or={generatedResponsesMap:{},savedResponses:[]},qn=qt=>{let{generatedResponsesMap:Te}=qt;return Object.keys(Te).reduce((un,Vt)=>{const Dn=Te[Vt],{responses:Wt={}}=Dn;return un=un.concat(Object.keys(Wt)),un},[])},fo=(0,o.createReducer)(or,qt=>{qt.addCase(cn.CG,(Te,Gt)=>{let{payload:un}=Gt;return un.recordId==="fallbackBlock"||(Te.generatedResponsesMap[un.recordId]?Te.generatedResponsesMap[un.recordId].trackingPayload=un.trackingPayload:Te.generatedResponsesMap[un.recordId]={trackingPayload:un.trackingPayload,responses:{}}),Te}).addCase(cn.GG,(Te,Gt)=>{let{payload:un}=Gt;return un.recordId==="fallbackBlock"||Te.generatedResponsesMap[un.recordId]&&(Te.generatedResponsesMap[un.recordId].responses=un.updates),Te}).addCase(cn.h8.fulfilled,Te=>({...Te,savedResponses:qn({generatedResponsesMap:Te.generatedResponsesMap})})).addCase(I.a1.fulfilled,Te=>({...Te,savedResponses:qn({generatedResponsesMap:Te.generatedResponsesMap})}))});var Jr=e(631438);const ro=[{id:"system_desktop",name:"Desktop",maxWidth:null},{id:"system_tablet",name:"Tablet",maxWidth:"767px"},{id:"system_mobile",name:"Mobile",maxWidth:"392px"}],Xt=(0,o.createReducer)(ro,()=>{}),Je=(0,r.combineReducers)({authenticatedAccounts:g,brandIdentity:_.Z,catalogAdmin:A,cmsEditorState:q,itemCatalog:Ee,pageCatalog:ge,persistedSections:Xe,editCounter:we,sectionCatalog:ye,sectionDefinitions:Pt,extensions:rt,cmsUndoStack:J.Z,pagesPanel:ce.ZP,fundManager:Nn,aiGeneratedContent:fo,webFonts:Jr.Z,websitesBreakpoints:Xt}),At="REPLACE_STATE",Qt=(qt,Te)=>Te.type===At?Te.payload:Je(qt,Te)},459083:function(b,l,e){"use strict";e.d(l,{BY:()=>a,E3:()=>n,ZP:()=>f,rL:()=>i});var r=e(851939),o=e(504049);const n={title:"",url:"",newWindow:!1};var a=function(d){return d.CREATE="CREATE",d.EDIT="EDIT",d}({});const i=d=>!!d&&d.id!==void 0,u={activeGroupPath:"",clonedItems:[],cloningId:"",draggingId:"",editingPath:"",editingName:"",frameCollectionUrl:"",linkEditMode:"CREATE",linkEditPath:"",linkValue:n,hasActiveSearch:!1,isLinkModalOpen:!1,navigationGroups:{items:[],acceptTypes:[],metaExcludeTypes:[],canAdd:!1},optimisticData:{},searchQuery:"",searchResults:{}},f=(0,r.createReducer)(u,d=>{d.addCase(o.u9,(h,g)=>{let{payload:_}=g;return{...h,hasActiveSearch:_}}).addCase(o.s3,(h,g)=>{let{payload:_}=g;return{...h,searchQuery:_}}).addCase(o.Vw,(h,g)=>{let{payload:_}=g;return{...h,searchResults:_}}).addCase(o.g6,(h,g)=>{let{payload:{clonedId:_}}=g;return{...h,clonedItems:_.length===0?[]:[...h.clonedItems,_]}}).addCase(o.TP,(h,g)=>{let{payload:{linkValue:_,linkEditMode:p,linkEditPath:y}}=g;h.linkValue=_,h.linkEditMode=p,h.linkEditPath=y,h.isLinkModalOpen=!0}).addCase(o.XK,h=>{h.linkValue=n,h.linkEditMode="CREATE",h.linkEditPath="",h.isLinkModalOpen=!1}).addCase(o.YL,(h,g)=>{let{payload:_}=g;h.linkValue=_}).addCase(o.z4,h=>{h.linkValue=n}).addCase(o.pt,(h,g)=>{let{payload:_}=g;h.activeGroupPath=_}).addCase(o.we,(h,g)=>{let{payload:_}=g;h.editingPath=_}).addCase(o.BL,(h,g)=>{let{payload:_}=g;h.editingName=_}).addCase(o.C6,(h,g)=>{let{payload:{editingName:_,editingPath:p}}=g;h.editingName=_,h.editingPath=p}).addCase(o.RQ,(h,g)=>{let{payload:_}=g;h.cloningId=_}).addCase(o.mv,(h,g)=>{let{payload:_}=g;h.frameCollectionUrl=_}).addCase(o.ov,(h,g)=>{let{payload:_}=g;h.optimisticData={...h.optimisticData,..._}}).addCase(o.KE,(h,g)=>{let{payload:_}=g;h.navigationGroups=_}).addCase(o.MZ.fulfilled,h=>{h.cloningId=""}).addCase(o.N7,h=>{h.optimisticData={}})})},631438:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(851939),o=e(721460);const n={webFontsByCssString:{}},a=(0,r.createReducer)(n,i=>{i.addCase(o.$Q,(c,u)=>{let{payload:f}=u;f.forEach(d=>{c.webFontsByCssString[d.cssString]=d})})})},233232:function(b,l,e){"use strict";e.d(l,{$O:()=>ae,$k:()=>qn,AG:()=>ce,Bg:()=>ne,Bo:()=>Xe,Ee:()=>Nn,FM:()=>pe,FW:()=>J,Gd:()=>v,Hl:()=>Re,Iq:()=>Zn,K8:()=>O,Kq:()=>Bt,Kz:()=>Le,Lu:()=>T,Lw:()=>$n,MI:()=>He,ML:()=>on,Mk:()=>z,Ml:()=>B,Ou:()=>he,Pi:()=>Ne,Pr:()=>H,Pw:()=>Ce,Qb:()=>W,R2:()=>Ln,SY:()=>ee,TA:()=>Tn,TL:()=>Jr,Ut:()=>$,VO:()=>m,Vd:()=>ro,WN:()=>Ue,WP:()=>jn,X:()=>Ee,X3:()=>jt,Xi:()=>we,Z3:()=>ir,ZB:()=>Qt,ZX:()=>Xt,Zl:()=>_,Zx:()=>h,_6:()=>te,_X:()=>cn,_k:()=>M,aB:()=>S,aE:()=>d,aq:()=>It,bA:()=>mt,cn:()=>q,d0:()=>re,dm:()=>Pt,dz:()=>I,e$:()=>Ke,e9:()=>oe,eO:()=>Rn,fP:()=>y,fr:()=>P,go:()=>Hr,gq:()=>p,hF:()=>A,hX:()=>me,i:()=>At,iH:()=>Be,j2:()=>L,jA:()=>fe,jJ:()=>fo,j_:()=>Ie,jh:()=>rt,k$:()=>Je,k5:()=>C,kP:()=>vt,l3:()=>Pn,l8:()=>qt,ly:()=>Fe,m1:()=>ye,mX:()=>G,n7:()=>ht,qC:()=>ie,rI:()=>xt,rf:()=>$e,rh:()=>nt,s6:()=>Yn,s9:()=>F,tl:()=>st,ub:()=>s,vH:()=>Ot,vR:()=>E,vg:()=>or,we:()=>x,wx:()=>ge,x3:()=>g,xu:()=>ze,zA:()=>_e});var r=e(45321),o=e(929698),n=e(916661),a=e(65265),i=e(269994),c=e(906194),u=e(835457),f=e(763831);const d=Te=>Te.cmsEditorState.frameMode,h=Te=>Te.cmsEditorState.collectionId,g=Te=>Te.cmsEditorState.itemId,_=Te=>Te.cmsEditorState.isLoaded,p=Te=>Te.cmsEditorState.isSaving,y=Te=>Te.cmsEditorState.editingSectionArea,O=Te=>Te.cmsEditorState.isHeaderModalOpen,P=Te=>Te.cmsEditorState.openHeaderElementModal,C=Te=>Te.cmsEditorState.selectedHeaderElementPosition,A=Te=>Te.cmsEditorState.selectedHeaderElement,S=Te=>Te.cmsEditorState.hoveringHeaderElement,T=Te=>Te.cmsEditorState.isRequestingTweakDefaults,s=Te=>Te.cmsEditorState.pageSectionsId,v=Te=>Te.cmsEditorState.pageSectionsUpdatedOn,m=Te=>Te.cmsEditorState.collectionItemPageSectionsId,E=Te=>Te.cmsEditorState.collectionItemPageSectionsUpdatedOn,I=Te=>Te.cmsEditorState.preSiteStylesLocation,L=Te=>Te.editCounter.editCount,W=Te=>L(Te)-Te.editCounter.undoCount,F=Te=>Te.editCounter.sessionEditCount,G=Te=>F(Te)-Te.editCounter.sessionUndoCount,k=Te=>Te.cmsUndoStack.present,x=Te=>k(Te).editTimer.lastUpdate,M=Te=>Te.cmsEditorState.persistedCollection,B=Te=>Te.cmsEditorState.persistedCollectionItem,R=new Set,U=(Te,Gt)=>Gt,j=Te=>Te.cmsEditorState.blockIdsAutoReorderingInMobile,$=(0,r.P1)(U,j,(Te,Gt)=>Gt[Te]??R,{memoizeOptions:{resultEqualityCheck:u.Z}}),ee=Te=>Te.cmsEditorState.currentBlockDisclosureRoute,te=Te=>Te.cmsEditorState.focusedSectionId,ie=Te=>Te.cmsEditorState.multiselectedBlockIds,ne=Te=>{const Gt=Te.cmsEditorState.multiselectedBlockIds,un=Te.cmsEditorState.focusedBlockId;return Gt.length>1?Gt:un?[un]:null},pe=Te=>ie(Te).length>0,oe=Te=>Te.cmsEditorState.multiselectedBlockInitialLayoutById,q=(0,r.P1)(U,te,(Te,Gt)=>Te===Gt),J=(0,r.P1)(U,te,(Te,Gt)=>!!Gt&&Te!==Gt),me=(0,r.P1)(q,ie,(Te,Gt)=>Te?Gt:[],{memoizeOptions:{resultEqualityCheck:f.Z}}),re=Te=>Te.cmsEditorState.layersPanelHoveredBlockId,he=Te=>Te.cmsEditorState.focusedBlockId,Ee=Te=>!!Te.cmsEditorState.focusedBlockId,fe=(0,r.P1)([(Te,Gt)=>Gt,he],(Te,Gt)=>Te===Gt),H=Te=>{const Gt=he(Te);return Gt?(0,o.q5)(Gt):null},z=(0,r.P1)((Te,Gt)=>Gt,he,te,(Te,Gt,un)=>Te===un?Gt:null),_e=Te=>Te.cmsEditorState.draggingBlockId,ae=Te=>!!_e(Te),ge=Te=>Te.cmsEditorState.showErrorModal,Be=Te=>Te.cmsEditorState.errorTitle,Ke=Te=>Te.cmsEditorState.errorMessage,He=Te=>Te.cmsEditorState.currentBlockEditorId,ye=Te=>!!He(Te),Le=Te=>Te.cmsEditorState.openReactBlockEditorId,Ue=Te=>ye(Te)||!!Le(Te),Xe=Te=>Te.cmsEditorState.isMovingFluidEngineBlockWithKeys,Fe=Te=>Te.cmsEditorState.areSectionsMoving,ht=Te=>Te.cmsEditorState.hiddenBlockEditorId,Ne=Te=>Te.cmsEditorState.openSectionSettings,Ce=Te=>{var Gt;return((Gt=Te.cmsEditorState.openSectionSettings)===null||Gt===void 0?void 0:Gt.sectionId)??null},we=Te=>{var Gt;return!!(!((Gt=Te.cmsEditorState.openSectionSettings)===null||Gt===void 0)&&Gt.sectionId)},$e=(0,r.P1)(Ce,(Te,Gt)=>Gt,(Te,Gt)=>Gt===Te),Ot=Te=>{const Gt=Te.cmsEditorState.openSectionSettings;return!Gt||Gt.type!==i.B.CollectionItem?null:Gt},Pt=Te=>Te.cmsEditorState.sectionIdWithBlockSelectorOpen,Ie=Te=>!!Te.cmsEditorState.sectionIdWithBlockSelectorOpen,Bt=Te=>Te.cmsEditorState.sectionIdWithLayersPanelOpen,mt=Te=>!!Te.cmsEditorState.sectionIdWithLayersPanelOpen,rt=Te=>Te.cmsEditorState.editingAdminSectionId,ce=Te=>Te.cmsEditorState.isPageAdminOpen,Re=Te=>Te.cmsEditorState.deviceView,nt=Te=>{const Gt=Re(Te);if(Gt===c.Z.TABLET)throw new Error("Invalid frame device view for 7.1");return Gt},st=Te=>Te.cmsEditorState.deviceViewTransitioning,vt=Te=>Te.cmsEditorState.isReorderingMobileBlock,ze=Te=>Te.cmsEditorState.isDraggingFluidEngineRowHandle,It=Te=>Te.cmsEditorState.hasAccessToEditCurrentPage,on=Te=>Te.cmsEditorState.isEditModePreview,Pn=Te=>Te.cmsEditorState.hasEditableAnnotation,Yn=Te=>Te.cmsEditorState.areAnnotationControllersHidden,Ln=Te=>Te.cmsEditorState.hasSevenZeroDirtyAnnotation,bn=Te=>x(Te)!==Te.cmsEditorState.lastSavedUpdate,ir=Te=>n.Z.isSevenOne()?bn(Te):Ln(Te),Zn=Te=>Gt=>Gt.cmsEditorState.collapsedNavGroups[Te],$n=Te=>(Pn(Te)||ir(Te))&&It(Te),jt=Te=>Te.cmsEditorState.blockClipboard,Rn=Te=>Te.cmsEditorState.blockClipboard.copiedBlocks,jn=(0,r.P1)(te,Ce,O,P,(Te,Gt,un,Vt)=>un||Vt!==null?"header":Te??Gt),Tn=Te=>Te.cmsEditorState.frameLocationStatus,Nn=Te=>Tn(Te)===a.U.FINISHED,cn=Te=>Te.cmsEditorState.addPageModalPath,or=Te=>Gt=>Gt.cmsEditorState.sectionIdWithRteFocused===Te,qn=Te=>Te.cmsEditorState.isFluidEngineDebugModeActive,Hr=Te=>Te.cmsEditorState.isMultiResizing,fo=Te=>Te.cmsEditorState.isEditModeDiscardConfirmationOpen,Jr=Te=>Te.cmsEditorState.isMobileDrawerExpanded,ro=Te=>Te.cmsEditorState.isSiteFrameOverlayOpen,Xt=Te=>Te.cmsEditorState.isMobileHeaderMenuOverlayOpen,Je=Te=>Te.cmsEditorState.isCustomerAccountAlertOpen,At=Te=>Te.cmsEditorState.showCustomerAccountRemovalWarning,xt=Te=>Te.cmsEditorState.hasLastChangedSectionGridSetting,Qt=Te=>Te.cmsEditorState.isChangingHeaderHeight,qt=Te=>Te.cmsEditorState.currentLayoutSwitcherSectionId},227935:function(b,l,e){"use strict";e.d(l,{BG:()=>_,DS:()=>u,D_:()=>c,GA:()=>g,GP:()=>d,TO:()=>i,UY:()=>a,e9:()=>h,hm:()=>y,j3:()=>n,o1:()=>p,vO:()=>f});var r=e(45321),o=e(233232);const n=O=>O.cmsUndoStack.past.length>0,a=O=>O.cmsUndoStack.future.length>0,i=O=>O.cmsUndoStack.present,c=(0,r.P1)(i,O=>O.tweaks),u=(0,r.P1)(i,O=>O.colors),f=(0,r.P1)(i,O=>O.fonts),d=(0,r.P1)(i,O=>O.cookieBanner),h=(0,r.P1)(i,O=>O.headerNav),g=(0,r.P1)(i,O=>O.siteTheme),_=(0,r.P1)(i,O=>O.brandIdentity),p=(0,r.P1)(o.Zx,i,(O,P)=>{const{collection:C}=P;return O&&C&&O===C.id?C:null}),y=(0,r.P1)(o.x3,i,(O,P)=>{const C=P.collectionItem;return O&&C&&O===C.id?C:null})},132883:function(b,l,e){"use strict";e.d(l,{$j:()=>_,Bi:()=>s,C2:()=>v,FX:()=>A,Jd:()=>g,Rr:()=>S,Vx:()=>p,XN:()=>d,Xu:()=>C,kl:()=>y,mr:()=>P,pg:()=>h,r4:()=>f,rd:()=>T,tS:()=>O});var r=e(916523),o=e(27226),n=e(45321),a=e(227935),i=e(3841),c=e(500659),u=e(651961);const f=(0,n.P1)(a.DS,m=>m.websiteColors),d=(0,n.P1)(f,m=>m.palette),h=(0,n.P1)(f,m=>(0,i.sortColorsBySystemColorOrder)(m.palette,c.SYSTEM_COLOR_AS_ORDERED_ARRAY_V2)),g=(0,n.P1)(h,m=>m.map(I=>({cssColor:(0,i.stringifyPaletteColorValue)(I.value),colorId:`sqsrte-text-color--${I.id}`,label:u._E[I.id]}))),_=(0,n.P1)(f,m=>m.colorThemes),p=(0,n.P1)(f,m=>m.defaultTheme),y=(0,n.P1)(a.DS,m=>m.defaultColorThemes),O=(0,n.P1)(a.DS,m=>m.colorVariableDefinitions),P=(0,n.P1)(a.DS,m=>m.activeThemeName),C=(0,n.P1)(a.DS,m=>m.isColorsPanelOpen),A=(0,n.P1)(d,m=>m.length>0),S=(0,n.P1)(a.DS,m=>m.isThemeEditorOpen),T=(0,n.P1)(a.DS,m=>m.isSavingColors),s=(0,n.P1)(a.DS,m=>m.isColorsDirty),v=(0,n.P1)(a.DS,m=>m.filteredVariableNames)},853522:function(b,l,e){"use strict";e.d(l,{DZ:()=>s,Nl:()=>C,RA:()=>S,XE:()=>T,aR:()=>A,aY:()=>O,bC:()=>I,cQ:()=>m,dX:()=>v,oH:()=>y,sw:()=>P});var r=e(45321),o=e(419467),n=e.n(o),a=e(690882),i=e(451785),c=e(695960),u=e(871106),f=e(188405),d=e(193213),h=e(233232),g=e(763831);const p=".fluid-engine",y=L=>{var W;return((W=(0,f.jd)(L))===null||W===void 0?void 0:W.querySelector(p))||null},O=(0,r.P1)(a.Xb,L=>(0,o.pickBy)(L,W=>W&&"sectionName"in W&&W.sectionName===c.Z.FLUID_ENGINE)),P=(0,r.P1)(i.O9,L=>(0,o.pickBy)(L,W=>W&&"sectionName"in W&&W.sectionName===c.Z.FLUID_ENGINE)),C=(0,r.P1)((L,W)=>W,a.Xb,(L,W)=>{const F=W[L];if(!(!F||F.sectionName!==c.Z.FLUID_ENGINE))return F.fluidEngineContext}),A=(0,r.P1)(C,L=>(L==null?void 0:L.id)??null),S=(0,r.P1)(C,L=>(L==null?void 0:L.gridContents)??null),T=(0,r.P1)(C,L=>(L==null?void 0:L.gridSettings)??null),s=(0,r.P1)(a.n4,L=>(L==null?void 0:L.sectionName)===c.Z.FLUID_ENGINE),v=(0,r.P1)((L,W)=>W,a.Xb,(L,W)=>{const{header:F,...G}=W;return Object.values(G).find(x=>(x==null?void 0:x.sectionName)===u.gu?x.fluidEngineContext.gridContents.find(M=>(0,d.IF)(M)===L):!1)}),m=(0,r.P1)(O,(L,W)=>W,(L,W,F)=>F,(L,W,F,G)=>G,(L,W,F,G)=>{var k,x;const M=L[W],B=M==null?void 0:M.fluidEngineContext.gridContents.find(R=>(0,d.IF)(R)===F);return B==null||(x=B.layout)===null||x===void 0||(k=x[G])===null||k===void 0?void 0:k.stickyScroll}),E=(0,r.P1)(S,L=>(L==null?void 0:L.map(d.IF))??[],{memoizeOptions:{resultEqualityCheck:g.Z}}),I=(0,r.P1)(h.hX,E,(L,W)=>L.filter(F=>W.includes(F)),{memoizeOptions:{resultEqualityCheck:g.Z}})},300129:function(b,l,e){"use strict";e.d(l,{K:()=>n,a:()=>a});var r=e(45321),o=e(227935);const n=i=>(0,o.TO)(i).headerWebsiteData,a=(0,r.P1)(n,i=>i.siteTitle)},938077:function(b,l,e){"use strict";e.r(l),e.d(l,{getAllSelectedBlockIds:()=>m.Bg,getPresentHeaderNav:()=>jt,getMultiselectedBlockIds:()=>m.qC,getItemId:()=>m.x3,getPagesPanelCloningId:()=>ro,getPresentCollectionData:()=>i.o1,getDefaultColorThemes:()=>E.kl,getFocusedBlockIdForSectionIdIfFocused:()=>m.Mk,getPresentFontData:()=>i.vO,getMultiSiteSavedSectionData:()=>bn.al,getCollapsedNavGroup:()=>m.Iq,getMultiselectedBlockInitialLayoutById:()=>m.e9,getPagesPanelLinkEditPath:()=>Hr,getFooterSectionIndex:()=>I.yJ,getIsBrandIdentityLoading:()=>p,getCurrentEditingSectionId:()=>m.WP,getItemCatalogEntriesByCategory:()=>$e,getPageCatalogEntriesByCollectionId:()=>Yn,getSiteThemeSettings:()=>Rn.y_,getCollectionItemPageSectionsUpdatedOn:()=>m.vR,getFundEditorFundId:()=>Gt,getIsMobileDrawerExpanded:()=>m.TL,getPageCatalogSelectedCategory:()=>Bt,getPageSections:()=>I.Zy,getPresentCookieBannerData:()=>i.GP,getTweakValuesCurrent:()=>re,getFrameMode:()=>m.aE,getGroupType:()=>pe,getFooterSectionsById:()=>I.bc,getFilterString:()=>ne,getIsSectionCatalogLoaded:()=>bn.V8,getFluidEngineContextBySectionId:()=>$n.Nl,getIsAnyBlockFocused:()=>m.X,getPersistedSectionEditContexts:()=>Ln.O9,getOpenSectionSettingsForCollectionItem:()=>m.vH,getSectionIdWithOpenBlockSelector:()=>m.dm,getIsColorsDirty:()=>E.Bi,getTemplateFontPacks:()=>x,getIsLayoutEngineSectionCatalogLoaded:()=>bn.U_,getAuthenticatedAccountCreatedOn:()=>n,getFrameDeviceView:()=>m.Hl,getFooterSectionIds:()=>I.MC,getFilteredVariableNames:()=>E.C2,getSavedSectionCatalogEntries:()=>bn.V9,getTweaksDefinitionVisibility:()=>Ee,getFrameLocationStatus:()=>m.TA,getActiveThemeName:()=>E.mr,getPageSectionsUpdatedOn:()=>m.Gd,getIsColorsLoaded:()=>E.FX,getCollectionItemSections:()=>I.Ul,getInitialActiveFontCssStrings:()=>k,getIsFluidEngineDebugModeActive:()=>m.$k,getSectionThemeNameById:()=>I.XS,getAreBlocksMultiselected:()=>m.FM,getCollectionItemSectionIndex:()=>I.gp,getHasEditableAnnotation:()=>m.l3,getTweakValuesSaved:()=>he,getPresentCmsData:()=>i.TO,getIsEditModeDiscardConfirmationOpen:()=>m.jJ,getOpenSectionSettingsSectionId:()=>m.Pw,getIsMultiResizing:()=>m.go,getIsBlockSelectorOpen:()=>m.j_,getEditCount:()=>m.j2,getIsPageCatalogOpen:()=>Ie,getPageSectionIndex:()=>I.d0,getPagesPanelNavigationGroups:()=>qt,getSectionDefinitions:()=>I.Bf,getSelectablePalette:()=>E.pg,getSelectedHeaderElement:()=>m.hF,getColorVariableDefinitions:()=>E.tS,getSiteTitle:()=>Ke.a,getPageSectionIds:()=>I.T_,getPresentHeaderNavData:()=>i.e9,getSelectedHeaderElementPosition:()=>m.k5,getPersistedHeader:()=>Ln.gR,getIsFluidEngineItemCatalogLoaded:()=>Ne,getPresentBrandIdentityData:()=>i.BG,getHasAccessToEditCurrentPage:()=>m.aq,getActiveFontPack:()=>F,getTweaksErrors:()=>fe,getReactBlockEditorId:()=>m.Kz,getIsCustomerAccountAlertOpen:()=>m.k$,getAreSiteStylesDirty:()=>Be,getIsItemCatalogLoaded:()=>Ce,getCollectionItemSectionsById:()=>I.vo,getPresentCollectionItemData:()=>i.hm,getPageSectionsId:()=>m.ub,getFullCurrentCollectionItem:()=>I.gE,getBlockIdsAutoReorderingInMobile:()=>m.Ut,getAuthenticatedAccounts:()=>r,getCanUndo:()=>i.j3,getStickyScrollValue:()=>$n.cQ,getFluidEngineSectionEditContexts:()=>$n.aY,getIsSaving:()=>m.gq,getPagesPanelDraggingId:()=>Xt,getIsAnyBlockEditorOpen:()=>m.WN,getIsChangingHeaderHeight:()=>m.ZB,getFontDefinitions:()=>M,getPageCatalogEntriesByCategory:()=>Pn,getCurrentEditingSectionThemeName:()=>I.yl,getSelectedLayoutSuggestion:()=>I.Jn,getSiteThemeId:()=>Rn.y3,getSectionCatalogEntriesByCategory:()=>bn.gx,getFooterSections:()=>I.L1,getEditingAdminSectionId:()=>m.jh,getAreSectionThemeIndicatorsVisible:()=>I.rQ,getCanRedo:()=>i.UY,getCurrentLayoutSwitcherSectionId:()=>m.l8,getGroupsExpandedState:()=>oe,getIsItemCatalogOpen:()=>Le,getIsSectionFocused:()=>m.cn,getPagesPanelLinkEditMode:()=>qn,getHeaderSectionIds:()=>I.Js,getBrandId:()=>h,getButtonFontMappings:()=>R,getAreAnnotationControllersHidden:()=>m.s6,getHasSevenZeroDirtyAnnotation:()=>m.R2,getNetEditCount:()=>m.Qb,getPageSectionsRenderedOnPage:()=>I.c6,getPresentColorData:()=>i.DS,getPresentSectionsReducer:()=>I.c1,getPreSiteStylesLocation:()=>m.dz,getCatalogAdminSectionId:()=>T,getSectionsCollectionId:()=>I.k0,getShowCustomerAccountRemovalWarning:()=>m.i,getWebFontsByCssString:()=>Pe,getVisualTone:()=>u,getFluidEngineContainer:()=>$n.oH,getIsSavingSiteStyles:()=>q,getPersistedSections:()=>Ln.px,getErrorTitle:()=>m.iH,getPagesPanelEditingName:()=>Je,getIsSectionDividerEnabledForSectionId:()=>I.HL,getEditingSectionArea:()=>m.fP,getPagesPanelClonedItemsDuringSearch:()=>cn,getIsPageCatalogTaxonomyModalOpen:()=>P,getBrandName:()=>d,getPagesPanelEditingPath:()=>At,getFluidEngineSectionContainingBlock:()=>$n.dX,getPageSectionColorThemes:()=>I.Ex,getIsReorderingMobileBlock:()=>m.kP,getRTEColorPalette:()=>E.Jd,getPagesPanelFrameCollectionUrl:()=>xt,getFrameDeviceViewTransitioning:()=>m.tl,getSectionCatalogDataForShowingAndHiding:()=>bn.Zq,getCollectionItemSectionIds:()=>I.Xp,getOpenHeaderElementModal:()=>m.fr,getColorThemes:()=>E.$j,getSectionsParentPageSectionsId:()=>I.dK,getSessionEditCount:()=>m.s9,getIsHeaderModalOpen:()=>m.K8,getPageCatalogRestrictToSingleCategory:()=>rt,getPagesPanelLinkValue:()=>fo,getSectionMultiselectedBlockIds:()=>m.hX,getIsBlockEditorOpen:()=>m.m1,getIsThemeEditorOpen:()=>E.Rr,getMultiselectedBlockIdsInSection:()=>$n.bC,getIsSavingFonts:()=>j,getAddPageModalPath:()=>m._X,getPagesPanelHasActiveSearch:()=>jn,getIsPageCatalogLoaded:()=>It,getHoveringHeaderElement:()=>m.aB,getIsSectionEditContextPresentForId:()=>I.nU,getIsEditModePreview:()=>m.ML,getIsMultilingualConnected:()=>ir,getRequiresFullPreviewRefresh:()=>Zn,getCurrentEditingSectionEditContext:()=>I.HS,getSectionCatalogEntriesBySectionId:()=>bn.IW,getButtonPackId:()=>Rn.qS,getDefaultTheme:()=>E.Vx,getSectionCatalogShouldAddAbove:()=>bn.jj,getShowErrorModal:()=>m.wx,getTweaksLoaded:()=>z,getIsBlockBeingDragged:()=>m.$O,getPersistedCollection:()=>m._k,getFundManagerErrorState:()=>Dn,getHasLastChangedSectionGridSetting:()=>m.rI,getSectionCatalogSelectedCategory:()=>bn.Cw,getHeaderWebsiteData:()=>Ke.K,getFieldGroups:()=>ie,getSectionEditContexts:()=>I.Xb,getIsFundEditorModalOpen:()=>Te,getItemCatalogCollectionId:()=>Ue,getSectionCatalogSectionId:()=>bn.kN,getAreSectionsLoaded:()=>I.SL,getCatalogTaxonomyEngine:()=>s,getDoesCurrentEditingSectionHaveLocalColorOverrides:()=>I.uY,getFocusedBlockId:()=>m.Ou,getPersistedFooter:()=>Ln.wD,getIsMovingFluidEngineBlockWithKeys:()=>m.Bo,getSectionIdWithOpenLayersPanel:()=>m.Kq,getIsLoaded:()=>m.Zl,getCookieBannerTheme:()=>ee,getIsSectionSettingsOpenForSectionId:()=>m.rf,getWebsiteColors:()=>E.r4,getPageCreationOptions:()=>Re,getAreSectionsMoving:()=>m.ly,getIsDraggingFluidEngineRowHandle:()=>m.xu,getItemCatalogEntriesByItemId:()=>Ot,getRevertibleSectionById:()=>I.lQ,getSavedSectionStatuses:()=>bn.WO,getPalette:()=>E.XN,getSectionCatalogCategories:()=>bn.WU,getTweaksIsDirty:()=>H,getFontDefinitionsWithFontMappingRecord:()=>B,getSessionNetEditCount:()=>m.mX,getBrandTone:()=>c,getTweaksSaving:()=>ae,getFluidEngineGridSettingsBySectionId:()=>$n.XE,getSelectedDefinitions:()=>J,getOpenPageCatalogEntryPoint:()=>ce,getUnsavedInlineItemChanges:()=>I.Sc,getIsOtherSectionFocused:()=>m.FW,getPresentTweakData:()=>i.D_,getLayersPanelHoveredBlockId:()=>m.d0,getItemCatalogCategories:()=>we,getIsLayoutEnginePageCatalogLoaded:()=>vt,getCookieBannerPosition:()=>$,getIsSectionCatalogTaxonomyModalOpen:()=>A,getFluidEngineIdBySectionId:()=>$n.aR,getFluidEngineGridContentsBySectionId:()=>$n.RA,getHasBrandIdentity:()=>_,getIsColorsPanelOpen:()=>E.Xu,getIsLayersPanelOpen:()=>m.bA,getIsLayoutEngineItemCatalogLoaded:()=>ht,getOpenSectionSettings:()=>m.Pi,getIsRequestingTweakDefaults:()=>m.Lu,getIsSectionTemplateSettingsModalOpen:()=>S,getWebsiteComponentsInSection:()=>I.wd,getFormPackId:()=>Rn.m5,getCollectionId:()=>m.Zx,getVisibleDefinitions:()=>ge,getIsMobileHeaderMenuOverlayOpen:()=>m.ZX,getIsPageAdminOpen:()=>m.AG,getPageCatalogCategories:()=>on,getEnterpriseSavedSectionCatalogEntries:()=>bn.pt,getPagesPanelOptimisticData:()=>Qt,getPageSectionsRenderedOnPageById:()=>I.Rm,getHiddenBlockEditorId:()=>m.n7,getIsSectionCatalogFluidEngine:()=>bn.U0,getHeaderFullData:()=>I.x6,getIsPageTemplateSettingsModalOpen:()=>C,getBrandVersion:()=>g,getDraggingBlockId:()=>m.zA,getIsBrandIdentityDirty:()=>O,getIsPageCatalogFluidEngine:()=>st,getSectionEditContextById:()=>I.n4,getRenderedCollectionJsonSchemaSection:()=>I.l7,getIsFluidEngineSectionCatalogLoaded:()=>bn.Tq,getFundToDelete:()=>un,getIsRteFocusedInSectionSelector:()=>m.vg,getFrameLocationIsFinished:()=>m.Ee,getIsFluidEnginePageCatalogLoaded:()=>ze,getPagesPanelSearchResults:()=>Nn,getIsBlockFocused:()=>m.jA,getFrameDeviceView71:()=>m.rh,getErrorMessage:()=>m.e$,getIsBrandIdentityLoaded:()=>y,getTweakDefinitions:()=>me,getSectionEditContextByIdWithoutCustomId:()=>I.ri,getHeaderSection:()=>I.WM,getIsSectionFluidEngine:()=>$n.DZ,getIsSectionSettingsOpen:()=>m.Xi,getIsTutorialCompleted:()=>o,getSectionsLayoutSwitchApplied:()=>I.n6,getPagesPanelActiveGroupPath:()=>Jr,getBrandDescription:()=>f,getAreSectionsLoading:()=>I.$w,getPersistedCollectionItem:()=>m.Ml,unsafeGetActiveFontPack:()=>G,getUndoStackLastUpdate:()=>m.we,getPersistedFluidEngineSectionEditContexts:()=>$n.sw,getAccountSavedSectionCatalogEntries:()=>bn.GH,getCollectionItemPageSectionsId:()=>m.VO,getCurrentBlockDisclosureRoute:()=>m.SY,getTweaksLoading:()=>_e,getPageCatalogSelectedSubcategory:()=>mt,getCatalogTaxonomyNavigation:()=>v,getPagesPanelSearchQuery:()=>Tn,getIsCookieBannerDirty:()=>te,getPresentSiteThemeData:()=>i.GA,getFocusedSectionId:()=>m._6,getFocusedBlockWidget:()=>m.Pr,getFundManagerEntryPoint:()=>Vt,getCurrentBlockEditorId:()=>m.MI,getSectionCatalogSelectedSubcategory:()=>bn.wI,getIsPagesPanelLinkModalOpen:()=>or,getCanRevertLayoutSwitcher:()=>I.o_,getIsSiteFrameOverlayOpen:()=>m.Vd,getBlockClipboard:()=>m.X3,getIsSectionCatalogOpen:()=>bn.aF,getBlockClipboardBlocks:()=>m.eO,getIsItemCatalogFluidEngine:()=>Fe,getIsFontsDirty:()=>U,getIsPageEditingOrDirty:()=>m.Lw,getIsPageEditorDirty:()=>m.Z3,getIsSavingColors:()=>E.rd});const r=xe=>xe.authenticatedAccounts,o=xe=>Ae=>Ae.authenticatedAccounts.tutorialsCompleted[xe],n=xe=>xe.authenticatedAccounts.createdOn;var a=e(45321),i=e(227935);const c=(0,a.P1)(i.BG,xe=>xe.tone),u=(0,a.P1)(i.BG,xe=>xe.visualTone),f=(0,a.P1)(i.BG,xe=>xe.description),d=(0,a.P1)(i.BG,xe=>xe.name),h=(0,a.P1)(i.BG,xe=>xe.id),g=(0,a.P1)(i.BG,xe=>xe.version),_=(0,a.P1)(i.BG,xe=>xe.exists),p=(0,a.P1)(i.BG,xe=>xe.loading),y=(0,a.P1)(i.BG,xe=>xe.loaded),O=(0,a.P1)(i.BG,xe=>xe.isDirty),P=xe=>xe.catalogAdmin.currentOpenModal==="PageCatalogTaxonomy",C=xe=>xe.catalogAdmin.currentOpenModal==="PageTemplateSettings",A=xe=>xe.catalogAdmin.currentOpenModal==="SectionCatalogTaxonomy",S=xe=>xe.catalogAdmin.currentOpenModal==="SectionTemplateSettings",T=xe=>xe.catalogAdmin.sectionId,s=xe=>xe.catalogAdmin.taxonomyNavigation.engine,v=xe=>xe.catalogAdmin.taxonomyNavigation;var m=e(233232),E=e(132883),I=e(690882),L=e(268084),W=e(731144);const F=(0,a.P1)(i.vO,xe=>{var Ae;if(!((Ae=xe.activeFontPack)===null||Ae===void 0)&&Ae.name)return xe.activeFontPack}),G=(0,a.P1)(i.vO,xe=>xe.activeFontPack),k=(0,a.P1)(i.vO,xe=>xe.initialActiveFontCssStrings),x=(0,a.P1)(i.vO,xe=>xe.templateFontPacks),M=(0,a.P1)(i.vO,xe=>xe.fontDefinitions),B=(0,a.P1)(i.vO,xe=>{var Ae;if(!(!((Ae=xe.activeFontPack)===null||Ae===void 0)&&Ae.name))return;const qe=xe.activeFontPack.fontMappings.reduce((wt,kt)=>(wt[kt.name]=kt,wt),{});return xe.fontDefinitions.reduce((wt,kt)=>{const ut=qe[kt.name];return(ut||kt.releaseStatus===W.d.BETA)&&(wt[kt.name]={...kt,fontMapping:ut}),wt},{})}),R=(0,a.P1)(i.vO,xe=>{var Ae;if(!((Ae=xe.activeFontPack)===null||Ae===void 0)&&Ae.name)return(0,L.O0)(xe.activeFontPack)}),U=(0,a.P1)(i.vO,xe=>xe.isFontsDirty),j=(0,a.P1)(i.vO,xe=>xe.isSavingFonts),$=(0,a.P1)(i.GP,xe=>xe.cookieBannerPosition),ee=(0,a.P1)(i.GP,xe=>xe.cookieBannerTheme),te=(0,a.P1)(i.GP,xe=>xe.isCookieBannerDirty),ie=(0,a.P1)(i.D_,xe=>xe.fieldGroups),ne=(0,a.P1)(i.D_,xe=>xe.filterString),pe=(0,a.P1)(i.D_,xe=>xe.groupType),oe=(0,a.P1)(i.D_,xe=>xe.groupsExpandedState),q=(0,a.P1)(i.D_,xe=>xe.saving),J=(0,a.P1)(i.D_,xe=>xe.selectedDefinitions),me=(0,a.P1)(i.D_,xe=>xe.tweakDefinitions),re=(0,a.P1)(i.D_,xe=>xe.tweakValuesCurrent),he=(0,a.P1)(i.D_,xe=>xe.tweakValuesSaved),Ee=(0,a.P1)(i.D_,xe=>xe.definitionVisibility),fe=(0,a.P1)(i.D_,xe=>xe.error),H=(0,a.P1)(i.D_,xe=>xe.isDirty),z=(0,a.P1)(i.D_,xe=>xe.loaded),_e=(0,a.P1)(i.D_,xe=>xe.loading),ae=(0,a.P1)(i.D_,xe=>xe.saving),ge=(0,a.P1)(i.D_,xe=>xe.visibleDefinitions),Be=(0,a.P1)(H,U,E.Bi,te,(xe,Ae,qe,wt)=>xe||Ae||qe||wt);var Ke=e(300129),He=e(338301);const ye=xe=>xe.itemCatalog,Le=(0,a.P1)(ye,xe=>xe.isOpen),Ue=(0,a.P1)(ye,xe=>xe.collectionId),Xe=(0,He.Ug)(ye,"itemId"),Fe=Xe.getIsFluidEngine,ht=Xe.getIsLayoutEngineCatalogLoaded,Ne=Xe.getIsFluidEngineCatalogLoaded,Ce=Xe.getIsCatalogLoaded,we=Xe.getCatalogCategories,$e=Xe.getCatalogEntriesByCategory,Ot=Xe.getCatalogEntriesById,Pt=xe=>xe.pageCatalog,Ie=(0,a.P1)(Pt,xe=>xe.isOpen),Bt=(0,a.P1)(Pt,xe=>xe.selectedCategory),mt=(0,a.P1)(Pt,xe=>xe.selectedSubcategory),rt=(0,a.P1)(Pt,xe=>xe.restrictToSingleCategory),ce=(0,a.P1)(Pt,xe=>xe.openPageCatalogEntryPoint),Re=(0,a.P1)(Pt,xe=>xe.pageCreationOptions),nt=(0,He.Ug)(Pt,"collectionId"),st=nt.getIsFluidEngine,vt=nt.getIsLayoutEngineCatalogLoaded,ze=nt.getIsFluidEngineCatalogLoaded,It=nt.getIsCatalogLoaded,on=nt.getCatalogCategories,Pn=nt.getCatalogEntriesByCategory,Yn=nt.getCatalogEntriesById;var Ln=e(451785),bn=e(549721);const ir=xe=>xe.extensions.isMultilingualConnected,Zn=xe=>xe.extensions.requiresFullPreviewRefresh;var $n=e(853522);const jt=xe=>xe.cmsUndoStack.present.headerNav;var Rn=e(868928);const jn=xe=>xe.pagesPanel.hasActiveSearch,Tn=xe=>xe.pagesPanel.searchQuery,Nn=xe=>xe.pagesPanel.searchResults,cn=xe=>xe.pagesPanel.clonedItems,or=xe=>xe.pagesPanel.isLinkModalOpen,qn=xe=>xe.pagesPanel.linkEditMode,Hr=xe=>xe.pagesPanel.linkEditPath,fo=xe=>xe.pagesPanel.linkValue,Jr=xe=>xe.pagesPanel.activeGroupPath,ro=xe=>xe.pagesPanel.cloningId,Xt=xe=>xe.pagesPanel.draggingId,Je=xe=>xe.pagesPanel.editingName,At=xe=>xe.pagesPanel.editingPath,xt=xe=>xe.pagesPanel.frameCollectionUrl,Qt=xe=>xe.pagesPanel.optimisticData,qt=xe=>xe.pagesPanel.navigationGroups,Te=xe=>xe.fundManager.fundEditor.isOpen,Gt=xe=>xe.fundManager.fundEditor.fundId,un=xe=>!xe.fundManager.deleteFundModal.id||!xe.fundManager.deleteFundModal.name?null:{id:xe.fundManager.deleteFundModal.id,name:xe.fundManager.deleteFundModal.name},Vt=xe=>xe.fundManager.entryPoint,Dn=xe=>xe.fundManager.errorState,Wt=xe=>xe.webFonts,Pe=(0,a.P1)(Wt,xe=>xe.webFontsByCssString)},451785:function(b,l,e){"use strict";e.d(l,{O9:()=>i,gR:()=>n,px:()=>o,wD:()=>a});var r=e(45321);const o=c=>c.persistedSections,n=(0,r.P1)(o,c=>c.sectionEditContexts.header),a=(0,r.P1)(o,c=>c.footerSectionIds.map(u=>c.sectionEditContexts[u])),i=(0,r.P1)(o,c=>c.sectionEditContexts)},549721:function(b,l,e){"use strict";e.d(l,{Cw:()=>c,GH:()=>s,IW:()=>A,Tq:()=>y,U0:()=>_,U_:()=>p,V8:()=>O,V9:()=>S,WO:()=>h,WU:()=>P,Zq:()=>f,aF:()=>d,al:()=>v,gx:()=>C,jj:()=>i,kN:()=>a,pt:()=>T,wI:()=>u});var r=e(45321),o=e(338301);const n=m=>m.sectionCatalog,a=(0,r.P1)(n,m=>m.sectionId),i=(0,r.P1)(n,m=>m.shouldAddAbove),c=(0,r.P1)(n,m=>m.selectedCategory),u=(0,r.P1)(n,m=>m.selectedSubcategory),f=(0,r.P1)(a,i,(m,E)=>({sectionId:m,shouldAddAbove:E})),d=(0,r.P1)(n,m=>m.isSectionCatalogOpen),h=(0,r.P1)(n,m=>m.savedSectionStatuses),g=(0,o.Ug)(n,"id"),_=g.getIsFluidEngine,p=g.getIsLayoutEngineCatalogLoaded,y=g.getIsFluidEngineCatalogLoaded,O=g.getIsCatalogLoaded,P=g.getCatalogCategories,C=g.getCatalogEntriesByCategory,A=g.getCatalogEntriesById,S=g.getSavedSectionCatalogEntries,T=g.getEnterpriseSavedSectionCatalogEntries,s=g.getAccountSavedSectionCatalogEntries,v=g.getMultiSiteSavedSectionData},690882:function(b,l,e){"use strict";e.d(l,{$w:()=>ge,Bf:()=>A,Ex:()=>Ee,HL:()=>k,HS:()=>x,Jn:()=>_e,Js:()=>q,L1:()=>ie,MC:()=>I,Rm:()=>U,SL:()=>Be,Sc:()=>T,T_:()=>m,Ul:()=>$,WM:()=>oe,XS:()=>re,Xb:()=>L,Xp:()=>E,Zy:()=>M,bc:()=>ne,c1:()=>S,c6:()=>R,d0:()=>B,dK:()=>Ke,gE:()=>s,gp:()=>te,k0:()=>v,l7:()=>j,lQ:()=>H,n4:()=>W,n6:()=>ae,nU:()=>F,o_:()=>z,rQ:()=>J,ri:()=>G,uY:()=>fe,vo:()=>ee,wd:()=>He,x6:()=>me,yJ:()=>pe,yl:()=>he});var r=e(419467),o=e.n(r),n=e(45321),a=e(270848),i=e.n(a),c=e(800191),u=e(695960),f=e(914239),d=e(227935),h=e(300129),g=e(233232),_=e(132883),p=e(871106),y=e(874644),O=e(108471),P=e(784874);const C=ye=>ye?(ye.entityType||ye.typeName)===c.d.PORTFOLIO_ITEM||ye.recordType===i().PORTFOLIO_ITEM:!1,A=ye=>ye.sectionDefinitions,S=ye=>(0,d.TO)(ye).sections,T=ye=>S(ye).unsavedInlineItemChanges,s=ye=>{const Le=(0,d.hm)(ye)??(0,g.Ml)(ye);if(!Le)return null;const Ue=T(ye);return{...Le,...Ue,title:Ue.title??Le.title,body:Ue.body??Le.body}},v=(0,n.P1)(S,ye=>ye.collectionId),m=(0,n.P1)(S,ye=>ye.pageSectionIds),E=(0,n.P1)(S,ye=>ye.collectionItemSectionIds),I=(0,n.P1)(S,ye=>ye.footerSectionIds),L=(0,n.P1)(S,ye=>ye.sectionEditContexts),W=(0,n.P1)(L,(ye,Le)=>Le,(ye,Le)=>ye[Le]),F=(0,n.P1)(L,(ye,Le)=>Le,(ye,Le)=>!!ye[Le]),G=(0,n.P1)(L,(ye,Le)=>Le,(ye,Le)=>{const Ue=(0,r.cloneDeep)(ye[Le]);return Ue&&"customId"in Ue?(Ue.customId=null,Ue):ye[Le]}),k=(0,n.P1)(L,(ye,Le)=>Le,(ye,Le)=>{var Ue;const Xe=ye[Le];if(!Xe)return!1;if("jsonData"in Xe){var Fe,ht;return(Xe==null||(ht=Xe.jsonData)===null||ht===void 0||(Fe=ht.divider)===null||Fe===void 0?void 0:Fe.enabled)??!1}return"divider"in Xe&&((Ue=Xe.divider)===null||Ue===void 0?void 0:Ue.enabled)}),x=(0,n.P1)(g.WP,L,(ye,Le)=>ye?Le[ye]:null),M=(0,n.P1)(m,L,(ye,Le)=>ye.map(Ue=>Le[Ue])),B=(0,n.P1)(m,(ye,Le)=>Le,(ye,Le)=>ye.indexOf(Le)),R=(0,n.P1)(M,g.Ml,(ye,Le)=>Le&&ye.some(Ue=>(0,f.Mt)(Ue))?ye.filter(Ue=>(0,f.Mt)(Ue)):!Le&&ye.some(Ue=>(0,f.f8)(Ue))?ye.filter(Ue=>!(0,f.Mt)(Ue)):Le&&ye.some(Ue=>(0,f.lh)(Ue))?ye.filter(Ue=>(0,f.lh)(Ue)):!Le&&ye.some(Ue=>(0,f.zx)(Ue))?ye.filter(Ue=>!(0,f.lh)(Ue)):Le&&ye.some(Ue=>(0,f.F1)(Ue))?ye.filter(Ue=>(0,f.F1)(Ue)):!Le&&ye.some(Ue=>(0,f.xA)(Ue))?ye.filter(Ue=>!(0,f.F1)(Ue)):Le&&!C(Le)?ye.filter(Ue=>Ue.sectionName===u.Z.MAIN_CONTENT):ye),U=(0,n.P1)(R,ye=>(0,r.keyBy)(ye,"id")),j=(0,n.P1)(R,A,(ye,Le)=>ye.find(Ue=>Ue.sectionName!==u.Z.JSON_SCHEMA?!1:!!Le[Ue.sectionDefinitionName].referencedCollection)),$=(0,n.P1)(E,L,(ye,Le)=>ye.map(Ue=>Le[Ue]).filter(Ue=>!!Ue)),ee=(0,n.P1)(E,L,(ye,Le)=>(0,r.pick)(Le,ye)),te=(0,n.P1)(E,(ye,Le)=>Le,(ye,Le)=>ye.indexOf(Le)),ie=(0,n.P1)(I,L,(ye,Le)=>ye.map(Ue=>Le[Ue]).filter(Ue=>!!Ue)),ne=(0,n.P1)(I,L,(ye,Le)=>(0,r.pick)(Le,ye)),pe=(0,n.P1)(I,(ye,Le)=>Le,(ye,Le)=>ye.indexOf(Le)),oe=(0,n.P1)(L,ye=>ye.header),q=(0,n.P1)(oe,ye=>[ye.id]),J=(0,n.P1)(_.Rr,_.Xu,g.aE,(ye,Le,Ue)=>(ye||Le)&&Ue===y.hn.PAGE_EDIT_RIGHT_PANEL),me=ye=>({header:oe(ye),headerWebsiteData:(0,h.K)(ye)}),re=(ye,Le)=>{var Ue;const Xe=L(ye),Fe=(0,_.Vx)(ye);if(!Le)return;const ht=Xe[Le];if((ht==null?void 0:ht.sectionName)===p.A8||(ht==null?void 0:ht.sectionName)===p.Wf)return Fe;let Ne=(ht==null||(Ue=ht.styles)===null||Ue===void 0?void 0:Ue.sectionTheme)??Fe;return Le==="header"&&(Ne=ht==null?void 0:ht.sectionTheme),Ne||(Ne=Fe),Ne},he=ye=>{const Le=(0,g.WP)(ye);return re(ye,Le)},Ee=ye=>{const Le=L(ye),Ue=(0,_.Vx)(ye),Xe=Object.values(Le);return(0,r.uniq)(Xe.map(Fe=>{var ht;if("headerStyle"in Fe)return Fe.headerStyle==="theme"?Fe.sectionTheme:"";if("sectionTheme"in Fe&&Fe.sectionTheme!=="")return Fe.sectionTheme;if("styles"in Fe&&((ht=Fe.styles)===null||ht===void 0?void 0:ht.sectionTheme)!==""){var Ne;return(Ne=Fe.styles)===null||Ne===void 0?void 0:Ne.sectionTheme}return Ue})).map(Fe=>Fe===""?Ue:Fe)},fe=(0,n.P1)(g.WP,L,(ye,Le)=>{if(!ye)return!1;const Ue=Le[ye];return(0,O.C)(Ue)}),H=(0,n.P1)(S,(ye,Le)=>Le,(ye,Le)=>ye.revertibleSection[Le]),z=(0,n.P1)(S,g.l8,(ye,Le)=>Le?!!ye.revertibleSection[Le]:!1),_e=ye=>S(ye).selectedLayoutSuggestion,ae=ye=>S(ye).sectionsLayoutSwitchApplied,ge=ye=>S(ye).loadingStatus==="pending",Be=ye=>S(ye).loadingStatus==="fulfilled",Ke=ye=>S(ye).parentPageSectionsId,He=(ye,Le)=>{const Ue=W(ye,Le);return(Ue==null?void 0:Ue.sectionName)!==p.gu?[]:Ue==null?void 0:Ue.fluidEngineContext.gridContents.reduce((Xe,Fe)=>(Fe.content.value.type===P.Z.WEBSITE_COMPONENT&&!Xe.includes(Fe.content.value.definitionName)&&Xe.push(Fe.content.value.definitionName),Xe),[])}},868928:function(b,l,e){"use strict";e.d(l,{m5:()=>c,qS:()=>i,y3:()=>a,y_:()=>n});var r=e(45321),o=e(227935);const n=(0,r.P1)(o.GA,u=>u.siteThemeSettings),a=(0,r.P1)(n,u=>u==null?void 0:u.siteThemeId),i=(0,r.P1)(n,u=>u==null?void 0:u.buttonPackId),c=(0,r.P1)(n,u=>u==null?void 0:u.formPackId)},505739:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n.DEBOUNCED="DEBOUNCED",n.UNTIL_END_UNDO_GROUP="UNTIL_END_UNDO_GROUP",n}(r||{});const o=r},338301:function(b,l,e){"use strict";e.d(l,{Ug:()=>_,VZ:()=>g,ZW:()=>p});var r=e(45321),o=e(419467),n=e.n(o),a=e(762379),i=e(935662),c=e.n(i),u=e(567248),f=e(31966),d=e.n(f);const h={totalSections:0,isLoaded:!1,queryResultsCount:0},g={columnCount:2,isFluidEngine:!a.Z.isFeatureEnabled(c().FLUID_ENGINE_OPT_OUT),fluidEngineCategories:[],fluidEngineEntriesByCategory:{},isSavedSectionsLoaded:!1,isFluidEngineLoaded:!1,layoutEngineCategories:[],layoutEngineEntriesByCategory:{},isLayoutEngineLoaded:!1,multiSiteSavedSectionData:{[d().ORGANIZATION]:{...h},[d().PRO_USER]:{...h},[d().SAVED_SECTIONS]:{...h}}};function _(y,O){const P=(0,r.P1)(y,W=>W.isFluidEngine),C=(0,r.P1)(y,W=>W.isLayoutEngineLoaded),A=(0,r.P1)(y,W=>W.isFluidEngineLoaded),S=(0,r.P1)(y,P,(W,F)=>F?W.isFluidEngineLoaded:W.isLayoutEngineLoaded),T=(0,r.P1)(y,P,(W,F)=>F?W.fluidEngineCategories:W.layoutEngineCategories),s=(0,r.P1)(y,P,(W,F)=>F?W.fluidEngineEntriesByCategory:W.layoutEngineEntriesByCategory),v=(0,r.P1)(s,W=>(0,o.keyBy)(Object.values(W).flat(),O)),m=(0,r.P1)(s,W=>W[d().SAVED_SECTIONS]),E=(0,r.P1)(s,W=>W[d().ORGANIZATION]),I=(0,r.P1)(s,W=>W[d().PRO_USER]),L=(0,r.P1)(y,W=>W.multiSiteSavedSectionData);return{getIsFluidEngine:P,getIsLayoutEngineCatalogLoaded:C,getIsFluidEngineCatalogLoaded:A,getIsCatalogLoaded:S,getCatalogCategories:T,getCatalogEntriesByCategory:s,getCatalogEntriesById:v,getSavedSectionCatalogEntries:m,getEnterpriseSavedSectionCatalogEntries:E,getAccountSavedSectionCatalogEntries:I,getMultiSiteSavedSectionData:L}}function p(y,O){let{loadFluidEngine:P,loadLegacyFluidEngine:C,loadLayoutEngine:A,loadLegacyLayoutEngine:S,toggle:T,idProperty:s}=O;return y.addCase(T,(v,m)=>{let{payload:E}=m;return{...v,isFluidEngine:E}}).addCase(P.pending,v=>({...v,isFluidEngine:!0})).addCase(P.fulfilled,(v,m)=>{let{payload:E}=m;return{...v,isFluidEngineLoaded:!0,fluidEngineCategories:Object.keys(E),fluidEngineEntriesByCategory:{...v.fluidEngineEntriesByCategory,...E}}}).addCase(P.rejected,v=>({...v,isFluidEngineLoaded:!0})).addCase(A.pending,v=>({...v,isFluidEngine:!1})).addCase(A.fulfilled,(v,m)=>{let{payload:E}=m;return{...v,isLayoutEngineLoaded:!0,layoutEngineCategories:Object.keys(E),layoutEngineEntriesByCategory:{...v.layoutEngineEntriesByCategory,...E}}}).addCase(A.rejected,v=>({...v,isLayoutEngineLoaded:!0})).addCase(C.pending,v=>({...v,isFluidEngine:!0})).addCase(C.fulfilled,(v,m)=>{let{payload:E}=m;const I=(0,u.Mt)(E),L=(0,u.oz)(E,s);return{...v,isFluidEngineLoaded:!0,fluidEngineCategories:I,fluidEngineEntriesByCategory:{...v.fluidEngineEntriesByCategory,...L}}}).addCase(C.rejected,v=>({...v,isFluidEngineLoaded:!0})).addCase(S.pending,v=>({...v,isFluidEngine:!1})).addCase(S.fulfilled,(v,m)=>{let{payload:E}=m;const I=(0,u.Mt)(E),L=(0,u.oz)(E,s);return{...v,isLayoutEngineLoaded:!0,layoutEngineCategories:I,layoutEngineEntriesByCategory:{...v.layoutEngineEntriesByCategory,...L}}}).addCase(S.rejected,v=>({...v,isLayoutEngineLoaded:!0}))}},567248:function(b,l,e){"use strict";e.d(l,{Bv:()=>g,FX:()=>c,Mt:()=>u,QO:()=>_,Qy:()=>h,oz:()=>f});var r=e(419467),o=e.n(r),n=e(871106),a=e(31966),i=e.n(a);function c(p,y){let O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,P=Math.ceil(p.length/y);return P=Math.max(P,O),(0,r.chunk)(p,P)}function u(p){const O=p.map(C=>C.taxonomy.categories.concat({shortSlug:i().SAVED_SECTIONS}).map(S=>{let{shortSlug:T}=S;return T.replaceAll("-","_").toUpperCase()}).filter(S=>S!==void 0)).flat();return[...new Set(O)]}function f(p,y){const O={};return p.forEach(P=>{const C=P[y];P.taxonomy.categories.forEach(A=>{const S=A.shortSlug.replaceAll("-","_").toUpperCase();O[S]=O[S]||[],O[S].push({...P,id:C})})}),O}function d(p){p.querySelectorAll("img").forEach(y=>{y.removeAttribute("srcset"),y.setAttribute("data-size-adjustment",".25")})}function h(p,y){const C=new DOMParser().parseFromString(p,"text/html").querySelector(`[data-page-sections] > [${n.T5}="${y}"]`);return C?(d(C),C.outerHTML):p}function g(p,y,O,P){const A=new DOMParser().parseFromString(p,"text/html"),S=A.createElement("div");S.classList.add("article-wrapper");const T=A.body.querySelector("[data-page-sections]");return T&&(d(T),T.setAttribute("data-collection-id",y),T.setAttribute("data-website-id",O),P&&T.setAttribute("data-is-folder","true"),S.innerHTML=T.outerHTML),S.outerHTML}function _(p,y,O,P){const A=new DOMParser().parseFromString(p,"text/html"),S=A.createElement("div");S.classList.add("article-wrapper");const T=A.body.querySelector("[data-page-sections]");return T&&(d(T),T.setAttribute("data-item-id",y),T.setAttribute("data-website-id",O),P&&T.setAttribute("data-is-folder","true"),S.innerHTML=T.outerHTML),S.outerHTML}},268084:function(b,l,e){"use strict";e.d(l,{C8:()=>d,Dj:()=>_,G7:()=>n,Nb:()=>a,O:()=>h,O0:()=>g,Xl:()=>p,aX:()=>i,iS:()=>c,jT:()=>f});var r=e(885481);const o=new Set([r.Zw.PRIMARY,r.Zw.SECONDARY,r.Zw.TERTIARY]),n=(y,O)=>y.find(P=>P.name===O),a=(y,O)=>{var P;return y==null||(P=y.masterFonts)===null||P===void 0?void 0:P.find(C=>C.name===O)},i=(y,O)=>{var P;return y==null||(P=y.masterSizes)===null||P===void 0?void 0:P.find(C=>C.name===O)},c=(y,O)=>{var P;return y==null||(P=y.fontMappings)===null||P===void 0?void 0:P.find(C=>C.name===O)},u=(y,O)=>y.find(P=>P.fontPack.name===O),f=(y,O)=>{var P;return(P=u(y,O))===null||P===void 0?void 0:P.fontPack},d=y=>y&&!y.customFontValue?y.fontMapping:"custom",h=y=>y&&!y.customSizeValue?y.sizeMapping:"custom",g=y=>y.fontMappings.reduce((O,P)=>{let{name:C,customFontValue:A,customSizeValue:S}=P;return o.has(C)&&A&&S&&(O[C]={customFontValue:A,customSizeValue:S}),O},{}),_=y=>({name:y,fontMapping:r.pN.BODY,sizeMapping:r.kN.NORMAL_TEXT}),p=y=>{const O=new Set(y==null?void 0:y.masterFonts.map(P=>{let{fontValue:C}=P;return C.fontFamily}));return y==null||y.fontMappings.forEach(P=>{let{customFontValue:C}=P;C!=null&&C.fontFamily&&O.add(C.fontFamily)}),O}},350398:function(b,l,e){"use strict";e.d(l,{Z:()=>o});function r(n,a){if(Object.is(n,a))return!0;const i=Object.keys(n),c=Object.keys(a);if(i.length!==c.length)return!1;for(let u=0;u<i.length;u++)if(!Object.prototype.hasOwnProperty.call(a,i[u])||!Object.is(n[i[u]],a[i[u]]))return!1;return!0}function o(n,a,i){const c=()=>a(n.getState());let u=c();return n.subscribe(()=>{const f=u,d=c();u=d,((!f||!d)&&f!==d||!r(f,d))&&i(d,f)})}},578451:function(b,l,e){"use strict";e.d(l,{B:()=>o,O:()=>n});var r=e(851939);function o(a){return a}const n=r.createAsyncThunk.withTypes()},474698:function(b,l,e){"use strict";e.d(l,{Z:()=>g});var r=e(941834),o=e.n(r),n=e(41798),a=e.n(n),i=e(337061),c=e(203027),u=e(217528),f=e(848371),d=e(80143);class h{getStateFromContext(p){let{authenticatedAccount:y}=p;return this.state.merge(y)}onUpdateAuthorSuccess(p){p.id===this.state.get("id")&&this.setState(this.state.merge(p))}onSyncMarkTutorialCompletedFromRedux(p){this.setState(this.state.mergeDeep({tutorialsCompleted:{[p]:!0}}))}isTutorialCompleted(p){const y=this.getState().get("tutorialsCompleted");return!!y&&!!y.get(p)}syncMarkTutorialCompletedFromRedux(p){const y=this.getState().get("tutorialsCompleted");(!y||!y.get(p))&&(c.Z.syncMarkTutorialCompletedFromRedux(p),(0,i.dispatchCmsReduxAction)((0,u.ic)(p)))}constructor(){this.state=(0,r.Map)(),this.bindListeners({onUpdateAuthorSuccess:d.Z.updateAuthorSuccess,onSyncMarkTutorialCompletedFromRedux:c.Z.syncMarkTutorialCompletedFromRedux}),this.exportPublicMethods({isTutorialCompleted:this.isTutorialCompleted})}}const g=(0,f.ZP)(a()(h),"AuthenticatedAccountStore")},834105:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(603257),o=e(734455),n=e(848371),a=e(55302),i=e.n(a),c=e(582388),u=e.n(c),f=e(28365),d=e.n(f);const h={[u().EXPIRED]:{[d().CLASSIC]:o.Z.WEBSITE_EXPIRED,[d().COVER_PAGE]:o.Z.COVER_PAGE_EXPIRED,[d().COMMERCE]:o.Z.COMMERCE_EXPIRED},[u().TRIAL]:{[d().CLASSIC]:o.Z.WEBSITE_TRIAL,[d().COVER_PAGE]:o.Z.COVER_PAGE_TRIAL,[d().COMMERCE]:o.Z.COMMERCE_TRIAL},[u().PASTDUE]:{[d().CLASSIC]:o.Z.WEBSITE_PASTDUE,[d().COVER_PAGE]:o.Z.COVER_PAGE_PASTDUE,[d().COMMERCE]:o.Z.COMMERCE_PASTDUE},[u().PAID]:{[d().CLASSIC]:o.Z.WEBSITE_PAID,[d().COVER_PAGE]:o.Z.COVER_PAGE_PAID,[d().COMMERCE]:o.Z.COMMERCE_PAID,[d().ENTERPRISE]:o.Z.COMMERCE_PAID},[u().RESOLD_GRACE_PERIOD]:{[d().CLASSIC]:o.Z.WEBSITE_RESOLD_GRACE_PERIOD,[d().COVER_PAGE]:o.Z.COVER_PAGE_RESOLD_GRACE_PERIOD,[d().COMMERCE]:o.Z.COMMERCE_RESOLD_GRACE_PERIOD,[d().ENTERPRISE]:o.Z.COMMERCE_RESOLD_GRACE_PERIOD}};class g{getBillingMessageType(){const{websiteType:y,siteStatus:O,billingStatus:P}=this.getState();if(O===u().TRIAL&&P===i().SUBSCRIBED)return null;const C=h[O];return C&&C[y]}getStateFromContext(y){let{billingStatus:O,website:P,websiteSettings:C}=y;return{billingStatus:O,siteStatus:P&&P.siteStatus?P.siteStatus.value:null,websiteType:P?P.websiteType:null}}handleSiteStatusUpdate(y){this.siteStatus=y.siteStatus}handleBillingStatusUpdate(y){this.billingStatus=y.billingStatus}isActiveAndSubscribed(){const y=this.getState().siteStatus,O=this.getState().billingStatus;return y===u().PAID&&O===i().SUBSCRIBED}isTrial(){return this.getState().siteStatus===u().TRIAL}isCommercePlan(){return this.getState().siteStatus===u().INTERNAL||this.getBillingMessageType()===o.Z.COMMERCE_PAID||this.getBillingMessageType()===o.Z.COMMERCE_RESOLD_GRACE_PERIOD}constructor(){this.bindListeners({handleSiteStatusUpdate:r.Z.UPDATE_SITE_STATUS,handleBillingStatusUpdate:r.Z.UPDATE_BILLING_STATUS}),this.exportPublicMethods({getBillingMessageType:this.getBillingMessageType,isActiveAndSubscribed:this.isActiveAndSubscribed,isTrial:this.isTrial,isCommercePlan:this.isCommercePlan})}}const _=(0,n.ZP)(g,"BillingStatusStore")},551553:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(347560),o=e(523609),n=e(581942);class a extends n.Z{constructor(){super(),this.bindActions(o.Z)}}const i=r.Z.createStore(a,"CollectionItemSectionsStore")},699321:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(848371),o=e(840635);class n{onCreateNonOAuthAccountSuccess(c){const u=[...this.state.connectedAccounts,c];this.setState({connectedAccounts:u})}onUpdateConnectedAccountSuccess(c){const u=this.state.connectedAccounts,f=u.findIndex(d=>d.id===c.id);u.splice(f,1,c),this.setState({connectedAccounts:u})}onRemoveConnectedAccountSuccess(c){const f=this.state.connectedAccounts.filter(d=>d.id!==c);this.setState({connectedAccounts:f})}onRefreshConnectedAccountsSuccess(c){this.setState({connectedAccounts:c})}getStateFromContext(c){let{connectedAccounts:u=[]}=c;return{connectedAccounts:u}}constructor(){this.state={connectedAccounts:[]},this.bindActions(o.Z)}}const a=(0,r.ZP)(n,"ConnectedAccountsStore")},966819:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>f});var r=e(941834),o=e.n(r),n=e(347560),a=e(142849),i=e(41798),c=e.n(i);class u{onInsert(h){this.setState(this.state.set(h.id,(0,r.fromJS)(h)))}onUpdateSuccess(h){this.setState(this.state.set(h.id,(0,r.fromJS)(h)))}onInsertMany(h){let{collections:g}=h;const _=Array.isArray(g)?g:Object.values(g);let p=this.state;_.forEach(y=>p=p.set(y.id,(0,r.fromJS)(y))),this.setState(p)}onDelete(h){this.setState(this.state.delete(h))}fetch(h){const g=this.getState().get(h);return g?Promise.resolve(g):this.fetchFromServer(h)}fetchFromServer(h){return a.Z.read(h).then(()=>this.getState().get(h))}constructor(){this.state=(0,r.Map)(),this.bindListeners({onInsert:a.Z.insert,onUpdateSuccess:a.Z.updateSuccess,onInsertMany:a.Z.insertMany,onDelete:[a.Z.delete,a.Z.deleteUnusedCollectionPermanently]}),this.exportPublicMethods({fetch:this.fetch,fetchFromServer:this.fetchFromServer}),this.analyticsKeys=["description","folder","homepage","iTunesEnabled","mainImageId","navigationTitle","seoData.seoDescription","seoData.seoImageId","seoData.seoTitle","title","urlId"]}}const f=n.Z.createStore(c()(u),"ContentCollectionStore")},637635:function(b,l,e){"use strict";e.d(l,{Z:()=>y});var r=e(941834),o=e.n(r),n=e(41798),a=e.n(n),i=e(848371),c=e(522364),u=e(365312),f=e(979825),d=e(704761),h=e(798893),g=e.n(h);const _={};class p{onCreateAssetReferenceSuccess(P){this.setState(this.state.set(P.id,(0,r.fromJS)(P)))}onInsert(P){const C=_[P.id];C&&(P={...P,jobId:C}),this.setState(this.state.set(P.id,(0,r.fromJS)(P)))}onInsertMany(P){const C=P.reduce((A,S)=>{const T=_[S.id];return T&&(S={...S,jobId:T}),A[S.id]=(0,r.fromJS)(S),A},{});this.setState(this.state.merge(C))}onUpdateField(P){let{id:C,key:A,value:S}=P;this.setState(this.state.setIn([C,A],S))}onDelete(P){this.setState(this.state.delete(P))}onDeleteMany(P){this.setState(this.state.filter((C,A)=>P.indexOf(A)===-1))}onReorderItems(P){let{reorderedItems:C}=P;const A=C.reduce((S,T)=>{let{id:s,displayIndex:v}=T;return S[s]={displayIndex:v},S},{});this.setState(this.state.mergeDeep(A))}getStateFromContext(P){let{pendingJobs:C}=P;const A=C&&C.filter(S=>!!S.data.contentItemId);A&&A.length>0&&A.forEach(S=>{_[S.data.contentItemId]=S.id})}onUploadSuccess(P){let{data:C}=P,{contentItem:A,job:S}=C;A&&(S&&(A=Object.assign({},A,{jobId:S.id})),this.waitFor(d.Z),this.setState(this.state.set(A.id,(0,r.fromJS)(A))))}onJobComplete(P){const C=P.map(A=>d.Z.getState()[A]).filter(A=>!!A.data&&!!A.data.contentItemId);C.length>0&&this.setState(this.state.mergeDeep(C.reduce((A,S)=>{const{contentItemId:T,contentItemUpdatedOn:s,assetVariants:v}=S.data,m={jobId:null};return S.type===h.IMAGE_PROCESSING&&s&&Object.assign(m,{updatedOn:s,originalSize:v.split(",")[0],systemDataVariants:v}),A[T]=m,_[T]=null,A},{})))}fetch(P){if(!P)return Promise.resolve();const C=this.getState().get(P);return C&&C.get("id")?Promise.resolve(C):this.fetchFromServer(P)}fetchFromServer(P){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,A=arguments.length>2?arguments[2]:void 0;return c.Z.read(P,C,A).then(()=>this.getState().get(P))}fetchForCollection(P){const C=this.getForCollection(P);return C.size>0?Promise.resolve(C):c.Z.readForCollection(P).then(()=>this.getForCollection(P))}getForCollection(P){return this.getState().filter(C=>C.get("collectionId")===P)}isCached(P){return!!this.getState().get(P)}constructor(){this.state=(0,r.Map)(),this.bindActions(c.Z),this.bindListeners({onUploadSuccess:u.Z.UPLOAD_SUCCESS,onJobComplete:f.Z.COMPLETE}),this.exportPublicMethods({fetch:this.fetch,fetchFromServer:this.fetchFromServer,fetchForCollection:this.fetchForCollection,getForCollection:this.getForCollection,isCached:this.isCached})}}const y=(0,i.ZP)(a()(p),"ContentItemStore")},406713:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(848371);class o{getStateFromContext(i){return{paidWebsiteFeatureLevel:i.paidWebsiteFeatureLevel}}getPaidWebsiteFeatureLevel(){return this.getState().paidWebsiteFeatureLevel}constructor(){this.exportPublicMethods({getPaidWebsiteFeatureLevel:this.getPaidWebsiteFeatureLevel}),this.state={paidWebsiteFeatureLevel:null}}}const n=(0,r.ZP)(o,"CurrentPlanStore")},666244:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>P});var r=e(999603),o=e.n(r),n=e(555827),a=e.n(n),i=e(365393),c=e.n(i),u=e(347560),f=e(745747),d=e(436679),h=e(244764),g=e.n(h),_=e(318488);const p=C=>C.filter(A=>A.recordType!==A.expectedRecordType||A.value!==A.expectedValue||A.deprecated);function y(C){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const S=p(A);return S.length?C.withinPropagationWindow&&!S.some(T=>T.deprecated)?_.M.IN_PROGRESS:S.some(T=>T.type===g().VERIFICATION)?_.M.VERIFICATION_FAILURE:_.M.DNS_ERROR:_.M.CONNECTED}class O extends f.Z{getById(A){const S=this.getState().domainsById[A];if(S)return Object.assign({},S,this.getState().dataToAppendById[A])}getDomains(){return Object.values(this.getState().domainsById)}getCertificates(){return Object.values(this.getState().domainsById).reduce((A,S)=>S.subscriptionState===o().EXPIRED?A:A.concat(S.certificates.map(T=>Object.assign({},T,{parentDomain:S.name}))),[])}getByName(A){const S=this.getState().domainsByName[A];if(S)return Object.assign({},S,this.getState().dataToAppendByName[A])}onReset(){this.setState({dataToAppendById:{},dataToAppendByName:{},domainsById:{},domainsByName:{},loading:!1})}onLoad(){this.setState({loading:!0})}onLoadSuccess(A){this.setState({dataToAppendById:{},dataToAppendByName:{},domainsById:a()(A,"id"),domainsByName:a()(A,"name"),domainsByType:c()(A,"type"),loading:!1,errorLoading:!1})}onLoadFailure(){this.setState({loading:!1,errorLoading:!0})}onGetEmailVerificationDetailsSuccess(A){let{domain:S,emailVerificationDetails:T}=A;this.addDataToAppend(S,{emailVerificationDetails:T}),this.updateDomainField({domain:S,update:{name:"emailVerificationStatus",value:T.status}})}onGetEmailVerificationDetailsFailure(A){let{domain:S,emailVerificationFailureData:T}=A;this.addDataToAppend(S,{emailVerificationFailureData:T})}onGetLinkStatusSuccess(A){let{domain:S,linkStatusRecords:T}=A;this.addDataToAppend(S,{linkStatusRecords:T,linkStatus:y(S,T)})}onGetDomainByNameSuccess(A){let{data:S}=A;this.setState(T=>{const s=T.domainsByType[S.type]||[],v=s.findIndex(m=>m.id===S.id);return{domainsById:{...T.domainsById,[S.id]:S},domainsByName:{...T.domainsByName,[S.name]:S},domainsByType:{...T.domainsByType,[S.type]:v===-1?[...s,S]:[...s.slice(0,v),S,...s.slice(v+1)]},loading:!1,hasLoadByNameFailure:!1}})}onGetDomainByNameFailure(){this.setState({hasLoadByNameFailure:!0})}updateDomainField(A){let{domain:S,update:T}=A;const s=Object.assign({},this.state.domainsById[S.id],{[T.name]:T.value});this.setState({domainsById:Object.assign({},this.state.domainsById,{[S.id]:s}),domainsByName:Object.assign({},this.state.domainsByName,{[S.name]:s})})}addDataToAppend(A,S){const{dataToAppendById:T,dataToAppendByName:s}=this.state,{id:v,name:m}=A;this.setState({dataToAppendById:Object.assign({},T,{[v]:Object.assign({},T[v],S)}),dataToAppendByName:Object.assign({},s,{[m]:Object.assign({},s[m],S)})})}constructor(){super(),this.state={dataToAppendById:{},dataToAppendByName:{},domainsById:{},domainsByName:{},domainsByType:{},loading:!1,errorLoading:!1,hasLoadByNameFailure:!1},this.bindActions(d.default),this.exportPublicMethods({getById:this.getById,getByName:this.getByName,getCertificates:this.getCertificates,getDomains:this.getDomains})}}const P=u.Z.createStore(O,"DomainsStore")},663955:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(347560),o=e(755577),n=e(224954),a=e.n(n),i=e(666244),c=e(436679);class u{getDomainIds(){return this.getState().ids}getFilteredDomains(){return this.getDomainIds().map(_=>i.default.getById(_))}isDomainApplicable(_){throw new Error("A filter function is required.")}onReset(){this.ids=[]}onLoadSuccess(_){this.waitFor(i.default),this.ids=a()(_.filter(this.isDomainApplicable.bind(this)).map(p=>p.id))}constructor(){this.ids=[],this.bindActions(c.default),this.exportPublicMethods({getDomainIds:this.getDomainIds,getFilteredDomains:this.getFilteredDomains,isDomainApplicable:this.isDomainApplicable})}}const f=u;class d extends f{isDomainApplicable(_){return(0,o.f)(_)}}const h=r.Z.createStore(d,"ExternalDomainStore")},967361:function(b,l,e){"use strict";e.d(l,{Z:()=>O});var r=e(941834),o=e.n(r),n=e(311064),a=e.n(n),i=e(960489),c=e.n(i),u=e(41798),f=e.n(u),d=e(831131),h=e(848371),g=e(125943),_=e.n(g);const p=a()(c());class y{getStateFromContext(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return o().fromJS({features:C.features,namedFeatureSets:(C.namedFeatureSets||[]).map(A=>({...A}))})}getLimit(C){const A=p[C];return this.getState().getIn(["features","limits",A])||Number.MAX_VALUE}isFeatureEnabled(C){const A=p[C];return!!A&&this.getState().hasIn(["features","enabledFeatures",A])}isAddOnEnabled(C){const A=d.Z.getFirstStatusForProductType(C);return(A==null?void 0:A.state)===_().ACTIVE}isFeatureInAllPlans(C){const S=this.getState().get("namedFeatureSets")||o().Map();return S.count()?S.every(T=>T.get("features").includes(C)):!1}isFeatureGated(C){return!this.isFeatureEnabled(C)}constructor(){this.exportPublicMethods({isFeatureEnabled:this.isFeatureEnabled,getLimit:this.getLimit,isFeatureInAllPlans:this.isFeatureInAllPlans,isFeatureGated:this.isFeatureGated,isAddOnEnabled:this.isAddOnEnabled}),this.state=o().fromJS({})}}const O=(0,h.ZP)(f()(y),"FeaturesStore")},571860:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(347560),o=e(871255),n=e(581942);class a extends n.Z{constructor(){super(),this.bindActions(o.Z)}}const i=r.Z.createStore(a,"FooterSectionsStore")},342622:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(347560),o=e(108819);const n=()=>({isLibraryLoaded:!1,isChatLoaded:!1,isChatAvailable:!1,expanded:!1});class a{onLoadZopim(){this.setState({loaded:!1})}onSetLoadedLibrary(u){this.setState({isLibraryLoaded:u})}onSetLoadedChat(u){this.setState({isChatLoaded:u})}onSetIsChatAvailable(u){this.setState({isChatAvailable:u})}onSetExpanded(u){this.setState({expanded:u})}constructor(){this.state=n(),this.bindActions(o.Z)}}const i=r.Z.createStore(a,"InAppChatStore")},810965:function(b,l,e){"use strict";e.d(l,{Z:()=>A});var r=e(419467),o=e(714487),n=e(848371),a=e(13795),i=e(37005),c=e(456903);const f={setMemberSiteHomepage(S){let{homepageId:T,memberSiteId:s}=S;return c.default.put(`/api/member-sites/${s}/homepage`,{homepageId:T})}};var d=e(387582),h=e(962398),g=e(762379),_=e(58713),p=e(487558),y=e(661614),O=e(935662),P=e.n(O);class C{getStateFromContext(T){let{siteLayout:s=[]}=T;return this.getMemberAreasLayout(s)}isFeatureEnabled(){return this.state.isMAFeatureEnabled}getIsUserClickSimulated(){return this.state.isUserClickSimulated}getMemberAreasHomepages(){return this.state.memberAreasHomepages}getMemberAreasList(){return this.state.memberAreasList}onSiteLayoutUpdate(T){let{widgetName:s,navigationData:v}=T;if(!(0,_.Z)()&&s===d.Z.memberAreaNavigationName){const m=v.items,E=m.reduce((L,W)=>{var F;return L[W.memberAreaId]=((F=W.memberAreaNavigationInfo)===null||F===void 0?void 0:F.defaultLandingPageId)||"",L},{}),I=m.map(L=>{var W,F;return{memberAreaId:L.memberAreaId,title:(W=L.memberAreaNavigationInfo)===null||W===void 0?void 0:W.title,children:(F=L.items)===null||F===void 0?void 0:F.map(G=>G.collectionId)}});this.setState({memberAreasHomepages:E,memberAreasList:I})}}onSiteLayoutRefresh(T){let{layout:s}=T;if(!(0,_.Z)()){const{memberAreasHomepages:v,memberAreasList:m}=this.getMemberAreasLayout(s);this.setState({memberAreasHomepages:v,memberAreasList:m})}}onReactPagesPanelLayoutUpdate(T){const s=(T==null?void 0:T.items)??[],v=s.reduce((E,I)=>(E[I.memberAreaId]=I.memberAreaDefaultLandingPageId||"",E),{}),m=s.map(E=>{var I;return{memberAreaId:E.memberAreaId,title:E.title,children:(I=E.items)===null||I===void 0?void 0:I.map(L=>L.collectionId)}});this.setState({memberAreasHomepages:v,memberAreasList:m})}onToggleMemberAreasFeature(T){this.setState({isMAFeatureEnabled:T})}async onSetMemberAreaHomepage(T){const{collectionId:s,memberAreaId:v}=T;await f.setMemberSiteHomepage({homepageId:s,memberSiteId:v}),this.setState({memberAreasHomepages:{...this.state.memberAreasHomepages,[v]:s}})}onRemoveMemberAreasHomepage(T){const s=T.id||T;this.setState({memberAreasHomepages:(0,r.omit)(this.state.memberAreasHomepages,s)})}onSetIsDeleteConfirmationOpen(T){this.setState({isDeleteConfirmationOpen:T})}onSetMemberArea(T){this.setState({memberArea:{name:T.name,id:T.id}})}onSetMemberAreaModel(T){const s=this.createMemberArea(T);this.setState({memberArea:s,memberAreaModel:T,deleteCollectionTitle:(0,o.t)("Delete {memberAreaName}",{memberAreaName:s.name},{project:"apps.App"}),deleteCollectionMessage:(0,o.t)("Are you sure you want to delete {memberAreaName}",{memberAreaName:s.name},{project:"apps.App"})})}onSetIsUserClickSimulated(T){this.setState({isUserClickSimulated:T})}onSetMACreationEntryPoint(T){this.setState({entryPoint:T})}onSetIsShowingChecklistWizard(T){this.setState({isShowingChecklistWizard:T})}onSetMAEntryPointLevel2(T){this.setState({entryPointLevel2:T})}onSetMAEntryPointPath(T){this.setState({entryPointPath:T})}setMemberAreaModelList(T){this.setState({memberAreaModelList:T})}createMemberArea(T){const s=T.get("title"),v=T.get("memberAreaId");return{name:s,id:v}}setIsUserViewingPagesPanel(T){this.setState({isUserViewingPagesPanel:T})}getMemberAreasLayout(T){const s=T.find(I=>I.identifier===d.Z.memberAreaNavigationName),v=(s==null?void 0:s.links)||[],m=v.map(I=>{var L;return{memberAreaId:I.memberAreaId,title:I.title,children:(L=I.children)===null||L===void 0?void 0:L.map(W=>W.collectionId)}}),E=v.reduce((I,L)=>(I[L.memberAreaId]=L.memberAreaDefaultLandingPageId||"",I),{});return{memberAreasList:m,memberAreasHomepages:E}}constructor(){this.state={deleteCollectionTitle:"",deleteCollectionMessage:"",isMAFeatureEnabled:g.Z.isFeatureEnabled(P().MEMBER_AREAS_FEATURE),isUserViewingPagesPanel:!1,isUserClickSimulated:!1,memberArea:{},memberAreaModel:{},memberAreaModelList:{},memberAreasList:[],memberAreasHomepages:{},entryPoint:null,entryPointLevel2:null,entryPointPath:null,isShowingChecklistWizard:!1},this.bindActions(a.Z),this.bindListeners({onSiteLayoutUpdate:[h.Z.refreshNavData],onSiteLayoutRefresh:[h.Z.refreshSuccess],onToggleMemberAreasFeature:i.Z.toggleFeatureSuccess}),this.exportPublicMethods({getMemberAreasHomepages:this.getMemberAreasHomepages,isFeatureEnabled:this.isFeatureEnabled,getIsUserClickSimulated:this.getIsUserClickSimulated,getMemberAreasList:this.getMemberAreasList}),(0,_.Z)()&&(0,p.Ho)(y.yW,this.onReactPagesPanelLayoutUpdate.bind(this))}}const A=(0,n.ZP)(C,"MemberAreasStore")},636707:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(347560),o=e(337061),n=e(897820),a=e(143379),i=e(581942),c=e(155955);class u extends i.Z{onSetHeaderModalOpen(h){h&&(this.setState({isSettingsOpen:!1}),(0,o.dispatchCmsReduxAction)((0,n.TE)()))}onSetOverlayDisclosureOpen(h){this.setState({isOverlayDisclosureOpen:h})}onSetMainContentItemLayoutKey(h){this.setState({itemLayoutKey:h})}constructor(){super(),this.state={...this.state},this.bindActions(a.Z),this.bindListeners({onSetHeaderModalOpen:c.Z.setHeaderModalOpen,onSetOverlayDisclosureOpen:c.Z.setOverlayDisclosureOpen})}}const f=r.Z.createStore(u,"PageSectionsStore")},581942:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(107384);function o(u,f,d){return f in u?Object.defineProperty(u,f,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[f]=d,u}const n=r.Z.SPACING,a=()=>({isGalleryContentEditorOpen:!1,isSettingsOpen:!1,openSectionToolbarRect:null,openSettingsId:null,sectionId:null}),i=()=>({isControllerInitialized:!1,catalog:[],catalogHTML:"",pageTitle:"",themeUISchema:{},tweakDefinitionsForSection:3,tweakValues:{},uiSchema:[],activeTab:n,...a()});class c{onSetTweakDefinitionsForSection(f){let{tweakDefinitionsForSection:d}=f;this.setState({tweakDefinitionsForSection:d})}onSetIsSettingsOpen(f){let{activeTab:d,isSettingsOpen:h,openSectionToolbarRect:g,openSettingsId:_,themeUISchema:p,tweakDefinitionsForSection:y,itemLayoutKey:O,jsonSchemaSectionSubUiSchema:P}=f;this.setState({activeTab:d,isSettingsOpen:h,openSectionToolbarRect:g,openSettingsId:_,themeUISchema:p,tweakDefinitionsForSection:y,itemLayoutKey:O,jsonSchemaSectionSubUiSchema:P})}onSetIsGalleryContentEditorOpen(f){let{isGalleryContentEditorOpen:d,sectionId:h}=f;this.setState({isGalleryContentEditorOpen:d,sectionId:h})}onLoadCatalogSuccess(f){this.setState({catalog:f})}onLoadCatalogHTMLSuccess(f){this.setState({catalogHTML:f})}onSetControllerInitialized(f){this.setState({isControllerInitialized:f})}onSetActiveTab(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n;this.setState({activeTab:f})}constructor(){o(this,"state",void 0),this.state=i()}}},395542:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(347560),o=e(155955);const i={GLOBAL:"global",DESKTOP:"desktop",MOBILE:"mobile"}.GLOBAL;class c{async onSetHeaderModalOpen(d){if(d){const h={type:"themecards",$mapping:"#/header/sectionTheme"},g={type:"themecards",$mapping:"#/header/menuOverlayTheme"};this.setState({cardUiSchema:h,menuOverlayCardUiSchema:g,headerTab:i})}else this.setState({isOverlayDisclosureOpen:!1,cardUiSchema:null,menuOverlayCardUiSchema:null,headerTab:null})}async onSetOverlayDisclosureOpen(d){this.setState({isOverlayDisclosureOpen:d})}onSetFieldErrors(d){this.setState({fieldErrors:d})}onSetHeaderTab(d){this.setState({headerTab:d})}onSetOverlayNavOpen(d){this.setState({isOverlayNavOpen:d})}onSetHeaderStyle(d){this.setState({headerStyle:d})}onSetCartIconType(d){this.setState({cartIconType:d})}onSetLanguageSwitchAlertOpen(d){this.setState({isLanguageSwitchAlertOpen:d})}onSetEditorInitialRoute(d){this.setState({editorInitialRoute:d})}onSetColorPickerOpen(d){this.setState({isColorPickerOpen:d})}onSetOpenHeaderElementModal(d){this.setState({openHeaderElementModal:d})}onSetHeaderElementModalTab(d){this.setState({headerElementModalTab:d})}onSetSelectedHeaderElementPosition(d){this.setState({selectedHeaderElementPosition:d})}onSetSelectedHeaderElement(d){this.setState({selectedHeaderElement:d})}constructor(){this.isOverlayDisclosureOpen=!1,this.cardUiSchema=[],this.menuOverlayCardUiSchema=[],this.headerTab=null,this.isOverlayNavOpen=!1,this.headerStyle=null,this.cartIconType=null,this.fieldErrors={},this.isLanguageSwitchAlertOpen=!1,this.isColorPickerOpen=!1,this.editorInitialRoute=null,this.openHeaderElementModal=null,this.headerElementModalTab=null,this.selectedHeaderElementPosition=null,this.selectedHeaderElement=null,this.bindActions(o.Z)}}const u=r.Z.createStore(c,"SiteHeaderStore")},104002:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>y});var r=e(663639),o=e(142849),n=e(962398),a=e(378449),i=e(966819),c=e(322470),u=e.n(c),f=e(394470),d=e.n(f),h=e(848371);const g=["collectionType","enabled","passwordProtected","pagePermissionType","title","typeName","urlId"],_=(O,P,C)=>{if(O[P]===C)return[O];const A=O.links||O.children||[];for(let S=0;S<A.length;S++){const T=_(A[S],P,C);if(T.length)return[O].concat(T)}return[]};class p{onSiteLayoutReset(P){if(!P||!P.template){console.warn("Invalid context was given to the site layout reset!",P);return}const C=this.getStateFromContext(P.template);C&&this.setState(C)}onRefreshSuccess(P){let{layout:C}=P;const A=this.getStateFromContext({siteLayout:C});A&&this.setState(A)}getStateFromContext(P){let{siteLayout:C}=P;if(!C)return!1;const A={};return C.forEach(S=>{A[S.identifier]=S}),A}getNavigation(P){const C=this.getState()[P];if(!C)throw new Error(`Navigation ${P} doesn't exist`);return C}getNavItemForCollection(P){const C=typeof P=="string"?i.default.getState().get(P):P;if(!C)throw new Error(`No collection with ID ${P} found in store`);return{...u()(C.toJS?C.toJS():C,g),collectionId:typeof P=="string"?P:C.id}}onSiteLayoutUpdate(P){let{widgetName:C,navigationData:A}=P;const S=A.items.map(T=>this.formatItemData(C,T));n.Z.navChange.defer({navWidget:C,diff:(0,a.Hg)(this.state[C].links,S)}),this.setState({[C]:Object.assign({},this.state[C],{links:S})})}onCollectionUpdate(P){const{widgetName:C}=this.findNavItem(P.id);if(!C)return;const A=this.replaceNavItem(P,this.state[C].links.slice());this.setState({[C]:Object.assign({},this.state[C],{links:A})})}replaceNavItem(P,C){return C.map(A=>{const S=A.collectionId===P.id?this.composeNavItem(A,P):A;return{...S,children:S.children&&S.children.length?this.replaceNavItem(P,A.children):S.children}})}formatItemData(P,C){if(C.externalLink)return C;const A=i.default.getState().get(C.collectionId),S=A?{...A.toJS(),collectionType:A.get("collectionType")||A.get("type")}:this.findNavItem(C.collectionId).navItem;return C.items&&C.items.forEach(T=>this.formatItemData(P,T)),this.composeNavItem(C,S)}composeNavItem(P){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const A=u()(C,g);return{...P.items?{...d()(P,["items","memberAreaNavigationInfo"]),children:P.items}:P,...A}}findNavItem(P){for(const C in this.state){const A=this.findNavItemInWidget(C,P);if(A)return{widgetName:C,navItem:A}}return{}}findNavItemInWidget(P,C){let A=this.state[P].links.slice();for(;A.length;){const S=A.pop();if(S.collectionId===C)return S;S.children&&(A=A.concat(S.children))}}onRemoveCollection(P){const C=Object.assign({},this.state);for(const A in C){const S=this.filterChildren(this.state[A].links,P);C[A]=Object.assign({},this.state[A],{links:S})}this.setState(C)}filterChildren(P,C){return P=P.slice(),P.filter(A=>(A.children&&A.children.length&&(A.children=this.filterChildren(A.children,C)),A.memberAreaId?A.memberAreaId!==C:A.collectionId!==C))}getCollectionLink(P){const C=this.getPathToCollection(P);return C[C.length-1]}getPathToCollection(P){const C=this.getState();for(const A in C){let S=_(C[A],"collectionId",P);if(S.length||(S=_(C[A],"memberAreaId",P),S.length))return S}return[]}constructor(){this.state={},this.bindListeners({onSiteLayoutReset:r.Z.loadTemplate,onSiteLayoutUpdate:n.Z.refreshNavData,onCollectionUpdate:o.Z.updateSuccess,onRemoveCollection:o.Z.deleteSuccess,onRefreshSuccess:n.Z.refreshSuccess}),this.exportPublicMethods({getCollectionLink:this.getCollectionLink,getPathToCollection:this.getPathToCollection,getNavigation:this.getNavigation,getNavItemForCollection:this.getNavItemForCollection})}}const y=(0,h.ZP)(p,"SiteNavigationStore")},516614:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(848371),o=e(399080);class n{getHomepageCollectionId(){return this.getState().activeInstallation?this.getState().activeInstallation.homepageCollectionId:this.getState().homepageCollectionId}getStateFromContext(c){const u=c.authenticatedAccountWebsiteSettings;if(this.previewInstallationId=u?u.previewInstallationId:null,this.homepageCollectionId=c.homepageCollectionId,!c.templateInstallation)this.liveInstallationId=null;else{this.liveInstallationId=c.templateInstallation.id,this.templateInstallations[this.liveInstallationId]=c.templateInstallation;const f=c.previewTemplateInstallation;f&&(this.templateInstallations[f.id]=f)}this.updateInstallationReferences()}updateInstallationReferences(){this.liveInstallation=this.getTemplateInstallation(this.liveInstallationId),this.previewInstallation=null,this.previewInstallationId!==this.liveInstallationId&&(this.previewInstallation=this.getTemplateInstallation(this.previewInstallationId)),this.activeInstallation=this.previewInstallation||this.liveInstallation}getTemplateInstallation(c){return!c||!this.templateInstallations[c]?null:this.templateInstallations[c]}handleHomepageCollectionIdSet(c){c.error||(this.homepageCollectionId=c.homepageCollectionId,this.activeInstallation&&(this.activeInstallation.homepageCollectionId=c.homepageCollectionId))}handlePreviewSet(c){this.previewInstallationId=c,this.updateInstallationReferences()}handleTemplateSet(c){this.liveInstallationId=c,this.previewInstallationId=null,this.updateInstallationReferences()}handleSevenOneMigrationSetAsLive(){this.handleTemplateSet(this.previewInstallationId)}handleLoadSuccess(c){const u={};c.forEach(function(f){this[f.id]=f},u),this.maintainMissingInstallation(u,this.liveInstallationId),this.maintainMissingInstallation(u,this.previewInstallationId),this.templateInstallations=u,this.updateInstallationReferences()}maintainMissingInstallation(c,u){u&&!c[u]&&(c[u]=this.templateInstallations[u])}handleLoadFailure(){console.error("Unable to load installations")}constructor(){this.templateInstallations={},this.bindListeners({handleLoadSuccess:o.Z.LOAD_SUCCESS,handleLoadFailure:o.Z.LOAD_FAILURE,handlePreviewSet:o.Z.SET_PREVIEW_INSTALLATION,handleTemplateSet:o.Z.SET_LIVE_INSTALLATION,handleHomepageCollectionIdSet:o.Z.SET_HOMEPAGE_COLLECTION_ID,handleSevenOneMigrationSetAsLive:o.Z.SEVEN_ONE_MIGRATION_SET_AS_LIVE}),this.exportPublicMethods({getHomepageCollectionId:this.getHomepageCollectionId})}}const a=(0,r.ZP)(n,"TemplateInstallationsStore")},681328:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>I});var r=e(419467),o=e(274414),n=e.n(o),a=e(530149),i=e.n(a),c=e(521237),u=e.n(c),f=e(104002),d=e(848371),h=e(663639),g=e(652838),_=e(714487);const p={page:{collectionType:i().COLLECTION_TYPE_PAGE,typeName:"page",title:(0,_.t)("Page",null,{project:"apps.App"}),newTitle:(0,_.t)("New Page",null,{project:"apps.App"}),ordering:n().CUSTOM,icon:"page",addText:(0,_.t)("Add Block",null,{project:"apps.App"})},"gallery-block":{collectionType:i().GALLERY_BLOCK,typeName:"gallery-block",title:(0,_.t)("Gallery Block",null,{project:"apps.App"}),newTitle:(0,_.t)("New Gallery Block",null,{project:"apps.App"}),ordering:n().USER,acceptTypes:["image","video"]},products:{collectionType:i().PRODUCTS,typeName:"products",title:(0,_.t)("Store",null,{project:"apps.App"}),newTitle:(0,_.t)("Store",null,{project:"apps.App"}),pageSize:20,ordering:n().USER,acceptTypes:["store_item"],view:g.Z.PRODUCT_TABLE,icon:"products",addText:(0,_.t)("Add Product",null,{project:"apps.App"})},"template-page":{collectionType:i().TEMPLATE_PAGE,title:(0,_.t)("Template Page",null,{project:"apps.App"}),newTitle:(0,_.t)("New Template Page",null,{project:"apps.App"}),icon:"projects"},"splash-page":{collectionType:i().SPLASH_PAGE,typeName:"splash-page",title:(0,_.t)("Cover Page",null,{project:"apps.App"}),newTitle:(0,_.t)("New Cover Page",null,{project:"apps.App"}),ordering:n().CUSTOM,icon:"splash-page"},subscription:{collectionType:i().COLLECTION_TYPE_SUBSCRIPTION,typeName:"subscription",title:(0,_.t)("Subscription",null,{project:"apps.App"}),newTitle:(0,_.t)("New Subscription",null,{project:"apps.App"}),ordering:n().CHRONOLOGICAL}},y={collectionType:i().COLLECTION_TYPE_GENERIC,supported:!0,supportsVideoBackgrounds:!1},O={icon:"template-page",collectionType:i().TEMPLATE_PAGE,supported:!0,folder:!1,supportsVideoBackgrounds:!1},P={icon:"dropdown",newTitle:(0,_.t)("New Dropdown",null,{project:"apps.App"}),title:(0,_.t)("Dropdown",null,{project:"apps.App"})};var C=e(176742);function A(L){const W=["subscription","gallery-block","template-page"];return Object.keys(L).filter(F=>L[F].folder?!1:W.indexOf(F)===-1).concat(["link"])}function S(L){return(0,r.mapValues)(L,W=>Object.assign({},O,W))}function T(L){L.products&&(L.products=Object.assign({},p.products,L.products),L.products.acceptTypes&&L.products.acceptTypes.length===0&&(L.products.acceptTypes=p.products.acceptTypes),L.products.ordering=n().USER),L.page&&(L.page=Object.assign({},p.page,L.page)),L.folders&&(L.folders=Object.assign({},L.folders,P)),L.folder&&(L.folder=Object.assign({},L.folder,P));let W=Object.assign({},p,L);W=(0,r.mapValues)(W,G=>{const k=Object.assign({},y,G);return k.variation===!0?k.folderBehavior=u().VARIATION:k.index===!0?k.folderBehavior=u().INDEX:k.folder===!0&&(k.folderBehavior=u().NONE),k.acceptTypes&&k.acceptTypes.length===1&&k.acceptTypes.includes("portfolio_item")&&(k.collectionType=i().PORTFOLIO),k.acceptTypes&&k.acceptTypes.length===1&&k.acceptTypes.includes("project_item")&&(k.collectionType=i().PROJECT),k.acceptTypes&&k.acceptTypes.length===1&&k.acceptTypes.includes("lesson")&&(k.collectionType=i().LESSONS),k.acceptTypes&&k.acceptTypes.length===1&&k.acceptTypes.includes("course")&&(k.collectionType=i().COURSE),k});const F=W.folders||W.folder;return F&&(F.acceptTypes=A(W)),W}function s(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).reduce((W,F)=>(W[F.name]=F,W),{})}function v(L){return L||{}}function m(L){if(L)return{id:L.id,name:L.name,updatedOn:L.updatedOn,ownerWebsiteId:L.ownerWebsiteId,collectionConfigs:T(L.collectionConfigs),pageConfigs:S(L.pageConfigs),customTypes:s(L.customTypes),layouts:v(L.layouts),navigations:L.navigations}}class E{getCollectionConfig(W){return this.getState().collectionConfigs[W]}getCustomType(W){return this.getState().customTypes[W]}getPageConfig(W){return this.getState().pageConfigs[W]}isTemplateOwner(){const W=this.getState();return W.ownerWebsiteId===W.websiteId}isDemoCollectionId(W){const F=this.getState().demoCollections;return F?!!F.find(G=>G.collectionId===W):!1}getStateFromContext(W){var F,G;return{...m(W.template),demoCollections:W.demoCollections??[],websiteId:(F=W.website)===null||F===void 0?void 0:F.id,installationId:(G=W.templateInstallation)===null||G===void 0?void 0:G.id}}handleLoadTemplate(W){let{template:F,featureFlags:G,...k}=W;if(this.waitFor(f.default.dispatchToken),k.error){this.setState({error:k.response});return}(0,C.i)(F.template.customTypes),this.setState({...m(F.template),error:null,demoCollections:F.demoCollections??[],installationId:F.installation.id,featureFlags:G})}constructor(){this.bindListeners({handleLoadTemplate:h.Z.LOAD_TEMPLATE}),this.exportPublicMethods({isTemplateOwner:this.isTemplateOwner,isDemoCollectionId:this.isDemoCollectionId,getCollectionConfig:this.getCollectionConfig,getCustomType:this.getCustomType,getPageConfig:this.getPageConfig})}}const I=(0,d.ZP)(E,"TemplateStore")},985078:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(848371),o=e(479348),n=e(92286),a=e.n(n),i=e(813563),c=e.n(i);class u{getStateFromContext(h){return h.websiteAchievement}onUpdate(h){this.setState(h)}hasAchievement(h){const g=this.getState();return g.achievements?g.achievements.some(_=>_.type===h):!1}isEligibleForCoupon(){const{achievements:h}=this.getState();return h?c()(h.map(g=>g.type),[a().PURCHASED_DOMAIN,a().PURCHASED_SITE]).length===0:!0}constructor(){this.bindActions(o.Z),this.exportPublicMethods({hasAchievement:this.hasAchievement,isEligibleForCoupon:this.isEligibleForCoupon})}}const f=(0,r.ZP)(u,"WebsiteAchievementStore")},286465:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(941834),o=e.n(r),n=e(791760),a=e.n(n),i=e(845193),c=e.n(i),u=e(41798),f=e.n(u),d=e(848371);function h(p){return a()(p,c())}class g{getStateFromContext(y){let{websiteRoles:O}=y;if(O){const P=Object.keys(O).map(C=>parseInt(C,10));if(h(P))return(0,r.Set)(P)}console.warn("[WebsiteRoleStore] Invalid list of website roles.")}hasRole(y){return this.getState().includes(y)}constructor(){this.state=(0,r.Set)(),this.exportPublicMethods({hasRole:this.hasRole})}}const _=(0,d.ZP)(f()(g),"WebsiteRoleStore")},829499:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>s});var r=e(41798),o=e.n(r),n=e(848371),a=e(830510),i=e(82856),c=e(941834),u=e.n(c),f=e(322470),d=e.n(f);function h(v){const{notFoundPageId:m,tutorialsCompleted:E,menuShortcuts:I}=v,L=Object.assign({},v);return E&&(L.tutorialsCompleted=(0,c.Set)(Object.keys(E))),I&&(L.menuShortcuts=(0,c.Set)(Object.keys(I).map(W=>parseInt(W,10)))),m==="system-default"&&(L.notFoundPageId=null),L}const g={allowSquarespacePromotion:!0,amazonAssociateTag:void 0,announcementBarSettings:(0,c.Map)(),assetPurchasesByNonAdminsAllowed:!0,businessHours:(0,c.Map)(),canAddAcuityBlock:!1,collectionTitleFormat:void 0,commentAnonAllowed:void 0,commentApprovalRequired:void 0,commentAvatarsOn:void 0,commentDisableAfterDaysDefault:0,commentEnableByDefault:void 0,commentFlagsAllowed:void 0,commentFlagThreshold:0,commentLikesAllowed:void 0,commentsEnabled:!0,commentSortType:void 0,commentThreaded:void 0,configurationMenuItems:void 0,contactEmail:void 0,contactPhoneNumber:void 0,contentDescription:(0,c.Map)(),cookieBannerSettings:void 0,cookieBannerText:void 0,country:void 0,defaultPostFormat:void 0,disqusShortname:"",goals:(0,c.Map)(),hideTrialBanner:!1,homepageTitleFormat:void 0,hours:void 0,isChatDismissed:!1,id:void 0,interfaceType:void 0,internalContactPhoneNumber:void 0,internalContactEmail:void 0,internationalOptedInWebsite:!1,isCookieBannerEnabled:!1,isExtendTrialButtonVisible:void 0,isRestrictiveCookiePolicyEnabled:!1,isVisitorDataRestricted:!1,itemTitleFormat:void 0,lastAgreedTermsOfService:void 0,markdownMode:void 0,menuShortcuts:(0,c.Set)(),mobileInfoBarSettings:(0,c.Map)(),multilingualEmailsOptOut:!1,popupOverlaySettings:null,notFoundPageId:null,orgId:void 0,ownedByInternationalMemberAccount:!1,ownerId:void 0,pinterestOverlayOptions:(0,c.Map)(),seoHidden:void 0,simpleLikingEnabled:void 0,socialAccountDisplayOrder:void 0,ssBadgeDevices:void 0,ssBadgePosition:void 0,ssBadgeType:void 0,ssBadgeVisibility:void 0,state:void 0,storeSettings:void 0,subjects:void 0,tutorialsCompleted:(0,c.Set)(),type:void 0,useDeviceView:!0,useEscapeKeyToLogin:!0,websiteId:void 0,memberAreaNavigationSetting:void 0,displayAiContentDisclaimer:!1},_=Object.keys(g);class p extends(0,c.Record)(g){merge(m){const E=m instanceof c.Record?m:d()(h(m),_);return super.merge(E)}serializeToModel(){const m=this.toJS(),{notFoundPageId:E,tutorialsCompleted:I,menuShortcuts:L}=m;E===null&&(m.notFoundPageId="system-default");const W=F=>F.reduce((G,k)=>(G[k]=!0,G),{});return I&&(m.tutorialsCompleted=W(I)),L&&(m.menuShortcuts=W(L)),m}constructor(m={}){super(u().fromJS(h(m)))}}var y=e(554468),O=e(978422),P=e(999794),C=e(516843),A=e(963758);class S{getStateFromContext(m){let{websiteSettings:E}=m;return new p(E)}onUpdate(m){this.setState(this.state.merge(m))}onSaveSuccess(m){this.onUpdate(this.state.merge(new p(m)))}onLoadSuccess(m){this.onUpdate(this.state.merge(new p(m)))}onUpdateStoreCurrencySuccess(m){y.Z.updateStoreCurrency(m);const E=this.state;let I=E.get("storeSettings");I=I.set("selectedCurrency",m),this.setState(E.set("storeSettings",I))}onUpdateMemberNavSettingSuccess(m){const E=this.state;this.setState(E.set("memberAreaNavigationSetting",m))}getMergedWebsiteSettings(m){const E=this.getState();return(0,i.Z)(E,m)}onUpdateRegionalSaveSuccess(m){const{country:E,internationalOptedInWebsite:I,multilingualEmailsOptOut:L,state:W,storeSettings:{measurementStandard:F}}=m,G=this.state.set("country",E).set("state",W).set("internationalOptedInWebsite",I).set("multilingualEmailsOptOut",L).setIn(["storeSettings","measurementStandard"],F);this.setState(G)}onUpdateCookieSettingsSaveSuccess(m){const{cookieBannerText:E,cookieBannerSettings:I,isCookieBannerEnabled:L,isRestrictiveCookiePolicyEnabled:W,isVisitorDataRestricted:F}=m,G=this.state.set("cookieBannerText",E).set("cookieBannerSettings",I).set("isCookieBannerEnabled",L).set("isRestrictiveCookiePolicyEnabled",W).set("isVisitorDataRestricted",F);this.setState(G)}constructor(){this.state=new p,this.bindActions(a.Z),this.bindListeners({onUpdateStoreCurrencySuccess:O.Z.updateStoreCurrencySuccess,onUpdateMemberNavSettingSuccess:P.Z.updateMemberNavSettingSuccess,onUpdateRegionalSaveSuccess:C.Z.updateRegionalSaveSuccess,onUpdateCookieSettingsSaveSuccess:A.Z.updateCookieSettingsSaveSuccess}),this.exportPublicMethods({getMergedWebsiteSettings:this.getMergedWebsiteSettings})}}const s=(0,n.ZP)(o()(S,{getState:v=>v.toJS()}),"WebsiteSettingsStore")},35045:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>A});var r=e(41798),o=e.n(r),n=e(848371),a=e(53678),i=e(941834),c=e.n(i),u=e(322470),f=e.n(u);function d(S,T){return S?{[`${T}Id`]:S.get?S.get("id"):S.id,[`${T}Url`]:S.get?S.get("assetUrl"):S.assetUrl}:{[`${T}Id`]:null,[`${T}Url`]:null}}const h=S=>parseInt(S,10),g={logoImage(S){return d(S,"logoImage")},mobileLogoImage(S){return d(S,"mobileLogoImage")},socialLogoImage(S){return d(S,"socialLogoImage")},faviconItem(S){return d(S,"faviconItem")},shareButtonOptions(S){return{shareButtonOptions:(0,i.Set)(Object.keys(S).map(h))}}};function _(){let S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(S).reduce((T,s)=>{const v=g[s];if(v){const m=v&&v(S[s]);Object.assign(T,m)}else T[s]=S[s];return T},{})}const p={authenticUrl:void 0,baseUrl:void 0,canUseCommerce:void 0,canUseDeveloperSDK:void 0,clientId:void 0,cloneable:void 0,commentCount:void 0,commentLikeCount:void 0,contentModifiedOn:void 0,contributorLimit:void 0,createdOn:void 0,darkModeFaviconItemId:void 0,destroyed:void 0,developerMode:!1,facebookPixelId:void 0,faviconItemId:void 0,flaggedCommentCount:void 0,googleAnalyticsId:void 0,captchaSettings:(0,i.Map)(),hasBeenCloneable:void 0,hasPassword:void 0,id:void 0,identifier:void 0,initialized:void 0,language:void 0,linkedAccountId:void 0,linkedAccountIdentifier:void 0,location:(0,i.Map)(),logoImageId:void 0,imageMetadataProcessingEnabled:!1,machineTimeZoneOffset:void 0,metaDescription:void 0,mobileLogoImageId:void 0,mobilePortfolioEnabled:void 0,objectLikeCount:void 0,pageLimit:void 0,password:void 0,primaryDomain:void 0,productLimit:void 0,protectionType:void 0,revalidateBefore:void 0,shareButtonOptions:(0,i.Set)(),showOwnerLogin:!1,siteDescription:(0,i.Map)({html:""}),siteStatus:void 0,siteTagLine:void 0,siteTitle:void 0,socialLogoImageId:null,sslSetting:void 0,isHstsEnabled:void 0,statsMigrated:!1,storageLimit:void 0,templateId:void 0,timeZone:void 0,timeZoneAbbr:void 0,timeZoneOffset:void 0,typekitId:void 0,unmoderatedCommentCount:void 0,websiteType:void 0},y=Object.keys(p);class O extends(0,i.Record)(p){merge(T){const s=T instanceof i.Record?T:f()(_(T),y);return super.merge(s)}constructor(T={}){super(c().fromJS(_(T)))}}var P=e(516843);class C{getStateFromContext(T){let{website:s}=T;return this.state.merge(s)}onUpdate(T){const s=this.state.merge(T);this.setState(s)}save(T){const s=this.getState().merge(T).toJS();return a.Z.save(s)}onUpdateRegionalSaveSuccess(T){const{language:s,timeZone:v,machineTimeZoneOffset:m,timeZoneAbbr:E,timeZoneOffset:I}=T,L=this.state.set("language",s).set("timeZone",v).set("machineTimeZoneOffset",m).set("timeZoneAbbr",E).set("timeZoneOffset",I);this.setState(L)}constructor(){this.state=new O,this.bindActions(a.Z),this.bindListeners({onUpdateRegionalSaveSuccess:P.Z.updateRegionalSaveSuccess}),this.exportPublicMethods({save:this.save})}}const A=window.WebsiteStore=(0,n.ZP)(o()(C),"WebsiteStore")},520616:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560),o=e(839241);class n{onLoad(){this.isLoading=!0}onLoadSuccess(c){this.isLoading=!1,this.hasBeenLoaded=!0,this.acceptedCurrencies=c}onLoadFail(){this.isLoading=!0}onReload(){o.Z.load.defer()}getAcceptedCurrencies(){return this.getState().hasBeenLoaded?Promise.resolve(this.getState().acceptedCurrencies):o.Z.load()}constructor(){this.isLoading=!1,this.hasBeenLoaded=!1,this.acceptedCurrencies=[],this.bindActions(o.Z),this.exportPublicMethods({getAcceptedCurrencies:this.getAcceptedCurrencies})}}const a=r.Z.createStore(n,"AcceptedCurrenciesStore")},312039:function(b,l,e){"use strict";e.d(l,{ZP:()=>T});var r=e(347560),o=e(142477),n=e(545334),a=e.n(n),i=e(276406),c=e.n(i),u=e(37943),f=e.n(u),d=e(921533),h=e.n(d),g=e(183668),_=e(238120);const p=(s,v)=>a().duration(v.billingPeriod).asMilliseconds()-a().duration(s.billingPeriod).asMilliseconds(),y=(s,v)=>{const m={};s.forEach(L=>{const{productLine:W,planDisplayName:F,displayName:G,billingPeriod:k,websitePlanGenus:x,rank:M,planLine:B}=L,R=L.featureLevel||L.products[0].featureLevel;R in m||(m[R]={name:G||F,featureLevel:R,productLine:W,websitePlanGenus:x,plans:[],rank:M,planLine:B}),m[R][k]=L,m[R].plans.push(L)});const E=Object.values(m);E.forEach(L=>L.plans.sort(p));const I=(L,W)=>L.rank-W.rank;return E.sort(I)},O=s=>{const v={};return s.forEach(m=>{var E,I,L,W;const F={annualSavingsPercent:m.annualSavingsPercent,annualSavingsAmount:parseFloat((E=m.annualSavingsAmount)===null||E===void 0?void 0:E.value)||null,yearlyTotalFromMonthlyPrice:parseFloat((I=m.yearlyTotalFromMonthlyPrice)===null||I===void 0?void 0:I.value)||null,billingPeriod:m.billingPeriod,bundlePromotionOffers:[],formattedPrice:m.formattedPrice,formattedPricePerMonth:m.formattedPricePerMonth,formattedDiscountedPrice:m.formattedDiscountedPrice,formattedDiscountedPricePerMonth:m.formattedDiscountedPricePerMonth,planId:m.id,legacyPlanId:m.legacyPlanId,name:m.name,periodDisplayName:m.periodDisplayName,rank:m.rank,violations:m.violations??[],price:parseFloat((L=m.price)===null||L===void 0?void 0:L.value)||null},G={currency:(W=m.price)===null||W===void 0?void 0:W.currencyCode,displayName:m.displayName,offeringId:m.offeringId,planLine:m.planLine,planTierId:m.planTierId,planTierName:m.planTierName,planType:m.planType,products:m.products,rateSheet:m.rateSheet,sellerId:m.sellerId,subOfferingId:m.subOfferingId},k=m.billingPeriod===g.tv.ANNUALLY?{formattedStartingPricePerMonth:m.formattedPricePerMonth,formattedStartingDiscountedPricePerMonth:m.formattedDiscountedPricePerMonth}:{};if(!(m.rank in v))v[m.rank]={...G,...k,billingOptions:[F]};else{const x=v[m.rank];v[m.rank]={...x,...k,billingOptions:[...x.billingOptions,F]}}}),Object.keys(v).sort((m,E)=>m-E).map(m=>v[m])},P=s=>s.reduce((v,m)=>(v[m.id]=m,v),{}),C={[f().WEBSITE_CLASSIC]:h().CLASSIC,[f().WEBSITE_COMMERCE]:h().COMMERCE,[f().WEBSITE_COVER_PAGE]:h().COVER_PAGE},A=function(s){let{planLines:v}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m=s;return v!=null&&v.length&&(m=m.filter(E=>v.some(I=>C[E.planLine]===I||E.planLine===I))),m};class S{onLoadStart(){this.isLoading=!0}onLoadSuccess(v){let{plans:m,billingProductType:E,filterBy:I}=v;var L;this.isLoading=!1,this.byPlanId=P(m),this.productType=E;const W=I?A(m,I):m;this.currency=(L=W[0])===null||L===void 0?void 0:L.price.currencyCode,E===c().SQUARESPACE?this.bundledPlans=W:(E===c().WEBSITE&&(0,_.$R)()&&(this.availablePlansFormattedForUPS=O(W)),this.products=y(W,E))}onLoadFail(){this.isLoading=!1}onReset(){this.isLoading=!1,this.productType=null,this.products=null,this.currency=null,this.byPlanId=null,this.bundledPlans=null,this.availablePlansFormattedForUPS=null}static getPlanById(v){return this.getState().byPlanId[v]}constructor(){this.isLoading=!1,this.productType=null,this.products=null,this.currency=null,this.byPlanId=null,this.availablePlansFormattedForUPS=null,this.bindActions(o.Z)}}const T=r.Z.createStore(S,"AvailablePlansStore")},28589:function(b,l,e){"use strict";e.d(l,{ZP:()=>O});var r=e(276406),o=e.n(r),n=e(55449),a=e.n(n),i=e(696049),c=e(199598),u=e.n(c),f=e(23006),d=e(347560),h=e(745747);const g={amount:null,loaded:!1,planName:null,refundAmount:null,subscriptionId:null},_={...Object.values(o()).reduce((P,C)=>({...P,[C]:!1}),{})},p={...Object.values(o()).reduce((P,C)=>({...P,[C]:!0}),{})};class y extends h.Z{onLoading(){this.setState({loading:!0})}onCancel(){this.setState({isCancelling:!0,hasCancelFailed:!1,hasCompletedCancel:!1})}onCancelFailure(){this.setState({isCancelling:!1,hasCancelFailed:!0,hasCompletedCancel:!1,loading:!1})}onCancelSuccess(){this.setState({isCancelling:!1,hasCancelFailed:!1,hasCompletedCancel:!0,loading:!1})}onUnschedulePlanChangeFailure(){this.setState({hasUnschedulePlanChangeError:!0,loading:!1})}onUnschedulePlanChangeSuccess(){this.setState({hasUnschedulePlanChangeError:!1,loading:!1})}onDismissUnschedulePlanChangeErrorMessage(){this.setState({hasUnschedulePlanChangeError:!1})}onNewContracts(C){let{contracts:A,planType:S}=C,T;S?T={...this.state.contracts,[S]:A}:T=this.mapByPlanType(A),this.setState({contracts:T,hasFetchError:!1,loaded:S?{...this.state.loaded,[S]:!0}:p,loading:!1})}onNewContract(C){this.setState({loading:!1,contracts:{...this.state.contracts,[C.plan.planType]:[C]}})}onLoadFailure(){this.setState({hasFetchError:!0,loaded:p,loading:!1})}onLoadingCancellationPreview(C){this.setState({cancellationPreview:{...this.state.cancellationPreview,subscriptionId:C}})}onLoadCancellationPreviewFail(){this.setState({cancellationPreview:{...this.state.cancellationPreview,loaded:!1}})}onLoadCancellationPreviewSuccess(C){var A;const{plan:S}=C.contract,T=((A=C.invoice)===null||A===void 0?void 0:A.total.negate())||new i.default(0,S.price.currencyCode);this.setState({cancellationPreview:{...this.state.cancellationPreview,amount:T.toFloat(),loaded:!0,planName:S.displayName,refundAmount:T}})}onCancellationPreviewReset(){this.setState({cancellationPreview:{...g}})}mapByPlanType(C){if(!C)throw new TypeError("Contracts are required to sort by plan type.");return C.reduce((A,S)=>{const T=S.plan.planType;return Array.isArray(A[T])?{...A,[T]:[...A[T],S]}:{...A,[T]:[S]}},{})}getFirstOfPlanType(C){var A;const{contracts:S}=this.getState();return((A=S[C])===null||A===void 0?void 0:A[0])||null}getAllContractsByPlanType(C){var A;const{contracts:S}=this.getState();return!((A=S[C])===null||A===void 0)&&A[0]?S[C]:null}getByPlanTypeAndContractId(C,A){var S;const{contracts:T}=this.getState();return((S=T[C])===null||S===void 0?void 0:S.find(s=>s.id===A))||null}getOrLoadAllContractsByPlanType(C){return new Promise(async A=>{const S=this.getAllContractsByPlanType(C);S?A(S):(await f.Z.loadByPlanType.defer(C),A(this.getAllContractsByPlanType(C)))})}getOrLoadByPlanType(C){const{contracts:A}=this.getState();return new Promise(async S=>{if(A[C]){const s=A[C][0]||null;S(s)}else{var T;await f.Z.loadByPlanType.defer(C);const{contracts:s}=this.getState(),v=((T=s[C])===null||T===void 0?void 0:T[0])||null;S(v)}})}getByPlanType(C){return this.getFirstOfPlanType(C)}getByPlanTypeAndState(C,A){var S;const{contracts:T}=this.getState();return((S=T[C])===null||S===void 0?void 0:S.find(s=>s.state===A))||null}getActivePlanOfType(C){return this.getByPlanTypeAndState(C,u().ACTIVE)}getAllActivePlanOfType(C){var A;const{contracts:S}=this.getState();return((A=S[C])===null||A===void 0?void 0:A.filter(T=>T.state===u().ACTIVE))||null}getIsPriceRefreshScheduled(C){var A,S;const T=this.getFirstOfPlanType(C);return(T==null||(S=T.renewalDetails)===null||S===void 0||(A=S.changeDetails)===null||A===void 0?void 0:A.updateReason)===a().PRICE_REFRESH}getContracts(){return Object.values(this.getState().contracts).filter(C=>C.length).map(C=>C[0])}constructor(){super(),this.state={cancellationPreview:{...g},contracts:{},hasFetchError:!1,loaded:_,loading:!1,isCancelling:!1,hasCancelFailed:!1,hasCompletedCancel:!1,hasUnschedulePlanChangeError:!1},this.exportPublicMethods({getOrLoadByPlanType:this.getOrLoadByPlanType,getAllContractsByPlanType:this.getAllContractsByPlanType,getOrLoadAllContractsByPlanType:this.getOrLoadAllContractsByPlanType,getByPlanType:this.getByPlanType,getActivePlanOfType:this.getActivePlanOfType,getByPlanTypeAndState:this.getByPlanTypeAndState,getFirstOfPlanType:this.getFirstOfPlanType,getIsPriceRefreshScheduled:this.getIsPriceRefreshScheduled,getContracts:this.getContracts,getByPlanTypeAndContractId:this.getByPlanTypeAndContractId,getAllActivePlanOfType:this.getAllActivePlanOfType}),this.bindActions(f.Z)}}const O=d.Z.createStore(y,"ContractsStore")},571009:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560),o=e(829566);class n{onLoad(){this.isLoading=!0}onLoadSuccess(c){this.isLoading=!1,this.violations=c}onLoadMultipleSuccess(c){this.isLoading=!1,this.violations=this.violations.concat(c)}onLoadFail(){this.isLoading=!1}onReset(){this.violations=[]}constructor(){this.isLoading=!1,this.violations=[],this.bindActions(o.Z)}}const a=r.Z.createStore(n,"PlanChangeViolationsStore")},831131:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(848371),o=e(745747),n=e(688948),a=e(627196);class i extends o.Z{getStateFromContext(f){let{productStatuses:d}=f;return{productStatuses:(0,a.Z)(d)}}onLoadSuccess(f){this.setState({productStatuses:f})}getFirstStatusForProductType(f){const d=this.getState().productStatuses.get(f);return d==null?void 0:d[0]}constructor(){super(),this.bindActions(n.Z),this.exportPublicMethods({getFirstStatusForProductType:this.getFirstStatusForProductType}),this.state={productStatuses:new Map}}}const c=(0,r.ZP)(i,"ProductStatusStore")},552606:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560),o=e(692964);class n{onLoad(){this.setState({isLoading:!0})}onLoadSuccess(c){this.setState({...c,isLoading:!1,hasLoadError:!1})}onLoadFailure(){this.setState({isLoading:!1,hasLoadError:!0})}constructor(){this.state={isLoading:!1},this.bindActions(o.Z)}}const a=r.Z.createStore(n,"CampaignsUsageStore")},783611:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560),o=e(257341);class n{onReset(){this.loading=!1,this.isEligible=null}onNewEligibility(c){this.loading=!1,this.isEligible=c}onLoad(){this.loading=!0}onLoadFailure(){this.loading=!1}constructor(){this.loading=!1,this.isEligible=null,this.bindActions(o.Z)}}const a=r.Z.createStore(n,"GSuiteDiscountEligibilityStore")},335598:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(58468),o=e(971558),n=e(839403),a=e(115729);function i(f,d,h){return d in f?Object.defineProperty(f,d,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[d]=h,f}class c{saveUploads(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:()=>!0;this.uploads.filter(d).forEach(h=>{let{fieldDescription:g,fieldId:_}=h;const p=o.Z(g,_);p&&n.sP(p.uploadState)&&a.Z(g,_)}),this.clearUploads()}hasUpload(d){return this.uploads.find(g=>g.contentItemId===d)!==void 0}addUpload(d){this.uploads.push(d)}clearUploads(){this.uploads=[]}removeUpload(d){this.uploads=this.uploads.filter(h=>h.contentItemId!==d)}constructor(){i(this,"uploads",[])}}const u=new c},929698:function(b,l,e){"use strict";e.d(l,{CO:()=>g,HF:()=>u,Nn:()=>h,TX:()=>c,n6:()=>d,q5:()=>f});var r=e(175424),o=e(425364),n=e(734526),a=e(84687),i=e(202560);const c=function(_){var p,y,O,P;const C=_&&"getDOMNode"in _?_.getDOMNode():_;if(!C)return null;let A=null;try{A=(0,r.wo)()}catch{A=null}const S=()=>{var s;const v=C.getAttribute("data-block-id");if(!v)return null;const m=`block-${v}`;return(A==null||(s=A.defaultView)===null||s===void 0?void 0:s.parent.document.getElementById(m))||(A==null?void 0:A.getElementById(m))||null},T=C.closest(".sqs-block")||((p=C.closest(".fluid-engine-block"))===null||p===void 0?void 0:p.querySelector(".sqs-block"))||S();return(T==null||(P=T.ownerDocument)===null||P===void 0||(O=P.defaultView)===null||O===void 0||(y=O.Y)===null||y===void 0?void 0:y.Widget.getByNode(T))??null},u=_=>{var p;const y=`block-${_}`,O=(0,r.wo)();return(O==null||(p=O.defaultView)===null||p===void 0?void 0:p.parent.document.getElementById(y))||(O==null?void 0:O.getElementById(y))||null},f=_=>{if(_){const p=u(_);return p?c(p):null}return null},d=_=>{if(_){const p=_.blockEditor;if(p){const y=p.configDialog;p.set("editing",!0),y&&y.set("visible",!0)}}},h=_=>_&&(0,a.Z)(_.target,o.BlockFocusIgnoredSelectors,!0);function g(_){const p=n.Z.BlockTypeKebab[_];if(!p)return"";const y=p.replace(/(?:\-v\d)?$/,function(P,C,A){return P?`-block ${A}-block`:"-block"}),O=(0,i.u)(_);return`${y} ${O}`}},765724:function(b,l,e){"use strict";e.d(l,{N9:()=>h,W9:()=>p,Wl:()=>f,aQ:()=>S,az:()=>A,d1:()=>g,kA:()=>_,lC:()=>d,p8:()=>C});var r=e(221661),o=e.n(r),n=e(998124),a=e(695960),i=e(722448),c=e.n(i);function u(T,s,v){return s in T?Object.defineProperty(T,s,{value:v,enumerable:!0,configurable:!0,writable:!0}):T[s]=v,T}var f=function(T){return T.CMS="cms",T.PAGES="pages",T}({}),d=function(T){return T.PAGE_CATALOG="page-catalog",T.PAGE_EDITOR="page-editor",T.SECTION_CATALOG="section-catalog",T}({}),h=function(T){return T.SECTION_EDITOR="section-editor",T.SECTION_OVERLAY="section-overlay",T.SITE_LIBRARY="site-library",T.ACCOUNT_LIBRARY="account-library",T.TEAM_LIBRARY="team-library",T}({}),g=function(T){return T.MOBILE="mobile",T.DESKTOP="desktop",T}({}),_=function(T){return T.ADD="add",T.CLICK="click",T.CREATE="create",T.SAVE="save",T.INPUT="input",T.OPEN="open",T.TOGGLE="toggle",T.REORDER="reorder",T.SELECT="select",T.VIEW="view",T}({}),p=function(T){return T.BUTTON="button",T.CATALOG="catalog",T.COLLECTION="collection",T.LAYOUT="layout",T.MENU_ITEM="menuitem",T.TEXT="text",T.INPUT="input",T.PANEL="panel",T.BLOCK="block",T.SECTION="section",T}({});const y=T=>!!T.blockCombination!==void 0,O="SquarespaceAdminEvents";class P{setTrackingValues(s){this.defaultConfig.context_website_id=s.websiteId,this.defaultConfig.member_account_id=s.accountId,this.defaultConfig.member_account_locale=s.accountLocale,this.defaultConfig.product_area=s.productArea,this.defaultConfig.product_section=s.productSection,this.defaultConfig.selected_template_id=s.selectedTemplateId,this.defaultConfig.selected_template_identifier=s.selectedTemplateIdentifier,this.defaultConfig.user_member_account_id=s.accountId,this.defaultConfig.user_website_id=s.websiteId,this.defaultConfig.website_locale=s.websiteLocale,this.defaultConfig.display_mode=s.displayMode,this.defaultConfig.device_orientation=s.deviceOrientation,this.defaultConfig.is_squarespace_app=s.isSquarespaceApp,this.defaultConfig.collection_id=s.collectionId,this.defaultConfig.collection_type=s.collectionType,this.defaultConfig.editor_type=s.editorType,this.defaultConfig.section_id=s.sectionId,y(s)&&(this.defaultConfig.block_combination=s.blockCombination,this.defaultConfig.num_available_layouts=s.numAvailableLayouts,this.defaultConfig.num_rows=s.numRows,this.defaultConfig.num_blocks=s.numBlocks,this.defaultConfig.entrypoint=s.entryPoint)}resetLayoutSwitchPayload(){delete this.defaultConfig.block_combination,delete this.defaultConfig.num_available_layouts,delete this.defaultConfig.num_blocks,delete this.defaultConfig.num_rows,delete this.defaultConfig.entrypoint}track(s){if(!this.tracker){console.warn("Event is firing before the environment is initialized!");return}this.tracker.track(s),this.bc&&this.bc.postMessage({squarespaceEventPayload:s})}constructor({customSchemaName:s,eventOwnerTeam:v}){var m,E;u(this,"bc",void 0),u(this,"customSchemaName",void 0),u(this,"tracker",void 0),u(this,"defaultConfig",void 0),this.customSchemaName=s;const I={event_owner_team:"core-cms",event_source:"web",actor:"user"},L=(E=window)===null||E===void 0||(m=E.Static)===null||m===void 0?void 0:m.SQUARESPACE_CONTEXT,W={event_owner_team:v,event_source:"web"};if(L){var F,G;if(Object.assign(W,{user_member_account_id:L==null||(F=L.authenticatedAccount)===null||F===void 0?void 0:F.id,user_website_id:L==null||(G=L.website)===null||G===void 0?void 0:G.id}),window.BroadcastChannel){const B=L==null?void 0:L.accessPermissions;B&&B.includes(c().ADMIN)&&(this.bc=new BroadcastChannel(O))}}const k=!1,x=k?r.SourceEnvironment.DEV:(0,n.isInternal)()?r.SourceEnvironment.STAGING:r.SourceEnvironment.PROD,M={customSchemaName:s,logging:k,sourceEnvironment:x};this.defaultConfig={...I},this.tracker=new(o())(M,this.defaultConfig)}}const C=new P({customSchemaName:"CMSPageSections",eventOwnerTeam:"website-editor"}),A=()=>{C.resetLayoutSwitchPayload()},S=T=>{if(!T)return console.warn("CMSPageSections tracking payload is not set");C.setTrackingValues(T),(T==null?void 0:T.editorType)===a.Z.LAYOUT_ENGINE&&A()}},277945:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(131626),o=e.n(r),n=e(445208),a=e.n(n),i=e(456903),c=e(273703);const u={headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}},f={headers:{"Content-Type":"application/json; charset=UTF-8"}},h={generateUrl(g){if(g.id){const _=(0,c.Z)(g.typeName+"-"+g.title),p=(0,c.Z)(g.title),y=p.length<3?_:p;return i.default.post(`/api/content-collections/${g.id}/generate-url`,{title:g.title,urlId:y})}},create(g){const{memberAreaIds:_,...p}=g;switch(p.pagePermissionType){case a().NONE:p.passwordProtected===!1&&(p.password="");break}return i.default.post("/api/commondata/SaveCollectionSettings",{collectionData:{...p,metadata:JSON.stringify(p.metadata)},memberAreaData:{memberAreaIds:_}},f)},read(g){return i.default.get("/api/commondata/GetCollection",{params:{collectionId:g}})},readCollectionSettings(g){return i.default.get("/api/commondata/GetCollectionSettings",{params:{collectionId:g}})},readAll(){return i.default.get("/api/commondata/GetCollections")},delete(g){return i.default.post("/api/commondata/RemoveCollection",o().stringify({collectionId:g},{arrayFormat:"repeat"}))},deleteCollections(g){return i.default.post("/api/commondata/RemoveCollections",g)},deleteUnusedPageCollectionPermanently(g){return i.default.post("/api/commondata/unused-start-page-collection",o().stringify({collectionId:g},{arrayFormat:"repeat"}))},clone(g){return i.default.post("/api/commondata/CopyCollection",o().stringify({collectionId:g},{arrayFormat:"repeat"}))},cloneDemoWithItem(g,_){return i.default.post("/api/commondata/CopyDemoCollectionWithItem",o().stringify({collectionId:g,itemId:_},{arrayFormat:"repeat"}))},copy(g){return i.default.post("/api/content/copy/collection",{},{headers:{"Content-Type":"application/json"},params:{sourceId:g}})},copyWithReplacements(g,_,p){return i.default.post("/api/content/copy/collection/component-replacements",o().stringify(p,{arrayFormat:"repeat"}),{params:{sourceCollectionId:g,sourceWebsiteId:_}})},getCategories(g){return i.default.get("/api/commondata/GetCollectionCategories",{params:{collectionId:g}})},createCategory(g,_){return i.default.post("/api/commondata/AddCategory",o().stringify({collectionId:g,category:_},{arrayFormat:"repeat"}))},mergeCategories(g,_,p){return i.default.post("/api/commondata/MergeCategories",o().stringify({collectionId:g,oldcategory:_,newcategory:p},{arrayFormat:"repeat"}),u)},deleteCategory(g,_){return i.default.post("/api/commondata/RemoveCategory",o().stringify({collectionId:g,category:_},{arrayFormat:"repeat"}),u)},getTags(g){return i.default.get("/api/commondata/GetCollectionTags",{params:{collectionId:g}})},mergeTags(g,_,p){return i.default.post("/api/commondata/MergeTags",o().stringify({collectionId:g,oldtag:_,newtag:p},{arrayFormat:"repeat"}),u)},deleteTag(g,_){return i.default.post("/api/commondata/RemoveTag",o().stringify({collectionId:g,tag:_},{arrayFormat:"repeat"}),u)}}},791229:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(131626),o=e.n(r),n=e(456903),a=e(699027),i=e(759352);const u=p=>{const y={};return Object.keys(p).map(O=>{const P=p[O];typeof P=="object"?y[O]=JSON.stringify(P):P!==void 0&&(y[O]=P)}),y};var f=e(334001),d=e(190188);function h(p){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";return(0,a.lr)({...y,action:p}).replace("{id}",O)}const _={async read(p){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,O=arguments.length>2?arguments[2]:void 0;return await f.Z.setup(),y?n.default.get(`/api/rest/global-content-items/${p}`):n.default.get(h(d.Z.GET,O,p))},async readForCollection(p,y){await f.Z.setup();const O=(0,a.Tg)(y).replace("{collectionId}",p);return n.default.get(O)},update(p,y){return delete p.author,delete p.pendingPushedServices,delete p.pushedServices,delete p.jobId,n.default.put(h(d.Z.PUT,y,p.id),p)},updateForCollection(p,y){return delete p.author,delete p.pendingPushedServices,delete p.pushedServices,delete p.jobId,n.default.put(h(d.Z.PUT,y,p.id),p)},create(p,y,O){return n.default.post(h(d.Z.POST,O),p,y)},createForCollection(p,y,O){return n.default.post(h(d.Z.POST,O),p,y)},createAssetReference(p,y){const O={headers:{"Content-Type":"application/x-www-form-urlencoded"}};return n.default.post(p,(0,i.Mq)(y),O)},updateField(p){return n.default.post("/api/commondata/SaveItemField",o().stringify(u(p)))},delete(p,y){return n.default.delete(h(d.Z.DELETE,y,p))},deleteMany(p){const y=o().stringify({items:p},{indices:!1});return n.default.post("/api/commondata/RemoveItems",y,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},reorderItems(p,y,O){const P={collectionId:p,afterId:O,...y.length===1?{itemId:y[0]}:{itemIds:y}};return n.default.post("/api/commondata/ReorderItems",(0,i.Mq)(P),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},copy(p,y,O){const P={sourceId:p,copyWorkflowState:y};return typeof O<"u"&&Object.assign(P,{moveCollection:!0,collectionId:O}),n.default.post("/api/content/copy/item",{},{headers:{"Content-Type":"application/json"},params:P})},copyFromCatalog(p,y,O){const P={toCollectionId:p,sourceWebsiteId:y,sourceItemId:O};return n.default.post("/api/content/copy/item/from-catalog",{},{headers:{"Content-Type":"application/json"},params:P})},deleteEmbeddedAsset(p){return n.default.delete((0,a.GQ)().replace("{id}",p),{params:{itemId:p}})},moveItems(p,y){return n.default.post("/api/commondata/MoveItems",o().stringify({toCollectionId:p,items:y},{indices:!1}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}}},175469:function(b,l,e){"use strict";e.d(l,{Z:()=>f,m:()=>u});var r=e(456903),o=e(131626),n=e.n(o);const a="/api/permissions/invites",i="/api/permissions/contributors",c="/api/basic-authors";var u=function(d){return d.Scheduling="scheduling",d}({});const f={createInvite(d){return r.default.post(a,d)},getInvites(){return r.default.get(a)},getInvite(d){return r.default.get(a+"/"+d)},updateInvite(d,h){return r.default.put(a+"/"+d,h)},deleteInvite(d){return r.default.delete(a+"/"+d)},getContributors(){return r.default.get(i)},getContributor(d){return r.default.get(i+"/"+d)},updateContributor(d,h){return r.default.put(i+"/"+d,h)},deleteContributor(d){return r.default.delete(i+"/"+d)},createBasicAuthor(d){return r.default.post(c,d)},updateBasicAuthor(d,h){return r.default.put(c+"/"+d,h)},replaceBasicAuthor(d,h){const g=n().stringify({replacementId:h},{arrayFormat:"repeat"}),_={headers:{"Content-Type":"application/x-www-form-urlencoded"}};return r.default.post([c,d,"replace-author"].join("/"),g,_)},deleteBasicAuthor(d){return r.default.delete(c+"/"+d)},transferOwner(d){const h=n().stringify({ownerId:d},{arrayFormat:"repeat"}),g={headers:{"Content-Type":"application/x-www-form-urlencoded"}};return r.default.put("/api/settings/owner",h,g)}}},516275:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(456903);const o={updateMemberAreaNavigationSetting(n){return r.default.put("/api/marketing/member-areas/update-navigation-setting",{navigationSetting:n})},toggleMemberAreasFeature(n){return r.default.put("/api/marketing/member-areas/toggle",{memberAreasEnabled:n})}}},28849:function(b,l,e){"use strict";e.d(l,{fb:()=>f,mP:()=>d});var r=e(714011),o=e(810965),n=e(714487),a=e(487558),i=e(661614),c=e(387582),u=e(58713);const f=()=>o.Z.isFeatureEnabled(),d=()=>(0,u.Z)()?!!(0,i.$q)((0,a.UT)())[c.Z.memberAreaNavigationName]:f(),h=async()=>(await MemberSiteApi.createMemberSite({name:t("Member Site",null,{project:"apps.ContentBrowser",notes:"Default name for a new member site"})})).data},88565:function(b,l,e){"use strict";e.d(l,{Mi:()=>o,TQ:()=>n,Ud:()=>r});const r=a=>`[${a}]`,o="data-premium-block-label-container",n="data-premium-block-upgrade-modal"},715862:function(b,l,e){"use strict";e.d(l,{g:()=>a});const r=new Map;function o(i){return{objectName:i,stackingContextSelector:n(i)}}function n(i){const{getCmsReduxState:c}=e(337061),{getFluidEngineSectionContainingBlock:u}=e(938077),f=`#block-${i}`,d=c();return d&&u(d,i)?`.fe-block-${i}`:f}function a(i){if(r.has(i))return r.get(i);const c=o(i);return r.set(i,c),c}},398358:function(b,l,e){"use strict";e.d(l,{N:()=>n,Q:()=>o});var r=e(456903);function o(a,i){return r.default.get(`/api/paywall-settings/${a}/${i}`)}function n(a,i,c){return r.default.put(`/api/paywall-settings/${a}/${i}`,c)}},999880:function(b,l,e){"use strict";e.d(l,{Fi:()=>P,go:()=>d,km:()=>p,t7:()=>O});var r=e(456903),o=e(696049),n=e(544255),a=e.n(n),i=e(76964),c=e(733285);const u="/api/licensed-assets",f=(0,i.S)(c.Z,"invoice"),d=()=>r.default.get(u),h=()=>axios.get(u+"/thumbnails"),g=C=>axios.post(u,{assetId:C,source:LicensedAssetSource.UNSPLASH}),_=C=>axios.post(u+"/"+C+"/confirm"),p=C=>{let{id:A}=C;return r.default.get(u+"/"+A+"/download-url")},y=C=>{let{id:A}=C;return axios.put(u+"/"+A+"/reset-thumbnail")},O=function(C){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return r.default.post(u+"/purchase-preview",C,{params:{currency:A}}).then(S=>f(S.data))},P=function(C){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const S=A===null?"":"&currency="+A;return r.default.get(u+"/price-with-tax?source="+C+S).then(T=>o.default.fromJson(T.data))}},500415:function(b,l,e){"use strict";e.d(l,{BH:()=>p,G7:()=>f,Kr:()=>h,N:()=>y,OY:()=>c,P9:()=>d,V7:()=>C,VD:()=>O,c3:()=>P,jL:()=>_,lm:()=>A,sX:()=>g,tj:()=>u});var r=e(456903);const o="/api/reusable-sections",n="/previews",a="/copy-section",i="/page",c=async()=>(await r.default.get(o)).data,u=async T=>(await r.default.post(o,T)).data,f=async T=>(await r.default.post(o+n,T)).data,d=async T=>await r.default.post(o+a,T),h=async T=>r.default.delete(o,{data:T.map(s=>({id:s}))});var g=function(T){return T.ACCOUNT="/account",T.ORGANIZATION="/organization",T.WEBSITE="/website",T}({});const _=async(T,s,v,m,E,I)=>(await r.default.get(o+i+T+`?pageSize=${s}&page=${v}&search=${m}&sortBy=${E}&sortDirection=${I}`)).data,p=async(T,s)=>await r.default.post(o+a+s,T),y=async(T,s,v)=>(await r.default.post(o+v,{name:T,section:s})).data,O=async(T,s)=>(await r.default.post(o+n+s,T)).data,P=async(T,s)=>r.default.delete(o+s,{data:T.map(v=>({id:v}))}),C=async(T,s,v)=>(await r.default.put(o+v+`/${T}`,{name:s})).data,A=async T=>{var s;return(s=(await r.default.get(o+T+"/count")).data)===null||s===void 0?void 0:s.totalSections};var S=null},188405:function(b,l,e){"use strict";e.d(l,{$S:()=>v,F8:()=>m,I4:()=>_,MM:()=>C,f:()=>L,gk:()=>P,jd:()=>p,kr:()=>W,mo:()=>O,oP:()=>h,su:()=>y,t1:()=>A});var r=e(871106),o=e(396303),n=e(175424),a=e(929698),i=e(857712),c=e.n(i);const u=null;function f(F){return!F||!F.className?!1:[...F.classList].some(x=>u.includes(x))}function d(F){return F?JSON.parse(F.getAttribute("data-current-styles")||"null"):{}}function h(F,G){(F==null?void 0:F.nodeName)==="HEADER"&&F.getAttribute("data-header-style")==="dynamic"&&(F=F.ownerDocument.querySelector(".page-section"));const x=d(F);return G&&x?x[G]:(x==null?void 0:x.sectionTheme)??""}function g(F){return F.closest("footer")?SectionsArea.FOOTER_SECTIONS:SectionsArea.PAGE_SECTIONS}function _(F){return(F?F.getAttribute(r.T5):"")||""}function p(F){var G;return((G=(0,n.wo)())===null||G===void 0?void 0:G.querySelector(`[${r.T5}="${F}"]`))??null}function y(F){if(!F)return null;const G=F.nextElementSibling;return G&&_(G)?G:null}function O(F){if(!F)return null;const G=F.previousElementSibling;return G&&_(G)?G:null}function P(F){return F?_(F)?F:F.closest(r.Gg)||F.closest(r.Zl)||null:null}function C(F){var G;return F==null||(G=F.ownerDocument)===null||G===void 0?void 0:G.body.classList.contains("header--menu-open")}function A(F,G){if(!G||!F)return;const k=_(G);return F.findIndex(x=>{let{id:M}=x;return M===k})}function S(F){switch(F){case"page":return"sections";case"collection-item":return"collection-item-sections";case"footer":return"footer-sections";case"header":return"header"}}function T(F){var G;return((G=getFrameDocument())===null||G===void 0?void 0:G.getElementById(S(F)))??null}const s={[o.Z.HEADER_SECTION]:"header",[o.Z.PAGE_SECTIONS]:"sections",[o.Z.COLLECTION_ITEM_SECTIONS]:"collection-item-sections",[o.Z.FOOTER_SECTIONS]:"footer-sections"};function v(F){var G;return((G=(0,n.wo)())===null||G===void 0?void 0:G.getElementById(s[F]))??null}const m=F=>{var G;if(!F)return null;const k=(G=(0,a.q5)(F))===null||G===void 0?void 0:G.get("boundingBox").ancestor("[data-section-id]");return k?_(k):null};function E(F){var G;return`#${(G=F.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+\.{0,1}\d*))?\)$/))===null||G===void 0?void 0:G.slice(1).map((k,x)=>(x===3?Math.round(parseFloat(k)*255):parseFloat(k)).toString(16).padStart(2,"0").replace("NaN","")).join("")}`}function I(F){let G="#ffffff";if(!F)return G;const k=F.getAttribute("data-current-styles"),x=F.querySelector(".section-background");if(x&&k){G=E(getComputedStyle(x).backgroundColor);const M=JSON.parse(k);M.backgroundImage&&M.backgroundMode==="image"&&(G="#"+M.backgroundImage.colorData.suggestedBgColor)}return G}function L(F){var G,k;const x=F.getAttribute("data-current-context"),M=x&&((k=JSON.parse(x))===null||k===void 0||(G=k.divider)===null||G===void 0?void 0:G.stroke);return M!=null&&M.thickness&&M.style!==c().NONE?M.thickness.value:0}function W(F){const G=document.querySelector(`.${r.h6}[data-section-id="${F}"] .${r.UL}`);return(G==null?void 0:G.getBoundingClientRect())||void 0}},950570:function(b,l,e){"use strict";e.d(l,{P_:()=>p,XC:()=>y,_w:()=>O,au:()=>h,j7:()=>g});var r=e(337061),o=e(938077),n=e(914239),a=e(636707),i=e(143379),c=e(551553),u=e(523609),f=e(571860),d=e(871255);function h(){return[a.Z,c.Z,f.Z]}function g(C){switch(C){case"page":return a.Z;case"collection-item":return c.Z;case"footer":return f.Z;case"header":return a.Z}}function _(C){switch(C){case"page":return i.Z;case"collection-item":return u.Z;case"footer":return d.Z;case"header":return i.Z}}function p(){const C=(0,o.getEditingSectionArea)((0,r.getCmsReduxState)()),A=(0,n.qu)(C);return g(A)}function y(){const C=(0,r.useCmsSelector)(o.getEditingSectionArea),A=(0,n.qu)(C);return g(A)}function O(){const C=(0,o.getEditingSectionArea)((0,r.getCmsReduxState)()),A=(0,n.qu)(C);return _(A)}function P(){const C=useCmsSelector(getEditingSectionArea),A=getSectionRegionForEditingState(C);return _(A)}},914239:function(b,l,e){"use strict";e.d(l,{RO:()=>J,ng:()=>U,zx:()=>k,Pp:()=>j,V1:()=>ie,gv:()=>R,lh:()=>x,xA:()=>M,Mt:()=>G,f8:()=>F,fQ:()=>$,Mx:()=>pe,pM:()=>W,dH:()=>q,qu:()=>me,rZ:()=>L,F1:()=>B,uB:()=>ne,mv:()=>ee});var r=e(419467),o=e(365270),n=e(871106),a=e(175424),i=e(695960);const c=(re,he)=>{const{columns:Ee}=he,fe=Math.max(0,re.start.x),H=Math.max(0,re.start.y),z=(0,r.clamp)(re.end.x,fe,Ee+1),_e=Math.max(re.end.y,H);return{...re,start:{...re.start,x:fe,y:H},end:{...re.end,x:z,y:_e}}},u=(re,he)=>{const{layout:Ee}=re,fe=c(Ee.desktop,he.desktop),H=c(Ee.mobile,he.mobile);return{content:{value:{...re.content.value}},layout:{desktop:fe,mobile:H}}};var f=e(808145),d=e(858579),h=e(436715),g=e(911896),_=e(193213),p=e(784874),y=e(597306),O=e(929698),P=e(556472);const C=[p.Z.HTML,p.Z.FORM,p.Z.SUMMARY_V2,p.Z.GALLERY,p.Z.ACCORDION,p.Z.MENU,p.Z.PRODUCT,p.Z.NEWSLETTER,p.Z.VIDEO],A=(re,he)=>C.includes((0,_.ck)(re))&&(0,_.Ii)(re.layout[he])>2;function S(re,he){const Ee=new Map,fe=new Set;for(const z of re){var H;const _e=(0,_.IF)(z),ae=z.layout[he];let ge=!1;for(let Ke=ae.start.y;Ke<=ae.end.y;Ke++){const He=Ee.get(Ke)||[];He.forEach(ye=>fe.delete(ye)),Ee.set(Ke,[...He,_e]),ge=ge||He.length>0}const Be=!(!((H=z.content.value.containerStyles)===null||H===void 0)&&H.stretchedToFill)&&(0,y.Z)(z.content.value);!ge&&Be&&fe.add(_e)}return[...fe]}function T(re){let{blockId:he,gridMeasurements:Ee}=re;var fe;const H=(fe=(0,O.HF)(he))===null||fe===void 0?void 0:fe.querySelector(".sqs-block-content");if(H&&Ee){const z=H.getBoundingClientRect();return{startY:(0,P.X9)(z.y,Ee.rows),endY:(0,P.X9)(z.y+z.height,Ee.rows)}}}function s(re){let{fluidEngineContext:he,deviceKey:Ee,gridMeasurements:fe}=re;const H=S(he.gridContents,Ee),z=[],_e=(0,d.ZP)(he,ae=>{const ge=(0,h.S6)(ae.gridContents);H.filter(Ke=>A(ge[Ke],Ee)).forEach(Ke=>{const He=ge[Ke].layout[Ee],ye=T({blockId:Ke,gridMeasurements:fe});let Le=ye?ye.startY:He.start.y,Ue=ye?ye.endY:He.end.y;Le=(0,r.clamp)(Le,He.start.y,He.end.y),Ue=(0,r.clamp)(Ue,Le,He.end.y),Ue-Le+1>2&&(He.start.y=Le,He.end.y=Le,z.push(...(0,r.range)(Le+1,Ue+1)))})});return(0,g.vA)(_e,{deviceKey:Ee,unoccupiedRows:z})}var v=e(938077),m=e(134798),E=e(145332);const{MOBILE:I}=o.FluidEngineBreakpoints;function L(re){return(re==null?void 0:re.sectionName)===n.A8&&re.sectionDefinitionName===n.d1}function W(re){return(re==null?void 0:re.sectionName)===n.A8&&re.sectionDefinitionName===n.O_}function F(re){return(re==null?void 0:re.sectionName)===n.A8&&re.sectionDefinitionName===n.JK}function G(re){return(re==null?void 0:re.sectionName)===n.A8&&re.sectionDefinitionName===n.Ti}function k(re){return(re==null?void 0:re.sectionName)===n.A8&&re.sectionDefinitionName===n.Qg}function x(re){return(re==null?void 0:re.sectionName)===n.A8&&re.sectionDefinitionName===n.F$}function M(re){return(re==null?void 0:re.sectionName)===n.A8&&re.sectionDefinitionName===n.sL}function B(re){return(re==null?void 0:re.sectionName)===n.A8&&re.sectionDefinitionName===n.Ec}function R(re){return re?`${n.jN}[${n.T5}="${re}"]`:""}function U(re){return re?R(re.id):""}function j(){return`${n.jN}[${n.T5}]`}function $(re){return`${n.CB}-${re}`}const ee=re=>!re||!Array.isArray(re)?re:re.map(he=>{if(he.sectionName!==i.Z.FLUID_ENGINE)return he;const{gridContents:Ee,gridSettings:{breakpointSettings:fe}}=he.fluidEngineContext,H=Ee.map(_e=>u(_e,fe)),z=(0,f.L)(H,fe);return{...he,fluidEngineContext:{...he.fluidEngineContext,gridContents:H,gridSettings:{...he.fluidEngineContext.gridSettings,breakpointSettings:z}}}}),te=re=>new Promise(he=>setTimeout(he,re)),ie=async re=>{if(!re||!Array.isArray(re))return re;const he=(0,a.wo)(),Ee=(0,a.wK)();if(!he||!Ee)return re;Ee.style.visibility="hidden",Ee.style.transition="opacity 0s",Ee.style.opacity="0",Ee.style.width="428px",await te(0);const fe=[...re];for(let H=0;H<fe.length;H++){const z=fe[H],_e=he.querySelector(R(z.id));if(z.sectionName===i.Z.FLUID_ENGINE&&_e){const ae=z.fluidEngineContext,ge=_e.querySelector("[data-fluid-engine]"),Be=(0,E.Z)({containerNode:ge}),Ke=s({fluidEngineContext:ae,deviceKey:I,gridMeasurements:Be});fe[H]={...z,fluidEngineContext:Ke}}}return Ee.style.width="",await te(50),Ee.style.visibility="",Ee.style.transition="opacity 0.1s ease-out",Ee.style.opacity="",await te(120),Ee.style.transition="",fe};function ne(re){return!re||!Array.isArray(re)?re:re.map(he=>{const Ee=Object.assign({},he);if(!("jsonData"in Ee))return Ee;if(L(Ee)){var fe;!((fe=Ee.jsonData)===null||fe===void 0)&&fe.galleryOptions.lastUpdate&&(Ee.jsonData=Object.assign({},Ee.jsonData),Ee.jsonData.galleryOptions=Object.assign({},Ee.jsonData.galleryOptions),delete Ee.jsonData.galleryOptions.lastUpdate)}if(W(he)){var H,z;!((H=Ee.jsonData)===null||H===void 0)&&H.userItems&&Array.isArray(Ee.jsonData.userItems)&&Ee.jsonData.userItems.length&&Ee.jsonData.userItems[0].id&&(Ee.jsonData=Object.assign({},Ee.jsonData),Ee.jsonData.userItems=Ee.jsonData.userItems.map(_e=>{const ae=Object.assign({},_e);return delete ae.id,ae})),!((z=Ee.jsonData)===null||z===void 0)&&z.video&&(Ee.jsonData=Object.assign({},Ee.jsonData),Ee.jsonData.video=Object.assign({},Ee.jsonData.video),delete Ee.jsonData.video.html,delete Ee.jsonData.video.providerName,delete Ee.jsonData.video.resolvedBy)}return Ee})}function pe(re,he){if(re.sectionName===i.Z.FLUID_ENGINE){const Ee=re.fluidEngineContext.gridContents.map(H=>{const{content:z}=H,_e=he(z.value);return{...H,content:{...z,value:_e}}}),fe={...re.fluidEngineContext,gridContents:Ee};return{...re,fluidEngineContext:fe}}else if(re.sectionName===i.Z.LAYOUT_ENGINE){const Ee=oe(re.content,he);return{...re,content:Ee}}return re}function oe(re,he){var Ee;const fe=(0,r.cloneDeep)(re);function H(z){for(const _e of z||[])for(const ae of(_e==null?void 0:_e.columns)||[])ae.blocks&&(ae.blocks=ae.blocks.map(he)),ae.rows&&H(ae.rows)}return H((Ee=fe.layout)===null||Ee===void 0?void 0:Ee.rows),fe}function q(re){switch(re){case"page":return v.getPageSectionIds;case"collection-item":return v.getCollectionItemSectionIds;case"footer":return v.getFooterSectionIds;case"header":return v.getHeaderSectionIds}}function J(re){switch(re){case"page":return m.Z.PAGE;case"collection-item":return m.Z.COLLECTION_ITEM;case"footer":return m.Z.FOOTER;case"header":return m.Z.HEADER}}function me(re){switch(re){case m.Z.COLLECTION_ITEM:return"collection-item";case m.Z.FOOTER:return"footer";case m.Z.HEADER:return"header";case m.Z.PAGE:default:return"page"}}},577408:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(456903);const o={update(n){var a;return!(n==null||(a=n.navigation)===null||a===void 0)&&a.items&&(n.navigation.items=n.navigation.items.filter(i=>!i.isPendingCollection)),r.default.post("/api/widget/UpdateNavigation",n)},get(){return r.default.get("/api/commondata/GetSiteLayout")}}},378449:function(b,l,e){"use strict";e.d(l,{Hg:()=>r,I4:()=>o,TM:()=>a,lW:()=>n});function r(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const u={deletions:[],additions:[]};return i.forEach(f=>{const d=c.find(h=>{let{collectionId:g}=h;return g===f.collectionId});if(d){const h=r(f.children,d.children);h.deletions.length&&u.deletions.push([f.collectionId,h.deletions[0][0]]),h.additions.length&&u.additions.push([f.collectionId,h.additions[0][0]])}else u.deletions.push([f.collectionId])}),c.forEach(f=>{i.find(d=>{let{collectionId:h}=d;return h===f.collectionId})||u.additions.push([f.collectionId])}),u}function o(i,c){return i.children.findIndex(u=>u.collectionId===c.collectionId)}function n(i,c){return i.links.findIndex(u=>u.memberAreaId?u.memberAreaId===c.memberAreaId:u.collectionId===c.collectionId)}function a(i){return i.map(c=>{let{children:u,...f}=c;return{...f,items:u||[]}})}},868052:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(456903),o=e(131626),n=e.n(o);const i={createNonOAuthAccount(c){return r.default.post("/api/config/CreateNonOAuthAccount",n().stringify(c,{arrayFormat:"repeat"}))},getSocialAccounts:function(c){return r.default.get("/api/config/GetSocialAccounts")},updateSocialAccount:function(c){return r.default.put("/api/rest/social-accounts/"+c.id,c)},removeSocialAccount:function(c){return r.default.delete("/api/rest/social-accounts/"+c)},resetSubscription:function(c){return r.default.post("/api/config/ResetSocialAccountSubscription",n().stringify(c))},syncDropbox:function(){return r.default.post("/api/commondata/DropboxSync")}}},92485:function(b,l,e){"use strict";e.d(l,{i:()=>o});var r=e(916661);const o=()=>r.Z.isSevenOne()},146640:function(b,l,e){"use strict";e.d(l,{G:()=>n});var r=e(456903);const o="/api/web-fonts";function n(){return r.default.get(`${o}`).then(a=>{let{data:i}=a;return i})}},417505:function(b,l,e){"use strict";e.d(l,{Z:()=>g});var r=e(456903),o=e(131626),n=e.n(o),a=e(160248),i=e.n(a),c=e(387582);const{PASSWORD_MASK:u}=c.Z,f="/api/rest/websites";function d(_){return _&&_.filter(p=>p!==i().STUMBLE)}const g={get(){return r.default.get(f+"/mine")},save(_){const p=Object.assign({},_,{password:_.hasPassword&&!_.password?u:_.password,shareButtonOptions:d(_.shareButtonOptions)});return r.default.put(f+"/mine",p)},saveShareButtonOptions(_){return r.default.post("/api/config/SaveSocialSettings",{shareButtonOptions:d(_)})},cancelTrial(){return r.default.post(f+"/cancel-trial")},activateOrgTrial(){return r.default.post(f+"/activate-org-trial")},publishOrgTemplate(){return r.default.post(f+"/publish-org-template")},getOrgWebSiteCounts(_){return r.default.get(f+"/org-website-counts/"+_)},updatePrimaryDomain(_){return r.default.put(f+"/primary-domain",n().stringify({primaryDomain:_},{arrayFormat:"repeat"}))}}},156207:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(456903),o=e(696049),n=e(76964);const a="/api/checkout/available-plans",i=(0,n.S)(o.default.fromJson,"data.results.price","data.results.basePrice","data.results.discountedPrice"),u={getAvailable(f,d,h){return r.default.get(`${a}/plan-types/${f}/applicable`,{params:{currency:d,contractId:h}}).then(i).then(g=>g.data.results)},getCurrentPlans(f,d){return r.default.get(`${a}/plan-types/${d}/current`,{params:{currency:f}}).then(h=>h.data.results)}}},867853:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(456903),o=e(131626),n=e.n(o),a=e(419467),i=e.n(a);const c="/api/billing/plan-change-violations",f={load(d){let{checkoutType:h,currencyCode:g,products:_}=d;return r.default.get(c,{params:{checkoutType:h,currencyCode:g,products:_.map(p=>(0,a.snakeCase)(p).toUpperCase())},paramsSerializer:p=>n().stringify(p,{arrayFormat:"repeat"})})}}},252747:function(b,l,e){"use strict";e.d(l,{K:()=>n});var r=e(456903);const o="/api/billing/product-statuses",n=async()=>(await r.default.get(o)).data},627196:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const n=new Map;return o.forEach(a=>{let{productType:i,...c}=a;var u;n.has(i)||n.set(i,[]),(u=n.get(i))===null||u===void 0||u.push(c)}),n}},225378:function(b,l,e){"use strict";e.d(l,{U:()=>g,o:()=>h});var r=e(174161),o=e(47932),n=e(18724),a=e(663634),i=e(859817),c=e.n(i),u=e(337061),f=e(181124),d=e(175424);const h=_=>{let{frameCacheKey:p,theme:y,children:O}=_;const P=r.useMemo(()=>{var A;return(A=(0,d.wo)())===null||A===void 0?void 0:A.head},[]),C=r.createElement(i.StatsigProvider,{client:(0,a.GC)()},r.createElement(o.Z.Provider,{theme:y||n.rosetta.white},r.createElement(u.default,null,O)));return p?r.createElement(f.Z,{container:P,cacheKey:p},C):C},g=(_,p)=>{let{frameCacheKey:y,theme:O}=_;return r.createElement(h,{frameCacheKey:y,theme:O},p)}},635897:function(b,l,e){"use strict";e.d(l,{N:()=>n});var r=e(247380),o=e.n(r);const n=a=>{a.setTag("owner",o().PRICING_MERCHANDISING)}},56865:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(144771),o=e.n(r),n=e(859118),a=e(348025),i=e(413866),c=e(419805),u=e(296535),f=e(312039),d=e(276406),h=e.n(d);const _=p=>({[o().WEBSITE]:{PlanSelectionStore:c.Z,PlanSelectionAggregateDataStore:u.Z},[o().SCHEDULING]:{PlanSelectionStore:c.Z,PlanSelectionAggregateDataStore:u.Z},[o().CAMPAIGNS]:{PlanSelectionStore:c.Z,PlanSelectionAggregateDataStore:u.Z},[o().MEMBER_AREAS]:{PlanSelectionStore:c.Z,PlanSelectionAggregateDataStore:u.Z},[o().DOMAIN]:{DomainTransferStore:n.Z,DomainTldInfoStore:i.Z,DomainSearchStore:a.Z,AvailablePlansStore:f.ZP},[h().SQUARESPACE]:{PlanSelectionStore:c.Z,PlanSelectionAggregateDataStore:u.Z}})[p]},898845:function(b,l,e){"use strict";e.d(l,{C:()=>r});const r=function(){let{shouldRedirect:o,redirectPath:n="/config",shouldReload:a}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};o&&window.location.assign(window.location.origin+n),a&&window.location.reload()}},699027:function(b,l,e){"use strict";e.d(l,{GQ:()=>F,Jk:()=>W,Tg:()=>k,eP:()=>G,lr:()=>L});var r=e(992474),o=e.n(r),n=e(835630),a=e.n(n),i=e(190188),c=e(270848),u=e.n(c),f=e(274414),d=e.n(f),h=e(530149),g=e.n(h);const _={[d().CHRONOLOGICAL]:{[u().TEXT]:{[i.Z.GET]:"/api/content/blogs/{collectionId}/text-posts/{id}",[i.Z.POST]:"/api/content/blogs/{collectionId}/text-posts",[i.Z.PUT]:"/api/content/blogs/{collectionId}/text-posts/{id}",[i.Z.DELETE]:"/api/content/blogs/{collectionId}/text-posts/{id}"},[u().IMAGE]:{[i.Z.GET]:"/api/content/blogs/{collectionId}/image-posts/{id}",[i.Z.POST]:"/api/content/blogs/{collectionId}/image-posts",[i.Z.PUT]:"/api/content/blogs/{collectionId}/image-posts/{id}",[i.Z.DELETE]:"/api/content/blogs/{collectionId}/image-posts/{id}"},[u().VIDEO]:{[i.Z.GET]:"/api/content/blogs/{collectionId}/video-posts/{id}",[i.Z.POST]:"/api/content/blogs/{collectionId}/video-posts",[i.Z.PUT]:"/api/content/blogs/{collectionId}/video-posts/{id}",[i.Z.DELETE]:"/api/content/blogs/{collectionId}/video-posts/{id}"}},[d().CALENDAR]:{[u().EVENT]:{[i.Z.GET]:"/api/content/calendars/{collectionId}/events/{id}",[i.Z.POST]:"/api/content/calendars/{collectionId}/events",[i.Z.PUT]:"/api/content/calendars/{collectionId}/events/{id}",[i.Z.DELETE]:"/api/content/calendars/{collectionId}/events/{id}"}},[d().USER]:{[u().STORE_ITEM]:{[i.Z.GET]:"/api/content/product-pages/{collectionId}/products/{id}",[i.Z.POST]:"/api/content/product-pages/{collectionId}/products",[i.Z.PUT]:"/api/content/product-pages/{collectionId}/products/{id}",[i.Z.DELETE]:"/api/content/product-pages/{collectionId}/products/{id}"}}},p={[g().PRODUCTS]:{[i.Z.GET]:"/api/content/product-pages/{collectionId}/products/{parentId}/images/{id}",[i.Z.POST]:"/api/content/product-pages/{collectionId}/products/{parentId}/images",[i.Z.PUT]:"/api/content/product-pages/{collectionId}/products/{parentId}/images/{id}",[i.Z.DELETE]:"/api/content/product-pages/{collectionId}/products/{parentId}/images/{id}"}},y={[d().CHRONOLOGICAL]:{[g().COLLECTION_TYPE_GENERIC]:"/api/content/blogs/{collectionId}/posts"},[d().CALENDAR]:{[g().COLLECTION_TYPE_GENERIC]:"/api/content/calendars/{collectionId}/events"},[d().USER]:{[g().PRODUCTS]:"/api/content/product-pages/{collectionId}/products"}},O={[i.Z.GET]:"/api/content-collections/{collectionId}/content-items/{id}",[i.Z.POST]:"/api/content-collections/{collectionId}/content-items",[i.Z.PUT]:"/api/content-collections/{collectionId}/content-items/{id}",[i.Z.DELETE]:"/api/content-collections/{collectionId}/content-items/{id}"},P={[i.Z.GET]:"/api/content-items/{id}",[i.Z.POST]:"/api/content-items",[i.Z.PUT]:"/api/content-items/{id}",[i.Z.DELETE]:"/api/content-items/{id}"},C="/api/content-collections/{collectionId}/content-items",A="/api/commondata/SaveMedia",S="/api/commondata/SaveMedia",T="/api/commondata/ClearEmbeddedAsset",s=o()(a()(_,(x,M)=>Object.keys(x).map(B=>[B,parseInt(M,10)])));function v(x){return{url:P[x.action],isFallback:!0}}function m(x){return{url:O[x.action].replace("{collectionId}",x.collectionId),isFallback:!0}}function E(x){let{collectionType:M,action:B,collectionId:R,parentId:U}=x;return{url:p[M][B].replace("{collectionId}",R).replace("{parentId}",U),isFallback:!1}}function I(x){if(!x.collectionId)return v(x);if(x.parentId)return x.collectionType===g().PRODUCTS?E(x):m(x);const M=x.collectionOrdering&&x.collectionOrdering in _?_[x.collectionOrdering]:null;if(!M)return m(x);const B=x.recordType&&x.recordType in M?M[x.recordType]:null;return B?{url:B[x.action].replace("{collectionId}",x.collectionId),isFallback:!1}:m(x)}function L(x){return I(x).url}function W(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const M=I({...x,action:i.Z.DELETE});return M.isFallback?A:M.url+"/main-image"}function F(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const M=I({...x,action:i.Z.DELETE});return M.isFallback?T:M.url+"/main-image"}function G(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return x.recordType===u().STORE_ITEM?E({collectionType:g().PRODUCTS,recordType:u().STORE_ITEM,action:i.Z.POST,parentId:x.parentId,collectionId:x.collectionId}).url:S}function k(x,M){if(!x)return C;if(y.hasOwnProperty(x)){const B=y[x];if(M&&B.hasOwnProperty(M))return B[M]}return C}},62868:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(270848),o=e.n(r),n=e(984791),a=e(791229),i=e(35045),c=e(160964);function u(f,d){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const g=h.collectionId?{collectionId:h.collectionId}:{},_=(0,n.Z)(f,g),p=i.default.getState().id,y=f!==c.Z.TWEAK_BACKGROUND_IMAGE?o().IMAGE:o().TWEAKASSET;return a.Z.createAssetReference(_,{assetId:d,libraryId:p,recordType:y,...h}).then(O=>{let{data:P}=O;return P.media[0]})}},755577:function(b,l,e){"use strict";e.d(l,{f:()=>u});var r=e(881893),o=e.n(r);const n=[o().APPLICATION],a="d00d1e00-0000-4000-a000-000000000001",i=f=>f.purchasedGoogleApps||f.hasGoogleEmailProductRequest,c=f=>f.type===o().RESOLD&&f.resellerId===a;function u(f){return!n.includes(f.type)&&!f.ownedByOtherWebsite&&!c(f)&&!i(f)}},30712:function(b,l,e){"use strict";e.d(l,{L:()=>a});var r=e(935662),o=e.n(r),n=e(663634);const a=()=>({isTrashEnabled:!0,isBcContentBrowserUAUEnabled:(0,n.cr)(o().BC_CONTENTBROWSER_UAU),isLinkEditorUAUEnabled:(0,n.cr)("link-editor-uau"),isWebpEnabled:(0,n.cr)("webp-uau"),isWebpConversionEnabled:(0,n.cr)("enable-webp-conversion")})},984791:function(b,l,e){"use strict";e.d(l,{U:()=>o.Z,Z:()=>a});var r=e(408549),o=e(160964);const n={[o.Z.GALLERY_IMAGE]:"/api/galleries/{collectionId}/images/asset-reference",[o.Z.COLLECTION_IMAGE]:"/api/commondata/SaveMedia/asset-reference",[o.Z.TRANSIENT_IMAGE]:"/api/uploads/images/asset-reference",[o.Z.TWEAK_BACKGROUND_IMAGE]:"/api/uploads/tweak-backgrounds/asset-reference"};function a(i,c){const u=n[i];return c?(0,r.Z)(u,c):u}},489152:function(b,l,e){"use strict";e.d(l,{Z:()=>O});var r=e(714487),o=e(565263),n=e(784874),a=e(135118),i=e(419467),c=e(651780),u=e(916661),f=e(663634),d=e(774692),h=e(547740),g=e.n(h);const p=g()(()=>{const P=(0,f.GC)().getExperiment("block-picker-business-ordinal-prioritization");return(0,d.trackAssignmentEvent)(P,"commerce-merchandising"),P.get("variant",null)==="test"}),{isSevenOne:y}=u.Z;function O(P){if(P.isSquarespaceApp)return[{groupType:o.Z.BASIC,label:(0,r.t)("Basic",null,{project:"scripts-v6.layout-engine"}),items:[n.Z.HTML,n.Z.IMAGE,n.Z.BUTTON,n.Z.GALLERY,n.Z.VIDEO,n.Z.HORIZONTAL_RULE]}];const C={groupType:o.Z.COMMERCE,label:(0,r.t)("Business",null,{project:"scripts-v6.layout-engine"}),items:(0,i.compact)([n.Z.PRODUCT,y()?"website.components.donation":n.Z.DONATION,n.Z.ACUITY,n.Z.PRICING_PLAN])};return(0,i.compact)([p()&&C,{groupType:o.Z.BASIC,label:(0,r.t)("Basic",null,{project:"scripts-v6.layout-engine"}),items:(0,i.compact)([n.Z.HTML,n.Z.IMAGE,n.Z.BUTTON,n.Z.GALLERY,n.Z.VIDEO,n.Z.FORM,!P.isFluidEngine&&n.Z.SPACER,n.Z.AUDIO,n.Z.NEWSLETTER,n.Z.ACCORDION,P.isFluidEngine&&n.Z.SHAPE,n.Z.MARQUEE,n.Z.HORIZONTAL_RULE,n.Z.QUOTE,n.Z.MAP,n.Z.EMBED,n.Z.MARKDOWN,n.Z.CODE,a.Z.SUMMARY_WALL,n.Z.MENU,n.Z.CALENDAR,n.Z.SOCIAL_ACCOUNT_LINKS_V2,a.Z.CHART_BAR])},(0,c.uS)()&&{groupType:o.Z.GLOBAL,label:(0,r.t)("Global",null,{project:"scripts-v6.layout-engine"}),items:["website.components.globalHtml"]},!p()&&C,{groupType:o.Z.INTEGRATIONS,label:(0,r.t)("Integrations",null,{project:"scripts-v6.layout-engine"}),items:(0,i.compact)([n.Z.INSTAGRAM,n.Z.AMAZON,a.Z.TOCK_RESERVATIONS,n.Z.OPENTABLE_V2,n.Z.SOUNDCLOUD,n.Z.TOURDATES,n.Z.FLICKR,n.Z.RSS,n.Z.ZOLA])},{groupType:o.Z.FILTERS_LISTS,label:(0,r.t)("Filters & Lists",null,{project:"scripts-v6.layout-engine"}),items:[n.Z.SEARCH,n.Z.TAGCLOUD,n.Z.COLLECTION_LINK,n.Z.ARCHIVE]}])}},668468:function(b,l,e){"use strict";e.d(l,{n:()=>r});const r=o=>{const n=JSON.stringify(o);let a=0;for(let i=0;i<n.length;i++)a=Math.imul(31,a)+n.charCodeAt(i)|0;return String(Math.abs(a))}},409011:function(b,l,e){"use strict";e.d(l,{ZP:()=>a});var r=e(174161),o=e(134521),n=e.n(o);function a(u){let{throttleDelay:f=20}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const[d,h]=(0,r.useState)((u==null?void 0:u.innerWidth)??0),g=(0,r.useRef)(n()(_=>h((_==null?void 0:_.innerWidth)??0),f));return(0,r.useLayoutEffect)(()=>{if(!u)return;h(u.innerWidth);const _=()=>g.current(u);return u.addEventListener("resize",_),()=>u.removeEventListener("resize",_)},[u]),d}function i(u){let{throttleDelay:f=40}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const[d,h]=useState((u==null?void 0:u.innerHeight)??0),g=useRef(throttle(_=>h((_==null?void 0:_.innerHeight)??0),f));return useLayoutEffect(()=>{if(!u)return;h(u.innerHeight);const _=()=>g.current(u);return u.addEventListener("resize",_),()=>u.removeEventListener("resize",_)},[u]),d}function c(u){let{throttleDelay:f=40}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{width:a(u,{throttleDelay:f}),height:i(u,{throttleDelay:f})}}},120497:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(663634),o=e(762379),n=e(935662),a=e.n(n);function i(){return o.Z.isFeatureEnabled(a().CDK_WEBSITE_COMPONENTS_TRANSFORMS_ENABLED)||(0,r.cr)("cdk_website_components_transforms_enabled")}const c=i},213552:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(663634),o=e(762379),n=e(935662),a=e.n(n);function i(){return o.Z.isFeatureEnabled(a().DYNAMIC_MOBILE_SPACING_ON_SAVE)||(0,r.cr)("responsive_test_flatten_rows")}const c=i},478750:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(663634);const o=()=>(0,r.cr)("portfolio_drafts")},58713:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(663634),o=e(916661);const n=()=>o.Z.isSevenOne()||(0,r.cr)("pages_panel_yui_removal")},82856:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(185942),o=e.n(r);const n=(c,u)=>{if(Array.isArray(c)&&c.length>u.length){const f=c[0]instanceof Object&&Object.keys(c[0]);if(f&&f.length===2&&f.includes("from")&&f.includes("to"))return u}},i=function(){for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f];return o()({},...u,n)}},334358:function(b,l,e){"use strict";e.d(l,{Gd:()=>u,Im:()=>P,U3:()=>S,UV:()=>A,e3:()=>C});var r=e(341293),o=e.n(r),n=e(941254),a=e(695960),i=e(500415),c=e(765724);const u=()=>{var T,s,v,m,E;return!!(!((E=window)===null||E===void 0||(m=E.Static)===null||m===void 0||(v=m.SQUARESPACE_CONTEXT)===null||v===void 0||(s=v.authenticatedAccount)===null||s===void 0||(T=s.guilds)===null||T===void 0)&&T[o().CIRCLE_USER])},f=()=>{n.Z.track({actor:"user",action:"click",event_name:"UserOpensProSectionModal",object_identifier:"open-save-section-modal",object_type:"button",product_area:"pro-user-saved-sections"})},d=()=>{n.Z.track({actor:"user",action:"click",event_name:"UserSavesProSection",object_identifier:"save-section-confirm",object_type:"button",product_area:"pro-user-saved-sections"})},h=()=>{n.Z.track({actor:"user",action:"click",event_name:"UserSelectsProSectionCategory",object_identifier:"section-catalog-category",object_type:"button",product_area:"pro-user-saved-sections"})},g=()=>{n.Z.track({actor:"user",action:"add",event_name:"UserAddsSavedSectionToPage",object_type:"section",product_area:"pro-user-saved-sections"})},_=()=>{n.Z.track({actor:"user",action:"click",event_name:"UserMultiSelectsProSection",object_identifier:"multi-select-section",object_type:"button",product_area:"pro-user-saved-sections"})},p=()=>{n.Z.track({actor:"user",action:"click",event_name:"UserDeletesProSection",object_identifier:"delete-section",object_type:"button",product_area:"pro-user-saved-sections"})},y=T=>{let s;return T&&(T==null?void 0:T.sectionName)===a.Z.FLUID_ENGINE&&(s=T.fluidEngineContext.gridContents.length),s},O=T=>{switch(T){case i.sX.ACCOUNT:return c.N9.ACCOUNT_LIBRARY;case i.sX.ORGANIZATION:return c.N9.TEAM_LIBRARY;case i.sX.WEBSITE:return c.N9.SITE_LIBRARY}},P=T=>{let{scope:s,sectionContext:v}=T;c.p8.track({event_name:"UserSavesSection",action:c.kA.CLICK,object_type:c.W9.BUTTON,entrypoint:O(s),num_blocks:y(v)})},C=T=>{let{scope:s,savedSectionContext:v,currentSectionName:m}=T;c.p8.track({event_name:"UserOpensSectionRenameInput",action:c.kA.CLICK,object_type:c.W9.INPUT,entrypoint:O(s),object_value:m,num_blocks:y(v)})},A=T=>{let{scope:s,savedSectionContext:v,updatedSectionName:m}=T;c.p8.track({event_name:"UserUpdatesSavedSection",action:c.kA.CLICK,object_type:c.W9.INPUT,entrypoint:O(s),object_value:m,num_blocks:y(v)})},S={UserOpensSaveModal:f,UserConfirmsSaveSection:d,UserSelectsSavedSectionCategory:h,UserAddsSavedSectionToPage:g,UserMultiSelectsSection:_,UserDeletesSavedSection:p}},581729:function(b,l,e){"use strict";e.d(l,{C8:()=>_,Qo:()=>f,_T:()=>g,lD:()=>h,yW:()=>d});var r=e(419467),o=e.n(r),n=e(663634),a=e(91258),i=e(537807);function c(p){return JSON.stringify((0,r.omit)(p,["value.hSize","value.floatDir"]))}const u=new Map,f=(p,y)=>{const O=c(p.blockWidgetJson);if(u.has(O)&&!(y!=null&&y.ignoreCache))return u.get(O);const P=(0,a.O)(p);return u.set(O,P),P},d=p=>{const y=c(p);return u.has(y)},h=p=>{const y=c(p),O=u.get(y);if(!O)throw new Error("Block is missing from WidgetRenderingCache");return O},g=async p=>{if(p.length===0)return Promise.resolve([]);const y=(0,n.GC)().checkGate("layout_switcher_client_side_block_render"),O=p.filter(i.ok);if(y&&p.length===O.length)return Promise.all(O.map(async S=>{const T=c(S),s=(0,i.qd)(S).then(v=>({html:v,blockId:S.id}));return u.set(T,s),s}));const P=(0,a.j)(p),C=p.map((A,S)=>{const T=c(A),s=P.then(v=>v[S]);return u.set(T,s),s});return await Promise.all(C),P},_=()=>{u.clear()}},537807:function(b,l,e){"use strict";e.d(l,{A1:()=>p,ok:()=>g,qd:()=>_});var r=e(430183),o=e(456903),n=e(554396),a=e(784874),i=e(62054),c=e(706338);const u={},f=y=>{switch(y.type){case a.Z.ZOLA:return y.value.registryKey?{}:{registryKey:"squarespace",blockStatus:{placeholderContent:!0}};case a.Z.SOCIAL_ACCOUNT_LINKS_V2:return{accounts:(0,i.Z)()};default:return{}}},d=[a.Z.SOCIAL_ACCOUNT_LINKS_V2,a.Z.ZOLA,a.Z.ACCORDION,a.Z.SHAPE,a.Z.MENU,a.Z.TOCK,a.Z.MARQUEE,a.Z.OPENTABLE_V2,a.Z.BUTTON,a.Z.HTML],h=new Set(d),g=y=>h.has(y.type)&&!(0,c.l)(y),_=async y=>{const{type:O,value:P,id:C,containerStyles:A}=y;if(!u[O]){const{data:{html:v,localizedStrings:m}}=await o.default.get("/api/template/GetTemplateSchema",{params:{type:O}});u[O]={template:(0,n._)(v),localizedStrings:m}}const S={},T=f(y);return(0,n.W)(u[O].template,{...P,...T,blockId:C,containerStyles:A},S)},p=async y=>{const O=new DOMParser,P=await _(y);return O.parseFromString(P,"text/html").querySelector("body").children[0]}},91258:function(b,l,e){"use strict";e.d(l,{O:()=>i,j:()=>u});var r=e(456903),o=e(419467),n=e.n(o),a=e(715862);const i=f=>{const d=(0,a.g)(f.blockWidgetJson.id);return r.default.post("/api/block/render",{collectionId:f.collectionId,block:f.blockWidgetJson,parentChildContext:d}).then(h=>{if("html"in h.data)return h.data;throw new Error(`Block render failure ${h.data.message}`)})},c=f=>"html"in f,u=async f=>{if(f.length===0)throw new Error("Cannot call block bulk render with empty array");const{data:d}=await r.default.post("/api/block/render-bulk",{blockRenderingRequests:f.map(_=>({block:_,parentChildContext:(0,a.g)(_.id)}))}),[h,g]=(0,o.partition)(d,c);if(g.length>0)throw new Error("Bulk block render encountered blocks with errors");return h}},181124:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(174161),o=e(625392),n=e.n(o),a=e(707925),i=e(517629);function c(g){return g.replace(/0/g,"-zero-").replace(/1/g,"-one-").replace(/2/g,"-two-").replace(/3/g,"-three-").replace(/4/g,"-four-").replace(/5/g,"-five-").replace(/6/g,"-six-").replace(/7/g,"-seven-").replace(/8/g,"-eight-").replace(/9/g,"-nine-")}const u="sqs-emotion-frame-cache-identifier";let f=0;const d=n()(function(_,p){return(0,a.default)({container:p,key:c(_)})},function(_,p){const y=p.ownerDocument;return y===document?_:(y.documentElement.hasAttribute(u)||y.documentElement.setAttribute(u,++f+""),_+`__IN-FRAME-${y.documentElement.getAttribute(u)}__`)});function h(g){let{children:_,container:p,cacheKey:y}=g;return p?r.createElement(i.CacheProvider,{value:d(y,p)},_):r.createElement(r.Fragment,null,_)}},682345:function(b,l,e){"use strict";e.d(l,{R:()=>c});var r=e(149893),o=e(819596),n=e(276406),a=e.n(n),i=e(28589);const c=()=>{const u=(0,o.z)()?a().SQUARESPACE:a().WEBSITE,d=i.ZP.getActivePlanOfType(u)?r.vl.BILLING_PLAN_SWITCH:r.vl.NEW_PURCHASE;(0,r.j6)(u,d)}},466409:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(663634);const n=()=>(0,r.cr)("website-saved-sections")},865428:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(555670);const o=!1;function n(){return o?!0:r.IS_LEGACY_APP||r.IS_NATIVE_MOBILE_APP}const a=n},694598:function(b,l,e){"use strict";e.d(l,{b:()=>n});var r=e(239462);let o;async function n(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,c;if(o)return o;if(i?(0,r.Hz)():c=(0,r.wQ)(),!c){try{o=a(2),c=await o}finally{o=void 0}(0,r.iI)(c)}return c}async function a(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;const c=await fetch("/api/media/auth/v1/asset/authorization",{mode:"same-origin"});if(!c.ok&&i>0)return a(i-1);const u=await c.json();if(!u.token)throw new Error("Token request succeeded but not found in the response.");return u.token}},190644:function(b,l,e){"use strict";e.d(l,{p:()=>a});var r=e(762379),o=e(935662),n=e.n(o);const a=()=>r.Z.isFeatureEnabled(n().ASSET_AUTHORIZATION_GATE)},239462:function(b,l,e){"use strict";e.d(l,{Hz:()=>c,iI:()=>u,wQ:()=>f});var r=e(994336),o=e.n(r);let n;const a="AssetAuthorizationGate",i="session-storage",c=(d=>()=>{d==="in-memory"?n=void 0:d==="cookie"?o().set(a,"",{path:"/",secure:!0,expires:"Thu, 01 Jan 1970 00:00:00 GMT"}):d==="session-storage"&&sessionStorage.removeItem(a)})(i),u=(d=>h=>{d==="in-memory"?n=h:d==="cookie"?o().set(a,h,{path:"/",secure:!0}):d==="session-storage"&&sessionStorage.setItem(a,h)})(i),f=(d=>()=>{if(d==="in-memory")return n;if(d==="cookie")return o().get(a);if(d==="session-storage")return sessionStorage.getItem(a)||void 0})(i)},282995:function(b,l,e){"use strict";e.d(l,{H7:()=>i,U3:()=>f,i$:()=>c,h7:()=>u});var r=e(174161),o=e(149893);const n=d=>{(0,r.useEffect)(()=>{const h=g=>{let{data:_={source:""}}=g;const p=_.source===o.zd||_.source==="universal-checkout"&&_.type===o.bg.CLOSE_START;if(_.source===o.vI){d(!1);return}p&&d(!0)};return window.top.addEventListener("message",h),()=>{window.top.removeEventListener("message",h)}},[d])},a=r.createContext({shouldOverlayBeFocusLocked:!0,setShouldOverlayBeFocusLocked:d=>{}});function i(d){let{children:h}=d;const[g,_]=(0,r.useState)(!0);return n(_),r.createElement(a.Provider,{value:{shouldOverlayBeFocusLocked:g,setShouldOverlayBeFocusLocked:_}},h)}function c(){const{shouldOverlayBeFocusLocked:d}=(0,r.useContext)(a);return d}const u=d=>h=>{const{setShouldOverlayBeFocusLocked:g}=(0,r.useContext)(a);return(0,r.useEffect)(()=>(g(!1),()=>g(!0)),[g]),r.createElement(d,h)};function f(){const{setShouldOverlayBeFocusLocked:d}=(0,r.useContext)(a),h=(0,r.useCallback)(()=>d(!0),[d]),g=(0,r.useCallback)(()=>d(!1),[d]);return{lockFocus:h,unlockFocus:g}}},914960:function(){typeof console>"u"&&(console={assert:function(){},group:function(){},groupEnd:function(){},log:function(){},dir:function(){},warn:function(){},error:function(b){var l=Array.prototype.slice.call(arguments);throw new Error(l)}})},848371:function(b,l,e){"use strict";e.d(l,{ZP:()=>i,nH:()=>u});var r=e(230121),o=e(640695),n=e(347560);let a;o.Z.addActionListener(r.Z.BOOTSTRAP,f=>{a=f});function i(f,d){for(var h=arguments.length,g=new Array(h>2?h-2:0),_=2;_<h;_++)g[_-2]=arguments[_];class p extends f{onStaticBootstrap(P){const C=this.getStateFromContext(P);C&&this.setState(C)}constructor(P,...C){if(super(...C),P){const A=this.getStateFromContext(P);A&&(f.config&&f.config.setState?this.state=A:Object.assign(this.state||this,A))}this.bindListeners({onStaticBootstrap:r.Z.BOOTSTRAP}),this.exportPublicMethods({getStateFromContext:this.getStateFromContext})}}Object.assign(p,f);const y=Object.getOwnPropertyDescriptors(f);for(const O in y){const P=y[O];P.get&&Object.defineProperty(p,O,P)}return n.Z.createStore(p,d,a,...g)}function c(){a=void 0}function u(f){r.Z.bootstrap(f)}},178819:function(b,l,e){"use strict";e.d(l,{Z:()=>k});var r=e(347560),o=e(878062),n=e(312039),a=e(249134),i=e(142477),c=e(967764),u=e(922115),f=e(897071),d=e.n(f),h=e(461761),g=e.n(h),_=e(747002),p=e(538117),y=e(377790);function O(x,M,B){return M in x?Object.defineProperty(x,M,{value:B,enumerable:!0,configurable:!0,writable:!0}):x[M]=B,x}const P="https://events.squarespace.com/api/v1/events",C="https://events.stage.sqsp.net/api/v1/events",A=()=>(0,p.ni)()||(0,_.$$)()==="dev.squarespace.net"?C:P;class S{track(M){this.tracker.track(M)}constructor(){O(this,"tracker",void 0),this.tracker=new(d())({customSchemaName:"domains",url:A(),logging:!1},{event_owner_team:"domains",event_source:"web",user_member_account_id:g()(window,"Static.SQUARESPACE_CONTEXT.authenticatedAccount.id",null),user_website_id:g()(window,"Static.SQUARESPACE_CONTEXT.website.id",null),...(0,y.ZP)()})}}const T=new(d())({customSchemaName:"praetor",logging:!1,url:A(),useBeacon:!1},{actor:"system",action:"assign",object_type:"ab_test",event_owner_team:"domains",event_source:"web",experiment_namespace:"website-feature-flags",user_member_account_id:g()(window,"Static.SQUARESPACE_CONTEXT.authenticatedAccount.id",null),user_website_id:g()(window,"Static.SQUARESPACE_CONTEXT.website.id",null),...(0,y.ZP)()}),s=S;var v=e(250463),m=e(413344);class E extends s{track(M){return super.track({...M,product_page:v.ax.DOMAIN_TRANSFER_FLOW})}ineligiblityError(M){let{isDomainFirst:B,domainName:R,errorIdentifier:U,errorDetails:j}=M;this.track({actor:"user",action:"error",object_type:"panel",object_identifier:"domain-transfer-panel",product_area:B?v.V$.FRONTSITE:v.V$.INAPP,product_section:"eligibility",domain_name:R,error_identifier:U,error_details:j,tld:(0,m.Z)(R)})}}const L=new E;var W=e(276406),F=e.n(W);class G extends o.Z{trackTransferResult(M,B,R){const{transferAvailability:U}=M,j=v.cu[U];j&&L.ineligiblityError({isDomainFirst:R,domainName:B,errorIdentifier:"ineligible-transferring-domain",errorDetails:j})}getTransferDetails(M){let{domainName:B,isPurchasing:R,shouldLoadPrerequisites:U=!0,isDomainFirst:j=!1,isNsConnected:$=!1}=M;const ee=(0,u.x)(B);return te=>(te(),(U?i.Z.getAvailablePlans({planType:F().DOMAIN}):Promise.resolve()).then(()=>this.parseDomainParts(ee)).then(ie=>{const{currency:ne}=n.ZP.getState();this.setDefaultCurrency(ne);const pe=ie&&ie.topPrivateDomain||ie;return this.getTransferRecords(pe),c.Z.getTransferKit(pe).then(oe=>{var q;this.getTransferDetailsSuccess({transferKit:oe,domainName:pe,isNsConnected:$}),!(oe==null||(q=oe.tldFeatures)===null||q===void 0)&&q.requiresTldInfoForms&&a.Z.loadTldForms.defer([B]),R&&this.trackTransferResult(oe,B,j)}).catch(oe=>{this.getTransferDetailsFailure({domainName:ee,error:oe})})}))}parseDomainParts(M){return c.Z.parseDomainParts(M).catch(()=>M)}getTransferPreview(M,B,R){return U=>(U(),c.Z.getTransferPreview(M,B,R).then(j=>this.getTransferPreviewSuccess({transferPreview:j,currency:B,discountCode:R})).catch(this.getTransferPreviewFailure))}getTransferKit(M){return B=>(B(),c.Z.getTransferKit(M).then(this.getTransferKitSuccess).catch(this.getTransferKitFailure))}getTransferRecords(M){return B=>(B(),c.Z.getTransferRecords(M).then(this.getTransferRecordsSuccess).catch(this.getTransferRecordsFailure))}initiateTransfer(M){return B=>{B();const R=c.Z.initiateTransfer(M);return R.then(this.initiateTransferSuccess).catch(this.initiateTransferFailure),R}}constructor(){super(),this.generateActions("updateCleanState","discardDirtyState","setDefaultCurrency","parseDomainPartsSuccess","getTransferDetailsFailure","getTransferDetailsSuccess","getTransferKitFailure","getTransferKitSuccess","getTransferRecordsFailure","getTransferRecordsSuccess","getTransferPreviewFailure","getTransferPreviewSuccess","initiateTransferFailure","initiateTransferSuccess","clearTransferRequestError","reset","updateAuthCode","updateDNSPreferences","setIsTransferConnectOpen","setIsFrontsiteTransfer","setIsTroubleshootingFlow","clearDomainInfo","openNSConnect")}}const k=r.Z.createActions(G)},296765:function(b,l,e){"use strict";e.d(l,{Z:()=>C});var r=e(347560),o=e(485774),n=e.n(o),a=e(994336),i=e.n(a),c=e(848371),u=e(199195),f=e.n(u),d=e(44254),h=e.n(d);class g{buildEvent(S){const{websiteId:T,marketingId:s,memberAccountId:v,email:m,emailsha1:E}=this.getState();return Object.assign({},{websiteId:T,memberAccountId:v,marketingId:s,email:m,emailsha1:E},S)}getStateFromContext(S){const{website:T,authenticatedAccount:s}=S,v={websiteId:T==null?void 0:T.id},m=i().get("SS_MID");return m&&(v.marketingId=m),s&&(v.memberAccountId=s.id,s.email&&(v.email=h()(s.email),v.emailsha1=f()(s.email))),v}constructor(){this.exportPublicMethods({buildEvent:this.buildEvent})}}const _=(0,c.ZP)(g,"GTMContextStore");var p=e(850427);const y=(A,S)=>_.buildEvent(Object.assign({},S,{event:A})),O=(A,S)=>S&&n()(A,T=>T===S);class P{fireWithoutContext(S){return T=>{if(T(),O(p.Z,S.event)||this.fireEventNameFailure(S.event),!window.dataLayer){this.fireDataLayerFailure.defer(S.event);return}window.dataLayer.push(S),this.fireSuccess.defer(S.event)}}fire(S){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return s=>{s(),O(p.Z,S)||this.fireEventNameFailure(S);const v=y(S,T);if(!window.dataLayer){this.fireDataLayerFailure.defer(v.event);return}window.dataLayer.push(v),this.fireSuccess.defer(v.event)}}constructor(){this.generateActions("fireSuccess","fireEventNameFailure","fireDataLayerFailure")}}const C=r.Z.createActions(P)},979825:function(b,l,e){"use strict";e.d(l,{Z:()=>x});var r=e(936177),o=e(437327),n=e.n(o),a=e(413019),i=e(69637),c=e(224954),u=e.n(c),f=e(416203),d=e.n(f),h=e(27409),g=e(347560),_=e(856747);class p{get interval(){const{initialInterval:B,increment:R,maxInterval:U}=this.config,j=this.iterationsCount;return R>0?Math.min(B+j*R,U):B}reset(B){B&&Object.assign(this.config,B),this.iterationsCount=0;const U=this.timestamp+this.interval-Date.now();this.isRunning&&U>this.config.initialInterval&&(this.cancel(),this.run())}cancel(){clearTimeout(this._timer),this._timer=null,this.isRunning=!1}run(){const{maxIterations:B}=this.config;if(this.iterationsCount>=B){this.cancel();return}this.isRunning=!0,this._timer||(this._timer=setTimeout(()=>{this._timer=null,this.timestamp=Date.now(),this.intervalFn(),this.isRunning&&this.run()},this.interval),this.iterationsCount++)}constructor(B,{interval:R=1e3,increment:U=0,maxInterval:j=5e3,maxIterations:$=1e3}){this.intervalFn=B,this.config={initialInterval:R,increment:U,maxInterval:j,maxIterations:$},this.iterationsCount=0,this.timestamp=Date.now(),this.isRunning=!1}}const y=p,{MEDIA_UPLOAD_SERVICE_ASSET_PROCESSING_ONLY:O}=h,P={interval:2e3,increment:400,maxInterval:12e4,maxIterations:1e3},C=[n().WAITING,n().PROCESSING],A=M=>C.indexOf(M)>-1;let S=[],T;const s=M=>{T?T.reset():T=new y(M,P),T.run()},v=()=>{T&&(T.cancel(),T=null)};let m=[],E;const I=(M,B)=>{if(E)E.reset();else{const R=B?{...P,interval:B}:P;E=new y(M,R)}E.run()},L=()=>{E&&(E.cancel(),E=null)},W=M=>{let{isActive:B,isSuccess:R}=M;return!B&&R?n().SUCCESS:!B&&!R?n().FAILURE:n().PROCESSING},F=(M,B)=>M.map(R=>({...R,...B.find(U=>U.id===R.id)})),G=M=>({activeJobs:M.filter(B=>B.status===n().PROCESSING),successJobs:M.filter(B=>B.status===n().SUCCESS),failureJobs:M.filter(B=>B.status===n().FAILURE)});class k{monitorMediaUploadServiceJob(B){const R={...B,status:n().PROCESSING};return this.enqueueMediaUploadServiceJob(R),B.uploadSource&&(0,a.B1)(`${O}-${R.uploadToken.getId()}`,{tracer:i.Z}),I(()=>{m.length>0?this.loadMediaUploadServiceJobs():L()},R.checkStatusAfterMs),R}enqueueMediaUploadServiceJob(B){return m=m.concat(B),m}loadMediaUploadServiceJobs(){const B=m.map(R=>R.id);return _.Z.loadMediaUploadServiceJobs(B).then(R=>{let{data:U}=R;const j=U.map(ne=>({...ne,status:W(ne)})),$=F(m,j),{activeJobs:ee,successJobs:te,failureJobs:ie}=G($);this.updateMediaUploadServiceActiveJobs(ee),te.forEach(ne=>{(0,a.L8)(O,{requireStart:!0,start:`${O}-${ne.uploadToken.getId()}`}),this.mediaUploadServiceJobSuccess(ne)}),ie.forEach(ne=>{this.mediaUploadServiceJobFailure(ne),this.trackMediaUploadServiceJobFailure(ne)})}).catch(R=>{this.handleExpiredError(R,B),this.trackMediaUploadServiceJobError(R)})}updateMediaUploadServiceActiveJobs(B){return m=B,m}clearMediaUploadServiceActiveJobs(){return m=[],m}trackMediaUploadServiceJobFailure(B){(0,r.trackCaughtError)("damask",`Media Upload Job Failure: ${JSON.stringify(B)}`)}handleExpiredError(B,R){const U=B.status===403,j=R[0],$=m.find(ee=>ee.id===j);if(U&&$){const ee={...$,status:n().FAILURE},te=m.filter(ie=>ie.id!==ee.id);this.updateMediaUploadServiceActiveJobs(te),this.mediaUploadServiceJobFailure(ee)}}trackMediaUploadServiceJobError(B){const R=B.response,U=B.config,j={status:B.status||(R==null?void 0:R.status),url:U==null?void 0:U.url,message:B.message,runner:E&&{iterationsCount:E.iterationsCount,interval:E.interval,timestamp:E.timestamp}},$=(ee,te)=>te===""?void 0:te;(0,r.trackCaughtError)("damask",`Media Upload Job Error: ${JSON.stringify(j,$)}`)}cancelMediaUploadServiceJob(B){return R=>{R(B);const U=m.filter(j=>j.id!==B);this.updateMediaUploadServiceActiveJobs(U)}}monitor(B){return typeof B=="string"&&(B=B.split(/\s*,\s*/)),S=u()(S.concat(B).filter(R=>!!R)),S.length>0&&s(()=>{S.length===0?v():this.load(S)}),B}load(B){return _.Z.load(B).then(R=>{let{data:U}=R;return Array.isArray(U)&&U.length===0&&(U=B.map(j=>({id:j,status:n().SUCCESS}))),this.loadSuccess(U),U})}loadChildren(B){return _.Z.loadChildren(B).then(R=>{let{jobs:U}=R;return this.loadSuccess(U),U})}loadExisting(){return _.Z.loadExisting().then(B=>{let{data:R}=B;return this.loadSuccess(R),R})}loadSuccess(B){S=d()(S,B.filter(U=>!A(U.status)).map(U=>U.id));const R=B.filter(U=>U.status===n().SUCCESS);return R.length>0&&this.complete.defer(R.map(U=>{let{id:j}=U;return j})),B}cancel(B){return R=>{R(B);const U=S.indexOf(B);return U>-1&&S.splice(U,1),_.Z.delete(B)}}delete(B){return R=>{R(B);const U=S.indexOf(B);return U>-1&&S.splice(U,1),_.Z.delete(B)}}constructor(){this.generateActions("mediaUploadServiceJobSuccess","mediaUploadServiceJobFailure","complete")}}const x=g.Z.createActions(k)},230121:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560);class o{bootstrap(c){return c}}const n=r.Z.createActions(o);window.StaticActions=n;const a=n},365312:function(b,l,e){"use strict";e.d(l,{Z:()=>x});var r=e(936177),o=e(413019),n=e(69637),a=e(162120),i=e(703769),c=e(210750),u=e.n(c),f=e(27409),d=e(347560),h=e(891259),g=function(M){return M.IMAGE="IMAGE",M.UNSUPPORTED="UNSUPPORTED",M}(g||{});const _=g;function p(M){return M.includes("image")?_.IMAGE:_.UNSUPPORTED}function y(M){return p(M)===_.IMAGE}var O=e(988896),P=e(211568),C=e(979825);const{SITE_SERVER_ASSET_UPLOAD:A,MEDIA_UPLOAD_SERVICE_ASSET_UPLOAD:S,MEDIA_UPLOAD_SERVICE_ASSET_UPLOAD_ONLY:T}=f,s=()=>{};let v=[];const m=[],E=6,I="Upload token is invalid",L=u()(()=>{v.length>0&&m.length<E&&v.splice(0,Math.min(E-m.length,v.length)).forEach(M=>{let{token:B,dequeue:R}=M;m.push(B.getId()),R()})},100),W=M=>{const B=m.indexOf(M.getId());B>-1&&m.splice(B,1),L()},F=(M,B)=>{const{contentType:R,replaceItemId:U,Filedata:j,fileUrl:$}=B,ee=y(R);let te={...M};return U&&(te={...te,replaceItemId:U}),ee&&(te={...te,fileData:j,fileUrl:$}),te},G=(M,B,R)=>{let U={id:B.jobId,uploadToken:M,checkStatusAfterMs:B.checkStatusAfterMs,cancelable:!B.replaceItemId,uploadSource:R};return(B.fileData||B.fileUrl)&&(U={...U,interimFileData:B.fileData,interimFileUrl:B.fileUrl}),U};class k{uploadFileToMediaUploadService(B,R,U,j){return $=>{if(!(0,O.RA)(B))return this.mediaUploadServiceUploadFailure(B,new Error(I));j&&((0,o.B1)(`${S}-${B.getId()}`,{tracer:n.Z}),h.Z.assetUploadStart(B,j)),$({token:B,data:R});const ee={onProgress:ie=>this.uploadProgress({token:B,percent:ie}),onCancel:s},te=`${T}-${B.getId()}`;return j&&(0,o.B1)(te,{tracer:n.Z}),a.Z.authorize().then(()=>P.U8(B.getId(),R,U,ee)).then(ie=>((0,o.L8)(T,{requireStart:!0,start:te}),this.mediaUploadServiceUploadSuccess(B,ie,R,j))).catch(ie=>(a.Z.handleErrorResponse(ie),this.mediaUploadServiceUploadFailure(B,ie)))}}uploadFilesToMediaUploadService(B,R,U,j){const $=R.map((ee,te)=>({token:B[te],data:{...ee,fileCount:R.length}}));return v=v.concat($.map(ee=>{let{token:te,data:ie}=ee;return{token:te,dequeue:()=>this.uploadFileToMediaUploadService(te,ie,U,j)}})),L(),$}mediaUploadServiceUploadSuccess(B,R,U,j){let{data:$}=R;const ee=F($,U),te=G(B,ee,j);return W(B),C.Z.monitorMediaUploadServiceJob.defer(te),{token:B,data:{...ee,job:te}}}mediaUploadServiceUploadFailure(B,R){if(R instanceof i.CancellationError)return;const U=R.response,j=R.config,$={status:R.status||(U==null?void 0:U.status),url:j==null?void 0:j.url,message:R.message,data:U==null?void 0:U.data},ee=(te,ie)=>ie===""?void 0:ie;return(0,r.trackCaughtError)("damask",`Media Upload Error: ${JSON.stringify($,ee)}`),W(B),{token:B,error:R.message||R}}uploadFile(B,R,U){let j=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return $=>{if(!(0,O.RA)(B)){this.uploadFailure(B,new Error(I));return}j&&((0,o.B1)(`${A}-${B.getId()}`,{tracer:n.Z}),h.Z.assetUploadStart(B,j));const ee=ie=>this.uploadProgress({token:B,percent:ie}),te=s;return $({token:B,data:U}),P.cT(B.getId(),R,U,{onProgress:ee,onCancel:te}).then(ie=>this.uploadSuccess(B,ie,U),ie=>this.uploadFailure(B,ie))}}uploadFiles(B,R,U,j){const $=U.map((ee,te)=>({token:B[te],data:ee}));return v.push(...$.map(ee=>{let{token:te,data:ie}=ee;return{token:te,dequeue:()=>this.uploadFile(te,R,ie,j)}})),L(),$}uploadFromFileUrl(B,R,U){return j=>{if(!(0,O.RA)(B)){this.uploadFailure(B,new Error(I));return}return j({token:B,data:U}),P.r2(B.getId(),R,U).then($=>this.uploadSuccess(B,$,U),$=>(this.uploadFailure(B,$),Promise.reject({token:B,error:$})))}}uploadSuccess(B,R,U){let{data:j}=R;const{job:$,media:ee}=j,{replaceItemId:te,Filedata:ie,fileUrl:ne}=U;ee&&(j={job:$,contentItem:ee[0]}),U.contentType.indexOf("image")>-1?Object.assign(j,{replaceItemId:te,fileData:ie,fileUrl:ne}):te&&(j.replaceItemId=te),W(B);const pe=$&&$.id||j.processingJobId;return pe&&C.Z.monitor.defer(pe),{token:B,data:j}}uploadFailure(B,R){if(R instanceof i.CancellationError)return;const U=R.message||R.statusText,j={message:U,status:R.status,data:R.data},$=(ee,te)=>te===""?void 0:te;return(0,r.trackCaughtError)("damask",`Upload Error: ${JSON.stringify(j,$)}`),W(B),{token:B,error:U||R}}cancelUpload(B){const R=v.findIndex(U=>U.token===B);return R>-1&&v.splice(R,1),W(B),P.jC(B.getId()),B}constructor(){this.generateActions("uploadProgress")}}const x=d.Z.createActions(k)},479348:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(347560),o=e(456903);const n="/api/website-achievement";class a{grantAchievement(u){return o.default.post(n+"/"+u).then(f=>this.update(f.data))}loadAchievements(){return o.default.get(n).then(u=>this.update(u.data)).catch(u=>console.error(u))}constructor(){this.generateActions("update")}}const i=r.Z.createActions(a)},896136:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(347560),o=e(912867),n=e(271672);class a{load(){return u=>{u();const f=o.Z.loadCustomer().then(d=>(0,n.q)(d.data),d=>{let{response:h}=d;if(h.status===404)return null;throw h});return f.then(d=>{this.loadSuccess(d)},d=>{this.loadFailure(),console.error(d)}),f}}constructor(){this.generateActions("loadFailure","loadSuccess","saveSuccess")}}const i=r.Z.createActions(a)},343312:function(b,l,e){"use strict";e.d(l,{Ar:()=>O,Kc:()=>S,Zj:()=>y,bZ:()=>_,gm:()=>p,ll:()=>g,qR:()=>P,s3:()=>A});var r=e(461761),o=e.n(r),n=e(284106),a=e(714487);const i=T=>{var s,v;const m=T==null||(v=T.parentElement)===null||v===void 0||(s=v.parentElement)===null||s===void 0?void 0:s.getAttribute("data-current-context");return m&&JSON.parse(m)},c=T=>{const s=T==null?void 0:T.getAttribute("data-current-context");return s&&JSON.parse(s)},u=T=>{const s=Array.from(document.querySelectorAll("#product-quick-view")).find(m=>m.contains(T)),v=s==null?void 0:s.getAttribute("data-current-context");return v&&JSON.parse(v)},f=T=>{const s=T.querySelector(".sqs-add-to-cart-button");return s?s.getAttribute("data-quick-view-source"):null},d=(T,s)=>{T.setAttribute("disabled","true"),T.setAttribute("previousText",s)},h=T=>{T.removeAttribute("disabled"),T.removeAttribute("previousText")},g=T=>{const s=(0,a.t)("Select Option",null,{project:"apps.Commerce"}),v=T.parentElement,m=T.querySelector(".sqs-add-to-cart-button-inner");if(v&&m){const E=m.textContent||"";m.textContent=s,d(v,E),setTimeout(()=>{m.textContent=E,h(v)},2e3)}},_=T=>{const s=(0,a.t)("Sold Out",null,{project:"apps.Commerce"}),v=T.querySelector(".sqs-add-to-cart-button-inner");if(v){const m=v.textContent||"";v.textContent=s,d(T,m)}},p=T=>{if(T){const s=T.getAttribute("previousText");s&&(T.querySelector(".sqs-add-to-cart-button-inner").textContent=s),h(T)}};var y=function(T){return T.PLP="plp",T.PDP="pdp",T.ADD_ON="add-on",T.PRODUCT_BLOCK="product_block",T}({}),O=function(T){return T.NO_VARIANT_SELECTED="NO_VARIANT_SELECTED",T.VARIANT_UNAVAILABLE="VARIANT_UNAVAILABLE",T.OUT_OF_STOCK="OUT_OF_STOCK",T.QUANTITY_NOT_A_NUMBER="QUANTITY_NOT_A_NUMBER",T.SUB_WITH_FORM_FAILURE="SUB_WITH_FORM_FAILURE",T.SUB_QUANTITY_NOT_A_WHOLE_NUMBER="SUB_QUANTITY_NOT_A_WHOLE_NUMBER",T.SUB_API_FAILURE="SUB_API_FAILURE",T.EXPRESS_CHECKOUT_FAILURE="EXPRESS_CHECKOUT_FAILURE",T.CUSTOM_FORM_RENDER_ERROR="CUSTOM_FORM_RENDER_ERROR",T.CUSTOM_FORM_RENDER_ERROR_OUT_OF_STOCK="CUSTOM_FORM_RENDER_ERROR_OUT_OF_STOCK",T.API_FAILURE="API_FAILURE",T}({});const P=(T,s,v,m)=>{const E=o()(window,"Static.SQUARESPACE_CONTEXT"),I=E.website;let L=E.collection,W,F,G;const k=!!s.querySelector('[data-is-subscription="true"]'),x=!!s.querySelector(".use-form");switch(T){case"plp":{const B=i(s);W=B==null?void 0:B.productType,F=B;break}case"pdp":{const B=u(s);if(B)F={id:B.id,title:B.title},L={id:B.collectionId,title:void 0},W=B.productType,G=f(s);else{var M;W=(M=E.product)===null||M===void 0?void 0:M.productType.toString(),F=E.item}break}case"add-on":{const B=c(s);W=B==null?void 0:B.productType,F=B;break}case"product_block":{const B=i(s);W=B==null?void 0:B.productType,F=B;break}default:return}!I||!W||!F||!L||!v||n.Kc({website_id:I.id,page_id:F.id,cart_id:v.get("id"),product_page:G||T,product:{item_id:F.id,item_type:W,item_title:F.title,item_collection_id:L.id,item_collection_name:L.title,is_subscription:k},has_custom_form:x,is_quickview:!!G,error_type:m})},C=T=>{T.setAttribute("disabled","true")},A=T=>{const s=T.getAttribute("data-item-id");T.closest(`.grid-item[data-item-id="${s}"].sold-out`)&&(T!=null&&T.parentElement)&&_(T.parentElement)},S=T=>{let{pageType:s,item:v,cartId:m,isQuickView:E,hasCustomForm:I,errorType:L,contentCollection:W}=T;const F=o()(window,"Static.SQUARESPACE_CONTEXT"),G=o()(F,"website",null),k=W??o()(F,"collection",null);!G||!k||!v||!m||n.Kc({website_id:G.id,page_id:v.id,cart_id:m,product_page:s,is_quickview:!!E,has_custom_form:!!I,product:{item_id:v.id,item_type:String(v.type),item_title:v.title,item_collection_id:k.id,item_collection_name:k.title,is_subscription:v.isSubscription},error_type:L})}},997305:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(174161),o=e(725538),n=e(411722),a=e(714487);const i=u=>{let{dismissText:f,isOpen:d,message:h,onDismiss:g,position:_,testAttr:p,title:y,zIndex:O}=u;return r.createElement(o.Z.Transition,null,d&&r.createElement(o.Z,{onRequestClose:g,"data-test":p,"data-testid":p,zIndex:O},r.createElement(o.Z.Overlay,null),r.createElement(o.Z.Position,{position:_},r.createElement(n.Z,{title:y,message:h,buttons:[()=>r.createElement(n.Z.Button,{"data-test":"dismiss-btn","data-testid":"dismiss-btn",key:"close",onClick:g},f)]}))))};i.defaultProps={dismissText:(0,a.t)("Okay",null,{project:"src.shared"}),position:"center",testAttr:"",title:(0,a.t)("Something Happened",null,{project:"src.shared"})};const c=i},475356:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(174161),o=e(412166),n=e(184791);const c=u=>{let{testId:f="centered-activity-indicator"}=u;return r.createElement(o.Z,{position:"absolute",width:"100%",alignItems:"center",justifyContent:"center",top:0,left:0,right:0,bottom:0,sx:{pointerEvents:"none"},"data-test":f,"data-testid":f},r.createElement(n.Z,null))}},457811:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(174161),o=e(725538),n=e(411722),a=e(714487);const i=u=>{let{cancelButtonProps:f,cancelText:d,confirmButtonProps:h,confirmText:g,isOpen:_,message:p,position:y,title:O,onCancel:P,onConfirm:C,testAttr:A,confirmButtonSx:S,anchor:T,hasMargin:s=!1,className:v,hideCancel:m=!1}=u;const E=[()=>r.createElement(n.Z.Button,{"data-test":"confirm-btn","data-testid":"confirm-btn",key:"confirm",onClick:C,sx:S,...h},g)];return m||E.unshift(I=>{let{onRequestClose:L}=I;return r.createElement(n.Z.Button,{"data-test":"cancel-btn","data-testid":"cancel-btn",key:"close",onClick:L,...f},d)}),r.createElement(o.Z.Transition,null,_&&r.createElement(o.Z,{onRequestClose:P??C,className:v,"data-test":A,"data-testid":A},r.createElement(o.Z.Overlay,null),r.createElement(o.Z.Position,{position:y,anchor:T},r.createElement(n.Z,{m:s?8:0,title:O,message:p,buttons:E}))))};i.defaultProps={cancelText:(0,a.t)("Cancel",null,{project:"src.shared",notes:"oldKey: dialogCancel"}),confirmText:(0,a.t)("Confirm",null,{project:"src.shared",notes:"oldKey: dialogConfirm"}),hasMargin:!1,position:"center",testAttr:"",title:(0,a.t)("Are you sure?",null,{project:"src.shared"})};const c=i},89054:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(174161),o=e(983171);const a=u=>{const{children:f,onLearnMoreClick:d,premiumFeatureLabel:h,...g}=u;return r.createElement(o.__,{onClick:d,...g},h||f)};var i=e(106638);const c=(0,i.Z)(a,"feature-gate-badge")},517658:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(174161),o=e(983171),n=e(934951),a=e(106638);const i=u=>{let{children:f,hideDefaultText:d,onLearnMoreClick:h,onRequestUpgrade:g,sx:_,...p}=u;return r.createElement(o.__,{sx:{justifyContent:"flex-start",mb:1,..._},onClick:h,...p},f||(d?null:r.createElement(n.T,{project:"src.shared"},"Upgrade")))},c=(0,a.Z)(i,"feature-gate-label")},689891:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(153088),o=e(431262),n=e(106638);const a=(0,n.Z)(o.default,"feature-gate-logo")},970393:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(153088),o=e(325384),n=e(106638);const a=(0,n.Z)(o.Z,"feature-gate-panel")},332382:function(b,l,e){"use strict";e.d(l,{H0:()=>T});var r=e(795478),o=e.n(r),n=e(174161),a=e(934951),i=e(881707),c=e(600994),u=e(719484),f=e(725538),d=e(247509),h=e(983171),g=e(208935),_=e(924647);function p(s,v,m){return v in s?Object.defineProperty(s,v,{value:m,enumerable:!0,configurable:!0,writable:!0}):s[v]=m,s}const{BLOCK_FOCUS_IGNORE_CLASSNAME:y}=g;var O;class P extends(O=n.Component){render(){const{isOpen:v,upgradeTitle:m,upgradeDescription:E,upgradeCta:I,upgradeLearnMoreUrl:L,onRequestUpgrade:W,onRequestClose:F,...G}=this.props;return n.createElement(f.Z.Transition,null,v&&n.createElement(f.Z,{onRequestClose:k=>{F(k.event)},className:y,zIndex:_.Ue.BASE+1e4},n.createElement(f.Z.Overlay,null),n.createElement(f.Z.Position,{position:"center"},n.createElement(f.Z.Dialog,G,n.createElement(i.Z,{py:5,px:6,tabIndex:0,width:"sizes.700"},n.createElement(c.Z.Tertiary,{mb:4,onClick:F,"data-test":"modal-button-test"},n.createElement(a.T,{project:"src.shared"},"Close")),n.createElement(u.Z.Title,{py:1},m),n.createElement(u.Z.Subtitle,{color:"gray.300",pb:4,pt:1,m:0},E),n.createElement(h.Yz.Primary,{onClick:W,size:"large",sx:{width:"100%"}},I),L&&n.createElement(d.Z,{href:L,textStyle:"action",target:"_blank",textAlign:"center",width:"100%",display:"block",my:3},n.createElement(a.T,{project:"src.shared"},"Learn More")))))))}}p(P,"propTypes",{isOpen:o().bool.isRequired,onRequestClose:o().func.isRequired,onRequestUpgrade:o().func.isRequired,positionToMouse:o().bool,upgradeTitle:o().string.isRequired,upgradeDescription:o().string.isRequired,upgradeCta:o().string.isRequired,upgradeLearnMoreUrl:o().string});const C=P;var A=e(734245);const S=null,T=(0,A.Z)(C)},734245:function(b,l,e){"use strict";e.d(l,{M:()=>a,Z:()=>i});var r=e(174161),o=e(608280),n=e(553763);function a(c){let{isTrial:u,upgradeTitle:f,upgradeDescription:d,upgradeCta:h,premiumFeatureLabel:g,upgradeLearnMoreUrl:_}=c;return f=f??(u?n.Z.trialUpgradeTitle:n.Z.upgradeTitle),d=d??(u?n.Z.trialUpgradeDescription:n.Z.upgradeDescription),h=h??(u?n.Z.trialUpgradeCta:n.Z.upgradeCta),g=g??n.Z.premiumFeatureLabel,{upgradeTitle:f,upgradeDescription:d,upgradeCta:h,premiumFeatureLabel:g,upgradeLearnMoreUrl:_}}function i(c){const u=f=>r.createElement(c,{...f,...a(f)});return u.displayName=`WithLabels(${(0,o.default)(u)})`,u}},106638:function(b,l,e){"use strict";e.d(l,{Z:()=>oe});var r=e(174161),o=e(608280),n=e(861288),a=e.n(n),i=e(795478),c=e.n(i),u=e(819596),f=e(663634),d=e(935662),h=e.n(d),g=e(657010),_=e(161381),p=e(868192),y=e(144771),O=e.n(y),P=e(995821),C=e(506739),A=e(276406),S=e.n(A),T=e(149893),s=e(659519),v=e(553763),m=e(834105),E=e(406713),I=e(181124),L=e(734245),W=e(221661),F=e.n(W),G=e(998124),k,x,M,B,R,U;const j=new(F())({customSchemaName:"FeatureGate",sourceEnvironment:(0,G.isInternal)()?W.SourceEnvironment.STAGING:W.SourceEnvironment.PROD},{context_website_id:(M=window.Static)===null||M===void 0||(x=M.SQUARESPACE_CONTEXT)===null||x===void 0||(k=x.website)===null||k===void 0?void 0:k.id,member_account_id:(U=window.Static)===null||U===void 0||(R=U.SQUARESPACE_CONTEXT)===null||R===void 0||(B=R.authenticatedAccount)===null||B===void 0?void 0:B.id});function $(q){let{action:J="click",additionalFields:me,eventName:re,eventOwner:he="bundling",productSection:Ee="unspecified"}=q;const fe={action:J,actor:"user",admin_user_id:null,event_name:re,event_owner_team:he,event_source:"web",object_type:"feature-gate",product_area:"cms",product_section:Ee,...me};j.track(fe)}var ee=e(332382);function te(q,J,me){return J in q?Object.defineProperty(q,J,{value:me,enumerable:!0,configurable:!0,writable:!0}):q[J]=me,q}const ie={CLICK_LABEL:"UserClicksFeatureGateLabel",VIEW_LABEL:"UserViewsFeatureGateLabel",CLICK_MODAL_CTA:"UserClicksFeatureGateModalCTA",VIEW_MODAL:"UserViewsFeatureGateModal"},ne={CLICK:"click",VIEW:"view"};function pe(q,J){var me;class re extends(me=r.Component){componentDidMount(){this.handleTrackingEventsV0("display"),this.handleTrackingEventsV2(ie.VIEW_LABEL,J)}render(){const{isUpgradeModalOpen:Ee,isTrial:fe}=this.state;return[r.createElement(q,{key:"wrapped-component",premiumFeatureLabel:v.Z.premiumFeatureLabel,learnMoreLabel:v.Z.learnMoreLabel,description:v.Z.description,onLearnMoreClick:this.handleLearnMoreClick,onRequestUpgrade:this.handleUpgradeModalUpgradeClick,...this.props}),r.createElement(I.Z,{container:document.head,cacheKey:"feature-gate-upgrade-modal"},r.createElement(ee.H0,{isOpen:Ee,key:"upgrade-modal",isTrial:fe,onRequestClose:this.handleUpgradeModalDismiss,onRequestUpgrade:this.handleUpgradeModalUpgradeClick,...this.props}))]}constructor(Ee,fe){var H;super(Ee,fe),H=this,te(this,"handleTrackingEventsV0",z=>{const{analyticsId:_e}=this.props;(0,s.Z)("feature_gate",{action:z,identifier:_e,isTrial:this.state.isTrial,currentPlan:E.Z.getPaidWebsiteFeatureLevel()||null})}),te(this,"handleTrackingEventsV2",function(z){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"feature-gate-modal";const{analyticsId:ae}=H.props,{isTrial:ge}=H.state,Be=E.Z.getPaidWebsiteFeatureLevel()||null,{upgradeTitle:Ke,upgradeDescription:He}=(0,L.M)(H.props);$({action:[ie.VIEW_LABEL,ie.VIEW_MODAL].includes(z)?ne.VIEW:ne.CLICK,eventName:z,productSection:ae||window.location.pathname.substring(1).replace(/\//g,"-"),additionalFields:{current_plan:Be,modal_copy:He,object_display_name:Ke,object_type:_e,trigger_reason:ge?"TRIAL":"UPGRADE"}})}),te(this,"handleLearnMoreClick",()=>{const{isEditing:z}=this.props;this.handleTrackingEventsV0("learn_more_click"),this.handleTrackingEventsV2(ie.CLICK_LABEL,J),z?window.open(p.PREMIUM_FEATURES,"_blank"):(this.handleTrackingEventsV2(ie.VIEW_MODAL),this.setState({isUpgradeModalOpen:!0}))}),te(this,"handleUpgradeModalUpgradeClick",()=>{this.handleUpgradeModalDismiss(),this.handleTrackingEventsV0("upgrade_click"),this.handleTrackingEventsV2(ie.CLICK_MODAL_CTA);const{router:z,upgradePath:_e,onCtaClick:ae}=this.props,{isTrial:ge}=this.state;if(ae){ae();return}if((0,f.cr)(h().FEATURE_GATE_OPENS_UC_BY_DEFAULT)){const Ke=a()(),He=(0,u.z)()?S().SQUARESPACE:O().WEBSITE,ye=ge?T.vl.NEW_PURCHASE:T.vl.BILLING_PLAN_SWITCH;(0,T.j6)(He,ye,{eventChannel:Ke});return}const Be=_e??(ge?P.Z[C.Z.TRIAL_UPGRADE_PLAN]:P.Z[C.Z.UPGRADE_PLAN]);z?z.push({pathname:Be}):window.location.assign(`/config${Be}`)}),te(this,"handleUpgradeModalDismiss",()=>{this.setState({isUpgradeModalOpen:!1})}),this.state={isUpgradeModalOpen:!1,isTrial:m.Z.isTrial()}}}return te(re,"displayName",`WithLabelsAndAnalyticsHOC(${(0,o.default)(q)})`),te(re,"propTypes",{analyticsId:c().string.isRequired,isEditing:c().bool,upgradePath:c().string,router:g.Z.isRequired,onCtaClick:c().func}),(0,_.Z)(re)}const oe=pe},960970:function(b,l,e){"use strict";e.d(l,{Z:()=>n});const r=(a,i,c,u)=>{const f=i.value.length;c.innerText=`${f} / ${u}`,a.classList.toggle("error",f>u)},o=a=>{const i=a.querySelector("textarea");if(!i||i.dataset.characterCounter)return;i.dataset.characterCounter=!0;let c;if(c=parseInt(a.dataset.maxLength,10),c=isNaN(c)?0:Math.max(c,0),c===0)return;const u=document.createElement("div");u.style.textAlign="right",a.appendChild(u),r(a,i,u,c),i.addEventListener("input",f=>{r(a,i,u,c)})};function n(a){Array.from(a.querySelectorAll(".textarea[data-max-length]")).forEach(o)}},271672:function(b,l,e){"use strict";e.d(l,{D:()=>n,q:()=>r});const r=a=>{const i=Object.assign({},a);return i&&(i.postalCode=i.zip,delete i.zip,Object.assign(i,i.taxStatus),delete i.taxStatus),i},o=/(^\d{5}$)|(^\d{5}-\d{4}$)/,n=a=>o.test(a)},800191:function(b,l,e){"use strict";e.d(l,{D:()=>r,d:()=>o});var r=function(n){return n.CALENDAR="calendar",n.COURSE="course",n.FOLDER="folder",n.VIDEO_COLLECTION="lessons",n.PORTFOLIO="portfolio",n.PRODUCT="product",n}({}),o=function(n){return n.COURSE_ITEM="course-item",n.EVENT="event",n.VIDEO_ITEM="lesson",n.PORTFOLIO_ITEM="portfolio_item",n.STORE_ITEM="store_item",n}({})},883583:function(b,l,e){"use strict";e.d(l,{OX:()=>i,RI:()=>c,ZP:()=>d,t8:()=>f,vm:()=>a});var r=e(445208),o=e.n(r),n=function(h){return h.NONE="NONE",h.SCRYPT_HASH="SCRYPT_HASH",h.PRICING_PLAN="PRICING_PLAN",h.MEMBER_SITE="MEMBER_SITE",h.SSO="SSO",h}(n||{});const a=["NONE","SCRYPT_HASH","PRICING_PLAN","MEMBER_SITE","SSO"],i=h=>({[o().NONE]:"NONE",[o().SCRYPT_HASH]:"SCRYPT_HASH",[o().ACL_ID]:"NONE",[o().PRICING_PLAN]:"PRICING_PLAN",[o().MEMBER_SITE]:"MEMBER_SITE",[o().SSO]:"SSO"})[h],c=h=>typeof h!="string"?h:{NONE:o().NONE,SCRYPT_HASH:o().SCRYPT_HASH,PRICING_PLAN:o().PRICING_PLAN,MEMBER_SITE:o().MEMBER_SITE,SSO:o().SSO}[h],u=h=>Object.values(o()).includes(h),f=(h,g)=>(u(h)&&(h=i(h)),h===g),d=n},963699:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n.PUBLISHED="PUBLISHED",n.SCHEDULED="SCHEDULED",n.NEEDS_REVIEW="NEEDS_REVIEW",n.DRAFT="DRAFT",n.PRIVATE="PRIVATE",n.DELETED="DELETED",n}(r||{});const o=r},118415:function(b,l,e){"use strict";e.d(l,{h:()=>r,j:()=>o});const r="cookie-banner-rerender-event",o="cookie-banner-force-event"},924647:function(b,l,e){"use strict";e.d(l,{Ue:()=>r,_y:()=>o,gu:()=>a,j8:()=>i,jI:()=>n});const r={BASE:3e4},o="squarespace-managed-ui",n="dialog-screen-overlay",a=`.${o}`,i=`.${n}`},589543:function(b,l,e){"use strict";e.d(l,{QE:()=>i,c6:()=>a,wd:()=>n});var r=e(521237),o=e.n(r);const n={INDEX:"INDEX",REDIRECT:"REDIRECT",NONE:"NONE",VARIATION:"VARIATION"},a=u=>({[n.INDEX]:o().INDEX,[n.REDIRECT]:o().REDIRECT,[n.NONE]:o().NONE,[n.VARIATION]:o().VARIATION})[u],i=u=>({[o().INDEX]:n.INDEX,[o().REDIRECT]:n.REDIRECT,[o().NONE]:n.NONE,[o().VARIATION]:n.VARIATION})[u];var c=null},655446:function(b,l,e){"use strict";e.d(l,{F_:()=>n,VV:()=>a,X0:()=>o,aA:()=>i,ip:()=>r});const r="normal",o="italic",n="400",a="700",i={"%":{min:0,max:500,step:1},em:{min:0,max:10,step:.1},pt:{min:0,max:120,step:1},px:{min:0,max:120,step:1},rem:{min:0,max:10,step:.1},vh:{min:0,max:10,step:1},vw:{min:0,max:10,step:1}}},190188:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n[n.GET=1]="GET",n[n.POST=2]="POST",n[n.PUT=3]="PUT",n[n.DELETE=4]="DELETE",n}(r||{});const o=r},413951:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(714487);const n=(0,r.ox)()},497147:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(799357),o=e.n(r);const n=100,a=150,i=67,u={[o().CIRCLE]:n,[o().DIAMOND]:n,[o().BOTTOM_LEFT_CURVE]:n,[o().RABBET]:n,[o().FOUR_PETAL_FLOWER]:n,[o().FOUR_POINT_STAR]:n,[o().DESCENDING_RAMP]:n,[o().DESCENDING_STAIRS]:n,[o().OCTAGON]:n,[o().STEPPED_CROSS]:n,[o().TV]:n,[o().OPEN_BOOK]:n,[o().FLOWER]:n,[o().EIGHT_SIDED_SHIELD]:n,[o().ROUNDED_PENTAGON]:n,[o().GEAR]:n,[o().VERTICAL_OVAL]:a,[o().HOURGLASS]:a,[o().KEYSTONE]:a,[o().VERTICAL_PARALLELOGRAM]:a,[o().VERTICAL_RIGHT_LEANING_OVAL]:a,[o().ARCHED_WINDOW]:a,[o().VERTICAL_STACKED_CIRCLES]:a,[o().POINTED_WINDOW]:a,[o().AWARD]:a,[o().NARROW_HORIZONTAL_STACKED_PILLS]:a,[o().EGG]:a,[o().NARROW_POW]:a,[o().HORIZONTAL_STACKED_CIRCLES]:i,[o().WIDE_VERTICAL_STACKED_PILLS]:i,[o().WIDE_HORIZONTAL_STACKED_PILLS]:i,[o().HORIZONTAL_OVAL]:i,[o().HORIZONTAL_RIGHT_LEANING_OVAL]:i,[o().WIDE_EIGHT_SIDED_SHIELD]:i,[o().WIDE_OPEN_BOOK]:i}},507033:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n.CLOSED="CLOSED",n.LOADING="LOADING",n.OPEN="OPEN",n}(r||{});const o=r},411790:function(b,l,e){"use strict";e.d(l,{PS:()=>a,az:()=>c,i7:()=>o,nf:()=>u,qr:()=>i,yf:()=>n});var r=null;const o="container-vertical-top",n="container-vertical-center",a="container-vertical-bottom",i="container-horizontal-left",c="container-horizontal-center",u="container-horizontal-right"},117562:function(b,l,e){"use strict";e.d(l,{Z:()=>r});const r={CAMPAIGNS:"campaigns",COMPED:"comped",DOMAIN:"domain",GETTY_IMAGE:"getty-image",GOOGLE_APPS:"googleapps",IAP:"resold",MEMBER_AREAS:"member-areas",DIGITAL_PRODUCTS:"digital-products",SCHEDULING:"scheduling",V5_LINKED:"v5-linked",WEBSITE:"website",SQUARESPACE:"squarespace",RESOLD_WEBSITE:"resold-website"}},207518:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(423394);const o=["en","ja","tr"];function n(){const h=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("-")[0];return!h||o.includes(h)?"www":h}function a(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";d=d||(0,r.mg)();const h=n(d);return f.replace("www.squarespace.com",`${h}.squarespace.com`)}const u=Object.entries({CUSTOMER_CARE:"https://support.squarespace.com",DEVELOPER:"https://www.squarespace.com/developer-terms",DOMAINS:"https://www.squarespace.com/domains-tos/",IMAGES:"https://www.squarespace.com/image-terms/",LOGO:"https://www.squarespace.com/logo-terms/",PRIVACY:"https://www.squarespace.com/privacy/",REGISTRAR:"https://www.squarespace.com/domain-registration-agreement",SERVICE:"https://www.squarespace.com/terms-of-service/",TEMPLATES:"https://www.squarespace.com/template-license/",TRADEMARK:"https://www.squarespace.com/trademark-guidelines/",GOOGLE:"http://www.google.com/apps/intl/en/terms/reseller_premier_terms.html",PRODUCT_SPECIFIC:"https://www.squarespace.com/product-specific-terms"}).reduce((f,d)=>{let[h,g]=d;return f[h]=a(g),f},{})},553772:function(b,l,e){"use strict";e.d(l,{Ep:()=>_,K_:()=>O,NH:()=>S,Sg:()=>h,Ue:()=>d,c0:()=>g,d:()=>v,ec:()=>s,lg:()=>A,ob:()=>y,r7:()=>T,rg:()=>P});var r=e(719881),o=e(439939),n=e(924647),a=e(916661),i=e(784012),c=e(714487),u=e(378201);const f=n.Ue.BASE+10,d={TOOLBAR:f,MODALS:f+1},h=["left","center","right","justify"],g={NORMAL:{command:o.NI.PARAGRAPH,value:o.NI.PARAGRAPH,title:(0,c.t)("Normal",null,{project:"src.shared"})},PARAGRAPH_SMALL:{command:o.NI.PARAGRAPH_SMALL,value:o.NI.PARAGRAPH_SMALL,title:(0,c.t)("Small",null,{project:"src.shared"})},PARAGRAPH_LARGE:{command:o.NI.PARAGRAPH_LARGE,value:o.NI.PARAGRAPH_LARGE,title:(0,c.t)("Large",null,{project:"src.shared"})},HEADING_1:{command:o.NI.HEADING_1,value:o.NI.HEADING_1,title:(0,c.t)("Heading 1",null,{project:"src.shared"})},HEADING_2:{command:o.NI.HEADING_2,value:o.NI.HEADING_2,title:(0,c.t)("Heading 2",null,{project:"src.shared"})},HEADING_3:{command:o.NI.HEADING_3,value:o.NI.HEADING_3,title:(0,c.t)("Heading 3",null,{project:"src.shared"})},HEADING_4:{command:o.NI.HEADING_4,value:o.NI.HEADING_4,title:(0,c.t)("Heading 4",null,{project:"src.shared"})},CODE:{command:o.NI.CODE_BLOCK,value:o.NI.CODE_BLOCK,title:(0,c.t)("Code",null,{project:"src.shared"})}};a.Z.isSevenOne()&&(g.CODE.title=(0,c.t)("Monospace",null,{project:"src.seven-one"}),g.PARAGRAPH_LARGE.title=(0,c.t)("Paragraph 1",null,{project:"src.seven-one"}),g.NORMAL.title=(0,c.t)("Paragraph 2",null,{project:"src.seven-one"}),g.PARAGRAPH_SMALL.title=(0,c.t)("Paragraph 3",null,{project:"src.seven-one"}));const _={BUTTON_ALIGN_LEFT:"buttonAlignLeft",BUTTON_ALIGN_CENTER:"buttonAlignCenter",BUTTON_ALIGN_RIGHT:"buttonAlignRight",BUTTON_SIZE_SMALL:"buttonSizeSmall",BUTTON_SIZE_MEDIUM:"buttonSizeMedium",BUTTON_SIZE_LARGE:"buttonSizeLarge",BUTTON_LINK:"buttonLink",PASTE_PLAIN:"pasteAsPlainText",ENTER_FULL_SCREEN:"enterFullScreen",EXIT_FULL_SCREEN:"exitFullScreen",REMOVE_BLOCK:"removeBlock",NODE_FONT_MAPPING:"nodeFontMapping",AI_WRITER:u.V},p={SMALL:{command:_.BUTTON_SIZE_SMALL,value:i.u8.SMALL.value,title:i.u8.SMALL.label},MEDIUM:{command:_.BUTTON_SIZE_MEDIUM,value:i.u8.MEDIUM.value,title:i.u8.MEDIUM.label},LARGE:{command:_.BUTTON_SIZE_LARGE,value:i.u8.LARGE.value,title:i.u8.LARGE.label}},y={UNDO:{command:o.NI.UNDO,title:(0,c.t)("Undo",null,{project:"src.shared"}),icon:"undo"},REDO:{command:o.NI.REDO,title:(0,c.t)("Redo",null,{project:"src.shared"}),icon:"redo"},BOLD:{command:o.NI.STRONG,title:(0,c.t)("Bold",null,{project:"src.shared"}),icon:"bold"},ITALIC:{command:o.NI.EM,title:(0,c.t)("Italic",null,{project:"src.shared"}),icon:"italic"},LINK:{command:o.NI.LINK,title:(0,c.t)("Link",null,{project:"src.shared"}),icon:"link"},ALIGN_LEFT:{command:o.NI.LEFT_ALIGN,title:(0,c.t)("Left Align",null,{project:"src.shared"}),icon:"alignLeft"},ALIGN_CENTER:{command:o.NI.CENTER_ALIGN,title:(0,c.t)("Center Align",null,{project:"src.shared"}),icon:"alignCenter"},ALIGN_RIGHT:{command:o.NI.RIGHT_ALIGN,title:(0,c.t)("Right Align",null,{project:"src.shared"}),icon:"alignRight"},ALIGN_JUSTIFY:{command:o.NI.JUSTIFY_ALIGN,title:(0,c.t)("Justify Align",null,{project:"src.shared"}),icon:"alignJustify"},STYLES:{items:a.Z.isSevenOne()?[g.HEADING_1,g.HEADING_2,g.HEADING_3,g.HEADING_4,g.PARAGRAPH_LARGE,g.NORMAL,g.PARAGRAPH_SMALL,g.CODE]:[g.NORMAL,g.HEADING_1,g.HEADING_2,g.HEADING_3,g.CODE],placeholder:(0,c.t)("Format",null,{project:"src.shared"}),title:(0,c.t)("Paragraph Style",null,{project:"src.shared"}),name:"style"},BUTTON_ALIGN_LEFT:{command:_.BUTTON_ALIGN_LEFT,title:(0,c.t)("Align Left",null,{project:"src.shared"}),icon:"alignLeft"},BUTTON_ALIGN_CENTER:{command:_.BUTTON_ALIGN_CENTER,title:(0,c.t)("Align Center",null,{project:"src.shared"}),icon:"alignCenter"},BUTTON_ALIGN_RIGHT:{command:_.BUTTON_ALIGN_RIGHT,title:(0,c.t)("Align Right",null,{project:"src.shared"}),icon:"alignRight"},BUTTON_SIZES:{items:[p.SMALL,p.MEDIUM,p.LARGE],placeholder:(0,c.t)("Size",null,{project:"src.shared"}),title:(0,c.t)("Button Size",null,{project:"src.shared"}),name:"buttonSize"},BUTTON_LINK:{command:_.BUTTON_LINK,title:(0,c.t)("Change Link",null,{project:"src.shared"}),icon:"link"},QUOTE:{command:o.NI.BLOCK_QUOTE,title:(0,c.t)("Quote",null,{project:"src.shared"}),icon:"quote"},ORDERED_LIST:{command:o.NI.ORDERED_LIST,title:(0,c.t)("Insert/Remove Numbered List",null,{project:"src.shared"}),icon:"orderedList"},UNORDERED_LIST:{command:o.NI.UNORDERED_LIST,title:(0,c.t)("Insert/Remove Bulleted List",null,{project:"src.shared"}),icon:"unorderedList"},OUTDENT:{command:o.NI.OUTDENT,title:(0,c.t)("Decrease Indent",null,{project:"src.shared"}),icon:"outdent"},INDENT:{command:o.NI.INDENT,title:(0,c.t)("Increase Indent",null,{project:"src.shared"}),icon:"indent"},CLEAR_FORMAT:{command:o.NI.CLEAR_FORMATTING,title:(0,c.t)("Remove Text Style",null,{project:"src.shared"}),icon:"clear"},PASTE_PLAIN:{command:_.PASTE_PLAIN,title:(0,c.t)("Paste as Plain Text",null,{project:"src.shared"})+` (${o.iV.Mod}+Shift+V)`,icon:"clipboard"},ENTER_FULL_SCREEN:{command:_.ENTER_FULL_SCREEN,title:(0,c.t)("Enter Fullscreen",null,{project:"src.shared"}),icon:"maximize"},EXIT_FULL_SCREEN:{command:_.EXIT_FULL_SCREEN,title:(0,c.t)("Exit Fullscreen",null,{project:"src.shared"}),icon:"minimize"},REMOVE_BLOCK:{command:_.REMOVE_BLOCK,title:(0,c.t)("Remove Block",null,{project:"scripts-v6.block"}),icon:"trashcan"}},O={hardBreak:!1,paragraph:!1},P={CLASSIC:"classic",SIMPLE:"simple",PLAIN_TEXT:"plain_text",LINK_ONLY:"link_only"},C={paragraph:!0,aiWriter:!1,align:!1,backgroundColor:!1,bold:!1,clearFormatting:!1,code:!1,customData:!1,heading:!1,highlight:!1,indent:!1,italics:!1,fontMapping:!1,link:!1,lists:!1,pastePlain:!1,preserveWhitespace:!1,quote:!1,strikethrough:!1,subscript:!1,superscript:!1,textColor:!1,textColorMapping:!1,underline:!1},A={[P.PLAIN_TEXT]:C,[P.LINK_ONLY]:{...C,link:!0},[P.SIMPLE]:{...C,bold:!0,italics:!0,link:!0,clearFormatting:!0,pastePlain:!0,preserveWhitespace:[!0]},[P.CLASSIC]:{...C,paragraph:!0,heading:!0,code:!0,quote:!0,lists:!0,headingLevels:[1,2,3],align:h,listType:!0,indent:!0,preserveWhitespace:[!0],bold:!0,italics:!0,link:!0,underline:!0,strikethrough:!0,clearFormatting:!0,pastePlain:!0}},S=a.Z.isSevenOne()?{heading:!0,headingLevels:[1,2,3,4],paragraphVariant:!0}:{},T={[P.CLASSIC]:{...A[P.CLASSIC],code:{marks:"link"},...S},[P.SIMPLE]:A[P.SIMPLE],[P.PLAIN_TEXT]:A[P.PLAIN_TEXT]},s={textColorMapping:!0,scaledText:!0,highlight:!0},v={isDivider:!0}},299174:function(b,l,e){"use strict";e.d(l,{LQ:()=>c,Lw:()=>f,UP:()=>i});var r=e(419467),o=e.n(r),n=e(963218),a=e(714487),i=function(h){return h.LIGHTEST="white",h.LIGHTEST_BOLD="white-bold",h.LIGHT="light",h.LIGHT_BOLD="light-bold",h.DARK="dark",h.DARK_BOLD="dark-bold",h.BLACK="black",h.BLACK_BOLD="black-bold",h.BRIGHT="bright",h.BRIGHT_INVERSE="bright-inverse",h}({});const c={white:(0,a.t)("Lightest 1",null,{project:"apps.App"}),"white-bold":(0,a.t)("Lightest 2",null,{project:"apps.App"}),light:(0,a.t)("Light 1",null,{project:"apps.App"}),"light-bold":(0,a.t)("Light 2",null,{project:"apps.App"}),dark:(0,a.t)("Dark 1",null,{project:"apps.App"}),"dark-bold":(0,a.t)("Dark 2",null,{project:"apps.App"}),black:(0,a.t)("Darkest 1",null,{project:"apps.App"}),"black-bold":(0,a.t)("Darkest 2",null,{project:"apps.App"}),bright:(0,a.t)("Bright 2",null,{project:"apps.App"}),"bright-inverse":(0,a.t)("Bright 1",null,{project:"apps.App"})},f=[{id:"white",label:c.white,cardMappings:{headingColorId:n.SystemColorId.black,bodyColorId:n.SystemColorId.black,backgroundColorId:n.SystemColorId.white}},{id:"white-bold",label:c["white-bold"],cardMappings:{headingColorId:n.SystemColorId.safeDarkAccent,bodyColorId:n.SystemColorId.black,backgroundColorId:n.SystemColorId.white}},{id:"light",label:c.light,cardMappings:{headingColorId:n.SystemColorId.black,bodyColorId:n.SystemColorId.black,backgroundColorId:n.SystemColorId.lightAccent}},{id:"light-bold",label:c["light-bold"],cardMappings:{headingColorId:n.SystemColorId.safeDarkAccent,bodyColorId:n.SystemColorId.black,backgroundColorId:n.SystemColorId.lightAccent}},{id:"bright-inverse",label:c["bright-inverse"],cardMappings:{headingColorId:n.SystemColorId.accent,bodyColorId:n.SystemColorId.accent,backgroundColorId:n.SystemColorId.safeInverseAccent}},{id:"bright",label:c.bright,cardMappings:{headingColorId:n.SystemColorId.safeInverseAccent,bodyColorId:n.SystemColorId.safeInverseAccent,backgroundColorId:n.SystemColorId.accent}},{id:"dark",label:c.dark,cardMappings:{headingColorId:n.SystemColorId.white,bodyColorId:n.SystemColorId.white,backgroundColorId:n.SystemColorId.darkAccent}},{id:"dark-bold",label:c["dark-bold"],cardMappings:{headingColorId:n.SystemColorId.safeLightAccent,bodyColorId:n.SystemColorId.white,backgroundColorId:n.SystemColorId.darkAccent}},{id:"black",label:c.black,cardMappings:{headingColorId:n.SystemColorId.white,bodyColorId:n.SystemColorId.white,backgroundColorId:n.SystemColorId.black}},{id:"black-bold",label:c["black-bold"],cardMappings:{headingColorId:n.SystemColorId.safeLightAccent,bodyColorId:n.SystemColorId.white,backgroundColorId:n.SystemColorId.black}}],d=(0,r.keyBy)(f,"id")},802671:function(b,l,e){"use strict";e.d(l,{O6:()=>i,OQ:()=>o,aA:()=>c,c8:()=>f,kq:()=>u});var r=e(714487);const o="tweak-injected",a="#sectionThemesStyles",i=["%","","em","pt","px","rem","s","vh","vw"],c={"%":{min:0,max:100,step:1},em:{min:0,max:80,step:.1},pt:{min:0,max:1280,step:1},px:{min:0,max:1280,step:1},rem:{min:0,max:80,step:.1},vh:{min:0,max:100,step:1},vw:{min:0,max:100,step:1}},u=[{type:"category",name:(0,r.t)("Category",null,{project:"apps.App"})},{type:"type",name:(0,r.t)("Type",null,{project:"apps.App"})},{type:"all",name:(0,r.t)("All",null,{project:"apps.App"})}],f=u.map(d=>{let{type:h}=d;return h})},867826:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n.TRANSIENT="transient",n.GLOBAL="global",n.CHILD="child",n.ITEM="item",n}(r||{});const o=r},104495:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n[n.WEB_APP=1]="WEB_APP",n[n.MOBILE_APP=2]="MOBILE_APP",n[n.SECTION=3]="SECTION",n}(r||{});const o=r},784012:function(b,l,e){"use strict";e.d(l,{N3:()=>f,Yk:()=>c,u8:()=>a});var r=e(714487),o=e(168849),n=e.n(o);const a={SMALL:{value:"small",label:(0,r.t)("Small",null,{project:"scripts-v6.block"})},MEDIUM:{value:"medium",label:(0,r.t)("Medium",null,{project:"scripts-v6.block"})},LARGE:{value:"large",label:(0,r.t)("Large",null,{project:"scripts-v6.block"})}},i=a.MEDIUM,c={PRIMARY:{value:n().PRIMARY,label:(0,r.t)("Primary Button",null,{project:"scripts-v6.block"})},SECONDARY:{value:n().SECONDARY,label:(0,r.t)("Secondary Button",null,{project:"scripts-v6.block"})},TERTIARY:{value:n().TERTIARY,label:(0,r.t)("Tertiary Button",null,{project:"scripts-v6.block"})}},u=c.PRIMARY,f={LEFT:"left",CENTER:"center",RIGHT:"right"}},202560:function(b,l,e){"use strict";e.d(l,{u:()=>n});var r=e(784874);const o={[r.Z.ACCORDION]:"sqs-block-accordion",[r.Z.ACUITY]:"sqs-block-acuity",[r.Z.AMAZON]:"sqs-block-amazon",[r.Z.ARCHIVE]:"sqs-block-archive",[r.Z.AUDIO]:"sqs-block-audio",[r.Z.BUTTON]:"sqs-block-button",[r.Z.CALENDAR]:"sqs-block-calendar",[r.Z.CODE]:"sqs-block-code",[r.Z.COLLECTION_LINK]:"sqs-block-collectionlink",[r.Z.DONATION]:"sqs-block-donation",[r.Z.EMBED]:"sqs-block-embed",[r.Z.FIVEHUNDREDPIX]:"sqs-block-fivehundredpix",[r.Z.FLICKR]:"sqs-block-flickr",[r.Z.FORM]:"sqs-block-form",[r.Z.FOURSQUARE]:"sqs-block-foursquare",[r.Z.GALLERY]:"sqs-block-gallery",[r.Z.HORIZONTAL_RULE]:"sqs-block-horizontalrule",[r.Z.HTML]:"sqs-block-html",[r.Z.IMAGE]:"sqs-block-image",[r.Z.INSTAGRAM]:"sqs-block-instagram",[r.Z.LINK]:"sqs-block-link",[r.Z.MAP]:"sqs-block-map",[r.Z.MARKDOWN]:"sqs-block-markdown",[r.Z.MARQUEE]:"sqs-block-marquee",[r.Z.MENU]:"sqs-block-menu",[r.Z.NEWSLETTER]:"sqs-block-newsletter",[r.Z.OPENTABLE]:"sqs-block-opentable",[r.Z.OPENTABLE_V2]:"sqs-block-opentable-v2",[r.Z.POSTS_BY_AUTHOR]:"sqs-block-postsbyauthor",[r.Z.POSTS_BY_CATEGORY]:"sqs-block-postsbycategory",[r.Z.POSTS_BY_MONTH]:"sqs-block-postsbymonth",[r.Z.POSTS_BY_TAG]:"sqs-block-postsbytag",[r.Z.PRICING_PLAN]:"sqs-block-pricing-plan",[r.Z.PRODUCT]:"sqs-block-product",[r.Z.QUOTE]:"sqs-block-quote",[r.Z.RSS]:"sqs-block-rss",[r.Z.SEARCH]:"sqs-block-search",[r.Z.SHAPE]:"sqs-block-shape",[r.Z.SOCIAL_ACCOUNT_LINKS]:"sqs-block-socialaccountlinks",[r.Z.SOCIAL_ACCOUNT_LINKS_V2]:"sqs-block-socialaccountlinks",[r.Z.SOUNDCLOUD]:"sqs-block-soundcloud",[r.Z.SPACER]:"sqs-block-spacer",[r.Z.SUMMARY]:"sqs-block-summary",[r.Z.SUMMARY_V2]:"sqs-block-summary-v2",[r.Z.TAGCLOUD]:"sqs-block-tagcloud",[r.Z.TOCK]:"sqs-block-tock",[r.Z.TOURDATES]:"sqs-block-tourdates",[r.Z.TWITTER]:"sqs-block-twitter",[r.Z.VIDEO]:"sqs-block-video",[r.Z.WEBSITE_COMPONENT]:"sqs-block-website-component",[r.Z.ZOLA]:"sqs-block-zola"};function n(a){return a in o?o[a]:""}},59001:function(b,l,e){"use strict";e.d(l,{Z:()=>r});const r={topLeft:"top-left-radius",topRight:"top-right-radius",bottomLeft:"bottom-left-radius",bottomRight:"bottom-right-radius"}},878062:function(b,l,e){"use strict";e.d(l,{Z:()=>r});class r{generateActions(){for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i]}dispatch(){for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i]}constructor(n){}}},745747:function(b,l,e){"use strict";e.d(l,{Z:()=>n});function r(a,i,c){return i in a?Object.defineProperty(a,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[i]=c,a}class o{bindAction(i){for(var c=arguments.length,u=new Array(c>1?c-1:0),f=1;f<c;f++)u[f-1]=arguments[f]}bindActions(i){}bindListeners(i){}exportPublicMethods(i){}setState(i){}waitFor(i){}constructor(){r(this,"state",void 0)}}const n=o},347560:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(38193),o=e.n(r);const a=new(o())},621106:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(347560),o=e(878062),n=e(456903);const a="/api/domain-discount-status",c={getDomainDiscountStatus(){return n.default.get(a)}};class u extends o.Z{loadDiscountStatus(){return h=>(h(),c.getDomainDiscountStatus().then(g=>this.loadDiscountStatusSuccess(g.data)).catch(this.loadDiscountStatusFailure))}constructor(){super(),this.generateActions("loadDiscountStatusSuccess","loadDiscountStatusFailure")}}const f=r.Z.createActions(u)},583774:function(b,l,e){"use strict";e.d(l,{Xn:()=>h,kh:()=>c,IG:()=>u});var r=e(213865);const o=e.p+"texture-surfaces-90955f10e949c603.jpg",n=e.p+"couple-doing-taxes-8ed774e0c8bf8f83.jpg";var a=e(762535),i=e(494540),c=function(g){return g.CONNECT_MANAGED="connect-managed-domain",g.ENTRY="domain-entry",g.CONNECT="domain-connect",g.NAMESERVER_CONNECT_PREFACE="nameserver-connect-preface",g.NAMESERVER_CONNECT_SIGNIN="nameserver-connect-signin",g.NAMESERVER_CONNECT_UPDATE="nameserver-connect-update",g.NAMESERVER_CONNECT_SUCCESS="nameserver-connect-success",g.NAMESERVER_CONNECT_FAILURE="nameserver-connect-failure",g}({}),u=function(g){return g.SELECT_CONNECT="select-connect",g.TRY_AGAIN="try-ns-connect-again",g.REVIEW_INSTRUCTIONS="review-instructions",g}({});const f={height:"100%",width:"100%",objectFit:"cover",display:"block"},d={"domain-entry":{isSplitscreenWizard:!0,desktop:{imgSrc:o,styles:f},mobile:{imgSrc:o,styles:f}},"domain-connect":{isSplitscreenWizard:!0,desktop:{imgSrc:o,styles:f},mobile:{imgSrc:o,styles:f}},"nameserver-connect-preface":{isSplitscreenWizard:!0,desktop:{imgSrc:n,styles:f},mobile:{imgSrc:n,styles:f}},"nameserver-connect-signin":{isSplitscreenWizard:!0,desktop:{imgSrc:o,containerSx:{justifyContent:"center",alignItems:"center"},styles:{boxShadow:r.shadows.light[100],borderRadius:r.radii[2],objectFit:"contain",width:"90%"}},mobile:{imgSrc:o,containerSx:{justifyContent:"center",alignItems:"end"},styles:{boxShadow:r.shadows.light[100],borderRadius:"8px 8px 0 0",height:`calc(100% - ${r.space[4]})`}}},"nameserver-connect-update":{isSplitscreenWizard:!0,desktop:{imgSrc:o,containerSx:{justifyContent:"center",alignItems:"center"},styles:{boxShadow:r.shadows.light[100],borderRadius:r.radii[2],width:"90%"}},mobile:{imgSrc:o,containerSx:{justifyContent:"center",alignItems:"end"},styles:{boxShadow:r.shadows.light[100],borderRadius:"8px 8px 0 0",height:`calc(100% - ${r.space[4]})`}}},"nameserver-connect-success":{isSplitscreenWizard:!1,getRedirectUrl:g=>a.Z.forDomains()+"linked/"+g},"nameserver-connect-failure":{isSplitscreenWizard:!1},"connect-managed-domain":{isSplitscreenWizard:!1}},h=(g,_)=>{const p=d[g];if(!p.isSplitscreenWizard||!_)return p;const y=i.Ah[_];switch(g){case"nameserver-connect-signin":{p.desktop.imgSrc=y.desktop_assets.login,p.mobile.imgSrc=y.mobile_assets.login;break}case"nameserver-connect-update":{p.desktop.imgSrc=y.desktop_assets.update,p.mobile.imgSrc=y.mobile_assets.update;break}}return p}},494540:function(b,l,e){"use strict";e.d(l,{YK:()=>T,Ah:()=>S,WX:()=>s});var r=e(714584),o=e.n(r),n=e(351210),a=e.n(n);const i=e.p+"goDaddy-login-desktop-9fedc9bb06deba5d.jpg",c=e.p+"goDaddy-login-mobile-1f74549a966fe684.jpg",u=e.p+"godaddy-update-nameservers-desktop-a5fd4c648e6070a1.gif",f=e.p+"godaddy-update-nameservers-mobile-9361b1d55472bdb8.gif",d=e.p+"networksolutions-login-desktop-146b1831cfa4b06b.png",h=e.p+"networksolutions-login-mobile-936ecac8021da258.png",g=e.p+"networksolutions-update-nameservers-desktop-4ea9c6016e688c8b.gif",_=e.p+"networksolutions-update-nameservers-mobile-b14bc5ff503c636a.gif",p=e.p+"namecheap-login-desktop-1c6daa9c1cac3801.png",y=e.p+"namecheap-login-mobile-5934fbe2acccbb83.png",O=e.p+"namecheap-update-nameservers-desktop-b5eaf8f8c0d5424f.gif",P=e.p+"namecheap-update-nameservers-mobile-76f09d58c6305762.gif",C={[o().GODADDY]:!0,[o().NETWORK_SOLUTIONS]:!0,[o().NAMECHEAP]:!0},A=v=>v&&C[v],S={[o().GODADDY]:{login_url:"https://sso.godaddy.com",desktop_assets:{login:i,update:u},mobile_assets:{login:c,update:f}},[o().NETWORK_SOLUTIONS]:{login_url:"https://www.networksolutions.com/my-account/account-center/login",desktop_assets:{login:d,update:g},mobile_assets:{login:h,update:_}},[o().NAMECHEAP]:{login_url:"https://www.namecheap.com/myaccount/login/",desktop_assets:{login:p,update:O},mobile_assets:{login:y,update:P}}},T=["connect1.squarespacedns.com","connect2.squarespacedns.com"],s={[o().GODADDY]:a().GO_DADDY,[o().NETWORK_SOLUTIONS]:a().NETWORK_SOLUTIONS,[o().NAMECHEAP]:a().NAMECHEAP}},318488:function(b,l,e){"use strict";e.d(l,{M:()=>r});var r=function(o){return o.CONNECTED="CONNECTED",o.IN_PROGRESS="IN_PROGRESS",o.VERIFICATION_FAILURE="VERIFICATION_FAILURE",o.DNS_ERROR="DNS_ERROR",o}({})},990941:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=function(n){return n.POINT_TO_SQUARESPACE_SITE="POINT_TO_SQUARESPACE_SITE",n.PRESERVE_OTHER_DNS_RECORDS="PRESERVE_OTHER_DNS_RECORDS",n.MOVE_NAMESERVERS_TO_SQUARESPACE="MOVE_NAMESERVERS_TO_SQUARESPACE",n}(r||{});const o=r},211489:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(347560),o=e(745747),n=e(178819),a=e(621106),i=e(638774);const c={domainDiscountStatus:null};class u extends o.Z{onLoadDiscountStatusSuccess(h){this.setState({domainDiscountStatus:h})}onLoadDiscountStatusFailure(){this.setState({domainDiscountStatus:{isAvailable:!1,hasEligibleDomain:!1}})}handleResetState(){this.setState({...c})}constructor(){super(),this.state={...c},this.bindActions(a.Z),this.bindListeners({handleResetState:[n.Z.initiateTransferSuccess,i.Z.setPurchaseComplete]})}}const f=r.Z.createStore(u,"DomainDiscountStatusStore")},922115:function(b,l,e){"use strict";e.d(l,{K:()=>n,x:()=>o});var r=e(990941);const o=a=>a.trim().toLowerCase().replace(/^https?:\/\//,"").replace(/^(www\.)/,"").split("/")[0],n={default:{[r.Z.MOVE_NAMESERVERS_TO_SQUARESPACE]:!0,[r.Z.PRESERVE_OTHER_DNS_RECORDS]:!0,[r.Z.POINT_TO_SQUARESPACE_SITE]:!0},withoutSquarespaceNameservers:{[r.Z.MOVE_NAMESERVERS_TO_SQUARESPACE]:!1,[r.Z.PRESERVE_OTHER_DNS_RECORDS]:!0,[r.Z.POINT_TO_SQUARESPACE_SITE]:!1}}},200527:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(413344),o=e(250463),n=e(283635),a=e(859118),i=e(211489);class c extends n.Z{trackThirdPartyDomainEvent(d){const{isFrontsiteTransfer:h,transferKit:g}=a.Z.getState();return super.track({...d,product_area:h?o.V$.FRONTSITE:o.V$.INAPP,registrar_name:(g==null?void 0:g.registrarName)??null})}submitValidDomain(d){this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_SubmitValidDomain",action:"submit",object_type:"domain",object_identifier:"third-party-domain",domain_name:d,top_level_domain_name:(0,r.Z)(d)})}submitDomainError(d,h){this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_SubmitDomainError",action:"error",object_type:"domain",object_identifier:"third-party-domain",domain_name:d,error_details:h})}domainIneligibleForTransfer(d,h){this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_TransferIneligible",action:"error",object_type:"domain",object_identifier:"third-party-domain",domain_name:d,top_level_domain_name:(0,r.Z)(d),is_transferable:!1,error_details:h})}domainIneligibleForConnect(d){this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_ConnectIneligible",action:"error",object_type:"domain",object_identifier:"third-party-domain",domain_name:d,top_level_domain_name:(0,r.Z)(d),error_details:"domain-in-use"})}viewOptionSelection(d){this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_ViewOptionSelection",action:"view",object_type:"screen",object_identifier:"third-party-options",domain_name:d,top_level_domain_name:(0,r.Z)(d)})}viewNSConnectStep(d){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"unknown",g=arguments.length>2?arguments[2]:void 0,_=arguments.length>3?arguments[3]:void 0;this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_ViewNSConnectStep",action:"view",object_type:"step",object_identifier:"ns-connect-step",domain_name:d,top_level_domain_name:(0,r.Z)(d),registrar_name:h,wizard_step:g,is_transferable:!0,trigger_identifier:_})}viewDNSConnectStep(d){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"unknown",g=arguments.length>2?arguments[2]:void 0,_=arguments.length>3?arguments[3]:void 0;this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_ViewDNSConnectStep",action:"view",object_type:"step",object_identifier:"dns-connect-step",domain_name:d,top_level_domain_name:(0,r.Z)(d),registrar_name:h,wizard_step:g,is_automatic_dns_connect:_})}clickCTA(d){const{domainName:h,objectId:g,objectType:_,customData:p}=d;this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_ClickCTA",action:"click",object_type:_,object_identifier:g,domain_name:h,top_level_domain_name:(0,r.Z)(h),...p})}selectTransfer(d){this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_SelectTransfer",action:"select",object_type:"card",object_identifier:"domain-transfer-option",domain_name:d,top_level_domain_name:(0,r.Z)(d),is_transferable:!0})}selectConnect(d){let{domainName:h,isTransferable:g,isNSConnectProhibited:_}=d;this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_SelectConnect",action:"select",object_type:"card",object_identifier:"domain-connect-option",domain_name:h,top_level_domain_name:(0,r.Z)(h),is_transferable:g,error_details:_?"ns-connect-prohibited":void 0})}openAdvancedDnsSettings(d){this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_OpenAdvanceDNSSettings",action:"click",object_type:"button",object_identifier:"show-advanced-setting-button",domain_name:d,top_level_domain_name:(0,r.Z)(d),is_transferable:!0})}toggleDnsSetting(d,h){this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_ToggleDNSSettings",action:"click",object_type:"toggle",object_identifier:"dns-setting",domain_name:d,top_level_domain_name:(0,r.Z)(d),is_transferable:!0,dns_preference_name:h})}selectTransferLinkedDomain(d,h){const{domainDiscountStatus:g}=i.Z.getState();this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_SelectTransferLinkedDomain",action:"click",object_type:"button",object_identifier:h?"linked-panel-transfer-via-modal":"linked-panel-transfer",domain_name:d,top_level_domain_name:(0,r.Z)(d),is_transferable:!0,has_free_domain_promo:g==null?void 0:g.isAvailable})}openTransferBenefitsModal(d){const{domainDiscountStatus:h}=i.Z.getState();this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_OpenTransferBenefitsModal",action:"open",object_type:"modal",object_identifier:"transfer-benefits-modal-trigger",domain_name:d,top_level_domain_name:(0,r.Z)(d),is_transferable:!0,has_free_domain_promo:h==null?void 0:h.isAvailable})}closeTransferConnectModal(d,h){this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_CloseModal",action:"exit",object_type:"button",object_identifier:"transfer-connect-modal",domain_name:d,top_level_domain_name:(0,r.Z)(d),wizard_step:h})}clickItemLinkedDomain(d,h){this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_ClickItemLinkedDomain",action:"click",object_type:"button",object_identifier:h,domain_name:d,top_level_domain_name:(0,r.Z)(d),is_transferable:!!a.Z.getErrorMessage()})}clickReviewDnsSettings(d){this.trackThirdPartyDomainEvent({event_name:"ThirdPartyDomain_ClickReviewDnsSettings",action:"click",object_type:"button",object_identifier:"review-dns-settings-button",domain_name:d,top_level_domain_name:(0,r.Z)(d)})}constructor(){super("ThirdPartyDomain",{event_owner_team:"domains",event_source:"web",actor:"user"})}}const u=new c},953175:function(b,l,e){"use strict";e.d(l,{L:()=>r});var r=function(o){return o.DOMAIN_DETAILS="domain-details-page",o.USE_A_DOMAIN_I_OWN="use-a-domain-i-own",o}({})},180516:function(b,l,e){"use strict";e.d(l,{NQ:()=>f,cu:()=>c,oI:()=>u});var r=e(197749),o=e.n(r),n=e(990941),a=e(787586),i=e.n(a);const c={[o().UNSUPPORTED_TLD]:"unsupported-tld",[o().DOMAIN_EXISTS]:"domain-exists",[o().SQUARESPACE_MANAGED]:"squarespace-managed",[o().TRANSFER_IN_PROGRESS]:"transfer-in-progress",[o().PREMIUM]:"premium",[o().PROTECTED_KEYWORD]:"protected-keyword",[o().NOT_REGISTERED]:"not-registered",[o().NEW_REGISTRATION]:"new-registration",[o().TRADE_LOCK]:"trade-lock",[o().EXCEEDS_MAX_PERIOD]:"exceeds-max-period",[o().LOCKED]:"locked",[o().UNKNOWN]:"unknown",[o().WITHIN_EXPIRATION_PERIOD]:"within-expiration-period"},u={[i().INVALID_SYNTAX]:"invalid-syntax",[i().INVALID_NAME]:"protected-keyword"},f={[n.Z.POINT_TO_SQUARESPACE_SITE]:"point-to-squarespace",[n.Z.PRESERVE_OTHER_DNS_RECORDS]:"keep-other-records",[n.Z.MOVE_NAMESERVERS_TO_SQUARESPACE]:"move-nameservers"}},250463:function(b,l,e){"use strict";e.d(l,{V$:()=>o,L_:()=>i.L,cu:()=>u.cu,fr:()=>c,ax:()=>a});var r=function(f){return f.FRONTSITE="domains-frontsite",f.INAPP="domains-inapp",f}(r||{});const o=r;var n=function(f){return f.DOMAIN_TRANSFER_FLOW="domain-transfer-flow",f.PARKING_PAGE_ONBOARDING="parking-page-onboarding",f.GSUITE_PURCHASE_FLOW="gsuite-purchase-flow",f.TRANSFERRING_DOMAIN="transferring-domain",f.MANAGED_DOMAIN="managed-domain",f.LINKED_DOMAIN="linked-domain",f.PUBLISH_MODAL="publish-modal",f.RESOLD_DOMAIN="resold-domain",f}(n||{});const a=n;var i=e(953175),c=function(f){return f.MOVE_DOMAIN="move_domain",f.CONNECT_SQSP_DOMAIN="connect_sqsp_domain",f}({}),u=e(180516)},967764:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(456903),o=e(696049),n=e(76964),a=e(733285),i=e(990941);const c=(0,n.S)(o.default.fromJson,"basePrice","purchaseBreakdown.subtotal","purchaseBreakdown.totalBasePrice","purchaseBreakdown.totalCharge","purchaseBreakdown.totalDiscount","purchaseBreakdown.totalTax"),f={initiateTransfer(d){const{contactId:h,tldInfoId:g,currentNameServers:_,currentRecords:p,discountCode:y,dnsPreferences:O,domainName:P,userProvidedCountryCode:C,userProvidedPostalCode:A,userProvidedCurrencyCode:S,isDomainLocked:T,authCode:s}=d,v=O[i.Z.MOVE_NAMESERVERS_TO_SQUARESPACE]?[]:_,m=O[i.Z.PRESERVE_OTHER_DNS_RECORDS]?p:[],E=O[i.Z.POINT_TO_SQUARESPACE_SITE];return r.default.post("/api/domain-transfer-initiation",{addDefaultRecords:E,discountCode:y,domainName:P,nameServers:v,records:m,userProvidedCountryCode:C,userProvidedPostalCode:A,userProvidedCurrencyCode:S,adminContactId:h,ownerContactId:h,billingContactId:h,techContactId:h,tldInfoId:g,isDomainLocked:T,authCode:s.trim()}).then(I=>I.data)},getTransferPreview(d,h,g){return r.default.get(`/api/domain-transfer-preview/${d}`,{params:{currency:h,discountCode:g}}).then(_=>(_.data.invoice=(0,a.Z)(_.data.invoice),c(_.data)))},getTransferKit(d){return r.default.get(`/api/domain-transfer-kit/${d}`).then(h=>h.data)},getTransferRecords(d){return r.default.get(`/api/domain-transfer-records/${d}`).then(h=>h.data)},parseDomainParts(d){return r.default.post("/api/parsed-domain",{domainName:d}).then(h=>h.data)}}},100666:function(b,l,e){"use strict";e.d(l,{Z:()=>u});var r=e(456903),o=e(845193),n=e.n(o);const a="/api/rest/domains",i="/api/domains",u={loadDomains(f){return r.default.get(a,{params:{type:n()(f)?f:null}})},getEmailVerificationDetails(f){return r.default.get(a+`/${f}/email-verification-status`)},updateSiteIdentifier(f){return r.default.post("/api/domains/UpdateSiteIdentifier?squarespaceId="+f)},deleteDomain(f){return r.default.delete(a+`/${f}`)},getDomainByName(f){return r.default.get(i+`/${f}`)},createLinkedDomain(f){return r.default.post(a,f)},getLinkStatus(f){return r.default.get(a+`/${f}/link-status`)},getIsSiteTitleCustom(){return r.default.get(i+"/site-title/is-custom")},getUnifiedParkingPage(){return r.default.get("/api/unified-parking-page")}}},413344:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(o){const n=o.indexOf(".");if(n>=0)return o.slice(n+1)}},611630:function(b,l,e){"use strict";e.d(l,{Z:()=>y});var r=e(174161),o=e(456903);const n="/api/domains",i={getEmailForwardingEmails(O){return o.default.get(`${n}/${O}/email-forwarding`)},hasConflictingMXRecords(O){return o.default.get(`${n}/${O}/email-forwarding/has-conflicting-mx-records`)}},c="LOAD_EMAIL_FORWARDING_SET",u="LOAD_EMAIL_FORWARDING_SET_SUCCESS",f="LOAD_EMAIL_FORWARDING_SET_FAILURE",d={isLoading:!1,forwardingEmails:[],error:null,hasMXConflict:!1},h=(O,P)=>{switch(P.type){case c:return{...d,isLoading:!0};case u:return{...O,isLoading:!1,...P.payload};case f:return{...O,isLoading:!1,error:P.payload};default:return O}},g={},_={},y=O=>{const[P,C]=(0,r.useReducer)(h,d);return(0,r.useEffect)(()=>{if(!O)return;(async()=>{if(C({type:c}),g[O])C({type:u,payload:{forwardingEmails:g[O],hasMXConflict:_[O]??!1}});else try{var S;const[T,s]=await Promise.all([i.getEmailForwardingEmails(O),i.hasConflictingMXRecords(O)]),v=T.data,m=v==null||(S=v.value)===null||S===void 0?void 0:S.forwardingRules,E=s.data;g[O]=m,_[O]=E,C({type:u,payload:{forwardingEmails:m??[],hasMXConflict:E}})}catch(T){C({type:f,payload:T})}})()},[O]),{state:P}}},979221:function(b,l,e){"use strict";e.d(l,{h:()=>m});var r=e(935662),o=e.n(r),n=e(714487),a=e(627664),i=e(691059),c=e.n(i),u=e(696049),f=e(631755),d=e(792495),h=e.n(d);const g={trimZeroFractions:!1,group:!0},_=/^(\d+)(\d{3})/;function p(E){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:".";return E.replace(".",I)}function y(E){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",";for(;E.match(_);)E=E.replace(_,`$1${I}$2`);return E}function O(E){return{...f.dj,...E.DEFAULT||{}}}function P(E,I){return{...E.DEFAULT,...E[I]||{}}}function C(E,I,L){return L.trimZeroFractions&&c()(E)?0:(0,f.Nd)(I)}class A{static enableDebugging(){A.debug=!0}static disableDebugging(){A.debug=!1}format(I){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(I instanceof u.default))throw new Error("Format expects a Money instance.");L={...g,...L};const W=A.debug?"\u{1F4B0}":"",F=I.toFloat(),G=Math.abs(F),k=F<0?"-":"",x=I.currencyCode,M=P(this.templates,x),B=C(F,x,L);let R=String(h()(G,B).toFixed(B));R=p(R,M.decimalSeparator),L.group&&(R=y(R,M.thousandsSeparator));const U=M.symbol,j=M.formatter,$=j({currencyCode:x,symbol:U,value:R,sign:k});return W+$+W}constructor(I,L=!1){this.templates=f.WP[I]||{},this.templates.DEFAULT=O(this.templates),this.templates,L&&A.enableDebugging(),this.locale=I}}var S=e(663634);function T(E,I,L){return I in E?Object.defineProperty(E,I,{value:L,enumerable:!0,configurable:!0,writable:!0}):E[I]=L,E}const s={format:n.lb,get templates(){throw new Error("[MoneyFormatterProvider] custom templates are not supported in CLDR mode")}};class v{setUseCldrMode(I){this.useCldrMode=I}get formatter(){return this.useCldrMode?s:this.commerceMoneyFormatter}constructor(I=!1){T(this,"useCldrMode",void 0),T(this,"commerceMoneyFormatter",void 0),this.useCldrMode=I,this.commerceMoneyFormatter=new A("native")}}const m=new v((0,S.cr)(o().CLDR_NUMBER_FORMATTER))},719881:function(b,l,e){"use strict";var r=e(153088),o=e(524598),n=e(811699),a=e(714487);(0,n.U)(a.ZP)},276309:function(b,l,e){"use strict";var r=e(153088),o=e(524598),n=e(619412),a=e(714487);(0,n.U)(a.ZP)},89092:function(b,l,e){"use strict";var r=e(458327),o=e(153088),n=e(276309),a=e(595543),i=e(714487);(0,a.U)(i.ZP)},843165:function(b,l,e){"use strict";var r=e(153088),o=e(276309),n=e(524598),a=e(134902),i=e(714487);(0,a.U)(i.ZP)},58468:function(b,l,e){"use strict";var r=e(153088),o=e(68468),n=e(276309),a=e(524598),i=e(910749),c=e(714487);(0,i.U)(c.ZP)},916523:function(b,l,e){"use strict";var r=e(153088),o=e(175823),n=e(68468),a=e(638204);const i="brandSystem.colorPicker";function c(h){return e(259802)(`./${i}.${h}.yaml`)}const{getI18nInstance:u,setI18nInstance:f}=(0,a.setupLibrary)(i,c);var d=e(714487);f(d.ZP)},87554:function(b,l,e){"use strict";var r=e(153088),o=e(150782),n=e(714487);(0,o.U)(n.ZP)},367915:function(b,l,e){"use strict";var r=e(87554),o=e(463351),n=e(708427),a=e(714487);(0,n.U)(a.ZP)},627664:function(b,l,e){"use strict";var r=e(714487),o=e(743115);(0,o.U)(r.ZP)},612203:function(b,l,e){"use strict";var r=e(463351)},463351:function(b,l,e){"use strict";var r=e(461984),o=e(714487);(0,r.U)(o.ZP)},156130:function(b,l,e){"use strict";var r=e(153088)},153088:function(b,l,e){"use strict";var r=e(319),o=e(714487);(0,r.U)(o.ZP)},714011:function(b,l,e){"use strict";var r=e(89092),o=e(627664),n=e(458327),a=e(101311),i=e(612203)},144775:function(b,l,e){"use strict";var r=e(153088),o=e(101311)},814710:function(b,l,e){"use strict";var r=e(153088),o=e(714487),n=e(912150);(0,n.setI18nInstance)(o.ZP)},687006:function(b,l,e){"use strict";var r=e(153088)},175823:function(b,l,e){"use strict";var r=e(153088),o=e(68468)},72510:function(b,l,e){"use strict";var r=e(709771),o=e(714487),n=e(101311),a=e(58468);(0,r.setI18nInstance)(o.ZP)},27226:function(b,l,e){"use strict";var r=e(698779),o=e(714487),n=e(276309),a=e(72510),i=e(719881);(0,r.setI18nInstance)(o.ZP)},68468:function(b,l,e){"use strict";var r=e(726671),o=e(714487);(0,r.U)(o.ZP)},458327:function(b,l,e){"use strict";var r=e(153088),o=e(101311),n=e(280045),a=e(984080),i=e(377105),c=e(714487);(0,n.U)(c.ZP),(0,a.U)(c.ZP),(0,i.U)(c.ZP)},101311:function(b,l,e){"use strict";var r=e(153088),o=e(68468),n=e(280045),a=e(714487);(0,n.U)(a.ZP)},524598:function(b,l,e){"use strict";var r=e(153088),o=e(369202),n=e(714487);(0,o.U)(n.ZP)},600663:function(b,l,e){"use strict";var r=e(714487),o=e(638204);const n="websites-collection-utils";function a(u){return e(428070)(`./${n}.${u}.yaml`)}const{getI18nInstance:i,setI18nInstance:c}=(0,o.setupLibrary)(n,a);c(r.ZP)},430183:function(b,l,e){"use strict";var r=e(832978),o=e(714487);(0,r.U)(o.ZP)},377790:function(b,l,e){"use strict";e.d(l,{ST:()=>n,Ue:()=>o,ZP:()=>a});var r=e(423394);const o=(0,r.mg)(),n=(0,r.xp)()||o;function a(){return{website_locale:n,member_account_locale:o}}},934951:function(b,l,e){"use strict";e.d(l,{CN:()=>i,T:()=>a,ij:()=>d,jM:()=>h,k7:()=>f});var r=e(59794),o=e(714487);const n=new r.default(o.ZP),{T:a,Plural:i,FormattedCurrency:c,FormattedNumber:u,FormattedDateTime:f,RelativeTime:d,FormattedMoney:h}=n},69637:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(128617);const o=r.g.getTracer("default")},478278:function(b,l,e){"use strict";e.d(l,{Z:()=>q});var r=e(367915),o=e(936177),n=e.n(o),a=e(461037),i=e(343312),c=e(714487);const u=J=>{const me=J.length;return me===1?(0,c.t)("Please select the {option} option.",{option:J[0]},{project:"apps.Commerce"}):me===2?(0,c.t)("Please select the {option1} and {option2} options.",{option1:J[0],option2:J[1]},{project:"apps.Commerce"}):(0,c.t)("Please select the {optionsList}, and {lastOption} options.",{optionsList:J.slice(0,-1).join(", "),lastOption:J[J.length-1]},{project:"apps.Commerce"})},f=(0,c.t)("Sorry, that item variant is unavailable. Please select another variant.",null,{project:"apps.Commerce"}),d=(0,c.t)("Sorry, we do not have enough of that item available.",null,{project:"apps.Commerce"}),h=(0,c.t)("Quantity must be a number.",null,{project:"apps.Commerce"}),g=(0,c.t)("Add...",null,{project:"apps.Commerce"}),_=(0,c.t)("Added!",null,{project:"apps.Commerce"}),p=(0,c.t)("Unable to Add Item",null,{project:"apps.Commerce"}),y=(0,c.t)("Unable to Purchase Item",null,{project:"apps.Commerce"}),O=(0,c.t)("Either your session has expired or you do not have cookies enabled. We cannot continue to checkout.",null,{project:"apps.Commerce"}),P=(0,c.t)("Select a denomination for the Gift Card",null,{project:"apps.Commerce"}),C=function(){let J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const re=J?y:p;new window.Y.Squarespace.Widgets.Alert({position:window.Y.Squarespace.Widgets.Confirmation.ANCHOR.CENTER,"strings.title":re,"strings.message":me})},A=J=>{let{productId:me,selectedVariant:re,quantity:he,additionalFields:Ee,callback:fe,win:H}=J;H.Y.Squarespace.Singletons.ShoppingCart.addEntry(me,re,he,Ee,(z,_e)=>fe(z,_e),void 0)};var S=function(J){return J[J.PHYSICAL=1]="PHYSICAL",J[J.DIGITAL=2]="DIGITAL",J[J.SERVICE=3]="SERVICE",J[J.GIFT_CARD=4]="GIFT_CARD",J}({}),T=null,s=function(J){return J.ADDING="ADDING",J.ADDED="ADDED",J}({}),v=e(994336),m=e.n(v),E=e(461761),I=e.n(E),L=e(985913);const W=()=>{if(m().get("hasCart")!=="true"&&!m().get("CART"))throw new Error(O);window.top&&(window.top.location="/commerce/goto-checkout")},F=J=>{J&&window.top&&(window.top.location=`/checkout/subscribe?cartToken=${J}`)},G=(J,me)=>{const re=encodeURIComponent(J),he=me?encodeURIComponent(me.sku):null,fe=`/checkout/giftcard?websiteId=${I()(window,"Static.SQUARESPACE_CONTEXT.website.id",null)}&giftCardProductId=${re}${me?"&sku="+he:""}`;(0,L.F)(window.Y)?window.top&&(window.top.location=fe):window.location.href=fe};var k=e(456903),x=e(784874);const M=`/api/template/GetTemplateSchema?type=${x.Z.FORM}`,B="/api/3/commerce/cart/subscription",R=async()=>await k.default.get(M),U=async J=>await k.default.post(B,J);var j=e(284106),$=e(657408);const ee=async J=>{let{formData:me,productId:re,selectedVariant:he,onSuccess:Ee,onError:fe,win:H,pageType:z}=J;const{data:_e}=await R();H.Y.Squarespace.CartUtils._setAdditionalFieldsFormTemplate(_e),H.Y.Squarespace.CartUtils._verifyItemInStock({itemId:re,variant:he,inStockCb:()=>{var ae,ge;H.Y.Squarespace.CartUtils._openAdditionalFieldsForm(me,Be=>{Ee(Be)}),j.Tu({website_id:((ge=(0,$.getWebsiteContext)())===null||ge===void 0||(ae=ge.website)===null||ae===void 0?void 0:ae.id)||"",product_page:z,product:{item_id:re}})},outOfStockCb:()=>{fe(d)}})},te="product:addToCart:status",ie=J=>{J.dispatchEvent(new CustomEvent(te,{detail:{status:s.ADDING}}))},ne=J=>{setTimeout(()=>{J.dispatchEvent(new CustomEvent(te,{detail:{}}))},1e3)},pe=J=>{setTimeout(()=>{J.dispatchEvent(new CustomEvent(te,{detail:{status:s.ADDED}})),setTimeout(()=>{J.dispatchEvent(new CustomEvent(te,{detail:{}}))},2e3)},1e3)};function oe(J,me,re){return me in J?Object.defineProperty(J,me,{value:re,enumerable:!0,configurable:!0,writable:!0}):J[me]=re,J}class q{destroy(){this.node.removeEventListener("product:addToCart",this.addToCartEvent)}constructor(me,re=window,he=null){oe(this,"node",void 0),oe(this,"win",void 0),oe(this,"quickViewSource",void 0),oe(this,"addToCartEvent",Ee=>{const{pageType:fe,product:H,quantity:z,selectedVariant:_e,unselectedVariantOptions:ae,isInStock:ge,expressCheckout:Be,addToCartText:Ke,subscriptionId:He,isQuickView:ye,collection:Le=null}=Ee.detail,Ue=()=>this.quickViewSource==="product-block"?i.Zj.PRODUCT_BLOCK:ye?i.Zj.PLP:fe,Xe=Ce=>{try{const we=this.win.Y.Squarespace.Singletons.ShoppingCart;i.Kc({pageType:Ue(),item:{id:H.id,type:H.productType,title:H.title,isSubscription:!!He},cartId:we.get("id"),hasCustomForm:!!H.additionalFieldsFormId,contentCollection:Le,isQuickView:ye,errorType:Ce})}catch(we){n().trackCaughtError("commerce-merch","trackAddToCart",we.stack)}},Fe=H.productType===S.GIFT_CARD;if(H.userDefinedVariantOptions.length&&ae.length){if(Xe(i.Ar.NO_VARIANT_SELECTED),Fe){C(!0,P);return}C(Be,u(ae));return}if(H.userDefinedVariantOptions.length&&!_e){C(Be,f),Xe(i.Ar.VARIANT_UNAVAILABLE);return}if(!ge){C(Be,d),Xe(i.Ar.OUT_OF_STOCK);return}isNaN(Number(z))&&(C(Be,h),Xe(i.Ar.QUANTITY_NOT_A_NUMBER));const ht=async Ce=>{const we={itemId:H.id,sku:_e&&_e.sku,additionalFields:JSON.stringify(Ce??{})};we.subscriptionOptionId=He;try{const{data:$e}=await U(we);F($e.cartToken)}catch($e){const{response:Ot}=$e;C(Be,Ot.data.message),Xe(i.Ar.SUB_WITH_FORM_FAILURE)}},Ne=Ce=>{ie(this.node),A({productId:H.id,quantity:z,selectedVariant:_e,additionalFields:Ce,win:this.win,callback:(we,$e)=>{if(we){C(Be,we),ne(this.node),Xe(i.Ar.API_FAILURE);return}if($e){if(Be){try{W()}catch(Ot){C(Be,Ot.message),ne(this.node),Xe(i.Ar.EXPRESS_CHECKOUT_FAILURE)}return}fe===i.Zj.PLP&&setTimeout(()=>{a.Z.showAddedItemPopover($e)},1e3),pe(this.node)}}})};if(H.additionalFieldsFormId){const Ce={getData:$e=>{if($e==="form")return JSON.stringify(H.additionalFieldsForm);if($e==="original-label")return Ke}},we=$e=>{Xe(),He?ht($e):Ne($e)};ee({formData:Ce,productId:H.id,selectedVariant:_e,onSuccess:we,pageType:Ue(),onError:$e=>C(Be,$e),win:this.win}).catch(()=>{C(),Xe(i.Ar.CUSTOM_FORM_RENDER_ERROR)});return}return Xe(),Fe?G(H.id,_e):He?ht(null):Ne(null)}),this.node=me,this.win=re,this.quickViewSource=he,this.node.addEventListener("product:addToCart",this.addToCartEvent)}}},991735:function(b,l,e){"use strict";e.d(l,{Z:()=>A});var r=e(941834),o=e.n(r),n=e(791760),a=e.n(n),i=e(119381),c=e.n(i),u=e(41798),f=e.n(u),d=e(722448),h=e.n(d),g=e(195593),_=e.n(g),p=e(845193),y=e.n(p),O=e(848371);const P=S=>_()(S)&&S.every(T=>y()(T));class C{getStateFromContext(T){let{accessPermissions:s}=T;if(P(s))return(0,r.Set)(s)}hasPermission(T){const s=this.getState(),v=typeof T=="string"?h()[T]:T;if(v===void 0)throw new Error(T?`Permission '${T}' not found.`:"Permission is undefined.");return s.has(v)}hasAllPermissions(T){return a()(T,this.hasPermission.bind(this))}hasAnyPermission(T){return c()(T,this.hasPermission.bind(this))}isAdmin(){return this.hasPermission(h().ADMIN)}constructor(){this.state=(0,r.Set)(),this.exportPublicMethods({hasPermission:this.hasPermission,hasAllPermissions:this.hasAllPermissions,hasAnyPermission:this.hasAnyPermission,isAdmin:this.isAdmin})}}const A=(0,O.ZP)(f()(C,{onDeserialize(S){return r.Set.of(S)}}),"AccessPermissionStore")},348500:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(848371),o=e(745747);class n extends o.Z{getStateFromContext(c){let{authenticatedAccount:u}=c;return u}}const a=(0,r.ZP)(n,"StaticAuthenticatedAccountStore")},859118:function(b,l,e){"use strict";e.d(l,{Z:()=>A});var r=e(347560),o=e(745747),n=e(174161),a=e(934951),i=e(714487),c=e(197749),u=e.n(c),f=e(178819),d=e(868192),h=e(922115),g=e(990941),_=e(200527),p=e(180516),y=e(583774);const O={authCode:"",dnsPreferences:h.K.default,isDirty:!1,isSaved:!1},P={...O,cleanFormState:{...O},domainName:"",errorMessage:"",isLoading:!1,transferKit:null,transferPreview:null,transferRecords:null,getTransferRecordsFailed:!1,transferRequestError:null,selectedCurrency:"",transferDetailsRequestFailed:!1,unsupportedTld:"",transferId:"",isTransferConnectOpen:!1,isFrontsiteTransfer:!1,isTroubleshootingFlow:!1,isNsConnected:!1,transferConnectWizardStepId:y.kh.ENTRY,nsConnectWizardEntryPoint:y.IG.SELECT_CONNECT,isLoadingTransferRecords:!1};class C extends o.Z{prepareTransferKitForCheckout(){const{authCode:T,dnsPreferences:s,transferRecords:v,transferKit:m,domainName:E,isNsConnected:I}=this.state;return Object.entries(s).forEach(L=>{const[W,F]=L;F||_.Z.toggleDnsSetting(E,p.NQ[W])}),{authCode:T,addDefaultRecords:I?!1:s[g.Z.POINT_TO_SQUARESPACE_SITE],nameServers:s[g.Z.MOVE_NAMESERVERS_TO_SQUARESPACE]?[]:v==null?void 0:v.nameservers,records:s[g.Z.PRESERVE_OTHER_DNS_RECORDS]?v==null?void 0:v.dnsRecords:[],hasIpsTag:m==null?void 0:m.tldFeatures.hasIpsTag}}getErrorMessage(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const{domainName:s,errorMessage:v,transferDetailsRequestFailed:m,transferKit:E}=this.state,{helpLink:I,registrarName:L}=E||{};if(m&&!T)return n.createElement(a.T,{project:"src.shared"},"An error occurred while determining transfer eligibility for this domain. Please try again later.");const W=E?E.transferAvailability:"",F=W==="",G=W===u().AVAILABLE||W===u().LINKED_ON_ANOTHER_SITE||W===u().LOCKED;if(!v&&(G||F))return null;const k=s.slice(s.indexOf(".")+1),x=(0,i.t)("instructions to unlock a domain name",null,{project:"src.shared"}),M=(0,i.t)("{instructions} at {registrarName}",{instructions:x,registrarName:L},{project:"src.shared"}),B=n.createElement("a",{target:"_blank",href:I},L?M:x),R={[u().TRANSFER_IN_PROGRESS]:n.createElement(a.T,{project:"src.shared"},"This domain transfer is already in progress."),[u().DOMAIN_EXISTS]:n.createElement(a.T,{move:n.createElement("a",{href:d.MOVE_SQUARESPACE_DOMAIN,target:"_blank"},n.createElement(a.T,{project:"src.shared"},"move it to a different Squarespace site?")),project:"src.shared"},"This domain is already registered on this site. Did you mean to {move}"),[u().NOT_REGISTERED]:n.createElement(a.T,{domainName:s,project:"src.shared"},"{domainName} isn\u2019t a registered domain.")},U={...R,[u().UNSUPPORTED_TLD]:n.createElement(a.T,{unsupportedTld:k,project:"src.shared"},"{unsupportedTld} domains are not currently supported."),[u().SQUARESPACE_MANAGED]:n.createElement(a.T,{thisGuide:n.createElement("a",{href:d.MOVE_SQUARESPACE_DOMAIN,target:"_blank"},n.createElement(a.T,{project:"src.shared"},"this guide")),project:"src.shared"},"This domain is registered on another Squarespace site. To move it here, follow {thisGuide}."),[u().NEW_REGISTRATION]:n.createElement(a.T,{domainName:s,project:"src.shared"},"{domainName} can\u2019t be transferred because it was registered in the last 60 days."),[u().TRADE_LOCK]:n.createElement(a.T,{domainName:s,project:"src.shared"},"{domainName} can\u2019t be transferred because it was transferred in the last 60 days."),[u().EXCEEDS_MAX_PERIOD]:n.createElement(a.T,{domainName:s,project:"src.shared"},"{domainName} can\u2019t be transferred because it exceeds our maximum registration period of 10 years."),[u().LOCKED]:n.createElement(a.T,{domainName:s,instructions:B,project:"src.shared"},"{domainName} must be unlocked before transfer. Please see our {instructions}."),[u().PREMIUM]:n.createElement(a.T,{domainName:s,project:"src.shared"},"{domainName} isn\u2019t eligible for a transfer. Please see our transfer requirements."),[u().UNKNOWN]:n.createElement(a.T,{domainName:s,project:"src.shared"},"{domainName} isn\u2019t eligible for a transfer. Please see our transfer requirements."),[u().PROTECTED_KEYWORD]:n.createElement(a.T,{domainName:s,learnMore:n.createElement("a",{href:d.DOMAIN_LIMITATIONS,target:"_blank"},n.createElement(a.T,{project:"src.shared"},"Learn more")),project:"src.shared"},"{domainName} can\u2019t be transferred because it contains a protected keyword. {learnMore}"),[u().WITHIN_EXPIRATION_PERIOD]:n.createElement(a.T,{project:"src.shared"},"The domain can not be transferred because it is expiring in the next 60 days.")};return T?R[W]:U[W]||n.createElement(a.T,{project:"src.shared"},"We don\u2019t recognize that format. Please enter only your domain name and TLD, like example.com.")}onReset(){this.setState({...P})}onClearDomainInfo(){this.setState({domainName:"",transferKit:null})}onGetTransferKit(){this.setState({isLoading:!0})}onGetTransferKitSuccess(T){this.setState({transferKit:T,isLoading:!1})}onGetTransferKitFailure(){this.setState({isLoading:!1})}onGetTransferRecords(){this.setState({getTransferRecordsFailed:!1,isLoadingTransferRecords:!0})}onGetTransferRecordsSuccess(T){this.setState({transferRecords:T,isLoadingTransferRecords:!1})}onGetTransferRecordsFailure(){this.setState({getTransferRecordsFailed:!0,isLoadingTransferRecords:!1})}onGetTransferPreview(){this.setState({isLoading:!0})}onSetDefaultCurrency(T){this.setState({selectedCurrency:T})}onGetTransferPreviewSuccess(T){let{transferPreview:s,currency:v}=T;this.setState({transferPreview:s,selectedCurrency:v||this.state.selectedCurrency,isLoading:!1})}onGetTransferPreviewFailure(){this.setState({isLoading:!1})}onInitiateTransfer(){this.state.isLoading||this.setState({isLoading:!0})}onInitiateTransferSuccess(T){let{id:s,transferId:v}=T;this.setState({isLoading:!1,transferId:s||v})}onInitiateTransferFailure(T){this.setState({isLoading:!1,transferRequestError:T})}onClearTransferRequestError(){this.setState({transferRequestError:null})}onGetTransferDetails(){this.setState({isLoading:!0})}onGetTransferDetailsSuccess(T){let{transferKit:s,domainName:v,isNsConnected:m}=T;this.setState({isLoading:!1,transferKit:s,domainName:v,isNsConnected:m})}onGetTransferDetailsFailure(T){let{domainName:s,error:v}=T;this.setState({transferDetailsRequestFailed:!!v,isLoading:!1,errorMessage:v.message,domainName:s})}onUpdateAuthCode(T){this.setState({authCode:T,isDirty:!0})}onClearAuthCode(){this.setState({authCode:""})}onUpdateDNSPreferences(T){this.setState(s=>({dnsPreferences:{...s.dnsPreferences,...T},isDirty:!0}))}onUpdateCleanState(){this.setState(T=>({cleanFormState:{...O,isSaved:!0,authCode:T.authCode,dnsPreferences:T.dnsPreferences}}))}onDiscardDirtyState(){this.setState(T=>T.cleanFormState)}onSetIsTransferConnectOpen(T){this.setState({...T?P:{},isTransferConnectOpen:T})}onOpenNSConnect(T){let{stepId:s,entryPoint:v=y.IG.SELECT_CONNECT}=T;this.setState({isTransferConnectOpen:!0,transferConnectWizardStepId:s,nsConnectWizardEntryPoint:v})}onSetIsFrontsiteTransfer(T){this.setState({isFrontsiteTransfer:T})}onSetIsTroubleshootingFlow(T){this.setState({isTroubleshootingFlow:T})}constructor(){super(),this.state={...P},this.bindActions(f.Z),this.exportPublicMethods({getErrorMessage:this.getErrorMessage,prepareTransferKitForCheckout:this.prepareTransferKitForCheckout})}}const A=r.Z.createStore(C,"DomainTransferStore")},704761:function(b,l,e){"use strict";e.d(l,{Z:()=>y});var r=e(437327),o=e.n(r),n=e(798893),a=e.n(n),i=e(413019),c=e(69637),u=e(27409),f=e(891259),d=e(848371),h=e(365312),g=e(979825);const _=[o().WAITING,o().PROCESSING];class p{onMonitorMediaUploadServiceJob(P){this.setState({[P.id]:P})}onMediaUploadServiceJobSuccess(P){const C={assetId:P.assetId,libraryId:P.libraryId};this.setState({[P.id]:{...P,data:C}})}onMediaUploadServiceJobFailure(P){this.setState({[P.id]:P})}onCancelMediaUploadServiceJob(P){const C=Object.assign({},this.state[P],{status:o().CANCELLED});(C.interimFileData||C.interimFileUrl)&&(delete C.interimFileData,delete C.interimFileUrl),this.setState({[P]:C})}getStateFromContext(P){let{pendingJobs:C,recentJobs:A}=P,S=[];if(C&&C.length>0&&(S=S.concat(C),g.Z.monitor.defer(C.map(T=>T.id))),A&&A.length>0&&(S=S.concat(A)),S.length>0)return this.convertJobsArrayToMap(S)}onUploadSuccess(P){let{token:C,data:A}=P;const{job:S,replaceItemId:T,fileUrl:s,fileData:v}=A;if(S){const m={status:o().WAITING,type:S.type,data:S.data,cancelable:!T,uploadToken:C};S.type===a().IMAGE_PROCESSING&&(m.interimFileData=v,m.interimFileUrl=s),this.setState({[S.id]:m})}}onMonitor(P){if(P=[].concat(P).filter(C=>!this.state[C]),P.length>0){const C=P.reduce((A,S)=>(A[S]={status:o().WAITING},A),{});this.setState(C)}}onLoadSuccess(P){this.setState(this.convertJobsArrayToMap(P))}onComplete(P){P.forEach(C=>{const A=this.state[C].uploadToken;A&&((0,i.L8)(u.SITE_SERVER_ASSET_UPLOAD,{requireStart:!0,start:`${u.SITE_SERVER_ASSET_UPLOAD}-${A.getId()}`,tracer:c.Z}),f.Z.assetUploadFinish(A))})}onCancel(P){const C=Object.assign({},this.state[P],{status:o().CANCELLED});(C.interimFileData||C.interimFileUrl)&&(delete C.interimFileData,delete C.interimFileUrl),this.setState({[P]:C})}convertJobsArrayToMap(P){return P.reduce((C,A)=>{const S=this.state[A.id];return C[A.id]={status:A.status,messages:A.messages,type:A.type,data:A.data||S&&S.data,cancelable:S&&S.cancelable,uploadToken:S&&S.uploadToken,childJobIds:A.childJobs&&A.childJobs.map(T=>T.id)},S&&A.type===a().IMAGE_PROCESSING&&_.includes(A.status)&&(C[A.id].interimFileData=S.interimFileData,C[A.id].interimFileUrl=S.interimFileUrl),A.childJobs&&A.childJobs.length>0&&A.childJobs.forEach(T=>{C[T.id]={status:T.status,messages:T.messages,type:T.type,data:T.data}}),C},{})}getJobById(P){return this.state[P]}constructor(){this.state={},this.bindListeners({onMonitorMediaUploadServiceJob:g.Z.MONITOR_MEDIA_UPLOAD_SERVICE_JOB,onMediaUploadServiceJobSuccess:g.Z.MEDIA_UPLOAD_SERVICE_JOB_SUCCESS,onMediaUploadServiceJobFailure:g.Z.MEDIA_UPLOAD_SERVICE_JOB_FAILURE,onCancelMediaUploadServiceJob:g.Z.CANCEL_MEDIA_UPLOAD_SERVICE_JOB,onUploadSuccess:h.Z.UPLOAD_SUCCESS,onMonitor:g.Z.MONITOR,onLoadSuccess:g.Z.LOAD_SUCCESS,onComplete:g.Z.COMPLETE,onCancel:[g.Z.CANCEL,g.Z.DELETE]}),this.exportPublicMethods({getJobById:this.getJobById})}}const y=(0,d.ZP)(p,"JobStore")},630056:function(b,l,e){"use strict";e.d(l,{Z:()=>s});var r=e(419467),o=e(723796),n=e(347560),a=e(37755);function i(v,m,E){return m in v?Object.defineProperty(v,m,{value:E,enumerable:!0,configurable:!0,writable:!0}):v[m]=E,v}const c=(0,o.hu)("UndoStack","#448"),u={POP:"pop",PUSH:"push",UNDO:"undo",REDO:"redo"};class f{constructor(){var m=this;i(this,"_operations",[]),i(this,"_position",0),i(this,"_hooks",new Set),i(this,"getState",()=>({operations:this._operations,position:this._position})),i(this,"getStack",()=>this._operations),i(this,"getPosition",()=>this._position),i(this,"isAtBeginning",()=>this._position===0),i(this,"canUndo",()=>!this.isAtBeginning()&&!(0,r.get)(this.peekState(),"options.isInitial",!1)),i(this,"isAtEnd",()=>this._position===this._operations.length),i(this,"canRedo",()=>!this.isAtEnd()),i(this,"isValidPosition",E=>E===parseInt(E,10)&&E>=0&&E<=this._operations.length),i(this,"_runHooks",E=>{let{operation:I,state:L}=E;return this._hooks.forEach(W=>W({operation:I,state:L}))}),i(this,"addHook",E=>(this._hooks.add(E),()=>this._hooks.delete(E))),i(this,"reset",()=>(this._position=0,this._trim(),this)),i(this,"_trim",()=>(this._position<this._operations.length&&(this._operations.length=this._position),this)),i(this,"pushState",(E,I)=>(c("pushState",{value:E,options:I}),this._trim(),this._operations.push({value:E,options:I}),this._position++,this._runHooks({operation:u.PUSH,state:this.getState()}),{value:E,options:I})),i(this,"peekState",function(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:m._position;return E===0?{}:m.isValidPosition(E)?m._operations[E-1]:{}}),i(this,"popState",()=>{if(this.isAtBeginning())return null;this._trim();const E=this._operations.pop();return this._position=this._operations.length,this._runHooks({operation:u.POP,state:this.getState()}),E}),i(this,"undo",()=>this.canUndo()?(this._position--,this._runHooks({operation:u.UNDO,state:this.getState()}),!0):!1),i(this,"redo",()=>this.isAtEnd()?!1:(this._position++,this._runHooks({operation:u.REDO,state:this.getState()}),!0))}}var d=e(802671),h=e(209496),g=e(613852),_=e(134922),p=e(685896),y=e(574922),O=e(138002),P=e(754861);function C(v,m,E){return m in v?Object.defineProperty(v,m,{value:E,enumerable:!0,configurable:!0,writable:!0}):v[m]=E,v}const A=(0,o.hu)("TweakStore","#ff00ff"),S=100;class T{setMultipleValues(m){const{tweakValuesSaved:E,tweakApi:I,webFontsByCssString:L}=this.state,{activeFontCssStrings:W,changedFontTweaks:F,tweakValues:G,tweakDefinitions:k}=(0,p.Z)({...this.state,tweakValues:m,noValidate:!0}),x=G;I&&I.getFrameWindow()&&Object.keys(W).forEach(B=>{(0,P.m)(L[B],{win:I.getFrameWindow()})});const M=this.getIsDirtyByTweaks({tweakValuesCurrent:x,tweakValuesSaved:E});return{activeFontCssStrings:W,changedFontTweaks:F,tweakDefinitions:k,tweakValuesCurrent:x,isDirty:M}}changeMultipleValues(m){return this.setMultipleValues({...this.state.tweakValuesCurrent,...m})}onFetchData(m){this.setState({loading:!0,loaded:!1,saving:!1,tweakApi:m})}onFetchDataSuccess(){if(this.setState({loading:!1,loaded:!0}),this.state.isUndoEnabled){const m=this.getUndoPatch();this.state.undoStack.pushState(m,{isInitial:!0}),this.setState({undoPosition:this.state.undoStack.getPosition()}),A("Initialized undoStack")}}onFetchDataFailure(m){console.error(m),this.setState({loading:!1,error:"There was an error loading the data for this store"})}onFetchTemplateTweakSettingsSuccess(m){const E={...m},I=(0,h.C5)(m.tweakDefinitions),{tweakValues:L,changedFontTweaks:W,activeFontCssStrings:F,tweakDefinitions:G}=(0,p.Z)({...this.state,tweakValues:m.tweakValues,mixinTweakDefinitions:I.mixinTweakDefinitions,tweakDefinitions:I.tweakDefinitions}),k=(0,g.Z)({tweakDefinitions:G,tweakValuesCurrent:L,visibleDefinitions:this.state.visibleDefinitions,filterString:this.state.filterString,selectedDefinitions:this.state.selectedDefinitions,showOnlyWhenPresent:this.state.showOnlyWhenPresent,groupType:this.state.groupType}),x=Object.assign({isDirty:!1,tweakValuesCurrent:L,tweakValuesSaved:L,activeFontCssStrings:F,initialActiveFontCssStrings:F,changedFontTweaks:W,tweakDefinitions:G,mixinTweakDefinitions:I.mixinTweakDefinitions,rawData:Object.assign(E,{tweakValues:L})},k);this.setState(x)}onFetchTweakEnginePropertiesSuccess(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.setState({rawData:m})}onFetchWebFontsSuccess(m){const E=(0,r.keyBy)(m,"cssString"),{tweakDefinitions:I}=(0,p.Z)({...this.state,tweakValues:this.state.tweakValuesCurrent,webFontsByCssString:E});this.setState({webFontsByCssString:E,tweakDefinitions:I})}onLoadTypekitKitSuccess(m){this.setState({typekitKitFonts:m})}onUpdateMultipleFields(m){this.setState(this.changeMultipleValues(m)),this.onRequestAddToHistoryStack()}onUpdateMultipleFontFields(m){const{tweakDefinitions:E,tweakValuesCurrent:I,tweakValuesSaved:L,mixinTweakDefinitions:W}=this.state,F={...I,...m},G=Object.entries(m).reduce((M,B)=>{let[R,U]=B;const j=E[R];return j.parentName&&(M[j.parentName]=(0,h.h1)({def:j,mixinTweakDefinitions:W,tweakValuesCurrent:F})),M},{}),k={...F,...G},x=(0,_.gX)(k,E);this.setState({changedFontTweaks:[],activeFontCssStrings:x,tweakValuesCurrent:k,isDirty:this.getIsDirtyByTweaks({tweakValuesCurrent:k,tweakValuesSaved:L})})}onUpdateField(m){let{variableName:E,value:I,options:L={}}=m;const{tweakValuesSaved:W}=this.state,{activeFontCssStrings:F,tweakValuesCurrent:G,tweakDefinitions:k,updatedTweakAsSideEffect:x}=(0,y.Z)({...this.state,variableName:E,value:I,options:L});this.setState({tweakValuesCurrent:G,tweakDefinitions:k,activeFontCssStrings:F,isDirty:this.getIsDirtyByTweaks({tweakValuesCurrent:G,tweakValuesSaved:W})}),L.ignoreHistory||this.onRequestAddToHistoryStack(),x&&!L.noSideEffects&&this.onUpdateField((0,r.pick)(x,["variableName","value","options"]))}onRevertFields(m){m.forEach(E=>{this.onUpdateField({variableName:E,value:this.state.tweakValuesSaved[E]})})}onHydrate(m){let{tweakValuesSaved:E,tweakValuesCurrent:I,tweakDefinitions:L}=m;this.setState({tweakDefinitions:{...L},tweakValuesCurrent:{...I},tweakValuesSaved:{...E},isDirty:this.getIsDirtyByTweaks({tweakValuesCurrent:I,tweakValuesSaved:E})})}onSaving(){this.setState({cleanCss:void 0,saving:!0})}onSaveSuccess(m){this.setState({isDirty:!1,saving:!1,tweakValuesCurrent:{...m},tweakValuesSaved:{...m}}),this.onRequestAddToHistoryStack()}onSaveFailure(){this.setState({error:"There was an error saving your data",saving:!1})}onResetSuccess(m){this.setState(this.setMultipleValues(m)),this.onRequestAddToHistoryStack()}onResetFailure(m){console.error(m),this.setState({error:"There was an error resetting your tweaks"})}onFetchCustomCssSuccess(m){this.setState({customCss:m})}onDiscard(){this.setState({...this.changeMultipleValues(this.state.tweakValuesSaved)}),this.onResetUndoStack()}onFetchCleanCssSuccess(m){this.setState({cleanCss:m})}onSetFilterProperty(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const E=(0,g.Z)(Object.assign({tweakDefinitions:this.state.tweakDefinitions,selectedDefinitions:this.state.selectedDefinitions,tweakValuesCurrent:this.state.tweakValuesCurrent,filterString:this.state.filterString,showOnlyWhenPresent:this.state.showOnlyWhenPresent,groupType:this.state.groupType,visibleDefinitions:this.state.visibleDefinitions},m)),I=Object.assign({},E,m);this.setState(I)}onEnableUndo(){this.state.isUndoEnabled||(this.setState({isUndoEnabled:!0}),this.state.undoStack||this.setState({undoStack:new f}))}onDisableUndo(){this.state.isUndoEnabled&&this.setState({isUndoEnabled:!1})}getUndoPatch(){const{tweakValuesCurrent:m}=this.state;return{type:"tweaks",tweaks:m}}onRequestAddToHistoryStack(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};!this.state.isUndoEnabled||!this.state.undoStack||(this.state.undoStack.pushState(this.getUndoPatch()),this.setState({undoPosition:this.state.undoStack.getPosition()}))}onApplyUndoStackTweaks(m){let{tweaks:E}=m;this.setState({...this.changeMultipleValues(E)})}onResetUndoStack(){!this.state.isUndoEnabled||!this.state.undoStack||(this.state.undoStack.reset(),this.setState({undoPosition:this.state.undoStack.getPosition()}))}constructor(){C(this,"getIsDirtyByTweaks",m=>{let{tweakValuesCurrent:E,tweakValuesSaved:I}=m;const L=(0,a.Z)({prev:I,next:E});return Object.keys(L).filter(F=>this.state.tweakDefinitions[F]).length>0}),this.state={filterString:"",groupType:d.c8[0],groupsExpandedState:"expanded",showExperimental:!1,showOnlyWhenPresent:!0,isUndoEnabled:!1,lastState:null,undoPosition:null,undoStack:null,loading:!1,loaded:!1,saving:!1,visibleDefinitions:[],definitionVisibility:{},selectedDefinitions:[],numTweaksAvailable:0,numTweaksDisplayed:0,fieldGroups:{},tweakValuesSaved:{},tweakValuesCurrent:{},tweakDefinitions:{},mixinTweakDefinitions:{},changedFontTweaks:[],customCss:null,rawData:{},tweakApi:null,typekitKitFonts:{},webFontsByCssString:{},activeFontCssStrings:new Set,initialActiveFontCssStrings:new Set},this.onRequestAddToHistoryStack=(0,r.debounce)(this.onRequestAddToHistoryStack.bind(this),S),this.bindActions(O.Z),this.exportPublicMethods({getIsDirtyByTweaks:this.getIsDirtyByTweaks})}}const s=n.Z.createStore(T,"TweakStore")},267359:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(347560),o=e(896136);class n{onLoad(){this.loading=!0}onLoadSuccess(c){this.loading=!1,this.hasLoadError=!1,this.loaded=!0,this.isNew=!c,c!==null?this.customer=c:this.customer=null}onLoadFailure(){this.loading=!1,this.hasLoadError=!0}getCustomerPaymentMethodType(){var c;const{customer:u}=this.getState();return u==null||(c=u.paymentMethod)===null||c===void 0?void 0:c.type}getHasSavedPaymentMethod(){return!!this.getCustomerPaymentMethodType()}constructor(){this.customer=null,this.loading=!1,this.hasLoadError=!1,this.loaded=!1,this.exportPublicMethods({getCustomerPaymentMethodType:this.getCustomerPaymentMethodType,getHasSavedPaymentMethod:this.getHasSavedPaymentMethod}),this.bindActions(o.Z)}}const a=r.Z.createStore(n,"CustomerStore")},183668:function(b,l,e){"use strict";e.d(l,{OH:()=>a,mo:()=>i,tv:()=>r,xR:()=>c});var r=function(u){return u.ANNUALLY="P1Y",u.BIENNIALLY="P2Y",u.MONTHLY="P1M",u.SEMIANNUALLY="P6M",u}({}),o=null,n=null,a=function(u){return u.SUCCESS="success",u.CAUTION="caution",u.INFO="info",u}({}),i=function(u){return u[u.DOWNGRADE=-1]="DOWNGRADE",u[u.ANALOGOUS=0]="ANALOGOUS",u[u.UPGRADE=1]="UPGRADE",u}({}),c=function(u){return u.ACTIVE="ACTIVE",u.CANCELLED="CANCELLED",u.EXPIRED="EXPIRED",u}({})},938094:function(b,l,e){"use strict";e.d(l,{$9:()=>a,Pi:()=>n,SV:()=>r.SystemColorId,qz:()=>o});var r=e(963218),o=function(i){return i.HEX="hex",i.HSL="hsl",i.RGB="rgb",i}({}),n=function(i){return i.WHITE="white",i.WHITE_BOLD="white-bold",i.LIGHT="light",i.LIGHT_BOLD="light-bold",i.DARK="dark",i.DARK_BOLD="dark-bold",i.BLACK="black",i.BLACK_BOLD="black-bold",i.BRIGHT="bright",i.BRIGHT_INVERSE="bright-inverse",i}({}),a=function(i){return i.SITE_PALETTE_COLOR="SITE_PALETTE_COLOR",i.CUSTOM_COLOR="CUSTOM_COLOR",i.THEME_COLOR="THEME_COLOR",i}({})},476086:function(b,l,e){"use strict";e.d(l,{FX:()=>n,Sw:()=>p,av:()=>A,d8:()=>C,wW:()=>S});var r=e(213865);const o=250,n=".accordion-items-container",i=".accordion-item__click-target",u=".accordion-item",d=".accordion-item__dropdown",h="accordion-item__dropdown--open",g="accordion-item__dropdown--pre-open",_="data-is-expanded-first-item";function p(M){const B=M.querySelector(n);if(B===null)throw new Error("Could not find accordion block items container");const R=Array.from(B.querySelectorAll(u)),U=B.getAttribute("data-should-allow-multiple-open-items")==="true",j=!0;R.forEach(function($,ee){const te=$.querySelector(i);if(!te)throw new Error("Could not find accordion item click target");const ie=$.querySelector(d);if(!ie)throw new Error("Could not find accordion item dropdown element");te.addEventListener("click",function(){m({item:$,dropdownElement:ie,accordionItems:R,allowMultipleOpenItems:U,shouldAnimate:j})}),x(M,te,ie,ee)}),A(B)}function y(M,B){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const U=M.querySelectorAll(u)[B];if(!U)return;const j=U.querySelector(d);if(!j)throw new Error("Could not find dropdownElement within accordion item");E(U,j,R)}function O(M,B){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const U=M.querySelectorAll(u)[B];if(!U)return;const j=U.querySelector(d);if(!j)throw new Error("Could not find dropdownElement within accordion item");L(U,j,R)}function P(M,B){const R=Array.from(M.querySelectorAll(u));F(R,B)}function C(M,B){const R=s(B),U=!1;R!==-1&&typeof R<"u"?y(M,R,U):P(M,U)}function A(M,B){if(T(B))return;const R=M.getAttribute(_)==="true",U=0;R?y(M,U):O(M,U)}function S(M){const B=M.querySelector(n);if(!B)return M.clientHeight;const R=Array.from(B.querySelectorAll(u)),U=R.filter(G);F(R),A(B);const j=B.clientHeight;return U.forEach($=>{const ee=$.querySelector(d);if(ee===null)throw new Error("Could not find clickTarget node inside accordion item");E($,ee)}),j}function T(M){if(!M)return!1;const B=["accordionItems/","accordionItemDescription"];return new RegExp(B.join("|")).test(M)}function s(M){if(!M)return-1;if(v(M))return 0;const B=M.split("/")[1],R=parseInt(B,10);return Number.isNaN(R)?-1:R}function v(M){return M==="accordionItemDescription"}function m(M){let{item:B,dropdownElement:R,accordionItems:U,allowMultipleOpenItems:j,shouldAnimate:$}=M;B.hasAttribute("data-is-item-animating")||(G(B)?L(B,R,$):(j||F(U,$),E(B,R,$)))}function E(M,B){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const U=M.querySelector(i);if(!U)throw new Error("Could not find clickTarget node inside accordion item");if(M.setAttribute("data-is-open","true"),U.setAttribute("aria-expanded","true"),!R){B.classList.add(h);return}I(M,B)}function I(M,B){M.setAttribute("data-is-item-animating","true"),B.classList.add(g);const R=B.getBoundingClientRect().height;B.classList.remove(g),B.style.height="0px",B.classList.add(h),B.style.transition="height "+o+"ms "+r.easing.product.default,k(function(){B.style.height=R+"px",window.setTimeout(function(){B.style.removeProperty("height"),B.style.removeProperty("transition"),M.removeAttribute("data-is-item-animating")},o)})}function L(M,B){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const U=M.querySelector(i);if(!U)throw new Error("Could not find clickTarget node inside accordion item");if(M.removeAttribute("data-is-open"),U.setAttribute("aria-expanded","false"),!R){B.classList.remove(h);return}W(M,B)}function W(M,B){M.setAttribute("data-is-item-animating","true");const R=B.getBoundingClientRect().height;B.style.height=R+"px",B.style.transition="height "+o+"ms "+r.easing.product.default,k(function(){B.style.height="0px",window.setTimeout(function(){B.classList.remove(h),B.style.removeProperty("height"),B.style.removeProperty("transition"),M.removeAttribute("data-is-item-animating")},o)})}function F(M){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;M.filter(G).forEach(function(U){const j=U.querySelector(d);if(!j)throw new Error("Could not find dropdown element inside accordion item");L(U,j,B)})}function G(M){return M.hasAttribute("data-is-open")}function k(M){window.requestAnimationFrame(function(){window.requestAnimationFrame(M)})}function x(M,B,R,U){const j=M.id;if(!j)return;const $="button-"+j+"-"+U,ee="dropdown-"+j+"-"+U;B.setAttribute("id",$),B.setAttribute("aria-controls",ee),R.setAttribute("id",ee),R.setAttribute("aria-labelledby",$)}},640695:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(347560),o=e(480433),n=e.n(o);const i=new(n())(r.Z)},503408:function(b,l,e){"use strict";e.d(l,{M:()=>n,Z:()=>a});var r=e(456903);const o={isClientHttpCode(i){return i>=400&&i<500},isFormFieldError(i){const{data:c,status:u}=i;return o.isClientHttpCode(u)&&c.error&&c.errors&&c.error==="Form field errors."},cleanFormFieldError(i){return o.isFormFieldError(i)&&(i.data=i.data.errors),Promise.reject(i)}},n=r.errors.ApiError,a=o},40500:function(b,l,e){"use strict";e.d(l,{K9:()=>_,AA:()=>g,IY:()=>d});var r=e(419467);const o=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;const y="sqs-edit-mode",O=(0,r.get)(p,"document.body");return O&&O.classList.contains(y)};var n=e(736206),a=e(723796);const i=(0,a.hu)("IntersectionObserverUtils","#fc0"),c=function(p){let{target:y,intersectionRatio:O,isIntersecting:P,boundingClientRect:C}=p,A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.5;return document.body.contains(y)?window.innerHeight?O>=A?!0:C.height>window.innerHeight&&P:!1:(i("Memory leak detected: el is no longer in document.body.",y),!1)},{err:u}=(0,a.Em)("BlockAnimationsInitializer","#fc0");let f;const d=['[class*="block-animation-"]:not(.block-animation-none):not(.animation-loaded)','.combination-animation-custom[class*="individual-animation-"]:not(.individual-animation-none):not(.animation-loaded)','.combination-animation-custom[class*="individual-text-animation-"]:not(.individual-text-animation-none):not(.animation-loaded)','[class*="combination-animation-"]:not(.combination-animation-none):not([class*="combination-animation-custom"]):not(.animation-loaded)'].join(","),h=function(y,O){y.forEach(function(P){if(!document.body.contains(P.target)){O.unobserve(P.target);return}const C=P.target.querySelector("img.loading");if(C){if(C.dataset.queuedBlockAnimation)return;C.dataset.queuedBlockAnimation="true";const A=function(T){T.currentTarget.removeEventListener("load",A),h([P],O)};C.addEventListener("load",A);return}if(c(P)){if(P.target.classList.add("animation-loaded"),!O||!O.unobserve){u("missing IntersectionObserver");return}O.unobserve(P.target)}})},g=p=>{if(!p||!p.document){u("Cannot init animations without a window context");return}(0,n.Z)().then(()=>{f||(f=new IntersectionObserver(h,{root:null,threshold:[0,.1,.25,.5,1]}));const y=p.document.body.querySelectorAll(d);y.length>0&&y.forEach(function(P){P.classList.remove("animation-loaded"),f.observe(P)})}).catch(function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};u(y.message)})},_=p=>{if(!p||!p.document){u("Cannot init animations without a window context");return}o(p)||(g(p),p.addEventListener("load",()=>g(p)),p.Y&&p.Y.on("template:dynamicPageReady",()=>g(p)),p.addEventListener("beforeunload",()=>{f&&f.disconnect()}))}},637533:function(b,l,e){"use strict";e.d(l,{e:()=>i});var r=e(762379),o=e(527062),n=e(484623),a=e.n(n);const i=c=>{const u=a()(c);return u.forEach(f=>{const d=f.items.filter(h=>{const g=o.Z[h];return g?g.some(_=>r.Z.isFeatureEnabled(_)):!0});f.items=d}),u}},273564:function(b,l,e){"use strict";e.r(l),e.d(l,{featureGateBlockItems:()=>He,renderMenu:()=>Fe,trackInternal:()=>ye,renderPanelNode:()=>we,getFeatureGatedBlockTypes:()=>Ke,renderBadge:()=>Ne,renderMessage:()=>Ot,showUpsellConfirmation:()=>Ie,transformUpsellCopy:()=>Bt,createPremiumCategory:()=>ge,isBlockTypeFeatureGated:()=>ae,renderBadgeWithProps:()=>ht,renderLogo:()=>Xe,shouldShowFeatureGateForFeature:()=>Be,willAddFeatureGate:()=>Le,renderPanel:()=>$e,renderBlockWrapper:()=>Ce,renderUpgradeModal:()=>Pt});var r=e(174161),o=e(233284),n=e(311064),a=e.n(n),i=e(176944),c=e.n(i),u=e(784874),f=e(362130),d=e(565263),h=e(506739),g=e(967361),_=e(834105),p=e(517658),y=e(337061),O=e(938077),P=e(225378),C=e(88565),A=e(419467);const S=(0,A.invert)(u.Z),T=mt=>{let{blockId:rt,blockType:ce}=mt;const Re=(0,y.useCmsSelector)(nt=>rt?(0,O.getFocusedBlockId)(nt)===rt||(0,O.getMultiselectedBlockIds)(nt).includes(rt):!1);return r.createElement("div",null,!Re&&r.createElement(p.Z,{analyticsId:`${S[ce].toLowerCase()}-block`,animationDirection:"none",hideDefaultText:!0,htmlAttributes:{[C.TQ]:""}}))},v=mt=>r.createElement(P.o,{frameCacheKey:"premium-block-label"},r.createElement(T,mt));var m=e(929698),E=e(659519),I=e(714487),L=e(916661),W=e(331949),F=e(665630),G=e(689891),k=e(970393),x=e(89054),M=e(689929),B=e.n(M),R=e(795478),U=e.n(R),j=e(845076),$=e.n(j),ee=e(965885);function te(mt,rt,ce){return rt in mt?Object.defineProperty(mt,rt,{value:ce,enumerable:!0,configurable:!0,writable:!0}):mt[rt]=ce,mt}class ie extends r.Component{render(){const{title:rt,subTitle:ce,className:Re,onRequestUpgrade:nt,upgradeLabel:st}=this.props;return r.createElement("div",{className:$()(B().message,Re)},r.createElement("div",{className:B().title},rt),r.createElement("div",{className:B().subTitle},ce),r.createElement(ee.BaseButton,{onClick:nt,className:B().upgradeButton},st))}}te(ie,"propTypes",{title:U().string.isRequired,subTitle:U().string.isRequired,upgradeLabel:U().string.isRequired,onRequestUpgrade:U().func}),te(ie,"defaultProps",{upgradeLabel:(0,I.t)("Upgrade Now",null,{project:"src.shared"})});const ne=ie;var pe=e(106638);const oe=(0,pe.Z)(ne,"feature-gate-message");var q=e(332382),J=e(995821),me=e(657010),re=e(161381);function he(mt,rt,ce){return rt in mt?Object.defineProperty(mt,rt,{value:ce,enumerable:!0,configurable:!0,writable:!0}):mt[rt]=ce,mt}class Ee extends r.Component{render(){const{isUpgradeModalOpen:rt}=this.state,{isTrial:ce}=this.props;return rt?r.createElement(q.H0,{isOpen:rt,key:"upgrade-modal",isTrial:ce,onRequestClose:this.handleUpgradeModalDismiss,onRequestUpgrade:this.handleUpgradeModalUpgradeClick,...this.props}):null}constructor(rt){super(rt),he(this,"handleUpgradeModalUpgradeClick",ce=>{const{isTrial:Re,router:nt,eventTracker:st}=this.props;if(st(),ce&&ce.stopPropagation&&ce.stopPropagation(),this.handleUpgradeModalDismiss(ce),this.handleTrackingEvents("upgrade_click"),this.props.onUpgrade)this.props.onUpgrade();else{const vt=Re?J.Z[h.Z.TRIAL_UPGRADE_PLAN]:J.Z[h.Z.UPGRADE_PLAN];nt?nt.push({pathname:vt}):window.location.assign(`/config${vt}`)}}),he(this,"handleUpgradeModalDismiss",ce=>{ce&&ce.stopPropagation&&ce.stopPropagation(),this.setState({isUpgradeModalOpen:!1}),this.props.onDismiss&&this.props.onDismiss()}),he(this,"handleTrackingEvents",ce=>{const{analyticsId:Re,isTrial:nt}=this.props;(0,E.Z)("feature_gate",{action:ce,identifier:Re,isTrial:nt})}),this.state=Ee.defaultState,this.handleTrackingEvents("display")}}he(Ee,"propTypes",{analyticsId:U().string.isRequired,isTrial:U().bool.isRequired,router:me.Z.isRequired,anchor:U().oneOf(["window","mousepointer"]),eventTracker:U().func,onDismiss:U().func,onUpgrade:U().func}),he(Ee,"defaultProps",{anchor:"mousepointer"}),he(Ee,"defaultState",{isUpgradeModalOpen:!0});const fe=(0,re.Z)(Ee);var H=e(199155),z=e(651780);const _e=a()(u.Z);function ae(mt,rt){const ce=rt||f.Z[mt];return Be(ce)}function ge(mt){return{groupType:d.Z.PREMIUM,label:(0,I.t)("Premium",null,{project:"src.shared"}),items:mt,premium:!0,meta:{isTrial:_.Z.isTrial()}}}function Be(mt){return c()(mt)?!1:!!(g.Z.isFeatureGated(mt)||_.Z.isTrial()&&!g.Z.isFeatureInAllPlans(mt))}function Ke(){return Object.keys(f.Z).filter(mt=>ae(mt)).map(mt=>parseInt(mt,10))}const He=mt=>{let{isMainContentSection:rt}=mt;return ce=>{const Re=Ke(),nt=[],st=ce.map(vt=>({...vt,items:vt.items.filter(ze=>Re.includes(ze)?(nt.push(ze),!1):!(L.Z.isSevenOne()&&ze===u.Z.GALLERY&&!(0,W.U)()&&!rt&&!(0,z._X)()))}));return nt.length>0&&st.push(ge(nt)),st}};function ye(mt,rt){(0,E.Z)(mt,{...rt,isTrial:_.Z.isTrial()})}function Le(mt){let{blockType:rt,featureGateClass:ce="",node:Re}=mt;return!(rt&&!ae(rt)||ce&&Re.querySelector(`${ce}`))}function Ue(mt){let{component:rt,featureGateClass:ce="",node:Re}=mt;const nt=Re.ownerDocument.createElement("div");if(ce){const ze=ce.split(" ");for(let It=0;It<ze.length;++It)nt.classList.add(ze[It].replace(".",""))}Re.insertBefore(nt,Re.firstChild),o.render(rt,nt);const st=(0,m.TX)(Re),vt=()=>{o.unmountComponentAtNode(nt)};st?st.on("destroy",vt):Re.ownerDocument.defaultView.addEventListener("beforeunload",vt,{once:!0})}function Xe(mt){let{analyticsId:rt,blockType:ce,node:Re,featureGateClass:nt,upsellCopyOverrides:st,renderNewLogo:vt}=mt;Ue(vt?{blockType:ce,node:Re,featureGateClass:nt||".sqs-widget .sqs-featuregate",component:r.createElement(H.Z,{iconOnly:!0,analyticsId:rt,isTrial:!1})}:{blockType:ce,node:Re,featureGateClass:nt||".sqs-widget .sqs-featuregate",component:r.createElement(G.Z,{analyticsId:rt||`${_e[ce].toLowerCase()}-block`,isTrial:_.Z.isTrial(),...st})})}function Fe(mt){let{analyticsId:rt,blockType:ce,escapePadding:Re,node:nt,isEditing:st}=mt;const vt=".sqs-featuregate-menu";if(!Le({blockType:ce,featureGateClass:vt,node:nt}))return!1;const ze=rt||`${_e[ce].toLowerCase()}-block`,It=_.Z.isTrial(),on=r.createElement(F.Z,{mx:4,isTrial:It,analyticsId:ze});return Ue({blockType:ce,node:nt,featureGateClass:vt,component:on}),!0}function ht(mt){let{node:rt,upsellCopyOverrides:ce={},componentProps:Re={}}=mt;Ue({node:rt,featureGateClass:".sqs-featuregate-badge",component:r.createElement(x.Z,{isTrial:_.Z.isTrial(),...ce,...Re})})}function Ne(mt){let{analyticsId:rt,blockType:ce,knockout:Re,node:nt,upsellCopyOverrides:st}=mt;Ue({blockType:ce,node:nt,featureGateClass:".sqs-featuregate-badge",component:r.createElement(x.Z,{analyticsId:rt,isTrial:_.Z.isTrial(),knockout:Re,...st})})}function Ce(mt){let{blockId:rt,blockType:ce,node:Re,feature:nt}=mt;if(ae(ce,nt)){Re.classList.add("sqs-feature-gated-wrapper");const st="sqs-feature-gated-logo-container",vt=Re.ownerDocument.createElement("div");vt.setAttribute(C.Mi,""),vt.classList.add("premium-block-label-container"),vt.classList.add(st),Re.insertBefore(vt,Re.firstChild),o.render(r.createElement(v,{blockId:rt,blockType:ce}),vt)}}function we(mt){let{blockType:rt,node:ce,analyticsId:Re,upsellCopyOverrides:nt}=mt;Ue({blockType:rt,node:ce,featureGateClass:".sqs-featuregate-panel",component:r.createElement(k.Z,{isTrial:_.Z.isTrial(),analyticsId:Re,...nt})})}function $e(mt){let{featureType:rt,analyticsId:ce}=mt;return null}function Ot(mt){let{blockType:rt,node:ce,analyticsId:Re,title:nt,subTitle:st,upsellCopyOverrides:vt}=mt;Ue({blockType:rt,node:ce,featureGateClass:".sqs-featuregate-message",component:r.createElement(oe,{isTrial:_.Z.isTrial(),analyticsId:Re,title:nt,subTitle:st,...vt})})}function Pt(mt){let{blockType:rt,node:ce,analyticsId:Re,upsellCopyOverrides:nt,eventTracker:st,onDismiss:vt,onUpgrade:ze}=mt;Ue({blockType:rt,node:ce,featureGateClass:".sqs-featuregate-upgrade-modal",component:r.createElement(fe,{isOpen:!0,isTrial:_.Z.isTrial(),analyticsId:Re,eventTracker:st,onDismiss:vt,onUpgrade:ze,...nt})})}function Ie(mt){let rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:()=>{},ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return new Promise(Re=>{Pt({analyticsId:"upgrade-modal",node:document.createElement("div"),upsellCopyOverrides:mt,eventTracker:rt,onDismiss:()=>{Re()},onUpgrade:ce})})}function Bt(mt){const rt=_.Z.isTrial();return{isSoftWarning:rt,title:mt.upgradeTitle,message:mt.upgradeDescription,destination:rt?h.Z.TRIAL_UPGRADE_PLAN:h.Z.UPGRADE_PLAN}}},629994:function(b,l,e){"use strict";e.d(l,{D:()=>n,j:()=>o});let r={};const o=a=>{r={...r,...a}},n=()=>{const a={};return r.frameDeviceView&&(a.display_mode=r.frameDeviceView==="phone"?"mobile":r.frameDeviceView),a}},250632:function(b,l,e){"use strict";e.d(l,{AI:()=>E,BV:()=>C,Eu:()=>te,HK:()=>P,Hl:()=>G,LD:()=>J,Nk:()=>m,O1:()=>oe,Ok:()=>A,PN:()=>B,Q1:()=>R,UY:()=>g,XT:()=>L,Yv:()=>ie,cC:()=>pe,ge:()=>x,hh:()=>S,iL:()=>h,kM:()=>ee,kr:()=>F,my:()=>q,n5:()=>v,ox:()=>W,pV:()=>d,pu:()=>O,qN:()=>ne,r$:()=>s,rL:()=>y,ru:()=>j,tI:()=>k,to:()=>I,uN:()=>T,wJ:()=>$,xO:()=>M,z_:()=>U});var r=e(419467),o=e.n(r),n=e(734526),a=e(784874),i=e(228946),c=e(941254),u=e(511556);const f=function(){let me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const he=re.charAt(0).toUpperCase()+re.slice(1);return new Set(["string","richtext","richtexteditor"]).has(me)?`UserInputsContentIn${he}Block`:`UserCustomizes${he}BlockOptions`},d=me=>{let{blockTypeName:re,sectionArea:he,productPage:Ee}=me;const fe={actor:u.aR.USER,action:u.om.OPEN,event_name:f(u.$l.BUTTON,re),object_type:u.$l.MENU,object_identifier:u.DN.BLOCK_OPTIONS,object_value:re,product_section:he,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:Ee};if(c.Z.track(fe),re.toUpperCase()===n.Z.BlockTypeKeys[a.Z.PRICING_PLAN]){const{event_name:H,...z}=fe;i.fireEvent(H,z)}},h=me=>{let{disclosureRoute:re,blockTypeName:he,sectionArea:Ee,productPage:fe}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.MENU_ITEM,object_identifier:re,object_display_name:re,indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:he,product_section:Ee,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:fe})},g=me=>{let{trackingId:re,tabLabel:he,blockTypeName:Ee,sectionArea:fe,productPage:H}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.TABS,object_identifier:"block-header-tabs",object_display_name:he,object_value:re,indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:Ee,product_section:fe,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:H})},_=me=>{let{blockTypeName:re,sectionArea:he,productPage:Ee}=me;CMSV7Events.track({actor:ACTOR.USER,action:ACTION.CLICK,object_type:OBJECT.MENU_ITEM,object_identifier:"add-image",indirect_object_type:OBJECT.MENU,indirect_object_identifier:IDENTIFIER.BLOCK_OPTIONS,indirect_object_value:re,product_section:he,product_area:PRODUCT.AREA_LAYOUT_ENGINE,product_page:Ee})},p=me=>{let{uploadInteraction:re}=me;CMSV7Events.track({actor:ACTOR.USER,action:ACTION.CLICK,object_type:OBJECT.MENU_ITEM,object_identifier:"add-image",object_value:re,indirect_object_type:OBJECT.MENU,indirect_object_identifier:IDENTIFIER.BLOCK_OPTIONS,indirect_object_value:BlockType.IMAGE,product_area:PRODUCT.AREA_LAYOUT_ENGINE,product_page:"block-container"})},y=me=>{let{prevValue:re,value:he,blockTypeName:Ee,sectionArea:fe,productPage:H}=me;if(!(re&&he))return he?c.Z.track({actor:u.aR.SYSTEM,action:u.om.LOAD,object_type:u.$l.IMAGE,object_identifier:"image-file",indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:Ee,product_section:fe,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:H}):c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.MENU_ITEM,object_identifier:"remove-image",indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:Ee,product_section:fe,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:H})},O=me=>{let{blockTypeName:re,value:he,sectionArea:Ee,productPage:fe}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.MENU_ITEM,object_identifier:"social-account",indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:re,object_value:he,product_section:Ee,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:fe})},P=me=>{let{blockTypeName:re,sectionArea:he,productPage:Ee}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.MENU_ITEM,object_identifier:"image-focal-point",indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:re,product_section:he,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:Ee})},C=me=>{let{displayName:re,blockTypeName:he,sectionArea:Ee,productPage:fe}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.TOGGLE,object_identifier:"caption-layout",object_value:re.toLowerCase(),object_display_name:re,indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:he,product_section:Ee,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:fe})},A=me=>{let{value:re,displayName:he,blockTypeName:Ee,sectionArea:fe,productPage:H}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.CAROUSEL,object_identifier:"design-layout",object_value:re,object_display_name:he,indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:Ee,product_section:fe,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:H})},S=me=>{let{trackingId:re,value:he,displayName:Ee,blockTypeName:fe,sectionArea:H,productPage:z,eventName:_e}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,event_name:_e||f(u.$l.TOGGLE,fe),object_type:u.$l.TOGGLE,object_identifier:re,object_value:he?"on":"off",object_display_name:Ee,indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:fe,product_section:H,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:z})},T=me=>{let{value:re,displayName:he,blockTypeName:Ee,sectionArea:fe,productPage:H}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.MENU_ITEM,object_identifier:"animation-style",object_value:re,object_display_name:he,indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:Ee,product_section:fe,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:H})},s=me=>{let{action:re,trackingId:he,uiFieldType:Ee,value:fe,eventName:H,displayName:z,blockTypeName:_e,sectionArea:ae,productPage:ge}=me;c.Z.track({actor:u.aR.USER,action:re||u.om.CLICK,event_name:H||f(Ee,_e),object_type:Ee==="richtexteditor"?"richtext":Ee,object_identifier:he,object_value:fe,object_display_name:z,indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:_e,product_section:ae,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:ge})},v=me=>{let{action:re,eventName:he,blockTypeName:Ee}=me;c.Z.track({actor:u.aR.USER,action:re||u.om.CLICK,event_name:he,object_type:"contentitem",object_identifier:"content",indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:Ee,product_section:"body",product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:"block-editor"})},m=me=>{let{value:re,blockTypeName:he,sectionArea:Ee,productPage:fe}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,event_name:"UserClicksBlockCustomOption",object_type:u.$l.MENU_ITEM,object_identifier:"image-mask-toggle",object_value:re,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:he,product_section:Ee,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:fe})},E=me=>{let{value:re,blockTypeName:he,sectionArea:Ee,productPage:fe}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,event_name:"UserSelectsImageShape",object_type:u.$l.MENU_ITEM,object_identifier:"image-mask-shape-selection",object_value:re,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:he,product_section:Ee,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:fe})},I=me=>{let{value:re,displayName:he,blockTypeName:Ee,sectionArea:fe,productPage:H,radiiValues:z}=me;c.Z.track({actor:u.aR.USER,action:u.om.INPUT,event_name:"UserSetsBorderRadii",object_type:u.$l.NUMBER,object_identifier:"border-radii-input",object_value:re,object_display_name:he,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:Ee,product_section:fe,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:H,radii_values:z})},L=me=>{let{blockTypeName:re,productPage:he,value:Ee}=me;c.Z.track({actor:u.aR.USER,action:u.om.INPUT,event_name:"UserInputsTextInBlock",indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:re,object_identifier:"business-url-slug",object_type:u.$l.TEXTAREA,object_value:Ee,product_page:he})},W=me=>{let{blockTypeName:re,objectDisplayName:he,objectIdentifier:Ee}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,event_name:"UserClicksButtonInBlock",indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:re,object_display_name:he,object_identifier:Ee,object_type:u.$l.BUTTON,product_page:"block-editor"})},F=me=>{let{blockTypeName:re,objectDisplayName:he,objectIdentifier:Ee}=me;c.Z.track({actor:u.aR.USER,action:u.om.CONNECT,event_name:"UserConnectsExternalAccount",indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:re,object_display_name:he,object_identifier:Ee,object_type:u.$l.ACCOUNT,product_page:"block-editor"})},G=me=>{let{trackingId:re,value:he,blockTypeName:Ee,sectionArea:fe,productPage:H,displayName:z=""}=me;c.Z.track({actor:u.aR.USER,action:u.om.INPUT,event_name:f("string",Ee),object_display_name:z,object_type:u.$l.URLPARSE,object_identifier:re,object_value:he==null?void 0:he.substring(0,50),indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:Ee,product_section:fe,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:H})},k=function(me){let{value:re="",type:he,blockTypeName:Ee,sectionArea:fe,productPage:H}=me,{truncateValue:z=!0}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};c.Z.track({actor:u.aR.USER,action:u.om.INPUT,object_type:u.$l.TEXTAREA,object_identifier:he,object_display_name:he,object_value:z?re.substring(0,50):re,indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:Ee,product_section:fe,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:H})},x=me=>{let{value:re,displayName:he,blockTypeName:Ee,sectionArea:fe,productPage:H}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.MENU_ITEM,object_identifier:"size",object_value:re,object_display_name:he,indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:Ee,product_section:fe,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:H})},M=me=>{let{alignmentType:re,value:he,blockTypeName:Ee,sectionArea:fe,productPage:H}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.MENU_ITEM,object_identifier:re,object_value:he,indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:Ee,product_section:fe,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:H})},B=me=>{let{blockTypeName:re,value:he}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.MENU_ITEM,object_identifier:`${re}-${he}`,object_value:he,object_display_name:(0,r.capitalize)(he),indirect_object_type:u.$l.MENU,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:re,product_section:u.c5.SECTION_BODY,product_area:u.c5.AREA_FLUID_ENGINE,product_page:u.c5.PAGE_BLOCK_EDITOR,event_name:"UserClicksBlockCustomOption"})},R=me=>{let{buttonType:re,value:he,blockTypeName:Ee,...fe}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.TEXTEDITOR,object_identifier:re,object_value:he,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:Ee,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:u.c5.PAGE_INLINE_EDITOR,...fe})},U=me=>{let{buttonType:re,blockTypeName:he,indirectObjectType:Ee,...fe}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,event_name:"UserChangesLocalTextColor",object_type:u.$l.TEXTEDITOR,object_identifier:re,indirect_object_type:Ee,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:he,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:u.c5.PAGE_INLINE_EDITOR,...fe})},j=me=>{let{value:re,blockTypeName:he}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.TEXTEDITOR,object_identifier:"fontDropdown",object_value:re,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:he,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:u.c5.PAGE_INLINE_EDITOR})},$=me=>{let{value:re,blockTypeName:he}=me;c.Z.track({actor:u.aR.USER,action:u.om.INPUT,object_type:u.$l.URLPARSE,object_identifier:"link",object_value:re,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:he,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:u.c5.PAGE_INLINE_EDITOR})},ee=me=>{let{text:re}=me;c.Z.track({actor:u.aR.USER,action:u.om.INPUT,event_name:"UserInputButtonText",indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_type:"menu",indirect_object_value:"button",object_display_name:"text",object_type:u.$l.TEXTAREA,object_identifier:"text",object_value:re,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:u.c5.PAGE_INLINE_EDITOR,product_section:"body"})},te=me=>{c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.BUTTON,object_identifier:"block-editor-button",object_value:me,object_display_name:"acuity",product_section:"body",product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:"block-editor"})},ie=me=>{c.Z.track({actor:u.aR.USER,action:u.om.CLICK,event_name:"UserClickBlockImageEffect",indirect_object_identifier:u.DN.BLOCK_OPTIONS,object_display_name:me??"none",object_type:u.$l.MENU_ITEM,object_identifier:"block-image-effect-preset",object_value:me??"none",product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:"block-editor"})},ne=me=>{c.Z.track({actor:u.aR.USER,action:u.om.CLICK,event_name:"UserClickBlockImageEffectSettings",indirect_object_identifier:u.DN.BLOCK_OPTIONS,object_type:u.$l.MENU_ITEM,object_identifier:"block-image-effect-preset-settings",object_value:me??"none",product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:"block-editor"})},pe=me=>{c.Z.track({actor:u.aR.USER,action:u.om.CLICK,event_name:"UserRandomizeImageBlockEffectSettings",indirect_object_identifier:u.DN.BLOCK_OPTIONS,object_type:u.$l.BUTTON,object_identifier:"randomize",object_display_name:"Randomize",object_value:me??"none",product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:"block-editor"})},oe=me=>{c.Z.track({actor:u.aR.USER,action:u.om.CLICK,event_name:"UserRandomizeImageBlockEffectSettingsFromPreview",indirect_object_identifier:u.DN.BLOCK_OPTIONS,object_type:u.$l.BUTTON,object_identifier:"randomize",object_display_name:"Randomize",object_value:me??"none",product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:"block-editor"})},q=me=>{c.Z.track({actor:u.aR.USER,action:u.om.CLICK,event_name:"UserSelectsFormStylePack",object_type:u.$l.MENU_ITEM,object_identifier:"style-pack",object_value:`pack-${me}`,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:"form",product_section:"body",product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:"block-editor"})},J=me=>{let{value:re,sectionArea:he,productPage:Ee}=me;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,event_name:"UserSelectsBlockButtonStyle",object_type:u.$l.MENU_ITEM,object_identifier:"button-variant",object_value:re,indirect_object_identifier:u.DN.BLOCK_OPTIONS,indirect_object_value:"form",product_section:he,product_area:u.c5.AREA_LAYOUT_ENGINE,product_page:Ee})}},475521:function(b,l,e){"use strict";e.d(l,{$D:()=>h,Bu:()=>_,HE:()=>P,KX:()=>y,L0:()=>d,LT:()=>p,NP:()=>A,Og:()=>S,Qn:()=>m,Si:()=>s,UN:()=>C,lX:()=>v,ld:()=>O,qt:()=>T,xB:()=>g});var r=e(734526),o=e(784874),n=e(228946),a=e(916661),i=e(134798),c=e(941254),u=e(511556);const f=(E,I)=>{let{collection:L,collectionId:W,itemId:F,editingSectionArea:G}=I;if(a.Z.isSevenOne()){if(!F&&!W)return;let k="FOOTER";if(G===i.Z.FOOTER){c.Z.track({indirect_object_id:F||W,indirect_object_display_name:k,...E});return}try{window.Y.Squarespace.ContentCollectionCache.getCollectionById(W,x=>{try{k=x.get("typeName"),c.Z.track({indirect_object_id:F||W,indirect_object_display_name:k,...E})}catch{}})}catch{}return}L&&c.Z.track({indirect_object_id:L.get("id"),indirect_object_display_name:L.get("typeName"),...E})},d=function(){let{collection:E,collectionId:I,itemId:L,editingSectionArea:W}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};f({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.BUTTON,object_identifier:"block-menu"},{collection:E,collectionId:I,itemId:L,editingSectionArea:W})},h=E=>{let{query:I,collection:L,collectionId:W,itemId:F}=E;f({actor:u.aR.USER,action:"input",object_identifier:"block-search",object_type:"searchquery",object_value:I},{collection:L,collectionId:W,itemId:F})},g=E=>{let{query:I,pageId:L,pageType:W,location:F}=E;c.Z.track({actor:u.aR.USER,action:"input",object_identifier:"block-search",object_type:"searchquery",object_value:I,indirect_object_id:L,indirect_object_display_name:W,product_section:F})},_=E=>{let{blockId:I,blockType:L,fieldName:W,pageType:F,pageId:G}=E;c.Z.track({actor:u.aR.USER,action:"change",object_identifier:"block",object_type:"contentitem",object_id:I,object_display_name:L,object_value:W,indirect_object_id:G,indirect_object_display_name:F})},p=E=>{let{objectDisplayName:I,objectValue:L,indirectObjectValue:W,isKeyboardShortcut:F=!1,blockId:G,sectionId:k,pageId:x}=E;c.Z.track({actor:u.aR.USER,action:u.om.MOVE,object_type:"contentitem",object_identifier:"block",object_display_name:I,object_value:L,indirect_object_value:W,is_keyboard_shortcut:F,event_name:"UserMovesBlock",block_id:G,section_id:k,collection_id:x})},y=E=>{let{objectDisplayName:I,objectValue:L,indirectObjectValue:W,blockId:F,sectionId:G,pageId:k}=E;const x={actor:u.aR.USER,action:u.om.ADD,object_type:"contentitem",object_identifier:"block",object_display_name:I,object_value:L,indirect_object_value:W,event_name:"UserAddsBlock",block_id:F,section_id:G,collection_id:k};if(c.Z.track(x),I.toUpperCase()===r.Z.BlockTypeKeys[o.Z.PRICING_PLAN]){const{event_name:M,...B}=x;n.fireEvent(M,B)}},O=E=>{let{objectDisplayName:I,objectValue:L,isKeyboardShortcut:W=!1,blockId:F,sectionId:G,pageId:k}=E;c.Z.track({actor:u.aR.USER,action:u.om.DELETE,object_type:"contentitem",object_identifier:"block",object_display_name:I,object_value:L,indirect_object_display_name:"page",is_keyboard_shortcut:W,event_name:"UserDeletesBlock",block_id:F,section_id:G,collection_id:k})},P=E=>{let{objectDisplayName:I,objectValue:L,isKeyboardShortcut:W=!1,blockId:F,sectionId:G,pageId:k}=E;c.Z.track({actor:u.aR.USER,action:u.om.RESIZE,object_type:"contentitem",object_identifier:"block",object_display_name:I,object_value:L,is_keyboard_shortcut:W,event_name:"UserResizesBlock",block_id:F,section_id:G,collection_id:k})},C=E=>{let{action:I,objectValue:L}=E;c.Z.track({actor:u.aR.USER,action:I,object_type:"contentitem",object_identifier:"block",object_value:L,event_name:"UserSelectsBlocks"})},A=E=>{let{objectValue:I}=E;c.Z.track({actor:u.aR.USER,action:u.om.SELECT,object_type:"contentitem",object_identifier:"all-blocks",object_value:I,event_name:"UserSelectsAllBlocks",is_keyboard_shortcut:!0})},S=E=>{let{objectDisplayName:I,objectValue:L,isKeyboardShortcut:W=!1}=E;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.BUTTON,object_identifier:"block-layering",object_display_name:I,object_value:L,is_keyboard_shortcut:W,event_name:"UserClicksLayerBlock"})},T=E=>{let{objectIdentifier:I,objectDisplayName:L,objectValue:W,blockId:F}=E;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.BUTTON,object_identifier:I,object_display_name:L,object_value:W,event_name:"UserClicksAlignBlock",block_id:F})},s=E=>{let{objectDisplayName:I,objectValue:L,indirectObjectValue:W,blockId:F}=E;c.Z.track({actor:u.aR.USER,action:u.om.CLICK,object_type:u.$l.TOGGLE,object_identifier:"block-pinning",object_display_name:I,object_value:L,indirect_object_value:W,event_name:"UserTogglesPinBlock",block_id:F})},v=E=>{let{objectDisplayName:I,objectValue:L,indirectObjectValue:W,blockId:F}=E;c.Z.track({actor:u.aR.USER,action:u.om.CHANGE,object_type:u.$l.MENU_ITEM,object_identifier:"block-pinning",object_display_name:I,object_value:L,indirect_object_value:W,event_name:"UserChangesPinBlockPosition",block_id:F})},m=E=>{let{objectDisplayName:I,objectValue:L,indirectObjectValue:W,blockId:F}=E;c.Z.track({actor:u.aR.USER,action:u.om.CHANGE,object_type:u.$l.SLIDE,object_identifier:"block-pinning",object_display_name:I,object_value:L,indirect_object_value:W,event_name:"UserChangesPinBlockOffset",block_id:F})}},297314:function(b,l,e){"use strict";e.d(l,{Dg:()=>p,Nh:()=>S,OH:()=>T,Qq:()=>y,Rm:()=>O,ad:()=>g,iW:()=>_,mN:()=>P,u7:()=>C});var r=e(935662),o=e.n(r),n=e(762379),a=e(651780),i=e(228946),c=e(695960),u=e(941254),f=e(511556);const{id:d}=(0,a.Xu)()||{},h=(0,a.kp)(),g=function(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",v=arguments.length>1?arguments[1]:void 0;const m={actor:f.aR.USER,action:f.om.CLICK,object_type:"button",object_identifier:"add-navigation-item",product_area:f.q5,product_page:"page-catalog",event_name:"UserClicksAddNavigationItem",...v?{product_section:v}:{}};s&&(m.indirect_object_type="navigation-list",m.indirect_object_identifier=s),u.Z.track(m)},_=(s,v)=>{u.Z.track({actor:f.aR.USER,action:f.om.SELECT,object_type:"menuitem",object_identifier:"navigation-item-type",object_display_name:s,product_area:f.q5,product_page:"page-catalog",...v?{product_section:v}:{},event_name:"UserSelectsNavigationItemType"})},p=(s,v)=>{u.Z.track({actor:f.aR.USER,action:f.om.SELECT,object_type:"menuitem",object_identifier:"add-page",object_value:v,indirect_object_identifier:s,product_area:f.q5,event_name:"UserViewsPageCatalog"})},y=()=>{u.Z.track({actor:f.aR.USER,action:f.om.CLICK,object_type:"button",object_identifier:"add-section",product_area:f.q5,product_page:"section-catalog"})},O=(s,v)=>{u.Z.track({actor:f.aR.USER,action:f.om.CLICK,object_type:"button",object_identifier:"add-item",product_area:f.q5,product_page:"item-catalog",indirect_object_identifier:s,indirect_object_id:v})},P=(s,v)=>{u.Z.track({actor:f.aR.USER,action:f.om.CLICK,object_type:"button",object_identifier:"add-item",product_area:f.q5,product_page:"panel",indirect_object_identifier:s,indirect_object_id:v})},C=(s,v)=>{u.Z.track({actor:f.aR.USER,action:f.om.SELECT,object_type:"menuitem",object_identifier:s,product_page:v,product_section:"category-list"})},A=s=>{CMSV7Events.track({actor:ACTOR.USER,action:"click",object_type:"link",object_identifier:"learn-more",object_display_name:s||"",object_value:"introducing-auto-layouts",product_area:"section-catalog"})},S=s=>{let{collectionType:v,collectionId:m,collectionCategory:E,typeName:I,productSection:L,memberAreaId:W}=s;const F=n.Z.isFeatureEnabled(o().FLUID_ENGINE_OPT_OUT)?c.Z.LAYOUT_ENGINE:c.Z.FLUID_ENGINE,G={actor:f.aR.USER,action:"add",event_name:"UserCreatesCollection",object_type:"contentcollection",product_area:f.q5,product_page:f.q5,editor_type:F,...d&&{org_id:d},...h.length&&{org_roles:h}};v&&(G.collection_typename=v),m&&(G.object_id=m),E&&(G.layout_type=E),I&&(G.object_identifier=I),L&&(G.product_section=L),W&&(G.member_area_id=W),u.Z.track(G);const{event_name:k,...x}=G;i.fireEvent(k,x)},T=s=>{let{catalogType:v,toFluidEngine:m,buttonText:E}=s;u.Z.track({actor:f.aR.USER,action:"select",object_type:"menuitem",object_identifier:m?"FLUID-ENGINE-CATALOG":"LAYOUT-ENGINE-CATALOG",object_display_name:E,product_page:v,product_section:"category-list",event_name:m?"UserClicksFluidEngineFrontdoor":"UserClicksLayoutEngineBackdoor"})}},912289:function(b,l,e){"use strict";e.d(l,{D9:()=>pe,Dm:()=>te,Du:()=>P,Gx:()=>S,HX:()=>W,Ln:()=>q,Nc:()=>M,OR:()=>L,Ot:()=>x,PR:()=>ie,PT:()=>O,RZ:()=>v,Sh:()=>T,So:()=>ee,TX:()=>ne,Zm:()=>p,_U:()=>G,dj:()=>$,jZ:()=>j,lT:()=>oe,lf:()=>k,nh:()=>C,oV:()=>I,pR:()=>m,p_:()=>U,sk:()=>y,u5:()=>R,uU:()=>F,uf:()=>E});var r=e(270848),o=e.n(r),n=e(511556),a=e(941254),i=e(667735),c=e.n(i),u=e(283635);const f=new u.Z("CMSDev",{event_owner_team:"websites",event_source:"web",product_area:"collection"}),d={[o().AUDIO]:"album-track",[o().EVENT]:"event-item",[o().IMAGE]:"gallery-image",[o().PORTFOLIO_ITEM]:"portfolio-item",[o().TEXT]:"blog-post",[o().VIDEO]:"gallery-video"},h=J=>({indirect_object_type:"contentitem",indirect_object_id:J.id,indirect_object_identifier:d[J.recordType]}),g={actor:n.aR.USER,action:n.om.CLICK,object_type:n.$l.BUTTON},_={...g,product_page:n.c5.COLLECTION_EDITOR},p=J=>{let{itemId:me,collectionType:re,collectionId:he}=J;a.Z.track({..._,object_identifier:"edit-contentitem",object_id:me,indirect_object_identifier:re,indirect_object_id:he,product_section:"panel"})},y=J=>{let{itemId:me,collectionType:re,collectionId:he,hasThumbnail:Ee}=J,fe="thumbnail-image-undefined";re.includes("blog")&&typeof Ee=="boolean"&&(fe=`thumbnail-image-${Ee}`),a.Z.track({..._,object_identifier:"save-item-edit",object_id:me,event_name:"UserSavesCollectionSettings",object_value:fe,indirect_object_identifier:re,indirect_object_id:he})},O=J=>{let{itemId:me,collectionType:re,collectionId:he}=J;a.Z.track({..._,object_identifier:"cancel-item-edit",object_id:me,indirect_object_identifier:re,indirect_object_id:he})},P=J=>{let{itemId:me,collectionType:re,collectionId:he}=J;a.Z.track({..._,object_identifier:"duplicate-item",object_id:me,indirect_object_identifier:re,indirect_object_id:he,event_name:"UserDuplicatesCollectionItem"})},C=J=>{let{itemId:me,collectionType:re,collectionId:he,isPreviewable:Ee}=J;a.Z.track({actor:n.aR.USER,action:n.om.UPDATE,object_type:"toggle",object_identifier:"toggle-public-preview",object_id:me,object_value:Ee,product_page:n.c5.COLLECTION_EDITOR,indirect_object_identifier:re,indirect_object_id:he,event_name:"UserTogglesCollectionItemPublicPreview"})},A=J=>{let{itemId:me,collectionType:re,collectionId:he,area:Ee}=J;a.Z.track({actor:n.aR.USER,action:n.om.DELETE,object_type:"contentitem",object_id:me,indirect_object_identifier:re,indirect_object_id:he,product_page:n.c5.COLLECTION_EDITOR,product_section:Ee})},S=J=>{let{collectionType:me,collectionId:re,isEnabled:he}=J;a.Z.track({actor:n.aR.USER,action:n.om.UPDATE,object_type:"toggle",object_identifier:"collection-settings",object_display_name:"enable_page",object_value:he?"enabled":"disabled",indirect_object_identifier:me,indirect_object_id:re,event_name:"UserUpdatesCollectionSettingsToggle"})},T=J=>{let{itemId:me,itemType:re,collectionType:he,collectionId:Ee,visibilityState:fe}=J,H;switch(fe){case c().DRAFT:H="draft";break;case c().PUBLISHED:H="published";break;case c().NEEDS_REVIEW:H="needs_review";break;case c().SCHEDULED:H="scheduled";break;default:return}a.Z.track({actor:n.aR.USER,action:n.om.CHANGE_VISIBILITY,object_type:"contentitem",object_identifier:re,object_id:me,object_value:H,indirect_object_identifier:he,indirect_object_id:Ee,event_name:"UserChangesItemVisibility"})},s=J=>{let{collectionId:me,collectionType:re,paywallType:he,memberAreaId:Ee}=J;CMSV7Events.track({actor:ACTOR.USER,action:ACTION.UPDATE,object_type:"button",object_identifier:"collection-settings",object_value:he,indirect_object_identifier:re,indirect_object_id:me,product_page:"collection-editor",member_area_id:Ee,event_name:"UserSavesPaywallSettingsToggle"})},v=J=>{let{itemId:me,collectionType:re,collectionId:he}=J;A({itemId:me,collectionType:re,collectionId:he,area:"panel"})},m=J=>{let{itemId:me,collectionType:re,collectionId:he}=J;A({itemId:me,collectionType:re,collectionId:he,area:"settings-modal"})},E=()=>{a.Z.track({actor:n.aR.USER,action:n.om.VIEW,event_name:"UserViewBlogPublishedModal",object_type:"modal",object_identifier:"site-published-modal",indirect_object_identifier:"blog",product_page:n.c5.COLLECTION_EDITOR})},I=()=>{a.Z.track({...g,event_name:"UserCopiesContentLink",object_display_name:"Copy",object_identifier:"copy-site-link",indirect_object_identifier:"blog",product_page:n.c5.COLLECTION_EDITOR})},L=J=>{let{socialNetwork:me}=J;a.Z.track({...g,event_name:"UserClicksShareToSocial",object_identifier:"social-link-share",object_value:me,indirect_object_identifier:"blog",product_page:n.c5.COLLECTION_EDITOR})},W=()=>{a.Z.track({...g,event_name:"UserCreatesCampaignDraftFromBlog",object_display_name:"Create a Draft in Email Campaigns",object_identifier:"create-a-draft-in-email-campaigns",indirect_object_identifier:"blog",product_page:n.c5.COLLECTION_EDITOR})},F=J=>{let{feedType:me,collectionId:re}=J;f.track({...g,event_name:"UserEnablesBlogFeed",collection_id:re,object_value:me,indirect_object_identifier:"blog",product_page:n.c5.COLLECTION_EDITOR})},G=J=>{let{isCategoriesInput:me,item:re,newTag:he,allTags:Ee}=J;a.Z.track({actor:n.aR.USER,action:n.om.ADD,object_type:me?"category":"tag",object_identifier:he,object_value:Ee,product_page:n.c5.COLLECTION_EDITOR,product_section:"settings-modal",...h(re)})},k=J=>{a.Z.track({actor:n.aR.USER,action:"change",event_name:"UserChangesBlogThumbnail",object_type:"imageuploader",object_identifier:"main-image",product_page:"collection-editor",product_section:"settings-modal",...h(J)})},x=J=>{a.Z.track({actor:n.aR.USER,action:"delete",event_name:"UserRemovesBlogThumbnail",object_type:"imageuploader",object_identifier:"main-image",product_page:n.c5.COLLECTION_EDITOR,product_section:"settings-modal",...h(J)})},M=J=>{const{collectionType:me,productSection:re,collectionId:he,memberAreaId:Ee,indirectObjectIdentifier:fe}=J;a.Z.track({actor:n.aR.USER,action:n.om.MOVE,event_name:"UserMovesCollection",object_type:"contentcollection",object_id:he||"",object_identifier:me,product_section:re,member_area_id:Ee||void 0,indirect_object_identifier:fe||void 0})},B=(J,me,re)=>{CMSV7Events.track({actor:ACTOR.USER,action:ACTION.ADD,object_type:"contentitem",object_identifier:J,object_id:me,indirect_object_id:re,product_area:PAGES,product_page:"item-catalog",product_section:"category-list"})},R=(J,me,re,he)=>{a.Z.track({actor:n.aR.USER,action:n.om.MOVE,object_type:"contentitem",object_identifier:J,object_id:re,event_name:"UserMovesCollectionItem",indirect_object_id:he,indirect_object_identifier:me,product_area:n.q5,product_page:n.c5.COLLECTION_EDITOR,product_section:"panel"})},U=(J,me)=>{a.Z.track({...g,object_identifier:"manage-contentitem",indirect_object_identifier:J,indirect_object_id:me,product_page:"section-editor"})},j=(J,me)=>{a.Z.track({actor:n.aR.USER,action:n.om.VIEW,object_type:n.$l.PANEL,object_identifier:"manage-contentitem",indirect_object_identifier:J,indirect_object_id:me,product_area:n.c5.COLLECTION_EDITOR})},$=(J,me,re)=>{a.Z.track({...g,object_identifier:"collection-settings",indirect_object_identifier:J,indirect_object_id:me,product_section:re,event_name:"UserClicksCollectionSettingsGear"})},ee=J=>{a.Z.track({...g,object_identifier:"collection-item-settings-cog",product_page:"collection-settings",product_section:"frame-toolbar",...h(J)})},te=(J,me)=>{a.Z.track({...g,object_identifier:"item-metadata",object_value:me,product_page:"collection-settings",product_section:"section-editor",...h(J)})},ie=(J,me,re)=>{f.track({...g,event_name:"UserSavesCollection",collection_id:me,collection_type:J,is_name_changed:re.isNameChanged,object_value:re.modifiedSEOContent?JSON.stringify(re.modifiedSEOContent):void 0,is_url_slug_changed:re.isUrlSlugChanged??!1})},ne=J=>{a.Z.track({product_area:n.q5,actor:n.aR.USER,action:n.om.VIEW,object_type:n.$l.MODAL,object_identifier:"clone-collection-prompt",collection_typename:J})},pe=J=>{a.Z.track({actor:n.aR.USER,action:n.om.DUPLICATE,object_type:"contentcollection",object_identifier:J,object_display_name:"demo"})},oe=J=>{a.Z.track({actor:n.aR.USER,action:n.om.VIEW,product_area:n.q5,object_type:n.$l.MODAL,object_identifier:"action-not-allowed",object_display_name:"delete-homepage",collection_typename:J})},q=J=>{a.Z.track({product_area:n.q5,actor:n.aR.USER,action:n.om.DELETE,object_type:"contentcollection",object_identifier:J,collection_typename:J,object_display_name:"demo"})}},511556:function(b,l,e){"use strict";e.d(l,{$l:()=>c,DN:()=>u,OK:()=>o,aR:()=>a,c5:()=>n,o9:()=>f,om:()=>i,q5:()=>r});const r="pages",o="animations";var n=function(h){return h.AREA_DESIGN_EDITOR="design-editor",h.AREA_LAYOUT_ENGINE="layout-engine",h.AREA_FLUID_ENGINE="fluid-engine",h.COLLECTION_EDITOR="collection-editor",h.PAGE_FONTS="fonts",h.PAGE_COLORS="colors",h.PAGE_BUTTONS="buttons",h.PAGE_FORMS="forms",h.PAGE_SITE_STYLES="site-styles",h.PAGE_INLINE_EDITOR="inline-editor",h.PAGE_BLOCK_EDITOR="block-editor",h.SECTION_EDITOR="section-editor",h.SECTION_TEMPLATE_SWITCHING_TEST="template-switching-test",h.SECTION_FONT_STYLE_DETAILS="font-style-details",h.SECTION_BODY="body",h.WEBSITE_MIGRATION="WebsiteMigration",h}({}),a=function(h){return h.USER="user",h.SYSTEM="system",h}({}),i=function(h){return h.VIEW="view",h.COPY="copy",h.CLICK="click",h.SELECT="select",h.SAVE="save",h.OPEN="open",h.INPUT="input",h.LOAD="load",h.CLOSE="close",h.HOVER="hover",h.DUPLICATE="duplicate",h.ADD="add",h.MOVE="move",h.DELETE="delete",h.CHANGE="change",h.CONNECT="connect",h.RESIZE="resize",h.TYPE="type",h.CHANGE_VISIBILITY="change_visibility",h.UPDATE="update",h.REORDER="reorder",h}({}),c=function(h){return h.ACCOUNT="account",h.BUTTON="button",h.CARD="card",h.CAROUSEL="carousel",h.CONTENT_ITEM="contentitem",h.CUSTOM="custom",h.DESIGNTWEAK="designtweak",h.MENU="menu",h.MENU_ITEM="menuitem",h.PALETTE="palette",h.SLIDE="slide",h.TABS="tabs",h.TOGGLE="toggle",h.URLPARSE="urlparse",h.IMAGE="image",h.TEXTAREA="textarea",h.TEXTEDITOR="texteditor",h.LINK="link",h.MODAL="modal",h.NUMBER="number",h.PANEL="panel",h.COLOR_PICKER="colorpicker",h.PAGE="page",h.TIP="tip",h}({}),u=function(h){return h.BLOCK_OPTIONS="block-level-custom-options",h}({}),f=function(h){return h.HTML="HTML",h.SHAPE="shape",h}({}),d=null},502284:function(b,l,e){"use strict";e.d(l,{$i:()=>h,Bb:()=>u,Lw:()=>n,ME:()=>c,Sb:()=>g,Sm:()=>_,Vf:()=>d,ZR:()=>f,_T:()=>a,xB:()=>i});var r=e(941254),o=e(511556);const n=p=>{let{objectValue:y,indirectObjectValue:O,sectionId:P}=p;r.Z.track({actor:o.aR.USER,action:o.om.SELECT,event_name:"UserChangesSectionRowCount",object_type:o.$l.MENU_ITEM,object_identifier:"row-count",object_value:y,indirect_object_identifier:"section-level-custom-options",indirect_object_value:O,product_area:o.q5,product_page:"section-editor",product_section:"format",section_id:P})},a=p=>{let{objectValue:y,indirectObjectValue:O,sectionId:P}=p;r.Z.track({actor:o.aR.USER,action:o.om.ADD,event_name:"UserChangesSectionRowCount",object_type:"row",object_identifier:"row-count",object_value:y,indirect_object_identifier:"section-level-custom-options",indirect_object_value:O,product_area:o.q5,product_page:"section-editor",product_section:"main",section_id:P})},i=p=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,event_name:"UserChangesGridGaps",object_type:o.$l.BUTTON,object_identifier:"grid-no-spacing",indirect_object_identifier:"section-level-custom-options",product_area:o.q5,product_page:"section-editor",product_section:"format",section_id:p})},c=p=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,event_name:"UserChangesGridGaps",object_type:o.$l.BUTTON,object_identifier:"grid-with-spacing",indirect_object_identifier:"section-level-custom-options",product_area:o.q5,product_page:"section-editor",product_section:"format",section_id:p})},u=p=>{let{objectValue:y,sectionId:O}=p;r.Z.track({actor:o.aR.USER,action:o.om.CLICK,event_name:"UserChangesGridGaps",object_type:o.$l.BUTTON,object_identifier:"grid-spacing-horizontal-slider",object_value:y,indirect_object_identifier:"section-level-custom-options",product_area:o.q5,product_page:"section-editor",product_section:"format",section_id:O})},f=p=>{let{objectValue:y,sectionId:O}=p;r.Z.track({actor:o.aR.USER,action:o.om.CLICK,event_name:"UserChangesGridGaps",object_type:o.$l.BUTTON,object_identifier:"grid-spacing-vertical-slider",object_value:y,indirect_object_identifier:"section-level-custom-options",product_area:o.q5,product_page:"section-editor",product_section:"format",section_id:O})},d=p=>{let{objectDisplayName:y,objectValue:O,indirectObjectValue:P,isKeyboardShortcut:C}=p;r.Z.track({actor:o.aR.USER,action:o.om.MOVE,object_type:o.$l.CONTENT_ITEM,object_identifier:"block",object_display_name:y,object_value:O,indirect_object_value:P,is_keyboard_shortcut:C,display_mode:"mobile",event_name:"UserReordersBlock"})},h=p=>{let{objectDisplayName:y,objectValue:O,indirectObjectValue:P,displayName:C,isKeyboardShortcut:A,blockId:S}=p;r.Z.track({actor:o.aR.USER,action:o.om.DUPLICATE,object_type:o.$l.CONTENT_ITEM,object_identifier:"duplicate-block",object_display_name:y,object_value:O,indirect_object_value:P,is_keyboard_shortcut:A,display_mode:C,event_name:"UserDuplicatesBlock",block_id:S})},g=p=>{let{objectDisplayName:y,objectValue:O,displayName:P,isKeyboardShortcut:C}=p;r.Z.track({actor:o.aR.USER,action:o.om.COPY,object_type:o.$l.CONTENT_ITEM,object_identifier:"copy-block",object_display_name:y,object_value:O,is_keyboard_shortcut:C,display_mode:P,event_name:"UserCopiesBlock"})},_=p=>{let{objectDisplayName:y,objectValue:O,indirectObjectValue:P,displayName:C,isKeyboardShortcut:A}=p;r.Z.track({actor:o.aR.USER,action:o.om.DUPLICATE,object_type:o.$l.CONTENT_ITEM,object_identifier:"paste-block",object_display_name:y,object_value:O,indirect_object_value:P,is_keyboard_shortcut:A,display_mode:C,event_name:"UserPastesBlock"})}},364654:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(695960);function o(a){const i=a==null?void 0:a.sectionName;return i===r.Z.JSON_SCHEMA?`${i}_${a.sectionDefinitionName.toUpperCase()}`:i}const n=o},941254:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(548068),o=e.n(r),n=e(102825),a=e(916661),i=e(171317),c=e(511556),u=e(629994);function f(p,y,O){return y in p?Object.defineProperty(p,y,{value:O,enumerable:!0,configurable:!0,writable:!0}):p[y]=O,p}const d="/config/design",h="color-themes-v3";class g extends i.Z{registerRouter(y){this.frameUrl=y.getCurrentLocation().state.frameUrl,y.onBeforeChange(()=>{this.frameUrl=y.getCurrentLocation().state.frameUrl})}track(y){var O,P,C,A,S,T;return super.track({...y,...this.getAdditionalProperties(y),frame_url:this.frameUrl,effective_connection_speed:(P=navigator)===null||P===void 0||(O=P.connection)===null||O===void 0?void 0:O.effectiveType,selected_template_identifier:y!=null&&y.selected_template_identifier?y.selected_template_identifier:(T=window.Static)===null||T===void 0||(S=T.SQUARESPACE_CONTEXT)===null||S===void 0||(A=S.templateInstallation)===null||A===void 0||(C=A.templateWebsite)===null||C===void 0?void 0:C.identifier,device_orientation:window.matchMedia("(orientation: landscape)").matches?"landscape":"portrait",is_squarespace_app:(0,n.isNativeApp)()})}getAdditionalProperties(y){const O=(0,u.D)();return a.Z.isSevenOne()&&(y.product_area===c.c5.AREA_DESIGN_EDITOR||y.actor===c.aR.USER&&y.action===c.om.VIEW&&o()(y.destination_url)&&y.destination_url.indexOf(d)===0)&&(O.product_design_identifier=h),O}constructor(){super({customSchemaName:"cms_v7",eventOwnerTeam:"cms"}),f(this,"frameUrl",void 0)}}const _=new g},484345:function(b,l,e){"use strict";e.d(l,{A3:()=>W,CV:()=>te,F$:()=>p,F1:()=>y,FB:()=>O,Fj:()=>B,Hn:()=>A,JF:()=>R,P3:()=>U,RC:()=>S,Rw:()=>_,Sv:()=>j,Tp:()=>c,Ug:()=>g,XC:()=>G,Yt:()=>u,bd:()=>v,cL:()=>P,eO:()=>M,gG:()=>m,kh:()=>C,mb:()=>f,mq:()=>h,pW:()=>E,pt:()=>L,q2:()=>d,q_:()=>$,rW:()=>T,tS:()=>s,uG:()=>x,vF:()=>ee,vK:()=>k,wV:()=>I,yL:()=>F});var r=e(941254),o=e(511556),n=e(364654),a=e(31966),i=e.n(a);const c=(ie,ne)=>{let{category:pe,sectionType:oe,originalSectionId:q,area:J,collectionId:me,sectionId:re}=ie;r.Z.track({actor:o.aR.USER,action:"add",object_type:"section",object_identifier:pe,object_id:q??void 0,indirect_object_id:me,indirect_object_value:oe,product_area:o.q5,product_page:"section-editor",product_section:J,event_complete_ms:ne,editor_type:oe,section_id:re})},u=ie=>{let{originalSectionId:ne,area:pe,timing:oe,sectionType:q,collectionId:J,sectionId:me}=ie;r.Z.track({actor:o.aR.USER,action:"duplicate",object_type:"section",object_identifier:q,object_id:ne,product_area:o.q5,product_page:"section-editor",product_section:pe,event_complete_ms:oe,indirect_object_id:J,editor_type:q,section_id:me})},f=(ie,ne)=>{r.Z.track({actor:o.aR.USER,action:o.om.OPEN,object_type:"menu",object_identifier:"advanced-editing",product_area:o.q5,product_page:"section-editor",location:ie,...ne})},d=ie=>{r.Z.track({actor:o.aR.USER,action:o.om.CLOSE,event_name:"UserCloseSectionModal",indirect_object_identifier:"section-level-custom-options",object_type:"modal",product_area:o.q5,product_page:"section-editor",editor_type:(0,n.Z)(ie),section_id:ie.id})},h=ie=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,event_name:"UserClicksEditSiteHeader",object_type:"button",object_identifier:"site-header",indirect_object_identifier:ie,product_area:o.q5,product_page:"section-editor"})},g=(ie,ne)=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,event_name:"UserCloseSectionEditor",indirect_object_identifier:"section-level-custom-options",indirect_object_type:ie,indirect_object_value:ne,object_display_name:"header",object_type:"button",object_identifier:"exit-header-footer-editing",product_area:o.q5,product_page:"section-editor"})},_=(ie,ne,pe)=>{r.Z.track({actor:o.aR.USER,action:"move",object_type:"section",object_identifier:ie,product_area:o.q5,product_page:"section-editor",product_section:ne,editor_type:(0,n.Z)(pe),section_id:pe.id})},p=ie=>{let{section:ne,area:pe,collectionId:oe}=ie;const q=(0,n.Z)(ne);r.Z.track({actor:o.aR.USER,action:"delete",object_type:"section",object_identifier:q,object_id:ne.id,indirect_object_id:oe,product_area:o.q5,product_page:"section-editor",product_section:pe,editor_type:q,section_id:ne.id})},y=(ie,ne)=>{let pe=ne;ne==="button"&&(pe="radio-button"),r.Z.track({actor:o.aR.USER,action:o.om.SELECT,object_type:"section",object_identifier:"section-editor",object_display_name:"variant-display",object_value:pe,product_area:o.q5,product_page:"section-editor",product_section:"format",editor_type:(0,n.Z)(ie),section_id:ie.id})},O=(ie,ne)=>{r.Z.track({actor:o.aR.USER,action:o.om.SELECT,object_type:"section",object_identifier:"section-editor",object_display_name:ne,product_area:o.q5,product_page:"section-editor",product_section:"format",editor_type:(0,n.Z)(ie),section_id:ie.id})},P=ie=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:"button",object_identifier:"convert-to-fluid-engine",object_id:ie,product_area:o.q5,product_page:"section-editor",product_section:"main",event_name:"UserConvertsSectionToFluidEngine",section_id:ie})},C=ie=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:"button",object_identifier:"save-section",object_id:ie.id,product_area:o.q5,editor_type:(0,n.Z)(ie),event_name:"UserSavesSection",section_id:ie.id})},A=()=>{r.Z.track({actor:o.aR.USER,action:o.om.SELECT,object_type:"menuitem",object_identifier:i().SAVED_SECTIONS,product_page:"section-catalog",product_section:"catalog-list",event_name:"UserClicksSectionCatalogCategory"})},S=ie=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:"button",object_identifier:"section-catalog-display",object_value:ie,product_page:"section-catalog",product_section:"catalog-list",event_name:"UserChangesSectionCatalogDisplayFormat"})},T=ie=>{r.Z.track({actor:o.aR.USER,action:o.om.SELECT,object_type:"section",object_identifier:"saved-section",product_page:"section-catalog",editor_type:(0,n.Z)(ie),product_section:"catalog-list",event_name:"UserSelectsSavedSection"})},s=ie=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:"button",object_value:ie?"multiple":"single",object_identifier:"delete-saved-section",product_page:"section-catalog",event_name:"UserDeletesSavedSection"})},v=ie=>{r.Z.track({actor:o.aR.USER,action:o.om.ADD,object_type:"section",object_identifier:(0,n.Z)(ie),product_area:"pages",product_page:"section-editor",product_section:"main",editor_type:(0,n.Z)(ie),event_name:"UserAddsSection",section_id:ie.id})},m=()=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:"button",object_identifier:"save-section-max",product_area:"pages",event_name:"UserReachesMaxSavedSections"})},E=()=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:"button",object_identifier:"view-saved-section",product_area:"pages",product_page:"section-catalog",event_name:"UserClicksViewSavedSection"})},I=(ie,ne)=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.TOGGLE,object_identifier:"section-divider",object_value:ne.toString(),object_display_name:"divider",indirect_object_identifier:"section-level-custom-options",product_section:"format",product_area:"pages",product_page:"section-editor",event_name:"UserTogglesSectionDivider",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})},L=ie=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.BUTTON,object_identifier:"randomize-divider",indirect_object_identifier:"section-level-custom-options",product_area:"pages",product_page:"section-editor",event_name:"UserRandomizesSectionDivider",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})},W=(ie,ne)=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.BUTTON,object_identifier:"section-divider-settings",object_value:ne,indirect_object_identifier:"section-level-custom-options",product_area:"pages",product_page:"section-editor",event_name:"UserClicksSectionDividerSettings",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})},F=(ie,ne)=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.MENU_ITEM,object_identifier:"section-divider-type",object_value:ne,object_display_name:ne,indirect_object_identifier:"section-level-custom-options",product_area:"pages",product_page:"section-editor",event_name:"UserSelectsSectionDividerType",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})},G=(ie,ne)=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.BUTTON,object_identifier:"randomize-divider-type",object_value:ne,indirect_object_identifier:"section-level-custom-options",product_area:"pages",product_page:"section-editor",event_name:"UserRandomizesSectionDividerTypeSettings",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})},k=(ie,ne)=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.BUTTON,object_identifier:"width-divider-type",object_value:ne,indirect_object_identifier:"section-level-custom-options",product_area:"pages",product_page:"section-editor",event_name:"UserSelectsSectionDividerTypeWidth",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})},x=(ie,ne)=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.BUTTON,object_identifier:"height-divider-type",object_value:ne,indirect_object_identifier:"section-level-custom-options",product_area:"pages",product_page:"section-editor",event_name:"UserSelectsSectionDividerHeight",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})},M=(ie,ne)=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.BUTTON,object_identifier:"flip-divider-type",object_value:ne,indirect_object_identifier:"section-level-custom-options",product_area:"pages",product_page:"section-editor",event_name:"UserClicksSectionDividerFlip",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})},B=(ie,ne)=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.BUTTON,object_identifier:"offset-divider-type",object_value:ne,indirect_object_identifier:"section-level-custom-options",product_area:"pages",product_page:"section-editor",event_name:"UserSelectsSectionDividerOffset",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})},R=(ie,ne)=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.BUTTON,object_identifier:"section-divider-stroke",object_value:ne,indirect_object_identifier:"section-level-custom-options",product_area:"pages",product_page:"section-editor",event_name:"UserChangesSectionDividerStrokeStyle",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})},U=(ie,ne)=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.COLOR_PICKER,object_identifier:"section-divider-color",indirect_object_type:ne,indirect_object_identifier:"section-level-custom-options",product_area:"pages",product_page:"section-editor",event_name:"UserSelectsSectionDividerStrokeColor",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})},j=ie=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.BUTTON,object_identifier:"section-divider-thickness",indirect_object_identifier:"section-level-custom-options",product_area:"pages",product_page:"section-editor",event_name:"UserSelectsSectionDividerStrokeThickness",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})},$=ie=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.BUTTON,object_identifier:"section-divider-gap",indirect_object_identifier:"section-level-custom-options",product_area:"pages",product_page:"section-editor",event_name:"UserSelectsSectionDividerStrokeGap",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})},ee=ie=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.BUTTON,object_identifier:"section-divider-dash",indirect_object_identifier:"section-level-custom-options",product_area:"pages",product_page:"section-editor",event_name:"UserSelectsSectionDividerStrokeDash",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})},te=ie=>{r.Z.track({actor:o.aR.USER,action:o.om.CLICK,object_type:o.$l.BUTTON,object_identifier:"section-divider-dash-endcaps",indirect_object_identifier:"section-level-custom-options",product_area:"pages",product_page:"section-editor",event_name:"UserSelectsSectionDividerStrokeDashEndcaps",editor_type:(0,n.Z)(ie),section_id:ie==null?void 0:ie.id})}},827302:function(b,l,e){"use strict";e.d(l,{$H:()=>f,Lz:()=>d,Ns:()=>h,Og:()=>a,Q7:()=>g,no:()=>u,vI:()=>c,xl:()=>i});var r=e(906194),o=e(941254),n=e(511556);const a=()=>{o.Z.track({actor:n.aR.USER,action:n.om.VIEW,object_type:"modal",object_identifier:"fluid-engine-mobile-checkpoint",object_display_name:"Check how it looks on mobile",event_name:"UserViewMobileCheckpointModal"})},i=()=>{o.Z.track({actor:n.aR.USER,action:n.om.CLOSE,object_type:"modal",object_identifier:"fluid-engine-mobile-checkpoint",event_name:"UserClosesMobileCheckpointModal"})},c=(_,p,y)=>{o.Z.track({actor:n.aR.USER,action:n.om.CLICK,object_type:"button",object_identifier:"frame-preview-device",object_value:y?"editing":"not-editing",indirect_object_identifier:"manual-frame-preview",display_mode:_===r.Z.PHONE?"mobile":_,product_page:p})},u=(_,p,y)=>{o.Z.track({actor:n.aR.USER,action:n.om.CLICK,object_type:"button",object_identifier:"frame-preview-device",object_value:y?"editing":"not-editing",indirect_object_identifier:"auto-frame-preview",indirect_object_value:p,display_mode:_===r.Z.PHONE?"mobile":_})},f=_=>{const p=_?"open":"close";o.Z.track({actor:n.aR.USER,action:n.om.CLICK,object_type:"button",object_identifier:"frame-preview",object_value:p})},d=()=>{o.Z.track({actor:n.aR.USER,action:n.om.VIEW,object_type:"sheet",object_identifier:"mobile-frame-shown"})},h=()=>{o.Z.track({actor:n.aR.USER,action:"reorient",object_type:"webapp",object_identifier:"app-reorient"})},g=_=>{o.Z.track({actor:n.aR.USER,action:"reconnect",object_type:"webapp",object_identifier:"app-reconnect",disconnection_duration:_})}},69822:function(b,l,e){"use strict";e.d(l,{BQ:()=>C,Eu:()=>O,I_:()=>_,N6:()=>y,V6:()=>P,d3:()=>A});var r=e(413019),o=e(221661),n=e.n(o),a=e(941254),i=e(511556),c=e(461761),u=e.n(c);const f=()=>u()(window,["Static","SQUARESPACE_CONTEXT","website","language"]),d=()=>u()(window,["Static","SQUARESPACE_CONTEXT","authenticatedAccount","preferredLocale"]),h=f()||d(),g=d(),_=function(S){let{initialPageLoadType:T}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.Z.track({actor:i.aR.USER,action:i.om.VIEW,object_type:"link",object_identifier:T,destination_url:S,event_name:"UserViewsLinkInCMS"})},p=()=>{const S=trackEventsV2Factory(TrackEventsV2);trackLoadPerformance(T=>{var s,v,m,E,I,L,W,F;S.track({event_name:"WebPerformance_LoadCMS",product_area:"cms_v7",context_website_id:(E=window)===null||E===void 0||(m=E.Static)===null||m===void 0||(v=m.SQUARESPACE_CONTEXT)===null||v===void 0||(s=v.website)===null||s===void 0?void 0:s.id,member_account_id:(F=window)===null||F===void 0||(W=F.Static)===null||W===void 0||(L=W.SQUARESPACE_CONTEXT)===null||L===void 0||(I=L.authenticatedAccount)===null||I===void 0?void 0:I.id,...T})})},y=()=>{const S=(0,r.$s)(n());(0,r.le)(T=>{var s,v,m,E,I,L,W,F;S.track({event_name:"WebPerformance_LoadAppShell",product_area:"app_shell",context_website_id:(E=window)===null||E===void 0||(m=E.Static)===null||m===void 0||(v=m.SQUARESPACE_CONTEXT)===null||v===void 0||(s=v.website)===null||s===void 0?void 0:s.id,member_account_id:(F=window)===null||F===void 0||(W=F.Static)===null||W===void 0||(L=W.SQUARESPACE_CONTEXT)===null||L===void 0||(I=L.authenticatedAccount)===null||I===void 0?void 0:I.id,...T})})},O=S=>{let{totalTime:T}=S;var s,v,m,E,I,L,W,F;(0,r.$s)(n()).track({event_name:"WebPerformance_PageEditorCTAInteractive",time_to_interactive_ms:T,actor:i.aR.USER,action:i.om.LOAD,object_type:"website",product_page:"config",product_section:"pages_panel",product_area:"cms",context_website_id:((E=window)===null||E===void 0||(m=E.Static)===null||m===void 0||(v=m.SQUARESPACE_CONTEXT)===null||v===void 0||(s=v.website)===null||s===void 0?void 0:s.id)||"",member_account_id:((F=window)===null||F===void 0||(W=F.Static)===null||W===void 0||(L=W.SQUARESPACE_CONTEXT)===null||L===void 0||(I=L.authenticatedAccount)===null||I===void 0?void 0:I.id)||"",website_locale:h,member_account_locale:g})},P=S=>{let{totalTime:T}=S;var s,v,m,E,I,L,W,F;(0,r.$s)(n()).track({actor:i.aR.USER,action:i.om.LOAD,object_type:"website",product_page:"config",event_name:"WebPerformance_WebsitePreviewInteractive",time_to_interactive_ms:T,product_area:"cms",context_website_id:((E=window)===null||E===void 0||(m=E.Static)===null||m===void 0||(v=m.SQUARESPACE_CONTEXT)===null||v===void 0||(s=v.website)===null||s===void 0?void 0:s.id)||"",member_account_id:((F=window)===null||F===void 0||(W=F.Static)===null||W===void 0||(L=W.SQUARESPACE_CONTEXT)===null||L===void 0||(I=L.authenticatedAccount)===null||I===void 0?void 0:I.id)||"",website_locale:h,member_account_locale:g})},C=S=>{let{totalTime:T}=S;var s,v,m,E,I,L,W,F;(0,r.$s)(n()).track({actor:i.aR.USER,action:i.om.LOAD,object_type:"website",product_page:"config",product_section:"pages-panel",event_name:"WebPerformance_PagesPanelNamesVisible",load_time_ms:T,product_area:"cms",context_website_id:((E=window)===null||E===void 0||(m=E.Static)===null||m===void 0||(v=m.SQUARESPACE_CONTEXT)===null||v===void 0||(s=v.website)===null||s===void 0?void 0:s.id)||"",member_account_id:((F=window)===null||F===void 0||(W=F.Static)===null||W===void 0||(L=W.SQUARESPACE_CONTEXT)===null||L===void 0||(I=L.authenticatedAccount)===null||I===void 0?void 0:I.id)||"",website_locale:h,member_account_locale:g})},A=S=>{let{totalTime:T}=S;var s,v,m,E,I,L,W,F;(0,r.$s)(n()).track({actor:i.aR.USER,action:i.om.LOAD,object_type:"website",product_page:"config",product_section:"pages-panel",event_name:"WebPerformance_PagesPanelPageAddInteractive",time_to_interactive_ms:T,product_area:"cms",context_website_id:((E=window)===null||E===void 0||(m=E.Static)===null||m===void 0||(v=m.SQUARESPACE_CONTEXT)===null||v===void 0||(s=v.website)===null||s===void 0?void 0:s.id)||"",member_account_id:((F=window)===null||F===void 0||(W=F.Static)===null||W===void 0||(L=W.SQUARESPACE_CONTEXT)===null||L===void 0||(I=L.authenticatedAccount)===null||I===void 0?void 0:I.id)||"",website_locale:h,member_account_locale:g})}},331949:function(b,l,e){"use strict";e.d(l,{U:()=>a});var r=e(474698),o=e(341293),n=e.n(o);const a=()=>{const i=r.Z.getState().toJS().guilds;return i&&i[n().CIRCLE_USER]}},687808:function(b,l,e){"use strict";e.d(l,{FC:()=>O,I9:()=>p,LS:()=>d,Rv:()=>v,di:()=>S,eF:()=>h,jU:()=>T,jb:()=>_,u4:()=>u,vq:()=>c,w3:()=>y});var r=e(825473),o=e.n(r),n=e(3841),a=e(963218),i=e(651961);const c=m=>typeof m=="string"&&m.charAt(0)==="#",u=m=>typeof m=="string"&&m.substring(0,3)==="hsl",f=["red","green","blue"],d=(m,E)=>{const I=o()(m),L=o()(E);return!I||!L?null:f.reduce((W,F)=>W+Math.max(I[F],L[F])-Math.min(I[F],L[F]),0)*I.alpha},h=function(m){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return{type:i.dd.SITE_PALETTE_COLOR,sitePaletteColor:{id:m,alpha:E}}},g=m=>({type:ColorTypes.CUSTOM_COLOR,customColor:stringifyPaletteColorValue(m)});function _(m,E){switch(m==null?void 0:m.type){case i.dd.SITE_PALETTE_COLOR:{const{id:I,alpha:L}=m.sitePaletteColor,W=(0,n.getPaletteColorById)({colors:E},I);return W?(0,n.stringifyPaletteColorValue)({userFormat:a.ColorModel.hsl,values:{...W.value.values,alpha:L??1}}):null}case i.dd.CUSTOM_COLOR:return m.customColor??null}}const p=m=>m&&m.type===i.dd.THEME_COLOR,y=m=>m&&m.type===i.dd.SITE_PALETTE_COLOR,O=m=>m&&m.type===i.dd.CUSTOM_COLOR,P=()=>({type:i.dd.THEME_COLOR}),C=m=>{const E=m==null?void 0:m.sitePaletteColor;return{type:i.dd.SITE_PALETTE_COLOR,sitePaletteColor:{id:E.colorName,alpha:E.alphaModifier}}},A=m=>{const E=s(m.customColor.hslaValue),I={userFormat:m.customColor.userFormat,values:E},L=(0,n.stringifyPaletteColorValue)(I);return{type:i.dd.CUSTOM_COLOR,customColor:L}},S=m=>{if(p(m))return P(m);if(y(m))return C(m);if(O(m))return A(m)};function T(m){const{hue:E,saturation:I,lightness:L}=m,W=I>=0&&I<=1?I:Math.round(I)/100,F=L>=0&&L<=1?L:Math.round(L)/100;return{...m,hue:Math.round(E*100)/100,saturation:W,lightness:F}}function s(m){const{saturation:E,lightness:I}=m,L=E>=0&&E<=1?E*100:E,W=I>=0&&I<=1?I*100:I;return{...m,saturation:L,lightness:W}}function v(m,E){var I,L;return((m==null?void 0:m.type)===i.dd.SITE_PALETTE_COLOR&&(!((I=m.sitePaletteColor)===null||I===void 0)&&I.colorName)||(m==null?void 0:m.type)===i.dd.CUSTOM_COLOR&&(!((L=m.customColor)===null||L===void 0)&&L.hslaValue))&&(m=S(m)),_(m,E)}},912867:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(322470),o=e.n(r),n=e(456903),a=e(503408);const i="/api/billing/customer",c=["cardToken","address","city","state","zip","country","taxStatus","createSetupIntent"],f={loadCustomer(){return n.default.get(i)},save(d){const h=o()(d,c);return n.default.put(i,h).catch(a.Z.cleanFormFieldError)},create(d){const h=o()(d,c);return n.default.post(i,h).catch(a.Z.cleanFormFieldError)}}},868463:function(b,l,e){"use strict";e.d(l,{QI:()=>n,vV:()=>i});var r=e(548068),o=e.n(r);const n="^([a-zA-Z0-9_.!#$%&'*+-/=?^_`{|}~])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$",a=new RegExp(n),i=c=>!o()(c)||c.length<3||c.length>256?!1:a.test(c)},538117:function(b,l,e){"use strict";e.d(l,{Jl:()=>i,Oj:()=>c,dU:()=>f,ge:()=>n,ni:()=>a,r8:()=>u});var r=e(787592),o=e(998124);const n=o.getDomain,a=o.isInternal,i=o.isStage,c=o.isQA,u=o.isDev,f=function(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;var h,g;const _=d==null||(g=d.Static)===null||g===void 0||(h=g.SQUARESPACE_CONTEXT)===null||h===void 0?void 0:h.env;return _||(0,r.$e)(p=>{p.setTag("critical-issue","true"),p.setTag("user_facing","true"),(0,r.Tb)(new Error("Environment is not defined"))}),_}},518703:function(b,l,e){"use strict";e.d(l,{Z:()=>m});var r=e(936177),o=e.n(r),n=e(548068),a=e.n(n),i=e(389186),c=e.n(i),u=e(456903);const d={getResult(E){return u.default.get("/auth/ExternalAuthenticationGetResult",{params:{uuid:E}})}};var h=e(787592),g=e(131626),_=e.n(g),p=e(861288),y=e.n(p);const O="ConnectWithOAuth",P="location=0,status=0,scrollbars=1,width=1020,height=520",C={includeWebsiteList:!1,targetIdentifier:null,authenticationType:null,startSubscription:!1},A={serviceProvider:null,customParameters:null,urlParams:{}},S=E=>{try{return JSON.parse(E)}catch(I){return o().trackCaughtError("damask",`ExternalAuthentication could not parse data: "${E}"`,I.stack||[]),null}};class T{getAuthResponse(){return{socialConfig:this.socialConfig,websites:this.websites,website:this.website,memberAccount:this.memberAccount}}openPopupWindow(I,L){let W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:P;const G=`/auth/ExternalAuthenticationInitiate?${this.buildQueryParams(I,L)}`;this.oauthWindow=window.open(G,O,W),window.addEventListener("message",this.boundMessageReceiver),Object.assign({},L).RESET_OPENER===!0&&(this.oauthWindow.opener=null)}reset(){this.websites=null,this.website=null,this.memberAccount=null,this.socialConfig=null,this.messageReceived=!1}buildQueryParams(I,L){const W=Object.assign({},this.urlParams,L);W.serviceProvider=a()(I)?c()[I.toUpperCase()]:I;const F=this.getInviteCode();return F&&(W.invitation=F),_().stringify(W,{skipNulls:!0,filter:function(k,x){if(x!==!1&&k!=="RESET_OPENER")return x}})}getInviteCode(){let I=document.location.search;return I[0]==="?"&&(I=I.slice(1)),_().parse(I).invitation}receiveMessage(I){const L=S(I.data);L!==null&&typeof L=="object"&&(this.saveAuthResponse(L),this.messageReceived=!0)}saveAuthResponse(I){this.websites=I.websites,this.memberAccount=I.memberAccount,this.website=I.website,I.config?this.socialConfig=I.config:this.socialConfig=I.socialConfig}checkClosedOnInterval(I,L){const W=setInterval(()=>{this.oauthWindow.closed&&(clearInterval(W),window.removeEventListener("message",this._boundMessageReceiver),setTimeout(()=>{this.messageReceived?I(this.getAuthResponse()):d.getResult(this.urlParams.uuid).then(F=>{this.saveAuthResponse(F),I(this.getAuthResponse())},L).catch(L)},100))},200)}constructor(I={}){this.urlParams=Object.assign({},C,I),this.urlParams.uuid=y()(),this.reset(),this.boundMessageReceiver=this.receiveMessage.bind(this)}}const m={authenticate:function(E){if(E=Object.assign({},A,E),E.serviceProvider===null||!["string","number"].includes(typeof E.serviceProvider))throw new Error("Invalid or nonexistant oauth service provider");const I=new T(E.urlParams);return new Promise((L,W)=>{I.openPopupWindow(E.serviceProvider,E.customParameters,E.customWindowOptions),I.checkClosedOnInterval(L,W)})},logException:(E,I)=>{var L,W,F,G;const k=E==null||(L=E.response)===null||L===void 0?void 0:L.status,x=(E==null||(F=E.response)===null||F===void 0||(W=F.data)===null||W===void 0?void 0:W.message)??"";if(k===404&&x.startsWith("No value for ID"))return;const M=(E==null||(G=E.response)===null||G===void 0?void 0:G.data)??{};h.$e(B=>{B.setExtra("context",JSON.stringify(M)),h.uT(`Issue with ExternalAuthentication: ${I}`)})}}},582136:function(b,l,e){"use strict";e.d(l,{Z:()=>O});var r=e(714487),o=e(419467),n=e.n(o),a=e(131626),i=e.n(a),c=e(202467),u=e.n(c),f=e(607371),d=e(371467),h=e(963327),g=e(868463),_=e(456903),p=e(537312);function y(P,C,A){return C in P?Object.defineProperty(P,C,{value:A,enumerable:!0,configurable:!0,writable:!0}):P[C]=A,P}class O{clearErrors(){[...this.formEl.querySelectorAll(".field-error")].forEach(C=>C.remove()),[...this.formEl.querySelectorAll(".form-item.error")].forEach(C=>C.classList.remove("error"))}isLocked(){this.formEl.classList.contains("submitting")}lock(){this.submitEl.classList.add("submitting"),this.submitEl.value=O.strings.SUBMIT_TEXT_IN_PROGRESS}unlock(){this.submitEl.classList.remove("submitting"),this.submitEl.value=this.submitText}validate(){return[...this.formEl.querySelectorAll(".form-item")].reduce((C,A)=>{const{isValid:S,message:T}=O.validateField(A);return S||(C.isValid=!1,C.errors.push({fieldId:A.id,message:T})),C},{isValid:!0,errors:[]})}withCaptcha(C){const A=h.getCaptchaContainer(this.win,this.formEl);if(!A)return C;const S=h.validate(this.win,A);return S?{...C,captchaKey:S}:null}submit(C){if(this.isLocked())return!1;if(this.lock(),!C.disableValidation){this.clearErrors();const{isValid:S,errors:T}=this.validate();if(!S)return this.fail(O.strings.FIELD_VALIDATION_ERROR),this.renderFieldClientErrors(T),!1}let A;try{A=this.withCaptcha(C)}catch{return this.fail(O.strings.CAPTCHA_INCOMPLETE_ERROR),!1}return O.getFormKey().catch(S=>{this.fail(O.strings.FORM_KEY_ERROR)}).then(S=>{A.key=S;try{const T=this.getSanitizedFieldValues();A.form=JSON.stringify(T)}catch{throw new Error(O.strings.FIELD_SANITIZATION_ERROR)}try{this.save(A)}catch{throw new Error(O.strings.SUBMIT_ERROR)}}).catch(S=>{this.fail(S.message)}),!1}getSanitizedFieldValues(){return[...this.formEl.querySelectorAll(".form-item")].reduce((C,A)=>(C[A.id]=O.getSanitizedFieldValue(A),C),{})}save(C){const A={...C};return(0,p._5)(A),_.default.post(O.endpoints.SAVE,A,O.NETWORK_OPTIONS).then(this.success).catch(this.fail)}isNewsletterForm(){return!!(this.formEl.classList.contains("newsletter-form")||this.formEl.querySelector(f.Z.NEWSLETTER_OVERLAY_NODE_ID))}renderFieldError(C,A){const S=this.formEl.querySelector(`#${C}`);if(!S)return;S.classList.add("error");const T=S.querySelector(".title");A&&T&&T.parentNode&&T.parentNode.insertBefore(this.createErrorNode(A),T)}renderFieldClientErrors(C){C.forEach(A=>{let{fieldId:S,message:T}=A;return this.renderFieldError(S,T)})}renderFieldServerErrors(C){Object.entries(C).forEach(A=>{let[S,T]=A;this.renderFieldError(S,T)})}renderErrorMessage(C){this.formEl.insertBefore(this.createErrorNode(C),this.isNewsletterForm()?this.formEl.querySelector(".newsletter-form-body"):this.formEl.firstChild)}renderSurroundingErrors(){const C=this.formEl;C.insertBefore(this.createErrorNode(O.strings.ERROR_ABOVE),C.firstChild),this.formEl.appendChild(this.createErrorNode(O.strings.ERROR_BELOW))}renderErrors(C){if(O.isFieldErrors(C))this.renderFieldServerErrors(C.data.errors);else{const A=O.getErrorMessage(C)||O.strings.UNKNOWN_ERROR;this.renderErrorMessage(A)}}showSubmissionText(){const C=this.formEl.querySelector(".form-submission-text");C&&(C.classList.remove("hidden"),[...C.querySelectorAll("*")].forEach(A=>A.classList.remove("hidden")))}hideForm(){[...this.formEl.querySelectorAll("*")].forEach(C=>C.classList.add("hidden"))}redirectToSuccessRedirect(){const C=this.formEl.dataset.successRedirect;return C?(window.history.replaceState&&window.history.propertyIsEnumerable({},document.title,window.location.href),window.location.href=C,!0):!1}getPostSubmitHtml(){const C=this.formEl.querySelector(".form-submission-html");return C?C.dataset.submissionHtml:""}appendAndRunPostSubmitHtml(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const A=this.formEl.querySelector(".form-submission-html");A.innerHTML=this.getPostSubmitHtml(),A.classList.remove("hidden"),[...A.querySelectorAll("script")].forEach(S=>{try{if(S.src){const T=document.createElement("script");[...S.attributes].forEach(s=>{T[s.name]=s.value}),S.parentNode.insertBefore(T,S)}else this.win.eval(S.innerText)}catch{}})}renderSuccess(){this.hideForm(),this.showSubmissionText(),(0,c.scrollIntoView)(this.formEl,!0),this.appendAndRunPostSubmitHtml(this.getPostSubmitHtml())}constructor(C,A){if(y(this,"success",S=>{this.isNewsletterForm()&&(0,d.gW)(),(0,o.invoke)(this.win,"Y.Global.fire","form:submitSuccess"),this.redirectToSuccessRedirect()||(this.unlock(),this.renderSuccess())}),y(this,"createErrorNode",S=>{const T=this.win.document.createElement("div");return T.className="field-error",T.innerHTML=S,T}),y(this,"fail",S=>{this.renderErrors(S),this.isNewsletterForm()||this.renderSurroundingErrors();const T=h.getCaptchaContainer(this.win,this.formEl);T&&(this.submitEl&&this.submitEl.getAttribute("data-captcha-bound")&&(this.submitEl.disabled=!0),h.reset(this.win,T)),this.unlock()}),!C||!A)throw new Error("Invalid FormHandler construction.");if(this.win=C,A instanceof Element?this.formEl=A:A.formNode&&(this.formEl=A.formNode.getDOMNode()),!this.formEl)throw new Error("FormHandler needs a valid <form> for formEl.");this.submitEl=this.formEl.querySelector('[type="submit"]')||document.createElement("div"),this.submitText=this.submitEl.value}}y(O,"initialQuery",i().parse(window.location.search.replace(/^\?/,""))),y(O,"endpoints",{SAVE:"/api/form/SaveFormSubmission",FORM_KEY:"/api/form/FormSubmissionKey"}),y(O,"NETWORK_OPTIONS",{withCredentials:!0}),y(O,"strings",{SUBMIT_TEXT_IN_PROGRESS:(0,r.t)("Submitting\u2026",null,{project:"website.form"}),SUBMIT_ERROR:(0,r.t)("Error processing form submission. Please reload and try again.",null,{project:"website.form"}),UNKNOWN_ERROR:(0,r.t)("Unknown error, please try again later.",null,{project:"website.form"}),CAPTCHA_INCOMPLETE_ERROR:(0,r.t)("Complete CAPTCHA before submitting.",null,{project:"website.form"}),FORM_KEY_ERROR:(0,r.t)("Could not get a form submission key, please try again later.",null,{project:"website.form"}),FIELD_SANITIZATION_ERROR:(0,r.t)("Could not parse the form fields, please check your entries.",null,{project:"website.form"}),FIELD_VALIDATION_ERROR:(0,r.t)("One or more fields is invalid, please check your entries.",null,{project:"website.form"}),ERROR_ABOVE:(0,r.t)("Your form has encountered a problem. Please scroll down to review.",null,{project:"website.form"}),ERROR_BELOW:(0,r.t)("Your form has encountered a problem. Please scroll up to review.",null,{project:"website.form"}),FAIL_MAX_LENGTH:(0,r.t)("You have exceeded the character limit.",null,{project:"website.form"}),FAIL_EMAIL:(0,r.t)("Email is not valid. Email addresses should follow the format user@domain.com.",null,{project:"website.form"})}),y(O,"errorCodes",{401:(0,r.t)("Unable to submit form. Please try again later.",null,{project:"website.form"}),404:(0,r.t)("This form has not been configured yet.",null,{project:"website.form"}),429:(0,r.t)("Unable to submit form. Submission rate limit exceeded. Please try again later.",null,{project:"website.form"}),500:(0,r.t)("Unable to send form. Please try again later.",null,{project:"website.form"})}),y(O,"getFormKey",()=>_.default.post(O.endpoints.FORM_KEY,{},O.NETWORK_OPTIONS).then(P=>{let{data:{key:C}}=P;return C})),y(O,"isFieldErrors",P=>{let{response:C}=P;return(0,o.isObject)(C)&&C&&C.status===400&&C.data&&C.data.errors&&Object.keys(C.data.errors).length>0}),y(O,"getErrorMessage",function(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return(0,o.isString)(P)?P:(0,o.isObject)(P)?P.status&&O.errorCodes[P.status]?O.errorCodes[P.status]:P.data&&P.data.error?P.data.error:"":""}),y(O,"sanitizeValue",P=>{const C=P.querySelector(".field-element");return C?C.value:null}),y(O,"sanitizeChildValuesToArray",P=>P?[...P.querySelectorAll(".field-element")].map(C=>{let{value:A}=C;return A}):[]),y(O,"sanitizePhone",P=>{const C=O.sanitizeChildValuesToArray(P);return C.length===3?["",...C]:C}),y(O,"sanitizeCheckbox",P=>[...P.querySelectorAll("input")].reduce((C,A)=>(A.checked&&C.push(A.value),C),[])),y(O,"sanitizeRadio",P=>O.sanitizeCheckbox(P)[0]),y(O,"sanitizeSelect",P=>{const C=P.querySelector("select");return C?C.value:null}),y(O,"sanitizeLike",P=>[...P.querySelectorAll(".item")].reduce((C,A)=>{const S=O.sanitizeCheckbox(A),T=A.dataset.question;return T&&S.length>0&&(C[T]=S),C},{})),y(O,"sanitizeHidden",P=>{const C=O.initialQuery||i().parse(window.location.search.replace(/^\?/,""));return(P.name&&C[P.name]?C[P.name]:P.value).toString()}),y(O,"sanitizersHash",{address:O.sanitizeChildValuesToArray,checkbox:O.sanitizeCheckbox,date:O.sanitizeChildValuesToArray,hidden:O.sanitizeHidden,likert:O.sanitizeLike,name:O.sanitizeChildValuesToArray,phone:O.sanitizePhone,radio:O.sanitizeRadio,select:O.sanitizeSelect,time:O.sanitizeChildValuesToArray,default:O.sanitizeValue}),y(O,"getSanitizedFieldValue",P=>{if(P.classList.contains("section"))return;const C=[...P.classList].find(S=>O.sanitizersHash[S])||"default",A=O.sanitizersHash[C];return A(P)}),y(O,"validateField",P=>{if(P.classList.contains("section"))return{isValid:!0};const C=P.classList.contains("required");if(P.dataset.maxLength){const A=P.querySelector("textarea"),S=A.value.trim(),T=!C&&S.length===0,s=parseInt(P.dataset.maxLength,10),v=!!(s&&!isNaN(s));return{isValid:T||!v||A.value.length<=s,message:O.strings.FAIL_MAX_LENGTH}}if(P.classList.contains("email")){const S=P.querySelector("input").value.trim();return{isValid:!C&&S.length===0||(0,g.vV)(S),message:O.strings.FAIL_EMAIL}}return{isValid:!0}})},175424:function(b,l,e){"use strict";e.d(l,{V6:()=>a,nO:()=>c,wK:()=>n,wo:()=>i});var r=e(787592);const o="sqs-site-frame";function n(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:document).getElementById(o)}function a(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;const f=n(u);return(f==null?void 0:f.contentWindow)??null}const i=()=>{try{var u;return((u=a())===null||u===void 0?void 0:u.document)??null}catch(d){const h=(0,r.nZ)(),g=n();h.setTag("config_origin",window.origin);let _;try{var f;_=(f=a())===null||f===void 0?void 0:f.origin}catch{_="COULD-NOT-DETERMINE"}h.setTag("frame_origin",_);const p=Object.values((g==null?void 0:g.attributes)??[]).reduce((O,P)=>({...O,[P.name]:P.value}),{});h.setExtra("frameAttrs",p??"unavailable");const y=new Error("getFrameDocument threw an Error accessing the frame");throw y.cause=d,y}},c=u=>{var f;return(u==null||(f=u.frameElement)===null||f===void 0?void 0:f.id)===o}},850427:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(287734),o=e(212004),n=e.n(o);const a={CLASSIC_WEBSITE_TRIAL_CONVERSION:"trial_conversion",COVER_PAGE_TRIAL_CONVERSION:"cover_page_trial_conversion",PARKING_PAGE_TRIAL_CONVERSION:"parking_page_trial_conversion",COMMERCE_TRIAL_CONVERSION:"commerce_trial_conversion",PAID_CONVERSION_LANDING:"paid_conversion_landing",PAID_CONVERSION:"paid_conversion",DOMAIN_FIRST_CHECKOUT_BEGIN:"domain_first_checkout_begin",DOMAIN_FIRST_CHECKOUT_SUCCESS:"domain_first_checkout_success",DOMAIN_TRANSFER_FIRST_CHECKOUT_BEGIN:"domain_transfer_first_checkout_begin",DOMAIN_TRANSFER_FIRST_CHECKOUT_SUCCESS:"domain_transfer_first_checkout_success",DOMAIN_PANEL_CHECKOUT_BEGIN:"domain_panel_checkout_begin",DOMAIN_PANEL_CHECKOUT_SUCCESS:"domain_panel_checkout_success",DOMAIN_TRANSFER_PANEL_CHECKOUT_BEGIN:"domain_transfer_panel_checkout_begin",DOMAIN_TRANSFER_PANEL_CHECKOUT_SUCCESS:"domain_transfer_panel_checkout_success",GOOGLE_APPS_SIGNUP:"google_apps_signup",FIRST_LOGIN:"first_login",COMMERCE_STRIPE_ONBOARDING_BEGIN:"commerce_stripe_onboarding_begin",COMMERCE_STRIPE_ONBOARDING_SUCCESS:"commerce_stripe_onboarding_success",COMMERCE_PAYPAL_ONBOARDING_BEGIN:"commerce_paypal_onboarding_begin",COMMERCE_PAYPAL_ONBOARDING_SUCCESS:"commerce_paypal_onboarding_success",COMMERCE_SQUARE_ONBOARDING_BEGIN:"commerce_square_onboarding_begin",COMMERCE_SQUARE_ONBOARDING_SUCCESS:"commerce_square_onboarding_success",getWebsiteCheckoutEventName(c,u){if(c===n().WEBSITE_LEGACY_PERSONAL||c===n().WEBSITE_LEGACY_PROFESSIONAL||c===n().WEBSITE_LEGACY_BUSINESS)return a.PAID_CONVERSION;let f;return(0,r.W)(u)?f="monthly":((0,r.pE)(u)||console.error(`Could not find event name for duration {count=${u.count} size=${u.size}}. Tracking as annual.`),f="annual"),`${c}_${f}_conversion`}},i=a},968174:function(b,l,e){"use strict";e.d(l,{Ei:()=>f,z0:()=>u});var r=e(415537),o=e.n(r),n=e(723796);const a=(0,n.$S)("GoogleMapsUtils"),i=[null,o().Original,o().Grayscale,o().Satellite,o().MinimalLight,o().MinimalDark,o().MinimalBlue],c=p=>i[p],u={ORIGINAL:1,GRAYSCALE:2,SATELLITE:3,MINIMAL_LIGHT:4,MINIMAL_DARK:5,MINIMAL_BLUE:6},f=p=>{let{location:y,controls:O,terrain:P,labels:C,style:A}=p;return{location:y,ui:{showControls:O,showTerrain:P,showLabels:C,style:i[A]}}},d=60,h=new Map,g=(p,y)=>{if(!p||!y)return;const{timeout:O,options:P={}}=h.get(p)||{};O&&window.clearTimeout(O);const C={...P,...y},A=()=>{try{p.updateUIOptions(C)}catch(S){a(S)}};h.set(p,{cb:A,timeout:window.setTimeout(A,d),options:C})},_=function(p){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!p)return;const{cb:O,timeout:P}=h.get(p)||{};P&&window.clearTimeout(P),!y&&O&&O(),h.delete(p)}},856747:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(437327),o=e.n(r),n=e(456903),a=e(538117);const i="https://media.dev.squarespace.net",c="https://media.stage.sqsp.net",u="https://media-api.squarespace.com",f=()=>(0,a.r8)()?i:(0,a.ni)()?c:u,h={loadMediaUploadServiceJobs(g){Array.isArray(g)&&(g=g.join(","));const _=f(),p="image";return n.default.get(`${_}/jobs/${p}/status?job-list=${g}`)},load(g){return Array.isArray(g)&&(g=g.join(",")),n.default.get(`/api/rest/jobs/?id=${g}`)},loadExisting(){const g=`${o().WAITING},${o().PROCESSING}`;return n.default.get(`/api/rest/jobs/?status=${g}`)},loadChildren(g){return n.default.get(`/api/rest/jobs/${g}/children`)},delete(g){return n.default.delete(`/api/jobs/${g}`)}}},126218:function(b,l,e){"use strict";e.d(l,{C:()=>o,m:()=>r});function r(n,a){if(localStorage){typeof a!="string"&&(a=JSON.stringify(a));try{localStorage.setItem(n,a)}catch(i){console.warn(i)}}}function o(n){let a=null;if(localStorage)try{const i=localStorage.getItem(n);a=JSON.parse(i)}catch{a=null}return a}},935237:function(b,l,e){"use strict";e.d(l,{av:()=>d,eg:()=>i,qp:()=>u,rN:()=>f});var r=e(276406),o=e.n(r),n=e(79306),a=e.n(n);const i=`${o().MEMBER_AREAS}--${(0,n.v4)()}`,c=`${o().SQUARESPACE}--${(0,n.v4)()}`;var u=function(h){return h.INVENTORY_PANEL="membership_inventory_panel",h.PAGES_PANEL="pages_panel",h.PRODUCT_TYPE_PICKER="product_type_picker",h.CHECKLIST="member_areas_checklist",h.PRODUCT_PICKER_VIDEO="product_picker_video",h.DIGITAL_PRODUCTS_INVENTORY_PANEL="digital_products_inventory_panel",h.MEMBER_SITE="member_site",h.CONTENT_AND_MEMBERSHIPS_DASHBOARD="content_and_memberships_dashboard",h}({}),f=function(h){return h.CREATE_PLUS_ICON="create_ma_plus_icon",h.CREATE_CARD_CTA="create_ma_card_cta",h.SETTINGS_GEAR_ICON="settings_gear_icon",h.PRICING_PLAN_REQUIRED="pricing_plan_required",h.MAIN_NAV="main_nav",h.NOT_LINKED="not_linked",h}({}),d=function(h){return h.PAGES_CREATE="pages_create",h.PAGES_DETAILS="pages_details",h.COMMERCE_CREATE="commerce_create",h.COMMERCE_DETAILS="commerce_details",h.SETTINGS_CREATE="settings_create",h.SETTINGS_DETAILS="settings_details",h.PRICING_PLAN_REQUIRED="pricing_plan_required",h}({})},865206:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(568324),o=e.n(r),n=e(912459),a=e.n(n);function i(){let{parent:p,selector:y,minLength:O=1,frequencyMs:P=100,maxRetries:C=0}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return!p||!y?Promise.reject("[waitForExistence] Called without a parent or selector"):new Promise((A,S)=>{let T=0;C>99999999&&(C=0);const s=()=>{if(!p){S("[waitForExistence] parent does not or no longer exists");return}const v=Array.from(p.querySelectorAll(y));if(v.length>=O){A(v);return}if(C!==0&&(T=T+1,T>C)){S(`[waitForExistence] Did not find ${y} in ${P*T}ms`);return}window.setTimeout(s,P)};s()})}const c=i;var u=e(985913);const f=(p,y)=>{let O=0,P=a()(p[0],`.${y}`,()=>++O>3);if(!P){const C=p[0],A=C.parentNode;P=A.ownerDocument.createElement("div"),P.classList.add(y),A.insertBefore(P,C)}return p.forEach(C=>P.appendChild(C)),P},d=p=>{const y=p.querySelector(".squarespace-opentable-new-age-wrapper");y.classList.add("loaded"),y.classList.remove("loading")},h=p=>{const y=p.querySelector(".squarespace-opentable-new-age-wrapper");if(!y)return Promise.reject("[opentablev2] No wrappers");if(y.classList.add("loading"),y.querySelector("iframe"))return d(p),Promise.resolve();const O=document.cookie.split(";"),P=m=>{const E=m&&m.split("=")[1].split(",");return E&&E.includes("eu")},C=m=>{const E=m.split("=")[1].split(",");return E.includes("2")||E.includes("3")},A=()=>{const m=O.find(E=>{if(E.includes("notice_behavior"))return E});return P(m)},S=()=>{const m=O.find(I=>{if(I.includes("cmapi_cookie_privacy"))return I}),E=A(O);return!!(!E||E&&m&&C(m))};if(window.Static.SQUARESPACE_CONTEXT.website.cloneable&&S()){const m=y.dataset.script,E=document.createElement("script");E.setAttribute("src",m),y.appendChild(E)}const T=c({parent:y,selector:".ot-date-picker, .ot-time-picker, .ot-party-size-picker"}).then(m=>f(m,"squarespace-opentable-picker-wrapper")),s=c({parent:y,selector:".ot-dtp-picker-button"}).then(m=>f(m,"squarespace-opentable-button-wrapper")),v=c({parent:y,selector:".ot-title"}).then(m=>{m.forEach(E=>{const I=E.innerHTML,L=E.ownerDocument.createElement("h1");L.classList.add("squarespace-ot-title"),L.innerHTML=I,E.parentNode.insertBefore(L,E),E.parentNode.removeChild(E)})});return Promise.all([T,s,v]).then(c({parent:y,selector:".ot-select-label"})).then(()=>d(p)).catch(m=>{console.error("[opentable] widget DOM never rendered")})},g=(p,y)=>new Promise((O,P)=>{const C=y.querySelector("script"),A=y.clientWidth>850?"wide":"standard",S=p.Y&&(0,u.F)(p.Y),T=S?"false":"true",m=`${C.getAttribute("src").replace(/&(iframe|overlay|theme)=\w+/g,"")}&iframe=${T}&overlay=false&theme=${A}`;o()(m,{before:(E,I)=>{const L=C.parentNode;try{p.OT&&p.OT.Events&&Object.keys(p.OT.Events.get()).forEach(W=>p.OT.Events.remove(W)),p.oc&&p.oc.events.reset()}catch(W){console.error(W.message)}return L.innerHTML="",L.appendChild(I),!1},success:()=>{try{S&&p.oc&&p.oc.renderUnloadedComponents(),h(y).then(()=>{if(p.oc&&y.querySelector(".ot-hide")){const E=y.querySelector(".ot-dtp-picker");p.oc.$(E).OTdtp("init")}O()})}catch(E){console.error(E.message),P("[opentable] could not reloadScript and reinit block")}},error:()=>{P("[opentable] loadjs failed")}})}),_=p=>{var y;const O=p.ownerDocument.defaultView;!((y=O.Squarespace)===null||y===void 0)&&y.SQUARESPACE_INITIALIZED_ONCE?g(O,p).catch(P=>{console.error(P)}):h(p)}},942703:function(b,l,e){"use strict";e.d(l,{HN:()=>u,ci:()=>i,eH:()=>d,nE:()=>f});const r=".pricing-plan-pricing-options .left-button",o=".pricing-plan-pricing-options .right-button",n="#sqs-paywall-page-root",a=(h,g)=>{const _="pricing-plan-pricing-option-selected";if(h.classList.contains(_))return;const p=g.querySelector(r),y=g.querySelector(o);if(p&&y){const O=p.getAttribute("aria-pressed")==="true";p.setAttribute("aria-pressed",`${!O}`),y.setAttribute("aria-pressed",`${O}`),p.classList.toggle(_),y.classList.toggle(_),g.querySelectorAll(".product-price > div").forEach(C=>{C.classList.toggle("hide")});const P=g.querySelectorAll(".join-pricing-plan-section");P.length>0?P.forEach(C=>{C.classList.toggle("hide")}):g.querySelectorAll(".join-button").forEach(C=>{C.classList.toggle("hide")})}},i=h=>{h.delegate("click",()=>{a(h.one(r).getDOMNode(),h.getDOMNode())},r),h.delegate("click",()=>{a(h.one(o).getDOMNode(),h.getDOMNode())},o)},c=(h,g)=>{if(g){const _=g.querySelector(h);a(_,g)}},u=()=>{const h=document.querySelectorAll(`${n} .pricing-plan-pricing-option-button.left-button`),g=document.querySelectorAll(`${n} .pricing-plan-pricing-option-button.right-button`);h.forEach(_=>{_.addEventListener("click",()=>{c(r,_.closest(".product-block"))})}),g.forEach(_=>{_.addEventListener("click",()=>{c(o,_.closest(".product-block"))})})},f=()=>{const h=document.querySelector(`${n} .product-blocks-container`),g={attributes:!1,childList:!0,subtree:!1},_=()=>{const p=document.querySelectorAll(`${n} .pricing-plan-title`);if((p==null?void 0:p.length)>0){const O=[...p].map(C=>(C.style.height="",Math.floor(C.getBoundingClientRect().height))),P=Math.max(...O);p.forEach(C=>{C.style.height=`${P}px`})}const y=document.querySelectorAll(`${n} .pricing-plan-pricing-toggle-wrapper`);(y==null?void 0:y.length)>0?h.classList.add("paywall-pricing-aligner"):h.classList.remove("paywall-pricing-aligner")};h&&(_(),new MutationObserver(_).observe(h,g))},d=()=>{document.querySelectorAll(`${n} .pricing-plan-description`).forEach(p=>{p.scrollHeight>p.offsetHeight&&p.closest(".product-block").classList.add("see-more-node")}),document.querySelectorAll(`${n} .see-more-text`).forEach(p=>{p.addEventListener("click",()=>{const y=p.closest(".product-block");y.classList.remove("see-more-node"),y.classList.add("see-less-node")})}),document.querySelectorAll(`${n} .see-less-text`).forEach(p=>{p.addEventListener("click",()=>{const y=p.closest(".product-block");y.classList.remove("see-less-node"),y.classList.add("see-more-node")})})}},900391:function(b,l,e){"use strict";e.d(l,{Ew:()=>T,eK:()=>s,VG:()=>v});var r=e(439939),o=e(58980),n=e.n(o),a=e(553772),i=e(916661),c=e(92485),u=e(72510),f=e(174161),d=e(594127),h=e(285814),g=e(487558),_=e(225378),p=e(208935),y=e(561637),O=e(663634),P=e(30712);const C=m=>{let{attrs:E,anchorAt:I,handleRemoveLink:L,onChange:W,handleCloseLinkEditor:F,handleOpenLinkEditor:G,mountAt:k}=m;const[x,M]=(0,f.useState)(!1),B=(0,f.useRef)(null),{position:R,anchor:U,anchorPoint:j}=(0,y.useIsOnScreen)({linkPreviewRef:B,anchorAt:I});return(0,f.useEffect)(()=>{const $=ee=>{x||ee.preventDefault()};return k.addEventListener("mousedown",$),document.addEventListener("rteLinkEditorOpened",F),()=>{document.removeEventListener("rteLinkEditorOpened",F),k.removeEventListener("mousedown",$)}},[k,F,B,x]),f.createElement(h.Z,{anchor:U,anchorPoint:j,hideArrow:!0,ref:B,id:"rte-link-preview",mountAt:k,isOpen:!0,position:R,bodyClassName:p.NONINTERACTIVE_CLASSNAME,className:p.NONINTERACTIVE_CLASSNAME,onRequestClose:F,closeOnEsc:!0,offset:16,closeOnClickOutside:!0,constrainToScreen:!1,bodyStyles:{borderRadius:"8px"}},x?f.createElement(y.LinkEditor,{value:{url:E.href,newWindow:E.target==="_blank",title:""},onChange:W,onRequestClose:F,trackingPayload:(0,y.getCMSTrackingPayload)("inline-editor"),isFeatureEnabled:O.cr,isLinkEditorUAUEnabled:(0,P.L)().isLinkEditorUAUEnabled}):f.createElement(y.LinkPreview,{url:E.href,removeLink:L,handleOpenLinkEditor:()=>{G(),M(!0)},trackingPayload:(0,y.getCMSTrackingPayload)("inline-editor")}))};function A(m){let{attrs:E,anchorAt:I,handleRemoveLink:L,handleEditLink:W,handleCloseLinkEditor:F,handleOpenLinkEditor:G}=m;var k;const x=(k=I.ownerDocument.defaultView)===null||k===void 0?void 0:k.frameElement,M=x==null?void 0:x.contentDocument;if(!M)return;const B=M.getElementById("rosetta-rte-toolbars");if(!B)return;let R=M.createElement("div");R.classList.add("rte-link-preview-container");let U=(0,d.createRoot)(R);return U.render(f.createElement(_.o,{frameCacheKey:"rte-link-preview"},f.createElement(g.SB,null,f.createElement(C,{attrs:E,anchorAt:I,handleRemoveLink:L,onChange:W,handleCloseLinkEditor:F,handleOpenLinkEditor:G,mountAt:B})))),{node:R,unmount:()=>{U==null||U.unmount(),U=null,R==null||R.remove(),R=null}}}const S={renderLinkPreview:A,useLinkPreview:!0,shouldPasteAsLink:y.shouldPasteAsLink},T=m=>{let{doc:E,schema:I,schemaType:L,isInline:W,isLinkable:F}=m;I=I||a.r7[L];const G={...I,link:F};if(i.Z.isSevenOne()?G.textColorMapping=!0:G.fontMapping=!1,W)return r.se.createInline({...G,...a.K_});if(i.Z.isSevenOne()){const k=n()(G.code)?G.code.marks:null;G.highlight=!0,G.code={marks:`${k??""} highlight`.trim()}}return E=E||{multiple:!0,required:!0},r.se.create(G,E)},s=m=>{let{initialData:E,placeholder:I,schema:L,blockId:W,textAttributes:F,plugins:G}=m;const k=!(0,c.i)(),x={schema:L,placeholder:I,useHistory:k,plugins:G??(0,r.uM)(L,{commands:(0,r.dX)(L,{useHistory:k}),useHistory:k,placeholder:I,useTextEffects:i.Z.isSevenOne(),linkPreviewConfig:S}),blockId:W,textAttributes:F};let M=null;if(typeof E=="string")M=r.yy.fromHTML({html:E,...x});else{const B=E!=null&&E.getDOMNode?E.getDOMNode():E;B&&B.nodeType&&(M=r.yy.fromNode({node:B,...x}))}return M||(M=r.yy.createEmpty(x)),M};function v(m){return Array.from(m.querySelectorAll('span[class^="sqsrte-text-color"]')).forEach(function(I){I.outerHTML=I.innerHTML}),m}},76964:function(b,l,e){"use strict";e.d(l,{G:()=>h,S:()=>d});var r=e(451484),o=e.n(r),n=e(544553),a=e.n(n),i=e(346979),c=e.n(i);const u="*",f=(g,_,p)=>{const y=_[0];if(typeof g!="object")throw new Error("Cannot traverse path through a non-object.");(y===u?Object.keys(g):[y]).forEach(P=>{if(!(P in g)||g[P]===null)return;if(_.length===1){if(Array.isArray(g[P]))for(let A=0;A<g[P].length;A++)g[P][A]=p(g[P][A]);else g[P]=p(g[P]);return}const C=a()(_);if(Array.isArray(g[P])){g[P].forEach(A=>f(A,C,p));return}f(g[P],C,p)})},d=function(g){for(var _=arguments.length,p=new Array(_>1?_-1:0),y=1;y<_;y++)p[y-1]=arguments[y];if(typeof g!="function")throw new Error("transformFn must be a function");return p=p.map(O=>O.split(".")),O=>(p.forEach(P=>{f(O,P,g)}),O)},h=function(){for(var g=arguments.length,_=new Array(g),p=0;p<g;p++)_[p]=arguments[p];const y=(C,A)=>typeof C[A]=="function",O=C=>c()(_,A=>C instanceof A.ctor),P=C=>{if(typeof C!="object")return;const A=O(C);if(!A)return;const S=A.transformMethod||"toJson";if(y(C,S))return C[S]()};return C=>o()(C,P)}},70426:function(b,l,e){"use strict";e.d(l,{GF:()=>S,Hc:()=>T,LL:()=>A,Lg:()=>_,N2:()=>p,VJ:()=>C,WL:()=>E,cW:()=>s,f6:()=>v,g7:()=>m,qg:()=>I,vJ:()=>y});var r=e(657408),o=e(714487),n=e(765134),a=e(35849),i=e.n(a),c=e(77886),u=e.n(c),f=e(484849);const d="5c5a519771c10ba3470d8101",h=new Set([i().PENDING,i().IN_PROGRESS].flat()),g=new Set([i().PENDING,i().IN_PROGRESS,i().COMPLETED,i().FAILED,i().STOPPED].flat());function _(L,W){return!!(L&&W&&!L.developerMode&&Object.values(u()).includes(W.templateId))}function p(){var L,W;return _((L=(0,r.getWebsiteContext)())===null||L===void 0?void 0:L.website,(W=(0,r.getWebsiteContext)())===null||W===void 0?void 0:W.templateInstallation)}function y(L){return(L==null?void 0:L.templateId)===d}function O(L){return h.has(L.status)}function P(L){return g.has(L.status)}function C(){const{previewTemplateInstallation:L,sevenOneMigration:W}=(0,r.getWebsiteContext)()??{};return!!(L&&y(L)&&(W==null?void 0:W.previewTemplateInstallationId)===L.id)}async function A(){await f.Z.sevenOneMigrationCancel();let L=!1;for(;!L;)L=(await f.Z.sevenOneMigrationStatus()).data.status===i().CANCELLED,L||await(0,n.Z)(1e3)}async function S(){await f.Z.sevenOneMigrationSetAsLive();let L=!1;for(;!L;){const W=(await f.Z.sevenOneMigrationStatus()).data.status;if(L=W===i().LIVE,W===i().FAILED)throw new Error("Migration could not be set as live: received FAILED status");L||await(0,n.Z)(1e3)}}const T=(0,o.t)("Publish update to access",null,{project:"src.shared",notes:"A tooltip displayed when users previewing their 7.0 site's migration to 7.1 try to access panels they do not have access to."});function s(L){return C()?{...L,disabled:!0,disabledTooltipText:T}:L}async function v(){let{getIsCanceled:L=()=>!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},W=L();for(;!W;){const F=await f.Z.sevenOneMigrationStatus(),G=F.data.status;if(G===i().COMPLETED)break;if(G===i().FAILED)throw console.error("Migration status update reported failure: ",F),new Error("Migration failed");if(G===i().CANCELLED)return{didMigrate:!1};if(G!==i().IN_PROGRESS&&G!==i().PENDING)throw console.error(F),new Error("Unexpected migration status returned from server");await(0,n.Z)("Cypress"in window?5:500),W=L()}return W?{didMigrate:!1}:{didMigrate:!0}}async function m(L){let{selectedHomepageId:W}=L;const F=await f.Z.sevenOneMigrationBegin({homepageId:W}),G=F==null?void 0:F.status;if(!G)throw console.error("Response was invalid: ",F),new Error("Migration failed");if(G<200||G>=400)throw console.error("Response had non-200 or 300 status: ",F),new Error("Migration failed")}function E(){window.location.replace("/config/website/design")}function I(){window.location.replace("/config/pages")}},635845:function(b,l,e){"use strict";e.d(l,{W:()=>i,m:()=>a});var r=e(994336),o=e.n(r),n=e(691985);function a(){try{var c;const u=btoa(JSON.stringify({identifier:n.D===null||n.D===void 0||(c=n.D.website)===null||c===void 0?void 0:c.identifier}));o().set("ss_lastid",u,{domain:n.D.appDomain,path:"/"})}catch{}}function i(){try{o().set("ss_lastid","",{domain:n.D.appDomain,expires:String(new Date(0)),path:"/"})}catch{}}},623040:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o={create:function(n){const a=function(){};a.prototype=n;const i=new a;return i.ready&&i.ready(),i}}},673951:function(b,l,e){"use strict";e.d(l,{Ay:()=>p,pe:()=>_,qu:()=>y});var r=e(720406),o=e.n(r),n,a,i,c,u;function f(){var O,P;return((P=window.Static)===null||P===void 0||(O=P.SQUARESPACE_CONTEXT)===null||O===void 0?void 0:O.templateVersion)===o().SEVEN_ONE}function d(){var O,P;return((P=window.Static)===null||P===void 0||(O=P.SQUARESPACE_CONTEXT)===null||O===void 0?void 0:O.templateVersion)===o().SEVEN}const h=!!(!((i=window)===null||i===void 0||(a=i.webkit)===null||a===void 0||(n=a.messageHandlers)===null||n===void 0)&&n.isSquarespaceEditor),_=!!(!((u=window)===null||u===void 0||(c=u.SquarespaceApp)===null||c===void 0)&&c.isSquarespaceEditor)||h,p=f()&&_,y=d()&&_},175918:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(193213);function o(i,c,u){return c in i?Object.defineProperty(i,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[c]=u,i}class n{refreshStickyState(){this.stickyState==="in"?this.applyStickyInStyles():this.stickyState==="out"?this.applyStickyOutStyles():this.stickyState==="pinned"&&this.applyPinnedStyles()}applyStickyInStyles(){this.stickyState="in",this.isStickyTop?(this.node.style.bottom="",this.node.style.top=`calc(var(--sticky-original-position) + ${this.buffer}px)`):(this.node.style.top="",this.node.style.bottom=`calc(var(--sticky-original-position) + ${this.buffer}px)`),this.node.style.transition="",this.node.offsetLeft}applyStickyOutStyles(){this.stickyState="out",this.isStickyTop?(this.node.style.bottom="",this.node.style.top=`calc(var(--sticky-original-position) - ${this.buffer}px)`):(this.node.style.top="",this.node.style.bottom=`calc(var(--sticky-original-position) - ${this.buffer}px)`),this.node.style.transition="",this.node.offsetLeft}applyPinnedStyles(){this.stickyState="pinned",this.isStickyTop?(this.node.style.bottom="",this.node.style.top="var(--sticky-original-position)",this.node.style.transition="top 0.2s cubic-bezier(0.33,1,0.68,1)"):(this.node.style.top="",this.node.style.bottom="var(--sticky-original-position)",this.node.style.transition="bottom 0.2s cubic-bezier(0.33,1,0.68,1)")}measurePosition(){const c=this.isStickyTop?"top":"bottom",u=this.node.style[c];this.node.style.removeProperty(c),this.node.style.transition="";const f=parseInt(this.computed.top,10)||0,d=parseInt(this.computed.bottom,10)||0;return this.node.style[c]=u,{top:f,bottom:d}}updateObservers(c,u){this.hasInitialized=!0,this.top=c,this.bottom=u,this.lastTop=c,this.lastBottom=u,this.disconnectObservers(),this.initIntersectionObservers(c,u)}initIntersectionObservers(c,u){var f;const d=this.isStickyTop?`${-c-this.buffer-1}px 0px 1000000px 0px`:`1000000px 0px ${-u-this.buffer-1}px 0px`,h=this.isStickyTop?`${-c+this.buffer}px 0px 1000000px 0px`:`1000000px 0px ${-u+this.buffer}px 0px`;this.observerInside=new IntersectionObserver(this.onIntersectionInside,{root:this.document,rootMargin:d,threshold:[1]}),this.observerOutside=new IntersectionObserver(this.onIntersectionOutside,{root:this.document,rootMargin:h,threshold:[1]});const g=this.node.getAttribute("data-block-id"),_=(0,r.di)(g),p=(f=this.node.parentElement)===null||f===void 0?void 0:f.querySelector(`.${_}.fluid-engine-original-position`);this.observerInside.observe(p||this.node),this.observerOutside.observe(p||this.node)}disconnectObservers(){var c,u;(c=this.observerInside)===null||c===void 0||c.disconnect(),(u=this.observerOutside)===null||u===void 0||u.disconnect()}isOutsideRegion(c){return this.isStickyTop?c.boundingClientRect.top<-this.buffer:window.innerHeight-c.boundingClientRect.bottom<-this.buffer}isInsideRegion(c){return this.isStickyTop?c.boundingClientRect.top>this.top+this.buffer:window.innerHeight-c.boundingClientRect.bottom>this.bottom+this.buffer}constructor(c,u){var f,d,h;o(this,"buffer",75),o(this,"hasInitialized",!1),o(this,"top",0),o(this,"bottom",0),o(this,"stickyState","none"),o(this,"lastTop",null),o(this,"lastBottom",null),o(this,"node",void 0),o(this,"document",void 0),o(this,"computed",void 0),o(this,"resizeObserver",void 0),o(this,"intersectionObserver",void 0),o(this,"observerInside",void 0),o(this,"observerOutside",void 0),o(this,"isStickyTop",void 0),o(this,"onResize",g=>{this.node.style.setProperty("--block-height",this.node.offsetHeight.toString()+"px"),this.onRefresh()}),o(this,"onIntersection",g=>{const[_]=g;_.isIntersecting&&this.onRefresh()}),o(this,"onRefresh",()=>{const{node:g}=this,{top:_,bottom:p}=this.measurePosition();g.style.setProperty("--sticky-original-position",`${this.isStickyTop?_:p}px`),this.refreshStickyState(),(!this.hasInitialized||this.lastTop!==_||this.lastBottom!==p)&&this.updateObservers(_,p)}),o(this,"onIntersectionInside",g=>{const[_]=g;!_.isIntersecting&&this.isOutsideRegion(_)||(_.isIntersecting?this.applyStickyInStyles():this.applyPinnedStyles())}),o(this,"onIntersectionOutside",g=>{const[_]=g;_.isIntersecting&&this.isInsideRegion(_)||(_.isIntersecting?this.applyPinnedStyles():this.applyStickyOutStyles())}),o(this,"destroy",()=>{var g,_,p,y,O;window.removeEventListener("resize",this.onRefresh),(p=window)===null||p===void 0||(_=p.Y)===null||_===void 0||(g=_.Global)===null||g===void 0||g.detach("headerHeight",this.onRefresh,this),(y=this.resizeObserver)===null||y===void 0||y.disconnect(),this.disconnectObservers(),(O=this.intersectionObserver)===null||O===void 0||O.disconnect(),this.node.style.removeProperty("--sticky-original-position"),this.node.style.removeProperty("position"),this.node.style.removeProperty(this.isStickyTop?"top":"bottom"),this.node.style.removeProperty("transition")}),this.node=c,this.document=u??document,this.computed=window.getComputedStyle(c),this.isStickyTop=this.computed.top!=="auto",this.resizeObserver=new ResizeObserver(this.onResize),this.resizeObserver.observe(this.node),this.intersectionObserver=new IntersectionObserver(this.onIntersection,{root:this.document,rootMargin:"50% 0px 50% 0px"}),this.intersectionObserver.observe(this.node),window.addEventListener("resize",this.onRefresh),(h=window)===null||h===void 0||(d=h.Y)===null||d===void 0||(f=d.Global)===null||f===void 0||f.on("headerHeight",this.onRefresh,this)}}function a(i,c){if(i)return new n(i,c)}},409790:function(b,l,e){"use strict";e.d(l,{W9:()=>a,db:()=>i,iR:()=>n});var r=e(461761),o=e.n(r);function n(c){if(c===void 0||typeof c!="string"||c==="")return{value:c,unit:""};if(/\d+:\d+.*/.test(c))return{value:c,unit:""};const f=c.match(/^([-.\d]+(?:\.\d+)?)(.*)$/);return!f||f.length===0?{value:c,unit:""}:{value:parseFloat(f[1].trim()),unit:f[2].trim()}}function a(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"%";const f=new RegExp(`${u}+`,"g");return c.replace(f,u)}function i(c,u){const f=/\{\s*([^|}]+?)\s*(?:\|([^}]*))?\s*\}/g;return c.replace?c.replace(f,function(d,h){const g=o()(u,h);return typeof g>"u"?d:g}):c}},502397:function(b,l,e){"use strict";e.d(l,{U:()=>a,Z:()=>i});var r=e(784874),o=e(91258);function n(c){const u=c.querySelector(".summary-block-wrapper");if(!u||!u.matches(".summary-block-collection-type-events"))return Promise.resolve();let f;try{f=JSON.parse(c.getAttribute("data-block-json"))}catch(g){return console.warn("Issue with decoding the JSON: ",g),Promise.resolve()}let d=c.ownerDocument.defaultView.Static.SQUARESPACE_CONTEXT.collectionId;const h=c.closest('.sqs-layout[data-type="page"]');return h&&(d=h.getAttribute("id").replace("page-","")),(0,o.O)({collectionId:d,blockWidgetJson:{type:r.Z.SUMMARY_V2,id:c.getAttribute("id").replace("block-",""),value:f}}).then(g=>{let{html:_}=g;const p=c.querySelector(".sqs-block-content");p&&(p.innerHTML=_)})}const a=c=>{let u=65;return c!=="Auto"&&(u=100/c),u||0},i=c=>(c.getDOMNode&&(c=c.getDOMNode()),n(c).then(()=>{if(!c.querySelector(".summary-block-setting-design-autogrid"))return Promise.resolve();const u=[...c.querySelectorAll("img")];let f=0;const d=g=>{g.target.removeEventListener("load",d),f++,f===u.length&&(f=0,window.dispatchEvent(new Event("resize")))},h=g=>{g.addEventListener("load",d)};u.forEach(h)}))},484849:function(b,l,e){"use strict";e.d(l,{Z:()=>g});var r=e(456903),o=e(131626),n=e.n(o);const a="/api/template-installations",i="/api/template",c="/api/sevenonemigration/preview",u="/api/sevenonemigration/setaslive",f="/api/sevenonemigration/status",d="/api/sevenonemigration/scan",g={loadTemplateInstallations(){return r.default.get(a)},setLiveInstallation(_){return r.default.post(`${i}/SetTemplate`,n().stringify({installationId:_},{arrayFormat:"repeat"}))},updateInstallation(_){return r.default.put(`${a}/${_.id}`,_)},setHomepageCollectionId(_){return r.default.post(`${i}/SetHomepageCollection`,n().stringify({collectionId:_},{arrayFormat:"repeat"}))},sevenOneMigrationBegin(){let{homepageId:_}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const p=n().stringify(_?{homepageId:_}:{});return r.default.post(c,p,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},sevenOneMigrationCancel(){return r.default.delete(c)},sevenOneMigrationSetAsLive(){return r.default.post(u)},sevenOneMigrationStatus(){return r.default.get(f)},sevenOneMigrationScan(){return r.default.post(d)},deleteInstallation(_){return r.default.delete(`${a}/${_.id}`)}}},916661:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(461761),o=e.n(r),n=e(720406),a=e.n(n);const i=function(){const c=o()(window,"Static.SQUARESPACE_CONTEXT.templateVersion");return{getVersion:function(){return c},isVersion:function(u){return c===u},isSevenOne:function(){return c===a().SEVEN_ONE}}}()},229805:function(b,l,e){"use strict";e.d(l,{$Q:()=>u,Cf:()=>O,DD:()=>C,Hg:()=>A,JP:()=>p,K_:()=>g,UO:()=>_,lG:()=>P});var r=e(553772),o=e(916661),n=e(439939),a=e(900391),i=e(419467),c=e.n(i);const u=S=>{let{editorType:T,blockTypeName:s}=S;const v=r.r7[T];return o.Z.isSevenOne()&&s==="HTML"?{...v,...r.ec}:v};let f;const d=S=>{if(!f){const s=(0,a.Ew)({schema:u({editorType:r.rg.CLASSIC,blockTypeName:"HTML"}),isInline:!1,isLinkable:!0}),v=!1,m=(0,n.uM)(s,{commands:(0,n.dX)(s,{useHistory:v}),useTextEffects:o.Z.isSevenOne()});f={schema:s,plugins:m}}const T=new n.ZP({state:(0,a.eK)({...f,initialData:S}),mountNode:null});return T.view.setProps({handleScrollToSelection:()=>!0}),T},h=new Set(["heading","scaledText"]),g=S=>{const s=d(S).getChildNodesFromEditor();return s.length===1&&h.has(s[0].type.name)},_=S=>d(S).getChildNodesFromEditor().some(v=>h.has(v.type.name)),p=S=>{const T=d(S),s=T.getText();return T.destroy(),/\S/.test(s)},y=S=>{const T=S.findIndex(v=>v.content.size>0);if(T===-1)return[];const s=S.findLastIndex(v=>v.content.size>0);return S.slice(T,s+1)},O=S=>{const T=d(S),s=T.getChildNodesFromEditor();let v=null;const m=[],E=[];s.forEach((W,F)=>{h.has(W.type.name)?(v!==null&&E.push(s.slice(v,F)),v=null,m.push(W)):v===null&&(v=F)}),v!==null&&E.push(s.slice(v,s.length));const I=m.filter(W=>W.content.size>0).map(W=>T.getHTMLFromNode(W)),L=(0,i.compact)(E.map(y).map(W=>W.map(F=>T.getHTMLFromNode(F)).join("")));return T.destroy(),[...I,...L]},P=S=>{const s=d(S).getChildNodesFromEditor();return s.length===1&&s[0].type.name==="scaledText"},C=S=>{let{currentHtml:T,rteCommandName:s}=S;const v=d(T),m=v.view.state.doc;v.setSelection({head:0,anchor:m.content.size}),v.execCommand(s);const E=v.getHTML();return v.destroy(),E},A=S=>{let{currentHtml:T}=S;const s=new DOMParser().parseFromString(T,"text/html");return(0,a.VG)(s.body).innerHTML}},226782:function(b,l,e){"use strict";e.d(l,{Z:()=>u});const r="https://www.exploretock.com/tock.js",o=750,n="Tock_widget_container-columnLayout",a=f=>{const d=f.closest(".tock-block");d&&f.classList.toggle(n,d.clientWidth<=o)},i=f=>new ResizeObserver(()=>{a(f)}),u=f=>{const d=f.ownerDocument,h=d.defaultView,g=f.querySelector("#Tock_widget_container"),_=new MutationObserver(()=>{g.querySelector(".TockButton-blue").classList.add("sqs-button-element--primary"),_.disconnect()});_.observe(g,{childList:!0});let p;g&&(p=g.getAttribute("data-tock-business-slug"),a(g),h._tockResizeObserver&&(h._tockResizeObserver.disconnect(),h._tockResizeObserver=void 0),h.ResizeObserver&&(h._tockResizeObserver=i(g),h._tockResizeObserver.observe(f))),h.tock||(h.tock={version:"1.0"},h._tockLoadPromise=new Promise((y,O)=>{const P=d.createElement("script");d.head.appendChild(P),P.onload=()=>y(),P.onerror=()=>O(),P.async=!0,P.src=r})),h._tockLoadPromise.then(()=>{h.tock.load(p)})}},37755:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o=n=>{let{prev:a,next:i}=n;a=a||{},i=i||{};const c=new Set(Object.keys(i).concat(Object.keys(a))),u={};return c.forEach(f=>{i[f]!==a[f]&&(u[f]=i[f])}),u}},13828:function(b,l,e){"use strict";e.d(l,{ZP:()=>i});const r=c=>(u,f)=>{const{category:d="",tweakFilter:h}=f;return c==="products"?h==="products"||h==="product-item":c.includes("blog")?h==="blog-item"||h===c:d.match(/Blog:|Products:|Blog\s:/)?!0:!(!u.includes(c)||u.toLowerCase().includes("font")||d.match(/Colors:|Typography/))},o=(c,u)=>{const{category:f=""}=u;return!(f.match(/(Announcement Bar|Blog:|Colors:|Font Sizes|Header|Heading Sizes|Portfolio|Products|Site|Text Sizes|Typography)/)||c.match(/(tweak-)?.*?(album|blog|body-font|gallery|navigationLink|project|siteBackground|site-navigation|site-title|siteTitle)-/i))},n=(c,u,f)=>{if(u==="product-item"){var d;return!!c.querySelector(f)||!!(!((d=c.closest("html"))===null||d===void 0)&&d.querySelector(f))}return!!c.querySelector(f)},a=c=>function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{showOnlyWhenPresent:d,tweakFilter:h}=f;return!c||!d?!0:n(c,h,d)},i=c=>{let{isMainContent:u,sectionNode:f,tweakDefinitions:d,typeName:h}=c;if(!f)return{};const g=u?r(h):()=>!1,_=a(f),p=(O,P)=>g(O,P)&&_(O,P);return Object.entries(d).reduce((O,P)=>{let[C,A]=P;return p(C,A)&&(O[C]=A),O},{})}},40666:function(b,l,e){"use strict";e.d(l,{Dt:()=>u,Mw:()=>f});var r=e(419467),o=e.n(r),n=e(802671),a=e(655446),i=e(862335);function c(d,h){var g;return(d.parentType==="font"||!((g=d.variableName)===null||g===void 0)&&g.endsWith("font-size-override")?a.aA:n.aA)[h]||{min:0,max:100,step:1}}function u(d){let{def:h,value:g}=d;const _=(0,i.k)(g);if(h.step||(h.step=1),(0,r.isUndefined)(h.originalMinMaxStep)&&(h.originalMinMaxStep=(0,r.pick)(h,["min","max","step"])),!_)return h.originalMinMaxStep;const p=(0,i.k)(h.defaultValue),y=p&&_.unit===p.unit,O=c(h,_.unit),P=y?h.originalMinMaxStep:O;return{min:parseFloat(P.min),max:parseFloat(P.max),step:parseFloat(P.step)}}function f(d){return n.O6.reduce((h,g)=>(g!==""&&(h[g]=c(d,g)),h),{})}},211568:function(b,l,e){"use strict";e.d(l,{cT:()=>W,U8:()=>L,ns:()=>I,am:()=>S,r2:()=>G,jC:()=>F});var r=e(936177),o=e(703769),n=e(456903),a=e(368065),i=e(88625),c=e(725542),u=e(207008),f=e(54955);const d=(k,x,M)=>{const B=new Error(k);return B.config=x,M&&(B.code=M),B},g=k=>new Promise((x,M)=>{const B=k.data,R=k.headers,U=k.cancel;if(U&&U.isCanceled())return M(new o.CancellationError("Request has been canceled."));a.Z.isFormData(B)&&delete R["Content-Type"];let j=new XMLHttpRequest;const $=(0,i.Z)(k.url,k.params,{serialize:k.paramSerializer});j.open(k.method.toUpperCase(),$,!0),j.timeout=k.timeout,j.onreadystatechange=()=>{if(!j||j.readyState!==4||j.status===0)return;const ee=(0,c.Z)(j.getAllResponseHeaders()),te=j.responseText||j.response,ie={data:(0,f.Z)(k.transformResponse,{headers:ee,status:j.status,data:te}),status:j.status===1223?204:j.status,statusText:j.status===1223?"No Content":j.statusText,headers:ee,config:k,request:j};(0,u.Z)(x,M,ie),j=null},j.onerror=()=>{M(d("Network Error",k)),j=null},j.ontimeout=()=>{M(d("timeout of "+k.timeout+"ms exceeded",k,"ECONNABORTED")),j=null},Object.keys(R).forEach(ee=>{typeof B>"u"&&ee.toLowerCase()==="content-type"?delete R[ee]:j.setRequestHeader(ee,R[ee])}),k.withCredentials&&(j.withCredentials=!0),k.progress&&j.upload.addEventListener("progress",k.progress),U.onCancel(()=>{j.abort(),M(new o.CancellationError("Request has been canceled.")),j=null}),j.send(B)}),p=k=>Object.keys(k).reduce((x,M)=>(k[M]instanceof window.Blob?x.append(M,k[M],k[M].name):x.append(M,k[M]),x),new FormData);var y=e(759352),O=e(538117);const P="https://media.dev.squarespace.net",C="https://media.stage.sqsp.net",A="https://media-api.squarespace.com",S=()=>(0,O.r8)()?P:(0,O.ni)()?C:A,T={},s=k=>T[k]=new o.default,v=k=>{const x=T[k];return delete T[k],x},m=k=>x=>{let{lengthComputable:M,loaded:B,total:R}=x;M&&k(B/R*100)},E=(k,x,M,B)=>{const R=(Date.now()-k)/1e3;if(R>=300){const j=window.navigator.connection,$={status:x,durationInSeconds:R,fileSize:M.size,fileType:M.type,fileCount:B,connection:j&&{downlink:j.downlink,effectiveType:j.effectiveType,rtt:j.rtt}};(0,r.trackCaughtError)("damask","Long Upload Error: "+JSON.stringify($))}},I={FILE:"/api/uploads/files",AVATAR:"/api/uploads/files/avatars",IMAGE:"/api/uploads/images",TWEAK:"/api/uploads/tweak-backgrounds",GALLERY_IMAGE:k=>`/api/galleries/${k}/images`,VIDEO:"/api/commondata/SaveMedia",CSS_ASSET:"/api/uploads/css-assets"},L=(k,x,M,B)=>{let{Filedata:R,fileCount:U}=x;const ee=`${S()}/uploads/image`,te={image:R},ie={headers:{"Content-Type":"multipart/form-data","X-Library-Id":M.websiteId,"X-Sqsp-Source":"web upload","X-Sqsp-Retainmetadata":M.retainMetadata},withCredentials:!0},{onProgress:ne,onCancel:pe}=B;pe&&(ie.adapter=g,ie.cancel=s(k)),ne&&(ie.progress=m(ne));const oe=Date.now();return n.default.post(ee,p(te),ie).then(q=>(v(k),E(oe,q.status,R,U),Promise.resolve(q)),q=>(q instanceof o.CancellationError?pe(k):v(k),E(oe,q.status,R,U),Promise.reject(q.error||q)))},W=(k,x,M,B)=>{let{onProgress:R,onCancel:U}=B;const j={headers:{"Content-Type":"multipart/form-data"}};return U&&(j.adapter=g,j.cancel=s(k)),R&&(j.progress=m(R)),n.default.post(x,p(M),j).then($=>(v(k),Promise.resolve($)),$=>($ instanceof o.CancellationError?U(k):v(k),Promise.reject($.error||$)))},F=k=>new Promise(x=>{const M=v(k);M&&M.cancel(),x(k)}),G=(k,x,M)=>{const B={headers:{"Content-Type":"application/x-www-form-urlencoded"}};return n.default.post(x,(0,y.Mq)(M),B)}},745237:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o=Object.freeze({ANCHOR:"ANCHOR",CONTENT_LINK:"CONTENT_LINK",DEFAULT:"DEFAULT",EMPTY_STRING:"EMPTY_STRING",EXTERNAL_LINK:"EXTERNAL_LINK",FILE_LINK:"FILE_LINK",MALFORMED_PROTOCOL:"MALFORMED_PROTOCOL",MISC_PROTOCOL:"MISC_PROTOCOL",SAME_PAGE_ANCHOR:"SAME_PAGE_ANCHOR"})},759352:function(b,l,e){"use strict";e.d(l,{$1:()=>Xe,$N:()=>d,Bw:()=>ge,Cd:()=>S,DW:()=>M,HK:()=>F,ID:()=>fe,Iv:()=>oe,KS:()=>m,Lp:()=>U,M1:()=>he,Mk:()=>x,Mq:()=>k,N$:()=>Ke,Nn:()=>J,OF:()=>z,Uy:()=>_e,XP:()=>te,XR:()=>R,Xi:()=>s,Yc:()=>Fe,cR:()=>ee,gB:()=>me,h6:()=>q,ho:()=>Le,is:()=>Be,l6:()=>v,n3:()=>ht,oO:()=>j,pM:()=>ae,qO:()=>E,q_:()=>T,r_:()=>ye,u7:()=>He,ui:()=>ie,vv:()=>I});var r=e(131626),o=e.n(r),n=e(409790),a=e(745237),i=e(175424);const c="https:",u=["http","https","ftp"],f=/^https?:\/\//i,d=/[\w\:]*\:(\w+)/,h=/(?:https?:\/\/)?(?:www\.)?(.*)\/?$/i,g=/^(https?:)?(\/\/)?[a-zA-Z0-9][a-zA-Z0-9_\-\.]*\.[a-zA-Z]{2,3}(\S*)?$/i,_=/(?:^#)|(?:^\.{0,2}\/)|(?:^(mailto|tel|sms|ftp|javascript):)|^(https?:)?\/\//,p=/^((https?:)?\/\/)|(ftp:\/\/)/i,y=/^([a-z]+):(.*)/i,O=/^(https?:)?(\/\/)?[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/i,P=/^[\+\-\d]{4,}$/,C=/^([\+\-\(\)\d]*\d[\+\-\(\)\d]*,?)+$/,A=/\.[\w\d]+$/,S=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").replace(new RegExp("^(/?)(.*[^/])?(/+)?$"),"$1$2")},T=Ne=>Ne.replace(p,""),s=function(){let Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Ce=arguments.length>1?arguments[1]:void 0,we=arguments.length>2?arguments[2]:void 0,$e="";if(!Ne||typeof Ne!="string"){var Ot;(Ot=window.SQUARESPACE_SENTRY)===null||Ot===void 0||Ot.captureException(new Error("Invalid url passed to UrlUtils.addQueryParam")),Ne=""}if(Ne){const Pt=Ne.split("#");Pt.length>1&&($e=Pt.slice(1).join(),Ne=Pt[0])}if(typeof Ce=="string"&&Ce){const Pt=Ne.indexOf("?")!==-1?"&":"?";Ne+=Pt+Ce+"="+we}return $e&&(Ne+="#"+$e),Ne},v=function(Ne){const $e=`[^a-zA-Z0-9/\\-${(arguments.length>1&&arguments[1]!==void 0?arguments[1]:[]).join("")}]`;return Ne=Ne.trim().replace(new RegExp("[ ]+","g")," ").replace(new RegExp("[ ]","g"),"-").replace(new RegExp($e,"g"),"").replace(new RegExp("[\\.\\-]{2,}","g"),"-").replace(new RegExp("[\\.\\/]{2,}","g"),"/").toLowerCase(),Ne},m=function(){let Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ne=Ne.replace(/^\/+/g,""),Ne=(0,n.W9)(Ne,"%"),Ne=Ne.replace(/%[^ymdt]/,"%"),Ne=(0,n.W9)(Ne,"/"),Ne?v(Ne,["%"]):""},E=function(){let Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return S(m(Ne).replace(/%+$/,""))},I=(Ne,Ce)=>{let we=Ne;return Ce&&(we+=Ce),we=we.replace(/\//g,""),v(we)},L=(Ne,Ce)=>!!Ne&&Ne.search(new RegExp("^"+Ce+".+","i"))===0,W=[[/\//g,"%2F"],[/\?/g,"%3F"],[/\*/g,"%2A"]],F=Ne=>{const Ce=W.reduce(function(we,$e){return we.replace($e[0],$e[1])},Ne);return encodeURIComponent(Ce)},G=Ne=>!!Ne||Ne===""||Ne===0,k=Ne=>{const Ce=[];return Object.keys(Ne).forEach(we=>{if(Ne.hasOwnProperty(we)&&G(Ne[we])){const $e=typeof Ne[we]=="string"?Ne[we]:JSON.stringify(Ne[we]);Ce.push(encodeURIComponent(we)+"="+encodeURIComponent($e))}}),Ce.join("&")},x=Ne=>{const Ce=document.createElement("a");return Ce.href=Ne,Ce},M=Ne=>x(Ne).pathname,B=Ne=>x(Ne).search,R=Ne=>x(Ne).hash,U=Ne=>T(Ne).split("/")[0],j=(Ne,Ce)=>M(Ne)===M(Ce),$=Ne=>p.test(Ne),ee=Ne=>Ne==="/",te=Ne=>(Ne.search(f)<0?Ne="http://"+Ne.replace(/^(\/\/)+/,""):Ne=Ne.replace(p,function(Ce,we){return we}),Ne),ie=Ne=>Ne.search(d)<0?te(Ne):Ne,ne=Ne=>Ne?_.test(Ne)?Ne:"http://"+T(Ne):"",pe=function(Ne){let Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window.location.host;return!Ne||!$(Ne)?!1:T(Ne).split("/")[0].toLowerCase()!==Ce.toLowerCase()},oe=Ne=>Ne.search(g)>-1,q=Ne=>Ne.search(O)>-1,J=Ne=>L(Ne,"#")&&Ne.length<100,me=Ne=>L(Ne,"tel:")&&Ne.length<50,re=Ne=>me(Ne)&&P.test(Ne.split("tel:")[1]),he=Ne=>L(Ne,"sms:")&&Ne.length<1e3,Ee=Ne=>he(Ne)?C.test(Ne.split("sms:")[1]):!1,fe=Ne=>L(Ne,"mailto:")&&Ne.length<1e3,H=Ne=>{if(!fe(Ne))return!1;const we=Ne.split("?")[0].split("@");return we.length===2&&A.test(we[1])},z=Ne=>L(Ne,"javascript:")&&Ne.length<250,_e=Ne=>L(Ne,"ftp:")&&Ne.length<100,ae=Ne=>L(Ne,"\\/[^\\/]")&&Ne.length<150,ge=Ne=>{let Ce="";return Ne?Ce=(Ne+"").toLowerCase().substring(0,6):window&&(Ce=window.location.protocol),Ce===c},Be=Ne=>Ne&&c+"//"+T(Ne),Ke=function(Ne){let Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!ge()||!Ne)return;const we=Ne.all("object embed, iframe"),$e=we.size();we.each(function(Ot,Pt){const Ie=Ot.getAttribute("src");Ie&&Ot.setAttribute("src",Be(Ie)),Ce&&$e===Pt+1&&(Ot.setStyle("display","none"),Ot.setStyle("display",null))})},He=Ne=>Ne.replace(h,"$1"),ye=function(){let Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return"https://".startsWith(Ne.slice(0,8))||"http://".startsWith(Ne.slice(0,7))||"ftp://".startsWith(Ne.slice(0,6))?Ne:`http://${Ne}`},Le=Ne=>{let{filters:Ce,urlId:we}=Ne;const $e=Ce?o().stringify(Ce,{arrayFormat:"repeat"}):"";return`/${we}`+($e?`?${$e}`:"")},Ue=Ne=>{if(!ae(Ne))return{};const[Ce,we]=Ne.replace(/^\//,"").split("?"),$e=we?querystring.parse(we):null;return{urlId:Ce,filters:$e}},Xe=Ne=>{const Ce=$(Ne),we=U(Ne).toLowerCase();if(Ce&&window.location.hostname.toLowerCase()===we){const $e=T(Ne);return $e.substr($e.indexOf("/"))}return Ne},Fe=Ne=>{var Ce;const we=(Ce=(0,i.V6)())===null||Ce===void 0?void 0:Ce.location;if(!we)return!1;const $e=we.href.replace(we.origin,""),Ot=Pt=>{let Ie=Pt.split("#")[0];return Ie=Ie.replace(/^\//,""),Ie};return Ot(Ne)===Ot($e)},ht=Ne=>{if(Ne=(Ne==null?void 0:Ne.trim())??"",Ne==="")return a.Z.EMPTY_STRING;const Ce=Ne.match(y);if(Ce&&Ce.length>2){const $e=Ce[1].toLowerCase(),Ot=Ce[2].startsWith("//");if(!u.includes($e))return a.Z.MISC_PROTOCOL;if(!Ot)return a.Z.MALFORMED_PROTOCOL}if(Ne.charAt(0)==="#")return a.Z.ANCHOR;if(pe(Ne))return a.Z.EXTERNAL_LINK;if(Ne.indexOf("/s/")===0)return a.Z.FILE_LINK;if(Ne.charAt(0)==="/")return a.Z.CONTENT_LINK;const we=Xe(Ne);return Fe(we)?a.Z.SAME_PAGE_ANCHOR:null}},649297:function(b,l,e){"use strict";e.d(l,{Z:()=>E});var r=e(282655),o=e.n(r),n=e(530149),a=e.n(n),i=e(882450),c=e.n(i),u=e(620748),f=e.n(u),d=e(401823),h=e.n(d),g=e(845193),_=e.n(g),p=e(126218),y=e(6233),O=e(805187),P=e.n(O),C=e(916661);function A(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const L=(0,p.C)(y.Z.KEY);if(L&&!P()(L)){const W=L[y.Z.VERSION];if(W&&W<I.version)return!0;if(L[y.Z.SUBMITTED]&&I.showUntilSignup)return!1;const G=Date.now(),k=L[y.Z.CLOSED_DATE];if(k){const x=new Date(k);if(x.setDate(x.getDate()+I.displayFrequency),x<G&&I.displayFrequency!==-1)return!0}return!1}return!0}function S(I){let{settings:L={},context:W={},isMobile:F=!1,urlSearch:G=""}=I;const x=W.pageType===c().NOT_FOUND&&W.collection&&W.collection.type===a().SPLASH_PAGE||W.pageType===c().LOCK_SCREEN;return L.enableMobile===!1&&F||!L.style||L.style===o().NONE||x||G.includes("sqsscreenshot=true")?!1:A(L)}function T(I){let{websiteSettings:L}=I;return C.Z.isSevenOne()||!L.hasOwnProperty("ssBadgeType")?!1:L.ssBadgeType!==h().NONE}function s(I){let{win:L,isMobile:W,settings:F}=I;return!(!W||!(L.innerWidth<=1024)||!F||!_()(F.style)||F.style===f().NONE)}function v(I){let{YNodeBody:L}=I;const W=L.all('img[data-licensed-asset-preview="true"]'),F=L.hasClass("has-preview-getty-imgs");return!W.isEmpty()||F}function m(I){let{settings:L={},urlSearch:W=""}=I;return W.includes("sqsscreenshot=true")?!1:L.isCookieBannerEnabled}const E={shouldShowPopupOverlay:S,shouldShowMobileInformationBar:s,shouldShowLicensedAssetsBar:v,shouldShowSSBadge:T,shouldShowCookieBanner:m}},659519:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(920768),o=e.n(r),n=e(423394);function a(){const u={},d=window.Static.SQUARESPACE_CONTEXT;d.website&&(u.websiteId=d.website.id),d.templateId&&(u.templateId=d.templateId),d.templateInstallation&&d.templateInstallation.templateWebsite&&(u.variantId=d.templateInstallation.templateWebsite.id),d.authenticatedAccount&&d.authenticatedAccount.id&&(u.memberAccountId=d.authenticatedAccount.id);const{pathname:h,hash:g}=window.location;return u.pagePath=u.pagePath||h||"",g&&g!==""&&(u.pageHash=g.substring(1)),u.member_locale=(0,n.mg)(),u.website_locale=(0,n.uu)(),u}const i=new(o());function c(u){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return i.track(u,{...f,...a()},d).catch(h=>{})}},747002:function(b,l,e){"use strict";e.d(l,{$$:()=>n,Rm:()=>c,uT:()=>i,zv:()=>a});var r=e(461761),o=e.n(r);const n=function(){return o()(window,"Static.SQUARESPACE_CONTEXT.appDomain","")},a=function(u,f){return u+"."+(f||n())},i=function(u,f){return a(u.identifier,f||n())},c=function(){const u=n();return u?"https://assets."+u+"/universal":"/universal"}},763831:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(o,n){if(o===n)return!0;if(o.length!==n.length)return!1;for(let a=0;a<o.length;a++)if(o[a]!==n[a])return!1;return!0}},312713:function(b,l,e){"use strict";e.d(l,{z:()=>r});function r(){try{if(!("cookie"in document))return!1;const o="_testCookieName";return document.cookie=o,document.cookie.includes(o)}catch{return!1}}},835457:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(o,n){if(o===n)return!0;if(o.size!==n.size)return!1;const a=o.values();for(const i of a)if(!n.has(i))return!1;return!0}},287734:function(b,l,e){"use strict";e.d(l,{$d:()=>c,W:()=>n,fn:()=>f,g1:()=>h,hT:()=>g,pE:()=>o});var r=e(714487);const o=_=>_==="P1Y",n=_=>_==="P1M",a=_=>_==="P6M",i=_=>_==="P2Y",c="P1Y",u="P2Y",f="P1M",d="P6M",h={[c]:(0,r.t)("annually",null,{project:"universal-checkout"}),[u]:(0,r.t)("biennially",null,{project:"universal-checkout"}),[f]:(0,r.t)("monthly",null,{project:"universal-checkout"}),[d]:(0,r.t)("semiannually",null,{project:"apps.App"})},g=_=>{const p=h[_];if(!p)throw new Error(`"${_}" billing period not supported.`);return p}},442797:function(b,l,e){"use strict";e.d(l,{H:()=>_,r:()=>g});var r=e(456903),o=e(247380),n=e.n(o),a=e(276406),i=e.n(a),c=e(158744),u=e(600557),f=e(400013),d=e.n(f);const h="/api/billing/billing-requests",g=p=>new Promise((y,O)=>{const P=async()=>{try{const C=await r.default.get(`${h}/${p}`);C.data.state===d().COMPLETED?y(C):C.data.state===d().FAILED?O(C):setTimeout(P,1e3)}catch(C){O(C)}};setTimeout(P,1e3)}),_=(p,y)=>new Promise(async(O,P)=>{try{const A=await r.default.get(`${h}/latest`,{params:{planType:p,operation:y}});O(A.data)}catch(A){var C;((C=A.response)===null||C===void 0?void 0:C.status)!==404&&(0,c.$e)(S=>{S.setTag("owner",n().CHECKOUT_PAYMENTS),S.setTag("uc-product-area",i().GOOGLE_WORKSPACE),(0,u.Tb)(A)}),P(A)}})},904808:function(b,l,e){"use strict";e.d(l,{LR:()=>f,Qy:()=>c,pU:()=>u});var r=e(714487),o=e(28365),n=e.n(o),a=e(921533),i=e.n(a);const c=h=>h===n().CLASSIC?i().CLASSIC:h===n().COVER_PAGE?i().COVER_PAGE:h===n().COMMERCE?i().COMMERCE:h===n().PARKING_PAGE?i().PARKING_PAGE:null,u=h=>h===i().CLASSIC?n().CLASSIC:h===i().COVER_PAGE?n().COVER_PAGE:h===i().COMMERCE?n().COMMERCE:h===i().PARKING_PAGE?n().PARKING_PAGE:null,f=h=>h===i().COVER_PAGE?(0,r.t)("Cover Page",null,{project:"src.shared"}):h===i().CLASSIC?(0,r.t)("Website",null,{project:"src.shared"}):h===i().COMMERCE?(0,r.t)("Commerce",null,{project:"src.shared"}):h===i().PARKING_PAGE?(0,r.t)("Parked Domain",null,{project:"src.shared"}):"",d=h=>f(c(h))},733285:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(76964),o=e(696049);const n=(0,r.S)(o.default.fromJson,"lineItems.discounts.amountOff","lineItems.amount","subtotal","discountAmount","taxSummaries.amount","total","amountOnCard","preTaxCreditApplied","postTaxCreditApplied","pastDueAdjustment","lineItems.subscriptionDetail.renewalPrice"),a=(0,r.S)(c=>new Date(Date.parse(c)),"created","lineItems.subscriptionDetail.periodStart","lineItems.subscriptionDetail.periodEnd");function i(c){return a(n(c))}},607620:function(b,l,e){"use strict";e.d(l,{Z:()=>_});var r=e(270848),o=e.n(r),n=e(867826);const a={[n.Z.ITEM]:p=>{let{collectionId:y,index:O}=p;const P={collectionId:y};return typeof O=="number"&&(P.index=O),P},[n.Z.CHILD]:p=>{let{collectionId:y,index:O,parentId:P}=p;const C={collectionId:y,parentId:P};return typeof O=="number"&&(C.index=O),C}},i={[o().IMAGE]:()=>({process:!0,contentType:"image",recordType:o().IMAGE}),[o().VIDEO]:()=>({process:!0,contentType:"video",recordType:o().VIDEO}),[o().TWEAKASSET]:()=>({process:!0,contentType:"tweak-asset",recordType:o().TWEAKASSET}),[o().ATTACHMENT]:()=>({useFilenameAsUrlId:!0})},c=p=>({contentType:p.type,fileName:p.name,fileSize:p.size,Filedata:p}),u=p=>({fileUrl:p}),f=p=>{const{licensedAssetPreview:y,licensedAssetId:O,url:P}=p;return{licensedAssetPreview:y,licensedAssetId:O,fileUrl:P}},d=p=>{if(typeof p=="string")return u(p);if(p instanceof File||p instanceof Blob)return c(p);if(p.licensedAssetId||p.licensedAssetPreview)return f(p)},h=p=>({replaceItemId:p}),_=(p,y,O,P)=>{const C={},A=P&&P.replaceItemId,S=P&&P.publicAsset,T=P&&P.assetUsageType;return S&&(C.publicAsset=S),T&&(C.assetUsageType=T),A&&Object.assign(C,h(A)),y&&i[y]&&Object.assign(C,i[y](P)),O&&a[O]&&Object.assign(C,a[O](P)),Object.assign(C,d(p)),C}},537312:function(b,l,e){"use strict";e.d(l,{kO:()=>J,tS:()=>oe,j:()=>q,TP:()=>me,D_:()=>Ee,_5:()=>B,if:()=>re,AV:()=>fe,lZ:()=>he});var r=e(994336),o=e.n(r),n=e(882450),a=e.n(n),i=e(43017),c=e.n(i),u=e(141654),f=e.n(u),d=e(456903),h=e(131626),g=e.n(h),_=e(423394);const p=/^[\w\d-]+(\|[1-9]\d*){4}$/;function y(H){return typeof H<"u"?(H^Math.random()*16>>H/4).toString(16):("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,y)}function O(H){return p.test(H)?H:null}function P(H){return H=H||new Date().getTime(),[y(),H,H,H,1].join("|")}function C(H,z){const[_e,ae,ge,Be,Ke]=H.split("|");return z=z||new Date().getTime(),[_e,ae,Be,z,parseInt(Ke,10)+1].join("|")}const A=/^[1-9]\d*$/;function S(H){return A.test(H)?H:null}function T(H){return H=H||new Date().getTime(),H.toString()}const s=o()(document,!1),v=1e3*60*60*24*365,m=1e3*60;function E(H,z){return z=z||new Date().getTime(),new Date(z+H).toUTCString()}function I(H){if(H)return P();let z=O(s.get("ss_cvr")??""),_e=S(s.get("ss_cvt")??"");const ae=new Date().getTime(),ge={cvr:{path:"/",expires:E(v*2,ae)},cvt:{path:"/",expires:E(m*30,ae)}};return z&&!_e?(z=C(z,ae),_e=T(ae)):z||(z=P(ae),_e=T(ae)),s.set("ss_cvr",z,ge.cvr),s.set("ss_cvt",_e??"",ge.cvt),z}const L=["ss_cid","ss_cpvisit","ss_cvisit","ss_cvr","ss_cvt"],W=()=>Promise.resolve(),F={headers:{"Content-type":"application/x-www-form-urlencoded; charset=utf-8"}};function G(){return window.Static.SQUARESPACE_CONTEXT}function k(){return window.__WE_ARE_SQUARESPACE_DISABLING_CENSUS__}function x(){try{return window.localStorage.setItem("test","1"),!0}catch{return!1}}function M(H,z){return z&&(H.pagePermissionTypeValue=z.permissionType),H}function B(H){const{itemId:z,item:_e,collectionId:ae,collection:ge}=G();M(H,ge),z&&_e?(H.pageTitle=_e.title,H.pageId=z,H.contentSource="i"):ae&&ge&&(H.pageTitle=ge.title,H.pageId=ae,H.contentSource="c"),H.pagePath=window.location.pathname}function R(){const{authenticatedAccount:H,pageType:z,websiteRoles:_e}=G(),ae=_e&&Object.keys(_e).map(Be=>parseInt(Be,10)).includes(f().VIEWER)&&Object.keys(_e).length===1,ge=!window.location.pathname.match(/\/config\/*/)&&ae;return(!H||ge)&&z!==a().NOT_FOUND&&z!==a().LOCK_SCREEN&&z!==a().MEMBER_AREA_ACCESS_DENIED&&k()!==!0}function U(){const{website:H}=G();return!!(H!=null&&H.cloneable)}function j(){const{cookieSettings:H}=G();if(U())return!0;const z="ss_performanceCookiesAllowed";return H&&H.isRestrictiveCookiePolicyEnabled&&(!H.isCookieBannerEnabled||!o().get(z)||o().get(z)==="false")}function $(H){return z=>{if(R()){const _e=I(j());return z.visitorCookie=_e,B(z),d.default.post(H,z,{timeout:2500}).catch(W)}return Promise.resolve()}}function ee(H){return H.userAgent=navigator.userAgent,H.clientDate=new Date().getTime(),H.viewportInnerHeight=window.innerHeight,H.viewportInnerWidth=window.innerWidth,H.screenHeight=window.screen.height,H.screenWidth=window.screen.width,H}function te(H){const{website:z,templateId:_e}=G();return z&&(H.websiteId=z.id),_e&&(H.templateId=_e),H.website_locale=(0,_.uu)(),H}function ie(H){H.url=window.location.pathname;const{itemId:z,item:_e,collectionId:ae,collection:ge}=G();return M(H,ge),z&&_e?(H.title=_e.title,H.itemId=z,H.recordType=_e.recordType):ae&&ge&&(H.title=ge.title,H.collectionId=ae),H}function ne(){return{localStorageSupported:x(),queryString:window.location.search,referrer:window.document.referrer}}function pe(){return window.location.pathname==="/search"}function oe(){if(j())for(let H=0;H<L.length;H++)o().get(L[H])&&o().set(L[H],"",{path:"/",expires:new Date(0).toUTCString()})}function q(H,z){if(!R())return;(typeof z!="object"||z===null)&&(z={}),te(z),ee(z),ie(z);const _e=I(j());d.default.post("/api/census/RecordHit",g().stringify({event:H,data:JSON.stringify(z),ss_cvr:_e},{arrayFormat:"repeat"}),F).catch(W)}const J=$("/api/census/button-click"),me=$("/api/census/button-render");function re(H){if(R()){const z=I(j()),_e={formId:H,visitorCookie:z};return B(_e),d.default.post("/api/census/form-render",_e).catch(W)}return Promise.resolve()}function he(H){if(R()){const z=I(j());return H.visitorCookie=z,B(H),d.default.post("/api/census/overlay",H).catch(W)}}function Ee(){if(pe())return;const H=ne();q(c().PAGE_VIEW,H)}function fe(H){R()&&d.default.post(`/api/census/RecordQuickView/${H}`)}},554468:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(419467),o=e.n(r);const n="USD";let a=null;const c={getStoreCurrency(){return a||(a=(0,r.get)(window,["Static","SQUARESPACE_CONTEXT","websiteSettings","storeSettings","selectedCurrency"],n)),a},updateStoreCurrency(u){a=u}}},629786:function(b,l,e){"use strict";e.d(l,{Ch:()=>p,IF:()=>_,LP:()=>f,Wl:()=>c,gU:()=>y,ny:()=>P,pe:()=>C,rP:()=>d,uk:()=>A,uy:()=>O});var r=e(461761),o=e.n(r),n=e(568688),a=e(283635),i=null,c=function(S){return S.COMMMERCE="commerce",S.HOME="home",S}({}),u=null,f=function(S){return S.BUTTON="button",S.LINK="link",S.MODAL="modal",S.BOUNDING_BOX="bounding_box",S.ICON="icon",S.UPGRADE_CARD="upgrade_card",S.PAGE="page",S}({}),d=function(S){return S.FEATURE_GATE_ADD_PRODUCT="feature_gate_add_product",S.FEATURE_GATE_PRODUCTS="feature_gate_products",S.BOUNDING_BOX_STORE_PAGES="bounding_box_store_pages",S.WARNING_ICON_STORE_PAGES="warning_icon_store_pages",S.UPGRADE_CARD="upgrade_card_store_pages",S.FEATURE_GATE_SUBSCRIBE="feature_gate_subscribe",S.FEATURE_GATE_EDIT_BUTTON="feature_gate_edit_button",S.FEATURE_GATE_LEGACY_DONATIONS_PANEL="feature_gate_legacy_donations_panel",S.FEATURE_GATE_CONTRIBUTIONS_PANEL="feature_gate_contributions_panel",S.FEATURE_GATE_DONATIONS_DASHBOARD="feature_gate_donations_dashboard",S.FEATURE_GATE_FUNDS_PANEL="feature_gate_funds_panel",S}({});const h=new a.Z("FeatureGate",{event_owner_team:"activation-funnel",event_source:"web",member_account_id:o()(window,"Static.SQUARESPACE_CONTEXT.authenticatedAccount.id",null),context_website_id:o()(window,"Static.SQUARESPACE_CONTEXT.website.id",null)}),g=S=>{let{eventName:T,actor:s,action:v,objectType:m,objectIdentifier:E,objectDisplayName:I,productSection:L,productArea:W="commerce"}=S;const F={event_occurrence_timestamp:Date.now(),event_name:T,actor:s,action:v,object_type:m,object_identifier:E,object_display_name:I,product_section:L,product_area:W};h.track(F)},_=S=>{let{objectIdentifier:T,productArea:s}=S;g({eventName:"UserViewsFeatureGateModal",actor:n.vt.USER,action:"view",objectType:"modal",objectIdentifier:T,productArea:s})},p=S=>{let{objectIdentifier:T,objectDisplayName:s,productArea:v}=S;g({eventName:"UserClicksFeatureGateModalCTA",actor:n.vt.USER,action:"click",objectType:"link",objectIdentifier:T,objectDisplayName:s,productArea:v})},y=S=>{let{objectIdentifier:T,productArea:s}=S;g({eventName:"UserClicksFeatureGateLabel",actor:n.vt.USER,action:"click",objectType:"button",objectIdentifier:T,productArea:s})},O=S=>{let{objectIdentifier:T,objectType:s,productArea:v}=S;g({eventName:"UserViewsFeatureGateLabel",actor:n.vt.USER,action:"view",objectType:s,objectIdentifier:T,productArea:v})},P=S=>{let{objectIdentifier:T}=S;g({eventName:"UserViewsFeatureGatePage",actor:n.vt.USER,action:"view",objectType:"page",objectIdentifier:T})},C=S=>{let{objectIdentifier:T,productSection:s}=S;g({eventName:"UserClicksFeatureGatePageLink",actor:n.vt.USER,action:"click",objectType:"link",objectIdentifier:T,productSection:s})},A=S=>{let{objectIdentifier:T}=S;g({eventName:"UserClicksFeatureGatePageButton",actor:n.vt.USER,action:"click",objectType:"button",objectIdentifier:T})}},618662:function(b,l,e){"use strict";e.d(l,{$i:()=>W,A5:()=>F,Au:()=>v,B0:()=>s,BD:()=>T,Km:()=>ee,Qm:()=>j,RU:()=>$,Vj:()=>S,X5:()=>M,YC:()=>G,YZ:()=>x,e6:()=>k,eY:()=>I,f2:()=>L,k6:()=>m,n4:()=>U,tF:()=>E});var r=e(897071),o=e.n(r),n=e(461761),a=e.n(n),i=e(419467),c=e.n(i),u=e(935662),f=e.n(u),d=e(762379),h=e(377790);const g={event_owner_team:"commerce",event_source:"web",product_area:"commerce_merch",user_website_id:a()(window,"Static.SQUARESPACE_CONTEXT.website.id",null),...(0,h.ZP)()},_=new(o())({customSchemaName:"product_page_panel"},g),p=new(o())({customSchemaName:"variant_images"},g),y=new(o())({customSchemaName:"commerce_setup"},g),O="product-settings-modal",P="product-editor",C=te=>te===O?O:P,A=te=>te===O?"product-collections-v2":`product-collections-v2,${te}`;function S(te,ie){p.track({actor:"user",action:"create",object_type:"label",object_identifier:"product-category",object_id:te.id,object_value:te.displayName,product_section:C(ie),product_design_identifier:A(ie)})}function T(te,ie,ne,pe){_.track({actor:"user",action:"move",object_type:"productcategory",object_id:te.id,object_value:te.displayName,indirect_object_type:"productcategory",indirect_object_id:te.parentCategoryId||null,indirect_object_value:te.parentNode&&te.parentNode.displayName||null,product_section:C(pe),product_design_identifier:A(pe),previous_category_level:ie,category_level:ne})}function s(te,ie,ne){_.track({actor:"user",action:"reorder",object_type:"productcategory",object_id:te.id,object_value:te.displayName,product_section:C(ne),product_design_identifier:A(ne),previous_category_level:null,category_level:ie})}function v(te,ie,ne,pe){_.track({actor:"user",action:"update",object_type:"setting",object_identifier:te,object_value:ie,indirect_object_type:"productcategory",indirect_object_id:ne.id||null,indirect_object_value:ne.displayName||null,product_section:C(pe),product_design_identifier:A(pe),previous_category_level:null,category_level:ne.level})}function m(te,ie){_.track({actor:"user",action:"delete",object_type:"productcategory",object_id:te.id,object_value:te.displayName,product_section:C(ie),product_design_identifier:A(ie),previous_category_level:null,category_level:te.level})}function E(te){_.track({actor:"user",action:"delete",object_type:"productcategory",object_value:te,product_section:O,product_design_identifier:"product-collections-v1"})}function I(te,ie,ne){p.track({actor:"user",action:"unlink",object_type:"label",object_id:te.id,object_identifier:"product-category",object_value:te.displayName,indirect_object_display_name:ne.productTitle,indirect_object_type:"commerceproduct",indirect_object_identifier:ne.productType,indirect_object_id:ne.productId,product_section:"product-editor",product_design_identifier:A(ie)})}function L(te,ie,ne){p.track({actor:"user",action:"link",object_type:"label",object_id:te.id,object_identifier:"product-category",object_value:te.displayName,indirect_object_display_name:ne.productTitle,indirect_object_type:"commerceproduct",indirect_object_identifier:ne.productType,indirect_object_id:ne.productId,product_section:C(ie),product_design_identifier:A(ie)})}function W(te,ie){_.track({actor:"user",action:"view",object_type:"panel",object_identifier:"product-page-panel",object_id:te.id,object_display_name:te.title,indirect_object_type:ie?"productcategory":null,indirect_object_id:ie==null?void 0:ie.id,indirect_object_value:ie==null?void 0:ie.displayName,product_design_identifier:"product-collections-v2",category_level:ie==null?void 0:ie.level,item_count:ie==null?void 0:ie.orderedItemIds.length})}function F(te){_.track({actor:"user",action:"move",object_type:"commerceproduct",object_identifier:"product-page-panel-products",object_id:te,object_value:1,indirect_object_type:"panel",indirect_object_identifier:"product-page-panel",indirect_object_id:null,product_design_identifier:"product-collections-v2"})}function G(te,ie,ne){_.track({actor:"user",action:"input",object_type:"searchquery",object_identifier:"product-page-panel-input-searchquery",object_id:te.id,object_display_name:te.title,indirect_object_type:"productcategory",indirect_object_id:ie.id,indirect_object_value:ie.displayName,product_design_identifier:"product-collections-v2",category_level:ie.level,item_count:ne})}function k(){_.track({actor:"user",action:"view",object_type:"modal",object_identifier:"add-store-collection-modal",product_page:"pages-panel",product_design_identifier:"product-collections-v2"})}function x(te){_.track({actor:"user",action:"click",object_type:"button",object_identifier:"add-store-collection-button",object_value:te,product_section:"add-store-collection-modal",product_page:"pages-panel",product_design_identifier:"product-collections-v2"})}function M(te,ie){_.track({actor:"user",action:"migrate",object_type:"contentcollection",object_identifier:"productcollections",object_value:JSON.stringify(te),product_design_identifier:"product-collections-v1",item_count:ie})}const B=()=>d.Z.isFeatureEnabled(f().NESTED_CATEGORIES)?"product-collections-v2":"product-collections-v1",R=te=>te?`,${te}`:"";function U(te,ie,ne){_.track({actor:"user",action:"view",object_type:"modal",object_identifier:"product-collection-settings-modal",object_value:(0,i.kebabCase)(te),product_section:ie,product_design_identifier:`${B()}${R(ne)}`})}function j(){y.track({actor:"user",action:"view",object_type:"card",object_identifier:"product-collection-migration-card",product_page:"config-panel"})}function $(){y.track({actor:"user",action:"close",object_type:"card",object_identifier:"product-collection-migration-card",object_value:"close",product_page:"config-panel"})}function ee(){y.track({actor:"user",action:"click",object_type:"card",object_value:"product-collection-migration-modal-link",object_identifier:"product-collection-migration-card",product_page:"config-panel"})}},945664:function(b,l,e){"use strict";e.d(l,{F:()=>h,y:()=>f});var r=e(308690),o=e.n(r),n=e(456903),a=e(545334),i=e.n(a);const c="/api/commerce/products/bulk/exportSelected",u="/api/commerce/products/bulk/delete",f=g=>{n.default.post(`${c}`,g).then(_=>{const p=new Blob([_.data],{type:"text/csv"}),y=window.URL.createObjectURL(p),O=document.createElement("a");document.body.appendChild(O),O.href=y;const P=`products_${i()().format("MMM-DD_hh-mm-ssA")}.csv`;O.download=P,O.click(),window.URL.revokeObjectURL(y),document.body.removeChild(O)})},d=50,h=async g=>{const _=g.map(O=>{let{id:P}=O;return{itemId:P}}),p=o()(_,d),y=[];p.forEach(O=>{y.push(n.default.delete(u,{data:{deleteRequests:O}}))}),await Promise.all(y)}},746429:function(b,l,e){"use strict";e.d(l,{$f:()=>f,E1:()=>d,Wy:()=>h});var r=e(696049),o=e(554468),n=e(714487),a=e(470407);const i=new a.default(n.ZP),{parseNumber:c,getNumberSystemMetadata:u}=i,f=g=>{const _=o.Z.getStoreCurrency(),p=(0,n.Wj)(_).digits,y=parseFloat(g)/Math.pow(10,p);return new r.default(y,_)},d=g=>{const _=String(g).replace(/[^\d\.,]/g,"");if(_==="")return 0;const p=o.Z.getStoreCurrency(),y=(0,n.Wj)(p).digits,O=u().symbols.decimal,P=_.split(O),[C,A]=P;let S=C;return A&&y>0&&(S+="."+A.substring(0,y)),Math.round(parseFloat(S)*Math.pow(10,y))},h=(g,_)=>{const p=(0,n.Wj)(_).digits,y=parseFloat(g)/Math.pow(10,p);return new r.default(y,_)}},371467:function(b,l,e){"use strict";e.d(l,{T:()=>W,vT:()=>G,pu:()=>F,rJ:()=>P,hQ:()=>g,vn:()=>E,Y$:()=>L,mp:()=>s,F7:()=>T,Cs:()=>v,jj:()=>B,QC:()=>A,CH:()=>m,gC:()=>S,qh:()=>k,gW:()=>y,Kc:()=>_,L3:()=>O,hm:()=>C,U3:()=>p,a:()=>I});var r=function(R){return R.CART_PAGE_PRODUCT_FORM_OPEN="commerce_cart_page_product_form_open",R.CART_PAGE_PRODUCT_FORM_CLOSE="commerce_cart_page_product_form_close",R.CART_PAGE_PRODUCT_FORM_SUBMIT="commerce_cart_page_product_form_submit",R.CART_PAGE_LOADED="commerce_cart_page_loaded",R.CREATE_CUSTOMER_ACCOUNT="CompleteRegistration",R.ADD_TO_CART="AddToCart",R.SEARCH="Search",R.SUBSCRIBE_NEWSLETTER="Lead",R.VIEW_PRODUCT_PAGE="ViewContent",R.PURCHASE="Purchase",R.INVENTORY_PANEL_SEARCH_PRODUCTS="commerce_inventory_panel_search_products",R.INVENTORY_PANEL_SORT_ON_NAME="commerce_inventory_panel_sort_on_name",R.INVENTORY_PANEL_SORT_ON_STOCK="commerce_inventory_panel_sort_on_stock",R.INVENTORY_PANEL_SORT_ON_PRICE="commerce_inventory_panel_sort_on_price",R.INVENTORY_PANEL_CLICK_ROW_EXPANDER="commerce_inventory_panel_click_row_expander",R.INVENTORY_PANEL_CLICK_ROW="commerce_inventory_panel_click_row",R.INVENTORY_PANEL_CLICK_NEXT_PAGE="commerce_inventory_panel_click_next_page",R.INVENTORY_PANEL_SETTINGS_OPEN="commerce_inventory_panel_settings_open",R.INVENTORY_PANEL_SETTINGS_CLOSE="commerce_inventory_panel_settings_close",R.INVENTORY_PANEL_SETTINGS_SAVE="commerce_inventory_panel_settings_save",R.INVENTORY_PANEL_SETTINGS_TOGGLE_SCARCITY_PDP="commerce_inventory_panel_settings_toggle_scarcity_pdp",R.INVENTORY_PANEL_SETTINGS_TOGGLE_SCARCITY_BLOCKS="commerce_inventory_panel_settings_toggle_scarcity_blocks",R.INVENTORY_PANEL_SETTINGS_CHANGE_SCARCITY_THRESHOLD="commerce_inventory_panel_settings_change_scarcity_threshold",R.FACEBOOK_DYNAMIC_ADS_PRODUCTS_FEED_URL_COPY="commerce_facebook_ads_feed_url_copy",R.FACEBOOK_PIXEL_SAVE_ID="commerce_facebook_pixel_save_id",R}(r||{});const o=r;var n=function(R){return R.API_KEY_CREATION_MODAL_COPY="api_key_creation_modal_copy",R.API_KEY_CREATION_MODAL_CANCEL="api_key_creation_modal_cancel",R.API_KEY_CREATION_MODAL_NEXT="api_key_creation_modal_next",R.API_KEY_CREATION_MODAL_COMPLETE="api_key_creation_modal_complete",R.API_KEYS_PANEL_CREATE_KEY="api_keys_panel_create_key",R.API_KEYS_PANEL_LEARN_MORE="api_keys_panel_learn_more",R.API_KEYS_PANEL_TERMS_OF_USE="api_keys_panel_terms_of_use",R.API_KEYS_PANEL_DELETE_KEY="api_keys_panel_delete_key",R.API_KEYS_PANEL_DELETE_KEY_CONFIRM="api_keys_panel_delete_key_confirm",R}(n||{});const a=n;function i(R){let U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const j=window.top;j.fbq&&j.fbq("track",R,U)}const c=i;var u=e(659519);const f=()=>trackInternal(CommerceEvent.CART_PAGE_PRODUCT_FORM_OPEN),d=()=>trackInternal(CommerceEvent.CART_PAGE_PRODUCT_FORM_CLOSE),h=()=>trackInternal(CommerceEvent.CART_PAGE_PRODUCT_FORM_SUBMIT),g=function(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return c(o.CREATE_CUSTOMER_ACCOUNT,R)},_=function(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return c(o.ADD_TO_CART,R)},p=function(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return c(o.SEARCH,R)},y=function(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return c(o.SUBSCRIBE_NEWSLETTER,R)},O=function(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return c(o.VIEW_PRODUCT_PAGE,R)},P=()=>(0,u.Z)("interface_click",{identifier:a.API_KEYS_PANEL_LEARN_MORE}),C=()=>(0,u.Z)("interface_click",{identifier:a.API_KEYS_PANEL_TERMS_OF_USE}),A=()=>(0,u.Z)("interface_click",{identifier:a.API_KEYS_PANEL_CREATE_KEY}),S=R=>(0,u.Z)("interface_click",{identifier:a.API_KEYS_PANEL_DELETE_KEY,...R}),T=R=>(0,u.Z)("interface_click",{identifier:a.API_KEYS_PANEL_DELETE_KEY_CONFIRM,...R}),s=R=>(0,u.Z)("interface_click",{identifier:a.API_KEY_CREATION_MODAL_COPY,...R}),v=R=>(0,u.Z)("interface_click",{identifier:a.API_KEY_CREATION_MODAL_NEXT,...R}),m=R=>(0,u.Z)("interface_click",{identifier:a.API_KEY_CREATION_MODAL_CANCEL,...R}),E=R=>(0,u.Z)("interface_click",{identifier:a.API_KEY_CREATION_MODAL_COMPLETE,...R}),I=()=>(0,u.Z)(o.FACEBOOK_DYNAMIC_ADS_PRODUCTS_FEED_URL_COPY),L=()=>(0,u.Z)(o.FACEBOOK_PIXEL_SAVE_ID),W=()=>(0,u.Z)(o.INVENTORY_PANEL_SEARCH_PRODUCTS),F=()=>(0,u.Z)(o.INVENTORY_PANEL_SORT_ON_NAME),G=()=>(0,u.Z)(o.INVENTORY_PANEL_SORT_ON_STOCK),k=()=>(0,u.Z)(o.INVENTORY_PANEL_SORT_ON_PRICE),x=()=>trackInternal(CommerceEvent.INVENTORY_PANEL_CLICK_ROW_EXPANDER),M=()=>trackInternal(CommerceEvent.INVENTORY_PANEL_CLICK_ROW),B=()=>(0,u.Z)(o.INVENTORY_PANEL_CLICK_NEXT_PAGE)},197257:function(b,l,e){"use strict";e.d(l,{K:()=>n});var r=e(213865),o=e(885630);const n=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:r.breakpoints;return(0,o.i)(a).platform==="mobile"}},787592:function(b,l,e){"use strict";e.d(l,{$e:()=>p,Tb:()=>g,nZ:()=>y,n_:()=>d,uT:()=>h});var r;const o=()=>{},n=O=>function(P){for(var C=arguments.length,A=new Array(C>1?C-1:0),S=1;S<C;S++)A[S-1]=arguments[S];return console.log(`[Sentry][${O}] ${P}`,...A),"some-error-identifier"},a=!1,i=O=>{let{category:P,message:C}=O;console.log(`[Sentry][addBreadcrumb] (${P}) ${C}`)};let c=!1;function u(){return new Proxy({},{get:()=>o})}const f=function(){for(var O=arguments.length,P=new Array(O),C=0;C<O;C++)P[C]=arguments[C];const A=P.length===2?P[1]:P[0],S=u();return A(S)},{addBreadcrumb:d,captureMessage:h,captureException:g,captureEvent:_,withScope:p,getCurrentScope:y}=((r=window)===null||r===void 0?void 0:r.SQUARESPACE_SENTRY)??{addBreadcrumb:a?i:o,captureMessage:n("captureMessage"),captureException:n("captureException"),captureEvent:n("captureEvent"),getCurrentScope:u,withScope:f};window.SQUARESPACE_SENTRY&&(c=!0)},891259:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(413019),o=e(69637),n=e(27409),a=e(941254),i=e(511556);const c=(h,g)=>{a.Z.track({actor:i.aR.USER,action:i.om.INPUT,object_type:h.objectType,object_identifier:"asset-upload",indirect_object_type:h.indirectObject.type,indirect_object_identifier:h.indirectObject.identifier,indirect_object_value:h.indirectObject.value,indirect_object_display_name:h.indirectObject.displayName,product_page:h.productPage,event_complete_ms:g})};function u(h,g,_){return g in h?Object.defineProperty(h,g,{value:_,enumerable:!0,configurable:!0,writable:!0}):h[g]=_,h}class f{assetUploadStart(g,_){const p=this.getStartToken(g);this.uploadSourceByToken.set(p,_),(0,r.B1)(p,{tracer:o.Z})}assetUploadFinish(g){const _=this.getStartToken(g),p=(0,r.L8)(n.ASSET_UPLOAD,{requireStart:!0,start:_,tracer:o.Z});if(p){typeof window.performance.clearMeasures=="function"&&window.performance.clearMeasures(p.name);const y=Math.round(p.duration),O=this.uploadSourceByToken.get(_);this.uploadSourceByToken.delete(_),O&&c(O,y)}}getStartToken(g){return`${n.ASSET_UPLOAD}-${g.getId()}`}constructor(){u(this,"uploadSourceByToken",new Map)}}const d=new f},662887:function(b,l,e){"use strict";e.d(l,{Bx:()=>A,CK:()=>O,TZ:()=>_,X9:()=>y,dl:()=>p,qG:()=>C,sJ:()=>P});var r=e(714011),o=e(283635),n=e(461761),a=e.n(n),i=e(679085),c=e(841230),u=e(829499),f=e(348500),d=e(13795);const h=new o.Z("MemberAreas",{event_owner_team:"member_areas",event_source:"web",product_area:"member_areas",website_id:a()(window,"Static.SQUARESPACE_CONTEXT.website.id",null)});var g=null;function _(S){let{isAutoEnabled:T,entryPoint:s="settings",entryPointLevel2:v=null}=S;h.track({actor:i.Tc.USER,action:i.aO.TOGGLE,event_name:"MemberAreas_EnableFeature",object_type:i.g.TOGGLE,entrypoint:s,entrypoint_level2:v,is_auto_enabled:T})}function p(){h.track({actor:i.Tc.USER,action:i.aO.TOGGLE,event_name:"MemberAreas_DisableFeature",object_type:i.g.TOGGLE})}function y(){h.track({actor:i.Tc.USER,action:i.aO.CLICK,event_name:"MemberAreas_Click_PlusButton_PagesPanel",object_type:i.g.BUTTON})}function O(S,T){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"member_areas";h.track({actor:i.Tc.USER,action:i.aO.CLICK,button_type:S,event_name:"MemberAreas_Click_ChecklistButton",object_type:i.g.BUTTON,product_area:s,entrypoint:T})}function P(S){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"member_areas";h.track({actor:i.Tc.USER,action:i.aO.VIEW,event_name:"MemberAreas_View_Checklist",object_type:i.g.MODAL,product_area:T,entrypoint:S})}async function C(S){h.track({actor:i.Tc.USER,action:i.aO.CONNECT,event_name:"MemberAreas_ConnectBlock",object_type:i.g.BLOCK,member_area_id:S})}function A(S){const T=u.default.getState().websiteId||null,s=f.Z.getState().id;(0,c.$g)(T,s,S.memberSite,S.entryPoint,S.entryPointLevel2,S.entryPointPath),d.Z.setMACreationEntryPoint(null),d.Z.setMAEntryPointLevel2(null),d.Z.setMAEntryPointPath(null)}},171317:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(897071),o=e.n(r),n=e(722448),a=e.n(n),i=e(377790);function c(h,g,_){return g in h?Object.defineProperty(h,g,{value:_,enumerable:!0,configurable:!0,writable:!0}):h[g]=_,h}const u="SquarespaceAdminEvents";class f{track(g){if(!this.tracker){console.warn("Event is firing before the environment is initialized!");return}this.tracker.track(g),this.bc&&this.bc.postMessage({squarespaceEventPayload:g})}constructor({customSchemaName:g,eventOwnerTeam:_}){var p,y;c(this,"bc",void 0),c(this,"tracker",void 0);const O=(y=window)===null||y===void 0||(p=y.Static)===null||p===void 0?void 0:p.SQUARESPACE_CONTEXT,P={event_owner_team:_,event_source:"web"};if(O){var C,A;if(Object.assign(P,{user_member_account_id:O==null||(C=O.authenticatedAccount)===null||C===void 0?void 0:C.id,user_website_id:O==null||(A=O.website)===null||A===void 0?void 0:A.id,...(0,i.ZP)()}),window.BroadcastChannel){const S=O==null?void 0:O.accessPermissions;S&&S.includes(a().ADMIN)&&(this.bc=new BroadcastChannel(u))}}this.tracker=new(o())({customSchemaName:g,logging:!1==="true"},P)}}const d=f},283635:function(b,l,e){"use strict";e.d(l,{Z:()=>f});var r=e(221661),o=e.n(r),n=e(538117),a=e(272784);function i(d,h,g){return h in d?Object.defineProperty(d,h,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[h]=g,d}const c=(0,n.ni)()?r.SourceEnvironment.STAGING:r.SourceEnvironment.PROD;class u{track(h){this.tracker.track(h)}constructor(h,g){i(this,"tracker",void 0),this.tracker=new(o())({customSchemaName:h,sourceEnvironment:c},{...g,...(0,a.Z)()})}}const f=u},272784:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(377790);function o(){var n,a,i,c,u,f;const d=(0,r.ZP)();return{member_account_id:(i=window.Static)===null||i===void 0||(a=i.SQUARESPACE_CONTEXT)===null||a===void 0||(n=a.authenticatedAccount)===null||n===void 0?void 0:n.id,context_website_id:(f=window.Static)===null||f===void 0||(u=f.SQUARESPACE_CONTEXT)===null||u===void 0||(c=u.website)===null||c===void 0?void 0:c.id,...d}}},679085:function(b,l,e){"use strict";e.d(l,{Qo:()=>a,Tc:()=>r,aO:()=>o,g:()=>n});const r={USER:"user"},o={CLICK:"click",TOGGLE:"toggle",CLOSE:"close",SUBMIT:"submit",VIEW:"view",CONNECT:"connect",JOIN:"join",SELECT:"select"},n={BUTTON:"button",FORM:"form",TOGGLE:"toggle",MODAL:"modal",BLOCK:"block",PANEL:"panel"},a={ADD:"add",EXISTING_PRICING_PLAN:"existing-pricing-plan",MAX_PRICING_PLAN_REACHED:"max-pricing-plan-reached",DP_SUPPORT_MODAL:"customer-accounts-ssl-modal",NOT_NOW_DP_SUPPORT_MODAL:"not-now-customer-accounts-ssl-modal",UPGRADE_SUBSCRIPTION:"upgrade-subscription",EDIT_PAYWALL_SETTINGS:"edit-paywall-settings",SAVE_PAYWALL_SETTINGS:"save-paywall-settings",DISMISS_UPGRADE_SUBSCRIPTION:"dismiss-upgrade-subscription"}},408549:function(b,l,e){"use strict";e.d(l,{Z:()=>d});var r=e(625392),o=e.n(r);const n=/({[^}]+})/g,a=/{([^}]+)}/,i=h=>typeof h=="string",c=o()(function(h){return h.split(n)}),u=(h,g)=>h+"-"+JSON.stringify(g),f=o()(function(h,g){return typeof g=="object"&&g!==null&&(h=h.map(_=>{const p=_.match(a);return p&&g.hasOwnProperty(p[1])?g[p[1]]+"":_})),h.join("")},u);function d(h){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!g||!i(h))return h;const _=c(h);return f(_,g)}},304212:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o=n=>{var a,i,c;const u=(c=n.Static)===null||c===void 0||(i=c.SQUARESPACE_CONTEXT)===null||i===void 0||(a=i.recaptchaEnterpriseContext)===null||a===void 0?void 0:a.recaptchaEnterpriseSiteKey;if(!u)throw new Error("Enterprise V3 ReCaptcha site key not found");return u}},762535:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(28365),o=e.n(r),n=e(581308),a=e(916661),i=e(117562),c=e(331280),u=e(668903),f=e(728662);function d(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,c.AV)())===o().PARKING_PAGE?"/settings/email/google-workspace":"/settings/domains-email/google-workspace"}const h={forDomains(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,c.AV)();const _=(0,n.getBillingContext)();return g===o().PARKING_PAGE&&!(_!=null&&_.isStandaloneScheduling)&&!(_!=null&&_.isStandaloneCampaigns)?"/":"/settings/domains-email/domains/"},forDomainsAndEmail(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,c.AV)();const _=(0,n.getBillingContext)();return g===o().PARKING_PAGE&&!(_!=null&&_.isStandaloneScheduling)&&!(_!=null&&_.isStandaloneCampaigns)?"/":"/settings/domains-email/"},forDomainsFullWidth(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,c.AV)();const _=(0,n.getBillingContext)();return g===o().PARKING_PAGE&&!(_!=null&&_.isStandaloneScheduling)&&!(_!=null&&_.isStandaloneCampaigns)?"/domains/":"/settings/domains-email/domains/"},forDomainsInAccountService(){return"/domains/"},forBilling(){return"/settings/billing/"},forBillingSubscriptionsList(){return`${this.forBilling()}subscriptions/`},forBillingSubscription(g){return`${this.forBillingSubscriptionsList()}${g}`},forAccountMenu(){return"/settings/billing/"},forSettingsOrConfig(){return"/settings/"},forGoogleWorkspace:d,forGoogleWorkspaceAccount(g){let{websiteType:_=(0,c.AV)(),googleAppsSubscriptionInfoId:p}=g;return`${d(_)}/account/${p}`},forGoogleWorkspaceSubscriptionRequest(g){let{websiteType:_=(0,c.AV)(),billingRequestId:p}=g;return`${d(_)}/subscription-request/${p}`},forGSuiteBillingAndAccountingLink(){return`${this.forBilling()}subscriptions/${i.Z.GOOGLE_APPS}`},forSwitchProducts(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:(0,c.AV)())===o().PARKING_PAGE?"/upgrade/":"/settings/billing/switch-products/"},forMemberAreasCheckout(){return`${this.forBilling()}digital-products-checkout`},forWebsiteCheckout(){return`${this.forBilling()}upgrade`},forChangeWebsitePlan(){return"/settings/billing/subscriptions/website"},forGSuiteIntitialPurchase(){return"/settings/gsuite-checkout"},forGSuiteAddUser(g){return`/settings/gsuite-add-user/${g}`},forGSuiteReactivation(g){return`/settings/gsuite-reactivation/${g}`},forPermissions(){return"/settings/permissions-ownership/permissions"},forSiteStyles(){return""},forDesignPanel(){return"/design"},forPagesPanel(){return"/pages"},forSystemPages(){const g=this.forPagesPanel();return a.Z.isSevenOne()?g:`${g}/system-pages`},forWebsiteTools(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const _=(0,n.getBillingContext)();if(!(_!=null&&_.isStandaloneScheduling)){const p=this.forPagesPanel();return a.Z.isSevenOne()?p:`${p}/website-tools`}return"/settings"+g},forMobilePathToPublish(){return"/mobile-path-to-publish"},forMobilePTCSelector(){return"/commerce/product-tax-code"},forMobileLabelPurchase(){return"/commerce/purchase-shipping-label"},forFontReplacement(){return""},forWebsite(){return(0,u.b)()||(0,f.Q)()?"/website":"/"}}},98666:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(174161);const n=(a,i)=>{const[c,u]=(0,r.useState)(()=>{if(typeof window>"u")return i;try{if(!a)return;const d=window.localStorage.getItem(a);return d?JSON.parse(d):i}catch(d){return console.log(d),i}}),f=(0,r.useCallback)(d=>{try{u(h=>{const g=d instanceof Function?d(h):d;return typeof window<"u"&&a&&window.localStorage.setItem(a,JSON.stringify(g)),g})}catch(h){console.log(h)}},[a]);return[c,f]}},629539:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(545334),o=e.n(r);function n(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return a=o()(a),a.isAfter()||!i&&a.diff(o()(),"s")>-60?a.from(a):a.fromNow()}},809468:function(b,l,e){"use strict";e.d(l,{Z:()=>a});var r=e(360485);const o=async i=>{switch(i){case r.Z.liquid:return await Promise.all([e.e("73054"),e.e("51028")]).then(e.bind(e,518108));case r.Z.filmGrain:return await Promise.all([e.e("73054"),e.e("59039")]).then(e.bind(e,226563));case r.Z.parallax:return await Promise.all([e.e("73054"),e.e("65103")]).then(e.bind(e,335002));case r.Z.refractedCircles:return await Promise.all([e.e("73054"),e.e("95031"),e.e("39632")]).then(e.bind(e,73958));case r.Z.refractedLines:return await Promise.all([e.e("73054"),e.e("43050"),e.e("89492")]).then(e.bind(e,475749))}},a={createImageEffect:async(i,c)=>{const u=i.parentNode.querySelector(".imageEffectContainer");if(!u)return;const f=c||JSON.parse(u.dataset.effect);if(!f)return;const d=f.type;if(!d||d==="none")return;const{default:h}=await o(d);return new h({image:i,container:u,effectProps:{...f}})}}},780512:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o=()=>navigator.userAgent.toLowerCase().indexOf("firefox")!==-1},728662:function(b,l,e){"use strict";e.d(l,{Q:()=>C});var r=e(758714),o=e(867287),n=e(673223),a=e(581308),i=e(851546),c=e.n(i),u=e(935662),f=e.n(u),d=e(197257),h=e(916661);const g=174348e7,_=(0,r.b)({experimentName:o.pD.HOME_DASHBOARD_WITHOUT_CUSTOMIZATION,featureFlag:f().HOME_DASHBOARD_WITHOUT_CUSTOMIZATION,team:o.SZ.ACTIVATION_FUNNEL}),p=()=>{var A,S;const T=(S=(0,a.getBillingContext)())===null||S===void 0||(A=S.productStatuses)===null||A===void 0?void 0:A.find(s=>s.productType==="website"&&s.billingSource===c().CONTRACT);return!!(T&&(T==null?void 0:T.createdOn)>g)},y=()=>!((0,d.K)()||!h.Z.isSevenOne()),O=()=>{const{isEnabled:A}=(0,n.u)({featureGateName:o.fx.HOME_DASHBOARD_ROLLOUT,team:o.SZ.ACTIVATION_FUNNEL});return A()},P=()=>p()?(_.fireAssignmentEvent(),_.isEnabled()):!1,C=()=>y()?_.isFeatureFlagEnabled()||O()?!0:P():!1},67530:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(780512);const n=()=>window.indexedDB&&!(0,r.Z)()},167078:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(){return navigator.platform.includes("Mac")}},668903:function(b,l,e){"use strict";e.d(l,{b:()=>C});var r=e(439189),o=e(641779),n=e(556635),a=e(828200),i=e(371533),c=e(758714),u=e(867287),f=e(840747),d=e(657408),h=e(722448),g=e.n(h),_=e(935662),p=e.n(_),y=e(787592);const O=(0,c.b)({featureFlag:p().ACTENG_SETUP_GUIDE_LANDING,experimentName:u.Wj.SETUP_GUIDE_LANDING,team:u.SZ.ACTIVATION_ENGINE}),P=()=>{var A,S,T,s,v;const m=(A=(0,f.getAccountContext)())===null||A===void 0?void 0:A.accessPermissions,E=(T=(0,d.getWebsiteContext)())===null||T===void 0||(S=T.website)===null||S===void 0?void 0:S.hasPassword,I=(v=(0,d.getWebsiteContext)())===null||v===void 0||(s=v.website)===null||s===void 0?void 0:s.showOwnerLogin,L=!E&&!I&&!(0,r.Z)(),W=m==null?void 0:m.includes(g().CONFIG_CONTENT_MANAGER);return(0,o.Z)()&&W&&!(0,n.Z)()&&!(0,a.Z)()&&(0,i.Z)()&&!L},C=()=>{try{return P()?O.isFeatureFlagEnabled()?!0:(O.fireAssignmentEvent(),O.isEnabled()):!1}catch(A){return(0,y.$e)(S=>{S.setTag("owner",u.SZ.ACTIVATION_ENGINE),S.setTag("project","setup-guide"),(0,y.Tb)(new Error("SetupGuideLandingAssignmentError",{cause:A}))}),!1}}},996120:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(122452);const o=()=>r.Z.isStandaloneScheduling()},985913:function(b,l,e){"use strict";e.d(l,{F:()=>r});function r(o){const n=window.top;try{return!!(n&&(n.Y||n.YUI_NOT_YET_LOADED)&&n.Y!==o&&(!window.frameElement||!window.frameElement.hasAttribute("data-is-visitor-preview")))}catch{return!1}}},76902:function(b,l,e){"use strict";e.d(l,{Z:()=>o});function r(n,a){if(typeof n.closest=="function")return n.closest(a)||null;for(;n;){if(n.matches(a))return n;n=n.parentElement}return null}function o(n){if(!n)return!1;const a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"sqs-dynamic-text",c=n.ownerDocument.defaultView;if(!c)return!1;const u=c.innerWidth;return Array.from(n.querySelectorAll("."+a)).forEach(function(d){const h=d.offsetWidth,g=Math.floor(h/u*1e3)/10;if(parseInt(d.getAttribute("data-width-percentage"),10)===g)return;d.style.fontSize="calc(0.5rem + "+g+"%)",d.style.fontSize="max(.75rem, "+g+"%)",d.setAttribute("data-width-percentage",g);const p=parseInt(c.getComputedStyle(d,null).getPropertyValue("font-size"),10),y=d.firstChild;y&&y.classList&&(p>0&&p<=13?y.classList.add("min-font-set"):y.classList.contains("min-font-set")&&y.classList.remove("min-font-set"));const O=r(d,".image-block-outer-wrapper");O&&O.classList.add("sqs-text-ready")}),!0}},353844:function(b,l,e){"use strict";e.d(l,{Z:()=>v});var r=e(419467),o=e(708380),n=e(749189),a=e(102852),i=e.n(a);const u={[i().LEFT]:-1,[i().RIGHT]:1},d=(m,E,I)=>m*(1-I)+E*I,g=m=>({wrapper:m.querySelector(".Marquee"),display:m.querySelector(".Marquee-display"),props:m.querySelector(".Marquee-props"),measurementContainer:m.querySelector(".Marquee-measure"),firstMeasuredItemNode:m.querySelector(".Marquee-measure h1, .Marquee-measure p"),originGroupItemNodes:Array.from(m.querySelectorAll(".Marquee-measure .Marquee-item")),trackContainer:m.querySelector(".Marquee-track"),svg:m.querySelector(".Marquee-svg"),svgGroup:m.querySelector(".Marquee-svg-group"),svgGroupItemNodes:Array.from(m.querySelectorAll(".Marquee-svg-group > *")),path:m.querySelector(".Marquee-path"),pathGroup:m.querySelector(".Marquee-path-group"),hitbox:m.querySelector("[data-hitbox]"),pathHitbox:m.querySelector(".Marquee-path-hitbox"),pathHitboxFocusOutline:m.querySelector(".Marquee-path-hitbox-focus-outline"),pathHitboxGroup:m.querySelector(".Marquee-path-hitbox-group"),textPath:m.querySelector(".Marquee-svg-text"),visuallyHiddenTextContent:m.querySelector(".v6-visually-hidden")}),p=(m,E)=>{var I,L,W,F,G,k;(I=E.path)===null||I===void 0||I.setAttribute("id",m),(L=E.pathHitbox)===null||L===void 0||L.setAttribute("id",m),(W=E.textPath)===null||W===void 0||W.setAttribute("href","#"+m),(F=E.svgGroup)===null||F===void 0||F.setAttribute("href","#"+m),(G=E.visuallyHiddenTextContent)===null||G===void 0||G.setAttribute("id","ariaLabel"+m),(k=E.hitbox)===null||k===void 0||k.setAttribute("aria-labelledby","ariaLabel"+m)};function y(m,E,I){return E in m?Object.defineProperty(m,E,{value:I,enumerable:!0,configurable:!0,writable:!0}):m[E]=I,m}class O{getItems(){const{container:E,svgGroupItemNodes:I}=this.props;return I.reduce((L,W)=>{const F=W.cloneNode(!0),G={x:0,width:0,node:F,domNode:null,isOffscreen:!1};return L.push(G),E.appendChild(F),L},[])}positionItems(){let{x:E,measuredItems:I}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=E;for(let W=0;W<this.info.numItems;W+=1){const F=this.items[W],G=I[W],k=G.width+G.spacing;F.x=L,F.width=k,F.node.setAttribute("x",F.x),L+=k}return L}updateItemVisibility(E,I,L){for(let W=0;W<this.info.numItems;W+=1){const F=this.items[W],G=F.x-E>I-L||F.x+F.width-E<L;F.isOffscreen!==G&&(F.node.style.display=G?"none":"block"),F.isOffscreen=G}}destroy(){this.items=[],this.info.numItems=0}constructor(E){y(this,"info",{numItems:0}),this.props=E,this.items=this.getItems(),this.info.numItems=this.items.length}}y(O,"defaultProps",{container:null,domContainer:null,originGroupItemNodes:[],path:null,svgGroupItemNodes:[]});function P(m,E,I){return E in m?Object.defineProperty(m,E,{value:I,enumerable:!0,configurable:!0,writable:!0}):m[E]=I,m}class C{onResize(E){let{measuredItems:I,measuredWidth:L,padding:W,pathLength:F}=E;const{path:G,trackContainer:k,container:x,originGroupItemNodes:M,svgGroupItemNodes:B}=this.props,R=Math.ceil((F+L)/L)*L,U=Math.ceil(R/L);for(this.info.measuredWidth=L,this.info.pathLength=F,this.info.padding=W,G.setAttribute("stroke-dasharray",this.getStrokeDashArray(I));this.info.numGroups<U&&x.childElementCount/M.length<U;){this.info.numGroups+=1;const j=new O({container:x,domContainer:k,originGroupItemNodes:M,path:G,svgGroupItemNodes:B});this.waveGroups.push(j)}this.positionGroups(I)}getStrokeDashArray(E){return E.reduce((I,L)=>I+`${L.width} ${L.spacing} `,"")}positionGroups(E){let I=0;this.waveGroups.forEach(L=>{I=L.positionItems({x:I,measuredItems:E})})}tick(E){var I;const{container:L,path:W,animationSpeed:F}=this.props,G=this.info.measuredWidth;this.uniforms.progress.value-=F*this.uniforms.hover.value;const k=((G+this.uniforms.progress.value)%G+G)%G;L.setAttribute("startOffset",-k),W.setAttribute("stroke-dashoffset",k),(I=this.waveGroups)===null||I===void 0||I.forEach(x=>x.updateItemVisibility(k,this.info.pathLength,this.info.padding))}destroy(){var E;(E=this.waveGroups)===null||E===void 0||E.forEach(I=>I.destroy()),this.waveGroups=null}constructor(E){P(this,"waveGroups",[]),P(this,"info",{pathLength:0,padding:0,measuredWidth:0,numGroups:0}),this.props=E,this.uniforms={...this.props.sharedUniforms,progress:{value:0}}}}P(C,"defaultProps",{animationDirection:"left",animationSpeed:-1,container:null,originGroupItemNodes:[],path:null,sharedUniforms:{hover:{value:0}},svgGroupItemNodes:[],trackContainer:null});function A(m,E,I){return E in m?Object.defineProperty(m,E,{value:I,enumerable:!0,configurable:!0,writable:!0}):m[E]=I,m}const S=window.matchMedia("(prefers-reduced-motion: reduce)"),T=()=>S.matches;class s{redrawPath(){let{regionWidth:E=100,textHeight:I=10,transformYOffset:L=0,waveFrequencyWidth:W=0}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{waveIntensity:F}=this.props,G=W*.333,k=Math.ceil((E+W*2)/W)+1,x=-W,M=I*.662,B=function(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return[...Array(k).keys()].reduce(($,ee)=>{const te=x+ee*W,ie=j+(ee%2===0?0:F);return $+(ee===0?` L${te},${ie}`:` S${te-G},${ie} ${te},${ie}`)},"")},R=`M${x},${M} ${B(M)}`,U=`
      M${x},${F+I}
      ${B(I-L)}
      M${x},${Math.max(F,L)}
      ${B(L)}
    `;this.ref.path.setAttribute("d",R),this.ref.pathGroup.setAttribute("transform",`translate(0, ${I*.05})`),this.ref.pathHitbox.setAttribute("d",R),this.ref.pathHitbox.setAttribute("stroke-width",I),this.ref.pathHitboxFocusOutline.setAttribute("d",U),this.ref.pathHitboxGroup.setAttribute("transform",`translate(0, ${-M+M*.75})`),this.info.pathLength=this.ref.path.getTotalLength(),this.lerps=this.buildLerps(3)}buildLerps(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:3;const I=Math.ceil(this.info.pathLength/E)+1;return[...Array(I).keys()].reduce((L,W)=>{const F=W*E,G=this.ref.path.getPointAtLength(F);if(L.points[W]=G,L.index[W]=F,L.x[W]=G.x,L.y[W]=G.y,W>0){const k=W-1,x=L.points[k],M=L.points[W];L.rotation[k]=Math.atan2(M.y-x.y,M.x-x.x)*180/Math.PI,W===I-1&&(L.rotation[W]=L.rotation[k])}return L},{index:[],points:[],x:[],y:[],rotation:[]})}onTick(){this.wave.tick(this.lerps)}bindListeners(){o.Z.on(this.render,0),this.resizeObserver=new ResizeObserver(this.render),this.resizeObserver.observe(this.ref.measurementContainer),S!=null&&S.addEventListener?S.addEventListener("change",this.handleMediaQueryListChange):S.addListener(this.handleMediaQueryListChange),this.intersectionScroll=new n.Z(this.node,{onIntersection:this.onIntersection,normalize:!1}),this.ref.hitbox&&this.props.pausedOnHover&&(this.ref.hitbox.addEventListener("mouseenter",this.onPointerEnter),this.ref.hitbox.addEventListener("touchstart",this.onPointerEnter),this.ref.hitbox.addEventListener(["touchend","touchcancel"],this.onPointerLeave),this.ref.hitbox.addEventListener(["mouseleave"],this.onPointerLeave)),this.tweakListener=this.Y.Global.on("tweak:change",this.rerender),document.fonts.ready.then(()=>{this.rerender()})}unbindListeners(){var E,I;o.Z.off(this.render,0),this.resizeObserver.disconnect(),S!=null&&S.removeEventListener?S.removeEventListener("change",this.handleMediaQueryListChange):S.removeListener(this.handleMediaQueryListChange),(E=this.intersectionScroll)===null||E===void 0||E.destroy(),this.ref.hitbox&&this.props.pausedOnHover&&(this.ref.hitbox.removeEventListener("mouseenter",this.onPointerEnter),this.ref.hitbox.removeEventListener("touchstart",this.onPointerEnter),this.ref.hitbox.removeEventListener(["touchend","touchcancel"],this.onPointerLeave),this.ref.hitbox.removeEventListener(["mouseleave"],this.onPointerLeave)),(I=this.tweakListener)===null||I===void 0||I.detach()}start(){this.rAFID=requestAnimationFrame(this.tick)}stop(){cancelAnimationFrame(this.rAFID)}restart(){this.stop(),this.start()}constructor(E,I){var L=this;A(this,"defaultAnimationProps",{waveFrequency:1,waveIntensity:0,animationDirection:i().LEFT,animationSpeed:1,pausedOnHover:!1}),A(this,"info",{pathLength:0}),A(this,"prevRegionWidth",-1),A(this,"prevTextHeight",-1),A(this,"uniforms",{hover:{value:1}}),A(this,"intersectionScroll",null),A(this,"resizeObserver",null),A(this,"rAFID",null),A(this,"render",function(){let{isForce:k=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!L.node)return;const{waveIntensity:x,waveFrequency:M}=L.props,B=d(250,1e3,(0,r.clamp)(M*.1,0,1)),R=Math.max(L.node.clientWidth,50),U=L.ref.measurementContainer.clientWidth,j=L.ref.originGroupItemNodes.map(te=>{const ie=te.clientWidth,ne=window.getComputedStyle(te),pe=parseFloat(ne.marginRight)||0;return{width:ie,spacing:pe}}),$=L.ref.firstMeasuredItemNode.clientHeight,ee=$*.1;(R!==L.prevRegionWidth||$!==L.prevTextHeight||k)&&L.redrawPath({regionWidth:R,waveFrequencyWidth:B,textHeight:$,transformYOffset:ee}),L.prevRegionWidth=R,L.prevTextHeight=$,L.wave.onResize({measuredItems:j,measuredWidth:Math.max(U,50),pathLength:L.info.pathLength,regionWidth:R,padding:B}),L.ref.svg.style.height=`${$+x}px`,L.ref.svg.style.transform=`translateY(${ee}px)`,L.ref.svg.style.overflow="visible",L.ref.pathHitboxFocusOutline.style.transform=`translateY(${ee}px)`}),A(this,"rerender",()=>{this.debouncedRerender=(0,r.debounce)(this.render,1e3),this.debouncedRerender()}),A(this,"handleMediaQueryListChange",k=>{k.matches?this.stop():this.start()}),A(this,"onIntersection",k=>{if(k&&!T()){this.isImmediate=!0,this.start();return}this.stop()}),A(this,"onPointerEnter",()=>{this.ref.pathHitbox.dataset.hover=!0,this.uniforms.hover.value=0}),A(this,"onPointerLeave",()=>{this.ref.pathHitbox.dataset.hover=!1,this.uniforms.hover.value=1}),A(this,"tick",()=>{this.onTick(),this.rAFID=requestAnimationFrame(this.tick)}),A(this,"destroy",()=>{var k,x;this.unbindListeners(),this.stop(),this.wave.destroy(),(x=this.debouncedRerender)===null||x===void 0||(k=x.cancel)===null||k===void 0||k.call(x),delete this.node}),this.node=E,this.Y=I,this.ref=g(this.node);const W=this.node.closest(".sqs-block-marquee").id.replace("block-","");p(W,this.ref),this.props={...this.defaultAnimationProps,...JSON.parse(this.ref.props.textContent)},this.ref.wrapper.dataset.ready=!0;const{animationDirection:F,animationSpeed:G}=this.props;this.wave=new C({container:this.ref.textPath,animationDirection:F,originGroupItemNodes:this.ref.originGroupItemNodes,path:this.ref.path,sharedUniforms:this.uniforms,animationSpeed:u[F]*G,svgGroupItemNodes:this.ref.svgGroupItemNodes,trackContainer:this.ref.trackContainer}),this.render(),this.bindListeners()}}const v=(m,E)=>new s(m,E)},736206:function(b,l,e){"use strict";e.d(l,{Z:()=>r});const r=async()=>{if(!window||!window.document)throw new Error("Cannot init animations without a window context");window.hasOwnProperty("IntersectionObserver")||await e.e("46103").then(e.t.bind(e,329269,23))}},793903:function(){let b=!1;(()=>{if(!b){var l=window;if(l.Element.prototype.matches||(l.Element.prototype.matches=l.Element.prototype.matchesSelector||l.Element.prototype.mozMatchesSelector||l.Element.prototype.msMatchesSelector||l.Element.prototype.oMatchesSelector||l.Element.prototype.webkitMatchesSelector||function(o){const n=(this.document||this.ownerDocument).querySelectorAll(o);let a=n.length;for(;--a>=0&&n.item(a)!==this;);return a>-1}),typeof l.CustomEvent!="function"){let o=function(n,a){a=a||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(n,a.bubbles,a.cancelable,a.detail),i};var r=o;o.prototype=l.Event.prototype,l.CustomEvent=o,typeof l.Event!="function"&&(l.Event=o)}l.String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)},l.Array.prototype.removeRange=function(o,n){return this.splice(o,!n||1+n-o+(!(n<0^o>=0)&&(n<0||-1)*this.length)),this.length},l.Array.prototype.removeAt=function(o){this.removeRange(o,o)},l.Array.prototype.remove=function(o){for(var n=0;n<this.length;++n)if(this[n]===o){this.removeAt(n);return}},l.Array.prototype.shuffle||(l.Array.prototype.shuffle=function(){for(var o=[];this.length;)o.push(this.splice(Math.random()*this.length,1));for(;o.length;)this.push(o.pop()[0]);return this});var e="Array.prototype.contains is non standard. Use Array.prototype.includes instead";l.Array.prototype.contains=function(o){if(0)var n;return this.indexOf(o)>-1},l.Number.prototype.formatMoney=function(o,n,a,i){var c=this;o=isNaN(o=Math.abs(o))?2:o,i&&c%1===0&&(o=0),n||(n="."),a||(a=",");var u=c<0?"-":"",f=parseInt(c=Math.abs(+c||0).toFixed(o),10)+"",d=(d=f.length)>3?d%3:0;return u+(d?f.substr(0,d)+a:"")+f.substr(d).replace(/(\d{3})(?=\d)/g,"$1"+a)+(o?n+Math.abs(c-f).toFixed(o).slice(2):"")},l.Date.prototype.toRelativeTime=function(o){o=o||new Date;var n=(o.getTime()-this.getTime())/1e3;return n<60?"less than a minute ago":n<120?"about a minute ago":n<3600?Math.floor(n/60)+" minutes ago":n<7200?"about an hour ago":n<86400?"about "+Math.floor(n/3600)+" hours ago":n<172800?"1 day ago":Math.floor(n/86400)+" days ago"},l.Date.prototype.stdTimezoneOffset=function(){var o=new Date(this.getFullYear(),0,1),n=new Date(this.getFullYear(),6,1);return Math.max(o.getTimezoneOffset(),n.getTimezoneOffset())},l.Date.prototype.isDST=function(){return this.getTimezoneOffset()<this.stdTimezoneOffset()},l.Date.isLeapYear=function(o){return o%4===0&&o%100!==0||o%400===0},l.Date.getDaysInMonth=function(o,n){return[31,Date.isLeapYear(o)?29:28,31,30,31,30,31,31,30,31,30,31][n]},l.Date.prototype.isLeapYear=function(){return l.Date.isLeapYear(this.getFullYear())},l.Date.prototype.getDaysInMonth=function(){return l.Date.getDaysInMonth(this.getFullYear(),this.getMonth())},l.Date.prototype.moveToFirstDayOfMonth=function(){return this.set({day:1})},l.Date.prototype.moveToLastDayOfMonth=function(){return this.set({day:this.getDaysInMonth()})},l.Date.prototype.addDays=function(o){return this.addMilliseconds(o*864e5)},l.Date.prototype.addMilliseconds=function(o){return this.setMilliseconds(this.getMilliseconds()+o),this},l.Date.prototype.addSeconds=function(o){return this.addMilliseconds(o*1e3)},l.Date.prototype.addMinutes=function(o){return this.addMilliseconds(o*6e4)},l.Date.prototype.addHours=function(o){return this.addMilliseconds(o*36e5)},l.Date.prototype.addDays=function(o){return this.addMilliseconds(o*864e5)},l.Date.prototype.addWeeks=function(o){return this.addMilliseconds(o*6048e5)},l.Date.prototype.addMonths=function(o){var n=this.getDate();return this.setDate(1),this.setMonth(this.getMonth()+o),this.setDate(Math.min(n,this.getDaysInMonth())),this},l.Date.prototype.addYears=function(o){return this.addMonths(o*12)},l.Date._validate=function(o,n,a,i){return!0},l.Date.validateMillisecond=function(o){return l.Date._validate(o,0,999,"milliseconds")},l.Date.validateSecond=function(o){return l.Date._validate(o,0,59,"seconds")},l.Date.validateMinute=function(o){return l.Date._validate(o,0,59,"minutes")},l.Date.validateHour=function(o){return l.Date._validate(o,0,23,"hours")},l.Date.validateDay=function(o,n,a){return l.Date._validate(o,1,l.Date.getDaysInMonth(n,a),"days")},l.Date.validateMonth=function(o){return l.Date._validate(o,0,11,"months")},l.Date.validateYear=function(o){return l.Date._validate(o,1,9999,"seconds")},l.Date.prototype.set=function(o){var n=o;return!n.millisecond&&n.millisecond!==0&&(n.millisecond=-1),!n.second&&n.second!==0&&(n.second=-1),!n.minute&&n.minute!==0&&(n.minute=-1),!n.hour&&n.hour!==0&&(n.hour=-1),!n.day&&n.day!==0&&(n.day=-1),!n.month&&n.month!==0&&(n.month=-1),!n.year&&n.year!==0&&(n.year=-1),n.millisecond!==-1&&l.Date.validateMillisecond(n.millisecond)&&this.addMilliseconds(n.millisecond-this.getMilliseconds()),n.second!==-1&&l.Date.validateSecond(n.second)&&this.addSeconds(n.second-this.getSeconds()),n.minute!==-1&&l.Date.validateMinute(n.minute)&&this.addMinutes(n.minute-this.getMinutes()),n.hour!==-1&&l.Date.validateHour(n.hour)&&this.addHours(n.hour-this.getHours()),n.month!==-1&&l.Date.validateMonth(n.month)&&this.addMonths(n.month-this.getMonth()),n.year!==-1&&l.Date.validateYear(n.year)&&this.addYears(n.year-this.getFullYear()),n.day!==-1&&l.Date.validateDay(n.day,this.getFullYear(),this.getMonth())&&this.addDays(n.day-this.getDate()),n.timezone&&this.setTimezone(n.timezone),n.timezoneOffset&&this.setTimezoneOffset(n.timezoneOffset),this},b=!0}})()},764851:function(){/*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */"document"in self&&("classList"in document.createElement("_")?function(){"use strict";var b=document.createElement("_");if(b.classList.add("c1","c2"),!b.classList.contains("c2")){var l=function(r){var o=DOMTokenList.prototype[r];DOMTokenList.prototype[r]=function(n){var a,i=arguments.length;for(a=0;a<i;a++)n=arguments[a],o.call(this,n)}};l("add"),l("remove")}if(b.classList.toggle("c3",!1),b.classList.contains("c3")){var e=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(r,o){return 1 in arguments&&!this.contains(r)==!o?o:e.call(this,r)}}b=null}():function(b){"use strict";if("Element"in b){var l="classList",e="prototype",r=b.Element[e],o=Object,n=String[e].trim||function(){return this.replace(/^\s+|\s+$/g,"")},a=Array[e].indexOf||function(g){for(var _=0,p=this.length;_<p;_++)if(_ in this&&this[_]===g)return _;return-1},i=function(g,_){this.name=g,this.code=DOMException[g],this.message=_},c=function(g,_){if(_==="")throw new i("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(_))throw new i("INVALID_CHARACTER_ERR","String contains an invalid character");return a.call(g,_)},u=function(g){for(var _=n.call(g.getAttribute("class")||""),p=_?_.split(/\s+/):[],y=0,O=p.length;y<O;y++)this.push(p[y]);this._updateClassName=function(){g.setAttribute("class",this.toString())}},f=u[e]=[],d=function(){return new u(this)};if(i[e]=Error[e],f.item=function(g){return this[g]||null},f.contains=function(g){return g+="",c(this,g)!==-1},f.add=function(){var g=arguments,_=0,p=g.length,y,O=!1;do y=g[_]+"",c(this,y)===-1&&(this.push(y),O=!0);while(++_<p);O&&this._updateClassName()},f.remove=function(){var g=arguments,_=0,p=g.length,y,O=!1,P;do for(y=g[_]+"",P=c(this,y);P!==-1;)this.splice(P,1),O=!0,P=c(this,y);while(++_<p);O&&this._updateClassName()},f.toggle=function(g,_){g+="";var p=this.contains(g),y=p?_!==!0&&"remove":_!==!1&&"add";return y&&this[y](g),_===!0||_===!1?_:!p},f.toString=function(){return this.join(" ")},o.defineProperty){var h={get:d,enumerable:!0,configurable:!0};try{o.defineProperty(r,l,h)}catch(g){g.number===-2146823252&&(h.enumerable=!1,o.defineProperty(r,l,h))}}else o[e].__defineGetter__&&r.__defineGetter__(l,d)}}(self))},998402:function(b,l,e){"use strict";var r=e(392338),o=e.n(r),n=e(769630),a=e.n(n),i=e(764851),c=e.n(i),u=e(75503)},75503:function(b,l,e){"use strict";var r=e(233284),o=e(594127);if(parseFloat(r.version)>=18){const n=new Map;r.render=(a,i)=>{let c=n.get(i);c||(c=o.createRoot(i),n.set(i,c)),c.render(a)},r.unmountComponentAtNode=a=>{const i=n.get(a);i&&(i.unmount(),n.delete(a))}}},100514:function(b,l,e){"use strict";e.d(l,{Z:()=>c});const r=!1,o=22,n=2;class a{invoke(){const{lastCompleteExecution:f,sampledAverageExecution:d}=this;if(this.pending){r&&console.log("pending!");return}if(f!==null&&d!==null){const h=Date.now()-f,g=d*n;if(h<g){const _=g-h;if(this.pendingDowntime){r&&console.log("no downtime, and timer is set just going to wait");return}r&&console.log("no downtime, not allowing. need to wait another ",_),this.pendingDowntime=setTimeout(()=>{this.invoke(),this.pendingDowntime=null},_);return}}this.doWork()}doWork(){const f=Date.now();this.pending=!0;try{this.workFn()}catch(g){console.error(g)}this.lastCompleteExecution=Date.now();const d=this.lastCompleteExecution-f;this.pending=!1;let h=this.samples;h.unshift(d),h.length>o&&(this.samples=h=h.slice(0,o)),this.sampledAverageExecution=h.reduce((g,_)=>g+_,0)/h.length,r&&console.log("executionTime",d,"sampledAverageExecution",this.sampledAverageExecution)}constructor(f){this.workFn=f,this.pending=!1,this.samples=[],this.lastCompleteExecution=null,this.sampledAverageExecution=null,this.pendingDowntime=null}}function i(u){const f=new a(u);return()=>f.invoke()}const c=i},765134:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(o){return new Promise(n=>{setTimeout(n,o)})}},273703:function(b,l,e){"use strict";e.d(l,{Z:()=>o});const o=n=>n.replace(/^\s\s*/,"").replace(/\s\s*$/,"").toLowerCase().replace(/[^a-z0-9_\s]+/g,"").replace(/[\s]+/g,"-")},988896:function(b,l,e){"use strict";e.d(l,{RA:()=>u,_M:()=>i,lg:()=>c});var r=e(449603),o=e.n(r);let n=0;class a{constructor(){const d=`${n++}`;this.getId=()=>d}}const i=()=>new a,c=f=>o()(f,()=>new a),u=f=>f instanceof a},680363:function(b,l,e){"use strict";e.d(l,{Z:()=>n});class r{isValid(i){return Object.keys(this.config).reduce((c,u)=>this.isFieldValid(u,i[u],i)&&c,!0)}isFieldValid(i,c,u){const f=this.config[i](c,u);return f?this.errors[i]=f:delete this.errors[i],!f}constructor(i){this.config=i,this.errors={}}}const o=r;function n(a){const i={};return Object.keys(a).forEach(c=>{i[c]=function(u,f){const d=a[c];if(d.required&&!u)return"required";if(d.validator){const h=d.validator(u,f);if(h)return h}}}),new o(i)}},331280:function(b,l,e){"use strict";e.d(l,{AV:()=>a,a9:()=>f,ko:()=>d,rM:()=>c,wN:()=>i});var r=e(691985),o=e(28365),n=e.n(o);const a=()=>{var h;return r.D===null||r.D===void 0||(h=r.D.website)===null||h===void 0?void 0:h.websiteType},i=()=>a()===n().PARKING_PAGE,c=()=>a()===n().COVER_PAGE,u=()=>a()===WebsiteType.CLASSIC,f=()=>a()===n().COMMERCE,d=()=>a()===n().ENTERPRISE},195339:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(247380),o=e.n(r),n=e(456903),a=e(714487),i=e(423394),c=e(787592),u=e(510812);function f(g,_,p){return _ in g?Object.defineProperty(g,_,{value:p,enumerable:!0,configurable:!0,writable:!0}):g[_]=p,g}class d{static async fetch(){try{const{data:_}=await n.default.get(d.url);await d.fetchTranslations(_);const p=d.transformTranslations(_.definitions);return{..._,definitions:p}}catch(_){return c.$e(p=>{p.setTag("owner",o().CONTENT_RENDERING),c.Tb(_)}),{definitions:[],translationReferences:[]}}}static async fetchTranslations(_){var p;const y=(p=_.translationReferences)===null||p===void 0?void 0:p.find(O=>O.locale===(0,i.mg)());if(y)try{const O=await n.default.get(y.url);a.ZP.extendTranslationDictionary(O.data)}catch(O){c.$e(P=>{P.setTag("owner",o().CONTENT_RENDERING),c.Tb(O)})}else{const O=new Error("Cannot find translation of current locale: "+(0,i.mg)());c.$e(P=>{P.setTag("owner",o().CONTENT_RENDERING),c.Tb(O)})}}static transformTranslations(_){return _.reduce((p,y)=>{try{y.editorSettings=(0,u.C)(y.editorSettings),y.initialContextValues=(0,u.C)(y.initialContextValues),p.push(y)}catch(O){c.$e(P=>{P.setTag("owner",o().CONTENT_RENDERING),P.setTag("definitionName",y.definitionName),c.Tb(O)})}return p},[])}async fetch(){return this.cachedResponse||(this.cachedResponse=d.fetch()),this.cachedResponse}clearCache(){this.cachedResponse=void 0}constructor(){f(this,"cachedResponse",void 0)}}f(d,"url","/api/1/website-component-definitions");const h=new d},155533:function(b,l,e){"use strict";e.d(l,{y:()=>f,Z:()=>d});var r=e(247380),o=e.n(r),n=e(787592),a=e(195339),i=null,c=function(h){return h.CSS="CSS",h.JS="JS",h.UI_SCHEMA="UI_SCHEMA",h.EDITOR_CSS="EDITOR_CSS",h}({});function u(h,g,_){return g in h?Object.defineProperty(h,g,{value:_,enumerable:!0,configurable:!0,writable:!0}):h[g]=_,h}class f{static getStaticAssetsFromWebsiteComponentDefinitionDTO(g,_){return g.reduce((p,y)=>{if(y.contentType===c.CSS||y.contentType===c.EDITOR_CSS)p.css.push(y.url);else if(y.contentType===c.JS&&y.moduleName)p.importMap[y.moduleName]=y.url;else if(y.contentType===c.UI_SCHEMA){var O,P,C;!((O=y.moduleName)===null||O===void 0)&&O.endsWith("form")?p.uiSchema.form=y.url:!((P=y.moduleName)===null||P===void 0)&&P.endsWith("itemDefaults")?p.uiSchema.itemDefaults=y.url:!((C=y.moduleName)===null||C===void 0)&&C.endsWith("quickActions")?p.uiSchema.quickActions=y.url:n.$e(A=>{A.setTag("owner",o().CONTENT_RENDERING),A.setTag("definitionName",_),A.setTag("moduleName",y.moduleName),n.uT(`Definition contained unrecognized uiSchema module: ${y.moduleName}`,"warning")})}return p},{css:[],importMap:{},uiSchema:{}})}static getTemplateFromWebsiteComponentDefinitionDTO(g){const{entrypointFilename:_}=g;let p="";const y=g.renderMarkupFiles.reduce((O,P)=>(P.filename===_?p=P.contents:O[P.filename]=P.contents,O),{});return{mainTemplate:p,partials:y}}static convertWebsiteComponentDefinitionDTOToWebsiteComponentDefinition(g){return{definitionName:g.definitionName,jsonSchema:g.jsonSchema,editorSettings:g.editorSettings,staticAssets:f.getStaticAssetsFromWebsiteComponentDefinitionDTO(g.staticAssetReferences,g.definitionName),template:f.getTemplateFromWebsiteComponentDefinitionDTO(g.renderMarkup),versionId:g.versionId}}static async fetchAll(){return(await a.Z.fetch()).definitions.reduce((_,p)=>(_[p.definitionName]=f.convertWebsiteComponentDefinitionDTOToWebsiteComponentDefinition(p),_),{})}async fetchAll(){return this.cachedResponse||(this.cachedResponse=f.fetchAll()),this.cachedResponse}async fetch(g){return(await this.fetchAll())[g]}clearCache(){this.cachedResponse=void 0}constructor(){u(this,"cachedResponse",void 0)}}const d=new f},334001:function(b,l,e){"use strict";e.d(l,{Z:()=>E});var r=e(247380),o=e.n(r),n=e(433566),a=e(784874),i=e(787592),c=e(175424),u=e(195339),f=e(155533),d=e(603382),h=e(86878);const _=()=>{u.Z.clearCache(),f.Z.clearCache(),d.Z.clearCache(),h.Z.clearCache()};var p=e(651780);const y={enterprisePermissions:p._X,designLibraryFlag:()=>!0,codeBlockFlag:()=>!0};function O(I){const L=y[I];return L?L():(i.$e(W=>{W.setTag("owner",o().CONTENT_RENDERING);const F=new Error(`Website component conditional availability function ${I} 
      is not defined in websiteComponent/public/conditionalAvailabilityFunctions.ts. 
      Component configuration is invalid and will be excluded from frontend UCA components lists!`);i.Tb(F)}),!1)}function P(I,L,W){return L in I?Object.defineProperty(I,L,{value:W,enumerable:!0,configurable:!0,writable:!0}):I[L]=W,I}const C=[n.P.IN_MIGRATION,n.P.LEGACY_COMPATIBLE],A=I=>I===void 0?!0:I,S=I=>I.deprecated===!0,T=(I,L)=>I.editorSettings.environment.templateVersions.includes(L),s=(I,L)=>I.editorSettings.environment.editingEngines.includes(L),v=I=>{if(!I)return!0;for(const L of I)if(!O(L))return!1;return!0};class m{static getComponentLegacyType(L){var W;return((W=L.merchandisingDetails)===null||W===void 0?void 0:W.legacyType)||(L.definitionName==="website.components.shape"?a.Z.SHAPE:void 0)}static getComponentLegacyTypeOrDefinitionName(L){return m.getComponentLegacyType(L)||L.definitionName}static async fetchWebsiteComponentDefinitions(){return(await u.Z.fetch()).definitions}static getWebsiteComponentBlockConfig(L,W){const{definitionName:F,editorSettings:G,initialContextValues:k,merchandisingDetails:x,componentWrapperClassnames:M,customCodeBlockName:B}=L,R=m.getComponentLegacyType(L),U=f.y.getStaticAssetsFromWebsiteComponentDefinitionDTO(L.staticAssetReferences,L.definitionName);return{editorSettings:G,iconName:G.iconName,id:F,ctor:m.getRenderableBlockConstructorForComponentDefinition(F,G,W),label:G.label||F,legacyBlockType:R,tags:G.tags||[],premiumFeature:x==null?void 0:x.premiumFeature,hasEditor:U.uiSchema.form!==void 0,defaultContentModel:k,type:a.Z.WEBSITE_COMPONENT,componentWrapperClassnames:M,customCodeBlockName:B}}static getRenderableBlockConstructorForComponentDefinition(L,W,F){var G,k,x;const M=F||((G=(0,c.V6)())===null||G===void 0?void 0:G.Y),B=M==null||(x=M.Squarespace)===null||x===void 0||(k=x.Block)===null||k===void 0?void 0:k.WebsiteComponent;return B?class extends B{constructor(R){super({...R,definitionName:L,editorSettings:W})}}:(console.warn("Y.Squarespace.Block.WebsiteComponent is not defined. Failed to create ctor for WebsiteComponent"),()=>{throw new Error("Failed to create ctor for WebsiteComponent")})}static getFilteredWebsiteComponentDefinitions(L,W){const F=L.filter(M=>(M.editorSettings.environment||i.$e(B=>{B.setTag("owner",o().CONTENT_RENDERING),B.setTag("definitionName",M.definitionName);const R=new Error(`Component definition for ${M.definitionName}
          is missing required editorSettings.environment property and will be excluded from
          frontend UCA component lists!`);i.Tb(R)}),!!M.editorSettings.environment));if(!W)return F;const{includeDeprecated:G,templateVersion:k,editingEngine:x}=W;return F.filter(M=>A(G)?!0:!S(M)).filter(M=>k===void 0||T(M,k)).filter(M=>x===void 0||s(M,x)).filter(M=>{var B;return v(M==null||(B=M.editorSettings.environment)===null||B===void 0?void 0:B.conditionalAvailabilityFunctions)})}static getEditorSettings(L,W,F){const G={},k={};return m.getFilteredWebsiteComponentDefinitions(L,W).forEach(x=>{var M;const B=m.getWebsiteComponentBlockConfig(x,F);G[m.getComponentLegacyTypeOrDefinitionName(x).toString()]=B,G[x.definitionName]=B,(M=x.editorSettings.categories)===null||M===void 0||M.forEach(R=>{k[R]||(k[R]=[]),k[R].push(x.definitionName)})}),{renderableBlockConfigsByIdAndDefinitionName:G,idsByCategoryType:k}}static getCdkBlockReplacements(L){return L.reduce((W,F)=>{const{migrationStatus:G,legacyType:k}=F.merchandisingDetails??{};return k&&(!G||C.includes(G))&&(W[k]=F.definitionName),W},{})}setup(){return this.cachedDefinitions||_(),this.fetchAll()}async fetchAll(L,W){this.cachedDefinitions=await m.fetchWebsiteComponentDefinitions();const F=m.getFilteredWebsiteComponentDefinitions(this.cachedDefinitions,L);return{...m.getEditorSettings(this.cachedDefinitions,L,W),cdkBlockReplacements:m.getCdkBlockReplacements(F)}}getWebsiteComponentBlockConfig(L){var W;const F=(W=this.cachedDefinitions)===null||W===void 0?void 0:W.find(G=>G.definitionName===L);return F?m.getWebsiteComponentBlockConfig(F):(i.$e(G=>{const k=new Error(`Component definition for ${L} not found when attempting to build block config.`);G.setTag("owner",o().CONTENT_RENDERING),G.setTag("definitionName",L),i.Tb(k)}),null)}constructor(){P(this,"cachedDefinitions",void 0)}}const E=new m},603382:function(b,l,e){"use strict";e.d(l,{Z:()=>T});var r=e(430183),o=e(554396);const a=async function(s,v,m,E){let{localizedStrings:I,template:L}=s,W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};const F=new DOMParser,G=(0,o.W)(L,{...m,blockId:v,containerStyles:E},W);return F.parseFromString(G,"text/html").querySelector("body").children[0]};var i=e(155533),c=e(247380),u=e.n(c),f=e(456903),d=e(787592),h=e(195339);function g(s,v,m){return v in s?Object.defineProperty(s,v,{value:m,enumerable:!0,configurable:!0,writable:!0}):s[v]=m,s}class _{async fetchRenderContextWithLocalDevDefinition(v,m){const{data:E}=await f.default.post(_.devUrl,{request:v,definition:m});return E}async fetchRenderContext(v){const{data:m}=await f.default.post(_.url,v);return m}async fetch(v){const m=await h.Z.fetch();try{if(m.isDevEnv){const E=m.definitions.find(I=>{let{definitionName:L}=I;return L===v.definitionName});if(!E)throw new Error(`Definition for ${v.definitionName} not found`);return this.fetchRenderContextWithLocalDevDefinition(v,E)}return this.fetchRenderContext(v)}catch(E){throw d.$e(I=>{I.setTag("owner",u().CONTENT_RENDERING),I.setTag("definitionName",v.definitionName),I.setTag("definitionVersionId",v.definitionVersionId),d.Tb(new Error(`Failed to load render context for ${v.definitionName}, versionId: ${v.definitionVersionId}`,{cause:E}))}),E}}}g(_,"url","/api/1/website-component/context"),g(_,"devUrl","/api/1/website-component/context-dev");const p=new _;var y=e(419467),O=e(715862);function P(s,v,m){return v in s?Object.defineProperty(s,v,{value:m,enumerable:!0,configurable:!0,writable:!0}):s[v]=m,s}const C=["hSize","floatDir"];function A(s,v){return!(0,y.isEqual)((0,y.omit)(s,C),(0,y.omit)(v,C))}class S{static compileTemplate(v){return(0,o._)(v)}static compilePartials(v){return Object.entries(v).reduce((m,E)=>{let[I,L]=E;return m[I]=S.compileTemplate(L),m},{})}async fetch(v,m,E){this.cachedCompiledTemplates[v]||(this.cachedCompiledTemplates[v]=this.fetchCompiledTemplateForDefinition(v));const{partials:I,versionId:L,...W}=await this.cachedCompiledTemplates[v],F=this.cachedRenderContext[m];let G=F==null?void 0:F.renderContext;if(A(F==null?void 0:F.model,E)){const k=(0,O.g)(m);G=await p.fetch({definitionVersionId:L,definitionName:v,id:m,value:E,parentChildContext:k}),this.cachedRenderContext[m]={model:E,renderContext:G}}return a(W,m,G,E.containerStyles,I)}clearCachedRenderContextForComponent(v){delete this.cachedRenderContext[v]}async fetchCompiledTemplateForDefinition(v){const m=await i.Z.fetch(v);return m?{template:S.compileTemplate(m.template.mainTemplate),partials:S.compilePartials(m.template.partials),versionId:m.versionId}:S.mockCompiledTemplate}clearCache(){this.cachedCompiledTemplates={},this.cachedRenderContext={}}constructor(){P(this,"cachedCompiledTemplates",{}),P(this,"cachedRenderContext",{})}}P(S,"mockCompiledTemplate",{template:S.compileTemplate(""),partials:{},versionId:"unknown"});const T=new S},86878:function(b,l,e){"use strict";e.d(l,{Z:()=>i});var r=e(456903),o=e(155533);function n(c,u,f){return u in c?Object.defineProperty(c,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):c[u]=f,c}class a{async fetch(u,f){return this.cachedUiSchema[u]||(this.cachedUiSchema[u]={}),this.cachedUiSchema[u][f]||(this.cachedUiSchema[u][f]=this.fetchUiSchemaForDefinition(u,f)),this.cachedUiSchema[u][f]}async fetchUiSchemaForDefinition(u,f){const d=await o.Z.fetch(u),h=d==null?void 0:d.staticAssets.uiSchema[f];if(!h)return f==="form"?{uiSchema:[],routes:{}}:[];const{data:g}=await r.default.get(h);return g}clearCache(){this.cachedUiSchema={}}constructor(){n(this,"cachedUiSchema",{})}}const i=new a},839678:function(b,l,e){"use strict";e.d(l,{_:()=>_});var r=e(60442),o=e(175424);const a=()=>(0,o.wo)()||document;var i=e(130380);function c(p,y,O){return y in p?Object.defineProperty(p,y,{value:O,enumerable:!0,configurable:!0,writable:!0}):p[y]=O,p}class u{static findOrCreate(y){const O=a();if(O.querySelector(`script[src='${y}']`))return;const C=O.createElement("script");C.src=y,C.defer=!0,O.head.appendChild(C)}constructor(y){c(this,"src",void 0),c(this,"resolvablePromise",void 0),c(this,"load",void 0),c(this,"resolve",void 0),this.src=y,this.resolvablePromise=new i.Z,this.load=async()=>(this.src&&u.findOrCreate(this.src),this.resolvablePromise.promise),this.resolve=()=>{this.resolvablePromise.resolve()}}}function f(p,y,O){return y in p?Object.defineProperty(p,y,{value:O,enumerable:!0,configurable:!0,writable:!0}):p[y]=O,p}class d{constructor(y,O){var P=this;f(this,"name",void 0),f(this,"script",void 0),f(this,"executableContext",void 0),f(this,"executingContext",void 0),f(this,"exports",void 0),f(this,"loadDependenciesAndBindThemToExecutableContext",void 0),f(this,"define",void 0),f(this,"load",void 0),f(this,"loadDependencies",void 0),this.name=y,this.define=(C,A)=>{if(this.script.resolve(),this.loadDependenciesAndBindThemToExecutableContext)throw new Error(`[${this.name}] is already defined`);this.loadDependenciesAndBindThemToExecutableContext=()=>(this.executableContext||A.map(S=>{S.loadDependencies()}),async S=>{const T=await Promise.all(A.map(s=>s.load(S)));return this.exports=C(...T),S[this.name]&&Object.assign(S[this.name],this.exports),this.exports})},this.load=async function(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return P.exports?P.exports:C[P.name]?C[P.name]:(C[P.name]={__esModule:!0},P.executingContext||(P.executingContext=P.loadDependencies().then(A=>A(C))),await P.executingContext)},this.loadDependencies=async()=>{if(this.executableContext)return this.executableContext;if(this.loadDependenciesAndBindThemToExecutableContext||await this.script.load(),!this.loadDependenciesAndBindThemToExecutableContext)throw new Error(`[${this.name}] failed to load`);return this.executableContext=this.loadDependenciesAndBindThemToExecutableContext(),this.executableContext},this.script=new u(O)}}function h(p,y,O){return y in p?Object.defineProperty(p,y,{value:O,enumerable:!0,configurable:!0,writable:!0}):p[y]=O,p}class g{canLoadModule(y){return this.modules[y]!==void 0||this.importMap[y]!==void 0}updateImportMap(y){this.importMap={...this.importMap,...y}}defineSystemModule(y,O){this.define(y,[],()=>({__esModule:!0,default:O}))}findOrCreateModule(y){return this.modules[y]||(this.modules[y]=new d(y,this.importMap[y])),this.modules[y]}constructor(){h(this,"modules",{}),h(this,"importMap",{}),h(this,"define",(y,O,P)=>{this.findOrCreateModule(y).define(P,O.map(C=>this.findOrCreateModule(C)))}),h(this,"load",async y=>{if(!this.canLoadModule(y))throw new Error(`Amd Module cannot be loaded due to missing import map for module: ${y}`);return this.findOrCreateModule(y).load()})}}function _(){return(0,r.J)("loader")}(0,r.p)("loader",()=>new g)},792105:function(b,l,e){"use strict";e.d(l,{Z:()=>h});var r=e(155533),o=e(130380),n=e(456903);function a(g,_,p){return _ in g?Object.defineProperty(g,_,{value:p,enumerable:!0,configurable:!0,writable:!0}):g[_]=p,g}class i{isValid(){return!0}async loadCssAvoidingIframeCors(){if(this.owningDocument.querySelector(`link[href='${this.href}']`)||this.owningDocument.querySelector(`style[data-definition-css-url='${this.href}']`))return;const{data:_}=await n.default.get(this.href),p=this.owningDocument.createElement("style");p.dataset.definitionCssUrl=this.href,p.innerText=_,this.owningDocument.head.appendChild(p)}constructor(_,p){a(this,"owningDocument",void 0),a(this,"href",void 0),this.owningDocument=_,this.href=p}}function c(g,_,p){return _ in g?Object.defineProperty(g,_,{value:p,enumerable:!0,configurable:!0,writable:!0}):g[_]=p,g}class u{get isLoaded(){return this.resolvablePromise!==void 0}isValid(_){return this.owningDocument===_&&(!this.isLoaded||this.cssTags.every(p=>p.isValid()))}async load(){if(this.isLoaded){var _;return(_=this.resolvablePromise)===null||_===void 0?void 0:_.promise}this.resolvablePromise=new o.Z;const p=await r.Z.fetch(this.definitionName),y=(p==null?void 0:p.staticAssets.css)||[];return this.cssTags=y.map(O=>new i(this.owningDocument,O)),Promise.all(this.cssTags.map(O=>O.loadCssAvoidingIframeCors())).then(()=>{var O;return(O=this.resolvablePromise)===null||O===void 0?void 0:O.resolve()})}constructor(_,p){c(this,"definitionName",void 0),c(this,"cssTags",void 0),c(this,"owningDocument",void 0),c(this,"resolvablePromise",void 0),this.definitionName=_,this.cssTags=[],this.owningDocument=p}}function f(g,_,p){return _ in g?Object.defineProperty(g,_,{value:p,enumerable:!0,configurable:!0,writable:!0}):g[_]=p,g}class d{findOrCreateDefinitionCss(_,p){return this.definitionCssByName[_]&&!this.definitionCssByName[_].isValid(p)&&delete this.definitionCssByName[_],this.definitionCssByName[_]||(this.definitionCssByName[_]=new u(_,p)),this.definitionCssByName[_]}async load(_,p){return this.findOrCreateDefinitionCss(_,p).load()}constructor(){f(this,"definitionCssByName",{})}}const h=new d},227694:function(b,l,e){"use strict";e.d(l,{Z:()=>c});var r=e(45946),o=e(839678),n=e(72664);function a(u,f,d){return f in u?Object.defineProperty(u,f,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[f]=d,u}class i{getHandlersJs(f){return this.handlersCache[f]}async loadHandlersJs(f){const d=await(0,o._)(),h=`${f}.handlers`;if(d.canLoadModule(h)||await(0,r.Z)(f,d),d.canLoadModule(h)){const g=await d.load(h);if(!(g!=null&&g.default))throw new Error(`handlersJs failed to load for ${f}`);return this.handlersCache[f]=g.default,g.default}}async loadVisitorInstance(f,d,h){return(await(0,n.k)()).load(f,d,h)}constructor(){a(this,"handlersCache",{})}}const c=new i},130380:function(b,l,e){"use strict";e.d(l,{Z:()=>o});function r(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class o{constructor(){r(this,"promise",void 0),r(this,"resolve",void 0),this.promise=new Promise(a=>{this.resolve=a})}}},72664:function(b,l,e){"use strict";e.d(l,{k:()=>h});var r=e(60442),o=e(45946),n=e(839678);const a=["data-block-css","data-block-scripts"],i=(g,_)=>{if(g)try{JSON.parse(g).forEach(y=>{const O=_==="css"?`link[href="${y}"]`:`script[src="${y}"]`;if(!document.head.querySelector(O)){const P=document.createElement(_==="css"?"link":"script");_==="css"?(P.setAttribute("rel","stylesheet"),P.setAttribute("href",y)):P.setAttribute("src",y),document.head.appendChild(P)}})}catch(p){console.error(`Failed to parse block${_==="css"?"CSS":"Scripts"} JSON:`,p)}},u=g=>{a.forEach(_=>{const p=g.getAttribute(_);p&&i(p,_==="data-block-css"?"css":"script")})};function f(g,_,p){return _ in g?Object.defineProperty(g,_,{value:p,enumerable:!0,configurable:!0,writable:!0}):g[_]=p,g}class d{static isVisitorJs(_){return typeof _=="object"&&typeof _.default=="function"}async load(_,p,y){let O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return this.instancesByDefinitionNameAndId[_]||(this.instancesByDefinitionNameAndId[_]={}),this.instancesByDefinitionNameAndId[_][p]&&(O||this.instancesByDefinitionNameAndId[_][p].element!==y)&&delete this.instancesByDefinitionNameAndId[_][p],(O||!this.instancesByDefinitionNameAndId[_][p])&&(u(y),this.instancesByDefinitionNameAndId[_][p]={element:y,instance:this.instantiateVisitorJs(_,y)}),this.instancesByDefinitionNameAndId[_][p].instance}async instantiateVisitorJs(_,p){const y=await(0,n._)(),O=`${_}.visitor`;y.canLoadModule(O)||await(0,o.Z)(_,y);const P=await y.load(O);if(!d.isVisitorJs(P))throw new Error(`visitorJS failed to load for ${_}`);return P.default(p)}constructor(){f(this,"instancesByDefinitionNameAndId",{})}}function h(){return(0,r.p)("visitorInstanceLoader",()=>new d),(0,r.J)("visitorInstanceLoader")}},224299:function(b,l,e){"use strict";e.d(l,{G:()=>c,p:()=>u});var r=e(894616),o=e.n(r),n=e(784874),a=e(997809);const i=async(f,d,h)=>await(await(0,a.Xp)(f))(d,h),c=async f=>{if(f.type!==n.Z.WEBSITE_COMPONENT||!f.definitionName)return Promise.resolve(f);const d=await i(f.definitionName,f.value,{editingEngine:o().FLUID_ENGINE});return{...f,value:d}},u=async f=>{if(f.type!==n.Z.WEBSITE_COMPONENT||!f.definitionName)return Promise.resolve(f);const d=await i(f.definitionName,f.value,{editingEngine:o().LAYOUT_ENGINE});return{...f,value:d}}},441574:function(b,l,e){"use strict";e.d(l,{KY:()=>d,fl:()=>f,wn:()=>a});var r=e(687006);const o=()=>!0,n=()=>null,a=(h,g)=>Promise.resolve(h),i=()=>{},c=()=>{},u=(h,g)=>{if(!(!h||!g))return _=>g({..._,visitor:h})},f=(h,g)=>{const _=typeof h=="function"?h():h,p=(_==null?void 0:_.formDidNavigate)??(_==null?void 0:_.editorDidNavigate);return{componentDidMount:u(g,_==null?void 0:_.componentDidMount)||i,componentWillUpdate:u(g,_==null?void 0:_.componentWillUpdate)||o,componentDidUpdate:u(g,_==null?void 0:_.componentDidUpdate)||i,componentDidDrag:u(g,_==null?void 0:_.componentDidDrag)||i,componentWillUnmount:u(g,_==null?void 0:_.componentWillUnmount)||i,getEditorLifecycleHandlers:u(g,_==null?void 0:_.getEditorLifecycleHandlers)||c,formDidNavigate:u(g,p)||i,formWillClose:u(g,_==null?void 0:_.formWillClose)||i,formWillUpdate:u(g,_==null?void 0:_.formWillUpdate)||i,formWillOpen:u(g,_==null?void 0:_.formWillOpen)||i,editorDidToggleEditModePreview:u(g,_==null?void 0:_.editorDidToggleEditModePreview)||i}},d=h=>{const g=typeof h=="function"?h():h;return{componentWillBeAdded:(g==null?void 0:g.componentWillBeAdded)||a,getLayoutElementType:(g==null?void 0:g.getLayoutElementType)||n}}},60442:function(b,l,e){"use strict";e.d(l,{J:()=>h,p:()=>d});var r=e(175424);const o="SQSWebsiteComponentSingletonCreated:",n=g=>window.websiteComponents[g],a=g=>{const _=n(g);if(_)return _;throw new Error(`Shared editor visitor singleton '${g}' does not exist when requested from the visitor!`)},i=g=>{var _;return(((_=(0,r.V6)())===null||_===void 0?void 0:_.websiteComponents)||{})[g]},c=(g,_,p)=>()=>{const y=i(g);y?_(y):p(new Error(`Notified of singleton instantiation for '${g}' but singleton was not found`))},u=g=>new Promise((_,p)=>{const y=i(g);y?_(y):window.Y?window.Y.once(o+g,c(g,_,p)):window.addEventListener("DOMContentLoaded",()=>{window.Y?window.Y.once(o+g,c(g,_,p)):p(new Error(`Unable to listen for singleton initialization event for '${g}'`))})}),f=()=>{try{var g;const _=window.top&&!!(!((g=window.top.Static)===null||g===void 0)&&g.IS_IN_CONFIG),p=window.top?window.top:window,y=p.__CYPRESS_BROWSER__?p[0]:p,O=(0,r.V6)(y.document);return _?window===O:!0}catch{return!0}},d=(g,_)=>{f()&&(window.websiteComponents||(window.websiteComponents={}),window.websiteComponents[g]||(window.websiteComponents[g]=_(),window.Y?window.Y.fire(o+g):window.addEventListener("DOMContentLoaded",()=>{if(window.Y)window.Y.fire(o+g);else throw new Error(`Unable to fire singleton initialization event for '${g}'`)})))},h=async g=>f()&&!window.MOBILEAPP?a(g):await u(g)},426728:function(b,l,e){"use strict";e.d(l,{L:()=>a});var r=e(784874),o=e(334001);const n=i=>{var c;return i&&((c=o.Z.getWebsiteComponentBlockConfig(i))===null||c===void 0?void 0:c.editorSettings)||null},a=i=>!i||i.type!==r.Z.WEBSITE_COMPONENT?null:n(i.definitionName)},45946:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(155533);const n=async(a,i)=>{const c=await r.Z.fetch(a);c!=null&&c.staticAssets&&i.updateImportMap(c.staticAssets.importMap)}},510812:function(b,l,e){"use strict";e.d(l,{C:()=>o});var r=e(714487);const o=n=>typeof n=="object"&&typeof(n==null?void 0:n.translate)=="object"&&"stringValue"in(n==null?void 0:n.translate)?r.ZP.translate(n.translate.stringValue,n.translate.substitutionsObject,n.translate.options):typeof n=="object"&&n!==null?Array.isArray(n)?n.reduce((a,i)=>{const c=o(i);return a.push(c),a},[]):Object.keys(n).reduce((a,i)=>{const c=o(n[i]);return a[i]=c,a},{}):n},997809:function(b,l,e){"use strict";e.d(l,{It:()=>c,Xp:()=>a,i8:()=>i});var r=e(227694),o=e(441574);const n=async u=>await r.Z.loadHandlersJs(u).then(f=>(0,o.KY)(f)),a=async u=>u?(await n(u)).componentWillBeAdded:Promise.resolve(o.wn),i=u=>(0,o.KY)(r.Z.getHandlersJs(u)).getLayoutElementType,c=u=>{const f=u.map(d=>r.Z.loadHandlersJs(d));return Promise.all(f).then(()=>!0)}},392338:function(b){"use strict";b.exports=void 0},713454:function(b){function l(e){if(Array.isArray(e))return e}b.exports=l,b.exports.__esModule=!0,b.exports.default=b.exports},160553:function(b){function l(){return b.exports=l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},b.exports.__esModule=!0,b.exports.default=b.exports,l.apply(null,arguments)}b.exports=l,b.exports.__esModule=!0,b.exports.default=b.exports},892232:function(b,l,e){var r=e(953327);function o(){return b.exports=o=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(n,a,i){var c=r(n,a);if(c){var u=Object.getOwnPropertyDescriptor(c,a);return u.get?u.get.call(arguments.length<3?n:i):u.value}},b.exports.__esModule=!0,b.exports.default=b.exports,o.apply(null,arguments)}b.exports=o,b.exports.__esModule=!0,b.exports.default=b.exports},711998:function(b,l,e){var r=e(406039).default;function o(n,a){if(typeof WeakMap=="function")var i=new WeakMap,c=new WeakMap;return(b.exports=o=function(f,d){if(!d&&f&&f.__esModule)return f;var h,g,_={__proto__:null,default:f};if(f===null||r(f)!="object"&&typeof f!="function")return _;if(h=d?c:i){if(h.has(f))return h.get(f);h.set(f,_)}for(var p in f)p!=="default"&&{}.hasOwnProperty.call(f,p)&&((g=(h=Object.defineProperty)&&Object.getOwnPropertyDescriptor(f,p))&&(g.get||g.set)?h(_,p,g):_[p]=f[p]);return _},b.exports.__esModule=!0,b.exports.default=b.exports)(n,a)}b.exports=o,b.exports.__esModule=!0,b.exports.default=b.exports},76606:function(b){function l(e,r){var o=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o!=null){var n,a,i,c,u=[],f=!0,d=!1;try{if(i=(o=o.call(e)).next,r===0){if(Object(o)!==o)return;f=!1}else for(;!(f=(n=i.call(o)).done)&&(u.push(n.value),u.length!==r);f=!0);}catch(h){d=!0,a=h}finally{try{if(!f&&o.return!=null&&(c=o.return(),Object(c)!==c))return}finally{if(d)throw a}}return u}}b.exports=l,b.exports.__esModule=!0,b.exports.default=b.exports},677479:function(b){function l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}b.exports=l,b.exports.__esModule=!0,b.exports.default=b.exports},803366:function(b){function l(e){if(e==null)throw new TypeError("Cannot destructure "+e)}b.exports=l,b.exports.__esModule=!0,b.exports.default=b.exports},991861:function(b){function l(e){throw new TypeError('"'+e+'" is read-only')}b.exports=l,b.exports.__esModule=!0,b.exports.default=b.exports},680180:function(b,l,e){var r=e(713454),o=e(76606),n=e(906966),a=e(677479);function i(c,u){return r(c)||o(c,u)||n(c,u)||a()}b.exports=i,b.exports.__esModule=!0,b.exports.default=b.exports},953327:function(b,l,e){var r=e(848664);function o(n,a){for(;!{}.hasOwnProperty.call(n,a)&&(n=r(n))!==null;);return n}b.exports=o,b.exports.__esModule=!0,b.exports.default=b.exports},469080:function(b,l,e){var r=e(713454),o=e(834667),n=e(906966),a=e(677479);function i(c){return r(c)||o(c)||n(c)||a()}b.exports=i,b.exports.__esModule=!0,b.exports.default=b.exports},852235:function(b,l,e){"use strict";var r,o,n;Object.defineProperty(l,"__esModule",{value:!0}),l._getInstance=l._getStatsigGlobalFlag=l._getStatsigGlobal=void 0;const a=()=>__STATSIG__||g;l._getStatsigGlobal=a;const i=_=>(0,l._getStatsigGlobal)()[_];l._getStatsigGlobalFlag=i;const c=_=>{const p=(0,l._getStatsigGlobal)();return _?p.instances&&p.instances[_]:p.lastInstance};l._getInstance=c;const u="__STATSIG__",f=typeof window<"u"?window:{},d=typeof e.g<"u"?e.g:{},h=typeof globalThis<"u"?globalThis:{},g=(n=(o=(r=f[u])!==null&&r!==void 0?r:d[u])!==null&&o!==void 0?o:h[u])!==null&&n!==void 0?n:{instance:l._getInstance};f[u]=g,d[u]=g,h[u]=g},376127:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._getStorageKey=l._getUserStorageKey=void 0;const r=e(260159);function o(a,i,c){var u;if(c)return c(a,i);const f=i&&i.customIDs?i.customIDs:{},d=[`uid:${(u=i==null?void 0:i.userID)!==null&&u!==void 0?u:""}`,`cids:${Object.keys(f).sort((h,g)=>h.localeCompare(g)).map(h=>`${h}-${f[h]}`).join(",")}`,`k:${a}`];return(0,r._DJB2)(d.join("|"))}l._getUserStorageKey=o;function n(a,i,c){return i?o(a,i,c):(0,r._DJB2)(`k:${a}`)}l._getStorageKey=n},651790:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},408589:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(_,p,y,O){function P(C){return C instanceof y?C:new y(function(A){A(C)})}return new(y||(y=Promise))(function(C,A){function S(v){try{s(O.next(v))}catch(m){A(m)}}function T(v){try{s(O.throw(v))}catch(m){A(m)}}function s(v){v.done?C(v.value):P(v.value).then(S,T)}s((O=O.apply(_,p||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l.DataAdapterCore=void 0;const o=e(735634),n=e(572194),a=e(999851),i=e(404024),c=e(414445),u=10;class f{constructor(p,y){this._adapterName=p,this._cacheSuffix=y,this._options=null,this._sdkKey=null,this._lastModifiedStoreKey=`statsig.last_modified_time.${y}`,this._inMemoryCache=new h}attach(p,y){this._sdkKey=p,this._options=y}getDataSync(p){const y=p&&(0,a._normalizeUser)(p,this._options),O=this._getCacheKey(y),P=this._inMemoryCache.get(O,y);if(P)return P;const C=this._loadFromCache(O);return C?(this._inMemoryCache.add(O,C),this._inMemoryCache.get(O,y)):null}setData(p,y){const O=y&&(0,a._normalizeUser)(y,this._options),P=this._getCacheKey(O);this._inMemoryCache.add(P,d("Bootstrap",p,null,O))}_getDataAsyncImpl(p,y,O){return r(this,void 0,void 0,function*(){i.Storage.isReady()||(yield i.Storage.isReadyResolver());const P=p??this.getDataSync(y),C=[this._fetchAndPrepFromNetwork(P,y,O)];return O!=null&&O.timeoutMs&&C.push(new Promise(A=>setTimeout(A,O.timeoutMs)).then(()=>(o.Log.debug("Fetching latest value timed out"),null))),yield Promise.race(C)})}_prefetchDataImpl(p,y){return r(this,void 0,void 0,function*(){const O=p&&(0,a._normalizeUser)(p,this._options),P=this._getCacheKey(O),C=yield this._getDataAsyncImpl(null,O,y);C&&this._inMemoryCache.add(P,Object.assign(Object.assign({},C),{source:"Prefetch"}))})}_fetchAndPrepFromNetwork(p,y,O){return r(this,void 0,void 0,function*(){let P=null;p&&this._isCachedResultValidFor204(p,y)&&(P=p.data);const C=yield this._fetchFromNetwork(P,y,O);if(!C)return o.Log.debug("No response returned for latest value"),null;const A=(0,c._typedJsonParse)(C,"has_updates","Response"),S=this._getSdkKey(),T=n.StableID.get(S);let s=null;if((A==null?void 0:A.has_updates)===!0)s=d("Network",C,T,y);else if(P&&(A==null?void 0:A.has_updates)===!1)s=d("NetworkNotModified",P,T,y);else return null;const v=this._getCacheKey(y);return this._inMemoryCache.add(v,s),this._writeToCache(v,s),s})}_getSdkKey(){return this._sdkKey!=null?this._sdkKey:(o.Log.error(`${this._adapterName} is not attached to a Client`),"")}_loadFromCache(p){var y;const O=(y=i.Storage.getItem)===null||y===void 0?void 0:y.call(i.Storage,p);if(O==null)return null;const P=(0,c._typedJsonParse)(O,"source","Cached Result");return P?Object.assign(Object.assign({},P),{source:"Cache"}):null}_writeToCache(p,y){i.Storage.setItem(p,JSON.stringify(y)),this._runLocalStorageCacheEviction(p)}_runLocalStorageCacheEviction(p){var y;const O=(y=(0,i._getObjectFromStorage)(this._lastModifiedStoreKey))!==null&&y!==void 0?y:{};O[p]=Date.now();const P=g(O,u);P&&(delete O[P],i.Storage.removeItem(P)),(0,i._setObjectInStorage)(this._lastModifiedStoreKey,O)}}l.DataAdapterCore=f;function d(_,p,y,O){return{source:_,data:p,receivedAt:Date.now(),stableID:y,fullUserHash:(0,a._getFullUserHash)(O)}}class h{constructor(){this._data={}}get(p,y){var O;const P=this._data[p],C=P==null?void 0:P.stableID,A=(O=y==null?void 0:y.customIDs)===null||O===void 0?void 0:O.stableID;return A&&C&&A!==C?(o.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):P}add(p,y){const O=g(this._data,u-1);O&&delete this._data[O],this._data[p]=y}merge(p){this._data=Object.assign(Object.assign({},this._data),p)}}function g(_,p){const y=Object.keys(_);return y.length<=p?null:y.reduce((O,P)=>{const C=_[O],A=_[P];return typeof C=="object"&&typeof A=="object"?A.receivedAt<C.receivedAt?P:O:A<C?P:O})}},403569:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.Diagnostics=void 0;const e=new Map,r="start",o="end",n="statsig::diagnostics";l.Diagnostics={_getMarkers:f=>e.get(f),_markInitOverallStart:f=>{c(f,a({},r,"overall"))},_markInitOverallEnd:(f,d,h)=>{c(f,a({success:d,error:d?void 0:{name:"InitializeError",message:"Failed to initialize"},evaluationDetails:h},o,"overall"))},_markInitNetworkReqStart:(f,d)=>{c(f,a(d,r,"initialize","network_request"))},_markInitNetworkReqEnd:(f,d)=>{c(f,a(d,o,"initialize","network_request"))},_markInitProcessStart:f=>{c(f,a({},r,"initialize","process"))},_markInitProcessEnd:(f,d)=>{c(f,a(d,o,"initialize","process"))},_clearMarkers:f=>{e.delete(f)},_formatError(f){if(f&&typeof f=="object")return{code:u(f,"code"),name:u(f,"name"),message:u(f,"message")}},_getDiagnosticsData(f,d,h,g){var _;return{success:(f==null?void 0:f.ok)===!0,statusCode:f==null?void 0:f.status,sdkRegion:(_=f==null?void 0:f.headers)===null||_===void 0?void 0:_.get("x-statsig-region"),isDelta:h.includes('"is_delta":true')===!0?!0:void 0,attempt:d,error:l.Diagnostics._formatError(g)}},_enqueueDiagnosticsEvent(f,d,h,g){const _=l.Diagnostics._getMarkers(h);if(_==null||_.length<=0)return;l.Diagnostics._clearMarkers(h);const p=i(f,{context:"initialize",markers:_.slice(),statsigOptions:g});d.enqueue(p)}};function a(f,d,h,g){return Object.assign({key:h,action:d,step:g,timestamp:Date.now()},f)}function i(f,d){return{eventName:n,user:f,value:null,metadata:d,time:Date.now()}}function c(f,d){var h;const g=(h=e.get(f))!==null&&h!==void 0?h:[];g.push(d),e.set(f,g)}function u(f,d){if(d in f)return f[d]}},427557:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},590227:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(d,h,g,_){function p(y){return y instanceof g?y:new g(function(O){O(y)})}return new(g||(g=Promise))(function(y,O){function P(S){try{A(_.next(S))}catch(T){O(T)}}function C(S){try{A(_.throw(S))}catch(T){O(T)}}function A(S){S.done?y(S.value):p(S.value).then(P,C)}A((_=_.apply(d,h||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l.ErrorBoundary=l.EXCEPTION_ENDPOINT=void 0;const o=e(735634),n=e(289241),a=e(33177);l.EXCEPTION_ENDPOINT="https://statsigapi.net/v1/sdk_exception";const i="[Statsig] UnknownError";class c{constructor(h,g,_){this._sdkKey=h,this._options=g,this._emitter=_,this._seen=new Set}wrap(h){try{const g=h;f(g).forEach(_=>{const p=g[_];"$EB"in p||(g[_]=(...y)=>this._capture(_,()=>p.apply(h,y)),g[_].$EB=!0)})}catch(g){this._onError("eb:wrap",g)}}logError(h,g){this._onError(h,g)}_capture(h,g){try{const _=g();return _&&_ instanceof Promise?_.catch(p=>this._onError(h,p)):_}catch(_){return this._onError(h,_),null}}_onError(h,g){try{o.Log.warn(`Caught error in ${h}`,{error:g}),r(this,void 0,void 0,function*(){var p,y,O,P,C,A,S;const T=g||Error(i),s=T instanceof Error,v=s?T.name:"No Name";if(this._seen.has(v))return;if(this._seen.add(v),!((y=(p=this._options)===null||p===void 0?void 0:p.networkConfig)===null||y===void 0)&&y.preventAllNetworkTraffic){(O=this._emitter)===null||O===void 0||O.call(this,{name:"error",error:g});return}const m=n.SDKType._get(this._sdkKey),E=a.StatsigMetadataProvider.get(),I=s?T.stack:u(T),L=JSON.stringify(Object.assign({tag:h,exception:v,info:I},Object.assign(Object.assign({},E),{sdkType:m})));yield((A=(C=(P=this._options)===null||P===void 0?void 0:P.networkConfig)===null||C===void 0?void 0:C.networkOverrideFunc)!==null&&A!==void 0?A:fetch)(l.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(m),"STATSIG-SDK-VERSION":String(E.sdkVersion),"Content-Type":"application/json"},body:L}),(S=this._emitter)===null||S===void 0||S.call(this,{name:"error",error:g})}).then(()=>{}).catch(()=>{})}catch{}}}l.ErrorBoundary=c;function u(d){try{return JSON.stringify(d)}catch{return i}}function f(d){const h=new Set;let g=Object.getPrototypeOf(d);for(;g&&g!==Object.prototype;)Object.getOwnPropertyNames(g).filter(_=>typeof(g==null?void 0:g[_])=="function").forEach(_=>h.add(_)),g=Object.getPrototypeOf(g);return Array.from(h)}},809459:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},257412:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},796673:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(T,s,v,m){function E(I){return I instanceof v?I:new v(function(L){L(I)})}return new(v||(v=Promise))(function(I,L){function W(k){try{G(m.next(k))}catch(x){L(x)}}function F(k){try{G(m.throw(k))}catch(x){L(x)}}function G(k){k.done?I(k.value):E(k.value).then(W,F)}G((m=m.apply(T,s||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l.EventLogger=void 0;const o=e(376127),n=e(260159),a=e(735634),i=e(329548),c=e(71673),u=e(828409),f=e(404024),d=e(870440),h=e(824463),g=50,_=1e4,p=1e3,y=6e4,O=500,P=200,C={},A=T=>{var s;(s=C[T])===null||s===void 0||s.flush().catch(()=>{})};class S{constructor(s,v,m,E){var I;this._sdkKey=s,this._emitter=v,this._network=m,this._options=E,this._queue=[],this._lastExposureTimeMap={},this._nonExposedChecks={},this._hasRunQuickFlush=!1,this._creationTime=Date.now(),this._isLoggingDisabled=(E==null?void 0:E.disableLogging)===!0,this._maxQueueSize=(I=E==null?void 0:E.loggingBufferMaxSize)!==null&&I!==void 0?I:g;const L=E==null?void 0:E.networkConfig;this._logEventUrl=(0,d._getOverridableUrl)(L==null?void 0:L.logEventUrl,L==null?void 0:L.api,"/rgstr",i.NetworkDefault.eventsApi)}setLoggingDisabled(s){this._isLoggingDisabled=s}enqueue(s){this._shouldLogEvent(s)&&(this._normalizeAndAppendEvent(s),this._quickFlushIfNeeded(),this._queue.length>this._maxQueueSize&&A(this._sdkKey))}incrementNonExposureCount(s){var v;const m=(v=this._nonExposedChecks[s])!==null&&v!==void 0?v:0;this._nonExposedChecks[s]=m+1}reset(){this._lastExposureTimeMap={}}start(){(0,c._isServerEnv)()||(C[this._sdkKey]=this,(0,h._subscribeToVisiblityChanged)(s=>{s==="background"&&A(this._sdkKey)}),this._retryFailedLogs(),this._startBackgroundFlushInterval())}stop(){return r(this,void 0,void 0,function*(){this._flushIntervalId&&(clearInterval(this._flushIntervalId),this._flushIntervalId=null),yield this.flush()})}flush(){return r(this,void 0,void 0,function*(){if(this._appendAndResetNonExposedChecks(),this._queue.length===0)return;const s=this._queue;return this._queue=[],this._sendEvents(s)})}_quickFlushIfNeeded(){this._hasRunQuickFlush||(this._hasRunQuickFlush=!0,!(Date.now()-this._creationTime>P)&&setTimeout(()=>A(this._sdkKey),P))}_shouldLogEvent(s){if((0,c._isServerEnv)())return!1;if(!(0,u._isExposureEvent)(s))return!0;const v=s.user?s.user:{statsigEnvironment:void 0},m=(0,o._getUserStorageKey)(this._sdkKey,v),E=s.metadata?s.metadata:{},I=[s.eventName,m,E.gate,E.config,E.ruleID].join("|"),L=this._lastExposureTimeMap[I],W=Date.now();return L&&W-L<y?!1:(Object.keys(this._lastExposureTimeMap).length>p&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[I]=W,!0)}_sendEvents(s){var v,m;return r(this,void 0,void 0,function*(){if(this._isLoggingDisabled){this._saveFailedLogsToStorage(s);return}try{(!(0,h._isCurrentlyVisible)()&&this._network.isBeaconSupported()&&((m=(v=this._options)===null||v===void 0?void 0:v.networkConfig)===null||m===void 0?void 0:m.networkOverrideFunc)==null?yield this._sendEventsViaBeacon(s):yield this._sendEventsViaPost(s)).success?this._emitter({name:"logs_flushed",events:s}):this._saveFailedLogsToStorage(s)}catch{a.Log.warn("Failed to flush events.")}})}_sendEventsViaPost(s){var v;return r(this,void 0,void 0,function*(){const m=yield this._network.post(this._getRequestData(s)),E=(v=m==null?void 0:m.code)!==null&&v!==void 0?v:-1;return{success:E>=200&&E<300}})}_sendEventsViaBeacon(s){return r(this,void 0,void 0,function*(){return{success:yield this._network.beacon(this._getRequestData(s))}})}_getRequestData(s){return{sdkKey:this._sdkKey,data:{events:s},url:this._logEventUrl,retries:3,isCompressable:!0,params:{[i.NetworkParam.EventCount]:String(s.length)}}}_saveFailedLogsToStorage(s){for(;s.length>O;)s.shift();const v=this._getStorageKey();try{(0,f._setObjectInStorage)(v,s)}catch{a.Log.warn("Unable to save failed logs to storage")}}_retryFailedLogs(){const s=this._getStorageKey();r(this,void 0,void 0,function*(){f.Storage.isReady()||(yield f.Storage.isReadyResolver());const v=(0,f._getObjectFromStorage)(s);v&&(f.Storage.removeItem(s),yield this._sendEvents(v))}).catch(()=>{a.Log.warn("Failed to flush stored logs")})}_getStorageKey(){return`statsig.failed_logs.${(0,n._DJB2)(this._sdkKey)}`}_normalizeAndAppendEvent(s){s.user&&(s.user=Object.assign({},s.user),delete s.user.privateAttributes);const v={},m=this._getCurrentPageUrl();m&&(v.statsigMetadata={currentPage:m});const E=Object.assign(Object.assign({},s),v);a.Log.debug("Enqueued Event:",E),this._queue.push(E)}_appendAndResetNonExposedChecks(){Object.keys(this._nonExposedChecks).length!==0&&(this._normalizeAndAppendEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Object.assign({},this._nonExposedChecks)}}),this._nonExposedChecks={})}_getCurrentPageUrl(){var s;if(((s=this._options)===null||s===void 0?void 0:s.includeCurrentPageUrlWithEvents)!==!1)return(0,c._getCurrentPageUrlSafe)()}_startBackgroundFlushInterval(){var s,v;const m=(v=(s=this._options)===null||s===void 0?void 0:s.loggingIntervalMs)!==null&&v!==void 0?v:_,E=setInterval(()=>{C[this._sdkKey]._flushIntervalId!==E?clearInterval(E):A(this._sdkKey)},m);this._flushIntervalId=E}}l.EventLogger=S},260159:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._getSortedObject=l._DJB2Object=l._DJB2=void 0;const r=e(146240),o=i=>{let c=0;for(let u=0;u<i.length;u++){const f=i.charCodeAt(u);c=(c<<5)-c+f,c=c&c}return String(c>>>0)};l._DJB2=o;const n=(i,c)=>(0,l._DJB2)(JSON.stringify((0,l._getSortedObject)(i,c)));l._DJB2Object=n;const a=(i,c)=>{if(i==null)return null;const u=Object.keys(i).sort(),f={};return u.forEach(d=>{const h=i[d];if(c===0||(0,r._typeOf)(h)!=="object"){f[d]=h;return}f[d]=(0,l._getSortedObject)(h,c!=null?c-1:c)}),f};l._getSortedObject=a},88468:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},735634:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.Log=l.LogLevel=void 0;const e=" DEBUG ",r="  INFO ",o="  WARN ",n=" ERROR ";function a(u){return u.unshift("[Statsig]"),u}var i;(function(u){u[u.None=0]="None",u[u.Error=1]="Error",u[u.Warn=2]="Warn",u[u.Info=3]="Info",u[u.Debug=4]="Debug"})(i||(l.LogLevel=i={}));class c{static info(...f){this.level>=i.Info&&console.info("\x1B[34m%s\x1B[0m",r,...a(f))}static debug(...f){this.level>=i.Debug&&console.debug("\x1B[32m%s\x1B[0m",e,...a(f))}static warn(...f){this.level>=i.Warn&&console.warn("\x1B[33m%s\x1B[0m",o,...a(f))}static error(...f){this.level>=i.Error&&console.error("\x1B[31m%s\x1B[0m",n,...a(f))}}l.Log=c,c.level=i.Warn},329548:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.NetworkParam=l.NetworkDefault=void 0,l.NetworkDefault={eventsApi:"https://prodregistryv2.org/v1",initializeApi:"https://featureassets.org/v1",specsApi:"https://assetsconfigcdn.org/v1"};var e;(function(r){r.EventCount="ec",r.SdkKey="k",r.SdkType="st",r.SdkVersion="sv",r.Time="t",r.SessionID="sid",r.StatsigEncoded="se",r.IsGzipped="gz"})(e||(l.NetworkParam=e={}))},253768:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(C,A,S,T){function s(v){return v instanceof S?v:new S(function(m){m(v)})}return new(S||(S=Promise))(function(v,m){function E(W){try{L(T.next(W))}catch(F){m(F)}}function I(W){try{L(T.throw(W))}catch(F){m(F)}}function L(W){W.done?v(W.value):s(W.value).then(E,I)}L((T=T.apply(C,A||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l.NetworkCore=void 0,e(852235);const o=e(852235),n=e(403569),a=e(735634),i=e(329548),c=e(289241),u=e(71673),f=e(167238),d=e(572194),h=e(33177),g=e(824463),_=1e4,p=new Set([408,500,502,503,504,522,524,599]);class y{constructor(A,S){this._emitter=S,this._timeout=_,this._netConfig={},this._options={},A&&(this._options=A),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs)}post(A){return r(this,void 0,void 0,function*(){let S=yield this._getPopulatedBody(A);return A.isStatsigEncodable&&(S=this._attemptToEncodeString(A,S)),this._sendRequest(Object.assign({method:"POST",body:S},A))})}get(A){return this._sendRequest(Object.assign({method:"GET"},A))}isBeaconSupported(){return typeof navigator<"u"&&typeof navigator.sendBeacon=="function"}beacon(A){return r(this,void 0,void 0,function*(){if(!O(A))return!1;const S=yield this._getPopulatedBody(A),T=yield this._getPopulatedURL(A),s=navigator;return s.sendBeacon.bind(s)(T,S)})}_sendRequest(A){var S,T,s;return r(this,void 0,void 0,function*(){if(!O(A)||this._netConfig.preventAllNetworkTraffic)return null;const{method:v,body:m,retries:E,attempt:I}=A,L=I??1,W=typeof AbortController<"u"?new AbortController:null,F=setTimeout(()=>W==null?void 0:W.abort(`Timeout of ${this._timeout}ms expired.`),this._timeout),G=yield this._getPopulatedURL(A);let k=null;const x=(0,g._isUnloading)();try{const M={method:v,body:m,headers:Object.assign({},A.headers),signal:W==null?void 0:W.signal,priority:A.priority,keepalive:x};if(A.isInitialize&&n.Diagnostics._markInitNetworkReqStart(A.sdkKey,{attempt:L}),k=yield((S=this._netConfig.networkOverrideFunc)!==null&&S!==void 0?S:fetch)(G,M),clearTimeout(F),!k.ok){const U=yield k.text().catch(()=>"No Text"),j=new Error(`NetworkError: ${G} ${U}`);throw j.name="NetworkError",j}const R=yield k.text();return A.isInitialize&&n.Diagnostics._markInitNetworkReqEnd(A.sdkKey,n.Diagnostics._getDiagnosticsData(k,L,R)),{body:R,code:k.status}}catch(M){const B=P(W,M);return A.isInitialize&&n.Diagnostics._markInitNetworkReqEnd(A.sdkKey,n.Diagnostics._getDiagnosticsData(k,L,"",M)),!E||L>E||!p.has((T=k==null?void 0:k.status)!==null&&T!==void 0?T:500)?((s=this._emitter)===null||s===void 0||s.call(this,{name:"error",error:M}),a.Log.error(`A networking error occured during ${v} request to ${G}.`,B,M),null):this._sendRequest(Object.assign(Object.assign({},A),{retries:E,attempt:L+1}))}})}_getPopulatedURL(A){return r(this,void 0,void 0,function*(){const S=Object.assign({[i.NetworkParam.SdkKey]:A.sdkKey,[i.NetworkParam.SdkType]:c.SDKType._get(A.sdkKey),[i.NetworkParam.SdkVersion]:h.SDK_VERSION,[i.NetworkParam.Time]:String(Date.now()),[i.NetworkParam.SessionID]:yield f.SessionID.get(A.sdkKey)},A.params),T=Object.keys(S).map(s=>`${encodeURIComponent(s)}=${encodeURIComponent(S[s])}`).join("&");return`${A.url}${T?`?${T}`:""}`})}_getPopulatedBody(A){return r(this,void 0,void 0,function*(){const{data:S,sdkKey:T}=A,s=d.StableID.get(T),v=f.SessionID.get(T),m=c.SDKType._get(T);return JSON.stringify(Object.assign(Object.assign({},S),{statsigMetadata:Object.assign(Object.assign({},h.StatsigMetadataProvider.get()),{stableID:s,sessionID:v,sdkType:m})}))})}_attemptToEncodeString(A,S){var T,s;const v=(0,u._getWindowSafe)();if(!A.isStatsigEncodable||this._options.disableStatsigEncoding||(0,o._getStatsigGlobalFlag)("no-encode")!=null||!(v!=null&&v.btoa))return S;try{const m=(T=v.btoa(S).split("").reverse().join(""))!==null&&T!==void 0?T:S;return A.params=Object.assign(Object.assign({},(s=A.params)!==null&&s!==void 0?s:{}),{[i.NetworkParam.StatsigEncoded]:"1"}),m}catch{return a.Log.warn("/initialize request encoding failed"),S}}}l.NetworkCore=y;const O=C=>C.sdkKey?!0:(a.Log.warn("Unable to make request without an SDK key"),!1);function P(C,A){return C!=null&&C.signal.aborted&&typeof C.signal.reason=="string"?C.signal.reason:typeof A=="string"?A:A instanceof Error?`${A.name}: ${A.message}`:"Unknown Error"}},964043:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},521278:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},289241:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.SDKType=void 0;const e={};let r;l.SDKType={_get:o=>{var n;return((n=e[o])!==null&&n!==void 0?n:"js-mono")+(r??"")},_setClientType(o,n){e[o]=n},_setBindingType(o){(!r||r==="-react")&&(r="-"+o)}}},71673:function(b,l,e){"use strict";var r=e(760636);Object.defineProperty(l,"__esModule",{value:!0}),l._getCurrentPageUrlSafe=l._addDocumentEventListenerSafe=l._addWindowEventListenerSafe=l._isServerEnv=l._getDocumentSafe=l._getWindowSafe=void 0;const o=()=>typeof window<"u"?window:null;l._getWindowSafe=o;const n=()=>{var f;const d=(0,l._getWindowSafe)();return(f=d==null?void 0:d.document)!==null&&f!==void 0?f:null};l._getDocumentSafe=n;const a=()=>{if((0,l._getDocumentSafe)()!==null)return!1;const f=typeof r<"u"&&r.versions!=null&&r.versions.node!=null;return typeof EdgeRuntime=="string"||f};l._isServerEnv=a;const i=(f,d)=>{const h=(0,l._getWindowSafe)();typeof(h==null?void 0:h.addEventListener)=="function"&&h.addEventListener(f,d)};l._addWindowEventListenerSafe=i;const c=(f,d)=>{const h=(0,l._getDocumentSafe)();typeof(h==null?void 0:h.addEventListener)=="function"&&h.addEventListener(f,d)};l._addDocumentEventListenerSafe=c;const u=()=>{var f;try{return(f=(0,l._getWindowSafe)())===null||f===void 0?void 0:f.location.href.split(/[?#]/)[0]}catch{return}};l._getCurrentPageUrlSafe=u},167238:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.StatsigSession=l.SessionID=void 0;const r=e(376127),o=e(735634),n=e(404024),a=e(320340),i=30*60*1e3,c=4*60*60*1e3,u={};l.SessionID={get:C=>l.StatsigSession.get(C).data.sessionID},l.StatsigSession={get:C=>{u[C]==null&&(u[C]=f(C));const A=u[C];return h(A)},overrideInitialSessionID:(C,A)=>{u[A]=d(C,A)}};function f(C){let A=P(C);const S=Date.now();return A||(A={sessionID:(0,a.getUUID)(),startTime:S,lastUpdate:S}),{data:A,sdkKey:C}}function d(C,A){const S=Date.now();return{data:{sessionID:C,startTime:S,lastUpdate:S},sdkKey:A}}function h(C){const A=Date.now(),S=C.data;(_(S)||p(S))&&(S.sessionID=(0,a.getUUID)(),S.startTime=A),S.lastUpdate=A,O(S,C.sdkKey),clearTimeout(C.idleTimeoutID),clearTimeout(C.ageTimeoutID);const T=A-S.startTime,s=C.sdkKey;return C.idleTimeoutID=g(s,i),C.ageTimeoutID=g(s,c-T),C}function g(C,A){return setTimeout(()=>{const S=__STATSIG__==null?void 0:__STATSIG__.instance(C);S&&S.$emt({name:"session_expired"})},A)}function _({lastUpdate:C}){return Date.now()-C>i}function p({startTime:C}){return Date.now()-C>c}function y(C){return`statsig.session_id.${(0,r._getStorageKey)(C)}`}function O(C,A){const S=y(A);try{(0,n._setObjectInStorage)(S,C)}catch{o.Log.warn("Failed to save SessionID")}}function P(C){const A=y(C);return(0,n._getObjectFromStorage)(A)}},572194:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.StableID=void 0;const r=e(376127),o=e(735634),n=e(404024),a=e(320340),i={};l.StableID={get:d=>{if(i[d]==null){let h=f(d);h==null&&(h=(0,a.getUUID)(),u(h,d)),i[d]=h}return i[d]},setOverride:(d,h)=>{i[h]=d,u(d,h)}};function c(d){return`statsig.stable_id.${(0,r._getStorageKey)(d)}`}function u(d,h){const g=c(h);try{(0,n._setObjectInStorage)(g,d)}catch{o.Log.warn("Failed to save StableID")}}function f(d){const h=c(d);return(0,n._getObjectFromStorage)(h)}},282334:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(h,g,_,p){function y(O){return O instanceof _?O:new _(function(P){P(O)})}return new(_||(_=Promise))(function(O,P){function C(T){try{S(p.next(T))}catch(s){P(s)}}function A(T){try{S(p.throw(T))}catch(s){P(s)}}function S(T){T.done?O(T.value):y(T.value).then(C,A)}S((p=p.apply(h,g||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l.StatsigClientBase=void 0,e(852235);const o=e(852235),n=e(590227),a=e(796673),i=e(735634),c=e(71673),u=e(167238),f=e(404024);class d{constructor(g,_,p,y){var O,P;this.loadingStatus="Uninitialized",this._listeners={};const C=this.$emt.bind(this);if((y==null?void 0:y.logLevel)!=null&&(i.Log.level=y.logLevel),y!=null&&y.disableStorage&&f.Storage._setDisabled(!0),y!=null&&y.initialSessionID&&u.StatsigSession.overrideInitialSessionID(y.initialSessionID,g),y!=null&&y.storageProvider&&f.Storage._setProvider(y.storageProvider),this._sdkKey=g,this._options=y??{},this.overrideAdapter=(O=y==null?void 0:y.overrideAdapter)!==null&&O!==void 0?O:null,this._logger=new a.EventLogger(g,C,p,y),this._errorBoundary=new n.ErrorBoundary(g,y,C),this._errorBoundary.wrap(this),this._errorBoundary.wrap(p),this._errorBoundary.wrap(_),this._errorBoundary.wrap(this._logger),!(0,c._isServerEnv)()){const A=(0,o._getStatsigGlobal)(),S=(P=A.instances)!==null&&P!==void 0?P:{},T=this;S[g]!=null&&i.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys."),S[g]=T,A.lastInstance=T,A.instances=S,__STATSIG__=A}this.dataAdapter=_,this.dataAdapter.attach(g,y),this.storageProvider=f.Storage,this._primeReadyRipcord()}updateRuntimeOptions(g){g.disableLogging!=null&&(this._options.disableLogging=g.disableLogging,this._logger.setLoggingDisabled(g.disableLogging)),g.disableStorage!=null&&(this._options.disableStorage=g.disableStorage,f.Storage._setDisabled(g.disableStorage))}flush(){return this._logger.flush()}shutdown(){return r(this,void 0,void 0,function*(){this.$emt({name:"pre_shutdown"}),yield this._logger.stop()})}on(g,_){this._listeners[g]||(this._listeners[g]=[]),this._listeners[g].push(_)}off(g,_){if(this._listeners[g]){const p=this._listeners[g].indexOf(_);p!==-1&&this._listeners[g].splice(p,1)}}$on(g,_){_.__isInternal=!0,this.on(g,_)}$emt(g){var _;const p=y=>{try{y(g)}catch(O){if(y.__isInternal===!0){this._errorBoundary.logError(`__emit:${g.name}`,O);return}i.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",g)}};this._listeners[g.name]&&this._listeners[g.name].forEach(y=>p(y)),(_=this._listeners["*"])===null||_===void 0||_.forEach(p)}_setStatus(g,_){this.loadingStatus=g,this.$emt({name:"values_updated",status:g,values:_})}_enqueueExposure(g,_,p){if((p==null?void 0:p.disableExposureLog)===!0){this._logger.incrementNonExposureCount(g);return}this._logger.enqueue(_)}}l.StatsigClientBase=d},663626:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},575174:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.DataAdapterCachePrefix=void 0,l.DataAdapterCachePrefix="statsig.cached"},828409:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._createLayerParameterExposure=l._createConfigExposure=l._createGateExposure=l._isExposureEvent=void 0;const e="statsig::config_exposure",r="statsig::gate_exposure",o="statsig::layer_exposure",n=(d,h,g,_,p)=>({eventName:d,user:h,value:null,metadata:f(g,_),secondaryExposures:p,time:Date.now()}),a=({eventName:d})=>d===r||d===e;l._isExposureEvent=a;const i=(d,h)=>{var g,_;return n(r,d,h.details,{gate:h.name,gateValue:String(h.value),ruleID:h.ruleID},(_=(g=h.__evaluation)===null||g===void 0?void 0:g.secondary_exposures)!==null&&_!==void 0?_:[])};l._createGateExposure=i;const c=(d,h)=>{var g,_;return n(e,d,h.details,{config:h.name,ruleID:h.ruleID},(_=(g=h.__evaluation)===null||g===void 0?void 0:g.secondary_exposures)!==null&&_!==void 0?_:[])};l._createConfigExposure=c;const u=(d,h,g)=>{var _,p,y;const O=h.__evaluation,P=((_=O==null?void 0:O.explicit_parameters)===null||_===void 0?void 0:_.includes(g))===!0;let C="",A=(p=O==null?void 0:O.undelegated_secondary_exposures)!==null&&p!==void 0?p:[];return P&&(C=(y=O.allocated_experiment_name)!==null&&y!==void 0?y:"",A=O.secondary_exposures),n(o,d,h.details,{config:h.name,parameterName:g,ruleID:h.ruleID,allocatedExperiment:C,isExplicitParameter:String(P)},A)};l._createLayerParameterExposure=u;const f=(d,h)=>(h.reason=d.reason,d.lcut&&(h.lcut=String(d.lcut)),d.receivedAt&&(h.receivedAt=String(d.receivedAt)),h)},33177:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.StatsigMetadataProvider=l.SDK_VERSION=void 0,l.SDK_VERSION="3.0.0";let e={sdkVersion:l.SDK_VERSION,sdkType:"js-mono"};l.StatsigMetadataProvider={get:()=>e,add:r=>{e=Object.assign(Object.assign({},e),r)}}},760033:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},247517:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._makeTypedGet=l._mergeOverride=l._makeLayer=l._makeExperiment=l._makeDynamicConfig=l._makeFeatureGate=void 0;const r=e(146240),o="default";function n(h,g,_,p){var y;return{name:h,details:g,ruleID:(y=_==null?void 0:_.rule_id)!==null&&y!==void 0?y:o,__evaluation:_,value:p}}function a(h,g,_){return n(h,g,_,(_==null?void 0:_.value)===!0)}l._makeFeatureGate=a;function i(h,g,_){var p;const y=(p=_==null?void 0:_.value)!==null&&p!==void 0?p:{};return Object.assign(Object.assign({},n(h,g,_,y)),{get:d(_==null?void 0:_.value)})}l._makeDynamicConfig=i;function c(h,g,_){var p;const y=i(h,g,_);return Object.assign(Object.assign({},y),{groupName:(p=_==null?void 0:_.group_name)!==null&&p!==void 0?p:null})}l._makeExperiment=c;function u(h,g,_,p){var y,O;return Object.assign(Object.assign({},n(h,g,_,void 0)),{get:d(_==null?void 0:_.value,p),groupName:(y=_==null?void 0:_.group_name)!==null&&y!==void 0?y:null,__value:(O=_==null?void 0:_.value)!==null&&O!==void 0?O:{}})}l._makeLayer=u;function f(h,g,_,p){return Object.assign(Object.assign(Object.assign({},h),g),{get:d(_,p)})}l._mergeOverride=f;function d(h,g){return(_,p)=>{var y;const O=(y=h==null?void 0:h[_])!==null&&y!==void 0?y:null;return O==null||p!=null&&!(0,r._isTypeMatch)(O,p)?p??null:(g==null||g(_),O)}}l._makeTypedGet=d},906535:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},999851:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._getFullUserHash=l._normalizeUser=void 0;const r=e(260159),o=e(735634);function n(i,c){try{const u=JSON.parse(JSON.stringify(i));return c!=null&&c.environment!=null&&(u.statsigEnvironment=c.environment),u}catch{return o.Log.error("Failed to JSON.stringify user"),{statsigEnvironment:void 0}}}l._normalizeUser=n;function a(i){return i?(0,r._DJB2Object)(i):null}l._getFullUserHash=a},404024:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._setObjectInStorage=l._getObjectFromStorage=l.Storage=void 0;const r=e(735634),o=e(71673),n={},a={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"InMemory",getItem:g=>n[g]?n[g]:null,setItem:(g,_)=>{n[g]=_},removeItem:g=>{delete n[g]},getAllKeys:()=>Object.keys(n)};let i=null;try{const g=(0,o._getWindowSafe)();g&&g.localStorage&&typeof g.localStorage.getItem=="function"&&(i={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"LocalStorage",getItem:_=>g.localStorage.getItem(_),setItem:(_,p)=>g.localStorage.setItem(_,p),removeItem:_=>g.localStorage.removeItem(_),getAllKeys:()=>Object.keys(g.localStorage)})}catch{r.Log.warn("Failed to setup localStorageProvider.")}let c=i??a,u=c;function f(g){try{return g()}catch(_){if(_ instanceof Error&&_.name==="SecurityError")return l.Storage._setProvider(a),null;throw _}}l.Storage={isReady:()=>u.isReady(),isReadyResolver:()=>u.isReadyResolver(),getProviderName:()=>u.getProviderName(),getItem:g=>f(()=>u.getItem(g)),setItem:(g,_)=>u.setItem(g,_),removeItem:g=>u.removeItem(g),getAllKeys:()=>u.getAllKeys(),_setProvider:g=>{c=g,u=g},_setDisabled:g=>{g?u=a:u=c}};function d(g){const _=l.Storage.getItem(g);return JSON.parse(_??"null")}l._getObjectFromStorage=d;function h(g,_){l.Storage.setItem(g,JSON.stringify(_))}l._setObjectInStorage=h},414445:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._typedJsonParse=void 0;const r=e(735634);function o(n,a,i){try{const c=JSON.parse(n);return typeof c=="object"&&a in c,c}catch{}return r.Log.error(`Failed to parse ${i}`),null}l._typedJsonParse=o},146240:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._isTypeMatch=l._typeOf=void 0;function e(o){return Array.isArray(o)?"array":typeof o}l._typeOf=e;function r(o,n){const a=i=>Array.isArray(i)?"array":typeof i;return a(o)===a(n)}l._isTypeMatch=r},320340:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getUUID=void 0;function e(){if(typeof crypto<"u"&&typeof crypto.randomUUID=="function")return crypto.randomUUID();let r=new Date().getTime(),o=typeof performance<"u"&&performance.now&&performance.now()*1e3||0;return`xxxxxxxx-xxxx-4xxx-${"89ab"[Math.floor(Math.random()*4)]}xxx-xxxxxxxxxxxx`.replace(/[xy]/g,a=>{let i=Math.random()*16;return r>0?(i=(r+i)%16|0,r=Math.floor(r/16)):(i=(o+i)%16|0,o=Math.floor(o/16)),(a==="x"?i:i&7|8).toString(16)})}l.getUUID=e},870440:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._getOverridableUrl=void 0;function e(r,o,n,a){return r||(o?`${o}${n}`:`${a}${n}`)}l._getOverridableUrl=e},824463:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._notifyVisibilityChanged=l._subscribeToVisiblityChanged=l._isUnloading=l._isCurrentlyVisible=void 0;const r=e(71673),o="foreground",n="background",a=[];let i=o,c=!1;const u=()=>i===o;l._isCurrentlyVisible=u;const f=()=>c;l._isUnloading=f;const d=g=>{a.unshift(g)};l._subscribeToVisiblityChanged=d;const h=g=>{g!==i&&(i=g,a.forEach(_=>_(g)))};l._notifyVisibilityChanged=h,(0,r._addWindowEventListenerSafe)("focus",()=>{c=!1,(0,l._notifyVisibilityChanged)(o)}),(0,r._addWindowEventListenerSafe)("blur",()=>(0,l._notifyVisibilityChanged)(n)),(0,r._addWindowEventListenerSafe)("beforeunload",()=>{c=!0,(0,l._notifyVisibilityChanged)(n)}),(0,r._addDocumentEventListenerSafe)("visibilitychange",()=>{(0,l._notifyVisibilityChanged)(document.visibilityState==="visible"?o:n)})},463338:function(b,l,e){"use strict";var r=this&&this.__createBinding||(Object.create?function(f,d,h,g){g===void 0&&(g=h);var _=Object.getOwnPropertyDescriptor(d,h);(!_||("get"in _?!d.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return d[h]}}),Object.defineProperty(f,g,_)}:function(f,d,h,g){g===void 0&&(g=h),f[g]=d[h]}),o=this&&this.__exportStar||function(f,d){for(var h in f)h!=="default"&&!Object.prototype.hasOwnProperty.call(d,h)&&r(d,f,h)};Object.defineProperty(l,"__esModule",{value:!0}),l.Diagnostics=l.Log=l.Storage=l.EventLogger=void 0,e(852235);const n=e(403569);Object.defineProperty(l,"Diagnostics",{enumerable:!0,get:function(){return n.Diagnostics}});const a=e(796673);Object.defineProperty(l,"EventLogger",{enumerable:!0,get:function(){return a.EventLogger}});const i=e(735634);Object.defineProperty(l,"Log",{enumerable:!0,get:function(){return i.Log}});const c=e(33177),u=e(404024);Object.defineProperty(l,"Storage",{enumerable:!0,get:function(){return u.Storage}}),o(e(852235),l),o(e(376127),l),o(e(651790),l),o(e(408589),l),o(e(403569),l),o(e(427557),l),o(e(590227),l),o(e(809459),l),o(e(257412),l),o(e(260159),l),o(e(88468),l),o(e(735634),l),o(e(253768),l),o(e(329548),l),o(e(964043),l),o(e(521278),l),o(e(71673),l),o(e(289241),l),o(e(167238),l),o(e(572194),l),o(e(282334),l),o(e(663626),l),o(e(575174),l),o(e(828409),l),o(e(33177),l),o(e(760033),l),o(e(247517),l),o(e(906535),l),o(e(999851),l),o(e(404024),l),o(e(414445),l),o(e(146240),l),o(e(870440),l),o(e(320340),l),o(e(824463),l),__STATSIG__=Object.assign(Object.assign({},__STATSIG__!=null?__STATSIG__:{}),{Log:i.Log,SDK_VERSION:c.SDK_VERSION})},58260:function(b,l,e){"use strict";var r,o,n;Object.defineProperty(l,"__esModule",{value:!0}),l._getInstance=l._getStatsigGlobalFlag=l._getStatsigGlobal=void 0;const a=e(953706),i=()=>__STATSIG__||_;l._getStatsigGlobal=i;const c=p=>(0,l._getStatsigGlobal)()[p];l._getStatsigGlobalFlag=c;const u=p=>{const y=(0,l._getStatsigGlobal)();return p?y.instances&&y.instances[p]:(y.instances&&Object.keys(y.instances).length>1&&a.Log.warn("Call made to Statsig global instance without an SDK key but there is more than one client instance. If you are using mulitple clients, please specify the SDK key."),y.firstInstance)};l._getInstance=u;const f="__STATSIG__",d=typeof window<"u"?window:{},h=typeof e.g<"u"?e.g:{},g=typeof globalThis<"u"?globalThis:{},_=(n=(o=(r=d[f])!==null&&r!==void 0?r:h[f])!==null&&o!==void 0?o:g[f])!==null&&n!==void 0?n:{instance:l._getInstance};d[f]=_,h[f]=_,g[f]=_},328694:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._getStorageKey=l._getUserStorageKey=void 0;const r=e(732975);function o(a,i,c){var u;if(c)return c(a,i);const f=i&&i.customIDs?i.customIDs:{},d=[`uid:${(u=i==null?void 0:i.userID)!==null&&u!==void 0?u:""}`,`cids:${Object.keys(f).sort((h,g)=>h.localeCompare(g)).map(h=>`${h}-${f[h]}`).join(",")}`,`k:${a}`];return(0,r._DJB2)(d.join("|"))}l._getUserStorageKey=o;function n(a,i,c){return i?o(a,i,c):(0,r._DJB2)(`k:${a}`)}l._getStorageKey=n},292889:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},554282:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(_,p,y,O){function P(C){return C instanceof y?C:new y(function(A){A(C)})}return new(y||(y=Promise))(function(C,A){function S(v){try{s(O.next(v))}catch(m){A(m)}}function T(v){try{s(O.throw(v))}catch(m){A(m)}}function s(v){v.done?C(v.value):P(v.value).then(S,T)}s((O=O.apply(_,p||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l._makeDataAdapterResult=l.DataAdapterCore=void 0;const o=e(953706),n=e(256184),a=e(893011),i=e(596838),c=e(989087),u=10;class f{constructor(p,y){this._adapterName=p,this._cacheSuffix=y,this._options=null,this._sdkKey=null,this._lastModifiedStoreKey=`statsig.last_modified_time.${y}`,this._inMemoryCache=new h}attach(p,y,O){this._sdkKey=p,this._options=y}getDataSync(p){const y=p&&(0,a._normalizeUser)(p,this._options),O=this._getCacheKey(y),P=this._inMemoryCache.get(O,y);if(P)return P;const C=this._loadFromCache(O);return C?(this._inMemoryCache.add(O,C),this._inMemoryCache.get(O,y)):null}setData(p,y){const O=y&&(0,a._normalizeUser)(y,this._options),P=this._getCacheKey(O);this._inMemoryCache.add(P,d("Bootstrap",p,null,O))}_getDataAsyncImpl(p,y,O){return r(this,void 0,void 0,function*(){i.Storage.isReady()||(yield i.Storage.isReadyResolver());const P=p??this.getDataSync(y),C=[this._fetchAndPrepFromNetwork(P,y,O)];return O!=null&&O.timeoutMs&&C.push(new Promise(A=>setTimeout(A,O.timeoutMs)).then(()=>(o.Log.debug("Fetching latest value timed out"),null))),yield Promise.race(C)})}_prefetchDataImpl(p,y){return r(this,void 0,void 0,function*(){const O=p&&(0,a._normalizeUser)(p,this._options),P=this._getCacheKey(O),C=yield this._getDataAsyncImpl(null,O,y);C&&this._inMemoryCache.add(P,Object.assign(Object.assign({},C),{source:"Prefetch"}))})}_fetchAndPrepFromNetwork(p,y,O){var P;return r(this,void 0,void 0,function*(){const C=(P=p==null?void 0:p.data)!==null&&P!==void 0?P:null,A=p!=null&&this._isCachedResultValidFor204(p,y),S=yield this._fetchFromNetwork(C,y,O,A);if(!S)return o.Log.debug("No response returned for latest value"),null;const T=(0,c._typedJsonParse)(S,"has_updates","Response"),s=this._getSdkKey(),v=n.StableID.get(s);let m=null;if((T==null?void 0:T.has_updates)===!0)m=d("Network",S,v,y);else if(C&&(T==null?void 0:T.has_updates)===!1)m=d("NetworkNotModified",C,v,y);else return null;const E=this._getCacheKey(y);return this._inMemoryCache.add(E,m),this._writeToCache(E,m),m})}_getSdkKey(){return this._sdkKey!=null?this._sdkKey:(o.Log.error(`${this._adapterName} is not attached to a Client`),"")}_loadFromCache(p){var y;const O=(y=i.Storage.getItem)===null||y===void 0?void 0:y.call(i.Storage,p);if(O==null)return null;const P=(0,c._typedJsonParse)(O,"source","Cached Result");return P?Object.assign(Object.assign({},P),{source:"Cache"}):null}_writeToCache(p,y){i.Storage.setItem(p,JSON.stringify(y)),this._runLocalStorageCacheEviction(p)}_runLocalStorageCacheEviction(p){var y;const O=(y=(0,i._getObjectFromStorage)(this._lastModifiedStoreKey))!==null&&y!==void 0?y:{};O[p]=Date.now();const P=g(O,u);P&&(delete O[P],i.Storage.removeItem(P)),(0,i._setObjectInStorage)(this._lastModifiedStoreKey,O)}}l.DataAdapterCore=f;function d(_,p,y,O){return{source:_,data:p,receivedAt:Date.now(),stableID:y,fullUserHash:(0,a._getFullUserHash)(O)}}l._makeDataAdapterResult=d;class h{constructor(){this._data={}}get(p,y){var O;const P=this._data[p],C=P==null?void 0:P.stableID,A=(O=y==null?void 0:y.customIDs)===null||O===void 0?void 0:O.stableID;return A&&C&&A!==C?(o.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):P}add(p,y){const O=g(this._data,u-1);O&&delete this._data[O],this._data[p]=y}merge(p){this._data=Object.assign(Object.assign({},this._data),p)}}function g(_,p){const y=Object.keys(_);return y.length<=p?null:y.reduce((O,P)=>{const C=_[O],A=_[P];return typeof C=="object"&&typeof A=="object"?A.receivedAt<C.receivedAt?P:O:A<C?P:O})}},782917:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.Diagnostics=void 0;const e=new Map,r="start",o="end",n="statsig::diagnostics";l.Diagnostics={_getMarkers:f=>e.get(f),_markInitOverallStart:f=>{c(f,a({},r,"overall"))},_markInitOverallEnd:(f,d,h)=>{c(f,a({success:d,error:d?void 0:{name:"InitializeError",message:"Failed to initialize"},evaluationDetails:h},o,"overall"))},_markInitNetworkReqStart:(f,d)=>{c(f,a(d,r,"initialize","network_request"))},_markInitNetworkReqEnd:(f,d)=>{c(f,a(d,o,"initialize","network_request"))},_markInitProcessStart:f=>{c(f,a({},r,"initialize","process"))},_markInitProcessEnd:(f,d)=>{c(f,a(d,o,"initialize","process"))},_clearMarkers:f=>{e.delete(f)},_formatError(f){if(f&&typeof f=="object")return{code:u(f,"code"),name:u(f,"name"),message:u(f,"message")}},_getDiagnosticsData(f,d,h,g){var _;return{success:(f==null?void 0:f.ok)===!0,statusCode:f==null?void 0:f.status,sdkRegion:(_=f==null?void 0:f.headers)===null||_===void 0?void 0:_.get("x-statsig-region"),isDelta:h.includes('"is_delta":true')===!0?!0:void 0,attempt:d,error:l.Diagnostics._formatError(g)}},_enqueueDiagnosticsEvent(f,d,h,g){const _=l.Diagnostics._getMarkers(h);if(_==null||_.length<=0)return-1;const p=_[_.length-1].timestamp-_[0].timestamp;l.Diagnostics._clearMarkers(h);const y=i(f,{context:"initialize",markers:_.slice(),statsigOptions:g});return d.enqueue(y),p}};function a(f,d,h,g){return Object.assign({key:h,action:d,step:g,timestamp:Date.now()},f)}function i(f,d){return{eventName:n,user:f,value:null,metadata:d,time:Date.now()}}function c(f,d){var h;const g=(h=e.get(f))!==null&&h!==void 0?h:[];g.push(d),e.set(f,g)}function u(f,d){if(d in f)return f[d]}},461558:function(b,l){"use strict";var e=this&&this.__awaiter||function(u,f,d,h){function g(_){return _ instanceof d?_:new d(function(p){p(_)})}return new(d||(d=Promise))(function(_,p){function y(C){try{P(h.next(C))}catch(A){p(A)}}function O(C){try{P(h.throw(C))}catch(A){p(A)}}function P(C){C.done?_(C.value):g(C.value).then(y,O)}P((h=h.apply(u,f||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l._fetchTxtRecords=void 0;const r=new Uint8Array([0,0,1,0,0,1,0,0,0,0,0,0,13,102,101,97,116,117,114,101,97,115,115,101,116,115,3,111,114,103,0,0,16,0,1]),o="https://cloudflare-dns.com/dns-query",n=["i","e","d"],a=200;function i(u){return e(this,void 0,void 0,function*(){const f=yield u(o,{method:"POST",headers:{"Content-Type":"application/dns-message",Accept:"application/dns-message"},body:r});if(!f.ok){const g=new Error("Failed to fetch TXT records from DNS");throw g.name="DnsTxtFetchError",g}const d=yield f.arrayBuffer(),h=new Uint8Array(d);return c(h)})}l._fetchTxtRecords=i;function c(u){const f=u.findIndex((h,g)=>g<a&&String.fromCharCode(h)==="="&&n.includes(String.fromCharCode(u[g-1])));if(f===-1){const h=new Error("Failed to parse TXT records from DNS");throw h.name="DnsTxtParseError",h}let d="";for(let h=f-1;h<u.length;h++)d+=String.fromCharCode(u[h]);return d.split(",")}},240217:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},946991:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(g,_,p,y){function O(P){return P instanceof p?P:new p(function(C){C(P)})}return new(p||(p=Promise))(function(P,C){function A(s){try{T(y.next(s))}catch(v){C(v)}}function S(s){try{T(y.throw(s))}catch(v){C(v)}}function T(s){s.done?P(s.value):O(s.value).then(A,S)}T((y=y.apply(g,_||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l.ErrorBoundary=l.EXCEPTION_ENDPOINT=void 0;const o=e(953706),n=e(493254),a=e(302799);l.EXCEPTION_ENDPOINT="https://statsigapi.net/v1/sdk_exception";const i="[Statsig] UnknownError";class c{constructor(_,p,y,O){this._sdkKey=_,this._options=p,this._emitter=y,this._lastSeenError=O,this._seen=new Set}wrap(_){try{const p=_;d(p).forEach(y=>{const O=p[y];"$EB"in O||(p[y]=(...P)=>this._capture(y,()=>O.apply(_,P)),p[y].$EB=!0)})}catch(p){this._onError("eb:wrap",p)}}logError(_,p){this._onError(_,p)}getLastSeenErrorAndReset(){const _=this._lastSeenError;return this._lastSeenError=void 0,_??null}attachErrorIfNoneExists(_){this._lastSeenError||(this._lastSeenError=u(_))}_capture(_,p){try{const y=p();return y&&y instanceof Promise?y.catch(O=>this._onError(_,O)):y}catch(y){return this._onError(_,y),null}}_onError(_,p){try{o.Log.warn(`Caught error in ${_}`,{error:p}),r(this,void 0,void 0,function*(){var O,P,C,A,S,T,s;const v=p||Error(i),m=v instanceof Error,E=m?v.name:"No Name",I=u(v);if(this._lastSeenError=I,this._seen.has(E))return;if(this._seen.add(E),!((P=(O=this._options)===null||O===void 0?void 0:O.networkConfig)===null||P===void 0)&&P.preventAllNetworkTraffic){(C=this._emitter)===null||C===void 0||C.call(this,{name:"error",error:p,tag:_});return}const L=n.SDKType._get(this._sdkKey),W=a.StatsigMetadataProvider.get(),F=m?v.stack:f(v),G=Object.assign({tag:_,exception:E,info:F,statsigOptions:h(this._options)},Object.assign(Object.assign({},W),{sdkType:L}));yield((T=(S=(A=this._options)===null||A===void 0?void 0:A.networkConfig)===null||S===void 0?void 0:S.networkOverrideFunc)!==null&&T!==void 0?T:fetch)(l.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(L),"STATSIG-SDK-VERSION":String(W.sdkVersion),"Content-Type":"application/json"},body:JSON.stringify(G)}),(s=this._emitter)===null||s===void 0||s.call(this,{name:"error",error:p,tag:_})}).then(()=>{}).catch(()=>{})}catch{}}}l.ErrorBoundary=c;function u(g){return g instanceof Error?g:typeof g=="string"?new Error(g):new Error("An unknown error occurred.")}function f(g){try{return JSON.stringify(g)}catch{return i}}function d(g){const _=new Set;let p=Object.getPrototypeOf(g);for(;p&&p!==Object.prototype;)Object.getOwnPropertyNames(p).filter(y=>typeof(p==null?void 0:p[y])=="function").forEach(y=>_.add(y)),p=Object.getPrototypeOf(p);return Array.from(_)}function h(g){if(!g)return{};const _={};return Object.entries(g).forEach(([p,y])=>{switch(typeof y){case"number":case"bigint":case"boolean":_[String(p)]=y;break;case"string":y.length<50?_[String(p)]=y:_[String(p)]="set";break;case"object":p==="environment"?_.environment=y:p==="networkConfig"?_.networkConfig=y:_[String(p)]=y!=null?"set":"unset";break;default:}}),_}},441087:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},57438:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},945241:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(T,s,v,m){function E(I){return I instanceof v?I:new v(function(L){L(I)})}return new(v||(v=Promise))(function(I,L){function W(k){try{G(m.next(k))}catch(x){L(x)}}function F(k){try{G(m.throw(k))}catch(x){L(x)}}function G(k){k.done?I(k.value):E(k.value).then(W,F)}G((m=m.apply(T,s||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l.EventLogger=void 0;const o=e(328694),n=e(732975),a=e(953706),i=e(569011),c=e(562970),u=e(497384),f=e(596838),d=e(476355),h=e(917273),g=100,_=1e4,p=1e3,y=6e5,O=500,P=200,C={},A={Startup:"startup",GainedFocus:"gained_focus"};class S{static _safeFlushAndForget(s){var v;(v=C[s])===null||v===void 0||v.flush().catch(()=>{})}static _safeRetryFailedLogs(s){var v;(v=C[s])===null||v===void 0||v._retryFailedLogs(A.GainedFocus)}constructor(s,v,m,E){var I;this._sdkKey=s,this._emitter=v,this._network=m,this._options=E,this._queue=[],this._lastExposureTimeMap={},this._nonExposedChecks={},this._hasRunQuickFlush=!1,this._creationTime=Date.now(),this._isLoggingDisabled=(E==null?void 0:E.disableLogging)===!0,this._maxQueueSize=(I=E==null?void 0:E.loggingBufferMaxSize)!==null&&I!==void 0?I:g;const L=E==null?void 0:E.networkConfig;this._logEventUrlConfig=new d.UrlConfiguration(i.Endpoint._rgstr,L==null?void 0:L.logEventUrl,L==null?void 0:L.api,L==null?void 0:L.logEventFallbackUrls)}setLoggingDisabled(s){this._isLoggingDisabled=s}enqueue(s){this._shouldLogEvent(s)&&(this._normalizeAndAppendEvent(s),this._quickFlushIfNeeded(),this._queue.length>this._maxQueueSize&&S._safeFlushAndForget(this._sdkKey))}incrementNonExposureCount(s){var v;const m=(v=this._nonExposedChecks[s])!==null&&v!==void 0?v:0;this._nonExposedChecks[s]=m+1}reset(){this._lastExposureTimeMap={}}start(){(0,c._isServerEnv)()||(C[this._sdkKey]=this,(0,h._subscribeToVisiblityChanged)(s=>{s==="background"?S._safeFlushAndForget(this._sdkKey):s==="foreground"&&S._safeRetryFailedLogs(this._sdkKey)}),this._retryFailedLogs(A.Startup),this._startBackgroundFlushInterval())}stop(){return r(this,void 0,void 0,function*(){this._flushIntervalId&&(clearInterval(this._flushIntervalId),this._flushIntervalId=null),delete C[this._sdkKey],yield this.flush()})}flush(){return r(this,void 0,void 0,function*(){if(this._appendAndResetNonExposedChecks(),this._queue.length===0)return;const s=this._queue;this._queue=[],yield this._sendEvents(s)})}_quickFlushIfNeeded(){this._hasRunQuickFlush||(this._hasRunQuickFlush=!0,!(Date.now()-this._creationTime>P)&&setTimeout(()=>S._safeFlushAndForget(this._sdkKey),P))}_shouldLogEvent(s){if((0,c._isServerEnv)())return!1;if(!(0,u._isExposureEvent)(s))return!0;const v=s.user?s.user:{statsigEnvironment:void 0},m=(0,o._getUserStorageKey)(this._sdkKey,v),E=s.metadata?s.metadata:{},I=[s.eventName,m,E.gate,E.config,E.ruleID,E.allocatedExperiment,E.parameterName,String(E.isExplicitParameter),E.reason].join("|"),L=this._lastExposureTimeMap[I],W=Date.now();return L&&W-L<y?!1:(Object.keys(this._lastExposureTimeMap).length>p&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[I]=W,!0)}_sendEvents(s){var v,m;return r(this,void 0,void 0,function*(){if(this._isLoggingDisabled)return this._saveFailedLogsToStorage(s),!1;try{const I=(0,h._isUnloading)()&&this._network.isBeaconSupported()&&((m=(v=this._options)===null||v===void 0?void 0:v.networkConfig)===null||m===void 0?void 0:m.networkOverrideFunc)==null;return this._emitter({name:"pre_logs_flushed",events:s}),(I?yield this._sendEventsViaBeacon(s):yield this._sendEventsViaPost(s)).success?(this._emitter({name:"logs_flushed",events:s}),!0):(a.Log.warn("Failed to flush events."),this._saveFailedLogsToStorage(s),!1)}catch{return a.Log.warn("Failed to flush events."),!1}})}_sendEventsViaPost(s){var v;return r(this,void 0,void 0,function*(){const m=yield this._network.post(this._getRequestData(s)),E=(v=m==null?void 0:m.code)!==null&&v!==void 0?v:-1;return{success:E>=200&&E<300}})}_sendEventsViaBeacon(s){return r(this,void 0,void 0,function*(){return{success:yield this._network.beacon(this._getRequestData(s))}})}_getRequestData(s){return{sdkKey:this._sdkKey,data:{events:s},urlConfig:this._logEventUrlConfig,retries:3,isCompressable:!0,params:{[i.NetworkParam.EventCount]:String(s.length)}}}_saveFailedLogsToStorage(s){for(;s.length>O;)s.shift();const v=this._getStorageKey();try{(0,f._setObjectInStorage)(v,s)}catch{a.Log.warn("Unable to save failed logs to storage")}}_retryFailedLogs(s){const v=this._getStorageKey();r(this,void 0,void 0,function*(){f.Storage.isReady()||(yield f.Storage.isReadyResolver());const m=(0,f._getObjectFromStorage)(v);if(!m)return;s===A.Startup&&f.Storage.removeItem(v),(yield this._sendEvents(m))&&s===A.GainedFocus&&f.Storage.removeItem(v)}).catch(()=>{a.Log.warn("Failed to flush stored logs")})}_getStorageKey(){return`statsig.failed_logs.${(0,n._DJB2)(this._sdkKey)}`}_normalizeAndAppendEvent(s){s.user&&(s.user=Object.assign({},s.user),delete s.user.privateAttributes);const v={},m=this._getCurrentPageUrl();m&&(v.statsigMetadata={currentPage:m});const E=Object.assign(Object.assign({},s),v);a.Log.debug("Enqueued Event:",E),this._queue.push(E)}_appendAndResetNonExposedChecks(){Object.keys(this._nonExposedChecks).length!==0&&(this._normalizeAndAppendEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Object.assign({},this._nonExposedChecks)}}),this._nonExposedChecks={})}_getCurrentPageUrl(){var s;if(((s=this._options)===null||s===void 0?void 0:s.includeCurrentPageUrlWithEvents)!==!1)return(0,c._getCurrentPageUrlSafe)()}_startBackgroundFlushInterval(){var s,v;const m=(v=(s=this._options)===null||s===void 0?void 0:s.loggingIntervalMs)!==null&&v!==void 0?v:_,E=setInterval(()=>{const I=C[this._sdkKey];!I||I._flushIntervalId!==E?clearInterval(E):S._safeFlushAndForget(this._sdkKey)},m);this._flushIntervalId=E}}l.EventLogger=S},732975:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._getSortedObject=l._DJB2Object=l._DJB2=void 0;const r=e(346226),o=i=>{let c=0;for(let u=0;u<i.length;u++){const f=i.charCodeAt(u);c=(c<<5)-c+f,c=c&c}return String(c>>>0)};l._DJB2=o;const n=(i,c)=>(0,l._DJB2)(JSON.stringify((0,l._getSortedObject)(i,c)));l._DJB2Object=n;const a=(i,c)=>{if(i==null)return null;const u=Object.keys(i).sort(),f={};return u.forEach(d=>{const h=i[d];if(c===0||(0,r._typeOf)(h)!=="object"){f[d]=h;return}f[d]=(0,l._getSortedObject)(h,c!=null?c-1:c)}),f};l._getSortedObject=a},957289:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},953706:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.Log=l.LogLevel=void 0;const e=" DEBUG ",r="  INFO ",o="  WARN ",n=" ERROR ";function a(c){return c.unshift("[Statsig]"),c}l.LogLevel={None:0,Error:1,Warn:2,Info:3,Debug:4};class i{static info(...u){i.level>=l.LogLevel.Info&&console.info(r,...a(u))}static debug(...u){i.level>=l.LogLevel.Debug&&console.debug(e,...a(u))}static warn(...u){i.level>=l.LogLevel.Warn&&console.warn(o,...a(u))}static error(...u){i.level>=l.LogLevel.Error&&console.error(n,...a(u))}}l.Log=i,i.level=l.LogLevel.Warn},345168:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.createMemoKey=l.MemoPrefix=void 0,l.MemoPrefix={_gate:"g",_dynamicConfig:"c",_experiment:"e",_layer:"l",_paramStore:"p"};const e=new Set([]),r=new Set(["userPersistedValues"]);function o(n,a,i){let c=`${n}|${a}`;if(!i)return c;for(const u of Object.keys(i)){if(r.has(u))return;e.has(u)?c+=`|${u}=true`:c+=`|${u}=${i[u]}`}return c}l.createMemoKey=o},569011:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.NetworkParam=l.NetworkDefault=l.Endpoint=void 0,l.Endpoint={_initialize:"initialize",_rgstr:"rgstr",_download_config_specs:"download_config_specs"},l.NetworkDefault={[l.Endpoint._rgstr]:"https://prodregistryv2.org/v1",[l.Endpoint._initialize]:"https://featureassets.org/v1",[l.Endpoint._download_config_specs]:"https://api.statsigcdn.com/v1"},l.NetworkParam={EventCount:"ec",SdkKey:"k",SdkType:"st",SdkVersion:"sv",Time:"t",SessionID:"sid",StatsigEncoded:"se",IsGzipped:"gz"}},984102:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(x,M,B,R){function U(j){return j instanceof B?j:new B(function($){$(j)})}return new(B||(B=Promise))(function(j,$){function ee(ne){try{ie(R.next(ne))}catch(pe){$(pe)}}function te(ne){try{ie(R.throw(ne))}catch(pe){$(pe)}}function ie(ne){ne.done?j(ne.value):U(ne.value).then(ee,te)}ie((R=R.apply(x,M||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l.NetworkCore=void 0,e(58260);const o=e(58260),n=e(782917),a=e(953706),i=e(569011),c=e(814756),u=e(489492),f=e(493254),d=e(562970),h=e(392194),g=e(256184),_=e(5484),p=e(302799),y=e(917273),O=1e4,P=500,C=3e4,A=1e3,S=50,T=S/A,s=new Set([408,500,502,503,504,522,524,599]);class v{constructor(M,B){this._emitter=B,this._errorBoundary=null,this._timeout=O,this._netConfig={},this._options={},this._leakyBucket={},this._lastUsedInitUrl=null,M&&(this._options=M),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs),this._fallbackResolver=new c.NetworkFallbackResolver(this._options)}setErrorBoundary(M){this._errorBoundary=M,this._errorBoundary.wrap(this),this._errorBoundary.wrap(this._fallbackResolver),this._fallbackResolver.setErrorBoundary(M)}isBeaconSupported(){return typeof navigator<"u"&&typeof navigator.sendBeacon=="function"}getLastUsedInitUrlAndReset(){const M=this._lastUsedInitUrl;return this._lastUsedInitUrl=null,M}beacon(M){return r(this,void 0,void 0,function*(){if(!m(M))return!1;const B=this._getInternalRequestArgs("POST",M);yield this._tryToCompressBody(B);const R=yield this._getPopulatedURL(B),U=navigator;return U.sendBeacon.bind(U)(R,B.body)})}post(M){return r(this,void 0,void 0,function*(){const B=this._getInternalRequestArgs("POST",M);return this._tryEncodeBody(B),yield this._tryToCompressBody(B),this._sendRequest(B)})}get(M){const B=this._getInternalRequestArgs("GET",M);return this._sendRequest(B)}_sendRequest(M){var B,R,U,j;return r(this,void 0,void 0,function*(){if(!m(M)||this._netConfig.preventAllNetworkTraffic)return null;const{method:$,body:ee,retries:te,attempt:ie}=M,ne=M.urlConfig.endpoint;if(this._isRateLimited(ne))return a.Log.warn(`Request to ${ne} was blocked because you are making requests too frequently.`),null;const pe=ie??1,oe=typeof AbortController<"u"?new AbortController:null,q=setTimeout(()=>{oe==null||oe.abort(`Timeout of ${this._timeout}ms expired.`)},this._timeout),J=yield this._getPopulatedURL(M);let me=null;const re=(0,y._isUnloading)();try{const he={method:$,body:ee,headers:Object.assign({},M.headers),signal:oe==null?void 0:oe.signal,priority:M.priority,keepalive:re};F(M,pe);const Ee=this._leakyBucket[ne];if(Ee&&(Ee.lastRequestTime=Date.now(),this._leakyBucket[ne]=Ee),me=yield((B=this._netConfig.networkOverrideFunc)!==null&&B!==void 0?B:fetch)(J,he),clearTimeout(q),!me.ok){const z=yield me.text().catch(()=>"No Text"),_e=new Error(`NetworkError: ${J} ${z}`);throw _e.name="NetworkError",_e}const H=yield me.text();return G(M,me,pe,H),this._fallbackResolver.tryBumpExpiryTime(M.sdkKey,M.urlConfig),{body:H,code:me.status}}catch(he){const Ee=L(oe,he),fe=W(oe);if(G(M,me,pe,"",he),(yield this._fallbackResolver.tryFetchUpdatedFallbackInfo(M.sdkKey,M.urlConfig,Ee,fe))&&(M.fallbackUrl=this._fallbackResolver.getActiveFallbackUrl(M.sdkKey,M.urlConfig)),!te||pe>te||!s.has((R=me==null?void 0:me.status)!==null&&R!==void 0?R:500)){(U=this._emitter)===null||U===void 0||U.call(this,{name:"error",error:he,tag:_.ErrorTag.NetworkError,requestArgs:M});const z=`A networking error occurred during ${$} request to ${J}.`;return a.Log.error(z,Ee,he),(j=this._errorBoundary)===null||j===void 0||j.attachErrorIfNoneExists(z),null}return yield k(pe),this._sendRequest(Object.assign(Object.assign({},M),{retries:te,attempt:pe+1}))}})}_isRateLimited(M){var B;const R=Date.now(),U=(B=this._leakyBucket[M])!==null&&B!==void 0?B:{count:0,lastRequestTime:R},j=R-U.lastRequestTime,$=Math.floor(j*T);return U.count=Math.max(0,U.count-$),U.count>=S?!0:(U.count+=1,U.lastRequestTime=R,this._leakyBucket[M]=U,!1)}_getPopulatedURL(M){var B;return r(this,void 0,void 0,function*(){const R=(B=M.fallbackUrl)!==null&&B!==void 0?B:M.urlConfig.getUrl();(M.urlConfig.endpoint===i.Endpoint._initialize||M.urlConfig.endpoint===i.Endpoint._download_config_specs)&&(this._lastUsedInitUrl=R);const U=Object.assign({[i.NetworkParam.SdkKey]:M.sdkKey,[i.NetworkParam.SdkType]:f.SDKType._get(M.sdkKey),[i.NetworkParam.SdkVersion]:p.SDK_VERSION,[i.NetworkParam.Time]:String(Date.now()),[i.NetworkParam.SessionID]:h.SessionID.get(M.sdkKey)},M.params),j=Object.keys(U).map($=>`${encodeURIComponent($)}=${encodeURIComponent(U[$])}`).join("&");return`${R}${j?`?${j}`:""}`})}_tryEncodeBody(M){var B;const R=(0,d._getWindowSafe)(),U=M.body;if(!(!M.isStatsigEncodable||this._options.disableStatsigEncoding||typeof U!="string"||(0,o._getStatsigGlobalFlag)("no-encode")!=null||!(R!=null&&R.btoa)))try{M.body=R.btoa(U).split("").reverse().join(""),M.params=Object.assign(Object.assign({},(B=M.params)!==null&&B!==void 0?B:{}),{[i.NetworkParam.StatsigEncoded]:"1"})}catch(j){a.Log.warn(`Request encoding failed for ${M.urlConfig.getUrl()}`,j)}}_tryToCompressBody(M){var B;return r(this,void 0,void 0,function*(){const R=M.body;if(!(typeof R!="string"||!I(M,this._options)))try{const U=new TextEncoder().encode(R),j=new CompressionStream("gzip"),$=j.writable.getWriter();$.write(U).catch(a.Log.error),$.close().catch(a.Log.error);const ee=j.readable.getReader(),te=[];let ie;for(;!(ie=yield ee.read()).done;)te.push(ie.value);const ne=te.reduce((q,J)=>q+J.length,0),pe=new Uint8Array(ne);let oe=0;for(const q of te)pe.set(q,oe),oe+=q.length;M.body=pe,M.params=Object.assign(Object.assign({},(B=M.params)!==null&&B!==void 0?B:{}),{[i.NetworkParam.IsGzipped]:"1"})}catch(U){a.Log.warn(`Request compression failed for ${M.urlConfig.getUrl()}`,U)}})}_getInternalRequestArgs(M,B){const R=this._fallbackResolver.getActiveFallbackUrl(B.sdkKey,B.urlConfig),U=Object.assign(Object.assign({},B),{method:M,fallbackUrl:R});return"data"in B&&E(U,B.data),U}}l.NetworkCore=v;const m=x=>x.sdkKey?!0:(a.Log.warn("Unable to make request without an SDK key"),!1),E=(x,M)=>{const{sdkKey:B,fallbackUrl:R}=x,U=g.StableID.get(B),j=h.SessionID.get(B),$=f.SDKType._get(B);x.body=JSON.stringify(Object.assign(Object.assign({},M),{statsigMetadata:Object.assign(Object.assign({},p.StatsigMetadataProvider.get()),{stableID:U,sessionID:j,sdkType:$,fallbackUrl:R})}))};function I(x,M){return!(!x.isCompressable||M.disableCompression||(x.urlConfig.customUrl!=null||x.urlConfig.fallbackUrls!=null)&&u.SDKFlags.get(x.sdkKey,"enable_log_event_compression")!==!0||(0,o._getStatsigGlobalFlag)("no-compress")!=null||typeof CompressionStream>"u"||typeof TextEncoder>"u")}function L(x,M){return x!=null&&x.signal.aborted&&typeof x.signal.reason=="string"?x.signal.reason:typeof M=="string"?M:M instanceof Error?`${M.name}: ${M.message}`:"Unknown Error"}function W(x){return(x==null?void 0:x.signal.aborted)&&typeof x.signal.reason=="string"&&x.signal.reason.includes("Timeout")||!1}function F(x,M){x.urlConfig.endpoint===i.Endpoint._initialize&&n.Diagnostics._markInitNetworkReqStart(x.sdkKey,{attempt:M})}function G(x,M,B,R,U){x.urlConfig.endpoint===i.Endpoint._initialize&&n.Diagnostics._markInitNetworkReqEnd(x.sdkKey,n.Diagnostics._getDiagnosticsData(M,B,R,U))}function k(x){return r(this,void 0,void 0,function*(){yield new Promise(M=>setTimeout(M,Math.min(P*(x*x),C)))})}},814756:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(y,O,P,C){function A(S){return S instanceof P?S:new P(function(T){T(S)})}return new(P||(P=Promise))(function(S,T){function s(E){try{m(C.next(E))}catch(I){T(I)}}function v(E){try{m(C.throw(E))}catch(I){T(I)}}function m(E){E.done?S(E.value):A(E.value).then(s,v)}m((C=C.apply(y,O||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l._isDomainFailure=l.NetworkFallbackResolver=void 0;const o=e(461558),n=e(732975),a=e(953706),i=e(596838),c=7*24*60*60*1e3,u=4*60*60*1e3;class f{constructor(O){var P;this._fallbackInfo=null,this._errorBoundary=null,this._dnsQueryCooldowns={},this._networkOverrideFunc=(P=O.networkConfig)===null||P===void 0?void 0:P.networkOverrideFunc}setErrorBoundary(O){this._errorBoundary=O}tryBumpExpiryTime(O,P){var C;const A=(C=this._fallbackInfo)===null||C===void 0?void 0:C[P.endpoint];A&&(A.expiryTime=Date.now()+c,g(O,Object.assign(Object.assign({},this._fallbackInfo),{[P.endpoint]:A})))}getActiveFallbackUrl(O,P){var C,A;if(P.customUrl!=null&&P.fallbackUrls!=null)return null;let S=this._fallbackInfo;S==null&&(S=(C=_(O))!==null&&C!==void 0?C:{},this._fallbackInfo=S);const T=S[P.endpoint];return!T||Date.now()>((A=T.expiryTime)!==null&&A!==void 0?A:0)||P.getChecksum()!==T.urlConfigChecksum?(delete S[P.endpoint],this._fallbackInfo=S,g(O,this._fallbackInfo),null):T.url?T.url:null}tryFetchUpdatedFallbackInfo(O,P,C,A){var S,T;return r(this,void 0,void 0,function*(){try{if(!d(C,A))return!1;const v=P.customUrl==null&&P.fallbackUrls==null?yield this._tryFetchFallbackUrlsFromNetwork(P):P.fallbackUrls,m=this._pickNewFallbackUrl((S=this._fallbackInfo)===null||S===void 0?void 0:S[P.endpoint],v);return m?(this._updateFallbackInfoWithNewUrl(O,P,m),!0):!1}catch(s){return(T=this._errorBoundary)===null||T===void 0||T.logError("tryFetchUpdatedFallbackInfo",s),!1}})}_updateFallbackInfoWithNewUrl(O,P,C){var A,S,T;const s={urlConfigChecksum:P.getChecksum(),url:C,expiryTime:Date.now()+c,previous:[]},v=P.endpoint,m=(A=this._fallbackInfo)===null||A===void 0?void 0:A[v];m&&s.previous.push(...m.previous),s.previous.length>10&&(s.previous=[]);const E=(T=(S=this._fallbackInfo)===null||S===void 0?void 0:S[v])===null||T===void 0?void 0:T.url;E!=null&&s.previous.push(E),this._fallbackInfo=Object.assign(Object.assign({},this._fallbackInfo),{[v]:s}),g(O,this._fallbackInfo)}_tryFetchFallbackUrlsFromNetwork(O){var P;return r(this,void 0,void 0,function*(){const C=this._dnsQueryCooldowns[O.endpoint];if(C&&Date.now()<C)return null;this._dnsQueryCooldowns[O.endpoint]=Date.now()+u;const A=[],S=yield(0,o._fetchTxtRecords)((P=this._networkOverrideFunc)!==null&&P!==void 0?P:fetch),T=p(O.defaultUrl);for(const s of S){if(!s.startsWith(O.endpointDnsKey+"="))continue;const v=s.split("=");if(v.length>1){let m=v[1];m.endsWith("/")&&(m=m.slice(0,-1)),A.push(`https://${m}${T}`)}}return A})}_pickNewFallbackUrl(O,P){var C;if(P==null)return null;const A=new Set((C=O==null?void 0:O.previous)!==null&&C!==void 0?C:[]),S=O==null?void 0:O.url;let T=null;for(const s of P){const v=s.endsWith("/")?s.slice(0,-1):s;if(!A.has(s)&&v!==S){T=v;break}}return T}}l.NetworkFallbackResolver=f;function d(y,O){var P;const C=(P=y==null?void 0:y.toLowerCase())!==null&&P!==void 0?P:"";return O||C.includes("uncaught exception")||C.includes("failed to fetch")||C.includes("networkerror when attempting to fetch resource")}l._isDomainFailure=d;function h(y){return`statsig.network_fallback.${(0,n._DJB2)(y)}`}function g(y,O){const P=h(y);if(!O||Object.keys(O).length===0){i.Storage.removeItem(P);return}i.Storage.setItem(P,JSON.stringify(O))}function _(y){const O=h(y),P=i.Storage.getItem(O);if(!P)return null;try{return JSON.parse(P)}catch{return a.Log.error("Failed to parse FallbackInfo"),null}}function p(y){try{return new URL(y).pathname}catch{return null}}},905301:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},102069:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},489492:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.SDKFlags=void 0;const e={};l.SDKFlags={setFlags:(r,o)=>{e[r]=o},get:(r,o)=>{var n,a;return(a=(n=e[r])===null||n===void 0?void 0:n[o])!==null&&a!==void 0?a:!1}}},493254:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.SDKType=void 0;const e={};let r;l.SDKType={_get:o=>{var n;return((n=e[o])!==null&&n!==void 0?n:"js-mono")+(r??"")},_setClientType(o,n){e[o]=n},_setBindingType(o){(!r||r==="-react")&&(r="-"+o)}}},562970:function(b,l,e){"use strict";var r=e(760636);Object.defineProperty(l,"__esModule",{value:!0}),l._getUnloadEvent=l._getCurrentPageUrlSafe=l._addDocumentEventListenerSafe=l._addWindowEventListenerSafe=l._isServerEnv=l._getDocumentSafe=l._getWindowSafe=void 0;const o=()=>typeof window<"u"?window:null;l._getWindowSafe=o;const n=()=>{var d;const h=(0,l._getWindowSafe)();return(d=h==null?void 0:h.document)!==null&&d!==void 0?d:null};l._getDocumentSafe=n;const a=()=>{if((0,l._getDocumentSafe)()!==null)return!1;const d=typeof r<"u"&&r.versions!=null&&r.versions.node!=null;return typeof EdgeRuntime=="string"||d};l._isServerEnv=a;const i=(d,h)=>{const g=(0,l._getWindowSafe)();typeof(g==null?void 0:g.addEventListener)=="function"&&g.addEventListener(d,h)};l._addWindowEventListenerSafe=i;const c=(d,h)=>{const g=(0,l._getDocumentSafe)();typeof(g==null?void 0:g.addEventListener)=="function"&&g.addEventListener(d,h)};l._addDocumentEventListenerSafe=c;const u=()=>{var d;try{return(d=(0,l._getWindowSafe)())===null||d===void 0?void 0:d.location.href.split(/[?#]/)[0]}catch{return}};l._getCurrentPageUrlSafe=u;const f=()=>{const d=(0,l._getWindowSafe)();return d&&"onpagehide"in d?"pagehide":"beforeunload"};l._getUnloadEvent=f},392194:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.StatsigSession=l.SessionID=void 0;const r=e(328694),o=e(953706),n=e(596838),a=e(541982),i=30*60*1e3,c=4*60*60*1e3,u={};l.SessionID={get:C=>l.StatsigSession.get(C).data.sessionID},l.StatsigSession={get:C=>{u[C]==null&&(u[C]=f(C));const A=u[C];return h(A)},overrideInitialSessionID:(C,A)=>{u[A]=d(C,A)}};function f(C){let A=P(C);const S=Date.now();return A||(A={sessionID:(0,a.getUUID)(),startTime:S,lastUpdate:S}),{data:A,sdkKey:C}}function d(C,A){const S=Date.now();return{data:{sessionID:C,startTime:S,lastUpdate:S},sdkKey:A}}function h(C){const A=Date.now(),S=C.data;(_(S)||p(S))&&(S.sessionID=(0,a.getUUID)(),S.startTime=A),S.lastUpdate=A,O(S,C.sdkKey),clearTimeout(C.idleTimeoutID),clearTimeout(C.ageTimeoutID);const T=A-S.startTime,s=C.sdkKey;return C.idleTimeoutID=g(s,i),C.ageTimeoutID=g(s,c-T),C}function g(C,A){return setTimeout(()=>{const S=__STATSIG__==null?void 0:__STATSIG__.instance(C);S&&S.$emt({name:"session_expired"})},A)}function _({lastUpdate:C}){return Date.now()-C>i}function p({startTime:C}){return Date.now()-C>c}function y(C){return`statsig.session_id.${(0,r._getStorageKey)(C)}`}function O(C,A){const S=y(A);try{(0,n._setObjectInStorage)(S,C)}catch{o.Log.warn("Failed to save SessionID")}}function P(C){const A=y(C);return(0,n._getObjectFromStorage)(A)}},256184:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.StableID=void 0;const r=e(328694),o=e(953706),n=e(596838),a=e(541982),i={};l.StableID={get:d=>{if(i[d]==null){let h=f(d);h==null&&(h=(0,a.getUUID)(),u(h,d)),i[d]=h}return i[d]},setOverride:(d,h)=>{i[h]=d,u(d,h)}};function c(d){return`statsig.stable_id.${(0,r._getStorageKey)(d)}`}function u(d,h){const g=c(h);try{(0,n._setObjectInStorage)(g,d)}catch{o.Log.warn("Failed to save StableID")}}function f(d){const h=c(d);return(0,n._getObjectFromStorage)(h)}},342927:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(p,y,O,P){function C(A){return A instanceof O?A:new O(function(S){S(A)})}return new(O||(O=Promise))(function(A,S){function T(m){try{v(P.next(m))}catch(E){S(E)}}function s(m){try{v(P.throw(m))}catch(E){S(E)}}function v(m){m.done?A(m.value):C(m.value).then(T,s)}v((P=P.apply(p,y||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l.StatsigClientBase=void 0,e(58260);const o=e(58260),n=e(946991),a=e(945241),i=e(953706),c=e(345168),u=e(562970),f=e(392194),d=e(596838),h=3e3;class g{constructor(y,O,P,C){var A;this.loadingStatus="Uninitialized",this._initializePromise=null,this._listeners={};const S=this.$emt.bind(this);(C==null?void 0:C.logLevel)!=null&&(i.Log.level=C.logLevel),C!=null&&C.disableStorage&&d.Storage._setDisabled(!0),C!=null&&C.initialSessionID&&f.StatsigSession.overrideInitialSessionID(C.initialSessionID,y),C!=null&&C.storageProvider&&d.Storage._setProvider(C.storageProvider),this._sdkKey=y,this._options=C??{},this._memoCache={},this.overrideAdapter=(A=C==null?void 0:C.overrideAdapter)!==null&&A!==void 0?A:null,this._logger=new a.EventLogger(y,S,P,C),this._errorBoundary=new n.ErrorBoundary(y,C,S),this._errorBoundary.wrap(this),this._errorBoundary.wrap(O),this._errorBoundary.wrap(this._logger),P.setErrorBoundary(this._errorBoundary),this.dataAdapter=O,this.dataAdapter.attach(y,C,P),this.storageProvider=d.Storage,this._primeReadyRipcord(),_(y,this)}updateRuntimeOptions(y){y.disableLogging!=null&&(this._options.disableLogging=y.disableLogging,this._logger.setLoggingDisabled(y.disableLogging)),y.disableStorage!=null&&(this._options.disableStorage=y.disableStorage,d.Storage._setDisabled(y.disableStorage))}flush(){return this._logger.flush()}shutdown(){return r(this,void 0,void 0,function*(){this.$emt({name:"pre_shutdown"}),this._setStatus("Uninitialized",null),this._initializePromise=null,yield this._logger.stop()})}on(y,O){this._listeners[y]||(this._listeners[y]=[]),this._listeners[y].push(O)}off(y,O){if(this._listeners[y]){const P=this._listeners[y].indexOf(O);P!==-1&&this._listeners[y].splice(P,1)}}$on(y,O){O.__isInternal=!0,this.on(y,O)}$emt(y){var O;const P=C=>{try{C(y)}catch(A){if(C.__isInternal===!0){this._errorBoundary.logError(`__emit:${y.name}`,A);return}i.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",y)}};this._listeners[y.name]&&this._listeners[y.name].forEach(C=>P(C)),(O=this._listeners["*"])===null||O===void 0||O.forEach(P)}_setStatus(y,O){this.loadingStatus=y,this._memoCache={},this.$emt({name:"values_updated",status:y,values:O})}_enqueueExposure(y,O,P){if((P==null?void 0:P.disableExposureLog)===!0){this._logger.incrementNonExposureCount(y);return}this._logger.enqueue(O)}_memoize(y,O){return(P,C)=>{if(this._options.disableEvaluationMemoization)return O(P,C);const A=(0,c.createMemoKey)(y,P,C);return A?(A in this._memoCache||(Object.keys(this._memoCache).length>=h&&(this._memoCache={}),this._memoCache[A]=O(P,C)),this._memoCache[A]):O(P,C)}}}l.StatsigClientBase=g;function _(p,y){var O;if((0,u._isServerEnv)())return;const P=(0,o._getStatsigGlobal)(),C=(O=P.instances)!==null&&O!==void 0?O:{},A=y;C[p]!=null&&i.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys."),C[p]=A,P.firstInstance||(P.firstInstance=A),P.instances=C,__STATSIG__=P}},5484:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.ErrorTag=void 0,l.ErrorTag={NetworkError:"NetworkError"}},878776:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.DataAdapterCachePrefix=void 0,l.DataAdapterCachePrefix="statsig.cached"},497384:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._createLayerParameterExposure=l._createConfigExposure=l._mapExposures=l._createGateExposure=l._isExposureEvent=void 0;const e="statsig::config_exposure",r="statsig::gate_exposure",o="statsig::layer_exposure",n=(h,g,_,p,y)=>(_.bootstrapMetadata&&(p.bootstrapMetadata=_.bootstrapMetadata),{eventName:h,user:g,value:null,metadata:d(_,p),secondaryExposures:y,time:Date.now()}),a=({eventName:h})=>h===r||h===e||h===o;l._isExposureEvent=a;const i=(h,g,_)=>{var p,y,O;const P={gate:g.name,gateValue:String(g.value),ruleID:g.ruleID};return((p=g.__evaluation)===null||p===void 0?void 0:p.version)!=null&&(P.configVersion=g.__evaluation.version),n(r,h,g.details,P,c((O=(y=g.__evaluation)===null||y===void 0?void 0:y.secondary_exposures)!==null&&O!==void 0?O:[],_))};l._createGateExposure=i;function c(h,g){return h.map(_=>typeof _=="string"?(g??{})[_]:_).filter(_=>_!=null)}l._mapExposures=c;const u=(h,g,_)=>{var p,y,O,P;const C={config:g.name,ruleID:g.ruleID};return((p=g.__evaluation)===null||p===void 0?void 0:p.version)!=null&&(C.configVersion=g.__evaluation.version),((y=g.__evaluation)===null||y===void 0?void 0:y.passed)!=null&&(C.rulePassed=String(g.__evaluation.passed)),n(e,h,g.details,C,c((P=(O=g.__evaluation)===null||O===void 0?void 0:O.secondary_exposures)!==null&&P!==void 0?P:[],_))};l._createConfigExposure=u;const f=(h,g,_,p)=>{var y,O,P,C;const A=g.__evaluation,S=((y=A==null?void 0:A.explicit_parameters)===null||y===void 0?void 0:y.includes(_))===!0;let T="",s=(O=A==null?void 0:A.undelegated_secondary_exposures)!==null&&O!==void 0?O:[];S&&(T=(P=A.allocated_experiment_name)!==null&&P!==void 0?P:"",s=A.secondary_exposures);const v={config:g.name,parameterName:_,ruleID:g.ruleID,allocatedExperiment:T,isExplicitParameter:String(S)};return((C=g.__evaluation)===null||C===void 0?void 0:C.version)!=null&&(v.configVersion=g.__evaluation.version),n(o,h,g.details,v,c(s,p))};l._createLayerParameterExposure=f;const d=(h,g)=>(g.reason=h.reason,h.lcut&&(g.lcut=String(h.lcut)),h.receivedAt&&(g.receivedAt=String(h.receivedAt)),g)},302799:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.StatsigMetadataProvider=l.SDK_VERSION=void 0,l.SDK_VERSION="3.14.1";let e={sdkVersion:l.SDK_VERSION,sdkType:"js-mono"};l.StatsigMetadataProvider={get:()=>e,add:r=>{e=Object.assign(Object.assign({},e),r)}}},541197:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},711850:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},175109:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._makeTypedGet=l._mergeOverride=l._makeLayer=l._makeExperiment=l._makeDynamicConfig=l._makeFeatureGate=void 0;const r=e(953706),o=e(346226),n="default";function a(g,_,p,y){var O;return{name:g,details:_,ruleID:(O=p==null?void 0:p.rule_id)!==null&&O!==void 0?O:n,__evaluation:p,value:y}}function i(g,_,p){return a(g,_,p,(p==null?void 0:p.value)===!0)}l._makeFeatureGate=i;function c(g,_,p){var y;const O=(y=p==null?void 0:p.value)!==null&&y!==void 0?y:{};return Object.assign(Object.assign({},a(g,_,p,O)),{get:h(g,p==null?void 0:p.value)})}l._makeDynamicConfig=c;function u(g,_,p){var y;const O=c(g,_,p);return Object.assign(Object.assign({},O),{groupName:(y=p==null?void 0:p.group_name)!==null&&y!==void 0?y:null})}l._makeExperiment=u;function f(g,_,p,y){var O,P;return Object.assign(Object.assign({},a(g,_,p,void 0)),{get:h(g,p==null?void 0:p.value,y),groupName:(O=p==null?void 0:p.group_name)!==null&&O!==void 0?O:null,__value:(P=p==null?void 0:p.value)!==null&&P!==void 0?P:{}})}l._makeLayer=f;function d(g,_,p,y){return Object.assign(Object.assign(Object.assign({},g),_),{get:h(g.name,p,y)})}l._mergeOverride=d;function h(g,_,p){return(y,O)=>{var P;const C=(P=_==null?void 0:_[y])!==null&&P!==void 0?P:null;return C==null?O??null:O!=null&&!(0,o._isTypeMatch)(C,O)?(r.Log.warn(`Parameter type mismatch. '${g}.${y}' was found to be type '${typeof C}' but fallback/return type is '${typeof O}'. See https://docs.statsig.com/client/javascript-sdk/#typed-getters`),O??null):(p==null||p(y),C)}}l._makeTypedGet=h},534294:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0})},432876:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.UPDATE_DETAIL_ERROR_MESSAGES=l.createUpdateDetails=void 0;const e=(r,o,n,a,i,c)=>({duration:n,source:o,success:r,error:a,sourceUrl:i,warnings:c});l.createUpdateDetails=e,l.UPDATE_DETAIL_ERROR_MESSAGES={NO_NETWORK_DATA:"No data was returned from the network. This may be due to a network timeout if a timeout value was specified in the options or ad blocker error."}},893011:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._getFullUserHash=l._normalizeUser=void 0;const r=e(732975),o=e(953706);function n(i,c,u){try{const f=JSON.parse(JSON.stringify(i));return c!=null&&c.environment!=null?f.statsigEnvironment=c.environment:u!=null&&(f.statsigEnvironment={tier:u}),f}catch{return o.Log.error("Failed to JSON.stringify user"),{statsigEnvironment:void 0}}}l._normalizeUser=n;function a(i){return i?(0,r._DJB2Object)(i):null}l._getFullUserHash=a},596838:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._setObjectInStorage=l._getObjectFromStorage=l.Storage=void 0;const r=e(953706),o=e(562970),n={},a={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"InMemory",getItem:g=>n[g]?n[g]:null,setItem:(g,_)=>{n[g]=_},removeItem:g=>{delete n[g]},getAllKeys:()=>Object.keys(n)};let i=null;try{const g=(0,o._getWindowSafe)();g&&g.localStorage&&typeof g.localStorage.getItem=="function"&&(i={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"LocalStorage",getItem:_=>g.localStorage.getItem(_),setItem:(_,p)=>g.localStorage.setItem(_,p),removeItem:_=>g.localStorage.removeItem(_),getAllKeys:()=>Object.keys(g.localStorage)})}catch{r.Log.warn("Failed to setup localStorageProvider.")}let c=i??a,u=c;function f(g){try{return g()}catch(_){if(_ instanceof Error&&_.name==="SecurityError")return l.Storage._setProvider(a),null;throw _}}l.Storage={isReady:()=>u.isReady(),isReadyResolver:()=>u.isReadyResolver(),getProviderName:()=>u.getProviderName(),getItem:g=>f(()=>u.getItem(g)),setItem:(g,_)=>u.setItem(g,_),removeItem:g=>u.removeItem(g),getAllKeys:()=>u.getAllKeys(),_setProvider:g=>{c=g,u=g},_setDisabled:g=>{g?u=a:u=c}};function d(g){const _=l.Storage.getItem(g);return JSON.parse(_??"null")}l._getObjectFromStorage=d;function h(g,_){l.Storage.setItem(g,JSON.stringify(_))}l._setObjectInStorage=h},989087:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._typedJsonParse=void 0;const r=e(953706);function o(n,a,i){try{const c=JSON.parse(n);if(c&&typeof c=="object"&&a in c)return c}catch{}return r.Log.error(`Failed to parse ${i}`),null}l._typedJsonParse=o},346226:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._isTypeMatch=l._typeOf=void 0;function e(o){return Array.isArray(o)?"array":typeof o}l._typeOf=e;function r(o,n){const a=i=>Array.isArray(i)?"array":typeof i;return a(o)===a(n)}l._isTypeMatch=r},541982:function(b,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getUUID=void 0;function e(){if(typeof crypto<"u"&&typeof crypto.randomUUID=="function")return crypto.randomUUID();let r=new Date().getTime(),o=typeof performance<"u"&&performance.now&&performance.now()*1e3||0;return`xxxxxxxx-xxxx-4xxx-${"89ab"[Math.floor(Math.random()*4)]}xxx-xxxxxxxxxxxx`.replace(/[xy]/g,a=>{let i=Math.random()*16;return r>0?(i=(r+i)%16|0,r=Math.floor(r/16)):(i=(o+i)%16|0,o=Math.floor(o/16)),(a==="x"?i:i&7|8).toString(16)})}l.getUUID=e},476355:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.UrlConfiguration=void 0;const r=e(732975),o=e(569011),n={[o.Endpoint._initialize]:"i",[o.Endpoint._rgstr]:"e",[o.Endpoint._download_config_specs]:"d"};class a{constructor(c,u,f,d){this.customUrl=null,this.fallbackUrls=null,this.endpoint=c,this.endpointDnsKey=n[c],u&&(this.customUrl=u),!u&&f&&(this.customUrl=f.endsWith("/")?`${f}${c}`:`${f}/${c}`),d&&(this.fallbackUrls=d);const h=o.NetworkDefault[c];this.defaultUrl=`${h}/${c}`}getUrl(){var c;return(c=this.customUrl)!==null&&c!==void 0?c:this.defaultUrl}getChecksum(){var c;const u=((c=this.fallbackUrls)!==null&&c!==void 0?c:[]).sort().join(",");return(0,r._DJB2)(this.customUrl+u)}}l.UrlConfiguration=a},917273:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._notifyVisibilityChanged=l._subscribeToVisiblityChanged=l._isUnloading=l._isCurrentlyVisible=void 0;const r=e(562970),o="foreground",n="background",a=[];let i=o,c=!1;const u=()=>i===o;l._isCurrentlyVisible=u;const f=()=>c;l._isUnloading=f;const d=g=>{a.unshift(g)};l._subscribeToVisiblityChanged=d;const h=g=>{g!==i&&(i=g,a.forEach(_=>_(g)))};l._notifyVisibilityChanged=h,(0,r._addWindowEventListenerSafe)("focus",()=>{c=!1,(0,l._notifyVisibilityChanged)(o)}),(0,r._addWindowEventListenerSafe)("blur",()=>(0,l._notifyVisibilityChanged)(n)),(0,r._addDocumentEventListenerSafe)("visibilitychange",()=>{(0,l._notifyVisibilityChanged)(document.visibilityState==="visible"?o:n)}),(0,r._addWindowEventListenerSafe)((0,r._getUnloadEvent)(),()=>{c=!0,(0,l._notifyVisibilityChanged)(n)})},675299:function(b,l,e){"use strict";var r=this&&this.__createBinding||(Object.create?function(f,d,h,g){g===void 0&&(g=h);var _=Object.getOwnPropertyDescriptor(d,h);(!_||("get"in _?!d.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return d[h]}}),Object.defineProperty(f,g,_)}:function(f,d,h,g){g===void 0&&(g=h),f[g]=d[h]}),o=this&&this.__exportStar||function(f,d){for(var h in f)h!=="default"&&!Object.prototype.hasOwnProperty.call(d,h)&&r(d,f,h)};Object.defineProperty(l,"__esModule",{value:!0}),l.Storage=l.Log=l.EventLogger=l.Diagnostics=void 0,e(58260);const n=e(782917);Object.defineProperty(l,"Diagnostics",{enumerable:!0,get:function(){return n.Diagnostics}});const a=e(945241);Object.defineProperty(l,"EventLogger",{enumerable:!0,get:function(){return a.EventLogger}});const i=e(953706);Object.defineProperty(l,"Log",{enumerable:!0,get:function(){return i.Log}});const c=e(302799),u=e(596838);Object.defineProperty(l,"Storage",{enumerable:!0,get:function(){return u.Storage}}),o(e(58260),l),o(e(328694),l),o(e(292889),l),o(e(554282),l),o(e(782917),l),o(e(240217),l),o(e(946991),l),o(e(441087),l),o(e(57438),l),o(e(732975),l),o(e(957289),l),o(e(953706),l),o(e(345168),l),o(e(569011),l),o(e(984102),l),o(e(905301),l),o(e(102069),l),o(e(562970),l),o(e(493254),l),o(e(392194),l),o(e(256184),l),o(e(342927),l),o(e(5484),l),o(e(878776),l),o(e(497384),l),o(e(302799),l),o(e(541197),l),o(e(711850),l),o(e(175109),l),o(e(534294),l),o(e(893011),l),o(e(596838),l),o(e(989087),l),o(e(346226),l),o(e(476355),l),o(e(541982),l),o(e(917273),l),o(e(432876),l),o(e(489492),l),__STATSIG__=Object.assign(Object.assign({},__STATSIG__!=null?__STATSIG__:{}),{Log:i.Log,SDK_VERSION:c.SDK_VERSION})},697338:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._resolveDeltasResponse=void 0;const r=e(463338),o=2;function n(u,f){const d=(0,r._typedJsonParse)(f,"checksum","DeltasEvaluationResponse");if(!d)return{hadBadDeltaChecksum:!0};const h=a(u,d),g=i(h),_=(0,r._DJB2Object)({feature_gates:g.feature_gates,dynamic_configs:g.dynamic_configs,layer_configs:g.layer_configs},o);return _===d.checksumV2?JSON.stringify(g):{hadBadDeltaChecksum:!0,badChecksum:_,badMergedConfigs:g,badFullResponse:d.deltas_full_response}}l._resolveDeltasResponse=n;function a(u,f){return Object.assign(Object.assign(Object.assign({},u),f),{feature_gates:Object.assign(Object.assign({},u.feature_gates),f.feature_gates),layer_configs:Object.assign(Object.assign({},u.layer_configs),f.layer_configs),dynamic_configs:Object.assign(Object.assign({},u.dynamic_configs),f.dynamic_configs)})}function i(u){const f=u;return c(u.deleted_gates,f.feature_gates),delete f.deleted_gates,c(u.deleted_configs,f.dynamic_configs),delete f.deleted_configs,c(u.deleted_layers,f.layer_configs),delete f.deleted_layers,f}function c(u,f){u==null||u.forEach(d=>{delete f[d]})}},517365:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});const r=e(463338);class o{constructor(){this._rawValues=null,this._values=null,this._source="Uninitialized",this._lcut=0,this._receivedAt=0}reset(){this._values=null,this._rawValues=null,this._source="Loading",this._lcut=0,this._receivedAt=0}finalize(){this._values||(this._source="NoValues")}getValues(){return this._rawValues?(0,r._typedJsonParse)(this._rawValues,"has_updates","EvaluationStoreValues"):null}setValues(a){if(!a)return!1;const i=(0,r._typedJsonParse)(a.data,"has_updates","EvaluationResponse");return i==null?!1:(this._source=a.source,(i==null?void 0:i.has_updates)!==!0||(this._rawValues=a.data,this._lcut=i.time,this._receivedAt=a.receivedAt,this._values=i),!0)}getGate(a){var i;return this._getDetailedStoreResult((i=this._values)===null||i===void 0?void 0:i.feature_gates,a)}getConfig(a){var i;return this._getDetailedStoreResult((i=this._values)===null||i===void 0?void 0:i.dynamic_configs,a)}getLayer(a){var i;return this._getDetailedStoreResult((i=this._values)===null||i===void 0?void 0:i.layer_configs,a)}getParamStore(a){var i;return this._getDetailedStoreResult((i=this._values)===null||i===void 0?void 0:i.param_stores,a)}_getDetailedStoreResult(a,i){let c=null;return a&&(c=a[i]?a[i]:a[(0,r._DJB2)(i)]),{result:c,details:this._getDetails(c==null)}}getCurrentSourceDetails(){return this._source==="Uninitialized"||this._source==="NoValues"?{reason:this._source}:{reason:this._source,lcut:this._lcut,receivedAt:this._receivedAt}}_getDetails(a){const i=this.getCurrentSourceDetails();let c=i.reason;return c!=="Uninitialized"&&c!=="NoValues"&&(c=`${c}:${a?"Unrecognized":"Recognized"}`),Object.assign(Object.assign({},i),{reason:c})}}l.default=o},149324:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(i,c,u,f){function d(h){return h instanceof u?h:new u(function(g){g(h)})}return new(u||(u=Promise))(function(h,g){function _(O){try{y(f.next(O))}catch(P){g(P)}}function p(O){try{y(f.throw(O))}catch(P){g(P)}}function y(O){O.done?h(O.value):d(O.value).then(_,p)}y((f=f.apply(i,c||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0});const o=e(463338),n=e(697338);class a extends o.NetworkCore{constructor(c,u){super(c,u);const f=c==null?void 0:c.networkConfig;this._initializeUrl=(0,o._getOverridableUrl)(f==null?void 0:f.initializeUrl,f==null?void 0:f.api,"/initialize",o.NetworkDefault.initializeApi)}fetchEvaluations(c,u,f,d){return r(this,void 0,void 0,function*(){const h=u?(0,o._typedJsonParse)(u,"has_updates","InitializeResponse"):null;let g={user:d,hash:"djb2",deltasResponseRequested:!1};return h!=null&&h.has_updates&&(g=Object.assign(Object.assign({},g),{sinceTime:h.time,previousDerivedFields:"derived_fields"in h?h.derived_fields:{},deltasResponseRequested:!0})),this._fetchEvaluations(c,h,g,f)})}_fetchEvaluations(c,u,f,d){var h,g;return r(this,void 0,void 0,function*(){const _=yield this.post({sdkKey:c,url:this._initializeUrl,data:f,retries:2,isStatsigEncodable:!0,priority:d,isInitialize:!0});if((_==null?void 0:_.code)===204)return'{"has_updates": false}';if((_==null?void 0:_.code)!==200)return(h=_==null?void 0:_.body)!==null&&h!==void 0?h:null;if((u==null?void 0:u.has_updates)!==!0||((g=_.body)===null||g===void 0?void 0:g.includes('"is_delta":true'))!==!0||f.deltasResponseRequested!==!0)return _.body;const p=(0,n._resolveDeltasResponse)(u,_.body);return typeof p=="string"?p:this._fetchEvaluations(c,u,Object.assign(Object.assign(Object.assign({},f),p),{deltasResponseRequested:!1}),d)})}}l.default=a},477334:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._makeParamStoreGetter=void 0;const r=e(463338),o={disableExposureLog:!0};function n(g){return g==null||g.disableExposureLog===!1}function a(g,_){return _!=null&&!(0,r._isTypeMatch)(g,_)}function i(g,_){return g.value}function c(g,_,p){return g.getFeatureGate(_.gate_name,n(p)?void 0:o).value?_.pass_value:_.fail_value}function u(g,_,p,y){const P=g.getDynamicConfig(_.config_name,o).get(_.param_name);return a(P,p)?p:(n(y)&&g.getDynamicConfig(_.config_name),P)}function f(g,_,p,y){const P=g.getExperiment(_.experiment_name,o).get(_.param_name);return a(P,p)?p:(n(y)&&g.getExperiment(_.experiment_name),P)}function d(g,_,p,y){const P=g.getLayer(_.layer_name,o).get(_.param_name);return a(P,p)?p:(n(y)&&g.getLayer(_.layer_name).get(_.param_name),P)}function h(g,_,p){return(y,O)=>{if(_==null)return O;const P=_[y];if(P==null||O!=null&&(0,r._typeOf)(O)!==P.param_type)return O;switch(P.ref_type){case"static":return i(P,p);case"gate":return c(g,P,p);case"dynamic_config":return u(g,P,O,p);case"experiment":return f(g,P,O,p);case"layer":return d(g,P,O,p);default:return O}}}l._makeParamStoreGetter=h},62103:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(f,d,h,g){function _(p){return p instanceof h?p:new h(function(y){y(p)})}return new(h||(h=Promise))(function(p,y){function O(A){try{C(g.next(A))}catch(S){y(S)}}function P(A){try{C(g.throw(A))}catch(S){y(S)}}function C(A){A.done?p(A.value):_(A.value).then(O,P)}C((g=g.apply(f,d||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0});const o=e(463338),n=e(517365),a=e(149324),i=e(477334),c=e(724356);class u extends o.StatsigClientBase{static instance(d){const h=(0,o._getStatsigGlobal)().instance(d);return h instanceof u?h:(o.Log.warn((0,o._isServerEnv)()?"StatsigClient.instance is not supported in server environments":"Unable to find StatsigClient instance"),new u(d??"",{}))}constructor(d,h,g=null){var _;o.SDKType._setClientType(d,"javascript-client");const p=new a.default(g,y=>{this.$emt(y)});super(d,(_=g==null?void 0:g.dataAdapter)!==null&&_!==void 0?_:new c.StatsigEvaluationsDataAdapter,p,g),this._store=new n.default,this._user=(0,o._normalizeUser)(h,g)}initializeSync(d){this._logger.start(),this.updateUserSync(this._user,d)}initializeAsync(d){return r(this,void 0,void 0,function*(){return o.Storage.isReady()||(yield o.Storage.isReadyResolver()),this._logger.start(),this.updateUserAsync(this._user,d)})}updateUserSync(d,h){this._resetForUser(d);const g=this.dataAdapter.getDataSync(this._user);this._store.setValues(g),this._finalizeUpdate(g),h!=null&&h.disableBackgroundCacheRefresh||this._runPostUpdate(g??null,this._user)}updateUserAsync(d,h){return r(this,void 0,void 0,function*(){this._resetForUser(d);const g=this._user;o.Diagnostics._markInitOverallStart(this._sdkKey);let _=this.dataAdapter.getDataSync(g);if(this._store.setValues(_),this._setStatus("Loading",_),_=yield this.dataAdapter.getDataAsync(_,g,h),g!==this._user)return;let p=!1;_!=null&&(o.Diagnostics._markInitProcessStart(this._sdkKey),p=this._store.setValues(_),o.Diagnostics._markInitProcessEnd(this._sdkKey,{success:p})),this._finalizeUpdate(_),o.Diagnostics._markInitOverallEnd(this._sdkKey,p,this._store.getCurrentSourceDetails()),o.Diagnostics._enqueueDiagnosticsEvent(this._user,this._logger,this._sdkKey,this._options)})}getContext(){return{sdkKey:this._sdkKey,options:this._options,values:this._store.getValues(),user:JSON.parse(JSON.stringify(this._user)),errorBoundary:this._errorBoundary,session:o.StatsigSession.get(this._sdkKey),stableID:o.StableID.get(this._sdkKey)}}checkGate(d,h){return this.getFeatureGate(d,h).value}getFeatureGate(d,h){var g,_;const{result:p,details:y}=this._store.getGate(d),O=(0,o._makeFeatureGate)(d,y,p),P=(_=(g=this.overrideAdapter)===null||g===void 0?void 0:g.getGateOverride)===null||_===void 0?void 0:_.call(g,O,this._user,h),C=P??O;return this._enqueueExposure(d,(0,o._createGateExposure)(this._user,C),h),this.$emt({name:"gate_evaluation",gate:C}),C}getDynamicConfig(d,h){var g,_;const{result:p,details:y}=this._store.getConfig(d),O=(0,o._makeDynamicConfig)(d,y,p),P=(_=(g=this.overrideAdapter)===null||g===void 0?void 0:g.getDynamicConfigOverride)===null||_===void 0?void 0:_.call(g,O,this._user,h),C=P??O;return this._enqueueExposure(d,(0,o._createConfigExposure)(this._user,C),h),this.$emt({name:"dynamic_config_evaluation",dynamicConfig:C}),C}getExperiment(d,h){var g,_;const{result:p,details:y}=this._store.getConfig(d),O=(0,o._makeExperiment)(d,y,p),P=(_=(g=this.overrideAdapter)===null||g===void 0?void 0:g.getExperimentOverride)===null||_===void 0?void 0:_.call(g,O,this._user,h),C=P??O;return this._enqueueExposure(d,(0,o._createConfigExposure)(this._user,C),h),this.$emt({name:"experiment_evaluation",experiment:C}),C}getLayer(d,h){var g,_,p;const{result:y,details:O}=this._store.getLayer(d),P=(0,o._makeLayer)(d,O,y),C=(_=(g=this.overrideAdapter)===null||g===void 0?void 0:g.getLayerOverride)===null||_===void 0?void 0:_.call(g,P,this._user,h),A=(0,o._mergeOverride)(P,C,(p=C==null?void 0:C.__value)!==null&&p!==void 0?p:P.__value,S=>{this._enqueueExposure(d,(0,o._createLayerParameterExposure)(this._user,A,S),h)});return this.$emt({name:"layer_evaluation",layer:A}),A}getParameterStore(d,h){const{result:g,details:_}=this._store.getParamStore(d);return this._logger.incrementNonExposureCount(d),{name:d,details:_,__configuration:g,get:(0,i._makeParamStoreGetter)(this,g,h)}}logEvent(d,h,g){const _=typeof d=="string"?{eventName:d,value:h,metadata:g}:d;this._logger.enqueue(Object.assign(Object.assign({},_),{user:this._user,time:Date.now()}))}_primeReadyRipcord(){this.$on("error",()=>{this.loadingStatus==="Loading"&&this._finalizeUpdate(null)})}_finalizeUpdate(d){this._store.finalize(),this._setStatus("Ready",d)}_runPostUpdate(d,h){this.dataAdapter.getDataAsync(d,h,{priority:"low"}).catch(g=>{o.Log.error("An error occurred after update.",g)})}_resetForUser(d){var h;this._logger.reset(),this._store.reset(),this._user=(0,o._normalizeUser)(d,this._options);const g=(h=this._user.customIDs)===null||h===void 0?void 0:h.stableID;g&&o.StableID.setOverride(g,this._sdkKey)}}l.default=u},724356:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(i,c,u,f){function d(h){return h instanceof u?h:new u(function(g){g(h)})}return new(u||(u=Promise))(function(h,g){function _(O){try{y(f.next(O))}catch(P){g(P)}}function p(O){try{y(f.throw(O))}catch(P){g(P)}}function y(O){O.done?h(O.value):d(O.value).then(_,p)}y((f=f.apply(i,c||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l.StatsigEvaluationsDataAdapter=void 0;const o=e(463338),n=e(149324);class a extends o.DataAdapterCore{constructor(){super("EvaluationsDataAdapter","evaluations"),this._network=null,this._options=null}attach(c,u){super.attach(c,u),this._network=new n.default(u??{})}getDataAsync(c,u,f){return this._getDataAsyncImpl(c,(0,o._normalizeUser)(u,this._options),f)}prefetchData(c,u){return this._prefetchDataImpl(c,u)}setData(c){const u=(0,o._typedJsonParse)(c,"has_updates","data");u&&"user"in u?super.setData(c,u.user):o.Log.error("StatsigUser not found")}setDataLegacy(c,u){super.setData(c,u)}_fetchFromNetwork(c,u,f){var d;return r(this,void 0,void 0,function*(){const h=yield(d=this._network)===null||d===void 0?void 0:d.fetchEvaluations(this._getSdkKey(),c,f==null?void 0:f.priority,u);return h??null})}_getCacheKey(c){var u;const f=(0,o._getStorageKey)(this._getSdkKey(),c,(u=this._options)===null||u===void 0?void 0:u.customUserCacheKeyFunc);return`${o.DataAdapterCachePrefix}.${this._cacheSuffix}.${f}`}_isCachedResultValidFor204(c,u){return c.fullUserHash!=null&&c.fullUserHash===(0,o._getFullUserHash)(u)}}l.StatsigEvaluationsDataAdapter=a},208848:function(b,l,e){"use strict";var r;r={value:!0},l.StatsigClient=void 0;const o=e(62103);l.StatsigClient=o.default,__STATSIG__=Object.assign(Object.assign({},__STATSIG__!=null?__STATSIG__:{}),{StatsigClient:o.default}),r=__STATSIG__},976970:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._resolveDeltasResponse=void 0;const r=e(675299),o=2;function n(u,f){const d=(0,r._typedJsonParse)(f,"checksum","DeltasEvaluationResponse");if(!d)return{hadBadDeltaChecksum:!0};const h=a(u,d),g=i(h),_=(0,r._DJB2Object)({feature_gates:g.feature_gates,dynamic_configs:g.dynamic_configs,layer_configs:g.layer_configs},o);return _===d.checksumV2?JSON.stringify(g):{hadBadDeltaChecksum:!0,badChecksum:_,badMergedConfigs:g,badFullResponse:d.deltas_full_response}}l._resolveDeltasResponse=n;function a(u,f){return Object.assign(Object.assign(Object.assign({},u),f),{feature_gates:Object.assign(Object.assign({},u.feature_gates),f.feature_gates),layer_configs:Object.assign(Object.assign({},u.layer_configs),f.layer_configs),dynamic_configs:Object.assign(Object.assign({},u.dynamic_configs),f.dynamic_configs)})}function i(u){const f=u;return c(u.deleted_gates,f.feature_gates),delete f.deleted_gates,c(u.deleted_configs,f.dynamic_configs),delete f.deleted_configs,c(u.deleted_layers,f.layer_configs),delete f.deleted_layers,f}function c(u,f){u==null||u.forEach(d=>{delete f[d]})}},389811:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});const r=e(675299);class o{constructor(a){this._sdkKey=a,this._rawValues=null,this._values=null,this._source="Uninitialized",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings=new Set}reset(){this._values=null,this._rawValues=null,this._source="Loading",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null}finalize(){this._values||(this._source="NoValues")}getValues(){return this._rawValues?(0,r._typedJsonParse)(this._rawValues,"has_updates","EvaluationStoreValues"):null}setValues(a,i){var c;if(!a)return!1;const u=(0,r._typedJsonParse)(a.data,"has_updates","EvaluationResponse");return u==null?!1:(this._source=a.source,(u==null?void 0:u.has_updates)!==!0||(this._rawValues=a.data,this._lcut=u.time,this._receivedAt=a.receivedAt,this._values=u,this._bootstrapMetadata=this._extractBootstrapMetadata(a.source,u),a.source&&u.user&&this._setWarningState(i,u),r.SDKFlags.setFlags(this._sdkKey,(c=u.sdk_flags)!==null&&c!==void 0?c:{})),!0)}getWarnings(){if(this._warnings.size!==0)return Array.from(this._warnings)}getGate(a){var i;return this._getDetailedStoreResult((i=this._values)===null||i===void 0?void 0:i.feature_gates,a)}getConfig(a){var i;return this._getDetailedStoreResult((i=this._values)===null||i===void 0?void 0:i.dynamic_configs,a)}getLayer(a){var i;return this._getDetailedStoreResult((i=this._values)===null||i===void 0?void 0:i.layer_configs,a)}getParamStore(a){var i;return this._getDetailedStoreResult((i=this._values)===null||i===void 0?void 0:i.param_stores,a)}getSource(){return this._source}getExposureMapping(){var a;return(a=this._values)===null||a===void 0?void 0:a.exposures}_extractBootstrapMetadata(a,i){if(a!=="Bootstrap")return null;const c={};return i.user&&(c.user=i.user),i.sdkInfo&&(c.generatorSDKInfo=i.sdkInfo),c.lcut=i.time,c}_getDetailedStoreResult(a,i){let c=null;return a&&(c=a[i]?a[i]:a[(0,r._DJB2)(i)]),{result:c,details:this._getDetails(c==null)}}_setWarningState(a,i){var c;const u=r.StableID.get(this._sdkKey);if(((c=a.customIDs)===null||c===void 0?void 0:c.stableID)!==u){this._warnings.add("StableIDMismatch");return}if("user"in i){const f=i.user;(0,r._getFullUserHash)(a)!==(0,r._getFullUserHash)(f)&&this._warnings.add("PartialUserMatch")}}getCurrentSourceDetails(){if(this._source==="Uninitialized"||this._source==="NoValues")return{reason:this._source};const a={reason:this._source,lcut:this._lcut,receivedAt:this._receivedAt};return this._warnings.size>0&&(a.warnings=Array.from(this._warnings)),a}_getDetails(a){var i,c;const u=this.getCurrentSourceDetails();let f=u.reason;const d=(i=u.warnings)!==null&&i!==void 0?i:[];this._source==="Bootstrap"&&d.length>0&&(f=f+d[0]),f!=="Uninitialized"&&f!=="NoValues"&&(f=`${f}:${a?"Unrecognized":"Recognized"}`);const h=this._source==="Bootstrap"&&(c=this._bootstrapMetadata)!==null&&c!==void 0?c:void 0;return h&&(u.bootstrapMetadata=h),Object.assign(Object.assign({},u),{reason:f})}}l.default=o},567587:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(i,c,u,f){function d(h){return h instanceof u?h:new u(function(g){g(h)})}return new(u||(u=Promise))(function(h,g){function _(O){try{y(f.next(O))}catch(P){g(P)}}function p(O){try{y(f.throw(O))}catch(P){g(P)}}function y(O){O.done?h(O.value):d(O.value).then(_,p)}y((f=f.apply(i,c||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0});const o=e(675299),n=e(976970);class a extends o.NetworkCore{constructor(c,u){super(c,u);const f=c==null?void 0:c.networkConfig;this._option=c,this._initializeUrlConfig=new o.UrlConfiguration(o.Endpoint._initialize,f==null?void 0:f.initializeUrl,f==null?void 0:f.api,f==null?void 0:f.initializeFallbackUrls)}fetchEvaluations(c,u,f,d,h){var g,_,p,y,O,P;return r(this,void 0,void 0,function*(){const C=u?(0,o._typedJsonParse)(u,"has_updates","InitializeResponse"):null;let A={user:d,hash:(p=(_=(g=this._option)===null||g===void 0?void 0:g.networkConfig)===null||_===void 0?void 0:_.initializeHashAlgorithm)!==null&&p!==void 0?p:"djb2",deltasResponseRequested:!1,full_checksum:null};if(C!=null&&C.has_updates){const S=(C==null?void 0:C.hash_used)!==((P=(O=(y=this._option)===null||y===void 0?void 0:y.networkConfig)===null||O===void 0?void 0:O.initializeHashAlgorithm)!==null&&P!==void 0?P:"djb2");A=Object.assign(Object.assign({},A),{sinceTime:h&&!S?C.time:0,previousDerivedFields:"derived_fields"in C&&h?C.derived_fields:{},deltasResponseRequested:!0,full_checksum:C.full_checksum})}return this._fetchEvaluations(c,C,A,f)})}_fetchEvaluations(c,u,f,d){var h,g;return r(this,void 0,void 0,function*(){const _=yield this.post({sdkKey:c,urlConfig:this._initializeUrlConfig,data:f,retries:2,isStatsigEncodable:!0,priority:d});if((_==null?void 0:_.code)===204)return'{"has_updates": false}';if((_==null?void 0:_.code)!==200)return(h=_==null?void 0:_.body)!==null&&h!==void 0?h:null;if((u==null?void 0:u.has_updates)!==!0||((g=_.body)===null||g===void 0?void 0:g.includes('"is_delta":true'))!==!0||f.deltasResponseRequested!==!0)return _.body;const p=(0,n._resolveDeltasResponse)(u,_.body);return typeof p=="string"?p:this._fetchEvaluations(c,u,Object.assign(Object.assign(Object.assign({},f),p),{deltasResponseRequested:!1}),d)})}}l.default=a},901809:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l._makeParamStoreGetter=void 0;const r=e(675299),o={disableExposureLog:!0};function n(g){return g==null||g.disableExposureLog===!1}function a(g,_){return _!=null&&!(0,r._isTypeMatch)(g,_)}function i(g,_){return g.value}function c(g,_,p){return g.getFeatureGate(_.gate_name,n(p)?void 0:o).value?_.pass_value:_.fail_value}function u(g,_,p,y){const P=g.getDynamicConfig(_.config_name,o).get(_.param_name);return a(P,p)?p:(n(y)&&g.getDynamicConfig(_.config_name),P)}function f(g,_,p,y){const P=g.getExperiment(_.experiment_name,o).get(_.param_name);return a(P,p)?p:(n(y)&&g.getExperiment(_.experiment_name),P)}function d(g,_,p,y){const P=g.getLayer(_.layer_name,o).get(_.param_name);return a(P,p)?p:(n(y)&&g.getLayer(_.layer_name).get(_.param_name),P)}function h(g,_,p){return(y,O)=>{if(_==null)return O;const P=_[y];if(P==null||O!=null&&(0,r._typeOf)(O)!==P.param_type)return O;switch(P.ref_type){case"static":return i(P,p);case"gate":return c(g,P,p);case"dynamic_config":return u(g,P,O,p);case"experiment":return f(g,P,O,p);case"layer":return d(g,P,O,p);default:return O}}}l._makeParamStoreGetter=h},576251:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(f,d,h,g){function _(p){return p instanceof h?p:new h(function(y){y(p)})}return new(h||(h=Promise))(function(p,y){function O(A){try{C(g.next(A))}catch(S){y(S)}}function P(A){try{C(g.throw(A))}catch(S){y(S)}}function C(A){A.done?p(A.value):_(A.value).then(O,P)}C((g=g.apply(f,d||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0});const o=e(675299),n=e(389811),a=e(567587),i=e(901809),c=e(405473);class u extends o.StatsigClientBase{static instance(d){const h=(0,o._getStatsigGlobal)().instance(d);return h instanceof u?h:(o.Log.warn((0,o._isServerEnv)()?"StatsigClient.instance is not supported in server environments":"Unable to find StatsigClient instance"),new u(d??"",{}))}constructor(d,h,g=null){var _,p;o.SDKType._setClientType(d,"javascript-client");const y=new a.default(g,P=>{this.$emt(P)});super(d,(_=g==null?void 0:g.dataAdapter)!==null&&_!==void 0?_:new c.StatsigEvaluationsDataAdapter,y,g),this.getFeatureGate=this._memoize(o.MemoPrefix._gate,this._getFeatureGateImpl.bind(this)),this.getDynamicConfig=this._memoize(o.MemoPrefix._dynamicConfig,this._getDynamicConfigImpl.bind(this)),this.getExperiment=this._memoize(o.MemoPrefix._experiment,this._getExperimentImpl.bind(this)),this.getLayer=this._memoize(o.MemoPrefix._layer,this._getLayerImpl.bind(this)),this.getParameterStore=this._memoize(o.MemoPrefix._paramStore,this._getParameterStoreImpl.bind(this)),this._store=new n.default(d),this._network=y,this._user=this._configureUser(h,g);const O=(p=g==null?void 0:g.plugins)!==null&&p!==void 0?p:[];for(const P of O)P.bind(this)}initializeSync(d){var h;return this.loadingStatus!=="Uninitialized"?(0,o.createUpdateDetails)(!0,this._store.getSource(),-1,null,null,["MultipleInitializations",...(h=this._store.getWarnings())!==null&&h!==void 0?h:[]]):(this._logger.start(),this.updateUserSync(this._user,d))}initializeAsync(d){return r(this,void 0,void 0,function*(){return this._initializePromise?this._initializePromise:(this._initializePromise=this._initializeAsyncImpl(d),this._initializePromise)})}updateUserSync(d,h){var g;const _=performance.now(),p=[...(g=this._store.getWarnings())!==null&&g!==void 0?g:[]];this._resetForUser(d);const y=this.dataAdapter.getDataSync(this._user);y==null&&p.push("NoCachedValues"),this._store.setValues(y,this._user),this._finalizeUpdate(y);const O=h==null?void 0:h.disableBackgroundCacheRefresh;return O===!0||O==null&&(y==null?void 0:y.source)==="Bootstrap"?(0,o.createUpdateDetails)(!0,this._store.getSource(),performance.now()-_,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),p):(this._runPostUpdate(y??null,this._user),(0,o.createUpdateDetails)(!0,this._store.getSource(),performance.now()-_,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),p))}updateUserAsync(d,h){return r(this,void 0,void 0,function*(){this._resetForUser(d);const g=this._user;o.Diagnostics._markInitOverallStart(this._sdkKey);let _=this.dataAdapter.getDataSync(g);if(this._store.setValues(_,this._user),this._setStatus("Loading",_),_=yield this.dataAdapter.getDataAsync(_,g,h),g!==this._user)return(0,o.createUpdateDetails)(!1,this._store.getSource(),-1,new Error("User changed during update"),this._network.getLastUsedInitUrlAndReset());let p=!1;_!=null&&(o.Diagnostics._markInitProcessStart(this._sdkKey),p=this._store.setValues(_,this._user),o.Diagnostics._markInitProcessEnd(this._sdkKey,{success:p})),this._finalizeUpdate(_),p||(this._errorBoundary.attachErrorIfNoneExists(o.UPDATE_DETAIL_ERROR_MESSAGES.NO_NETWORK_DATA),this.$emt({name:"initialization_failure"})),o.Diagnostics._markInitOverallEnd(this._sdkKey,p,this._store.getCurrentSourceDetails());const y=o.Diagnostics._enqueueDiagnosticsEvent(this._user,this._logger,this._sdkKey,this._options);return(0,o.createUpdateDetails)(p,this._store.getSource(),y,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),this._store.getWarnings())})}getContext(){return{sdkKey:this._sdkKey,options:this._options,values:this._store.getValues(),user:JSON.parse(JSON.stringify(this._user)),errorBoundary:this._errorBoundary,session:o.StatsigSession.get(this._sdkKey),stableID:o.StableID.get(this._sdkKey)}}checkGate(d,h){return this.getFeatureGate(d,h).value}logEvent(d,h,g){const _=typeof d=="string"?{eventName:d,value:h,metadata:g}:d;this._logger.enqueue(Object.assign(Object.assign({},_),{user:this._user,time:Date.now()}))}_primeReadyRipcord(){this.$on("error",()=>{this.loadingStatus==="Loading"&&this._finalizeUpdate(null)})}_initializeAsyncImpl(d){return r(this,void 0,void 0,function*(){return o.Storage.isReady()||(yield o.Storage.isReadyResolver()),this._logger.start(),this.updateUserAsync(this._user,d)})}_finalizeUpdate(d){this._store.finalize(),this._setStatus("Ready",d)}_runPostUpdate(d,h){this.dataAdapter.getDataAsync(d,h,{priority:"low"}).catch(g=>{o.Log.error("An error occurred after update.",g)})}_resetForUser(d){this._logger.reset(),this._store.reset(),this._user=this._configureUser(d,this._options)}_configureUser(d,h){var g;const _=(0,o._normalizeUser)(d,h),p=(g=_.customIDs)===null||g===void 0?void 0:g.stableID;return p&&o.StableID.setOverride(p,this._sdkKey),_}_getFeatureGateImpl(d,h){var g,_;const{result:p,details:y}=this._store.getGate(d),O=(0,o._makeFeatureGate)(d,y,p),P=(_=(g=this.overrideAdapter)===null||g===void 0?void 0:g.getGateOverride)===null||_===void 0?void 0:_.call(g,O,this._user,h),C=P??O;return this._enqueueExposure(d,(0,o._createGateExposure)(this._user,C,this._store.getExposureMapping()),h),this.$emt({name:"gate_evaluation",gate:C}),C}_getDynamicConfigImpl(d,h){var g,_;const{result:p,details:y}=this._store.getConfig(d),O=(0,o._makeDynamicConfig)(d,y,p),P=(_=(g=this.overrideAdapter)===null||g===void 0?void 0:g.getDynamicConfigOverride)===null||_===void 0?void 0:_.call(g,O,this._user,h),C=P??O;return this._enqueueExposure(d,(0,o._createConfigExposure)(this._user,C,this._store.getExposureMapping()),h),this.$emt({name:"dynamic_config_evaluation",dynamicConfig:C}),C}_getExperimentImpl(d,h){var g,_,p,y;const{result:O,details:P}=this._store.getConfig(d),C=(0,o._makeExperiment)(d,P,O);C.__evaluation!=null&&(C.__evaluation.secondary_exposures=(0,o._mapExposures)((_=(g=C.__evaluation)===null||g===void 0?void 0:g.secondary_exposures)!==null&&_!==void 0?_:[],this._store.getExposureMapping()));const A=(y=(p=this.overrideAdapter)===null||p===void 0?void 0:p.getExperimentOverride)===null||y===void 0?void 0:y.call(p,C,this._user,h),S=A??C;return this._enqueueExposure(d,(0,o._createConfigExposure)(this._user,S,this._store.getExposureMapping()),h),this.$emt({name:"experiment_evaluation",experiment:S}),S}_getLayerImpl(d,h){var g,_,p;const{result:y,details:O}=this._store.getLayer(d),P=(0,o._makeLayer)(d,O,y),C=(_=(g=this.overrideAdapter)===null||g===void 0?void 0:g.getLayerOverride)===null||_===void 0?void 0:_.call(g,P,this._user,h);h!=null&&h.disableExposureLog&&this._logger.incrementNonExposureCount(d);const A=(0,o._mergeOverride)(P,C,(p=C==null?void 0:C.__value)!==null&&p!==void 0?p:P.__value,S=>{h!=null&&h.disableExposureLog||this._enqueueExposure(d,(0,o._createLayerParameterExposure)(this._user,A,S,this._store.getExposureMapping()),h)});return this.$emt({name:"layer_evaluation",layer:A}),A}_getParameterStoreImpl(d,h){var g,_;const{result:p,details:y}=this._store.getParamStore(d);this._logger.incrementNonExposureCount(d);const O={name:d,details:y,__configuration:p,get:(0,i._makeParamStoreGetter)(this,p,h)},P=(_=(g=this.overrideAdapter)===null||g===void 0?void 0:g.getParamStoreOverride)===null||_===void 0?void 0:_.call(g,O,h);return P!=null&&(O.__configuration=P.config,O.details=P.details,O.get=(0,i._makeParamStoreGetter)(this,P.config,h)),O}}l.default=u},405473:function(b,l,e){"use strict";var r=this&&this.__awaiter||function(i,c,u,f){function d(h){return h instanceof u?h:new u(function(g){g(h)})}return new(u||(u=Promise))(function(h,g){function _(O){try{y(f.next(O))}catch(P){g(P)}}function p(O){try{y(f.throw(O))}catch(P){g(P)}}function y(O){O.done?h(O.value):d(O.value).then(_,p)}y((f=f.apply(i,c||[])).next())})};Object.defineProperty(l,"__esModule",{value:!0}),l.StatsigEvaluationsDataAdapter=void 0;const o=e(675299),n=e(567587);class a extends o.DataAdapterCore{constructor(){super("EvaluationsDataAdapter","evaluations"),this._network=null,this._options=null}attach(c,u,f){super.attach(c,u,f),f!==null&&f instanceof n.default?this._network=f:this._network=new n.default(u??{})}getDataAsync(c,u,f){return this._getDataAsyncImpl(c,(0,o._normalizeUser)(u,this._options),f)}prefetchData(c,u){return this._prefetchDataImpl(c,u)}setData(c){const u=(0,o._typedJsonParse)(c,"has_updates","data");u&&"user"in u?super.setData(c,u.user):o.Log.error("StatsigUser not found. You may be using an older server SDK version. Please upgrade your SDK or use setDataLegacy.")}setDataLegacy(c,u){super.setData(c,u)}_fetchFromNetwork(c,u,f,d){var h;return r(this,void 0,void 0,function*(){const g=yield(h=this._network)===null||h===void 0?void 0:h.fetchEvaluations(this._getSdkKey(),c,f==null?void 0:f.priority,u,d);return g??null})}_getCacheKey(c){var u;const f=(0,o._getStorageKey)(this._getSdkKey(),c,(u=this._options)===null||u===void 0?void 0:u.customUserCacheKeyFunc);return`${o.DataAdapterCachePrefix}.${this._cacheSuffix}.${f}`}_isCachedResultValidFor204(c,u){return c.fullUserHash!=null&&c.fullUserHash===(0,o._getFullUserHash)(u)}}l.StatsigEvaluationsDataAdapter=a},324615:function(b,l,e){"use strict";var r=this&&this.__createBinding||(Object.create?function(a,i,c,u){u===void 0&&(u=c);var f=Object.getOwnPropertyDescriptor(i,c);(!f||("get"in f?!i.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return i[c]}}),Object.defineProperty(a,u,f)}:function(a,i,c,u){u===void 0&&(u=c),a[u]=i[c]}),o=this&&this.__exportStar||function(a,i){for(var c in a)c!=="default"&&!Object.prototype.hasOwnProperty.call(i,c)&&r(i,a,c)};Object.defineProperty(l,"__esModule",{value:!0}),l.StatsigClient=void 0;const n=e(576251);l.StatsigClient=n.default,o(e(675299),l),__STATSIG__=Object.assign(Object.assign({},__STATSIG__!=null?__STATSIG__:{}),{StatsigClient:n.default}),l.default=__STATSIG__},339212:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isNoopClient=l.NoopEvaluationsClient=void 0;const r=e(675299),o={success:!1,error:Error("NoClient"),duration:0,source:"Uninitialized",sourceUrl:null},n=()=>{},a=()=>o,i=()=>Promise.resolve(),c=()=>Promise.resolve(o),u={reason:"Error:NoClient"},f=p=>(...y)=>{const O=typeof y[0]=="string"?y[0]:y[1];switch(p){case"gate":return(0,r._makeFeatureGate)(O,u,null);case"config":return(0,r._makeDynamicConfig)(O,u,null);case"layer":return(0,r._makeLayer)(O,u,null);case"param_store":return{name:O}}},d={attach:n,getDataSync:()=>null,getDataAsync:()=>Promise.resolve(null),setData:n,setDataLegacy:n,prefetchData:i},h={sdkKey:"",options:{},values:null,user:{userID:""},errorBoundary:{},session:{data:{sessionID:"",startTime:0,lastUpdate:0},sdkKey:""},stableID:"",storageProvider:r.Storage},g={isNoop:!0,loadingStatus:"Uninitialized",initializeSync:a,initializeAsync:c,shutdown:i,flush:i,updateRuntimeOptions:n,updateUserSync:a,updateUserAsync:c,getContext:()=>Object.assign({},h),checkGate:()=>!1,getFeatureGate:f("gate"),getDynamicConfig:f("config"),getExperiment:f("config"),getLayer:f("layer"),getParameterStore:f("param_store"),logEvent:n,on:n,off:n,$on:n,$emt:n,dataAdapter:d};l.NoopEvaluationsClient=g;function _(p){return"isNoop"in p}l.isNoopClient=_},761516:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});const r=e(174161),o=e(339212);l.default=(0,r.createContext)({renderVersion:0,client:o.NoopEvaluationsClient})},651710:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.StatsigProvider=void 0;const r=e(205843),o=e(174161),n=e(675299),a=e(761516),i=e(155029);function c(f){const[d,h]=(0,o.useState)(0),g="client"in f?f.client:(0,i.useClientAsyncInit)(f.sdkKey,f.user,f.options).client;(0,o.useEffect)(()=>{const p=()=>{h(y=>y+1)};return n.SDKType._setBindingType("react"),g.$on("values_updated",p),()=>{g.flush().catch(y=>n.Log.error("An error occured during flush",y)),g.off("values_updated",p)}},[g]);const _=(0,o.useMemo)(()=>({renderVersion:d,client:g}),[d,g]);return(0,r.jsx)(a.default.Provider,{value:_,children:f.loadingComponent==null||u(g)?f.children:f.loadingComponent})}l.StatsigProvider=c;function u(f){if("isNoop"in f)return!0;switch(f.loadingStatus){case"Ready":return!0;default:return!1}}},859817:function(b,l,e){"use strict";var r=this&&this.__createBinding||(Object.create?function(C,A,S,T){T===void 0&&(T=S);var s=Object.getOwnPropertyDescriptor(A,S);(!s||("get"in s?!A.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return A[S]}}),Object.defineProperty(C,T,s)}:function(C,A,S,T){T===void 0&&(T=S),C[T]=A[S]}),o=this&&this.__exportStar||function(C,A){for(var S in C)S!=="default"&&!Object.prototype.hasOwnProperty.call(A,S)&&r(A,C,S)};Object.defineProperty(l,"__esModule",{value:!0}),l.useStatsigUser=l.useStatsigInternalClientFactoryBootstrap=l.useStatsigInternalClientFactoryAsync=l.useStatsigClient=l.useParameterStore=l.useLayer=l.useGateValue=l.useFeatureGate=l.useExperiment=l.useDynamicConfig=l.useClientBootstrapInit=l.useClientAsyncInit=l.StatsigProvider=l.StatsigContext=void 0;const n=e(761516);l.StatsigContext=n.default;const a=e(651710);Object.defineProperty(l,"StatsigProvider",{enumerable:!0,get:function(){return a.StatsigProvider}});const i=e(155029);Object.defineProperty(l,"useClientAsyncInit",{enumerable:!0,get:function(){return i.useClientAsyncInit}});const c=e(419279);Object.defineProperty(l,"useClientBootstrapInit",{enumerable:!0,get:function(){return c.useClientBootstrapInit}});const u=e(974195);l.useDynamicConfig=u.default;const f=e(918401);l.useExperiment=f.default;const d=e(85292);l.useFeatureGate=d.default;const h=e(502917);l.useGateValue=h.default;const g=e(792099);l.useLayer=g.default;const _=e(717003);l.useParameterStore=_.default;const p=e(460469);Object.defineProperty(l,"useStatsigClient",{enumerable:!0,get:function(){return p.useStatsigClient}});const y=e(390467);Object.defineProperty(l,"useStatsigInternalClientFactoryAsync",{enumerable:!0,get:function(){return y.useStatsigInternalClientFactoryAsync}});const O=e(519791);Object.defineProperty(l,"useStatsigInternalClientFactoryBootstrap",{enumerable:!0,get:function(){return O.useStatsigInternalClientFactoryBootstrap}});const P=e(858366);Object.defineProperty(l,"useStatsigUser",{enumerable:!0,get:function(){return P.useStatsigUser}}),o(e(324615),l),__STATSIG__=Object.assign(Object.assign({},__STATSIG__!=null?__STATSIG__:{}),{StatsigContext:n.default,StatsigProvider:a.StatsigProvider,useClientAsyncInit:i.useClientAsyncInit,useClientBootstrapInit:c.useClientBootstrapInit,useDynamicConfig:u.default,useExperiment:f.default,useFeatureGate:d.default,useGateValue:h.default,useLayer:g.default,useParameterStore:_.default,useStatsigClient:p.useStatsigClient,useStatsigInternalClientFactoryAsync:y.useStatsigInternalClientFactoryAsync,useStatsigInternalClientFactoryBootstrap:O.useStatsigInternalClientFactoryBootstrap,useStatsigUser:P.useStatsigUser})},155029:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.useClientAsyncInit=void 0;const r=e(324615),o=e(390467);function n(a,i,c=null){return(0,o.useStatsigInternalClientFactoryAsync)(u=>new r.StatsigClient(u.sdkKey,u.initialUser,u.statsigOptions),{sdkKey:a,initialUser:i,statsigOptions:c})}l.useClientAsyncInit=n},419279:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.useClientBootstrapInit=void 0;const r=e(324615),o=e(519791);function n(a,i,c,u=null){return(0,o.useStatsigInternalClientFactoryBootstrap)(f=>new r.StatsigClient(f.sdkKey,f.initialUser,f.statsigOptions),{sdkKey:a,initialUser:i,initialValues:c,statsigOptions:u})}l.useClientBootstrapInit=n},974195:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});const r=e(174161),o=e(675299),n=e(339212),a=e(761516);function i(c,u){const{client:f,renderVersion:d}=(0,r.useContext)(a.default);return(0,r.useMemo)(()=>(0,n.isNoopClient)(f)?(o.Log.warn(`useDynamicConfig hook failed to find a valid StatsigClient for dynamic config '${c}'.`),n.NoopEvaluationsClient.getDynamicConfig(c,u)):f.getDynamicConfig(c,u),[c,f,d,...u?Object.values(u):[]])}l.default=i},918401:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});const r=e(174161),o=e(675299),n=e(339212),a=e(761516);function i(c,u){const{client:f,renderVersion:d}=(0,r.useContext)(a.default);return(0,r.useMemo)(()=>(0,n.isNoopClient)(f)?(o.Log.warn(`useExperiment hook failed to find a valid Statsig client for experiment '${c}'.`),n.NoopEvaluationsClient.getExperiment(c,u)):f.getExperiment(c,u),[c,f,d,...u?Object.values(u):[]])}l.default=i},85292:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});const r=e(174161),o=e(675299),n=e(339212),a=e(761516);function i(c,u){const{client:f,renderVersion:d}=(0,r.useContext)(a.default);return(0,r.useMemo)(()=>(0,n.isNoopClient)(f)?(o.Log.warn(`useFeatureGate hook failed to find a valid StatsigClient for gate '${c}'.`),n.NoopEvaluationsClient.getFeatureGate(c,u)):f.getFeatureGate(c,u),[c,f,d,...u?Object.values(u):[]])}l.default=i},502917:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});const r=e(174161),o=e(675299),n=e(339212),a=e(761516);function i(c,u){const{client:f,renderVersion:d}=(0,r.useContext)(a.default);return(0,r.useMemo)(()=>(0,n.isNoopClient)(f)?(o.Log.warn(`useGateValue hook failed to find a valid StatsigClient for gate '${c}'.`),n.NoopEvaluationsClient.checkGate(c,u)):f.checkGate(c,u),[c,f,d,...u?Object.values(u):[]])}l.default=i},792099:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});const r=e(174161),o=e(675299),n=e(339212),a=e(761516);function i(c,u){const{client:f,renderVersion:d}=(0,r.useContext)(a.default);return(0,r.useMemo)(()=>(0,n.isNoopClient)(f)?(o.Log.warn(`useLayer hook failed to find a valid Statsig client for layer '${c}'.`),n.NoopEvaluationsClient.getLayer(c,u)):f.getLayer(c,u),[c,f,d,...u?Object.values(u):[]])}l.default=i},717003:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});const r=e(174161),o=e(675299),n=e(339212),a=e(761516);function i(c,u){const{client:f,renderVersion:d}=(0,r.useContext)(a.default);return(0,r.useMemo)(()=>(0,n.isNoopClient)(f)?(o.Log.warn(`useParameterStore hook failed to find a valid StatsigClient for parameter store '${c}'.`),n.NoopEvaluationsClient.getParameterStore(c,u)):f.getParameterStore(c,u),[c,f,d,...u?Object.values(u):[]])}l.default=i},460469:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.useStatsigClient=void 0;const r=e(174161),o=e(675299),n=e(339212),a=e(761516);function i(){const{client:c,renderVersion:u}=(0,r.useContext)(a.default),f=(0,r.useMemo)(()=>(0,n.isNoopClient)(c)?(o.Log.warn("Attempting to retrieve a StatsigClient but none was set."),n.NoopEvaluationsClient):c,[c,u]),d=[f,u],h=(0,r.useCallback)((P,C)=>f.checkGate(P,C),d),g=(0,r.useCallback)((P,C)=>f.getFeatureGate(P,C),d),_=(0,r.useCallback)((P,C)=>f.getDynamicConfig(P,C),d),p=(0,r.useCallback)((P,C)=>f.getExperiment(P,C),d),y=(0,r.useCallback)((P,C)=>f.getLayer(P,C),d),O=(0,r.useCallback)((P,C,A)=>typeof P=="string"?f.logEvent(P,C,A):f.logEvent(P),d);return(0,r.useMemo)(()=>({client:f,checkGate:h,getFeatureGate:g,getDynamicConfig:_,getExperiment:p,getLayer:y,logEvent:O}),[f,h,g,_,p,y,O])}l.useStatsigClient=i},390467:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.useStatsigInternalClientFactoryAsync=void 0;const r=e(174161),o=e(675299);function n(a,i){const[c,u]=(0,r.useState)(!0),f=(0,r.useRef)((0,o._getInstance)(i.sdkKey));return{client:(0,r.useMemo)(()=>{if(f.current)return f.current.initializeAsync().catch(o.Log.error).finally(()=>u(!1)),f.current;const h=a(i);return f.current=h,h.initializeAsync().catch(o.Log.error).finally(()=>u(!1)),h},[]),isLoading:c}}l.useStatsigInternalClientFactoryAsync=n},519791:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.useStatsigInternalClientFactoryBootstrap=void 0;const r=e(174161),o=e(675299);function n(a,i){const c=(0,r.useRef)((0,o._getInstance)(i.sdkKey));return(0,r.useMemo)(()=>{if(c.current)return c.current;const u=a(i);return c.current=u,u.dataAdapter.setData(i.initialValues),u.initializeSync(),u},[])}l.useStatsigInternalClientFactoryBootstrap=n},858366:function(b,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.useStatsigUser=void 0;const r=e(174161),o=e(761516),n=e(460469);function a(){const{client:i}=(0,n.useStatsigClient)(),{renderVersion:c}=(0,r.useContext)(o.default),u=[i,c],f=(0,r.useMemo)(()=>i.getContext().user,u);return{user:f,updateUserSync:(0,r.useCallback)(d=>(typeof d=="function"&&(d=d(f)),i.updateUserSync(d)),u),updateUserAsync:(0,r.useCallback)(d=>(typeof d=="function"&&(d=d(f)),i.updateUserAsync(d)),u)}}l.useStatsigUser=a},805900:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(418674);function o(n,a,i){return(a=(0,r.Z)(a))in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}},397320:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(){return r=Object.assign?Object.assign.bind():function(o){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var i in a)({}).hasOwnProperty.call(a,i)&&(o[i]=a[i])}return o},r.apply(null,arguments)}},973420:function(b,l,e){"use strict";e.d(l,{Z:()=>o});var r=e(185104);function o(n,a){n.prototype=Object.create(a.prototype),n.prototype.constructor=n,(0,r.Z)(n,a)}},539474:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(o,n){if(o==null)return{};var a={};for(var i in o)if({}.hasOwnProperty.call(o,i)){if(n.indexOf(i)!==-1)continue;a[i]=o[i]}return a}},185104:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(o,n){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,i){return a.__proto__=i,a},r(o,n)}},418674:function(b,l,e){"use strict";e.d(l,{Z:()=>n});var r=e(581671);function o(a,i){if((0,r.Z)(a)!="object"||!a)return a;var c=a[Symbol.toPrimitive];if(c!==void 0){var u=c.call(a,i||"default");if((0,r.Z)(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(a)}function n(a){var i=o(a,"string");return(0,r.Z)(i)=="symbol"?i:i+""}},581671:function(b,l,e){"use strict";e.d(l,{Z:()=>r});function r(o){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r(o)}},554305:function(b,l,e){"use strict";e.d(l,{Gn:()=>U,K0:()=>B,Qf:()=>Yn,R_:()=>jn,SS:()=>M,Um:()=>Qt,c:()=>k,e7:()=>mt,mi:()=>on,n$:()=>Xt,nF:()=>Zn,nY:()=>fe,qz:()=>p,y1:()=>x});var r=e(776728),o=e(233158),n=e(317150),a=e(155307),i=e(274671),c;const u=new r.md;function f(Qe){return o.Facet.define({combine:Qe?Ye=>Ye.concat(Qe):void 0})}const d=new r.md;class h{constructor(Ye,yt,Ze=[],Mt=""){this.data=Ye,this.name=Mt,o.EditorState.prototype.hasOwnProperty("tree")||Object.defineProperty(o.EditorState.prototype,"tree",{get(){return p(this)}}),this.parser=yt,this.extension=[L.of(this),o.EditorState.languageData.of((ot,et,St)=>{let Ht=g(ot,et,St),er=Ht.type.prop(u);if(!er)return[];let Mr=ot.facet(er),mn=Ht.type.prop(d);if(mn){let Un=Ht.resolve(et-Ht.from,St);for(let hr of mn)if(hr.test(Un,ot)){let br=ot.facet(hr.facet);return hr.type=="replace"?br:br.concat(Mr)}}return Mr})].concat(Ze)}isActiveAt(Ye,yt,Ze=-1){return g(Ye,yt,Ze).type.prop(u)==this.data}findRegions(Ye){let yt=Ye.facet(L);if((yt==null?void 0:yt.data)==this.data)return[{from:0,to:Ye.doc.length}];if(!yt||!yt.allowsNesting)return[];let Ze=[],Mt=(ot,et)=>{if(ot.prop(u)==this.data){Ze.push({from:et,to:et+ot.length});return}let St=ot.prop(r.md.mounted);if(St){if(St.tree.prop(u)==this.data){if(St.overlay)for(let Ht of St.overlay)Ze.push({from:Ht.from+et,to:Ht.to+et});else Ze.push({from:et,to:et+ot.length});return}else if(St.overlay){let Ht=Ze.length;if(Mt(St.tree,St.overlay[0].from+et),Ze.length>Ht)return}}for(let Ht=0;Ht<ot.children.length;Ht++){let er=ot.children[Ht];er instanceof r.mp&&Mt(er,ot.positions[Ht]+et)}};return Mt(p(Ye),0),Ze}get allowsNesting(){return!0}}h.setState=o.StateEffect.define();function g(Qe,Ye,yt){let Ze=Qe.facet(L),Mt=p(Qe).topNode;if(!Ze||Ze.allowsNesting)for(let ot=Mt;ot;ot=ot.enter(Ye,yt,r.vj.ExcludeBuffers))ot.type.isTop&&(Mt=ot);return Mt}class _ extends h{constructor(Ye,yt,Ze){super(Ye,yt,[],Ze),this.parser=yt}static define(Ye){let yt=f(Ye.languageData);return new _(yt,Ye.parser.configure({props:[u.add(Ze=>Ze.isTop?yt:void 0)]}),Ye.name)}configure(Ye,yt){return new _(this.data,this.parser.configure(Ye),yt||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function p(Qe){let Ye=Qe.field(h.state,!1);return Ye?Ye.tree:r.mp.empty}function y(Qe,Ye,yt=50){var Ze;let Mt=(Ze=Qe.field(h.state,!1))===null||Ze===void 0?void 0:Ze.context;if(!Mt)return null;let ot=Mt.viewport;Mt.updateViewport({from:0,to:Ye});let et=Mt.isDone(Ye)||Mt.work(yt,Ye)?Mt.tree:null;return Mt.updateViewport(ot),et}function O(Qe,Ye=Qe.doc.length){var yt;return((yt=Qe.field(h.state,!1))===null||yt===void 0?void 0:yt.context.isDone(Ye))||!1}function P(Qe,Ye=Qe.viewport.to,yt=100){let Ze=y(Qe.state,Ye,yt);return Ze!=p(Qe.state)&&Qe.dispatch({}),!!Ze}function C(Qe){var Ye;return((Ye=Qe.plugin(I))===null||Ye===void 0?void 0:Ye.isWorking())||!1}class A{constructor(Ye){this.doc=Ye,this.cursorPos=0,this.string="",this.cursor=Ye.iter()}get length(){return this.doc.length}syncTo(Ye){return this.string=this.cursor.next(Ye-this.cursorPos).value,this.cursorPos=Ye+this.string.length,this.cursorPos-this.string.length}chunk(Ye){return this.syncTo(Ye),this.string}get lineChunks(){return!0}read(Ye,yt){let Ze=this.cursorPos-this.string.length;return Ye<Ze||yt>=this.cursorPos?this.doc.sliceString(Ye,yt):this.string.slice(Ye-Ze,yt-Ze)}}let S=null;class T{constructor(Ye,yt,Ze=[],Mt,ot,et,St,Ht){this.parser=Ye,this.state=yt,this.fragments=Ze,this.tree=Mt,this.treeLen=ot,this.viewport=et,this.skipped=St,this.scheduleOn=Ht,this.parse=null,this.tempSkipped=[]}static create(Ye,yt,Ze){return new T(Ye,yt,[],r.mp.empty,0,Ze,[],null)}startParse(){return this.parser.startParse(new A(this.state.doc),this.fragments)}work(Ye,yt){return yt!=null&&yt>=this.state.doc.length&&(yt=void 0),this.tree!=r.mp.empty&&this.isDone(yt??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var Ze;if(typeof Ye=="number"){let Mt=Date.now()+Ye;Ye=()=>Date.now()>Mt}for(this.parse||(this.parse=this.startParse()),yt!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>yt)&&yt<this.state.doc.length&&this.parse.stopAt(yt);;){let Mt=this.parse.advance();if(Mt)if(this.fragments=this.withoutTempSkipped(r.i9.addTree(Mt,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(Ze=this.parse.stoppedAt)!==null&&Ze!==void 0?Ze:this.state.doc.length,this.tree=Mt,this.parse=null,this.treeLen<(yt??this.state.doc.length))this.parse=this.startParse();else return!0;if(Ye())return!1}})}takeTree(){let Ye,yt;this.parse&&(Ye=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>Ye)&&this.parse.stopAt(Ye),this.withContext(()=>{for(;!(yt=this.parse.advance()););}),this.treeLen=Ye,this.tree=yt,this.fragments=this.withoutTempSkipped(r.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(Ye){let yt=S;S=this;try{return Ye()}finally{S=yt}}withoutTempSkipped(Ye){for(let yt;yt=this.tempSkipped.pop();)Ye=s(Ye,yt.from,yt.to);return Ye}changes(Ye,yt){let{fragments:Ze,tree:Mt,treeLen:ot,viewport:et,skipped:St}=this;if(this.takeTree(),!Ye.empty){let Ht=[];if(Ye.iterChangedRanges((er,Mr,mn,Un)=>Ht.push({fromA:er,toA:Mr,fromB:mn,toB:Un})),Ze=r.i9.applyChanges(Ze,Ht),Mt=r.mp.empty,ot=0,et={from:Ye.mapPos(et.from,-1),to:Ye.mapPos(et.to,1)},this.skipped.length){St=[];for(let er of this.skipped){let Mr=Ye.mapPos(er.from,1),mn=Ye.mapPos(er.to,-1);Mr<mn&&St.push({from:Mr,to:mn})}}}return new T(this.parser,yt,Ze,Mt,ot,et,St,this.scheduleOn)}updateViewport(Ye){if(this.viewport.from==Ye.from&&this.viewport.to==Ye.to)return!1;this.viewport=Ye;let yt=this.skipped.length;for(let Ze=0;Ze<this.skipped.length;Ze++){let{from:Mt,to:ot}=this.skipped[Ze];Mt<Ye.to&&ot>Ye.from&&(this.fragments=s(this.fragments,Mt,ot),this.skipped.splice(Ze--,1))}return this.skipped.length>=yt?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(Ye,yt){this.skipped.push({from:Ye,to:yt})}static getSkippingParser(Ye){return new class extends r._b{createParse(yt,Ze,Mt){let ot=Mt[0].from,et=Mt[Mt.length-1].to;return{parsedPos:ot,advance(){let Ht=S;if(Ht){for(let er of Mt)Ht.tempSkipped.push(er);Ye&&(Ht.scheduleOn=Ht.scheduleOn?Promise.all([Ht.scheduleOn,Ye]):Ye)}return this.parsedPos=et,new r.mp(r.Jq.none,[],[],et-ot)},stoppedAt:null,stopAt(){}}}}}isDone(Ye){Ye=Math.min(Ye,this.state.doc.length);let yt=this.fragments;return this.treeLen>=Ye&&yt.length&&yt[0].from==0&&yt[0].to>=Ye}static get(){return S}}function s(Qe,Ye,yt){return r.i9.applyChanges(Qe,[{fromA:Ye,toA:yt,fromB:Ye,toB:yt}])}class v{constructor(Ye){this.context=Ye,this.tree=Ye.tree}apply(Ye){if(!Ye.docChanged&&this.tree==this.context.tree)return this;let yt=this.context.changes(Ye.changes,Ye.state),Ze=this.context.treeLen==Ye.startState.doc.length?void 0:Math.max(Ye.changes.mapPos(this.context.treeLen),yt.viewport.to);return yt.work(20,Ze)||yt.takeTree(),new v(yt)}static init(Ye){let yt=Math.min(3e3,Ye.doc.length),Ze=T.create(Ye.facet(L).parser,Ye,{from:0,to:yt});return Ze.work(20,yt)||Ze.takeTree(),new v(Ze)}}h.state=o.StateField.define({create:v.init,update(Qe,Ye){for(let yt of Ye.effects)if(yt.is(h.setState))return yt.value;return Ye.startState.facet(L)!=Ye.state.facet(L)?v.init(Ye.state):Qe.apply(Ye)}});let m=Qe=>{let Ye=setTimeout(()=>Qe(),500);return()=>clearTimeout(Ye)};typeof requestIdleCallback<"u"&&(m=Qe=>{let Ye=-1,yt=setTimeout(()=>{Ye=requestIdleCallback(Qe,{timeout:400})},100);return()=>Ye<0?clearTimeout(yt):cancelIdleCallback(Ye)});const E=typeof navigator<"u"&&(!((c=navigator.scheduling)===null||c===void 0)&&c.isInputPending)?()=>navigator.scheduling.isInputPending():null,I=n.lg.fromClass(class{constructor(Ye){this.view=Ye,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(Ye){let yt=this.view.state.field(h.state).context;(yt.updateViewport(Ye.view.viewport)||this.view.viewport.to>yt.treeLen)&&this.scheduleWork(),(Ye.docChanged||Ye.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(yt)}scheduleWork(){if(this.working)return;let{state:Ye}=this.view,yt=Ye.field(h.state);(yt.tree!=yt.context.tree||!yt.context.isDone(Ye.doc.length))&&(this.working=m(this.work))}work(Ye){this.working=null;let yt=Date.now();if(this.chunkEnd<yt&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=yt+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:Ze,viewport:{to:Mt}}=this.view,ot=Ze.field(h.state);if(ot.tree==ot.context.tree&&ot.context.isDone(Mt+1e5))return;let et=Date.now()+Math.min(this.chunkBudget,100,Ye&&!E?Math.max(25,Ye.timeRemaining()-5):1e9),St=ot.context.treeLen<Mt&&Ze.doc.length>Mt+1e3,Ht=ot.context.work(()=>E&&E()||Date.now()>et,Mt+(St?0:1e5));this.chunkBudget-=Date.now()-yt,(Ht||this.chunkBudget<=0)&&(ot.context.takeTree(),this.view.dispatch({effects:h.setState.of(new v(ot.context))})),this.chunkBudget>0&&!(Ht&&!St)&&this.scheduleWork(),this.checkAsyncSchedule(ot.context)}checkAsyncSchedule(Ye){Ye.scheduleOn&&(this.workScheduled++,Ye.scheduleOn.then(()=>this.scheduleWork()).catch(yt=>(0,n.OO)(this.view.state,yt)).then(()=>this.workScheduled--),Ye.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),L=o.Facet.define({combine(Qe){return Qe.length?Qe[0]:null},enables:Qe=>[h.state,I,n.tk.contentAttributes.compute([Qe],Ye=>{let yt=Ye.facet(Qe);return yt&&yt.name?{"data-language":yt.name}:{}})]});class W{constructor(Ye,yt=[]){this.language=Ye,this.support=yt,this.extension=[Ye,yt]}}class F{constructor(Ye,yt,Ze,Mt,ot,et=void 0){this.name=Ye,this.alias=yt,this.extensions=Ze,this.filename=Mt,this.loadFunc=ot,this.support=et,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(Ye=>this.support=Ye,Ye=>{throw this.loading=null,Ye}))}static of(Ye){let{load:yt,support:Ze}=Ye;if(!yt){if(!Ze)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");yt=()=>Promise.resolve(Ze)}return new F(Ye.name,(Ye.alias||[]).concat(Ye.name).map(Mt=>Mt.toLowerCase()),Ye.extensions||[],Ye.filename,yt,Ze)}static matchFilename(Ye,yt){for(let Mt of Ye)if(Mt.filename&&Mt.filename.test(yt))return Mt;let Ze=/\.([^.]+)$/.exec(yt);if(Ze){for(let Mt of Ye)if(Mt.extensions.indexOf(Ze[1])>-1)return Mt}return null}static matchLanguageName(Ye,yt,Ze=!0){yt=yt.toLowerCase();for(let Mt of Ye)if(Mt.alias.some(ot=>ot==yt))return Mt;if(Ze)for(let Mt of Ye)for(let ot of Mt.alias){let et=yt.indexOf(ot);if(et>-1&&(ot.length>2||!/\w/.test(yt[et-1])&&!/\w/.test(yt[et+ot.length])))return Mt}return null}}const G=o.Facet.define(),k=o.Facet.define({combine:Qe=>{if(!Qe.length)return"  ";let Ye=Qe[0];if(!Ye||/\S/.test(Ye)||Array.from(Ye).some(yt=>yt!=Ye[0]))throw new Error("Invalid indent unit: "+JSON.stringify(Qe[0]));return Ye}});function x(Qe){let Ye=Qe.facet(k);return Ye.charCodeAt(0)==9?Qe.tabSize*Ye.length:Ye.length}function M(Qe,Ye){let yt="",Ze=Qe.tabSize,Mt=Qe.facet(k)[0];if(Mt=="	"){for(;Ye>=Ze;)yt+="	",Ye-=Ze;Mt=" "}for(let ot=0;ot<Ye;ot++)yt+=Mt;return yt}function B(Qe,Ye){Qe instanceof o.EditorState&&(Qe=new U(Qe));for(let Ze of Qe.state.facet(G)){let Mt=Ze(Qe,Ye);if(Mt!==void 0)return Mt}let yt=p(Qe.state);return yt.length>=Ye?$(Qe,yt,Ye):null}function R(Qe,Ye,yt){let Ze=Object.create(null),Mt=new U(Qe,{overrideIndentation:et=>{var St;return(St=Ze[et])!==null&&St!==void 0?St:-1}}),ot=[];for(let et=Ye;et<=yt;){let St=Qe.doc.lineAt(et);et=St.to+1;let Ht=B(Mt,St.from);if(Ht==null)continue;/\S/.test(St.text)||(Ht=0);let er=/^\s*/.exec(St.text)[0],Mr=M(Qe,Ht);er!=Mr&&(Ze[St.from]=Ht,ot.push({from:St.from,to:St.from+er.length,insert:Mr}))}return Qe.changes(ot)}class U{constructor(Ye,yt={}){this.state=Ye,this.options=yt,this.unit=x(Ye)}lineAt(Ye,yt=1){let Ze=this.state.doc.lineAt(Ye),{simulateBreak:Mt,simulateDoubleBreak:ot}=this.options;return Mt!=null&&Mt>=Ze.from&&Mt<=Ze.to?ot&&Mt==Ye?{text:"",from:Ye}:(yt<0?Mt<Ye:Mt<=Ye)?{text:Ze.text.slice(Mt-Ze.from),from:Mt}:{text:Ze.text.slice(0,Mt-Ze.from),from:Ze.from}:Ze}textAfterPos(Ye,yt=1){if(this.options.simulateDoubleBreak&&Ye==this.options.simulateBreak)return"";let{text:Ze,from:Mt}=this.lineAt(Ye,yt);return Ze.slice(Ye-Mt,Math.min(Ze.length,Ye+100-Mt))}column(Ye,yt=1){let{text:Ze,from:Mt}=this.lineAt(Ye,yt),ot=this.countColumn(Ze,Ye-Mt),et=this.options.overrideIndentation?this.options.overrideIndentation(Mt):-1;return et>-1&&(ot+=et-this.countColumn(Ze,Ze.search(/\S|$/))),ot}countColumn(Ye,yt=Ye.length){return(0,o.countColumn)(Ye,this.state.tabSize,yt)}lineIndent(Ye,yt=1){let{text:Ze,from:Mt}=this.lineAt(Ye,yt),ot=this.options.overrideIndentation;if(ot){let et=ot(Mt);if(et>-1)return et}return this.countColumn(Ze,Ze.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const j=new r.md;function $(Qe,Ye,yt){let Ze=Ye.resolveStack(yt),Mt=Ze.node.enterUnfinishedNodesBefore(yt);if(Mt!=Ze.node){let ot=[];for(let et=Mt;et!=Ze.node;et=et.parent)ot.push(et);for(let et=ot.length-1;et>=0;et--)Ze={node:ot[et],next:Ze}}return ee(Ze,Qe,yt)}function ee(Qe,Ye,yt){for(let Ze=Qe;Ze;Ze=Ze.next){let Mt=ie(Ze.node);if(Mt)return Mt(pe.create(Ye,yt,Ze))}return 0}function te(Qe){return Qe.pos==Qe.options.simulateBreak&&Qe.options.simulateDoubleBreak}function ie(Qe){let Ye=Qe.type.prop(j);if(Ye)return Ye;let yt=Qe.firstChild,Ze;if(yt&&(Ze=yt.type.prop(r.md.closedBy))){let Mt=Qe.lastChild,ot=Mt&&Ze.indexOf(Mt.name)>-1;return et=>me(et,!0,1,void 0,ot&&!te(et)?Mt.from:void 0)}return Qe.parent==null?ne:null}function ne(){return 0}class pe extends U{constructor(Ye,yt,Ze){super(Ye.state,Ye.options),this.base=Ye,this.pos=yt,this.context=Ze}get node(){return this.context.node}static create(Ye,yt,Ze){return new pe(Ye,yt,Ze)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(Ye){let yt=this.state.doc.lineAt(Ye.from);for(;;){let Ze=Ye.resolve(yt.from);for(;Ze.parent&&Ze.parent.from==Ze.from;)Ze=Ze.parent;if(oe(Ze,Ye))break;yt=this.state.doc.lineAt(Ze.from)}return this.lineIndent(yt.from)}continue(){return ee(this.context.next,this.base,this.pos)}}function oe(Qe,Ye){for(let yt=Ye;yt;yt=yt.parent)if(Qe==yt)return!0;return!1}function q(Qe){let Ye=Qe.node,yt=Ye.childAfter(Ye.from),Ze=Ye.lastChild;if(!yt)return null;let Mt=Qe.options.simulateBreak,ot=Qe.state.doc.lineAt(yt.from),et=Mt==null||Mt<=ot.from?ot.to:Math.min(ot.to,Mt);for(let St=yt.to;;){let Ht=Ye.childAfter(St);if(!Ht||Ht==Ze)return null;if(!Ht.type.isSkipped){if(Ht.from>=et)return null;let er=/^ */.exec(ot.text.slice(yt.to-ot.from))[0].length;return{from:yt.from,to:yt.to+er}}St=Ht.to}}function J({closing:Qe,align:Ye=!0,units:yt=1}){return Ze=>me(Ze,Ye,yt,Qe)}function me(Qe,Ye,yt,Ze,Mt){let ot=Qe.textAfter,et=ot.match(/^\s*/)[0].length,St=Ze&&ot.slice(et,et+Ze.length)==Ze||Mt==Qe.pos+et,Ht=Ye?q(Qe):null;return Ht?St?Qe.column(Ht.from):Qe.column(Ht.to):Qe.baseIndent+(St?0:Qe.unit*yt)}const re=Qe=>Qe.baseIndent;function he({except:Qe,units:Ye=1}={}){return yt=>{let Ze=Qe&&Qe.test(yt.textAfter);return yt.baseIndent+(Ze?0:Ye*yt.unit)}}const Ee=200;function fe(){return o.EditorState.transactionFilter.of(Qe=>{if(!Qe.docChanged||!Qe.isUserEvent("input.type")&&!Qe.isUserEvent("input.complete"))return Qe;let Ye=Qe.startState.languageDataAt("indentOnInput",Qe.startState.selection.main.head);if(!Ye.length)return Qe;let yt=Qe.newDoc,{head:Ze}=Qe.newSelection.main,Mt=yt.lineAt(Ze);if(Ze>Mt.from+Ee)return Qe;let ot=yt.sliceString(Mt.from,Ze);if(!Ye.some(er=>er.test(ot)))return Qe;let{state:et}=Qe,St=-1,Ht=[];for(let{head:er}of et.selection.ranges){let Mr=et.doc.lineAt(er);if(Mr.from==St)continue;St=Mr.from;let mn=B(et,Mr.from);if(mn==null)continue;let Un=/^\s*/.exec(Mr.text)[0],hr=M(et,mn);Un!=hr&&Ht.push({from:Mr.from,to:Mr.from+Un.length,insert:hr})}return Ht.length?[Qe,{changes:Ht,sequential:!0}]:Qe})}const H=o.Facet.define(),z=new r.md;function _e(Qe){let Ye=Qe.firstChild,yt=Qe.lastChild;return Ye&&Ye.to<yt.from?{from:Ye.to,to:yt.type.isError?Qe.to:yt.from}:null}function ae(Qe,Ye,yt){let Ze=p(Qe);if(Ze.length<yt)return null;let Mt=Ze.resolveStack(yt,1),ot=null;for(let et=Mt;et;et=et.next){let St=et.node;if(St.to<=yt||St.from>yt)continue;if(ot&&St.from<Ye)break;let Ht=St.type.prop(z);if(Ht&&(St.to<Ze.length-50||Ze.length==Qe.doc.length||!ge(St))){let er=Ht(St,Qe);er&&er.from<=yt&&er.from>=Ye&&er.to>yt&&(ot=er)}}return ot}function ge(Qe){let Ye=Qe.lastChild;return Ye&&Ye.to==Qe.to&&Ye.type.isError}function Be(Qe,Ye,yt){for(let Ze of Qe.facet(H)){let Mt=Ze(Qe,Ye,yt);if(Mt)return Mt}return ae(Qe,Ye,yt)}function Ke(Qe,Ye){let yt=Ye.mapPos(Qe.from,1),Ze=Ye.mapPos(Qe.to,-1);return yt>=Ze?void 0:{from:yt,to:Ze}}const He=o.StateEffect.define({map:Ke}),ye=o.StateEffect.define({map:Ke});function Le(Qe){let Ye=[];for(let{head:yt}of Qe.state.selection.ranges)Ye.some(Ze=>Ze.from<=yt&&Ze.to>=yt)||Ye.push(Qe.lineBlockAt(yt));return Ye}const Ue=o.StateField.define({create(){return n.p.none},update(Qe,Ye){Qe=Qe.map(Ye.changes);for(let yt of Ye.effects)if(yt.is(He)&&!ht(Qe,yt.value.from,yt.value.to)){let{preparePlaceholder:Ze}=Ye.state.facet(ce),Mt=Ze?n.p.replace({widget:new vt(Ze(Ye.state,yt.value))}):st;Qe=Qe.update({add:[Mt.range(yt.value.from,yt.value.to)]})}else yt.is(ye)&&(Qe=Qe.update({filter:(Ze,Mt)=>yt.value.from!=Ze||yt.value.to!=Mt,filterFrom:yt.value.from,filterTo:yt.value.to}));if(Ye.selection){let yt=!1,{head:Ze}=Ye.selection.main;Qe.between(Ze,Ze,(Mt,ot)=>{Mt<Ze&&ot>Ze&&(yt=!0)}),yt&&(Qe=Qe.update({filterFrom:Ze,filterTo:Ze,filter:(Mt,ot)=>ot<=Ze||Mt>=Ze}))}return Qe},provide:Qe=>n.tk.decorations.from(Qe),toJSON(Qe,Ye){let yt=[];return Qe.between(0,Ye.doc.length,(Ze,Mt)=>{yt.push(Ze,Mt)}),yt},fromJSON(Qe){if(!Array.isArray(Qe)||Qe.length%2)throw new RangeError("Invalid JSON for fold state");let Ye=[];for(let yt=0;yt<Qe.length;){let Ze=Qe[yt++],Mt=Qe[yt++];if(typeof Ze!="number"||typeof Mt!="number")throw new RangeError("Invalid JSON for fold state");Ye.push(st.range(Ze,Mt))}return n.p.set(Ye,!0)}});function Xe(Qe){return Qe.field(Ue,!1)||RangeSet.empty}function Fe(Qe,Ye,yt){var Ze;let Mt=null;return(Ze=Qe.field(Ue,!1))===null||Ze===void 0||Ze.between(Ye,yt,(ot,et)=>{(!Mt||Mt.from>ot)&&(Mt={from:ot,to:et})}),Mt}function ht(Qe,Ye,yt){let Ze=!1;return Qe.between(Ye,Ye,(Mt,ot)=>{Mt==Ye&&ot==yt&&(Ze=!0)}),Ze}function Ne(Qe,Ye){return Qe.field(Ue,!1)?Ye:Ye.concat(o.StateEffect.appendConfig.of(Re()))}const Ce=Qe=>{for(let Ye of Le(Qe)){let yt=Be(Qe.state,Ye.from,Ye.to);if(yt)return Qe.dispatch({effects:Ne(Qe.state,[He.of(yt),$e(Qe,yt)])}),!0}return!1},we=Qe=>{if(!Qe.state.field(Ue,!1))return!1;let Ye=[];for(let yt of Le(Qe)){let Ze=Fe(Qe.state,yt.from,yt.to);Ze&&Ye.push(ye.of(Ze),$e(Qe,Ze,!1))}return Ye.length&&Qe.dispatch({effects:Ye}),Ye.length>0};function $e(Qe,Ye,yt=!0){let Ze=Qe.state.doc.lineAt(Ye.from).number,Mt=Qe.state.doc.lineAt(Ye.to).number;return n.tk.announce.of(`${Qe.state.phrase(yt?"Folded lines":"Unfolded lines")} ${Ze} ${Qe.state.phrase("to")} ${Mt}.`)}const Ot=Qe=>{let{state:Ye}=Qe,yt=[];for(let Ze=0;Ze<Ye.doc.length;){let Mt=Qe.lineBlockAt(Ze),ot=Be(Ye,Mt.from,Mt.to);ot&&yt.push(He.of(ot)),Ze=(ot?Qe.lineBlockAt(ot.to):Mt).to+1}return yt.length&&Qe.dispatch({effects:Ne(Qe.state,yt)}),!!yt.length},Pt=Qe=>{let Ye=Qe.state.field(Ue,!1);if(!Ye||!Ye.size)return!1;let yt=[];return Ye.between(0,Qe.state.doc.length,(Ze,Mt)=>{yt.push(ye.of({from:Ze,to:Mt}))}),Qe.dispatch({effects:yt}),!0};function Ie(Qe,Ye){for(let yt=Ye;;){let Ze=Be(Qe.state,yt.from,yt.to);if(Ze&&Ze.to>Ye.from)return Ze;if(!yt.from)return null;yt=Qe.lineBlockAt(yt.from-1)}}const Bt=Qe=>{let Ye=[];for(let yt of Le(Qe)){let Ze=Fe(Qe.state,yt.from,yt.to);if(Ze)Ye.push(ye.of(Ze),$e(Qe,Ze,!1));else{let Mt=Ie(Qe,yt);Mt&&Ye.push(He.of(Mt),$e(Qe,Mt))}}return Ye.length>0&&Qe.dispatch({effects:Ne(Qe.state,Ye)}),!!Ye.length},mt=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:Ce},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:we},{key:"Ctrl-Alt-[",run:Ot},{key:"Ctrl-Alt-]",run:Pt}],rt={placeholderDOM:null,preparePlaceholder:null,placeholderText:"\u2026"},ce=o.Facet.define({combine(Qe){return(0,o.combineConfig)(Qe,rt)}});function Re(Qe){let Ye=[Ue,Pn];return Qe&&Ye.push(ce.of(Qe)),Ye}function nt(Qe,Ye){let{state:yt}=Qe,Ze=yt.facet(ce),Mt=et=>{let St=Qe.lineBlockAt(Qe.posAtDOM(et.target)),Ht=Fe(Qe.state,St.from,St.to);Ht&&Qe.dispatch({effects:ye.of(Ht)}),et.preventDefault()};if(Ze.placeholderDOM)return Ze.placeholderDOM(Qe,Mt,Ye);let ot=document.createElement("span");return ot.textContent=Ze.placeholderText,ot.setAttribute("aria-label",yt.phrase("folded code")),ot.title=yt.phrase("unfold"),ot.className="cm-foldPlaceholder",ot.onclick=Mt,ot}const st=n.p.replace({widget:new class extends n.l9{toDOM(Qe){return nt(Qe,null)}}});class vt extends n.l9{constructor(Ye){super(),this.value=Ye}eq(Ye){return this.value==Ye.value}toDOM(Ye){return nt(Ye,this.value)}}const ze={openText:"\u2304",closedText:"\u203A",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class It extends n.SJ{constructor(Ye,yt){super(),this.config=Ye,this.open=yt}eq(Ye){return this.config==Ye.config&&this.open==Ye.open}toDOM(Ye){if(this.config.markerDOM)return this.config.markerDOM(this.open);let yt=document.createElement("span");return yt.textContent=this.open?this.config.openText:this.config.closedText,yt.title=Ye.state.phrase(this.open?"Fold line":"Unfold line"),yt}}function on(Qe={}){let Ye=Object.assign(Object.assign({},ze),Qe),yt=new It(Ye,!0),Ze=new It(Ye,!1),Mt=n.lg.fromClass(class{constructor(et){this.from=et.viewport.from,this.markers=this.buildMarkers(et)}update(et){(et.docChanged||et.viewportChanged||et.startState.facet(L)!=et.state.facet(L)||et.startState.field(Ue,!1)!=et.state.field(Ue,!1)||p(et.startState)!=p(et.state)||Ye.foldingChanged(et))&&(this.markers=this.buildMarkers(et.view))}buildMarkers(et){let St=new o.RangeSetBuilder;for(let Ht of et.viewportLineBlocks){let er=Fe(et.state,Ht.from,Ht.to)?Ze:Be(et.state,Ht.from,Ht.to)?yt:null;er&&St.add(Ht.from,Ht.from,er)}return St.finish()}}),{domEventHandlers:ot}=Ye;return[Mt,(0,n.v5)({class:"cm-foldGutter",markers(et){var St;return((St=et.plugin(Mt))===null||St===void 0?void 0:St.markers)||o.RangeSet.empty},initialSpacer(){return new It(Ye,!1)},domEventHandlers:Object.assign(Object.assign({},ot),{click:(et,St,Ht)=>{if(ot.click&&ot.click(et,St,Ht))return!0;let er=Fe(et.state,St.from,St.to);if(er)return et.dispatch({effects:ye.of(er)}),!0;let Mr=Be(et.state,St.from,St.to);return Mr?(et.dispatch({effects:He.of(Mr)}),!0):!1}})}),Re()]}const Pn=n.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class Yn{constructor(Ye,yt){this.specs=Ye;let Ze;function Mt(St){let Ht=i.V.newName();return(Ze||(Ze=Object.create(null)))["."+Ht]=St,Ht}const ot=typeof yt.all=="string"?yt.all:yt.all?Mt(yt.all):void 0,et=yt.scope;this.scope=et instanceof h?St=>St.prop(u)==et.data:et?St=>St==et:void 0,this.style=(0,a.QR)(Ye.map(St=>({tag:St.tag,class:St.class||Mt(Object.assign({},St,{tag:null}))})),{all:ot}).style,this.module=Ze?new i.V(Ze):null,this.themeType=yt.themeType}static define(Ye,yt){return new Yn(Ye,yt||{})}}const Ln=o.Facet.define(),bn=o.Facet.define({combine(Qe){return Qe.length?[Qe[0]]:null}});function ir(Qe){let Ye=Qe.facet(Ln);return Ye.length?Ye:Qe.facet(bn)}function Zn(Qe,Ye){let yt=[Rn],Ze;return Qe instanceof Yn&&(Qe.module&&yt.push(n.tk.styleModule.of(Qe.module)),Ze=Qe.themeType),Ye!=null&&Ye.fallback?yt.push(bn.of(Qe)):Ze?yt.push(Ln.computeN([n.tk.darkTheme],Mt=>Mt.facet(n.tk.darkTheme)==(Ze=="dark")?[Qe]:[])):yt.push(Ln.of(Qe)),yt}function $n(Qe,Ye,yt){let Ze=ir(Qe),Mt=null;if(Ze){for(let ot of Ze)if(!ot.scope||yt&&ot.scope(yt)){let et=ot.style(Ye);et&&(Mt=Mt?Mt+" "+et:et)}}return Mt}class jt{constructor(Ye){this.markCache=Object.create(null),this.tree=p(Ye.state),this.decorations=this.buildDeco(Ye,ir(Ye.state)),this.decoratedTo=Ye.viewport.to}update(Ye){let yt=p(Ye.state),Ze=ir(Ye.state),Mt=Ze!=ir(Ye.startState),{viewport:ot}=Ye.view,et=Ye.changes.mapPos(this.decoratedTo,1);yt.length<ot.to&&!Mt&&yt.type==this.tree.type&&et>=ot.to?(this.decorations=this.decorations.map(Ye.changes),this.decoratedTo=et):(yt!=this.tree||Ye.viewportChanged||Mt)&&(this.tree=yt,this.decorations=this.buildDeco(Ye.view,Ze),this.decoratedTo=ot.to)}buildDeco(Ye,yt){if(!yt||!this.tree.length)return n.p.none;let Ze=new o.RangeSetBuilder;for(let{from:Mt,to:ot}of Ye.visibleRanges)(0,a.bW)(this.tree,yt,(et,St,Ht)=>{Ze.add(et,St,this.markCache[Ht]||(this.markCache[Ht]=n.p.mark({class:Ht})))},Mt,ot);return Ze.finish()}}const Rn=o.Prec.high(n.lg.fromClass(jt,{decorations:Qe=>Qe.decorations})),jn=Yn.define([{tag:a.pJ.meta,color:"#404740"},{tag:a.pJ.link,textDecoration:"underline"},{tag:a.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:a.pJ.emphasis,fontStyle:"italic"},{tag:a.pJ.strong,fontWeight:"bold"},{tag:a.pJ.strikethrough,textDecoration:"line-through"},{tag:a.pJ.keyword,color:"#708"},{tag:[a.pJ.atom,a.pJ.bool,a.pJ.url,a.pJ.contentSeparator,a.pJ.labelName],color:"#219"},{tag:[a.pJ.literal,a.pJ.inserted],color:"#164"},{tag:[a.pJ.string,a.pJ.deleted],color:"#a11"},{tag:[a.pJ.regexp,a.pJ.escape,a.pJ.special(a.pJ.string)],color:"#e40"},{tag:a.pJ.definition(a.pJ.variableName),color:"#00f"},{tag:a.pJ.local(a.pJ.variableName),color:"#30a"},{tag:[a.pJ.typeName,a.pJ.namespace],color:"#085"},{tag:a.pJ.className,color:"#167"},{tag:[a.pJ.special(a.pJ.variableName),a.pJ.macroName],color:"#256"},{tag:a.pJ.definition(a.pJ.propertyName),color:"#00c"},{tag:a.pJ.comment,color:"#940"},{tag:a.pJ.invalid,color:"#f00"}]),Tn=n.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),Nn=1e4,cn="()[]{}",or=o.Facet.define({combine(Qe){return(0,o.combineConfig)(Qe,{afterCursor:!0,brackets:cn,maxScanDistance:Nn,renderMatch:fo})}}),qn=n.p.mark({class:"cm-matchingBracket"}),Hr=n.p.mark({class:"cm-nonmatchingBracket"});function fo(Qe){let Ye=[],yt=Qe.matched?qn:Hr;return Ye.push(yt.range(Qe.start.from,Qe.start.to)),Qe.end&&Ye.push(yt.range(Qe.end.from,Qe.end.to)),Ye}const ro=[o.StateField.define({create(){return n.p.none},update(Qe,Ye){if(!Ye.docChanged&&!Ye.selection)return Qe;let yt=[],Ze=Ye.state.facet(or);for(let Mt of Ye.state.selection.ranges){if(!Mt.empty)continue;let ot=Qt(Ye.state,Mt.head,-1,Ze)||Mt.head>0&&Qt(Ye.state,Mt.head-1,1,Ze)||Ze.afterCursor&&(Qt(Ye.state,Mt.head,1,Ze)||Mt.head<Ye.state.doc.length&&Qt(Ye.state,Mt.head+1,-1,Ze));ot&&(yt=yt.concat(Ze.renderMatch(ot,Ye.state)))}return n.p.set(yt,!0)},provide:Qe=>n.tk.decorations.from(Qe)}),Tn];function Xt(Qe={}){return[or.of(Qe),ro]}const Je=new r.md;function At(Qe,Ye,yt){let Ze=Qe.prop(Ye<0?r.md.openedBy:r.md.closedBy);if(Ze)return Ze;if(Qe.name.length==1){let Mt=yt.indexOf(Qe.name);if(Mt>-1&&Mt%2==(Ye<0?1:0))return[yt[Mt+Ye]]}return null}function xt(Qe){let Ye=Qe.type.prop(Je);return Ye?Ye(Qe.node):Qe}function Qt(Qe,Ye,yt,Ze={}){let Mt=Ze.maxScanDistance||Nn,ot=Ze.brackets||cn,et=p(Qe),St=et.resolveInner(Ye,yt);for(let Ht=St;Ht;Ht=Ht.parent){let er=At(Ht.type,yt,ot);if(er&&Ht.from<Ht.to){let Mr=xt(Ht);if(Mr&&(yt>0?Ye>=Mr.from&&Ye<Mr.to:Ye>Mr.from&&Ye<=Mr.to))return qt(Qe,Ye,yt,Ht,Mr,er,ot)}}return Te(Qe,Ye,yt,et,St.type,Mt,ot)}function qt(Qe,Ye,yt,Ze,Mt,ot,et){let St=Ze.parent,Ht={from:Mt.from,to:Mt.to},er=0,Mr=St==null?void 0:St.cursor();if(Mr&&(yt<0?Mr.childBefore(Ze.from):Mr.childAfter(Ze.to)))do if(yt<0?Mr.to<=Ze.from:Mr.from>=Ze.to){if(er==0&&ot.indexOf(Mr.type.name)>-1&&Mr.from<Mr.to){let mn=xt(Mr);return{start:Ht,end:mn?{from:mn.from,to:mn.to}:void 0,matched:!0}}else if(At(Mr.type,yt,et))er++;else if(At(Mr.type,-yt,et)){if(er==0){let mn=xt(Mr);return{start:Ht,end:mn&&mn.from<mn.to?{from:mn.from,to:mn.to}:void 0,matched:!1}}er--}}while(yt<0?Mr.prevSibling():Mr.nextSibling());return{start:Ht,matched:!1}}function Te(Qe,Ye,yt,Ze,Mt,ot,et){let St=yt<0?Qe.sliceDoc(Ye-1,Ye):Qe.sliceDoc(Ye,Ye+1),Ht=et.indexOf(St);if(Ht<0||Ht%2==0!=yt>0)return null;let er={from:yt<0?Ye-1:Ye,to:yt>0?Ye+1:Ye},Mr=Qe.doc.iterRange(Ye,yt>0?Qe.doc.length:0),mn=0;for(let Un=0;!Mr.next().done&&Un<=ot;){let hr=Mr.value;yt<0&&(Un+=hr.length);let br=Ye+Un*yt;for(let io=yt>0?0:hr.length-1,Kr=yt>0?hr.length:-1;io!=Kr;io+=yt){let xo=et.indexOf(hr[io]);if(!(xo<0||Ze.resolveInner(br+io,1).type!=Mt))if(xo%2==0==yt>0)mn++;else{if(mn==1)return{start:er,end:{from:br+io,to:br+io+1},matched:xo>>1==Ht>>1};mn--}}yt>0&&(Un+=hr.length)}return Mr.done?{start:er,matched:!1}:null}function Gt(Qe,Ye,yt,Ze=0,Mt=0){Ye==null&&(Ye=Qe.search(/[^\s\u00a0]/),Ye==-1&&(Ye=Qe.length));let ot=Mt;for(let et=Ze;et<Ye;et++)Qe.charCodeAt(et)==9?ot+=yt-ot%yt:ot++;return ot}class un{constructor(Ye,yt,Ze,Mt){this.string=Ye,this.tabSize=yt,this.indentUnit=Ze,this.overrideIndent=Mt,this.pos=0,this.start=0,this.lastColumnPos=0,this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(Ye){let yt=this.string.charAt(this.pos),Ze;if(typeof Ye=="string"?Ze=yt==Ye:Ze=yt&&(Ye instanceof RegExp?Ye.test(yt):Ye(yt)),Ze)return++this.pos,yt}eatWhile(Ye){let yt=this.pos;for(;this.eat(Ye););return this.pos>yt}eatSpace(){let Ye=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>Ye}skipToEnd(){this.pos=this.string.length}skipTo(Ye){let yt=this.string.indexOf(Ye,this.pos);if(yt>-1)return this.pos=yt,!0}backUp(Ye){this.pos-=Ye}column(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Gt(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue}indentation(){var Ye;return(Ye=this.overrideIndent)!==null&&Ye!==void 0?Ye:Gt(this.string,null,this.tabSize)}match(Ye,yt,Ze){if(typeof Ye=="string"){let Mt=et=>Ze?et.toLowerCase():et,ot=this.string.substr(this.pos,Ye.length);return Mt(ot)==Mt(Ye)?(yt!==!1&&(this.pos+=Ye.length),!0):null}else{let Mt=this.string.slice(this.pos).match(Ye);return Mt&&Mt.index>0?null:(Mt&&yt!==!1&&(this.pos+=Mt[0].length),Mt)}}current(){return this.string.slice(this.start,this.pos)}}function Vt(Qe){return{name:Qe.name||"",token:Qe.token,blankLine:Qe.blankLine||(()=>{}),startState:Qe.startState||(()=>!0),copyState:Qe.copyState||Dn,indent:Qe.indent||(()=>null),languageData:Qe.languageData||{},tokenTable:Qe.tokenTable||ut}}function Dn(Qe){if(typeof Qe!="object")return Qe;let Ye={};for(let yt in Qe){let Ze=Qe[yt];Ye[yt]=Ze instanceof Array?Ze.slice():Ze}return Ye}const Wt=new WeakMap;class Pe extends h{constructor(Ye){let yt=f(Ye.languageData),Ze=Vt(Ye),Mt,ot=new class extends r._b{createParse(et,St,Ht){return new wt(Mt,et,St,Ht)}};super(yt,ot,[G.of((et,St)=>this.getIndent(et,St))],Ye.name),this.topNode=Ar(yt),Mt=this,this.streamParser=Ze,this.stateAfter=new r.md({perNode:!0}),this.tokenTable=Ye.tokenTable?new Yr(Ze.tokenTable):Pr}static define(Ye){return new Pe(Ye)}getIndent(Ye,yt){let Ze=p(Ye.state),Mt=Ze.resolve(yt);for(;Mt&&Mt.type!=this.topNode;)Mt=Mt.parent;if(!Mt)return null;let ot,{overrideIndentation:et}=Ye.options;et&&(ot=Wt.get(Ye.state),ot!=null&&ot<yt-1e4&&(ot=void 0));let St=xe(this,Ze,0,Mt.from,ot??yt),Ht,er;if(St?(er=St.state,Ht=St.pos+1):(er=this.streamParser.startState(Ye.unit),Ht=0),yt-Ht>1e4)return null;for(;Ht<yt;){let mn=Ye.state.doc.lineAt(Ht),Un=Math.min(yt,mn.to);if(mn.length){let hr=et?et(mn.from):-1,br=new un(mn.text,Ye.state.tabSize,Ye.unit,hr<0?void 0:hr);for(;br.pos<Un-mn.from;)kt(this.streamParser.token,br,er)}else this.streamParser.blankLine(er,Ye.unit);if(Un==yt)break;Ht=mn.to+1}let Mr=Ye.lineAt(yt);return et&&ot==null&&Wt.set(Ye.state,Mr.from),this.streamParser.indent(er,/^\s*(.*)/.exec(Mr.text)[1],Ye)}get allowsNesting(){return!1}}function xe(Qe,Ye,yt,Ze,Mt){let ot=yt>=Ze&&yt+Ye.length<=Mt&&Ye.prop(Qe.stateAfter);if(ot)return{state:Qe.streamParser.copyState(ot),pos:yt+Ye.length};for(let et=Ye.children.length-1;et>=0;et--){let St=Ye.children[et],Ht=yt+Ye.positions[et],er=St instanceof r.mp&&Ht<Mt&&xe(Qe,St,Ht,Ze,Mt);if(er)return er}return null}function Ae(Qe,Ye,yt,Ze,Mt){if(Mt&&yt<=0&&Ze>=Ye.length)return Ye;!Mt&&Ye.type==Qe.topNode&&(Mt=!0);for(let ot=Ye.children.length-1;ot>=0;ot--){let et=Ye.positions[ot],St=Ye.children[ot],Ht;if(et<Ze&&St instanceof r.mp){if(!(Ht=Ae(Qe,St,yt-et,Ze-et,Mt)))break;return Mt?new r.mp(Ye.type,Ye.children.slice(0,ot).concat(Ht),Ye.positions.slice(0,ot+1),et+Ht.length):Ht}}return null}function qe(Qe,Ye,yt,Ze){for(let Mt of Ye){let ot=Mt.from+(Mt.openStart?25:0),et=Mt.to-(Mt.openEnd?25:0),St=ot<=yt&&et>yt&&xe(Qe,Mt.tree,0-Mt.offset,yt,et),Ht;if(St&&(Ht=Ae(Qe,Mt.tree,yt+Mt.offset,St.pos+Mt.offset,!1)))return{state:St.state,tree:Ht}}return{state:Qe.streamParser.startState(Ze?x(Ze):4),tree:r.mp.empty}}class wt{constructor(Ye,yt,Ze,Mt){this.lang=Ye,this.input=yt,this.fragments=Ze,this.ranges=Mt,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=Mt[Mt.length-1].to;let ot=T.get(),et=Mt[0].from,{state:St,tree:Ht}=qe(Ye,Ze,et,ot==null?void 0:ot.state);this.state=St,this.parsedPos=this.chunkStart=et+Ht.length;for(let er=0;er<Ht.children.length;er++)this.chunks.push(Ht.children[er]),this.chunkPos.push(Ht.positions[er]);ot&&this.parsedPos<ot.viewport.from-1e5&&(this.state=this.lang.streamParser.startState(x(ot.state)),ot.skipUntilInView(this.parsedPos,ot.viewport.from),this.parsedPos=ot.viewport.from),this.moveRangeIndex()}advance(){let Ye=T.get(),yt=this.stoppedAt==null?this.to:Math.min(this.to,this.stoppedAt),Ze=Math.min(yt,this.chunkStart+2048);for(Ye&&(Ze=Math.min(Ze,Ye.viewport.to));this.parsedPos<Ze;)this.parseLine(Ye);return this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=yt?this.finish():Ye&&this.parsedPos>=Ye.viewport.to?(Ye.skipUntilInView(this.parsedPos,yt),this.finish()):null}stopAt(Ye){this.stoppedAt=Ye}lineAfter(Ye){let yt=this.input.chunk(Ye);if(this.input.lineChunks)yt==`
`&&(yt="");else{let Ze=yt.indexOf(`
`);Ze>-1&&(yt=yt.slice(0,Ze))}return Ye+yt.length<=this.to?yt:yt.slice(0,this.to-Ye)}nextLine(){let Ye=this.parsedPos,yt=this.lineAfter(Ye),Ze=Ye+yt.length;for(let Mt=this.rangeIndex;;){let ot=this.ranges[Mt].to;if(ot>=Ze||(yt=yt.slice(0,ot-(Ze-yt.length)),Mt++,Mt==this.ranges.length))break;let et=this.ranges[Mt].from,St=this.lineAfter(et);yt+=St,Ze=et+St.length}return{line:yt,end:Ze}}skipGapsTo(Ye,yt,Ze){for(;;){let Mt=this.ranges[this.rangeIndex].to,ot=Ye+yt;if(Ze>0?Mt>ot:Mt>=ot)break;let et=this.ranges[++this.rangeIndex].from;yt+=et-Mt}return yt}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}emitToken(Ye,yt,Ze,Mt,ot){if(this.ranges.length>1){ot=this.skipGapsTo(yt,ot,1),yt+=ot;let et=this.chunk.length;ot=this.skipGapsTo(Ze,ot,-1),Ze+=ot,Mt+=this.chunk.length-et}return this.chunk.push(Ye,yt,Ze,Mt),ot}parseLine(Ye){let{line:yt,end:Ze}=this.nextLine(),Mt=0,{streamParser:ot}=this.lang,et=new un(yt,Ye?Ye.state.tabSize:4,Ye?x(Ye.state):2);if(et.eol())ot.blankLine(this.state,et.indentUnit);else for(;!et.eol();){let St=kt(ot.token,et,this.state);if(St&&(Mt=this.emitToken(this.lang.tokenTable.resolve(St),this.parsedPos+et.start,this.parsedPos+et.pos,4,Mt)),et.start>1e4)break}this.parsedPos=Ze,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}finishChunk(){let Ye=r.mp.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:tn,topID:0,maxBufferLength:2048,reused:this.chunkReused});Ye=new r.mp(Ye.type,Ye.children,Ye.positions,Ye.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]),this.chunks.push(Ye),this.chunkPos.push(this.chunkStart-this.ranges[0].from),this.chunk=[],this.chunkReused=void 0,this.chunkStart=this.parsedPos}finish(){return new r.mp(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}}function kt(Qe,Ye,yt){Ye.start=Ye.pos;for(let Ze=0;Ze<10;Ze++){let Mt=Qe(Ye,yt);if(Ye.pos>Ye.start)return Mt}throw new Error("Stream parser failed to advance stream.")}const ut=Object.create(null),Ft=[r.Jq.none],tn=new r.Lj(Ft),In=[],rr=Object.create(null),Sr=Object.create(null);for(let[Qe,Ye]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Sr[Qe]=sr(ut,Ye);class Yr{constructor(Ye){this.extra=Ye,this.table=Object.assign(Object.create(null),Sr)}resolve(Ye){return Ye?this.table[Ye]||(this.table[Ye]=sr(this.extra,Ye)):0}}const Pr=new Yr(ut);function Mn(Qe,Ye){In.indexOf(Qe)>-1||(In.push(Qe),console.warn(Ye))}function sr(Qe,Ye){let yt=[];for(let St of Ye.split(" ")){let Ht=[];for(let er of St.split(".")){let Mr=Qe[er]||a.pJ[er];Mr?typeof Mr=="function"?Ht.length?Ht=Ht.map(Mr):Mn(er,`Modifier ${er} used at start of tag`):Ht.length?Mn(er,`Tag ${er} used as modifier`):Ht=Array.isArray(Mr)?Mr:[Mr]:Mn(er,`Unknown highlighting tag ${er}`)}for(let er of Ht)yt.push(er)}if(!yt.length)return 0;let Ze=Ye.replace(/ /g,"_"),Mt=Ze+" "+yt.map(St=>St.id),ot=rr[Mt];if(ot)return ot.id;let et=rr[Mt]=r.Jq.define({id:Ft.length,name:Ze,props:[(0,a.Gv)({[Ze]:yt})]});return Ft.push(et),et.id}function Ar(Qe){let Ye=r.Jq.define({id:Ft.length,name:"Document",props:[u.add(()=>Qe)],top:!0});return Ft.push(Ye),Ye}function vr(Qe){return Qe.length<=4096&&/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/.test(Qe)}function qr(Qe){for(let Ye=Qe.iter();!Ye.next().done;)if(vr(Ye.value))return!0;return!1}function Dr(Qe){let Ye=!1;return Qe.iterChanges((yt,Ze,Mt,ot,et)=>{!Ye&&qr(et)&&(Ye=!0)}),Ye}const eo=null;function Vo(Qe={}){let Ye=[Bn];return Qe.alwaysIsolate&&Ye.push(eo.of(!0)),Ye}const Bn=null;function ar(Qe,Ye,yt){let Ze=new RangeSetBuilder,Mt=Qe.visibleRanges;yt||(Mt=rn(Mt,Qe.state.doc));for(let{from:ot,to:et}of Mt)Ye.iterate({enter:St=>{let Ht=St.type.prop(NodeProp.isolate);Ht&&Ze.add(St.from,St.to,Rt[Ht])},from:ot,to:et});return Ze.finish()}function rn(Qe,Ye){let yt=Ye.iter(),Ze=0,Mt=[],ot=null;for(let{from:et,to:St}of Qe)if(!(ot&&ot.to>et&&(et=ot.to,et>=St)))for(Ze+yt.value.length<et&&(yt.next(et-(Ze+yt.value.length)),Ze=et);;){let Ht=Ze,er=Ze+yt.value.length;if(!yt.lineBreak&&vr(yt.value)&&(ot&&ot.to>Ht-10?ot.to=Math.min(St,er):Mt.push(ot={from:Ht,to:Math.min(St,er)})),er>=St)break;Ze=er,yt.next()}return Mt}const Rt={rtl:n.p.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"rtl"},bidiIsolate:n.Nm.RTL}),ltr:n.p.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"ltr"},bidiIsolate:n.Nm.LTR}),auto:n.p.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"auto"},bidiIsolate:null})}},233158:function(b,l,e){"use strict";e.r(l),e.d(l,{Annotation:()=>Fe,AnnotationType:()=>ht,ChangeDesc:()=>L,ChangeSet:()=>W,CharCategory:()=>Re,Compartment:()=>fe,EditorSelection:()=>U,EditorState:()=>It,Facet:()=>ee,Line:()=>h,MapMode:()=>I,Prec:()=>he,Range:()=>Yn,RangeSet:()=>ir,RangeSetBuilder:()=>$n,RangeValue:()=>Pn,SelectionRange:()=>R,StateEffect:()=>Ce,StateEffectType:()=>Ne,StateField:()=>J,Text:()=>r,Transaction:()=>we,codePointAt:()=>s,codePointSize:()=>m,combineConfig:()=>on,countColumn:()=>Jr,findClusterBreak:()=>P,findColumn:()=>ro,fromCodePoint:()=>v});class r{lineAt(Je){if(Je<0||Je>this.length)throw new RangeError(`Invalid position ${Je} in document of length ${this.length}`);return this.lineInner(Je,!1,1,0)}line(Je){if(Je<1||Je>this.lines)throw new RangeError(`Invalid line number ${Je} in ${this.lines}-line document`);return this.lineInner(Je,!0,1,0)}replace(Je,At,xt){[Je,At]=g(this,Je,At);let Qt=[];return this.decompose(0,Je,Qt,2),xt.length&&xt.decompose(0,xt.length,Qt,3),this.decompose(At,this.length,Qt,1),n.from(Qt,this.length-(At-Je)+xt.length)}append(Je){return this.replace(this.length,this.length,Je)}slice(Je,At=this.length){[Je,At]=g(this,Je,At);let xt=[];return this.decompose(Je,At,xt,0),n.from(xt,At-Je)}eq(Je){if(Je==this)return!0;if(Je.length!=this.length||Je.lines!=this.lines)return!1;let At=this.scanIdentical(Je,1),xt=this.length-this.scanIdentical(Je,-1),Qt=new u(this),qt=new u(Je);for(let Te=At,Gt=At;;){if(Qt.next(Te),qt.next(Te),Te=0,Qt.lineBreak!=qt.lineBreak||Qt.done!=qt.done||Qt.value!=qt.value)return!1;if(Gt+=Qt.value.length,Qt.done||Gt>=xt)return!0}}iter(Je=1){return new u(this,Je)}iterRange(Je,At=this.length){return new f(this,Je,At)}iterLines(Je,At){let xt;if(Je==null)xt=this.iter();else{At==null&&(At=this.lines+1);let Qt=this.line(Je).from;xt=this.iterRange(Qt,Math.max(Qt,At==this.lines+1?this.length:At<=1?0:this.line(At-1).to))}return new d(xt)}toString(){return this.sliceString(0)}toJSON(){let Je=[];return this.flatten(Je),Je}constructor(){}static of(Je){if(Je.length==0)throw new RangeError("A document must have at least one line");return Je.length==1&&!Je[0]?r.empty:Je.length<=32?new o(Je):n.from(o.split(Je,[]))}}class o extends r{constructor(Je,At=a(Je)){super(),this.text=Je,this.length=At}get lines(){return this.text.length}get children(){return null}lineInner(Je,At,xt,Qt){for(let qt=0;;qt++){let Te=this.text[qt],Gt=Qt+Te.length;if((At?xt:Gt)>=Je)return new h(Qt,Gt,xt,Te);Qt=Gt+1,xt++}}decompose(Je,At,xt,Qt){let qt=Je<=0&&At>=this.length?this:new o(c(this.text,Je,At),Math.min(At,this.length)-Math.max(0,Je));if(Qt&1){let Te=xt.pop(),Gt=i(qt.text,Te.text.slice(),0,qt.length);if(Gt.length<=32)xt.push(new o(Gt,Te.length+qt.length));else{let un=Gt.length>>1;xt.push(new o(Gt.slice(0,un)),new o(Gt.slice(un)))}}else xt.push(qt)}replace(Je,At,xt){if(!(xt instanceof o))return super.replace(Je,At,xt);[Je,At]=g(this,Je,At);let Qt=i(this.text,i(xt.text,c(this.text,0,Je)),At),qt=this.length+xt.length-(At-Je);return Qt.length<=32?new o(Qt,qt):n.from(o.split(Qt,[]),qt)}sliceString(Je,At=this.length,xt=`
`){[Je,At]=g(this,Je,At);let Qt="";for(let qt=0,Te=0;qt<=At&&Te<this.text.length;Te++){let Gt=this.text[Te],un=qt+Gt.length;qt>Je&&Te&&(Qt+=xt),Je<un&&At>qt&&(Qt+=Gt.slice(Math.max(0,Je-qt),At-qt)),qt=un+1}return Qt}flatten(Je){for(let At of this.text)Je.push(At)}scanIdentical(){return 0}static split(Je,At){let xt=[],Qt=-1;for(let qt of Je)xt.push(qt),Qt+=qt.length+1,xt.length==32&&(At.push(new o(xt,Qt)),xt=[],Qt=-1);return Qt>-1&&At.push(new o(xt,Qt)),At}}class n extends r{constructor(Je,At){super(),this.children=Je,this.length=At,this.lines=0;for(let xt of Je)this.lines+=xt.lines}lineInner(Je,At,xt,Qt){for(let qt=0;;qt++){let Te=this.children[qt],Gt=Qt+Te.length,un=xt+Te.lines-1;if((At?un:Gt)>=Je)return Te.lineInner(Je,At,xt,Qt);Qt=Gt+1,xt=un+1}}decompose(Je,At,xt,Qt){for(let qt=0,Te=0;Te<=At&&qt<this.children.length;qt++){let Gt=this.children[qt],un=Te+Gt.length;if(Je<=un&&At>=Te){let Vt=Qt&((Te<=Je?1:0)|(un>=At?2:0));Te>=Je&&un<=At&&!Vt?xt.push(Gt):Gt.decompose(Je-Te,At-Te,xt,Vt)}Te=un+1}}replace(Je,At,xt){if([Je,At]=g(this,Je,At),xt.lines<this.lines)for(let Qt=0,qt=0;Qt<this.children.length;Qt++){let Te=this.children[Qt],Gt=qt+Te.length;if(Je>=qt&&At<=Gt){let un=Te.replace(Je-qt,At-qt,xt),Vt=this.lines-Te.lines+un.lines;if(un.lines<Vt>>4&&un.lines>Vt>>6){let Dn=this.children.slice();return Dn[Qt]=un,new n(Dn,this.length-(At-Je)+xt.length)}return super.replace(qt,Gt,un)}qt=Gt+1}return super.replace(Je,At,xt)}sliceString(Je,At=this.length,xt=`
`){[Je,At]=g(this,Je,At);let Qt="";for(let qt=0,Te=0;qt<this.children.length&&Te<=At;qt++){let Gt=this.children[qt],un=Te+Gt.length;Te>Je&&qt&&(Qt+=xt),Je<un&&At>Te&&(Qt+=Gt.sliceString(Je-Te,At-Te,xt)),Te=un+1}return Qt}flatten(Je){for(let At of this.children)At.flatten(Je)}scanIdentical(Je,At){if(!(Je instanceof n))return 0;let xt=0,[Qt,qt,Te,Gt]=At>0?[0,0,this.children.length,Je.children.length]:[this.children.length-1,Je.children.length-1,-1,-1];for(;;Qt+=At,qt+=At){if(Qt==Te||qt==Gt)return xt;let un=this.children[Qt],Vt=Je.children[qt];if(un!=Vt)return xt+un.scanIdentical(Vt,At);xt+=un.length+1}}static from(Je,At=Je.reduce((xt,Qt)=>xt+Qt.length+1,-1)){let xt=0;for(let xe of Je)xt+=xe.lines;if(xt<32){let xe=[];for(let Ae of Je)Ae.flatten(xe);return new o(xe,At)}let Qt=Math.max(32,xt>>5),qt=Qt<<1,Te=Qt>>1,Gt=[],un=0,Vt=-1,Dn=[];function Wt(xe){let Ae;if(xe.lines>qt&&xe instanceof n)for(let qe of xe.children)Wt(qe);else xe.lines>Te&&(un>Te||!un)?(Pe(),Gt.push(xe)):xe instanceof o&&un&&(Ae=Dn[Dn.length-1])instanceof o&&xe.lines+Ae.lines<=32?(un+=xe.lines,Vt+=xe.length+1,Dn[Dn.length-1]=new o(Ae.text.concat(xe.text),Ae.length+1+xe.length)):(un+xe.lines>Qt&&Pe(),un+=xe.lines,Vt+=xe.length+1,Dn.push(xe))}function Pe(){un!=0&&(Gt.push(Dn.length==1?Dn[0]:n.from(Dn,Vt)),Vt=-1,un=Dn.length=0)}for(let xe of Je)Wt(xe);return Pe(),Gt.length==1?Gt[0]:new n(Gt,At)}}r.empty=new o([""],0);function a(Xt){let Je=-1;for(let At of Xt)Je+=At.length+1;return Je}function i(Xt,Je,At=0,xt=1e9){for(let Qt=0,qt=0,Te=!0;qt<Xt.length&&Qt<=xt;qt++){let Gt=Xt[qt],un=Qt+Gt.length;un>=At&&(un>xt&&(Gt=Gt.slice(0,xt-Qt)),Qt<At&&(Gt=Gt.slice(At-Qt)),Te?(Je[Je.length-1]+=Gt,Te=!1):Je.push(Gt)),Qt=un+1}return Je}function c(Xt,Je,At){return i(Xt,[""],Je,At)}class u{constructor(Je,At=1){this.dir=At,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[Je],this.offsets=[At>0?1:(Je instanceof o?Je.text.length:Je.children.length)<<1]}nextInner(Je,At){for(this.done=this.lineBreak=!1;;){let xt=this.nodes.length-1,Qt=this.nodes[xt],qt=this.offsets[xt],Te=qt>>1,Gt=Qt instanceof o?Qt.text.length:Qt.children.length;if(Te==(At>0?Gt:0)){if(xt==0)return this.done=!0,this.value="",this;At>0&&this.offsets[xt-1]++,this.nodes.pop(),this.offsets.pop()}else if((qt&1)==(At>0?0:1)){if(this.offsets[xt]+=At,Je==0)return this.lineBreak=!0,this.value=`
`,this;Je--}else if(Qt instanceof o){let un=Qt.text[Te+(At<0?-1:0)];if(this.offsets[xt]+=At,un.length>Math.max(0,Je))return this.value=Je==0?un:At>0?un.slice(Je):un.slice(0,un.length-Je),this;Je-=un.length}else{let un=Qt.children[Te+(At<0?-1:0)];Je>un.length?(Je-=un.length,this.offsets[xt]+=At):(At<0&&this.offsets[xt]--,this.nodes.push(un),this.offsets.push(At>0?1:(un instanceof o?un.text.length:un.children.length)<<1))}}}next(Je=0){return Je<0&&(this.nextInner(-Je,-this.dir),Je=this.value.length),this.nextInner(Je,this.dir)}}class f{constructor(Je,At,xt){this.value="",this.done=!1,this.cursor=new u(Je,At>xt?-1:1),this.pos=At>xt?Je.length:0,this.from=Math.min(At,xt),this.to=Math.max(At,xt)}nextInner(Je,At){if(At<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;Je+=Math.max(0,At<0?this.pos-this.to:this.from-this.pos);let xt=At<0?this.pos-this.from:this.to-this.pos;Je>xt&&(Je=xt),xt-=Je;let{value:Qt}=this.cursor.next(Je);return this.pos+=(Qt.length+Je)*At,this.value=Qt.length<=xt?Qt:At<0?Qt.slice(Qt.length-xt):Qt.slice(0,xt),this.done=!this.value,this}next(Je=0){return Je<0?Je=Math.max(Je,this.from-this.pos):Je>0&&(Je=Math.min(Je,this.to-this.pos)),this.nextInner(Je,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class d{constructor(Je){this.inner=Je,this.afterBreak=!0,this.value="",this.done=!1}next(Je=0){let{done:At,lineBreak:xt,value:Qt}=this.inner.next(Je);return At&&this.afterBreak?(this.value="",this.afterBreak=!1):At?(this.done=!0,this.value=""):xt?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=Qt,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(r.prototype[Symbol.iterator]=function(){return this.iter()},u.prototype[Symbol.iterator]=f.prototype[Symbol.iterator]=d.prototype[Symbol.iterator]=function(){return this});class h{constructor(Je,At,xt,Qt){this.from=Je,this.to=At,this.number=xt,this.text=Qt}get length(){return this.to-this.from}}function g(Xt,Je,At){return Je=Math.max(0,Math.min(Xt.length,Je)),[Je,Math.max(Je,Math.min(Xt.length,At))]}let _="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(Xt=>Xt?parseInt(Xt,36):1);for(let Xt=1;Xt<_.length;Xt++)_[Xt]+=_[Xt-1];function p(Xt){for(let Je=1;Je<_.length;Je+=2)if(_[Je]>Xt)return _[Je-1]<=Xt;return!1}function y(Xt){return Xt>=127462&&Xt<=127487}const O=8205;function P(Xt,Je,At=!0,xt=!0){return(At?C:A)(Xt,Je,xt)}function C(Xt,Je,At){if(Je==Xt.length)return Je;Je&&S(Xt.charCodeAt(Je))&&T(Xt.charCodeAt(Je-1))&&Je--;let xt=s(Xt,Je);for(Je+=m(xt);Je<Xt.length;){let Qt=s(Xt,Je);if(xt==O||Qt==O||At&&p(Qt))Je+=m(Qt),xt=Qt;else if(y(Qt)){let qt=0,Te=Je-2;for(;Te>=0&&y(s(Xt,Te));)qt++,Te-=2;if(qt%2==0)break;Je+=2}else break}return Je}function A(Xt,Je,At){for(;Je>0;){let xt=C(Xt,Je-2,At);if(xt<Je)return xt;Je--}return 0}function S(Xt){return Xt>=56320&&Xt<57344}function T(Xt){return Xt>=55296&&Xt<56320}function s(Xt,Je){let At=Xt.charCodeAt(Je);if(!T(At)||Je+1==Xt.length)return At;let xt=Xt.charCodeAt(Je+1);return S(xt)?(At-55296<<10)+(xt-56320)+65536:At}function v(Xt){return Xt<=65535?String.fromCharCode(Xt):(Xt-=65536,String.fromCharCode((Xt>>10)+55296,(Xt&1023)+56320))}function m(Xt){return Xt<65536?1:2}const E=/\r\n?|\n/;var I=function(Xt){return Xt[Xt.Simple=0]="Simple",Xt[Xt.TrackDel=1]="TrackDel",Xt[Xt.TrackBefore=2]="TrackBefore",Xt[Xt.TrackAfter=3]="TrackAfter",Xt}(I||(I={}));class L{constructor(Je){this.sections=Je}get length(){let Je=0;for(let At=0;At<this.sections.length;At+=2)Je+=this.sections[At];return Je}get newLength(){let Je=0;for(let At=0;At<this.sections.length;At+=2){let xt=this.sections[At+1];Je+=xt<0?this.sections[At]:xt}return Je}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(Je){for(let At=0,xt=0,Qt=0;At<this.sections.length;){let qt=this.sections[At++],Te=this.sections[At++];Te<0?(Je(xt,Qt,qt),Qt+=qt):Qt+=Te,xt+=qt}}iterChangedRanges(Je,At=!1){k(this,Je,At)}get invertedDesc(){let Je=[];for(let At=0;At<this.sections.length;){let xt=this.sections[At++],Qt=this.sections[At++];Qt<0?Je.push(xt,Qt):Je.push(Qt,xt)}return new L(Je)}composeDesc(Je){return this.empty?Je:Je.empty?this:M(this,Je)}mapDesc(Je,At=!1){return Je.empty?this:x(this,Je,At)}mapPos(Je,At=-1,xt=I.Simple){let Qt=0,qt=0;for(let Te=0;Te<this.sections.length;){let Gt=this.sections[Te++],un=this.sections[Te++],Vt=Qt+Gt;if(un<0){if(Vt>Je)return qt+(Je-Qt);qt+=Gt}else{if(xt!=I.Simple&&Vt>=Je&&(xt==I.TrackDel&&Qt<Je&&Vt>Je||xt==I.TrackBefore&&Qt<Je||xt==I.TrackAfter&&Vt>Je))return null;if(Vt>Je||Vt==Je&&At<0&&!Gt)return Je==Qt||At<0?qt:qt+un;qt+=un}Qt=Vt}if(Je>Qt)throw new RangeError(`Position ${Je} is out of range for changeset of length ${Qt}`);return qt}touchesRange(Je,At=Je){for(let xt=0,Qt=0;xt<this.sections.length&&Qt<=At;){let qt=this.sections[xt++],Te=this.sections[xt++],Gt=Qt+qt;if(Te>=0&&Qt<=At&&Gt>=Je)return Qt<Je&&Gt>At?"cover":!0;Qt=Gt}return!1}toString(){let Je="";for(let At=0;At<this.sections.length;){let xt=this.sections[At++],Qt=this.sections[At++];Je+=(Je?" ":"")+xt+(Qt>=0?":"+Qt:"")}return Je}toJSON(){return this.sections}static fromJSON(Je){if(!Array.isArray(Je)||Je.length%2||Je.some(At=>typeof At!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new L(Je)}static create(Je){return new L(Je)}}class W extends L{constructor(Je,At){super(Je),this.inserted=At}apply(Je){if(this.length!=Je.length)throw new RangeError("Applying change set to a document with the wrong length");return k(this,(At,xt,Qt,qt,Te)=>Je=Je.replace(Qt,Qt+(xt-At),Te),!1),Je}mapDesc(Je,At=!1){return x(this,Je,At,!0)}invert(Je){let At=this.sections.slice(),xt=[];for(let Qt=0,qt=0;Qt<At.length;Qt+=2){let Te=At[Qt],Gt=At[Qt+1];if(Gt>=0){At[Qt]=Gt,At[Qt+1]=Te;let un=Qt>>1;for(;xt.length<un;)xt.push(r.empty);xt.push(Te?Je.slice(qt,qt+Te):r.empty)}qt+=Te}return new W(At,xt)}compose(Je){return this.empty?Je:Je.empty?this:M(this,Je,!0)}map(Je,At=!1){return Je.empty?this:x(this,Je,At,!0)}iterChanges(Je,At=!1){k(this,Je,At)}get desc(){return L.create(this.sections)}filter(Je){let At=[],xt=[],Qt=[],qt=new B(this);e:for(let Te=0,Gt=0;;){let un=Te==Je.length?1e9:Je[Te++];for(;Gt<un||Gt==un&&qt.len==0;){if(qt.done)break e;let Dn=Math.min(qt.len,un-Gt);F(Qt,Dn,-1);let Wt=qt.ins==-1?-1:qt.off==0?qt.ins:0;F(At,Dn,Wt),Wt>0&&G(xt,At,qt.text),qt.forward(Dn),Gt+=Dn}let Vt=Je[Te++];for(;Gt<Vt;){if(qt.done)break e;let Dn=Math.min(qt.len,Vt-Gt);F(At,Dn,-1),F(Qt,Dn,qt.ins==-1?-1:qt.off==0?qt.ins:0),qt.forward(Dn),Gt+=Dn}}return{changes:new W(At,xt),filtered:L.create(Qt)}}toJSON(){let Je=[];for(let At=0;At<this.sections.length;At+=2){let xt=this.sections[At],Qt=this.sections[At+1];Qt<0?Je.push(xt):Qt==0?Je.push([xt]):Je.push([xt].concat(this.inserted[At>>1].toJSON()))}return Je}static of(Je,At,xt){let Qt=[],qt=[],Te=0,Gt=null;function un(Dn=!1){if(!Dn&&!Qt.length)return;Te<At&&F(Qt,At-Te,-1);let Wt=new W(Qt,qt);Gt=Gt?Gt.compose(Wt.map(Gt)):Wt,Qt=[],qt=[],Te=0}function Vt(Dn){if(Array.isArray(Dn))for(let Wt of Dn)Vt(Wt);else if(Dn instanceof W){if(Dn.length!=At)throw new RangeError(`Mismatched change set length (got ${Dn.length}, expected ${At})`);un(),Gt=Gt?Gt.compose(Dn.map(Gt)):Dn}else{let{from:Wt,to:Pe=Wt,insert:xe}=Dn;if(Wt>Pe||Wt<0||Pe>At)throw new RangeError(`Invalid change range ${Wt} to ${Pe} (in doc of length ${At})`);let Ae=xe?typeof xe=="string"?r.of(xe.split(xt||E)):xe:r.empty,qe=Ae.length;if(Wt==Pe&&qe==0)return;Wt<Te&&un(),Wt>Te&&F(Qt,Wt-Te,-1),F(Qt,Pe-Wt,qe),G(qt,Qt,Ae),Te=Pe}}return Vt(Je),un(!Gt),Gt}static empty(Je){return new W(Je?[Je,-1]:[],[])}static fromJSON(Je){if(!Array.isArray(Je))throw new RangeError("Invalid JSON representation of ChangeSet");let At=[],xt=[];for(let Qt=0;Qt<Je.length;Qt++){let qt=Je[Qt];if(typeof qt=="number")At.push(qt,-1);else{if(!Array.isArray(qt)||typeof qt[0]!="number"||qt.some((Te,Gt)=>Gt&&typeof Te!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(qt.length==1)At.push(qt[0],0);else{for(;xt.length<Qt;)xt.push(r.empty);xt[Qt]=r.of(qt.slice(1)),At.push(qt[0],xt[Qt].length)}}}return new W(At,xt)}static createSet(Je,At){return new W(Je,At)}}function F(Xt,Je,At,xt=!1){if(Je==0&&At<=0)return;let Qt=Xt.length-2;Qt>=0&&At<=0&&At==Xt[Qt+1]?Xt[Qt]+=Je:Je==0&&Xt[Qt]==0?Xt[Qt+1]+=At:xt?(Xt[Qt]+=Je,Xt[Qt+1]+=At):Xt.push(Je,At)}function G(Xt,Je,At){if(At.length==0)return;let xt=Je.length-2>>1;if(xt<Xt.length)Xt[Xt.length-1]=Xt[Xt.length-1].append(At);else{for(;Xt.length<xt;)Xt.push(r.empty);Xt.push(At)}}function k(Xt,Je,At){let xt=Xt.inserted;for(let Qt=0,qt=0,Te=0;Te<Xt.sections.length;){let Gt=Xt.sections[Te++],un=Xt.sections[Te++];if(un<0)Qt+=Gt,qt+=Gt;else{let Vt=Qt,Dn=qt,Wt=r.empty;for(;Vt+=Gt,Dn+=un,un&&xt&&(Wt=Wt.append(xt[Te-2>>1])),!(At||Te==Xt.sections.length||Xt.sections[Te+1]<0);)Gt=Xt.sections[Te++],un=Xt.sections[Te++];Je(Qt,Vt,qt,Dn,Wt),Qt=Vt,qt=Dn}}}function x(Xt,Je,At,xt=!1){let Qt=[],qt=xt?[]:null,Te=new B(Xt),Gt=new B(Je);for(let un=-1;;)if(Te.ins==-1&&Gt.ins==-1){let Vt=Math.min(Te.len,Gt.len);F(Qt,Vt,-1),Te.forward(Vt),Gt.forward(Vt)}else if(Gt.ins>=0&&(Te.ins<0||un==Te.i||Te.off==0&&(Gt.len<Te.len||Gt.len==Te.len&&!At))){let Vt=Gt.len;for(F(Qt,Gt.ins,-1);Vt;){let Dn=Math.min(Te.len,Vt);Te.ins>=0&&un<Te.i&&Te.len<=Dn&&(F(Qt,0,Te.ins),qt&&G(qt,Qt,Te.text),un=Te.i),Te.forward(Dn),Vt-=Dn}Gt.next()}else if(Te.ins>=0){let Vt=0,Dn=Te.len;for(;Dn;)if(Gt.ins==-1){let Wt=Math.min(Dn,Gt.len);Vt+=Wt,Dn-=Wt,Gt.forward(Wt)}else if(Gt.ins==0&&Gt.len<Dn)Dn-=Gt.len,Gt.next();else break;F(Qt,Vt,un<Te.i?Te.ins:0),qt&&un<Te.i&&G(qt,Qt,Te.text),un=Te.i,Te.forward(Te.len-Dn)}else{if(Te.done&&Gt.done)return qt?W.createSet(Qt,qt):L.create(Qt);throw new Error("Mismatched change set lengths")}}function M(Xt,Je,At=!1){let xt=[],Qt=At?[]:null,qt=new B(Xt),Te=new B(Je);for(let Gt=!1;;){if(qt.done&&Te.done)return Qt?W.createSet(xt,Qt):L.create(xt);if(qt.ins==0)F(xt,qt.len,0,Gt),qt.next();else if(Te.len==0&&!Te.done)F(xt,0,Te.ins,Gt),Qt&&G(Qt,xt,Te.text),Te.next();else{if(qt.done||Te.done)throw new Error("Mismatched change set lengths");{let un=Math.min(qt.len2,Te.len),Vt=xt.length;if(qt.ins==-1){let Dn=Te.ins==-1?-1:Te.off?0:Te.ins;F(xt,un,Dn,Gt),Qt&&Dn&&G(Qt,xt,Te.text)}else Te.ins==-1?(F(xt,qt.off?0:qt.len,un,Gt),Qt&&G(Qt,xt,qt.textBit(un))):(F(xt,qt.off?0:qt.len,Te.off?0:Te.ins,Gt),Qt&&!Te.off&&G(Qt,xt,Te.text));Gt=(qt.ins>un||Te.ins>=0&&Te.len>un)&&(Gt||xt.length>Vt),qt.forward2(un),Te.forward(un)}}}}class B{constructor(Je){this.set=Je,this.i=0,this.next()}next(){let{sections:Je}=this.set;this.i<Je.length?(this.len=Je[this.i++],this.ins=Je[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:Je}=this.set,At=this.i-2>>1;return At>=Je.length?r.empty:Je[At]}textBit(Je){let{inserted:At}=this.set,xt=this.i-2>>1;return xt>=At.length&&!Je?r.empty:At[xt].slice(this.off,Je==null?void 0:this.off+Je)}forward(Je){Je==this.len?this.next():(this.len-=Je,this.off+=Je)}forward2(Je){this.ins==-1?this.forward(Je):Je==this.ins?this.next():(this.ins-=Je,this.off+=Je)}}class R{constructor(Je,At,xt){this.from=Je,this.to=At,this.flags=xt}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let Je=this.flags&7;return Je==7?null:Je}get goalColumn(){let Je=this.flags>>6;return Je==16777215?void 0:Je}map(Je,At=-1){let xt,Qt;return this.empty?xt=Qt=Je.mapPos(this.from,At):(xt=Je.mapPos(this.from,1),Qt=Je.mapPos(this.to,-1)),xt==this.from&&Qt==this.to?this:new R(xt,Qt,this.flags)}extend(Je,At=Je){if(Je<=this.anchor&&At>=this.anchor)return U.range(Je,At);let xt=Math.abs(Je-this.anchor)>Math.abs(At-this.anchor)?Je:At;return U.range(this.anchor,xt)}eq(Je,At=!1){return this.anchor==Je.anchor&&this.head==Je.head&&(!At||!this.empty||this.assoc==Je.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(Je){if(!Je||typeof Je.anchor!="number"||typeof Je.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return U.range(Je.anchor,Je.head)}static create(Je,At,xt){return new R(Je,At,xt)}}class U{constructor(Je,At){this.ranges=Je,this.mainIndex=At}map(Je,At=-1){return Je.empty?this:U.create(this.ranges.map(xt=>xt.map(Je,At)),this.mainIndex)}eq(Je,At=!1){if(this.ranges.length!=Je.ranges.length||this.mainIndex!=Je.mainIndex)return!1;for(let xt=0;xt<this.ranges.length;xt++)if(!this.ranges[xt].eq(Je.ranges[xt],At))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new U([this.main],0)}addRange(Je,At=!0){return U.create([Je].concat(this.ranges),At?0:this.mainIndex+1)}replaceRange(Je,At=this.mainIndex){let xt=this.ranges.slice();return xt[At]=Je,U.create(xt,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(Je=>Je.toJSON()),main:this.mainIndex}}static fromJSON(Je){if(!Je||!Array.isArray(Je.ranges)||typeof Je.main!="number"||Je.main>=Je.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new U(Je.ranges.map(At=>R.fromJSON(At)),Je.main)}static single(Je,At=Je){return new U([U.range(Je,At)],0)}static create(Je,At=0){if(Je.length==0)throw new RangeError("A selection needs at least one range");for(let xt=0,Qt=0;Qt<Je.length;Qt++){let qt=Je[Qt];if(qt.empty?qt.from<=xt:qt.from<xt)return U.normalized(Je.slice(),At);xt=qt.to}return new U(Je,At)}static cursor(Je,At=0,xt,Qt){return R.create(Je,Je,(At==0?0:At<0?8:16)|(xt==null?7:Math.min(6,xt))|(Qt??16777215)<<6)}static range(Je,At,xt,Qt){let qt=(xt??16777215)<<6|(Qt==null?7:Math.min(6,Qt));return At<Je?R.create(At,Je,48|qt):R.create(Je,At,(At>Je?8:0)|qt)}static normalized(Je,At=0){let xt=Je[At];Je.sort((Qt,qt)=>Qt.from-qt.from),At=Je.indexOf(xt);for(let Qt=1;Qt<Je.length;Qt++){let qt=Je[Qt],Te=Je[Qt-1];if(qt.empty?qt.from<=Te.to:qt.from<Te.to){let Gt=Te.from,un=Math.max(qt.to,Te.to);Qt<=At&&At--,Je.splice(--Qt,2,qt.anchor>qt.head?U.range(un,Gt):U.range(Gt,un))}}return new U(Je,At)}}function j(Xt,Je){for(let At of Xt.ranges)if(At.to>Je)throw new RangeError("Selection points outside of document")}let $=0;class ee{constructor(Je,At,xt,Qt,qt){this.combine=Je,this.compareInput=At,this.compare=xt,this.isStatic=Qt,this.id=$++,this.default=Je([]),this.extensions=typeof qt=="function"?qt(this):qt}get reader(){return this}static define(Je={}){return new ee(Je.combine||(At=>At),Je.compareInput||((At,xt)=>At===xt),Je.compare||(Je.combine?(At,xt)=>At===xt:te),!!Je.static,Je.enables)}of(Je){return new ie([],this,0,Je)}compute(Je,At){if(this.isStatic)throw new Error("Can't compute a static facet");return new ie(Je,this,1,At)}computeN(Je,At){if(this.isStatic)throw new Error("Can't compute a static facet");return new ie(Je,this,2,At)}from(Je,At){return At||(At=xt=>xt),this.compute([Je],xt=>At(xt.field(Je)))}}function te(Xt,Je){return Xt==Je||Xt.length==Je.length&&Xt.every((At,xt)=>At===Je[xt])}class ie{constructor(Je,At,xt,Qt){this.dependencies=Je,this.facet=At,this.type=xt,this.value=Qt,this.id=$++}dynamicSlot(Je){var At;let xt=this.value,Qt=this.facet.compareInput,qt=this.id,Te=Je[qt]>>1,Gt=this.type==2,un=!1,Vt=!1,Dn=[];for(let Wt of this.dependencies)Wt=="doc"?un=!0:Wt=="selection"?Vt=!0:((At=Je[Wt.id])!==null&&At!==void 0?At:1)&1||Dn.push(Je[Wt.id]);return{create(Wt){return Wt.values[Te]=xt(Wt),1},update(Wt,Pe){if(un&&Pe.docChanged||Vt&&(Pe.docChanged||Pe.selection)||pe(Wt,Dn)){let xe=xt(Wt);if(Gt?!ne(xe,Wt.values[Te],Qt):!Qt(xe,Wt.values[Te]))return Wt.values[Te]=xe,1}return 0},reconfigure:(Wt,Pe)=>{let xe,Ae=Pe.config.address[qt];if(Ae!=null){let qe=ge(Pe,Ae);if(this.dependencies.every(wt=>wt instanceof ee?Pe.facet(wt)===Wt.facet(wt):wt instanceof J?Pe.field(wt,!1)==Wt.field(wt,!1):!0)||(Gt?ne(xe=xt(Wt),qe,Qt):Qt(xe=xt(Wt),qe)))return Wt.values[Te]=qe,0}else xe=xt(Wt);return Wt.values[Te]=xe,1}}}}function ne(Xt,Je,At){if(Xt.length!=Je.length)return!1;for(let xt=0;xt<Xt.length;xt++)if(!At(Xt[xt],Je[xt]))return!1;return!0}function pe(Xt,Je){let At=!1;for(let xt of Je)ae(Xt,xt)&1&&(At=!0);return At}function oe(Xt,Je,At){let xt=At.map(un=>Xt[un.id]),Qt=At.map(un=>un.type),qt=xt.filter(un=>!(un&1)),Te=Xt[Je.id]>>1;function Gt(un){let Vt=[];for(let Dn=0;Dn<xt.length;Dn++){let Wt=ge(un,xt[Dn]);if(Qt[Dn]==2)for(let Pe of Wt)Vt.push(Pe);else Vt.push(Wt)}return Je.combine(Vt)}return{create(un){for(let Vt of xt)ae(un,Vt);return un.values[Te]=Gt(un),1},update(un,Vt){if(!pe(un,qt))return 0;let Dn=Gt(un);return Je.compare(Dn,un.values[Te])?0:(un.values[Te]=Dn,1)},reconfigure(un,Vt){let Dn=pe(un,xt),Wt=Vt.config.facets[Je.id],Pe=Vt.facet(Je);if(Wt&&!Dn&&te(At,Wt))return un.values[Te]=Pe,0;let xe=Gt(un);return Je.compare(xe,Pe)?(un.values[Te]=Pe,0):(un.values[Te]=xe,1)}}}const q=ee.define({static:!0});class J{constructor(Je,At,xt,Qt,qt){this.id=Je,this.createF=At,this.updateF=xt,this.compareF=Qt,this.spec=qt,this.provides=void 0}static define(Je){let At=new J($++,Je.create,Je.update,Je.compare||((xt,Qt)=>xt===Qt),Je);return Je.provide&&(At.provides=Je.provide(At)),At}create(Je){let At=Je.facet(q).find(xt=>xt.field==this);return((At==null?void 0:At.create)||this.createF)(Je)}slot(Je){let At=Je[this.id]>>1;return{create:xt=>(xt.values[At]=this.create(xt),1),update:(xt,Qt)=>{let qt=xt.values[At],Te=this.updateF(qt,Qt);return this.compareF(qt,Te)?0:(xt.values[At]=Te,1)},reconfigure:(xt,Qt)=>Qt.config.address[this.id]!=null?(xt.values[At]=Qt.field(this),0):(xt.values[At]=this.create(xt),1)}}init(Je){return[this,q.of({field:this,create:Je})]}get extension(){return this}}const me={lowest:4,low:3,default:2,high:1,highest:0};function re(Xt){return Je=>new Ee(Je,Xt)}const he={highest:re(me.highest),high:re(me.high),default:re(me.default),low:re(me.low),lowest:re(me.lowest)};class Ee{constructor(Je,At){this.inner=Je,this.prec=At}}class fe{of(Je){return new H(this,Je)}reconfigure(Je){return fe.reconfigure.of({compartment:this,extension:Je})}get(Je){return Je.config.compartments.get(this)}}class H{constructor(Je,At){this.compartment=Je,this.inner=At}}class z{constructor(Je,At,xt,Qt,qt,Te){for(this.base=Je,this.compartments=At,this.dynamicSlots=xt,this.address=Qt,this.staticValues=qt,this.facets=Te,this.statusTemplate=[];this.statusTemplate.length<xt.length;)this.statusTemplate.push(0)}staticFacet(Je){let At=this.address[Je.id];return At==null?Je.default:this.staticValues[At>>1]}static resolve(Je,At,xt){let Qt=[],qt=Object.create(null),Te=new Map;for(let Pe of _e(Je,At,Te))Pe instanceof J?Qt.push(Pe):(qt[Pe.facet.id]||(qt[Pe.facet.id]=[])).push(Pe);let Gt=Object.create(null),un=[],Vt=[];for(let Pe of Qt)Gt[Pe.id]=Vt.length<<1,Vt.push(xe=>Pe.slot(xe));let Dn=xt==null?void 0:xt.config.facets;for(let Pe in qt){let xe=qt[Pe],Ae=xe[0].facet,qe=Dn&&Dn[Pe]||[];if(xe.every(wt=>wt.type==0))if(Gt[Ae.id]=un.length<<1|1,te(qe,xe))un.push(xt.facet(Ae));else{let wt=Ae.combine(xe.map(kt=>kt.value));un.push(xt&&Ae.compare(wt,xt.facet(Ae))?xt.facet(Ae):wt)}else{for(let wt of xe)wt.type==0?(Gt[wt.id]=un.length<<1|1,un.push(wt.value)):(Gt[wt.id]=Vt.length<<1,Vt.push(kt=>wt.dynamicSlot(kt)));Gt[Ae.id]=Vt.length<<1,Vt.push(wt=>oe(wt,Ae,xe))}}let Wt=Vt.map(Pe=>Pe(Gt));return new z(Je,Te,Wt,Gt,un,qt)}}function _e(Xt,Je,At){let xt=[[],[],[],[],[]],Qt=new Map;function qt(Te,Gt){let un=Qt.get(Te);if(un!=null){if(un<=Gt)return;let Vt=xt[un].indexOf(Te);Vt>-1&&xt[un].splice(Vt,1),Te instanceof H&&At.delete(Te.compartment)}if(Qt.set(Te,Gt),Array.isArray(Te))for(let Vt of Te)qt(Vt,Gt);else if(Te instanceof H){if(At.has(Te.compartment))throw new RangeError("Duplicate use of compartment in extensions");let Vt=Je.get(Te.compartment)||Te.inner;At.set(Te.compartment,Vt),qt(Vt,Gt)}else if(Te instanceof Ee)qt(Te.inner,Te.prec);else if(Te instanceof J)xt[Gt].push(Te),Te.provides&&qt(Te.provides,Gt);else if(Te instanceof ie)xt[Gt].push(Te),Te.facet.extensions&&qt(Te.facet.extensions,me.default);else{let Vt=Te.extension;if(!Vt)throw new Error(`Unrecognized extension value in extension set (${Te}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);qt(Vt,Gt)}}return qt(Xt,me.default),xt.reduce((Te,Gt)=>Te.concat(Gt))}function ae(Xt,Je){if(Je&1)return 2;let At=Je>>1,xt=Xt.status[At];if(xt==4)throw new Error("Cyclic dependency between fields and/or facets");if(xt&2)return xt;Xt.status[At]=4;let Qt=Xt.computeSlot(Xt,Xt.config.dynamicSlots[At]);return Xt.status[At]=2|Qt}function ge(Xt,Je){return Je&1?Xt.config.staticValues[Je>>1]:Xt.values[Je>>1]}const Be=ee.define(),Ke=ee.define({combine:Xt=>Xt.some(Je=>Je),static:!0}),He=ee.define({combine:Xt=>Xt.length?Xt[0]:void 0,static:!0}),ye=ee.define(),Le=ee.define(),Ue=ee.define(),Xe=ee.define({combine:Xt=>Xt.length?Xt[0]:!1});class Fe{constructor(Je,At){this.type=Je,this.value=At}static define(){return new ht}}class ht{of(Je){return new Fe(this,Je)}}class Ne{constructor(Je){this.map=Je}of(Je){return new Ce(this,Je)}}class Ce{constructor(Je,At){this.type=Je,this.value=At}map(Je){let At=this.type.map(this.value,Je);return At===void 0?void 0:At==this.value?this:new Ce(this.type,At)}is(Je){return this.type==Je}static define(Je={}){return new Ne(Je.map||(At=>At))}static mapEffects(Je,At){if(!Je.length)return Je;let xt=[];for(let Qt of Je){let qt=Qt.map(At);qt&&xt.push(qt)}return xt}}Ce.reconfigure=Ce.define(),Ce.appendConfig=Ce.define();class we{constructor(Je,At,xt,Qt,qt,Te){this.startState=Je,this.changes=At,this.selection=xt,this.effects=Qt,this.annotations=qt,this.scrollIntoView=Te,this._doc=null,this._state=null,xt&&j(xt,At.newLength),qt.some(Gt=>Gt.type==we.time)||(this.annotations=qt.concat(we.time.of(Date.now())))}static create(Je,At,xt,Qt,qt,Te){return new we(Je,At,xt,Qt,qt,Te)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(Je){for(let At of this.annotations)if(At.type==Je)return At.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(Je){let At=this.annotation(we.userEvent);return!!(At&&(At==Je||At.length>Je.length&&At.slice(0,Je.length)==Je&&At[Je.length]=="."))}}we.time=Fe.define(),we.userEvent=Fe.define(),we.addToHistory=Fe.define(),we.remote=Fe.define();function $e(Xt,Je){let At=[];for(let xt=0,Qt=0;;){let qt,Te;if(xt<Xt.length&&(Qt==Je.length||Je[Qt]>=Xt[xt]))qt=Xt[xt++],Te=Xt[xt++];else if(Qt<Je.length)qt=Je[Qt++],Te=Je[Qt++];else return At;!At.length||At[At.length-1]<qt?At.push(qt,Te):At[At.length-1]<Te&&(At[At.length-1]=Te)}}function Ot(Xt,Je,At){var xt;let Qt,qt,Te;return At?(Qt=Je.changes,qt=W.empty(Je.changes.length),Te=Xt.changes.compose(Je.changes)):(Qt=Je.changes.map(Xt.changes),qt=Xt.changes.mapDesc(Je.changes,!0),Te=Xt.changes.compose(Qt)),{changes:Te,selection:Je.selection?Je.selection.map(qt):(xt=Xt.selection)===null||xt===void 0?void 0:xt.map(Qt),effects:Ce.mapEffects(Xt.effects,Qt).concat(Ce.mapEffects(Je.effects,qt)),annotations:Xt.annotations.length?Xt.annotations.concat(Je.annotations):Je.annotations,scrollIntoView:Xt.scrollIntoView||Je.scrollIntoView}}function Pt(Xt,Je,At){let xt=Je.selection,Qt=ce(Je.annotations);return Je.userEvent&&(Qt=Qt.concat(we.userEvent.of(Je.userEvent))),{changes:Je.changes instanceof W?Je.changes:W.of(Je.changes||[],At,Xt.facet(He)),selection:xt&&(xt instanceof U?xt:U.single(xt.anchor,xt.head)),effects:ce(Je.effects),annotations:Qt,scrollIntoView:!!Je.scrollIntoView}}function Ie(Xt,Je,At){let xt=Pt(Xt,Je.length?Je[0]:{},Xt.doc.length);Je.length&&Je[0].filter===!1&&(At=!1);for(let qt=1;qt<Je.length;qt++){Je[qt].filter===!1&&(At=!1);let Te=!!Je[qt].sequential;xt=Ot(xt,Pt(Xt,Je[qt],Te?xt.changes.newLength:Xt.doc.length),Te)}let Qt=we.create(Xt,xt.changes,xt.selection,xt.effects,xt.annotations,xt.scrollIntoView);return mt(At?Bt(Qt):Qt)}function Bt(Xt){let Je=Xt.startState,At=!0;for(let Qt of Je.facet(ye)){let qt=Qt(Xt);if(qt===!1){At=!1;break}Array.isArray(qt)&&(At=At===!0?qt:$e(At,qt))}if(At!==!0){let Qt,qt;if(At===!1)qt=Xt.changes.invertedDesc,Qt=W.empty(Je.doc.length);else{let Te=Xt.changes.filter(At);Qt=Te.changes,qt=Te.filtered.mapDesc(Te.changes).invertedDesc}Xt=we.create(Je,Qt,Xt.selection&&Xt.selection.map(qt),Ce.mapEffects(Xt.effects,qt),Xt.annotations,Xt.scrollIntoView)}let xt=Je.facet(Le);for(let Qt=xt.length-1;Qt>=0;Qt--){let qt=xt[Qt](Xt);qt instanceof we?Xt=qt:Array.isArray(qt)&&qt.length==1&&qt[0]instanceof we?Xt=qt[0]:Xt=Ie(Je,ce(qt),!1)}return Xt}function mt(Xt){let Je=Xt.startState,At=Je.facet(Ue),xt=Xt;for(let Qt=At.length-1;Qt>=0;Qt--){let qt=At[Qt](Xt);qt&&Object.keys(qt).length&&(xt=Ot(xt,Pt(Je,qt,Xt.changes.newLength),!0))}return xt==Xt?Xt:we.create(Je,Xt.changes,Xt.selection,xt.effects,xt.annotations,xt.scrollIntoView)}const rt=[];function ce(Xt){return Xt==null?rt:Array.isArray(Xt)?Xt:[Xt]}var Re=function(Xt){return Xt[Xt.Word=0]="Word",Xt[Xt.Space=1]="Space",Xt[Xt.Other=2]="Other",Xt}(Re||(Re={}));const nt=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let st;try{st=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function vt(Xt){if(st)return st.test(Xt);for(let Je=0;Je<Xt.length;Je++){let At=Xt[Je];if(/\w/.test(At)||At>"\x80"&&(At.toUpperCase()!=At.toLowerCase()||nt.test(At)))return!0}return!1}function ze(Xt){return Je=>{if(!/\S/.test(Je))return Re.Space;if(vt(Je))return Re.Word;for(let At=0;At<Xt.length;At++)if(Je.indexOf(Xt[At])>-1)return Re.Word;return Re.Other}}class It{constructor(Je,At,xt,Qt,qt,Te){this.config=Je,this.doc=At,this.selection=xt,this.values=Qt,this.status=Je.statusTemplate.slice(),this.computeSlot=qt,Te&&(Te._state=this);for(let Gt=0;Gt<this.config.dynamicSlots.length;Gt++)ae(this,Gt<<1);this.computeSlot=null}field(Je,At=!0){let xt=this.config.address[Je.id];if(xt==null){if(At)throw new RangeError("Field is not present in this state");return}return ae(this,xt),ge(this,xt)}update(...Je){return Ie(this,Je,!0)}applyTransaction(Je){let At=this.config,{base:xt,compartments:Qt}=At;for(let Gt of Je.effects)Gt.is(fe.reconfigure)?(At&&(Qt=new Map,At.compartments.forEach((un,Vt)=>Qt.set(Vt,un)),At=null),Qt.set(Gt.value.compartment,Gt.value.extension)):Gt.is(Ce.reconfigure)?(At=null,xt=Gt.value):Gt.is(Ce.appendConfig)&&(At=null,xt=ce(xt).concat(Gt.value));let qt;At?qt=Je.startState.values.slice():(At=z.resolve(xt,Qt,this),qt=new It(At,this.doc,this.selection,At.dynamicSlots.map(()=>null),(un,Vt)=>Vt.reconfigure(un,this),null).values);let Te=Je.startState.facet(Ke)?Je.newSelection:Je.newSelection.asSingle();new It(At,Je.newDoc,Te,qt,(Gt,un)=>un.update(Gt,Je),Je)}replaceSelection(Je){return typeof Je=="string"&&(Je=this.toText(Je)),this.changeByRange(At=>({changes:{from:At.from,to:At.to,insert:Je},range:U.cursor(At.from+Je.length)}))}changeByRange(Je){let At=this.selection,xt=Je(At.ranges[0]),Qt=this.changes(xt.changes),qt=[xt.range],Te=ce(xt.effects);for(let Gt=1;Gt<At.ranges.length;Gt++){let un=Je(At.ranges[Gt]),Vt=this.changes(un.changes),Dn=Vt.map(Qt);for(let Pe=0;Pe<Gt;Pe++)qt[Pe]=qt[Pe].map(Dn);let Wt=Qt.mapDesc(Vt,!0);qt.push(un.range.map(Wt)),Qt=Qt.compose(Dn),Te=Ce.mapEffects(Te,Dn).concat(Ce.mapEffects(ce(un.effects),Wt))}return{changes:Qt,selection:U.create(qt,At.mainIndex),effects:Te}}changes(Je=[]){return Je instanceof W?Je:W.of(Je,this.doc.length,this.facet(It.lineSeparator))}toText(Je){return r.of(Je.split(this.facet(It.lineSeparator)||E))}sliceDoc(Je=0,At=this.doc.length){return this.doc.sliceString(Je,At,this.lineBreak)}facet(Je){let At=this.config.address[Je.id];return At==null?Je.default:(ae(this,At),ge(this,At))}toJSON(Je){let At={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(Je)for(let xt in Je){let Qt=Je[xt];Qt instanceof J&&this.config.address[Qt.id]!=null&&(At[xt]=Qt.spec.toJSON(this.field(Je[xt]),this))}return At}static fromJSON(Je,At={},xt){if(!Je||typeof Je.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let Qt=[];if(xt){for(let qt in xt)if(Object.prototype.hasOwnProperty.call(Je,qt)){let Te=xt[qt],Gt=Je[qt];Qt.push(Te.init(un=>Te.spec.fromJSON(Gt,un)))}}return It.create({doc:Je.doc,selection:U.fromJSON(Je.selection),extensions:At.extensions?Qt.concat([At.extensions]):Qt})}static create(Je={}){let At=z.resolve(Je.extensions||[],new Map),xt=Je.doc instanceof r?Je.doc:r.of((Je.doc||"").split(At.staticFacet(It.lineSeparator)||E)),Qt=Je.selection?Je.selection instanceof U?Je.selection:U.single(Je.selection.anchor,Je.selection.head):U.single(0);return j(Qt,xt.length),At.staticFacet(Ke)||(Qt=Qt.asSingle()),new It(At,xt,Qt,At.dynamicSlots.map(()=>null),(qt,Te)=>Te.create(qt),null)}get tabSize(){return this.facet(It.tabSize)}get lineBreak(){return this.facet(It.lineSeparator)||`
`}get readOnly(){return this.facet(Xe)}phrase(Je,...At){for(let xt of this.facet(It.phrases))if(Object.prototype.hasOwnProperty.call(xt,Je)){Je=xt[Je];break}return At.length&&(Je=Je.replace(/\$(\$|\d*)/g,(xt,Qt)=>{if(Qt=="$")return"$";let qt=+(Qt||1);return!qt||qt>At.length?xt:At[qt-1]})),Je}languageDataAt(Je,At,xt=-1){let Qt=[];for(let qt of this.facet(Be))for(let Te of qt(this,At,xt))Object.prototype.hasOwnProperty.call(Te,Je)&&Qt.push(Te[Je]);return Qt}charCategorizer(Je){return ze(this.languageDataAt("wordChars",Je).join(""))}wordAt(Je){let{text:At,from:xt,length:Qt}=this.doc.lineAt(Je),qt=this.charCategorizer(Je),Te=Je-xt,Gt=Je-xt;for(;Te>0;){let un=P(At,Te,!1);if(qt(At.slice(un,Te))!=Re.Word)break;Te=un}for(;Gt<Qt;){let un=P(At,Gt);if(qt(At.slice(Gt,un))!=Re.Word)break;Gt=un}return Te==Gt?null:U.range(Te+xt,Gt+xt)}}It.allowMultipleSelections=Ke,It.tabSize=ee.define({combine:Xt=>Xt.length?Xt[0]:4}),It.lineSeparator=He,It.readOnly=Xe,It.phrases=ee.define({compare(Xt,Je){let At=Object.keys(Xt),xt=Object.keys(Je);return At.length==xt.length&&At.every(Qt=>Xt[Qt]==Je[Qt])}}),It.languageData=Be,It.changeFilter=ye,It.transactionFilter=Le,It.transactionExtender=Ue,fe.reconfigure=Ce.define();function on(Xt,Je,At={}){let xt={};for(let Qt of Xt)for(let qt of Object.keys(Qt)){let Te=Qt[qt],Gt=xt[qt];if(Gt===void 0)xt[qt]=Te;else if(!(Gt===Te||Te===void 0))if(Object.hasOwnProperty.call(At,qt))xt[qt]=At[qt](Gt,Te);else throw new Error("Config merge conflict for field "+qt)}for(let Qt in Je)xt[Qt]===void 0&&(xt[Qt]=Je[Qt]);return xt}class Pn{eq(Je){return this==Je}range(Je,At=Je){return Yn.create(Je,At,this)}}Pn.prototype.startSide=Pn.prototype.endSide=0,Pn.prototype.point=!1,Pn.prototype.mapMode=I.TrackDel;class Yn{constructor(Je,At,xt){this.from=Je,this.to=At,this.value=xt}static create(Je,At,xt){return new Yn(Je,At,xt)}}function Ln(Xt,Je){return Xt.from-Je.from||Xt.value.startSide-Je.value.startSide}class bn{constructor(Je,At,xt,Qt){this.from=Je,this.to=At,this.value=xt,this.maxPoint=Qt}get length(){return this.to[this.to.length-1]}findIndex(Je,At,xt,Qt=0){let qt=xt?this.to:this.from;for(let Te=Qt,Gt=qt.length;;){if(Te==Gt)return Te;let un=Te+Gt>>1,Vt=qt[un]-Je||(xt?this.value[un].endSide:this.value[un].startSide)-At;if(un==Te)return Vt>=0?Te:Gt;Vt>=0?Gt=un:Te=un+1}}between(Je,At,xt,Qt){for(let qt=this.findIndex(At,-1e9,!0),Te=this.findIndex(xt,1e9,!1,qt);qt<Te;qt++)if(Qt(this.from[qt]+Je,this.to[qt]+Je,this.value[qt])===!1)return!1}map(Je,At){let xt=[],Qt=[],qt=[],Te=-1,Gt=-1;for(let un=0;un<this.value.length;un++){let Vt=this.value[un],Dn=this.from[un]+Je,Wt=this.to[un]+Je,Pe,xe;if(Dn==Wt){let Ae=At.mapPos(Dn,Vt.startSide,Vt.mapMode);if(Ae==null||(Pe=xe=Ae,Vt.startSide!=Vt.endSide&&(xe=At.mapPos(Dn,Vt.endSide),xe<Pe)))continue}else if(Pe=At.mapPos(Dn,Vt.startSide),xe=At.mapPos(Wt,Vt.endSide),Pe>xe||Pe==xe&&Vt.startSide>0&&Vt.endSide<=0)continue;(xe-Pe||Vt.endSide-Vt.startSide)<0||(Te<0&&(Te=Pe),Vt.point&&(Gt=Math.max(Gt,xe-Pe)),xt.push(Vt),Qt.push(Pe-Te),qt.push(xe-Te))}return{mapped:xt.length?new bn(Qt,qt,xt,Gt):null,pos:Te}}}class ir{constructor(Je,At,xt,Qt){this.chunkPos=Je,this.chunk=At,this.nextLayer=xt,this.maxPoint=Qt}static create(Je,At,xt,Qt){return new ir(Je,At,xt,Qt)}get length(){let Je=this.chunk.length-1;return Je<0?0:Math.max(this.chunkEnd(Je),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let Je=this.nextLayer.size;for(let At of this.chunk)Je+=At.value.length;return Je}chunkEnd(Je){return this.chunkPos[Je]+this.chunk[Je].length}update(Je){let{add:At=[],sort:xt=!1,filterFrom:Qt=0,filterTo:qt=this.length}=Je,Te=Je.filter;if(At.length==0&&!Te)return this;if(xt&&(At=At.slice().sort(Ln)),this.isEmpty)return At.length?ir.of(At):this;let Gt=new Rn(this,null,-1).goto(0),un=0,Vt=[],Dn=new $n;for(;Gt.value||un<At.length;)if(un<At.length&&(Gt.from-At[un].from||Gt.startSide-At[un].value.startSide)>=0){let Wt=At[un++];Dn.addInner(Wt.from,Wt.to,Wt.value)||Vt.push(Wt)}else Gt.rangeIndex==1&&Gt.chunkIndex<this.chunk.length&&(un==At.length||this.chunkEnd(Gt.chunkIndex)<At[un].from)&&(!Te||Qt>this.chunkEnd(Gt.chunkIndex)||qt<this.chunkPos[Gt.chunkIndex])&&Dn.addChunk(this.chunkPos[Gt.chunkIndex],this.chunk[Gt.chunkIndex])?Gt.nextChunk():((!Te||Qt>Gt.to||qt<Gt.from||Te(Gt.from,Gt.to,Gt.value))&&(Dn.addInner(Gt.from,Gt.to,Gt.value)||Vt.push(Yn.create(Gt.from,Gt.to,Gt.value))),Gt.next());return Dn.finishInner(this.nextLayer.isEmpty&&!Vt.length?ir.empty:this.nextLayer.update({add:Vt,filter:Te,filterFrom:Qt,filterTo:qt}))}map(Je){if(Je.empty||this.isEmpty)return this;let At=[],xt=[],Qt=-1;for(let Te=0;Te<this.chunk.length;Te++){let Gt=this.chunkPos[Te],un=this.chunk[Te],Vt=Je.touchesRange(Gt,Gt+un.length);if(Vt===!1)Qt=Math.max(Qt,un.maxPoint),At.push(un),xt.push(Je.mapPos(Gt));else if(Vt===!0){let{mapped:Dn,pos:Wt}=un.map(Gt,Je);Dn&&(Qt=Math.max(Qt,Dn.maxPoint),At.push(Dn),xt.push(Wt))}}let qt=this.nextLayer.map(Je);return At.length==0?qt:new ir(xt,At,qt||ir.empty,Qt)}between(Je,At,xt){if(!this.isEmpty){for(let Qt=0;Qt<this.chunk.length;Qt++){let qt=this.chunkPos[Qt],Te=this.chunk[Qt];if(At>=qt&&Je<=qt+Te.length&&Te.between(qt,Je-qt,At-qt,xt)===!1)return}this.nextLayer.between(Je,At,xt)}}iter(Je=0){return jn.from([this]).goto(Je)}get isEmpty(){return this.nextLayer==this}static iter(Je,At=0){return jn.from(Je).goto(At)}static compare(Je,At,xt,Qt,qt=-1){let Te=Je.filter(Wt=>Wt.maxPoint>0||!Wt.isEmpty&&Wt.maxPoint>=qt),Gt=At.filter(Wt=>Wt.maxPoint>0||!Wt.isEmpty&&Wt.maxPoint>=qt),un=jt(Te,Gt,xt),Vt=new Nn(Te,un,qt),Dn=new Nn(Gt,un,qt);xt.iterGaps((Wt,Pe,xe)=>cn(Vt,Wt,Dn,Pe,xe,Qt)),xt.empty&&xt.length==0&&cn(Vt,0,Dn,0,0,Qt)}static eq(Je,At,xt=0,Qt){Qt==null&&(Qt=999999999);let qt=Je.filter(Dn=>!Dn.isEmpty&&At.indexOf(Dn)<0),Te=At.filter(Dn=>!Dn.isEmpty&&Je.indexOf(Dn)<0);if(qt.length!=Te.length)return!1;if(!qt.length)return!0;let Gt=jt(qt,Te),un=new Nn(qt,Gt,0).goto(xt),Vt=new Nn(Te,Gt,0).goto(xt);for(;;){if(un.to!=Vt.to||!or(un.active,Vt.active)||un.point&&(!Vt.point||!un.point.eq(Vt.point)))return!1;if(un.to>Qt)return!0;un.next(),Vt.next()}}static spans(Je,At,xt,Qt,qt=-1){let Te=new Nn(Je,null,qt).goto(At),Gt=At,un=Te.openStart;for(;;){let Vt=Math.min(Te.to,xt);if(Te.point){let Dn=Te.activeForPoint(Te.to),Wt=Te.pointFrom<At?Dn.length+1:Te.point.startSide<0?Dn.length:Math.min(Dn.length,un);Qt.point(Gt,Vt,Te.point,Dn,Wt,Te.pointRank),un=Math.min(Te.openEnd(Vt),Dn.length)}else Vt>Gt&&(Qt.span(Gt,Vt,Te.active,un),un=Te.openEnd(Vt));if(Te.to>xt)return un+(Te.point&&Te.to>xt?1:0);Gt=Te.to,Te.next()}}static of(Je,At=!1){let xt=new $n;for(let Qt of Je instanceof Yn?[Je]:At?Zn(Je):Je)xt.add(Qt.from,Qt.to,Qt.value);return xt.finish()}static join(Je){if(!Je.length)return ir.empty;let At=Je[Je.length-1];for(let xt=Je.length-2;xt>=0;xt--)for(let Qt=Je[xt];Qt!=ir.empty;Qt=Qt.nextLayer)At=new ir(Qt.chunkPos,Qt.chunk,At,Math.max(Qt.maxPoint,At.maxPoint));return At}}ir.empty=new ir([],[],null,-1);function Zn(Xt){if(Xt.length>1)for(let Je=Xt[0],At=1;At<Xt.length;At++){let xt=Xt[At];if(Ln(Je,xt)>0)return Xt.slice().sort(Ln);Je=xt}return Xt}ir.empty.nextLayer=ir.empty;class $n{finishChunk(Je){this.chunks.push(new bn(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,Je&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(Je,At,xt){this.addInner(Je,At,xt)||(this.nextLayer||(this.nextLayer=new $n)).add(Je,At,xt)}addInner(Je,At,xt){let Qt=Je-this.lastTo||xt.startSide-this.last.endSide;if(Qt<=0&&(Je-this.lastFrom||xt.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return Qt<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=Je),this.from.push(Je-this.chunkStart),this.to.push(At-this.chunkStart),this.last=xt,this.lastFrom=Je,this.lastTo=At,this.value.push(xt),xt.point&&(this.maxPoint=Math.max(this.maxPoint,At-Je)),!0)}addChunk(Je,At){if((Je-this.lastTo||At.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,At.maxPoint),this.chunks.push(At),this.chunkPos.push(Je);let xt=At.value.length-1;return this.last=At.value[xt],this.lastFrom=At.from[xt]+Je,this.lastTo=At.to[xt]+Je,!0}finish(){return this.finishInner(ir.empty)}finishInner(Je){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return Je;let At=ir.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(Je):Je,this.setMaxPoint);return this.from=null,At}}function jt(Xt,Je,At){let xt=new Map;for(let qt of Xt)for(let Te=0;Te<qt.chunk.length;Te++)qt.chunk[Te].maxPoint<=0&&xt.set(qt.chunk[Te],qt.chunkPos[Te]);let Qt=new Set;for(let qt of Je)for(let Te=0;Te<qt.chunk.length;Te++){let Gt=xt.get(qt.chunk[Te]);Gt!=null&&(At?At.mapPos(Gt):Gt)==qt.chunkPos[Te]&&!(At!=null&&At.touchesRange(Gt,Gt+qt.chunk[Te].length))&&Qt.add(qt.chunk[Te])}return Qt}class Rn{constructor(Je,At,xt,Qt=0){this.layer=Je,this.skip=At,this.minPoint=xt,this.rank=Qt}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(Je,At=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(Je,At,!1),this}gotoInner(Je,At,xt){for(;this.chunkIndex<this.layer.chunk.length;){let Qt=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(Qt)||this.layer.chunkEnd(this.chunkIndex)<Je||Qt.maxPoint<this.minPoint))break;this.chunkIndex++,xt=!1}if(this.chunkIndex<this.layer.chunk.length){let Qt=this.layer.chunk[this.chunkIndex].findIndex(Je-this.layer.chunkPos[this.chunkIndex],At,!0);(!xt||this.rangeIndex<Qt)&&this.setRangeIndex(Qt)}this.next()}forward(Je,At){(this.to-Je||this.endSide-At)<0&&this.gotoInner(Je,At,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let Je=this.layer.chunkPos[this.chunkIndex],At=this.layer.chunk[this.chunkIndex],xt=Je+At.from[this.rangeIndex];if(this.from=xt,this.to=Je+At.to[this.rangeIndex],this.value=At.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(Je){if(Je==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=Je}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(Je){return this.from-Je.from||this.startSide-Je.startSide||this.rank-Je.rank||this.to-Je.to||this.endSide-Je.endSide}}class jn{constructor(Je){this.heap=Je}static from(Je,At=null,xt=-1){let Qt=[];for(let qt=0;qt<Je.length;qt++)for(let Te=Je[qt];!Te.isEmpty;Te=Te.nextLayer)Te.maxPoint>=xt&&Qt.push(new Rn(Te,At,xt,qt));return Qt.length==1?Qt[0]:new jn(Qt)}get startSide(){return this.value?this.value.startSide:0}goto(Je,At=-1e9){for(let xt of this.heap)xt.goto(Je,At);for(let xt=this.heap.length>>1;xt>=0;xt--)Tn(this.heap,xt);return this.next(),this}forward(Je,At){for(let xt of this.heap)xt.forward(Je,At);for(let xt=this.heap.length>>1;xt>=0;xt--)Tn(this.heap,xt);(this.to-Je||this.value.endSide-At)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let Je=this.heap[0];this.from=Je.from,this.to=Je.to,this.value=Je.value,this.rank=Je.rank,Je.value&&Je.next(),Tn(this.heap,0)}}}function Tn(Xt,Je){for(let At=Xt[Je];;){let xt=(Je<<1)+1;if(xt>=Xt.length)break;let Qt=Xt[xt];if(xt+1<Xt.length&&Qt.compare(Xt[xt+1])>=0&&(Qt=Xt[xt+1],xt++),At.compare(Qt)<0)break;Xt[xt]=At,Xt[Je]=Qt,Je=xt}}class Nn{constructor(Je,At,xt){this.minPoint=xt,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=jn.from(Je,At,xt)}goto(Je,At=-1e9){return this.cursor.goto(Je,At),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=Je,this.endSide=At,this.openStart=-1,this.next(),this}forward(Je,At){for(;this.minActive>-1&&(this.activeTo[this.minActive]-Je||this.active[this.minActive].endSide-At)<0;)this.removeActive(this.minActive);this.cursor.forward(Je,At)}removeActive(Je){qn(this.active,Je),qn(this.activeTo,Je),qn(this.activeRank,Je),this.minActive=fo(this.active,this.activeTo)}addActive(Je){let At=0,{value:xt,to:Qt,rank:qt}=this.cursor;for(;At<this.activeRank.length&&(qt-this.activeRank[At]||Qt-this.activeTo[At])>0;)At++;Hr(this.active,At,xt),Hr(this.activeTo,At,Qt),Hr(this.activeRank,At,qt),Je&&Hr(Je,At,this.cursor.from),this.minActive=fo(this.active,this.activeTo)}next(){let Je=this.to,At=this.point;this.point=null;let xt=this.openStart<0?[]:null;for(;;){let Qt=this.minActive;if(Qt>-1&&(this.activeTo[Qt]-this.cursor.from||this.active[Qt].endSide-this.cursor.startSide)<0){if(this.activeTo[Qt]>Je){this.to=this.activeTo[Qt],this.endSide=this.active[Qt].endSide;break}this.removeActive(Qt),xt&&qn(xt,Qt)}else if(this.cursor.value)if(this.cursor.from>Je){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let qt=this.cursor.value;if(!qt.point)this.addActive(xt),this.cursor.next();else if(At&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=qt,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=qt.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else{this.to=this.endSide=1e9;break}}if(xt){this.openStart=0;for(let Qt=xt.length-1;Qt>=0&&xt[Qt]<Je;Qt--)this.openStart++}}activeForPoint(Je){if(!this.active.length)return this.active;let At=[];for(let xt=this.active.length-1;xt>=0&&!(this.activeRank[xt]<this.pointRank);xt--)(this.activeTo[xt]>Je||this.activeTo[xt]==Je&&this.active[xt].endSide>=this.point.endSide)&&At.push(this.active[xt]);return At.reverse()}openEnd(Je){let At=0;for(let xt=this.activeTo.length-1;xt>=0&&this.activeTo[xt]>Je;xt--)At++;return At}}function cn(Xt,Je,At,xt,Qt,qt){Xt.goto(Je),At.goto(xt);let Te=xt+Qt,Gt=xt,un=xt-Je;for(;;){let Vt=Xt.to+un-At.to||Xt.endSide-At.endSide,Dn=Vt<0?Xt.to+un:At.to,Wt=Math.min(Dn,Te);if(Xt.point||At.point?Xt.point&&At.point&&(Xt.point==At.point||Xt.point.eq(At.point))&&or(Xt.activeForPoint(Xt.to),At.activeForPoint(At.to))||qt.comparePoint(Gt,Wt,Xt.point,At.point):Wt>Gt&&!or(Xt.active,At.active)&&qt.compareRange(Gt,Wt,Xt.active,At.active),Dn>Te)break;Gt=Dn,Vt<=0&&Xt.next(),Vt>=0&&At.next()}}function or(Xt,Je){if(Xt.length!=Je.length)return!1;for(let At=0;At<Xt.length;At++)if(Xt[At]!=Je[At]&&!Xt[At].eq(Je[At]))return!1;return!0}function qn(Xt,Je){for(let At=Je,xt=Xt.length-1;At<xt;At++)Xt[At]=Xt[At+1];Xt.pop()}function Hr(Xt,Je,At){for(let xt=Xt.length-1;xt>=Je;xt--)Xt[xt+1]=Xt[xt];Xt[Je]=At}function fo(Xt,Je){let At=-1,xt=1e9;for(let Qt=0;Qt<Je.length;Qt++)(Je[Qt]-xt||Xt[Qt].endSide-Xt[At].endSide)<0&&(At=Qt,xt=Je[Qt]);return At}function Jr(Xt,Je,At=Xt.length){let xt=0;for(let Qt=0;Qt<At;)Xt.charCodeAt(Qt)==9?(xt+=Je-xt%Je,Qt++):(xt++,Qt=P(Xt,Qt));return xt}function ro(Xt,Je,At,xt){for(let Qt=0,qt=0;;){if(qt>=Je)return Qt;if(Qt==Xt.length)break;qt+=Xt.charCodeAt(Qt)==9?At-qt%At:1,Qt=P(Xt,Qt)}return xt===!0?-1:Xt.length}},317150:function(b,l,e){"use strict";e.d(l,{$f:()=>zr,AE:()=>Ou,Eu:()=>nd,HQ:()=>gd,Nm:()=>vt,OO:()=>qe,SJ:()=>ws,Sd:()=>Ra,Uw:()=>Bi,W$:()=>Ll,ZO:()=>vc,Zs:()=>Rc,bF:()=>Yt,gB:()=>fn,hJ:()=>Yl,l9:()=>ht,lg:()=>Ft,mH:()=>Ds,p:()=>Ce,tk:()=>Vi,v5:()=>Ii});var r=e(233158),o=e(274671),n=e(335842);function a(Ut){let Q;return Ut.nodeType==11?Q=Ut.getSelection?Ut:Ut.ownerDocument:Q=Ut,Q.getSelection()}function i(Ut,Q){return Q?Ut==Q||Ut.contains(Q.nodeType!=1?Q.parentNode:Q):!1}function c(Ut,Q){if(!Q.anchorNode)return!1;try{return i(Ut,Q.anchorNode)}catch{return!1}}function u(Ut){return Ut.nodeType==3?v(Ut,0,Ut.nodeValue.length).getClientRects():Ut.nodeType==1?Ut.getClientRects():[]}function f(Ut,Q,De,at){return De?g(Ut,Q,De,at,-1)||g(Ut,Q,De,at,1):!1}function d(Ut){for(var Q=0;;Q++)if(Ut=Ut.previousSibling,!Ut)return Q}function h(Ut){return Ut.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(Ut.nodeName)}function g(Ut,Q,De,at,Dt){for(;;){if(Ut==De&&Q==at)return!0;if(Q==(Dt<0?0:_(Ut))){if(Ut.nodeName=="DIV")return!1;let zt=Ut.parentNode;if(!zt||zt.nodeType!=1)return!1;Q=d(Ut)+(Dt<0?0:1),Ut=zt}else if(Ut.nodeType==1){if(Ut=Ut.childNodes[Q+(Dt<0?-1:0)],Ut.nodeType==1&&Ut.contentEditable=="false")return!1;Q=Dt<0?_(Ut):0}else return!1}}function _(Ut){return Ut.nodeType==3?Ut.nodeValue.length:Ut.childNodes.length}function p(Ut,Q){let De=Q?Ut.left:Ut.right;return{left:De,right:De,top:Ut.top,bottom:Ut.bottom}}function y(Ut){let Q=Ut.visualViewport;return Q?{left:0,right:Q.width,top:0,bottom:Q.height}:{left:0,right:Ut.innerWidth,top:0,bottom:Ut.innerHeight}}function O(Ut,Q){let De=Q.width/Ut.offsetWidth,at=Q.height/Ut.offsetHeight;return(De>.995&&De<1.005||!isFinite(De)||Math.abs(Q.width-Ut.offsetWidth)<1)&&(De=1),(at>.995&&at<1.005||!isFinite(at)||Math.abs(Q.height-Ut.offsetHeight)<1)&&(at=1),{scaleX:De,scaleY:at}}function P(Ut,Q,De,at,Dt,zt,Qn,Cr){let wr=Ut.ownerDocument,No=wr.defaultView||window;for(let Co=Ut,Ro=!1;Co&&!Ro;)if(Co.nodeType==1){let Qo,ka=Co==wr.body,Ca=1,ls=1;if(ka)Qo=y(No);else{if(/^(fixed|sticky)$/.test(getComputedStyle(Co).position)&&(Ro=!0),Co.scrollHeight<=Co.clientHeight&&Co.scrollWidth<=Co.clientWidth){Co=Co.assignedSlot||Co.parentNode;continue}let fi=Co.getBoundingClientRect();({scaleX:Ca,scaleY:ls}=O(Co,fi)),Qo={left:fi.left,right:fi.left+Co.clientWidth*Ca,top:fi.top,bottom:fi.top+Co.clientHeight*ls}}let vs=0,Es=0;if(Dt=="nearest")Q.top<Qo.top?(Es=-(Qo.top-Q.top+Qn),De>0&&Q.bottom>Qo.bottom+Es&&(Es=Q.bottom-Qo.bottom+Es+Qn)):Q.bottom>Qo.bottom&&(Es=Q.bottom-Qo.bottom+Qn,De<0&&Q.top-Es<Qo.top&&(Es=-(Qo.top+Es-Q.top+Qn)));else{let fi=Q.bottom-Q.top,Bo=Qo.bottom-Qo.top;Es=(Dt=="center"&&fi<=Bo?Q.top+fi/2-Bo/2:Dt=="start"||Dt=="center"&&De<0?Q.top-Qn:Q.bottom-Bo+Qn)-Qo.top}if(at=="nearest"?Q.left<Qo.left?(vs=-(Qo.left-Q.left+zt),De>0&&Q.right>Qo.right+vs&&(vs=Q.right-Qo.right+vs+zt)):Q.right>Qo.right&&(vs=Q.right-Qo.right+zt,De<0&&Q.left<Qo.left+vs&&(vs=-(Qo.left+vs-Q.left+zt))):vs=(at=="center"?Q.left+(Q.right-Q.left)/2-(Qo.right-Qo.left)/2:at=="start"==Cr?Q.left-zt:Q.right-(Qo.right-Qo.left)+zt)-Qo.left,vs||Es)if(ka)No.scrollBy(vs,Es);else{let fi=0,Bo=0;if(Es){let Hi=Co.scrollTop;Co.scrollTop+=Es/ls,Bo=(Co.scrollTop-Hi)*ls}if(vs){let Hi=Co.scrollLeft;Co.scrollLeft+=vs/Ca,fi=(Co.scrollLeft-Hi)*Ca}Q={left:Q.left-fi,top:Q.top-Bo,right:Q.right-fi,bottom:Q.bottom-Bo},fi&&Math.abs(fi-vs)<1&&(at="nearest"),Bo&&Math.abs(Bo-Es)<1&&(Dt="nearest")}if(ka)break;Co=Co.assignedSlot||Co.parentNode}else if(Co.nodeType==11)Co=Co.host;else break}function C(Ut){let Q=Ut.ownerDocument,De,at;for(let Dt=Ut.parentNode;Dt&&!(Dt==Q.body||De&&at);)if(Dt.nodeType==1)!at&&Dt.scrollHeight>Dt.clientHeight&&(at=Dt),!De&&Dt.scrollWidth>Dt.clientWidth&&(De=Dt),Dt=Dt.assignedSlot||Dt.parentNode;else if(Dt.nodeType==11)Dt=Dt.host;else break;return{x:De,y:at}}class A{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(Q){return this.anchorNode==Q.anchorNode&&this.anchorOffset==Q.anchorOffset&&this.focusNode==Q.focusNode&&this.focusOffset==Q.focusOffset}setRange(Q){let{anchorNode:De,focusNode:at}=Q;this.set(De,Math.min(Q.anchorOffset,De?_(De):0),at,Math.min(Q.focusOffset,at?_(at):0))}set(Q,De,at,Dt){this.anchorNode=Q,this.anchorOffset=De,this.focusNode=at,this.focusOffset=Dt}}let S=null;function T(Ut){if(Ut.setActive)return Ut.setActive();if(S)return Ut.focus(S);let Q=[];for(let De=Ut;De&&(Q.push(De,De.scrollTop,De.scrollLeft),De!=De.ownerDocument);De=De.parentNode);if(Ut.focus(S==null?{get preventScroll(){return S={preventScroll:!0},!0}}:void 0),!S){S=!1;for(let De=0;De<Q.length;){let at=Q[De++],Dt=Q[De++],zt=Q[De++];at.scrollTop!=Dt&&(at.scrollTop=Dt),at.scrollLeft!=zt&&(at.scrollLeft=zt)}}}let s;function v(Ut,Q,De=Q){let at=s||(s=document.createRange());return at.setEnd(Ut,De),at.setStart(Ut,Q),at}function m(Ut,Q,De,at){let Dt={key:Q,code:Q,keyCode:De,which:De,cancelable:!0};at&&({altKey:Dt.altKey,ctrlKey:Dt.ctrlKey,shiftKey:Dt.shiftKey,metaKey:Dt.metaKey}=at);let zt=new KeyboardEvent("keydown",Dt);zt.synthetic=!0,Ut.dispatchEvent(zt);let Qn=new KeyboardEvent("keyup",Dt);return Qn.synthetic=!0,Ut.dispatchEvent(Qn),zt.defaultPrevented||Qn.defaultPrevented}function E(Ut){for(;Ut;){if(Ut&&(Ut.nodeType==9||Ut.nodeType==11&&Ut.host))return Ut;Ut=Ut.assignedSlot||Ut.parentNode}return null}function I(Ut){for(;Ut.attributes.length;)Ut.removeAttributeNode(Ut.attributes[0])}function L(Ut,Q){let De=Q.focusNode,at=Q.focusOffset;if(!De||Q.anchorNode!=De||Q.anchorOffset!=at)return!1;for(at=Math.min(at,_(De));;)if(at){if(De.nodeType!=1)return!1;let Dt=De.childNodes[at-1];Dt.contentEditable=="false"?at--:(De=Dt,at=_(De))}else{if(De==Ut)return!0;at=d(De),De=De.parentNode}}function W(Ut){return Ut.scrollTop>Math.max(1,Ut.scrollHeight-Ut.clientHeight-4)}function F(Ut,Q){for(let De=Ut,at=Q;;){if(De.nodeType==3&&at>0)return{node:De,offset:at};if(De.nodeType==1&&at>0){if(De.contentEditable=="false")return null;De=De.childNodes[at-1],at=_(De)}else if(De.parentNode&&!h(De))at=d(De),De=De.parentNode;else return null}}function G(Ut,Q){for(let De=Ut,at=Q;;){if(De.nodeType==3&&at<De.nodeValue.length)return{node:De,offset:at};if(De.nodeType==1&&at<De.childNodes.length){if(De.contentEditable=="false")return null;De=De.childNodes[at],at=0}else if(De.parentNode&&!h(De))at=d(De)+1,De=De.parentNode;else return null}}class k{constructor(Q,De,at=!0){this.node=Q,this.offset=De,this.precise=at}static before(Q,De){return new k(Q.parentNode,d(Q),De)}static after(Q,De){return new k(Q.parentNode,d(Q)+1,De)}}const x=[];class M{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(Q){let De=this.posAtStart;for(let at of this.children){if(at==Q)return De;De+=at.length+at.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(Q){return this.posBefore(Q)+Q.length}sync(Q,De){if(this.flags&2){let at=this.dom,Dt=null,zt;for(let Qn of this.children){if(Qn.flags&7){if(!Qn.dom&&(zt=Dt?Dt.nextSibling:at.firstChild)){let Cr=M.get(zt);(!Cr||!Cr.parent&&Cr.canReuseDOM(Qn))&&Qn.reuseDOM(zt)}Qn.sync(Q,De),Qn.flags&=-8}if(zt=Dt?Dt.nextSibling:at.firstChild,De&&!De.written&&De.node==at&&zt!=Qn.dom&&(De.written=!0),Qn.dom.parentNode==at)for(;zt&&zt!=Qn.dom;)zt=B(zt);else at.insertBefore(Qn.dom,zt);Dt=Qn.dom}for(zt=Dt?Dt.nextSibling:at.firstChild,zt&&De&&De.node==at&&(De.written=!0);zt;)zt=B(zt)}else if(this.flags&1)for(let at of this.children)at.flags&7&&(at.sync(Q,De),at.flags&=-8)}reuseDOM(Q){}localPosFromDOM(Q,De){let at;if(Q==this.dom)at=this.dom.childNodes[De];else{let Dt=_(Q)==0?0:De==0?-1:1;for(;;){let zt=Q.parentNode;if(zt==this.dom)break;Dt==0&&zt.firstChild!=zt.lastChild&&(Q==zt.firstChild?Dt=-1:Dt=1),Q=zt}Dt<0?at=Q:at=Q.nextSibling}if(at==this.dom.firstChild)return 0;for(;at&&!M.get(at);)at=at.nextSibling;if(!at)return this.length;for(let Dt=0,zt=0;;Dt++){let Qn=this.children[Dt];if(Qn.dom==at)return zt;zt+=Qn.length+Qn.breakAfter}}domBoundsAround(Q,De,at=0){let Dt=-1,zt=-1,Qn=-1,Cr=-1;for(let wr=0,No=at,Co=at;wr<this.children.length;wr++){let Ro=this.children[wr],Qo=No+Ro.length;if(No<Q&&Qo>De)return Ro.domBoundsAround(Q,De,No);if(Qo>=Q&&Dt==-1&&(Dt=wr,zt=No),No>De&&Ro.dom.parentNode==this.dom){Qn=wr,Cr=Co;break}Co=Qo,No=Qo+Ro.breakAfter}return{from:zt,to:Cr<0?at+this.length:Cr,startDOM:(Dt?this.children[Dt-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:Qn<this.children.length&&Qn>=0?this.children[Qn].dom:null}}markDirty(Q=!1){this.flags|=2,this.markParentsDirty(Q)}markParentsDirty(Q){for(let De=this.parent;De;De=De.parent){if(Q&&(De.flags|=2),De.flags&1)return;De.flags|=1,Q=!1}}setParent(Q){this.parent!=Q&&(this.parent=Q,this.flags&7&&this.markParentsDirty(!0))}setDOM(Q){this.dom!=Q&&(this.dom&&(this.dom.cmView=null),this.dom=Q,Q.cmView=this)}get rootView(){for(let Q=this;;){let De=Q.parent;if(!De)return Q;Q=De}}replaceChildren(Q,De,at=x){this.markDirty();for(let Dt=Q;Dt<De;Dt++){let zt=this.children[Dt];zt.parent==this&&at.indexOf(zt)<0&&zt.destroy()}at.length<250?this.children.splice(Q,De-Q,...at):this.children=[].concat(this.children.slice(0,Q),at,this.children.slice(De));for(let Dt=0;Dt<at.length;Dt++)at[Dt].setParent(this)}ignoreMutation(Q){return!1}ignoreEvent(Q){return!1}childCursor(Q=this.length){return new R(this.children,Q,this.children.length)}childPos(Q,De=1){return this.childCursor().findPos(Q,De)}toString(){let Q=this.constructor.name.replace("View","");return Q+(this.children.length?"("+this.children.join()+")":this.length?"["+(Q=="Text"?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(Q){return Q.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(Q,De,at,Dt,zt,Qn){return!1}become(Q){return!1}canReuseDOM(Q){return Q.constructor==this.constructor&&!((this.flags|Q.flags)&8)}getSide(){return 0}destroy(){for(let Q of this.children)Q.parent==this&&Q.destroy();this.parent=null}}M.prototype.breakAfter=0;function B(Ut){let Q=Ut.nextSibling;return Ut.parentNode.removeChild(Ut),Q}class R{constructor(Q,De,at){this.children=Q,this.pos=De,this.i=at,this.off=0}findPos(Q,De=1){for(;;){if(Q>this.pos||Q==this.pos&&(De>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=Q-this.pos,this;let at=this.children[--this.i];this.pos-=at.length+at.breakAfter}}}function U(Ut,Q,De,at,Dt,zt,Qn,Cr,wr){let{children:No}=Ut,Co=No.length?No[Q]:null,Ro=zt.length?zt[zt.length-1]:null,Qo=Ro?Ro.breakAfter:Qn;if(!(Q==at&&Co&&!Qn&&!Qo&&zt.length<2&&Co.merge(De,Dt,zt.length?Ro:null,De==0,Cr,wr))){if(at<No.length){let ka=No[at];ka&&(Dt<ka.length||ka.breakAfter&&(Ro!=null&&Ro.breakAfter))?(Q==at&&(ka=ka.split(Dt),Dt=0),!Qo&&Ro&&ka.merge(0,Dt,Ro,!0,0,wr)?zt[zt.length-1]=ka:((Dt||ka.children.length&&!ka.children[0].length)&&ka.merge(0,Dt,null,!1,0,wr),zt.push(ka))):ka!=null&&ka.breakAfter&&(Ro?Ro.breakAfter=1:Qn=1),at++}for(Co&&(Co.breakAfter=Qn,De>0&&(!Qn&&zt.length&&Co.merge(De,Co.length,zt[0],!1,Cr,0)?Co.breakAfter=zt.shift().breakAfter:(De<Co.length||Co.children.length&&Co.children[Co.children.length-1].length==0)&&Co.merge(De,Co.length,null,!1,Cr,0),Q++));Q<at&&zt.length;)if(No[at-1].become(zt[zt.length-1]))at--,zt.pop(),wr=zt.length?0:Cr;else if(No[Q].become(zt[0]))Q++,zt.shift(),Cr=zt.length?0:wr;else break;!zt.length&&Q&&at<No.length&&!No[Q-1].breakAfter&&No[at].merge(0,0,No[Q-1],!1,Cr,wr)&&Q--,(Q<at||zt.length)&&Ut.replaceChildren(Q,at,zt)}}function j(Ut,Q,De,at,Dt,zt){let Qn=Ut.childCursor(),{i:Cr,off:wr}=Qn.findPos(De,1),{i:No,off:Co}=Qn.findPos(Q,-1),Ro=Q-De;for(let Qo of at)Ro+=Qo.length;Ut.length+=Ro,U(Ut,No,Co,Cr,wr,at,0,Dt,zt)}let $=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},ee=typeof document<"u"?document:{documentElement:{style:{}}};const te=/Edge\/(\d+)/.exec($.userAgent),ie=/MSIE \d/.test($.userAgent),ne=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec($.userAgent),pe=!!(ie||ne||te),oe=!pe&&/gecko\/(\d+)/i.test($.userAgent),q=!pe&&/Chrome\/(\d+)/.exec($.userAgent),J="webkitFontSmoothing"in ee.documentElement.style,me=!pe&&/Apple Computer/.test($.vendor),re=me&&(/Mobile\/\w+/.test($.userAgent)||$.maxTouchPoints>2);var he={mac:re||/Mac/.test($.platform),windows:/Win/.test($.platform),linux:/Linux|X11/.test($.platform),ie:pe,ie_version:ie?ee.documentMode||6:ne?+ne[1]:te?+te[1]:0,gecko:oe,gecko_version:oe?+(/Firefox\/(\d+)/.exec($.userAgent)||[0,0])[1]:0,chrome:!!q,chrome_version:q?+q[1]:0,ios:re,android:/Android\b/.test($.userAgent),webkit:J,safari:me,webkit_version:J?+(/\bAppleWebKit\/(\d+)/.exec($.userAgent)||[0,0])[1]:0,tabSize:ee.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const Ee=256;class fe extends M{constructor(Q){super(),this.text=Q}get length(){return this.text.length}createDOM(Q){this.setDOM(Q||document.createTextNode(this.text))}sync(Q,De){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(De&&De.node==this.dom&&(De.written=!0),this.dom.nodeValue=this.text)}reuseDOM(Q){Q.nodeType==3&&this.createDOM(Q)}merge(Q,De,at){return this.flags&8||at&&(!(at instanceof fe)||this.length-(De-Q)+at.length>Ee||at.flags&8)?!1:(this.text=this.text.slice(0,Q)+(at?at.text:"")+this.text.slice(De),this.markDirty(),!0)}split(Q){let De=new fe(this.text.slice(Q));return this.text=this.text.slice(0,Q),this.markDirty(),De.flags|=this.flags&8,De}localPosFromDOM(Q,De){return Q==this.dom?De:De?this.text.length:0}domAtPos(Q){return new k(this.dom,Q)}domBoundsAround(Q,De,at){return{from:at,to:at+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(Q,De){return z(this.dom,Q,De)}}class H extends M{constructor(Q,De=[],at=0){super(),this.mark=Q,this.children=De,this.length=at;for(let Dt of De)Dt.setParent(this)}setAttrs(Q){if(I(Q),this.mark.class&&(Q.className=this.mark.class),this.mark.attrs)for(let De in this.mark.attrs)Q.setAttribute(De,this.mark.attrs[De]);return Q}canReuseDOM(Q){return super.canReuseDOM(Q)&&!((this.flags|Q.flags)&8)}reuseDOM(Q){Q.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(Q),this.flags|=6)}sync(Q,De){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(Q,De)}merge(Q,De,at,Dt,zt,Qn){return at&&(!(at instanceof H&&at.mark.eq(this.mark))||Q&&zt<=0||De<this.length&&Qn<=0)?!1:(j(this,Q,De,at?at.children.slice():[],zt-1,Qn-1),this.markDirty(),!0)}split(Q){let De=[],at=0,Dt=-1,zt=0;for(let Cr of this.children){let wr=at+Cr.length;wr>Q&&De.push(at<Q?Cr.split(Q-at):Cr),Dt<0&&at>=Q&&(Dt=zt),at=wr,zt++}let Qn=this.length-Q;return this.length=Q,Dt>-1&&(this.children.length=Dt,this.markDirty()),new H(this.mark,De,Qn)}domAtPos(Q){return ge(this,Q)}coordsAt(Q,De){return Ke(this,Q,De)}}function z(Ut,Q,De){let at=Ut.nodeValue.length;Q>at&&(Q=at);let Dt=Q,zt=Q,Qn=0;Q==0&&De<0||Q==at&&De>=0?he.chrome||he.gecko||(Q?(Dt--,Qn=1):zt<at&&(zt++,Qn=-1)):De<0?Dt--:zt<at&&zt++;let Cr=v(Ut,Dt,zt).getClientRects();if(!Cr.length)return null;let wr=Cr[(Qn?Qn<0:De>=0)?0:Cr.length-1];return he.safari&&!Qn&&wr.width==0&&(wr=Array.prototype.find.call(Cr,No=>No.width)||wr),Qn?p(wr,Qn<0):wr||null}class _e extends M{static create(Q,De,at){return new _e(Q,De,at)}constructor(Q,De,at){super(),this.widget=Q,this.length=De,this.side=at,this.prevWidget=null}split(Q){let De=_e.create(this.widget,this.length-Q,this.side);return this.length-=Q,De}sync(Q){(!this.dom||!this.widget.updateDOM(this.dom,Q))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(Q)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(Q,De,at,Dt,zt,Qn){return at&&(!(at instanceof _e)||!this.widget.compare(at.widget)||Q>0&&zt<=0||De<this.length&&Qn<=0)?!1:(this.length=Q+(at?at.length:0)+(this.length-De),!0)}become(Q){return Q instanceof _e&&Q.side==this.side&&this.widget.constructor==Q.widget.constructor?(this.widget.compare(Q.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=Q.widget,this.length=Q.length,!0):!1}ignoreMutation(){return!0}ignoreEvent(Q){return this.widget.ignoreEvent(Q)}get overrideDOMText(){if(this.length==0)return r.Text.empty;let Q=this;for(;Q.parent;)Q=Q.parent;let{view:De}=Q,at=De&&De.state.doc,Dt=this.posAtStart;return at?at.slice(Dt,Dt+this.length):r.Text.empty}domAtPos(Q){return(this.length?Q==0:this.side>0)?k.before(this.dom):k.after(this.dom,Q==this.length)}domBoundsAround(){return null}coordsAt(Q,De){let at=this.widget.coordsAt(this.dom,Q,De);if(at)return at;let Dt=this.dom.getClientRects(),zt=null;if(!Dt.length)return null;let Qn=this.side?this.side<0:Q>0;for(let Cr=Qn?Dt.length-1:0;zt=Dt[Cr],!(Q>0?Cr==0:Cr==Dt.length-1||zt.top<zt.bottom);Cr+=Qn?-1:1);return p(zt,!Qn)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class ae extends M{constructor(Q){super(),this.side=Q}get length(){return 0}merge(){return!1}become(Q){return Q instanceof ae&&Q.side==this.side}split(){return new ae(this.side)}sync(){if(!this.dom){let Q=document.createElement("img");Q.className="cm-widgetBuffer",Q.setAttribute("aria-hidden","true"),this.setDOM(Q)}}getSide(){return this.side}domAtPos(Q){return this.side>0?k.before(this.dom):k.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(Q){return this.dom.getBoundingClientRect()}get overrideDOMText(){return r.Text.empty}get isHidden(){return!0}}fe.prototype.children=_e.prototype.children=ae.prototype.children=x;function ge(Ut,Q){let De=Ut.dom,{children:at}=Ut,Dt=0;for(let zt=0;Dt<at.length;Dt++){let Qn=at[Dt],Cr=zt+Qn.length;if(!(Cr==zt&&Qn.getSide()<=0)){if(Q>zt&&Q<Cr&&Qn.dom.parentNode==De)return Qn.domAtPos(Q-zt);if(Q<=zt)break;zt=Cr}}for(let zt=Dt;zt>0;zt--){let Qn=at[zt-1];if(Qn.dom.parentNode==De)return Qn.domAtPos(Qn.length)}for(let zt=Dt;zt<at.length;zt++){let Qn=at[zt];if(Qn.dom.parentNode==De)return Qn.domAtPos(0)}return new k(De,0)}function Be(Ut,Q,De){let at,{children:Dt}=Ut;De>0&&Q instanceof H&&Dt.length&&(at=Dt[Dt.length-1])instanceof H&&at.mark.eq(Q.mark)?Be(at,Q.children[0],De-1):(Dt.push(Q),Q.setParent(Ut)),Ut.length+=Q.length}function Ke(Ut,Q,De){let at=null,Dt=-1,zt=null,Qn=-1;function Cr(No,Co){for(let Ro=0,Qo=0;Ro<No.children.length&&Qo<=Co;Ro++){let ka=No.children[Ro],Ca=Qo+ka.length;Ca>=Co&&(ka.children.length?Cr(ka,Co-Qo):(!zt||zt.isHidden&&De>0)&&(Ca>Co||Qo==Ca&&ka.getSide()>0)?(zt=ka,Qn=Co-Qo):(Qo<Co||Qo==Ca&&ka.getSide()<0&&!ka.isHidden)&&(at=ka,Dt=Co-Qo)),Qo=Ca}}Cr(Ut,Q);let wr=(De<0?at:zt)||at||zt;return wr?wr.coordsAt(Math.max(0,wr==at?Dt:Qn),De):He(Ut)}function He(Ut){let Q=Ut.dom.lastChild;if(!Q)return Ut.dom.getBoundingClientRect();let De=u(Q);return De[De.length-1]||null}function ye(Ut,Q){for(let De in Ut)De=="class"&&Q.class?Q.class+=" "+Ut.class:De=="style"&&Q.style?Q.style+=";"+Ut.style:Q[De]=Ut[De];return Q}const Le=Object.create(null);function Ue(Ut,Q,De){if(Ut==Q)return!0;Ut||(Ut=Le),Q||(Q=Le);let at=Object.keys(Ut),Dt=Object.keys(Q);if(at.length-(De&&at.indexOf(De)>-1?1:0)!=Dt.length-(De&&Dt.indexOf(De)>-1?1:0))return!1;for(let zt of at)if(zt!=De&&(Dt.indexOf(zt)==-1||Ut[zt]!==Q[zt]))return!1;return!0}function Xe(Ut,Q,De){let at=!1;if(Q)for(let Dt in Q)De&&Dt in De||(at=!0,Dt=="style"?Ut.style.cssText="":Ut.removeAttribute(Dt));if(De)for(let Dt in De)Q&&Q[Dt]==De[Dt]||(at=!0,Dt=="style"?Ut.style.cssText=De[Dt]:Ut.setAttribute(Dt,De[Dt]));return at}function Fe(Ut){let Q=Object.create(null);for(let De=0;De<Ut.attributes.length;De++){let at=Ut.attributes[De];Q[at.name]=at.value}return Q}class ht{eq(Q){return!1}updateDOM(Q,De){return!1}compare(Q){return this==Q||this.constructor==Q.constructor&&this.eq(Q)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(Q){return!0}coordsAt(Q,De,at){return null}get isHidden(){return!1}get editable(){return!1}destroy(Q){}}var Ne=function(Ut){return Ut[Ut.Text=0]="Text",Ut[Ut.WidgetBefore=1]="WidgetBefore",Ut[Ut.WidgetAfter=2]="WidgetAfter",Ut[Ut.WidgetRange=3]="WidgetRange",Ut}(Ne||(Ne={}));class Ce extends r.RangeValue{constructor(Q,De,at,Dt){super(),this.startSide=Q,this.endSide=De,this.widget=at,this.spec=Dt}get heightRelevant(){return!1}static mark(Q){return new we(Q)}static widget(Q){let De=Math.max(-1e4,Math.min(1e4,Q.side||0)),at=!!Q.block;return De+=at&&!Q.inlineOrder?De>0?3e8:-4e8:De>0?1e8:-1e8,new Ot(Q,De,De,at,Q.widget||null,!1)}static replace(Q){let De=!!Q.block,at,Dt;if(Q.isBlockGap)at=-5e8,Dt=4e8;else{let{start:zt,end:Qn}=Pt(Q,De);at=(zt?De?-3e8:-1:5e8)-1,Dt=(Qn?De?2e8:1:-6e8)+1}return new Ot(Q,at,Dt,De,Q.widget||null,!0)}static line(Q){return new $e(Q)}static set(Q,De=!1){return r.RangeSet.of(Q,De)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Ce.none=r.RangeSet.empty;class we extends Ce{constructor(Q){let{start:De,end:at}=Pt(Q);super(De?-1:5e8,at?1:-6e8,null,Q),this.tagName=Q.tagName||"span",this.class=Q.class||"",this.attrs=Q.attributes||null}eq(Q){var De,at;return this==Q||Q instanceof we&&this.tagName==Q.tagName&&(this.class||((De=this.attrs)===null||De===void 0?void 0:De.class))==(Q.class||((at=Q.attrs)===null||at===void 0?void 0:at.class))&&Ue(this.attrs,Q.attrs,"class")}range(Q,De=Q){if(Q>=De)throw new RangeError("Mark decorations may not be empty");return super.range(Q,De)}}we.prototype.point=!1;class $e extends Ce{constructor(Q){super(-2e8,-2e8,null,Q)}eq(Q){return Q instanceof $e&&this.spec.class==Q.spec.class&&Ue(this.spec.attributes,Q.spec.attributes)}range(Q,De=Q){if(De!=Q)throw new RangeError("Line decoration ranges must be zero-length");return super.range(Q,De)}}$e.prototype.mapMode=r.MapMode.TrackBefore,$e.prototype.point=!0;class Ot extends Ce{constructor(Q,De,at,Dt,zt,Qn){super(De,at,zt,Q),this.block=Dt,this.isReplace=Qn,this.mapMode=Dt?De<=0?r.MapMode.TrackBefore:r.MapMode.TrackAfter:r.MapMode.TrackDel}get type(){return this.startSide!=this.endSide?Ne.WidgetRange:this.startSide<=0?Ne.WidgetBefore:Ne.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(Q){return Q instanceof Ot&&Ie(this.widget,Q.widget)&&this.block==Q.block&&this.startSide==Q.startSide&&this.endSide==Q.endSide}range(Q,De=Q){if(this.isReplace&&(Q>De||Q==De&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&De!=Q)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(Q,De)}}Ot.prototype.point=!0;function Pt(Ut,Q=!1){let{inclusiveStart:De,inclusiveEnd:at}=Ut;return De==null&&(De=Ut.inclusive),at==null&&(at=Ut.inclusive),{start:De??Q,end:at??Q}}function Ie(Ut,Q){return Ut==Q||!!(Ut&&Q&&Ut.compare(Q))}function Bt(Ut,Q,De,at=0){let Dt=De.length-1;Dt>=0&&De[Dt]+at>=Ut?De[Dt]=Math.max(De[Dt],Q):De.push(Ut,Q)}class mt extends M{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(Q,De,at,Dt,zt,Qn){if(at){if(!(at instanceof mt))return!1;this.dom||at.transferDOM(this)}return Dt&&this.setDeco(at?at.attrs:null),j(this,Q,De,at?at.children.slice():[],zt,Qn),!0}split(Q){let De=new mt;if(De.breakAfter=this.breakAfter,this.length==0)return De;let{i:at,off:Dt}=this.childPos(Q);Dt&&(De.append(this.children[at].split(Dt),0),this.children[at].merge(Dt,this.children[at].length,null,!1,0,0),at++);for(let zt=at;zt<this.children.length;zt++)De.append(this.children[zt],0);for(;at>0&&this.children[at-1].length==0;)this.children[--at].destroy();return this.children.length=at,this.markDirty(),this.length=Q,De}transferDOM(Q){this.dom&&(this.markDirty(),Q.setDOM(this.dom),Q.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(Q){Ue(this.attrs,Q)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=Q)}append(Q,De){Be(this,Q,De)}addLineDeco(Q){let De=Q.spec.attributes,at=Q.spec.class;De&&(this.attrs=ye(De,this.attrs||{})),at&&(this.attrs=ye({class:at},this.attrs||{}))}domAtPos(Q){return ge(this,Q)}reuseDOM(Q){Q.nodeName=="DIV"&&(this.setDOM(Q),this.flags|=6)}sync(Q,De){var at;this.dom?this.flags&4&&(I(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(Xe(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(Q,De);let Dt=this.dom.lastChild;for(;Dt&&M.get(Dt)instanceof H;)Dt=Dt.lastChild;if(!Dt||!this.length||Dt.nodeName!="BR"&&((at=M.get(Dt))===null||at===void 0?void 0:at.isEditable)==!1&&(!he.ios||!this.children.some(zt=>zt instanceof fe))){let zt=document.createElement("BR");zt.cmIgnore=!0,this.dom.appendChild(zt)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let Q=0,De;for(let at of this.children){if(!(at instanceof fe)||/[^ -~]/.test(at.text))return null;let Dt=u(at.dom);if(Dt.length!=1)return null;Q+=Dt[0].width,De=Dt[0].height}return Q?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:Q/this.length,textHeight:De}:null}coordsAt(Q,De){let at=Ke(this,Q,De);if(!this.children.length&&at&&this.parent){let{heightOracle:Dt}=this.parent.view.viewState,zt=at.bottom-at.top;if(Math.abs(zt-Dt.lineHeight)<2&&Dt.textHeight<zt){let Qn=(zt-Dt.textHeight)/2;return{top:at.top+Qn,bottom:at.bottom-Qn,left:at.left,right:at.left}}}return at}become(Q){return Q instanceof mt&&this.children.length==0&&Q.children.length==0&&Ue(this.attrs,Q.attrs)&&this.breakAfter==Q.breakAfter}covers(){return!0}static find(Q,De){for(let at=0,Dt=0;at<Q.children.length;at++){let zt=Q.children[at],Qn=Dt+zt.length;if(Qn>=De){if(zt instanceof mt)return zt;if(Qn>De)break}Dt=Qn+zt.breakAfter}return null}}class rt extends M{constructor(Q,De,at){super(),this.widget=Q,this.length=De,this.deco=at,this.breakAfter=0,this.prevWidget=null}merge(Q,De,at,Dt,zt,Qn){return at&&(!(at instanceof rt)||!this.widget.compare(at.widget)||Q>0&&zt<=0||De<this.length&&Qn<=0)?!1:(this.length=Q+(at?at.length:0)+(this.length-De),!0)}domAtPos(Q){return Q==0?k.before(this.dom):k.after(this.dom,Q==this.length)}split(Q){let De=this.length-Q;this.length=Q;let at=new rt(this.widget,De,this.deco);return at.breakAfter=this.breakAfter,at}get children(){return x}sync(Q){(!this.dom||!this.widget.updateDOM(this.dom,Q))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(Q)),this.widget.editable||(this.dom.contentEditable="false"))}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):r.Text.empty}domBoundsAround(){return null}become(Q){return Q instanceof rt&&Q.widget.constructor==this.widget.constructor?(Q.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=Q.widget,this.length=Q.length,this.deco=Q.deco,this.breakAfter=Q.breakAfter,!0):!1}ignoreMutation(){return!0}ignoreEvent(Q){return this.widget.ignoreEvent(Q)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(Q,De){let at=this.widget.coordsAt(this.dom,Q,De);return at||(this.widget instanceof ce?null:p(this.dom.getBoundingClientRect(),this.length?Q==0:De<=0))}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(Q){let{startSide:De,endSide:at}=this.deco;return De==at?!1:Q<0?De<0:at>0}}class ce extends ht{constructor(Q){super(),this.height=Q}toDOM(){let Q=document.createElement("div");return Q.className="cm-gap",this.updateDOM(Q),Q}eq(Q){return Q.height==this.height}updateDOM(Q){return Q.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}class Re{constructor(Q,De,at,Dt){this.doc=Q,this.pos=De,this.end=at,this.disallowBlockEffectsFor=Dt,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=Q.iter(),this.skip=De}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let Q=this.content[this.content.length-1];return!(Q.breakAfter||Q instanceof rt&&Q.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new mt),this.atCursorPos=!0),this.curLine}flushBuffer(Q=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(nt(new ae(-1),Q),Q.length),this.pendingBuffer=0)}addBlockWidget(Q){this.flushBuffer(),this.curLine=null,this.content.push(Q)}finish(Q){this.pendingBuffer&&Q<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(Q&&this.content.length&&this.content[this.content.length-1]instanceof rt)&&this.getLine()}buildText(Q,De,at){for(;Q>0;){if(this.textOff==this.text.length){let{value:zt,lineBreak:Qn,done:Cr}=this.cursor.next(this.skip);if(this.skip=0,Cr)throw new Error("Ran out of text content when drawing inline views");if(Qn){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,Q--;continue}else this.text=zt,this.textOff=0}let Dt=Math.min(this.text.length-this.textOff,Q,512);this.flushBuffer(De.slice(De.length-at)),this.getLine().append(nt(new fe(this.text.slice(this.textOff,this.textOff+Dt)),De),at),this.atCursorPos=!0,this.textOff+=Dt,Q-=Dt,at=0}}span(Q,De,at,Dt){this.buildText(De-Q,at,Dt),this.pos=De,this.openStart<0&&(this.openStart=Dt)}point(Q,De,at,Dt,zt,Qn){if(this.disallowBlockEffectsFor[Qn]&&at instanceof Ot){if(at.block)throw new RangeError("Block decorations may not be specified via plugins");if(De>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let Cr=De-Q;if(at instanceof Ot)if(at.block)at.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new rt(at.widget||st.block,Cr,at));else{let wr=_e.create(at.widget||st.inline,Cr,Cr?0:at.startSide),No=this.atCursorPos&&!wr.isEditable&&zt<=Dt.length&&(Q<De||at.startSide>0),Co=!wr.isEditable&&(Q<De||zt>Dt.length||at.startSide<=0),Ro=this.getLine();this.pendingBuffer==2&&!No&&!wr.isEditable&&(this.pendingBuffer=0),this.flushBuffer(Dt),No&&(Ro.append(nt(new ae(1),Dt),zt),zt=Dt.length+Math.max(0,zt-Dt.length)),Ro.append(nt(wr,Dt),zt),this.atCursorPos=Co,this.pendingBuffer=Co?Q<De||zt>Dt.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=Dt.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(at);Cr&&(this.textOff+Cr<=this.text.length?this.textOff+=Cr:(this.skip+=Cr-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=De),this.openStart<0&&(this.openStart=zt)}static build(Q,De,at,Dt,zt){let Qn=new Re(Q,De,at,zt);return Qn.openEnd=r.RangeSet.spans(Dt,De,at,Qn),Qn.openStart<0&&(Qn.openStart=Qn.openEnd),Qn.finish(Qn.openEnd),Qn}}function nt(Ut,Q){for(let De of Q)Ut=new H(De,[Ut],Ut.length);return Ut}class st extends ht{constructor(Q){super(),this.tag=Q}eq(Q){return Q.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(Q){return Q.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}st.inline=new st("span"),st.block=new st("div");var vt=function(Ut){return Ut[Ut.LTR=0]="LTR",Ut[Ut.RTL=1]="RTL",Ut}(vt||(vt={}));const ze=vt.LTR,It=vt.RTL;function on(Ut){let Q=[];for(let De=0;De<Ut.length;De++)Q.push(1<<+Ut[De]);return Q}const Pn=on("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),Yn=on("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),Ln=Object.create(null),bn=[];for(let Ut of["()","[]","{}"]){let Q=Ut.charCodeAt(0),De=Ut.charCodeAt(1);Ln[Q]=De,Ln[De]=-Q}function ir(Ut){return Ut<=247?Pn[Ut]:1424<=Ut&&Ut<=1524?2:1536<=Ut&&Ut<=1785?Yn[Ut-1536]:1774<=Ut&&Ut<=2220?4:8192<=Ut&&Ut<=8204?256:64336<=Ut&&Ut<=65023?4:1}const Zn=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class $n{get dir(){return this.level%2?It:ze}constructor(Q,De,at){this.from=Q,this.to=De,this.level=at}side(Q,De){return this.dir==De==Q?this.to:this.from}forward(Q,De){return Q==(this.dir==De)}static find(Q,De,at,Dt){let zt=-1;for(let Qn=0;Qn<Q.length;Qn++){let Cr=Q[Qn];if(Cr.from<=De&&Cr.to>=De){if(Cr.level==at)return Qn;(zt<0||(Dt!=0?Dt<0?Cr.from<De:Cr.to>De:Q[zt].level>Cr.level))&&(zt=Qn)}}if(zt<0)throw new RangeError("Index out of range");return zt}}function jt(Ut,Q){if(Ut.length!=Q.length)return!1;for(let De=0;De<Ut.length;De++){let at=Ut[De],Dt=Q[De];if(at.from!=Dt.from||at.to!=Dt.to||at.direction!=Dt.direction||!jt(at.inner,Dt.inner))return!1}return!0}const Rn=[];function jn(Ut,Q,De,at,Dt){for(let zt=0;zt<=at.length;zt++){let Qn=zt?at[zt-1].to:Q,Cr=zt<at.length?at[zt].from:De,wr=zt?256:Dt;for(let No=Qn,Co=wr,Ro=wr;No<Cr;No++){let Qo=ir(Ut.charCodeAt(No));Qo==512?Qo=Co:Qo==8&&Ro==4&&(Qo=16),Rn[No]=Qo==4?2:Qo,Qo&7&&(Ro=Qo),Co=Qo}for(let No=Qn,Co=wr,Ro=wr;No<Cr;No++){let Qo=Rn[No];if(Qo==128)No<Cr-1&&Co==Rn[No+1]&&Co&24?Qo=Rn[No]=Co:Rn[No]=256;else if(Qo==64){let ka=No+1;for(;ka<Cr&&Rn[ka]==64;)ka++;let Ca=No&&Co==8||ka<De&&Rn[ka]==8?Ro==1?1:8:256;for(let ls=No;ls<ka;ls++)Rn[ls]=Ca;No=ka-1}else Qo==8&&Ro==1&&(Rn[No]=1);Co=Qo,Qo&7&&(Ro=Qo)}}}function Tn(Ut,Q,De,at,Dt){let zt=Dt==1?2:1;for(let Qn=0,Cr=0,wr=0;Qn<=at.length;Qn++){let No=Qn?at[Qn-1].to:Q,Co=Qn<at.length?at[Qn].from:De;for(let Ro=No,Qo,ka,Ca;Ro<Co;Ro++)if(ka=Ln[Qo=Ut.charCodeAt(Ro)])if(ka<0){for(let ls=Cr-3;ls>=0;ls-=3)if(bn[ls+1]==-ka){let vs=bn[ls+2],Es=vs&2?Dt:vs&4?vs&1?zt:Dt:0;Es&&(Rn[Ro]=Rn[bn[ls]]=Es),Cr=ls;break}}else{if(bn.length==189)break;bn[Cr++]=Ro,bn[Cr++]=Qo,bn[Cr++]=wr}else if((Ca=Rn[Ro])==2||Ca==1){let ls=Ca==Dt;wr=ls?0:1;for(let vs=Cr-3;vs>=0;vs-=3){let Es=bn[vs+2];if(Es&2)break;if(ls)bn[vs+2]|=2;else{if(Es&4)break;bn[vs+2]|=4}}}}}function Nn(Ut,Q,De,at){for(let Dt=0,zt=at;Dt<=De.length;Dt++){let Qn=Dt?De[Dt-1].to:Ut,Cr=Dt<De.length?De[Dt].from:Q;for(let wr=Qn;wr<Cr;){let No=Rn[wr];if(No==256){let Co=wr+1;for(;;)if(Co==Cr){if(Dt==De.length)break;Co=De[Dt++].to,Cr=Dt<De.length?De[Dt].from:Q}else if(Rn[Co]==256)Co++;else break;let Ro=zt==1,Qo=(Co<Q?Rn[Co]:at)==1,ka=Ro==Qo?Ro?1:2:at;for(let Ca=Co,ls=Dt,vs=ls?De[ls-1].to:Ut;Ca>wr;)Ca==vs&&(Ca=De[--ls].from,vs=ls?De[ls-1].to:Ut),Rn[--Ca]=ka;wr=Co}else zt=No,wr++}}}function cn(Ut,Q,De,at,Dt,zt,Qn){let Cr=at%2?2:1;if(at%2==Dt%2)for(let wr=Q,No=0;wr<De;){let Co=!0,Ro=!1;if(No==zt.length||wr<zt[No].from){let ls=Rn[wr];ls!=Cr&&(Co=!1,Ro=ls==16)}let Qo=!Co&&Cr==1?[]:null,ka=Co?at:at+1,Ca=wr;e:for(;;)if(No<zt.length&&Ca==zt[No].from){if(Ro)break e;let ls=zt[No];if(!Co)for(let vs=ls.to,Es=No+1;;){if(vs==De)break e;if(Es<zt.length&&zt[Es].from==vs)vs=zt[Es++].to;else{if(Rn[vs]==Cr)break e;break}}if(No++,Qo)Qo.push(ls);else{ls.from>wr&&Qn.push(new $n(wr,ls.from,ka));let vs=ls.direction==ze!=!(ka%2);or(Ut,vs?at+1:at,Dt,ls.inner,ls.from,ls.to,Qn),wr=ls.to}Ca=ls.to}else{if(Ca==De||(Co?Rn[Ca]!=Cr:Rn[Ca]==Cr))break;Ca++}Qo?cn(Ut,wr,Ca,at+1,Dt,Qo,Qn):wr<Ca&&Qn.push(new $n(wr,Ca,ka)),wr=Ca}else for(let wr=De,No=zt.length;wr>Q;){let Co=!0,Ro=!1;if(!No||wr>zt[No-1].to){let ls=Rn[wr-1];ls!=Cr&&(Co=!1,Ro=ls==16)}let Qo=!Co&&Cr==1?[]:null,ka=Co?at:at+1,Ca=wr;e:for(;;)if(No&&Ca==zt[No-1].to){if(Ro)break e;let ls=zt[--No];if(!Co)for(let vs=ls.from,Es=No;;){if(vs==Q)break e;if(Es&&zt[Es-1].to==vs)vs=zt[--Es].from;else{if(Rn[vs-1]==Cr)break e;break}}if(Qo)Qo.push(ls);else{ls.to<wr&&Qn.push(new $n(ls.to,wr,ka));let vs=ls.direction==ze!=!(ka%2);or(Ut,vs?at+1:at,Dt,ls.inner,ls.from,ls.to,Qn),wr=ls.from}Ca=ls.from}else{if(Ca==Q||(Co?Rn[Ca-1]!=Cr:Rn[Ca-1]==Cr))break;Ca--}Qo?cn(Ut,Ca,wr,at+1,Dt,Qo,Qn):Ca<wr&&Qn.push(new $n(Ca,wr,ka)),wr=Ca}}function or(Ut,Q,De,at,Dt,zt,Qn){let Cr=Q%2?2:1;jn(Ut,Dt,zt,at,Cr),Tn(Ut,Dt,zt,at,Cr),Nn(Dt,zt,at,Cr),cn(Ut,Dt,zt,Q,De,at,Qn)}function qn(Ut,Q,De){if(!Ut)return[new $n(0,0,Q==It?1:0)];if(Q==ze&&!De.length&&!Zn.test(Ut))return Hr(Ut.length);if(De.length)for(;Ut.length>Rn.length;)Rn[Rn.length]=256;let at=[],Dt=Q==ze?0:1;return or(Ut,Dt,Dt,De,0,Ut.length,at),at}function Hr(Ut){return[new $n(0,Ut,0)]}let fo="";function Jr(Ut,Q,De,at,Dt){var zt;let Qn=at.head-Ut.from,Cr=$n.find(Q,Qn,(zt=at.bidiLevel)!==null&&zt!==void 0?zt:-1,at.assoc),wr=Q[Cr],No=wr.side(Dt,De);if(Qn==No){let Qo=Cr+=Dt?1:-1;if(Qo<0||Qo>=Q.length)return null;wr=Q[Cr=Qo],Qn=wr.side(!Dt,De),No=wr.side(Dt,De)}let Co=(0,r.findClusterBreak)(Ut.text,Qn,wr.forward(Dt,De));(Co<wr.from||Co>wr.to)&&(Co=No),fo=Ut.text.slice(Math.min(Qn,Co),Math.max(Qn,Co));let Ro=Cr==(Dt?Q.length-1:0)?null:Q[Cr+(Dt?1:-1)];return Ro&&Co==No&&Ro.level+(Dt?0:1)<wr.level?r.EditorSelection.cursor(Ro.side(!Dt,De)+Ut.from,Ro.forward(Dt,De)?1:-1,Ro.level):r.EditorSelection.cursor(Co+Ut.from,wr.forward(Dt,De)?-1:1,wr.level)}function ro(Ut,Q,De){for(let at=Q;at<De;at++){let Dt=ir(Ut.charCodeAt(at));if(Dt==1)return ze;if(Dt==2||Dt==4)return It}return ze}const Xt=r.Facet.define(),Je=r.Facet.define(),At=r.Facet.define(),xt=r.Facet.define(),Qt=r.Facet.define(),qt=r.Facet.define(),Te=r.Facet.define(),Gt=r.Facet.define(),un=r.Facet.define(),Vt=r.Facet.define({combine:Ut=>Ut.some(Q=>Q)}),Dn=r.Facet.define({combine:Ut=>Ut.some(Q=>Q)}),Wt=r.Facet.define();class Pe{constructor(Q,De="nearest",at="nearest",Dt=5,zt=5,Qn=!1){this.range=Q,this.y=De,this.x=at,this.yMargin=Dt,this.xMargin=zt,this.isSnapshot=Qn}map(Q){return Q.empty?this:new Pe(this.range.map(Q),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(Q){return this.range.to<=Q.doc.length?this:new Pe(r.EditorSelection.cursor(Q.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const xe=r.StateEffect.define({map:(Ut,Q)=>Ut.map(Q)}),Ae=r.StateEffect.define();function qe(Ut,Q,De){let at=Ut.facet(xt);at.length?at[0](Q):window.onerror?window.onerror(String(Q),De,void 0,void 0,Q):De?console.error(De+":",Q):console.error(Q)}const wt=r.Facet.define({combine:Ut=>Ut.length?Ut[0]:!0});let kt=0;const ut=r.Facet.define();class Ft{constructor(Q,De,at,Dt,zt){this.id=Q,this.create=De,this.domEventHandlers=at,this.domEventObservers=Dt,this.extension=zt(this)}static define(Q,De){const{eventHandlers:at,eventObservers:Dt,provide:zt,decorations:Qn}=De||{};return new Ft(kt++,Q,at,Dt,Cr=>{let wr=[ut.of(Cr)];return Qn&&wr.push(Sr.of(No=>{let Co=No.plugin(Cr);return Co?Qn(Co):Ce.none})),zt&&wr.push(zt(Cr)),wr})}static fromClass(Q,De){return Ft.define(at=>new Q(at),De)}}class tn{constructor(Q){this.spec=Q,this.mustUpdate=null,this.value=null}update(Q){if(this.value){if(this.mustUpdate){let De=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(De)}catch(at){if(qe(De.state,at,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(Q)}catch(De){qe(Q.state,De,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(Q){var De;if(!((De=this.value)===null||De===void 0)&&De.destroy)try{this.value.destroy()}catch(at){qe(Q.state,at,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const In=r.Facet.define(),rr=r.Facet.define(),Sr=r.Facet.define(),Yr=r.Facet.define(),Pr=r.Facet.define(),Mn=r.Facet.define();function sr(Ut,Q){let De=Ut.state.facet(Mn);if(!De.length)return De;let at=De.map(zt=>zt instanceof Function?zt(Ut):zt),Dt=[];return r.RangeSet.spans(at,Q.from,Q.to,{point(){},span(zt,Qn,Cr,wr){let No=zt-Q.from,Co=Qn-Q.from,Ro=Dt;for(let Qo=Cr.length-1;Qo>=0;Qo--,wr--){let ka=Cr[Qo].spec.bidiIsolate,Ca;if(ka==null&&(ka=ro(Q.text,No,Co)),wr>0&&Ro.length&&(Ca=Ro[Ro.length-1]).to==No&&Ca.direction==ka)Ca.to=Co,Ro=Ca.inner;else{let ls={from:No,to:Co,direction:ka,inner:[]};Ro.push(ls),Ro=ls.inner}}}}),Dt}const Ar=r.Facet.define();function vr(Ut){let Q=0,De=0,at=0,Dt=0;for(let zt of Ut.state.facet(Ar)){let Qn=zt(Ut);Qn&&(Qn.left!=null&&(Q=Math.max(Q,Qn.left)),Qn.right!=null&&(De=Math.max(De,Qn.right)),Qn.top!=null&&(at=Math.max(at,Qn.top)),Qn.bottom!=null&&(Dt=Math.max(Dt,Qn.bottom)))}return{left:Q,right:De,top:at,bottom:Dt}}const qr=r.Facet.define();class Dr{constructor(Q,De,at,Dt){this.fromA=Q,this.toA=De,this.fromB=at,this.toB=Dt}join(Q){return new Dr(Math.min(this.fromA,Q.fromA),Math.max(this.toA,Q.toA),Math.min(this.fromB,Q.fromB),Math.max(this.toB,Q.toB))}addToSet(Q){let De=Q.length,at=this;for(;De>0;De--){let Dt=Q[De-1];if(!(Dt.fromA>at.toA)){if(Dt.toA<at.fromA)break;at=at.join(Dt),Q.splice(De-1,1)}}return Q.splice(De,0,at),Q}static extendWithRanges(Q,De){if(De.length==0)return Q;let at=[];for(let Dt=0,zt=0,Qn=0,Cr=0;;Dt++){let wr=Dt==Q.length?null:Q[Dt],No=Qn-Cr,Co=wr?wr.fromB:1e9;for(;zt<De.length&&De[zt]<Co;){let Ro=De[zt],Qo=De[zt+1],ka=Math.max(Cr,Ro),Ca=Math.min(Co,Qo);if(ka<=Ca&&new Dr(ka+No,Ca+No,ka,Ca).addToSet(at),Qo>Co)break;zt+=2}if(!wr)return at;new Dr(wr.fromA,wr.toA,wr.fromB,wr.toB).addToSet(at),Qn=wr.toA,Cr=wr.toB}}}class eo{constructor(Q,De,at){this.view=Q,this.state=De,this.transactions=at,this.flags=0,this.startState=Q.state,this.changes=r.ChangeSet.empty(this.startState.doc.length);for(let zt of at)this.changes=this.changes.compose(zt.changes);let Dt=[];this.changes.iterChangedRanges((zt,Qn,Cr,wr)=>Dt.push(new Dr(zt,Qn,Cr,wr))),this.changedRanges=Dt}static create(Q,De,at){return new eo(Q,De,at)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(Q=>Q.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}class Vo extends M{get length(){return this.view.state.doc.length}constructor(Q){super(),this.view=Q,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=Ce.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(Q.contentDOM),this.children=[new mt],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new Dr(0,0,0,Q.state.doc.length)],0,null)}update(Q){var De;let at=Q.changedRanges;this.minWidth>0&&at.length&&(at.every(({fromA:No,toA:Co})=>Co<this.minWidthFrom||No>this.minWidthTo)?(this.minWidthFrom=Q.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=Q.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(Q);let Dt=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((De=this.domChanged)===null||De===void 0)&&De.newSel?Dt=this.domChanged.newSel.head:!Ze(Q.changes,this.hasComposition)&&!Q.selectionSet&&(Dt=Q.state.selection.main.head));let zt=Dt>-1?rn(this.view,Q.changes,Dt):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:No,to:Co}=this.hasComposition;at=new Dr(No,Co,Q.changes.mapPos(No,-1),Q.changes.mapPos(Co,1)).addToSet(at.slice())}this.hasComposition=zt?{from:zt.range.fromB,to:zt.range.toB}:null,(he.ie||he.chrome)&&!zt&&Q&&Q.state.doc.lines!=Q.startState.doc.lines&&(this.forceSelection=!0);let Qn=this.decorations,Cr=this.updateDeco(),wr=Ye(Qn,Cr,Q.changes);return at=Dr.extendWithRanges(at,wr),!(this.flags&7)&&at.length==0?!1:(this.updateInner(at,Q.startState.doc.length,zt),Q.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(Q,De,at){this.view.viewState.mustMeasureContent=!0,this.updateChildren(Q,De,at);let{observer:Dt}=this.view;Dt.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let Qn=he.chrome||he.ios?{node:Dt.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,Qn),this.flags&=-8,Qn&&(Qn.written||Dt.selectionRange.focusNode!=Qn.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(Qn=>Qn.flags&=-9);let zt=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let Qn of this.children)Qn instanceof rt&&Qn.widget instanceof ce&&zt.push(Qn.dom);Dt.updateGaps(zt)}updateChildren(Q,De,at){let Dt=at?at.range.addToSet(Q.slice()):Q,zt=this.childCursor(De);for(let Qn=Dt.length-1;;Qn--){let Cr=Qn>=0?Dt[Qn]:null;if(!Cr)break;let{fromA:wr,toA:No,fromB:Co,toB:Ro}=Cr,Qo,ka,Ca,ls;if(at&&at.range.fromB<Ro&&at.range.toB>Co){let Hi=Re.build(this.view.state.doc,Co,at.range.fromB,this.decorations,this.dynamicDecorationMap),Qi=Re.build(this.view.state.doc,at.range.toB,Ro,this.decorations,this.dynamicDecorationMap);ka=Hi.breakAtStart,Ca=Hi.openStart,ls=Qi.openEnd;let Li=this.compositionView(at);Qi.breakAtStart?Li.breakAfter=1:Qi.content.length&&Li.merge(Li.length,Li.length,Qi.content[0],!1,Qi.openStart,0)&&(Li.breakAfter=Qi.content[0].breakAfter,Qi.content.shift()),Hi.content.length&&Li.merge(0,0,Hi.content[Hi.content.length-1],!0,0,Hi.openEnd)&&Hi.content.pop(),Qo=Hi.content.concat(Li).concat(Qi.content)}else({content:Qo,breakAtStart:ka,openStart:Ca,openEnd:ls}=Re.build(this.view.state.doc,Co,Ro,this.decorations,this.dynamicDecorationMap));let{i:vs,off:Es}=zt.findPos(No,1),{i:fi,off:Bo}=zt.findPos(wr,-1);U(this,fi,Bo,vs,Es,Qo,ka,Ca,ls)}at&&this.fixCompositionDOM(at)}updateEditContextFormatting(Q){this.editContextFormatting=this.editContextFormatting.map(Q.changes);for(let De of Q.transactions)for(let at of De.effects)at.is(Ae)&&(this.editContextFormatting=at.value)}compositionView(Q){let De=new fe(Q.text.nodeValue);De.flags|=8;for(let{deco:Dt}of Q.marks)De=new H(Dt,[De],De.length);let at=new mt;return at.append(De,0),at}fixCompositionDOM(Q){let De=(zt,Qn)=>{Qn.flags|=8|(Qn.children.some(wr=>wr.flags&7)?1:0),this.markedForComposition.add(Qn);let Cr=M.get(zt);Cr&&Cr!=Qn&&(Cr.dom=null),Qn.setDOM(zt)},at=this.childPos(Q.range.fromB,1),Dt=this.children[at.i];De(Q.line,Dt);for(let zt=Q.marks.length-1;zt>=-1;zt--)at=Dt.childPos(at.off,1),Dt=Dt.children[at.i],De(zt>=0?Q.marks[zt].node:Q.text,Dt)}updateSelection(Q=!1,De=!1){(Q||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let at=this.view.root.activeElement,Dt=at==this.dom,zt=!Dt&&c(this.dom,this.view.observer.selectionRange)&&!(at&&this.dom.contains(at));if(!(Dt||De||zt))return;let Qn=this.forceSelection;this.forceSelection=!1;let Cr=this.view.state.selection.main,wr=this.moveToLine(this.domAtPos(Cr.anchor)),No=Cr.empty?wr:this.moveToLine(this.domAtPos(Cr.head));if(he.gecko&&Cr.empty&&!this.hasComposition&&Bn(wr)){let Ro=document.createTextNode("");this.view.observer.ignore(()=>wr.node.insertBefore(Ro,wr.node.childNodes[wr.offset]||null)),wr=No=new k(Ro,0),Qn=!0}let Co=this.view.observer.selectionRange;(Qn||!Co.focusNode||(!f(wr.node,wr.offset,Co.anchorNode,Co.anchorOffset)||!f(No.node,No.offset,Co.focusNode,Co.focusOffset))&&!this.suppressWidgetCursorChange(Co,Cr))&&(this.view.observer.ignore(()=>{he.android&&he.chrome&&this.dom.contains(Co.focusNode)&&yt(Co.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let Ro=a(this.view.root);if(Ro)if(Cr.empty){if(he.gecko){let Qo=Rt(wr.node,wr.offset);if(Qo&&Qo!=3){let ka=(Qo==1?F:G)(wr.node,wr.offset);ka&&(wr=new k(ka.node,ka.offset))}}Ro.collapse(wr.node,wr.offset),Cr.bidiLevel!=null&&Ro.caretBidiLevel!==void 0&&(Ro.caretBidiLevel=Cr.bidiLevel)}else if(Ro.extend){Ro.collapse(wr.node,wr.offset);try{Ro.extend(No.node,No.offset)}catch{}}else{let Qo=document.createRange();Cr.anchor>Cr.head&&([wr,No]=[No,wr]),Qo.setEnd(No.node,No.offset),Qo.setStart(wr.node,wr.offset),Ro.removeAllRanges(),Ro.addRange(Qo)}zt&&this.view.root.activeElement==this.dom&&(this.dom.blur(),at&&at.focus())}),this.view.observer.setSelectionRange(wr,No)),this.impreciseAnchor=wr.precise?null:new k(Co.anchorNode,Co.anchorOffset),this.impreciseHead=No.precise?null:new k(Co.focusNode,Co.focusOffset)}suppressWidgetCursorChange(Q,De){return this.hasComposition&&De.empty&&f(Q.focusNode,Q.focusOffset,Q.anchorNode,Q.anchorOffset)&&this.posFromDOM(Q.focusNode,Q.focusOffset)==De.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:Q}=this,De=Q.state.selection.main,at=a(Q.root),{anchorNode:Dt,anchorOffset:zt}=Q.observer.selectionRange;if(!at||!De.empty||!De.assoc||!at.modify)return;let Qn=mt.find(this,De.head);if(!Qn)return;let Cr=Qn.posAtStart;if(De.head==Cr||De.head==Cr+Qn.length)return;let wr=this.coordsAt(De.head,-1),No=this.coordsAt(De.head,1);if(!wr||!No||wr.bottom>No.top)return;let Co=this.domAtPos(De.head+De.assoc);at.collapse(Co.node,Co.offset),at.modify("move",De.assoc<0?"forward":"backward","lineboundary"),Q.observer.readSelectionRange();let Ro=Q.observer.selectionRange;Q.docView.posFromDOM(Ro.anchorNode,Ro.anchorOffset)!=De.from&&at.collapse(Dt,zt)}moveToLine(Q){let De=this.dom,at;if(Q.node!=De)return Q;for(let Dt=Q.offset;!at&&Dt<De.childNodes.length;Dt++){let zt=M.get(De.childNodes[Dt]);zt instanceof mt&&(at=zt.domAtPos(0))}for(let Dt=Q.offset-1;!at&&Dt>=0;Dt--){let zt=M.get(De.childNodes[Dt]);zt instanceof mt&&(at=zt.domAtPos(zt.length))}return at?new k(at.node,at.offset,!0):Q}nearest(Q){for(let De=Q;De;){let at=M.get(De);if(at&&at.rootView==this)return at;De=De.parentNode}return null}posFromDOM(Q,De){let at=this.nearest(Q);if(!at)throw new RangeError("Trying to find position for a DOM position outside of the document");return at.localPosFromDOM(Q,De)+at.posAtStart}domAtPos(Q){let{i:De,off:at}=this.childCursor().findPos(Q,-1);for(;De<this.children.length-1;){let Dt=this.children[De];if(at<Dt.length||Dt instanceof mt)break;De++,at=0}return this.children[De].domAtPos(at)}coordsAt(Q,De){let at=null,Dt=0;for(let zt=this.length,Qn=this.children.length-1;Qn>=0;Qn--){let Cr=this.children[Qn],wr=zt-Cr.breakAfter,No=wr-Cr.length;if(wr<Q)break;if(No<=Q&&(No<Q||Cr.covers(-1))&&(wr>Q||Cr.covers(1))&&(!at||Cr instanceof mt&&!(at instanceof mt&&De>=0)))at=Cr,Dt=No;else if(at&&No==Q&&wr==Q&&Cr instanceof rt&&Math.abs(De)<2){if(Cr.deco.startSide<0)break;Qn&&(at=null)}zt=No}return at?at.coordsAt(Q-Dt,De):null}coordsForChar(Q){let{i:De,off:at}=this.childPos(Q,1),Dt=this.children[De];if(!(Dt instanceof mt))return null;for(;Dt.children.length;){let{i:Cr,off:wr}=Dt.childPos(at,1);for(;;Cr++){if(Cr==Dt.children.length)return null;if((Dt=Dt.children[Cr]).length)break}at=wr}if(!(Dt instanceof fe))return null;let zt=(0,r.findClusterBreak)(Dt.text,at);if(zt==at)return null;let Qn=v(Dt.dom,at,zt).getClientRects();for(let Cr=0;Cr<Qn.length;Cr++){let wr=Qn[Cr];if(Cr==Qn.length-1||wr.top<wr.bottom&&wr.left<wr.right)return wr}return null}measureVisibleLineHeights(Q){let De=[],{from:at,to:Dt}=Q,zt=this.view.contentDOM.clientWidth,Qn=zt>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,Cr=-1,wr=this.view.textDirection==vt.LTR;for(let No=0,Co=0;Co<this.children.length;Co++){let Ro=this.children[Co],Qo=No+Ro.length;if(Qo>Dt)break;if(No>=at){let ka=Ro.dom.getBoundingClientRect();if(De.push(ka.height),Qn){let Ca=Ro.dom.lastChild,ls=Ca?u(Ca):[];if(ls.length){let vs=ls[ls.length-1],Es=wr?vs.right-ka.left:ka.right-vs.left;Es>Cr&&(Cr=Es,this.minWidth=zt,this.minWidthFrom=No,this.minWidthTo=Qo)}}}No=Qo+Ro.breakAfter}return De}textDirectionAt(Q){let{i:De}=this.childPos(Q,1);return getComputedStyle(this.children[De].dom).direction=="rtl"?vt.RTL:vt.LTR}measureTextSize(){for(let zt of this.children)if(zt instanceof mt){let Qn=zt.measureTextSize();if(Qn)return Qn}let Q=document.createElement("div"),De,at,Dt;return Q.className="cm-line",Q.style.width="99999px",Q.style.position="absolute",Q.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(Q);let zt=u(Q.firstChild)[0];De=Q.getBoundingClientRect().height,at=zt?zt.width/27:7,Dt=zt?zt.height:De,Q.remove()}),{lineHeight:De,charWidth:at,textHeight:Dt}}childCursor(Q=this.length){let De=this.children.length;return De&&(Q-=this.children[--De].length),new R(this.children,Q,De)}computeBlockGapDeco(){let Q=[],De=this.view.viewState;for(let at=0,Dt=0;;Dt++){let zt=Dt==De.viewports.length?null:De.viewports[Dt],Qn=zt?zt.from-1:this.length;if(Qn>at){let Cr=(De.lineBlockAt(Qn).bottom-De.lineBlockAt(at).top)/this.view.scaleY;Q.push(Ce.replace({widget:new ce(Cr),block:!0,inclusive:!0,isBlockGap:!0}).range(at,Qn))}if(!zt)break;at=zt.to+1}return Ce.set(Q)}updateDeco(){let Q=1,De=this.view.state.facet(Sr).map(zt=>(this.dynamicDecorationMap[Q++]=typeof zt=="function")?zt(this.view):zt),at=!1,Dt=this.view.state.facet(Yr).map((zt,Qn)=>{let Cr=typeof zt=="function";return Cr&&(at=!0),Cr?zt(this.view):zt});for(Dt.length&&(this.dynamicDecorationMap[Q++]=at,De.push(r.RangeSet.join(Dt))),this.decorations=[this.editContextFormatting,...De,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];Q<this.decorations.length;)this.dynamicDecorationMap[Q++]=!1;return this.decorations}scrollIntoView(Q){if(Q.isSnapshot){let No=this.view.viewState.lineBlockAt(Q.range.head);this.view.scrollDOM.scrollTop=No.top-Q.yMargin,this.view.scrollDOM.scrollLeft=Q.xMargin;return}for(let No of this.view.state.facet(Wt))try{if(No(this.view,Q.range,Q))return!0}catch(Co){qe(this.view.state,Co,"scroll handler")}let{range:De}=Q,at=this.coordsAt(De.head,De.empty?De.assoc:De.head>De.anchor?-1:1),Dt;if(!at)return;!De.empty&&(Dt=this.coordsAt(De.anchor,De.anchor>De.head?-1:1))&&(at={left:Math.min(at.left,Dt.left),top:Math.min(at.top,Dt.top),right:Math.max(at.right,Dt.right),bottom:Math.max(at.bottom,Dt.bottom)});let zt=vr(this.view),Qn={left:at.left-zt.left,top:at.top-zt.top,right:at.right+zt.right,bottom:at.bottom+zt.bottom},{offsetWidth:Cr,offsetHeight:wr}=this.view.scrollDOM;P(this.view.scrollDOM,Qn,De.head<De.anchor?-1:1,Q.x,Q.y,Math.max(Math.min(Q.xMargin,Cr),-Cr),Math.max(Math.min(Q.yMargin,wr),-wr),this.view.textDirection==vt.LTR)}}function Bn(Ut){return Ut.node.nodeType==1&&Ut.node.firstChild&&(Ut.offset==0||Ut.node.childNodes[Ut.offset-1].contentEditable=="false")&&(Ut.offset==Ut.node.childNodes.length||Ut.node.childNodes[Ut.offset].contentEditable=="false")}function ar(Ut,Q){let De=Ut.observer.selectionRange;if(!De.focusNode)return null;let at=F(De.focusNode,De.focusOffset),Dt=G(De.focusNode,De.focusOffset),zt=at||Dt;if(Dt&&at&&Dt.node!=at.node){let Cr=M.get(Dt.node);if(!Cr||Cr instanceof fe&&Cr.text!=Dt.node.nodeValue)zt=Dt;else if(Ut.docView.lastCompositionAfterCursor){let wr=M.get(at.node);!wr||wr instanceof fe&&wr.text!=at.node.nodeValue||(zt=Dt)}}if(Ut.docView.lastCompositionAfterCursor=zt!=at,!zt)return null;let Qn=Q-zt.offset;return{from:Qn,to:Qn+zt.node.nodeValue.length,node:zt.node}}function rn(Ut,Q,De){let at=ar(Ut,De);if(!at)return null;let{node:Dt,from:zt,to:Qn}=at,Cr=Dt.nodeValue;if(/[\n\r]/.test(Cr)||Ut.state.doc.sliceString(at.from,at.to)!=Cr)return null;let wr=Q.invertedDesc,No=new Dr(wr.mapPos(zt),wr.mapPos(Qn),zt,Qn),Co=[];for(let Ro=Dt.parentNode;;Ro=Ro.parentNode){let Qo=M.get(Ro);if(Qo instanceof H)Co.push({node:Ro,deco:Qo.mark});else{if(Qo instanceof mt||Ro.nodeName=="DIV"&&Ro.parentNode==Ut.contentDOM)return{range:No,text:Dt,marks:Co,line:Ro};if(Ro!=Ut.contentDOM)Co.push({node:Ro,deco:new we({inclusive:!0,attributes:Fe(Ro),tagName:Ro.tagName.toLowerCase()})});else return null}}}function Rt(Ut,Q){return Ut.nodeType!=1?0:(Q&&Ut.childNodes[Q-1].contentEditable=="false"?1:0)|(Q<Ut.childNodes.length&&Ut.childNodes[Q].contentEditable=="false"?2:0)}let Qe=class{constructor(){this.changes=[]}compareRange(Q,De){Bt(Q,De,this.changes)}comparePoint(Q,De){Bt(Q,De,this.changes)}};function Ye(Ut,Q,De){let at=new Qe;return r.RangeSet.compare(Ut,Q,De,at),at.changes}function yt(Ut,Q){for(let De=Ut;De&&De!=Q;De=De.assignedSlot||De.parentNode)if(De.nodeType==1&&De.contentEditable=="false")return!0;return!1}function Ze(Ut,Q){let De=!1;return Q&&Ut.iterChangedRanges((at,Dt)=>{at<Q.to&&Dt>Q.from&&(De=!0)}),De}function Mt(Ut,Q,De=1){let at=Ut.charCategorizer(Q),Dt=Ut.doc.lineAt(Q),zt=Q-Dt.from;if(Dt.length==0)return r.EditorSelection.cursor(Q);zt==0?De=1:zt==Dt.length&&(De=-1);let Qn=zt,Cr=zt;De<0?Qn=(0,r.findClusterBreak)(Dt.text,zt,!1):Cr=(0,r.findClusterBreak)(Dt.text,zt);let wr=at(Dt.text.slice(Qn,Cr));for(;Qn>0;){let No=(0,r.findClusterBreak)(Dt.text,Qn,!1);if(at(Dt.text.slice(No,Qn))!=wr)break;Qn=No}for(;Cr<Dt.length;){let No=(0,r.findClusterBreak)(Dt.text,Cr);if(at(Dt.text.slice(Cr,No))!=wr)break;Cr=No}return r.EditorSelection.range(Qn+Dt.from,Cr+Dt.from)}function ot(Ut,Q){return Q.left>Ut?Q.left-Ut:Math.max(0,Ut-Q.right)}function et(Ut,Q){return Q.top>Ut?Q.top-Ut:Math.max(0,Ut-Q.bottom)}function St(Ut,Q){return Ut.top<Q.bottom-1&&Ut.bottom>Q.top+1}function Ht(Ut,Q){return Q<Ut.top?{top:Q,left:Ut.left,right:Ut.right,bottom:Ut.bottom}:Ut}function er(Ut,Q){return Q>Ut.bottom?{top:Ut.top,left:Ut.left,right:Ut.right,bottom:Q}:Ut}function Mr(Ut,Q,De){let at,Dt,zt,Qn,Cr=!1,wr,No,Co,Ro;for(let Ca=Ut.firstChild;Ca;Ca=Ca.nextSibling){let ls=u(Ca);for(let vs=0;vs<ls.length;vs++){let Es=ls[vs];Dt&&St(Dt,Es)&&(Es=Ht(er(Es,Dt.bottom),Dt.top));let fi=ot(Q,Es),Bo=et(De,Es);if(fi==0&&Bo==0)return Ca.nodeType==3?mn(Ca,Q,De):Mr(Ca,Q,De);if(!at||Qn>Bo||Qn==Bo&&zt>fi){at=Ca,Dt=Es,zt=fi,Qn=Bo;let Hi=Bo?De<Es.top?-1:1:fi?Q<Es.left?-1:1:0;Cr=!Hi||(Hi>0?vs<ls.length-1:vs>0)}fi==0?De>Es.bottom&&(!Co||Co.bottom<Es.bottom)?(wr=Ca,Co=Es):De<Es.top&&(!Ro||Ro.top>Es.top)&&(No=Ca,Ro=Es):Co&&St(Co,Es)?Co=er(Co,Es.bottom):Ro&&St(Ro,Es)&&(Ro=Ht(Ro,Es.top))}}if(Co&&Co.bottom>=De?(at=wr,Dt=Co):Ro&&Ro.top<=De&&(at=No,Dt=Ro),!at)return{node:Ut,offset:0};let Qo=Math.max(Dt.left,Math.min(Dt.right,Q));if(at.nodeType==3)return mn(at,Qo,De);if(Cr&&at.contentEditable!="false")return Mr(at,Qo,De);let ka=Array.prototype.indexOf.call(Ut.childNodes,at)+(Q>=(Dt.left+Dt.right)/2?1:0);return{node:Ut,offset:ka}}function mn(Ut,Q,De){let at=Ut.nodeValue.length,Dt=-1,zt=1e9,Qn=0;for(let Cr=0;Cr<at;Cr++){let wr=v(Ut,Cr,Cr+1).getClientRects();for(let No=0;No<wr.length;No++){let Co=wr[No];if(Co.top==Co.bottom)continue;Qn||(Qn=Q-Co.left);let Ro=(Co.top>De?Co.top-De:De-Co.bottom)-1;if(Co.left-1<=Q&&Co.right+1>=Q&&Ro<zt){let Qo=Q>=(Co.left+Co.right)/2,ka=Qo;if((he.chrome||he.gecko)&&v(Ut,Cr).getBoundingClientRect().left==Co.right&&(ka=!Qo),Ro<=0)return{node:Ut,offset:Cr+(ka?1:0)};Dt=Cr+(ka?1:0),zt=Ro}}}return{node:Ut,offset:Dt>-1?Dt:Qn>0?Ut.nodeValue.length:0}}function Un(Ut,Q,De,at=-1){var Dt,zt;let Qn=Ut.contentDOM.getBoundingClientRect(),Cr=Qn.top+Ut.viewState.paddingTop,wr,{docHeight:No}=Ut.viewState,{x:Co,y:Ro}=Q,Qo=Ro-Cr;if(Qo<0)return 0;if(Qo>No)return Ut.state.doc.length;for(let Hi=Ut.viewState.heightOracle.textHeight/2,Qi=!1;wr=Ut.elementAtHeight(Qo),wr.type!=Ne.Text;)for(;Qo=at>0?wr.bottom+Hi:wr.top-Hi,!(Qo>=0&&Qo<=No);){if(Qi)return De?null:0;Qi=!0,at=-at}Ro=Cr+Qo;let ka=wr.from;if(ka<Ut.viewport.from)return Ut.viewport.from==0?0:De?null:hr(Ut,Qn,wr,Co,Ro);if(ka>Ut.viewport.to)return Ut.viewport.to==Ut.state.doc.length?Ut.state.doc.length:De?null:hr(Ut,Qn,wr,Co,Ro);let Ca=Ut.dom.ownerDocument,ls=Ut.root.elementFromPoint?Ut.root:Ca,vs=ls.elementFromPoint(Co,Ro);vs&&!Ut.contentDOM.contains(vs)&&(vs=null),vs||(Co=Math.max(Qn.left+1,Math.min(Qn.right-1,Co)),vs=ls.elementFromPoint(Co,Ro),vs&&!Ut.contentDOM.contains(vs)&&(vs=null));let Es,fi=-1;if(vs&&((Dt=Ut.docView.nearest(vs))===null||Dt===void 0?void 0:Dt.isEditable)!=!1){if(Ca.caretPositionFromPoint){let Hi=Ca.caretPositionFromPoint(Co,Ro);Hi&&({offsetNode:Es,offset:fi}=Hi)}else if(Ca.caretRangeFromPoint){let Hi=Ca.caretRangeFromPoint(Co,Ro);Hi&&({startContainer:Es,startOffset:fi}=Hi,(!Ut.contentDOM.contains(Es)||he.safari&&br(Es,fi,Co)||he.chrome&&io(Es,fi,Co))&&(Es=void 0))}Es&&(fi=Math.min(_(Es),fi))}if(!Es||!Ut.docView.dom.contains(Es)){let Hi=mt.find(Ut.docView,ka);if(!Hi)return Qo>wr.top+wr.height/2?wr.to:wr.from;({node:Es,offset:fi}=Mr(Hi.dom,Co,Ro))}let Bo=Ut.docView.nearest(Es);if(!Bo)return null;if(Bo.isWidget&&((zt=Bo.dom)===null||zt===void 0?void 0:zt.nodeType)==1){let Hi=Bo.dom.getBoundingClientRect();return Q.y<Hi.top||Q.y<=Hi.bottom&&Q.x<=(Hi.left+Hi.right)/2?Bo.posAtStart:Bo.posAtEnd}else return Bo.localPosFromDOM(Es,fi)+Bo.posAtStart}function hr(Ut,Q,De,at,Dt){let zt=Math.round((at-Q.left)*Ut.defaultCharacterWidth);if(Ut.lineWrapping&&De.height>Ut.defaultLineHeight*1.5){let Cr=Ut.viewState.heightOracle.textHeight,wr=Math.floor((Dt-De.top-(Ut.defaultLineHeight-Cr)*.5)/Cr);zt+=wr*Ut.viewState.heightOracle.lineLength}let Qn=Ut.state.sliceDoc(De.from,De.to);return De.from+(0,r.findColumn)(Qn,zt,Ut.state.tabSize)}function br(Ut,Q,De){let at;if(Ut.nodeType!=3||Q!=(at=Ut.nodeValue.length))return!1;for(let Dt=Ut.nextSibling;Dt;Dt=Dt.nextSibling)if(Dt.nodeType!=1||Dt.nodeName!="BR")return!1;return v(Ut,at-1,at).getBoundingClientRect().left>De}function io(Ut,Q,De){if(Q!=0)return!1;for(let Dt=Ut;;){let zt=Dt.parentNode;if(!zt||zt.nodeType!=1||zt.firstChild!=Dt)return!1;if(zt.classList.contains("cm-line"))break;Dt=zt}let at=Ut.nodeType==1?Ut.getBoundingClientRect():v(Ut,0,Math.max(Ut.nodeValue.length,1)).getBoundingClientRect();return De-at.left>5}function Kr(Ut,Q){let De=Ut.lineBlockAt(Q);if(Array.isArray(De.type)){for(let at of De.type)if(at.to>Q||at.to==Q&&(at.to==De.to||at.type==Ne.Text))return at}return De}function xo(Ut,Q,De,at){let Dt=Kr(Ut,Q.head),zt=!at||Dt.type!=Ne.Text||!(Ut.lineWrapping||Dt.widgetLineBreaks)?null:Ut.coordsAtPos(Q.assoc<0&&Q.head>Dt.from?Q.head-1:Q.head);if(zt){let Qn=Ut.dom.getBoundingClientRect(),Cr=Ut.textDirectionAt(Dt.from),wr=Ut.posAtCoords({x:De==(Cr==vt.LTR)?Qn.right-1:Qn.left+1,y:(zt.top+zt.bottom)/2});if(wr!=null)return r.EditorSelection.cursor(wr,De?-1:1)}return r.EditorSelection.cursor(De?Dt.to:Dt.from,De?-1:1)}function Ho(Ut,Q,De,at){let Dt=Ut.state.doc.lineAt(Q.head),zt=Ut.bidiSpans(Dt),Qn=Ut.textDirectionAt(Dt.from);for(let Cr=Q,wr=null;;){let No=Jr(Dt,zt,Qn,Cr,De),Co=fo;if(!No){if(Dt.number==(De?Ut.state.doc.lines:1))return Cr;Co=`
`,Dt=Ut.state.doc.line(Dt.number+(De?1:-1)),zt=Ut.bidiSpans(Dt),No=Ut.visualLineSide(Dt,!De)}if(wr){if(!wr(Co))return Cr}else{if(!at)return No;wr=at(Co)}Cr=No}}function bo(Ut,Q,De){let at=Ut.state.charCategorizer(Q),Dt=at(De);return zt=>{let Qn=at(zt);return Dt==r.CharCategory.Space&&(Dt=Qn),Dt==Qn}}function Ea(Ut,Q,De,at){let Dt=Q.head,zt=De?1:-1;if(Dt==(De?Ut.state.doc.length:0))return r.EditorSelection.cursor(Dt,Q.assoc);let Qn=Q.goalColumn,Cr,wr=Ut.contentDOM.getBoundingClientRect(),No=Ut.coordsAtPos(Dt,Q.assoc||-1),Co=Ut.documentTop;if(No)Qn==null&&(Qn=No.left-wr.left),Cr=zt<0?No.top:No.bottom;else{let ka=Ut.viewState.lineBlockAt(Dt);Qn==null&&(Qn=Math.min(wr.right-wr.left,Ut.defaultCharacterWidth*(Dt-ka.from))),Cr=(zt<0?ka.top:ka.bottom)+Co}let Ro=wr.left+Qn,Qo=at??Ut.viewState.heightOracle.textHeight>>1;for(let ka=0;;ka+=10){let Ca=Cr+(Qo+ka)*zt,ls=Un(Ut,{x:Ro,y:Ca},!1,zt);if(Ca<wr.top||Ca>wr.bottom||(zt<0?ls<Dt:ls>Dt)){let vs=Ut.docView.coordsForChar(ls),Es=!vs||Ca<vs.top?-1:1;return r.EditorSelection.cursor(ls,Es,void 0,Qn)}}}function Ia(Ut,Q,De){for(;;){let at=0;for(let Dt of Ut)Dt.between(Q-1,Q+1,(zt,Qn,Cr)=>{if(Q>zt&&Q<Qn){let wr=at||De||(Q-zt<Qn-Q?-1:1);Q=wr<0?zt:Qn,at=wr}});if(!at)return Q}}function Da(Ut,Q,De){let at=Ia(Ut.state.facet(Pr).map(Dt=>Dt(Ut)),De.from,Q.head>De.from?-1:1);return at==De.from?De:r.EditorSelection.cursor(at,at<De.from?1:-1)}const Za="\uFFFF";class Xa{constructor(Q,De){this.points=Q,this.text="",this.lineSeparator=De.facet(r.EditorState.lineSeparator)}append(Q){this.text+=Q}lineBreak(){this.text+=Za}readRange(Q,De){if(!Q)return this;let at=Q.parentNode;for(let Dt=Q;;){this.findPointBefore(at,Dt);let zt=this.text.length;this.readNode(Dt);let Qn=Dt.nextSibling;if(Qn==De)break;let Cr=M.get(Dt),wr=M.get(Qn);(Cr&&wr?Cr.breakAfter:(Cr?Cr.breakAfter:h(Dt))||h(Qn)&&(Dt.nodeName!="BR"||Dt.cmIgnore)&&this.text.length>zt)&&this.lineBreak(),Dt=Qn}return this.findPointBefore(at,De),this}readTextNode(Q){let De=Q.nodeValue;for(let at of this.points)at.node==Q&&(at.pos=this.text.length+Math.min(at.offset,De.length));for(let at=0,Dt=this.lineSeparator?null:/\r\n?|\n/g;;){let zt=-1,Qn=1,Cr;if(this.lineSeparator?(zt=De.indexOf(this.lineSeparator,at),Qn=this.lineSeparator.length):(Cr=Dt.exec(De))&&(zt=Cr.index,Qn=Cr[0].length),this.append(De.slice(at,zt<0?De.length:zt)),zt<0)break;if(this.lineBreak(),Qn>1)for(let wr of this.points)wr.node==Q&&wr.pos>this.text.length&&(wr.pos-=Qn-1);at=zt+Qn}}readNode(Q){if(Q.cmIgnore)return;let De=M.get(Q),at=De&&De.overrideDOMText;if(at!=null){this.findPointInside(Q,at.length);for(let Dt=at.iter();!Dt.next().done;)Dt.lineBreak?this.lineBreak():this.append(Dt.value)}else Q.nodeType==3?this.readTextNode(Q):Q.nodeName=="BR"?Q.nextSibling&&this.lineBreak():Q.nodeType==1&&this.readRange(Q.firstChild,null)}findPointBefore(Q,De){for(let at of this.points)at.node==Q&&Q.childNodes[at.offset]==De&&(at.pos=this.text.length)}findPointInside(Q,De){for(let at of this.points)(Q.nodeType==3?at.node==Q:Q.contains(at.node))&&(at.pos=this.text.length+(ba(Q,at.node,at.offset)?De:0))}}function ba(Ut,Q,De){for(;;){if(!Q||De<_(Q))return!1;if(Q==Ut)return!0;De=d(Q)+1,Q=Q.parentNode}}class ns{constructor(Q,De){this.node=Q,this.offset=De,this.pos=-1}}class Ja{constructor(Q,De,at,Dt){this.typeOver=Dt,this.bounds=null,this.text="",this.domChanged=De>-1;let{impreciseHead:zt,impreciseAnchor:Qn}=Q.docView;if(Q.state.readOnly&&De>-1)this.newSel=null;else if(De>-1&&(this.bounds=Q.docView.domBoundsAround(De,at,0))){let Cr=zt||Qn?[]:xr(Q),wr=new Xa(Cr,Q.state);wr.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=wr.text,this.newSel=uo(Cr,this.bounds.from)}else{let Cr=Q.observer.selectionRange,wr=zt&&zt.node==Cr.focusNode&&zt.offset==Cr.focusOffset||!i(Q.contentDOM,Cr.focusNode)?Q.state.selection.main.head:Q.docView.posFromDOM(Cr.focusNode,Cr.focusOffset),No=Qn&&Qn.node==Cr.anchorNode&&Qn.offset==Cr.anchorOffset||!i(Q.contentDOM,Cr.anchorNode)?Q.state.selection.main.anchor:Q.docView.posFromDOM(Cr.anchorNode,Cr.anchorOffset),Co=Q.viewport;if((he.ios||he.chrome)&&Q.state.selection.main.empty&&wr!=No&&(Co.from>0||Co.to<Q.state.doc.length)){let Ro=Math.min(wr,No),Qo=Math.max(wr,No),ka=Co.from-Ro,Ca=Co.to-Qo;(ka==0||ka==1||Ro==0)&&(Ca==0||Ca==-1||Qo==Q.state.doc.length)&&(wr=0,No=Q.state.doc.length)}this.newSel=r.EditorSelection.single(No,wr)}}}function Is(Ut,Q){let De,{newSel:at}=Q,Dt=Ut.state.selection.main,zt=Ut.inputState.lastKeyTime>Date.now()-100?Ut.inputState.lastKeyCode:-1;if(Q.bounds){let{from:Qn,to:Cr}=Q.bounds,wr=Dt.from,No=null;(zt===8||he.android&&Q.text.length<Cr-Qn)&&(wr=Dt.to,No="end");let Co=To(Ut.state.doc.sliceString(Qn,Cr,Za),Q.text,wr-Qn,No);Co&&(he.chrome&&zt==13&&Co.toB==Co.from+2&&Q.text.slice(Co.from,Co.toB)==Za+Za&&Co.toB--,De={from:Qn+Co.from,to:Qn+Co.toA,insert:r.Text.of(Q.text.slice(Co.from,Co.toB).split(Za))})}else at&&(!Ut.hasFocus&&Ut.state.facet(wt)||at.main.eq(Dt))&&(at=null);if(!De&&!at)return!1;if(!De&&Q.typeOver&&!Dt.empty&&at&&at.main.empty?De={from:Dt.from,to:Dt.to,insert:Ut.state.doc.slice(Dt.from,Dt.to)}:De&&De.from>=Dt.from&&De.to<=Dt.to&&(De.from!=Dt.from||De.to!=Dt.to)&&Dt.to-Dt.from-(De.to-De.from)<=4?De={from:Dt.from,to:Dt.to,insert:Ut.state.doc.slice(Dt.from,De.from).append(De.insert).append(Ut.state.doc.slice(De.to,Dt.to))}:(he.mac||he.android)&&De&&De.from==De.to&&De.from==Dt.head-1&&/^\. ?$/.test(De.insert.toString())&&Ut.contentDOM.getAttribute("autocorrect")=="off"?(at&&De.insert.length==2&&(at=r.EditorSelection.single(at.main.anchor-1,at.main.head-1)),De={from:Dt.from,to:Dt.to,insert:r.Text.of([" "])}):he.chrome&&De&&De.from==De.to&&De.from==Dt.head&&De.insert.toString()==`
 `&&Ut.lineWrapping&&(at&&(at=r.EditorSelection.single(at.main.anchor-1,at.main.head-1)),De={from:Dt.from,to:Dt.to,insert:r.Text.of([" "])}),De)return Vr(Ut,De,at,zt);if(at&&!at.main.eq(Dt)){let Qn=!1,Cr="select";return Ut.inputState.lastSelectionTime>Date.now()-50&&(Ut.inputState.lastSelectionOrigin=="select"&&(Qn=!0),Cr=Ut.inputState.lastSelectionOrigin),Ut.dispatch({selection:at,scrollIntoView:Qn,userEvent:Cr}),!0}else return!1}function Vr(Ut,Q,De,at=-1){if(he.ios&&Ut.inputState.flushIOSKey(Q))return!0;let Dt=Ut.state.selection.main;if(he.android&&(Q.to==Dt.to&&(Q.from==Dt.from||Q.from==Dt.from-1&&Ut.state.sliceDoc(Q.from,Dt.from)==" ")&&Q.insert.length==1&&Q.insert.lines==2&&m(Ut.contentDOM,"Enter",13)||(Q.from==Dt.from-1&&Q.to==Dt.to&&Q.insert.length==0||at==8&&Q.insert.length<Q.to-Q.from&&Q.to>Dt.head)&&m(Ut.contentDOM,"Backspace",8)||Q.from==Dt.from&&Q.to==Dt.to+1&&Q.insert.length==0&&m(Ut.contentDOM,"Delete",46)))return!0;let zt=Q.insert.toString();Ut.inputState.composing>=0&&Ut.inputState.composing++;let Qn,Cr=()=>Qn||(Qn=Qr(Ut,Q,De));return Ut.state.facet(qt).some(wr=>wr(Ut,Q.from,Q.to,zt,Cr))||Ut.dispatch(Cr()),!0}function Qr(Ut,Q,De){let at,Dt=Ut.state,zt=Dt.selection.main;if(Q.from>=zt.from&&Q.to<=zt.to&&Q.to-Q.from>=(zt.to-zt.from)/3&&(!De||De.main.empty&&De.main.from==Q.from+Q.insert.length)&&Ut.inputState.composing<0){let Cr=zt.from<Q.from?Dt.sliceDoc(zt.from,Q.from):"",wr=zt.to>Q.to?Dt.sliceDoc(Q.to,zt.to):"";at=Dt.replaceSelection(Ut.state.toText(Cr+Q.insert.sliceString(0,void 0,Ut.state.lineBreak)+wr))}else{let Cr=Dt.changes(Q),wr=De&&De.main.to<=Cr.newLength?De.main:void 0;if(Dt.selection.ranges.length>1&&Ut.inputState.composing>=0&&Q.to<=zt.to&&Q.to>=zt.to-10){let No=Ut.state.sliceDoc(Q.from,Q.to),Co,Ro=De&&ar(Ut,De.main.head);if(Ro){let Ca=Q.insert.length-(Q.to-Q.from);Co={from:Ro.from,to:Ro.to-Ca}}else Co=Ut.state.doc.lineAt(zt.head);let Qo=zt.to-Q.to,ka=zt.to-zt.from;at=Dt.changeByRange(Ca=>{if(Ca.from==zt.from&&Ca.to==zt.to)return{changes:Cr,range:wr||Ca.map(Cr)};let ls=Ca.to-Qo,vs=ls-No.length;if(Ca.to-Ca.from!=ka||Ut.state.sliceDoc(vs,ls)!=No||Ca.to>=Co.from&&Ca.from<=Co.to)return{range:Ca};let Es=Dt.changes({from:vs,to:ls,insert:Q.insert}),fi=Ca.to-zt.to;return{changes:Es,range:wr?r.EditorSelection.range(Math.max(0,wr.anchor+fi),Math.max(0,wr.head+fi)):Ca.map(Es)}})}else at={changes:Cr,selection:wr&&Dt.selection.replaceRange(wr)}}let Qn="input.type";return(Ut.composing||Ut.inputState.compositionPendingChange&&Ut.inputState.compositionEndedAt>Date.now()-50)&&(Ut.inputState.compositionPendingChange=!1,Qn+=".compose",Ut.inputState.compositionFirstChange&&(Qn+=".start",Ut.inputState.compositionFirstChange=!1)),Dt.update(at,{userEvent:Qn,scrollIntoView:!0})}function To(Ut,Q,De,at){let Dt=Math.min(Ut.length,Q.length),zt=0;for(;zt<Dt&&Ut.charCodeAt(zt)==Q.charCodeAt(zt);)zt++;if(zt==Dt&&Ut.length==Q.length)return null;let Qn=Ut.length,Cr=Q.length;for(;Qn>0&&Cr>0&&Ut.charCodeAt(Qn-1)==Q.charCodeAt(Cr-1);)Qn--,Cr--;if(at=="end"){let wr=Math.max(0,zt-Math.min(Qn,Cr));De-=Qn+wr-zt}if(Qn<zt&&Ut.length<Q.length){let wr=De<=zt&&De>=Qn?zt-De:0;zt-=wr,Cr=zt+(Cr-Qn),Qn=zt}else if(Cr<zt){let wr=De<=zt&&De>=Cr?zt-De:0;zt-=wr,Qn=zt+(Qn-Cr),Cr=zt}return{from:zt,toA:Qn,toB:Cr}}function xr(Ut){let Q=[];if(Ut.root.activeElement!=Ut.contentDOM)return Q;let{anchorNode:De,anchorOffset:at,focusNode:Dt,focusOffset:zt}=Ut.observer.selectionRange;return De&&(Q.push(new ns(De,at)),(Dt!=De||zt!=at)&&Q.push(new ns(Dt,zt))),Q}function uo(Ut,Q){if(Ut.length==0)return null;let De=Ut[0].pos,at=Ut.length==2?Ut[1].pos:De;return De>-1&&at>-1?r.EditorSelection.single(De+Q,at+Q):null}class Mo{setSelectionOrigin(Q){this.lastSelectionOrigin=Q,this.lastSelectionTime=Date.now()}constructor(Q){this.view=Q,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=Q.hasFocus,he.safari&&Q.contentDOM.addEventListener("input",()=>null),he.gecko&&Zi(Q.contentDOM.ownerDocument)}handleEvent(Q){!ds(this.view,Q)||this.ignoreDuringComposition(Q)||Q.type=="keydown"&&this.keydown(Q)||this.runHandlers(Q.type,Q)}runHandlers(Q,De){let at=this.handlers[Q];if(at){for(let Dt of at.observers)Dt(this.view,De);for(let Dt of at.handlers){if(De.defaultPrevented)break;if(Dt(this.view,De)){De.preventDefault();break}}}}ensureHandlers(Q){let De=ea(Q),at=this.handlers,Dt=this.view.contentDOM;for(let zt in De)if(zt!="scroll"){let Qn=!De[zt].handlers.length,Cr=at[zt];Cr&&Qn!=!Cr.handlers.length&&(Dt.removeEventListener(zt,this.handleEvent),Cr=null),Cr||Dt.addEventListener(zt,this.handleEvent,{passive:Qn})}for(let zt in at)zt!="scroll"&&!De[zt]&&Dt.removeEventListener(zt,this.handleEvent);this.handlers=De}keydown(Q){if(this.lastKeyCode=Q.keyCode,this.lastKeyTime=Date.now(),Q.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&Q.keyCode!=27&&Lr.indexOf(Q.keyCode)<0&&(this.tabFocusMode=-1),he.android&&he.chrome&&!Q.synthetic&&(Q.keyCode==13||Q.keyCode==8))return this.view.observer.delayAndroidKey(Q.key,Q.keyCode),!0;let De;return he.ios&&!Q.synthetic&&!Q.altKey&&!Q.metaKey&&((De=ha.find(at=>at.keyCode==Q.keyCode))&&!Q.ctrlKey||yr.indexOf(Q.key)>-1&&Q.ctrlKey&&!Q.shiftKey)?(this.pendingIOSKey=De||Q,setTimeout(()=>this.flushIOSKey(),250),!0):(Q.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(Q){let De=this.pendingIOSKey;return!De||De.key=="Enter"&&Q&&Q.from<Q.to&&/^\S+$/.test(Q.insert.toString())?!1:(this.pendingIOSKey=void 0,m(this.view.contentDOM,De.key,De.keyCode,De instanceof KeyboardEvent?De:void 0))}ignoreDuringComposition(Q){return/^key/.test(Q.type)?this.composing>0?!0:he.safari&&!he.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(Q){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=Q}update(Q){this.view.observer.update(Q),this.mouseSelection&&this.mouseSelection.update(Q),this.draggedContent&&Q.docChanged&&(this.draggedContent=this.draggedContent.map(Q.changes)),Q.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function go(Ut,Q){return(De,at)=>{try{return Q.call(Ut,at,De)}catch(Dt){qe(De.state,Dt)}}}function ea(Ut){let Q=Object.create(null);function De(at){return Q[at]||(Q[at]={observers:[],handlers:[]})}for(let at of Ut){let Dt=at.spec;if(Dt&&Dt.domEventHandlers)for(let zt in Dt.domEventHandlers){let Qn=Dt.domEventHandlers[zt];Qn&&De(zt).handlers.push(go(at.value,Qn))}if(Dt&&Dt.domEventObservers)for(let zt in Dt.domEventObservers){let Qn=Dt.domEventObservers[zt];Qn&&De(zt).observers.push(go(at.value,Qn))}}for(let at in us)De(at).handlers.push(us[at]);for(let at in ys)De(at).observers.push(ys[at]);return Q}const ha=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],yr="dthko",Lr=[16,17,18,20,91,92,224,225],ao=6;function ho(Ut){return Math.max(0,Ut)*.7+8}function Lo(Ut,Q){return Math.max(Math.abs(Ut.clientX-Q.clientX),Math.abs(Ut.clientY-Q.clientY))}class Yo{constructor(Q,De,at,Dt){this.view=Q,this.startEvent=De,this.style=at,this.mustSelect=Dt,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=De,this.scrollParents=C(Q.contentDOM),this.atoms=Q.state.facet(Pr).map(Qn=>Qn(Q));let zt=Q.contentDOM.ownerDocument;zt.addEventListener("mousemove",this.move=this.move.bind(this)),zt.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=De.shiftKey,this.multiple=Q.state.facet(r.EditorState.allowMultipleSelections)&&jo(Q,De),this.dragging=Ua(Q,De)&&Vs(De)==1?null:!1}start(Q){this.dragging===!1&&this.select(Q)}move(Q){if(Q.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&Lo(this.startEvent,Q)<10)return;this.select(this.lastEvent=Q);let De=0,at=0,Dt=0,zt=0,Qn=this.view.win.innerWidth,Cr=this.view.win.innerHeight;this.scrollParents.x&&({left:Dt,right:Qn}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:zt,bottom:Cr}=this.scrollParents.y.getBoundingClientRect());let wr=vr(this.view);Q.clientX-wr.left<=Dt+ao?De=-ho(Dt-Q.clientX):Q.clientX+wr.right>=Qn-ao&&(De=ho(Q.clientX-Qn)),Q.clientY-wr.top<=zt+ao?at=-ho(zt-Q.clientY):Q.clientY+wr.bottom>=Cr-ao&&(at=ho(Q.clientY-Cr)),this.setScrollSpeed(De,at)}up(Q){this.dragging==null&&this.select(this.lastEvent),this.dragging||Q.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let Q=this.view.contentDOM.ownerDocument;Q.removeEventListener("mousemove",this.move),Q.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(Q,De){this.scrollSpeed={x:Q,y:De},Q||De?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:Q,y:De}=this.scrollSpeed;Q&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=Q,Q=0),De&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=De,De=0),(Q||De)&&this.view.win.scrollBy(Q,De),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(Q){let De=null;for(let at=0;at<Q.ranges.length;at++){let Dt=Q.ranges[at],zt=null;if(Dt.empty){let Qn=Ia(this.atoms,Dt.from,0);Qn!=Dt.from&&(zt=r.EditorSelection.cursor(Qn,-1))}else{let Qn=Ia(this.atoms,Dt.from,-1),Cr=Ia(this.atoms,Dt.to,1);(Qn!=Dt.from||Cr!=Dt.to)&&(zt=r.EditorSelection.range(Dt.from==Dt.anchor?Qn:Cr,Dt.from==Dt.head?Qn:Cr))}zt&&(De||(De=Q.ranges.slice()),De[at]=zt)}return De?r.EditorSelection.create(De,Q.mainIndex):Q}select(Q){let{view:De}=this,at=this.skipAtoms(this.style.get(Q,this.extend,this.multiple));(this.mustSelect||!at.eq(De.state.selection,this.dragging===!1))&&this.view.dispatch({selection:at,userEvent:"select.pointer"}),this.mustSelect=!1}update(Q){Q.transactions.some(De=>De.isUserEvent("input.type"))?this.destroy():this.style.update(Q)&&setTimeout(()=>this.select(this.lastEvent),20)}}function jo(Ut,Q){let De=Ut.state.facet(Xt);return De.length?De[0](Q):he.mac?Q.metaKey:Q.ctrlKey}function Xo(Ut,Q){let De=Ut.state.facet(Je);return De.length?De[0](Q):he.mac?!Q.altKey:!Q.ctrlKey}function Ua(Ut,Q){let{main:De}=Ut.state.selection;if(De.empty)return!1;let at=a(Ut.root);if(!at||at.rangeCount==0)return!0;let Dt=at.getRangeAt(0).getClientRects();for(let zt=0;zt<Dt.length;zt++){let Qn=Dt[zt];if(Qn.left<=Q.clientX&&Qn.right>=Q.clientX&&Qn.top<=Q.clientY&&Qn.bottom>=Q.clientY)return!0}return!1}function ds(Ut,Q){if(!Q.bubbles)return!0;if(Q.defaultPrevented)return!1;for(let De=Q.target,at;De!=Ut.contentDOM;De=De.parentNode)if(!De||De.nodeType==11||(at=M.get(De))&&at.ignoreEvent(Q))return!1;return!0}const us=Object.create(null),ys=Object.create(null),Ys=he.ie&&he.ie_version<15||he.ios&&he.webkit_version<604;function Gs(Ut){let Q=Ut.dom.parentNode;if(!Q)return;let De=Q.appendChild(document.createElement("textarea"));De.style.cssText="position: fixed; left: -10000px; top: 10px",De.focus(),setTimeout(()=>{Ut.focus(),De.remove(),Ai(Ut,De.value)},50)}function xs(Ut,Q,De){for(let at of Ut.facet(Q))De=at(De,Ut);return De}function Ai(Ut,Q){Q=xs(Ut.state,Gt,Q);let{state:De}=Ut,at,Dt=1,zt=De.toText(Q),Qn=zt.lines==De.selection.ranges.length;if(Ni!=null&&De.selection.ranges.every(wr=>wr.empty)&&Ni==zt.toString()){let wr=-1;at=De.changeByRange(No=>{let Co=De.doc.lineAt(No.from);if(Co.from==wr)return{range:No};wr=Co.from;let Ro=De.toText((Qn?zt.line(Dt++).text:Q)+De.lineBreak);return{changes:{from:Co.from,insert:Ro},range:r.EditorSelection.cursor(No.from+Ro.length)}})}else Qn?at=De.changeByRange(wr=>{let No=zt.line(Dt++);return{changes:{from:wr.from,to:wr.to,insert:No.text},range:r.EditorSelection.cursor(wr.from+No.length)}}):at=De.replaceSelection(zt);Ut.dispatch(at,{userEvent:"input.paste",scrollIntoView:!0})}ys.scroll=Ut=>{Ut.inputState.lastScrollTop=Ut.scrollDOM.scrollTop,Ut.inputState.lastScrollLeft=Ut.scrollDOM.scrollLeft},us.keydown=(Ut,Q)=>(Ut.inputState.setSelectionOrigin("select"),Q.keyCode==27&&Ut.inputState.tabFocusMode!=0&&(Ut.inputState.tabFocusMode=Date.now()+2e3),!1),ys.touchstart=(Ut,Q)=>{Ut.inputState.lastTouchTime=Date.now(),Ut.inputState.setSelectionOrigin("select.pointer")},ys.touchmove=Ut=>{Ut.inputState.setSelectionOrigin("select.pointer")},us.mousedown=(Ut,Q)=>{if(Ut.observer.flush(),Ut.inputState.lastTouchTime>Date.now()-2e3)return!1;let De=null;for(let at of Ut.state.facet(At))if(De=at(Ut,Q),De)break;if(!De&&Q.button==0&&(De=_s(Ut,Q)),De){let at=!Ut.hasFocus;Ut.inputState.startMouseSelection(new Yo(Ut,Q,De,at)),at&&Ut.observer.ignore(()=>{T(Ut.contentDOM);let zt=Ut.root.activeElement;zt&&!zt.contains(Ut.contentDOM)&&zt.blur()});let Dt=Ut.inputState.mouseSelection;if(Dt)return Dt.start(Q),Dt.dragging===!1}return!1};function Pi(Ut,Q,De,at){if(at==1)return r.EditorSelection.cursor(Q,De);if(at==2)return Mt(Ut.state,Q,De);{let Dt=mt.find(Ut.docView,Q),zt=Ut.state.doc.lineAt(Dt?Dt.posAtEnd:Q),Qn=Dt?Dt.posAtStart:zt.from,Cr=Dt?Dt.posAtEnd:zt.to;return Cr<Ut.state.doc.length&&Cr==zt.to&&Cr++,r.EditorSelection.range(Qn,Cr)}}let ei=(Ut,Q,De)=>Q>=De.top&&Q<=De.bottom&&Ut>=De.left&&Ut<=De.right;function hi(Ut,Q,De,at){let Dt=mt.find(Ut.docView,Q);if(!Dt)return 1;let zt=Q-Dt.posAtStart;if(zt==0)return 1;if(zt==Dt.length)return-1;let Qn=Dt.coordsAt(zt,-1);if(Qn&&ei(De,at,Qn))return-1;let Cr=Dt.coordsAt(zt,1);return Cr&&ei(De,at,Cr)?1:Qn&&Qn.bottom>=at?-1:1}function ks(Ut,Q){let De=Ut.posAtCoords({x:Q.clientX,y:Q.clientY},!1);return{pos:De,bias:hi(Ut,De,Q.clientX,Q.clientY)}}const Ms=he.ie&&he.ie_version<=11;let bs=null,Hs=0,Os=0;function Vs(Ut){if(!Ms)return Ut.detail;let Q=bs,De=Os;return bs=Ut,Os=Date.now(),Hs=!Q||De>Date.now()-400&&Math.abs(Q.clientX-Ut.clientX)<2&&Math.abs(Q.clientY-Ut.clientY)<2?(Hs+1)%3:1}function _s(Ut,Q){let De=ks(Ut,Q),at=Vs(Q),Dt=Ut.state.selection;return{update(zt){zt.docChanged&&(De.pos=zt.changes.mapPos(De.pos),Dt=Dt.map(zt.changes))},get(zt,Qn,Cr){let wr=ks(Ut,zt),No,Co=Pi(Ut,wr.pos,wr.bias,at);if(De.pos!=wr.pos&&!Qn){let Ro=Pi(Ut,De.pos,De.bias,at),Qo=Math.min(Ro.from,Co.from),ka=Math.max(Ro.to,Co.to);Co=Qo<Co.from?r.EditorSelection.range(Qo,ka):r.EditorSelection.range(ka,Qo)}return Qn?Dt.replaceRange(Dt.main.extend(Co.from,Co.to)):Cr&&at==1&&Dt.ranges.length>1&&(No=fs(Dt,wr.pos))?No:Cr?Dt.addRange(Co):r.EditorSelection.create([Co])}}}function fs(Ut,Q){for(let De=0;De<Ut.ranges.length;De++){let{from:at,to:Dt}=Ut.ranges[De];if(at<=Q&&Dt>=Q)return r.EditorSelection.create(Ut.ranges.slice(0,De).concat(Ut.ranges.slice(De+1)),Ut.mainIndex==De?0:Ut.mainIndex-(Ut.mainIndex>De?1:0))}return null}us.dragstart=(Ut,Q)=>{let{selection:{main:De}}=Ut.state;if(Q.target.draggable){let Dt=Ut.docView.nearest(Q.target);if(Dt&&Dt.isWidget){let zt=Dt.posAtStart,Qn=zt+Dt.length;(zt>=De.to||Qn<=De.from)&&(De=r.EditorSelection.range(zt,Qn))}}let{inputState:at}=Ut;return at.mouseSelection&&(at.mouseSelection.dragging=!0),at.draggedContent=De,Q.dataTransfer&&(Q.dataTransfer.setData("Text",xs(Ut.state,un,Ut.state.sliceDoc(De.from,De.to))),Q.dataTransfer.effectAllowed="copyMove"),!1},us.dragend=Ut=>(Ut.inputState.draggedContent=null,!1);function Ss(Ut,Q,De,at){if(De=xs(Ut.state,Gt,De),!De)return;let Dt=Ut.posAtCoords({x:Q.clientX,y:Q.clientY},!1),{draggedContent:zt}=Ut.inputState,Qn=at&&zt&&Xo(Ut,Q)?{from:zt.from,to:zt.to}:null,Cr={from:Dt,insert:De},wr=Ut.state.changes(Qn?[Qn,Cr]:Cr);Ut.focus(),Ut.dispatch({changes:wr,selection:{anchor:wr.mapPos(Dt,-1),head:wr.mapPos(Dt,1)},userEvent:Qn?"move.drop":"input.drop"}),Ut.inputState.draggedContent=null}us.drop=(Ut,Q)=>{if(!Q.dataTransfer)return!1;if(Ut.state.readOnly)return!0;let De=Q.dataTransfer.files;if(De&&De.length){let at=Array(De.length),Dt=0,zt=()=>{++Dt==De.length&&Ss(Ut,Q,at.filter(Qn=>Qn!=null).join(Ut.state.lineBreak),!1)};for(let Qn=0;Qn<De.length;Qn++){let Cr=new FileReader;Cr.onerror=zt,Cr.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(Cr.result)||(at[Qn]=Cr.result),zt()},Cr.readAsText(De[Qn])}return!0}else{let at=Q.dataTransfer.getData("Text");if(at)return Ss(Ut,Q,at,!0),!0}return!1},us.paste=(Ut,Q)=>{if(Ut.state.readOnly)return!0;Ut.observer.flush();let De=Ys?null:Q.clipboardData;return De?(Ai(Ut,De.getData("text/plain")||De.getData("text/uri-list")),!0):(Gs(Ut),!1)};function hs(Ut,Q){let De=Ut.dom.parentNode;if(!De)return;let at=De.appendChild(document.createElement("textarea"));at.style.cssText="position: fixed; left: -10000px; top: 10px",at.value=Q,at.focus(),at.selectionEnd=Q.length,at.selectionStart=0,setTimeout(()=>{at.remove(),Ut.focus()},50)}function li(Ut){let Q=[],De=[],at=!1;for(let Dt of Ut.selection.ranges)Dt.empty||(Q.push(Ut.sliceDoc(Dt.from,Dt.to)),De.push(Dt));if(!Q.length){let Dt=-1;for(let{from:zt}of Ut.selection.ranges){let Qn=Ut.doc.lineAt(zt);Qn.number>Dt&&(Q.push(Qn.text),De.push({from:Qn.from,to:Math.min(Ut.doc.length,Qn.to+1)})),Dt=Qn.number}at=!0}return{text:xs(Ut,un,Q.join(Ut.lineBreak)),ranges:De,linewise:at}}let Ni=null;us.copy=us.cut=(Ut,Q)=>{let{text:De,ranges:at,linewise:Dt}=li(Ut.state);if(!De&&!Dt)return!1;Ni=Dt?De:null,Q.type=="cut"&&!Ut.state.readOnly&&Ut.dispatch({changes:at,scrollIntoView:!0,userEvent:"delete.cut"});let zt=Ys?null:Q.clipboardData;return zt?(zt.clearData(),zt.setData("text/plain",De),!0):(hs(Ut,De),!1)};const Ji=r.Annotation.define();function wi(Ut,Q){let De=[];for(let at of Ut.facet(Te)){let Dt=at(Ut,Q);Dt&&De.push(Dt)}return De?Ut.update({effects:De,annotations:Ji.of(!0)}):null}function vi(Ut){setTimeout(()=>{let Q=Ut.hasFocus;if(Q!=Ut.inputState.notifiedFocused){let De=wi(Ut.state,Q);De?Ut.dispatch(De):Ut.update([])}},10)}ys.focus=Ut=>{Ut.inputState.lastFocusTime=Date.now(),!Ut.scrollDOM.scrollTop&&(Ut.inputState.lastScrollTop||Ut.inputState.lastScrollLeft)&&(Ut.scrollDOM.scrollTop=Ut.inputState.lastScrollTop,Ut.scrollDOM.scrollLeft=Ut.inputState.lastScrollLeft),vi(Ut)},ys.blur=Ut=>{Ut.observer.clearSelectionRange(),vi(Ut)},ys.compositionstart=ys.compositionupdate=Ut=>{Ut.observer.editContext||(Ut.inputState.compositionFirstChange==null&&(Ut.inputState.compositionFirstChange=!0),Ut.inputState.composing<0&&(Ut.inputState.composing=0))},ys.compositionend=Ut=>{Ut.observer.editContext||(Ut.inputState.composing=-1,Ut.inputState.compositionEndedAt=Date.now(),Ut.inputState.compositionPendingKey=!0,Ut.inputState.compositionPendingChange=Ut.observer.pendingRecords().length>0,Ut.inputState.compositionFirstChange=null,he.chrome&&he.android?Ut.observer.flushSoon():Ut.inputState.compositionPendingChange?Promise.resolve().then(()=>Ut.observer.flush()):setTimeout(()=>{Ut.inputState.composing<0&&Ut.docView.hasComposition&&Ut.update([])},50))},ys.contextmenu=Ut=>{Ut.inputState.lastContextMenu=Date.now()},us.beforeinput=(Ut,Q)=>{var De,at;if(Q.inputType=="insertReplacementText"&&Ut.observer.editContext){let zt=(De=Q.dataTransfer)===null||De===void 0?void 0:De.getData("text/plain"),Qn=Q.getTargetRanges();if(zt&&Qn.length){let Cr=Qn[0],wr=Ut.posAtDOM(Cr.startContainer,Cr.startOffset),No=Ut.posAtDOM(Cr.endContainer,Cr.endOffset);return Vr(Ut,{from:wr,to:No,insert:Ut.state.toText(zt)},null),!0}}let Dt;if(he.chrome&&he.android&&(Dt=ha.find(zt=>zt.inputType==Q.inputType))&&(Ut.observer.delayAndroidKey(Dt.key,Dt.keyCode),Dt.key=="Backspace"||Dt.key=="Delete")){let zt=((at=window.visualViewport)===null||at===void 0?void 0:at.height)||0;setTimeout(()=>{var Qn;(((Qn=window.visualViewport)===null||Qn===void 0?void 0:Qn.height)||0)>zt+10&&Ut.hasFocus&&(Ut.contentDOM.blur(),Ut.focus())},100)}return he.ios&&Q.inputType=="deleteContentForward"&&Ut.observer.flushSoon(),he.safari&&Q.inputType=="insertText"&&Ut.inputState.composing>=0&&setTimeout(()=>ys.compositionend(Ut,Q),20),!1};const sl=new Set;function Zi(Ut){sl.has(Ut)||(sl.add(Ut),Ut.addEventListener("copy",()=>{}),Ut.addEventListener("cut",()=>{}))}const Zs=["pre-wrap","normal","pre-line","break-spaces"];let Bs=!1;function ti(){Bs=!1}class gi{constructor(Q){this.lineWrapping=Q,this.doc=r.Text.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(Q,De){let at=this.doc.lineAt(De).number-this.doc.lineAt(Q).number+1;return this.lineWrapping&&(at+=Math.max(0,Math.ceil((De-Q-at*this.lineLength*.5)/this.lineLength))),this.lineHeight*at}heightForLine(Q){return this.lineWrapping?(1+Math.max(0,Math.ceil((Q-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(Q){return this.doc=Q,this}mustRefreshForWrapping(Q){return Zs.indexOf(Q)>-1!=this.lineWrapping}mustRefreshForHeights(Q){let De=!1;for(let at=0;at<Q.length;at++){let Dt=Q[at];Dt<0?at++:this.heightSamples[Math.floor(Dt*10)]||(De=!0,this.heightSamples[Math.floor(Dt*10)]=!0)}return De}refresh(Q,De,at,Dt,zt,Qn){let Cr=Zs.indexOf(Q)>-1,wr=Math.round(De)!=Math.round(this.lineHeight)||this.lineWrapping!=Cr;if(this.lineWrapping=Cr,this.lineHeight=De,this.charWidth=at,this.textHeight=Dt,this.lineLength=zt,wr){this.heightSamples={};for(let No=0;No<Qn.length;No++){let Co=Qn[No];Co<0?No++:this.heightSamples[Math.floor(Co*10)]=!0}}return wr}}class yi{constructor(Q,De){this.from=Q,this.heights=De,this.index=0}get more(){return this.index<this.heights.length}}class ki{constructor(Q,De,at,Dt,zt){this.from=Q,this.length=De,this.top=at,this.height=Dt,this._content=zt}get type(){return typeof this._content=="number"?Ne.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof Ot?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(Q){let De=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(Q._content)?Q._content:[Q]);return new ki(this.from,this.length+Q.length,this.top,this.height+Q.height,De)}}var bi=function(Ut){return Ut[Ut.ByPos=0]="ByPos",Ut[Ut.ByHeight=1]="ByHeight",Ut[Ut.ByPosNoHeight=2]="ByPosNoHeight",Ut}(bi||(bi={}));const nl=.001;class Si{constructor(Q,De,at=2){this.length=Q,this.height=De,this.flags=at}get outdated(){return(this.flags&2)>0}set outdated(Q){this.flags=(Q?2:0)|this.flags&-3}setHeight(Q){this.height!=Q&&(Math.abs(this.height-Q)>nl&&(Bs=!0),this.height=Q)}replace(Q,De,at){return Si.of(at)}decomposeLeft(Q,De){De.push(this)}decomposeRight(Q,De){De.push(this)}applyChanges(Q,De,at,Dt){let zt=this,Qn=at.doc;for(let Cr=Dt.length-1;Cr>=0;Cr--){let{fromA:wr,toA:No,fromB:Co,toB:Ro}=Dt[Cr],Qo=zt.lineAt(wr,bi.ByPosNoHeight,at.setDoc(De),0,0),ka=Qo.to>=No?Qo:zt.lineAt(No,bi.ByPosNoHeight,at,0,0);for(Ro+=ka.to-No,No=ka.to;Cr>0&&Qo.from<=Dt[Cr-1].toA;)wr=Dt[Cr-1].fromA,Co=Dt[Cr-1].fromB,Cr--,wr<Qo.from&&(Qo=zt.lineAt(wr,bi.ByPosNoHeight,at,0,0));Co+=Qo.from-wr,wr=Qo.from;let Ca=Uo.build(at.setDoc(Qn),Q,Co,Ro);zt=ta(zt,zt.replace(wr,No,Ca))}return zt.updateHeight(at,0)}static empty(){return new Jt(0,0)}static of(Q){if(Q.length==1)return Q[0];let De=0,at=Q.length,Dt=0,zt=0;for(;;)if(De==at)if(Dt>zt*2){let Cr=Q[De-1];Cr.break?Q.splice(--De,1,Cr.left,null,Cr.right):Q.splice(--De,1,Cr.left,Cr.right),at+=1+Cr.break,Dt-=Cr.size}else if(zt>Dt*2){let Cr=Q[at];Cr.break?Q.splice(at,1,Cr.left,null,Cr.right):Q.splice(at,1,Cr.left,Cr.right),at+=2+Cr.break,zt-=Cr.size}else break;else if(Dt<zt){let Cr=Q[De++];Cr&&(Dt+=Cr.size)}else{let Cr=Q[--at];Cr&&(zt+=Cr.size)}let Qn=0;return Q[De-1]==null?(Qn=1,De--):Q[De]==null&&(Qn=1,at++),new mr(Si.of(Q.slice(0,De)),Qn,Si.of(Q.slice(at)))}}function ta(Ut,Q){return Ut==Q?Ut:(Ut.constructor!=Q.constructor&&(Bs=!0),Q)}Si.prototype.size=1;class ke extends Si{constructor(Q,De,at){super(Q,De),this.deco=at}blockAt(Q,De,at,Dt){return new ki(Dt,this.length,at,this.height,this.deco||0)}lineAt(Q,De,at,Dt,zt){return this.blockAt(0,at,Dt,zt)}forEachLine(Q,De,at,Dt,zt,Qn){Q<=zt+this.length&&De>=zt&&Qn(this.blockAt(0,at,Dt,zt))}updateHeight(Q,De=0,at=!1,Dt){return Dt&&Dt.from<=De&&Dt.more&&this.setHeight(Dt.heights[Dt.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Jt extends ke{constructor(Q,De){super(Q,De,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(Q,De,at,Dt){return new ki(Dt,this.length,at,this.height,this.breaks)}replace(Q,De,at){let Dt=at[0];return at.length==1&&(Dt instanceof Jt||Dt instanceof Fn&&Dt.flags&4)&&Math.abs(this.length-Dt.length)<10?(Dt instanceof Fn?Dt=new Jt(Dt.length,this.height):Dt.height=this.height,this.outdated||(Dt.outdated=!1),Dt):Si.of(at)}updateHeight(Q,De=0,at=!1,Dt){return Dt&&Dt.from<=De&&Dt.more?this.setHeight(Dt.heights[Dt.index++]):(at||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,Q.heightForLine(this.length-this.collapsed))+this.breaks*Q.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Fn extends Si{constructor(Q){super(Q,0)}heightMetrics(Q,De){let at=Q.doc.lineAt(De).number,Dt=Q.doc.lineAt(De+this.length).number,zt=Dt-at+1,Qn,Cr=0;if(Q.lineWrapping){let wr=Math.min(this.height,Q.lineHeight*zt);Qn=wr/zt,this.length>zt+1&&(Cr=(this.height-wr)/(this.length-zt-1))}else Qn=this.height/zt;return{firstLine:at,lastLine:Dt,perLine:Qn,perChar:Cr}}blockAt(Q,De,at,Dt){let{firstLine:zt,lastLine:Qn,perLine:Cr,perChar:wr}=this.heightMetrics(De,Dt);if(De.lineWrapping){let No=Dt+(Q<De.lineHeight?0:Math.round(Math.max(0,Math.min(1,(Q-at)/this.height))*this.length)),Co=De.doc.lineAt(No),Ro=Cr+Co.length*wr,Qo=Math.max(at,Q-Ro/2);return new ki(Co.from,Co.length,Qo,Ro,0)}else{let No=Math.max(0,Math.min(Qn-zt,Math.floor((Q-at)/Cr))),{from:Co,length:Ro}=De.doc.line(zt+No);return new ki(Co,Ro,at+Cr*No,Cr,0)}}lineAt(Q,De,at,Dt,zt){if(De==bi.ByHeight)return this.blockAt(Q,at,Dt,zt);if(De==bi.ByPosNoHeight){let{from:ka,to:Ca}=at.doc.lineAt(Q);return new ki(ka,Ca-ka,0,0,0)}let{firstLine:Qn,perLine:Cr,perChar:wr}=this.heightMetrics(at,zt),No=at.doc.lineAt(Q),Co=Cr+No.length*wr,Ro=No.number-Qn,Qo=Dt+Cr*Ro+wr*(No.from-zt-Ro);return new ki(No.from,No.length,Math.max(Dt,Math.min(Qo,Dt+this.height-Co)),Co,0)}forEachLine(Q,De,at,Dt,zt,Qn){Q=Math.max(Q,zt),De=Math.min(De,zt+this.length);let{firstLine:Cr,perLine:wr,perChar:No}=this.heightMetrics(at,zt);for(let Co=Q,Ro=Dt;Co<=De;){let Qo=at.doc.lineAt(Co);if(Co==Q){let Ca=Qo.number-Cr;Ro+=wr*Ca+No*(Q-zt-Ca)}let ka=wr+No*Qo.length;Qn(new ki(Qo.from,Qo.length,Ro,ka,0)),Ro+=ka,Co=Qo.to+1}}replace(Q,De,at){let Dt=this.length-De;if(Dt>0){let zt=at[at.length-1];zt instanceof Fn?at[at.length-1]=new Fn(zt.length+Dt):at.push(null,new Fn(Dt-1))}if(Q>0){let zt=at[0];zt instanceof Fn?at[0]=new Fn(Q+zt.length):at.unshift(new Fn(Q-1),null)}return Si.of(at)}decomposeLeft(Q,De){De.push(new Fn(Q-1),null)}decomposeRight(Q,De){De.push(null,new Fn(this.length-Q-1))}updateHeight(Q,De=0,at=!1,Dt){let zt=De+this.length;if(Dt&&Dt.from<=De+this.length&&Dt.more){let Qn=[],Cr=Math.max(De,Dt.from),wr=-1;for(Dt.from>De&&Qn.push(new Fn(Dt.from-De-1).updateHeight(Q,De));Cr<=zt&&Dt.more;){let Co=Q.doc.lineAt(Cr).length;Qn.length&&Qn.push(null);let Ro=Dt.heights[Dt.index++];wr==-1?wr=Ro:Math.abs(Ro-wr)>=nl&&(wr=-2);let Qo=new Jt(Co,Ro);Qo.outdated=!1,Qn.push(Qo),Cr+=Co+1}Cr<=zt&&Qn.push(null,new Fn(zt-Cr).updateHeight(Q,Cr));let No=Si.of(Qn);return(wr<0||Math.abs(No.height-this.height)>=nl||Math.abs(wr-this.heightMetrics(Q,De).perLine)>=nl)&&(Bs=!0),ta(this,No)}else(at||this.outdated)&&(this.setHeight(Q.heightForGap(De,De+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class mr extends Si{constructor(Q,De,at){super(Q.length+De+at.length,Q.height+at.height,De|(Q.outdated||at.outdated?2:0)),this.left=Q,this.right=at,this.size=Q.size+at.size}get break(){return this.flags&1}blockAt(Q,De,at,Dt){let zt=at+this.left.height;return Q<zt?this.left.blockAt(Q,De,at,Dt):this.right.blockAt(Q,De,zt,Dt+this.left.length+this.break)}lineAt(Q,De,at,Dt,zt){let Qn=Dt+this.left.height,Cr=zt+this.left.length+this.break,wr=De==bi.ByHeight?Q<Qn:Q<Cr,No=wr?this.left.lineAt(Q,De,at,Dt,zt):this.right.lineAt(Q,De,at,Qn,Cr);if(this.break||(wr?No.to<Cr:No.from>Cr))return No;let Co=De==bi.ByPosNoHeight?bi.ByPosNoHeight:bi.ByPos;return wr?No.join(this.right.lineAt(Cr,Co,at,Qn,Cr)):this.left.lineAt(Cr,Co,at,Dt,zt).join(No)}forEachLine(Q,De,at,Dt,zt,Qn){let Cr=Dt+this.left.height,wr=zt+this.left.length+this.break;if(this.break)Q<wr&&this.left.forEachLine(Q,De,at,Dt,zt,Qn),De>=wr&&this.right.forEachLine(Q,De,at,Cr,wr,Qn);else{let No=this.lineAt(wr,bi.ByPos,at,Dt,zt);Q<No.from&&this.left.forEachLine(Q,No.from-1,at,Dt,zt,Qn),No.to>=Q&&No.from<=De&&Qn(No),De>No.to&&this.right.forEachLine(No.to+1,De,at,Cr,wr,Qn)}}replace(Q,De,at){let Dt=this.left.length+this.break;if(De<Dt)return this.balanced(this.left.replace(Q,De,at),this.right);if(Q>this.left.length)return this.balanced(this.left,this.right.replace(Q-Dt,De-Dt,at));let zt=[];Q>0&&this.decomposeLeft(Q,zt);let Qn=zt.length;for(let Cr of at)zt.push(Cr);if(Q>0&&Tr(zt,Qn-1),De<this.length){let Cr=zt.length;this.decomposeRight(De,zt),Tr(zt,Cr)}return Si.of(zt)}decomposeLeft(Q,De){let at=this.left.length;if(Q<=at)return this.left.decomposeLeft(Q,De);De.push(this.left),this.break&&(at++,Q>=at&&De.push(null)),Q>at&&this.right.decomposeLeft(Q-at,De)}decomposeRight(Q,De){let at=this.left.length,Dt=at+this.break;if(Q>=Dt)return this.right.decomposeRight(Q-Dt,De);Q<at&&this.left.decomposeRight(Q,De),this.break&&Q<Dt&&De.push(null),De.push(this.right)}balanced(Q,De){return Q.size>2*De.size||De.size>2*Q.size?Si.of(this.break?[Q,null,De]:[Q,De]):(this.left=ta(this.left,Q),this.right=ta(this.right,De),this.setHeight(Q.height+De.height),this.outdated=Q.outdated||De.outdated,this.size=Q.size+De.size,this.length=Q.length+this.break+De.length,this)}updateHeight(Q,De=0,at=!1,Dt){let{left:zt,right:Qn}=this,Cr=De+zt.length+this.break,wr=null;return Dt&&Dt.from<=De+zt.length&&Dt.more?wr=zt=zt.updateHeight(Q,De,at,Dt):zt.updateHeight(Q,De,at),Dt&&Dt.from<=Cr+Qn.length&&Dt.more?wr=Qn=Qn.updateHeight(Q,Cr,at,Dt):Qn.updateHeight(Q,Cr,at),wr?this.balanced(zt,Qn):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Tr(Ut,Q){let De,at;Ut[Q]==null&&(De=Ut[Q-1])instanceof Fn&&(at=Ut[Q+1])instanceof Fn&&Ut.splice(Q-1,3,new Fn(De.length+1+at.length))}const Oo=5;class Uo{constructor(Q,De){this.pos=Q,this.oracle=De,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=Q}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(Q,De){if(this.lineStart>-1){let at=Math.min(De,this.lineEnd),Dt=this.nodes[this.nodes.length-1];Dt instanceof Jt?Dt.length+=at-this.pos:(at>this.pos||!this.isCovered)&&this.nodes.push(new Jt(at-this.pos,-1)),this.writtenTo=at,De>at&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=De}point(Q,De,at){if(Q<De||at.heightRelevant){let Dt=at.widget?at.widget.estimatedHeight:0,zt=at.widget?at.widget.lineBreaks:0;Dt<0&&(Dt=this.oracle.lineHeight);let Qn=De-Q;at.block?this.addBlock(new ke(Qn,Dt,at)):(Qn||zt||Dt>=Oo)&&this.addLineDeco(Dt,zt,Qn)}else De>Q&&this.span(Q,De);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:Q,to:De}=this.oracle.doc.lineAt(this.pos);this.lineStart=Q,this.lineEnd=De,this.writtenTo<Q&&((this.writtenTo<Q-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,Q-1)),this.nodes.push(null)),this.pos>Q&&this.nodes.push(new Jt(this.pos-Q,-1)),this.writtenTo=this.pos}blankContent(Q,De){let at=new Fn(De-Q);return this.oracle.doc.lineAt(Q).to==De&&(at.flags|=4),at}ensureLine(){this.enterLine();let Q=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(Q instanceof Jt)return Q;let De=new Jt(0,-1);return this.nodes.push(De),De}addBlock(Q){this.enterLine();let De=Q.deco;De&&De.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(Q),this.writtenTo=this.pos=this.pos+Q.length,De&&De.endSide>0&&(this.covering=Q)}addLineDeco(Q,De,at){let Dt=this.ensureLine();Dt.length+=at,Dt.collapsed+=at,Dt.widgetHeight=Math.max(Dt.widgetHeight,Q),Dt.breaks+=De,this.writtenTo=this.pos=this.pos+at}finish(Q){let De=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(De instanceof Jt)&&!this.isCovered?this.nodes.push(new Jt(0,-1)):(this.writtenTo<this.pos||De==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let at=Q;for(let Dt of this.nodes)Dt instanceof Jt&&Dt.updateHeight(this.oracle,at),at+=Dt?Dt.length:1;return this.nodes}static build(Q,De,at,Dt){let zt=new Uo(at,Q);return r.RangeSet.spans(De,at,Dt,zt,0),zt.finish(at)}}function gt(Ut,Q,De){let at=new it;return r.RangeSet.compare(Ut,Q,De,at,0),at.changes}class it{constructor(){this.changes=[]}compareRange(){}comparePoint(Q,De,at,Dt){(Q<De||at&&at.heightRelevant||Dt&&Dt.heightRelevant)&&Bt(Q,De,this.changes,5)}}function Lt(Ut,Q){let De=Ut.getBoundingClientRect(),at=Ut.ownerDocument,Dt=at.defaultView||window,zt=Math.max(0,De.left),Qn=Math.min(Dt.innerWidth,De.right),Cr=Math.max(0,De.top),wr=Math.min(Dt.innerHeight,De.bottom);for(let No=Ut.parentNode;No&&No!=at.body;)if(No.nodeType==1){let Co=No,Ro=window.getComputedStyle(Co);if((Co.scrollHeight>Co.clientHeight||Co.scrollWidth>Co.clientWidth)&&Ro.overflow!="visible"){let Qo=Co.getBoundingClientRect();zt=Math.max(zt,Qo.left),Qn=Math.min(Qn,Qo.right),Cr=Math.max(Cr,Qo.top),wr=Math.min(No==Ut.parentNode?Dt.innerHeight:wr,Qo.bottom)}No=Ro.position=="absolute"||Ro.position=="fixed"?Co.offsetParent:Co.parentNode}else if(No.nodeType==11)No=No.host;else break;return{left:zt-De.left,right:Math.max(zt,Qn)-De.left,top:Cr-(De.top+Q),bottom:Math.max(Cr,wr)-(De.top+Q)}}function $t(Ut,Q){let De=Ut.getBoundingClientRect();return{left:0,right:De.right-De.left,top:Q,bottom:De.bottom-(De.top+Q)}}class _n{constructor(Q,De,at,Dt){this.from=Q,this.to=De,this.size=at,this.displaySize=Dt}static same(Q,De){if(Q.length!=De.length)return!1;for(let at=0;at<Q.length;at++){let Dt=Q[at],zt=De[at];if(Dt.from!=zt.from||Dt.to!=zt.to||Dt.size!=zt.size)return!1}return!0}draw(Q,De){return Ce.replace({widget:new dn(this.displaySize*(De?Q.scaleY:Q.scaleX),De)}).range(this.from,this.to)}}class dn extends ht{constructor(Q,De){super(),this.size=Q,this.vertical=De}eq(Q){return Q.size==this.size&&Q.vertical==this.vertical}toDOM(){let Q=document.createElement("div");return this.vertical?Q.style.height=this.size+"px":(Q.style.width=this.size+"px",Q.style.height="2px",Q.style.display="inline-block"),Q}get estimatedHeight(){return this.vertical?this.size:-1}}class Jn{constructor(Q){this.state=Q,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!1,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=Na,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=vt.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let De=Q.facet(rr).some(at=>typeof at!="function"&&at.class=="cm-lineWrapping");this.heightOracle=new gi(De),this.stateDeco=Q.facet(Sr).filter(at=>typeof at!="function"),this.heightMap=Si.empty().applyChanges(this.stateDeco,r.Text.empty,this.heightOracle.setDoc(Q.doc),[new Dr(0,0,0,Q.doc.length)]);for(let at=0;at<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());at++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Ce.set(this.lineGaps.map(at=>at.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let Q=[this.viewport],{main:De}=this.state.selection;for(let at=0;at<=1;at++){let Dt=at?De.head:De.anchor;if(!Q.some(({from:zt,to:Qn})=>Dt>=zt&&Dt<=Qn)){let{from:zt,to:Qn}=this.lineBlockAt(Dt);Q.push(new Hn(zt,Qn))}}return this.viewports=Q.sort((at,Dt)=>at.from-Dt.from),this.updateScaler()}updateScaler(){let Q=this.scaler;return this.scaler=this.heightMap.height<=7e6?Na:new qa(this.heightOracle,this.heightMap,this.viewports),Q.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,Q=>{this.viewportLines.push(ms(Q,this.scaler))})}update(Q,De=null){this.state=Q.state;let at=this.stateDeco;this.stateDeco=this.state.facet(Sr).filter(Co=>typeof Co!="function");let Dt=Q.changedRanges,zt=Dr.extendWithRanges(Dt,gt(at,this.stateDeco,Q?Q.changes:r.ChangeSet.empty(this.state.doc.length))),Qn=this.heightMap.height,Cr=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);ti(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,Q.startState.doc,this.heightOracle.setDoc(this.state.doc),zt),(this.heightMap.height!=Qn||Bs)&&(Q.flags|=2),Cr?(this.scrollAnchorPos=Q.changes.mapPos(Cr.from,-1),this.scrollAnchorHeight=Cr.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let wr=zt.length?this.mapViewport(this.viewport,Q.changes):this.viewport;(De&&(De.range.head<wr.from||De.range.head>wr.to)||!this.viewportIsAppropriate(wr))&&(wr=this.getViewport(0,De));let No=wr.from!=this.viewport.from||wr.to!=this.viewport.to;this.viewport=wr,Q.flags|=this.updateForViewport(),(No||!Q.changes.empty||Q.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,Q.changes))),Q.flags|=this.computeVisibleRanges(),De&&(this.scrollTarget=De),!this.mustEnforceCursorAssoc&&Q.selectionSet&&Q.view.lineWrapping&&Q.state.selection.main.empty&&Q.state.selection.main.assoc&&!Q.state.facet(Dn)&&(this.mustEnforceCursorAssoc=!0)}measure(Q){let De=Q.contentDOM,at=window.getComputedStyle(De),Dt=this.heightOracle,zt=at.whiteSpace;this.defaultTextDirection=at.direction=="rtl"?vt.RTL:vt.LTR;let Qn=this.heightOracle.mustRefreshForWrapping(zt),Cr=De.getBoundingClientRect(),wr=Qn||this.mustMeasureContent||this.contentDOMHeight!=Cr.height;this.contentDOMHeight=Cr.height,this.mustMeasureContent=!1;let No=0,Co=0;if(Cr.width&&Cr.height){let{scaleX:Hi,scaleY:Qi}=O(De,Cr);(Hi>.005&&Math.abs(this.scaleX-Hi)>.005||Qi>.005&&Math.abs(this.scaleY-Qi)>.005)&&(this.scaleX=Hi,this.scaleY=Qi,No|=8,Qn=wr=!0)}let Ro=(parseInt(at.paddingTop)||0)*this.scaleY,Qo=(parseInt(at.paddingBottom)||0)*this.scaleY;(this.paddingTop!=Ro||this.paddingBottom!=Qo)&&(this.paddingTop=Ro,this.paddingBottom=Qo,No|=10),this.editorWidth!=Q.scrollDOM.clientWidth&&(Dt.lineWrapping&&(wr=!0),this.editorWidth=Q.scrollDOM.clientWidth,No|=8);let ka=Q.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=ka&&(this.scrollAnchorHeight=-1,this.scrollTop=ka),this.scrolledToBottom=W(Q.scrollDOM);let Ca=(this.printing?$t:Lt)(De,this.paddingTop),ls=Ca.top-this.pixelViewport.top,vs=Ca.bottom-this.pixelViewport.bottom;this.pixelViewport=Ca;let Es=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(Es!=this.inView&&(this.inView=Es,Es&&(wr=!0)),!this.inView&&!this.scrollTarget)return 0;let fi=Cr.width;if((this.contentDOMWidth!=fi||this.editorHeight!=Q.scrollDOM.clientHeight)&&(this.contentDOMWidth=Cr.width,this.editorHeight=Q.scrollDOM.clientHeight,No|=8),wr){let Hi=Q.docView.measureVisibleLineHeights(this.viewport);if(Dt.mustRefreshForHeights(Hi)&&(Qn=!0),Qn||Dt.lineWrapping&&Math.abs(fi-this.contentDOMWidth)>Dt.charWidth){let{lineHeight:Qi,charWidth:Li,textHeight:Gl}=Q.docView.measureTextSize();Qn=Qi>0&&Dt.refresh(zt,Qi,Li,Gl,fi/Li,Hi),Qn&&(Q.docView.minWidth=0,No|=8)}ls>0&&vs>0?Co=Math.max(ls,vs):ls<0&&vs<0&&(Co=Math.min(ls,vs)),ti();for(let Qi of this.viewports){let Li=Qi.from==this.viewport.from?Hi:Q.docView.measureVisibleLineHeights(Qi);this.heightMap=(Qn?Si.empty().applyChanges(this.stateDeco,r.Text.empty,this.heightOracle,[new Dr(0,0,0,Q.state.doc.length)]):this.heightMap).updateHeight(Dt,0,Qn,new yi(Qi.from,Li))}Bs&&(No|=2)}let Bo=!this.viewportIsAppropriate(this.viewport,Co)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return Bo&&(No&2&&(No|=this.updateScaler()),this.viewport=this.getViewport(Co,this.scrollTarget),No|=this.updateForViewport()),(No&2||Bo)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(Qn?[]:this.lineGaps,Q)),No|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,Q.docView.enforceCursorAssoc()),No}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(Q,De){let at=.5-Math.max(-.5,Math.min(.5,Q/1e3/2)),Dt=this.heightMap,zt=this.heightOracle,{visibleTop:Qn,visibleBottom:Cr}=this,wr=new Hn(Dt.lineAt(Qn-at*1e3,bi.ByHeight,zt,0,0).from,Dt.lineAt(Cr+(1-at)*1e3,bi.ByHeight,zt,0,0).to);if(De){let{head:No}=De.range;if(No<wr.from||No>wr.to){let Co=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),Ro=Dt.lineAt(No,bi.ByPos,zt,0,0),Qo;De.y=="center"?Qo=(Ro.top+Ro.bottom)/2-Co/2:De.y=="start"||De.y=="nearest"&&No<wr.from?Qo=Ro.top:Qo=Ro.bottom-Co,wr=new Hn(Dt.lineAt(Qo-1e3/2,bi.ByHeight,zt,0,0).from,Dt.lineAt(Qo+Co+1e3/2,bi.ByHeight,zt,0,0).to)}}return wr}mapViewport(Q,De){let at=De.mapPos(Q.from,-1),Dt=De.mapPos(Q.to,1);return new Hn(this.heightMap.lineAt(at,bi.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(Dt,bi.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:Q,to:De},at=0){if(!this.inView)return!0;let{top:Dt}=this.heightMap.lineAt(Q,bi.ByPos,this.heightOracle,0,0),{bottom:zt}=this.heightMap.lineAt(De,bi.ByPos,this.heightOracle,0,0),{visibleTop:Qn,visibleBottom:Cr}=this;return(Q==0||Dt<=Qn-Math.max(10,Math.min(-at,250)))&&(De==this.state.doc.length||zt>=Cr+Math.max(10,Math.min(at,250)))&&Dt>Qn-2*1e3&&zt<Cr+2*1e3}mapLineGaps(Q,De){if(!Q.length||De.empty)return Q;let at=[];for(let Dt of Q)De.touchesRange(Dt.from,Dt.to)||at.push(new _n(De.mapPos(Dt.from),De.mapPos(Dt.to),Dt.size,Dt.displaySize));return at}ensureLineGaps(Q,De){let at=this.heightOracle.lineWrapping,Dt=at?1e4:2e3,zt=Dt>>1,Qn=Dt<<1;if(this.defaultTextDirection!=vt.LTR&&!at)return[];let Cr=[],wr=(Co,Ro,Qo,ka)=>{if(Ro-Co<zt)return;let Ca=this.state.selection.main,ls=[Ca.from];Ca.empty||ls.push(Ca.to);for(let Es of ls)if(Es>Co&&Es<Ro){wr(Co,Es-10,Qo,ka),wr(Es+10,Ro,Qo,ka);return}let vs=Sa(Q,Es=>Es.from>=Qo.from&&Es.to<=Qo.to&&Math.abs(Es.from-Co)<zt&&Math.abs(Es.to-Ro)<zt&&!ls.some(fi=>Es.from<fi&&Es.to>fi));if(!vs){if(Ro<Qo.to&&De&&at&&De.visibleRanges.some(Bo=>Bo.from<=Ro&&Bo.to>=Ro)){let Bo=De.moveToLineBoundary(r.EditorSelection.cursor(Ro),!1,!0).head;Bo>Co&&(Ro=Bo)}let Es=this.gapSize(Qo,Co,Ro,ka),fi=at||Es<2e6?Es:2e6;vs=new _n(Co,Ro,Es,fi)}Cr.push(vs)},No=Co=>{if(Co.length<Qn||Co.type!=Ne.Text)return;let Ro=jr(Co.from,Co.to,this.stateDeco);if(Ro.total<Qn)return;let Qo=this.scrollTarget?this.scrollTarget.range.head:null,ka,Ca;if(at){let ls=Dt/this.heightOracle.lineLength*this.heightOracle.lineHeight,vs,Es;if(Qo!=null){let fi=ko(Ro,Qo),Bo=((this.visibleBottom-this.visibleTop)/2+ls)/Co.height;vs=fi-Bo,Es=fi+Bo}else vs=(this.visibleTop-Co.top-ls)/Co.height,Es=(this.visibleBottom-Co.top+ls)/Co.height;ka=wo(Ro,vs),Ca=wo(Ro,Es)}else{let ls=Ro.total*this.heightOracle.charWidth,vs=Dt*this.heightOracle.charWidth,Es=0;if(ls>2e6)for(let Li of Q)Li.from>=Co.from&&Li.from<Co.to&&Li.size!=Li.displaySize&&Li.from*this.heightOracle.charWidth+Es<this.pixelViewport.left&&(Es=Li.size-Li.displaySize);let fi=this.pixelViewport.left+Es,Bo=this.pixelViewport.right+Es,Hi,Qi;if(Qo!=null){let Li=ko(Ro,Qo),Gl=((Bo-fi)/2+vs)/ls;Hi=Li-Gl,Qi=Li+Gl}else Hi=(fi-vs)/ls,Qi=(Bo+vs)/ls;ka=wo(Ro,Hi),Ca=wo(Ro,Qi)}ka>Co.from&&wr(Co.from,ka,Co,Ro),Ca<Co.to&&wr(Ca,Co.to,Co,Ro)};for(let Co of this.viewportLines)Array.isArray(Co.type)?Co.type.forEach(No):No(Co);return Cr}gapSize(Q,De,at,Dt){let zt=ko(Dt,at)-ko(Dt,De);return this.heightOracle.lineWrapping?Q.height*zt:Dt.total*this.heightOracle.charWidth*zt}updateLineGaps(Q){_n.same(Q,this.lineGaps)||(this.lineGaps=Q,this.lineGapDeco=Ce.set(Q.map(De=>De.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let Q=this.stateDeco;this.lineGaps.length&&(Q=Q.concat(this.lineGapDeco));let De=[];r.RangeSet.spans(Q,this.viewport.from,this.viewport.to,{span(Dt,zt){De.push({from:Dt,to:zt})},point(){}},20);let at=De.length!=this.visibleRanges.length||this.visibleRanges.some((Dt,zt)=>Dt.from!=De[zt].from||Dt.to!=De[zt].to);return this.visibleRanges=De,at?4:0}lineBlockAt(Q){return Q>=this.viewport.from&&Q<=this.viewport.to&&this.viewportLines.find(De=>De.from<=Q&&De.to>=Q)||ms(this.heightMap.lineAt(Q,bi.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(Q){return Q>=this.viewportLines[0].top&&Q<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(De=>De.top<=Q&&De.bottom>=Q)||ms(this.heightMap.lineAt(this.scaler.fromDOM(Q),bi.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(Q){let De=this.lineBlockAtHeight(Q+8);return De.from>=this.viewport.from||this.viewportLines[0].top-Q>200?De:this.viewportLines[0]}elementAtHeight(Q){return ms(this.heightMap.blockAt(this.scaler.fromDOM(Q),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class Hn{constructor(Q,De){this.from=Q,this.to=De}}function jr(Ut,Q,De){let at=[],Dt=Ut,zt=0;return r.RangeSet.spans(De,Ut,Q,{span(){},point(Qn,Cr){Qn>Dt&&(at.push({from:Dt,to:Qn}),zt+=Qn-Dt),Dt=Cr}},20),Dt<Q&&(at.push({from:Dt,to:Q}),zt+=Q-Dt),{total:zt,ranges:at}}function wo({total:Ut,ranges:Q},De){if(De<=0)return Q[0].from;if(De>=1)return Q[Q.length-1].to;let at=Math.floor(Ut*De);for(let Dt=0;;Dt++){let{from:zt,to:Qn}=Q[Dt],Cr=Qn-zt;if(at<=Cr)return zt+at;at-=Cr}}function ko(Ut,Q){let De=0;for(let{from:at,to:Dt}of Ut.ranges){if(Q<=Dt){De+=Q-at;break}De+=Dt-at}return De/Ut.total}function Sa(Ut,Q){for(let De of Ut)if(Q(De))return De}const Na={toDOM(Ut){return Ut},fromDOM(Ut){return Ut},scale:1,eq(Ut){return Ut==this}};class qa{constructor(Q,De,at){let Dt=0,zt=0,Qn=0;this.viewports=at.map(({from:Cr,to:wr})=>{let No=De.lineAt(Cr,bi.ByPos,Q,0,0).top,Co=De.lineAt(wr,bi.ByPos,Q,0,0).bottom;return Dt+=Co-No,{from:Cr,to:wr,top:No,bottom:Co,domTop:0,domBottom:0}}),this.scale=(7e6-Dt)/(De.height-Dt);for(let Cr of this.viewports)Cr.domTop=Qn+(Cr.top-zt)*this.scale,Qn=Cr.domBottom=Cr.domTop+(Cr.bottom-Cr.top),zt=Cr.bottom}toDOM(Q){for(let De=0,at=0,Dt=0;;De++){let zt=De<this.viewports.length?this.viewports[De]:null;if(!zt||Q<zt.top)return Dt+(Q-at)*this.scale;if(Q<=zt.bottom)return zt.domTop+(Q-zt.top);at=zt.bottom,Dt=zt.domBottom}}fromDOM(Q){for(let De=0,at=0,Dt=0;;De++){let zt=De<this.viewports.length?this.viewports[De]:null;if(!zt||Q<zt.domTop)return at+(Q-Dt)/this.scale;if(Q<=zt.domBottom)return zt.top+(Q-zt.domTop);at=zt.bottom,Dt=zt.domBottom}}eq(Q){return Q instanceof qa?this.scale==Q.scale&&this.viewports.length==Q.viewports.length&&this.viewports.every((De,at)=>De.from==Q.viewports[at].from&&De.to==Q.viewports[at].to):!1}}function ms(Ut,Q){if(Q.scale==1)return Ut;let De=Q.toDOM(Ut.top),at=Q.toDOM(Ut.bottom);return new ki(Ut.from,Ut.length,De,at-De,Array.isArray(Ut._content)?Ut._content.map(Dt=>ms(Dt,Q)):Ut._content)}const Us=r.Facet.define({combine:Ut=>Ut.join(" ")}),$i=r.Facet.define({combine:Ut=>Ut.indexOf(!0)>-1}),Mi=o.V.newName(),si=o.V.newName(),rl=o.V.newName(),El={"&light":"."+si,"&dark":"."+rl};function Ui(Ut,Q,De){return new o.V(Q,{finish(at){return/&/.test(at)?at.replace(/&\w*/,Dt=>{if(Dt=="&")return Ut;if(!De||!De[Dt])throw new RangeError(`Unsupported selector: ${Dt}`);return De[Dt]}):Ut+" "+at}})}const il=Ui("."+Mi,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},El),fl={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},oi=he.ie&&he.ie_version<=11;class Nl{constructor(Q){this.view=Q,this.active=!1,this.editContext=null,this.selectionRange=new A,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=Q.contentDOM,this.observer=new MutationObserver(De=>{for(let at of De)this.queue.push(at);(he.ie&&he.ie_version<=11||he.ios&&Q.composing)&&De.some(at=>at.type=="childList"&&at.removedNodes.length||at.type=="characterData"&&at.oldValue.length>at.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&Q.constructor.EDIT_CONTEXT!==!1&&!(he.chrome&&he.chrome_version<126)&&(this.editContext=new Jl(Q),Q.state.facet(wt)&&(Q.contentDOM.editContext=this.editContext.editContext)),oi&&(this.onCharData=De=>{this.queue.push({target:De.target,type:"characterData",oldValue:De.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var De;((De=this.view.docView)===null||De===void 0?void 0:De.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(Q.scrollDOM)),this.addWindowListeners(this.win=Q.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(De=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),De.length>0&&De[De.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(De=>{De.length>0&&De[De.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(Q){this.view.inputState.runHandlers("scroll",Q),this.intersecting&&this.view.measure()}onScroll(Q){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(Q)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(Q){(Q.type=="change"||!Q.type)&&!Q.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(Q){if(this.gapIntersection&&(Q.length!=this.gaps.length||this.gaps.some((De,at)=>De!=Q[at]))){this.gapIntersection.disconnect();for(let De of Q)this.gapIntersection.observe(De);this.gaps=Q}}onSelectionChange(Q){let De=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:at}=this,Dt=this.selectionRange;if(at.state.facet(wt)?at.root.activeElement!=this.dom:!c(this.dom,Dt))return;let zt=Dt.anchorNode&&at.docView.nearest(Dt.anchorNode);if(zt&&zt.ignoreEvent(Q)){De||(this.selectionChanged=!1);return}(he.ie&&he.ie_version<=11||he.android&&he.chrome)&&!at.state.selection.main.empty&&Dt.focusNode&&f(Dt.focusNode,Dt.focusOffset,Dt.anchorNode,Dt.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:Q}=this,De=a(Q.root);if(!De)return!1;let at=he.safari&&Q.root.nodeType==11&&Q.root.activeElement==this.dom&&Kl(this.view,De)||De;if(!at||this.selectionRange.eq(at))return!1;let Dt=c(this.dom,at);return Dt&&!this.selectionChanged&&Q.inputState.lastFocusTime>Date.now()-200&&Q.inputState.lastTouchTime<Date.now()-300&&L(this.dom,at)?(this.view.inputState.lastFocusTime=0,Q.docView.updateSelection(),!1):(this.selectionRange.setRange(at),Dt&&(this.selectionChanged=!0),!0)}setSelectionRange(Q,De){this.selectionRange.set(Q.node,Q.offset,De.node,De.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let Q=0,De=null;for(let at=this.dom;at;)if(at.nodeType==1)!De&&Q<this.scrollTargets.length&&this.scrollTargets[Q]==at?Q++:De||(De=this.scrollTargets.slice(0,Q)),De&&De.push(at),at=at.assignedSlot||at.parentNode;else if(at.nodeType==11)at=at.host;else break;if(Q<this.scrollTargets.length&&!De&&(De=this.scrollTargets.slice(0,Q)),De){for(let at of this.scrollTargets)at.removeEventListener("scroll",this.onScroll);for(let at of this.scrollTargets=De)at.addEventListener("scroll",this.onScroll)}}ignore(Q){if(!this.active)return Q();try{return this.stop(),Q()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,fl),oi&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),oi&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(Q,De){var at;if(!this.delayedAndroidKey){let Dt=()=>{let zt=this.delayedAndroidKey;zt&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=zt.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&zt.force&&m(this.dom,zt.key,zt.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(Dt)}(!this.delayedAndroidKey||Q=="Enter")&&(this.delayedAndroidKey={key:Q,keyCode:De,force:this.lastChange<Date.now()-50||!!(!((at=this.delayedAndroidKey)===null||at===void 0)&&at.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let Q of this.observer.takeRecords())this.queue.push(Q);return this.queue}processRecords(){let Q=this.pendingRecords();Q.length&&(this.queue=[]);let De=-1,at=-1,Dt=!1;for(let zt of Q){let Qn=this.readMutation(zt);Qn&&(Qn.typeOver&&(Dt=!0),De==-1?{from:De,to:at}=Qn:(De=Math.min(Qn.from,De),at=Math.max(Qn.to,at)))}return{from:De,to:at,typeOver:Dt}}readChange(){let{from:Q,to:De,typeOver:at}=this.processRecords(),Dt=this.selectionChanged&&c(this.dom,this.selectionRange);if(Q<0&&!Dt)return null;Q>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let zt=new Ja(this.view,Q,De,at);return this.view.docView.domChanged={newSel:zt.newSel?zt.newSel.main:null},zt}flush(Q=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;Q&&this.readSelectionRange();let De=this.readChange();if(!De)return this.view.requestMeasure(),!1;let at=this.view.state,Dt=Is(this.view,De);return this.view.state==at&&(De.domChanged||De.newSel&&!De.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),Dt}readMutation(Q){let De=this.view.docView.nearest(Q.target);if(!De||De.ignoreMutation(Q))return null;if(De.markDirty(Q.type=="attributes"),Q.type=="attributes"&&(De.flags|=4),Q.type=="childList"){let at=xl(De,Q.previousSibling||Q.target.previousSibling,-1),Dt=xl(De,Q.nextSibling||Q.target.nextSibling,1);return{from:at?De.posAfter(at):De.posAtStart,to:Dt?De.posBefore(Dt):De.posAtEnd,typeOver:!1}}else return Q.type=="characterData"?{from:De.posAtStart,to:De.posAtEnd,typeOver:Q.target.nodeValue==Q.oldValue}:null}setWindow(Q){Q!=this.win&&(this.removeWindowListeners(this.win),this.win=Q,this.addWindowListeners(this.win))}addWindowListeners(Q){Q.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):Q.addEventListener("beforeprint",this.onPrint),Q.addEventListener("scroll",this.onScroll),Q.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(Q){Q.removeEventListener("scroll",this.onScroll),Q.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):Q.removeEventListener("beforeprint",this.onPrint),Q.document.removeEventListener("selectionchange",this.onSelectionChange)}update(Q){this.editContext&&(this.editContext.update(Q),Q.startState.facet(wt)!=Q.state.facet(wt)&&(Q.view.contentDOM.editContext=Q.state.facet(wt)?this.editContext.editContext:null))}destroy(){var Q,De,at;this.stop(),(Q=this.intersection)===null||Q===void 0||Q.disconnect(),(De=this.gapIntersection)===null||De===void 0||De.disconnect(),(at=this.resizeScroll)===null||at===void 0||at.disconnect();for(let Dt of this.scrollTargets)Dt.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function xl(Ut,Q,De){for(;Q;){let at=M.get(Q);if(at&&at.parent==Ut)return at;let Dt=Q.parentNode;Q=Dt!=Ut.dom?Dt:De>0?Q.nextSibling:Q.previousSibling}return null}function Ic(Ut,Q){let De=Q.startContainer,at=Q.startOffset,Dt=Q.endContainer,zt=Q.endOffset,Qn=Ut.docView.domAtPos(Ut.state.selection.main.anchor);return f(Qn.node,Qn.offset,Dt,zt)&&([De,at,Dt,zt]=[Dt,zt,De,at]),{anchorNode:De,anchorOffset:at,focusNode:Dt,focusOffset:zt}}function Kl(Ut,Q){if(Q.getComposedRanges){let Dt=Q.getComposedRanges(Ut.root)[0];if(Dt)return Ic(Ut,Dt)}let De=null;function at(Dt){Dt.preventDefault(),Dt.stopImmediatePropagation(),De=Dt.getTargetRanges()[0]}return Ut.contentDOM.addEventListener("beforeinput",at,!0),Ut.dom.ownerDocument.execCommand("indent"),Ut.contentDOM.removeEventListener("beforeinput",at,!0),De?Ic(Ut,De):null}class Jl{constructor(Q){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.resetRange(Q.state);let De=this.editContext=new window.EditContext({text:Q.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,Q.state.selection.main.anchor))),selectionEnd:this.toContextPos(Q.state.selection.main.head)});this.handlers.textupdate=at=>{let{anchor:Dt}=Q.state.selection.main,zt={from:this.toEditorPos(at.updateRangeStart),to:this.toEditorPos(at.updateRangeEnd),insert:r.Text.of(at.text.split(`
`))};zt.from==this.from&&Dt<this.from?zt.from=Dt:zt.to==this.to&&Dt>this.to&&(zt.to=Dt),!(zt.from==zt.to&&!zt.insert.length)&&(this.pendingContextChange=zt,Q.state.readOnly||Vr(Q,zt,r.EditorSelection.single(this.toEditorPos(at.selectionStart),this.toEditorPos(at.selectionEnd))),this.pendingContextChange&&(this.revertPending(Q.state),this.setSelection(Q.state)))},this.handlers.characterboundsupdate=at=>{let Dt=[],zt=null;for(let Qn=this.toEditorPos(at.rangeStart),Cr=this.toEditorPos(at.rangeEnd);Qn<Cr;Qn++){let wr=Q.coordsForChar(Qn);zt=wr&&new DOMRect(wr.left,wr.top,wr.right-wr.left,wr.bottom-wr.top)||zt||new DOMRect,Dt.push(zt)}De.updateCharacterBounds(at.rangeStart,Dt)},this.handlers.textformatupdate=at=>{let Dt=[];for(let zt of at.getTextFormats()){let Qn=zt.underlineStyle,Cr=zt.underlineThickness;if(Qn!="None"&&Cr!="None"){let wr=`text-decoration: underline ${Qn=="Dashed"?"dashed ":Qn=="Squiggle"?"wavy ":""}${Cr=="Thin"?1:2}px`;Dt.push(Ce.mark({attributes:{style:wr}}).range(this.toEditorPos(zt.rangeStart),this.toEditorPos(zt.rangeEnd)))}}Q.dispatch({effects:Ae.of(Ce.set(Dt))})},this.handlers.compositionstart=()=>{Q.inputState.composing<0&&(Q.inputState.composing=0,Q.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{Q.inputState.composing=-1,Q.inputState.compositionFirstChange=null};for(let at in this.handlers)De.addEventListener(at,this.handlers[at]);this.measureReq={read:at=>{this.editContext.updateControlBounds(at.contentDOM.getBoundingClientRect());let Dt=a(at.root);Dt&&Dt.rangeCount&&this.editContext.updateSelectionBounds(Dt.getRangeAt(0).getBoundingClientRect())}}}applyEdits(Q){let De=0,at=!1,Dt=this.pendingContextChange;return Q.changes.iterChanges((zt,Qn,Cr,wr,No)=>{if(at)return;let Co=No.length-(Qn-zt);if(Dt&&Qn>=Dt.to)if(Dt.from==zt&&Dt.to==Qn&&Dt.insert.eq(No)){Dt=this.pendingContextChange=null,De+=Co,this.to+=Co;return}else Dt=null,this.revertPending(Q.state);if(zt+=De,Qn+=De,Qn<=this.from)this.from+=Co,this.to+=Co;else if(zt<this.to){if(zt<this.from||Qn>this.to||this.to-this.from+No.length>3e4){at=!0;return}this.editContext.updateText(this.toContextPos(zt),this.toContextPos(Qn),No.toString()),this.to+=Co}De+=Co}),Dt&&!at&&this.revertPending(Q.state),!at}update(Q){let De=this.pendingContextChange;!this.applyEdits(Q)||!this.rangeIsValid(Q.state)?(this.pendingContextChange=null,this.resetRange(Q.state),this.editContext.updateText(0,this.editContext.text.length,Q.state.doc.sliceString(this.from,this.to)),this.setSelection(Q.state)):(Q.docChanged||Q.selectionSet||De)&&this.setSelection(Q.state),(Q.geometryChanged||Q.docChanged||Q.selectionSet)&&Q.view.requestMeasure(this.measureReq)}resetRange(Q){let{head:De}=Q.selection.main;this.from=Math.max(0,De-1e4),this.to=Math.min(Q.doc.length,De+1e4)}revertPending(Q){let De=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(De.from),this.toContextPos(De.from+De.insert.length),Q.doc.sliceString(De.from,De.to))}setSelection(Q){let{main:De}=Q.selection,at=this.toContextPos(Math.max(this.from,Math.min(this.to,De.anchor))),Dt=this.toContextPos(De.head);(this.editContext.selectionStart!=at||this.editContext.selectionEnd!=Dt)&&this.editContext.updateSelection(at,Dt)}rangeIsValid(Q){let{head:De}=Q.selection.main;return!(this.from>0&&De-this.from<500||this.to<Q.doc.length&&this.to-De<500||this.to-this.from>1e4*3)}toEditorPos(Q){return Q+this.from}toContextPos(Q){return Q-this.from}destroy(){for(let Q in this.handlers)this.editContext.removeEventListener(Q,this.handlers[Q])}}class Vi{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(Q={}){var De;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),Q.parent&&Q.parent.appendChild(this.dom);let{dispatch:at}=Q;this.dispatchTransactions=Q.dispatchTransactions||at&&(Dt=>Dt.forEach(zt=>at(zt,this)))||(Dt=>this.update(Dt)),this.dispatch=this.dispatch.bind(this),this._root=Q.root||E(Q.parent)||document,this.viewState=new Jn(Q.state||r.EditorState.create(Q)),Q.scrollTo&&Q.scrollTo.is(xe)&&(this.viewState.scrollTarget=Q.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(ut).map(Dt=>new tn(Dt));for(let Dt of this.plugins)Dt.update(this);this.observer=new Nl(this),this.inputState=new Mo(this),this.inputState.ensureHandlers(this.plugins),this.docView=new Vo(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((De=document.fonts)===null||De===void 0)&&De.ready&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...Q){let De=Q.length==1&&Q[0]instanceof r.Transaction?Q:Q.length==1&&Array.isArray(Q[0])?Q[0]:[this.state.update(...Q)];this.dispatchTransactions(De,this)}update(Q){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let De=!1,at=!1,Dt,zt=this.state;for(let Qo of Q){if(Qo.startState!=zt)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");zt=Qo.state}if(this.destroyed){this.viewState.state=zt;return}let Qn=this.hasFocus,Cr=0,wr=null;Q.some(Qo=>Qo.annotation(Ji))?(this.inputState.notifiedFocused=Qn,Cr=1):Qn!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=Qn,wr=wi(zt,Qn),wr||(Cr=1));let No=this.observer.delayedAndroidKey,Co=null;if(No?(this.observer.clearDelayedAndroidKey(),Co=this.observer.readChange(),(Co&&!this.state.doc.eq(zt.doc)||!this.state.selection.eq(zt.selection))&&(Co=null)):this.observer.clear(),zt.facet(r.EditorState.phrases)!=this.state.facet(r.EditorState.phrases))return this.setState(zt);Dt=eo.create(this,zt,Q),Dt.flags|=Cr;let Ro=this.viewState.scrollTarget;try{this.updateState=2;for(let Qo of Q){if(Ro&&(Ro=Ro.map(Qo.changes)),Qo.scrollIntoView){let{main:ka}=Qo.state.selection;Ro=new Pe(ka.empty?ka:r.EditorSelection.cursor(ka.head,ka.head>ka.anchor?-1:1))}for(let ka of Qo.effects)ka.is(xe)&&(Ro=ka.value.clip(this.state))}this.viewState.update(Dt,Ro),this.bidiCache=zl.update(this.bidiCache,Dt.changes),Dt.empty||(this.updatePlugins(Dt),this.inputState.update(Dt)),De=this.docView.update(Dt),this.state.facet(qr)!=this.styleModules&&this.mountStyles(),at=this.updateAttrs(),this.showAnnouncements(Q),this.docView.updateSelection(De,Q.some(Qo=>Qo.isUserEvent("select.pointer")))}finally{this.updateState=0}if(Dt.startState.facet(Us)!=Dt.state.facet(Us)&&(this.viewState.mustMeasureContent=!0),(De||at||Ro||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),De&&this.docViewUpdate(),!Dt.empty)for(let Qo of this.state.facet(Qt))try{Qo(Dt)}catch(ka){qe(this.state,ka,"update listener")}(wr||Co)&&Promise.resolve().then(()=>{wr&&this.state==wr.startState&&this.dispatch(wr),Co&&!Is(this,Co)&&No.force&&m(this.contentDOM,No.key,No.keyCode)})}setState(Q){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=Q;return}this.updateState=2;let De=this.hasFocus;try{for(let at of this.plugins)at.destroy(this);this.viewState=new Jn(Q),this.plugins=Q.facet(ut).map(at=>new tn(at)),this.pluginMap.clear();for(let at of this.plugins)at.update(this);this.docView.destroy(),this.docView=new Vo(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}De&&this.focus(),this.requestMeasure()}updatePlugins(Q){let De=Q.startState.facet(ut),at=Q.state.facet(ut);if(De!=at){let Dt=[];for(let zt of at){let Qn=De.indexOf(zt);if(Qn<0)Dt.push(new tn(zt));else{let Cr=this.plugins[Qn];Cr.mustUpdate=Q,Dt.push(Cr)}}for(let zt of this.plugins)zt.mustUpdate!=Q&&zt.destroy(this);this.plugins=Dt,this.pluginMap.clear()}else for(let Dt of this.plugins)Dt.mustUpdate=Q;for(let Dt=0;Dt<this.plugins.length;Dt++)this.plugins[Dt].update(this);De!=at&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let Q of this.plugins){let De=Q.value;if(De&&De.docViewUpdate)try{De.docViewUpdate(this)}catch(at){qe(this.state,at,"doc view update listener")}}}measure(Q=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,Q&&this.observer.forceFlush();let De=null,at=this.scrollDOM,Dt=at.scrollTop*this.scaleY,{scrollAnchorPos:zt,scrollAnchorHeight:Qn}=this.viewState;Math.abs(Dt-this.viewState.scrollTop)>1&&(Qn=-1),this.viewState.scrollAnchorHeight=-1;try{for(let Cr=0;;Cr++){if(Qn<0)if(W(at))zt=-1,Qn=this.viewState.heightMap.height;else{let ka=this.viewState.scrollAnchorAt(Dt);zt=ka.from,Qn=ka.top}this.updateState=1;let wr=this.viewState.measure(this);if(!wr&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(Cr>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let No=[];wr&4||([this.measureRequests,No]=[No,this.measureRequests]);let Co=No.map(ka=>{try{return ka.read(this)}catch(Ca){return qe(this.state,Ca),mc}}),Ro=eo.create(this,this.state,[]),Qo=!1;Ro.flags|=wr,De?De.flags|=wr:De=Ro,this.updateState=2,Ro.empty||(this.updatePlugins(Ro),this.inputState.update(Ro),this.updateAttrs(),Qo=this.docView.update(Ro),Qo&&this.docViewUpdate());for(let ka=0;ka<No.length;ka++)if(Co[ka]!=mc)try{let Ca=No[ka];Ca.write&&Ca.write(Co[ka],this)}catch(Ca){qe(this.state,Ca)}if(Qo&&this.docView.updateSelection(!0),!Ro.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,Qn=-1;continue}else{let Ca=(zt<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(zt).top)-Qn;if(Ca>1||Ca<-1){Dt=Dt+Ca,at.scrollTop=Dt/this.scaleY,Qn=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(De&&!De.empty)for(let Cr of this.state.facet(Qt))Cr(De)}get themeClasses(){return Mi+" "+(this.state.facet($i)?rl:si)+" "+this.state.facet(Us)}updateAttrs(){let Q=$l(this,In,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),De={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(wt)?"true":"false",class:"cm-content",style:`${he.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(De["aria-readonly"]="true"),$l(this,rr,De);let at=this.observer.ignore(()=>{let Dt=Xe(this.contentDOM,this.contentAttrs,De),zt=Xe(this.dom,this.editorAttrs,Q);return Dt||zt});return this.editorAttrs=Q,this.contentAttrs=De,at}showAnnouncements(Q){let De=!0;for(let at of Q)for(let Dt of at.effects)if(Dt.is(Vi.announce)){De&&(this.announceDOM.textContent=""),De=!1;let zt=this.announceDOM.appendChild(document.createElement("div"));zt.textContent=Dt.value}}mountStyles(){this.styleModules=this.state.facet(qr);let Q=this.state.facet(Vi.cspNonce);o.V.mount(this.root,this.styleModules.concat(il).reverse(),Q?{nonce:Q}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(Q){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),Q){if(this.measureRequests.indexOf(Q)>-1)return;if(Q.key!=null){for(let De=0;De<this.measureRequests.length;De++)if(this.measureRequests[De].key===Q.key){this.measureRequests[De]=Q;return}}this.measureRequests.push(Q)}}plugin(Q){let De=this.pluginMap.get(Q);return(De===void 0||De&&De.spec!=Q)&&this.pluginMap.set(Q,De=this.plugins.find(at=>at.spec==Q)||null),De&&De.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(Q){return this.readMeasured(),this.viewState.elementAtHeight(Q)}lineBlockAtHeight(Q){return this.readMeasured(),this.viewState.lineBlockAtHeight(Q)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(Q){return this.viewState.lineBlockAt(Q)}get contentHeight(){return this.viewState.contentHeight}moveByChar(Q,De,at){return Da(this,Q,Ho(this,Q,De,at))}moveByGroup(Q,De){return Da(this,Q,Ho(this,Q,De,at=>bo(this,Q.head,at)))}visualLineSide(Q,De){let at=this.bidiSpans(Q),Dt=this.textDirectionAt(Q.from),zt=at[De?at.length-1:0];return r.EditorSelection.cursor(zt.side(De,Dt)+Q.from,zt.forward(!De,Dt)?1:-1)}moveToLineBoundary(Q,De,at=!0){return xo(this,Q,De,at)}moveVertically(Q,De,at){return Da(this,Q,Ea(this,Q,De,at))}domAtPos(Q){return this.docView.domAtPos(Q)}posAtDOM(Q,De=0){return this.docView.posFromDOM(Q,De)}posAtCoords(Q,De=!0){return this.readMeasured(),Un(this,Q,De)}coordsAtPos(Q,De=1){this.readMeasured();let at=this.docView.coordsAt(Q,De);if(!at||at.left==at.right)return at;let Dt=this.state.doc.lineAt(Q),zt=this.bidiSpans(Dt),Qn=zt[$n.find(zt,Q-Dt.from,-1,De)];return p(at,Qn.dir==vt.LTR==De>0)}coordsForChar(Q){return this.readMeasured(),this.docView.coordsForChar(Q)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(Q){return!this.state.facet(Vt)||Q<this.viewport.from||Q>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(Q))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(Q){if(Q.length>_c)return Hr(Q.length);let De=this.textDirectionAt(Q.from),at;for(let zt of this.bidiCache)if(zt.from==Q.from&&zt.dir==De&&(zt.fresh||jt(zt.isolates,at=sr(this,Q))))return zt.order;at||(at=sr(this,Q));let Dt=qn(Q.text,De,at);return this.bidiCache.push(new zl(Q.from,Q.to,De,at,!0,Dt)),Dt}get hasFocus(){var Q;return(this.dom.ownerDocument.hasFocus()||he.safari&&((Q=this.inputState)===null||Q===void 0?void 0:Q.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{T(this.contentDOM),this.docView.updateSelection()})}setRoot(Q){this._root!=Q&&(this._root=Q,this.observer.setWindow((Q.nodeType==9?Q:Q.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let Q of this.plugins)Q.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(Q,De={}){return xe.of(new Pe(typeof Q=="number"?r.EditorSelection.cursor(Q):Q,De.y,De.x,De.yMargin,De.xMargin))}scrollSnapshot(){let{scrollTop:Q,scrollLeft:De}=this.scrollDOM,at=this.viewState.scrollAnchorAt(Q);return xe.of(new Pe(r.EditorSelection.cursor(at.from),"start","start",at.top-Q,De,!0))}setTabFocusMode(Q){Q==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof Q=="boolean"?this.inputState.tabFocusMode=Q?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+Q)}static domEventHandlers(Q){return Ft.define(()=>({}),{eventHandlers:Q})}static domEventObservers(Q){return Ft.define(()=>({}),{eventObservers:Q})}static theme(Q,De){let at=o.V.newName(),Dt=[Us.of(at),qr.of(Ui(`.${at}`,Q))];return De&&De.dark&&Dt.push($i.of(!0)),Dt}static baseTheme(Q){return r.Prec.lowest(qr.of(Ui("."+Mi,Q,El)))}static findFromDOM(Q){var De;let at=Q.querySelector(".cm-content"),Dt=at&&M.get(at)||M.get(Q);return((De=Dt==null?void 0:Dt.rootView)===null||De===void 0?void 0:De.view)||null}}Vi.styleModule=qr,Vi.inputHandler=qt,Vi.clipboardInputFilter=Gt,Vi.clipboardOutputFilter=un,Vi.scrollHandler=Wt,Vi.focusChangeEffect=Te,Vi.perLineTextDirection=Vt,Vi.exceptionSink=xt,Vi.updateListener=Qt,Vi.editable=wt,Vi.mouseSelectionStyle=At,Vi.dragMovesSelection=Je,Vi.clickAddsSelectionRange=Xt,Vi.decorations=Sr,Vi.outerDecorations=Yr,Vi.atomicRanges=Pr,Vi.bidiIsolatedRanges=Mn,Vi.scrollMargins=Ar,Vi.darkTheme=$i,Vi.cspNonce=r.Facet.define({combine:Ut=>Ut.length?Ut[0]:""}),Vi.contentAttributes=rr,Vi.editorAttributes=In,Vi.lineWrapping=Vi.contentAttributes.of({class:"cm-lineWrapping"}),Vi.announce=r.StateEffect.define();const _c=4096,mc={};class zl{constructor(Q,De,at,Dt,zt,Qn){this.from=Q,this.to=De,this.dir=at,this.isolates=Dt,this.fresh=zt,this.order=Qn}static update(Q,De){if(De.empty&&!Q.some(zt=>zt.fresh))return Q;let at=[],Dt=Q.length?Q[Q.length-1].dir:vt.LTR;for(let zt=Math.max(0,Q.length-10);zt<Q.length;zt++){let Qn=Q[zt];Qn.dir==Dt&&!De.touchesRange(Qn.from,Qn.to)&&at.push(new zl(De.mapPos(Qn.from,1),De.mapPos(Qn.to,-1),Qn.dir,Qn.isolates,!1,Qn.order))}return at}}function $l(Ut,Q,De){for(let at=Ut.state.facet(Q),Dt=at.length-1;Dt>=0;Dt--){let zt=at[Dt],Qn=typeof zt=="function"?zt(Ut):zt;Qn&&ye(Qn,De)}return De}const ln=he.mac?"mac":he.windows?"win":he.linux?"linux":"key";function sn(Ut,Q){const De=Ut.split(/-(?!$)/);let at=De[De.length-1];at=="Space"&&(at=" ");let Dt,zt,Qn,Cr;for(let wr=0;wr<De.length-1;++wr){const No=De[wr];if(/^(cmd|meta|m)$/i.test(No))Cr=!0;else if(/^a(lt)?$/i.test(No))Dt=!0;else if(/^(c|ctrl|control)$/i.test(No))zt=!0;else if(/^s(hift)?$/i.test(No))Qn=!0;else if(/^mod$/i.test(No))Q=="mac"?Cr=!0:zt=!0;else throw new Error("Unrecognized modifier name: "+No)}return Dt&&(at="Alt-"+at),zt&&(at="Ctrl-"+at),Cr&&(at="Meta-"+at),Qn&&(at="Shift-"+at),at}function zn(Ut,Q,De){return Q.altKey&&(Ut="Alt-"+Ut),Q.ctrlKey&&(Ut="Ctrl-"+Ut),Q.metaKey&&(Ut="Meta-"+Ut),De!==!1&&Q.shiftKey&&(Ut="Shift-"+Ut),Ut}const Er=r.Prec.default(Vi.domEventHandlers({keydown(Ut,Q){return es(Zo(Q.state),Ut,Q,"editor")}})),zr=r.Facet.define({enables:Er}),Ao=new WeakMap;function Zo(Ut){let Q=Ut.facet(zr),De=Ao.get(Q);return De||Ao.set(Q,De=is(Q.reduce((at,Dt)=>at.concat(Dt),[]))),De}function ia(Ut,Q,De){return es(Zo(Ut.state),Q,Ut,De)}let So=null;const Ha=4e3;function is(Ut,Q=ln){let De=Object.create(null),at=Object.create(null),Dt=(Qn,Cr)=>{let wr=at[Qn];if(wr==null)at[Qn]=Cr;else if(wr!=Cr)throw new Error("Key binding "+Qn+" is used both as a regular binding and as a multi-stroke prefix")},zt=(Qn,Cr,wr,No,Co)=>{var Ro,Qo;let ka=De[Qn]||(De[Qn]=Object.create(null)),Ca=Cr.split(/ (?!$)/).map(Es=>sn(Es,Q));for(let Es=1;Es<Ca.length;Es++){let fi=Ca.slice(0,Es).join(" ");Dt(fi,!0),ka[fi]||(ka[fi]={preventDefault:!0,stopPropagation:!1,run:[Bo=>{let Hi=So={view:Bo,prefix:fi,scope:Qn};return setTimeout(()=>{So==Hi&&(So=null)},Ha),!0}]})}let ls=Ca.join(" ");Dt(ls,!1);let vs=ka[ls]||(ka[ls]={preventDefault:!1,stopPropagation:!1,run:((Qo=(Ro=ka._any)===null||Ro===void 0?void 0:Ro.run)===null||Qo===void 0?void 0:Qo.slice())||[]});wr&&vs.run.push(wr),No&&(vs.preventDefault=!0),Co&&(vs.stopPropagation=!0)};for(let Qn of Ut){let Cr=Qn.scope?Qn.scope.split(" "):["editor"];if(Qn.any)for(let No of Cr){let Co=De[No]||(De[No]=Object.create(null));Co._any||(Co._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:Ro}=Qn;for(let Qo in Co)Co[Qo].run.push(ka=>Ro(ka,as))}let wr=Qn[Q]||Qn.key;if(wr)for(let No of Cr)zt(No,wr,Qn.run,Qn.preventDefault,Qn.stopPropagation),Qn.shift&&zt(No,"Shift-"+wr,Qn.shift,Qn.preventDefault,Qn.stopPropagation)}return De}let as=null;function es(Ut,Q,De,at){as=Q;let Dt=(0,n.YG)(Q),zt=(0,r.codePointAt)(Dt,0),Qn=(0,r.codePointSize)(zt)==Dt.length&&Dt!=" ",Cr="",wr=!1,No=!1,Co=!1;So&&So.view==De&&So.scope==at&&(Cr=So.prefix+" ",Lr.indexOf(Q.keyCode)<0&&(No=!0,So=null));let Ro=new Set,Qo=vs=>{if(vs){for(let Es of vs.run)if(!Ro.has(Es)&&(Ro.add(Es),Es(De)))return vs.stopPropagation&&(Co=!0),!0;vs.preventDefault&&(vs.stopPropagation&&(Co=!0),No=!0)}return!1},ka=Ut[at],Ca,ls;return ka&&(Qo(ka[Cr+zn(Dt,Q,!Qn)])?wr=!0:Qn&&(Q.altKey||Q.metaKey||Q.ctrlKey)&&!(he.windows&&Q.ctrlKey&&Q.altKey)&&(Ca=n.ue[Q.keyCode])&&Ca!=Dt?(Qo(ka[Cr+zn(Ca,Q,!0)])||Q.shiftKey&&(ls=n.uY[Q.keyCode])!=Dt&&ls!=Ca&&Qo(ka[Cr+zn(ls,Q,!1)]))&&(wr=!0):Qn&&Q.shiftKey&&Qo(ka[Cr+zn(Dt,Q,!0)])&&(wr=!0),!wr&&Qo(ka._any)&&(wr=!0)),No&&(wr=!0),wr&&Co&&Q.stopPropagation(),as=null,wr}class Qs{constructor(Q,De,at,Dt,zt){this.className=Q,this.left=De,this.top=at,this.width=Dt,this.height=zt}draw(){let Q=document.createElement("div");return Q.className=this.className,this.adjust(Q),Q}update(Q,De){return De.className!=this.className?!1:(this.adjust(Q),!0)}adjust(Q){Q.style.left=this.left+"px",Q.style.top=this.top+"px",this.width!=null&&(Q.style.width=this.width+"px"),Q.style.height=this.height+"px"}eq(Q){return this.left==Q.left&&this.top==Q.top&&this.width==Q.width&&this.height==Q.height&&this.className==Q.className}static forRange(Q,De,at){if(at.empty){let Dt=Q.coordsAtPos(at.head,at.assoc||1);if(!Dt)return[];let zt=Rs(Q);return[new Qs(De,Dt.left-zt.left,Dt.top-zt.top,null,Dt.bottom-Dt.top)]}else return Cs(Q,De,at)}}function Rs(Ut){let Q=Ut.scrollDOM.getBoundingClientRect();return{left:(Ut.textDirection==vt.LTR?Q.left:Q.right-Ut.scrollDOM.clientWidth*Ut.scaleX)-Ut.scrollDOM.scrollLeft*Ut.scaleX,top:Q.top-Ut.scrollDOM.scrollTop*Ut.scaleY}}function rs(Ut,Q,De,at){let Dt=Ut.coordsAtPos(Q,De*2);if(!Dt)return at;let zt=Ut.dom.getBoundingClientRect(),Qn=(Dt.top+Dt.bottom)/2,Cr=Ut.posAtCoords({x:zt.left+1,y:Qn}),wr=Ut.posAtCoords({x:zt.right-1,y:Qn});return Cr==null||wr==null?at:{from:Math.max(at.from,Math.min(Cr,wr)),to:Math.min(at.to,Math.max(Cr,wr))}}function Cs(Ut,Q,De){if(De.to<=Ut.viewport.from||De.from>=Ut.viewport.to)return[];let at=Math.max(De.from,Ut.viewport.from),Dt=Math.min(De.to,Ut.viewport.to),zt=Ut.textDirection==vt.LTR,Qn=Ut.contentDOM,Cr=Qn.getBoundingClientRect(),wr=Rs(Ut),No=Qn.querySelector(".cm-line"),Co=No&&window.getComputedStyle(No),Ro=Cr.left+(Co?parseInt(Co.paddingLeft)+Math.min(0,parseInt(Co.textIndent)):0),Qo=Cr.right-(Co?parseInt(Co.paddingRight):0),ka=Kr(Ut,at),Ca=Kr(Ut,Dt),ls=ka.type==Ne.Text?ka:null,vs=Ca.type==Ne.Text?Ca:null;if(ls&&(Ut.lineWrapping||ka.widgetLineBreaks)&&(ls=rs(Ut,at,1,ls)),vs&&(Ut.lineWrapping||Ca.widgetLineBreaks)&&(vs=rs(Ut,Dt,-1,vs)),ls&&vs&&ls.from==vs.from&&ls.to==vs.to)return fi(Bo(De.from,De.to,ls));{let Qi=ls?Bo(De.from,null,ls):Hi(ka,!1),Li=vs?Bo(null,De.to,vs):Hi(Ca,!0),Gl=[];return(ls||ka).to<(vs||Ca).from-(ls&&vs?1:0)||ka.widgetLineBreaks>1&&Qi.bottom+Ut.defaultLineHeight/2<Li.top?Gl.push(Es(Ro,Qi.bottom,Qo,Li.top)):Qi.bottom<Li.top&&Ut.elementAtHeight((Qi.bottom+Li.top)/2).type==Ne.Text&&(Qi.bottom=Li.top=(Qi.bottom+Li.top)/2),fi(Qi).concat(Gl).concat(fi(Li))}function Es(Qi,Li,Gl,Zl){return new Qs(Q,Qi-wr.left,Li-wr.top-.01,Gl-Qi,Zl-Li+.01)}function fi({top:Qi,bottom:Li,horizontal:Gl}){let Zl=[];for(let Vc=0;Vc<Gl.length;Vc+=2)Zl.push(Es(Gl[Vc],Qi,Gl[Vc+1],Li));return Zl}function Bo(Qi,Li,Gl){let Zl=1e9,Vc=-1e9,tu=[];function lu(ic,kc,cu,Au,au){let jc=Ut.coordsAtPos(ic,ic==Gl.to?-2:2),lc=Ut.coordsAtPos(cu,cu==Gl.from?2:-2);!jc||!lc||(Zl=Math.min(jc.top,lc.top,Zl),Vc=Math.max(jc.bottom,lc.bottom,Vc),au==vt.LTR?tu.push(zt&&kc?Ro:jc.left,zt&&Au?Qo:lc.right):tu.push(!zt&&Au?Ro:lc.left,!zt&&kc?Qo:jc.right))}let Lu=Qi??Gl.from,yu=Li??Gl.to;for(let ic of Ut.visibleRanges)if(ic.to>Lu&&ic.from<yu)for(let kc=Math.max(ic.from,Lu),cu=Math.min(ic.to,yu);;){let Au=Ut.state.doc.lineAt(kc);for(let au of Ut.bidiSpans(Au)){let jc=au.from+Au.from,lc=au.to+Au.from;if(jc>=cu)break;lc>kc&&lu(Math.max(jc,kc),Qi==null&&jc<=Lu,Math.min(lc,cu),Li==null&&lc>=yu,au.dir)}if(kc=Au.to+1,kc>=cu)break}return tu.length==0&&lu(Lu,Qi==null,yu,Li==null,Ut.textDirection),{top:Zl,bottom:Vc,horizontal:tu}}function Hi(Qi,Li){let Gl=Cr.top+(Li?Qi.top:Qi.bottom);return{top:Gl,bottom:Gl,horizontal:[]}}}function Fs(Ut,Q){return Ut.constructor==Q.constructor&&Ut.eq(Q)}class Ks{constructor(Q,De){this.view=Q,this.layer=De,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=Q.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),De.above&&this.dom.classList.add("cm-layer-above"),De.class&&this.dom.classList.add(De.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(Q.state),Q.requestMeasure(this.measureReq),De.mount&&De.mount(this.dom,Q)}update(Q){Q.startState.facet(Ls)!=Q.state.facet(Ls)&&this.setOrder(Q.state),(this.layer.update(Q,this.dom)||Q.geometryChanged)&&(this.scale(),Q.view.requestMeasure(this.measureReq))}docViewUpdate(Q){this.layer.updateOnDocViewUpdate!==!1&&Q.requestMeasure(this.measureReq)}setOrder(Q){let De=0,at=Q.facet(Ls);for(;De<at.length&&at[De]!=this.layer;)De++;this.dom.style.zIndex=String((this.layer.above?150:-1)-De)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:Q,scaleY:De}=this.view;(Q!=this.scaleX||De!=this.scaleY)&&(this.scaleX=Q,this.scaleY=De,this.dom.style.transform=`scale(${1/Q}, ${1/De})`)}draw(Q){if(Q.length!=this.drawn.length||Q.some((De,at)=>!Fs(De,this.drawn[at]))){let De=this.dom.firstChild,at=0;for(let Dt of Q)Dt.update&&De&&Dt.constructor&&this.drawn[at].constructor&&Dt.update(De,this.drawn[at])?(De=De.nextSibling,at++):this.dom.insertBefore(Dt.draw(),De);for(;De;){let Dt=De.nextSibling;De.remove(),De=Dt}this.drawn=Q}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const Ls=r.Facet.define();function Js(Ut){return[Ft.define(Q=>new Ks(Q,Ut)),Ls.of(Ut)]}const Ts=!he.ios,zs=r.Facet.define({combine(Ut){return(0,r.combineConfig)(Ut,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(Q,De)=>Math.min(Q,De),drawRangeCursor:(Q,De)=>Q||De})}});function Bi(Ut={}){return[zs.of(Ut),ui,Ko,aa,Dn.of(!0)]}function qs(Ut){return Ut.facet(zs)}function Ti(Ut){return Ut.startState.facet(zs)!=Ut.state.facet(zs)}const ui=Js({above:!0,markers(Ut){let{state:Q}=Ut,De=Q.facet(zs),at=[];for(let Dt of Q.selection.ranges){let zt=Dt==Q.selection.main;if(Dt.empty?!zt||Ts:De.drawRangeCursor){let Qn=zt?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",Cr=Dt.empty?Dt:r.EditorSelection.cursor(Dt.head,Dt.head>Dt.anchor?-1:1);for(let wr of Qs.forRange(Ut,Qn,Cr))at.push(wr)}}return at},update(Ut,Q){Ut.transactions.some(at=>at.selection)&&(Q.style.animationName=Q.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let De=Ti(Ut);return De&&qi(Ut.state,Q),Ut.docChanged||Ut.selectionSet||De},mount(Ut,Q){qi(Q.state,Ut)},class:"cm-cursorLayer"});function qi(Ut,Q){Q.style.animationDuration=Ut.facet(zs).cursorBlinkRate+"ms"}const Ko=Js({above:!1,markers(Ut){return Ut.state.selection.ranges.map(Q=>Q.empty?[]:Qs.forRange(Ut,"cm-selectionBackground",Q)).reduce((Q,De)=>Q.concat(De))},update(Ut,Q){return Ut.docChanged||Ut.selectionSet||Ut.viewportChanged||Ti(Ut)},class:"cm-selectionLayer"}),Ur={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}};Ts&&(Ur[".cm-line"].caretColor=Ur[".cm-content"].caretColor="transparent !important");const aa=r.Prec.highest(Vi.theme(Ur)),ca=null,As=null,Ri=null;function Ei(){return[As,Ri]}function pi(Ut,Q,De,at,Dt){Q.lastIndex=0;for(let zt=Ut.iterRange(De,at),Qn=De,Cr;!zt.next().done;Qn+=zt.value.length)if(!zt.lineBreak)for(;Cr=Q.exec(zt.value);)Dt(Qn+Cr.index,Cr)}function Gi(Ut,Q){let De=Ut.visibleRanges;if(De.length==1&&De[0].from==Ut.viewport.from&&De[0].to==Ut.viewport.to)return De;let at=[];for(let{from:Dt,to:zt}of De)Dt=Math.max(Ut.state.doc.lineAt(Dt).from,Dt-Q),zt=Math.min(Ut.state.doc.lineAt(zt).to,zt+Q),at.length&&at[at.length-1].to>=Dt?at[at.length-1].to=zt:at.push({from:Dt,to:zt});return at}class Eo{constructor(Q){const{regexp:De,decoration:at,decorate:Dt,boundary:zt,maxLength:Qn=1e3}=Q;if(!De.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=De,Dt)this.addMatch=(Cr,wr,No,Co)=>Dt(Co,No,No+Cr[0].length,Cr,wr);else if(typeof at=="function")this.addMatch=(Cr,wr,No,Co)=>{let Ro=at(Cr,wr,No);Ro&&Co(No,No+Cr[0].length,Ro)};else if(at)this.addMatch=(Cr,wr,No,Co)=>Co(No,No+Cr[0].length,at);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=zt,this.maxLength=Qn}createDeco(Q){let De=new r.RangeSetBuilder,at=De.add.bind(De);for(let{from:Dt,to:zt}of Gi(Q,this.maxLength))pi(Q.state.doc,this.regexp,Dt,zt,(Qn,Cr)=>this.addMatch(Cr,Q,Qn,at));return De.finish()}updateDeco(Q,De){let at=1e9,Dt=-1;return Q.docChanged&&Q.changes.iterChanges((zt,Qn,Cr,wr)=>{wr>Q.view.viewport.from&&Cr<Q.view.viewport.to&&(at=Math.min(Cr,at),Dt=Math.max(wr,Dt))}),Q.viewportChanged||Dt-at>1e3?this.createDeco(Q.view):Dt>-1?this.updateRange(Q.view,De.map(Q.changes),at,Dt):De}updateRange(Q,De,at,Dt){for(let zt of Q.visibleRanges){let Qn=Math.max(zt.from,at),Cr=Math.min(zt.to,Dt);if(Cr>Qn){let wr=Q.state.doc.lineAt(Qn),No=wr.to<Cr?Q.state.doc.lineAt(Cr):wr,Co=Math.max(zt.from,wr.from),Ro=Math.min(zt.to,No.to);if(this.boundary){for(;Qn>wr.from;Qn--)if(this.boundary.test(wr.text[Qn-1-wr.from])){Co=Qn;break}for(;Cr<No.to;Cr++)if(this.boundary.test(No.text[Cr-No.from])){Ro=Cr;break}}let Qo=[],ka,Ca=(ls,vs,Es)=>Qo.push(Es.range(ls,vs));if(wr==No)for(this.regexp.lastIndex=Co-wr.from;(ka=this.regexp.exec(wr.text))&&ka.index<Ro-wr.from;)this.addMatch(ka,Q,ka.index+wr.from,Ca);else pi(Q.state.doc,this.regexp,Co,Ro,(ls,vs)=>this.addMatch(vs,Q,ls,Ca));De=De.update({filterFrom:Co,filterTo:Ro,filter:(ls,vs)=>ls<Co||vs>Ro,add:Qo})}}return De}}const _l=/x/.unicode!=null?"gu":"g",Al=new RegExp(`[\0-\b
-\x7F-\x9F\xAD\u061C\u200B\u200E\u200F\u2028\u2029\u202D\u202E\u2066\u2067\u2069\uFEFF\uFFF9-\uFFFC]`,_l),Pl={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let Wi=null;function Mc(){var Ut;if(Wi==null&&typeof document<"u"&&document.body){let Q=document.body.style;Wi=((Ut=Q.tabSize)!==null&&Ut!==void 0?Ut:Q.MozTabSize)!=null}return Wi||!1}const Fc=r.Facet.define({combine(Ut){let Q=(0,r.combineConfig)(Ut,{render:null,specialChars:Al,addSpecialChars:null});return(Q.replaceTabs=!Mc())&&(Q.specialChars=new RegExp("	|"+Q.specialChars.source,_l)),Q.addSpecialChars&&(Q.specialChars=new RegExp(Q.specialChars.source+"|"+Q.addSpecialChars.source,_l)),Q}});function Ou(Ut={}){return[Fc.of(Ut),gu()]}let Rl=null;function gu(){return Rl||(Rl=Ft.fromClass(class{constructor(Ut){this.view=Ut,this.decorations=Ce.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(Ut.state.facet(Fc)),this.decorations=this.decorator.createDeco(Ut)}makeDecorator(Ut){return new Eo({regexp:Ut.specialChars,decoration:(Q,De,at)=>{let{doc:Dt}=De.state,zt=(0,r.codePointAt)(Q[0],0);if(zt==9){let Qn=Dt.lineAt(at),Cr=De.state.tabSize,wr=(0,r.countColumn)(Qn.text,Cr,at-Qn.from);return Ce.replace({widget:new kl((Cr-wr%Cr)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[zt]||(this.decorationCache[zt]=Ce.replace({widget:new Dl(Ut,zt)}))},boundary:Ut.replaceTabs?void 0:/[^]/})}update(Ut){let Q=Ut.state.facet(Fc);Ut.startState.facet(Fc)!=Q?(this.decorator=this.makeDecorator(Q),this.decorations=this.decorator.createDeco(Ut.view)):this.decorations=this.decorator.updateDeco(Ut,this.decorations)}},{decorations:Ut=>Ut.decorations}))}const Hl="\u2022";function Cl(Ut){return Ut>=32?Hl:Ut==10?"\u2424":String.fromCharCode(9216+Ut)}class Dl extends ht{constructor(Q,De){super(),this.options=Q,this.code=De}eq(Q){return Q.code==this.code}toDOM(Q){let De=Cl(this.code),at=Q.state.phrase("Control character")+" "+(Pl[this.code]||"0x"+this.code.toString(16)),Dt=this.options.render&&this.options.render(this.code,at,De);if(Dt)return Dt;let zt=document.createElement("span");return zt.textContent=De,zt.title=at,zt.setAttribute("aria-label",at),zt.className="cm-specialChar",zt}ignoreEvent(){return!1}}class kl extends ht{constructor(Q){super(),this.width=Q}eq(Q){return Q.width==this.width}toDOM(){let Q=document.createElement("span");return Q.textContent="	",Q.className="cm-tab",Q.style.width=this.width+"px",Q}ignoreEvent(){return!1}}const ll=null;function el(){return[ll,rr.of(Ut=>{var Q;return((Q=Ut.plugin(ll))===null||Q===void 0?void 0:Q.attrs)||null})]}function vc(){return oc}const Bl=Ce.line({class:"cm-activeLine"}),oc=Ft.fromClass(class{constructor(Ut){this.decorations=this.getDeco(Ut)}update(Ut){(Ut.docChanged||Ut.selectionSet)&&(this.decorations=this.getDeco(Ut.view))}getDeco(Ut){let Q=-1,De=[];for(let at of Ut.state.selection.ranges){let Dt=Ut.lineBlockAt(at.head);Dt.from>Q&&(De.push(Bl.range(Dt.from)),Q=Dt.from)}return Ce.set(De)}},{decorations:Ut=>Ut.decorations});class Wc extends ht{constructor(Q){super(),this.content=Q}toDOM(Q){let De=document.createElement("span");return De.className="cm-placeholder",De.style.pointerEvents="none",De.appendChild(typeof this.content=="string"?document.createTextNode(this.content):typeof this.content=="function"?this.content(Q):this.content.cloneNode(!0)),typeof this.content=="string"?De.setAttribute("aria-label","placeholder "+this.content):De.setAttribute("aria-hidden","true"),De}coordsAt(Q){let De=Q.firstChild?u(Q.firstChild):[];if(!De.length)return null;let at=window.getComputedStyle(Q.parentNode),Dt=p(De[0],at.direction!="rtl"),zt=parseInt(at.lineHeight);return Dt.bottom-Dt.top>zt*1.5?{left:Dt.left,right:Dt.right,top:Dt.top,bottom:Dt.top+zt}:Dt}ignoreEvent(){return!1}}function Ll(Ut){return Ft.fromClass(class{constructor(Q){this.view=Q,this.placeholder=Ut?Ce.set([Ce.widget({widget:new Wc(Ut),side:1}).range(0)]):Ce.none}get decorations(){return this.view.state.doc.length?Ce.none:this.placeholder}},{decorations:Q=>Q.decorations})}const Qa=2e3;function Eu(Ut,Q,De){let at=Math.min(Q.line,De.line),Dt=Math.max(Q.line,De.line),zt=[];if(Q.off>Qa||De.off>Qa||Q.col<0||De.col<0){let Qn=Math.min(Q.off,De.off),Cr=Math.max(Q.off,De.off);for(let wr=at;wr<=Dt;wr++){let No=Ut.doc.line(wr);No.length<=Cr&&zt.push(r.EditorSelection.range(No.from+Qn,No.to+Cr))}}else{let Qn=Math.min(Q.col,De.col),Cr=Math.max(Q.col,De.col);for(let wr=at;wr<=Dt;wr++){let No=Ut.doc.line(wr),Co=(0,r.findColumn)(No.text,Qn,Ut.tabSize,!0);if(Co<0)zt.push(r.EditorSelection.cursor(No.to));else{let Ro=(0,r.findColumn)(No.text,Cr,Ut.tabSize);zt.push(r.EditorSelection.range(No.from+Co,No.from+Ro))}}}return zt}function Ul(Ut,Q){let De=Ut.coordsAtPos(Ut.viewport.from);return De?Math.round(Math.abs((De.left-Q)/Ut.defaultCharacterWidth)):-1}function ql(Ut,Q){let De=Ut.posAtCoords({x:Q.clientX,y:Q.clientY},!1),at=Ut.state.doc.lineAt(De),Dt=De-at.from,zt=Dt>Qa?-1:Dt==at.length?Ul(Ut,Q.clientX):(0,r.countColumn)(at.text,Ut.state.tabSize,De-at.from);return{line:at.number,col:zt,off:Dt}}function Sc(Ut,Q){let De=ql(Ut,Q),at=Ut.state.selection;return De?{update(Dt){if(Dt.docChanged){let zt=Dt.changes.mapPos(Dt.startState.doc.line(De.line).from),Qn=Dt.state.doc.lineAt(zt);De={line:Qn.number,col:De.col,off:Math.min(De.off,Qn.length)},at=at.map(Dt.changes)}},get(Dt,zt,Qn){let Cr=ql(Ut,Dt);if(!Cr)return at;let wr=Eu(Ut.state,De,Cr);return wr.length?Qn?r.EditorSelection.create(wr.concat(at.ranges)):r.EditorSelection.create(wr):at}}:null}function Rc(Ut){let Q=(Ut==null?void 0:Ut.eventFilter)||(De=>De.altKey&&De.button==0);return Vi.mouseSelectionStyle.of((De,at)=>Q(at)?Sc(De,at):null)}const Mu=null,dc=null;function ec(Ut={}){let[Q,De]=Mu[Ut.key||"Alt"],at=Ft.fromClass(class{constructor(Dt){this.view=Dt,this.isDown=!1}set(Dt){this.isDown!=Dt&&(this.isDown=Dt,this.view.update([]))}},{eventObservers:{keydown(Dt){this.set(Dt.keyCode==Q||De(Dt))},keyup(Dt){(Dt.keyCode==Q||!De(Dt))&&this.set(!1)},mousemove(Dt){this.set(De(Dt))}}});return[at,Vi.contentAttributes.of(Dt=>{var zt;return!((zt=Dt.plugin(at))===null||zt===void 0)&&zt.isDown?dc:null})]}const tc="-10000px";class qc{constructor(Q,De,at,Dt){this.facet=De,this.createTooltipView=at,this.removeTooltipView=Dt,this.input=Q.state.facet(De),this.tooltips=this.input.filter(Qn=>Qn);let zt=null;this.tooltipViews=this.tooltips.map(Qn=>zt=at(Qn,zt))}update(Q,De){var at;let Dt=Q.state.facet(this.facet),zt=Dt.filter(wr=>wr);if(Dt===this.input){for(let wr of this.tooltipViews)wr.update&&wr.update(Q);return!1}let Qn=[],Cr=De?[]:null;for(let wr=0;wr<zt.length;wr++){let No=zt[wr],Co=-1;if(No){for(let Ro=0;Ro<this.tooltips.length;Ro++){let Qo=this.tooltips[Ro];Qo&&Qo.create==No.create&&(Co=Ro)}if(Co<0)Qn[wr]=this.createTooltipView(No,wr?Qn[wr-1]:null),Cr&&(Cr[wr]=!!No.above);else{let Ro=Qn[wr]=this.tooltipViews[Co];Cr&&(Cr[wr]=De[Co]),Ro.update&&Ro.update(Q)}}}for(let wr of this.tooltipViews)Qn.indexOf(wr)<0&&(this.removeTooltipView(wr),(at=wr.destroy)===null||at===void 0||at.call(wr));return De&&(Cr.forEach((wr,No)=>De[No]=wr),De.length=Cr.length),this.input=Dt,this.tooltips=zt,this.tooltipViews=Qn,!0}}function hu(Ut={}){return ac.of(Ut)}function Tc(Ut){let{win:Q}=Ut;return{top:0,left:0,bottom:Q.innerHeight,right:Q.innerWidth}}const ac=r.Facet.define({combine:Ut=>{var Q,De,at;return{position:he.ios?"absolute":((Q=Ut.find(Dt=>Dt.position))===null||Q===void 0?void 0:Q.position)||"fixed",parent:((De=Ut.find(Dt=>Dt.parent))===null||De===void 0?void 0:De.parent)||null,tooltipSpace:((at=Ut.find(Dt=>Dt.tooltipSpace))===null||at===void 0?void 0:at.tooltipSpace)||Tc}}}),sc=new WeakMap,wc=Ft.fromClass(class{constructor(Ut){this.view=Ut,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let Q=Ut.state.facet(ac);this.position=Q.position,this.parent=Q.parent,this.classes=Ut.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new qc(Ut,Yl,(De,at)=>this.createTooltip(De,at),De=>{this.resizeObserver&&this.resizeObserver.unobserve(De.dom),De.dom.remove()}),this.above=this.manager.tooltips.map(De=>!!De.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(De=>{Date.now()>this.lastTransaction-50&&De.length>0&&De[De.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),Ut.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let Ut of this.manager.tooltipViews)this.intersectionObserver.observe(Ut.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(Ut){Ut.transactions.length&&(this.lastTransaction=Date.now());let Q=this.manager.update(Ut,this.above);Q&&this.observeIntersection();let De=Q||Ut.geometryChanged,at=Ut.state.facet(ac);if(at.position!=this.position&&!this.madeAbsolute){this.position=at.position;for(let Dt of this.manager.tooltipViews)Dt.dom.style.position=this.position;De=!0}if(at.parent!=this.parent){this.parent&&this.container.remove(),this.parent=at.parent,this.createContainer();for(let Dt of this.manager.tooltipViews)this.container.appendChild(Dt.dom);De=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);De&&this.maybeMeasure()}createTooltip(Ut,Q){let De=Ut.create(this.view),at=Q?Q.dom:null;if(De.dom.classList.add("cm-tooltip"),Ut.arrow&&!De.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let Dt=document.createElement("div");Dt.className="cm-tooltip-arrow",De.dom.appendChild(Dt)}return De.dom.style.position=this.position,De.dom.style.top=tc,De.dom.style.left="0px",this.container.insertBefore(De.dom,at),De.mount&&De.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(De.dom),De}destroy(){var Ut,Q,De;this.view.win.removeEventListener("resize",this.measureSoon);for(let at of this.manager.tooltipViews)at.dom.remove(),(Ut=at.destroy)===null||Ut===void 0||Ut.call(at);this.parent&&this.container.remove(),(Q=this.resizeObserver)===null||Q===void 0||Q.disconnect(),(De=this.intersectionObserver)===null||De===void 0||De.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let Ut=this.view.dom.getBoundingClientRect(),Q=1,De=1,at=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:Dt}=this.manager.tooltipViews[0];if(he.gecko)at=Dt.offsetParent!=this.container.ownerDocument.body;else if(Dt.style.top==tc&&Dt.style.left=="0px"){let zt=Dt.getBoundingClientRect();at=Math.abs(zt.top+1e4)>1||Math.abs(zt.left)>1}}if(at||this.position=="absolute")if(this.parent){let Dt=this.parent.getBoundingClientRect();Dt.width&&Dt.height&&(Q=Dt.width/this.parent.offsetWidth,De=Dt.height/this.parent.offsetHeight)}else({scaleX:Q,scaleY:De}=this.view.viewState);return{editor:Ut,parent:this.parent?this.container.getBoundingClientRect():Ut,pos:this.manager.tooltips.map((Dt,zt)=>{let Qn=this.manager.tooltipViews[zt];return Qn.getCoords?Qn.getCoords(Dt.pos):this.view.coordsAtPos(Dt.pos)}),size:this.manager.tooltipViews.map(({dom:Dt})=>Dt.getBoundingClientRect()),space:this.view.state.facet(ac).tooltipSpace(this.view),scaleX:Q,scaleY:De,makeAbsolute:at}}writeMeasure(Ut){var Q;if(Ut.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let Cr of this.manager.tooltipViews)Cr.dom.style.position="absolute"}let{editor:De,space:at,scaleX:Dt,scaleY:zt}=Ut,Qn=[];for(let Cr=0;Cr<this.manager.tooltips.length;Cr++){let wr=this.manager.tooltips[Cr],No=this.manager.tooltipViews[Cr],{dom:Co}=No,Ro=Ut.pos[Cr],Qo=Ut.size[Cr];if(!Ro||Ro.bottom<=Math.max(De.top,at.top)||Ro.top>=Math.min(De.bottom,at.bottom)||Ro.right<Math.max(De.left,at.left)-.1||Ro.left>Math.min(De.right,at.right)+.1){Co.style.top=tc;continue}let ka=wr.arrow?No.dom.querySelector(".cm-tooltip-arrow"):null,Ca=ka?7:0,ls=Qo.right-Qo.left,vs=(Q=sc.get(No))!==null&&Q!==void 0?Q:Qo.bottom-Qo.top,Es=No.offset||Kc,fi=this.view.textDirection==vt.LTR,Bo=Qo.width>at.right-at.left?fi?at.left:at.right-Qo.width:fi?Math.max(at.left,Math.min(Ro.left-(ka?14:0)+Es.x,at.right-ls)):Math.min(Math.max(at.left,Ro.left-ls+(ka?14:0)-Es.x),at.right-ls),Hi=this.above[Cr];!wr.strictSide&&(Hi?Ro.top-(Qo.bottom-Qo.top)-Es.y<at.top:Ro.bottom+(Qo.bottom-Qo.top)+Es.y>at.bottom)&&Hi==at.bottom-Ro.bottom>Ro.top-at.top&&(Hi=this.above[Cr]=!Hi);let Qi=(Hi?Ro.top-at.top:at.bottom-Ro.bottom)-Ca;if(Qi<vs&&No.resize!==!1){if(Qi<this.view.defaultLineHeight){Co.style.top=tc;continue}sc.set(No,vs),Co.style.height=(vs=Qi)/zt+"px"}else Co.style.height&&(Co.style.height="");let Li=Hi?Ro.top-vs-Ca-Es.y:Ro.bottom+Ca+Es.y,Gl=Bo+ls;if(No.overlap!==!0)for(let Zl of Qn)Zl.left<Gl&&Zl.right>Bo&&Zl.top<Li+vs&&Zl.bottom>Li&&(Li=Hi?Zl.top-vs-2-Ca:Zl.bottom+Ca+2);if(this.position=="absolute"?(Co.style.top=(Li-Ut.parent.top)/zt+"px",Co.style.left=(Bo-Ut.parent.left)/Dt+"px"):(Co.style.top=Li/zt+"px",Co.style.left=Bo/Dt+"px"),ka){let Zl=Ro.left+(fi?Es.x:-Es.x)-(Bo+14-7);ka.style.left=Zl/Dt+"px"}No.overlap!==!0&&Qn.push({left:Bo,top:Li,right:Gl,bottom:Li+vs}),Co.classList.toggle("cm-tooltip-above",Hi),Co.classList.toggle("cm-tooltip-below",!Hi),No.positioned&&No.positioned(Ut.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let Ut of this.manager.tooltipViews)Ut.dom.style.top=tc}},{eventObservers:{scroll(){this.maybeMeasure()}}}),Nc=Vi.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),Kc={x:0,y:0},Yl=r.Facet.define({enables:[wc,Nc]}),ou=r.Facet.define({combine:Ut=>Ut.reduce((Q,De)=>Q.concat(De),[])});class ur{static create(Q){return new ur(Q)}constructor(Q){this.view=Q,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new qc(Q,ou,(De,at)=>this.createHostedView(De,at),De=>De.dom.remove())}createHostedView(Q,De){let at=Q.create(this.view);return at.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(at.dom,De?De.dom.nextSibling:this.dom.firstChild),this.mounted&&at.mount&&at.mount(this.view),at}mount(Q){for(let De of this.manager.tooltipViews)De.mount&&De.mount(Q);this.mounted=!0}positioned(Q){for(let De of this.manager.tooltipViews)De.positioned&&De.positioned(Q)}update(Q){this.manager.update(Q)}destroy(){var Q;for(let De of this.manager.tooltipViews)(Q=De.destroy)===null||Q===void 0||Q.call(De)}passProp(Q){let De;for(let at of this.manager.tooltipViews){let Dt=at[Q];if(Dt!==void 0){if(De===void 0)De=Dt;else if(De!==Dt)return}}return De}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const Xr=Yl.compute([ou],Ut=>{let Q=Ut.facet(ou);return Q.length===0?null:{pos:Math.min(...Q.map(De=>De.pos)),end:Math.max(...Q.map(De=>{var at;return(at=De.end)!==null&&at!==void 0?at:De.pos})),create:ur.create,above:Q[0].above,arrow:Q.some(De=>De.arrow)}});class Fr{constructor(Q,De,at,Dt,zt){this.view=Q,this.source=De,this.field=at,this.setHover=Dt,this.hoverTime=zt,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:Q.dom,time:0},this.checkHover=this.checkHover.bind(this),Q.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),Q.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let Q=Date.now()-this.lastMove.time;Q<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-Q):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:Q,lastMove:De}=this,at=Q.docView.nearest(De.target);if(!at)return;let Dt,zt=1;if(at instanceof _e)Dt=at.posAtStart;else{if(Dt=Q.posAtCoords(De),Dt==null)return;let Cr=Q.coordsAtPos(Dt);if(!Cr||De.y<Cr.top||De.y>Cr.bottom||De.x<Cr.left-Q.defaultCharacterWidth||De.x>Cr.right+Q.defaultCharacterWidth)return;let wr=Q.bidiSpans(Q.state.doc.lineAt(Dt)).find(Co=>Co.from<=Dt&&Co.to>=Dt),No=wr&&wr.dir==vt.RTL?-1:1;zt=De.x<Cr.left?-No:No}let Qn=this.source(Q,Dt,zt);if(Qn!=null&&Qn.then){let Cr=this.pending={pos:Dt};Qn.then(wr=>{this.pending==Cr&&(this.pending=null,wr&&!(Array.isArray(wr)&&!wr.length)&&Q.dispatch({effects:this.setHover.of(Array.isArray(wr)?wr:[wr])}))},wr=>qe(Q.state,wr,"hover tooltip"))}else Qn&&!(Array.isArray(Qn)&&!Qn.length)&&Q.dispatch({effects:this.setHover.of(Array.isArray(Qn)?Qn:[Qn])})}get tooltip(){let Q=this.view.plugin(wc),De=Q?Q.manager.tooltips.findIndex(at=>at.create==ur.create):-1;return De>-1?Q.manager.tooltipViews[De]:null}mousemove(Q){var De,at;this.lastMove={x:Q.clientX,y:Q.clientY,target:Q.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:Dt,tooltip:zt}=this;if(Dt.length&&zt&&!Ge(zt.dom,Q)||this.pending){let{pos:Qn}=Dt[0]||this.pending,Cr=(at=(De=Dt[0])===null||De===void 0?void 0:De.end)!==null&&at!==void 0?at:Qn;(Qn==Cr?this.view.posAtCoords(this.lastMove)!=Qn:!An(this.view,Qn,Cr,Q.clientX,Q.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(Q){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:De}=this;if(De.length){let{tooltip:at}=this;at&&at.dom.contains(Q.relatedTarget)?this.watchTooltipLeave(at.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(Q){let De=at=>{Q.removeEventListener("mouseleave",De),this.active.length&&!this.view.dom.contains(at.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};Q.addEventListener("mouseleave",De)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const kr=4;function Ge(Ut,Q){let{left:De,right:at,top:Dt,bottom:zt}=Ut.getBoundingClientRect(),Qn;if(Qn=Ut.querySelector(".cm-tooltip-arrow")){let Cr=Qn.getBoundingClientRect();Dt=Math.min(Cr.top,Dt),zt=Math.max(Cr.bottom,zt)}return Q.clientX>=De-kr&&Q.clientX<=at+kr&&Q.clientY>=Dt-kr&&Q.clientY<=zt+kr}function An(Ut,Q,De,at,Dt,zt){let Qn=Ut.scrollDOM.getBoundingClientRect(),Cr=Ut.documentTop+Ut.documentPadding.top+Ut.contentHeight;if(Qn.left>at||Qn.right<at||Qn.top>Dt||Math.min(Qn.bottom,Cr)<Dt)return!1;let wr=Ut.posAtCoords({x:at,y:Dt},!1);return wr>=Q&&wr<=De}function Yt(Ut,Q={}){let De=r.StateEffect.define(),at=r.StateField.define({create(){return[]},update(Dt,zt){if(Dt.length&&(Q.hideOnChange&&(zt.docChanged||zt.selection)?Dt=[]:Q.hideOn&&(Dt=Dt.filter(Qn=>!Q.hideOn(zt,Qn))),zt.docChanged)){let Qn=[];for(let Cr of Dt){let wr=zt.changes.mapPos(Cr.pos,-1,r.MapMode.TrackDel);if(wr!=null){let No=Object.assign(Object.create(null),Cr);No.pos=wr,No.end!=null&&(No.end=zt.changes.mapPos(No.end)),Qn.push(No)}}Dt=Qn}for(let Qn of zt.effects)Qn.is(De)&&(Dt=Qn.value),Qn.is(yo)&&(Dt=[]);return Dt},provide:Dt=>ou.from(Dt)});return{active:at,extension:[at,Ft.define(Dt=>new Fr(Dt,Ut,at,De,Q.hoverTime||300)),Xr]}}function fn(Ut,Q){let De=Ut.plugin(wc);if(!De)return null;let at=De.manager.tooltips.indexOf(Q);return at<0?null:De.manager.tooltipViews[at]}function Br(Ut){return Ut.facet(ou).some(Q=>Q)}const yo=r.StateEffect.define(),Jo=null;function sa(Ut){let Q=Ut.plugin(wc);Q&&Q.maybeMeasure()}const la=r.Facet.define({combine(Ut){let Q,De;for(let at of Ut)Q=Q||at.topContainer,De=De||at.bottomContainer;return{topContainer:Q,bottomContainer:De}}});function va(Ut){return Ut?[la.of(Ut)]:[]}function Ra(Ut,Q){let De=Ut.plugin(Ya),at=De?De.specs.indexOf(Q):-1;return at>-1?De.panels[at]:null}const Ya=Ft.fromClass(class{constructor(Ut){this.input=Ut.state.facet(Ds),this.specs=this.input.filter(De=>De),this.panels=this.specs.map(De=>De(Ut));let Q=Ut.state.facet(la);this.top=new wa(Ut,!0,Q.topContainer),this.bottom=new wa(Ut,!1,Q.bottomContainer),this.top.sync(this.panels.filter(De=>De.top)),this.bottom.sync(this.panels.filter(De=>!De.top));for(let De of this.panels)De.dom.classList.add("cm-panel"),De.mount&&De.mount()}update(Ut){let Q=Ut.state.facet(la);this.top.container!=Q.topContainer&&(this.top.sync([]),this.top=new wa(Ut.view,!0,Q.topContainer)),this.bottom.container!=Q.bottomContainer&&(this.bottom.sync([]),this.bottom=new wa(Ut.view,!1,Q.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let De=Ut.state.facet(Ds);if(De!=this.input){let at=De.filter(wr=>wr),Dt=[],zt=[],Qn=[],Cr=[];for(let wr of at){let No=this.specs.indexOf(wr),Co;No<0?(Co=wr(Ut.view),Cr.push(Co)):(Co=this.panels[No],Co.update&&Co.update(Ut)),Dt.push(Co),(Co.top?zt:Qn).push(Co)}this.specs=at,this.panels=Dt,this.top.sync(zt),this.bottom.sync(Qn);for(let wr of Cr)wr.dom.classList.add("cm-panel"),wr.mount&&wr.mount()}else for(let at of this.panels)at.update&&at.update(Ut)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:Ut=>Vi.scrollMargins.of(Q=>{let De=Q.plugin(Ut);return De&&{top:De.top.scrollMargin(),bottom:De.bottom.scrollMargin()}})});class wa{constructor(Q,De,at){this.view=Q,this.top=De,this.container=at,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(Q){for(let De of this.panels)De.destroy&&Q.indexOf(De)<0&&De.destroy();this.panels=Q,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let De=this.container||this.view.dom;De.insertBefore(this.dom,this.top?De.firstChild:null)}let Q=this.dom.firstChild;for(let De of this.panels)if(De.dom.parentNode==this.dom){for(;Q!=De.dom;)Q=xa(Q);Q=Q.nextSibling}else this.dom.insertBefore(De.dom,Q);for(;Q;)Q=xa(Q)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let Q of this.classes.split(" "))Q&&this.container.classList.remove(Q);for(let Q of(this.classes=this.view.themeClasses).split(" "))Q&&this.container.classList.add(Q)}}}function xa(Ut){let Q=Ut.nextSibling;return Ut.remove(),Q}const Ds=r.Facet.define({enables:Ya});class ws extends r.RangeValue{compare(Q){return this==Q||this.constructor==Q.constructor&&this.eq(Q)}eq(Q){return!1}destroy(Q){}}ws.prototype.elementClass="",ws.prototype.toDOM=void 0,ws.prototype.mapMode=r.MapMode.TrackBefore,ws.prototype.startSide=ws.prototype.endSide=-1,ws.prototype.point=!0;const Di=r.Facet.define(),ai=r.Facet.define(),yl={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>r.RangeSet.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},ml=r.Facet.define();function Ii(Ut){return[zi(),ml.of(Object.assign(Object.assign({},yl),Ut))]}const Xi=r.Facet.define({combine:Ut=>Ut.some(Q=>Q)});function zi(Ut){let Q=[Sl];return Ut&&Ut.fixed===!1&&Q.push(Xi.of(!0)),Q}const Sl=Ft.fromClass(class{constructor(Ut){this.view=Ut,this.prevViewport=Ut.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=Ut.state.facet(ml).map(Q=>new Zc(Ut,Q));for(let Q of this.gutters)this.dom.appendChild(Q.dom);this.fixed=!Ut.state.facet(Xi),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),Ut.scrollDOM.insertBefore(this.dom,Ut.contentDOM)}update(Ut){if(this.updateGutters(Ut)){let Q=this.prevViewport,De=Ut.view.viewport,at=Math.min(Q.to,De.to)-Math.max(Q.from,De.from);this.syncGutters(at<(De.to-De.from)*.8)}Ut.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(Xi)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=Ut.view.viewport}syncGutters(Ut){let Q=this.dom.nextSibling;Ut&&this.dom.remove();let De=r.RangeSet.iter(this.view.state.facet(Di),this.view.viewport.from),at=[],Dt=this.gutters.map(zt=>new yc(zt,this.view.viewport,-this.view.documentPadding.top));for(let zt of this.view.viewportLineBlocks)if(at.length&&(at=[]),Array.isArray(zt.type)){let Qn=!0;for(let Cr of zt.type)if(Cr.type==Ne.Text&&Qn){Xl(De,at,Cr.from);for(let wr of Dt)wr.line(this.view,Cr,at);Qn=!1}else if(Cr.widget)for(let wr of Dt)wr.widget(this.view,Cr)}else if(zt.type==Ne.Text){Xl(De,at,zt.from);for(let Qn of Dt)Qn.line(this.view,zt,at)}else if(zt.widget)for(let Qn of Dt)Qn.widget(this.view,zt);for(let zt of Dt)zt.finish();Ut&&this.view.scrollDOM.insertBefore(this.dom,Q)}updateGutters(Ut){let Q=Ut.startState.facet(ml),De=Ut.state.facet(ml),at=Ut.docChanged||Ut.heightChanged||Ut.viewportChanged||!r.RangeSet.eq(Ut.startState.facet(Di),Ut.state.facet(Di),Ut.view.viewport.from,Ut.view.viewport.to);if(Q==De)for(let Dt of this.gutters)Dt.update(Ut)&&(at=!0);else{at=!0;let Dt=[];for(let zt of De){let Qn=Q.indexOf(zt);Qn<0?Dt.push(new Zc(this.view,zt)):(this.gutters[Qn].update(Ut),Dt.push(this.gutters[Qn]))}for(let zt of this.gutters)zt.dom.remove(),Dt.indexOf(zt)<0&&zt.destroy();for(let zt of Dt)this.dom.appendChild(zt.dom);this.gutters=Dt}return at}destroy(){for(let Ut of this.gutters)Ut.destroy();this.dom.remove()}},{provide:Ut=>Vi.scrollMargins.of(Q=>{let De=Q.plugin(Ut);return!De||De.gutters.length==0||!De.fixed?null:Q.textDirection==vt.LTR?{left:De.dom.offsetWidth*Q.scaleX}:{right:De.dom.offsetWidth*Q.scaleX}})});function gc(Ut){return Array.isArray(Ut)?Ut:[Ut]}function Xl(Ut,Q,De){for(;Ut.value&&Ut.from<=De;)Ut.from==De&&Q.push(Ut.value),Ut.next()}class yc{constructor(Q,De,at){this.gutter=Q,this.height=at,this.i=0,this.cursor=r.RangeSet.iter(Q.markers,De.from)}addElement(Q,De,at){let{gutter:Dt}=this,zt=(De.top-this.height)/Q.scaleY,Qn=De.height/Q.scaleY;if(this.i==Dt.elements.length){let Cr=new Rd(Q,Qn,zt,at);Dt.elements.push(Cr),Dt.dom.appendChild(Cr.dom)}else Dt.elements[this.i].update(Q,Qn,zt,at);this.height=De.bottom,this.i++}line(Q,De,at){let Dt=[];Xl(this.cursor,Dt,De.from),at.length&&(Dt=Dt.concat(at));let zt=this.gutter.config.lineMarker(Q,De,Dt);zt&&Dt.unshift(zt);let Qn=this.gutter;Dt.length==0&&!Qn.config.renderEmptyElements||this.addElement(Q,De,Dt)}widget(Q,De){let at=this.gutter.config.widgetMarker(Q,De.widget,De),Dt=at?[at]:null;for(let zt of Q.state.facet(ai)){let Qn=zt(Q,De.widget,De);Qn&&(Dt||(Dt=[])).push(Qn)}Dt&&this.addElement(Q,De,Dt)}finish(){let Q=this.gutter;for(;Q.elements.length>this.i;){let De=Q.elements.pop();Q.dom.removeChild(De.dom),De.destroy()}}}class Zc{constructor(Q,De){this.view=Q,this.config=De,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let at in De.domEventHandlers)this.dom.addEventListener(at,Dt=>{let zt=Dt.target,Qn;if(zt!=this.dom&&this.dom.contains(zt)){for(;zt.parentNode!=this.dom;)zt=zt.parentNode;let wr=zt.getBoundingClientRect();Qn=(wr.top+wr.bottom)/2}else Qn=Dt.clientY;let Cr=Q.lineBlockAtHeight(Qn-Q.documentTop);De.domEventHandlers[at](Q,Cr,Dt)&&Dt.preventDefault()});this.markers=gc(De.markers(Q)),De.initialSpacer&&(this.spacer=new Rd(Q,0,0,[De.initialSpacer(Q)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(Q){let De=this.markers;if(this.markers=gc(this.config.markers(Q.view)),this.spacer&&this.config.updateSpacer){let Dt=this.config.updateSpacer(this.spacer.markers[0],Q);Dt!=this.spacer.markers[0]&&this.spacer.update(Q.view,0,0,[Dt])}let at=Q.view.viewport;return!r.RangeSet.eq(this.markers,De,at.from,at.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(Q):!1)}destroy(){for(let Q of this.elements)Q.destroy()}}class Rd{constructor(Q,De,at,Dt){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(Q,De,at,Dt)}update(Q,De,at,Dt){this.height!=De&&(this.height=De,this.dom.style.height=De+"px"),this.above!=at&&(this.dom.style.marginTop=(this.above=at)?at+"px":""),_u(this.markers,Dt)||this.setMarkers(Q,Dt)}setMarkers(Q,De){let at="cm-gutterElement",Dt=this.dom.firstChild;for(let zt=0,Qn=0;;){let Cr=Qn,wr=zt<De.length?De[zt++]:null,No=!1;if(wr){let Co=wr.elementClass;Co&&(at+=" "+Co);for(let Ro=Qn;Ro<this.markers.length;Ro++)if(this.markers[Ro].compare(wr)){Cr=Ro,No=!0;break}}else Cr=this.markers.length;for(;Qn<Cr;){let Co=this.markers[Qn++];if(Co.toDOM){Co.destroy(Dt);let Ro=Dt.nextSibling;Dt.remove(),Dt=Ro}}if(!wr)break;wr.toDOM&&(No?Dt=Dt.nextSibling:this.dom.insertBefore(wr.toDOM(Q),Dt)),No&&Qn++}this.dom.className=at,this.markers=De}destroy(){this.setMarkers(null,[])}}function _u(Ut,Q){if(Ut.length!=Q.length)return!1;for(let De=0;De<Ut.length;De++)if(!Ut[De].compare(Q[De]))return!1;return!0}const td=r.Facet.define(),Hu=r.Facet.define(),Ru=r.Facet.define({combine(Ut){return(0,r.combineConfig)(Ut,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(Q,De){let at=Object.assign({},Q);for(let Dt in De){let zt=at[Dt],Qn=De[Dt];at[Dt]=zt?(Cr,wr,No)=>zt(Cr,wr,No)||Qn(Cr,wr,No):Qn}return at}})}});class Pu extends ws{constructor(Q){super(),this.number=Q}eq(Q){return this.number==Q.number}toDOM(){return document.createTextNode(this.number)}}function Oc(Ut,Q){return Ut.state.facet(Ru).formatNumber(Q,Ut.state)}const vf=ml.compute([Ru],Ut=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(Q){return Q.state.facet(td)},lineMarker(Q,De,at){return at.some(Dt=>Dt.toDOM)?null:new Pu(Oc(Q,Q.state.doc.lineAt(De.from).number))},widgetMarker:(Q,De,at)=>{for(let Dt of Q.state.facet(Hu)){let zt=Dt(Q,De,at);if(zt)return zt}return null},lineMarkerChange:Q=>Q.startState.facet(Ru)!=Q.state.facet(Ru),initialSpacer(Q){return new Pu(Oc(Q,ld(Q.state.doc.lines)))},updateSpacer(Q,De){let at=Oc(De.view,ld(De.view.state.doc.lines));return at==Q.number?Q:new Pu(at)},domEventHandlers:Ut.facet(Ru).domEventHandlers}));function nd(Ut={}){return[Ru.of(Ut),zi(),vf]}function ld(Ut){let Q=9;for(;Q<Ut;)Q=Q*10+9;return Q}const Wl=new class extends ws{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},Ql=Di.compute(["selection"],Ut=>{let Q=[],De=-1;for(let at of Ut.selection.ranges){let Dt=Ut.doc.lineAt(at.head).from;Dt>De&&(De=Dt,Q.push(Wl.range(Dt)))}return r.RangeSet.of(Q)});function gd(){return Ql}function rd(Ut){return Ft.define(Q=>({decorations:Ut.createDeco(Q),update(De){this.decorations=Ut.updateDeco(De,this.decorations)}}),{decorations:Q=>Q.decorations})}const Zu=Ce.mark({class:"cm-highlightTab"}),Cu=Ce.mark({class:"cm-highlightSpace"}),eu=rd(new Eo({regexp:/\t| /g,decoration:Ut=>Ut[0]=="	"?Zu:Cu,boundary:/\S/}));function Uu(){return eu}const Bc=rd(new Eo({regexp:/\s+$/g,decoration:Ce.mark({class:"cm-trailingSpace"}),boundary:/\S/}));function Ed(){return Bc}const Fu=null},261247:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>o._default});var r=e(812756),o=e(342334)},928946:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>o._default});var r=e(26550),o=e(248586)},886780:function(b,l,e){"use strict";e.d(l,{Z:()=>o._default});var r=e(599721),o=e(533895)},226500:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>o._default});var r=e(166526),o=e(652411)},533036:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>o._default});var r=e(267393),o=e(674201)},162569:function(b,l,e){"use strict";e.r(l),e.d(l,{CacheProvider:()=>r.CacheProvider,ClassNames:()=>r.ClassNames,Global:()=>r.Global,ThemeContext:()=>r.ThemeContext,ThemeProvider:()=>r.ThemeProvider,__unsafe_useEmotionCache:()=>r.__unsafe_useEmotionCache,createElement:()=>r.createElement,css:()=>r.css,jsx:()=>r.jsx,keyframes:()=>r.keyframes,useTheme:()=>r.useTheme,withEmotionCache:()=>r.withEmotionCache,withTheme:()=>r.withTheme});var r=e(517629)},610609:function(b,l,e){"use strict";e.r(l),e.d(l,{serializeStyles:()=>r.serializeStyles});var r=e(845646)},603059:function(b,l,e){"use strict";e.r(l),e.d(l,{StyleSheet:()=>r.StyleSheet});var r=e(826582)},896070:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>o._default});var r=e(104180),o=e(766769)},268452:function(b,l,e){"use strict";e.r(l),e.d(l,{useInsertionEffectAlwaysWithSyncFallback:()=>r.useInsertionEffectAlwaysWithSyncFallback,useInsertionEffectWithLayoutFallback:()=>r.useInsertionEffectWithLayoutFallback});var r=e(258235)},176310:function(b,l,e){"use strict";e.r(l),e.d(l,{getRegisteredStyles:()=>r.getRegisteredStyles,insertStyles:()=>r.insertStyles,registerStyles:()=>r.registerStyles});var r=e(892193)},955621:function(b,l,e){"use strict";e.r(l),e.d(l,{default:()=>o._default});var r=e(606898),o=e(539975)},571531:function(b,l,e){"use strict";e.d(l,{Cp:()=>g,Qo:()=>y,RR:()=>f,US:()=>a,X5:()=>u,cv:()=>P,dp:()=>S,dr:()=>A,oo:()=>n,uY:()=>C,x7:()=>i});var r=e(585724);function o(T,s,v){let{reference:m,floating:E}=T;const I=(0,r.Qq)(s),L=(0,r.Wh)(s),W=(0,r.I4)(L),F=(0,r.k3)(s),G=I==="y",k=m.x+m.width/2-E.width/2,x=m.y+m.height/2-E.height/2,M=m[W]/2-E[W]/2;let B;switch(F){case"top":B={x:k,y:m.y-E.height};break;case"bottom":B={x:k,y:m.y+m.height};break;case"right":B={x:m.x+m.width,y:x};break;case"left":B={x:m.x-E.width,y:x};break;default:B={x:m.x,y:m.y}}switch((0,r.hp)(s)){case"start":B[L]-=M*(v&&G?-1:1);break;case"end":B[L]+=M*(v&&G?-1:1);break}return B}const n=async(T,s,v)=>{const{placement:m="bottom",strategy:E="absolute",middleware:I=[],platform:L}=v,W=I.filter(Boolean),F=await(L.isRTL==null?void 0:L.isRTL(s));let G=await L.getElementRects({reference:T,floating:s,strategy:E}),{x:k,y:x}=o(G,m,F),M=m,B={},R=0;for(let U=0;U<W.length;U++){const{name:j,fn:$}=W[U],{x:ee,y:te,data:ie,reset:ne}=await $({x:k,y:x,initialPlacement:m,placement:M,strategy:E,middlewareData:B,rects:G,platform:L,elements:{reference:T,floating:s}});if(k=ee??k,x=te??x,B={...B,[j]:{...B[j],...ie}},ne&&R<=50){R++,typeof ne=="object"&&(ne.placement&&(M=ne.placement),ne.rects&&(G=ne.rects===!0?await L.getElementRects({reference:T,floating:s,strategy:E}):ne.rects),{x:k,y:x}=o(G,M,F)),U=-1;continue}}return{x:k,y:x,placement:M,strategy:E,middlewareData:B}};async function a(T,s){var v;s===void 0&&(s={});const{x:m,y:E,platform:I,rects:L,elements:W,strategy:F}=T,{boundary:G="clippingAncestors",rootBoundary:k="viewport",elementContext:x="floating",altBoundary:M=!1,padding:B=0}=(0,r.ku)(s,T),R=(0,r.yd)(B),j=W[M?x==="floating"?"reference":"floating":x],$=(0,r.JB)(await I.getClippingRect({element:(v=await(I.isElement==null?void 0:I.isElement(j)))==null||v?j:j.contextElement||await(I.getDocumentElement==null?void 0:I.getDocumentElement(W.floating)),boundary:G,rootBoundary:k,strategy:F})),ee=x==="floating"?{...L.floating,x:m,y:E}:L.reference,te=await(I.getOffsetParent==null?void 0:I.getOffsetParent(W.floating)),ie=await(I.isElement==null?void 0:I.isElement(te))?await(I.getScale==null?void 0:I.getScale(te))||{x:1,y:1}:{x:1,y:1},ne=(0,r.JB)(I.convertOffsetParentRelativeRectToViewportRelativeRect?await I.convertOffsetParentRelativeRectToViewportRelativeRect({rect:ee,offsetParent:te,strategy:F}):ee);return{top:($.top-ne.top+R.top)/ie.y,bottom:(ne.bottom-$.bottom+R.bottom)/ie.y,left:($.left-ne.left+R.left)/ie.x,right:(ne.right-$.right+R.right)/ie.x}}const i=T=>({name:"arrow",options:T,async fn(s){const{x:v,y:m,placement:E,rects:I,platform:L,elements:W,middlewareData:F}=s,{element:G,padding:k=0}=(0,r.ku)(T,s)||{};if(G==null)return{};const x=(0,r.yd)(k),M={x:v,y:m},B=(0,r.Wh)(E),R=(0,r.I4)(B),U=await L.getDimensions(G),j=B==="y",$=j?"top":"left",ee=j?"bottom":"right",te=j?"clientHeight":"clientWidth",ie=I.reference[R]+I.reference[B]-M[B]-I.floating[R],ne=M[B]-I.reference[B],pe=await(L.getOffsetParent==null?void 0:L.getOffsetParent(G));let oe=pe?pe[te]:0;(!oe||!await(L.isElement==null?void 0:L.isElement(pe)))&&(oe=W.floating[te]||I.floating[R]);const q=ie/2-ne/2,J=oe/2-U[R]/2-1,me=(0,r.VV)(x[$],J),re=(0,r.VV)(x[ee],J),he=me,Ee=oe-U[R]-re,fe=oe/2-U[R]/2+q,H=(0,r.uZ)(he,fe,Ee),z=!F.arrow&&(0,r.hp)(E)!=null&&fe!=H&&I.reference[R]/2-(fe<he?me:re)-U[R]/2<0,_e=z?fe<he?fe-he:fe-Ee:0;return{[B]:M[B]+_e,data:{[B]:H,centerOffset:fe-H-_e,...z&&{alignmentOffset:_e}},reset:z}}});function c(T,s,v){return(T?[...v.filter(E=>(0,r.hp)(E)===T),...v.filter(E=>(0,r.hp)(E)!==T)]:v.filter(E=>(0,r.k3)(E)===E)).filter(E=>T?(0,r.hp)(E)===T||(s?(0,r.Go)(E)!==E:!1):!0)}const u=function(T){return T===void 0&&(T={}),{name:"autoPlacement",options:T,async fn(s){var v,m,E;const{rects:I,middlewareData:L,placement:W,platform:F,elements:G}=s,{crossAxis:k=!1,alignment:x,allowedPlacements:M=r.Ct,autoAlignment:B=!0,...R}=(0,r.ku)(T,s),U=x!==void 0||M===r.Ct?c(x||null,B,M):M,j=await a(s,R),$=((v=L.autoPlacement)==null?void 0:v.index)||0,ee=U[$];if(ee==null)return{};const te=(0,r.i8)(ee,I,await(F.isRTL==null?void 0:F.isRTL(G.floating)));if(W!==ee)return{reset:{placement:U[0]}};const ie=[j[(0,r.k3)(ee)],j[te[0]],j[te[1]]],ne=[...((m=L.autoPlacement)==null?void 0:m.overflows)||[],{placement:ee,overflows:ie}],pe=U[$+1];if(pe)return{data:{index:$+1,overflows:ne},reset:{placement:pe}};const oe=ne.map(me=>{const re=(0,r.hp)(me.placement);return[me.placement,re&&k?me.overflows.slice(0,2).reduce((he,Ee)=>he+Ee,0):me.overflows[0],me.overflows]}).sort((me,re)=>me[1]-re[1]),J=((E=oe.filter(me=>me[2].slice(0,(0,r.hp)(me[0])?2:3).every(re=>re<=0))[0])==null?void 0:E[0])||oe[0][0];return J!==W?{data:{index:$+1,overflows:ne},reset:{placement:J}}:{}}}},f=function(T){return T===void 0&&(T={}),{name:"flip",options:T,async fn(s){var v,m;const{placement:E,middlewareData:I,rects:L,initialPlacement:W,platform:F,elements:G}=s,{mainAxis:k=!0,crossAxis:x=!0,fallbackPlacements:M,fallbackStrategy:B="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:U=!0,...j}=(0,r.ku)(T,s);if((v=I.arrow)!=null&&v.alignmentOffset)return{};const $=(0,r.k3)(E),ee=(0,r.k3)(W)===W,te=await(F.isRTL==null?void 0:F.isRTL(G.floating)),ie=M||(ee||!U?[(0,r.pw)(W)]:(0,r.gy)(W));!M&&R!=="none"&&ie.push(...(0,r.KX)(W,U,R,te));const ne=[W,...ie],pe=await a(s,j),oe=[];let q=((m=I.flip)==null?void 0:m.overflows)||[];if(k&&oe.push(pe[$]),x){const he=(0,r.i8)(E,L,te);oe.push(pe[he[0]],pe[he[1]])}if(q=[...q,{placement:E,overflows:oe}],!oe.every(he=>he<=0)){var J,me;const he=(((J=I.flip)==null?void 0:J.index)||0)+1,Ee=ne[he];if(Ee)return{data:{index:he,overflows:q},reset:{placement:Ee}};let fe=(me=q.filter(H=>H.overflows[0]<=0).sort((H,z)=>H.overflows[1]-z.overflows[1])[0])==null?void 0:me.placement;if(!fe)switch(B){case"bestFit":{var re;const H=(re=q.map(z=>[z.placement,z.overflows.filter(_e=>_e>0).reduce((_e,ae)=>_e+ae,0)]).sort((z,_e)=>z[1]-_e[1])[0])==null?void 0:re[0];H&&(fe=H);break}case"initialPlacement":fe=W;break}if(E!==fe)return{reset:{placement:fe}}}return{}}}};function d(T,s){return{top:T.top-s.height,right:T.right-s.width,bottom:T.bottom-s.height,left:T.left-s.width}}function h(T){return r.mA.some(s=>T[s]>=0)}const g=function(T){return T===void 0&&(T={}),{name:"hide",options:T,async fn(s){const{rects:v}=s,{strategy:m="referenceHidden",...E}=(0,r.ku)(T,s);switch(m){case"referenceHidden":{const I=await a(s,{...E,elementContext:"reference"}),L=d(I,v.reference);return{data:{referenceHiddenOffsets:L,referenceHidden:h(L)}}}case"escaped":{const I=await a(s,{...E,altBoundary:!0}),L=d(I,v.floating);return{data:{escapedOffsets:L,escaped:h(L)}}}default:return{}}}}};function _(T){const s=(0,r.VV)(...T.map(I=>I.left)),v=(0,r.VV)(...T.map(I=>I.top)),m=(0,r.Fp)(...T.map(I=>I.right)),E=(0,r.Fp)(...T.map(I=>I.bottom));return{x:s,y:v,width:m-s,height:E-v}}function p(T){const s=T.slice().sort((E,I)=>E.y-I.y),v=[];let m=null;for(let E=0;E<s.length;E++){const I=s[E];!m||I.y-m.y>m.height/2?v.push([I]):v[v.length-1].push(I),m=I}return v.map(E=>(0,r.JB)(_(E)))}const y=function(T){return T===void 0&&(T={}),{name:"inline",options:T,async fn(s){const{placement:v,elements:m,rects:E,platform:I,strategy:L}=s,{padding:W=2,x:F,y:G}=(0,r.ku)(T,s),k=Array.from(await(I.getClientRects==null?void 0:I.getClientRects(m.reference))||[]),x=p(k),M=(0,r.JB)(_(k)),B=(0,r.yd)(W);function R(){if(x.length===2&&x[0].left>x[1].right&&F!=null&&G!=null)return x.find(j=>F>j.left-B.left&&F<j.right+B.right&&G>j.top-B.top&&G<j.bottom+B.bottom)||M;if(x.length>=2){if((0,r.Qq)(v)==="y"){const me=x[0],re=x[x.length-1],he=(0,r.k3)(v)==="top",Ee=me.top,fe=re.bottom,H=he?me.left:re.left,z=he?me.right:re.right,_e=z-H,ae=fe-Ee;return{top:Ee,bottom:fe,left:H,right:z,width:_e,height:ae,x:H,y:Ee}}const j=(0,r.k3)(v)==="left",$=(0,r.Fp)(...x.map(me=>me.right)),ee=(0,r.VV)(...x.map(me=>me.left)),te=x.filter(me=>j?me.left===ee:me.right===$),ie=te[0].top,ne=te[te.length-1].bottom,pe=ee,oe=$,q=oe-pe,J=ne-ie;return{top:ie,bottom:ne,left:pe,right:oe,width:q,height:J,x:pe,y:ie}}return M}const U=await I.getElementRects({reference:{getBoundingClientRect:R},floating:m.floating,strategy:L});return E.reference.x!==U.reference.x||E.reference.y!==U.reference.y||E.reference.width!==U.reference.width||E.reference.height!==U.reference.height?{reset:{rects:U}}:{}}}};async function O(T,s){const{placement:v,platform:m,elements:E}=T,I=await(m.isRTL==null?void 0:m.isRTL(E.floating)),L=(0,r.k3)(v),W=(0,r.hp)(v),F=(0,r.Qq)(v)==="y",G=["left","top"].includes(L)?-1:1,k=I&&F?-1:1,x=(0,r.ku)(s,T);let{mainAxis:M,crossAxis:B,alignmentAxis:R}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...x};return W&&typeof R=="number"&&(B=W==="end"?R*-1:R),F?{x:B*k,y:M*G}:{x:M*G,y:B*k}}const P=function(T){return T===void 0&&(T=0),{name:"offset",options:T,async fn(s){var v,m;const{x:E,y:I,placement:L,middlewareData:W}=s,F=await O(s,T);return L===((v=W.offset)==null?void 0:v.placement)&&(m=W.arrow)!=null&&m.alignmentOffset?{}:{x:E+F.x,y:I+F.y,data:{...F,placement:L}}}}},C=function(T){return T===void 0&&(T={}),{name:"shift",options:T,async fn(s){const{x:v,y:m,placement:E}=s,{mainAxis:I=!0,crossAxis:L=!1,limiter:W={fn:j=>{let{x:$,y:ee}=j;return{x:$,y:ee}}},...F}=(0,r.ku)(T,s),G={x:v,y:m},k=await a(s,F),x=(0,r.Qq)((0,r.k3)(E)),M=(0,r.Rn)(x);let B=G[M],R=G[x];if(I){const j=M==="y"?"top":"left",$=M==="y"?"bottom":"right",ee=B+k[j],te=B-k[$];B=(0,r.uZ)(ee,B,te)}if(L){const j=x==="y"?"top":"left",$=x==="y"?"bottom":"right",ee=R+k[j],te=R-k[$];R=(0,r.uZ)(ee,R,te)}const U=W.fn({...s,[M]:B,[x]:R});return{...U,data:{x:U.x-v,y:U.y-m}}}}},A=function(T){return T===void 0&&(T={}),{options:T,fn(s){const{x:v,y:m,placement:E,rects:I,middlewareData:L}=s,{offset:W=0,mainAxis:F=!0,crossAxis:G=!0}=(0,r.ku)(T,s),k={x:v,y:m},x=(0,r.Qq)(E),M=(0,r.Rn)(x);let B=k[M],R=k[x];const U=(0,r.ku)(W,s),j=typeof U=="number"?{mainAxis:U,crossAxis:0}:{mainAxis:0,crossAxis:0,...U};if(F){const te=M==="y"?"height":"width",ie=I.reference[M]-I.floating[te]+j.mainAxis,ne=I.reference[M]+I.reference[te]-j.mainAxis;B<ie?B=ie:B>ne&&(B=ne)}if(G){var $,ee;const te=M==="y"?"width":"height",ie=["top","left"].includes((0,r.k3)(E)),ne=I.reference[x]-I.floating[te]+(ie&&(($=L.offset)==null?void 0:$[x])||0)+(ie?0:j.crossAxis),pe=I.reference[x]+I.reference[te]+(ie?0:((ee=L.offset)==null?void 0:ee[x])||0)-(ie?j.crossAxis:0);R<ne?R=ne:R>pe&&(R=pe)}return{[M]:B,[x]:R}}}},S=function(T){return T===void 0&&(T={}),{name:"size",options:T,async fn(s){const{placement:v,rects:m,platform:E,elements:I}=s,{apply:L=()=>{},...W}=(0,r.ku)(T,s),F=await a(s,W),G=(0,r.k3)(v),k=(0,r.hp)(v),x=(0,r.Qq)(v)==="y",{width:M,height:B}=m.floating;let R,U;G==="top"||G==="bottom"?(R=G,U=k===(await(E.isRTL==null?void 0:E.isRTL(I.floating))?"start":"end")?"left":"right"):(U=G,R=k==="end"?"top":"bottom");const j=B-F[R],$=M-F[U],ee=!s.middlewareData.shift;let te=j,ie=$;if(x){const pe=M-F.left-F.right;ie=k||ee?(0,r.VV)($,pe):pe}else{const pe=B-F.top-F.bottom;te=k||ee?(0,r.VV)(j,pe):pe}if(ee&&!k){const pe=(0,r.Fp)(F.left,0),oe=(0,r.Fp)(F.right,0),q=(0,r.Fp)(F.top,0),J=(0,r.Fp)(F.bottom,0);x?ie=M-2*(pe!==0||oe!==0?pe+oe:(0,r.Fp)(F.left,F.right)):te=B-2*(q!==0||J!==0?q+J:(0,r.Fp)(F.top,F.bottom))}await L({...s,availableWidth:ie,availableHeight:te});const ne=await E.getDimensions(I.floating);return M!==ne.width||B!==ne.height?{reset:{rects:!0}}:{}}}}},490167:function(b,l,e){"use strict";e.d(l,{Cp:()=>R,Jv:()=>W,Me:()=>G,Qo:()=>j,RR:()=>M,X5:()=>k,dp:()=>B,dr:()=>$,oo:()=>ee,uY:()=>x,x7:()=>U});var r=e(585724),o=e(571531),n=e(708112);function a(te){const ie=(0,n.Dx)(te);let ne=parseFloat(ie.width)||0,pe=parseFloat(ie.height)||0;const oe=(0,n.Re)(te),q=oe?te.offsetWidth:ne,J=oe?te.offsetHeight:pe,me=(0,r.NM)(ne)!==q||(0,r.NM)(pe)!==J;return me&&(ne=q,pe=J),{width:ne,height:pe,$:me}}function i(te){return(0,n.kK)(te)?te:te.contextElement}function c(te){const ie=i(te);if(!(0,n.Re)(ie))return(0,r.ze)(1);const ne=ie.getBoundingClientRect(),{width:pe,height:oe,$:q}=a(ie);let J=(q?(0,r.NM)(ne.width):ne.width)/pe,me=(q?(0,r.NM)(ne.height):ne.height)/oe;return(!J||!Number.isFinite(J))&&(J=1),(!me||!Number.isFinite(me))&&(me=1),{x:J,y:me}}const u=(0,r.ze)(0);function f(te){const ie=(0,n.Jj)(te);return!(0,n.Pf)()||!ie.visualViewport?u:{x:ie.visualViewport.offsetLeft,y:ie.visualViewport.offsetTop}}function d(te,ie,ne){return ie===void 0&&(ie=!1),!ne||ie&&ne!==(0,n.Jj)(te)?!1:ie}function h(te,ie,ne,pe){ie===void 0&&(ie=!1),ne===void 0&&(ne=!1);const oe=te.getBoundingClientRect(),q=i(te);let J=(0,r.ze)(1);ie&&(pe?(0,n.kK)(pe)&&(J=c(pe)):J=c(te));const me=d(q,ne,pe)?f(q):(0,r.ze)(0);let re=(oe.left+me.x)/J.x,he=(oe.top+me.y)/J.y,Ee=oe.width/J.x,fe=oe.height/J.y;if(q){const H=(0,n.Jj)(q),z=pe&&(0,n.kK)(pe)?(0,n.Jj)(pe):pe;let _e=H.frameElement;for(;_e&&pe&&z!==H;){const ae=c(_e),ge=_e.getBoundingClientRect(),Be=(0,n.Dx)(_e),Ke=ge.left+(_e.clientLeft+parseFloat(Be.paddingLeft))*ae.x,He=ge.top+(_e.clientTop+parseFloat(Be.paddingTop))*ae.y;re*=ae.x,he*=ae.y,Ee*=ae.x,fe*=ae.y,re+=Ke,he+=He,_e=(0,n.Jj)(_e).frameElement}}return(0,r.JB)({width:Ee,height:fe,x:re,y:he})}function g(te){let{rect:ie,offsetParent:ne,strategy:pe}=te;const oe=(0,n.Re)(ne),q=(0,n.tF)(ne);if(ne===q)return ie;let J={scrollLeft:0,scrollTop:0},me=(0,r.ze)(1);const re=(0,r.ze)(0);if((oe||!oe&&pe!=="fixed")&&(((0,n.wk)(ne)!=="body"||(0,n.ao)(q))&&(J=(0,n.Lw)(ne)),(0,n.Re)(ne))){const he=h(ne);me=c(ne),re.x=he.x+ne.clientLeft,re.y=he.y+ne.clientTop}return{width:ie.width*me.x,height:ie.height*me.y,x:ie.x*me.x-J.scrollLeft*me.x+re.x,y:ie.y*me.y-J.scrollTop*me.y+re.y}}function _(te){return Array.from(te.getClientRects())}function p(te){return h((0,n.tF)(te)).left+(0,n.Lw)(te).scrollLeft}function y(te){const ie=(0,n.tF)(te),ne=(0,n.Lw)(te),pe=te.ownerDocument.body,oe=(0,r.Fp)(ie.scrollWidth,ie.clientWidth,pe.scrollWidth,pe.clientWidth),q=(0,r.Fp)(ie.scrollHeight,ie.clientHeight,pe.scrollHeight,pe.clientHeight);let J=-ne.scrollLeft+p(te);const me=-ne.scrollTop;return(0,n.Dx)(pe).direction==="rtl"&&(J+=(0,r.Fp)(ie.clientWidth,pe.clientWidth)-oe),{width:oe,height:q,x:J,y:me}}function O(te,ie){const ne=(0,n.Jj)(te),pe=(0,n.tF)(te),oe=ne.visualViewport;let q=pe.clientWidth,J=pe.clientHeight,me=0,re=0;if(oe){q=oe.width,J=oe.height;const he=(0,n.Pf)();(!he||he&&ie==="fixed")&&(me=oe.offsetLeft,re=oe.offsetTop)}return{width:q,height:J,x:me,y:re}}function P(te,ie){const ne=h(te,!0,ie==="fixed"),pe=ne.top+te.clientTop,oe=ne.left+te.clientLeft,q=(0,n.Re)(te)?c(te):(0,r.ze)(1),J=te.clientWidth*q.x,me=te.clientHeight*q.y,re=oe*q.x,he=pe*q.y;return{width:J,height:me,x:re,y:he}}function C(te,ie,ne){let pe;if(ie==="viewport")pe=O(te,ne);else if(ie==="document")pe=y((0,n.tF)(te));else if((0,n.kK)(ie))pe=P(ie,ne);else{const oe=f(te);pe={...ie,x:ie.x-oe.x,y:ie.y-oe.y}}return(0,r.JB)(pe)}function A(te,ie){const ne=(0,n.Ow)(te);return ne===ie||!(0,n.kK)(ne)||(0,n.Py)(ne)?!1:(0,n.Dx)(ne).position==="fixed"||A(ne,ie)}function S(te,ie){const ne=ie.get(te);if(ne)return ne;let pe=(0,n.Kx)(te,[],!1).filter(me=>(0,n.kK)(me)&&(0,n.wk)(me)!=="body"),oe=null;const q=(0,n.Dx)(te).position==="fixed";let J=q?(0,n.Ow)(te):te;for(;(0,n.kK)(J)&&!(0,n.Py)(J);){const me=(0,n.Dx)(J),re=(0,n.hT)(J);!re&&me.position==="fixed"&&(oe=null),(q?!re&&!oe:!re&&me.position==="static"&&!!oe&&["absolute","fixed"].includes(oe.position)||(0,n.ao)(J)&&!re&&A(te,J))?pe=pe.filter(Ee=>Ee!==J):oe=me,J=(0,n.Ow)(J)}return ie.set(te,pe),pe}function T(te){let{element:ie,boundary:ne,rootBoundary:pe,strategy:oe}=te;const J=[...ne==="clippingAncestors"?S(ie,this._c):[].concat(ne),pe],me=J[0],re=J.reduce((he,Ee)=>{const fe=C(ie,Ee,oe);return he.top=(0,r.Fp)(fe.top,he.top),he.right=(0,r.VV)(fe.right,he.right),he.bottom=(0,r.VV)(fe.bottom,he.bottom),he.left=(0,r.Fp)(fe.left,he.left),he},C(ie,me,oe));return{width:re.right-re.left,height:re.bottom-re.top,x:re.left,y:re.top}}function s(te){const{width:ie,height:ne}=a(te);return{width:ie,height:ne}}function v(te,ie,ne){const pe=(0,n.Re)(ie),oe=(0,n.tF)(ie),q=ne==="fixed",J=h(te,!0,q,ie);let me={scrollLeft:0,scrollTop:0};const re=(0,r.ze)(0);if(pe||!pe&&!q)if(((0,n.wk)(ie)!=="body"||(0,n.ao)(oe))&&(me=(0,n.Lw)(ie)),pe){const he=h(ie,!0,q,ie);re.x=he.x+ie.clientLeft,re.y=he.y+ie.clientTop}else oe&&(re.x=p(oe));return{x:J.left+me.scrollLeft-re.x,y:J.top+me.scrollTop-re.y,width:J.width,height:J.height}}function m(te,ie){return!(0,n.Re)(te)||(0,n.Dx)(te).position==="fixed"?null:ie?ie(te):te.offsetParent}function E(te,ie){const ne=(0,n.Jj)(te);if(!(0,n.Re)(te))return ne;let pe=m(te,ie);for(;pe&&(0,n.Ze)(pe)&&(0,n.Dx)(pe).position==="static";)pe=m(pe,ie);return pe&&((0,n.wk)(pe)==="html"||(0,n.wk)(pe)==="body"&&(0,n.Dx)(pe).position==="static"&&!(0,n.hT)(pe))?ne:pe||(0,n.gQ)(te)||ne}const I=async function(te){let{reference:ie,floating:ne,strategy:pe}=te;const oe=this.getOffsetParent||E,q=this.getDimensions;return{reference:v(ie,await oe(ne),pe),floating:{x:0,y:0,...await q(ne)}}};function L(te){return(0,n.Dx)(te).direction==="rtl"}const W={convertOffsetParentRelativeRectToViewportRelativeRect:g,getDocumentElement:n.tF,getClippingRect:T,getOffsetParent:E,getElementRects:I,getClientRects:_,getDimensions:s,getScale:c,isElement:n.kK,isRTL:L};function F(te,ie){let ne=null,pe;const oe=(0,n.tF)(te);function q(){clearTimeout(pe),ne&&ne.disconnect(),ne=null}function J(me,re){me===void 0&&(me=!1),re===void 0&&(re=1),q();const{left:he,top:Ee,width:fe,height:H}=te.getBoundingClientRect();if(me||ie(),!fe||!H)return;const z=(0,r.GW)(Ee),_e=(0,r.GW)(oe.clientWidth-(he+fe)),ae=(0,r.GW)(oe.clientHeight-(Ee+H)),ge=(0,r.GW)(he),Ke={rootMargin:-z+"px "+-_e+"px "+-ae+"px "+-ge+"px",threshold:(0,r.Fp)(0,(0,r.VV)(1,re))||1};let He=!0;function ye(Le){const Ue=Le[0].intersectionRatio;if(Ue!==re){if(!He)return J();Ue?J(!1,Ue):pe=setTimeout(()=>{J(!1,1e-7)},100)}He=!1}try{ne=new IntersectionObserver(ye,{...Ke,root:oe.ownerDocument})}catch{ne=new IntersectionObserver(ye,Ke)}ne.observe(te)}return J(!0),q}function G(te,ie,ne,pe){pe===void 0&&(pe={});const{ancestorScroll:oe=!0,ancestorResize:q=!0,elementResize:J=typeof ResizeObserver=="function",layoutShift:me=typeof IntersectionObserver=="function",animationFrame:re=!1}=pe,he=i(te),Ee=oe||q?[...he?(0,n.Kx)(he):[],...(0,n.Kx)(ie)]:[];Ee.forEach(Be=>{oe&&Be.addEventListener("scroll",ne,{passive:!0}),q&&Be.addEventListener("resize",ne)});const fe=he&&me?F(he,ne):null;let H=-1,z=null;J&&(z=new ResizeObserver(Be=>{let[Ke]=Be;Ke&&Ke.target===he&&z&&(z.unobserve(ie),cancelAnimationFrame(H),H=requestAnimationFrame(()=>{z&&z.observe(ie)})),ne()}),he&&!re&&z.observe(he),z.observe(ie));let _e,ae=re?h(te):null;re&&ge();function ge(){const Be=h(te);ae&&(Be.x!==ae.x||Be.y!==ae.y||Be.width!==ae.width||Be.height!==ae.height)&&ne(),ae=Be,_e=requestAnimationFrame(ge)}return ne(),()=>{Ee.forEach(Be=>{oe&&Be.removeEventListener("scroll",ne),q&&Be.removeEventListener("resize",ne)}),fe&&fe(),z&&z.disconnect(),z=null,re&&cancelAnimationFrame(_e)}}const k=o.X5,x=o.uY,M=o.RR,B=o.dp,R=o.Cp,U=o.x7,j=o.Qo,$=o.dr,ee=(te,ie,ne)=>{const pe=new Map,oe={platform:W,...ne},q={...oe.platform,_c:pe};return(0,o.oo)(te,ie,{...oe,platform:q})}},265898:function(b,l,e){"use strict";e.d(l,{RR:()=>O,YF:()=>h,cv:()=>_,dp:()=>P,uY:()=>p});var r=e(490167),o=e(571531),n=e(174161),a=e(233284),i=typeof document<"u"?n.useLayoutEffect:n.useEffect;function c(s,v){if(s===v)return!0;if(typeof s!=typeof v)return!1;if(typeof s=="function"&&s.toString()===v.toString())return!0;let m,E,I;if(s&&v&&typeof s=="object"){if(Array.isArray(s)){if(m=s.length,m!==v.length)return!1;for(E=m;E--!==0;)if(!c(s[E],v[E]))return!1;return!0}if(I=Object.keys(s),m=I.length,m!==Object.keys(v).length)return!1;for(E=m;E--!==0;)if(!{}.hasOwnProperty.call(v,I[E]))return!1;for(E=m;E--!==0;){const L=I[E];if(!(L==="_owner"&&s.$$typeof)&&!c(s[L],v[L]))return!1}return!0}return s!==s&&v!==v}function u(s){return typeof window>"u"?1:(s.ownerDocument.defaultView||window).devicePixelRatio||1}function f(s,v){const m=u(s);return Math.round(v*m)/m}function d(s){const v=n.useRef(s);return i(()=>{v.current=s}),v}function h(s){s===void 0&&(s={});const{placement:v="bottom",strategy:m="absolute",middleware:E=[],platform:I,elements:{reference:L,floating:W}={},transform:F=!0,whileElementsMounted:G,open:k}=s,[x,M]=n.useState({x:0,y:0,strategy:m,placement:v,middlewareData:{},isPositioned:!1}),[B,R]=n.useState(E);c(B,E)||R(E);const[U,j]=n.useState(null),[$,ee]=n.useState(null),te=n.useCallback(ge=>{ge!==oe.current&&(oe.current=ge,j(ge))},[]),ie=n.useCallback(ge=>{ge!==q.current&&(q.current=ge,ee(ge))},[]),ne=L||U,pe=W||$,oe=n.useRef(null),q=n.useRef(null),J=n.useRef(x),me=G!=null,re=d(G),he=d(I),Ee=d(k),fe=n.useCallback(()=>{if(!oe.current||!q.current)return;const ge={placement:v,strategy:m,middleware:B};he.current&&(ge.platform=he.current),(0,r.oo)(oe.current,q.current,ge).then(Be=>{const Ke={...Be,isPositioned:Ee.current!==!1};H.current&&!c(J.current,Ke)&&(J.current=Ke,a.flushSync(()=>{M(Ke)}))})},[B,v,m,he,Ee]);i(()=>{k===!1&&J.current.isPositioned&&(J.current.isPositioned=!1,M(ge=>({...ge,isPositioned:!1})))},[k]);const H=n.useRef(!1);i(()=>(H.current=!0,()=>{H.current=!1}),[]),i(()=>{if(ne&&(oe.current=ne),pe&&(q.current=pe),ne&&pe){if(re.current)return re.current(ne,pe,fe);fe()}},[ne,pe,fe,re,me]);const z=n.useMemo(()=>({reference:oe,floating:q,setReference:te,setFloating:ie}),[te,ie]),_e=n.useMemo(()=>({reference:ne,floating:pe}),[ne,pe]),ae=n.useMemo(()=>{const ge={position:m,left:0,top:0};if(!_e.floating)return ge;const Be=f(_e.floating,x.x),Ke=f(_e.floating,x.y);return F?{...ge,transform:"translate("+Be+"px, "+Ke+"px)",...u(_e.floating)>=1.5&&{willChange:"transform"}}:{position:m,left:Be,top:Ke}},[m,F,_e.floating,x.x,x.y]);return n.useMemo(()=>({...x,update:fe,refs:z,elements:_e,floatingStyles:ae}),[x,fe,z,_e,ae])}const g=s=>{function v(m){return{}.hasOwnProperty.call(m,"current")}return{name:"arrow",options:s,fn(m){const{element:E,padding:I}=typeof s=="function"?s(m):s;return E&&v(E)?E.current!=null?arrow$2({element:E.current,padding:I}).fn(m):{}:E?arrow$2({element:E,padding:I}).fn(m):{}}}},_=(s,v)=>({...(0,o.cv)(s),options:[s,v]}),p=(s,v)=>({...(0,r.uY)(s),options:[s,v]}),y=(s,v)=>({...limitShift$1(s),options:[s,v]}),O=(s,v)=>({...(0,r.RR)(s),options:[s,v]}),P=(s,v)=>({...(0,r.dp)(s),options:[s,v]}),C=(s,v)=>({...autoPlacement$1(s),options:[s,v]}),A=(s,v)=>({...hide$1(s),options:[s,v]}),S=(s,v)=>({...inline$1(s),options:[s,v]}),T=(s,v)=>({...g(s),options:[s,v]})},254972:function(b,l,e){"use strict";e.d(l,{wD:()=>Pr,c0:()=>br,bQ:()=>Ye,ll:()=>qe,eS:()=>eo,qs:()=>Kr,jV:()=>Re,NI:()=>Ht,ox:()=>Da,mN:()=>nt,RB:()=>st,Zm:()=>rt,YF:()=>Ze});var r=e(174161),o=e.t(r,2),n=e(708112);function a(Vr){let Qr=Vr.activeElement;for(;((To=Qr)==null||(To=To.shadowRoot)==null?void 0:To.activeElement)!=null;){var To;Qr=Qr.shadowRoot.activeElement}return Qr}function i(Vr,Qr){if(!Vr||!Qr)return!1;const To=Qr.getRootNode==null?void 0:Qr.getRootNode();if(Vr.contains(Qr))return!0;if(To&&(0,n.Zq)(To)){let xr=Qr;for(;xr;){if(Vr===xr)return!0;xr=xr.parentNode||xr.host}}return!1}function c(){const Vr=navigator.userAgentData;return Vr!=null&&Vr.platform?Vr.platform:navigator.platform}function u(){const Vr=navigator.userAgentData;return Vr&&Array.isArray(Vr.brands)?Vr.brands.map(Qr=>{let{brand:To,version:xr}=Qr;return To+"/"+xr}).join(" "):navigator.userAgent}function f(Vr){return Vr.mozInputSource===0&&Vr.isTrusted?!0:g()&&Vr.pointerType?Vr.type==="click"&&Vr.buttons===1:Vr.detail===0&&!Vr.pointerType}function d(Vr){return p()?!1:!g()&&Vr.width===0&&Vr.height===0||g()&&Vr.width===1&&Vr.height===1&&Vr.pressure===0&&Vr.detail===0&&Vr.pointerType==="mouse"||Vr.width<1&&Vr.height<1&&Vr.pressure===0&&Vr.detail===0&&Vr.pointerType==="touch"}function h(){return/apple/i.test(navigator.vendor)}function g(){const Vr=/android/i;return Vr.test(c())||Vr.test(u())}function _(){return c().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function p(){return u().includes("jsdom/")}function y(Vr,Qr){const To=["mouse","pen"];return Qr||To.push("",void 0),To.includes(Vr)}function O(Vr){return"nativeEvent"in Vr}function P(Vr){return Vr.matches("html,body")}function C(Vr){return(Vr==null?void 0:Vr.ownerDocument)||document}function A(Vr,Qr){if(Qr==null)return!1;if("composedPath"in Vr)return Vr.composedPath().includes(Qr);const To=Vr;return To.target!=null&&Qr.contains(To.target)}function S(Vr){return"composedPath"in Vr?Vr.composedPath()[0]:Vr.target}const T="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function s(Vr){return(0,n.Re)(Vr)&&Vr.matches(T)}function v(Vr){Vr.preventDefault(),Vr.stopPropagation()}function m(Vr){return Vr?Vr.getAttribute("role")==="combobox"&&s(Vr):!1}var E=e(585724),I=e(205843),L=e(544285),W=e(233284),F=e(265898);function G(Vr){return r.useMemo(()=>Vr.every(Qr=>Qr==null)?null:Qr=>{Vr.forEach(To=>{typeof To=="function"?To(Qr):To!=null&&(To.current=Qr)})},Vr)}const k={...o},M=k.useInsertionEffect||(Vr=>Vr());function B(Vr){const Qr=r.useRef(()=>{});return M(()=>{Qr.current=Vr}),r.useCallback(function(){for(var To=arguments.length,xr=new Array(To),uo=0;uo<To;uo++)xr[uo]=arguments[uo];return Qr.current==null?void 0:Qr.current(...xr)},[])}const R="ArrowUp",U="ArrowDown",j="ArrowLeft",$="ArrowRight";function ee(Vr,Qr,To){return Math.floor(Vr/Qr)!==To}function te(Vr,Qr){return Qr<0||Qr>=Vr.current.length}function ie(Vr,Qr){return pe(Vr,{disabledIndices:Qr})}function ne(Vr,Qr){return pe(Vr,{decrement:!0,startingIndex:Vr.current.length,disabledIndices:Qr})}function pe(Vr,Qr){let{startingIndex:To=-1,decrement:xr=!1,disabledIndices:uo,amount:Mo=1}=Qr===void 0?{}:Qr;const go=Vr.current;let ea=To;do ea+=xr?-Mo:Mo;while(ea>=0&&ea<=go.length-1&&re(go,ea,uo));return ea}function oe(Vr,Qr){let{event:To,orientation:xr,loop:uo,rtl:Mo,cols:go,disabledIndices:ea,minIndex:ha,maxIndex:yr,prevIndex:Lr,stopEvent:ao=!1}=Qr,ho=Lr;if(To.key===R){if(ao&&v(To),Lr===-1)ho=yr;else if(ho=pe(Vr,{startingIndex:ho,amount:go,decrement:!0,disabledIndices:ea}),uo&&(Lr-go<ha||ho<0)){const Lo=Lr%go,Yo=yr%go,jo=yr-(Yo-Lo);Yo===Lo?ho=yr:ho=Yo>Lo?jo:jo-go}te(Vr,ho)&&(ho=Lr)}if(To.key===U&&(ao&&v(To),Lr===-1?ho=ha:(ho=pe(Vr,{startingIndex:Lr,amount:go,disabledIndices:ea}),uo&&Lr+go>yr&&(ho=pe(Vr,{startingIndex:Lr%go-go,amount:go,disabledIndices:ea}))),te(Vr,ho)&&(ho=Lr)),xr==="both"){const Lo=(0,E.GW)(Lr/go);To.key===(Mo?j:$)&&(ao&&v(To),Lr%go!==go-1?(ho=pe(Vr,{startingIndex:Lr,disabledIndices:ea}),uo&&ee(ho,go,Lo)&&(ho=pe(Vr,{startingIndex:Lr-Lr%go-1,disabledIndices:ea}))):uo&&(ho=pe(Vr,{startingIndex:Lr-Lr%go-1,disabledIndices:ea})),ee(ho,go,Lo)&&(ho=Lr)),To.key===(Mo?$:j)&&(ao&&v(To),Lr%go!==0?(ho=pe(Vr,{startingIndex:Lr,decrement:!0,disabledIndices:ea}),uo&&ee(ho,go,Lo)&&(ho=pe(Vr,{startingIndex:Lr+(go-Lr%go),decrement:!0,disabledIndices:ea}))):uo&&(ho=pe(Vr,{startingIndex:Lr+(go-Lr%go),decrement:!0,disabledIndices:ea})),ee(ho,go,Lo)&&(ho=Lr));const Yo=(0,E.GW)(yr/go)===Lo;te(Vr,ho)&&(uo&&Yo?ho=To.key===(Mo?$:j)?yr:pe(Vr,{startingIndex:Lr-Lr%go-1,disabledIndices:ea}):ho=Lr)}return ho}function q(Vr,Qr,To){const xr=[];let uo=0;return Vr.forEach((Mo,go)=>{let{width:ea,height:ha}=Mo;ea>Qr;let yr=!1;for(To&&(uo=0);!yr;){const Lr=[];for(let ao=0;ao<ea;ao++)for(let ho=0;ho<ha;ho++)Lr.push(uo+ao+ho*Qr);uo%Qr+ea<=Qr&&Lr.every(ao=>xr[ao]==null)?(Lr.forEach(ao=>{xr[ao]=go}),yr=!0):uo++}}),[...xr]}function J(Vr,Qr,To,xr,uo){if(Vr===-1)return-1;const Mo=To.indexOf(Vr),go=Qr[Vr];switch(uo){case"tl":return Mo;case"tr":return go?Mo+go.width-1:Mo;case"bl":return go?Mo+(go.height-1)*xr:Mo;case"br":return To.lastIndexOf(Vr)}}function me(Vr,Qr){return Qr.flatMap((To,xr)=>Vr.includes(To)?[xr]:[])}function re(Vr,Qr,To){if(To)return To.includes(Qr);const xr=Vr[Qr];return xr==null||xr.hasAttribute("disabled")||xr.getAttribute("aria-disabled")==="true"}var he=typeof document<"u"?r.useLayoutEffect:r.useEffect;function Ee(Vr,Qr){const To=Vr.compareDocumentPosition(Qr);return To&Node.DOCUMENT_POSITION_FOLLOWING||To&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:To&Node.DOCUMENT_POSITION_PRECEDING||To&Node.DOCUMENT_POSITION_CONTAINS?1:0}function fe(Vr,Qr){if(Vr.size!==Qr.size)return!1;for(const[To,xr]of Vr.entries())if(xr!==Qr.get(To))return!1;return!0}const H=r.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function z(Vr){const{children:Qr,elementsRef:To,labelsRef:xr}=Vr,[uo,Mo]=React.useState(()=>new Map),go=React.useCallback(ha=>{Mo(yr=>new Map(yr).set(ha,null))},[]),ea=React.useCallback(ha=>{Mo(yr=>{const Lr=new Map(yr);return Lr.delete(ha),Lr})},[]);return he(()=>{const ha=new Map(uo);Array.from(ha.keys()).sort(Ee).forEach((Lr,ao)=>{ha.set(Lr,ao)}),fe(uo,ha)||Mo(ha)},[uo]),jsx(H.Provider,{value:React.useMemo(()=>({register:go,unregister:ea,map:uo,elementsRef:To,labelsRef:xr}),[go,ea,uo,To,xr]),children:Qr})}function _e(Vr){Vr===void 0&&(Vr={});const{label:Qr}=Vr,{register:To,unregister:xr,map:uo,elementsRef:Mo,labelsRef:go}=React.useContext(H),[ea,ha]=React.useState(null),yr=React.useRef(null),Lr=React.useCallback(ao=>{if(yr.current=ao,ea!==null&&(Mo.current[ea]=ao,go)){var ho;const Lo=Qr!==void 0;go.current[ea]=Lo?Qr:(ho=ao==null?void 0:ao.textContent)!=null?ho:null}},[ea,Mo,go,Qr]);return he(()=>{const ao=yr.current;if(ao)return To(ao),()=>{xr(ao)}},[To,xr]),he(()=>{const ao=yr.current?uo.get(yr.current):null;ao!=null&&ha(ao)},[uo]),React.useMemo(()=>({ref:Lr,index:ea??-1}),[ea,Lr])}function ae(Vr,Qr){return typeof Vr=="function"?Vr(Qr):Vr?React.cloneElement(Vr,Qr):jsx("div",{...Qr})}const ge=null,Be=[j,$],Ke=[R,U],He=[...Be,...Ke],ye=null,Le=null;let Ue=!1,Xe=0;const Fe=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Xe++;function ht(){const[Vr,Qr]=r.useState(()=>Ue?Fe():void 0);return he(()=>{Vr==null&&Qr(Fe())},[]),r.useEffect(()=>{Ue=!0},[]),Vr}const Ce=k.useId||ht;let we;function $e(){for(var Vr,Qr=arguments.length,To=new Array(Qr),xr=0;xr<Qr;xr++)To[xr]=arguments[xr];const uo="Floating UI: "+To.join(" ");if(!((Vr=we)!=null&&Vr.has(uo))){var Mo;(Mo=we)==null||Mo.add(uo),console.warn(uo)}}function Ot(){for(var Vr,Qr=arguments.length,To=new Array(Qr),xr=0;xr<Qr;xr++)To[xr]=arguments[xr];const uo="Floating UI: "+To.join(" ");if(!((Vr=we)!=null&&Vr.has(uo))){var Mo;(Mo=we)==null||Mo.add(uo),console.error(uo)}}const Pt=null;function Ie(){const Vr=new Map;return{emit(Qr,To){var xr;(xr=Vr.get(Qr))==null||xr.forEach(uo=>uo(To))},on(Qr,To){Vr.set(Qr,[...Vr.get(Qr)||[],To])},off(Qr,To){var xr;Vr.set(Qr,((xr=Vr.get(Qr))==null?void 0:xr.filter(uo=>uo!==To))||[])}}}const Bt=r.createContext(null),mt=r.createContext(null),rt=()=>{var Vr;return((Vr=r.useContext(Bt))==null?void 0:Vr.id)||null},ce=()=>r.useContext(mt);function Re(Vr){const Qr=Ce(),To=ce(),xr=rt(),uo=Vr||xr;return he(()=>{if(!Qr)return;const Mo={id:Qr,parentId:uo};return To==null||To.addNode(Mo),()=>{To==null||To.removeNode(Mo)}},[To,Qr,uo]),Qr}function nt(Vr){const{children:Qr,id:To}=Vr,xr=rt();return(0,I.jsx)(Bt.Provider,{value:r.useMemo(()=>({id:To,parentId:xr}),[To,xr]),children:Qr})}function st(Vr){const{children:Qr}=Vr,To=r.useRef([]),xr=r.useCallback(go=>{To.current=[...To.current,go]},[]),uo=r.useCallback(go=>{To.current=To.current.filter(ea=>ea!==go)},[]),Mo=r.useState(()=>Ie())[0];return(0,I.jsx)(mt.Provider,{value:r.useMemo(()=>({nodesRef:To,addNode:xr,removeNode:uo,events:Mo}),[xr,uo,Mo]),children:Qr})}function vt(Vr){return"data-floating-ui-"+Vr}function ze(Vr){const Qr=(0,r.useRef)(Vr);return he(()=>{Qr.current=Vr}),Qr}const It=null;function on(Vr,Qr,To){return To&&!isMouseLikePointerType(To)?0:typeof Vr=="number"?Vr:Vr==null?void 0:Vr[Qr]}function Pn(Vr,Qr){Qr===void 0&&(Qr={});const{open:To,onOpenChange:xr,dataRef:uo,events:Mo,elements:go}=Vr,{enabled:ea=!0,delay:ha=0,handleClose:yr=null,mouseOnly:Lr=!1,restMs:ao=0,move:ho=!0}=Qr,Lo=ce(),Yo=rt(),jo=ze(yr),Xo=ze(ha),Ua=ze(To),ds=React.useRef(),us=React.useRef(-1),ys=React.useRef(),Ys=React.useRef(-1),Gs=React.useRef(!0),xs=React.useRef(!1),Ai=React.useRef(()=>{}),Pi=React.useRef(!1),ei=React.useCallback(()=>{var Vs;const _s=(Vs=uo.current.openEvent)==null?void 0:Vs.type;return(_s==null?void 0:_s.includes("mouse"))&&_s!=="mousedown"},[uo]);React.useEffect(()=>{if(!ea)return;function Vs(_s){let{open:fs}=_s;fs||(clearTimeout(us.current),clearTimeout(Ys.current),Gs.current=!0,Pi.current=!1)}return Mo.on("openchange",Vs),()=>{Mo.off("openchange",Vs)}},[ea,Mo]),React.useEffect(()=>{if(!ea||!jo.current||!To)return;function Vs(fs){ei()&&xr(!1,fs,"hover")}const _s=getDocument(go.floating).documentElement;return _s.addEventListener("mouseleave",Vs),()=>{_s.removeEventListener("mouseleave",Vs)}},[go.floating,To,xr,ea,jo,ei]);const hi=React.useCallback(function(Vs,_s,fs){_s===void 0&&(_s=!0),fs===void 0&&(fs="hover");const Ss=on(Xo.current,"close",ds.current);Ss&&!ys.current?(clearTimeout(us.current),us.current=window.setTimeout(()=>xr(!1,Vs,fs),Ss)):_s&&(clearTimeout(us.current),xr(!1,Vs,fs))},[Xo,xr]),ks=B(()=>{Ai.current(),ys.current=void 0}),Ms=B(()=>{if(xs.current){const Vs=getDocument(go.floating).body;Vs.style.pointerEvents="",Vs.removeAttribute(It),xs.current=!1}}),bs=B(()=>uo.current.openEvent?["click","mousedown"].includes(uo.current.openEvent.type):!1);React.useEffect(()=>{if(!ea)return;function Vs(hs){if(clearTimeout(us.current),Gs.current=!1,Lr&&!isMouseLikePointerType(ds.current)||ao>0&&!on(Xo.current,"open"))return;const li=on(Xo.current,"open",ds.current);li?us.current=window.setTimeout(()=>{Ua.current||xr(!0,hs,"hover")},li):To||xr(!0,hs,"hover")}function _s(hs){if(bs())return;Ai.current();const li=getDocument(go.floating);if(clearTimeout(Ys.current),Pi.current=!1,jo.current&&uo.current.floatingContext){To||clearTimeout(us.current),ys.current=jo.current({...uo.current.floatingContext,tree:Lo,x:hs.clientX,y:hs.clientY,onClose(){Ms(),ks(),bs()||hi(hs,!0,"safe-polygon")}});const Ji=ys.current;li.addEventListener("mousemove",Ji),Ai.current=()=>{li.removeEventListener("mousemove",Ji)};return}(ds.current==="touch"?!contains(go.floating,hs.relatedTarget):!0)&&hi(hs)}function fs(hs){bs()||uo.current.floatingContext&&(jo.current==null||jo.current({...uo.current.floatingContext,tree:Lo,x:hs.clientX,y:hs.clientY,onClose(){Ms(),ks(),bs()||hi(hs)}})(hs))}if(isElement(go.domReference)){var Ss;const hs=go.domReference;return To&&hs.addEventListener("mouseleave",fs),(Ss=go.floating)==null||Ss.addEventListener("mouseleave",fs),ho&&hs.addEventListener("mousemove",Vs,{once:!0}),hs.addEventListener("mouseenter",Vs),hs.addEventListener("mouseleave",_s),()=>{var li;To&&hs.removeEventListener("mouseleave",fs),(li=go.floating)==null||li.removeEventListener("mouseleave",fs),ho&&hs.removeEventListener("mousemove",Vs),hs.removeEventListener("mouseenter",Vs),hs.removeEventListener("mouseleave",_s)}}},[go,ea,Vr,Lr,ao,ho,hi,ks,Ms,xr,To,Ua,Lo,Xo,jo,uo,bs]),he(()=>{var Vs;if(ea&&To&&(Vs=jo.current)!=null&&Vs.__options.blockPointerEvents&&ei()){xs.current=!0;const fs=go.floating;if(isElement(go.domReference)&&fs){var _s;const Ss=getDocument(go.floating).body;Ss.setAttribute(It,"");const hs=go.domReference,li=Lo==null||(_s=Lo.nodesRef.current.find(Ni=>Ni.id===Yo))==null||(_s=_s.context)==null?void 0:_s.elements.floating;return li&&(li.style.pointerEvents=""),Ss.style.pointerEvents="none",hs.style.pointerEvents="auto",fs.style.pointerEvents="auto",()=>{Ss.style.pointerEvents="",hs.style.pointerEvents="",fs.style.pointerEvents=""}}}},[ea,To,Yo,go,Lo,jo,ei]),he(()=>{To||(ds.current=void 0,Pi.current=!1,ks(),Ms())},[To,ks,Ms]),React.useEffect(()=>()=>{ks(),clearTimeout(us.current),clearTimeout(Ys.current),Ms()},[ea,go.domReference,ks,Ms]);const Hs=React.useMemo(()=>{function Vs(_s){ds.current=_s.pointerType}return{onPointerDown:Vs,onPointerEnter:Vs,onMouseMove(_s){const{nativeEvent:fs}=_s;function Ss(){!Gs.current&&!Ua.current&&xr(!0,fs,"hover")}Lr&&!isMouseLikePointerType(ds.current)||To||ao===0||Pi.current&&_s.movementX**2+_s.movementY**2<2||(clearTimeout(Ys.current),ds.current==="touch"?Ss():(Pi.current=!0,Ys.current=window.setTimeout(Ss,ao)))}}},[Lr,xr,To,Ua,ao]),Os=React.useMemo(()=>({onMouseEnter(){clearTimeout(us.current)},onMouseLeave(Vs){bs()||hi(Vs.nativeEvent,!1)}}),[hi,bs]);return React.useMemo(()=>ea?{reference:Hs,floating:Os}:{},[ea,Hs,Os])}const Yn=()=>{},Ln=null,bn=()=>React.useContext(Ln);function ir(Vr){const{children:Qr,delay:To,timeoutMs:xr=0}=Vr,[uo,Mo]=React.useReducer((ha,yr)=>({...ha,...yr}),{delay:To,timeoutMs:xr,initialDelay:To,currentId:null,isInstantPhase:!1}),go=React.useRef(null),ea=React.useCallback(ha=>{Mo({currentId:ha})},[]);return he(()=>{uo.currentId?go.current===null?go.current=uo.currentId:uo.isInstantPhase||Mo({isInstantPhase:!0}):(uo.isInstantPhase&&Mo({isInstantPhase:!1}),go.current=null)},[uo.currentId,uo.isInstantPhase]),jsx(Ln.Provider,{value:React.useMemo(()=>({...uo,setState:Mo,setCurrentId:ea}),[uo,ea]),children:Qr})}function Zn(Vr,Qr){Qr===void 0&&(Qr={});const{open:To,onOpenChange:xr,floatingId:uo}=Vr,{id:Mo,enabled:go=!0}=Qr,ea=Mo??uo,ha=bn(),{currentId:yr,setCurrentId:Lr,initialDelay:ao,setState:ho,timeoutMs:Lo}=ha;return he(()=>{go&&yr&&(ho({delay:{open:1,close:on(ao,"close")}}),yr!==ea&&xr(!1))},[go,ea,xr,ho,yr,ao]),he(()=>{function Yo(){xr(!1),ho({delay:ao,currentId:null})}if(go&&yr&&!To&&yr===ea){if(Lo){const jo=window.setTimeout(Yo,Lo);return()=>{clearTimeout(jo)}}Yo()}},[go,To,ho,yr,ea,xr,ao,Lo]),he(()=>{go&&(Lr===Yn||!To||Lr(ea))},[go,To,Lr,ea]),ha}let $n=0;function jt(Vr,Qr){Qr===void 0&&(Qr={});const{preventScroll:To=!1,cancelPrevious:xr=!0,sync:uo=!1}=Qr;xr&&cancelAnimationFrame($n);const Mo=()=>Vr==null?void 0:Vr.focus({preventScroll:To});uo?Mo():$n=requestAnimationFrame(Mo)}function Rn(Vr,Qr){var To;let xr=[],uo=(To=Vr.find(Mo=>Mo.id===Qr))==null?void 0:To.parentId;for(;uo;){const Mo=Vr.find(go=>go.id===uo);uo=Mo==null?void 0:Mo.parentId,Mo&&(xr=xr.concat(Mo))}return xr}function jn(Vr,Qr){let To=Vr.filter(uo=>{var Mo;return uo.parentId===Qr&&((Mo=uo.context)==null?void 0:Mo.open)}),xr=To;for(;xr.length;)xr=Vr.filter(uo=>{var Mo;return(Mo=xr)==null?void 0:Mo.some(go=>{var ea;return uo.parentId===go.id&&((ea=uo.context)==null?void 0:ea.open)})}),To=To.concat(xr);return To}function Tn(Vr,Qr){let To,xr=-1;function uo(Mo,go){go>xr&&(To=Mo,xr=go),jn(Vr,Mo).forEach(ha=>{uo(ha.id,go+1)})}return uo(Qr,0),Vr.find(Mo=>Mo.id===To)}let Nn=new WeakMap,cn=new WeakSet,or={},qn=0;const Hr=()=>typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype,fo=Vr=>Vr&&(Vr.host||fo(Vr.parentNode)),Jr=(Vr,Qr)=>Qr.map(To=>{if(Vr.contains(To))return To;const xr=fo(To);return Vr.contains(xr)?xr:null}).filter(To=>To!=null);function ro(Vr,Qr,To,xr){const uo="data-floating-ui-inert",Mo=xr?"inert":To?"aria-hidden":null,go=Jr(Qr,Vr),ea=new Set,ha=new Set(go),yr=[];or[uo]||(or[uo]=new WeakMap);const Lr=or[uo];go.forEach(ao),ho(Qr),ea.clear();function ao(Lo){!Lo||ea.has(Lo)||(ea.add(Lo),Lo.parentNode&&ao(Lo.parentNode))}function ho(Lo){!Lo||ha.has(Lo)||[].forEach.call(Lo.children,Yo=>{if((0,n.wk)(Yo)!=="script")if(ea.has(Yo))ho(Yo);else{const jo=Mo?Yo.getAttribute(Mo):null,Xo=jo!==null&&jo!=="false",Ua=Nn.get(Yo)||0,ds=Mo?Ua+1:Ua,us=(Lr.get(Yo)||0)+1;Nn.set(Yo,ds),Lr.set(Yo,us),yr.push(Yo),ds===1&&Xo&&cn.add(Yo),us===1&&Yo.setAttribute(uo,""),!Xo&&Mo&&Yo.setAttribute(Mo,"true")}})}return qn++,()=>{yr.forEach(Lo=>{const Yo=Nn.get(Lo)||0,jo=Mo?Yo-1:Yo,Xo=(Lr.get(Lo)||0)-1;Nn.set(Lo,jo),Lr.set(Lo,Xo),jo||(!cn.has(Lo)&&Mo&&Lo.removeAttribute(Mo),cn.delete(Lo)),Xo||Lo.removeAttribute(uo)}),qn--,qn||(Nn=new WeakMap,Nn=new WeakMap,cn=new WeakSet,or={})}}function Xt(Vr,Qr,To){Qr===void 0&&(Qr=!1),To===void 0&&(To=!1);const xr=C(Vr[0]).body;return ro(Vr.concat(Array.from(xr.querySelectorAll("[aria-live]"))),xr,Qr,To)}const Je=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function At(Vr,Qr){const To=(0,L.ht)(Vr,Je());Qr==="prev"&&To.reverse();const xr=To.indexOf(a(C(Vr)));return To.slice(xr+1)[0]}function xt(){return At(document.body,"next")}function Qt(){return At(document.body,"prev")}function qt(Vr,Qr){const To=Qr||Vr.currentTarget,xr=Vr.relatedTarget;return!xr||!i(To,xr)}function Te(Vr){(0,L.ht)(Vr,Je()).forEach(To=>{To.dataset.tabindex=To.getAttribute("tabindex")||"",To.setAttribute("tabindex","-1")})}function Gt(Vr){Vr.querySelectorAll("[data-tabindex]").forEach(To=>{const xr=To.dataset.tabindex;delete To.dataset.tabindex,xr?To.setAttribute("tabindex",xr):To.removeAttribute("tabindex")})}const un={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let Vt;function Dn(Vr){Vr.key==="Tab"&&(Vr.target,clearTimeout(Vt))}const Wt=r.forwardRef(function(Qr,To){const[xr,uo]=r.useState();he(()=>(h()&&uo("button"),document.addEventListener("keydown",Dn),()=>{document.removeEventListener("keydown",Dn)}),[]);const Mo={ref:To,tabIndex:0,role:xr,"aria-hidden":xr?void 0:!0,[vt("focus-guard")]:"",style:un};return(0,I.jsx)("span",{...Qr,...Mo})}),Pe=r.createContext(null),xe=vt("portal");function Ae(Vr){Vr===void 0&&(Vr={});const{id:Qr,root:To}=Vr,xr=Ce(),uo=wt(),[Mo,go]=r.useState(null),ea=r.useRef(null);return he(()=>()=>{Mo==null||Mo.remove(),queueMicrotask(()=>{ea.current=null})},[Mo]),he(()=>{if(!xr||ea.current)return;const ha=Qr?document.getElementById(Qr):null;if(!ha)return;const yr=document.createElement("div");yr.id=xr,yr.setAttribute(xe,""),ha.appendChild(yr),ea.current=yr,go(yr)},[Qr,xr]),he(()=>{if(To===null||!xr||ea.current)return;let ha=To||(uo==null?void 0:uo.portalNode);ha&&!(0,n.kK)(ha)&&(ha=ha.current),ha=ha||document.body;let yr=null;Qr&&(yr=document.createElement("div"),yr.id=Qr,ha.appendChild(yr));const Lr=document.createElement("div");Lr.id=xr,Lr.setAttribute(xe,""),ha=yr||ha,ha.appendChild(Lr),ea.current=Lr,go(Lr)},[Qr,To,xr,uo]),Mo}function qe(Vr){const{children:Qr,id:To,root:xr,preserveTabOrder:uo=!0}=Vr,Mo=Ae({id:To,root:xr}),[go,ea]=r.useState(null),ha=r.useRef(null),yr=r.useRef(null),Lr=r.useRef(null),ao=r.useRef(null),ho=go==null?void 0:go.modal,Lo=go==null?void 0:go.open,Yo=!!go&&!go.modal&&go.open&&uo&&!!(xr||Mo);return r.useEffect(()=>{if(!Mo||!uo||ho)return;function jo(Xo){Mo&&qt(Xo)&&(Xo.type==="focusin"?Gt:Te)(Mo)}return Mo.addEventListener("focusin",jo,!0),Mo.addEventListener("focusout",jo,!0),()=>{Mo.removeEventListener("focusin",jo,!0),Mo.removeEventListener("focusout",jo,!0)}},[Mo,uo,ho]),r.useEffect(()=>{Mo&&(Lo||Gt(Mo))},[Lo,Mo]),(0,I.jsxs)(Pe.Provider,{value:r.useMemo(()=>({preserveTabOrder:uo,beforeOutsideRef:ha,afterOutsideRef:yr,beforeInsideRef:Lr,afterInsideRef:ao,portalNode:Mo,setFocusManagerState:ea}),[uo,Mo]),children:[Yo&&Mo&&(0,I.jsx)(Wt,{"data-type":"outside",ref:ha,onFocus:jo=>{if(qt(jo,Mo)){var Xo;(Xo=Lr.current)==null||Xo.focus()}else{const Ua=Qt()||(go==null?void 0:go.domReference);Ua==null||Ua.focus()}}}),Yo&&Mo&&(0,I.jsx)("span",{"aria-owns":Mo.id,style:un}),Mo&&W.createPortal(Qr,Mo),Yo&&Mo&&(0,I.jsx)(Wt,{"data-type":"outside",ref:yr,onFocus:jo=>{if(qt(jo,Mo)){var Xo;(Xo=ao.current)==null||Xo.focus()}else{const Ua=xt()||(go==null?void 0:go.domReference);Ua==null||Ua.focus(),go!=null&&go.closeOnFocusOut&&(go==null||go.onOpenChange(!1,jo.nativeEvent,"focus-out"))}}})]})}const wt=()=>r.useContext(Pe),kt="data-floating-ui-focusable";function ut(Vr){return Vr?Vr.hasAttribute(kt)?Vr:Vr.querySelector("["+kt+"]")||Vr:null}const Ft=20;let tn=[];function In(Vr){tn=tn.filter(Qr=>Qr.isConnected),Vr&&(0,n.wk)(Vr)!=="body"&&(tn.push(Vr),tn.length>Ft&&(tn=tn.slice(-Ft)))}function rr(){return tn.slice().reverse().find(Vr=>Vr.isConnected)}function Sr(Vr){const Qr=Je();return(0,L.Wq)(Vr,Qr)?Vr:(0,L.ht)(Vr,Qr)[0]||Vr}const Yr=r.forwardRef(function(Qr,To){return(0,I.jsx)("button",{...Qr,type:"button",ref:To,tabIndex:-1,style:un})});function Pr(Vr){const{context:Qr,children:To,disabled:xr=!1,order:uo=["content"],guards:Mo=!0,initialFocus:go=0,returnFocus:ea=!0,restoreFocus:ha=!1,modal:yr=!0,visuallyHiddenDismiss:Lr=!1,closeOnFocusOut:ao=!0,outsideElementsInert:ho=!1}=Vr,{open:Lo,onOpenChange:Yo,events:jo,dataRef:Xo,elements:{domReference:Ua,floating:ds}}=Qr,us=B(()=>{var Zs;return(Zs=Xo.current.floatingContext)==null?void 0:Zs.nodeId}),ys=typeof go=="number"&&go<0,Ys=m(Ua)&&ys,Gs=Hr(),xs=Gs?Mo:!0,Ai=!xs||Gs&&ho,Pi=ze(uo),ei=ze(go),hi=ze(ea),ks=ce(),Ms=wt(),bs=r.useRef(null),Hs=r.useRef(null),Os=r.useRef(!1),Vs=r.useRef(!1),_s=r.useRef(-1),fs=Ms!=null,Ss=ut(ds),hs=B(function(Zs){return Zs===void 0&&(Zs=Ss),Zs?(0,L.ht)(Zs,Je()):[]}),li=B(Zs=>{const Bs=hs(Zs);return Pi.current.map(ti=>Ua&&ti==="reference"?Ua:Ss&&ti==="floating"?Ss:Bs).filter(Boolean).flat()});r.useEffect(()=>{if(xr||!yr)return;function Zs(ti){if(ti.key==="Tab"){i(Ss,a(C(Ss)))&&hs().length===0&&!Ys&&v(ti);const gi=li(),yi=S(ti);Pi.current[0]==="reference"&&yi===Ua&&(v(ti),ti.shiftKey?jt(gi[gi.length-1]):jt(gi[1])),Pi.current[1]==="floating"&&yi===Ss&&ti.shiftKey&&(v(ti),jt(gi[0]))}}const Bs=C(Ss);return Bs.addEventListener("keydown",Zs),()=>{Bs.removeEventListener("keydown",Zs)}},[xr,Ua,Ss,yr,Pi,Ys,hs,li]),r.useEffect(()=>{if(xr||!ds)return;function Zs(Bs){const ti=S(Bs),yi=hs().indexOf(ti);yi!==-1&&(_s.current=yi)}return ds.addEventListener("focusin",Zs),()=>{ds.removeEventListener("focusin",Zs)}},[xr,ds,hs]),r.useEffect(()=>{if(xr||!ao)return;function Zs(){Vs.current=!0,setTimeout(()=>{Vs.current=!1})}function Bs(ti){const gi=ti.relatedTarget;queueMicrotask(()=>{const yi=us(),ki=!(i(Ua,gi)||i(ds,gi)||i(gi,ds)||i(Ms==null?void 0:Ms.portalNode,gi)||gi!=null&&gi.hasAttribute(vt("focus-guard"))||ks&&(jn(ks.nodesRef.current,yi).find(bi=>{var nl,Si;return i((nl=bi.context)==null?void 0:nl.elements.floating,gi)||i((Si=bi.context)==null?void 0:Si.elements.domReference,gi)})||Rn(ks.nodesRef.current,yi).find(bi=>{var nl,Si,ta;return[(nl=bi.context)==null?void 0:nl.elements.floating,ut((Si=bi.context)==null?void 0:Si.elements.floating)].includes(gi)||((ta=bi.context)==null?void 0:ta.elements.domReference)===gi})));if(ha&&ki&&a(C(Ss))===C(Ss).body){(0,n.Re)(Ss)&&Ss.focus();const bi=_s.current,nl=hs(),Si=nl[bi]||nl[nl.length-1]||Ss;(0,n.Re)(Si)&&Si.focus()}(Ys||!yr)&&gi&&ki&&!Vs.current&&gi!==rr()&&(Os.current=!0,Yo(!1,ti,"focus-out"))})}if(ds&&(0,n.Re)(Ua))return Ua.addEventListener("focusout",Bs),Ua.addEventListener("pointerdown",Zs),ds.addEventListener("focusout",Bs),()=>{Ua.removeEventListener("focusout",Bs),Ua.removeEventListener("pointerdown",Zs),ds.removeEventListener("focusout",Bs)}},[xr,Ua,ds,Ss,yr,ks,Ms,Yo,ao,ha,hs,Ys,us]);const Ni=r.useRef(null),Ji=r.useRef(null),wi=G([Ni,Ms==null?void 0:Ms.beforeInsideRef]),vi=G([Ji,Ms==null?void 0:Ms.afterInsideRef]);r.useEffect(()=>{var Zs;if(xr||!ds)return;const Bs=Array.from((Ms==null||(Zs=Ms.portalNode)==null?void 0:Zs.querySelectorAll("["+vt("portal")+"]"))||[]),ti=ks&&!yr?Rn(ks==null?void 0:ks.nodesRef.current,us()).map(ki=>{var bi;return(bi=ki.context)==null?void 0:bi.elements.floating}):[],gi=[ds,...Bs,...ti,bs.current,Hs.current,Ni.current,Ji.current,Ms==null?void 0:Ms.beforeOutsideRef.current,Ms==null?void 0:Ms.afterOutsideRef.current,Pi.current.includes("reference")||Ys?Ua:null].filter(ki=>ki!=null),yi=yr||Ys?Xt(gi,!Ai,Ai):Xt(gi);return()=>{yi()}},[xr,Ua,ds,yr,Pi,Ms,Ys,xs,Ai,ks,us]),he(()=>{if(xr||!(0,n.Re)(Ss))return;const Zs=C(Ss),Bs=a(Zs);queueMicrotask(()=>{const ti=li(Ss),gi=ei.current,yi=(typeof gi=="number"?ti[gi]:gi.current)||Ss,ki=i(Ss,Bs);!ys&&!ki&&Lo&&jt(yi,{preventScroll:yi===Ss})})},[xr,Lo,Ss,ys,li,ei]),he(()=>{if(xr||!Ss)return;let Zs=!1;const Bs=C(Ss),ti=a(Bs);let yi=Xo.current.openEvent;In(ti);function ki(Si){let{open:ta,reason:ke,event:Jt,nested:Fn}=Si;ta&&(yi=Jt),ke==="escape-key"&&Ua&&In(Ua),["hover","safe-polygon"].includes(ke)&&Jt.type==="mouseleave"&&(Os.current=!0),ke==="outside-press"&&(Fn?(Os.current=!1,Zs=!0):Os.current=!(f(Jt)||d(Jt)))}jo.on("openchange",ki);const bi=Bs.createElement("span");bi.setAttribute("tabindex","-1"),bi.setAttribute("aria-hidden","true"),Object.assign(bi.style,un),fs&&Ua&&Ua.insertAdjacentElement("afterend",bi);function nl(){return typeof hi.current=="boolean"?rr()||bi:hi.current.current||bi}return()=>{jo.off("openchange",ki);const Si=a(Bs),ta=i(ds,Si)||ks&&jn(ks.nodesRef.current,us()).some(Fn=>{var mr;return i((mr=Fn.context)==null?void 0:mr.elements.floating,Si)});(ta||yi&&["click","mousedown"].includes(yi.type))&&Ua&&In(Ua);const Jt=nl();queueMicrotask(()=>{const Fn=Sr(Jt);hi.current&&!Os.current&&(0,n.Re)(Fn)&&(!(Fn!==Si&&Si!==Bs.body)||ta)&&Fn.focus({preventScroll:Zs}),bi.remove()})}},[xr,ds,Ss,hi,Xo,jo,ks,fs,Ua,us]),r.useEffect(()=>{queueMicrotask(()=>{Os.current=!1})},[xr]),he(()=>{if(!xr&&Ms)return Ms.setFocusManagerState({modal:yr,closeOnFocusOut:ao,open:Lo,onOpenChange:Yo,domReference:Ua}),()=>{Ms.setFocusManagerState(null)}},[xr,Ms,yr,Lo,Yo,ao,Ua]),he(()=>{if(xr||!Ss||typeof MutationObserver!="function"||ys)return;const Zs=()=>{const ti=Ss.getAttribute("tabindex"),gi=hs(),yi=a(C(ds)),ki=gi.indexOf(yi);ki!==-1&&(_s.current=ki),Pi.current.includes("floating")||yi!==Ua&&gi.length===0?ti!=="0"&&Ss.setAttribute("tabindex","0"):ti!=="-1"&&Ss.setAttribute("tabindex","-1")};Zs();const Bs=new MutationObserver(Zs);return Bs.observe(Ss,{childList:!0,subtree:!0,attributes:!0}),()=>{Bs.disconnect()}},[xr,ds,Ss,Ua,Pi,hs,ys]);function sl(Zs){return xr||!Lr||!yr?null:(0,I.jsx)(Yr,{ref:Zs==="start"?bs:Hs,onClick:Bs=>Yo(!1,Bs.nativeEvent),children:typeof Lr=="string"?Lr:"Dismiss"})}const Zi=!xr&&xs&&(yr?!Ys:!0)&&(fs||yr);return(0,I.jsxs)(I.Fragment,{children:[Zi&&(0,I.jsx)(Wt,{"data-type":"inside",ref:wi,onFocus:Zs=>{if(yr){const ti=li();jt(uo[0]==="reference"?ti[0]:ti[ti.length-1])}else if(Ms!=null&&Ms.preserveTabOrder&&Ms.portalNode)if(Os.current=!1,qt(Zs,Ms.portalNode)){const ti=xt()||Ua;ti==null||ti.focus()}else{var Bs;(Bs=Ms.beforeOutsideRef.current)==null||Bs.focus()}}}),!Ys&&sl("start"),To,sl("end"),Zi&&(0,I.jsx)(Wt,{"data-type":"inside",ref:vi,onFocus:Zs=>{if(yr)jt(li()[0]);else if(Ms!=null&&Ms.preserveTabOrder&&Ms.portalNode)if(ao&&(Os.current=!0),qt(Zs,Ms.portalNode)){const ti=Qt()||Ua;ti==null||ti.focus()}else{var Bs;(Bs=Ms.afterOutsideRef.current)==null||Bs.focus()}}})]})}let Mn=0;function sr(){const Vr=/iP(hone|ad|od)|iOS/.test(getPlatform()),Qr=document.body.style,xr=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",uo=window.innerWidth-document.documentElement.clientWidth,Mo=Qr.left?parseFloat(Qr.left):window.scrollX,go=Qr.top?parseFloat(Qr.top):window.scrollY;if(Qr.overflow="hidden",uo&&(Qr[xr]=uo+"px"),Vr){var ea,ha;const yr=((ea=window.visualViewport)==null?void 0:ea.offsetLeft)||0,Lr=((ha=window.visualViewport)==null?void 0:ha.offsetTop)||0;Object.assign(Qr,{position:"fixed",top:-(go-Math.floor(Lr))+"px",left:-(Mo-Math.floor(yr))+"px",right:"0"})}return()=>{Object.assign(Qr,{overflow:"",[xr]:""}),Vr&&(Object.assign(Qr,{position:"",top:"",left:"",right:""}),window.scrollTo(Mo,go))}}let Ar=()=>{};const vr=null;function qr(Vr){return(0,n.Re)(Vr.target)&&Vr.target.tagName==="BUTTON"}function Dr(Vr){return s(Vr)}function eo(Vr,Qr){Qr===void 0&&(Qr={});const{open:To,onOpenChange:xr,dataRef:uo,elements:{domReference:Mo}}=Vr,{enabled:go=!0,event:ea="click",toggle:ha=!0,ignoreMouse:yr=!1,keyboardHandlers:Lr=!0,stickIfOpen:ao=!0}=Qr,ho=r.useRef(),Lo=r.useRef(!1),Yo=r.useMemo(()=>({onPointerDown(jo){ho.current=jo.pointerType},onMouseDown(jo){const Xo=ho.current;jo.button===0&&ea!=="click"&&(y(Xo,!0)&&yr||(To&&ha&&(!(uo.current.openEvent&&ao)||uo.current.openEvent.type==="mousedown")?xr(!1,jo.nativeEvent,"click"):(jo.preventDefault(),xr(!0,jo.nativeEvent,"click"))))},onClick(jo){const Xo=ho.current;if(ea==="mousedown"&&ho.current){ho.current=void 0;return}y(Xo,!0)&&yr||(To&&ha&&(!(uo.current.openEvent&&ao)||uo.current.openEvent.type==="click")?xr(!1,jo.nativeEvent,"click"):xr(!0,jo.nativeEvent,"click"))},onKeyDown(jo){ho.current=void 0,!(jo.defaultPrevented||!Lr||qr(jo))&&(jo.key===" "&&!Dr(Mo)&&(jo.preventDefault(),Lo.current=!0),jo.key==="Enter"&&xr(!(To&&ha),jo.nativeEvent,"click"))},onKeyUp(jo){jo.defaultPrevented||!Lr||qr(jo)||Dr(Mo)||jo.key===" "&&Lo.current&&(Lo.current=!1,xr(!(To&&ha),jo.nativeEvent,"click"))}}),[uo,Mo,ea,yr,Lr,xr,To,ao,ha]);return r.useMemo(()=>go?{reference:Yo}:{},[go,Yo])}function Vo(Vr,Qr){let To=null,xr=null,uo=!1;return{contextElement:Vr||void 0,getBoundingClientRect(){var Mo;const go=(Vr==null?void 0:Vr.getBoundingClientRect())||{width:0,height:0,x:0,y:0},ea=Qr.axis==="x"||Qr.axis==="both",ha=Qr.axis==="y"||Qr.axis==="both",yr=["mouseenter","mousemove"].includes(((Mo=Qr.dataRef.current.openEvent)==null?void 0:Mo.type)||"")&&Qr.pointerType!=="touch";let Lr=go.width,ao=go.height,ho=go.x,Lo=go.y;return To==null&&Qr.x&&ea&&(To=go.x-Qr.x),xr==null&&Qr.y&&ha&&(xr=go.y-Qr.y),ho-=To||0,Lo-=xr||0,Lr=0,ao=0,!uo||yr?(Lr=Qr.axis==="y"?go.width:0,ao=Qr.axis==="x"?go.height:0,ho=ea&&Qr.x!=null?Qr.x:ho,Lo=ha&&Qr.y!=null?Qr.y:Lo):uo&&!yr&&(ao=Qr.axis==="x"?go.height:ao,Lr=Qr.axis==="y"?go.width:Lr),uo=!0,{width:Lr,height:ao,x:ho,y:Lo,top:Lo,right:ho+Lr,bottom:Lo+ao,left:ho}}}}function Bn(Vr){return Vr!=null&&Vr.clientX!=null}function ar(Vr,Qr){Qr===void 0&&(Qr={});const{open:To,dataRef:xr,elements:{floating:uo,domReference:Mo},refs:go}=Vr,{enabled:ea=!0,axis:ha="both",x:yr=null,y:Lr=null}=Qr,ao=React.useRef(!1),ho=React.useRef(null),[Lo,Yo]=React.useState(),[jo,Xo]=React.useState([]),Ua=B((Gs,xs)=>{ao.current||xr.current.openEvent&&!Bn(xr.current.openEvent)||go.setPositionReference(Vo(Mo,{x:Gs,y:xs,axis:ha,dataRef:xr,pointerType:Lo}))}),ds=B(Gs=>{yr!=null||Lr!=null||(To?ho.current||Xo([]):Ua(Gs.clientX,Gs.clientY))}),us=isMouseLikePointerType(Lo)?uo:To,ys=React.useCallback(()=>{if(!us||!ea||yr!=null||Lr!=null)return;const Gs=getWindow(uo);function xs(Ai){const Pi=getTarget(Ai);contains(uo,Pi)?(Gs.removeEventListener("mousemove",xs),ho.current=null):Ua(Ai.clientX,Ai.clientY)}if(!xr.current.openEvent||Bn(xr.current.openEvent)){Gs.addEventListener("mousemove",xs);const Ai=()=>{Gs.removeEventListener("mousemove",xs),ho.current=null};return ho.current=Ai,Ai}go.setPositionReference(Mo)},[us,ea,yr,Lr,uo,xr,go,Mo,Ua]);React.useEffect(()=>ys(),[ys,jo]),React.useEffect(()=>{ea&&!uo&&(ao.current=!1)},[ea,uo]),React.useEffect(()=>{!ea&&To&&(ao.current=!0)},[ea,To]),he(()=>{ea&&(yr!=null||Lr!=null)&&(ao.current=!1,Ua(yr,Lr))},[ea,yr,Lr,Ua]);const Ys=React.useMemo(()=>{function Gs(xs){let{pointerType:Ai}=xs;Yo(Ai)}return{onPointerDown:Gs,onPointerEnter:Gs,onMouseMove:ds,onMouseEnter:ds}},[ds]);return React.useMemo(()=>ea?{reference:Ys}:{},[ea,Ys])}const rn={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Rt={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Qe=Vr=>{var Qr,To;return{escapeKey:typeof Vr=="boolean"?Vr:(Qr=Vr==null?void 0:Vr.escapeKey)!=null?Qr:!1,outsidePress:typeof Vr=="boolean"?Vr:(To=Vr==null?void 0:Vr.outsidePress)!=null?To:!0}};function Ye(Vr,Qr){Qr===void 0&&(Qr={});const{open:To,onOpenChange:xr,elements:uo,dataRef:Mo}=Vr,{enabled:go=!0,escapeKey:ea=!0,outsidePress:ha=!0,outsidePressEvent:yr="pointerdown",referencePress:Lr=!1,referencePressEvent:ao="pointerdown",ancestorScroll:ho=!1,bubbles:Lo,capture:Yo}=Qr,jo=ce(),Xo=B(typeof ha=="function"?ha:()=>!1),Ua=typeof ha=="function"?Xo:ha,ds=r.useRef(!1),us=r.useRef(!1),{escapeKey:ys,outsidePress:Ys}=Qe(Lo),{escapeKey:Gs,outsidePress:xs}=Qe(Yo),Ai=r.useRef(!1),Pi=B(Hs=>{var Os;if(!To||!go||!ea||Hs.key!=="Escape"||Ai.current)return;const Vs=(Os=Mo.current.floatingContext)==null?void 0:Os.nodeId,_s=jo?jn(jo.nodesRef.current,Vs):[];if(!ys&&(Hs.stopPropagation(),_s.length>0)){let fs=!0;if(_s.forEach(Ss=>{var hs;if((hs=Ss.context)!=null&&hs.open&&!Ss.context.dataRef.current.__escapeKeyBubbles){fs=!1;return}}),!fs)return}xr(!1,O(Hs)?Hs.nativeEvent:Hs,"escape-key")}),ei=B(Hs=>{var Os;const Vs=()=>{var _s;Pi(Hs),(_s=S(Hs))==null||_s.removeEventListener("keydown",Vs)};(Os=S(Hs))==null||Os.addEventListener("keydown",Vs)}),hi=B(Hs=>{var Os;const Vs=ds.current;ds.current=!1;const _s=us.current;if(us.current=!1,yr==="click"&&_s||Vs||typeof Ua=="function"&&!Ua(Hs))return;const fs=S(Hs),Ss="["+vt("inert")+"]",hs=C(uo.floating).querySelectorAll(Ss);let li=(0,n.kK)(fs)?fs:null;for(;li&&!(0,n.Py)(li);){const vi=(0,n.Ow)(li);if((0,n.Py)(vi)||!(0,n.kK)(vi))break;li=vi}if(hs.length&&(0,n.kK)(fs)&&!P(fs)&&!i(fs,uo.floating)&&Array.from(hs).every(vi=>!i(li,vi)))return;if((0,n.Re)(fs)&&bs){const vi=(0,n.Py)(fs),sl=(0,n.Dx)(fs),Zi=/auto|scroll/,Zs=vi||Zi.test(sl.overflowX),Bs=vi||Zi.test(sl.overflowY),ti=Zs&&fs.clientWidth>0&&fs.scrollWidth>fs.clientWidth,gi=Bs&&fs.clientHeight>0&&fs.scrollHeight>fs.clientHeight,yi=sl.direction==="rtl",ki=gi&&(yi?Hs.offsetX<=fs.offsetWidth-fs.clientWidth:Hs.offsetX>fs.clientWidth),bi=ti&&Hs.offsetY>fs.clientHeight;if(ki||bi)return}const Ni=(Os=Mo.current.floatingContext)==null?void 0:Os.nodeId,Ji=jo&&jn(jo.nodesRef.current,Ni).some(vi=>{var sl;return A(Hs,(sl=vi.context)==null?void 0:sl.elements.floating)});if(A(Hs,uo.floating)||A(Hs,uo.domReference)||Ji)return;const wi=jo?jn(jo.nodesRef.current,Ni):[];if(wi.length>0){let vi=!0;if(wi.forEach(sl=>{var Zi;if((Zi=sl.context)!=null&&Zi.open&&!sl.context.dataRef.current.__outsidePressBubbles){vi=!1;return}}),!vi)return}xr(!1,Hs,"outside-press")}),ks=B(Hs=>{var Os;const Vs=()=>{var _s;hi(Hs),(_s=S(Hs))==null||_s.removeEventListener(yr,Vs)};(Os=S(Hs))==null||Os.addEventListener(yr,Vs)});r.useEffect(()=>{if(!To||!go)return;Mo.current.__escapeKeyBubbles=ys,Mo.current.__outsidePressBubbles=Ys;let Hs=-1;function Os(hs){xr(!1,hs,"ancestor-scroll")}function Vs(){window.clearTimeout(Hs),Ai.current=!0}function _s(){Hs=window.setTimeout(()=>{Ai.current=!1},(0,n.Pf)()?5:0)}const fs=C(uo.floating);ea&&(fs.addEventListener("keydown",Gs?ei:Pi,Gs),fs.addEventListener("compositionstart",Vs),fs.addEventListener("compositionend",_s)),Ua&&fs.addEventListener(yr,xs?ks:hi,xs);let Ss=[];return ho&&((0,n.kK)(uo.domReference)&&(Ss=(0,n.Kx)(uo.domReference)),(0,n.kK)(uo.floating)&&(Ss=Ss.concat((0,n.Kx)(uo.floating))),!(0,n.kK)(uo.reference)&&uo.reference&&uo.reference.contextElement&&(Ss=Ss.concat((0,n.Kx)(uo.reference.contextElement)))),Ss=Ss.filter(hs=>{var li;return hs!==((li=fs.defaultView)==null?void 0:li.visualViewport)}),Ss.forEach(hs=>{hs.addEventListener("scroll",Os,{passive:!0})}),()=>{ea&&(fs.removeEventListener("keydown",Gs?ei:Pi,Gs),fs.removeEventListener("compositionstart",Vs),fs.removeEventListener("compositionend",_s)),Ua&&fs.removeEventListener(yr,xs?ks:hi,xs),Ss.forEach(hs=>{hs.removeEventListener("scroll",Os)}),window.clearTimeout(Hs)}},[Mo,uo,ea,Ua,yr,To,xr,ho,go,ys,Ys,Pi,Gs,ei,hi,xs,ks]),r.useEffect(()=>{ds.current=!1},[Ua,yr]);const Ms=r.useMemo(()=>({onKeyDown:Pi,...Lr&&{[rn[ao]]:Hs=>{xr(!1,Hs.nativeEvent,"reference-press")},...ao!=="click"&&{onClick(Hs){xr(!1,Hs.nativeEvent,"reference-press")}}}}),[Pi,xr,Lr,ao]),bs=r.useMemo(()=>({onKeyDown:Pi,onMouseDown(){us.current=!0},onMouseUp(){us.current=!0},[Rt[yr]]:()=>{ds.current=!0}}),[Pi,yr]);return r.useMemo(()=>go?{reference:Ms,floating:bs}:{},[go,Ms,bs])}function yt(Vr){const{open:Qr=!1,onOpenChange:To,elements:xr}=Vr,uo=Ce(),Mo=r.useRef({}),[go]=r.useState(()=>Ie()),ea=rt()!=null,[ha,yr]=r.useState(xr.reference),Lr=B((Lo,Yo,jo)=>{Mo.current.openEvent=Lo?Yo:void 0,go.emit("openchange",{open:Lo,event:Yo,reason:jo,nested:ea}),To==null||To(Lo,Yo,jo)}),ao=r.useMemo(()=>({setPositionReference:yr}),[]),ho=r.useMemo(()=>({reference:ha||xr.reference||null,floating:xr.floating||null,domReference:xr.reference}),[ha,xr.reference,xr.floating]);return r.useMemo(()=>({dataRef:Mo,open:Qr,onOpenChange:Lr,elements:ho,events:go,floatingId:uo,refs:ao}),[Qr,Lr,ho,go,uo,ao])}function Ze(Vr){Vr===void 0&&(Vr={});const{nodeId:Qr}=Vr,To=yt({...Vr,elements:{reference:null,floating:null,...Vr.elements}}),xr=Vr.rootContext||To,uo=xr.elements,[Mo,go]=r.useState(null),[ea,ha]=r.useState(null),Lr=(uo==null?void 0:uo.domReference)||Mo,ao=r.useRef(null),ho=ce();he(()=>{Lr&&(ao.current=Lr)},[Lr]);const Lo=(0,F.YF)({...Vr,elements:{...uo,...ea&&{reference:ea}}}),Yo=r.useCallback(us=>{const ys=(0,n.kK)(us)?{getBoundingClientRect:()=>us.getBoundingClientRect(),contextElement:us}:us;ha(ys),Lo.refs.setReference(ys)},[Lo.refs]),jo=r.useCallback(us=>{((0,n.kK)(us)||us===null)&&(ao.current=us,go(us)),((0,n.kK)(Lo.refs.reference.current)||Lo.refs.reference.current===null||us!==null&&!(0,n.kK)(us))&&Lo.refs.setReference(us)},[Lo.refs]),Xo=r.useMemo(()=>({...Lo.refs,setReference:jo,setPositionReference:Yo,domReference:ao}),[Lo.refs,jo,Yo]),Ua=r.useMemo(()=>({...Lo.elements,domReference:Lr}),[Lo.elements,Lr]),ds=r.useMemo(()=>({...Lo,...xr,refs:Xo,elements:Ua,nodeId:Qr}),[Lo,Xo,Ua,Qr,xr]);return he(()=>{xr.dataRef.current.floatingContext=ds;const us=ho==null?void 0:ho.nodesRef.current.find(ys=>ys.id===Qr);us&&(us.context=ds)}),r.useMemo(()=>({...Lo,context:ds,refs:Xo,elements:Ua}),[Lo,Xo,Ua,ds])}function Mt(Vr,Qr){Qr===void 0&&(Qr={});const{open:To,onOpenChange:xr,events:uo,dataRef:Mo,elements:go}=Vr,{enabled:ea=!0,visibleOnly:ha=!0}=Qr,yr=React.useRef(!1),Lr=React.useRef(),ao=React.useRef(!0);React.useEffect(()=>{if(!ea)return;const Lo=getWindow(go.domReference);function Yo(){!To&&isHTMLElement(go.domReference)&&go.domReference===activeElement(getDocument(go.domReference))&&(yr.current=!0)}function jo(){ao.current=!0}return Lo.addEventListener("blur",Yo),Lo.addEventListener("keydown",jo,!0),()=>{Lo.removeEventListener("blur",Yo),Lo.removeEventListener("keydown",jo,!0)}},[go.domReference,To,ea]),React.useEffect(()=>{if(!ea)return;function Lo(Yo){let{reason:jo}=Yo;(jo==="reference-press"||jo==="escape-key")&&(yr.current=!0)}return uo.on("openchange",Lo),()=>{uo.off("openchange",Lo)}},[uo,ea]),React.useEffect(()=>()=>{clearTimeout(Lr.current)},[]);const ho=React.useMemo(()=>({onPointerDown(Lo){isVirtualPointerEvent(Lo.nativeEvent)||(ao.current=!1)},onMouseLeave(){yr.current=!1},onFocus(Lo){if(yr.current)return;const Yo=getTarget(Lo.nativeEvent);if(ha&&isElement(Yo))try{if(isSafari()&&isMac())throw Error();if(!Yo.matches(":focus-visible"))return}catch{if(!ao.current&&!isTypeableElement(Yo))return}xr(!0,Lo.nativeEvent,"focus")},onBlur(Lo){yr.current=!1;const Yo=Lo.relatedTarget,jo=Lo.nativeEvent,Xo=isElement(Yo)&&Yo.hasAttribute(vt("focus-guard"))&&Yo.getAttribute("data-type")==="outside";Lr.current=window.setTimeout(()=>{var Ua;const ds=activeElement(go.domReference?go.domReference.ownerDocument:document);!Yo&&ds===go.domReference||contains((Ua=Mo.current.floatingContext)==null?void 0:Ua.refs.floating.current,ds)||contains(go.domReference,ds)||Xo||xr(!1,jo,"focus")})}}),[Mo,go.domReference,xr,ha]);return React.useMemo(()=>ea?{reference:ho}:{},[ea,ho])}const ot="active",et="selected";function St(Vr,Qr,To){const xr=new Map,uo=To==="item";let Mo=Vr;if(uo&&Vr){const{[ot]:go,[et]:ea,...ha}=Vr;Mo=ha}return{...To==="floating"&&{tabIndex:-1,[kt]:""},...Mo,...Qr.map(go=>{const ea=go?go[To]:null;return typeof ea=="function"?Vr?ea(Vr):null:ea}).concat(Vr).reduce((go,ea)=>(ea&&Object.entries(ea).forEach(ha=>{let[yr,Lr]=ha;if(!(uo&&[ot,et].includes(yr)))if(yr.indexOf("on")===0){if(xr.has(yr)||xr.set(yr,[]),typeof Lr=="function"){var ao;(ao=xr.get(yr))==null||ao.push(Lr),go[yr]=function(){for(var ho,Lo=arguments.length,Yo=new Array(Lo),jo=0;jo<Lo;jo++)Yo[jo]=arguments[jo];return(ho=xr.get(yr))==null?void 0:ho.map(Xo=>Xo(...Yo)).find(Xo=>Xo!==void 0)}}}else go[yr]=Lr}),go),{})}}function Ht(Vr){Vr===void 0&&(Vr=[]);const Qr=Vr.map(ea=>ea==null?void 0:ea.reference),To=Vr.map(ea=>ea==null?void 0:ea.floating),xr=Vr.map(ea=>ea==null?void 0:ea.item),uo=r.useCallback(ea=>St(ea,Vr,"reference"),Qr),Mo=r.useCallback(ea=>St(ea,Vr,"floating"),To),go=r.useCallback(ea=>St(ea,Vr,"item"),xr);return r.useMemo(()=>({getReferenceProps:uo,getFloatingProps:Mo,getItemProps:go}),[uo,Mo,go])}function er(Vr,Qr,To){switch(Vr){case"vertical":return Qr;case"horizontal":return To;default:return Qr||To}}function Mr(Vr,Qr){return er(Qr,Vr===R||Vr===U,Vr===j||Vr===$)}function mn(Vr,Qr,To){return er(Qr,Vr===U,To?Vr===j:Vr===$)||Vr==="Enter"||Vr===" "||Vr===""}function Un(Vr,Qr,To){return er(Qr,To?Vr===j:Vr===$,Vr===U)}function hr(Vr,Qr,To){return er(Qr,To?Vr===$:Vr===j,Vr===R)}function br(Vr,Qr){const{open:To,onOpenChange:xr,elements:uo}=Vr,{listRef:Mo,activeIndex:go,onNavigate:ea=()=>{},enabled:ha=!0,selectedIndex:yr=null,allowEscape:Lr=!1,loop:ao=!1,nested:ho=!1,rtl:Lo=!1,virtual:Yo=!1,focusItemOnOpen:jo="auto",focusItemOnHover:Xo=!0,openOnArrowKeyDown:Ua=!0,disabledIndices:ds=void 0,orientation:us="vertical",cols:ys=1,scrollItemIntoView:Ys=!0,virtualItemRef:Gs,itemSizes:xs,dense:Ai=!1}=Qr,Pi=ut(uo.floating),ei=ze(Pi),hi=rt(),ks=ce(),Ms=B(()=>{ea(Os.current===-1?null:Os.current)}),bs=m(uo.domReference),Hs=r.useRef(jo),Os=r.useRef(yr??-1),Vs=r.useRef(null),_s=r.useRef(!0),fs=r.useRef(Ms),Ss=r.useRef(!!uo.floating),hs=r.useRef(To),li=r.useRef(!1),Ni=r.useRef(!1),Ji=ze(ds),wi=ze(To),vi=ze(Ys),sl=ze(yr),[Zi,Zs]=r.useState(),[Bs,ti]=r.useState(),gi=B(()=>{function ke(mr){Yo?(Zs(mr.id),ks==null||ks.events.emit("virtualfocus",mr),Gs&&(Gs.current=mr)):jt(mr,{sync:li.current,preventScroll:!0})}const Jt=Mo.current[Os.current];Jt&&ke(Jt),(li.current?mr=>mr():requestAnimationFrame)(()=>{const mr=Mo.current[Os.current]||Jt;if(!mr)return;Jt||ke(mr);const Tr=vi.current;Tr&&ki&&(Ni.current||!_s.current)&&(mr.scrollIntoView==null||mr.scrollIntoView(typeof Tr=="boolean"?{block:"nearest",inline:"nearest"}:Tr))})});he(()=>{ha&&(To&&uo.floating?Hs.current&&yr!=null&&(Ni.current=!0,Os.current=yr,Ms()):Ss.current&&(Os.current=-1,fs.current()))},[ha,To,uo.floating,yr,Ms]),he(()=>{if(ha&&To&&uo.floating)if(go==null){if(li.current=!1,sl.current!=null)return;if(Ss.current&&(Os.current=-1,gi()),(!hs.current||!Ss.current)&&Hs.current&&(Vs.current!=null||Hs.current===!0&&Vs.current==null)){let ke=0;const Jt=()=>{Mo.current[0]==null?(ke<2&&(ke?requestAnimationFrame:queueMicrotask)(Jt),ke++):(Os.current=Vs.current==null||mn(Vs.current,us,Lo)||ho?ie(Mo,Ji.current):ne(Mo,Ji.current),Vs.current=null,Ms())};Jt()}}else te(Mo,go)||(Os.current=go,gi(),Ni.current=!1)},[ha,To,uo.floating,go,sl,ho,Mo,us,Lo,Ms,gi,Ji]),he(()=>{var ke;if(!ha||uo.floating||!ks||Yo||!Ss.current)return;const Jt=ks.nodesRef.current,Fn=(ke=Jt.find(Oo=>Oo.id===hi))==null||(ke=ke.context)==null?void 0:ke.elements.floating,mr=a(C(uo.floating)),Tr=Jt.some(Oo=>Oo.context&&i(Oo.context.elements.floating,mr));Fn&&!Tr&&_s.current&&Fn.focus({preventScroll:!0})},[ha,uo.floating,ks,hi,Yo]),he(()=>{if(!ha||!ks||!Yo||hi)return;function ke(Jt){ti(Jt.id),Gs&&(Gs.current=Jt)}return ks.events.on("virtualfocus",ke),()=>{ks.events.off("virtualfocus",ke)}},[ha,ks,Yo,hi,Gs]),he(()=>{fs.current=Ms,hs.current=To,Ss.current=!!uo.floating}),he(()=>{To||(Vs.current=null)},[To]);const yi=go!=null,ki=r.useMemo(()=>{function ke(Fn){if(!To)return;const mr=Mo.current.indexOf(Fn);mr!==-1&&Os.current!==mr&&(Os.current=mr,Ms())}return{onFocus(Fn){let{currentTarget:mr}=Fn;li.current=!0,ke(mr)},onClick:Fn=>{let{currentTarget:mr}=Fn;return mr.focus({preventScroll:!0})},...Xo&&{onMouseMove(Fn){let{currentTarget:mr}=Fn;li.current=!0,Ni.current=!1,ke(mr)},onPointerLeave(Fn){let{pointerType:mr}=Fn;if(!(!_s.current||mr==="touch")&&(li.current=!0,Os.current=-1,Ms(),!Yo)){var Tr;(Tr=ei.current)==null||Tr.focus({preventScroll:!0})}}}}},[To,ei,Xo,Mo,Ms,Yo]),bi=B(ke=>{if(_s.current=!1,li.current=!0,ke.which===229||!wi.current&&ke.currentTarget===ei.current)return;if(ho&&hr(ke.key,us,Lo)){v(ke),xr(!1,ke.nativeEvent,"list-navigation"),(0,n.Re)(uo.domReference)&&(Yo?ks==null||ks.events.emit("virtualfocus",uo.domReference):uo.domReference.focus());return}const Jt=Os.current,Fn=ie(Mo,ds),mr=ne(Mo,ds);if(bs||(ke.key==="Home"&&(v(ke),Os.current=Fn,Ms()),ke.key==="End"&&(v(ke),Os.current=mr,Ms())),ys>1){const Tr=xs||Array.from({length:Mo.current.length},()=>({width:1,height:1})),Oo=q(Tr,ys,Ai),Uo=Oo.findIndex(Lt=>Lt!=null&&!re(Mo.current,Lt,ds)),gt=Oo.reduce((Lt,$t,_n)=>$t!=null&&!re(Mo.current,$t,ds)?_n:Lt,-1),it=Oo[oe({current:Oo.map(Lt=>Lt!=null?Mo.current[Lt]:null)},{event:ke,orientation:us,loop:ao,rtl:Lo,cols:ys,disabledIndices:me([...ds||Mo.current.map((Lt,$t)=>re(Mo.current,$t)?$t:void 0),void 0],Oo),minIndex:Uo,maxIndex:gt,prevIndex:J(Os.current>mr?Fn:Os.current,Tr,Oo,ys,ke.key===U?"bl":ke.key===(Lo?j:$)?"tr":"tl"),stopEvent:!0})];if(it!=null&&(Os.current=it,Ms()),us==="both")return}if(Mr(ke.key,us)){if(v(ke),To&&!Yo&&a(ke.currentTarget.ownerDocument)===ke.currentTarget){Os.current=mn(ke.key,us,Lo)?Fn:mr,Ms();return}mn(ke.key,us,Lo)?ao?Os.current=Jt>=mr?Lr&&Jt!==Mo.current.length?-1:Fn:pe(Mo,{startingIndex:Jt,disabledIndices:ds}):Os.current=Math.min(mr,pe(Mo,{startingIndex:Jt,disabledIndices:ds})):ao?Os.current=Jt<=Fn?Lr&&Jt!==-1?Mo.current.length:mr:pe(Mo,{startingIndex:Jt,decrement:!0,disabledIndices:ds}):Os.current=Math.max(Fn,pe(Mo,{startingIndex:Jt,decrement:!0,disabledIndices:ds})),te(Mo,Os.current)&&(Os.current=-1),Ms()}}),nl=r.useMemo(()=>Yo&&To&&yi&&{"aria-activedescendant":Bs||Zi},[Yo,To,yi,Bs,Zi]),Si=r.useMemo(()=>({"aria-orientation":us==="both"?void 0:us,...bs?{}:nl,onKeyDown:bi,onPointerMove(){_s.current=!0}}),[nl,bi,us,bs]),ta=r.useMemo(()=>{function ke(Fn){jo==="auto"&&f(Fn.nativeEvent)&&(Hs.current=!0)}function Jt(Fn){Hs.current=jo,jo==="auto"&&d(Fn.nativeEvent)&&(Hs.current=!0)}return{...nl,onKeyDown(Fn){_s.current=!1;const mr=Fn.key.startsWith("Arrow"),Tr=["Home","End"].includes(Fn.key),Oo=mr||Tr,Uo=Un(Fn.key,us,Lo),gt=hr(Fn.key,us,Lo),it=Mr(Fn.key,us),Lt=(ho?Uo:it)||Fn.key==="Enter"||Fn.key.trim()==="";if(Yo&&To){const Jn=ks==null?void 0:ks.nodesRef.current.find(jr=>jr.parentId==null),Hn=ks&&Jn?Tn(ks.nodesRef.current,Jn.id):null;if(Oo&&Hn&&Gs){const jr=new KeyboardEvent("keydown",{key:Fn.key,bubbles:!0});if(Uo||gt){var $t,_n;const wo=(($t=Hn.context)==null?void 0:$t.elements.domReference)===Fn.currentTarget,ko=gt&&!wo?(_n=Hn.context)==null?void 0:_n.elements.domReference:Uo?Mo.current.find(Sa=>(Sa==null?void 0:Sa.id)===Zi):null;ko&&(v(Fn),ko.dispatchEvent(jr),ti(void 0))}if((it||Tr)&&Hn.context&&Hn.context.open&&Hn.parentId&&Fn.currentTarget!==Hn.context.elements.domReference){var dn;v(Fn),(dn=Hn.context.elements.domReference)==null||dn.dispatchEvent(jr);return}}return bi(Fn)}if(!(!To&&!Ua&&mr)){if(Lt&&(Vs.current=ho&&it?null:Fn.key),ho){Uo&&(v(Fn),To?(Os.current=ie(Mo,Ji.current),Ms()):xr(!0,Fn.nativeEvent,"list-navigation"));return}it&&(yr!=null&&(Os.current=yr),v(Fn),!To&&Ua?xr(!0,Fn.nativeEvent,"list-navigation"):bi(Fn),To&&Ms())}},onFocus(){To&&!Yo&&(Os.current=-1,Ms())},onPointerDown:Jt,onPointerEnter:Jt,onMouseDown:ke,onClick:ke}},[Zi,nl,bi,Ji,jo,Mo,ho,Ms,xr,To,Ua,us,Lo,yr,ks,Yo,Gs]);return r.useMemo(()=>ha?{reference:ta,floating:Si,item:ki}:{},[ha,ta,Si,ki])}const io=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function Kr(Vr,Qr){var To;Qr===void 0&&(Qr={});const{open:xr,floatingId:uo}=Vr,{enabled:Mo=!0,role:go="dialog"}=Qr,ea=(To=io.get(go))!=null?To:go,ha=Ce(),Lr=rt()!=null,ao=r.useMemo(()=>ea==="tooltip"||go==="label"?{["aria-"+(go==="label"?"labelledby":"describedby")]:xr?uo:void 0}:{"aria-expanded":xr?"true":"false","aria-haspopup":ea==="alertdialog"?"dialog":ea,"aria-controls":xr?uo:void 0,...ea==="listbox"&&{role:"combobox"},...ea==="menu"&&{id:ha},...ea==="menu"&&Lr&&{role:"menuitem"},...go==="select"&&{"aria-autocomplete":"none"},...go==="combobox"&&{"aria-autocomplete":"list"}},[ea,uo,Lr,xr,ha,go]),ho=r.useMemo(()=>{const Yo={id:uo,...ea&&{role:ea}};return ea==="tooltip"||go==="label"?Yo:{...Yo,...ea==="menu"&&{"aria-labelledby":ha}}},[ea,uo,ha,go]),Lo=r.useCallback(Yo=>{let{active:jo,selected:Xo}=Yo;const Ua={role:"option",...jo&&{id:uo+"-option"}};switch(go){case"select":return{...Ua,"aria-selected":jo&&Xo};case"combobox":return{...Ua,...jo&&{"aria-selected":!0}}}return{}},[uo,go]);return r.useMemo(()=>Mo?{reference:ao,floating:ho,item:Lo}:{},[Mo,ao,ho,Lo])}const xo=Vr=>Vr.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(Qr,To)=>(To?"-":"")+Qr.toLowerCase());function Ho(Vr,Qr){return typeof Vr=="function"?Vr(Qr):Vr}function bo(Vr,Qr){const[To,xr]=React.useState(Vr);return Vr&&!To&&xr(!0),React.useEffect(()=>{if(!Vr&&To){const uo=setTimeout(()=>xr(!1),Qr);return()=>clearTimeout(uo)}},[Vr,To,Qr]),To}function Ea(Vr,Qr){Qr===void 0&&(Qr={});const{open:To,elements:{floating:xr}}=Vr,{duration:uo=250}=Qr,go=(typeof uo=="number"?uo:uo.close)||0,[ea,ha]=React.useState("unmounted"),yr=bo(To,go);return!yr&&ea==="close"&&ha("unmounted"),he(()=>{if(xr){if(To){ha("initial");const Lr=requestAnimationFrame(()=>{ha("open")});return()=>{cancelAnimationFrame(Lr)}}ha("close")}},[To,xr]),{isMounted:yr,status:ea}}function Ia(Vr,Qr){Qr===void 0&&(Qr={});const{initial:To={opacity:0},open:xr,close:uo,common:Mo,duration:go=250}=Qr,ea=Vr.placement,ha=ea.split("-")[0],yr=React.useMemo(()=>({side:ha,placement:ea}),[ha,ea]),Lr=typeof go=="number",ao=(Lr?go:go.open)||0,ho=(Lr?go:go.close)||0,[Lo,Yo]=React.useState(()=>({...Ho(Mo,yr),...Ho(To,yr)})),{isMounted:jo,status:Xo}=Ea(Vr,{duration:go}),Ua=ze(To),ds=ze(xr),us=ze(uo),ys=ze(Mo);return he(()=>{const Ys=Ho(Ua.current,yr),Gs=Ho(us.current,yr),xs=Ho(ys.current,yr),Ai=Ho(ds.current,yr)||Object.keys(Ys).reduce((Pi,ei)=>(Pi[ei]="",Pi),{});if(Xo==="initial"&&Yo(Pi=>({transitionProperty:Pi.transitionProperty,...xs,...Ys})),Xo==="open"&&Yo({transitionProperty:Object.keys(Ai).map(xo).join(","),transitionDuration:ao+"ms",...xs,...Ai}),Xo==="close"){const Pi=Gs||Ys;Yo({transitionProperty:Object.keys(Pi).map(xo).join(","),transitionDuration:ho+"ms",...xs,...Pi})}},[ho,us,Ua,ds,ys,ao,Xo,yr]),{isMounted:jo,styles:Lo}}function Da(Vr,Qr){var To;const{open:xr,dataRef:uo}=Vr,{listRef:Mo,activeIndex:go,onMatch:ea,onTypingChange:ha,enabled:yr=!0,findMatch:Lr=null,resetMs:ao=750,ignoreKeys:ho=[],selectedIndex:Lo=null}=Qr,Yo=r.useRef(),jo=r.useRef(""),Xo=r.useRef((To=Lo??go)!=null?To:-1),Ua=r.useRef(null),ds=B(ea),us=B(ha),ys=ze(Lr),Ys=ze(ho);he(()=>{xr&&(clearTimeout(Yo.current),Ua.current=null,jo.current="")},[xr]),he(()=>{if(xr&&jo.current===""){var ei;Xo.current=(ei=Lo??go)!=null?ei:-1}},[xr,Lo,go]);const Gs=B(ei=>{ei?uo.current.typing||(uo.current.typing=ei,us(ei)):uo.current.typing&&(uo.current.typing=ei,us(ei))}),xs=B(ei=>{function hi(Os,Vs,_s){const fs=ys.current?ys.current(Vs,_s):Vs.find(Ss=>(Ss==null?void 0:Ss.toLocaleLowerCase().indexOf(_s.toLocaleLowerCase()))===0);return fs?Os.indexOf(fs):-1}const ks=Mo.current;if(jo.current.length>0&&jo.current[0]!==" "&&(hi(ks,ks,jo.current)===-1?Gs(!1):ei.key===" "&&v(ei)),ks==null||Ys.current.includes(ei.key)||ei.key.length!==1||ei.ctrlKey||ei.metaKey||ei.altKey)return;xr&&ei.key!==" "&&(v(ei),Gs(!0)),ks.every(Os=>{var Vs,_s;return Os?((Vs=Os[0])==null?void 0:Vs.toLocaleLowerCase())!==((_s=Os[1])==null?void 0:_s.toLocaleLowerCase()):!0})&&jo.current===ei.key&&(jo.current="",Xo.current=Ua.current),jo.current+=ei.key,clearTimeout(Yo.current),Yo.current=setTimeout(()=>{jo.current="",Xo.current=Ua.current,Gs(!1)},ao);const bs=Xo.current,Hs=hi(ks,[...ks.slice((bs||0)+1),...ks.slice(0,(bs||0)+1)],jo.current);Hs!==-1?(ds(Hs),Ua.current=Hs):ei.key!==" "&&(jo.current="",Gs(!1))}),Ai=r.useMemo(()=>({onKeyDown:xs}),[xs]),Pi=r.useMemo(()=>({onKeyDown:xs,onKeyUp(ei){ei.key===" "&&Gs(!1)}}),[xs,Gs]);return r.useMemo(()=>yr?{reference:Ai,floating:Pi}:{},[yr,Ai,Pi])}function Za(Vr,Qr){return{...Vr,rects:{...Vr.rects,floating:{...Vr.rects.floating,height:Qr}}}}const Xa=Vr=>({name:"inner",options:Vr,async fn(Qr){const{listRef:To,overflowRef:xr,onFallbackChange:uo,offset:Mo=0,index:go=0,minItemsVisible:ea=4,referenceOverflowThreshold:ha=0,scrollRef:yr,...Lr}=evaluate(Vr,Qr),{rects:ao,elements:{floating:ho}}=Qr,Lo=To.current[go],Yo=(yr==null?void 0:yr.current)||ho,jo=ho.clientTop||Yo.clientTop,Xo=ho.clientTop!==0,Ua=Yo.clientTop!==0,ds=ho===Yo;if(!Lo)return{};const us={...Qr,...await offset(-Lo.offsetTop-ho.clientTop-ao.reference.height/2-Lo.offsetHeight/2-Mo).fn(Qr)},ys=await detectOverflow(Za(us,Yo.scrollHeight+jo+ho.clientTop),Lr),Ys=await detectOverflow(us,{...Lr,elementContext:"reference"}),Gs=max(0,ys.top),xs=us.y+Gs,ei=(Yo.scrollHeight>Yo.clientHeight?hi=>hi:round)(max(0,Yo.scrollHeight+(Xo&&ds||Ua?jo*2:0)-Gs-max(0,ys.bottom)));if(Yo.style.maxHeight=ei+"px",Yo.scrollTop=Gs,uo){const hi=Yo.offsetHeight<Lo.offsetHeight*min(ea,To.current.length)-1||Ys.top>=-ha||Ys.bottom>=-ha;ReactDOM.flushSync(()=>uo(hi))}return xr&&(xr.current=await detectOverflow(Za({...us,y:xs},Yo.offsetHeight+jo+ho.clientTop),Lr)),{y:xs}}});function ba(Vr,Qr){const{open:To,elements:xr}=Vr,{enabled:uo=!0,overflowRef:Mo,scrollRef:go,onChange:ea}=Qr,ha=B(ea),yr=React.useRef(!1),Lr=React.useRef(null),ao=React.useRef(null);React.useEffect(()=>{if(!uo)return;function Lo(jo){if(jo.ctrlKey||!Yo||Mo.current==null)return;const Xo=jo.deltaY,Ua=Mo.current.top>=-.5,ds=Mo.current.bottom>=-.5,us=Yo.scrollHeight-Yo.clientHeight,ys=Xo<0?-1:1,Ys=Xo<0?"max":"min";Yo.scrollHeight<=Yo.clientHeight||(!Ua&&Xo>0||!ds&&Xo<0?(jo.preventDefault(),ReactDOM.flushSync(()=>{ha(Gs=>Gs+Math[Ys](Xo,us*ys))})):/firefox/i.test(getUserAgent())&&(Yo.scrollTop+=Xo))}const Yo=(go==null?void 0:go.current)||xr.floating;if(To&&Yo)return Yo.addEventListener("wheel",Lo),requestAnimationFrame(()=>{Lr.current=Yo.scrollTop,Mo.current!=null&&(ao.current={...Mo.current})}),()=>{Lr.current=null,ao.current=null,Yo.removeEventListener("wheel",Lo)}},[uo,To,xr.floating,Mo,go,ha]);const ho=React.useMemo(()=>({onKeyDown(){yr.current=!0},onWheel(){yr.current=!1},onPointerMove(){yr.current=!1},onScroll(){const Lo=(go==null?void 0:go.current)||xr.floating;if(!(!Mo.current||!Lo||!yr.current)){if(Lr.current!==null){const Yo=Lo.scrollTop-Lr.current;(Mo.current.bottom<-.5&&Yo<-1||Mo.current.top<-.5&&Yo>1)&&ReactDOM.flushSync(()=>ha(jo=>jo+Yo))}requestAnimationFrame(()=>{Lr.current=Lo.scrollTop})}}}),[xr.floating,ha,Mo,go]);return React.useMemo(()=>uo?{floating:ho}:{},[uo,ho])}function ns(Vr,Qr){const[To,xr]=Vr;let uo=!1;const Mo=Qr.length;for(let go=0,ea=Mo-1;go<Mo;ea=go++){const[ha,yr]=Qr[go]||[0,0],[Lr,ao]=Qr[ea]||[0,0];yr>=xr!=ao>=xr&&To<=(Lr-ha)*(xr-yr)/(ao-yr)+ha&&(uo=!uo)}return uo}function Ja(Vr,Qr){return Vr[0]>=Qr.x&&Vr[0]<=Qr.x+Qr.width&&Vr[1]>=Qr.y&&Vr[1]<=Qr.y+Qr.height}function Is(Vr){Vr===void 0&&(Vr={});const{buffer:Qr=.5,blockPointerEvents:To=!1,requireIntent:xr=!0}=Vr;let uo,Mo=!1,go=null,ea=null,ha=performance.now();function yr(ao,ho){const Lo=performance.now(),Yo=Lo-ha;if(go===null||ea===null||Yo===0)return go=ao,ea=ho,ha=Lo,null;const jo=ao-go,Xo=ho-ea,ds=Math.sqrt(jo*jo+Xo*Xo)/Yo;return go=ao,ea=ho,ha=Lo,ds}const Lr=ao=>{let{x:ho,y:Lo,placement:Yo,elements:jo,onClose:Xo,nodeId:Ua,tree:ds}=ao;return function(ys){function Ys(){clearTimeout(uo),Xo()}if(clearTimeout(uo),!jo.domReference||!jo.floating||Yo==null||ho==null||Lo==null)return;const{clientX:Gs,clientY:xs}=ys,Ai=[Gs,xs],Pi=getTarget(ys),ei=ys.type==="mouseleave",hi=contains(jo.floating,Pi),ks=contains(jo.domReference,Pi),Ms=jo.domReference.getBoundingClientRect(),bs=jo.floating.getBoundingClientRect(),Hs=Yo.split("-")[0],Os=ho>bs.right-bs.width/2,Vs=Lo>bs.bottom-bs.height/2,_s=Ja(Ai,Ms),fs=bs.width>Ms.width,Ss=bs.height>Ms.height,hs=(fs?Ms:bs).left,li=(fs?Ms:bs).right,Ni=(Ss?Ms:bs).top,Ji=(Ss?Ms:bs).bottom;if(hi&&(Mo=!0,!ei))return;if(ks&&(Mo=!1),ks&&!ei){Mo=!0;return}if(ei&&isElement(ys.relatedTarget)&&contains(jo.floating,ys.relatedTarget)||ds&&jn(ds.nodesRef.current,Ua).some(sl=>{let{context:Zi}=sl;return Zi==null?void 0:Zi.open}))return;if(Hs==="top"&&Lo>=Ms.bottom-1||Hs==="bottom"&&Lo<=Ms.top+1||Hs==="left"&&ho>=Ms.right-1||Hs==="right"&&ho<=Ms.left+1)return Ys();let wi=[];switch(Hs){case"top":wi=[[hs,Ms.top+1],[hs,bs.bottom-1],[li,bs.bottom-1],[li,Ms.top+1]];break;case"bottom":wi=[[hs,bs.top+1],[hs,Ms.bottom-1],[li,Ms.bottom-1],[li,bs.top+1]];break;case"left":wi=[[bs.right-1,Ji],[bs.right-1,Ni],[Ms.left+1,Ni],[Ms.left+1,Ji]];break;case"right":wi=[[Ms.right-1,Ji],[Ms.right-1,Ni],[bs.left+1,Ni],[bs.left+1,Ji]];break}function vi(sl){let[Zi,Zs]=sl;switch(Hs){case"top":{const Bs=[fs?Zi+Qr/2:Os?Zi+Qr*4:Zi-Qr*4,Zs+Qr+1],ti=[fs?Zi-Qr/2:Os?Zi+Qr*4:Zi-Qr*4,Zs+Qr+1],gi=[[bs.left,Os||fs?bs.bottom-Qr:bs.top],[bs.right,Os?fs?bs.bottom-Qr:bs.top:bs.bottom-Qr]];return[Bs,ti,...gi]}case"bottom":{const Bs=[fs?Zi+Qr/2:Os?Zi+Qr*4:Zi-Qr*4,Zs-Qr],ti=[fs?Zi-Qr/2:Os?Zi+Qr*4:Zi-Qr*4,Zs-Qr],gi=[[bs.left,Os||fs?bs.top+Qr:bs.bottom],[bs.right,Os?fs?bs.top+Qr:bs.bottom:bs.top+Qr]];return[Bs,ti,...gi]}case"left":{const Bs=[Zi+Qr+1,Ss?Zs+Qr/2:Vs?Zs+Qr*4:Zs-Qr*4],ti=[Zi+Qr+1,Ss?Zs-Qr/2:Vs?Zs+Qr*4:Zs-Qr*4];return[...[[Vs||Ss?bs.right-Qr:bs.left,bs.top],[Vs?Ss?bs.right-Qr:bs.left:bs.right-Qr,bs.bottom]],Bs,ti]}case"right":{const Bs=[Zi-Qr,Ss?Zs+Qr/2:Vs?Zs+Qr*4:Zs-Qr*4],ti=[Zi-Qr,Ss?Zs-Qr/2:Vs?Zs+Qr*4:Zs-Qr*4],gi=[[Vs||Ss?bs.left+Qr:bs.right,bs.top],[Vs?Ss?bs.left+Qr:bs.right:bs.left+Qr,bs.bottom]];return[Bs,ti,...gi]}}}if(!ns([Gs,xs],wi)){if(Mo&&!_s)return Ys();if(!ei&&xr){const sl=yr(ys.clientX,ys.clientY);if(sl!==null&&sl<.1)return Ys()}ns([Gs,xs],vi([ho,Lo]))?!Mo&&xr&&(uo=window.setTimeout(Ys,40)):Ys()}}};return Lr.__options={blockPointerEvents:To},Lr}},708112:function(b,l,e){"use strict";e.d(l,{Dx:()=>P,Jj:()=>n,Kx:()=>T,Lw:()=>C,Ow:()=>A,Pf:()=>y,Py:()=>O,Re:()=>u,Ze:()=>h,Zq:()=>f,ao:()=>d,gQ:()=>p,hT:()=>_,kK:()=>c,tF:()=>a,wk:()=>o});function r(){return typeof window<"u"}function o(v){return i(v)?(v.nodeName||"").toLowerCase():"#document"}function n(v){var m;return(v==null||(m=v.ownerDocument)==null?void 0:m.defaultView)||window}function a(v){var m;return(m=(i(v)?v.ownerDocument:v.document)||window.document)==null?void 0:m.documentElement}function i(v){return r()?v instanceof Node||v instanceof n(v).Node:!1}function c(v){return r()?v instanceof Element||v instanceof n(v).Element:!1}function u(v){return r()?v instanceof HTMLElement||v instanceof n(v).HTMLElement:!1}function f(v){return!r()||typeof ShadowRoot>"u"?!1:v instanceof ShadowRoot||v instanceof n(v).ShadowRoot}function d(v){const{overflow:m,overflowX:E,overflowY:I,display:L}=P(v);return/auto|scroll|overlay|hidden|clip/.test(m+I+E)&&!["inline","contents"].includes(L)}function h(v){return["table","td","th"].includes(o(v))}function g(v){return[":popover-open",":modal"].some(m=>{try{return v.matches(m)}catch{return!1}})}function _(v){const m=y(),E=c(v)?P(v):v;return["transform","translate","scale","rotate","perspective"].some(I=>E[I]?E[I]!=="none":!1)||(E.containerType?E.containerType!=="normal":!1)||!m&&(E.backdropFilter?E.backdropFilter!=="none":!1)||!m&&(E.filter?E.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(I=>(E.willChange||"").includes(I))||["paint","layout","strict","content"].some(I=>(E.contain||"").includes(I))}function p(v){let m=A(v);for(;u(m)&&!O(m);){if(_(m))return m;if(g(m))return null;m=A(m)}return null}function y(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function O(v){return["html","body","#document"].includes(o(v))}function P(v){return n(v).getComputedStyle(v)}function C(v){return c(v)?{scrollLeft:v.scrollLeft,scrollTop:v.scrollTop}:{scrollLeft:v.scrollX,scrollTop:v.scrollY}}function A(v){if(o(v)==="html")return v;const m=v.assignedSlot||v.parentNode||f(v)&&v.host||a(v);return f(m)?m.host:m}function S(v){const m=A(v);return O(m)?v.ownerDocument?v.ownerDocument.body:v.body:u(m)&&d(m)?m:S(m)}function T(v,m,E){var I;m===void 0&&(m=[]),E===void 0&&(E=!0);const L=S(v),W=L===((I=v.ownerDocument)==null?void 0:I.body),F=n(L);if(W){const G=s(F);return m.concat(F,F.visualViewport||[],d(L)?L:[],G&&E?T(G):[])}return m.concat(L,T(L,[],E))}function s(v){return v.parent&&Object.getPrototypeOf(v.parent)?v.frameElement:null}},585724:function(b,l,e){"use strict";e.d(l,{Ct:()=>n,Fp:()=>i,GW:()=>u,Go:()=>s,I4:()=>P,JB:()=>W,KX:()=>m,NM:()=>c,Qq:()=>C,Rn:()=>O,VV:()=>a,Wh:()=>A,gy:()=>T,hp:()=>y,i8:()=>S,k3:()=>p,ku:()=>_,mA:()=>r,pw:()=>E,uZ:()=>g,yd:()=>L,ze:()=>f});const r=["top","right","bottom","left"],o=["start","end"],n=r.reduce((F,G)=>F.concat(G,G+"-"+o[0],G+"-"+o[1]),[]),a=Math.min,i=Math.max,c=Math.round,u=Math.floor,f=F=>({x:F,y:F}),d={left:"right",right:"left",bottom:"top",top:"bottom"},h={start:"end",end:"start"};function g(F,G,k){return i(F,a(G,k))}function _(F,G){return typeof F=="function"?F(G):F}function p(F){return F.split("-")[0]}function y(F){return F.split("-")[1]}function O(F){return F==="x"?"y":"x"}function P(F){return F==="y"?"height":"width"}function C(F){return["top","bottom"].includes(p(F))?"y":"x"}function A(F){return O(C(F))}function S(F,G,k){k===void 0&&(k=!1);const x=y(F),M=A(F),B=P(M);let R=M==="x"?x===(k?"end":"start")?"right":"left":x==="start"?"bottom":"top";return G.reference[B]>G.floating[B]&&(R=E(R)),[R,E(R)]}function T(F){const G=E(F);return[s(F),G,s(G)]}function s(F){return F.replace(/start|end/g,G=>h[G])}function v(F,G,k){const x=["left","right"],M=["right","left"],B=["top","bottom"],R=["bottom","top"];switch(F){case"top":case"bottom":return k?G?M:x:G?x:M;case"left":case"right":return G?B:R;default:return[]}}function m(F,G,k,x){const M=y(F);let B=v(p(F),k==="start",x);return M&&(B=B.map(R=>R+"-"+M),G&&(B=B.concat(B.map(s)))),B}function E(F){return F.replace(/left|right|bottom|top/g,G=>d[G])}function I(F){return{top:0,right:0,bottom:0,left:0,...F}}function L(F){return typeof F!="number"?I(F):{top:F,right:F,bottom:F,left:F}}function W(F){const{x:G,y:k,width:x,height:M}=F;return{width:x,height:M,top:k,left:G,right:G+x,bottom:k+M,x:G,y:k}}},776728:function(b,l,e){"use strict";e.d(l,{FE:()=>j,Jq:()=>u,L3:()=>r,Lj:()=>f,_b:()=>R,hr:()=>M,i9:()=>B,md:()=>a,mp:()=>_,vj:()=>g});const r=1024;let o=0;class n{constructor(H,z){this.from=H,this.to=z}}class a{constructor(H={}){this.id=o++,this.perNode=!!H.perNode,this.deserialize=H.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(H){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof H!="function"&&(H=u.match(H)),z=>{let _e=H(z);return _e===void 0?null:[this,_e]}}}a.closedBy=new a({deserialize:fe=>fe.split(" ")}),a.openedBy=new a({deserialize:fe=>fe.split(" ")}),a.group=new a({deserialize:fe=>fe.split(" ")}),a.isolate=new a({deserialize:fe=>{if(fe&&fe!="rtl"&&fe!="ltr"&&fe!="auto")throw new RangeError("Invalid value for isolate: "+fe);return fe||"auto"}}),a.contextHash=new a({perNode:!0}),a.lookAhead=new a({perNode:!0}),a.mounted=new a({perNode:!0});class i{constructor(H,z,_e){this.tree=H,this.overlay=z,this.parser=_e}static get(H){return H&&H.props&&H.props[a.mounted.id]}}const c=Object.create(null);class u{constructor(H,z,_e,ae=0){this.name=H,this.props=z,this.id=_e,this.flags=ae}static define(H){let z=H.props&&H.props.length?Object.create(null):c,_e=(H.top?1:0)|(H.skipped?2:0)|(H.error?4:0)|(H.name==null?8:0),ae=new u(H.name||"",z,H.id,_e);if(H.props){for(let ge of H.props)if(Array.isArray(ge)||(ge=ge(ae)),ge){if(ge[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");z[ge[0].id]=ge[1]}}return ae}prop(H){return this.props[H.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(H){if(typeof H=="string"){if(this.name==H)return!0;let z=this.prop(a.group);return z?z.indexOf(H)>-1:!1}return this.id==H}static match(H){let z=Object.create(null);for(let _e in H)for(let ae of _e.split(" "))z[ae]=H[_e];return _e=>{for(let ae=_e.prop(a.group),ge=-1;ge<(ae?ae.length:0);ge++){let Be=z[ge<0?_e.name:ae[ge]];if(Be)return Be}}}}u.none=new u("",Object.create(null),0,8);class f{constructor(H){this.types=H;for(let z=0;z<H.length;z++)if(H[z].id!=z)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...H){let z=[];for(let _e of this.types){let ae=null;for(let ge of H){let Be=ge(_e);Be&&(ae||(ae=Object.assign({},_e.props)),ae[Be[0].id]=Be[1])}z.push(ae?new u(_e.name,ae,_e.id,_e.flags):_e)}return new f(z)}}const d=new WeakMap,h=new WeakMap;var g;(function(fe){fe[fe.ExcludeBuffers=1]="ExcludeBuffers",fe[fe.IncludeAnonymous=2]="IncludeAnonymous",fe[fe.IgnoreMounts=4]="IgnoreMounts",fe[fe.IgnoreOverlays=8]="IgnoreOverlays"})(g||(g={}));class _{constructor(H,z,_e,ae,ge){if(this.type=H,this.children=z,this.positions=_e,this.length=ae,this.props=null,ge&&ge.length){this.props=Object.create(null);for(let[Be,Ke]of ge)this.props[typeof Be=="number"?Be:Be.id]=Ke}}toString(){let H=i.get(this);if(H&&!H.overlay)return H.tree.toString();let z="";for(let _e of this.children){let ae=_e.toString();ae&&(z&&(z+=","),z+=ae)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(z.length?"("+z+")":""):z}cursor(H=0){return new L(this.topNode,H)}cursorAt(H,z=0,_e=0){let ae=d.get(this)||this.topNode,ge=new L(ae);return ge.moveTo(H,z),d.set(this,ge._tree),ge}get topNode(){return new A(this,0,0,null)}resolve(H,z=0){let _e=P(d.get(this)||this.topNode,H,z,!1);return d.set(this,_e),_e}resolveInner(H,z=0){let _e=P(h.get(this)||this.topNode,H,z,!0);return h.set(this,_e),_e}resolveStack(H,z=0){return I(this,H,z)}iterate(H){let{enter:z,leave:_e,from:ae=0,to:ge=this.length}=H,Be=H.mode||0,Ke=(Be&g.IncludeAnonymous)>0;for(let He=this.cursor(Be|g.IncludeAnonymous);;){let ye=!1;if(He.from<=ge&&He.to>=ae&&(!Ke&&He.type.isAnonymous||z(He)!==!1)){if(He.firstChild())continue;ye=!0}for(;ye&&_e&&(Ke||!He.type.isAnonymous)&&_e(He),!He.nextSibling();){if(!He.parent())return;ye=!0}}}prop(H){return H.perNode?this.props?this.props[H.id]:void 0:this.type.prop(H)}get propValues(){let H=[];if(this.props)for(let z in this.props)H.push([+z,this.props[z]]);return H}balance(H={}){return this.children.length<=8?this:x(u.none,this.children,this.positions,0,this.children.length,0,this.length,(z,_e,ae)=>new _(this.type,z,_e,ae,this.propValues),H.makeTree||((z,_e,ae)=>new _(u.none,z,_e,ae)))}static build(H){return F(H)}}_.empty=new _(u.none,[],[],0);class p{constructor(H,z){this.buffer=H,this.index=z}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new p(this.buffer,this.index)}}class y{constructor(H,z,_e){this.buffer=H,this.length=z,this.set=_e}get type(){return u.none}toString(){let H=[];for(let z=0;z<this.buffer.length;)H.push(this.childString(z)),z=this.buffer[z+3];return H.join(",")}childString(H){let z=this.buffer[H],_e=this.buffer[H+3],ae=this.set.types[z],ge=ae.name;if(/\W/.test(ge)&&!ae.isError&&(ge=JSON.stringify(ge)),H+=4,_e==H)return ge;let Be=[];for(;H<_e;)Be.push(this.childString(H)),H=this.buffer[H+3];return ge+"("+Be.join(",")+")"}findChild(H,z,_e,ae,ge){let{buffer:Be}=this,Ke=-1;for(let He=H;He!=z&&!(O(ge,ae,Be[He+1],Be[He+2])&&(Ke=He,_e>0));He=Be[He+3]);return Ke}slice(H,z,_e){let ae=this.buffer,ge=new Uint16Array(z-H),Be=0;for(let Ke=H,He=0;Ke<z;){ge[He++]=ae[Ke++],ge[He++]=ae[Ke++]-_e;let ye=ge[He++]=ae[Ke++]-_e;ge[He++]=ae[Ke++]-H,Be=Math.max(Be,ye)}return new y(ge,Be,this.set)}}function O(fe,H,z,_e){switch(fe){case-2:return z<H;case-1:return _e>=H&&z<H;case 0:return z<H&&_e>H;case 1:return z<=H&&_e>H;case 2:return _e>H;case 4:return!0}}function P(fe,H,z,_e){for(var ae;fe.from==fe.to||(z<1?fe.from>=H:fe.from>H)||(z>-1?fe.to<=H:fe.to<H);){let Be=!_e&&fe instanceof A&&fe.index<0?null:fe.parent;if(!Be)return fe;fe=Be}let ge=_e?0:g.IgnoreOverlays;if(_e)for(let Be=fe,Ke=Be.parent;Ke;Be=Ke,Ke=Be.parent)Be instanceof A&&Be.index<0&&((ae=Ke.enter(H,z,ge))===null||ae===void 0?void 0:ae.from)!=Be.from&&(fe=Ke);for(;;){let Be=fe.enter(H,z,ge);if(!Be)return fe;fe=Be}}class C{cursor(H=0){return new L(this,H)}getChild(H,z=null,_e=null){let ae=S(this,H,z,_e);return ae.length?ae[0]:null}getChildren(H,z=null,_e=null){return S(this,H,z,_e)}resolve(H,z=0){return P(this,H,z,!1)}resolveInner(H,z=0){return P(this,H,z,!0)}matchContext(H){return T(this,H)}enterUnfinishedNodesBefore(H){let z=this.childBefore(H),_e=this;for(;z;){let ae=z.lastChild;if(!ae||ae.to!=z.to)break;ae.type.isError&&ae.from==ae.to?(_e=z,z=ae.prevSibling):z=ae}return _e}get node(){return this}get next(){return this.parent}}class A extends C{constructor(H,z,_e,ae){super(),this._tree=H,this.from=z,this.index=_e,this._parent=ae}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(H,z,_e,ae,ge=0){for(let Be=this;;){for(let{children:Ke,positions:He}=Be._tree,ye=z>0?Ke.length:-1;H!=ye;H+=z){let Le=Ke[H],Ue=He[H]+Be.from;if(O(ae,_e,Ue,Ue+Le.length)){if(Le instanceof y){if(ge&g.ExcludeBuffers)continue;let Xe=Le.findChild(0,Le.buffer.length,z,_e-Ue,ae);if(Xe>-1)return new v(new s(Be,Le,H,Ue),null,Xe)}else if(ge&g.IncludeAnonymous||!Le.type.isAnonymous||W(Le)){let Xe;if(!(ge&g.IgnoreMounts)&&(Xe=i.get(Le))&&!Xe.overlay)return new A(Xe.tree,Ue,H,Be);let Fe=new A(Le,Ue,H,Be);return ge&g.IncludeAnonymous||!Fe.type.isAnonymous?Fe:Fe.nextChild(z<0?Le.children.length-1:0,z,_e,ae)}}}if(ge&g.IncludeAnonymous||!Be.type.isAnonymous||(Be.index>=0?H=Be.index+z:H=z<0?-1:Be._parent._tree.children.length,Be=Be._parent,!Be))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(H){return this.nextChild(0,1,H,2)}childBefore(H){return this.nextChild(this._tree.children.length-1,-1,H,-2)}enter(H,z,_e=0){let ae;if(!(_e&g.IgnoreOverlays)&&(ae=i.get(this._tree))&&ae.overlay){let ge=H-this.from;for(let{from:Be,to:Ke}of ae.overlay)if((z>0?Be<=ge:Be<ge)&&(z<0?Ke>=ge:Ke>ge))return new A(ae.tree,ae.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,H,z,_e)}nextSignificantParent(){let H=this;for(;H.type.isAnonymous&&H._parent;)H=H._parent;return H}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function S(fe,H,z,_e){let ae=fe.cursor(),ge=[];if(!ae.firstChild())return ge;if(z!=null){for(let Be=!1;!Be;)if(Be=ae.type.is(z),!ae.nextSibling())return ge}for(;;){if(_e!=null&&ae.type.is(_e))return ge;if(ae.type.is(H)&&ge.push(ae.node),!ae.nextSibling())return _e==null?ge:[]}}function T(fe,H,z=H.length-1){for(let _e=fe.parent;z>=0;_e=_e.parent){if(!_e)return!1;if(!_e.type.isAnonymous){if(H[z]&&H[z]!=_e.name)return!1;z--}}return!0}class s{constructor(H,z,_e,ae){this.parent=H,this.buffer=z,this.index=_e,this.start=ae}}class v extends C{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(H,z,_e){super(),this.context=H,this._parent=z,this.index=_e,this.type=H.buffer.set.types[H.buffer.buffer[_e]]}child(H,z,_e){let{buffer:ae}=this.context,ge=ae.findChild(this.index+4,ae.buffer[this.index+3],H,z-this.context.start,_e);return ge<0?null:new v(this.context,this,ge)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(H){return this.child(1,H,2)}childBefore(H){return this.child(-1,H,-2)}enter(H,z,_e=0){if(_e&g.ExcludeBuffers)return null;let{buffer:ae}=this.context,ge=ae.findChild(this.index+4,ae.buffer[this.index+3],z>0?1:-1,H-this.context.start,z);return ge<0?null:new v(this.context,this,ge)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(H){return this._parent?null:this.context.parent.nextChild(this.context.index+H,H,0,4)}get nextSibling(){let{buffer:H}=this.context,z=H.buffer[this.index+3];return z<(this._parent?H.buffer[this._parent.index+3]:H.buffer.length)?new v(this.context,this._parent,z):this.externalSibling(1)}get prevSibling(){let{buffer:H}=this.context,z=this._parent?this._parent.index+4:0;return this.index==z?this.externalSibling(-1):new v(this.context,this._parent,H.findChild(z,this.index,-1,0,4))}get tree(){return null}toTree(){let H=[],z=[],{buffer:_e}=this.context,ae=this.index+4,ge=_e.buffer[this.index+3];if(ge>ae){let Be=_e.buffer[this.index+1];H.push(_e.slice(ae,ge,Be)),z.push(0)}return new _(this.type,H,z,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function m(fe){if(!fe.length)return null;let H=0,z=fe[0];for(let ge=1;ge<fe.length;ge++){let Be=fe[ge];(Be.from>z.from||Be.to<z.to)&&(z=Be,H=ge)}let _e=z instanceof A&&z.index<0?null:z.parent,ae=fe.slice();return _e?ae[H]=_e:ae.splice(H,1),new E(ae,z)}class E{constructor(H,z){this.heads=H,this.node=z}get next(){return m(this.heads)}}function I(fe,H,z){let _e=fe.resolveInner(H,z),ae=null;for(let ge=_e instanceof A?_e:_e.context.parent;ge;ge=ge.parent)if(ge.index<0){let Be=ge.parent;(ae||(ae=[_e])).push(Be.resolve(H,z)),ge=Be}else{let Be=i.get(ge.tree);if(Be&&Be.overlay&&Be.overlay[0].from<=H&&Be.overlay[Be.overlay.length-1].to>=H){let Ke=new A(Be.tree,Be.overlay[0].from+ge.from,-1,ge);(ae||(ae=[_e])).push(P(Ke,H,z,!1))}}return ae?m(ae):_e}class L{get name(){return this.type.name}constructor(H,z=0){if(this.mode=z,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,H instanceof A)this.yieldNode(H);else{this._tree=H.context.parent,this.buffer=H.context;for(let _e=H._parent;_e;_e=_e._parent)this.stack.unshift(_e.index);this.bufferNode=H,this.yieldBuf(H.index)}}yieldNode(H){return H?(this._tree=H,this.type=H.type,this.from=H.from,this.to=H.to,!0):!1}yieldBuf(H,z){this.index=H;let{start:_e,buffer:ae}=this.buffer;return this.type=z||ae.set.types[ae.buffer[H]],this.from=_e+ae.buffer[H+1],this.to=_e+ae.buffer[H+2],!0}yield(H){return H?H instanceof A?(this.buffer=null,this.yieldNode(H)):(this.buffer=H.context,this.yieldBuf(H.index,H.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(H,z,_e){if(!this.buffer)return this.yield(this._tree.nextChild(H<0?this._tree._tree.children.length-1:0,H,z,_e,this.mode));let{buffer:ae}=this.buffer,ge=ae.findChild(this.index+4,ae.buffer[this.index+3],H,z-this.buffer.start,_e);return ge<0?!1:(this.stack.push(this.index),this.yieldBuf(ge))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(H){return this.enterChild(1,H,2)}childBefore(H){return this.enterChild(-1,H,-2)}enter(H,z,_e=this.mode){return this.buffer?_e&g.ExcludeBuffers?!1:this.enterChild(1,H,z):this.yield(this._tree.enter(H,z,_e))}parent(){if(!this.buffer)return this.yieldNode(this.mode&g.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let H=this.mode&g.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(H)}sibling(H){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+H,H,0,4,this.mode)):!1;let{buffer:z}=this.buffer,_e=this.stack.length-1;if(H<0){let ae=_e<0?0:this.stack[_e]+4;if(this.index!=ae)return this.yieldBuf(z.findChild(ae,this.index,-1,0,4))}else{let ae=z.buffer[this.index+3];if(ae<(_e<0?z.buffer.length:z.buffer[this.stack[_e]+3]))return this.yieldBuf(ae)}return _e<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+H,H,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(H){let z,_e,{buffer:ae}=this;if(ae){if(H>0){if(this.index<ae.buffer.buffer.length)return!1}else for(let ge=0;ge<this.index;ge++)if(ae.buffer.buffer[ge+3]<this.index)return!1;({index:z,parent:_e}=ae)}else({index:z,_parent:_e}=this._tree);for(;_e;{index:z,_parent:_e}=_e)if(z>-1)for(let ge=z+H,Be=H<0?-1:_e._tree.children.length;ge!=Be;ge+=H){let Ke=_e._tree.children[ge];if(this.mode&g.IncludeAnonymous||Ke instanceof y||!Ke.type.isAnonymous||W(Ke))return!1}return!0}move(H,z){if(z&&this.enterChild(H,0,4))return!0;for(;;){if(this.sibling(H))return!0;if(this.atLastNode(H)||!this.parent())return!1}}next(H=!0){return this.move(1,H)}prev(H=!0){return this.move(-1,H)}moveTo(H,z=0){for(;(this.from==this.to||(z<1?this.from>=H:this.from>H)||(z>-1?this.to<=H:this.to<H))&&this.parent(););for(;this.enterChild(1,H,z););return this}get node(){if(!this.buffer)return this._tree;let H=this.bufferNode,z=null,_e=0;if(H&&H.context==this.buffer)e:for(let ae=this.index,ge=this.stack.length;ge>=0;){for(let Be=H;Be;Be=Be._parent)if(Be.index==ae){if(ae==this.index)return Be;z=Be,_e=ge+1;break e}ae=this.stack[--ge]}for(let ae=_e;ae<this.stack.length;ae++)z=new v(this.buffer,z,this.stack[ae]);return this.bufferNode=new v(this.buffer,z,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(H,z){for(let _e=0;;){let ae=!1;if(this.type.isAnonymous||H(this)!==!1){if(this.firstChild()){_e++;continue}this.type.isAnonymous||(ae=!0)}for(;ae&&z&&z(this),ae=this.type.isAnonymous,!this.nextSibling();){if(!_e)return;this.parent(),_e--,ae=!0}}}matchContext(H){if(!this.buffer)return T(this.node,H);let{buffer:z}=this.buffer,{types:_e}=z.set;for(let ae=H.length-1,ge=this.stack.length-1;ae>=0;ge--){if(ge<0)return T(this.node,H,ae);let Be=_e[z.buffer[this.stack[ge]]];if(!Be.isAnonymous){if(H[ae]&&H[ae]!=Be.name)return!1;ae--}}return!0}}function W(fe){return fe.children.some(H=>H instanceof y||!H.type.isAnonymous||W(H))}function F(fe){var H;let{buffer:z,nodeSet:_e,maxBufferLength:ae=r,reused:ge=[],minRepeatType:Be=_e.types.length}=fe,Ke=Array.isArray(z)?new p(z,z.length):z,He=_e.types,ye=0,Le=0;function Ue(Ie,Bt,mt,rt,ce,Re){let{id:nt,start:st,end:vt,size:ze}=Ke,It=Le;for(;ze<0;)if(Ke.next(),ze==-1){let bn=ge[nt];mt.push(bn),rt.push(st-Ie);return}else if(ze==-3){ye=nt;return}else if(ze==-4){Le=nt;return}else throw new RangeError(`Unrecognized record size: ${ze}`);let on=He[nt],Pn,Yn,Ln=st-Ie;if(vt-st<=ae&&(Yn=Ce(Ke.pos-Bt,ce))){let bn=new Uint16Array(Yn.size-Yn.skip),ir=Ke.pos-Yn.size,Zn=bn.length;for(;Ke.pos>ir;)Zn=we(Yn.start,bn,Zn);Pn=new y(bn,vt-Yn.start,_e),Ln=Yn.start-Ie}else{let bn=Ke.pos-ze;Ke.next();let ir=[],Zn=[],$n=nt>=Be?nt:-1,jt=0,Rn=vt;for(;Ke.pos>bn;)$n>=0&&Ke.id==$n&&Ke.size>=0?(Ke.end<=Rn-ae&&(ht(ir,Zn,st,jt,Ke.end,Rn,$n,It),jt=ir.length,Rn=Ke.end),Ke.next()):Re>2500?Xe(st,bn,ir,Zn):Ue(st,bn,ir,Zn,$n,Re+1);if($n>=0&&jt>0&&jt<ir.length&&ht(ir,Zn,st,jt,st,Rn,$n,It),ir.reverse(),Zn.reverse(),$n>-1&&jt>0){let jn=Fe(on);Pn=x(on,ir,Zn,0,ir.length,0,vt-st,jn,jn)}else Pn=Ne(on,ir,Zn,vt-st,It-vt)}mt.push(Pn),rt.push(Ln)}function Xe(Ie,Bt,mt,rt){let ce=[],Re=0,nt=-1;for(;Ke.pos>Bt;){let{id:st,start:vt,end:ze,size:It}=Ke;if(It>4)Ke.next();else{if(nt>-1&&vt<nt)break;nt<0&&(nt=ze-ae),ce.push(st,vt,ze),Re++,Ke.next()}}if(Re){let st=new Uint16Array(Re*4),vt=ce[ce.length-2];for(let ze=ce.length-3,It=0;ze>=0;ze-=3)st[It++]=ce[ze],st[It++]=ce[ze+1]-vt,st[It++]=ce[ze+2]-vt,st[It++]=It;mt.push(new y(st,ce[2]-vt,_e)),rt.push(vt-Ie)}}function Fe(Ie){return(Bt,mt,rt)=>{let ce=0,Re=Bt.length-1,nt,st;if(Re>=0&&(nt=Bt[Re])instanceof _){if(!Re&&nt.type==Ie&&nt.length==rt)return nt;(st=nt.prop(a.lookAhead))&&(ce=mt[Re]+nt.length+st)}return Ne(Ie,Bt,mt,rt,ce)}}function ht(Ie,Bt,mt,rt,ce,Re,nt,st){let vt=[],ze=[];for(;Ie.length>rt;)vt.push(Ie.pop()),ze.push(Bt.pop()+mt-ce);Ie.push(Ne(_e.types[nt],vt,ze,Re-ce,st-Re)),Bt.push(ce-mt)}function Ne(Ie,Bt,mt,rt,ce=0,Re){if(ye){let nt=[a.contextHash,ye];Re=Re?[nt].concat(Re):[nt]}if(ce>25){let nt=[a.lookAhead,ce];Re=Re?[nt].concat(Re):[nt]}return new _(Ie,Bt,mt,rt,Re)}function Ce(Ie,Bt){let mt=Ke.fork(),rt=0,ce=0,Re=0,nt=mt.end-ae,st={size:0,start:0,skip:0};e:for(let vt=mt.pos-Ie;mt.pos>vt;){let ze=mt.size;if(mt.id==Bt&&ze>=0){st.size=rt,st.start=ce,st.skip=Re,Re+=4,rt+=4,mt.next();continue}let It=mt.pos-ze;if(ze<0||It<vt||mt.start<nt)break;let on=mt.id>=Be?4:0,Pn=mt.start;for(mt.next();mt.pos>It;){if(mt.size<0)if(mt.size==-3)on+=4;else break e;else mt.id>=Be&&(on+=4);mt.next()}ce=Pn,rt+=ze,Re+=on}return(Bt<0||rt==Ie)&&(st.size=rt,st.start=ce,st.skip=Re),st.size>4?st:void 0}function we(Ie,Bt,mt){let{id:rt,start:ce,end:Re,size:nt}=Ke;if(Ke.next(),nt>=0&&rt<Be){let st=mt;if(nt>4){let vt=Ke.pos-(nt-4);for(;Ke.pos>vt;)mt=we(Ie,Bt,mt)}Bt[--mt]=st,Bt[--mt]=Re-Ie,Bt[--mt]=ce-Ie,Bt[--mt]=rt}else nt==-3?ye=rt:nt==-4&&(Le=rt);return mt}let $e=[],Ot=[];for(;Ke.pos>0;)Ue(fe.start||0,fe.bufferStart||0,$e,Ot,-1,0);let Pt=(H=fe.length)!==null&&H!==void 0?H:$e.length?Ot[0]+$e[0].length:0;return new _(He[fe.topID],$e.reverse(),Ot.reverse(),Pt)}const G=new WeakMap;function k(fe,H){if(!fe.isAnonymous||H instanceof y||H.type!=fe)return 1;let z=G.get(H);if(z==null){z=1;for(let _e of H.children){if(_e.type!=fe||!(_e instanceof _)){z=1;break}z+=k(fe,_e)}G.set(H,z)}return z}function x(fe,H,z,_e,ae,ge,Be,Ke,He){let ye=0;for(let ht=_e;ht<ae;ht++)ye+=k(fe,H[ht]);let Le=Math.ceil(ye*1.5/8),Ue=[],Xe=[];function Fe(ht,Ne,Ce,we,$e){for(let Ot=Ce;Ot<we;){let Pt=Ot,Ie=Ne[Ot],Bt=k(fe,ht[Ot]);for(Ot++;Ot<we;Ot++){let mt=k(fe,ht[Ot]);if(Bt+mt>=Le)break;Bt+=mt}if(Ot==Pt+1){if(Bt>Le){let mt=ht[Pt];Fe(mt.children,mt.positions,0,mt.children.length,Ne[Pt]+$e);continue}Ue.push(ht[Pt])}else{let mt=Ne[Ot-1]+ht[Ot-1].length-Ie;Ue.push(x(fe,ht,Ne,Pt,Ot,Ie,mt,null,He))}Xe.push(Ie+$e-ge)}}return Fe(H,z,_e,ae,0),(Ke||He)(Ue,Xe,Be)}class M{constructor(){this.map=new WeakMap}setBuffer(H,z,_e){let ae=this.map.get(H);ae||this.map.set(H,ae=new Map),ae.set(z,_e)}getBuffer(H,z){let _e=this.map.get(H);return _e&&_e.get(z)}set(H,z){H instanceof v?this.setBuffer(H.context.buffer,H.index,z):H instanceof A&&this.map.set(H.tree,z)}get(H){return H instanceof v?this.getBuffer(H.context.buffer,H.index):H instanceof A?this.map.get(H.tree):void 0}cursorSet(H,z){H.buffer?this.setBuffer(H.buffer.buffer,H.index,z):this.map.set(H.tree,z)}cursorGet(H){return H.buffer?this.getBuffer(H.buffer.buffer,H.index):this.map.get(H.tree)}}class B{constructor(H,z,_e,ae,ge=!1,Be=!1){this.from=H,this.to=z,this.tree=_e,this.offset=ae,this.open=(ge?1:0)|(Be?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(H,z=[],_e=!1){let ae=[new B(0,H.length,H,0,!1,_e)];for(let ge of z)ge.to>H.length&&ae.push(ge);return ae}static applyChanges(H,z,_e=128){if(!z.length)return H;let ae=[],ge=1,Be=H.length?H[0]:null;for(let Ke=0,He=0,ye=0;;Ke++){let Le=Ke<z.length?z[Ke]:null,Ue=Le?Le.fromA:1e9;if(Ue-He>=_e)for(;Be&&Be.from<Ue;){let Xe=Be;if(He>=Xe.from||Ue<=Xe.to||ye){let Fe=Math.max(Xe.from,He)-ye,ht=Math.min(Xe.to,Ue)-ye;Xe=Fe>=ht?null:new B(Fe,ht,Xe.tree,Xe.offset+ye,Ke>0,!!Le)}if(Xe&&ae.push(Xe),Be.to>Ue)break;Be=ge<H.length?H[ge++]:null}if(!Le)break;He=Le.toA,ye=Le.toA-Le.toB}return ae}}class R{startParse(H,z,_e){return typeof H=="string"&&(H=new U(H)),_e=_e?_e.length?_e.map(ae=>new n(ae.from,ae.to)):[new n(0,0)]:[new n(0,H.length)],this.createParse(H,z||[],_e)}parse(H,z,_e){let ae=this.startParse(H,z,_e);for(;;){let ge=ae.advance();if(ge)return ge}}}class U{constructor(H){this.string=H}get length(){return this.string.length}chunk(H){return this.string.slice(H)}get lineChunks(){return!1}read(H,z){return this.string.slice(H,z)}}function j(fe){return(H,z,_e,ae)=>new ne(H,fe,z,_e,ae)}class ${constructor(H,z,_e,ae,ge){this.parser=H,this.parse=z,this.overlay=_e,this.target=ae,this.from=ge}}function ee(fe){if(!fe.length||fe.some(H=>H.from>=H.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(fe))}class te{constructor(H,z,_e,ae,ge,Be,Ke){this.parser=H,this.predicate=z,this.mounts=_e,this.index=ae,this.start=ge,this.target=Be,this.prev=Ke,this.depth=0,this.ranges=[]}}const ie=new a({perNode:!0});class ne{constructor(H,z,_e,ae,ge){this.nest=z,this.input=_e,this.fragments=ae,this.ranges=ge,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=H}advance(){if(this.baseParse){let _e=this.baseParse.advance();if(!_e)return null;if(this.baseParse=null,this.baseTree=_e,this.startInner(),this.stoppedAt!=null)for(let ae of this.inner)ae.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let _e=this.baseTree;return this.stoppedAt!=null&&(_e=new _(_e.type,_e.children,_e.positions,_e.length,_e.propValues.concat([[ie,this.stoppedAt]]))),_e}let H=this.inner[this.innerDone],z=H.parse.advance();if(z){this.innerDone++;let _e=Object.assign(Object.create(null),H.target.props);_e[a.mounted.id]=new i(z,H.overlay,H.parser),H.target.props=_e}return null}get parsedPos(){if(this.baseParse)return 0;let H=this.input.length;for(let z=this.innerDone;z<this.inner.length;z++)this.inner[z].from<H&&(H=Math.min(H,this.inner[z].parse.parsedPos));return H}stopAt(H){if(this.stoppedAt=H,this.baseParse)this.baseParse.stopAt(H);else for(let z=this.innerDone;z<this.inner.length;z++)this.inner[z].parse.stopAt(H)}startInner(){let H=new me(this.fragments),z=null,_e=null,ae=new L(new A(this.baseTree,this.ranges[0].from,0,null),g.IncludeAnonymous|g.IgnoreMounts);e:for(let ge,Be;;){let Ke=!0,He;if(this.stoppedAt!=null&&ae.from>=this.stoppedAt)Ke=!1;else if(H.hasNode(ae)){if(z){let ye=z.mounts.find(Le=>Le.frag.from<=ae.from&&Le.frag.to>=ae.to&&Le.mount.overlay);if(ye)for(let Le of ye.mount.overlay){let Ue=Le.from+ye.pos,Xe=Le.to+ye.pos;Ue>=ae.from&&Xe<=ae.to&&!z.ranges.some(Fe=>Fe.from<Xe&&Fe.to>Ue)&&z.ranges.push({from:Ue,to:Xe})}}Ke=!1}else if(_e&&(Be=pe(_e.ranges,ae.from,ae.to)))Ke=Be!=2;else if(!ae.type.isAnonymous&&(ge=this.nest(ae,this.input))&&(ae.from<ae.to||!ge.overlay)){ae.tree||q(ae);let ye=H.findMounts(ae.from,ge.parser);if(typeof ge.overlay=="function")z=new te(ge.parser,ge.overlay,ye,this.inner.length,ae.from,ae.tree,z);else{let Le=re(this.ranges,ge.overlay||(ae.from<ae.to?[new n(ae.from,ae.to)]:[]));Le.length&&ee(Le),(Le.length||!ge.overlay)&&this.inner.push(new $(ge.parser,Le.length?ge.parser.startParse(this.input,Ee(ye,Le),Le):ge.parser.startParse(""),ge.overlay?ge.overlay.map(Ue=>new n(Ue.from-ae.from,Ue.to-ae.from)):null,ae.tree,Le.length?Le[0].from:ae.from)),ge.overlay?Le.length&&(_e={ranges:Le,depth:0,prev:_e}):Ke=!1}}else z&&(He=z.predicate(ae))&&(He===!0&&(He=new n(ae.from,ae.to)),He.from<He.to&&z.ranges.push(He));if(Ke&&ae.firstChild())z&&z.depth++,_e&&_e.depth++;else for(;!ae.nextSibling();){if(!ae.parent())break e;if(z&&!--z.depth){let ye=re(this.ranges,z.ranges);ye.length&&(ee(ye),this.inner.splice(z.index,0,new $(z.parser,z.parser.startParse(this.input,Ee(z.mounts,ye),ye),z.ranges.map(Le=>new n(Le.from-z.start,Le.to-z.start)),z.target,ye[0].from))),z=z.prev}_e&&!--_e.depth&&(_e=_e.prev)}}}}function pe(fe,H,z){for(let _e of fe){if(_e.from>=z)break;if(_e.to>H)return _e.from<=H&&_e.to>=z?2:1}return 0}function oe(fe,H,z,_e,ae,ge){if(H<z){let Be=fe.buffer[H+1];_e.push(fe.slice(H,z,Be)),ae.push(Be-ge)}}function q(fe){let{node:H}=fe,z=[],_e=H.context.buffer;do z.push(fe.index),fe.parent();while(!fe.tree);let ae=fe.tree,ge=ae.children.indexOf(_e),Be=ae.children[ge],Ke=Be.buffer,He=[ge];function ye(Le,Ue,Xe,Fe,ht,Ne){let Ce=z[Ne],we=[],$e=[];oe(Be,Le,Ce,we,$e,Fe);let Ot=Ke[Ce+1],Pt=Ke[Ce+2];He.push(we.length);let Ie=Ne?ye(Ce+4,Ke[Ce+3],Be.set.types[Ke[Ce]],Ot,Pt-Ot,Ne-1):H.toTree();return we.push(Ie),$e.push(Ot-Fe),oe(Be,Ke[Ce+3],Ue,we,$e,Fe),new _(Xe,we,$e,ht)}ae.children[ge]=ye(0,Ke.length,u.none,0,Be.length,z.length-1);for(let Le of He){let Ue=fe.tree.children[Le],Xe=fe.tree.positions[Le];fe.yield(new A(Ue,Xe+fe.from,Le,fe._tree))}}class J{constructor(H,z){this.offset=z,this.done=!1,this.cursor=H.cursor(g.IncludeAnonymous|g.IgnoreMounts)}moveTo(H){let{cursor:z}=this,_e=H-this.offset;for(;!this.done&&z.from<_e;)z.to>=H&&z.enter(_e,1,g.IgnoreOverlays|g.ExcludeBuffers)||z.next(!1)||(this.done=!0)}hasNode(H){if(this.moveTo(H.from),!this.done&&this.cursor.from+this.offset==H.from&&this.cursor.tree)for(let z=this.cursor.tree;;){if(z==H.tree)return!0;if(z.children.length&&z.positions[0]==0&&z.children[0]instanceof _)z=z.children[0];else break}return!1}}class me{constructor(H){var z;if(this.fragments=H,this.curTo=0,this.fragI=0,H.length){let _e=this.curFrag=H[0];this.curTo=(z=_e.tree.prop(ie))!==null&&z!==void 0?z:_e.to,this.inner=new J(_e.tree,-_e.offset)}else this.curFrag=this.inner=null}hasNode(H){for(;this.curFrag&&H.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=H.from&&this.curTo>=H.to&&this.inner.hasNode(H)}nextFrag(){var H;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let z=this.curFrag=this.fragments[this.fragI];this.curTo=(H=z.tree.prop(ie))!==null&&H!==void 0?H:z.to,this.inner=new J(z.tree,-z.offset)}}findMounts(H,z){var _e;let ae=[];if(this.inner){this.inner.cursor.moveTo(H,1);for(let ge=this.inner.cursor.node;ge;ge=ge.parent){let Be=(_e=ge.tree)===null||_e===void 0?void 0:_e.prop(a.mounted);if(Be&&Be.parser==z)for(let Ke=this.fragI;Ke<this.fragments.length;Ke++){let He=this.fragments[Ke];if(He.from>=ge.to)break;He.tree==this.curFrag.tree&&ae.push({frag:He,pos:ge.from-He.offset,mount:Be})}}}return ae}}function re(fe,H){let z=null,_e=H;for(let ae=1,ge=0;ae<fe.length;ae++){let Be=fe[ae-1].to,Ke=fe[ae].from;for(;ge<_e.length;ge++){let He=_e[ge];if(He.from>=Ke)break;He.to<=Be||(z||(_e=z=H.slice()),He.from<Be?(z[ge]=new n(He.from,Be),He.to>Ke&&z.splice(ge+1,0,new n(Ke,He.to))):He.to>Ke?z[ge--]=new n(Ke,He.to):z.splice(ge--,1))}}return _e}function he(fe,H,z,_e){let ae=0,ge=0,Be=!1,Ke=!1,He=-1e9,ye=[];for(;;){let Le=ae==fe.length?1e9:Be?fe[ae].to:fe[ae].from,Ue=ge==H.length?1e9:Ke?H[ge].to:H[ge].from;if(Be!=Ke){let Xe=Math.max(He,z),Fe=Math.min(Le,Ue,_e);Xe<Fe&&ye.push(new n(Xe,Fe))}if(He=Math.min(Le,Ue),He==1e9)break;Le==He&&(Be?(Be=!1,ae++):Be=!0),Ue==He&&(Ke?(Ke=!1,ge++):Ke=!0)}return ye}function Ee(fe,H){let z=[];for(let{pos:_e,mount:ae,frag:ge}of fe){let Be=_e+(ae.overlay?ae.overlay[0].from:0),Ke=Be+ae.tree.length,He=Math.max(ge.from,Be),ye=Math.min(ge.to,Ke);if(ae.overlay){let Le=ae.overlay.map(Xe=>new n(Xe.from+_e,Xe.to+_e)),Ue=he(H,Le,He,ye);for(let Xe=0,Fe=He;;Xe++){let ht=Xe==Ue.length,Ne=ht?ye:Ue[Xe].from;if(Ne>Fe&&z.push(new B(Fe,Ne,ae.tree,-Be,ge.from>=Fe||ge.openStart,ge.to<=Ne||ge.openEnd)),ht)break;Fe=Ue[Xe].to}}else z.push(new B(He,ye,ae.tree,-Be,ge.from>=Be||ge.openStart,ge.to<=Ke||ge.openEnd))}return z}},155307:function(b,l,e){"use strict";e.d(l,{$d:()=>B,Gv:()=>f,QR:()=>g,Vp:()=>n,bW:()=>p,pJ:()=>M});var r=e(776728);let o=0;class n{constructor(U,j,$){this.set=U,this.base=j,this.modified=$,this.id=o++}static define(U){if(U!=null&&U.base)throw new Error("Can not derive from a modified tag");let j=new n([],null,[]);if(j.set.push(j),U)for(let $ of U.set)j.set.push($);return j}static defineModifier(){let U=new i;return j=>j.modified.indexOf(U)>-1?j:i.get(j.base||j,j.modified.concat(U).sort(($,ee)=>$.id-ee.id))}}let a=0;class i{constructor(){this.instances=[],this.id=a++}static get(U,j){if(!j.length)return U;let $=j[0].instances.find(ne=>ne.base==U&&c(j,ne.modified));if($)return $;let ee=[],te=new n(ee,U,j);for(let ne of j)ne.instances.push(te);let ie=u(j);for(let ne of U.set)if(!ne.modified.length)for(let pe of ie)ee.push(i.get(ne,pe));return te}}function c(R,U){return R.length==U.length&&R.every((j,$)=>j==U[$])}function u(R){let U=[[]];for(let j=0;j<R.length;j++)for(let $=0,ee=U.length;$<ee;$++)U.push(U[$].concat(R[j]));return U.sort((j,$)=>$.length-j.length)}function f(R){let U=Object.create(null);for(let j in R){let $=R[j];Array.isArray($)||($=[$]);for(let ee of j.split(" "))if(ee){let te=[],ie=2,ne=ee;for(let J=0;;){if(ne=="..."&&J>0&&J+3==ee.length){ie=1;break}let me=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(ne);if(!me)throw new RangeError("Invalid path: "+ee);if(te.push(me[0]=="*"?"":me[0][0]=='"'?JSON.parse(me[0]):me[0]),J+=me[0].length,J==ee.length)break;let re=ee[J++];if(J==ee.length&&re=="!"){ie=0;break}if(re!="/")throw new RangeError("Invalid path: "+ee);ne=ee.slice(J)}let pe=te.length-1,oe=te[pe];if(!oe)throw new RangeError("Invalid path: "+ee);let q=new h($,ie,pe>0?te.slice(0,pe):null);U[oe]=q.sort(U[oe])}}return d.add(U)}const d=new r.md;class h{constructor(U,j,$,ee){this.tags=U,this.mode=j,this.context=$,this.next=ee}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(U){return!U||U.depth<this.depth?(this.next=U,this):(U.next=this.sort(U.next),U)}get depth(){return this.context?this.context.length:0}}h.empty=new h([],2,null);function g(R,U){let j=Object.create(null);for(let te of R)if(!Array.isArray(te.tag))j[te.tag.id]=te.class;else for(let ie of te.tag)j[ie.id]=te.class;let{scope:$,all:ee=null}=U||{};return{style:te=>{let ie=ee;for(let ne of te)for(let pe of ne.set){let oe=j[pe.id];if(oe){ie=ie?ie+" "+oe:oe;break}}return ie},scope:$}}function _(R,U){let j=null;for(let $ of R){let ee=$.style(U);ee&&(j=j?j+" "+ee:ee)}return j}function p(R,U,j,$=0,ee=R.length){let te=new O($,Array.isArray(U)?U:[U],j);te.highlightRange(R.cursor(),$,ee,"",te.highlighters),te.flush(ee)}function y(R,U,j,$,ee,te=0,ie=R.length){let ne=te;function pe(oe,q){if(!(oe<=ne)){for(let J=R.slice(ne,oe),me=0;;){let re=J.indexOf(`
`,me),he=re<0?J.length:re;if(he>me&&$(J.slice(me,he),q),re<0)break;ee(),me=re+1}ne=oe}}p(U,j,(oe,q,J)=>{pe(oe,""),pe(q,J)},te,ie),pe(ie,"")}class O{constructor(U,j,$){this.at=U,this.highlighters=j,this.span=$,this.class=""}startSpan(U,j){j!=this.class&&(this.flush(U),U>this.at&&(this.at=U),this.class=j)}flush(U){U>this.at&&this.class&&this.span(this.at,U,this.class)}highlightRange(U,j,$,ee,te){let{type:ie,from:ne,to:pe}=U;if(ne>=$||pe<=j)return;ie.isTop&&(te=this.highlighters.filter(re=>!re.scope||re.scope(ie)));let oe=ee,q=P(U)||h.empty,J=_(te,q.tags);if(J&&(oe&&(oe+=" "),oe+=J,q.mode==1&&(ee+=(ee?" ":"")+J)),this.startSpan(Math.max(j,ne),oe),q.opaque)return;let me=U.tree&&U.tree.prop(r.md.mounted);if(me&&me.overlay){let re=U.node.enter(me.overlay[0].from+ne,1),he=this.highlighters.filter(fe=>!fe.scope||fe.scope(me.tree.type)),Ee=U.firstChild();for(let fe=0,H=ne;;fe++){let z=fe<me.overlay.length?me.overlay[fe]:null,_e=z?z.from+ne:pe,ae=Math.max(j,H),ge=Math.min($,_e);if(ae<ge&&Ee)for(;U.from<ge&&(this.highlightRange(U,ae,ge,ee,te),this.startSpan(Math.min(ge,U.to),oe),!(U.to>=_e||!U.nextSibling())););if(!z||_e>$)break;H=z.to+ne,H>j&&(this.highlightRange(re.cursor(),Math.max(j,z.from+ne),Math.min($,H),"",he),this.startSpan(Math.min($,H),oe))}Ee&&U.parent()}else if(U.firstChild()){me&&(ee="");do if(!(U.to<=j)){if(U.from>=$)break;this.highlightRange(U,j,$,ee,te),this.startSpan(Math.min($,U.to),oe)}while(U.nextSibling());U.parent()}}}function P(R){let U=R.type.prop(d);for(;U&&U.context&&!R.matchContext(U.context);)U=U.next;return U||null}const C=n.define,A=C(),S=C(),T=C(S),s=C(S),v=C(),m=C(v),E=C(v),I=C(),L=C(I),W=C(),F=C(),G=C(),k=C(G),x=C(),M={comment:A,lineComment:C(A),blockComment:C(A),docComment:C(A),name:S,variableName:C(S),typeName:T,tagName:C(T),propertyName:s,attributeName:C(s),className:C(S),labelName:C(S),namespace:C(S),macroName:C(S),literal:v,string:m,docString:C(m),character:C(m),attributeValue:C(m),number:E,integer:C(E),float:C(E),bool:C(v),regexp:C(v),escape:C(v),color:C(v),url:C(v),keyword:W,self:C(W),null:C(W),atom:C(W),unit:C(W),modifier:C(W),operatorKeyword:C(W),controlKeyword:C(W),definitionKeyword:C(W),moduleKeyword:C(W),operator:F,derefOperator:C(F),arithmeticOperator:C(F),logicOperator:C(F),bitwiseOperator:C(F),compareOperator:C(F),updateOperator:C(F),definitionOperator:C(F),typeOperator:C(F),controlOperator:C(F),punctuation:G,separator:C(G),bracket:k,angleBracket:C(k),squareBracket:C(k),paren:C(k),brace:C(k),content:I,heading:L,heading1:C(L),heading2:C(L),heading3:C(L),heading4:C(L),heading5:C(L),heading6:C(L),contentSeparator:C(I),list:C(I),quote:C(I),emphasis:C(I),strong:C(I),link:C(I),monospace:C(I),strikethrough:C(I),inserted:C(),deleted:C(),changed:C(),invalid:C(),meta:x,documentMeta:C(x),annotation:C(x),processingInstruction:C(x),definition:n.defineModifier(),constant:n.defineModifier(),function:n.defineModifier(),standard:n.defineModifier(),local:n.defineModifier(),special:n.defineModifier()},B=g([{tag:M.link,class:"tok-link"},{tag:M.heading,class:"tok-heading"},{tag:M.emphasis,class:"tok-emphasis"},{tag:M.strong,class:"tok-strong"},{tag:M.keyword,class:"tok-keyword"},{tag:M.atom,class:"tok-atom"},{tag:M.bool,class:"tok-bool"},{tag:M.url,class:"tok-url"},{tag:M.labelName,class:"tok-labelName"},{tag:M.inserted,class:"tok-inserted"},{tag:M.deleted,class:"tok-deleted"},{tag:M.literal,class:"tok-literal"},{tag:M.string,class:"tok-string"},{tag:M.number,class:"tok-number"},{tag:[M.regexp,M.escape,M.special(M.string)],class:"tok-string2"},{tag:M.variableName,class:"tok-variableName"},{tag:M.local(M.variableName),class:"tok-variableName tok-local"},{tag:M.definition(M.variableName),class:"tok-variableName tok-definition"},{tag:M.special(M.variableName),class:"tok-variableName2"},{tag:M.definition(M.propertyName),class:"tok-propertyName tok-definition"},{tag:M.typeName,class:"tok-typeName"},{tag:M.namespace,class:"tok-namespace"},{tag:M.className,class:"tok-className"},{tag:M.macroName,class:"tok-macroName"},{tag:M.propertyName,class:"tok-propertyName"},{tag:M.operator,class:"tok-operator"},{tag:M.comment,class:"tok-comment"},{tag:M.meta,class:"tok-meta"},{tag:M.invalid,class:"tok-invalid"},{tag:M.punctuation,class:"tok-punctuation"}])},335791:function(b,l,e){"use strict";e.d(l,{G:()=>p});var r=e(405551),o=e(634266);function n(){return(0,r.YO)("defaultCurrentScope",()=>new o.s)}function a(){return(0,r.YO)("defaultIsolationScope",()=>new o.s)}var i=e(496565);class c{constructor(O,P){let C;O?C=O:C=new o.s;let A;P?A=P:A=new o.s,this._stack=[{scope:C}],this._isolationScope=A}withScope(O){const P=this._pushScope();let C;try{C=O(P)}catch(A){throw this._popScope(),A}return(0,i.J8)(C)?C.then(A=>(this._popScope(),A),A=>{throw this._popScope(),A}):(this._popScope(),C)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const O=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:O}),O}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function u(){const y=(0,r.cu)(),O=(0,r.qA)(y);return O.stack=O.stack||new c(n(),a())}function f(y){return u().withScope(y)}function d(y,O){const P=u();return P.withScope(()=>(P.getStackTop().scope=y,O(y)))}function h(y){return u().withScope(()=>y(u().getIsolationScope()))}function g(){return{withIsolationScope:h,withScope:f,withSetScope:d,withSetIsolationScope:(y,O)=>h(O),getCurrentScope:()=>u().getScope(),getIsolationScope:()=>u().getIsolationScope()}}function _(y){const O=getMainCarrier(),P=getSentryCarrier(O);P.acs=y}function p(y){const O=(0,r.qA)(y);return O.acs?O.acs:g()}},503512:function(b,l,e){"use strict";e.d(l,{n:()=>i});var r=e(158744),o=e(960817),n=e(556938);const a=100;function i(c,u){const f=(0,r.s3)(),d=(0,r.aF)();if(!f)return;const{beforeBreadcrumb:h=null,maxBreadcrumbs:g=a}=f.getOptions();if(g<=0)return;const p={timestamp:(0,n.yW)(),...c},y=h?(0,o.Cf)(()=>h(p,u)):p;y!==null&&(f.emit&&f.emit("beforeAddBreadcrumb",y,u),d.addBreadcrumb(y,g))}},405551:function(b,l,e){"use strict";e.d(l,{YO:()=>i,cu:()=>n,qA:()=>a});var r=e(94840),o=e(724316);function n(){return a(o.n),o.n}function a(c){const u=c.__SENTRY__=c.__SENTRY__||{};return u.version=u.version||r.J,u[r.J]=u[r.J]||{}}function i(c,u,f=o.n){const d=f.__SENTRY__=f.__SENTRY__||{},h=d[r.J]=d[r.J]||{};return h[c]||(h[c]=u())}},925272:function(b,l,e){"use strict";e.d(l,{J:()=>r});const r="production"},158744:function(b,l,e){"use strict";e.d(l,{$e:()=>f,XX:()=>g,aF:()=>c,lW:()=>u,nZ:()=>i,s3:()=>h,wi:()=>d});var r=e(335791),o=e(405551),n=e(634266),a=e(671851);function i(){const _=(0,o.cu)();return(0,r.G)(_).getCurrentScope()}function c(){const _=(0,o.cu)();return(0,r.G)(_).getIsolationScope()}function u(){return(0,o.YO)("globalScope",()=>new n.s)}function f(..._){const p=(0,o.cu)(),y=(0,r.G)(p);if(_.length===2){const[O,P]=_;return O?y.withSetScope(O,P):y.withScope(P)}return y.withScope(_[0])}function d(..._){const p=(0,o.cu)(),y=(0,r.G)(p);if(_.length===2){const[O,P]=_;return O?y.withSetIsolationScope(O,P):y.withIsolationScope(P)}return y.withIsolationScope(_[0])}function h(){return i().getClient()}function g(_){const p=_.getPropagationContext(),{traceId:y,parentSpanId:O,propagationSpanId:P}=p,C={trace_id:y,span_id:P||(0,a.M)()};return O&&(C.parent_span_id=O),C}},397305:function(b,l,e){"use strict";e.d(l,{X:()=>r});const r=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__},600557:function(b,l,e){"use strict";e.d(l,{Qy:()=>m,TM:()=>I,Tb:()=>u,YA:()=>y,_k:()=>v,av:()=>O,cg:()=>W,dk:()=>s,eN:()=>d,eW:()=>P,mG:()=>p,rJ:()=>g,sU:()=>_,uT:()=>f,v:()=>h,xv:()=>T,yj:()=>E,yl:()=>S});var r=e(158744),o=e(397305),n=e(466236),a=e(960817),i=e(639373),c=e(724316);function u(F,G){return(0,r.nZ)().captureException(F,(0,i.U0)(G))}function f(F,G){const k=typeof G=="string"?G:void 0,x=typeof G!="string"?{captureContext:G}:void 0;return(0,r.nZ)().captureMessage(F,k,x)}function d(F,G){return(0,r.nZ)().captureEvent(F,G)}function h(F,G){(0,r.aF)().setContext(F,G)}function g(F){(0,r.aF)().setExtras(F)}function _(F,G){(0,r.aF)().setExtra(F,G)}function p(F){(0,r.aF)().setTags(F)}function y(F,G){(0,r.aF)().setTag(F,G)}function O(F){(0,r.aF)().setUser(F)}function P(){return(0,r.aF)().lastEventId()}function C(F,G){const k=getCurrentScope(),x=getClient();if(!x)DEBUG_BUILD&&debug.warn("Cannot capture check-in. No client defined.");else if(!x.captureCheckIn)DEBUG_BUILD&&debug.warn("Cannot capture check-in. Client does not support sending check-ins.");else return x.captureCheckIn(F,G,k);return uuid4()}function A(F,G,k){const x=C({monitorSlug:F,status:"in_progress"},k),M=timestampInSeconds();function B(R){C({monitorSlug:F,status:R,checkInId:x,duration:timestampInSeconds()-M})}return withIsolationScope(()=>{let R;try{R=G()}catch(U){throw B("error"),U}return isThenable(R)?R.then(U=>(B("ok"),U),U=>{throw B("error"),U}):(B("ok"),R)})}async function S(F){const G=(0,r.s3)();return G?G.flush(F):(o.X&&a.fF.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function T(F){const G=(0,r.s3)();return G?G.close(F):(o.X&&a.fF.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function s(){return!!(0,r.s3)()}function v(){const F=(0,r.s3)();return(F==null?void 0:F.getOptions().enabled)!==!1&&!!(F!=null&&F.getTransport())}function m(F){(0,r.aF)().addEventProcessor(F)}function E(F){const G=(0,r.aF)(),k=(0,r.nZ)(),{userAgent:x}=c.n.navigator||{},M=(0,n.Hv)({user:k.getUser()||G.getUser(),...x&&{userAgent:x},...F}),B=G.getSession();return(B==null?void 0:B.status)==="ok"&&(0,n.CT)(B,{status:"exited"}),I(),G.setSession(M),M}function I(){const F=(0,r.aF)(),k=(0,r.nZ)().getSession()||F.getSession();k&&(0,n.RJ)(k),L(),F.setSession()}function L(){const F=(0,r.aF)(),G=(0,r.s3)(),k=F.getSession();k&&G&&G.captureSession(k)}function W(F=!1){if(F){I();return}L()}},634266:function(b,l,e){"use strict";e.d(l,{s:()=>_});var r=e(397305),o=e(466236),n=e(960817),a=e(496565),i=e(625677),c=e(803448),u=e(671851),f=e(556167),d=e(234170),h=e(556938);const g=100;class _{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,u.H)(),sampleRand:Math.random()}}clone(){const y=new _;return y._breadcrumbs=[...this._breadcrumbs],y._tags={...this._tags},y._extra={...this._extra},y._contexts={...this._contexts},this._contexts.flags&&(y._contexts.flags={values:[...this._contexts.flags.values]}),y._user=this._user,y._level=this._level,y._session=this._session,y._transactionName=this._transactionName,y._fingerprint=this._fingerprint,y._eventProcessors=[...this._eventProcessors],y._attachments=[...this._attachments],y._sdkProcessingMetadata={...this._sdkProcessingMetadata},y._propagationContext={...this._propagationContext},y._client=this._client,y._lastEventId=this._lastEventId,(0,f.D)(y,(0,f.Y)(this)),y}setClient(y){this._client=y}setLastEventId(y){this._lastEventId=y}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(y){this._scopeListeners.push(y)}addEventProcessor(y){return this._eventProcessors.push(y),this}setUser(y){return this._user=y||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,o.CT)(this._session,{user:y}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(y){return this._tags={...this._tags,...y},this._notifyScopeListeners(),this}setTag(y,O){return this._tags={...this._tags,[y]:O},this._notifyScopeListeners(),this}setExtras(y){return this._extra={...this._extra,...y},this._notifyScopeListeners(),this}setExtra(y,O){return this._extra={...this._extra,[y]:O},this._notifyScopeListeners(),this}setFingerprint(y){return this._fingerprint=y,this._notifyScopeListeners(),this}setLevel(y){return this._level=y,this._notifyScopeListeners(),this}setTransactionName(y){return this._transactionName=y,this._notifyScopeListeners(),this}setContext(y,O){return O===null?delete this._contexts[y]:this._contexts[y]=O,this._notifyScopeListeners(),this}setSession(y){return y?this._session=y:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(y){if(!y)return this;const O=typeof y=="function"?y(this):y,P=O instanceof _?O.getScopeData():(0,a.PO)(O)?y:void 0,{tags:C,extra:A,user:S,contexts:T,level:s,fingerprint:v=[],propagationContext:m}=P||{};return this._tags={...this._tags,...C},this._extra={...this._extra,...A},this._contexts={...this._contexts,...T},S&&Object.keys(S).length&&(this._user=S),s&&(this._level=s),v.length&&(this._fingerprint=v),m&&(this._propagationContext=m),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,(0,f.D)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,u.H)(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(y,O){var A;const P=typeof O=="number"?O:g;if(P<=0)return this;const C={timestamp:(0,h.yW)(),...y,message:y.message?(0,d.$G)(y.message,2048):y.message};return this._breadcrumbs.push(C),this._breadcrumbs.length>P&&(this._breadcrumbs=this._breadcrumbs.slice(-P),(A=this._client)==null||A.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(y){return this._attachments.push(y),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,f.Y)(this)}}setSDKProcessingMetadata(y){return this._sdkProcessingMetadata=(0,i.T)(this._sdkProcessingMetadata,y,2),this}setPropagationContext(y){return this._propagationContext=y,this}getPropagationContext(){return this._propagationContext}captureException(y,O){const P=(O==null?void 0:O.event_id)||(0,c.DM)();if(!this._client)return r.X&&n.fF.warn("No client configured on scope - will not capture exception!"),P;const C=new Error("Sentry syntheticException");return this._client.captureException(y,{originalException:y,syntheticException:C,...O,event_id:P},this),P}captureMessage(y,O,P){const C=(P==null?void 0:P.event_id)||(0,c.DM)();if(!this._client)return r.X&&n.fF.warn("No client configured on scope - will not capture message!"),C;const A=new Error(y);return this._client.captureMessage(y,O,{originalException:y,syntheticException:A,...P,event_id:C},this),C}captureEvent(y,O){const P=(O==null?void 0:O.event_id)||(0,c.DM)();return this._client?(this._client.captureEvent(y,{...O,event_id:P},this),P):(r.X&&n.fF.warn("No client configured on scope - will not capture event!"),P)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(y=>{y(this)}),this._notifyingListeners=!1)}}},849943:function(b,l,e){"use strict";e.d(l,{$J:()=>a,E1:()=>u,JQ:()=>g,S3:()=>i,TE:()=>o,Wb:()=>f,Zj:()=>r,fv:()=>P,iT:()=>n,ju:()=>c,lH:()=>C,p6:()=>h,qE:()=>O,xF:()=>d});const r="sentry.source",o="sentry.sample_rate",n="sentry.previous_trace_sample_rate",a="sentry.op",i="sentry.origin",c="sentry.idle_span_finish_reason",u="sentry.measurement_unit",f="sentry.measurement_value",d="sentry.custom_span_name",h="sentry.profile_id",g="sentry.exclusive_time",_="cache.hit",p="cache.key",y="cache.item_size",O="http.request.method",P="url.full",C="sentry.link.type"},466236:function(b,l,e){"use strict";e.d(l,{CT:()=>a,Hv:()=>n,RJ:()=>i});var r=e(803448),o=e(556938);function n(u){const f=(0,o.ph)(),d={sid:(0,r.DM)(),init:!0,timestamp:f,started:f,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>c(d)};return u&&a(d,u),d}function a(u,f={}){if(f.user&&(!u.ipAddress&&f.user.ip_address&&(u.ipAddress=f.user.ip_address),!u.did&&!f.did&&(u.did=f.user.id||f.user.email||f.user.username)),u.timestamp=f.timestamp||(0,o.ph)(),f.abnormal_mechanism&&(u.abnormal_mechanism=f.abnormal_mechanism),f.ignoreDuration&&(u.ignoreDuration=f.ignoreDuration),f.sid&&(u.sid=f.sid.length===32?f.sid:(0,r.DM)()),f.init!==void 0&&(u.init=f.init),!u.did&&f.did&&(u.did=`${f.did}`),typeof f.started=="number"&&(u.started=f.started),u.ignoreDuration)u.duration=void 0;else if(typeof f.duration=="number")u.duration=f.duration;else{const d=u.timestamp-u.started;u.duration=d>=0?d:0}f.release&&(u.release=f.release),f.environment&&(u.environment=f.environment),!u.ipAddress&&f.ipAddress&&(u.ipAddress=f.ipAddress),!u.userAgent&&f.userAgent&&(u.userAgent=f.userAgent),typeof f.errors=="number"&&(u.errors=f.errors),f.status&&(u.status=f.status)}function i(u,f){let d={};f?d={status:f}:u.status==="ok"&&(d={status:"exited"}),a(u,d)}function c(u){return{sid:`${u.sid}`,init:u.init,started:new Date(u.started*1e3).toISOString(),timestamp:new Date(u.timestamp*1e3).toISOString(),status:u.status,errors:u.errors,did:typeof u.did=="number"||typeof u.did=="string"?`${u.did}`:void 0,duration:u.duration,abnormal_mechanism:u.abnormal_mechanism,attrs:{release:u.release,environment:u.environment,ip_address:u.ipAddress,user_agent:u.userAgent}}}},834636:function(b,l,e){"use strict";e.d(l,{CG:()=>p,Lh:()=>g,jC:()=>y,uc:()=>O});var r=e(925272),o=e(158744),n=e(849943),a=e(7634),i=e(729300),c=e(163907),u=e(807618),f=e(358003),d=e(11530);const h="_frozenDsc";function g(P,C){const A=P;(0,u.xp)(A,h,C)}function _(P,C){const A=C.getOptions(),{publicKey:S,host:T}=C.getDsn()||{};let s;A.orgId?s=String(A.orgId):T&&(s=(0,i.so)(T));const v={environment:A.environment||r.J,release:A.release,public_key:S,trace_id:P,org_id:s};return C.emit("createDsc",v),v}function p(P,C){const A=C.getPropagationContext();return A.dsc||_(A.traceId,P)}function y(P){var k;const C=(0,o.s3)();if(!C)return{};const A=(0,f.Gx)(P),S=(0,f.XU)(A),T=S.data,s=A.spanContext().traceState,v=(s==null?void 0:s.get("sentry.sample_rate"))??T[n.TE]??T[n.iT];function m(x){return(typeof v=="number"||typeof v=="string")&&(x.sample_rate=`${v}`),x}const E=A[h];if(E)return m(E);const I=s==null?void 0:s.get("sentry.dsc"),L=I&&(0,a.EN)(I);if(L)return m(L);const W=_(P.spanContext().traceId,C),F=T[n.Zj],G=S.description;return F!=="url"&&G&&(W.transaction=G),(0,c.f)()&&(W.sampled=String((0,f.Tt)(A)),W.sample_rand=(s==null?void 0:s.get("sentry.sample_rand"))??((k=(0,d.I)(A).scope)==null?void 0:k.getPropagationContext().sampleRand.toString())),m(W),C.emit("createDsc",W,A),W}function O(P){const C=y(P);return(0,a.IQ)(C)}},862551:function(b,l,e){"use strict";e.d(l,{OP:()=>o,Q0:()=>i,ix:()=>a,jt:()=>n,pq:()=>r});const r=0,o=1,n=2;function a(c){if(c<400&&c>=100)return{code:o};if(c>=400&&c<500)switch(c){case 401:return{code:n,message:"unauthenticated"};case 403:return{code:n,message:"permission_denied"};case 404:return{code:n,message:"not_found"};case 409:return{code:n,message:"already_exists"};case 413:return{code:n,message:"failed_precondition"};case 429:return{code:n,message:"resource_exhausted"};case 499:return{code:n,message:"cancelled"};default:return{code:n,message:"invalid_argument"}}if(c>=500&&c<600)switch(c){case 501:return{code:n,message:"unimplemented"};case 503:return{code:n,message:"unavailable"};case 504:return{code:n,message:"deadline_exceeded"};default:return{code:n,message:"internal_error"}}return{code:n,message:"unknown_error"}}function i(c,u){c.setAttribute("http.response.status_code",u);const f=a(u);f.message!=="unknown_error"&&c.setStatus(f)}},11530:function(b,l,e){"use strict";e.d(l,{I:()=>i,Y:()=>a});var r=e(807618);const o="_sentryScope",n="_sentryIsolationScope";function a(c,u,f){c&&((0,r.xp)(c,n,f),(0,r.xp)(c,o,u))}function i(c){return{scope:c[o],isolationScope:c[n]}}},922867:function(b,l,e){"use strict";e.d(l,{gi:()=>a,yo:()=>i});var r=e(834636),o=e(625677),n=e(358003);function a(_,p){const{fingerprint:y,span:O,breadcrumbs:P,sdkProcessingMetadata:C}=p;u(_,p),O&&h(_,O),g(_,y),f(_,P),d(_,C)}function i(_,p){const{extra:y,tags:O,user:P,contexts:C,level:A,sdkProcessingMetadata:S,breadcrumbs:T,fingerprint:s,eventProcessors:v,attachments:m,propagationContext:E,transactionName:I,span:L}=p;c(_,"extra",y),c(_,"tags",O),c(_,"user",P),c(_,"contexts",C),_.sdkProcessingMetadata=(0,o.T)(_.sdkProcessingMetadata,S,2),A&&(_.level=A),I&&(_.transactionName=I),L&&(_.span=L),T.length&&(_.breadcrumbs=[..._.breadcrumbs,...T]),s.length&&(_.fingerprint=[..._.fingerprint,...s]),v.length&&(_.eventProcessors=[..._.eventProcessors,...v]),m.length&&(_.attachments=[..._.attachments,...m]),_.propagationContext={..._.propagationContext,...E}}function c(_,p,y){_[p]=(0,o.T)(_[p],y,1)}function u(_,p){const{extra:y,tags:O,user:P,contexts:C,level:A,transactionName:S}=p;Object.keys(y).length&&(_.extra={...y,..._.extra}),Object.keys(O).length&&(_.tags={...O,..._.tags}),Object.keys(P).length&&(_.user={...P,..._.user}),Object.keys(C).length&&(_.contexts={...C,..._.contexts}),A&&(_.level=A),S&&_.type!=="transaction"&&(_.transaction=S)}function f(_,p){const y=[..._.breadcrumbs||[],...p];_.breadcrumbs=y.length?y:void 0}function d(_,p){_.sdkProcessingMetadata={..._.sdkProcessingMetadata,...p}}function h(_,p){_.contexts={trace:(0,n.wy)(p),..._.contexts},_.sdkProcessingMetadata={dynamicSamplingContext:(0,r.jC)(p),..._.sdkProcessingMetadata};const y=(0,n.Gx)(p),O=(0,n.XU)(y).description;O&&!_.transaction&&_.type==="transaction"&&(_.transaction=O)}function g(_,p){_.fingerprint=_.fingerprint?Array.isArray(_.fingerprint)?_.fingerprint:[_.fingerprint]:[],p&&(_.fingerprint=_.fingerprint.concat(p)),_.fingerprint.length||delete _.fingerprint}},7634:function(b,l,e){"use strict";e.d(l,{EN:()=>u,IQ:()=>f,lq:()=>a});var r=e(397305),o=e(960817),n=e(496565);const a="sentry-",i=/^sentry-/,c=8192;function u(_){const p=d(_);if(!p)return;const y=Object.entries(p).reduce((O,[P,C])=>{if(P.match(i)){const A=P.slice(a.length);O[A]=C}return O},{});if(Object.keys(y).length>0)return y}function f(_){if(!_)return;const p=Object.entries(_).reduce((y,[O,P])=>(P&&(y[`${a}${O}`]=P),y),{});return g(p)}function d(_){if(!(!_||!(0,n.HD)(_)&&!Array.isArray(_)))return Array.isArray(_)?_.reduce((p,y)=>{const O=h(y);return Object.entries(O).forEach(([P,C])=>{p[P]=C}),p},{}):h(_)}function h(_){return _.split(",").map(p=>p.split("=").map(y=>{try{return decodeURIComponent(y.trim())}catch{return}})).reduce((p,[y,O])=>(y&&O&&(p[y]=O),p),{})}function g(_){if(Object.keys(_).length!==0)return Object.entries(_).reduce((p,[y,O],P)=>{const C=`${encodeURIComponent(y)}=${encodeURIComponent(O)}`,A=P===0?C:`${p},${C}`;return A.length>c?(r.X&&o.fF.warn(`Not adding key: ${y} with val: ${O} to baggage header due to exceeding baggage size limits.`),p):A},"")}},291332:function(b,l,e){"use strict";e.d(l,{Rt:()=>i,iY:()=>f,l4:()=>u});var r=e(496565),o=e(724316);const n=o.n,a=80;function i(d,h={}){if(!d)return"<unknown>";try{let g=d;const _=5,p=[];let y=0,O=0;const P=" > ",C=P.length;let A;const S=Array.isArray(h)?h:h.keyAttrs,T=!Array.isArray(h)&&h.maxStringLength||a;for(;g&&y++<_&&(A=c(g,S),!(A==="html"||y>1&&O+p.length*C+A.length>=T));)p.push(A),O+=A.length,g=g.parentNode;return p.reverse().join(P)}catch{return"<unknown>"}}function c(d,h){const g=d,_=[];if(!(g!=null&&g.tagName))return"";if(n.HTMLElement&&g instanceof HTMLElement&&g.dataset){if(g.dataset.sentryComponent)return g.dataset.sentryComponent;if(g.dataset.sentryElement)return g.dataset.sentryElement}_.push(g.tagName.toLowerCase());const p=h!=null&&h.length?h.filter(O=>g.getAttribute(O)).map(O=>[O,g.getAttribute(O)]):null;if(p!=null&&p.length)p.forEach(O=>{_.push(`[${O[0]}="${O[1]}"]`)});else{g.id&&_.push(`#${g.id}`);const O=g.className;if(O&&(0,r.HD)(O)){const P=O.split(/\s+/);for(const C of P)_.push(`.${C}`)}}const y=["aria-label","type","name","title","alt"];for(const O of y){const P=g.getAttribute(O);P&&_.push(`[${O}="${P}"]`)}return _.join("")}function u(){try{return n.document.location.href}catch{return""}}function f(d){if(!n.HTMLElement)return null;let h=d;const g=5;for(let _=0;_<g;_++){if(!h)return null;if(h instanceof HTMLElement){if(h.dataset.sentryComponent)return h.dataset.sentryComponent;if(h.dataset.sentryElement)return h.dataset.sentryElement}h=h.parentNode}return null}},768814:function(b,l,e){"use strict";e.d(l,{N:()=>i,v:()=>c});var r=e(724316);let o,n,a;function i(u){const f=r.n._sentryDebugIds;if(!f)return{};const d=Object.keys(f);return a&&d.length===n||(n=d.length,a=d.reduce((h,g)=>{o||(o={});const _=o[g];if(_)h[_[0]]=_[1];else{const p=u(g);for(let y=p.length-1;y>=0;y--){const O=p[y],P=O==null?void 0:O.filename,C=f[g];if(P&&C){h[P]=C,o[g]=[P,C];break}}}return h},{})),a}function c(u,f){const d=i(u);if(!d)return[];const h=[];for(const g of f)g&&d[g]&&h.push({type:"sourcemap",code_file:g,debug_id:d[g]});return h}},960817:function(b,l,e){"use strict";e.d(l,{Cf:()=>u,LD:()=>c,RU:()=>a,fF:()=>s});var r=e(405551),o=e(397305),n=e(724316);const a=["debug","info","warn","error","log","assert","trace"],i="Sentry Logger ",c={};function u(v){if(!("console"in n.n))return v();const m=n.n.console,E={},I=Object.keys(c);I.forEach(L=>{const W=c[L];E[L]=m[L],m[L]=W});try{return v()}finally{I.forEach(L=>{m[L]=E[L]})}}function f(){S().enabled=!0}function d(){S().enabled=!1}function h(){return S().enabled}function g(...v){A("log",...v)}function _(...v){A("info",...v)}function p(...v){A("warn",...v)}function y(...v){A("error",...v)}function O(...v){A("debug",...v)}function P(...v){A("assert",...v)}function C(...v){A("trace",...v)}function A(v,...m){o.X&&h()&&u(()=>{n.n.console[v](`${i}[${v}]:`,...m)})}function S(){return o.X?(0,r.YO)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const T=null,s={enable:f,disable:d,isEnabled:h,log:g,warn:p,error:y}},729300:function(b,l,e){"use strict";e.d(l,{RA:()=>c,U4:()=>u,so:()=>h,vK:()=>g});var r=e(397305),o=e(960817);const n=/^o(\d+)\./,a=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function i(_){return _==="http"||_==="https"}function c(_,p=!1){const{host:y,path:O,pass:P,port:C,projectId:A,protocol:S,publicKey:T}=_;return`${S}://${T}${p&&P?`:${P}`:""}@${y}${C?`:${C}`:""}/${O&&`${O}/`}${A}`}function u(_){const p=a.exec(_);if(!p){(0,o.Cf)(()=>{console.error(`Invalid Sentry Dsn: ${_}`)});return}const[y,O,P="",C="",A="",S=""]=p.slice(1);let T="",s=S;const v=s.split("/");if(v.length>1&&(T=v.slice(0,-1).join("/"),s=v.pop()),s){const m=s.match(/^\d+/);m&&(s=m[0])}return f({host:C,pass:P,path:T,projectId:s,port:A,protocol:y,publicKey:O})}function f(_){return{protocol:_.protocol,publicKey:_.publicKey||"",pass:_.pass||"",host:_.host,port:_.port||"",path:_.path||"",projectId:_.projectId}}function d(_){if(!r.X)return!0;const{port:p,projectId:y,protocol:O}=_;return["protocol","publicKey","host","projectId"].find(A=>_[A]?!1:(o.fF.error(`Invalid Sentry Dsn: ${A} missing`),!0))?!1:y.match(/^\d+$/)?i(O)?p&&isNaN(parseInt(p,10))?(o.fF.error(`Invalid Sentry Dsn: Invalid port ${p}`),!1):!0:(o.fF.error(`Invalid Sentry Dsn: Invalid protocol ${O}`),!1):(o.fF.error(`Invalid Sentry Dsn: Invalid projectId ${y}`),!1)}function h(_){const p=_.match(n);return p==null?void 0:p[1]}function g(_){const p=typeof _=="string"?u(_):f(_);if(!(!p||!d(p)))return p}},163907:function(b,l,e){"use strict";e.d(l,{f:()=>o});var r=e(158744);function o(a){var c;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const i=a||((c=(0,r.s3)())==null?void 0:c.getOptions());return!!i&&(i.tracesSampleRate!=null||!!i.tracesSampler)}const n=null},496565:function(b,l,e){"use strict";e.d(l,{Cy:()=>O,HD:()=>u,J8:()=>y,Kj:()=>p,Le:()=>f,PO:()=>h,TX:()=>i,V9:()=>P,VW:()=>a,VZ:()=>o,cO:()=>g,fm:()=>c,gJ:()=>A,kK:()=>_,pt:()=>d,y1:()=>C});const r=Object.prototype.toString;function o(S){switch(r.call(S)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return P(S,Error)}}function n(S,T){return r.call(S)===`[object ${T}]`}function a(S){return n(S,"ErrorEvent")}function i(S){return n(S,"DOMError")}function c(S){return n(S,"DOMException")}function u(S){return n(S,"String")}function f(S){return typeof S=="object"&&S!==null&&"__sentry_template_string__"in S&&"__sentry_template_values__"in S}function d(S){return S===null||f(S)||typeof S!="object"&&typeof S!="function"}function h(S){return n(S,"Object")}function g(S){return typeof Event<"u"&&P(S,Event)}function _(S){return typeof Element<"u"&&P(S,Element)}function p(S){return n(S,"RegExp")}function y(S){return!!(S!=null&&S.then&&typeof S.then=="function")}function O(S){return h(S)&&"nativeEvent"in S&&"preventDefault"in S&&"stopPropagation"in S}function P(S,T){try{return S instanceof T}catch{return!1}}function C(S){return!!(typeof S=="object"&&S!==null&&(S.__isVue||S._isVue))}function A(S){return typeof Request<"u"&&P(S,Request)}},625677:function(b,l,e){"use strict";e.d(l,{T:()=>r});function r(o,n,a=2){if(!n||typeof n!="object"||a<=0)return n;if(o&&Object.keys(n).length===0)return o;const i={...o};for(const c in n)Object.prototype.hasOwnProperty.call(n,c)&&(i[c]=r(i[c],n[c],a-1));return i}},803448:function(b,l,e){"use strict";e.d(l,{DM:()=>i,Db:()=>f,EG:()=>d,YO:()=>y,go:()=>p,jH:()=>u});var r=e(807618),o=e(234170),n=e(724316);function a(){const P=n.n;return P.crypto||P.msCrypto}function i(P=a()){let C=()=>Math.random()*16;try{if(P!=null&&P.randomUUID)return P.randomUUID().replace(/-/g,"");P!=null&&P.getRandomValues&&(C=()=>{const A=new Uint8Array(1);return P.getRandomValues(A),A[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,A=>(A^(C()&15)>>A/4).toString(16))}function c(P){var C,A;return(A=(C=P.exception)==null?void 0:C.values)==null?void 0:A[0]}function u(P){const{message:C,event_id:A}=P;if(C)return C;const S=c(P);return S?S.type&&S.value?`${S.type}: ${S.value}`:S.type||S.value||A||"<unknown>":A||"<unknown>"}function f(P,C,A){const S=P.exception=P.exception||{},T=S.values=S.values||[],s=T[0]=T[0]||{};s.value||(s.value=C||""),s.type||(s.type=A||"Error")}function d(P,C){const A=c(P);if(!A)return;const S={type:"generic",handled:!0},T=A.mechanism;if(A.mechanism={...S,...T,...C},C&&"data"in C){const s={...T==null?void 0:T.data,...C.data};A.mechanism.data=s}}const h=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function g(P){return parseInt(P||"",10)}function _(P){const C=P.match(h)||[],A=g(C[1]),S=g(C[2]),T=g(C[3]);return{buildmetadata:C[5],major:isNaN(A)?void 0:A,minor:isNaN(S)?void 0:S,patch:isNaN(T)?void 0:T,prerelease:C[4]}}function p(P,C,A=5){if(C.lineno===void 0)return;const S=P.length,T=Math.max(Math.min(S-1,C.lineno-1),0);C.pre_context=P.slice(Math.max(0,T-A),T).map(v=>(0,o.JM)(v,0));const s=Math.min(S-1,T);C.context_line=(0,o.JM)(P[s],C.colno||0),C.post_context=P.slice(Math.min(T+1,S),T+1+A).map(v=>(0,o.JM)(v,0))}function y(P){if(O(P))return!0;try{(0,r.xp)(P,"__sentry_captured__",!0)}catch{}return!1}function O(P){try{return P.__sentry_captured__}catch{}}},714190:function(b,l,e){"use strict";e.d(l,{Fv:()=>a,Qy:()=>i});var r=e(496565),o=e(807618),n=e(996454);function a(p,y=100,O=1/0){try{return c("",p,y,O)}catch(P){return{ERROR:`**non-serializable** (${P})`}}}function i(p,y=3,O=100*1024){const P=a(p,y);return h(P)>O?i(p,y-1,O):P}function c(p,y,O=1/0,P=1/0,C=_()){const[A,S]=C;if(y==null||["boolean","string"].includes(typeof y)||typeof y=="number"&&Number.isFinite(y))return y;const T=u(p,y);if(!T.startsWith("[object "))return T;if(y.__sentry_skip_normalization__)return y;const s=typeof y.__sentry_override_normalization_depth__=="number"?y.__sentry_override_normalization_depth__:O;if(s===0)return T.replace("object ","");if(A(y))return"[Circular ~]";const v=y;if(v&&typeof v.toJSON=="function")try{const L=v.toJSON();return c("",L,s-1,P,C)}catch{}const m=Array.isArray(y)?[]:{};let E=0;const I=(0,o.Sh)(y);for(const L in I){if(!Object.prototype.hasOwnProperty.call(I,L))continue;if(E>=P){m[L]="[MaxProperties ~]";break}const W=I[L];m[L]=c(L,W,s-1,P,C),E++}return S(y),m}function u(p,y){try{if(p==="domain"&&y&&typeof y=="object"&&y._events)return"[Domain]";if(p==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&y===global)return"[Global]";if(typeof window<"u"&&y===window)return"[Window]";if(typeof document<"u"&&y===document)return"[Document]";if((0,r.y1)(y))return"[VueViewModel]";if((0,r.Cy)(y))return"[SyntheticEvent]";if(typeof y=="number"&&!Number.isFinite(y))return`[${y}]`;if(typeof y=="function")return`[Function: ${(0,n.$P)(y)}]`;if(typeof y=="symbol")return`[${String(y)}]`;if(typeof y=="bigint")return`[BigInt: ${String(y)}]`;const O=f(y);return/^HTML(\w*)Element$/.test(O)?`[HTMLElement: ${O}]`:`[object ${O}]`}catch(O){return`**non-serializable** (${O})`}}function f(p){const y=Object.getPrototypeOf(p);return y!=null&&y.constructor?y.constructor.name:"null prototype"}function d(p){return~-encodeURI(p).split(/%..|./).length}function h(p){return d(JSON.stringify(p))}function g(p,y){const O=y.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");let P=p;try{P=decodeURI(p)}catch{}return P.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(new RegExp(`(file://)?/*${O}/*`,"ig"),"app:///")}function _(){const p=new WeakSet;function y(P){return p.has(P)?!0:(p.add(P),!1)}function O(P){p.delete(P)}return[y,O]}},807618:function(b,l,e){"use strict";e.d(l,{$Q:()=>f,HK:()=>d,Sh:()=>h,hl:()=>c,xp:()=>u,zf:()=>p});var r=e(397305),o=e(291332),n=e(960817),a=e(496565),i=e(234170);function c(A,S,T){if(!(S in A))return;const s=A[S];if(typeof s!="function")return;const v=T(s);typeof v=="function"&&f(v,s);try{A[S]=v}catch{r.X&&n.fF.log(`Failed to replace method "${S}" in object`,A)}}function u(A,S,T){try{Object.defineProperty(A,S,{value:T,writable:!0,configurable:!0})}catch{r.X&&n.fF.log(`Failed to add non-enumerable property "${S}" to object`,A)}}function f(A,S){try{const T=S.prototype||{};A.prototype=S.prototype=T,u(A,"__sentry_original__",S)}catch{}}function d(A){return A.__sentry_original__}function h(A){if((0,a.VZ)(A))return{message:A.message,name:A.name,stack:A.stack,..._(A)};if((0,a.cO)(A)){const S={type:A.type,target:g(A.target),currentTarget:g(A.currentTarget),..._(A)};return typeof CustomEvent<"u"&&(0,a.V9)(A,CustomEvent)&&(S.detail=A.detail),S}else return A}function g(A){try{return(0,a.kK)(A)?(0,o.Rt)(A):Object.prototype.toString.call(A)}catch{return"<unknown>"}}function _(A){if(typeof A=="object"&&A!==null){const S={};for(const T in A)Object.prototype.hasOwnProperty.call(A,T)&&(S[T]=A[T]);return S}else return{}}function p(A,S=40){const T=Object.keys(h(A));T.sort();const s=T[0];if(!s)return"[object has no keys]";if(s.length>=S)return(0,i.$G)(s,S);for(let v=T.length;v>0;v--){const m=T.slice(0,v).join(", ");if(!(m.length>S))return v===T.length?m:(0,i.$G)(m,S)}return""}function y(A){return O(A,new Map)}function O(A,S){if(A===null||typeof A!="object")return A;const T=S.get(A);if(T!==void 0)return T;if(Array.isArray(A)){const s=[];return S.set(A,s),A.forEach(v=>{s.push(O(v,S))}),s}if(P(A)){const s={};return S.set(A,s),Object.keys(A).forEach(m=>{const E=A[m];E!==void 0&&(s[m]=O(E,S))}),s}return A}function P(A){const S=A.constructor;return S===Object||S===void 0}function C(A){let S;switch(!0){case A==null:S=new String(A);break;case(typeof A=="symbol"||typeof A=="bigint"):S=Object(A);break;case isPrimitive(A):S=new A.constructor(A);break;default:S=A;break}return S}},530016:function(b,l,e){"use strict";e.d(l,{o:()=>r});function r(o){if(typeof o=="boolean")return Number(o);const n=typeof o=="string"?parseFloat(o):o;if(!(typeof n!="number"||isNaN(n)||n<0||n>1))return n}},639373:function(b,l,e){"use strict";e.d(l,{U0:()=>v,R:()=>O});var r=e(925272),o=e(158744),n=e(397305),a=e(960817),i=e(496565),c=e(250680);function u(L,W,F,G=0){return new c.cW((k,x)=>{const M=L[G];if(W===null||typeof M!="function")k(W);else{const B=M({...W},F);n.X&&M.id&&B===null&&a.fF.log(`Event processor "${M.id}" dropped event`),(0,i.J8)(B)?B.then(R=>u(L,R,F,G+1).then(k)).then(null,x):u(L,B,F,G+1).then(k).then(null,x)}})}var f=e(634266),d=e(922867),h=e(768814),g=e(803448),_=e(714190),p=e(234170),y=e(556938);function O(L,W,F,G,k,x){const{normalizeDepth:M=3,normalizeMaxBreadth:B=1e3}=L,R={...W,event_id:W.event_id||F.event_id||(0,g.DM)(),timestamp:W.timestamp||(0,y.yW)()},U=F.integrations||L.integrations.map(pe=>pe.name);P(R,L),S(R,U),k&&k.emit("applyFrameMetadata",W),W.type===void 0&&C(R,L.stackParser);const j=s(G,F.captureContext);F.mechanism&&(0,g.EG)(R,F.mechanism);const $=k?k.getEventProcessors():[],ee=(0,o.lW)().getScopeData();if(x){const pe=x.getScopeData();(0,d.yo)(ee,pe)}if(j){const pe=j.getScopeData();(0,d.yo)(ee,pe)}const te=[...F.attachments||[],...ee.attachments];te.length&&(F.attachments=te),(0,d.gi)(R,ee);const ie=[...$,...ee.eventProcessors];return u(ie,R,F).then(pe=>(pe&&A(pe),typeof M=="number"&&M>0?T(pe,M,B):pe))}function P(L,W){const{environment:F,release:G,dist:k,maxValueLength:x=250}=W;L.environment=L.environment||F||r.J,!L.release&&G&&(L.release=G),!L.dist&&k&&(L.dist=k);const M=L.request;M!=null&&M.url&&(M.url=(0,p.$G)(M.url,x))}function C(L,W){var G,k;const F=(0,h.N)(W);(k=(G=L.exception)==null?void 0:G.values)==null||k.forEach(x=>{var M,B;(B=(M=x.stacktrace)==null?void 0:M.frames)==null||B.forEach(R=>{R.filename&&(R.debug_id=F[R.filename])})})}function A(L){var G,k;const W={};if((k=(G=L.exception)==null?void 0:G.values)==null||k.forEach(x=>{var M,B;(B=(M=x.stacktrace)==null?void 0:M.frames)==null||B.forEach(R=>{R.debug_id&&(R.abs_path?W[R.abs_path]=R.debug_id:R.filename&&(W[R.filename]=R.debug_id),delete R.debug_id)})}),Object.keys(W).length===0)return;L.debug_meta=L.debug_meta||{},L.debug_meta.images=L.debug_meta.images||[];const F=L.debug_meta.images;Object.entries(W).forEach(([x,M])=>{F.push({type:"sourcemap",code_file:x,debug_id:M})})}function S(L,W){W.length>0&&(L.sdk=L.sdk||{},L.sdk.integrations=[...L.sdk.integrations||[],...W])}function T(L,W,F){var k,x;if(!L)return null;const G={...L,...L.breadcrumbs&&{breadcrumbs:L.breadcrumbs.map(M=>({...M,...M.data&&{data:(0,_.Fv)(M.data,W,F)}}))},...L.user&&{user:(0,_.Fv)(L.user,W,F)},...L.contexts&&{contexts:(0,_.Fv)(L.contexts,W,F)},...L.extra&&{extra:(0,_.Fv)(L.extra,W,F)}};return(k=L.contexts)!=null&&k.trace&&G.contexts&&(G.contexts.trace=L.contexts.trace,L.contexts.trace.data&&(G.contexts.trace.data=(0,_.Fv)(L.contexts.trace.data,W,F))),L.spans&&(G.spans=L.spans.map(M=>({...M,...M.data&&{data:(0,_.Fv)(M.data,W,F)}}))),(x=L.contexts)!=null&&x.flags&&G.contexts&&(G.contexts.flags=(0,_.Fv)(L.contexts.flags,3,F)),G}function s(L,W){if(!W)return L;const F=L?L.clone():new f.s;return F.update(W),F}function v(L){if(L)return m(L)?{captureContext:L}:I(L)?{captureContext:L}:L}function m(L){return L instanceof f.s||typeof L=="function"}const E=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function I(L){return Object.keys(L).some(W=>E.includes(W))}},671851:function(b,l,e){"use strict";e.d(l,{H:()=>o,M:()=>n});var r=e(803448);function o(){return(0,r.DM)()}function n(){return(0,r.DM)().substring(16)}},556167:function(b,l,e){"use strict";e.d(l,{D:()=>n,Y:()=>a});var r=e(807618);const o="_sentrySpan";function n(i,c){c?(0,r.xp)(i,o,c):delete i[o]}function a(i){return i[o]}},358003:function(b,l,e){"use strict";e.d(l,{$k:()=>T,Dp:()=>x,FF:()=>S,Gx:()=>M,HN:()=>B,HR:()=>P,Hb:()=>A,R6:()=>R,Tt:()=>I,XU:()=>v,_4:()=>L,ed:()=>k,g5:()=>U,i0:()=>y,j5:()=>G,ve:()=>p,wy:()=>C});var r=e(335791),o=e(405551),n=e(158744),a=e(849943),i=e(862551),c=e(11530),u=e(807618),f=e(671851),d=e(556938),h=e(7657),g=e(960817),_=e(556167);const p=0,y=1;let O=!1;function P(j){const{spanId:$,traceId:ee}=j.spanContext(),{data:te,op:ie,parent_span_id:ne,status:pe,origin:oe,links:q}=v(j);return{parent_span_id:ne,span_id:$,trace_id:ee,data:te,op:ie,status:pe,origin:oe,links:q}}function C(j){const{spanId:$,traceId:ee,isRemote:te}=j.spanContext(),ie=te?$:v(j).parent_span_id,ne=(0,c.I)(j).scope,pe=te?(ne==null?void 0:ne.getPropagationContext().propagationSpanId)||(0,f.M)():$;return{parent_span_id:ie,span_id:pe,trace_id:ee}}function A(j){const{traceId:$,spanId:ee}=j.spanContext(),te=I(j);return(0,h.$p)($,ee,te)}function S(j){if(j&&j.length>0)return j.map(({context:{spanId:$,traceId:ee,traceFlags:te,...ie},attributes:ne})=>({span_id:$,trace_id:ee,sampled:te===y,attributes:ne,...ie}))}function T(j){return typeof j=="number"?s(j):Array.isArray(j)?j[0]+j[1]/1e9:j instanceof Date?s(j.getTime()):(0,d.ph)()}function s(j){return j>9999999999?j/1e3:j}function v(j){var te;if(E(j))return j.getSpanJSON();const{spanId:$,traceId:ee}=j.spanContext();if(m(j)){const{attributes:ie,startTime:ne,name:pe,endTime:oe,status:q,links:J}=j,me="parentSpanId"in j?j.parentSpanId:"parentSpanContext"in j?(te=j.parentSpanContext)==null?void 0:te.spanId:void 0;return{span_id:$,trace_id:ee,data:ie,description:pe,parent_span_id:me,start_timestamp:T(ne),timestamp:T(oe)||void 0,status:L(q),op:ie[a.$J],origin:ie[a.S3],links:S(J)}}return{span_id:$,trace_id:ee,start_timestamp:0,data:{}}}function m(j){const $=j;return!!$.attributes&&!!$.startTime&&!!$.name&&!!$.endTime&&!!$.status}function E(j){return typeof j.getSpanJSON=="function"}function I(j){const{traceFlags:$}=j.spanContext();return $===y}function L(j){if(!(!j||j.code===i.pq))return j.code===i.OP?"ok":j.message||"unknown_error"}const W="_sentryChildSpans",F="_sentryRootSpan";function G(j,$){const ee=j[F]||j;(0,u.xp)($,F,ee),j[W]?j[W].add($):(0,u.xp)(j,W,new Set([$]))}function k(j,$){j[W]&&j[W].delete($)}function x(j){const $=new Set;function ee(te){if(!$.has(te)&&I(te)){$.add(te);const ie=te[W]?Array.from(te[W]):[];for(const ne of ie)ee(ne)}}return ee(j),Array.from($)}function M(j){return j[F]||j}function B(){const j=(0,o.cu)(),$=(0,r.G)(j);return $.getActiveSpan?$.getActiveSpan():(0,_.Y)((0,n.nZ)())}function R(){O||((0,g.Cf)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")}),O=!0)}function U(j,$){j.updateName($),j.setAttributes({[a.Zj]:"custom",[a.xF]:$})}},996454:function(b,l,e){"use strict";e.d(l,{$P:()=>h,Fi:()=>o,Fr:()=>g,Sq:()=>c,pE:()=>i});const r=50,o="?",n=/\(error: (.*)\)/,a=/captureMessage|captureException/;function i(..._){const p=_.sort((y,O)=>y[0]-O[0]).map(y=>y[1]);return(y,O=0,P=0)=>{const C=[],A=y.split(`
`);for(let S=O;S<A.length;S++){const T=A[S];if(T.length>1024)continue;const s=n.test(T)?T.replace(n,"$1"):T;if(!s.match(/\S*Error: /)){for(const v of p){const m=v(s);if(m){C.push(m);break}}if(C.length>=r+P)break}}return u(C.slice(P))}}function c(_){return Array.isArray(_)?i(..._):_}function u(_){if(!_.length)return[];const p=Array.from(_);return/sentryWrapped/.test(f(p).function||"")&&p.pop(),p.reverse(),a.test(f(p).function||"")&&(p.pop(),a.test(f(p).function||"")&&p.pop()),p.slice(0,r).map(y=>({...y,filename:y.filename||f(p).filename,function:y.function||o}))}function f(_){return _[_.length-1]||{}}const d="<anonymous>";function h(_){try{return!_||typeof _!="function"?d:_.name||d}catch{return d}}function g(_){const p=_.exception;if(p){const y=[];try{return p.values.forEach(O=>{O.stacktrace.frames&&y.push(...O.stacktrace.frames)}),y}catch{return}}}},234170:function(b,l,e){"use strict";e.d(l,{$G:()=>o,JM:()=>n,U0:()=>c,nK:()=>a});var r=e(496565);function o(u,f=0){return typeof u!="string"||f===0||u.length<=f?u:`${u.slice(0,f)}...`}function n(u,f){let d=u;const h=d.length;if(h<=150)return d;f>h&&(f=h);let g=Math.max(f-60,0);g<5&&(g=0);let _=Math.min(g+140,h);return _>h-5&&(_=h),_===h&&(g=Math.max(_-140,0)),d=d.slice(g,_),g>0&&(d=`'{snip} ${d}`),_<h&&(d+=" {snip}"),d}function a(u,f){if(!Array.isArray(u))return"";const d=[];for(let h=0;h<u.length;h++){const g=u[h];try{(0,r.y1)(g)?d.push("[VueViewModel]"):d.push(String(g))}catch{d.push("[value cannot be serialized]")}}return d.join(f)}function i(u,f,d=!1){return(0,r.HD)(u)?(0,r.Kj)(f)?f.test(u):(0,r.HD)(f)?d?u===f:u.includes(f):!1:!1}function c(u,f=[],d=!1){return f.some(h=>i(u,h,d))}},250680:function(b,l,e){"use strict";e.d(l,{$2:()=>c,WD:()=>i,cW:()=>u});var r=e(496565);const o=0,n=1,a=2;function i(f){return new u(d=>{d(f)})}function c(f){return new u((d,h)=>{h(f)})}class u{constructor(d){this._state=o,this._handlers=[],this._runExecutor(d)}then(d,h){return new u((g,_)=>{this._handlers.push([!1,p=>{if(!d)g(p);else try{g(d(p))}catch(y){_(y)}},p=>{if(!h)_(p);else try{g(h(p))}catch(y){_(y)}}]),this._executeHandlers()})}catch(d){return this.then(h=>h,d)}finally(d){return new u((h,g)=>{let _,p;return this.then(y=>{p=!1,_=y,d&&d()},y=>{p=!0,_=y,d&&d()}).then(()=>{if(p){g(_);return}h(_)})})}_executeHandlers(){if(this._state===o)return;const d=this._handlers.slice();this._handlers=[],d.forEach(h=>{h[0]||(this._state===n&&h[1](this._value),this._state===a&&h[2](this._value),h[0]=!0)})}_runExecutor(d){const h=(p,y)=>{if(this._state===o){if((0,r.J8)(y)){y.then(g,_);return}this._state=p,this._value=y,this._executeHandlers()}},g=p=>{h(n,p)},_=p=>{h(a,p)};try{d(g,_)}catch(p){_(p)}}}},556938:function(b,l,e){"use strict";e.d(l,{Z1:()=>d,ph:()=>c,yW:()=>n});var r=e(724316);const o=1e3;function n(){return Date.now()/o}function a(){const{performance:h}=r.n;if(!(h!=null&&h.now)||!h.timeOrigin)return n;const g=h.timeOrigin;return()=>(g+h.now())/o}let i;function c(){return(i??(i=a()))()}let u;function f(){var T;const{performance:h}=r.n;if(!(h!=null&&h.now))return[void 0,"none"];const g=3600*1e3,_=h.now(),p=Date.now(),y=h.timeOrigin?Math.abs(h.timeOrigin+_-p):g,O=y<g,P=(T=h.timing)==null?void 0:T.navigationStart,A=typeof P=="number"?Math.abs(P+_-p):g,S=A<g;return O||S?y<=A?[h.timeOrigin,"timeOrigin"]:[P,"navigationStart"]:[p,"dateNow"]}function d(){return u||(u=f()),u[0]}},7657:function(b,l,e){"use strict";e.d(l,{$p:()=>u,Ke:()=>a,pT:()=>c});var r=e(7634),o=e(530016),n=e(671851);const a=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function i(d){if(!d)return;const h=d.match(a);if(!h)return;let g;return h[3]==="1"?g=!0:h[3]==="0"&&(g=!1),{traceId:h[1],parentSampled:g,parentSpanId:h[2]}}function c(d,h){const g=i(d),_=(0,r.EN)(h);if(!(g!=null&&g.traceId))return{traceId:(0,n.H)(),sampleRand:Math.random()};const p=f(g,_);_&&(_.sample_rand=p.toString());const{traceId:y,parentSpanId:O,parentSampled:P}=g;return{traceId:y,parentSpanId:O,sampled:P,dsc:_||{},sampleRand:p}}function u(d=(0,n.H)(),h=(0,n.M)(),g){let _="";return g!==void 0&&(_=g?"-1":"-0"),`${d}-${h}${_}`}function f(d,h){const g=(0,o.o)(h==null?void 0:h.sample_rand);if(g!==void 0)return g;const _=(0,o.o)(h==null?void 0:h.sample_rate);return _&&(d==null?void 0:d.parentSampled)!==void 0?d.parentSampled?Math.random()*_:_+Math.random()*(1-_):Math.random()}},94840:function(b,l,e){"use strict";e.d(l,{J:()=>r});const r="9.46.0"},724316:function(b,l,e){"use strict";e.d(l,{n:()=>r});const r=globalThis},690170:function(b,l,e){"use strict";e.d(l,{t:()=>E,Z:()=>L});var r=W=>((W==null?void 0:W.length)??0)>0?`${W==null?void 0:W.map(([F,G])=>`${F} ${G}`).join(", ")}, `:"",o=W=>typeof W=="string"?W:W.map(([F,G])=>`${F} ${G}`).join(", "),n=W=>typeof W=="string"?W:`${r(W.mediaQuerySizes)}${W.defaultWidth}`,a={display:"block"};function i(W){return{...a,...W}}var c=["alt","className","height","loader","onLoadingComplete","priority","src","srcSet","style","width","debug","format","videoId","sizes"],u=new Set(c);function f(W){const F={};for(const G in W)u.has(G)||(F[G]=W[G]);return F}var d=[100,300,500,750,1e3,1500,2500],h=({src:W,width:F})=>`${W}?format=${F}w`,g=({src:W})=>({src:W,srcSet:d.map(F=>`${h({src:W,width:F})} ${F}w`).join(", ")}),_=(W,F)=>d.map(G=>`${W}_${G}.${F} ${G}w`).join(", "),p=({src:W,format:F})=>({src:W,srcSet:_(W,F)}),y={120:"",320:"mq",480:"hq",640:"sd"},O=W=>Object.keys(W),P=(W,F)=>`https://i.ytimg.com/vi${F==="webp"?"_webp":""}/${W}`,C=(W,F)=>O(y).map(G=>`${P(W,F)}/${y[G]}default.${F} ${G}w`).join(", "),A=({videoId:W,format:F,src:G})=>({src:G??`${P(W,F)}/default.${F}`,srcSet:C(W,F)}),S=({src:W="",srcSet:F})=>({src:W,srcSet:F}),T=(W,F)=>{switch(W){case"sqs":return g(F);case"raw":return S(F);case"vimeo":return p(F);case"youtube":return A(F);default:return{src:F.src??""}}},s=e(174161),v=W=>!("media"in W)&&!("type"in W),m=W=>"media"in W,E=({srcs:W,className:F,style:G,sizes:k,...x})=>{const M=n(k);return s.createElement("picture",{className:F,style:i(G),"data-picture-component":"0.18.0"},W.map(B=>{var R;if(v(B)){const{srcSet:U,...j}=B,$=f(x);return s.createElement(L,{alt:x.alt,debug:x.debug,loader:"raw",onLoadingComplete:x.onLoadingComplete,priority:x.priority,src:((R=U[U.length-1])==null?void 0:R[0])??"",srcSet:o(U),sizes:M,key:"image",...j,...$})}else{const U=m(B)?{media:B.media}:{type:B.type};return B.srcs.map(({srcSet:j,...$})=>{const ee=o(j);return s.createElement("source",{sizes:M,srcSet:ee,key:ee,...U,...$})})}}))};function I(W){const[F,G]=(0,s.useState)([]);return(0,s.useEffect)(()=>{W.debug&&Promise.all([e.e("61618"),e.e("11423")]).then(e.bind(e,610399)).then(({validate:k,log:x})=>{const M=k(W);G(M),x(M)})},[W]),F}function L(W){const F=W.loader??"sqs",{src:G,srcSet:k}=T(F,W),x=k&&o(k),M=W.sizes?n(W.sizes):W.sizes,B=i(W.style),R=(0,s.useRef)(null);return I(W),(0,s.useEffect)(()=>{var j;const U=R.current;U===null||!U.complete||!U.src&&!U.srcset||(j=W.onLoadingComplete)==null||j.call(W)},[]),s.createElement("img",{ref:R,src:G,srcSet:x,width:W.width,height:W.height,alt:W.alt,className:W.className,style:i(B),onLoad:W.onLoadingComplete?()=>{var U;return(U=W.onLoadingComplete)==null?void 0:U.call(W)}:void 0,decoding:"async",loading:W.loading??(W.priority==="high"?"eager":"lazy"),fetchpriority:W.fetchpriority??W.priority,"data-loader":F,sizes:M,"data-image-component":"0.18.0",...f(W)})}},413019:function(b,l,e){"use strict";e.d(l,{$s:()=>Mo,B1:()=>mn,L8:()=>Un,S1:()=>To,le:()=>ea,lv:()=>er});var r=Object.defineProperty,o=Object.getOwnPropertyNames,n=(yr,Lr)=>function(){return yr&&(Lr=(0,yr[o(yr)[0]])(yr=0)),Lr},a=(yr,Lr)=>{for(var ao in Lr)r(yr,ao,{get:Lr[ao],enumerable:!0})},i,c=n({"../../node_modules/.pnpm/nanoid@5.0.1/node_modules/nanoid/url-alphabet/index.js"(){"use strict";i="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"}}),u={};a(u,{customAlphabet:()=>h,customRandom:()=>d,nanoid:()=>g,random:()=>f,urlAlphabet:()=>i});var f,d,h,g,_=n({"../../node_modules/.pnpm/nanoid@5.0.1/node_modules/nanoid/index.browser.js"(){"use strict";c(),f=yr=>crypto.getRandomValues(new Uint8Array(yr)),d=(yr,Lr,ao)=>{let ho=(2<<Math.log(yr.length-1)/Math.LN2)-1,Lo=-~(1.6*ho*Lr/yr.length);return(Yo=Lr)=>{let jo="";for(;;){let Xo=ao(Lo),Ua=Lo;for(;Ua--;)if(jo+=yr[Xo[Ua]&ho]||"",jo.length===Yo)return jo}}},h=(yr,Lr=21)=>d(yr,Lr,f),g=(yr=21)=>crypto.getRandomValues(new Uint8Array(yr)).reduce((Lr,ao)=>(ao&=63,ao<36?Lr+=ao.toString(36):ao<62?Lr+=(ao-26).toString(36).toUpperCase():ao>62?Lr+="-":Lr+="_",Lr),"")}}),p={};a(p,{getCumulativeLayoutShift:()=>Ae,getDomainLookup:()=>U,getFirstContentfulPaint:()=>qe,getFirstInputDelay:()=>wt,getInteractionToNextPaint:()=>kt,getLargestContentfulPaint:()=>ut,getNavigationTimingType:()=>j,getServerTiming:()=>$,getTcpConnection:()=>ee,getTlsNegotiation:()=>te});var y="/api/1/performance/records",O="load",P="visibilitychange",C=["Tab","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp"," ","Enter"],A="SS_MID",S="SS_ANALYTICS_ID",T=3e4,s=/(iPhone|iPod|iPad) OS ((1[0-2])|[2-9])_\d+.*AppleWebKit(?!.*Safari)/i,v=200,m="4.14.0",E=yr=>(...Lr)=>new Promise((ao,ho)=>{try{yr(Lo=>{ao(Lo)},...Lr)}catch(Lo){ho(Lo)}}),I=yr=>E(setTimeout)(yr),L=()=>E(yr=>{const Lr=ao=>{(ao.type==="pagehide"||document.visibilityState==="hidden")&&(yr(ao),removeEventListener("visibilitychange",Lr,!0),removeEventListener("pagehide",Lr,!0))};window.addEventListener("visibilitychange",Lr,!0),window.addEventListener("pagehide",Lr,!0)})(),W=yr=>{document.readyState==="complete"?window.setTimeout(yr,0):window.addEventListener("pageshow",yr,{once:!0})},F=()=>E(W),G=()=>{const yr={entryType:"navigation",startTime:0},Lr=performance.timing;for(const ao in Lr)if(ao!=="navigationStart"&&ao!=="toJSON"){const ho=Math.max(Lr[ao]-Lr.navigationStart,0);yr[ao]=ho}return yr},k=async()=>{await F();const[yr]=window.performance.getEntriesByType("navigation");return yr??G()},x=async yr=>{const ao=(await k())[yr];if(!(typeof ao!="number"||ao<0||ao>2147483647))return Math.round(ao)},M=async()=>(await k()).serverTiming,B=async yr=>{const ao=(await k())[yr];if(typeof ao=="string")return ao},R=(yr,Lr)=>{if(typeof yr=="number"&&typeof Lr=="number"&&yr>=Lr)return yr-Lr},U=yr=>Promise.all([x("domainLookupEnd"),x("domainLookupStart")]).then(([Lr,ao])=>{yr({domainLookup:R(Lr,ao)})}),j=yr=>B("type").then(Lr=>{yr({navigationTimingType:Lr})}),$=yr=>M().then(Lr=>{yr({serverTiming:JSON.stringify(Lr)})}),ee=yr=>Promise.all([x("connectEnd"),x("connectStart")]).then(([Lr,ao])=>{yr({tcpConnection:R(Lr,ao)})}),te=yr=>Promise.all([x("connectEnd"),x("secureConnectionStart")]).then(([Lr,ao])=>{yr({tlsNegotiation:R(Lr,ao)})}),ie,ne,pe,oe,q,J=-1,me=function(yr){addEventListener("pageshow",function(Lr){Lr.persisted&&(J=Lr.timeStamp,yr(Lr))},!0)},re=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},he=function(){var yr=re();return yr&&yr.activationStart||0},Ee=function(yr,Lr){var ao=re(),ho="navigate";return J>=0?ho="back-forward-cache":ao&&(document.prerendering||he()>0?ho="prerender":document.wasDiscarded?ho="restore":ao.type&&(ho=ao.type.replace(/_/g,"-"))),{name:yr,value:Lr===void 0?-1:Lr,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:ho}},fe=function(yr,Lr,ao){try{if(PerformanceObserver.supportedEntryTypes.includes(yr)){var ho=new PerformanceObserver(function(Lo){Promise.resolve().then(function(){Lr(Lo.getEntries())})});return ho.observe(Object.assign({type:yr,buffered:!0},ao||{})),ho}}catch{}},H=function(yr,Lr,ao,ho){var Lo,Yo;return function(jo){Lr.value>=0&&(jo||ho)&&((Yo=Lr.value-(Lo||0))||Lo===void 0)&&(Lo=Lr.value,Lr.delta=Yo,Lr.rating=function(Xo,Ua){return Xo>Ua[1]?"poor":Xo>Ua[0]?"needs-improvement":"good"}(Lr.value,ao),yr(Lr))}},z=function(yr){requestAnimationFrame(function(){return requestAnimationFrame(function(){return yr()})})},_e=function(yr){var Lr=function(ao){ao.type!=="pagehide"&&document.visibilityState!=="hidden"||yr(ao)};addEventListener("visibilitychange",Lr,!0),addEventListener("pagehide",Lr,!0)},ae=function(yr){var Lr=!1;return function(ao){Lr||(yr(ao),Lr=!0)}},ge=-1,Be=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},Ke=function(yr){document.visibilityState==="hidden"&&ge>-1&&(ge=yr.type==="visibilitychange"?yr.timeStamp:0,ye())},He=function(){addEventListener("visibilitychange",Ke,!0),addEventListener("prerenderingchange",Ke,!0)},ye=function(){removeEventListener("visibilitychange",Ke,!0),removeEventListener("prerenderingchange",Ke,!0)},Le=function(){return ge<0&&(ge=Be(),He(),me(function(){setTimeout(function(){ge=Be(),He()},0)})),{get firstHiddenTime(){return ge}}},Ue=function(yr){document.prerendering?addEventListener("prerenderingchange",function(){return yr()},!0):yr()},Xe=[1800,3e3],Fe=function(yr,Lr){Lr=Lr||{},Ue(function(){var ao,ho=Le(),Lo=Ee("FCP"),Yo=fe("paint",function(jo){jo.forEach(function(Xo){Xo.name==="first-contentful-paint"&&(Yo.disconnect(),Xo.startTime<ho.firstHiddenTime&&(Lo.value=Math.max(Xo.startTime-he(),0),Lo.entries.push(Xo),ao(!0)))})});Yo&&(ao=H(yr,Lo,Xe,Lr.reportAllChanges),me(function(jo){Lo=Ee("FCP"),ao=H(yr,Lo,Xe,Lr.reportAllChanges),z(function(){Lo.value=performance.now()-jo.timeStamp,ao(!0)})}))})},ht=[.1,.25],Ne=function(yr,Lr){Lr=Lr||{},Fe(ae(function(){var ao,ho=Ee("CLS",0),Lo=0,Yo=[],jo=function(Ua){Ua.forEach(function(ds){if(!ds.hadRecentInput){var us=Yo[0],ys=Yo[Yo.length-1];Lo&&ds.startTime-ys.startTime<1e3&&ds.startTime-us.startTime<5e3?(Lo+=ds.value,Yo.push(ds)):(Lo=ds.value,Yo=[ds])}}),Lo>ho.value&&(ho.value=Lo,ho.entries=Yo,ao())},Xo=fe("layout-shift",jo);Xo&&(ao=H(yr,ho,ht,Lr.reportAllChanges),_e(function(){jo(Xo.takeRecords()),ao(!0)}),me(function(){Lo=0,ho=Ee("CLS",0),ao=H(yr,ho,ht,Lr.reportAllChanges),z(function(){return ao()})}),setTimeout(ao,0))}))},Ce={passive:!0,capture:!0},we=new Date,$e=function(yr,Lr){ie||(ie=Lr,ne=yr,pe=new Date,Ie(removeEventListener),Ot())},Ot=function(){if(ne>=0&&ne<pe-we){var yr={entryType:"first-input",name:ie.type,target:ie.target,cancelable:ie.cancelable,startTime:ie.timeStamp,processingStart:ie.timeStamp+ne};oe.forEach(function(Lr){Lr(yr)}),oe=[]}},Pt=function(yr){if(yr.cancelable){var Lr=(yr.timeStamp>1e12?new Date:performance.now())-yr.timeStamp;yr.type=="pointerdown"?function(ao,ho){var Lo=function(){$e(ao,ho),jo()},Yo=function(){jo()},jo=function(){removeEventListener("pointerup",Lo,Ce),removeEventListener("pointercancel",Yo,Ce)};addEventListener("pointerup",Lo,Ce),addEventListener("pointercancel",Yo,Ce)}(Lr,yr):$e(Lr,yr)}},Ie=function(yr){["mousedown","keydown","touchstart","pointerdown"].forEach(function(Lr){return yr(Lr,Pt,Ce)})},Bt=[100,300],mt=function(yr,Lr){Lr=Lr||{},Ue(function(){var ao,ho=Le(),Lo=Ee("FID"),Yo=function(Ua){Ua.startTime<ho.firstHiddenTime&&(Lo.value=Ua.processingStart-Ua.startTime,Lo.entries.push(Ua),ao(!0))},jo=function(Ua){Ua.forEach(Yo)},Xo=fe("first-input",jo);ao=H(yr,Lo,Bt,Lr.reportAllChanges),Xo&&_e(ae(function(){jo(Xo.takeRecords()),Xo.disconnect()})),Xo&&me(function(){var Ua;Lo=Ee("FID"),ao=H(yr,Lo,Bt,Lr.reportAllChanges),oe=[],ne=-1,ie=null,Ie(addEventListener),Ua=Yo,oe.push(Ua),Ot()})})},rt=0,ce=1/0,Re=0,nt=function(yr){yr.forEach(function(Lr){Lr.interactionId&&(ce=Math.min(ce,Lr.interactionId),Re=Math.max(Re,Lr.interactionId),rt=Re?(Re-ce)/7+1:0)})},st=function(){return q?rt:performance.interactionCount||0},vt=function(){"interactionCount"in performance||q||(q=fe("event",nt,{type:"event",buffered:!0,durationThreshold:0}))},ze=[200,500],It=0,on=function(){return st()-It},Pn=[],Yn={},Ln=function(yr){var Lr=Pn[Pn.length-1],ao=Yn[yr.interactionId];if(ao||Pn.length<10||yr.duration>Lr.latency){if(ao)ao.entries.push(yr),ao.latency=Math.max(ao.latency,yr.duration);else{var ho={id:yr.interactionId,latency:yr.duration,entries:[yr]};Yn[ho.id]=ho,Pn.push(ho)}Pn.sort(function(Lo,Yo){return Yo.latency-Lo.latency}),Pn.splice(10).forEach(function(Lo){delete Yn[Lo.id]})}},bn=function(yr,Lr){Lr=Lr||{},Ue(function(){var ao;vt();var ho,Lo=Ee("INP"),Yo=function(Xo){Xo.forEach(function(us){us.interactionId&&Ln(us),us.entryType==="first-input"&&!Pn.some(function(ys){return ys.entries.some(function(Ys){return us.duration===Ys.duration&&us.startTime===Ys.startTime})})&&Ln(us)});var Ua,ds=(Ua=Math.min(Pn.length-1,Math.floor(on()/50)),Pn[Ua]);ds&&ds.latency!==Lo.value&&(Lo.value=ds.latency,Lo.entries=ds.entries,ho())},jo=fe("event",Yo,{durationThreshold:(ao=Lr.durationThreshold)!==null&&ao!==void 0?ao:40});ho=H(yr,Lo,ze,Lr.reportAllChanges),jo&&("PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&jo.observe({type:"first-input",buffered:!0}),_e(function(){Yo(jo.takeRecords()),Lo.value<0&&on()>0&&(Lo.value=0,Lo.entries=[]),ho(!0)}),me(function(){Pn=[],It=st(),Lo=Ee("INP"),ho=H(yr,Lo,ze,Lr.reportAllChanges)}))})},ir=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},Zn=function(yr){var Lr=yr.nodeName;return yr.nodeType===1?Lr.toLowerCase():Lr.toUpperCase().replace(/^#/,"")},$n=function(yr,Lr){var ao="";try{for(;yr&&yr.nodeType!==9;){var ho=yr,Lo=ho.id?"#"+ho.id:Zn(ho)+(ho.classList&&ho.classList.value&&ho.classList.value.trim()&&ho.classList.value.trim().length?"."+ho.classList.value.trim().replace(/\s+/g,"."):"");if(ao.length+Lo.length>(Lr||100)-1)return ao||Lo;if(ao=ao?Lo+">"+ao:Lo,ho.id)break;yr=ho.parentNode}}catch{}return ao},jt=-1,Rn=function(){return jt},jn=function(yr){addEventListener("pageshow",function(Lr){Lr.persisted&&(jt=Lr.timeStamp,yr(Lr))},!0)},Tn=function(){var yr=ir();return yr&&yr.activationStart||0},Nn=function(yr,Lr){var ao=ir(),ho="navigate";return Rn()>=0?ho="back-forward-cache":ao&&(document.prerendering||Tn()>0?ho="prerender":document.wasDiscarded?ho="restore":ao.type&&(ho=ao.type.replace(/_/g,"-"))),{name:yr,value:Lr===void 0?-1:Lr,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:ho}},cn=function(yr,Lr,ao){try{if(PerformanceObserver.supportedEntryTypes.includes(yr)){var ho=new PerformanceObserver(function(Lo){Promise.resolve().then(function(){Lr(Lo.getEntries())})});return ho.observe(Object.assign({type:yr,buffered:!0},ao||{})),ho}}catch{}},or=function(yr,Lr,ao,ho){var Lo,Yo;return function(jo){Lr.value>=0&&(jo||ho)&&((Yo=Lr.value-(Lo||0))||Lo===void 0)&&(Lo=Lr.value,Lr.delta=Yo,Lr.rating=function(Xo,Ua){return Xo>Ua[1]?"poor":Xo>Ua[0]?"needs-improvement":"good"}(Lr.value,ao),yr(Lr))}},qn=function(yr){requestAnimationFrame(function(){return requestAnimationFrame(function(){return yr()})})},Hr=function(yr){var Lr=function(ao){ao.type!=="pagehide"&&document.visibilityState!=="hidden"||yr(ao)};addEventListener("visibilitychange",Lr,!0),addEventListener("pagehide",Lr,!0)},fo=function(yr){var Lr=!1;return function(ao){Lr||(yr(ao),Lr=!0)}},Jr=-1,ro=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},Xt=function(yr){document.visibilityState==="hidden"&&Jr>-1&&(Jr=yr.type==="visibilitychange"?yr.timeStamp:0,At())},Je=function(){addEventListener("visibilitychange",Xt,!0),addEventListener("prerenderingchange",Xt,!0)},At=function(){removeEventListener("visibilitychange",Xt,!0),removeEventListener("prerenderingchange",Xt,!0)},xt=function(){return Jr<0&&(Jr=ro(),Je(),jn(function(){setTimeout(function(){Jr=ro(),Je()},0)})),{get firstHiddenTime(){return Jr}}},Qt=function(yr){document.prerendering?addEventListener("prerenderingchange",function(){return yr()},!0):yr()},qt=null,Te=[2500,4e3],Gt={},un=function(yr,Lr){(function(ao,ho){ho=ho||{},Qt(function(){var Lo,Yo=xt(),jo=Nn("LCP"),Xo=function(us){var ys=us[us.length-1];ys&&ys.startTime<Yo.firstHiddenTime&&(jo.value=Math.max(ys.startTime-Tn(),0),jo.entries=[ys],Lo())},Ua=cn("largest-contentful-paint",Xo);if(Ua){Lo=or(ao,jo,Te,ho.reportAllChanges);var ds=fo(function(){Gt[jo.id]||(Xo(Ua.takeRecords()),Ua.disconnect(),Gt[jo.id]=!0,Lo(!0))});["keydown","click"].forEach(function(us){addEventListener(us,function(){return setTimeout(ds,0)},!0)}),Hr(ds),jn(function(us){jo=Nn("LCP"),Lo=or(ao,jo,Te,ho.reportAllChanges),qn(function(){jo.value=performance.now()-us.timeStamp,Gt[jo.id]=!0,Lo(!0)})})}})})(function(ao){(function(ho){if(ho.entries.length){var Lo=ir();if(Lo){var Yo=Lo.activationStart||0,jo=ho.entries[ho.entries.length-1],Xo=jo.url&&performance.getEntriesByType("resource").filter(function(Gs){return Gs.name===jo.url})[0],Ua=Math.max(0,Lo.responseStart-Yo),ds=Math.max(Ua,Xo?(Xo.requestStart||Xo.startTime)-Yo:0),us=Math.max(ds,Xo?Xo.responseEnd-Yo:0),ys=Math.max(us,jo?jo.startTime-Yo:0),Ys={element:$n(jo.element),timeToFirstByte:Ua,resourceLoadDelay:ds-Ua,resourceLoadTime:us-ds,elementRenderDelay:ys-us,navigationEntry:Lo,lcpEntry:jo};return jo.url&&(Ys.url=jo.url),Xo&&(Ys.lcpResourceEntry=Xo),void(ho.attribution=Ys)}}ho.attribution={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadTime:0,elementRenderDelay:ho.value}})(ao),yr(ao)},Lr)},Vt=yr=>{const Lr=yr.getAttribute("elementtiming");if(Lr!==null)return Lr;const ao=yr.tagName;if(ao==="IMG"){const ho=yr.getAttribute("data-loader");if(ho!==null)return`unknown-image-component-${ho}`;if(yr.getAttribute("data-src")!==null)return"unknown-imageloader"}return`unknown-${ao}`},Dn=yr=>{var Yo;let Lr="";Lr+=yr.tagName;let ao=yr,ho=-1;do ao=ao.previousElementSibling,ho+=1;while(ao!==null);Lr+="["+ho+"]";const Lo=(Yo=yr.classList.value)==null?void 0:Yo.trim().replace(/\s+/g,".");return Lo&&(Lr+="."+Lo),Lr},Wt=yr=>yr.substring(0,v-3)+"...",Pe=yr=>{let Lr=Dn(yr);if(Lr.length>v)return Wt(Lr);let ao=yr.parentElement;for(;ao!==null&&ao.tagName!=="BODY";){const ho="<"+Dn(ao);if(Lr+=ho,Lr.length>v)return Wt(Lr);ao=ao.parentElement}return Lr},xe=yr=>{var ao;const Lr=(ao=yr.attribution.lcpEntry)==null?void 0:ao.element;return{largestContentfulPaint:Math.round(yr.value),lcpElementName:Lr?Vt(Lr):void 0,lcpElementPath:Lr?Pe(Lr):void 0,lcpElementRenderDelay:Math.round(yr.attribution.elementRenderDelay),lcpResourceLoadDelay:Math.round(yr.attribution.resourceLoadDelay),lcpResourceLoadTime:Math.round(yr.attribution.resourceLoadTime),lcpTtfb:Math.round(yr.attribution.timeToFirstByte)}},Ae=yr=>{Ne(Lr=>{yr({cumulativeLayoutShift:Lr.value})},{reportAllChanges:!0})},qe=yr=>{Fe(Lr=>{yr({firstContentfulPaint:Math.round(Lr.value)})})},wt=yr=>{mt(Lr=>{yr({firstInputDelay:Math.round(Lr.value)})})},kt=yr=>{bn(Lr=>{yr({interactionToNextPaint:Math.round(Lr.value)})})},ut=yr=>{un(Lr=>{yr(xe(Lr))})},Ft=["connectEnd","connectStart","decodedBodySize","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","encodedBodySize","fetchStart","loadEventEnd","loadEventStart","redirectCount","redirectEnd","redirectStart","responseStart","responseEnd","responseStatus","secureConnectionStart","transferSize","unloadEventEnd","unloadEventStart","workerStart"],tn=["initiatorType","nextHopProtocol"],In=(yr,Lr)=>async ao=>{var ho,Lo;try{Lr({[ao]:await yr(ao)})}catch(Yo){(Lo=(ho=window==null?void 0:window.SQUARESPACE_SENTRY)==null?void 0:ho.captureException)==null||Lo.call(ho,Yo)}};function rr(yr){Object.values(p).forEach(async Lr=>{var ao,ho;try{await Lr(yr)}catch(Lo){(ho=(ao=window==null?void 0:window.SQUARESPACE_SENTRY)==null?void 0:ao.captureException)==null||ho.call(ao,Lo)}}),Ft.forEach(In(x,yr)),tn.forEach(In(B,yr))}var Sr=["more","less","custom"],Yr=()=>Sr.find(yr=>window.matchMedia(`prefers-contrast: ${yr}`).matches)??"no-preference",Pr=()=>{var yr;return{forceColors:window.matchMedia("(forced-colors: active)").matches,networkInformationType:(yr=navigator.connection)==null?void 0:yr.type,prefersContrast:Yr(),prefersReducedMotion:window.matchMedia("(prefers-reduced-motion: reduce)").matches,primaryInputHasHover:window.matchMedia("(hover: hover)").matches,keyboardUsage:!1}},Mn=yr=>{const Lr=Pr(),ao=()=>{yr(Lr,"a11y")},ho=Yo=>{var jo;["INPUT","TEXTAREA"].includes((jo=Yo.target)==null?void 0:jo.tagName)||!C.includes(Yo.key)||(Lr.keyboardUsage=!0,document.removeEventListener("keydown",ho))};document.addEventListener("keydown",ho);const Lo=()=>{document.visibilityState==="hidden"&&(ao(),document.removeEventListener("keydown",ho),document.removeEventListener(P,Lo))};document.addEventListener(P,Lo)};function sr(yr){const Lr=new RegExp(`(^| )${yr}=([^;]+)`),ao=document.cookie.match(Lr);return ao?ao[2]:""}function Ar(){return!!(window.PerformanceMeasure&&window.PerformanceMark)}function vr(){if(!Object.prototype.hasOwnProperty.call(window,"PerformanceObserver"))return!1;try{const yr=new window.PerformanceObserver(()=>null);yr.observe({entryTypes:["mark"]}),yr.disconnect()}catch{return!1}return!0}function qr(){var yr;return typeof((yr=window.navigator)==null?void 0:yr.sendBeacon)=="function"&&!s.test(window.navigator.userAgent)}var Dr=yr=>{const Lr=Number(yr);return Number.isNaN(Lr)?void 0:Lr};function eo(yr={}){var Lr,ao,ho,Lo,Yo,jo,Xo;return{context:yr,analyticsId:sr(S),marketingId:sr(A),memberId:(ho=(ao=(Lr=window.Static)==null?void 0:Lr.SQUARESPACE_CONTEXT)==null?void 0:ao.authenticatedAccount)==null?void 0:ho.id,version:m,downlink:Dr((Lo=navigator.connection)==null?void 0:Lo.downlink),effectiveType:(Yo=navigator.connection)==null?void 0:Yo.effectiveType,rtt:Dr((jo=navigator.connection)==null?void 0:jo.rtt),saveData:Number(((Xo=navigator.connection)==null?void 0:Xo.saveData)||0),deliveryType:qr()?"beacon":"xhr",devicePixelRatio:window.devicePixelRatio,screenHeight:window.screen.height,screenWidth:window.screen.width,viewportHeight:window.innerHeight,viewportWidth:window.innerWidth,deviceMemory:Dr(navigator.deviceMemory),hardwareConcurrency:Dr(navigator.hardwareConcurrency),hash:window.location.hash||"",hostname:window.location.hostname||"",pathname:window.location.pathname||"/"}}var Vo=async yr=>{const Lr=eo(yr),ao={};return rr(ho=>{Object.assign(ao,ho)}),await Promise.race([I(6e4),L()]),{...Lr,...ao}},Bn=async(yr,Lr)=>{const ao=await Vo(Lr);yr(ao,"page_speed")},ar=["media-www.sqspcdn.com","images.squarespace-cdn.com","static1.squarespace.com"],rn=yr=>ar.some(Lr=>yr.includes(Lr)),Rt=yr=>yr.hasAttribute("data-loader")?2:yr.hasAttribute("data-src")?1:0,Qe=(yr,Lr)=>{var ho;if(yr.hasAttribute("data-image-resolution"))return Number((ho=yr.getAttribute("data-image-resolution"))==null?void 0:ho.replace("w",""));const ao=Lr.indexOf("format=");return ao!==-1?Number(Lr.slice(ao+7).replace(/w.*/,"")):NaN},Ye=(yr,Lr,ao)=>{if(ao===1&&yr instanceof HTMLImageElement&&yr.naturalHeight===0){const ho=document.querySelector(`div[style*="${Lr}"]`);if(ho)return ho}return yr},yt=yr=>{if(yr instanceof HTMLImageElement){const{naturalHeight:Lo,naturalWidth:Yo,width:jo,height:Xo}=yr;return{naturalHeight:Lo,naturalWidth:Yo,width:jo,height:Xo}}const Lr=yr.getBoundingClientRect(),ao=Math.floor(Lr.width);return{naturalHeight:Math.floor(Lr.height),naturalWidth:ao}},Ze=async(yr,Lr)=>{const ao=Qe(Lr,yr.name),ho=Rt(Lr),Lo=Lr.getAttribute("data-loader"),Yo=Lr.getAttribute("elementtiming"),{serverTiming:jo,workerTiming:Xo,...Ua}=yr.toJSON();for(const[ys,Ys]of Object.entries(Ua))typeof Ys=="number"&&(Ua[ys]=Math.floor(Ys));const ds=Ye(Lr,yr.name,ho),us=yt(ds);return new Promise(ys=>{const Ys=new IntersectionObserver(Gs=>{Gs.forEach(xs=>{if(xs.target===ds)return Ys.disconnect(),ys({visibleOnLoad:xs.isIntersecting,observationTime:Math.floor(xs.time),intersectionRatio:xs.intersectionRatio,squarespaceSize:ao,imageType:ho,imageLoaderType:Lo,elementTiming:Yo,serverTiming:jo||[],...us,...Ua})})});Ys.observe(ds)})},Mt=async({resource:yr,deliverMetrics:Lr})=>{if(!(yr instanceof PerformanceResourceTiming&&yr.initiatorType==="img")||!rn(yr.name))return;const ao=yr.name.replace(/\?.*/,""),ho=Array.from(document.querySelectorAll(`img[src="${yr.name}"], img[data-src*="${ao}"], img[srcset*="${yr.name}"]`));if(document.querySelectorAll(`picture > source[srcset*="${yr.name}"]`).forEach(Yo=>{const jo=Yo.parentElement;jo!==null&&ho.push(jo.lastElementChild)}),ho.length!==1)return;const Lo=await Ze(yr,ho[0]);Lr(Lo,"image")},ot=async yr=>{if(!vr())return;const Lr=ho=>Mt({resource:ho,deliverMetrics:yr});performance.getEntriesByType("resource").forEach(Lr),new PerformanceObserver(ho=>{ho.getEntries().forEach(Lr)}).observe({entryTypes:["resource"]})},et,St=({spanName:yr,tracer:Lr,startTime:ao,spanAttributes:ho={}})=>{et===void 0&&(et=new Map);const Lo=Lr.startSpan(yr,{startTime:ao});Lo.setAttributes(ho),et.set(yr,Lo)},Ht=({spanName:yr,spanAttributes:Lr={},updateName:ao})=>{if(et===void 0||!et.has(yr))return;const ho=et.get(yr);ho.setAttributes(Lr),ao!==void 0&&ho.updateName(ao),ho.end(),et.delete(yr)},er="rum-",Mr=yr=>{var Lr;typeof((Lr=window==null?void 0:window.SQUARESPACE_SENTRY)==null?void 0:Lr.captureException)=="function"?window.SQUARESPACE_SENTRY.captureException(yr):console.warn(`@sqs/rum-collector: user timing exception: ${yr}`)};function mn(yr,Lr={}){try{if(!br())return;const ao=er+yr;window.performance.clearMarks(ao);const ho=window.performance.mark(ao,{detail:Lr.detail,startTime:Lr.startTime});if(Lr.tracer!==void 0){const[Lo]=window.performance.getEntriesByName(ao,"mark").slice(-1);St({spanName:ao,tracer:Lr.tracer,startTime:Lo.startTime,spanAttributes:Lr.spanAttributes})}return ho}catch(ao){Mr(ao)}}function Un(yr,Lr={requireStart:!1}){try{if(!(br()&&hr()))return;const ao=er+yr,ho={detail:Lr.detail,duration:Lr.duration};if(Lr.start===void 0?window.performance.getEntriesByName(ao,"mark").length>0&&(ho.start=ao):typeof Lr.start=="string"?ho.start=er+Lr.start:ho.start=Lr.start,ho.end=typeof Lr.end=="string"?er+Lr.end:Lr.end,Lr.requireStart&&typeof ho.start!="string")return;if(Lr.tracer!==void 0){const Yo={measureName:ao,...Lr.spanAttributes};typeof ho.start=="number"?(St({spanName:ao,tracer:Lr.tracer,startTime:ho.start}),Ht({spanName:ao,spanAttributes:Yo})):(window.performance.getEntriesByName(ho.start??ao,"mark").length===0&&St({spanName:ho.start??ao,tracer:Lr.tracer,startTime:0}),Ht({spanName:ho.start??ao,spanAttributes:Yo,updateName:ho.start!==ao?ao:void 0}))}return Kr(ao,ho),io(ao)}catch(ao){Mr(ao)}}function hr(){return"performance"in window&&"getEntries"in window.performance&&"getEntriesByType"in window.performance&&"getEntriesByName"in window.performance}function br(){return"mark"in window.performance&&"measure"in window.performance}function io(yr){const Lr=window.performance.getEntriesByName(yr,"measure");return Lr[Lr.length-1]}function Kr(yr,Lr){try{window.performance.measure(yr,Lr)}catch{const ho=typeof Lr.start=="string"?Lr.start:yr,Lo=typeof Lr.end=="string"?Lr.end:void 0;try{window.performance.measure(yr,ho,Lo)}catch(Yo){if(!(Yo instanceof DOMException))throw Yo;try{window.performance.measure(yr,"navigationStart")}catch(jo){if(!(jo instanceof DOMException))throw jo;window.performance.measure(yr)}}}}function xo(yr){return typeof yr=="string"&&yr.substring(0,4)===er}var Ho=new Set,bo=yr=>{if(!Ar())return;const Lr=ao=>{ao.map(Lo=>Lo.entryType==="measure"?{duration:Math.floor(Lo.duration),detail:Lo.detail||null,startTime:Math.floor(Lo.startTime),name:Lo.name}:{}).forEach(Lo=>{if(Lo.name&&!xo(Lo.name))return;const Yo=`${Lo.name}|${Lo.duration}`;Ho.has(Yo)||(yr(Lo,"user"),Ho.add(Yo))})};Lr(window.performance.getEntriesByType("measure")),vr()?new window.PerformanceObserver(ho=>Lr(ho.getEntries())).observe({entryTypes:["measure"]}):document.addEventListener(P,()=>{document.visibilityState==="hidden"&&Lr(window.performance.getEntriesByType("measure"))})},Ea,Ia=[],Da=yr=>{Ia.push(yr)};function Za(yr,Lr){try{return navigator.sendBeacon(yr,Lr)}catch(ao){if(ao instanceof TypeError&&ao.message==="Illegal invocation")return!1;throw ao}}function Xa(yr,Lr){if(qr()&&Za(yr,Lr))return;const ao=new XMLHttpRequest;ao.open("POST",yr,!0),ao.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),ao.send(Lr)}function ba(yr){if(Ia.length){const Lr=JSON.stringify(Ia);Xa(yr,Lr),Ia=[]}}function ns(yr){window.addEventListener(O,()=>{Ea=window.setTimeout(()=>ba(yr),T)}),document.addEventListener(P,()=>{document.visibilityState==="hidden"&&(window.clearTimeout(Ea),ba(yr))})}function Ja(yr){Da({raw:!0,...yr})}var Is=(yr,Lr)=>(ao,ho)=>{const Lo={app:yr,data:ao,event:ho,pageLoadId:Lr,ts:Date.now()};Ja(Lo)},Vr=yr=>(...Lr)=>{yr&&yr(...Lr)},Qr=yr=>({appName:yr.appName||"",context:yr.context||{},enabled:typeof yr.enabled=="boolean"?yr.enabled:!0,serviceURL:yr.serviceURL||y,captureException:Vr(yr.captureException)});async function To(yr){const Lr=Qr(yr);if(!Lr.enabled)return;const ao=(await Promise.resolve().then(()=>(_(),u))).nanoid();try{const ho=Is(Lr.appName,ao);Bn(ho,Lr.context),bo(ho),ot(ho),Mn(ho),ns(Lr.serviceURL)}catch(ho){Lr.captureException(ho,{pageLoadId:ao,parsedOptions:Lr})}}var xr={action:"load",actor:"user",event_owner_team:"web_performance",event_source:"web",object_type:"website"},uo=()=>{const yr=/^qa\d+.sqsp.net/g,Lr=/^stage.sqsp.net/g,ao=/(dev.squarespace.net|localhost|127.0.0.1|0.0.0.0)/g,ho=window.location.hostname.substr(window.location.hostname.indexOf(".")+1);return Lr.test(ho)||yr.test(ho)?"staging":ao.test(ho)?"dev":"prod"},Mo=(yr,Lr=uo())=>new yr({customSchemaName:"Performance",sourceEnvironment:Lr},xr),go=Object.freeze({cumulativeLayoutShift:"cumulative_layout_shift",decodedBodySize:"decoded_body_size_bytes",domContentLoadedEventEnd:"dom_content_loaded_event_end_ms",domContentLoadedEventStart:"dom_content_loaded_event_start_ms",domainLookup:"domain_lookup_ms",encodedBodySize:"encoded_body_size_bytes",firstContentfulPaint:"first_contentful_paint_ms",firstInputDelay:"first_input_delay_ms",interactionToNextPaint:"interaction_to_next_paint_ms",largestContentfulPaint:"largest_contentful_paint_ms",loadEventEnd:"load_event_end_ms",loadEventStart:"load_event_start_ms",responseStart:"response_start_ms",tcpConnection:"tcp_connection_ms",tlsNegotiation:"tls_negotiation_ms"}),ea=async yr=>{const Lr={};rr(ao=>{Object.entries(ao).forEach(([ho,Lo])=>{Object.prototype.hasOwnProperty.call(go,ho)&&(Lr[go[ho]]=Lo)})}),await Promise.race([I(6e4),L()]),yr(Lr)};function ha(...yr){return console.warn("@sqs/rum-collector default export is deprecated. Use named export `init` instead."),To(...yr)}},858579:function(b,l,e){"use strict";e.d(l,{Js:()=>a,QE:()=>Ce,Vk:()=>U,ZP:()=>Ot,aS:()=>Fe,mv:()=>o,o$:()=>n,pV:()=>$,vI:()=>ee,vV:()=>O});function r(Pt){for(var Ie=arguments.length,Bt=Array(Ie>1?Ie-1:0),mt=1;mt<Ie;mt++)Bt[mt-1]=arguments[mt];if(0)var rt,ce;throw Error("[Immer] minified error nr: "+Pt+(Bt.length?" "+Bt.map(function(Re){return"'"+Re+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(Pt){return!!Pt&&!!Pt[H]}function n(Pt){var Ie;return!!Pt&&(function(Bt){if(!Bt||typeof Bt!="object")return!1;var mt=Object.getPrototypeOf(Bt);if(mt===null)return!0;var rt=Object.hasOwnProperty.call(mt,"constructor")&&mt.constructor;return rt===Object||typeof rt=="function"&&Function.toString.call(rt)===ae}(Pt)||Array.isArray(Pt)||!!Pt[fe]||!!(!((Ie=Pt.constructor)===null||Ie===void 0)&&Ie[fe])||g(Pt)||_(Pt))}function a(Pt){return o(Pt)||r(23,Pt),Pt[H].t}function i(Pt,Ie,Bt){Bt===void 0&&(Bt=!1),c(Pt)===0?(Bt?Object.keys:ge)(Pt).forEach(function(mt){Bt&&typeof mt=="symbol"||Ie(mt,Pt[mt],Pt)}):Pt.forEach(function(mt,rt){return Ie(rt,mt,Pt)})}function c(Pt){var Ie=Pt[H];return Ie?Ie.i>3?Ie.i-4:Ie.i:Array.isArray(Pt)?1:g(Pt)?2:_(Pt)?3:0}function u(Pt,Ie){return c(Pt)===2?Pt.has(Ie):Object.prototype.hasOwnProperty.call(Pt,Ie)}function f(Pt,Ie){return c(Pt)===2?Pt.get(Ie):Pt[Ie]}function d(Pt,Ie,Bt){var mt=c(Pt);mt===2?Pt.set(Ie,Bt):mt===3?(Pt.delete(Ie),Pt.add(Bt)):Pt[Ie]=Bt}function h(Pt,Ie){return Pt===Ie?Pt!==0||1/Pt==1/Ie:Pt!=Pt&&Ie!=Ie}function g(Pt){return me&&Pt instanceof Map}function _(Pt){return re&&Pt instanceof Set}function p(Pt){return Pt.o||Pt.t}function y(Pt){if(Array.isArray(Pt))return Array.prototype.slice.call(Pt);var Ie=Be(Pt);delete Ie[H];for(var Bt=ge(Ie),mt=0;mt<Bt.length;mt++){var rt=Bt[mt],ce=Ie[rt];ce.writable===!1&&(ce.writable=!0,ce.configurable=!0),(ce.get||ce.set)&&(Ie[rt]={configurable:!0,writable:!0,enumerable:ce.enumerable,value:Pt[rt]})}return Object.create(Object.getPrototypeOf(Pt),Ie)}function O(Pt,Ie){return Ie===void 0&&(Ie=!1),C(Pt)||o(Pt)||!n(Pt)||(c(Pt)>1&&(Pt.set=Pt.add=Pt.clear=Pt.delete=P),Object.freeze(Pt),Ie&&i(Pt,function(Bt,mt){return O(mt,!0)},!0)),Pt}function P(){r(2)}function C(Pt){return Pt==null||typeof Pt!="object"||Object.isFrozen(Pt)}function A(Pt){var Ie=Ke[Pt];return Ie||r(18,Pt),Ie}function S(Pt,Ie){Ke[Pt]||(Ke[Pt]=Ie)}function T(){return q}function s(Pt,Ie){Ie&&(A("Patches"),Pt.u=[],Pt.s=[],Pt.v=Ie)}function v(Pt){m(Pt),Pt.p.forEach(I),Pt.p=null}function m(Pt){Pt===q&&(q=Pt.l)}function E(Pt){return q={p:[],l:q,h:Pt,m:!0,_:0}}function I(Pt){var Ie=Pt[H];Ie.i===0||Ie.i===1?Ie.j():Ie.O=!0}function L(Pt,Ie){Ie._=Ie.p.length;var Bt=Ie.p[0],mt=Pt!==void 0&&Pt!==Bt;return Ie.h.g||A("ES5").S(Ie,Pt,mt),mt?(Bt[H].P&&(v(Ie),r(4)),n(Pt)&&(Pt=W(Ie,Pt),Ie.l||G(Ie,Pt)),Ie.u&&A("Patches").M(Bt[H].t,Pt,Ie.u,Ie.s)):Pt=W(Ie,Bt,[]),v(Ie),Ie.u&&Ie.v(Ie.u,Ie.s),Pt!==Ee?Pt:void 0}function W(Pt,Ie,Bt){if(C(Ie))return Ie;var mt=Ie[H];if(!mt)return i(Ie,function(ce,Re){return F(Pt,mt,Ie,ce,Re,Bt)},!0),Ie;if(mt.A!==Pt)return Ie;if(!mt.P)return G(Pt,mt.t,!0),mt.t;if(!mt.I){mt.I=!0,mt.A._--;var rt=mt.i===4||mt.i===5?mt.o=y(mt.k):mt.o;i(mt.i===3?new Set(rt):rt,function(ce,Re){return F(Pt,mt,rt,ce,Re,Bt)}),G(Pt,rt,!1),Bt&&Pt.u&&A("Patches").R(mt,Bt,Pt.u,Pt.s)}return mt.o}function F(Pt,Ie,Bt,mt,rt,ce){if(o(rt)){var Re=W(Pt,rt,ce&&Ie&&Ie.i!==3&&!u(Ie.D,mt)?ce.concat(mt):void 0);if(d(Bt,mt,Re),!o(Re))return;Pt.m=!1}if(n(rt)&&!C(rt)){if(!Pt.h.F&&Pt._<1)return;W(Pt,rt),Ie&&Ie.A.l||G(Pt,rt)}}function G(Pt,Ie,Bt){Bt===void 0&&(Bt=!1),Pt.h.F&&Pt.m&&O(Ie,Bt)}function k(Pt,Ie){var Bt=Pt[H];return(Bt?p(Bt):Pt)[Ie]}function x(Pt,Ie){if(Ie in Pt)for(var Bt=Object.getPrototypeOf(Pt);Bt;){var mt=Object.getOwnPropertyDescriptor(Bt,Ie);if(mt)return mt;Bt=Object.getPrototypeOf(Bt)}}function M(Pt){Pt.P||(Pt.P=!0,Pt.l&&M(Pt.l))}function B(Pt){Pt.o||(Pt.o=y(Pt.t))}function R(Pt,Ie,Bt){var mt=g(Ie)?A("MapSet").N(Ie,Bt):_(Ie)?A("MapSet").T(Ie,Bt):Pt.g?function(rt,ce){var Re=Array.isArray(rt),nt={i:Re?1:0,A:ce?ce.A:T(),P:!1,I:!1,D:{},l:ce,t:rt,k:null,o:null,j:null,C:!1},st=nt,vt=He;Re&&(st=[nt],vt=ye);var ze=Proxy.revocable(st,vt),It=ze.revoke,on=ze.proxy;return nt.k=on,nt.j=It,on}(Ie,Bt):A("ES5").J(Ie,Bt);return(Bt?Bt.A:T()).p.push(mt),mt}function U(Pt){return o(Pt)||r(22,Pt),function Ie(Bt){if(!n(Bt))return Bt;var mt,rt=Bt[H],ce=c(Bt);if(rt){if(!rt.P&&(rt.i<4||!A("ES5").K(rt)))return rt.t;rt.I=!0,mt=j(Bt,ce),rt.I=!1}else mt=j(Bt,ce);return i(mt,function(Re,nt){rt&&f(rt.t,Re)===nt||d(mt,Re,Ie(nt))}),ce===3?new Set(mt):mt}(Pt)}function j(Pt,Ie){switch(Ie){case 2:return new Map(Pt);case 3:return Array.from(Pt)}return y(Pt)}function $(){function Pt(Re,nt){var st=ce[Re];return st?st.enumerable=nt:ce[Re]=st={configurable:!0,enumerable:nt,get:function(){var vt=this[H];return He.get(vt,Re)},set:function(vt){var ze=this[H];He.set(ze,Re,vt)}},st}function Ie(Re){for(var nt=Re.length-1;nt>=0;nt--){var st=Re[nt][H];if(!st.P)switch(st.i){case 5:mt(st)&&M(st);break;case 4:Bt(st)&&M(st)}}}function Bt(Re){for(var nt=Re.t,st=Re.k,vt=ge(st),ze=vt.length-1;ze>=0;ze--){var It=vt[ze];if(It!==H){var on=nt[It];if(on===void 0&&!u(nt,It))return!0;var Pn=st[It],Yn=Pn&&Pn[H];if(Yn?Yn.t!==on:!h(Pn,on))return!0}}var Ln=!!nt[H];return vt.length!==ge(nt).length+(Ln?0:1)}function mt(Re){var nt=Re.k;if(nt.length!==Re.t.length)return!0;var st=Object.getOwnPropertyDescriptor(nt,nt.length-1);if(st&&!st.get)return!0;for(var vt=0;vt<nt.length;vt++)if(!nt.hasOwnProperty(vt))return!0;return!1}function rt(Re){Re.O&&r(3,JSON.stringify(p(Re)))}var ce={};S("ES5",{J:function(Re,nt){var st=Array.isArray(Re),vt=function(It,on){if(It){for(var Pn=Array(on.length),Yn=0;Yn<on.length;Yn++)Object.defineProperty(Pn,""+Yn,Pt(Yn,!0));return Pn}var Ln=Be(on);delete Ln[H];for(var bn=ge(Ln),ir=0;ir<bn.length;ir++){var Zn=bn[ir];Ln[Zn]=Pt(Zn,It||!!Ln[Zn].enumerable)}return Object.create(Object.getPrototypeOf(on),Ln)}(st,Re),ze={i:st?5:4,A:nt?nt.A:T(),P:!1,I:!1,D:{},l:nt,t:Re,k:vt,o:null,O:!1,C:!1};return Object.defineProperty(vt,H,{value:ze,writable:!0}),vt},S:function(Re,nt,st){st?o(nt)&&nt[H].A===Re&&Ie(Re.p):(Re.u&&function vt(ze){if(ze&&typeof ze=="object"){var It=ze[H];if(It){var on=It.t,Pn=It.k,Yn=It.D,Ln=It.i;if(Ln===4)i(Pn,function(jt){jt!==H&&(on[jt]!==void 0||u(on,jt)?Yn[jt]||vt(Pn[jt]):(Yn[jt]=!0,M(It)))}),i(on,function(jt){Pn[jt]!==void 0||u(Pn,jt)||(Yn[jt]=!1,M(It))});else if(Ln===5){if(mt(It)&&(M(It),Yn.length=!0),Pn.length<on.length)for(var bn=Pn.length;bn<on.length;bn++)Yn[bn]=!1;else for(var ir=on.length;ir<Pn.length;ir++)Yn[ir]=!0;for(var Zn=Math.min(Pn.length,on.length),$n=0;$n<Zn;$n++)Pn.hasOwnProperty($n)||(Yn[$n]=!0),Yn[$n]===void 0&&vt(Pn[$n])}}}}(Re.p[0]),Ie(Re.p))},K:function(Re){return Re.i===4?Bt(Re):mt(Re)}})}function ee(){function Pt(mt){if(!n(mt))return mt;if(Array.isArray(mt))return mt.map(Pt);if(g(mt))return new Map(Array.from(mt.entries()).map(function(Re){return[Re[0],Pt(Re[1])]}));if(_(mt))return new Set(Array.from(mt).map(Pt));var rt=Object.create(Object.getPrototypeOf(mt));for(var ce in mt)rt[ce]=Pt(mt[ce]);return u(mt,fe)&&(rt[fe]=mt[fe]),rt}function Ie(mt){return o(mt)?Pt(mt):mt}var Bt="add";S("Patches",{$:function(mt,rt){return rt.forEach(function(ce){for(var Re=ce.path,nt=ce.op,st=mt,vt=0;vt<Re.length-1;vt++){var ze=c(st),It=""+Re[vt];ze!==0&&ze!==1||It!=="__proto__"&&It!=="constructor"||r(24),typeof st=="function"&&It==="prototype"&&r(24),typeof(st=f(st,It))!="object"&&r(15,Re.join("/"))}var on=c(st),Pn=Pt(ce.value),Yn=Re[Re.length-1];switch(nt){case"replace":switch(on){case 2:return st.set(Yn,Pn);case 3:r(16);default:return st[Yn]=Pn}case Bt:switch(on){case 1:return Yn==="-"?st.push(Pn):st.splice(Yn,0,Pn);case 2:return st.set(Yn,Pn);case 3:return st.add(Pn);default:return st[Yn]=Pn}case"remove":switch(on){case 1:return st.splice(Yn,1);case 2:return st.delete(Yn);case 3:return st.delete(ce.value);default:return delete st[Yn]}default:r(17,nt)}}),mt},R:function(mt,rt,ce,Re){switch(mt.i){case 0:case 4:case 2:return function(nt,st,vt,ze){var It=nt.t,on=nt.o;i(nt.D,function(Pn,Yn){var Ln=f(It,Pn),bn=f(on,Pn),ir=Yn?u(It,Pn)?"replace":Bt:"remove";if(Ln!==bn||ir!=="replace"){var Zn=st.concat(Pn);vt.push(ir==="remove"?{op:ir,path:Zn}:{op:ir,path:Zn,value:bn}),ze.push(ir===Bt?{op:"remove",path:Zn}:ir==="remove"?{op:Bt,path:Zn,value:Ie(Ln)}:{op:"replace",path:Zn,value:Ie(Ln)})}})}(mt,rt,ce,Re);case 5:case 1:return function(nt,st,vt,ze){var It=nt.t,on=nt.D,Pn=nt.o;if(Pn.length<It.length){var Yn=[Pn,It];It=Yn[0],Pn=Yn[1];var Ln=[ze,vt];vt=Ln[0],ze=Ln[1]}for(var bn=0;bn<It.length;bn++)if(on[bn]&&Pn[bn]!==It[bn]){var ir=st.concat([bn]);vt.push({op:"replace",path:ir,value:Ie(Pn[bn])}),ze.push({op:"replace",path:ir,value:Ie(It[bn])})}for(var Zn=It.length;Zn<Pn.length;Zn++){var $n=st.concat([Zn]);vt.push({op:Bt,path:$n,value:Ie(Pn[Zn])})}It.length<Pn.length&&ze.push({op:"replace",path:st.concat(["length"]),value:It.length})}(mt,rt,ce,Re);case 3:return function(nt,st,vt,ze){var It=nt.t,on=nt.o,Pn=0;It.forEach(function(Yn){if(!on.has(Yn)){var Ln=st.concat([Pn]);vt.push({op:"remove",path:Ln,value:Yn}),ze.unshift({op:Bt,path:Ln,value:Yn})}Pn++}),Pn=0,on.forEach(function(Yn){if(!It.has(Yn)){var Ln=st.concat([Pn]);vt.push({op:Bt,path:Ln,value:Yn}),ze.unshift({op:"remove",path:Ln,value:Yn})}Pn++})}(mt,rt,ce,Re)}},M:function(mt,rt,ce,Re){ce.push({op:"replace",path:[],value:rt===Ee?void 0:rt}),Re.push({op:"replace",path:[],value:mt})}})}function te(){function Pt(nt,st){function vt(){this.constructor=nt}rt(nt,st),nt.prototype=(vt.prototype=st.prototype,new vt)}function Ie(nt){nt.o||(nt.D=new Map,nt.o=new Map(nt.t))}function Bt(nt){nt.o||(nt.o=new Set,nt.t.forEach(function(st){if(n(st)){var vt=R(nt.A.h,st,nt);nt.p.set(st,vt),nt.o.add(vt)}else nt.o.add(st)}))}function mt(nt){nt.O&&r(3,JSON.stringify(p(nt)))}var rt=function(nt,st){return(rt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(vt,ze){vt.__proto__=ze}||function(vt,ze){for(var It in ze)ze.hasOwnProperty(It)&&(vt[It]=ze[It])})(nt,st)},ce=function(){function nt(vt,ze){return this[H]={i:2,l:ze,A:ze?ze.A:T(),P:!1,I:!1,o:void 0,D:void 0,t:vt,k:this,C:!1,O:!1},this}Pt(nt,Map);var st=nt.prototype;return Object.defineProperty(st,"size",{get:function(){return p(this[H]).size}}),st.has=function(vt){return p(this[H]).has(vt)},st.set=function(vt,ze){var It=this[H];return mt(It),p(It).has(vt)&&p(It).get(vt)===ze||(Ie(It),M(It),It.D.set(vt,!0),It.o.set(vt,ze),It.D.set(vt,!0)),this},st.delete=function(vt){if(!this.has(vt))return!1;var ze=this[H];return mt(ze),Ie(ze),M(ze),ze.t.has(vt)?ze.D.set(vt,!1):ze.D.delete(vt),ze.o.delete(vt),!0},st.clear=function(){var vt=this[H];mt(vt),p(vt).size&&(Ie(vt),M(vt),vt.D=new Map,i(vt.t,function(ze){vt.D.set(ze,!1)}),vt.o.clear())},st.forEach=function(vt,ze){var It=this;p(this[H]).forEach(function(on,Pn){vt.call(ze,It.get(Pn),Pn,It)})},st.get=function(vt){var ze=this[H];mt(ze);var It=p(ze).get(vt);if(ze.I||!n(It)||It!==ze.t.get(vt))return It;var on=R(ze.A.h,It,ze);return Ie(ze),ze.o.set(vt,on),on},st.keys=function(){return p(this[H]).keys()},st.values=function(){var vt,ze=this,It=this.keys();return(vt={})[z]=function(){return ze.values()},vt.next=function(){var on=It.next();return on.done?on:{done:!1,value:ze.get(on.value)}},vt},st.entries=function(){var vt,ze=this,It=this.keys();return(vt={})[z]=function(){return ze.entries()},vt.next=function(){var on=It.next();if(on.done)return on;var Pn=ze.get(on.value);return{done:!1,value:[on.value,Pn]}},vt},st[z]=function(){return this.entries()},nt}(),Re=function(){function nt(vt,ze){return this[H]={i:3,l:ze,A:ze?ze.A:T(),P:!1,I:!1,o:void 0,t:vt,k:this,p:new Map,O:!1,C:!1},this}Pt(nt,Set);var st=nt.prototype;return Object.defineProperty(st,"size",{get:function(){return p(this[H]).size}}),st.has=function(vt){var ze=this[H];return mt(ze),ze.o?!!ze.o.has(vt)||!(!ze.p.has(vt)||!ze.o.has(ze.p.get(vt))):ze.t.has(vt)},st.add=function(vt){var ze=this[H];return mt(ze),this.has(vt)||(Bt(ze),M(ze),ze.o.add(vt)),this},st.delete=function(vt){if(!this.has(vt))return!1;var ze=this[H];return mt(ze),Bt(ze),M(ze),ze.o.delete(vt)||!!ze.p.has(vt)&&ze.o.delete(ze.p.get(vt))},st.clear=function(){var vt=this[H];mt(vt),p(vt).size&&(Bt(vt),M(vt),vt.o.clear())},st.values=function(){var vt=this[H];return mt(vt),Bt(vt),vt.o.values()},st.entries=function(){var vt=this[H];return mt(vt),Bt(vt),vt.o.entries()},st.keys=function(){return this.values()},st[z]=function(){return this.values()},st.forEach=function(vt,ze){for(var It=this.values(),on=It.next();!on.done;)vt.call(ze,on.value,on.value,this),on=It.next()},nt}();S("MapSet",{N:function(nt,st){return new ce(nt,st)},T:function(nt,st){return new Re(nt,st)}})}function ie(){$(),te(),ee()}function ne(Pt){return Pt}function pe(Pt){return Pt}var oe,q,J=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",me=typeof Map<"u",re=typeof Set<"u",he=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ee=J?Symbol.for("immer-nothing"):((oe={})["immer-nothing"]=!0,oe),fe=J?Symbol.for("immer-draftable"):"__$immer_draftable",H=J?Symbol.for("immer-state"):"__$immer_state",z=typeof Symbol<"u"&&Symbol.iterator||"@@iterator",_e=null,ae=""+Object.prototype.constructor,ge=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(Pt){return Object.getOwnPropertyNames(Pt).concat(Object.getOwnPropertySymbols(Pt))}:Object.getOwnPropertyNames,Be=Object.getOwnPropertyDescriptors||function(Pt){var Ie={};return ge(Pt).forEach(function(Bt){Ie[Bt]=Object.getOwnPropertyDescriptor(Pt,Bt)}),Ie},Ke={},He={get:function(Pt,Ie){if(Ie===H)return Pt;var Bt=p(Pt);if(!u(Bt,Ie))return function(rt,ce,Re){var nt,st=x(ce,Re);return st?"value"in st?st.value:(nt=st.get)===null||nt===void 0?void 0:nt.call(rt.k):void 0}(Pt,Bt,Ie);var mt=Bt[Ie];return Pt.I||!n(mt)?mt:mt===k(Pt.t,Ie)?(B(Pt),Pt.o[Ie]=R(Pt.A.h,mt,Pt)):mt},has:function(Pt,Ie){return Ie in p(Pt)},ownKeys:function(Pt){return Reflect.ownKeys(p(Pt))},set:function(Pt,Ie,Bt){var mt=x(p(Pt),Ie);if(mt!=null&&mt.set)return mt.set.call(Pt.k,Bt),!0;if(!Pt.P){var rt=k(p(Pt),Ie),ce=rt==null?void 0:rt[H];if(ce&&ce.t===Bt)return Pt.o[Ie]=Bt,Pt.D[Ie]=!1,!0;if(h(Bt,rt)&&(Bt!==void 0||u(Pt.t,Ie)))return!0;B(Pt),M(Pt)}return Pt.o[Ie]===Bt&&typeof Bt!="number"&&(Bt!==void 0||Ie in Pt.o)||(Pt.o[Ie]=Bt,Pt.D[Ie]=!0,!0)},deleteProperty:function(Pt,Ie){return k(Pt.t,Ie)!==void 0||Ie in Pt.t?(Pt.D[Ie]=!1,B(Pt),M(Pt)):delete Pt.D[Ie],Pt.o&&delete Pt.o[Ie],!0},getOwnPropertyDescriptor:function(Pt,Ie){var Bt=p(Pt),mt=Reflect.getOwnPropertyDescriptor(Bt,Ie);return mt&&{writable:!0,configurable:Pt.i!==1||Ie!=="length",enumerable:mt.enumerable,value:Bt[Ie]}},defineProperty:function(){r(11)},getPrototypeOf:function(Pt){return Object.getPrototypeOf(Pt.t)},setPrototypeOf:function(){r(12)}},ye={};i(He,function(Pt,Ie){ye[Pt]=function(){return arguments[0]=arguments[0][0],Ie.apply(this,arguments)}}),ye.deleteProperty=function(Pt,Ie){return ye.set.call(this,Pt,Ie,void 0)},ye.set=function(Pt,Ie,Bt){return He.set.call(this,Pt[0],Ie,Bt,Pt[0])};var Le=function(){function Pt(Bt){var mt=this;this.g=he,this.F=!0,this.produce=function(rt,ce,Re){if(typeof rt=="function"&&typeof ce!="function"){var nt=ce;ce=rt;var st=mt;return function(Ln){var bn=this;Ln===void 0&&(Ln=nt);for(var ir=arguments.length,Zn=Array(ir>1?ir-1:0),$n=1;$n<ir;$n++)Zn[$n-1]=arguments[$n];return st.produce(Ln,function(jt){var Rn;return(Rn=ce).call.apply(Rn,[bn,jt].concat(Zn))})}}var vt;if(typeof ce!="function"&&r(6),Re!==void 0&&typeof Re!="function"&&r(7),n(rt)){var ze=E(mt),It=R(mt,rt,void 0),on=!0;try{vt=ce(It),on=!1}finally{on?v(ze):m(ze)}return typeof Promise<"u"&&vt instanceof Promise?vt.then(function(Ln){return s(ze,Re),L(Ln,ze)},function(Ln){throw v(ze),Ln}):(s(ze,Re),L(vt,ze))}if(!rt||typeof rt!="object"){if((vt=ce(rt))===void 0&&(vt=rt),vt===Ee&&(vt=void 0),mt.F&&O(vt,!0),Re){var Pn=[],Yn=[];A("Patches").M(rt,vt,Pn,Yn),Re(Pn,Yn)}return vt}r(21,rt)},this.produceWithPatches=function(rt,ce){if(typeof rt=="function")return function(vt){for(var ze=arguments.length,It=Array(ze>1?ze-1:0),on=1;on<ze;on++)It[on-1]=arguments[on];return mt.produceWithPatches(vt,function(Pn){return rt.apply(void 0,[Pn].concat(It))})};var Re,nt,st=mt.produce(rt,ce,function(vt,ze){Re=vt,nt=ze});return typeof Promise<"u"&&st instanceof Promise?st.then(function(vt){return[vt,Re,nt]}):[st,Re,nt]},typeof(Bt==null?void 0:Bt.useProxies)=="boolean"&&this.setUseProxies(Bt.useProxies),typeof(Bt==null?void 0:Bt.autoFreeze)=="boolean"&&this.setAutoFreeze(Bt.autoFreeze)}var Ie=Pt.prototype;return Ie.createDraft=function(Bt){n(Bt)||r(8),o(Bt)&&(Bt=U(Bt));var mt=E(this),rt=R(this,Bt,void 0);return rt[H].C=!0,m(mt),rt},Ie.finishDraft=function(Bt,mt){var rt=Bt&&Bt[H],ce=rt.A;return s(ce,mt),L(void 0,ce)},Ie.setAutoFreeze=function(Bt){this.F=Bt},Ie.setUseProxies=function(Bt){Bt&&!he&&r(20),this.g=Bt},Ie.applyPatches=function(Bt,mt){var rt;for(rt=mt.length-1;rt>=0;rt--){var ce=mt[rt];if(ce.path.length===0&&ce.op==="replace"){Bt=ce.value;break}}rt>-1&&(mt=mt.slice(rt+1));var Re=A("Patches").$;return o(Bt)?Re(Bt,mt):this.produce(Bt,function(nt){return Re(nt,mt)})},Pt}(),Ue=new Le,Xe=Ue.produce,Fe=Ue.produceWithPatches.bind(Ue),ht=Ue.setAutoFreeze.bind(Ue),Ne=Ue.setUseProxies.bind(Ue),Ce=Ue.applyPatches.bind(Ue),we=Ue.createDraft.bind(Ue),$e=Ue.finishDraft.bind(Ue);const Ot=Xe},698758:function(b,l,e){"use strict";e.d(l,{Ig:()=>A,JA:()=>L,MI:()=>C,N0:()=>F,NE:()=>a,QF:()=>ne,QK:()=>T,U9:()=>B,X0:()=>E,YR:()=>re,Y_:()=>y,_M:()=>g,al:()=>c,mD:()=>m,nw:()=>R,o:()=>O,uJ:()=>j,uo:()=>v,w9:()=>ee,xb:()=>S,ym:()=>U});var r=e(223122),o=e(944537),n=e(76002);const a=(he,Ee)=>he.selection.empty?!1:(Ee&&Ee(he.tr.deleteSelection().scrollIntoView()),!0);function i(he,Ee){let{$cursor:fe}=he.selection;return!fe||(Ee?!Ee.endOfTextblock("backward",he):fe.parentOffset>0)?null:fe}const c=(he,Ee,fe)=>{let H=i(he,fe);if(!H)return!1;let z=_(H);if(!z){let ae=H.blockRange(),ge=ae&&(0,r.k9)(ae);return ge==null?!1:(Ee&&Ee(he.tr.lift(ae,ge).scrollIntoView()),!0)}let _e=z.nodeBefore;if(!_e.type.spec.isolating&&x(he,z,Ee))return!0;if(H.parent.content.size==0&&(h(_e,"end")||n.qv.isSelectable(_e))){let ae=(0,r.dR)(he.doc,H.before(),H.after(),o.p2.empty);if(ae&&ae.slice.size<ae.to-ae.from){if(Ee){let ge=he.tr.step(ae);ge.setSelection(h(_e,"end")?n.Y1.findFrom(ge.doc.resolve(ge.mapping.map(z.pos,-1)),-1):n.qv.create(ge.doc,z.pos-_e.nodeSize)),Ee(ge.scrollIntoView())}return!0}}return _e.isAtom&&z.depth==H.depth-1?(Ee&&Ee(he.tr.delete(z.pos-_e.nodeSize,z.pos).scrollIntoView()),!0):!1},u=(he,Ee,fe)=>{let H=i(he,fe);if(!H)return!1;let z=_(H);return z?d(he,z,Ee):!1},f=(he,Ee,fe)=>{let H=p(he,fe);if(!H)return!1;let z=P(H);return z?d(he,z,Ee):!1};function d(he,Ee,fe){let H=Ee.nodeBefore,z=H,_e=Ee.pos-1;for(;!z.isTextblock;_e--){if(z.type.spec.isolating)return!1;let He=z.lastChild;if(!He)return!1;z=He}let ae=Ee.nodeAfter,ge=ae,Be=Ee.pos+1;for(;!ge.isTextblock;Be++){if(ge.type.spec.isolating)return!1;let He=ge.firstChild;if(!He)return!1;ge=He}let Ke=replaceStep(he.doc,_e,Be,Slice.empty);if(!Ke||Ke.from!=_e||Ke instanceof ReplaceStep&&Ke.slice.size>=Be-_e)return!1;if(fe){let He=he.tr.step(Ke);He.setSelection(TextSelection.create(He.doc,_e)),fe(He.scrollIntoView())}return!0}function h(he,Ee,fe=!1){for(let H=he;H;H=Ee=="start"?H.firstChild:H.lastChild){if(H.isTextblock)return!0;if(fe&&H.childCount!=1)return!1}return!1}const g=(he,Ee,fe)=>{let{$head:H,empty:z}=he.selection,_e=H;if(!z)return!1;if(H.parent.isTextblock){if(fe?!fe.endOfTextblock("backward",he):H.parentOffset>0)return!1;_e=_(H)}let ae=_e&&_e.nodeBefore;return!ae||!n.qv.isSelectable(ae)?!1:(Ee&&Ee(he.tr.setSelection(n.qv.create(he.doc,_e.pos-ae.nodeSize)).scrollIntoView()),!0)};function _(he){if(!he.parent.type.spec.isolating)for(let Ee=he.depth-1;Ee>=0;Ee--){if(he.index(Ee)>0)return he.doc.resolve(he.before(Ee+1));if(he.node(Ee).type.spec.isolating)break}return null}function p(he,Ee){let{$cursor:fe}=he.selection;return!fe||(Ee?!Ee.endOfTextblock("forward",he):fe.parentOffset<fe.parent.content.size)?null:fe}const y=(he,Ee,fe)=>{let H=p(he,fe);if(!H)return!1;let z=P(H);if(!z)return!1;let _e=z.nodeAfter;if(x(he,z,Ee))return!0;if(H.parent.content.size==0&&(h(_e,"start")||n.qv.isSelectable(_e))){let ae=(0,r.dR)(he.doc,H.before(),H.after(),o.p2.empty);if(ae&&ae.slice.size<ae.to-ae.from){if(Ee){let ge=he.tr.step(ae);ge.setSelection(h(_e,"start")?n.Y1.findFrom(ge.doc.resolve(ge.mapping.map(z.pos)),1):n.qv.create(ge.doc,ge.mapping.map(z.pos))),Ee(ge.scrollIntoView())}return!0}}return _e.isAtom&&z.depth==H.depth-1?(Ee&&Ee(he.tr.delete(z.pos,z.pos+_e.nodeSize).scrollIntoView()),!0):!1},O=(he,Ee,fe)=>{let{$head:H,empty:z}=he.selection,_e=H;if(!z)return!1;if(H.parent.isTextblock){if(fe?!fe.endOfTextblock("forward",he):H.parentOffset<H.parent.content.size)return!1;_e=P(H)}let ae=_e&&_e.nodeAfter;return!ae||!n.qv.isSelectable(ae)?!1:(Ee&&Ee(he.tr.setSelection(n.qv.create(he.doc,_e.pos)).scrollIntoView()),!0)};function P(he){if(!he.parent.type.spec.isolating)for(let Ee=he.depth-1;Ee>=0;Ee--){let fe=he.node(Ee);if(he.index(Ee)+1<fe.childCount)return he.doc.resolve(he.after(Ee+1));if(fe.type.spec.isolating)break}return null}const C=(he,Ee)=>{let fe=he.selection,H=fe instanceof n.qv,z;if(H){if(fe.node.isTextblock||!(0,r.Mn)(he.doc,fe.from))return!1;z=fe.from}else if(z=(0,r.GJ)(he.doc,fe.from,-1),z==null)return!1;if(Ee){let _e=he.tr.join(z);H&&_e.setSelection(n.qv.create(_e.doc,z-he.doc.resolve(z).nodeBefore.nodeSize)),Ee(_e.scrollIntoView())}return!0},A=(he,Ee)=>{let fe=he.selection,H;if(fe instanceof n.qv){if(fe.node.isTextblock||!(0,r.Mn)(he.doc,fe.to))return!1;H=fe.to}else if(H=(0,r.GJ)(he.doc,fe.to,1),H==null)return!1;return Ee&&Ee(he.tr.join(H).scrollIntoView()),!0},S=(he,Ee)=>{let{$from:fe,$to:H}=he.selection,z=fe.blockRange(H),_e=z&&(0,r.k9)(z);return _e==null?!1:(Ee&&Ee(he.tr.lift(z,_e).scrollIntoView()),!0)},T=(he,Ee)=>{let{$head:fe,$anchor:H}=he.selection;return!fe.parent.type.spec.code||!fe.sameParent(H)?!1:(Ee&&Ee(he.tr.insertText(`
`).scrollIntoView()),!0)};function s(he){for(let Ee=0;Ee<he.edgeCount;Ee++){let{type:fe}=he.edge(Ee);if(fe.isTextblock&&!fe.hasRequiredAttrs())return fe}return null}const v=(he,Ee)=>{let{$head:fe,$anchor:H}=he.selection;if(!fe.parent.type.spec.code||!fe.sameParent(H))return!1;let z=fe.node(-1),_e=fe.indexAfter(-1),ae=s(z.contentMatchAt(_e));if(!ae||!z.canReplaceWith(_e,_e,ae))return!1;if(Ee){let ge=fe.after(),Be=he.tr.replaceWith(ge,ge,ae.createAndFill());Be.setSelection(n.Y1.near(Be.doc.resolve(ge),1)),Ee(Be.scrollIntoView())}return!0},m=(he,Ee)=>{let fe=he.selection,{$from:H,$to:z}=fe;if(fe instanceof n.C1||H.parent.inlineContent||z.parent.inlineContent)return!1;let _e=s(z.parent.contentMatchAt(z.indexAfter()));if(!_e||!_e.isTextblock)return!1;if(Ee){let ae=(!H.parentOffset&&z.index()<z.parent.childCount?H:z).pos,ge=he.tr.insert(ae,_e.createAndFill());ge.setSelection(n.Bs.create(ge.doc,ae+1)),Ee(ge.scrollIntoView())}return!0},E=(he,Ee)=>{let{$cursor:fe}=he.selection;if(!fe||fe.parent.content.size)return!1;if(fe.depth>1&&fe.after()!=fe.end(-1)){let _e=fe.before();if((0,r.Ax)(he.doc,_e))return Ee&&Ee(he.tr.split(_e).scrollIntoView()),!0}let H=fe.blockRange(),z=H&&(0,r.k9)(H);return z==null?!1:(Ee&&Ee(he.tr.lift(H,z).scrollIntoView()),!0)};function I(he){return(Ee,fe)=>{let{$from:H,$to:z}=Ee.selection;if(Ee.selection instanceof n.qv&&Ee.selection.node.isBlock)return!H.parentOffset||!(0,r.Ax)(Ee.doc,H.pos)?!1:(fe&&fe(Ee.tr.split(H.pos).scrollIntoView()),!0);if(!H.parent.isBlock)return!1;if(fe){let _e=z.parentOffset==z.parent.content.size,ae=Ee.tr;(Ee.selection instanceof n.Bs||Ee.selection instanceof n.C1)&&ae.deleteSelection();let ge=H.depth==0?null:s(H.node(-1).contentMatchAt(H.indexAfter(-1))),Be=he&&he(z.parent,_e),Ke=Be?[Be]:_e&&ge?[{type:ge}]:void 0,He=(0,r.Ax)(ae.doc,ae.mapping.map(H.pos),1,Ke);if(!Ke&&!He&&(0,r.Ax)(ae.doc,ae.mapping.map(H.pos),1,ge?[{type:ge}]:void 0)&&(ge&&(Ke=[{type:ge}]),He=!0),He&&(ae.split(ae.mapping.map(H.pos),1,Ke),!_e&&!H.parentOffset&&H.parent.type!=ge)){let ye=ae.mapping.map(H.before()),Le=ae.doc.resolve(ye);ge&&H.node(-1).canReplaceWith(Le.index(),Le.index()+1,ge)&&ae.setNodeMarkup(ae.mapping.map(H.before()),ge)}fe(ae.scrollIntoView())}return!0}}const L=I(),W=(he,Ee)=>L(he,Ee&&(fe=>{let H=he.storedMarks||he.selection.$to.parentOffset&&he.selection.$from.marks();H&&fe.ensureMarks(H),Ee(fe)})),F=(he,Ee)=>{let{$from:fe,to:H}=he.selection,z,_e=fe.sharedDepth(H);return _e==0?!1:(z=fe.before(_e),Ee&&Ee(he.tr.setSelection(n.qv.create(he.doc,z))),!0)},G=(he,Ee)=>(Ee&&Ee(he.tr.setSelection(new n.C1(he.doc))),!0);function k(he,Ee,fe){let H=Ee.nodeBefore,z=Ee.nodeAfter,_e=Ee.index();return!H||!z||!H.type.compatibleContent(z.type)?!1:!H.content.size&&Ee.parent.canReplace(_e-1,_e)?(fe&&fe(he.tr.delete(Ee.pos-H.nodeSize,Ee.pos).scrollIntoView()),!0):!Ee.parent.canReplace(_e,_e+1)||!(z.isTextblock||(0,r.Mn)(he.doc,Ee.pos))?!1:(fe&&fe(he.tr.clearIncompatible(Ee.pos,H.type,H.contentMatchAt(H.childCount)).join(Ee.pos).scrollIntoView()),!0)}function x(he,Ee,fe){let H=Ee.nodeBefore,z=Ee.nodeAfter,_e,ae;if(H.type.spec.isolating||z.type.spec.isolating)return!1;if(k(he,Ee,fe))return!0;let ge=Ee.parent.canReplace(Ee.index(),Ee.index()+1);if(ge&&(_e=(ae=H.contentMatchAt(H.childCount)).findWrapping(z.type))&&ae.matchType(_e[0]||z.type).validEnd){if(fe){let ye=Ee.pos+z.nodeSize,Le=o.HY.empty;for(let Fe=_e.length-1;Fe>=0;Fe--)Le=o.HY.from(_e[Fe].create(null,Le));Le=o.HY.from(H.copy(Le));let Ue=he.tr.step(new r.FC(Ee.pos-1,ye,Ee.pos,ye,new o.p2(Le,1,0),_e.length,!0)),Xe=ye+2*_e.length;(0,r.Mn)(Ue.doc,Xe)&&Ue.join(Xe),fe(Ue.scrollIntoView())}return!0}let Be=n.Y1.findFrom(Ee,1),Ke=Be&&Be.$from.blockRange(Be.$to),He=Ke&&(0,r.k9)(Ke);if(He!=null&&He>=Ee.depth)return fe&&fe(he.tr.lift(Ke,He).scrollIntoView()),!0;if(ge&&h(z,"start",!0)&&h(H,"end")){let ye=H,Le=[];for(;Le.push(ye),!ye.isTextblock;)ye=ye.lastChild;let Ue=z,Xe=1;for(;!Ue.isTextblock;Ue=Ue.firstChild)Xe++;if(ye.canReplace(ye.childCount,ye.childCount,Ue.content)){if(fe){let Fe=o.HY.empty;for(let Ne=Le.length-1;Ne>=0;Ne--)Fe=o.HY.from(Le[Ne].copy(Fe));let ht=he.tr.step(new r.FC(Ee.pos-Le.length,Ee.pos+z.nodeSize,Ee.pos+Xe,Ee.pos+z.nodeSize-Xe,new o.p2(Fe,Le.length,0),0,!0));fe(ht.scrollIntoView())}return!0}}return!1}function M(he){return function(Ee,fe){let H=Ee.selection,z=he<0?H.$from:H.$to,_e=z.depth;for(;z.node(_e).isInline;){if(!_e)return!1;_e--}return z.node(_e).isTextblock?(fe&&fe(Ee.tr.setSelection(n.Bs.create(Ee.doc,he<0?z.start(_e):z.end(_e)))),!0):!1}}const B=M(-1),R=M(1);function U(he,Ee=null){return function(fe,H){let{$from:z,$to:_e}=fe.selection,ae=z.blockRange(_e),ge=ae&&(0,r.nd)(ae,he,Ee);return ge?(H&&H(fe.tr.wrap(ae,ge).scrollIntoView()),!0):!1}}function j(he,Ee=null){return function(fe,H){let z=!1;for(let _e=0;_e<fe.selection.ranges.length&&!z;_e++){let{$from:{pos:ae},$to:{pos:ge}}=fe.selection.ranges[_e];fe.doc.nodesBetween(ae,ge,(Be,Ke)=>{if(z)return!1;if(!(!Be.isTextblock||Be.hasMarkup(he,Ee)))if(Be.type==he)z=!0;else{let He=fe.doc.resolve(Ke),ye=He.index();z=He.parent.canReplaceWith(ye,ye+1,he)}})}if(!z)return!1;if(H){let _e=fe.tr;for(let ae=0;ae<fe.selection.ranges.length;ae++){let{$from:{pos:ge},$to:{pos:Be}}=fe.selection.ranges[ae];_e.setBlockType(ge,Be,he,Ee)}H(_e.scrollIntoView())}return!0}}function $(he,Ee,fe){for(let H=0;H<Ee.length;H++){let{$from:z,$to:_e}=Ee[H],ae=z.depth==0?he.inlineContent&&he.type.allowsMarkType(fe):!1;if(he.nodesBetween(z.pos,_e.pos,ge=>{if(ae)return!1;ae=ge.inlineContent&&ge.type.allowsMarkType(fe)}),ae)return!0}return!1}function ee(he,Ee=null){return function(fe,H){let{empty:z,$cursor:_e,ranges:ae}=fe.selection;if(z&&!_e||!$(fe.doc,ae,he))return!1;if(H)if(_e)he.isInSet(fe.storedMarks||_e.marks())?H(fe.tr.removeStoredMark(he)):H(fe.tr.addStoredMark(he.create(Ee)));else{let ge=!1,Be=fe.tr;for(let Ke=0;!ge&&Ke<ae.length;Ke++){let{$from:He,$to:ye}=ae[Ke];ge=fe.doc.rangeHasMark(He.pos,ye.pos,he)}for(let Ke=0;Ke<ae.length;Ke++){let{$from:He,$to:ye}=ae[Ke];if(ge)Be.removeMark(He.pos,ye.pos,he);else{let Le=He.pos,Ue=ye.pos,Xe=He.nodeAfter,Fe=ye.nodeBefore,ht=Xe&&Xe.isText?/^\s*/.exec(Xe.text)[0].length:0,Ne=Fe&&Fe.isText?/\s*$/.exec(Fe.text)[0].length:0;Le+ht<Ue&&(Le+=ht,Ue-=Ne),Be.addMark(Le,Ue,he.create(Ee))}}H(Be.scrollIntoView())}return!0}}function te(he,Ee){return fe=>{if(!fe.isGeneric)return he(fe);let H=[];for(let _e=0;_e<fe.mapping.maps.length;_e++){let ae=fe.mapping.maps[_e];for(let ge=0;ge<H.length;ge++)H[ge]=ae.map(H[ge]);ae.forEach((ge,Be,Ke,He)=>H.push(Ke,He))}let z=[];for(let _e=0;_e<H.length;_e+=2){let ae=H[_e],ge=H[_e+1],Be=fe.doc.resolve(ae),Ke=Be.sharedDepth(ge),He=Be.node(Ke);for(let ye=Be.indexAfter(Ke),Le=Be.after(Ke+1);Le<=ge;++ye){let Ue=He.maybeChild(ye);if(!Ue)break;if(ye&&z.indexOf(Le)==-1){let Xe=He.child(ye-1);Xe.type==Ue.type&&Ee(Xe,Ue)&&z.push(Le)}Le+=Ue.nodeSize}}z.sort((_e,ae)=>_e-ae);for(let _e=z.length-1;_e>=0;_e--)canJoin(fe.doc,z[_e])&&fe.join(z[_e]);he(fe)}}function ie(he,Ee){let fe=Array.isArray(Ee)?H=>Ee.indexOf(H.type.name)>-1:Ee;return(H,z,_e)=>he(H,z&&te(z,fe),_e)}function ne(...he){return function(Ee,fe,H){for(let z=0;z<he.length;z++)if(he[z](Ee,fe,H))return!0;return!1}}let pe=ne(a,c,g),oe=ne(a,y,O);const q={Enter:ne(T,m,E,L),"Mod-Enter":v,Backspace:pe,"Mod-Backspace":pe,"Shift-Backspace":pe,Delete:oe,"Mod-Delete":oe,"Mod-a":G},J={"Ctrl-h":q.Backspace,"Alt-Backspace":q["Mod-Backspace"],"Ctrl-d":q.Delete,"Ctrl-Alt-Backspace":q["Mod-Delete"],"Alt-Delete":q["Mod-Delete"],"Alt-d":q["Mod-Delete"],"Ctrl-a":B,"Ctrl-e":R};for(let he in q)J[he]=q[he];const re=(typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform?os.platform()=="darwin":!1)?J:q},504705:function(b,l,e){"use strict";e.d(l,{q:()=>n});var r=e(76002),o=e(223122);function n(i={}){return new r.Sy({view(c){return new a(c,i)}})}class a{constructor(c,u){var f;this.editorView=c,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(f=u.width)!==null&&f!==void 0?f:1,this.color=u.color===!1?void 0:u.color||"black",this.class=u.class,this.handlers=["dragover","dragend","drop","dragleave"].map(d=>{let h=g=>{this[d](g)};return c.dom.addEventListener(d,h),{name:d,handler:h}})}destroy(){this.handlers.forEach(({name:c,handler:u})=>this.editorView.dom.removeEventListener(c,u))}update(c,u){this.cursorPos!=null&&u.doc!=c.state.doc&&(this.cursorPos>c.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(c){c!=this.cursorPos&&(this.cursorPos=c,c==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let c=this.editorView.state.doc.resolve(this.cursorPos),u=!c.parent.inlineContent,f;if(u){let _=c.nodeBefore,p=c.nodeAfter;if(_||p){let y=this.editorView.nodeDOM(this.cursorPos-(_?_.nodeSize:0));if(y){let O=y.getBoundingClientRect(),P=_?O.bottom:O.top;_&&p&&(P=(P+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),f={left:O.left,right:O.right,top:P-this.width/2,bottom:P+this.width/2}}}}if(!f){let _=this.editorView.coordsAtPos(this.cursorPos);f={left:_.left-this.width/2,right:_.left+this.width/2,top:_.top,bottom:_.bottom}}let d=this.editorView.dom.offsetParent;this.element||(this.element=d.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",u),this.element.classList.toggle("prosemirror-dropcursor-inline",!u);let h,g;if(!d||d==document.body&&getComputedStyle(d).position=="static")h=-pageXOffset,g=-pageYOffset;else{let _=d.getBoundingClientRect();h=_.left-d.scrollLeft,g=_.top-d.scrollTop}this.element.style.left=f.left-h+"px",this.element.style.top=f.top-g+"px",this.element.style.width=f.right-f.left+"px",this.element.style.height=f.bottom-f.top+"px"}scheduleRemoval(c){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),c)}dragover(c){if(!this.editorView.editable)return;let u=this.editorView.posAtCoords({left:c.clientX,top:c.clientY}),f=u&&u.inside>=0&&this.editorView.state.doc.nodeAt(u.inside),d=f&&f.type.spec.disableDropCursor,h=typeof d=="function"?d(this.editorView,u,c):d;if(u&&!h){let g=u.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let _=(0,o.nj)(this.editorView.state.doc,g,this.editorView.dragging.slice);_!=null&&(g=_)}this.setCursor(g),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(c){(c.target==this.editorView.dom||!this.editorView.dom.contains(c.relatedTarget))&&this.setCursor(null)}}},908117:function(b,l,e){"use strict";e.d(l,{of:()=>G,m8:()=>L,AH:()=>k,KX:()=>F,Yw:()=>W});var r=200,o=function(){};o.prototype.append=function(M){return M.length?(M=o.from(M),!this.length&&M||M.length<r&&this.leafAppend(M)||this.length<r&&M.leafPrepend(this)||this.appendInner(M)):this},o.prototype.prepend=function(M){return M.length?o.from(M).append(this):this},o.prototype.appendInner=function(M){return new a(this,M)},o.prototype.slice=function(M,B){return M===void 0&&(M=0),B===void 0&&(B=this.length),M>=B?o.empty:this.sliceInner(Math.max(0,M),Math.min(this.length,B))},o.prototype.get=function(M){if(!(M<0||M>=this.length))return this.getInner(M)},o.prototype.forEach=function(M,B,R){B===void 0&&(B=0),R===void 0&&(R=this.length),B<=R?this.forEachInner(M,B,R,0):this.forEachInvertedInner(M,B,R,0)},o.prototype.map=function(M,B,R){B===void 0&&(B=0),R===void 0&&(R=this.length);var U=[];return this.forEach(function(j,$){return U.push(M(j,$))},B,R),U},o.from=function(M){return M instanceof o?M:M&&M.length?new n(M):o.empty};var n=function(x){function M(R){x.call(this),this.values=R}x&&(M.__proto__=x),M.prototype=Object.create(x&&x.prototype),M.prototype.constructor=M;var B={length:{configurable:!0},depth:{configurable:!0}};return M.prototype.flatten=function(){return this.values},M.prototype.sliceInner=function(U,j){return U==0&&j==this.length?this:new M(this.values.slice(U,j))},M.prototype.getInner=function(U){return this.values[U]},M.prototype.forEachInner=function(U,j,$,ee){for(var te=j;te<$;te++)if(U(this.values[te],ee+te)===!1)return!1},M.prototype.forEachInvertedInner=function(U,j,$,ee){for(var te=j-1;te>=$;te--)if(U(this.values[te],ee+te)===!1)return!1},M.prototype.leafAppend=function(U){if(this.length+U.length<=r)return new M(this.values.concat(U.flatten()))},M.prototype.leafPrepend=function(U){if(this.length+U.length<=r)return new M(U.flatten().concat(this.values))},B.length.get=function(){return this.values.length},B.depth.get=function(){return 0},Object.defineProperties(M.prototype,B),M}(o);o.empty=new n([]);var a=function(x){function M(B,R){x.call(this),this.left=B,this.right=R,this.length=B.length+R.length,this.depth=Math.max(B.depth,R.depth)+1}return x&&(M.__proto__=x),M.prototype=Object.create(x&&x.prototype),M.prototype.constructor=M,M.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},M.prototype.getInner=function(R){return R<this.left.length?this.left.get(R):this.right.get(R-this.left.length)},M.prototype.forEachInner=function(R,U,j,$){var ee=this.left.length;if(U<ee&&this.left.forEachInner(R,U,Math.min(j,ee),$)===!1||j>ee&&this.right.forEachInner(R,Math.max(U-ee,0),Math.min(this.length,j)-ee,$+ee)===!1)return!1},M.prototype.forEachInvertedInner=function(R,U,j,$){var ee=this.left.length;if(U>ee&&this.right.forEachInvertedInner(R,U-ee,Math.max(j,ee)-ee,$+ee)===!1||j<ee&&this.left.forEachInvertedInner(R,Math.min(U,ee),j,$)===!1)return!1},M.prototype.sliceInner=function(R,U){if(R==0&&U==this.length)return this;var j=this.left.length;return U<=j?this.left.slice(R,U):R>=j?this.right.slice(R-j,U-j):this.left.slice(R,j).append(this.right.slice(0,U-j))},M.prototype.leafAppend=function(R){var U=this.right.leafAppend(R);if(U)return new M(this.left,U)},M.prototype.leafPrepend=function(R){var U=this.left.leafPrepend(R);if(U)return new M(U,this.right)},M.prototype.appendInner=function(R){return this.left.depth>=Math.max(this.right.depth,R.depth)+1?new M(this.left,new M(this.right,R)):new M(this,R)},M}(o),i=o;const c=i;var u=e(223122),f=e(76002);const d=500;class h{constructor(M,B){this.items=M,this.eventCount=B}popEvent(M,B){if(this.eventCount==0)return null;let R=this.items.length;for(;;R--)if(this.items.get(R-1).selection){--R;break}let U,j;B&&(U=this.remapping(R,this.items.length),j=U.maps.length);let $=M.tr,ee,te,ie=[],ne=[];return this.items.forEach((pe,oe)=>{if(!pe.step){U||(U=this.remapping(R,oe+1),j=U.maps.length),j--,ne.push(pe);return}if(U){ne.push(new _(pe.map));let q=pe.step.map(U.slice(j)),J;q&&$.maybeStep(q).doc&&(J=$.mapping.maps[$.mapping.maps.length-1],ie.push(new _(J,void 0,void 0,ie.length+ne.length))),j--,J&&U.appendMap(J,j)}else $.maybeStep(pe.step);if(pe.selection)return ee=U?pe.selection.map(U.slice(j)):pe.selection,te=new h(this.items.slice(0,R).append(ne.reverse().concat(ie)),this.eventCount-1),!1},this.items.length,0),{remaining:te,transform:$,selection:ee}}addTransform(M,B,R,U){let j=[],$=this.eventCount,ee=this.items,te=!U&&ee.length?ee.get(ee.length-1):null;for(let ne=0;ne<M.steps.length;ne++){let pe=M.steps[ne].invert(M.docs[ne]),oe=new _(M.mapping.maps[ne],pe,B),q;(q=te&&te.merge(oe))&&(oe=q,ne?j.pop():ee=ee.slice(0,ee.length-1)),j.push(oe),B&&($++,B=void 0),U||(te=oe)}let ie=$-R.depth;return ie>y&&(ee=g(ee,ie),$-=ie),new h(ee.append(j),$)}remapping(M,B){let R=new u.vs;return this.items.forEach((U,j)=>{let $=U.mirrorOffset!=null&&j-U.mirrorOffset>=M?R.maps.length-U.mirrorOffset:void 0;R.appendMap(U.map,$)},M,B),R}addMaps(M){return this.eventCount==0?this:new h(this.items.append(M.map(B=>new _(B))),this.eventCount)}rebased(M,B){if(!this.eventCount)return this;let R=[],U=Math.max(0,this.items.length-B),j=M.mapping,$=M.steps.length,ee=this.eventCount;this.items.forEach(oe=>{oe.selection&&ee--},U);let te=B;this.items.forEach(oe=>{let q=j.getMirror(--te);if(q==null)return;$=Math.min($,q);let J=j.maps[q];if(oe.step){let me=M.steps[q].invert(M.docs[q]),re=oe.selection&&oe.selection.map(j.slice(te+1,q));re&&ee++,R.push(new _(J,me,re))}else R.push(new _(J))},U);let ie=[];for(let oe=B;oe<$;oe++)ie.push(new _(j.maps[oe]));let ne=this.items.slice(0,U).append(ie).append(R),pe=new h(ne,ee);return pe.emptyItemCount()>d&&(pe=pe.compress(this.items.length-R.length)),pe}emptyItemCount(){let M=0;return this.items.forEach(B=>{B.step||M++}),M}compress(M=this.items.length){let B=this.remapping(0,M),R=B.maps.length,U=[],j=0;return this.items.forEach(($,ee)=>{if(ee>=M)U.push($),$.selection&&j++;else if($.step){let te=$.step.map(B.slice(R)),ie=te&&te.getMap();if(R--,ie&&B.appendMap(ie,R),te){let ne=$.selection&&$.selection.map(B.slice(R));ne&&j++;let pe=new _(ie.invert(),te,ne),oe,q=U.length-1;(oe=U.length&&U[q].merge(pe))?U[q]=oe:U.push(pe)}}else $.map&&R--},this.items.length,0),new h(c.from(U.reverse()),j)}}h.empty=new h(c.empty,0);function g(x,M){let B;return x.forEach((R,U)=>{if(R.selection&&M--==0)return B=U,!1}),x.slice(B)}class _{constructor(M,B,R,U){this.map=M,this.step=B,this.selection=R,this.mirrorOffset=U}merge(M){if(this.step&&M.step&&!M.selection){let B=M.step.merge(this.step);if(B)return new _(B.getMap().invert(),B,this.selection)}}}class p{constructor(M,B,R,U){this.done=M,this.undone=B,this.prevRanges=R,this.prevTime=U}}const y=20;function O(x,M,B,R){let U=B.getMeta(E),j;if(U)return U.historyState;B.getMeta(I)&&(x=new p(x.done,x.undone,null,0));let $=B.getMeta("appendedTransaction");if(B.steps.length==0)return x;if($&&$.getMeta(E))return $.getMeta(E).redo?new p(x.done.addTransform(B,void 0,R,v(M)),x.undone,C(B.mapping.maps[B.steps.length-1]),x.prevTime):new p(x.done,x.undone.addTransform(B,void 0,R,v(M)),null,x.prevTime);if(B.getMeta("addToHistory")!==!1&&!($&&$.getMeta("addToHistory")===!1)){let ee=x.prevTime==0||!$&&(x.prevTime<(B.time||0)-R.newGroupDelay||!P(B,x.prevRanges)),te=$?A(x.prevRanges,B.mapping):C(B.mapping.maps[B.steps.length-1]);return new p(x.done.addTransform(B,ee?M.selection.getBookmark():void 0,R,v(M)),h.empty,te,B.time)}else return(j=B.getMeta("rebased"))?new p(x.done.rebased(B,j),x.undone.rebased(B,j),A(x.prevRanges,B.mapping),x.prevTime):new p(x.done.addMaps(B.mapping.maps),x.undone.addMaps(B.mapping.maps),A(x.prevRanges,B.mapping),x.prevTime)}function P(x,M){if(!M)return!1;if(!x.docChanged)return!0;let B=!1;return x.mapping.maps[0].forEach((R,U)=>{for(let j=0;j<M.length;j+=2)R<=M[j+1]&&U>=M[j]&&(B=!0)}),B}function C(x){let M=[];return x.forEach((B,R,U,j)=>M.push(U,j)),M}function A(x,M){if(!x)return null;let B=[];for(let R=0;R<x.length;R+=2){let U=M.map(x[R],1),j=M.map(x[R+1],-1);U<=j&&B.push(U,j)}return B}function S(x,M,B,R){let U=v(M),j=E.get(M).spec.config,$=(R?x.undone:x.done).popEvent(M,U);if(!$)return;let ee=$.selection.resolve($.transform.doc),te=(R?x.done:x.undone).addTransform($.transform,M.selection.getBookmark(),j,U),ie=new p(R?te:$.remaining,R?$.remaining:te,null,0);B($.transform.setSelection(ee).setMeta(E,{redo:R,historyState:ie}).scrollIntoView())}let T=!1,s=null;function v(x){let M=x.plugins;if(s!=M){T=!1,s=M;for(let B=0;B<M.length;B++)if(M[B].spec.historyPreserveItems){T=!0;break}}return T}function m(x){return x.setMeta(I,!0)}const E=new f.H$("history"),I=new f.H$("closeHistory");function L(x={}){return x={depth:x.depth||100,newGroupDelay:x.newGroupDelay||500},new f.Sy({key:E,state:{init(){return new p(h.empty,h.empty,null,0)},apply(M,B,R){return O(B,R,M,x)}},config:x,props:{handleDOMEvents:{beforeinput(M,B){let R=B.inputType,U=R=="historyUndo"?W:R=="historyRedo"?F:null;return U?(B.preventDefault(),U(M.state,M.dispatch)):!1}}}})}const W=(x,M)=>{let B=E.getState(x);return!B||B.done.eventCount==0?!1:(M&&S(B,x,M,!1),!0)},F=(x,M)=>{let B=E.getState(x);return!B||B.undone.eventCount==0?!1:(M&&S(B,x,M,!0),!0)};function G(x){let M=E.getState(x);return M?M.done.eventCount:0}function k(x){let M=E.getState(x);return M?M.undone.eventCount:0}},234717:function(b,l,e){"use strict";e.d(l,{Hw:()=>c,LH:()=>h,S0:()=>P,VK:()=>n,dU:()=>f,pR:()=>d,yR:()=>O,zK:()=>C});var r=e(76002),o=e(223122);class n{constructor(S,T){this.match=S,this.match=S,this.handler=typeof T=="string"?a(T):T}}function a(A){return function(S,T,s,v){let m=A;if(T[1]){let E=T[0].lastIndexOf(T[1]);m+=T[0].slice(E+T[1].length),s+=E;let I=s-v;I>0&&(m=T[0].slice(E-I,E)+m,s=v)}return S.tr.insertText(m,s,v)}}const i=500;function c({rules:A}){let S=new r.Sy({state:{init(){return null},apply(T,s){let v=T.getMeta(this);return v||(T.selectionSet||T.docChanged?null:s)}},props:{handleTextInput(T,s,v,m){return u(T,s,v,m,A,S)},handleDOMEvents:{compositionend:T=>{setTimeout(()=>{let{$cursor:s}=T.state.selection;s&&u(T,s.pos,s.pos,"",A,S)})}}},isInputRules:!0});return S}function u(A,S,T,s,v,m){if(A.composing)return!1;let E=A.state,I=E.doc.resolve(S);if(I.parent.type.spec.code)return!1;let L=I.parent.textBetween(Math.max(0,I.parentOffset-i),I.parentOffset,null,"\uFFFC")+s;for(let W=0;W<v.length;W++){let F=v[W].match.exec(L),G=F&&v[W].handler(E,F,S-(F[0].length-s.length),T);if(G)return A.dispatch(G.setMeta(m,{transform:G,from:S,to:T,text:s})),!0}return!1}const f=(A,S)=>{let T=A.plugins;for(let s=0;s<T.length;s++){let v=T[s],m;if(v.spec.isInputRules&&(m=v.getState(A))){if(S){let E=A.tr,I=m.transform;for(let L=I.steps.length-1;L>=0;L--)E.step(I.steps[L].invert(I.docs[L]));if(m.text){let L=E.doc.resolve(m.from).marks();E.replaceWith(m.from,m.to,A.schema.text(m.text,L))}else E.delete(m.from,m.to);S(E)}return!0}}return!1},d=new n(/--$/,"\u2014"),h=new n(/\.\.\.$/,"\u2026"),g=new n(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"\u201C"),_=new n(/"$/,"\u201D"),p=new n(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"\u2018"),y=new n(/'$/,"\u2019"),O=[g,_,p,y];function P(A,S,T=null,s){return new n(A,(v,m,E,I)=>{let L=T instanceof Function?T(m):T,W=v.tr.delete(E,I),F=W.doc.resolve(E),G=F.blockRange(),k=G&&(0,o.nd)(G,S,L);if(!k)return null;W.wrap(G,k);let x=W.doc.resolve(E-1).nodeBefore;return x&&x.type==S&&(0,o.Mn)(W.doc,E-1)&&(!s||s(m,x))&&W.join(E-1),W})}function C(A,S,T=null){return new n(A,(s,v,m,E)=>{let I=s.doc.resolve(m),L=T instanceof Function?T(v):T;return I.node(-1).canReplaceWith(I.index(-1),I.indexAfter(-1),S)?s.tr.delete(m,E).setBlockType(m,m,S,L):null})}},961559:function(b,l,e){"use strict";e.d(l,{$:()=>f,h:()=>u});var r=e(335842),o=e(76002);const n=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function a(d){let h=d.split(/-(?!$)/),g=h[h.length-1];g=="Space"&&(g=" ");let _,p,y,O;for(let P=0;P<h.length-1;P++){let C=h[P];if(/^(cmd|meta|m)$/i.test(C))O=!0;else if(/^a(lt)?$/i.test(C))_=!0;else if(/^(c|ctrl|control)$/i.test(C))p=!0;else if(/^s(hift)?$/i.test(C))y=!0;else if(/^mod$/i.test(C))n?O=!0:p=!0;else throw new Error("Unrecognized modifier name: "+C)}return _&&(g="Alt-"+g),p&&(g="Ctrl-"+g),O&&(g="Meta-"+g),y&&(g="Shift-"+g),g}function i(d){let h=Object.create(null);for(let g in d)h[a(g)]=d[g];return h}function c(d,h,g=!0){return h.altKey&&(d="Alt-"+d),h.ctrlKey&&(d="Ctrl-"+d),h.metaKey&&(d="Meta-"+d),g&&h.shiftKey&&(d="Shift-"+d),d}function u(d){return new o.Sy({props:{handleKeyDown:f(d)}})}function f(d){let h=i(d);return function(g,_){let p=(0,r.YG)(_),y,O=h[c(p,_)];if(O&&O(g.state,g.dispatch,g))return!0;if(p.length==1&&p!=" "){if(_.shiftKey){let P=h[c(p,_,!1)];if(P&&P(g.state,g.dispatch,g))return!0}if((_.shiftKey||_.altKey||_.metaKey||p.charCodeAt(0)>127)&&(y=r.ue[_.keyCode])&&y!=p){let P=h[c(y,_)];if(P&&P(g.state,g.dispatch,g))return!0}}return!1}}},944537:function(b,l,e){"use strict";e.d(l,{Jq:()=>fe,aw:()=>ge,NB:()=>k,sI:()=>B,p2:()=>g,Ts:()=>F,ZU:()=>z,e4:()=>h,vc:()=>d,PW:()=>Ie,HY:()=>i,ZQ:()=>E,V_:()=>_e});function r(rt){this.content=rt}r.prototype={constructor:r,find:function(rt){for(var ce=0;ce<this.content.length;ce+=2)if(this.content[ce]===rt)return ce;return-1},get:function(rt){var ce=this.find(rt);return ce==-1?void 0:this.content[ce+1]},update:function(rt,ce,Re){var nt=Re&&Re!=rt?this.remove(Re):this,st=nt.find(rt),vt=nt.content.slice();return st==-1?vt.push(Re||rt,ce):(vt[st+1]=ce,Re&&(vt[st]=Re)),new r(vt)},remove:function(rt){var ce=this.find(rt);if(ce==-1)return this;var Re=this.content.slice();return Re.splice(ce,2),new r(Re)},addToStart:function(rt,ce){return new r([rt,ce].concat(this.remove(rt).content))},addToEnd:function(rt,ce){var Re=this.remove(rt).content.slice();return Re.push(rt,ce),new r(Re)},addBefore:function(rt,ce,Re){var nt=this.remove(ce),st=nt.content.slice(),vt=nt.find(rt);return st.splice(vt==-1?st.length:vt,0,ce,Re),new r(st)},forEach:function(rt){for(var ce=0;ce<this.content.length;ce+=2)rt(this.content[ce],this.content[ce+1])},prepend:function(rt){return rt=r.from(rt),rt.size?new r(rt.content.concat(this.subtract(rt).content)):this},append:function(rt){return rt=r.from(rt),rt.size?new r(this.subtract(rt).content.concat(rt.content)):this},subtract:function(rt){var ce=this;rt=r.from(rt);for(var Re=0;Re<rt.content.length;Re+=2)ce=ce.remove(rt.content[Re]);return ce},toObject:function(){var rt={};return this.forEach(function(ce,Re){rt[ce]=Re}),rt},get size(){return this.content.length>>1}},r.from=function(rt){if(rt instanceof r)return rt;var ce=[];if(rt)for(var Re in rt)ce.push(Re,rt[Re]);return new r(ce)};const o=r;function n(rt,ce,Re){for(let nt=0;;nt++){if(nt==rt.childCount||nt==ce.childCount)return rt.childCount==ce.childCount?null:Re;let st=rt.child(nt),vt=ce.child(nt);if(st==vt){Re+=st.nodeSize;continue}if(!st.sameMarkup(vt))return Re;if(st.isText&&st.text!=vt.text){for(let ze=0;st.text[ze]==vt.text[ze];ze++)Re++;return Re}if(st.content.size||vt.content.size){let ze=n(st.content,vt.content,Re+1);if(ze!=null)return ze}Re+=st.nodeSize}}function a(rt,ce,Re,nt){for(let st=rt.childCount,vt=ce.childCount;;){if(st==0||vt==0)return st==vt?null:{a:Re,b:nt};let ze=rt.child(--st),It=ce.child(--vt),on=ze.nodeSize;if(ze==It){Re-=on,nt-=on;continue}if(!ze.sameMarkup(It))return{a:Re,b:nt};if(ze.isText&&ze.text!=It.text){let Pn=0,Yn=Math.min(ze.text.length,It.text.length);for(;Pn<Yn&&ze.text[ze.text.length-Pn-1]==It.text[It.text.length-Pn-1];)Pn++,Re--,nt--;return{a:Re,b:nt}}if(ze.content.size||It.content.size){let Pn=a(ze.content,It.content,Re-1,nt-1);if(Pn)return Pn}Re-=on,nt-=on}}class i{constructor(ce,Re){if(this.content=ce,this.size=Re||0,Re==null)for(let nt=0;nt<ce.length;nt++)this.size+=ce[nt].nodeSize}nodesBetween(ce,Re,nt,st=0,vt){for(let ze=0,It=0;It<Re;ze++){let on=this.content[ze],Pn=It+on.nodeSize;if(Pn>ce&&nt(on,st+It,vt||null,ze)!==!1&&on.content.size){let Yn=It+1;on.nodesBetween(Math.max(0,ce-Yn),Math.min(on.content.size,Re-Yn),nt,st+Yn)}It=Pn}}descendants(ce){this.nodesBetween(0,this.size,ce)}textBetween(ce,Re,nt,st){let vt="",ze=!0;return this.nodesBetween(ce,Re,(It,on)=>{It.isText?(vt+=It.text.slice(Math.max(ce,on)-on,Re-on),ze=!nt):It.isLeaf?(st?vt+=typeof st=="function"?st(It):st:It.type.spec.leafText&&(vt+=It.type.spec.leafText(It)),ze=!nt):!ze&&It.isBlock&&(vt+=nt,ze=!0)},0),vt}append(ce){if(!ce.size)return this;if(!this.size)return ce;let Re=this.lastChild,nt=ce.firstChild,st=this.content.slice(),vt=0;for(Re.isText&&Re.sameMarkup(nt)&&(st[st.length-1]=Re.withText(Re.text+nt.text),vt=1);vt<ce.content.length;vt++)st.push(ce.content[vt]);return new i(st,this.size+ce.size)}cut(ce,Re=this.size){if(ce==0&&Re==this.size)return this;let nt=[],st=0;if(Re>ce)for(let vt=0,ze=0;ze<Re;vt++){let It=this.content[vt],on=ze+It.nodeSize;on>ce&&((ze<ce||on>Re)&&(It.isText?It=It.cut(Math.max(0,ce-ze),Math.min(It.text.length,Re-ze)):It=It.cut(Math.max(0,ce-ze-1),Math.min(It.content.size,Re-ze-1))),nt.push(It),st+=It.nodeSize),ze=on}return new i(nt,st)}cutByIndex(ce,Re){return ce==Re?i.empty:ce==0&&Re==this.content.length?this:new i(this.content.slice(ce,Re))}replaceChild(ce,Re){let nt=this.content[ce];if(nt==Re)return this;let st=this.content.slice(),vt=this.size+Re.nodeSize-nt.nodeSize;return st[ce]=Re,new i(st,vt)}addToStart(ce){return new i([ce].concat(this.content),this.size+ce.nodeSize)}addToEnd(ce){return new i(this.content.concat(ce),this.size+ce.nodeSize)}eq(ce){if(this.content.length!=ce.content.length)return!1;for(let Re=0;Re<this.content.length;Re++)if(!this.content[Re].eq(ce.content[Re]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(ce){let Re=this.content[ce];if(!Re)throw new RangeError("Index "+ce+" out of range for "+this);return Re}maybeChild(ce){return this.content[ce]||null}forEach(ce){for(let Re=0,nt=0;Re<this.content.length;Re++){let st=this.content[Re];ce(st,nt,Re),nt+=st.nodeSize}}findDiffStart(ce,Re=0){return n(this,ce,Re)}findDiffEnd(ce,Re=this.size,nt=ce.size){return a(this,ce,Re,nt)}findIndex(ce,Re=-1){if(ce==0)return u(0,ce);if(ce==this.size)return u(this.content.length,ce);if(ce>this.size||ce<0)throw new RangeError(`Position ${ce} outside of fragment (${this})`);for(let nt=0,st=0;;nt++){let vt=this.child(nt),ze=st+vt.nodeSize;if(ze>=ce)return ze==ce||Re>0?u(nt+1,ze):u(nt,st);st=ze}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(ce=>ce.toJSON()):null}static fromJSON(ce,Re){if(!Re)return i.empty;if(!Array.isArray(Re))throw new RangeError("Invalid input for Fragment.fromJSON");return new i(Re.map(ce.nodeFromJSON))}static fromArray(ce){if(!ce.length)return i.empty;let Re,nt=0;for(let st=0;st<ce.length;st++){let vt=ce[st];nt+=vt.nodeSize,st&&vt.isText&&ce[st-1].sameMarkup(vt)?(Re||(Re=ce.slice(0,st)),Re[Re.length-1]=vt.withText(Re[Re.length-1].text+vt.text)):Re&&Re.push(vt)}return new i(Re||ce,nt)}static from(ce){if(!ce)return i.empty;if(ce instanceof i)return ce;if(Array.isArray(ce))return this.fromArray(ce);if(ce.attrs)return new i([ce],ce.nodeSize);throw new RangeError("Can not convert "+ce+" to a Fragment"+(ce.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}i.empty=new i([],0);const c={index:0,offset:0};function u(rt,ce){return c.index=rt,c.offset=ce,c}function f(rt,ce){if(rt===ce)return!0;if(!(rt&&typeof rt=="object")||!(ce&&typeof ce=="object"))return!1;let Re=Array.isArray(rt);if(Array.isArray(ce)!=Re)return!1;if(Re){if(rt.length!=ce.length)return!1;for(let nt=0;nt<rt.length;nt++)if(!f(rt[nt],ce[nt]))return!1}else{for(let nt in rt)if(!(nt in ce)||!f(rt[nt],ce[nt]))return!1;for(let nt in ce)if(!(nt in rt))return!1}return!0}class d{constructor(ce,Re){this.type=ce,this.attrs=Re}addToSet(ce){let Re,nt=!1;for(let st=0;st<ce.length;st++){let vt=ce[st];if(this.eq(vt))return ce;if(this.type.excludes(vt.type))Re||(Re=ce.slice(0,st));else{if(vt.type.excludes(this.type))return ce;!nt&&vt.type.rank>this.type.rank&&(Re||(Re=ce.slice(0,st)),Re.push(this),nt=!0),Re&&Re.push(vt)}}return Re||(Re=ce.slice()),nt||Re.push(this),Re}removeFromSet(ce){for(let Re=0;Re<ce.length;Re++)if(this.eq(ce[Re]))return ce.slice(0,Re).concat(ce.slice(Re+1));return ce}isInSet(ce){for(let Re=0;Re<ce.length;Re++)if(this.eq(ce[Re]))return!0;return!1}eq(ce){return this==ce||this.type==ce.type&&f(this.attrs,ce.attrs)}toJSON(){let ce={type:this.type.name};for(let Re in this.attrs){ce.attrs=this.attrs;break}return ce}static fromJSON(ce,Re){if(!Re)throw new RangeError("Invalid input for Mark.fromJSON");let nt=ce.marks[Re.type];if(!nt)throw new RangeError(`There is no mark type ${Re.type} in this schema`);return nt.create(Re.attrs)}static sameSet(ce,Re){if(ce==Re)return!0;if(ce.length!=Re.length)return!1;for(let nt=0;nt<ce.length;nt++)if(!ce[nt].eq(Re[nt]))return!1;return!0}static setFrom(ce){if(!ce||Array.isArray(ce)&&ce.length==0)return d.none;if(ce instanceof d)return[ce];let Re=ce.slice();return Re.sort((nt,st)=>nt.type.rank-st.type.rank),Re}}d.none=[];class h extends Error{}class g{constructor(ce,Re,nt){this.content=ce,this.openStart=Re,this.openEnd=nt}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(ce,Re){let nt=p(this.content,ce+this.openStart,Re);return nt&&new g(nt,this.openStart,this.openEnd)}removeBetween(ce,Re){return new g(_(this.content,ce+this.openStart,Re+this.openStart),this.openStart,this.openEnd)}eq(ce){return this.content.eq(ce.content)&&this.openStart==ce.openStart&&this.openEnd==ce.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let ce={content:this.content.toJSON()};return this.openStart>0&&(ce.openStart=this.openStart),this.openEnd>0&&(ce.openEnd=this.openEnd),ce}static fromJSON(ce,Re){if(!Re)return g.empty;let nt=Re.openStart||0,st=Re.openEnd||0;if(typeof nt!="number"||typeof st!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new g(i.fromJSON(ce,Re.content),nt,st)}static maxOpen(ce,Re=!0){let nt=0,st=0;for(let vt=ce.firstChild;vt&&!vt.isLeaf&&(Re||!vt.type.spec.isolating);vt=vt.firstChild)nt++;for(let vt=ce.lastChild;vt&&!vt.isLeaf&&(Re||!vt.type.spec.isolating);vt=vt.lastChild)st++;return new g(ce,nt,st)}}g.empty=new g(i.empty,0,0);function _(rt,ce,Re){let{index:nt,offset:st}=rt.findIndex(ce),vt=rt.maybeChild(nt),{index:ze,offset:It}=rt.findIndex(Re);if(st==ce||vt.isText){if(It!=Re&&!rt.child(ze).isText)throw new RangeError("Removing non-flat range");return rt.cut(0,ce).append(rt.cut(Re))}if(nt!=ze)throw new RangeError("Removing non-flat range");return rt.replaceChild(nt,vt.copy(_(vt.content,ce-st-1,Re-st-1)))}function p(rt,ce,Re,nt){let{index:st,offset:vt}=rt.findIndex(ce),ze=rt.maybeChild(st);if(vt==ce||ze.isText)return nt&&!nt.canReplace(st,st,Re)?null:rt.cut(0,ce).append(Re).append(rt.cut(ce));let It=p(ze.content,ce-vt-1,Re);return It&&rt.replaceChild(st,ze.copy(It))}function y(rt,ce,Re){if(Re.openStart>rt.depth)throw new h("Inserted content deeper than insertion position");if(rt.depth-Re.openStart!=ce.depth-Re.openEnd)throw new h("Inconsistent open depths");return O(rt,ce,Re,0)}function O(rt,ce,Re,nt){let st=rt.index(nt),vt=rt.node(nt);if(st==ce.index(nt)&&nt<rt.depth-Re.openStart){let ze=O(rt,ce,Re,nt+1);return vt.copy(vt.content.replaceChild(st,ze))}else if(Re.content.size)if(!Re.openStart&&!Re.openEnd&&rt.depth==nt&&ce.depth==nt){let ze=rt.parent,It=ze.content;return T(ze,It.cut(0,rt.parentOffset).append(Re.content).append(It.cut(ce.parentOffset)))}else{let{start:ze,end:It}=m(Re,rt);return T(vt,s(rt,ze,It,ce,nt))}else return T(vt,v(rt,ce,nt))}function P(rt,ce){if(!ce.type.compatibleContent(rt.type))throw new h("Cannot join "+ce.type.name+" onto "+rt.type.name)}function C(rt,ce,Re){let nt=rt.node(Re);return P(nt,ce.node(Re)),nt}function A(rt,ce){let Re=ce.length-1;Re>=0&&rt.isText&&rt.sameMarkup(ce[Re])?ce[Re]=rt.withText(ce[Re].text+rt.text):ce.push(rt)}function S(rt,ce,Re,nt){let st=(ce||rt).node(Re),vt=0,ze=ce?ce.index(Re):st.childCount;rt&&(vt=rt.index(Re),rt.depth>Re?vt++:rt.textOffset&&(A(rt.nodeAfter,nt),vt++));for(let It=vt;It<ze;It++)A(st.child(It),nt);ce&&ce.depth==Re&&ce.textOffset&&A(ce.nodeBefore,nt)}function T(rt,ce){return rt.type.checkContent(ce),rt.copy(ce)}function s(rt,ce,Re,nt,st){let vt=rt.depth>st&&C(rt,ce,st+1),ze=nt.depth>st&&C(Re,nt,st+1),It=[];return S(null,rt,st,It),vt&&ze&&ce.index(st)==Re.index(st)?(P(vt,ze),A(T(vt,s(rt,ce,Re,nt,st+1)),It)):(vt&&A(T(vt,v(rt,ce,st+1)),It),S(ce,Re,st,It),ze&&A(T(ze,v(Re,nt,st+1)),It)),S(nt,null,st,It),new i(It)}function v(rt,ce,Re){let nt=[];if(S(null,rt,Re,nt),rt.depth>Re){let st=C(rt,ce,Re+1);A(T(st,v(rt,ce,Re+1)),nt)}return S(ce,null,Re,nt),new i(nt)}function m(rt,ce){let Re=ce.depth-rt.openStart,st=ce.node(Re).copy(rt.content);for(let vt=Re-1;vt>=0;vt--)st=ce.node(vt).copy(i.from(st));return{start:st.resolveNoCache(rt.openStart+Re),end:st.resolveNoCache(st.content.size-rt.openEnd-Re)}}class E{constructor(ce,Re,nt){this.pos=ce,this.path=Re,this.parentOffset=nt,this.depth=Re.length/3-1}resolveDepth(ce){return ce==null?this.depth:ce<0?this.depth+ce:ce}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(ce){return this.path[this.resolveDepth(ce)*3]}index(ce){return this.path[this.resolveDepth(ce)*3+1]}indexAfter(ce){return ce=this.resolveDepth(ce),this.index(ce)+(ce==this.depth&&!this.textOffset?0:1)}start(ce){return ce=this.resolveDepth(ce),ce==0?0:this.path[ce*3-1]+1}end(ce){return ce=this.resolveDepth(ce),this.start(ce)+this.node(ce).content.size}before(ce){if(ce=this.resolveDepth(ce),!ce)throw new RangeError("There is no position before the top-level node");return ce==this.depth+1?this.pos:this.path[ce*3-1]}after(ce){if(ce=this.resolveDepth(ce),!ce)throw new RangeError("There is no position after the top-level node");return ce==this.depth+1?this.pos:this.path[ce*3-1]+this.path[ce*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let ce=this.parent,Re=this.index(this.depth);if(Re==ce.childCount)return null;let nt=this.pos-this.path[this.path.length-1],st=ce.child(Re);return nt?ce.child(Re).cut(nt):st}get nodeBefore(){let ce=this.index(this.depth),Re=this.pos-this.path[this.path.length-1];return Re?this.parent.child(ce).cut(0,Re):ce==0?null:this.parent.child(ce-1)}posAtIndex(ce,Re){Re=this.resolveDepth(Re);let nt=this.path[Re*3],st=Re==0?0:this.path[Re*3-1]+1;for(let vt=0;vt<ce;vt++)st+=nt.child(vt).nodeSize;return st}marks(){let ce=this.parent,Re=this.index();if(ce.content.size==0)return d.none;if(this.textOffset)return ce.child(Re).marks;let nt=ce.maybeChild(Re-1),st=ce.maybeChild(Re);if(!nt){let It=nt;nt=st,st=It}let vt=nt.marks;for(var ze=0;ze<vt.length;ze++)vt[ze].type.spec.inclusive===!1&&(!st||!vt[ze].isInSet(st.marks))&&(vt=vt[ze--].removeFromSet(vt));return vt}marksAcross(ce){let Re=this.parent.maybeChild(this.index());if(!Re||!Re.isInline)return null;let nt=Re.marks,st=ce.parent.maybeChild(ce.index());for(var vt=0;vt<nt.length;vt++)nt[vt].type.spec.inclusive===!1&&(!st||!nt[vt].isInSet(st.marks))&&(nt=nt[vt--].removeFromSet(nt));return nt}sharedDepth(ce){for(let Re=this.depth;Re>0;Re--)if(this.start(Re)<=ce&&this.end(Re)>=ce)return Re;return 0}blockRange(ce=this,Re){if(ce.pos<this.pos)return ce.blockRange(this);for(let nt=this.depth-(this.parent.inlineContent||this.pos==ce.pos?1:0);nt>=0;nt--)if(ce.pos<=this.end(nt)&&(!Re||Re(this.node(nt))))return new F(this,ce,nt);return null}sameParent(ce){return this.pos-this.parentOffset==ce.pos-ce.parentOffset}max(ce){return ce.pos>this.pos?ce:this}min(ce){return ce.pos<this.pos?ce:this}toString(){let ce="";for(let Re=1;Re<=this.depth;Re++)ce+=(ce?"/":"")+this.node(Re).type.name+"_"+this.index(Re-1);return ce+":"+this.parentOffset}static resolve(ce,Re){if(!(Re>=0&&Re<=ce.content.size))throw new RangeError("Position "+Re+" out of range");let nt=[],st=0,vt=Re;for(let ze=ce;;){let{index:It,offset:on}=ze.content.findIndex(vt),Pn=vt-on;if(nt.push(ze,It,st+on),!Pn||(ze=ze.child(It),ze.isText))break;vt=Pn-1,st+=on+1}return new E(Re,nt,vt)}static resolveCached(ce,Re){for(let st=0;st<I.length;st++){let vt=I[st];if(vt.pos==Re&&vt.doc==ce)return vt}let nt=I[L]=E.resolve(ce,Re);return L=(L+1)%W,nt}}let I=[],L=0,W=12;class F{constructor(ce,Re,nt){this.$from=ce,this.$to=Re,this.depth=nt}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const G=Object.create(null);class k{constructor(ce,Re,nt,st=d.none){this.type=ce,this.attrs=Re,this.marks=st,this.content=nt||i.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(ce){return this.content.child(ce)}maybeChild(ce){return this.content.maybeChild(ce)}forEach(ce){this.content.forEach(ce)}nodesBetween(ce,Re,nt,st=0){this.content.nodesBetween(ce,Re,nt,st,this)}descendants(ce){this.nodesBetween(0,this.content.size,ce)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(ce,Re,nt,st){return this.content.textBetween(ce,Re,nt,st)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(ce){return this==ce||this.sameMarkup(ce)&&this.content.eq(ce.content)}sameMarkup(ce){return this.hasMarkup(ce.type,ce.attrs,ce.marks)}hasMarkup(ce,Re,nt){return this.type==ce&&f(this.attrs,Re||ce.defaultAttrs||G)&&d.sameSet(this.marks,nt||d.none)}copy(ce=null){return ce==this.content?this:new k(this.type,this.attrs,ce,this.marks)}mark(ce){return ce==this.marks?this:new k(this.type,this.attrs,this.content,ce)}cut(ce,Re=this.content.size){return ce==0&&Re==this.content.size?this:this.copy(this.content.cut(ce,Re))}slice(ce,Re=this.content.size,nt=!1){if(ce==Re)return g.empty;let st=this.resolve(ce),vt=this.resolve(Re),ze=nt?0:st.sharedDepth(Re),It=st.start(ze),Pn=st.node(ze).content.cut(st.pos-It,vt.pos-It);return new g(Pn,st.depth-ze,vt.depth-ze)}replace(ce,Re,nt){return y(this.resolve(ce),this.resolve(Re),nt)}nodeAt(ce){for(let Re=this;;){let{index:nt,offset:st}=Re.content.findIndex(ce);if(Re=Re.maybeChild(nt),!Re)return null;if(st==ce||Re.isText)return Re;ce-=st+1}}childAfter(ce){let{index:Re,offset:nt}=this.content.findIndex(ce);return{node:this.content.maybeChild(Re),index:Re,offset:nt}}childBefore(ce){if(ce==0)return{node:null,index:0,offset:0};let{index:Re,offset:nt}=this.content.findIndex(ce);if(nt<ce)return{node:this.content.child(Re),index:Re,offset:nt};let st=this.content.child(Re-1);return{node:st,index:Re-1,offset:nt-st.nodeSize}}resolve(ce){return E.resolveCached(this,ce)}resolveNoCache(ce){return E.resolve(this,ce)}rangeHasMark(ce,Re,nt){let st=!1;return Re>ce&&this.nodesBetween(ce,Re,vt=>(nt.isInSet(vt.marks)&&(st=!0),!st)),st}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let ce=this.type.name;return this.content.size&&(ce+="("+this.content.toStringInner()+")"),M(this.marks,ce)}contentMatchAt(ce){let Re=this.type.contentMatch.matchFragment(this.content,0,ce);if(!Re)throw new Error("Called contentMatchAt on a node with invalid content");return Re}canReplace(ce,Re,nt=i.empty,st=0,vt=nt.childCount){let ze=this.contentMatchAt(ce).matchFragment(nt,st,vt),It=ze&&ze.matchFragment(this.content,Re);if(!It||!It.validEnd)return!1;for(let on=st;on<vt;on++)if(!this.type.allowsMarks(nt.child(on).marks))return!1;return!0}canReplaceWith(ce,Re,nt,st){if(st&&!this.type.allowsMarks(st))return!1;let vt=this.contentMatchAt(ce).matchType(nt),ze=vt&&vt.matchFragment(this.content,Re);return ze?ze.validEnd:!1}canAppend(ce){return ce.content.size?this.canReplace(this.childCount,this.childCount,ce.content):this.type.compatibleContent(ce.type)}check(){this.type.checkContent(this.content);let ce=d.none;for(let Re=0;Re<this.marks.length;Re++)ce=this.marks[Re].addToSet(ce);if(!d.sameSet(ce,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(Re=>Re.type.name)}`);this.content.forEach(Re=>Re.check())}toJSON(){let ce={type:this.type.name};for(let Re in this.attrs){ce.attrs=this.attrs;break}return this.content.size&&(ce.content=this.content.toJSON()),this.marks.length&&(ce.marks=this.marks.map(Re=>Re.toJSON())),ce}static fromJSON(ce,Re){if(!Re)throw new RangeError("Invalid input for Node.fromJSON");let nt=null;if(Re.marks){if(!Array.isArray(Re.marks))throw new RangeError("Invalid mark data for Node.fromJSON");nt=Re.marks.map(ce.markFromJSON)}if(Re.type=="text"){if(typeof Re.text!="string")throw new RangeError("Invalid text node in JSON");return ce.text(Re.text,nt)}let st=i.fromJSON(ce,Re.content);return ce.nodeType(Re.type).create(Re.attrs,st,nt)}}k.prototype.text=void 0;class x extends k{constructor(ce,Re,nt,st){if(super(ce,Re,null,st),!nt)throw new RangeError("Empty text nodes are not allowed");this.text=nt}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):M(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(ce,Re){return this.text.slice(ce,Re)}get nodeSize(){return this.text.length}mark(ce){return ce==this.marks?this:new x(this.type,this.attrs,this.text,ce)}withText(ce){return ce==this.text?this:new x(this.type,this.attrs,ce,this.marks)}cut(ce=0,Re=this.text.length){return ce==0&&Re==this.text.length?this:this.withText(this.text.slice(ce,Re))}eq(ce){return this.sameMarkup(ce)&&this.text==ce.text}toJSON(){let ce=super.toJSON();return ce.text=this.text,ce}}function M(rt,ce){for(let Re=rt.length-1;Re>=0;Re--)ce=rt[Re].type.name+"("+ce+")";return ce}class B{constructor(ce){this.validEnd=ce,this.next=[],this.wrapCache=[]}static parse(ce,Re){let nt=new R(ce,Re);if(nt.next==null)return B.empty;let st=U(nt);nt.next&&nt.err("Unexpected trailing text");let vt=J(pe(st));return me(vt,nt),vt}matchType(ce){for(let Re=0;Re<this.next.length;Re++)if(this.next[Re].type==ce)return this.next[Re].next;return null}matchFragment(ce,Re=0,nt=ce.childCount){let st=this;for(let vt=Re;st&&vt<nt;vt++)st=st.matchType(ce.child(vt).type);return st}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let ce=0;ce<this.next.length;ce++){let{type:Re}=this.next[ce];if(!(Re.isText||Re.hasRequiredAttrs()))return Re}return null}compatible(ce){for(let Re=0;Re<this.next.length;Re++)for(let nt=0;nt<ce.next.length;nt++)if(this.next[Re].type==ce.next[nt].type)return!0;return!1}fillBefore(ce,Re=!1,nt=0){let st=[this];function vt(ze,It){let on=ze.matchFragment(ce,nt);if(on&&(!Re||on.validEnd))return i.from(It.map(Pn=>Pn.createAndFill()));for(let Pn=0;Pn<ze.next.length;Pn++){let{type:Yn,next:Ln}=ze.next[Pn];if(!(Yn.isText||Yn.hasRequiredAttrs())&&st.indexOf(Ln)==-1){st.push(Ln);let bn=vt(Ln,It.concat(Yn));if(bn)return bn}}return null}return vt(this,[])}findWrapping(ce){for(let nt=0;nt<this.wrapCache.length;nt+=2)if(this.wrapCache[nt]==ce)return this.wrapCache[nt+1];let Re=this.computeWrapping(ce);return this.wrapCache.push(ce,Re),Re}computeWrapping(ce){let Re=Object.create(null),nt=[{match:this,type:null,via:null}];for(;nt.length;){let st=nt.shift(),vt=st.match;if(vt.matchType(ce)){let ze=[];for(let It=st;It.type;It=It.via)ze.push(It.type);return ze.reverse()}for(let ze=0;ze<vt.next.length;ze++){let{type:It,next:on}=vt.next[ze];!It.isLeaf&&!It.hasRequiredAttrs()&&!(It.name in Re)&&(!st.type||on.validEnd)&&(nt.push({match:It.contentMatch,type:It,via:st}),Re[It.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(ce){if(ce>=this.next.length)throw new RangeError(`There's no ${ce}th edge in this content match`);return this.next[ce]}toString(){let ce=[];function Re(nt){ce.push(nt);for(let st=0;st<nt.next.length;st++)ce.indexOf(nt.next[st].next)==-1&&Re(nt.next[st].next)}return Re(this),ce.map((nt,st)=>{let vt=st+(nt.validEnd?"*":" ")+" ";for(let ze=0;ze<nt.next.length;ze++)vt+=(ze?", ":"")+nt.next[ze].type.name+"->"+ce.indexOf(nt.next[ze].next);return vt}).join(`
`)}}B.empty=new B(!0);class R{constructor(ce,Re){this.string=ce,this.nodeTypes=Re,this.inline=null,this.pos=0,this.tokens=ce.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(ce){return this.next==ce&&(this.pos++||!0)}err(ce){throw new SyntaxError(ce+" (in content expression '"+this.string+"')")}}function U(rt){let ce=[];do ce.push(j(rt));while(rt.eat("|"));return ce.length==1?ce[0]:{type:"choice",exprs:ce}}function j(rt){let ce=[];do ce.push($(rt));while(rt.next&&rt.next!=")"&&rt.next!="|");return ce.length==1?ce[0]:{type:"seq",exprs:ce}}function $(rt){let ce=ne(rt);for(;;)if(rt.eat("+"))ce={type:"plus",expr:ce};else if(rt.eat("*"))ce={type:"star",expr:ce};else if(rt.eat("?"))ce={type:"opt",expr:ce};else if(rt.eat("{"))ce=te(rt,ce);else break;return ce}function ee(rt){/\D/.test(rt.next)&&rt.err("Expected number, got '"+rt.next+"'");let ce=Number(rt.next);return rt.pos++,ce}function te(rt,ce){let Re=ee(rt),nt=Re;return rt.eat(",")&&(rt.next!="}"?nt=ee(rt):nt=-1),rt.eat("}")||rt.err("Unclosed braced range"),{type:"range",min:Re,max:nt,expr:ce}}function ie(rt,ce){let Re=rt.nodeTypes,nt=Re[ce];if(nt)return[nt];let st=[];for(let vt in Re){let ze=Re[vt];ze.groups.indexOf(ce)>-1&&st.push(ze)}return st.length==0&&rt.err("No node type or group '"+ce+"' found"),st}function ne(rt){if(rt.eat("(")){let ce=U(rt);return rt.eat(")")||rt.err("Missing closing paren"),ce}else if(/\W/.test(rt.next))rt.err("Unexpected token '"+rt.next+"'");else{let ce=ie(rt,rt.next).map(Re=>(rt.inline==null?rt.inline=Re.isInline:rt.inline!=Re.isInline&&rt.err("Mixing inline and block content"),{type:"name",value:Re}));return rt.pos++,ce.length==1?ce[0]:{type:"choice",exprs:ce}}}function pe(rt){let ce=[[]];return st(vt(rt,0),Re()),ce;function Re(){return ce.push([])-1}function nt(ze,It,on){let Pn={term:on,to:It};return ce[ze].push(Pn),Pn}function st(ze,It){ze.forEach(on=>on.to=It)}function vt(ze,It){if(ze.type=="choice")return ze.exprs.reduce((on,Pn)=>on.concat(vt(Pn,It)),[]);if(ze.type=="seq")for(let on=0;;on++){let Pn=vt(ze.exprs[on],It);if(on==ze.exprs.length-1)return Pn;st(Pn,It=Re())}else if(ze.type=="star"){let on=Re();return nt(It,on),st(vt(ze.expr,on),on),[nt(on)]}else if(ze.type=="plus"){let on=Re();return st(vt(ze.expr,It),on),st(vt(ze.expr,on),on),[nt(on)]}else{if(ze.type=="opt")return[nt(It)].concat(vt(ze.expr,It));if(ze.type=="range"){let on=It;for(let Pn=0;Pn<ze.min;Pn++){let Yn=Re();st(vt(ze.expr,on),Yn),on=Yn}if(ze.max==-1)st(vt(ze.expr,on),on);else for(let Pn=ze.min;Pn<ze.max;Pn++){let Yn=Re();nt(on,Yn),st(vt(ze.expr,on),Yn),on=Yn}return[nt(on)]}else{if(ze.type=="name")return[nt(It,void 0,ze.value)];throw new Error("Unknown expr type")}}}}function oe(rt,ce){return ce-rt}function q(rt,ce){let Re=[];return nt(ce),Re.sort(oe);function nt(st){let vt=rt[st];if(vt.length==1&&!vt[0].term)return nt(vt[0].to);Re.push(st);for(let ze=0;ze<vt.length;ze++){let{term:It,to:on}=vt[ze];!It&&Re.indexOf(on)==-1&&nt(on)}}}function J(rt){let ce=Object.create(null);return Re(q(rt,0));function Re(nt){let st=[];nt.forEach(ze=>{rt[ze].forEach(({term:It,to:on})=>{if(!It)return;let Pn;for(let Yn=0;Yn<st.length;Yn++)st[Yn][0]==It&&(Pn=st[Yn][1]);q(rt,on).forEach(Yn=>{Pn||st.push([It,Pn=[]]),Pn.indexOf(Yn)==-1&&Pn.push(Yn)})})});let vt=ce[nt.join(",")]=new B(nt.indexOf(rt.length-1)>-1);for(let ze=0;ze<st.length;ze++){let It=st[ze][1].sort(oe);vt.next.push({type:st[ze][0],next:ce[It.join(",")]||Re(It)})}return vt}}function me(rt,ce){for(let Re=0,nt=[rt];Re<nt.length;Re++){let st=nt[Re],vt=!st.validEnd,ze=[];for(let It=0;It<st.next.length;It++){let{type:on,next:Pn}=st.next[It];ze.push(on.name),vt&&!(on.isText||on.hasRequiredAttrs())&&(vt=!1),nt.indexOf(Pn)==-1&&nt.push(Pn)}vt&&ce.err("Only non-generatable nodes ("+ze.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function re(rt){let ce=Object.create(null);for(let Re in rt){let nt=rt[Re];if(!nt.hasDefault)return null;ce[Re]=nt.default}return ce}function he(rt,ce){let Re=Object.create(null);for(let nt in rt){let st=ce&&ce[nt];if(st===void 0){let vt=rt[nt];if(vt.hasDefault)st=vt.default;else throw new RangeError("No value supplied for attribute "+nt)}Re[nt]=st}return Re}function Ee(rt){let ce=Object.create(null);if(rt)for(let Re in rt)ce[Re]=new H(rt[Re]);return ce}class fe{constructor(ce,Re,nt){this.name=ce,this.schema=Re,this.spec=nt,this.markSet=null,this.groups=nt.group?nt.group.split(" "):[],this.attrs=Ee(nt.attrs),this.defaultAttrs=re(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(nt.inline||ce=="text"),this.isText=ce=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==B.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let ce in this.attrs)if(this.attrs[ce].isRequired)return!0;return!1}compatibleContent(ce){return this==ce||this.contentMatch.compatible(ce.contentMatch)}computeAttrs(ce){return!ce&&this.defaultAttrs?this.defaultAttrs:he(this.attrs,ce)}create(ce=null,Re,nt){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new k(this,this.computeAttrs(ce),i.from(Re),d.setFrom(nt))}createChecked(ce=null,Re,nt){return Re=i.from(Re),this.checkContent(Re),new k(this,this.computeAttrs(ce),Re,d.setFrom(nt))}createAndFill(ce=null,Re,nt){if(ce=this.computeAttrs(ce),Re=i.from(Re),Re.size){let ze=this.contentMatch.fillBefore(Re);if(!ze)return null;Re=ze.append(Re)}let st=this.contentMatch.matchFragment(Re),vt=st&&st.fillBefore(i.empty,!0);return vt?new k(this,ce,Re.append(vt),d.setFrom(nt)):null}validContent(ce){let Re=this.contentMatch.matchFragment(ce);if(!Re||!Re.validEnd)return!1;for(let nt=0;nt<ce.childCount;nt++)if(!this.allowsMarks(ce.child(nt).marks))return!1;return!0}checkContent(ce){if(!this.validContent(ce))throw new RangeError(`Invalid content for node ${this.name}: ${ce.toString().slice(0,50)}`)}allowsMarkType(ce){return this.markSet==null||this.markSet.indexOf(ce)>-1}allowsMarks(ce){if(this.markSet==null)return!0;for(let Re=0;Re<ce.length;Re++)if(!this.allowsMarkType(ce[Re].type))return!1;return!0}allowedMarks(ce){if(this.markSet==null)return ce;let Re;for(let nt=0;nt<ce.length;nt++)this.allowsMarkType(ce[nt].type)?Re&&Re.push(ce[nt]):Re||(Re=ce.slice(0,nt));return Re?Re.length?Re:d.none:ce}static compile(ce,Re){let nt=Object.create(null);ce.forEach((vt,ze)=>nt[vt]=new fe(vt,Re,ze));let st=Re.spec.topNode||"doc";if(!nt[st])throw new RangeError("Schema is missing its top node type ('"+st+"')");if(!nt.text)throw new RangeError("Every schema needs a 'text' type");for(let vt in nt.text.attrs)throw new RangeError("The text node type should not have attributes");return nt}}class H{constructor(ce){this.hasDefault=Object.prototype.hasOwnProperty.call(ce,"default"),this.default=ce.default}get isRequired(){return!this.hasDefault}}class z{constructor(ce,Re,nt,st){this.name=ce,this.rank=Re,this.schema=nt,this.spec=st,this.attrs=Ee(st.attrs),this.excluded=null;let vt=re(this.attrs);this.instance=vt?new d(this,vt):null}create(ce=null){return!ce&&this.instance?this.instance:new d(this,he(this.attrs,ce))}static compile(ce,Re){let nt=Object.create(null),st=0;return ce.forEach((vt,ze)=>nt[vt]=new z(vt,st++,Re,ze)),nt}removeFromSet(ce){for(var Re=0;Re<ce.length;Re++)ce[Re].type==this&&(ce=ce.slice(0,Re).concat(ce.slice(Re+1)),Re--);return ce}isInSet(ce){for(let Re=0;Re<ce.length;Re++)if(ce[Re].type==this)return ce[Re]}excludes(ce){return this.excluded.indexOf(ce)>-1}}class _e{constructor(ce){this.cached=Object.create(null);let Re=this.spec={};for(let st in ce)Re[st]=ce[st];Re.nodes=o.from(ce.nodes),Re.marks=o.from(ce.marks||{}),this.nodes=fe.compile(this.spec.nodes,this),this.marks=z.compile(this.spec.marks,this);let nt=Object.create(null);for(let st in this.nodes){if(st in this.marks)throw new RangeError(st+" can not be both a node and a mark");let vt=this.nodes[st],ze=vt.spec.content||"",It=vt.spec.marks;vt.contentMatch=nt[ze]||(nt[ze]=B.parse(ze,this.nodes)),vt.inlineContent=vt.contentMatch.inlineContent,vt.markSet=It=="_"?null:It?ae(this,It.split(" ")):It==""||!vt.inlineContent?[]:null}for(let st in this.marks){let vt=this.marks[st],ze=vt.spec.excludes;vt.excluded=ze==null?[vt]:ze==""?[]:ae(this,ze.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(ce,Re=null,nt,st){if(typeof ce=="string")ce=this.nodeType(ce);else if(ce instanceof fe){if(ce.schema!=this)throw new RangeError("Node type from different schema used ("+ce.name+")")}else throw new RangeError("Invalid node type: "+ce);return ce.createChecked(Re,nt,st)}text(ce,Re){let nt=this.nodes.text;return new x(nt,nt.defaultAttrs,ce,d.setFrom(Re))}mark(ce,Re){return typeof ce=="string"&&(ce=this.marks[ce]),ce.create(Re)}nodeFromJSON(ce){return k.fromJSON(this,ce)}markFromJSON(ce){return d.fromJSON(this,ce)}nodeType(ce){let Re=this.nodes[ce];if(!Re)throw new RangeError("Unknown node type: "+ce);return Re}}function ae(rt,ce){let Re=[];for(let nt=0;nt<ce.length;nt++){let st=ce[nt],vt=rt.marks[st],ze=vt;if(vt)Re.push(vt);else for(let It in rt.marks){let on=rt.marks[It];(st=="_"||on.spec.group&&on.spec.group.split(" ").indexOf(st)>-1)&&Re.push(ze=on)}if(!ze)throw new SyntaxError("Unknown mark type: '"+ce[nt]+"'")}return Re}class ge{constructor(ce,Re){this.schema=ce,this.rules=Re,this.tags=[],this.styles=[],Re.forEach(nt=>{nt.tag?this.tags.push(nt):nt.style&&this.styles.push(nt)}),this.normalizeLists=!this.tags.some(nt=>{if(!/^(ul|ol)\b/.test(nt.tag)||!nt.node)return!1;let st=ce.nodes[nt.node];return st.contentMatch.matchType(st)})}parse(ce,Re={}){let nt=new ht(this,Re,!1);return nt.addAll(ce,Re.from,Re.to),nt.finish()}parseSlice(ce,Re={}){let nt=new ht(this,Re,!0);return nt.addAll(ce,Re.from,Re.to),g.maxOpen(nt.finish())}matchTag(ce,Re,nt){for(let st=nt?this.tags.indexOf(nt)+1:0;st<this.tags.length;st++){let vt=this.tags[st];if(Ce(ce,vt.tag)&&(vt.namespace===void 0||ce.namespaceURI==vt.namespace)&&(!vt.context||Re.matchesContext(vt.context))){if(vt.getAttrs){let ze=vt.getAttrs(ce);if(ze===!1)continue;vt.attrs=ze||void 0}return vt}}}matchStyle(ce,Re,nt,st){for(let vt=st?this.styles.indexOf(st)+1:0;vt<this.styles.length;vt++){let ze=this.styles[vt],It=ze.style;if(!(It.indexOf(ce)!=0||ze.context&&!nt.matchesContext(ze.context)||It.length>ce.length&&(It.charCodeAt(ce.length)!=61||It.slice(ce.length+1)!=Re))){if(ze.getAttrs){let on=ze.getAttrs(Re);if(on===!1)continue;ze.attrs=on||void 0}return ze}}}static schemaRules(ce){let Re=[];function nt(st){let vt=st.priority==null?50:st.priority,ze=0;for(;ze<Re.length;ze++){let It=Re[ze];if((It.priority==null?50:It.priority)<vt)break}Re.splice(ze,0,st)}for(let st in ce.marks){let vt=ce.marks[st].spec.parseDOM;vt&&vt.forEach(ze=>{nt(ze=$e(ze)),ze.mark||ze.ignore||ze.clearMark||(ze.mark=st)})}for(let st in ce.nodes){let vt=ce.nodes[st].spec.parseDOM;vt&&vt.forEach(ze=>{nt(ze=$e(ze)),ze.node||ze.ignore||ze.mark||(ze.node=st)})}return Re}static fromSchema(ce){return ce.cached.domParser||(ce.cached.domParser=new ge(ce,ge.schemaRules(ce)))}}const Be={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},Ke={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},He={ol:!0,ul:!0},ye=1,Le=2,Ue=4;function Xe(rt,ce,Re){return ce!=null?(ce?ye:0)|(ce==="full"?Le:0):rt&&rt.whitespace=="pre"?ye|Le:Re&~Ue}class Fe{constructor(ce,Re,nt,st,vt,ze,It){this.type=ce,this.attrs=Re,this.marks=nt,this.pendingMarks=st,this.solid=vt,this.options=It,this.content=[],this.activeMarks=d.none,this.stashMarks=[],this.match=ze||(It&Ue?null:ce.contentMatch)}findWrapping(ce){if(!this.match){if(!this.type)return[];let Re=this.type.contentMatch.fillBefore(i.from(ce));if(Re)this.match=this.type.contentMatch.matchFragment(Re);else{let nt=this.type.contentMatch,st;return(st=nt.findWrapping(ce.type))?(this.match=nt,st):null}}return this.match.findWrapping(ce.type)}finish(ce){if(!(this.options&ye)){let nt=this.content[this.content.length-1],st;if(nt&&nt.isText&&(st=/[ \t\r\n\u000c]+$/.exec(nt.text))){let vt=nt;nt.text.length==st[0].length?this.content.pop():this.content[this.content.length-1]=vt.withText(vt.text.slice(0,vt.text.length-st[0].length))}}let Re=i.from(this.content);return!ce&&this.match&&(Re=Re.append(this.match.fillBefore(i.empty,!0))),this.type?this.type.create(this.attrs,Re,this.marks):Re}popFromStashMark(ce){for(let Re=this.stashMarks.length-1;Re>=0;Re--)if(ce.eq(this.stashMarks[Re]))return this.stashMarks.splice(Re,1)[0]}applyPending(ce){for(let Re=0,nt=this.pendingMarks;Re<nt.length;Re++){let st=nt[Re];(this.type?this.type.allowsMarkType(st.type):Ot(st.type,ce))&&!st.isInSet(this.activeMarks)&&(this.activeMarks=st.addToSet(this.activeMarks),this.pendingMarks=st.removeFromSet(this.pendingMarks))}}inlineContext(ce){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:ce.parentNode&&!Be.hasOwnProperty(ce.parentNode.nodeName.toLowerCase())}}class ht{constructor(ce,Re,nt){this.parser=ce,this.options=Re,this.isOpen=nt,this.open=0;let st=Re.topNode,vt,ze=Xe(null,Re.preserveWhitespace,0)|(nt?Ue:0);st?vt=new Fe(st.type,st.attrs,d.none,d.none,!0,Re.topMatch||st.type.contentMatch,ze):nt?vt=new Fe(null,null,d.none,d.none,!0,null,ze):vt=new Fe(ce.schema.topNodeType,null,d.none,d.none,!0,null,ze),this.nodes=[vt],this.find=Re.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(ce){ce.nodeType==3?this.addTextNode(ce):ce.nodeType==1&&this.addElement(ce)}withStyleRules(ce,Re){let nt=ce.getAttribute("style");if(!nt)return Re();let st=this.readStyles(we(nt));if(!st)return;let[vt,ze]=st,It=this.top;for(let on=0;on<ze.length;on++)this.removePendingMark(ze[on],It);for(let on=0;on<vt.length;on++)this.addPendingMark(vt[on]);Re();for(let on=0;on<vt.length;on++)this.removePendingMark(vt[on],It);for(let on=0;on<ze.length;on++)this.addPendingMark(ze[on])}addTextNode(ce){let Re=ce.nodeValue,nt=this.top;if(nt.options&Le||nt.inlineContext(ce)||/[^ \t\r\n\u000c]/.test(Re)){if(nt.options&ye)nt.options&Le?Re=Re.replace(/\r\n?/g,`
`):Re=Re.replace(/\r?\n|\r/g," ");else if(Re=Re.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(Re)&&this.open==this.nodes.length-1){let st=nt.content[nt.content.length-1],vt=ce.previousSibling;(!st||vt&&vt.nodeName=="BR"||st.isText&&/[ \t\r\n\u000c]$/.test(st.text))&&(Re=Re.slice(1))}Re&&this.insertNode(this.parser.schema.text(Re)),this.findInText(ce)}else this.findInside(ce)}addElement(ce,Re){let nt=ce.nodeName.toLowerCase(),st;He.hasOwnProperty(nt)&&this.parser.normalizeLists&&Ne(ce);let vt=this.options.ruleFromNode&&this.options.ruleFromNode(ce)||(st=this.parser.matchTag(ce,this,Re));if(vt?vt.ignore:Ke.hasOwnProperty(nt))this.findInside(ce),this.ignoreFallback(ce);else if(!vt||vt.skip||vt.closeParent){vt&&vt.closeParent?this.open=Math.max(0,this.open-1):vt&&vt.skip.nodeType&&(ce=vt.skip);let ze,It=this.top,on=this.needsBlock;if(Be.hasOwnProperty(nt))It.content.length&&It.content[0].isInline&&this.open&&(this.open--,It=this.top),ze=!0,It.type||(this.needsBlock=!0);else if(!ce.firstChild){this.leafFallback(ce);return}vt&&vt.skip?this.addAll(ce):this.withStyleRules(ce,()=>this.addAll(ce)),ze&&this.sync(It),this.needsBlock=on}else this.withStyleRules(ce,()=>{this.addElementByRule(ce,vt,vt.consuming===!1?st:void 0)})}leafFallback(ce){ce.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(ce.ownerDocument.createTextNode(`
`))}ignoreFallback(ce){ce.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"))}readStyles(ce){let Re=d.none,nt=d.none;for(let st=0;st<ce.length;st+=2)for(let vt=void 0;;){let ze=this.parser.matchStyle(ce[st],ce[st+1],this,vt);if(!ze)break;if(ze.ignore)return null;if(ze.clearMark?this.top.pendingMarks.concat(this.top.activeMarks).forEach(It=>{ze.clearMark(It)&&(nt=It.addToSet(nt))}):Re=this.parser.schema.marks[ze.mark].create(ze.attrs).addToSet(Re),ze.consuming===!1)vt=ze;else break}return[Re,nt]}addElementByRule(ce,Re,nt){let st,vt,ze;Re.node?(vt=this.parser.schema.nodes[Re.node],vt.isLeaf?this.insertNode(vt.create(Re.attrs))||this.leafFallback(ce):st=this.enter(vt,Re.attrs||null,Re.preserveWhitespace)):(ze=this.parser.schema.marks[Re.mark].create(Re.attrs),this.addPendingMark(ze));let It=this.top;if(vt&&vt.isLeaf)this.findInside(ce);else if(nt)this.addElement(ce,nt);else if(Re.getContent)this.findInside(ce),Re.getContent(ce,this.parser.schema).forEach(on=>this.insertNode(on));else{let on=ce;typeof Re.contentElement=="string"?on=ce.querySelector(Re.contentElement):typeof Re.contentElement=="function"?on=Re.contentElement(ce):Re.contentElement&&(on=Re.contentElement),this.findAround(ce,on,!0),this.addAll(on)}st&&this.sync(It)&&this.open--,ze&&this.removePendingMark(ze,It)}addAll(ce,Re,nt){let st=Re||0;for(let vt=Re?ce.childNodes[Re]:ce.firstChild,ze=nt==null?null:ce.childNodes[nt];vt!=ze;vt=vt.nextSibling,++st)this.findAtPoint(ce,st),this.addDOM(vt);this.findAtPoint(ce,st)}findPlace(ce){let Re,nt;for(let st=this.open;st>=0;st--){let vt=this.nodes[st],ze=vt.findWrapping(ce);if(ze&&(!Re||Re.length>ze.length)&&(Re=ze,nt=vt,!ze.length)||vt.solid)break}if(!Re)return!1;this.sync(nt);for(let st=0;st<Re.length;st++)this.enterInner(Re[st],null,!1);return!0}insertNode(ce){if(ce.isInline&&this.needsBlock&&!this.top.type){let Re=this.textblockFromContext();Re&&this.enterInner(Re)}if(this.findPlace(ce)){this.closeExtra();let Re=this.top;Re.applyPending(ce.type),Re.match&&(Re.match=Re.match.matchType(ce.type));let nt=Re.activeMarks;for(let st=0;st<ce.marks.length;st++)(!Re.type||Re.type.allowsMarkType(ce.marks[st].type))&&(nt=ce.marks[st].addToSet(nt));return Re.content.push(ce.mark(nt)),!0}return!1}enter(ce,Re,nt){let st=this.findPlace(ce.create(Re));return st&&this.enterInner(ce,Re,!0,nt),st}enterInner(ce,Re=null,nt=!1,st){this.closeExtra();let vt=this.top;vt.applyPending(ce),vt.match=vt.match&&vt.match.matchType(ce);let ze=Xe(ce,st,vt.options);vt.options&Ue&&vt.content.length==0&&(ze|=Ue),this.nodes.push(new Fe(ce,Re,vt.activeMarks,vt.pendingMarks,nt,null,ze)),this.open++}closeExtra(ce=!1){let Re=this.nodes.length-1;if(Re>this.open){for(;Re>this.open;Re--)this.nodes[Re-1].content.push(this.nodes[Re].finish(ce));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(ce){for(let Re=this.open;Re>=0;Re--)if(this.nodes[Re]==ce)return this.open=Re,!0;return!1}get currentPos(){this.closeExtra();let ce=0;for(let Re=this.open;Re>=0;Re--){let nt=this.nodes[Re].content;for(let st=nt.length-1;st>=0;st--)ce+=nt[st].nodeSize;Re&&ce++}return ce}findAtPoint(ce,Re){if(this.find)for(let nt=0;nt<this.find.length;nt++)this.find[nt].node==ce&&this.find[nt].offset==Re&&(this.find[nt].pos=this.currentPos)}findInside(ce){if(this.find)for(let Re=0;Re<this.find.length;Re++)this.find[Re].pos==null&&ce.nodeType==1&&ce.contains(this.find[Re].node)&&(this.find[Re].pos=this.currentPos)}findAround(ce,Re,nt){if(ce!=Re&&this.find)for(let st=0;st<this.find.length;st++)this.find[st].pos==null&&ce.nodeType==1&&ce.contains(this.find[st].node)&&Re.compareDocumentPosition(this.find[st].node)&(nt?2:4)&&(this.find[st].pos=this.currentPos)}findInText(ce){if(this.find)for(let Re=0;Re<this.find.length;Re++)this.find[Re].node==ce&&(this.find[Re].pos=this.currentPos-(ce.nodeValue.length-this.find[Re].offset))}matchesContext(ce){if(ce.indexOf("|")>-1)return ce.split(/\s*\|\s*/).some(this.matchesContext,this);let Re=ce.split("/"),nt=this.options.context,st=!this.isOpen&&(!nt||nt.parent.type==this.nodes[0].type),vt=-(nt?nt.depth+1:0)+(st?0:1),ze=(It,on)=>{for(;It>=0;It--){let Pn=Re[It];if(Pn==""){if(It==Re.length-1||It==0)continue;for(;on>=vt;on--)if(ze(It-1,on))return!0;return!1}else{let Yn=on>0||on==0&&st?this.nodes[on].type:nt&&on>=vt?nt.node(on-vt).type:null;if(!Yn||Yn.name!=Pn&&Yn.groups.indexOf(Pn)==-1)return!1;on--}}return!0};return ze(Re.length-1,this.open)}textblockFromContext(){let ce=this.options.context;if(ce)for(let Re=ce.depth;Re>=0;Re--){let nt=ce.node(Re).contentMatchAt(ce.indexAfter(Re)).defaultType;if(nt&&nt.isTextblock&&nt.defaultAttrs)return nt}for(let Re in this.parser.schema.nodes){let nt=this.parser.schema.nodes[Re];if(nt.isTextblock&&nt.defaultAttrs)return nt}}addPendingMark(ce){let Re=Pt(ce,this.top.pendingMarks);Re&&this.top.stashMarks.push(Re),this.top.pendingMarks=ce.addToSet(this.top.pendingMarks)}removePendingMark(ce,Re){for(let nt=this.open;nt>=0;nt--){let st=this.nodes[nt];if(st.pendingMarks.lastIndexOf(ce)>-1)st.pendingMarks=ce.removeFromSet(st.pendingMarks);else{st.activeMarks=ce.removeFromSet(st.activeMarks);let ze=st.popFromStashMark(ce);ze&&st.type&&st.type.allowsMarkType(ze.type)&&(st.activeMarks=ze.addToSet(st.activeMarks))}if(st==Re)break}}}function Ne(rt){for(let ce=rt.firstChild,Re=null;ce;ce=ce.nextSibling){let nt=ce.nodeType==1?ce.nodeName.toLowerCase():null;nt&&He.hasOwnProperty(nt)&&Re?(Re.appendChild(ce),ce=Re):nt=="li"?Re=ce:nt&&(Re=null)}}function Ce(rt,ce){return(rt.matches||rt.msMatchesSelector||rt.webkitMatchesSelector||rt.mozMatchesSelector).call(rt,ce)}function we(rt){let ce=/\s*([\w-]+)\s*:\s*([^;]+)/g,Re,nt=[];for(;Re=ce.exec(rt);)nt.push(Re[1],Re[2].trim());return nt}function $e(rt){let ce={};for(let Re in rt)ce[Re]=rt[Re];return ce}function Ot(rt,ce){let Re=ce.schema.nodes;for(let nt in Re){let st=Re[nt];if(!st.allowsMarkType(rt))continue;let vt=[],ze=It=>{vt.push(It);for(let on=0;on<It.edgeCount;on++){let{type:Pn,next:Yn}=It.edge(on);if(Pn==ce||vt.indexOf(Yn)<0&&ze(Yn))return!0}};if(ze(st.contentMatch))return!0}}function Pt(rt,ce){for(let Re=0;Re<ce.length;Re++)if(rt.eq(ce[Re]))return ce[Re]}class Ie{constructor(ce,Re){this.nodes=ce,this.marks=Re}serializeFragment(ce,Re={},nt){nt||(nt=mt(Re).createDocumentFragment());let st=nt,vt=[];return ce.forEach(ze=>{if(vt.length||ze.marks.length){let It=0,on=0;for(;It<vt.length&&on<ze.marks.length;){let Pn=ze.marks[on];if(!this.marks[Pn.type.name]){on++;continue}if(!Pn.eq(vt[It][0])||Pn.type.spec.spanning===!1)break;It++,on++}for(;It<vt.length;)st=vt.pop()[1];for(;on<ze.marks.length;){let Pn=ze.marks[on++],Yn=this.serializeMark(Pn,ze.isInline,Re);Yn&&(vt.push([Pn,st]),st.appendChild(Yn.dom),st=Yn.contentDOM||Yn.dom)}}st.appendChild(this.serializeNodeInner(ze,Re))}),nt}serializeNodeInner(ce,Re){let{dom:nt,contentDOM:st}=Ie.renderSpec(mt(Re),this.nodes[ce.type.name](ce));if(st){if(ce.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(ce.content,Re,st)}return nt}serializeNode(ce,Re={}){let nt=this.serializeNodeInner(ce,Re);for(let st=ce.marks.length-1;st>=0;st--){let vt=this.serializeMark(ce.marks[st],ce.isInline,Re);vt&&((vt.contentDOM||vt.dom).appendChild(nt),nt=vt.dom)}return nt}serializeMark(ce,Re,nt={}){let st=this.marks[ce.type.name];return st&&Ie.renderSpec(mt(nt),st(ce,Re))}static renderSpec(ce,Re,nt=null){if(typeof Re=="string")return{dom:ce.createTextNode(Re)};if(Re.nodeType!=null)return{dom:Re};if(Re.dom&&Re.dom.nodeType!=null)return Re;let st=Re[0],vt=st.indexOf(" ");vt>0&&(nt=st.slice(0,vt),st=st.slice(vt+1));let ze,It=nt?ce.createElementNS(nt,st):ce.createElement(st),on=Re[1],Pn=1;if(on&&typeof on=="object"&&on.nodeType==null&&!Array.isArray(on)){Pn=2;for(let Yn in on)if(on[Yn]!=null){let Ln=Yn.indexOf(" ");Ln>0?It.setAttributeNS(Yn.slice(0,Ln),Yn.slice(Ln+1),on[Yn]):It.setAttribute(Yn,on[Yn])}}for(let Yn=Pn;Yn<Re.length;Yn++){let Ln=Re[Yn];if(Ln===0){if(Yn<Re.length-1||Yn>Pn)throw new RangeError("Content hole must be the only child of its parent node");return{dom:It,contentDOM:It}}else{let{dom:bn,contentDOM:ir}=Ie.renderSpec(ce,Ln,nt);if(It.appendChild(bn),ir){if(ze)throw new RangeError("Multiple content holes");ze=ir}}}return{dom:It,contentDOM:ze}}static fromSchema(ce){return ce.cached.domSerializer||(ce.cached.domSerializer=new Ie(this.nodesFromSchema(ce),this.marksFromSchema(ce)))}static nodesFromSchema(ce){let Re=Bt(ce.nodes);return Re.text||(Re.text=nt=>nt.text),Re}static marksFromSchema(ce){return Bt(ce.marks)}}function Bt(rt){let ce={};for(let Re in rt){let nt=rt[Re].spec.toDOM;nt&&(ce[Re]=nt)}return ce}function mt(rt){return rt.document||window.document}},77135:function(b,l,e){"use strict";e.d(l,{EI:()=>g});var r=e(944537);const o=["p",0],n=["blockquote",0],a=["hr"],i=["pre",["code",0]],c=["br"],u={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM(){return o}},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM(){return n}},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM(){return a}},heading:{attrs:{level:{default:1}},content:"inline*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM(p){return["h"+p.attrs.level,0]}},code_block:{content:"text*",marks:"",group:"block",code:!0,defining:!0,parseDOM:[{tag:"pre",preserveWhitespace:"full"}],toDOM(){return i}},text:{group:"inline"},image:{inline:!0,attrs:{src:{},alt:{default:null},title:{default:null}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs(p){return{src:p.getAttribute("src"),title:p.getAttribute("title"),alt:p.getAttribute("alt")}}}],toDOM(p){let{src:y,alt:O,title:P}=p.attrs;return["img",{src:y,alt:O,title:P}]}},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM(){return c}}},f=["em",0],d=["strong",0],h=["code",0],g={link:{attrs:{href:{},title:{default:null}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs(p){return{href:p.getAttribute("href"),title:p.getAttribute("title")}}}],toDOM(p){let{href:y,title:O}=p.attrs;return["a",{href:y,title:O},0]}},em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:p=>p.type.name=="em"}],toDOM(){return f}},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:p=>p.style.fontWeight!="normal"&&null},{style:"font-weight=400",clearMark:p=>p.type.name=="strong"},{style:"font-weight",getAttrs:p=>/^(bold(er)?|[5-9]\d{2,})$/.test(p)&&null}],toDOM(){return d}},code:{parseDOM:[{tag:"code"}],toDOM(){return h}}},_=new r.V_({nodes:u,marks:g})},149318:function(b,l,e){"use strict";e.d(l,{IB:()=>O,KI:()=>_,bw:()=>A,s6:()=>y});var r=e(223122),o=e(944537),n=e(76002);const a=null,i=null,c=null,u=null,f=null,d=null;function h(S,T){let s={};for(let v in S)s[v]=S[v];for(let v in T)s[v]=T[v];return s}function g(S,T,s){return S.append({ordered_list:h(u,{content:"list_item+",group:s}),bullet_list:h(f,{content:"list_item+",group:s}),list_item:h(d,{content:T})})}function _(S,T=null){return function(s,v){let{$from:m,$to:E}=s.selection,I=m.blockRange(E),L=!1,W=I;if(!I)return!1;if(I.depth>=2&&m.node(I.depth-1).type.compatibleContent(S)&&I.startIndex==0){if(m.index(I.depth-1)==0)return!1;let G=s.doc.resolve(I.start-2);W=new o.Ts(G,G,I.depth),I.endIndex<I.parent.childCount&&(I=new o.Ts(m,s.doc.resolve(E.end(I.depth)),I.depth)),L=!0}let F=(0,r.nd)(W,S,T,I);return F?(v&&v(p(s.tr,I,F,L,S).scrollIntoView()),!0):!1}}function p(S,T,s,v,m){let E=o.HY.empty;for(let G=s.length-1;G>=0;G--)E=o.HY.from(s[G].type.create(s[G].attrs,E));S.step(new r.FC(T.start-(v?2:0),T.end,T.start,T.end,new o.p2(E,0,0),s.length,!0));let I=0;for(let G=0;G<s.length;G++)s[G].type==m&&(I=G+1);let L=s.length-I,W=T.start+s.length-(v?2:0),F=T.parent;for(let G=T.startIndex,k=T.endIndex,x=!0;G<k;G++,x=!1)!x&&(0,r.Ax)(S.doc,W,L)&&(S.split(W,L),W+=2*L),W+=F.child(G).nodeSize;return S}function y(S){return function(T,s){let{$from:v,$to:m,node:E}=T.selection;if(E&&E.isBlock||v.depth<2||!v.sameParent(m))return!1;let I=v.node(-1);if(I.type!=S)return!1;if(v.parent.content.size==0&&v.node(-1).childCount==v.indexAfter(-1)){if(v.depth==3||v.node(-3).type!=S||v.index(-2)!=v.node(-2).childCount-1)return!1;if(s){let G=o.HY.empty,k=v.index(-1)?1:v.index(-2)?2:3;for(let U=v.depth-k;U>=v.depth-3;U--)G=o.HY.from(v.node(U).copy(G));let x=v.indexAfter(-1)<v.node(-2).childCount?1:v.indexAfter(-2)<v.node(-3).childCount?2:3;G=G.append(o.HY.from(S.createAndFill()));let M=v.before(v.depth-(k-1)),B=T.tr.replace(M,v.after(-x),new o.p2(G,4-k,0)),R=-1;B.doc.nodesBetween(M,B.doc.content.size,(U,j)=>{if(R>-1)return!1;U.isTextblock&&U.content.size==0&&(R=j+1)}),R>-1&&B.setSelection(n.Y1.near(B.doc.resolve(R))),s(B.scrollIntoView())}return!0}let L=m.pos==v.end()?I.contentMatchAt(0).defaultType:null,W=T.tr.delete(v.pos,m.pos),F=L?[null,{type:L}]:void 0;return(0,r.Ax)(W.doc,v.pos,2,F)?(s&&s(W.split(v.pos,2,F).scrollIntoView()),!0):!1}}function O(S){return function(T,s){let{$from:v,$to:m}=T.selection,E=v.blockRange(m,I=>I.childCount>0&&I.firstChild.type==S);return E?s?v.node(E.depth-1).type==S?P(T,s,S,E):C(T,s,E):!0:!1}}function P(S,T,s,v){let m=S.tr,E=v.end,I=v.$to.end(v.depth);E<I&&(m.step(new r.FC(E-1,I,E,I,new o.p2(o.HY.from(s.create(null,v.parent.copy())),1,0),1,!0)),v=new o.Ts(m.doc.resolve(v.$from.pos),m.doc.resolve(I),v.depth));const L=(0,r.k9)(v);if(L==null)return!1;m.lift(v,L);let W=m.mapping.map(E,-1)-1;return(0,r.Mn)(m.doc,W)&&m.join(W),T(m.scrollIntoView()),!0}function C(S,T,s){let v=S.tr,m=s.parent;for(let M=s.end,B=s.endIndex-1,R=s.startIndex;B>R;B--)M-=m.child(B).nodeSize,v.delete(M-1,M+1);let E=v.doc.resolve(s.start),I=E.nodeAfter;if(v.mapping.map(s.end)!=s.start+E.nodeAfter.nodeSize)return!1;let L=s.startIndex==0,W=s.endIndex==m.childCount,F=E.node(-1),G=E.index(-1);if(!F.canReplace(G+(L?0:1),G+1,I.content.append(W?o.HY.empty:o.HY.from(m))))return!1;let k=E.pos,x=k+I.nodeSize;return v.step(new r.FC(k-(L?1:0),x+(W?1:0),k+1,x-1,new o.p2((L?o.HY.empty:o.HY.from(m.copy(o.HY.empty))).append(W?o.HY.empty:o.HY.from(m.copy(o.HY.empty))),L?0:1,W?0:1),L?0:1)),T(v.scrollIntoView()),!0}function A(S){return function(T,s){let{$from:v,$to:m}=T.selection,E=v.blockRange(m,F=>F.childCount>0&&F.firstChild.type==S);if(!E)return!1;let I=E.startIndex;if(I==0)return!1;let L=E.parent,W=L.child(I-1);if(W.type!=S)return!1;if(s){let F=W.lastChild&&W.lastChild.type==L.type,G=o.HY.from(F?S.create():null),k=new o.p2(o.HY.from(S.create(null,o.HY.from(L.type.create(null,G)))),F?3:1,0),x=E.start,M=E.end;s(T.tr.step(new r.FC(x-(F?3:1),M,x,M,k,1,!0)).scrollIntoView())}return!0}}},76002:function(b,l,e){"use strict";e.d(l,{Bs:()=>f,C1:()=>_,H$:()=>G,Sy:()=>L,Y1:()=>a,YW:()=>S,qv:()=>h,xm:()=>i,yy:()=>E});var r=e(944537),o=e(223122);const n=Object.create(null);class a{constructor(x,M,B){this.$anchor=x,this.$head=M,this.ranges=B||[new i(x.min(M),x.max(M))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let x=this.ranges;for(let M=0;M<x.length;M++)if(x[M].$from.pos!=x[M].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(x,M=r.p2.empty){let B=M.content.lastChild,R=null;for(let $=0;$<M.openEnd;$++)R=B,B=B.lastChild;let U=x.steps.length,j=this.ranges;for(let $=0;$<j.length;$++){let{$from:ee,$to:te}=j[$],ie=x.mapping.slice(U);x.replaceRange(ie.map(ee.pos),ie.map(te.pos),$?r.p2.empty:M),$==0&&O(x,U,(B?B.isInline:R&&R.isTextblock)?-1:1)}}replaceWith(x,M){let B=x.steps.length,R=this.ranges;for(let U=0;U<R.length;U++){let{$from:j,$to:$}=R[U],ee=x.mapping.slice(B),te=ee.map(j.pos),ie=ee.map($.pos);U?x.deleteRange(te,ie):(x.replaceRangeWith(te,ie,M),O(x,B,M.isInline?-1:1))}}static findFrom(x,M,B=!1){let R=x.parent.inlineContent?new f(x):y(x.node(0),x.parent,x.pos,x.index(),M,B);if(R)return R;for(let U=x.depth-1;U>=0;U--){let j=M<0?y(x.node(0),x.node(U),x.before(U+1),x.index(U),M,B):y(x.node(0),x.node(U),x.after(U+1),x.index(U)+1,M,B);if(j)return j}return null}static near(x,M=1){return this.findFrom(x,M)||this.findFrom(x,-M)||new _(x.node(0))}static atStart(x){return y(x,x,0,0,1)||new _(x)}static atEnd(x){return y(x,x,x.content.size,x.childCount,-1)||new _(x)}static fromJSON(x,M){if(!M||!M.type)throw new RangeError("Invalid input for Selection.fromJSON");let B=n[M.type];if(!B)throw new RangeError(`No selection type ${M.type} defined`);return B.fromJSON(x,M)}static jsonID(x,M){if(x in n)throw new RangeError("Duplicate use of selection JSON ID "+x);return n[x]=M,M.prototype.jsonID=x,M}getBookmark(){return f.between(this.$anchor,this.$head).getBookmark()}}a.prototype.visible=!0;class i{constructor(x,M){this.$from=x,this.$to=M}}let c=!1;function u(k){!c&&!k.parent.inlineContent&&(c=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+k.parent.type.name+")"))}class f extends a{constructor(x,M=x){u(x),u(M),super(x,M)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(x,M){let B=x.resolve(M.map(this.head));if(!B.parent.inlineContent)return a.near(B);let R=x.resolve(M.map(this.anchor));return new f(R.parent.inlineContent?R:B,B)}replace(x,M=r.p2.empty){if(super.replace(x,M),M==r.p2.empty){let B=this.$from.marksAcross(this.$to);B&&x.ensureMarks(B)}}eq(x){return x instanceof f&&x.anchor==this.anchor&&x.head==this.head}getBookmark(){return new d(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(x,M){if(typeof M.anchor!="number"||typeof M.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new f(x.resolve(M.anchor),x.resolve(M.head))}static create(x,M,B=M){let R=x.resolve(M);return new this(R,B==M?R:x.resolve(B))}static between(x,M,B){let R=x.pos-M.pos;if((!B||R)&&(B=R>=0?1:-1),!M.parent.inlineContent){let U=a.findFrom(M,B,!0)||a.findFrom(M,-B,!0);if(U)M=U.$head;else return a.near(M,B)}return x.parent.inlineContent||(R==0?x=M:(x=(a.findFrom(x,-B,!0)||a.findFrom(x,B,!0)).$anchor,x.pos<M.pos!=R<0&&(x=M))),new f(x,M)}}a.jsonID("text",f);class d{constructor(x,M){this.anchor=x,this.head=M}map(x){return new d(x.map(this.anchor),x.map(this.head))}resolve(x){return f.between(x.resolve(this.anchor),x.resolve(this.head))}}class h extends a{constructor(x){let M=x.nodeAfter,B=x.node(0).resolve(x.pos+M.nodeSize);super(x,B),this.node=M}map(x,M){let{deleted:B,pos:R}=M.mapResult(this.anchor),U=x.resolve(R);return B?a.near(U):new h(U)}content(){return new r.p2(r.HY.from(this.node),0,0)}eq(x){return x instanceof h&&x.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new g(this.anchor)}static fromJSON(x,M){if(typeof M.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new h(x.resolve(M.anchor))}static create(x,M){return new h(x.resolve(M))}static isSelectable(x){return!x.isText&&x.type.spec.selectable!==!1}}h.prototype.visible=!1,a.jsonID("node",h);class g{constructor(x){this.anchor=x}map(x){let{deleted:M,pos:B}=x.mapResult(this.anchor);return M?new d(B,B):new g(B)}resolve(x){let M=x.resolve(this.anchor),B=M.nodeAfter;return B&&h.isSelectable(B)?new h(M):a.near(M)}}class _ extends a{constructor(x){super(x.resolve(0),x.resolve(x.content.size))}replace(x,M=r.p2.empty){if(M==r.p2.empty){x.delete(0,x.doc.content.size);let B=a.atStart(x.doc);B.eq(x.selection)||x.setSelection(B)}else super.replace(x,M)}toJSON(){return{type:"all"}}static fromJSON(x){return new _(x)}map(x){return new _(x)}eq(x){return x instanceof _}getBookmark(){return p}}a.jsonID("all",_);const p={map(){return this},resolve(k){return new _(k)}};function y(k,x,M,B,R,U=!1){if(x.inlineContent)return f.create(k,M);for(let j=B-(R>0?0:1);R>0?j<x.childCount:j>=0;j+=R){let $=x.child(j);if($.isAtom){if(!U&&h.isSelectable($))return h.create(k,M-(R<0?$.nodeSize:0))}else{let ee=y(k,$,M+R,R<0?$.childCount:0,R,U);if(ee)return ee}M+=$.nodeSize*R}return null}function O(k,x,M){let B=k.steps.length-1;if(B<x)return;let R=k.steps[B];if(!(R instanceof o.Pu||R instanceof o.FC))return;let U=k.mapping.maps[B],j;U.forEach(($,ee,te,ie)=>{j==null&&(j=ie)}),k.setSelection(a.near(k.doc.resolve(j),M))}const P=1,C=2,A=4;class S extends o.wx{constructor(x){super(x.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=x.selection,this.storedMarks=x.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(x){if(x.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=x,this.curSelectionFor=this.steps.length,this.updated=(this.updated|P)&~C,this.storedMarks=null,this}get selectionSet(){return(this.updated&P)>0}setStoredMarks(x){return this.storedMarks=x,this.updated|=C,this}ensureMarks(x){return r.vc.sameSet(this.storedMarks||this.selection.$from.marks(),x)||this.setStoredMarks(x),this}addStoredMark(x){return this.ensureMarks(x.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(x){return this.ensureMarks(x.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&C)>0}addStep(x,M){super.addStep(x,M),this.updated=this.updated&~C,this.storedMarks=null}setTime(x){return this.time=x,this}replaceSelection(x){return this.selection.replace(this,x),this}replaceSelectionWith(x,M=!0){let B=this.selection;return M&&(x=x.mark(this.storedMarks||(B.empty?B.$from.marks():B.$from.marksAcross(B.$to)||r.vc.none))),B.replaceWith(this,x),this}deleteSelection(){return this.selection.replace(this),this}insertText(x,M,B){let R=this.doc.type.schema;if(M==null)return x?this.replaceSelectionWith(R.text(x),!0):this.deleteSelection();{if(B==null&&(B=M),B=B??M,!x)return this.deleteRange(M,B);let U=this.storedMarks;if(!U){let j=this.doc.resolve(M);U=B==M?j.marks():j.marksAcross(this.doc.resolve(B))}return this.replaceRangeWith(M,B,R.text(x,U)),this.selection.empty||this.setSelection(a.near(this.selection.$to)),this}}setMeta(x,M){return this.meta[typeof x=="string"?x:x.key]=M,this}getMeta(x){return this.meta[typeof x=="string"?x:x.key]}get isGeneric(){for(let x in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=A,this}get scrolledIntoView(){return(this.updated&A)>0}}function T(k,x){return!x||!k?k:k.bind(x)}class s{constructor(x,M,B){this.name=x,this.init=T(M.init,B),this.apply=T(M.apply,B)}}const v=[new s("doc",{init(k){return k.doc||k.schema.topNodeType.createAndFill()},apply(k){return k.doc}}),new s("selection",{init(k,x){return k.selection||a.atStart(x.doc)},apply(k){return k.selection}}),new s("storedMarks",{init(k){return k.storedMarks||null},apply(k,x,M,B){return B.selection.$cursor?k.storedMarks:null}}),new s("scrollToSelection",{init(){return 0},apply(k,x){return k.scrolledIntoView?x+1:x}})];class m{constructor(x,M){this.schema=x,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=v.slice(),M&&M.forEach(B=>{if(this.pluginsByKey[B.key])throw new RangeError("Adding different instances of a keyed plugin ("+B.key+")");this.plugins.push(B),this.pluginsByKey[B.key]=B,B.spec.state&&this.fields.push(new s(B.key,B.spec.state,B))})}}class E{constructor(x){this.config=x}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(x){return this.applyTransaction(x).state}filterTransaction(x,M=-1){for(let B=0;B<this.config.plugins.length;B++)if(B!=M){let R=this.config.plugins[B];if(R.spec.filterTransaction&&!R.spec.filterTransaction.call(R,x,this))return!1}return!0}applyTransaction(x){if(!this.filterTransaction(x))return{state:this,transactions:[]};let M=[x],B=this.applyInner(x),R=null;for(;;){let U=!1;for(let j=0;j<this.config.plugins.length;j++){let $=this.config.plugins[j];if($.spec.appendTransaction){let ee=R?R[j].n:0,te=R?R[j].state:this,ie=ee<M.length&&$.spec.appendTransaction.call($,ee?M.slice(ee):M,te,B);if(ie&&B.filterTransaction(ie,j)){if(ie.setMeta("appendedTransaction",x),!R){R=[];for(let ne=0;ne<this.config.plugins.length;ne++)R.push(ne<j?{state:B,n:M.length}:{state:this,n:0})}M.push(ie),B=B.applyInner(ie),U=!0}R&&(R[j]={state:B,n:M.length})}}if(!U)return{state:B,transactions:M}}}applyInner(x){if(!x.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let M=new E(this.config),B=this.config.fields;for(let R=0;R<B.length;R++){let U=B[R];M[U.name]=U.apply(x,this[U.name],this,M)}return M}get tr(){return new S(this)}static create(x){let M=new m(x.doc?x.doc.type.schema:x.schema,x.plugins),B=new E(M);for(let R=0;R<M.fields.length;R++)B[M.fields[R].name]=M.fields[R].init(x,B);return B}reconfigure(x){let M=new m(this.schema,x.plugins),B=M.fields,R=new E(M);for(let U=0;U<B.length;U++){let j=B[U].name;R[j]=this.hasOwnProperty(j)?this[j]:B[U].init(x,R)}return R}toJSON(x){let M={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(M.storedMarks=this.storedMarks.map(B=>B.toJSON())),x&&typeof x=="object")for(let B in x){if(B=="doc"||B=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let R=x[B],U=R.spec.state;U&&U.toJSON&&(M[B]=U.toJSON.call(R,this[R.key]))}return M}static fromJSON(x,M,B){if(!M)throw new RangeError("Invalid input for EditorState.fromJSON");if(!x.schema)throw new RangeError("Required config field 'schema' missing");let R=new m(x.schema,x.plugins),U=new E(R);return R.fields.forEach(j=>{if(j.name=="doc")U.doc=r.NB.fromJSON(x.schema,M.doc);else if(j.name=="selection")U.selection=a.fromJSON(U.doc,M.selection);else if(j.name=="storedMarks")M.storedMarks&&(U.storedMarks=M.storedMarks.map(x.schema.markFromJSON));else{if(B)for(let $ in B){let ee=B[$],te=ee.spec.state;if(ee.key==j.name&&te&&te.fromJSON&&Object.prototype.hasOwnProperty.call(M,$)){U[j.name]=te.fromJSON.call(ee,x,M[$],U);return}}U[j.name]=j.init(x,U)}}),U}}function I(k,x,M){for(let B in k){let R=k[B];R instanceof Function?R=R.bind(x):B=="handleDOMEvents"&&(R=I(R,x,{})),M[B]=R}return M}class L{constructor(x){this.spec=x,this.props={},x.props&&I(x.props,this,this.props),this.key=x.key?x.key.key:F("plugin")}getState(x){return x[this.key]}}const W=Object.create(null);function F(k){return k in W?k+"$"+ ++W[k]:(W[k]=0,k+"$")}class G{constructor(x="key"){this.key=F(x)}get(x){return x.config.pluginsByKey[this.key]}getState(x){return x[this.key]}}},223122:function(b,l,e){"use strict";e.d(l,{Ax:()=>te,FC:()=>m,GJ:()=>oe,Mn:()=>ne,Pu:()=>v,Yo:()=>J,dR:()=>re,k9:()=>G,nd:()=>x,nj:()=>me,vs:()=>p,wx:()=>ht});var r=e(944537);const o=65535,n=Math.pow(2,16);function a(Ne,Ce){return Ne+Ce*n}function i(Ne){return Ne&o}function c(Ne){return(Ne-(Ne&o))/n}const u=1,f=2,d=4,h=8;class g{constructor(Ce,we,$e){this.pos=Ce,this.delInfo=we,this.recover=$e}get deleted(){return(this.delInfo&h)>0}get deletedBefore(){return(this.delInfo&(u|d))>0}get deletedAfter(){return(this.delInfo&(f|d))>0}get deletedAcross(){return(this.delInfo&d)>0}}class _{constructor(Ce,we=!1){if(this.ranges=Ce,this.inverted=we,!Ce.length&&_.empty)return _.empty}recover(Ce){let we=0,$e=i(Ce);if(!this.inverted)for(let Ot=0;Ot<$e;Ot++)we+=this.ranges[Ot*3+2]-this.ranges[Ot*3+1];return this.ranges[$e*3]+we+c(Ce)}mapResult(Ce,we=1){return this._map(Ce,we,!1)}map(Ce,we=1){return this._map(Ce,we,!0)}_map(Ce,we,$e){let Ot=0,Pt=this.inverted?2:1,Ie=this.inverted?1:2;for(let Bt=0;Bt<this.ranges.length;Bt+=3){let mt=this.ranges[Bt]-(this.inverted?Ot:0);if(mt>Ce)break;let rt=this.ranges[Bt+Pt],ce=this.ranges[Bt+Ie],Re=mt+rt;if(Ce<=Re){let nt=rt?Ce==mt?-1:Ce==Re?1:we:we,st=mt+Ot+(nt<0?0:ce);if($e)return st;let vt=Ce==(we<0?mt:Re)?null:a(Bt/3,Ce-mt),ze=Ce==mt?f:Ce==Re?u:d;return(we<0?Ce!=mt:Ce!=Re)&&(ze|=h),new g(st,ze,vt)}Ot+=ce-rt}return $e?Ce+Ot:new g(Ce+Ot,0,null)}touches(Ce,we){let $e=0,Ot=i(we),Pt=this.inverted?2:1,Ie=this.inverted?1:2;for(let Bt=0;Bt<this.ranges.length;Bt+=3){let mt=this.ranges[Bt]-(this.inverted?$e:0);if(mt>Ce)break;let rt=this.ranges[Bt+Pt],ce=mt+rt;if(Ce<=ce&&Bt==Ot*3)return!0;$e+=this.ranges[Bt+Ie]-rt}return!1}forEach(Ce){let we=this.inverted?2:1,$e=this.inverted?1:2;for(let Ot=0,Pt=0;Ot<this.ranges.length;Ot+=3){let Ie=this.ranges[Ot],Bt=Ie-(this.inverted?Pt:0),mt=Ie+(this.inverted?0:Pt),rt=this.ranges[Ot+we],ce=this.ranges[Ot+$e];Ce(Bt,Bt+rt,mt,mt+ce),Pt+=ce-rt}}invert(){return new _(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(Ce){return Ce==0?_.empty:new _(Ce<0?[0,-Ce,0]:[0,0,Ce])}}_.empty=new _([]);class p{constructor(Ce=[],we,$e=0,Ot=Ce.length){this.maps=Ce,this.mirror=we,this.from=$e,this.to=Ot}slice(Ce=0,we=this.maps.length){return new p(this.maps,this.mirror,Ce,we)}copy(){return new p(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(Ce,we){this.to=this.maps.push(Ce),we!=null&&this.setMirror(this.maps.length-1,we)}appendMapping(Ce){for(let we=0,$e=this.maps.length;we<Ce.maps.length;we++){let Ot=Ce.getMirror(we);this.appendMap(Ce.maps[we],Ot!=null&&Ot<we?$e+Ot:void 0)}}getMirror(Ce){if(this.mirror){for(let we=0;we<this.mirror.length;we++)if(this.mirror[we]==Ce)return this.mirror[we+(we%2?-1:1)]}}setMirror(Ce,we){this.mirror||(this.mirror=[]),this.mirror.push(Ce,we)}appendMappingInverted(Ce){for(let we=Ce.maps.length-1,$e=this.maps.length+Ce.maps.length;we>=0;we--){let Ot=Ce.getMirror(we);this.appendMap(Ce.maps[we].invert(),Ot!=null&&Ot>we?$e-Ot-1:void 0)}}invert(){let Ce=new p;return Ce.appendMappingInverted(this),Ce}map(Ce,we=1){if(this.mirror)return this._map(Ce,we,!0);for(let $e=this.from;$e<this.to;$e++)Ce=this.maps[$e].map(Ce,we);return Ce}mapResult(Ce,we=1){return this._map(Ce,we,!1)}_map(Ce,we,$e){let Ot=0;for(let Pt=this.from;Pt<this.to;Pt++){let Ie=this.maps[Pt],Bt=Ie.mapResult(Ce,we);if(Bt.recover!=null){let mt=this.getMirror(Pt);if(mt!=null&&mt>Pt&&mt<this.to){Pt=mt,Ce=this.maps[mt].recover(Bt.recover);continue}}Ot|=Bt.delInfo,Ce=Bt.pos}return $e?Ce:new g(Ce,Ot,null)}}const y=Object.create(null);class O{getMap(){return _.empty}merge(Ce){return null}static fromJSON(Ce,we){if(!we||!we.stepType)throw new RangeError("Invalid input for Step.fromJSON");let $e=y[we.stepType];if(!$e)throw new RangeError(`No step type ${we.stepType} defined`);return $e.fromJSON(Ce,we)}static jsonID(Ce,we){if(Ce in y)throw new RangeError("Duplicate use of step JSON ID "+Ce);return y[Ce]=we,we.prototype.jsonID=Ce,we}}class P{constructor(Ce,we){this.doc=Ce,this.failed=we}static ok(Ce){return new P(Ce,null)}static fail(Ce){return new P(null,Ce)}static fromReplace(Ce,we,$e,Ot){try{return P.ok(Ce.replace(we,$e,Ot))}catch(Pt){if(Pt instanceof r.e4)return P.fail(Pt.message);throw Pt}}}function C(Ne,Ce,we){let $e=[];for(let Ot=0;Ot<Ne.childCount;Ot++){let Pt=Ne.child(Ot);Pt.content.size&&(Pt=Pt.copy(C(Pt.content,Ce,Pt))),Pt.isInline&&(Pt=Ce(Pt,we,Ot)),$e.push(Pt)}return r.HY.fromArray($e)}class A extends O{constructor(Ce,we,$e){super(),this.from=Ce,this.to=we,this.mark=$e}apply(Ce){let we=Ce.slice(this.from,this.to),$e=Ce.resolve(this.from),Ot=$e.node($e.sharedDepth(this.to)),Pt=new r.p2(C(we.content,(Ie,Bt)=>!Ie.isAtom||!Bt.type.allowsMarkType(this.mark.type)?Ie:Ie.mark(this.mark.addToSet(Ie.marks)),Ot),we.openStart,we.openEnd);return P.fromReplace(Ce,this.from,this.to,Pt)}invert(){return new S(this.from,this.to,this.mark)}map(Ce){let we=Ce.mapResult(this.from,1),$e=Ce.mapResult(this.to,-1);return we.deleted&&$e.deleted||we.pos>=$e.pos?null:new A(we.pos,$e.pos,this.mark)}merge(Ce){return Ce instanceof A&&Ce.mark.eq(this.mark)&&this.from<=Ce.to&&this.to>=Ce.from?new A(Math.min(this.from,Ce.from),Math.max(this.to,Ce.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(Ce,we){if(typeof we.from!="number"||typeof we.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new A(we.from,we.to,Ce.markFromJSON(we.mark))}}O.jsonID("addMark",A);class S extends O{constructor(Ce,we,$e){super(),this.from=Ce,this.to=we,this.mark=$e}apply(Ce){let we=Ce.slice(this.from,this.to),$e=new r.p2(C(we.content,Ot=>Ot.mark(this.mark.removeFromSet(Ot.marks)),Ce),we.openStart,we.openEnd);return P.fromReplace(Ce,this.from,this.to,$e)}invert(){return new A(this.from,this.to,this.mark)}map(Ce){let we=Ce.mapResult(this.from,1),$e=Ce.mapResult(this.to,-1);return we.deleted&&$e.deleted||we.pos>=$e.pos?null:new S(we.pos,$e.pos,this.mark)}merge(Ce){return Ce instanceof S&&Ce.mark.eq(this.mark)&&this.from<=Ce.to&&this.to>=Ce.from?new S(Math.min(this.from,Ce.from),Math.max(this.to,Ce.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(Ce,we){if(typeof we.from!="number"||typeof we.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new S(we.from,we.to,Ce.markFromJSON(we.mark))}}O.jsonID("removeMark",S);class T extends O{constructor(Ce,we){super(),this.pos=Ce,this.mark=we}apply(Ce){let we=Ce.nodeAt(this.pos);if(!we)return P.fail("No node at mark step's position");let $e=we.type.create(we.attrs,null,this.mark.addToSet(we.marks));return P.fromReplace(Ce,this.pos,this.pos+1,new r.p2(r.HY.from($e),0,we.isLeaf?0:1))}invert(Ce){let we=Ce.nodeAt(this.pos);if(we){let $e=this.mark.addToSet(we.marks);if($e.length==we.marks.length){for(let Ot=0;Ot<we.marks.length;Ot++)if(!we.marks[Ot].isInSet($e))return new T(this.pos,we.marks[Ot]);return new T(this.pos,this.mark)}}return new s(this.pos,this.mark)}map(Ce){let we=Ce.mapResult(this.pos,1);return we.deletedAfter?null:new T(we.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(Ce,we){if(typeof we.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new T(we.pos,Ce.markFromJSON(we.mark))}}O.jsonID("addNodeMark",T);class s extends O{constructor(Ce,we){super(),this.pos=Ce,this.mark=we}apply(Ce){let we=Ce.nodeAt(this.pos);if(!we)return P.fail("No node at mark step's position");let $e=we.type.create(we.attrs,null,this.mark.removeFromSet(we.marks));return P.fromReplace(Ce,this.pos,this.pos+1,new r.p2(r.HY.from($e),0,we.isLeaf?0:1))}invert(Ce){let we=Ce.nodeAt(this.pos);return!we||!this.mark.isInSet(we.marks)?this:new T(this.pos,this.mark)}map(Ce){let we=Ce.mapResult(this.pos,1);return we.deletedAfter?null:new s(we.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(Ce,we){if(typeof we.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new s(we.pos,Ce.markFromJSON(we.mark))}}O.jsonID("removeNodeMark",s);class v extends O{constructor(Ce,we,$e,Ot=!1){super(),this.from=Ce,this.to=we,this.slice=$e,this.structure=Ot}apply(Ce){return this.structure&&E(Ce,this.from,this.to)?P.fail("Structure replace would overwrite content"):P.fromReplace(Ce,this.from,this.to,this.slice)}getMap(){return new _([this.from,this.to-this.from,this.slice.size])}invert(Ce){return new v(this.from,this.from+this.slice.size,Ce.slice(this.from,this.to))}map(Ce){let we=Ce.mapResult(this.from,1),$e=Ce.mapResult(this.to,-1);return we.deletedAcross&&$e.deletedAcross?null:new v(we.pos,Math.max(we.pos,$e.pos),this.slice)}merge(Ce){if(!(Ce instanceof v)||Ce.structure||this.structure)return null;if(this.from+this.slice.size==Ce.from&&!this.slice.openEnd&&!Ce.slice.openStart){let we=this.slice.size+Ce.slice.size==0?r.p2.empty:new r.p2(this.slice.content.append(Ce.slice.content),this.slice.openStart,Ce.slice.openEnd);return new v(this.from,this.to+(Ce.to-Ce.from),we,this.structure)}else if(Ce.to==this.from&&!this.slice.openStart&&!Ce.slice.openEnd){let we=this.slice.size+Ce.slice.size==0?r.p2.empty:new r.p2(Ce.slice.content.append(this.slice.content),Ce.slice.openStart,this.slice.openEnd);return new v(Ce.from,this.to,we,this.structure)}else return null}toJSON(){let Ce={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(Ce.slice=this.slice.toJSON()),this.structure&&(Ce.structure=!0),Ce}static fromJSON(Ce,we){if(typeof we.from!="number"||typeof we.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new v(we.from,we.to,r.p2.fromJSON(Ce,we.slice),!!we.structure)}}O.jsonID("replace",v);class m extends O{constructor(Ce,we,$e,Ot,Pt,Ie,Bt=!1){super(),this.from=Ce,this.to=we,this.gapFrom=$e,this.gapTo=Ot,this.slice=Pt,this.insert=Ie,this.structure=Bt}apply(Ce){if(this.structure&&(E(Ce,this.from,this.gapFrom)||E(Ce,this.gapTo,this.to)))return P.fail("Structure gap-replace would overwrite content");let we=Ce.slice(this.gapFrom,this.gapTo);if(we.openStart||we.openEnd)return P.fail("Gap is not a flat range");let $e=this.slice.insertAt(this.insert,we.content);return $e?P.fromReplace(Ce,this.from,this.to,$e):P.fail("Content does not fit in gap")}getMap(){return new _([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(Ce){let we=this.gapTo-this.gapFrom;return new m(this.from,this.from+this.slice.size+we,this.from+this.insert,this.from+this.insert+we,Ce.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(Ce){let we=Ce.mapResult(this.from,1),$e=Ce.mapResult(this.to,-1),Ot=Ce.map(this.gapFrom,-1),Pt=Ce.map(this.gapTo,1);return we.deletedAcross&&$e.deletedAcross||Ot<we.pos||Pt>$e.pos?null:new m(we.pos,$e.pos,Ot,Pt,this.slice,this.insert,this.structure)}toJSON(){let Ce={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(Ce.slice=this.slice.toJSON()),this.structure&&(Ce.structure=!0),Ce}static fromJSON(Ce,we){if(typeof we.from!="number"||typeof we.to!="number"||typeof we.gapFrom!="number"||typeof we.gapTo!="number"||typeof we.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new m(we.from,we.to,we.gapFrom,we.gapTo,r.p2.fromJSON(Ce,we.slice),we.insert,!!we.structure)}}O.jsonID("replaceAround",m);function E(Ne,Ce,we){let $e=Ne.resolve(Ce),Ot=we-Ce,Pt=$e.depth;for(;Ot>0&&Pt>0&&$e.indexAfter(Pt)==$e.node(Pt).childCount;)Pt--,Ot--;if(Ot>0){let Ie=$e.node(Pt).maybeChild($e.indexAfter(Pt));for(;Ot>0;){if(!Ie||Ie.isLeaf)return!0;Ie=Ie.firstChild,Ot--}}return!1}function I(Ne,Ce,we,$e){let Ot=[],Pt=[],Ie,Bt;Ne.doc.nodesBetween(Ce,we,(mt,rt,ce)=>{if(!mt.isInline)return;let Re=mt.marks;if(!$e.isInSet(Re)&&ce.type.allowsMarkType($e.type)){let nt=Math.max(rt,Ce),st=Math.min(rt+mt.nodeSize,we),vt=$e.addToSet(Re);for(let ze=0;ze<Re.length;ze++)Re[ze].isInSet(vt)||(Ie&&Ie.to==nt&&Ie.mark.eq(Re[ze])?Ie.to=st:Ot.push(Ie=new S(nt,st,Re[ze])));Bt&&Bt.to==nt?Bt.to=st:Pt.push(Bt=new A(nt,st,$e))}}),Ot.forEach(mt=>Ne.step(mt)),Pt.forEach(mt=>Ne.step(mt))}function L(Ne,Ce,we,$e){let Ot=[],Pt=0;Ne.doc.nodesBetween(Ce,we,(Ie,Bt)=>{if(!Ie.isInline)return;Pt++;let mt=null;if($e instanceof r.ZU){let rt=Ie.marks,ce;for(;ce=$e.isInSet(rt);)(mt||(mt=[])).push(ce),rt=ce.removeFromSet(rt)}else $e?$e.isInSet(Ie.marks)&&(mt=[$e]):mt=Ie.marks;if(mt&&mt.length){let rt=Math.min(Bt+Ie.nodeSize,we);for(let ce=0;ce<mt.length;ce++){let Re=mt[ce],nt;for(let st=0;st<Ot.length;st++){let vt=Ot[st];vt.step==Pt-1&&Re.eq(Ot[st].style)&&(nt=vt)}nt?(nt.to=rt,nt.step=Pt):Ot.push({style:Re,from:Math.max(Bt,Ce),to:rt,step:Pt})}}}),Ot.forEach(Ie=>Ne.step(new S(Ie.from,Ie.to,Ie.style)))}function W(Ne,Ce,we,$e=we.contentMatch){let Ot=Ne.doc.nodeAt(Ce),Pt=[],Ie=Ce+1;for(let Bt=0;Bt<Ot.childCount;Bt++){let mt=Ot.child(Bt),rt=Ie+mt.nodeSize,ce=$e.matchType(mt.type);if(!ce)Pt.push(new v(Ie,rt,r.p2.empty));else{$e=ce;for(let Re=0;Re<mt.marks.length;Re++)we.allowsMarkType(mt.marks[Re].type)||Ne.step(new S(Ie,rt,mt.marks[Re]))}Ie=rt}if(!$e.validEnd){let Bt=$e.fillBefore(r.HY.empty,!0);Ne.replace(Ie,Ie,new r.p2(Bt,0,0))}for(let Bt=Pt.length-1;Bt>=0;Bt--)Ne.step(Pt[Bt])}function F(Ne,Ce,we){return(Ce==0||Ne.canReplace(Ce,Ne.childCount))&&(we==Ne.childCount||Ne.canReplace(0,we))}function G(Ne){let we=Ne.parent.content.cutByIndex(Ne.startIndex,Ne.endIndex);for(let $e=Ne.depth;;--$e){let Ot=Ne.$from.node($e),Pt=Ne.$from.index($e),Ie=Ne.$to.indexAfter($e);if($e<Ne.depth&&Ot.canReplace(Pt,Ie,we))return $e;if($e==0||Ot.type.spec.isolating||!F(Ot,Pt,Ie))break}return null}function k(Ne,Ce,we){let{$from:$e,$to:Ot,depth:Pt}=Ce,Ie=$e.before(Pt+1),Bt=Ot.after(Pt+1),mt=Ie,rt=Bt,ce=r.HY.empty,Re=0;for(let vt=Pt,ze=!1;vt>we;vt--)ze||$e.index(vt)>0?(ze=!0,ce=r.HY.from($e.node(vt).copy(ce)),Re++):mt--;let nt=r.HY.empty,st=0;for(let vt=Pt,ze=!1;vt>we;vt--)ze||Ot.after(vt+1)<Ot.end(vt)?(ze=!0,nt=r.HY.from(Ot.node(vt).copy(nt)),st++):rt++;Ne.step(new m(mt,rt,Ie,Bt,new r.p2(ce.append(nt),Re,st),ce.size-Re,!0))}function x(Ne,Ce,we=null,$e=Ne){let Ot=B(Ne,Ce),Pt=Ot&&R($e,Ce);return Pt?Ot.map(M).concat({type:Ce,attrs:we}).concat(Pt.map(M)):null}function M(Ne){return{type:Ne,attrs:null}}function B(Ne,Ce){let{parent:we,startIndex:$e,endIndex:Ot}=Ne,Pt=we.contentMatchAt($e).findWrapping(Ce);if(!Pt)return null;let Ie=Pt.length?Pt[0]:Ce;return we.canReplaceWith($e,Ot,Ie)?Pt:null}function R(Ne,Ce){let{parent:we,startIndex:$e,endIndex:Ot}=Ne,Pt=we.child($e),Ie=Ce.contentMatch.findWrapping(Pt.type);if(!Ie)return null;let mt=(Ie.length?Ie[Ie.length-1]:Ce).contentMatch;for(let rt=$e;mt&&rt<Ot;rt++)mt=mt.matchType(we.child(rt).type);return!mt||!mt.validEnd?null:Ie}function U(Ne,Ce,we){let $e=r.HY.empty;for(let Ie=we.length-1;Ie>=0;Ie--){if($e.size){let Bt=we[Ie].type.contentMatch.matchFragment($e);if(!Bt||!Bt.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}$e=r.HY.from(we[Ie].type.create(we[Ie].attrs,$e))}let Ot=Ce.start,Pt=Ce.end;Ne.step(new m(Ot,Pt,Ot,Pt,new r.p2($e,0,0),we.length,!0))}function j(Ne,Ce,we,$e,Ot){if(!$e.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let Pt=Ne.steps.length;Ne.doc.nodesBetween(Ce,we,(Ie,Bt)=>{if(Ie.isTextblock&&!Ie.hasMarkup($e,Ot)&&$(Ne.doc,Ne.mapping.slice(Pt).map(Bt),$e)){Ne.clearIncompatible(Ne.mapping.slice(Pt).map(Bt,1),$e);let mt=Ne.mapping.slice(Pt),rt=mt.map(Bt,1),ce=mt.map(Bt+Ie.nodeSize,1);return Ne.step(new m(rt,ce,rt+1,ce-1,new r.p2(r.HY.from($e.create(Ot,null,Ie.marks)),0,0),1,!0)),!1}})}function $(Ne,Ce,we){let $e=Ne.resolve(Ce),Ot=$e.index();return $e.parent.canReplaceWith(Ot,Ot+1,we)}function ee(Ne,Ce,we,$e,Ot){let Pt=Ne.doc.nodeAt(Ce);if(!Pt)throw new RangeError("No node at given position");we||(we=Pt.type);let Ie=we.create($e,null,Ot||Pt.marks);if(Pt.isLeaf)return Ne.replaceWith(Ce,Ce+Pt.nodeSize,Ie);if(!we.validContent(Pt.content))throw new RangeError("Invalid content for node type "+we.name);Ne.step(new m(Ce,Ce+Pt.nodeSize,Ce+1,Ce+Pt.nodeSize-1,new r.p2(r.HY.from(Ie),0,0),1,!0))}function te(Ne,Ce,we=1,$e){let Ot=Ne.resolve(Ce),Pt=Ot.depth-we,Ie=$e&&$e[$e.length-1]||Ot.parent;if(Pt<0||Ot.parent.type.spec.isolating||!Ot.parent.canReplace(Ot.index(),Ot.parent.childCount)||!Ie.type.validContent(Ot.parent.content.cutByIndex(Ot.index(),Ot.parent.childCount)))return!1;for(let rt=Ot.depth-1,ce=we-2;rt>Pt;rt--,ce--){let Re=Ot.node(rt),nt=Ot.index(rt);if(Re.type.spec.isolating)return!1;let st=Re.content.cutByIndex(nt,Re.childCount),vt=$e&&$e[ce]||Re;if(vt!=Re&&(st=st.replaceChild(0,vt.type.create(vt.attrs))),!Re.canReplace(nt+1,Re.childCount)||!vt.type.validContent(st))return!1}let Bt=Ot.indexAfter(Pt),mt=$e&&$e[0];return Ot.node(Pt).canReplaceWith(Bt,Bt,mt?mt.type:Ot.node(Pt+1).type)}function ie(Ne,Ce,we=1,$e){let Ot=Ne.doc.resolve(Ce),Pt=r.HY.empty,Ie=r.HY.empty;for(let Bt=Ot.depth,mt=Ot.depth-we,rt=we-1;Bt>mt;Bt--,rt--){Pt=r.HY.from(Ot.node(Bt).copy(Pt));let ce=$e&&$e[rt];Ie=r.HY.from(ce?ce.type.create(ce.attrs,Ie):Ot.node(Bt).copy(Ie))}Ne.step(new v(Ce,Ce,new r.p2(Pt.append(Ie),we,we),!0))}function ne(Ne,Ce){let we=Ne.resolve(Ce),$e=we.index();return pe(we.nodeBefore,we.nodeAfter)&&we.parent.canReplace($e,$e+1)}function pe(Ne,Ce){return!!(Ne&&Ce&&!Ne.isLeaf&&Ne.canAppend(Ce))}function oe(Ne,Ce,we=-1){let $e=Ne.resolve(Ce);for(let Ot=$e.depth;;Ot--){let Pt,Ie,Bt=$e.index(Ot);if(Ot==$e.depth?(Pt=$e.nodeBefore,Ie=$e.nodeAfter):we>0?(Pt=$e.node(Ot+1),Bt++,Ie=$e.node(Ot).maybeChild(Bt)):(Pt=$e.node(Ot).maybeChild(Bt-1),Ie=$e.node(Ot+1)),Pt&&!Pt.isTextblock&&pe(Pt,Ie)&&$e.node(Ot).canReplace(Bt,Bt+1))return Ce;if(Ot==0)break;Ce=we<0?$e.before(Ot):$e.after(Ot)}}function q(Ne,Ce,we){let $e=new v(Ce-we,Ce+we,r.p2.empty,!0);Ne.step($e)}function J(Ne,Ce,we){let $e=Ne.resolve(Ce);if($e.parent.canReplaceWith($e.index(),$e.index(),we))return Ce;if($e.parentOffset==0)for(let Ot=$e.depth-1;Ot>=0;Ot--){let Pt=$e.index(Ot);if($e.node(Ot).canReplaceWith(Pt,Pt,we))return $e.before(Ot+1);if(Pt>0)return null}if($e.parentOffset==$e.parent.content.size)for(let Ot=$e.depth-1;Ot>=0;Ot--){let Pt=$e.indexAfter(Ot);if($e.node(Ot).canReplaceWith(Pt,Pt,we))return $e.after(Ot+1);if(Pt<$e.node(Ot).childCount)return null}return null}function me(Ne,Ce,we){let $e=Ne.resolve(Ce);if(!we.content.size)return Ce;let Ot=we.content;for(let Pt=0;Pt<we.openStart;Pt++)Ot=Ot.firstChild.content;for(let Pt=1;Pt<=(we.openStart==0&&we.size?2:1);Pt++)for(let Ie=$e.depth;Ie>=0;Ie--){let Bt=Ie==$e.depth?0:$e.pos<=($e.start(Ie+1)+$e.end(Ie+1))/2?-1:1,mt=$e.index(Ie)+(Bt>0?1:0),rt=$e.node(Ie),ce=!1;if(Pt==1)ce=rt.canReplace(mt,mt,Ot);else{let Re=rt.contentMatchAt(mt).findWrapping(Ot.firstChild.type);ce=Re&&rt.canReplaceWith(mt,mt,Re[0])}if(ce)return Bt==0?$e.pos:Bt<0?$e.before(Ie+1):$e.after(Ie+1)}return null}function re(Ne,Ce,we=Ce,$e=r.p2.empty){if(Ce==we&&!$e.size)return null;let Ot=Ne.resolve(Ce),Pt=Ne.resolve(we);return he(Ot,Pt,$e)?new v(Ce,we,$e):new Ee(Ot,Pt,$e).fit()}function he(Ne,Ce,we){return!we.openStart&&!we.openEnd&&Ne.start()==Ce.start()&&Ne.parent.canReplace(Ne.index(),Ce.index(),we.content)}class Ee{constructor(Ce,we,$e){this.$from=Ce,this.$to=we,this.unplaced=$e,this.frontier=[],this.placed=r.HY.empty;for(let Ot=0;Ot<=Ce.depth;Ot++){let Pt=Ce.node(Ot);this.frontier.push({type:Pt.type,match:Pt.contentMatchAt(Ce.indexAfter(Ot))})}for(let Ot=Ce.depth;Ot>0;Ot--)this.placed=r.HY.from(Ce.node(Ot).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let rt=this.findFittable();rt?this.placeNodes(rt):this.openMore()||this.dropNode()}let Ce=this.mustMoveInline(),we=this.placed.size-this.depth-this.$from.depth,$e=this.$from,Ot=this.close(Ce<0?this.$to:$e.doc.resolve(Ce));if(!Ot)return null;let Pt=this.placed,Ie=$e.depth,Bt=Ot.depth;for(;Ie&&Bt&&Pt.childCount==1;)Pt=Pt.firstChild.content,Ie--,Bt--;let mt=new r.p2(Pt,Ie,Bt);return Ce>-1?new m($e.pos,Ce,this.$to.pos,this.$to.end(),mt,we):mt.size||$e.pos!=this.$to.pos?new v($e.pos,Ot.pos,mt):null}findFittable(){for(let Ce=1;Ce<=2;Ce++)for(let we=this.unplaced.openStart;we>=0;we--){let $e,Ot=null;we?(Ot=z(this.unplaced.content,we-1).firstChild,$e=Ot.content):$e=this.unplaced.content;let Pt=$e.firstChild;for(let Ie=this.depth;Ie>=0;Ie--){let{type:Bt,match:mt}=this.frontier[Ie],rt,ce=null;if(Ce==1&&(Pt?mt.matchType(Pt.type)||(ce=mt.fillBefore(r.HY.from(Pt),!1)):Ot&&Bt.compatibleContent(Ot.type)))return{sliceDepth:we,frontierDepth:Ie,parent:Ot,inject:ce};if(Ce==2&&Pt&&(rt=mt.findWrapping(Pt.type)))return{sliceDepth:we,frontierDepth:Ie,parent:Ot,wrap:rt};if(Ot&&mt.matchType(Ot.type))break}}}openMore(){let{content:Ce,openStart:we,openEnd:$e}=this.unplaced,Ot=z(Ce,we);return!Ot.childCount||Ot.firstChild.isLeaf?!1:(this.unplaced=new r.p2(Ce,we+1,Math.max($e,Ot.size+we>=Ce.size-$e?we+1:0)),!0)}dropNode(){let{content:Ce,openStart:we,openEnd:$e}=this.unplaced,Ot=z(Ce,we);if(Ot.childCount<=1&&we>0){let Pt=Ce.size-we<=we+Ot.size;this.unplaced=new r.p2(fe(Ce,we-1,1),we-1,Pt?we-1:$e)}else this.unplaced=new r.p2(fe(Ce,we,1),we,$e)}placeNodes({sliceDepth:Ce,frontierDepth:we,parent:$e,inject:Ot,wrap:Pt}){for(;this.depth>we;)this.closeFrontierNode();if(Pt)for(let ze=0;ze<Pt.length;ze++)this.openFrontierNode(Pt[ze]);let Ie=this.unplaced,Bt=$e?$e.content:Ie.content,mt=Ie.openStart-Ce,rt=0,ce=[],{match:Re,type:nt}=this.frontier[we];if(Ot){for(let ze=0;ze<Ot.childCount;ze++)ce.push(Ot.child(ze));Re=Re.matchFragment(Ot)}let st=Bt.size+Ce-(Ie.content.size-Ie.openEnd);for(;rt<Bt.childCount;){let ze=Bt.child(rt),It=Re.matchType(ze.type);if(!It)break;rt++,(rt>1||mt==0||ze.content.size)&&(Re=It,ce.push(_e(ze.mark(nt.allowedMarks(ze.marks)),rt==1?mt:0,rt==Bt.childCount?st:-1)))}let vt=rt==Bt.childCount;vt||(st=-1),this.placed=H(this.placed,we,r.HY.from(ce)),this.frontier[we].match=Re,vt&&st<0&&$e&&$e.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let ze=0,It=Bt;ze<st;ze++){let on=It.lastChild;this.frontier.push({type:on.type,match:on.contentMatchAt(on.childCount)}),It=on.content}this.unplaced=vt?Ce==0?r.p2.empty:new r.p2(fe(Ie.content,Ce-1,1),Ce-1,st<0?Ie.openEnd:Ce-1):new r.p2(fe(Ie.content,Ce,rt),Ie.openStart,Ie.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let Ce=this.frontier[this.depth],we;if(!Ce.type.isTextblock||!ae(this.$to,this.$to.depth,Ce.type,Ce.match,!1)||this.$to.depth==this.depth&&(we=this.findCloseLevel(this.$to))&&we.depth==this.depth)return-1;let{depth:$e}=this.$to,Ot=this.$to.after($e);for(;$e>1&&Ot==this.$to.end(--$e);)++Ot;return Ot}findCloseLevel(Ce){e:for(let we=Math.min(this.depth,Ce.depth);we>=0;we--){let{match:$e,type:Ot}=this.frontier[we],Pt=we<Ce.depth&&Ce.end(we+1)==Ce.pos+(Ce.depth-(we+1)),Ie=ae(Ce,we,Ot,$e,Pt);if(Ie){for(let Bt=we-1;Bt>=0;Bt--){let{match:mt,type:rt}=this.frontier[Bt],ce=ae(Ce,Bt,rt,mt,!0);if(!ce||ce.childCount)continue e}return{depth:we,fit:Ie,move:Pt?Ce.doc.resolve(Ce.after(we+1)):Ce}}}}close(Ce){let we=this.findCloseLevel(Ce);if(!we)return null;for(;this.depth>we.depth;)this.closeFrontierNode();we.fit.childCount&&(this.placed=H(this.placed,we.depth,we.fit)),Ce=we.move;for(let $e=we.depth+1;$e<=Ce.depth;$e++){let Ot=Ce.node($e),Pt=Ot.type.contentMatch.fillBefore(Ot.content,!0,Ce.index($e));this.openFrontierNode(Ot.type,Ot.attrs,Pt)}return Ce}openFrontierNode(Ce,we=null,$e){let Ot=this.frontier[this.depth];Ot.match=Ot.match.matchType(Ce),this.placed=H(this.placed,this.depth,r.HY.from(Ce.create(we,$e))),this.frontier.push({type:Ce,match:Ce.contentMatch})}closeFrontierNode(){let we=this.frontier.pop().match.fillBefore(r.HY.empty,!0);we.childCount&&(this.placed=H(this.placed,this.frontier.length,we))}}function fe(Ne,Ce,we){return Ce==0?Ne.cutByIndex(we,Ne.childCount):Ne.replaceChild(0,Ne.firstChild.copy(fe(Ne.firstChild.content,Ce-1,we)))}function H(Ne,Ce,we){return Ce==0?Ne.append(we):Ne.replaceChild(Ne.childCount-1,Ne.lastChild.copy(H(Ne.lastChild.content,Ce-1,we)))}function z(Ne,Ce){for(let we=0;we<Ce;we++)Ne=Ne.firstChild.content;return Ne}function _e(Ne,Ce,we){if(Ce<=0)return Ne;let $e=Ne.content;return Ce>1&&($e=$e.replaceChild(0,_e($e.firstChild,Ce-1,$e.childCount==1?we-1:0))),Ce>0&&($e=Ne.type.contentMatch.fillBefore($e).append($e),we<=0&&($e=$e.append(Ne.type.contentMatch.matchFragment($e).fillBefore(r.HY.empty,!0)))),Ne.copy($e)}function ae(Ne,Ce,we,$e,Ot){let Pt=Ne.node(Ce),Ie=Ot?Ne.indexAfter(Ce):Ne.index(Ce);if(Ie==Pt.childCount&&!we.compatibleContent(Pt.type))return null;let Bt=$e.fillBefore(Pt.content,!0,Ie);return Bt&&!ge(we,Pt.content,Ie)?Bt:null}function ge(Ne,Ce,we){for(let $e=we;$e<Ce.childCount;$e++)if(!Ne.allowsMarks(Ce.child($e).marks))return!0;return!1}function Be(Ne){return Ne.spec.defining||Ne.spec.definingForContent}function Ke(Ne,Ce,we,$e){if(!$e.size)return Ne.deleteRange(Ce,we);let Ot=Ne.doc.resolve(Ce),Pt=Ne.doc.resolve(we);if(he(Ot,Pt,$e))return Ne.step(new v(Ce,we,$e));let Ie=Ue(Ot,Ne.doc.resolve(we));Ie[Ie.length-1]==0&&Ie.pop();let Bt=-(Ot.depth+1);Ie.unshift(Bt);for(let nt=Ot.depth,st=Ot.pos-1;nt>0;nt--,st--){let vt=Ot.node(nt).type.spec;if(vt.defining||vt.definingAsContext||vt.isolating)break;Ie.indexOf(nt)>-1?Bt=nt:Ot.before(nt)==st&&Ie.splice(1,0,-nt)}let mt=Ie.indexOf(Bt),rt=[],ce=$e.openStart;for(let nt=$e.content,st=0;;st++){let vt=nt.firstChild;if(rt.push(vt),st==$e.openStart)break;nt=vt.content}for(let nt=ce-1;nt>=0;nt--){let st=rt[nt].type,vt=Be(st);if(vt&&Ot.node(mt).type!=st)ce=nt;else if(vt||!st.isTextblock)break}for(let nt=$e.openStart;nt>=0;nt--){let st=(nt+ce+1)%($e.openStart+1),vt=rt[st];if(vt)for(let ze=0;ze<Ie.length;ze++){let It=Ie[(ze+mt)%Ie.length],on=!0;It<0&&(on=!1,It=-It);let Pn=Ot.node(It-1),Yn=Ot.index(It-1);if(Pn.canReplaceWith(Yn,Yn,vt.type,vt.marks))return Ne.replace(Ot.before(It),on?Pt.after(It):we,new r.p2(He($e.content,0,$e.openStart,st),st,$e.openEnd))}}let Re=Ne.steps.length;for(let nt=Ie.length-1;nt>=0&&(Ne.replace(Ce,we,$e),!(Ne.steps.length>Re));nt--){let st=Ie[nt];st<0||(Ce=Ot.before(st),we=Pt.after(st))}}function He(Ne,Ce,we,$e,Ot){if(Ce<we){let Pt=Ne.firstChild;Ne=Ne.replaceChild(0,Pt.copy(He(Pt.content,Ce+1,we,$e,Pt)))}if(Ce>$e){let Pt=Ot.contentMatchAt(0),Ie=Pt.fillBefore(Ne).append(Ne);Ne=Ie.append(Pt.matchFragment(Ie).fillBefore(r.HY.empty,!0))}return Ne}function ye(Ne,Ce,we,$e){if(!$e.isInline&&Ce==we&&Ne.doc.resolve(Ce).parent.content.size){let Ot=J(Ne.doc,Ce,$e.type);Ot!=null&&(Ce=we=Ot)}Ne.replaceRange(Ce,we,new r.p2(r.HY.from($e),0,0))}function Le(Ne,Ce,we){let $e=Ne.doc.resolve(Ce),Ot=Ne.doc.resolve(we),Pt=Ue($e,Ot);for(let Ie=0;Ie<Pt.length;Ie++){let Bt=Pt[Ie],mt=Ie==Pt.length-1;if(mt&&Bt==0||$e.node(Bt).type.contentMatch.validEnd)return Ne.delete($e.start(Bt),Ot.end(Bt));if(Bt>0&&(mt||$e.node(Bt-1).canReplace($e.index(Bt-1),Ot.indexAfter(Bt-1))))return Ne.delete($e.before(Bt),Ot.after(Bt))}for(let Ie=1;Ie<=$e.depth&&Ie<=Ot.depth;Ie++)if(Ce-$e.start(Ie)==$e.depth-Ie&&we>$e.end(Ie)&&Ot.end(Ie)-we!=Ot.depth-Ie)return Ne.delete($e.before(Ie),we);Ne.delete(Ce,we)}function Ue(Ne,Ce){let we=[],$e=Math.min(Ne.depth,Ce.depth);for(let Ot=$e;Ot>=0;Ot--){let Pt=Ne.start(Ot);if(Pt<Ne.pos-(Ne.depth-Ot)||Ce.end(Ot)>Ce.pos+(Ce.depth-Ot)||Ne.node(Ot).type.spec.isolating||Ce.node(Ot).type.spec.isolating)break;(Pt==Ce.start(Ot)||Ot==Ne.depth&&Ot==Ce.depth&&Ne.parent.inlineContent&&Ce.parent.inlineContent&&Ot&&Ce.start(Ot-1)==Pt-1)&&we.push(Ot)}return we}class Xe extends O{constructor(Ce,we,$e){super(),this.pos=Ce,this.attr=we,this.value=$e}apply(Ce){let we=Ce.nodeAt(this.pos);if(!we)return P.fail("No node at attribute step's position");let $e=Object.create(null);for(let Pt in we.attrs)$e[Pt]=we.attrs[Pt];$e[this.attr]=this.value;let Ot=we.type.create($e,null,we.marks);return P.fromReplace(Ce,this.pos,this.pos+1,new r.p2(r.HY.from(Ot),0,we.isLeaf?0:1))}getMap(){return _.empty}invert(Ce){return new Xe(this.pos,this.attr,Ce.nodeAt(this.pos).attrs[this.attr])}map(Ce){let we=Ce.mapResult(this.pos,1);return we.deletedAfter?null:new Xe(we.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(Ce,we){if(typeof we.pos!="number"||typeof we.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Xe(we.pos,we.attr,we.value)}}O.jsonID("attr",Xe);let Fe=class extends Error{};Fe=function Ne(Ce){let we=Error.call(this,Ce);return we.__proto__=Ne.prototype,we},Fe.prototype=Object.create(Error.prototype),Fe.prototype.constructor=Fe,Fe.prototype.name="TransformError";class ht{constructor(Ce){this.doc=Ce,this.steps=[],this.docs=[],this.mapping=new p}get before(){return this.docs.length?this.docs[0]:this.doc}step(Ce){let we=this.maybeStep(Ce);if(we.failed)throw new Fe(we.failed);return this}maybeStep(Ce){let we=Ce.apply(this.doc);return we.failed||this.addStep(Ce,we.doc),we}get docChanged(){return this.steps.length>0}addStep(Ce,we){this.docs.push(this.doc),this.steps.push(Ce),this.mapping.appendMap(Ce.getMap()),this.doc=we}replace(Ce,we=Ce,$e=r.p2.empty){let Ot=re(this.doc,Ce,we,$e);return Ot&&this.step(Ot),this}replaceWith(Ce,we,$e){return this.replace(Ce,we,new r.p2(r.HY.from($e),0,0))}delete(Ce,we){return this.replace(Ce,we,r.p2.empty)}insert(Ce,we){return this.replaceWith(Ce,Ce,we)}replaceRange(Ce,we,$e){return Ke(this,Ce,we,$e),this}replaceRangeWith(Ce,we,$e){return ye(this,Ce,we,$e),this}deleteRange(Ce,we){return Le(this,Ce,we),this}lift(Ce,we){return k(this,Ce,we),this}join(Ce,we=1){return q(this,Ce,we),this}wrap(Ce,we){return U(this,Ce,we),this}setBlockType(Ce,we=Ce,$e,Ot=null){return j(this,Ce,we,$e,Ot),this}setNodeMarkup(Ce,we,$e=null,Ot=[]){return ee(this,Ce,we,$e,Ot),this}setNodeAttribute(Ce,we,$e){return this.step(new Xe(Ce,we,$e)),this}addNodeMark(Ce,we){return this.step(new T(Ce,we)),this}removeNodeMark(Ce,we){if(!(we instanceof r.vc)){let $e=this.doc.nodeAt(Ce);if(!$e)throw new RangeError("No node at position "+Ce);if(we=we.isInSet($e.marks),!we)return this}return this.step(new s(Ce,we)),this}split(Ce,we=1,$e){return ie(this,Ce,we,$e),this}addMark(Ce,we,$e){return I(this,Ce,we,$e),this}removeMark(Ce,we,$e){return L(this,Ce,we,$e),this}clearIncompatible(Ce,we,$e){return W(this,Ce,we,$e),this}}},962711:function(b,l,e){"use strict";e.d(l,{EH:()=>Ys,p:()=>ds,tk:()=>ta});var r=e(76002),o=e(944537),n=e(223122);const a=function(gt){for(var it=0;;it++)if(gt=gt.previousSibling,!gt)return it},i=function(gt){let it=gt.assignedSlot||gt.parentNode;return it&&it.nodeType==11?it.host:it};let c=null;const u=function(gt,it,Lt){let $t=c||(c=document.createRange());return $t.setEnd(gt,Lt??gt.nodeValue.length),$t.setStart(gt,it||0),$t},f=function(gt,it,Lt,$t){return Lt&&(h(gt,it,Lt,$t,-1)||h(gt,it,Lt,$t,1))},d=/^(img|br|input|textarea|hr)$/i;function h(gt,it,Lt,$t,_n){for(;;){if(gt==Lt&&it==$t)return!0;if(it==(_n<0?0:g(gt))){let dn=gt.parentNode;if(!dn||dn.nodeType!=1||p(gt)||d.test(gt.nodeName)||gt.contentEditable=="false")return!1;it=a(gt)+(_n<0?0:1),gt=dn}else if(gt.nodeType==1){if(gt=gt.childNodes[it+(_n<0?-1:0)],gt.contentEditable=="false")return!1;it=_n<0?g(gt):0}else return!1}}function g(gt){return gt.nodeType==3?gt.nodeValue.length:gt.childNodes.length}function _(gt,it,Lt){for(let $t=it==0,_n=it==g(gt);$t||_n;){if(gt==Lt)return!0;let dn=a(gt);if(gt=gt.parentNode,!gt)return!1;$t=$t&&dn==0,_n=_n&&dn==g(gt)}}function p(gt){let it;for(let Lt=gt;Lt&&!(it=Lt.pmViewDesc);Lt=Lt.parentNode);return it&&it.node&&it.node.isBlock&&(it.dom==gt||it.contentDOM==gt)}const y=function(gt){return gt.focusNode&&f(gt.focusNode,gt.focusOffset,gt.anchorNode,gt.anchorOffset)};function O(gt,it){let Lt=document.createEvent("Event");return Lt.initEvent("keydown",!0,!0),Lt.keyCode=gt,Lt.key=Lt.code=it,Lt}function P(gt){let it=gt.activeElement;for(;it&&it.shadowRoot;)it=it.shadowRoot.activeElement;return it}function C(gt,it,Lt){if(gt.caretPositionFromPoint)try{let $t=gt.caretPositionFromPoint(it,Lt);if($t)return{node:$t.offsetNode,offset:$t.offset}}catch{}if(gt.caretRangeFromPoint){let $t=gt.caretRangeFromPoint(it,Lt);if($t)return{node:$t.startContainer,offset:$t.startOffset}}}const A=typeof navigator<"u"?navigator:null,S=typeof document<"u"?document:null,T=A&&A.userAgent||"",s=/Edge\/(\d+)/.exec(T),v=/MSIE \d/.exec(T),m=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(T),E=!!(v||m||s),I=v?document.documentMode:m?+m[1]:s?+s[1]:0,L=!E&&/gecko\/(\d+)/i.test(T);L&&+(/Firefox\/(\d+)/.exec(T)||[0,0])[1];const W=!E&&/Chrome\/(\d+)/.exec(T),F=!!W,G=W?+W[1]:0,k=!E&&!!A&&/Apple Computer/.test(A.vendor),x=k&&(/Mobile\/\w+/.test(T)||!!A&&A.maxTouchPoints>2),M=x||(A?/Mac/.test(A.platform):!1),B=A?/Win/.test(A.platform):!1,R=/Android \d/.test(T),U=!!S&&"webkitFontSmoothing"in S.documentElement.style,j=U?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function $(gt){return{left:0,right:gt.documentElement.clientWidth,top:0,bottom:gt.documentElement.clientHeight}}function ee(gt,it){return typeof gt=="number"?gt:gt[it]}function te(gt){let it=gt.getBoundingClientRect(),Lt=it.width/gt.offsetWidth||1,$t=it.height/gt.offsetHeight||1;return{left:it.left,right:it.left+gt.clientWidth*Lt,top:it.top,bottom:it.top+gt.clientHeight*$t}}function ie(gt,it,Lt){let $t=gt.someProp("scrollThreshold")||0,_n=gt.someProp("scrollMargin")||5,dn=gt.dom.ownerDocument;for(let Jn=Lt||gt.dom;Jn;Jn=i(Jn)){if(Jn.nodeType!=1)continue;let Hn=Jn,jr=Hn==dn.body,wo=jr?$(dn):te(Hn),ko=0,Sa=0;if(it.top<wo.top+ee($t,"top")?Sa=-(wo.top-it.top+ee(_n,"top")):it.bottom>wo.bottom-ee($t,"bottom")&&(Sa=it.bottom-wo.bottom+ee(_n,"bottom")),it.left<wo.left+ee($t,"left")?ko=-(wo.left-it.left+ee(_n,"left")):it.right>wo.right-ee($t,"right")&&(ko=it.right-wo.right+ee(_n,"right")),ko||Sa)if(jr)dn.defaultView.scrollBy(ko,Sa);else{let Na=Hn.scrollLeft,qa=Hn.scrollTop;Sa&&(Hn.scrollTop+=Sa),ko&&(Hn.scrollLeft+=ko);let ms=Hn.scrollLeft-Na,Us=Hn.scrollTop-qa;it={left:it.left-ms,top:it.top-Us,right:it.right-ms,bottom:it.bottom-Us}}if(jr)break}}function ne(gt){let it=gt.dom.getBoundingClientRect(),Lt=Math.max(0,it.top),$t,_n;for(let dn=(it.left+it.right)/2,Jn=Lt+1;Jn<Math.min(innerHeight,it.bottom);Jn+=5){let Hn=gt.root.elementFromPoint(dn,Jn);if(!Hn||Hn==gt.dom||!gt.dom.contains(Hn))continue;let jr=Hn.getBoundingClientRect();if(jr.top>=Lt-20){$t=Hn,_n=jr.top;break}}return{refDOM:$t,refTop:_n,stack:pe(gt.dom)}}function pe(gt){let it=[],Lt=gt.ownerDocument;for(let $t=gt;$t&&(it.push({dom:$t,top:$t.scrollTop,left:$t.scrollLeft}),gt!=Lt);$t=i($t));return it}function oe({refDOM:gt,refTop:it,stack:Lt}){let $t=gt?gt.getBoundingClientRect().top:0;q(Lt,$t==0?0:$t-it)}function q(gt,it){for(let Lt=0;Lt<gt.length;Lt++){let{dom:$t,top:_n,left:dn}=gt[Lt];$t.scrollTop!=_n+it&&($t.scrollTop=_n+it),$t.scrollLeft!=dn&&($t.scrollLeft=dn)}}let J=null;function me(gt){if(gt.setActive)return gt.setActive();if(J)return gt.focus(J);let it=pe(gt);gt.focus(J==null?{get preventScroll(){return J={preventScroll:!0},!0}}:void 0),J||(J=!1,q(it,0))}function re(gt,it){let Lt,$t=2e8,_n,dn=0,Jn=it.top,Hn=it.top,jr,wo;for(let ko=gt.firstChild,Sa=0;ko;ko=ko.nextSibling,Sa++){let Na;if(ko.nodeType==1)Na=ko.getClientRects();else if(ko.nodeType==3)Na=u(ko).getClientRects();else continue;for(let qa=0;qa<Na.length;qa++){let ms=Na[qa];if(ms.top<=Jn&&ms.bottom>=Hn){Jn=Math.max(ms.bottom,Jn),Hn=Math.min(ms.top,Hn);let Us=ms.left>it.left?ms.left-it.left:ms.right<it.left?it.left-ms.right:0;if(Us<$t){Lt=ko,$t=Us,_n=Us&&Lt.nodeType==3?{left:ms.right<it.left?ms.right:ms.left,top:it.top}:it,ko.nodeType==1&&Us&&(dn=Sa+(it.left>=(ms.left+ms.right)/2?1:0));continue}}else ms.top>it.top&&!jr&&ms.left<=it.left&&ms.right>=it.left&&(jr=ko,wo={left:Math.max(ms.left,Math.min(ms.right,it.left)),top:ms.top});!Lt&&(it.left>=ms.right&&it.top>=ms.top||it.left>=ms.left&&it.top>=ms.bottom)&&(dn=Sa+1)}}return!Lt&&jr&&(Lt=jr,_n=wo,$t=0),Lt&&Lt.nodeType==3?he(Lt,_n):!Lt||$t&&Lt.nodeType==1?{node:gt,offset:dn}:re(Lt,_n)}function he(gt,it){let Lt=gt.nodeValue.length,$t=document.createRange();for(let _n=0;_n<Lt;_n++){$t.setEnd(gt,_n+1),$t.setStart(gt,_n);let dn=Be($t,1);if(dn.top!=dn.bottom&&Ee(it,dn))return{node:gt,offset:_n+(it.left>=(dn.left+dn.right)/2?1:0)}}return{node:gt,offset:0}}function Ee(gt,it){return gt.left>=it.left-1&&gt.left<=it.right+1&&gt.top>=it.top-1&&gt.top<=it.bottom+1}function fe(gt,it){let Lt=gt.parentNode;return Lt&&/^li$/i.test(Lt.nodeName)&&it.left<gt.getBoundingClientRect().left?Lt:gt}function H(gt,it,Lt){let{node:$t,offset:_n}=re(it,Lt),dn=-1;if($t.nodeType==1&&!$t.firstChild){let Jn=$t.getBoundingClientRect();dn=Jn.left!=Jn.right&&Lt.left>(Jn.left+Jn.right)/2?1:-1}return gt.docView.posFromDOM($t,_n,dn)}function z(gt,it,Lt,$t){let _n=-1;for(let dn=it,Jn=!1;dn!=gt.dom;){let Hn=gt.docView.nearestDesc(dn,!0);if(!Hn)return null;if(Hn.dom.nodeType==1&&(Hn.node.isBlock&&Hn.parent&&!Jn||!Hn.contentDOM)){let jr=Hn.dom.getBoundingClientRect();if(Hn.node.isBlock&&Hn.parent&&!Jn&&(Jn=!0,jr.left>$t.left||jr.top>$t.top?_n=Hn.posBefore:(jr.right<$t.left||jr.bottom<$t.top)&&(_n=Hn.posAfter)),!Hn.contentDOM&&_n<0)return(Hn.node.isBlock?$t.top<(jr.top+jr.bottom)/2:$t.left<(jr.left+jr.right)/2)?Hn.posBefore:Hn.posAfter}dn=Hn.dom.parentNode}return _n>-1?_n:gt.docView.posFromDOM(it,Lt,-1)}function _e(gt,it,Lt){let $t=gt.childNodes.length;if($t&&Lt.top<Lt.bottom)for(let _n=Math.max(0,Math.min($t-1,Math.floor($t*(it.top-Lt.top)/(Lt.bottom-Lt.top))-2)),dn=_n;;){let Jn=gt.childNodes[dn];if(Jn.nodeType==1){let Hn=Jn.getClientRects();for(let jr=0;jr<Hn.length;jr++){let wo=Hn[jr];if(Ee(it,wo))return _e(Jn,it,wo)}}if((dn=(dn+1)%$t)==_n)break}return gt}function ae(gt,it){let Lt=gt.dom.ownerDocument,$t,_n=0,dn=C(Lt,it.left,it.top);dn&&({node:$t,offset:_n}=dn);let Jn=(gt.root.elementFromPoint?gt.root:Lt).elementFromPoint(it.left,it.top),Hn;if(!Jn||!gt.dom.contains(Jn.nodeType!=1?Jn.parentNode:Jn)){let wo=gt.dom.getBoundingClientRect();if(!Ee(it,wo)||(Jn=_e(gt.dom,it,wo),!Jn))return null}if(k)for(let wo=Jn;$t&&wo;wo=i(wo))wo.draggable&&($t=void 0);if(Jn=fe(Jn,it),$t){if(L&&$t.nodeType==1&&(_n=Math.min(_n,$t.childNodes.length),_n<$t.childNodes.length)){let wo=$t.childNodes[_n],ko;wo.nodeName=="IMG"&&(ko=wo.getBoundingClientRect()).right<=it.left&&ko.bottom>it.top&&_n++}$t==gt.dom&&_n==$t.childNodes.length-1&&$t.lastChild.nodeType==1&&it.top>$t.lastChild.getBoundingClientRect().bottom?Hn=gt.state.doc.content.size:(_n==0||$t.nodeType!=1||$t.childNodes[_n-1].nodeName!="BR")&&(Hn=z(gt,$t,_n,it))}Hn==null&&(Hn=H(gt,Jn,it));let jr=gt.docView.nearestDesc(Jn,!0);return{pos:Hn,inside:jr?jr.posAtStart-jr.border:-1}}function ge(gt){return gt.top<gt.bottom||gt.left<gt.right}function Be(gt,it){let Lt=gt.getClientRects();if(Lt.length){let $t=Lt[it<0?0:Lt.length-1];if(ge($t))return $t}return Array.prototype.find.call(Lt,ge)||gt.getBoundingClientRect()}const Ke=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function He(gt,it,Lt){let{node:$t,offset:_n,atom:dn}=gt.docView.domFromPos(it,Lt<0?-1:1),Jn=U||L;if($t.nodeType==3)if(Jn&&(Ke.test($t.nodeValue)||(Lt<0?!_n:_n==$t.nodeValue.length))){let jr=Be(u($t,_n,_n),Lt);if(L&&_n&&/\s/.test($t.nodeValue[_n-1])&&_n<$t.nodeValue.length){let wo=Be(u($t,_n-1,_n-1),-1);if(wo.top==jr.top){let ko=Be(u($t,_n,_n+1),-1);if(ko.top!=jr.top)return ye(ko,ko.left<wo.left)}}return jr}else{let jr=_n,wo=_n,ko=Lt<0?1:-1;return Lt<0&&!_n?(wo++,ko=-1):Lt>=0&&_n==$t.nodeValue.length?(jr--,ko=1):Lt<0?jr--:wo++,ye(Be(u($t,jr,wo),ko),ko<0)}if(!gt.state.doc.resolve(it-(dn||0)).parent.inlineContent){if(dn==null&&_n&&(Lt<0||_n==g($t))){let jr=$t.childNodes[_n-1];if(jr.nodeType==1)return Le(jr.getBoundingClientRect(),!1)}if(dn==null&&_n<g($t)){let jr=$t.childNodes[_n];if(jr.nodeType==1)return Le(jr.getBoundingClientRect(),!0)}return Le($t.getBoundingClientRect(),Lt>=0)}if(dn==null&&_n&&(Lt<0||_n==g($t))){let jr=$t.childNodes[_n-1],wo=jr.nodeType==3?u(jr,g(jr)-(Jn?0:1)):jr.nodeType==1&&(jr.nodeName!="BR"||!jr.nextSibling)?jr:null;if(wo)return ye(Be(wo,1),!1)}if(dn==null&&_n<g($t)){let jr=$t.childNodes[_n];for(;jr.pmViewDesc&&jr.pmViewDesc.ignoreForCoords;)jr=jr.nextSibling;let wo=jr?jr.nodeType==3?u(jr,0,Jn?0:1):jr.nodeType==1?jr:null:null;if(wo)return ye(Be(wo,-1),!0)}return ye(Be($t.nodeType==3?u($t):$t,-Lt),Lt>=0)}function ye(gt,it){if(gt.width==0)return gt;let Lt=it?gt.left:gt.right;return{top:gt.top,bottom:gt.bottom,left:Lt,right:Lt}}function Le(gt,it){if(gt.height==0)return gt;let Lt=it?gt.top:gt.bottom;return{top:Lt,bottom:Lt,left:gt.left,right:gt.right}}function Ue(gt,it,Lt){let $t=gt.state,_n=gt.root.activeElement;$t!=it&&gt.updateState(it),_n!=gt.dom&&gt.focus();try{return Lt()}finally{$t!=it&&gt.updateState($t),_n!=gt.dom&&_n&&_n.focus()}}function Xe(gt,it,Lt){let $t=it.selection,_n=Lt=="up"?$t.$from:$t.$to;return Ue(gt,it,()=>{let{node:dn}=gt.docView.domFromPos(_n.pos,Lt=="up"?-1:1);for(;;){let Hn=gt.docView.nearestDesc(dn,!0);if(!Hn)break;if(Hn.node.isBlock){dn=Hn.contentDOM||Hn.dom;break}dn=Hn.dom.parentNode}let Jn=He(gt,_n.pos,1);for(let Hn=dn.firstChild;Hn;Hn=Hn.nextSibling){let jr;if(Hn.nodeType==1)jr=Hn.getClientRects();else if(Hn.nodeType==3)jr=u(Hn,0,Hn.nodeValue.length).getClientRects();else continue;for(let wo=0;wo<jr.length;wo++){let ko=jr[wo];if(ko.bottom>ko.top+1&&(Lt=="up"?Jn.top-ko.top>(ko.bottom-Jn.top)*2:ko.bottom-Jn.bottom>(Jn.bottom-ko.top)*2))return!1}}return!0})}const Fe=/[\u0590-\u08ac]/;function ht(gt,it,Lt){let{$head:$t}=it.selection;if(!$t.parent.isTextblock)return!1;let _n=$t.parentOffset,dn=!_n,Jn=_n==$t.parent.content.size,Hn=gt.domSelection();return!Fe.test($t.parent.textContent)||!Hn.modify?Lt=="left"||Lt=="backward"?dn:Jn:Ue(gt,it,()=>{let{focusNode:jr,focusOffset:wo,anchorNode:ko,anchorOffset:Sa}=gt.domSelectionRange(),Na=Hn.caretBidiLevel;Hn.modify("move",Lt,"character");let qa=$t.depth?gt.docView.domAfterPos($t.before()):gt.dom,{focusNode:ms,focusOffset:Us}=gt.domSelectionRange(),$i=ms&&!qa.contains(ms.nodeType==1?ms:ms.parentNode)||jr==ms&&wo==Us;try{Hn.collapse(ko,Sa),jr&&(jr!=ko||wo!=Sa)&&Hn.extend&&Hn.extend(jr,wo)}catch{}return Na!=null&&(Hn.caretBidiLevel=Na),$i})}let Ne=null,Ce=null,we=!1;function $e(gt,it,Lt){return Ne==it&&Ce==Lt?we:(Ne=it,Ce=Lt,we=Lt=="up"||Lt=="down"?Xe(gt,it,Lt):ht(gt,it,Lt))}const Ot=0,Pt=1,Ie=2,Bt=3;class mt{constructor(it,Lt,$t,_n){this.parent=it,this.children=Lt,this.dom=$t,this.contentDOM=_n,this.dirty=Ot,$t.pmViewDesc=this}matchesWidget(it){return!1}matchesMark(it){return!1}matchesNode(it,Lt,$t){return!1}matchesHack(it){return!1}parseRule(){return null}stopEvent(it){return!1}get size(){let it=0;for(let Lt=0;Lt<this.children.length;Lt++)it+=this.children[Lt].size;return it}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let it=0;it<this.children.length;it++)this.children[it].destroy()}posBeforeChild(it){for(let Lt=0,$t=this.posAtStart;;Lt++){let _n=this.children[Lt];if(_n==it)return $t;$t+=_n.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(it,Lt,$t){if(this.contentDOM&&this.contentDOM.contains(it.nodeType==1?it:it.parentNode))if($t<0){let dn,Jn;if(it==this.contentDOM)dn=it.childNodes[Lt-1];else{for(;it.parentNode!=this.contentDOM;)it=it.parentNode;dn=it.previousSibling}for(;dn&&!((Jn=dn.pmViewDesc)&&Jn.parent==this);)dn=dn.previousSibling;return dn?this.posBeforeChild(Jn)+Jn.size:this.posAtStart}else{let dn,Jn;if(it==this.contentDOM)dn=it.childNodes[Lt];else{for(;it.parentNode!=this.contentDOM;)it=it.parentNode;dn=it.nextSibling}for(;dn&&!((Jn=dn.pmViewDesc)&&Jn.parent==this);)dn=dn.nextSibling;return dn?this.posBeforeChild(Jn):this.posAtEnd}let _n;if(it==this.dom&&this.contentDOM)_n=Lt>a(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))_n=it.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(Lt==0)for(let dn=it;;dn=dn.parentNode){if(dn==this.dom){_n=!1;break}if(dn.previousSibling)break}if(_n==null&&Lt==it.childNodes.length)for(let dn=it;;dn=dn.parentNode){if(dn==this.dom){_n=!0;break}if(dn.nextSibling)break}}return _n??$t>0?this.posAtEnd:this.posAtStart}nearestDesc(it,Lt=!1){for(let $t=!0,_n=it;_n;_n=_n.parentNode){let dn=this.getDesc(_n),Jn;if(dn&&(!Lt||dn.node))if($t&&(Jn=dn.nodeDOM)&&!(Jn.nodeType==1?Jn.contains(it.nodeType==1?it:it.parentNode):Jn==it))$t=!1;else return dn}}getDesc(it){let Lt=it.pmViewDesc;for(let $t=Lt;$t;$t=$t.parent)if($t==this)return Lt}posFromDOM(it,Lt,$t){for(let _n=it;_n;_n=_n.parentNode){let dn=this.getDesc(_n);if(dn)return dn.localPosFromDOM(it,Lt,$t)}return-1}descAt(it){for(let Lt=0,$t=0;Lt<this.children.length;Lt++){let _n=this.children[Lt],dn=$t+_n.size;if($t==it&&dn!=$t){for(;!_n.border&&_n.children.length;)_n=_n.children[0];return _n}if(it<dn)return _n.descAt(it-$t-_n.border);$t=dn}}domFromPos(it,Lt){if(!this.contentDOM)return{node:this.dom,offset:0,atom:it+1};let $t=0,_n=0;for(let dn=0;$t<this.children.length;$t++){let Jn=this.children[$t],Hn=dn+Jn.size;if(Hn>it||Jn instanceof ze){_n=it-dn;break}dn=Hn}if(_n)return this.children[$t].domFromPos(_n-this.children[$t].border,Lt);for(let dn;$t&&!(dn=this.children[$t-1]).size&&dn instanceof rt&&dn.side>=0;$t--);if(Lt<=0){let dn,Jn=!0;for(;dn=$t?this.children[$t-1]:null,!(!dn||dn.dom.parentNode==this.contentDOM);$t--,Jn=!1);return dn&&Lt&&Jn&&!dn.border&&!dn.domAtom?dn.domFromPos(dn.size,Lt):{node:this.contentDOM,offset:dn?a(dn.dom)+1:0}}else{let dn,Jn=!0;for(;dn=$t<this.children.length?this.children[$t]:null,!(!dn||dn.dom.parentNode==this.contentDOM);$t++,Jn=!1);return dn&&Jn&&!dn.border&&!dn.domAtom?dn.domFromPos(0,Lt):{node:this.contentDOM,offset:dn?a(dn.dom):this.contentDOM.childNodes.length}}}parseRange(it,Lt,$t=0){if(this.children.length==0)return{node:this.contentDOM,from:it,to:Lt,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let _n=-1,dn=-1;for(let Jn=$t,Hn=0;;Hn++){let jr=this.children[Hn],wo=Jn+jr.size;if(_n==-1&&it<=wo){let ko=Jn+jr.border;if(it>=ko&&Lt<=wo-jr.border&&jr.node&&jr.contentDOM&&this.contentDOM.contains(jr.contentDOM))return jr.parseRange(it,Lt,ko);it=Jn;for(let Sa=Hn;Sa>0;Sa--){let Na=this.children[Sa-1];if(Na.size&&Na.dom.parentNode==this.contentDOM&&!Na.emptyChildAt(1)){_n=a(Na.dom)+1;break}it-=Na.size}_n==-1&&(_n=0)}if(_n>-1&&(wo>Lt||Hn==this.children.length-1)){Lt=wo;for(let ko=Hn+1;ko<this.children.length;ko++){let Sa=this.children[ko];if(Sa.size&&Sa.dom.parentNode==this.contentDOM&&!Sa.emptyChildAt(-1)){dn=a(Sa.dom);break}Lt+=Sa.size}dn==-1&&(dn=this.contentDOM.childNodes.length);break}Jn=wo}return{node:this.contentDOM,from:it,to:Lt,fromOffset:_n,toOffset:dn}}emptyChildAt(it){if(this.border||!this.contentDOM||!this.children.length)return!1;let Lt=this.children[it<0?0:this.children.length-1];return Lt.size==0||Lt.emptyChildAt(it)}domAfterPos(it){let{node:Lt,offset:$t}=this.domFromPos(it,0);if(Lt.nodeType!=1||$t==Lt.childNodes.length)throw new RangeError("No node after pos "+it);return Lt.childNodes[$t]}setSelection(it,Lt,$t,_n=!1){let dn=Math.min(it,Lt),Jn=Math.max(it,Lt);for(let Na=0,qa=0;Na<this.children.length;Na++){let ms=this.children[Na],Us=qa+ms.size;if(dn>qa&&Jn<Us)return ms.setSelection(it-qa-ms.border,Lt-qa-ms.border,$t,_n);qa=Us}let Hn=this.domFromPos(it,it?-1:1),jr=Lt==it?Hn:this.domFromPos(Lt,Lt?-1:1),wo=$t.getSelection(),ko=!1;if((L||k)&&it==Lt){let{node:Na,offset:qa}=Hn;if(Na.nodeType==3){if(ko=!!(qa&&Na.nodeValue[qa-1]==`
`),ko&&qa==Na.nodeValue.length)for(let ms=Na,Us;ms;ms=ms.parentNode){if(Us=ms.nextSibling){Us.nodeName=="BR"&&(Hn=jr={node:Us.parentNode,offset:a(Us)+1});break}let $i=ms.pmViewDesc;if($i&&$i.node&&$i.node.isBlock)break}}else{let ms=Na.childNodes[qa-1];ko=ms&&(ms.nodeName=="BR"||ms.contentEditable=="false")}}if(L&&wo.focusNode&&wo.focusNode!=jr.node&&wo.focusNode.nodeType==1){let Na=wo.focusNode.childNodes[wo.focusOffset];Na&&Na.contentEditable=="false"&&(_n=!0)}if(!(_n||ko&&k)&&f(Hn.node,Hn.offset,wo.anchorNode,wo.anchorOffset)&&f(jr.node,jr.offset,wo.focusNode,wo.focusOffset))return;let Sa=!1;if((wo.extend||it==Lt)&&!ko){wo.collapse(Hn.node,Hn.offset);try{it!=Lt&&wo.extend(jr.node,jr.offset),Sa=!0}catch{}}if(!Sa){if(it>Lt){let qa=Hn;Hn=jr,jr=qa}let Na=document.createRange();Na.setEnd(jr.node,jr.offset),Na.setStart(Hn.node,Hn.offset),wo.removeAllRanges(),wo.addRange(Na)}}ignoreMutation(it){return!this.contentDOM&&it.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(it,Lt){for(let $t=0,_n=0;_n<this.children.length;_n++){let dn=this.children[_n],Jn=$t+dn.size;if($t==Jn?it<=Jn&&Lt>=$t:it<Jn&&Lt>$t){let Hn=$t+dn.border,jr=Jn-dn.border;if(it>=Hn&&Lt<=jr){this.dirty=it==$t||Lt==Jn?Ie:Pt,it==Hn&&Lt==jr&&(dn.contentLost||dn.dom.parentNode!=this.contentDOM)?dn.dirty=Bt:dn.markDirty(it-Hn,Lt-Hn);return}else dn.dirty=dn.dom==dn.contentDOM&&dn.dom.parentNode==this.contentDOM&&!dn.children.length?Ie:Bt}$t=Jn}this.dirty=Ie}markParentsDirty(){let it=1;for(let Lt=this.parent;Lt;Lt=Lt.parent,it++){let $t=it==1?Ie:Pt;Lt.dirty<$t&&(Lt.dirty=$t)}}get domAtom(){return!1}get ignoreForCoords(){return!1}}class rt extends mt{constructor(it,Lt,$t,_n){let dn,Jn=Lt.type.toDOM;if(typeof Jn=="function"&&(Jn=Jn($t,()=>{if(!dn)return _n;if(dn.parent)return dn.parent.posBeforeChild(dn)})),!Lt.type.spec.raw){if(Jn.nodeType!=1){let Hn=document.createElement("span");Hn.appendChild(Jn),Jn=Hn}Jn.contentEditable="false",Jn.classList.add("ProseMirror-widget")}super(it,[],Jn,null),this.widget=Lt,this.widget=Lt,dn=this}matchesWidget(it){return this.dirty==Ot&&it.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(it){let Lt=this.widget.spec.stopEvent;return Lt?Lt(it):!1}ignoreMutation(it){return it.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class ce extends mt{constructor(it,Lt,$t,_n){super(it,[],Lt,null),this.textDOM=$t,this.text=_n}get size(){return this.text.length}localPosFromDOM(it,Lt){return it!=this.textDOM?this.posAtStart+(Lt?this.size:0):this.posAtStart+Lt}domFromPos(it){return{node:this.textDOM,offset:it}}ignoreMutation(it){return it.type==="characterData"&&it.target.nodeValue==it.oldValue}}class Re extends mt{constructor(it,Lt,$t,_n){super(it,[],$t,_n),this.mark=Lt}static create(it,Lt,$t,_n){let dn=_n.nodeViews[Lt.type.name],Jn=dn&&dn(Lt,_n,$t);return(!Jn||!Jn.dom)&&(Jn=o.PW.renderSpec(document,Lt.type.spec.toDOM(Lt,$t))),new Re(it,Lt,Jn.dom,Jn.contentDOM||Jn.dom)}parseRule(){return this.dirty&Bt||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM||void 0}}matchesMark(it){return this.dirty!=Bt&&this.mark.eq(it)}markDirty(it,Lt){if(super.markDirty(it,Lt),this.dirty!=Ot){let $t=this.parent;for(;!$t.node;)$t=$t.parent;$t.dirty<this.dirty&&($t.dirty=this.dirty),this.dirty=Ot}}slice(it,Lt,$t){let _n=Re.create(this.parent,this.mark,!0,$t),dn=this.children,Jn=this.size;Lt<Jn&&(dn=Hr(dn,Lt,Jn,$t)),it>0&&(dn=Hr(dn,0,it,$t));for(let Hn=0;Hn<dn.length;Hn++)dn[Hn].parent=_n;return _n.children=dn,_n}}class nt extends mt{constructor(it,Lt,$t,_n,dn,Jn,Hn,jr,wo){super(it,[],dn,Jn),this.node=Lt,this.outerDeco=$t,this.innerDeco=_n,this.nodeDOM=Hn}static create(it,Lt,$t,_n,dn,Jn){let Hn=dn.nodeViews[Lt.type.name],jr,wo=Hn&&Hn(Lt,dn,()=>{if(!jr)return Jn;if(jr.parent)return jr.parent.posBeforeChild(jr)},$t,_n),ko=wo&&wo.dom,Sa=wo&&wo.contentDOM;if(Lt.isText){if(!ko)ko=document.createTextNode(Lt.text);else if(ko.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else ko||({dom:ko,contentDOM:Sa}=o.PW.renderSpec(document,Lt.type.spec.toDOM(Lt)));!Sa&&!Lt.isText&&ko.nodeName!="BR"&&(ko.hasAttribute("contenteditable")||(ko.contentEditable="false"),Lt.type.spec.draggable&&(ko.draggable=!0));let Na=ko;return ko=Zn(ko,$t,Lt),wo?jr=new It(it,Lt,$t,_n,ko,Sa||null,Na,wo,dn,Jn+1):Lt.isText?new vt(it,Lt,$t,_n,ko,Na,dn):new nt(it,Lt,$t,_n,ko,Sa||null,Na,dn,Jn+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let it={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(it.preserveWhitespace="full"),!this.contentDOM)it.getContent=()=>this.node.content;else if(!this.contentLost)it.contentElement=this.contentDOM;else{for(let Lt=this.children.length-1;Lt>=0;Lt--){let $t=this.children[Lt];if(this.dom.contains($t.dom.parentNode)){it.contentElement=$t.dom.parentNode;break}}it.contentElement||(it.getContent=()=>o.HY.empty)}return it}matchesNode(it,Lt,$t){return this.dirty==Ot&&it.eq(this.node)&&$n(Lt,this.outerDeco)&&$t.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(it,Lt){let $t=this.node.inlineContent,_n=Lt,dn=it.composing?this.localCompositionInfo(it,Lt):null,Jn=dn&&dn.pos>-1?dn:null,Hn=dn&&dn.pos<0,jr=new Rn(this,Jn&&Jn.node,it);Nn(this.node,this.innerDeco,(wo,ko,Sa)=>{wo.spec.marks?jr.syncToMarks(wo.spec.marks,$t,it):wo.type.side>=0&&!Sa&&jr.syncToMarks(ko==this.node.childCount?o.vc.none:this.node.child(ko).marks,$t,it),jr.placeWidget(wo,it,_n)},(wo,ko,Sa,Na)=>{jr.syncToMarks(wo.marks,$t,it);let qa;jr.findNodeMatch(wo,ko,Sa,Na)||Hn&&it.state.selection.from>_n&&it.state.selection.to<_n+wo.nodeSize&&(qa=jr.findIndexWithChild(dn.node))>-1&&jr.updateNodeAt(wo,ko,Sa,qa,it)||jr.updateNextNode(wo,ko,Sa,it,Na,_n)||jr.addNode(wo,ko,Sa,it,_n),_n+=wo.nodeSize}),jr.syncToMarks([],$t,it),this.node.isTextblock&&jr.addTextblockHacks(),jr.destroyRest(),(jr.changed||this.dirty==Ie)&&(Jn&&this.protectLocalComposition(it,Jn),on(this.contentDOM,this.children,it),x&&cn(this.dom))}localCompositionInfo(it,Lt){let{from:$t,to:_n}=it.state.selection;if(!(it.state.selection instanceof r.Bs)||$t<Lt||_n>Lt+this.node.content.size)return null;let dn=it.domSelectionRange(),Jn=or(dn.focusNode,dn.focusOffset);if(!Jn||!this.dom.contains(Jn.parentNode))return null;if(this.node.inlineContent){let Hn=Jn.nodeValue,jr=qn(this.node.content,Hn,$t-Lt,_n-Lt);return jr<0?null:{node:Jn,pos:jr,text:Hn}}else return{node:Jn,pos:-1,text:""}}protectLocalComposition(it,{node:Lt,pos:$t,text:_n}){if(this.getDesc(Lt))return;let dn=Lt;for(;dn.parentNode!=this.contentDOM;dn=dn.parentNode){for(;dn.previousSibling;)dn.parentNode.removeChild(dn.previousSibling);for(;dn.nextSibling;)dn.parentNode.removeChild(dn.nextSibling);dn.pmViewDesc&&(dn.pmViewDesc=void 0)}let Jn=new ce(this,dn,Lt,_n);it.input.compositionNodes.push(Jn),this.children=Hr(this.children,$t,$t+_n.length,it,Jn)}update(it,Lt,$t,_n){return this.dirty==Bt||!it.sameMarkup(this.node)?!1:(this.updateInner(it,Lt,$t,_n),!0)}updateInner(it,Lt,$t,_n){this.updateOuterDeco(Lt),this.node=it,this.innerDeco=$t,this.contentDOM&&this.updateChildren(_n,this.posAtStart),this.dirty=Ot}updateOuterDeco(it){if($n(it,this.outerDeco))return;let Lt=this.nodeDOM.nodeType!=1,$t=this.dom;this.dom=bn(this.dom,this.nodeDOM,Ln(this.outerDeco,this.node,Lt),Ln(it,this.node,Lt)),this.dom!=$t&&($t.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=it}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function st(gt,it,Lt,$t,_n){Zn($t,it,gt);let dn=new nt(void 0,gt,it,Lt,$t,$t,$t,_n,0);return dn.contentDOM&&dn.updateChildren(_n,0),dn}class vt extends nt{constructor(it,Lt,$t,_n,dn,Jn,Hn){super(it,Lt,$t,_n,dn,null,Jn,Hn,0)}parseRule(){let it=this.nodeDOM.parentNode;for(;it&&it!=this.dom&&!it.pmIsDeco;)it=it.parentNode;return{skip:it||!0}}update(it,Lt,$t,_n){return this.dirty==Bt||this.dirty!=Ot&&!this.inParent()||!it.sameMarkup(this.node)?!1:(this.updateOuterDeco(Lt),(this.dirty!=Ot||it.text!=this.node.text)&&it.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=it.text,_n.trackWrites==this.nodeDOM&&(_n.trackWrites=null)),this.node=it,this.dirty=Ot,!0)}inParent(){let it=this.parent.contentDOM;for(let Lt=this.nodeDOM;Lt;Lt=Lt.parentNode)if(Lt==it)return!0;return!1}domFromPos(it){return{node:this.nodeDOM,offset:it}}localPosFromDOM(it,Lt,$t){return it==this.nodeDOM?this.posAtStart+Math.min(Lt,this.node.text.length):super.localPosFromDOM(it,Lt,$t)}ignoreMutation(it){return it.type!="characterData"&&it.type!="selection"}slice(it,Lt,$t){let _n=this.node.cut(it,Lt),dn=document.createTextNode(_n.text);return new vt(this.parent,_n,this.outerDeco,this.innerDeco,dn,dn,$t)}markDirty(it,Lt){super.markDirty(it,Lt),this.dom!=this.nodeDOM&&(it==0||Lt==this.nodeDOM.nodeValue.length)&&(this.dirty=Bt)}get domAtom(){return!1}}class ze extends mt{parseRule(){return{ignore:!0}}matchesHack(it){return this.dirty==Ot&&this.dom.nodeName==it}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class It extends nt{constructor(it,Lt,$t,_n,dn,Jn,Hn,jr,wo,ko){super(it,Lt,$t,_n,dn,Jn,Hn,wo,ko),this.spec=jr}update(it,Lt,$t,_n){if(this.dirty==Bt)return!1;if(this.spec.update){let dn=this.spec.update(it,Lt,$t);return dn&&this.updateInner(it,Lt,$t,_n),dn}else return!this.contentDOM&&!it.isLeaf?!1:super.update(it,Lt,$t,_n)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(it,Lt,$t,_n){this.spec.setSelection?this.spec.setSelection(it,Lt,$t):super.setSelection(it,Lt,$t,_n)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(it){return this.spec.stopEvent?this.spec.stopEvent(it):!1}ignoreMutation(it){return this.spec.ignoreMutation?this.spec.ignoreMutation(it):super.ignoreMutation(it)}}function on(gt,it,Lt){let $t=gt.firstChild,_n=!1;for(let dn=0;dn<it.length;dn++){let Jn=it[dn],Hn=Jn.dom;if(Hn.parentNode==gt){for(;Hn!=$t;)$t=jt($t),_n=!0;$t=$t.nextSibling}else _n=!0,gt.insertBefore(Hn,$t);if(Jn instanceof Re){let jr=$t?$t.previousSibling:gt.lastChild;on(Jn.contentDOM,Jn.children,Lt),$t=jr?jr.nextSibling:gt.firstChild}}for(;$t;)$t=jt($t),_n=!0;_n&&Lt.trackWrites==gt&&(Lt.trackWrites=null)}const Pn=function(gt){gt&&(this.nodeName=gt)};Pn.prototype=Object.create(null);const Yn=[new Pn];function Ln(gt,it,Lt){if(gt.length==0)return Yn;let $t=Lt?Yn[0]:new Pn,_n=[$t];for(let dn=0;dn<gt.length;dn++){let Jn=gt[dn].type.attrs;if(Jn){Jn.nodeName&&_n.push($t=new Pn(Jn.nodeName));for(let Hn in Jn){let jr=Jn[Hn];jr!=null&&(Lt&&_n.length==1&&_n.push($t=new Pn(it.isInline?"span":"div")),Hn=="class"?$t.class=($t.class?$t.class+" ":"")+jr:Hn=="style"?$t.style=($t.style?$t.style+";":"")+jr:Hn!="nodeName"&&($t[Hn]=jr))}}}return _n}function bn(gt,it,Lt,$t){if(Lt==Yn&&$t==Yn)return it;let _n=it;for(let dn=0;dn<$t.length;dn++){let Jn=$t[dn],Hn=Lt[dn];if(dn){let jr;Hn&&Hn.nodeName==Jn.nodeName&&_n!=gt&&(jr=_n.parentNode)&&jr.nodeName.toLowerCase()==Jn.nodeName||(jr=document.createElement(Jn.nodeName),jr.pmIsDeco=!0,jr.appendChild(_n),Hn=Yn[0]),_n=jr}ir(_n,Hn||Yn[0],Jn)}return _n}function ir(gt,it,Lt){for(let $t in it)$t!="class"&&$t!="style"&&$t!="nodeName"&&!($t in Lt)&&gt.removeAttribute($t);for(let $t in Lt)$t!="class"&&$t!="style"&&$t!="nodeName"&&Lt[$t]!=it[$t]&&gt.setAttribute($t,Lt[$t]);if(it.class!=Lt.class){let $t=it.class?it.class.split(" ").filter(Boolean):[],_n=Lt.class?Lt.class.split(" ").filter(Boolean):[];for(let dn=0;dn<$t.length;dn++)_n.indexOf($t[dn])==-1&&gt.classList.remove($t[dn]);for(let dn=0;dn<_n.length;dn++)$t.indexOf(_n[dn])==-1&&gt.classList.add(_n[dn]);gt.classList.length==0&&gt.removeAttribute("class")}if(it.style!=Lt.style){if(it.style){let $t=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,_n;for(;_n=$t.exec(it.style);)gt.style.removeProperty(_n[1])}Lt.style&&(gt.style.cssText+=Lt.style)}}function Zn(gt,it,Lt){return bn(gt,gt,Yn,Ln(it,Lt,gt.nodeType!=1))}function $n(gt,it){if(gt.length!=it.length)return!1;for(let Lt=0;Lt<gt.length;Lt++)if(!gt[Lt].type.eq(it[Lt].type))return!1;return!0}function jt(gt){let it=gt.nextSibling;return gt.parentNode.removeChild(gt),it}class Rn{constructor(it,Lt,$t){this.lock=Lt,this.view=$t,this.index=0,this.stack=[],this.changed=!1,this.top=it,this.preMatch=jn(it.node.content,it)}destroyBetween(it,Lt){if(it!=Lt){for(let $t=it;$t<Lt;$t++)this.top.children[$t].destroy();this.top.children.splice(it,Lt-it),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(it,Lt,$t){let _n=0,dn=this.stack.length>>1,Jn=Math.min(dn,it.length);for(;_n<Jn&&(_n==dn-1?this.top:this.stack[_n+1<<1]).matchesMark(it[_n])&&it[_n].type.spec.spanning!==!1;)_n++;for(;_n<dn;)this.destroyRest(),this.top.dirty=Ot,this.index=this.stack.pop(),this.top=this.stack.pop(),dn--;for(;dn<it.length;){this.stack.push(this.top,this.index+1);let Hn=-1;for(let jr=this.index;jr<Math.min(this.index+3,this.top.children.length);jr++){let wo=this.top.children[jr];if(wo.matchesMark(it[dn])&&!this.isLocked(wo.dom)){Hn=jr;break}}if(Hn>-1)Hn>this.index&&(this.changed=!0,this.destroyBetween(this.index,Hn)),this.top=this.top.children[this.index];else{let jr=Re.create(this.top,it[dn],Lt,$t);this.top.children.splice(this.index,0,jr),this.top=jr,this.changed=!0}this.index=0,dn++}}findNodeMatch(it,Lt,$t,_n){let dn=-1,Jn;if(_n>=this.preMatch.index&&(Jn=this.preMatch.matches[_n-this.preMatch.index]).parent==this.top&&Jn.matchesNode(it,Lt,$t))dn=this.top.children.indexOf(Jn,this.index);else for(let Hn=this.index,jr=Math.min(this.top.children.length,Hn+5);Hn<jr;Hn++){let wo=this.top.children[Hn];if(wo.matchesNode(it,Lt,$t)&&!this.preMatch.matched.has(wo)){dn=Hn;break}}return dn<0?!1:(this.destroyBetween(this.index,dn),this.index++,!0)}updateNodeAt(it,Lt,$t,_n,dn){let Jn=this.top.children[_n];return Jn.dirty==Bt&&Jn.dom==Jn.contentDOM&&(Jn.dirty=Ie),Jn.update(it,Lt,$t,dn)?(this.destroyBetween(this.index,_n),this.index++,!0):!1}findIndexWithChild(it){for(;;){let Lt=it.parentNode;if(!Lt)return-1;if(Lt==this.top.contentDOM){let $t=it.pmViewDesc;if($t){for(let _n=this.index;_n<this.top.children.length;_n++)if(this.top.children[_n]==$t)return _n}return-1}it=Lt}}updateNextNode(it,Lt,$t,_n,dn,Jn){for(let Hn=this.index;Hn<this.top.children.length;Hn++){let jr=this.top.children[Hn];if(jr instanceof nt){let wo=this.preMatch.matched.get(jr);if(wo!=null&&wo!=dn)return!1;let ko=jr.dom,Sa,Na=this.isLocked(ko)&&!(it.isText&&jr.node&&jr.node.isText&&jr.nodeDOM.nodeValue==it.text&&jr.dirty!=Bt&&$n(Lt,jr.outerDeco));if(!Na&&jr.update(it,Lt,$t,_n))return this.destroyBetween(this.index,Hn),jr.dom!=ko&&(this.changed=!0),this.index++,!0;if(!Na&&(Sa=this.recreateWrapper(jr,it,Lt,$t,_n,Jn)))return this.top.children[this.index]=Sa,Sa.dirty=Ie,Sa.updateChildren(_n,Jn+1),Sa.dirty=Ot,this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(it,Lt,$t,_n,dn,Jn){if(it.dirty||Lt.isAtom||!it.children.length||!it.node.content.eq(Lt.content))return null;let Hn=nt.create(this.top,Lt,$t,_n,dn,Jn);if(!Hn.contentDOM)return null;Hn.children=it.children,it.children=[];for(let jr of Hn.children)jr.parent=Hn;return Hn}addNode(it,Lt,$t,_n,dn){let Jn=nt.create(this.top,it,Lt,$t,_n,dn);Jn.contentDOM&&Jn.updateChildren(_n,dn+1),this.top.children.splice(this.index++,0,Jn),this.changed=!0}placeWidget(it,Lt,$t){let _n=this.index<this.top.children.length?this.top.children[this.index]:null;if(_n&&_n.matchesWidget(it)&&(it==_n.widget||!_n.widget.type.toDOM.parentNode))this.index++;else{let dn=new rt(this.top,it,Lt,$t);this.top.children.splice(this.index++,0,dn),this.changed=!0}}addTextblockHacks(){let it=this.top.children[this.index-1],Lt=this.top;for(;it instanceof Re;)Lt=it,it=Lt.children[Lt.children.length-1];(!it||!(it instanceof vt)||/\n$/.test(it.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(it.node.text))&&((k||F)&&it&&it.dom.contentEditable=="false"&&this.addHackNode("IMG",Lt),this.addHackNode("BR",this.top))}addHackNode(it,Lt){if(Lt==this.top&&this.index<Lt.children.length&&Lt.children[this.index].matchesHack(it))this.index++;else{let $t=document.createElement(it);it=="IMG"&&($t.className="ProseMirror-separator",$t.alt=""),it=="BR"&&($t.className="ProseMirror-trailingBreak");let _n=new ze(this.top,[],$t,null);Lt!=this.top?Lt.children.push(_n):Lt.children.splice(this.index++,0,_n),this.changed=!0}}isLocked(it){return this.lock&&(it==this.lock||it.nodeType==1&&it.contains(this.lock.parentNode))}}function jn(gt,it){let Lt=it,$t=Lt.children.length,_n=gt.childCount,dn=new Map,Jn=[];e:for(;_n>0;){let Hn;for(;;)if($t){let wo=Lt.children[$t-1];if(wo instanceof Re)Lt=wo,$t=wo.children.length;else{Hn=wo,$t--;break}}else{if(Lt==it)break e;$t=Lt.parent.children.indexOf(Lt),Lt=Lt.parent}let jr=Hn.node;if(jr){if(jr!=gt.child(_n-1))break;--_n,dn.set(Hn,_n),Jn.push(Hn)}}return{index:_n,matched:dn,matches:Jn.reverse()}}function Tn(gt,it){return gt.type.side-it.type.side}function Nn(gt,it,Lt,$t){let _n=it.locals(gt),dn=0;if(_n.length==0){for(let wo=0;wo<gt.childCount;wo++){let ko=gt.child(wo);$t(ko,_n,it.forChild(dn,ko),wo),dn+=ko.nodeSize}return}let Jn=0,Hn=[],jr=null;for(let wo=0;;){if(Jn<_n.length&&_n[Jn].to==dn){let ms=_n[Jn++],Us;for(;Jn<_n.length&&_n[Jn].to==dn;)(Us||(Us=[ms])).push(_n[Jn++]);if(Us){Us.sort(Tn);for(let $i=0;$i<Us.length;$i++)Lt(Us[$i],wo,!!jr)}else Lt(ms,wo,!!jr)}let ko,Sa;if(jr)Sa=-1,ko=jr,jr=null;else if(wo<gt.childCount)Sa=wo,ko=gt.child(wo++);else break;for(let ms=0;ms<Hn.length;ms++)Hn[ms].to<=dn&&Hn.splice(ms--,1);for(;Jn<_n.length&&_n[Jn].from<=dn&&_n[Jn].to>dn;)Hn.push(_n[Jn++]);let Na=dn+ko.nodeSize;if(ko.isText){let ms=Na;Jn<_n.length&&_n[Jn].from<ms&&(ms=_n[Jn].from);for(let Us=0;Us<Hn.length;Us++)Hn[Us].to<ms&&(ms=Hn[Us].to);ms<Na&&(jr=ko.cut(ms-dn),ko=ko.cut(0,ms-dn),Na=ms,Sa=-1)}let qa=ko.isInline&&!ko.isLeaf?Hn.filter(ms=>!ms.inline):Hn.slice();$t(ko,qa,it.forChild(dn,ko),Sa),dn=Na}}function cn(gt){if(gt.nodeName=="UL"||gt.nodeName=="OL"){let it=gt.style.cssText;gt.style.cssText=it+"; list-style: square !important",window.getComputedStyle(gt).listStyle,gt.style.cssText=it}}function or(gt,it){for(;;){if(gt.nodeType==3)return gt;if(gt.nodeType==1&&it>0){if(gt.childNodes.length>it&&gt.childNodes[it].nodeType==3)return gt.childNodes[it];gt=gt.childNodes[it-1],it=g(gt)}else if(gt.nodeType==1&&it<gt.childNodes.length)gt=gt.childNodes[it],it=0;else return null}}function qn(gt,it,Lt,$t){for(let _n=0,dn=0;_n<gt.childCount&&dn<=$t;){let Jn=gt.child(_n++),Hn=dn;if(dn+=Jn.nodeSize,!Jn.isText)continue;let jr=Jn.text;for(;_n<gt.childCount;){let wo=gt.child(_n++);if(dn+=wo.nodeSize,!wo.isText)break;jr+=wo.text}if(dn>=Lt){let wo=Hn<$t?jr.lastIndexOf(it,$t-Hn-1):-1;if(wo>=0&&wo+it.length+Hn>=Lt)return Hn+wo;if(Lt==$t&&jr.length>=$t+it.length-Hn&&jr.slice($t-Hn,$t-Hn+it.length)==it)return $t}}return-1}function Hr(gt,it,Lt,$t,_n){let dn=[];for(let Jn=0,Hn=0;Jn<gt.length;Jn++){let jr=gt[Jn],wo=Hn,ko=Hn+=jr.size;wo>=Lt||ko<=it?dn.push(jr):(wo<it&&dn.push(jr.slice(0,it-wo,$t)),_n&&(dn.push(_n),_n=void 0),ko>Lt&&dn.push(jr.slice(Lt-wo,jr.size,$t)))}return dn}function fo(gt,it=null){let Lt=gt.domSelectionRange(),$t=gt.state.doc;if(!Lt.focusNode)return null;let _n=gt.docView.nearestDesc(Lt.focusNode),dn=_n&&_n.size==0,Jn=gt.docView.posFromDOM(Lt.focusNode,Lt.focusOffset,1);if(Jn<0)return null;let Hn=$t.resolve(Jn),jr,wo;if(y(Lt)){for(jr=Hn;_n&&!_n.node;)_n=_n.parent;let ko=_n.node;if(_n&&ko.isAtom&&r.qv.isSelectable(ko)&&_n.parent&&!(ko.isInline&&_(Lt.focusNode,Lt.focusOffset,_n.dom))){let Sa=_n.posBefore;wo=new r.qv(Jn==Sa?Hn:$t.resolve(Sa))}}else{let ko=gt.docView.posFromDOM(Lt.anchorNode,Lt.anchorOffset,1);if(ko<0)return null;jr=$t.resolve(ko)}if(!wo){let ko=it=="pointer"||gt.state.selection.head<Hn.pos&&!dn?1:-1;wo=un(gt,jr,Hn,ko)}return wo}function Jr(gt){return gt.editable?gt.hasFocus():Dn(gt)&&document.activeElement&&document.activeElement.contains(gt.dom)}function ro(gt,it=!1){let Lt=gt.state.selection;if(Te(gt,Lt),!!Jr(gt)){if(!it&&gt.input.mouseDown&&gt.input.mouseDown.allowDefault&&F){let $t=gt.domSelectionRange(),_n=gt.domObserver.currentSelection;if($t.anchorNode&&_n.anchorNode&&f($t.anchorNode,$t.anchorOffset,_n.anchorNode,_n.anchorOffset)){gt.input.mouseDown.delayedSelectionSync=!0,gt.domObserver.setCurSelection();return}}if(gt.domObserver.disconnectSelection(),gt.cursorWrapper)qt(gt);else{let{anchor:$t,head:_n}=Lt,dn,Jn;Xt&&!(Lt instanceof r.Bs)&&(Lt.$from.parent.inlineContent||(dn=Je(gt,Lt.from)),!Lt.empty&&!Lt.$from.parent.inlineContent&&(Jn=Je(gt,Lt.to))),gt.docView.setSelection($t,_n,gt.root,it),Xt&&(dn&&xt(dn),Jn&&xt(Jn)),Lt.visible?gt.dom.classList.remove("ProseMirror-hideselection"):(gt.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&Qt(gt))}gt.domObserver.setCurSelection(),gt.domObserver.connectSelection()}}const Xt=k||F&&G<63;function Je(gt,it){let{node:Lt,offset:$t}=gt.docView.domFromPos(it,0),_n=$t<Lt.childNodes.length?Lt.childNodes[$t]:null,dn=$t?Lt.childNodes[$t-1]:null;if(k&&_n&&_n.contentEditable=="false")return At(_n);if((!_n||_n.contentEditable=="false")&&(!dn||dn.contentEditable=="false")){if(_n)return At(_n);if(dn)return At(dn)}}function At(gt){return gt.contentEditable="true",k&&gt.draggable&&(gt.draggable=!1,gt.wasDraggable=!0),gt}function xt(gt){gt.contentEditable="false",gt.wasDraggable&&(gt.draggable=!0,gt.wasDraggable=null)}function Qt(gt){let it=gt.dom.ownerDocument;it.removeEventListener("selectionchange",gt.input.hideSelectionGuard);let Lt=gt.domSelectionRange(),$t=Lt.anchorNode,_n=Lt.anchorOffset;it.addEventListener("selectionchange",gt.input.hideSelectionGuard=()=>{(Lt.anchorNode!=$t||Lt.anchorOffset!=_n)&&(it.removeEventListener("selectionchange",gt.input.hideSelectionGuard),setTimeout(()=>{(!Jr(gt)||gt.state.selection.visible)&&gt.dom.classList.remove("ProseMirror-hideselection")},20))})}function qt(gt){let it=gt.domSelection(),Lt=document.createRange(),$t=gt.cursorWrapper.dom,_n=$t.nodeName=="IMG";_n?Lt.setEnd($t.parentNode,a($t)+1):Lt.setEnd($t,0),Lt.collapse(!1),it.removeAllRanges(),it.addRange(Lt),!_n&&!gt.state.selection.visible&&E&&I<=11&&($t.disabled=!0,$t.disabled=!1)}function Te(gt,it){if(it instanceof r.qv){let Lt=gt.docView.descAt(it.from);Lt!=gt.lastSelectedViewDesc&&(Gt(gt),Lt&&Lt.selectNode(),gt.lastSelectedViewDesc=Lt)}else Gt(gt)}function Gt(gt){gt.lastSelectedViewDesc&&(gt.lastSelectedViewDesc.parent&&gt.lastSelectedViewDesc.deselectNode(),gt.lastSelectedViewDesc=void 0)}function un(gt,it,Lt,$t){return gt.someProp("createSelectionBetween",_n=>_n(gt,it,Lt))||r.Bs.between(it,Lt,$t)}function Vt(gt){return gt.editable&&!gt.hasFocus()?!1:Dn(gt)}function Dn(gt){let it=gt.domSelectionRange();if(!it.anchorNode)return!1;try{return gt.dom.contains(it.anchorNode.nodeType==3?it.anchorNode.parentNode:it.anchorNode)&&(gt.editable||gt.dom.contains(it.focusNode.nodeType==3?it.focusNode.parentNode:it.focusNode))}catch{return!1}}function Wt(gt){let it=gt.docView.domFromPos(gt.state.selection.anchor,0),Lt=gt.domSelectionRange();return f(it.node,it.offset,Lt.anchorNode,Lt.anchorOffset)}function Pe(gt,it){let{$anchor:Lt,$head:$t}=gt.selection,_n=it>0?Lt.max($t):Lt.min($t),dn=_n.parent.inlineContent?_n.depth?gt.doc.resolve(it>0?_n.after():_n.before()):null:_n;return dn&&r.Y1.findFrom(dn,it)}function xe(gt,it){return gt.dispatch(gt.state.tr.setSelection(it).scrollIntoView()),!0}function Ae(gt,it,Lt){let $t=gt.state.selection;if($t instanceof r.Bs){if(!$t.empty||Lt.indexOf("s")>-1)return!1;if(gt.endOfTextblock(it>0?"forward":"backward")){let _n=Pe(gt.state,it);return _n&&_n instanceof r.qv?xe(gt,_n):!1}else if(!(M&&Lt.indexOf("m")>-1)){let _n=$t.$head,dn=_n.textOffset?null:it<0?_n.nodeBefore:_n.nodeAfter,Jn;if(!dn||dn.isText)return!1;let Hn=it<0?_n.pos-dn.nodeSize:_n.pos;return dn.isAtom||(Jn=gt.docView.descAt(Hn))&&!Jn.contentDOM?r.qv.isSelectable(dn)?xe(gt,new r.qv(it<0?gt.state.doc.resolve(_n.pos-dn.nodeSize):_n)):U?xe(gt,new r.Bs(gt.state.doc.resolve(it<0?Hn:Hn+dn.nodeSize))):!1:!1}}else{if($t instanceof r.qv&&$t.node.isInline)return xe(gt,new r.Bs(it>0?$t.$to:$t.$from));{let _n=Pe(gt.state,it);return _n?xe(gt,_n):!1}}}function qe(gt){return gt.nodeType==3?gt.nodeValue.length:gt.childNodes.length}function wt(gt){let it=gt.pmViewDesc;return it&&it.size==0&&(gt.nextSibling||gt.nodeName!="BR")}function kt(gt,it){return it<0?ut(gt):Ft(gt)}function ut(gt){let it=gt.domSelectionRange(),Lt=it.focusNode,$t=it.focusOffset;if(!Lt)return;let _n,dn,Jn=!1;for(L&&Lt.nodeType==1&&$t<qe(Lt)&&wt(Lt.childNodes[$t])&&(Jn=!0);;)if($t>0){if(Lt.nodeType!=1)break;{let Hn=Lt.childNodes[$t-1];if(wt(Hn))_n=Lt,dn=--$t;else if(Hn.nodeType==3)Lt=Hn,$t=Lt.nodeValue.length;else break}}else{if(tn(Lt))break;{let Hn=Lt.previousSibling;for(;Hn&&wt(Hn);)_n=Lt.parentNode,dn=a(Hn),Hn=Hn.previousSibling;if(Hn)Lt=Hn,$t=qe(Lt);else{if(Lt=Lt.parentNode,Lt==gt.dom)break;$t=0}}}Jn?In(gt,Lt,$t):_n&&In(gt,_n,dn)}function Ft(gt){let it=gt.domSelectionRange(),Lt=it.focusNode,$t=it.focusOffset;if(!Lt)return;let _n=qe(Lt),dn,Jn;for(;;)if($t<_n){if(Lt.nodeType!=1)break;let Hn=Lt.childNodes[$t];if(wt(Hn))dn=Lt,Jn=++$t;else break}else{if(tn(Lt))break;{let Hn=Lt.nextSibling;for(;Hn&&wt(Hn);)dn=Hn.parentNode,Jn=a(Hn)+1,Hn=Hn.nextSibling;if(Hn)Lt=Hn,$t=0,_n=qe(Lt);else{if(Lt=Lt.parentNode,Lt==gt.dom)break;$t=_n=0}}}dn&&In(gt,dn,Jn)}function tn(gt){let it=gt.pmViewDesc;return it&&it.node&&it.node.isBlock}function In(gt,it,Lt){let $t=gt.domSelection();if(y($t)){let dn=document.createRange();dn.setEnd(it,Lt),dn.setStart(it,Lt),$t.removeAllRanges(),$t.addRange(dn)}else $t.extend&&$t.extend(it,Lt);gt.domObserver.setCurSelection();let{state:_n}=gt;setTimeout(()=>{gt.state==_n&&ro(gt)},50)}function rr(gt,it){let Lt=gt.state.doc.resolve(it);if(!(F||B)&&Lt.parent.inlineContent){let _n=gt.coordsAtPos(it);if(it>Lt.start()){let dn=gt.coordsAtPos(it-1),Jn=(dn.top+dn.bottom)/2;if(Jn>_n.top&&Jn<_n.bottom&&Math.abs(dn.left-_n.left)>1)return dn.left<_n.left?"ltr":"rtl"}if(it<Lt.end()){let dn=gt.coordsAtPos(it+1),Jn=(dn.top+dn.bottom)/2;if(Jn>_n.top&&Jn<_n.bottom&&Math.abs(dn.left-_n.left)>1)return dn.left>_n.left?"ltr":"rtl"}}return getComputedStyle(gt.dom).direction=="rtl"?"rtl":"ltr"}function Sr(gt,it,Lt){let $t=gt.state.selection;if($t instanceof r.Bs&&!$t.empty||Lt.indexOf("s")>-1||M&&Lt.indexOf("m")>-1)return!1;let{$from:_n,$to:dn}=$t;if(!_n.parent.inlineContent||gt.endOfTextblock(it<0?"up":"down")){let Jn=Pe(gt.state,it);if(Jn&&Jn instanceof r.qv)return xe(gt,Jn)}if(!_n.parent.inlineContent){let Jn=it<0?_n:dn,Hn=$t instanceof r.C1?r.Y1.near(Jn,it):r.Y1.findFrom(Jn,it);return Hn?xe(gt,Hn):!1}return!1}function Yr(gt,it){if(!(gt.state.selection instanceof r.Bs))return!0;let{$head:Lt,$anchor:$t,empty:_n}=gt.state.selection;if(!Lt.sameParent($t))return!0;if(!_n)return!1;if(gt.endOfTextblock(it>0?"forward":"backward"))return!0;let dn=!Lt.textOffset&&(it<0?Lt.nodeBefore:Lt.nodeAfter);if(dn&&!dn.isText){let Jn=gt.state.tr;return it<0?Jn.delete(Lt.pos-dn.nodeSize,Lt.pos):Jn.delete(Lt.pos,Lt.pos+dn.nodeSize),gt.dispatch(Jn),!0}return!1}function Pr(gt,it,Lt){gt.domObserver.stop(),it.contentEditable=Lt,gt.domObserver.start()}function Mn(gt){if(!k||gt.state.selection.$head.parentOffset>0)return!1;let{focusNode:it,focusOffset:Lt}=gt.domSelectionRange();if(it&&it.nodeType==1&&Lt==0&&it.firstChild&&it.firstChild.contentEditable=="false"){let $t=it.firstChild;Pr(gt,$t,"true"),setTimeout(()=>Pr(gt,$t,"false"),20)}return!1}function sr(gt){let it="";return gt.ctrlKey&&(it+="c"),gt.metaKey&&(it+="m"),gt.altKey&&(it+="a"),gt.shiftKey&&(it+="s"),it}function Ar(gt,it){let Lt=it.keyCode,$t=sr(it);if(Lt==8||M&&Lt==72&&$t=="c")return Yr(gt,-1)||kt(gt,-1);if(Lt==46||M&&Lt==68&&$t=="c")return Yr(gt,1)||kt(gt,1);if(Lt==13||Lt==27)return!0;if(Lt==37||M&&Lt==66&&$t=="c"){let _n=Lt==37?rr(gt,gt.state.selection.from)=="ltr"?-1:1:-1;return Ae(gt,_n,$t)||kt(gt,_n)}else if(Lt==39||M&&Lt==70&&$t=="c"){let _n=Lt==39?rr(gt,gt.state.selection.from)=="ltr"?1:-1:1;return Ae(gt,_n,$t)||kt(gt,_n)}else{if(Lt==38||M&&Lt==80&&$t=="c")return Sr(gt,-1,$t)||kt(gt,-1);if(Lt==40||M&&Lt==78&&$t=="c")return Mn(gt)||Sr(gt,1,$t)||Ft(gt);if($t==(M?"m":"c")&&(Lt==66||Lt==73||Lt==89||Lt==90))return!0}return!1}function vr(gt,it){gt.someProp("transformCopied",qa=>{it=qa(it,gt)});let Lt=[],{content:$t,openStart:_n,openEnd:dn}=it;for(;_n>1&&dn>1&&$t.childCount==1&&$t.firstChild.childCount==1;){_n--,dn--;let qa=$t.firstChild;Lt.push(qa.type.name,qa.attrs!=qa.type.defaultAttrs?qa.attrs:null),$t=qa.content}let Jn=gt.someProp("clipboardSerializer")||o.PW.fromSchema(gt.state.schema),Hn=yt(),jr=Hn.createElement("div");jr.appendChild(Jn.serializeFragment($t,{document:Hn}));let wo=jr.firstChild,ko,Sa=0;for(;wo&&wo.nodeType==1&&(ko=Qe[wo.nodeName.toLowerCase()]);){for(let qa=ko.length-1;qa>=0;qa--){let ms=Hn.createElement(ko[qa]);for(;jr.firstChild;)ms.appendChild(jr.firstChild);jr.appendChild(ms),Sa++}wo=jr.firstChild}wo&&wo.nodeType==1&&wo.setAttribute("data-pm-slice",`${_n} ${dn}${Sa?` -${Sa}`:""} ${JSON.stringify(Lt)}`);let Na=gt.someProp("clipboardTextSerializer",qa=>qa(it,gt))||it.content.textBetween(0,it.content.size,`

`);return{dom:jr,text:Na}}function qr(gt,it,Lt,$t,_n){let dn=_n.parent.type.spec.code,Jn,Hn;if(!Lt&&!it)return null;let jr=it&&($t||dn||!Lt);if(jr){if(gt.someProp("transformPastedText",Na=>{it=Na(it,dn||$t,gt)}),dn)return it?new o.p2(o.HY.from(gt.state.schema.text(it.replace(/\r\n?/g,`
`))),0,0):o.p2.empty;let Sa=gt.someProp("clipboardTextParser",Na=>Na(it,_n,$t,gt));if(Sa)Hn=Sa;else{let Na=_n.marks(),{schema:qa}=gt.state,ms=o.PW.fromSchema(qa);Jn=document.createElement("div"),it.split(/(?:\r\n?|\n)+/).forEach(Us=>{let $i=Jn.appendChild(document.createElement("p"));Us&&$i.appendChild(ms.serializeNode(qa.text(Us,Na)))})}}else gt.someProp("transformPastedHTML",Sa=>{Lt=Sa(Lt,gt)}),Jn=Ze(Lt),U&&Mt(Jn);let wo=Jn&&Jn.querySelector("[data-pm-slice]"),ko=wo&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(wo.getAttribute("data-pm-slice")||"");if(ko&&ko[3])for(let Sa=+ko[3];Sa>0;Sa--){let Na=Jn.firstChild;for(;Na&&Na.nodeType!=1;)Na=Na.nextSibling;if(!Na)break;Jn=Na}if(Hn||(Hn=(gt.someProp("clipboardParser")||gt.someProp("domParser")||o.aw.fromSchema(gt.state.schema)).parseSlice(Jn,{preserveWhitespace:!!(jr||ko),context:_n,ruleFromNode(Na){return Na.nodeName=="BR"&&!Na.nextSibling&&Na.parentNode&&!Dr.test(Na.parentNode.nodeName)?{ignore:!0}:null}})),ko)Hn=ot(Rt(Hn,+ko[1],+ko[2]),ko[4]);else if(Hn=o.p2.maxOpen(eo(Hn.content,_n),!0),Hn.openStart||Hn.openEnd){let Sa=0,Na=0;for(let qa=Hn.content.firstChild;Sa<Hn.openStart&&!qa.type.spec.isolating;Sa++,qa=qa.firstChild);for(let qa=Hn.content.lastChild;Na<Hn.openEnd&&!qa.type.spec.isolating;Na++,qa=qa.lastChild);Hn=Rt(Hn,Sa,Na)}return gt.someProp("transformPasted",Sa=>{Hn=Sa(Hn,gt)}),Hn}const Dr=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function eo(gt,it){if(gt.childCount<2)return gt;for(let Lt=it.depth;Lt>=0;Lt--){let _n=it.node(Lt).contentMatchAt(it.index(Lt)),dn,Jn=[];if(gt.forEach(Hn=>{if(!Jn)return;let jr=_n.findWrapping(Hn.type),wo;if(!jr)return Jn=null;if(wo=Jn.length&&dn.length&&Bn(jr,dn,Hn,Jn[Jn.length-1],0))Jn[Jn.length-1]=wo;else{Jn.length&&(Jn[Jn.length-1]=ar(Jn[Jn.length-1],dn.length));let ko=Vo(Hn,jr);Jn.push(ko),_n=_n.matchType(ko.type),dn=jr}}),Jn)return o.HY.from(Jn)}return gt}function Vo(gt,it,Lt=0){for(let $t=it.length-1;$t>=Lt;$t--)gt=it[$t].create(null,o.HY.from(gt));return gt}function Bn(gt,it,Lt,$t,_n){if(_n<gt.length&&_n<it.length&&gt[_n]==it[_n]){let dn=Bn(gt,it,Lt,$t.lastChild,_n+1);if(dn)return $t.copy($t.content.replaceChild($t.childCount-1,dn));if($t.contentMatchAt($t.childCount).matchType(_n==gt.length-1?Lt.type:gt[_n+1]))return $t.copy($t.content.append(o.HY.from(Vo(Lt,gt,_n+1))))}}function ar(gt,it){if(it==0)return gt;let Lt=gt.content.replaceChild(gt.childCount-1,ar(gt.lastChild,it-1)),$t=gt.contentMatchAt(gt.childCount).fillBefore(o.HY.empty,!0);return gt.copy(Lt.append($t))}function rn(gt,it,Lt,$t,_n,dn){let Jn=it<0?gt.firstChild:gt.lastChild,Hn=Jn.content;return _n<$t-1&&(Hn=rn(Hn,it,Lt,$t,_n+1,dn)),_n>=Lt&&(Hn=it<0?Jn.contentMatchAt(0).fillBefore(Hn,gt.childCount>1||dn<=_n).append(Hn):Hn.append(Jn.contentMatchAt(Jn.childCount).fillBefore(o.HY.empty,!0))),gt.replaceChild(it<0?0:gt.childCount-1,Jn.copy(Hn))}function Rt(gt,it,Lt){return it<gt.openStart&&(gt=new o.p2(rn(gt.content,-1,it,gt.openStart,0,gt.openEnd),it,gt.openEnd)),Lt<gt.openEnd&&(gt=new o.p2(rn(gt.content,1,Lt,gt.openEnd,0,0),gt.openStart,Lt)),gt}const Qe={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let Ye=null;function yt(){return Ye||(Ye=document.implementation.createHTMLDocument("title"))}function Ze(gt){let it=/^(\s*<meta [^>]*>)*/.exec(gt);it&&(gt=gt.slice(it[0].length));let Lt=yt().createElement("div"),$t=/<([a-z][^>\s]+)/i.exec(gt),_n;if((_n=$t&&Qe[$t[1].toLowerCase()])&&(gt=_n.map(dn=>"<"+dn+">").join("")+gt+_n.map(dn=>"</"+dn+">").reverse().join("")),Lt.innerHTML=gt,_n)for(let dn=0;dn<_n.length;dn++)Lt=Lt.querySelector(_n[dn])||Lt;return Lt}function Mt(gt){let it=gt.querySelectorAll(F?"span:not([class]):not([style])":"span.Apple-converted-space");for(let Lt=0;Lt<it.length;Lt++){let $t=it[Lt];$t.childNodes.length==1&&$t.textContent=="\xA0"&&$t.parentNode&&$t.parentNode.replaceChild(gt.ownerDocument.createTextNode(" "),$t)}}function ot(gt,it){if(!gt.size)return gt;let Lt=gt.content.firstChild.type.schema,$t;try{$t=JSON.parse(it)}catch{return gt}let{content:_n,openStart:dn,openEnd:Jn}=gt;for(let Hn=$t.length-2;Hn>=0;Hn-=2){let jr=Lt.nodes[$t[Hn]];if(!jr||jr.hasRequiredAttrs())break;_n=o.HY.from(jr.create($t[Hn+1],_n)),dn++,Jn++}return new o.p2(_n,dn,Jn)}const et={},St={},Ht={touchstart:!0,touchmove:!0};class er{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function Mr(gt){for(let it in et){let Lt=et[it];gt.dom.addEventListener(it,gt.input.eventHandlers[it]=$t=>{io(gt,$t)&&!br(gt,$t)&&(gt.editable||!($t.type in St))&&Lt(gt,$t)},Ht[it]?{passive:!0}:void 0)}k&&gt.dom.addEventListener("input",()=>null),hr(gt)}function mn(gt,it){gt.input.lastSelectionOrigin=it,gt.input.lastSelectionTime=Date.now()}function Un(gt){gt.domObserver.stop();for(let it in gt.input.eventHandlers)gt.dom.removeEventListener(it,gt.input.eventHandlers[it]);clearTimeout(gt.input.composingTimeout),clearTimeout(gt.input.lastIOSEnterFallbackTimeout)}function hr(gt){gt.someProp("handleDOMEvents",it=>{for(let Lt in it)gt.input.eventHandlers[Lt]||gt.dom.addEventListener(Lt,gt.input.eventHandlers[Lt]=$t=>br(gt,$t))})}function br(gt,it){return gt.someProp("handleDOMEvents",Lt=>{let $t=Lt[it.type];return $t?$t(gt,it)||it.defaultPrevented:!1})}function io(gt,it){if(!it.bubbles)return!0;if(it.defaultPrevented)return!1;for(let Lt=it.target;Lt!=gt.dom;Lt=Lt.parentNode)if(!Lt||Lt.nodeType==11||Lt.pmViewDesc&&Lt.pmViewDesc.stopEvent(it))return!1;return!0}function Kr(gt,it){!br(gt,it)&&et[it.type]&&(gt.editable||!(it.type in St))&&et[it.type](gt,it)}St.keydown=(gt,it)=>{let Lt=it;if(gt.input.shiftKey=Lt.keyCode==16||Lt.shiftKey,!Qr(gt,Lt)&&(gt.input.lastKeyCode=Lt.keyCode,gt.input.lastKeyCodeTime=Date.now(),!(R&&F&&Lt.keyCode==13)))if(Lt.keyCode!=229&&gt.domObserver.forceFlush(),x&&Lt.keyCode==13&&!Lt.ctrlKey&&!Lt.altKey&&!Lt.metaKey){let $t=Date.now();gt.input.lastIOSEnter=$t,gt.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{gt.input.lastIOSEnter==$t&&(gt.someProp("handleKeyDown",_n=>_n(gt,O(13,"Enter"))),gt.input.lastIOSEnter=0)},200)}else gt.someProp("handleKeyDown",$t=>$t(gt,Lt))||Ar(gt,Lt)?Lt.preventDefault():mn(gt,"key")},St.keyup=(gt,it)=>{it.keyCode==16&&(gt.input.shiftKey=!1)},St.keypress=(gt,it)=>{let Lt=it;if(Qr(gt,Lt)||!Lt.charCode||Lt.ctrlKey&&!Lt.altKey||M&&Lt.metaKey)return;if(gt.someProp("handleKeyPress",_n=>_n(gt,Lt))){Lt.preventDefault();return}let $t=gt.state.selection;if(!($t instanceof r.Bs)||!$t.$from.sameParent($t.$to)){let _n=String.fromCharCode(Lt.charCode);!/[\r\n]/.test(_n)&&!gt.someProp("handleTextInput",dn=>dn(gt,$t.$from.pos,$t.$to.pos,_n))&&gt.dispatch(gt.state.tr.insertText(_n).scrollIntoView()),Lt.preventDefault()}};function xo(gt){return{left:gt.clientX,top:gt.clientY}}function Ho(gt,it){let Lt=it.x-gt.clientX,$t=it.y-gt.clientY;return Lt*Lt+$t*$t<100}function bo(gt,it,Lt,$t,_n){if($t==-1)return!1;let dn=gt.state.doc.resolve($t);for(let Jn=dn.depth+1;Jn>0;Jn--)if(gt.someProp(it,Hn=>Jn>dn.depth?Hn(gt,Lt,dn.nodeAfter,dn.before(Jn),_n,!0):Hn(gt,Lt,dn.node(Jn),dn.before(Jn),_n,!1)))return!0;return!1}function Ea(gt,it,Lt){gt.focused||gt.focus();let $t=gt.state.tr.setSelection(it);Lt=="pointer"&&$t.setMeta("pointer",!0),gt.dispatch($t)}function Ia(gt,it){if(it==-1)return!1;let Lt=gt.state.doc.resolve(it),$t=Lt.nodeAfter;return $t&&$t.isAtom&&r.qv.isSelectable($t)?(Ea(gt,new r.qv(Lt),"pointer"),!0):!1}function Da(gt,it){if(it==-1)return!1;let Lt=gt.state.selection,$t,_n;Lt instanceof r.qv&&($t=Lt.node);let dn=gt.state.doc.resolve(it);for(let Jn=dn.depth+1;Jn>0;Jn--){let Hn=Jn>dn.depth?dn.nodeAfter:dn.node(Jn);if(r.qv.isSelectable(Hn)){$t&&Lt.$from.depth>0&&Jn>=Lt.$from.depth&&dn.before(Lt.$from.depth+1)==Lt.$from.pos?_n=dn.before(Lt.$from.depth):_n=dn.before(Jn);break}}return _n!=null?(Ea(gt,r.qv.create(gt.state.doc,_n),"pointer"),!0):!1}function Za(gt,it,Lt,$t,_n){return bo(gt,"handleClickOn",it,Lt,$t)||gt.someProp("handleClick",dn=>dn(gt,it,$t))||(_n?Da(gt,Lt):Ia(gt,Lt))}function Xa(gt,it,Lt,$t){return bo(gt,"handleDoubleClickOn",it,Lt,$t)||gt.someProp("handleDoubleClick",_n=>_n(gt,it,$t))}function ba(gt,it,Lt,$t){return bo(gt,"handleTripleClickOn",it,Lt,$t)||gt.someProp("handleTripleClick",_n=>_n(gt,it,$t))||ns(gt,Lt,$t)}function ns(gt,it,Lt){if(Lt.button!=0)return!1;let $t=gt.state.doc;if(it==-1)return $t.inlineContent?(Ea(gt,r.Bs.create($t,0,$t.content.size),"pointer"),!0):!1;let _n=$t.resolve(it);for(let dn=_n.depth+1;dn>0;dn--){let Jn=dn>_n.depth?_n.nodeAfter:_n.node(dn),Hn=_n.before(dn);if(Jn.inlineContent)Ea(gt,r.Bs.create($t,Hn+1,Hn+1+Jn.content.size),"pointer");else if(r.qv.isSelectable(Jn))Ea(gt,r.qv.create($t,Hn),"pointer");else continue;return!0}}function Ja(gt){return go(gt)}const Is=M?"metaKey":"ctrlKey";et.mousedown=(gt,it)=>{let Lt=it;gt.input.shiftKey=Lt.shiftKey;let $t=Ja(gt),_n=Date.now(),dn="singleClick";_n-gt.input.lastClick.time<500&&Ho(Lt,gt.input.lastClick)&&!Lt[Is]&&(gt.input.lastClick.type=="singleClick"?dn="doubleClick":gt.input.lastClick.type=="doubleClick"&&(dn="tripleClick")),gt.input.lastClick={time:_n,x:Lt.clientX,y:Lt.clientY,type:dn};let Jn=gt.posAtCoords(xo(Lt));Jn&&(dn=="singleClick"?(gt.input.mouseDown&&gt.input.mouseDown.done(),gt.input.mouseDown=new Vr(gt,Jn,Lt,!!$t)):(dn=="doubleClick"?Xa:ba)(gt,Jn.pos,Jn.inside,Lt)?Lt.preventDefault():mn(gt,"pointer"))};class Vr{constructor(it,Lt,$t,_n){this.view=it,this.pos=Lt,this.event=$t,this.flushed=_n,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=it.state.doc,this.selectNode=!!$t[Is],this.allowDefault=$t.shiftKey;let dn,Jn;if(Lt.inside>-1)dn=it.state.doc.nodeAt(Lt.inside),Jn=Lt.inside;else{let ko=it.state.doc.resolve(Lt.pos);dn=ko.parent,Jn=ko.depth?ko.before():0}const Hn=_n?null:$t.target,jr=Hn?it.docView.nearestDesc(Hn,!0):null;this.target=jr?jr.dom:null;let{selection:wo}=it.state;($t.button==0&&dn.type.spec.draggable&&dn.type.spec.selectable!==!1||wo instanceof r.qv&&wo.from<=Jn&&wo.to>Jn)&&(this.mightDrag={node:dn,pos:Jn,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&L&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),it.root.addEventListener("mouseup",this.up=this.up.bind(this)),it.root.addEventListener("mousemove",this.move=this.move.bind(this)),mn(it,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>ro(this.view)),this.view.input.mouseDown=null}up(it){if(this.done(),!this.view.dom.contains(it.target))return;let Lt=this.pos;this.view.state.doc!=this.startDoc&&(Lt=this.view.posAtCoords(xo(it))),this.updateAllowDefault(it),this.allowDefault||!Lt?mn(this.view,"pointer"):Za(this.view,Lt.pos,Lt.inside,it,this.selectNode)?it.preventDefault():it.button==0&&(this.flushed||k&&this.mightDrag&&!this.mightDrag.node.isAtom||F&&!this.view.state.selection.visible&&Math.min(Math.abs(Lt.pos-this.view.state.selection.from),Math.abs(Lt.pos-this.view.state.selection.to))<=2)?(Ea(this.view,r.Y1.near(this.view.state.doc.resolve(Lt.pos)),"pointer"),it.preventDefault()):mn(this.view,"pointer")}move(it){this.updateAllowDefault(it),mn(this.view,"pointer"),it.buttons==0&&this.done()}updateAllowDefault(it){!this.allowDefault&&(Math.abs(this.event.x-it.clientX)>4||Math.abs(this.event.y-it.clientY)>4)&&(this.allowDefault=!0)}}et.touchstart=gt=>{gt.input.lastTouch=Date.now(),Ja(gt),mn(gt,"pointer")},et.touchmove=gt=>{gt.input.lastTouch=Date.now(),mn(gt,"pointer")},et.contextmenu=gt=>Ja(gt);function Qr(gt,it){return gt.composing?!0:k&&Math.abs(it.timeStamp-gt.input.compositionEndedAt)<500?(gt.input.compositionEndedAt=-2e8,!0):!1}const To=R?5e3:-1;St.compositionstart=St.compositionupdate=gt=>{if(!gt.composing){gt.domObserver.flush();let{state:it}=gt,Lt=it.selection.$from;if(it.selection.empty&&(it.storedMarks||!Lt.textOffset&&Lt.parentOffset&&Lt.nodeBefore.marks.some($t=>$t.type.spec.inclusive===!1)))gt.markCursor=gt.state.storedMarks||Lt.marks(),go(gt,!0),gt.markCursor=null;else if(go(gt),L&&it.selection.empty&&Lt.parentOffset&&!Lt.textOffset&&Lt.nodeBefore.marks.length){let $t=gt.domSelectionRange();for(let _n=$t.focusNode,dn=$t.focusOffset;_n&&_n.nodeType==1&&dn!=0;){let Jn=dn<0?_n.lastChild:_n.childNodes[dn-1];if(!Jn)break;if(Jn.nodeType==3){gt.domSelection().collapse(Jn,Jn.nodeValue.length);break}else _n=Jn,dn=-1}}gt.input.composing=!0}xr(gt,To)},St.compositionend=(gt,it)=>{gt.composing&&(gt.input.composing=!1,gt.input.compositionEndedAt=it.timeStamp,gt.input.compositionID++,xr(gt,20))};function xr(gt,it){clearTimeout(gt.input.composingTimeout),it>-1&&(gt.input.composingTimeout=setTimeout(()=>go(gt),it))}function uo(gt){for(gt.composing&&(gt.input.composing=!1,gt.input.compositionEndedAt=Mo());gt.input.compositionNodes.length>0;)gt.input.compositionNodes.pop().markParentsDirty()}function Mo(){let gt=document.createEvent("Event");return gt.initEvent("event",!0,!0),gt.timeStamp}function go(gt,it=!1){if(!(R&&gt.domObserver.flushingSoon>=0)){if(gt.domObserver.forceFlush(),uo(gt),it||gt.docView&&gt.docView.dirty){let Lt=fo(gt);return Lt&&!Lt.eq(gt.state.selection)?gt.dispatch(gt.state.tr.setSelection(Lt)):gt.updateState(gt.state),!0}return!1}}function ea(gt,it){if(!gt.dom.parentNode)return;let Lt=gt.dom.parentNode.appendChild(document.createElement("div"));Lt.appendChild(it),Lt.style.cssText="position: fixed; left: -10000px; top: 10px";let $t=getSelection(),_n=document.createRange();_n.selectNodeContents(it),gt.dom.blur(),$t.removeAllRanges(),$t.addRange(_n),setTimeout(()=>{Lt.parentNode&&Lt.parentNode.removeChild(Lt),gt.focus()},50)}const ha=E&&I<15||x&&j<604;et.copy=St.cut=(gt,it)=>{let Lt=it,$t=gt.state.selection,_n=Lt.type=="cut";if($t.empty)return;let dn=ha?null:Lt.clipboardData,Jn=$t.content(),{dom:Hn,text:jr}=vr(gt,Jn);dn?(Lt.preventDefault(),dn.clearData(),dn.setData("text/html",Hn.innerHTML),dn.setData("text/plain",jr)):ea(gt,Hn),_n&&gt.dispatch(gt.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function yr(gt){return gt.openStart==0&&gt.openEnd==0&&gt.content.childCount==1?gt.content.firstChild:null}function Lr(gt,it){if(!gt.dom.parentNode)return;let Lt=gt.input.shiftKey||gt.state.selection.$from.parent.type.spec.code,$t=gt.dom.parentNode.appendChild(document.createElement(Lt?"textarea":"div"));Lt||($t.contentEditable="true"),$t.style.cssText="position: fixed; left: -10000px; top: 10px",$t.focus(),setTimeout(()=>{gt.focus(),$t.parentNode&&$t.parentNode.removeChild($t),Lt?ao(gt,$t.value,null,gt.input.shiftKey,it):ao(gt,$t.textContent,$t.innerHTML,gt.input.shiftKey,it)},50)}function ao(gt,it,Lt,$t,_n){let dn=qr(gt,it,Lt,$t,gt.state.selection.$from);if(gt.someProp("handlePaste",jr=>jr(gt,_n,dn||o.p2.empty)))return!0;if(!dn)return!1;let Jn=yr(dn),Hn=Jn?gt.state.tr.replaceSelectionWith(Jn,gt.input.shiftKey):gt.state.tr.replaceSelection(dn);return gt.dispatch(Hn.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}St.paste=(gt,it)=>{let Lt=it;if(gt.composing&&!R)return;let $t=ha?null:Lt.clipboardData;$t&&ao(gt,$t.getData("text/plain"),$t.getData("text/html"),gt.input.shiftKey,Lt)?Lt.preventDefault():Lr(gt,Lt)};class ho{constructor(it,Lt){this.slice=it,this.move=Lt}}const Lo=M?"altKey":"ctrlKey";et.dragstart=(gt,it)=>{let Lt=it,$t=gt.input.mouseDown;if($t&&$t.done(),!Lt.dataTransfer)return;let _n=gt.state.selection,dn=_n.empty?null:gt.posAtCoords(xo(Lt));if(!(dn&&dn.pos>=_n.from&&dn.pos<=(_n instanceof r.qv?_n.to-1:_n.to))){if($t&&$t.mightDrag)gt.dispatch(gt.state.tr.setSelection(r.qv.create(gt.state.doc,$t.mightDrag.pos)));else if(Lt.target&&Lt.target.nodeType==1){let wo=gt.docView.nearestDesc(Lt.target,!0);wo&&wo.node.type.spec.draggable&&wo!=gt.docView&&gt.dispatch(gt.state.tr.setSelection(r.qv.create(gt.state.doc,wo.posBefore)))}}let Jn=gt.state.selection.content(),{dom:Hn,text:jr}=vr(gt,Jn);Lt.dataTransfer.clearData(),Lt.dataTransfer.setData(ha?"Text":"text/html",Hn.innerHTML),Lt.dataTransfer.effectAllowed="copyMove",ha||Lt.dataTransfer.setData("text/plain",jr),gt.dragging=new ho(Jn,!Lt[Lo])},et.dragend=gt=>{let it=gt.dragging;window.setTimeout(()=>{gt.dragging==it&&(gt.dragging=null)},50)},St.dragover=St.dragenter=(gt,it)=>it.preventDefault(),St.drop=(gt,it)=>{let Lt=it,$t=gt.dragging;if(gt.dragging=null,!Lt.dataTransfer)return;let _n=gt.posAtCoords(xo(Lt));if(!_n)return;let dn=gt.state.doc.resolve(_n.pos),Jn=$t&&$t.slice;Jn?gt.someProp("transformPasted",ms=>{Jn=ms(Jn,gt)}):Jn=qr(gt,Lt.dataTransfer.getData(ha?"Text":"text/plain"),ha?null:Lt.dataTransfer.getData("text/html"),!1,dn);let Hn=!!($t&&!Lt[Lo]);if(gt.someProp("handleDrop",ms=>ms(gt,Lt,Jn||o.p2.empty,Hn))){Lt.preventDefault();return}if(!Jn)return;Lt.preventDefault();let jr=Jn?(0,n.nj)(gt.state.doc,dn.pos,Jn):dn.pos;jr==null&&(jr=dn.pos);let wo=gt.state.tr;Hn&&wo.deleteSelection();let ko=wo.mapping.map(jr),Sa=Jn.openStart==0&&Jn.openEnd==0&&Jn.content.childCount==1,Na=wo.doc;if(Sa?wo.replaceRangeWith(ko,ko,Jn.content.firstChild):wo.replaceRange(ko,ko,Jn),wo.doc.eq(Na))return;let qa=wo.doc.resolve(ko);if(Sa&&r.qv.isSelectable(Jn.content.firstChild)&&qa.nodeAfter&&qa.nodeAfter.sameMarkup(Jn.content.firstChild))wo.setSelection(new r.qv(qa));else{let ms=wo.mapping.map(jr);wo.mapping.maps[wo.mapping.maps.length-1].forEach((Us,$i,Mi,si)=>ms=si),wo.setSelection(un(gt,qa,wo.doc.resolve(ms)))}gt.focus(),gt.dispatch(wo.setMeta("uiEvent","drop"))},et.focus=gt=>{gt.input.lastFocus=Date.now(),gt.focused||(gt.domObserver.stop(),gt.dom.classList.add("ProseMirror-focused"),gt.domObserver.start(),gt.focused=!0,setTimeout(()=>{gt.docView&&gt.hasFocus()&&!gt.domObserver.currentSelection.eq(gt.domSelectionRange())&&ro(gt)},20))},et.blur=(gt,it)=>{let Lt=it;gt.focused&&(gt.domObserver.stop(),gt.dom.classList.remove("ProseMirror-focused"),gt.domObserver.start(),Lt.relatedTarget&&gt.dom.contains(Lt.relatedTarget)&&gt.domObserver.currentSelection.clear(),gt.focused=!1)},et.beforeinput=(gt,it)=>{if(F&&R&&it.inputType=="deleteContentBackward"){gt.domObserver.flushSoon();let{domChangeCount:$t}=gt.input;setTimeout(()=>{if(gt.input.domChangeCount!=$t||(gt.dom.blur(),gt.focus(),gt.someProp("handleKeyDown",dn=>dn(gt,O(8,"Backspace")))))return;let{$cursor:_n}=gt.state.selection;_n&&_n.pos>0&&gt.dispatch(gt.state.tr.delete(_n.pos-1,_n.pos).scrollIntoView())},50)}};for(let gt in St)et[gt]=St[gt];function Yo(gt,it){if(gt==it)return!0;for(let Lt in gt)if(gt[Lt]!==it[Lt])return!1;for(let Lt in it)if(!(Lt in gt))return!1;return!0}class jo{constructor(it,Lt){this.toDOM=it,this.spec=Lt||ys,this.side=this.spec.side||0}map(it,Lt,$t,_n){let{pos:dn,deleted:Jn}=it.mapResult(Lt.from+_n,this.side<0?-1:1);return Jn?null:new ds(dn-$t,dn-$t,this)}valid(){return!0}eq(it){return this==it||it instanceof jo&&(this.spec.key&&this.spec.key==it.spec.key||this.toDOM==it.toDOM&&Yo(this.spec,it.spec))}destroy(it){this.spec.destroy&&this.spec.destroy(it)}}class Xo{constructor(it,Lt){this.attrs=it,this.spec=Lt||ys}map(it,Lt,$t,_n){let dn=it.map(Lt.from+_n,this.spec.inclusiveStart?-1:1)-$t,Jn=it.map(Lt.to+_n,this.spec.inclusiveEnd?1:-1)-$t;return dn>=Jn?null:new ds(dn,Jn,this)}valid(it,Lt){return Lt.from<Lt.to}eq(it){return this==it||it instanceof Xo&&Yo(this.attrs,it.attrs)&&Yo(this.spec,it.spec)}static is(it){return it.type instanceof Xo}destroy(){}}class Ua{constructor(it,Lt){this.attrs=it,this.spec=Lt||ys}map(it,Lt,$t,_n){let dn=it.mapResult(Lt.from+_n,1);if(dn.deleted)return null;let Jn=it.mapResult(Lt.to+_n,-1);return Jn.deleted||Jn.pos<=dn.pos?null:new ds(dn.pos-$t,Jn.pos-$t,this)}valid(it,Lt){let{index:$t,offset:_n}=it.content.findIndex(Lt.from),dn;return _n==Lt.from&&!(dn=it.child($t)).isText&&_n+dn.nodeSize==Lt.to}eq(it){return this==it||it instanceof Ua&&Yo(this.attrs,it.attrs)&&Yo(this.spec,it.spec)}destroy(){}}class ds{constructor(it,Lt,$t){this.from=it,this.to=Lt,this.type=$t}copy(it,Lt){return new ds(it,Lt,this.type)}eq(it,Lt=0){return this.type.eq(it.type)&&this.from+Lt==it.from&&this.to+Lt==it.to}map(it,Lt,$t){return this.type.map(it,this,Lt,$t)}static widget(it,Lt,$t){return new ds(it,it,new jo(Lt,$t))}static inline(it,Lt,$t,_n){return new ds(it,Lt,new Xo($t,_n))}static node(it,Lt,$t,_n){return new ds(it,Lt,new Ua($t,_n))}get spec(){return this.type.spec}get inline(){return this.type instanceof Xo}}const us=[],ys={};class Ys{constructor(it,Lt){this.local=it.length?it:us,this.children=Lt.length?Lt:us}static create(it,Lt){return Lt.length?Ms(Lt,it,0,ys):Gs}find(it,Lt,$t){let _n=[];return this.findInner(it??0,Lt??1e9,_n,0,$t),_n}findInner(it,Lt,$t,_n,dn){for(let Jn=0;Jn<this.local.length;Jn++){let Hn=this.local[Jn];Hn.from<=Lt&&Hn.to>=it&&(!dn||dn(Hn.spec))&&$t.push(Hn.copy(Hn.from+_n,Hn.to+_n))}for(let Jn=0;Jn<this.children.length;Jn+=3)if(this.children[Jn]<Lt&&this.children[Jn+1]>it){let Hn=this.children[Jn]+1;this.children[Jn+2].findInner(it-Hn,Lt-Hn,$t,_n+Hn,dn)}}map(it,Lt,$t){return this==Gs||it.maps.length==0?this:this.mapInner(it,Lt,0,0,$t||ys)}mapInner(it,Lt,$t,_n,dn){let Jn;for(let Hn=0;Hn<this.local.length;Hn++){let jr=this.local[Hn].map(it,$t,_n);jr&&jr.type.valid(Lt,jr)?(Jn||(Jn=[])).push(jr):dn.onRemove&&dn.onRemove(this.local[Hn].spec)}return this.children.length?Ai(this.children,Jn||[],it,Lt,$t,_n,dn):Jn?new Ys(Jn.sort(bs),us):Gs}add(it,Lt){return Lt.length?this==Gs?Ys.create(it,Lt):this.addInner(it,Lt,0):this}addInner(it,Lt,$t){let _n,dn=0;it.forEach((Hn,jr)=>{let wo=jr+$t,ko;if(ko=hi(Lt,Hn,wo)){for(_n||(_n=this.children.slice());dn<_n.length&&_n[dn]<jr;)dn+=3;_n[dn]==jr?_n[dn+2]=_n[dn+2].addInner(Hn,ko,wo+1):_n.splice(dn,0,jr,jr+Hn.nodeSize,Ms(ko,Hn,wo+1,ys)),dn+=3}});let Jn=Pi(dn?ks(Lt):Lt,-$t);for(let Hn=0;Hn<Jn.length;Hn++)Jn[Hn].type.valid(it,Jn[Hn])||Jn.splice(Hn--,1);return new Ys(Jn.length?this.local.concat(Jn).sort(bs):this.local,_n||this.children)}remove(it){return it.length==0||this==Gs?this:this.removeInner(it,0)}removeInner(it,Lt){let $t=this.children,_n=this.local;for(let dn=0;dn<$t.length;dn+=3){let Jn,Hn=$t[dn]+Lt,jr=$t[dn+1]+Lt;for(let ko=0,Sa;ko<it.length;ko++)(Sa=it[ko])&&Sa.from>Hn&&Sa.to<jr&&(it[ko]=null,(Jn||(Jn=[])).push(Sa));if(!Jn)continue;$t==this.children&&($t=this.children.slice());let wo=$t[dn+2].removeInner(Jn,Hn+1);wo!=Gs?$t[dn+2]=wo:($t.splice(dn,3),dn-=3)}if(_n.length){for(let dn=0,Jn;dn<it.length;dn++)if(Jn=it[dn])for(let Hn=0;Hn<_n.length;Hn++)_n[Hn].eq(Jn,Lt)&&(_n==this.local&&(_n=this.local.slice()),_n.splice(Hn--,1))}return $t==this.children&&_n==this.local?this:_n.length||$t.length?new Ys(_n,$t):Gs}forChild(it,Lt){if(this==Gs)return this;if(Lt.isLeaf)return Ys.empty;let $t,_n;for(let Hn=0;Hn<this.children.length;Hn+=3)if(this.children[Hn]>=it){this.children[Hn]==it&&($t=this.children[Hn+2]);break}let dn=it+1,Jn=dn+Lt.content.size;for(let Hn=0;Hn<this.local.length;Hn++){let jr=this.local[Hn];if(jr.from<Jn&&jr.to>dn&&jr.type instanceof Xo){let wo=Math.max(dn,jr.from)-dn,ko=Math.min(Jn,jr.to)-dn;wo<ko&&(_n||(_n=[])).push(jr.copy(wo,ko))}}if(_n){let Hn=new Ys(_n.sort(bs),us);return $t?new xs([Hn,$t]):Hn}return $t||Gs}eq(it){if(this==it)return!0;if(!(it instanceof Ys)||this.local.length!=it.local.length||this.children.length!=it.children.length)return!1;for(let Lt=0;Lt<this.local.length;Lt++)if(!this.local[Lt].eq(it.local[Lt]))return!1;for(let Lt=0;Lt<this.children.length;Lt+=3)if(this.children[Lt]!=it.children[Lt]||this.children[Lt+1]!=it.children[Lt+1]||!this.children[Lt+2].eq(it.children[Lt+2]))return!1;return!0}locals(it){return Hs(this.localsInner(it))}localsInner(it){if(this==Gs)return us;if(it.inlineContent||!this.local.some(Xo.is))return this.local;let Lt=[];for(let $t=0;$t<this.local.length;$t++)this.local[$t].type instanceof Xo||Lt.push(this.local[$t]);return Lt}}Ys.empty=new Ys([],[]),Ys.removeOverlap=Hs;const Gs=Ys.empty;class xs{constructor(it){this.members=it}map(it,Lt){const $t=this.members.map(_n=>_n.map(it,Lt,ys));return xs.from($t)}forChild(it,Lt){if(Lt.isLeaf)return Ys.empty;let $t=[];for(let _n=0;_n<this.members.length;_n++){let dn=this.members[_n].forChild(it,Lt);dn!=Gs&&(dn instanceof xs?$t=$t.concat(dn.members):$t.push(dn))}return xs.from($t)}eq(it){if(!(it instanceof xs)||it.members.length!=this.members.length)return!1;for(let Lt=0;Lt<this.members.length;Lt++)if(!this.members[Lt].eq(it.members[Lt]))return!1;return!0}locals(it){let Lt,$t=!0;for(let _n=0;_n<this.members.length;_n++){let dn=this.members[_n].localsInner(it);if(dn.length)if(!Lt)Lt=dn;else{$t&&(Lt=Lt.slice(),$t=!1);for(let Jn=0;Jn<dn.length;Jn++)Lt.push(dn[Jn])}}return Lt?Hs($t?Lt:Lt.sort(bs)):us}static from(it){switch(it.length){case 0:return Gs;case 1:return it[0];default:return new xs(it.every(Lt=>Lt instanceof Ys)?it:it.reduce((Lt,$t)=>Lt.concat($t instanceof Ys?$t:$t.members),[]))}}}function Ai(gt,it,Lt,$t,_n,dn,Jn){let Hn=gt.slice();for(let wo=0,ko=dn;wo<Lt.maps.length;wo++){let Sa=0;Lt.maps[wo].forEach((Na,qa,ms,Us)=>{let $i=Us-ms-(qa-Na);for(let Mi=0;Mi<Hn.length;Mi+=3){let si=Hn[Mi+1];if(si<0||Na>si+ko-Sa)continue;let rl=Hn[Mi]+ko-Sa;qa>=rl?Hn[Mi+1]=Na<=rl?-2:-1:ms>=_n&&$i&&(Hn[Mi]+=$i,Hn[Mi+1]+=$i)}Sa+=$i}),ko=Lt.maps[wo].map(ko,-1)}let jr=!1;for(let wo=0;wo<Hn.length;wo+=3)if(Hn[wo+1]<0){if(Hn[wo+1]==-2){jr=!0,Hn[wo+1]=-1;continue}let ko=Lt.map(gt[wo]+dn),Sa=ko-_n;if(Sa<0||Sa>=$t.content.size){jr=!0;continue}let Na=Lt.map(gt[wo+1]+dn,-1),qa=Na-_n,{index:ms,offset:Us}=$t.content.findIndex(Sa),$i=$t.maybeChild(ms);if($i&&Us==Sa&&Us+$i.nodeSize==qa){let Mi=Hn[wo+2].mapInner(Lt,$i,ko+1,gt[wo]+dn+1,Jn);Mi!=Gs?(Hn[wo]=Sa,Hn[wo+1]=qa,Hn[wo+2]=Mi):(Hn[wo+1]=-2,jr=!0)}else jr=!0}if(jr){let wo=ei(Hn,gt,it,Lt,_n,dn,Jn),ko=Ms(wo,$t,0,Jn);it=ko.local;for(let Sa=0;Sa<Hn.length;Sa+=3)Hn[Sa+1]<0&&(Hn.splice(Sa,3),Sa-=3);for(let Sa=0,Na=0;Sa<ko.children.length;Sa+=3){let qa=ko.children[Sa];for(;Na<Hn.length&&Hn[Na]<qa;)Na+=3;Hn.splice(Na,0,ko.children[Sa],ko.children[Sa+1],ko.children[Sa+2])}}return new Ys(it.sort(bs),Hn)}function Pi(gt,it){if(!it||!gt.length)return gt;let Lt=[];for(let $t=0;$t<gt.length;$t++){let _n=gt[$t];Lt.push(new ds(_n.from+it,_n.to+it,_n.type))}return Lt}function ei(gt,it,Lt,$t,_n,dn,Jn){function Hn(jr,wo){for(let ko=0;ko<jr.local.length;ko++){let Sa=jr.local[ko].map($t,_n,wo);Sa?Lt.push(Sa):Jn.onRemove&&Jn.onRemove(jr.local[ko].spec)}for(let ko=0;ko<jr.children.length;ko+=3)Hn(jr.children[ko+2],jr.children[ko]+wo+1)}for(let jr=0;jr<gt.length;jr+=3)gt[jr+1]==-1&&Hn(gt[jr+2],it[jr]+dn+1);return Lt}function hi(gt,it,Lt){if(it.isLeaf)return null;let $t=Lt+it.nodeSize,_n=null;for(let dn=0,Jn;dn<gt.length;dn++)(Jn=gt[dn])&&Jn.from>Lt&&Jn.to<$t&&((_n||(_n=[])).push(Jn),gt[dn]=null);return _n}function ks(gt){let it=[];for(let Lt=0;Lt<gt.length;Lt++)gt[Lt]!=null&&it.push(gt[Lt]);return it}function Ms(gt,it,Lt,$t){let _n=[],dn=!1;it.forEach((Hn,jr)=>{let wo=hi(gt,Hn,jr+Lt);if(wo){dn=!0;let ko=Ms(wo,Hn,Lt+jr+1,$t);ko!=Gs&&_n.push(jr,jr+Hn.nodeSize,ko)}});let Jn=Pi(dn?ks(gt):gt,-Lt).sort(bs);for(let Hn=0;Hn<Jn.length;Hn++)Jn[Hn].type.valid(it,Jn[Hn])||($t.onRemove&&$t.onRemove(Jn[Hn].spec),Jn.splice(Hn--,1));return Jn.length||_n.length?new Ys(Jn,_n):Gs}function bs(gt,it){return gt.from-it.from||gt.to-it.to}function Hs(gt){let it=gt;for(let Lt=0;Lt<it.length-1;Lt++){let $t=it[Lt];if($t.from!=$t.to)for(let _n=Lt+1;_n<it.length;_n++){let dn=it[_n];if(dn.from==$t.from){dn.to!=$t.to&&(it==gt&&(it=gt.slice()),it[_n]=dn.copy(dn.from,$t.to),Os(it,_n+1,dn.copy($t.to,dn.to)));continue}else{dn.from<$t.to&&(it==gt&&(it=gt.slice()),it[Lt]=$t.copy($t.from,dn.from),Os(it,_n,$t.copy(dn.from,$t.to)));break}}}return it}function Os(gt,it,Lt){for(;it<gt.length&&bs(Lt,gt[it])>0;)it++;gt.splice(it,0,Lt)}function Vs(gt){let it=[];return gt.someProp("decorations",Lt=>{let $t=Lt(gt.state);$t&&$t!=Gs&&it.push($t)}),gt.cursorWrapper&&it.push(Ys.create(gt.state.doc,[gt.cursorWrapper.deco])),xs.from(it)}const _s={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},fs=E&&I<=11;class Ss{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(it){this.anchorNode=it.anchorNode,this.anchorOffset=it.anchorOffset,this.focusNode=it.focusNode,this.focusOffset=it.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(it){return it.anchorNode==this.anchorNode&&it.anchorOffset==this.anchorOffset&&it.focusNode==this.focusNode&&it.focusOffset==this.focusOffset}}class hs{constructor(it,Lt){this.view=it,this.handleDOMChange=Lt,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new Ss,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver($t=>{for(let _n=0;_n<$t.length;_n++)this.queue.push($t[_n]);E&&I<=11&&$t.some(_n=>_n.type=="childList"&&_n.removedNodes.length||_n.type=="characterData"&&_n.oldValue.length>_n.target.nodeValue.length)?this.flushSoon():this.flush()}),fs&&(this.onCharData=$t=>{this.queue.push({target:$t.target,type:"characterData",oldValue:$t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,_s)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let it=this.observer.takeRecords();if(it.length){for(let Lt=0;Lt<it.length;Lt++)this.queue.push(it[Lt]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Vt(this.view)){if(this.suppressingSelectionUpdates)return ro(this.view);if(E&&I<=11&&!this.view.state.selection.empty){let it=this.view.domSelectionRange();if(it.focusNode&&f(it.focusNode,it.focusOffset,it.anchorNode,it.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(it){if(!it.focusNode)return!0;let Lt=new Set,$t;for(let dn=it.focusNode;dn;dn=i(dn))Lt.add(dn);for(let dn=it.anchorNode;dn;dn=i(dn))if(Lt.has(dn)){$t=dn;break}let _n=$t&&this.view.docView.nearestDesc($t);if(_n&&_n.ignoreMutation({type:"selection",target:$t.nodeType==3?$t.parentNode:$t}))return this.setCurSelection(),!0}flush(){let{view:it}=this;if(!it.docView||this.flushingSoon>-1)return;let Lt=this.observer?this.observer.takeRecords():[];this.queue.length&&(Lt=this.queue.concat(Lt),this.queue.length=0);let $t=it.domSelectionRange(),_n=!this.suppressingSelectionUpdates&&!this.currentSelection.eq($t)&&Vt(it)&&!this.ignoreSelectionChange($t),dn=-1,Jn=-1,Hn=!1,jr=[];if(it.editable)for(let ko=0;ko<Lt.length;ko++){let Sa=this.registerMutation(Lt[ko],jr);Sa&&(dn=dn<0?Sa.from:Math.min(Sa.from,dn),Jn=Jn<0?Sa.to:Math.max(Sa.to,Jn),Sa.typeOver&&(Hn=!0))}if(L&&jr.length>1){let ko=jr.filter(Sa=>Sa.nodeName=="BR");if(ko.length==2){let Sa=ko[0],Na=ko[1];Sa.parentNode&&Sa.parentNode.parentNode==Na.parentNode?Na.remove():Sa.remove()}}let wo=null;dn<0&&_n&&it.input.lastFocus>Date.now()-200&&Math.max(it.input.lastTouch,it.input.lastClick.time)<Date.now()-300&&y($t)&&(wo=fo(it))&&wo.eq(r.Y1.near(it.state.doc.resolve(0),1))?(it.input.lastFocus=0,ro(it),this.currentSelection.set($t),it.scrollToSelection()):(dn>-1||_n)&&(dn>-1&&(it.docView.markDirty(dn,Jn),Ji(it)),this.handleDOMChange(dn,Jn,Hn,jr),it.docView&&it.docView.dirty?it.updateState(it.state):this.currentSelection.eq($t)||ro(it),this.currentSelection.set($t))}registerMutation(it,Lt){if(Lt.indexOf(it.target)>-1)return null;let $t=this.view.docView.nearestDesc(it.target);if(it.type=="attributes"&&($t==this.view.docView||it.attributeName=="contenteditable"||it.attributeName=="style"&&!it.oldValue&&!it.target.getAttribute("style"))||!$t||$t.ignoreMutation(it))return null;if(it.type=="childList"){for(let ko=0;ko<it.addedNodes.length;ko++)Lt.push(it.addedNodes[ko]);if($t.contentDOM&&$t.contentDOM!=$t.dom&&!$t.contentDOM.contains(it.target))return{from:$t.posBefore,to:$t.posAfter};let _n=it.previousSibling,dn=it.nextSibling;if(E&&I<=11&&it.addedNodes.length)for(let ko=0;ko<it.addedNodes.length;ko++){let{previousSibling:Sa,nextSibling:Na}=it.addedNodes[ko];(!Sa||Array.prototype.indexOf.call(it.addedNodes,Sa)<0)&&(_n=Sa),(!Na||Array.prototype.indexOf.call(it.addedNodes,Na)<0)&&(dn=Na)}let Jn=_n&&_n.parentNode==it.target?a(_n)+1:0,Hn=$t.localPosFromDOM(it.target,Jn,-1),jr=dn&&dn.parentNode==it.target?a(dn):it.target.childNodes.length,wo=$t.localPosFromDOM(it.target,jr,1);return{from:Hn,to:wo}}else return it.type=="attributes"?{from:$t.posAtStart-$t.border,to:$t.posAtEnd+$t.border}:{from:$t.posAtStart,to:$t.posAtEnd,typeOver:it.target.nodeValue==it.oldValue}}}let li=new WeakMap,Ni=!1;function Ji(gt){if(!li.has(gt)&&(li.set(gt,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(gt.dom).whiteSpace)!==-1)){if(gt.requiresGeckoHackNode=L,Ni)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),Ni=!0}}function wi(gt){let it;function Lt(jr){jr.preventDefault(),jr.stopImmediatePropagation(),it=jr.getTargetRanges()[0]}gt.dom.addEventListener("beforeinput",Lt,!0),document.execCommand("indent"),gt.dom.removeEventListener("beforeinput",Lt,!0);let $t=it.startContainer,_n=it.startOffset,dn=it.endContainer,Jn=it.endOffset,Hn=gt.domAtPos(gt.state.selection.anchor);return f(Hn.node,Hn.offset,dn,Jn)&&([$t,_n,dn,Jn]=[dn,Jn,$t,_n]),{anchorNode:$t,anchorOffset:_n,focusNode:dn,focusOffset:Jn}}function vi(gt,it,Lt){let{node:$t,fromOffset:_n,toOffset:dn,from:Jn,to:Hn}=gt.docView.parseRange(it,Lt),jr=gt.domSelectionRange(),wo,ko=jr.anchorNode;if(ko&&gt.dom.contains(ko.nodeType==1?ko:ko.parentNode)&&(wo=[{node:ko,offset:jr.anchorOffset}],y(jr)||wo.push({node:jr.focusNode,offset:jr.focusOffset})),F&&gt.input.lastKeyCode===8)for(let $i=dn;$i>_n;$i--){let Mi=$t.childNodes[$i-1],si=Mi.pmViewDesc;if(Mi.nodeName=="BR"&&!si){dn=$i;break}if(!si||si.size)break}let Sa=gt.state.doc,Na=gt.someProp("domParser")||o.aw.fromSchema(gt.state.schema),qa=Sa.resolve(Jn),ms=null,Us=Na.parse($t,{topNode:qa.parent,topMatch:qa.parent.contentMatchAt(qa.index()),topOpen:!0,from:_n,to:dn,preserveWhitespace:qa.parent.type.whitespace=="pre"?"full":!0,findPositions:wo,ruleFromNode:sl,context:qa});if(wo&&wo[0].pos!=null){let $i=wo[0].pos,Mi=wo[1]&&wo[1].pos;Mi==null&&(Mi=$i),ms={anchor:$i+Jn,head:Mi+Jn}}return{doc:Us,sel:ms,from:Jn,to:Hn}}function sl(gt){let it=gt.pmViewDesc;if(it)return it.parseRule();if(gt.nodeName=="BR"&&gt.parentNode){if(k&&/^(ul|ol)$/i.test(gt.parentNode.nodeName)){let Lt=document.createElement("div");return Lt.appendChild(document.createElement("li")),{skip:Lt}}else if(gt.parentNode.lastChild==gt||k&&/^(tr|table)$/i.test(gt.parentNode.nodeName))return{ignore:!0}}else if(gt.nodeName=="IMG"&&gt.getAttribute("mark-placeholder"))return{ignore:!0};return null}const Zi=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function Zs(gt,it,Lt,$t,_n){if(it<0){let oi=gt.input.lastSelectionTime>Date.now()-50?gt.input.lastSelectionOrigin:null,Nl=fo(gt,oi);if(Nl&&!gt.state.selection.eq(Nl)){if(F&&R&&gt.input.lastKeyCode===13&&Date.now()-100<gt.input.lastKeyCodeTime&&gt.someProp("handleKeyDown",Ic=>Ic(gt,O(13,"Enter"))))return;let xl=gt.state.tr.setSelection(Nl);oi=="pointer"?xl.setMeta("pointer",!0):oi=="key"&&xl.scrollIntoView(),gt.composing&&xl.setMeta("composition",gt.input.compositionID),gt.dispatch(xl)}return}let dn=gt.state.doc.resolve(it),Jn=dn.sharedDepth(Lt);it=dn.before(Jn+1),Lt=gt.state.doc.resolve(Lt).after(Jn+1);let Hn=gt.state.selection,jr=vi(gt,it,Lt),wo=gt.state.doc,ko=wo.slice(jr.from,jr.to),Sa,Na;gt.input.lastKeyCode===8&&Date.now()-100<gt.input.lastKeyCodeTime?(Sa=gt.state.selection.to,Na="end"):(Sa=gt.state.selection.from,Na="start"),gt.input.lastKeyCode=null;let qa=ki(ko.content,jr.doc.content,jr.from,Sa,Na);if((x&&gt.input.lastIOSEnter>Date.now()-225||R)&&_n.some(oi=>oi.nodeType==1&&!Zi.test(oi.nodeName))&&(!qa||qa.endA>=qa.endB)&&gt.someProp("handleKeyDown",oi=>oi(gt,O(13,"Enter")))){gt.input.lastIOSEnter=0;return}if(!qa)if($t&&Hn instanceof r.Bs&&!Hn.empty&&Hn.$head.sameParent(Hn.$anchor)&&!gt.composing&&!(jr.sel&&jr.sel.anchor!=jr.sel.head))qa={start:Hn.from,endA:Hn.to,endB:Hn.to};else{if(jr.sel){let oi=Bs(gt,gt.state.doc,jr.sel);if(oi&&!oi.eq(gt.state.selection)){let Nl=gt.state.tr.setSelection(oi);gt.composing&&Nl.setMeta("composition",gt.input.compositionID),gt.dispatch(Nl)}}return}if(F&&gt.cursorWrapper&&jr.sel&&jr.sel.anchor==gt.cursorWrapper.deco.from&&jr.sel.head==jr.sel.anchor){let oi=qa.endB-qa.start;jr.sel={anchor:jr.sel.anchor+oi,head:jr.sel.anchor+oi}}gt.input.domChangeCount++,gt.state.selection.from<gt.state.selection.to&&qa.start==qa.endB&&gt.state.selection instanceof r.Bs&&(qa.start>gt.state.selection.from&&qa.start<=gt.state.selection.from+2&&gt.state.selection.from>=jr.from?qa.start=gt.state.selection.from:qa.endA<gt.state.selection.to&&qa.endA>=gt.state.selection.to-2&&gt.state.selection.to<=jr.to&&(qa.endB+=gt.state.selection.to-qa.endA,qa.endA=gt.state.selection.to)),E&&I<=11&&qa.endB==qa.start+1&&qa.endA==qa.start&&qa.start>jr.from&&jr.doc.textBetween(qa.start-jr.from-1,qa.start-jr.from+1)==" \xA0"&&(qa.start--,qa.endA--,qa.endB--);let ms=jr.doc.resolveNoCache(qa.start-jr.from),Us=jr.doc.resolveNoCache(qa.endB-jr.from),$i=wo.resolve(qa.start),Mi=ms.sameParent(Us)&&ms.parent.inlineContent&&$i.end()>=qa.endA,si;if((x&&gt.input.lastIOSEnter>Date.now()-225&&(!Mi||_n.some(oi=>oi.nodeName=="DIV"||oi.nodeName=="P"))||!Mi&&ms.pos<jr.doc.content.size&&(si=r.Y1.findFrom(jr.doc.resolve(ms.pos+1),1,!0))&&si.head==Us.pos)&&gt.someProp("handleKeyDown",oi=>oi(gt,O(13,"Enter")))){gt.input.lastIOSEnter=0;return}if(gt.state.selection.anchor>qa.start&&gi(wo,qa.start,qa.endA,ms,Us)&&gt.someProp("handleKeyDown",oi=>oi(gt,O(8,"Backspace")))){R&&F&&gt.domObserver.suppressSelectionUpdates();return}F&&R&&qa.endB==qa.start&&(gt.input.lastAndroidDelete=Date.now()),R&&!Mi&&ms.start()!=Us.start()&&Us.parentOffset==0&&ms.depth==Us.depth&&jr.sel&&jr.sel.anchor==jr.sel.head&&jr.sel.head==qa.endA&&(qa.endB-=2,Us=jr.doc.resolveNoCache(qa.endB-jr.from),setTimeout(()=>{gt.someProp("handleKeyDown",function(oi){return oi(gt,O(13,"Enter"))})},20));let rl=qa.start,El=qa.endA,Ui,il,fl;if(Mi){if(ms.pos==Us.pos)E&&I<=11&&ms.parentOffset==0&&(gt.domObserver.suppressSelectionUpdates(),setTimeout(()=>ro(gt),20)),Ui=gt.state.tr.delete(rl,El),il=wo.resolve(qa.start).marksAcross(wo.resolve(qa.endA));else if(qa.endA==qa.endB&&(fl=ti(ms.parent.content.cut(ms.parentOffset,Us.parentOffset),$i.parent.content.cut($i.parentOffset,qa.endA-$i.start()))))Ui=gt.state.tr,fl.type=="add"?Ui.addMark(rl,El,fl.mark):Ui.removeMark(rl,El,fl.mark);else if(ms.parent.child(ms.index()).isText&&ms.index()==Us.index()-(Us.textOffset?0:1)){let oi=ms.parent.textBetween(ms.parentOffset,Us.parentOffset);if(gt.someProp("handleTextInput",Nl=>Nl(gt,rl,El,oi)))return;Ui=gt.state.tr.insertText(oi,rl,El)}}if(Ui||(Ui=gt.state.tr.replace(rl,El,jr.doc.slice(qa.start-jr.from,qa.endB-jr.from))),jr.sel){let oi=Bs(gt,Ui.doc,jr.sel);oi&&!(F&&R&&gt.composing&&oi.empty&&(qa.start!=qa.endB||gt.input.lastAndroidDelete<Date.now()-100)&&(oi.head==rl||oi.head==Ui.mapping.map(El)-1)||E&&oi.empty&&oi.head==rl)&&Ui.setSelection(oi)}il&&Ui.ensureMarks(il),gt.composing&&Ui.setMeta("composition",gt.input.compositionID),gt.dispatch(Ui.scrollIntoView())}function Bs(gt,it,Lt){return Math.max(Lt.anchor,Lt.head)>it.content.size?null:un(gt,it.resolve(Lt.anchor),it.resolve(Lt.head))}function ti(gt,it){let Lt=gt.firstChild.marks,$t=it.firstChild.marks,_n=Lt,dn=$t,Jn,Hn,jr;for(let ko=0;ko<$t.length;ko++)_n=$t[ko].removeFromSet(_n);for(let ko=0;ko<Lt.length;ko++)dn=Lt[ko].removeFromSet(dn);if(_n.length==1&&dn.length==0)Hn=_n[0],Jn="add",jr=ko=>ko.mark(Hn.addToSet(ko.marks));else if(_n.length==0&&dn.length==1)Hn=dn[0],Jn="remove",jr=ko=>ko.mark(Hn.removeFromSet(ko.marks));else return null;let wo=[];for(let ko=0;ko<it.childCount;ko++)wo.push(jr(it.child(ko)));if(o.HY.from(wo).eq(gt))return{mark:Hn,type:Jn}}function gi(gt,it,Lt,$t,_n){if(!$t.parent.isTextblock||Lt-it<=_n.pos-$t.pos||yi($t,!0,!1)<_n.pos)return!1;let dn=gt.resolve(it);if(dn.parentOffset<dn.parent.content.size||!dn.parent.isTextblock)return!1;let Jn=gt.resolve(yi(dn,!0,!0));return!Jn.parent.isTextblock||Jn.pos>Lt||yi(Jn,!0,!1)<Lt?!1:$t.parent.content.cut($t.parentOffset).eq(Jn.parent.content)}function yi(gt,it,Lt){let $t=gt.depth,_n=it?gt.end():gt.pos;for(;$t>0&&(it||gt.indexAfter($t)==gt.node($t).childCount);)$t--,_n++,it=!1;if(Lt){let dn=gt.node($t).maybeChild(gt.indexAfter($t));for(;dn&&!dn.isLeaf;)dn=dn.firstChild,_n++}return _n}function ki(gt,it,Lt,$t,_n){let dn=gt.findDiffStart(it,Lt);if(dn==null)return null;let{a:Jn,b:Hn}=gt.findDiffEnd(it,Lt+gt.size,Lt+it.size);if(_n=="end"){let jr=Math.max(0,dn-Math.min(Jn,Hn));$t-=Jn+jr-dn}if(Jn<dn&&gt.size<it.size){let jr=$t<=dn&&$t>=Jn?dn-$t:0;dn-=jr,Hn=dn+(Hn-Jn),Jn=dn}else if(Hn<dn){let jr=$t<=dn&&$t>=Hn?dn-$t:0;dn-=jr,Jn=dn+(Jn-Hn),Hn=dn}return{start:dn,endA:Jn,endB:Hn}}const bi=null,nl=null,Si=null;class ta{constructor(it,Lt){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new er,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=Lt,this.state=Lt.state,this.directPlugins=Lt.plugins||[],this.directPlugins.forEach(Uo),this.dispatch=this.dispatch.bind(this),this.dom=it&&it.mount||document.createElement("div"),it&&(it.appendChild?it.appendChild(this.dom):typeof it=="function"?it(this.dom):it.mount&&(this.mounted=!0)),this.editable=Fn(this),Jt(this),this.nodeViews=Tr(this),this.docView=st(this.state.doc,ke(this),Vs(this),this.dom,this),this.domObserver=new hs(this,($t,_n,dn,Jn)=>Zs(this,$t,_n,dn,Jn)),this.domObserver.start(),Mr(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let it=this._props;this._props={};for(let Lt in it)this._props[Lt]=it[Lt];this._props.state=this.state}return this._props}update(it){it.handleDOMEvents!=this._props.handleDOMEvents&&hr(this);let Lt=this._props;this._props=it,it.plugins&&(it.plugins.forEach(Uo),this.directPlugins=it.plugins),this.updateStateInner(it.state,Lt)}setProps(it){let Lt={};for(let $t in this._props)Lt[$t]=this._props[$t];Lt.state=this.state;for(let $t in it)Lt[$t]=it[$t];this.update(Lt)}updateState(it){this.updateStateInner(it,this._props)}updateStateInner(it,Lt){let $t=this.state,_n=!1,dn=!1;it.storedMarks&&this.composing&&(uo(this),dn=!0),this.state=it;let Jn=$t.plugins!=it.plugins||this._props.plugins!=Lt.plugins;if(Jn||this._props.plugins!=Lt.plugins||this._props.nodeViews!=Lt.nodeViews){let Na=Tr(this);Oo(Na,this.nodeViews)&&(this.nodeViews=Na,_n=!0)}(Jn||Lt.handleDOMEvents!=this._props.handleDOMEvents)&&hr(this),this.editable=Fn(this),Jt(this);let Hn=Vs(this),jr=ke(this),wo=$t.plugins!=it.plugins&&!$t.doc.eq(it.doc)?"reset":it.scrollToSelection>$t.scrollToSelection?"to selection":"preserve",ko=_n||!this.docView.matchesNode(it.doc,jr,Hn);(ko||!it.selection.eq($t.selection))&&(dn=!0);let Sa=wo=="preserve"&&dn&&this.dom.style.overflowAnchor==null&&ne(this);if(dn){this.domObserver.stop();let Na=ko&&(E||F)&&!this.composing&&!$t.selection.empty&&!it.selection.empty&&mr($t.selection,it.selection);if(ko){let qa=F?this.trackWrites=this.domSelectionRange().focusNode:null;(_n||!this.docView.update(it.doc,jr,Hn,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=st(it.doc,jr,Hn,this.dom,this)),qa&&!this.trackWrites&&(Na=!0)}Na||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&Wt(this))?ro(this,Na):(Te(this,it.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews($t),wo=="reset"?this.dom.scrollTop=0:wo=="to selection"?this.scrollToSelection():Sa&&oe(Sa)}scrollToSelection(){let it=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",Lt=>Lt(this)))if(this.state.selection instanceof r.qv){let Lt=this.docView.domAfterPos(this.state.selection.from);Lt.nodeType==1&&ie(this,Lt.getBoundingClientRect(),it)}else ie(this,this.coordsAtPos(this.state.selection.head,1),it)}destroyPluginViews(){let it;for(;it=this.pluginViews.pop();)it.destroy&&it.destroy()}updatePluginViews(it){if(!it||it.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let Lt=0;Lt<this.directPlugins.length;Lt++){let $t=this.directPlugins[Lt];$t.spec.view&&this.pluginViews.push($t.spec.view(this))}for(let Lt=0;Lt<this.state.plugins.length;Lt++){let $t=this.state.plugins[Lt];$t.spec.view&&this.pluginViews.push($t.spec.view(this))}}else for(let Lt=0;Lt<this.pluginViews.length;Lt++){let $t=this.pluginViews[Lt];$t.update&&$t.update(this,it)}}someProp(it,Lt){let $t=this._props&&this._props[it],_n;if($t!=null&&(_n=Lt?Lt($t):$t))return _n;for(let Jn=0;Jn<this.directPlugins.length;Jn++){let Hn=this.directPlugins[Jn].props[it];if(Hn!=null&&(_n=Lt?Lt(Hn):Hn))return _n}let dn=this.state.plugins;if(dn)for(let Jn=0;Jn<dn.length;Jn++){let Hn=dn[Jn].props[it];if(Hn!=null&&(_n=Lt?Lt(Hn):Hn))return _n}}hasFocus(){if(E){let it=this.root.activeElement;if(it==this.dom)return!0;if(!it||!this.dom.contains(it))return!1;for(;it&&this.dom!=it&&this.dom.contains(it);){if(it.contentEditable=="false")return!1;it=it.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&me(this.dom),ro(this),this.domObserver.start()}get root(){let it=this._root;if(it==null){for(let Lt=this.dom.parentNode;Lt;Lt=Lt.parentNode)if(Lt.nodeType==9||Lt.nodeType==11&&Lt.host)return Lt.getSelection||(Object.getPrototypeOf(Lt).getSelection=()=>Lt.ownerDocument.getSelection()),this._root=Lt}return it||document}posAtCoords(it){return ae(this,it)}coordsAtPos(it,Lt=1){return He(this,it,Lt)}domAtPos(it,Lt=0){return this.docView.domFromPos(it,Lt)}nodeDOM(it){let Lt=this.docView.descAt(it);return Lt?Lt.nodeDOM:null}posAtDOM(it,Lt,$t=-1){let _n=this.docView.posFromDOM(it,Lt,$t);if(_n==null)throw new RangeError("DOM position not inside the editor");return _n}endOfTextblock(it,Lt){return $e(this,Lt||this.state,it)}pasteHTML(it,Lt){return ao(this,"",it,!1,Lt||new ClipboardEvent("paste"))}pasteText(it,Lt){return ao(this,it,null,!0,Lt||new ClipboardEvent("paste"))}destroy(){this.docView&&(Un(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Vs(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return this.docView==null}dispatchEvent(it){return Kr(this,it)}dispatch(it){let Lt=this._props.dispatchTransaction;Lt?Lt.call(this,it):this.updateState(this.state.apply(it))}domSelectionRange(){return k&&this.root.nodeType===11&&P(this.dom.ownerDocument)==this.dom?wi(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function ke(gt){let it=Object.create(null);return it.class="ProseMirror",it.contenteditable=String(gt.editable),it.translate="no",gt.someProp("attributes",Lt=>{if(typeof Lt=="function"&&(Lt=Lt(gt.state)),Lt)for(let $t in Lt)$t=="class"&&(it.class+=" "+Lt[$t]),$t=="style"?it.style=(it.style?it.style+";":"")+Lt[$t]:!it[$t]&&$t!="contenteditable"&&$t!="nodeName"&&(it[$t]=String(Lt[$t]))}),[ds.node(0,gt.state.doc.content.size,it)]}function Jt(gt){if(gt.markCursor){let it=document.createElement("img");it.className="ProseMirror-separator",it.setAttribute("mark-placeholder","true"),it.setAttribute("alt",""),gt.cursorWrapper={dom:it,deco:ds.widget(gt.state.selection.head,it,{raw:!0,marks:gt.markCursor})}}else gt.cursorWrapper=null}function Fn(gt){return!gt.someProp("editable",it=>it(gt.state)===!1)}function mr(gt,it){let Lt=Math.min(gt.$anchor.sharedDepth(gt.head),it.$anchor.sharedDepth(it.head));return gt.$anchor.start(Lt)!=it.$anchor.start(Lt)}function Tr(gt){let it=Object.create(null);function Lt($t){for(let _n in $t)Object.prototype.hasOwnProperty.call(it,_n)||(it[_n]=$t[_n])}return gt.someProp("nodeViews",Lt),gt.someProp("markViews",Lt),it}function Oo(gt,it){let Lt=0,$t=0;for(let _n in gt){if(gt[_n]!=it[_n])return!0;Lt++}for(let _n in it)$t++;return Lt!=$t}function Uo(gt){if(gt.spec.state||gt.spec.filterTransaction||gt.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}},142982:function(b,l,e){"use strict";e.d(l,{Z:()=>x});var r={};e.r(r),e.d(r,{exclude:()=>k,extract:()=>E,parse:()=>I,parseUrl:()=>W,pick:()=>G,stringify:()=>L,stringifyUrl:()=>F});const o="%[a-f0-9]{2}",n=new RegExp("("+o+")|([^%]+?)","gi"),a=new RegExp("("+o+")+","gi");function i(M,B){try{return[decodeURIComponent(M.join(""))]}catch{}if(M.length===1)return M;B=B||1;const R=M.slice(0,B),U=M.slice(B);return Array.prototype.concat.call([],i(R),i(U))}function c(M){try{return decodeURIComponent(M)}catch{let B=M.match(n)||[];for(let R=1;R<B.length;R++)M=i(B,R).join(""),B=M.match(n)||[];return M}}function u(M){const B={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"};let R=a.exec(M);for(;R;){try{B[R[0]]=decodeURIComponent(R[0])}catch{const j=c(R[0]);j!==R[0]&&(B[R[0]]=j)}R=a.exec(M)}B["%C2"]="\uFFFD";const U=Object.keys(B);for(const j of U)M=M.replace(new RegExp(j,"g"),B[j]);return M}function f(M){if(typeof M!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof M+"`");try{return decodeURIComponent(M)}catch{return u(M)}}function d(M,B){if(!(typeof M=="string"&&typeof B=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(M===""||B==="")return[];const R=M.indexOf(B);return R===-1?[]:[M.slice(0,R),M.slice(R+B.length)]}function h(M,B){const R={};if(Array.isArray(B))for(const U of B){const j=Object.getOwnPropertyDescriptor(M,U);j!=null&&j.enumerable&&Object.defineProperty(R,U,j)}else for(const U of Reflect.ownKeys(M)){const j=Object.getOwnPropertyDescriptor(M,U);if(j.enumerable){const $=M[U];B(U,$,M)&&Object.defineProperty(R,U,j)}}return R}function g(M,B){if(Array.isArray(B)){const R=new Set(B);return h(M,U=>!R.has(U))}return h(M,(R,U,j)=>!B(R,U,j))}const _=M=>M==null,p=M=>encodeURIComponent(M).replace(/[!'()*]/g,B=>`%${B.charCodeAt(0).toString(16).toUpperCase()}`),y=Symbol("encodeFragmentIdentifier");function O(M){switch(M.arrayFormat){case"index":return B=>(R,U)=>{const j=R.length;return U===void 0||M.skipNull&&U===null||M.skipEmptyString&&U===""?R:U===null?[...R,[A(B,M),"[",j,"]"].join("")]:[...R,[A(B,M),"[",A(j,M),"]=",A(U,M)].join("")]};case"bracket":return B=>(R,U)=>U===void 0||M.skipNull&&U===null||M.skipEmptyString&&U===""?R:U===null?[...R,[A(B,M),"[]"].join("")]:[...R,[A(B,M),"[]=",A(U,M)].join("")];case"colon-list-separator":return B=>(R,U)=>U===void 0||M.skipNull&&U===null||M.skipEmptyString&&U===""?R:U===null?[...R,[A(B,M),":list="].join("")]:[...R,[A(B,M),":list=",A(U,M)].join("")];case"comma":case"separator":case"bracket-separator":{const B=M.arrayFormat==="bracket-separator"?"[]=":"=";return R=>(U,j)=>j===void 0||M.skipNull&&j===null||M.skipEmptyString&&j===""?U:(j=j===null?"":j,U.length===0?[[A(R,M),B,A(j,M)].join("")]:[[U,A(j,M)].join(M.arrayFormatSeparator)])}default:return B=>(R,U)=>U===void 0||M.skipNull&&U===null||M.skipEmptyString&&U===""?R:U===null?[...R,A(B,M)]:[...R,[A(B,M),"=",A(U,M)].join("")]}}function P(M){let B;switch(M.arrayFormat){case"index":return(R,U,j)=>{if(B=/\[(\d*)]$/.exec(R),R=R.replace(/\[\d*]$/,""),!B){j[R]=U;return}j[R]===void 0&&(j[R]={}),j[R][B[1]]=U};case"bracket":return(R,U,j)=>{if(B=/(\[])$/.exec(R),R=R.replace(/\[]$/,""),!B){j[R]=U;return}if(j[R]===void 0){j[R]=[U];return}j[R]=[...j[R],U]};case"colon-list-separator":return(R,U,j)=>{if(B=/(:list)$/.exec(R),R=R.replace(/:list$/,""),!B){j[R]=U;return}if(j[R]===void 0){j[R]=[U];return}j[R]=[...j[R],U]};case"comma":case"separator":return(R,U,j)=>{const $=typeof U=="string"&&U.includes(M.arrayFormatSeparator),ee=typeof U=="string"&&!$&&S(U,M).includes(M.arrayFormatSeparator);U=ee?S(U,M):U;const te=$||ee?U.split(M.arrayFormatSeparator).map(ie=>S(ie,M)):U===null?U:S(U,M);j[R]=te};case"bracket-separator":return(R,U,j)=>{const $=/(\[])$/.test(R);if(R=R.replace(/\[]$/,""),!$){j[R]=U&&S(U,M);return}const ee=U===null?[]:U.split(M.arrayFormatSeparator).map(te=>S(te,M));if(j[R]===void 0){j[R]=ee;return}j[R]=[...j[R],...ee]};default:return(R,U,j)=>{if(j[R]===void 0){j[R]=U;return}j[R]=[...[j[R]].flat(),U]}}}function C(M){if(typeof M!="string"||M.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function A(M,B){return B.encode?B.strict?p(M):encodeURIComponent(M):M}function S(M,B){return B.decode?f(M):M}function T(M){return Array.isArray(M)?M.sort():typeof M=="object"?T(Object.keys(M)).sort((B,R)=>Number(B)-Number(R)).map(B=>M[B]):M}function s(M){const B=M.indexOf("#");return B!==-1&&(M=M.slice(0,B)),M}function v(M){let B="";const R=M.indexOf("#");return R!==-1&&(B=M.slice(R)),B}function m(M,B){return B.parseNumbers&&!Number.isNaN(Number(M))&&typeof M=="string"&&M.trim()!==""?M=Number(M):B.parseBooleans&&M!==null&&(M.toLowerCase()==="true"||M.toLowerCase()==="false")&&(M=M.toLowerCase()==="true"),M}function E(M){M=s(M);const B=M.indexOf("?");return B===-1?"":M.slice(B+1)}function I(M,B){B={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...B},C(B.arrayFormatSeparator);const R=P(B),U=Object.create(null);if(typeof M!="string"||(M=M.trim().replace(/^[?#&]/,""),!M))return U;for(const j of M.split("&")){if(j==="")continue;const $=B.decode?j.replace(/\+/g," "):j;let[ee,te]=d($,"=");ee===void 0&&(ee=$),te=te===void 0?null:["comma","separator","bracket-separator"].includes(B.arrayFormat)?te:S(te,B),R(S(ee,B),te,U)}for(const[j,$]of Object.entries(U))if(typeof $=="object"&&$!==null)for(const[ee,te]of Object.entries($))$[ee]=m(te,B);else U[j]=m($,B);return B.sort===!1?U:(B.sort===!0?Object.keys(U).sort():Object.keys(U).sort(B.sort)).reduce((j,$)=>{const ee=U[$];return j[$]=ee&&typeof ee=="object"&&!Array.isArray(ee)?T(ee):ee,j},Object.create(null))}function L(M,B){if(!M)return"";B={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...B},C(B.arrayFormatSeparator);const R=ee=>B.skipNull&&_(M[ee])||B.skipEmptyString&&M[ee]==="",U=O(B),j={};for(const[ee,te]of Object.entries(M))R(ee)||(j[ee]=te);const $=Object.keys(j);return B.sort!==!1&&$.sort(B.sort),$.map(ee=>{const te=M[ee];return te===void 0?"":te===null?A(ee,B):Array.isArray(te)?te.length===0&&B.arrayFormat==="bracket-separator"?A(ee,B)+"[]":te.reduce(U(ee),[]).join("&"):A(ee,B)+"="+A(te,B)}).filter(ee=>ee.length>0).join("&")}function W(M,B){var j;B={decode:!0,...B};let[R,U]=d(M,"#");return R===void 0&&(R=M),{url:((j=R==null?void 0:R.split("?"))==null?void 0:j[0])??"",query:I(E(M),B),...B&&B.parseFragmentIdentifier&&U?{fragmentIdentifier:S(U,B)}:{}}}function F(M,B){B={encode:!0,strict:!0,[y]:!0,...B};const R=s(M.url).split("?")[0]||"",U=E(M.url),j={...I(U,{sort:!1}),...M.query};let $=L(j,B);$&&($=`?${$}`);let ee=v(M.url);if(M.fragmentIdentifier){const te=new URL(R);te.hash=M.fragmentIdentifier,ee=B[y]?te.hash:`#${M.fragmentIdentifier}`}return`${R}${$}${ee}`}function G(M,B,R){R={parseFragmentIdentifier:!0,[y]:!1,...R};const{url:U,query:j,fragmentIdentifier:$}=W(M,R);return F({url:U,query:h(j,B),fragmentIdentifier:$},R)}function k(M,B,R){const U=Array.isArray(B)?j=>!B.includes(j):(j,$)=>!B(j,$);return G(M,U,R)}const x=r},644306:function(b,l,e){"use strict";e.d(l,{H0:()=>h,Kn:()=>c,LS:()=>o,PV:()=>i,VL:()=>r,_L:()=>a,dV:()=>n});const r=g=>g===void 0||g==="auto"||g==="instant"||g==="smooth";function o(g,_){this.scrollLeft=g,this.scrollTop=_}const n=(g,_,p="cannot convert to dictionary.")=>`Failed to execute '${g}' on '${_}': ${p}`,a=(g,_,p)=>n(g,_,`The provided value '${p}' is not a valid enum value of type ScrollBehavior.`),i=(g,_,p)=>{var y;const O=`__SEAMLESS.BACKUP$${_}`;return!g[O]&&g[_]&&!(!((y=g[_])===null||y===void 0)&&y.__isPolyfill)&&(g[O]=g[_]),g[O]||p},c=g=>{const _=typeof g;return g!==null&&(_==="object"||_==="function")},u=g=>"scrollBehavior"in window.document.documentElement.style&&(g==null?void 0:g.forcePolyfill)!==!0,f=g=>{Object.defineProperty(g,"__isPolyfill",{value:!0})},d=(g,_)=>{f(_),[HTMLElement.prototype,SVGElement.prototype,Element.prototype].forEach(p=>{i(p,g),p[g]=_})},h=g=>g.ownerDocument.scrollingElement||g.ownerDocument.documentElement},304437:function(b,l,e){"use strict";e.d(l,{sA:()=>O,yZ:()=>y});var r=e(644306);function o(s){if(typeof Event=="function")return new Event("scrollend",{bubbles:s,cancelable:!1});const v=document.createEvent("Event");return v.initEvent("scrollend",s,!1),v}const n=s=>.5*(1-Math.cos(Math.PI*s));function a(){var s;let v;return!((s=window.performance)===null||s===void 0)&&s.now?v=()=>window.performance.now():v=()=>window.Date.now(),a=v,v()}const i=500,c=s=>{const m=(a()-s.timeStamp)/(s.duration||i);if(m>1){s.method(s.targetX,s.targetY),s.callback();return}const E=(s.timingFunc||n)(m),I=s.startX+(s.targetX-s.startX)*E,L=s.startY+(s.targetY-s.startY)*E;s.method(I,L),s.rafId=window.requestAnimationFrame(()=>{c(s)})},u=s=>isFinite(s)?Number(s):0,f=s=>{var v;return(v=s.isConnected)!==null&&v!==void 0?v:!s.ownerDocument||!(s.ownerDocument.compareDocumentPosition(s)&1)},d=(s,v,m)=>{var E,I;if(!f(s))return;const L=s.scrollLeft,W=s.scrollTop,F=u((E=v.left)!==null&&E!==void 0?E:L),G=u((I=v.top)!==null&&I!==void 0?I:W);if(F===L&&G===W)return;const k=(0,r.PV)(HTMLElement.prototype,"scroll",r.LS),x=(0,r.PV)(Object.getPrototypeOf(s),"scroll",k).bind(s);if(v.behavior!=="smooth"){x(F,G);return}const M=()=>{window.removeEventListener("wheel",U),window.removeEventListener("touchmove",U)},B=()=>{M();const j=s.nodeType===9;s.dispatchEvent(o(j))},R=Object.assign(Object.assign({},m),{timeStamp:a(),startX:L,startY:W,targetX:F,targetY:G,rafId:0,method:x,callback:B}),U=()=>{window.cancelAnimationFrame(R.rafId),M()};window.addEventListener("wheel",U,{passive:!0,once:!0}),window.addEventListener("touchmove",U,{passive:!0,once:!0}),c(R)},h=s=>s.window===s,g=s=>(v,m,E)=>{const[I,L]=h(v)?[(0,r.H0)(v.document.documentElement),"Window"]:[v,"Element"],W=m??{};if(!(0,r.Kn)(W))throw new TypeError((0,r.dV)(s,L));if(!(0,r.VL)(W.behavior))throw new TypeError((0,r._L)(s,L,W.behavior));s==="scrollBy"&&(W.left=u(W.left)+I.scrollLeft,W.top=u(W.top)+I.scrollTop),d(I,W,E)},_=g("scroll"),p=null,y=g("scrollBy"),O=_,P=null,C=null,A=null,S=null,T=null},72138:function(b,l,e){"use strict";e.d(l,{z:()=>A});var r=e(644306),o=e(304437);const n=T=>{switch(T){case"horizontal-tb":case"lr":case"lr-tb":case"rl":case"rl-tb":return 0;case"vertical-rl":case"tb":case"tb-rl":return 1;case"vertical-lr":case"tb-lr":return 2;case"sideways-rl":return 3;case"sideways-lr":return 4}return 0},a=(T,s,v,m)=>{let E=0;switch(s||(E^=2),T){case 0:E=E>>1|(E&1)<<1,[v,m]=[m,v];break;case 1:case 3:E^=1;break;case 4:E^=2;break}return[E,v,m]},i=T=>(a(n(T.writingMode),T.direction!=="rtl",void 0,void 0)[0]&1)===1,c=(T,s,v)=>{const[m,E,I]=a(s,v,T.block||"start",T.inline||"nearest");return[E,I].map((L,W)=>{switch(L){case"center":return 1;case"nearest":return 0;default:{const F=m>>W&1;return L==="start"==!F?2:3}}})},u=(T,s,v,m,E,I,L)=>T!==0?T:E<s&&I>v||E>s&&I<v?null:E<=s&&L<=m||I>=v&&L>=m?2:I>v&&L<m||E<s&&L>m?3:null,f=T=>T!=="visible"&&T!=="clip",d=T=>{var s;try{return((s=T.ownerDocument.defaultView)===null||s===void 0?void 0:s.frameElement)||null}catch{return null}},h=(T,s)=>T.clientHeight<T.scrollHeight||T.clientWidth<T.scrollWidth?f(s.overflowY)||f(s.overflowX)||T===(0,r.H0)(T):!1,g=T=>{const s=T.parentNode,v=T.parentElement;if(v===null&&s!==null){if(s.nodeType===11)return s.host;if(s.nodeType===9)return d(T)}return v},_=(T,s,v)=>T<s?s:T>v?v:T,p=T=>["scroll-margin","scroll-snap-margin"].filter(s=>s in T.documentElement.style)[0],y=(T,s,v)=>{const{top:m,right:E,bottom:I,left:L}=s,W=p(T.ownerDocument);if(!W)return[m,E,I,L];const F=G=>{const k=v.getPropertyValue(`${W}-${G}`);return parseInt(k,10)||0};return[m-F("top"),E+F("right"),I+F("bottom"),L-F("left")]},O=(T,s,v)=>{switch(T){case 1:return(s+v)/2;case 3:return v;case 2:case 0:return s}},P=(T,s)=>{var v,m,E;const I=(v=T.ownerDocument.defaultView)===null||v===void 0?void 0:v.visualViewport,[L,W,F,G]=T===(0,r.H0)(T)?[0,0,(m=I==null?void 0:I.width)!==null&&m!==void 0?m:T.clientWidth,(E=I==null?void 0:I.height)!==null&&E!==void 0?E:T.clientHeight]:[s.left,s.top,T.clientWidth,T.clientHeight],k=L+T.clientLeft,x=W+T.clientTop,M=k+F,B=x+G;return[x,M,B,k]},C=(T,s)=>{const v=[];let m=T.ownerDocument,E=m.defaultView;if(!E)return v;const I=window.getComputedStyle(T),L=I.direction!=="rtl",W=n(I.writingMode||I.getPropertyValue("-webkit-writing-mode")||I.getPropertyValue("-ms-writing-mode")),[F,G]=c(s,W,L);let[k,x,M,B]=y(T,T.getBoundingClientRect(),I);for(let R=g(T);R!==null;R=g(R)){if(m!==R.ownerDocument){if(m=R.ownerDocument,E=m.defaultView,!E)break;const{left:re,top:he}=R.getBoundingClientRect();k+=he,x+=re,M+=he,B+=re}const U=E.getComputedStyle(R);if(U.position==="fixed")break;if(!h(R,U))continue;const j=R.getBoundingClientRect(),[$,ee,te,ie]=P(R,j),ne=u(F,ie,ee,R.clientWidth,B,x,x-B),pe=u(G,$,te,R.clientHeight,k,M,M-k),oe=ne===null?0:O(ne,B,x)-O(ne,ie,ee),q=pe===null?0:O(pe,k,M)-O(pe,$,te),J=i(U)?_(oe,-R.scrollWidth+R.clientWidth-R.scrollLeft,-R.scrollLeft):_(oe,-R.scrollLeft,R.scrollWidth-R.clientWidth-R.scrollLeft),me=_(q,-R.scrollTop,R.scrollHeight-R.clientHeight-R.scrollTop);v.push([R,{left:R.scrollLeft+J,top:R.scrollTop+me,behavior:s.behavior}]),k=Math.max(k-me,$),x=Math.min(x-J,ee),M=Math.min(M-me,te),B=Math.max(B-J,ie)}return v},A=(T,s,v)=>{const m=s||{};if(!(0,r.VL)(m.behavior))throw new TypeError((0,r._L)("scrollIntoView","Element",m.behavior));C(T,m).forEach(([I,L])=>{(0,o.sA)(I,L,v)})},S=null},274671:function(b,l,e){"use strict";e.d(l,{V:()=>i});const r="\u037C",o=typeof Symbol>"u"?"__"+r:Symbol.for(r),n=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),a=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class i{constructor(d,h){this.rules=[];let{finish:g}=h||{};function _(y){return/^@/.test(y)?[y]:y.split(/,\s*/)}function p(y,O,P,C){let A=[],S=/^@(\w+)\b/.exec(y[0]),T=S&&S[1]=="keyframes";if(S&&O==null)return P.push(y[0]+";");for(let s in O){let v=O[s];if(/&/.test(s))p(s.split(/,\s*/).map(m=>y.map(E=>m.replace(/&/,E))).reduce((m,E)=>m.concat(E)),v,P);else if(v&&typeof v=="object"){if(!S)throw new RangeError("The value of a property ("+s+") should be a primitive value.");p(_(s),v,A,T)}else v!=null&&A.push(s.replace(/_.*/,"").replace(/[A-Z]/g,m=>"-"+m.toLowerCase())+": "+v+";")}(A.length||T)&&P.push((g&&!S&&!C?y.map(g):y).join(", ")+" {"+A.join(" ")+"}")}for(let y in d)p(_(y),d[y],this.rules)}getRules(){return this.rules.join(`
`)}static newName(){let d=a[o]||1;return a[o]=d+1,r+d.toString(36)}static mount(d,h,g){let _=d[n],p=g&&g.nonce;_?p&&_.setNonce(p):_=new u(d,p),_.mount(Array.isArray(h)?h:[h],d)}}let c=new Map;class u{constructor(d,h){let g=d.ownerDocument||d,_=g.defaultView;if(!d.head&&d.adoptedStyleSheets&&_.CSSStyleSheet){let p=c.get(g);if(p)return d[n]=p;this.sheet=new _.CSSStyleSheet,c.set(g,this)}else this.styleTag=g.createElement("style"),h&&this.styleTag.setAttribute("nonce",h);this.modules=[],d[n]=this}mount(d,h){let g=this.sheet,_=0,p=0;for(let y=0;y<d.length;y++){let O=d[y],P=this.modules.indexOf(O);if(P<p&&P>-1&&(this.modules.splice(P,1),p--,P=-1),P==-1){if(this.modules.splice(p++,0,O),g)for(let C=0;C<O.rules.length;C++)g.insertRule(O.rules[C],_++)}else{for(;p<P;)_+=this.modules[p++].rules.length;_+=O.rules.length,p++}}if(g)h.adoptedStyleSheets.indexOf(this.sheet)<0&&(h.adoptedStyleSheets=[this.sheet,...h.adoptedStyleSheets]);else{let y="";for(let P=0;P<this.modules.length;P++)y+=this.modules[P].getRules()+`
`;this.styleTag.textContent=y;let O=h.head||h;this.styleTag.parentNode!=O&&O.insertBefore(this.styleTag,O.firstChild)}}setNonce(d){this.styleTag&&this.styleTag.getAttribute("nonce")!=d&&this.styleTag.setAttribute("nonce",d)}}},990671:function(b,l,e){"use strict";e.r(l),e.d(l,{characters:()=>te,strlen:()=>k,PAGE:()=>u,LAYER:()=>S,tokenize:()=>z,declaration:()=>Fe,character:()=>ee,length:()=>j,peek:()=>J,prefix:()=>ht,NAMESPACE:()=>y,append:()=>M,COMMENT:()=>a,indexof:()=>W,charat:()=>F,KEYFRAMES:()=>O,match:()=>I,namespace:()=>Pt,ruleset:()=>Ue,whitespace:()=>_e,WEBKIT:()=>n,middleware:()=>we,caret:()=>me,hash:()=>m,DOCUMENT:()=>p,FONT_FACE:()=>P,MEDIA:()=>f,MS:()=>r,alloc:()=>Ee,char:()=>pe,COUNTER_STYLE:()=>C,node:()=>ie,parse:()=>Le,prev:()=>oe,rulesheet:()=>$e,sizeof:()=>x,stringify:()=>Ce,compile:()=>ye,token:()=>he,identifier:()=>He,abs:()=>T,assign:()=>v,serialize:()=>Ne,dealloc:()=>fe,DECLARATION:()=>c,copy:()=>ne,escaping:()=>ge,next:()=>q,tokenizer:()=>ae,commenter:()=>Ke,prefixer:()=>Ot,comment:()=>Xe,from:()=>s,substr:()=>G,replace:()=>L,delimit:()=>H,RULESET:()=>i,delimiter:()=>Be,position:()=>$,CHARSET:()=>h,FONT_FEATURE_VALUES:()=>A,VIEWPORT:()=>g,column:()=>U,IMPORT:()=>d,line:()=>R,SUPPORTS:()=>_,slice:()=>re,trim:()=>E,combine:()=>B,MOZ:()=>o});var r="-ms-",o="-moz-",n="-webkit-",a="comm",i="rule",c="decl",u="@page",f="@media",d="@import",h="@charset",g="@viewport",_="@supports",p="@document",y="@namespace",O="@keyframes",P="@font-face",C="@counter-style",A="@font-feature-values",S="@layer",T=Math.abs,s=String.fromCharCode,v=Object.assign;function m(Ie,Bt){return F(Ie,0)^45?(((Bt<<2^F(Ie,0))<<2^F(Ie,1))<<2^F(Ie,2))<<2^F(Ie,3):0}function E(Ie){return Ie.trim()}function I(Ie,Bt){return(Ie=Bt.exec(Ie))?Ie[0]:Ie}function L(Ie,Bt,mt){return Ie.replace(Bt,mt)}function W(Ie,Bt){return Ie.indexOf(Bt)}function F(Ie,Bt){return Ie.charCodeAt(Bt)|0}function G(Ie,Bt,mt){return Ie.slice(Bt,mt)}function k(Ie){return Ie.length}function x(Ie){return Ie.length}function M(Ie,Bt){return Bt.push(Ie),Ie}function B(Ie,Bt){return Ie.map(Bt).join("")}var R=1,U=1,j=0,$=0,ee=0,te="";function ie(Ie,Bt,mt,rt,ce,Re,nt){return{value:Ie,root:Bt,parent:mt,type:rt,props:ce,children:Re,line:R,column:U,length:nt,return:""}}function ne(Ie,Bt){return v(ie("",null,null,"",null,null,0),Ie,{length:-Ie.length},Bt)}function pe(){return ee}function oe(){return ee=$>0?F(te,--$):0,U--,ee===10&&(U=1,R--),ee}function q(){return ee=$<j?F(te,$++):0,U++,ee===10&&(U=1,R++),ee}function J(){return F(te,$)}function me(){return $}function re(Ie,Bt){return G(te,Ie,Bt)}function he(Ie){switch(Ie){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ee(Ie){return R=U=1,j=k(te=Ie),$=0,[]}function fe(Ie){return te="",Ie}function H(Ie){return E(re($-1,Be(Ie===91?Ie+2:Ie===40?Ie+1:Ie)))}function z(Ie){return fe(ae(Ee(Ie)))}function _e(Ie){for(;(ee=J())&&ee<33;)q();return he(Ie)>2||he(ee)>3?"":" "}function ae(Ie){for(;q();)switch(he(ee)){case 0:M(He($-1),Ie);break;case 2:M(H(ee),Ie);break;default:M(s(ee),Ie)}return Ie}function ge(Ie,Bt){for(;--Bt&&q()&&!(ee<48||ee>102||ee>57&&ee<65||ee>70&&ee<97););return re(Ie,me()+(Bt<6&&J()==32&&q()==32))}function Be(Ie){for(;q();)switch(ee){case Ie:return $;case 34:case 39:Ie!==34&&Ie!==39&&Be(ee);break;case 40:Ie===41&&Be(Ie);break;case 92:q();break}return $}function Ke(Ie,Bt){for(;q()&&Ie+ee!==57;)if(Ie+ee===84&&J()===47)break;return"/*"+re(Bt,$-1)+"*"+s(Ie===47?Ie:q())}function He(Ie){for(;!he(J());)q();return re(Ie,$)}function ye(Ie){return fe(Le("",null,null,null,[""],Ie=Ee(Ie),0,[0],Ie))}function Le(Ie,Bt,mt,rt,ce,Re,nt,st,vt){for(var ze=0,It=0,on=nt,Pn=0,Yn=0,Ln=0,bn=1,ir=1,Zn=1,$n=0,jt="",Rn=ce,jn=Re,Tn=rt,Nn=jt;ir;)switch(Ln=$n,$n=q()){case 40:if(Ln!=108&&F(Nn,on-1)==58){W(Nn+=L(H($n),"&","&\f"),"&\f")!=-1&&(Zn=-1);break}case 34:case 39:case 91:Nn+=H($n);break;case 9:case 10:case 13:case 32:Nn+=_e(Ln);break;case 92:Nn+=ge(me()-1,7);continue;case 47:switch(J()){case 42:case 47:M(Xe(Ke(q(),me()),Bt,mt),vt);break;default:Nn+="/"}break;case 123*bn:st[ze++]=k(Nn)*Zn;case 125*bn:case 59:case 0:switch($n){case 0:case 125:ir=0;case 59+It:Zn==-1&&(Nn=L(Nn,/\f/g,"")),Yn>0&&k(Nn)-on&&M(Yn>32?Fe(Nn+";",rt,mt,on-1):Fe(L(Nn," ","")+";",rt,mt,on-2),vt);break;case 59:Nn+=";";default:if(M(Tn=Ue(Nn,Bt,mt,ze,It,ce,st,jt,Rn=[],jn=[],on),Re),$n===123)if(It===0)Le(Nn,Bt,Tn,Tn,Rn,Re,on,st,jn);else switch(Pn===99&&F(Nn,3)===110?100:Pn){case 100:case 108:case 109:case 115:Le(Ie,Tn,Tn,rt&&M(Ue(Ie,Tn,Tn,0,0,ce,st,jt,ce,Rn=[],on),jn),ce,jn,on,st,rt?Rn:jn);break;default:Le(Nn,Tn,Tn,Tn,[""],jn,0,st,jn)}}ze=It=Yn=0,bn=Zn=1,jt=Nn="",on=nt;break;case 58:on=1+k(Nn),Yn=Ln;default:if(bn<1){if($n==123)--bn;else if($n==125&&bn++==0&&oe()==125)continue}switch(Nn+=s($n),$n*bn){case 38:Zn=It>0?1:(Nn+="\f",-1);break;case 44:st[ze++]=(k(Nn)-1)*Zn,Zn=1;break;case 64:J()===45&&(Nn+=H(q())),Pn=J(),It=on=k(jt=Nn+=He(me())),$n++;break;case 45:Ln===45&&k(Nn)==2&&(bn=0)}}return Re}function Ue(Ie,Bt,mt,rt,ce,Re,nt,st,vt,ze,It){for(var on=ce-1,Pn=ce===0?Re:[""],Yn=x(Pn),Ln=0,bn=0,ir=0;Ln<rt;++Ln)for(var Zn=0,$n=G(Ie,on+1,on=T(bn=nt[Ln])),jt=Ie;Zn<Yn;++Zn)(jt=E(bn>0?Pn[Zn]+" "+$n:L($n,/&\f/g,Pn[Zn])))&&(vt[ir++]=jt);return ie(Ie,Bt,mt,ce===0?i:st,vt,ze,It)}function Xe(Ie,Bt,mt){return ie(Ie,Bt,mt,a,s(pe()),G(Ie,2,-2),0)}function Fe(Ie,Bt,mt,rt){return ie(Ie,Bt,mt,c,G(Ie,0,rt),G(Ie,rt+1,-1),rt)}function ht(Ie,Bt,mt){switch(m(Ie,Bt)){case 5103:return n+"print-"+Ie+Ie;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return n+Ie+Ie;case 4789:return o+Ie+Ie;case 5349:case 4246:case 4810:case 6968:case 2756:return n+Ie+o+Ie+r+Ie+Ie;case 5936:switch(F(Ie,Bt+11)){case 114:return n+Ie+r+L(Ie,/[svh]\w+-[tblr]{2}/,"tb")+Ie;case 108:return n+Ie+r+L(Ie,/[svh]\w+-[tblr]{2}/,"tb-rl")+Ie;case 45:return n+Ie+r+L(Ie,/[svh]\w+-[tblr]{2}/,"lr")+Ie}case 6828:case 4268:case 2903:return n+Ie+r+Ie+Ie;case 6165:return n+Ie+r+"flex-"+Ie+Ie;case 5187:return n+Ie+L(Ie,/(\w+).+(:[^]+)/,n+"box-$1$2"+r+"flex-$1$2")+Ie;case 5443:return n+Ie+r+"flex-item-"+L(Ie,/flex-|-self/g,"")+(I(Ie,/flex-|baseline/)?"":r+"grid-row-"+L(Ie,/flex-|-self/g,""))+Ie;case 4675:return n+Ie+r+"flex-line-pack"+L(Ie,/align-content|flex-|-self/g,"")+Ie;case 5548:return n+Ie+r+L(Ie,"shrink","negative")+Ie;case 5292:return n+Ie+r+L(Ie,"basis","preferred-size")+Ie;case 6060:return n+"box-"+L(Ie,"-grow","")+n+Ie+r+L(Ie,"grow","positive")+Ie;case 4554:return n+L(Ie,/([^-])(transform)/g,"$1"+n+"$2")+Ie;case 6187:return L(L(L(Ie,/(zoom-|grab)/,n+"$1"),/(image-set)/,n+"$1"),Ie,"")+Ie;case 5495:case 3959:return L(Ie,/(image-set\([^]*)/,n+"$1$`$1");case 4968:return L(L(Ie,/(.+:)(flex-)?(.*)/,n+"box-pack:$3"+r+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+n+Ie+Ie;case 4200:if(!I(Ie,/flex-|baseline/))return r+"grid-column-align"+G(Ie,Bt)+Ie;break;case 2592:case 3360:return r+L(Ie,"template-","")+Ie;case 4384:case 3616:return mt&&mt.some(function(rt,ce){return Bt=ce,I(rt.props,/grid-\w+-end/)})?~W(Ie+(mt=mt[Bt].value),"span")?Ie:r+L(Ie,"-start","")+Ie+r+"grid-row-span:"+(~W(mt,"span")?I(mt,/\d+/):+I(mt,/\d+/)-+I(Ie,/\d+/))+";":r+L(Ie,"-start","")+Ie;case 4896:case 4128:return mt&&mt.some(function(rt){return I(rt.props,/grid-\w+-start/)})?Ie:r+L(L(Ie,"-end","-span"),"span ","")+Ie;case 4095:case 3583:case 4068:case 2532:return L(Ie,/(.+)-inline(.+)/,n+"$1$2")+Ie;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(k(Ie)-1-Bt>6)switch(F(Ie,Bt+1)){case 109:if(F(Ie,Bt+4)!==45)break;case 102:return L(Ie,/(.+:)(.+)-([^]+)/,"$1"+n+"$2-$3$1"+o+(F(Ie,Bt+3)==108?"$3":"$2-$3"))+Ie;case 115:return~W(Ie,"stretch")?ht(L(Ie,"stretch","fill-available"),Bt,mt)+Ie:Ie}break;case 5152:case 5920:return L(Ie,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(rt,ce,Re,nt,st,vt,ze){return r+ce+":"+Re+ze+(nt?r+ce+"-span:"+(st?vt:+vt-+Re)+ze:"")+Ie});case 4949:if(F(Ie,Bt+6)===121)return L(Ie,":",":"+n)+Ie;break;case 6444:switch(F(Ie,F(Ie,14)===45?18:11)){case 120:return L(Ie,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+n+(F(Ie,14)===45?"inline-":"")+"box$3$1"+n+"$2$3$1"+r+"$2box$3")+Ie;case 100:return L(Ie,":",":"+r)+Ie}break;case 5719:case 2647:case 2135:case 3927:case 2391:return L(Ie,"scroll-","scroll-snap-")+Ie}return Ie}function Ne(Ie,Bt){for(var mt="",rt=x(Ie),ce=0;ce<rt;ce++)mt+=Bt(Ie[ce],ce,Ie,Bt)||"";return mt}function Ce(Ie,Bt,mt,rt){switch(Ie.type){case S:if(Ie.children.length)break;case d:case c:return Ie.return=Ie.return||Ie.value;case a:return"";case O:return Ie.return=Ie.value+"{"+Ne(Ie.children,rt)+"}";case i:Ie.value=Ie.props.join(",")}return k(mt=Ne(Ie.children,rt))?Ie.return=Ie.value+"{"+mt+"}":""}function we(Ie){var Bt=x(Ie);return function(mt,rt,ce,Re){for(var nt="",st=0;st<Bt;st++)nt+=Ie[st](mt,rt,ce,Re)||"";return nt}}function $e(Ie){return function(Bt){Bt.root||(Bt=Bt.return)&&Ie(Bt)}}function Ot(Ie,Bt,mt,rt){if(Ie.length>-1&&!Ie.return)switch(Ie.type){case c:Ie.return=ht(Ie.value,Ie.length,mt);return;case O:return Ne([ne(Ie,{value:L(Ie.value,"@","@"+n)})],rt);case i:if(Ie.length)return B(Ie.props,function(ce){switch(I(ce,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ne([ne(Ie,{props:[L(ce,/:(read-\w+)/,":"+o+"$1")]})],rt);case"::placeholder":return Ne([ne(Ie,{props:[L(ce,/:(plac\w+)/,":"+n+"input-$1")]}),ne(Ie,{props:[L(ce,/:(plac\w+)/,":"+o+"$1")]}),ne(Ie,{props:[L(ce,/:(plac\w+)/,r+"input-$1")]})],rt)}return""})}}function Pt(Ie){switch(Ie.type){case i:Ie.props=Ie.props.map(function(Bt){return B(z(Bt),function(mt,rt,ce){switch(F(mt,0)){case 12:return G(mt,1,k(mt));case 0:case 40:case 43:case 62:case 126:return mt;case 58:ce[++rt]==="global"&&(ce[rt]="",ce[++rt]="\f"+G(ce[rt],rt=1,-1));case 32:return rt===1?"":mt;default:switch(rt){case 0:return Ie=mt,x(ce)>1?"":mt;case(rt=x(ce)-1):case 2:return rt===2?mt+Ie+Ie:mt+Ie;default:return mt}}})})}}},335842:function(b,l,e){"use strict";e.d(l,{YG:()=>h,uY:()=>o,ue:()=>r});for(var r={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},o={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},n=typeof navigator<"u"&&/Chrome\/(\d+)/.exec(navigator.userAgent),a=typeof navigator<"u"&&/Gecko\/\d+/.test(navigator.userAgent),i=typeof navigator<"u"&&/Mac/.test(navigator.platform),c=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),u=i||n&&+n[1]<57,f=0;f<10;f++)r[48+f]=r[96+f]=String(f);for(var f=1;f<=24;f++)r[f+111]="F"+f;for(var f=65;f<=90;f++)r[f]=String.fromCharCode(f+32),o[f]=String.fromCharCode(f);for(var d in r)o.hasOwnProperty(d)||(o[d]=r[d]);function h(g){var _=u&&(g.ctrlKey||g.altKey||g.metaKey)||c&&g.shiftKey&&g.key&&g.key.length==1||g.key=="Unidentified",p=!_&&g.key||(g.shiftKey?o:r)[g.keyCode]||g.key||"Unidentified";return p=="Esc"&&(p="Escape"),p=="Del"&&(p="Delete"),p=="Left"&&(p="ArrowLeft"),p=="Up"&&(p="ArrowUp"),p=="Right"&&(p="ArrowRight"),p=="Down"&&(p="ArrowDown"),p}},30844:function(b){"use strict";b.exports=JSON.parse(`{"0141fa9f0be4194399a88f5fef0bb639":"You don't have any mailing lists. Please create one before continuing","014f07868f87665f18306a866f821b4e":"Right Align","0206ac1674549234236fec1e3e5d40a3":"Text","030bdb7ec8e8cd347fad389b2f0b6c1b":"Choose File","0340e8c7dd3b68223fb050892f8bd266":"Delete","04a7bd5e2847095c55fe21aef7ba243a":"BCC","0664e194e9297b284bbcac4e63018203":"Code editor","069be74a4cdfee594e42ea8c19cd697d":"Connected to","08e2b66460598d026a23e49b7eb2bfe4":"{val} is not a valid page URL","09272f8adb7bef3c15f86216821503e7":"https://example.com","09641cfbf347c23f2f1401c80f111c97":"Successfully located","0b22febf82c502f8aeab55ad8d8dbd64":"Text Color","0dd5449144543955db89be693d31d57f":"Medium Paragraph","118737dd09c4bbca2668f0ec74575fc8":"Paragraph","11d1442e08568a65c839815601447d81":"City, State, Zip","11f8cb2f0b6422accf1ad23d68aeede4":"Drop your files to upload","14697aa8558e29f76b2bcc93d804b555":"Delete attachment","151d7ef9ce161d0b824a5fa9410739c9":"Please enter a valid email","178ebbe3d6ece8c96fe884badf3c80fa":"Other","17be4afc8553a37bd0cc3954a1fd189a":"Add Avatar","1997da20c166ee10ae426e2de942b84e":"Bulleted List","19b496d2615bfe692e80803e27512331":"+1 (555) 555-0198","1a1ceff67be3b165dc4f36019c134d32":"Uncollapse","1c8c3ac4a67e7bf87bb1b9197b38862b":{"one":"{%n} Zap connected","other":"{%n} Zaps connected"},"1d7f80c88662cd563c4aba35fd514aca":"Fonts can affect your site\u2019s load time. Use as few as possible. {learnMore}","1dcf4e15170e20de94cc73e716440378":"Load More","1eb42c6cb31f4879bee51821f8eb7325":"Slab Serif","2077e4e46fc6729c384f71c84203e519":"Color","212e00b324a1c7c5d72d865990dfddf1":"Formatting","22c9c6155c64fe02952ee31183ef8907":"Learn more.","2384a4a0e2a5214730400c656b365044":"Link Editor","23f807a2f3c5be6d5ba441fd24552ff1":"Hue","23fbe79152d053260378139870172f6b":"Outdent List Item","29e233771e82810a7524b9a11dc75f85":"Redo","2b7c3f88becae796299fabf22f72cc1d":"Filter {tagType}","2bb219534e372498719faf7f52cb39ba":"Form submissions will no longer be sent to your Mailchimp account.","2ca1e029f2b3386fec8059b51f67c7aa":"Cancel","2cd6bbc51b3ca422689c44221e056d1d":"{iconName} icon","2da54f567ea151fb27983f192f2aad8c":"Disconnect","2f326f1782f80c9602c5c0f480acd569":"Paragraph Large","2f6a0800f9e821ae9608cdaf642557f0":"Vimeo Basic accounts are unsupported. Please share a video from a different account.","2ff55fa5f44efe909ee9def4151063f1":"Typekit (Deprecated)","32144adc818f13fb069a69c974e555d2":"Numbered List","33b4a38d4c03582be06aba8926c9c14f":"Spreadsheet Name","35faa1b1781d6eee40b5c56f42416bda":"Connect to","36db0be5456697b047ea71d4d02d61d4":"angle","374214587a58fe562f282bd87d910f48":"Underline","37b0da5136508f27aeb51d39807e7cd0":"Add Image","380e408440d5350ce9283c22e2a8f794":"Save","3a5153db7e24f2c8e1cf69dc005c6708":"Are you sure you would like to remove these {tagType}? All items with these {tagType} will be updated.","3a5b7465353838c731874f86ea1aa182":"Unable to Rename File","3ac4f28c1044cd8ab918fc8e903d7ed1":"Small Paragraph","3ddb7b6d6f0ea53f8b3d049604cc70fa":"Preview","3ee12af588444226d8a6c70eabc1a861":"Normal","3fbb497ad30ec1098bb7044d92877aa1":"Please enter a file name","40c91431b506393d2248c447df7e2cf6":"Choose (Optional)","413b73a3b3765ea111c90d1dae3af96d":"Something went wrong","43319d0ffa28e455372df25fb2889fea":"File processing failed","45367d0f7e6221f48aaf784019ec8004":"Unable to locate content","45684454c4df145adeae75dfb9a70ef4":"No {tagType} found","45d23bed6f2d26afac6aace1ecaaeb65":"Outdent","46fe088a0c01a7b06a77a8ca5079fc92":"Hide password","481779894da47202c80a84709b2ad7f3":"Web Address","4852c876d60b3e5f297df19ebfef03d4":"Link Name","48693a3724983c379ea489a4942a11ea":"Upload File","49177d13ba152a915e72dc0e890cd082":"Open Link Editor","491a80eddb896f15e739ee582e456dd2":"One or more rows was missing data","4ae0e29701ea00a4795705f7f4f67b8e":"Search","4c935026efb5ca6ce50019a7f55e0c49":"Phone","4ca565cf2cb136e23a32ce8dff588024":"Clear Formatting","4de17d8e8a40ba9e62d9ccab4a3b7b7f":"Browse all fonts","4df8418beddf738dffc2e96e0f0a1270":"Private","4ff476d1a620c5f518f26d8d217ea9f8":"None","516701691e5b1ce51b58f68ed6035ef3":"Unable to load preview for {fontName}","51b30c554db0a8684523fd96862edde4":"Pages","522807ea28a266bda049cb8637443f23":"Display Source","54eff37a52f8c9e9e4b646646e044e9c":"Email","56a5fe7b7fc2fcf6b546b69cb860a184":"There was a problem while renaming your file.","57f8d22cd814c756620c329e163a6200":"Categories","5997f29d9262297d2d50c139c1d84662":"Bold","5c977b6a6cc52387fa09f2d1e2db2450":"Numbers","5cd58303f11dd3aa71d98ef3e0370500":"Manage","5dc2131cfc51ceae8044261cdddc1624":"Open in New Window","5ec935856879645040f14c4e1adb8366":"Quote","5f0d09d3dc41398751fe5b0b22b0bd7d":"Include country code","5f33f9f096cd3c0d262a97dfd9738388":"Text Alignment","62444f8044cfff2cc1d6ce2704c905de":"Align","6374d59b53e351cc597bdb6f308c8152":"Replace","63d751064eb90fb6e472fd79547b2fc6":"Address","650ba9bb4296879d6e8f20a587873c5e":"Info for attachment","663ddcc4a909596ab82ee1c1de1e3b94":"Are you sure you would like to remove this {tagType}? All items with this {tagType} will be updated.","66633ba9d6dc5cff1c6d2be997e26259":"Update","669a9180ff79f1bdc7737218a576b5c5":"Add Audio","6795c93795031ea3c966e70aa8fb6d67":"Remove","6ae06a254fa8578e3db796db2b5e50cc":"Emails must be formatted as email@example.com","6d5a11f2853e61c87f02430972402414":"Fonts in Style Guide","6defec7d03d58b1fb2d4b4d20f3274cf":"Add File","6f28effcf4f76d080abc7893d30966bf":"Mode","6f3604dda971f07bb57da9ed8f1f74c7":"Back","70c8b21cdb4a7faaa871414c404f5a37":"Search fonts","71b6c516b67aed7ce1e157767622a048":"Confirm","71c84b01aa8158c57b404805381738b0":"Open in a New Window","721e0782a77212923abb2d89fdc26afb":"Color map thumb","749e2a5e7698f9a588c816febc23cd19":"{val} is not one of the expected options","74fc7fe880ed4b94e3d44a3aed8607a6":"More","760c1b49f8bb84ca5dd9b1bcaabb69d8":"Apply","7703bb4cabe682a18285c33fe767c27e":"Add swatch","78701bfa2ba7a789b450ebda20ec0ca7":"Country","787d1e95c6bf94e4a854c3874d9ff861":"File Detail","79bdbafac4b2414ee12d9a2fea229ec0":"Phone Number","7aaafe0be804d1ce3c7cb30d58480912":"Body","7d07f870886c600ed5bc37af39266284":"New Series","7d327a3dbb804e3e33ab53a29a6c284c":"Advanced","7e7e4159319301ac15a7fa8d80efa843":"Paragraph Small","7e8e27c5a3313b556c0d93914e7d5b65":"Fonts can affect your site's load time. Use as few as possible. {learnMoreLink}","7f23747871cddef936eaa7b5afaa71e9":"The file {fileName} does not appear to be a supported {fileTypeMessage}file.","7fd030bff942f8f5eacf9c36e7b5cb86":"tag","8030c7d4ef639c31baebe4305012f265":"No Results","81d7722f3035ed5883cec1194b4c6945":"Indent","82ec412180360729918933152c71ea4c":"Needs Review","83c193e0aa96fd9c0766ae9c8c2bdf73":"Enter some data!","83d9a5ee9a18de4adb020cfd8354726a":"Ok","849ab3fbded7172ed0020bcdbe5c91b3":"Sans Serif","84ed1a818812875886ea82e56730eab6":"Discard","882491ba729c91194caa753228b4df2c":"Your dataset must have at least one row","8825c051a8218175fe6857bfd0142e68":"undo","8906b1a292dbe303c0505bbaf1d5272e":"Serif","8914865196496d62a20e28b8f944e218":"File processing failed to complete","8962d92b3137f6e4607a410c5710c3e4":"Display","8acc6203bd4681ba291f5c0b5e97d7ed":"Heading 6","8b47c8126228b030d2083d2b6fb04f25":"Tags","8b7872adc28e449ef45d5d5e7c0ec8d8":"Dismiss","8e48ee7b1c007b3ebe2df3aec389665d":"Merge","8e54777e38ddfa70e40e8df6478588ea":"{len} selected","8e5e94ff1880763ffb58d6d02b5097ee":"Undo","8e696cb6fa1ffcbe9e9cabff061298c5":"Opacity","8ffb0b6e8d79d3200ef6609f96a3cb10":"No variants","9195c6f74ed2b2dfa567f6330937cacc":"Label","91ef0a624b69b77fcd60ea19caffa31a":"Error uploading","92b558a38285983831bb65464610e5e5":"Add {tagType} here","92f0a8337f22baf3997d5f20a17c9c76":"Delete '{filename}'?","949c8ae9a4aac58b07d317989b33e354":"This {tagType} already exists","958dba67087058b4a48e8b08d11d8321":"Heading 5","96c3071b61722c35b731c1d538e248e8":"example@example.com","97094a1a218f5a6217b996fe88395f05":"Remove {tagType}","993450215333ab73150f2831db4a2ce9":"Searching","9a80011dc1ba3a237c2691fd6f5c9904":"Close","9b7ef9a0b95dca7366b8736a3cbc56a8":"file upload","9bf25392999569e076b9349b042dce6e":"Network error","9c02b62381f6c17374b7f5b7fff7159c":"Unable to Upload File","9d1e2410516960f174defb07ee3f1c5f":"Filter by product","9d9f520137959df43cbc65161f4325a0":"Superscript","9df97aed8e7e6fe1088d1826518b354e":"Strikethrough","9ea9aa76d5378aa3b553a4a5f4ff78ea":"Awaiting Connection to Zapier","a140e097ba2c31b7eafdd5ac3883e7e1":"There was a problem while uploading your file.","a1a1f0c3723b927b0bde4eee49540dbb":"Link","a3c0b94fefbd7fe93950ffcd33241a6b":"Existing Files","a4076f49f4f9f6c95b24a985487c3cf0":"Markdown","a48b9ccb25ed66eebf2753494b24f0ae":"Links","a4959ad90934fe5ab29b8795813181d2":"tags","a4d0b8f2606818c557192a09324a39da":"This page is locked","a77460fff4aaad92b3f81522d194d909":"By {authors}","a7b5c41b6f9ae8df24aab7be61000ec2":"New {tagType}","a7e614da684a289259a757da5b11ffd5":"Mono","a8697f6224225817130c31996d9b002c":"Heading 2","a9aa595714d8537a0bcfde92bd39ffc1":"Deprecated","aa561aef75cd3063ab9058e4287381ce":"Your dataset has been truncated to {maxRows} rows","ad2d0dc63b854af0e32e0b5e92784436":"Extra Large Heading","ad6805ba5b472b9af26e2d3154e20dae":"Typekit Kit","afeb3edda64e60f7d173bc806ed5df0b":"You may only edit one {tagType} at a time","b0695c36098e6fd43cc9a45c711bd504":"File processing cancelled","b125de8dd82b809475f4ffb299eafc69":"Left Align","b213f944635c2a9c751d2793df0d0e8d":{"one":"{%n} variant","other":"{%n} variants"},"b321efb5ce7a2271e72c171bf15b3bdc":"superscript","b4f1b32c617e24e50bb7033674cf3c8d":"Subject","b60fd254e7986e8f740ea8af4c039df0":"Unable to connect. Please try again","b7044b7c3ef0d585024616a719cfa684":"Edit","b8302fe3a3f4d7531e53b59e47e367e3":"Navigate to {label}","b90258a24f3d53aca75cba38a8bd3c20":"Learn More","b93679c1ac66c43fec0490f125e9db13":"Script","b956ecc6b9594bd69c184dfbbe22f2c8":"To","bad635ed8fb7219810ebde3b1a9a0efd":"Styles","bb7ebc4c739f0a717a26ac4837b6b869":"Medium Heading","bc7be137f1fc59c5d423dc8fbc1773bf":"Your dataset must have at least one column","bc953956c9f0d80b05cbffefc18084dc":"Okay","be44967e5703076dbc561a8d79649e54":"Bullets","bfd10ff05b9b5d2caa24bfe7c56e93f2":"Add Video","c02b852487eac31511d6eaa00deafffb":"Monospace","c1dba888bcd3d31b52df76a31f121c4f":"Code editing is not available on Android.","c20bed6c7f08006c9a3f9ae14e04754b":"Value","c221bf00aeb374c630caff3330e5a535":"Time","c2416f8a5134d87050ec363288ed0d03":"List","c25ab9ad01bdf00bb7f452e95e63b6f0":"Background Color","c3217028372c185247852049760b18f8":"Edit {tagType}","c594ece23f5f0fa322c76440751c9544":"{type} slider thumb","c7b5c995edce272debb484a3c06682bf":"File","c7f2b0955d5d2bbb65fb94fb4c50b271":"Subscript","c88fea453ce4c95d68025d0ebe76505f":"Select List","c99a079c1ce7638c2a631036133d2d6f":"Heading 3","ca7275020461405b490ae5720dd2bda0":"You have made changes. Do you want to save or discard them?","cab1596094df6aed2367bd5bd7bd8dec":"Type","cb15768afa8bd5e155c1e0e9d6fc6de4":"Key","cd0a71e417130da0adce22e20ecd695b":"Done","ce5a9d2f97c93d32e21cb6a36a73dfb0":"Retry","ce9ad473a45a1902d7d59291432bd77c":"Error","cf15f5fd78794de679f918b108299eaf":"color value","cfe26156925fcee6678e5b61455ad18c":"Draft","d053134c28f054c41b20703bdb37d54f":"Center Align","d16871b45111bfd36e18b0ef7413f465":"Show password","d1a8e5e08c3ea6780699aff8f18f99b1":"Large Heading","d1e907460980b778073d990159b8fb45":"empty string","d23a6457ddfe95a261fae253f6baddaf":"Indent List Item","d67a7a90682d75e37f3c27ee21d026b0":"Copy","d68f61f4086356e95d50469b69a9c22d":"No response data from job request","d832399295ed36ab36c788c87697dcb7":"Heading 1","d93f2d5359a07a3c963fc68ba1408390":"No switchable variants available","d9b60f4548586a037380e87894bd147a":"Add new preset color","d9e07a1b6b1ef8477e421a01c62ce452":"Unable to load. Try again.","daf528d2d7e023e01b8e6ff51dddfecd":"Review Changes","db39fb9157d6710250d81c38b1613997":"No results","db97fab57a2aca7cd0515625f26e466e":"Page","def0cbd08315d1fc26bf40c7a50049b6":"Rename","df9be7e86078cb381ddd5ff507dabe8c":"Require double opt-in","e177098aea680490c086d33dc5eda903":"Large Paragraph","e18a2305c03b9feb02f21eb8d07e44b5":"Disconnect MailChimp?","e1bc8c4c42d51461bb4a0964c2a92f10":"redo","e20198dbc25f5146ada4538c745b5c41":"Remove swatch","e3351a087228c575cc0d85705b28d23f":"Decrement","e38848bae5b39dad125df53483b3877e":"Copied","e57ab92d7c7d59bac7879b6768173f9d":"File name","e7cc78291fd0136e5a1f76c3643c47b1":"name@example.com","e9857cd422b6ef9194e9b2b031bdb776":"Starring {actors}","eb26c105ccd50f2bbd662fcadf2df707":"Strike Through","ec15704a9e34434bd57c23fcbd365ca5":"Heading 4","ec39193d6a268594c60c24aeac543ac3":"A List must be selected","ec950bb151f7f08d8465272ac1c23f82":"Add Code Here","ed926e73b1c30d34fa09d25d1d37281a":"CC","ef1e8f0b8b6a4a0763ca66e4dc7ef3fc":"By {artists}","efe464900e7ef25fab7017e9e0af4911":"Code","f03deaabf42910ca5fd5b6e1e620af94":"Save changes","f0f30d83e145c2299e544b3099522e44":"Try again","f117333d4b1c7838a4fc31a764138526":"Small Heading","f2d0ff0165dd94142db90c664704e7a8":"Connect","f3e698aa47a54daf732dd37ace0d76ec":"This can't be undone. Make sure to update all links to this file.","f45f1b3f27ab384a8845c73b96952504":"SubScript","f4a5e49a842d041881c4954d545c15f4":"Italic","f4f06cb1e212075f2986ba2ca08e1831":"Links must be formatted as www.example.com or example.com","f521cce613ccc40972dbdbed1f75096d":"Your dataset has been truncated to {maxColumns} columns","f5f7cdbd93d03c377d39d2dc86fc6cf9":"Add an email subject","f762c2e3781aef4cdd0c2437d714f922":"No collections in this navigation.","f7a48a78d10d3d506472dca8b922b1f9":"Options","f9822b211ebefa6e37378622271a545a":"Increment","f9b89a2781302453b4c84fea706541e8":"Optional","fc11121d2c0b9cd040eb497150f090ac":"The file {fileName} is too large. The maximum allowed file size is {maxSize}.","fd637ba0ba0cb87b366d91f80b84ce5a":"Unable to load collections","fea729b2b5863418f65e8c43e93e3231":"Scheduled","ffa0167016aedc8800f617213d51fc13":"File upload failed to complete","ffa35ae7f040da586d8939eb0292358d":"Merge {tagType}","ffd9fbbc58371a58cec4459cc2c2ed96":"Unable to load fonts"}`)},444335:function(b){"use strict";b.exports=JSON.parse('{"0252a6ae7aa26277a31d1a65c62ca22e":"Get it on Google Play","05d466d42813d0e45e5c68a9e32d09cd":"Color format","08881d6eb0dee247ca166f9e53ac8a3e":"{numberOfRows} rows","0e3b33b1a65371edf32090e6b0e838c0":"Hex","15e35f987f7167a5686096618b6d6efa":"clear search","16deed513e967cd15d9a92e437e0b43f":"Open filter","1bc7d0695061625921a28281f789e1dc":"cancel","1d263460e537ff6f47b8d3cb750135e3":"Previous page","24e29296ba76212419ceee81e52501f5":"Search: showing {matchingRows} out of {totalRows} records matching: {searchTerm}.","24f84eb85af930c8a5e5d9aed365796d":"Matching ({searchTerm})","2a6b02e829f07de003011314e2e0fba7":"Select an option...","32165099c664472652d7f6302ddc9b8f":"Next","3b475b89ff8ec4fe7c71d052e2e43f8e":"{type} slider","402addd5fbf4e90fabb005e25e881b48":"Open create menu","422c724a0b4e8afebf86bb05abe0f501":"Color","43a5f640fadc1f17a18c691e0cfd89d4":"close {filterGroup}","48b564f163815e9f5164fcc03855b82b":"Add...","4c5bbfbf1b16664fcf4679f269792959":"Page {currentPage}","4e8169cce4d2139b1d8030702b6a8057":"No results found","5228c61af5586cd28882733ac1490be3":"Previous Month","548a749f9317ca2930988b600c63a040":"Save","584ba2643bd90457eb835e01dfbe9e4d":"Click to open text field","59405aac712ed0be6e2150956fb21f1c":"Deselect all rows. ","5b8f316caff04de6ee2f27f09126ebdb":"Save View","5c674514403d1a0dd658a23513d5e41b":"Next page","5dbd235db659b619ea0f922e64502421":"Back","5ea69e4018912bf2447edf4a547e62fb":"Blue","65bf371008afb97c21289a2efb8741d4":"More links","673d85574a578df404548ed39ca06812":"Sort By","68471e83549f8e93ac94f4e84da92337":"Create ","6ce2c86c522f658d279379225766d76d":"Download on the App Store","6eb176a1b59a112ddb73ab79fbc2adf5":" of {itemsAmount}","70518ad85555154a69d1d6ff2cd5522e":"Filter","72a2677777eeb2bb52a9365417432753":"Sort by options","7471bab81fbfbc5735ce8c21afc4986f":"Red","7805d57405c9e59ff2d0dc0101b61926":"Next Month","7a6a469de5bfc972ad5e600ea7c9335a":"Cancel","808af46f454f5f547defa96115a7aa9f":"Search","8e6462a1be9fa66b511e3138d9c5e6b0":"Sort by {label}","8efd7e19ac06d33fb4ec877e9b544943":"Unable to load results","901857f18995e3e0eb85880fddfa6f1d":"Unsorted","959d587a82db540fba997b5a2893e750":"Saturation","963a3712611efff380083cc6f67e9332":"{currentStepNumber} of {stepCount}","980bfbe7743b95b18963402cbb39fa66":"Sort by","9e0a029f54f43193ad0db80c74ef17b7":"Page","a271012d40d6477f47c6d4f27dd43f1b":"HSL","a4aeed2cd609cf3258760ed8a894a773":"Select all rows. ","a58964b3158817f741c5433317a67905":"{filterLabel} \u2022 {filterValue}","a5f22b4ad5aed1cdfbe50444012cadff":"Breadcrumbs","a724e07a8223eb4b064e2bedd19349fc":"Color Map","a76a57d9bb9bf2047d69c6573fda55a0":"Green","aaeb2c431e04933a97178fbabba1c2e3":"Remove filter","ad1dc32e55a07d150a0e5c83ac169c85":"{perPage} per page","ad65efce4a5eb0eab2cba5cf04acf6a1":"Done","ae609a6f4f091c550073e7aba5c22601":"Sort by {colHeader}","ae836be5aa762b2c791800debf99e3c8":"Sort by column header","b0507aa68523e414b4f7eb8817948c94":"Close","b3a47a3e61efe8c601b143393c2c4160":"Type to search","b3f0d951e69fc06eba0db441e4254f0e":"Try again","b827dfbfeb0a3a17e872f007d39742eb":"{firstNum}-{lastNum}","ba1e725cedcd008945a381c5a9fd3c26":"Hue","bf2a987bac959b1d9a9bfdee3f2db326":" of {itemsAmount} items","c00f3cdfe2016fe147b92e5f156d3eef":"Failed to load timezone \\"{timeZone}\\". Retry connection or verify Squarespace site availability.","c2c2776426813b2689e9802ed170bc93":"More Options","c47629aa520ba46cd208c4d0613b5254":"Select Color Format","c7e5f5f6a796ab77a315b6a199825d74":"Reset","caf3c5ca716a861d4d40fdd6cc0f166f":"Saved \u2022 {filterGroup}","d0bd8e70760169c8a435f5c07c397fc6":"Close","d332cad340e522dfd76e2b4e05f5485f":"Showing {firstNum}-{lastNum} out of {itemsAmount} records","d51c21d88522993a1de8833166afc7bc":"Lightness","d761186f9ce3873e7dbd7b53fb64841d":"chevron icon","dba8ac51011da181a09eddddff5dea5e":"Layout: grid","e145e7aa98c87d33187b625f90ca0608":"Layout settings","e6a67840fd60a2ed0a769cd18ffc50aa":{"one":"{%n} selected","other":"{%n} selected"},"e8aa17dd7915009aac21940b8df7bb50":"Select","f3389f4087b781033ef5a0f4987f6733":"Continue","f8c9cc30c8e896485abadff6561a134b":"Opacity","f97f065a995142dcab2ee24030e65a60":"RGB","fa2036fe27fbc63a1cad0bc0578ef569":"Layout: list","fd0b0c42f0f842e2de6d4136c24b4dfb":"Alpha"}')},27233:function(b){"use strict";b.exports=JSON.parse('{"07d7bcf0b9e7e5714f17c83383ec2f40":"decrement","14fe19c550d9f692967d4bf3fb948418":"increment","6862c62ba693b4de3c94f6861af8991f":"Close notification","7207411965ab9aff33e75d642471280b":"Delete","8a4c5f30aee8483373272dfcd6f270de":"Cancel","a4aa9f3b93d1133d04837a978fa4ebb7":"Back","af1e53845e046c18e015666e8c192b91":"(Opens external site)"}')},955820:function(b){"use strict";b.exports=JSON.parse(`{"e57ab92d7c7d59bac7879b6768173f9d":"File name","6374d59b53e351cc597bdb6f308c8152":"Replace","0340e8c7dd3b68223fb050892f8bd266":"Delete","f0f30d83e145c2299e544b3099522e44":"Try again","4ab317428b3005b45235e56ee7952e52":"Unable to load results","d9e07a1b6b1ef8477e421a01c62ce452":"Unable to load. Try again.","cf15f5fd78794de679f918b108299eaf":"color value","8e696cb6fa1ffcbe9e9cabff061298c5":"Opacity","23f807a2f3c5be6d5ba441fd24552ff1":"Hue","2077e4e46fc6729c384f71c84203e519":"Color","c594ece23f5f0fa322c76440751c9544":"{type} slider thumb","7703bb4cabe682a18285c33fe767c27e":"Add swatch","e20198dbc25f5146ada4538c745b5c41":"Remove swatch","413b73a3b3765ea111c90d1dae3af96d":"Something went wrong","09272f8adb7bef3c15f86216821503e7":"https://example.com","4ae0e29701ea00a4795705f7f4f67b8e":"Search","7fd030bff942f8f5eacf9c36e7b5cb86":"tag","a4959ad90934fe5ab29b8795813181d2":"tags","2ca1e029f2b3386fec8059b51f67c7aa":"Cancel","b7044b7c3ef0d585024616a719cfa684":"Edit","8e48ee7b1c007b3ebe2df3aec389665d":"Merge","380e408440d5350ce9283c22e2a8f794":"Save","949c8ae9a4aac58b07d317989b33e354":"This {tagType} already exists","afeb3edda64e60f7d173bc806ed5df0b":"You may only edit one {tagType} at a time","97094a1a218f5a6217b996fe88395f05":"Remove {tagType}","3a5153db7e24f2c8e1cf69dc005c6708":"Are you sure you would like to remove these {tagType}? All items with these {tagType} will be updated.","663ddcc4a909596ab82ee1c1de1e3b94":"Are you sure you would like to remove this {tagType}? All items with this {tagType} will be updated.","45684454c4df145adeae75dfb9a70ef4":"No {tagType} found","92b558a38285983831bb65464610e5e5":"Add {tagType} here","2b7c3f88becae796299fabf22f72cc1d":"Filter {tagType}","c3217028372c185247852049760b18f8":"Edit {tagType}","ffa35ae7f040da586d8939eb0292358d":"Merge {tagType}","a7b5c41b6f9ae8df24aab7be61000ec2":"New {tagType}","749e2a5e7698f9a588c816febc23cd19":"{val} is not one of the expected options","63d751064eb90fb6e472fd79547b2fc6":"Address","11d1442e08568a65c839815601447d81":"City, State, Zip","78701bfa2ba7a789b450ebda20ec0ca7":"Country","9d1e2410516960f174defb07ee3f1c5f":"Filter by product","a77460fff4aaad92b3f81522d194d909":"By {authors}","ef1e8f0b8b6a4a0763ca66e4dc7ef3fc":"By {artists}","e9857cd422b6ef9194e9b2b031bdb776":"Starring {actors}","522807ea28a266bda049cb8637443f23":"Display Source","cab1596094df6aed2367bd5bd7bd8dec":"Type","6f28effcf4f76d080abc7893d30966bf":"Mode","c1dba888bcd3d31b52df76a31f121c4f":"Code editing is not available on Android.","f7a48a78d10d3d506472dca8b922b1f9":"Options","efe464900e7ef25fab7017e9e0af4911":"Code","ec950bb151f7f08d8465272ac1c23f82":"Add Code Here","0664e194e9297b284bbcac4e63018203":"Code editor","fd637ba0ba0cb87b366d91f80b84ce5a":"Unable to load collections","bc7be137f1fc59c5d423dc8fbc1773bf":"Your dataset must have at least one column","882491ba729c91194caa753228b4df2c":"Your dataset must have at least one row","d1e907460980b778073d990159b8fb45":"empty string","83c193e0aa96fd9c0766ae9c8c2bdf73":"Enter some data!","491a80eddb896f15e739ee582e456dd2":"One or more rows was missing data","7d07f870886c600ed5bc37af39266284":"New Series","9195c6f74ed2b2dfa567f6330937cacc":"Label","aa561aef75cd3063ab9058e4287381ce":"Your dataset has been truncated to {maxRows} rows","607296b2ebd861bb21f5d171d819ae52":"Your dataset has been truncted to {maxColumns} columns","66633ba9d6dc5cff1c6d2be997e26259":"Update","c221bf00aeb374c630caff3330e5a535":"Time","8e54777e38ddfa70e40e8df6478588ea":"{len} selected","09641cfbf347c23f2f1401c80f111c97":"Successfully located","45367d0f7e6221f48aaf784019ec8004":"Unable to locate content","993450215333ab73150f2831db4a2ce9":"Searching","14697aa8558e29f76b2bcc93d804b555":"Delete attachment","650ba9bb4296879d6e8f20a587873c5e":"Info for attachment","bc953956c9f0d80b05cbffefc18084dc":"Okay","6795c93795031ea3c966e70aa8fb6d67":"Remove","ce9ad473a45a1902d7d59291432bd77c":"Error","8914865196496d62a20e28b8f944e218":"File processing failed to complete","ffa0167016aedc8800f617213d51fc13":"File upload failed to complete","7f23747871cddef936eaa7b5afaa71e9":"The file {fileName} does not appear to be a supported {fileTypeMessage}file.","fc11121d2c0b9cd040eb497150f090ac":"The file {fileName} is too large. The maximum allowed file size is {maxSize}.","9b7ef9a0b95dca7366b8736a3cbc56a8":"file upload","6defec7d03d58b1fb2d4b4d20f3274cf":"Add File","17be4afc8553a37bd0cc3954a1fd189a":"Add Avatar","669a9180ff79f1bdc7737218a576b5c5":"Add Audio","37b0da5136508f27aeb51d39807e7cd0":"Add Image","bfd10ff05b9b5d2caa24bfe7c56e93f2":"Add Video","3ee12af588444226d8a6c70eabc1a861":"Normal","f4a5e49a842d041881c4954d545c15f4":"Italic","11f8cb2f0b6422accf1ad23d68aeede4":"Drop your files to upload","36db0be5456697b047ea71d4d02d61d4":"angle","cb15768afa8bd5e155c1e0e9d6fc6de4":"Key","c20bed6c7f08006c9a3f9ae14e04754b":"Value","08e2b66460598d026a23e49b7eb2bfe4":"{val} is not a valid page URL","6f3604dda971f07bb57da9ed8f1f74c7":"Back","3ddb7b6d6f0ea53f8b3d049604cc70fa":"Preview","a4076f49f4f9f6c95b24a985487c3cf0":"Markdown","0141fa9f0be4194399a88f5fef0bb639":"You don't have any mailing lists. Please create one before continuing","c88fea453ce4c95d68025d0ebe76505f":"Select List","2da54f567ea151fb27983f192f2aad8c":"Disconnect","151d7ef9ce161d0b824a5fa9410739c9":"Please enter a valid email","069be74a4cdfee594e42ea8c19cd697d":"Connected to","35faa1b1781d6eee40b5c56f42416bda":"Connect to","96c3071b61722c35b731c1d538e248e8":"example@example.com","33b4a38d4c03582be06aba8926c9c14f":"Spreadsheet Name","ec39193d6a268594c60c24aeac543ac3":"A List must be selected","e18a2305c03b9feb02f21eb8d07e44b5":"Disconnect MailChimp?","2bb219534e372498719faf7f52cb39ba":"Form submissions will no longer be sent to your Mailchimp account.","ce5a9d2f97c93d32e21cb6a36a73dfb0":"Retry","c2416f8a5134d87050ec363288ed0d03":"List","df9be7e86078cb381ddd5ff507dabe8c":"Require double opt-in","f2d0ff0165dd94142db90c664704e7a8":"Connect","b60fd254e7986e8f740ea8af4c039df0":"Unable to connect. Please try again","9ea9aa76d5378aa3b553a4a5f4ff78ea":"Awaiting Connection to Zapier","1c8c3ac4a67e7bf87bb1b9197b38862b":{"one":"{%n} Zap connected","other":"{%n} Zaps connected"},"d16871b45111bfd36e18b0ef7413f465":"Show password","46fe088a0c01a7b06a77a8ca5079fc92":"Hide password","8ffb0b6e8d79d3200ef6609f96a3cb10":"No variants","b213f944635c2a9c751d2793df0d0e8d":{"one":"{%n} variant","other":"{%n} variants"},"212e00b324a1c7c5d72d865990dfddf1":"Formatting","d832399295ed36ab36c788c87697dcb7":"Heading 1","a8697f6224225817130c31996d9b002c":"Heading 2","c99a079c1ce7638c2a631036133d2d6f":"Heading 3","ec15704a9e34434bd57c23fcbd365ca5":"Heading 4","958dba67087058b4a48e8b08d11d8321":"Heading 5","8acc6203bd4681ba291f5c0b5e97d7ed":"Heading 6","5997f29d9262297d2d50c139c1d84662":"Bold","374214587a58fe562f282bd87d910f48":"Underline","5ec935856879645040f14c4e1adb8366":"Quote","32144adc818f13fb069a69c974e555d2":"Numbered List","1997da20c166ee10ae426e2de942b84e":"Bulleted List","eb26c105ccd50f2bbd662fcadf2df707":"Strike Through","7e7e4159319301ac15a7fa8d80efa843":"Paragraph Small","118737dd09c4bbca2668f0ec74575fc8":"Paragraph","2f326f1782f80c9602c5c0f480acd569":"Paragraph Large","b125de8dd82b809475f4ffb299eafc69":"Left Align","d053134c28f054c41b20703bdb37d54f":"Center Align","014f07868f87665f18306a866f821b4e":"Right Align","d23a6457ddfe95a261fae253f6baddaf":"Indent List Item","23fbe79152d053260378139870172f6b":"Outdent List Item","4ca565cf2cb136e23a32ce8dff588024":"Clear Formatting","a1a1f0c3723b927b0bde4eee49540dbb":"Link","0b22febf82c502f8aeab55ad8d8dbd64":"Text Color","c25ab9ad01bdf00bb7f452e95e63b6f0":"Background Color","81d7722f3035ed5883cec1194b4c6945":"Indent","45d23bed6f2d26afac6aace1ecaaeb65":"Outdent","f45f1b3f27ab384a8845c73b96952504":"SubScript","b321efb5ce7a2271e72c171bf15b3bdc":"superscript","8825c051a8218175fe6857bfd0142e68":"undo","e1bc8c4c42d51461bb4a0964c2a92f10":"redo","62444f8044cfff2cc1d6ce2704c905de":"Align","0206ac1674549234236fec1e3e5d40a3":"Text","74fc7fe880ed4b94e3d44a3aed8607a6":"More","e3351a087228c575cc0d85705b28d23f":"Decrement","f9822b211ebefa6e37378622271a545a":"Increment","d93f2d5359a07a3c963fc68ba1408390":"No switchable variants available","83d9a5ee9a18de4adb020cfd8354726a":"Ok","71b6c516b67aed7ce1e157767622a048":"Confirm","84ed1a818812875886ea82e56730eab6":"Discard","9a80011dc1ba3a237c2691fd6f5c9904":"Close","ca7275020461405b490ae5720dd2bda0":"You have made changes. Do you want to save or discard them?","daf528d2d7e023e01b8e6ff51dddfecd":"Review Changes","8b7872adc28e449ef45d5d5e7c0ec8d8":"Dismiss","2cd6bbc51b3ca422689c44221e056d1d":"{iconName} icon","9bf25392999569e076b9349b042dce6e":"Network error","d68f61f4086356e95d50469b69a9c22d":"No response data from job request","43319d0ffa28e455372df25fb2889fea":"File processing failed","b0695c36098e6fd43cc9a45c711bd504":"File processing cancelled","186b613b9049d2a7e04fd62ad9c00fd7":{"one":"{%n} selected","other":"{%n} selected"},"16eb64edf1094ae679572ffbbd2747c9":"More Options","7882ec89ba4cca31b968a7872d770537":"No results found","ff597767824016bc0114c150d6b76431":"Continue","65686533c6efd5c14c895fe5eac5ab99":"Add...","8e2e69fda56877fbdc53f7d8dcaa0fd7":"(Opens external site)","817d9a1e978ef06982a11c8eb03a5f5f":"Close notification","72f6fd6c206f2025504922efe5461705":"category","5218cfc6679c0a9953559026851c858c":"categories","b8302fe3a3f4d7531e53b59e47e367e3":"Navigate to {label}","721e0782a77212923abb2d89fdc26afb":"Color map thumb","2384a4a0e2a5214730400c656b365044":"Link Editor","f9b89a2781302453b4c84fea706541e8":"Optional","f5f7cdbd93d03c377d39d2dc86fc6cf9":"Add an email subject","19b496d2615bfe692e80803e27512331":"+1 (555) 555-0198","db97fab57a2aca7cd0515625f26e466e":"Page","481779894da47202c80a84709b2ad7f3":"Web Address","54eff37a52f8c9e9e4b646646e044e9c":"Email","4c935026efb5ca6ce50019a7f55e0c49":"Phone","c7b5c995edce272debb484a3c06682bf":"File","51b30c554db0a8684523fd96862edde4":"Pages","a48b9ccb25ed66eebf2753494b24f0ae":"Links","49177d13ba152a915e72dc0e890cd082":"Open Link Editor","4852c876d60b3e5f297df19ebfef03d4":"Link Name","760c1b49f8bb84ca5dd9b1bcaabb69d8":"Apply","1a1ceff67be3b165dc4f36019c134d32":"Uncollapse","29e233771e82810a7524b9a11dc75f85":"Redo","9df97aed8e7e6fe1088d1826518b354e":"Strikethrough","c7f2b0955d5d2bbb65fb94fb4c50b271":"Subscript","9d9f520137959df43cbc65161f4325a0":"Superscript","8e5e94ff1880763ffb58d6d02b5097ee":"Undo","5f33f9f096cd3c0d262a97dfd9738388":"Text Alignment","c02b852487eac31511d6eaa00deafffb":"Monospace","3ac4f28c1044cd8ab918fc8e903d7ed1":"Small Paragraph","0dd5449144543955db89be693d31d57f":"Medium Paragraph","e177098aea680490c086d33dc5eda903":"Large Paragraph","f117333d4b1c7838a4fc31a764138526":"Small Heading","bb7ebc4c739f0a717a26ac4837b6b869":"Medium Heading","d1a8e5e08c3ea6780699aff8f18f99b1":"Large Heading","ad2d0dc63b854af0e32e0b5e92784436":"Extra Large Heading","bad635ed8fb7219810ebde3b1a9a0efd":"Styles","be44967e5703076dbc561a8d79649e54":"Bullets","5c977b6a6cc52387fa09f2d1e2db2450":"Numbers","f03deaabf42910ca5fd5b6e1e620af94":"Save changes","d9b60f4548586a037380e87894bd147a":"Add new preset color","a4d0b8f2606818c557192a09324a39da":"This page is locked","f762c2e3781aef4cdd0c2437d714f922":"No collections in this navigation.","8b47c8126228b030d2083d2b6fb04f25":"Tags","57f8d22cd814c756620c329e163a6200":"Categories","cd0a71e417130da0adce22e20ecd695b":"Done","70c8b21cdb4a7faaa871414c404f5a37":"Search fonts","ffd9fbbc58371a58cec4459cc2c2ed96":"Unable to load fonts","db39fb9157d6710250d81c38b1613997":"No results","849ab3fbded7172ed0020bcdbe5c91b3":"Sans Serif","8906b1a292dbe303c0505bbaf1d5272e":"Serif","8962d92b3137f6e4607a410c5710c3e4":"Display","b93679c1ac66c43fec0490f125e9db13":"Script","1eb42c6cb31f4879bee51821f8eb7325":"Slab Serif","a7e614da684a289259a757da5b11ffd5":"Mono","178ebbe3d6ece8c96fe884badf3c80fa":"Other","6d5a11f2853e61c87f02430972402414":"Fonts in Style Guide","ad6805ba5b472b9af26e2d3154e20dae":"Typekit Kit","2ff55fa5f44efe909ee9def4151063f1":"Typekit (Deprecated)","fea729b2b5863418f65e8c43e93e3231":"Scheduled","82ec412180360729918933152c71ea4c":"Needs Review","cfe26156925fcee6678e5b61455ad18c":"Draft","4df8418beddf738dffc2e96e0f0a1270":"Private","ed926e73b1c30d34fa09d25d1d37281a":"CC","04a7bd5e2847095c55fe21aef7ba243a":"BCC","b4f1b32c617e24e50bb7033674cf3c8d":"Subject","7aaafe0be804d1ce3c7cb30d58480912":"Body","7d327a3dbb804e3e33ab53a29a6c284c":"Advanced","71c84b01aa8158c57b404805381738b0":"Open in a New Window","5f0d09d3dc41398751fe5b0b22b0bd7d":"Include country code","e7cc78291fd0136e5a1f76c3643c47b1":"name@example.com","d67a7a90682d75e37f3c27ee21d026b0":"Copy","e38848bae5b39dad125df53483b3877e":"Copied","9cc968199618f62b26bb45c99798bdb9":"Select all rows. ","0b512b0527e296728392d524a1c9e116":"Deselect all rows. ","9e4880e6d4db61fc7740227bef8d7eae":"Download on the App Store","0c84914dfc5e8aa3d8df21590c7a5a93":"Get it on Google Play","6ed660639e91c0019f0d38010568d74a":"Breadcrumbs","37f1f785f2d02b50c466cd05aaf11dd9":"More links","e499ba0cffcd145c23d73a915ff418f3":"Failed to load timezone \\"{timeZone}\\". Retry connection or verify Squarespace site availability.","585cf0c20efbdf6392e50977169b93ec":"Previous Month","0b32e7c5feff467c1bc17d36f34a9d3e":"Next Month","eaf6bc9ce7ba33165413f3c322459c06":"Select","bcde5fb38b9213e20f3490e9b62c7001":"clear search","28394c8da1d8eaa8f22942780bac0847":"cancel","9e438efafaa98bdc1d356f98beffe3d0":"Next","c36810953715864173181f42cca8e5e3":"{currentStepNumber} of {stepCount}","6ae06a254fa8578e3db796db2b5e50cc":"Emails must be formatted as email@example.com","b956ecc6b9594bd69c184dfbbe22f2c8":"To","f4f06cb1e212075f2986ba2ca08e1831":"Links must be formatted as www.example.com or example.com","5dc2131cfc51ceae8044261cdddc1624":"Open in New Window","2f6a0800f9e821ae9608cdaf642557f0":"Vimeo Basic accounts are unsupported. Please share a video from a different account.","4de17d8e8a40ba9e62d9ccab4a3b7b7f":"Browse all fonts","516701691e5b1ce51b58f68ed6035ef3":"Unable to load preview for {fontName}","a9aa595714d8537a0bcfde92bd39ffc1":"Deprecated","1d7f80c88662cd563c4aba35fd514aca":"Fonts can affect your site\u2019s load time. Use as few as possible. {learnMore}","b90258a24f3d53aca75cba38a8bd3c20":"Learn More","22c9c6155c64fe02952ee31183ef8907":"Learn more.","7e8e27c5a3313b556c0d93914e7d5b65":"Fonts can affect your site's load time. Use as few as possible. {learnMoreLink}","91ef0a624b69b77fcd60ea19caffa31a":"Error uploading","a3c0b94fefbd7fe93950ffcd33241a6b":"Existing Files","5cd58303f11dd3aa71d98ef3e0370500":"Manage","787d1e95c6bf94e4a854c3874d9ff861":"File Detail","030bdb7ec8e8cd347fad389b2f0b6c1b":"Choose File","010318c0a9ccc872b2586fd753629724":"Color Map","8fb62340758bb0697bc8f41a6670b543":"Alpha","589005829d1e2ededf1a0644d8ced341":"Hex","dc72bac1b531a7fbe8f86d6317fe38a4":"Saturation","b26d8808ffb5a5eaa363a2ca954052e3":"Lightness","65c49758298bd3003115b575bfc62a8d":"Red","32e7a735a2cb014aa5ffe991fab642f1":"Green","7379dba109b295fe849347f2cfc131da":"Blue","838b82f16ea03f6570f119763f42d912":"RGB","edafcde8a5ca1a13a3df7b120fd95f62":"HSL","223606f2730e3c5344b34645c43bd805":"Color format","69f9ff1d9f405b298d3b4b6715287c6f":"Select Color Format","6fcccb76d81675b1ae7f80f183618fb2":"{type} slider","def0cbd08315d1fc26bf40c7a50049b6":"Rename","3fbb497ad30ec1098bb7044d92877aa1":"Please enter a file name","f3e698aa47a54daf732dd37ace0d76ec":"This can't be undone. Make sure to update all links to this file.","92f0a8337f22baf3997d5f20a17c9c76":"Delete '{filename}'?","56a5fe7b7fc2fcf6b546b69cb860a184":"There was a problem while renaming your file.","3a5b7465353838c731874f86ea1aa182":"Unable to Rename File","a140e097ba2c31b7eafdd5ac3883e7e1":"There was a problem while uploading your file.","9c02b62381f6c17374b7f5b7fff7159c":"Unable to Upload File","1dcf4e15170e20de94cc73e716440378":"Load More","48693a3724983c379ea489a4942a11ea":"Upload File","4ff476d1a620c5f518f26d8d217ea9f8":"None","40c91431b506393d2248c447df7e2cf6":"Choose (Optional)","8030c7d4ef639c31baebe4305012f265":"No Results","79bdbafac4b2414ee12d9a2fea229ec0":"Phone Number","e48f2a5f37c31bee87701f0c57e3ba93":"Sort By","46748b0874ac29d6af48bcf1e1f45708":"Sort by column header","d5867f1ab51dabe19cd38a34a4dade09":"Unsorted","50cdab547bf0f24b77ba040afd34820a":"Sort by {colHeader}"}`)},877101:function(b){"use strict";b.exports=JSON.parse('{"0147cc9a0096526e325ffb2afc8feb08":"https://example.com","082a7cb6792aeae19003598b23acab79":"Heading 1","0a37f3b6d9d52a7f55fa6d2c654c302c":"Indent","0dd0c1d8bd149c844f8230469fa2d93f":"Decrease letter spacing","12616c9f48e2239fa5affe6189f942b2":"Paragraph 1","155086a8a1fcb9412adf8bf85ff2d962":"Paragraph","1d5c016fdd8000ab33f1005ad44ebc07":"Italic","1f5a252e20b27eec586f939dcba26cbf":"Link","25095e439d928da7de2ab06f9c564942":"Styles","3c813d67cda8f84403a7e130f1df1552":"Left Align","3dfc1243defbc055c0c653c7b26f6983":"Paragraph 2","3e7e8ba6a31a45138231af22cb3b47eb":"Remove","40a7f0d4475ee0201e2d4fffc3b8fa1b":"Bold","5035f4b7f93400a87a9546fc15b72f30":"Underline","57d16e279733a5a1b4f552cac20dad4c":"Uncollapse","5dcccc7761e9e06d2c3cfc0cda9591c6":"Background Color","5edb745ecd914b9f36bce680572f119f":"Text Alignment","6407e7b19973764582e104cb0a296d9a":"Redo","6480bc8e2e75edab8daccd874b15f4ca":"Subscript","7f77b2aadcf22049539786227f6c6736":"Text Color","85c6810811983696737d178554b2aad9":"Heading 4","8a100b80af8d5da8eb9d6a6df649c16e":"Heading 6","8bbcd2b7f0dda07277e2426526cc1d24":"Increase letter spacing","a48755a5d7bd1e9e38476aadb3a68aef":"Numbered List","a7d3faab866912c97e1340504a01322f":"Link Name","b077bf6ecbd319b1f52e5332fd157d97":"Clear Formatting","b12be74ec9f08fcc011b12e40517c759":"Bulleted List","b3e2dac907dddb13c7604143285b6622":"Paragraph 3","b3f321c3551bbc94a45f93304320847d":"Superscript","b74484542c7b8166144f1af046e6eb44":"Formatting","ba293ca39278b37717ef961ba9878aa4":"Apply","bedd0c30a8277bb3d68b96f5e1217a00":"Right Align","c2d9f7cc4844871f6ea181d31d7becfd":"Letter Spacing","c3d157e41a15b7d5e143122dd8161ac3":"Strikethrough","c7820be12ca8365f85c123f018c679fc":"Quote","ce898db0d5ed776bd333d8ec5e85f2e3":"Monospace","d437ff4e2241441152a805e541262add":"Heading 5","dac797b72e89f4f9adfd4a7689fe98be":"Undo","de74deacf0c2acb046851afa41815788":"Justify Align","e274dcd65b3d74b9ab5ec41ceebc1f6b":"List","e53e3474f7abd06596b021f9187c9da6":"Center Align","e9575eeada51935e2552cafd9c3e68df":"Heading 3","f0a72d650a0c26febd51d167d5484a58":"Heading 2","f181b7abbdec23ac2468cb0fa24c5ced":"Outdent","f2b218e1df78fbd471cd575d545c82e1":"Close"}')}},function(b){var l=function(r){return b(b.s=r)};b.O(0,["5826","96135","98338"],function(){return l(510399)});var e=b.O()}]);

//# sourceMappingURL=https://sourcemaps.squarespace.net/universal/scripts-compressed/sourcemaps/fc8ab5549fb38807/common-c426628d6e7408fc-min.en-US.js.map
}